|
|
(self.webpackChunk=self.webpackChunk||[]).push([[9410],{87169:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ie}});var ye=Se(92413),je=Se(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},pe=E,he=Se(7657),ce=function(se,ae){return je.createElement(he.Z,(0,ye.Z)({},se,{ref:ae,icon:pe}))},oe=je.forwardRef(ce),ie=oe},11570:function(ct,ot){"use strict";ot.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},7850:function(ct,ot){"use strict";ot.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"}},43219:function(ct,ot){"use strict";ot.Z={modalContent:"modalContent___UXmJC",modalContentLeft:"modalContentLeft___JOFgX",green:"green___rI_w_",textArea:"textArea___OTapv",red:"red___cDswv",row:"row___CE3Y7",html:"html___u9n4r",line:"line___Lh9Lb"}},58323:function(){"use strict"},54318:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(le,se,ae)=>se in le?je(le,se,{enumerable:!0,configurable:!0,writable:!0,value:ae}):le[se]=ae,oe=(le,se)=>{for(var ae in se||(se={}))pe.call(se,ae)&&ce(le,ae,se[ae]);if(E)for(var ae of E(se))he.call(se,ae)&&ce(le,ae,se[ae]);return le};const ie=le=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},le),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"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},71302:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(le,se,ae)=>se in le?je(le,se,{enumerable:!0,configurable:!0,writable:!0,value:ae}):le[se]=ae,oe=(le,se)=>{for(var ae in se||(se={}))pe.call(se,ae)&&ce(le,ae,se[ae]);if(E)for(var ae of E(se))he.call(se,ae)&&ce(le,ae,se[ae]);return le};const ie=le=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},le),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"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},29277:function(){"use strict";function ct(te,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=te,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(ct.prototype,"name",{get:function(){return this._name},set:function(te){if(typeof te!="string"||te==="")throw new Error("Shape name must be a valid string.");this._name=te}}),Object.defineProperty(ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("The default value must be a real number, not: "+te);this._defaultValue=te}}),Object.defineProperty(ct.prototype,"minimum",{get:function(){return this._minimum},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("Minimum must be a real number, not: "+te);this._minimum=te}}),Object.defineProperty(ct.prototype,"maximum",{get:function(){return this._maximum},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("Maximum must be a real number, not: "+te);this._maximum=te}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(te,a){var y=go.Shape._FigureParameters[te];return y?y[a]:null},go.Shape.setFigureParameter=function(te,a,y){if(!(y instanceof ct))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValue<y.minimum||y.defaultValue>y.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[te];x||(x=[],go.Shape._FigureParameters[te]=x),x[a]=y};var ot=[];function Se(te,a){var y=ot.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function ye(){var te=ot.pop();return te===void 0?new go.Point:te}function je(te){ot.push(te)}function E(te,a,y,x,b,ee,z,ue,de){de||(de=new go.Point);var ge=te-y,fe=b-z,me=NaN,be=NaN;if(ge===0)if(fe===0)te===y&&(me=te,be=a);else{var ve=(ee-ue)/fe,Pe=ee-ve*b;me=te,be=ve*me+Pe}else if(fe===0){var Ee=(a-x)/ge,Ae=a-Ee*te;me=b,be=Ee*me+Ae}else{var Ee=(a-x)/ge,ve=(ee-ue)/fe,Ae=a-Ee*te,Pe=ee-ve*b;me=(Pe-Ae)/(Ee-ve),be=Ee*me+Ae}return de.x=me,de.y=be,de}function pe(te,a,y,x,b,ee,z,ue,de,ge,fe,me,be,ve){var Pe=1-de,Ee=de,Ae=te*Pe+y*Ee,Ce=a*Pe+x*Ee,_e=y*Pe+b*Ee,we=x*Pe+ee*Ee,Me=b*Pe+z*Ee,Oe=ee*Pe+ue*Ee,Fe=Ae*Pe+_e*Ee,Le=Ce*Pe+we*Ee,Qe=_e*Pe+Me*Ee,We=we*Pe+Oe*Ee,Ge=Fe*Pe+Qe*Ee,Ke=Le*Pe+We*Ee;ge.x=Ae,ge.y=Ce,fe.x=Fe,fe.y=Le,me.x=Ge,me.y=Ke,be.x=Qe,be.y=We,ve.x=Me,ve.y=Oe}var he=new go.Spot(.156,.156),ce=new go.Spot(.844,.844),oe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*oe,ee=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,1,-b,-b)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(te,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(te,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=he,b.spot2=ce,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,oe*a,0,a,(1-oe)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,oe*y,(1-oe)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,oe*y,oe*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-oe)*a,0,0,(1-oe)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a:x>a&&(x=a);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.setFigureParameter("Trapezoid1",0,new ct("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new ct("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=20:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}}),go.Shape.setFigureParameter("ManualOperation",0,new ct("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=10:x<-a?x=-a/2:x>a&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b<a/2&&ee.setSpots(b/a,0,(a-b)/a,1),ee}});var ie=[];function le(){var te=ie.pop();return te===void 0?[]:te}function se(te){te.length=0,ie.push(te)}function ae(te){for(var a=le(),y=.5,x=.5,b=Math.PI*1.5,ee=0,z=0;z<te;z++)ee=2*Math.PI/te*z+b,a[z]=new go.Point(x+y*Math.cos(ee),x+y*Math.sin(ee));return a.push(a[0]),a}function re(te){var a=ne(te),y=le();y[0]=a[0];for(var x=1,b=1;x<a.length;x+=2,b+=3)y[b]=a[x],y[b+1]=a[x],y[b+2]=a[x+1];return se(a),y}function ne(te){for(var a=ae(te),y=le(),x=Math.floor(a.length/2),b=a.length-1,ee=te%2===0?2:1,z=0;z<b;z++){var ue=a[z],de=a[z+1],ge=a[(x+z-1)%b],fe=a[(x+z+ee)%b];y[z*2]=ue,y[z*2+1]=E(ue.x,ue.y,ge.x,ge.y,de.x,de.y,fe.x,fe.y,new go.Point)}return y[y.length]=y[0],se(a),y}go.Shape.defineFigureGenerator("Pentagon",function(te,a,y){var x=ae(5),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<5;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(te,a,y){var x=ae(6),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<6;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(te,a,y){var x=ae(7),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<7;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(te,a,y){var x=ae(8),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<8;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(te,a,y){var x=ae(9),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<9;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(te,a,y){var x=ae(10),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<10;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(te,a,y){var x=ae(12),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<12;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(te,a,y){var x=ne(5),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<10;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(te,a,y){var x=ne(6),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<12;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(te,a,y){var x=ne(7),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<14;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(te,a,y){var x=ne(8),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<16;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(te,a,y){var x=ne(9),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<18;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(te,a,y){var x=ne(10),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<20;z++)ee.add(new go.PathSegment(go.PathSegment.Line,x[z].x*a,x[z].y*y));return ee.add(new go.PathSegment(go.PathSegment.Line,x[0].x*a,x[0].y*y).close()),se(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(te,a,y){var x=re(5),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<x.length;z+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return ee.segments.last().close(),se(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(te,a,y){var x=re(6),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<x.length;z+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return ee.segments.last().close(),se(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(te,a,y){var x=re(7),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<x.length;z+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return ee.segments.last().close(),se(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(te,a,y){var x=re(8),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<x.length;z+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return ee.segments.last().close(),se(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(te,a,y){var x=re(9),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<x.length;z+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return ee.segments.last().close(),se(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(te,a,y){var x=re(10),b=new go.Geometry,ee=new go.PathFigure(x[0].x*a,x[0].y*y,!0);b.add(ee);for(var z=1;z<x.length;z+=3)ee.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*a,x[z+2].y*y,x[z].x*a,x[z].y*y,x[z+1].x*a,x[z+1].y*y));return ee.segments.last().close(),se(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new ct("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new ct("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(te,a,y){var x=te?te.parameter1:NaN,b=te?te.parameter2:NaN;isNaN(x)&&(x=8),isNaN(b)&&(b=8);var ee=new go.Geometry,z=new go.PathFigure(0,0,!0);return ee.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x<a/2&&b<y/2&&(z.add(new go.PathSegment(go.PathSegment.Move,x,b)),z.add(new go.PathSegment(go.PathSegment.Line,x,y-b)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,y-b)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,b).close())),ee.setSpots(0,0,1,1,x,b,-x,-b),ee}),go.Shape.setFigureParameter("Ring",0,new ct("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=a/2,ee=new go.Geometry,z=new go.PathFigure(a,a/2,!0);ee.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var ue=Math.max(b-x,0);return ue>0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ue,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ue,ue).close())),ee.spot1=he,ee.spot2=ce,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(te,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(te,a,y){var x=te?te.parameter1:NaN,b=te?te.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var ee=x%360;ee<0&&(ee+=360);var z=b%360,ue=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ue,ue).add(new go.PathSegment(go.PathSegment.Arc,ee,z,ue,ue,ue,ue).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=oe/Math.SQRT2*.5,b=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,ee*y,a,(1-x)*y,(b+x)*a,(ee+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,ee=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,ee=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(te,a,y){var x=te?te.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var ee=a/2,z=y/2,ue=Math.atan2(y,a),de=x-Math.min(Math.cos(ue)*x/2,ee),ge=x-Math.min(Math.sin(ue)*x/2,z),b=new go.Geometry,fe=new go.PathFigure(de,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a-de,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,a-de,y)),fe.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),fe.add(new go.PathSegment(go.PathSegment.Line,de,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,oe*a,0,a,(.5-oe/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+oe/2)*y,oe*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var ee=.2,z=.3,ue=0,de=ee*oe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+de+ue)*y,(.5-de+z)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ue)*y,(.5+de+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+de+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z)*a,(.5-de+ue)*y,(.5+de+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-de+z)*a,(.5-ee+ue)*y,(.5-ee+z+.05)*a,(.5-de+ue-.02)*y)),ee=.2,z=0,ue=-.3,de=ee*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ue)*y,(.5+de+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+de+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z)*a,(.5-de+ue)*y,(.5+de+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ue)*y,(.5-de+z)*a,(.5-ee+ue)*y,(.5-ee+z)*a,(.5-de+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-de+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+de+ue)*y,(.5-de+z)*a,(.5+ee+ue)*y)),ee=.2,z=-.3,ue=0,de=ee*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ue)*y,(1-.5+ee+z-.05)*a,(.5-de+ue-.02)*y,(.5+de+z)*a,(.5-ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ue)*y,(.5-de+z)*a,(.5-ee+ue)*y,(.5-ee+z)*a,(.5-de+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ue)*y,(.5-ee+z)*a,(.5+de+ue)*y,(.5-de+z)*a,(.5+ee+ue)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+de+z)*a,(.5+ee+ue)*y,(.5+ee+z)*a,(.5+de+ue)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var ee=.1,z=.5,ue=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+ee)*a,ue*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ue,ee*a,ee*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ue=.75,b=new go.PathFigure((z+ee)*a,ue*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ue,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(te,a,y){var x=.8535533905932737,b=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,ee,b,ee)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=.5,ue=.5,de=new go.PathFigure(z*a,(ue-ee)*y);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ee=.4,b=oe*.4;var ge=ye(),fe=ye(),me=ye(),be=ye();pe(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.42,ge,fe,me,be,be);var ve=ye(),Pe=ye(),Ee=ye();pe(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.58,be,be,Ee,ve,Pe);var Ae=ye(),Ce=ye(),_e=ye();pe(z,ue+ee,z-b,ue+ee,z-ee,ue+b,z-ee,ue,.42,Ae,Ce,_e,be,be);var we=ye(),Me=ye(),Oe=ye();return pe(z,ue+ee,z-b,ue+ee,z-ee,ue+b,z-ee,ue,.58,be,be,Oe,we,Me),de.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,we.x*a,we.y*y,Me.x*a,Me.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ge.x*a,ge.y*y,fe.x*a,fe.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Oe.x*a,Oe.y*y).close()),de.add(new go.PathSegment(go.PathSegment.Move,_e.x*a,_e.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,ve.x*a,ve.y*y,Pe.x*a,Pe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*a,_e.y*y,Ae.x*a,Ae.y*y,Ce.x*a,Ce.y*y).close()),je(ge),je(fe),je(me),je(be),je(ve),je(Pe),je(Ee),je(Ae),je(Ce),je(_e),je(we),je(Me),je(Oe),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,ee=b+x;return new go.Geometry().add(new go.PathFigure(ee,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(te,a,y){var x=new go.Geometry,b=oe*.4,ee=.4,z=.5,ue=.5,de=ye(),ge=ye(),fe=ye(),me=ye(),be=new go.PathFigure((z-ee)*a,ue*y,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),pe(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.44,fe,me,ge,de,de),be.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,me.x*a,me.y*y));var ve=Se(ge.x,ge.y);pe(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.56,de,de,ge,fe,me);var Pe=Se(ge.x,ge.y);be.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),be.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),ee=.35,b=oe*.35;var Ee=new go.PathFigure(z*a,(ue-ee)*y,!1);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y));var Ae=new go.PathFigure((z-ee)*a,ue*y,!1);return x.add(Ae),je(de),je(ge),je(fe),je(me),je(ve),je(Pe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(te,a,y){var x=new go.Geometry,b=.375,ee=0,z=-.125,ue=b*oe,de=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ue+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ue+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ue+z)*y,(.5+ue+ee)*a,(.5-b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ue+z)*y,(.5-ue+ee)*a,(.5+b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,z=-.125,ue=b*oe;var de=new go.PathFigure((1-.5+b+ee)*a,(.5+z)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ue+z)*y,(.5+ue+ee)*a,(.5+b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ue+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y,(.5-ue+ee)*a,(.5-b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ue+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ue+z)*y));var de=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);return x.add(de),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(te,a,y){var x=te?te.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(te,a,y){var x=te?te.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(te,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(te,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(te,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=te?te.parameter2:NaN;isNaN(b)&&(b=.3);var ee=(1-x)*a,z=(.5-b/2)*y,ue=(.5+b/2)*y,de=new go.Geometry,ge=new go.PathFigure(0,z,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,z)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),de.spot1=new go.Spot(0,z/y);var fe=E(0,ue/y,1,ue/y,ee/a,1,1,.5,ye());return de.spot2=new go.Spot(fe.x,fe.y),je(fe),de}),go.Shape.setFigureParameter("Arrow2",0,new ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=te?te.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var ee=a-x,z=(y-b)/2,ue=z+b,de=new go.Geometry,ge=new go.PathFigure(0,z,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,z)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,ue)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ue).close()),de.spot1=new go.Spot(0,z/y);var fe=E(0,ue/y,1,ue/y,ee/a,1,1,.5,ye());return de.spot2=new go.Spot(fe.x,fe.y),je(fe),de}),go.Shape.defineFigureGenerator("Chevron",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var de=E(0,.5,.3,0,0,b/y,.1,b/y,ye());return z.spot1=new go.Spot(de.x,de.y),de=E(.7,1,1,.5,0,ee/y,1,ee/y,de),z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,z=ee+x,ue=(y-b)/2,de=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ue=0,de=y):(ee=0,z=y,ue=0,de=y));var ge=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ue)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close());var me=E(0,.5,.3,ue/y,0,ee/y,1,ee/y,ye());return ge.spot1=new go.Spot(me.x,me.y),me=E(.7,de/y,1,.5,0,z/y,1,z/y,me),ge.spot2=new go.Spot(me.x,me.y),je(me),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,z=ee+x,ue=(y-b)/2,de=ue+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ue=0,de=y):(ee=0,z=y,ue=0,de=y));var ge=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ue)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ue)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ue).close()),ge.spot1=new go.Spot(0,ee/y);var me=E(.7,de/y,1,.5,0,z/y,1,z/y,ye());return ge.spot2=new go.Spot(me.x,me.y),je(me),ge}),go.Shape.setFigureParameter("Pointer",0,new ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=E(.2,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(z.x,z.y),je(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var z=E(0,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(z.x,z.y),je(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,ee=b+x;x>y&&(b=0,ee=y);var z=new go.Geometry,ue=new go.PathFigure(a,.5*y,!0);z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,0,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("SquareArrow",0,new ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var ee=new go.PathFigure(0,.9*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var ee=new go.PathFigure(0,.3*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-oe*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ue=new go.PathFigure(a,x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-oe*x,(.5+ee)*a,2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-oe*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-oe*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-oe*x));var ue=new go.PathFigure(0,y-x,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-oe*x,(.5-ee)*a,y-2*x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-oe*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-oe*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,oe*x,0));var ue=new go.PathFigure(x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+oe*x,0,2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+oe*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-oe*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,oe*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ue=new go.PathFigure(a-x,0,!1);return b.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-oe*x,0,a-2*x,(.5-ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-oe*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.25*a,.25*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(te,a,y){var x=new go.Geometry,b=.2,ee=.1,z=oe*b,ue=oe*ee,de=.5,ge=.1,fe=new go.PathFigure(de*a,(ge+ee)*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-b)*a,ge*y,(de-z)*a,(ge+ee)*y,(de-b)*a,(ge+ue)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ee)*y,(de-b)*a,(ge-ue)*y,(de-z)*a,(ge-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+b)*a,ge*y,(de+z)*a,(ge-ee)*y,(de+b)*a,(ge-ue)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ee)*y,(de+b)*a,(ge+ue)*y,(de+z)*a,(ge+ee)*y));var me=.05,be=oe*me;de=.05,ge=.25;var ve=new go.PathFigure(.5*a,.2*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),de=.95,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+me)*a,ge*y,(de+be)*a,(ge-me)*y,(de+me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),me=.025,be=oe*me,de=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),me=.05,be=oe*me,de=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),me=.025,be=oe*me,de=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),me=.05,be=oe*me,de=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de-me)*a,(ge-be)*y,(de-be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var ee=new go.PathFigure(.5*a,.5*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+ee)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var ue=new go.PathFigure(a,.1*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var ee=oe*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*y,(.2-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+ee)*a,0,a,(.2-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+ee)*y,(.8+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-ee)*a,y,0,(.8+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ue=new go.PathFigure(0,b*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(.1*a,.4*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.75*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var ee=new go.PathFigure(a,.5*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),x}),go.Shape.defineFigureGenerator("Junction",function(te,a,y){var x=new go.Geometry,b=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,z=oe*.5,ue=.5,de=new go.PathFigure(a,ue*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,y,a,(ue+z)*y,(ue+z)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,ue*y,(ue-z)*a,y,0,(ue+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,0,0,(ue-z)*y,(ue-z)*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,a,ue*y,(ue+z)*a,0,a,(ue-z)*y));var ge=new go.PathFigure((ee+b)*a,(ee+b)*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),ge.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(ee+b)*a,ee*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var ee=new go.PathFigure(.1*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+b)*y,(ee+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.7);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var ee=new go.PathFigure(.1*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var ee=new go.PathFigure(.2*a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ue=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(a,ee*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var ue=new go.PathFigure(a,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure((1-b)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(b*a,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(a,ee*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var ue=new go.PathFigure(a,ee*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var de=new go.PathFigure(.8*a,.75*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(te,a,y){var x=new go.Geometry,b=oe*.1,ee=.1,z=.9,ue=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,0,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((z+ee)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.4,z=oe*.1,ue=.1,de=.9,ge=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var me=new go.PathFigure((de+ue)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ue)*y,(de+ue)*a,(ge+z)*y,(de+z)*a,(ge+ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a,ge*y,(de-z)*a,(ge+ue)*y,(de-ue)*a,(ge+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ue)*y,(de-ue)*a,(ge-z)*y,(de-z)*a,(ge-ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a,ge*y,(de+z)*a,(ge-ue)*y,(de+ue)*a,(ge-z)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=0,ue=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=oe*.1,z=.9,ue=.5;var ge=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=0,ue=.5,de=new go.PathFigure(0,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee+ee)*a,(ue-b)*y,.8*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ue+ee)*y,(z+ee+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=.2,ue=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(ue-b)*y,.7*a,(ue-ee)*y)),b=.1,ee=oe*.1,z=.9,ue=.5;var fe=new go.PathFigure((z-b)*a,ue*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=.2,ue=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.2*a,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee)*a,(ue-b)*y,.9*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(te,a,y){var x=new go.Geometry,b=oe*.1,ee=.1,z=.1,ue=.5,de=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.3,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.5,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.7,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.9,de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+ee)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=.5,ue=.5,de=new go.PathFigure((z-ee)*a,ue*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y,(z-b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue-ee)*y,(z+ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Move,(z-ee+.1)*a,ue*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee-.1)*a,ue*y,z*a,(ue-ee)*y,z*a,(ue+ee)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(te,a,y){var x=new go.Geometry,b=a,ee=y;a=a*.38,y=y*.6;var z=oe*.8,ue=.8,de=0,ge=.5,fe=(b-a)/2,me=(ee-y)/2,be=new go.PathFigure(de*a+fe,(ge+ue)*y+me,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a+fe,ge*y+me,(de-z)*a+fe,(ge+ue)*y+me,(de-ue)*a+fe,(ge+z)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-ue)*y+me,(de-ue)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-ue)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue+z*.5)*a+fe,ge*y+me,de*a+fe,(ge-ue)*y+me,(de-ue+z*.5)*a+fe,(ge-z)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+ue)*y+me,(de-ue+z*.5)*a+fe,(ge+z)*y+me,de*a+fe,(ge+ue)*y+me).close()),z=oe*.4,ue=.4,de=.2,ge=.5;var ve=new go.PathFigure(de*a+fe,(ge+ue)*y+me,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a+fe,ge*y+me,(de-z)*a+fe,(ge+ue)*y+me,(de-ue)*a+fe,(ge+z)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-ue)*y+me,(de-ue)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-ue)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue+z*.5)*a+fe,ge*y+me,de*a+fe,(ge-ue)*y+me,(de-ue+z*.5)*a+fe,(ge-z)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+ue)*y+me,(de-ue+z*.5)*a+fe,(ge+z)*y+me,de*a+fe,(ge+ue)*y+me).close()),z=oe*.2,ue=.2,de=.5,ge=.5;var Pe=new go.PathFigure((de-ue)*a+fe,ge*y+me,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-ue)*y+me,(de-ue)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-ue)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a+fe,ge*y+me,(de+z)*a+fe,(ge-ue)*y+me,(de+ue)*a+fe,(ge-z)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+ue)*y+me,(de+ue)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+ue)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ue)*a+fe,ge*y+me,(de-z)*a+fe,(ge+ue)*y+me,(de-ue)*a+fe,(ge+z)*y+me)),z=oe*.4,ue=.4,de=.8,ge=.5;var Ee=new go.PathFigure(de*a+fe,(ge-ue)*y+me,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a+fe,ge*y+me,(de+z)*a+fe,(ge-ue)*y+me,(de+ue)*a+fe,(ge-z)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+ue)*y+me,(de+ue)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+ue)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue-z*.5)*a+fe,ge*y+me,de*a+fe,(ge+ue)*y+me,(de+ue-z*.5)*a+fe,(ge+z)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-ue)*y+me,(de+ue-z*.5)*a+fe,(ge-z)*y+me,de*a+fe,(ge-ue)*y+me).close()),z=oe*.8,ue=.8,de=1,ge=.5;var Ae=new go.PathFigure(de*a+fe,(ge-ue)*y+me,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue)*a+fe,ge*y+me,(de+z)*a+fe,(ge-ue)*y+me,(de+ue)*a+fe,(ge-z)*y+me)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+ue)*y+me,(de+ue)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+ue)*y+me)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(de+ue-z*.5)*a+fe,ge*y+me,de*a+fe,(ge+ue)*y+me,(de+ue-z*.5)*a+fe,(ge+z)*y+me)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-ue)*y+me,(de+ue-z*.5)*a+fe,(ge-z)*y+me,de*a+fe,(ge-ue)*y+me).close()),x}),go.Shape.defineFigureGenerator("Email",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var ee=new go.PathFigure(.1*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ue=new go.PathFigure(0,.5*y,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ue.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(te,a,y){var x=new go.Geometry,b=oe*.4,ee=.4,z=.5,ue=.5,de=ye(),ge=ye(),fe=ye(),me=ye();pe(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.5,de,de,ge,fe,me);var be=Se(ge.x,ge.y),ve=new go.PathFigure(ge.x*a,ge.y*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y,(z+b)*a,(ue+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,(z-b)*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y)),pe(z-ee,ue,z-ee,ue-b,z-b,ue-ee,z,ue-ee,.5,fe,me,ge,de,de),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),b=oe*.3,ee=.3,pe(z-ee,ue,z-ee,ue-b,z-b,ue-ee,z,ue-ee,.5,fe,me,ge,de,de),ve.add(new go.PathSegment(go.PathSegment.Line,ge.x*a,ge.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ue*y,me.x*a,me.y*y,fe.x*a,fe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+ee)*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ue*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),pe(z,ue-ee,z+b,ue-ee,z+ee,ue-b,z+ee,ue,.5,de,de,ge,fe,me),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,me.x*a,me.y*y,fe.x*a,fe.y*y).close());var ve=new go.PathFigure(.45*a,0,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),je(de),je(ge),je(fe),je(me),je(be),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function ee(z,ue,de){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ue)*a,(.8+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ue)*a,(.5+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ue)*a,(.5+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ue)*a,(.8+de)*y).close())}return ee(b,0,0),ee(b,.4,0),ee(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(te,a,y){var x=new go.Geometry,b=.5,ee=0,z=0,ue=b*oe,de=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,fe=1,me=.5,be=.5,ve=0,Pe=new go.PathFigure(de*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,me*y,fe*a,.7*y,fe*a,me*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-ue+ee)*y,(.5+ue+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ue+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ue+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+ue+z)*y,(.5-ue+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var ee=new go.PathFigure(.45*a,.73*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,ue=.5,de=z,ge=Math.PI/4,fe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),me=fe*.5,be=z,ve=z,Pe=fe*be,Ee=fe*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue-be)*a,de*y,(ue-(Pe+be)/2)*a,(de+(ve+Ee)/2)*y,(ue-be)*a,(de+Ee)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ue*a,(de-ve)*y,(ue-be)*a,(de-Ee)*y,(ue-Pe)*a,(de-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ue+be)*a,de*y,(ue+Pe)*a,(de-ve)*y,(ue+be)*a,(de-Ee)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ue+be)*a,(de+Ee)*y,(ue+(Pe+be)/2)*a,(de+(ve+Ee)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Ae=new go.PathFigure(.2*a,y,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ce=new go.PathFigure(.8*a,y,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.2*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var z=new go.PathFigure(.1*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var ee=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var ee=new go.PathFigure(.475*a,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+ee)*y,(b+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-ee)*a,y,0,(b+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-ee)*y,(b-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+ee)*a,0,a,(b-ee)*y));var ue=new go.PathFigure(b*a,0,!1);return x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ue.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ue.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ue.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,.15*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var ee=new go.PathFigure(.15*a,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,ue=oe*.1,de=.2,ge=.9,fe=new go.PathFigure((de-z)*a,ge*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-z)*y,(de-z)*a,(ge-ue)*y,(de-ue)*a,(ge-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+z)*a,ge*y,(de+ue)*a,(ge-z)*y,(de+z)*a,(ge-ue)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+z)*y,(de+z)*a,(ge+ue)*y,(de+ue)*a,(ge+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-z)*a,ge*y,(de-ue)*a,(ge+z)*y,(de-z)*a,(ge+ue)*y).close()),z=.1,ue=oe*.1,de=.8,ge=.9;var me=new go.PathFigure((de-z)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-z)*y,(de-z)*a,(ge-ue)*y,(de-ue)*a,(ge-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+z)*a,ge*y,(de+ue)*a,(ge-z)*y,(de+z)*a,(ge-ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+z)*y,(de+z)*a,(ge+ue)*y,(de+ue)*a,(ge+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-z)*a,ge*y,(de-ue)*a,(ge+z)*y,(de-z)*a,(ge+ue)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var ee=new go.PathFigure(0,.5*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ue=new go.PathFigure(.5*a,.7*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var de=.1,ge=oe*.1,fe=.1,me=.9,be=new go.PathFigure((fe-de)*a,me*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-de)*y,(fe-de)*a,(me-ge)*y,(fe-ge)*a,(me-de)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,me*y,(fe+ge)*a,(me-de)*y,(fe+de)*a,(me-ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me+de)*y,(fe+de)*a,(me+ge)*y,(fe+ge)*a,(me+de)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe-de)*a,me*y,(fe-ge)*a,(me+de)*y,(fe-de)*a,(me+ge)*y)),de=.1,ge=oe*.1,fe=.4,me=.9;var ve=new go.PathFigure((fe-de)*a,me*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-de)*y,(fe-de)*a,(me-ge)*y,(fe-ge)*a,(me-de)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,me*y,(fe+ge)*a,(me-de)*y,(fe+de)*a,(me-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me+de)*y,(fe+de)*a,(me+ge)*y,(fe+ge)*a,(me+de)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-de)*a,me*y,(fe-ge)*a,(me+de)*y,(fe-de)*a,(me+ge)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var ee=new go.PathFigure(.45*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var fe=.05,me=oe*.05,be=.175,ve=.95,ue=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),ue.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.375,ve=.95,de=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.625,ve=.95,ge=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.825,ve=.95,Pe=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y).close());var Ee=new go.PathFigure(0,y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ue=.05,de=oe*.05,ge=.35,fe=.775,me=new go.PathFigure((ge-ue)*a,fe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(fe-ue)*y,(ge-ue)*a,(fe-de)*y,(ge-de)*a,(fe-ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ue)*a,fe*y,(ge+de)*a,(fe-ue)*y,(ge+ue)*a,(fe-de)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(fe+ue)*y,(ge+ue)*a,(fe+de)*y,(ge+de)*a,(fe+ue)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ue)*a,fe*y,(ge-de)*a,(fe+ue)*y,(ge-ue)*a,(fe+de)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(te,a,y){var x=new go.Geometry,b=.3,ee=oe*.3,z=.5,ue=.7,de=new go.PathFigure((z-b)*a,ue*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y));var ge=new go.PathFigure(0,.7*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var ee=new go.PathFigure(0,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=.5,ue=.5,de=new go.PathFigure((z-b)*a,ue*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y));var ge=new go.PathFigure(.15*a,.5*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=.5,ue=.5,de=new go.PathFigure((z-b)*a,ue*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y).close()),b=.05,ee=oe*.05,z=.5,ue=.8;var ge=new go.PathFigure((z-b)*a,ue*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue-b)*y,(z-b)*a,(ue-ee)*y,(z-ee)*a,(ue-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ue*y,(z+ee)*a,(ue-b)*y,(z+b)*a,(ue-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ue+b)*y,(z+b)*a,(ue+ee)*y,(z+ee)*a,(ue+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ue*y,(z-ee)*a,(ue+b)*y,(z-b)*a,(ue+ee)*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var ee=new go.PathFigure(0,y*.6,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var ee=new go.PathFigure(.126*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ue=new go.PathFigure(.678*a,.85*y,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ue.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var de=new go.PathFigure(.5*a,.1*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),de.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var ee=new go.PathFigure(a*.204,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ue=new go.PathFigure(a*.612,y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ue.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var de=new go.PathFigure(a*.816,y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var ee=new go.PathFigure(a*.055,.07*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ue=new go.PathFigure(a*.055,.18*y,!0);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var de=new go.PathFigure(a*1,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(0,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ue=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ue.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var de=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(te,a,y){var x=new go.Geometry,b=8,ee=b*oe,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,ee,ee,0).close());var ue=new go.PathFigure(a*.83,0,!1);x.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var de=new go.PathFigure(a*.83,y*1,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ge=new go.PathFigure(a*.78,y*.05,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*oe,ee=y*.8,z=new go.Geometry,ue=new go.PathFigure(x,0,!0);return z.add(ue),ue.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ue.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ue.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),ue.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ue.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),ue.add(new go.PathSegment(go.PathSegment.Line,0,x)),ue.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var ee=new go.PathFigure(a*1,y*.55,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var ee=new go.PathFigure(a*.1,y*.2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(te,a,y){var x=new go.Geometry,b=15,ee=b*oe,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),ee>1?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var z=new go.PathFigure(a*.4,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var z=new go.PathFigure(a*.5,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var ee=new go.PathFigure(a*.235,y*.28,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},5559:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ct={},ot="5.0",Se={},ye=null,je=!1,E=!1,pe=null,he=!1,ce=null,oe=null,ie=0;ie<arguments.length;ie++){var le=arguments[ie];if(le!==null)switch(typeof le){case"number":ot=le.toFixed(1);break;case"string":le.match(new RegExp("^[0-9]\\.[0-9]+$"))?ot=le:pe=le;break;case"object":typeof le.is3D!="undefined"?ye=le:Se=le;break;case"boolean":je=le,E=!0;break}}ye===null&&(ye={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},Se.material_id!==void 0&&!E&&(je=!0)),pe!==null&&Se.id===void 0&&(Se.id=pe);var se="",ae="",re=!1,ne=null,te=null,a=null,y=!1,x=null,b=null,ee=null,z=null,ue=null;Se.height!==void 0&&(Se.height=Math.round(Se.height)),Se.width!==void 0&&(Se.width=Math.round(Se.width));var de=function(ze){return parseFloat(ze)>4?parseFloat(ze):5};ct.setHTML5Codebase=function(ze,ke){oe=ze,We(ze,ke)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(ze,ke){var Ne=parseFloat(ze);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}ce=ze,Qe(ze,ke)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return Se},ct.setFontsCSSURL=function(ze){z=ze},ct.setGiacJSURL=function(ze){},ct.setJNLPFile=function(ze){se=ze},ct.setJNLPBaseDir=function(ze){},ct.inject=function(){function ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ne=Se.id,Ve,qe=!1,rt=0;rt<arguments.length;rt++){var Ye=arguments[rt];typeof Ye=="string"?(Ye=Ye.toLowerCase(),Ye.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?ke=Ye:Ne=arguments[rt]):typeof Ye=="boolean"?qe=Ye:Ye instanceof HTMLElement&&(Ve=Ye)}Ue();function Ue(){if(!he){setTimeout(Ue,200);return}ke=Fe(ke);var Be=Ve||document.getElementById(Ne);if(!Be){console.log("possibly bug on ajax loading? ");return}if(ct.removeExistingApplet(Be,!1),Se.width===void 0&&Be.clientWidth&&(Se.width=Be.clientWidth),Se.height===void 0&&Be.clientHeight&&(Se.height=Be.clientHeight),!(Se.width&&Se.height)&&ke==="html5"&&(delete Se.width,delete Se.height),ne=ke,ke==="screenshot")Ce(Be,Se);else{var Ze=!1;Se.hasOwnProperty("playButton")&&Se.playButton||Se.hasOwnProperty("clickToLoad")&&Se.clickToLoad?Ze=!0:Se.hasOwnProperty("playButtonAutoDecide")&&Se.playButtonAutoDecide&&(Ze=(!ge()||ze())&&fe()),Ze?(ne="screenshot",we(Be,Se,qe,ke)):Ae(Be,Se,qe)}}};function ge(){try{return window.self!==window.top}catch(ze){return!0}}function fe(){return Se.hasOwnProperty("screenshotGenerator")&&Se.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}ct.getViews=function(){return ye},ct.isJavaInstalled=function(){return!1};var me=function(ze){var ke=function(rt){var Ye=JSON.parse(rt),Ue=function(Te){return Te.type=="G"||Te.type=="E"},Be=Ye.elements?Ye.elements.filter(Ue)[0]:Ye;if(!Be||!Be.url){Ne();return}Se.fileName=Be.url,be(Be.settings||{}),ye.is3D=!0;var Ze="https://www.geogebra.org/images/";ct.setPreviewImage(x||Be.previewUrl,Ze+"GeoGebra_loading.png",Ze+"applet_play.png"),ze()},Ne=function(){Se.onError&&Se.onError(),Ge("Error: Fetching material (id "+Se.material_id+") failed.",Se)},Ve=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",qe="/materials/"+Se.material_id+"?scope=basic";ve("https://"+Ve+"/api/proxy.php?path="+encodeURIComponent(qe),ke,Ne)};function be(ze){var ke=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ne){ze[Ne]=!!ze[Ne]}),ke.forEach(function(Ne){Se[Ne]===void 0&&ze[Ne]!==void 0&&(Se[Ne]=ze[Ne])}),Se.showToolBarHelp===void 0&&(Se.showToolBarHelp=Se.showToolBar)}function ve(ze,ke,Ne){var Ve=new XMLHttpRequest;Ve.open("GET",ze),Ve.onload=function(){ke(Ve.responseText)},Ve.onerror=Ne,Ve.send()}ct.isHTML5Installed=function(){return!0},ct.getLoadedAppletType=function(){return ne},ct.setPreviewImage=function(ze,ke,Ne){x=ze,b=ke,ee=Ne},ct.removeExistingApplet=function(ze,ke){var Ne;typeof ze=="string"&&(ze=document.getElementById(ze)),ne=null;var Ve=null;for(Ne=0;Ne<ze.childNodes.length;Ne++){var qe=ze.childNodes[Ne],rt=qe.className;rt==="applet_screenshot"?ke?(qe.style.display="block",ne="screenshot"):qe.style.display="none":rt!=="applet_scaler prerender"&&(ze.removeChild(qe),Ve=rt&&rt.indexOf("appletParameters")!=-1?qe.id:null,Ne--)}var Ye=Se.id!==void 0?Se.id:Ve,Ue=window[Ye];Ue&&typeof Ue.getBase64=="function"&&(Ue.remove(),window[Ye]=null)},ct.refreshHitPoints=function(){if(de(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var ze=ct.getAppletObject();return ze&&typeof ze.recalculateEnvironments=="function"?(ze.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var ze=ct.getAppletObject();return ze&&typeof ze.startAnimation=="function"?(ze.startAnimation(),!0):!1},ct.stopAnimation=function(){var ze=ct.getAppletObject();return ze&&typeof ze.stopAnimation=="function"?(ze.stopAnimation(),!0):!1},ct.getAppletObject=function(){var ze=Se.id!==void 0?Se.id:"ggbApplet";return window[ze]},ct.resize=function(){};var Pe=function(ze,ke,Ne){var Ve=document.createElement("param");Ve.setAttribute("name",ke),Ve.setAttribute("value",Ne),ze.appendChild(Ve)},Ee=function(ze){return ze&&ze!=="false"},Ae=function(ze,ke,Ne){de(te)<=4.2&&(Ne=!0);var Ve=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Ve=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=ke.width,Ye=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(de(te)<=4.4)Ee(ke.showToolBar)&&(ke.height-=7),Ee(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&Ee(ke.showToolBar)&&(ke.width=605,rt=605);else{var Ue=100;(Ee(ke.showToolBar)||Ee(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ue=Ee(ke.showMenuBar)?245:155),rt<Ue&&(ke.width=Ue,rt=Ue)}qe.style.border="none",qe.style.display="inline-block";for(var Be in ke)ke.hasOwnProperty(Be)&&Be!=="appletOnLoad"&&qe.setAttribute("data-param-"+Be,ke[Be]);z&&qe.setAttribute("data-param-fontscssurl",z),ct.resize=function(){GGBAppletUtils.responsiveResize(ze,ke)},window.addEventListener("resize",function($e){ct.resize()});var Ze=typeof ke.appletOnLoad=="function"?ke.appletOnLoad:function(){};if(!Ne&&ke.width!==void 0){ke.hasOwnProperty("showSplash")||qe.setAttribute("data-param-showSplash","false");var Te=ze.querySelector(".applet_scaler.prerender"),He=Te!==null;if(He)var at=Te.querySelector(".ggb_preview");else{var at=Oe(rt,Ye,ke.borderColor,!1);Te=document.createElement("div"),Te.className="applet_scaler",Te.style.position="relative",Te.style.display="block",Te.style.width=rt+"px",Te.style.height=Ye+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Te,"66%"),de(te)>=5?(ke.appletOnLoad=function($e){var tt=ze.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Te),window.GGBT_wsf_view&&$(window).trigger("resize"),Ze($e)},He||Te.appendChild(at)):qe.appendChild(at),Te.appendChild(qe),He||ze.appendChild(Te),setTimeout(function(){ct.resize()},1)}else{var et=document.createElement("div");et.className="applet_scaler",et.style.position="relative",et.style.display="block",et.appendChild(qe),ze.appendChild(et),ke.appletOnLoad=function($e){ct.resize(),Ze($e)}}function Je($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),Ge("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Ie($e,tt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:$e,params:tt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(st){Je(st.article,st.params)}),html5AppletsToProcess=null)},de(te)<5&&($e.className+=" geogebraweb")):Je($e,tt)}if(Ve){scriptLoadStarted=!0;for(var xe=0;xe<qe.childNodes.length;xe++){var De=qe.childNodes[xe].tagName;De==="TABLE"&&(qe.removeChild(qe.childNodes[xe]),xe--)}if(ggbHTML5LoadedScript!==null){var Re=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Re!=null&&Re.parentNode.removeChild(Re)}var Xe=document.createElement("script"),nt=function(){Ie(qe,ke)};Xe.src=ae+a,ggbHTML5LoadedCodebaseIsWebSimple=y,ggbHTML5LoadedCodebaseVersion=te,ggbHTML5LoadedScript=Xe.src,Ge("GeoGebra HTML5 codebase loaded: '"+ae+"'.",ke),!oe&&(!ce||ce=="5.0")?(y?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),nt()):ae.requirejs?__webpack_require__.e(777).then(function(){var $e=[__webpack_require__(70777)];nt.apply(null,$e)}.bind(this)).catch(__webpack_require__.oe):(Xe.onload=nt,ze.appendChild(Xe))}else Ie(qe,ke);ke.height=Ye,ke.width=rt},Ce=function(ze,ke,Ne){var Ve=Oe(ke.width,ke.height,ke.borderColor,Ne),qe=document.createElement("div");qe.style.position="relative",qe.style.display="block",qe.style.width=ke.width+"px",qe.style.height=ke.height+"px",qe.className="applet_screenshot applet_scaler"+(Ne?" applet_screenshot_play":""),qe.appendChild(Ve);var rt=GGBAppletUtils.getScale(ke,ze,Ne);Ne?(ze.appendChild(Me()),window.GGBT_wsf_view||(ze.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(qe,"66%"),ze.appendChild(qe),rt!==1&&!isNaN(rt)&&(GGBAppletUtils.scaleElement(qe,rt),qe.style.width=ke.width+"px",qe.style.height=ke.height+"px",qe.parentNode.style.width=ke.width*rt+"px",qe.parentNode.style.height=ke.height*rt+"px"),ct.resize=function(){_e(ze,Ve,qe,Ne)},window.addEventListener("resize",function(Ye){ct.resize()}),ct.resize()};function _e(ze,ke,Ne,Ve){if(ze.contains(ke)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ze.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(ze)}var qe=GGBAppletUtils.getScale(Se,ze,Ve);Ne.parentNode!==null&&(!isNaN(qe)&&qe!==1?(GGBAppletUtils.scaleElement(Ne,qe),Ne.parentNode.style.width=Se.width*qe+"px",Ne.parentNode.style.height=Se.height*qe+"px"):(GGBAppletUtils.scaleElement(Ne,1),Ne.parentNode.style.width=Se.width+"px",Ne.parentNode.style.height=Se.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(ze),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}ct.onExitFullscreen=function(ze,ke){ke.appendChild(ze)};var we=function(ze,ke,Ne,Ve){Ce(ze,ke,!0);for(var qe=function(){var Ue=[];for(Ye=0;Ye<ze.childNodes.length;Ye++)Ue.push(ze.childNodes[Ye]);if(window.GGBT_wsf_view){var Be=window.GGBT_wsf_view.renderFullScreen(ze,ke.id),Ze=document.getElementById("fullscreencontainer"),Te=jQuery(ze).find(".fullscreencontent");Te.length>0?(Be.remove(),Te.attr("id","fullscreencontent").show(),jQuery(Ze).append(Te),window.dispatchEvent(new Event("resize"))):Ae(Be,ke,!1),window.GGBT_wsf_view.launchFullScreen(Ze)}else ne=Ve,Ae(ze,ke,!1);if(!window.GGBT_wsf_view)for(Ye=0;Ye<Ue.length;Ye++)ze.removeChild(Ue[Ye])},rt=ze.getElementsByClassName("ggb_preview_play"),Ye=0;Ye<rt.length;Ye++)rt[Ye].addEventListener("click",qe,!1),rt[Ye].addEventListener("ontouchstart",qe,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(ze),fe()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Me=function(){var ze=document.createElement("div");if(ze.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var ke='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Ne=document.createElement("style");Ne.styleSheet?Ne.styleSheet.cssText=ke:Ne.appendChild(document.createTextNode(ke)),document.getElementsByTagName("head")[0].appendChild(Ne)}return ze},Oe=function(ze,ke,Ne,Ve){var qe=document.createElement("div");qe.className="ggb_preview",qe.style.position="absolute",qe.style.zIndex="90",qe.style.width=ze-2+"px",qe.style.height=ke-2+"px",qe.style.top="0px",qe.style.left="0px",qe.style.overflow="hidden",qe.style.backgroundColor="white";var rt="lightgrey";Ne!==void 0&&(Ne==="none"?rt="transparent":rt=Ne),qe.style.border="1px solid "+rt;var Ye=document.createElement("img");if(Ye.style.position="relative",Ye.style.zIndex="1000",Ye.style.top="-1px",Ye.style.left="-1px",x!==null&&Ye.setAttribute("src",x),Ye.style.opacity=.7,b!==null){var Ue,Be,Ze;if(!Ve){Ue=document.createElement("img"),Ue.style.position="absolute",Ue.style.zIndex="1001",Ue.style.opacity=1,Ye.style.opacity=.3,Be=360,Be>ze/4*3&&(Be=ze/4*3),Ze=Be/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Be),Ue.setAttribute("height",Ze);var Te=(ze-Be)/2,He=(ke-Ze)/2;Ue.style.left=Te+"px",Ue.style.top=He+"px",qe.appendChild(Ue)}}return qe.appendChild(Ye),qe},Fe=function(ze){return ze=ze.toLowerCase(),ze==="html5"||ze==="screenshot"?ze:"html5"},Le=["web","webSimple","web3d","tablet","tablet3d","phone"],Qe=function(ze,ke){if(te=ze,ke){We(te,!0);return}var Ne=!je;if(Ne){var Ve=de(te);!isNaN(Ve)&&Ve<4.4&&(Ne=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var Ye=te.indexOf("//");Ye>0?rt=te:Ye===0?rt=qe+te:rt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Le)if(te.slice(Le[Ue].length*-1)===Le[Ue]||te.slice((Le[Ue].length+1)*-1)===Le[Ue]+"/"){We(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!ye.is3D&&!ye.AV&&!ye.SV&&!ye.CV&&!ye.EV2&&!ye.CP&&!ye.PC&&!ye.DA&&!ye.FI&&!ye.PV&&!Ee(Se.showToolBar)&&!Ee(Se.showMenuBar)&&!Ee(Se.showAlgebraInput)&&!Ee(Se.enableRightClick)&&(!Se.appName||Se.appName=="classic")?rt+="webSimple/":rt+="web3d/",We(rt,!1)},We=function(ze,ke){if(ze.requirejs){ae=ze;return}ze.slice(-1)!=="/"&&(ze+="/"),ae=ze,ke===null&&(ke=ze.indexOf("http")===-1),re=ke,a="web.nocache.js",y=!1;var Ne=ae.split("/");Ne.length>1&&(!ke&&Ne[Ne.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Le.indexOf(Ne[Ne.length-2])>=0&&(a=Ne[Ne.length-2]+".nocache.js")),Ne=ze.split("/"),te=Ne[Ne.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var Ve=parseFloat(te);Ve!==NaN&&Ve<5&&ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ve+" is deprecated. Using version latest instead."),Qe("5.0",ke))},Ge=function(ze,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(ze)};Se.material_id!==void 0?me(Ke):Ke();function Ke(){var ze=ot;ce!==null?ze=ce:parseFloat(ze)<5&&(ze="5.0"),Qe(ze,!1),oe!==null&&We(oe,re),he=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function ot(he,ce){ce!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+ce+","+ce+")",he.style.webkitTransform="scale("+ce+","+ce+")",he.style.maxWidth="initial",he.querySelector(".ggb_preview")!==null&&(he.querySelector(".ggb_preview").style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[0]!==void 0&&(he.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[1]!==void 0&&(he.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(he.style.transform="none",he.style.webkitTransform="none")}function Se(he,ce,oe,ie,le,se){var ae=null;if(se!=null&&se!="")for(var re=he.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+se+" ")>-1){ae=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,ee=0;if(ae)ne=ae.offsetWidth,te=Math.max(ie?ae.offsetWidth:0,ae.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,te=window.innerHeight,a=window.innerWidth),he){var z=he.getBoundingClientRect();z.left>0&&z.left<=ne&&(le===void 0||!le)&&(document.dir==="rtl"?(x=ne-z.width-z.left,b=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ue=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return he&&((oe===void 0||!oe)&&ce>0&&ce+y<ne?ne=ce:ne-=y,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(oe===void 0||!oe)&&(te-=ee)),{width:ne,height:te}}function ye(he,ce,oe,ie,le){if(he.isScreenshoGenerator)return 1;var se=ie!==void 0&&ie,ae=he.noScaleMargin!=null&&he.noScaleMargin,re=function(ue){return ue&&ue!=="false"},ne=re(he.autoHeight),te=Se(ce,he.width,oe,ne,se&&window.GGBT_wsf_view||ae,le),a=parseInt(te.width),y=he.width,x=he.height;if(y===void 0){var b=ce.querySelector(".appletParameters");b&&(y=b.offsetWidth,x=b.offsetHeight)}var ee=a/y,z=se?1:te.height/x;return oe!==void 0&&!oe&&(ee=Math.min(1,ee),z=Math.min(1,z)),Math.min(ee,z)}function je(he,ce,oe){var ie=1,le,se=!1;if(he.hasOwnProperty("allowUpscale")&&(se=he.allowUpscale),he.hasOwnProperty("scale")&&(ie=parseFloat(he.scale),(isNaN(ie)||ie===null||ie===0)&&(ie=1),ie>1&&(se=!0)),ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))le=ye(he,ce,se,oe,he.scaleContainerClass);else return ie;return se&&(!he.hasOwnProperty("scale")||ie===1)?le:Math.min(ie,le)}function E(he){var ce=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=he.getBoundingClientRect(),le=(ce-ie.width)/2,se=(oe-ie.height)/2;se<0&&(se=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(le<40?he.style.left="40px":he.style.left=le+"px",he.style.top=se+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(se<40?he.style.top="40px":he.style.top=se+"px",he.style.left=le+"px")}function pe(he,ce){var oe=he.querySelector(".appletParameters");if(oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ce.id!==oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var ie=je(ce,he);ct()&&oe.setAttribute("data-param-scale",ie);for(var le=null,se=0;se<he.childNodes.length;se++)if(he.childNodes[se].className!==void 0&&he.childNodes[se].className.match(/^applet_scaler/)){le=he.childNodes[se];break}if(le!==null&&le.querySelector(".noscale")!==null)return;var ae=ce.id!==void 0?ce.id:"ggbApplet",re=window[ae];(re==null||!re.recalculateEnvironments)&&le!==null&&!le.className.match(/fullscreen/)&&(le.parentNode.style.transform="",!isNaN(ie)&&ie!==1?(le.parentNode.style.width=ce.width*ie+"px",le.parentNode.style.height=ce.height*ie+"px",ot(le,ie)):(ot(le,1),le.parentNode.style.width=ce.width+"px",le.parentNode.style.height=ce.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&E(he),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(oe).parents(".content-added-content"))}}return{responsiveResize:pe,isFlexibleWorksheetEditor:ct,positionCenter:E,getScale:je,scaleElement:ot}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var ct=n.location.search;return ct.indexOf(J)!=-1||ct.indexOf(K)!=-1}function q(ct,ot){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(ct){var ot=s[L].bindings;s[L].bindings=function(){for(var Se=ot?ot():{},ye=ct[webModule.__softPermutationId],je=O;je<ye.length;je++){var E=ye[je];Se[E[O]]=E[P]}return Se}};var t;function u(){return v(),t}function v(){if(!t){var ct=o.createElement(Q);if(ct.id=L,ct.style.cssText=R+S,ct.tabIndex=-1,o.body.appendChild(ct),t=ct.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var ot=document.compatMode==U?V:W;t.write(ot+X),t.close()}}}function w(ct){function ot(ye){function je(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var E=je();if(E){ye();return}function pe(){if(!E){if(!je())return;E=!0,ye(),o.removeEventListener&&o.removeEventListener(Z,pe,!1),he&&clearInterval(he)}}o.addEventListener&&o.addEventListener(Z,pe,!1);var he=setInterval(function(){pe()},$)}function Se(ye){var je=u(),E=je.body,pe=je.createElement(_);pe.language=ab,pe.crossOrigin=W,pe.src=ye,webModule.__errFn&&(pe.onerror=function(){webModule.__errFn(L,new Error(bb+ye))}),E.appendChild(pe)}ot(function(){Se(ct)})}webModule.__startLoadingFragment=function(ct){return C(ct)},webModule.__installRunAsyncCode=function(ct){var ot=u(),Se=ot.body,ye=ot.createElement(_);ye.language=ab,ye.text=ct,Se.appendChild(ye),Se.removeChild(ye)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ct){var ot=c[ct];return ot==null?null:ot},r=d,webModule.__errFn=e}function B(){function ct(he){var ce=he.lastIndexOf(rb);ce==-1&&(ce=he.length);var oe=he.indexOf(sb);oe==-1&&(oe=he.length);var ie=he.lastIndexOf(tb,Math.min(oe,ce));return ie>=O?he.substring(O,ie+P):W}function ot(he){if(!he.match(/^\w+:\/\//)){var ce=o.createElement(ub);ce.src=he+vb,he=ct(ce.src)}return he}function Se(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function ye(){for(var he=o.getElementsByTagName(_),ce=O;ce<he.length;++ce)if(he[ce].src.indexOf(xb)!=-1)return ct(he[ce].src);return W}function je(){var he=o.getElementsByTagName(yb);return he.length>O?he[he.length-P].href:W}function E(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var pe=Se();return pe==W&&(pe=ye()),pe==W&&(pe=je()),pe==W&&E()&&(pe=ct(o.location.href)),pe=ot(pe),pe}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],ot=O,Se=[],ye=[];function je(he){var ce=ye[he](),oe=Se[he];if(ce in oe)return ce;var ie=[];for(var le in oe)ie[oe[le]]=le;throw r&&r(he,ie,ce),null}if(__gwt_isKnownPropertyValue=function(he,ce){return ce in Se[he]},webModule.__getPropMap=function(){var he={};for(var ce in Se)Se.hasOwnProperty(ce)&&(he[ce]=je(ce));return he},webModule.__computePropValue=je,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var pe=E.indexOf(Db);pe!=-1&&(ot=parseInt(E.substring(pe+P),$),E=E.substring(O,pe))}catch(he){}return webModule.__softPermutationId=ot,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},49291:function(ct,ot,Se){"use strict";Se.d(ot,{Ax:function(){return pe},Ds:function(){return he},KI:function(){return oe},SI:function(){return E},f1:function(){return je}});var ye=Se(38446);function je(ie){let le=!0;if(ie.length>0){for(let se=0;se<ie.length;se++)if(ie[se].compile_success==0||!ie[se].compile_success){le=!1;break}}else le=!1;return le}function E(ie,le=""){let se=[];for(let ae=0;ae<ie.length;ae++){let re=ie[ae],ne=le?`${le}/${re.name}`:`${re.name}`;se.push({title:re.name,type:re.type,isLeaf:re.type!=="tree",key:ne})}return se}function pe(ie,le,se){for(let ae=0;ae<ie.length;ae++){let re=ie[ae];if(re.key===le){re.children=se;break}re.children&&pe(re.children,le,se)}return ie}function he(ie,le,se){let ae;return function(){let re=this,ne=arguments,te=function(){ae=null,se||ie.apply(re,ne)},a=se&&!ae;clearTimeout(ae),ae=setTimeout(te,le),a&&ie.apply(re,ne)}}const ce=!0,oe=ye.Z.API_SERVER},18378:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return x}});var ye=Se(59301),je=Se(5825),E={bigTips:"bigTips___uPRW3",item:"item___KMGDu"},pe=Se(8591),he=Se(95237),ce=Object.defineProperty,oe=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,se=Object.prototype.hasOwnProperty,ae=Object.prototype.propertyIsEnumerable,re=(b,ee,z)=>ee in b?ce(b,ee,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[ee]=z,ne=(b,ee)=>{for(var z in ee||(ee={}))se.call(ee,z)&&re(b,z,ee[z]);if(le)for(var z of le(ee))ae.call(ee,z)&&re(b,z,ee[z]);return b},te=(b,ee)=>oe(b,ie(ee)),a=(b,ee,z)=>new Promise((ue,de)=>{var ge=be=>{try{me(z.next(be))}catch(ve){de(ve)}},fe=be=>{try{me(z.throw(be))}catch(ve){de(ve)}},me=be=>be.done?ue(be.value):Promise.resolve(be.value).then(ge,fe);me((z=z.apply(b,ee)).next())}),x=({description:b,code:ee,showData:z={},sendParams:ue={},allShow:de=!1})=>{const ge=[{img:Se(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:z==null?void 0:z.ai_exam_question,type:1},{img:Se(68427),name:"\u8BED\u6CD5\u68C0\u67E5",des:"\u68C0\u6D4B\u4EE3\u7801\u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\uFF0C\u63D0\u4F9B\u4FEE\u590D\u5EFA\u8BAE",description:"",query:ee,show:z==null?void 0:z.ai_syntax_check,type:5},{img:Se(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:b,query:ee,show:z==null?void 0:z.ai_code_diagnosis,type:2},{img:Se(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:ee,show:z==null?void 0:z.ai_guidance,type:3}],fe=me=>{const{setChatData:be,setLoading:ve,getData:Pe,clearStatus:Ee,typing:Ae,setImageGenerator:Ce,renderChatItems:_e}=me;let we=ge;return de||(we=ge.filter(Me=>Me.show)),ye.createElement("div",{className:`${E.bigTips} mt10`},we.map((Me,Oe)=>ye.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Ae){pe.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Ce(!1),ve(!0),Ee();const Fe=_e(Me.query);Fe[0].show=!1,Fe[1].imageGenerator=!1,be(Fe),Pe("",ne({type:Me.type,description:Me.description,query:Me.query,file_ids:[],history:[],is_chat:!1,image_generator:!1},ue))}),key:Oe,className:E.item},ye.createElement(he.Z,{align:"middle"},ye.createElement("img",{className:"mr10",src:Me.img}),ye.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Me.name)),ye.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Me.des))))};return ye.createElement(je.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:de?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:fe,showSwitchingModel:!0,showImageGenerator:!0,fetchData:te(ne({},ue),{is_chat:!0}),topPercentage:(ue==null?void 0:ue.source)==="hack"?.52:void 0,headNode:ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"c-grey-333 font22"},ye.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F\u5934\u6B4C\u667A\u80FD\u52A9\u6559\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B\u3002"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},"\u6211\u53EF\u4EE5\u8FD0\u7528\u667A\u80FD\u5BA1\u9898\u7684\u529F\u80FD\uFF0C\u5E2E\u52A9\u60A8\u8F7B\u677E\u7406\u89E3\u5E76\u62C6\u89E3\u5B9E\u8DF5\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u6E05\u6670\u660E\u4E86\u7684\u89E3\u9898\u601D\u8DEF\u3002\u5F53\u60A8\u5728\u7F16\u5199\u4EE3\u7801\u8FC7\u7A0B\u4E2D\u9047\u5230\u95EE\u9898\u65F6\uFF0C\u6211\u53EF\u4EE5\u63D0\u4F9B\u4EE3\u7801\u8BCA\u65AD\u670D\u52A1\uFF0C\u5206\u6790\u60A8\u7684\u4EE3\u7801\u5E76\u7ED9\u51FA\u5177\u4F53\u7684\u4FEE\u6B63\u5EFA\u8BAE\u3002\u5982\u679C\u60A8\u9700\u8981\u8FDB\u4E00\u6B65\u7684\u5E2E\u52A9\uFF0C\u6211\u8FD8\u53EF\u4EE5\u63D0\u4F9B\u8BE6\u7EC6\u7684AI\u6307\u5BFC\uFF0C\u4E3A\u60A8\u91CF\u8EAB\u5B9A\u5236\u53C2\u8003\u7684\u89E3\u51B3\u65B9\u6848\u3002\u671F\u5F85\u4E0E\u60A8\u643A\u624B\u5171\u8FDB\uFF0C\u9AD8\u6548\u3001\u4F18\u8D28\u5730\u5B8C\u6210\u6BCF\u4E00\u9879\u5B9E\u8DF5\u4EFB\u52A1\uFF01"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},5825:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return gn}});var ye=Se(59301),je=Se(8591),E=Se(54580),pe=Se(43418),he=Se(6848),ce=Se(92832),oe=Se(3113),ie=Se(43428),le=Se(81327),se=Se(71418),ae=Se(92310),re=Se.n(ae),ne=Se(16879),te=Se(77596),a=Se(93772),y=Se(14179),x=Se(56102),b={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ee=Se(35328),z=Se(30084),ue=Se(2878),de=Se(50484),ge=Se(59301),fe=Object.defineProperty,me=Object.getOwnPropertySymbols,be=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,Pe=(Ct,Ot,At)=>Ot in Ct?fe(Ct,Ot,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Ot]=At,Ee=(Ct,Ot)=>{for(var At in Ot||(Ot={}))be.call(Ot,At)&&Pe(Ct,At,Ot[At]);if(me)for(var At of me(Ot))ve.call(Ot,At)&&Pe(Ct,At,Ot[At]);return Ct},Ae=(Ct,Ot)=>{var At={};for(var qt in Ct)be.call(Ct,qt)&&Ot.indexOf(qt)<0&&(At[qt]=Ct[qt]);if(Ct!=null&&me)for(var qt of me(Ct))Ot.indexOf(qt)<0&&ve.call(Ct,qt)&&(At[qt]=Ct[qt]);return At},Ce=(Ct,Ot,At)=>new Promise((qt,dn)=>{var dt=jt=>{try{ft(At.next(jt))}catch(Yt){dn(Yt)}},gt=jt=>{try{ft(At.throw(jt))}catch(Yt){dn(Yt)}},ft=jt=>jt.done?qt(jt.value):Promise.resolve(jt.value).then(dt,gt);ft((At=At.apply(Ct,Ot)).next())}),we=({value:Ct,streamingStatus:Ot,onFinish:At,cancelIndex:qt,loadImage:dn})=>{const[dt,gt]=(0,ye.useState)(""),ft=(0,ye.useRef)(Ct),jt=(0,ye.useRef)(Ot),Yt=(0,ye.useRef)(0),Qt=(0,ye.useRef)(null),Bn=(0,ye.useRef)(null),fn=(0,ye.useRef)(!0),[kn,Gn]=(0,ye.useState)(!1),dr=(0,ye.useRef)(!1);(0,ye.useEffect)(()=>{jt.current=Ot},[Ot]),(0,ye.useEffect)(()=>{ft.current=Ct},[Ct]),(0,ye.useEffect)(()=>{if(dn){gt(Lt(`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A
|
|
|
|
|
|
`+ft.current));return}return Gn(!0),Qt.current=setInterval(zt,70),()=>{clearInterval(Qt.current)}},[]),(0,ye.useEffect)(()=>{kn&&(gt(Lt(ft.current)),clearInterval(Qt.current),Gn(!1),At())},[qt]);const zt=()=>Ce(void 0,null,function*(){const Ut=ft.current[Yt.current];Ut!==void 0?(gt(Pt=>Lt(Pt,Ut)),Yt.current++,clearInterval(Qt.current),Qt.current=setInterval(zt,280/(ft.current.length-Yt.current))):jt.current===!1&&(gt(Lt(ft.current)),clearInterval(Qt.current),Gn(!1),At())}),Lt=(Ut,Pt="")=>(Ut=Ut+Pt,Ut.split(new RegExp("(```.*?```)","gs")).map($t=>$t.startsWith("```")?$t:$t.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$")).join("")),St=()=>{fn.current&&(fn.current=!1,setTimeout(At,500))};return ge.createElement(ge.Fragment,null,ge.createElement("div",{className:`${b.answer} fadeIn animated`,ref:Bn},ge.createElement(ne.UG,{remarkPlugins:[z.Z],rehypePlugins:[ee.Z,a.Z],components:{code(Ut){var Pt=Ut,{node:Tt,inline:kt,className:$t,children:nn}=Pt,mn=Ae(Pt,["node","inline","className","children"]);const Sn=/language-(\w+)/.exec($t||"");return!kt&&Sn?ge.createElement("div",{className:b.codeCopy},ge.createElement(x.CopyToClipboard,{text:String(nn).replace(/\n$/,""),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ge.createElement("button",null,"\u590D\u5236")),ge.createElement(te.Z,Ee({style:y.Z,language:Sn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},mn),String(nn||"").replace(/\n$/,""))):ge.createElement("code",Ee({className:$t},mn),nn)},img({node:Ut}){var Pt;const Tt=(Pt=Ut.properties)==null?void 0:Pt.src;return ge.createElement("div",{className:b.imgWrap,onClick:()=>de.Z.publish("preview-image",Tt)},ge.createElement("img",{src:Tt,onLoad:St}))}}},`${dt}${kn&&!dr.current?"__":""}`)))},Me={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},Oe=Se(59301),Fe=(Ct,Ot,At)=>new Promise((qt,dn)=>{var dt=jt=>{try{ft(At.next(jt))}catch(Yt){dn(Yt)}},gt=jt=>{try{ft(At.throw(jt))}catch(Yt){dn(Yt)}},ft=jt=>jt.done?qt(jt.value):Promise.resolve(jt.value).then(dt,gt);ft((At=At.apply(Ct,Ot)).next())}),Qe=({value:Ct="",streamingStatus:Ot,onFinish:At,cancelIndex:qt,time:dn,loading:dt})=>{const[gt,ft]=(0,ye.useState)(""),[jt,Yt]=(0,ye.useState)(!0),Qt=(0,ye.useRef)(Ct),Bn=(0,ye.useRef)(Ot),fn=(0,ye.useRef)(0),kn=(0,ye.useRef)(null),[Gn,dr]=(0,ye.useState)(!1),zt=70;(0,ye.useEffect)(()=>{Bn.current=Ot},[Ot]),(0,ye.useEffect)(()=>{Qt.current=Ct},[Ct]),(0,ye.useEffect)(()=>(dr(!0),kn.current=setInterval(Lt,zt),()=>{clearInterval(kn.current)}),[]),(0,ye.useEffect)(()=>{Gn&&(ft(Qt.current),clearInterval(kn.current),dr(!1),At())},[qt]);const Lt=()=>Fe(void 0,null,function*(){const St=Qt.current[fn.current];St!==void 0?(ft(Ut=>Ut+St),fn.current++,clearInterval(kn.current),kn.current=setInterval(Lt,280/(Qt.current.length-fn.current))):Bn.current===!1&&(ft(Qt.current),clearInterval(kn.current),dr(!1),At())});return Oe.createElement("div",{className:`${Me.reasoning} fadeIn animated`},Oe.createElement("div",{className:Me.btn,onClick:()=>Yt(!jt)},Oe.createElement("i",{className:"iconfont icon-shendusikao"}),dn?Oe.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",dn," \u79D2\uFF09"):Oe.createElement("span",null,"\u601D\u8003\u4E2D..."),jt?Oe.createElement("b",{className:"iconfont icon-shouqi6"}):Oe.createElement("b",{className:"iconfont icon-zhankai6"})),dt&&Oe.createElement(se.Z,{spinning:!0,className:"mt20"}),jt&&!dt&&Oe.createElement("div",{className:Me.content},gt,Gn?Oe.createElement("span",{className:"aiBlink"},"__"):""))},We={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},Ge=Object.defineProperty,Ke=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ne=(Ct,Ot,At)=>Ot in Ct?Ge(Ct,Ot,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Ot]=At,Ve=(Ct,Ot)=>{for(var At in Ot||(Ot={}))ze.call(Ot,At)&&Ne(Ct,At,Ot[At]);if(Ke)for(var At of Ke(Ot))ke.call(Ot,At)&&Ne(Ct,At,Ot[At]);return Ct};const qe=Ct=>React.createElement("svg",Ve({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Ct),React.createElement("path",{d:"M1019.407 620.8 891.834 397.781 946.49 293.12a29.099 29.099 0 0 0 6.4-36.395l-70.187-126.592a30.08 30.08 0 0 0-24.576-13.653H597.519L539.194 14.507a27.35 27.35 0 0 0-20.907-14.55H380.644a29.141 29.141 0 0 0-24.618 14.55v5.546L225.806 243.03H100.923a29.184 29.184 0 0 0-25.515 13.654L3.428 384.085a32.768 32.768 0 0 0 0 29.184L132.836 638.08 74.511 740.053a32.768 32.768 0 0 0 0 29.056l66.517 116.566a29.907 29.907 0 0 0 25.515 14.506H427.15l62.848 109.227A30.08 30.08 0 0 0 512.783 1024H660.41a29.141 29.141 0 0 0 24.576-14.55l128.469-224.853h114.773a31.915 31.915 0 0 0 24.662-15.445l66.474-117.419a28.16 28.16 0 0 0 0-30.976l.043.043zm-161.28 14.592L791.61 512.469 518.287 993.963l-74.752-122.88h-273.28l65.621-119.211h139.392L101.86 272.213h143.062L380.687 30.08l68.352 119.253-70.187 122.88H925.54l-69.205 121.942 137.6 241.194H858.17z",fill:"#605BEC"}),React.createElement("path",{d:"m499.983 699.307 174.379-274.731H324.708z",fill:"#605BEC"}));var r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xOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Ye=Object.defineProperty,Ue=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Te=(Ct,Ot,At)=>Ot in Ct?Ye(Ct,Ot,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Ot]=At,He=(Ct,Ot)=>{for(var At in Ot||(Ot={}))Be.call(Ot,At)&&Te(Ct,At,Ot[At]);if(Ue)for(var At of Ue(Ot))Ze.call(Ot,At)&&Te(Ct,At,Ot[At]);return Ct};const at=Ct=>React.createElement("svg",He({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Ct),React.createElement("path",{d:"M1364.44 118.705c-14.178-6.695-20.322 6.065-28.593 12.525-2.914 2.048-5.277 4.726-7.64 7.246-20.717 21.268-44.899 35.21-76.643 33.556a152.576 152.576 0 0 0-120.674 45.371c-7.404-41.826-32.06-66.875-69.553-82.865-19.693-8.35-39.543-16.7-53.248-34.737-9.61-12.919-12.288-27.333-17.015-41.512-3.15-8.507-6.144-17.25-16.384-18.668-11.185-1.733-15.517 7.247-19.928 14.73a189.125 189.125 0 0 0-23.552 98.461c1.575 76.88 35.446 138.083 102.636 181.642 7.562 4.963 9.531 9.925 7.09 17.25-4.49 14.967-9.926 29.54-14.81 44.584-2.992 9.61-7.561 11.658-18.274 7.483a309.484 309.484 0 0 1-96.886-63.015c-47.813-44.426-91.057-93.342-144.935-131.702a635.825 635.825 0 0 0-38.36-25.207c-54.982-51.2 7.167-93.262 21.582-98.225 14.966-5.199 5.277-23.158-43.402-22.922-48.68.237-93.184 15.833-149.977 36.628-8.428 3.15-17.092 5.514-25.993 7.326a557.844 557.844 0 0 0-160.768-5.436c-105.157 11.264-189.204 58.92-250.96 140.367-74.2 97.832-91.687 208.975-70.261 325.002 22.449 122.25 87.434 223.468 187.47 302.631 103.582 82 222.917 122.172 359.188 114.452 82.708-4.568 174.79-15.202 278.686-99.485 26.151 12.445 53.642 17.486 99.249 21.267 35.131 3.072 69.002-1.733 95.153-6.931 40.96-8.35 38.203-44.741 23.316-51.437-120.202-53.72-93.814-31.822-117.839-49.624 61.125-69.317 153.206-141.312 189.204-374.706 2.835-18.51.472-30.168 0-45.213-.237-9.137 1.969-12.603 12.918-13.706a240.089 240.089 0 0 0 86.173-25.442c77.982-40.803 109.332-107.914 116.736-188.259 1.103-12.288-.236-24.97-13.705-31.429zM685.45 842.043C569.108 754.215 512.55 725.307 489.157 726.49c-21.82 1.26-17.96 25.206-13.155 40.802 5.042 15.439 11.58 26.073 20.717 39.621 6.301 8.9 10.791 22.213-6.302 32.295-37.494 22.213-102.794-7.561-105.787-8.98-76.012-42.929-139.421-99.564-184.241-176.994a523.894 523.894 0 0 1-72.468-239.93c-1.024-20.56 5.278-27.885 26.703-31.587a272.148 272.148 0 0 1 85.307-2.127c118.942 16.699 220.16 67.741 305.073 148.48 48.443 46.001 85.071 100.982 122.88 154.703 40.173 57.029 83.338 111.458 138.32 155.963 19.376 15.675 34.894 27.569 49.781 36.234-44.74 4.805-119.414 5.829-170.456-32.926zm55.926-344.615c0-5.357 2.757-10.398 7.326-13.47a17.723 17.723 0 0 1 22.134 2.048c3.072 2.915 4.805 7.09 4.805 11.422a16.778 16.778 0 0 1-17.25 16.541 17.33 17.33 0 0 1-12.131-4.883 15.911 15.911 0 0 1-4.884-11.658zm173.529 85.464a104.37 104.37 0 0 1-33.005 8.586 71.444 71.444 0 0 1-44.504-13.548c-15.282-12.288-26.23-19.141-30.72-40.645a89.167 89.167 0 0 1 .787-31.429c3.939-17.487-.393-28.75-13.312-38.912-10.476-8.35-23.71-10.634-38.36-10.634a32.06 32.06 0 0 1-14.179-4.175c-6.144-2.914-11.106-10.24-6.301-19.14a60.18 60.18 0 0 1 10.712-11.265c19.85-10.79 42.693-7.246 63.882.788 19.693 7.798 34.501 21.898 55.926 41.905 21.74 24.183 25.68 30.8 38.125 48.916 9.846 14.179 18.747 28.75 24.89 45.45 3.703 10.397-1.102 18.905-13.941 24.103z",fill:"#4D6BFE"}));var et="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44NjUtMTkuNjkzLTguMzUtMzkuNTQzLTE2LjctNTMuMjQ4LTM0LjczNy05LjYxLTEyLjkxOS0xMi4yODgtMjcuMzMzLTE3LjAxNS00MS41MTItMy4xNS04LjUwNy02LjE0NC0xNy4yNS0xNi4zODQtMTguNjY4LTExLjE4NS0xLjczMy0xNS41MTcgNy4yNDctMTkuOTI4IDE0LjczYTE4OS4xMjUgMTg5LjEyNSAwIDA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NzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Je=Se(59301),xe=({value:Ct,onChange:Ot})=>{const[At,qt]=(0,ye.useState)(!1),dn=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:rt},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:et}],dt=dn.find(gt=>gt.key===Ct);return Je.createElement("div",{className:We.select},Je.createElement(le.Z,{size:10},Je.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Je.createElement("div",{className:We.box,onMouseLeave:()=>qt(!1)},Je.createElement("div",{className:We.text,onClick:()=>qt(!0)},Je.createElement("img",{src:dt.img,width:20}),Je.createElement("span",null,dt.name),Je.createElement("b",{className:"iconfont icon-zhankai6"})),At&&Je.createElement("div",{className:We.itemWrap},Je.createElement("aside",null,dn.map(gt=>Je.createElement("div",{key:gt.key,className:`${We.item} ${gt.key===Ct?We.active:""}`,onClick:ft=>{ft.stopPropagation(),Ot(gt.key),qt(!1)}},Je.createElement("img",{src:gt.img,width:20}),Je.createElement("span",null,gt.name))))))))},De={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",headBtn:"headBtn___IS7xR"},Re=Se(7660),Xe=Se(88230),nt={draggableImage:"draggableImage___vcTso"},tt=({src:Ct,onClick:Ot,topPercentage:At=.62})=>{const qt=(0,ye.useRef)(null),dn=(0,ye.useRef)(!1),dt=(0,ye.useRef)(!1),[gt,ft]=(0,ye.useState)(window.innerHeight*At),[jt,Yt]=(0,ye.useState)(!1),Qt=10;return(0,ye.useEffect)(()=>{if(qt.current){let Bn=function(zt){var Lt;dn.current=!0,dr=zt.pageY,Gn=zt.pageY-(((Lt=qt.current)==null?void 0:Lt.getBoundingClientRect().top)||0),(0,Xe.kk)("none"),document.onselectstart=function(){return!1}},fn=function(){dn.current&&!dt.current&&Ot&&Ot(),dn.current=!1,dt.current=!1,(0,Xe.kk)("auto"),document.onselectstart=null},kn=function(zt){var Lt;if(dn.current){const Ut=zt.pageY-Gn,Pt=window.innerHeight-(((Lt=qt.current)==null?void 0:Lt.offsetHeight)||0)-50,Tt=50;if(!dt.current&&Math.abs(dr-zt.pageY)>Qt&&(dt.current=!0),dt.current){let kt=Math.max(Tt,Math.min(Ut,Pt));ft(kt)}}},Gn=0,dr=0;return qt.current.addEventListener("mousedown",Bn),document.addEventListener("mousemove",kn),document.addEventListener("mouseup",fn),()=>{var zt,Lt;(Lt=(zt=qt==null?void 0:qt.current)==null?void 0:zt.removeEventListener)==null||Lt.call(zt,"mousedown",Bn),document.removeEventListener("mousemove",kn),document.removeEventListener("mouseup",fn)}}},[Ot]),(0,ye.useEffect)(()=>{const Bn=()=>{ft(window.innerHeight*At)};return window.addEventListener("resize",Bn),()=>{window.removeEventListener("resize",Bn)}},[At]),ye.createElement("div",{className:nt.draggableImage,style:{top:`${gt}px`,display:jt?"none":"block",cursor:dn.current?"grabbing":"grab"},ref:qt},ye.createElement("img",{src:Ct,width:60,draggable:"false"}),ye.createElement("i",{className:"iconfont icon-tupianguanbi",onMouseUp:Bn=>{Bn.stopPropagation(),Yt(!0)}}))},st="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO6yHfWz1s4FD+za9V+N/ws01v/2otVLzuv36tZHwfpDlN1m2w6W62LLiVpyLhahpQixNRiBxkPAE+BcQtvRj+Veyd8dG99x8CyLIOESuC4qlPcJ6BH48lgOHoMnXzIMIAJA7gUQ/VwQ4obgBgGOgBiGOAiIIY4fEqoQFXoazEQIlrwnuhhKLoB8hgZXPlH/IhdsGmV911HpTxwef3Dkf8Lo9wL40hUvTR0uTfxtiHpPYFk527KxQhfLtbGdhAZJoQiEEChC+V1AsS0sR8AU0ISB8pwLtkPg2niuTaAZaBO4CXwBUL6hMFiA0zdDuuYDfcLyQQJaBJwG0QAo906gcAXMiInCOtuPQQ80gI4GKgYQ/dhSShNbPtDRdwGhsFw+z6JswWdTbV3/sH//3fXTAXlaAIV1qmr9RKnwAmGVsmxsLCxLgLA0eFiOBkyflzDQEWDknB3Qj11CxyVwxGxdlDAvIaZs4dsODcfFd1yU62hw5bgngRhZrkZSgxabcARiIOD5+m8CoO2H2EFAMgg1E1Gefs4Vc1cCYGTC2pwFKAOSvMdcrMgAwiBirUZVAww84dq5a07Hxt8B8OwF568Lg/B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FHqo8oYAPW2FiBXQ0YayppnjTOia6kgMrghTn22yubue5t9+eZSTs86r5N4we9hBASml2tq6+pnvzipsaNnaFXnxuGWWlOWzckKC2Nk1Jbh+au+K8/uk75BgR4l6SfnkljNmnkF/992kIK0hZv3z+8tdPeOvTTuaHBmAUFWCFgrjhPGLDB5MYFIWQg0gGKJq/kVC6AzfWTaqpmf+IdDNuRF66ra3r19fcf+2dnzeT9VWs9B4FINP89sSP3lz1UHtd16SVK9vZvDlNLGaQJ4p0cfzZJa9g6Wk8Q89nnHjYQC754dGYwTBVQ/vw3D83MG/hZmQmiekFsHOjLN+cwczvy6rD9sfOyaO0O8E+bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",ut=Se(38446),pt=Se(86204),vt=Object.defineProperty,mt=(Ct,Ot,At)=>Ot in Ct?vt(Ct,Ot,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Ot]=At,bt=(Ct,Ot,At)=>mt(Ct,typeof Ot!="symbol"?Ot+"":Ot,At),_t=(Ct,Ot,At)=>new Promise((qt,dn)=>{var dt=jt=>{try{ft(At.next(jt))}catch(Yt){dn(Yt)}},gt=jt=>{try{ft(At.throw(jt))}catch(Yt){dn(Yt)}},ft=jt=>jt.done?qt(jt.value):Promise.resolve(jt.value).then(dt,gt);ft((At=At.apply(Ct,Ot)).next())});class Mt extends pt.EventEmitter{constructor(Ot,At){super(),bt(this,"url"),bt(this,"body"),bt(this,"fullContent",""),bt(this,"controller",null),this.url=Ot,this.body=At}startStream(){return _t(this,null,function*(){this.controller=new AbortController;const{signal:Ot}=this.controller;try{const At=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ot});if(!At.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${At.status}`);const qt=At.headers.get("content-type");if(!qt||!qt.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const dn=At.body.getReader(),dt=new TextDecoder("utf-8");for(;;){const{done:gt,value:ft}=yield dn.read();if(gt)break;const Yt=dt.decode(ft,{stream:!0}).split(`
|
|
|
`);for(const Qt of Yt)if(Qt.startsWith("data:")){const Bn=Qt.slice(5).trim();if(Bn==="[DONE]")break;try{const fn=JSON.parse(Bn);fn.data&&this.handleData(fn.data)}catch(fn){console.error("\u89E3\u6790 JSON \u5931\u8D25:",fn)}}}this.emit("done",this.fullContent)}catch(At){At.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",At.message)}})}handleData(Ot){Ot.content&&(this.fullContent+=Ot.content,this.emit("data",{chunk:Ot,full:this.fullContent}))}cancelRequest(){var Ot;(Ot=this.controller)==null||Ot.abort()}}var yt=Mt,wt=Se(58617),xt=Se(32050),un=Object.defineProperty,Vt=Object.defineProperties,sn=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,en=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,ln=(Ct,Ot,At)=>Ot in Ct?un(Ct,Ot,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Ot]=At,Ln=(Ct,Ot)=>{for(var At in Ot||(Ot={}))en.call(Ot,At)&&ln(Ct,At,Ot[At]);if(Zt)for(var At of Zt(Ot))Ht.call(Ot,At)&&ln(Ct,At,Ot[At]);return Ct},Pn=(Ct,Ot)=>Vt(Ct,sn(Ot)),xn=(Ct,Ot,At)=>new Promise((qt,dn)=>{var dt=jt=>{try{ft(At.next(jt))}catch(Yt){dn(Yt)}},gt=jt=>{try{ft(At.throw(jt))}catch(Yt){dn(Yt)}},ft=jt=>jt.done?qt(jt.value):Promise.resolve(jt.value).then(dt,gt);ft((At=At.apply(Ct,Ot)).next())}),gn=({title:Ct="\u5934\u6B4CAI",placeholder:Ot,hideUpload:At,hideInputBox:qt,aiIcon:dn=st,userIcon:dt=it,dragIcon:gt=lt,children:ft,fetchUrl:jt,fetchData:Yt={},extraAnswerAction:Qt,showDefaultTips:Bn=!0,onOpen:fn,onClose:kn,loadingOption:Gn,showPreference:dr=!1,initMessage:zt,customRequest:Lt,visible:St,width:Ut=1200,isCheckRestrictNumber:Pt=!1,headNode:Tt,headFunctionNode:kt,showRedraw:$t,showEdit:nn,promptPropName:mn="prompt",topPercentage:Sn,showSwitchingModel:An=!1,showImageGenerator:En=!1})=>{var Tn;const[_n,It]=(0,ye.useState)(!1),[Xn,Nn]=(0,ye.useState)("qwen-max"),[zn,hn]=(0,ye.useState)([]),[Bt,Wt]=(0,ye.useState)(!1),[on,Kt]=(0,ye.useState)([]),[wn,Rn]=(0,ye.useState)(""),[Jn,Kn]=(0,ye.useState)(0),[sr,Ar]=(0,ye.useState)(!1),[mr,Jt]=(0,ye.useState)(null),[Lr,_r]=(0,ye.useState)(""),rr=(0,ye.useRef)(),or=(0,ye.useRef)(null),pr=(0,ye.useRef)(null),[vr,br]=(0,ye.useState)(!1),[jn,qn]=(0,ye.useState)(!1),[gr,Vn]=(0,ye.useState)(!1),[hr,lr]=(0,ye.useState)(0),Sr=(0,ye.useRef)(null),Er=(0,ye.useRef)(!1),ir=(0,ye.useRef)(null),[Ir,Tr]=(0,ye.useState)(!0),[Br,kr]=(0,ye.useState)(Ut-28),[ht,Dt]=(0,ye.useState)(!1),[Et,Rt]=(0,ye.useState)(!0),Gt=(0,ye.useRef)(!1),Nt=Br-22,rn=wn==null?void 0:wn.split(`
|
|
|
`).length,an={maxCount:10,showUploadList:!1,withCredentials:!0,fileList:zn,multiple:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png",beforeUpload:Ft=>{var pn,Hn,tr,Un;const Pr=(Un=(tr=(Hn=(pn=Ft==null?void 0:Ft.name)==null?void 0:pn.split("."))==null?void 0:Hn.slice(-1))==null?void 0:tr[0])==null?void 0:Un.toLowerCase(),yn=["doc","docx","md","pdf","txt","jpg","png"].includes(Pr);return Ft.size==0?(je.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),E.default.LIST_IGNORE):yn||(je.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u6587\u4EF6"),E.default.LIST_IGNORE)},onChange:({fileList:Ft})=>{hn(Ft)},action:`${(Tn=ut.Z)==null?void 0:Tn.API_SERVER}/api/intelligent_imports/upload_file.json`};(0,ye.useEffect)(()=>{if(!on.length||!rr.current)return;const Ft=on[on.length-1];Ft!=null&&Ft.loading&&(rr.current.scrollTop=rr.current.scrollHeight)},[on.length]),(0,ye.useEffect)(()=>{if(!rr.current||!Sr.current)return;const Ft=new IntersectionObserver(([pn])=>{Tr(pn.isIntersecting)},{root:rr.current,rootMargin:"70px",threshold:0});return Ft.observe(Sr.current),()=>{Sr.current&&Ft.unobserve(Sr.current)}},[rr.current,Sr.current]),(0,ye.useEffect)(()=>{if(!vr)return;const Ft=rr.current,pn=ir.current;Er.current=!1;const Hn=()=>{const{scrollTop:Un,scrollHeight:Pr,clientHeight:ar}=Ft,yn=Un+ar===Pr;Er.current=!0,yn&&(Er.current=!1)};Ft.addEventListener("wheel",Hn);const tr=new ResizeObserver(()=>{Er.current||(Ft.scrollTop=Ft.scrollHeight)});return tr.observe(pn),()=>{var Un;tr.unobserve(pn),(Un=Ft==null?void 0:Ft.removeEventListener)==null||Un.call(Ft,"wheel",Hn)}},[vr]),(0,ye.useEffect)(()=>{if(!rr.current)return;const Ft=new ResizeObserver(()=>{kr(rr.current.offsetWidth)});return Ft.observe(rr.current),()=>{rr.current&&Ft.unobserve(rr.current)}},[rr.current]),(0,ye.useEffect)(()=>{typeof St=="boolean"&&It(St)},[rr.current]),(0,ye.useEffect)(()=>{typeof St=="boolean"&&It(St)},[St]),(0,ye.useEffect)(()=>{var Ft;if(or.current&&mr!==null){or.current.focus();const pn=(Ft=or.current.resizableTextArea)==null?void 0:Ft.textArea;pn&&(pn.selectionStart=pn.selectionEnd=pn.value.length)}},[mr]),(0,ye.useEffect)(()=>{rn<5&&Ar(!1)},[rn]),(0,ye.useEffect)(()=>{_n&&zt&&(Kt(Xt(zt)),Wt(!0),$n(zt,{history:[]})),_n&&Pt&&In(),_n||cn()},[_n]);const Xt=(Ft="",pn=[])=>{const Hn=Date.now();return[{text:Ft,key:Hn,sender:"user",fileList:pn,show:!0},{loading:!0,key:Hn,sender:"AI",show:!0,model:Xn,imageGenerator:gr,thinkingEnabled:jn}]},cn=()=>{var Ft,pn;_r(""),Jt(null),hn([]),Rn(""),(pn=(Ft=pr.current)==null?void 0:Ft.cancelRequest)==null||pn.call(Ft)},tn=()=>{if(fn){fn({chatData:on,setChatData:Kt,setLoading:Wt,getData:$n,renderChatItems:Xt});return}It(!0)},Dn=()=>{if(Rt(!0),kn){kn();return}It(!1)},Cn=()=>{Ar(!sr)},In=()=>xn(void 0,null,function*(){const Ft=yield(0,Re.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Ft==null?void 0:Ft.status)===0&&Kn(Ft==null?void 0:Ft.number)}),Mn=()=>{pe.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:ye.createElement("div",null,ye.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ye.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},Qn=Ft=>Ft.reduce((Hn,tr)=>{if(tr.sender==="user"){const Un=Ft.find(Pr=>Pr.key===tr.key&&Pr.sender==="AI");Un&&(Un!=null&&Un.text)&&!(Un!=null&&Un.error)&&Hn.push({question:tr.text,answer:Un.text})}return Hn},[]),$n=(...Ft)=>xn(void 0,[...Ft],function*(pn="",Hn={},tr=on){if(Lt&&(yield Lt({mes:pn,setChatData:Kt,fileList:zn,body:Hn,checkNum:In,setLoading:Wt,bodyChatData:tr,setTyping:br,setImageGenerator:Vn})),!Lt){const Un=zn==null?void 0:zn.map(Fn=>{var Cr;return(Cr=Fn==null?void 0:Fn.response)==null?void 0:Cr.file_id}),Pr=Hn.history||Qn(tr),ar=Ln(Ln({response_mode:"streaming",model:Xn,thinking_enabled:jn,image_generator:gr,file_ids:Un,history:Pr,[mn]:pn},Yt),Hn),yn=Object.fromEntries(Object.entries(ar).filter(([Fn,Cr])=>Cr!==void 0));pr.current=new yt(ut.Z.API_SERVER+jt,yn),yield new Promise((Fn,Cr)=>{let Mr=null,Nr=null;pr.current.on("data",Hr=>{br(!0);const{chunk:{content:Gr,type:Zr,created:Kr,msg:qr}}=Hr,Wr=qr==="error";Zr==="thinking"&&(Mr=Mr||Kr,Kt(Vr=>[...Vr].map((Ur,zr)=>zr===Vr.length-1?Pn(Ln({},Ur),{reasoning:(Ur.reasoning||"")+Gr,loading:!1,hideAnswer:!0,error:Wr}):Ur))),Zr==="text"&&(Nr=Nr||Kr,Kt(Vr=>[...Vr].map((Ur,zr)=>zr===Vr.length-1?Pn(Ln({},Ur),{text:(Ur.text||"")+Gr,loading:!1,startTime:Mr,endTime:Nr,error:Wr}):Ur)))}),pr.current.on("done",()=>{Fn()}),pr.current.on("error",()=>{const Hr="\u62B1\u6B49\uFF0C\u6211\u521A\u521A\u9047\u5230\u4E86\u4E00\u70B9\u95EE\u9898\uFF0C\u6CA1\u80FD\u5B8C\u6210\u60A8\u7684\u8BF7\u6C42\u3002\u8BF7\u60A8\u7A0D\u540E\u518D\u8BD5\u4E00\u6B21\uFF0C\u6216\u8005\u8054\u7CFB\u6280\u672F\u652F\u6301\u5E2E\u5FD9\u89E3\u51B3!";Kt(Gr=>[...Gr].map((Zr,Kr)=>Kr===Gr.length-1?Pn(Ln({},Zr),{text:Hr,loading:!1,error:!0}):Zr)),Fn()}),pr.current.on("cancelled",()=>{Fn()}),pr.current.startStream()})}Pt&&In(),Wt(!1)}),xr=Ft=>{Rn(Ft.target.value)},wr=(Ft,pn)=>{if(cn(),Wt(!0),Ft==="edit"){const Hn=on.splice(pn),{fileList:tr}=(Hn==null?void 0:Hn[0])||{},Un=tr.map(ar=>{var yn;return(yn=ar.response)==null?void 0:yn.file_id}),Pr={history:Qn(on),file_ids:Un};Kt([...on,...Xt(Lr,tr)]),$n(Lr,Pr,on)}if(Ft==="redraw"){const Hn=on.splice(pn-1),{text:tr,fileList:Un}=(Hn==null?void 0:Hn[0])||{},Pr=Un.map(yn=>{var Fn;return(Fn=yn.response)==null?void 0:Fn.file_id}),ar={history:Qn(on),file_ids:Pr};Kt([...on,...Xt(tr,Un)]),$n(tr,ar,on)}},nr=()=>{if(wn.trim()!==""){cn(),Wt(!0);const Ft=zn.filter(pn=>pn.status==="done");Kt([...on,...Xt(wn,Ft)]),$n(wn)}},ur=Ft=>{if(Ft.shiftKey){if(Ft.key==="Enter")return}else if(Ft.key==="Enter"){if(Ft.preventDefault(),yr||Gt.current)return;nr()}},Dr=(Ft,pn)=>{var Hn;const tr=pn===mr;return ye.createElement("div",{className:De.li,style:{width:Nt}},ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:dt})),ye.createElement("div",{className:De.content},!!Ft.fileList&&ye.createElement("div",{className:De.fileWrap},(Hn=Ft.fileList)==null?void 0:Hn.map((Un,Pr)=>{var ar,yn;return ye.createElement("div",{key:Pr,className:De.file},ye.createElement("img",{src:Se(90034)(`./${((yn=(ar=Un==null?void 0:Un.name)==null?void 0:ar.split("."))==null?void 0:yn.pop())||"txt"}.png`),width:20,className:"mr10"}),ye.createElement("aside",null,ye.createElement(he.Z,{title:Un==null?void 0:Un.name},ye.createElement("div",{className:De.fileName},Un==null?void 0:Un.name)),ye.createElement("div",{className:"c-grey-999 font12"},(0,Xe.RD)(Un==null?void 0:Un.size))))})),ye.createElement("div",{className:De.borderBox},tr?ye.createElement(ce.default.TextArea,{value:Lr,ref:or,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:Un=>_r(Un.target.value)}):ye.createElement("div",{className:De.text},Ft==null?void 0:Ft.text)),tr?ye.createElement("div",{className:De.action},ye.createElement(oe.ZP,{onClick:()=>{_r(""),Jt(null)},size:"small"},"\u53D6\u6D88"),ye.createElement(oe.ZP,{disabled:!Lr.trim(),onClick:()=>wr("edit",pn),type:"primary",size:"small"},"\u786E\u8BA4")):ye.createElement("div",{className:De.action},ye.createElement(x.CopyToClipboard,{text:(Ft==null?void 0:Ft.text)||"",onCopy:()=>je.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(he.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),nn&&!Bt&&ye.createElement(he.Z,{title:"\u7F16\u8F91"},ye.createElement("i",{onClick:()=>{Jt(pn),_r((Ft==null?void 0:Ft.text)||"")},className:"iconfont icon-bianji10 font14"})))))},Wn=(Ft,pn)=>{const Hn=pn===on.length-1?{ref:ir}:{};return ye.createElement("div",Pn(Ln({},Hn),{className:De.li,style:{width:Nt}}),ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:dn})),ye.createElement("div",{className:De.content},ye.createElement("div",{className:De.borderBox},Ft.loading&&ye.createElement(ye.Fragment,null,Ft!=null&&Ft.imageGenerator?ye.createElement("div",{className:De.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",ye.createElement("div",{className:"ai-loading"})):!(Ft!=null&&Ft.thinkingEnabled)&&ye.createElement("div",null,ye.createElement("div",{className:De.loading},ye.createElement("div",{className:De.dot}),ye.createElement("div",{className:De.dot}),ye.createElement("div",{className:De.dot})),ye.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(Gn==null?void 0:Gn.text)||"\u8BF7\u8010\u5FC3\u7B49\u5F85\uFF0C\u76EE\u524D\u9AD8\u5CF0\u671F\u4F53\u9A8C\u4EBA\u6570\u8FC7\u591A\uFF0C\u6211\u4EEC\u5DF2\u8BB0\u5F55\u4E0B\u60A8\u7684\u9700\u6C42\uFF0C\u7A0D\u540E\u5C06\u81EA\u52A8\u4E3A\u60A8\u751F\u6210\u7B54\u6848\u3002"))),(Ft==null?void 0:Ft.thinkingEnabled)&&ye.createElement(Qe,{time:Ft==null?void 0:Ft.time,cancelIndex:hr,loading:Ft.loading,streamingStatus:!(Ft!=null&&Ft.text),onFinish:()=>{Kt(tr=>[...tr].map((Un,Pr)=>Pr===tr.length-1?Pn(Ln({},Un),{hideAnswer:!1,time:Un.startTime?Un.endTime-Un.startTime:null}):Un))},value:Ft==null?void 0:Ft.reasoning}),!!(Ft!=null&&Ft.text)&&!Ft.hideAnswer&&ye.createElement(we,{cancelIndex:hr,streamingStatus:Bt,loadImage:!!(Ft!=null&&Ft.imageGenerator),onFinish:()=>{br(!1)},value:Ft==null?void 0:Ft.text})),ye.createElement("div",{className:De.action},Qt==null?void 0:Qt(Ft),ye.createElement(x.CopyToClipboard,{text:String((Ft==null?void 0:Ft.text)||""),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ye.createElement(he.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),dr&&ye.createElement(ye.Fragment,null,ye.createElement(he.Z,{title:"\u559C\u6B22"},ye.createElement("i",{style:Ft!=null&&Ft.like?{color:"#FA8D30"}:{},onClick:()=>cr("like",!(Ft!=null&&Ft.like),pn),className:"iconfot icon-yijiejue font15"})),ye.createElement(he.Z,{title:"\u4E0D\u559C\u6B22"},ye.createElement("i",{style:Ft!=null&&Ft.boring?{color:"#e86d7c"}:{},onClick:()=>cr("boring",!(Ft!=null&&Ft.boring),pn),className:"iconfot icon-weijiejuezhengchang font15"}))),$t&&!Bt&&ye.createElement(he.Z,{title:"\u91CD\u65B0\u751F\u6210"},ye.createElement("i",{onClick:()=>wr("redraw",pn),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},cr=(Ft,pn,Hn)=>{Kt(tr=>(tr[Hn][Ft]=pn,pn&&(tr[Hn][Ft==="like"?"boring":"like"]=!1),[...tr]))},Zn=()=>{var Ft,pn;lr(Hn=>Hn+1),(pn=(Ft=pr.current)==null?void 0:Ft.cancelRequest)==null||pn.call(Ft),Wt(!1),br(!1)},vn=Jn>9,er=At||zn.length>9,yr=zn.some(Ft=>Ft.status==="uploading")||Bt||vr,fr=gr||jn||!!zn.length;return ye.createElement("div",null,ft?ye.createElement("div",{onClick:tn},ft):ye.createElement(tt,{src:gt,onClick:tn,topPercentage:Sn}),ye.createElement(ie.Z,{open:_n,width:ht?"100%":Ut,afterOpenChange:Ft=>{Ft&&Rt(!1)},contentWrapperStyle:Et?{}:{transition:"none"},extra:ye.createElement(le.Z,{size:15},An&&ye.createElement(xe,{value:Xn,onChange:Ft=>{qn(!1),Vn(!1),Nn(Ft)}}),ye.createElement(he.Z,{title:ht?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F"},ye.createElement("div",{className:De.headBtn,style:{padding:"0 12px"},onClick:()=>Dt(!ht)},ht&&ye.createElement("i",{className:"iconfont icon-tuichuquanping3"}),!ht&&ye.createElement("i",{className:"iconfont icon-quanping4"})))),title:ye.createElement("span",{className:"c-grey-333 font16"},Ct),onClose:Dn,bodyStyle:{paddingRight:4}},ye.createElement("div",{className:re()(De.wrap,_n&&"body-overflow-hidden")},ye.createElement("div",{ref:rr,className:De.chatContainer},Bn&&ye.createElement("div",{className:`${De.li} mb20`,style:{width:Nt}},ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:dn})),ye.createElement("div",{className:De.content},ye.createElement("div",{className:De.borderBox},Tt,kt==null?void 0:kt({isDisabledNum:vn,checkNumModal:Mn,checkNum:In,onClose:Dn,setChatData:Kt,setLoading:Wt,getData:$n,clearStatus:cn,typing:vr,setImageGenerator:Vn,renderChatItems:Xt})))),on==null?void 0:on.map((Ft,pn)=>ye.createElement(ye.Fragment,{key:Ft.key+pn},Ft.show&&ye.createElement(ye.Fragment,null,Ft.sender==="user"&&Dr(Ft,pn),Ft.sender==="AI"&&Wn(Ft,pn)))),!Ir&&ye.createElement("div",{className:De.backBottom,onClick:()=>{Er.current=!1,rr.current.scrollTop=rr.current.scrollHeight}},ye.createElement("i",{className:"iconfont icon-huidaodibu"})),ye.createElement("div",{ref:Sr})),!qt&&ye.createElement("div",{className:re()(De.footerContainer,sr&&De.full,fr&&De.footerContainerSelected)},ye.createElement("div",{className:De.btnWrp},Xn==="deepseek-r1"&&ye.createElement("div",{onClick:()=>qn(!jn),className:re()(De.btn,jn&&De.btnActive)},ye.createElement("i",{className:"iconfont icon-shendusikao mr10 font12"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09"),En&&Xn==="qwen-max"&&ye.createElement("div",{onClick:()=>Vn(!gr),className:re()(De.btn,gr&&De.btnActive)},ye.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10 font12"}),"\u56FE\u50CF\u751F\u6210"),zn.map(Ft=>ye.createElement("div",{key:Ft.uid},(Ft==null?void 0:Ft.status)==="uploading"&&ye.createElement(se.Z,{indicator:ye.createElement(wt.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),ye.createElement("span",{title:Ft==null?void 0:Ft.name,className:"mr10"},(0,Xe.Pq)(Ft.name,20)),ye.createElement("i",{onClick:()=>hn(pn=>pn.filter(Hn=>Hn.uid!==Ft.uid)),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font12"})))),ye.createElement(he.Z,{title:vn&&ye.createElement("div",null,ye.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ye.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},ye.createElement("div",{className:re()(De.inputContainer,rn>4&&De.lineFour,vn&&De.disabledInput)},ye.createElement(E.default,Pn(Ln({},an),{className:`${er&&"hide"}`}),ye.createElement(oe.ZP,{className:De.uploadBtn,icon:ye.createElement(xt.Z,{style:{fontSize:18,color:"#FFF"}})})),ye.createElement(ce.default.TextArea,{rows:rn>4?4:rn,placeholder:Ot||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:wn,bordered:!1,style:er?{paddingLeft:0,marginLeft:0}:{},onChange:xr,onPressEnter:ur,onCompositionStart:()=>{Gt.current=!0},onCompositionEnd:()=>{Gt.current=!1}}),vr?ye.createElement("div",{className:`iconfont icon-tingzhihuida ${De.cancelBtn}`,onClick:Zn}):ye.createElement(oe.ZP,{className:(wn==null?void 0:wn.trim())===""?De.sendBtnDisabled:De.sendBtn,icon:ye.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:yr,onClick:nr}),rn>4&&ye.createElement("span",{className:De.fullIcon,onClick:Cn},sr&&ye.createElement("span",{className:"iconfont icon-shousuo"}),!sr&&ye.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},71400:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Ee},U:function(){return be}});var ye=Se(59301),je=Se(31797),E=Se(43418),pe=Se(1710),he=Se(20736),ce=Se(30897),oe=Se(61186),ie=Se.n(oe),le={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"},se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2aHST34fTQjDeQqplOfqibsp4/QOqjztXcMczVHPWLvQS4g0IgclH0eDm7HvsBmca/pBvI5/OUVZRRXQ9l1bupqHq9c+NvOuiqXlqAlwA3DBBEe655J71lX2F3T0Q64yjLQFkVuHREqttRXfkYVa2nO3fcrmGs7qhe5CXAHeTyR7eSpmHJvQxWH0dqLJSPgXQjpFuIgTe4ISLT42ia8XKXe+vNRzWahnHwLwHuYID7ERWkWUk540k7yNZDZi6kp0OqHIa2RFT1OSa+/H2u7kP/MYxzflQv8hLgDga4X5Ghi6epYAJpIAtk5kB6JpRlIWqPqBp0THrlP7v6D/37UY2mYRz8S4A7KOBmZNjzdAK4lACXhuwCKJ8KzgOuetAx5cJ/drkPvAS4g5zPlwB3MMA9NSPDQ08/TbkxXAYyx0L55MSHi7ZF5Jxj8nn/4qrf9/Fh3ORH9SIvAe5ggLv17Czttz9FJvIMl4XssZCelAAu3x5R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NrxIE6TkwoL/8d0321TbvzKSI5Z4CW8Gpzby/NrFk89H0N9C9S6shR23b9dUsq+oSKaJcyg7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",re=Se(88230),ne=Se(24459),te=Se(3404),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,de=(Ae,Ce,_e)=>Ce in Ae?y(Ae,Ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Ae[Ce]=_e,ge=(Ae,Ce)=>{for(var _e in Ce||(Ce={}))z.call(Ce,_e)&&de(Ae,_e,Ce[_e]);if(ee)for(var _e of ee(Ce))ue.call(Ce,_e)&&de(Ae,_e,Ce[_e]);return Ae},fe=(Ae,Ce)=>x(Ae,b(Ce)),me=(Ae,Ce,_e)=>new Promise((we,Me)=>{var Oe=Qe=>{try{Le(_e.next(Qe))}catch(We){Me(We)}},Fe=Qe=>{try{Le(_e.throw(Qe))}catch(We){Me(We)}},Le=Qe=>Qe.done?we(Qe.value):Promise.resolve(Qe.value).then(Oe,Fe);Le((_e=_e.apply(Ae,Ce)).next())});const be=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ve}=je.default,Pe=({exercise:Ae,socket:Ce,dispatch:_e,onStartScreenshot:we,onCloseScreenshot:Me,handleToDetail:Oe})=>{const[Fe,Le]=E.default.useModal(),Qe=(0,ye.useRef)(),[We,Ge]=(0,ye.useState)(!0),Ke=(0,ye.useRef)(!1),ze=(0,ne.useParams)();(0,ye.useEffect)(()=>{var De,Re,Xe;if(document.addEventListener((0,he.gH)(),Ie,!1),window.addEventListener("blur",et,!1),(De=Ae.exerciseUserInfo)!=null&&De.screen_open&&(0,he.vp)()&&Ge(!1),(Re=Ae.exerciseUserInfo)!=null&&Re.screen_open&&!(0,he.vp)()){(0,re.RG)(" ",!0);const nt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Ae.exerciseUserInfo.screen_sec+3:Ae.exerciseUserInfo.screen_sec+10+1;Qe.current=E.default.info({icon:null,centered:!0,width:444,title:(0,te._V)(te.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,te._V)(te.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},Ae.exerciseUserInfo.screen_num-Ae.exerciseUserInfo.used_screen_num),(0,te._V)(te.CP.recordScreen3)),okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(ve,{onFinish:()=>me(void 0,null,function*(){var $e;const tt=yield Je();($e=Qe.current)==null||$e.destroy(),tt.used_screen_num&&Te(tt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+nt*1e3})),"S\uFF09"),onOk:()=>{var $e;(0,re.RG)(" ",!0),($e=Qe.current)==null||$e.destroy(),Ge(!1),(0,he.Dj)(document.body),document.getElementById("root").addEventListener("click",Ne,!1)}})}return(Xe=Ae.exerciseUserInfo)!=null&&Xe.screen_open&&!(0,he.vp)()||document.getElementById("root").addEventListener("click",Ne,!1),()=>{document.getElementById("root").removeEventListener("click",Ne,!1),document.removeEventListener((0,he.gH)(),Ie,!1),window.removeEventListener("blur",et,!1)}},[]),(0,ye.useEffect)(()=>{setTimeout(()=>{Ae.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Ne,!1),document.removeEventListener((0,he.gH)(),Ie,!1))},500),Ve()},[Ae.actionTabs]),(0,ye.useEffect)(()=>{setTimeout(()=>{Ae.exerciseUserInfo.used_screen_num>Ae.exerciseUserInfo.screen_num&&He()},500)},[Ae.exerciseUserInfo]);const ke=()=>me(void 0,null,function*(){const De=yield Je();setTimeout(()=>{var Re,Xe;(Re=Qe.current)==null||Re.destroy(),Qe.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},De.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(Xe=Ae.exerciseUserInfo)==null?void 0:Xe.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>me(void 0,null,function*(){(0,he.Dj)(document.body)})})},1e3)}),Ne=De=>{!(0,he.vp)()&&De.target.nodeName!=="A"&&De.target.nodeName!=="BUTTON"&&De.target.innerHTML!=="\u786E \u5B9A"&&(0,he.Dj)(document.body)},Ve=()=>me(void 0,null,function*(){const De=yield _e({type:"exercise/getExerciseUserInfo",payload:ge({},ze)});return De==null?void 0:De.data}),qe=De=>me(void 0,null,function*(){var Re;if((Re=Ae.exerciseUserInfo)!=null&&Re.screen_at){const nt=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Xe=yield(0,ce.oy)({id:ze.categoryId});if(Xe!=null&&Xe.is_commit){E.default.destroyAll(),yield rt(),at(!0);return}else Te(De+1)}),rt=()=>me(void 0,null,function*(){var De;const Re=ie()(),Xe=Ae.exerciseUserInfo.screen_sec;if(Be.current.length>0){const nt=Re.format("YYYY-MM-DD HH:mm:ss");let $e=Math.floor(Re.diff(ie()(Be.current[0].start))/1e3);const tt=Be.current.length;$e/Xe>>0>tt&&($e=(tt+1)*Xe-1),yield(0,ce.P8)(ze.categoryId,{exercise_user_id:(De=Ae.exerciseUserInfo)==null?void 0:De.exercise_user_id,time:nt,time_long:$e,count:tt})}Be.current=[]}),Ye=(0,ye.useRef)(0),Ue=(0,ye.useRef)(0),Be=(0,ye.useRef)([]),Ze=(0,ye.useRef)(!1),Te=De=>me(void 0,null,function*(){var Re;Ke.current||(we(),E.default.destroyAll(),Ye.current=ie()().valueOf(),Ze.current=!0,Qe.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:le.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen8)),content:a.createElement("div",{className:le.exitFullScreenModal},a.createElement("img",{src:se,alt:"",className:le.warningIcon}),a.createElement("div",{className:le.warningText,style:{marginBottom:50,fontWeight:500}},(0,te._V)(te.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,te._V)(te.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,te._V)(te.CP.recordScreen11),a.createElement("span",{className:le.warningText},((Re=Ae.exerciseUserInfo)==null?void 0:Re.screen_num)+1),(0,te._V)(te.CP.recordScreen12),a.createElement("span",{className:le.warningText,style:{fontWeight:600}},(0,te._V)(te.CP.recordScreen13)),",",(0,te._V)(te.CP.recordScreen14),a.createElement("span",{className:le.warningText},De-1),(0,te._V)(te.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ve,{className:le.countdownWrapper,onFinish:()=>{Ue.current=ie()().valueOf(),Be.current.push({start:Ye.current,end:Ue.current}),qe(De)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Ae.exerciseUserInfo.screen_sec+1)*1e3}),(0,te._V)(te.CP.recordScreen25)),(0,te._V)(te.CP.recordScreen16))),onOk:()=>{(0,re.RG)(" ",!0),rt(),(0,he.Dj)(document.body),Me(),Qe.current.destroy(),Ze.current=!1}}))}),He=()=>me(void 0,null,function*(){E.default.destroyAll(),(yield(0,ce.VL)({categoryId:ze.categoryId,commit_method:1}))&&at()}),at=(De=!1)=>me(void 0,null,function*(){var Re,Xe;if(document.removeEventListener((0,he.gH)(),Ie,!1),(0,he.BU)(),E.default.destroyAll(),Ke.current=!0,De){const nt=yield(0,ce.Yu)(ze.categoryId,{exercise_user_id:(Re=Ae.exerciseUserInfo)==null?void 0:Re.exercise_user_id});Fe.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:le.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:le.forcedModalContent},a.createElement("img",{src:ae,alt:""}),a.createElement("div",{className:le.forcedText},(0,te._V)(te.CP.recordScreen17)),a.createElement("div",{className:le.screenNumText},(0,te._V)(te.CP.recordScreen18),(Xe=Ae.exerciseUserInfo)==null?void 0:Xe.screen_num,(0,te._V)(te.CP.recordScreen19)),a.createElement(pe.default,{dataSource:nt==null?void 0:nt.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,te._V)(te.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,te._V)(te.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,te._V)(te.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{Me(),Oe()},onOk:()=>{ne.history.push(`/classrooms/${ze.coursesId}/exercisenotice/${ze.categoryId}/users/${ze.login}?isShowApply=true`)}})}else Fe.info({content:a.createElement("div",{className:"tc font16"},(0,te._V)(te.CP.recordScreen23),a.createElement("br",null),(0,te._V)(te.CP.recordScreen24)),onOk:()=>{Oe()}})}),et=De=>{(0,he.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ze.current&&(0,he.BU)()},Je=()=>me(void 0,null,function*(){var De;if((De=Ae.exerciseUserInfo)!=null&&De.screen_at){const nt=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Re=yield(0,ce.oy)({id:ze.categoryId});if(Re!=null&&Re.is_commit){at();return}return yield Ve()}),Ie=()=>me(void 0,null,function*(){var De;if((0,re.RG)(" ",!0),(0,he.vp)()){if((De=Ae.exerciseUserInfo)!=null&&De.screen_at){var Re=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((Re==null?void 0:Re.status)===-6)return}}else if(!Ze.current){var Re=yield(0,ce.ck)(ge({},ze));if((Re==null?void 0:Re.status)===-6)return;const nt=yield Ve();Te(nt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),xe=()=>me(void 0,null,function*(){(0,ce.ck)(ge({},ze));const De=yield Ve();Te(De.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Le)};var Ee=(0,ne.connect)(({exercise:Ae,globalSetting:Ce})=>({globalSetting:Ce,exercise:Ae}))(Pe)},48569:function(ct,ot,Se){"use strict";Se.d(ot,{X:function(){return pe},y:function(){return E}});var ye=Se(59301),je=Se(8591);const E=he=>{(0,ye.useEffect)(()=>{if(he){const ce=ie=>{ie.key==="F12"&&(ie.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},oe=ie=>{ie.preventDefault()};return document.addEventListener("keydown",ce),document.addEventListener("contextmenu",oe),()=>{document.removeEventListener("keydown",ce),document.removeEventListener("contextmenu",oe)}}},[he])},pe=()=>{const[he,ce]=(0,ye.useState)(!1),oe=ie=>{const{keyCode:le,ctrlKey:se,metaKey:ae,type:re}=ie;(re==="paste"||(le===67||le===86)&&(ae||se))&&(je.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ie.preventDefault(),ie.stopPropagation())};return(0,ye.useEffect)(()=>(he&&(window.addEventListener("keydown",oe,!0),window.addEventListener("paste",oe,!0)),()=>{window.removeEventListener("keydown",oe,!0),window.removeEventListener("paste",oe,!0)}),[he]),{setOpenDisableCopyAndPaste:ce,disableCopyAndPaste:he}}},14573:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ae}});var ye=Se(59301),je={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=Se(92310),pe=Se.n(E),he=Se(71418),ce=Se(2859),oe=Se(7660),ie=Se(88230),le=(re,ne,te)=>new Promise((a,y)=>{var x=z=>{try{ee(te.next(z))}catch(ue){y(ue)}},b=z=>{try{ee(te.throw(z))}catch(ue){y(ue)}},ee=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);ee((te=te.apply(re,ne)).next())}),ae=({data:re,className:ne,fullWidth:te,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:ee})=>{const z=(0,ye.useRef)(null),ue=(0,ye.useRef)(null),de=(0,ye.useRef)(null),ge=(0,ye.useRef)(null),[fe,me]=(0,ye.useState)(!1),[be,ve]=(0,ye.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ye.useEffect)(()=>{de.current||(de.current=document.createElement("style"),document.head.appendChild(de.current)),re!=null&&re.visible?(document.body.setAttribute("data-custom","y-hidden"),de.current.innerHTML=" html { overflow-y: hidden; }",re!=null&&re.src&&Pe()):(document.body.removeAttribute("data-custom"),de.current&&(document.head.removeChild(de.current),de.current=null))},[re==null?void 0:re.visible]);const Pe=()=>le(void 0,null,function*(){me(!0),ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const _e=yield(0,ie.ZJ)(re==null?void 0:re.src);z.current.src="",z.current.src=_e,z.current.onload=function(){Ce()},me(!1),ve("")}),Ee=_e=>le(void 0,null,function*(){me(!0),ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const we=yield(0,oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:re.title,file:_e.dataUrl}});we!=null&&we.id&&!ee?(yield(0,oe.ZP)(`/api/attachments/${re.id}/add_subitem.json`,{method:"post",body:{subitem_id:we==null?void 0:we.id,settings:JSON.stringify(_e.state)}})).status===0&&x():we!=null&&we.id&&x(we),me(!1),ve("")}),Ae=()=>{const _e=document.querySelector('a[href="https://markerjs.com/"]');_e&&_e.parentNode&&(_e.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Me=>{const Oe=document.querySelector(Me.name);Oe&&Oe.setAttribute("title",Me.title)})},Ce=()=>{ue.current=new ce.hP(z.current),ue.current.targetRoot=ge.current,ue.current.addEventListener("render",Ee),ue.current.addEventListener("beforeclose",y),b&&(ue.current.availableMarkerTypes=ue.current.ALL_MARKER_TYPES,ue.current.uiStyleSettings.redoButtonVisible=!0,ue.current.uiStyleSettings.notesButtonVisible=!0,ue.current.uiStyleSettings.zoomButtonVisible=!0,ue.current.uiStyleSettings.zoomOutButtonVisible=!0,ue.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ue.current.uiStyleSettings,ue.current.show(),re!=null&&re.snapshotData&&ue.current.restoreState(re.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ae()},300)};return ye.createElement(ye.Fragment,null,(re==null?void 0:re.visible)&&ye.createElement(he.Z,{spinning:fe,tip:be,style:{position:"absolute"}},ye.createElement("div",{ref:ge,className:pe()(je.imageDimensions,ne,te?je.fullWidth:""),style:a},ye.createElement("img",{className:je.img,ref:z}))))}},72714:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(11570),E=Se(48136),pe=Se(46531),he=Se(43418),ce=Se(59301);const oe=(0,ye.forwardRef)(({callback:ie,width:le,onChange:se,disabled:ae,readOnly:re,type:ne="",value:te="",style:a={}},y)=>{const x=(0,ye.useRef)(),b=(0,ye.useRef)(),[ee,z]=(0,ye.useState)(0),[ue,de]=(0,ye.useState)(0),[ge,fe]=(0,ye.useState)(!1),me=()=>{var Ee=document.createElement("div");Ee.innerHTML=x.current.getValue();var Ae=Ee.innerText;return ie&&ie(Ae),Ae};(0,ye.useImperativeHandle)(y,()=>({getData:me}));const be=Ee=>{Ee.preventDefault();const Ae=Ee.clientX-ee,Ce=Ee.clientY-ue;document.body.onmousemove=_e=>{let we=_e.clientX-Ae,Me=_e.clientY-Ce;const Oe=document.getElementsByClassName("markdown-popup-form")[0],Fe=window.innerWidth-Oe.offsetWidth,Le=window.innerHeight-Oe.offsetHeight;we=Math.max(0,Math.min(we,Fe)),Me=Math.max(0,Math.min(Me,Le)),ve(_e.clientX,_e.clientY,Ae,Ce)&&(z(we),de(Me))},document.body.onmouseup=function(){document.body.onmousemove=null}},ve=(Ee,Ae,Ce,_e)=>{const we=document.body.clientHeight,Me=document.body.clientWidth;return Ee<20&&Ce>Ee||Ee>Me-20&&Ce<Ee||Ae<20&&_e>Ae||Ae>we-20&&_e<Ae?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};(0,ye.useEffect)(()=>{ge&&setTimeout(()=>{const Ee=document.getElementsByClassName("markdown-popup-form")[0],Ae=window.innerWidth/2-Ee.offsetWidth/2,Ce=window.innerHeight/2-Ee.offsetHeight/2;z(Ae),de(Ce)},0)},[ge]);const Pe=()=>{ae||re||fe(!0)};return ce.createElement("div",{style:a},ce.createElement("div",{style:{width:le||"100%",position:"relative"},className:`${je.Z.mathFillWrap} ${ae||re?"cursorDefault":""}`,onClick:()=>Pe()},ce.createElement("math-field",{disabled:ae,locale:"zh_cn",class:`${je.Z.mathField} ${ne}`,readOnly:re,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:te?18:14},value:te||""})),ce.createElement(he.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:ee,top:ue},title:ce.createElement("div",{style:{cursor:"move"},onMouseDown:be},"\u8F93\u5165\u516C\u5F0F"),open:ge,onOk:()=>{const Ee=b.current.getData();x.current.setValue(Ee),se(Ee),fe(!1)},onCancel:()=>{fe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ce.createElement(pe.Z,{value:te,ref:b,onChange:se,showSaveButton:!1})))});ot.Z=oe},46531:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(95237),E=Se(43604),pe=Se(99313),he=Se(3113),ce=Se(99325),oe=Se(11570),ie=Se(48136),le=Se(59301);const se=(0,ye.forwardRef)(({callback:ae,showSaveButton:re,value:ne=""},te)=>{const a=(0,ye.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
|
|
|
x=a + r\\text{cos}\\theta \\ \r
|
|
|
y=b + r\\text{sin}\\theta \r
|
|
|
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
|
|
|
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
|
|
|
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
|
|
|
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\left\\{\\begin{matrix} \r
|
|
|
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
|
|
|
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
|
|
|
\\end{matrix}\\right. \r
|
|
|
\\end{array} `},{value:`\\begin{array}{l} \r
|
|
|
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
|
|
|
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
|
|
|
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
|
|
|
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
|
|
|
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\perp \\alpha \\ \r
|
|
|
b \\perp \\alpha \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
|
|
|
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
|
|
|
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
|
|
|
a \\parallel \\partial ,b \\parallel \\partial \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
|
|
|
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
|
|
|
a \\perp m,a \\perp n \r
|
|
|
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
|
|
|
a^{2}+b^{2}=c^{2} \r
|
|
|
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
|
|
|
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
|
|
|
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
|
|
|
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
|
|
|
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
|
|
|
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
|
|
|
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
|
|
|
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R^{+} \\ \r
|
|
|
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
a,b \\in R \\ \r
|
|
|
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
|
|
|
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
|
|
|
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
|
|
|
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
|
|
|
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
|
|
|
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
|
|
|
P \\left( \\emptyset \\right) =0 \\\\ \r
|
|
|
P \\left( S \\right) =1 \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
\\forall A \\in S \\\\ \r
|
|
|
P \\left( A \\right) \\ge 0 \r
|
|
|
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
|
|
|
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
|
|
|
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
|
|
|
\\end{array}`},{value:`\\begin{array}{c} \r
|
|
|
P_{n}=n! \\\\ \r
|
|
|
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
|
|
|
\\end{array}`}]}]}],b=ue=>{a.current.setValue(a.current.getValue()+" "+ue.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:le.createElement(je.Z,{className:oe.Z.lists,gutter:[10,10]},y.map((ue,de)=>le.createElement(E.Z,{flex:"110px",className:oe.Z.item},le.createElement("div",null,le.createElement(ce.Z,{value:`$$${ue.value}$$`}),ue.name),le.createElement("div",{className:oe.Z.children},ue.children.map((ge,fe)=>le.createElement("div",{key:fe},le.createElement("h1",null,ge.name),le.createElement(je.Z,{gutter:[10,10]},ge.data.map((me,be)=>le.createElement(E.Z,{key:be,onClick:()=>b(me),className:oe.Z.diamond},le.createElement(ce.Z,{value:"`$$"+me.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:le.createElement(je.Z,{className:oe.Z.lists,gutter:[10,10]},x.map((ue,de)=>le.createElement(E.Z,{flex:"110px",className:oe.Z.item},le.createElement("div",null,le.createElement(ce.Z,{value:"`$$"+ue.value+"$$`"}),ue.name),le.createElement("div",{className:oe.Z.children},ue.children.map((ge,fe)=>le.createElement("div",{key:fe},ge.name&&le.createElement("h1",null,ge.name),le.createElement(je.Z,{gutter:[10,10]},ge.data.map((me,be)=>le.createElement(E.Z,{key:be,onClick:()=>b(me),className:oe.Z.diamond},le.createElement(ce.Z,{value:"`$$"+me.value+"$$`"}))))))))))}],z=()=>{var ue=document.createElement("div");ue.innerHTML=a.current.getValue();var de=ue.innerText;return ae&&ae(de),de};return(0,ye.useImperativeHandle)(te,()=>({getData:z})),le.createElement("div",{className:oe.Z.mathWrap},le.createElement(pe.default,{defaultActiveKey:"1",items:ee}),le.createElement("math-field",{locale:"zh_cn",className:oe.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ne||""),re&&le.createElement("div",{className:oe.Z.button},le.createElement(he.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ot.Z=se},57816:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(93314),E=Se(3113),pe=Object.defineProperty,he=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,oe=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,se=(te,a,y)=>a in te?pe(te,a,{enumerable:!0,configurable:!0,writable:!0,value:y}):te[a]=y,ae=(te,a)=>{for(var y in a||(a={}))ie.call(a,y)&&se(te,y,a[y]);if(oe)for(var y of oe(a))le.call(a,y)&&se(te,y,a[y]);return te},re=(te,a)=>he(te,ce(a));const ne=({img:te,buttonProps:a={},styles:y={},customText:x,ButtonText:b,ButtonClick:ee,Buttonclass:z,ButtonTwo:ue,imgStyles:de,loading:ge=!1})=>ye.createElement("section",{className:"tc animated fadeIn",style:ae(ae({},{color:"#999",margin:"100px auto",visibility:ge?"hidden":"visible"}),y)},ye.createElement("img",{src:te||je,style:re(ae({},de),{pointerEvents:"none",userSelect:"none"})}),ye.createElement("p",{className:"mt20 font14"},x||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),b&&ye.createElement(E.ZP,ae({className:z,onClick:ee},a),b),ue&&ue);ot.Z=ne},90853:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return z}});var ye=Se(59301),je={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},E=Se(3113),pe=Se(70557),he=Se(57800),ce=Se(6848),oe=Se(88230),ie=Se(30897),le=Se(57816),se=Se(38446),ae=Se(89282),re=Se(59301),ne=Object.defineProperty,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(ue,de,ge)=>de in ue?ne(ue,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ue[de]=ge,b=(ue,de)=>{for(var ge in de||(de={}))a.call(de,ge)&&x(ue,ge,de[ge]);if(te)for(var ge of te(de))y.call(de,ge)&&x(ue,ge,de[ge]);return ue},ee=(ue,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(ue,de)).next())}),z=({editOffice:ue="view",data:de,theme:ge,type:fe,filename:me,monacoEditor:be,className:ve,style:Pe,close:Ee,onClose:Ae,hasMask:Ce,disabledDownload:_e,onImgDimensions:we,showNodata:Me,recordInfo:Oe})=>{const[Fe,Le]=(0,ye.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Qe,We]=(0,ye.useState)(""),[Ge,Ke]=(0,ye.useState)(),ze=window.ENV==="build"?"/react/build":"",ke=location.host.startsWith("localhost")?se.Z.PROXY_SERVER:se.Z.API_SERVER,Ve=10*(1024*1024),qe=(0,ye.useRef)();de!=null&&de.startsWith("/api")&&fe!=="txt"&&(de=se.Z.API_SERVER+de);const rt=Ze=>Ze.substring(Ze.lastIndexOf("/")+1).split(".").pop();me&&be&&(be.filename=me),(0,ye.useEffect)(()=>{var Ze,Te;const He=(Te=(Ze=document.cookie)==null?void 0:Ze.replace(/\s/g,""))==null?void 0:Te.split(";");He==null||He.map(at=>{let et=at.split("=");et[0]==="_educoder_session"&&We(et[1])})},[]),(0,ye.useEffect)(()=>{fe==="office"&&(de.indexOf("bigfilescdn.")>-1||de.indexOf("bigfiles1")>-1?Ke({url:de,fileType:rt(de),model:de.indexOf("model=edit")?"edit":"view"}):Ye())},[fe,de]);const Ye=()=>ee(void 0,null,function*(){console.log("data:",de);let Ze=de;de.startsWith("http")||(Ze=location.origin+Ze);let Te=new URL(Ze).pathname.split("/").pop();const He=yield(0,ie.gJ)({attachment_id:Te});He.url=ke+He.url,Ke(He)}),Ue=()=>{if(de.startsWith("http")||de.startsWith("blob:")){Be();return}(0,oe.Sv)(me||"educoder",de,me)},Be=()=>{Oe&&(0,ae.fc)({id:Oe==null?void 0:Oe.id,watch_type:1,course_id:Oe==null?void 0:Oe.course_id}),(0,oe.Nd)(me||"educoder",decodeURIComponent(de))};return re.createElement("div",{style:b({},Pe||{}),className:`${Ce&&je.bgBlack} ${fe?je.wrp:"hide"}`},Ee&&re.createElement("div",{className:je.close,ref:qe},!!we&&re.createElement(ce.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>qe.current},re.createElement("span",{onClick:()=>{Ae(),we()}},re.createElement("i",{className:"icon-yulanpizhu"}))),!_e&&re.createElement(ce.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>qe.current},re.createElement("span",{onClick:Be},re.createElement("i",{className:"icon-quxiaozhiding"}))),re.createElement(ce.Z,{title:"\u5173\u95ED",getPopupContainer:()=>qe.current},re.createElement("span",{className:"",onClick:Ae},re.createElement("i",{className:"icon-guanbi1"})))),re.createElement("div",{className:`${je[ve]} ${ve} ${je.monaco} ${fe==="txt"?"show":"hide"}`},fe==="txt"&&re.createElement(re.Fragment,null,re.createElement(he.ZP,b({},be)))),fe==="audio"&&re.createElement("audio",{src:`${(de==null?void 0:de.indexOf("http://"))>-1||(de==null?void 0:de.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${de}`,autoPlay:!0}),fe==="video"&&re.createElement(re.Fragment,null,(de==null?void 0:de.indexOf("http"))>-1?re.createElement("video",{controls:!0,src:`${de}`,autoPlay:!0}):re.createElement("video",{controls:!0,src:`data:video/mp4;base64,${de}`,autoPlay:!0})),fe==="office"&&Ge&&re.createElement("iframe",{src:`${ze}/office.html?key=${Ge.key}&url=${btoa(Ge.url)}&callbackUrl=${ke+(Ge.callbackUrl||"")}&fileType=${Ge.fileType}&title=${Ge.title||""}&model=${ue}&officeServer=${se.Z.ONLYOFFICE}&disabledDownload=${!!_e}`}),fe==="html"&&re.createElement("iframe",{src:de+"&disposition=inline"}),fe==="pdf"&&re.createElement("iframe",{src:`${ze}/js/pdfview/index.html?filename=${me||"educoder.pdf"}&url=${encodeURIComponent(de)}&disabledDownload=${!!_e}`}),fe==="image"&&re.createElement("img",{src:`${(de==null?void 0:de.indexOf("http://"))>-1||(de==null?void 0:de.indexOf("https://"))>-1?"":"data:image/png;base64,"}${de}`}),(fe==="other"||fe==="download")&&re.createElement(re.Fragment,null,Me?re.createElement(le.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:re.createElement(E.ZP,{icon:re.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Ue,disabled:_e},"\u4E0B\u8F7D")}):re.createElement(E.ZP,{type:"primary",size:"middle",onClick:Ue,disabled:_e},re.createElement(pe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},99325:function(ct,ot,Se){"use strict";Se.d(ot,{z:function(){return fe},Z:function(){return me}});var ye=Se(59301),je=Se(2878),E=Se(85187),pe=Se(64018),he=Se(40846),ce=Se(38446),oe=Se(88230),ie=Se(15342),le=Se(1012),se=Se(90853),ae=Se(59301),ne=({html:be})=>{const ve=(0,ye.useRef)(null),Pe=(0,ye.useRef)(null),Ee=`.markdown-body p {
|
|
|
margin: 0 0 16px 0 !important;
|
|
|
line-height: 28px;
|
|
|
white-space: pre-wrap;
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
li {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
ol,
|
|
|
ul,
|
|
|
dl {
|
|
|
margin-bottom: 0px;
|
|
|
}
|
|
|
|
|
|
.markdown-body {
|
|
|
-ms-text-size-adjust: 100%;
|
|
|
-webkit-text-size-adjust: 100%;
|
|
|
color: #333;
|
|
|
overflow: hidden;
|
|
|
font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif;
|
|
|
word-break: break-word;
|
|
|
font-size: 16px;
|
|
|
line-height: 1.6;
|
|
|
white-space: normal;
|
|
|
word-wrap: break-word;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul>li {
|
|
|
list-style-type: disc;
|
|
|
}
|
|
|
|
|
|
.markdown-body ol>li {
|
|
|
list-style-type: decimal;
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
background: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:active,
|
|
|
.markdown-body a:hover {
|
|
|
outline: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body strong {
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 2em;
|
|
|
margin: 0.67em 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
-moz-box-sizing: content-box;
|
|
|
box-sizing: content-box;
|
|
|
height: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
overflow: auto;
|
|
|
}
|
|
|
|
|
|
.markdown-body code,
|
|
|
.markdown-body kbd,
|
|
|
.markdown-body pre {
|
|
|
font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace;
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
color: inherit;
|
|
|
font: inherit;
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body html input[disabled] {
|
|
|
cursor: default;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
line-height: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body input[type="checkbox"] {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
border-collapse: collapse;
|
|
|
border-spacing: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body td,
|
|
|
.markdown-body th {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body * {
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body input {
|
|
|
font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol";
|
|
|
}
|
|
|
|
|
|
.markdown-body a {
|
|
|
color: #4183c4;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body a:hover,
|
|
|
.markdown-body a:active {
|
|
|
text-decoration: underline;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr {
|
|
|
height: 0;
|
|
|
margin: 15px 0;
|
|
|
overflow: hidden;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
border-bottom: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:before {
|
|
|
display: table;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body hr:after {
|
|
|
display: table;
|
|
|
clear: both;
|
|
|
content: "";
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
margin-top: 15px;
|
|
|
margin-bottom: 15px;
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
font-size: 30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
font-size: 21px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 11px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
margin: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding: 0;
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
ul.linenums,
|
|
|
ol.linenums {
|
|
|
padding: 16px 0 0 36px !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol {
|
|
|
padding-left: 2em;
|
|
|
}
|
|
|
|
|
|
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ul ol {
|
|
|
list-style-type: lower-roman;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul ol,
|
|
|
.markdown-body ul ol ol,
|
|
|
.markdown-body ol ul ol,
|
|
|
.markdown-body ol ol ol {
|
|
|
list-style-type: lower-alpha;
|
|
|
}
|
|
|
|
|
|
.markdown-body dd {
|
|
|
margin-left: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
font-size: 12px;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon {
|
|
|
font: normal normal 16px octicons-anchor;
|
|
|
line-height: 1;
|
|
|
display: inline-block;
|
|
|
text-decoration: none;
|
|
|
-webkit-font-smoothing: antialiased;
|
|
|
-moz-osx-font-smoothing: grayscale;
|
|
|
-webkit-user-select: none;
|
|
|
-moz-user-select: none;
|
|
|
-ms-user-select: none;
|
|
|
user-select: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .octicon-link:before {
|
|
|
content: '\f05c';
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:first-child {
|
|
|
margin-top: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body>*:last-child {
|
|
|
margin-bottom: 0 !important;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor {
|
|
|
position: absolute;
|
|
|
top: 0;
|
|
|
left: 0;
|
|
|
display: block;
|
|
|
padding-right: 6px;
|
|
|
padding-left: 30px;
|
|
|
margin-left: -30px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .anchor:focus {
|
|
|
outline: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1,
|
|
|
.markdown-body h2,
|
|
|
.markdown-body h3,
|
|
|
.markdown-body h4,
|
|
|
.markdown-body h5,
|
|
|
.markdown-body h6 {
|
|
|
position: relative;
|
|
|
margin-top: 1em;
|
|
|
margin-bottom: 16px;
|
|
|
font-weight: bold;
|
|
|
line-height: 1.4;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .octicon-link,
|
|
|
.markdown-body h2 .octicon-link,
|
|
|
.markdown-body h3 .octicon-link,
|
|
|
.markdown-body h4 .octicon-link,
|
|
|
.markdown-body h5 .octicon-link,
|
|
|
.markdown-body h6 .octicon-link {
|
|
|
display: none;
|
|
|
color: #000;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor,
|
|
|
.markdown-body h2:hover .anchor,
|
|
|
.markdown-body h3:hover .anchor,
|
|
|
.markdown-body h4:hover .anchor,
|
|
|
.markdown-body h5:hover .anchor,
|
|
|
.markdown-body h6:hover .anchor {
|
|
|
padding-left: 8px;
|
|
|
margin-left: -30px;
|
|
|
text-decoration: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1:hover .anchor .octicon-link,
|
|
|
.markdown-body h2:hover .anchor .octicon-link,
|
|
|
.markdown-body h3:hover .anchor .octicon-link,
|
|
|
.markdown-body h4:hover .anchor .octicon-link,
|
|
|
.markdown-body h5:hover .anchor .octicon-link,
|
|
|
.markdown-body h6:hover .anchor .octicon-link {
|
|
|
display: inline-block;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 2.25em;
|
|
|
line-height: 1.2;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h1 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 {
|
|
|
padding-bottom: 0.3em;
|
|
|
font-size: 1.75em;
|
|
|
line-height: 1.225;
|
|
|
border-bottom: 1px solid #eee;
|
|
|
}
|
|
|
|
|
|
.markdown-body h2 .anchor {
|
|
|
line-height: 1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 {
|
|
|
font-size: 1.5em;
|
|
|
line-height: 1.43;
|
|
|
}
|
|
|
|
|
|
.markdown-body h3 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 {
|
|
|
font-size: 1.25em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h4 .anchor {
|
|
|
line-height: 1.2;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 {
|
|
|
font-size: 1em;
|
|
|
}
|
|
|
|
|
|
.markdown-body h5 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 {
|
|
|
font-size: 1em;
|
|
|
color: #777;
|
|
|
}
|
|
|
|
|
|
.markdown-body h6 .anchor {
|
|
|
line-height: 1.1;
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body ul ul,
|
|
|
.markdown-body ul ol,
|
|
|
.markdown-body ol ol,
|
|
|
.markdown-body ol ul {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body li>p {
|
|
|
margin-top: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl {
|
|
|
padding: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dt {
|
|
|
padding: 0;
|
|
|
margin-top: 16px;
|
|
|
font-size: 1em;
|
|
|
font-style: italic;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body dl dd {
|
|
|
padding: 0 16px;
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote {
|
|
|
padding: 0 15px;
|
|
|
color: #777;
|
|
|
border-left: 4px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :first-child {
|
|
|
margin-top: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body blockquote> :last-child {
|
|
|
margin-bottom: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body table {
|
|
|
display: block;
|
|
|
width: 100%;
|
|
|
overflow: auto;
|
|
|
word-break: normal;
|
|
|
word-break: keep-all;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th {
|
|
|
font-weight: bold;
|
|
|
text-align: revert;
|
|
|
}
|
|
|
|
|
|
.markdown-body table th,
|
|
|
.markdown-body table td {
|
|
|
padding: 6px 13px;
|
|
|
border: 1px solid #ddd;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr {
|
|
|
background-color: #fff;
|
|
|
border-top: 1px solid #ccc;
|
|
|
}
|
|
|
|
|
|
.markdown-body table tr:nth-child(2n) {
|
|
|
background-color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body img {
|
|
|
max-width: 100%;
|
|
|
-moz-box-sizing: border-box;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
|
|
|
.markdown-body code {
|
|
|
padding: 0;
|
|
|
padding-top: 0.2em;
|
|
|
padding-bottom: 0.2em;
|
|
|
margin: 0;
|
|
|
font-size: 85%;
|
|
|
background-color: rgba(0, 0, 0, 0.04);
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:has(.katex) {
|
|
|
background-color: transparent;
|
|
|
}
|
|
|
|
|
|
.markdown-body code:before,
|
|
|
.markdown-body code:after {
|
|
|
letter-spacing: -0.2em;
|
|
|
content: "\\00a0";
|
|
|
}
|
|
|
|
|
|
.markdown-body pre>code {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
font-size: 100%;
|
|
|
word-break: normal;
|
|
|
white-space: pre;
|
|
|
background: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight {
|
|
|
margin-bottom: 16px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre,
|
|
|
.markdown-body pre {
|
|
|
padding: 16px;
|
|
|
overflow: auto;
|
|
|
font-size: 85%;
|
|
|
line-height: 1.45;
|
|
|
background-color: #f7f7f7;
|
|
|
border-radius: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .highlight pre {
|
|
|
margin-bottom: 0;
|
|
|
word-break: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre {
|
|
|
word-wrap: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code {
|
|
|
display: inline;
|
|
|
max-width: initial;
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
overflow: initial;
|
|
|
line-height: inherit;
|
|
|
word-wrap: normal;
|
|
|
background-color: transparent;
|
|
|
border: 0;
|
|
|
}
|
|
|
|
|
|
.markdown-body pre code:before,
|
|
|
.markdown-body pre code:after {
|
|
|
content: normal;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font-size: 11px;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c {
|
|
|
color: #969896;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-c1,
|
|
|
.markdown-body .pl-mdh,
|
|
|
.markdown-body .pl-mm,
|
|
|
.markdown-body .pl-mp,
|
|
|
.markdown-body .pl-mr,
|
|
|
.markdown-body .pl-s1 .pl-v,
|
|
|
.markdown-body .pl-s3,
|
|
|
.markdown-body .pl-sc,
|
|
|
.markdown-body .pl-sv {
|
|
|
color: #0086b3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-e,
|
|
|
.markdown-body .pl-en {
|
|
|
color: #795da3;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-s1 .pl-s2,
|
|
|
.markdown-body .pl-smi,
|
|
|
.markdown-body .pl-smp,
|
|
|
.markdown-body .pl-stj,
|
|
|
.markdown-body .pl-vo,
|
|
|
.markdown-body .pl-vpf {
|
|
|
color: #333;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ent {
|
|
|
color: #63a35c;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-k,
|
|
|
.markdown-body .pl-s,
|
|
|
.markdown-body .pl-st {
|
|
|
color: #a71d5d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-pds,
|
|
|
.markdown-body .pl-s1,
|
|
|
.markdown-body .pl-s1 .pl-pse .pl-s2,
|
|
|
.markdown-body .pl-sr,
|
|
|
.markdown-body .pl-sr .pl-cce,
|
|
|
.markdown-body .pl-sr .pl-sra,
|
|
|
.markdown-body .pl-sr .pl-sre,
|
|
|
.markdown-body .pl-src {
|
|
|
color: #df5000;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mo,
|
|
|
.markdown-body .pl-v {
|
|
|
color: #1d3e81;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-id {
|
|
|
color: #b52a1d;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ii {
|
|
|
background-color: #b52a1d;
|
|
|
color: #f8f8f8;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-sr .pl-cce {
|
|
|
color: #63a35c;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-ml {
|
|
|
color: #693a17;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mh,
|
|
|
.markdown-body .pl-mh .pl-en,
|
|
|
.markdown-body .pl-ms {
|
|
|
color: #1d3e81;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mq {
|
|
|
color: #008080;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mi {
|
|
|
color: #333;
|
|
|
font-style: italic;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mb {
|
|
|
color: #333;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-md,
|
|
|
.markdown-body .pl-mdhf {
|
|
|
background-color: #ffecec;
|
|
|
color: #bd2c00;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdht,
|
|
|
.markdown-body .pl-mi1 {
|
|
|
background-color: #eaffea;
|
|
|
color: #55a532;
|
|
|
}
|
|
|
|
|
|
.markdown-body .pl-mdr {
|
|
|
color: #795da3;
|
|
|
font-weight: bold;
|
|
|
}
|
|
|
|
|
|
.markdown-body kbd {
|
|
|
display: inline-block;
|
|
|
padding: 3px 5px;
|
|
|
font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
|
line-height: 10px;
|
|
|
color: #555;
|
|
|
vertical-align: middle;
|
|
|
background-color: #fcfcfc;
|
|
|
border: solid 1px #ccc;
|
|
|
border-bottom-color: #bbb;
|
|
|
border-radius: 3px;
|
|
|
box-shadow: inset 0 -1px 0 #bbb;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item {
|
|
|
list-style-type: none;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item+.task-list-item {
|
|
|
margin-top: 3px;
|
|
|
}
|
|
|
|
|
|
.markdown-body .task-list-item input {
|
|
|
float: left;
|
|
|
margin: 0.3em 0 0.25em -1.6em;
|
|
|
vertical-align: middle;
|
|
|
}
|
|
|
|
|
|
.markdown-body :checked+.radio-label {
|
|
|
z-index: 1;
|
|
|
position: relative;
|
|
|
border-color: #4183c4;
|
|
|
}
|
|
|
|
|
|
|
|
|
/*! Pretty printing styles. Used with prettify.js. */
|
|
|
/* SPAN elements with the classes below are added by prettyprint. */
|
|
|
.pln {
|
|
|
color: #000
|
|
|
}
|
|
|
|
|
|
/* plain text */
|
|
|
|
|
|
@media screen {
|
|
|
.str {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* string content */
|
|
|
.kwd {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a keyword */
|
|
|
.com {
|
|
|
color: #800
|
|
|
}
|
|
|
|
|
|
/* a comment */
|
|
|
.typ {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a type name */
|
|
|
.lit {
|
|
|
color: #066
|
|
|
}
|
|
|
|
|
|
/* a literal value */
|
|
|
/* punctuation, lisp open bracket, lisp close bracket */
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #660
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #008
|
|
|
}
|
|
|
|
|
|
/* a markup tag name */
|
|
|
.atn {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a markup attribute name */
|
|
|
.atv {
|
|
|
color: #080
|
|
|
}
|
|
|
|
|
|
/* a markup attribute value */
|
|
|
.dec,
|
|
|
.var {
|
|
|
color: #606
|
|
|
}
|
|
|
|
|
|
/* a declaration; a variable name */
|
|
|
.fun {
|
|
|
color: red
|
|
|
}
|
|
|
|
|
|
/* a function name */
|
|
|
}
|
|
|
|
|
|
/* Use higher contrast and text-weight for printable form. */
|
|
|
@media print,
|
|
|
projection {
|
|
|
.str {
|
|
|
color: #060
|
|
|
}
|
|
|
|
|
|
.kwd {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.com {
|
|
|
color: #600;
|
|
|
font-style: italic
|
|
|
}
|
|
|
|
|
|
.typ {
|
|
|
color: #404;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.lit {
|
|
|
color: #044
|
|
|
}
|
|
|
|
|
|
.pun,
|
|
|
.opn,
|
|
|
.clo {
|
|
|
color: #440
|
|
|
}
|
|
|
|
|
|
.tag {
|
|
|
color: #006;
|
|
|
font-weight: bold
|
|
|
}
|
|
|
|
|
|
.atn {
|
|
|
color: #404
|
|
|
}
|
|
|
|
|
|
.atv {
|
|
|
color: #060
|
|
|
}
|
|
|
}
|
|
|
|
|
|
/* Put a border around prettyprinted code snippets. */
|
|
|
pre.prettyprint {
|
|
|
padding: 2px;
|
|
|
/* border: 1px solid #888 */
|
|
|
}
|
|
|
|
|
|
/* Specify class=linenums on a pre to get line numbering */
|
|
|
ol.linenums {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 0
|
|
|
}
|
|
|
|
|
|
/* IE indents via margin-left */
|
|
|
li.L0,
|
|
|
li.L1,
|
|
|
li.L2,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L6,
|
|
|
li.L7,
|
|
|
li.L8 {
|
|
|
list-style-type: none
|
|
|
}
|
|
|
|
|
|
/* Alternate shading for lines */
|
|
|
li.L1,
|
|
|
li.L3,
|
|
|
li.L5,
|
|
|
li.L7,
|
|
|
li.L9 {
|
|
|
background: #eee
|
|
|
}
|
|
|
|
|
|
.markdown-body p,
|
|
|
.markdown-body blockquote,
|
|
|
.markdown-body ul,
|
|
|
.markdown-body ol,
|
|
|
.markdown-body dl,
|
|
|
.markdown-body table,
|
|
|
.markdown-body pre {
|
|
|
margin-top: 0;
|
|
|
margin-bottom: 16px;
|
|
|
}`;return(0,ye.useEffect)(()=>{const Ae=ve.current.attachShadow({mode:"open"});Pe.current=document.createElement("div"),Pe.current.className="markdown-body",Pe.current.innerHTML=be,Ae.appendChild(Pe.current);const Ce=document.createElement("style");return Ce.textContent=Ee,Ae.appendChild(Ce),()=>{Ae.innerHTML=""}},[]),(0,ye.useEffect)(()=>{Pe.current&&(Pe.current.innerHTML=be)},[be]),ae.createElement("div",{ref:ve})},te=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(be,ve,Pe)=>ve in be?te(be,ve,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):be[ve]=Pe,ee=(be,ve)=>{for(var Pe in ve||(ve={}))y.call(ve,Pe)&&b(be,Pe,ve[Pe]);if(a)for(var Pe of a(ve))x.call(ve,Pe)&&b(be,Pe,ve[Pe]);return be};const z="@\u2581\u2581@",ue="@\u2581@",de=/<pre[^>]*>/g;function ge(be){let ve=document.createElement("div");return ve.innerHTML=be,ve.childNodes.length===0?"":ve.childNodes[0].nodeValue}const fe=(be,ve)=>{be=be||"";const Pe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ee=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ae=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ce=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ve?be.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Pe,(_e,we,Me,Oe,Fe,Le,Qe)=>{const We=we||Oe||Le,Ge=Me||Fe||Qe||"?";return ce.Z.API_SERVER+"/api/attachments/"+We+Ge+"&t="+(0,oe.Jn)(We,Date.now())+(_e.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(be=be.replace(Ce,(_e,we,Me,Oe,Fe,Le,Qe)=>{const We=we||Oe||Le,Ge=Me||Fe||Qe||"?";return ce.Z.API_SERVER+"/attachments/download/"+We+Ge+"&t="+(0,oe.Jn)(We,Date.now())+(_e.indexOf(")")>-1?")":"&")}).replace(Pe,(_e,we,Me,Oe,Fe,Le,Qe)=>{const We=we||Oe||Le,Ge=Me||Fe||Qe||"?";return ce.Z.API_SERVER+"/api/attachments/"+We+Ge+"&t="+(0,oe.Jn)(We,Date.now())+(_e.indexOf(")")>-1?")":"&")}).replace(Ee,(_e,we,Me,Oe,Fe)=>{const Le=we||Oe,Qe=Me||Fe||"";return'"'+ce.Z.API_SERVER+"/api/attachments/"+Le+Qe+Le+Qe+"&t="+(0,oe.Jn)(Le,Date.now())}).replace(Ae,(_e,we,Me,Oe,Fe)=>{const Le=we||Oe,Qe=Me||Fe||"";return"("+ce.Z.API_SERVER+"/files/uploads/"+Le+Qe+Le+Qe+"&t="+(0,oe.Jn)(Le,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
|
`),be)};var me=({value:be="",className:ve,showTextOnly:Pe,showLines:Ee,style:Ae={},stylesPrev:Ce={},highlightKeywords:_e,showProgramFill:we,isProgramFill:Me,disabledFill:Oe=!1,programFillValue:Fe,onFillChange:Le=Ge=>{},onFillBlur:Qe=()=>{},onFillFocus:We=()=>{}})=>{let Ge=String(be);const[Ke,ze]=(0,ye.useState)(""),[ke,Ne]=(0,ye.useState)("office"),[Ve,qe]=(0,ye.useState)([]),rt=(0,ye.useRef)("a"+(0,le.Z)()),Ye={},Ue=(Xe,nt,$e)=>{const tt=document.createElement(Xe===ue?"input":"textarea");tt.style.width="100%",tt.style.height=Xe===ue?"40px":"151px",tt.rows=5,tt.spellcheck=!1,tt.name="edu-program-fill",tt.placeholder="\u8BF7\u8F93\u5165",tt.dataset.id=nt;const st=Object.keys(Ye).length;return Ye[st]=tt,`<span class="edu-program-fill-wrap ${Xe===ue?"":"show"}" style="width:${Xe===ue?"400px":"100%"}" title=${$e||""}><span>${tt.outerHTML}<span class="edu-program-fill-score" style="margin:0 6px"></span></span></span>`};function Be(Xe){return Xe=Xe.replace(/!\[.*?\]\(.*?\)/g,""),Xe=Xe.replace(/\[.*?\]\(.*?\)/g,""),Xe=Xe.replace(new RegExp("<iframe.*?<\\/iframe>","gs"),""),Xe=Xe.replace(/<embed.*?>/g,""),Xe=Xe.replace(/<img.*?>/g,""),Xe=Xe.replace(new RegExp("<video.*?>.*?<\\/video>","gs"),""),Xe=Xe.replace(new RegExp("<audio.*?>.*?<\\/audio>","gs"),""),Xe=Xe.replace(new RegExp("<style.*?>.*?<\\/style>","gs"),""),Xe=Xe.replace(new RegExp("<script.*?>.*?<\\/script>","gs"),""),Xe}const Ze=Xe=>Xe.replace(/<style.*?>([\s\S]+?)<\/style>/gim,function(nt,$e){let tt=$e.replace(/(\n|\r)/g,"").split("}"),st=[];return tt.map(it=>{it!=""&&st.push(`.${rt.current} ${it}`)}),`<style>${st.join("}")}</style>`}),Te=(0,ye.useMemo)(()=>{try{const tt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,st=/\"\/api\/attachments\/|\"\/attachments\/download\//g,it=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,lt=/\(\/attachments\/download\//g;Ge=Ge.replace(lt,"("+ce.Z.API_SERVER+"/attachments/download/").replace(tt,"("+ce.Z.API_SERVER+"/api/attachments/").replace(st,'"'+ce.Z.API_SERVER+"/api/attachments/").replace(it,'"'+ce.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,`
|
|
|
`)}catch(tt){}if(we){let tt=-1;return Ge=Ge.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(st,it,lt){var ut;return++tt,Ue(st,tt,(ut=Fe==null?void 0:Fe[tt])==null?void 0:ut.value.replaceAll("<","<").replaceAll(">",">"))}),`<pre style="background:#fff;padding:4px">${Ze(Ge||"")}</pre>`}let Xe=Ze(Ge);Xe=(0,E.ZP)(Xe);const nt=(0,E.ez)();Ge.match(/\[TOC\]/)&&(Xe=Xe.replace("<p>[TOC]</p>",(0,E.Qv)()),(0,E.Iy)()),Xe=Xe.replace(/(__special_katext_id_\d+__)/g,(tt,st)=>{const{type:it,expression:lt}=nt[st];return(0,ie.renderToString)(ge(lt)||"",{displayMode:it==="block",throwOnError:!1,output:"html"})}),Xe=Xe.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,E.AL)();const $e=document.createElement("div");if($e.innerHTML=Xe,Pe)return $e.innerText;if(_e){const tt=_e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Je($e,tt),$e.innerHTML}return setTimeout(()=>De(),500),$e.innerHTML},[Ge,_e]);(0,ye.useEffect)(()=>{Ie.current&&Ie.current.querySelectorAll(["input","textarea"]).forEach(nt=>{nt.oninput=He,nt.onblur=at,nt.onfocus=et})},[Ve]),(0,ye.useEffect)(()=>{var Xe,nt,$e,tt,st;if(Fe!=null&&Fe.length)try{const it=Ie.current.querySelectorAll(".edu-program-fill-score"),lt=Ie.current.querySelectorAll('[name="edu-program-fill"]');for(const[ut,pt]of lt.entries())pt.value=((Xe=Fe==null?void 0:Fe[ut])==null?void 0:Xe.value)||"",((nt=Fe==null?void 0:Fe[ut])==null?void 0:nt.type)==="warning"?pt.className="program-fill-warning":(($e=Fe==null?void 0:Fe[ut])==null?void 0:$e.type)==="success"?pt.className="program-fill-success":pt.className="";for(const[ut,pt]of it.entries())pt.innerHTML=(tt=Fe==null?void 0:Fe[ut])!=null&&tt.score?`${(st=Fe==null?void 0:Fe[ut])==null?void 0:st.score}\u5206`:"";qe(Fe)}catch(it){console.log(it,"error")}},[Fe]);const He=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,qe([...Ve]),Le(Ve,Xe.target.dataset.id)},at=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,qe([...Ve]),Qe(Ve,Xe.target.dataset.id)},et=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,qe([...Ve]),We(Ve,Xe.target.dataset.id)};function Je(Xe,nt){return Xe.childNodes.forEach($e=>{var tt;if($e.childNodes.length>0)Je($e,nt);else if($e.nodeName!=="IMG")if($e.innerHTML)$e.innerHTML=(tt=$e.innerHTML)==null?void 0:tt.replace(new RegExp(nt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>');else{const st=document.createElement("span");st.innerHTML=$e.textContent.replace(new RegExp(nt,"gi"),'<span style="color:#0152d9;background-color:#1890ff33">$&</span>'),$e.replaceWith(st)}})}const Ie=(0,ye.useRef)();E.jb.WebkitLineClamp=Ee,Ee&&(Ae=ee(ee({},Ae),E.jb));function xe(Xe){let nt=Xe.target;if(nt.tagName.toUpperCase()==="A"){let $e=nt.getAttribute("href");if($e.indexOf("office")>-1)Xe.preventDefault(),ze($e),Ne("office");else if($e.indexOf("application/pdf")>-1)Xe.preventDefault(),ze($e),Ne("pdf");else if($e.indexOf("text/html")>-1)Xe.preventDefault(),ze($e),Ne("html");else if($e.startsWith("#")){Xe.preventDefault();let tt=document.getElementById($e.replace("#",""));tt&&tt.scrollIntoView(!0)}}}const De=()=>{var Xe;const nt=(Xe=Ie.current)==null?void 0:Xe.querySelectorAll("video");nt==null||nt.forEach($e=>{if($e.oncontextmenu=()=>!1,$e.src.indexOf(".m3u8")>-1&&!$e.canPlayType("application/vnd.apple.mpegurl")){if(he.ZP.isSupported()){var tt=new he.ZP;tt.loadSource($e.src),tt.attachMedia($e)}}})};(0,ye.useEffect)(()=>{if(Ie.current&&Te&&Te.match(de)&&window.PR.prettyPrint(),Ie.current)return Ie.current.addEventListener("click",xe),()=>{var Xe;(Xe=Ie.current)==null||Xe.removeEventListener("click",xe),(0,E.AL)(),(0,E.Iy)()}},[Te,Ie.current,xe]),(0,ye.useEffect)(()=>{var Xe;const nt=$e=>{$e.preventDefault(),$e.clipboardData.setData("text",window.getSelection().toString())};return(Xe=Ie.current)==null||Xe.addEventListener("copy",nt),()=>{var $e;($e=Ie.current)==null||$e.removeEventListener("copy",nt)}},[Ie.current]);const Re=Xe=>/<style[\s\S]*?>/i.test(Xe||"");return ye.createElement(ye.Fragment,null,Pe&&ye.createElement("div",{ref:Ie},Te),!Pe&&!Re(Te)&&ye.createElement("div",{ref:Ie,style:ee({},Ae),className:`${ve||""} ${Oe?"disabled-fill":""} markdown-body ${rt.current}`,dangerouslySetInnerHTML:{__html:Te}}),!Pe&&Re(Te)&&ye.createElement(ne,{html:Te}),ye.createElement(se.Z,{close:!0,data:Ke,type:Ke!=null&&Ke.length?ke:"",style:ee({},Ce),onClose:()=>ze("")}))}},7651:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return pe}});var ye=Se(24459),je={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=Se(59301),pe=({message:he,className:ce,children:oe,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${je.idsRingWrapper} ${ce}`},E.createElement("div",{className:je.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),he?E.createElement("p",{style:ie},he):null,oe,E.createElement(ye.Outlet,null))},31582:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return pe}});var ye=Se(59301),je=Se(50484),E=Se(59301),pe=({defaultX:he="40%",leftChild:ce,rightChild:oe,className:ie,hideResize:le=!1})=>{const[se,ae]=(0,ye.useState)(he),re=(0,ye.useRef)();function ne(){re.current=!0}(0,ye.useEffect)(()=>{function y(b){re.current&&(je.Z.publish("resize-move-bar",b),ae(b.pageX))}function x(){re.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}},[]);const te=typeof se=="number"&&se!==.01?`${se}px`:he,a=`calc(100% - ${le?"0px":"4px"} - ${te})`;return E.createElement("div",{className:`split-panel-container ${ie}`},E.createElement("section",{style:{width:te,display:se===.01?"none":""}},ce),E.createElement("section",{className:"resize-x-bar",onMouseDown:ne},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:a}},oe))}},75618:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ce}});var ye=Se(59301),je={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=Se(92310),pe=Se.n(E),ce=({className:oe,style:ie={},leftNode:le,leftTitle:se="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:re="\u8FD0\u884C\u7ED3\u679C"})=>ye.createElement("div",{className:pe()(je.result,oe),style:ie},ye.createElement("div",{className:je.left},ye.createElement("div",{className:je.title},ye.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ye.createElement("span",null,se)),ye.createElement("div",{className:je.leftNode},le)),ye.createElement("div",{className:je.right},ye.createElement("div",{className:je.title},ye.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ye.createElement("span",null,re)),ye.createElement("div",{className:je.rightNode},ae)))},46942:function(ct,ot,Se){"use strict";var ye=Se(59301);const je=pe=>String(pe).length===1?`0${pe}`:pe,E=({className:pe="",onChange:he,defaultValue:ce=0})=>{const[oe,ie]=(0,ye.useState)(ce);(0,ye.useEffect)(()=>{const re=setTimeout(()=>{ie(oe+1e3)},1e3);return he(oe+1e3),()=>{clearInterval(re)}},[oe]);const le=parseInt(oe/(60*6e4))||"00",se=parseInt(oe%(60*6e4)/6e4)||"00",ae=parseInt(oe%6e4/1e3)||"00";return ye.createElement("div",{className:pe},je(le),":",je(se),":",je(ae))};ot.Z=E},49894:function(ct,ot,Se){"use strict";Se.d(ot,{cT:function(){return be},pe:function(){return ge}});var ye=Se(59301),je=Se(54580),E=Se(8591),pe=Se(7660),he=Se(28209),ce=Se.n(he),oe=Se(1012),ie=Se(24459),le=Se(47257),se=Se.n(le),ae=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(Pe,Ee,Ae)=>Ee in Pe?ae(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Pe[Ee]=Ae,b=(Pe,Ee)=>{for(var Ae in Ee||(Ee={}))a.call(Ee,Ae)&&x(Pe,Ae,Ee[Ae]);if(te)for(var Ae of te(Ee))y.call(Ee,Ae)&&x(Pe,Ae,Ee[Ae]);return Pe},ee=(Pe,Ee)=>re(Pe,ne(Ee)),z=(Pe,Ee)=>{var Ae={};for(var Ce in Pe)a.call(Pe,Ce)&&Ee.indexOf(Ce)<0&&(Ae[Ce]=Pe[Ce]);if(Pe!=null&&te)for(var Ce of te(Pe))Ee.indexOf(Ce)<0&&y.call(Pe,Ce)&&(Ae[Ce]=Pe[Ce]);return Ae},ue=(Pe,Ee,Ae)=>new Promise((Ce,_e)=>{var we=Fe=>{try{Oe(Ae.next(Fe))}catch(Le){_e(Le)}},Me=Fe=>{try{Oe(Ae.throw(Fe))}catch(Le){_e(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,Me);Oe((Ae=Ae.apply(Pe,Ee)).next())});const{Dragger:de}=je.default,ge=Pe=>{const Ee="bf3c199c2470cb477d907b1e0917c17b",Ae="5183666c72eec9e4";var Ce=ce().enc.Utf8.parse(Ee);let _e=ce().enc.Utf8.parse(Ae);var we=ce().AES.decrypt(Pe,Ce,{iv:_e,mode:ce().mode.CBC});return we.toString(ce().enc.Utf8)};let fe;const me=Pe=>ue(void 0,[Pe],function*({identifier:Ee,oldFilename:Ae,newFilename:Ce}){var _e,we,Me,Oe,Fe,Le;const Qe=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});Qe.data=JSON.parse(ge(Qe.data));const We=new OSS({endpoint:(_e=Qe==null?void 0:Qe.data)==null?void 0:_e.end_point,region:(we=Qe==null?void 0:Qe.data)==null?void 0:we.region,accessKeyId:(Me=Qe==null?void 0:Qe.data)==null?void 0:Me.access_key_id,accessKeySecret:(Oe=Qe==null?void 0:Qe.data)==null?void 0:Oe.access_key_secret,bucket:(Fe=Qe==null?void 0:Qe.data)==null?void 0:Fe.bucket,stsToken:(Le=Qe==null?void 0:Qe.data)==null?void 0:Le.security_token});return new Promise((Ge,Ke)=>{console.log(11111,`${Ee}/${Ae}`,`${Ee}/${Ce}`,Qe.data),We.copy(`/${Ee}/${Ae}`,`/${Ee}/${Ce}`).then(ze=>{console.log("\u62F7\u8D1D\u6210\u529F",ze)}).catch(ze=>{console.log(ze)})})}),be=(Pe,Ee,Ae)=>ue(void 0,null,function*(){var Ce,_e,we,Me,Oe,Fe;Ee.file_name=Pe.name;const Le=yield(0,pe.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",ge(Le.data)),Le.data=JSON.parse(ge(Le.data));const Qe=Pe.name.split(".");Qe.pop();const We=Ee.realFileName?Qe.join(""):(0,oe.Z)(),Ge=new(se())({endpoint:(Ce=Le==null?void 0:Le.data)==null?void 0:Ce.end_point,region:(_e=Le==null?void 0:Le.data)==null?void 0:_e.region,accessKeyId:(we=Le==null?void 0:Le.data)==null?void 0:we.access_key_id,accessKeySecret:(Me=Le==null?void 0:Le.data)==null?void 0:Me.access_key_secret,bucket:(Oe=Le==null?void 0:Le.data)==null?void 0:Oe.bucket,stsToken:(Fe=Le==null?void 0:Le.data)==null?void 0:Fe.security_token});return new Promise((Ke,ze)=>{var ke;Ge.multipartUpload(`${We}`,new Blob([Pe],{type:Pe.type}),ee(b({timeout:200*1e3,partSize:102400},Ae),{callback:{url:(ke=Le==null?void 0:Le.data)==null?void 0:ke.callback_url,host:Le==null?void 0:Le.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,pe.rz)(Ee)}})).then(function(Ne){var Ve;Pe.response=(Ve=Ne.data)==null?void 0:Ve.data,Ke(Ne==null?void 0:Ne.data)}).catch(function(Ne){ze(Ne),console.log("err:",Ne)})})}),ve=Pe=>{var Ee=Pe,{user:Ae,cancelUpload:Ce}=Ee,_e=z(Ee,["user","cancelUpload"]);const[we,Me]=(0,ye.useState)([]);let[Oe,Fe]=(0,ye.useState)();const Le={onRemove:We=>{Me([...we.filter(Ge=>Ge.name!==We.name)]),_e.onChange(we.filter(Ge=>Ge.name!==We.name))},disabled:_e.disabled,multiple:!0,fileList:we==null?void 0:we.map(We=>We.file),customRequest:()=>{},beforeUpload:We=>ue(void 0,null,function*(){let Ge=_e.maxSize||1073741824;if(we.filter(Ke=>Ke.name===We.name).length){E.ZP.info(`${We.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(We==null?void 0:We.size)>Ge?(E.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${Ge/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(we.push({name:We.name,file:We}),Me([...we]),_e.onChange(we),!1)})},Qe=(We,Ge)=>ue(void 0,null,function*(){var Ke,ze,ke,Ne,Ve,qe;Ge.file_name=We.name;const rt=We.name,Ye=yield(0,pe.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(Ye.data=JSON.parse(ge(Ye.data)),(Ye==null?void 0:Ye.status)!==0){we[we.findIndex(Ze=>Ze.name===rt)].status="error",we[we.findIndex(Ze=>Ze.name===rt)].file.status="error",_e.onChange(we),E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}Oe=new(se())({endpoint:(Ke=Ye==null?void 0:Ye.data)==null?void 0:Ke.end_point,region:(ze=Ye==null?void 0:Ye.data)==null?void 0:ze.region,accessKeyId:(ke=Ye==null?void 0:Ye.data)==null?void 0:ke.access_key_id,accessKeySecret:(Ne=Ye==null?void 0:Ye.data)==null?void 0:Ne.access_key_secret,bucket:(Ve=Ye==null?void 0:Ye.data)==null?void 0:Ve.bucket,stsToken:(qe=Ye==null?void 0:Ye.data)==null?void 0:qe.security_token}),console.log(We,"file"),Fe(Oe);const Ue=We.name.split(".");Ue.pop();const Be=rt.indexOf(".")>-1?Ge.realFileName?Ue.join("."):(0,oe.Z)():rt;return new Promise((Ze,Te)=>{var He;try{Oe.multipartUpload(`${_e.identifier}/${Be}${rt.indexOf(".")>-1?"."+rt.split(".").pop():""}`,new Blob([We.file],{type:We.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(at,et,Je)=>{try{console.log("\u8FDB\u5EA6",at,et,Je);const Ie=we.findIndex(xe=>xe.name===rt);we[Ie].file.percent=at*100,we[Ie].tempCheckpoint=et,Me([...we])}catch(Ie){}},checkpoint:we[we.findIndex(at=>at.name===rt)].tempCheckpoint,callback:{customValue:{id:rt+""},url:(He=Ye==null?void 0:Ye.data)==null?void 0:He.callback_url,host:Ye==null?void 0:Ye.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,pe.rz)(Ge)}}).then(function(at){var et,Je,Ie;const xe=we.findIndex(Re=>Re.name===rt);let De="done";if(((et=at.data)==null?void 0:et.status)===0){We.response=(Je=at.data)==null?void 0:Je.data;const Re=we.findIndex(Xe=>Xe.name===rt);we[Re].status="done",we[Re].file.status="done"}else E.ZP.warning((Ie=at.data)==null?void 0:Ie.message),De="error";we[xe].status=De,we[xe].file.status=De,_e.onChange(we),Ze(at==null?void 0:at.data)}).catch(function(at){we[we.findIndex(et=>et.name===rt)].status="error",we[we.findIndex(et=>et.name===rt)].file.status="error",E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),Me([...we]),_e.onChange(we),Te(at),console.log("err:",at)})}catch(at){}})});return(0,ye.useEffect)(()=>{we.every(We=>We==="done"||We==="error")&&_e.onComplete(we)},[we]),(0,ye.useEffect)(()=>{Ce&&(Oe==null||Oe.cancel())},[Ce]),(0,ye.useEffect)(()=>{_e.uploading&&we.map(We=>ue(void 0,null,function*(){var Ge;if((!We.status||We.status==="error")&&!Ce){We.status="uploading",We.file.status="uploading";const Ke=yield Qe(We,{login:(Ge=Ae==null?void 0:Ae.userInfo)==null?void 0:Ge.login,container_type:_e.container_type,container_id:_e.container_id,description:_e.description,realFileName:_e.realFileName})}}))},[_e.uploading]),ye.createElement(de,ee(b({},Le),{height:_e.height,className:_e.className}),ye.createElement("p",{className:"ant-upload-hint"},_e.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};ot.ZP=(0,ie.connect)(({loading:Pe,globalSetting:Ee,user:Ae})=>({globalSetting:Ee,loading:Pe.models.competitions,user:Ae}))(ve)},85469:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return zt}});var ye=Se(59301),je=Se(50484),E=Se(15277),pe=Se(92310),he=Se.n(pe),ce=Se(92413),oe=Se(33708),ie=Se(400),le=Se(33606),se=Se(39559),ae=Se(37061),re=Se(55468),ne=Se(18929),te=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],a=ye.createContext(null),y=0;function x(Lt,St){var Ut=ye.useState(function(){return y+=1,String(y)}),Pt=(0,le.Z)(Ut,1),Tt=Pt[0],kt=ye.useContext(a),$t={data:St,canPreview:Lt};return ye.useEffect(function(){if(kt)return kt.register(Tt,$t)},[]),ye.useEffect(function(){kt&&kt.register(Tt,$t)},[Lt,St]),Tt}function b(Lt){return new Promise(function(St){var Ut=document.createElement("img");Ut.onerror=function(){return St(!1)},Ut.onload=function(){return St(!0)},Ut.src=Lt})}function ee(Lt){var St=Lt.src,Ut=Lt.isCustomPlaceholder,Pt=Lt.fallback,Tt=(0,ye.useState)(Ut?"loading":"normal"),kt=(0,le.Z)(Tt,2),$t=kt[0],nn=kt[1],mn=(0,ye.useRef)(!1),Sn=$t==="error";(0,ye.useEffect)(function(){b(St).then(function(_n){_n||nn("error")})},[St]),(0,ye.useEffect)(function(){Ut&&!mn.current?nn("loading"):Sn&&nn("normal")},[St]);var An=function(){nn("normal")},En=function(It){mn.current=!1,$t==="loading"&&It!=null&&It.complete&&(It.naturalWidth||It.naturalHeight)&&(mn.current=!0,An())},Tn=Sn&&Pt?{src:Pt}:{onLoad:An,src:St};return[En,Tn,$t]}var z=Se(86923),ue=Se(8224),de=Se(10228),ge=Se(48736);function fe(Lt,St,Ut,Pt){var Tt=St+Ut,kt=(Ut-Pt)/2;if(Ut>Pt){if(St>0)return(0,ie.Z)({},Lt,kt);if(St<0&&Tt<Pt)return(0,ie.Z)({},Lt,-kt)}else if(St<0||Tt>Pt)return(0,ie.Z)({},Lt,St<0?kt:-kt);return{}}function me(Lt,St,Ut,Pt){var Tt=(0,re.g1)(),kt=Tt.width,$t=Tt.height,nn=null;return Lt<=kt&&St<=$t?nn={x:0,y:0}:(Lt>kt||St>$t)&&(nn=(0,oe.Z)((0,oe.Z)({},fe("x",Ut,Lt,kt)),fe("y",Pt,St,$t))),nn}var be=Se(13697),ve=Se(16089),Pe={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ee(Lt,St,Ut,Pt){var Tt=(0,ye.useRef)(null),kt=(0,ye.useRef)([]),$t=(0,ye.useState)(Pe),nn=(0,le.Z)($t,2),mn=nn[0],Sn=nn[1],An=function(It){Sn(Pe),Pt&&!(0,be.Z)(Pe,mn)&&Pt({transform:Pe,action:It})},En=function(It,Xn){Tt.current===null&&(kt.current=[],Tt.current=(0,ve.Z)(function(){Sn(function(Nn){var zn=Nn;return kt.current.forEach(function(hn){zn=(0,oe.Z)((0,oe.Z)({},zn),hn)}),Tt.current=null,Pt==null||Pt({transform:zn,action:Xn}),zn})})),kt.current.push((0,oe.Z)((0,oe.Z)({},mn),It))},Tn=function(It,Xn,Nn,zn){var hn=Lt.current,Bt=hn.width,Wt=hn.height,on=hn.offsetWidth,Kt=hn.offsetHeight,wn=hn.offsetLeft,Rn=hn.offsetTop,Jn=It,Kn=mn.scale*It;Kn>Ut?(Jn=Ut/mn.scale,Kn=Ut):Kn<St&&(Jn=St/mn.scale,Kn=St);var sr=Nn!=null?Nn:innerWidth/2,Ar=zn!=null?zn:innerHeight/2,mr=Jn-1,Jt=mr*Bt*.5,Lr=mr*Wt*.5,_r=mr*(sr-mn.x-wn),rr=mr*(Ar-mn.y-Rn),or=mn.x-(_r-Jt),pr=mn.y-(rr-Lr);if(It<1&&Kn===1){var vr=on*Kn,br=Kt*Kn,jn=(0,re.g1)(),qn=jn.width,gr=jn.height;vr<=qn&&br<=gr&&(or=0,pr=0)}En({x:or,y:pr,scale:Kn},Xn)};return{transform:mn,resetTransform:An,updateTransform:En,dispatchZoomChange:Tn}}var Ae=Se(43403),Ce=Se(77900),_e=function(St){var Ut=St.visible,Pt=St.maskTransitionName,Tt=St.getContainer,kt=St.prefixCls,$t=St.rootClassName,nn=St.icons,mn=St.countRender,Sn=St.showSwitch,An=St.showProgress,En=St.current,Tn=St.transform,_n=St.count,It=St.scale,Xn=St.minScale,Nn=St.maxScale,zn=St.closeIcon,hn=St.onSwitchLeft,Bt=St.onSwitchRight,Wt=St.onClose,on=St.onZoomIn,Kt=St.onZoomOut,wn=St.onRotateRight,Rn=St.onRotateLeft,Jn=St.onFlipX,Kn=St.onFlipY,sr=St.toolbarRender,Ar=(0,ye.useContext)(a),mr=nn.rotateLeft,Jt=nn.rotateRight,Lr=nn.zoomIn,_r=nn.zoomOut,rr=nn.close,or=nn.left,pr=nn.right,vr=nn.flipX,br=nn.flipY,jn="".concat(kt,"-operations-operation");ye.useEffect(function(){var hr=function(Sr){Sr.keyCode===de.Z.ESC&&Wt()};return Ut&&window.addEventListener("keydown",hr),function(){window.removeEventListener("keydown",hr)}},[Ut]);var qn=[{icon:br,onClick:Kn,type:"flipY"},{icon:vr,onClick:Jn,type:"flipX"},{icon:mr,onClick:Rn,type:"rotateLeft"},{icon:Jt,onClick:wn,type:"rotateRight"},{icon:_r,onClick:Kt,type:"zoomOut",disabled:It===Xn},{icon:Lr,onClick:on,type:"zoomIn",disabled:It===Nn}],gr=qn.map(function(hr){var lr,Sr=hr.icon,Er=hr.onClick,ir=hr.type,Ir=hr.disabled;return ye.createElement("div",{className:he()(jn,(lr={},(0,ie.Z)(lr,"".concat(kt,"-operations-operation-").concat(ir),!0),(0,ie.Z)(lr,"".concat(kt,"-operations-operation-disabled"),!!Ir),lr)),onClick:Er,key:ir},Sr)}),Vn=ye.createElement("div",{className:"".concat(kt,"-operations")},gr);return ye.createElement(Ce.default,{visible:Ut,motionName:Pt},function(hr){var lr=hr.className,Sr=hr.style;return ye.createElement(Ae.Z,{open:!0,getContainer:Tt!=null?Tt:document.body},ye.createElement("div",{className:he()("".concat(kt,"-operations-wrapper"),lr,$t),style:Sr},zn===null?null:ye.createElement("button",{className:"".concat(kt,"-close"),onClick:Wt},zn||rr),Sn&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:he()("".concat(kt,"-switch-left"),(0,ie.Z)({},"".concat(kt,"-switch-left-disabled"),En===0)),onClick:hn},or),ye.createElement("div",{className:he()("".concat(kt,"-switch-right"),(0,ie.Z)({},"".concat(kt,"-switch-right-disabled"),En===_n-1)),onClick:Bt},pr)),ye.createElement("div",{className:"".concat(kt,"-footer")},An&&ye.createElement("div",{className:"".concat(kt,"-progress")},mn?mn(En+1,_n):"".concat(En+1," / ").concat(_n)),sr?sr(Vn,(0,oe.Z)({icons:{flipYIcon:gr[0],flipXIcon:gr[1],rotateLeftIcon:gr[2],rotateRightIcon:gr[3],zoomOutIcon:gr[4],zoomInIcon:gr[5]},actions:{onFlipY:Kn,onFlipX:Jn,onRotateLeft:Rn,onRotateRight:wn,onZoomOut:Kt,onZoomIn:on},transform:Tn},Ar?{current:En,total:_n}:{})):Vn)))})},we=_e,Me=1,Oe=1,Fe=["fallback","src","imgRef"],Le=["prefixCls","src","alt","fallback","movable","onClose","visible","icons","rootClassName","closeIcon","getContainer","current","count","countRender","scaleStep","minScale","maxScale","transitionName","maskTransitionName","imageRender","imgCommonProps","toolbarRender","onTransform","onChange"],Qe=function(St){var Ut=St.fallback,Pt=St.src,Tt=St.imgRef,kt=(0,ae.Z)(St,Fe),$t=ee({src:Pt,fallback:Ut}),nn=(0,le.Z)($t,2),mn=nn[0],Sn=nn[1];return ye.createElement("img",(0,ce.Z)({ref:function(En){Tt.current=En,mn(En)}},kt,Sn))},We=function(St){var Ut=St.prefixCls,Pt=St.src,Tt=St.alt,kt=St.fallback,$t=St.movable,nn=$t===void 0?!0:$t,mn=St.onClose,Sn=St.visible,An=St.icons,En=An===void 0?{}:An,Tn=St.rootClassName,_n=St.closeIcon,It=St.getContainer,Xn=St.current,Nn=Xn===void 0?0:Xn,zn=St.count,hn=zn===void 0?1:zn,Bt=St.countRender,Wt=St.scaleStep,on=Wt===void 0?.5:Wt,Kt=St.minScale,wn=Kt===void 0?1:Kt,Rn=St.maxScale,Jn=Rn===void 0?50:Rn,Kn=St.transitionName,sr=Kn===void 0?"zoom":Kn,Ar=St.maskTransitionName,mr=Ar===void 0?"fade":Ar,Jt=St.imageRender,Lr=St.imgCommonProps,_r=St.toolbarRender,rr=St.onTransform,or=St.onChange,pr=(0,ae.Z)(St,Le),vr=(0,ye.useRef)(),br=(0,ye.useRef)({deltaX:0,deltaY:0,transformX:0,transformY:0}),jn=(0,ye.useState)(!1),qn=(0,le.Z)(jn,2),gr=qn[0],Vn=qn[1],hr=(0,ye.useContext)(a),lr=hr&&hn>1,Sr=hr&&hn>=1,Er=Ee(vr,wn,Jn,rr),ir=Er.transform,Ir=Er.resetTransform,Tr=Er.updateTransform,Br=Er.dispatchZoomChange,kr=(0,ye.useState)(!0),ht=(0,le.Z)(kr,2),Dt=ht[0],Et=ht[1],Rt=ir.rotate,Gt=ir.scale,Nt=ir.x,rn=ir.y,an=he()((0,ie.Z)({},"".concat(Ut,"-moving"),gr));(0,ye.useEffect)(function(){Dt||Et(!0)},[Dt]);var Xt=function(){Ir("close")},cn=function(){Br(Me+on,"zoomIn")},tn=function(){Br(Me/(Me+on),"zoomOut")},Dn=function(){Tr({rotate:Rt+90},"rotateRight")},Cn=function(){Tr({rotate:Rt-90},"rotateLeft")},In=function(){Tr({flipX:!ir.flipX},"flipX")},Mn=function(){Tr({flipY:!ir.flipY},"flipY")},Qn=function(vn){vn==null||vn.preventDefault(),vn==null||vn.stopPropagation(),Nn>0&&(Et(!1),Ir("prev"),or==null||or(Nn-1,Nn))},$n=function(vn){vn==null||vn.preventDefault(),vn==null||vn.stopPropagation(),Nn<hn-1&&(Et(!1),Ir("next"),or==null||or(Nn+1,Nn))},xr=function(){if(Sn&&gr){Vn(!1);var vn=br.current,er=vn.transformX,yr=vn.transformY,fr=Nt!==er&&rn!==yr;if(!fr)return;var Ft=vr.current.offsetWidth*Gt,pn=vr.current.offsetHeight*Gt,Hn=vr.current.getBoundingClientRect(),tr=Hn.left,Un=Hn.top,Pr=Rt%180!==0,ar=me(Pr?pn:Ft,Pr?Ft:pn,tr,Un);ar&&Tr((0,oe.Z)({},ar),"dragRebound")}},wr=function(vn){!nn||vn.button!==0||(vn.preventDefault(),vn.stopPropagation(),br.current={deltaX:vn.pageX-ir.x,deltaY:vn.pageY-ir.y,transformX:ir.x,transformY:ir.y},Vn(!0))},nr=function(vn){Sn&&gr&&Tr({x:vn.pageX-br.current.deltaX,y:vn.pageY-br.current.deltaY},"move")},ur=function(vn){if(!(!Sn||vn.deltaY==0)){var er=Math.abs(vn.deltaY/100),yr=Math.min(er,Oe),fr=Me+yr*on;vn.deltaY>0&&(fr=Me/fr),Br(fr,"wheel",vn.clientX,vn.clientY)}},Dr=function(vn){!Sn||!lr||(vn.keyCode===de.Z.LEFT?Qn():vn.keyCode===de.Z.RIGHT&&$n())},Wn=function(vn){Sn&&(Gt!==1?Tr({x:0,y:0,scale:1},"doubleClick"):Br(Me+on,"doubleClick",vn.clientX,vn.clientY))};(0,ye.useEffect)(function(){var Zn,vn,er,yr;if(nn){er=(0,ue.Z)(window,"mouseup",xr,!1),yr=(0,ue.Z)(window,"mousemove",nr,!1);try{window.top!==window.self&&(Zn=(0,ue.Z)(window.top,"mouseup",xr,!1),vn=(0,ue.Z)(window.top,"mousemove",nr,!1))}catch(fr){(0,ge.Kp)(!1,"[rc-image] ".concat(fr))}}return function(){var fr,Ft,pn,Hn;(fr=er)===null||fr===void 0||fr.remove(),(Ft=yr)===null||Ft===void 0||Ft.remove(),(pn=Zn)===null||pn===void 0||pn.remove(),(Hn=vn)===null||Hn===void 0||Hn.remove()}},[Sn,gr,Nt,rn,Rt,nn]),(0,ye.useEffect)(function(){var Zn=(0,ue.Z)(window,"keydown",Dr,!1);return function(){Zn.remove()}},[Sn,lr,Nn]);var cr=ye.createElement(Qe,(0,ce.Z)({},Lr,{width:St.width,height:St.height,imgRef:vr,className:"".concat(Ut,"-img"),alt:Tt,style:{transform:"translate3d(".concat(ir.x,"px, ").concat(ir.y,"px, 0) scale3d(").concat(ir.flipX?"-":"").concat(Gt,", ").concat(ir.flipY?"-":"").concat(Gt,", 1) rotate(").concat(Rt,"deg)"),transitionDuration:!Dt&&"0s"},fallback:kt,src:Pt,onWheel:ur,onMouseDown:wr,onDoubleClick:Wn}));return ye.createElement(ye.Fragment,null,ye.createElement(z.Z,(0,ce.Z)({transitionName:sr,maskTransitionName:mr,closable:!1,keyboard:!0,prefixCls:Ut,onClose:mn,visible:Sn,wrapClassName:an,rootClassName:Tn,getContainer:It},pr,{afterClose:Xt}),ye.createElement("div",{className:"".concat(Ut,"-img-wrapper")},Jt?Jt(cr,(0,oe.Z)({transform:ir},hr?{current:Nn}:{})):cr)),ye.createElement(we,{visible:Sn,transform:ir,maskTransitionName:mr,closeIcon:_n,getContainer:It,prefixCls:Ut,rootClassName:Tn,icons:En,countRender:Bt,showSwitch:lr,showProgress:Sr,current:Nn,count:hn,scale:Gt,minScale:wn,maxScale:Jn,toolbarRender:_r,onSwitchLeft:Qn,onSwitchRight:$n,onZoomIn:cn,onZoomOut:tn,onRotateRight:Dn,onRotateLeft:Cn,onFlipX:In,onFlipY:Mn,onClose:mn}))},Ge=We,Ke=Se(26407);function ze(Lt){var St=ye.useState({}),Ut=(0,le.Z)(St,2),Pt=Ut[0],Tt=Ut[1],kt=ye.useCallback(function(nn,mn){return Tt(function(Sn){return(0,oe.Z)((0,oe.Z)({},Sn),{},(0,ie.Z)({},nn,mn))}),function(){Tt(function(Sn){var An=(0,oe.Z)({},Sn);return delete An[nn],An})}},[]),$t=ye.useMemo(function(){return Lt?Lt.map(function(nn){if(typeof nn=="string")return{data:{src:nn}};var mn={};return Object.keys(nn).forEach(function(Sn){["src"].concat((0,Ke.Z)(te)).includes(Sn)&&(mn[Sn]=nn[Sn])}),{data:mn}}):Object.keys(Pt).reduce(function(nn,mn){var Sn=Pt[mn],An=Sn.canPreview,En=Sn.data;return An&&nn.push({data:En,id:mn}),nn},[])},[Lt,Pt]);return[$t,kt]}var ke=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Ne=["src"],Ve=function(St){var Ut,Pt=St.previewPrefixCls,Tt=Pt===void 0?"rc-image-preview":Pt,kt=St.children,$t=St.icons,nn=$t===void 0?{}:$t,mn=St.items,Sn=St.preview,An=St.fallback,En=(0,se.Z)(Sn)==="object"?Sn:{},Tn=En.visible,_n=En.onVisibleChange,It=En.getContainer,Xn=En.current,Nn=En.movable,zn=En.minScale,hn=En.maxScale,Bt=En.countRender,Wt=En.closeIcon,on=En.onChange,Kt=En.onTransform,wn=En.toolbarRender,Rn=En.imageRender,Jn=(0,ae.Z)(En,ke),Kn=ze(mn),sr=(0,le.Z)(Kn,2),Ar=sr[0],mr=sr[1],Jt=(0,ne.Z)(0,{value:Xn}),Lr=(0,le.Z)(Jt,2),_r=Lr[0],rr=Lr[1],or=(0,ye.useState)(!1),pr=(0,le.Z)(or,2),vr=pr[0],br=pr[1],jn=((Ut=Ar[_r])===null||Ut===void 0?void 0:Ut.data)||{},qn=jn.src,gr=(0,ae.Z)(jn,Ne),Vn=(0,ne.Z)(!!Tn,{value:Tn,onChange:function(Rt,Gt){_n==null||_n(Rt,Gt,_r)}}),hr=(0,le.Z)(Vn,2),lr=hr[0],Sr=hr[1],Er=(0,ye.useState)(null),ir=(0,le.Z)(Er,2),Ir=ir[0],Tr=ir[1],Br=ye.useCallback(function(Et,Rt,Gt){var Nt=Ar.findIndex(function(rn){return rn.id===Et});Sr(!0),Tr({x:Rt,y:Gt}),rr(Nt<0?0:Nt),br(!0)},[Ar]);ye.useEffect(function(){lr?vr||rr(0):br(!1)},[lr]);var kr=function(Rt,Gt){rr(Rt),on==null||on(Rt,Gt)},ht=function(){Sr(!1),Tr(null)},Dt=ye.useMemo(function(){return{register:mr,onPreview:Br}},[mr,Br]);return ye.createElement(a.Provider,{value:Dt},kt,ye.createElement(Ge,(0,ce.Z)({"aria-hidden":!lr,movable:Nn,visible:lr,prefixCls:Tt,closeIcon:Wt,onClose:ht,mousePosition:Ir,imgCommonProps:gr,src:qn,fallback:An,icons:nn,minScale:zn,maxScale:hn,getContainer:It,current:_r,count:Ar.length,countRender:Bt,onTransform:Kt,toolbarRender:wn,imageRender:Rn,onChange:kr},Jn)))},qe=Ve,rt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Ye=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Ue=function(St){var Ut=St.src,Pt=St.alt,Tt=St.onPreviewClose,kt=St.prefixCls,$t=kt===void 0?"rc-image":kt,nn=St.previewPrefixCls,mn=nn===void 0?"".concat($t,"-preview"):nn,Sn=St.placeholder,An=St.fallback,En=St.width,Tn=St.height,_n=St.style,It=St.preview,Xn=It===void 0?!0:It,Nn=St.className,zn=St.onClick,hn=St.onError,Bt=St.wrapperClassName,Wt=St.wrapperStyle,on=St.rootClassName,Kt=(0,ae.Z)(St,rt),wn=Sn&&Sn!==!0,Rn=(0,se.Z)(Xn)==="object"?Xn:{},Jn=Rn.src,Kn=Rn.visible,sr=Kn===void 0?void 0:Kn,Ar=Rn.onVisibleChange,mr=Ar===void 0?Tt:Ar,Jt=Rn.getContainer,Lr=Jt===void 0?void 0:Jt,_r=Rn.mask,rr=Rn.maskClassName,or=Rn.movable,pr=Rn.icons,vr=Rn.scaleStep,br=Rn.minScale,jn=Rn.maxScale,qn=Rn.imageRender,gr=Rn.toolbarRender,Vn=(0,ae.Z)(Rn,Ye),hr=Jn!=null?Jn:Ut,lr=(0,ne.Z)(!!sr,{value:sr,onChange:mr}),Sr=(0,le.Z)(lr,2),Er=Sr[0],ir=Sr[1],Ir=ee({src:Ut,isCustomPlaceholder:wn,fallback:An}),Tr=(0,le.Z)(Ir,3),Br=Tr[0],kr=Tr[1],ht=Tr[2],Dt=(0,ye.useState)(null),Et=(0,le.Z)(Dt,2),Rt=Et[0],Gt=Et[1],Nt=(0,ye.useContext)(a),rn=!!Xn,an=function(){ir(!1),Gt(null)},Xt=he()($t,Bt,on,(0,ie.Z)({},"".concat($t,"-error"),ht==="error")),cn=(0,ye.useMemo)(function(){var In={};return te.forEach(function(Mn){St[Mn]!==void 0&&(In[Mn]=St[Mn])}),In},te.map(function(In){return St[In]})),tn=(0,ye.useMemo)(function(){return(0,oe.Z)((0,oe.Z)({},cn),{},{src:hr})},[hr,cn]),Dn=x(rn,tn),Cn=function(Mn){var Qn=(0,re.os)(Mn.target),$n=Qn.left,xr=Qn.top;Nt?Nt.onPreview(Dn,$n,xr):(Gt({x:$n,y:xr}),ir(!0)),zn==null||zn(Mn)};return ye.createElement(ye.Fragment,null,ye.createElement("div",(0,ce.Z)({},Kt,{className:Xt,onClick:rn?Cn:zn,style:(0,oe.Z)({width:En,height:Tn},Wt)}),ye.createElement("img",(0,ce.Z)({},cn,{className:he()("".concat($t,"-img"),(0,ie.Z)({},"".concat($t,"-img-placeholder"),Sn===!0),Nn),style:(0,oe.Z)({height:Tn},_n),ref:Br},kr,{width:En,height:Tn,onError:hn})),ht==="loading"&&ye.createElement("div",{"aria-hidden":"true",className:"".concat($t,"-placeholder")},Sn),_r&&rn&&ye.createElement("div",{className:he()("".concat($t,"-mask"),rr),style:{display:(_n==null?void 0:_n.display)==="none"?"none":void 0}},_r)),!Nt&&rn&&ye.createElement(Ge,(0,ce.Z)({"aria-hidden":!Er,visible:Er,prefixCls:mn,onClose:an,mousePosition:Rt,src:hr,alt:Pt,fallback:An,getContainer:Lr,icons:pr,movable:or,scaleStep:vr,minScale:br,maxScale:jn,rootClassName:on,imageRender:qn,imgCommonProps:cn,toolbarRender:gr},Vn)))};Ue.PreviewGroup=qe,Ue.displayName="Image";var Be=Ue,Ze=Be,Te=Se(62892),He=Se(36355),at=Se(31724),et=Se(99267),Je=Se(33853),Ie=Se(38819),xe={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"},De=xe,Re=Se(7657),Xe=function(St,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},St,{ref:Ut,icon:De}))},nt=ye.forwardRef(Xe),$e=nt,tt={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"},st=tt,it=function(St,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},St,{ref:Ut,icon:st}))},lt=ye.forwardRef(it),ut=lt,pt={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"},vt=pt,mt=function(St,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},St,{ref:Ut,icon:vt}))},bt=ye.forwardRef(mt),_t=bt,Mt={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"},yt=Mt,wt=function(St,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},St,{ref:Ut,icon:yt}))},xt=ye.forwardRef(wt),un=xt,Vt={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"},sn=Vt,Zt=function(St,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},St,{ref:Ut,icon:sn}))},en=ye.forwardRef(Zt),Ht=en,ln=Se(64993),Ln=Se(73819),Pn=Se(17313),xn=Se(29878),bn=Se(1950),gn=Se(83116),Ct=Se(37613);const Ot=Lt=>({position:Lt||"absolute",inset:0}),At=Lt=>{const{iconCls:St,motionDurationSlow:Ut,paddingXXS:Pt,marginXXS:Tt,prefixCls:kt,colorTextLightSolid:$t}=Lt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:$t,background:new ln.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Ut}`,[`.${kt}-mask-info`]:Object.assign(Object.assign({},Pn.vS),{padding:`0 ${Pt}px`,[St]:{marginInlineEnd:Tt,svg:{verticalAlign:"baseline"}}})}},qt=Lt=>{const{previewCls:St,modalMaskBg:Ut,paddingSM:Pt,marginXL:Tt,margin:kt,paddingLG:$t,previewOperationColorDisabled:nn,previewOperationHoverColor:mn,motionDurationSlow:Sn,iconCls:An,colorTextLightSolid:En}=Lt,Tn=new ln.C(Ut).setAlpha(.1),_n=Tn.clone().setAlpha(.2);return{[`${St}-footer`]:{position:"fixed",bottom:Tt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Lt.previewOperationColor},[`${St}-progress`]:{marginBottom:kt},[`${St}-close`]:{position:"fixed",top:Tt,right:{_skip_check_:!0,value:Tt},display:"flex",color:En,backgroundColor:Tn.toRgbString(),borderRadius:"50%",padding:Pt,outline:0,border:0,cursor:"pointer",transition:`all ${Sn}`,"&:hover":{backgroundColor:_n.toRgbString()},[`& > ${An}`]:{fontSize:Lt.previewOperationSize}},[`${St}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${$t}px`,backgroundColor:Tn.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Pt,padding:Pt,cursor:"pointer",transition:`all ${Sn}`,userSelect:"none",[`&:not(${St}-operations-operation-disabled):hover > ${An}`]:{color:mn},"&-disabled":{color:nn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${An}`]:{fontSize:Lt.previewOperationSize}}}}},dn=Lt=>{const{modalMaskBg:St,iconCls:Ut,previewOperationColorDisabled:Pt,previewCls:Tt,zIndexPopup:kt,motionDurationSlow:$t}=Lt,nn=new ln.C(St).setAlpha(.1),mn=nn.clone().setAlpha(.2);return{[`${Tt}-switch-left, ${Tt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:kt+1,display:"flex",alignItems:"center",justifyContent:"center",width:Lt.imagePreviewSwitchSize,height:Lt.imagePreviewSwitchSize,marginTop:-Lt.imagePreviewSwitchSize/2,color:Lt.previewOperationColor,background:nn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${$t}`,userSelect:"none","&:hover":{background:mn.toRgbString()},"&-disabled":{"&, &:hover":{color:Pt,background:"transparent",cursor:"not-allowed",[`> ${Ut}`]:{cursor:"not-allowed"}}},[`> ${Ut}`]:{fontSize:Lt.previewOperationSize}},[`${Tt}-switch-left`]:{insetInlineStart:Lt.marginSM},[`${Tt}-switch-right`]:{insetInlineEnd:Lt.marginSM}}},dt=Lt=>{const{motionEaseOut:St,previewCls:Ut,motionDurationSlow:Pt,componentCls:Tt}=Lt;return[{[`${Tt}-preview-root`]:{[Ut]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Ut}-body`]:Object.assign(Object.assign({},Ot()),{overflow:"hidden"}),[`${Ut}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Pt} ${St} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Ot()),{transition:`transform ${Pt} ${St} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Ut}-moving`]:{[`${Ut}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Tt}-preview-root`]:{[`${Ut}-wrap`]:{zIndex:Lt.zIndexPopup}}},{[`${Tt}-preview-operations-wrapper`]:{position:"fixed",zIndex:Lt.zIndexPopup+1},"&":[qt(Lt),dn(Lt)]}]},gt=Lt=>{const{componentCls:St}=Lt;return{[St]:{position:"relative",display:"inline-block",[`${St}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${St}-img-placeholder`]:{backgroundColor:Lt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${St}-mask`]:Object.assign({},At(Lt)),[`${St}-mask:hover`]:{opacity:1},[`${St}-placeholder`]:Object.assign({},Ot())}}},ft=Lt=>{const{previewCls:St}=Lt;return{[`${St}-root`]:(0,xn._y)(Lt,"zoom"),"&":(0,bn.J$)(Lt,!0)}};var jt=(0,gn.Z)("Image",Lt=>{const St=`${Lt.componentCls}-preview`,Ut=(0,Ct.TS)(Lt,{previewCls:St,modalMaskBg:new ln.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Lt.controlHeightLG});return[gt(Ut),dt(Ut),(0,Ln.QA)((0,Ct.TS)(Ut,{componentCls:St})),ft(Ut)]},Lt=>({zIndexPopup:Lt.zIndexPopupBase+80,previewOperationColor:new ln.C(Lt.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new ln.C(Lt.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new ln.C(Lt.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Lt.fontSizeIcon*1.5})),Yt=function(Lt,St){var Ut={};for(var Pt in Lt)Object.prototype.hasOwnProperty.call(Lt,Pt)&&St.indexOf(Pt)<0&&(Ut[Pt]=Lt[Pt]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Pt=Object.getOwnPropertySymbols(Lt);Tt<Pt.length;Tt++)St.indexOf(Pt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(Lt,Pt[Tt])&&(Ut[Pt[Tt]]=Lt[Pt[Tt]]);return Ut};const Qt={rotateLeft:ye.createElement($e,null),rotateRight:ye.createElement(ut,null),zoomIn:ye.createElement(un,null),zoomOut:ye.createElement(Ht,null),close:ye.createElement(et.Z,null),left:ye.createElement(Je.Z,null),right:ye.createElement(Ie.Z,null),flipX:ye.createElement(_t,null),flipY:ye.createElement(_t,{rotate:90})};var fn=Lt=>{var{previewPrefixCls:St,preview:Ut}=Lt,Pt=Yt(Lt,["previewPrefixCls","preview"]);const{getPrefixCls:Tt}=ye.useContext(He.E_),kt=Tt("image",St),$t=`${kt}-preview`,nn=Tt(),[mn,Sn]=jt(kt),An=ye.useMemo(()=>{var En;if(Ut===!1)return Ut;const Tn=typeof Ut=="object"?Ut:{},_n=he()(Sn,(En=Tn.rootClassName)!==null&&En!==void 0?En:"");return Object.assign(Object.assign({},Tn),{transitionName:(0,Te.m)(nn,"zoom",Tn.transitionName),maskTransitionName:(0,Te.m)(nn,"fade",Tn.maskTransitionName),rootClassName:_n})},[Ut]);return mn(ye.createElement(Ze.PreviewGroup,Object.assign({preview:An,previewPrefixCls:$t,icons:Qt},Pt)))},kn=function(Lt,St){var Ut={};for(var Pt in Lt)Object.prototype.hasOwnProperty.call(Lt,Pt)&&St.indexOf(Pt)<0&&(Ut[Pt]=Lt[Pt]);if(Lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Tt=0,Pt=Object.getOwnPropertySymbols(Lt);Tt<Pt.length;Tt++)St.indexOf(Pt[Tt])<0&&Object.prototype.propertyIsEnumerable.call(Lt,Pt[Tt])&&(Ut[Pt[Tt]]=Lt[Pt[Tt]]);return Ut};const Gn=Lt=>{const{prefixCls:St,preview:Ut,className:Pt,rootClassName:Tt,style:kt}=Lt,$t=kn(Lt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:nn,locale:mn=at.Z,getPopupContainer:Sn,image:An}=ye.useContext(He.E_),En=nn("image",St),Tn=nn(),_n=mn.Image||at.Z.Image,[It,Xn]=jt(En),Nn=he()(Tt,Xn),zn=he()(Pt,Xn,An==null?void 0:An.className),hn=ye.useMemo(()=>{if(Ut===!1)return Ut;const Wt=typeof Ut=="object"?Ut:{},{getContainer:on}=Wt,Kt=kn(Wt,["getContainer"]);return Object.assign(Object.assign({mask:ye.createElement("div",{className:`${En}-mask-info`},ye.createElement(E.Z,null),_n==null?void 0:_n.preview),icons:Qt},Kt),{getContainer:on||Sn,transitionName:(0,Te.m)(Tn,"zoom",Wt.transitionName),maskTransitionName:(0,Te.m)(Tn,"fade",Wt.maskTransitionName)})},[Ut,_n]),Bt=Object.assign(Object.assign({},An==null?void 0:An.style),kt);return It(ye.createElement(Ze,Object.assign({prefixCls:En,preview:hn,rootClassName:Nn,className:zn,style:Bt},$t)))};Gn.PreviewGroup=fn;var dr=Gn,zt=()=>{const[Lt,St]=(0,ye.useState)(""),[Ut,Pt]=(0,ye.useState)(0);let[Tt,kt]=(0,ye.useState)(),[$t,nn]=(0,ye.useState)();const[mn,Sn]=(0,ye.useState)(!1),An=(0,ye.useRef)("");(0,ye.useEffect)(()=>je.Z.subscribe("preview-image",on=>{St(on),console.log(hn.current),document.body.style.overflow="hidden"}),[]),(0,ye.useEffect)(()=>(document.addEventListener("keydown",En),()=>{document.removeEventListener("keydown",En)}),[]),(0,ye.useEffect)(()=>{An.current=Lt},[Lt]);function En(Wt){Wt.keyCode==27&&An.current&&Tn()}function Tn(){document.body.style.overflow="auto",kt(void 0),nn(void 0),Pt(0),St("")}function _n(){Pt(Ut+90)}function It(){Tt=hn.current.width*1.1,$t=hn.current.height*1.1,nn($t),kt(Tt)}function Xn(){Tt=hn.current.width/1.1,$t=hn.current.height/1.1,nn($t),kt(Tt)}const Nn=(0,ye.useRef)(),zn=(0,ye.useRef)(),hn=(0,ye.useRef)(),Bt=Wt=>{(Wt.nativeEvent.target===Nn.current||Wt.nativeEvent.target===zn.current)&&Tn()};return ye.createElement(ye.Fragment,null,Lt?ye.createElement("div",null,ye.createElement("div",{className:"preview-wrp-group",ref:zn},ye.createElement(dr,{className:"image-preview",src:Lt,style:{display:"none"},preview:{visible:!0,src:Lt,movable:!1,onVisibleChange:Wt=>{St("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},73278:function(ct,ot,Se){"use strict";Se.d(ot,{h:function(){return ue}});var ye=Se(59301),je=Se(57809),E=Se(78241),pe=Se(3113),he=Se(89780),ce=Se.n(he),oe=Se(78780),ie=Se(19136),le=Object.defineProperty,se=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,a=(de,ge,fe)=>ge in de?le(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):de[ge]=fe,y=(de,ge)=>{for(var fe in ge||(ge={}))ne.call(ge,fe)&&a(de,fe,ge[fe]);if(re)for(var fe of re(ge))te.call(ge,fe)&&a(de,fe,ge[fe]);return de},x=(de,ge)=>se(de,ae(ge));const b=je.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};ot.Z=({callback:de,onCancel:ge})=>{const[fe,me]=(0,ye.useState)("python");function be(Pe){me(z[Pe][1])}function ve(Pe){de(Pe)}return ye.createElement(E.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ve,style:{width:500}}),ye.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ye.createElement(je.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:be},Object.keys(z).map(Pe=>ye.createElement(b,{key:Pe,value:Pe},z[Pe][0])))),ye.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ye.createElement(ue,{mode:fe})),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(pe.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function ue({value:de,onChange:ge,mode:fe,options:me={}}){const be=(0,ye.useRef)(),[ve,Pe]=(0,ye.useState)();return(0,ye.useEffect)(()=>{if(ve){let Ee=function(Ae){const Ce=Ae.getValue();ge&&ge(Ce)};return ve.on("change",Ee),()=>{ve.off("change",Ee)}}},[ve,ge]),(0,ye.useEffect)(()=>{ve&&ve.setOption("mode",fe)},[ve,fe]),(0,ye.useEffect)(()=>{ve&&(de!==ve.getValue()||de==="")&&setTimeout(()=>{ve.setValue(de||"")},300)},[ve,de]),(0,ye.useEffect)(()=>{if(be.current&&!ve){const Ee=ce().fromTextArea(be.current,y({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));Pe(Ee)}},[be.current,ve]),ye.createElement("div",{className:"my-codemirror-container"},ye.createElement("textarea",{ref:be}))}},64726:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return dn}});var ye=Se(59301),je=Se(89780),E=Se.n(je),pe=Se(76374),he=Se(78780),ce=Se(6313),oe=Se(25717),ie=Se(99498),le=Se(25419),se=Se(67549),ae=Se(99325),re=({value:dt="",className:gt,showTextOnly:ft,showLines:jt,style:Yt={}})=>{const Qt=(0,ye.useMemo)(()=>"",[dt]);return ye.createElement(ye.Fragment,null,ye.createElement("div",{dangerouslySetInnerHTML:{__html:Qt}}))},ne=Se(59301),te=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,z=(dt,gt,ft)=>gt in dt?te(dt,gt,{enumerable:!0,configurable:!0,writable:!0,value:ft}):dt[gt]=ft,ue=(dt,gt)=>{for(var ft in gt||(gt={}))b.call(gt,ft)&&z(dt,ft,gt[ft]);if(x)for(var ft of x(gt))ee.call(gt,ft)&&z(dt,ft,gt[ft]);return dt},de=(dt,gt)=>a(dt,y(gt));let ge=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function fe({onActionCallback:dt,title:gt,icon:ft,actionName:jt,className:Yt="",children:Qt}){function Bn(){dt(jt)}return ne.createElement("a",{title:gt,className:Yt,onClick:Bn},ne.createElement("i",{className:`${ft}`}),Qt)}var me=({watch:dt,showNullButton:gt,showNullProgramButton:ft,onActionCallback:jt,fullScreen:Yt,insertTemp:Qt,hidetoolBar:Bn,extraUse:fn})=>{const kn=[...ge,{title:`${dt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${dt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!Bn&&kn.map((Gn,dr)=>ne.createElement("li",{key:dr},Gn.actionName?ne.createElement(fe,de(ue({},Gn),{onActionCallback:jt})):ne.createElement("span",{className:"v-line"}))),gt?ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:jt},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,ft?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:jt},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:jt},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Qt&&ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Qt}`,onActionCallback:jt},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),fn&&ne.createElement("li",null,fn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(fe,{icon:`${Yt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Yt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:jt})))},be=Se(19647),ve=Se(78241),Pe=Se(92832),Ee=Se(3113),Ae=Object.defineProperty,Ce=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Fe=(dt,gt,ft)=>gt in dt?Ae(dt,gt,{enumerable:!0,configurable:!0,writable:!0,value:ft}):dt[gt]=ft,Le=(dt,gt)=>{for(var ft in gt||(gt={}))Me.call(gt,ft)&&Fe(dt,ft,gt[ft]);if(we)for(var ft of we(gt))Oe.call(gt,ft)&&Fe(dt,ft,gt[ft]);return dt},Qe=(dt,gt)=>Ce(dt,_e(gt));const We={labelCol:{span:4},wrapperCol:{span:20}};var Ge=({callback:dt,onCancel:gt})=>{function ft(jt){dt(jt)}return ye.createElement(ve.default,Qe(Le({},We),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ft,style:{width:500}}),ye.createElement(ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ye.createElement(Pe.default,null)),ye.createElement(ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ye.createElement(Pe.default,null)),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Ee.ZP,{type:"ghost",onClick:gt},"\u53D6\u6D88")))},Ke=Se(73278),ze=Se(56030),ke=Se(43418),Ne=Se(95237),Ve=Se(14573),qe=Se(59301),rt=({callback:dt,onCancel:gt})=>{const ft=document.createElement("canvas"),jt=ft.getContext("2d");ft.width=1e3,ft.height=800,jt.fillStyle="#ffffff",jt.fillRect(0,0,ft.width,ft.height);const Yt=ft.toDataURL("image/png");return qe.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},qe.createElement(Ne.Z,{style:{height:"100vh"}},qe.createElement(Ve.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Yt,visible:!0,title:String(Date.now())},onOk:Qt=>{dt({src:Qt.url})},onClose:gt})))},Ye=Se(12378);function Ue(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ue,go.CommandHandler),Ue.prototype.canAlignSelection=function(){var dt=this.diagram;return!(dt===null||dt.isReadOnly||dt.isModelReadOnly||dt.selection.count<2)},Ue.prototype.alignLeft=function(){var dt=this.diagram;dt.startTransaction("aligning left");var gt=1/0;dt.selection.each(function(ft){ft instanceof go.Link||(gt=Math.min(ft.position.x,gt))}),dt.selection.each(function(ft){ft instanceof go.Link||ft.move(new go.Point(gt,ft.position.y))}),dt.commitTransaction("aligning left")},Ue.prototype.alignRight=function(){var dt=this.diagram;dt.startTransaction("aligning right");var gt=-1/0;dt.selection.each(function(ft){if(!(ft instanceof go.Link)){var jt=ft.actualBounds.x+ft.actualBounds.width;gt=Math.max(jt,gt)}}),dt.selection.each(function(ft){ft instanceof go.Link||ft.move(new go.Point(gt-ft.actualBounds.width,ft.position.y))}),dt.commitTransaction("aligning right")},Ue.prototype.alignTop=function(){var dt=this.diagram;dt.startTransaction("alignTop");var gt=1/0;dt.selection.each(function(ft){ft instanceof go.Link||(gt=Math.min(ft.position.y,gt))}),dt.selection.each(function(ft){ft instanceof go.Link||ft.move(new go.Point(ft.position.x,gt))}),dt.commitTransaction("alignTop")},Ue.prototype.alignBottom=function(){var dt=this.diagram;dt.startTransaction("aligning bottom");var gt=-1/0;dt.selection.each(function(ft){if(!(ft instanceof go.Link)){var jt=ft.actualBounds.y+ft.actualBounds.height;gt=Math.max(jt,gt)}}),dt.selection.each(function(ft){ft instanceof go.Link||ft.move(new go.Point(ft.actualBounds.x,gt-ft.actualBounds.height))}),dt.commitTransaction("aligning bottom")},Ue.prototype.alignCenterX=function(){var dt=this.diagram,gt=dt.selection.first();if(gt){dt.startTransaction("aligning Center X");var ft=gt.actualBounds.x+gt.actualBounds.width/2;dt.selection.each(function(jt){jt instanceof go.Link||jt.move(new go.Point(ft-jt.actualBounds.width/2,jt.actualBounds.y))}),dt.commitTransaction("aligning Center X")}},Ue.prototype.alignCenterY=function(){var dt=this.diagram,gt=dt.selection.first();if(gt){dt.startTransaction("aligning Center Y");var ft=gt.actualBounds.y+gt.actualBounds.height/2;dt.selection.each(function(jt){jt instanceof go.Link||jt.move(new go.Point(jt.actualBounds.x,ft-jt.actualBounds.height/2))}),dt.commitTransaction("aligning Center Y")}},Ue.prototype.alignColumn=function(dt){var gt=this.diagram;gt.startTransaction("align Column"),dt===void 0&&(dt=0),dt=parseFloat(dt);var ft=new Array;gt.selection.each(function(fn){fn instanceof go.Link||ft.push(fn)});for(var jt=0;jt<ft.length-1;jt++){var Yt=ft[jt],Qt=Yt.actualBounds.y+Yt.actualBounds.height+dt,Bn=ft[jt+1];Bn.move(new go.Point(Yt.actualBounds.x,Qt))}gt.commitTransaction("align Column")},Ue.prototype.alignRow=function(dt){dt===void 0&&(dt=0),dt=parseFloat(dt);var gt=this.diagram;gt.startTransaction("align Row");var ft=new Array;gt.selection.each(function(fn){fn instanceof go.Link||ft.push(fn)});for(var jt=0;jt<ft.length-1;jt++){var Yt=ft[jt],Qt=Yt.actualBounds.x+Yt.actualBounds.width+dt,Bn=ft[jt+1];Bn.move(new go.Point(Qt,Yt.actualBounds.y))}gt.commitTransaction("align Row")},Ue.prototype.canRotate=function(dt){var gt=this.diagram;return!(gt===null||gt.isReadOnly||gt.isModelReadOnly||gt.selection.count<1)},Ue.prototype.rotate=function(dt){dt===void 0&&(dt=90);var gt=this.diagram;gt.startTransaction("rotate "+dt.toString());var gt=this.diagram;gt.selection.each(function(ft){ft instanceof go.Link||ft instanceof go.Group||(ft.angle+=dt)}),gt.commitTransaction("rotate "+dt.toString())},Ue.prototype.pullToFront=function(){var dt=this.diagram;dt.startTransaction("pullToFront");var gt=new go.Map;dt.selection.each(function(ft){gt.set(ft.layer,0)}),gt.iteratorKeys.each(function(ft){var jt=0;ft.parts.each(function(Yt){if(!Yt.isSelected){var Qt=Yt.zOrder;isNaN(Qt)?Yt.zOrder=0:jt=Math.max(jt,Qt)}}),gt.set(ft,jt)}),dt.selection.each(function(ft){Ue._assignZOrder(ft,gt.get(ft.layer)+1)}),dt.commitTransaction("pullToFront")},Ue.prototype.pushToBack=function(){var dt=this.diagram;dt.startTransaction("pushToBack");var gt=new go.Map;dt.selection.each(function(ft){gt.set(ft.layer,0)}),gt.iteratorKeys.each(function(ft){var jt=0;ft.parts.each(function(Yt){if(!Yt.isSelected){var Qt=Yt.zOrder;isNaN(Qt)?Yt.zOrder=0:jt=Math.min(jt,Qt)}}),gt.set(ft,jt)}),dt.selection.each(function(ft){Ue._assignZOrder(ft,gt.get(ft.layer)-1-Ue._findGroupDepth(ft))}),dt.commitTransaction("pushToBack")},Ue._assignZOrder=function(dt,gt,ft){ft===void 0&&(ft=dt),dt.layer===ft.layer&&(dt.zOrder=gt),dt instanceof go.Group&&dt.memberParts.each(function(jt){Ue._assignZOrder(jt,gt+1,ft)})},Ue._findGroupDepth=function(dt){if(dt instanceof go.Group){var gt=0;return dt.memberParts.each(function(ft){gt=Math.max(gt,Ue._findGroupDepth(ft))}),gt+1}else return 0},Ue.prototype.doKeyDown=function(){var dt=this.diagram;if(dt!==null){var gt=dt.lastInput;if(gt.key==="Up"||gt.key==="Down"||gt.key==="Left"||gt.key==="Right"){var ft=this.arrowKeyBehavior;if(ft==="none")return;if(ft==="select"){this._arrowKeySelect();return}else if(ft==="move"){this._arrowKeyMove();return}else if(ft==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},Ue.prototype._getAllParts=function(){var dt=new Array;return this.diagram.nodes.each(function(gt){dt.push(gt)}),this.diagram.parts.each(function(gt){dt.push(gt)}),dt},Ue.prototype._arrowKeyMove=function(){var dt=this.diagram,gt=dt.lastInput,ft=0,jt=0;if(gt.control||gt.meta)ft=1,jt=1;else if(dt.grid!==null){var Yt=dt.grid.gridCellSize;jt=Yt.width,ft=Yt.height}dt.startTransaction("arrowKeyMove"),dt.selection.each(function(Qt){gt.key==="Up"?Qt.move(new go.Point(Qt.actualBounds.x,Qt.actualBounds.y-ft)):gt.key==="Down"?Qt.move(new go.Point(Qt.actualBounds.x,Qt.actualBounds.y+ft)):gt.key==="Left"?Qt.move(new go.Point(Qt.actualBounds.x-jt,Qt.actualBounds.y)):gt.key==="Right"&&Qt.move(new go.Point(Qt.actualBounds.x+jt,Qt.actualBounds.y))}),dt.commitTransaction("arrowKeyMove")},Ue.prototype._arrowKeySelect=function(){var dt=this.diagram,gt=dt.lastInput,ft=null;gt.key==="Up"?ft=this._findNearestPartTowards(270):gt.key==="Down"?ft=this._findNearestPartTowards(90):gt.key==="Left"?ft=this._findNearestPartTowards(180):gt.key==="Right"&&(ft=this._findNearestPartTowards(0)),ft!==null&&(gt.shift?ft.isSelected=!0:gt.control||gt.meta?ft.isSelected=!ft.isSelected:dt.select(ft))},Ue.prototype._findNearestPartTowards=function(dt){var gt=this.diagram.selection.first();if(gt===null)return null;for(var ft=gt.actualBounds.center,jt=this._getAllParts(),Yt=1/0,Qt=gt,Bn=0;Bn<jt.length;Bn++){var fn=jt[Bn];if(fn!==gt&&fn.canSelect()){var kn=fn.actualBounds.center,Gn=ft.directionPoint(kn),dr=this._angleCloseness(Gn,dt);if(dr<=45){var zt=ft.distanceSquaredPoint(kn);zt*=1+Math.sin(dr*Math.PI/180),zt<Yt&&(Yt=zt,Qt=fn)}}}return Qt},Ue.prototype._angleCloseness=function(dt,gt){return Math.min(Math.abs(gt-dt),Math.min(Math.abs(gt+360-dt),Math.abs(gt-360-dt)))},Ue.prototype._arrowKeyTree=function(){var dt=this.diagram,gt=dt.selection.first();if(gt instanceof go.Node){var ft=dt.lastInput;if(ft.key==="Right"){if(!gt.isTreeLeaf)if(!gt.isTreeExpanded)dt.commandHandler.canExpandTree(gt)&&dt.commandHandler.expandTree(gt);else{var jt=this._sortTreeChildrenByY(gt).first();jt!==null&&dt.select(jt)}}else if(ft.key==="Left")if(!gt.isTreeLeaf&>.isTreeExpanded)dt.commandHandler.canCollapseTree(gt)&&dt.commandHandler.collapseTree(gt);else{var Yt=gt.findTreeParentNode();Yt!==null&&dt.select(Yt)}else if(ft.key==="Up"){var Yt=gt.findTreeParentNode();if(Yt!==null){var Qt=this._sortTreeChildrenByY(Yt),Bn=Qt.indexOf(gt);if(Bn>0){for(var fn=Qt.elt(Bn-1);fn!==null&&fn.isTreeExpanded&&!fn.isTreeLeaf;){var kn=this._sortTreeChildrenByY(fn);fn=kn.last()}fn!==null&&dt.select(fn)}else dt.select(Yt)}}else if(ft.key==="Down")if(gt.isTreeExpanded&&!gt.isTreeLeaf){var jt=this._sortTreeChildrenByY(gt).first();jt!==null&&dt.select(jt)}else for(;gt!==null;){var Yt=gt.findTreeParentNode();if(Yt===null)break;var Qt=this._sortTreeChildrenByY(Yt),Bn=Qt.indexOf(gt);if(Bn<Qt.length-1){dt.select(Qt.elt(Bn+1));break}else gt=Yt}var Gn=dt.selection.first();Gn!==null&&dt.scrollToRect(Gn.actualBounds)}},Ue.prototype._sortTreeChildrenByY=function(dt){var gt=new go.List().addAll(dt.findTreeChildrenNodes());return gt.sort(function(ft,jt){var Yt=ft.location,Qt=jt.location;return Yt.y<Qt.y?-1:Yt.y>Qt.y?1:Yt.x<Qt.x?-1:Yt.x>Qt.x?1:0}),gt},Ue.prototype.copyToClipboard=function(dt){go.CommandHandler.prototype.copyToClipboard.call(this,dt),this._lastPasteOffset.set(this.pasteOffset)},Ue.prototype.pasteFromClipboard=function(){var dt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(dt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),dt},Object.defineProperty(Ue.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(dt){if(dt!=="move"&&dt!=="select"&&dt!=="scroll"&&dt!=="tree"&&dt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+dt);this._arrowKeyBehavior=dt}}),Object.defineProperty(Ue.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(dt){if(!(dt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+dt);this._pasteOffset.set(dt)}});var Be=Ue,Ze=Se(29277),Te=Se(43604),He=Se(7660),at={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},et=Se(59301),Je=(dt,gt,ft)=>new Promise((jt,Yt)=>{var Qt=kn=>{try{fn(ft.next(kn))}catch(Gn){Yt(Gn)}},Bn=kn=>{try{fn(ft.throw(kn))}catch(Gn){Yt(Gn)}},fn=kn=>kn.done?jt(kn.value):Promise.resolve(kn.value).then(Qt,Bn);fn((ft=ft.apply(dt,gt)).next())});function Ie({onCancel:dt,callback:gt}){let ft=(0,ye.useRef)(),jt=(0,ye.useRef)(),Yt=(0,ye.useRef)(),Qt=(0,ye.useRef)(!1);const Bn=(0,ye.useRef)(!1),[fn,kn]=(0,ye.useState)(0);function Gn(){const zt=Ye.bx.make,Lt={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};ft.current=new Ye.S0(jt.current,{padding:20,grid:zt(Ye.s_,"Grid",zt(Ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),zt(Ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Bt=>{var Wt=Bt.diagram.commandHandler.addTopLevelParts(Bt.diagram.selection,!0);Wt||Bt.diagram.currentTool.doCancel()},commandHandler:zt(Be),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Bt=>{var Wt=Bt.subject;Wt.location=Wt.location.copy().snapToGridPoint(Bt.diagram.grid.gridOrigin,Bt.diagram.grid.gridCellSize),setTimeout(()=>{Bt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Bt=>{var Wt=Bt.subject;setTimeout(()=>{Bt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Bt=>{var Wt=Bt.parameter.part;Wt.invalidateConnectedLinks();var on=Bt.subject;Bt.diagram.toolManager.linkingTool.isForwards?on.toNode.invalidateConnectedLinks():on.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),ft.current.nodeTemplate=zt(Ye.NB,"Auto",{locationSpot:Ye.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ye.$u(120,60),minSize:new Ye.$u(40,40),resizable:!0,resizeCellSize:new Ye.$u(10,10),rotatable:!0},new Ye.KX("location","loc",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),new Ye.KX("desiredSize","size",Ye.$u.parse).makeTwoWay(Ye.$u.stringify),zt(Ye.bn,{name:"SHAPE",fill:Lt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ye.z6.AllSides,toSpot:Ye.z6.AllSides},new Ye.KX("figure"),new Ye.KX("fill"),new Ye.KX("stroke","borderColor"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),zt(Ye.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),zt(Ye.al,{margin:1,textAlign:"center",overflow:Ye.al.OverflowEllipsis,editable:!0},new Ye.KX("text").makeTwoWay(),new Ye.KX("stroke","color"))),ft.current.nodeTemplate.toolTip=zt("ToolTip",zt(Ye.s_,"Vertical",{maxSize:new Ye.$u(200,NaN)},zt(Ye.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ye.KX("text")),zt(Ye.al,{font:"10pt sans-serif",textAlign:"center"},new Ye.KX("text","details"))));function St(Bt,Wt){var on=(Kt,wn)=>{Kt.handled=!0,Kt.diagram.model.commit(Rn=>{var Jn=wn.part.adornedPart,Kn=new Ye.E9().setRectSpot(Jn.actualBounds,Bt);Kn.subtract(Jn.location),Kn.scale(2,2),Kn.x+=Math.sign(Kn.x)*130,Kn.y+=Math.sign(Kn.y)*130,Kn.add(Jn.location),Kn.snapToGridPoint(Kt.diagram.grid.gridOrigin,Kt.diagram.grid.gridCellSize);var sr=Rn.copyNodeData(Jn.data);Rn.setGroupKeyForNodeData(sr,Rn.getGroupKeyForNodeData(Jn.data)),Rn.addNodeData(sr);var Ar={from:Jn.key,to:Rn.getKeyForNodeData(sr)};Rn.addLinkData(Ar);var mr=Kt.diagram.findNodeForData(sr);mr.location=Kn,Kt.diagram.select(mr),setTimeout(()=>{Kt.diagram.commandHandler.editTextBlock()},20)})};return zt(Ye.bn,{figure:Wt,alignment:Bt,alignmentFocus:Bt.opposite(),width:Bt.equals(Ye.z6.Top)||Bt.equals(Ye.z6.Bottom)?25:18,height:Bt.equals(Ye.z6.Top)||Bt.equals(Ye.z6.Bottom)?18:25,fill:"orange",stroke:Lt.white,strokeWidth:4,mouseEnter:(Kt,wn)=>wn.fill="dodgerblue",mouseLeave:(Kt,wn)=>wn.fill="orange",isActionable:!0,click:on,contextClick:on})}function Ut(Bt){return zt(Ye.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Wt,on)=>on.fill="dodgerblue",mouseLeave:(Wt,on)=>on.fill="orange",click:(Wt,on)=>{Wt.diagram.commandHandler.showContextMenu(on.part.adornedPart)}},Bt||{})}ft.current.nodeTemplate.selectionAdornmentTemplate=zt(Ye.uz,"Spot",zt(Ye.Vm,{padding:10}),St(Ye.z6.Top,"TriangleUp"),St(Ye.z6.Left,"TriangleLeft"),St(Ye.z6.Right,"TriangleRight"),St(Ye.z6.Bottom,"TriangleDown"),Ut({alignment:new Ye.z6(.75,0)}));function Pt(Bt,Wt){return(on,Kt)=>{on.handled=!0,on.diagram.model.commit(wn=>{wn.set(Kt.part.adornedPart.data,Bt,Wt)})}}function Tt(Bt,Wt){return Wt||(Wt="color"),zt(Ye.bn,{width:16,height:16,stroke:"lightgray",fill:Bt,margin:1,background:"transparent",mouseEnter:(on,Kt)=>Kt.stroke="dodgerblue",mouseLeave:(on,Kt)=>Kt.stroke="lightgray",click:Pt(Wt,Bt),contextClick:Pt(Wt,Bt)})}function kt(){return[zt("ContextMenuButton",zt(Ye.s_,"Horizontal",Tt(Lt.white,"fill"),Tt(Lt.beige,"fill"),Tt(Lt.extralightblue,"fill"),Tt(Lt.extralightred,"fill"))),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",Tt(Lt.lightgray,"fill"),Tt(Lt.lightgreen,"fill"),Tt(Lt.lightblue,"fill"),Tt(Lt.lightred,"fill")))]}function $t(){return[zt("ContextMenuButton",zt(Ye.s_,"Horizontal",Tt(Lt.black),Tt(Lt.green),Tt(Lt.blue),Tt(Lt.red))),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",Tt(Lt.white),Tt(Lt.magenta),Tt(Lt.purple),Tt(Lt.orange)))]}function nn(Bt,Wt){return Wt||(Wt="thickness"),zt(Ye.bn,"LineH",{width:16,height:16,strokeWidth:Bt,margin:1,background:"transparent",mouseEnter:(on,Kt)=>Kt.background="dodgerblue",mouseLeave:(on,Kt)=>Kt.background="transparent",click:Pt(Wt,Bt),contextClick:Pt(Wt,Bt)})}function mn(Bt,Wt){return Wt||(Wt="dash"),zt(Ye.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Bt,margin:1,background:"transparent",mouseEnter:(on,Kt)=>Kt.background="dodgerblue",mouseLeave:(on,Kt)=>Kt.background="transparent",click:Pt(Wt,Bt),contextClick:Pt(Wt,Bt)})}function Sn(){return[zt("ContextMenuButton",zt(Ye.s_,"Horizontal",nn(1),nn(2),nn(3),nn(4))),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",mn(null),mn([2,4]),mn([4,4])))]}function An(Bt,Wt){return Wt||(Wt="figure"),zt(Ye.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Bt,margin:1,background:"transparent",mouseEnter:(on,Kt)=>Kt.fill="dodgerblue",mouseLeave:(on,Kt)=>Kt.fill="lightgray",click:Pt(Wt,Bt),contextClick:Pt(Wt,Bt)})}ft.current.nodeTemplate.contextMenu=zt("ContextMenu",zt("ContextMenuButton",zt(Ye.s_,"Horizontal",An("Rectangle"),An("RoundedRectangle"),An("Ellipse"),An("Diamond"))),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",An("Parallelogram2"),An("ManualOperation"),An("Procedure"),An("Cylinder1"))),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",An("Terminator"),An("CreateRequest"),An("Document"),An("TriangleDown"))),kt(),$t(),Sn()),ft.current.groupTemplate=zt(Ye.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ye.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Bt,Wt)=>{var on=Wt.addMembers(Wt.diagram.selection,!0);on||Wt.diagram.currentTool.doCancel()},avoidable:!1},new Ye.KX("location","loc",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),zt(Ye.s_,"Auto",{name:"BODY"},zt(Ye.bn,{parameter1:10,fill:Lt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ye.z6.AllSides,toSpot:Ye.z6.AllSides},new Ye.KX("fill"),new Ye.KX("stroke","color"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),zt(Ye.Vm,{background:"transparent",margin:20})),zt(Ye.al,{alignment:Ye.z6.Top,alignmentFocus:Ye.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ye.KX("text"),new Ye.KX("stroke","color"))),ft.current.groupTemplate.selectionAdornmentTemplate=zt(Ye.uz,"Spot",zt(Ye.s_,"Auto",zt(Ye.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),zt(Ye.Vm,{margin:1.5})),Ut({alignment:Ye.z6.TopRight,alignmentFocus:Ye.z6.BottomRight})),ft.current.groupTemplate.contextMenu=zt("ContextMenu",kt(),$t(),Sn()),ft.current.linkTemplate=zt(Ye.rU,{layerName:"Foreground",routing:Ye.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ye.KX("fromSpot","fromSpot",Ye.z6.parse),new Ye.KX("toSpot","toSpot",Ye.z6.parse),new Ye.KX("fromShortLength","dir",Bt=>Bt>=1?10:0),new Ye.KX("toShortLength","dir",Bt=>Bt>=1?10:0),new Ye.KX("points").makeTwoWay(),zt(Ye.bn,{strokeWidth:2},new Ye.KX("stroke","color"),new Ye.KX("strokeWidth","thickness"),new Ye.KX("strokeDashArray","dash")),zt(Ye.bn,{segmentIndex:0,segmentOffset:new Ye.E9(15,0),segmentOrientation:Ye.rU.OrientAlong,alignmentFocus:Ye.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",Bt=>Bt===1)),zt(Ye.bn,{segmentIndex:-1,segmentOffset:new Ye.E9(-10,6),segmentOrientation:Ye.rU.OrientPlus90,alignmentFocus:Ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",Bt=>Bt>=1),new Ye.KX("width","thickness",Bt=>7+3*Bt),new Ye.KX("height","thickness",Bt=>7+3*Bt),new Ye.KX("segmentOffset","thickness",Bt=>new Ye.E9(-15,4+1.5*Bt))),zt(Ye.bn,{segmentIndex:0,segmentOffset:new Ye.E9(15,-6),segmentOrientation:Ye.rU.OrientMinus90,alignmentFocus:Ye.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ye.KX("fill","color"),new Ye.KX("visible","dir",Bt=>Bt===2),new Ye.KX("width","thickness",Bt=>7+3*Bt),new Ye.KX("height","thickness",Bt=>7+3*Bt),new Ye.KX("segmentOffset","thickness",Bt=>new Ye.E9(-15,4+1.5*Bt))),zt(Ye.al,{alignmentFocus:new Ye.z6(0,1,-4,0),editable:!0},new Ye.KX("text").makeTwoWay(),new Ye.KX("stroke","color"))),ft.current.linkTemplate.selectionAdornmentTemplate=zt(Ye.uz,zt(Ye.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:En(2)},new Ye.KX("pathPattern","thickness",En)),Ut({alignmentFocus:new Ye.z6(0,0,-6,-4)}));function En(Bt){return zt(Ye.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Bt+4).toString()+" H3"})}function Tn(Bt){var Wt="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Bt===0?Wt="M0 0 M16 16 M0 8 L16 8":Bt===2&&(Wt="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),zt(Ye.bn,{geometryString:Wt,margin:2,background:"transparent",mouseEnter:(on,Kt)=>Kt.background="dodgerblue",mouseLeave:(on,Kt)=>Kt.background="transparent",click:Pt("dir",Bt),contextClick:Pt("dir",Bt)})}function _n(Bt){var Wt=(on,Kt)=>{on.handled=!0,on.diagram.model.commit(wn=>{var Rn=Kt.part.adornedPart;wn.set(Rn.data,Bt?"toSpot":"fromSpot",Ye.z6.stringify(Ye.z6.AllSides)),(Bt?Rn.toNode:Rn.fromNode).invalidateConnectedLinks()})};return zt(Ye.bn,{width:12,height:12,fill:"transparent",mouseEnter:(on,Kt)=>Kt.background="dodgerblue",mouseLeave:(on,Kt)=>Kt.background="transparent",click:Wt,contextClick:Wt})}function It(Bt,Wt){var on=0,Kt=Ye.z6.RightSide;Bt.equals(Ye.z6.Top)?(on=270,Kt=Ye.z6.TopSide):Bt.equals(Ye.z6.Left)?(on=180,Kt=Ye.z6.LeftSide):Bt.equals(Ye.z6.Bottom)&&(on=90,Kt=Ye.z6.BottomSide),Wt||(on-=180);var wn=(Rn,Jn)=>{Rn.handled=!0,Rn.diagram.model.commit(Kn=>{var sr=Jn.part.adornedPart;Kn.set(sr.data,Wt?"toSpot":"fromSpot",Ye.z6.stringify(Kt)),(Wt?sr.toNode:sr.fromNode).invalidateConnectedLinks()})};return zt(Ye.bn,{alignment:Bt,alignmentFocus:Bt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:on,background:"transparent",mouseEnter:(Rn,Jn)=>Jn.background="dodgerblue",mouseLeave:(Rn,Jn)=>Jn.background="transparent",click:wn,contextClick:wn})}ft.current.linkTemplate.contextMenu=zt("ContextMenu",$t(),Sn(),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",Tn(0),Tn(1),Tn(2))),zt("ContextMenuButton",zt(Ye.s_,"Horizontal",zt(Ye.s_,"Spot",_n(!1),It(Ye.z6.Top,!1),It(Ye.z6.Left,!1),It(Ye.z6.Right,!1),It(Ye.z6.Bottom,!1)),zt(Ye.s_,"Spot",{margin:new Ye.Zt(0,0,0,2)},_n(!0),It(Ye.z6.Top,!0),It(Ye.z6.Left,!0),It(Ye.z6.Right,!0),It(Ye.z6.Bottom,!0)))));const Xn=`{ "class": "GraphLinksModel",
|
|
|
"nodeDataArray": [
|
|
|
{"text":"Find Problem","key":-9,"loc":"-20 -140","color":"#3358ff","fill":"white","figure":"Procedure","thickness":3},
|
|
|
{"text":"What do we want?","key":-10,"loc":"-65 -324.305","group":-16,"figure":"Ellipse","fill":"white"},
|
|
|
{"text":"What do our users want?","key":-11,"loc":"105 -334.305","group":-20,"figure":"Ellipse","fill":"#ffffff","color":"black"},
|
|
|
{"text":"Meetings","key":-12,"loc":"-65 -444.305","group":-16,"figure":"TriangleDown","fill":"#ffffff"},
|
|
|
{"text":"Reviews","key":-13,"loc":"105 -454.305","group":-20,"figure":"TriangleDown","fill":"#ffffff","color":"black"},
|
|
|
{"text":"Can we solve it?","key":-14,"loc":"190 -140","color":"#7d33ff","fill":"#ffffff","figure":"Diamond","size":"140 80","thickness":3},
|
|
|
{"isGroup":true,"text":"Internal","key":-16,"loc":"-65 -384.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
|
{"isGroup":true,"text":"External","key":-20,"loc":"105 -394.305","fill":"#d5ebff","dash":null,"thickness":1,"group":-22},
|
|
|
{"isGroup":true,"text":"Sources","key":-22,"loc":"20 -400","fill":"#a5d2fa","dash":[4,4],"color":"#3358ff"}
|
|
|
],
|
|
|
"linkDataArray": [
|
|
|
{"from":-12,"to":-10,"points":[-65,-414.305,-65,-404.305,-65,-384.305,-65,-384.305,-65,-364.305,-65,-354.305],"dash":null,"dir":1},
|
|
|
{"from":-13,"to":-11,"points":[105,-424.305,105,-414.305,105,-394.305,105,-394.305,105,-374.305,105,-364.305],"dash":null,"color":"#000000","dir":1},
|
|
|
{"from":-10,"to":-9,"points":[-65,-294.305,-65,-284.305,-65,-232.1525,-40,-232.1525,-40,-180,-40,-170],"dir":2,"dash":[4,4]},
|
|
|
{"from":-11,"to":-9,"points":[105,-304.305,105,-294.305,105,-237.1525,0,-237.1525,0,-180,0,-170],"dash":[4,4],"dir":2},
|
|
|
{"from":-9,"to":-14,"points":[40,-150,58,-150,80,-150,80,-153.33333333333331,102,-153.33333333333331,120,-153.33333333333331],"dir":1,"color":"#3358ff"},
|
|
|
{"from":-14,"to":-9,"points":[190,-100,190,-90,-20,-90,-20,-95,-20,-100,-20,-110],"fromSpot":"BottomSide","toSpot":"BottomSide","text":"No","color":"#ff3333","thickness":2,"dir":1},
|
|
|
{"from":-9,"to":-14,"points":[40,-130,58,-130,80,-130,80,-126.66666666666666,102,-126.66666666666666,120,-126.66666666666666]}
|
|
|
]}`;var Nn=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function zn(Bt){return console.log("shapeName:",Bt),Nn.indexOf(Bt)>=0}var hn=new Ye.YI(Yt.current,{maxSelectionCount:1,linkTemplate:zt(Ye.rU,{locationSpot:Ye.z6.Center,selectionAdornmentTemplate:zt(Ye.uz,"Link",{locationSpot:Ye.z6.Center},zt(Ye.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),zt(Ye.bn,{toArrow:"Standard",stroke:null}))},{routing:Ye.rU.AvoidsNodes,curve:Ye.rU.JumpOver,corner:5,toShortLength:4},new Ye.KX("points"),zt(Ye.bn,{isPanelMain:!0,strokeWidth:2}),zt(Ye.bn,{toArrow:"Standard",stroke:null})),model:new Ye.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ye.bn.getFigureGenerators().toArray().map(Bt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Bt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return ft.current.addDiagramListener("TextEdited",function(Bt){var Wt;const on=Bt.subject.part;var Kt=(Wt=document.activeElement)==null?void 0:Wt.value;typeof Kt=="string"&&Kt.trim()===""&&ft.current.model.commit(function(wn){wn.set(on.data,"text","\u672A\u547D\u540D"),ft.current.commandHandler.stopCommand()},"increment")}),hn.nodeTemplate=zt(Ye.NB,"Auto",{locationSpot:Ye.z6.Center},new Ye.KX("location","location",Ye.E9.parse).makeTwoWay(Ye.E9.stringify),zt(Ye.bn,"Circle",{fill:"white",stroke:"gray",strokeWidth:2,width:20,height:20,portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromLinkableSelfNode:!0,toLinkableSelfNode:!0},new Ye.KX("stroke").makeTwoWay(),new Ye.KX("fill").makeTwoWay(),new Ye.KX("figure")),zt(Ye.al,{margin:new Ye.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ye.$u(16,16),maxSize:new Ye.$u(10,NaN),textAlign:"center",editable:!0},new Ye.KX("key").makeTwoWay())),setTimeout(()=>{ft.current.grid=zt(Ye.s_,"Grid",zt(Ye.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),zt(Ye.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),ft.current.grid.visible=!0,ft.current.grid.gridCellStroke="darkgray",ft.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=ft.current,ft.current}const dr=()=>Je(this,null,function*(){var zt=ft.current.makeImage();const Lt=yield(0,He.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:zt.src}});gt({src:Lt.url})});return(0,ye.useEffect)(()=>(setTimeout(()=>{Gn()},500),kn(fn+1),()=>{ft.current=null}),[]),et.createElement("div",{ref:Bn,className:Qt.current?`${at.maxH60} body-overflow-initial`:"body-overflow-initial"},et.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!fn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:et.createElement(Ne.Z,null,et.createElement(Te.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),et.createElement(Te.Z,{onClick:()=>{var zt,Lt,St=ft.current.selection.first();if(Qt.current=!Qt.current,document.activeElement&&St){let Ut=(Lt=(zt=document.activeElement)==null?void 0:zt.value)==null?void 0:Lt.trim();typeof Ut=="string"&&ft.current.model.commit(function(Pt){Pt.set(St.data,"text",Ut||"\u672A\u547D\u540D"),ft.current.commandHandler.stopCommand()},"increment")}kn(fn+1)}},et.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:dt},et.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:at.flowChartWrp},et.createElement("div",{style:{display:"flex",height:"100%"}},et.createElement("div",{style:{width:"300px",height:"100%"}},et.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),et.createElement("div",{style:{height:"calc(100% - 50px)"},className:at.myPaletteDiv,ref:Yt})),et.createElement("div",{style:{flex:1,position:"relative"}},et.createElement("div",{ref:jt,style:{height:"80vh"}}))),et.createElement("div",{className:"tr"},et.createElement(Ee.ZP,{size:"large",onClick:dr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var xe=Ie,De=Se(5112),Re=Se(5871);const Xe=De.ZP.Group,nt={margin:"0 8px"};var $e=({callback:dt,onCancel:gt})=>{function ft(jt){dt(jt)}return ye.createElement(ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:ft},ye.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ye.createElement("span",{style:nt},"\u5355\u5143\u683C\u6570\uFF1A"),ye.createElement("span",{style:nt},"\u884C\u6570"),ye.createElement(ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ye.createElement(Re.Z,null)),ye.createElement("span",{style:nt},"\u5217\u6570"),ye.createElement(ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ye.createElement(Re.Z,null))),ye.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ye.createElement("span",{style:nt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ye.createElement(ve.default.Item,{name:"align"},ye.createElement(Xe,null,ye.createElement(De.ZP,{value:"default"},ye.createElement("i",{className:"fa fa-align-justify"})),ye.createElement(De.ZP,{value:"left"},ye.createElement("i",{className:"fa fa-align-left"})),ye.createElement(De.ZP,{value:"center"},ye.createElement("i",{className:"fa fa-align-center"})),ye.createElement(De.ZP,{value:"right"},ye.createElement("i",{className:"fa fa-align-right"}))))),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Ee.ZP,{type:"ghost",onClick:gt},"\u53D6\u6D88")))},tt=Se(78673),st=Se(5559),it=Se.n(st),ut=(0,ye.forwardRef)(({use3d:dt,width:gt,height:ft,callback:jt,showSaveButton:Yt},Qt)=>{const Bn=(0,ye.useRef)(),fn=(0,ye.useRef)(),[kn,Gn]=(0,ye.useState)(!1),dr=(0,ye.useRef)({id:Bn,appName:"graphing",width:gt||1e3,height:ft||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ye.useEffect)(()=>{fn.current=new(it())(dr.current,!0),window.onload=function(){fn.current.inject("applet_container")}},[]);const zt=()=>{var Lt=window.ggbApplet.getPNGBase64(1,!0,72);return jt&&jt(Lt),Lt};return(0,ye.useEffect)(()=>{dr.current.appName=kn?"3D":"graphing",fn.current.inject("applet_container")},[kn]),(0,ye.useEffect)(()=>{Gn(dt)},[dt]),(0,ye.useImperativeHandle)(Qt,()=>({getImgData:zt})),ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Bn}),ye.createElement(Ne.Z,{align:"middle"},ye.createElement(Te.Z,{flex:1},ye.createElement(tt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:kn,onChange:Lt=>Gn(Lt)})),ye.createElement(Te.Z,null,ye.createElement(Ee.ZP,{size:"large",onClick:zt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),pt=Se(46531),vt=Se(8591);const mt="link",bt="upload-image",_t="add-flowchart",Mt="draw-image",yt="add-flowchart",wt="code-block",xt="add-table",un="------------",Vt={default:un,left:`:${un}`,center:`:${un}:`,right:`${un}:`};var sn=Se(50505);function Zt(){}let en=0;const Ht=1e4,ln="\u2581",Ln="@\u2581\u2581@",Pn="@\u2581@",xn=`
|
|
|
**\u6A21\u677F\u6807\u9898**
|
|
|
\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,bn=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function gn(dt){return/^\d+$/.test(dt)?`${dt}px`:dt}const Ot=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",At={[Ot+"-B"]:"bold",[Ot+"-I"]:"italic"},qt={[mt]:"\u6DFB\u52A0\u94FE\u63A5",[wt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[bt]:"\u6DFB\u52A0\u56FE\u7247",[Mt]:"\u6DFB\u52A0\u753B\u56FE",[_t]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[xt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var dn=({defaultValue:dt="",onChange:gt,width:ft="100%",height:jt=400,miniToolbar:Yt=!1,isFocus:Qt=!1,watch:Bn,insertTemp:fn,mode:kn="markdown",id:Gn="markdown-editor-id",showResizeBar:dr=!1,noStorage:zt=!1,showNullButton:Lt=!1,showNullProgramButton:St=!1,hidetoolBar:Ut=!1,fullScreen:Pt=!1,onBlur:Tt,onCMBeforeChange:kt,onFullScreen:$t,className:nn="",disablePaste:mn=!1,disabled:Sn=!1,disabledFill:An=!1,placeholder:En="",values:Tn="",extraUse:_n})=>{const[It,Xn]=(0,ye.useState)(null),[Nn,zn]=(0,ye.useState)(dt),[hn,Bt]=(0,ye.useState)(Bn),[Wt,on]=(0,ye.useState)(Pt),[Kt,wn]=(0,ye.useState)(""),[Rn,Jn]=(0,ye.useState)(0),[Kn,sr]=(0,ye.useState)(jt),[Ar,mr]=(0,ye.useState)(!1),[Jt,Lr]=(0,ye.useState)(0),[_r,rr]=(0,ye.useState)(0),or=(0,ye.useRef)(),pr=(0,ye.useRef)(),vr=(0,ye.useRef)(),br=(0,ye.useRef)();(0,ye.useEffect)(()=>{const Et=window.scrollY||window.pageYOffset;zn(Tn),It==null||It.setValue(Tn),window.scrollTo(0,Et)},[Tn]),(0,ye.useEffect)(()=>{$t==null||$t(Wt)},[Wt]),(0,ye.useEffect)(()=>{if(or.current){let Et=function(Gt,Nt){var rn;if(mn){Nt.preventDefault();return}const an=Nt.clipboardData;if(an){const Xt=an.types.toString(),cn=an.items;if(Xt==="Files"||an.types.indexOf("Files")>-1){if(Nt.preventDefault(),kn=="stex")return;try{let tn=cn[1];((rn=cn[0])==null?void 0:rn.kind)==="file"&&(tn=cn[0]);const Dn=tn.getAsFile(),Cn=Dn.name.split(".").pop();(0,ze.I)(Dn,In=>{var Mn,Qn,$n;In.id?((Mn=Dn==null?void 0:Dn.type)==null?void 0:Mn.indexOf("image"))>-1?Rt.replaceSelection(``):((Qn=Dn==null?void 0:Dn.type)==null?void 0:Qn.indexOf("video"))>-1?Rt.replaceSelection(`<video width="100%" controls src="/api/attachments/${In.id}"></video>`):(($n=Dn==null?void 0:Dn.type)==null?void 0:$n.indexOf("pdf"))>-1?Rt.replaceSelection(`<a href="/api/attachments/${In.id}?type=${Dn.type}&disposition=inline" target="_blank">${Dn.name}</a>`):bn.includes(Cn)?Rt.replaceSelection(`<a href="/api/attachments/${In.id}?type=office&disposition=inline" target="_blank">${Dn.name}</a>`):Rt.replaceSelection(`[${Dn.name}](/api/attachments/${In.id}?type=${In.content_type})`):(In==null?void 0:In.status)===401&&(document.location.href="/user/login")})}catch(tn){vt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Rt=E().fromTextArea(or.current,{mode:kn,lineNumbers:!Yt,lineWrapping:!0,value:dt,autoCloseTags:!0,autoCloseBrackets:!0});return Rt.on("keyup",function(Gt,Nt){Nt.keyCode===8&&(Gt.getValue()==""?Rt.setOption("placeholder",En):Rt.setOption("placeholder",null))}),Rt.on("keydown",function(Gt,Nt){if(Nt.keyCode===8){var rn=qn(Gt);rn&&Nt.preventDefault()}}),Qt&&Rt.focus(),Rt.on("paste",Et),Sn&&Rt.on("beforeChange",function(Gt,Nt){(Nt.origin==="paste"||Nt.origin==="+input")&&Nt.cancel()}),Xn(Rt),()=>{Rt.off("paste",Et)}}},[]);const jn=(0,ye.useCallback)(()=>{if(pr.current)try{}catch(Et){console.log(Et,"---- to set md editor body height")}},[Kn,pr,Wt]);(0,ye.useEffect)(()=>{function Et(){let Rt=new pe.Z(Gt=>{for(let Nt of Gt)(Nt.target.offsetHeight>0||Nt.target.offsetWidth>0)&&(jn(),It.setSize("100%","100%"),It.refresh())});return Rt.observe(or.current.parentElement),Rt}if(It){const Rt=Et();return()=>{var Gt,Nt;(Gt=or.current)!=null&&Gt.parentElement&&Rt.unobserve((Nt=or.current)==null?void 0:Nt.parentElement)}}},[It,jn]),(0,ye.useEffect)(()=>{if(It){let Et=[];for(const[Rt,Gt]of Object.entries(At)){let Nt={[Rt]:()=>{gr(Gt)}};Et.push(Nt),It.addKeyMap(Nt)}return()=>{for(let Rt of Et)It.removeKeyMap(Rt)}}},[It]),(0,ye.useEffect)(()=>{Pt!==Wt&&on(Pt)},[Pt]),(0,sn.Z)(()=>{if(!zt&&Rn>0){let Et=new Date().getTime(),Rt=window.sessionStorage.getItem(Gn);Et>=Rn+Ht&&(!Rt||Rt!==Nn)&&(window.sessionStorage.setItem(Gn,Nn),mr(!0))}},Ht),(0,ye.useEffect)(()=>{Bt(Bn)},[It,Bn]),(0,ye.useEffect)(()=>{It&&Qt&&It.focus()},[It,Qt]),(0,ye.useEffect)(()=>{if(hn&&It){let Et=function(Gt){let Nt=Gt.target;if(br.current){let rn=Nt.scrollTop/Nt.scrollHeight;br.current.scrollTop=br.current.scrollHeight*rn}};const Rt=It.getScrollerElement();return Rt.addEventListener("scroll",Et),()=>{Rt.removeEventListener("scroll",Et)}}},[It,hn]),(0,ye.useEffect)(()=>{if(It&&kt){let Et=function(Rt,Gt){kt(Rt,Gt)};return It.on("beforeChange",Et),()=>{It.off("beforeChange",Et)}}},[It,kt]),(0,ye.useEffect)(()=>{if(It&&Tt){let Et=function(){Tt(It.getValue())};return It.on("blur",Et),()=>{It.off("blur",Et)}}},[It,Tt]);function qn(Et,Rt){var Gt=Et.getDoc(),Nt=Gt.getCursor(),rn=Gt.getLine(Nt.line),an=rn.charAt(Nt.ch-1),Xt=rn.lastIndexOf("@\u2581@",Nt.ch),cn=rn.lastIndexOf("@\u2581\u2581@",Nt.ch),tn=Xt>cn?Xt:cn,Dn=Xt>cn?3:4;if(Ln.indexOf(an)===-1)return null;if(console.log("change1:",Rt,Et,rn,Nt,tn,Xt,cn,an),tn>=0&&Nt.ch-tn<5){var Cn=tn+Dn;return Gt.replaceRange("",{line:Nt.line,ch:tn},{line:Nt.line,ch:Cn}),{line:Nt.line,ch:Cn}}return null}(0,ye.useEffect)(()=>{if(It){let Et=function(Rt,Gt){const Nt=Rt.getValue();zn(Nt),Jn(new Date().getTime()),Rt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),gt&&(St?gt(Nt,Tr(Nt)):gt(Nt))};return It.on("change",Et),()=>{It.off("change",Et)}}},[It,gt]),(0,ye.useEffect)(()=>{if(It)if(dt==null)It.setValue(""),zn("");else{const Et=window.scrollY||window.pageYOffset;dt!==It.getValue()&&(It.setValue(dt),zn(dt),It.setCursor(Sn?1:It.lineCount(),0),window.scrollTo(0,Et))}},[It,dt]);const gr=(0,ye.useCallback)(Et=>{const Rt=It.getCursor(),Gt=It.getSelection();let Nt=Gt.split(`
|
|
|
`);switch(Et){case"bold":return It.replaceSelection("**"+Gt+"**"),Gt===""&&It.setCursor(Rt.line,Rt.ch+2),It.focus();case"italic":return It.replaceSelection("*"+Gt+"*"),Gt===""&&It.setCursor(Rt.line,Rt.ch+1),It.focus();case"code":return It.replaceSelection("`"+Gt+"`"),Gt===""&&It.setCursor(Rt.line,Rt.ch+1),It.focus();case"inline-latex":return wn("inline-latex"),It.focus();case"latex":return It.replaceSelection("```latex\n"+Gt+"\n```"),It.setCursor(Rt.line+1,Gt.length+1),It.focus();case"line-break":return It.replaceSelection(`<br/>
|
|
|
`),It.focus();case"list-ul":return Gt===""?It.replaceSelection("- "+Gt):It.replaceSelection(Nt.map(rn=>rn===""?"":`- ${rn}`).join(`
|
|
|
`)),It.focus();case"list-ol":return Gt===""?It.replaceSelection("1. "+Gt):It.replaceSelection(Nt.map((rn,an)=>rn===""?"":`${an+1}. ${rn}`).join(`
|
|
|
`)),It.focus();case"add-null-ch":return Gt===""&&It.setCursor(Rt.line,Rt.ch),It.replaceSelection(ln),It.focus();case"add-signal":return Gt===""&&It.setCursor(Rt.line,Rt.ch),It.replaceSelection(Pn),It.focus();case"add-multiple":return Gt===""&&It.setCursor(Rt.line,Rt.ch),It.replaceSelection(Ln),It.focus();case"inster-template-1":return Gt===""&&It.setCursor(Rt.line,Rt.ch),It.replaceSelection(xn),It.focus();case"eraser":return It.setValue(""),It.focus();case"trigger-watch":return Bt(!hn),It.focus();case"trigger-full-screen":return on(!Wt),It.focus();case mt:wn(mt);return;case wt:wn(wt);return;case bt:wn(bt);return;case Mt:wn(Mt);return;case"maths-latex":wn("maths-latex");return;case _t:wn(_t);return;case xt:wn(xt);return;default:throw new Error}},[It,hn,Wt]),Vn=(0,ye.useCallback)((Et,Rt)=>{var Gt,Nt,rn,an,Xt,cn;switch(wn(""),Kt){case mt:const{title:Mn,link:Qn}=Et;return It.replaceSelection(`[${Mn}](${Qn})`),It.focus();case wt:const{language:$n,content:xr}=Et;return It.replaceSelection(["```"+$n,xr,"```"].join(`
|
|
|
`)),It.focus();case"maths-latex":for(var tn=atob(Et),Dn=new Uint8Array(tn.length),Cn=0;Cn<tn.length;Cn++)Dn[Cn]=tn.charCodeAt(Cn);var In=new Blob([Dn],{type:"image/png"});(0,ze.I)(In,er=>{er.id?It.replaceSelection(``):(er==null?void 0:er.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":It.replaceSelection("`$$"+Et+"$$`");break;case bt:case Mt:case yt:const{src:wr,alt:nr}=Et,ur=Rt,Dr=(rn=(Nt=(Gt=ur==null?void 0:ur.name)==null?void 0:Gt.split("."))==null?void 0:Nt.pop)==null?void 0:rn.call(Nt);return((an=ur==null?void 0:ur.type)==null?void 0:an.indexOf("image"))>-1||!(ur!=null&&ur.type)?nr?It.replaceSelection(``):It.replaceSelection(``):((Xt=ur==null?void 0:ur.type)==null?void 0:Xt.indexOf("video"))>-1?It.replaceSelection(`<video width="100%" controls src="${wr}"></video>`):((cn=ur==null?void 0:ur.type)==null?void 0:cn.indexOf("pdf"))>-1?It.replaceSelection(`<a href="${wr}?type=${ur.type}&disposition=inline" target="_blank">${ur.name}</a>`):bn.includes(Dr)?It.replaceSelection(`<a href="${wr}?type=office&disposition=inline" target="_blank">${ur.name}</a>`):It.replaceSelection(`[${ur.name}](${wr})`),It.focus();case xt:const{row:Wn,col:cr,align:Zn}=Et;let vn=`
|
|
|
`;for(let er=0;er<Wn;er++){let yr=[],fr=[];for(let Ft=0;Ft<cr;Ft++)er===1&&fr.push(Vt[Zn]),yr.push(" ");er===1&&(vn+=`| ${fr.join(" | ")} |
|
|
|
`),vn+=`| ${yr.join(cr===1?"":" | ")} |
|
|
|
`}return It.replaceSelection(vn+`
|
|
|
`),It.focus();default:throw new Error}},[It,Kt]),hr=(0,ye.useMemo)(()=>{switch(Kt){case mt:return ye.createElement(Ge,{callback:Vn,onCancel:lr});case wt:return ye.createElement(Ke.Z,{callback:Vn,onCancel:lr});case bt:return ye.createElement(ze.Z,{callback:Vn,onCancel:lr});case _t:return ye.createElement(xe,{callback:Vn,onCancel:lr});case xt:return ye.createElement($e,{callback:Vn,onCancel:lr});case"maths-latex":return ye.createElement(ut,{showSaveButton:!0,callback:Vn});case"inline-latex":return ye.createElement(pt.Z,{showSaveButton:!0,callback:Vn});default:return null}},[Kt]);function lr(){wn("")}(0,ye.useEffect)(()=>{if(vr.current){let Et=function(Xt){rn=!0,an=Xt.pageY},Rt=function(){rn=!1},Gt=function(Xt){if(rn){let cn=Xt.pageY-an;cn<0&&(cn=0),cn>300&&(cn=300);let tn=jt+cn+"px";sr(tn)}},Nt=vr.current,rn=!1,an=0;return Nt.addEventListener("mousedown",Et),document.addEventListener("mousemove",Gt),document.addEventListener("mouseup",Rt),()=>{Nt.removeEventListener("mousedown",Et),document.removeEventListener("mousemove",Gt),document.removeEventListener("mouseup",Rt)}}},[It,vr]),(0,ye.useEffect)(()=>{sr(jt)},[jt]);const Sr=gn(ft),Er=gn(Kn),ir={width:Sr,height:Er},Ir=(0,ye.useMemo)(()=>{if(Rn){let Et=new Date(Rn),Rt=Et.getHours(),Gt=Et.getMinutes(),Nt=Et.getSeconds();return Rt=Rt<10?"0"+Rt:Rt,Gt=Gt<10?"0"+Gt:Gt,Nt=Nt<10?"0"+Nt:Nt,`${Rt}:${Gt}:${Nt}`}return 0},[Rn]),Tr=Et=>{const Rt=[];if(St){let Gt=-1;Et=Et.replace(/(@▁▁@|@▁@)/g,function(Nt,rn,an){Rt.push({multiLine:Nt!==Pn})})}return Rt};function Br(){window.sessionStorage.removeItem(Gn),mr(!1),Jn(0)}function kr(){mr(!1),Jn(0),It.setValue(window.sessionStorage.getItem(Gn))}(0,ye.useEffect)(()=>{qt[Kt]&&Kt!==Mt&&Kt!==_t&&setTimeout(()=>{const Et=document.getElementsByClassName("markdown-popup-form")[0],Rt=window.innerWidth/2-Et.offsetWidth/2,Gt=window.innerHeight/2-Et.offsetHeight/2;Lr(Rt),rr(Gt)},0)},[Kt]);const ht=Et=>{Et.preventDefault();const Rt=Et.clientX-Jt,Gt=Et.clientY-_r;document.body.onmousemove=Nt=>{let rn=Nt.clientX-Rt,an=Nt.clientY-Gt;const Xt=document.getElementsByClassName("markdown-popup-form")[0],cn=window.innerWidth-Xt.offsetWidth,tn=window.innerHeight-Xt.offsetHeight;rn=Math.max(0,Math.min(rn,cn)),an=Math.max(0,Math.min(an,tn)),Dt(Nt.clientX,Nt.clientY,Rt,Gt)&&(Lr(rn),rr(an))},document.body.onmouseup=function(){document.body.onmousemove=null}},Dt=(Et,Rt,Gt,Nt)=>{const rn=document.body.clientHeight,an=document.body.clientWidth;return Et<20&&Gt>Et||Et>an-20&&Gt<Et||Rt<20&&Nt>Rt||Rt>rn-20&&Nt<Rt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"markdown-editor-wrapper",ref:pr},ye.createElement("div",{className:`markdown-editor-container ${nn} ${hn?"on-preview":""} ${Yt?"mini":""} ${Wt?"full-screen":""}`,style:ir},ye.createElement(me,{insertTemp:fn,watch:hn,fullScreen:Wt,showNullButton:Lt,showNullProgramButton:St,onActionCallback:gr,hidetoolBar:Ut,extraUse:_n}),ye.createElement("div",{className:"markdown-editor-body"},ye.createElement("div",{className:"codemirror-container"},ye.createElement("textarea",{ref:or,placeholder:En})),hn?ye.createElement("div",{ref:br,className:"preview-container"},kn==="stex"&&ye.createElement(re,{value:Nn}),kn!=="stex"&&ye.createElement(ae.Z,{disabledFill:An,showProgramFill:St,value:Nn})):null))),dr?ye.createElement("a",{ref:vr,className:"editor-resize"}):null,Kt===Mt&&ye.createElement(rt,{callback:Vn,onCancel:lr}),Kt===_t&&ye.createElement(xe,{callback:Vn,onCancel:lr}),ye.createElement(be.Z,null,qt[Kt]&&Kt!==Mt&&Kt!==_t?ye.createElement(ke.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Jt,top:_r},title:ye.createElement("div",{style:{cursor:"move"},onMouseDown:ht},qt[Kt]),open:!0,onCancel:lr,footer:null,destroyOnClose:!0,width:Kt===_t?"1200px":null,height:Kt===_t?"80vh":null,className:"markdown-popup-form"},hr):null))}},56030:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return z},I:function(){return de}});var ye=Se(78241),je=Se(8591),E=Se(92832),pe=Se(3113),he=Se(49291),ce=Se(59301),oe=Se(59301),ie=Object.defineProperty,le=Object.defineProperties,se=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,re=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,te=(ge,fe,me)=>fe in ge?ie(ge,fe,{enumerable:!0,configurable:!0,writable:!0,value:me}):ge[fe]=me,a=(ge,fe)=>{for(var me in fe||(fe={}))re.call(fe,me)&&te(ge,me,fe[me]);if(ae)for(var me of ae(fe))ne.call(fe,me)&&te(ge,me,fe[me]);return ge},y=(ge,fe)=>le(ge,se(fe));const{useForm:x}=ye.default,b={width:280,marginRight:10},ee={labelCol:{span:5},wrapperCol:{span:19}};var z=({callback:ge,onCancel:fe})=>{const[me]=x();let be=(0,ce.useRef)();function ve(Ae){ge(Ae,be.current)}function Pe(Ae,Ce){if(Ae.status===-1){je.ZP.error(Ae.message);return}me.setFieldsValue({src:`/api/attachments/${Ae.id}`,type:Ce.type})}function Ee(Ae){let Ce=Ae.target.files[0];be.current=Ce,de(Ce,Pe)}return oe.createElement(ye.default,y(a({form:me},ee),{className:"upload-image-panel",onFinish:ve,style:{width:470,overflow:"hidden"}}),oe.createElement(ye.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(ye.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},oe.createElement(E.default,{style:b})),oe.createElement(ue,{onFileChange:Ee}))),oe.createElement(ye.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},oe.createElement(E.default,{style:{width:264}})),oe.createElement(ye.default.Item,{style:{textAlign:"right"}},oe.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(pe.ZP,{type:"default",onClick:fe},"\u53D6\u6D88")))};function ue({onFileChange:ge}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:ge}))}function de(ge,fe){if(!ge)throw new String("\u6CA1\u6709\u6587\u4EF6");let me=new FormData;me.append("editormd-image-file",ge),me.append("file_param_name","editormd-image-file"),me.append("byxhr","true");var be=new window.XMLHttpRequest;be.withCredentials=!0,be.addEventListener("load",function(ve){fe(JSON.parse(ve.target.responseText),ge)},!1),be.addEventListener("error",function(ve){console.error(ve)},!1),be.open("POST",`${he.KI}/api/attachments.json`),be.send(me)}},19647:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return E}});var ye=Se(59301),je=Se(4676);class E extends ye.Component{constructor(he){super(he);const ce=window.document;this.node=ce.createElement("div"),ce.body.appendChild(this.node)}render(){const{children:he}=this.props;return(0,je.createPortal)(he,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},57800:function(ct,ot,Se){"use strict";Se.d(ot,{SV:function(){return Ie},ZP:function(){return Je}});var ye=Se(59301),je=Se(76374);const E={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},pe={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},he={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
|
`)}]},ce={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
|
`)}]},oe={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
|
`)}]};var ie=Se(7947),le=Se.n(ie),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(xe,De,Re)=>De in xe?se(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,x=(xe,De)=>{for(var Re in De||(De={}))te.call(De,Re)&&y(xe,Re,De[Re]);if(ne)for(var Re of ne(De))a.call(De,Re)&&y(xe,Re,De[Re]);return xe},b=(xe,De)=>ae(xe,re(De)),ee=(xe,De,Re)=>new Promise((Xe,nt)=>{var $e=it=>{try{st(Re.next(it))}catch(lt){nt(lt)}},tt=it=>{try{st(Re.throw(it))}catch(lt){nt(lt)}},st=it=>it.done?Xe(it.value):Promise.resolve(it.value).then($e,tt);st((Re=Re.apply(xe,De)).next())});const z={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},ue=(xe,De)=>De.map(Re=>({label:Re,kind:xe.languages.CompletionItemKind.Keyword,insertText:Re})),de=xe=>Object.keys(z.tables).map(De=>({label:De,kind:xe.languages.CompletionItemKind.Variable,insertText:De})),ge=(xe,De)=>{const Re=z.tables[xe];return Re?Re.map(Xe=>({label:Xe,kind:De.languages.CompletionItemKind.Field,insertText:Xe})):[]};function fe(xe,De,Re,Xe,nt){let $e=De.getWordUntilPosition(Re),tt={startLineNumber:Re.lineNumber,endLineNumber:Re.lineNumber,startColumn:$e.startColumn,endColumn:$e.endColumn},st=Xe.map(it=>({label:it,kind:xe.languages.CompletionItemKind.Keyword,insertText:it,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:tt}));return nt.map(it=>{st.push(b(x({},it),{range:tt}))}),st}var me=xe=>{z.languages.map(nt=>(xe.languages.registerDocumentFormattingEditProvider(nt,{provideDocumentFormattingEdits($e,tt,st){return ee(this,null,function*(){const it=le()($e.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:$e.getFullModelRange(),text:it}]})}}),nt));const De=he.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Re=ce.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Xe=pe.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet}));xe.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...he.keywords.map(lt=>({label:lt,kind:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...he.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn};return{suggestions:[...E.keywords.map(it=>({label:it,kind:xe.languages.CompletionItemKind.Function,documentation:it,insertText:it,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...pe.keywords.map(lt=>({label:lt,kind:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...pe.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...oe.keywords.map(lt=>({label:lt,kind:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...oe.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...ce.keywords.map(lt=>({label:lt,kind:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...ce.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}})};const be="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ve=Object.defineProperty,Pe=(xe,De,Re)=>De in xe?ve(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,Ee=(xe,De,Re)=>Pe(xe,typeof De!="symbol"?De+"":De,Re);const Ae=class na{constructor(De,Re,Xe){this.placeholder=De,this.editor=Re,this.monaco=Xe,Re.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return na.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Ee(Ae,"ID","editor.widget.placeholderHint");var _e=Ae,we=Se(96236),Me=Se(8591),Oe=Se(6848),Fe=Se(89392),Le=Se(50484),Qe=Se(56102),We=Object.defineProperty,Ge=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Ve=(xe,De,Re)=>De in xe?We(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,qe=(xe,De)=>{for(var Re in De||(De={}))ke.call(De,Re)&&Ve(xe,Re,De[Re]);if(ze)for(var Re of ze(De))Ne.call(De,Re)&&Ve(xe,Re,De[Re]);return xe},rt=(xe,De)=>Ge(xe,Ke(De)),Ye=(xe,De)=>{var Re={};for(var Xe in xe)ke.call(xe,Xe)&&De.indexOf(Xe)<0&&(Re[Xe]=xe[Xe]);if(xe!=null&&ze)for(var Xe of ze(xe))De.indexOf(Xe)<0&&Ne.call(xe,Xe)&&(Re[Xe]=xe[Xe]);return Re},Ue=(xe,De,Re)=>new Promise((Xe,nt)=>{var $e=it=>{try{st(Re.next(it))}catch(lt){nt(lt)}},tt=it=>{try{st(Re.throw(it))}catch(lt){nt(lt)}},st=it=>it.done?Xe(it.value):Promise.resolve(it.value).then($e,tt);st((Re=Re.apply(xe,De)).next())});function Be(xe){return/^\d+$/.test(xe)?`${xe}px`:xe}function Ze(){}let Te=!1;const He={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function at(xe=[]){let De=xe;if(Array.isArray(xe)){for(let Re=0;Re<xe.length;Re++){let Xe=He[xe[Re]];if(Xe)return Xe}return De[0]}return He[De]||De}let et=null;var Je=xe=>{var De=xe,{width:Re="100%",height:Xe="100%",value:nt,language:$e="javascript",style:tt={},options:st={},overrideServices:it={},theme:lt="vs-dark",onEditBlur:ut,isCopy:pt=!1,onSave:vt,autoHeight:mt=!1,forbidCopy:bt=!1,onChange:_t=Ze,editorDidMount:Mt=Ze,onFocus:yt=Ze,onBreakPoint:wt=Ze,breakPointValue:xt=[],filename:un="educoder.txt",errorLine:Vt,errorContent:sn="",highlightLine:Zt,openBreakPoint:en=!1,placeholder:Ht=""}=De,ln=Ye(De,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Ln=(0,ye.useRef)(),Pn=(0,ye.useRef)({}),xn=(0,ye.useRef)(),bn=(0,ye.useRef)(),gn=(0,ye.useRef)([]),Ct=(0,ye.useRef)(!1),Ot=(0,ye.useRef)(),At=(0,ye.useRef)(),qt=(0,ye.useRef)(!1),[dn,dt]=(0,ye.useState)(!1);function gt(){let Tt;return Ln.current&&(Tt=new je.Z(kt=>{for(let $t of kt)($t.target.offsetHeight>0||$t.target.offsetWidth>0)&&Pn.current.instance.layout()}),Tt.observe(Ln.current)),Tt}function ft(){Me.ZP.warning({content:decodeURIComponent(be),key:"monaco-editor-tip"})}const jt=()=>{let Tt=Pn.current.instance;if(nt!=null&&Tt&&dn){const kt=Tt.getModel();kt&&nt!==kt.getValue()&&(Te=!0,kt.setValue(nt),Tt.layout(),Te=!1)}};(0,ye.useEffect)(()=>{const Tt=Le.Z.subscribe("formatDocument",kt=>{var $t;let nn=Pn.current.instance;($t=nn==null?void 0:nn.getAction)==null||$t.call(nn,"editor.action.formatDocument").run()});return window.updateMonacoValue=kt=>{_t(kt)},Tt},[]),(0,ye.useEffect)(()=>{var Tt;let kt=Pn.current.instance;bn.current&&clearTimeout(bn.current),bn.current=setTimeout(()=>{jt()},500),nt&&(nt!=null&&nt.length)&&((Tt=kt==null?void 0:kt.updateOptions)==null||Tt.call(kt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(nt.split(/\r\n|\r|\n/g).length))+3,5)}))},[nt,dn,Pn.current]),(0,ye.useEffect)(()=>{if(Vt&&Pn.current&&Pn.current.instance){let kt=Pn.current.instance;kt.changeViewZones(function($t){var nn=document.createElement("div");nn.style.padding="10px 20px",nn.style.width="calc(100% - 20px)",nn.className="my-error-line-wrp",nn.innerHTML=sn,$t.addZone({afterLineNumber:Vt||11,heightInLines:3,domNode:nn})});var Tt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};kt.addOverlayWidget(Tt),kt.revealPositionInCenter({lineNumber:20,column:1})}},[Vt,Pn.current,dn]);const Yt=(Tt="",kt)=>{if(!Tt||Tt.trim()==="")return!0;const nn=Pn.current.instance.getModel().getLineTokens(kt);let mn=!1;for(let Sn=0;Sn<2;Sn++)nn.getStandardTokenType(Sn)===1&&(mn=!0);return mn};(0,ye.useEffect)(()=>{var Tt;const kt=(Tt=Pn.current)==null?void 0:Tt.instance;if(kt&&dn&&bt){const $t=kt.onDidBlurEditorWidget(()=>{qt.current=!1}),nn=kt.onDidFocusEditorText(()=>{qt.current=!0});return()=>{$t.dispose(),nn.dispose()}}},[Pn.current,dn,bt]),(0,ye.useEffect)(()=>{var Tt;if((Tt=Pn.current)!=null&&Tt.instance&&dn&&en){let kt=Pn.current.instance,$t=kt.getModel();if(!$t)return;(()=>{var hn;let Bt=[],Wt=[];const on=$t.getAllDecorations();for(let wn of on)wn.options.className==="highlighted-line"&&(Bt.push((hn=wn==null?void 0:wn.range)==null?void 0:hn.startLineNumber),Wt.push(wn==null?void 0:wn.id));if(Zt===Bt[0])return;$t.deltaDecorations(Wt,[]);const Kt=$t.getLineCount();Zt&&Zt<=Kt&&(kt.deltaDecorations([],[{range:new et.Range(Zt,1,Zt,$t.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),kt.revealLineInCenter(Zt))})();const mn=(hn=!1)=>{var Bt;let Wt=[],on=[];const Kt=$t.getAllDecorations();for(let wn of Kt)wn.options.linesDecorationsClassName==="breakpoints-select"&&(Wt.push((Bt=wn==null?void 0:wn.range)==null?void 0:Bt.startLineNumber),on.push(wn==null?void 0:wn.id));if(hn)return{lines:Wt,ids:on};wt(Wt)},Sn=hn=>Ue(void 0,null,function*(){let Bt={range:new et.Range(hn,1,hn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield $t.deltaDecorations([],[Bt]),mn()}),An=hn=>Ue(void 0,null,function*(){let Bt=[];const Wt=kt.getLineDecorations(hn);for(let on of Wt)on.options.linesDecorationsClassName==="breakpoints-select"&&Bt.push(on.id);yield $t.deltaDecorations(Bt,[]),mn()}),En=hn=>{let Bt=kt.getLineDecorations(hn);for(let Wt of Bt)if(Wt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Fe.isEqual)(xt,mn(!0).lines)){$t.deltaDecorations(mn(!0).ids,[]);const hn=xt.map(Bt=>({range:new et.Range(Bt,1,Bt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));$t.deltaDecorations([],hn)}const Tn=kt.onDidChangeModelContent(hn=>{let Bt=kt.getPosition();if(Bt){let Wt=Bt.lineNumber;clearTimeout(At.current),At.current=setTimeout(()=>{Yt($t.getLineContent(Wt),Wt)?An(Wt):En(Wt)?(An(Wt),Sn(Wt)):mn()},100)}}),_n=kt.onMouseDown(hn=>{var Bt,Wt,on;if(hn.target.detail&&((on=(Wt=(Bt=hn.target)==null?void 0:Bt.element)==null?void 0:Wt.className)!=null&&on.includes("line-numbers"))){let Kt=hn.target.position.lineNumber;if(Yt($t.getLineContent(Kt),Kt))return;En(Kt)?An(Kt):Sn(Kt)}}),It=hn=>{let Bt={range:new et.Range(hn,1,hn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};gn.current=kt.deltaDecorations(gn.current,[Bt])},Xn=()=>{gn.current=kt.deltaDecorations(gn.current,[])},Nn=kt.onMouseMove(hn=>{var Bt,Wt,on;if(Xn(),hn.target.detail&&((on=(Wt=(Bt=hn.target)==null?void 0:Bt.element)==null?void 0:Wt.className)!=null&&on.includes("line-numbers"))){let Kt=hn.target.position.lineNumber;if(Yt($t.getLineContent(Kt),Kt))return;It(Kt)}}),zn=kt.onMouseLeave(()=>{Xn()});return()=>{Tn.dispose(),_n.dispose(),Nn.dispose(),zn.dispose()}}},[Pn.current,dn,xt,Zt,en,$e]),(0,ye.useEffect)(()=>{var Tt;(Tt=Pn.current)!=null&&Tt.instance&&en&&Pn.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function Qt(){let Tt=Pn.current.instance;if(Tt){const kt=Tt.getSelection(),$t=Pn.current.pastePos||{},nn=new et.Range($t.startLineNumber||kt.endLineNumber,$t.startColumn||kt.endColumn,$t.endLineNumber||kt.endLineNumber,$t.endColumn||kt.endColumn);setTimeout(()=>{Tt.executeEdits("",[{range:nn,text:""}])},300)}}function Bn(Tt){(window.navigator.platform.match("Mac")?Tt.metaKey:Tt.ctrlKey)&&Tt.keyCode==83&&(Tt.preventDefault(),vt())}const fn=()=>{if(mt&&Pn.current.instance){const Tt=Pn.current.instance.getContentHeight();Ut(Tt<Xe?Xe:Tt)}else Ut(Xe)};function kn(Tt){var kt=document.createEvent("MouseEvents");kt.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Tt.dispatchEvent(kt)}const Gn=Tt=>{if(!qt.current)return;const{keyCode:kt,ctrlKey:$t,metaKey:nn,target:mn,type:Sn}=Tt;return(Sn==="paste"||(kt===67||kt===86)&&(nn||$t))&&mn.nodeName==="TEXTAREA"&&(ft(),Tt.preventDefault()),!1};function dr(Tt,kt){var $t=window.URL||window.webkitURL||window,nn=new Blob([kt]),mn=document.createElementNS("http://www.w3.org/1999/xhtml","a");mn.href=$t.createObjectURL(nn),mn.download=Tt,kn(mn)}(0,ye.useEffect)(()=>{fn()},[fn]),(0,ye.useEffect)(()=>{Ln.current&&!dn&&Promise.all([Se.e(8909),Se.e(6894)]).then(Se.bind(Se,71448)).then(Tt=>{try{et=Tt,Pn.current.instance=et.editor.create(Ln.current,{value:nt,language:at($e),theme:lt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},it);const kt=Pn.current.instance;let mn=[...we.BH._menuItems].find(Tn=>Tn[0]._debugName=="EditorContext")[1],Sn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],An=(Tn,_n)=>{var It,Xn;let Nn=Tn._first;do _n.includes((Xn=(It=Nn.element)==null?void 0:It.command)==null?void 0:Xn.id)&&Tn._remove(Nn);while(Nn=Nn.next)};if(Mt(kt,et),setTimeout(()=>{fn(),Pn.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{dr(un||"educoder.txt",kt.getValue())}})},500),Pn.current.subscription=kt.onDidChangeModelContent(Tn=>{Ct.current?clearTimeout(Ot.current):(fn(),_t(kt.getValue(),Tn)),Ot.current=setTimeout(()=>{Ct.current=!1},500)}),window.Monaco||me(et,at($e)),bt&&(An(mn,Sn),Ln.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Gn),window.removeEventListener("paste",Gn),window.addEventListener("keydown",Gn),window.addEventListener("paste",Gn)),window.Monaco=et,ut&&kt.onDidBlurEditorWidget(()=>{ut(kt.getValue())}),yt&&kt.onDidFocusEditorText(()=>{yt(kt.getValue())}),bt)try{kt.onDidPaste(Tn=>{const _n=kt.getSelection(),It=Pn.current.pastePos||{},Xn=new et.Range(It.startLineNumber||_n.endLineNumber,It.startColumn||_n.endColumn,It.endLineNumber||_n.endLineNumber,It.endColumn||_n.endColumn);kt.executeEdits("",[{range:Tn.range,text:""}])})}catch(Tn){}let En=gt();return Ht&&typeof Ht=="string"&&new _e(Ht,kt,et),dt(!0),()=>{const Tn=Pn.current.instance;Tn.dispose();const _n=Tn.getModel();_n&&_n.dispose(),Pn.current.subscription&&Pn.current.subscription.dispose(),En.unobserve(Ln.current)}}catch(kt){}})},[]),(0,ye.useEffect)(()=>{if(Pn.current.instance&&dn)return document.addEventListener("keydown",Bn,!1),()=>{document.removeEventListener("keydown",Bn)}},[vt,dn]),(0,ye.useEffect)(()=>{let Tt=Pn.current.instance;if(Tt&&dn){let kt=at($e);et.editor.setModelLanguage(Tt.getModel(),kt)}},[$e,dn]),(0,ye.useEffect)(()=>{Pn.current.instance&&dn&&et.editor.setTheme(lt)},[lt,dn]),(0,ye.useEffect)(()=>{let Tt=Pn.current.instance;xn.current=st,Tt&&dn&&(Tt.updateOptions(qe({},st)),setTimeout(()=>{Tt.getModel().updateOptions(qe({},st))},200))},[JSON.stringify(st),dn]),(0,ye.useEffect)(()=>{let Tt=Pn.current.instance;Tt&&dn&&Tt.layout()},[Re,Xe,dn]);const[zt,Lt]=(0,ye.useState)(Be(Re)),[St,Ut]=(0,ye.useState)(Be(Xe)),Pt=rt(qe({},tt),{width:zt,height:St,position:"relative"});return ye.createElement("div",{className:"my-monaco-editor",ref:Ln,style:Pt},pt&&ye.createElement(Qe.CopyToClipboard,{text:nt,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(Oe.Z,{title:"\u590D\u5236\u4EE3\u7801"},ye.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},ye.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ie({width:xe="100%",height:De="100%",original:Re,modified:Xe,language:nt,options:$e={}}){const tt=(0,ye.useRef)(),[st,it]=(0,ye.useState)(null);function lt(mt){let bt;return tt.current&&(bt=new je.Z(_t=>{for(let Mt of _t)(Mt.target.offsetHeight>0||Mt.target.offsetWidth>0)&&mt.layout()}),bt.observe(tt.current)),bt}(0,ye.useEffect)(()=>(tt.current&&Promise.all([Se.e(8909),Se.e(9404)]).then(Se.bind(Se,2550)).then(mt=>{et=mt;const bt=et.editor.createDiffEditor(tt.current,rt(qe({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},$e),{wordWrap:!0}));it(bt);let _t=lt(bt);return()=>{bt.dispose();const Mt=bt.getModel();Mt&&Mt.dispose(),_t.unobserve(tt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ye.useEffect)(()=>{st&&st.setModel({original:et.editor.createModel(Re,nt),modified:et.editor.createModel(Xe,nt)})},[Re,Xe,nt,st]);const ut=Be(xe),pt=Be(De),vt={width:ut,height:pt};return ye.createElement("div",{className:"my-diff-editor",ref:tt,style:vt})}},34043:function(ct,ot,Se){"use strict";var ye=Se(58323),je=Se(57809),E=Se(78673),pe=Se(59301);const he=je.default.Option;ot.Z=({isTheoretical:ce,onFontSizeChange:oe,cmFontSize:ie,cmCodeMode:le,autoFormat:se,onCodeModeChange:ae,onTabToSpace:re,onAutoFormat:ne,formatDocument:te,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:ee})=>{const z={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return pe.createElement("div",{className:`tpi-code-setting ${a}`},pe.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),pe.createElement(je.default,{bordered:!1,size:"small",value:le,onChange:ae},pe.createElement(he,{value:"vs"},"\u767D\u8272\u80CC\u666F"),pe.createElement(he,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),pe.createElement(je.default,{bordered:!1,size:"small",value:ie,onChange:oe},pe.createElement(he,{value:12},"12px"),pe.createElement(he,{value:14},"14px"),pe.createElement(he,{value:16},"16px"),pe.createElement(he,{value:18},"18px"),pe.createElement(he,{value:20},"20px"),pe.createElement(he,{value:22},"22px"))),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"Tab\u8F6C\u6362"),pe.createElement(E.Z,{checked:y,onChange:re})),pe.createElement("div",{className:"file-item",onClick:te},pe.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),pe.createElement("span",null,"Ctrl + S")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),pe.createElement("span",null,"F1 / Alt + F1")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),pe.createElement("span",null,"Ctrl + ]/[")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),pe.createElement("span",null,"Ctrl + Shift + \\")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),pe.createElement("span",null,"Home")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),pe.createElement("span",null,"End"))),x),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),pe.createElement("span",null,z[ee==null?void 0:ee.difficulty])),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),pe.createElement("span",null,b==null?void 0:b.name)),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),pe.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},50505:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return je}});var ye=Se(59301);function je(E,pe){const he=(0,ye.useRef)();(0,ye.useEffect)(()=>{he.current=E}),(0,ye.useEffect)(()=>{function ce(){he.current()}if(pe!==null){let oe=setInterval(ce,pe);return()=>clearInterval(oe)}},[pe])}},38992:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(31797),E=Se(5871),pe=Se(78241),he=Se(43418),ce=Se(71418),oe=Se(1710),ie=Se(92832),le=Se(95237),se=Se(43604),ae=Se(3113),re=Se(30897),ne=Se(61186),te=Se.n(ne),a=Se(24459),y=Se(88230),x=Se(93261),b=Se(73898),ee=Se(59579),z=Se(59301),ue=(me,be,ve)=>new Promise((Pe,Ee)=>{var Ae=we=>{try{_e(ve.next(we))}catch(Me){Ee(Me)}},Ce=we=>{try{_e(ve.throw(we))}catch(Me){Ee(Me)}},_e=we=>we.done?Pe(we.value):Promise.resolve(we.value).then(Ae,Ce);_e((ve=ve.apply(me,be)).next())});const{Countdown:de}=je.default,ge=({value:me,onChange:be,MaxMinutes:ve})=>z.createElement(z.Fragment,null,z.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",z.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",z.createElement("br",null)),z.createElement(E.Z,{value:me,onChange:be,min:0,precision:0,max:ve,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ve}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),fe=({exercise:me,successCb:be,dispatch:ve})=>{var Pe,Ee,Ae,Ce;const _e=(0,a.useParams)(),[we]=pe.default.useForm(),Me=pe.default.useWatch("time",we),[Oe,Fe]=(0,ye.useState)(!1),Le=(0,ye.useRef)(),{actionTabs:Qe}=me,[We,Ge]=(0,ye.useState)(),[,Ke,ze,ke]=(0,ee.U)(re.n7,{id:_e.categoryId}),[,Ne,Ve]=(0,ee.U)(re.Cd,{});(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&(Fe(!1),we.resetFields())},[me.actionTabs.key]);const qe=()=>new Promise(et=>ue(void 0,null,function*(){var Je,Ie;return Le.current=yield(0,x.y)({ip_limit:(Je=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Je.ip_limit,ip_bind:(Ie=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Ie.ip_bind_type}),et()})),rt=()=>ue(void 0,null,function*(){var et,Je,Ie,xe,De;yield we.validateFields();const Re=we.getFieldsValue();if(Fe(!0),(((et=Qe==null?void 0:Qe.exerciseParams)==null?void 0:et.ip_limit)!=="no"||(Je=Qe==null?void 0:Qe.exerciseParams)!=null&&Je.ip_bind_type)&&(yield qe()),(yield(0,re.ZD)((Ie=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Ie.id,{exercise_user_id:(xe=Qe==null?void 0:Qe.exerciseParams)==null?void 0:xe.exercise_user_id,unlock_key:Re.unlock_key,time:Re.time,ip:Le.current})).status===0){if(be){ve({type:"exercise/setActionTabs",payload:{}}),be();return}const nt=Qe==null?void 0:Qe.exerciseParams;(0,y.nr)({inner_ip:nt.inner_ip,public_ip:nt.public_ip,open_camera:nt.open_camera,ip_limit:nt.ip_limit,ip_bind:nt.ip_bind,ip_bind_type:nt.ip_bind_type,exercise_tips:nt.exercise_tips,exerciseId:nt.id,screen_open:nt.screen_open,screen_num:nt.screen_num,screen_sec:nt.screen_sec,coursesId:_e.coursesId,login:(De=(0,b.eY)())==null?void 0:De.login,history,identity_verify:nt.identity_verify,open_phone_video_recording:nt.open_phone_video_recording,current_status:nt.current_status}),ve({type:"exercise/setActionTabs",payload:{}})}Fe(!1)}),Ye=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:et=>z.createElement("span",{className:et.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},et)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:et=>z.createElement("span",{className:et.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},et)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ue=((Pe=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((Ee=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Ee.errorMessage)=="object";(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&ue(void 0,null,function*(){const et=yield Ve(_e);yield ze({}),et.status||Ge(et)})},[me.actionTabs.key]);const{time:Be,end_time:Ze}=(We==null?void 0:We.exercise)||{},Te=ke!=null&&ke.user_end_time?te()(ke==null?void 0:ke.user_end_time).add(1,"minutes"):te()(),He=te()(ke==null?void 0:ke.user_total_end_time)>Te?Math.round(te().duration(te()(ke==null?void 0:ke.user_total_end_time).diff(Te.startOf("minute"))).asMinutes()):0,at=((ke==null?void 0:ke.student_left_minutes)||0)+(Me||0);return z.createElement(z.Fragment,null,z.createElement(he.default,{width:514,centered:!0,closable:!!((Ae=Qe==null?void 0:Qe.exerciseParams)!=null&&Ae.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:me.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ve({type:"exercise/setActionTabs",payload:{}})}},z.createElement(ce.Z,{spinning:Ke||Ne},Ue&&z.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 "),!Ue&&z.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"),Ue&&z.createElement(oe.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ce=Qe==null?void 0:Qe.exerciseParams)==null?void 0:Ce.errorMessage)||{}],columns:Ye}),z.createElement("div",{className:""},z.createElement(pe.default,{form:we,layout:"vertical",autoComplete:"off"},z.createElement(pe.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},z.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Be!==-1?z.createElement(z.Fragment,null,z.createElement(pe.default.Item,{name:"time",label:z.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",z.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",te()(ke==null?void 0:ke.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},z.createElement(ge,{MaxMinutes:He})),z.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},Ke||Ne?"--":at),"\u5206\u949F",at!==0&&(ke==null?void 0:ke.user_end_time)&&z.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},te()(ke==null?void 0:ke.user_end_time).add(Me||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):z.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 ",te()(Ze).format("YYYY-MM-DD HH:mm")))),z.createElement(le.Z,{justify:"space-between",align:"middle"},z.createElement(se.Z,null),z.createElement(se.Z,null,z.createElement(ae.ZP,{loading:Oe,onClick:rt},"\u8FDB\u5165\u8003\u8BD5"))))))};ot.Z=(0,a.connect)(({exercise:me})=>({exercise:me}))(fe)},47365:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return a}});var ye=Se(59301),je=Se(24459),E=Se(43418),pe=Se(3113),he=Se(71418),ce=Se(5247),oe=Se(70037),ie=Se(57800),le=Se(24334),se=Se(61186),ae=Se.n(se),re=Se(86723),ne=Se(59301),te=(y,x,b)=>new Promise((ee,z)=>{var ue=fe=>{try{ge(b.next(fe))}catch(me){z(me)}},de=fe=>{try{ge(b.throw(fe))}catch(me){z(me)}},ge=fe=>fe.done?ee(fe.value):Promise.resolve(fe.value).then(ue,de);ge((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,ee]=(0,ye.useState)(void 0);console.log((0,je.useLocation)(),33);const z=(0,je.useLocation)();(0,ye.useEffect)(()=>{y&&function(){return te(this,null,function*(){const Ge=yield(0,ce.X6)(y);ee(Ge.data)})}()},[y]);const{status:ue,created_at:de,code:ge,name:fe,language:me,pass_sets_count:be,set_count:ve,error_msg:Pe,output:Ee,input:Ae,expected_output:Ce,execute_memory:_e,user:we,execute_time:Me,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Qe}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(pe.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(he.Z,{spinning:!b,delay:500},ne.createElement("div",{className:"record-detail-info"},b?ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"record-detail-body"},ne.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),ne.createElement("ul",{className:"record-info"},ne.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",ne.createElement("span",{className:ue===0?"c-green":"c-red"},oe.Im[ue])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,ae()(de).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,me)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,Me*1e3,"ms")," "),ne.createElement("li",null," ",`${ue===re.h.HIDE_COMPILE_STATUS?"--":be} / ${ve} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,oe.gZ)({status:ue,error_msg:Pe,execute_time:Me,output:Ee,input:Ae,expected_output:Ce,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Qe}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(ie.ZP,{height:"200px",width:"100%",language:me==null?void 0:me.toLocaleLowerCase(),value:le.Base64.decode(ge),options:{readOnly:!0}}))):null)))}},21758:function(ct,ot,Se){"use strict";Se.d(ot,{Im:function(){return ve},Y4:function(){return Ee}});var ye=Se(59301),je=Se(92832),E=Se(8591),pe=Se(3113),he=Se(76826),ce=Se(24334),oe=Se.n(ce),ie=Se(7850),le=Se(7651),se=Se(99325),ae=Se(88230),re=Se(34376),ne=Se.n(re),te=Se(7660),a=Se(24459),y=Se(47365),x=Se(50484),b=Se(5247),ee=Se(50397),z=Se(90853),ue=Se(92310),de=Se.n(ue),ge=Se(20736),fe=Se(59301),me=(_e,we,Me)=>new Promise((Oe,Fe)=>{var Le=Ge=>{try{We(Me.next(Ge))}catch(Ke){Fe(Ke)}},Qe=Ge=>{try{We(Me.throw(Ge))}catch(Ke){Fe(Ke)}},We=Ge=>Ge.done?Oe(Ge.value):Promise.resolve(Ge.value).then(Le,Qe);We((Me=Me.apply(_e,we)).next())});const{TextArea:be}=je.default,ve={[he.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[he.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[he.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 Pe=(_e=>(_e[_e.SET_VISIBLE=0]="SET_VISIBLE",_e[_e.SET_TABINDEX=1]="SET_TABINDEX",_e))(Pe||{});function Ee(_e){const{status:we,error_msg:Me,output:Oe,input:Fe,expected_output:Le,is_file:Qe,input_file_url:We,output_file_url:Ge,expected_output_file_url:Ke,setMonacoValue:ze,setData:ke}=_e,Ne=(0,ye.useRef)(),Ve=(0,ye.useRef)(),qe=(0,ye.useRef)();let rt=null;const Ye={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,ye.useEffect)(()=>{if(Oe&&!Qe&&Ne.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Ne.current);const Be=(0,ae.pp)(ce.Base64.decode(Oe));Ue.write(Be),Ue.setOption("theme",{background:"#1e1e1e"})}if(Fe&&!Qe&&Ve.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Ve.current),Ue.write((0,ae.pp)(Fe)),Ue.setOption("theme",{background:"#1e1e1e"})}if(Le&&!Qe&&qe.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(qe.current),Ue.write((0,ae.pp)(ce.Base64.decode(Le))),Ue.setOption("theme",{background:"#1e1e1e"})}},[Oe]),we){case he.h.NOMATCH:rt=fe.createElement(fe.Fragment,null,fe.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Qe&&fe.createElement("div",{ref:Ne}),Qe&&fe.createElement("div",{style:Ye},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ue=yield(0,te.ZP)(Ge,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});ze(Ue),setTimeout(()=>{ke(Ge)},200)})},Oe)),fe.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Qe&&fe.createElement("div",{ref:qe}),Qe&&fe.createElement("div",{style:Ye},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ue=yield fetch(Ke,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});ze(yield Ue.text()),setTimeout(()=>{ke(Ke)},200)})},Le)));break;case he.h.EXECUTEFAILURE:rt=fe.createElement(fe.Fragment,null,fe.createElement("div",{style:{border:"1px #F6F7F9 solid"}},fe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Qe&&fe.createElement(se.Z,{value:Fe,style:Ye}),Qe&&fe.createElement("div",{style:Ye},fe.createElement("a",{onClick:()=>(0,ae.LR)(We,Fe)},Fe))),fe.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},fe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),fe.createElement("pre",{className:ie.Z.error,style:{color:"#E30000",padding:"0 10px"}},ce.Base64.decode(Me),"111")));break;case he.h.COMPILEFAILURE:rt=fe.createElement(fe.Fragment,null,fe.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),fe.createElement("pre",{className:ie.Z.error},ce.Base64.decode(Me)));break;case he.h.PODFAILURE:rt=fe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:rt=fe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return fe.createElement(fe.Fragment,null," ",rt," ")}function Ae(_e){const{status:we,error_msg:Me,execute_time:Oe,output:Fe,input:Le,expected_output:Qe,is_file:We,input_file_url:Ge,output_file_url:Ke,expected_output_file_url:ze}=_e;let ke=null;switch(we){case he.h.OK:case he.h.NOMATCH:case he.h.EXECUTEFAILURE:case he.h.COMPILEFAILURE:ke=fe.createElement("div",{id:"outputResultRef",className:"h100"});break;case he.h.PODFAILURE:ke=fe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:ke=fe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return fe.createElement(fe.Fragment,null," ",ke," ")}function Ce({value:_e,className:we}){return fe.createElement("span",{className:we},_e)}ot.ZP=({input:_e,is_file:we,debuging:Me,submitting:Oe,executingMessage:Fe,debugResult:Le,onChangeInput:Qe,onDebugCode:We,onSubmitCode:Ge,hack:Ke,user:ze,submitResult:ke,isWhiteTheme:Ne,topDispatch:Ve})=>{const[qe]=(0,a.useSearchParams)(),rt=(0,a.useParams)(),[Ye,Ue]=(0,ye.useState)(!1),[Be,Ze]=(0,ye.useState)(!1),[Te,He]=(0,ye.useState)(1),[at,et]=(0,ye.useState)(!1),[Je,Ie]=(0,ye.useState)(0),[xe,De]=(0,ye.useState)(!1),[Re,Xe]=(0,ye.useState)(""),[nt,$e]=(0,ye.useState)(""),tt=(0,ye.useRef)(),st=(0,ye.useRef)(),it=(0,ye.useRef)(null),lt=(0,ye.useRef)(null),ut=(0,ye.useRef)(null);console.log(ke,"submitResult",rt);const{status:pt,id:vt,input:mt,output:bt,expected_output:_t,is_file:Mt,input_file_url:yt,output_file_url:wt,expected_output_file_url:xt,error_msg:un,hack_sets:Vt}=ke||{};(0,ye.useEffect)(()=>{pt===0&&(He(1),Ie(0))},[pt,vt]),(0,ye.useEffect)(()=>{me(void 0,null,function*(){var gn;const Ct=yield(0,b.rX)(rt==null?void 0:rt.id,"submit");(Ct==null?void 0:Ct.status)===0&&(Ct!=null&&Ct.data&&((gn=Ct==null?void 0:Ct.data)==null?void 0:gn.status)!==0?(Ve({type:ee.Types.SET_SUBMIT_RESULT,payload:{submitResult:Ct==null?void 0:Ct.data}}),He(2),Ie(320)):(He(1),Ie(0)))})},[rt==null?void 0:rt.id]),(0,ye.useEffect)(()=>{if(tt.current){let bn=function(gt){At=Ot.offsetHeight,qt=!0,dn=gt.pageY,ut.current.style.display="block"},gn=function(){qt=!1,ut.current.style.display="none"},Ct=function(gt){if(qt){sn();let ft=dn-gt.pageY,jt=At+ft;if(jt<0&&(jt=0),jt>window.innerHeight-150&&(jt=window.innerHeight-150),Te===1){jt<=34?Ie(0):Ie(jt);return}console.log(jt,"resizeH"),Ie(jt)}};const Ot=it.current;let At=0,qt=!1,dn=0;const dt=document.getElementById("case-y-bar");return dt==null||dt.addEventListener("mousedown",bn),document.addEventListener("mousemove",Ct),document.addEventListener("mouseup",gn),()=>{const gt=document.getElementById("case-y-bar");gt==null||gt.removeEventListener("mousedown",bn),document.removeEventListener("mousemove",Ct),document.removeEventListener("mouseup",gn)}}},[tt,Te]),(0,ye.useEffect)(()=>{const bn=x.Z.subscribe("resize-move-bar",sn);if(qe.get("type")!=="exercises")return document.addEventListener((0,ge.gH)(),Ht),()=>{document.removeEventListener((0,ge.gH)(),Ht),bn()}},[]),(0,ye.useEffect)(()=>{});function sn(){var bn,gn,Ct,Ot;const At=document.getElementById("outputResultRef");if(At){let qt=At.dataset.text;st.current.reset(),st.current.writeln(qt);const dn=document.getElementById("outputResultRef").offsetWidth-20,dt=((Ot=(Ct=(gn=(bn=st.current)==null?void 0:bn._core)==null?void 0:gn._renderService)==null?void 0:Ct.dimensions)==null?void 0:Ot.actualCellWidth)||10,gt=Math.ceil(dn/dt);st.current.resize(gt,Math.ceil(At.clientHeight/16))}}function Zt(){Ue(!Ye),setTimeout(()=>{sn()},300),Ie(Ye?320:window.innerHeight-150)}function en(){Be?(Ze(!1),(0,ge.BU)()):(Ze(!0),(0,ge.Dj)(lt.current))}const Ht=bn=>{(0,ge.vp)()||Ze(!1)},ln=(0,ye.useMemo)(()=>{if(Le){const{status:bn,output:gn,error_msg:Ct}=Le;return setTimeout(()=>{let Ot="",At=document.getElementById("outputResultRef");gn?Ot=ce.Base64.decode(gn):Ct&&(Ot=ce.Base64.decode(Ct)),st.current=new re.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),st.current.open(At),st.current.onKey(function(qt){var dn;if(qt.domEvent.key.toLocaleUpperCase()==="C"&&qt.domEvent.ctrlKey){qt.domEvent.preventDefault();let dt=(dn=st.current)==null?void 0:dn.getSelection();navigator.clipboard.writeText(dt).then(()=>{})}}),At.dataset.text=Ot,st.current.setOption("convertEol",!0),sn()},300),fe.createElement(fe.Fragment,null,Ae(Le))}return null},[Le]);function Ln(){var bn,gn;if(!(Ke!=null&&Ke.code)||((bn=Ke==null?void 0:Ke.code)==null?void 0:bn.trim().length)===0){(gn=E.ZP)==null||gn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}He(1),Ie(320),We()}const Pn=bn=>me(void 0,null,function*(){let gn=yield(0,te.ZP)(`/api/problems/${bn}/start.json`,{method:"get",params:{hack_user_id:ze==null?void 0:ze.user_id}});gn&&(window.location.href=`/myproblems/${gn==null?void 0:gn.identifier}${window.location.search}`)});function xn(){Mt?navigator.clipboard.writeText(ce.Base64.decode(un)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(ce.Base64.decode(bt)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return fe.createElement(ye.Fragment,null,fe.createElement("div",{className:de()(ie.Z.case,Ne&&ie.Z.whiteCase),style:{height:Je},ref:it},fe.createElement("div",{className:ie.Z.fullMask,ref:ut}),fe.createElement("div",{className:ie.Z["resize-y-bar"],id:"case-y-bar",ref:tt,draggable:!1},Te===2&&fe.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Te===1&&(Je<=34?fe.createElement("div",{onClick:()=>{Ie(320)},className:ie.Z.unfoldBtn},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):fe.createElement("div",{onClick:()=>{Ie(0)},className:ie.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),fe.createElement("div",null,fe.createElement("div",{className:ie.Z.caseHead},fe.createElement("div",{className:ie.Z.dot}),fe.createElement("div",{className:ie.Z.text},Te===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Te===2&&!Oe&&typeof pt=="number"&&fe.createElement(fe.Fragment,null,pt===he.h.OK?fe.createElement("div",{className:ie.Z.pass},fe.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):fe.createElement("div",{className:ie.Z.noPass},fe.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),ve[pt])),fe.createElement("div",{className:ie.Z.btns},Te===2&&!Oe&&fe.createElement(fe.Fragment,null,pt!==he.h.OK&&fe.createElement("div",{onClick:xn},fe.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),fe.createElement("div",{onClick:()=>{De(vt)}},fe.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),qe.get("type")!=="exercises"&&fe.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>Zt()},fe.createElement("i",{className:`iconfont icon-${Ye?"suoxiao1":"fangda"}`})))),fe.createElement("div",{style:{display:Te===1?"block":"none"}},Me?fe.createElement(le.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:Je-34}},fe.createElement("div",{className:ie.Z.result},fe.createElement("div",{className:ie.Z.left},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),fe.createElement("div",{className:ie.Z.leftNode},fe.createElement(be,{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:we?"":_e,onChange:Qe}))),fe.createElement("div",{className:ie.Z.right},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),fe.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),fe.createElement("div",{className:ie.Z.node},Le?ln:fe.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")))))),fe.createElement("div",{style:{display:Te===2?"block":"none"}},Oe?fe.createElement(le.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:Je-34,display:"flex",flexDirection:"column",overflow:"hidden"}},fe.createElement("div",{ref:lt,className:ie.Z.elseNode},fe.createElement("div",{className:ie.Z.nameWrap},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),fe.createElement("div",{className:ie.Z.scroll},fe.createElement("pre",{className:ie.Z.scrollBox,style:at?{height:Be?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!Mt&&fe.createElement(Ce,{value:mt}),Mt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const bn=yield fetch(yt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield bn.text()),setTimeout(()=>{Xe(yt)},200)})},mt)),mt&&fe.createElement("div",{className:ie.Z.action},fe.createElement("span",{onClick:()=>et(!at)},at?"\u6536\u8D77":"\u5C55\u5F00"),qe.get("type")!=="exercises"&&fe.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>en(),className:`iconfont icon-${Be?"suoxiao1":"fangda"}`})))),fe.createElement("div",{className:ie.Z.result,style:{flex:1,overflow:"hidden"}},fe.createElement("div",{className:ie.Z.left},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),fe.createElement("div",{className:ie.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},fe.createElement("pre",null,!Mt&&fe.createElement(Ce,{className:"mb10",value:_t&&ce.Base64.decode(_t)||""}),Mt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const bn=yield fetch(xt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield bn.text()),setTimeout(()=>{Xe(xt)},200)})},_t)))),fe.createElement("div",{className:ie.Z.right},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),fe.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),fe.createElement("div",{className:ie.Z.node,style:{color:pt===he.h.OK?"#2ABD8C":"#FF2C29"}},fe.createElement("pre",null,(pt===4||pt===5)&&fe.createElement(Ce,{className:"mb10",value:un&&ce.Base64.decode(un)||""}),pt!=4&&pt!=5&&(Mt?fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const bn=yield(0,te.ZP)(wt,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{$e(bn)}catch(gn){$e("")}setTimeout(()=>{Xe(wt)},200)})},bt):fe.createElement(Ce,{className:"mb10",value:bt&&ce.Base64.decode(bt)||""})))))))))),fe.createElement("div",{className:de()(ie.Z.footer,Ne&&ie.Z.whiteFooter),style:{zIndex:100}},(Ke==null?void 0:Ke.is_program)&&(Ke==null?void 0:Ke.above_question)&&fe.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Pn(Ke==null?void 0:Ke.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Ke==null?void 0:Ke.is_program)&&(Ke==null?void 0:Ke.under_question)&&fe.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Pn(Ke==null?void 0:Ke.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),fe.createElement(pe.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Me||Oe,loading:Me,color:"#2ABD8C",className:"mr10",onClick:Ln},"\u8C03\u8BD5\u4EE3\u7801"),qe.get("qtype")!=="8"&&fe.createElement(pe.ZP,{className:ie.Z.disabled,type:"primary",icon:fe.createElement("i",{className:"iconfont icon-bofang1"}),loading:Oe,disabled:Me||Oe,onClick:()=>{var bn,gn;if(!(Ke!=null&&Ke.code)||((bn=Ke==null?void 0:Ke.code)==null?void 0:bn.trim().length)===0){(gn=E.ZP)==null||gn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}He(2),Ie(320),Ge()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),fe.createElement(y.Z,{onClose:De,open:xe}),fe.createElement(z.Z,{close:!0,data:Re,type:Re.length?"txt":"",onClose:()=>Xe(""),monacoEditor:{value:nt,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},50397:function(ct,ot,Se){"use strict";Se.r(ot),Se.d(ot,{Types:function(){return Sr},default:function(){return Tr}});var ye=Se(59301),je=Se(24459),E=Se(31797),pe=Se(43418),he=Se(71418),ce=Se(3113),oe=Se(6848),ie=Se(95237),le=Se(5247),se=Se(30897),ae=Se(20736),re=Se(31582),ne=Se(38446),te=Se(87169),a=Se(43428),y=Se(57800),x=Se(19647),b=Se(90691),ee=Se(34043),z=Se(59301),ue=Object.defineProperty,de=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(ht,Dt,Et)=>Dt in ht?ue(ht,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Dt]=Et,Pe=(ht,Dt)=>{for(var Et in Dt||(Dt={}))me.call(Dt,Et)&&ve(ht,Et,Dt[Et]);if(fe)for(var Et of fe(Dt))be.call(Dt,Et)&&ve(ht,Et,Dt[Et]);return ht},Ee=(ht,Dt)=>de(ht,ge(Dt));const Ae={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0)};var Ce=(ht=>(ht[ht.set_font_size=0]="set_font_size",ht[ht.set_theme=1]="set_theme",ht[ht.on_tab_to_space=2]="on_tab_to_space",ht[ht.set_show_editor_setting=3]="set_show_editor_setting",ht))(Ce||{});function _e(ht,Dt){switch(Dt.type){case 3:return Ee(Pe({},ht),{showEditorSetting:Dt.payload});case 1:return Ee(Pe({},ht),{theme:Dt.payload});case 0:return Ee(Pe({},ht),{fontSize:Dt.payload});case 2:return Ee(Pe({},ht),{tabToSpace:Dt.payload});default:throw new Error}}var we=({isLoading:ht,value:Dt,onChange:Et,language:Rt,onUpdateCode:Gt,ActionBarRender:Nt,setIsWhiteTheme:rn})=>{const[an,Xt]=(0,ye.useReducer)(_e,Ae),{theme:cn,fontSize:tn,showEditorSetting:Dn,tabToSpace:Cn}=an,In=(0,ye.useRef)(),Mn=(0,ye.useRef)();(0,ye.useEffect)(()=>{rn(cn==="vs")},[cn]);const Qn={onFontSizeChange:nr=>{Xt({type:0,payload:nr}),(0,b.t)("cmFontSize",nr)},tabToSpace:Cn,cmFontSize:tn,className:"oj",cmCodeMode:cn,onTabToSpace:nr=>{Xt({type:2,payload:nr}),(0,b.t)("cmTabToSpace",nr)},onCodeModeChange:nr=>{Xt({type:1,payload:nr}),(0,b.t)("ProgrammingCodeMode",nr)}};function $n(){Xt({type:3,payload:!1})}function xr(){Xt({type:3,payload:!0})}const wr={value:Dt,language:Rt,theme:cn,options:{fontSize:tn,insertSpaces:Cn},onChange:nr=>{Et(nr),Mn.current=nr,clearTimeout(In.current),In.current=setTimeout(()=>{Gt(Mn.current)},1e4)},onEditBlur:nr=>{Mn.current&&Gt(Mn.current)}};return z.createElement(ye.Fragment,null,Nt(xr),z.createElement("div",{style:{flex:1,overflow:"hidden"}},!ht&&z.createElement(y.ZP,Pe({},wr))),z.createElement(x.Z,null,z.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:Dn,onClose:$n},z.createElement(ee.Z,Pe({},Qn)))))},Me=Se(60141),Oe=Se(24334),Fe=Se(21758),Le={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"},Qe={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},We=Se(1710),Ge=Se(58421),Ke=Se(58617),ze=Se(47365),ke=Se(61186),Ne=Se.n(ke),Ve=Se(59301);const{Column:qe}=We.default;var rt=({submitResult:ht,submitting:Dt,submitRecords:Et,page:Rt,onPageChange:Gt,topicId:Nt})=>{const[rn]=(0,je.useSearchParams)(),{records:an,records_count:Xt}=Et||{},[cn,tn]=(0,ye.useState)(!1),Dn=rn.get("type")==="1";return Ve.createElement(he.Z,{spinning:Dt,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Ve.createElement(Ke.Z,{style:{fontSize:24},spin:!0})},(an==null?void 0:an.length)>0?Ve.createElement(We.default,{dataSource:an,rowKey:"id",pagination:!1},Ve.createElement(qe,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(Cn,In)=>Ve.createElement("span",null," ",Ne()(Cn).format("YYYY-MM-DD HH:mm:ss"))}),Ve.createElement(qe,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(Cn,In)=>{var Mn;return Ve.createElement("span",{className:`${Cn===0?"c-green":"c-red"} current`,onClick:()=>{tn(In.id)}},(Mn=Fe.Im[Cn])==null?void 0:Mn.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ve.createElement(qe,{title:`\u6267\u884C\u7528\u65F6 (${Dn?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:Cn=>Cn?Dn?Cn:Cn/1e3:""}),Ve.createElement(qe,{title:`\u5185\u5B58\u6D88\u8017\uFF08${Dn?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:Cn=>Cn?Dn?Cn:parseFloat((Cn/1024).toFixed(2)):""}),Ve.createElement(qe,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Ve.createElement(qe,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(Cn,In)=>Ve.createElement("span",{className:"c-light-primary current",onClick:()=>{tn(In.id)}},"\u67E5\u770B")})):Ve.createElement("div",{style:{height:300,width:"100%"}}),Ve.createElement(ze.Z,{onClose:tn,open:cn}),Xt>15?Ve.createElement(Ge.Z,{className:Qe.pagination,current:Rt,pageSize:15,total:Xt,onChange:Gt}):null)},Ye=Se(57816),Ue=Se(12563),Be={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Ze=Se(99325),Te=Se(59301);const He={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var at=({hack:ht})=>{const{language:Dt,difficult:Et,time_limit:Rt,description:Gt}=ht,[Nt]=(0,je.useSearchParams)(),rn=He[Et];return Te.createElement(Te.Fragment,null,Te.createElement("ul",{className:Be.info},Te.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Te.createElement("b",{className:Be.info_tag},Dt)),Te.createElement("li",null,Te.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",Te.createElement(Ue.default,{color:rn==null?void 0:rn.color},rn==null?void 0:rn.name)),Te.createElement("li",null,Te.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Te.createElement("span",{style:{color:"#333333"}},Rt,"\u79D2"))),Nt.get("qtype")==="8"?Te.createElement(Ze.Z,{value:Gt,showProgramFill:!0,className:Be.desc}):Te.createElement(Ze.Z,{value:Gt,className:Be.desc}))},et={},Je=Se(59301),Ie=({hack:ht,current_user:Dt})=>Je.createElement("div",{className:et.answer},ht!=null&&ht.answer_text?Je.createElement(Ze.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.answer_text)||""}):Je.createElement(Ye.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),xe=Se(50484),De=Se(7660);function Re(ht,Dt){return(0,De.U2)(`/problems/${ht}/comments.json`,{page:Dt,limit:10})}function Xe(ht){return(0,De.v_)(`/discusses/${ht}/plus.json`,{container_type:"Discuss",type:1})}function nt(ht,Dt,Et){return(0,De.v_)(`/problems/${ht}/comments/reply.json`,{comments:{content:Et,parent_id:Dt}})}function $e(ht,Dt){return(0,De.v_)(`/problems/${ht}/comments.json`,{comments:{content:Dt}})}function tt(ht,Dt,Et){return(0,De.v_)(`/problems/${ht}/comments/${Dt}/hidden.json`,Et)}function st(ht,Dt){return(0,De.IV)(`/problems/${ht}/comments/${Dt}`)}var it=Se(52649);function lt({author:ht}){return ye.createElement("a",{href:`/users/${ht.login}`,target:"_blank"},ye.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${ht.image_url}`,width:"50"}))}function ut({data:ht,index:Dt,parentDiscussIndex:Et,user:Rt,onSetActionType:Gt}){const{author:Nt,can_delete:rn,content:an,id:Xt,time:cn}=ht;function tn(){Gt({id:Xt,index:Dt,type:"delete-discuss",parentDiscussIndex:Et,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const Dn=Rt.admin||rn||Nt.user_id===Rt.user_id;return ye.createElement("div",{className:"discuss-item-container second-discuss "},ye.createElement(lt,{author:Nt}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${Nt.login}`,target:"_blank"},Nt.name),ye.createElement("span",{className:"grey"},cn),ye.createElement("div",{className:"btn-group",style:{marginBottom:0}},Dn?ye.createElement("a",{onClick:tn,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null)),ye.createElement(Ze.Z,{className:"discuss-content",value:an})))}var pt=({user:ht,data:Dt,index:Et,onPlusDiscuss:Rt,onSetActionType:Gt,activeDiscussIndex:Nt,onReplyDiscuss:rn,onSetActiveDiscussIndex:an})=>{const{content:Xt,children:cn,hidden:tn,id:Dn,praise_count:Cn,time:In,user_praise:Mn,can_delete:Qn,author:$n}=Dt;function xr(){an(Dn)}function wr(){Rt(Dn,!Mn,Et)}function nr(){Gt({id:Dn,index:Et,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function ur(){Gt({id:Dn,index:Et,params:{hidden:tn?"0":"1"},type:"hidden-discuss",message:tn?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Dr=ht.admin||ht.user_id===$n.user_id;return ye.createElement("div",{className:"discuss-item-container",key:Dn},ye.createElement(lt,{author:$n}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${$n.login}`,target:"_blank"}," ",$n.name," "),ye.createElement("span",{className:"grey"},In)),ye.createElement(Ze.Z,{className:"discuss-content",value:Xt}),cn&&cn.length>0?ye.createElement("div",{className:"reply-discuss-container"},cn.map((Wn,cr)=>ye.createElement(ut,{key:Wn.id,data:Wn,index:cr,user:ht,onSetActionType:Gt,parentDiscussIndex:Et}))):null,ye.createElement("div",{className:"btn-group"},Dr?ye.createElement("a",{onClick:ur,title:tn?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ye.createElement("i",{className:tn?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Qn&&(!cn||cn.length==0)?ye.createElement("a",{onClick:nr,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null,ye.createElement("a",{onClick:xr,title:"\u56DE\u590D"}," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," "),ye.createElement("a",{onClick:wr,className:Mn?"c-orange":""},ye.createElement("i",{className:Mn?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ye.createElement("span",null,Cn||""))),ye.createElement(it.Z,{id:Dn,activeDiscussIndex:Nt,onReplyDiscuss:rn})))},vt=Se(85469),mt={"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"},bt=Se(64726),_t=(ht,Dt,Et)=>new Promise((Rt,Gt)=>{var Nt=Xt=>{try{an(Et.next(Xt))}catch(cn){Gt(cn)}},rn=Xt=>{try{an(Et.throw(Xt))}catch(cn){Gt(cn)}},an=Xt=>Xt.done?Rt(Xt.value):Promise.resolve(Xt.value).then(Nt,rn);an((Et=Et.apply(ht,Dt)).next())}),Mt=({user_praise:ht,praise_count:Dt,praisePlus:Et,onCreateDiscuss:Rt,discuss_count:Gt})=>{const[Nt,rn]=(0,ye.useState)(!1),[an,Xt]=(0,ye.useState)("");function cn(In){Xt(In)}function tn(){rn(!0)}function Dn(){rn(!1)}function Cn(){return _t(this,null,function*(){Rt(an),Xt(""),rn(!1)})}return ye.createElement("div",{className:`${mt["dis-input-editor-container"]} ${Nt?mt.active:""} `},ye.createElement("div",{className:Nt?`hide ${mt["text-area"]}`:mt["text-area"]},ye.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:tn}),ye.createElement("a",null," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Gt," "),ye.createElement("a",{className:"c-light-black",onClick:Et,title:ht?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},ye.createElement("i",{className:`mr3 ${ht?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Dt?ye.createElement("span",null,Dt):"")),Nt?ye.createElement("div",{className:mt["input-mask"],onClick:Dn}):null,ye.createElement("div",{className:Nt?mt["md-container"]:`${mt["md-container"]} hide`},ye.createElement(bt.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:an,height:240,onChange:cn}),ye.createElement("div",{className:mt["tip-container"],onClick:Dn},ye.createElement("a",{className:mt["btn-send"],onClick:Cn}," \u53D1\u9001 "))))},yt=Se(59301),wt=Object.defineProperty,xt=Object.defineProperties,un=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,en=(ht,Dt,Et)=>Dt in ht?wt(ht,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Dt]=Et,Ht=(ht,Dt)=>{for(var Et in Dt||(Dt={}))sn.call(Dt,Et)&&en(ht,Et,Dt[Et]);if(Vt)for(var Et of Vt(Dt))Zt.call(Dt,Et)&&en(ht,Et,Dt[Et]);return ht},ln=(ht,Dt)=>xt(ht,un(Dt)),Ln=(ht,Dt,Et)=>new Promise((Rt,Gt)=>{var Nt=Xt=>{try{an(Et.next(Xt))}catch(cn){Gt(cn)}},rn=Xt=>{try{an(Et.throw(Xt))}catch(cn){Gt(cn)}},an=Xt=>Xt.done?Rt(Xt.value):Promise.resolve(Xt.value).then(Nt,rn);an((Et=Et.apply(ht,Dt)).next())});const Pn={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var xn=(ht=>(ht[ht.GET_DISCUSSES=0]="GET_DISCUSSES",ht[ht.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",ht[ht.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",ht[ht.PLUS_DISCUSS=3]="PLUS_DISCUSS",ht[ht.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",ht[ht.SET_PAGE=5]="SET_PAGE",ht[ht.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",ht))(xn||{});function bn(ht,Dt){switch(Dt.type){case 6:return ln(Ht({},ht),{loading:!0});case 0:return Ht(Ht({},ht),Dt.payload);case 1:return Ht(Ht({},ht),Dt.payload);case 4:return Ht(Ht({},ht),Dt.payload);case 3:return Ht(Ht({},ht),Dt.payload);case 5:return ln(Ht({},ht),{page:Dt.payload});case 2:return Ht(Ht({},ht),Dt.payload);default:throw new Error}}var gn=({user:ht,identifier:Dt,hack:Et,onTriggerPraise:Rt,activeIndex:Gt})=>{const[Nt,rn]=(0,ye.useReducer)(bn,Pn),{loading:an,page:Xt,data:cn,count:tn,actionType:Dn,activeDiscussIndex:Cn}=Nt,In=(0,ye.useCallback)(()=>Ln(void 0,null,function*(){rn({type:6});const Wn=yield Re(Dt,Xt),{comments:cr,disscuss_count:Zn}=Wn;rn({type:0,payload:{data:cr,count:Zn,loading:!1}})}),[Xt,Dt]);(0,ye.useEffect)(()=>{Gt==="2"&&In()},[Dt,Xt,Gt]);function Mn(Wn){rn({type:5,payload:Wn})}function Qn(Wn){rn({type:4,payload:{actionType:Wn}})}function $n(Wn){rn(Cn===Wn?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Wn}})}function xr(Wn,cr,Zn){return Ln(this,null,function*(){try{const vn=yield Xe(Wn);cn[Zn].user_praise=cr,cn[Zn].praise_count=vn.praise_count,rn({type:3,payload:{data:[...cn]}})}catch(vn){console.log(vn)}})}function wr(){return Ln(this,null,function*(){const{id:Wn,params:cr,type:Zn,index:vn,parentDiscussIndex:er}=Dn;if(Zn==="hidden-discuss"&&(yield tt(Dt,Wn,cr),er?cn[er].children[vn].hidden=cr.hidden==1:cn[vn].hidden=cr.hidden==1,rn({type:4,payload:{actionType:null,data:[...cn]}})),Zn==="delete-discuss"){if(yield st(Dt,Wn),er||er===0){let yr=cn[er].children;for(let fr=yr.length-1;fr>=0;fr--)if(yr[fr].id===Wn){yr.splice(fr,1);break}cn[er].children=yr}else for(let yr=cn.length-1;yr>=0;yr--)if(cn[yr].id===Wn){cn.splice(yr,1);break}rn({type:4,payload:{actionType:null,data:[...cn]}})}})}function nr(){rn({type:4,payload:{actionType:null}})}function ur(Wn,cr){return Ln(this,null,function*(){try{yield nt(Dt,Wn,cr),In()}catch(Zn){console.log(Zn)}})}function Dr(Wn){return Ln(this,null,function*(){rn({type:6}),yield $e(Dt,Wn),In()})}return yt.createElement(yt.Fragment,null,yt.createElement("div",{className:"discuss-panel"},cn.length===0?yt.createElement(Ye.Z,null):cn.map((Wn,cr)=>yt.createElement(pt,{onReplyDiscuss:ur,onPlusDiscuss:xr,onSetActiveDiscussIndex:$n,onSetActionType:Qn,data:Wn,index:cr,user:ht,activeDiscussIndex:Cn})),tn>10?yt.createElement("div",{className:"pagination-container"},yt.createElement(Ge.Z,{showQuickJumper:!0,onChange:Mn,current:Xt,total:tn})):null),yt.createElement(Mt,{user_praise:Et.user_praise,praise_count:Et.praises_count,praisePlus:Rt,discuss_count:Et.comments_count,onCreateDiscuss:Dr}),yt.createElement(x.Z,null,yt.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:!!Dn,onOk:wr,onCancel:nr},yt.createElement("p",null,Dn?Dn.message:"")),yt.createElement(vt.Z,null)))},Ct=Se(57809),Ot=Se(92832),At=Se(65615),qt={},dn=Se(59301),dt=({hack:ht,current_user:Dt})=>dn.createElement("div",{className:qt.answer},ht!=null&&ht.analysis?dn.createElement(Ze.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.analysis)||""}):dn.createElement(Ye.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),gt={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},ft=Se(36381),jt=Se(43604),Yt=Se(78241),Qt=Se(5871),Bn=Se(24833),fn=Se(59301);const{TextArea:kn}=Ot.default,{Panel:Gn}=ft.default;var dr=({data:ht,hack:Dt})=>(console.log(ht,Dt,"data"),Dt!=null&&Dt.is_file?fn.createElement(Bn.Y2,{disabled:!0,className:gt.uploadTableWrapper,showScore:!Dt.test_set_score,data:ht,isProgramHomework:!0}):fn.createElement("div",{className:gt.hackSets},ht==null?void 0:ht.map((Et,Rt)=>fn.createElement(ft.default,{accordion:!0,bordered:!1,key:Rt,defaultActiveKey:Rt===0&&Et.id,className:gt.collapseWrapper,expandIcon:({isActive:Gt})=>fn.createElement("i",{className:`iconfont icon-weizhankai ${Gt?gt.open:gt.close}`,style:{fontSize:14,transition:"all .2s"}})},fn.createElement(Gn,{key:Et.id,header:fn.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},fn.createElement(jt.Z,{className:gt.panelHeader},fn.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",Rt+1)),fn.createElement(jt.Z,{flex:1},fn.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Dt!=null&&Dt.test_set_score)&&fn.createElement(jt.Z,{className:gt.rateInput},fn.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),fn.createElement("div",null,fn.createElement(Yt.default.Item,{noStyle:!0},fn.createElement(Qt.Z,{value:Et==null?void 0:Et.score,className:gt.baseFormItem,min:0,max:100,disabled:!0}))),fn.createElement("span",{className:"ml10"},"%")))))},fn.createElement(Yt.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},fn.createElement(kn,{readOnly:!0,value:Et==null?void 0:Et.input,rows:4})),fn.createElement(Yt.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},fn.createElement(kn,{readOnly:!0,value:Et==null?void 0:Et.output,rows:4}))))))),zt={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},Lt=Se(59301),Ut=(0,ye.forwardRef)(({data:ht=[]},Dt)=>{var Et;const[Rt,Gt]=(0,ye.useState)(),Nt=ht.filter(an=>an.show);(0,ye.useEffect)(()=>{Nt.length&&Gt(Nt[0].id)},[ht==null?void 0:ht.length]);const rn=((Et=Nt.find(an=>an.id===Rt))==null?void 0:Et.element)||null;return(0,ye.useImperativeHandle)(Dt,()=>({setActiveTab:an=>Gt(an)})),Lt.createElement("div",{className:zt.tabs},Lt.createElement("div",{className:zt.tabWarp},Nt.map(an=>Lt.createElement("div",{onClick:()=>Gt(an.id),className:`${zt.tab} ${an.id===Rt?zt.active:""}`,key:an.id},an.name))),Lt.createElement("div",{className:zt.content},rn))}),Pt=Se(59301),Tt=Object.defineProperty,kt=Object.defineProperties,$t=Object.getOwnPropertyDescriptors,nn=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,Sn=Object.prototype.propertyIsEnumerable,An=(ht,Dt,Et)=>Dt in ht?Tt(ht,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Dt]=Et,En=(ht,Dt)=>{for(var Et in Dt||(Dt={}))mn.call(Dt,Et)&&An(ht,Et,Dt[Et]);if(nn)for(var Et of nn(Dt))Sn.call(Dt,Et)&&An(ht,Et,Dt[Et]);return ht},Tn=(ht,Dt)=>kt(ht,$t(Dt)),_n=(ht,Dt,Et)=>new Promise((Rt,Gt)=>{var Nt=Xt=>{try{an(Et.next(Xt))}catch(cn){Gt(cn)}},rn=Xt=>{try{an(Et.throw(Xt))}catch(cn){Gt(cn)}},an=Xt=>Xt.done?Rt(Xt.value):Promise.resolve(Xt.value).then(Nt,rn);an((Et=Et.apply(ht,Dt)).next())});const It={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},Xn={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var Nn=({hack:ht,onTriggerPraise:Dt,topicId:Et,page:Rt,onPageChange:Gt,user:Nt,current_user:rn,submitRecords:an,submitting:Xt,submitResult:cn,setActiveIndex:tn,hack_sets:Dn})=>{var Cn,In;const[Mn]=(0,je.useSearchParams)(),[Qn,$n]=(0,ye.useState)("0"),xr=(0,je.useLocation)(),[wr,nr]=(0,ye.useState)(!1),[ur,Dr]=(0,ye.useState)(null),[Wn,cr]=(0,ye.useState)([]),[Zn,vn]=(0,ye.useState)([]),[er,yr]=(0,ye.useState)({page:1,limit:10}),fr=(0,ye.useRef)(null),Ft=(0,ye.useRef)(null);console.log(Nt,"user");let[pn,Hn]=(0,ye.useState)(Tn(En({},(0,je.useParams)()),{page:1,per_page:20,name:""}));(0,ye.useEffect)(()=>{Ft.current&&(ht==null?void 0:ht.is_close_tips)===!1&&ur===null&&Dr(!0)},[Ft.current,ht==null?void 0:ht.is_close_tips,ur]);function tr(){return _n(this,null,function*(){yield(0,De.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,ye.useEffect)(()=>{tn(Qn)},[Qn]);function Un(Fn){return _n(this,null,function*(){let Cr=Fn.target.id;if(Cr==="1"){let Mr=yield(0,De.ZP)(`/api/myproblems/${pn.id}/redo_logs.json`,{method:"get",params:En({},er)});(Mr==null?void 0:Mr.status)===0&&vn(Mr==null?void 0:Mr.data)}$n(Cr)})}(0,ye.useEffect)(()=>xe.Z.subscribe("to-commit-info",()=>{$n("1"),fr.current&&fr.current.setActiveTab("1")}),[]),(0,ye.useEffect)(()=>xe.Z.subscribe("to-reset-info",()=>{Un({target:{id:"1"}}),fr.current&&fr.current.setActiveTab("2")}),[]);function Pr(){$n("2")}function ar(){return _n(this,null,function*(){let Fn=yield(0,De.ZP)("/api/problems/my_hack_list.json",{method:"get",params:En({identifier:pn==null?void 0:pn.id},pn)});cr(Fn)})}const yn=[{title:null,description:Pt.createElement("div",null,Pt.createElement("b",{onClick:()=>{Dr(!1),tr(),nr(!0),ar()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),Pt.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"),Pt.createElement(ce.ZP,{onClick:()=>{Dr(!1),tr()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>Ft.current}];return Pt.createElement("div",{className:Le["left-panel"]},Pt.createElement("ul",{className:`${Le["s-navs"]} ${Le["bg-white"]} ${Le.b1}`},(ht==null?void 0:ht.is_program)&&!Mn.get("pageId")&&Pt.createElement(oe.Z,{title:"\u9898\u76EE\u5217\u8868"},Pt.createElement("div",{onClick:()=>{ar(),nr(!0)},className:Le.btns,ref:Ft,style:ur?{pointerEvents:"none"}:{}},Pt.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Pt.createElement("li",{style:{marginLeft:20}},Pt.createElement("a",{className:Qn==="0"?Le.active:"",id:"0",onClick:Un},"\u9898\u76EE\u63CF\u8FF0")),Pt.createElement("li",null,Pt.createElement("a",{className:Qn==="1"?Le.active:"",id:"1",onClick:Un},"\u64CD\u4F5C\u8BB0\u5F55")),(Mn.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show)||Mn.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show))&&Pt.createElement("li",null,Pt.createElement("a",{className:Qn==="4"?Le.active:"",id:"4",onClick:Un},"\u89E3\u7B54\u53C2\u8003")),Mn.get("type")!=="exercises"&&Pt.createElement("li",null,Pt.createElement("a",{className:Qn==="2"?Le.active:"",id:"2",onClick:Un},"\u8BC4\u8BBA")),!!(Dn!=null&&Dn.length)&&Mn.get("type")!=="exercises"&&Mn.get("type")!=="1"&&Pt.createElement("li",null,Pt.createElement("a",{className:Qn==="5"?Le.active:"",id:"5",onClick:Un},"\u6D4B\u8BD5\u7528\u4F8B"))),Pt.createElement("div",{className:`${Le["tab-panel-body"]} ${Qn==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Pt.createElement(at,{hack:ht,onTriggerPraise:Dt,toDiscuss:Pr})),Pt.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${Qn==="1"?"":"hide"}`},Pt.createElement(Ut,{ref:fr,data:[{id:"1",show:Mn.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:Pt.createElement(Pt.Fragment,null,an!=null&&an.records_count||Xt?Pt.createElement(rt,{page:Rt,onPageChange:Gt,topicId:Et,submitting:Xt,key:(cn==null?void 0:cn.id)||1,submitRecords:an,submitResult:cn}):Pt.createElement(Ye.Z,null))},{id:"2",show:Mn.get("type")==="exercises"||(ht==null?void 0:ht.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:Pt.createElement(Pt.Fragment,null,Pt.createElement(We.default,{pagination:!1,dataSource:Zn==null?void 0:Zn.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Fn,Cr,Mr)=>Ne()(Fn).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Fn,Cr,Mr)=>{var Nr;return(Nr=[{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(Hr=>Hr.id===Fn))==null?void 0:Nr.name}}]}),Pt.createElement(Ge.Z,{style:{marginTop:10},current:er.page,total:Zn==null?void 0:Zn.count,hideOnSinglePage:!0,onChange:Fn=>_n(void 0,null,function*(){er.page=Fn,yr(er);let Cr=yield(0,De.ZP)(`/api/myproblems/${pn.id}/redo_logs.json`,{method:"get",params:Tn(En({},er),{courseId:pn.courseId})});(Cr==null?void 0:Cr.status)===0&&vn(Cr==null?void 0:Cr.data)})}))}]})),Pt.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${Qn==="4"?"":"hide"}`},Pt.createElement(Ut,{data:[{id:"1",show:Mn.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show),name:"\u7B54\u6848",element:Pt.createElement(Pt.Fragment,null,Pt.createElement(Ie,{hack:ht,current_user:rn}))},{id:"2",show:Mn.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show),name:"\u89E3\u6790",element:Pt.createElement(Pt.Fragment,null,Pt.createElement(dt,{hack:ht,current_user:rn}))}]})),Pt.createElement("div",{className:`${Le["tab-panel-body"]} ${Qn==="2"?"":"hide"}`,style:{padding:0}},Pt.createElement(gn,{user:Nt,activeIndex:Qn,identifier:ht.identifier,hack:ht,onTriggerPraise:Dt})),Pt.createElement("div",{className:`${Le["tab-panel-body"]} ${Qn==="5"?"":"hide"}`,style:{padding:12}},Pt.createElement(dr,{data:Dn||[],hack:ht})),Pt.createElement(a.Z,{rootClassName:Le.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>nr(!1),open:wr},Pt.createElement(ie.Z,null,Pt.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),Pt.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",Wn==null?void 0:Wn.total_count,"\u9898\xA0[\xA0",Wn==null?void 0:Wn.total_score,"\u5206\xA0]\xA0"),!(Nt!=null&&Nt.hack_manager)&&Pt.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Wn==null?void 0:Wn.work_score,"\u5206")),Pt.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Pt.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(Nt!=null&&Nt.hack_manager)&&Pt.createElement(Ct.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Fn=>{pn.page=1,pn.finish_status=Fn,Hn(En({},pn)),ar()}},Pt.createElement(Ct.default.Option,{value:""},"\u5168\u90E8"),Pt.createElement(Ct.default.Option,{value:0},"\u672A\u5F00\u59CB"),Pt.createElement(Ct.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),Pt.createElement(Ct.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),Pt.createElement(Ct.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Fn=>{pn.page=1,pn.difficult=Fn||null,Hn(En({},pn)),ar()}},Pt.createElement(Ct.default.Option,{value:0},"\u5168\u90E8"),Pt.createElement(Ct.default.Option,{value:1},"\u7B80\u5355"),Pt.createElement(Ct.default.Option,{value:2},"\u9002\u4E2D"),Pt.createElement(Ct.default.Option,{value:3},"\u56F0\u96BE")),Pt.createElement(Ot.default.Search,{size:"large",onSearch:Fn=>{pn.name=Fn,pn.page=1,Hn(En({},pn)),ar()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),Pt.createElement("div",{className:Le.list,style:{height:36,background:"#3D445C"}},!(Nt!=null&&Nt.hack_manager)&&Pt.createElement("span",null,"\u72B6\u6001"),Pt.createElement("span",null,"\u5E8F\u53F7"),Pt.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),Pt.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),Pt.createElement("div",{style:{overflow:"auto",flex:1}},(Cn=Wn==null?void 0:Wn.data)!=null&&Cn.length?(In=Wn==null?void 0:Wn.data)==null?void 0:In.map((Fn,Cr)=>Pt.createElement("div",{onClick:()=>_n(void 0,null,function*(){let Mr=yield(0,De.ZP)(`/api/problems/${Fn==null?void 0:Fn.identifier}/start.json`,{method:"get",params:{hack_user_id:Nt==null?void 0:Nt.user_id}});Mr&&(je.history.replace(`/myproblems/${Mr==null?void 0:Mr.identifier}${window.location.search}`),window.location.reload())}),className:`${Le.list} ${Fn!=null&&Fn.checked?Le.active:""}`},!(Nt!=null&&Nt.hack_manager)&&Pt.createElement(Pt.Fragment,null,!(Fn!=null&&Fn.opened)&&Pt.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Fn==null?void 0:Fn.opened)&&!(Fn!=null&&Fn.passed)&&Pt.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Fn==null?void 0:Fn.opened)&&(Fn==null?void 0:Fn.passed)&&Pt.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),Pt.createElement("span",null,(pn.page-1)*20+(Cr+1)),Pt.createElement("span",{style:{flex:1},title:Fn.name},`[${Fn==null?void 0:Fn.score}\u5206]`,"\xA0",Fn.name),Pt.createElement("span",{style:{flexBasis:48,paddingRight:0}},It[Fn.difficult]))):Pt.createElement(Ye.Z,null)),Pt.createElement(Ge.Z,{current:pn.page,className:"mt20",hideOnSinglePage:!0,total:Wn==null?void 0:Wn.count,pageSize:pn.per_page,onChange:(Fn,Cr)=>{pn.page=Fn,pn.per_page=Cr,ar()}})),Pt.createElement(At.Z,{rootClassName:Le.tour,closeIcon:!1,open:!!ur,steps:yn,gap:{offset:3,radius:2}}))},zn=Se(62522),hn=Se(93261),Bt=Se(46942),Wt=Se(38992),on=Se(39649),Kt=Se(71400),wn=Se(7850),Rn=Se(92310),Jn=Se.n(Rn),Kn=Se(48569),sr=Se(18378),Ar=Se(54318),mr=Se(71302),Jt=Se(59301),Lr=Object.defineProperty,_r=Object.defineProperties,rr=Object.getOwnPropertyDescriptors,or=Object.getOwnPropertySymbols,pr=Object.prototype.hasOwnProperty,vr=Object.prototype.propertyIsEnumerable,br=(ht,Dt,Et)=>Dt in ht?Lr(ht,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Et}):ht[Dt]=Et,jn=(ht,Dt)=>{for(var Et in Dt||(Dt={}))pr.call(Dt,Et)&&br(ht,Et,Dt[Et]);if(or)for(var Et of or(Dt))vr.call(Dt,Et)&&br(ht,Et,Dt[Et]);return ht},qn=(ht,Dt)=>_r(ht,rr(Dt)),gr=(ht,Dt)=>{var Et={};for(var Rt in ht)pr.call(ht,Rt)&&Dt.indexOf(Rt)<0&&(Et[Rt]=ht[Rt]);if(ht!=null&&or)for(var Rt of or(ht))Dt.indexOf(Rt)<0&&vr.call(ht,Rt)&&(Et[Rt]=ht[Rt]);return Et},Vn=(ht,Dt,Et)=>new Promise((Rt,Gt)=>{var Nt=Xt=>{try{an(Et.next(Xt))}catch(cn){Gt(cn)}},rn=Xt=>{try{an(Et.throw(Xt))}catch(cn){Gt(cn)}},an=Xt=>Xt.done?Rt(Xt.value):Promise.resolve(Xt.value).then(Nt,rn);an((Et=Et.apply(ht,Dt)).next())});const{Countdown:hr}=E.default,lr={Java:"java",C:"c",Python:"py","C++":"c"};var Sr=(ht=>(ht[ht.SET_LOADING=0]="SET_LOADING",ht[ht.GET_DATA=1]="GET_DATA",ht[ht.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",ht[ht.SET_DATA=3]="SET_DATA",ht[ht.SET_DEBUGING=4]="SET_DEBUGING",ht[ht.SET_SUBMITING=5]="SET_SUBMITING",ht[ht.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",ht[ht.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",ht[ht.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",ht[ht.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",ht[ht.SET_PAGE=10]="SET_PAGE",ht))(Sr||{});function Er(){return new Date().getTime()}const ir={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Ir(ht,Dt){switch(Dt.type){case 1:return jn(jn({},ht),Dt.payload);case 3:return qn(jn({},ht),{data:Dt.payload});case 0:return qn(jn({},ht),{loading:Dt.payload});case 9:return qn(jn({},ht),{showNote:Dt.payload});case 4:return qn(jn({},ht),{debuging:Dt.payload});case 5:return qn(jn({},ht),{submitting:Dt.payload});case 2:return qn(jn({},ht),{submitRecords:Dt.payload});case 10:return qn(jn({},ht),{submitRecordPage:Dt.payload});case 6:return qn(jn({},ht),{executingMessage:Dt.payload});case 7:return jn(jn({},ht),Dt.payload);case 8:return jn(jn({},ht),Dt.payload);default:throw new Error}}var Tr=({children:ht})=>{var Dt,Et,Rt,Gt,Nt;const[rn,an]=(0,ye.useReducer)(Ir,ir),{id:Xt}=(0,je.useParams)(),cn=(0,je.useLocation)(),[tn]=(0,je.useSearchParams)(),{loading:Dn,data:Cn,debugResult:In,submitResult:Mn,submitRecords:Qn,submitRecordPage:$n,showNote:xr,debuging:wr,submitting:nr,executingMessage:ur}=rn,[Dr,Wn]=(0,ye.useState)("#37AD83"),[cr,Zn]=(0,ye.useState)(null),[vn,er]=(0,ye.useState)({}),[yr,fr]=(0,ye.useState)(!0),[Ft,pn]=(0,ye.useState)(!1),[Hn,tr]=(0,ye.useState)(!1),Un=(0,ye.useRef)(null),Pr=(0,ye.useRef)(0),ar=Cn==null?void 0:Cn.user,yn=Cn==null?void 0:Cn.hack,[Fn,Cr]=(0,ye.useState)(!1),Mr=(0,ye.useRef)(1),Nr=(0,ye.useRef)(!1);(0,Kn.y)(tn.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Hr}=(0,Kn.X)(),[Gr,Zr]=(0,ye.useState)(""),Kr=(0,on._)(vn);(0,ye.useEffect)(()=>{function On(){return Vn(this,null,function*(){var Yn,jr,Rr,Xr,Yr;fr(!0);const Fr=yield(0,le.fu)(Xt,{exercise_id:tn.get("exercisesId")});if(setTimeout(()=>{fr(!1)},800),Fr.status!==401){try{Fr.hack.code=Oe.Base64.decode(Fr.hack.code)}catch(Or){console.log(Or)}Fr.hack=qn(jn({},Fr.hack),{is_program:tn.get("type")==="1"}),an({type:1,payload:{loading:!1,data:Fr}})}if(tn.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let Or;tn.get("coursesId")=="coursesId"?Or=yield(0,se._F)({categoryId:tn.get("exercisesId"),login:tn.get("login")}):Or=yield(0,se._B)({categoryId:tn.get("exercisesId"),login:tn.get("login")}),er(jn({},Or)),Hr((Yn=Or==null?void 0:Or.exercise)==null?void 0:Yn.forbid_copy),typeof((jr=Or==null?void 0:Or.exercise)==null?void 0:jr.left_time)=="number"&&(Zn(Date.now()+((Rr=Or==null?void 0:Or.exercise)==null?void 0:Rr.left_time)*1e3),setTimeout(()=>{Wn("red")},(((Xr=Or==null?void 0:Or.exercise)==null?void 0:Xr.left_time)-300>0?((Yr=Or==null?void 0:Or.exercise)==null?void 0:Yr.left_time)-300:0)*1e3))}})}Xt&&On()},[Xt]),(0,ye.useEffect)(()=>{var On;return tn.get("type")==="exercises"&&((On=vn==null?void 0:vn.exercise)!=null&&On.screen_open)&&(window.removeEventListener("blur",Wr,!1),Kt.U.forEach((Yn,jr)=>{window.addEventListener(Yn,Wr,!1)}),window.addEventListener("blur",Wr,!1),window.focus()),()=>{document.removeEventListener((0,ae.gH)(),Wr)}},[vn]),(0,ye.useEffect)(()=>{Gr==="1"&&Xt&&yn!=null&&yn.language&&Vr()},[Xt,$n,yn==null?void 0:yn.language,Gr]),(0,ye.useEffect)(()=>(yn!=null&&yn.is_program&&(Pr.current=0,Un.current=setInterval(()=>{qr()},15e3)),()=>{clearInterval(Un.current)}),[yn==null?void 0:yn.is_program]);const qr=()=>Vn(void 0,null,function*(){let On=yield(0,De.ZP)(`/api/myproblems/${Xt}/save_long_time.json`,{method:"get",params:{answer_long_time:Pr.current}})}),Wr=()=>{Nr.current||(0,ae.BU)(),window.parent.postMessage("backExercise","*")};function Vr(){return Vn(this,null,function*(){try{const On=yield(0,le.zO)(Xt,{limit:15,page:$n,language:yn==null?void 0:yn.language});an({type:2,payload:On})}catch(On){console.log(On)}})}function Ur(On){an({type:10,payload:On})}function zr(On){return Vn(this,null,function*(){var Yn;let jr;(tn.get("ip_limit")==="inner"||tn.get("ip_bind_type")==="true")&&(jr=yield(0,hn.y)({ip_limit:tn.get("ip_limit"),ip_bind:tn.get("ip_bind_type")==="true"}));const Rr=yield(0,le.n4)(Xt,{code:Oe.Base64.encode(On||yn.code),language:yn==null?void 0:yn.language,exercise_id:tn.get("exercisesId"),question_id:tn.get("questionId"),ip:jr});return Rr.status===-5&&(0,je.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:qn(jn({errorMessage:Rr==null?void 0:Rr.message},(vn==null?void 0:vn.exercise)||{}),{exercise_user_id:(Yn=vn==null?void 0:vn.exercise)==null?void 0:Yn.exercise_user_id,id:tn.get("exercisesId")})}}),Rr})}function ea(){return Vn(this,null,function*(){if(Mr.current=2,!nr){an({type:5,payload:!0});try{xe.Z.publish("to-commit-info");const On=yield zr();if(console.log(On,1),On.status===0){let Fr=function(){return Vn(this,null,function*(){const{status:Or,data:Qr}=yield(0,le.rX)(Xt,"submit"),Jr=Er()-Yr>(Rr*Xr+3)*1e3;if(Or!==0&&!Jr&&setTimeout(Fr,1e3),Jr){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),an({type:5,payload:!1});return}if(Or===0){Qr.status===2&&pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(Qr==null?void 0:Qr.status)===0&&tn.get("type")==="1"&&tr(!0);const ma=yield(0,le.zO)(Xt,{limit:15,page:$n,language:yn==null?void 0:yn.language});an({type:8,payload:qn(jn({},rn),{submitResult:Qr,submitting:!1,submitRecords:ma})})}})},Yn={};if(tn.get("type")==="exercises"&&(Yn.extras={exercise_id:tn.get("exercisesId"),question_id:tn.get("questionId")},(tn.get("ip_limit")==="inner"||tn.get("ip_bind_type")==="true")&&(Yn.extras.ip=yield(0,hn.y)({ip_limit:tn.get("ip_limit"),ip_bind:tn.get("ip_bind_type")==="true"}))),(yield(0,le.bM)(Xt,Yn)).status===-1&&tn.get("exercisesId")){window.parent.location.href=`/classrooms/${tn.get("coursesId")}/exercise/${tn.get("exercisesId")}/detail`;return}const{time_limit:Rr,test_case_size:Xr}=yn,Yr=Er();Fr()}else an({type:5,payload:!1})}catch(On){console.log(On),an({type:5,payload:!1})}Cr(!1)}})}function ta(){return Vn(this,null,function*(){Mr.current=1,rn.debuging=!0,an({type:4,payload:!0});try{if((yield zr()).status===0){let Yr=function(){return Vn(this,null,function*(){const{status:Fr,message:Or,data:Qr}=yield(0,le.rX)(Xt,"debug"),Jr=Er()-Xr>(Yn+3)*1e3;if(Fr!==0&&!Jr&&(an({type:6,payload:Or}),setTimeout(Yr,1e3)),Jr){pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),an({type:4,payload:!1}),an({type:7,payload:qn(jn({},rn),{debugResult:{status:2},debuging:!1})});return}Fr===0&&(Qr.status===2&&pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),an({type:4,payload:!1}),an({type:7,payload:qn(jn({},rn),{debugResult:Qr,debuging:!1})}))})};const{time_limit:Yn}=yn;let jr={input:encodeURIComponent(Cn.test_case.input)};if(tn.get("type")==="exercises"&&(jr.exercise_id=tn.get("exercisesId")),(yield(0,le.MU)(Xt,jr)).status===-1&&tn.get("exercisesId")){window.parent.location.href=`/classrooms/${tn.get("coursesId")}/exercise/${tn.get("exercisesId")}/detail`;return}const Xr=Er();Yr()}else an({type:4,payload:!1})}catch(On){console.log(On)}finally{}})}function $r(On,Yn){const jr=Yn?{modify_code:!1}:{};an({type:3,payload:qn(jn({},Cn),{hack:jn(qn(jn({},yn),{code:On}),jr)})}),Cr(!0)}const ra=On=>Vn(void 0,null,function*(){let Yn=yield(0,De.ZP)(`/api/problems/${yn==null?void 0:yn.identifier}/start.json`,{method:"get",params:{language:On==="C++"||On==="c++"?encodeURIComponent(On):On,hack_user_id:ar==null?void 0:ar.user_id}});Yn.status!==-1&&je.history.replace(`/myproblems/${Yn==null?void 0:Yn.identifier}${window.location.search}`)});function aa(On){let Yn=On.target.value;an({type:3,payload:qn(jn({},Cn),{test_case:{input:Yn}})})}function oa(){return Vn(this,null,function*(){try{let On={};tn.get("type")==="exercises"?On.exercise_id=tn.get("exercisesId"):yn!=null&&yn.homework_common_id&&(On.homework_common_id=yn==null?void 0:yn.homework_common_id);const Yn=yield(0,le.H7)(Xt,jn({},On));Yn.status===401||($r(Oe.Base64.decode(Yn.code)),(tn.get("type")==="exercises"||yn!=null&&yn.homework_common_id)&&xe.Z.publish("to-reset-info"))}catch(On){console.log(On)}})}function ia(){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Jt.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",Jt.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return Vn(this,null,function*(){const On=yield(0,le.fi)(Xt);On.status===401||$r(Oe.Base64.decode(On.code),!0)})}})}function sa(){an({type:9,payload:!0})}function la(){an({type:9,payload:!1})}function ua(On){return Vn(this,null,function*(){yield(0,le.MK)(Xt,On),an({type:1,payload:{showNote:!1,data:qn(jn({},Cn),{hack:qn(jn({},yn),{notes:On.notes})})}})})}const ca={hack:yn,isLoading:yr,input:(Dt=Cn==null?void 0:Cn.test_case)==null?void 0:Dt.input,is_file:(Et=Cn==null?void 0:Cn.test_case)==null?void 0:Et.is_file,language:yn==null?void 0:yn.language,code:yn==null?void 0:yn.code,title:"main."+lr[yn==null?void 0:yn.language],modify_code:yn==null?void 0:yn.modify_code,notes:yn==null?void 0:yn.notes,debugResult:In,debuging:wr,submitting:nr,submitResult:Mn,executingMessage:ur,onCancelNote:la,onAddNote:ua,showNote:xr,user:ar,onShowNote:sa,onSubmitCode:ea,onChangeCode:$r,onChangeInput:aa,onDebugCode:ta,onResetCode:oa,onSyncCode:ia,onUpdateCode:zr,onChangeLanguage:ra,isWhiteTheme:Ft,setIsWhiteTheme:pn,topDispatch:an};function da(){return Vn(this,null,function*(){const{praise_count:On}=yield(0,le.vl)(yn.id,{container_type:"Hack",type:1});let Yn=qn(jn({},Cn),{hack:qn(jn({},yn),{praises_count:On,user_praise:!yn.user_praise})});an({type:3,payload:Yn})})}const fa={topicId:Xt,submitResult:Mn,submitRecords:Qn,submitting:nr,page:$n,onPageChange:Ur,hack:yn,user:Cn==null?void 0:Cn.user,hack_sets:Cn==null?void 0:Cn.hack_sets,current_user:Cn==null?void 0:Cn.current_user,onTriggerPraise:da,setActiveIndex:Zr};console.log(vn);const ga=()=>tn.get("type")==="exercises"?!1:!!(tn.get("type")==="1"&&Object.values((yn==null?void 0:yn.homework_extension)||{}).some(Boolean));return Jt.createElement(Jt.Fragment,null,Jt.createElement(he.Z,{spinning:Dn,delay:500},Cn?Jt.createElement(Jt.Fragment,null,Jt.createElement("header",{className:Jn()(wn.Z.header,Ft&&wn.Z.whiteHeader)},tn.get("type")!=="exercises"&&Jt.createElement("div",null,Jt.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${ar==null?void 0:ar.image_url}`,alt:"user",width:36}),Jt.createElement("span",{style:{color:Ft?"#333":"#B2BACB",fontSize:16}},ar==null?void 0:ar.name)),tn.get("type")==="exercises"&&Jt.createElement("div",null,Jt.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",Jt.createElement("span",{className:"ml10"},(Rt=vn==null?void 0:vn.exercise)==null?void 0:Rt.user_name)),Jt.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",Jt.createElement("span",{className:"ml10"},(Gt=vn==null?void 0:vn.exercise)==null?void 0:Gt.student_id))),Jt.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},Jt.createElement("div",null,yn.name)),(yn==null?void 0:yn.is_program)&&Jt.createElement(Bt.Z,{defaultValue:yn==null?void 0:yn.answer_long_time,onChange:On=>{Pr.current=On},className:wn.Z.timepiece}),ar!=null&&ar.hack_manager?Jt.createElement(je.Link,{className:wn.Z.btn_edit,to:tn.get("type")==="1"?tn.get("pageId")?`/problems/newedit/${yn.identifier}?type=1&pageId=${tn.get("pageId")}&backUrl=${tn.get("backUrl")}`:`/problems/newedit/${yn.identifier}?type=1`:`/problems/newedit/${yn.identifier}`}," ",Jt.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((Nt=vn==null?void 0:vn.exercise)==null?void 0:Nt.left_time)&&Jt.createElement(Jt.Fragment,null,Jt.createElement("span",{style:{color:Dr,marginRight:6},className:`iconfont icon-daojishi ${wn.Z.djs}`}),Jt.createElement("span",{className:"c-white mr20"},Jt.createElement(hr,{valueStyle:{color:Dr,fontSize:20,fontWeight:500},title:Jt.createElement("span",{style:{color:Dr,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:cr,onFinish:()=>Vn(void 0,null,function*(){const On=yield(0,se.VL)({categoryId:tn.get("exercisesId"),commit_method:2});if((On==null?void 0:On.status)===0&&(zr(),pe.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:Jt.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",Jt.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Vn(void 0,null,function*(){window.parent.location.href=`/classrooms/${tn.get("coursesId")}/exercise/${tn.get("exercisesId")}/detail`})})),(On==null?void 0:On.status)===-3){const Yn=parseInt(On==null?void 0:On.message);Zn(Date.now()+Yn*1e3)}})}))),tn.get("type")==="exercises"?Jt.createElement(ce.ZP,{type:"primary",onClick:()=>{const On=()=>Vn(void 0,null,function*(){yield zr(),Cr(!1),Kr(),Nr.current=!0,Wr()});if(!(Qn!=null&&Qn.records_count)||Fn){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:Jt.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:On});return}On()}},Jt.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):Jt.createElement("span",{onClick:()=>{var On;if(tn.get("backUrl"))je.history.push(tn.get("backUrl"));else if(tn.get("type")==="1"){let Yn=(On=localStorage.getItem("program_homework"))==null?void 0:On.split(",");je.history.push(`/classrooms/${Yn==null?void 0:Yn[0]}/program_homework/${Yn==null?void 0:Yn[1]}/detail`)}else je.history.push("/problemset")}},Jt.createElement(oe.Z,{title:"\u5173\u95ED"},Jt.createElement("i",{style:{color:Ft?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),Jt.createElement(he.Z,{size:"large",spinning:yr},Jt.createElement(re.Z,{className:Jn()(wn.Z.myProblems,Ft&&wn.Z.whiteMyProblems),leftChild:Jt.createElement(Nn,jn({},fa)),rightChild:Jt.createElement(kr,jn({},ca))}))):null,Jt.createElement(pe.default,{centered:!0,closable:!1,width:680,footer:null,open:Hn,className:"oj-modal"},Jt.createElement("section",{className:"oj-modal-content"},Jt.createElement("div",{className:"oj-modal-head"},Jt.createElement("img",{src:zn,alt:""}),Jt.createElement("i",{onClick:()=>tr(!1),className:"iconfont icon-guanbi1"})),Jt.createElement("aside",null,Jt.createElement("img",{className:"mr30",src:mr.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",Jt.createElement("span",{style:{color:"#75d6ba",marginRight:100}},Mn==null?void 0:Mn.execute_time,"ms"),"\u4F18\u4E8E",Jt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Mn==null?void 0:Mn.time_better_than)||100,"%"),"\u7684\u7528\u6237"),Jt.createElement("aside",{className:"mb50"},Jt.createElement("img",{src:Ar.Z,className:"mr30"}),Jt.createElement("span",{className:"oj-modal-tt"},Jt.createElement("span",null,Jt.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),Jt.createElement("span",{className:"c-light-primary"},Mn==null?void 0:Mn.execute_memory,"kb")),Jt.createElement("span",null,Jt.createElement("span",null))),"\u4F18\u4E8E",Jt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Mn==null?void 0:Mn.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),Jt.createElement("div",{id:"oj-modal-next",onClick:()=>Vn(void 0,null,function*(){var On;if(Mn!=null&&Mn.next_identifier){let Yn=yield(0,De.ZP)(`/api/problems/${Mn==null?void 0:Mn.next_identifier}/start.json`,{method:"get",params:{hack_user_id:ar==null?void 0:ar.user_id}});Yn&&(je.history.replace(`/myproblems/${Yn==null?void 0:Yn.identifier}${window.location.search}`),window.location.reload())}else{let Yn=(On=localStorage.getItem("program_homework"))==null?void 0:On.split(",");je.history.push(`/classrooms/${Yn==null?void 0:Yn[0]}/program_homework/${Yn==null?void 0:Yn[1]}/detail`)}}),className:"oj-modal-btn"},Mn!=null&&Mn.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"))),ga()&&Jt.createElement(sr.Z,{showData:yn==null?void 0:yn.homework_extension,description:yn==null?void 0:yn.description,code:yn.code,sendParams:{source:"hack"}})),Jt.createElement(Wt.Z,{successCb:()=>{Mr.current===1?ta():ea()}}))};function Br({title:ht,modify_code:Dt,onSyncCode:Et,onShowCodeSetting:Rt,onResetCode:Gt,hack:Nt,onChangeLanguage:rn,isWhiteTheme:an}){var Xt;const cn=()=>{pe.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:Jt.createElement(te.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:Gt})},[tn]=(0,je.useSearchParams)(),Dn=tn.get("language"),Cn=In=>In==="1"?"c++":In==="2"?"C++":In;return(0,ye.useEffect)(()=>{Dn&&rn(Cn(Dn))},[]),(0,ye.useEffect)(()=>{Nt!=null&&Nt.tpm_code_modified&&pe.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:Jt.createElement(te.Z,null),content:Jt.createElement("div",null,Jt.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),Jt.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),Jt.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:()=>Gt()})},[Nt==null?void 0:Nt.language]),console.log(Nt,an,"hack"),Jt.createElement("div",{className:`${wn.Z.codeHead} ${an?wn.Z.whiteCodeHead:""}`},Jt.createElement("div",{className:wn.Z.navWrap},(Xt=Nt==null?void 0:Nt.all_language)==null?void 0:Xt.map(In=>Jt.createElement("div",{className:`${wn.Z.nav} ${In===(Nt==null?void 0:Nt.language)?wn.Z.active:""}`,key:In,onClick:()=>rn(In)},Jt.createElement(oe.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},Jt.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),Jt.createElement("span",null,In)))),Jt.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Dt?Jt.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Et},Jt.createElement("img",{src:Me,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,Jt.createElement("a",{onClick:cn},Jt.createElement(oe.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},Jt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),Jt.createElement("a",{onClick:Rt},Jt.createElement(oe.Z,{title:"\u8BBE\u7F6E"},Jt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function kr(ht){var Dt=ht,{input:Et,is_file:Rt,showNote:Gt,onShowNote:Nt,notes:rn,onCancelNote:an,onAddNote:Xt,debugResult:cn,language:tn,debuging:Dn,submitting:Cn,executingMessage:In,code:Mn,onSubmitCode:Qn,onDebugCode:$n,onChangeCode:xr,onChangeInput:wr,onUpdateCode:nr,user:ur,isLoading:Dr,submitResult:Wn}=Dt,cr=gr(Dt,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function Zn(er){return Jt.createElement(Br,qn(jn({},cr),{onShowCodeSetting:er}))}const vn=jn({input:Et,is_file:Rt,debugResult:cn,debuging:Dn,submitting:Cn,executingMessage:In,onDebugCode:$n,onChangeCode:xr,onSubmitCode:Qn,onChangeInput:wr,user:ur,submitResult:Wn},cr);return Jt.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},Jt.createElement(we,{setIsWhiteTheme:cr==null?void 0:cr.setIsWhiteTheme,isLoading:Dr,language:tn,value:Mn,onChange:xr,onUpdateCode:nr,ActionBarRender:Zn}),Jt.createElement(Fe.ZP,jn({},vn)))}},76826:function(ct,ot,Se){"use strict";Se.d(ot,{h:function(){return ye}});var ye=(je=>(je[je.NOMATCH=-1]="NOMATCH",je[je.OK=0]="OK",je[je.TIMEOUT=2]="TIMEOUT",je[je.PODFAILURE=3]="PODFAILURE",je[je.COMPILEFAILURE=4]="COMPILEFAILURE",je[je.EXECUTEFAILURE=5]="EXECUTEFAILURE",je[je.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",je))(ye||{})},5247:function(ct,ot,Se){"use strict";Se.d(ot,{H7:function(){return a},MK:function(){return te},MU:function(){return se},X6:function(){return re},bM:function(){return le},fi:function(){return y},fu:function(){return ie},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return ae}});var ye=Se(7660),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ee,z,ue)=>z in ee?je(ee,z,{enumerable:!0,configurable:!0,writable:!0,value:ue}):ee[z]=ue,oe=(ee,z)=>{for(var ue in z||(z={}))pe.call(z,ue)&&ce(ee,ue,z[ue]);if(E)for(var ue of E(z))he.call(z,ue)&&ce(ee,ue,z[ue]);return ee};function ie(ee,z){return(0,ye.U2)(`myproblems/${ee}.json`,oe({hidePopLogin:!0},z||{}))}function le(ee,z){return(0,ye.v_)(`myproblems/${ee}/code_submit.json`,z)}function se(ee,z){return(0,ye.v_)(`myproblems/${ee}/code_debug.json`,z)}function ae(ee,z){return z.language&&(z.language=encodeURIComponent(z.language)),(0,ye.U2)(`myproblems/${ee}/submit_records.json`,z)}function re(ee){return(0,ye.U2)("myproblems/record_detail.json",{id:ee})}function ne(ee,z){return(0,ye.U2)(`myproblems/${ee}/result.json`,{mode:z})}function te(ee,z){return(0,ye.v_)(`myproblems/${ee}/add_notes.json`,z)}function a(ee,z){return(0,ye.v_)(`myproblems/${ee}/restore_initial_code.json`,z)}function y(ee){return(0,ye.v_)(`myproblems/${ee}/sync_code.json`)}function x(ee,z){return(0,ye.v_)(`myproblems/${ee}/update_code.json`,z)}function b(ee,z){return(0,ye.v_)(`discusses/${ee}/plus.json`,z)}},36391:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se.n(he),oe=Se(43219),ie=Se(99325),le=Se(24334),se=Se.n(le),ae=Se(7660),re=Se(5247),ne=Se(21758),te=Se(61186),a=Se.n(te),y=Se(59301),x=Object.defineProperty,b=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ge=(Pe,Ee,Ae)=>Ee in Pe?x(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Pe[Ee]=Ae,fe=(Pe,Ee)=>{for(var Ae in Ee||(Ee={}))ue.call(Ee,Ae)&&ge(Pe,Ae,Ee[Ae]);if(z)for(var Ae of z(Ee))de.call(Ee,Ae)&&ge(Pe,Ae,Ee[Ae]);return Pe},me=(Pe,Ee)=>b(Pe,ee(Ee)),be=(Pe,Ee,Ae)=>new Promise((Ce,_e)=>{var we=Fe=>{try{Oe(Ae.next(Fe))}catch(Le){_e(Le)}},Me=Fe=>{try{Oe(Ae.throw(Fe))}catch(Le){_e(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,Me);Oe((Ae=Ae.apply(Pe,Ee)).next())});const ve=({problemset:Pe,dispatch:Ee})=>{var Ae,Ce,_e,we,Me;const[Oe,Fe]=(0,ye.useState)({}),[Le,Qe]=(0,ye.useState)([]),[We,Ge]=(0,ye.useState)(!1),[Ke,ze]=(0,ye.useState)(!1),[ke,Ne]=(0,ye.useState)({}),Ve=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Ue,Be,Ze;if(((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.key)==="BPROGRAM"){const Te=(0,he.cloneDeep)((Be=Pe==null?void 0:Pe.actionTabs)==null?void 0:Be.params);Fe(Te),Qe((Ze=Te==null?void 0:Te.standard_answer)==null?void 0:Ze.map(He=>({value:"",answer:(He==null?void 0:He.answer_text)||[]})))}},[(Ae=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ae.key]);function qe(){return new Date().getTime()}const rt=()=>be(void 0,null,function*(){var Ue,Be,Ze,Te,He;if(Le.some(Je=>(Je==null?void 0:Je.value)==="")&&!We){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(We){const Je=(0,he.cloneDeep)((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.params);Qe([...(Be=Je==null?void 0:Je.standard_answer)==null?void 0:Be.map(Ie=>({value:"",answer:(Ie==null?void 0:Ie.answer_text)||[],type:""}))]),Ge(!We);return}else{let Je=Le==null?void 0:Le.map((Ie,xe)=>me(fe({},Ie),{type:Ie.types}));Qe(Je)}console.log(Le),ze(!0);let at=yield(0,ae.ZP)(`/api/problems/${(Ze=Oe==null?void 0:Oe.program_attr)==null?void 0:Ze.identifier}/start.json`,{method:"get"});const et=yield(0,re.n4)(at==null?void 0:at.identifier,{code:(Te=Oe==null?void 0:Oe.program_attr)==null?void 0:Te.code,language:(He=Oe==null?void 0:Oe.program_attr)==null?void 0:He.language,answers:Le==null?void 0:Le.map(Je=>Je.value)});if((et==null?void 0:et.status)===0){let Ie=function(){return be(this,null,function*(){const{status:xe,message:De,data:Re}=yield(0,re.rX)(at==null?void 0:at.identifier,"submit"),nt=qe()-Je>10*1e3*(Le==null?void 0:Le.length);if(xe!==0&&!nt&&setTimeout(Ie,1e3),nt){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6",content:"\u8BF7\u68C0\u67E5\u7A0B\u5E8F\u4EE3\u7801\u662F\u5426\u5B58\u5728\u6B7B\u5FAA\u73AF"}),ze(!1);return}if(xe===0){ze(!1);let $e=Le==null?void 0:Le.map((tt,st)=>me(fe({},tt),{type:(Re==null?void 0:Re.right_arr[st])===1?"success":"warning"}));Qe($e),Ne(Re),Re.status===2&&(ze(!1),pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}))}})};const Je=qe();yield(0,re.bM)(at==null?void 0:at.identifier,{}),Ie()}else ze(!1);Ge(!We)}),Ye=()=>{Fe({}),Qe([]),Ge(!1),Ee({type:"problemset/setActionTabs",payload:{}})};return y.createElement(y.Fragment,null,y.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:Pe.actionTabs.key==="BPROGRAM",title:"\u8BD5\u9898\u4F53\u9A8C",okText:We?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u4EE3\u7801",cancelText:"\u53D6\u6D88",width:708,onOk:rt,onCancel:Ye,okButtonProps:{loading:Ke}},y.createElement("div",null,y.createElement("div",{className:"c-light-primary mb5 font16"},"\u7A0B\u5E8F\u586B\u7A7A\u9898"),y.createElement(ie.Z,{value:(Ce=Oe==null?void 0:Oe.program_attr)==null?void 0:Ce.description}),((_e=Oe==null?void 0:Oe.program_attr)==null?void 0:_e.code)&&y.createElement(ie.Z,{showProgramFill:!0,onFillChange:Ue=>{let Be=Ue==null?void 0:Ue.map((Ze,Te)=>fe({},Ze));Qe(Be)},programFillValue:Le,value:le.Base64.decode((we=Oe==null?void 0:Oe.program_attr)==null?void 0:we.code)}),We&&y.createElement(ye.Fragment,null,y.createElement("div",{className:oe.Z.line}),(Me=Oe==null?void 0:Oe.standard_answer)==null?void 0:Me.map((Ue,Be)=>y.createElement("div",{className:"c-grey-333 mb5",style:{display:"flex",alignItems:"baseline"}},y.createElement("b",null,"\u586B\u7A7A",Be+1,"\u7B54\u6848:\xA0"),y.createElement("pre",null,(Ue==null?void 0:Ue.answer_text)||""))),y.createElement("div",{className:"c-grey-333 mb10"},y.createElement("b",null,"\u89E3\u6790:\xA0"),(Oe==null?void 0:Oe.analysis)||"\u6682\u65E0\u89E3\u6790")))),(ke==null?void 0:ke.id)&&ke.status!==2&&y.createElement(pe.default,{open:(ke==null?void 0:ke.id)&&ke.status!==2,title:"\u8FD0\u884C\u7ED3\u679C",width:1100,footer:!1,onOk:()=>{Ne({})},onCancel:()=>{Ne({})}},y.createElement("div",{style:{maxHeight:600,overflow:"auto",marginBottom:15}},y.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",fontSize:14}},y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u72B6\u6001"),y.createElement("span",{style:{marginLeft:12,color:ke.status!==0&&"#E30000"}},ne.Im[ke.status])),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u63D0\u4EA4\u65F6\u95F4"),y.createElement("span",{style:{marginLeft:12}},a()(ke.created_at).format("YYYY-MM-DD HH:mm:ss"))),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u8BED\u8A00"),y.createElement("span",{style:{marginLeft:12}},ke.language)),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u6267\u884C\u7528\u65F6"),y.createElement("span",{style:{marginLeft:12}},ke.execute_time,"ms"))),y.createElement(ne.Y4,fe({},ke)))))};ot.Z=(0,je.connect)(({problemset:Pe})=>({problemset:Pe}))(ve)},95380:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Mt}});var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se(99325),oe=Se(5112),ie=Se(3113),le=Se(28103),se=Se(43219),ae=Se(59301),re=Object.defineProperty,ne=Object.defineProperties,te=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(yt,wt,xt)=>wt in yt?re(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):yt[wt]=xt,ee=(yt,wt)=>{for(var xt in wt||(wt={}))y.call(wt,xt)&&b(yt,xt,wt[xt]);if(a)for(var xt of a(wt))x.call(wt,xt)&&b(yt,xt,wt[xt]);return yt},z=(yt,wt)=>ne(yt,te(wt)),ue=(yt,wt,xt)=>new Promise((un,Vt)=>{var sn=Ht=>{try{en(xt.next(Ht))}catch(ln){Vt(ln)}},Zt=Ht=>{try{en(xt.throw(Ht))}catch(ln){Vt(ln)}},en=Ht=>Ht.done?un(Ht.value):Promise.resolve(Ht.value).then(sn,Zt);en((xt=xt.apply(yt,wt)).next())});const de=({problemset:yt,dispatch:wt,showdiv:xt,data:un})=>{const[Vt,sn]=(0,ye.useState)([]),[Zt,en]=(0,ye.useState)(!1),Ht=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var xn;((xn=Object.keys(un))==null?void 0:xn.length)>0&&sn(un.choices)},[un]);const ln=()=>ue(void 0,null,function*(){if(!Vt.some(xn=>xn==null?void 0:xn.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Zt){const xn=(0,he.cloneDeep)(un);sn(xn.choices)}en(!Zt)}),Ln=(xn,bn)=>{console.log(xn.target.checked);const gn=Vt.map((Ct,Ot)=>z(ee({},Ct),{checked:Ot===bn?xn.target.checked:!1}));sn(gn)},Pn=()=>{sn([]),en(!1),wt({type:"problemset/setActionTabs",payload:{}})};return ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),ae.createElement(ce.Z,{value:un==null?void 0:un.name}),Vt==null?void 0:Vt.map((xn,bn)=>{const{is_answer:gn,checked:Ct,choice_text:Ot}=xn;let At="";return Zt&&gn&&(At=se.Z.green),Zt&&!gn&&Ct&&(At=se.Z.red),ae.createElement("div",{key:bn,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${At}`},ae.createElement(oe.ZP,{onChange:qt=>Ln(qt,bn),checked:Ct}),ae.createElement("span",null,Ht[bn],".\xA0"),ae.createElement(ce.Z,{className:se.Z.html,value:Ot}),Zt&&gn&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!gn&&Ct&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Zt&&ae.createElement(ye.Fragment,null,ae.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Ht[Vt.findIndex(xn=>xn.is_answer)]),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(un==null?void 0:un.analysis)||"\u6682\u65E0\u89E3\u6790"))),ae.createElement("div",{style:{textAlign:"end",marginTop:10}},ae.createElement(ie.ZP,{type:"primary",onClick:()=>{ln()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&&ae.createElement(le.Z,null))};var ge=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(de),fe=Se(92832),me=Se(72714),be=Se(59301),ve=Object.defineProperty,Pe=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,we=(yt,wt,xt)=>wt in yt?ve(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):yt[wt]=xt,Me=(yt,wt)=>{for(var xt in wt||(wt={}))Ce.call(wt,xt)&&we(yt,xt,wt[xt]);if(Ae)for(var xt of Ae(wt))_e.call(wt,xt)&&we(yt,xt,wt[xt]);return yt},Oe=(yt,wt)=>Pe(yt,Ee(wt)),Fe=(yt,wt,xt)=>new Promise((un,Vt)=>{var sn=Ht=>{try{en(xt.next(Ht))}catch(ln){Vt(ln)}},Zt=Ht=>{try{en(xt.throw(Ht))}catch(ln){Vt(ln)}},en=Ht=>Ht.done?un(Ht.value):Promise.resolve(Ht.value).then(sn,Zt);en((xt=xt.apply(yt,wt)).next())});const Le=({problemset:yt,datas:wt,showdiv:xt,dispatch:un})=>{var Vt;const[sn,Zt]=(0,ye.useState)({}),[en,Ht]=(0,ye.useState)([]),[ln,Ln]=(0,ye.useState)(!1),Pn=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Ct;if(Object.keys(wt)){const Ot=(0,he.cloneDeep)(wt);Zt(Ot),Ht((Ct=Ot==null?void 0:Ot.standard_answer)==null?void 0:Ct.map(At=>Me({value:"",answer:(At==null?void 0:At.answer_text)||[]},At)))}},[wt]);const xn=()=>Fe(void 0,null,function*(){var Ct;if(en.some(Ot=>(Ot==null?void 0:Ot.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(ln){const Ot=(0,he.cloneDeep)(wt);Ht((Ct=Ot==null?void 0:Ot.standard_answer)==null?void 0:Ct.map(At=>Me({value:"",answer:(At==null?void 0:At.answer_text)||[]},At)))}Ln(!ln)}),bn=(Ct,Ot)=>{const At=en.map((qt,dn)=>Oe(Me({},qt),{value:dn===Ot?Ct.target.value:qt.value}));Ht(At)},gn=()=>{Zt({}),Ht([]),Ln(!1),un({type:"problemset/setActionTabs",payload:{}})};return be.createElement("div",null,be.createElement("div",{className:"c-light-primary mb5 font16"},"\u586B\u7A7A\u9898"),be.createElement(ce.Z,{value:sn==null?void 0:sn.name}),en==null?void 0:en.map((Ct,Ot)=>{const{value:At,answer:qt}=Ct;let dn="";return ln&&(qt!=null&&qt.includes(At))&&(dn=se.Z.green),ln&&!(qt!=null&&qt.includes(At))&&(dn=se.Z.red),be.createElement("div",{key:Ot,style:{pointerEvents:ln?"none":"auto",marginTop:10},className:`${se.Z.row} ${dn}`},be.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Ot+1,"\u7B54\u6848:"),(Ct==null?void 0:Ct.model)===1?be.createElement(fe.default.TextArea,{className:se.Z.textArea,style:{width:610,marginRight:10},onChange:dt=>bn(dt,Ot),value:At}):be.createElement(me.Z,{value:At,onChange:dt=>{const gt=en.map((ft,jt)=>Oe(Me({},ft),{value:jt===Ot?dt:ft.value}));Ht(gt)}}),ln&&(qt==null?void 0:qt.includes(At))&&be.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),ln&&!(qt!=null&&qt.includes(At))&&be.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),ln&&be.createElement(ye.Fragment,null,be.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},(Vt=sn==null?void 0:sn.standard_answer)==null?void 0:Vt.map((Ct,Ot)=>{var At,qt;return be.createElement("div",{className:"c-grey-333 mb5"},be.createElement("b",null,"\u586B\u7A7A",Ot+1,"\u7B54\u6848:\xA0"),(Ct==null?void 0:Ct.model)===1?((At=Ct==null?void 0:Ct.answer_text)==null?void 0:At.join("\u3001"))||"":be.createElement(me.Z,{value:(qt=Ct==null?void 0:Ct.answer_text)==null?void 0:qt.join("\u3001"),disabled:!0}))}),be.createElement("div",{className:"c-grey-333 mb10"},be.createElement("b",null,"\u89E3\u6790:\xA0"),(sn==null?void 0:sn.analysis)||"\u6682\u65E0\u89E3\u6790"))),be.createElement("div",{style:{textAlign:"end",marginTop:10}},be.createElement(ie.ZP,{type:"primary",onClick:()=>{xn()}},ln?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&&be.createElement(le.Z,null))};var Qe=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(Le),We=Se(59301),Ge=Object.defineProperty,Ke=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,qe=(yt,wt,xt)=>wt in yt?Ge(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):yt[wt]=xt,rt=(yt,wt)=>{for(var xt in wt||(wt={}))Ne.call(wt,xt)&&qe(yt,xt,wt[xt]);if(ke)for(var xt of ke(wt))Ve.call(wt,xt)&&qe(yt,xt,wt[xt]);return yt},Ye=(yt,wt)=>Ke(yt,ze(wt)),Ue=(yt,wt,xt)=>new Promise((un,Vt)=>{var sn=Ht=>{try{en(xt.next(Ht))}catch(ln){Vt(ln)}},Zt=Ht=>{try{en(xt.throw(Ht))}catch(ln){Vt(ln)}},en=Ht=>Ht.done?un(Ht.value):Promise.resolve(Ht.value).then(sn,Zt);en((xt=xt.apply(yt,wt)).next())});const Be=({problemset:yt,datas:wt,showdiv:xt,dispatch:un})=>{var Vt;const[sn,Zt]=(0,ye.useState)({}),[en,Ht]=(0,ye.useState)([]),[ln,Ln]=(0,ye.useState)(!1),Pn=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{if(Object.keys(wt)){const Ct=(0,he.cloneDeep)(wt);Zt(Ct),Ht(Ct.choices)}},[wt]);const xn=()=>Ue(void 0,null,function*(){if(!en.some(Ct=>Ct==null?void 0:Ct.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(ln){const Ct=(0,he.cloneDeep)(wt);Ht(Ct.choices)}Ln(!ln)}),bn=(Ct,Ot)=>{console.log(Ct.target.checked);const At=en.map((qt,dn)=>Ye(rt({},qt),{checked:dn===Ot?Ct.target.checked:!1}));Ht(At)},gn=()=>{Zt({}),Ht([]),Ln(!1),un({type:"problemset/setActionTabs",payload:{}})};return We.createElement("div",null,We.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),We.createElement(ce.Z,{value:sn==null?void 0:sn.name}),en==null?void 0:en.map((Ct,Ot)=>{const{is_answer:At,checked:qt,choice_text:dn}=Ct;let dt="";return ln&&At&&(dt=se.Z.green),ln&&!At&&qt&&(dt=se.Z.red),We.createElement("div",{key:Ot,style:{pointerEvents:ln?"none":"auto"},className:`${se.Z.row} ${dt}`},We.createElement(oe.ZP,{onChange:gt=>bn(gt,Ot),checked:qt}),We.createElement(ce.Z,{className:se.Z.html,value:dn}),ln&&At&&We.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),ln&&!At&&qt&&We.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),ln&&We.createElement(ye.Fragment,null,We.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},We.createElement("div",{className:"c-grey-333 mb5"},We.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(Vt=en.find(Ct=>Ct.is_answer))==null?void 0:Vt.choice_text),We.createElement("div",{className:"c-grey-333 mb10"},We.createElement("b",null,"\u89E3\u6790:\xA0"),(sn==null?void 0:sn.analysis)||"\u6682\u65E0\u89E3\u6790"))),We.createElement("div",{style:{textAlign:"end",marginTop:10}},We.createElement(ie.ZP,{type:"primary",onClick:()=>{xn()}},ln?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&&We.createElement(le.Z,null))};var Ze=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(Be),Te=Se(24905),He=Se(59301),at=Object.defineProperty,et=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Re=(yt,wt,xt)=>wt in yt?at(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):yt[wt]=xt,Xe=(yt,wt)=>{for(var xt in wt||(wt={}))xe.call(wt,xt)&&Re(yt,xt,wt[xt]);if(Ie)for(var xt of Ie(wt))De.call(wt,xt)&&Re(yt,xt,wt[xt]);return yt},nt=(yt,wt)=>et(yt,Je(wt)),$e=(yt,wt,xt)=>new Promise((un,Vt)=>{var sn=Ht=>{try{en(xt.next(Ht))}catch(ln){Vt(ln)}},Zt=Ht=>{try{en(xt.throw(Ht))}catch(ln){Vt(ln)}},en=Ht=>Ht.done?un(Ht.value):Promise.resolve(Ht.value).then(sn,Zt);en((xt=xt.apply(yt,wt)).next())});const tt=({problemset:yt,data:wt,showdiv:xt,dispatch:un})=>{const[Vt,sn]=(0,ye.useState)([]),[Zt,en]=(0,ye.useState)(!1),Ht=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var xn;((xn=Object.keys(wt))==null?void 0:xn.length)>0&&sn(wt.choices)},[wt]);const ln=()=>$e(void 0,null,function*(){if(!Vt.some(xn=>xn==null?void 0:xn.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Zt){const xn=(0,he.cloneDeep)(wt);sn(xn.choices)}en(!Zt)}),Ln=(xn,bn)=>{console.log(xn.target.checked);const gn=Vt.map((Ct,Ot)=>nt(Xe({},Ct),{checked:Ot===bn?xn.target.checked:Ct.checked}));sn(gn)},Pn=()=>{let xn="";return Vt.forEach((bn,gn)=>{bn.is_answer&&(xn=xn+Ht[gn])}),xn};return He.createElement("div",null,He.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),He.createElement(ce.Z,{value:wt==null?void 0:wt.name}),Vt==null?void 0:Vt.map((xn,bn)=>{const{is_answer:gn,checked:Ct,choice_text:Ot}=xn;let At="";return Zt&&gn&&(At=se.Z.green),Zt&&!gn&&Ct&&(At=se.Z.red),He.createElement("div",{key:bn,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${At}`},He.createElement(Te.default,{style:{padding:3},onChange:qt=>Ln(qt,bn),checked:Ct}),He.createElement("span",null,Ht[bn],".\xA0"),He.createElement(ce.Z,{className:se.Z.html,value:Ot}),Zt&&gn&&He.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!gn&&Ct&&He.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Zt&&He.createElement(ye.Fragment,null,He.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},He.createElement("div",{className:"c-grey-333 mb5"},He.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Pn()),He.createElement("div",{className:"c-grey-333 mb10"},He.createElement("b",null,"\u89E3\u6790:\xA0"),(wt==null?void 0:wt.analysis)||"\u6682\u65E0\u89E3\u6790"))),He.createElement("div",{style:{textAlign:"end",marginTop:10}},He.createElement(ie.ZP,{type:"primary",onClick:()=>{ln()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&&He.createElement(le.Z,null))};var st=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(tt),it=Se(64726),lt=Se(59301),ut=(yt,wt,xt)=>new Promise((un,Vt)=>{var sn=Ht=>{try{en(xt.next(Ht))}catch(ln){Vt(ln)}},Zt=Ht=>{try{en(xt.throw(Ht))}catch(ln){Vt(ln)}},en=Ht=>Ht.done?un(Ht.value):Promise.resolve(Ht.value).then(sn,Zt);en((xt=xt.apply(yt,wt)).next())});const pt=({problemset:yt,dispatch:wt,showdiv:xt,datas:un})=>{var Vt,sn,Zt;const[en,Ht]=(0,ye.useState)({}),[ln,Ln]=(0,ye.useState)(!1),[Pn,xn]=(0,ye.useState)(!0),[bn,gn]=(0,ye.useState)("");(0,ye.useEffect)(()=>{if(Object.keys(un)){const At=(0,he.cloneDeep)(un);Ht(At)}},[un]);const Ct=()=>ut(void 0,null,function*(){if(!bn){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}ln&&gn(""),Ln(!ln)}),Ot=()=>{Ht({}),xn(!0),Ln(!1),gn(""),wt({type:"problemset/setActionTabs",payload:{}})};return lt.createElement("div",null,lt.createElement("div",{className:"c-light-primary mb5 font16"},"\u7B80\u7B54\u9898"),lt.createElement(ce.Z,{value:en==null?void 0:en.name,style:{marginBottom:10}}),Pn?lt.createElement("div",{style:{border:"1px solid #f1f1f1",padding:10},onClick:()=>{xn(!1)}}," \u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54"):lt.createElement(it.Z,{defaultValue:bn,onChange:At=>{gn(At)}}),ln&<.createElement(ye.Fragment,null,lt.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},lt.createElement("span",{style:{color:"#5F6368"}},"\u53C2\u8003\u7B54\u6848\uFF1A"),lt.createElement("br",null),((Vt=en==null?void 0:en.answer_texts)==null?void 0:Vt[0])||"\u6682\u65E0\u53C2\u8003\u7B54\u6848",((sn=en==null?void 0:en.keywords)==null?void 0:sn.length)>0&<.createElement("div",{style:{marginTop:10,marginBottom:10}},lt.createElement("span",{style:{color:"#5F6368"}},"\u5173\u952E\u8BCD\uFF1A"),(Zt=en==null?void 0:en.keywords)==null?void 0:Zt.map(At=>{var qt,dn,dt;return((qt=At==null?void 0:At.keyword)==null?void 0:qt.length)>1?((dn=At==null?void 0:At.keyword)==null?void 0:dn.join("\u6216"))+"\uFF1B":((dt=At==null?void 0:At.keyword)==null?void 0:dt[0])+"\uFF1B"})),lt.createElement("div",{style:{color:"#5F6368"}},lt.createElement("b",null,"\u89E3\u6790:"),lt.createElement("br",null),(en==null?void 0:en.analysis)||"\u6682\u65E0\u89E3\u6790"))),lt.createElement("div",{style:{textAlign:"end",marginTop:10}},lt.createElement(ie.ZP,{type:"primary",onClick:()=>{Ct()}},ln?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&<.createElement(le.Z,null))};var vt=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(pt),mt=Se(59301),bt=(yt,wt,xt)=>new Promise((un,Vt)=>{var sn=Ht=>{try{en(xt.next(Ht))}catch(ln){Vt(ln)}},Zt=Ht=>{try{en(xt.throw(Ht))}catch(ln){Vt(ln)}},en=Ht=>Ht.done?un(Ht.value):Promise.resolve(Ht.value).then(sn,Zt);en((xt=xt.apply(yt,wt)).next())});const _t=({problemset:yt,dispatch:wt})=>{var xt,un;const[Vt,sn]=(0,ye.useState)({}),[Zt,en]=(0,ye.useState)(!1),[Ht,ln]=(0,ye.useState)(!0),[Ln,Pn]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var gn,Ct;if(((gn=yt==null?void 0:yt.actionTabs)==null?void 0:gn.key)==="COMBINATION"){const Ot=(0,he.cloneDeep)((Ct=yt==null?void 0:yt.actionTabs)==null?void 0:Ct.params);sn(Ot)}},[(xt=yt==null?void 0:yt.actionTabs)==null?void 0:xt.key]);const xn=()=>bt(void 0,null,function*(){if(!Ln){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}en(!Zt)}),bn=()=>{sn({}),ln(!0),en(!1),Pn(""),wt({type:"problemset/setActionTabs",payload:{}})};return mt.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:yt.actionTabs.key==="COMBINATION",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",footer:!1,width:708,bodyStyle:{maxHeight:600,overflow:"auto"},onOk:xn,onCancel:bn},mt.createElement("div",null,mt.createElement("div",{className:"c-light-primary mb5 font16"},"\u7EC4\u5408\u9898"),mt.createElement(ce.Z,{value:Vt==null?void 0:Vt.name,style:{marginBottom:10}}),(un=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:un.map((gn,Ct)=>{var Ot,At,qt,dn,dt;if((gn==null?void 0:gn.item_type)==="SINGLE")return mt.createElement(ge,{data:gn,showdiv:((Ot=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:Ot.length)-1===Ct});if((gn==null?void 0:gn.item_type)==="MULTIPLE")return mt.createElement(st,{data:gn,showdiv:((At=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:At.length)-1===Ct});if((gn==null?void 0:gn.item_type)==="JUDGMENT")return mt.createElement(Ze,{datas:gn,showdiv:((qt=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:qt.length)-1===Ct});if((gn==null?void 0:gn.item_type)==="COMPLETION")return mt.createElement(Qe,{datas:gn,showdiv:((dn=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:dn.length)-1===Ct});if((gn==null?void 0:gn.item_type)==="SUBJECTIVE")return mt.createElement(vt,{datas:gn,showdiv:((dt=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:dt.length)-1===Ct})})))};var Mt=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(_t)},74517:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(92832),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),le=Se(99325),se=Se(72714),ae=Se(59301),re=Object.defineProperty,ne=Object.defineProperties,te=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ge,fe,me)=>fe in ge?re(ge,fe,{enumerable:!0,configurable:!0,writable:!0,value:me}):ge[fe]=me,ee=(ge,fe)=>{for(var me in fe||(fe={}))y.call(fe,me)&&b(ge,me,fe[me]);if(a)for(var me of a(fe))x.call(fe,me)&&b(ge,me,fe[me]);return ge},z=(ge,fe)=>ne(ge,te(fe)),ue=(ge,fe,me)=>new Promise((be,ve)=>{var Pe=Ce=>{try{Ae(me.next(Ce))}catch(_e){ve(_e)}},Ee=Ce=>{try{Ae(me.throw(Ce))}catch(_e){ve(_e)}},Ae=Ce=>Ce.done?be(Ce.value):Promise.resolve(Ce.value).then(Pe,Ee);Ae((me=me.apply(ge,fe)).next())});const de=({problemset:ge,dispatch:fe})=>{var me,be;const[ve,Pe]=(0,ye.useState)({}),[Ee,Ae]=(0,ye.useState)([]),[Ce,_e]=(0,ye.useState)(!1),we=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Le,Qe,We;if(((Le=ge==null?void 0:ge.actionTabs)==null?void 0:Le.key)==="COMPLETION"){const Ge=(0,ce.cloneDeep)((Qe=ge==null?void 0:ge.actionTabs)==null?void 0:Qe.params);Pe(Ge),Ae((We=Ge==null?void 0:Ge.standard_answer)==null?void 0:We.map(Ke=>ee({value:"",answer:(Ke==null?void 0:Ke.answer_text)||[]},Ke)))}},[(me=ge==null?void 0:ge.actionTabs)==null?void 0:me.key]);const Me=()=>ue(void 0,null,function*(){var Le,Qe;if(Ee.some(We=>(We==null?void 0:We.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ce){const We=(0,ce.cloneDeep)((Le=ge==null?void 0:ge.actionTabs)==null?void 0:Le.params);Ae((Qe=We==null?void 0:We.standard_answer)==null?void 0:Qe.map(Ge=>ee({value:"",answer:(Ge==null?void 0:Ge.answer_text)||[]},Ge)))}_e(!Ce)}),Oe=(Le,Qe)=>{const We=Ee.map((Ge,Ke)=>z(ee({},Ge),{value:Ke===Qe?Le.target.value:Ge.value}));Ae(We)},Fe=()=>{Pe({}),Ae([]),_e(!1),fe({type:"problemset/setActionTabs",payload:{}})};return ae.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:ge.actionTabs.key==="COMPLETION",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ce?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Me,onCancel:Fe},ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u586B\u7A7A\u9898"),ae.createElement(le.Z,{value:ve==null?void 0:ve.name}),Ee==null?void 0:Ee.map((Le,Qe)=>{const{value:We,answer:Ge}=Le;let Ke="";return Ce&&(Ge!=null&&Ge.includes(We))&&(Ke=ie.Z.green),Ce&&!(Ge!=null&&Ge.includes(We))&&(Ke=ie.Z.red),ae.createElement("div",{key:Qe,style:{pointerEvents:Ce?"none":"auto",marginTop:10},className:`${ie.Z.row} ${Ke}`},ae.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Qe+1,"\u7B54\u6848:"),(Le==null?void 0:Le.model)===1?ae.createElement(he.default.TextArea,{className:ie.Z.textArea,style:{width:610,marginRight:10},onChange:ze=>Oe(ze,Qe),value:We}):ae.createElement(se.Z,{value:We,onChange:ze=>{const ke=Ee.map((Ne,Ve)=>z(ee({},Ne),{value:Ve===Qe?ze:Ne.value}));Ae(ke)}}),Ce&&(Ge==null?void 0:Ge.includes(We))&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ce&&!(Ge!=null&&Ge.includes(We))&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ce&&ae.createElement(ye.Fragment,null,ae.createElement("div",{className:ie.Z.line}),(be=ve==null?void 0:ve.standard_answer)==null?void 0:be.map((Le,Qe)=>{var We,Ge;return ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u586B\u7A7A",Qe+1,"\u7B54\u6848:\xA0"),(Le==null?void 0:Le.model)===1?((We=Le==null?void 0:Le.answer_text)==null?void 0:We.join("\u3001"))||"":ae.createElement(se.Z,{value:(Ge=Le==null?void 0:Le.answer_text)==null?void 0:Ge.join("\u3001"),disabled:!0}))}),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(ve==null?void 0:ve.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:ge})=>({problemset:ge}))(de)},64634:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(5112),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),le=Se(99325),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(ue,de,ge)=>de in ue?se(ue,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ue[de]=ge,x=(ue,de)=>{for(var ge in de||(de={}))te.call(de,ge)&&y(ue,ge,de[ge]);if(ne)for(var ge of ne(de))a.call(de,ge)&&y(ue,ge,de[ge]);return ue},b=(ue,de)=>ae(ue,re(de)),ee=(ue,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(ue,de)).next())});const z=({problemset:ue,dispatch:de})=>{var ge,fe;const[me,be]=(0,ye.useState)({}),[ve,Pe]=(0,ye.useState)([]),[Ee,Ae]=(0,ye.useState)(!1),Ce=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=ue==null?void 0:ue.actionTabs)==null?void 0:Oe.key)==="JUDGMENT"){const Le=(0,ce.cloneDeep)((Fe=ue==null?void 0:ue.actionTabs)==null?void 0:Fe.params);be(Le),Pe(Le.choices)}},[(ge=ue==null?void 0:ue.actionTabs)==null?void 0:ge.key]);const _e=()=>ee(void 0,null,function*(){var Oe;if(!ve.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ee){const Fe=(0,ce.cloneDeep)((Oe=ue==null?void 0:ue.actionTabs)==null?void 0:Oe.params);Pe(Fe.choices)}Ae(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Qe,We)=>b(x({},Qe),{checked:We===Fe?Oe.target.checked:!1}));Pe(Le)},Me=()=>{be({}),Pe([]),Ae(!1),de({type:"problemset/setActionTabs",payload:{}})};return ye.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:ue.actionTabs.key==="JUDGMENT",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ee?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:_e,onCancel:Me},ye.createElement("div",null,ye.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),ye.createElement(le.Z,{value:me==null?void 0:me.name}),ve==null?void 0:ve.map((Oe,Fe)=>{const{is_answer:Le,checked:Qe,choice_text:We}=Oe;let Ge="";return Ee&&Le&&(Ge=ie.Z.green),Ee&&!Le&&Qe&&(Ge=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${Ge}`},ye.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Qe}),ye.createElement(le.Z,{className:ie.Z.html,value:We}),Ee&&Le&&ye.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ee&&!Le&&Qe&&ye.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ee&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:ie.Z.line}),ye.createElement("div",{className:"c-grey-333 mb5"},ye.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(fe=ve.find(Oe=>Oe.is_answer))==null?void 0:fe.choice_text),ye.createElement("div",{className:"c-grey-333 mb10"},ye.createElement("b",null,"\u89E3\u6790:\xA0"),(me==null?void 0:me.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:ue})=>({problemset:ue}))(z)},41808:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(24905),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),le=Se(99325),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(ue,de,ge)=>de in ue?se(ue,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ue[de]=ge,x=(ue,de)=>{for(var ge in de||(de={}))te.call(de,ge)&&y(ue,ge,de[ge]);if(ne)for(var ge of ne(de))a.call(de,ge)&&y(ue,ge,de[ge]);return ue},b=(ue,de)=>ae(ue,re(de)),ee=(ue,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(ue,de)).next())});const z=({problemset:ue,dispatch:de})=>{var ge;const[fe,me]=(0,ye.useState)({}),[be,ve]=(0,ye.useState)([]),[Pe,Ee]=(0,ye.useState)(!1),Ae=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=ue==null?void 0:ue.actionTabs)==null?void 0:Oe.key)==="MULTIPLE"){const Le=(0,ce.cloneDeep)((Fe=ue==null?void 0:ue.actionTabs)==null?void 0:Fe.params);me(Le),ve(Le.choices)}},[(ge=ue==null?void 0:ue.actionTabs)==null?void 0:ge.key]);const Ce=()=>ee(void 0,null,function*(){var Oe;if(!be.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Pe){const Fe=(0,ce.cloneDeep)((Oe=ue==null?void 0:ue.actionTabs)==null?void 0:Oe.params);ve(Fe.choices)}Ee(!Pe)}),_e=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=be.map((Qe,We)=>b(x({},Qe),{checked:We===Fe?Oe.target.checked:Qe.checked}));ve(Le)},we=()=>{me({}),ve([]),Ee(!1),de({type:"problemset/setActionTabs",payload:{}})},Me=()=>{let Oe="";return be.forEach((Fe,Le)=>{Fe.is_answer&&(Oe=Oe+Ae[Le])}),Oe};return ye.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:ue.actionTabs.key==="MULTIPLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Pe?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Ce,onCancel:we},ye.createElement("div",null,ye.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),ye.createElement(le.Z,{value:fe==null?void 0:fe.name}),be==null?void 0:be.map((Oe,Fe)=>{const{is_answer:Le,checked:Qe,choice_text:We}=Oe;let Ge="";return Pe&&Le&&(Ge=ie.Z.green),Pe&&!Le&&Qe&&(Ge=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Pe?"none":"auto"},className:`${ie.Z.row} ${Ge}`},ye.createElement(he.default,{style:{padding:3},onChange:Ke=>_e(Ke,Fe),checked:Qe}),ye.createElement("span",null,Ae[Fe],".\xA0"),ye.createElement(le.Z,{className:ie.Z.html,value:We}),Pe&&Le&&ye.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Pe&&!Le&&Qe&&ye.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Pe&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:ie.Z.line}),ye.createElement("div",{className:"c-grey-333 mb5"},ye.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Me()),ye.createElement("div",{className:"c-grey-333 mb10"},ye.createElement("b",null,"\u89E3\u6790:\xA0"),(fe==null?void 0:fe.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:ue})=>({problemset:ue}))(z)},49417:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(5112),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),le=Se(99325),se=Se(59301),ae=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(de,ge,fe)=>ge in de?ae(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):de[ge]=fe,b=(de,ge)=>{for(var fe in ge||(ge={}))a.call(ge,fe)&&x(de,fe,ge[fe]);if(te)for(var fe of te(ge))y.call(ge,fe)&&x(de,fe,ge[fe]);return de},ee=(de,ge)=>re(de,ne(ge)),z=(de,ge,fe)=>new Promise((me,be)=>{var ve=Ae=>{try{Ee(fe.next(Ae))}catch(Ce){be(Ce)}},Pe=Ae=>{try{Ee(fe.throw(Ae))}catch(Ce){be(Ce)}},Ee=Ae=>Ae.done?me(Ae.value):Promise.resolve(Ae.value).then(ve,Pe);Ee((fe=fe.apply(de,ge)).next())});const ue=({problemset:de,dispatch:ge})=>{var fe;const[me,be]=(0,ye.useState)({}),[ve,Pe]=(0,ye.useState)([]),[Ee,Ae]=(0,ye.useState)(!1),Ce=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=de==null?void 0:de.actionTabs)==null?void 0:Oe.key)==="SINGLE"){const Le=(0,ce.cloneDeep)((Fe=de==null?void 0:de.actionTabs)==null?void 0:Fe.params);be(Le),Pe(Le.choices)}},[(fe=de==null?void 0:de.actionTabs)==null?void 0:fe.key]);const _e=()=>z(void 0,null,function*(){var Oe;if(!ve.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ee){const Fe=(0,ce.cloneDeep)((Oe=de==null?void 0:de.actionTabs)==null?void 0:Oe.params);Pe(Fe.choices)}Ae(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Qe,We)=>ee(b({},Qe),{checked:We===Fe?Oe.target.checked:!1}));Pe(Le)},Me=()=>{be({}),Pe([]),Ae(!1),ge({type:"problemset/setActionTabs",payload:{}})};return se.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:de.actionTabs.key==="SINGLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ee?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:_e,onCancel:Me},se.createElement("div",null,se.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),se.createElement(le.Z,{value:me==null?void 0:me.name}),ve==null?void 0:ve.map((Oe,Fe)=>{const{is_answer:Le,checked:Qe,choice_text:We}=Oe;let Ge="";return Ee&&Le&&(Ge=ie.Z.green),Ee&&!Le&&Qe&&(Ge=ie.Z.red),se.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${Ge}`},se.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Qe}),se.createElement("span",null,Ce[Fe],".\xA0"),se.createElement(le.Z,{className:ie.Z.html,value:We}),Ee&&Le&&se.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ee&&!Le&&Qe&&se.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ee&&se.createElement(ye.Fragment,null,se.createElement("div",{className:ie.Z.line}),se.createElement("div",{className:"c-grey-333 mb5"},se.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Ce[ve.findIndex(Oe=>Oe.is_answer)]),se.createElement("div",{className:"c-grey-333 mb10"},se.createElement("b",null,"\u89E3\u6790:\xA0"),(me==null?void 0:me.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:de})=>({problemset:de}))(ue)},35503:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se.n(he),oe=Se(43219),ie=Se(99325),le=Se(64726),se=Se(59301),ae=(ne,te,a)=>new Promise((y,x)=>{var b=ue=>{try{z(a.next(ue))}catch(de){x(de)}},ee=ue=>{try{z(a.throw(ue))}catch(de){x(de)}},z=ue=>ue.done?y(ue.value):Promise.resolve(ue.value).then(b,ee);z((a=a.apply(ne,te)).next())});const re=({problemset:ne,dispatch:te})=>{var a,y,x,b,ee;const[z,ue]=(0,ye.useState)({}),[de,ge]=(0,ye.useState)(!1),[fe,me]=(0,ye.useState)(!0),[be,ve]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var Ae,Ce;if(((Ae=ne==null?void 0:ne.actionTabs)==null?void 0:Ae.key)==="SUBJECTIVE"){const _e=(0,he.cloneDeep)((Ce=ne==null?void 0:ne.actionTabs)==null?void 0:Ce.params);ue(_e)}},[(a=ne==null?void 0:ne.actionTabs)==null?void 0:a.key]);const Pe=()=>ae(void 0,null,function*(){if(!be){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}de&&ve(""),ge(!de)}),Ee=()=>{ue({}),me(!0),ge(!1),ve(""),te({type:"problemset/setActionTabs",payload:{}})};return console.log("----",de),se.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:ne.actionTabs.key==="SUBJECTIVE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:de?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:800,onOk:Pe,bodyStyle:{maxHeight:600,overflow:"auto"},onCancel:Ee},se.createElement("div",null,se.createElement("div",{className:"c-light-primary mb5 font16"},"\u7B80\u7B54\u9898"),se.createElement(ie.Z,{value:z==null?void 0:z.name,style:{marginBottom:10,color:"#5f6368"}}),fe?se.createElement("div",{style:{border:"1px solid #f1f1f1",padding:10},onClick:()=>{me(!1)}}," \u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54"):se.createElement(le.Z,{height:160,defaultValue:be,onChange:Ae=>{ve(Ae)}}),de&&se.createElement(ye.Fragment,null,se.createElement("div",{className:oe.Z.line}),se.createElement("span",{style:{color:"#5F6368"}},"\u53C2\u8003\u7B54\u6848\uFF1A"),se.createElement("div",{style:{marginTop:10}},((y=z==null?void 0:z.answer_texts)==null?void 0:y[0])||"\u6682\u65E0\u53C2\u8003\u7B54\u6848"),((x=z==null?void 0:z.keywords)==null?void 0:x.length)>0&&se.createElement("div",{style:{marginTop:10,marginBottom:10}},se.createElement("span",{style:{color:"#5F6368"}},"\u5173\u952E\u8BCD\uFF1A"),(b=z==null?void 0:z.keywords)==null?void 0:b.map(Ae=>{var Ce,_e,we;return((Ce=Ae==null?void 0:Ae.keyword)==null?void 0:Ce.length)>1?((_e=Ae==null?void 0:Ae.keyword)==null?void 0:_e.join("\u6216"))+"\uFF1B":((we=Ae==null?void 0:Ae.keyword)==null?void 0:we[0])+"\uFF1B"})),se.createElement("div",{style:{color:"#5F6368",marginTop:((ee=z==null?void 0:z.keywords)==null?void 0:ee.length)<=0?20:10}},se.createElement("b",null,"\u89E3\u6790:")),se.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(z==null?void 0:z.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:ne})=>({problemset:ne}))(re)},96401:function(ct,ot,Se){"use strict";Se.d(ot,{N:function(){return z},Z:function(){return ue}});var ye=Se(59301),je=Se(99325),E=Se(5112),pe=Se(6848),he=Se(95237),ce=Se(43604),oe=Se(24905),ie=Se(20834),le=Se(38854),se={flex_box_center:"flex_box_center___K3pXk",flex_space_between:"flex_space_between___JNXiy",flex_box_vertical_center:"flex_box_vertical_center___lX_K7",flex_box_center_end:"flex_box_center_end___ESJAL",flex_box_column:"flex_box_column___nMTYm",line:"line___cNtUM",b1:"b1___xIRxk",b2:"b2___N5uit",list:"list___SBMGo",title:"title___zQP91",tr:"tr___uaxLL",itemDetail:"itemDetail___Ye51x",answerWrapper:"answerWrapper___WJAPa",decoration:"decoration___fOLFB",row:"row___FvSRM",typeRow:"typeRow___qpDsw",type:"type___a8Bs6",typeName:"typeName___EfvMr",typeIcon:"typeIcon___XnhBc",unpublished:"unpublished___h3A34",private:"private___Ok_kP",public:"public___V5_HF",reviewFlag:"reviewFlag___MWDMc",typeRightAction:"typeRightAction___zwJ4e",actionLink:"actionLink___XxdsL",actionIcon:"actionIcon___YoZs8",topicTitle:"topicTitle___TXfB_",topicTitleContent:"topicTitleContent___MceUW",judgmentContent:"judgmentContent___Adte7",programContent:"programContent___R8AFa",otherContent:"otherContent___CNAVC",combinationContent:"combinationContent___NWKpD",con:"con___MJkTE",otherContentItem:"otherContentItem___sXGMT",otehrContentHtml:"otehrContentHtml___MKkjT",difficultyRow:"difficultyRow___E6YVK",updateTimeRow:"updateTimeRow___MPFJY",updateTimeWrap:"updateTimeWrap___iIz5W",updateTimeContent:"updateTimeContent___CpqJg",programLanguage:"programLanguage___lku0d",updateTimeRowAction:"updateTimeRowAction___Y6grB",bottomAction:"bottomAction___sQwM3",borderColorBlue:"borderColorBlue___vZe0j",borderColorRed:"borderColorRed___GPm9E",borderColorFFF:"borderColorFFF___izaeA",borderColorGray:"borderColorGray___WdIyN",selectIcon:"selectIcon___I35Ch",colorGreen:"colorGreen___yFw84",parseAnswerBorder:"parseAnswerBorder___tmhXi",answer:"answer___c9YYj",answerHtml:"answerHtml___sp4Xx",parse:"parse___Lif5r",parseText:"parseText___KMhnK",parseAnswer:"parseAnswer___aFs0o",parseAnswerHtml:"parseAnswerHtml___AfP6o",actionBar:"actionBar___Q6e1E",know:"know___EtJbV",menu:"menu___ODbWA",bottom:"bottom___yLg8j",textBtn:"textBtn___p8TrW"},ae=Se(73898),re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACMgAAAA6CAYAAABPwffJAAAAAXNSR0IArs4c6QAAH35JREFUeF7t3Q2MZWV9x/H/c849d17uzL6y7K4M76xLNIAKoiBQak0oRgsiYKyxUEq0LwZLYmqa0hqtpi8xodam1daKRFtbRITYBmlspRBBAXmRaHddsCyO7Bsssztzd2buveec5jl37jC7bN155l7OL7P3ewmZfTnn+Z37+f9nsjn3n+c4W8JrfHx8bGam9ZfNZutif3q1Wrl3YKDyB2NjY+NLWC74FHV+8AVzQlcC6nqr87vC4+RgAXW91fnBYJyAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACpr6/r86nBcoVUNdbnV+uNmnqevcy34WW84knto0513giz22NWef03P9qb27Vs846a9MrOiSjzg/14vjuBNT1Vud3p8fZoQLqeqvzQ704HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBMzU9/fV+fRAuQLqeqvzy9UmTV3vXucHD8g88shj/2zm3ttoNOa7wZmzJEnMnPvqOeec9euvZJuo81/J98baLxdQ11udT0+UK6Cutzq/XG3SEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBA4OgTU9/fV+UdHFZfPu1DXW52/fCp1dFyput69zg8ekLnvvu8+l+e28XDldM52XHTRW171SpZanf9KvjfWfrmAut7qfH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1Q9pKnR9yrRzbvYC63ur87gVZIURAXW91fogVxyKAAAIIIIAAAggggAACCCCAAAIIIIAAAggggEBbQH1/X51PH5QroK63Or9cbdLU9e51fvAwy003fSxvNhsLOuGlJfwOMp/85MeD1wxpK3V+yLVybPcC6nqr87sXZIUQAXW91fkhVhyLAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACbQH1/X11Pn1QroC63ur8crVJU9e71/nBwyw33viR3O8a03nN7x4zt5PMzTd/OnjNkLZS54dcK8d2L6Cutzq/e0FWCBFQ11udH2LFsQgggAACCCCAAAIIIIAAAggggAACCCCAAAIIINAWUN/fV+fTB+UKqOutzi9XmzR1vXudHzzM8qEP3ZC3mi3Lbe65SvM94axaTeyzn/1M8JohbaXOD7lWju1eQF1vdX73gqwQIqCutzo/xIpjEUAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAoC2gvr+vzqcPyhVQ11udX642aep69zo/eJjluuuuf2kyxv/KrzD3Nc9zu+WWfwxeM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7z//dfkzUbjoP1j/COX/KOWqtWqffnLtwavGdJW6vyQa+XY7gXU9Vbndy/ICiEC6nqr80OsOBYBBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQTaAur7++p8+qBcAXW91fnlapOmrnev84OHWa644sp8fsuY+X7obCrj7I47bg9eM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7zjHb+Wt1rNYseY9is359z8DjLf/OZdwWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWSy65NG82m0UnNJuN4muSJMVX/4ilb33r7uA1Q9pKnR9yrRzbvYC63ur87gVZIURAXW91fogVxyKAAAIIIIAAAggggAACCCCAAAIIIIAAAggggEBbQH1/X51PH5QroK63Or9cbdLU9e51fvAwy4UXXpT73WP8kIxzZv43fgeZJKkWu8ncf/99wWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWN73pzXmr1SoGYzo7yfgdZPyQTKVSse9//3vBa4a0lTo/5Fo5tnsBdb3V+d0LskKIgLre6vwQK45FAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQACBtoD6/r46nz4oV0Bdb3V+udqkqevd6/zgYZazzz4nbzQaxXBMsXuM74liB5mk2EXm0UcfCV4zpK3U+SHXyrHdC6jrrc7vXpAVQgTU9Vbnh1hxLAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCLQF1Pf31fn0QbkC6nqr88vVJk1d717nBw+zbN58et7ZOabZbPjpGKtWE/OPXapWq7Zly/8ErxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/ODh1lOOeXUYkCmMyRjls8Px/gBmaeffip4zZC2UueHXCvHdi+grrc6v3tBVggRUNdbnR9ixbEIIIAAAggggAACCCCAAAIIIIAAAggggAACCCDQFlDf31fn0wflCqjrrc4vV5s0db17nR88zOIv4MCBujUafkimYa7zeKVKYsO1mv30p08HrxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/MXNcyS57m75557Vq9atfbCq656951+95h6fWp+F5kkqVqtVrMkSexrX/v65RMTL9x/ySWXvOicy3vRMur8XrwH1li8gLre6vzFS3FkLwTU9Vbn98KQNRBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQ6DcB9f19dX6/1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MOVJ51PlHuj7+vrcC6nqr83uryWpHElDXW51/JB/+HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBF4uoL6/r86nJ8oVUNdbnV+uNmnqer+S+f8HabRiLm3R4IUAAAAASUVORK5CYII=",ne=Se(24334),te=Se(72714),a=Se(88230),y=Se(50484);const x=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],b=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ee=({data:de,selectIds:ge,onSelectCheckBox:fe=()=>{},showCheckbox:me=!0})=>{var be,ve,Pe;const[Ee,Ae]=(0,ye.useState)(!1),Ce=()=>{var Oe,Fe;return de.item_type==="JUDGMENT"?ye.createElement("div",{className:se.judgmentContent},de.choices.map((Le,Qe)=>ye.createElement(E.ZP,{key:Qe,disabled:!0},Le.choice_text))):de.item_type==="PROGRAM"?ye.createElement("div",{className:se.programContent},ye.createElement(je.Z,{value:(Oe=de.program_attr)==null?void 0:Oe.description})):de.item_type==="COMBINATION"?ye.createElement("div",{className:se.combinationContent},(Fe=de==null?void 0:de.sub_item_banks)==null?void 0:Fe.map((Le,Qe)=>{var We,Ge,Ke,ze,ke,Ne;const Ve=`(\u9898\u76EE${Qe+1}-${(Le==null?void 0:Le.item_type)=="SINGLE"?"\u5355\u9009\u9898":(Le==null?void 0:Le.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":(Le==null?void 0:Le.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":(Le==null?void 0:Le.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898"}) `;return ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{marginTop:10,marginBottom:10}},ye.createElement(je.Z,{value:Ve+Le.name})),((Le==null?void 0:Le.item_type)=="SINGLE"||(Le==null?void 0:Le.item_type)=="MULTIPLE")&&Le.choices.map((qe,rt)=>ye.createElement("div",{key:rt,className:se.otherContentItem},ye.createElement("p",null,x[rt]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:qe.choice_text}))),(Le==null?void 0:Le.item_type)=="JUDGMENT"&&ye.createElement("div",{style:{display:"flex",marginBottom:10}},Le.choices.map((qe,rt)=>ye.createElement(E.ZP,{key:rt,disabled:!0},qe.choice_text))),ye.createElement("div",{className:se.con},(Le==null?void 0:Le.item_type)=="SINGLE"&&ye.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",b==null?void 0:b[(We=Le==null?void 0:Le.choices)==null?void 0:We.findIndex(qe=>qe==null?void 0:qe.is_answer)]," "),(Le==null?void 0:Le.item_type)=="COMPLETION"&&((Ge=Le==null?void 0:Le.standard_answer)==null?void 0:Ge.map((qe,rt)=>{var Ye;return ye.createElement("div",{key:rt,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${qe.position}\uFF09\uFF1A${(Ye=qe==null?void 0:qe.answer_text)==null?void 0:Ye.join("\u3001")}`)})),(Le==null?void 0:Le.item_type)=="MULTIPLE"&&ye.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",(Ke=Le==null?void 0:Le.choices)==null?void 0:Ke.map((qe,rt)=>{if(qe!=null&&qe.is_answer)return(b==null?void 0:b[rt])+" "})," "),(Le==null?void 0:Le.item_type)=="JUDGMENT"&&ye.createElement("div",null,"\u7B54\u6848\uFF1A",(ke=(ze=Le==null?void 0:Le.choices)==null?void 0:ze.find(qe=>qe.is_answer))==null?void 0:ke.choice_text),(Le==null?void 0:Le.item_type)=="SUBJECTIVE"&&ye.createElement("div",null,"\u7B54\u6848\uFF1A",(Ne=Le==null?void 0:Le.answer_texts)==null?void 0:Ne[0]),ye.createElement("div",null,ye.createElement("span",null,"\u89E3\u6790\uFF1A"),ye.createElement(je.Z,{className:se.parseAnswerHtml,value:Le.analysis||"\u6682\u65E0\u89E3\u6790"})),ye.createElement("div",null,ye.createElement("span",null,"\u77E5\u8BC6\u70B9\uFF1A"),ye.createElement(pe.Z,{title:(de==null?void 0:de.tag_discipline)||"--"},ye.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(de==null?void 0:de.tag_discipline)||"--")))))})):ye.createElement("div",{className:se.otherContent},de.choices.map((Le,Qe)=>ye.createElement("div",{key:Qe,className:se.otherContentItem},ye.createElement("p",null,x[Qe]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:Le.choice_text}))))},_e=()=>{var Oe;if((de==null?void 0:de.item_type)!=="BPROGRAM")return ye.createElement("div",null,(Oe=de.standard_answer)==null?void 0:Oe.map((Fe,Le)=>{var Qe,We;return ye.createElement("div",{key:Le,className:se.answerHtml},(Fe==null?void 0:Fe.model)===1?`\u7B54\u6848\uFF08\u586B\u7A7A${Fe.position}\uFF09\uFF1A${(Qe=Fe==null?void 0:Fe.answer_text)==null?void 0:Qe.join("\u3001")}`:ye.createElement("div",{style:{display:"flex",alignItems:"center"}},ye.createElement("span",{style:{minWidth:110}},"\u7B54\u6848\uFF08\u586B\u7A7A",Fe.position,"\uFF09\uFF1A"),ye.createElement(te.Z,{value:(We=Fe==null?void 0:Fe.answer_text)==null?void 0:We.join("\u3001"),readOnly:!0})))}))},we=()=>{var Oe,Fe,Le,Qe,We,Ge;const Ke={SUBJECTIVE:(Oe=de.answer_texts)==null?void 0:Oe[0],JUDGMENT:(Le=(Fe=de.choices)==null?void 0:Fe.find(Ue=>Ue.is_answer))==null?void 0:Le.choice_text},ze=de.choices.map(Ue=>Ue.is_answer).findIndex(Ue=>Ue),ke=ze>-1?b[ze]:"";let Ne="";de.choices.map((Ue,Be)=>{Ue.is_answer&&(Ne+=b[Be])});const Ve=Ke[de.item_type];let qe=((Qe=de==null?void 0:de.program_attr)==null?void 0:Qe.code)||"";try{qe=ne.Base64.decode(((We=de==null?void 0:de.program_attr)==null?void 0:We.code)||"")}catch(Ue){}const rt={SINGLE:ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`\u7B54\u6848\uFF1A${ke||"\u65E0"}`}))),MULTIPLE:ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`\u7B54\u6848\uFF1A${Ne||"\u65E0"}`}))),COMPLETION:_e(),BPROGRAM:ye.createElement("div",null,ye.createElement(je.Z,{className:se.answerHtml,showProgramFill:!0,value:qe}),(Ge=de.standard_answer)==null?void 0:Ge.map((Ue,Be)=>ye.createElement("div",{key:Be,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${Ue.position}\uFF09\uFF1A${Ue==null?void 0:Ue.answer_text}`)))},Ye=ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`${Ve||"\u65E0"}`})));return rt[de.item_type]||Ye},Me=Oe=>{let Fe=[...ge];Oe.target.checked?Fe.push(de.id):Fe=Fe.filter(Le=>Le!==de.id),fe(Fe)};return ye.createElement("div",{className:se.itemWrap},ye.createElement("div",{className:se.list},me&&ye.createElement(oe.default,{className:"mr10",onChange:Me,checked:ge.includes(de.id)}),ye.createElement("div",{onClick:()=>Ae(!Ee),className:se.title},ye.createElement(je.Z,{key:1,showLines:1,showTextOnly:!0,className:se.topicTitleContent,value:(de==null?void 0:de.item_type)==="BPROGRAM"?(be=de==null?void 0:de.program_attr)==null?void 0:be.description:de.name})),ye.createElement("div",{onClick:()=>Ae(!Ee),className:se.tr},ye.createElement("i",{style:{transform:Ee?"scale(0.5) rotate(-180deg)":"scale(0.5) rotate(0deg)"},className:"iconfont icon-zhankai4"}))),ye.createElement("aside",{style:Ee?{display:"block"}:{display:"none"},className:se.itemDetail},ye.createElement("div",{style:{marginBottom:44}},ye.createElement(je.Z,{key:2,className:se.topicTitleContent,value:(de==null?void 0:de.item_type)==="BPROGRAM"?(ve=de==null?void 0:de.program_attr)==null?void 0:ve.description:de.name}),ye.createElement("div",{className:`${se.row} mt15`},Ce()),ye.createElement("div",{className:se.row},ye.createElement("div",{className:se.updateTimeRow},ye.createElement("div",{className:se.updateTimeWrap},de.item_type==="PROGRAM"&&ye.createElement("p",{className:se.programLanguage},"\u7F16\u7A0B\u8BED\u8A00\uFF1A",(Pe=de==null?void 0:de.languages)==null?void 0:Pe.join("/")))))),de.item_type!=="COMBINATION"&&ye.createElement("div",{className:se.answerWrapper},ye.createElement("img",{src:re,alt:"",className:se.decoration}),ye.createElement("div",{className:se.answer},we()),ye.createElement("div",{className:se.parse},ye.createElement("div",{className:se.parseText},"\u89E3\u6790\uFF1A"),ye.createElement("div",{className:se.parseAnswer},de.analysis?ye.createElement(je.Z,{className:se.parseAnswerHtml,value:de.analysis}):"\u6682\u65E0\u89E3\u6790")),ye.createElement("div",{className:se.parse},ye.createElement("div",{className:se.parseText},"\u77E5\u8BC6\u70B9\uFF1A"),ye.createElement(pe.Z,{title:(de==null?void 0:de.tag_discipline)||"--"},ye.createElement("div",{className:se.parseAnswer,style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(de==null?void 0:de.tag_discipline)||"--"))))))},z=({SubjectShare:de,isProblemset:ge,data:fe,user:me,page:be,activeTabsKey:ve,onPublicReview:Pe=()=>{},onStartExperience:Ee=()=>{},onSetPrivate:Ae=()=>{},onCorrection:Ce=()=>{},onChangeTag:_e=()=>{},onCollect:we=()=>{},onSetPublic:Me=()=>{},onDelete:Oe=()=>{},onCancel:Fe=()=>{},onSelect:Le=()=>{},onMoveTo:Qe=()=>{},addProblemset:We=()=>{},onSetShare:Ge=()=>{},onCancelShare:Ke=()=>{},onPublish:ze=()=>{},onCancelPublish:ke=()=>{}})=>{var Ne,Ve,qe,rt,Ye,Ue,Be,Ze,Te,He,at,et,Je,Ie,xe;const De=fe.item_type==="PROGRAM"?`/problems/newedit/${(Ne=fe.program_attr)==null?void 0:Ne.identifier}?tabs_key=${ve}&page=${be}`:fe.item_type==="BPROGRAM"?`/problemset/edit/${(Ve=fe.program_attr)==null?void 0:Ve.identifier}?type=1&tabs_key=${ve}&page=${be}`:`/problemset/edit/${fe.id}?tabs_key=${ve}&page=${be}`,Re=ve==="0"&&!fe.public&&!fe.apply&&(fe.item_type==="PROGRAM"&&((qe=fe.program_attr)==null?void 0:qe.status)!==0||fe.item_type!=="PROGRAM"),Xe=[{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{y.Z.publish("model-change-problem",fe)}},"\u4EE5\u9898\u6362\u9898"),key:"14",show:(0,ae.$O)()&&["SINGLE","MULTIPLE","JUDGMENT","COMPLETION","SUBJECTIVE"].includes(fe.item_type)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{var st;return ke((st=fe==null?void 0:fe.program_attr)==null?void 0:st.identifier)}},"\u64A4\u9500\u53D1\u5E03"),key:"0",show:(ve==="0"||ve==="3")&&fe.item_type==="PROGRAM"&&((rt=fe.program_attr)==null?void 0:rt.status)!==0&&!fe.public&&((Ye=fe.author)==null?void 0:Ye.login)===((Ue=me.userInfo)==null?void 0:Ue.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Qe(fe.id)},"\u79FB\u52A8\u5230"),key:"1",show:ve==="0"},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{fe.is_share?Ke(fe.id):Ge(fe.id)}},"\u5171\u4EAB"),key:"3",show:ve==="0"&&de},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Me(fe)},"\u516C\u5F00"),key:"4",show:Re},{label:ye.createElement("a",{className:se.reviewFlag,onClick:Pe},"\u516C\u5F00\u5BA1\u6838\u4E2D"),key:"5",show:ve==="0"&&!fe.public&&fe.apply&&(fe.item_type==="PROGRAM"&&fe.program_attr.status!==0||fe.item_type!=="PROGRAM")},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Ae(fe.id)},"\u64A4\u9500\u516C\u5F00"),key:"6",show:(ve==="0"||ve==="1")&&fe.public&&((Be=fe.author)==null?void 0:Be.login)===((Ze=me.userInfo)==null?void 0:Ze.login)||ve==="1"&&(0,ae.ag)()},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>we(fe.id,fe.is_collected)},"\u53D6\u6D88\u6536\u85CF"),key:"7",show:ve==="2"},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{var st;return ze((st=fe==null?void 0:fe.program_attr)==null?void 0:st.identifier)}},"\u53D1\u5E03"),key:"8",show:(ve==="0"||ve==="3")&&fe.item_type==="PROGRAM"&&((Te=fe.program_attr)==null?void 0:Te.status)===0&&!fe.public&&((He=fe.author)==null?void 0:He.login)===((at=me.userInfo)==null?void 0:at.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>we(fe.id,fe.is_collected)},fe.is_collected?"\u53D6\u6D88\u6536\u85CF":"\u6536\u85CF"),key:"9",show:(ve==="1"||ve==="3")&&!(0,ae.ag)()&&!(0,ae.JA)()&&((et=fe.author)==null?void 0:et.login)!==((Je=me.userInfo)==null?void 0:Je.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Ce(fe.id)},"\u7EA0\u9519"),key:"10",show:ve!=="0"&&!(0,ae.ag)()&&!(0,ae.JA)()},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>_e(fe)},"\u4FEE\u6539\u77E5\u8BC6\u70B9"),key:"15",show:ve==="0"||ve==="3"&&(fe==null?void 0:fe.edit_item_bank)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Oe(fe.id)},"\u5220\u9664"),key:"11",show:ve==="0"&&!fe.public||ve==="1"&&(0,ae.ag)()&&((Ie=fe.author)==null?void 0:Ie.login)!==((xe=me.userInfo)==null?void 0:xe.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>We(fe.id)},"\u52A0\u5165\u6211\u7684\u9898\u5E93"),key:"12",show:ve==="1"||ve==="3"}].filter(st=>st.show),nt=ye.createElement(ie.default,{forceSubMenuRender:!0,className:se.menu,items:Xe}),$e=ye.createElement(ie.default,{forceSubMenuRender:!0,className:se.menu},ye.createElement(ie.default.Item,{key:"10"},ye.createElement("a",{className:se.actionLink,onClick:()=>Ce(fe.id)},"\u7EA0\u9519"))),tt=ve!=="0"&&!(0,ae.ag)()&&!(0,ae.JA)();return ye.createElement(ye.Fragment,null,ge?ye.createElement(ye.Fragment,null,(ve==="0"||ve==="3"&&(fe==null?void 0:fe.edit_item_bank))&&!fe.public&&ye.createElement("span",{className:se.textBtn,style:{cursor:"pointer"},onClick:()=>{(0,a.xg)(De);const st=document.getElementById(fe.id),it=window.pageYOffset||document.documentElement.scrollTop;localStorage.setItem("problemsetid",st.getBoundingClientRect().top+it+"")}},ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})),ye.createElement("i",{className:"iconfont icon-bianji10 font14 mr5"}),"\u7F16\u8F91"),ye.createElement("span",{className:se.textBtn,style:{cursor:"pointer"},onClick:()=>Ee(fe)},ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})),ye.createElement("i",{className:"iconfont icon-tiyan font14 mr5"}),"\u4F53\u9A8C",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2}))),Xe.length>0&&ye.createElement(le.Z,{dropdownRender:()=>nt},ye.createElement("span",{style:{cursor:"default",width:"105px"},onClick:st=>st.preventDefault()},ye.createElement("span",{className:se.textBtn},ye.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})))))):tt?ye.createElement(le.Z,{className:"ml40",dropdownRender:()=>$e},ye.createElement("span",{style:{cursor:"default",width:"105px"},onClick:st=>st.preventDefault()},ye.createElement("span",{className:se.textBtn},ye.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2}))))):ye.createElement("span",null))};var ue=ee},70037:function(ct,ot,Se){"use strict";Se.d(ot,{Im:function(){return ve},ZP:function(){return we},gZ:function(){return Ce}});var ye=Se(59301),je=Se(92832),E=Se(3113),pe=Se(84105),he=Se(87395),ce=Se(86723),oe=Se(24334),ie=Se(7651),le=Se(99325),se=Se(88230),ae=Se(75618),re=Se(34376),ne=Se(92310),te=Se.n(ne),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ue=Object.prototype.propertyIsEnumerable,de=(Me,Oe,Fe)=>Oe in Me?y(Me,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Me[Oe]=Fe,ge=(Me,Oe)=>{for(var Fe in Oe||(Oe={}))z.call(Oe,Fe)&&de(Me,Fe,Oe[Fe]);if(ee)for(var Fe of ee(Oe))ue.call(Oe,Fe)&&de(Me,Fe,Oe[Fe]);return Me},fe=(Me,Oe)=>x(Me,b(Oe));const{TextArea:me}=je.default,be={visible:!1,tabIndex:"0"},ve={[ce.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[ce.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[ce.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 Pe=(Me=>(Me[Me.SET_VISIBLE=0]="SET_VISIBLE",Me[Me.SET_TABINDEX=1]="SET_TABINDEX",Me))(Pe||{});function Ee(Me,Oe){switch(Oe.type){case 0:return fe(ge({},Me),{visible:Oe.payload});case 1:return fe(ge({},Me),{tabIndex:Oe.payload});default:throw new Error}}function Ae({value:Me,className:Oe}){const[Fe,Le]=(0,ye.useState)(!1),Qe=(0,ye.useRef)(),We=(0,ye.useRef)();return(0,ye.useEffect)(()=>{Fe&&(We.current.reset(),We.current.write((0,se.pp)(Me||"")))},[Me,Fe]),(0,ye.useEffect)(()=>{var Ge,Ke,ze,ke;if(Qe.current){We.current=new re.Terminal({fontSize:14,disableStdin:!0}),We.current.open(Qe.current);const Ne=Qe.current.offsetWidth-14,Ve=((ke=(ze=(Ke=(Ge=We.current)==null?void 0:Ge._core)==null?void 0:Ke._renderService)==null?void 0:ze.dimensions)==null?void 0:ke.actualCellWidth)||9.5,qe=Math.ceil(Ne/Ve);We.current.resize(qe,8),Le(!0)}},[]),a.createElement("div",{ref:Qe,className:te()("XtermText-valueRef",Oe)})}function Ce(Me){const{status:Oe,error_msg:Fe,output:Le,input:Qe,expected_output:We,is_file:Ge,input_file_url:Ke,output_file_url:ze,expected_output_file_url:ke}=Me;let Ne=null;const Ve={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Oe){case ce.h.NOMATCH:Ne=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:Qe}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Qe)},Qe)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:Le&&oe.Base64.decode(Le)||""}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(ze,Le)},Le)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:We&&oe.Base64.decode(We)||""}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(ke,We)},We)));break;case ce.h.EXECUTEFAILURE:Ne=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ge&&a.createElement(le.Z,{value:Qe,style:Ve}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Qe)},Qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.COMPILEFAILURE:Ne=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ge&&a.createElement(le.Z,{value:Qe,style:Ve}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Qe)},Qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.PODFAILURE:Ne=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ce.h.TIMEOUT:Ne=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ne," ")}function _e(Me){const{status:Oe,error_msg:Fe,execute_time:Le,output:Qe,input:We,expected_output:Ge,is_file:Ke,input_file_url:ze,output_file_url:ke,expected_output_file_url:Ne}=Me;let Ve=null;switch(Oe){case ce.h.OK:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Le,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,oe.Base64.decode(Qe)));break;case ce.h.NOMATCH:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,We)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",Qe&&oe.Base64.decode(Qe)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Ge&&oe.Base64.decode(Ge)));break;case ce.h.EXECUTEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,We)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.COMPILEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,We)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.PODFAILURE:Ve=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ce.h.TIMEOUT:Ve=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ve," ")}var we=({id:Me,is_file:Oe,input:Fe,debuging:Le,submitting:Qe,executingMessage:We,debugResult:Ge,onChangeInput:Ke,onDebugCode:ze,onSubmitCode:ke})=>{const[Ne,Ve]=(0,ye.useReducer)(Ee,be),{visible:qe,tabIndex:rt}=Ne;(0,ye.useEffect)(()=>{Ve({type:0,payload:!1})},[Me]);function Ye(Te){let He=Te.target.id;Ve({type:1,payload:He})}function Ue(){Ve({type:0,payload:!qe})}const Be=(0,ye.useMemo)(()=>{if(Ge){const{status:Te}=Ge;return a.createElement(a.Fragment,null,_e(Ge))}return null},[Ge]);function Ze(){Ve({type:0,payload:!0}),Ve({type:1,payload:"1"}),ze()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${qe?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(ae.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(me,{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:Oe?"":Fe,onChange:Ke}),rightNode:Le?a.createElement(ie.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):Ge?Be:a.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")})),a.createElement("a",{className:`btn-collapse ${qe?"up":""}`,onClick:Ue},qe?a.createElement(pe.Z,null):a.createElement(he.Z,null)),a.createElement("footer",{className:"footer"},a.createElement("span",{style:{visibility:"hidden"}},"\u63A7\u5236\u53F0"),a.createElement("div",{className:"flex-container"},a.createElement(E.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost"},"\u4E0A\u4E00\u9898"),a.createElement(E.ZP,{id:"oj-next",className:"btn-blue",type:"ghost"},"\u4E0B\u4E00\u9898"),a.createElement(E.ZP,{className:"btn-green",type:"ghost",loading:Le,onClick:Ze},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:Qe,disabled:Qe,onClick:()=>{Ve({type:0,payload:!1}),ke()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},86723:function(ct,ot,Se){"use strict";Se.d(ot,{h:function(){return ye}});var ye=(je=>(je[je.NOMATCH=-1]="NOMATCH",je[je.OK=0]="OK",je[je.TIMEOUT=2]="TIMEOUT",je[je.PODFAILURE=3]="PODFAILURE",je[je.COMPILEFAILURE=4]="COMPILEFAILURE",je[je.EXECUTEFAILURE=5]="EXECUTEFAILURE",je[je.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",je))(ye||{})},24833:function(ct,ot,Se){"use strict";Se.d(ot,{Y2:function(){return Me},ZP:function(){return Oe}});var ye=Se(59301),je=Se(54580),E=Se(8591),pe=Se(43418),he=Se(95237),ce=Se(5112),oe=Se(3113),ie=Se(24905),le=Se(6848),se=Se(92832),ae={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"},re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h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uthsaiDWTHomPioQlYNREJurMUDWW2ZFJdDWolCJba14u/liX7keDTG2le3MbDQzEGskPNNOL7scv8a+nFMGMaqxnvILiPXktqa1Cl8DJYIY20pNTlePBYhVl5gJSjxQEkMMkHWTeECsG6v1LDT2HGwZcRLEjudj/HUkPd7XiASI1VCVMe8rIDgHKwIxQOY+G4GYe4sVLTARYNMKkiuxGWL8hSRFWVA8FCBWXFIGXFVAeJB/PUYWxACZ66QEYq7tVbK4TIBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ne=Se(47257),te=Se.n(ne),a=Se(49894),y=Se(7660),x=Se(1012),b=Se(88230),ee=Se(90853),z=Se(59301),ue=Object.defineProperty,de=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(Fe,Le,Qe)=>Le in Fe?ue(Fe,Le,{enumerable:!0,configurable:!0,writable:!0,value:Qe}):Fe[Le]=Qe,Pe=(Fe,Le)=>{for(var Qe in Le||(Le={}))me.call(Le,Qe)&&ve(Fe,Qe,Le[Qe]);if(fe)for(var Qe of fe(Le))be.call(Le,Qe)&&ve(Fe,Qe,Le[Qe]);return Fe},Ee=(Fe,Le)=>de(Fe,ge(Le)),Ae=(Fe,Le,Qe)=>new Promise((We,Ge)=>{var Ke=Ne=>{try{ke(Qe.next(Ne))}catch(Ve){Ge(Ve)}},ze=Ne=>{try{ke(Qe.throw(Ne))}catch(Ve){Ge(Ve)}},ke=Ne=>Ne.done?We(Ne.value):Promise.resolve(Ne.value).then(Ke,ze);ke((Qe=Qe.apply(Fe,Le)).next())});const{Dragger:Ce}=je.default,_e=Fe=>{const Le=Ve=>Ve&&Ve.substring(0,Ve.lastIndexOf("."));for(var Qe=[...Fe],We=0,Ge=[],Ke=0;Ke<Qe.length;Ke++){for(var ze="",ke=0;ke<Ge.length;ke++)if(Le(Ge[ke][0].name)==Le(Qe[Ke].name)){We=1,ze=ke;break}if(We==1)Ge[ze].push(Qe[Ke]),We=0;else if(We==0){let Ve=new Array;Ve.push(Qe[Ke]),Ge.push(Ve)}}return Ge.map(Ve=>{if(Ve.forEach(qe=>{let rt=qe.name.split(/\.(?=[^\.]+$)/);qe.name=`${rt[0]}.${rt[1].toLowerCase()}`}),Ve[0].name.includes(".in"))return Ve.length===2?Ve:[Ve[0],{}];if(Ve[0].name.includes(".out"))return Ve.length===2?Ve.reverse():[{},Ve[0]]})},we=({onClose:Fe,onOK:Le,visible:Qe,wrapClassName:We,rootIdentifier:Ge,multiple:Ke=!1,defaultMultipleValue:ze=!0})=>{const[ke,Ne]=(0,ye.useState)([]),[Ve,qe]=(0,ye.useState)({}),[rt,Ye]=(0,ye.useState)(!1),[Ue,Be]=(0,ye.useState)(!0),Ze=(0,ye.useRef)([]),Te=(0,ye.useRef)(0),He=()=>{Fe()};(0,ye.useEffect)(()=>{at()},[]),(0,ye.useEffect)(()=>{Qe&&(Ze.current=[],Te.current=0,Ne([]),Be(ze))},[Qe]);const at=()=>Ae(void 0,null,function*(){try{const nt=yield(0,y.ZP)("/api/buckets/get_upload_token_for_big_files",{method:"get"}),$e=JSON.parse((0,a.pe)(nt.data));qe($e)}catch(nt){}}),et=nt=>nt&&nt.substring(0,nt.lastIndexOf(".")),Je=nt=>{var $e,tt;const st=et(($e=nt[0])==null?void 0:$e.name)||et((tt=nt[1])==null?void 0:tt.name),it=ke.filter(lt=>et(lt.name)!==st);Ze.current=[...it],Ne([...it])},Ie=nt=>{if(!Ue){const ut=new FormData;ut.append("file",nt.file),(0,y.ZP)("/api/attachments/get_file_content.json",{method:"post",body:ut},!0).then(vt=>{if(vt.status===0){Te.current=Te.current+1;const mt=Ze.current.map(bt=>{var _t;if(bt.name===nt.name){const Mt=Pe({},bt);return(_t=nt==null?void 0:nt.name)!=null&&_t.includes(".in")?Mt.input=vt==null?void 0:vt.content:Mt.output=vt==null?void 0:vt.content,Mt}return bt});if(Ze.current=[...mt],Ne([...mt]),Te.current>0&&Te.current===ke.length){Ye(!1);let bt=_e(mt);bt=bt.filter(_t=>{var Mt,yt;return!!((Mt=_t[0])!=null&&Mt.name&&((yt=_t[1])!=null&&yt.name))}),bt=bt.map(_t=>Ee(Pe(Pe({},_t[0]),_t[1]),{is_file:!1})),Le(bt),Fe()}}else Ye(!1),Fe()});return}const $e=new(te())({endpoint:Ve.end_point,region:Ve.region,accessKeyId:Ve.access_key_id,accessKeySecret:Ve.access_key_secret,bucket:Ve.bucket,stsToken:Ve.security_token}),tt=nt.name,st={container_type:"TestSet",file_name:tt},it=(0,x.Z)();let lt=`testsets/${Ge}/${it}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`;Ge===null&&(lt=`testsets/${it}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`),$e.multipartUpload(lt,new Blob([nt.file],{type:nt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:tt+""},url:Ve==null?void 0:Ve.callback_url,host:Ve==null?void 0:Ve.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,y.rz)(st)}}).then(function(ut){if(ut.data.status===0){Te.current=Te.current+1;const pt=Ze.current.map(vt=>{var mt,bt,_t,Mt,yt,wt,xt,un,Vt,sn,Zt,en,Ht,ln,Ln,Pn,xn;if(vt.name===((bt=(mt=ut.data)==null?void 0:mt.data)==null?void 0:bt.file_name)){const bn=Pe({},vt);return(yt=(Mt=(_t=ut.data)==null?void 0:_t.data)==null?void 0:Mt.file_name)!=null&&yt.includes(".in")?(bn.in_object_key=(xt=(wt=ut.data)==null?void 0:wt.data)==null?void 0:xt.object,bn.in_object_size=(Vt=(un=ut.data)==null?void 0:un.data)==null?void 0:Vt.size,bn.input=(Zt=(sn=ut.data)==null?void 0:sn.data)==null?void 0:Zt.file_name,bn.in_file=nt):(bn.out_object_key=(Ht=(en=ut.data)==null?void 0:en.data)==null?void 0:Ht.object,bn.out_object_size=(Ln=(ln=ut.data)==null?void 0:ln.data)==null?void 0:Ln.size,bn.output=(xn=(Pn=ut.data)==null?void 0:Pn.data)==null?void 0:xn.file_name,bn.out_file=nt),bn}return vt});if(Ze.current=[...pt],Ne([...pt]),Te.current>0&&Te.current===ke.length){Ye(!1);let vt=_e(pt);vt=vt.filter(mt=>{var bt,_t;return!!((bt=mt[0])!=null&&bt.name&&((_t=mt[1])!=null&&_t.name))}),vt=vt.map(mt=>Ee(Pe(Pe({},mt[0]),mt[1]),{is_file:!0})),Le(vt),Fe()}}})},xe=nt=>new Promise(($e,tt)=>{let st=0,it=[];for(let lt=0;lt<nt.length;lt++)nt[lt].file.slice(0,1).arrayBuffer().then(()=>{st++,st===nt.length&&(it.length?(E.ZP.warning(`${it.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),tt()):$e(nt))}).catch(ut=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",ut),st++,it.push(nt[lt].name),st===nt.length&&(it.length?(E.ZP.warning(`${it.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),tt()):$e(nt))})}),De=()=>Ae(void 0,null,function*(){if(ke.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield xe(ke),Ye(!0),_e(ke).some($e=>{var tt,st;return!((tt=$e[0])!=null&&tt.name&&((st=$e[1])!=null&&st.name))})){pe.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:()=>Ae(void 0,null,function*(){ke.map($e=>Ae(void 0,null,function*(){Ie($e)}))}),onCancel:()=>{Ye(!1)}});return}ke.map($e=>Ae(void 0,null,function*(){Ie($e)}))}),Re={name:"file",fileList:ke,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:nt=>{if(ke!=null&&ke.some(tt=>tt.name===nt.name))return E.ZP.info(`${nt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(nt.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(nt.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 $e={name:nt.name,uid:nt.uid,file:nt,percent:0};return ke.push($e),Ze.current=[...ke],Ne([...ke]),!1}},Xe=_e(ke);return console.log(ke,Xe,"fileList"),z.createElement(pe.default,{open:Qe,wrapClassName:We,onOk:De,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:rt},onCancel:He,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ae.wrap},ke.length?z.createElement("div",null,z.createElement(he.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Ke?"visible":"hidden"}},z.createElement("span",{className:ae.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(ce.ZP.Group,{className:`ml20 ${ae.testCaseRadio}`,optionType:"button",value:Ue,onChange:nt=>Be(nt.target.value)},z.createElement(ce.ZP,{value:!1},"\u6587\u672C"),z.createElement(ce.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(je.default,Pe({},Re),z.createElement(oe.ZP,{type:"primary",className:ae.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(Me,{data:Xe,onRemove:Je})):z.createElement("div",{className:`${ae.noData} mb30`},z.createElement(je.default.Dragger,Ee(Pe({},Re),{className:ae.dragger}),z.createElement("img",{src:re,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:ae.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ae.text},z.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),z.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",z.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",z.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",z.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",z.createElement("br",null))))},Me=({data:Fe=[],onRemove:Le,width:Qe="auto",showScore:We=!1,disabled:Ge=!1,inputChange:Ke,onEvaluatingChange:ze,onSelectAll:ke,checkAll1:Ne,checkAll2:Ve,checkAll3:qe,checkAll4:rt,checkAll5:Ye,showEvaluatingSetting:Ue=!1,className:Be="",isProgramHomework:Ze=!1})=>{const Te={value:"",filename:"",dataUrl:""},[He,at]=(0,ye.useState)(Pe({},Te)),et=xe=>{let De=document.createElement("a");document.body.appendChild(De);let Re=URL.createObjectURL(xe.file);De.href=Re,De.download=xe.name,De.click(),URL.revokeObjectURL(Re),document.body.removeChild(De)},Je=(xe,De)=>{(0,b.LR)(xe,De)},Ie=(xe,De)=>{pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Le(xe,De)},onCancel:()=>{}})};return Fe.length?z.createElement("div",{className:Be,style:{width:Qe}},z.createElement("div",{className:`${Ze?ae.headProgram:ae.head}`},Ue&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ne,onChange:xe=>{ke(xe.target.checked,"hidden")}}),z.createElement(le.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:Ze?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:We?Ze?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:We?Ze?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),We&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:rt,onChange:xe=>{ke(xe.target.checked,"input_visible")}}),z.createElement(le.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ve,onChange:xe=>{ke(xe.target.checked,"is_invisible")}}),z.createElement(le.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ye,onChange:xe=>{ke(xe.target.checked,"actual_output_visible")}}),z.createElement(le.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:qe,onChange:xe=>{ke(xe.target.checked,"last_match_rule")}}),z.createElement(le.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"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:ae.operation,style:Ze?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ae.listWrapper,style:{boxShadow:Ze?"0px 2px 4px 0px #EAEEF4":"unset"}},Fe.map((xe,De)=>{var Re,Xe,nt,$e;return z.createElement("div",{key:De,className:ae.list,style:Ze?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Ue&&z.createElement("div",{style:{width:"15%"}},z.createElement(ie.default,{checked:!!xe.hidden,onChange:tt=>{ze(tt.target.checked,De,"hidden")}})),z.createElement("div",{style:{width:Ze?"25%":"15%",paddingLeft:Ze?"5px":"0px",paddingRight:Ze?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",De+1),z.createElement("div",{className:ae.info,style:{width:We?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:xe.input||((Re=xe[0])==null?void 0:Re.name),onClick:()=>Ae(void 0,null,function*(){let tt;xe.input?xe.input_file_url?tt=xe.input_file_url:tt=xe.in_file:tt=xe[0];let st;typeof tt=="string"?(st=yield fetch(tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),at({value:yield st.text(),filename:"",dataUrl:tt})):(st=yield(0,b.db)(tt.file),at({value:st.text,filename:tt.name,dataUrl:st.link}))})},xe.input||((Xe=xe[0])==null?void 0:Xe.name))),z.createElement("div",{className:ae.info,style:{width:We?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:xe.output||((nt=xe[1])==null?void 0:nt.name),onClick:()=>Ae(void 0,null,function*(){let tt;xe.input?xe.output_file_url?tt=xe.output_file_url:tt=xe.out_file:tt=xe[1];let st;typeof tt=="string"?(st=yield fetch(tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),at({value:yield st.text(),filename:"",dataUrl:tt})):(st=yield(0,b.db)(tt.file),at({value:st.text,filename:tt.name,dataUrl:st.link}))})},xe.output||(($e=xe[1])==null?void 0:$e.name))),We&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{size:"large",addonAfter:Ze?"%":null,disabled:Ge,style:{width:"80%"},onChange:tt=>Ke(tt,De),value:xe.score}),!Ze&&z.createElement("span",null,"\xA0%")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.input_visible||!1,onChange:tt=>{ze(tt.target.checked,De,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.is_invisible||!1,onChange:tt=>{ze(tt.target.checked,De,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.actual_output_visible||!1,onChange:tt=>{ze(tt.target.checked,De,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.last_match_rule||!1,onChange:tt=>{ze(tt.target.checked,De,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>Ie(xe,De),style:Ze?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ae.del},"\u5220\u9664")))})),z.createElement(ee.Z,{close:!0,data:He.dataUrl,filename:He.filename,type:He.dataUrl.length?"txt":"",onClose:()=>at(Pe({},Te)),monacoEditor:{value:He.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Oe=we},52649:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ne}});var ye=Se(59301),je=Se(8591),E=Se(6848),pe=Se(71418),he=Se(95237),ce=Se(43604),oe=Se(58421),ie=Se(3113),le=Se(64726),se=Se(7660),ae=Se(99325),re=(a,y,x)=>new Promise((b,ee)=>{var z=ge=>{try{de(x.next(ge))}catch(fe){ee(fe)}},ue=ge=>{try{de(x.throw(ge))}catch(fe){ee(fe)}},de=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(z,ue);de((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[ee,z]=(0,ye.useState)(""),[ue,de]=(0,ye.useState)(!1);function ge(me){z(me)}function fe(){if(!ee){je.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,ee),z("")}return(0,ye.useEffect)(()=>{y!=a&&de(!1)},[y]),ye.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},ye.createElement(le.Z,{miniToolbar:!0,startInit:y===a,defaultValue:ee,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:ge,extraUse:b&&ye.createElement(E.Z,{color:"#fff",open:ue,destroyTooltipOnHide:!0,title:te({id:a,isOpen:ue,activeDiscussIndex:y,onChange:ge,setIsOpen:de}),overlayStyle:{maxWidth:600}},ye.createElement("a",{title:ue?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>de(!ue)},ye.createElement("i",{className:"iconfont icon-dianzan11"})))}),ye.createElement("a",{onClick:fe,className:"btn-send"},"\u53D1\u9001"))};const te=a=>{const[y,x]=(0,ye.useState)(!1),[b,ee]=(0,ye.useState)([]),[z,ue]=(0,ye.useState)(1);(0,ye.useEffect)(()=>{a!=null&&a.isOpen?de():(ue(1),ee([]))},[a==null?void 0:a.isOpen]);const de=()=>re(void 0,null,function*(){x(!0);const ge=yield(0,se.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(ge==null?void 0:ge.status)==0&&ee(ge==null?void 0:ge.answer),x(!1)});return ye.createElement(pe.Z,{spinning:y},ye.createElement("div",{style:{color:"#000"}},ye.createElement(ae.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[z-1])||""}),ye.createElement(he.Z,{justify:"end",align:"middle"},ye.createElement(ce.Z,null,ye.createElement(oe.Z,{simple:!0,current:z,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:ge=>{ue(ge)}})),ye.createElement(ce.Z,null,ye.createElement(ie.ZP,{onClick:()=>re(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[z-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},3404:function(ct,ot,Se){"use strict";Se.d(ot,{CP:function(){return E},_V:function(){return ce}});var ye=Se(28209),je=Se.n(ye);const E={secret:ye.enc.Utf8.parse("0a18e199b87f1a8d"),iv:ye.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=="},pe={exam:E};function he(oe="",ie="exam"){const{secret:le,iv:se}=pe[ie];return AES.encrypt(oe,le,{iv:se,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function ce(oe="",ie="exam"){const{secret:le,iv:se}=pe[ie];return ye.AES.decrypt(oe,le,{iv:se,mode:je().mode.CBC,padding:je().pad.Pkcs7}).toString(ye.enc.Utf8)}},20736:function(ct,ot,Se){"use strict";Se.d(ot,{BU:function(){return je},Dj:function(){return ye},gH:function(){return E},vp:function(){return pe}});function ye(he){try{he.mozRequestFullScreen?he.mozRequestFullScreen():he.webkitRequestFullScreen&&he.webkitRequestFullScreen()}catch(ce){console.log(ce,":e")}}function je(){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 pe(){var he=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ce=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",he),window.isFullScreen?window.isFullScreen:he!=null}},59579:function(ct,ot,Se){"use strict";Se.d(ot,{U:function(){return le}});var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(se,ae,re)=>ae in se?je(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:re}):se[ae]=re,oe=(se,ae)=>{for(var re in ae||(ae={}))pe.call(ae,re)&&ce(se,re,ae[re]);if(E)for(var re of E(ae))he.call(ae,re)&&ce(se,re,ae[re]);return se},ie=(se,ae,re)=>new Promise((ne,te)=>{var a=b=>{try{x(re.next(b))}catch(ee){te(ee)}},y=b=>{try{x(re.throw(b))}catch(ee){te(ee)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(a,y);x((re=re.apply(se,ae)).next())});function le(se,ae){const[re,ne]=(0,ye.useState)(ae),[te,a]=(0,ye.useState)(!1),[y,x]=(0,ye.useState)();return[re,te,(ee,z=!1)=>ie(this,null,function*(){const ue=z?ae:oe(oe({},re),ee);a(!0),ne(ue);const de=yield se(ue);return a(!1),x(de),de}),y]}},39649:function(ct,ot,Se){"use strict";Se.d(ot,{_:function(){return E}});var ye=Se(59301),je=Se(43418);const E=pe=>{var he,ce;const oe=(0,ye.useRef)([]),ie=()=>{for(const le of oe.current)clearTimeout(le);oe.current=[]};return(0,ye.useEffect)(()=>{var le,se,ae,re,ne,te;if(ie(),(le=pe==null?void 0:pe.exercise)!=null&&le.left_time&&((ae=(se=pe==null?void 0:pe.exercise)==null?void 0:se.exercise_events)==null?void 0:ae.length)>0){for(const a of(re=pe==null?void 0:pe.exercise)==null?void 0:re.exercise_events)if(((ne=pe==null?void 0:pe.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((te=pe==null?void 0:pe.exercise)==null?void 0:te.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{je.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);oe.current.push(x)}}},[(he=pe==null?void 0:pe.exercise)==null?void 0:he.left_time,(ce=pe==null?void 0:pe.exercise)==null?void 0:ce.exercise_events]),ie}},85187:function(ct,ot,Se){"use strict";Se.d(ot,{AL:function(){return ue},Iy:function(){return ae},Qv:function(){return te},ez:function(){return z},jb:function(){return re}});var ye=Se(32834),je=Se.n(ye),E=Se(11690),pe=Se.n(E);let he=1;function ce(be,ve){const Pe=be.match(/^(\s+)(?:```)/);if(Pe===null)return ve;const Ee=Pe[1];return ve.split(`
|
|
|
`).map(Ae=>{const Ce=Ae.match(/^\s+/);if(Ce===null)return Ae;const[_e]=Ce;return _e.length>=Ee.length?Ae.slice(Ee.length):Ae}).join(`
|
|
|
`)}let oe=[],ie=["<ul>"];const le=new(je()).Renderer,se=/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/;function ae(){oe.length=0,ie=["<ul>"]}const re={overflow:"hidden",WebkitBoxOrient:"vertical",display:"-webkit-box",WebkitLineClamp:2};function ne(be,ve,Pe,Ee){if(ve>=be.length||be[ve].level<=Pe)return ve;var Ae=be[ve];Ee.push("<li><a href='#"+he+Ae.anchor+"'>"+Ae.text+"</a>"),ve++;var Ce=[];return ve=ne(be,ve,Ae.level,Ce),Ce.length>0&&(Ee.push("<ul>"),Ce.forEach(function(_e){Ee.push(_e)}),Ee.push("</ul>")),Ee.push("</li>"),ve=ne(be,ve,Pe,Ee),ve}function te(){return ne(oe,0,0,ie),ie.push("</ul>"),ie.join("")}const a={heading(be){const ve=se.exec(be);if(he+=1,ve)return{type:"heading",raw:ve[0],depth:ve[1].length,text:ve[2]}},fences(be){const ve=this.rules.block.fences.exec(be);if(ve){const Pe=ve[0];let Ee=ce(Pe,ve[3]||"");const Ae=ve[2]?ve[2].trim():ve[2];if(["latex","katex","math"].indexOf(Ae)>=0){const Ce=b(),_e=Ee;Ee=Ce,ee[Ce]={type:"block",expression:_e}}return{type:"code",raw:Pe,lang:Ae,text:Ee}}}},y=/(?:\${2})([^\n`]+?)(?:\${2})/gi;let x=0;const b=()=>`__special_katext_id_${x++}__`;let ee={};function z(){return ee}function ue(){x=0,ee={}}function de(be){return be=be.replace(y,(ve,Pe)=>{const Ee=b();return ee[Ee]={type:"inline",expression:Pe},Ee}),be}const ge=le.listitem;le.listitem=function(be){return ge(de(be))};const fe=le.paragraph;le.paragraph=function(be){return fe(de(be))};const me=le.tablecell;le.tablecell=function(be,ve){return me(de(be),ve)},le.code=function(be,ve,Pe){const Ee=(ve||"").match(/\S*/)[0];return Ee?["latex","katex","math"].indexOf(Ee)>=0?`<p class='editormd-tex'>${be}</p>`:`<pre class="prettyprint linenums"><code class="language-${ve}">${Pe?be:(0,E.escape)(be,!0)}</code></pre>
|
|
|
`:'<pre class="prettyprint linenums"><code>'+(Pe?be:(0,E.escape)(be,!0))+"</code></pre>"},le.heading=function(be,ve,Pe){let Ee=this.options.headerPrefix+Pe.toLowerCase().replace(/[^\w\\u4e00-\\u9fa5]]+/g,"-");return oe.push({anchor:Ee,level:ve,text:be}),"<h"+ve+' id="'+he+Ee+'">'+be+"</h"+ve+">"},je().setOptions({silent:!0,gfm:!0,pedantic:!1}),je().use({tokenizer:a,renderer:le}),ot.ZP=je()},90691:function(ct,ot,Se){"use strict";Se.d(ot,{G:function(){return he},t:function(){return pe}});var ye=Se(7062),je=Se.n(ye);const E=null;function pe(ce,oe){let ie=je().get("__ec");ie||(ie={}),ie[ce]=oe,je().set("__ec",ie)}function he(ce,oe){let ie=je().get("__ec");return ie?ie[ce]===void 0?oe:ie[ce]:oe}},47257:function(ct){(function(ot){(function(Se){if(1)ct.exports=Se();else var ye})(function(){var Se,ye,je;return function(){function E(pe,he,ce){function oe(se,ae){if(!he[se]){if(!pe[se]){var re=void 0;if(!ae&&re)return require(se,!0);if(ie)return ie(se,!0);var ne=new Error("Cannot find module '"+se+"'");throw ne.code="MODULE_NOT_FOUND",ne}var te=he[se]={exports:{}};pe[se][0].call(te.exports,function(a){var y=pe[se][1][a];return oe(y||a)},te,te.exports,E,pe,he,ce)}return he[se].exports}for(var ie=void 0,le=0;le<ce.length;le++)oe(ce[le]);return oe}return E}()({1:[function(E,pe,he){"use strict";var ce=E("./browser/client");ce.Buffer=E("buffer").Buffer,ce.urllib=E("../shims/xhr"),ce.version=E("./browser/version").version,pe.exports=ce},{"../shims/xhr":475,"./browser/client":3,"./browser/version":6,buffer:90}],2:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator")),ie=ce(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 le=E("assert"),se=E("../common/utils/checkBucketName"),ae=se.checkBucketName,re=he;function ne(a){return Array.isArray?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"}function te(a){return a?ne(a)?a:[a]:[]}re.useBucket=function(y){return ae(y),this.options.bucket=y,this},re.setBucket=function(y){return ae(y),this.options.bucket=y,this},re.getBucket=function(){return this.options.bucket},re.deleteBucket=function(){var a=(0,ie.default)(oe.default.mark(function x(b,ee){var z,ue;return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return z=this._bucketRequestParams("DELETE",b,"",ee),ge.next=3,this.request(z);case 3:if(ue=ge.sent,!(ue.status===200||ue.status===204)){ge.next=6;break}return ge.abrupt("return",{res:ue.res});case 6:return ge.next=8,this.requestError(ue);case 8:throw ge.sent;case 9:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.putBucketACL=function(){var a=(0,ie.default)(oe.default.mark(function x(b,ee,z){var ue,de;return oe.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return ue=this._bucketRequestParams("PUT",b,"acl",z),ue.headers={"x-oss-acl":ee},ue.successStatuses=[200],fe.next=5,this.request(ue);case 5:return de=fe.sent,fe.abrupt("return",{bucket:de.headers.location&&de.headers.location.substring(1)||null,res:de.res});case 7:case"end":return fe.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),re.getBucketACL=function(){var a=(0,ie.default)(oe.default.mark(function x(b,ee){var z,ue;return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return z=this._bucketRequestParams("GET",b,"acl",ee),z.successStatuses=[200],z.xmlResponse=!0,ge.next=5,this.request(z);case 5:return ue=ge.sent,ge.abrupt("return",{acl:ue.data.AccessControlList.Grant,owner:{id:ue.data.Owner.ID,displayName:ue.data.Owner.DisplayName},res:ue.res});case 7:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.putBucketLogging=function(){var a=(0,ie.default)(oe.default.mark(function x(b,ee,z){var ue,de,ge;return oe.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ue=this._bucketRequestParams("PUT",b,"logging",z),de=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<BucketLoggingStatus>
|
|
|
<LoggingEnabled>
|
|
|
<TargetBucket>`.concat(b,`</TargetBucket>
|
|
|
`),ee&&(de+="<TargetPrefix>".concat(ee,`</TargetPrefix>
|
|
|
`)),de+=`</LoggingEnabled>
|
|
|
</BucketLoggingStatus>`,ue.content=de,ue.mime="xml",ue.successStatuses=[200],me.next=9,this.request(ue);case 9:return ge=me.sent,me.abrupt("return",{res:ge.res});case 11:case"end":return me.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),re.getBucketLogging=function(){var a=(0,ie.default)(oe.default.mark(function x(b,ee){var z,ue,de;return oe.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return z=this._bucketRequestParams("GET",b,"logging",ee),z.successStatuses=[200],z.xmlResponse=!0,fe.next=5,this.request(z);case 5:return ue=fe.sent,de=ue.data.LoggingEnabled,fe.abrupt("return",{enable:!!de,prefix:de&&de.TargetPrefix||null,res:ue.res});case 8:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.deleteBucketLogging=function(){var a=(0,ie.default)(oe.default.mark(function x(b,ee){var z,ue;return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return z=this._bucketRequestParams("DELETE",b,"logging",ee),z.successStatuses=[204,200],ge.next=4,this.request(z);case 4:return ue=ge.sent,ge.abrupt("return",{res:ue.res});case 6:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.putBucketCORS=function(){var a=(0,ie.default)(oe.default.mark(function x(b,ee,z){var ue,de,ge,fe,me,be,ve,Pe,Ee,Ae;return oe.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:for(ee=ee||[],le(ee.length,"rules is required"),ee.forEach(function(we){le(we.allowedOrigin,"allowedOrigin is required"),le(we.allowedMethod,"allowedMethod is required")}),ue=this._bucketRequestParams("PUT",b,"cors",z),de=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CORSConfiguration>`,ge=function(Me){de+="<AllowedOrigin>".concat(Me,"</AllowedOrigin>")},fe=function(Me){de+="<AllowedMethod>".concat(Me,"</AllowedMethod>")},me=function(Me){de+="<AllowedHeader>".concat(Me,"</AllowedHeader>")},be=function(Me){de+="<ExposeHeader>".concat(Me,"</ExposeHeader>")},ve=0,Pe=ee.length;ve<Pe;ve++)Ee=ee[ve],de+="<CORSRule>",te(Ee.allowedOrigin).forEach(ge),te(Ee.allowedMethod).forEach(fe),te(Ee.allowedHeader).forEach(me),te(Ee.exposeHeader).forEach(be),Ee.maxAgeSeconds&&(de+="<MaxAgeSeconds>".concat(Ee.maxAgeSeconds,"</MaxAgeSeconds>")),de+="</CORSRule>";return de+="</CORSConfiguration>",ue.content=de,ue.mime="xml",ue.successStatuses=[200],_e.next=16,this.request(ue);case 16:return Ae=_e.sent,_e.abrupt("return",{res:Ae.res});case 18:case"end":return _e.stop()}},x,this)}));function y(x,b,ee){return a.apply(this,arguments)}return y}(),re.getBucketCORS=function(){var a=(0,ie.default)(oe.default.mark(function x(b,ee){var z,ue,de,ge;return oe.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return z=this._bucketRequestParams("GET",b,"cors",ee),z.successStatuses=[200],z.xmlResponse=!0,me.next=5,this.request(z);case 5:return ue=me.sent,de=[],ue.data&&ue.data.CORSRule&&(ge=ue.data.CORSRule,ne(ge)||(ge=[ge]),ge.forEach(function(be){var ve={};Object.keys(be).forEach(function(Pe){ve[Pe.slice(0,1).toLowerCase()+Pe.slice(1,Pe.length)]=be[Pe]}),de.push(ve)})),me.abrupt("return",{rules:de,res:ue.res});case 9:case"end":return me.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.deleteBucketCORS=function(){var a=(0,ie.default)(oe.default.mark(function x(b,ee){var z,ue;return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return z=this._bucketRequestParams("DELETE",b,"cors",ee),z.successStatuses=[204],ge.next=4,this.request(z);case 4:return ue=ge.sent,ge.abrupt("return",{res:ue.res});case 6:case"end":return ge.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.putBucketReferer=function(){var a=(0,ie.default)(oe.default.mark(function x(b,ee,z,ue){var de,ge,fe,me;return oe.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:if(de=this._bucketRequestParams("PUT",b,"referer",ue),ge=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<RefererConfiguration>
|
|
|
`,ge+=" <AllowEmptyReferer>".concat(ee?"true":"false",`</AllowEmptyReferer>
|
|
|
`),z&&z.length>0){for(ge+=` <RefererList>
|
|
|
`,fe=0;fe<z.length;fe++)ge+=" <Referer>".concat(z[fe],`</Referer>
|
|
|
`);ge+=` </RefererList>
|
|
|
`}else ge+=` <RefererList />
|
|
|
`;return ge+="</RefererConfiguration>",de.content=ge,de.mime="xml",de.successStatuses=[200],ve.next=10,this.request(de);case 10:return me=ve.sent,ve.abrupt("return",{res:me.res});case 12:case"end":return ve.stop()}},x,this)}));function y(x,b,ee,z){return a.apply(this,arguments)}return y}(),re.getBucketReferer=function(){var a=(0,ie.default)(oe.default.mark(function x(b,ee){var z,ue,de;return oe.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return z=this._bucketRequestParams("GET",b,"referer",ee),z.successStatuses=[200],z.xmlResponse=!0,fe.next=5,this.request(z);case 5:return ue=fe.sent,de=ue.data.RefererList.Referer||null,de&&(ne(de)||(de=[de])),fe.abrupt("return",{allowEmpty:ue.data.AllowEmptyReferer==="true",referers:de,res:ue.res});case 9:case"end":return fe.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re.deleteBucketReferer=function(){var a=(0,ie.default)(oe.default.mark(function x(b,ee){return oe.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return ue.next=2,this.putBucketReferer(b,!0,null,ee);case 2:return ue.abrupt("return",ue.sent);case 3:case"end":return ue.stop()}},x,this)}));function y(x,b){return a.apply(this,arguments)}return y}(),re._bucketRequestParams=function(y,x,b,ee){return{method:y,bucket:x,subres:b,timeout:ee&&ee.timeout,ctx:ee&&ee.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,pe,he){(function(ce,oe){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),le=ie(E("@babel/runtime/regenerator")),se=ie(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 ae=E("debug")("ali-oss"),re=E("xml2js"),ne=E("agentkeepalive"),te=E("merge-descriptors"),a=E("platform"),y=E("utility"),x=E("urllib"),b=E("./version"),ee=E("bowser"),z=E("../common/signUtils"),ue=E("../common/client/initOptions"),de=E("../common/utils/createRequest"),ge=de.createRequest,fe=E("../common/utils/encoder"),me=fe.encoder,be=E("../common/client/getReqUrl"),ve=be.getReqUrl,Pe=E("../common/utils/setSTSToken"),Ee=Pe.setSTSToken,Ae=E("../common/utils/retry"),Ce=Ae.retry,_e=E("../common/utils/isFunction"),we=_e.isFunction,Me=new ne;function Oe(){var Ke=a.name,ze=a.version;Ke&&Ke.toLowerCase&&Ke.toLowerCase()==="ie"&&ze.split(".")[0]<10&&console.warn("ali-oss does not support the current browser")}function Fe(){return location&&location.protocol==="https:"}function Le(Ke,ze){if(Oe(),!(this instanceof Le))return new Le(Ke,ze);Ke&&Ke.inited?this.options=Ke:this.options=Le.initOptions(Ke),this.options.cancelFlag=!1,this.options.urllib?this.urllib=this.options.urllib:(this.urllib=x,this.agent=this.options.agent||Me),this.ctx=ze,this.userAgent=this._getUserAgent(),this.stsTokenFreshTime=new Date,this.options.amendTimeSkewed=0}pe.exports=Le,Le.initOptions=function(ze){ze.stsToken||console.warn("Please use STS Token for safety, see more details at https://help.aliyun.com/document_detail/32077.html");var ke=Object.assign({secure:Fe(),useFetch:!1},ze);return ue(ke)};var Qe=Le.prototype;Qe.debug=ae,te(Qe,E("./object")),te(Qe,E("./bucket")),te(Qe,E("../common/bucket/getBucketWebsite")),te(Qe,E("../common/bucket/putBucketWebsite")),te(Qe,E("../common/bucket/deleteBucketWebsite")),te(Qe,E("../common/bucket/getBucketLifecycle")),te(Qe,E("../common/bucket/putBucketLifecycle")),te(Qe,E("../common/bucket/deleteBucketLifecycle")),te(Qe,E("../common/bucket/putBucketVersioning")),te(Qe,E("../common/bucket/getBucketVersioning")),te(Qe,E("../common/bucket/getBucketInventory")),te(Qe,E("../common/bucket/deleteBucketInventory")),te(Qe,E("../common/bucket/listBucketInventory")),te(Qe,E("../common/bucket/putBucketInventory")),te(Qe,E("../common/bucket/abortBucketWorm")),te(Qe,E("../common/bucket/completeBucketWorm")),te(Qe,E("../common/bucket/extendBucketWorm")),te(Qe,E("../common/bucket/getBucketWorm")),te(Qe,E("../common/bucket/initiateBucketWorm")),te(Qe,E("./managed-upload")),te(Qe,E("../common/multipart-copy")),te(Qe,E("../common/multipart")),te(Qe,E("../common/parallel")),Qe.signature=function(ze){return this.debug("authorization stringToSign: %s",ze,"info"),z.computeSignature(this.options.accessKeySecret,ze,this.options.headerEncoding)},Qe._getReqUrl=ve,Qe.authorization=function(ze,ke,Ne,Ve){var qe=z.buildCanonicalString(ze.toUpperCase(),ke,{headers:Ve,parameters:Ne});return z.authorization(this.options.accessKeyId,this.options.accessKeySecret,qe,this.options.headerEncoding)},Qe.request=function(){var Ke=(0,se.default)(le.default.mark(function ze(ke){var Ne=this;return le.default.wrap(function(qe){for(;;)switch(qe.prev=qe.next){case 0:if(!this.options.retryMax){qe.next=6;break}return qe.next=3,Ce(We.bind(this),this.options.retryMax,{errorHandler:function(Ye){var Ue=function(Ze){if(ke.stream)return!1;var Te=[-1,-2].includes(Ze.status),He=Ne.options.requestErrorRetryHandle||function(){return!0};return Te&&He(Ze)};return!!Ue(Ye)}})(ke);case 3:return qe.abrupt("return",qe.sent);case 6:return qe.abrupt("return",We.call(this,ke));case 7:case"end":return qe.stop()}},ze,this)}));return function(ze){return Ke.apply(this,arguments)}}();function We(Ke){return Ge.apply(this,arguments)}function Ge(){return Ge=(0,se.default)(le.default.mark(function Ke(ze){var ke,Ne,Ve,qe,rt,Ye;return le.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(!(this.options.stsToken&&we(this.options.refreshSTSToken))){Be.next=3;break}return Be.next=3,Ee.call(this);case 3:return ke=ge.call(this,ze),this.options.useFetch||(ke.params.mode="disable-fetch"),qe=!!ze.stream,Be.prev=6,Be.next=9,this.urllib.request(ke.url,ke.params);case 9:Ne=Be.sent,this.debug("response %s %s, got %s, headers: %j",ze.method,ke.url,Ne.status,Ne.headers,"info"),Be.next=16;break;case 13:Be.prev=13,Be.t0=Be.catch(6),Ve=Be.t0;case 16:if(!(Ne&&ze.successStatuses&&ze.successStatuses.indexOf(Ne.status)===-1)){Be.next=28;break}return Be.next=19,this.requestError(Ne);case 19:if(rt=Be.sent,!(rt.code==="RequestTimeTooSkewed"&&!qe)){Be.next=25;break}return this.options.amendTimeSkewed=+new Date(rt.serverTime)-new Date,Be.next=24,this.request(ze);case 24:return Be.abrupt("return",Be.sent);case 25:rt.params=ze,Be.next=32;break;case 28:if(!Ve){Be.next=32;break}return Be.next=31,this.requestError(Ve);case 31:rt=Be.sent;case 32:if(!rt){Be.next=34;break}throw rt;case 34:if(!ze.xmlResponse){Be.next=39;break}return Be.next=37,this.parseXML(Ne.data);case 37:Ye=Be.sent,Ne.data=Ye;case 39:return Be.abrupt("return",Ne);case 40:case"end":return Be.stop()}},Ke,this,[[6,13]])})),Ge.apply(this,arguments)}Qe._getResource=function(ze){var ke="/";return ze.bucket&&(ke+="".concat(ze.bucket,"/")),ze.object&&(ke+=me(ze.object,this.options.headerEncoding)),ke},Qe._escape=function(ze){return y.encodeURIComponent(ze).replace(/%2F/g,"/")},Qe._getUserAgent=function(){var ze=oe&&oe.browser?"js":"nodejs",ke="aliyun-sdk-".concat(ze,"/").concat(b.version),Ne=a.description;return!Ne&&oe&&(Ne="Node.js ".concat(oe.version.slice(1)," on ").concat(oe.platform," ").concat(oe.arch)),this._checkUserAgent("".concat(ke," ").concat(Ne))},Qe._checkUserAgent=function(ze){var ke=ze.replace(/\u03b1/,"alpha").replace(/\u03b2/,"beta");return ke},Qe.checkBrowserAndVersion=function(ze,ke){return ee.name===ze&&ee.version.split(".")[0]===ke},Qe.parseXML=function(ze){return new Promise(function(ke,Ne){ce.isBuffer(ze)&&(ze=ze.toString()),re.parseString(ze,{explicitRoot:!1,explicitArray:!1},function(Ve,qe){Ve?Ne(Ve):ke(qe)})})},Qe.requestError=function(){var Ke=(0,se.default)(le.default.mark(function ke(Ne){var Ve,qe,rt,Ye;return le.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(Ve=null,!(!Ne.data||!Ne.data.length)){Be.next=5;break}Ne.status===-1||Ne.status===-2?(Ve=new Error(Ne.message),Ve.name=Ne.name,Ve.status=Ne.status,Ve.code=Ne.name):(Ne.status===404?(Ve=new Error("Object not exists"),Ve.name="NoSuchKeyError",Ve.status=404,Ve.code="NoSuchKey"):Ne.status===412?(Ve=new Error("Pre condition failed"),Ve.name="PreconditionFailedError",Ve.status=412,Ve.code="PreconditionFailed"):(Ve=new Error("Unknow error, status: ".concat(Ne.status)),Ve.name="UnknownError",Ve.status=Ne.status),Ve.requestId=Ne.headers["x-oss-request-id"],Ve.host=""),Be.next=32;break;case 5:return qe=String(Ne.data),this.debug("request response error data: %s",qe,"error"),Be.prev=7,Be.next=10,this.parseXML(qe);case 10:if(Be.t0=Be.sent,Be.t0){Be.next=13;break}Be.t0={};case 13:rt=Be.t0,Be.next=23;break;case 16:return Be.prev=16,Be.t1=Be.catch(7),this.debug(qe,"error"),Be.t1.message+=`
|
|
|
raw xml: `.concat(qe),Be.t1.status=Ne.status,Be.t1.requestId=Ne.headers["x-oss-request-id"],Be.abrupt("return",Be.t1);case 23:Ye=rt.Message||"unknow request error, status: ".concat(Ne.status),rt.Condition&&(Ye+=" (condition: ".concat(rt.Condition,")")),Ve=new Error(Ye),Ve.name=rt.Code?"".concat(rt.Code,"Error"):"UnknownError",Ve.status=Ne.status,Ve.code=rt.Code,Ve.requestId=rt.RequestId,Ve.hostId=rt.HostId,Ve.serverTime=rt.ServerTime;case 32:return this.debug("generate error %j",Ve,"error"),Be.abrupt("return",Ve);case 34:case"end":return Be.stop()}},ke,this,[[7,16]])}));function ze(ke){return Ke.apply(this,arguments)}return ze}()}).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,pe,he){(function(ce){(function(){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),ie=oe(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 le=oe(E("@babel/runtime/helpers/asyncToGenerator")),se=E("util"),ae=E("path"),re=E("mime"),ne=E("copy-to"),te=E("../common/utils/isBlob"),a=te.isBlob,y=E("../common/utils/isFile"),x=y.isFile,b=E("../common/utils/isBuffer"),ee=b.isBuffer,z=he;z.multipartUpload=function(){var me=(0,le.default)(ie.default.mark(function ve(Pe,Ee){var Ae,Ce,_e,we,Me,Oe,Fe,Le,Qe,We=arguments;return ie.default.wrap(function(Ke){for(;;)switch(Ke.prev=Ke.next){case 0:if(Ae=We.length>2&&We[2]!==void 0?We[2]:{},this.resetCancelFlag(),Ae.disabledMD5=Ae.disabledMD5===void 0?!0:!!Ae.disabledMD5,!(Ae.checkpoint&&Ae.checkpoint.uploadId)){Ke.next=8;break}return Ee&&x(Ee)&&(Ae.checkpoint.file=Ee),Ke.next=7,this._resumeMultipart(Ae.checkpoint,Ae);case 7:return Ke.abrupt("return",Ke.sent);case 8:return Ce=102400,Ae.mime||(x(Ee)?Ae.mime=re.getType(ae.extname(Ee.name)):a(Ee)?Ae.mime=Ee.type:ee(Ee)?Ae.mime="":Ae.mime=re.getType(ae.extname(Ee))),Ae.headers=Ae.headers||{},this._convertMetaToHeaders(Ae.meta,Ae.headers),Ke.next=14,this._getFileSize(Ee);case 14:if(_e=Ke.sent,!(_e<Ce)){Ke.next=26;break}return Ae.contentLength=_e,Ke.next=19,this.put(Pe,Ee,Ae);case 19:if(we=Ke.sent,!(Ae&&Ae.progress)){Ke.next=23;break}return Ke.next=23,Ae.progress(1);case 23:return Me={res:we.res,bucket:this.options.bucket,name:Pe,etag:we.res.headers.etag},(Ae.headers&&Ae.headers["x-oss-callback"]||Ae.callback)&&(Me.data=we.data),Ke.abrupt("return",Me);case 26:if(!(Ae.partSize&&parseInt(Ae.partSize,10)!==Ae.partSize)){Ke.next=28;break}throw new Error("partSize must be int number");case 28:if(!(Ae.partSize&&Ae.partSize<Ce)){Ke.next=30;break}throw new Error("partSize must not be smaller than ".concat(Ce));case 30:return Ke.next=32,this.initMultipartUpload(Pe,Ae);case 32:if(Oe=Ke.sent,Fe=Oe.uploadId,Le=this._getPartSize(_e,Ae.partSize),Qe={file:Ee,name:Pe,fileSize:_e,partSize:Le,uploadId:Fe,doneParts:[]},!(Ae&&Ae.progress)){Ke.next=39;break}return Ke.next=39,Ae.progress(0,Qe,Oe.res);case 39:return Ke.next=41,this._resumeMultipart(Qe,Ae);case 41:return Ke.abrupt("return",Ke.sent);case 42:case"end":return Ke.stop()}},ve,this)}));function be(ve,Pe){return me.apply(this,arguments)}return be}(),z._resumeMultipart=function(){var me=(0,le.default)(ie.default.mark(function ve(Pe,Ee){var Ae,Ce,_e,we,Me,Oe,Fe,Le,Qe,We,Ge,Ke,ze,ke,Ne,Ve,qe,rt,Ye;return ie.default.wrap(function(Be){for(;;)switch(Be.prev=Be.next){case 0:if(Ae=this,!this.isCancel()){Be.next=3;break}throw this._makeCancelEvent();case 3:return Ce=Pe.file,_e=Pe.fileSize,we=Pe.partSize,Me=Pe.uploadId,Oe=Pe.doneParts,Fe=Pe.name,Le=[],Oe.length>0&&ne(Oe).to(Le),Qe=this._divideParts(_e,we),We=Qe.length,Ge=!1,Ke=function(Te,He){return new Promise(function(){var at=(0,le.default)(ie.default.mark(function et(Je,Ie){var xe,De,Re,Xe,nt;return ie.default.wrap(function(tt){for(;;)switch(tt.prev=tt.next){case 0:if(tt.prev=0,Te.isCancel()){tt.next=29;break}return xe=Qe[He-1],tt.next=5,Te._createBuffer(Ce,xe.start,xe.end);case 5:return De=tt.sent,Re={content:De,size:xe.end-xe.start},tt.prev=7,tt.next=10,Te._uploadPart(Fe,Me,He,Re,Ee);case 10:Xe=tt.sent,tt.next=18;break;case 13:if(tt.prev=13,tt.t0=tt.catch(7),tt.t0.status!==404){tt.next=17;break}throw Te._makeAbortEvent();case 17:throw tt.t0;case 18:if(!(!Te.isCancel()&&!Ge)){tt.next=26;break}if(Pe.doneParts.push({number:He,etag:Xe.res.headers.etag}),!Ee.progress){tt.next=23;break}return tt.next=23,Ee.progress(Oe.length/(We+1),Pe,Xe.res);case 23:Je({number:He,etag:Xe.res.headers.etag}),tt.next=27;break;case 26:Je();case 27:tt.next=30;break;case 29:Je();case 30:tt.next=41;break;case 32:tt.prev=32,tt.t1=tt.catch(0),nt=new Error,nt.name=tt.t1.name,nt.message=tt.t1.message,nt.stack=tt.t1.stack,nt.partNum=He,ne(tt.t1).to(nt),Ie(nt);case 41:case"end":return tt.stop()}},et,null,[[0,32],[7,13]])}));return function(et,Je){return at.apply(this,arguments)}}())},ze=Array.from(new Array(We),function(Ze,Te){return Te+1}),ke=Le.map(function(Ze){return Ze.number}),Ne=ze.filter(function(Ze){return ke.indexOf(Ze)<0}),Ve=5,qe=Ee.parallel||Ve,Be.next=17,this._parallel(Ne,qe,function(Ze){return new Promise(function(Te,He){Ke(Ae,Ze).then(function(at){at&&Le.push(at),Te()}).catch(function(at){He(at)})})});case 17:if(rt=Be.sent,Ge=!0,Ye=rt.find(function(Ze){return Ze.name==="abort"}),!Ye){Be.next=22;break}throw Ye;case 22:if(!this.isCancel()){Be.next=25;break}throw Ke=null,this._makeCancelEvent();case 25:if(!(rt&&rt.length>0)){Be.next=28;break}throw rt[0].message="Failed to upload some parts with error: ".concat(rt[0].toString()," part_num: ").concat(rt[0].partNum),rt[0];case 28:return Be.next=30,this.completeMultipartUpload(Fe,Me,Le,Ee);case 30:return Be.abrupt("return",Be.sent);case 31:case"end":return Be.stop()}},ve,this)}));function be(ve,Pe){return me.apply(this,arguments)}return be}(),z._getFileSize=function(){var me=(0,le.default)(ie.default.mark(function ve(Pe){return ie.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:if(!ee(Pe)){Ae.next=4;break}return Ae.abrupt("return",Pe.length);case 4:if(!(a(Pe)||x(Pe))){Ae.next=6;break}return Ae.abrupt("return",Pe.size);case 6:throw new Error("_getFileSize requires Buffer/File/Blob.");case 7:case"end":return Ae.stop()}},ve)}));function be(ve){return me.apply(this,arguments)}return be}();var ue=E("stream"),de=ue.Readable;function ge(me,be){if(!(this instanceof ge))return new ge(me,be);de.call(this,be),this.file=me,this.reader=new FileReader,this.start=0,this.finish=!1,this.fileBuffer=null}se.inherits(ge,de),ge.prototype.readFileAndPush=function(be){if(this.fileBuffer)for(var ve=!0;ve&&this.fileBuffer&&this.start<this.fileBuffer.length;){var Pe=this.start,Ee=Pe+be;Ee=Ee>this.fileBuffer.length?this.fileBuffer.length:Ee,this.start=Ee,ve=this.push(this.fileBuffer.slice(Pe,Ee))}},ge.prototype._read=function(be){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 ve=16*1024;be=be||ve;var Pe=this;this.reader.onload=function(Ae){Pe.fileBuffer=ce.from(new Uint8Array(Ae.target.result)),Pe.file=null,Pe.readFileAndPush(be)},this.start===0?this.reader.readAsArrayBuffer(this.file):this.readFileAndPush(be)};function fe(me){return me.arrayBuffer?me.arrayBuffer():new Promise(function(be,ve){var Pe=new FileReader;Pe.onload=function(Ee){be(Ee.target.result)},Pe.onerror=function(Ee){ve(Ee)},Pe.readAsArrayBuffer(me)})}z._createBuffer=function(){var me=(0,le.default)(ie.default.mark(function ve(Pe,Ee,Ae){var Ce,_e;return ie.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:if(!(a(Pe)||x(Pe))){Me.next=8;break}return Ce=Pe.slice(Ee,Ae),Me.next=4,fe(Ce);case 4:return _e=Me.sent,Me.abrupt("return",ce.from(_e));case 8:if(!ee(Pe)){Me.next=12;break}return Me.abrupt("return",Pe.subarray(Ee,Ae));case 12:throw new Error("_createBuffer requires File/Blob/Buffer.");case 13:case"end":return Me.stop()}},ve)}));function be(ve,Pe,Ee){return me.apply(this,arguments)}return be}(),z._getPartSize=function(be,ve){var Pe=1e4,Ee=1*1024*1024;ve||(ve=Ee);var Ae=Math.ceil(be/Pe);return ve<Ae&&(ve=Ae,console.warn("partSize has been set to ".concat(ve,", because the partSize you provided causes partNumber to be greater than 10,000"))),ve},z._divideParts=function(be,ve){for(var Pe=Math.ceil(be/ve),Ee=[],Ae=0;Ae<Pe;Ae++){var Ce=ve*Ae,_e=Math.min(Ce+ve,be);Ee.push({start:Ce,end:_e})}return Ee}}).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,pe,he){"use strict";var ce=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 oe=ce(E("@babel/runtime/regenerator")),ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("fs"),se=E("copy-to"),ae=E("path"),re=E("mime"),ne=E("../common/callback"),te=E("merge-descriptors"),a=E("../common/utils/isBlob"),y=a.isBlob,x=E("../common/utils/isFile"),b=x.isFile,ee=E("../common/utils/isBuffer"),z=ee.isBuffer,ue=E("../common/utils/obj2xml"),de=ue.obj2xml,ge=he;ge.append=function(){var fe=(0,ie.default)(oe.default.mark(function be(ve,Pe,Ee){var Ae;return oe.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return Ee=Ee||{},Ee.position===void 0&&(Ee.position="0"),Ee.subres={append:"",position:Ee.position},Ee.method="POST",_e.next=6,this.put(ve,Pe,Ee);case 6:return Ae=_e.sent,Ae.nextAppendPosition=Ae.res.headers["x-oss-next-append-position"],_e.abrupt("return",Ae);case 9:case"end":return _e.stop()}},be,this)}));function me(be,ve,Pe){return fe.apply(this,arguments)}return me}(),ge.put=function(){var fe=(0,ie.default)(oe.default.mark(function be(ve,Pe,Ee){var Ae,Ce,_e,we,Me;return oe.default.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:if(Ee=Ee||{},Ee.disabledMD5=Ee.disabledMD5===void 0?!0:!!Ee.disabledMD5,Ee.headers=Ee.headers||{},ve=this._objectName(ve),!z(Pe)){Fe.next=8;break}Ae=Pe,Fe.next=19;break;case 8:if(!(y(Pe)||b(Pe))){Fe.next=18;break}return Ee.mime||(b(Pe)?Ee.mime=re.getType(ae.extname(Pe.name)):Ee.mime=Pe.type),Fe.next=12,this._createBuffer(Pe,0,Pe.size);case 12:return Ae=Fe.sent,Fe.next=15,this._getFileSize(Pe);case 15:Ee.contentLength=Fe.sent,Fe.next=19;break;case 18:throw new TypeError("Must provide Buffer/Blob/File for put.");case 19:return this._convertMetaToHeaders(Ee.meta,Ee.headers),Ce=Ee.method||"PUT",_e=this._objectRequestParams(Ce,ve,Ee),ne.encodeCallback(_e,Ee),_e.mime=Ee.mime,_e.disabledMD5=Ee.disabledMD5,_e.content=Ae,_e.successStatuses=[200],Fe.next=29,this.request(_e);case 29:return we=Fe.sent,Me={name:ve,url:this._objectUrl(ve),res:we.res},_e.headers&&_e.headers["x-oss-callback"]&&(Me.data=JSON.parse(we.data.toString())),Fe.abrupt("return",Me);case 33:case"end":return Fe.stop()}},be,this)}));function me(be,ve,Pe){return fe.apply(this,arguments)}return me}(),ge.putStream=function(){var fe=(0,ie.default)(oe.default.mark(function be(ve,Pe,Ee){var Ae,Ce,_e,we;return oe.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Ee=Ee||{},Ee.headers=Ee.headers||{},ve=this._objectName(ve),Ee.contentLength?Ee.headers["Content-Length"]=Ee.contentLength:Ee.headers["Transfer-Encoding"]="chunked",this._convertMetaToHeaders(Ee.meta,Ee.headers),Ae=Ee.method||"PUT",Ce=this._objectRequestParams(Ae,ve,Ee),ne.encodeCallback(Ce,Ee),Ce.mime=Ee.mime,Ce.stream=Pe,Ce.successStatuses=[200],Oe.next=13,this.request(Ce);case 13:return _e=Oe.sent,we={name:ve,url:this._objectUrl(ve),res:_e.res},Ce.headers&&Ce.headers["x-oss-callback"]&&(we.data=JSON.parse(_e.data.toString())),Oe.abrupt("return",we);case 17:case"end":return Oe.stop()}},be,this)}));function me(be,ve,Pe){return fe.apply(this,arguments)}return me}(),te(ge,E("../common/object/copyObject")),te(ge,E("../common/object/getObjectTagging")),te(ge,E("../common/object/putObjectTagging")),te(ge,E("../common/object/deleteObjectTagging")),te(ge,E("../common/image")),te(ge,E("../common/object/getBucketVersions")),te(ge,E("../common/object/getACL")),te(ge,E("../common/object/putACL")),te(ge,E("../common/object/head")),te(ge,E("../common/object/delete")),te(ge,E("../common/object/get")),te(ge,E("../common/object/putSymlink")),te(ge,E("../common/object/getSymlink")),te(ge,E("../common/object/deleteMulti")),te(ge,E("../common/object/getObjectMeta")),te(ge,E("../common/object/getObjectUrl")),te(ge,E("../common/object/generateObjectUrl")),te(ge,E("../common/object/signatureUrl")),te(ge,E("../common/object/asyncSignatureUrl")),ge.putMeta=function(){var fe=(0,ie.default)(oe.default.mark(function be(ve,Pe,Ee){var Ae;return oe.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return _e.next=2,this.copy(ve,ve,{meta:Pe||{},timeout:Ee&&Ee.timeout,ctx:Ee&&Ee.ctx});case 2:return Ae=_e.sent,_e.abrupt("return",Ae);case 4:case"end":return _e.stop()}},be,this)}));function me(be,ve,Pe){return fe.apply(this,arguments)}return me}(),ge.list=function(){var fe=(0,ie.default)(oe.default.mark(function be(ve,Pe){var Ee,Ae,Ce,_e,we;return oe.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:return Ee=this._objectRequestParams("GET","",Pe),Ee.query=ve,Ee.xmlResponse=!0,Ee.successStatuses=[200],Oe.next=6,this.request(Ee);case 6:return Ae=Oe.sent,Ce=Ae.data.Contents||[],_e=this,Ce&&(Array.isArray(Ce)||(Ce=[Ce]),Ce=Ce.map(function(Fe){return{name:Fe.Key,url:_e._objectUrl(Fe.Key),lastModified:Fe.LastModified,etag:Fe.ETag,type:Fe.Type,size:Number(Fe.Size),storageClass:Fe.StorageClass,owner:{id:Fe.Owner.ID,displayName:Fe.Owner.DisplayName}}})),we=Ae.data.CommonPrefixes||null,we&&(Array.isArray(we)||(we=[we]),we=we.map(function(Fe){return Fe.Prefix})),Oe.abrupt("return",{res:Ae.res,objects:Ce,prefixes:we,nextMarker:Ae.data.NextMarker||null,isTruncated:Ae.data.IsTruncated==="true"});case 13:case"end":return Oe.stop()}},be,this)}));function me(be,ve){return fe.apply(this,arguments)}return me}(),ge.listV2=function(){var fe=(0,ie.default)(oe.default.mark(function be(ve){var Pe,Ee,Ae,Ce,_e,we,Me,Oe=arguments;return oe.default.wrap(function(Le){for(;;)switch(Le.prev=Le.next){case 0:return Pe=Oe.length>1&&Oe[1]!==void 0?Oe[1]:{},Ee=ve["continuation-token"]||ve.continuationToken,Ee&&(Pe.subres=Object.assign({"continuation-token":Ee},Pe.subres)),Ae=this._objectRequestParams("GET","",Pe),Ae.query=Object.assign({"list-type":2},ve),delete Ae.query["continuation-token"],delete Ae.query.continuationToken,Ae.xmlResponse=!0,Ae.successStatuses=[200],Le.next=11,this.request(Ae);case 11:return Ce=Le.sent,_e=Ce.data.Contents||[],we=this,_e&&(Array.isArray(_e)||(_e=[_e]),_e=_e.map(function(Qe){var We=null;return Qe.Owner&&(We={id:Qe.Owner.ID,displayName:Qe.Owner.DisplayName}),{name:Qe.Key,url:we._objectUrl(Qe.Key),lastModified:Qe.LastModified,etag:Qe.ETag,type:Qe.Type,size:Number(Qe.Size),storageClass:Qe.StorageClass,owner:We}})),Me=Ce.data.CommonPrefixes||null,Me&&(Array.isArray(Me)||(Me=[Me]),Me=Me.map(function(Qe){return Qe.Prefix})),Le.abrupt("return",{res:Ce.res,objects:_e,prefixes:Me,isTruncated:Ce.data.IsTruncated==="true",keyCount:+Ce.data.KeyCount,continuationToken:Ce.data.ContinuationToken||null,nextContinuationToken:Ce.data.NextContinuationToken||null});case 18:case"end":return Le.stop()}},be,this)}));function me(be){return fe.apply(this,arguments)}return me}(),ge.restore=function(){var fe=(0,ie.default)(oe.default.mark(function be(ve){var Pe,Ee,Ae,Ce,_e=arguments;return oe.default.wrap(function(Me){for(;;)switch(Me.prev=Me.next){case 0:return Pe=_e.length>1&&_e[1]!==void 0?_e[1]:{type:"Archive"},Pe=Pe||{},Pe.subres=Object.assign({restore:""},Pe.subres),Pe.versionId&&(Pe.subres.versionId=Pe.versionId),Ee=this._objectRequestParams("POST",ve,Pe),Pe.type==="ColdArchive"&&(Ae={RestoreRequest:{Days:Pe.Days?Pe.Days:2,JobParameters:{Tier:Pe.JobParameters?Pe.JobParameters:"Standard"}}},Ee.content=de(Ae,{headers:!0}),Ee.mime="xml"),Ee.successStatuses=[202],Me.next=9,this.request(Ee);case 9:return Ce=Me.sent,Me.abrupt("return",{res:Ce.res});case 11:case"end":return Me.stop()}},be,this)}));function me(be){return fe.apply(this,arguments)}return me}(),ge._objectUrl=function(me){return this._getReqUrl({bucket:this.options.bucket,object:me})},ge._objectRequestParams=function(me,be,ve){if(!this.options.bucket&&!this.options.cname)throw new Error("Please create a bucket first");ve=ve||{},be=this._objectName(be);var Pe={object:be,bucket:this.options.bucket,method:me,subres:ve&&ve.subres,timeout:ve&&ve.timeout,ctx:ve&&ve.ctx};return ve.headers&&(Pe.headers={},se(ve.headers).to(Pe.headers)),Pe},ge._objectName=function(me){return me.replace(/^\/+/,"")},ge._convertMetaToHeaders=function(me,be){me&&Object.keys(me).forEach(function(ve){be["x-oss-meta-".concat(ve)]=me[ve]})},ge._deleteFileSafe=function(me){var be=this;return new Promise(function(ve){le.exists(me,function(Pe){Pe?le.unlink(me,function(Ee){Ee&&be.debug("unlink %j error: %s",me,Ee,"error"),ve()}):ve()})})}},{"../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,pe,he){"use strict";he.version="6.18.1"},{}],7:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator")),ie=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.abortBucketWorm=void 0;var le=E("../utils/checkBucketName");function se(re,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(oe.default.mark(function re(ne,te){var a,y;return oe.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return le.checkBucketName(ne),a=this._bucketRequestParams("DELETE",ne,"worm",te),b.next=4,this.request(a);case 4:return y=b.sent,b.abrupt("return",{res:y.res,status:y.status});case 6:case"end":return b.stop()}},re,this)})),ae.apply(this,arguments)}he.abortBucketWorm=se},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],8:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator")),ie=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.completeBucketWorm=void 0;var le=E("../utils/checkBucketName");function se(re,ne,te){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(oe.default.mark(function re(ne,te,a){var y,x;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le.checkBucketName(ne),y=this._bucketRequestParams("POST",ne,{wormId:te},a),ee.next=4,this.request(y);case 4:return x=ee.sent,ee.abrupt("return",{res:x.res,status:x.status});case 6:case"end":return ee.stop()}},re,this)})),ae.apply(this,arguments)}he.completeBucketWorm=se},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],9:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.deleteBucketInventory=void 0;var le=E("../utils/checkBucketName");function se(re,ne){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(oe.default.mark(function re(ne,te){var a,y,x,b,ee=arguments;return oe.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return a=ee.length>2&&ee[2]!==void 0?ee[2]:{},y=Object.assign({inventory:"",inventoryId:te},a.subres),le.checkBucketName(ne),x=this._bucketRequestParams("DELETE",ne,y,a),x.successStatuses=[204],ue.next=7,this.request(x);case 7:return b=ue.sent,ue.abrupt("return",{status:b.status,res:b.res});case 9:case"end":return ue.stop()}},re,this)})),ae.apply(this,arguments)}he.deleteBucketInventory=se},{"../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator")),ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),se=le.checkBucketName,ae=he;ae.deleteBucketLifecycle=function(){var re=(0,ie.default)(oe.default.mark(function te(a,y){var x,b;return oe.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return se(a),x=this._bucketRequestParams("DELETE",a,"lifecycle",y),x.successStatuses=[204],z.next=5,this.request(x);case 5:return b=z.sent,z.abrupt("return",{res:b.res});case 7:case"end":return z.stop()}},te,this)}));function ne(te,a){return re.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],11:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator")),ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),se=le.checkBucketName,ae=he;ae.deleteBucketWebsite=function(){var re=(0,ie.default)(oe.default.mark(function te(a,y){var x,b;return oe.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return se(a),x=this._bucketRequestParams("DELETE",a,"website",y),x.successStatuses=[204],z.next=5,this.request(x);case 5:return b=z.sent,z.abrupt("return",{res:b.res});case 7:case"end":return z.stop()}},te,this)}));function ne(te,a){return re.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],12:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator")),ie=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.extendBucketWorm=void 0;var le=E("../utils/checkBucketName"),se=E("../utils/obj2xml");function ae(ne,te,a,y){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(oe.default.mark(function ne(te,a,y,x){var b,ee,z;return oe.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return le.checkBucketName(te),b=this._bucketRequestParams("POST",te,{wormExtend:"",wormId:a},x),ee={ExtendWormConfiguration:{RetentionPeriodInDays:y}},b.mime="xml",b.content=se.obj2xml(ee,{headers:!0}),b.successStatuses=[200],de.next=8,this.request(b);case 8:return z=de.sent,de.abrupt("return",{res:z.res,status:z.status});case 10:case"end":return de.stop()}},ne,this)})),re.apply(this,arguments)}he.extendBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],13:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.getBucketInventory=void 0;var le=E("../utils/checkBucketName"),se=E("../utils/formatInventoryConfig");function ae(ne,te){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(oe.default.mark(function ne(te,a){var y,x,b,ee,z=arguments;return oe.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return y=z.length>2&&z[2]!==void 0?z[2]:{},x=Object.assign({inventory:"",inventoryId:a},y.subres),le.checkBucketName(te),b=this._bucketRequestParams("GET",te,x,y),b.successStatuses=[200],b.xmlResponse=!0,de.next=8,this.request(b);case 8:return ee=de.sent,de.abrupt("return",{status:ee.status,res:ee.res,inventory:se.formatInventoryConfig(ee.data)});case 10:case"end":return de.stop()}},ne,this)})),re.apply(this,arguments)}he.getBucketInventory=ae},{"../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.map.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),se=le.checkBucketName,ae=E("../utils/isArray"),re=ae.isArray,ne=E("../utils/formatObjKey"),te=ne.formatObjKey,a=he;a.getBucketLifecycle=function(){var y=(0,ie.default)(oe.default.mark(function b(ee,z){var ue,de,ge;return oe.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return se(ee),ue=this._bucketRequestParams("GET",ee,"lifecycle",z),ue.successStatuses=[200],ue.xmlResponse=!0,me.next=6,this.request(ue);case 6:return de=me.sent,ge=de.data.Rule||null,ge&&(re(ge)||(ge=[ge]),ge=ge.map(function(be){return be.ID&&(be.id=be.ID,delete be.ID),be.Tag&&!re(be.Tag)&&(be.Tag=[be.Tag]),te(be,"firstLowerCase")})),me.abrupt("return",{rules:ge,res:de.res});case 10:case"end":return me.stop()}},b,this)}));function x(b,ee){return y.apply(this,arguments)}return x}()},{"../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator")),ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),se=le.checkBucketName,ae=he;ae.getBucketVersioning=function(){var re=(0,ie.default)(oe.default.mark(function te(a,y){var x,b,ee;return oe.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return se(a),x=this._bucketRequestParams("GET",a,"versioning",y),x.xmlResponse=!0,x.successStatuses=[200],ue.next=6,this.request(x);case 6:return b=ue.sent,ee=b.data.Status,ue.abrupt("return",{status:b.status,versionStatus:ee,res:b.res});case 9:case"end":return ue.stop()}},te,this)}));function ne(te,a){return re.apply(this,arguments)}return ne}()},{"../utils/checkBucketName":51,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],16:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator")),ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),se=le.checkBucketName,ae=E("../utils/isObject"),re=ae.isObject,ne=he;ne.getBucketWebsite=function(){var te=(0,ie.default)(oe.default.mark(function y(x,b){var ee,z,ue;return oe.default.wrap(function(ge){for(;;)switch(ge.prev=ge.next){case 0:return se(x),ee=this._bucketRequestParams("GET",x,"website",b),ee.successStatuses=[200],ee.xmlResponse=!0,ge.next=6,this.request(ee);case 6:return z=ge.sent,ue=[],z.data.RoutingRules&&z.data.RoutingRules.RoutingRule&&(re(z.data.RoutingRules.RoutingRule)?ue=[z.data.RoutingRules.RoutingRule]:ue=z.data.RoutingRules.RoutingRule),ge.abrupt("return",{index:z.data.IndexDocument&&z.data.IndexDocument.Suffix||"",supportSubDir:z.data.IndexDocument&&z.data.IndexDocument.SupportSubDir||"false",type:z.data.IndexDocument&&z.data.IndexDocument.Type,routingRules:ue,error:z.data.ErrorDocument&&z.data.ErrorDocument.Key||null,res:z.res});case 10:case"end":return ge.stop()}},y,this)}));function a(y,x){return te.apply(this,arguments)}return a}()},{"../utils/checkBucketName":51,"../utils/isObject":70,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],17:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.getBucketWorm=void 0;var le=E("../utils/checkBucketName"),se=E("../utils/dataFix");function ae(ne,te){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(oe.default.mark(function ne(te,a){var y,x;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return le.checkBucketName(te),y=this._bucketRequestParams("GET",te,"worm",a),y.successStatuses=[200],y.xmlResponse=!0,ee.next=6,this.request(y);case 6:return x=ee.sent,se.dataFix(x.data,{lowerFirst:!0,rename:{RetentionPeriodInDays:"days"}}),ee.abrupt("return",Object.assign(Object.assign({},x.data),{res:x.res,status:x.status}));case 9:case"end":return ee.stop()}},ne,this)})),re.apply(this,arguments)}he.getBucketWorm=ae},{"../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator")),ie=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.initiateBucketWorm=void 0;var le=E("../utils/obj2xml"),se=E("../utils/checkBucketName");function ae(ne,te,a){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(oe.default.mark(function ne(te,a,y){var x,b,ee;return oe.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return se.checkBucketName(te),x=this._bucketRequestParams("POST",te,"worm",y),b={InitiateWormConfiguration:{RetentionPeriodInDays:a}},x.mime="xml",x.content=le.obj2xml(b,{headers:!0}),x.successStatuses=[200],ue.next=8,this.request(x);case 8:return ee=ue.sent,ue.abrupt("return",{res:ee.res,wormId:ee.res.headers["x-oss-worm-id"],status:ee.status});case 10:case"end":return ue.stop()}},ne,this)})),re.apply(this,arguments)}he.initiateBucketWorm=ae},{"../utils/checkBucketName":51,"../utils/obj2xml":72,"@babel/runtime/helpers/asyncToGenerator":77,"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/regenerator":80}],19:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.listBucketInventory=void 0;var le=E("../utils/checkBucketName"),se=E("../utils/formatInventoryConfig");function ae(ne){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(oe.default.mark(function ne(te){var a,y,x,b,ee,z,ue,de,ge=arguments;return oe.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return a=ge.length>1&&ge[1]!==void 0?ge[1]:{},y=a.continuationToken,x=Object.assign({inventory:""},y&&{"continuation-token":y},a.subres),le.checkBucketName(te),b=this._bucketRequestParams("GET",te,x,a),b.successStatuses=[200],b.xmlResponse=!0,me.next=9,this.request(b);case 9:return ee=me.sent,z=ee.data,ue=ee.res,de=ee.status,me.abrupt("return",{isTruncated:z.IsTruncated==="true",nextContinuationToken:z.NextContinuationToken,inventoryList:se.formatInventoryConfig(z.InventoryConfiguration,!0),status:de,res:ue});case 12:case"end":return me.stop()}},ne,this)})),re.apply(this,arguments)}he.listBucketInventory=ae},{"../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js"),E("core-js/modules/es.array.concat.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.putBucketInventory=void 0;var le=E("../utils/checkBucketName"),se=E("../utils/obj2xml");function ae(ne,te){return re.apply(this,arguments)}function re(){return re=(0,ie.default)(oe.default.mark(function ne(te,a){var y,x,b,ee,z,ue,de,ge,fe,me,be,ve=arguments;return oe.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return y=ve.length>2&&ve[2]!==void 0?ve[2]:{},x=Object.assign({inventory:"",inventoryId:a.id},y.subres),le.checkBucketName(te),b=a.OSSBucketDestination,ee=a.optionalFields,z=a.includedObjectVersions,ue="acs:oss:::",de="acs:ram::".concat(b.accountId,":role/"),ge={InventoryConfiguration:{Id:a.id,IsEnabled:a.isEnabled,Filter:{Prefix:a.prefix||""},Destination:{OSSBucketDestination:{Format:b.format,AccountId:b.accountId,RoleArn:"".concat(de).concat(b.rolename),Bucket:"".concat(ue).concat(b.bucket),Prefix:b.prefix||"",Encryption:b.encryption||""}},Schedule:{Frequency:a.frequency},IncludedObjectVersions:z,OptionalFields:{Field:(ee==null?void 0:ee.field)||[]}}},fe=se.obj2xml(ge,{headers:!0,firstUpperCase:!0}),me=this._bucketRequestParams("PUT",te,x,y),me.successStatuses=[200],me.mime="xml",me.content=fe,Ee.next=14,this.request(me);case 14:return be=Ee.sent,Ee.abrupt("return",{status:be.status,res:be.res});case 16:case"end":return Ee.stop()}},ne,this)})),re.apply(this,arguments)}he.putBucketInventory=ae},{"../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(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 ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),se=le.checkBucketName,ae=E("../utils/isArray"),re=ae.isArray,ne=E("../utils/deepCopy"),te=ne.deepCopy,a=E("../utils/isObject"),y=a.isObject,x=E("../utils/obj2xml"),b=x.obj2xml,ee=E("../utils/checkObjectTag"),z=ee.checkObjectTag,ue=E("../utils/getStrBytesCount"),de=ue.getStrBytesCount,ge=he;ge.putBucketLifecycle=function(){var Pe=(0,ie.default)(oe.default.mark(function Ae(Ce,_e,we){var Me,Oe,Fe,Le,Qe;return oe.default.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(se(Ce),re(_e)){Ge.next=3;break}throw new Error("rules must be Array");case 3:return Me=this._bucketRequestParams("PUT",Ce,"lifecycle",we),Oe=[],Fe={LifecycleConfiguration:{Rule:Oe}},_e.forEach(function(Ke){fe(Ke),ve(Ke),Ke.id&&(Ke.ID=Ke.id,delete Ke.id),Oe.push(Ke)}),Le=b(Fe,{headers:!0,firstUpperCase:!0}),Me.content=Le,Me.mime="xml",Me.successStatuses=[200],Ge.next=13,this.request(Me);case 13:return Qe=Ge.sent,Ge.abrupt("return",{res:Qe.res});case 15:case"end":return Ge.stop()}},Ae,this)}));function Ee(Ae,Ce,_e){return Pe.apply(this,arguments)}return Ee}();function fe(Pe){Pe.days&&(Pe.expiration={days:Pe.days}),Pe.date&&(Pe.expiration={createdBeforeDate:Pe.date})}function me(Pe,Ee){var Ae=Pe.days,Ce=Pe.createdBeforeDate;if(!Ae&&!Ce)throw new Error("".concat(Ee," must includes days or createdBeforeDate"));if(Ae&&!/^[1-9][0-9]*$/.test(Ae))throw new Error("days must be a positive integer");if(Ce&&!/\d{4}-\d{2}-\d{2}T00:00:00.000Z/.test(Ce))throw new Error("createdBeforeDate must be date and conform to iso8601 format")}function be(Pe){if(!re(Pe)&&!y(Pe))throw new Error("tag must be Object or Array");Pe=y(Pe)?[Pe]:Pe;var Ee={},Ae=te(Pe);Ae.forEach(function(Ce){Ee[Ce.key]=Ce.value}),z(Ee)}function ve(Pe){if(Pe.id&&de(Pe.id)>255)throw new Error("ID is composed of 255 bytes at most");if(Pe.prefix===void 0)throw new Error("Rule must includes prefix");if(!["Enabled","Disabled"].includes(Pe.status))throw new Error("Status must be Enabled or Disabled");if(Pe.transition){if(!["IA","Archive"].includes(Pe.transition.storageClass))throw new Error("StorageClass must be IA or Archive");me(Pe.transition,"Transition")}if(Pe.expiration){if(!Pe.expiration.expiredObjectDeleteMarker)me(Pe.expiration,"Expiration");else if(Pe.expiration.days||Pe.expiration.createdBeforeDate)throw new Error("expiredObjectDeleteMarker cannot be used with days or createdBeforeDate")}if(Pe.abortMultipartUpload&&me(Pe.abortMultipartUpload,"AbortMultipartUpload"),!Pe.expiration&&!Pe.abortMultipartUpload&&!Pe.transition&&!Pe.noncurrentVersionTransition)throw new Error("Rule must includes expiration or abortMultipartUpload or transition or noncurrentVersionTransition");if(Pe.tag){if(Pe.abortMultipartUpload)throw new Error("Tag cannot be used with abortMultipartUpload");be(Pe.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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.includes.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),se=le.checkBucketName,ae=E("../utils/obj2xml"),re=ae.obj2xml,ne=he;ne.putBucketVersioning=function(){var te=(0,ie.default)(oe.default.mark(function y(x,b){var ee,z,ue,de,ge=arguments;return oe.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:if(ee=ge.length>2&&ge[2]!==void 0?ge[2]:{},se(x),["Enabled","Suspended"].includes(b)){me.next=4;break}throw new Error("status must be Enabled or Suspended");case 4:return z=this._bucketRequestParams("PUT",x,"versioning",ee),ue={VersioningConfiguration:{Status:b}},z.mime="xml",z.content=re(ue,{headers:!0}),me.next=10,this.request(z);case 10:return de=me.sent,me.abrupt("return",{res:de.res,status:de.status});case 12:case"end":return me.stop()}},y,this)}));function a(y,x){return te.apply(this,arguments)}return a}()},{"../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator")),ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),se=le.checkBucketName,ae=E("../utils/obj2xml"),re=ae.obj2xml,ne=E("../utils/isArray"),te=ne.isArray,a=he;a.putBucketWebsite=function(){var y=(0,ie.default)(oe.default.mark(function b(ee){var z,ue,de,ge,fe,me,be,ve=arguments;return oe.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:if(z=ve.length>1&&ve[1]!==void 0?ve[1]:{},ue=ve.length>2?ve[2]:void 0,se(ee),de=this._bucketRequestParams("PUT",ee,"website",ue),ge={Suffix:z.index||"index.html"},fe={IndexDocument:ge},me={WebsiteConfiguration:fe},z.supportSubDir&&(ge.SupportSubDir=z.supportSubDir),z.type&&(ge.Type=z.type),z.error&&(fe.ErrorDocument={Key:z.error}),z.routingRules===void 0){Ee.next=14;break}if(te(z.routingRules)){Ee.next=13;break}throw new Error("RoutingRules must be Array");case 13:fe.RoutingRules={RoutingRule:z.routingRules};case 14:return me=re(me),de.content=me,de.mime="xml",de.successStatuses=[200],Ee.next=20,this.request(de);case 20:return be=Ee.sent,Ee.abrupt("return",{res:be.res});case 22:case"end":return Ee.stop()}},b,this)}));function x(b){return y.apply(this,arguments)}return x}()},{"../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,pe,he){(function(ce){(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"),he.encodeCallback=function(ie,le){if(ie.headers=ie.headers||{},!Object.prototype.hasOwnProperty.call(ie.headers,"x-oss-callback")&&le.callback){var se={callbackUrl:encodeURI(le.callback.url),callbackBody:le.callback.body};le.callback.host&&(se.callbackHost=le.callback.host),le.callback.contentType&&(se.callbackBodyType=le.callback.contentType);var ae=ce.from(JSON.stringify(se)).toString("base64");if(ie.headers["x-oss-callback"]=ae,le.callback.customValue){var re={};Object.keys(le.callback.customValue).forEach(function(ne){re["x:".concat(ne)]=le.callback.customValue[ne].toString()}),ie.headers["x-oss-callback-var"]=ce.from(JSON.stringify(re)).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,pe,he){"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 ce=function(te){return te&&te.__esModule?te:{default:te}};Object.defineProperty(he,"__esModule",{value:!0}),he.getReqUrl=void 0;var oe=ce(E("copy-to")),ie=ce(E("url")),le=ce(E("merge-descriptors")),se=ce(E("is-type-of")),ae=E("../utils/isIP"),re=E("../utils/checkConfigValid");function ne(te){var a={},y=this.options.cname;re.checkConfigValid(this.options.endpoint,"endpoint"),oe.default(this.options.endpoint,!1).to(a),te.bucket&&!y&&!ae.isIP(a.hostname)&&!this.options.sldEnable&&(a.host="".concat(te.bucket,".").concat(a.host));var x="/";te.bucket&&this.options.sldEnable&&(x+="".concat(te.bucket,"/")),te.object&&(x+=this._escape(te.object).replace(/\+/g,"%2B")),a.pathname=x;var b={};if(te.query&&le.default(b,te.query),te.subres){var ee={};se.default.string(te.subres)?ee[te.subres]="":se.default.array(te.subres)?te.subres.forEach(function(z){ee[z]=""}):ee=te.subres,le.default(b,ee)}return a.query=b,ie.default.format(a)}he.getReqUrl=ne},{"../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,pe,he){"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 ce=E("humanize-ms"),oe=E("url"),ie=E("../utils/checkBucketName"),le=ie.checkBucketName,se=E("../utils/setRegion"),ae=se.setRegion,re=E("../utils/checkConfigValid"),ne=re.checkConfigValid;function te(a,y){ne(a,"endpoint");var x=oe.parse(a);if(x.protocol||(x=oe.parse("http".concat(y?"s":"","://").concat(a))),x.protocol!=="http:"&&x.protocol!=="https:")throw new Error("Endpoint protocol must be http or https.");return x}pe.exports=function(a){if(!a||!a.accessKeyId||!a.accessKeySecret)throw new Error("require accessKeyId, accessKeySecret");a.stsToken&&!a.refreshSTSToken&&!a.refreshSTSTokenInterval&&console.warn("It's recommended to set 'refreshSTSToken' and 'refreshSTSTokenInterval' to refresh stsToken\u3001accessKeyId\u3001accessKeySecret automatically when sts token has expired"),a.bucket&&le(a.bucket);var y=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},a);if(y.accessKeyId=y.accessKeyId.trim(),y.accessKeySecret=y.accessKeySecret.trim(),y.timeout&&(y.timeout=ce(y.timeout)),y.endpoint)y.endpoint=te(y.endpoint,y.secure);else if(y.region)y.endpoint=ae(y.region,y.internal,y.secure);else throw new Error("require options.endpoint or options.region");return y.inited=!0,y}},{"../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,pe,he){"use strict";var ce=E("merge-descriptors"),oe=he;ce(oe,E("./processObjectSave"))},{"./processObjectSave":28,"merge-descriptors":372}],28:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.array.concat.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkBucketName"),se=le.checkBucketName,ae=E("querystring"),re=E("js-base64"),ne=re.Base64.encode,te=he;te.processObjectSave=function(){var y=(0,ie.default)(oe.default.mark(function b(ee,z,ue,de){var ge,fe,me,be;return oe.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return a(ee,"sourceObject"),a(z,"targetObject"),a(ue,"process"),z=this._objectName(z),de&&se(de),ge=this._objectRequestParams("POST",ee,{subres:"x-oss-process"}),fe=de?",b_".concat(ne(de)):"",z=ne(z),me={"x-oss-process":"".concat(ue,"|sys/saveas,o_").concat(z).concat(fe)},ge.content=ae.stringify(me),Pe.next=12,this.request(ge);case 12:return be=Pe.sent,Pe.abrupt("return",{res:be.res,status:be.res.status});case 14:case"end":return Pe.stop()}},b,this)}));function x(b,ee,z,ue){return y.apply(this,arguments)}return x}();function a(y,x){if(!y)throw new Error("".concat(x," is required"));if(typeof y!="string")throw new Error("".concat(x," 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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(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 ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("debug")("ali-oss:multipart-copy"),se=E("copy-to"),ae=he;ae.uploadPartCopy=function(){var re=(0,ie.default)(oe.default.mark(function te(a,y,x,b,ee){var z,ue,de,ge,fe,me=arguments;return oe.default.wrap(function(ve){for(;;)switch(ve.prev=ve.next){case 0:return z=me.length>5&&me[5]!==void 0?me[5]:{},z.headers=z.headers||{},ue=z.versionId||z.subres&&z.subres.versionId||null,ue?de="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey),"?versionId=").concat(ue):de="/".concat(ee.sourceBucketName,"/").concat(encodeURIComponent(ee.sourceKey)),z.headers["x-oss-copy-source"]=de,b&&(z.headers["x-oss-copy-source-range"]="bytes=".concat(b)),z.subres={partNumber:x,uploadId:y},ge=this._objectRequestParams("PUT",a,z),ge.mime=z.mime,ge.successStatuses=[200],ve.next=12,this.request(ge);case 12:return fe=ve.sent,ve.abrupt("return",{name:a,etag:fe.res.headers.etag,res:fe.res});case 14:case"end":return ve.stop()}},te,this)}));function ne(te,a,y,x,b){return re.apply(this,arguments)}return ne}(),ae.multipartUploadCopy=function(){var re=(0,ie.default)(oe.default.mark(function te(a,y){var x,b,ee,z,ue,de,ge,fe,me,be,ve,Pe,Ee=arguments;return oe.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:return x=Ee.length>2&&Ee[2]!==void 0?Ee[2]:{},this.resetCancelFlag(),b=x.versionId,ee=b===void 0?null:b,z={versionId:ee},Ce.next=6,this._getObjectMeta(y.sourceBucketName,y.sourceKey,z);case 6:if(ue=Ce.sent,de=ue.res.headers["content-length"],y.startOffset=y.startOffset||0,y.endOffset=y.endOffset||de,!(x.checkpoint&&x.checkpoint.uploadId)){Ce.next=14;break}return Ce.next=13,this._resumeMultipartCopy(x.checkpoint,y,x);case 13:return Ce.abrupt("return",Ce.sent);case 14:if(ge=102400,fe=y.endOffset-y.startOffset,!(fe<ge)){Ce.next=18;break}throw new Error("copySize must not be smaller than ".concat(ge));case 18:if(!(x.partSize&&x.partSize<ge)){Ce.next=20;break}throw new Error("partSize must not be smaller than ".concat(ge));case 20:return Ce.next=22,this.initMultipartUpload(a,x);case 22:if(me=Ce.sent,be=me.uploadId,ve=this._getPartSize(fe,x.partSize),Pe={name:a,copySize:fe,partSize:ve,uploadId:be,doneParts:[]},!(x&&x.progress)){Ce.next=29;break}return Ce.next=29,x.progress(0,Pe,me.res);case 29:return Ce.next=31,this._resumeMultipartCopy(Pe,y,x);case 31:return Ce.abrupt("return",Ce.sent);case 32:case"end":return Ce.stop()}},te,this)}));function ne(te,a){return re.apply(this,arguments)}return ne}(),ae._resumeMultipartCopy=function(){var re=(0,ie.default)(oe.default.mark(function te(a,y,x){var b,ee,z,ue,de,ge,fe,me,be,ve,Pe,Ee,Ae,Ce,_e,we,Me,Oe,Fe,Le,Qe;return oe.default.wrap(function(Ge){for(;;)switch(Ge.prev=Ge.next){case 0:if(!this.isCancel()){Ge.next=2;break}throw this._makeCancelEvent();case 2:if(b=x.versionId,ee=b===void 0?null:b,z={versionId:ee},ue=a.copySize,de=a.partSize,ge=a.uploadId,fe=a.doneParts,me=a.name,be=this._divideMultipartCopyParts(ue,de,y.startOffset),ve=be.length,Pe={headers:{}},x.copyheaders&&se(x.copyheaders).to(Pe.headers),ee&&se(z).to(Pe),Ee=function(ze,ke,Ne){return new Promise(function(){var Ve=(0,ie.default)(oe.default.mark(function qe(rt,Ye){var Ue,Be,Ze;return oe.default.wrap(function(He){for(;;)switch(He.prev=He.next){case 0:if(He.prev=0,ze.isCancel()){He.next=22;break}return Ue=be[ke-1],Be="".concat(Ue.start,"-").concat(Ue.end-1),He.prev=4,He.next=7,ze.uploadPartCopy(me,ge,ke,Be,Ne,Pe);case 7:Ze=He.sent,He.next=15;break;case 10:if(He.prev=10,He.t0=He.catch(4),He.t0.status!==404){He.next=14;break}throw ze._makeAbortEvent();case 14:throw He.t0;case 15:if(ze.isCancel()){He.next=22;break}if(le("content-range ".concat(Ze.res.headers["content-range"])),fe.push({number:ke,etag:Ze.res.headers.etag}),a.doneParts=fe,!(x&&x.progress)){He.next=22;break}return He.next=22,x.progress(fe.length/ve,a,Ze.res);case 22:rt(),He.next=29;break;case 25:He.prev=25,He.t1=He.catch(0),He.t1.partNum=ke,Ye(He.t1);case 29:case"end":return He.stop()}},qe,null,[[0,25],[4,10]])}));return function(qe,rt){return Ve.apply(this,arguments)}}())},Ae=Array.from(new Array(ve),function(Ke,ze){return ze+1}),Ce=fe.map(function(Ke){return Ke.number}),_e=Ae.filter(function(Ke){return Ce.indexOf(Ke)<0}),we=5,Me=x.parallel||we,!(this.checkBrowserAndVersion("Internet Explorer","10")||Me===1)){Ge.next=28;break}Oe=0;case 18:if(!(Oe<_e.length)){Ge.next=26;break}if(!this.isCancel()){Ge.next=21;break}throw this._makeCancelEvent();case 21:return Ge.next=23,Ee(this,_e[Oe],y);case 23:Oe++,Ge.next=18;break;case 26:Ge.next=40;break;case 28:return Ge.next=30,this._parallelNode(_e,Me,Ee,y);case 30:if(Fe=Ge.sent,Le=Fe.find(function(Ke){return Ke.name==="abort"}),!Le){Ge.next=34;break}throw Le;case 34:if(!this.isCancel()){Ge.next=36;break}throw this._makeCancelEvent();case 36:if(!(Fe&&Fe.length>0)){Ge.next=40;break}throw Qe=Fe[0],Qe.message="Failed to copy some parts with error: ".concat(Qe.toString()," part_num: ").concat(Qe.partNum),Qe;case 40:return Ge.next=42,this.completeMultipartUpload(me,ge,fe,x);case 42:return Ge.abrupt("return",Ge.sent);case 43:case"end":return Ge.stop()}},te,this)}));function ne(te,a,y){return re.apply(this,arguments)}return ne}(),ae._divideMultipartCopyParts=function(ne,te,a){for(var y=Math.ceil(ne/te),x=[],b=0;b<y;b++){var ee=te*b+a,z=Math.min(ee+te,ne+a);x.push({start:ee,end:z})}return x},ae._getObjectMeta=function(){var re=(0,ie.default)(oe.default.mark(function te(a,y,x){var b,ee;return oe.default.wrap(function(ue){for(;;)switch(ue.prev=ue.next){case 0:return b=this.getBucket(),this.setBucket(a),ue.next=4,this.head(y,x);case 4:return ee=ue.sent,this.setBucket(b),ue.abrupt("return",ee);case 7:case"end":return ue.stop()}},te,this)}));function ne(te,a,y){return re.apply(this,arguments)}return ne}()},{"@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,pe,he){(function(ce){(function(){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),ie=oe(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 le=oe(E("@babel/runtime/helpers/asyncToGenerator")),se=E("copy-to"),ae=E("./callback"),re=E("./utils/deepCopy"),ne=re.deepCopyWith,te=E("./utils/isBuffer"),a=te.isBuffer,y=E("./utils/omit"),x=y.omit,b=he;b.listUploads=function(){var ee=(0,le.default)(ie.default.mark(function ue(de,ge){var fe,me,be,ve;return ie.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return ge=ge||{},fe={},se(ge).to(fe),fe.subres="uploads",me=this._objectRequestParams("GET","",fe),me.query=de,me.xmlResponse=!0,me.successStatuses=[200],Ee.next=10,this.request(me);case 10:return be=Ee.sent,ve=be.data.Upload||[],Array.isArray(ve)||(ve=[ve]),ve=ve.map(function(Ae){return{name:Ae.Key,uploadId:Ae.UploadId,initiated:Ae.Initiated}}),Ee.abrupt("return",{res:be.res,uploads:ve,bucket:be.data.Bucket,nextKeyMarker:be.data.NextKeyMarker,nextUploadIdMarker:be.data.NextUploadIdMarker,isTruncated:be.data.IsTruncated==="true"});case 15:case"end":return Ee.stop()}},ue,this)}));function z(ue,de){return ee.apply(this,arguments)}return z}(),b.listParts=function(){var ee=(0,le.default)(ie.default.mark(function ue(de,ge,fe,me){var be,ve,Pe;return ie.default.wrap(function(Ae){for(;;)switch(Ae.prev=Ae.next){case 0:return me=me||{},be={},se(me).to(be),be.subres={uploadId:ge},ve=this._objectRequestParams("GET",de,be),ve.query=fe,ve.xmlResponse=!0,ve.successStatuses=[200],Ae.next=10,this.request(ve);case 10:return Pe=Ae.sent,Ae.abrupt("return",{res:Pe.res,uploadId:Pe.data.UploadId,bucket:Pe.data.Bucket,name:Pe.data.Key,partNumberMarker:Pe.data.PartNumberMarker,nextPartNumberMarker:Pe.data.NextPartNumberMarker,maxParts:Pe.data.MaxParts,isTruncated:Pe.data.IsTruncated,parts:Pe.data.Part||[]});case 12:case"end":return Ae.stop()}},ue,this)}));function z(ue,de,ge,fe){return ee.apply(this,arguments)}return z}(),b.abortMultipartUpload=function(){var ee=(0,le.default)(ie.default.mark(function ue(de,ge,fe){var me,be,ve;return ie.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:return this._stop(),fe=fe||{},me={},se(fe).to(me),me.subres={uploadId:ge},be=this._objectRequestParams("DELETE",de,me),be.successStatuses=[204],Ee.next=9,this.request(be);case 9:return ve=Ee.sent,Ee.abrupt("return",{res:ve.res});case 11:case"end":return Ee.stop()}},ue,this)}));function z(ue,de,ge){return ee.apply(this,arguments)}return z}(),b.initMultipartUpload=function(){var ee=(0,le.default)(ie.default.mark(function ue(de,ge){var fe,me,be;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return ge=ge||{},fe={},se(ge).to(fe),fe.headers=fe.headers||{},this._convertMetaToHeaders(ge.meta,fe.headers),fe.subres="uploads",me=this._objectRequestParams("POST",de,fe),me.mime=ge.mime,me.xmlResponse=!0,me.successStatuses=[200],Pe.next=12,this.request(me);case 12:return be=Pe.sent,Pe.abrupt("return",{res:be.res,bucket:be.data.Bucket,name:be.data.Key,uploadId:be.data.UploadId});case 14:case"end":return Pe.stop()}},ue,this)}));function z(ue,de){return ee.apply(this,arguments)}return z}(),b.uploadPart=function(){var ee=(0,le.default)(ie.default.mark(function ue(de,ge,fe,me,be,ve,Pe){var Ee,Ae;return ie.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(Ee={size:ve-be},Ae=ce&&ce.browser,!Ae){_e.next=8;break}return _e.next=5,this._createBuffer(me,be,ve);case 5:Ee.content=_e.sent,_e.next=11;break;case 8:return _e.next=10,this._createStream(me,be,ve);case 10:Ee.stream=_e.sent;case 11:return _e.next=13,this._uploadPart(de,ge,fe,Ee,Pe);case 13:return _e.abrupt("return",_e.sent);case 14:case"end":return _e.stop()}},ue,this)}));function z(ue,de,ge,fe,me,be,ve){return ee.apply(this,arguments)}return z}(),b.completeMultipartUpload=function(){var ee=(0,le.default)(ie.default.mark(function ue(de,ge,fe,me){var be,ve,Pe,Ee,Ae,Ce,_e,we;return ie.default.wrap(function(Oe){for(;;)switch(Oe.prev=Oe.next){case 0:for(be=fe.concat().sort(function(Fe,Le){return Fe.number-Le.number}).filter(function(Fe,Le,Qe){return!Le||Fe.number!==Qe[Le-1].number}),ve=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<CompleteMultipartUpload>
|
|
|
`,Pe=0;Pe<be.length;Pe++)Ee=be[Pe],ve+=`<Part>
|
|
|
`,ve+="<PartNumber>".concat(Ee.number,`</PartNumber>
|
|
|
`),ve+="<ETag>".concat(Ee.etag,`</ETag>
|
|
|
`),ve+=`</Part>
|
|
|
`;return ve+="</CompleteMultipartUpload>",me=me||{},Ae={},Ae=ne(me,function(Fe){if(a(Fe))return null}),Ae.subres={uploadId:ge},Ae.headers=x(Ae.headers,["x-oss-server-side-encryption","x-oss-storage-class"]),Ce=this._objectRequestParams("POST",de,Ae),ae.encodeCallback(Ce,Ae),Ce.mime="xml",Ce.content=ve,Ce.headers&&Ce.headers["x-oss-callback"]||(Ce.xmlResponse=!0),Ce.successStatuses=[200],Oe.next=17,this.request(Ce);case 17:if(_e=Oe.sent,!me.progress){Oe.next=21;break}return Oe.next=21,me.progress(1,null,_e.res);case 21:return we={res:_e.res,bucket:Ce.bucket,name:de,etag:_e.res.headers.etag},Ce.headers&&Ce.headers["x-oss-callback"]&&(we.data=JSON.parse(_e.data.toString())),Oe.abrupt("return",we);case 24:case"end":return Oe.stop()}},ue,this)}));function z(ue,de,ge,fe){return ee.apply(this,arguments)}return z}(),b._uploadPart=function(){var ee=(0,le.default)(ie.default.mark(function ue(de,ge,fe,me,be){var ve,Pe,Ee,Ae;return ie.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:return be=be||{},ve={},se(be).to(ve),ve.headers=ve.headers||{},ve.headers["Content-Length"]=me.size,ve.headers=x(ve.headers,["x-oss-server-side-encryption"]),ve.subres={partNumber:fe,uploadId:ge},Pe=this._objectRequestParams("PUT",de,ve),Pe.mime=ve.mime,Ee=ce&&ce.browser,Ee?Pe.content=me.content:Pe.stream=me.stream,Pe.successStatuses=[200],Pe.disabledMD5=be.disabledMD5,_e.next=15,this.request(Pe);case 15:if(Ae=_e.sent,Ae.res.headers.etag){_e.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 me.stream&&(me.stream=null,Pe.stream=null),_e.abrupt("return",{name:de,etag:Ae.res.headers.etag,res:Ae.res});case 20:case"end":return _e.stop()}},ue,this)}));function z(ue,de,ge,fe,me){return ee.apply(this,arguments)}return z}()}).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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator")),ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("url"),se=E("utility"),ae=E("copy-to"),re=E("../../common/signUtils"),ne=E("../utils/isIP"),te=ne.isIP,a=E("../utils/setSTSToken"),y=a.setSTSToken,x=E("../utils/isFunction"),b=x.isFunction,ee=he;ee.asyncSignatureUrl=function(){var z=(0,ie.default)(oe.default.mark(function de(ge,fe){var me,be,ve,Pe,Ee;return oe.default.wrap(function(Ce){for(;;)switch(Ce.prev=Ce.next){case 0:if(!te(this.options.endpoint.hostname)){Ce.next=2;break}throw new Error("can not get the object URL when endpoint is IP");case 2:if(fe=fe||{},ge=this._objectName(ge),fe.method=fe.method||"GET",me=se.timestamp()+(fe.expires||1800),be={bucket:this.options.bucket,object:ge},ve=this._getResource(be),!(this.options.stsToken&&b(this.options.refreshSTSToken))){Ce.next=11;break}return Ce.next=11,y.call(this);case 11:return this.options.stsToken&&(fe["security-token"]=this.options.stsToken),Pe=re._signatureForURL(this.options.accessKeySecret,fe,ve,me),Ee=le.parse(this._getReqUrl(be)),Ee.query={OSSAccessKeyId:this.options.accessKeyId,Expires:me,Signature:Pe.Signature},ae(Pe.subResource).to(Ee.query),Ce.abrupt("return",Ee.format());case 17:case"end":return Ce.stop()}},de,this)}));function ue(de,ge){return z.apply(this,arguments)}return ue}()},{"../../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(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 ie=ce(E("@babel/runtime/helpers/typeof")),le=ce(E("@babel/runtime/helpers/asyncToGenerator")),se=E("../utils/checkBucketName"),ae=se.checkBucketName,re=he,ne=["content-type","content-encoding","content-language","content-disposition","cache-control","expires"];re.copy=function(){var te=(0,le.default)(oe.default.mark(function y(x,b,ee,z){var ue,de,ge;return oe.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return(0,ie.default)(ee)==="object"&&(z=ee),z=z||{},z.headers=z.headers||{},Object.keys(z.headers).forEach(function(be){z.headers["x-oss-copy-source-".concat(be.toLowerCase())]=z.headers[be]}),(z.meta||Object.keys(z.headers).find(function(be){return ne.includes(be.toLowerCase())}))&&(z.headers["x-oss-metadata-directive"]="REPLACE"),this._convertMetaToHeaders(z.meta,z.headers),b=this._getSourceName(b,ee),z.versionId&&(b="".concat(b,"?versionId=").concat(z.versionId)),z.headers["x-oss-copy-source"]=b,ue=this._objectRequestParams("PUT",x,z),ue.xmlResponse=!0,ue.successStatuses=[200,304],me.next=14,this.request(ue);case 14:return de=me.sent,ge=de.data,ge&&(ge={etag:ge.ETag,lastModified:ge.LastModified}),me.abrupt("return",{data:ge,res:de.res});case 18:case"end":return me.stop()}},y,this)}));function a(y,x,b,ee){return te.apply(this,arguments)}return a}(),re._getSourceName=function(a,y){return typeof y=="string"?a=this._objectName(a):a[0]!=="/"?y=this.options.bucket:(y=a.replace(/\/(.+?)(\/.*)/,"$1"),a=a.replace(/(\/.+?\/)(.*)/,"$2")),ae(y),a=encodeURIComponent(a),a="/".concat(y,"/").concat(a),a}},{"../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=he;le.delete=function(){var se=(0,ie.default)(oe.default.mark(function re(ne){var te,a,y,x=arguments;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return te=x.length>1&&x[1]!==void 0?x[1]:{},te.subres=Object.assign({},te.subres),te.versionId&&(te.subres.versionId=te.versionId),a=this._objectRequestParams("DELETE",ne,te),a.successStatuses=[204],ee.next=7,this.request(a);case 7:return y=ee.sent,ee.abrupt("return",{res:y.res});case 9:case"end":return ee.stop()}},re,this)}));function ae(re){return se.apply(this,arguments)}return ae}()},{"@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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("utility"),se=E("../utils/obj2xml"),ae=se.obj2xml,re=he;re.deleteMulti=function(){var ne=(0,ie.default)(oe.default.mark(function a(y){var x,b,ee,z,ue,de,ge,fe,me,be,ve,Pe,Ee,Ae=arguments;return oe.default.wrap(function(_e){for(;;)switch(_e.prev=_e.next){case 0:if(x=Ae.length>1&&Ae[1]!==void 0?Ae[1]:{},b=[],!(!y||!y.length)){_e.next=4;break}throw new Error("names is required");case 4:for(ee=0;ee<y.length;ee++)z={},typeof y[ee]=="string"?z.Key=le.escape(this._objectName(y[ee])):(ue=y[ee],de=ue.key,ge=ue.versionId,z.Key=le.escape(this._objectName(de)),z.VersionId=ge),b.push(z);return fe={Delete:{Quiet:!!x.quiet,Object:b}},me=ae(fe,{headers:!0}),x.subres=Object.assign({delete:""},x.subres),x.versionId&&(x.subres.versionId=x.versionId),be=this._objectRequestParams("POST","",x),be.mime="xml",be.content=me,be.xmlResponse=!0,be.successStatuses=[200],_e.next=16,this.request(be);case 16:return ve=_e.sent,Pe=ve.data,Ee=Pe&&Pe.Deleted||null,Ee&&(Array.isArray(Ee)||(Ee=[Ee])),_e.abrupt("return",{res:ve.res,deleted:Ee||[]});case 21:case"end":return _e.stop()}},a,this)}));function te(a){return ne.apply(this,arguments)}return te}()},{"../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=he;le.deleteObjectTagging=function(){var se=(0,ie.default)(oe.default.mark(function re(ne){var te,a,y,x=arguments;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return te=x.length>1&&x[1]!==void 0?x[1]:{},te.subres=Object.assign({tagging:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),ne=this._objectName(ne),a=this._objectRequestParams("DELETE",ne,te),a.successStatuses=[204],ee.next=8,this.request(a);case 8:return y=ee.sent,ee.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return ee.stop()}},re,this)}));function ae(re){return se.apply(this,arguments)}return ae}()},{"@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,pe,he){"use strict";E("core-js/modules/es.array.concat.js");var ce=E("url"),oe=E("../utils/isIP"),ie=oe.isIP,le=he;le.generateObjectUrl=function(ae,re){if(ie(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");if(re)re[re.length-1]!=="/"&&(re+="/");else{re=this.options.endpoint.format();var ne=ce.parse(re),te=this.options.bucket;ne.hostname="".concat(te,".").concat(ne.hostname),ne.host="".concat(te,".").concat(ne.host),re=ne.format()}return re+this._escape(this._objectName(ae))}},{"../utils/isIP":69,"core-js/modules/es.array.concat.js":272,url:472}],37:[function(E,pe,he){(function(ce){(function(){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),ie=oe(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var le=oe(E("@babel/runtime/helpers/asyncToGenerator")),se=E("fs"),ae=E("is-type-of"),re=he;re.get=function(){var ne=(0,le.default)(ie.default.mark(function a(y,x){var b,ee,z,ue,de,ge,fe,me,be=arguments;return ie.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:return b=be.length>2&&be[2]!==void 0?be[2]:{},ee=null,z=!1,ae.writableStream(x)?ee=x:ae.string(x)?(ee=se.createWriteStream(x),z=!0):b=x,b=b||{},ue=ce&&ce.browser,de=b.responseCacheControl===null?"":"no-cache",ge=ue&&de?{"response-cache-control":de}:{},b.subres=Object.assign(ge,b.subres),b.versionId&&(b.subres.versionId=b.versionId),b.process&&(b.subres["x-oss-process"]=b.process),Pe.prev=11,me=this._objectRequestParams("GET",y,b),me.writeStream=ee,me.successStatuses=[200,206,304],Pe.next=17,this.request(me);case 17:fe=Pe.sent,z&&ee.destroy(),Pe.next=28;break;case 21:if(Pe.prev=21,Pe.t0=Pe.catch(11),!z){Pe.next=27;break}return ee.destroy(),Pe.next=27,this._deleteFileSafe(x);case 27:throw Pe.t0;case 28:return Pe.abrupt("return",{res:fe.res,content:fe.data});case 29:case"end":return Pe.stop()}},a,this,[[11,21]])}));function te(a,y){return ne.apply(this,arguments)}return te}()}).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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=he;le.getACL=function(){var se=(0,ie.default)(oe.default.mark(function re(ne){var te,a,y,x=arguments;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return te=x.length>1&&x[1]!==void 0?x[1]:{},te.subres=Object.assign({acl:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),ne=this._objectName(ne),a=this._objectRequestParams("GET",ne,te),a.successStatuses=[200],a.xmlResponse=!0,ee.next=9,this.request(a);case 9:return y=ee.sent,ee.abrupt("return",{acl:y.data.AccessControlList.Grant,owner:{id:y.data.Owner.ID,displayName:y.data.Owner.DisplayName},res:y.res});case 11:case"end":return ee.stop()}},re,this)}));function ae(re){return se.apply(this,arguments)}return ae}()},{"@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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(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 ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=he,se=E("../utils/isObject"),ae=se.isObject,re=E("../utils/isArray"),ne=re.isArray;le.getBucketVersions=te,le.listObjectVersions=te;function te(){return a.apply(this,arguments)}function a(){return a=(0,ie.default)(oe.default.mark(function b(){var ee,z,ue,de,ge,fe,me,be,ve=arguments;return oe.default.wrap(function(Ee){for(;;)switch(Ee.prev=Ee.next){case 0:if(ee=ve.length>0&&ve[0]!==void 0?ve[0]:{},z=ve.length>1&&ve[1]!==void 0?ve[1]:{},!(ee.versionIdMarker&&ee.keyMarker===void 0)){Ee.next=4;break}throw new Error("A version-id marker cannot be specified without a key marker");case 4:return z.subres=Object.assign({versions:""},z.subres),z.versionId&&(z.subres.versionId=z.versionId),ue=this._objectRequestParams("GET","",z),ue.xmlResponse=!0,ue.successStatuses=[200],ue.query=x(ee),Ee.next=12,this.request(ue);case 12:return de=Ee.sent,ge=de.data.Version||[],fe=de.data.DeleteMarker||[],me=this,ge&&(Array.isArray(ge)||(ge=[ge]),ge=ge.map(function(Ae){return{name:Ae.Key,url:me._objectUrl(Ae.Key),lastModified:Ae.LastModified,isLatest:Ae.IsLatest==="true",versionId:Ae.VersionId,etag:Ae.ETag,type:Ae.Type,size:Number(Ae.Size),storageClass:Ae.StorageClass,owner:{id:Ae.Owner.ID,displayName:Ae.Owner.DisplayName}}})),fe&&(ne(fe)||(fe=[fe]),fe=fe.map(function(Ae){return{name:Ae.Key,lastModified:Ae.LastModified,versionId:Ae.VersionId,owner:{id:Ae.Owner.ID,displayName:Ae.Owner.DisplayName}}})),be=de.data.CommonPrefixes||null,be&&(ne(be)||(be=[be]),be=be.map(function(Ae){return Ae.Prefix})),Ee.abrupt("return",{res:de.res,objects:ge,deleteMarker:fe,prefixes:be,nextMarker:de.data.NextKeyMarker||null,NextVersionIdMarker:de.data.NextVersionIdMarker||null,nextKeyMarker:de.data.NextKeyMarker||null,nextVersionIdMarker:de.data.NextVersionIdMarker||null,isTruncated:de.data.IsTruncated==="true"});case 21:case"end":return Ee.stop()}},b,this)})),a.apply(this,arguments)}function y(b){return b.replace(/([A-Z])/g,"-$1").toLowerCase()}function x(){var b=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ee={};return ae(b)&&Object.keys(b).forEach(function(z){ee[y(z)]=b[z]}),ee}},{"../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=he;le.getObjectMeta=function(){var se=(0,ie.default)(oe.default.mark(function re(ne,te){var a,y;return oe.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return te=te||{},ne=this._objectName(ne),te.subres=Object.assign({objectMeta:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),a=this._objectRequestParams("HEAD",ne,te),a.successStatuses=[200],b.next=8,this.request(a);case 8:return y=b.sent,b.abrupt("return",{status:y.status,res:y.res});case 10:case"end":return b.stop()}},re,this)}));function ae(re,ne){return se.apply(this,arguments)}return ae}()},{"@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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(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 ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=he,se=E("../utils/isObject"),ae=se.isObject;le.getObjectTagging=function(){var re=(0,ie.default)(oe.default.mark(function te(a){var y,x,b,ee,z,ue,de=arguments;return oe.default.wrap(function(fe){for(;;)switch(fe.prev=fe.next){case 0:return y=de.length>1&&de[1]!==void 0?de[1]:{},y.subres=Object.assign({tagging:""},y.subres),y.versionId&&(y.subres.versionId=y.versionId),a=this._objectName(a),x=this._objectRequestParams("GET",a,y),x.successStatuses=[200],fe.next=8,this.request(x);case 8:return b=fe.sent,fe.next=11,this.parseXML(b.data);case 11:return ee=fe.sent,z=ee.TagSet.Tag,z=z&&ae(z)?[z]:z||[],ue={},z.forEach(function(me){ue[me.Key]=me.Value}),fe.abrupt("return",{status:b.status,res:b.res,tag:ue});case 17:case"end":return fe.stop()}},te,this)}));function ne(te){return re.apply(this,arguments)}return ne}()},{"../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,pe,he){"use strict";var ce=E("../utils/isIP"),oe=ce.isIP,ie=he;ie.getObjectUrl=function(se,ae){if(oe(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");return ae?ae[ae.length-1]!=="/"&&(ae+="/"):ae=this.options.endpoint.format(),ae+this._escape(this._objectName(se))}},{"../utils/isIP":69}],43:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=he;le.getSymlink=function(){var se=(0,ie.default)(oe.default.mark(function re(ne){var te,a,y,x,b=arguments;return oe.default.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return te=b.length>1&&b[1]!==void 0?b[1]:{},te.subres=Object.assign({symlink:""},te.subres),te.versionId&&(te.subres.versionId=te.versionId),ne=this._objectName(ne),a=this._objectRequestParams("GET",ne,te),a.successStatuses=[200],z.next=8,this.request(a);case 8:return y=z.sent,x=y.res.headers["x-oss-symlink-target"],z.abrupt("return",{targetName:decodeURIComponent(x),res:y.res});case 11:case"end":return z.stop()}},re,this)}));function ae(re){return se.apply(this,arguments)}return ae}()},{"@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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(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 ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/checkEnv"),se=le.checkEnv,ae=he;ae.head=function(){var re=(0,ie.default)(oe.default.mark(function te(a){var y,x,b,ee,z=arguments;return oe.default.wrap(function(de){for(;;)switch(de.prev=de.next){case 0:return y=z.length>1&&z[1]!==void 0?z[1]:{},se("Because HeadObject has gzip enabled, head cannot get the file size correctly. If you need to get the file size, please use getObjectMeta"),y.subres=Object.assign({},y.subres),y.versionId&&(y.subres.versionId=y.versionId),x=this._objectRequestParams("HEAD",a,y),x.successStatuses=[200,304],de.next=8,this.request(x);case 8:return b=de.sent,ee={meta:null,res:b.res,status:b.status},b.status===200&&Object.keys(b.headers).forEach(function(ge){ge.indexOf("x-oss-meta-")===0&&(ee.meta||(ee.meta={}),ee.meta[ge.substring(11)]=b.headers[ge])}),de.abrupt("return",ee);case 12:case"end":return de.stop()}},te,this)}));function ne(te){return re.apply(this,arguments)}return ne}()},{"../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=he;le.putACL=function(){var se=(0,ie.default)(oe.default.mark(function re(ne,te,a){var y,x;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return a=a||{},a.subres=Object.assign({acl:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.headers=a.headers||{},a.headers["x-oss-object-acl"]=te,ne=this._objectName(ne),y=this._objectRequestParams("PUT",ne,a),y.successStatuses=[200],ee.next=10,this.request(y);case 10:return x=ee.sent,ee.abrupt("return",{res:x.res});case 12:case"end":return ee.stop()}},re,this)}));function ae(re,ne,te){return se.apply(this,arguments)}return ae}()},{"@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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(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 ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("../utils/obj2xml"),se=le.obj2xml,ae=E("../utils/checkObjectTag"),re=ae.checkObjectTag,ne=he;ne.putObjectTagging=function(){var te=(0,ie.default)(oe.default.mark(function y(x,b){var ee,z,ue,de,ge=arguments;return oe.default.wrap(function(me){for(;;)switch(me.prev=me.next){case 0:return ee=ge.length>2&&ge[2]!==void 0?ge[2]:{},re(b),ee.subres=Object.assign({tagging:""},ee.subres),ee.versionId&&(ee.subres.versionId=ee.versionId),x=this._objectName(x),z=this._objectRequestParams("PUT",x,ee),z.successStatuses=[200],b=Object.keys(b).map(function(be){return{Key:be,Value:b[be]}}),ue={Tagging:{TagSet:{Tag:b}}},z.mime="xml",z.content=se(ue),me.next=13,this.request(z);case 13:return de=me.sent,me.abrupt("return",{res:de.res,status:de.status});case 15:case"end":return me.stop()}},y,this)}));function a(y,x){return te.apply(this,arguments)}return a}()},{"../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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/regenerator"));E("core-js/modules/es.object.assign.js");var ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=he;le.putSymlink=function(){var se=(0,ie.default)(oe.default.mark(function re(ne,te,a){var y,x;return oe.default.wrap(function(ee){for(;;)switch(ee.prev=ee.next){case 0:return a=a||{},a.headers=a.headers||{},te=this._escape(this._objectName(te)),this._convertMetaToHeaders(a.meta,a.headers),a.headers["x-oss-symlink-target"]=te,a.subres=Object.assign({symlink:""},a.subres),a.versionId&&(a.subres.versionId=a.versionId),a.storageClass&&(a.headers["x-oss-storage-class"]=a.storageClass),ne=this._objectName(ne),y=this._objectRequestParams("PUT",ne,a),y.successStatuses=[200],ee.next=13,this.request(y);case 13:return x=ee.sent,ee.abrupt("return",{res:x.res});case 15:case"end":return ee.stop()}},re,this)}));function ae(re,ne,te){return se.apply(this,arguments)}return ae}()},{"@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,pe,he){"use strict";var ce=E("url"),oe=E("utility"),ie=E("copy-to"),le=E("../../common/signUtils"),se=E("../utils/isIP"),ae=se.isIP,re=he;re.signatureUrl=function(te,a){if(ae(this.options.endpoint.hostname))throw new Error("can not get the object URL when endpoint is IP");a=a||{},te=this._objectName(te),a.method=a.method||"GET";var y=oe.timestamp()+(a.expires||1800),x={bucket:this.options.bucket,object:te},b=this._getResource(x);this.options.stsToken&&(a["security-token"]=this.options.stsToken);var ee=le._signatureForURL(this.options.accessKeySecret,a,b,y),z=ce.parse(this._getReqUrl(x));return z.query={OSSAccessKeyId:this.options.accessKeyId,Expires:y,Signature:ee.Signature},ie(ee.subResource).to(z.query),z.format()}},{"../../common/signUtils":50,"../utils/isIP":69,"copy-to":94,url:472,utility:474}],49:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(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 ie=ce(E("@babel/runtime/helpers/asyncToGenerator")),le=E("./utils/isArray"),se=le.isArray,ae=he;ae._parallelNode=function(){var re=(0,ie.default)(oe.default.mark(function te(a,y,x,b){var ee,z,ue,de,ge,fe,me,be;return oe.default.wrap(function(Pe){for(;;)switch(Pe.prev=Pe.next){case 0:ee=this,z=[],ue=[],de=a.length/y,ge=a.length%y,fe=ge===0?de:(a.length-ge)/y+1,me=1,be=0;case 8:if(!(be<a.length)){Pe.next=26;break}if(!ee.isCancel()){Pe.next=11;break}return Pe.abrupt("break",26);case 11:if(b?ue.push(x(ee,a[be],b)):ue.push(x(ee,a[be])),!(ue.length===y||me===fe&&be===a.length-1)){Pe.next=23;break}return Pe.prev=13,me+=1,Pe.next=17,Promise.all(ue);case 17:Pe.next=22;break;case 19:Pe.prev=19,Pe.t0=Pe.catch(13),z.push(Pe.t0);case 22:ue=[];case 23:be++,Pe.next=8;break;case 26:return Pe.abrupt("return",z);case 27:case"end":return Pe.stop()}},te,this,[[13,19]])}));function ne(te,a,y,x){return re.apply(this,arguments)}return ne}(),ae._parallel=function(ne,te,a){var y=this;return new Promise(function(x){var b=[];if(te<=0||!ne){x(b);return}function ee(Pe){return function(){if(Pe===null)throw new Error("Callback was already called.");var Ee=Pe;Pe=null;for(var Ae=arguments.length,Ce=new Array(Ae),_e=0;_e<Ae;_e++)Ce[_e]=arguments[_e];Ee.apply(this,Ce)}}function z(Pe){var Ee=-1,Ae=Pe.length;return function(){return++Ee<Ae&&!y.isCancel()?{value:Pe[Ee],key:Ee}:null}}var ue=z(ne),de=!1,ge=0,fe=!1;function me(Pe){ge-=1,Pe?(de=!0,b.push(Pe),x(b)):de&&ge<=0?(de=!0,x(b)):fe||(y.isCancel()?x(b):ve())}function be(Pe,Ee){a(Pe).then(function(Ae){Ee(null,Ae)}).catch(function(Ae){Ee(Ae)})}function ve(){for(fe=!0;ge<te&&!de&&!y.isCancel();){var Pe=ue();if(Pe===null||b.length>0){de=!0,ge<=0&&x(b);return}ge+=1,be(Pe.value,ee(me))}fe=!1}ve()})},ae.cancel=function(ne){this.options.cancelFlag=!0,se(this.multipartUploadStreams)&&this.multipartUploadStreams.forEach(function(te){if(te.destroyed===!1){var a={name:"cancel",message:"cancel"};te.destroy(a)}}),this.multipartUploadStreams=[],ne&&this.abortMultipartUpload(ne.name,ne.uploadId,ne.options)},ae.isCancel=function(){return this.options.cancelFlag},ae.resetCancelFlag=function(){this.options.cancelFlag=!1},ae._stop=function(){this.options.cancelFlag=!0},ae._makeCancelEvent=function(){var ne={status:0,name:"cancel"};return ne},ae._makeAbortEvent=function(){var ne={status:0,name:"abort",message:"upload task has been abort"};return ne}},{"./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,pe,he){(function(ce){(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 oe=E("./../../shims/crypto/crypto.js"),ie=E("is-type-of"),le=E("./utils/lowercaseKeyHeader"),se=le.lowercaseKeyHeader;he.buildCanonicalizedResource=function(re,ne){var te="".concat(re),a="?";if(ie.string(ne)&&ne.trim()!=="")te+=a+ne;else if(ie.array(ne))ne.sort(),te+=a+ne.join("&");else if(ne){var y=function(ee,z){return ee[0]>z[0]?1:ee[0]<z[0]?-1:0},x=function(ee){te+=a+ee,(ne[ee]||ne[ee]===0)&&(te+="=".concat(ne[ee])),a="&"};Object.keys(ne).sort(y).forEach(x)}return te},he.buildCanonicalString=function(re,ne,te,a){te=te||{};var y=se(te.headers),x="x-oss-",b=[],ee={},z=[re.toUpperCase(),y["content-md5"]||"",y["content-type"],a||y["x-oss-date"]];return Object.keys(y).forEach(function(ue){var de=ue.toLowerCase();de.indexOf(x)===0&&(ee[de]=String(y[ue]).trim())}),Object.keys(ee).sort().forEach(function(ue){b.push("".concat(ue,":").concat(ee[ue]))}),z=z.concat(b),z.push(this.buildCanonicalizedResource(ne,te.parameters)),z.join(`
|
|
|
`)},he.computeSignature=function(re,ne){var te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"utf-8",a=oe.createHmac("sha1",re);return a.update(ce.from(ne,te)).digest("base64")},he.authorization=function(re,ne,te,a){return"OSS ".concat(re,":").concat(this.computeSignature(ne,te,a))},he._signatureForURL=function(re){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},te=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,y=arguments.length>4?arguments[4]:void 0,x={},b=ne.subResource,ee=b===void 0?{}:b;if(ne.process){var z="x-oss-process";ee[z]=ne.process}if(ne.trafficLimit){var ue="x-oss-traffic-limit";ee[ue]=ne.trafficLimit}if(ne.response&&Object.keys(ne.response).forEach(function(me){var be="response-".concat(me.toLowerCase());ee[be]=ne.response[me]}),Object.keys(ne).forEach(function(me){var be=me.toLowerCase(),ve=ne[me];be.indexOf("x-oss-")===0?x[be]=ve:(be.indexOf("content-md5")===0||be.indexOf("content-type")===0)&&(x[me]=ve)}),Object.prototype.hasOwnProperty.call(ne,"security-token")&&(ee["security-token"]=ne["security-token"]),Object.prototype.hasOwnProperty.call(ne,"callback")){var de={callbackUrl:encodeURI(ne.callback.url),callbackBody:ne.callback.body};if(ne.callback.host&&(de.callbackHost=ne.callback.host),ne.callback.contentType&&(de.callbackBodyType=ne.callback.contentType),ee.callback=ce.from(JSON.stringify(de)).toString("base64"),ne.callback.customValue){var ge={};Object.keys(ne.callback.customValue).forEach(function(me){ge["x:".concat(me)]=ne.callback.customValue[me]}),ee["callback-var"]=ce.from(JSON.stringify(ge)).toString("base64")}}var fe=this.buildCanonicalString(ne.method,te,{headers:x,parameters:ee},a.toString());return{Signature:this.computeSignature(re,fe,y),subResource:ee}}}).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,pe,he){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.checkBucketName=void 0,he.checkBucketName=function(ce){var oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ie=oe?/^[a-z0-9][a-z0-9-]{1,61}[a-z0-9]$/:/^[a-z0-9_][a-z0-9-_]{1,61}[a-z0-9_]$/;if(!ie.test(ce))throw new Error("The bucket must be conform to the specifications")}},{"core-js/modules/es.regexp.exec.js":300}],52:[function(E,pe,he){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.checkConfigValid=void 0;var ce={endpoint:oe,region:/^[a-zA-Z0-9\-_]+$/};function oe(ie){return typeof ie=="string"?/^[a-zA-Z0-9._:/-]+$/.test(ie):ie.host?/^[a-zA-Z0-9._:/-]+$/.test(ie.host):!1}he.checkConfigValid=function(ie,le){if(ce[le]){var se=!0;if(ce[le]instanceof Function?se=ce[le](ie):se=ce[le].test(ie),!se)throw new Error("The ".concat(le," must be conform to the specifications"))}}},{"core-js/modules/es.regexp.exec.js":300}],53:[function(E,pe,he){(function(ce){(function(){"use strict";Object.defineProperty(he,"__esModule",{value:!0}),he.checkEnv=void 0;function oe(ie){ce.browser&&console.warn(ie)}he.checkEnv=oe}).call(this)}).call(this,E("_process"))},{_process:467}],54:[function(E,pe,he){"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(he,"__esModule",{value:!0}),he.checkObjectTag=void 0;var ce=E("./checkValid"),oe=ce.checkValid,ie=E("./isObject"),le=ie.isObject,se=[{validator:function(te){if(typeof te!="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 (/)"}],ae={key:[].concat(se,[{pattern:/^.{1,128}$/,msg:"tag key can be a maximum of 128 bytes in length"}]),value:[].concat(se,[{pattern:/^.{0,256}$/,msg:"tag value can be a maximum of 256 bytes in length"}])};function re(ne){if(!le(ne))throw new Error("tag must be Object");var te=Object.entries(ne);if(te.length>10)throw new Error("maximum of 10 tags for a object");var a=["key","value"];te.forEach(function(y){y.forEach(function(x,b){oe(x,ae[a[b]])})})}he.checkObjectTag=re},{"./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,pe,he){"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(he,"__esModule",{value:!0}),he.checkValid=void 0;function ce(oe,ie){ie.forEach(function(le){if(le.validator)le.validator(oe);else if(le.pattern&&!le.pattern.test(oe))throw new Error(le.msg)})}he.checkValid=ce},{"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,pe,he){(function(ce){(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(he,"__esModule",{value:!0}),he.createRequest=void 0;var oe=E("./../../../shims/crypto/crypto.js"),ie=E("debug")("ali-oss"),le=E("mime"),se=E("dateformat"),ae=E("copy-to"),re=E("path"),ne=E("./encoder"),te=ne.encoder,a=E("./isIP"),y=a.isIP,x=E("./setRegion"),b=x.setRegion,ee=E("../client/getReqUrl"),z=ee.getReqUrl,ue=E("./isDingTalk"),de=ue.isDingTalk;function ge(be,ve){return be[ve]||be[ve.toLowerCase()]}function fe(be,ve){delete be[ve],delete be[ve.toLowerCase()]}function me(be){var ve=new Date;this.options.amendTimeSkewed&&(ve=+new Date+this.options.amendTimeSkewed);var Pe={"x-oss-date":se(ve,"UTC:ddd, dd mmm yyyy HH:MM:ss 'GMT'")};typeof window!="undefined"&&(Pe["x-oss-user-agent"]=this.userAgent),this.userAgent.includes("nodejs")&&(Pe["User-Agent"]=this.userAgent),this.options.isRequestPay&&Object.assign(Pe,{"x-oss-request-payer":"requester"}),this.options.stsToken&&(Pe["x-oss-security-token"]=this.options.stsToken),ae(be.headers).to(Pe),ge(Pe,"Content-Type")||(be.mime&&be.mime.indexOf("/")>0?Pe["Content-Type"]=be.mime:de()?Pe["Content-Type"]="application/octet-stream":Pe["Content-Type"]=le.getType(be.mime||re.extname(be.object||""))),ge(Pe,"Content-Type")||fe(Pe,"Content-Type"),be.content&&(be.disabledMD5||(!be.headers||!be.headers["Content-MD5"]?Pe["Content-MD5"]=oe.createHash("md5").update(ce.from(be.content,"utf8")).digest("base64"):Pe["Content-MD5"]=be.headers["Content-MD5"]),Pe["Content-Length"]||(Pe["Content-Length"]=be.content.length));var Ee=Object.prototype.hasOwnProperty;for(var Ae in Pe)Pe[Ae]&&Ee.call(Pe,Ae)&&(Pe[Ae]=te(String(Pe[Ae]),this.options.headerEncoding));var Ce=this._getResource(be);if(Pe.authorization=this.authorization(be.method,Ce,be.subres,Pe,this.options.headerEncoding),y(this.options.endpoint.hostname)){var _e=this.options,we=_e.region,Me=_e.internal,Oe=_e.secure,Fe=b(we,Me,Oe);Pe.host="".concat(be.bucket,".").concat(Fe.host)}var Le=z.bind(this)(be);ie("request %s %s, with headers %j, !!stream: %s",be.method,Le,Pe,!!be.stream);var Qe=be.timeout||this.options.timeout,We={method:be.method,content:be.content,stream:be.stream,headers:Pe,timeout:Qe,writeStream:be.writeStream,customResponse:be.customResponse,ctx:be.ctx||this.ctx};return this.agent&&(We.agent=this.agent),this.httpsAgent&&(We.httpsAgent=this.httpsAgent),We.enableProxy=!!this.options.enableProxy,We.proxy=this.options.proxy?this.options.proxy:null,{url:Le,params:We}}he.createRequest=me}).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,pe,he){"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(he,"__esModule",{value:!0}),he.dataFix=void 0;var ce=E("./isObject"),oe=["true","TRUE","1",1],ie=["false","FALSE","0",0];function le(re,ne,te){if(ce.isObject(re)){var a=ne.remove,y=a===void 0?[]:a,x=ne.rename,b=x===void 0?{}:x,ee=ne.camel,z=ee===void 0?[]:ee,ue=ne.bool,de=ue===void 0?[]:ue,ge=ne.lowerFirst,fe=ge===void 0?!1:ge;return y.forEach(function(me){return delete re[me]}),Object.entries(b).forEach(function(me){re[me[0]]&&(re[me[1]]||(re[me[1]]=re[me[0]],delete re[me[0]]))}),z.forEach(function(me){if(re[me]){var be=me.replace(/^(.)/,function(ve){return ve.toLowerCase()}).replace(/-(\w)/g,function(ve,Pe){return Pe.toUpperCase()});re[be]||(re[be]=re[me])}}),de.forEach(function(me){re[me]=se(re[me])}),typeof te=="function"&&te(re),ae(re,fe),le}}he.dataFix=le;function se(re){return re?oe.includes(re)?!0:ie.includes(re)?!1:re:!1}function ae(re,ne){ne&&Object.keys(re).forEach(function(te){var a=te.replace(/^\w/,function(y){return y.toLowerCase()});typeof re[a]=="undefined"&&(re[a]=re[te],delete re[te])})}},{"./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,pe,he){"use strict";var ce=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 oe=ce(E("@babel/runtime/helpers/typeof"));Object.defineProperty(he,"__esModule",{value:!0}),he.deepCopyWith=he.deepCopy=void 0;var ie=E("./isBuffer");he.deepCopy=function(le){if(le===null||(0,oe.default)(le)!=="object")return le;if(ie.isBuffer(le))return le.slice();var se=Array.isArray(le)?[]:{};return Object.keys(le).forEach(function(ae){se[ae]=he.deepCopy(le[ae])}),se},he.deepCopyWith=function(le,se){function ae(re,ne,te){var a=se(re,ne,te);if(a!==void 0)return a;if(re===null||(0,oe.default)(re)!=="object")return re;if(ie.isBuffer(re))return re.slice();var y=Array.isArray(re)?[]:{};return Object.keys(re).forEach(function(x){y[x]=ae(re[x],x,re)}),y}return se?ae(le,"",null):he.deepCopy(le)}},{"./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,pe,he){(function(ce){(function(){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.regexp.to-string.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.encoder=void 0;function oe(ie){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"utf-8";return le==="utf-8"?ie:ce.from(ie).toString("latin1")}he.encoder=oe}).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,pe,he){"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(he,"__esModule",{value:!0}),he.formatInventoryConfig=void 0;var ce=E("../utils/dataFix"),oe=E("../utils/isObject"),ie=E("../utils/isArray"),le=E("../utils/formatObjKey");function se(re){var ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return ne&&oe.isObject(re)&&(re=[re]),ie.isArray(re)?re=re.map(ae):re=ae(re),re}he.formatInventoryConfig=se;function ae(re){return ce.dataFix(re,{bool:["IsEnabled"]},function(ne){var te,a;ne.prefix=ne.Filter.Prefix,delete ne.Filter,ne.OSSBucketDestination=ne.Destination.OSSBucketDestination,ne.OSSBucketDestination.rolename=ne.OSSBucketDestination.RoleArn.replace(/.*\//,""),delete ne.OSSBucketDestination.RoleArn,ne.OSSBucketDestination.bucket=ne.OSSBucketDestination.Bucket.replace(/.*:::/,""),delete ne.OSSBucketDestination.Bucket,delete ne.Destination,ne.frequency=ne.Schedule.Frequency,delete ne.Schedule.Frequency,!((te=ne==null?void 0:ne.OptionalFields)===null||te===void 0)&&te.Field&&!ie.isArray((a=ne.OptionalFields)===null||a===void 0?void 0:a.Field)&&(ne.OptionalFields.Field=[ne.OptionalFields.Field])}),re=le.formatObjKey(re,"firstLowerCase",{exclude:["OSSBucketDestination","SSE-OSS","SSE-KMS"]}),re}},{"../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,pe,he){"use strict";var ce=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 oe=ce(E("@babel/runtime/helpers/typeof"));Object.defineProperty(he,"__esModule",{value:!0}),he.formatObjKey=void 0;function ie(se,ae,re){if(se===null||(0,oe.default)(se)!=="object")return se;var ne;if(Array.isArray(se)){ne=[];for(var te=0;te<se.length;te++)ne.push(ie(se[te],ae,re))}else ne={},Object.keys(se).forEach(function(a){ne[le(a,ae,re)]=ie(se[a],ae,re)});return ne}he.formatObjKey=ie;function le(se,ae,re){return re&&re.exclude&&re.exclude.includes(se)||(ae==="firstUpperCase"?se=se.replace(/^./,function(ne){return ne.toUpperCase()}):ae==="firstLowerCase"&&(se=se.replace(/^./,function(ne){return ne.toLowerCase()}))),se}},{"@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,pe,he){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.getStrBytesCount=void 0;function ce(oe){for(var ie=0,le=0;le<oe.length;le++){var se=oe.charAt(le);/^[\u00-\uff]$/.test(se)?ie+=1:ie+=2}return ie}he.getStrBytesCount=ce},{"core-js/modules/es.regexp.exec.js":300}],63:[function(E,pe,he){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.isArray=void 0,he.isArray=function(ce){return Object.prototype.toString.call(ce)==="[object Array]"}},{"core-js/modules/es.object.to-string.js":291}],64:[function(E,pe,he){"use strict";Object.defineProperty(he,"__esModule",{value:!0}),he.isBlob=void 0;function ce(oe){return typeof Blob!="undefined"&&oe instanceof Blob}he.isBlob=ce},{}],65:[function(E,pe,he){(function(ce){(function(){"use strict";Object.defineProperty(he,"__esModule",{value:!0}),he.isBuffer=void 0;function oe(ie){return ce.isBuffer(ie)}he.isBuffer=oe}).call(this)}).call(this,{isBuffer:E("../../../node_modules/is-buffer/index.js")})},{"../../../node_modules/is-buffer/index.js":366}],66:[function(E,pe,he){(function(ce){(function(){"use strict";E("core-js/modules/es.array.includes.js"),E("core-js/modules/es.string.includes.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.isDingTalk=void 0;function oe(){return!!(ce.browser&&window.navigator.userAgent.toLowerCase().includes("aliapp(dingtalk"))}he.isDingTalk=oe}).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,pe,he){"use strict";Object.defineProperty(he,"__esModule",{value:!0}),he.isFile=void 0,he.isFile=function(ce){return typeof File!="undefined"&&ce instanceof File}},{}],68:[function(E,pe,he){"use strict";Object.defineProperty(he,"__esModule",{value:!0}),he.isFunction=void 0,he.isFunction=function(ce){return typeof ce=="function"}},{}],69:[function(E,pe,he){"use strict";E("core-js/modules/es.regexp.exec.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.isIP=void 0,he.isIP=function(ce){var oe=/^(25[0-5]|2[0-4]\d|[0-1]?\d?\d)(\.(25[0-5]|2[0-4]\d|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(%.+)?\s*$/;return oe.test(ce)||ie.test(ce)}},{"core-js/modules/es.regexp.exec.js":300}],70:[function(E,pe,he){"use strict";E("core-js/modules/es.object.to-string.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.isObject=void 0,he.isObject=function(ce){return Object.prototype.toString.call(ce)==="[object Object]"}},{"core-js/modules/es.object.to-string.js":291}],71:[function(E,pe,he){"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(he,"__esModule",{value:!0}),he.lowercaseKeyHeader=void 0;var ce=E("./isObject");function oe(ie){var le={};return ce.isObject(ie)&&Object.keys(ie).forEach(function(se){le[se.toLowerCase()]=ie[se]}),le}he.lowercaseKeyHeader=oe},{"./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,pe,he){"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(he,"__esModule",{value:!0}),he.obj2xml=void 0;var ce=E("./formatObjKey");function oe(le){return Object.prototype.toString.call(le).replace(/(.*? |])/g,"").toLowerCase()}function ie(le,se){var ae="";return se&&se.headers&&(ae=`<?xml version="1.0" encoding="UTF-8"?>
|
|
|
`),se&&se.firstUpperCase&&(le=ce.formatObjKey(le,"firstUpperCase")),oe(le)==="object"?Object.keys(le).forEach(function(re){oe(le[re])!=="undefined"&&oe(le[re])!=="null"&&(oe(le[re])==="string"||oe(le[re])==="number"?ae+="<".concat(re,">").concat(le[re],"</").concat(re,">"):oe(le[re])==="object"?ae+="<".concat(re,">").concat(ie(le[re]),"</").concat(re,">"):oe(le[re])==="array"?ae+=le[re].map(function(ne){return"<".concat(re,">").concat(ie(ne),"</").concat(re,">")}).join(""):ae+="<".concat(re,">").concat(le[re].toString(),"</").concat(re,">"))}):ae+=le.toString(),ae}he.obj2xml=ie},{"./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,pe,he){"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 ce(se,ae){var re=typeof Symbol!="undefined"&&se[Symbol.iterator]||se["@@iterator"];if(!re){if(Array.isArray(se)||(re=oe(se))||ae&&se&&typeof se.length=="number"){re&&(se=re);var ne=0,te=function(){};return{s:te,n:function(){return ne>=se.length?{done:!0}:{done:!1,value:se[ne++]}},e:function(ee){throw ee},f:te}}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 a=!0,y=!1,x;return{s:function(){re=re.call(se)},n:function(){var ee=re.next();return a=ee.done,ee},e:function(ee){y=!0,x=ee},f:function(){try{!a&&re.return!=null&&re.return()}finally{if(y)throw x}}}}function oe(se,ae){if(se){if(typeof se=="string")return ie(se,ae);var re=Object.prototype.toString.call(se).slice(8,-1);if(re==="Object"&&se.constructor&&(re=se.constructor.name),re==="Map"||re==="Set")return Array.from(se);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return ie(se,ae)}}function ie(se,ae){(ae==null||ae>se.length)&&(ae=se.length);for(var re=0,ne=new Array(ae);re<ae;re++)ne[re]=se[re];return ne}Object.defineProperty(he,"__esModule",{value:!0}),he.omit=void 0;function le(se,ae){var re=Object.assign({},se),ne=ce(ae),te;try{for(ne.s();!(te=ne.n()).done;){var a=te.value;delete re[a]}}catch(y){ne.e(y)}finally{ne.f()}return re}he.omit=le},{"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,pe,he){"use strict";E("core-js/modules/es.object.to-string.js"),E("core-js/modules/es.promise.js"),Object.defineProperty(he,"__esModule",{value:!0}),he.retry=void 0;function ce(oe,ie){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},se=0,ae=le.retryDelay,re=ae===void 0?500:ae,ne=le.errorHandler,te=ne===void 0?function(){return!0}:ne,a=function y(){for(var x=arguments.length,b=new Array(x),ee=0;ee<x;ee++)b[ee]=arguments[ee];return new Promise(function(z,ue){oe.apply(void 0,b).then(function(de){se=0,z(de)}).catch(function(de){se<ie&&te(de)?(se++,setTimeout(function(){z(y.apply(void 0,b))},re)):(se=0,ue(de))})})};return a}he.retry=ce},{"core-js/modules/es.object.to-string.js":291,"core-js/modules/es.promise.js":295}],75:[function(E,pe,he){"use strict";var ce=function(se){return se&&se.__esModule?se:{default:se}};Object.defineProperty(he,"__esModule",{value:!0}),he.setRegion=void 0;var oe=ce(E("url")),ie=E("./checkConfigValid");function le(se){var ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;ie.checkConfigValid(se,"region");var ne=re?"https://":"http://",te=ae?"-internal.aliyuncs.com":".aliyuncs.com",a="vpc100-oss-cn-";return se.substr(0,a.length)===a&&(te=".aliyuncs.com"),oe.default.parse(ne+se+te)}he.setRegion=le},{"./checkConfigValid":52,url:472}],76:[function(E,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(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 ie=ce(E("@babel/runtime/helpers/asyncToGenerator"));Object.defineProperty(he,"__esModule",{value:!0}),he.checkCredentials=he.setSTSToken=void 0;var le=E("./formatObjKey");function se(){return ae.apply(this,arguments)}function ae(){return ae=(0,ie.default)(oe.default.mark(function ne(){var te,a;return oe.default.wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(this.options||(this.options={}),te=new Date,!this.stsTokenFreshTime){x.next=14;break}if(!(+te-this.stsTokenFreshTime>=this.options.refreshSTSTokenInterval)){x.next=12;break}return this.stsTokenFreshTime=te,x.next=7,this.options.refreshSTSToken();case 7:a=x.sent,a=le.formatObjKey(a,"firstLowerCase"),a.securityToken&&(a.stsToken=a.securityToken),re(a),Object.assign(this.options,a);case 12:x.next=15;break;case 14:this.stsTokenFreshTime=te;case 15:return x.abrupt("return",null);case 16:case"end":return x.stop()}},ne,this)})),ae.apply(this,arguments)}he.setSTSToken=se;function re(ne){var te=["accessKeySecret","accessKeyId","stsToken"],a=Object.keys(ne);te.forEach(function(y){if(!a.find(function(x){return x===y}))throw Error("refreshSTSToken must return contains ".concat(y))})}he.checkCredentials=re},{"./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,pe,he){function ce(ie,le,se,ae,re,ne,te){try{var a=ie[ne](te),y=a.value}catch(x){se(x);return}a.done?le(y):Promise.resolve(y).then(ae,re)}function oe(ie){return function(){var le=this,se=arguments;return new Promise(function(ae,re){var ne=ie.apply(le,se);function te(y){ce(ne,ae,re,te,a,"next",y)}function a(y){ce(ne,ae,re,te,a,"throw",y)}te(void 0)})}}pe.exports=oe,pe.exports.__esModule=!0,pe.exports.default=pe.exports},{}],78:[function(E,pe,he){function ce(oe){return oe&&oe.__esModule?oe:{default:oe}}pe.exports=ce,pe.exports.__esModule=!0,pe.exports.default=pe.exports},{}],79:[function(E,pe,he){function ce(oe){"@babel/helpers - typeof";return pe.exports=ce=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(ie){return typeof ie}:function(ie){return ie&&typeof Symbol=="function"&&ie.constructor===Symbol&&ie!==Symbol.prototype?"symbol":typeof ie},pe.exports.__esModule=!0,pe.exports.default=pe.exports,ce(oe)}pe.exports=ce,pe.exports.__esModule=!0,pe.exports.default=pe.exports},{}],80:[function(E,pe,he){pe.exports=E("regenerator-runtime")},{"regenerator-runtime":395}],81:[function(E,pe,he){pe.exports=ce,pe.exports.HttpsAgent=ce;function ce(){}},{}],82:[function(E,pe,he){(function(ce){(function(){"use strict";var oe=E("object-assign");function ie(we,Me){if(we===Me)return 0;for(var Oe=we.length,Fe=Me.length,Le=0,Qe=Math.min(Oe,Fe);Le<Qe;++Le)if(we[Le]!==Me[Le]){Oe=we[Le],Fe=Me[Le];break}return Oe<Fe?-1:Fe<Oe?1:0}function le(we){return ce.Buffer&&typeof ce.Buffer.isBuffer=="function"?ce.Buffer.isBuffer(we):!!(we!=null&&we._isBuffer)}var se=E("util/"),ae=Object.prototype.hasOwnProperty,re=Array.prototype.slice,ne=function(){return function(){}.name==="foo"}();function te(we){return Object.prototype.toString.call(we)}function a(we){return le(we)||typeof ce.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(we):we?!!(we instanceof DataView||we.buffer&&we.buffer instanceof ArrayBuffer):!1}var y=pe.exports=ge,x=/\s*function\s+([^\(\s]*)\s*/;function b(we){if(se.isFunction(we)){if(ne)return we.name;var Me=we.toString(),Oe=Me.match(x);return Oe&&Oe[1]}}y.AssertionError=function(Me){this.name="AssertionError",this.actual=Me.actual,this.expected=Me.expected,this.operator=Me.operator,Me.message?(this.message=Me.message,this.generatedMessage=!1):(this.message=ue(this),this.generatedMessage=!0);var Oe=Me.stackStartFunction||de;if(Error.captureStackTrace)Error.captureStackTrace(this,Oe);else{var Fe=new Error;if(Fe.stack){var Le=Fe.stack,Qe=b(Oe),We=Le.indexOf(`
|
|
|
`+Qe);if(We>=0){var Ge=Le.indexOf(`
|
|
|
`,We+1);Le=Le.substring(Ge+1)}this.stack=Le}}},se.inherits(y.AssertionError,Error);function ee(we,Me){return typeof we=="string"?we.length<Me?we:we.slice(0,Me):we}function z(we){if(ne||!se.isFunction(we))return se.inspect(we);var Me=b(we),Oe=Me?": "+Me:"";return"[Function"+Oe+"]"}function ue(we){return ee(z(we.actual),128)+" "+we.operator+" "+ee(z(we.expected),128)}function de(we,Me,Oe,Fe,Le){throw new y.AssertionError({message:Oe,actual:we,expected:Me,operator:Fe,stackStartFunction:Le})}y.fail=de;function ge(we,Me){we||de(we,!0,Me,"==",y.ok)}y.ok=ge,y.equal=function(Me,Oe,Fe){Me!=Oe&&de(Me,Oe,Fe,"==",y.equal)},y.notEqual=function(Me,Oe,Fe){Me==Oe&&de(Me,Oe,Fe,"!=",y.notEqual)},y.deepEqual=function(Me,Oe,Fe){fe(Me,Oe,!1)||de(Me,Oe,Fe,"deepEqual",y.deepEqual)},y.deepStrictEqual=function(Me,Oe,Fe){fe(Me,Oe,!0)||de(Me,Oe,Fe,"deepStrictEqual",y.deepStrictEqual)};function fe(we,Me,Oe,Fe){if(we===Me)return!0;if(le(we)&&le(Me))return ie(we,Me)===0;if(se.isDate(we)&&se.isDate(Me))return we.getTime()===Me.getTime();if(se.isRegExp(we)&&se.isRegExp(Me))return we.source===Me.source&&we.global===Me.global&&we.multiline===Me.multiline&&we.lastIndex===Me.lastIndex&&we.ignoreCase===Me.ignoreCase;if((we===null||typeof we!="object")&&(Me===null||typeof Me!="object"))return Oe?we===Me:we==Me;if(a(we)&&a(Me)&&te(we)===te(Me)&&!(we instanceof Float32Array||we instanceof Float64Array))return ie(new Uint8Array(we.buffer),new Uint8Array(Me.buffer))===0;if(le(we)!==le(Me))return!1;Fe=Fe||{actual:[],expected:[]};var Le=Fe.actual.indexOf(we);return Le!==-1&&Le===Fe.expected.indexOf(Me)?!0:(Fe.actual.push(we),Fe.expected.push(Me),be(we,Me,Oe,Fe))}function me(we){return Object.prototype.toString.call(we)=="[object Arguments]"}function be(we,Me,Oe,Fe){if(we==null||Me===null||Me===void 0)return!1;if(se.isPrimitive(we)||se.isPrimitive(Me))return we===Me;if(Oe&&Object.getPrototypeOf(we)!==Object.getPrototypeOf(Me))return!1;var Le=me(we),Qe=me(Me);if(Le&&!Qe||!Le&&Qe)return!1;if(Le)return we=re.call(we),Me=re.call(Me),fe(we,Me,Oe);var We=_e(we),Ge=_e(Me),Ke,ze;if(We.length!==Ge.length)return!1;for(We.sort(),Ge.sort(),ze=We.length-1;ze>=0;ze--)if(We[ze]!==Ge[ze])return!1;for(ze=We.length-1;ze>=0;ze--)if(Ke=We[ze],!fe(we[Ke],Me[Ke],Oe,Fe))return!1;return!0}y.notDeepEqual=function(Me,Oe,Fe){fe(Me,Oe,!1)&&de(Me,Oe,Fe,"notDeepEqual",y.notDeepEqual)},y.notDeepStrictEqual=ve;function ve(we,Me,Oe){fe(we,Me,!0)&&de(we,Me,Oe,"notDeepStrictEqual",ve)}y.strictEqual=function(Me,Oe,Fe){Me!==Oe&&de(Me,Oe,Fe,"===",y.strictEqual)},y.notStrictEqual=function(Me,Oe,Fe){Me===Oe&&de(Me,Oe,Fe,"!==",y.notStrictEqual)};function Pe(we,Me){if(!we||!Me)return!1;if(Object.prototype.toString.call(Me)=="[object RegExp]")return Me.test(we);try{if(we instanceof Me)return!0}catch(Oe){}return Error.isPrototypeOf(Me)?!1:Me.call({},we)===!0}function Ee(we){var Me;try{we()}catch(Oe){Me=Oe}return Me}function Ae(we,Me,Oe,Fe){var Le;if(typeof Me!="function")throw new TypeError('"block" argument must be a function');typeof Oe=="string"&&(Fe=Oe,Oe=null),Le=Ee(Me),Fe=(Oe&&Oe.name?" ("+Oe.name+").":".")+(Fe?" "+Fe:"."),we&&!Le&&de(Le,Oe,"Missing expected exception"+Fe);var Qe=typeof Fe=="string",We=!we&&se.isError(Le),Ge=!we&&Le&&!Oe;if((We&&Qe&&Pe(Le,Oe)||Ge)&&de(Le,Oe,"Got unwanted exception"+Fe),we&&Le&&Oe&&!Pe(Le,Oe)||!we&&Le)throw Le}y.throws=function(we,Me,Oe){Ae(!0,we,Me,Oe)},y.doesNotThrow=function(we,Me,Oe){Ae(!1,we,Me,Oe)},y.ifError=function(we){if(we)throw we};function Ce(we,Me){we||de(we,!0,Me,"==",Ce)}y.strict=oe(Ce,y,{equal:y.strictEqual,deepEqual:y.deepStrictEqual,notEqual:y.notStrictEqual,notDeepEqual:y.notDeepStrictEqual}),y.strict.strict=y.strict;var _e=Object.keys||function(we){var Me=[];for(var Oe in we)ae.call(we,Oe)&&Me.push(Oe);return Me}}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"object-assign":377,"util/":85}],83:[function(E,pe,he){typeof Object.create=="function"?pe.exports=function(oe,ie){oe.super_=ie,oe.prototype=Object.create(ie.prototype,{constructor:{value:oe,enumerable:!1,writable:!0,configurable:!0}})}:pe.exports=function(oe,ie){oe.super_=ie;var le=function(){};le.prototype=ie.prototype,oe.prototype=new le,oe.prototype.constructor=oe}},{}],84:[function(E,pe,he){pe.exports=function(oe){return oe&&typeof oe=="object"&&typeof oe.copy=="function"&&typeof oe.fill=="function"&&typeof oe.readUInt8=="function"}},{}],85:[function(E,pe,he){(function(ce,oe){(function(){var ie=/%[sdj%]/g;he.format=function(Ge){if(!be(Ge)){for(var Ke=[],ze=0;ze<arguments.length;ze++)Ke.push(ae(arguments[ze]));return Ke.join(" ")}for(var ze=1,ke=arguments,Ne=ke.length,Ve=String(Ge).replace(ie,function(rt){if(rt==="%%")return"%";if(ze>=Ne)return rt;switch(rt){case"%s":return String(ke[ze++]);case"%d":return Number(ke[ze++]);case"%j":try{return JSON.stringify(ke[ze++])}catch(Ye){return"[Circular]"}default:return rt}}),qe=ke[ze];ze<Ne;qe=ke[++ze])ge(qe)||!Ae(qe)?Ve+=" "+qe:Ve+=" "+ae(qe);return Ve},he.deprecate=function(Ge,Ke){if(Pe(oe.process))return function(){return he.deprecate(Ge,Ke).apply(this,arguments)};if(ce.noDeprecation===!0)return Ge;var ze=!1;function ke(){if(!ze){if(ce.throwDeprecation)throw new Error(Ke);ce.traceDeprecation?console.trace(Ke):console.error(Ke),ze=!0}return Ge.apply(this,arguments)}return ke};var le={},se;he.debuglog=function(Ge){if(Pe(se)&&(se=ce.env.NODE_DEBUG||""),Ge=Ge.toUpperCase(),!le[Ge])if(new RegExp("\\b"+Ge+"\\b","i").test(se)){var Ke=ce.pid;le[Ge]=function(){var ze=he.format.apply(he,arguments);console.error("%s %d: %s",Ge,Ke,ze)}}else le[Ge]=function(){};return le[Ge]};function ae(Ge,Ke){var ze={seen:[],stylize:ne};return arguments.length>=3&&(ze.depth=arguments[2]),arguments.length>=4&&(ze.colors=arguments[3]),de(Ke)?ze.showHidden=Ke:Ke&&he._extend(ze,Ke),Pe(ze.showHidden)&&(ze.showHidden=!1),Pe(ze.depth)&&(ze.depth=2),Pe(ze.colors)&&(ze.colors=!1),Pe(ze.customInspect)&&(ze.customInspect=!0),ze.colors&&(ze.stylize=re),a(ze,Ge,ze.depth)}he.inspect=ae,ae.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]},ae.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function re(Ge,Ke){var ze=ae.styles[Ke];return ze?"\x1B["+ae.colors[ze][0]+"m"+Ge+"\x1B["+ae.colors[ze][1]+"m":Ge}function ne(Ge,Ke){return Ge}function te(Ge){var Ke={};return Ge.forEach(function(ze,ke){Ke[ze]=!0}),Ke}function a(Ge,Ke,ze){if(Ge.customInspect&&Ke&&we(Ke.inspect)&&Ke.inspect!==he.inspect&&!(Ke.constructor&&Ke.constructor.prototype===Ke)){var ke=Ke.inspect(ze,Ge);return be(ke)||(ke=a(Ge,ke,ze)),ke}var Ne=y(Ge,Ke);if(Ne)return Ne;var Ve=Object.keys(Ke),qe=te(Ve);if(Ge.showHidden&&(Ve=Object.getOwnPropertyNames(Ke)),_e(Ke)&&(Ve.indexOf("message")>=0||Ve.indexOf("description")>=0))return x(Ke);if(Ve.length===0){if(we(Ke)){var rt=Ke.name?": "+Ke.name:"";return Ge.stylize("[Function"+rt+"]","special")}if(Ee(Ke))return Ge.stylize(RegExp.prototype.toString.call(Ke),"regexp");if(Ce(Ke))return Ge.stylize(Date.prototype.toString.call(Ke),"date");if(_e(Ke))return x(Ke)}var Ye="",Ue=!1,Be=["{","}"];if(ue(Ke)&&(Ue=!0,Be=["[","]"]),we(Ke)){var Ze=Ke.name?": "+Ke.name:"";Ye=" [Function"+Ze+"]"}if(Ee(Ke)&&(Ye=" "+RegExp.prototype.toString.call(Ke)),Ce(Ke)&&(Ye=" "+Date.prototype.toUTCString.call(Ke)),_e(Ke)&&(Ye=" "+x(Ke)),Ve.length===0&&(!Ue||Ke.length==0))return Be[0]+Ye+Be[1];if(ze<0)return Ee(Ke)?Ge.stylize(RegExp.prototype.toString.call(Ke),"regexp"):Ge.stylize("[Object]","special");Ge.seen.push(Ke);var Te;return Ue?Te=b(Ge,Ke,ze,qe,Ve):Te=Ve.map(function(He){return ee(Ge,Ke,ze,qe,He,Ue)}),Ge.seen.pop(),z(Te,Ye,Be)}function y(Ge,Ke){if(Pe(Ke))return Ge.stylize("undefined","undefined");if(be(Ke)){var ze="'"+JSON.stringify(Ke).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Ge.stylize(ze,"string")}if(me(Ke))return Ge.stylize(""+Ke,"number");if(de(Ke))return Ge.stylize(""+Ke,"boolean");if(ge(Ke))return Ge.stylize("null","null")}function x(Ge){return"["+Error.prototype.toString.call(Ge)+"]"}function b(Ge,Ke,ze,ke,Ne){for(var Ve=[],qe=0,rt=Ke.length;qe<rt;++qe)We(Ke,String(qe))?Ve.push(ee(Ge,Ke,ze,ke,String(qe),!0)):Ve.push("");return Ne.forEach(function(Ye){Ye.match(/^\d+$/)||Ve.push(ee(Ge,Ke,ze,ke,Ye,!0))}),Ve}function ee(Ge,Ke,ze,ke,Ne,Ve){var qe,rt,Ye;if(Ye=Object.getOwnPropertyDescriptor(Ke,Ne)||{value:Ke[Ne]},Ye.get?Ye.set?rt=Ge.stylize("[Getter/Setter]","special"):rt=Ge.stylize("[Getter]","special"):Ye.set&&(rt=Ge.stylize("[Setter]","special")),We(ke,Ne)||(qe="["+Ne+"]"),rt||(Ge.seen.indexOf(Ye.value)<0?(ge(ze)?rt=a(Ge,Ye.value,null):rt=a(Ge,Ye.value,ze-1),rt.indexOf(`
|
|
|
`)>-1&&(Ve?rt=rt.split(`
|
|
|
`).map(function(Ue){return" "+Ue}).join(`
|
|
|
`).substr(2):rt=`
|
|
|
`+rt.split(`
|
|
|
`).map(function(Ue){return" "+Ue}).join(`
|
|
|
`))):rt=Ge.stylize("[Circular]","special")),Pe(qe)){if(Ve&&Ne.match(/^\d+$/))return rt;qe=JSON.stringify(""+Ne),qe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(qe=qe.substr(1,qe.length-2),qe=Ge.stylize(qe,"name")):(qe=qe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),qe=Ge.stylize(qe,"string"))}return qe+": "+rt}function z(Ge,Ke,ze){var ke=0,Ne=Ge.reduce(function(Ve,qe){return ke++,qe.indexOf(`
|
|
|
`)>=0&&ke++,Ve+qe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ne>60?ze[0]+(Ke===""?"":Ke+`
|
|
|
`)+" "+Ge.join(`,
|
|
|
`)+" "+ze[1]:ze[0]+Ke+" "+Ge.join(", ")+" "+ze[1]}function ue(Ge){return Array.isArray(Ge)}he.isArray=ue;function de(Ge){return typeof Ge=="boolean"}he.isBoolean=de;function ge(Ge){return Ge===null}he.isNull=ge;function fe(Ge){return Ge==null}he.isNullOrUndefined=fe;function me(Ge){return typeof Ge=="number"}he.isNumber=me;function be(Ge){return typeof Ge=="string"}he.isString=be;function ve(Ge){return typeof Ge=="symbol"}he.isSymbol=ve;function Pe(Ge){return Ge===void 0}he.isUndefined=Pe;function Ee(Ge){return Ae(Ge)&&Oe(Ge)==="[object RegExp]"}he.isRegExp=Ee;function Ae(Ge){return typeof Ge=="object"&&Ge!==null}he.isObject=Ae;function Ce(Ge){return Ae(Ge)&&Oe(Ge)==="[object Date]"}he.isDate=Ce;function _e(Ge){return Ae(Ge)&&(Oe(Ge)==="[object Error]"||Ge instanceof Error)}he.isError=_e;function we(Ge){return typeof Ge=="function"}he.isFunction=we;function Me(Ge){return Ge===null||typeof Ge=="boolean"||typeof Ge=="number"||typeof Ge=="string"||typeof Ge=="symbol"||typeof Ge=="undefined"}he.isPrimitive=Me,he.isBuffer=E("./support/isBuffer");function Oe(Ge){return Object.prototype.toString.call(Ge)}function Fe(Ge){return Ge<10?"0"+Ge.toString(10):Ge.toString(10)}var Le=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function Qe(){var Ge=new Date,Ke=[Fe(Ge.getHours()),Fe(Ge.getMinutes()),Fe(Ge.getSeconds())].join(":");return[Ge.getDate(),Le[Ge.getMonth()],Ke].join(" ")}he.log=function(){console.log("%s - %s",Qe(),he.format.apply(he,arguments))},he.inherits=E("inherits"),he._extend=function(Ge,Ke){if(!Ke||!Ae(Ke))return Ge;for(var ze=Object.keys(Ke),ke=ze.length;ke--;)Ge[ze[ke]]=Ke[ze[ke]];return Ge};function We(Ge,Ke){return Object.prototype.hasOwnProperty.call(Ge,Ke)}}).call(this)}).call(this,E("_process"),typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":84,_process:467,inherits:83}],86:[function(E,pe,he){(function(ce){(function(){"use strict";var oe=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],ie=typeof globalThis=="undefined"?ce:globalThis;pe.exports=function(){for(var se=[],ae=0;ae<oe.length;ae++)typeof ie[oe[ae]]=="function"&&(se[se.length]=oe[ae]);return se}}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],87:[function(E,pe,he){"use strict";he.byteLength=ne,he.toByteArray=a,he.fromByteArray=b;for(var ce=[],oe=[],ie=typeof Uint8Array!="undefined"?Uint8Array:Array,le="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",se=0,ae=le.length;se<ae;++se)ce[se]=le[se],oe[le.charCodeAt(se)]=se;oe[45]=62,oe[95]=63;function re(ee){var z=ee.length;if(z%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var ue=ee.indexOf("=");ue===-1&&(ue=z);var de=ue===z?0:4-ue%4;return[ue,de]}function ne(ee){var z=re(ee),ue=z[0],de=z[1];return(ue+de)*3/4-de}function te(ee,z,ue){return(z+ue)*3/4-ue}function a(ee){var z,ue=re(ee),de=ue[0],ge=ue[1],fe=new ie(te(ee,de,ge)),me=0,be=ge>0?de-4:de,ve;for(ve=0;ve<be;ve+=4)z=oe[ee.charCodeAt(ve)]<<18|oe[ee.charCodeAt(ve+1)]<<12|oe[ee.charCodeAt(ve+2)]<<6|oe[ee.charCodeAt(ve+3)],fe[me++]=z>>16&255,fe[me++]=z>>8&255,fe[me++]=z&255;return ge===2&&(z=oe[ee.charCodeAt(ve)]<<2|oe[ee.charCodeAt(ve+1)]>>4,fe[me++]=z&255),ge===1&&(z=oe[ee.charCodeAt(ve)]<<10|oe[ee.charCodeAt(ve+1)]<<4|oe[ee.charCodeAt(ve+2)]>>2,fe[me++]=z>>8&255,fe[me++]=z&255),fe}function y(ee){return ce[ee>>18&63]+ce[ee>>12&63]+ce[ee>>6&63]+ce[ee&63]}function x(ee,z,ue){for(var de,ge=[],fe=z;fe<ue;fe+=3)de=(ee[fe]<<16&16711680)+(ee[fe+1]<<8&65280)+(ee[fe+2]&255),ge.push(y(de));return ge.join("")}function b(ee){for(var z,ue=ee.length,de=ue%3,ge=[],fe=16383,me=0,be=ue-de;me<be;me+=fe)ge.push(x(ee,me,me+fe>be?be:me+fe));return de===1?(z=ee[ue-1],ge.push(ce[z>>2]+ce[z<<4&63]+"==")):de===2&&(z=(ee[ue-2]<<8)+ee[ue-1],ge.push(ce[z>>10]+ce[z>>4&63]+ce[z<<2&63]+"=")),ge.join("")}},{}],88:[function(E,pe,he){(function(ce,oe,ie){typeof pe!="undefined"&&pe.exports?pe.exports=ie():typeof Se=="function"&&Se.amd?Se(oe,ie):ce[oe]=ie()})(this,"bowser",function(){var ce=!0;function oe(te){function a(Ke){var ze=te.match(Ke);return ze&&ze.length>1&&ze[1]||""}function y(Ke){var ze=te.match(Ke);return ze&&ze.length>1&&ze[2]||""}var x=a(/(ipod|iphone|ipad)/i).toLowerCase(),b=/like android/i.test(te),ee=!b&&/android/i.test(te),z=/nexus\s*[0-6]\s*/i.test(te),ue=!z&&/nexus\s*[0-9]+/i.test(te),de=/CrOS/.test(te),ge=/silk/i.test(te),fe=/sailfish/i.test(te),me=/tizen/i.test(te),be=/(web|hpw)(o|0)s/i.test(te),ve=/windows phone/i.test(te),Pe=/SamsungBrowser/i.test(te),Ee=!ve&&/windows/i.test(te),Ae=!x&&!ge&&/macintosh/i.test(te),Ce=!ee&&!fe&&!me&&!be&&/linux/i.test(te),_e=y(/edg([ea]|ios)\/(\d+(\.\d+)?)/i),we=a(/version\/(\d+(\.\d+)?)/i),Me=/tablet/i.test(te)&&!/tablet pc/i.test(te),Oe=!Me&&/[^-]mobi/i.test(te),Fe=/xbox/i.test(te),Le;/opera/i.test(te)?Le={name:"Opera",opera:ce,version:we||a(/(?:opera|opr|opios)[\s\/](\d+(\.\d+)?)/i)}:/opr\/|opios/i.test(te)?Le={name:"Opera",opera:ce,version:a(/(?:opr|opios)[\s\/](\d+(\.\d+)?)/i)||we}:/SamsungBrowser/i.test(te)?Le={name:"Samsung Internet for Android",samsungBrowser:ce,version:we||a(/(?:SamsungBrowser)[\s\/](\d+(\.\d+)?)/i)}:/Whale/i.test(te)?Le={name:"NAVER Whale browser",whale:ce,version:a(/(?:whale)[\s\/](\d+(?:\.\d+)+)/i)}:/MZBrowser/i.test(te)?Le={name:"MZ Browser",mzbrowser:ce,version:a(/(?:MZBrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/coast/i.test(te)?Le={name:"Opera Coast",coast:ce,version:we||a(/(?:coast)[\s\/](\d+(\.\d+)?)/i)}:/focus/i.test(te)?Le={name:"Focus",focus:ce,version:a(/(?:focus)[\s\/](\d+(?:\.\d+)+)/i)}:/yabrowser/i.test(te)?Le={name:"Yandex Browser",yandexbrowser:ce,version:we||a(/(?:yabrowser)[\s\/](\d+(\.\d+)?)/i)}:/ucbrowser/i.test(te)?Le={name:"UC Browser",ucbrowser:ce,version:a(/(?:ucbrowser)[\s\/](\d+(?:\.\d+)+)/i)}:/mxios/i.test(te)?Le={name:"Maxthon",maxthon:ce,version:a(/(?:mxios)[\s\/](\d+(?:\.\d+)+)/i)}:/epiphany/i.test(te)?Le={name:"Epiphany",epiphany:ce,version:a(/(?:epiphany)[\s\/](\d+(?:\.\d+)+)/i)}:/puffin/i.test(te)?Le={name:"Puffin",puffin:ce,version:a(/(?:puffin)[\s\/](\d+(?:\.\d+)?)/i)}:/sleipnir/i.test(te)?Le={name:"Sleipnir",sleipnir:ce,version:a(/(?:sleipnir)[\s\/](\d+(?:\.\d+)+)/i)}:/k-meleon/i.test(te)?Le={name:"K-Meleon",kMeleon:ce,version:a(/(?:k-meleon)[\s\/](\d+(?:\.\d+)+)/i)}:ve?(Le={name:"Windows Phone",osname:"Windows Phone",windowsphone:ce},_e?(Le.msedge=ce,Le.version=_e):(Le.msie=ce,Le.version=a(/iemobile\/(\d+(\.\d+)?)/i))):/msie|trident/i.test(te)?Le={name:"Internet Explorer",msie:ce,version:a(/(?:msie |rv:)(\d+(\.\d+)?)/i)}:de?Le={name:"Chrome",osname:"Chrome OS",chromeos:ce,chromeBook:ce,chrome:ce,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:/edg([ea]|ios)/i.test(te)?Le={name:"Microsoft Edge",msedge:ce,version:_e}:/vivaldi/i.test(te)?Le={name:"Vivaldi",vivaldi:ce,version:a(/vivaldi\/(\d+(\.\d+)?)/i)||we}:fe?Le={name:"Sailfish",osname:"Sailfish OS",sailfish:ce,version:a(/sailfish\s?browser\/(\d+(\.\d+)?)/i)}:/seamonkey\//i.test(te)?Le={name:"SeaMonkey",seamonkey:ce,version:a(/seamonkey\/(\d+(\.\d+)?)/i)}:/firefox|iceweasel|fxios/i.test(te)?(Le={name:"Firefox",firefox:ce,version:a(/(?:firefox|iceweasel|fxios)[ \/](\d+(\.\d+)?)/i)},/\((mobile|tablet);[^\)]*rv:[\d\.]+\)/i.test(te)&&(Le.firefoxos=ce,Le.osname="Firefox OS")):ge?Le={name:"Amazon Silk",silk:ce,version:a(/silk\/(\d+(\.\d+)?)/i)}:/phantom/i.test(te)?Le={name:"PhantomJS",phantom:ce,version:a(/phantomjs\/(\d+(\.\d+)?)/i)}:/slimerjs/i.test(te)?Le={name:"SlimerJS",slimer:ce,version:a(/slimerjs\/(\d+(\.\d+)?)/i)}:/blackberry|\bbb\d+/i.test(te)||/rim\stablet/i.test(te)?Le={name:"BlackBerry",osname:"BlackBerry OS",blackberry:ce,version:we||a(/blackberry[\d]+\/(\d+(\.\d+)?)/i)}:be?(Le={name:"WebOS",osname:"WebOS",webos:ce,version:we||a(/w(?:eb)?osbrowser\/(\d+(\.\d+)?)/i)},/touchpad\//i.test(te)&&(Le.touchpad=ce)):/bada/i.test(te)?Le={name:"Bada",osname:"Bada",bada:ce,version:a(/dolfin\/(\d+(\.\d+)?)/i)}:me?Le={name:"Tizen",osname:"Tizen",tizen:ce,version:a(/(?:tizen\s?)?browser\/(\d+(\.\d+)?)/i)||we}:/qupzilla/i.test(te)?Le={name:"QupZilla",qupzilla:ce,version:a(/(?:qupzilla)[\s\/](\d+(?:\.\d+)+)/i)||we}:/chromium/i.test(te)?Le={name:"Chromium",chromium:ce,version:a(/(?:chromium)[\s\/](\d+(?:\.\d+)?)/i)||we}:/chrome|crios|crmo/i.test(te)?Le={name:"Chrome",chrome:ce,version:a(/(?:chrome|crios|crmo)\/(\d+(\.\d+)?)/i)}:ee?Le={name:"Android",version:we}:/safari|applewebkit/i.test(te)?(Le={name:"Safari",safari:ce},we&&(Le.version=we)):x?(Le={name:x=="iphone"?"iPhone":x=="ipad"?"iPad":"iPod"},we&&(Le.version=we)):/googlebot/i.test(te)?Le={name:"Googlebot",googlebot:ce,version:a(/googlebot\/(\d+(\.\d+))/i)||we}:Le={name:a(/^(.*)\/(.*) /),version:y(/^(.*)\/(.*) /)},!Le.msedge&&/(apple)?webkit/i.test(te)?(/(apple)?webkit\/537\.36/i.test(te)?(Le.name=Le.name||"Blink",Le.blink=ce):(Le.name=Le.name||"Webkit",Le.webkit=ce),!Le.version&&we&&(Le.version=we)):!Le.opera&&/gecko\//i.test(te)&&(Le.name=Le.name||"Gecko",Le.gecko=ce,Le.version=Le.version||a(/gecko\/(\d+(\.\d+)?)/i)),!Le.windowsphone&&(ee||Le.silk)?(Le.android=ce,Le.osname="Android"):!Le.windowsphone&&x?(Le[x]=ce,Le.ios=ce,Le.osname="iOS"):Ae?(Le.mac=ce,Le.osname="macOS"):Fe?(Le.xbox=ce,Le.osname="Xbox"):Ee?(Le.windows=ce,Le.osname="Windows"):Ce&&(Le.linux=ce,Le.osname="Linux");function Qe(Ke){switch(Ke){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 We="";Le.windows?We=Qe(a(/Windows ((NT|XP)( \d\d?.\d)?)/i)):Le.windowsphone?We=a(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i):Le.mac?(We=a(/Mac OS X (\d+([_\.\s]\d+)*)/i),We=We.replace(/[_\s]/g,".")):x?(We=a(/os (\d+([_\s]\d+)*) like mac os x/i),We=We.replace(/[_\s]/g,".")):ee?We=a(/android[ \/-](\d+(\.\d+)*)/i):Le.webos?We=a(/(?:web|hpw)os\/(\d+(\.\d+)*)/i):Le.blackberry?We=a(/rim\stablet\sos\s(\d+(\.\d+)*)/i):Le.bada?We=a(/bada\/(\d+(\.\d+)*)/i):Le.tizen&&(We=a(/tizen[\/\s](\d+(\.\d+)*)/i)),We&&(Le.osversion=We);var Ge=!Le.windows&&We.split(".")[0];return Me||ue||x=="ipad"||ee&&(Ge==3||Ge>=4&&!Oe)||Le.silk?Le.tablet=ce:(Oe||x=="iphone"||x=="ipod"||ee||z||Le.blackberry||Le.webos||Le.bada)&&(Le.mobile=ce),Le.msedge||Le.msie&&Le.version>=10||Le.yandexbrowser&&Le.version>=15||Le.vivaldi&&Le.version>=1||Le.chrome&&Le.version>=20||Le.samsungBrowser&&Le.version>=4||Le.whale&&ae([Le.version,"1.0"])===1||Le.mzbrowser&&ae([Le.version,"6.0"])===1||Le.focus&&ae([Le.version,"1.0"])===1||Le.firefox&&Le.version>=20||Le.safari&&Le.version>=6||Le.opera&&Le.version>=10||Le.ios&&Le.osversion&&Le.osversion.split(".")[0]>=6||Le.blackberry&&Le.version>=10.1||Le.chromium&&Le.version>=20?Le.a=ce:Le.msie&&Le.version<10||Le.chrome&&Le.version<20||Le.firefox&&Le.version<20||Le.safari&&Le.version<6||Le.opera&&Le.version<10||Le.ios&&Le.osversion&&Le.osversion.split(".")[0]<6||Le.chromium&&Le.version<20?Le.c=ce:Le.x=ce,Le}var ie=oe(typeof navigator!="undefined"&&navigator.userAgent||"");ie.test=function(te){for(var a=0;a<te.length;++a){var y=te[a];if(typeof y=="string"&&y in ie)return!0}return!1};function le(te){return te.split(".").length}function se(te,a){var y=[],x;if(Array.prototype.map)return Array.prototype.map.call(te,a);for(x=0;x<te.length;x++)y.push(a(te[x]));return y}function ae(te){for(var a=Math.max(le(te[0]),le(te[1])),y=se(te,function(x){var b=a-le(x);return x=x+new Array(b+1).join(".0"),se(x.split("."),function(ee){return new Array(20-ee.length).join("0")+ee}).reverse()});--a>=0;){if(y[0][a]>y[1][a])return 1;if(y[0][a]===y[1][a]){if(a===0)return 0}else return-1}}function re(te,a,y){var x=ie;typeof a=="string"&&(y=a,a=void 0),a===void 0&&(a=!1),y&&(x=oe(y));var b=""+x.version;for(var ee in te)if(te.hasOwnProperty(ee)&&x[ee]){if(typeof te[ee]!="string")throw new Error("Browser version in the minVersion map should be a string: "+ee+": "+String(te));return ae([b,te[ee]])<0}return a}function ne(te,a,y){return!re(te,a,y)}return ie.isUnsupportedBrowser=re,ie.compareVersions=ae,ie.check=ne,ie._detect=oe,ie.detect=oe,ie})},{}],89:[function(E,pe,he){},{}],90:[function(E,pe,he){(function(ce){(function(){"use strict";var oe=E("base64-js"),ie=E("ieee754");he.Buffer=re,he.SlowBuffer=de,he.INSPECT_MAX_BYTES=50;var le=2147483647;he.kMaxLength=le,re.TYPED_ARRAY_SUPPORT=se(),!re.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 se(){try{var Ie=new Uint8Array(1);return Ie.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},Ie.foo()===42}catch(xe){return!1}}Object.defineProperty(re.prototype,"parent",{enumerable:!0,get:function(){if(re.isBuffer(this))return this.buffer}}),Object.defineProperty(re.prototype,"offset",{enumerable:!0,get:function(){if(re.isBuffer(this))return this.byteOffset}});function ae(Ie){if(Ie>le)throw new RangeError('The value "'+Ie+'" is invalid for option "size"');var xe=new Uint8Array(Ie);return xe.__proto__=re.prototype,xe}function re(Ie,xe,De){if(typeof Ie=="number"){if(typeof xe=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return y(Ie)}return ne(Ie,xe,De)}typeof Symbol!="undefined"&&Symbol.species!=null&&re[Symbol.species]===re&&Object.defineProperty(re,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),re.poolSize=8192;function ne(Ie,xe,De){if(typeof Ie=="string")return x(Ie,xe);if(ArrayBuffer.isView(Ie))return b(Ie);if(Ie==null)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ie);if(et(Ie,ArrayBuffer)||Ie&&et(Ie.buffer,ArrayBuffer))return ee(Ie,xe,De);if(typeof Ie=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');var Re=Ie.valueOf&&Ie.valueOf();if(Re!=null&&Re!==Ie)return re.from(Re,xe,De);var Xe=z(Ie);if(Xe)return Xe;if(typeof Symbol!="undefined"&&Symbol.toPrimitive!=null&&typeof Ie[Symbol.toPrimitive]=="function")return re.from(Ie[Symbol.toPrimitive]("string"),xe,De);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof Ie)}re.from=function(Ie,xe,De){return ne(Ie,xe,De)},re.prototype.__proto__=Uint8Array.prototype,re.__proto__=Uint8Array;function te(Ie){if(typeof Ie!="number")throw new TypeError('"size" argument must be of type number');if(Ie<0)throw new RangeError('The value "'+Ie+'" is invalid for option "size"')}function a(Ie,xe,De){return te(Ie),Ie<=0?ae(Ie):xe!==void 0?typeof De=="string"?ae(Ie).fill(xe,De):ae(Ie).fill(xe):ae(Ie)}re.alloc=function(Ie,xe,De){return a(Ie,xe,De)};function y(Ie){return te(Ie),ae(Ie<0?0:ue(Ie)|0)}re.allocUnsafe=function(Ie){return y(Ie)},re.allocUnsafeSlow=function(Ie){return y(Ie)};function x(Ie,xe){if((typeof xe!="string"||xe==="")&&(xe="utf8"),!re.isEncoding(xe))throw new TypeError("Unknown encoding: "+xe);var De=ge(Ie,xe)|0,Re=ae(De),Xe=Re.write(Ie,xe);return Xe!==De&&(Re=Re.slice(0,Xe)),Re}function b(Ie){for(var xe=Ie.length<0?0:ue(Ie.length)|0,De=ae(xe),Re=0;Re<xe;Re+=1)De[Re]=Ie[Re]&255;return De}function ee(Ie,xe,De){if(xe<0||Ie.byteLength<xe)throw new RangeError('"offset" is outside of buffer bounds');if(Ie.byteLength<xe+(De||0))throw new RangeError('"length" is outside of buffer bounds');var Re;return xe===void 0&&De===void 0?Re=new Uint8Array(Ie):De===void 0?Re=new Uint8Array(Ie,xe):Re=new Uint8Array(Ie,xe,De),Re.__proto__=re.prototype,Re}function z(Ie){if(re.isBuffer(Ie)){var xe=ue(Ie.length)|0,De=ae(xe);return De.length===0||Ie.copy(De,0,0,xe),De}if(Ie.length!==void 0)return typeof Ie.length!="number"||Je(Ie.length)?ae(0):b(Ie);if(Ie.type==="Buffer"&&Array.isArray(Ie.data))return b(Ie.data)}function ue(Ie){if(Ie>=le)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+le.toString(16)+" bytes");return Ie|0}function de(Ie){return+Ie!=Ie&&(Ie=0),re.alloc(+Ie)}re.isBuffer=function(xe){return xe!=null&&xe._isBuffer===!0&&xe!==re.prototype},re.compare=function(xe,De){if(et(xe,Uint8Array)&&(xe=re.from(xe,xe.offset,xe.byteLength)),et(De,Uint8Array)&&(De=re.from(De,De.offset,De.byteLength)),!re.isBuffer(xe)||!re.isBuffer(De))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(xe===De)return 0;for(var Re=xe.length,Xe=De.length,nt=0,$e=Math.min(Re,Xe);nt<$e;++nt)if(xe[nt]!==De[nt]){Re=xe[nt],Xe=De[nt];break}return Re<Xe?-1:Xe<Re?1:0},re.isEncoding=function(xe){switch(String(xe).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}},re.concat=function(xe,De){if(!Array.isArray(xe))throw new TypeError('"list" argument must be an Array of Buffers');if(xe.length===0)return re.alloc(0);var Re;if(De===void 0)for(De=0,Re=0;Re<xe.length;++Re)De+=xe[Re].length;var Xe=re.allocUnsafe(De),nt=0;for(Re=0;Re<xe.length;++Re){var $e=xe[Re];if(et($e,Uint8Array)&&($e=re.from($e)),!re.isBuffer($e))throw new TypeError('"list" argument must be an Array of Buffers');$e.copy(Xe,nt),nt+=$e.length}return Xe};function ge(Ie,xe){if(re.isBuffer(Ie))return Ie.length;if(ArrayBuffer.isView(Ie)||et(Ie,ArrayBuffer))return Ie.byteLength;if(typeof Ie!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof Ie);var De=Ie.length,Re=arguments.length>2&&arguments[2]===!0;if(!Re&&De===0)return 0;for(var Xe=!1;;)switch(xe){case"ascii":case"latin1":case"binary":return De;case"utf8":case"utf-8":return Be(Ie).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return De*2;case"hex":return De>>>1;case"base64":return He(Ie).length;default:if(Xe)return Re?-1:Be(Ie).length;xe=(""+xe).toLowerCase(),Xe=!0}}re.byteLength=ge;function fe(Ie,xe,De){var Re=!1;if((xe===void 0||xe<0)&&(xe=0),xe>this.length||((De===void 0||De>this.length)&&(De=this.length),De<=0)||(De>>>=0,xe>>>=0,De<=xe))return"";for(Ie||(Ie="utf8");;)switch(Ie){case"hex":return Ge(this,xe,De);case"utf8":case"utf-8":return Oe(this,xe,De);case"ascii":return Qe(this,xe,De);case"latin1":case"binary":return We(this,xe,De);case"base64":return Me(this,xe,De);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ke(this,xe,De);default:if(Re)throw new TypeError("Unknown encoding: "+Ie);Ie=(Ie+"").toLowerCase(),Re=!0}}re.prototype._isBuffer=!0;function me(Ie,xe,De){var Re=Ie[xe];Ie[xe]=Ie[De],Ie[De]=Re}re.prototype.swap16=function(){var xe=this.length;if(xe%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var De=0;De<xe;De+=2)me(this,De,De+1);return this},re.prototype.swap32=function(){var xe=this.length;if(xe%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var De=0;De<xe;De+=4)me(this,De,De+3),me(this,De+1,De+2);return this},re.prototype.swap64=function(){var xe=this.length;if(xe%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var De=0;De<xe;De+=8)me(this,De,De+7),me(this,De+1,De+6),me(this,De+2,De+5),me(this,De+3,De+4);return this},re.prototype.toString=function(){var xe=this.length;return xe===0?"":arguments.length===0?Oe(this,0,xe):fe.apply(this,arguments)},re.prototype.toLocaleString=re.prototype.toString,re.prototype.equals=function(xe){if(!re.isBuffer(xe))throw new TypeError("Argument must be a Buffer");return this===xe?!0:re.compare(this,xe)===0},re.prototype.inspect=function(){var xe="",De=he.INSPECT_MAX_BYTES;return xe=this.toString("hex",0,De).replace(/(.{2})/g,"$1 ").trim(),this.length>De&&(xe+=" ... "),"<Buffer "+xe+">"},re.prototype.compare=function(xe,De,Re,Xe,nt){if(et(xe,Uint8Array)&&(xe=re.from(xe,xe.offset,xe.byteLength)),!re.isBuffer(xe))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof xe);if(De===void 0&&(De=0),Re===void 0&&(Re=xe?xe.length:0),Xe===void 0&&(Xe=0),nt===void 0&&(nt=this.length),De<0||Re>xe.length||Xe<0||nt>this.length)throw new RangeError("out of range index");if(Xe>=nt&&De>=Re)return 0;if(Xe>=nt)return-1;if(De>=Re)return 1;if(De>>>=0,Re>>>=0,Xe>>>=0,nt>>>=0,this===xe)return 0;for(var $e=nt-Xe,tt=Re-De,st=Math.min($e,tt),it=this.slice(Xe,nt),lt=xe.slice(De,Re),ut=0;ut<st;++ut)if(it[ut]!==lt[ut]){$e=it[ut],tt=lt[ut];break}return $e<tt?-1:tt<$e?1:0};function be(Ie,xe,De,Re,Xe){if(Ie.length===0)return-1;if(typeof De=="string"?(Re=De,De=0):De>2147483647?De=2147483647:De<-2147483648&&(De=-2147483648),De=+De,Je(De)&&(De=Xe?0:Ie.length-1),De<0&&(De=Ie.length+De),De>=Ie.length){if(Xe)return-1;De=Ie.length-1}else if(De<0)if(Xe)De=0;else return-1;if(typeof xe=="string"&&(xe=re.from(xe,Re)),re.isBuffer(xe))return xe.length===0?-1:ve(Ie,xe,De,Re,Xe);if(typeof xe=="number")return xe=xe&255,typeof Uint8Array.prototype.indexOf=="function"?Xe?Uint8Array.prototype.indexOf.call(Ie,xe,De):Uint8Array.prototype.lastIndexOf.call(Ie,xe,De):ve(Ie,[xe],De,Re,Xe);throw new TypeError("val must be string, number or Buffer")}function ve(Ie,xe,De,Re,Xe){var nt=1,$e=Ie.length,tt=xe.length;if(Re!==void 0&&(Re=String(Re).toLowerCase(),Re==="ucs2"||Re==="ucs-2"||Re==="utf16le"||Re==="utf-16le")){if(Ie.length<2||xe.length<2)return-1;nt=2,$e/=2,tt/=2,De/=2}function st(vt,mt){return nt===1?vt[mt]:vt.readUInt16BE(mt*nt)}var it;if(Xe){var lt=-1;for(it=De;it<$e;it++)if(st(Ie,it)===st(xe,lt===-1?0:it-lt)){if(lt===-1&&(lt=it),it-lt+1===tt)return lt*nt}else lt!==-1&&(it-=it-lt),lt=-1}else for(De+tt>$e&&(De=$e-tt),it=De;it>=0;it--){for(var ut=!0,pt=0;pt<tt;pt++)if(st(Ie,it+pt)!==st(xe,pt)){ut=!1;break}if(ut)return it}return-1}re.prototype.includes=function(xe,De,Re){return this.indexOf(xe,De,Re)!==-1},re.prototype.indexOf=function(xe,De,Re){return be(this,xe,De,Re,!0)},re.prototype.lastIndexOf=function(xe,De,Re){return be(this,xe,De,Re,!1)};function Pe(Ie,xe,De,Re){De=Number(De)||0;var Xe=Ie.length-De;Re?(Re=Number(Re),Re>Xe&&(Re=Xe)):Re=Xe;var nt=xe.length;Re>nt/2&&(Re=nt/2);for(var $e=0;$e<Re;++$e){var tt=parseInt(xe.substr($e*2,2),16);if(Je(tt))return $e;Ie[De+$e]=tt}return $e}function Ee(Ie,xe,De,Re){return at(Be(xe,Ie.length-De),Ie,De,Re)}function Ae(Ie,xe,De,Re){return at(Ze(xe),Ie,De,Re)}function Ce(Ie,xe,De,Re){return Ae(Ie,xe,De,Re)}function _e(Ie,xe,De,Re){return at(He(xe),Ie,De,Re)}function we(Ie,xe,De,Re){return at(Te(xe,Ie.length-De),Ie,De,Re)}re.prototype.write=function(xe,De,Re,Xe){if(De===void 0)Xe="utf8",Re=this.length,De=0;else if(Re===void 0&&typeof De=="string")Xe=De,Re=this.length,De=0;else if(isFinite(De))De=De>>>0,isFinite(Re)?(Re=Re>>>0,Xe===void 0&&(Xe="utf8")):(Xe=Re,Re=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var nt=this.length-De;if((Re===void 0||Re>nt)&&(Re=nt),xe.length>0&&(Re<0||De<0)||De>this.length)throw new RangeError("Attempt to write outside buffer bounds");Xe||(Xe="utf8");for(var $e=!1;;)switch(Xe){case"hex":return Pe(this,xe,De,Re);case"utf8":case"utf-8":return Ee(this,xe,De,Re);case"ascii":return Ae(this,xe,De,Re);case"latin1":case"binary":return Ce(this,xe,De,Re);case"base64":return _e(this,xe,De,Re);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return we(this,xe,De,Re);default:if($e)throw new TypeError("Unknown encoding: "+Xe);Xe=(""+Xe).toLowerCase(),$e=!0}},re.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Me(Ie,xe,De){return xe===0&&De===Ie.length?oe.fromByteArray(Ie):oe.fromByteArray(Ie.slice(xe,De))}function Oe(Ie,xe,De){De=Math.min(Ie.length,De);for(var Re=[],Xe=xe;Xe<De;){var nt=Ie[Xe],$e=null,tt=nt>239?4:nt>223?3:nt>191?2:1;if(Xe+tt<=De){var st,it,lt,ut;switch(tt){case 1:nt<128&&($e=nt);break;case 2:st=Ie[Xe+1],(st&192)===128&&(ut=(nt&31)<<6|st&63,ut>127&&($e=ut));break;case 3:st=Ie[Xe+1],it=Ie[Xe+2],(st&192)===128&&(it&192)===128&&(ut=(nt&15)<<12|(st&63)<<6|it&63,ut>2047&&(ut<55296||ut>57343)&&($e=ut));break;case 4:st=Ie[Xe+1],it=Ie[Xe+2],lt=Ie[Xe+3],(st&192)===128&&(it&192)===128&&(lt&192)===128&&(ut=(nt&15)<<18|(st&63)<<12|(it&63)<<6|lt&63,ut>65535&&ut<1114112&&($e=ut))}}$e===null?($e=65533,tt=1):$e>65535&&($e-=65536,Re.push($e>>>10&1023|55296),$e=56320|$e&1023),Re.push($e),Xe+=tt}return Le(Re)}var Fe=4096;function Le(Ie){var xe=Ie.length;if(xe<=Fe)return String.fromCharCode.apply(String,Ie);for(var De="",Re=0;Re<xe;)De+=String.fromCharCode.apply(String,Ie.slice(Re,Re+=Fe));return De}function Qe(Ie,xe,De){var Re="";De=Math.min(Ie.length,De);for(var Xe=xe;Xe<De;++Xe)Re+=String.fromCharCode(Ie[Xe]&127);return Re}function We(Ie,xe,De){var Re="";De=Math.min(Ie.length,De);for(var Xe=xe;Xe<De;++Xe)Re+=String.fromCharCode(Ie[Xe]);return Re}function Ge(Ie,xe,De){var Re=Ie.length;(!xe||xe<0)&&(xe=0),(!De||De<0||De>Re)&&(De=Re);for(var Xe="",nt=xe;nt<De;++nt)Xe+=Ue(Ie[nt]);return Xe}function Ke(Ie,xe,De){for(var Re=Ie.slice(xe,De),Xe="",nt=0;nt<Re.length;nt+=2)Xe+=String.fromCharCode(Re[nt]+Re[nt+1]*256);return Xe}re.prototype.slice=function(xe,De){var Re=this.length;xe=~~xe,De=De===void 0?Re:~~De,xe<0?(xe+=Re,xe<0&&(xe=0)):xe>Re&&(xe=Re),De<0?(De+=Re,De<0&&(De=0)):De>Re&&(De=Re),De<xe&&(De=xe);var Xe=this.subarray(xe,De);return Xe.__proto__=re.prototype,Xe};function ze(Ie,xe,De){if(Ie%1!==0||Ie<0)throw new RangeError("offset is not uint");if(Ie+xe>De)throw new RangeError("Trying to access beyond buffer length")}re.prototype.readUIntLE=function(xe,De,Re){xe=xe>>>0,De=De>>>0,Re||ze(xe,De,this.length);for(var Xe=this[xe],nt=1,$e=0;++$e<De&&(nt*=256);)Xe+=this[xe+$e]*nt;return Xe},re.prototype.readUIntBE=function(xe,De,Re){xe=xe>>>0,De=De>>>0,Re||ze(xe,De,this.length);for(var Xe=this[xe+--De],nt=1;De>0&&(nt*=256);)Xe+=this[xe+--De]*nt;return Xe},re.prototype.readUInt8=function(xe,De){return xe=xe>>>0,De||ze(xe,1,this.length),this[xe]},re.prototype.readUInt16LE=function(xe,De){return xe=xe>>>0,De||ze(xe,2,this.length),this[xe]|this[xe+1]<<8},re.prototype.readUInt16BE=function(xe,De){return xe=xe>>>0,De||ze(xe,2,this.length),this[xe]<<8|this[xe+1]},re.prototype.readUInt32LE=function(xe,De){return xe=xe>>>0,De||ze(xe,4,this.length),(this[xe]|this[xe+1]<<8|this[xe+2]<<16)+this[xe+3]*16777216},re.prototype.readUInt32BE=function(xe,De){return xe=xe>>>0,De||ze(xe,4,this.length),this[xe]*16777216+(this[xe+1]<<16|this[xe+2]<<8|this[xe+3])},re.prototype.readIntLE=function(xe,De,Re){xe=xe>>>0,De=De>>>0,Re||ze(xe,De,this.length);for(var Xe=this[xe],nt=1,$e=0;++$e<De&&(nt*=256);)Xe+=this[xe+$e]*nt;return nt*=128,Xe>=nt&&(Xe-=Math.pow(2,8*De)),Xe},re.prototype.readIntBE=function(xe,De,Re){xe=xe>>>0,De=De>>>0,Re||ze(xe,De,this.length);for(var Xe=De,nt=1,$e=this[xe+--Xe];Xe>0&&(nt*=256);)$e+=this[xe+--Xe]*nt;return nt*=128,$e>=nt&&($e-=Math.pow(2,8*De)),$e},re.prototype.readInt8=function(xe,De){return xe=xe>>>0,De||ze(xe,1,this.length),this[xe]&128?(255-this[xe]+1)*-1:this[xe]},re.prototype.readInt16LE=function(xe,De){xe=xe>>>0,De||ze(xe,2,this.length);var Re=this[xe]|this[xe+1]<<8;return Re&32768?Re|4294901760:Re},re.prototype.readInt16BE=function(xe,De){xe=xe>>>0,De||ze(xe,2,this.length);var Re=this[xe+1]|this[xe]<<8;return Re&32768?Re|4294901760:Re},re.prototype.readInt32LE=function(xe,De){return xe=xe>>>0,De||ze(xe,4,this.length),this[xe]|this[xe+1]<<8|this[xe+2]<<16|this[xe+3]<<24},re.prototype.readInt32BE=function(xe,De){return xe=xe>>>0,De||ze(xe,4,this.length),this[xe]<<24|this[xe+1]<<16|this[xe+2]<<8|this[xe+3]},re.prototype.readFloatLE=function(xe,De){return xe=xe>>>0,De||ze(xe,4,this.length),ie.read(this,xe,!0,23,4)},re.prototype.readFloatBE=function(xe,De){return xe=xe>>>0,De||ze(xe,4,this.length),ie.read(this,xe,!1,23,4)},re.prototype.readDoubleLE=function(xe,De){return xe=xe>>>0,De||ze(xe,8,this.length),ie.read(this,xe,!0,52,8)},re.prototype.readDoubleBE=function(xe,De){return xe=xe>>>0,De||ze(xe,8,this.length),ie.read(this,xe,!1,52,8)};function ke(Ie,xe,De,Re,Xe,nt){if(!re.isBuffer(Ie))throw new TypeError('"buffer" argument must be a Buffer instance');if(xe>Xe||xe<nt)throw new RangeError('"value" argument is out of bounds');if(De+Re>Ie.length)throw new RangeError("Index out of range")}re.prototype.writeUIntLE=function(xe,De,Re,Xe){if(xe=+xe,De=De>>>0,Re=Re>>>0,!Xe){var nt=Math.pow(2,8*Re)-1;ke(this,xe,De,Re,nt,0)}var $e=1,tt=0;for(this[De]=xe&255;++tt<Re&&($e*=256);)this[De+tt]=xe/$e&255;return De+Re},re.prototype.writeUIntBE=function(xe,De,Re,Xe){if(xe=+xe,De=De>>>0,Re=Re>>>0,!Xe){var nt=Math.pow(2,8*Re)-1;ke(this,xe,De,Re,nt,0)}var $e=Re-1,tt=1;for(this[De+$e]=xe&255;--$e>=0&&(tt*=256);)this[De+$e]=xe/tt&255;return De+Re},re.prototype.writeUInt8=function(xe,De,Re){return xe=+xe,De=De>>>0,Re||ke(this,xe,De,1,255,0),this[De]=xe&255,De+1},re.prototype.writeUInt16LE=function(xe,De,Re){return xe=+xe,De=De>>>0,Re||ke(this,xe,De,2,65535,0),this[De]=xe&255,this[De+1]=xe>>>8,De+2},re.prototype.writeUInt16BE=function(xe,De,Re){return xe=+xe,De=De>>>0,Re||ke(this,xe,De,2,65535,0),this[De]=xe>>>8,this[De+1]=xe&255,De+2},re.prototype.writeUInt32LE=function(xe,De,Re){return xe=+xe,De=De>>>0,Re||ke(this,xe,De,4,4294967295,0),this[De+3]=xe>>>24,this[De+2]=xe>>>16,this[De+1]=xe>>>8,this[De]=xe&255,De+4},re.prototype.writeUInt32BE=function(xe,De,Re){return xe=+xe,De=De>>>0,Re||ke(this,xe,De,4,4294967295,0),this[De]=xe>>>24,this[De+1]=xe>>>16,this[De+2]=xe>>>8,this[De+3]=xe&255,De+4},re.prototype.writeIntLE=function(xe,De,Re,Xe){if(xe=+xe,De=De>>>0,!Xe){var nt=Math.pow(2,8*Re-1);ke(this,xe,De,Re,nt-1,-nt)}var $e=0,tt=1,st=0;for(this[De]=xe&255;++$e<Re&&(tt*=256);)xe<0&&st===0&&this[De+$e-1]!==0&&(st=1),this[De+$e]=(xe/tt>>0)-st&255;return De+Re},re.prototype.writeIntBE=function(xe,De,Re,Xe){if(xe=+xe,De=De>>>0,!Xe){var nt=Math.pow(2,8*Re-1);ke(this,xe,De,Re,nt-1,-nt)}var $e=Re-1,tt=1,st=0;for(this[De+$e]=xe&255;--$e>=0&&(tt*=256);)xe<0&&st===0&&this[De+$e+1]!==0&&(st=1),this[De+$e]=(xe/tt>>0)-st&255;return De+Re},re.prototype.writeInt8=function(xe,De,Re){return xe=+xe,De=De>>>0,Re||ke(this,xe,De,1,127,-128),xe<0&&(xe=255+xe+1),this[De]=xe&255,De+1},re.prototype.writeInt16LE=function(xe,De,Re){return xe=+xe,De=De>>>0,Re||ke(this,xe,De,2,32767,-32768),this[De]=xe&255,this[De+1]=xe>>>8,De+2},re.prototype.writeInt16BE=function(xe,De,Re){return xe=+xe,De=De>>>0,Re||ke(this,xe,De,2,32767,-32768),this[De]=xe>>>8,this[De+1]=xe&255,De+2},re.prototype.writeInt32LE=function(xe,De,Re){return xe=+xe,De=De>>>0,Re||ke(this,xe,De,4,2147483647,-2147483648),this[De]=xe&255,this[De+1]=xe>>>8,this[De+2]=xe>>>16,this[De+3]=xe>>>24,De+4},re.prototype.writeInt32BE=function(xe,De,Re){return xe=+xe,De=De>>>0,Re||ke(this,xe,De,4,2147483647,-2147483648),xe<0&&(xe=4294967295+xe+1),this[De]=xe>>>24,this[De+1]=xe>>>16,this[De+2]=xe>>>8,this[De+3]=xe&255,De+4};function Ne(Ie,xe,De,Re,Xe,nt){if(De+Re>Ie.length)throw new RangeError("Index out of range");if(De<0)throw new RangeError("Index out of range")}function Ve(Ie,xe,De,Re,Xe){return xe=+xe,De=De>>>0,Xe||Ne(Ie,xe,De,4,34028234663852886e22,-34028234663852886e22),ie.write(Ie,xe,De,Re,23,4),De+4}re.prototype.writeFloatLE=function(xe,De,Re){return Ve(this,xe,De,!0,Re)},re.prototype.writeFloatBE=function(xe,De,Re){return Ve(this,xe,De,!1,Re)};function qe(Ie,xe,De,Re,Xe){return xe=+xe,De=De>>>0,Xe||Ne(Ie,xe,De,8,17976931348623157e292,-17976931348623157e292),ie.write(Ie,xe,De,Re,52,8),De+8}re.prototype.writeDoubleLE=function(xe,De,Re){return qe(this,xe,De,!0,Re)},re.prototype.writeDoubleBE=function(xe,De,Re){return qe(this,xe,De,!1,Re)},re.prototype.copy=function(xe,De,Re,Xe){if(!re.isBuffer(xe))throw new TypeError("argument should be a Buffer");if(Re||(Re=0),!Xe&&Xe!==0&&(Xe=this.length),De>=xe.length&&(De=xe.length),De||(De=0),Xe>0&&Xe<Re&&(Xe=Re),Xe===Re||xe.length===0||this.length===0)return 0;if(De<0)throw new RangeError("targetStart out of bounds");if(Re<0||Re>=this.length)throw new RangeError("Index out of range");if(Xe<0)throw new RangeError("sourceEnd out of bounds");Xe>this.length&&(Xe=this.length),xe.length-De<Xe-Re&&(Xe=xe.length-De+Re);var nt=Xe-Re;if(this===xe&&typeof Uint8Array.prototype.copyWithin=="function")this.copyWithin(De,Re,Xe);else if(this===xe&&Re<De&&De<Xe)for(var $e=nt-1;$e>=0;--$e)xe[$e+De]=this[$e+Re];else Uint8Array.prototype.set.call(xe,this.subarray(Re,Xe),De);return nt},re.prototype.fill=function(xe,De,Re,Xe){if(typeof xe=="string"){if(typeof De=="string"?(Xe=De,De=0,Re=this.length):typeof Re=="string"&&(Xe=Re,Re=this.length),Xe!==void 0&&typeof Xe!="string")throw new TypeError("encoding must be a string");if(typeof Xe=="string"&&!re.isEncoding(Xe))throw new TypeError("Unknown encoding: "+Xe);if(xe.length===1){var nt=xe.charCodeAt(0);(Xe==="utf8"&&nt<128||Xe==="latin1")&&(xe=nt)}}else typeof xe=="number"&&(xe=xe&255);if(De<0||this.length<De||this.length<Re)throw new RangeError("Out of range index");if(Re<=De)return this;De=De>>>0,Re=Re===void 0?this.length:Re>>>0,xe||(xe=0);var $e;if(typeof xe=="number")for($e=De;$e<Re;++$e)this[$e]=xe;else{var tt=re.isBuffer(xe)?xe:re.from(xe,Xe),st=tt.length;if(st===0)throw new TypeError('The value "'+xe+'" is invalid for argument "value"');for($e=0;$e<Re-De;++$e)this[$e+De]=tt[$e%st]}return this};var rt=/[^+/0-9A-Za-z-_]/g;function Ye(Ie){if(Ie=Ie.split("=")[0],Ie=Ie.trim().replace(rt,""),Ie.length<2)return"";for(;Ie.length%4!==0;)Ie=Ie+"=";return Ie}function Ue(Ie){return Ie<16?"0"+Ie.toString(16):Ie.toString(16)}function Be(Ie,xe){xe=xe||1/0;for(var De,Re=Ie.length,Xe=null,nt=[],$e=0;$e<Re;++$e){if(De=Ie.charCodeAt($e),De>55295&&De<57344){if(!Xe){if(De>56319){(xe-=3)>-1&&nt.push(239,191,189);continue}else if($e+1===Re){(xe-=3)>-1&&nt.push(239,191,189);continue}Xe=De;continue}if(De<56320){(xe-=3)>-1&&nt.push(239,191,189),Xe=De;continue}De=(Xe-55296<<10|De-56320)+65536}else Xe&&(xe-=3)>-1&&nt.push(239,191,189);if(Xe=null,De<128){if((xe-=1)<0)break;nt.push(De)}else if(De<2048){if((xe-=2)<0)break;nt.push(De>>6|192,De&63|128)}else if(De<65536){if((xe-=3)<0)break;nt.push(De>>12|224,De>>6&63|128,De&63|128)}else if(De<1114112){if((xe-=4)<0)break;nt.push(De>>18|240,De>>12&63|128,De>>6&63|128,De&63|128)}else throw new Error("Invalid code point")}return nt}function Ze(Ie){for(var xe=[],De=0;De<Ie.length;++De)xe.push(Ie.charCodeAt(De)&255);return xe}function Te(Ie,xe){for(var De,Re,Xe,nt=[],$e=0;$e<Ie.length&&!((xe-=2)<0);++$e)De=Ie.charCodeAt($e),Re=De>>8,Xe=De%256,nt.push(Xe),nt.push(Re);return nt}function He(Ie){return oe.toByteArray(Ye(Ie))}function at(Ie,xe,De,Re){for(var Xe=0;Xe<Re&&!(Xe+De>=xe.length||Xe>=Ie.length);++Xe)xe[Xe+De]=Ie[Xe];return Xe}function et(Ie,xe){return Ie instanceof xe||Ie!=null&&Ie.constructor!=null&&Ie.constructor.name!=null&&Ie.constructor.name===xe.name}function Je(Ie){return Ie!==Ie}}).call(this)}).call(this,E("buffer").Buffer)},{"base64-js":87,buffer:90,ieee754:357}],91:[function(E,pe,he){pe.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,pe,he){"use strict";var ce=E("get-intrinsic"),oe=E("./"),ie=oe(ce("String.prototype.indexOf"));pe.exports=function(se,ae){var re=ce(se,!!ae);return typeof re=="function"&&ie(se,".prototype.")>-1?oe(re):re}},{"./":93,"get-intrinsic":348}],93:[function(E,pe,he){"use strict";var ce=E("function-bind"),oe=E("get-intrinsic"),ie=oe("%Function.prototype.apply%"),le=oe("%Function.prototype.call%"),se=oe("%Reflect.apply%",!0)||ce.call(le,ie),ae=oe("%Object.getOwnPropertyDescriptor%",!0),re=oe("%Object.defineProperty%",!0),ne=oe("%Math.max%");if(re)try{re({},"a",{value:1})}catch(a){re=null}pe.exports=function(y){var x=se(ce,le,arguments);if(ae&&re){var b=ae(x,"length");b.configurable&&re(x,"length",{value:1+ne(0,y.length-(arguments.length-1))})}return x};var te=function(){return se(ce,ie,arguments)};re?re(pe.exports,"apply",{value:te}):pe.exports.apply=te},{"function-bind":347,"get-intrinsic":348}],94:[function(E,pe,he){"use strict";var ce=Array.prototype.slice;pe.exports=oe;function oe(le,se){if(!(this instanceof oe))return new oe(le,se);this.src=le,this._withAccess=se}oe.prototype.withAccess=function(le){return this._withAccess=le!==!1,this},oe.prototype.pick=function(le){return Array.isArray(le)||(le=ce.call(arguments)),le.length&&(this.keys=le),this},oe.prototype.to=function(le){if(le=le||{},!this.src)return le;var se=this.keys||Object.keys(this.src);if(!this._withAccess){for(var ae=0;ae<se.length;ae++)re=se[ae],le[re]===void 0&&(le[re]=this.src[re]);return le}for(var ae=0;ae<se.length;ae++){var re=se[ae];if(ie(le,re)){var ne=this.src.__lookupGetter__(re),te=this.src.__lookupSetter__(re);ne&&le.__defineGetter__(re,ne),te&&le.__defineSetter__(re,te),!ne&&!te&&(le[re]=this.src[re])}}return le},oe.prototype.toCover=function(le){for(var se=this.keys||Object.keys(this.src),ae=0;ae<se.length;ae++){var re=se[ae];delete le[re];var ne=this.src.__lookupGetter__(re),te=this.src.__lookupSetter__(re);ne&&le.__defineGetter__(re,ne),te&&le.__defineSetter__(re,te),!ne&&!te&&(le[re]=this.src[re])}},oe.prototype.override=oe.prototype.toCover,oe.prototype.and=function(le){var se={};return this.to(se),this.src=le,this.to(se),this.src=se,this};function ie(le,se){return le[se]===void 0&&le.__lookupGetter__(se)===void 0&&le.__lookupSetter__(se)===void 0}},{}],95:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/is-callable"),ie=E("../internals/try-to-string"),le=ce.TypeError;pe.exports=function(se){if(oe(se))return se;throw le(ie(se)+" is not a function")}},{"../internals/global":163,"../internals/is-callable":176,"../internals/try-to-string":257}],96:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/is-constructor"),ie=E("../internals/try-to-string"),le=ce.TypeError;pe.exports=function(se){if(oe(se))return se;throw le(ie(se)+" is not a constructor")}},{"../internals/global":163,"../internals/is-constructor":177,"../internals/try-to-string":257}],97:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/is-callable"),ie=ce.String,le=ce.TypeError;pe.exports=function(se){if(typeof se=="object"||oe(se))return se;throw le("Can't set "+ie(se)+" as a prototype")}},{"../internals/global":163,"../internals/is-callable":176}],98:[function(E,pe,he){var ce=E("../internals/well-known-symbol"),oe=E("../internals/object-create"),ie=E("../internals/object-define-property"),le=ce("unscopables"),se=Array.prototype;se[le]==null&&ie.f(se,le,{configurable:!0,value:oe(null)}),pe.exports=function(ae){se[le][ae]=!0}},{"../internals/object-create":196,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],99:[function(E,pe,he){"use strict";var ce=E("../internals/string-multibyte").charAt;pe.exports=function(oe,ie,le){return ie+(le?ce(oe,ie).length:1)}},{"../internals/string-multibyte":239}],100:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/object-is-prototype-of"),ie=ce.TypeError;pe.exports=function(le,se){if(oe(se,le))return le;throw ie("Incorrect invocation")}},{"../internals/global":163,"../internals/object-is-prototype-of":204}],101:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/is-object"),ie=ce.String,le=ce.TypeError;pe.exports=function(se){if(oe(se))return se;throw le(ie(se)+" is not an object")}},{"../internals/global":163,"../internals/is-object":180}],102:[function(E,pe,he){pe.exports=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"},{}],103:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-native"),oe=E("../internals/descriptors"),ie=E("../internals/global"),le=E("../internals/is-callable"),se=E("../internals/is-object"),ae=E("../internals/has-own-property"),re=E("../internals/classof"),ne=E("../internals/try-to-string"),te=E("../internals/create-non-enumerable-property"),a=E("../internals/redefine"),y=E("../internals/object-define-property").f,x=E("../internals/object-is-prototype-of"),b=E("../internals/object-get-prototype-of"),ee=E("../internals/object-set-prototype-of"),z=E("../internals/well-known-symbol"),ue=E("../internals/uid"),de=ie.Int8Array,ge=de&&de.prototype,fe=ie.Uint8ClampedArray,me=fe&&fe.prototype,be=de&&b(de),ve=ge&&b(ge),Pe=Object.prototype,Ee=ie.TypeError,Ae=z("toStringTag"),Ce=ue("TYPED_ARRAY_TAG"),_e=ue("TYPED_ARRAY_CONSTRUCTOR"),we=ce&&!!ee&&re(ie.opera)!=="Opera",Me=!1,Oe,Fe,Le,Qe={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},We={BigInt64Array:8,BigUint64Array:8},Ge=function(rt){if(!se(rt))return!1;var Ye=re(rt);return Ye==="DataView"||ae(Qe,Ye)||ae(We,Ye)},Ke=function(qe){if(!se(qe))return!1;var rt=re(qe);return ae(Qe,rt)||ae(We,rt)},ze=function(qe){if(Ke(qe))return qe;throw Ee("Target is not a typed array")},ke=function(qe){if(le(qe)&&(!ee||x(be,qe)))return qe;throw Ee(ne(qe)+" is not a typed array constructor")},Ne=function(qe,rt,Ye,Ue){if(oe){if(Ye)for(var Be in Qe){var Ze=ie[Be];if(Ze&&ae(Ze.prototype,qe))try{delete Ze.prototype[qe]}catch(Te){try{Ze.prototype[qe]=rt}catch(He){}}}(!ve[qe]||Ye)&&a(ve,qe,Ye?rt:we&&ge[qe]||rt,Ue)}},Ve=function(qe,rt,Ye){var Ue,Be;if(oe){if(ee){if(Ye){for(Ue in Qe)if(Be=ie[Ue],Be&&ae(Be,qe))try{delete Be[qe]}catch(Ze){}}if(!be[qe]||Ye)try{return a(be,qe,Ye?rt:we&&be[qe]||rt)}catch(Ze){}else return}for(Ue in Qe)Be=ie[Ue],Be&&(!Be[qe]||Ye)&&a(Be,qe,rt)}};for(Oe in Qe)Fe=ie[Oe],Le=Fe&&Fe.prototype,Le?te(Le,_e,Fe):we=!1;for(Oe in We)Fe=ie[Oe],Le=Fe&&Fe.prototype,Le&&te(Le,_e,Fe);if((!we||!le(be)||be===Function.prototype)&&(be=function(){throw Ee("Incorrect invocation")},we))for(Oe in Qe)ie[Oe]&&ee(ie[Oe],be);if((!we||!ve||ve===Pe)&&(ve=be.prototype,we))for(Oe in Qe)ie[Oe]&&ee(ie[Oe].prototype,ve);if(we&&b(me)!==ve&&ee(me,ve),oe&&!ae(ve,Ae)){Me=!0,y(ve,Ae,{get:function(){return se(this)?this[Ce]:void 0}});for(Oe in Qe)ie[Oe]&&te(ie[Oe],Ce,Oe)}pe.exports={NATIVE_ARRAY_BUFFER_VIEWS:we,TYPED_ARRAY_CONSTRUCTOR:_e,TYPED_ARRAY_TAG:Me&&Ce,aTypedArray:ze,aTypedArrayConstructor:ke,exportTypedArrayMethod:Ne,exportTypedArrayStaticMethod:Ve,isView:Ge,isTypedArray:Ke,TypedArray:be,TypedArrayPrototype:ve}},{"../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,pe,he){"use strict";var ce=E("../internals/global"),oe=E("../internals/function-uncurry-this"),ie=E("../internals/descriptors"),le=E("../internals/array-buffer-native"),se=E("../internals/function-name"),ae=E("../internals/create-non-enumerable-property"),re=E("../internals/redefine-all"),ne=E("../internals/fails"),te=E("../internals/an-instance"),a=E("../internals/to-integer-or-infinity"),y=E("../internals/to-length"),x=E("../internals/to-index"),b=E("../internals/ieee754"),ee=E("../internals/object-get-prototype-of"),z=E("../internals/object-set-prototype-of"),ue=E("../internals/object-get-own-property-names").f,de=E("../internals/object-define-property").f,ge=E("../internals/array-fill"),fe=E("../internals/array-slice-simple"),me=E("../internals/set-to-string-tag"),be=E("../internals/internal-state"),ve=se.PROPER,Pe=se.CONFIGURABLE,Ee=be.get,Ae=be.set,Ce="ArrayBuffer",_e="DataView",we="prototype",Me="Wrong length",Oe="Wrong index",Fe=ce[Ce],Le=Fe,Qe=Le&&Le[we],We=ce[_e],Ge=We&&We[we],Ke=Object.prototype,ze=ce.Array,ke=ce.RangeError,Ne=oe(ge),Ve=oe([].reverse),qe=b.pack,rt=b.unpack,Ye=function($e){return[$e&255]},Ue=function($e){return[$e&255,$e>>8&255]},Be=function($e){return[$e&255,$e>>8&255,$e>>16&255,$e>>24&255]},Ze=function($e){return $e[3]<<24|$e[2]<<16|$e[1]<<8|$e[0]},Te=function($e){return qe($e,23,4)},He=function($e){return qe($e,52,8)},at=function($e,tt){de($e[we],tt,{get:function(){return Ee(this)[tt]}})},et=function($e,tt,st,it){var lt=x(st),ut=Ee($e);if(lt+tt>ut.byteLength)throw ke(Oe);var pt=Ee(ut.buffer).bytes,vt=lt+ut.byteOffset,mt=fe(pt,vt,vt+tt);return it?mt:Ve(mt)},Je=function($e,tt,st,it,lt,ut){var pt=x(st),vt=Ee($e);if(pt+tt>vt.byteLength)throw ke(Oe);for(var mt=Ee(vt.buffer).bytes,bt=pt+vt.byteOffset,_t=it(+lt),Mt=0;Mt<tt;Mt++)mt[bt+Mt]=_t[ut?Mt:tt-Mt-1]};if(!le)Le=function(tt){te(this,Qe);var st=x(tt);Ae(this,{bytes:Ne(ze(st),0),byteLength:st}),ie||(this.byteLength=st)},Qe=Le[we],We=function(tt,st,it){te(this,Ge),te(tt,Qe);var lt=Ee(tt).byteLength,ut=a(st);if(ut<0||ut>lt)throw ke("Wrong offset");if(it=it===void 0?lt-ut:y(it),ut+it>lt)throw ke(Me);Ae(this,{buffer:tt,byteLength:it,byteOffset:ut}),ie||(this.buffer=tt,this.byteLength=it,this.byteOffset=ut)},Ge=We[we],ie&&(at(Le,"byteLength"),at(We,"buffer"),at(We,"byteLength"),at(We,"byteOffset")),re(Ge,{getInt8:function(tt){return et(this,1,tt)[0]<<24>>24},getUint8:function(tt){return et(this,1,tt)[0]},getInt16:function(tt){var st=et(this,2,tt,arguments.length>1?arguments[1]:void 0);return(st[1]<<8|st[0])<<16>>16},getUint16:function(tt){var st=et(this,2,tt,arguments.length>1?arguments[1]:void 0);return st[1]<<8|st[0]},getInt32:function(tt){return Ze(et(this,4,tt,arguments.length>1?arguments[1]:void 0))},getUint32:function(tt){return Ze(et(this,4,tt,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(tt){return rt(et(this,4,tt,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(tt){return rt(et(this,8,tt,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(tt,st){Je(this,1,tt,Ye,st)},setUint8:function(tt,st){Je(this,1,tt,Ye,st)},setInt16:function(tt,st){Je(this,2,tt,Ue,st,arguments.length>2?arguments[2]:void 0)},setUint16:function(tt,st){Je(this,2,tt,Ue,st,arguments.length>2?arguments[2]:void 0)},setInt32:function(tt,st){Je(this,4,tt,Be,st,arguments.length>2?arguments[2]:void 0)},setUint32:function(tt,st){Je(this,4,tt,Be,st,arguments.length>2?arguments[2]:void 0)},setFloat32:function(tt,st){Je(this,4,tt,Te,st,arguments.length>2?arguments[2]:void 0)},setFloat64:function(tt,st){Je(this,8,tt,He,st,arguments.length>2?arguments[2]:void 0)}});else{var Ie=ve&&Fe.name!==Ce;if(!ne(function(){Fe(1)})||!ne(function(){new Fe(-1)})||ne(function(){return new Fe,new Fe(1.5),new Fe(NaN),Ie&&!Pe})){Le=function(tt){return te(this,Qe),new Fe(x(tt))},Le[we]=Qe;for(var xe=ue(Fe),De=0,Re;xe.length>De;)(Re=xe[De++])in Le||ae(Le,Re,Fe[Re]);Qe.constructor=Le}else Ie&&Pe&&ae(Fe,"name",Ce);z&&ee(Ge)!==Ke&&z(Ge,Ke);var Xe=new We(new Le(2)),nt=oe(Ge.setInt8);Xe.setInt8(0,2147483648),Xe.setInt8(1,2147483649),(Xe.getInt8(0)||!Xe.getInt8(1))&&re(Ge,{setInt8:function(tt,st){nt(this,tt,st<<24>>24)},setUint8:function(tt,st){nt(this,tt,st<<24>>24)}},{unsafe:!0})}me(Le,Ce),me(We,_e),pe.exports={ArrayBuffer:Le,DataView:We}},{"../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,pe,he){"use strict";var ce=E("../internals/to-object"),oe=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=Math.min;pe.exports=[].copyWithin||function(ae,re){var ne=ce(this),te=ie(ne),a=oe(ae,te),y=oe(re,te),x=arguments.length>2?arguments[2]:void 0,b=le((x===void 0?te:oe(x,te))-y,te-a),ee=1;for(y<a&&a<y+b&&(ee=-1,y+=b-1,a+=b-1);b-- >0;)y in ne?ne[a]=ne[y]:delete ne[a],a+=ee,y+=ee;return ne}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],106:[function(E,pe,he){"use strict";var ce=E("../internals/to-object"),oe=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like");pe.exports=function(se){for(var ae=ce(this),re=ie(ae),ne=arguments.length,te=oe(ne>1?arguments[1]:void 0,re),a=ne>2?arguments[2]:void 0,y=a===void 0?re:oe(a,re);y>te;)ae[te++]=se;return ae}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-object":250}],107:[function(E,pe,he){"use strict";var ce=E("../internals/array-iteration").forEach,oe=E("../internals/array-method-is-strict"),ie=oe("forEach");pe.exports=ie?[].forEach:function(se){return ce(this,se,arguments.length>1?arguments[1]:void 0)}},{"../internals/array-iteration":111,"../internals/array-method-is-strict":114}],108:[function(E,pe,he){var ce=E("../internals/length-of-array-like");pe.exports=function(oe,ie){for(var le=0,se=ce(ie),ae=new oe(se);se>le;)ae[le]=ie[le++];return ae}},{"../internals/length-of-array-like":188}],109:[function(E,pe,he){"use strict";var ce=E("../internals/global"),oe=E("../internals/function-bind-context"),ie=E("../internals/function-call"),le=E("../internals/to-object"),se=E("../internals/call-with-safe-iteration-closing"),ae=E("../internals/is-array-iterator-method"),re=E("../internals/is-constructor"),ne=E("../internals/length-of-array-like"),te=E("../internals/create-property"),a=E("../internals/get-iterator"),y=E("../internals/get-iterator-method"),x=ce.Array;pe.exports=function(ee){var z=le(ee),ue=re(this),de=arguments.length,ge=de>1?arguments[1]:void 0,fe=ge!==void 0;fe&&(ge=oe(ge,de>2?arguments[2]:void 0));var me=y(z),be=0,ve,Pe,Ee,Ae,Ce,_e;if(me&&!(this==x&&ae(me)))for(Ae=a(z,me),Ce=Ae.next,Pe=ue?new this:[];!(Ee=ie(Ce,Ae)).done;be++)_e=fe?se(Ae,ge,[Ee.value,be],!0):Ee.value,te(Pe,be,_e);else for(ve=ne(z),Pe=ue?new this(ve):x(ve);ve>be;be++)_e=fe?ge(z[be],be):z[be],te(Pe,be,_e);return Pe.length=be,Pe}},{"../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,pe,he){var ce=E("../internals/to-indexed-object"),oe=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=function(se){return function(ae,re,ne){var te=ce(ae),a=ie(te),y=oe(ne,a),x;if(se&&re!=re){for(;a>y;)if(x=te[y++],x!=x)return!0}else for(;a>y;y++)if((se||y in te)&&te[y]===re)return se||y||0;return!se&&-1}};pe.exports={includes:le(!0),indexOf:le(!1)}},{"../internals/length-of-array-like":188,"../internals/to-absolute-index":245,"../internals/to-indexed-object":247}],111:[function(E,pe,he){var ce=E("../internals/function-bind-context"),oe=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),le=E("../internals/to-object"),se=E("../internals/length-of-array-like"),ae=E("../internals/array-species-create"),re=oe([].push),ne=function(te){var a=te==1,y=te==2,x=te==3,b=te==4,ee=te==6,z=te==7,ue=te==5||ee;return function(de,ge,fe,me){for(var be=le(de),ve=ie(be),Pe=ce(ge,fe),Ee=se(ve),Ae=0,Ce=me||ae,_e=a?Ce(de,Ee):y||z?Ce(de,0):void 0,we,Me;Ee>Ae;Ae++)if((ue||Ae in ve)&&(we=ve[Ae],Me=Pe(we,Ae,be),te))if(a)_e[Ae]=Me;else if(Me)switch(te){case 3:return!0;case 5:return we;case 6:return Ae;case 2:re(_e,we)}else switch(te){case 4:return!1;case 7:re(_e,we)}return ee?-1:x||b?b:_e}};pe.exports={forEach:ne(0),map:ne(1),filter:ne(2),some:ne(3),every:ne(4),find:ne(5),findIndex:ne(6),filterReject:ne(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,pe,he){"use strict";var ce=E("../internals/function-apply"),oe=E("../internals/to-indexed-object"),ie=E("../internals/to-integer-or-infinity"),le=E("../internals/length-of-array-like"),se=E("../internals/array-method-is-strict"),ae=Math.min,re=[].lastIndexOf,ne=!!re&&1/[1].lastIndexOf(1,-0)<0,te=se("lastIndexOf"),a=ne||!te;pe.exports=a?function(x){if(ne)return ce(re,this,arguments)||0;var b=oe(this),ee=le(b),z=ee-1;for(arguments.length>1&&(z=ae(z,ie(arguments[1]))),z<0&&(z=ee+z);z>=0;z--)if(z in b&&b[z]===x)return z||0;return-1}:re},{"../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,pe,he){var ce=E("../internals/fails"),oe=E("../internals/well-known-symbol"),ie=E("../internals/engine-v8-version"),le=oe("species");pe.exports=function(se){return ie>=51||!ce(function(){var ae=[],re=ae.constructor={};return re[le]=function(){return{foo:1}},ae[se](Boolean).foo!==1})}},{"../internals/engine-v8-version":146,"../internals/fails":150,"../internals/well-known-symbol":268}],114:[function(E,pe,he){"use strict";var ce=E("../internals/fails");pe.exports=function(oe,ie){var le=[][oe];return!!le&&ce(function(){le.call(null,ie||function(){return 1},1)})}},{"../internals/fails":150}],115:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/a-callable"),ie=E("../internals/to-object"),le=E("../internals/indexed-object"),se=E("../internals/length-of-array-like"),ae=ce.TypeError,re=function(ne){return function(te,a,y,x){oe(a);var b=ie(te),ee=le(b),z=se(b),ue=ne?z-1:0,de=ne?-1:1;if(y<2)for(;;){if(ue in ee){x=ee[ue],ue+=de;break}if(ue+=de,ne?ue<0:z<=ue)throw ae("Reduce of empty array with no initial value")}for(;ne?ue>=0:z>ue;ue+=de)ue in ee&&(x=a(x,ee[ue],ue,b));return x}};pe.exports={left:re(!1),right:re(!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,pe,he){var ce=E("../internals/global"),oe=E("../internals/to-absolute-index"),ie=E("../internals/length-of-array-like"),le=E("../internals/create-property"),se=ce.Array,ae=Math.max;pe.exports=function(re,ne,te){for(var a=ie(re),y=oe(ne,a),x=oe(te===void 0?a:te,a),b=se(ae(x-y,0)),ee=0;y<x;y++,ee++)le(b,ee,re[y]);return b.length=ee,b}},{"../internals/create-property":131,"../internals/global":163,"../internals/length-of-array-like":188,"../internals/to-absolute-index":245}],117:[function(E,pe,he){var ce=E("../internals/function-uncurry-this");pe.exports=ce([].slice)},{"../internals/function-uncurry-this":157}],118:[function(E,pe,he){var ce=E("../internals/array-slice-simple"),oe=Math.floor,ie=function(ae,re){var ne=ae.length,te=oe(ne/2);return ne<8?le(ae,re):se(ae,ie(ce(ae,0,te),re),ie(ce(ae,te),re),re)},le=function(ae,re){for(var ne=ae.length,te=1,a,y;te<ne;){for(y=te,a=ae[te];y&&re(ae[y-1],a)>0;)ae[y]=ae[--y];y!==te++&&(ae[y]=a)}return ae},se=function(ae,re,ne,te){for(var a=re.length,y=ne.length,x=0,b=0;x<a||b<y;)ae[x+b]=x<a&&b<y?te(re[x],ne[b])<=0?re[x++]:ne[b++]:x<a?re[x++]:ne[b++];return ae};pe.exports=ie},{"../internals/array-slice-simple":116}],119:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/is-array"),ie=E("../internals/is-constructor"),le=E("../internals/is-object"),se=E("../internals/well-known-symbol"),ae=se("species"),re=ce.Array;pe.exports=function(ne){var te;return oe(ne)&&(te=ne.constructor,ie(te)&&(te===re||oe(te.prototype))?te=void 0:le(te)&&(te=te[ae],te===null&&(te=void 0))),te===void 0?re:te}},{"../internals/global":163,"../internals/is-array":175,"../internals/is-constructor":177,"../internals/is-object":180,"../internals/well-known-symbol":268}],120:[function(E,pe,he){var ce=E("../internals/array-species-constructor");pe.exports=function(oe,ie){return new(ce(oe))(ie===0?0:ie)}},{"../internals/array-species-constructor":119}],121:[function(E,pe,he){var ce=E("../internals/an-object"),oe=E("../internals/iterator-close");pe.exports=function(ie,le,se,ae){try{return ae?le(ce(se)[0],se[1]):le(se)}catch(re){oe(ie,"throw",re)}}},{"../internals/an-object":101,"../internals/iterator-close":185}],122:[function(E,pe,he){var ce=E("../internals/well-known-symbol"),oe=ce("iterator"),ie=!1;try{var le=0,se={next:function(){return{done:!!le++}},return:function(){ie=!0}};se[oe]=function(){return this},Array.from(se,function(){throw 2})}catch(ae){}pe.exports=function(ae,re){if(!re&&!ie)return!1;var ne=!1;try{var te={};te[oe]=function(){return{next:function(){return{done:ne=!0}}}},ae(te)}catch(a){}return ne}},{"../internals/well-known-symbol":268}],123:[function(E,pe,he){var ce=E("../internals/function-uncurry-this"),oe=ce({}.toString),ie=ce("".slice);pe.exports=function(le){return ie(oe(le),8,-1)}},{"../internals/function-uncurry-this":157}],124:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/to-string-tag-support"),ie=E("../internals/is-callable"),le=E("../internals/classof-raw"),se=E("../internals/well-known-symbol"),ae=se("toStringTag"),re=ce.Object,ne=le(function(){return arguments}())=="Arguments",te=function(a,y){try{return a[y]}catch(x){}};pe.exports=oe?le:function(a){var y,x,b;return a===void 0?"Undefined":a===null?"Null":typeof(x=te(y=re(a),ae))=="string"?x:ne?le(y):(b=le(y))=="Object"&&ie(y.callee)?"Arguments":b}},{"../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,pe,he){var ce=E("../internals/has-own-property"),oe=E("../internals/own-keys"),ie=E("../internals/object-get-own-property-descriptor"),le=E("../internals/object-define-property");pe.exports=function(se,ae,re){for(var ne=oe(ae),te=le.f,a=ie.f,y=0;y<ne.length;y++){var x=ne[y];!ce(se,x)&&!(re&&ce(re,x))&&te(se,x,a(ae,x))}}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/object-get-own-property-descriptor":199,"../internals/own-keys":212}],126:[function(E,pe,he){var ce=E("../internals/well-known-symbol"),oe=ce("match");pe.exports=function(ie){var le=/./;try{"/./"[ie](le)}catch(se){try{return le[oe]=!1,"/./"[ie](le)}catch(ae){}}return!1}},{"../internals/well-known-symbol":268}],127:[function(E,pe,he){var ce=E("../internals/fails");pe.exports=!ce(function(){function oe(){}return oe.prototype.constructor=null,Object.getPrototypeOf(new oe)!==oe.prototype})},{"../internals/fails":150}],128:[function(E,pe,he){"use strict";var ce=E("../internals/iterators-core").IteratorPrototype,oe=E("../internals/object-create"),ie=E("../internals/create-property-descriptor"),le=E("../internals/set-to-string-tag"),se=E("../internals/iterators"),ae=function(){return this};pe.exports=function(re,ne,te,a){var y=ne+" Iterator";return re.prototype=oe(ce,{next:ie(+!a,te)}),le(re,y,!1,!0),se[y]=ae,re}},{"../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,pe,he){var ce=E("../internals/descriptors"),oe=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");pe.exports=ce?function(le,se,ae){return oe.f(le,se,ie(1,ae))}:function(le,se,ae){return le[se]=ae,le}},{"../internals/create-property-descriptor":130,"../internals/descriptors":134,"../internals/object-define-property":198}],130:[function(E,pe,he){pe.exports=function(ce,oe){return{enumerable:!(ce&1),configurable:!(ce&2),writable:!(ce&4),value:oe}}},{}],131:[function(E,pe,he){"use strict";var ce=E("../internals/to-property-key"),oe=E("../internals/object-define-property"),ie=E("../internals/create-property-descriptor");pe.exports=function(le,se,ae){var re=ce(se);re in le?oe.f(le,re,ie(0,ae)):le[re]=ae}},{"../internals/create-property-descriptor":130,"../internals/object-define-property":198,"../internals/to-property-key":254}],132:[function(E,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/function-call"),ie=E("../internals/is-pure"),le=E("../internals/function-name"),se=E("../internals/is-callable"),ae=E("../internals/create-iterator-constructor"),re=E("../internals/object-get-prototype-of"),ne=E("../internals/object-set-prototype-of"),te=E("../internals/set-to-string-tag"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/redefine"),x=E("../internals/well-known-symbol"),b=E("../internals/iterators"),ee=E("../internals/iterators-core"),z=le.PROPER,ue=le.CONFIGURABLE,de=ee.IteratorPrototype,ge=ee.BUGGY_SAFARI_ITERATORS,fe=x("iterator"),me="keys",be="values",ve="entries",Pe=function(){return this};pe.exports=function(Ee,Ae,Ce,_e,we,Me,Oe){ae(Ce,Ae,_e);var Fe=function(qe){if(qe===we&&Ke)return Ke;if(!ge&&qe in We)return We[qe];switch(qe){case me:return function(){return new Ce(this,qe)};case be:return function(){return new Ce(this,qe)};case ve:return function(){return new Ce(this,qe)}}return function(){return new Ce(this)}},Le=Ae+" Iterator",Qe=!1,We=Ee.prototype,Ge=We[fe]||We["@@iterator"]||we&&We[we],Ke=!ge&&Ge||Fe(we),ze=Ae=="Array"&&We.entries||Ge,ke,Ne,Ve;if(ze&&(ke=re(ze.call(new Ee)),ke!==Object.prototype&&ke.next&&(!ie&&re(ke)!==de&&(ne?ne(ke,de):se(ke[fe])||y(ke,fe,Pe)),te(ke,Le,!0,!0),ie&&(b[Le]=Pe))),z&&we==be&&Ge&&Ge.name!==be&&(!ie&&ue?a(We,"name",be):(Qe=!0,Ke=function(){return oe(Ge,this)})),we)if(Ne={values:Fe(be),keys:Me?Ke:Fe(me),entries:Fe(ve)},Oe)for(Ve in Ne)(ge||Qe||!(Ve in We))&&y(We,Ve,Ne[Ve]);else ce({target:Ae,proto:!0,forced:ge||Qe},Ne);return(!ie||Oe)&&We[fe]!==Ke&&y(We,fe,Ke,{name:we}),b[Ae]=Ke,Ne}},{"../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,pe,he){var ce=E("../internals/path"),oe=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol-wrapped"),le=E("../internals/object-define-property").f;pe.exports=function(se){var ae=ce.Symbol||(ce.Symbol={});oe(ae,se)||le(ae,se,{value:ie.f(se)})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/path":213,"../internals/well-known-symbol-wrapped":267}],134:[function(E,pe,he){var ce=E("../internals/fails");pe.exports=!ce(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},{"../internals/fails":150}],135:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/is-object"),ie=ce.document,le=oe(ie)&&oe(ie.createElement);pe.exports=function(se){return le?ie.createElement(se):{}}},{"../internals/global":163,"../internals/is-object":180}],136:[function(E,pe,he){pe.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,pe,he){var ce=E("../internals/document-create-element"),oe=ce("span").classList,ie=oe&&oe.constructor&&oe.constructor.prototype;pe.exports=ie===Object.prototype?void 0:ie},{"../internals/document-create-element":135}],138:[function(E,pe,he){var ce=E("../internals/engine-user-agent"),oe=ce.match(/firefox\/(\d+)/i);pe.exports=!!oe&&+oe[1]},{"../internals/engine-user-agent":145}],139:[function(E,pe,he){pe.exports=typeof window=="object"&&typeof Deno!="object"},{}],140:[function(E,pe,he){var ce=E("../internals/engine-user-agent");pe.exports=/MSIE|Trident/.test(ce)},{"../internals/engine-user-agent":145}],141:[function(E,pe,he){var ce=E("../internals/engine-user-agent"),oe=E("../internals/global");pe.exports=/ipad|iphone|ipod/i.test(ce)&&oe.Pebble!==void 0},{"../internals/engine-user-agent":145,"../internals/global":163}],142:[function(E,pe,he){var ce=E("../internals/engine-user-agent");pe.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(ce)},{"../internals/engine-user-agent":145}],143:[function(E,pe,he){var ce=E("../internals/classof-raw"),oe=E("../internals/global");pe.exports=ce(oe.process)=="process"},{"../internals/classof-raw":123,"../internals/global":163}],144:[function(E,pe,he){var ce=E("../internals/engine-user-agent");pe.exports=/web0s(?!.*chrome)/i.test(ce)},{"../internals/engine-user-agent":145}],145:[function(E,pe,he){var ce=E("../internals/get-built-in");pe.exports=ce("navigator","userAgent")||""},{"../internals/get-built-in":158}],146:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/engine-user-agent"),ie=ce.process,le=ce.Deno,se=ie&&ie.versions||le&&le.version,ae=se&&se.v8,re,ne;ae&&(re=ae.split("."),ne=re[0]>0&&re[0]<4?1:+(re[0]+re[1])),!ne&&oe&&(re=oe.match(/Edge\/(\d+)/),(!re||re[1]>=74)&&(re=oe.match(/Chrome\/(\d+)/),re&&(ne=+re[1]))),pe.exports=ne},{"../internals/engine-user-agent":145,"../internals/global":163}],147:[function(E,pe,he){var ce=E("../internals/engine-user-agent"),oe=ce.match(/AppleWebKit\/(\d+)\./);pe.exports=!!oe&&+oe[1]},{"../internals/engine-user-agent":145}],148:[function(E,pe,he){pe.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},{}],149:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/object-get-own-property-descriptor").f,ie=E("../internals/create-non-enumerable-property"),le=E("../internals/redefine"),se=E("../internals/set-global"),ae=E("../internals/copy-constructor-properties"),re=E("../internals/is-forced");pe.exports=function(ne,te){var a=ne.target,y=ne.global,x=ne.stat,b,ee,z,ue,de,ge;if(y?ee=ce:x?ee=ce[a]||se(a,{}):ee=(ce[a]||{}).prototype,ee)for(z in te){if(de=te[z],ne.noTargetGet?(ge=oe(ee,z),ue=ge&&ge.value):ue=ee[z],b=re(y?z:a+(x?".":"#")+z,ne.forced),!b&&ue!==void 0){if(typeof de==typeof ue)continue;ae(de,ue)}(ne.sham||ue&&ue.sham)&&ie(de,"sham",!0),le(ee,z,de,ne)}}},{"../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,pe,he){pe.exports=function(ce){try{return!!ce()}catch(oe){return!0}}},{}],151:[function(E,pe,he){"use strict";E("../modules/es.regexp.exec");var ce=E("../internals/function-uncurry-this"),oe=E("../internals/redefine"),ie=E("../internals/regexp-exec"),le=E("../internals/fails"),se=E("../internals/well-known-symbol"),ae=E("../internals/create-non-enumerable-property"),re=se("species"),ne=RegExp.prototype;pe.exports=function(te,a,y,x){var b=se(te),ee=!le(function(){var ge={};return ge[b]=function(){return 7},""[te](ge)!=7}),z=ee&&!le(function(){var ge=!1,fe=/a/;return te==="split"&&(fe={},fe.constructor={},fe.constructor[re]=function(){return fe},fe.flags="",fe[b]=/./[b]),fe.exec=function(){return ge=!0,null},fe[b](""),!ge});if(!ee||!z||y){var ue=ce(/./[b]),de=a(b,""[te],function(ge,fe,me,be,ve){var Pe=ce(ge),Ee=fe.exec;return Ee===ie||Ee===ne.exec?ee&&!ve?{done:!0,value:ue(fe,me,be)}:{done:!0,value:Pe(me,fe,be)}:{done:!1}});oe(String.prototype,te,de[0]),oe(ne,b,de[1])}x&&ae(ne[b],"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,pe,he){var ce=E("../internals/function-bind-native"),oe=Function.prototype,ie=oe.apply,le=oe.call;pe.exports=typeof Reflect=="object"&&Reflect.apply||(ce?le.bind(ie):function(){return le.apply(ie,arguments)})},{"../internals/function-bind-native":154}],153:[function(E,pe,he){var ce=E("../internals/function-uncurry-this"),oe=E("../internals/a-callable"),ie=E("../internals/function-bind-native"),le=ce(ce.bind);pe.exports=function(se,ae){return oe(se),ae===void 0?se:ie?le(se,ae):function(){return se.apply(ae,arguments)}}},{"../internals/a-callable":95,"../internals/function-bind-native":154,"../internals/function-uncurry-this":157}],154:[function(E,pe,he){var ce=E("../internals/fails");pe.exports=!ce(function(){var oe=function(){}.bind();return typeof oe!="function"||oe.hasOwnProperty("prototype")})},{"../internals/fails":150}],155:[function(E,pe,he){var ce=E("../internals/function-bind-native"),oe=Function.prototype.call;pe.exports=ce?oe.bind(oe):function(){return oe.apply(oe,arguments)}},{"../internals/function-bind-native":154}],156:[function(E,pe,he){var ce=E("../internals/descriptors"),oe=E("../internals/has-own-property"),ie=Function.prototype,le=ce&&Object.getOwnPropertyDescriptor,se=oe(ie,"name"),ae=se&&function(){}.name==="something",re=se&&(!ce||ce&&le(ie,"name").configurable);pe.exports={EXISTS:se,PROPER:ae,CONFIGURABLE:re}},{"../internals/descriptors":134,"../internals/has-own-property":164}],157:[function(E,pe,he){var ce=E("../internals/function-bind-native"),oe=Function.prototype,ie=oe.bind,le=oe.call,se=ce&&ie.bind(le,le);pe.exports=ce?function(ae){return ae&&se(ae)}:function(ae){return ae&&function(){return le.apply(ae,arguments)}}},{"../internals/function-bind-native":154}],158:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/is-callable"),ie=function(le){return oe(le)?le:void 0};pe.exports=function(le,se){return arguments.length<2?ie(ce[le]):ce[le]&&ce[le][se]}},{"../internals/global":163,"../internals/is-callable":176}],159:[function(E,pe,he){var ce=E("../internals/classof"),oe=E("../internals/get-method"),ie=E("../internals/iterators"),le=E("../internals/well-known-symbol"),se=le("iterator");pe.exports=function(ae){if(ae!=null)return oe(ae,se)||oe(ae,"@@iterator")||ie[ce(ae)]}},{"../internals/classof":124,"../internals/get-method":161,"../internals/iterators":187,"../internals/well-known-symbol":268}],160:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/an-object"),se=E("../internals/try-to-string"),ae=E("../internals/get-iterator-method"),re=ce.TypeError;pe.exports=function(ne,te){var a=arguments.length<2?ae(ne):te;if(ie(a))return le(oe(a,ne));throw re(se(ne)+" 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,pe,he){var ce=E("../internals/a-callable");pe.exports=function(oe,ie){var le=oe[ie];return le==null?void 0:ce(le)}},{"../internals/a-callable":95}],162:[function(E,pe,he){var ce=E("../internals/function-uncurry-this"),oe=E("../internals/to-object"),ie=Math.floor,le=ce("".charAt),se=ce("".replace),ae=ce("".slice),re=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,ne=/\$([$&'`]|\d{1,2})/g;pe.exports=function(te,a,y,x,b,ee){var z=y+te.length,ue=x.length,de=ne;return b!==void 0&&(b=oe(b),de=re),se(ee,de,function(ge,fe){var me;switch(le(fe,0)){case"$":return"$";case"&":return te;case"`":return ae(a,0,y);case"'":return ae(a,z);case"<":me=b[ae(fe,1,-1)];break;default:var be=+fe;if(be===0)return ge;if(be>ue){var ve=ie(be/10);return ve===0?ge:ve<=ue?x[ve-1]===void 0?le(fe,1):x[ve-1]+le(fe,1):ge}me=x[be-1]}return me===void 0?"":me})}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],163:[function(E,pe,he){(function(ce){(function(){var oe=function(ie){return ie&&ie.Math==Math&&ie};pe.exports=oe(typeof globalThis=="object"&&globalThis)||oe(typeof window=="object"&&window)||oe(typeof self=="object"&&self)||oe(typeof ce=="object"&&ce)||function(){return this}()||Function("return this")()}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],164:[function(E,pe,he){var ce=E("../internals/function-uncurry-this"),oe=E("../internals/to-object"),ie=ce({}.hasOwnProperty);pe.exports=Object.hasOwn||function(se,ae){return ie(oe(se),ae)}},{"../internals/function-uncurry-this":157,"../internals/to-object":250}],165:[function(E,pe,he){pe.exports={}},{}],166:[function(E,pe,he){var ce=E("../internals/global");pe.exports=function(oe,ie){var le=ce.console;le&&le.error&&(arguments.length==1?le.error(oe):le.error(oe,ie))}},{"../internals/global":163}],167:[function(E,pe,he){var ce=E("../internals/get-built-in");pe.exports=ce("document","documentElement")},{"../internals/get-built-in":158}],168:[function(E,pe,he){var ce=E("../internals/descriptors"),oe=E("../internals/fails"),ie=E("../internals/document-create-element");pe.exports=!ce&&!oe(function(){return Object.defineProperty(ie("div"),"a",{get:function(){return 7}}).a!=7})},{"../internals/descriptors":134,"../internals/document-create-element":135,"../internals/fails":150}],169:[function(E,pe,he){var ce=E("../internals/global"),oe=ce.Array,ie=Math.abs,le=Math.pow,se=Math.floor,ae=Math.log,re=Math.LN2,ne=function(a,y,x){var b=oe(x),ee=x*8-y-1,z=(1<<ee)-1,ue=z>>1,de=y===23?le(2,-24)-le(2,-77):0,ge=a<0||a===0&&1/a<0?1:0,fe=0,me,be,ve;for(a=ie(a),a!=a||a===1/0?(be=a!=a?1:0,me=z):(me=se(ae(a)/re),ve=le(2,-me),a*ve<1&&(me--,ve*=2),me+ue>=1?a+=de/ve:a+=de*le(2,1-ue),a*ve>=2&&(me++,ve/=2),me+ue>=z?(be=0,me=z):me+ue>=1?(be=(a*ve-1)*le(2,y),me=me+ue):(be=a*le(2,ue-1)*le(2,y),me=0));y>=8;)b[fe++]=be&255,be/=256,y-=8;for(me=me<<y|be,ee+=y;ee>0;)b[fe++]=me&255,me/=256,ee-=8;return b[--fe]|=ge*128,b},te=function(a,y){var x=a.length,b=x*8-y-1,ee=(1<<b)-1,z=ee>>1,ue=b-7,de=x-1,ge=a[de--],fe=ge&127,me;for(ge>>=7;ue>0;)fe=fe*256+a[de--],ue-=8;for(me=fe&(1<<-ue)-1,fe>>=-ue,ue+=y;ue>0;)me=me*256+a[de--],ue-=8;if(fe===0)fe=1-z;else{if(fe===ee)return me?NaN:ge?-1/0:1/0;me=me+le(2,y),fe=fe-z}return(ge?-1:1)*me*le(2,fe-y)};pe.exports={pack:ne,unpack:te}},{"../internals/global":163}],170:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),le=E("../internals/classof-raw"),se=ce.Object,ae=oe("".split);pe.exports=ie(function(){return!se("z").propertyIsEnumerable(0)})?function(re){return le(re)=="String"?ae(re,""):se(re)}:se},{"../internals/classof-raw":123,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],171:[function(E,pe,he){var ce=E("../internals/is-callable"),oe=E("../internals/is-object"),ie=E("../internals/object-set-prototype-of");pe.exports=function(le,se,ae){var re,ne;return ie&&ce(re=se.constructor)&&re!==ae&&oe(ne=re.prototype)&&ne!==ae.prototype&&ie(le,ne),le}},{"../internals/is-callable":176,"../internals/is-object":180,"../internals/object-set-prototype-of":208}],172:[function(E,pe,he){var ce=E("../internals/function-uncurry-this"),oe=E("../internals/is-callable"),ie=E("../internals/shared-store"),le=ce(Function.toString);oe(ie.inspectSource)||(ie.inspectSource=function(se){return le(se)}),pe.exports=ie.inspectSource},{"../internals/function-uncurry-this":157,"../internals/is-callable":176,"../internals/shared-store":236}],173:[function(E,pe,he){var ce=E("../internals/native-weak-map"),oe=E("../internals/global"),ie=E("../internals/function-uncurry-this"),le=E("../internals/is-object"),se=E("../internals/create-non-enumerable-property"),ae=E("../internals/has-own-property"),re=E("../internals/shared-store"),ne=E("../internals/shared-key"),te=E("../internals/hidden-keys"),a="Object already initialized",y=oe.TypeError,x=oe.WeakMap,b,ee,z,ue=function(Pe){return z(Pe)?ee(Pe):b(Pe,{})},de=function(Pe){return function(Ee){var Ae;if(!le(Ee)||(Ae=ee(Ee)).type!==Pe)throw y("Incompatible receiver, "+Pe+" required");return Ae}};if(ce||re.state){var ge=re.state||(re.state=new x),fe=ie(ge.get),me=ie(ge.has),be=ie(ge.set);b=function(Pe,Ee){if(me(ge,Pe))throw new y(a);return Ee.facade=Pe,be(ge,Pe,Ee),Ee},ee=function(Pe){return fe(ge,Pe)||{}},z=function(Pe){return me(ge,Pe)}}else{var ve=ne("state");te[ve]=!0,b=function(Pe,Ee){if(ae(Pe,ve))throw new y(a);return Ee.facade=Pe,se(Pe,ve,Ee),Ee},ee=function(Pe){return ae(Pe,ve)?Pe[ve]:{}},z=function(Pe){return ae(Pe,ve)}}pe.exports={set:b,get:ee,has:z,enforce:ue,getterFor:de}},{"../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,pe,he){var ce=E("../internals/well-known-symbol"),oe=E("../internals/iterators"),ie=ce("iterator"),le=Array.prototype;pe.exports=function(se){return se!==void 0&&(oe.Array===se||le[ie]===se)}},{"../internals/iterators":187,"../internals/well-known-symbol":268}],175:[function(E,pe,he){var ce=E("../internals/classof-raw");pe.exports=Array.isArray||function(ie){return ce(ie)=="Array"}},{"../internals/classof-raw":123}],176:[function(E,pe,he){pe.exports=function(ce){return typeof ce=="function"}},{}],177:[function(E,pe,he){var ce=E("../internals/function-uncurry-this"),oe=E("../internals/fails"),ie=E("../internals/is-callable"),le=E("../internals/classof"),se=E("../internals/get-built-in"),ae=E("../internals/inspect-source"),re=function(){},ne=[],te=se("Reflect","construct"),a=/^\s*(?:class|function)\b/,y=ce(a.exec),x=!a.exec(re),b=function(ue){if(!ie(ue))return!1;try{return te(re,ne,ue),!0}catch(de){return!1}},ee=function(ue){if(!ie(ue))return!1;switch(le(ue)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return x||!!y(a,ae(ue))}catch(de){return!0}};ee.sham=!0,pe.exports=!te||oe(function(){var z;return b(b.call)||!b(Object)||!b(function(){z=!0})||z})?ee:b},{"../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,pe,he){var ce=E("../internals/fails"),oe=E("../internals/is-callable"),ie=/#|\.prototype\./,le=function(te,a){var y=ae[se(te)];return y==ne?!0:y==re?!1:oe(a)?ce(a):!!a},se=le.normalize=function(te){return String(te).replace(ie,".").toLowerCase()},ae=le.data={},re=le.NATIVE="N",ne=le.POLYFILL="P";pe.exports=le},{"../internals/fails":150,"../internals/is-callable":176}],179:[function(E,pe,he){var ce=E("../internals/is-object"),oe=Math.floor;pe.exports=Number.isInteger||function(le){return!ce(le)&&isFinite(le)&&oe(le)===le}},{"../internals/is-object":180}],180:[function(E,pe,he){var ce=E("../internals/is-callable");pe.exports=function(oe){return typeof oe=="object"?oe!==null:ce(oe)}},{"../internals/is-callable":176}],181:[function(E,pe,he){pe.exports=!1},{}],182:[function(E,pe,he){var ce=E("../internals/is-object"),oe=E("../internals/classof-raw"),ie=E("../internals/well-known-symbol"),le=ie("match");pe.exports=function(se){var ae;return ce(se)&&((ae=se[le])!==void 0?!!ae:oe(se)=="RegExp")}},{"../internals/classof-raw":123,"../internals/is-object":180,"../internals/well-known-symbol":268}],183:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/get-built-in"),ie=E("../internals/is-callable"),le=E("../internals/object-is-prototype-of"),se=E("../internals/use-symbol-as-uid"),ae=ce.Object;pe.exports=se?function(re){return typeof re=="symbol"}:function(re){var ne=oe("Symbol");return ie(ne)&&le(ne.prototype,ae(re))}},{"../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,pe,he){var ce=E("../internals/global"),oe=E("../internals/function-bind-context"),ie=E("../internals/function-call"),le=E("../internals/an-object"),se=E("../internals/try-to-string"),ae=E("../internals/is-array-iterator-method"),re=E("../internals/length-of-array-like"),ne=E("../internals/object-is-prototype-of"),te=E("../internals/get-iterator"),a=E("../internals/get-iterator-method"),y=E("../internals/iterator-close"),x=ce.TypeError,b=function(z,ue){this.stopped=z,this.result=ue},ee=b.prototype;pe.exports=function(z,ue,de){var ge=de&&de.that,fe=!!(de&&de.AS_ENTRIES),me=!!(de&&de.IS_ITERATOR),be=!!(de&&de.INTERRUPTED),ve=oe(ue,ge),Pe,Ee,Ae,Ce,_e,we,Me,Oe=function(Le){return Pe&&y(Pe,"normal",Le),new b(!0,Le)},Fe=function(Le){return fe?(le(Le),be?ve(Le[0],Le[1],Oe):ve(Le[0],Le[1])):be?ve(Le,Oe):ve(Le)};if(me)Pe=z;else{if(Ee=a(z),!Ee)throw x(se(z)+" is not iterable");if(ae(Ee)){for(Ae=0,Ce=re(z);Ce>Ae;Ae++)if(_e=Fe(z[Ae]),_e&&ne(ee,_e))return _e;return new b(!1)}Pe=te(z,Ee)}for(we=Pe.next;!(Me=ie(we,Pe)).done;){try{_e=Fe(Me.value)}catch(Le){y(Pe,"throw",Le)}if(typeof _e=="object"&&_e&&ne(ee,_e))return _e}return new b(!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,pe,he){var ce=E("../internals/function-call"),oe=E("../internals/an-object"),ie=E("../internals/get-method");pe.exports=function(le,se,ae){var re,ne;oe(le);try{if(re=ie(le,"return"),!re){if(se==="throw")throw ae;return ae}re=ce(re,le)}catch(te){ne=!0,re=te}if(se==="throw")throw ae;if(ne)throw re;return oe(re),ae}},{"../internals/an-object":101,"../internals/function-call":155,"../internals/get-method":161}],186:[function(E,pe,he){"use strict";var ce=E("../internals/fails"),oe=E("../internals/is-callable"),ie=E("../internals/object-create"),le=E("../internals/object-get-prototype-of"),se=E("../internals/redefine"),ae=E("../internals/well-known-symbol"),re=E("../internals/is-pure"),ne=ae("iterator"),te=!1,a,y,x;[].keys&&(x=[].keys(),"next"in x?(y=le(le(x)),y!==Object.prototype&&(a=y)):te=!0);var b=a==null||ce(function(){var ee={};return a[ne].call(ee)!==ee});b?a={}:re&&(a=ie(a)),oe(a[ne])||se(a,ne,function(){return this}),pe.exports={IteratorPrototype:a,BUGGY_SAFARI_ITERATORS:te}},{"../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,pe,he){arguments[4][165][0].apply(he,arguments)},{dup:165}],188:[function(E,pe,he){var ce=E("../internals/to-length");pe.exports=function(oe){return ce(oe.length)}},{"../internals/to-length":249}],189:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/function-bind-context"),ie=E("../internals/object-get-own-property-descriptor").f,le=E("../internals/task").set,se=E("../internals/engine-is-ios"),ae=E("../internals/engine-is-ios-pebble"),re=E("../internals/engine-is-webos-webkit"),ne=E("../internals/engine-is-node"),te=ce.MutationObserver||ce.WebKitMutationObserver,a=ce.document,y=ce.process,x=ce.Promise,b=ie(ce,"queueMicrotask"),ee=b&&b.value,z,ue,de,ge,fe,me,be,ve;ee||(z=function(){var Pe,Ee;for(ne&&(Pe=y.domain)&&Pe.exit();ue;){Ee=ue.fn,ue=ue.next;try{Ee()}catch(Ae){throw ue?ge():de=void 0,Ae}}de=void 0,Pe&&Pe.enter()},!se&&!ne&&!re&&te&&a?(fe=!0,me=a.createTextNode(""),new te(z).observe(me,{characterData:!0}),ge=function(){me.data=fe=!fe}):!ae&&x&&x.resolve?(be=x.resolve(void 0),be.constructor=x,ve=oe(be.then,be),ge=function(){ve(z)}):ne?ge=function(){y.nextTick(z)}:(le=oe(le,ce),ge=function(){le(z)})),pe.exports=ee||function(Pe){var Ee={fn:Pe,next:void 0};de&&(de.next=Ee),ue||(ue=Ee,ge()),de=Ee}},{"../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,pe,he){var ce=E("../internals/native-symbol");pe.exports=ce&&!!Symbol.for&&!!Symbol.keyFor},{"../internals/native-symbol":191}],191:[function(E,pe,he){var ce=E("../internals/engine-v8-version"),oe=E("../internals/fails");pe.exports=!!Object.getOwnPropertySymbols&&!oe(function(){var ie=Symbol();return!String(ie)||!(Object(ie)instanceof Symbol)||!Symbol.sham&&ce&&ce<41})},{"../internals/engine-v8-version":146,"../internals/fails":150}],192:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/is-callable"),ie=E("../internals/inspect-source"),le=ce.WeakMap;pe.exports=oe(le)&&/native code/.test(ie(le))},{"../internals/global":163,"../internals/inspect-source":172,"../internals/is-callable":176}],193:[function(E,pe,he){"use strict";var ce=E("../internals/a-callable"),oe=function(ie){var le,se;this.promise=new ie(function(ae,re){if(le!==void 0||se!==void 0)throw TypeError("Bad Promise constructor");le=ae,se=re}),this.resolve=ce(le),this.reject=ce(se)};pe.exports.f=function(ie){return new oe(ie)}},{"../internals/a-callable":95}],194:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/is-regexp"),ie=ce.TypeError;pe.exports=function(le){if(oe(le))throw ie("The method doesn't accept regular expressions");return le}},{"../internals/global":163,"../internals/is-regexp":182}],195:[function(E,pe,he){"use strict";var ce=E("../internals/descriptors"),oe=E("../internals/function-uncurry-this"),ie=E("../internals/function-call"),le=E("../internals/fails"),se=E("../internals/object-keys"),ae=E("../internals/object-get-own-property-symbols"),re=E("../internals/object-property-is-enumerable"),ne=E("../internals/to-object"),te=E("../internals/indexed-object"),a=Object.assign,y=Object.defineProperty,x=oe([].concat);pe.exports=!a||le(function(){if(ce&&a({b:1},a(y({},"a",{enumerable:!0,get:function(){y(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},ee={},z=Symbol(),ue="abcdefghijklmnopqrst";return b[z]=7,ue.split("").forEach(function(de){ee[de]=de}),a({},b)[z]!=7||se(a({},ee)).join("")!=ue})?function(ee,z){for(var ue=ne(ee),de=arguments.length,ge=1,fe=ae.f,me=re.f;de>ge;)for(var be=te(arguments[ge++]),ve=fe?x(se(be),fe(be)):se(be),Pe=ve.length,Ee=0,Ae;Pe>Ee;)Ae=ve[Ee++],(!ce||ie(me,be,Ae))&&(ue[Ae]=be[Ae]);return ue}:a},{"../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,pe,he){var ce=E("../internals/an-object"),oe=E("../internals/object-define-properties"),ie=E("../internals/enum-bug-keys"),le=E("../internals/hidden-keys"),se=E("../internals/html"),ae=E("../internals/document-create-element"),re=E("../internals/shared-key"),ne=">",te="<",a="prototype",y="script",x=re("IE_PROTO"),b=function(){},ee=function(fe){return te+y+ne+fe+te+"/"+y+ne},z=function(fe){fe.write(ee("")),fe.close();var me=fe.parentWindow.Object;return fe=null,me},ue=function(){var fe=ae("iframe"),me="java"+y+":",be;return fe.style.display="none",se.appendChild(fe),fe.src=String(me),be=fe.contentWindow.document,be.open(),be.write(ee("document.F=Object")),be.close(),be.F},de,ge=function(){try{de=new ActiveXObject("htmlfile")}catch(me){}ge=typeof document!="undefined"?document.domain&&de?z(de):ue():z(de);for(var fe=ie.length;fe--;)delete ge[a][ie[fe]];return ge()};le[x]=!0,pe.exports=Object.create||function(me,be){var ve;return me!==null?(b[a]=ce(me),ve=new b,b[a]=null,ve[x]=me):ve=ge(),be===void 0?ve:oe.f(ve,be)}},{"../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,pe,he){var ce=E("../internals/descriptors"),oe=E("../internals/v8-prototype-define-bug"),ie=E("../internals/object-define-property"),le=E("../internals/an-object"),se=E("../internals/to-indexed-object"),ae=E("../internals/object-keys");he.f=ce&&!oe?Object.defineProperties:function(ne,te){le(ne);for(var a=se(te),y=ae(te),x=y.length,b=0,ee;x>b;)ie.f(ne,ee=y[b++],a[ee]);return ne}},{"../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,pe,he){var ce=E("../internals/global"),oe=E("../internals/descriptors"),ie=E("../internals/ie8-dom-define"),le=E("../internals/v8-prototype-define-bug"),se=E("../internals/an-object"),ae=E("../internals/to-property-key"),re=ce.TypeError,ne=Object.defineProperty,te=Object.getOwnPropertyDescriptor,a="enumerable",y="configurable",x="writable";he.f=oe?le?function(ee,z,ue){if(se(ee),z=ae(z),se(ue),typeof ee=="function"&&z==="prototype"&&"value"in ue&&x in ue&&!ue[x]){var de=te(ee,z);de&&de[x]&&(ee[z]=ue.value,ue={configurable:y in ue?ue[y]:de[y],enumerable:a in ue?ue[a]:de[a],writable:!1})}return ne(ee,z,ue)}:ne:function(ee,z,ue){if(se(ee),z=ae(z),se(ue),ie)try{return ne(ee,z,ue)}catch(de){}if("get"in ue||"set"in ue)throw re("Accessors not supported");return"value"in ue&&(ee[z]=ue.value),ee}},{"../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,pe,he){var ce=E("../internals/descriptors"),oe=E("../internals/function-call"),ie=E("../internals/object-property-is-enumerable"),le=E("../internals/create-property-descriptor"),se=E("../internals/to-indexed-object"),ae=E("../internals/to-property-key"),re=E("../internals/has-own-property"),ne=E("../internals/ie8-dom-define"),te=Object.getOwnPropertyDescriptor;he.f=ce?te:function(y,x){if(y=se(y),x=ae(x),ne)try{return te(y,x)}catch(b){}if(re(y,x))return le(!oe(ie.f,y,x),y[x])}},{"../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,pe,he){var ce=E("../internals/classof-raw"),oe=E("../internals/to-indexed-object"),ie=E("../internals/object-get-own-property-names").f,le=E("../internals/array-slice-simple"),se=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ae=function(re){try{return ie(re)}catch(ne){return le(se)}};pe.exports.f=function(ne){return se&&ce(ne)=="Window"?ae(ne):ie(oe(ne))}},{"../internals/array-slice-simple":116,"../internals/classof-raw":123,"../internals/object-get-own-property-names":201,"../internals/to-indexed-object":247}],201:[function(E,pe,he){var ce=E("../internals/object-keys-internal"),oe=E("../internals/enum-bug-keys"),ie=oe.concat("length","prototype");he.f=Object.getOwnPropertyNames||function(se){return ce(se,ie)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],202:[function(E,pe,he){he.f=Object.getOwnPropertySymbols},{}],203:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/has-own-property"),ie=E("../internals/is-callable"),le=E("../internals/to-object"),se=E("../internals/shared-key"),ae=E("../internals/correct-prototype-getter"),re=se("IE_PROTO"),ne=ce.Object,te=ne.prototype;pe.exports=ae?ne.getPrototypeOf:function(a){var y=le(a);if(oe(y,re))return y[re];var x=y.constructor;return ie(x)&&y instanceof x?x.prototype:y instanceof ne?te: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,pe,he){var ce=E("../internals/function-uncurry-this");pe.exports=ce({}.isPrototypeOf)},{"../internals/function-uncurry-this":157}],205:[function(E,pe,he){var ce=E("../internals/function-uncurry-this"),oe=E("../internals/has-own-property"),ie=E("../internals/to-indexed-object"),le=E("../internals/array-includes").indexOf,se=E("../internals/hidden-keys"),ae=ce([].push);pe.exports=function(re,ne){var te=ie(re),a=0,y=[],x;for(x in te)!oe(se,x)&&oe(te,x)&&ae(y,x);for(;ne.length>a;)oe(te,x=ne[a++])&&(~le(y,x)||ae(y,x));return y}},{"../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,pe,he){var ce=E("../internals/object-keys-internal"),oe=E("../internals/enum-bug-keys");pe.exports=Object.keys||function(le){return ce(le,oe)}},{"../internals/enum-bug-keys":148,"../internals/object-keys-internal":205}],207:[function(E,pe,he){"use strict";var ce={}.propertyIsEnumerable,oe=Object.getOwnPropertyDescriptor,ie=oe&&!ce.call({1:2},1);he.f=ie?function(se){var ae=oe(this,se);return!!ae&&ae.enumerable}:ce},{}],208:[function(E,pe,he){var ce=E("../internals/function-uncurry-this"),oe=E("../internals/an-object"),ie=E("../internals/a-possible-prototype");pe.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var le=!1,se={},ae;try{ae=ce(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ae(se,[]),le=se instanceof Array}catch(re){}return function(ne,te){return oe(ne),ie(te),le?ae(ne,te):ne.__proto__=te,ne}}():void 0)},{"../internals/a-possible-prototype":97,"../internals/an-object":101,"../internals/function-uncurry-this":157}],209:[function(E,pe,he){var ce=E("../internals/descriptors"),oe=E("../internals/function-uncurry-this"),ie=E("../internals/object-keys"),le=E("../internals/to-indexed-object"),se=E("../internals/object-property-is-enumerable").f,ae=oe(se),re=oe([].push),ne=function(te){return function(a){for(var y=le(a),x=ie(y),b=x.length,ee=0,z=[],ue;b>ee;)ue=x[ee++],(!ce||ae(y,ue))&&re(z,te?[ue,y[ue]]:y[ue]);return z}};pe.exports={entries:ne(!0),values:ne(!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,pe,he){"use strict";var ce=E("../internals/to-string-tag-support"),oe=E("../internals/classof");pe.exports=ce?{}.toString:function(){return"[object "+oe(this)+"]"}},{"../internals/classof":124,"../internals/to-string-tag-support":255}],211:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/function-call"),ie=E("../internals/is-callable"),le=E("../internals/is-object"),se=ce.TypeError;pe.exports=function(ae,re){var ne,te;if(re==="string"&&ie(ne=ae.toString)&&!le(te=oe(ne,ae))||ie(ne=ae.valueOf)&&!le(te=oe(ne,ae))||re!=="string"&&ie(ne=ae.toString)&&!le(te=oe(ne,ae)))return te;throw se("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,pe,he){var ce=E("../internals/get-built-in"),oe=E("../internals/function-uncurry-this"),ie=E("../internals/object-get-own-property-names"),le=E("../internals/object-get-own-property-symbols"),se=E("../internals/an-object"),ae=oe([].concat);pe.exports=ce("Reflect","ownKeys")||function(ne){var te=ie.f(se(ne)),a=le.f;return a?ae(te,a(ne)):te}},{"../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,pe,he){var ce=E("../internals/global");pe.exports=ce},{"../internals/global":163}],214:[function(E,pe,he){pe.exports=function(ce){try{return{error:!1,value:ce()}}catch(oe){return{error:!0,value:oe}}}},{}],215:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/promise-native-constructor"),ie=E("../internals/is-callable"),le=E("../internals/is-forced"),se=E("../internals/inspect-source"),ae=E("../internals/well-known-symbol"),re=E("../internals/engine-is-browser"),ne=E("../internals/is-pure"),te=E("../internals/engine-v8-version"),a=oe&&oe.prototype,y=ae("species"),x=!1,b=ie(ce.PromiseRejectionEvent),ee=le("Promise",function(){var z=se(oe),ue=z!==String(oe);if(!ue&&te===66||ne&&!(a.catch&&a.finally))return!0;if(te>=51&&/native code/.test(z))return!1;var de=new oe(function(me){me(1)}),ge=function(me){me(function(){},function(){})},fe=de.constructor={};return fe[y]=ge,x=de.then(function(){})instanceof ge,x?!ue&&re&&!b:!0});pe.exports={CONSTRUCTOR:ee,REJECTION_EVENT:b,SUBCLASSING:x}},{"../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,pe,he){var ce=E("../internals/global");pe.exports=ce.Promise},{"../internals/global":163}],217:[function(E,pe,he){var ce=E("../internals/an-object"),oe=E("../internals/is-object"),ie=E("../internals/new-promise-capability");pe.exports=function(le,se){if(ce(le),oe(se)&&se.constructor===le)return se;var ae=ie.f(le),re=ae.resolve;return re(se),ae.promise}},{"../internals/an-object":101,"../internals/is-object":180,"../internals/new-promise-capability":193}],218:[function(E,pe,he){var ce=E("../internals/promise-native-constructor"),oe=E("../internals/check-correctness-of-iteration"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR;pe.exports=ie||!oe(function(le){ce.all(le).then(void 0,function(){})})},{"../internals/check-correctness-of-iteration":122,"../internals/promise-constructor-detection":215,"../internals/promise-native-constructor":216}],219:[function(E,pe,he){var ce=E("../internals/object-define-property").f;pe.exports=function(oe,ie,le){le in oe||ce(oe,le,{configurable:!0,get:function(){return ie[le]},set:function(se){ie[le]=se}})}},{"../internals/object-define-property":198}],220:[function(E,pe,he){var ce=function(){this.head=null,this.tail=null};ce.prototype={add:function(oe){var ie={item:oe,next:null};this.head?this.tail.next=ie:this.head=ie,this.tail=ie},get:function(){var oe=this.head;if(oe)return this.head=oe.next,this.tail===oe&&(this.tail=null),oe.item}},pe.exports=ce},{}],221:[function(E,pe,he){var ce=E("../internals/redefine");pe.exports=function(oe,ie,le){for(var se in ie)ce(oe,se,ie[se],le);return oe}},{"../internals/redefine":222}],222:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/is-callable"),ie=E("../internals/has-own-property"),le=E("../internals/create-non-enumerable-property"),se=E("../internals/set-global"),ae=E("../internals/inspect-source"),re=E("../internals/internal-state"),ne=E("../internals/function-name").CONFIGURABLE,te=re.get,a=re.enforce,y=String(String).split("String");(pe.exports=function(x,b,ee,z){var ue=z?!!z.unsafe:!1,de=z?!!z.enumerable:!1,ge=z?!!z.noTargetGet:!1,fe=z&&z.name!==void 0?z.name:b,me;if(oe(ee)&&(String(fe).slice(0,7)==="Symbol("&&(fe="["+String(fe).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!ie(ee,"name")||ne&&ee.name!==fe)&&le(ee,"name",fe),me=a(ee),me.source||(me.source=y.join(typeof fe=="string"?fe:""))),x===ce){de?x[b]=ee:se(b,ee);return}else ue?!ge&&x[b]&&(de=!0):delete x[b];de?x[b]=ee:le(x,b,ee)})(Function.prototype,"toString",function(){return oe(this)&&te(this).source||ae(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,pe,he){var ce=E("../internals/global"),oe=E("../internals/function-call"),ie=E("../internals/an-object"),le=E("../internals/is-callable"),se=E("../internals/classof-raw"),ae=E("../internals/regexp-exec"),re=ce.TypeError;pe.exports=function(ne,te){var a=ne.exec;if(le(a)){var y=oe(a,ne,te);return y!==null&&ie(y),y}if(se(ne)==="RegExp")return oe(ae,ne,te);throw re("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,pe,he){"use strict";var ce=E("../internals/function-call"),oe=E("../internals/function-uncurry-this"),ie=E("../internals/to-string"),le=E("../internals/regexp-flags"),se=E("../internals/regexp-sticky-helpers"),ae=E("../internals/shared"),re=E("../internals/object-create"),ne=E("../internals/internal-state").get,te=E("../internals/regexp-unsupported-dot-all"),a=E("../internals/regexp-unsupported-ncg"),y=ae("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,b=x,ee=oe("".charAt),z=oe("".indexOf),ue=oe("".replace),de=oe("".slice),ge=function(){var ve=/a/,Pe=/b*/g;return ce(x,ve,"a"),ce(x,Pe,"a"),ve.lastIndex!==0||Pe.lastIndex!==0}(),fe=se.BROKEN_CARET,me=/()??/.exec("")[1]!==void 0,be=ge||me||fe||te||a;be&&(b=function(Pe){var Ee=this,Ae=ne(Ee),Ce=ie(Pe),_e=Ae.raw,we,Me,Oe,Fe,Le,Qe,We;if(_e)return _e.lastIndex=Ee.lastIndex,we=ce(b,_e,Ce),Ee.lastIndex=_e.lastIndex,we;var Ge=Ae.groups,Ke=fe&&Ee.sticky,ze=ce(le,Ee),ke=Ee.source,Ne=0,Ve=Ce;if(Ke&&(ze=ue(ze,"y",""),z(ze,"g")===-1&&(ze+="g"),Ve=de(Ce,Ee.lastIndex),Ee.lastIndex>0&&(!Ee.multiline||Ee.multiline&&ee(Ce,Ee.lastIndex-1)!==`
|
|
|
`)&&(ke="(?: "+ke+")",Ve=" "+Ve,Ne++),Me=new RegExp("^(?:"+ke+")",ze)),me&&(Me=new RegExp("^"+ke+"$(?!\\s)",ze)),ge&&(Oe=Ee.lastIndex),Fe=ce(x,Ke?Me:Ee,Ve),Ke?Fe?(Fe.input=de(Fe.input,Ne),Fe[0]=de(Fe[0],Ne),Fe.index=Ee.lastIndex,Ee.lastIndex+=Fe[0].length):Ee.lastIndex=0:ge&&Fe&&(Ee.lastIndex=Ee.global?Fe.index+Fe[0].length:Oe),me&&Fe&&Fe.length>1&&ce(y,Fe[0],Me,function(){for(Le=1;Le<arguments.length-2;Le++)arguments[Le]===void 0&&(Fe[Le]=void 0)}),Fe&&Ge)for(Fe.groups=Qe=re(null),Le=0;Le<Ge.length;Le++)We=Ge[Le],Qe[We[0]]=Fe[We[1]];return Fe}),pe.exports=b},{"../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,pe,he){"use strict";var ce=E("../internals/an-object");pe.exports=function(){var oe=ce(this),ie="";return oe.hasIndices&&(ie+="d"),oe.global&&(ie+="g"),oe.ignoreCase&&(ie+="i"),oe.multiline&&(ie+="m"),oe.dotAll&&(ie+="s"),oe.unicode&&(ie+="u"),oe.sticky&&(ie+="y"),ie}},{"../internals/an-object":101}],226:[function(E,pe,he){var ce=E("../internals/function-call"),oe=E("../internals/has-own-property"),ie=E("../internals/object-is-prototype-of"),le=E("../internals/regexp-flags"),se=RegExp.prototype;pe.exports=function(ae){var re=ae.flags;return re===void 0&&!("flags"in se)&&!oe(ae,"flags")&&ie(se,ae)?ce(le,ae):re}},{"../internals/function-call":155,"../internals/has-own-property":164,"../internals/object-is-prototype-of":204,"../internals/regexp-flags":225}],227:[function(E,pe,he){var ce=E("../internals/fails"),oe=E("../internals/global"),ie=oe.RegExp,le=ce(function(){var re=ie("a","y");return re.lastIndex=2,re.exec("abcd")!=null}),se=le||ce(function(){return!ie("a","y").sticky}),ae=le||ce(function(){var re=ie("^r","gy");return re.lastIndex=2,re.exec("str")!=null});pe.exports={BROKEN_CARET:ae,MISSED_STICKY:se,UNSUPPORTED_Y:le}},{"../internals/fails":150,"../internals/global":163}],228:[function(E,pe,he){var ce=E("../internals/fails"),oe=E("../internals/global"),ie=oe.RegExp;pe.exports=ce(function(){var le=ie(".","s");return!(le.dotAll&&le.exec(`
|
|
|
`)&&le.flags==="s")})},{"../internals/fails":150,"../internals/global":163}],229:[function(E,pe,he){var ce=E("../internals/fails"),oe=E("../internals/global"),ie=oe.RegExp;pe.exports=ce(function(){var le=ie("(?<a>b)","g");return le.exec("b").groups.a!=="b"||"b".replace(le,"$<a>c")!=="bc"})},{"../internals/fails":150,"../internals/global":163}],230:[function(E,pe,he){var ce=E("../internals/global"),oe=ce.TypeError;pe.exports=function(ie){if(ie==null)throw oe("Can't call method on "+ie);return ie}},{"../internals/global":163}],231:[function(E,pe,he){pe.exports=Object.is||function(oe,ie){return oe===ie?oe!==0||1/oe===1/ie:oe!=oe&&ie!=ie}},{}],232:[function(E,pe,he){var ce=E("../internals/global"),oe=Object.defineProperty;pe.exports=function(ie,le){try{oe(ce,ie,{value:le,configurable:!0,writable:!0})}catch(se){ce[ie]=le}return le}},{"../internals/global":163}],233:[function(E,pe,he){"use strict";var ce=E("../internals/get-built-in"),oe=E("../internals/object-define-property"),ie=E("../internals/well-known-symbol"),le=E("../internals/descriptors"),se=ie("species");pe.exports=function(ae){var re=ce(ae),ne=oe.f;le&&re&&!re[se]&&ne(re,se,{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,pe,he){var ce=E("../internals/object-define-property").f,oe=E("../internals/has-own-property"),ie=E("../internals/well-known-symbol"),le=ie("toStringTag");pe.exports=function(se,ae,re){se&&!re&&(se=se.prototype),se&&!oe(se,le)&&ce(se,le,{configurable:!0,value:ae})}},{"../internals/has-own-property":164,"../internals/object-define-property":198,"../internals/well-known-symbol":268}],235:[function(E,pe,he){var ce=E("../internals/shared"),oe=E("../internals/uid"),ie=ce("keys");pe.exports=function(le){return ie[le]||(ie[le]=oe(le))}},{"../internals/shared":237,"../internals/uid":263}],236:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/set-global"),ie="__core-js_shared__",le=ce[ie]||oe(ie,{});pe.exports=le},{"../internals/global":163,"../internals/set-global":232}],237:[function(E,pe,he){var ce=E("../internals/is-pure"),oe=E("../internals/shared-store");(pe.exports=function(ie,le){return oe[ie]||(oe[ie]=le!==void 0?le:{})})("versions",[]).push({version:"3.22.1",mode:ce?"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,pe,he){var ce=E("../internals/an-object"),oe=E("../internals/a-constructor"),ie=E("../internals/well-known-symbol"),le=ie("species");pe.exports=function(se,ae){var re=ce(se).constructor,ne;return re===void 0||(ne=ce(re)[le])==null?ae:oe(ne)}},{"../internals/a-constructor":96,"../internals/an-object":101,"../internals/well-known-symbol":268}],239:[function(E,pe,he){var ce=E("../internals/function-uncurry-this"),oe=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-string"),le=E("../internals/require-object-coercible"),se=ce("".charAt),ae=ce("".charCodeAt),re=ce("".slice),ne=function(te){return function(a,y){var x=ie(le(a)),b=oe(y),ee=x.length,z,ue;return b<0||b>=ee?te?"":void 0:(z=ae(x,b),z<55296||z>56319||b+1===ee||(ue=ae(x,b+1))<56320||ue>57343?te?se(x,b):z:te?re(x,b,b+2):(z-55296<<10)+(ue-56320)+65536)}};pe.exports={codeAt:ne(!1),charAt:ne(!0)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-integer-or-infinity":248,"../internals/to-string":256}],240:[function(E,pe,he){var ce=E("../internals/function-name").PROPER,oe=E("../internals/fails"),ie=E("../internals/whitespaces"),le="\u200B\x85\u180E";pe.exports=function(se){return oe(function(){return!!ie[se]()||le[se]()!==le||ce&&ie[se].name!==se})}},{"../internals/fails":150,"../internals/function-name":156,"../internals/whitespaces":269}],241:[function(E,pe,he){var ce=E("../internals/function-uncurry-this"),oe=E("../internals/require-object-coercible"),ie=E("../internals/to-string"),le=E("../internals/whitespaces"),se=ce("".replace),ae="["+le+"]",re=RegExp("^"+ae+ae+"*"),ne=RegExp(ae+ae+"*$"),te=function(a){return function(y){var x=ie(oe(y));return a&1&&(x=se(x,re,"")),a&2&&(x=se(x,ne,"")),x}};pe.exports={start:te(1),end:te(2),trim:te(3)}},{"../internals/function-uncurry-this":157,"../internals/require-object-coercible":230,"../internals/to-string":256,"../internals/whitespaces":269}],242:[function(E,pe,he){var ce=E("../internals/function-call"),oe=E("../internals/get-built-in"),ie=E("../internals/well-known-symbol"),le=E("../internals/redefine");pe.exports=function(){var se=oe("Symbol"),ae=se&&se.prototype,re=ae&&ae.valueOf,ne=ie("toPrimitive");ae&&!ae[ne]&&le(ae,ne,function(te){return ce(re,this)})}},{"../internals/function-call":155,"../internals/get-built-in":158,"../internals/redefine":222,"../internals/well-known-symbol":268}],243:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/function-apply"),ie=E("../internals/function-bind-context"),le=E("../internals/is-callable"),se=E("../internals/has-own-property"),ae=E("../internals/fails"),re=E("../internals/html"),ne=E("../internals/array-slice"),te=E("../internals/document-create-element"),a=E("../internals/validate-arguments-length"),y=E("../internals/engine-is-ios"),x=E("../internals/engine-is-node"),b=ce.setImmediate,ee=ce.clearImmediate,z=ce.process,ue=ce.Dispatch,de=ce.Function,ge=ce.MessageChannel,fe=ce.String,me=0,be={},ve="onreadystatechange",Pe,Ee,Ae,Ce;try{Pe=ce.location}catch(Fe){}var _e=function(Fe){if(se(be,Fe)){var Le=be[Fe];delete be[Fe],Le()}},we=function(Fe){return function(){_e(Fe)}},Me=function(Fe){_e(Fe.data)},Oe=function(Fe){ce.postMessage(fe(Fe),Pe.protocol+"//"+Pe.host)};(!b||!ee)&&(b=function(Le){a(arguments.length,1);var Qe=le(Le)?Le:de(Le),We=ne(arguments,1);return be[++me]=function(){oe(Qe,void 0,We)},Ee(me),me},ee=function(Le){delete be[Le]},x?Ee=function(Fe){z.nextTick(we(Fe))}:ue&&ue.now?Ee=function(Fe){ue.now(we(Fe))}:ge&&!y?(Ae=new ge,Ce=Ae.port2,Ae.port1.onmessage=Me,Ee=ie(Ce.postMessage,Ce)):ce.addEventListener&&le(ce.postMessage)&&!ce.importScripts&&Pe&&Pe.protocol!=="file:"&&!ae(Oe)?(Ee=Oe,ce.addEventListener("message",Me,!1)):ve in te("script")?Ee=function(Fe){re.appendChild(te("script"))[ve]=function(){re.removeChild(this),_e(Fe)}}:Ee=function(Fe){setTimeout(we(Fe),0)}),pe.exports={set:b,clear:ee}},{"../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,pe,he){var ce=E("../internals/function-uncurry-this");pe.exports=ce(1 .valueOf)},{"../internals/function-uncurry-this":157}],245:[function(E,pe,he){var ce=E("../internals/to-integer-or-infinity"),oe=Math.max,ie=Math.min;pe.exports=function(le,se){var ae=ce(le);return ae<0?oe(ae+se,0):ie(ae,se)}},{"../internals/to-integer-or-infinity":248}],246:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/to-integer-or-infinity"),ie=E("../internals/to-length"),le=ce.RangeError;pe.exports=function(se){if(se===void 0)return 0;var ae=oe(se),re=ie(ae);if(ae!==re)throw le("Wrong length or index");return re}},{"../internals/global":163,"../internals/to-integer-or-infinity":248,"../internals/to-length":249}],247:[function(E,pe,he){var ce=E("../internals/indexed-object"),oe=E("../internals/require-object-coercible");pe.exports=function(ie){return ce(oe(ie))}},{"../internals/indexed-object":170,"../internals/require-object-coercible":230}],248:[function(E,pe,he){var ce=Math.ceil,oe=Math.floor;pe.exports=function(ie){var le=+ie;return le!==le||le===0?0:(le>0?oe:ce)(le)}},{}],249:[function(E,pe,he){var ce=E("../internals/to-integer-or-infinity"),oe=Math.min;pe.exports=function(ie){return ie>0?oe(ce(ie),9007199254740991):0}},{"../internals/to-integer-or-infinity":248}],250:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/require-object-coercible"),ie=ce.Object;pe.exports=function(le){return ie(oe(le))}},{"../internals/global":163,"../internals/require-object-coercible":230}],251:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/to-positive-integer"),ie=ce.RangeError;pe.exports=function(le,se){var ae=oe(le);if(ae%se)throw ie("Wrong offset");return ae}},{"../internals/global":163,"../internals/to-positive-integer":252}],252:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/to-integer-or-infinity"),ie=ce.RangeError;pe.exports=function(le){var se=oe(le);if(se<0)throw ie("The argument can't be less than 0");return se}},{"../internals/global":163,"../internals/to-integer-or-infinity":248}],253:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/function-call"),ie=E("../internals/is-object"),le=E("../internals/is-symbol"),se=E("../internals/get-method"),ae=E("../internals/ordinary-to-primitive"),re=E("../internals/well-known-symbol"),ne=ce.TypeError,te=re("toPrimitive");pe.exports=function(a,y){if(!ie(a)||le(a))return a;var x=se(a,te),b;if(x){if(y===void 0&&(y="default"),b=oe(x,a,y),!ie(b)||le(b))return b;throw ne("Can't convert object to primitive value")}return y===void 0&&(y="number"),ae(a,y)}},{"../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,pe,he){var ce=E("../internals/to-primitive"),oe=E("../internals/is-symbol");pe.exports=function(ie){var le=ce(ie,"string");return oe(le)?le:le+""}},{"../internals/is-symbol":183,"../internals/to-primitive":253}],255:[function(E,pe,he){var ce=E("../internals/well-known-symbol"),oe=ce("toStringTag"),ie={};ie[oe]="z",pe.exports=String(ie)==="[object z]"},{"../internals/well-known-symbol":268}],256:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/classof"),ie=ce.String;pe.exports=function(le){if(oe(le)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return ie(le)}},{"../internals/classof":124,"../internals/global":163}],257:[function(E,pe,he){var ce=E("../internals/global"),oe=ce.String;pe.exports=function(ie){try{return oe(ie)}catch(le){return"Object"}}},{"../internals/global":163}],258:[function(E,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/global"),ie=E("../internals/function-call"),le=E("../internals/descriptors"),se=E("../internals/typed-array-constructors-require-wrappers"),ae=E("../internals/array-buffer-view-core"),re=E("../internals/array-buffer"),ne=E("../internals/an-instance"),te=E("../internals/create-property-descriptor"),a=E("../internals/create-non-enumerable-property"),y=E("../internals/is-integral-number"),x=E("../internals/to-length"),b=E("../internals/to-index"),ee=E("../internals/to-offset"),z=E("../internals/to-property-key"),ue=E("../internals/has-own-property"),de=E("../internals/classof"),ge=E("../internals/is-object"),fe=E("../internals/is-symbol"),me=E("../internals/object-create"),be=E("../internals/object-is-prototype-of"),ve=E("../internals/object-set-prototype-of"),Pe=E("../internals/object-get-own-property-names").f,Ee=E("../internals/typed-array-from"),Ae=E("../internals/array-iteration").forEach,Ce=E("../internals/set-species"),_e=E("../internals/object-define-property"),we=E("../internals/object-get-own-property-descriptor"),Me=E("../internals/internal-state"),Oe=E("../internals/inherit-if-required"),Fe=Me.get,Le=Me.set,Qe=_e.f,We=we.f,Ge=Math.round,Ke=oe.RangeError,ze=re.ArrayBuffer,ke=ze.prototype,Ne=re.DataView,Ve=ae.NATIVE_ARRAY_BUFFER_VIEWS,qe=ae.TYPED_ARRAY_CONSTRUCTOR,rt=ae.TYPED_ARRAY_TAG,Ye=ae.TypedArray,Ue=ae.TypedArrayPrototype,Be=ae.aTypedArrayConstructor,Ze=ae.isTypedArray,Te="BYTES_PER_ELEMENT",He="Wrong length",at=function(Re,Xe){Be(Re);for(var nt=0,$e=Xe.length,tt=new Re($e);$e>nt;)tt[nt]=Xe[nt++];return tt},et=function(Re,Xe){Qe(Re,Xe,{get:function(){return Fe(this)[Xe]}})},Je=function(Re){var Xe;return be(ke,Re)||(Xe=de(Re))=="ArrayBuffer"||Xe=="SharedArrayBuffer"},Ie=function(Re,Xe){return Ze(Re)&&!fe(Xe)&&Xe in Re&&y(+Xe)&&Xe>=0},xe=function(Xe,nt){return nt=z(nt),Ie(Xe,nt)?te(2,Xe[nt]):We(Xe,nt)},De=function(Xe,nt,$e){return nt=z(nt),Ie(Xe,nt)&&ge($e)&&ue($e,"value")&&!ue($e,"get")&&!ue($e,"set")&&!$e.configurable&&(!ue($e,"writable")||$e.writable)&&(!ue($e,"enumerable")||$e.enumerable)?(Xe[nt]=$e.value,Xe):Qe(Xe,nt,$e)};le?(Ve||(we.f=xe,_e.f=De,et(Ue,"buffer"),et(Ue,"byteOffset"),et(Ue,"byteLength"),et(Ue,"length")),ce({target:"Object",stat:!0,forced:!Ve},{getOwnPropertyDescriptor:xe,defineProperty:De}),pe.exports=function(Re,Xe,nt){var $e=Re.match(/\d+$/)[0]/8,tt=Re+(nt?"Clamped":"")+"Array",st="get"+Re,it="set"+Re,lt=oe[tt],ut=lt,pt=ut&&ut.prototype,vt={},mt=function(Mt,yt){var wt=Fe(Mt);return wt.view[st](yt*$e+wt.byteOffset,!0)},bt=function(Mt,yt,wt){var xt=Fe(Mt);nt&&(wt=(wt=Ge(wt))<0?0:wt>255?255:wt&255),xt.view[it](yt*$e+xt.byteOffset,wt,!0)},_t=function(Mt,yt){Qe(Mt,yt,{get:function(){return mt(this,yt)},set:function(wt){return bt(this,yt,wt)},enumerable:!0})};Ve?se&&(ut=Xe(function(Mt,yt,wt,xt){return ne(Mt,pt),Oe(function(){return ge(yt)?Je(yt)?xt!==void 0?new lt(yt,ee(wt,$e),xt):wt!==void 0?new lt(yt,ee(wt,$e)):new lt(yt):Ze(yt)?at(ut,yt):ie(Ee,ut,yt):new lt(b(yt))}(),Mt,ut)}),ve&&ve(ut,Ye),Ae(Pe(lt),function(Mt){Mt in ut||a(ut,Mt,lt[Mt])}),ut.prototype=pt):(ut=Xe(function(Mt,yt,wt,xt){ne(Mt,pt);var un=0,Vt=0,sn,Zt,en;if(!ge(yt))en=b(yt),Zt=en*$e,sn=new ze(Zt);else if(Je(yt)){sn=yt,Vt=ee(wt,$e);var Ht=yt.byteLength;if(xt===void 0){if(Ht%$e||(Zt=Ht-Vt,Zt<0))throw Ke(He)}else if(Zt=x(xt)*$e,Zt+Vt>Ht)throw Ke(He);en=Zt/$e}else return Ze(yt)?at(ut,yt):ie(Ee,ut,yt);for(Le(Mt,{buffer:sn,byteOffset:Vt,byteLength:Zt,length:en,view:new Ne(sn)});un<en;)_t(Mt,un++)}),ve&&ve(ut,Ye),pt=ut.prototype=me(Ue)),pt.constructor!==ut&&a(pt,"constructor",ut),a(pt,qe,ut),rt&&a(pt,rt,tt),vt[tt]=ut,ce({global:!0,forced:ut!=lt,sham:!Ve},vt),Te in ut||a(ut,Te,$e),Te in pt||a(pt,Te,$e),Ce(tt)}):pe.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,pe,he){var ce=E("../internals/global"),oe=E("../internals/fails"),ie=E("../internals/check-correctness-of-iteration"),le=E("../internals/array-buffer-view-core").NATIVE_ARRAY_BUFFER_VIEWS,se=ce.ArrayBuffer,ae=ce.Int8Array;pe.exports=!le||!oe(function(){ae(1)})||!oe(function(){new ae(-1)})||!ie(function(re){new ae,new ae(null),new ae(1.5),new ae(re)},!0)||oe(function(){return new ae(new se(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,pe,he){var ce=E("../internals/array-from-constructor-and-list"),oe=E("../internals/typed-array-species-constructor");pe.exports=function(ie,le){return ce(oe(ie),le)}},{"../internals/array-from-constructor-and-list":108,"../internals/typed-array-species-constructor":262}],261:[function(E,pe,he){var ce=E("../internals/function-bind-context"),oe=E("../internals/function-call"),ie=E("../internals/a-constructor"),le=E("../internals/to-object"),se=E("../internals/length-of-array-like"),ae=E("../internals/get-iterator"),re=E("../internals/get-iterator-method"),ne=E("../internals/is-array-iterator-method"),te=E("../internals/array-buffer-view-core").aTypedArrayConstructor;pe.exports=function(y){var x=ie(this),b=le(y),ee=arguments.length,z=ee>1?arguments[1]:void 0,ue=z!==void 0,de=re(b),ge,fe,me,be,ve,Pe;if(de&&!ne(de))for(ve=ae(b,de),Pe=ve.next,b=[];!(be=oe(Pe,ve)).done;)b.push(be.value);for(ue&&ee>2&&(z=ce(z,arguments[2])),fe=se(b),me=new(te(x))(fe),ge=0;fe>ge;ge++)me[ge]=ue?z(b[ge],ge):b[ge];return me}},{"../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,pe,he){var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/species-constructor"),ie=ce.TYPED_ARRAY_CONSTRUCTOR,le=ce.aTypedArrayConstructor;pe.exports=function(se){return le(oe(se,se[ie]))}},{"../internals/array-buffer-view-core":103,"../internals/species-constructor":238}],263:[function(E,pe,he){var ce=E("../internals/function-uncurry-this"),oe=0,ie=Math.random(),le=ce(1 .toString);pe.exports=function(se){return"Symbol("+(se===void 0?"":se)+")_"+le(++oe+ie,36)}},{"../internals/function-uncurry-this":157}],264:[function(E,pe,he){var ce=E("../internals/native-symbol");pe.exports=ce&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},{"../internals/native-symbol":191}],265:[function(E,pe,he){var ce=E("../internals/descriptors"),oe=E("../internals/fails");pe.exports=ce&&oe(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},{"../internals/descriptors":134,"../internals/fails":150}],266:[function(E,pe,he){var ce=E("../internals/global"),oe=ce.TypeError;pe.exports=function(ie,le){if(ie<le)throw oe("Not enough arguments");return ie}},{"../internals/global":163}],267:[function(E,pe,he){var ce=E("../internals/well-known-symbol");he.f=ce},{"../internals/well-known-symbol":268}],268:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/shared"),ie=E("../internals/has-own-property"),le=E("../internals/uid"),se=E("../internals/native-symbol"),ae=E("../internals/use-symbol-as-uid"),re=oe("wks"),ne=ce.Symbol,te=ne&&ne.for,a=ae?ne:ne&&ne.withoutSetter||le;pe.exports=function(y){if(!ie(re,y)||!(se||typeof re[y]=="string")){var x="Symbol."+y;se&&ie(ne,y)?re[y]=ne[y]:ae&&te?re[y]=te(x):re[y]=a(x)}return re[y]}},{"../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,pe,he){pe.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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/global"),ie=E("../internals/array-buffer"),le=E("../internals/set-species"),se="ArrayBuffer",ae=ie[se],re=oe[se];ce({global:!0,forced:re!==ae},{ArrayBuffer:ae}),le(se)},{"../internals/array-buffer":104,"../internals/export":149,"../internals/global":163,"../internals/set-species":233}],271:[function(E,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),le=E("../internals/array-buffer"),se=E("../internals/an-object"),ae=E("../internals/to-absolute-index"),re=E("../internals/to-length"),ne=E("../internals/species-constructor"),te=le.ArrayBuffer,a=le.DataView,y=a.prototype,x=oe(te.prototype.slice),b=oe(y.getUint8),ee=oe(y.setUint8),z=ie(function(){return!new te(2).slice(1,void 0).byteLength});ce({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:z},{slice:function(de,ge){if(x&&ge===void 0)return x(se(this),de);for(var fe=se(this).byteLength,me=ae(de,fe),be=ae(ge===void 0?fe:ge,fe),ve=new(ne(this,te))(re(be-me)),Pe=new a(this),Ee=new a(ve),Ae=0;me<be;)ee(Ee,Ae++,b(Pe,me++));return ve}})},{"../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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/global"),ie=E("../internals/fails"),le=E("../internals/is-array"),se=E("../internals/is-object"),ae=E("../internals/to-object"),re=E("../internals/length-of-array-like"),ne=E("../internals/create-property"),te=E("../internals/array-species-create"),a=E("../internals/array-method-has-species-support"),y=E("../internals/well-known-symbol"),x=E("../internals/engine-v8-version"),b=y("isConcatSpreadable"),ee=9007199254740991,z="Maximum allowed index exceeded",ue=oe.TypeError,de=x>=51||!ie(function(){var be=[];return be[b]=!1,be.concat()[0]!==be}),ge=a("concat"),fe=function(be){if(!se(be))return!1;var ve=be[b];return ve!==void 0?!!ve:le(be)},me=!de||!ge;ce({target:"Array",proto:!0,forced:me},{concat:function(ve){var Pe=ae(this),Ee=te(Pe,0),Ae=0,Ce,_e,we,Me,Oe;for(Ce=-1,we=arguments.length;Ce<we;Ce++)if(Oe=Ce===-1?Pe:arguments[Ce],fe(Oe)){if(Me=re(Oe),Ae+Me>ee)throw ue(z);for(_e=0;_e<Me;_e++,Ae++)_e in Oe&&ne(Ee,Ae,Oe[_e])}else{if(Ae>=ee)throw ue(z);ne(Ee,Ae++,Oe)}return Ee.length=Ae,Ee}})},{"../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,pe,he){var ce=E("../internals/export"),oe=E("../internals/array-fill"),ie=E("../internals/add-to-unscopables");ce({target:"Array",proto:!0},{fill:oe}),ie("fill")},{"../internals/add-to-unscopables":98,"../internals/array-fill":106,"../internals/export":149}],274:[function(E,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/array-iteration").filter,ie=E("../internals/array-method-has-species-support"),le=ie("filter");ce({target:"Array",proto:!0,forced:!le},{filter:function(ae){return oe(this,ae,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],275:[function(E,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/array-iteration").find,ie=E("../internals/add-to-unscopables"),le="find",se=!0;le in[]&&Array(1)[le](function(){se=!1}),ce({target:"Array",proto:!0,forced:se},{find:function(re){return oe(this,re,arguments.length>1?arguments[1]:void 0)}}),ie(le)},{"../internals/add-to-unscopables":98,"../internals/array-iteration":111,"../internals/export":149}],276:[function(E,pe,he){var ce=E("../internals/export"),oe=E("../internals/array-from"),ie=E("../internals/check-correctness-of-iteration"),le=!ie(function(se){Array.from(se)});ce({target:"Array",stat:!0,forced:le},{from:oe})},{"../internals/array-from":109,"../internals/check-correctness-of-iteration":122,"../internals/export":149}],277:[function(E,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/array-includes").includes,ie=E("../internals/add-to-unscopables");ce({target:"Array",proto:!0},{includes:function(se){return oe(this,se,arguments.length>1?arguments[1]:void 0)}}),ie("includes")},{"../internals/add-to-unscopables":98,"../internals/array-includes":110,"../internals/export":149}],278:[function(E,pe,he){"use strict";var ce=E("../internals/to-indexed-object"),oe=E("../internals/add-to-unscopables"),ie=E("../internals/iterators"),le=E("../internals/internal-state"),se=E("../internals/object-define-property").f,ae=E("../internals/define-iterator"),re=E("../internals/is-pure"),ne=E("../internals/descriptors"),te="Array Iterator",a=le.set,y=le.getterFor(te);pe.exports=ae(Array,"Array",function(b,ee){a(this,{type:te,target:ce(b),index:0,kind:ee})},function(){var b=y(this),ee=b.target,z=b.kind,ue=b.index++;return!ee||ue>=ee.length?(b.target=void 0,{value:void 0,done:!0}):z=="keys"?{value:ue,done:!1}:z=="values"?{value:ee[ue],done:!1}:{value:[ue,ee[ue]],done:!1}},"values");var x=ie.Arguments=ie.Array;if(oe("keys"),oe("values"),oe("entries"),!re&&ne&&x.name!=="values")try{se(x,"name",{value:"values"})}catch(b){}},{"../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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/function-uncurry-this"),ie=E("../internals/indexed-object"),le=E("../internals/to-indexed-object"),se=E("../internals/array-method-is-strict"),ae=oe([].join),re=ie!=Object,ne=se("join",",");ce({target:"Array",proto:!0,forced:re||!ne},{join:function(a){return ae(le(this),a===void 0?",":a)}})},{"../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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/array-iteration").map,ie=E("../internals/array-method-has-species-support"),le=ie("map");ce({target:"Array",proto:!0,forced:!le},{map:function(ae){return oe(this,ae,arguments.length>1?arguments[1]:void 0)}})},{"../internals/array-iteration":111,"../internals/array-method-has-species-support":113,"../internals/export":149}],281:[function(E,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/global"),ie=E("../internals/is-array"),le=E("../internals/is-constructor"),se=E("../internals/is-object"),ae=E("../internals/to-absolute-index"),re=E("../internals/length-of-array-like"),ne=E("../internals/to-indexed-object"),te=E("../internals/create-property"),a=E("../internals/well-known-symbol"),y=E("../internals/array-method-has-species-support"),x=E("../internals/array-slice"),b=y("slice"),ee=a("species"),z=oe.Array,ue=Math.max;ce({target:"Array",proto:!0,forced:!b},{slice:function(ge,fe){var me=ne(this),be=re(me),ve=ae(ge,be),Pe=ae(fe===void 0?be:fe,be),Ee,Ae,Ce;if(ie(me)&&(Ee=me.constructor,le(Ee)&&(Ee===z||ie(Ee.prototype))?Ee=void 0:se(Ee)&&(Ee=Ee[ee],Ee===null&&(Ee=void 0)),Ee===z||Ee===void 0))return x(me,ve,Pe);for(Ae=new(Ee===void 0?z:Ee)(ue(Pe-ve,0)),Ce=0;ve<Pe;ve++,Ce++)ve in me&&te(Ae,Ce,me[ve]);return Ae.length=Ce,Ae}})},{"../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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/function-uncurry-this"),ie=E("../internals/a-callable"),le=E("../internals/to-object"),se=E("../internals/length-of-array-like"),ae=E("../internals/to-string"),re=E("../internals/fails"),ne=E("../internals/array-sort"),te=E("../internals/array-method-is-strict"),a=E("../internals/engine-ff-version"),y=E("../internals/engine-is-ie-or-edge"),x=E("../internals/engine-v8-version"),b=E("../internals/engine-webkit-version"),ee=[],z=oe(ee.sort),ue=oe(ee.push),de=re(function(){ee.sort(void 0)}),ge=re(function(){ee.sort(null)}),fe=te("sort"),me=!re(function(){if(x)return x<70;if(!(a&&a>3)){if(y)return!0;if(b)return b<603;var Pe="",Ee,Ae,Ce,_e;for(Ee=65;Ee<76;Ee++){switch(Ae=String.fromCharCode(Ee),Ee){case 66:case 69:case 70:case 72:Ce=3;break;case 68:case 71:Ce=4;break;default:Ce=2}for(_e=0;_e<47;_e++)ee.push({k:Ae+_e,v:Ce})}for(ee.sort(function(we,Me){return Me.v-we.v}),_e=0;_e<ee.length;_e++)Ae=ee[_e].k.charAt(0),Pe.charAt(Pe.length-1)!==Ae&&(Pe+=Ae);return Pe!=="DGBEFHACIJK"}}),be=de||!ge||!fe||!me,ve=function(Pe){return function(Ee,Ae){return Ae===void 0?-1:Ee===void 0?1:Pe!==void 0?+Pe(Ee,Ae)||0:ae(Ee)>ae(Ae)?1:-1}};ce({target:"Array",proto:!0,forced:be},{sort:function(Ee){Ee!==void 0&&ie(Ee);var Ae=le(this);if(me)return Ee===void 0?z(Ae):z(Ae,Ee);var Ce=[],_e=se(Ae),we,Me;for(Me=0;Me<_e;Me++)Me in Ae&&ue(Ce,Ae[Me]);for(ne(Ce,ve(Ee)),we=Ce.length,Me=0;Me<we;)Ae[Me]=Ce[Me++];for(;Me<_e;)delete Ae[Me++];return Ae}})},{"../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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/global"),ie=E("../internals/to-absolute-index"),le=E("../internals/to-integer-or-infinity"),se=E("../internals/length-of-array-like"),ae=E("../internals/to-object"),re=E("../internals/array-species-create"),ne=E("../internals/create-property"),te=E("../internals/array-method-has-species-support"),a=te("splice"),y=oe.TypeError,x=Math.max,b=Math.min,ee=9007199254740991,z="Maximum allowed length exceeded";ce({target:"Array",proto:!0,forced:!a},{splice:function(de,ge){var fe=ae(this),me=se(fe),be=ie(de,me),ve=arguments.length,Pe,Ee,Ae,Ce,_e,we;if(ve===0?Pe=Ee=0:ve===1?(Pe=0,Ee=me-be):(Pe=ve-2,Ee=b(x(le(ge),0),me-be)),me+Pe-Ee>ee)throw y(z);for(Ae=re(fe,Ee),Ce=0;Ce<Ee;Ce++)_e=be+Ce,_e in fe&&ne(Ae,Ce,fe[_e]);if(Ae.length=Ee,Pe<Ee){for(Ce=be;Ce<me-Ee;Ce++)_e=Ce+Ee,we=Ce+Pe,_e in fe?fe[we]=fe[_e]:delete fe[we];for(Ce=me;Ce>me-Ee+Pe;Ce--)delete fe[Ce-1]}else if(Pe>Ee)for(Ce=me-Ee;Ce>be;Ce--)_e=Ce+Ee-1,we=Ce+Pe-1,_e in fe?fe[we]=fe[_e]:delete fe[we];for(Ce=0;Ce<Pe;Ce++)fe[Ce+be]=arguments[Ce+2];return fe.length=me-Ee+Pe,Ae}})},{"../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,pe,he){var ce=E("../internals/descriptors"),oe=E("../internals/function-name").EXISTS,ie=E("../internals/function-uncurry-this"),le=E("../internals/object-define-property").f,se=Function.prototype,ae=ie(se.toString),re=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,ne=ie(re.exec),te="name";ce&&!oe&&le(se,te,{configurable:!0,get:function(){try{return ne(re,ae(this))[1]}catch(a){return""}}})},{"../internals/descriptors":134,"../internals/function-name":156,"../internals/function-uncurry-this":157,"../internals/object-define-property":198}],285:[function(E,pe,he){var ce=E("../internals/export"),oe=E("../internals/get-built-in"),ie=E("../internals/function-apply"),le=E("../internals/function-call"),se=E("../internals/function-uncurry-this"),ae=E("../internals/fails"),re=E("../internals/is-array"),ne=E("../internals/is-callable"),te=E("../internals/is-object"),a=E("../internals/is-symbol"),y=E("../internals/array-slice"),x=E("../internals/native-symbol"),b=oe("JSON","stringify"),ee=se(/./.exec),z=se("".charAt),ue=se("".charCodeAt),de=se("".replace),ge=se(1 .toString),fe=/[\uD800-\uDFFF]/g,me=/^[\uD800-\uDBFF]$/,be=/^[\uDC00-\uDFFF]$/,ve=!x||ae(function(){var Ce=oe("Symbol")();return b([Ce])!="[null]"||b({a:Ce})!="{}"||b(Object(Ce))!="{}"}),Pe=ae(function(){return b("\uDF06\uD834")!=='"\\udf06\\ud834"'||b("\uDEAD")!=='"\\udead"'}),Ee=function(Ce,_e){var we=y(arguments),Me=_e;if(!(!te(_e)&&Ce===void 0||a(Ce)))return re(_e)||(_e=function(Oe,Fe){if(ne(Me)&&(Fe=le(Me,this,Oe,Fe)),!a(Fe))return Fe}),we[1]=_e,ie(b,null,we)},Ae=function(Ce,_e,we){var Me=z(we,_e-1),Oe=z(we,_e+1);return ee(me,Ce)&&!ee(be,Oe)||ee(be,Ce)&&!ee(me,Me)?"\\u"+ge(ue(Ce,0),16):Ce};b&&ce({target:"JSON",stat:!0,forced:ve||Pe},{stringify:function(_e,we,Me){var Oe=y(arguments),Fe=ie(ve?Ee:b,null,Oe);return Pe&&typeof Fe=="string"?de(Fe,fe,Ae):Fe}})},{"../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,pe,he){"use strict";var ce=E("../internals/descriptors"),oe=E("../internals/global"),ie=E("../internals/function-uncurry-this"),le=E("../internals/is-forced"),se=E("../internals/redefine"),ae=E("../internals/has-own-property"),re=E("../internals/inherit-if-required"),ne=E("../internals/object-is-prototype-of"),te=E("../internals/is-symbol"),a=E("../internals/to-primitive"),y=E("../internals/fails"),x=E("../internals/object-get-own-property-names").f,b=E("../internals/object-get-own-property-descriptor").f,ee=E("../internals/object-define-property").f,z=E("../internals/this-number-value"),ue=E("../internals/string-trim").trim,de="Number",ge=oe[de],fe=ge.prototype,me=oe.TypeError,be=ie("".slice),ve=ie("".charCodeAt),Pe=function(Me){var Oe=a(Me,"number");return typeof Oe=="bigint"?Oe:Ee(Oe)},Ee=function(Me){var Oe=a(Me,"number"),Fe,Le,Qe,We,Ge,Ke,ze,ke;if(te(Oe))throw me("Cannot convert a Symbol value to a number");if(typeof Oe=="string"&&Oe.length>2){if(Oe=ue(Oe),Fe=ve(Oe,0),Fe===43||Fe===45){if(Le=ve(Oe,2),Le===88||Le===120)return NaN}else if(Fe===48){switch(ve(Oe,1)){case 66:case 98:Qe=2,We=49;break;case 79:case 111:Qe=8,We=55;break;default:return+Oe}for(Ge=be(Oe,2),Ke=Ge.length,ze=0;ze<Ke;ze++)if(ke=ve(Ge,ze),ke<48||ke>We)return NaN;return parseInt(Ge,Qe)}}return+Oe};if(le(de,!ge(" 0o1")||!ge("0b1")||ge("+0x1"))){for(var Ae=function(Oe){var Fe=arguments.length<1?0:ge(Pe(Oe)),Le=this;return ne(fe,Le)&&y(function(){z(Le)})?re(Object(Fe),Le,Ae):Fe},Ce=ce?x(ge):"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(","),_e=0,we;Ce.length>_e;_e++)ae(ge,we=Ce[_e])&&!ae(Ae,we)&&ee(Ae,we,b(ge,we));Ae.prototype=fe,fe.constructor=Ae,se(oe,de,Ae)}},{"../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,pe,he){var ce=E("../internals/export"),oe=E("../internals/object-assign");ce({target:"Object",stat:!0,forced:Object.assign!==oe},{assign:oe})},{"../internals/export":149,"../internals/object-assign":195}],288:[function(E,pe,he){var ce=E("../internals/export"),oe=E("../internals/object-to-array").entries;ce({target:"Object",stat:!0},{entries:function(le){return oe(le)}})},{"../internals/export":149,"../internals/object-to-array":209}],289:[function(E,pe,he){var ce=E("../internals/export"),oe=E("../internals/native-symbol"),ie=E("../internals/fails"),le=E("../internals/object-get-own-property-symbols"),se=E("../internals/to-object"),ae=!oe||ie(function(){le.f(1)});ce({target:"Object",stat:!0,forced:ae},{getOwnPropertySymbols:function(ne){var te=le.f;return te?te(se(ne)):[]}})},{"../internals/export":149,"../internals/fails":150,"../internals/native-symbol":191,"../internals/object-get-own-property-symbols":202,"../internals/to-object":250}],290:[function(E,pe,he){var ce=E("../internals/export"),oe=E("../internals/to-object"),ie=E("../internals/object-keys"),le=E("../internals/fails"),se=le(function(){ie(1)});ce({target:"Object",stat:!0,forced:se},{keys:function(re){return ie(oe(re))}})},{"../internals/export":149,"../internals/fails":150,"../internals/object-keys":206,"../internals/to-object":250}],291:[function(E,pe,he){var ce=E("../internals/to-string-tag-support"),oe=E("../internals/redefine"),ie=E("../internals/object-to-string");ce||oe(Object.prototype,"toString",ie,{unsafe:!0})},{"../internals/object-to-string":210,"../internals/redefine":222,"../internals/to-string-tag-support":255}],292:[function(E,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/new-promise-capability"),se=E("../internals/perform"),ae=E("../internals/iterate"),re=E("../internals/promise-statics-incorrect-iteration");ce({target:"Promise",stat:!0,forced:re},{all:function(te){var a=this,y=le.f(a),x=y.resolve,b=y.reject,ee=se(function(){var z=ie(a.resolve),ue=[],de=0,ge=1;ae(te,function(fe){var me=de++,be=!1;ge++,oe(z,a,fe).then(function(ve){be||(be=!0,ue[me]=ve,--ge||x(ue))},b)}),--ge||x(ue)});return ee.error&&b(ee.value),y.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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/is-pure"),ie=E("../internals/promise-constructor-detection").CONSTRUCTOR,le=E("../internals/promise-native-constructor"),se=E("../internals/get-built-in"),ae=E("../internals/is-callable"),re=E("../internals/redefine"),ne=le&&le.prototype;if(ce({target:"Promise",proto:!0,forced:ie,real:!0},{catch:function(a){return this.then(void 0,a)}}),!oe&&ae(le)){var te=se("Promise").prototype.catch;ne.catch!==te&&re(ne,"catch",te,{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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/is-pure"),ie=E("../internals/engine-is-node"),le=E("../internals/global"),se=E("../internals/function-call"),ae=E("../internals/redefine"),re=E("../internals/redefine-all"),ne=E("../internals/object-set-prototype-of"),te=E("../internals/set-to-string-tag"),a=E("../internals/set-species"),y=E("../internals/a-callable"),x=E("../internals/is-callable"),b=E("../internals/is-object"),ee=E("../internals/an-instance"),z=E("../internals/species-constructor"),ue=E("../internals/task").set,de=E("../internals/microtask"),ge=E("../internals/host-report-errors"),fe=E("../internals/perform"),me=E("../internals/queue"),be=E("../internals/internal-state"),ve=E("../internals/promise-native-constructor"),Pe=E("../internals/promise-constructor-detection"),Ee=E("../internals/new-promise-capability"),Ae="Promise",Ce=Pe.CONSTRUCTOR,_e=Pe.REJECTION_EVENT,we=Pe.SUBCLASSING,Me=be.getterFor(Ae),Oe=be.set,Fe=ve&&ve.prototype,Le=ve,Qe=Fe,We=le.TypeError,Ge=le.document,Ke=le.process,ze=Ee.f,ke=ze,Ne=!!(Ge&&Ge.createEvent&&le.dispatchEvent),Ve="unhandledrejection",qe="rejectionhandled",rt=0,Ye=1,Ue=2,Be=1,Ze=2,Te,He,at,et,Je=function(it){var lt;return b(it)&&x(lt=it.then)?lt:!1},Ie=function(it,lt){var ut=lt.value,pt=lt.state==Ye,vt=pt?it.ok:it.fail,mt=it.resolve,bt=it.reject,_t=it.domain,Mt,yt,wt;try{vt?(pt||(lt.rejection===Ze&&nt(lt),lt.rejection=Be),vt===!0?Mt=ut:(_t&&_t.enter(),Mt=vt(ut),_t&&(_t.exit(),wt=!0)),Mt===it.promise?bt(We("Promise-chain cycle")):(yt=Je(Mt))?se(yt,Mt,mt,bt):mt(Mt)):bt(ut)}catch(xt){_t&&!wt&&_t.exit(),bt(xt)}},xe=function(it,lt){it.notified||(it.notified=!0,de(function(){for(var ut=it.reactions,pt;pt=ut.get();)Ie(pt,it);it.notified=!1,lt&&!it.rejection&&Re(it)}))},De=function(it,lt,ut){var pt,vt;Ne?(pt=Ge.createEvent("Event"),pt.promise=lt,pt.reason=ut,pt.initEvent(it,!1,!0),le.dispatchEvent(pt)):pt={promise:lt,reason:ut},!_e&&(vt=le["on"+it])?vt(pt):it===Ve&&ge("Unhandled promise rejection",ut)},Re=function(it){se(ue,le,function(){var lt=it.facade,ut=it.value,pt=Xe(it),vt;if(pt&&(vt=fe(function(){ie?Ke.emit("unhandledRejection",ut,lt):De(Ve,lt,ut)}),it.rejection=ie||Xe(it)?Ze:Be,vt.error))throw vt.value})},Xe=function(it){return it.rejection!==Be&&!it.parent},nt=function(it){se(ue,le,function(){var lt=it.facade;ie?Ke.emit("rejectionHandled",lt):De(qe,lt,it.value)})},$e=function(it,lt,ut){return function(pt){it(lt,pt,ut)}},tt=function(it,lt,ut){it.done||(it.done=!0,ut&&(it=ut),it.value=lt,it.state=Ue,xe(it,!0))},st=function(it,lt,ut){if(!it.done){it.done=!0,ut&&(it=ut);try{if(it.facade===lt)throw We("Promise can't be resolved itself");var pt=Je(lt);pt?de(function(){var vt={done:!1};try{se(pt,lt,$e(st,vt,it),$e(tt,vt,it))}catch(mt){tt(vt,mt,it)}}):(it.value=lt,it.state=Ye,xe(it,!1))}catch(vt){tt({done:!1},vt,it)}}};if(Ce&&(Le=function(lt){ee(this,Qe),y(lt),se(Te,this);var ut=Me(this);try{lt($e(st,ut),$e(tt,ut))}catch(pt){tt(ut,pt)}},Qe=Le.prototype,Te=function(lt){Oe(this,{type:Ae,done:!1,notified:!1,parent:!1,reactions:new me,rejection:!1,state:rt,value:void 0})},Te.prototype=re(Qe,{then:function(lt,ut){var pt=Me(this),vt=ze(z(this,Le));return pt.parent=!0,vt.ok=x(lt)?lt:!0,vt.fail=x(ut)&&ut,vt.domain=ie?Ke.domain:void 0,pt.state==rt?pt.reactions.add(vt):de(function(){Ie(vt,pt)}),vt.promise}}),He=function(){var it=new Te,lt=Me(it);this.promise=it,this.resolve=$e(st,lt),this.reject=$e(tt,lt)},Ee.f=ze=function(it){return it===Le||it===at?new He(it):ke(it)},!oe&&x(ve)&&Fe!==Object.prototype)){et=Fe.then,we||ae(Fe,"then",function(lt,ut){var pt=this;return new Le(function(vt,mt){se(et,pt,vt,mt)}).then(lt,ut)},{unsafe:!0});try{delete Fe.constructor}catch(it){}ne&&ne(Fe,Qe)}ce({global:!0,wrap:!0,forced:Ce},{Promise:Le}),te(Le,Ae,!1,!0),a(Ae)},{"../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,pe,he){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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/function-call"),ie=E("../internals/a-callable"),le=E("../internals/new-promise-capability"),se=E("../internals/perform"),ae=E("../internals/iterate"),re=E("../internals/promise-statics-incorrect-iteration");ce({target:"Promise",stat:!0,forced:re},{race:function(te){var a=this,y=le.f(a),x=y.reject,b=se(function(){var ee=ie(a.resolve);ae(te,function(z){oe(ee,a,z).then(y.resolve,x)})});return b.error&&x(b.value),y.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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/function-call"),ie=E("../internals/new-promise-capability"),le=E("../internals/promise-constructor-detection").CONSTRUCTOR;ce({target:"Promise",stat:!0,forced:le},{reject:function(ae){var re=ie.f(this);return oe(re.reject,void 0,ae),re.promise}})},{"../internals/export":149,"../internals/function-call":155,"../internals/new-promise-capability":193,"../internals/promise-constructor-detection":215}],298:[function(E,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/get-built-in"),ie=E("../internals/is-pure"),le=E("../internals/promise-native-constructor"),se=E("../internals/promise-constructor-detection").CONSTRUCTOR,ae=E("../internals/promise-resolve"),re=oe("Promise"),ne=ie&&!se;ce({target:"Promise",stat:!0,forced:ie||se},{resolve:function(a){return ae(ne&&this===re?le:this,a)}})},{"../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,pe,he){var ce=E("../internals/descriptors"),oe=E("../internals/global"),ie=E("../internals/function-uncurry-this"),le=E("../internals/is-forced"),se=E("../internals/inherit-if-required"),ae=E("../internals/create-non-enumerable-property"),re=E("../internals/object-get-own-property-names").f,ne=E("../internals/object-is-prototype-of"),te=E("../internals/is-regexp"),a=E("../internals/to-string"),y=E("../internals/regexp-get-flags"),x=E("../internals/regexp-sticky-helpers"),b=E("../internals/proxy-accessor"),ee=E("../internals/redefine"),z=E("../internals/fails"),ue=E("../internals/has-own-property"),de=E("../internals/internal-state").enforce,ge=E("../internals/set-species"),fe=E("../internals/well-known-symbol"),me=E("../internals/regexp-unsupported-dot-all"),be=E("../internals/regexp-unsupported-ncg"),ve=fe("match"),Pe=oe.RegExp,Ee=Pe.prototype,Ae=oe.SyntaxError,Ce=ie(Ee.exec),_e=ie("".charAt),we=ie("".replace),Me=ie("".indexOf),Oe=ie("".slice),Fe=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,Le=/a/g,Qe=/a/g,We=new Pe(Le)!==Le,Ge=x.MISSED_STICKY,Ke=x.UNSUPPORTED_Y,ze=ce&&(!We||Ge||me||be||z(function(){return Qe[ve]=!1,Pe(Le)!=Le||Pe(Qe)==Qe||Pe(Le,"i")!="/a/i"})),ke=function(Ye){for(var Ue=Ye.length,Be=0,Ze="",Te=!1,He;Be<=Ue;Be++){if(He=_e(Ye,Be),He==="\\"){Ze+=He+_e(Ye,++Be);continue}!Te&&He==="."?Ze+="[\\s\\S]":(He==="["?Te=!0:He==="]"&&(Te=!1),Ze+=He)}return Ze},Ne=function(Ye){for(var Ue=Ye.length,Be=0,Ze="",Te=[],He={},at=!1,et=!1,Je=0,Ie="",xe;Be<=Ue;Be++){if(xe=_e(Ye,Be),xe==="\\")xe=xe+_e(Ye,++Be);else if(xe==="]")at=!1;else if(!at)switch(!0){case xe==="[":at=!0;break;case xe==="(":Ce(Fe,Oe(Ye,Be+1))&&(Be+=2,et=!0),Ze+=xe,Je++;continue;case(xe===">"&&et):if(Ie===""||ue(He,Ie))throw new Ae("Invalid capture group name");He[Ie]=!0,Te[Te.length]=[Ie,Je],et=!1,Ie="";continue}et?Ie+=xe:Ze+=xe}return[Ze,Te]};if(le("RegExp",ze)){for(var Ve=function(Ue,Be){var Ze=ne(Ee,this),Te=te(Ue),He=Be===void 0,at=[],et=Ue,Je,Ie,xe,De,Re,Xe;if(!Ze&&Te&&He&&Ue.constructor===Ve)return Ue;if((Te||ne(Ee,Ue))&&(Ue=Ue.source,He&&(Be=y(et))),Ue=Ue===void 0?"":a(Ue),Be=Be===void 0?"":a(Be),et=Ue,me&&"dotAll"in Le&&(Ie=!!Be&&Me(Be,"s")>-1,Ie&&(Be=we(Be,/s/g,""))),Je=Be,Ge&&"sticky"in Le&&(xe=!!Be&&Me(Be,"y")>-1,xe&&Ke&&(Be=we(Be,/y/g,""))),be&&(De=Ne(Ue),Ue=De[0],at=De[1]),Re=se(Pe(Ue,Be),Ze?this:Ee,Ve),(Ie||xe||at.length)&&(Xe=de(Re),Ie&&(Xe.dotAll=!0,Xe.raw=Ve(ke(Ue),Je)),xe&&(Xe.sticky=!0),at.length&&(Xe.groups=at)),Ue!==et)try{ae(Re,"source",et===""?"(?:)":et)}catch(nt){}return Re},qe=re(Pe),rt=0;qe.length>rt;)b(Ve,Pe,qe[rt++]);Ee.constructor=Ve,Ve.prototype=Ee,ee(oe,"RegExp",Ve)}ge("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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/regexp-exec");ce({target:"RegExp",proto:!0,forced:/./.exec!==oe},{exec:oe})},{"../internals/export":149,"../internals/regexp-exec":224}],301:[function(E,pe,he){"use strict";var ce=E("../internals/function-name").PROPER,oe=E("../internals/redefine"),ie=E("../internals/an-object"),le=E("../internals/to-string"),se=E("../internals/fails"),ae=E("../internals/regexp-get-flags"),re="toString",ne=RegExp.prototype,te=ne[re],a=se(function(){return te.call({source:"a",flags:"b"})!="/a/b"}),y=ce&&te.name!=re;(a||y)&&oe(RegExp.prototype,re,function(){var b=ie(this),ee=le(b.source),z=le(ae(b));return"/"+ee+"/"+z},{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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/function-uncurry-this"),ie=E("../internals/not-a-regexp"),le=E("../internals/require-object-coercible"),se=E("../internals/to-string"),ae=E("../internals/correct-is-regexp-logic"),re=oe("".indexOf);ce({target:"String",proto:!0,forced:!ae("includes")},{includes:function(te){return!!~re(se(le(this)),se(ie(te)),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,pe,he){"use strict";var ce=E("../internals/string-multibyte").charAt,oe=E("../internals/to-string"),ie=E("../internals/internal-state"),le=E("../internals/define-iterator"),se="String Iterator",ae=ie.set,re=ie.getterFor(se);le(String,"String",function(ne){ae(this,{type:se,string:oe(ne),index:0})},function(){var te=re(this),a=te.string,y=te.index,x;return y>=a.length?{value:void 0,done:!0}:(x=ce(a,y),te.index+=x.length,{value:x,done:!1})})},{"../internals/define-iterator":132,"../internals/internal-state":173,"../internals/string-multibyte":239,"../internals/to-string":256}],304:[function(E,pe,he){"use strict";var ce=E("../internals/function-call"),oe=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),le=E("../internals/to-length"),se=E("../internals/to-string"),ae=E("../internals/require-object-coercible"),re=E("../internals/get-method"),ne=E("../internals/advance-string-index"),te=E("../internals/regexp-exec-abstract");oe("match",function(a,y,x){return[function(ee){var z=ae(this),ue=ee==null?void 0:re(ee,a);return ue?ce(ue,ee,z):new RegExp(ee)[a](se(z))},function(b){var ee=ie(this),z=se(b),ue=x(y,ee,z);if(ue.done)return ue.value;if(!ee.global)return te(ee,z);var de=ee.unicode;ee.lastIndex=0;for(var ge=[],fe=0,me;(me=te(ee,z))!==null;){var be=se(me[0]);ge[fe]=be,be===""&&(ee.lastIndex=ne(z,le(ee.lastIndex),de)),fe++}return fe===0?null:ge}]})},{"../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,pe,he){"use strict";var ce=E("../internals/function-apply"),oe=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),le=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/fails"),ae=E("../internals/an-object"),re=E("../internals/is-callable"),ne=E("../internals/to-integer-or-infinity"),te=E("../internals/to-length"),a=E("../internals/to-string"),y=E("../internals/require-object-coercible"),x=E("../internals/advance-string-index"),b=E("../internals/get-method"),ee=E("../internals/get-substitution"),z=E("../internals/regexp-exec-abstract"),ue=E("../internals/well-known-symbol"),de=ue("replace"),ge=Math.max,fe=Math.min,me=ie([].concat),be=ie([].push),ve=ie("".indexOf),Pe=ie("".slice),Ee=function(we){return we===void 0?we:String(we)},Ae=function(){return"a".replace(/./,"$0")==="$0"}(),Ce=function(){return/./[de]?/./[de]("a","$0")==="":!1}(),_e=!se(function(){var we=/./;return we.exec=function(){var Me=[];return Me.groups={a:"7"},Me},"".replace(we,"$<a>")!=="7"});le("replace",function(we,Me,Oe){var Fe=Ce?"$":"$0";return[function(Qe,We){var Ge=y(this),Ke=Qe==null?void 0:b(Qe,de);return Ke?oe(Ke,Qe,Ge,We):oe(Me,a(Ge),Qe,We)},function(Le,Qe){var We=ae(this),Ge=a(Le);if(typeof Qe=="string"&&ve(Qe,Fe)===-1&&ve(Qe,"$<")===-1){var Ke=Oe(Me,We,Ge,Qe);if(Ke.done)return Ke.value}var ze=re(Qe);ze||(Qe=a(Qe));var ke=We.global;if(ke){var Ne=We.unicode;We.lastIndex=0}for(var Ve=[];;){var qe=z(We,Ge);if(qe===null||(be(Ve,qe),!ke))break;var rt=a(qe[0]);rt===""&&(We.lastIndex=x(Ge,te(We.lastIndex),Ne))}for(var Ye="",Ue=0,Be=0;Be<Ve.length;Be++){qe=Ve[Be];for(var Ze=a(qe[0]),Te=ge(fe(ne(qe.index),Ge.length),0),He=[],at=1;at<qe.length;at++)be(He,Ee(qe[at]));var et=qe.groups;if(ze){var Je=me([Ze],He,Te,Ge);et!==void 0&&be(Je,et);var Ie=a(ce(Qe,void 0,Je))}else Ie=ee(Ze,Ge,Te,He,et,Qe);Te>=Ue&&(Ye+=Pe(Ge,Ue,Te)+Ie,Ue=Te+Ze.length)}return Ye+Pe(Ge,Ue)}]},!_e||!Ae||Ce)},{"../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,pe,he){"use strict";var ce=E("../internals/function-call"),oe=E("../internals/fix-regexp-well-known-symbol-logic"),ie=E("../internals/an-object"),le=E("../internals/require-object-coercible"),se=E("../internals/same-value"),ae=E("../internals/to-string"),re=E("../internals/get-method"),ne=E("../internals/regexp-exec-abstract");oe("search",function(te,a,y){return[function(b){var ee=le(this),z=b==null?void 0:re(b,te);return z?ce(z,b,ee):new RegExp(b)[te](ae(ee))},function(x){var b=ie(this),ee=ae(x),z=y(a,b,ee);if(z.done)return z.value;var ue=b.lastIndex;se(ue,0)||(b.lastIndex=0);var de=ne(b,ee);return se(b.lastIndex,ue)||(b.lastIndex=ue),de===null?-1:de.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,pe,he){"use strict";var ce=E("../internals/function-apply"),oe=E("../internals/function-call"),ie=E("../internals/function-uncurry-this"),le=E("../internals/fix-regexp-well-known-symbol-logic"),se=E("../internals/is-regexp"),ae=E("../internals/an-object"),re=E("../internals/require-object-coercible"),ne=E("../internals/species-constructor"),te=E("../internals/advance-string-index"),a=E("../internals/to-length"),y=E("../internals/to-string"),x=E("../internals/get-method"),b=E("../internals/array-slice-simple"),ee=E("../internals/regexp-exec-abstract"),z=E("../internals/regexp-exec"),ue=E("../internals/regexp-sticky-helpers"),de=E("../internals/fails"),ge=ue.UNSUPPORTED_Y,fe=4294967295,me=Math.min,be=[].push,ve=ie(/./.exec),Pe=ie(be),Ee=ie("".slice),Ae=!de(function(){var Ce=/(?:)/,_e=Ce.exec;Ce.exec=function(){return _e.apply(this,arguments)};var we="ab".split(Ce);return we.length!==2||we[0]!=="a"||we[1]!=="b"});le("split",function(Ce,_e,we){var Me;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?Me=function(Oe,Fe){var Le=y(re(this)),Qe=Fe===void 0?fe:Fe>>>0;if(Qe===0)return[];if(Oe===void 0)return[Le];if(!se(Oe))return oe(_e,Le,Oe,Qe);for(var We=[],Ge=(Oe.ignoreCase?"i":"")+(Oe.multiline?"m":"")+(Oe.unicode?"u":"")+(Oe.sticky?"y":""),Ke=0,ze=new RegExp(Oe.source,Ge+"g"),ke,Ne,Ve;(ke=oe(z,ze,Le))&&(Ne=ze.lastIndex,!(Ne>Ke&&(Pe(We,Ee(Le,Ke,ke.index)),ke.length>1&&ke.index<Le.length&&ce(be,We,b(ke,1)),Ve=ke[0].length,Ke=Ne,We.length>=Qe)));)ze.lastIndex===ke.index&&ze.lastIndex++;return Ke===Le.length?(Ve||!ve(ze,""))&&Pe(We,""):Pe(We,Ee(Le,Ke)),We.length>Qe?b(We,0,Qe):We}:"0".split(void 0,0).length?Me=function(Oe,Fe){return Oe===void 0&&Fe===0?[]:oe(_e,this,Oe,Fe)}:Me=_e,[function(Fe,Le){var Qe=re(this),We=Fe==null?void 0:x(Fe,Ce);return We?oe(We,Fe,Qe,Le):oe(Me,y(Qe),Fe,Le)},function(Oe,Fe){var Le=ae(this),Qe=y(Oe),We=we(Me,Le,Qe,Fe,Me!==_e);if(We.done)return We.value;var Ge=ne(Le,RegExp),Ke=Le.unicode,ze=(Le.ignoreCase?"i":"")+(Le.multiline?"m":"")+(Le.unicode?"u":"")+(ge?"g":"y"),ke=new Ge(ge?"^(?:"+Le.source+")":Le,ze),Ne=Fe===void 0?fe:Fe>>>0;if(Ne===0)return[];if(Qe.length===0)return ee(ke,Qe)===null?[Qe]:[];for(var Ve=0,qe=0,rt=[];qe<Qe.length;){ke.lastIndex=ge?0:qe;var Ye=ee(ke,ge?Ee(Qe,qe):Qe),Ue;if(Ye===null||(Ue=me(a(ke.lastIndex+(ge?qe:0)),Qe.length))===Ve)qe=te(Qe,qe,Ke);else{if(Pe(rt,Ee(Qe,Ve,qe)),rt.length===Ne)return rt;for(var Be=1;Be<=Ye.length-1;Be++)if(Pe(rt,Ye[Be]),rt.length===Ne)return rt;qe=Ve=Ue}}return Pe(rt,Ee(Qe,Ve)),rt}]},!Ae,ge)},{"../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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/string-trim").trim,ie=E("../internals/string-trim-forced");ce({target:"String",proto:!0,forced:ie("trim")},{trim:function(){return oe(this)}})},{"../internals/export":149,"../internals/string-trim":241,"../internals/string-trim-forced":240}],309:[function(E,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/global"),ie=E("../internals/function-call"),le=E("../internals/function-uncurry-this"),se=E("../internals/is-pure"),ae=E("../internals/descriptors"),re=E("../internals/native-symbol"),ne=E("../internals/fails"),te=E("../internals/has-own-property"),a=E("../internals/object-is-prototype-of"),y=E("../internals/an-object"),x=E("../internals/to-indexed-object"),b=E("../internals/to-property-key"),ee=E("../internals/to-string"),z=E("../internals/create-property-descriptor"),ue=E("../internals/object-create"),de=E("../internals/object-keys"),ge=E("../internals/object-get-own-property-names"),fe=E("../internals/object-get-own-property-names-external"),me=E("../internals/object-get-own-property-symbols"),be=E("../internals/object-get-own-property-descriptor"),ve=E("../internals/object-define-property"),Pe=E("../internals/object-define-properties"),Ee=E("../internals/object-property-is-enumerable"),Ae=E("../internals/redefine"),Ce=E("../internals/shared"),_e=E("../internals/shared-key"),we=E("../internals/hidden-keys"),Me=E("../internals/uid"),Oe=E("../internals/well-known-symbol"),Fe=E("../internals/well-known-symbol-wrapped"),Le=E("../internals/define-well-known-symbol"),Qe=E("../internals/symbol-define-to-primitive"),We=E("../internals/set-to-string-tag"),Ge=E("../internals/internal-state"),Ke=E("../internals/array-iteration").forEach,ze=_e("hidden"),ke="Symbol",Ne="prototype",Ve=Ge.set,qe=Ge.getterFor(ke),rt=Object[Ne],Ye=oe.Symbol,Ue=Ye&&Ye[Ne],Be=oe.TypeError,Ze=oe.QObject,Te=be.f,He=ve.f,at=fe.f,et=Ee.f,Je=le([].push),Ie=Ce("symbols"),xe=Ce("op-symbols"),De=Ce("wks"),Re=!Ze||!Ze[Ne]||!Ze[Ne].findChild,Xe=ae&&ne(function(){return ue(He({},"a",{get:function(){return He(this,"a",{value:7}).a}})).a!=7})?function(vt,mt,bt){var _t=Te(rt,mt);_t&&delete rt[mt],He(vt,mt,bt),_t&&vt!==rt&&He(rt,mt,_t)}:He,nt=function(vt,mt){var bt=Ie[vt]=ue(Ue);return Ve(bt,{type:ke,tag:vt,description:mt}),ae||(bt.description=mt),bt},$e=function(mt,bt,_t){mt===rt&&$e(xe,bt,_t),y(mt);var Mt=b(bt);return y(_t),te(Ie,Mt)?(_t.enumerable?(te(mt,ze)&&mt[ze][Mt]&&(mt[ze][Mt]=!1),_t=ue(_t,{enumerable:z(0,!1)})):(te(mt,ze)||He(mt,ze,z(1,{})),mt[ze][Mt]=!0),Xe(mt,Mt,_t)):He(mt,Mt,_t)},tt=function(mt,bt){y(mt);var _t=x(bt),Mt=de(_t).concat(pt(_t));return Ke(Mt,function(yt){(!ae||ie(it,_t,yt))&&$e(mt,yt,_t[yt])}),mt},st=function(mt,bt){return bt===void 0?ue(mt):tt(ue(mt),bt)},it=function(mt){var bt=b(mt),_t=ie(et,this,bt);return this===rt&&te(Ie,bt)&&!te(xe,bt)?!1:_t||!te(this,bt)||!te(Ie,bt)||te(this,ze)&&this[ze][bt]?_t:!0},lt=function(mt,bt){var _t=x(mt),Mt=b(bt);if(!(_t===rt&&te(Ie,Mt)&&!te(xe,Mt))){var yt=Te(_t,Mt);return yt&&te(Ie,Mt)&&!(te(_t,ze)&&_t[ze][Mt])&&(yt.enumerable=!0),yt}},ut=function(mt){var bt=at(x(mt)),_t=[];return Ke(bt,function(Mt){!te(Ie,Mt)&&!te(we,Mt)&&Je(_t,Mt)}),_t},pt=function(vt){var mt=vt===rt,bt=at(mt?xe:x(vt)),_t=[];return Ke(bt,function(Mt){te(Ie,Mt)&&(!mt||te(rt,Mt))&&Je(_t,Ie[Mt])}),_t};re||(Ye=function(){if(a(Ue,this))throw Be("Symbol is not a constructor");var mt=!arguments.length||arguments[0]===void 0?void 0:ee(arguments[0]),bt=Me(mt),_t=function(Mt){this===rt&&ie(_t,xe,Mt),te(this,ze)&&te(this[ze],bt)&&(this[ze][bt]=!1),Xe(this,bt,z(1,Mt))};return ae&&Re&&Xe(rt,bt,{configurable:!0,set:_t}),nt(bt,mt)},Ue=Ye[Ne],Ae(Ue,"toString",function(){return qe(this).tag}),Ae(Ye,"withoutSetter",function(vt){return nt(Me(vt),vt)}),Ee.f=it,ve.f=$e,Pe.f=tt,be.f=lt,ge.f=fe.f=ut,me.f=pt,Fe.f=function(vt){return nt(Oe(vt),vt)},ae&&(He(Ue,"description",{configurable:!0,get:function(){return qe(this).description}}),se||Ae(rt,"propertyIsEnumerable",it,{unsafe:!0}))),ce({global:!0,wrap:!0,forced:!re,sham:!re},{Symbol:Ye}),Ke(de(De),function(vt){Le(vt)}),ce({target:ke,stat:!0,forced:!re},{useSetter:function(){Re=!0},useSimple:function(){Re=!1}}),ce({target:"Object",stat:!0,forced:!re,sham:!ae},{create:st,defineProperty:$e,defineProperties:tt,getOwnPropertyDescriptor:lt}),ce({target:"Object",stat:!0,forced:!re},{getOwnPropertyNames:ut}),Qe(),We(Ye,ke),we[ze]=!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,pe,he){"use strict";var ce=E("../internals/export"),oe=E("../internals/descriptors"),ie=E("../internals/global"),le=E("../internals/function-uncurry-this"),se=E("../internals/has-own-property"),ae=E("../internals/is-callable"),re=E("../internals/object-is-prototype-of"),ne=E("../internals/to-string"),te=E("../internals/object-define-property").f,a=E("../internals/copy-constructor-properties"),y=ie.Symbol,x=y&&y.prototype;if(oe&&ae(y)&&(!("description"in x)||y().description!==void 0)){var b={},ee=function(){var ve=arguments.length<1||arguments[0]===void 0?void 0:ne(arguments[0]),Pe=re(x,this)?new y(ve):ve===void 0?y():y(ve);return ve===""&&(b[Pe]=!0),Pe};a(ee,y),ee.prototype=x,x.constructor=ee;var z=String(y("test"))=="Symbol(test)",ue=le(x.toString),de=le(x.valueOf),ge=/^Symbol\((.*)\)[^)]+$/,fe=le("".replace),me=le("".slice);te(x,"description",{configurable:!0,get:function(){var ve=de(this),Pe=ue(ve);if(se(b,ve))return"";var Ee=z?me(Pe,7,-1):fe(Pe,ge,"$1");return Ee===""?void 0:Ee}}),ce({global:!0,forced:!0},{Symbol:ee})}},{"../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,pe,he){var ce=E("../internals/export"),oe=E("../internals/get-built-in"),ie=E("../internals/has-own-property"),le=E("../internals/to-string"),se=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),re=se("string-to-symbol-registry"),ne=se("symbol-to-string-registry");ce({target:"Symbol",stat:!0,forced:!ae},{for:function(te){var a=le(te);if(ie(re,a))return re[a];var y=oe("Symbol")(a);return re[a]=y,ne[y]=a,y}})},{"../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,pe,he){var ce=E("../internals/define-well-known-symbol");ce("iterator")},{"../internals/define-well-known-symbol":133}],313:[function(E,pe,he){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,pe,he){var ce=E("../internals/export"),oe=E("../internals/has-own-property"),ie=E("../internals/is-symbol"),le=E("../internals/try-to-string"),se=E("../internals/shared"),ae=E("../internals/native-symbol-registry"),re=se("symbol-to-string-registry");ce({target:"Symbol",stat:!0,forced:!ae},{keyFor:function(te){if(!ie(te))throw TypeError(le(te)+" is not a symbol");if(oe(re,te))return re[te]}})},{"../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,pe,he){"use strict";var ce=E("../internals/function-uncurry-this"),oe=E("../internals/array-buffer-view-core"),ie=E("../internals/array-copy-within"),le=ce(ie),se=oe.aTypedArray,ae=oe.exportTypedArrayMethod;ae("copyWithin",function(ne,te){return le(se(this),ne,te,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,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").every,ie=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("every",function(ae){return oe(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],317:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/function-call"),ie=E("../internals/array-fill"),le=ce.aTypedArray,se=ce.exportTypedArrayMethod;se("fill",function(re){var ne=arguments.length;return oe(ie,le(this),re,ne>1?arguments[1]:void 0,ne>2?arguments[2]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-fill":106,"../internals/function-call":155}],318:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").filter,ie=E("../internals/typed-array-from-species-and-list"),le=ce.aTypedArray,se=ce.exportTypedArrayMethod;se("filter",function(re){var ne=oe(le(this),re,arguments.length>1?arguments[1]:void 0);return ie(this,ne)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-from-species-and-list":260}],319:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").findIndex,ie=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("findIndex",function(ae){return oe(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],320:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").find,ie=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("find",function(ae){return oe(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],321:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").forEach,ie=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("forEach",function(ae){oe(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],322:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/array-includes").includes,ie=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("includes",function(ae){return oe(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],323:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/array-includes").indexOf,ie=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("indexOf",function(ae){return oe(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-includes":110}],324:[function(E,pe,he){"use strict";var ce=E("../internals/global"),oe=E("../internals/fails"),ie=E("../internals/function-uncurry-this"),le=E("../internals/array-buffer-view-core"),se=E("../modules/es.array.iterator"),ae=E("../internals/well-known-symbol"),re=ae("iterator"),ne=ce.Uint8Array,te=ie(se.values),a=ie(se.keys),y=ie(se.entries),x=le.aTypedArray,b=le.exportTypedArrayMethod,ee=ne&&ne.prototype,z=!oe(function(){ee[re].call([1])}),ue=!!ee&&ee.values&&ee[re]===ee.values&&ee.values.name==="values",de=function(){return te(x(this))};b("entries",function(){return y(x(this))},z),b("keys",function(){return a(x(this))},z),b("values",de,z||!ue,{name:"values"}),b(re,de,z||!ue,{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,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/function-uncurry-this"),ie=ce.aTypedArray,le=ce.exportTypedArrayMethod,se=oe([].join);le("join",function(re){return se(ie(this),re)})},{"../internals/array-buffer-view-core":103,"../internals/function-uncurry-this":157}],326:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/function-apply"),ie=E("../internals/array-last-index-of"),le=ce.aTypedArray,se=ce.exportTypedArrayMethod;se("lastIndexOf",function(re){var ne=arguments.length;return oe(ie,le(this),ne>1?[re,arguments[1]]:[re])})},{"../internals/array-buffer-view-core":103,"../internals/array-last-index-of":112,"../internals/function-apply":152}],327:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").map,ie=E("../internals/typed-array-species-constructor"),le=ce.aTypedArray,se=ce.exportTypedArrayMethod;se("map",function(re){return oe(le(this),re,arguments.length>1?arguments[1]:void 0,function(ne,te){return new(ie(ne))(te)})})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111,"../internals/typed-array-species-constructor":262}],328:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/array-reduce").right,ie=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("reduceRight",function(ae){var re=arguments.length;return oe(ie(this),ae,re,re>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],329:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/array-reduce").left,ie=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("reduce",function(ae){var re=arguments.length;return oe(ie(this),ae,re,re>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-reduce":115}],330:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=ce.aTypedArray,ie=ce.exportTypedArrayMethod,le=Math.floor;ie("reverse",function(){for(var ae=this,re=oe(ae).length,ne=le(re/2),te=0,a;te<ne;)a=ae[te],ae[te++]=ae[--re],ae[re]=a;return ae})},{"../internals/array-buffer-view-core":103}],331:[function(E,pe,he){"use strict";var ce=E("../internals/global"),oe=E("../internals/function-call"),ie=E("../internals/array-buffer-view-core"),le=E("../internals/length-of-array-like"),se=E("../internals/to-offset"),ae=E("../internals/to-object"),re=E("../internals/fails"),ne=ce.RangeError,te=ce.Int8Array,a=te&&te.prototype,y=a&&a.set,x=ie.aTypedArray,b=ie.exportTypedArrayMethod,ee=!re(function(){var ue=new Uint8ClampedArray(2);return oe(y,ue,{length:1,0:3},1),ue[1]!==3}),z=ee&&ie.NATIVE_ARRAY_BUFFER_VIEWS&&re(function(){var ue=new te(2);return ue.set(1),ue.set("2",1),ue[0]!==0||ue[1]!==2});b("set",function(de){x(this);var ge=se(arguments.length>1?arguments[1]:void 0,1),fe=ae(de);if(ee)return oe(y,this,fe,ge);var me=this.length,be=le(fe),ve=0;if(be+ge>me)throw ne("Wrong length");for(;ve<be;)this[ge+ve]=fe[ve++]},!ee||z)},{"../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,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/typed-array-species-constructor"),ie=E("../internals/fails"),le=E("../internals/array-slice"),se=ce.aTypedArray,ae=ce.exportTypedArrayMethod,re=ie(function(){new Int8Array(1).slice()});ae("slice",function(te,a){for(var y=le(se(this),te,a),x=oe(this),b=0,ee=y.length,z=new x(ee);ee>b;)z[b]=y[b++];return z},re)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/typed-array-species-constructor":262}],333:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/array-iteration").some,ie=ce.aTypedArray,le=ce.exportTypedArrayMethod;le("some",function(ae){return oe(ie(this),ae,arguments.length>1?arguments[1]:void 0)})},{"../internals/array-buffer-view-core":103,"../internals/array-iteration":111}],334:[function(E,pe,he){"use strict";var ce=E("../internals/global"),oe=E("../internals/function-uncurry-this"),ie=E("../internals/fails"),le=E("../internals/a-callable"),se=E("../internals/array-sort"),ae=E("../internals/array-buffer-view-core"),re=E("../internals/engine-ff-version"),ne=E("../internals/engine-is-ie-or-edge"),te=E("../internals/engine-v8-version"),a=E("../internals/engine-webkit-version"),y=ae.aTypedArray,x=ae.exportTypedArrayMethod,b=ce.Uint16Array,ee=b&&oe(b.prototype.sort),z=!!ee&&!(ie(function(){ee(new b(2),null)})&&ie(function(){ee(new b(2),{})})),ue=!!ee&&!ie(function(){if(te)return te<74;if(re)return re<67;if(ne)return!0;if(a)return a<602;var ge=new b(516),fe=Array(516),me,be;for(me=0;me<516;me++)be=me%4,ge[me]=515-me,fe[me]=me-2*be+3;for(ee(ge,function(ve,Pe){return(ve/4|0)-(Pe/4|0)}),me=0;me<516;me++)if(ge[me]!==fe[me])return!0}),de=function(ge){return function(fe,me){return ge!==void 0?+ge(fe,me)||0:me!==me?-1:fe!==fe?1:fe===0&&me===0?1/fe>0&&1/me<0?1:-1:fe>me}};x("sort",function(fe){return fe!==void 0&&le(fe),ue?ee(this,fe):se(y(this),de(fe))},!ue||z)},{"../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,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core"),oe=E("../internals/to-length"),ie=E("../internals/to-absolute-index"),le=E("../internals/typed-array-species-constructor"),se=ce.aTypedArray,ae=ce.exportTypedArrayMethod;ae("subarray",function(ne,te){var a=se(this),y=a.length,x=ie(ne,y),b=le(a);return new b(a.buffer,a.byteOffset+x*a.BYTES_PER_ELEMENT,oe((te===void 0?y:ie(te,y))-x))})},{"../internals/array-buffer-view-core":103,"../internals/to-absolute-index":245,"../internals/to-length":249,"../internals/typed-array-species-constructor":262}],336:[function(E,pe,he){"use strict";var ce=E("../internals/global"),oe=E("../internals/function-apply"),ie=E("../internals/array-buffer-view-core"),le=E("../internals/fails"),se=E("../internals/array-slice"),ae=ce.Int8Array,re=ie.aTypedArray,ne=ie.exportTypedArrayMethod,te=[].toLocaleString,a=!!ae&&le(function(){te.call(new ae(1))}),y=le(function(){return[1,2].toLocaleString()!=new ae([1,2]).toLocaleString()})||!le(function(){ae.prototype.toLocaleString.call([1,2])});ne("toLocaleString",function(){return oe(te,a?se(re(this)):re(this),se(arguments))},y)},{"../internals/array-buffer-view-core":103,"../internals/array-slice":117,"../internals/fails":150,"../internals/function-apply":152,"../internals/global":163}],337:[function(E,pe,he){"use strict";var ce=E("../internals/array-buffer-view-core").exportTypedArrayMethod,oe=E("../internals/fails"),ie=E("../internals/global"),le=E("../internals/function-uncurry-this"),se=ie.Uint8Array,ae=se&&se.prototype||{},re=[].toString,ne=le([].join);oe(function(){re.call({})})&&(re=function(){return ne(this)});var te=ae.toString!=re;ce("toString",re,te)},{"../internals/array-buffer-view-core":103,"../internals/fails":150,"../internals/function-uncurry-this":157,"../internals/global":163}],338:[function(E,pe,he){var ce=E("../internals/typed-array-constructor");ce("Uint8",function(oe){return function(le,se,ae){return oe(this,le,se,ae)}})},{"../internals/typed-array-constructor":258}],339:[function(E,pe,he){var ce=E("../internals/global"),oe=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),le=E("../internals/array-for-each"),se=E("../internals/create-non-enumerable-property"),ae=function(ne){if(ne&&ne.forEach!==le)try{se(ne,"forEach",le)}catch(te){ne.forEach=le}};for(var re in oe)oe[re]&&ae(ce[re]&&ce[re].prototype);ae(ie)},{"../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,pe,he){var ce=E("../internals/global"),oe=E("../internals/dom-iterables"),ie=E("../internals/dom-token-list-prototype"),le=E("../modules/es.array.iterator"),se=E("../internals/create-non-enumerable-property"),ae=E("../internals/well-known-symbol"),re=ae("iterator"),ne=ae("toStringTag"),te=le.values,a=function(x,b){if(x){if(x[re]!==te)try{se(x,re,te)}catch(z){x[re]=te}if(x[ne]||se(x,ne,b),oe[b]){for(var ee in le)if(x[ee]!==le[ee])try{se(x,ee,le[ee])}catch(z){x[ee]=le[ee]}}}};for(var y in oe)a(ce[y]&&ce[y].prototype,y);a(ie,"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,pe,he){function ce(ue){return Array.isArray?Array.isArray(ue):z(ue)==="[object Array]"}he.isArray=ce;function oe(ue){return typeof ue=="boolean"}he.isBoolean=oe;function ie(ue){return ue===null}he.isNull=ie;function le(ue){return ue==null}he.isNullOrUndefined=le;function se(ue){return typeof ue=="number"}he.isNumber=se;function ae(ue){return typeof ue=="string"}he.isString=ae;function re(ue){return typeof ue=="symbol"}he.isSymbol=re;function ne(ue){return ue===void 0}he.isUndefined=ne;function te(ue){return z(ue)==="[object RegExp]"}he.isRegExp=te;function a(ue){return typeof ue=="object"&&ue!==null}he.isObject=a;function y(ue){return z(ue)==="[object Date]"}he.isDate=y;function x(ue){return z(ue)==="[object Error]"||ue instanceof Error}he.isError=x;function b(ue){return typeof ue=="function"}he.isFunction=b;function ee(ue){return ue===null||typeof ue=="boolean"||typeof ue=="number"||typeof ue=="string"||typeof ue=="symbol"||typeof ue=="undefined"}he.isPrimitive=ee,he.isBuffer=E("buffer").Buffer.isBuffer;function z(ue){return Object.prototype.toString.call(ue)}},{buffer:90}],342:[function(E,pe,he){(function(ce){"use strict";var oe=function(){var re=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZWN]|'[^']*'|'[^']*'/g,ne=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,te=/[^-+\dA-Z]/g;return function(a,y,x,b){if(arguments.length===1&&ae(a)==="string"&&!/\d/.test(a)&&(y=a,a=void 0),a=a||new Date,a instanceof Date||(a=new Date(a)),isNaN(a))throw TypeError("Invalid date");y=String(oe.masks[y]||y||oe.masks.default);var ee=y.slice(0,4);(ee==="UTC:"||ee==="GMT:")&&(y=y.slice(4),x=!0,ee==="GMT:"&&(b=!0));var z=x?"getUTC":"get",ue=a[z+"Date"](),de=a[z+"Day"](),ge=a[z+"Month"](),fe=a[z+"FullYear"](),me=a[z+"Hours"](),be=a[z+"Minutes"](),ve=a[z+"Seconds"](),Pe=a[z+"Milliseconds"](),Ee=x?0:a.getTimezoneOffset(),Ae=le(a),Ce=se(a),_e={d:ue,dd:ie(ue),ddd:oe.i18n.dayNames[de],dddd:oe.i18n.dayNames[de+7],m:ge+1,mm:ie(ge+1),mmm:oe.i18n.monthNames[ge],mmmm:oe.i18n.monthNames[ge+12],yy:String(fe).slice(2),yyyy:fe,h:me%12||12,hh:ie(me%12||12),H:me,HH:ie(me),M:be,MM:ie(be),s:ve,ss:ie(ve),l:ie(Pe,3),L:ie(Math.round(Pe/10)),t:me<12?"a":"p",tt:me<12?"am":"pm",T:me<12?"A":"P",TT:me<12?"AM":"PM",Z:b?"GMT":x?"UTC":(String(a).match(ne)||[""]).pop().replace(te,""),o:(Ee>0?"-":"+")+ie(Math.floor(Math.abs(Ee)/60)*100+Math.abs(Ee)%60,4),S:["th","st","nd","rd"][ue%10>3?0:(ue%100-ue%10!=10)*ue%10],W:Ae,N:Ce};return y.replace(re,function(we){return we in _e?_e[we]:we.slice(1,we.length-1)})}}();oe.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"},oe.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 ie(re,ne){for(re=String(re),ne=ne||2;re.length<ne;)re="0"+re;return re}function le(re){var ne=new Date(re.getFullYear(),re.getMonth(),re.getDate());ne.setDate(ne.getDate()-(ne.getDay()+6)%7+3);var te=new Date(ne.getFullYear(),0,4);te.setDate(te.getDate()-(te.getDay()+6)%7+3);var a=ne.getTimezoneOffset()-te.getTimezoneOffset();ne.setHours(ne.getHours()-a);var y=(ne-te)/(864e5*7);return 1+Math.floor(y)}function se(re){var ne=re.getDay();return ne===0&&(ne=7),ne}function ae(re){return re===null?"null":re===void 0?"undefined":typeof re!="object"?typeof re:Array.isArray(re)?"array":{}.toString.call(re).slice(8,-1).toLowerCase()}typeof Se=="function"&&Se.amd?Se(function(){return oe}):typeof he=="object"?pe.exports=oe:ce.dateFormat=oe})(this)},{}],343:[function(E,pe,he){"use strict";var ce=/["'&<>]/;pe.exports=oe;function oe(ie){var le=""+ie,se=ce.exec(le);if(!se)return le;var ae,re="",ne=0,te=0;for(ne=se.index;ne<le.length;ne++){switch(le.charCodeAt(ne)){case 34:ae=""";break;case 38:ae="&";break;case 39:ae="'";break;case 60:ae="<";break;case 62:ae=">";break;default:continue}te!==ne&&(re+=le.substring(te,ne)),te=ne+1,re+=ae}return te!==ne?re+le.substring(te,ne):re}},{}],344:[function(E,pe,he){"use strict";var ce=typeof Reflect=="object"?Reflect:null,oe=ce&&typeof ce.apply=="function"?ce.apply:function(ve,Pe,Ee){return Function.prototype.apply.call(ve,Pe,Ee)},ie;ce&&typeof ce.ownKeys=="function"?ie=ce.ownKeys:Object.getOwnPropertySymbols?ie=function(ve){return Object.getOwnPropertyNames(ve).concat(Object.getOwnPropertySymbols(ve))}:ie=function(ve){return Object.getOwnPropertyNames(ve)};function le(be){console&&console.warn&&console.warn(be)}var se=Number.isNaN||function(ve){return ve!==ve};function ae(){ae.init.call(this)}pe.exports=ae,pe.exports.once=ge,ae.EventEmitter=ae,ae.prototype._events=void 0,ae.prototype._eventsCount=0,ae.prototype._maxListeners=void 0;var re=10;function ne(be){if(typeof be!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof be)}Object.defineProperty(ae,"defaultMaxListeners",{enumerable:!0,get:function(){return re},set:function(be){if(typeof be!="number"||be<0||se(be))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+be+".");re=be}}),ae.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},ae.prototype.setMaxListeners=function(ve){if(typeof ve!="number"||ve<0||se(ve))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+ve+".");return this._maxListeners=ve,this};function te(be){return be._maxListeners===void 0?ae.defaultMaxListeners:be._maxListeners}ae.prototype.getMaxListeners=function(){return te(this)},ae.prototype.emit=function(ve){for(var Pe=[],Ee=1;Ee<arguments.length;Ee++)Pe.push(arguments[Ee]);var Ae=ve==="error",Ce=this._events;if(Ce!==void 0)Ae=Ae&&Ce.error===void 0;else if(!Ae)return!1;if(Ae){var _e;if(Pe.length>0&&(_e=Pe[0]),_e instanceof Error)throw _e;var we=new Error("Unhandled error."+(_e?" ("+_e.message+")":""));throw we.context=_e,we}var Me=Ce[ve];if(Me===void 0)return!1;if(typeof Me=="function")oe(Me,this,Pe);else for(var Oe=Me.length,Fe=z(Me,Oe),Ee=0;Ee<Oe;++Ee)oe(Fe[Ee],this,Pe);return!0};function a(be,ve,Pe,Ee){var Ae,Ce,_e;if(ne(Pe),Ce=be._events,Ce===void 0?(Ce=be._events=Object.create(null),be._eventsCount=0):(Ce.newListener!==void 0&&(be.emit("newListener",ve,Pe.listener?Pe.listener:Pe),Ce=be._events),_e=Ce[ve]),_e===void 0)_e=Ce[ve]=Pe,++be._eventsCount;else if(typeof _e=="function"?_e=Ce[ve]=Ee?[Pe,_e]:[_e,Pe]:Ee?_e.unshift(Pe):_e.push(Pe),Ae=te(be),Ae>0&&_e.length>Ae&&!_e.warned){_e.warned=!0;var we=new Error("Possible EventEmitter memory leak detected. "+_e.length+" "+String(ve)+" listeners added. Use emitter.setMaxListeners() to increase limit");we.name="MaxListenersExceededWarning",we.emitter=be,we.type=ve,we.count=_e.length,le(we)}return be}ae.prototype.addListener=function(ve,Pe){return a(this,ve,Pe,!1)},ae.prototype.on=ae.prototype.addListener,ae.prototype.prependListener=function(ve,Pe){return a(this,ve,Pe,!0)};function y(){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 x(be,ve,Pe){var Ee={fired:!1,wrapFn:void 0,target:be,type:ve,listener:Pe},Ae=y.bind(Ee);return Ae.listener=Pe,Ee.wrapFn=Ae,Ae}ae.prototype.once=function(ve,Pe){return ne(Pe),this.on(ve,x(this,ve,Pe)),this},ae.prototype.prependOnceListener=function(ve,Pe){return ne(Pe),this.prependListener(ve,x(this,ve,Pe)),this},ae.prototype.removeListener=function(ve,Pe){var Ee,Ae,Ce,_e,we;if(ne(Pe),Ae=this._events,Ae===void 0)return this;if(Ee=Ae[ve],Ee===void 0)return this;if(Ee===Pe||Ee.listener===Pe)--this._eventsCount===0?this._events=Object.create(null):(delete Ae[ve],Ae.removeListener&&this.emit("removeListener",ve,Ee.listener||Pe));else if(typeof Ee!="function"){for(Ce=-1,_e=Ee.length-1;_e>=0;_e--)if(Ee[_e]===Pe||Ee[_e].listener===Pe){we=Ee[_e].listener,Ce=_e;break}if(Ce<0)return this;Ce===0?Ee.shift():ue(Ee,Ce),Ee.length===1&&(Ae[ve]=Ee[0]),Ae.removeListener!==void 0&&this.emit("removeListener",ve,we||Pe)}return this},ae.prototype.off=ae.prototype.removeListener,ae.prototype.removeAllListeners=function(ve){var Pe,Ee,Ae;if(Ee=this._events,Ee===void 0)return this;if(Ee.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):Ee[ve]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete Ee[ve]),this;if(arguments.length===0){var Ce=Object.keys(Ee),_e;for(Ae=0;Ae<Ce.length;++Ae)_e=Ce[Ae],_e!=="removeListener"&&this.removeAllListeners(_e);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(Pe=Ee[ve],typeof Pe=="function")this.removeListener(ve,Pe);else if(Pe!==void 0)for(Ae=Pe.length-1;Ae>=0;Ae--)this.removeListener(ve,Pe[Ae]);return this};function b(be,ve,Pe){var Ee=be._events;if(Ee===void 0)return[];var Ae=Ee[ve];return Ae===void 0?[]:typeof Ae=="function"?Pe?[Ae.listener||Ae]:[Ae]:Pe?de(Ae):z(Ae,Ae.length)}ae.prototype.listeners=function(ve){return b(this,ve,!0)},ae.prototype.rawListeners=function(ve){return b(this,ve,!1)},ae.listenerCount=function(be,ve){return typeof be.listenerCount=="function"?be.listenerCount(ve):ee.call(be,ve)},ae.prototype.listenerCount=ee;function ee(be){var ve=this._events;if(ve!==void 0){var Pe=ve[be];if(typeof Pe=="function")return 1;if(Pe!==void 0)return Pe.length}return 0}ae.prototype.eventNames=function(){return this._eventsCount>0?ie(this._events):[]};function z(be,ve){for(var Pe=new Array(ve),Ee=0;Ee<ve;++Ee)Pe[Ee]=be[Ee];return Pe}function ue(be,ve){for(;ve+1<be.length;ve++)be[ve]=be[ve+1];be.pop()}function de(be){for(var ve=new Array(be.length),Pe=0;Pe<ve.length;++Pe)ve[Pe]=be[Pe].listener||be[Pe];return ve}function ge(be,ve){return new Promise(function(Pe,Ee){function Ae(_e){be.removeListener(ve,Ce),Ee(_e)}function Ce(){typeof be.removeListener=="function"&&be.removeListener("error",Ae),Pe([].slice.call(arguments))}me(be,ve,Ce,{once:!0}),ve!=="error"&&fe(be,Ae,{once:!0})})}function fe(be,ve,Pe){typeof be.on=="function"&&me(be,"error",ve,Pe)}function me(be,ve,Pe,Ee){if(typeof be.on=="function")Ee.once?be.once(ve,Pe):be.on(ve,Pe);else if(typeof be.addEventListener=="function")be.addEventListener(ve,function Ae(Ce){Ee.once&&be.removeEventListener(ve,Ae),Pe(Ce)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof be)}},{}],345:[function(E,pe,he){"use strict";var ce=E("is-callable"),oe=Object.prototype.toString,ie=Object.prototype.hasOwnProperty,le=function(te,a,y){for(var x=0,b=te.length;x<b;x++)ie.call(te,x)&&(y==null?a(te[x],x,te):a.call(y,te[x],x,te))},se=function(te,a,y){for(var x=0,b=te.length;x<b;x++)y==null?a(te.charAt(x),x,te):a.call(y,te.charAt(x),x,te)},ae=function(te,a,y){for(var x in te)ie.call(te,x)&&(y==null?a(te[x],x,te):a.call(y,te[x],x,te))},re=function(te,a,y){if(!ce(a))throw new TypeError("iterator must be a function");var x;arguments.length>=3&&(x=y),oe.call(te)==="[object Array]"?le(te,a,x):typeof te=="string"?se(te,a,x):ae(te,a,x)};pe.exports=re},{"is-callable":367}],346:[function(E,pe,he){"use strict";var ce="Function.prototype.bind called on incompatible ",oe=Array.prototype.slice,ie=Object.prototype.toString,le="[object Function]";pe.exports=function(ae){var re=this;if(typeof re!="function"||ie.call(re)!==le)throw new TypeError(ce+re);for(var ne=oe.call(arguments,1),te,a=function(){if(this instanceof te){var z=re.apply(this,ne.concat(oe.call(arguments)));return Object(z)===z?z:this}else return re.apply(ae,ne.concat(oe.call(arguments)))},y=Math.max(0,re.length-ne.length),x=[],b=0;b<y;b++)x.push("$"+b);if(te=Function("binder","return function ("+x.join(",")+"){ return binder.apply(this,arguments); }")(a),re.prototype){var ee=function(){};ee.prototype=re.prototype,te.prototype=new ee,ee.prototype=null}return te}},{}],347:[function(E,pe,he){"use strict";var ce=E("./implementation");pe.exports=Function.prototype.bind||ce},{"./implementation":346}],348:[function(E,pe,he){"use strict";var ce,oe=SyntaxError,ie=Function,le=TypeError,se=function(Me){try{return ie('"use strict"; return ('+Me+").constructor;")()}catch(Oe){}},ae=Object.getOwnPropertyDescriptor;if(ae)try{ae({},"")}catch(Me){ae=null}var re=function(){throw new le},ne=ae?function(){try{return arguments.callee,re}catch(Me){try{return ae(arguments,"callee").get}catch(Oe){return re}}}():re,te=E("has-symbols")(),a=E("has-proto")(),y=Object.getPrototypeOf||(a?function(Me){return Me.__proto__}:null),x={},b=typeof Uint8Array=="undefined"||!y?ce:y(Uint8Array),ee={"%AggregateError%":typeof AggregateError=="undefined"?ce:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer=="undefined"?ce:ArrayBuffer,"%ArrayIteratorPrototype%":te&&y?y([][Symbol.iterator]()):ce,"%AsyncFromSyncIteratorPrototype%":ce,"%AsyncFunction%":x,"%AsyncGenerator%":x,"%AsyncGeneratorFunction%":x,"%AsyncIteratorPrototype%":x,"%Atomics%":typeof Atomics=="undefined"?ce:Atomics,"%BigInt%":typeof BigInt=="undefined"?ce:BigInt,"%BigInt64Array%":typeof BigInt64Array=="undefined"?ce:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array=="undefined"?ce:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView=="undefined"?ce:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array=="undefined"?ce:Float32Array,"%Float64Array%":typeof Float64Array=="undefined"?ce:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry=="undefined"?ce:FinalizationRegistry,"%Function%":ie,"%GeneratorFunction%":x,"%Int8Array%":typeof Int8Array=="undefined"?ce:Int8Array,"%Int16Array%":typeof Int16Array=="undefined"?ce:Int16Array,"%Int32Array%":typeof Int32Array=="undefined"?ce:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":te&&y?y(y([][Symbol.iterator]())):ce,"%JSON%":typeof JSON=="object"?JSON:ce,"%Map%":typeof Map=="undefined"?ce:Map,"%MapIteratorPrototype%":typeof Map=="undefined"||!te||!y?ce:y(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise=="undefined"?ce:Promise,"%Proxy%":typeof Proxy=="undefined"?ce:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect=="undefined"?ce:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set=="undefined"?ce:Set,"%SetIteratorPrototype%":typeof Set=="undefined"||!te||!y?ce:y(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer=="undefined"?ce:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":te&&y?y(""[Symbol.iterator]()):ce,"%Symbol%":te?Symbol:ce,"%SyntaxError%":oe,"%ThrowTypeError%":ne,"%TypedArray%":b,"%TypeError%":le,"%Uint8Array%":typeof Uint8Array=="undefined"?ce:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray=="undefined"?ce:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array=="undefined"?ce:Uint16Array,"%Uint32Array%":typeof Uint32Array=="undefined"?ce:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap=="undefined"?ce:WeakMap,"%WeakRef%":typeof WeakRef=="undefined"?ce:WeakRef,"%WeakSet%":typeof WeakSet=="undefined"?ce:WeakSet};if(y)try{null.error}catch(Me){var z=y(y(Me));ee["%Error.prototype%"]=z}var ue=function Me(Oe){var Fe;if(Oe==="%AsyncFunction%")Fe=se("async function () {}");else if(Oe==="%GeneratorFunction%")Fe=se("function* () {}");else if(Oe==="%AsyncGeneratorFunction%")Fe=se("async function* () {}");else if(Oe==="%AsyncGenerator%"){var Le=Me("%AsyncGeneratorFunction%");Le&&(Fe=Le.prototype)}else if(Oe==="%AsyncIteratorPrototype%"){var Qe=Me("%AsyncGenerator%");Qe&&y&&(Fe=y(Qe.prototype))}return ee[Oe]=Fe,Fe},de={"%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"]},ge=E("function-bind"),fe=E("has"),me=ge.call(Function.call,Array.prototype.concat),be=ge.call(Function.apply,Array.prototype.splice),ve=ge.call(Function.call,String.prototype.replace),Pe=ge.call(Function.call,String.prototype.slice),Ee=ge.call(Function.call,RegExp.prototype.exec),Ae=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Ce=/\\(\\)?/g,_e=function(Oe){var Fe=Pe(Oe,0,1),Le=Pe(Oe,-1);if(Fe==="%"&&Le!=="%")throw new oe("invalid intrinsic syntax, expected closing `%`");if(Le==="%"&&Fe!=="%")throw new oe("invalid intrinsic syntax, expected opening `%`");var Qe=[];return ve(Oe,Ae,function(We,Ge,Ke,ze){Qe[Qe.length]=Ke?ve(ze,Ce,"$1"):Ge||We}),Qe},we=function(Oe,Fe){var Le=Oe,Qe;if(fe(de,Le)&&(Qe=de[Le],Le="%"+Qe[0]+"%"),fe(ee,Le)){var We=ee[Le];if(We===x&&(We=ue(Le)),typeof We=="undefined"&&!Fe)throw new le("intrinsic "+Oe+" exists, but is not available. Please file an issue!");return{alias:Qe,name:Le,value:We}}throw new oe("intrinsic "+Oe+" does not exist!")};pe.exports=function(Oe,Fe){if(typeof Oe!="string"||Oe.length===0)throw new le("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Fe!="boolean")throw new le('"allowMissing" argument must be a boolean');if(Ee(/^%?[^%]*%?$/,Oe)===null)throw new oe("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Le=_e(Oe),Qe=Le.length>0?Le[0]:"",We=we("%"+Qe+"%",Fe),Ge=We.name,Ke=We.value,ze=!1,ke=We.alias;ke&&(Qe=ke[0],be(Le,me([0,1],ke)));for(var Ne=1,Ve=!0;Ne<Le.length;Ne+=1){var qe=Le[Ne],rt=Pe(qe,0,1),Ye=Pe(qe,-1);if((rt==='"'||rt==="'"||rt==="`"||Ye==='"'||Ye==="'"||Ye==="`")&&rt!==Ye)throw new oe("property names with quotes must have matching quotes");if((qe==="constructor"||!Ve)&&(ze=!0),Qe+="."+qe,Ge="%"+Qe+"%",fe(ee,Ge))Ke=ee[Ge];else if(Ke!=null){if(!(qe in Ke)){if(!Fe)throw new le("base intrinsic for "+Oe+" exists, but the property is not available.");return}if(ae&&Ne+1>=Le.length){var Ue=ae(Ke,qe);Ve=!!Ue,Ve&&"get"in Ue&&!("originalValue"in Ue.get)?Ke=Ue.get:Ke=Ke[qe]}else Ve=fe(Ke,qe),Ke=Ke[qe];Ve&&!ze&&(ee[Ge]=Ke)}}return Ke}},{"function-bind":347,has:354,"has-proto":350,"has-symbols":351}],349:[function(E,pe,he){"use strict";var ce=E("get-intrinsic"),oe=ce("%Object.getOwnPropertyDescriptor%",!0);if(oe)try{oe([],"length")}catch(ie){oe=null}pe.exports=oe},{"get-intrinsic":348}],350:[function(E,pe,he){"use strict";var ce={foo:{}},oe=Object;pe.exports=function(){return{__proto__:ce}.foo===ce.foo&&!({__proto__:null}instanceof oe)}},{}],351:[function(E,pe,he){"use strict";var ce=typeof Symbol!="undefined"&&Symbol,oe=E("./shams");pe.exports=function(){return typeof ce!="function"||typeof Symbol!="function"||typeof ce("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:oe()}},{"./shams":352}],352:[function(E,pe,he){"use strict";pe.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var oe={},ie=Symbol("test"),le=Object(ie);if(typeof ie=="string"||Object.prototype.toString.call(ie)!=="[object Symbol]"||Object.prototype.toString.call(le)!=="[object Symbol]")return!1;var se=42;oe[ie]=se;for(ie in oe)return!1;if(typeof Object.keys=="function"&&Object.keys(oe).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(oe).length!==0)return!1;var ae=Object.getOwnPropertySymbols(oe);if(ae.length!==1||ae[0]!==ie||!Object.prototype.propertyIsEnumerable.call(oe,ie))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var re=Object.getOwnPropertyDescriptor(oe,ie);if(re.value!==se||re.enumerable!==!0)return!1}return!0}},{}],353:[function(E,pe,he){"use strict";var ce=E("has-symbols/shams");pe.exports=function(){return ce()&&!!Symbol.toStringTag}},{"has-symbols/shams":352}],354:[function(E,pe,he){"use strict";var ce=E("function-bind");pe.exports=ce.call(Function.call,Object.prototype.hasOwnProperty)},{"function-bind":347}],355:[function(E,pe,he){var ce=E("http"),oe=E("url"),ie=pe.exports;for(var le in ce)ce.hasOwnProperty(le)&&(ie[le]=ce[le]);ie.request=function(ae,re){return ae=se(ae),ce.request.call(this,ae,re)},ie.get=function(ae,re){return ae=se(ae),ce.get.call(this,ae,re)};function se(ae){if(typeof ae=="string"&&(ae=oe.parse(ae)),ae.protocol||(ae.protocol="https:"),ae.protocol!=="https:")throw new Error('Protocol "'+ae.protocol+'" not supported. Expected "https:"');return ae}},{http:468,url:472}],356:[function(E,pe,he){"use strict";var ce=E("util"),oe=E("ms");pe.exports=function(ie){if(typeof ie=="number")return ie;var le=oe(ie);if(le===void 0){var se=new Error(ce.format("humanize-ms(%j) result undefined",ie));console.warn(se.stack)}return le}},{ms:376,util:419}],357:[function(E,pe,he){he.read=function(ce,oe,ie,le,se){var ae,re,ne=se*8-le-1,te=(1<<ne)-1,a=te>>1,y=-7,x=ie?se-1:0,b=ie?-1:1,ee=ce[oe+x];for(x+=b,ae=ee&(1<<-y)-1,ee>>=-y,y+=ne;y>0;ae=ae*256+ce[oe+x],x+=b,y-=8);for(re=ae&(1<<-y)-1,ae>>=-y,y+=le;y>0;re=re*256+ce[oe+x],x+=b,y-=8);if(ae===0)ae=1-a;else{if(ae===te)return re?NaN:(ee?-1:1)*(1/0);re=re+Math.pow(2,le),ae=ae-a}return(ee?-1:1)*re*Math.pow(2,ae-le)},he.write=function(ce,oe,ie,le,se,ae){var re,ne,te,a=ae*8-se-1,y=(1<<a)-1,x=y>>1,b=se===23?Math.pow(2,-24)-Math.pow(2,-77):0,ee=le?0:ae-1,z=le?1:-1,ue=oe<0||oe===0&&1/oe<0?1:0;for(oe=Math.abs(oe),isNaN(oe)||oe===1/0?(ne=isNaN(oe)?1:0,re=y):(re=Math.floor(Math.log(oe)/Math.LN2),oe*(te=Math.pow(2,-re))<1&&(re--,te*=2),re+x>=1?oe+=b/te:oe+=b*Math.pow(2,1-x),oe*te>=2&&(re++,te/=2),re+x>=y?(ne=0,re=y):re+x>=1?(ne=(oe*te-1)*Math.pow(2,se),re=re+x):(ne=oe*Math.pow(2,x-1)*Math.pow(2,se),re=0));se>=8;ce[ie+ee]=ne&255,ee+=z,ne/=256,se-=8);for(re=re<<se|ne,a+=se;a>0;ce[ie+ee]=re&255,ee+=z,re/=256,a-=8);ce[ie+ee-z]|=ue*128}},{}],358:[function(E,pe,he){"use strict";var ce=[E("./nextTick"),E("./queueMicrotask"),E("./mutation.js"),E("./messageChannel"),E("./stateChange"),E("./timeout")],oe,ie,le=-1,se=[],ae=!1;function re(){!oe||!ie||(oe=!1,ie.length?se=ie.concat(se):le=-1,se.length&&ne())}function ne(){if(!oe){ae=!1,oe=!0;for(var ee=se.length,z=setTimeout(re);ee;){for(ie=se,se=[];ie&&++le<ee;)ie[le].run();le=-1,ee=se.length}ie=null,le=-1,oe=!1,clearTimeout(z)}}for(var te,a=-1,y=ce.length;++a<y;)if(ce[a]&&ce[a].test&&ce[a].test()){te=ce[a].install(ne);break}function x(ee,z){this.fun=ee,this.array=z}x.prototype.run=function(){var ee=this.fun,z=this.array;switch(z.length){case 0:return ee();case 1:return ee(z[0]);case 2:return ee(z[0],z[1]);case 3:return ee(z[0],z[1],z[2]);default:return ee.apply(null,z)}},pe.exports=b;function b(ee){var z=new Array(arguments.length-1);if(arguments.length>1)for(var ue=1;ue<arguments.length;ue++)z[ue-1]=arguments[ue];se.push(new x(ee,z)),!ae&&!oe&&(ae=!0,te())}},{"./messageChannel":359,"./mutation.js":360,"./nextTick":89,"./queueMicrotask":361,"./stateChange":362,"./timeout":363}],359:[function(E,pe,he){(function(ce){(function(){"use strict";he.test=function(){return ce.setImmediate?!1:typeof ce.MessageChannel!="undefined"},he.install=function(oe){var ie=new ce.MessageChannel;return ie.port1.onmessage=oe,function(){ie.port2.postMessage(0)}}}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],360:[function(E,pe,he){(function(ce){(function(){"use strict";var oe=ce.MutationObserver||ce.WebKitMutationObserver;he.test=function(){return oe},he.install=function(ie){var le=0,se=new oe(ie),ae=ce.document.createTextNode("");return se.observe(ae,{characterData:!0}),function(){ae.data=le=++le%2}}}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],361:[function(E,pe,he){(function(ce){(function(){"use strict";he.test=function(){return typeof ce.queueMicrotask=="function"},he.install=function(oe){return function(){ce.queueMicrotask(oe)}}}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],362:[function(E,pe,he){(function(ce){(function(){"use strict";he.test=function(){return"document"in ce&&"onreadystatechange"in ce.document.createElement("script")},he.install=function(oe){return function(){var ie=ce.document.createElement("script");return ie.onreadystatechange=function(){oe(),ie.onreadystatechange=null,ie.parentNode.removeChild(ie),ie=null},ce.document.documentElement.appendChild(ie),oe}}}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],363:[function(E,pe,he){"use strict";he.test=function(){return!0},he.install=function(ce){return function(){setTimeout(ce,0)}}},{}],364:[function(E,pe,he){typeof Object.create=="function"?pe.exports=function(oe,ie){ie&&(oe.super_=ie,oe.prototype=Object.create(ie.prototype,{constructor:{value:oe,enumerable:!1,writable:!0,configurable:!0}}))}:pe.exports=function(oe,ie){if(ie){oe.super_=ie;var le=function(){};le.prototype=ie.prototype,oe.prototype=new le,oe.prototype.constructor=oe}}},{}],365:[function(E,pe,he){"use strict";var ce=E("has-tostringtag/shams")(),oe=E("call-bind/callBound"),ie=oe("Object.prototype.toString"),le=function(ne){return ce&&ne&&typeof ne=="object"&&Symbol.toStringTag in ne?!1:ie(ne)==="[object Arguments]"},se=function(ne){return le(ne)?!0:ne!==null&&typeof ne=="object"&&typeof ne.length=="number"&&ne.length>=0&&ie(ne)!=="[object Array]"&&ie(ne.callee)==="[object Function]"},ae=function(){return le(arguments)}();le.isLegacyArguments=se,pe.exports=ae?le:se},{"call-bind/callBound":92,"has-tostringtag/shams":353}],366:[function(E,pe,he){pe.exports=function(ie){return ie!=null&&(ce(ie)||oe(ie)||!!ie._isBuffer)};function ce(ie){return!!ie.constructor&&typeof ie.constructor.isBuffer=="function"&&ie.constructor.isBuffer(ie)}function oe(ie){return typeof ie.readFloatLE=="function"&&typeof ie.slice=="function"&&ce(ie.slice(0,0))}},{}],367:[function(E,pe,he){"use strict";var ce=Function.prototype.toString,oe=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ie,le;if(typeof oe=="function"&&typeof Object.defineProperty=="function")try{ie=Object.defineProperty({},"length",{get:function(){throw le}}),le={},oe(function(){throw 42},null,ie)}catch(fe){fe!==le&&(oe=null)}else oe=null;var se=/^\s*class\b/,ae=function(me){try{var be=ce.call(me);return se.test(be)}catch(ve){return!1}},re=function(me){try{return ae(me)?!1:(ce.call(me),!0)}catch(be){return!1}},ne=Object.prototype.toString,te="[object Object]",a="[object Function]",y="[object GeneratorFunction]",x="[object HTMLAllCollection]",b="[object HTML document.all class]",ee="[object HTMLCollection]",z=typeof Symbol=="function"&&!!Symbol.toStringTag,ue=!(0 in[,]),de=function(){return!1};if(typeof document=="object"){var ge=document.all;ne.call(ge)===ne.call(document.all)&&(de=function(me){if((ue||!me)&&(typeof me=="undefined"||typeof me=="object"))try{var be=ne.call(me);return(be===x||be===b||be===ee||be===te)&&me("")==null}catch(ve){}return!1})}pe.exports=oe?function(me){if(de(me))return!0;if(!me||typeof me!="function"&&typeof me!="object")return!1;try{oe(me,null,ie)}catch(be){if(be!==le)return!1}return!ae(me)&&re(me)}:function(me){if(de(me))return!0;if(!me||typeof me!="function"&&typeof me!="object")return!1;if(z)return re(me);if(ae(me))return!1;var be=ne.call(me);return be!==a&&be!==y&&!/^\[object HTML/.test(be)?!1:re(me)}},{}],368:[function(E,pe,he){"use strict";var ce=Object.prototype.toString,oe=Function.prototype.toString,ie=/^\s*(?:function)?\*/,le=E("has-tostringtag/shams")(),se=Object.getPrototypeOf,ae=function(){if(!le)return!1;try{return Function("return function*() {}")()}catch(ne){}},re;pe.exports=function(te){if(typeof te!="function")return!1;if(ie.test(oe.call(te)))return!0;if(!le){var a=ce.call(te);return a==="[object GeneratorFunction]"}if(!se)return!1;if(typeof re=="undefined"){var y=ae();re=y?se(y):!1}return se(te)===re}},{"has-tostringtag/shams":353}],369:[function(E,pe,he){"use strict";var ce=E("which-typed-array");pe.exports=function(ie){return!!ce(ie)}},{"which-typed-array":420}],370:[function(E,pe,he){var ce={}.toString;pe.exports=Array.isArray||function(oe){return ce.call(oe)=="[object Array]"}},{}],371:[function(E,pe,he){(function(ce){(function(){(function(oe,ie){typeof he=="object"&&typeof pe!="undefined"?pe.exports=ie(oe):typeof Se=="function"&&Se.amd?Se(ie):ie(oe)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof ce!="undefined"?ce:this,function(oe){"use strict";oe=oe||{};var ie=oe.Base64,le="2.6.4",se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",ae=function(Oe){for(var Fe={},Le=0,Qe=Oe.length;Le<Qe;Le++)Fe[Oe.charAt(Le)]=Le;return Fe}(se),re=String.fromCharCode,ne=function(Oe){if(Oe.length<2){var Fe=Oe.charCodeAt(0);return Fe<128?Oe:Fe<2048?re(192|Fe>>>6)+re(128|Fe&63):re(224|Fe>>>12&15)+re(128|Fe>>>6&63)+re(128|Fe&63)}else{var Fe=65536+(Oe.charCodeAt(0)-55296)*1024+(Oe.charCodeAt(1)-56320);return re(240|Fe>>>18&7)+re(128|Fe>>>12&63)+re(128|Fe>>>6&63)+re(128|Fe&63)}},te=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,a=function(Oe){return Oe.replace(te,ne)},y=function(Oe){var Fe=[0,2,1][Oe.length%3],Le=Oe.charCodeAt(0)<<16|(Oe.length>1?Oe.charCodeAt(1):0)<<8|(Oe.length>2?Oe.charCodeAt(2):0),Qe=[se.charAt(Le>>>18),se.charAt(Le>>>12&63),Fe>=2?"=":se.charAt(Le>>>6&63),Fe>=1?"=":se.charAt(Le&63)];return Qe.join("")},x=oe.btoa&&typeof oe.btoa=="function"?function(Oe){return oe.btoa(Oe)}:function(Oe){if(Oe.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Oe.replace(/[\s\S]{1,3}/g,y)},b=function(Oe){return x(a(String(Oe)))},ee=function(Oe){return Oe.replace(/[+\/]/g,function(Fe){return Fe=="+"?"-":"_"}).replace(/=/g,"")},z=function(Oe,Fe){return Fe?ee(b(Oe)):b(Oe)},ue=function(Oe){return z(Oe,!0)},de;oe.Uint8Array&&(de=function(Oe,Fe){for(var Le="",Qe=0,We=Oe.length;Qe<We;Qe+=3){var Ge=Oe[Qe],Ke=Oe[Qe+1],ze=Oe[Qe+2],ke=Ge<<16|Ke<<8|ze;Le+=se.charAt(ke>>>18)+se.charAt(ke>>>12&63)+(typeof Ke!="undefined"?se.charAt(ke>>>6&63):"=")+(typeof ze!="undefined"?se.charAt(ke&63):"=")}return Fe?ee(Le):Le});var ge=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,fe=function(Oe){switch(Oe.length){case 4:var Fe=(7&Oe.charCodeAt(0))<<18|(63&Oe.charCodeAt(1))<<12|(63&Oe.charCodeAt(2))<<6|63&Oe.charCodeAt(3),Le=Fe-65536;return re((Le>>>10)+55296)+re((Le&1023)+56320);case 3:return re((15&Oe.charCodeAt(0))<<12|(63&Oe.charCodeAt(1))<<6|63&Oe.charCodeAt(2));default:return re((31&Oe.charCodeAt(0))<<6|63&Oe.charCodeAt(1))}},me=function(Oe){return Oe.replace(ge,fe)},be=function(Oe){var Fe=Oe.length,Le=Fe%4,Qe=(Fe>0?ae[Oe.charAt(0)]<<18:0)|(Fe>1?ae[Oe.charAt(1)]<<12:0)|(Fe>2?ae[Oe.charAt(2)]<<6:0)|(Fe>3?ae[Oe.charAt(3)]:0),We=[re(Qe>>>16),re(Qe>>>8&255),re(Qe&255)];return We.length-=[0,0,2,1][Le],We.join("")},ve=oe.atob&&typeof oe.atob=="function"?function(Oe){return oe.atob(Oe)}:function(Oe){return Oe.replace(/\S{1,4}/g,be)},Pe=function(Oe){return ve(String(Oe).replace(/[^A-Za-z0-9\+\/]/g,""))},Ee=function(Oe){return me(ve(Oe))},Ae=function(Oe){return String(Oe).replace(/[-_]/g,function(Fe){return Fe=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},Ce=function(Oe){return Ee(Ae(Oe))},_e;oe.Uint8Array&&(_e=function(Oe){return Uint8Array.from(Pe(Ae(Oe)),function(Fe){return Fe.charCodeAt(0)})});var we=function(){var Oe=oe.Base64;return oe.Base64=ie,Oe};if(oe.Base64={VERSION:le,atob:Pe,btoa:x,fromBase64:Ce,toBase64:z,utob:a,encode:z,encodeURI:ue,btou:me,decode:Ce,noConflict:we,fromUint8Array:de,toUint8Array:_e},typeof Object.defineProperty=="function"){var Me=function(Oe){return{value:Oe,enumerable:!1,writable:!0,configurable:!0}};oe.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Me(function(){return Ce(this)})),Object.defineProperty(String.prototype,"toBase64",Me(function(Oe){return z(this,Oe)})),Object.defineProperty(String.prototype,"toBase64URI",Me(function(){return z(this,!0)}))}}return oe.Meteor&&(Base64=oe.Base64),typeof pe!="undefined"&&pe.exports?pe.exports.Base64=oe.Base64:typeof Se=="function"&&Se.amd&&Se([],function(){return oe.Base64}),{Base64:oe.Base64}})}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],372:[function(E,pe,he){"use strict";pe.exports=oe;var ce=Object.prototype.hasOwnProperty;function oe(ie,le,se){if(!ie)throw new TypeError("argument dest is required");if(!le)throw new TypeError("argument src is required");return se===void 0&&(se=!0),Object.getOwnPropertyNames(le).forEach(function(re){if(!(!se&&ce.call(ie,re))){var ne=Object.getOwnPropertyDescriptor(le,re);Object.defineProperty(ie,re,ne)}}),ie}},{}],373:[function(E,pe,he){"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 ce(){this._types=Object.create(null),this._extensions=Object.create(null);for(var oe=0;oe<arguments.length;oe++)this.define(arguments[oe]);this.define=this.define.bind(this),this.getType=this.getType.bind(this),this.getExtension=this.getExtension.bind(this)}ce.prototype.define=function(oe,ie){for(var le in oe){var se=oe[le].map(function(te){return te.toLowerCase()});le=le.toLowerCase();for(var ae=0;ae<se.length;ae++){var re=se[ae];if(re[0]!=="*"){if(!ie&&re in this._types)throw new Error('Attempt to change mapping for "'+re+'" extension from "'+this._types[re]+'" to "'+le+'". Pass `force=true` to allow this, otherwise remove "'+re+'" from the list of extensions for "'+le+'".');this._types[re]=le}}if(ie||!this._extensions[le]){var ne=se[0];this._extensions[le]=ne[0]!=="*"?ne:ne.substr(1)}}},ce.prototype.getType=function(oe){oe=String(oe);var ie=oe.replace(/^.*[/\\]/,"").toLowerCase(),le=ie.replace(/^.*\./,"").toLowerCase(),se=ie.length<oe.length,ae=le.length<ie.length-1;return(ae||!se)&&this._types[le]||null},ce.prototype.getExtension=function(oe){return oe=/^\s*([^;\s]*)/.test(oe)&&RegExp.$1,oe&&this._extensions[oe.toLowerCase()]||null},pe.exports=ce},{"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,pe,he){"use strict";var ce=E("./Mime");pe.exports=new ce(E("./types/standard"))},{"./Mime":373,"./types/standard":375}],375:[function(E,pe,he){"use strict";pe.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,pe,he){var ce=1e3,oe=ce*60,ie=oe*60,le=ie*24,se=le*7,ae=le*365.25;pe.exports=function(y,x){x=x||{};var b=typeof y;if(b==="string"&&y.length>0)return re(y);if(b==="number"&&isFinite(y))return x.long?te(y):ne(y);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(y))};function re(y){if(y=String(y),!(y.length>100)){var x=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(y);if(x){var b=parseFloat(x[1]),ee=(x[2]||"ms").toLowerCase();switch(ee){case"years":case"year":case"yrs":case"yr":case"y":return b*ae;case"weeks":case"week":case"w":return b*se;case"days":case"day":case"d":return b*le;case"hours":case"hour":case"hrs":case"hr":case"h":return b*ie;case"minutes":case"minute":case"mins":case"min":case"m":return b*oe;case"seconds":case"second":case"secs":case"sec":case"s":return b*ce;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return b;default:return}}}}function ne(y){var x=Math.abs(y);return x>=le?Math.round(y/le)+"d":x>=ie?Math.round(y/ie)+"h":x>=oe?Math.round(y/oe)+"m":x>=ce?Math.round(y/ce)+"s":y+"ms"}function te(y){var x=Math.abs(y);return x>=le?a(y,x,le,"day"):x>=ie?a(y,x,ie,"hour"):x>=oe?a(y,x,oe,"minute"):x>=ce?a(y,x,ce,"second"):y+" ms"}function a(y,x,b,ee){var z=x>=b*1.5;return Math.round(y/b)+" "+ee+(z?"s":"")}},{}],377:[function(E,pe,he){"use strict";var ce=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable;function le(ae){if(ae==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ae)}function se(){try{if(!Object.assign)return!1;var ae=new String("abc");if(ae[5]="de",Object.getOwnPropertyNames(ae)[0]==="5")return!1;for(var re={},ne=0;ne<10;ne++)re["_"+String.fromCharCode(ne)]=ne;var te=Object.getOwnPropertyNames(re).map(function(y){return re[y]});if(te.join("")!=="0123456789")return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach(function(y){a[y]=y}),Object.keys(Object.assign({},a)).join("")==="abcdefghijklmnopqrst"}catch(y){return!1}}pe.exports=se()?Object.assign:function(ae,re){for(var ne,te=le(ae),a,y=1;y<arguments.length;y++){ne=Object(arguments[y]);for(var x in ne)oe.call(ne,x)&&(te[x]=ne[x]);if(ce){a=ce(ne);for(var b=0;b<a.length;b++)ie.call(ne,a[b])&&(te[a[b]]=ne[a[b]])}}return te}},{}],378:[function(E,pe,he){(function(ce){(function(){"use strict";function oe(ae){if(typeof ae!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(ae))}function ie(ae,re){for(var ne="",te=0,a=-1,y=0,x,b=0;b<=ae.length;++b){if(b<ae.length)x=ae.charCodeAt(b);else{if(x===47)break;x=47}if(x===47){if(!(a===b-1||y===1))if(a!==b-1&&y===2){if(ne.length<2||te!==2||ne.charCodeAt(ne.length-1)!==46||ne.charCodeAt(ne.length-2)!==46){if(ne.length>2){var ee=ne.lastIndexOf("/");if(ee!==ne.length-1){ee===-1?(ne="",te=0):(ne=ne.slice(0,ee),te=ne.length-1-ne.lastIndexOf("/")),a=b,y=0;continue}}else if(ne.length===2||ne.length===1){ne="",te=0,a=b,y=0;continue}}re&&(ne.length>0?ne+="/..":ne="..",te=2)}else ne.length>0?ne+="/"+ae.slice(a+1,b):ne=ae.slice(a+1,b),te=b-a-1;a=b,y=0}else x===46&&y!==-1?++y:y=-1}return ne}function le(ae,re){var ne=re.dir||re.root,te=re.base||(re.name||"")+(re.ext||"");return ne?ne===re.root?ne+te:ne+ae+te:te}var se={resolve:function(){for(var re="",ne=!1,te,a=arguments.length-1;a>=-1&&!ne;a--){var y;a>=0?y=arguments[a]:(te===void 0&&(te=ce.cwd()),y=te),oe(y),y.length!==0&&(re=y+"/"+re,ne=y.charCodeAt(0)===47)}return re=ie(re,!ne),ne?re.length>0?"/"+re:"/":re.length>0?re:"."},normalize:function(re){if(oe(re),re.length===0)return".";var ne=re.charCodeAt(0)===47,te=re.charCodeAt(re.length-1)===47;return re=ie(re,!ne),re.length===0&&!ne&&(re="."),re.length>0&&te&&(re+="/"),ne?"/"+re:re},isAbsolute:function(re){return oe(re),re.length>0&&re.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var re,ne=0;ne<arguments.length;++ne){var te=arguments[ne];oe(te),te.length>0&&(re===void 0?re=te:re+="/"+te)}return re===void 0?".":se.normalize(re)},relative:function(re,ne){if(oe(re),oe(ne),re===ne||(re=se.resolve(re),ne=se.resolve(ne),re===ne))return"";for(var te=1;te<re.length&&re.charCodeAt(te)===47;++te);for(var a=re.length,y=a-te,x=1;x<ne.length&&ne.charCodeAt(x)===47;++x);for(var b=ne.length,ee=b-x,z=y<ee?y:ee,ue=-1,de=0;de<=z;++de){if(de===z){if(ee>z){if(ne.charCodeAt(x+de)===47)return ne.slice(x+de+1);if(de===0)return ne.slice(x+de)}else y>z&&(re.charCodeAt(te+de)===47?ue=de:de===0&&(ue=0));break}var ge=re.charCodeAt(te+de),fe=ne.charCodeAt(x+de);if(ge!==fe)break;ge===47&&(ue=de)}var me="";for(de=te+ue+1;de<=a;++de)(de===a||re.charCodeAt(de)===47)&&(me.length===0?me+="..":me+="/..");return me.length>0?me+ne.slice(x+ue):(x+=ue,ne.charCodeAt(x)===47&&++x,ne.slice(x))},_makeLong:function(re){return re},dirname:function(re){if(oe(re),re.length===0)return".";for(var ne=re.charCodeAt(0),te=ne===47,a=-1,y=!0,x=re.length-1;x>=1;--x)if(ne=re.charCodeAt(x),ne===47){if(!y){a=x;break}}else y=!1;return a===-1?te?"/":".":te&&a===1?"//":re.slice(0,a)},basename:function(re,ne){if(ne!==void 0&&typeof ne!="string")throw new TypeError('"ext" argument must be a string');oe(re);var te=0,a=-1,y=!0,x;if(ne!==void 0&&ne.length>0&&ne.length<=re.length){if(ne.length===re.length&&ne===re)return"";var b=ne.length-1,ee=-1;for(x=re.length-1;x>=0;--x){var z=re.charCodeAt(x);if(z===47){if(!y){te=x+1;break}}else ee===-1&&(y=!1,ee=x+1),b>=0&&(z===ne.charCodeAt(b)?--b===-1&&(a=x):(b=-1,a=ee))}return te===a?a=ee:a===-1&&(a=re.length),re.slice(te,a)}else{for(x=re.length-1;x>=0;--x)if(re.charCodeAt(x)===47){if(!y){te=x+1;break}}else a===-1&&(y=!1,a=x+1);return a===-1?"":re.slice(te,a)}},extname:function(re){oe(re);for(var ne=-1,te=0,a=-1,y=!0,x=0,b=re.length-1;b>=0;--b){var ee=re.charCodeAt(b);if(ee===47){if(!y){te=b+1;break}continue}a===-1&&(y=!1,a=b+1),ee===46?ne===-1?ne=b:x!==1&&(x=1):ne!==-1&&(x=-1)}return ne===-1||a===-1||x===0||x===1&&ne===a-1&&ne===te+1?"":re.slice(ne,a)},format:function(re){if(re===null||typeof re!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof re);return le("/",re)},parse:function(re){oe(re);var ne={root:"",dir:"",base:"",ext:"",name:""};if(re.length===0)return ne;var te=re.charCodeAt(0),a=te===47,y;a?(ne.root="/",y=1):y=0;for(var x=-1,b=0,ee=-1,z=!0,ue=re.length-1,de=0;ue>=y;--ue){if(te=re.charCodeAt(ue),te===47){if(!z){b=ue+1;break}continue}ee===-1&&(z=!1,ee=ue+1),te===46?x===-1?x=ue:de!==1&&(de=1):x!==-1&&(de=-1)}return x===-1||ee===-1||de===0||de===1&&x===ee-1&&x===b+1?ee!==-1&&(b===0&&a?ne.base=ne.name=re.slice(1,ee):ne.base=ne.name=re.slice(b,ee)):(b===0&&a?(ne.name=re.slice(1,x),ne.base=re.slice(1,ee)):(ne.name=re.slice(b,x),ne.base=re.slice(b,ee)),ne.ext=re.slice(x,ee)),b>0?ne.dir=re.slice(0,b-1):a&&(ne.dir="/"),ne},sep:"/",delimiter:":",win32:null,posix:null};se.posix=se,pe.exports=se}).call(this)}).call(this,E("_process"))},{_process:467}],379:[function(E,pe,he){(function(ce){(function(){(function(){"use strict";var oe={function:!0,object:!0},ie=oe[typeof window]&&window||this,le=ie,se=oe[typeof he]&&he,ae=oe[typeof pe]&&pe&&!pe.nodeType&&pe,re=se&&ae&&typeof ce=="object"&&ce;re&&(re.global===re||re.window===re||re.self===re)&&(ie=re);var ne=Math.pow(2,53)-1,te=/\bOpera/,a=this,y=Object.prototype,x=y.hasOwnProperty,b=y.toString;function ee(Ce){return Ce=String(Ce),Ce.charAt(0).toUpperCase()+Ce.slice(1)}function z(Ce,_e,we){var Me={"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 _e&&we&&/^Win/i.test(Ce)&&!/^Windows Phone /i.test(Ce)&&(Me=Me[/[\d.]+$/.exec(Ce)])&&(Ce="Windows "+Me),Ce=String(Ce),_e&&we&&(Ce=Ce.replace(RegExp(_e,"i"),we)),Ce=de(Ce.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]),Ce}function ue(Ce,_e){var we=-1,Me=Ce?Ce.length:0;if(typeof Me=="number"&&Me>-1&&Me<=ne)for(;++we<Me;)_e(Ce[we],we,Ce);else ge(Ce,_e)}function de(Ce){return Ce=Pe(Ce),/^(?:webOS|i(?:OS|P))/.test(Ce)?Ce:ee(Ce)}function ge(Ce,_e){for(var we in Ce)x.call(Ce,we)&&_e(Ce[we],we,Ce)}function fe(Ce){return Ce==null?ee(Ce):b.call(Ce).slice(8,-1)}function me(Ce,_e){var we=Ce!=null?typeof Ce[_e]:"number";return!/^(?:boolean|number|string|undefined)$/.test(we)&&(we=="object"?!!Ce[_e]:!0)}function be(Ce){return String(Ce).replace(/([ -])(?!$)/g,"$1?")}function ve(Ce,_e){var we=null;return ue(Ce,function(Me,Oe){we=_e(we,Me,Oe,Ce)}),we}function Pe(Ce){return String(Ce).replace(/^ +| +$/g,"")}function Ee(Ce){var _e=ie,we=Ce&&typeof Ce=="object"&&fe(Ce)!="String";we&&(_e=Ce,Ce=null);var Me=_e.navigator||{},Oe=Me.userAgent||"";Ce||(Ce=Oe);var Fe=we||a==le,Le=we?!!Me.likeChrome:/\bChrome\b/.test(Ce)&&!/internal|\n/i.test(b.toString()),Qe="Object",We=we?Qe:"ScriptBridgingProxyObject",Ge=we?Qe:"Environment",Ke=we&&_e.java?"JavaPackage":fe(_e.java),ze=we?Qe:"RuntimeObject",ke=/\bJava/.test(Ke)&&_e.java,Ne=ke&&fe(_e.environment)==Ge,Ve=ke?"a":"\u03B1",qe=ke?"b":"\u03B2",rt=_e.document||{},Ye=_e.operamini||_e.opera,Ue=te.test(Ue=we&&Ye?Ye["[[Class]]"]:fe(Ye))?Ue:Ye=null,Be,Ze=Ce,Te=[],He=null,at=Ce==Oe,et=at&&Ye&&typeof Ye.version=="function"&&Ye.version(),Je,Ie=nt([{label:"EdgeHTML",pattern:"Edge"},"Trident",{label:"WebKit",pattern:"AppleWebKit"},"iCab","Presto","NetFront","Tasman","KHTML","Gecko"]),xe=tt(["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"]),De=it([{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"]),Re=$e({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}}),Xe=st(["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 nt(vt){return ve(vt,function(mt,bt){return mt||RegExp("\\b"+(bt.pattern||be(bt))+"\\b","i").exec(Ce)&&(bt.label||bt)})}function $e(vt){return ve(vt,function(mt,bt,_t){return mt||(bt[De]||bt[/^[a-z]+(?: +[a-z]+\b)*/i.exec(De)]||RegExp("\\b"+be(_t)+"(?:\\b|\\w*\\d)","i").exec(Ce))&&_t})}function tt(vt){return ve(vt,function(mt,bt){return mt||RegExp("\\b"+(bt.pattern||be(bt))+"\\b","i").exec(Ce)&&(bt.label||bt)})}function st(vt){return ve(vt,function(mt,bt){var _t=bt.pattern||be(bt);return!mt&&(mt=RegExp("\\b"+_t+"(?:/[\\d.]+|[ \\w.]*)","i").exec(Ce))&&(mt=z(mt,_t,bt.label||bt)),mt})}function it(vt){return ve(vt,function(mt,bt){var _t=bt.pattern||be(bt);return!mt&&(mt=RegExp("\\b"+_t+" *\\d+[.\\w_]*","i").exec(Ce)||RegExp("\\b"+_t+" *\\w+-[\\w]*","i").exec(Ce)||RegExp("\\b"+_t+"(?:; *(?:[a-z]+[_-])?[a-z]+\\d+|[^ ();-]*)","i").exec(Ce))&&((mt=String(bt.label&&!RegExp(_t,"i").test(bt.label)?bt.label:mt).split("/"))[1]&&!/[\d.]+/.test(mt[0])&&(mt[0]+=" "+mt[1]),bt=bt.label||bt,mt=de(mt[0].replace(RegExp(_t,"i"),bt).replace(RegExp("; *(?:"+bt+"[_-])?","i")," ").replace(RegExp("("+bt+")[-_.]?(\\w)","i"),"$1 $2"))),mt})}function lt(vt){return ve(vt,function(mt,bt){return mt||(RegExp(bt+"(?:-[\\d.]+/|(?: for [\\w-]+)?[ /-])([\\d.]+[^ ();/_-]*)","i").exec(Ce)||0)[1]||null})}function ut(){return this.description||""}if(Ie&&(Ie=[Ie]),/\bAndroid\b/.test(Xe)&&!De&&(Be=/\bAndroid[^;]*;(.*?)(?:Build|\) AppleWebKit)\b/i.exec(Ce))&&(De=Pe(Be[1]).replace(/^[a-z]{2}-[a-z]{2};\s*/i,"")||null),Re&&!De?De=it([Re]):Re&&De&&(De=De.replace(RegExp("^("+be(Re)+")[-_.\\s]","i"),Re+" ").replace(RegExp("^("+be(Re)+")[-_.]?(\\w)","i"),Re+" $2")),(Be=/\bGoogle TV\b/.exec(De))&&(De=Be[0]),/\bSimulator\b/i.test(Ce)&&(De=(De?De+" ":"")+"Simulator"),xe=="Opera Mini"&&/\bOPiOS\b/.test(Ce)&&Te.push("running in Turbo/Uncompressed mode"),xe=="IE"&&/\blike iPhone OS\b/.test(Ce)?(Be=Ee(Ce.replace(/like iPhone OS/,"")),Re=Be.manufacturer,De=Be.product):/^iP/.test(De)?(xe||(xe="Safari"),Xe="iOS"+((Be=/ OS ([\d_]+)/i.exec(Ce))?" "+Be[1].replace(/_/g,"."):"")):xe=="Konqueror"&&/^Linux\b/i.test(Xe)?Xe="Kubuntu":Re&&Re!="Google"&&(/Chrome/.test(xe)&&!/\bMobile Safari\b/i.test(Ce)||/\bVita\b/.test(De))||/\bAndroid\b/.test(Xe)&&/^Chrome/.test(xe)&&/\bVersion\//i.test(Ce)?(xe="Android Browser",Xe=/\bAndroid\b/.test(Xe)?Xe:"Android"):xe=="Silk"?(/\bMobi/i.test(Ce)||(Xe="Android",Te.unshift("desktop mode")),/Accelerated *= *true/i.test(Ce)&&Te.unshift("accelerated")):xe=="UC Browser"&&/\bUCWEB\b/.test(Ce)?Te.push("speed mode"):xe=="PaleMoon"&&(Be=/\bFirefox\/([\d.]+)\b/.exec(Ce))?Te.push("identifying as Firefox "+Be[1]):xe=="Firefox"&&(Be=/\b(Mobile|Tablet|TV)\b/i.exec(Ce))?(Xe||(Xe="Firefox OS"),De||(De=Be[1])):!xe||(Be=!/\bMinefield\b/i.test(Ce)&&/\b(?:Firefox|Safari)\b/.exec(xe))?(xe&&!De&&/[\/,]|^[^(]+?\)/.test(Ce.slice(Ce.indexOf(Be+"/")+8))&&(xe=null),(Be=De||Re||Xe)&&(De||Re||/\b(?:Android|Symbian OS|Tablet OS|webOS)\b/.test(Xe))&&(xe=/[a-z]+(?: Hat)?/i.exec(/\bAndroid\b/.test(Xe)?Xe:Be)+" Browser")):xe=="Electron"&&(Be=(/\bChrome\/([\d.]+)\b/.exec(Ce)||0)[1])&&Te.push("Chromium "+Be),et||(et=lt(["(?:Cloud9|CriOS|CrMo|Edge|Edg|EdgA|EdgiOS|FxiOS|HeadlessChrome|IEMobile|Iron|Opera ?Mini|OPiOS|OPR|Raven|SamsungBrowser|Silk(?!/[\\d.]+$)|UCBrowser|YaBrowser)","Version",be(xe),"(?:Firefox|Minefield|NetFront)"])),(Be=Ie=="iCab"&&parseFloat(et)>3&&"WebKit"||/\bOpera\b/.test(xe)&&(/\bOPR\b/.test(Ce)?"Blink":"Presto")||/\b(?:Midori|Nook|Safari)\b/i.test(Ce)&&!/^(?:Trident|EdgeHTML)$/.test(Ie)&&"WebKit"||!Ie&&/\bMSIE\b/i.test(Ce)&&(Xe=="Mac OS"?"Tasman":"Trident")||Ie=="WebKit"&&/\bPlayStation\b(?! Vita\b)/i.test(xe)&&"NetFront")&&(Ie=[Be]),xe=="IE"&&(Be=(/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(Ce)||0)[1])?(xe+=" Mobile",Xe="Windows Phone "+(/\+$/.test(Be)?Be:Be+".x"),Te.unshift("desktop mode")):/\bWPDesktop\b/i.test(Ce)?(xe="IE Mobile",Xe="Windows Phone 8.x",Te.unshift("desktop mode"),et||(et=(/\brv:([\d.]+)/.exec(Ce)||0)[1])):xe!="IE"&&Ie=="Trident"&&(Be=/\brv:([\d.]+)/.exec(Ce))&&(xe&&Te.push("identifying as "+xe+(et?" "+et:"")),xe="IE",et=Be[1]),at){if(me(_e,"global"))if(ke&&(Be=ke.lang.System,Ze=Be.getProperty("os.arch"),Xe=Xe||Be.getProperty("os.name")+" "+Be.getProperty("os.version")),Ne){try{et=_e.require("ringo/engine").version.join("."),xe="RingoJS"}catch(vt){(Be=_e.system)&&Be.global.system==_e.system&&(xe="Narwhal",Xe||(Xe=Be[0].os||null))}xe||(xe="Rhino")}else typeof _e.process=="object"&&!_e.process.browser&&(Be=_e.process)&&(typeof Be.versions=="object"&&(typeof Be.versions.electron=="string"?(Te.push("Node "+Be.versions.node),xe="Electron",et=Be.versions.electron):typeof Be.versions.nw=="string"&&(Te.push("Chromium "+et,"Node "+Be.versions.node),xe="NW.js",et=Be.versions.nw)),xe||(xe="Node.js",Ze=Be.arch,Xe=Be.platform,et=/[\d.]+/.exec(Be.version),et=et?et[0]:null));else fe(Be=_e.runtime)==We?(xe="Adobe AIR",Xe=Be.flash.system.Capabilities.os):fe(Be=_e.phantom)==ze?(xe="PhantomJS",et=(Be=Be.version||null)&&Be.major+"."+Be.minor+"."+Be.patch):typeof rt.documentMode=="number"&&(Be=/\bTrident\/(\d+)/i.exec(Ce))?(et=[et,rt.documentMode],(Be=+Be[1]+4)!=et[1]&&(Te.push("IE "+et[1]+" mode"),Ie&&(Ie[1]=""),et[1]=Be),et=xe=="IE"?String(et[1].toFixed(1)):et[0]):typeof rt.documentMode=="number"&&/^(?:Chrome|Firefox)\b/.test(xe)&&(Te.push("masking as "+xe+" "+et),xe="IE",et="11.0",Ie=["Trident"],Xe="Windows");Xe=Xe&&de(Xe)}if(et&&(Be=/(?:[ab]|dp|pre|[ab]\d+pre)(?:\d+\+?)?$/i.exec(et)||/(?:alpha|beta)(?: ?\d)?/i.exec(Ce+";"+(at&&Me.appMinorVersion))||/\bMinefield\b/i.test(Ce)&&"a")&&(He=/b/i.test(Be)?"beta":"alpha",et=et.replace(RegExp(Be+"\\+?$"),"")+(He=="beta"?qe:Ve)+(/\d+\+?/.exec(Be)||"")),xe=="Fennec"||xe=="Firefox"&&/\b(?:Android|Firefox OS|KaiOS)\b/.test(Xe))xe="Firefox Mobile";else if(xe=="Maxthon"&&et)et=et.replace(/\.[\d.]+/,".x");else if(/\bXbox\b/i.test(De))De=="Xbox 360"&&(Xe=null),De=="Xbox 360"&&/\bIEMobile\b/.test(Ce)&&Te.unshift("mobile mode");else if((/^(?:Chrome|IE|Opera)$/.test(xe)||xe&&!De&&!/Browser|Mobi/.test(xe))&&(Xe=="Windows CE"||/Mobi/i.test(Ce)))xe+=" Mobile";else if(xe=="IE"&&at)try{_e.external===null&&Te.unshift("platform preview")}catch(vt){Te.unshift("embedded")}else(/\bBlackBerry\b/.test(De)||/\bBB10\b/.test(Ce))&&(Be=(RegExp(De.replace(/ +/g," *")+"/([.\\d]+)","i").exec(Ce)||0)[1]||et)?(Be=[Be,/BB10/.test(Ce)],Xe=(Be[1]?(De=null,Re="BlackBerry"):"Device Software")+" "+Be[0],et=null):this!=ge&&De!="Wii"&&(at&&Ye||/Opera/.test(xe)&&/\b(?:MSIE|Firefox)\b/i.test(Ce)||xe=="Firefox"&&/\bOS X (?:\d+\.){2,}/.test(Xe)||xe=="IE"&&(Xe&&!/^Win/.test(Xe)&&et>5.5||/\bWindows XP\b/.test(Xe)&&et>8||et==8&&!/\bTrident\b/.test(Ce)))&&!te.test(Be=Ee.call(ge,Ce.replace(te,"")+";"))&&Be.name&&(Be="ing as "+Be.name+((Be=Be.version)?" "+Be:""),te.test(xe)?(/\bIE\b/.test(Be)&&Xe=="Mac OS"&&(Xe=null),Be="identify"+Be):(Be="mask"+Be,Ue?xe=de(Ue.replace(/([a-z])([A-Z])/g,"$1 $2")):xe="Opera",/\bIE\b/.test(Be)&&(Xe=null),at||(et=null)),Ie=["Presto"],Te.push(Be));(Be=(/\bAppleWebKit\/([\d.]+\+?)/i.exec(Ce)||0)[1])&&(Be=[parseFloat(Be.replace(/\.(\d)$/,".0$1")),Be],xe=="Safari"&&Be[1].slice(-1)=="+"?(xe="WebKit Nightly",He="alpha",et=Be[1].slice(0,-1)):(et==Be[1]||et==(Be[2]=(/\bSafari\/([\d.]+\+?)/i.exec(Ce)||0)[1]))&&(et=null),Be[1]=(/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(Ce)||0)[1],Be[0]==537.36&&Be[2]==537.36&&parseFloat(Be[1])>=28&&Ie=="WebKit"&&(Ie=["Blink"]),!at||!Le&&!Be[1]?(Ie&&(Ie[1]="like Safari"),Be=(Be=Be[0],Be<400?1:Be<500?2:Be<526?3:Be<533?4:Be<534?"4+":Be<535?5:Be<537?6:Be<538?7:Be<601?8:Be<602?9:Be<604?10:Be<606?11:Be<608?12:"12")):(Ie&&(Ie[1]="like Chrome"),Be=Be[1]||(Be=Be[0],Be<530?1:Be<532?2:Be<532.05?3:Be<533?4:Be<534.03?5:Be<534.07?6:Be<534.1?7:Be<534.13?8:Be<534.16?9:Be<534.24?10:Be<534.3?11:Be<535.01?12:Be<535.02?"13+":Be<535.07?15:Be<535.11?16:Be<535.19?17:Be<536.05?18:Be<536.1?19:Be<537.01?20:Be<537.11?"21+":Be<537.13?23:Be<537.18?24:Be<537.24?25:Be<537.36?26:Ie!="Blink"?"27":"28")),Ie&&(Ie[1]+=" "+(Be+=typeof Be=="number"?".x":/[.+]/.test(Be)?"":"+")),xe=="Safari"&&(!et||parseInt(et)>45)?et=Be:xe=="Chrome"&&/\bHeadlessChrome/i.test(Ce)&&Te.unshift("headless")),xe=="Opera"&&(Be=/\bzbov|zvav$/.exec(Xe))?(xe+=" ",Te.unshift("desktop mode"),Be=="zvav"?(xe+="Mini",et=null):xe+="Mobile",Xe=Xe.replace(RegExp(" *"+Be+"$"),"")):xe=="Safari"&&/\bChrome\b/.exec(Ie&&Ie[1])?(Te.unshift("desktop mode"),xe="Chrome Mobile",et=null,/\bOS X\b/.test(Xe)?(Re="Apple",Xe="iOS 4.3+"):Xe=null):/\bSRWare Iron\b/.test(xe)&&!et&&(et=lt("Chrome")),et&&et.indexOf(Be=/[\d.]+$/.exec(Xe))==0&&Ce.indexOf("/"+Be+"-")>-1&&(Xe=Pe(Xe.replace(Be,""))),Xe&&Xe.indexOf(xe)!=-1&&!RegExp(xe+" OS").test(Xe)&&(Xe=Xe.replace(RegExp(" *"+be(xe)+" *"),"")),Ie&&!/\b(?:Avant|Nook)\b/.test(xe)&&(/Browser|Lunascape|Maxthon/.test(xe)||xe!="Safari"&&/^iOS/.test(Xe)&&/\bSafari\b/.test(Ie[1])||/^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(xe)&&Ie[1])&&(Be=Ie[Ie.length-1])&&Te.push(Be),Te.length&&(Te=["("+Te.join("; ")+")"]),Re&&De&&De.indexOf(Re)<0&&Te.push("on "+Re),De&&Te.push((/^on /.test(Te[Te.length-1])?"":"on ")+De),Xe&&(Be=/ ([\d.+]+)$/.exec(Xe),Je=Be&&Xe.charAt(Xe.length-Be[0].length-1)=="/",Xe={architecture:32,family:Be&&!Je?Xe.replace(Be[0],""):Xe,version:Be?Be[1]:null,toString:function(){var vt=this.version;return this.family+(vt&&!Je?" "+vt:"")+(this.architecture==64?" 64-bit":"")}}),(Be=/\b(?:AMD|IA|Win|WOW|x86_|x)64\b/i.exec(Ze))&&!/\bi686\b/i.test(Ze)?(Xe&&(Xe.architecture=64,Xe.family=Xe.family.replace(RegExp(" *"+Be),"")),xe&&(/\bWOW64\b/i.test(Ce)||at&&/\w(?:86|32)$/.test(Me.cpuClass||Me.platform)&&!/\bWin64; x64\b/i.test(Ce))&&Te.unshift("32-bit")):Xe&&/^OS X/.test(Xe.family)&&xe=="Chrome"&&parseFloat(et)>=39&&(Xe.architecture=64),Ce||(Ce=null);var pt={};return pt.description=Ce,pt.layout=Ie&&Ie[0],pt.manufacturer=Re,pt.name=xe,pt.prerelease=He,pt.product=De,pt.ua=Ce,pt.version=xe&&et,pt.os=Xe||{architecture:null,family:null,version:null,toString:function(){return"null"}},pt.parse=Ee,pt.toString=ut,pt.version&&Te.unshift(et),pt.name&&Te.unshift(xe),Xe&&xe&&!(Xe==String(Xe).split(" ")[0]&&(Xe==xe.split(" ")[0]||De))&&Te.push(De?"("+Xe+")":"on "+Xe),Te.length&&(pt.description=Te.join(" ")),pt}var Ae=Ee();typeof Se=="function"&&typeof Se.amd=="object"&&Se.amd?(ie.platform=Ae,Se(function(){return Ae})):se&&ae?ge(Ae,function(Ce,_e){se[_e]=Ce}):ie.platform=Ae}).call(this)}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],380:[function(E,pe,he){(function(ce){(function(){"use strict";typeof ce=="undefined"||!ce.version||ce.version.indexOf("v0.")===0||ce.version.indexOf("v1.")===0&&ce.version.indexOf("v1.8.")!==0?pe.exports={nextTick:oe}:pe.exports=ce;function oe(ie,le,se,ae){if(typeof ie!="function")throw new TypeError('"callback" argument must be a function');var re=arguments.length,ne,te;switch(re){case 0:case 1:return ce.nextTick(ie);case 2:return ce.nextTick(function(){ie.call(null,le)});case 3:return ce.nextTick(function(){ie.call(null,le,se)});case 4:return ce.nextTick(function(){ie.call(null,le,se,ae)});default:for(ne=new Array(re-1),te=0;te<ne.length;)ne[te++]=arguments[te];return ce.nextTick(function(){ie.apply(null,ne)})}}}).call(this)}).call(this,E("_process"))},{_process:467}],381:[function(E,pe,he){var ce=pe.exports={},oe,ie;function le(){throw new Error("setTimeout has not been defined")}function se(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?oe=setTimeout:oe=le}catch(ue){oe=le}try{typeof clearTimeout=="function"?ie=clearTimeout:ie=se}catch(ue){ie=se}})();function ae(ue){if(oe===setTimeout)return setTimeout(ue,0);if((oe===le||!oe)&&setTimeout)return oe=setTimeout,setTimeout(ue,0);try{return oe(ue,0)}catch(de){try{return oe.call(null,ue,0)}catch(ge){return oe.call(this,ue,0)}}}function re(ue){if(ie===clearTimeout)return clearTimeout(ue);if((ie===se||!ie)&&clearTimeout)return ie=clearTimeout,clearTimeout(ue);try{return ie(ue)}catch(de){try{return ie.call(null,ue)}catch(ge){return ie.call(this,ue)}}}var ne=[],te=!1,a,y=-1;function x(){!te||!a||(te=!1,a.length?ne=a.concat(ne):y=-1,ne.length&&b())}function b(){if(!te){var ue=ae(x);te=!0;for(var de=ne.length;de;){for(a=ne,ne=[];++y<de;)a&&a[y].run();y=-1,de=ne.length}a=null,te=!1,re(ue)}}ce.nextTick=function(ue){var de=new Array(arguments.length-1);if(arguments.length>1)for(var ge=1;ge<arguments.length;ge++)de[ge-1]=arguments[ge];ne.push(new ee(ue,de)),ne.length===1&&!te&&ae(b)};function ee(ue,de){this.fun=ue,this.array=de}ee.prototype.run=function(){this.fun.apply(null,this.array)},ce.title="browser",ce.browser=!0,ce.env={},ce.argv=[],ce.version="",ce.versions={};function z(){}ce.on=z,ce.addListener=z,ce.once=z,ce.off=z,ce.removeListener=z,ce.removeAllListeners=z,ce.emit=z,ce.prependListener=z,ce.prependOnceListener=z,ce.listeners=function(ue){return[]},ce.binding=function(ue){throw new Error("process.binding is not supported")},ce.cwd=function(){return"/"},ce.chdir=function(ue){throw new Error("process.chdir is not supported")},ce.umask=function(){return 0}},{}],382:[function(E,pe,he){(function(ce){(function(){(function(oe){var ie=typeof he=="object"&&he&&!he.nodeType&&he,le=typeof pe=="object"&&pe&&!pe.nodeType&&pe,se=typeof ce=="object"&&ce;(se.global===se||se.window===se||se.self===se)&&(oe=se);var ae,re=2147483647,ne=36,te=1,a=26,y=38,x=700,b=72,ee=128,z="-",ue=/^xn--/,de=/[^\x20-\x7E]/,ge=/[\x2E\u3002\uFF0E\uFF61]/g,fe={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},me=ne-te,be=Math.floor,ve=String.fromCharCode,Pe;function Ee(Ke){throw new RangeError(fe[Ke])}function Ae(Ke,ze){for(var ke=Ke.length,Ne=[];ke--;)Ne[ke]=ze(Ke[ke]);return Ne}function Ce(Ke,ze){var ke=Ke.split("@"),Ne="";ke.length>1&&(Ne=ke[0]+"@",Ke=ke[1]),Ke=Ke.replace(ge,".");var Ve=Ke.split("."),qe=Ae(Ve,ze).join(".");return Ne+qe}function _e(Ke){for(var ze=[],ke=0,Ne=Ke.length,Ve,qe;ke<Ne;)Ve=Ke.charCodeAt(ke++),Ve>=55296&&Ve<=56319&&ke<Ne?(qe=Ke.charCodeAt(ke++),(qe&64512)==56320?ze.push(((Ve&1023)<<10)+(qe&1023)+65536):(ze.push(Ve),ke--)):ze.push(Ve);return ze}function we(Ke){return Ae(Ke,function(ze){var ke="";return ze>65535&&(ze-=65536,ke+=ve(ze>>>10&1023|55296),ze=56320|ze&1023),ke+=ve(ze),ke}).join("")}function Me(Ke){return Ke-48<10?Ke-22:Ke-65<26?Ke-65:Ke-97<26?Ke-97:ne}function Oe(Ke,ze){return Ke+22+75*(Ke<26)-((ze!=0)<<5)}function Fe(Ke,ze,ke){var Ne=0;for(Ke=ke?be(Ke/x):Ke>>1,Ke+=be(Ke/ze);Ke>me*a>>1;Ne+=ne)Ke=be(Ke/me);return be(Ne+(me+1)*Ke/(Ke+y))}function Le(Ke){var ze=[],ke=Ke.length,Ne,Ve=0,qe=ee,rt=b,Ye,Ue,Be,Ze,Te,He,at,et,Je;for(Ye=Ke.lastIndexOf(z),Ye<0&&(Ye=0),Ue=0;Ue<Ye;++Ue)Ke.charCodeAt(Ue)>=128&&Ee("not-basic"),ze.push(Ke.charCodeAt(Ue));for(Be=Ye>0?Ye+1:0;Be<ke;){for(Ze=Ve,Te=1,He=ne;Be>=ke&&Ee("invalid-input"),at=Me(Ke.charCodeAt(Be++)),(at>=ne||at>be((re-Ve)/Te))&&Ee("overflow"),Ve+=at*Te,et=He<=rt?te:He>=rt+a?a:He-rt,!(at<et);He+=ne)Je=ne-et,Te>be(re/Je)&&Ee("overflow"),Te*=Je;Ne=ze.length+1,rt=Fe(Ve-Ze,Ne,Ze==0),be(Ve/Ne)>re-qe&&Ee("overflow"),qe+=be(Ve/Ne),Ve%=Ne,ze.splice(Ve++,0,qe)}return we(ze)}function Qe(Ke){var ze,ke,Ne,Ve,qe,rt,Ye,Ue,Be,Ze,Te,He=[],at,et,Je,Ie;for(Ke=_e(Ke),at=Ke.length,ze=ee,ke=0,qe=b,rt=0;rt<at;++rt)Te=Ke[rt],Te<128&&He.push(ve(Te));for(Ne=Ve=He.length,Ve&&He.push(z);Ne<at;){for(Ye=re,rt=0;rt<at;++rt)Te=Ke[rt],Te>=ze&&Te<Ye&&(Ye=Te);for(et=Ne+1,Ye-ze>be((re-ke)/et)&&Ee("overflow"),ke+=(Ye-ze)*et,ze=Ye,rt=0;rt<at;++rt)if(Te=Ke[rt],Te<ze&&++ke>re&&Ee("overflow"),Te==ze){for(Ue=ke,Be=ne;Ze=Be<=qe?te:Be>=qe+a?a:Be-qe,!(Ue<Ze);Be+=ne)Ie=Ue-Ze,Je=ne-Ze,He.push(ve(Oe(Ze+Ie%Je,0))),Ue=be(Ie/Je);He.push(ve(Oe(Ue,0))),qe=Fe(ke,et,Ne==Ve),ke=0,++Ne}++ke,++ze}return He.join("")}function We(Ke){return Ce(Ke,function(ze){return ue.test(ze)?Le(ze.slice(4).toLowerCase()):ze})}function Ge(Ke){return Ce(Ke,function(ze){return de.test(ze)?"xn--"+Qe(ze):ze})}if(ae={version:"1.4.1",ucs2:{decode:_e,encode:we},decode:Le,encode:Qe,toASCII:Ge,toUnicode:We},typeof Se=="function"&&typeof Se.amd=="object"&&Se.amd)Se("punycode",function(){return ae});else if(ie&&le)if(pe.exports==ie)le.exports=ae;else for(Pe in ae)ae.hasOwnProperty(Pe)&&(ie[Pe]=ae[Pe]);else oe.punycode=ae})(this)}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],383:[function(E,pe,he){"use strict";function ce(ie,le){return Object.prototype.hasOwnProperty.call(ie,le)}pe.exports=function(ie,le,se,ae){le=le||"&",se=se||"=";var re={};if(typeof ie!="string"||ie.length===0)return re;var ne=/\+/g;ie=ie.split(le);var te=1e3;ae&&typeof ae.maxKeys=="number"&&(te=ae.maxKeys);var a=ie.length;te>0&&a>te&&(a=te);for(var y=0;y<a;++y){var x=ie[y].replace(ne,"%20"),b=x.indexOf(se),ee,z,ue,de;b>=0?(ee=x.substr(0,b),z=x.substr(b+1)):(ee=x,z=""),ue=decodeURIComponent(ee),de=decodeURIComponent(z),ce(re,ue)?oe(re[ue])?re[ue].push(de):re[ue]=[re[ue],de]:re[ue]=de}return re};var oe=Array.isArray||function(ie){return Object.prototype.toString.call(ie)==="[object Array]"}},{}],384:[function(E,pe,he){"use strict";var ce=function(se){switch(typeof se){case"string":return se;case"boolean":return se?"true":"false";case"number":return isFinite(se)?se:"";default:return""}};pe.exports=function(se,ae,re,ne){return ae=ae||"&",re=re||"=",se===null&&(se=void 0),typeof se=="object"?ie(le(se),function(te){var a=encodeURIComponent(ce(te))+re;return oe(se[te])?ie(se[te],function(y){return a+encodeURIComponent(ce(y))}).join(ae):a+encodeURIComponent(ce(se[te]))}).join(ae):ne?encodeURIComponent(ce(ne))+re+encodeURIComponent(ce(se)):""};var oe=Array.isArray||function(se){return Object.prototype.toString.call(se)==="[object Array]"};function ie(se,ae){if(se.map)return se.map(ae);for(var re=[],ne=0;ne<se.length;ne++)re.push(ae(se[ne],ne));return re}var le=Object.keys||function(se){var ae=[];for(var re in se)Object.prototype.hasOwnProperty.call(se,re)&&ae.push(re);return ae}},{}],385:[function(E,pe,he){"use strict";he.decode=he.parse=E("./decode"),he.encode=he.stringify=E("./encode")},{"./decode":383,"./encode":384}],386:[function(E,pe,he){"use strict";var ce=E("process-nextick-args"),oe=Object.keys||function(x){var b=[];for(var ee in x)b.push(ee);return b};pe.exports=te;var ie=Object.create(E("core-util-is"));ie.inherits=E("inherits");var le=E("./_stream_readable"),se=E("./_stream_writable");ie.inherits(te,le);for(var ae=oe(se.prototype),re=0;re<ae.length;re++){var ne=ae[re];te.prototype[ne]||(te.prototype[ne]=se.prototype[ne])}function te(x){if(!(this instanceof te))return new te(x);le.call(this,x),se.call(this,x),x&&x.readable===!1&&(this.readable=!1),x&&x.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,x&&x.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",a)}Object.defineProperty(te.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function a(){this.allowHalfOpen||this._writableState.ended||ce.nextTick(y,this)}function y(x){x.end()}Object.defineProperty(te.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(x){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=x,this._writableState.destroyed=x)}}),te.prototype._destroy=function(x,b){this.push(null),this.end(),ce.nextTick(b,x)}},{"./_stream_readable":388,"./_stream_writable":390,"core-util-is":341,inherits:364,"process-nextick-args":380}],387:[function(E,pe,he){"use strict";pe.exports=ie;var ce=E("./_stream_transform"),oe=Object.create(E("core-util-is"));oe.inherits=E("inherits"),oe.inherits(ie,ce);function ie(le){if(!(this instanceof ie))return new ie(le);ce.call(this,le)}ie.prototype._transform=function(le,se,ae){ae(null,le)}},{"./_stream_transform":389,"core-util-is":341,inherits:364}],388:[function(E,pe,he){(function(ce,oe){(function(){"use strict";var ie=E("process-nextick-args");pe.exports=ve;var le=E("isarray"),se;ve.ReadableState=be;var ae=E("events").EventEmitter,re=function(Te,He){return Te.listeners(He).length},ne=E("./internal/streams/stream"),te=E("safe-buffer").Buffer,a=oe.Uint8Array||function(){};function y(Te){return te.from(Te)}function x(Te){return te.isBuffer(Te)||Te instanceof a}var b=Object.create(E("core-util-is"));b.inherits=E("inherits");var ee=E("util"),z=void 0;ee&&ee.debuglog?z=ee.debuglog("stream"):z=function(){};var ue=E("./internal/streams/BufferList"),de=E("./internal/streams/destroy"),ge;b.inherits(ve,ne);var fe=["error","close","destroy","pause","resume"];function me(Te,He,at){if(typeof Te.prependListener=="function")return Te.prependListener(He,at);!Te._events||!Te._events[He]?Te.on(He,at):le(Te._events[He])?Te._events[He].unshift(at):Te._events[He]=[at,Te._events[He]]}function be(Te,He){se=se||E("./_stream_duplex"),Te=Te||{};var at=He instanceof se;this.objectMode=!!Te.objectMode,at&&(this.objectMode=this.objectMode||!!Te.readableObjectMode);var et=Te.highWaterMark,Je=Te.readableHighWaterMark,Ie=this.objectMode?16:16*1024;et||et===0?this.highWaterMark=et:at&&(Je||Je===0)?this.highWaterMark=Je:this.highWaterMark=Ie,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new ue,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=Te.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Te.encoding&&(ge||(ge=E("string_decoder/").StringDecoder),this.decoder=new ge(Te.encoding),this.encoding=Te.encoding)}function ve(Te){if(se=se||E("./_stream_duplex"),!(this instanceof ve))return new ve(Te);this._readableState=new be(Te,this),this.readable=!0,Te&&(typeof Te.read=="function"&&(this._read=Te.read),typeof Te.destroy=="function"&&(this._destroy=Te.destroy)),ne.call(this)}Object.defineProperty(ve.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Te){this._readableState&&(this._readableState.destroyed=Te)}}),ve.prototype.destroy=de.destroy,ve.prototype._undestroy=de.undestroy,ve.prototype._destroy=function(Te,He){this.push(null),He(Te)},ve.prototype.push=function(Te,He){var at=this._readableState,et;return at.objectMode?et=!0:typeof Te=="string"&&(He=He||at.defaultEncoding,He!==at.encoding&&(Te=te.from(Te,He),He=""),et=!0),Pe(this,Te,He,!1,et)},ve.prototype.unshift=function(Te){return Pe(this,Te,null,!0,!1)};function Pe(Te,He,at,et,Je){var Ie=Te._readableState;if(He===null)Ie.reading=!1,Oe(Te,Ie);else{var xe;Je||(xe=Ae(Ie,He)),xe?Te.emit("error",xe):Ie.objectMode||He&&He.length>0?(typeof He!="string"&&!Ie.objectMode&&Object.getPrototypeOf(He)!==te.prototype&&(He=y(He)),et?Ie.endEmitted?Te.emit("error",new Error("stream.unshift() after end event")):Ee(Te,Ie,He,!0):Ie.ended?Te.emit("error",new Error("stream.push() after EOF")):(Ie.reading=!1,Ie.decoder&&!at?(He=Ie.decoder.write(He),Ie.objectMode||He.length!==0?Ee(Te,Ie,He,!1):Qe(Te,Ie)):Ee(Te,Ie,He,!1))):et||(Ie.reading=!1)}return Ce(Ie)}function Ee(Te,He,at,et){He.flowing&&He.length===0&&!He.sync?(Te.emit("data",at),Te.read(0)):(He.length+=He.objectMode?1:at.length,et?He.buffer.unshift(at):He.buffer.push(at),He.needReadable&&Fe(Te)),Qe(Te,He)}function Ae(Te,He){var at;return!x(He)&&typeof He!="string"&&He!==void 0&&!Te.objectMode&&(at=new TypeError("Invalid non-string/buffer chunk")),at}function Ce(Te){return!Te.ended&&(Te.needReadable||Te.length<Te.highWaterMark||Te.length===0)}ve.prototype.isPaused=function(){return this._readableState.flowing===!1},ve.prototype.setEncoding=function(Te){return ge||(ge=E("string_decoder/").StringDecoder),this._readableState.decoder=new ge(Te),this._readableState.encoding=Te,this};var _e=8388608;function we(Te){return Te>=_e?Te=_e:(Te--,Te|=Te>>>1,Te|=Te>>>2,Te|=Te>>>4,Te|=Te>>>8,Te|=Te>>>16,Te++),Te}function Me(Te,He){return Te<=0||He.length===0&&He.ended?0:He.objectMode?1:Te!==Te?He.flowing&&He.length?He.buffer.head.data.length:He.length:(Te>He.highWaterMark&&(He.highWaterMark=we(Te)),Te<=He.length?Te:He.ended?He.length:(He.needReadable=!0,0))}ve.prototype.read=function(Te){z("read",Te),Te=parseInt(Te,10);var He=this._readableState,at=Te;if(Te!==0&&(He.emittedReadable=!1),Te===0&&He.needReadable&&(He.length>=He.highWaterMark||He.ended))return z("read: emitReadable",He.length,He.ended),He.length===0&&He.ended?Ue(this):Fe(this),null;if(Te=Me(Te,He),Te===0&&He.ended)return He.length===0&&Ue(this),null;var et=He.needReadable;z("need readable",et),(He.length===0||He.length-Te<He.highWaterMark)&&(et=!0,z("length less than watermark",et)),He.ended||He.reading?(et=!1,z("reading or ended",et)):et&&(z("do read"),He.reading=!0,He.sync=!0,He.length===0&&(He.needReadable=!0),this._read(He.highWaterMark),He.sync=!1,He.reading||(Te=Me(at,He)));var Je;return Te>0?Je=Ve(Te,He):Je=null,Je===null?(He.needReadable=!0,Te=0):He.length-=Te,He.length===0&&(He.ended||(He.needReadable=!0),at!==Te&&He.ended&&Ue(this)),Je!==null&&this.emit("data",Je),Je};function Oe(Te,He){if(!He.ended){if(He.decoder){var at=He.decoder.end();at&&at.length&&(He.buffer.push(at),He.length+=He.objectMode?1:at.length)}He.ended=!0,Fe(Te)}}function Fe(Te){var He=Te._readableState;He.needReadable=!1,He.emittedReadable||(z("emitReadable",He.flowing),He.emittedReadable=!0,He.sync?ie.nextTick(Le,Te):Le(Te))}function Le(Te){z("emit readable"),Te.emit("readable"),Ne(Te)}function Qe(Te,He){He.readingMore||(He.readingMore=!0,ie.nextTick(We,Te,He))}function We(Te,He){for(var at=He.length;!He.reading&&!He.flowing&&!He.ended&&He.length<He.highWaterMark&&(z("maybeReadMore read 0"),Te.read(0),at!==He.length);)at=He.length;He.readingMore=!1}ve.prototype._read=function(Te){this.emit("error",new Error("_read() is not implemented"))},ve.prototype.pipe=function(Te,He){var at=this,et=this._readableState;switch(et.pipesCount){case 0:et.pipes=Te;break;case 1:et.pipes=[et.pipes,Te];break;default:et.pipes.push(Te);break}et.pipesCount+=1,z("pipe count=%d opts=%j",et.pipesCount,He);var Je=(!He||He.end!==!1)&&Te!==ce.stdout&&Te!==ce.stderr,Ie=Je?De:ut;et.endEmitted?ie.nextTick(Ie):at.once("end",Ie),Te.on("unpipe",xe);function xe(pt,vt){z("onunpipe"),pt===at&&vt&&vt.hasUnpiped===!1&&(vt.hasUnpiped=!0,nt())}function De(){z("onend"),Te.end()}var Re=Ge(at);Te.on("drain",Re);var Xe=!1;function nt(){z("cleanup"),Te.removeListener("close",it),Te.removeListener("finish",lt),Te.removeListener("drain",Re),Te.removeListener("error",st),Te.removeListener("unpipe",xe),at.removeListener("end",De),at.removeListener("end",ut),at.removeListener("data",tt),Xe=!0,et.awaitDrain&&(!Te._writableState||Te._writableState.needDrain)&&Re()}var $e=!1;at.on("data",tt);function tt(pt){z("ondata"),$e=!1;var vt=Te.write(pt);vt===!1&&!$e&&((et.pipesCount===1&&et.pipes===Te||et.pipesCount>1&&Ze(et.pipes,Te)!==-1)&&!Xe&&(z("false write response, pause",at._readableState.awaitDrain),at._readableState.awaitDrain++,$e=!0),at.pause())}function st(pt){z("onerror",pt),ut(),Te.removeListener("error",st),re(Te,"error")===0&&Te.emit("error",pt)}me(Te,"error",st);function it(){Te.removeListener("finish",lt),ut()}Te.once("close",it);function lt(){z("onfinish"),Te.removeListener("close",it),ut()}Te.once("finish",lt);function ut(){z("unpipe"),at.unpipe(Te)}return Te.emit("pipe",at),et.flowing||(z("pipe resume"),at.resume()),Te};function Ge(Te){return function(){var He=Te._readableState;z("pipeOnDrain",He.awaitDrain),He.awaitDrain&&He.awaitDrain--,He.awaitDrain===0&&re(Te,"data")&&(He.flowing=!0,Ne(Te))}}ve.prototype.unpipe=function(Te){var He=this._readableState,at={hasUnpiped:!1};if(He.pipesCount===0)return this;if(He.pipesCount===1)return Te&&Te!==He.pipes?this:(Te||(Te=He.pipes),He.pipes=null,He.pipesCount=0,He.flowing=!1,Te&&Te.emit("unpipe",this,at),this);if(!Te){var et=He.pipes,Je=He.pipesCount;He.pipes=null,He.pipesCount=0,He.flowing=!1;for(var Ie=0;Ie<Je;Ie++)et[Ie].emit("unpipe",this,at);return this}var xe=Ze(He.pipes,Te);return xe===-1?this:(He.pipes.splice(xe,1),He.pipesCount-=1,He.pipesCount===1&&(He.pipes=He.pipes[0]),Te.emit("unpipe",this,at),this)},ve.prototype.on=function(Te,He){var at=ne.prototype.on.call(this,Te,He);if(Te==="data")this._readableState.flowing!==!1&&this.resume();else if(Te==="readable"){var et=this._readableState;!et.endEmitted&&!et.readableListening&&(et.readableListening=et.needReadable=!0,et.emittedReadable=!1,et.reading?et.length&&Fe(this):ie.nextTick(Ke,this))}return at},ve.prototype.addListener=ve.prototype.on;function Ke(Te){z("readable nexttick read 0"),Te.read(0)}ve.prototype.resume=function(){var Te=this._readableState;return Te.flowing||(z("resume"),Te.flowing=!0,ze(this,Te)),this};function ze(Te,He){He.resumeScheduled||(He.resumeScheduled=!0,ie.nextTick(ke,Te,He))}function ke(Te,He){He.reading||(z("resume read 0"),Te.read(0)),He.resumeScheduled=!1,He.awaitDrain=0,Te.emit("resume"),Ne(Te),He.flowing&&!He.reading&&Te.read(0)}ve.prototype.pause=function(){return z("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(z("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function Ne(Te){var He=Te._readableState;for(z("flow",He.flowing);He.flowing&&Te.read()!==null;);}ve.prototype.wrap=function(Te){var He=this,at=this._readableState,et=!1;Te.on("end",function(){if(z("wrapped end"),at.decoder&&!at.ended){var xe=at.decoder.end();xe&&xe.length&&He.push(xe)}He.push(null)}),Te.on("data",function(xe){if(z("wrapped data"),at.decoder&&(xe=at.decoder.write(xe)),!(at.objectMode&&xe==null)&&!(!at.objectMode&&(!xe||!xe.length))){var De=He.push(xe);De||(et=!0,Te.pause())}});for(var Je in Te)this[Je]===void 0&&typeof Te[Je]=="function"&&(this[Je]=function(xe){return function(){return Te[xe].apply(Te,arguments)}}(Je));for(var Ie=0;Ie<fe.length;Ie++)Te.on(fe[Ie],this.emit.bind(this,fe[Ie]));return this._read=function(xe){z("wrapped _read",xe),et&&(et=!1,Te.resume())},this},Object.defineProperty(ve.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),ve._fromList=Ve;function Ve(Te,He){if(He.length===0)return null;var at;return He.objectMode?at=He.buffer.shift():!Te||Te>=He.length?(He.decoder?at=He.buffer.join(""):He.buffer.length===1?at=He.buffer.head.data:at=He.buffer.concat(He.length),He.buffer.clear()):at=qe(Te,He.buffer,He.decoder),at}function qe(Te,He,at){var et;return Te<He.head.data.length?(et=He.head.data.slice(0,Te),He.head.data=He.head.data.slice(Te)):Te===He.head.data.length?et=He.shift():et=at?rt(Te,He):Ye(Te,He),et}function rt(Te,He){var at=He.head,et=1,Je=at.data;for(Te-=Je.length;at=at.next;){var Ie=at.data,xe=Te>Ie.length?Ie.length:Te;if(xe===Ie.length?Je+=Ie:Je+=Ie.slice(0,Te),Te-=xe,Te===0){xe===Ie.length?(++et,at.next?He.head=at.next:He.head=He.tail=null):(He.head=at,at.data=Ie.slice(xe));break}++et}return He.length-=et,Je}function Ye(Te,He){var at=te.allocUnsafe(Te),et=He.head,Je=1;for(et.data.copy(at),Te-=et.data.length;et=et.next;){var Ie=et.data,xe=Te>Ie.length?Ie.length:Te;if(Ie.copy(at,at.length-Te,0,xe),Te-=xe,Te===0){xe===Ie.length?(++Je,et.next?He.head=et.next:He.head=He.tail=null):(He.head=et,et.data=Ie.slice(xe));break}++Je}return He.length-=Je,at}function Ue(Te){var He=Te._readableState;if(He.length>0)throw new Error('"endReadable()" called on non-empty stream');He.endEmitted||(He.ended=!0,ie.nextTick(Be,He,Te))}function Be(Te,He){!Te.endEmitted&&Te.length===0&&(Te.endEmitted=!0,He.readable=!1,He.emit("end"))}function Ze(Te,He){for(var at=0,et=Te.length;at<et;at++)if(Te[at]===He)return at;return-1}}).call(this)}).call(this,E("_process"),typeof ot!="undefined"?ot: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,pe,he){"use strict";pe.exports=le;var ce=E("./_stream_duplex"),oe=Object.create(E("core-util-is"));oe.inherits=E("inherits"),oe.inherits(le,ce);function ie(re,ne){var te=this._transformState;te.transforming=!1;var a=te.writecb;if(!a)return this.emit("error",new Error("write callback called multiple times"));te.writechunk=null,te.writecb=null,ne!=null&&this.push(ne),a(re);var y=this._readableState;y.reading=!1,(y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}function le(re){if(!(this instanceof le))return new le(re);ce.call(this,re),this._transformState={afterTransform:ie.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,re&&(typeof re.transform=="function"&&(this._transform=re.transform),typeof re.flush=="function"&&(this._flush=re.flush)),this.on("prefinish",se)}function se(){var re=this;typeof this._flush=="function"?this._flush(function(ne,te){ae(re,ne,te)}):ae(this,null,null)}le.prototype.push=function(re,ne){return this._transformState.needTransform=!1,ce.prototype.push.call(this,re,ne)},le.prototype._transform=function(re,ne,te){throw new Error("_transform() is not implemented")},le.prototype._write=function(re,ne,te){var a=this._transformState;if(a.writecb=te,a.writechunk=re,a.writeencoding=ne,!a.transforming){var y=this._readableState;(a.needTransform||y.needReadable||y.length<y.highWaterMark)&&this._read(y.highWaterMark)}},le.prototype._read=function(re){var ne=this._transformState;ne.writechunk!==null&&ne.writecb&&!ne.transforming?(ne.transforming=!0,this._transform(ne.writechunk,ne.writeencoding,ne.afterTransform)):ne.needTransform=!0},le.prototype._destroy=function(re,ne){var te=this;ce.prototype._destroy.call(this,re,function(a){ne(a),te.emit("close")})};function ae(re,ne,te){if(ne)return re.emit("error",ne);if(te!=null&&re.push(te),re._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(re._transformState.transforming)throw new Error("Calling transform done when still transforming");return re.push(null)}},{"./_stream_duplex":386,"core-util-is":341,inherits:364}],390:[function(E,pe,he){(function(ce,oe,ie){(function(){"use strict";var le=E("process-nextick-args");pe.exports=me;function se(ke,Ne,Ve){this.chunk=ke,this.encoding=Ne,this.callback=Ve,this.next=null}function ae(ke){var Ne=this;this.next=null,this.entry=null,this.finish=function(){ze(Ne,ke)}}var re=!ce.browser&&["v0.10","v0.9."].indexOf(ce.version.slice(0,5))>-1?ie:le.nextTick,ne;me.WritableState=ge;var te=Object.create(E("core-util-is"));te.inherits=E("inherits");var a={deprecate:E("util-deprecate")},y=E("./internal/streams/stream"),x=E("safe-buffer").Buffer,b=oe.Uint8Array||function(){};function ee(ke){return x.from(ke)}function z(ke){return x.isBuffer(ke)||ke instanceof b}var ue=E("./internal/streams/destroy");te.inherits(me,y);function de(){}function ge(ke,Ne){ne=ne||E("./_stream_duplex"),ke=ke||{};var Ve=Ne instanceof ne;this.objectMode=!!ke.objectMode,Ve&&(this.objectMode=this.objectMode||!!ke.writableObjectMode);var qe=ke.highWaterMark,rt=ke.writableHighWaterMark,Ye=this.objectMode?16:16*1024;qe||qe===0?this.highWaterMark=qe:Ve&&(rt||rt===0)?this.highWaterMark=rt:this.highWaterMark=Ye,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 Ue=ke.decodeStrings===!1;this.decodeStrings=!Ue,this.defaultEncoding=ke.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Be){we(Ne,Be)},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 ae(this)}ge.prototype.getBuffer=function(){for(var Ne=this.bufferedRequest,Ve=[];Ne;)Ve.push(Ne),Ne=Ne.next;return Ve},function(){try{Object.defineProperty(ge.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(ke){}}();var fe;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(fe=Function.prototype[Symbol.hasInstance],Object.defineProperty(me,Symbol.hasInstance,{value:function(ke){return fe.call(this,ke)?!0:this!==me?!1:ke&&ke._writableState instanceof ge}})):fe=function(ke){return ke instanceof this};function me(ke){if(ne=ne||E("./_stream_duplex"),!fe.call(me,this)&&!(this instanceof ne))return new me(ke);this._writableState=new ge(ke,this),this.writable=!0,ke&&(typeof ke.write=="function"&&(this._write=ke.write),typeof ke.writev=="function"&&(this._writev=ke.writev),typeof ke.destroy=="function"&&(this._destroy=ke.destroy),typeof ke.final=="function"&&(this._final=ke.final)),y.call(this)}me.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function be(ke,Ne){var Ve=new Error("write after end");ke.emit("error",Ve),le.nextTick(Ne,Ve)}function ve(ke,Ne,Ve,qe){var rt=!0,Ye=!1;return Ve===null?Ye=new TypeError("May not write null values to stream"):typeof Ve!="string"&&Ve!==void 0&&!Ne.objectMode&&(Ye=new TypeError("Invalid non-string/buffer chunk")),Ye&&(ke.emit("error",Ye),le.nextTick(qe,Ye),rt=!1),rt}me.prototype.write=function(ke,Ne,Ve){var qe=this._writableState,rt=!1,Ye=!qe.objectMode&&z(ke);return Ye&&!x.isBuffer(ke)&&(ke=ee(ke)),typeof Ne=="function"&&(Ve=Ne,Ne=null),Ye?Ne="buffer":Ne||(Ne=qe.defaultEncoding),typeof Ve!="function"&&(Ve=de),qe.ended?be(this,Ve):(Ye||ve(this,qe,ke,Ve))&&(qe.pendingcb++,rt=Ee(this,qe,Ye,ke,Ne,Ve)),rt},me.prototype.cork=function(){var ke=this._writableState;ke.corked++},me.prototype.uncork=function(){var ke=this._writableState;ke.corked&&(ke.corked--,!ke.writing&&!ke.corked&&!ke.finished&&!ke.bufferProcessing&&ke.bufferedRequest&&Fe(this,ke))},me.prototype.setDefaultEncoding=function(Ne){if(typeof Ne=="string"&&(Ne=Ne.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Ne+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+Ne);return this._writableState.defaultEncoding=Ne,this};function Pe(ke,Ne,Ve){return!ke.objectMode&&ke.decodeStrings!==!1&&typeof Ne=="string"&&(Ne=x.from(Ne,Ve)),Ne}Object.defineProperty(me.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Ee(ke,Ne,Ve,qe,rt,Ye){if(!Ve){var Ue=Pe(Ne,qe,rt);qe!==Ue&&(Ve=!0,rt="buffer",qe=Ue)}var Be=Ne.objectMode?1:qe.length;Ne.length+=Be;var Ze=Ne.length<Ne.highWaterMark;if(Ze||(Ne.needDrain=!0),Ne.writing||Ne.corked){var Te=Ne.lastBufferedRequest;Ne.lastBufferedRequest={chunk:qe,encoding:rt,isBuf:Ve,callback:Ye,next:null},Te?Te.next=Ne.lastBufferedRequest:Ne.bufferedRequest=Ne.lastBufferedRequest,Ne.bufferedRequestCount+=1}else Ae(ke,Ne,!1,Be,qe,rt,Ye);return Ze}function Ae(ke,Ne,Ve,qe,rt,Ye,Ue){Ne.writelen=qe,Ne.writecb=Ue,Ne.writing=!0,Ne.sync=!0,Ve?ke._writev(rt,Ne.onwrite):ke._write(rt,Ye,Ne.onwrite),Ne.sync=!1}function Ce(ke,Ne,Ve,qe,rt){--Ne.pendingcb,Ve?(le.nextTick(rt,qe),le.nextTick(Ge,ke,Ne),ke._writableState.errorEmitted=!0,ke.emit("error",qe)):(rt(qe),ke._writableState.errorEmitted=!0,ke.emit("error",qe),Ge(ke,Ne))}function _e(ke){ke.writing=!1,ke.writecb=null,ke.length-=ke.writelen,ke.writelen=0}function we(ke,Ne){var Ve=ke._writableState,qe=Ve.sync,rt=Ve.writecb;if(_e(Ve),Ne)Ce(ke,Ve,qe,Ne,rt);else{var Ye=Le(Ve);!Ye&&!Ve.corked&&!Ve.bufferProcessing&&Ve.bufferedRequest&&Fe(ke,Ve),qe?re(Me,ke,Ve,Ye,rt):Me(ke,Ve,Ye,rt)}}function Me(ke,Ne,Ve,qe){Ve||Oe(ke,Ne),Ne.pendingcb--,qe(),Ge(ke,Ne)}function Oe(ke,Ne){Ne.length===0&&Ne.needDrain&&(Ne.needDrain=!1,ke.emit("drain"))}function Fe(ke,Ne){Ne.bufferProcessing=!0;var Ve=Ne.bufferedRequest;if(ke._writev&&Ve&&Ve.next){var qe=Ne.bufferedRequestCount,rt=new Array(qe),Ye=Ne.corkedRequestsFree;Ye.entry=Ve;for(var Ue=0,Be=!0;Ve;)rt[Ue]=Ve,Ve.isBuf||(Be=!1),Ve=Ve.next,Ue+=1;rt.allBuffers=Be,Ae(ke,Ne,!0,Ne.length,rt,"",Ye.finish),Ne.pendingcb++,Ne.lastBufferedRequest=null,Ye.next?(Ne.corkedRequestsFree=Ye.next,Ye.next=null):Ne.corkedRequestsFree=new ae(Ne),Ne.bufferedRequestCount=0}else{for(;Ve;){var Ze=Ve.chunk,Te=Ve.encoding,He=Ve.callback,at=Ne.objectMode?1:Ze.length;if(Ae(ke,Ne,!1,at,Ze,Te,He),Ve=Ve.next,Ne.bufferedRequestCount--,Ne.writing)break}Ve===null&&(Ne.lastBufferedRequest=null)}Ne.bufferedRequest=Ve,Ne.bufferProcessing=!1}me.prototype._write=function(ke,Ne,Ve){Ve(new Error("_write() is not implemented"))},me.prototype._writev=null,me.prototype.end=function(ke,Ne,Ve){var qe=this._writableState;typeof ke=="function"?(Ve=ke,ke=null,Ne=null):typeof Ne=="function"&&(Ve=Ne,Ne=null),ke!=null&&this.write(ke,Ne),qe.corked&&(qe.corked=1,this.uncork()),!qe.ending&&!qe.finished&&Ke(this,qe,Ve)};function Le(ke){return ke.ending&&ke.length===0&&ke.bufferedRequest===null&&!ke.finished&&!ke.writing}function Qe(ke,Ne){ke._final(function(Ve){Ne.pendingcb--,Ve&&ke.emit("error",Ve),Ne.prefinished=!0,ke.emit("prefinish"),Ge(ke,Ne)})}function We(ke,Ne){!Ne.prefinished&&!Ne.finalCalled&&(typeof ke._final=="function"?(Ne.pendingcb++,Ne.finalCalled=!0,le.nextTick(Qe,ke,Ne)):(Ne.prefinished=!0,ke.emit("prefinish")))}function Ge(ke,Ne){var Ve=Le(Ne);return Ve&&(We(ke,Ne),Ne.pendingcb===0&&(Ne.finished=!0,ke.emit("finish"))),Ve}function Ke(ke,Ne,Ve){Ne.ending=!0,Ge(ke,Ne),Ve&&(Ne.finished?le.nextTick(Ve):ke.once("finish",Ve)),Ne.ended=!0,ke.writable=!1}function ze(ke,Ne,Ve){var qe=ke.entry;for(ke.entry=null;qe;){var rt=qe.callback;Ne.pendingcb--,rt(Ve),qe=qe.next}Ne.corkedRequestsFree?Ne.corkedRequestsFree.next=ke:Ne.corkedRequestsFree=ke}Object.defineProperty(me.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(ke){this._writableState&&(this._writableState.destroyed=ke)}}),me.prototype.destroy=ue.destroy,me.prototype._undestroy=ue.undestroy,me.prototype._destroy=function(ke,Ne){this.end(),Ne(ke)}}).call(this)}).call(this,E("_process"),typeof ot!="undefined"?ot: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,pe,he){"use strict";function ce(se,ae){if(!(se instanceof ae))throw new TypeError("Cannot call a class as a function")}var oe=E("safe-buffer").Buffer,ie=E("util");function le(se,ae,re){se.copy(ae,re)}pe.exports=function(){function se(){ce(this,se),this.head=null,this.tail=null,this.length=0}return se.prototype.push=function(re){var ne={data:re,next:null};this.length>0?this.tail.next=ne:this.head=ne,this.tail=ne,++this.length},se.prototype.unshift=function(re){var ne={data:re,next:this.head};this.length===0&&(this.tail=ne),this.head=ne,++this.length},se.prototype.shift=function(){if(this.length!==0){var re=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,re}},se.prototype.clear=function(){this.head=this.tail=null,this.length=0},se.prototype.join=function(re){if(this.length===0)return"";for(var ne=this.head,te=""+ne.data;ne=ne.next;)te+=re+ne.data;return te},se.prototype.concat=function(re){if(this.length===0)return oe.alloc(0);if(this.length===1)return this.head.data;for(var ne=oe.allocUnsafe(re>>>0),te=this.head,a=0;te;)le(te.data,ne,a),a+=te.data.length,te=te.next;return ne},se}(),ie&&ie.inspect&&ie.inspect.custom&&(pe.exports.prototype[ie.inspect.custom]=function(){var se=ie.inspect({length:this.length});return this.constructor.name+" "+se})},{"safe-buffer":396,util:89}],392:[function(E,pe,he){"use strict";var ce=E("process-nextick-args");function oe(se,ae){var re=this,ne=this._readableState&&this._readableState.destroyed,te=this._writableState&&this._writableState.destroyed;return ne||te?(ae?ae(se):se&&(!this._writableState||!this._writableState.errorEmitted)&&ce.nextTick(le,this,se),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(se||null,function(a){!ae&&a?(ce.nextTick(le,re,a),re._writableState&&(re._writableState.errorEmitted=!0)):ae&&ae(a)}),this)}function ie(){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 le(se,ae){se.emit("error",ae)}pe.exports={destroy:oe,undestroy:ie}},{"process-nextick-args":380}],393:[function(E,pe,he){pe.exports=E("events").EventEmitter},{events:344}],394:[function(E,pe,he){he=pe.exports=E("./lib/_stream_readable.js"),he.Stream=he,he.Readable=he,he.Writable=E("./lib/_stream_writable.js"),he.Duplex=E("./lib/_stream_duplex.js"),he.Transform=E("./lib/_stream_transform.js"),he.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,pe,he){var ce=function(oe){"use strict";var ie=Object.prototype,le=ie.hasOwnProperty,se,ae=typeof Symbol=="function"?Symbol:{},re=ae.iterator||"@@iterator",ne=ae.asyncIterator||"@@asyncIterator",te=ae.toStringTag||"@@toStringTag";function a(We,Ge,Ke){return Object.defineProperty(We,Ge,{value:Ke,enumerable:!0,configurable:!0,writable:!0}),We[Ge]}try{a({},"")}catch(We){a=function(Ge,Ke,ze){return Ge[Ke]=ze}}function y(We,Ge,Ke,ze){var ke=Ge&&Ge.prototype instanceof ge?Ge:ge,Ne=Object.create(ke.prototype),Ve=new Fe(ze||[]);return Ne._invoke=_e(We,Ke,Ve),Ne}oe.wrap=y;function x(We,Ge,Ke){try{return{type:"normal",arg:We.call(Ge,Ke)}}catch(ze){return{type:"throw",arg:ze}}}var b="suspendedStart",ee="suspendedYield",z="executing",ue="completed",de={};function ge(){}function fe(){}function me(){}var be={};a(be,re,function(){return this});var ve=Object.getPrototypeOf,Pe=ve&&ve(ve(Le([])));Pe&&Pe!==ie&&le.call(Pe,re)&&(be=Pe);var Ee=me.prototype=ge.prototype=Object.create(be);fe.prototype=me,a(Ee,"constructor",me),a(me,"constructor",fe),fe.displayName=a(me,te,"GeneratorFunction");function Ae(We){["next","throw","return"].forEach(function(Ge){a(We,Ge,function(Ke){return this._invoke(Ge,Ke)})})}oe.isGeneratorFunction=function(We){var Ge=typeof We=="function"&&We.constructor;return Ge?Ge===fe||(Ge.displayName||Ge.name)==="GeneratorFunction":!1},oe.mark=function(We){return Object.setPrototypeOf?Object.setPrototypeOf(We,me):(We.__proto__=me,a(We,te,"GeneratorFunction")),We.prototype=Object.create(Ee),We},oe.awrap=function(We){return{__await:We}};function Ce(We,Ge){function Ke(Ne,Ve,qe,rt){var Ye=x(We[Ne],We,Ve);if(Ye.type==="throw")rt(Ye.arg);else{var Ue=Ye.arg,Be=Ue.value;return Be&&typeof Be=="object"&&le.call(Be,"__await")?Ge.resolve(Be.__await).then(function(Ze){Ke("next",Ze,qe,rt)},function(Ze){Ke("throw",Ze,qe,rt)}):Ge.resolve(Be).then(function(Ze){Ue.value=Ze,qe(Ue)},function(Ze){return Ke("throw",Ze,qe,rt)})}}var ze;function ke(Ne,Ve){function qe(){return new Ge(function(rt,Ye){Ke(Ne,Ve,rt,Ye)})}return ze=ze?ze.then(qe,qe):qe()}this._invoke=ke}Ae(Ce.prototype),a(Ce.prototype,ne,function(){return this}),oe.AsyncIterator=Ce,oe.async=function(We,Ge,Ke,ze,ke){ke===void 0&&(ke=Promise);var Ne=new Ce(y(We,Ge,Ke,ze),ke);return oe.isGeneratorFunction(Ge)?Ne:Ne.next().then(function(Ve){return Ve.done?Ve.value:Ne.next()})};function _e(We,Ge,Ke){var ze=b;return function(Ne,Ve){if(ze===z)throw new Error("Generator is already running");if(ze===ue){if(Ne==="throw")throw Ve;return Qe()}for(Ke.method=Ne,Ke.arg=Ve;;){var qe=Ke.delegate;if(qe){var rt=we(qe,Ke);if(rt){if(rt===de)continue;return rt}}if(Ke.method==="next")Ke.sent=Ke._sent=Ke.arg;else if(Ke.method==="throw"){if(ze===b)throw ze=ue,Ke.arg;Ke.dispatchException(Ke.arg)}else Ke.method==="return"&&Ke.abrupt("return",Ke.arg);ze=z;var Ye=x(We,Ge,Ke);if(Ye.type==="normal"){if(ze=Ke.done?ue:ee,Ye.arg===de)continue;return{value:Ye.arg,done:Ke.done}}else Ye.type==="throw"&&(ze=ue,Ke.method="throw",Ke.arg=Ye.arg)}}}function we(We,Ge){var Ke=We.iterator[Ge.method];if(Ke===se){if(Ge.delegate=null,Ge.method==="throw"){if(We.iterator.return&&(Ge.method="return",Ge.arg=se,we(We,Ge),Ge.method==="throw"))return de;Ge.method="throw",Ge.arg=new TypeError("The iterator does not provide a 'throw' method")}return de}var ze=x(Ke,We.iterator,Ge.arg);if(ze.type==="throw")return Ge.method="throw",Ge.arg=ze.arg,Ge.delegate=null,de;var ke=ze.arg;if(!ke)return Ge.method="throw",Ge.arg=new TypeError("iterator result is not an object"),Ge.delegate=null,de;if(ke.done)Ge[We.resultName]=ke.value,Ge.next=We.nextLoc,Ge.method!=="return"&&(Ge.method="next",Ge.arg=se);else return ke;return Ge.delegate=null,de}Ae(Ee),a(Ee,te,"Generator"),a(Ee,re,function(){return this}),a(Ee,"toString",function(){return"[object Generator]"});function Me(We){var Ge={tryLoc:We[0]};1 in We&&(Ge.catchLoc=We[1]),2 in We&&(Ge.finallyLoc=We[2],Ge.afterLoc=We[3]),this.tryEntries.push(Ge)}function Oe(We){var Ge=We.completion||{};Ge.type="normal",delete Ge.arg,We.completion=Ge}function Fe(We){this.tryEntries=[{tryLoc:"root"}],We.forEach(Me,this),this.reset(!0)}oe.keys=function(We){var Ge=[];for(var Ke in We)Ge.push(Ke);return Ge.reverse(),function ze(){for(;Ge.length;){var ke=Ge.pop();if(ke in We)return ze.value=ke,ze.done=!1,ze}return ze.done=!0,ze}};function Le(We){if(We){var Ge=We[re];if(Ge)return Ge.call(We);if(typeof We.next=="function")return We;if(!isNaN(We.length)){var Ke=-1,ze=function ke(){for(;++Ke<We.length;)if(le.call(We,Ke))return ke.value=We[Ke],ke.done=!1,ke;return ke.value=se,ke.done=!0,ke};return ze.next=ze}}return{next:Qe}}oe.values=Le;function Qe(){return{value:se,done:!0}}return Fe.prototype={constructor:Fe,reset:function(We){if(this.prev=0,this.next=0,this.sent=this._sent=se,this.done=!1,this.delegate=null,this.method="next",this.arg=se,this.tryEntries.forEach(Oe),!We)for(var Ge in this)Ge.charAt(0)==="t"&&le.call(this,Ge)&&!isNaN(+Ge.slice(1))&&(this[Ge]=se)},stop:function(){this.done=!0;var We=this.tryEntries[0],Ge=We.completion;if(Ge.type==="throw")throw Ge.arg;return this.rval},dispatchException:function(We){if(this.done)throw We;var Ge=this;function Ke(rt,Ye){return Ne.type="throw",Ne.arg=We,Ge.next=rt,Ye&&(Ge.method="next",Ge.arg=se),!!Ye}for(var ze=this.tryEntries.length-1;ze>=0;--ze){var ke=this.tryEntries[ze],Ne=ke.completion;if(ke.tryLoc==="root")return Ke("end");if(ke.tryLoc<=this.prev){var Ve=le.call(ke,"catchLoc"),qe=le.call(ke,"finallyLoc");if(Ve&&qe){if(this.prev<ke.catchLoc)return Ke(ke.catchLoc,!0);if(this.prev<ke.finallyLoc)return Ke(ke.finallyLoc)}else if(Ve){if(this.prev<ke.catchLoc)return Ke(ke.catchLoc,!0)}else if(qe){if(this.prev<ke.finallyLoc)return Ke(ke.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(We,Ge){for(var Ke=this.tryEntries.length-1;Ke>=0;--Ke){var ze=this.tryEntries[Ke];if(ze.tryLoc<=this.prev&&le.call(ze,"finallyLoc")&&this.prev<ze.finallyLoc){var ke=ze;break}}ke&&(We==="break"||We==="continue")&&ke.tryLoc<=Ge&&Ge<=ke.finallyLoc&&(ke=null);var Ne=ke?ke.completion:{};return Ne.type=We,Ne.arg=Ge,ke?(this.method="next",this.next=ke.finallyLoc,de):this.complete(Ne)},complete:function(We,Ge){if(We.type==="throw")throw We.arg;return We.type==="break"||We.type==="continue"?this.next=We.arg:We.type==="return"?(this.rval=this.arg=We.arg,this.method="return",this.next="end"):We.type==="normal"&&Ge&&(this.next=Ge),de},finish:function(We){for(var Ge=this.tryEntries.length-1;Ge>=0;--Ge){var Ke=this.tryEntries[Ge];if(Ke.finallyLoc===We)return this.complete(Ke.completion,Ke.afterLoc),Oe(Ke),de}},catch:function(We){for(var Ge=this.tryEntries.length-1;Ge>=0;--Ge){var Ke=this.tryEntries[Ge];if(Ke.tryLoc===We){var ze=Ke.completion;if(ze.type==="throw"){var ke=ze.arg;Oe(Ke)}return ke}}throw new Error("illegal catch attempt")},delegateYield:function(We,Ge,Ke){return this.delegate={iterator:Le(We),resultName:Ge,nextLoc:Ke},this.method==="next"&&(this.arg=se),de}},oe}(typeof pe=="object"?pe.exports:{});try{regeneratorRuntime=ce}catch(oe){typeof globalThis=="object"?globalThis.regeneratorRuntime=ce:Function("r","regeneratorRuntime = r")(ce)}},{}],396:[function(E,pe,he){var ce=E("buffer"),oe=ce.Buffer;function ie(se,ae){for(var re in se)ae[re]=se[re]}oe.from&&oe.alloc&&oe.allocUnsafe&&oe.allocUnsafeSlow?pe.exports=ce:(ie(ce,he),he.Buffer=le);function le(se,ae,re){return oe(se,ae,re)}ie(oe,le),le.from=function(se,ae,re){if(typeof se=="number")throw new TypeError("Argument must not be a number");return oe(se,ae,re)},le.alloc=function(se,ae,re){if(typeof se!="number")throw new TypeError("Argument must be a number");var ne=oe(se);return ae!==void 0?typeof re=="string"?ne.fill(ae,re):ne.fill(ae):ne.fill(0),ne},le.allocUnsafe=function(se){if(typeof se!="number")throw new TypeError("Argument must be a number");return oe(se)},le.allocUnsafeSlow=function(se){if(typeof se!="number")throw new TypeError("Argument must be a number");return ce.SlowBuffer(se)}},{buffer:90}],397:[function(E,pe,he){(function(ce){(function(){(function(oe){oe.parser=function(Ue,Be){return new le(Ue,Be)},oe.SAXParser=le,oe.SAXStream=y,oe.createStream=a,oe.MAX_BUFFER_LENGTH=64*1024;var ie=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];oe.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function le(Ue,Be){if(!(this instanceof le))return new le(Ue,Be);var Ze=this;ae(Ze),Ze.q=Ze.c="",Ze.bufferCheckPosition=oe.MAX_BUFFER_LENGTH,Ze.opt=Be||{},Ze.opt.lowercase=Ze.opt.lowercase||Ze.opt.lowercasetags,Ze.looseCase=Ze.opt.lowercase?"toLowerCase":"toUpperCase",Ze.tags=[],Ze.closed=Ze.closedRoot=Ze.sawRoot=!1,Ze.tag=Ze.error=null,Ze.strict=!!Ue,Ze.noscript=!!(Ue||Ze.opt.noscript),Ze.state=Ce.BEGIN,Ze.strictEntities=Ze.opt.strictEntities,Ze.ENTITIES=Ze.strictEntities?Object.create(oe.XML_ENTITIES):Object.create(oe.ENTITIES),Ze.attribList=[],Ze.opt.xmlns&&(Ze.ns=Object.create(ue)),Ze.trackPosition=Ze.opt.position!==!1,Ze.trackPosition&&(Ze.position=Ze.line=Ze.column=0),we(Ze,"onready")}Object.create||(Object.create=function(Ue){function Be(){}Be.prototype=Ue;var Ze=new Be;return Ze}),Object.keys||(Object.keys=function(Ue){var Be=[];for(var Ze in Ue)Ue.hasOwnProperty(Ze)&&Be.push(Ze);return Be});function se(Ue){for(var Be=Math.max(oe.MAX_BUFFER_LENGTH,10),Ze=0,Te=0,He=ie.length;Te<He;Te++){var at=Ue[ie[Te]].length;if(at>Be)switch(ie[Te]){case"textNode":Oe(Ue);break;case"cdata":Me(Ue,"oncdata",Ue.cdata),Ue.cdata="";break;case"script":Me(Ue,"onscript",Ue.script),Ue.script="";break;default:Le(Ue,"Max buffer length exceeded: "+ie[Te])}Ze=Math.max(Ze,at)}var et=oe.MAX_BUFFER_LENGTH-Ze;Ue.bufferCheckPosition=et+Ue.position}function ae(Ue){for(var Be=0,Ze=ie.length;Be<Ze;Be++)Ue[ie[Be]]=""}function re(Ue){Oe(Ue),Ue.cdata!==""&&(Me(Ue,"oncdata",Ue.cdata),Ue.cdata=""),Ue.script!==""&&(Me(Ue,"onscript",Ue.script),Ue.script="")}le.prototype={end:function(){Qe(this)},write:Ye,resume:function(){return this.error=null,this},close:function(){return this.write(null)},flush:function(){re(this)}};var ne;try{ne=E("stream").Stream}catch(Ue){ne=function(){}}var te=oe.EVENTS.filter(function(Ue){return Ue!=="error"&&Ue!=="end"});function a(Ue,Be){return new y(Ue,Be)}function y(Ue,Be){if(!(this instanceof y))return new y(Ue,Be);ne.apply(this),this._parser=new le(Ue,Be),this.writable=!0,this.readable=!0;var Ze=this;this._parser.onend=function(){Ze.emit("end")},this._parser.onerror=function(Te){Ze.emit("error",Te),Ze._parser.error=null},this._decoder=null,te.forEach(function(Te){Object.defineProperty(Ze,"on"+Te,{get:function(){return Ze._parser["on"+Te]},set:function(He){if(!He)return Ze.removeAllListeners(Te),Ze._parser["on"+Te]=He,He;Ze.on(Te,He)},enumerable:!0,configurable:!1})})}y.prototype=Object.create(ne.prototype,{constructor:{value:y}}),y.prototype.write=function(Ue){if(typeof ce=="function"&&typeof ce.isBuffer=="function"&&ce.isBuffer(Ue)){if(!this._decoder){var Be=E("string_decoder").StringDecoder;this._decoder=new Be("utf8")}Ue=this._decoder.write(Ue)}return this._parser.write(Ue.toString()),this.emit("data",Ue),!0},y.prototype.end=function(Ue){return Ue&&Ue.length&&this.write(Ue),this._parser.end(),!0},y.prototype.on=function(Ue,Be){var Ze=this;return!Ze._parser["on"+Ue]&&te.indexOf(Ue)!==-1&&(Ze._parser["on"+Ue]=function(){var Te=arguments.length===1?[arguments[0]]:Array.apply(null,arguments);Te.splice(0,0,Ue),Ze.emit.apply(Ze,Te)}),ne.prototype.on.call(Ze,Ue,Be)};var x="[CDATA[",b="DOCTYPE",ee="http://www.w3.org/XML/1998/namespace",z="http://www.w3.org/2000/xmlns/",ue={xml:ee,xmlns:z},de=/[:_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]/,ge=/[:_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-]/,fe=/[#:_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]/,me=/[#:_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 be(Ue){return Ue===" "||Ue===`
|
|
|
`||Ue==="\r"||Ue===" "}function ve(Ue){return Ue==='"'||Ue==="'"}function Pe(Ue){return Ue===">"||be(Ue)}function Ee(Ue,Be){return Ue.test(Be)}function Ae(Ue,Be){return!Ee(Ue,Be)}var Ce=0;oe.STATE={BEGIN:Ce++,BEGIN_WHITESPACE:Ce++,TEXT:Ce++,TEXT_ENTITY:Ce++,OPEN_WAKA:Ce++,SGML_DECL:Ce++,SGML_DECL_QUOTED:Ce++,DOCTYPE:Ce++,DOCTYPE_QUOTED:Ce++,DOCTYPE_DTD:Ce++,DOCTYPE_DTD_QUOTED:Ce++,COMMENT_STARTING:Ce++,COMMENT:Ce++,COMMENT_ENDING:Ce++,COMMENT_ENDED:Ce++,CDATA:Ce++,CDATA_ENDING:Ce++,CDATA_ENDING_2:Ce++,PROC_INST:Ce++,PROC_INST_BODY:Ce++,PROC_INST_ENDING:Ce++,OPEN_TAG:Ce++,OPEN_TAG_SLASH:Ce++,ATTRIB:Ce++,ATTRIB_NAME:Ce++,ATTRIB_NAME_SAW_WHITE:Ce++,ATTRIB_VALUE:Ce++,ATTRIB_VALUE_QUOTED:Ce++,ATTRIB_VALUE_CLOSED:Ce++,ATTRIB_VALUE_UNQUOTED:Ce++,ATTRIB_VALUE_ENTITY_Q:Ce++,ATTRIB_VALUE_ENTITY_U:Ce++,CLOSE_TAG:Ce++,CLOSE_TAG_SAW_WHITE:Ce++,SCRIPT:Ce++,SCRIPT_ENDING:Ce++},oe.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},oe.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(oe.ENTITIES).forEach(function(Ue){var Be=oe.ENTITIES[Ue],Ze=typeof Be=="number"?String.fromCharCode(Be):Be;oe.ENTITIES[Ue]=Ze});for(var _e in oe.STATE)oe.STATE[oe.STATE[_e]]=_e;Ce=oe.STATE;function we(Ue,Be,Ze){Ue[Be]&&Ue[Be](Ze)}function Me(Ue,Be,Ze){Ue.textNode&&Oe(Ue),we(Ue,Be,Ze)}function Oe(Ue){Ue.textNode=Fe(Ue.opt,Ue.textNode),Ue.textNode&&we(Ue,"ontext",Ue.textNode),Ue.textNode=""}function Fe(Ue,Be){return Ue.trim&&(Be=Be.trim()),Ue.normalize&&(Be=Be.replace(/\s+/g," ")),Be}function Le(Ue,Be){return Oe(Ue),Ue.trackPosition&&(Be+=`
|
|
|
Line: `+Ue.line+`
|
|
|
Column: `+Ue.column+`
|
|
|
Char: `+Ue.c),Be=new Error(Be),Ue.error=Be,we(Ue,"onerror",Be),Ue}function Qe(Ue){return Ue.sawRoot&&!Ue.closedRoot&&We(Ue,"Unclosed root tag"),Ue.state!==Ce.BEGIN&&Ue.state!==Ce.BEGIN_WHITESPACE&&Ue.state!==Ce.TEXT&&Le(Ue,"Unexpected end"),Oe(Ue),Ue.c="",Ue.closed=!0,we(Ue,"onend"),le.call(Ue,Ue.strict,Ue.opt),Ue}function We(Ue,Be){if(typeof Ue!="object"||!(Ue instanceof le))throw new Error("bad call to strictFail");Ue.strict&&Le(Ue,Be)}function Ge(Ue){Ue.strict||(Ue.tagName=Ue.tagName[Ue.looseCase]());var Be=Ue.tags[Ue.tags.length-1]||Ue,Ze=Ue.tag={name:Ue.tagName,attributes:{}};Ue.opt.xmlns&&(Ze.ns=Be.ns),Ue.attribList.length=0,Me(Ue,"onopentagstart",Ze)}function Ke(Ue,Be){var Ze=Ue.indexOf(":"),Te=Ze<0?["",Ue]:Ue.split(":"),He=Te[0],at=Te[1];return Be&&Ue==="xmlns"&&(He="xmlns",at=""),{prefix:He,local:at}}function ze(Ue){if(Ue.strict||(Ue.attribName=Ue.attribName[Ue.looseCase]()),Ue.attribList.indexOf(Ue.attribName)!==-1||Ue.tag.attributes.hasOwnProperty(Ue.attribName)){Ue.attribName=Ue.attribValue="";return}if(Ue.opt.xmlns){var Be=Ke(Ue.attribName,!0),Ze=Be.prefix,Te=Be.local;if(Ze==="xmlns")if(Te==="xml"&&Ue.attribValue!==ee)We(Ue,"xml: prefix must be bound to "+ee+`
|
|
|
Actual: `+Ue.attribValue);else if(Te==="xmlns"&&Ue.attribValue!==z)We(Ue,"xmlns: prefix must be bound to "+z+`
|
|
|
Actual: `+Ue.attribValue);else{var He=Ue.tag,at=Ue.tags[Ue.tags.length-1]||Ue;He.ns===at.ns&&(He.ns=Object.create(at.ns)),He.ns[Te]=Ue.attribValue}Ue.attribList.push([Ue.attribName,Ue.attribValue])}else Ue.tag.attributes[Ue.attribName]=Ue.attribValue,Me(Ue,"onattribute",{name:Ue.attribName,value:Ue.attribValue});Ue.attribName=Ue.attribValue=""}function ke(Ue,Be){if(Ue.opt.xmlns){var Ze=Ue.tag,Te=Ke(Ue.tagName);Ze.prefix=Te.prefix,Ze.local=Te.local,Ze.uri=Ze.ns[Te.prefix]||"",Ze.prefix&&!Ze.uri&&(We(Ue,"Unbound namespace prefix: "+JSON.stringify(Ue.tagName)),Ze.uri=Te.prefix);var He=Ue.tags[Ue.tags.length-1]||Ue;Ze.ns&&He.ns!==Ze.ns&&Object.keys(Ze.ns).forEach(function(tt){Me(Ue,"onopennamespace",{prefix:tt,uri:Ze.ns[tt]})});for(var at=0,et=Ue.attribList.length;at<et;at++){var Je=Ue.attribList[at],Ie=Je[0],xe=Je[1],De=Ke(Ie,!0),Re=De.prefix,Xe=De.local,nt=Re===""?"":Ze.ns[Re]||"",$e={name:Ie,value:xe,prefix:Re,local:Xe,uri:nt};Re&&Re!=="xmlns"&&!nt&&(We(Ue,"Unbound namespace prefix: "+JSON.stringify(Re)),$e.uri=Re),Ue.tag.attributes[Ie]=$e,Me(Ue,"onattribute",$e)}Ue.attribList.length=0}Ue.tag.isSelfClosing=!!Be,Ue.sawRoot=!0,Ue.tags.push(Ue.tag),Me(Ue,"onopentag",Ue.tag),Be||(!Ue.noscript&&Ue.tagName.toLowerCase()==="script"?Ue.state=Ce.SCRIPT:Ue.state=Ce.TEXT,Ue.tag=null,Ue.tagName=""),Ue.attribName=Ue.attribValue="",Ue.attribList.length=0}function Ne(Ue){if(!Ue.tagName){We(Ue,"Weird empty close tag."),Ue.textNode+="</>",Ue.state=Ce.TEXT;return}if(Ue.script){if(Ue.tagName!=="script"){Ue.script+="</"+Ue.tagName+">",Ue.tagName="",Ue.state=Ce.SCRIPT;return}Me(Ue,"onscript",Ue.script),Ue.script=""}var Be=Ue.tags.length,Ze=Ue.tagName;Ue.strict||(Ze=Ze[Ue.looseCase]());for(var Te=Ze;Be--;){var He=Ue.tags[Be];if(He.name!==Te)We(Ue,"Unexpected close tag");else break}if(Be<0){We(Ue,"Unmatched closing tag: "+Ue.tagName),Ue.textNode+="</"+Ue.tagName+">",Ue.state=Ce.TEXT;return}Ue.tagName=Ze;for(var at=Ue.tags.length;at-- >Be;){var et=Ue.tag=Ue.tags.pop();Ue.tagName=Ue.tag.name,Me(Ue,"onclosetag",Ue.tagName);var Je={};for(var Ie in et.ns)Je[Ie]=et.ns[Ie];var xe=Ue.tags[Ue.tags.length-1]||Ue;Ue.opt.xmlns&&et.ns!==xe.ns&&Object.keys(et.ns).forEach(function(De){var Re=et.ns[De];Me(Ue,"onclosenamespace",{prefix:De,uri:Re})})}Be===0&&(Ue.closedRoot=!0),Ue.tagName=Ue.attribValue=Ue.attribName="",Ue.attribList.length=0,Ue.state=Ce.TEXT}function Ve(Ue){var Be=Ue.entity,Ze=Be.toLowerCase(),Te,He="";return Ue.ENTITIES[Be]?Ue.ENTITIES[Be]:Ue.ENTITIES[Ze]?Ue.ENTITIES[Ze]:(Be=Ze,Be.charAt(0)==="#"&&(Be.charAt(1)==="x"?(Be=Be.slice(2),Te=parseInt(Be,16),He=Te.toString(16)):(Be=Be.slice(1),Te=parseInt(Be,10),He=Te.toString(10))),Be=Be.replace(/^0+/,""),isNaN(Te)||He.toLowerCase()!==Be?(We(Ue,"Invalid character entity"),"&"+Ue.entity+";"):String.fromCodePoint(Te))}function qe(Ue,Be){Be==="<"?(Ue.state=Ce.OPEN_WAKA,Ue.startTagPosition=Ue.position):be(Be)||(We(Ue,"Non-whitespace before first tag."),Ue.textNode=Be,Ue.state=Ce.TEXT)}function rt(Ue,Be){var Ze="";return Be<Ue.length&&(Ze=Ue.charAt(Be)),Ze}function Ye(Ue){var Be=this;if(this.error)throw this.error;if(Be.closed)return Le(Be,"Cannot write after close. Assign an onready handler.");if(Ue===null)return Qe(Be);typeof Ue=="object"&&(Ue=Ue.toString());for(var Ze=0,Te="";Te=rt(Ue,Ze++),Be.c=Te,!!Te;)switch(Be.trackPosition&&(Be.position++,Te===`
|
|
|
`?(Be.line++,Be.column=0):Be.column++),Be.state){case Ce.BEGIN:if(Be.state=Ce.BEGIN_WHITESPACE,Te==="\uFEFF")continue;qe(Be,Te);continue;case Ce.BEGIN_WHITESPACE:qe(Be,Te);continue;case Ce.TEXT:if(Be.sawRoot&&!Be.closedRoot){for(var He=Ze-1;Te&&Te!=="<"&&Te!=="&";)Te=rt(Ue,Ze++),Te&&Be.trackPosition&&(Be.position++,Te===`
|
|
|
`?(Be.line++,Be.column=0):Be.column++);Be.textNode+=Ue.substring(He,Ze-1)}Te==="<"&&!(Be.sawRoot&&Be.closedRoot&&!Be.strict)?(Be.state=Ce.OPEN_WAKA,Be.startTagPosition=Be.position):(!be(Te)&&(!Be.sawRoot||Be.closedRoot)&&We(Be,"Text data outside of root node."),Te==="&"?Be.state=Ce.TEXT_ENTITY:Be.textNode+=Te);continue;case Ce.SCRIPT:Te==="<"?Be.state=Ce.SCRIPT_ENDING:Be.script+=Te;continue;case Ce.SCRIPT_ENDING:Te==="/"?Be.state=Ce.CLOSE_TAG:(Be.script+="<"+Te,Be.state=Ce.SCRIPT);continue;case Ce.OPEN_WAKA:if(Te==="!")Be.state=Ce.SGML_DECL,Be.sgmlDecl="";else if(!be(Te))if(Ee(de,Te))Be.state=Ce.OPEN_TAG,Be.tagName=Te;else if(Te==="/")Be.state=Ce.CLOSE_TAG,Be.tagName="";else if(Te==="?")Be.state=Ce.PROC_INST,Be.procInstName=Be.procInstBody="";else{if(We(Be,"Unencoded <"),Be.startTagPosition+1<Be.position){var at=Be.position-Be.startTagPosition;Te=new Array(at).join(" ")+Te}Be.textNode+="<"+Te,Be.state=Ce.TEXT}continue;case Ce.SGML_DECL:(Be.sgmlDecl+Te).toUpperCase()===x?(Me(Be,"onopencdata"),Be.state=Ce.CDATA,Be.sgmlDecl="",Be.cdata=""):Be.sgmlDecl+Te==="--"?(Be.state=Ce.COMMENT,Be.comment="",Be.sgmlDecl=""):(Be.sgmlDecl+Te).toUpperCase()===b?(Be.state=Ce.DOCTYPE,(Be.doctype||Be.sawRoot)&&We(Be,"Inappropriately located doctype declaration"),Be.doctype="",Be.sgmlDecl=""):Te===">"?(Me(Be,"onsgmldeclaration",Be.sgmlDecl),Be.sgmlDecl="",Be.state=Ce.TEXT):(ve(Te)&&(Be.state=Ce.SGML_DECL_QUOTED),Be.sgmlDecl+=Te);continue;case Ce.SGML_DECL_QUOTED:Te===Be.q&&(Be.state=Ce.SGML_DECL,Be.q=""),Be.sgmlDecl+=Te;continue;case Ce.DOCTYPE:Te===">"?(Be.state=Ce.TEXT,Me(Be,"ondoctype",Be.doctype),Be.doctype=!0):(Be.doctype+=Te,Te==="["?Be.state=Ce.DOCTYPE_DTD:ve(Te)&&(Be.state=Ce.DOCTYPE_QUOTED,Be.q=Te));continue;case Ce.DOCTYPE_QUOTED:Be.doctype+=Te,Te===Be.q&&(Be.q="",Be.state=Ce.DOCTYPE);continue;case Ce.DOCTYPE_DTD:Be.doctype+=Te,Te==="]"?Be.state=Ce.DOCTYPE:ve(Te)&&(Be.state=Ce.DOCTYPE_DTD_QUOTED,Be.q=Te);continue;case Ce.DOCTYPE_DTD_QUOTED:Be.doctype+=Te,Te===Be.q&&(Be.state=Ce.DOCTYPE_DTD,Be.q="");continue;case Ce.COMMENT:Te==="-"?Be.state=Ce.COMMENT_ENDING:Be.comment+=Te;continue;case Ce.COMMENT_ENDING:Te==="-"?(Be.state=Ce.COMMENT_ENDED,Be.comment=Fe(Be.opt,Be.comment),Be.comment&&Me(Be,"oncomment",Be.comment),Be.comment=""):(Be.comment+="-"+Te,Be.state=Ce.COMMENT);continue;case Ce.COMMENT_ENDED:Te!==">"?(We(Be,"Malformed comment"),Be.comment+="--"+Te,Be.state=Ce.COMMENT):Be.state=Ce.TEXT;continue;case Ce.CDATA:Te==="]"?Be.state=Ce.CDATA_ENDING:Be.cdata+=Te;continue;case Ce.CDATA_ENDING:Te==="]"?Be.state=Ce.CDATA_ENDING_2:(Be.cdata+="]"+Te,Be.state=Ce.CDATA);continue;case Ce.CDATA_ENDING_2:Te===">"?(Be.cdata&&Me(Be,"oncdata",Be.cdata),Me(Be,"onclosecdata"),Be.cdata="",Be.state=Ce.TEXT):Te==="]"?Be.cdata+="]":(Be.cdata+="]]"+Te,Be.state=Ce.CDATA);continue;case Ce.PROC_INST:Te==="?"?Be.state=Ce.PROC_INST_ENDING:be(Te)?Be.state=Ce.PROC_INST_BODY:Be.procInstName+=Te;continue;case Ce.PROC_INST_BODY:if(!Be.procInstBody&&be(Te))continue;Te==="?"?Be.state=Ce.PROC_INST_ENDING:Be.procInstBody+=Te;continue;case Ce.PROC_INST_ENDING:Te===">"?(Me(Be,"onprocessinginstruction",{name:Be.procInstName,body:Be.procInstBody}),Be.procInstName=Be.procInstBody="",Be.state=Ce.TEXT):(Be.procInstBody+="?"+Te,Be.state=Ce.PROC_INST_BODY);continue;case Ce.OPEN_TAG:Ee(ge,Te)?Be.tagName+=Te:(Ge(Be),Te===">"?ke(Be):Te==="/"?Be.state=Ce.OPEN_TAG_SLASH:(be(Te)||We(Be,"Invalid character in tag name"),Be.state=Ce.ATTRIB));continue;case Ce.OPEN_TAG_SLASH:Te===">"?(ke(Be,!0),Ne(Be)):(We(Be,"Forward-slash in opening tag not followed by >"),Be.state=Ce.ATTRIB);continue;case Ce.ATTRIB:if(be(Te))continue;Te===">"?ke(Be):Te==="/"?Be.state=Ce.OPEN_TAG_SLASH:Ee(de,Te)?(Be.attribName=Te,Be.attribValue="",Be.state=Ce.ATTRIB_NAME):We(Be,"Invalid attribute name");continue;case Ce.ATTRIB_NAME:Te==="="?Be.state=Ce.ATTRIB_VALUE:Te===">"?(We(Be,"Attribute without value"),Be.attribValue=Be.attribName,ze(Be),ke(Be)):be(Te)?Be.state=Ce.ATTRIB_NAME_SAW_WHITE:Ee(ge,Te)?Be.attribName+=Te:We(Be,"Invalid attribute name");continue;case Ce.ATTRIB_NAME_SAW_WHITE:if(Te==="=")Be.state=Ce.ATTRIB_VALUE;else{if(be(Te))continue;We(Be,"Attribute without value"),Be.tag.attributes[Be.attribName]="",Be.attribValue="",Me(Be,"onattribute",{name:Be.attribName,value:""}),Be.attribName="",Te===">"?ke(Be):Ee(de,Te)?(Be.attribName=Te,Be.state=Ce.ATTRIB_NAME):(We(Be,"Invalid attribute name"),Be.state=Ce.ATTRIB)}continue;case Ce.ATTRIB_VALUE:if(be(Te))continue;ve(Te)?(Be.q=Te,Be.state=Ce.ATTRIB_VALUE_QUOTED):(We(Be,"Unquoted attribute value"),Be.state=Ce.ATTRIB_VALUE_UNQUOTED,Be.attribValue=Te);continue;case Ce.ATTRIB_VALUE_QUOTED:if(Te!==Be.q){Te==="&"?Be.state=Ce.ATTRIB_VALUE_ENTITY_Q:Be.attribValue+=Te;continue}ze(Be),Be.q="",Be.state=Ce.ATTRIB_VALUE_CLOSED;continue;case Ce.ATTRIB_VALUE_CLOSED:be(Te)?Be.state=Ce.ATTRIB:Te===">"?ke(Be):Te==="/"?Be.state=Ce.OPEN_TAG_SLASH:Ee(de,Te)?(We(Be,"No whitespace between attributes"),Be.attribName=Te,Be.attribValue="",Be.state=Ce.ATTRIB_NAME):We(Be,"Invalid attribute name");continue;case Ce.ATTRIB_VALUE_UNQUOTED:if(!Pe(Te)){Te==="&"?Be.state=Ce.ATTRIB_VALUE_ENTITY_U:Be.attribValue+=Te;continue}ze(Be),Te===">"?ke(Be):Be.state=Ce.ATTRIB;continue;case Ce.CLOSE_TAG:if(Be.tagName)Te===">"?Ne(Be):Ee(ge,Te)?Be.tagName+=Te:Be.script?(Be.script+="</"+Be.tagName,Be.tagName="",Be.state=Ce.SCRIPT):(be(Te)||We(Be,"Invalid tagname in closing tag"),Be.state=Ce.CLOSE_TAG_SAW_WHITE);else{if(be(Te))continue;Ae(de,Te)?Be.script?(Be.script+="</"+Te,Be.state=Ce.SCRIPT):We(Be,"Invalid tagname in closing tag."):Be.tagName=Te}continue;case Ce.CLOSE_TAG_SAW_WHITE:if(be(Te))continue;Te===">"?Ne(Be):We(Be,"Invalid characters in closing tag");continue;case Ce.TEXT_ENTITY:case Ce.ATTRIB_VALUE_ENTITY_Q:case Ce.ATTRIB_VALUE_ENTITY_U:var et,Je;switch(Be.state){case Ce.TEXT_ENTITY:et=Ce.TEXT,Je="textNode";break;case Ce.ATTRIB_VALUE_ENTITY_Q:et=Ce.ATTRIB_VALUE_QUOTED,Je="attribValue";break;case Ce.ATTRIB_VALUE_ENTITY_U:et=Ce.ATTRIB_VALUE_UNQUOTED,Je="attribValue";break}Te===";"?(Be[Je]+=Ve(Be),Be.entity="",Be.state=et):Ee(Be.entity.length?me:fe,Te)?Be.entity+=Te:(We(Be,"Invalid character in entity name"),Be[Je]+="&"+Be.entity+Te,Be.entity="",Be.state=et);continue;default:throw new Error(Be,"Unknown state: "+Be.state)}return Be.position>=Be.bufferCheckPosition&&se(Be),Be}String.fromCodePoint||function(){var Ue=String.fromCharCode,Be=Math.floor,Ze=function(){var Te=16384,He=[],at,et,Je=-1,Ie=arguments.length;if(!Ie)return"";for(var xe="";++Je<Ie;){var De=Number(arguments[Je]);if(!isFinite(De)||De<0||De>1114111||Be(De)!==De)throw RangeError("Invalid code point: "+De);De<=65535?He.push(De):(De-=65536,at=(De>>10)+55296,et=De%1024+56320,He.push(at,et)),(Je+1===Ie||He.length>Te)&&(xe+=Ue.apply(null,He),He.length=0)}return xe};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ze,configurable:!0,writable:!0}):String.fromCodePoint=Ze}()})(typeof he=="undefined"?this.sax={}:he)}).call(this)}).call(this,E("buffer").Buffer)},{buffer:90,stream:398,string_decoder:413}],398:[function(E,pe,he){pe.exports=ie;var ce=E("events").EventEmitter,oe=E("inherits");oe(ie,ce),ie.Readable=E("readable-stream/lib/_stream_readable.js"),ie.Writable=E("readable-stream/lib/_stream_writable.js"),ie.Duplex=E("readable-stream/lib/_stream_duplex.js"),ie.Transform=E("readable-stream/lib/_stream_transform.js"),ie.PassThrough=E("readable-stream/lib/_stream_passthrough.js"),ie.finished=E("readable-stream/lib/internal/streams/end-of-stream.js"),ie.pipeline=E("readable-stream/lib/internal/streams/pipeline.js"),ie.Stream=ie;function ie(){ce.call(this)}ie.prototype.pipe=function(le,se){var ae=this;function re(ee){le.writable&&le.write(ee)===!1&&ae.pause&&ae.pause()}ae.on("data",re);function ne(){ae.readable&&ae.resume&&ae.resume()}le.on("drain",ne),!le._isStdio&&(!se||se.end!==!1)&&(ae.on("end",a),ae.on("close",y));var te=!1;function a(){te||(te=!0,le.end())}function y(){te||(te=!0,typeof le.destroy=="function"&&le.destroy())}function x(ee){if(b(),ce.listenerCount(this,"error")===0)throw ee}ae.on("error",x),le.on("error",x);function b(){ae.removeListener("data",re),le.removeListener("drain",ne),ae.removeListener("end",a),ae.removeListener("close",y),ae.removeListener("error",x),le.removeListener("error",x),ae.removeListener("end",b),ae.removeListener("close",b),le.removeListener("close",b)}return ae.on("end",b),ae.on("close",b),le.on("close",b),le.emit("pipe",ae),le}},{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,pe,he){"use strict";function ce(ne,te){ne.prototype=Object.create(te.prototype),ne.prototype.constructor=ne,ne.__proto__=te}var oe={};function ie(ne,te,a){a||(a=Error);function y(b,ee,z){return typeof te=="string"?te:te(b,ee,z)}var x=function(b){ce(ee,b);function ee(z,ue,de){return b.call(this,y(z,ue,de))||this}return ee}(a);x.prototype.name=a.name,x.prototype.code=ne,oe[ne]=x}function le(ne,te){if(Array.isArray(ne)){var a=ne.length;return ne=ne.map(function(y){return String(y)}),a>2?"one of ".concat(te," ").concat(ne.slice(0,a-1).join(", "),", or ")+ne[a-1]:a===2?"one of ".concat(te," ").concat(ne[0]," or ").concat(ne[1]):"of ".concat(te," ").concat(ne[0])}else return"of ".concat(te," ").concat(String(ne))}function se(ne,te,a){return ne.substr(!a||a<0?0:+a,te.length)===te}function ae(ne,te,a){return(a===void 0||a>ne.length)&&(a=ne.length),ne.substring(a-te.length,a)===te}function re(ne,te,a){return typeof a!="number"&&(a=0),a+te.length>ne.length?!1:ne.indexOf(te,a)!==-1}ie("ERR_INVALID_OPT_VALUE",function(ne,te){return'The value "'+te+'" is invalid for option "'+ne+'"'},TypeError),ie("ERR_INVALID_ARG_TYPE",function(ne,te,a){var y;typeof te=="string"&&se(te,"not ")?(y="must not be",te=te.replace(/^not /,"")):y="must be";var x;if(ae(ne," argument"))x="The ".concat(ne," ").concat(y," ").concat(le(te,"type"));else{var b=re(ne,".")?"property":"argument";x='The "'.concat(ne,'" ').concat(b," ").concat(y," ").concat(le(te,"type"))}return x+=". Received type ".concat(typeof a),x},TypeError),ie("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),ie("ERR_METHOD_NOT_IMPLEMENTED",function(ne){return"The "+ne+" method is not implemented"}),ie("ERR_STREAM_PREMATURE_CLOSE","Premature close"),ie("ERR_STREAM_DESTROYED",function(ne){return"Cannot call "+ne+" after a stream was destroyed"}),ie("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),ie("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),ie("ERR_STREAM_WRITE_AFTER_END","write after end"),ie("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),ie("ERR_UNKNOWN_ENCODING",function(ne){return"Unknown encoding: "+ne},TypeError),ie("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),pe.exports.codes=oe},{}],400:[function(E,pe,he){(function(ce){(function(){"use strict";var oe=Object.keys||function(y){var x=[];for(var b in y)x.push(b);return x};pe.exports=ne;var ie=E("./_stream_readable"),le=E("./_stream_writable");E("inherits")(ne,ie);for(var se=oe(le.prototype),ae=0;ae<se.length;ae++){var re=se[ae];ne.prototype[re]||(ne.prototype[re]=le.prototype[re])}function ne(y){if(!(this instanceof ne))return new ne(y);ie.call(this,y),le.call(this,y),this.allowHalfOpen=!0,y&&(y.readable===!1&&(this.readable=!1),y.writable===!1&&(this.writable=!1),y.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",te)))}Object.defineProperty(ne.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(ne.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(ne.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function te(){this._writableState.ended||ce.nextTick(a,this)}function a(y){y.end()}Object.defineProperty(ne.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(x){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=x,this._writableState.destroyed=x)}})}).call(this)}).call(this,E("_process"))},{"./_stream_readable":402,"./_stream_writable":404,_process:467,inherits:364}],401:[function(E,pe,he){"use strict";pe.exports=oe;var ce=E("./_stream_transform");E("inherits")(oe,ce);function oe(ie){if(!(this instanceof oe))return new oe(ie);ce.call(this,ie)}oe.prototype._transform=function(ie,le,se){se(null,ie)}},{"./_stream_transform":403,inherits:364}],402:[function(E,pe,he){(function(ce,oe){(function(){"use strict";pe.exports=Me;var ie;Me.ReadableState=we;var le=E("events").EventEmitter,se=function(Ie,xe){return Ie.listeners(xe).length},ae=E("./internal/streams/stream"),re=E("buffer").Buffer,ne=(typeof oe!="undefined"?oe:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function te(Je){return re.from(Je)}function a(Je){return re.isBuffer(Je)||Je instanceof ne}var y=E("util"),x;y&&y.debuglog?x=y.debuglog("stream"):x=function(){};var b=E("./internal/streams/buffer_list"),ee=E("./internal/streams/destroy"),z=E("./internal/streams/state"),ue=z.getHighWaterMark,de=E("../errors").codes,ge=de.ERR_INVALID_ARG_TYPE,fe=de.ERR_STREAM_PUSH_AFTER_EOF,me=de.ERR_METHOD_NOT_IMPLEMENTED,be=de.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,ve,Pe,Ee;E("inherits")(Me,ae);var Ae=ee.errorOrDestroy,Ce=["error","close","destroy","pause","resume"];function _e(Je,Ie,xe){if(typeof Je.prependListener=="function")return Je.prependListener(Ie,xe);!Je._events||!Je._events[Ie]?Je.on(Ie,xe):Array.isArray(Je._events[Ie])?Je._events[Ie].unshift(xe):Je._events[Ie]=[xe,Je._events[Ie]]}function we(Je,Ie,xe){ie=ie||E("./_stream_duplex"),Je=Je||{},typeof xe!="boolean"&&(xe=Ie instanceof ie),this.objectMode=!!Je.objectMode,xe&&(this.objectMode=this.objectMode||!!Je.readableObjectMode),this.highWaterMark=ue(this,Je,"readableHighWaterMark",xe),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.paused=!0,this.emitClose=Je.emitClose!==!1,this.autoDestroy=!!Je.autoDestroy,this.destroyed=!1,this.defaultEncoding=Je.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,Je.encoding&&(ve||(ve=E("string_decoder/").StringDecoder),this.decoder=new ve(Je.encoding),this.encoding=Je.encoding)}function Me(Je){if(ie=ie||E("./_stream_duplex"),!(this instanceof Me))return new Me(Je);var Ie=this instanceof ie;this._readableState=new we(Je,this,Ie),this.readable=!0,Je&&(typeof Je.read=="function"&&(this._read=Je.read),typeof Je.destroy=="function"&&(this._destroy=Je.destroy)),ae.call(this)}Object.defineProperty(Me.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(Ie){this._readableState&&(this._readableState.destroyed=Ie)}}),Me.prototype.destroy=ee.destroy,Me.prototype._undestroy=ee.undestroy,Me.prototype._destroy=function(Je,Ie){Ie(Je)},Me.prototype.push=function(Je,Ie){var xe=this._readableState,De;return xe.objectMode?De=!0:typeof Je=="string"&&(Ie=Ie||xe.defaultEncoding,Ie!==xe.encoding&&(Je=re.from(Je,Ie),Ie=""),De=!0),Oe(this,Je,Ie,!1,De)},Me.prototype.unshift=function(Je){return Oe(this,Je,null,!0,!1)};function Oe(Je,Ie,xe,De,Re){x("readableAddChunk",Ie);var Xe=Je._readableState;if(Ie===null)Xe.reading=!1,Ke(Je,Xe);else{var nt;if(Re||(nt=Le(Xe,Ie)),nt)Ae(Je,nt);else if(Xe.objectMode||Ie&&Ie.length>0)if(typeof Ie!="string"&&!Xe.objectMode&&Object.getPrototypeOf(Ie)!==re.prototype&&(Ie=te(Ie)),De)Xe.endEmitted?Ae(Je,new be):Fe(Je,Xe,Ie,!0);else if(Xe.ended)Ae(Je,new fe);else{if(Xe.destroyed)return!1;Xe.reading=!1,Xe.decoder&&!xe?(Ie=Xe.decoder.write(Ie),Xe.objectMode||Ie.length!==0?Fe(Je,Xe,Ie,!1):Ne(Je,Xe)):Fe(Je,Xe,Ie,!1)}else De||(Xe.reading=!1,Ne(Je,Xe))}return!Xe.ended&&(Xe.length<Xe.highWaterMark||Xe.length===0)}function Fe(Je,Ie,xe,De){Ie.flowing&&Ie.length===0&&!Ie.sync?(Ie.awaitDrain=0,Je.emit("data",xe)):(Ie.length+=Ie.objectMode?1:xe.length,De?Ie.buffer.unshift(xe):Ie.buffer.push(xe),Ie.needReadable&&ze(Je)),Ne(Je,Ie)}function Le(Je,Ie){var xe;return!a(Ie)&&typeof Ie!="string"&&Ie!==void 0&&!Je.objectMode&&(xe=new ge("chunk",["string","Buffer","Uint8Array"],Ie)),xe}Me.prototype.isPaused=function(){return this._readableState.flowing===!1},Me.prototype.setEncoding=function(Je){ve||(ve=E("string_decoder/").StringDecoder);var Ie=new ve(Je);this._readableState.decoder=Ie,this._readableState.encoding=this._readableState.decoder.encoding;for(var xe=this._readableState.buffer.head,De="";xe!==null;)De+=Ie.write(xe.data),xe=xe.next;return this._readableState.buffer.clear(),De!==""&&this._readableState.buffer.push(De),this._readableState.length=De.length,this};var Qe=1073741824;function We(Je){return Je>=Qe?Je=Qe:(Je--,Je|=Je>>>1,Je|=Je>>>2,Je|=Je>>>4,Je|=Je>>>8,Je|=Je>>>16,Je++),Je}function Ge(Je,Ie){return Je<=0||Ie.length===0&&Ie.ended?0:Ie.objectMode?1:Je!==Je?Ie.flowing&&Ie.length?Ie.buffer.head.data.length:Ie.length:(Je>Ie.highWaterMark&&(Ie.highWaterMark=We(Je)),Je<=Ie.length?Je:Ie.ended?Ie.length:(Ie.needReadable=!0,0))}Me.prototype.read=function(Je){x("read",Je),Je=parseInt(Je,10);var Ie=this._readableState,xe=Je;if(Je!==0&&(Ie.emittedReadable=!1),Je===0&&Ie.needReadable&&((Ie.highWaterMark!==0?Ie.length>=Ie.highWaterMark:Ie.length>0)||Ie.ended))return x("read: emitReadable",Ie.length,Ie.ended),Ie.length===0&&Ie.ended?He(this):ze(this),null;if(Je=Ge(Je,Ie),Je===0&&Ie.ended)return Ie.length===0&&He(this),null;var De=Ie.needReadable;x("need readable",De),(Ie.length===0||Ie.length-Je<Ie.highWaterMark)&&(De=!0,x("length less than watermark",De)),Ie.ended||Ie.reading?(De=!1,x("reading or ended",De)):De&&(x("do read"),Ie.reading=!0,Ie.sync=!0,Ie.length===0&&(Ie.needReadable=!0),this._read(Ie.highWaterMark),Ie.sync=!1,Ie.reading||(Je=Ge(xe,Ie)));var Re;return Je>0?Re=Te(Je,Ie):Re=null,Re===null?(Ie.needReadable=Ie.length<=Ie.highWaterMark,Je=0):(Ie.length-=Je,Ie.awaitDrain=0),Ie.length===0&&(Ie.ended||(Ie.needReadable=!0),xe!==Je&&Ie.ended&&He(this)),Re!==null&&this.emit("data",Re),Re};function Ke(Je,Ie){if(x("onEofChunk"),!Ie.ended){if(Ie.decoder){var xe=Ie.decoder.end();xe&&xe.length&&(Ie.buffer.push(xe),Ie.length+=Ie.objectMode?1:xe.length)}Ie.ended=!0,Ie.sync?ze(Je):(Ie.needReadable=!1,Ie.emittedReadable||(Ie.emittedReadable=!0,ke(Je)))}}function ze(Je){var Ie=Je._readableState;x("emitReadable",Ie.needReadable,Ie.emittedReadable),Ie.needReadable=!1,Ie.emittedReadable||(x("emitReadable",Ie.flowing),Ie.emittedReadable=!0,ce.nextTick(ke,Je))}function ke(Je){var Ie=Je._readableState;x("emitReadable_",Ie.destroyed,Ie.length,Ie.ended),!Ie.destroyed&&(Ie.length||Ie.ended)&&(Je.emit("readable"),Ie.emittedReadable=!1),Ie.needReadable=!Ie.flowing&&!Ie.ended&&Ie.length<=Ie.highWaterMark,Ze(Je)}function Ne(Je,Ie){Ie.readingMore||(Ie.readingMore=!0,ce.nextTick(Ve,Je,Ie))}function Ve(Je,Ie){for(;!Ie.reading&&!Ie.ended&&(Ie.length<Ie.highWaterMark||Ie.flowing&&Ie.length===0);){var xe=Ie.length;if(x("maybeReadMore read 0"),Je.read(0),xe===Ie.length)break}Ie.readingMore=!1}Me.prototype._read=function(Je){Ae(this,new me("_read()"))},Me.prototype.pipe=function(Je,Ie){var xe=this,De=this._readableState;switch(De.pipesCount){case 0:De.pipes=Je;break;case 1:De.pipes=[De.pipes,Je];break;default:De.pipes.push(Je);break}De.pipesCount+=1,x("pipe count=%d opts=%j",De.pipesCount,Ie);var Re=(!Ie||Ie.end!==!1)&&Je!==ce.stdout&&Je!==ce.stderr,Xe=Re?$e:mt;De.endEmitted?ce.nextTick(Xe):xe.once("end",Xe),Je.on("unpipe",nt);function nt(bt,_t){x("onunpipe"),bt===xe&&_t&&_t.hasUnpiped===!1&&(_t.hasUnpiped=!0,it())}function $e(){x("onend"),Je.end()}var tt=qe(xe);Je.on("drain",tt);var st=!1;function it(){x("cleanup"),Je.removeListener("close",pt),Je.removeListener("finish",vt),Je.removeListener("drain",tt),Je.removeListener("error",ut),Je.removeListener("unpipe",nt),xe.removeListener("end",$e),xe.removeListener("end",mt),xe.removeListener("data",lt),st=!0,De.awaitDrain&&(!Je._writableState||Je._writableState.needDrain)&&tt()}xe.on("data",lt);function lt(bt){x("ondata");var _t=Je.write(bt);x("dest.write",_t),_t===!1&&((De.pipesCount===1&&De.pipes===Je||De.pipesCount>1&&et(De.pipes,Je)!==-1)&&!st&&(x("false write response, pause",De.awaitDrain),De.awaitDrain++),xe.pause())}function ut(bt){x("onerror",bt),mt(),Je.removeListener("error",ut),se(Je,"error")===0&&Ae(Je,bt)}_e(Je,"error",ut);function pt(){Je.removeListener("finish",vt),mt()}Je.once("close",pt);function vt(){x("onfinish"),Je.removeListener("close",pt),mt()}Je.once("finish",vt);function mt(){x("unpipe"),xe.unpipe(Je)}return Je.emit("pipe",xe),De.flowing||(x("pipe resume"),xe.resume()),Je};function qe(Je){return function(){var xe=Je._readableState;x("pipeOnDrain",xe.awaitDrain),xe.awaitDrain&&xe.awaitDrain--,xe.awaitDrain===0&&se(Je,"data")&&(xe.flowing=!0,Ze(Je))}}Me.prototype.unpipe=function(Je){var Ie=this._readableState,xe={hasUnpiped:!1};if(Ie.pipesCount===0)return this;if(Ie.pipesCount===1)return Je&&Je!==Ie.pipes?this:(Je||(Je=Ie.pipes),Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1,Je&&Je.emit("unpipe",this,xe),this);if(!Je){var De=Ie.pipes,Re=Ie.pipesCount;Ie.pipes=null,Ie.pipesCount=0,Ie.flowing=!1;for(var Xe=0;Xe<Re;Xe++)De[Xe].emit("unpipe",this,{hasUnpiped:!1});return this}var nt=et(Ie.pipes,Je);return nt===-1?this:(Ie.pipes.splice(nt,1),Ie.pipesCount-=1,Ie.pipesCount===1&&(Ie.pipes=Ie.pipes[0]),Je.emit("unpipe",this,xe),this)},Me.prototype.on=function(Je,Ie){var xe=ae.prototype.on.call(this,Je,Ie),De=this._readableState;return Je==="data"?(De.readableListening=this.listenerCount("readable")>0,De.flowing!==!1&&this.resume()):Je==="readable"&&!De.endEmitted&&!De.readableListening&&(De.readableListening=De.needReadable=!0,De.flowing=!1,De.emittedReadable=!1,x("on readable",De.length,De.reading),De.length?ze(this):De.reading||ce.nextTick(Ye,this)),xe},Me.prototype.addListener=Me.prototype.on,Me.prototype.removeListener=function(Je,Ie){var xe=ae.prototype.removeListener.call(this,Je,Ie);return Je==="readable"&&ce.nextTick(rt,this),xe},Me.prototype.removeAllListeners=function(Je){var Ie=ae.prototype.removeAllListeners.apply(this,arguments);return(Je==="readable"||Je===void 0)&&ce.nextTick(rt,this),Ie};function rt(Je){var Ie=Je._readableState;Ie.readableListening=Je.listenerCount("readable")>0,Ie.resumeScheduled&&!Ie.paused?Ie.flowing=!0:Je.listenerCount("data")>0&&Je.resume()}function Ye(Je){x("readable nexttick read 0"),Je.read(0)}Me.prototype.resume=function(){var Je=this._readableState;return Je.flowing||(x("resume"),Je.flowing=!Je.readableListening,Ue(this,Je)),Je.paused=!1,this};function Ue(Je,Ie){Ie.resumeScheduled||(Ie.resumeScheduled=!0,ce.nextTick(Be,Je,Ie))}function Be(Je,Ie){x("resume",Ie.reading),Ie.reading||Je.read(0),Ie.resumeScheduled=!1,Je.emit("resume"),Ze(Je),Ie.flowing&&!Ie.reading&&Je.read(0)}Me.prototype.pause=function(){return x("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(x("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function Ze(Je){var Ie=Je._readableState;for(x("flow",Ie.flowing);Ie.flowing&&Je.read()!==null;);}Me.prototype.wrap=function(Je){var Ie=this,xe=this._readableState,De=!1;Je.on("end",function(){if(x("wrapped end"),xe.decoder&&!xe.ended){var nt=xe.decoder.end();nt&&nt.length&&Ie.push(nt)}Ie.push(null)}),Je.on("data",function(nt){if(x("wrapped data"),xe.decoder&&(nt=xe.decoder.write(nt)),!(xe.objectMode&&nt==null)&&!(!xe.objectMode&&(!nt||!nt.length))){var $e=Ie.push(nt);$e||(De=!0,Je.pause())}});for(var Re in Je)this[Re]===void 0&&typeof Je[Re]=="function"&&(this[Re]=function($e){return function(){return Je[$e].apply(Je,arguments)}}(Re));for(var Xe=0;Xe<Ce.length;Xe++)Je.on(Ce[Xe],this.emit.bind(this,Ce[Xe]));return this._read=function(nt){x("wrapped _read",nt),De&&(De=!1,Je.resume())},this},typeof Symbol=="function"&&(Me.prototype[Symbol.asyncIterator]=function(){return Pe===void 0&&(Pe=E("./internal/streams/async_iterator")),Pe(this)}),Object.defineProperty(Me.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(Me.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(Me.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(Ie){this._readableState&&(this._readableState.flowing=Ie)}}),Me._fromList=Te,Object.defineProperty(Me.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function Te(Je,Ie){if(Ie.length===0)return null;var xe;return Ie.objectMode?xe=Ie.buffer.shift():!Je||Je>=Ie.length?(Ie.decoder?xe=Ie.buffer.join(""):Ie.buffer.length===1?xe=Ie.buffer.first():xe=Ie.buffer.concat(Ie.length),Ie.buffer.clear()):xe=Ie.buffer.consume(Je,Ie.decoder),xe}function He(Je){var Ie=Je._readableState;x("endReadable",Ie.endEmitted),Ie.endEmitted||(Ie.ended=!0,ce.nextTick(at,Ie,Je))}function at(Je,Ie){if(x("endReadableNT",Je.endEmitted,Je.length),!Je.endEmitted&&Je.length===0&&(Je.endEmitted=!0,Ie.readable=!1,Ie.emit("end"),Je.autoDestroy)){var xe=Ie._writableState;(!xe||xe.autoDestroy&&xe.finished)&&Ie.destroy()}}typeof Symbol=="function"&&(Me.from=function(Je,Ie){return Ee===void 0&&(Ee=E("./internal/streams/from")),Ee(Me,Je,Ie)});function et(Je,Ie){for(var xe=0,De=Je.length;xe<De;xe++)if(Je[xe]===Ie)return xe;return-1}}).call(this)}).call(this,E("_process"),typeof ot!="undefined"?ot: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,pe,he){"use strict";pe.exports=ne;var ce=E("../errors").codes,oe=ce.ERR_METHOD_NOT_IMPLEMENTED,ie=ce.ERR_MULTIPLE_CALLBACK,le=ce.ERR_TRANSFORM_ALREADY_TRANSFORMING,se=ce.ERR_TRANSFORM_WITH_LENGTH_0,ae=E("./_stream_duplex");E("inherits")(ne,ae);function re(y,x){var b=this._transformState;b.transforming=!1;var ee=b.writecb;if(ee===null)return this.emit("error",new ie);b.writechunk=null,b.writecb=null,x!=null&&this.push(x),ee(y);var z=this._readableState;z.reading=!1,(z.needReadable||z.length<z.highWaterMark)&&this._read(z.highWaterMark)}function ne(y){if(!(this instanceof ne))return new ne(y);ae.call(this,y),this._transformState={afterTransform:re.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,y&&(typeof y.transform=="function"&&(this._transform=y.transform),typeof y.flush=="function"&&(this._flush=y.flush)),this.on("prefinish",te)}function te(){var y=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(x,b){a(y,x,b)}):a(this,null,null)}ne.prototype.push=function(y,x){return this._transformState.needTransform=!1,ae.prototype.push.call(this,y,x)},ne.prototype._transform=function(y,x,b){b(new oe("_transform()"))},ne.prototype._write=function(y,x,b){var ee=this._transformState;if(ee.writecb=b,ee.writechunk=y,ee.writeencoding=x,!ee.transforming){var z=this._readableState;(ee.needTransform||z.needReadable||z.length<z.highWaterMark)&&this._read(z.highWaterMark)}},ne.prototype._read=function(y){var x=this._transformState;x.writechunk!==null&&!x.transforming?(x.transforming=!0,this._transform(x.writechunk,x.writeencoding,x.afterTransform)):x.needTransform=!0},ne.prototype._destroy=function(y,x){ae.prototype._destroy.call(this,y,function(b){x(b)})};function a(y,x,b){if(x)return y.emit("error",x);if(b!=null&&y.push(b),y._writableState.length)throw new se;if(y._transformState.transforming)throw new le;return y.push(null)}},{"../errors":399,"./_stream_duplex":400,inherits:364}],404:[function(E,pe,he){(function(ce,oe){(function(){"use strict";pe.exports=we;function ie(Ze,Te,He){this.chunk=Ze,this.encoding=Te,this.callback=He,this.next=null}function le(Ze){var Te=this;this.next=null,this.entry=null,this.finish=function(){Be(Te,Ze)}}var se;we.WritableState=Ce;var ae={deprecate:E("util-deprecate")},re=E("./internal/streams/stream"),ne=E("buffer").Buffer,te=(typeof oe!="undefined"?oe:typeof window!="undefined"?window:typeof self!="undefined"?self:{}).Uint8Array||function(){};function a(Ze){return ne.from(Ze)}function y(Ze){return ne.isBuffer(Ze)||Ze instanceof te}var x=E("./internal/streams/destroy"),b=E("./internal/streams/state"),ee=b.getHighWaterMark,z=E("../errors").codes,ue=z.ERR_INVALID_ARG_TYPE,de=z.ERR_METHOD_NOT_IMPLEMENTED,ge=z.ERR_MULTIPLE_CALLBACK,fe=z.ERR_STREAM_CANNOT_PIPE,me=z.ERR_STREAM_DESTROYED,be=z.ERR_STREAM_NULL_VALUES,ve=z.ERR_STREAM_WRITE_AFTER_END,Pe=z.ERR_UNKNOWN_ENCODING,Ee=x.errorOrDestroy;E("inherits")(we,re);function Ae(){}function Ce(Ze,Te,He){se=se||E("./_stream_duplex"),Ze=Ze||{},typeof He!="boolean"&&(He=Te instanceof se),this.objectMode=!!Ze.objectMode,He&&(this.objectMode=this.objectMode||!!Ze.writableObjectMode),this.highWaterMark=ee(this,Ze,"writableHighWaterMark",He),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var at=Ze.decodeStrings===!1;this.decodeStrings=!at,this.defaultEncoding=Ze.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(et){Ke(Te,et)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=Ze.emitClose!==!1,this.autoDestroy=!!Ze.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new le(this)}Ce.prototype.getBuffer=function(){for(var Te=this.bufferedRequest,He=[];Te;)He.push(Te),Te=Te.next;return He},function(){try{Object.defineProperty(Ce.prototype,"buffer",{get:ae.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(Ze){}}();var _e;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(_e=Function.prototype[Symbol.hasInstance],Object.defineProperty(we,Symbol.hasInstance,{value:function(Te){return _e.call(this,Te)?!0:this!==we?!1:Te&&Te._writableState instanceof Ce}})):_e=function(Te){return Te instanceof this};function we(Ze){se=se||E("./_stream_duplex");var Te=this instanceof se;if(!Te&&!_e.call(we,this))return new we(Ze);this._writableState=new Ce(Ze,this,Te),this.writable=!0,Ze&&(typeof Ze.write=="function"&&(this._write=Ze.write),typeof Ze.writev=="function"&&(this._writev=Ze.writev),typeof Ze.destroy=="function"&&(this._destroy=Ze.destroy),typeof Ze.final=="function"&&(this._final=Ze.final)),re.call(this)}we.prototype.pipe=function(){Ee(this,new fe)};function Me(Ze,Te){var He=new ve;Ee(Ze,He),ce.nextTick(Te,He)}function Oe(Ze,Te,He,at){var et;return He===null?et=new be:typeof He!="string"&&!Te.objectMode&&(et=new ue("chunk",["string","Buffer"],He)),et?(Ee(Ze,et),ce.nextTick(at,et),!1):!0}we.prototype.write=function(Ze,Te,He){var at=this._writableState,et=!1,Je=!at.objectMode&&y(Ze);return Je&&!ne.isBuffer(Ze)&&(Ze=a(Ze)),typeof Te=="function"&&(He=Te,Te=null),Je?Te="buffer":Te||(Te=at.defaultEncoding),typeof He!="function"&&(He=Ae),at.ending?Me(this,He):(Je||Oe(this,at,Ze,He))&&(at.pendingcb++,et=Le(this,at,Je,Ze,Te,He)),et},we.prototype.cork=function(){this._writableState.corked++},we.prototype.uncork=function(){var Ze=this._writableState;Ze.corked&&(Ze.corked--,!Ze.writing&&!Ze.corked&&!Ze.bufferProcessing&&Ze.bufferedRequest&&Ne(this,Ze))},we.prototype.setDefaultEncoding=function(Te){if(typeof Te=="string"&&(Te=Te.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((Te+"").toLowerCase())>-1))throw new Pe(Te);return this._writableState.defaultEncoding=Te,this},Object.defineProperty(we.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function Fe(Ze,Te,He){return!Ze.objectMode&&Ze.decodeStrings!==!1&&typeof Te=="string"&&(Te=ne.from(Te,He)),Te}Object.defineProperty(we.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function Le(Ze,Te,He,at,et,Je){if(!He){var Ie=Fe(Te,at,et);at!==Ie&&(He=!0,et="buffer",at=Ie)}var xe=Te.objectMode?1:at.length;Te.length+=xe;var De=Te.length<Te.highWaterMark;if(De||(Te.needDrain=!0),Te.writing||Te.corked){var Re=Te.lastBufferedRequest;Te.lastBufferedRequest={chunk:at,encoding:et,isBuf:He,callback:Je,next:null},Re?Re.next=Te.lastBufferedRequest:Te.bufferedRequest=Te.lastBufferedRequest,Te.bufferedRequestCount+=1}else Qe(Ze,Te,!1,xe,at,et,Je);return De}function Qe(Ze,Te,He,at,et,Je,Ie){Te.writelen=at,Te.writecb=Ie,Te.writing=!0,Te.sync=!0,Te.destroyed?Te.onwrite(new me("write")):He?Ze._writev(et,Te.onwrite):Ze._write(et,Je,Te.onwrite),Te.sync=!1}function We(Ze,Te,He,at,et){--Te.pendingcb,He?(ce.nextTick(et,at),ce.nextTick(Ye,Ze,Te),Ze._writableState.errorEmitted=!0,Ee(Ze,at)):(et(at),Ze._writableState.errorEmitted=!0,Ee(Ze,at),Ye(Ze,Te))}function Ge(Ze){Ze.writing=!1,Ze.writecb=null,Ze.length-=Ze.writelen,Ze.writelen=0}function Ke(Ze,Te){var He=Ze._writableState,at=He.sync,et=He.writecb;if(typeof et!="function")throw new ge;if(Ge(He),Te)We(Ze,He,at,Te,et);else{var Je=Ve(He)||Ze.destroyed;!Je&&!He.corked&&!He.bufferProcessing&&He.bufferedRequest&&Ne(Ze,He),at?ce.nextTick(ze,Ze,He,Je,et):ze(Ze,He,Je,et)}}function ze(Ze,Te,He,at){He||ke(Ze,Te),Te.pendingcb--,at(),Ye(Ze,Te)}function ke(Ze,Te){Te.length===0&&Te.needDrain&&(Te.needDrain=!1,Ze.emit("drain"))}function Ne(Ze,Te){Te.bufferProcessing=!0;var He=Te.bufferedRequest;if(Ze._writev&&He&&He.next){var at=Te.bufferedRequestCount,et=new Array(at),Je=Te.corkedRequestsFree;Je.entry=He;for(var Ie=0,xe=!0;He;)et[Ie]=He,He.isBuf||(xe=!1),He=He.next,Ie+=1;et.allBuffers=xe,Qe(Ze,Te,!0,Te.length,et,"",Je.finish),Te.pendingcb++,Te.lastBufferedRequest=null,Je.next?(Te.corkedRequestsFree=Je.next,Je.next=null):Te.corkedRequestsFree=new le(Te),Te.bufferedRequestCount=0}else{for(;He;){var De=He.chunk,Re=He.encoding,Xe=He.callback,nt=Te.objectMode?1:De.length;if(Qe(Ze,Te,!1,nt,De,Re,Xe),He=He.next,Te.bufferedRequestCount--,Te.writing)break}He===null&&(Te.lastBufferedRequest=null)}Te.bufferedRequest=He,Te.bufferProcessing=!1}we.prototype._write=function(Ze,Te,He){He(new de("_write()"))},we.prototype._writev=null,we.prototype.end=function(Ze,Te,He){var at=this._writableState;return typeof Ze=="function"?(He=Ze,Ze=null,Te=null):typeof Te=="function"&&(He=Te,Te=null),Ze!=null&&this.write(Ze,Te),at.corked&&(at.corked=1,this.uncork()),at.ending||Ue(this,at,He),this},Object.defineProperty(we.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function Ve(Ze){return Ze.ending&&Ze.length===0&&Ze.bufferedRequest===null&&!Ze.finished&&!Ze.writing}function qe(Ze,Te){Ze._final(function(He){Te.pendingcb--,He&&Ee(Ze,He),Te.prefinished=!0,Ze.emit("prefinish"),Ye(Ze,Te)})}function rt(Ze,Te){!Te.prefinished&&!Te.finalCalled&&(typeof Ze._final=="function"&&!Te.destroyed?(Te.pendingcb++,Te.finalCalled=!0,ce.nextTick(qe,Ze,Te)):(Te.prefinished=!0,Ze.emit("prefinish")))}function Ye(Ze,Te){var He=Ve(Te);if(He&&(rt(Ze,Te),Te.pendingcb===0&&(Te.finished=!0,Ze.emit("finish"),Te.autoDestroy))){var at=Ze._readableState;(!at||at.autoDestroy&&at.endEmitted)&&Ze.destroy()}return He}function Ue(Ze,Te,He){Te.ending=!0,Ye(Ze,Te),He&&(Te.finished?ce.nextTick(He):Ze.once("finish",He)),Te.ended=!0,Ze.writable=!1}function Be(Ze,Te,He){var at=Ze.entry;for(Ze.entry=null;at;){var et=at.callback;Te.pendingcb--,et(He),at=at.next}Te.corkedRequestsFree.next=Ze}Object.defineProperty(we.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(Te){this._writableState&&(this._writableState.destroyed=Te)}}),we.prototype.destroy=x.destroy,we.prototype._undestroy=x.undestroy,we.prototype._destroy=function(Ze,Te){Te(Ze)}}).call(this)}).call(this,E("_process"),typeof ot!="undefined"?ot: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,pe,he){(function(ce){(function(){"use strict";var oe;function ie(be,ve,Pe){return ve=le(ve),ve in be?Object.defineProperty(be,ve,{value:Pe,enumerable:!0,configurable:!0,writable:!0}):be[ve]=Pe,be}function le(be){var ve=se(be,"string");return typeof ve=="symbol"?ve:String(ve)}function se(be,ve){if(typeof be!="object"||be===null)return be;var Pe=be[Symbol.toPrimitive];if(Pe!==void 0){var Ee=Pe.call(be,ve||"default");if(typeof Ee!="object")return Ee;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ve==="string"?String:Number)(be)}var ae=E("./end-of-stream"),re=Symbol("lastResolve"),ne=Symbol("lastReject"),te=Symbol("error"),a=Symbol("ended"),y=Symbol("lastPromise"),x=Symbol("handlePromise"),b=Symbol("stream");function ee(be,ve){return{value:be,done:ve}}function z(be){var ve=be[re];if(ve!==null){var Pe=be[b].read();Pe!==null&&(be[y]=null,be[re]=null,be[ne]=null,ve(ee(Pe,!1)))}}function ue(be){ce.nextTick(z,be)}function de(be,ve){return function(Pe,Ee){be.then(function(){if(ve[a]){Pe(ee(void 0,!0));return}ve[x](Pe,Ee)},Ee)}}var ge=Object.getPrototypeOf(function(){}),fe=Object.setPrototypeOf((oe={get stream(){return this[b]},next:function(){var ve=this,Pe=this[te];if(Pe!==null)return Promise.reject(Pe);if(this[a])return Promise.resolve(ee(void 0,!0));if(this[b].destroyed)return new Promise(function(_e,we){ce.nextTick(function(){ve[te]?we(ve[te]):_e(ee(void 0,!0))})});var Ee=this[y],Ae;if(Ee)Ae=new Promise(de(Ee,this));else{var Ce=this[b].read();if(Ce!==null)return Promise.resolve(ee(Ce,!1));Ae=new Promise(this[x])}return this[y]=Ae,Ae}},ie(oe,Symbol.asyncIterator,function(){return this}),ie(oe,"return",function(){var ve=this;return new Promise(function(Pe,Ee){ve[b].destroy(null,function(Ae){if(Ae){Ee(Ae);return}Pe(ee(void 0,!0))})})}),oe),ge),me=function(ve){var Pe,Ee=Object.create(fe,(Pe={},ie(Pe,b,{value:ve,writable:!0}),ie(Pe,re,{value:null,writable:!0}),ie(Pe,ne,{value:null,writable:!0}),ie(Pe,te,{value:null,writable:!0}),ie(Pe,a,{value:ve._readableState.endEmitted,writable:!0}),ie(Pe,x,{value:function(Ce,_e){var we=Ee[b].read();we?(Ee[y]=null,Ee[re]=null,Ee[ne]=null,Ce(ee(we,!1))):(Ee[re]=Ce,Ee[ne]=_e)},writable:!0}),Pe));return Ee[y]=null,ae(ve,function(Ae){if(Ae&&Ae.code!=="ERR_STREAM_PREMATURE_CLOSE"){var Ce=Ee[ne];Ce!==null&&(Ee[y]=null,Ee[re]=null,Ee[ne]=null,Ce(Ae)),Ee[te]=Ae;return}var _e=Ee[re];_e!==null&&(Ee[y]=null,Ee[re]=null,Ee[ne]=null,_e(ee(void 0,!0))),Ee[a]=!0}),ve.on("readable",ue.bind(null,Ee)),Ee};pe.exports=me}).call(this)}).call(this,E("_process"))},{"./end-of-stream":408,_process:467}],406:[function(E,pe,he){"use strict";function ce(z,ue){var de=Object.keys(z);if(Object.getOwnPropertySymbols){var ge=Object.getOwnPropertySymbols(z);ue&&(ge=ge.filter(function(fe){return Object.getOwnPropertyDescriptor(z,fe).enumerable})),de.push.apply(de,ge)}return de}function oe(z){for(var ue=1;ue<arguments.length;ue++){var de=arguments[ue]!=null?arguments[ue]:{};ue%2?ce(Object(de),!0).forEach(function(ge){ie(z,ge,de[ge])}):Object.getOwnPropertyDescriptors?Object.defineProperties(z,Object.getOwnPropertyDescriptors(de)):ce(Object(de)).forEach(function(ge){Object.defineProperty(z,ge,Object.getOwnPropertyDescriptor(de,ge))})}return z}function ie(z,ue,de){return ue=re(ue),ue in z?Object.defineProperty(z,ue,{value:de,enumerable:!0,configurable:!0,writable:!0}):z[ue]=de,z}function le(z,ue){if(!(z instanceof ue))throw new TypeError("Cannot call a class as a function")}function se(z,ue){for(var de=0;de<ue.length;de++){var ge=ue[de];ge.enumerable=ge.enumerable||!1,ge.configurable=!0,"value"in ge&&(ge.writable=!0),Object.defineProperty(z,re(ge.key),ge)}}function ae(z,ue,de){return ue&&se(z.prototype,ue),de&&se(z,de),Object.defineProperty(z,"prototype",{writable:!1}),z}function re(z){var ue=ne(z,"string");return typeof ue=="symbol"?ue:String(ue)}function ne(z,ue){if(typeof z!="object"||z===null)return z;var de=z[Symbol.toPrimitive];if(de!==void 0){var ge=de.call(z,ue||"default");if(typeof ge!="object")return ge;throw new TypeError("@@toPrimitive must return a primitive value.")}return(ue==="string"?String:Number)(z)}var te=E("buffer"),a=te.Buffer,y=E("util"),x=y.inspect,b=x&&x.custom||"inspect";function ee(z,ue,de){a.prototype.copy.call(z,ue,de)}pe.exports=function(){function z(){le(this,z),this.head=null,this.tail=null,this.length=0}return ae(z,[{key:"push",value:function(de){var ge={data:de,next:null};this.length>0?this.tail.next=ge:this.head=ge,this.tail=ge,++this.length}},{key:"unshift",value:function(de){var ge={data:de,next:this.head};this.length===0&&(this.tail=ge),this.head=ge,++this.length}},{key:"shift",value:function(){if(this.length!==0){var de=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,de}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(de){if(this.length===0)return"";for(var ge=this.head,fe=""+ge.data;ge=ge.next;)fe+=de+ge.data;return fe}},{key:"concat",value:function(de){if(this.length===0)return a.alloc(0);for(var ge=a.allocUnsafe(de>>>0),fe=this.head,me=0;fe;)ee(fe.data,ge,me),me+=fe.data.length,fe=fe.next;return ge}},{key:"consume",value:function(de,ge){var fe;return de<this.head.data.length?(fe=this.head.data.slice(0,de),this.head.data=this.head.data.slice(de)):de===this.head.data.length?fe=this.shift():fe=ge?this._getString(de):this._getBuffer(de),fe}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(de){var ge=this.head,fe=1,me=ge.data;for(de-=me.length;ge=ge.next;){var be=ge.data,ve=de>be.length?be.length:de;if(ve===be.length?me+=be:me+=be.slice(0,de),de-=ve,de===0){ve===be.length?(++fe,ge.next?this.head=ge.next:this.head=this.tail=null):(this.head=ge,ge.data=be.slice(ve));break}++fe}return this.length-=fe,me}},{key:"_getBuffer",value:function(de){var ge=a.allocUnsafe(de),fe=this.head,me=1;for(fe.data.copy(ge),de-=fe.data.length;fe=fe.next;){var be=fe.data,ve=de>be.length?be.length:de;if(be.copy(ge,ge.length-de,0,ve),de-=ve,de===0){ve===be.length?(++me,fe.next?this.head=fe.next:this.head=this.tail=null):(this.head=fe,fe.data=be.slice(ve));break}++me}return this.length-=me,ge}},{key:b,value:function(de,ge){return x(this,oe(oe({},ge),{},{depth:0,customInspect:!1}))}}]),z}()},{buffer:90,util:89}],407:[function(E,pe,he){(function(ce){(function(){"use strict";function oe(ne,te){var a=this,y=this._readableState&&this._readableState.destroyed,x=this._writableState&&this._writableState.destroyed;return y||x?(te?te(ne):ne&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,ce.nextTick(ae,this,ne)):ce.nextTick(ae,this,ne)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(ne||null,function(b){!te&&b?a._writableState?a._writableState.errorEmitted?ce.nextTick(le,a):(a._writableState.errorEmitted=!0,ce.nextTick(ie,a,b)):ce.nextTick(ie,a,b):te?(ce.nextTick(le,a),te(b)):ce.nextTick(le,a)}),this)}function ie(ne,te){ae(ne,te),le(ne)}function le(ne){ne._writableState&&!ne._writableState.emitClose||ne._readableState&&!ne._readableState.emitClose||ne.emit("close")}function se(){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 ae(ne,te){ne.emit("error",te)}function re(ne,te){var a=ne._readableState,y=ne._writableState;a&&a.autoDestroy||y&&y.autoDestroy?ne.destroy(te):ne.emit("error",te)}pe.exports={destroy:oe,undestroy:se,errorOrDestroy:re}}).call(this)}).call(this,E("_process"))},{_process:467}],408:[function(E,pe,he){"use strict";var ce=E("../../../errors").codes.ERR_STREAM_PREMATURE_CLOSE;function oe(ae){var re=!1;return function(){if(!re){re=!0;for(var ne=arguments.length,te=new Array(ne),a=0;a<ne;a++)te[a]=arguments[a];ae.apply(this,te)}}}function ie(){}function le(ae){return ae.setHeader&&typeof ae.abort=="function"}function se(ae,re,ne){if(typeof re=="function")return se(ae,null,re);re||(re={}),ne=oe(ne||ie);var te=re.readable||re.readable!==!1&&ae.readable,a=re.writable||re.writable!==!1&&ae.writable,y=function(){ae.writable||b()},x=ae._writableState&&ae._writableState.finished,b=function(){a=!1,x=!0,te||ne.call(ae)},ee=ae._readableState&&ae._readableState.endEmitted,z=function(){te=!1,ee=!0,a||ne.call(ae)},ue=function(me){ne.call(ae,me)},de=function(){var me;if(te&&!ee)return(!ae._readableState||!ae._readableState.ended)&&(me=new ce),ne.call(ae,me);if(a&&!x)return(!ae._writableState||!ae._writableState.ended)&&(me=new ce),ne.call(ae,me)},ge=function(){ae.req.on("finish",b)};return le(ae)?(ae.on("complete",b),ae.on("abort",de),ae.req?ge():ae.on("request",ge)):a&&!ae._writableState&&(ae.on("end",y),ae.on("close",y)),ae.on("end",z),ae.on("finish",b),re.error!==!1&&ae.on("error",ue),ae.on("close",de),function(){ae.removeListener("complete",b),ae.removeListener("abort",de),ae.removeListener("request",ge),ae.req&&ae.req.removeListener("finish",b),ae.removeListener("end",y),ae.removeListener("close",y),ae.removeListener("finish",b),ae.removeListener("end",z),ae.removeListener("error",ue),ae.removeListener("close",de)}}pe.exports=se},{"../../../errors":399}],409:[function(E,pe,he){pe.exports=function(){throw new Error("Readable.from is not available in the browser")}},{}],410:[function(E,pe,he){"use strict";var ce;function oe(b){var ee=!1;return function(){ee||(ee=!0,b.apply(void 0,arguments))}}var ie=E("../../../errors").codes,le=ie.ERR_MISSING_ARGS,se=ie.ERR_STREAM_DESTROYED;function ae(b){if(b)throw b}function re(b){return b.setHeader&&typeof b.abort=="function"}function ne(b,ee,z,ue){ue=oe(ue);var de=!1;b.on("close",function(){de=!0}),ce===void 0&&(ce=E("./end-of-stream")),ce(b,{readable:ee,writable:z},function(fe){if(fe)return ue(fe);de=!0,ue()});var ge=!1;return function(fe){if(!de&&!ge){if(ge=!0,re(b))return b.abort();if(typeof b.destroy=="function")return b.destroy();ue(fe||new se("pipe"))}}}function te(b){b()}function a(b,ee){return b.pipe(ee)}function y(b){return!b.length||typeof b[b.length-1]!="function"?ae:b.pop()}function x(){for(var b=arguments.length,ee=new Array(b),z=0;z<b;z++)ee[z]=arguments[z];var ue=y(ee);if(Array.isArray(ee[0])&&(ee=ee[0]),ee.length<2)throw new le("streams");var de,ge=ee.map(function(fe,me){var be=me<ee.length-1,ve=me>0;return ne(fe,be,ve,function(Pe){de||(de=Pe),Pe&&ge.forEach(te),!be&&(ge.forEach(te),ue(de))})});return ee.reduce(a)}pe.exports=x},{"../../../errors":399,"./end-of-stream":408}],411:[function(E,pe,he){"use strict";var ce=E("../../../errors").codes.ERR_INVALID_OPT_VALUE;function oe(le,se,ae){return le.highWaterMark!=null?le.highWaterMark:se?le[ae]:null}function ie(le,se,ae,re){var ne=oe(se,re,ae);if(ne!=null){if(!(isFinite(ne)&&Math.floor(ne)===ne)||ne<0){var te=re?ae:"highWaterMark";throw new ce(te,ne)}return Math.floor(ne)}return le.objectMode?16:16*1024}pe.exports={getHighWaterMark:ie}},{"../../../errors":399}],412:[function(E,pe,he){arguments[4][393][0].apply(he,arguments)},{dup:393,events:344}],413:[function(E,pe,he){"use strict";var ce=E("safe-buffer").Buffer,oe=ce.isEncoding||function(ge){switch(ge=""+ge,ge&&ge.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 ie(ge){if(!ge)return"utf8";for(var fe;;)switch(ge){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 ge;default:if(fe)return;ge=(""+ge).toLowerCase(),fe=!0}}function le(ge){var fe=ie(ge);if(typeof fe!="string"&&(ce.isEncoding===oe||!oe(ge)))throw new Error("Unknown encoding: "+ge);return fe||ge}he.StringDecoder=se;function se(ge){this.encoding=le(ge);var fe;switch(this.encoding){case"utf16le":this.text=x,this.end=b,fe=4;break;case"utf8":this.fillLast=te,fe=4;break;case"base64":this.text=ee,this.end=z,fe=3;break;default:this.write=ue,this.end=de;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=ce.allocUnsafe(fe)}se.prototype.write=function(ge){if(ge.length===0)return"";var fe,me;if(this.lastNeed){if(fe=this.fillLast(ge),fe===void 0)return"";me=this.lastNeed,this.lastNeed=0}else me=0;return me<ge.length?fe?fe+this.text(ge,me):this.text(ge,me):fe||""},se.prototype.end=y,se.prototype.text=a,se.prototype.fillLast=function(ge){if(this.lastNeed<=ge.length)return ge.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ge.copy(this.lastChar,this.lastTotal-this.lastNeed,0,ge.length),this.lastNeed-=ge.length};function ae(ge){return ge<=127?0:ge>>5===6?2:ge>>4===14?3:ge>>3===30?4:ge>>6===2?-1:-2}function re(ge,fe,me){var be=fe.length-1;if(be<me)return 0;var ve=ae(fe[be]);return ve>=0?(ve>0&&(ge.lastNeed=ve-1),ve):--be<me||ve===-2?0:(ve=ae(fe[be]),ve>=0?(ve>0&&(ge.lastNeed=ve-2),ve):--be<me||ve===-2?0:(ve=ae(fe[be]),ve>=0?(ve>0&&(ve===2?ve=0:ge.lastNeed=ve-3),ve):0))}function ne(ge,fe,me){if((fe[0]&192)!==128)return ge.lastNeed=0,"\uFFFD";if(ge.lastNeed>1&&fe.length>1){if((fe[1]&192)!==128)return ge.lastNeed=1,"\uFFFD";if(ge.lastNeed>2&&fe.length>2&&(fe[2]&192)!==128)return ge.lastNeed=2,"\uFFFD"}}function te(ge){var fe=this.lastTotal-this.lastNeed,me=ne(this,ge,fe);if(me!==void 0)return me;if(this.lastNeed<=ge.length)return ge.copy(this.lastChar,fe,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);ge.copy(this.lastChar,fe,0,ge.length),this.lastNeed-=ge.length}function a(ge,fe){var me=re(this,ge,fe);if(!this.lastNeed)return ge.toString("utf8",fe);this.lastTotal=me;var be=ge.length-(me-this.lastNeed);return ge.copy(this.lastChar,0,be),ge.toString("utf8",fe,be)}function y(ge){var fe=ge&&ge.length?this.write(ge):"";return this.lastNeed?fe+"\uFFFD":fe}function x(ge,fe){if((ge.length-fe)%2===0){var me=ge.toString("utf16le",fe);if(me){var be=me.charCodeAt(me.length-1);if(be>=55296&&be<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=ge[ge.length-2],this.lastChar[1]=ge[ge.length-1],me.slice(0,-1)}return me}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=ge[ge.length-1],ge.toString("utf16le",fe,ge.length-1)}function b(ge){var fe=ge&&ge.length?this.write(ge):"";if(this.lastNeed){var me=this.lastTotal-this.lastNeed;return fe+this.lastChar.toString("utf16le",0,me)}return fe}function ee(ge,fe){var me=(ge.length-fe)%3;return me===0?ge.toString("base64",fe):(this.lastNeed=3-me,this.lastTotal=3,me===1?this.lastChar[0]=ge[ge.length-1]:(this.lastChar[0]=ge[ge.length-2],this.lastChar[1]=ge[ge.length-1]),ge.toString("base64",fe,ge.length-me))}function z(ge){var fe=ge&&ge.length?this.write(ge):"";return this.lastNeed?fe+this.lastChar.toString("base64",0,3-this.lastNeed):fe}function ue(ge){return ge.toString(this.encoding)}function de(ge){return ge&&ge.length?this.write(ge):""}},{"safe-buffer":396}],414:[function(E,pe,he){(function(ce,oe){(function(){var ie=E("process/browser.js").nextTick,le=Function.prototype.apply,se=Array.prototype.slice,ae={},re=0;he.setTimeout=function(){return new ne(le.call(setTimeout,window,arguments),clearTimeout)},he.setInterval=function(){return new ne(le.call(setInterval,window,arguments),clearInterval)},he.clearTimeout=he.clearInterval=function(te){te.close()};function ne(te,a){this._id=te,this._clearFn=a}ne.prototype.unref=ne.prototype.ref=function(){},ne.prototype.close=function(){this._clearFn.call(window,this._id)},he.enroll=function(te,a){clearTimeout(te._idleTimeoutId),te._idleTimeout=a},he.unenroll=function(te){clearTimeout(te._idleTimeoutId),te._idleTimeout=-1},he._unrefActive=he.active=function(te){clearTimeout(te._idleTimeoutId);var a=te._idleTimeout;a>=0&&(te._idleTimeoutId=setTimeout(function(){te._onTimeout&&te._onTimeout()},a))},he.setImmediate=typeof ce=="function"?ce:function(te){var a=re++,y=arguments.length<2?!1:se.call(arguments,1);return ae[a]=!0,ie(function(){ae[a]&&(y?te.apply(null,y):te.call(null),he.clearImmediate(a))}),a},he.clearImmediate=typeof oe=="function"?oe:function(te){delete ae[te]}}).call(this)}).call(this,E("timers").setImmediate,E("timers").clearImmediate)},{"process/browser.js":381,timers:414}],415:[function(E,pe,he){var ce=E("buffer").Buffer;pe.exports=function(oe){if(oe instanceof Uint8Array){if(oe.byteOffset===0&&oe.byteLength===oe.buffer.byteLength)return oe.buffer;if(typeof oe.buffer.slice=="function")return oe.buffer.slice(oe.byteOffset,oe.byteOffset+oe.byteLength)}if(ce.isBuffer(oe)){for(var ie=new Uint8Array(oe.length),le=oe.length,se=0;se<le;se++)ie[se]=oe[se];return ie.buffer}else throw new Error("Argument must be a Buffer")}},{buffer:90}],416:[function(E,pe,he){(function(ce){(function(){pe.exports=oe;function oe(le,se){if(ie("noDeprecation"))return le;var ae=!1;function re(){if(!ae){if(ie("throwDeprecation"))throw new Error(se);ie("traceDeprecation")?console.trace(se):console.warn(se),ae=!0}return le.apply(this,arguments)}return re}function ie(le){try{if(!ce.localStorage)return!1}catch(ae){return!1}var se=ce.localStorage[le];return se==null?!1:String(se).toLowerCase()==="true"}}).call(this)}).call(this,typeof ot!="undefined"?ot:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],417:[function(E,pe,he){arguments[4][84][0].apply(he,arguments)},{dup:84}],418:[function(E,pe,he){"use strict";var ce=E("is-arguments"),oe=E("is-generator-function"),ie=E("which-typed-array"),le=E("is-typed-array");function se(Re){return Re.call.bind(Re)}var ae=typeof BigInt!="undefined",re=typeof Symbol!="undefined",ne=se(Object.prototype.toString),te=se(Number.prototype.valueOf),a=se(String.prototype.valueOf),y=se(Boolean.prototype.valueOf);if(ae)var x=se(BigInt.prototype.valueOf);if(re)var b=se(Symbol.prototype.valueOf);function ee(Re,Xe){if(typeof Re!="object")return!1;try{return Xe(Re),!0}catch(nt){return!1}}he.isArgumentsObject=ce,he.isGeneratorFunction=oe,he.isTypedArray=le;function z(Re){return typeof Promise!="undefined"&&Re instanceof Promise||Re!==null&&typeof Re=="object"&&typeof Re.then=="function"&&typeof Re.catch=="function"}he.isPromise=z;function ue(Re){return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?ArrayBuffer.isView(Re):le(Re)||Ne(Re)}he.isArrayBufferView=ue;function de(Re){return ie(Re)==="Uint8Array"}he.isUint8Array=de;function ge(Re){return ie(Re)==="Uint8ClampedArray"}he.isUint8ClampedArray=ge;function fe(Re){return ie(Re)==="Uint16Array"}he.isUint16Array=fe;function me(Re){return ie(Re)==="Uint32Array"}he.isUint32Array=me;function be(Re){return ie(Re)==="Int8Array"}he.isInt8Array=be;function ve(Re){return ie(Re)==="Int16Array"}he.isInt16Array=ve;function Pe(Re){return ie(Re)==="Int32Array"}he.isInt32Array=Pe;function Ee(Re){return ie(Re)==="Float32Array"}he.isFloat32Array=Ee;function Ae(Re){return ie(Re)==="Float64Array"}he.isFloat64Array=Ae;function Ce(Re){return ie(Re)==="BigInt64Array"}he.isBigInt64Array=Ce;function _e(Re){return ie(Re)==="BigUint64Array"}he.isBigUint64Array=_e;function we(Re){return ne(Re)==="[object Map]"}we.working=typeof Map!="undefined"&&we(new Map);function Me(Re){return typeof Map=="undefined"?!1:we.working?we(Re):Re instanceof Map}he.isMap=Me;function Oe(Re){return ne(Re)==="[object Set]"}Oe.working=typeof Set!="undefined"&&Oe(new Set);function Fe(Re){return typeof Set=="undefined"?!1:Oe.working?Oe(Re):Re instanceof Set}he.isSet=Fe;function Le(Re){return ne(Re)==="[object WeakMap]"}Le.working=typeof WeakMap!="undefined"&&Le(new WeakMap);function Qe(Re){return typeof WeakMap=="undefined"?!1:Le.working?Le(Re):Re instanceof WeakMap}he.isWeakMap=Qe;function We(Re){return ne(Re)==="[object WeakSet]"}We.working=typeof WeakSet!="undefined"&&We(new WeakSet);function Ge(Re){return We(Re)}he.isWeakSet=Ge;function Ke(Re){return ne(Re)==="[object ArrayBuffer]"}Ke.working=typeof ArrayBuffer!="undefined"&&Ke(new ArrayBuffer);function ze(Re){return typeof ArrayBuffer=="undefined"?!1:Ke.working?Ke(Re):Re instanceof ArrayBuffer}he.isArrayBuffer=ze;function ke(Re){return ne(Re)==="[object DataView]"}ke.working=typeof ArrayBuffer!="undefined"&&typeof DataView!="undefined"&&ke(new DataView(new ArrayBuffer(1),0,1));function Ne(Re){return typeof DataView=="undefined"?!1:ke.working?ke(Re):Re instanceof DataView}he.isDataView=Ne;var Ve=typeof SharedArrayBuffer!="undefined"?SharedArrayBuffer:void 0;function qe(Re){return ne(Re)==="[object SharedArrayBuffer]"}function rt(Re){return typeof Ve=="undefined"?!1:(typeof qe.working=="undefined"&&(qe.working=qe(new Ve)),qe.working?qe(Re):Re instanceof Ve)}he.isSharedArrayBuffer=rt;function Ye(Re){return ne(Re)==="[object AsyncFunction]"}he.isAsyncFunction=Ye;function Ue(Re){return ne(Re)==="[object Map Iterator]"}he.isMapIterator=Ue;function Be(Re){return ne(Re)==="[object Set Iterator]"}he.isSetIterator=Be;function Ze(Re){return ne(Re)==="[object Generator]"}he.isGeneratorObject=Ze;function Te(Re){return ne(Re)==="[object WebAssembly.Module]"}he.isWebAssemblyCompiledModule=Te;function He(Re){return ee(Re,te)}he.isNumberObject=He;function at(Re){return ee(Re,a)}he.isStringObject=at;function et(Re){return ee(Re,y)}he.isBooleanObject=et;function Je(Re){return ae&&ee(Re,x)}he.isBigIntObject=Je;function Ie(Re){return re&&ee(Re,b)}he.isSymbolObject=Ie;function xe(Re){return He(Re)||at(Re)||et(Re)||Je(Re)||Ie(Re)}he.isBoxedPrimitive=xe;function De(Re){return typeof Uint8Array!="undefined"&&(ze(Re)||rt(Re))}he.isAnyArrayBuffer=De,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(Re){Object.defineProperty(he,Re,{enumerable:!1,value:function(){throw new Error(Re+" is not supported in userland")}})})},{"is-arguments":365,"is-generator-function":368,"is-typed-array":369,"which-typed-array":420}],419:[function(E,pe,he){(function(ce){(function(){var oe=Object.getOwnPropertyDescriptors||function(Ve){for(var qe=Object.keys(Ve),rt={},Ye=0;Ye<qe.length;Ye++)rt[qe[Ye]]=Object.getOwnPropertyDescriptor(Ve,qe[Ye]);return rt},ie=/%[sdj%]/g;he.format=function(Ne){if(!ve(Ne)){for(var Ve=[],qe=0;qe<arguments.length;qe++)Ve.push(re(arguments[qe]));return Ve.join(" ")}for(var qe=1,rt=arguments,Ye=rt.length,Ue=String(Ne).replace(ie,function(Ze){if(Ze==="%%")return"%";if(qe>=Ye)return Ze;switch(Ze){case"%s":return String(rt[qe++]);case"%d":return Number(rt[qe++]);case"%j":try{return JSON.stringify(rt[qe++])}catch(Te){return"[Circular]"}default:return Ze}}),Be=rt[qe];qe<Ye;Be=rt[++qe])fe(Be)||!Ce(Be)?Ue+=" "+Be:Ue+=" "+re(Be);return Ue},he.deprecate=function(Ne,Ve){if(typeof ce!="undefined"&&ce.noDeprecation===!0)return Ne;if(typeof ce=="undefined")return function(){return he.deprecate(Ne,Ve).apply(this,arguments)};var qe=!1;function rt(){if(!qe){if(ce.throwDeprecation)throw new Error(Ve);ce.traceDeprecation?console.trace(Ve):console.error(Ve),qe=!0}return Ne.apply(this,arguments)}return rt};var le={},se=/^$/;if(ce.env.NODE_DEBUG){var ae=ce.env.NODE_DEBUG;ae=ae.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),se=new RegExp("^"+ae+"$","i")}he.debuglog=function(Ne){if(Ne=Ne.toUpperCase(),!le[Ne])if(se.test(Ne)){var Ve=ce.pid;le[Ne]=function(){var qe=he.format.apply(he,arguments);console.error("%s %d: %s",Ne,Ve,qe)}}else le[Ne]=function(){};return le[Ne]};function re(Ne,Ve){var qe={seen:[],stylize:te};return arguments.length>=3&&(qe.depth=arguments[2]),arguments.length>=4&&(qe.colors=arguments[3]),ge(Ve)?qe.showHidden=Ve:Ve&&he._extend(qe,Ve),Ee(qe.showHidden)&&(qe.showHidden=!1),Ee(qe.depth)&&(qe.depth=2),Ee(qe.colors)&&(qe.colors=!1),Ee(qe.customInspect)&&(qe.customInspect=!0),qe.colors&&(qe.stylize=ne),y(qe,Ne,qe.depth)}he.inspect=re,re.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]},re.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function ne(Ne,Ve){var qe=re.styles[Ve];return qe?"\x1B["+re.colors[qe][0]+"m"+Ne+"\x1B["+re.colors[qe][1]+"m":Ne}function te(Ne,Ve){return Ne}function a(Ne){var Ve={};return Ne.forEach(function(qe,rt){Ve[qe]=!0}),Ve}function y(Ne,Ve,qe){if(Ne.customInspect&&Ve&&Me(Ve.inspect)&&Ve.inspect!==he.inspect&&!(Ve.constructor&&Ve.constructor.prototype===Ve)){var rt=Ve.inspect(qe,Ne);return ve(rt)||(rt=y(Ne,rt,qe)),rt}var Ye=x(Ne,Ve);if(Ye)return Ye;var Ue=Object.keys(Ve),Be=a(Ue);if(Ne.showHidden&&(Ue=Object.getOwnPropertyNames(Ve)),we(Ve)&&(Ue.indexOf("message")>=0||Ue.indexOf("description")>=0))return b(Ve);if(Ue.length===0){if(Me(Ve)){var Ze=Ve.name?": "+Ve.name:"";return Ne.stylize("[Function"+Ze+"]","special")}if(Ae(Ve))return Ne.stylize(RegExp.prototype.toString.call(Ve),"regexp");if(_e(Ve))return Ne.stylize(Date.prototype.toString.call(Ve),"date");if(we(Ve))return b(Ve)}var Te="",He=!1,at=["{","}"];if(de(Ve)&&(He=!0,at=["[","]"]),Me(Ve)){var et=Ve.name?": "+Ve.name:"";Te=" [Function"+et+"]"}if(Ae(Ve)&&(Te=" "+RegExp.prototype.toString.call(Ve)),_e(Ve)&&(Te=" "+Date.prototype.toUTCString.call(Ve)),we(Ve)&&(Te=" "+b(Ve)),Ue.length===0&&(!He||Ve.length==0))return at[0]+Te+at[1];if(qe<0)return Ae(Ve)?Ne.stylize(RegExp.prototype.toString.call(Ve),"regexp"):Ne.stylize("[Object]","special");Ne.seen.push(Ve);var Je;return He?Je=ee(Ne,Ve,qe,Be,Ue):Je=Ue.map(function(Ie){return z(Ne,Ve,qe,Be,Ie,He)}),Ne.seen.pop(),ue(Je,Te,at)}function x(Ne,Ve){if(Ee(Ve))return Ne.stylize("undefined","undefined");if(ve(Ve)){var qe="'"+JSON.stringify(Ve).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Ne.stylize(qe,"string")}if(be(Ve))return Ne.stylize(""+Ve,"number");if(ge(Ve))return Ne.stylize(""+Ve,"boolean");if(fe(Ve))return Ne.stylize("null","null")}function b(Ne){return"["+Error.prototype.toString.call(Ne)+"]"}function ee(Ne,Ve,qe,rt,Ye){for(var Ue=[],Be=0,Ze=Ve.length;Be<Ze;++Be)Ge(Ve,String(Be))?Ue.push(z(Ne,Ve,qe,rt,String(Be),!0)):Ue.push("");return Ye.forEach(function(Te){Te.match(/^\d+$/)||Ue.push(z(Ne,Ve,qe,rt,Te,!0))}),Ue}function z(Ne,Ve,qe,rt,Ye,Ue){var Be,Ze,Te;if(Te=Object.getOwnPropertyDescriptor(Ve,Ye)||{value:Ve[Ye]},Te.get?Te.set?Ze=Ne.stylize("[Getter/Setter]","special"):Ze=Ne.stylize("[Getter]","special"):Te.set&&(Ze=Ne.stylize("[Setter]","special")),Ge(rt,Ye)||(Be="["+Ye+"]"),Ze||(Ne.seen.indexOf(Te.value)<0?(fe(qe)?Ze=y(Ne,Te.value,null):Ze=y(Ne,Te.value,qe-1),Ze.indexOf(`
|
|
|
`)>-1&&(Ue?Ze=Ze.split(`
|
|
|
`).map(function(He){return" "+He}).join(`
|
|
|
`).slice(2):Ze=`
|
|
|
`+Ze.split(`
|
|
|
`).map(function(He){return" "+He}).join(`
|
|
|
`))):Ze=Ne.stylize("[Circular]","special")),Ee(Be)){if(Ue&&Ye.match(/^\d+$/))return Ze;Be=JSON.stringify(""+Ye),Be.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Be=Be.slice(1,-1),Be=Ne.stylize(Be,"name")):(Be=Be.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Be=Ne.stylize(Be,"string"))}return Be+": "+Ze}function ue(Ne,Ve,qe){var rt=0,Ye=Ne.reduce(function(Ue,Be){return rt++,Be.indexOf(`
|
|
|
`)>=0&&rt++,Ue+Be.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Ye>60?qe[0]+(Ve===""?"":Ve+`
|
|
|
`)+" "+Ne.join(`,
|
|
|
`)+" "+qe[1]:qe[0]+Ve+" "+Ne.join(", ")+" "+qe[1]}he.types=E("./support/types");function de(Ne){return Array.isArray(Ne)}he.isArray=de;function ge(Ne){return typeof Ne=="boolean"}he.isBoolean=ge;function fe(Ne){return Ne===null}he.isNull=fe;function me(Ne){return Ne==null}he.isNullOrUndefined=me;function be(Ne){return typeof Ne=="number"}he.isNumber=be;function ve(Ne){return typeof Ne=="string"}he.isString=ve;function Pe(Ne){return typeof Ne=="symbol"}he.isSymbol=Pe;function Ee(Ne){return Ne===void 0}he.isUndefined=Ee;function Ae(Ne){return Ce(Ne)&&Fe(Ne)==="[object RegExp]"}he.isRegExp=Ae,he.types.isRegExp=Ae;function Ce(Ne){return typeof Ne=="object"&&Ne!==null}he.isObject=Ce;function _e(Ne){return Ce(Ne)&&Fe(Ne)==="[object Date]"}he.isDate=_e,he.types.isDate=_e;function we(Ne){return Ce(Ne)&&(Fe(Ne)==="[object Error]"||Ne instanceof Error)}he.isError=we,he.types.isNativeError=we;function Me(Ne){return typeof Ne=="function"}he.isFunction=Me;function Oe(Ne){return Ne===null||typeof Ne=="boolean"||typeof Ne=="number"||typeof Ne=="string"||typeof Ne=="symbol"||typeof Ne=="undefined"}he.isPrimitive=Oe,he.isBuffer=E("./support/isBuffer");function Fe(Ne){return Object.prototype.toString.call(Ne)}function Le(Ne){return Ne<10?"0"+Ne.toString(10):Ne.toString(10)}var Qe=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function We(){var Ne=new Date,Ve=[Le(Ne.getHours()),Le(Ne.getMinutes()),Le(Ne.getSeconds())].join(":");return[Ne.getDate(),Qe[Ne.getMonth()],Ve].join(" ")}he.log=function(){console.log("%s - %s",We(),he.format.apply(he,arguments))},he.inherits=E("inherits"),he._extend=function(Ne,Ve){if(!Ve||!Ce(Ve))return Ne;for(var qe=Object.keys(Ve),rt=qe.length;rt--;)Ne[qe[rt]]=Ve[qe[rt]];return Ne};function Ge(Ne,Ve){return Object.prototype.hasOwnProperty.call(Ne,Ve)}var Ke=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;he.promisify=function(Ve){if(typeof Ve!="function")throw new TypeError('The "original" argument must be of type Function');if(Ke&&Ve[Ke]){var qe=Ve[Ke];if(typeof qe!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(qe,Ke,{value:qe,enumerable:!1,writable:!1,configurable:!0}),qe}function qe(){for(var rt,Ye,Ue=new Promise(function(Te,He){rt=Te,Ye=He}),Be=[],Ze=0;Ze<arguments.length;Ze++)Be.push(arguments[Ze]);Be.push(function(Te,He){Te?Ye(Te):rt(He)});try{Ve.apply(this,Be)}catch(Te){Ye(Te)}return Ue}return Object.setPrototypeOf(qe,Object.getPrototypeOf(Ve)),Ke&&Object.defineProperty(qe,Ke,{value:qe,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(qe,oe(Ve))},he.promisify.custom=Ke;function ze(Ne,Ve){if(!Ne){var qe=new Error("Promise was rejected with a falsy value");qe.reason=Ne,Ne=qe}return Ve(Ne)}function ke(Ne){if(typeof Ne!="function")throw new TypeError('The "original" argument must be of type Function');function Ve(){for(var qe=[],rt=0;rt<arguments.length;rt++)qe.push(arguments[rt]);var Ye=qe.pop();if(typeof Ye!="function")throw new TypeError("The last argument must be of type Function");var Ue=this,Be=function(){return Ye.apply(Ue,arguments)};Ne.apply(this,qe).then(function(Ze){ce.nextTick(Be.bind(null,null,Ze))},function(Ze){ce.nextTick(ze.bind(null,Ze,Be))})}return Object.setPrototypeOf(Ve,Object.getPrototypeOf(Ne)),Object.defineProperties(Ve,oe(Ne)),Ve}he.callbackify=ke}).call(this)}).call(this,E("_process"))},{"./support/isBuffer":417,"./support/types":418,_process:467,inherits:364}],420:[function(E,pe,he){(function(ce){(function(){"use strict";var oe=E("for-each"),ie=E("available-typed-arrays"),le=E("call-bind"),se=E("call-bind/callBound"),ae=E("gopd"),re=se("Object.prototype.toString"),ne=E("has-tostringtag/shams")(),te=typeof globalThis=="undefined"?ce:globalThis,a=ie(),y=se("String.prototype.slice"),x=Object.getPrototypeOf,b=se("Array.prototype.indexOf",!0)||function(ge,fe){for(var me=0;me<ge.length;me+=1)if(ge[me]===fe)return me;return-1},ee={__proto__:null};ne&&ae&&x?oe(a,function(de){var ge=new te[de];if(Symbol.toStringTag in ge){var fe=x(ge),me=ae(fe,Symbol.toStringTag);if(!me){var be=x(fe);me=ae(be,Symbol.toStringTag)}ee["$"+de]=le(me.get)}}):oe(a,function(de){var ge=new te[de];ee["$"+de]=le(ge.slice)});var z=function(ge){var fe=!1;return oe(ee,function(me,be){if(!fe)try{"$"+me(ge)===be&&(fe=y(be,1))}catch(ve){}}),fe},ue=function(ge){var fe=!1;return oe(ee,function(me,be){if(!fe)try{me(ge),fe=y(be,1)}catch(ve){}}),fe};pe.exports=function(ge){if(!ge||typeof ge!="object")return!1;if(!ne){var fe=y(re(ge),8,-1);return b(a,fe)>-1?fe:fe!=="Object"?!1:ue(ge)}return ae?z(ge):null}}).call(this)}).call(this,typeof ot!="undefined"?ot: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,pe,he){(function(){"use strict";he.stripBOM=function(ce){return ce[0]==="\uFEFF"?ce.substring(1):ce}}).call(this)},{}],422:[function(E,pe,he){(function(){"use strict";var ce,oe,ie,le,se,ae={}.hasOwnProperty;ce=E("xmlbuilder"),oe=E("./defaults").defaults,le=function(re){return typeof re=="string"&&(re.indexOf("&")>=0||re.indexOf(">")>=0||re.indexOf("<")>=0)},se=function(re){return"<![CDATA["+ie(re)+"]]>"},ie=function(re){return re.replace("]]>","]]]]><![CDATA[>")},he.Builder=function(){function re(ne){var te,a,y;this.options={},a=oe["0.2"];for(te in a)ae.call(a,te)&&(y=a[te],this.options[te]=y);for(te in ne)ae.call(ne,te)&&(y=ne[te],this.options[te]=y)}return re.prototype.buildObject=function(ne){var te,a,y,x,b;return te=this.options.attrkey,a=this.options.charkey,Object.keys(ne).length===1&&this.options.rootName===oe["0.2"].rootName?(b=Object.keys(ne)[0],ne=ne[b]):b=this.options.rootName,y=function(ee){return function(z,ue){var de,ge,fe,me,be,ve;if(typeof ue!="object")ee.options.cdata&&le(ue)?z.raw(se(ue)):z.txt(ue);else if(Array.isArray(ue)){for(me in ue)if(ae.call(ue,me)){ge=ue[me];for(be in ge)fe=ge[be],z=y(z.ele(be),fe).up()}}else for(be in ue)if(ae.call(ue,be))if(ge=ue[be],be===te){if(typeof ge=="object")for(de in ge)ve=ge[de],z=z.att(de,ve)}else if(be===a)ee.options.cdata&&le(ge)?z=z.raw(se(ge)):z=z.txt(ge);else if(Array.isArray(ge))for(me in ge)ae.call(ge,me)&&(fe=ge[me],typeof fe=="string"?ee.options.cdata&&le(fe)?z=z.ele(be).raw(se(fe)).up():z=z.ele(be,fe).up():z=y(z.ele(be),fe).up());else typeof ge=="object"?z=y(z.ele(be),ge).up():typeof ge=="string"&&ee.options.cdata&&le(ge)?z=z.ele(be).raw(se(ge)).up():(ge==null&&(ge=""),z=z.ele(be,ge.toString()).up());return z}}(this),x=ce.create(b,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),y(x,ne).end(this.options.renderOpts)},re}()}).call(this)},{"./defaults":423,xmlbuilder:459}],423:[function(E,pe,he){(function(){he.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,pe,he){(function(){"use strict";var ce,oe,ie,le,se,ae,re,ne,te,a=function(b,ee){return function(){return b.apply(ee,arguments)}},y=function(b,ee){for(var z in ee)x.call(ee,z)&&(b[z]=ee[z]);function ue(){this.constructor=b}return ue.prototype=ee.prototype,b.prototype=new ue,b.__super__=ee.prototype,b},x={}.hasOwnProperty;ne=E("sax"),le=E("events"),ce=E("./bom"),re=E("./processors"),te=E("timers").setImmediate,oe=E("./defaults").defaults,se=function(b){return typeof b=="object"&&b!=null&&Object.keys(b).length===0},ae=function(b,ee,z){var ue,de,ge;for(ue=0,de=b.length;ue<de;ue++)ge=b[ue],ee=ge(ee,z);return ee},ie=function(b,ee,z){var ue;return ue=Object.create(null),ue.value=z,ue.writable=!0,ue.enumerable=!0,ue.configurable=!0,Object.defineProperty(b,ee,ue)},he.Parser=function(b){y(ee,b);function ee(z){this.parseStringPromise=a(this.parseStringPromise,this),this.parseString=a(this.parseString,this),this.reset=a(this.reset,this),this.assignOrPush=a(this.assignOrPush,this),this.processAsync=a(this.processAsync,this);var ue,de,ge;if(!(this instanceof he.Parser))return new he.Parser(z);this.options={},de=oe["0.2"];for(ue in de)x.call(de,ue)&&(ge=de[ue],this.options[ue]=ge);for(ue in z)x.call(z,ue)&&(ge=z[ue],this.options[ue]=ge);this.options.xmlns&&(this.options.xmlnskey=this.options.attrkey+"ns"),this.options.normalizeTags&&(this.options.tagNameProcessors||(this.options.tagNameProcessors=[]),this.options.tagNameProcessors.unshift(re.normalize)),this.reset()}return ee.prototype.processAsync=function(){var z,ue;try{return this.remaining.length<=this.options.chunkSize?(z=this.remaining,this.remaining="",this.saxParser=this.saxParser.write(z),this.saxParser.close()):(z=this.remaining.substr(0,this.options.chunkSize),this.remaining=this.remaining.substr(this.options.chunkSize,this.remaining.length),this.saxParser=this.saxParser.write(z),te(this.processAsync))}catch(de){if(ue=de,!this.saxParser.errThrown)return this.saxParser.errThrown=!0,this.emit(ue)}},ee.prototype.assignOrPush=function(z,ue,de){return ue in z?(z[ue]instanceof Array||ie(z,ue,[z[ue]]),z[ue].push(de)):this.options.explicitArray?ie(z,ue,[de]):ie(z,ue,de)},ee.prototype.reset=function(){var z,ue,de,ge;return this.removeAllListeners(),this.saxParser=ne.parser(this.options.strict,{trim:!1,normalize:!1,xmlns:this.options.xmlns}),this.saxParser.errThrown=!1,this.saxParser.onerror=function(fe){return function(me){if(fe.saxParser.resume(),!fe.saxParser.errThrown)return fe.saxParser.errThrown=!0,fe.emit("error",me)}}(this),this.saxParser.onend=function(fe){return function(){if(!fe.saxParser.ended)return fe.saxParser.ended=!0,fe.emit("end",fe.resultObject)}}(this),this.saxParser.ended=!1,this.EXPLICIT_CHARKEY=this.options.explicitCharkey,this.resultObject=null,ge=[],z=this.options.attrkey,ue=this.options.charkey,this.saxParser.onopentag=function(fe){return function(me){var be,ve,Pe,Ee,Ae;if(Pe={},Pe[ue]="",!fe.options.ignoreAttrs){Ae=me.attributes;for(be in Ae)x.call(Ae,be)&&(!(z in Pe)&&!fe.options.mergeAttrs&&(Pe[z]={}),ve=fe.options.attrValueProcessors?ae(fe.options.attrValueProcessors,me.attributes[be],be):me.attributes[be],Ee=fe.options.attrNameProcessors?ae(fe.options.attrNameProcessors,be):be,fe.options.mergeAttrs?fe.assignOrPush(Pe,Ee,ve):ie(Pe[z],Ee,ve))}return Pe["#name"]=fe.options.tagNameProcessors?ae(fe.options.tagNameProcessors,me.name):me.name,fe.options.xmlns&&(Pe[fe.options.xmlnskey]={uri:me.uri,local:me.local}),ge.push(Pe)}}(this),this.saxParser.onclosetag=function(fe){return function(){var me,be,ve,Pe,Ee,Ae,Ce,_e,we,Me;if(Ae=ge.pop(),Ee=Ae["#name"],(!fe.options.explicitChildren||!fe.options.preserveChildrenOrder)&&delete Ae["#name"],Ae.cdata===!0&&(me=Ae.cdata,delete Ae.cdata),we=ge[ge.length-1],Ae[ue].match(/^\s*$/)&&!me?(be=Ae[ue],delete Ae[ue]):(fe.options.trim&&(Ae[ue]=Ae[ue].trim()),fe.options.normalize&&(Ae[ue]=Ae[ue].replace(/\s{2,}/g," ").trim()),Ae[ue]=fe.options.valueProcessors?ae(fe.options.valueProcessors,Ae[ue],Ee):Ae[ue],Object.keys(Ae).length===1&&ue in Ae&&!fe.EXPLICIT_CHARKEY&&(Ae=Ae[ue])),se(Ae)&&(typeof fe.options.emptyTag=="function"?Ae=fe.options.emptyTag():Ae=fe.options.emptyTag!==""?fe.options.emptyTag:be),fe.options.validator!=null&&(Me="/"+function(){var Oe,Fe,Le;for(Le=[],Oe=0,Fe=ge.length;Oe<Fe;Oe++)Pe=ge[Oe],Le.push(Pe["#name"]);return Le}().concat(Ee).join("/"),function(){var Oe;try{return Ae=fe.options.validator(Me,we&&we[Ee],Ae)}catch(Fe){return Oe=Fe,fe.emit("error",Oe)}}()),fe.options.explicitChildren&&!fe.options.mergeAttrs&&typeof Ae=="object"){if(!fe.options.preserveChildrenOrder)Pe={},fe.options.attrkey in Ae&&(Pe[fe.options.attrkey]=Ae[fe.options.attrkey],delete Ae[fe.options.attrkey]),!fe.options.charsAsChildren&&fe.options.charkey in Ae&&(Pe[fe.options.charkey]=Ae[fe.options.charkey],delete Ae[fe.options.charkey]),Object.getOwnPropertyNames(Ae).length>0&&(Pe[fe.options.childkey]=Ae),Ae=Pe;else if(we){we[fe.options.childkey]=we[fe.options.childkey]||[],Ce={};for(ve in Ae)x.call(Ae,ve)&&ie(Ce,ve,Ae[ve]);we[fe.options.childkey].push(Ce),delete Ae["#name"],Object.keys(Ae).length===1&&ue in Ae&&!fe.EXPLICIT_CHARKEY&&(Ae=Ae[ue])}}return ge.length>0?fe.assignOrPush(we,Ee,Ae):(fe.options.explicitRoot&&(_e=Ae,Ae={},ie(Ae,Ee,_e)),fe.resultObject=Ae,fe.saxParser.ended=!0,fe.emit("end",fe.resultObject))}}(this),de=function(fe){return function(me){var be,ve;if(ve=ge[ge.length-1],ve)return ve[ue]+=me,fe.options.explicitChildren&&fe.options.preserveChildrenOrder&&fe.options.charsAsChildren&&(fe.options.includeWhiteChars||me.replace(/\\n/g,"").trim()!=="")&&(ve[fe.options.childkey]=ve[fe.options.childkey]||[],be={"#name":"__text__"},be[ue]=me,fe.options.normalize&&(be[ue]=be[ue].replace(/\s{2,}/g," ").trim()),ve[fe.options.childkey].push(be)),ve}}(this),this.saxParser.ontext=de,this.saxParser.oncdata=function(fe){return function(me){var be;if(be=de(me),be)return be.cdata=!0}}(this)},ee.prototype.parseString=function(z,ue){var de;ue!=null&&typeof ue=="function"&&(this.on("end",function(ge){return this.reset(),ue(null,ge)}),this.on("error",function(ge){return this.reset(),ue(ge)}));try{return z=z.toString(),z.trim()===""?(this.emit("end",null),!0):(z=ce.stripBOM(z),this.options.async?(this.remaining=z,te(this.processAsync),this.saxParser):this.saxParser.write(z).close())}catch(ge){if(de=ge,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw de}else return this.emit("error",de),this.saxParser.errThrown=!0}},ee.prototype.parseStringPromise=function(z){return new Promise(function(ue){return function(de,ge){return ue.parseString(z,function(fe,me){return fe?ge(fe):de(me)})}}(this))},ee}(le),he.parseString=function(b,ee,z){var ue,de,ge;return z!=null?(typeof z=="function"&&(ue=z),typeof ee=="object"&&(de=ee)):(typeof ee=="function"&&(ue=ee),de={}),ge=new he.Parser(de),ge.parseString(b,ue)},he.parseStringPromise=function(b,ee){var z,ue;return typeof ee=="object"&&(z=ee),ue=new he.Parser(z),ue.parseStringPromise(b)}}).call(this)},{"./bom":421,"./defaults":423,"./processors":425,events:344,sax:397,timers:414}],425:[function(E,pe,he){(function(){"use strict";var ce;ce=new RegExp(/(?!xmlns)^.*:/),he.normalize=function(oe){return oe.toLowerCase()},he.firstCharLowerCase=function(oe){return oe.charAt(0).toLowerCase()+oe.slice(1)},he.stripPrefix=function(oe){return oe.replace(ce,"")},he.parseNumbers=function(oe){return isNaN(oe)||(oe=oe%1===0?parseInt(oe,10):parseFloat(oe)),oe},he.parseBooleans=function(oe){return/^(?:true|false)$/i.test(oe)&&(oe=oe.toLowerCase()==="true"),oe}}).call(this)},{}],426:[function(E,pe,he){(function(){"use strict";var ce,oe,ie,le,se=function(re,ne){for(var te in ne)ae.call(ne,te)&&(re[te]=ne[te]);function a(){this.constructor=re}return a.prototype=ne.prototype,re.prototype=new a,re.__super__=ne.prototype,re},ae={}.hasOwnProperty;oe=E("./defaults"),ce=E("./builder"),ie=E("./parser"),le=E("./processors"),he.defaults=oe.defaults,he.processors=le,he.ValidationError=function(re){se(ne,re);function ne(te){this.message=te}return ne}(Error),he.Builder=ce.Builder,he.Parser=ie.Parser,he.parseString=ie.parseString,he.parseStringPromise=ie.parseStringPromise}).call(this)},{"./builder":422,"./defaults":423,"./parser":424,"./processors":425}],427:[function(E,pe,he){(function(){pe.exports={Disconnected:1,Preceding:2,Following:4,Contains:8,ContainedBy:16,ImplementationSpecific:32}}).call(this)},{}],428:[function(E,pe,he){(function(){pe.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,pe,he){(function(){var ce,oe,ie,le,se,ae,re,ne=[].slice,te={}.hasOwnProperty;ce=function(){var a,y,x,b,ee,z;if(z=arguments[0],ee=2<=arguments.length?ne.call(arguments,1):[],se(Object.assign))Object.assign.apply(null,arguments);else for(a=0,x=ee.length;a<x;a++)if(b=ee[a],b!=null)for(y in b)te.call(b,y)&&(z[y]=b[y]);return z},se=function(a){return!!a&&Object.prototype.toString.call(a)==="[object Function]"},ae=function(a){var y;return!!a&&((y=typeof a)=="function"||y==="object")},ie=function(a){return se(Array.isArray)?Array.isArray(a):Object.prototype.toString.call(a)==="[object Array]"},le=function(a){var y;if(ie(a))return!a.length;for(y in a)if(te.call(a,y))return!1;return!0},re=function(a){var y,x;return ae(a)&&(x=Object.getPrototypeOf(a))&&(y=x.constructor)&&typeof y=="function"&&y instanceof y&&Function.prototype.toString.call(y)===Function.prototype.toString.call(Object)},oe=function(a){return se(a.valueOf)?a.valueOf():a},pe.exports.assign=ce,pe.exports.isFunction=se,pe.exports.isObject=ae,pe.exports.isArray=ie,pe.exports.isEmpty=le,pe.exports.isPlainObject=re,pe.exports.getValue=oe}).call(this)},{}],430:[function(E,pe,he){(function(){pe.exports={None:0,OpenTag:1,InsideTag:2,CloseTag:3}}).call(this)},{}],431:[function(E,pe,he){(function(){var ce,oe,ie;ce=E("./NodeType"),ie=E("./XMLNode"),pe.exports=oe=function(){function le(se,ae,re){if(this.parent=se,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),ae==null)throw new Error("Missing attribute name. "+this.debugInfo(ae));this.name=this.stringify.name(ae),this.value=this.stringify.attValue(re),this.type=ce.Attribute,this.isId=!1,this.schemaTypeInfo=null}return Object.defineProperty(le.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(le.prototype,"ownerElement",{get:function(){return this.parent}}),Object.defineProperty(le.prototype,"textContent",{get:function(){return this.value},set:function(se){return this.value=se||""}}),Object.defineProperty(le.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(le.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(le.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(le.prototype,"specified",{get:function(){return!0}}),le.prototype.clone=function(){return Object.create(this)},le.prototype.toString=function(se){return this.options.writer.attribute(this,this.options.writer.filterOptions(se))},le.prototype.debugInfo=function(se){return se=se||this.name,se==null?"parent: <"+this.parent.name+">":"attribute: {"+se+"}, parent: <"+this.parent.name+">"},le.prototype.isEqualNode=function(se){return!(se.namespaceURI!==this.namespaceURI||se.prefix!==this.prefix||se.localName!==this.localName||se.value!==this.value)},le}()}).call(this)},{"./NodeType":428,"./XMLNode":450}],432:[function(E,pe,he){(function(){var ce,oe,ie,le=function(ae,re){for(var ne in re)se.call(re,ne)&&(ae[ne]=re[ne]);function te(){this.constructor=ae}return te.prototype=re.prototype,ae.prototype=new te,ae.__super__=re.prototype,ae},se={}.hasOwnProperty;ce=E("./NodeType"),ie=E("./XMLCharacterData"),pe.exports=oe=function(ae){le(re,ae);function re(ne,te){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=ce.CData,this.value=this.stringify.cdata(te)}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ne){return this.options.writer.cdata(this,this.options.writer.filterOptions(ne))},re}(ie)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],433:[function(E,pe,he){(function(){var ce,oe,ie=function(se,ae){for(var re in ae)le.call(ae,re)&&(se[re]=ae[re]);function ne(){this.constructor=se}return ne.prototype=ae.prototype,se.prototype=new ne,se.__super__=ae.prototype,se},le={}.hasOwnProperty;oe=E("./XMLNode"),pe.exports=ce=function(se){ie(ae,se);function ae(re){ae.__super__.constructor.call(this,re),this.value=""}return Object.defineProperty(ae.prototype,"data",{get:function(){return this.value},set:function(re){return this.value=re||""}}),Object.defineProperty(ae.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(ae.prototype,"textContent",{get:function(){return this.value},set:function(re){return this.value=re||""}}),ae.prototype.clone=function(){return Object.create(this)},ae.prototype.substringData=function(re,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.appendData=function(re){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.insertData=function(re,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.deleteData=function(re,ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.replaceData=function(re,ne,te){throw new Error("This DOM method is not implemented."+this.debugInfo())},ae.prototype.isEqualNode=function(re){return!(!ae.__super__.isEqualNode.apply(this,arguments).isEqualNode(re)||re.data!==this.data)},ae}(oe)}).call(this)},{"./XMLNode":450}],434:[function(E,pe,he){(function(){var ce,oe,ie,le=function(ae,re){for(var ne in re)se.call(re,ne)&&(ae[ne]=re[ne]);function te(){this.constructor=ae}return te.prototype=re.prototype,ae.prototype=new te,ae.__super__=re.prototype,ae},se={}.hasOwnProperty;ce=E("./NodeType"),oe=E("./XMLCharacterData"),pe.exports=ie=function(ae){le(re,ae);function re(ne,te){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=ce.Comment,this.value=this.stringify.comment(te)}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ne){return this.options.writer.comment(this,this.options.writer.filterOptions(ne))},re}(oe)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],435:[function(E,pe,he){(function(){var ce,oe,ie;oe=E("./XMLDOMErrorHandler"),ie=E("./XMLDOMStringList"),pe.exports=ce=function(){function le(){var se;this.defaultParams={"canonical-form":!1,"cdata-sections":!1,comments:!1,"datatype-normalization":!1,"element-content-whitespace":!0,entities:!0,"error-handler":new oe,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=se=Object.create(this.defaultParams)}return Object.defineProperty(le.prototype,"parameterNames",{get:function(){return new ie(Object.keys(this.defaultParams))}}),le.prototype.getParameter=function(se){return this.params.hasOwnProperty(se)?this.params[se]:null},le.prototype.canSetParameter=function(se,ae){return!0},le.prototype.setParameter=function(se,ae){return ae!=null?this.params[se]=ae:delete this.params[se]},le}()}).call(this)},{"./XMLDOMErrorHandler":436,"./XMLDOMStringList":438}],436:[function(E,pe,he){(function(){var ce;pe.exports=ce=function(){function oe(){}return oe.prototype.handleError=function(ie){throw new Error(ie)},oe}()}).call(this)},{}],437:[function(E,pe,he){(function(){var ce;pe.exports=ce=function(){function oe(){}return oe.prototype.hasFeature=function(ie,le){return!0},oe.prototype.createDocumentType=function(ie,le,se){throw new Error("This DOM method is not implemented.")},oe.prototype.createDocument=function(ie,le,se){throw new Error("This DOM method is not implemented.")},oe.prototype.createHTMLDocument=function(ie){throw new Error("This DOM method is not implemented.")},oe.prototype.getFeature=function(ie,le){throw new Error("This DOM method is not implemented.")},oe}()}).call(this)},{}],438:[function(E,pe,he){(function(){var ce;pe.exports=ce=function(){function oe(ie){this.arr=ie||[]}return Object.defineProperty(oe.prototype,"length",{get:function(){return this.arr.length}}),oe.prototype.item=function(ie){return this.arr[ie]||null},oe.prototype.contains=function(ie){return this.arr.indexOf(ie)!==-1},oe}()}).call(this)},{}],439:[function(E,pe,he){(function(){var ce,oe,ie,le=function(ae,re){for(var ne in re)se.call(re,ne)&&(ae[ne]=re[ne]);function te(){this.constructor=ae}return te.prototype=re.prototype,ae.prototype=new te,ae.__super__=re.prototype,ae},se={}.hasOwnProperty;ie=E("./XMLNode"),ce=E("./NodeType"),pe.exports=oe=function(ae){le(re,ae);function re(ne,te,a,y,x,b){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(a==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(te));if(!y)throw new Error("Missing DTD attribute type. "+this.debugInfo(te));if(!x)throw new Error("Missing DTD attribute default. "+this.debugInfo(te));if(x.indexOf("#")!==0&&(x="#"+x),!x.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(te));if(b&&!x.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(te));this.elementName=this.stringify.name(te),this.type=ce.AttributeDeclaration,this.attributeName=this.stringify.name(a),this.attributeType=this.stringify.dtdAttType(y),b&&(this.defaultValue=this.stringify.dtdAttDefault(b)),this.defaultValueType=x}return re.prototype.toString=function(ne){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions(ne))},re}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],440:[function(E,pe,he){(function(){var ce,oe,ie,le=function(ae,re){for(var ne in re)se.call(re,ne)&&(ae[ne]=re[ne]);function te(){this.constructor=ae}return te.prototype=re.prototype,ae.prototype=new te,ae.__super__=re.prototype,ae},se={}.hasOwnProperty;ie=E("./XMLNode"),ce=E("./NodeType"),pe.exports=oe=function(ae){le(re,ae);function re(ne,te,a){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing DTD element name. "+this.debugInfo());a||(a="(#PCDATA)"),Array.isArray(a)&&(a="("+a.join(",")+")"),this.name=this.stringify.name(te),this.type=ce.ElementDeclaration,this.value=this.stringify.dtdElementValue(a)}return re.prototype.toString=function(ne){return this.options.writer.dtdElement(this,this.options.writer.filterOptions(ne))},re}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],441:[function(E,pe,he){(function(){var ce,oe,ie,le,se=function(re,ne){for(var te in ne)ae.call(ne,te)&&(re[te]=ne[te]);function a(){this.constructor=re}return a.prototype=ne.prototype,re.prototype=new a,re.__super__=ne.prototype,re},ae={}.hasOwnProperty;le=E("./Utility").isObject,ie=E("./XMLNode"),ce=E("./NodeType"),pe.exports=oe=function(re){se(ne,re);function ne(te,a,y,x){if(ne.__super__.constructor.call(this,te),y==null)throw new Error("Missing DTD entity name. "+this.debugInfo(y));if(x==null)throw new Error("Missing DTD entity value. "+this.debugInfo(y));if(this.pe=!!a,this.name=this.stringify.name(y),this.type=ce.EntityDeclaration,!le(x))this.value=this.stringify.dtdEntityValue(x),this.internal=!0;else{if(!x.pubID&&!x.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(y));if(x.pubID&&!x.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(y));if(this.internal=!1,x.pubID!=null&&(this.pubID=this.stringify.dtdPubID(x.pubID)),x.sysID!=null&&(this.sysID=this.stringify.dtdSysID(x.sysID)),x.nData!=null&&(this.nData=this.stringify.dtdNData(x.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(y))}}return Object.defineProperty(ne.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(ne.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(ne.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty(ne.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(ne.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty(ne.prototype,"xmlVersion",{get:function(){return null}}),ne.prototype.toString=function(te){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(te))},ne}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],442:[function(E,pe,he){(function(){var ce,oe,ie,le=function(ae,re){for(var ne in re)se.call(re,ne)&&(ae[ne]=re[ne]);function te(){this.constructor=ae}return te.prototype=re.prototype,ae.prototype=new te,ae.__super__=re.prototype,ae},se={}.hasOwnProperty;ie=E("./XMLNode"),ce=E("./NodeType"),pe.exports=oe=function(ae){le(re,ae);function re(ne,te,a){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing DTD notation name. "+this.debugInfo(te));if(!a.pubID&&!a.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(te));this.name=this.stringify.name(te),this.type=ce.NotationDeclaration,a.pubID!=null&&(this.pubID=this.stringify.dtdPubID(a.pubID)),a.sysID!=null&&(this.sysID=this.stringify.dtdSysID(a.sysID))}return Object.defineProperty(re.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(re.prototype,"systemId",{get:function(){return this.sysID}}),re.prototype.toString=function(ne){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions(ne))},re}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],443:[function(E,pe,he){(function(){var ce,oe,ie,le,se=function(re,ne){for(var te in ne)ae.call(ne,te)&&(re[te]=ne[te]);function a(){this.constructor=re}return a.prototype=ne.prototype,re.prototype=new a,re.__super__=ne.prototype,re},ae={}.hasOwnProperty;le=E("./Utility").isObject,ie=E("./XMLNode"),ce=E("./NodeType"),pe.exports=oe=function(re){se(ne,re);function ne(te,a,y,x){var b;ne.__super__.constructor.call(this,te),le(a)&&(b=a,a=b.version,y=b.encoding,x=b.standalone),a||(a="1.0"),this.type=ce.Declaration,this.version=this.stringify.xmlVersion(a),y!=null&&(this.encoding=this.stringify.xmlEncoding(y)),x!=null&&(this.standalone=this.stringify.xmlStandalone(x))}return ne.prototype.toString=function(te){return this.options.writer.declaration(this,this.options.writer.filterOptions(te))},ne}(ie)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLNode":450}],444:[function(E,pe,he){(function(){var ce,oe,ie,le,se,ae,re,ne,te,a=function(x,b){for(var ee in b)y.call(b,ee)&&(x[ee]=b[ee]);function z(){this.constructor=x}return z.prototype=b.prototype,x.prototype=new z,x.__super__=b.prototype,x},y={}.hasOwnProperty;te=E("./Utility").isObject,ne=E("./XMLNode"),ce=E("./NodeType"),oe=E("./XMLDTDAttList"),le=E("./XMLDTDEntity"),ie=E("./XMLDTDElement"),se=E("./XMLDTDNotation"),re=E("./XMLNamedNodeMap"),pe.exports=ae=function(x){a(b,x);function b(ee,z,ue){var de,ge,fe,me,be,ve;if(b.__super__.constructor.call(this,ee),this.type=ce.DocType,ee.children){for(me=ee.children,ge=0,fe=me.length;ge<fe;ge++)if(de=me[ge],de.type===ce.Element){this.name=de.name;break}}this.documentObject=ee,te(z)&&(be=z,z=be.pubID,ue=be.sysID),ue==null&&(ve=[z,ue],ue=ve[0],z=ve[1]),z!=null&&(this.pubID=this.stringify.dtdPubID(z)),ue!=null&&(this.sysID=this.stringify.dtdSysID(ue))}return Object.defineProperty(b.prototype,"entities",{get:function(){var ee,z,ue,de,ge;for(de={},ge=this.children,z=0,ue=ge.length;z<ue;z++)ee=ge[z],ee.type===ce.EntityDeclaration&&!ee.pe&&(de[ee.name]=ee);return new re(de)}}),Object.defineProperty(b.prototype,"notations",{get:function(){var ee,z,ue,de,ge;for(de={},ge=this.children,z=0,ue=ge.length;z<ue;z++)ee=ge[z],ee.type===ce.NotationDeclaration&&(de[ee.name]=ee);return new re(de)}}),Object.defineProperty(b.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(b.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty(b.prototype,"internalSubset",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),b.prototype.element=function(ee,z){var ue;return ue=new ie(this,ee,z),this.children.push(ue),this},b.prototype.attList=function(ee,z,ue,de,ge){var fe;return fe=new oe(this,ee,z,ue,de,ge),this.children.push(fe),this},b.prototype.entity=function(ee,z){var ue;return ue=new le(this,!1,ee,z),this.children.push(ue),this},b.prototype.pEntity=function(ee,z){var ue;return ue=new le(this,!0,ee,z),this.children.push(ue),this},b.prototype.notation=function(ee,z){var ue;return ue=new se(this,ee,z),this.children.push(ue),this},b.prototype.toString=function(ee){return this.options.writer.docType(this,this.options.writer.filterOptions(ee))},b.prototype.ele=function(ee,z){return this.element(ee,z)},b.prototype.att=function(ee,z,ue,de,ge){return this.attList(ee,z,ue,de,ge)},b.prototype.ent=function(ee,z){return this.entity(ee,z)},b.prototype.pent=function(ee,z){return this.pEntity(ee,z)},b.prototype.not=function(ee,z){return this.notation(ee,z)},b.prototype.up=function(){return this.root()||this.documentObject},b.prototype.isEqualNode=function(ee){return!(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(ee)||ee.name!==this.name||ee.publicId!==this.publicId||ee.systemId!==this.systemId)},b}(ne)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDTDAttList":439,"./XMLDTDElement":440,"./XMLDTDEntity":441,"./XMLDTDNotation":442,"./XMLNamedNodeMap":449,"./XMLNode":450}],445:[function(E,pe,he){(function(){var ce,oe,ie,le,se,ae,re,ne,te=function(y,x){for(var b in x)a.call(x,b)&&(y[b]=x[b]);function ee(){this.constructor=y}return ee.prototype=x.prototype,y.prototype=new ee,y.__super__=x.prototype,y},a={}.hasOwnProperty;ne=E("./Utility").isPlainObject,ie=E("./XMLDOMImplementation"),oe=E("./XMLDOMConfiguration"),se=E("./XMLNode"),ce=E("./NodeType"),re=E("./XMLStringifier"),ae=E("./XMLStringWriter"),pe.exports=le=function(y){te(x,y);function x(b){x.__super__.constructor.call(this,null),this.name="#document",this.type=ce.Document,this.documentURI=null,this.domConfig=new oe,b||(b={}),b.writer||(b.writer=new ae),this.options=b,this.stringify=new re(b)}return Object.defineProperty(x.prototype,"implementation",{value:new ie}),Object.defineProperty(x.prototype,"doctype",{get:function(){var b,ee,z,ue;for(ue=this.children,ee=0,z=ue.length;ee<z;ee++)if(b=ue[ee],b.type===ce.DocType)return b;return null}}),Object.defineProperty(x.prototype,"documentElement",{get:function(){return this.rootObject||null}}),Object.defineProperty(x.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty(x.prototype,"strictErrorChecking",{get:function(){return!1}}),Object.defineProperty(x.prototype,"xmlEncoding",{get:function(){return this.children.length!==0&&this.children[0].type===ce.Declaration?this.children[0].encoding:null}}),Object.defineProperty(x.prototype,"xmlStandalone",{get:function(){return this.children.length!==0&&this.children[0].type===ce.Declaration?this.children[0].standalone==="yes":!1}}),Object.defineProperty(x.prototype,"xmlVersion",{get:function(){return this.children.length!==0&&this.children[0].type===ce.Declaration?this.children[0].version:"1.0"}}),Object.defineProperty(x.prototype,"URL",{get:function(){return this.documentURI}}),Object.defineProperty(x.prototype,"origin",{get:function(){return null}}),Object.defineProperty(x.prototype,"compatMode",{get:function(){return null}}),Object.defineProperty(x.prototype,"characterSet",{get:function(){return null}}),Object.defineProperty(x.prototype,"contentType",{get:function(){return null}}),x.prototype.end=function(b){var ee;return ee={},b?ne(b)&&(ee=b,b=this.options.writer):b=this.options.writer,b.document(this,b.filterOptions(ee))},x.prototype.toString=function(b){return this.options.writer.document(this,this.options.writer.filterOptions(b))},x.prototype.createElement=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createDocumentFragment=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTextNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createComment=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createCDATASection=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createProcessingInstruction=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttribute=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createEntityReference=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.importNode=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createElementNS=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createAttributeNS=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByTagNameNS=function(b,ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementById=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.adoptNode=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.normalizeDocument=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.renameNode=function(b,ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.getElementsByClassName=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createEvent=function(b){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createRange=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createNodeIterator=function(b,ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x.prototype.createTreeWalker=function(b,ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},x}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLDOMConfiguration":435,"./XMLDOMImplementation":437,"./XMLNode":450,"./XMLStringWriter":455,"./XMLStringifier":456}],446:[function(E,pe,he){(function(){var ce,oe,ie,le,se,ae,re,ne,te,a,y,x,b,ee,z,ue,de,ge,fe,me,be,ve,Pe,Ee,Ae={}.hasOwnProperty;Ee=E("./Utility"),ve=Ee.isObject,be=Ee.isFunction,Pe=Ee.isPlainObject,me=Ee.getValue,ce=E("./NodeType"),x=E("./XMLDocument"),ee=E("./XMLElement"),le=E("./XMLCData"),se=E("./XMLComment"),ue=E("./XMLRaw"),fe=E("./XMLText"),z=E("./XMLProcessingInstruction"),a=E("./XMLDeclaration"),y=E("./XMLDocType"),ae=E("./XMLDTDAttList"),ne=E("./XMLDTDEntity"),re=E("./XMLDTDElement"),te=E("./XMLDTDNotation"),ie=E("./XMLAttribute"),ge=E("./XMLStringifier"),de=E("./XMLStringWriter"),oe=E("./WriterState"),pe.exports=b=function(){function Ce(_e,we,Me){var Oe;this.name="?xml",this.type=ce.Document,_e||(_e={}),Oe={},_e.writer?Pe(_e.writer)&&(Oe=_e.writer,_e.writer=new de):_e.writer=new de,this.options=_e,this.writer=_e.writer,this.writerOptions=this.writer.filterOptions(Oe),this.stringify=new ge(_e),this.onDataCallback=we||function(){},this.onEndCallback=Me||function(){},this.currentNode=null,this.currentLevel=-1,this.openTags={},this.documentStarted=!1,this.documentCompleted=!1,this.root=null}return Ce.prototype.createChildNode=function(_e){var we,Me,Oe,Fe,Le,Qe,We,Ge;switch(_e.type){case ce.CData:this.cdata(_e.value);break;case ce.Comment:this.comment(_e.value);break;case ce.Element:Oe={},We=_e.attribs;for(Me in We)Ae.call(We,Me)&&(we=We[Me],Oe[Me]=we.value);this.node(_e.name,Oe);break;case ce.Dummy:this.dummy();break;case ce.Raw:this.raw(_e.value);break;case ce.Text:this.text(_e.value);break;case ce.ProcessingInstruction:this.instruction(_e.target,_e.value);break;default:throw new Error("This XML node type is not supported in a JS object: "+_e.constructor.name)}for(Ge=_e.children,Le=0,Qe=Ge.length;Le<Qe;Le++)Fe=Ge[Le],this.createChildNode(Fe),Fe.type===ce.Element&&this.up();return this},Ce.prototype.dummy=function(){return this},Ce.prototype.node=function(_e,we,Me){var Oe;if(_e==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(_e));return this.openCurrent(),_e=me(_e),we==null&&(we={}),we=me(we),ve(we)||(Oe=[we,Me],Me=Oe[0],we=Oe[1]),this.currentNode=new ee(this,_e,we),this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,Me!=null&&this.text(Me),this},Ce.prototype.element=function(_e,we,Me){var Oe,Fe,Le,Qe,We,Ge;if(this.currentNode&&this.currentNode.type===ce.DocType)this.dtdElement.apply(this,arguments);else if(Array.isArray(_e)||ve(_e)||be(_e))for(Qe=this.options.noValidation,this.options.noValidation=!0,Ge=new x(this.options).element("TEMP_ROOT"),Ge.element(_e),this.options.noValidation=Qe,We=Ge.children,Fe=0,Le=We.length;Fe<Le;Fe++)Oe=We[Fe],this.createChildNode(Oe),Oe.type===ce.Element&&this.up();else this.node(_e,we,Me);return this},Ce.prototype.attribute=function(_e,we){var Me,Oe;if(!this.currentNode||this.currentNode.children)throw new Error("att() can only be used immediately after an ele() call in callback mode. "+this.debugInfo(_e));if(_e!=null&&(_e=me(_e)),ve(_e))for(Me in _e)Ae.call(_e,Me)&&(Oe=_e[Me],this.attribute(Me,Oe));else be(we)&&(we=we.apply()),this.options.keepNullAttributes&&we==null?this.currentNode.attribs[_e]=new ie(this,_e,""):we!=null&&(this.currentNode.attribs[_e]=new ie(this,_e,we));return this},Ce.prototype.text=function(_e){var we;return this.openCurrent(),we=new fe(this,_e),this.onData(this.writer.text(we,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.cdata=function(_e){var we;return this.openCurrent(),we=new le(this,_e),this.onData(this.writer.cdata(we,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.comment=function(_e){var we;return this.openCurrent(),we=new se(this,_e),this.onData(this.writer.comment(we,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.raw=function(_e){var we;return this.openCurrent(),we=new ue(this,_e),this.onData(this.writer.raw(we,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.instruction=function(_e,we){var Me,Oe,Fe,Le,Qe;if(this.openCurrent(),_e!=null&&(_e=me(_e)),we!=null&&(we=me(we)),Array.isArray(_e))for(Me=0,Le=_e.length;Me<Le;Me++)Oe=_e[Me],this.instruction(Oe);else if(ve(_e))for(Oe in _e)Ae.call(_e,Oe)&&(Fe=_e[Oe],this.instruction(Oe,Fe));else be(we)&&(we=we.apply()),Qe=new z(this,_e,we),this.onData(this.writer.processingInstruction(Qe,this.writerOptions,this.currentLevel+1),this.currentLevel+1);return this},Ce.prototype.declaration=function(_e,we,Me){var Oe;if(this.openCurrent(),this.documentStarted)throw new Error("declaration() must be the first node.");return Oe=new a(this,_e,we,Me),this.onData(this.writer.declaration(Oe,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.doctype=function(_e,we,Me){if(this.openCurrent(),_e==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 y(this,we,Me),this.currentNode.rootNodeName=_e,this.currentNode.children=!1,this.currentLevel++,this.openTags[this.currentLevel]=this.currentNode,this},Ce.prototype.dtdElement=function(_e,we){var Me;return this.openCurrent(),Me=new re(this,_e,we),this.onData(this.writer.dtdElement(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.attList=function(_e,we,Me,Oe,Fe){var Le;return this.openCurrent(),Le=new ae(this,_e,we,Me,Oe,Fe),this.onData(this.writer.dtdAttList(Le,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.entity=function(_e,we){var Me;return this.openCurrent(),Me=new ne(this,!1,_e,we),this.onData(this.writer.dtdEntity(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.pEntity=function(_e,we){var Me;return this.openCurrent(),Me=new ne(this,!0,_e,we),this.onData(this.writer.dtdEntity(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.prototype.notation=function(_e,we){var Me;return this.openCurrent(),Me=new te(this,_e,we),this.onData(this.writer.dtdNotation(Me,this.writerOptions,this.currentLevel+1),this.currentLevel+1),this},Ce.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},Ce.prototype.end=function(){for(;this.currentLevel>=0;)this.up();return this.onEnd()},Ce.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},Ce.prototype.openNode=function(_e){var we,Me,Oe,Fe;if(!_e.isOpen){if(!this.root&&this.currentLevel===0&&_e.type===ce.Element&&(this.root=_e),Me="",_e.type===ce.Element){this.writerOptions.state=oe.OpenTag,Me=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"<"+_e.name,Fe=_e.attribs;for(Oe in Fe)Ae.call(Fe,Oe)&&(we=Fe[Oe],Me+=this.writer.attribute(we,this.writerOptions,this.currentLevel));Me+=(_e.children?">":"/>")+this.writer.endline(_e,this.writerOptions,this.currentLevel),this.writerOptions.state=oe.InsideTag}else this.writerOptions.state=oe.OpenTag,Me=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"<!DOCTYPE "+_e.rootNodeName,_e.pubID&&_e.sysID?Me+=' PUBLIC "'+_e.pubID+'" "'+_e.sysID+'"':_e.sysID&&(Me+=' SYSTEM "'+_e.sysID+'"'),_e.children?(Me+=" [",this.writerOptions.state=oe.InsideTag):(this.writerOptions.state=oe.CloseTag,Me+=">"),Me+=this.writer.endline(_e,this.writerOptions,this.currentLevel);return this.onData(Me,this.currentLevel),_e.isOpen=!0}},Ce.prototype.closeNode=function(_e){var we;if(!_e.isClosed)return we="",this.writerOptions.state=oe.CloseTag,_e.type===ce.Element?we=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"</"+_e.name+">"+this.writer.endline(_e,this.writerOptions,this.currentLevel):we=this.writer.indent(_e,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(_e,this.writerOptions,this.currentLevel),this.writerOptions.state=oe.None,this.onData(we,this.currentLevel),_e.isClosed=!0},Ce.prototype.onData=function(_e,we){return this.documentStarted=!0,this.onDataCallback(_e,we+1)},Ce.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},Ce.prototype.debugInfo=function(_e){return _e==null?"":"node: <"+_e+">"},Ce.prototype.ele=function(){return this.element.apply(this,arguments)},Ce.prototype.nod=function(_e,we,Me){return this.node(_e,we,Me)},Ce.prototype.txt=function(_e){return this.text(_e)},Ce.prototype.dat=function(_e){return this.cdata(_e)},Ce.prototype.com=function(_e){return this.comment(_e)},Ce.prototype.ins=function(_e,we){return this.instruction(_e,we)},Ce.prototype.dec=function(_e,we,Me){return this.declaration(_e,we,Me)},Ce.prototype.dtd=function(_e,we,Me){return this.doctype(_e,we,Me)},Ce.prototype.e=function(_e,we,Me){return this.element(_e,we,Me)},Ce.prototype.n=function(_e,we,Me){return this.node(_e,we,Me)},Ce.prototype.t=function(_e){return this.text(_e)},Ce.prototype.d=function(_e){return this.cdata(_e)},Ce.prototype.c=function(_e){return this.comment(_e)},Ce.prototype.r=function(_e){return this.raw(_e)},Ce.prototype.i=function(_e,we){return this.instruction(_e,we)},Ce.prototype.att=function(){return this.currentNode&&this.currentNode.type===ce.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ce.prototype.a=function(){return this.currentNode&&this.currentNode.type===ce.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},Ce.prototype.ent=function(_e,we){return this.entity(_e,we)},Ce.prototype.pent=function(_e,we){return this.pEntity(_e,we)},Ce.prototype.not=function(_e,we){return this.notation(_e,we)},Ce}()}).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,pe,he){(function(){var ce,oe,ie,le=function(ae,re){for(var ne in re)se.call(re,ne)&&(ae[ne]=re[ne]);function te(){this.constructor=ae}return te.prototype=re.prototype,ae.prototype=new te,ae.__super__=re.prototype,ae},se={}.hasOwnProperty;ie=E("./XMLNode"),ce=E("./NodeType"),pe.exports=oe=function(ae){le(re,ae);function re(ne){re.__super__.constructor.call(this,ne),this.type=ce.Dummy}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ne){return""},re}(ie)}).call(this)},{"./NodeType":428,"./XMLNode":450}],448:[function(E,pe,he){(function(){var ce,oe,ie,le,se,ae,re,ne,te,a=function(x,b){for(var ee in b)y.call(b,ee)&&(x[ee]=b[ee]);function z(){this.constructor=x}return z.prototype=b.prototype,x.prototype=new z,x.__super__=b.prototype,x},y={}.hasOwnProperty;te=E("./Utility"),ne=te.isObject,re=te.isFunction,ae=te.getValue,se=E("./XMLNode"),ce=E("./NodeType"),oe=E("./XMLAttribute"),le=E("./XMLNamedNodeMap"),pe.exports=ie=function(x){a(b,x);function b(ee,z,ue){var de,ge,fe,me;if(b.__super__.constructor.call(this,ee),z==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(z),this.type=ce.Element,this.attribs={},this.schemaTypeInfo=null,ue!=null&&this.attribute(ue),ee.type===ce.Document&&(this.isRoot=!0,this.documentObject=ee,ee.rootObject=this,ee.children)){for(me=ee.children,ge=0,fe=me.length;ge<fe;ge++)if(de=me[ge],de.type===ce.DocType){de.name=this.name;break}}}return Object.defineProperty(b.prototype,"tagName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"namespaceURI",{get:function(){return""}}),Object.defineProperty(b.prototype,"prefix",{get:function(){return""}}),Object.defineProperty(b.prototype,"localName",{get:function(){return this.name}}),Object.defineProperty(b.prototype,"id",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"className",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"classList",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(b.prototype,"attributes",{get:function(){return(!this.attributeMap||!this.attributeMap.nodes)&&(this.attributeMap=new le(this.attribs)),this.attributeMap}}),b.prototype.clone=function(){var ee,z,ue,de;ue=Object.create(this),ue.isRoot&&(ue.documentObject=null),ue.attribs={},de=this.attribs;for(z in de)y.call(de,z)&&(ee=de[z],ue.attribs[z]=ee.clone());return ue.children=[],this.children.forEach(function(ge){var fe;return fe=ge.clone(),fe.parent=ue,ue.children.push(fe)}),ue},b.prototype.attribute=function(ee,z){var ue,de;if(ee!=null&&(ee=ae(ee)),ne(ee))for(ue in ee)y.call(ee,ue)&&(de=ee[ue],this.attribute(ue,de));else re(z)&&(z=z.apply()),this.options.keepNullAttributes&&z==null?this.attribs[ee]=new oe(this,ee,""):z!=null&&(this.attribs[ee]=new oe(this,ee,z));return this},b.prototype.removeAttribute=function(ee){var z,ue,de;if(ee==null)throw new Error("Missing attribute name. "+this.debugInfo());if(ee=ae(ee),Array.isArray(ee))for(ue=0,de=ee.length;ue<de;ue++)z=ee[ue],delete this.attribs[z];else delete this.attribs[ee];return this},b.prototype.toString=function(ee){return this.options.writer.element(this,this.options.writer.filterOptions(ee))},b.prototype.att=function(ee,z){return this.attribute(ee,z)},b.prototype.a=function(ee,z){return this.attribute(ee,z)},b.prototype.getAttribute=function(ee){return this.attribs.hasOwnProperty(ee)?this.attribs[ee].value:null},b.prototype.setAttribute=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNode=function(ee){return this.attribs.hasOwnProperty(ee)?this.attribs[ee]:null},b.prototype.setAttributeNode=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNode=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNS=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNS=function(ee,z,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.removeAttributeNS=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getAttributeNodeNS=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setAttributeNodeNS=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.hasAttribute=function(ee){return this.attribs.hasOwnProperty(ee)},b.prototype.hasAttributeNS=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttribute=function(ee,z){return this.attribs.hasOwnProperty(ee)?this.attribs[ee].isId:z},b.prototype.setIdAttributeNS=function(ee,z,ue){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.setIdAttributeNode=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagName=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByTagNameNS=function(ee,z){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.getElementsByClassName=function(ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},b.prototype.isEqualNode=function(ee){var z,ue,de;if(!b.__super__.isEqualNode.apply(this,arguments).isEqualNode(ee)||ee.namespaceURI!==this.namespaceURI||ee.prefix!==this.prefix||ee.localName!==this.localName||ee.attribs.length!==this.attribs.length)return!1;for(z=ue=0,de=this.attribs.length-1;0<=de?ue<=de:ue>=de;z=0<=de?++ue:--ue)if(!this.attribs[z].isEqualNode(ee.attribs[z]))return!1;return!0},b}(se)}).call(this)},{"./NodeType":428,"./Utility":429,"./XMLAttribute":431,"./XMLNamedNodeMap":449,"./XMLNode":450}],449:[function(E,pe,he){(function(){var ce;pe.exports=ce=function(){function oe(ie){this.nodes=ie}return Object.defineProperty(oe.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),oe.prototype.clone=function(){return this.nodes=null},oe.prototype.getNamedItem=function(ie){return this.nodes[ie]},oe.prototype.setNamedItem=function(ie){var le;return le=this.nodes[ie.nodeName],this.nodes[ie.nodeName]=ie,le||null},oe.prototype.removeNamedItem=function(ie){var le;return le=this.nodes[ie],delete this.nodes[ie],le||null},oe.prototype.item=function(ie){return this.nodes[Object.keys(this.nodes)[ie]]||null},oe.prototype.getNamedItemNS=function(ie,le){throw new Error("This DOM method is not implemented.")},oe.prototype.setNamedItemNS=function(ie){throw new Error("This DOM method is not implemented.")},oe.prototype.removeNamedItemNS=function(ie,le){throw new Error("This DOM method is not implemented.")},oe}()}).call(this)},{}],450:[function(E,pe,he){(function(){var ce,oe,ie,le,se,ae,re,ne,te,a,y,x,b,ee,z,ue,de,ge,fe,me={}.hasOwnProperty;fe=E("./Utility"),ge=fe.isObject,de=fe.isFunction,ue=fe.isEmpty,z=fe.getValue,ne=null,ie=null,le=null,se=null,ae=null,b=null,ee=null,x=null,re=null,oe=null,y=null,te=null,ce=null,pe.exports=a=function(){function be(ve){this.parent=ve,this.parent&&(this.options=this.parent.options,this.stringify=this.parent.stringify),this.value=null,this.children=[],this.baseURI=null,ne||(ne=E("./XMLElement"),ie=E("./XMLCData"),le=E("./XMLComment"),se=E("./XMLDeclaration"),ae=E("./XMLDocType"),b=E("./XMLRaw"),ee=E("./XMLText"),x=E("./XMLProcessingInstruction"),re=E("./XMLDummy"),oe=E("./NodeType"),y=E("./XMLNodeList"),te=E("./XMLNamedNodeMap"),ce=E("./DocumentPosition"))}return Object.defineProperty(be.prototype,"nodeName",{get:function(){return this.name}}),Object.defineProperty(be.prototype,"nodeType",{get:function(){return this.type}}),Object.defineProperty(be.prototype,"nodeValue",{get:function(){return this.value}}),Object.defineProperty(be.prototype,"parentNode",{get:function(){return this.parent}}),Object.defineProperty(be.prototype,"childNodes",{get:function(){return(!this.childNodeList||!this.childNodeList.nodes)&&(this.childNodeList=new y(this.children)),this.childNodeList}}),Object.defineProperty(be.prototype,"firstChild",{get:function(){return this.children[0]||null}}),Object.defineProperty(be.prototype,"lastChild",{get:function(){return this.children[this.children.length-1]||null}}),Object.defineProperty(be.prototype,"previousSibling",{get:function(){var ve;return ve=this.parent.children.indexOf(this),this.parent.children[ve-1]||null}}),Object.defineProperty(be.prototype,"nextSibling",{get:function(){var ve;return ve=this.parent.children.indexOf(this),this.parent.children[ve+1]||null}}),Object.defineProperty(be.prototype,"ownerDocument",{get:function(){return this.document()||null}}),Object.defineProperty(be.prototype,"textContent",{get:function(){var ve,Pe,Ee,Ae,Ce;if(this.nodeType===oe.Element||this.nodeType===oe.DocumentFragment){for(Ce="",Ae=this.children,Pe=0,Ee=Ae.length;Pe<Ee;Pe++)ve=Ae[Pe],ve.textContent&&(Ce+=ve.textContent);return Ce}else return null},set:function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),be.prototype.setParent=function(ve){var Pe,Ee,Ae,Ce,_e;for(this.parent=ve,ve&&(this.options=ve.options,this.stringify=ve.stringify),Ce=this.children,_e=[],Ee=0,Ae=Ce.length;Ee<Ae;Ee++)Pe=Ce[Ee],_e.push(Pe.setParent(this));return _e},be.prototype.element=function(ve,Pe,Ee){var Ae,Ce,_e,we,Me,Oe,Fe,Le,Qe,We,Ge;if(Oe=null,Pe===null&&Ee==null&&(Qe=[{},null],Pe=Qe[0],Ee=Qe[1]),Pe==null&&(Pe={}),Pe=z(Pe),ge(Pe)||(We=[Pe,Ee],Ee=We[0],Pe=We[1]),ve!=null&&(ve=z(ve)),Array.isArray(ve))for(_e=0,Fe=ve.length;_e<Fe;_e++)Ce=ve[_e],Oe=this.element(Ce);else if(de(ve))Oe=this.element(ve.apply());else if(ge(ve)){for(Me in ve)if(me.call(ve,Me))if(Ge=ve[Me],de(Ge)&&(Ge=Ge.apply()),!this.options.ignoreDecorators&&this.stringify.convertAttKey&&Me.indexOf(this.stringify.convertAttKey)===0)Oe=this.attribute(Me.substr(this.stringify.convertAttKey.length),Ge);else if(!this.options.separateArrayItems&&Array.isArray(Ge)&&ue(Ge))Oe=this.dummy();else if(ge(Ge)&&ue(Ge))Oe=this.element(Me);else if(!this.options.keepNullNodes&&Ge==null)Oe=this.dummy();else if(!this.options.separateArrayItems&&Array.isArray(Ge))for(we=0,Le=Ge.length;we<Le;we++)Ce=Ge[we],Ae={},Ae[Me]=Ce,Oe=this.element(Ae);else ge(Ge)?!this.options.ignoreDecorators&&this.stringify.convertTextKey&&Me.indexOf(this.stringify.convertTextKey)===0?Oe=this.element(Ge):(Oe=this.element(Me),Oe.element(Ge)):Oe=this.element(Me,Ge)}else!this.options.keepNullNodes&&Ee===null?Oe=this.dummy():!this.options.ignoreDecorators&&this.stringify.convertTextKey&&ve.indexOf(this.stringify.convertTextKey)===0?Oe=this.text(Ee):!this.options.ignoreDecorators&&this.stringify.convertCDataKey&&ve.indexOf(this.stringify.convertCDataKey)===0?Oe=this.cdata(Ee):!this.options.ignoreDecorators&&this.stringify.convertCommentKey&&ve.indexOf(this.stringify.convertCommentKey)===0?Oe=this.comment(Ee):!this.options.ignoreDecorators&&this.stringify.convertRawKey&&ve.indexOf(this.stringify.convertRawKey)===0?Oe=this.raw(Ee):!this.options.ignoreDecorators&&this.stringify.convertPIKey&&ve.indexOf(this.stringify.convertPIKey)===0?Oe=this.instruction(ve.substr(this.stringify.convertPIKey.length),Ee):Oe=this.node(ve,Pe,Ee);if(Oe==null)throw new Error("Could not create any elements with: "+ve+". "+this.debugInfo());return Oe},be.prototype.insertBefore=function(ve,Pe,Ee){var Ae,Ce,_e,we,Me;if(ve!=null&&ve.type)return _e=ve,we=Pe,_e.setParent(this),we?(Ce=children.indexOf(we),Me=children.splice(Ce),children.push(_e),Array.prototype.push.apply(children,Me)):children.push(_e),_e;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ve));return Ce=this.parent.children.indexOf(this),Me=this.parent.children.splice(Ce),Ae=this.parent.element(ve,Pe,Ee),Array.prototype.push.apply(this.parent.children,Me),Ae},be.prototype.insertAfter=function(ve,Pe,Ee){var Ae,Ce,_e;if(this.isRoot)throw new Error("Cannot insert elements at root level. "+this.debugInfo(ve));return Ce=this.parent.children.indexOf(this),_e=this.parent.children.splice(Ce+1),Ae=this.parent.element(ve,Pe,Ee),Array.prototype.push.apply(this.parent.children,_e),Ae},be.prototype.remove=function(){var ve,Pe;if(this.isRoot)throw new Error("Cannot remove the root element. "+this.debugInfo());return ve=this.parent.children.indexOf(this),[].splice.apply(this.parent.children,[ve,ve-ve+1].concat(Pe=[])),this.parent},be.prototype.node=function(ve,Pe,Ee){var Ae,Ce;return ve!=null&&(ve=z(ve)),Pe||(Pe={}),Pe=z(Pe),ge(Pe)||(Ce=[Pe,Ee],Ee=Ce[0],Pe=Ce[1]),Ae=new ne(this,ve,Pe),Ee!=null&&Ae.text(Ee),this.children.push(Ae),Ae},be.prototype.text=function(ve){var Pe;return ge(ve)&&this.element(ve),Pe=new ee(this,ve),this.children.push(Pe),this},be.prototype.cdata=function(ve){var Pe;return Pe=new ie(this,ve),this.children.push(Pe),this},be.prototype.comment=function(ve){var Pe;return Pe=new le(this,ve),this.children.push(Pe),this},be.prototype.commentBefore=function(ve){var Pe,Ee,Ae;return Ee=this.parent.children.indexOf(this),Ae=this.parent.children.splice(Ee),Pe=this.parent.comment(ve),Array.prototype.push.apply(this.parent.children,Ae),this},be.prototype.commentAfter=function(ve){var Pe,Ee,Ae;return Ee=this.parent.children.indexOf(this),Ae=this.parent.children.splice(Ee+1),Pe=this.parent.comment(ve),Array.prototype.push.apply(this.parent.children,Ae),this},be.prototype.raw=function(ve){var Pe;return Pe=new b(this,ve),this.children.push(Pe),this},be.prototype.dummy=function(){var ve;return ve=new re(this),ve},be.prototype.instruction=function(ve,Pe){var Ee,Ae,Ce,_e,we;if(ve!=null&&(ve=z(ve)),Pe!=null&&(Pe=z(Pe)),Array.isArray(ve))for(_e=0,we=ve.length;_e<we;_e++)Ee=ve[_e],this.instruction(Ee);else if(ge(ve))for(Ee in ve)me.call(ve,Ee)&&(Ae=ve[Ee],this.instruction(Ee,Ae));else de(Pe)&&(Pe=Pe.apply()),Ce=new x(this,ve,Pe),this.children.push(Ce);return this},be.prototype.instructionBefore=function(ve,Pe){var Ee,Ae,Ce;return Ae=this.parent.children.indexOf(this),Ce=this.parent.children.splice(Ae),Ee=this.parent.instruction(ve,Pe),Array.prototype.push.apply(this.parent.children,Ce),this},be.prototype.instructionAfter=function(ve,Pe){var Ee,Ae,Ce;return Ae=this.parent.children.indexOf(this),Ce=this.parent.children.splice(Ae+1),Ee=this.parent.instruction(ve,Pe),Array.prototype.push.apply(this.parent.children,Ce),this},be.prototype.declaration=function(ve,Pe,Ee){var Ae,Ce;return Ae=this.document(),Ce=new se(Ae,ve,Pe,Ee),Ae.children.length===0?Ae.children.unshift(Ce):Ae.children[0].type===oe.Declaration?Ae.children[0]=Ce:Ae.children.unshift(Ce),Ae.root()||Ae},be.prototype.dtd=function(ve,Pe){var Ee,Ae,Ce,_e,we,Me,Oe,Fe,Le,Qe;for(Ae=this.document(),Ce=new ae(Ae,ve,Pe),Le=Ae.children,_e=we=0,Oe=Le.length;we<Oe;_e=++we)if(Ee=Le[_e],Ee.type===oe.DocType)return Ae.children[_e]=Ce,Ce;for(Qe=Ae.children,_e=Me=0,Fe=Qe.length;Me<Fe;_e=++Me)if(Ee=Qe[_e],Ee.isRoot)return Ae.children.splice(_e,0,Ce),Ce;return Ae.children.push(Ce),Ce},be.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},be.prototype.root=function(){var ve;for(ve=this;ve;){if(ve.type===oe.Document)return ve.rootObject;if(ve.isRoot)return ve;ve=ve.parent}},be.prototype.document=function(){var ve;for(ve=this;ve;){if(ve.type===oe.Document)return ve;ve=ve.parent}},be.prototype.end=function(ve){return this.document().end(ve)},be.prototype.prev=function(){var ve;if(ve=this.parent.children.indexOf(this),ve<1)throw new Error("Already at the first node. "+this.debugInfo());return this.parent.children[ve-1]},be.prototype.next=function(){var ve;if(ve=this.parent.children.indexOf(this),ve===-1||ve===this.parent.children.length-1)throw new Error("Already at the last node. "+this.debugInfo());return this.parent.children[ve+1]},be.prototype.importDocument=function(ve){var Pe;return Pe=ve.root().clone(),Pe.parent=this,Pe.isRoot=!1,this.children.push(Pe),this},be.prototype.debugInfo=function(ve){var Pe,Ee;return ve=ve||this.name,ve==null&&!((Pe=this.parent)!=null&&Pe.name)?"":ve==null?"parent: <"+this.parent.name+">":(Ee=this.parent)!=null&&Ee.name?"node: <"+ve+">, parent: <"+this.parent.name+">":"node: <"+ve+">"},be.prototype.ele=function(ve,Pe,Ee){return this.element(ve,Pe,Ee)},be.prototype.nod=function(ve,Pe,Ee){return this.node(ve,Pe,Ee)},be.prototype.txt=function(ve){return this.text(ve)},be.prototype.dat=function(ve){return this.cdata(ve)},be.prototype.com=function(ve){return this.comment(ve)},be.prototype.ins=function(ve,Pe){return this.instruction(ve,Pe)},be.prototype.doc=function(){return this.document()},be.prototype.dec=function(ve,Pe,Ee){return this.declaration(ve,Pe,Ee)},be.prototype.e=function(ve,Pe,Ee){return this.element(ve,Pe,Ee)},be.prototype.n=function(ve,Pe,Ee){return this.node(ve,Pe,Ee)},be.prototype.t=function(ve){return this.text(ve)},be.prototype.d=function(ve){return this.cdata(ve)},be.prototype.c=function(ve){return this.comment(ve)},be.prototype.r=function(ve){return this.raw(ve)},be.prototype.i=function(ve,Pe){return this.instruction(ve,Pe)},be.prototype.u=function(){return this.up()},be.prototype.importXMLBuilder=function(ve){return this.importDocument(ve)},be.prototype.replaceChild=function(ve,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.removeChild=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.appendChild=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.hasChildNodes=function(){return this.children.length!==0},be.prototype.cloneNode=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.isSupported=function(ve,Pe){return!0},be.prototype.hasAttributes=function(){return this.attribs.length!==0},be.prototype.compareDocumentPosition=function(ve){var Pe,Ee;return Pe=this,Pe===ve?0:this.document()!==ve.document()?(Ee=ce.Disconnected|ce.ImplementationSpecific,Math.random()<.5?Ee|=ce.Preceding:Ee|=ce.Following,Ee):Pe.isAncestor(ve)?ce.Contains|ce.Preceding:Pe.isDescendant(ve)?ce.Contains|ce.Following:Pe.isPreceding(ve)?ce.Preceding:ce.Following},be.prototype.isSameNode=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.lookupPrefix=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.isDefaultNamespace=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.lookupNamespaceURI=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.isEqualNode=function(ve){var Pe,Ee,Ae;if(ve.nodeType!==this.nodeType||ve.children.length!==this.children.length)return!1;for(Pe=Ee=0,Ae=this.children.length-1;0<=Ae?Ee<=Ae:Ee>=Ae;Pe=0<=Ae?++Ee:--Ee)if(!this.children[Pe].isEqualNode(ve.children[Pe]))return!1;return!0},be.prototype.getFeature=function(ve,Pe){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.setUserData=function(ve,Pe,Ee){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.getUserData=function(ve){throw new Error("This DOM method is not implemented."+this.debugInfo())},be.prototype.contains=function(ve){return ve?ve===this||this.isDescendant(ve):!1},be.prototype.isDescendant=function(ve){var Pe,Ee,Ae,Ce,_e;for(_e=this.children,Ae=0,Ce=_e.length;Ae<Ce;Ae++)if(Pe=_e[Ae],ve===Pe||(Ee=Pe.isDescendant(ve),Ee))return!0;return!1},be.prototype.isAncestor=function(ve){return ve.isDescendant(this)},be.prototype.isPreceding=function(ve){var Pe,Ee;return Pe=this.treePosition(ve),Ee=this.treePosition(this),Pe===-1||Ee===-1?!1:Pe<Ee},be.prototype.isFollowing=function(ve){var Pe,Ee;return Pe=this.treePosition(ve),Ee=this.treePosition(this),Pe===-1||Ee===-1?!1:Pe>Ee},be.prototype.treePosition=function(ve){var Pe,Ee;return Ee=0,Pe=!1,this.foreachTreeNode(this.document(),function(Ae){if(Ee++,!Pe&&Ae===ve)return Pe=!0}),Pe?Ee:-1},be.prototype.foreachTreeNode=function(ve,Pe){var Ee,Ae,Ce,_e,we;for(ve||(ve=this.document()),_e=ve.children,Ae=0,Ce=_e.length;Ae<Ce;Ae++){if(Ee=_e[Ae],we=Pe(Ee))return we;if(we=this.foreachTreeNode(Ee,Pe),we)return we}},be}()}).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,pe,he){(function(){var ce;pe.exports=ce=function(){function oe(ie){this.nodes=ie}return Object.defineProperty(oe.prototype,"length",{get:function(){return this.nodes.length||0}}),oe.prototype.clone=function(){return this.nodes=null},oe.prototype.item=function(ie){return this.nodes[ie]||null},oe}()}).call(this)},{}],452:[function(E,pe,he){(function(){var ce,oe,ie,le=function(ae,re){for(var ne in re)se.call(re,ne)&&(ae[ne]=re[ne]);function te(){this.constructor=ae}return te.prototype=re.prototype,ae.prototype=new te,ae.__super__=re.prototype,ae},se={}.hasOwnProperty;ce=E("./NodeType"),oe=E("./XMLCharacterData"),pe.exports=ie=function(ae){le(re,ae);function re(ne,te,a){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing instruction target. "+this.debugInfo());this.type=ce.ProcessingInstruction,this.target=this.stringify.insTarget(te),this.name=this.target,a&&(this.value=this.stringify.insValue(a))}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ne){return this.options.writer.processingInstruction(this,this.options.writer.filterOptions(ne))},re.prototype.isEqualNode=function(ne){return!(!re.__super__.isEqualNode.apply(this,arguments).isEqualNode(ne)||ne.target!==this.target)},re}(oe)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],453:[function(E,pe,he){(function(){var ce,oe,ie,le=function(ae,re){for(var ne in re)se.call(re,ne)&&(ae[ne]=re[ne]);function te(){this.constructor=ae}return te.prototype=re.prototype,ae.prototype=new te,ae.__super__=re.prototype,ae},se={}.hasOwnProperty;ce=E("./NodeType"),oe=E("./XMLNode"),pe.exports=ie=function(ae){le(re,ae);function re(ne,te){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing raw text. "+this.debugInfo());this.type=ce.Raw,this.value=this.stringify.raw(te)}return re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ne){return this.options.writer.raw(this,this.options.writer.filterOptions(ne))},re}(oe)}).call(this)},{"./NodeType":428,"./XMLNode":450}],454:[function(E,pe,he){(function(){var ce,oe,ie,le,se=function(re,ne){for(var te in ne)ae.call(ne,te)&&(re[te]=ne[te]);function a(){this.constructor=re}return a.prototype=ne.prototype,re.prototype=new a,re.__super__=ne.prototype,re},ae={}.hasOwnProperty;ce=E("./NodeType"),le=E("./XMLWriterBase"),oe=E("./WriterState"),pe.exports=ie=function(re){se(ne,re);function ne(te,a){this.stream=te,ne.__super__.constructor.call(this,a)}return ne.prototype.endline=function(te,a,y){return te.isLastRootNode&&a.state===oe.CloseTag?"":ne.__super__.endline.call(this,te,a,y)},ne.prototype.document=function(te,a){var y,x,b,ee,z,ue,de,ge,fe;for(de=te.children,x=b=0,z=de.length;b<z;x=++b)y=de[x],y.isLastRootNode=x===te.children.length-1;for(a=this.filterOptions(a),ge=te.children,fe=[],ee=0,ue=ge.length;ee<ue;ee++)y=ge[ee],fe.push(this.writeChildNode(y,a,0));return fe},ne.prototype.attribute=function(te,a,y){return this.stream.write(ne.__super__.attribute.call(this,te,a,y))},ne.prototype.cdata=function(te,a,y){return this.stream.write(ne.__super__.cdata.call(this,te,a,y))},ne.prototype.comment=function(te,a,y){return this.stream.write(ne.__super__.comment.call(this,te,a,y))},ne.prototype.declaration=function(te,a,y){return this.stream.write(ne.__super__.declaration.call(this,te,a,y))},ne.prototype.docType=function(te,a,y){var x,b,ee,z;if(y||(y=0),this.openNode(te,a,y),a.state=oe.OpenTag,this.stream.write(this.indent(te,a,y)),this.stream.write("<!DOCTYPE "+te.root().name),te.pubID&&te.sysID?this.stream.write(' PUBLIC "'+te.pubID+'" "'+te.sysID+'"'):te.sysID&&this.stream.write(' SYSTEM "'+te.sysID+'"'),te.children.length>0){for(this.stream.write(" ["),this.stream.write(this.endline(te,a,y)),a.state=oe.InsideTag,z=te.children,b=0,ee=z.length;b<ee;b++)x=z[b],this.writeChildNode(x,a,y+1);a.state=oe.CloseTag,this.stream.write("]")}return a.state=oe.CloseTag,this.stream.write(a.spaceBeforeSlash+">"),this.stream.write(this.endline(te,a,y)),a.state=oe.None,this.closeNode(te,a,y)},ne.prototype.element=function(te,a,y){var x,b,ee,z,ue,de,ge,fe,me,be;y||(y=0),this.openNode(te,a,y),a.state=oe.OpenTag,this.stream.write(this.indent(te,a,y)+"<"+te.name),me=te.attribs;for(ge in me)ae.call(me,ge)&&(x=me[ge],this.attribute(x,a,y));if(ee=te.children.length,z=ee===0?null:te.children[0],ee===0||te.children.every(function(ve){return(ve.type===ce.Text||ve.type===ce.Raw)&&ve.value===""}))a.allowEmpty?(this.stream.write(">"),a.state=oe.CloseTag,this.stream.write("</"+te.name+">")):(a.state=oe.CloseTag,this.stream.write(a.spaceBeforeSlash+"/>"));else if(a.pretty&&ee===1&&(z.type===ce.Text||z.type===ce.Raw)&&z.value!=null)this.stream.write(">"),a.state=oe.InsideTag,a.suppressPrettyCount++,fe=!0,this.writeChildNode(z,a,y+1),a.suppressPrettyCount--,fe=!1,a.state=oe.CloseTag,this.stream.write("</"+te.name+">");else{for(this.stream.write(">"+this.endline(te,a,y)),a.state=oe.InsideTag,be=te.children,ue=0,de=be.length;ue<de;ue++)b=be[ue],this.writeChildNode(b,a,y+1);a.state=oe.CloseTag,this.stream.write(this.indent(te,a,y)+"</"+te.name+">")}return this.stream.write(this.endline(te,a,y)),a.state=oe.None,this.closeNode(te,a,y)},ne.prototype.processingInstruction=function(te,a,y){return this.stream.write(ne.__super__.processingInstruction.call(this,te,a,y))},ne.prototype.raw=function(te,a,y){return this.stream.write(ne.__super__.raw.call(this,te,a,y))},ne.prototype.text=function(te,a,y){return this.stream.write(ne.__super__.text.call(this,te,a,y))},ne.prototype.dtdAttList=function(te,a,y){return this.stream.write(ne.__super__.dtdAttList.call(this,te,a,y))},ne.prototype.dtdElement=function(te,a,y){return this.stream.write(ne.__super__.dtdElement.call(this,te,a,y))},ne.prototype.dtdEntity=function(te,a,y){return this.stream.write(ne.__super__.dtdEntity.call(this,te,a,y))},ne.prototype.dtdNotation=function(te,a,y){return this.stream.write(ne.__super__.dtdNotation.call(this,te,a,y))},ne}(le)}).call(this)},{"./NodeType":428,"./WriterState":430,"./XMLWriterBase":458}],455:[function(E,pe,he){(function(){var ce,oe,ie=function(se,ae){for(var re in ae)le.call(ae,re)&&(se[re]=ae[re]);function ne(){this.constructor=se}return ne.prototype=ae.prototype,se.prototype=new ne,se.__super__=ae.prototype,se},le={}.hasOwnProperty;oe=E("./XMLWriterBase"),pe.exports=ce=function(se){ie(ae,se);function ae(re){ae.__super__.constructor.call(this,re)}return ae.prototype.document=function(re,ne){var te,a,y,x,b;for(ne=this.filterOptions(ne),x="",b=re.children,a=0,y=b.length;a<y;a++)te=b[a],x+=this.writeChildNode(te,ne,0);return ne.pretty&&x.slice(-ne.newline.length)===ne.newline&&(x=x.slice(0,-ne.newline.length)),x},ae}(oe)}).call(this)},{"./XMLWriterBase":458}],456:[function(E,pe,he){(function(){var ce,oe=function(le,se){return function(){return le.apply(se,arguments)}},ie={}.hasOwnProperty;pe.exports=ce=function(){function le(se){this.assertLegalName=oe(this.assertLegalName,this),this.assertLegalChar=oe(this.assertLegalChar,this);var ae,re,ne;se||(se={}),this.options=se,this.options.version||(this.options.version="1.0"),re=se.stringify||{};for(ae in re)ie.call(re,ae)&&(ne=re[ae],this[ae]=ne)}return le.prototype.name=function(se){return this.options.noValidation?se:this.assertLegalName(""+se||"")},le.prototype.text=function(se){return this.options.noValidation?se:this.assertLegalChar(this.textEscape(""+se||""))},le.prototype.cdata=function(se){return this.options.noValidation?se:(se=""+se||"",se=se.replace("]]>","]]]]><![CDATA[>"),this.assertLegalChar(se))},le.prototype.comment=function(se){if(this.options.noValidation)return se;if(se=""+se||"",se.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+se);return this.assertLegalChar(se)},le.prototype.raw=function(se){return this.options.noValidation?se:""+se||""},le.prototype.attValue=function(se){return this.options.noValidation?se:this.assertLegalChar(this.attEscape(se=""+se||""))},le.prototype.insTarget=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},le.prototype.insValue=function(se){if(this.options.noValidation)return se;if(se=""+se||"",se.match(/\?>/))throw new Error("Invalid processing instruction value: "+se);return this.assertLegalChar(se)},le.prototype.xmlVersion=function(se){if(this.options.noValidation)return se;if(se=""+se||"",!se.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+se);return se},le.prototype.xmlEncoding=function(se){if(this.options.noValidation)return se;if(se=""+se||"",!se.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+se);return this.assertLegalChar(se)},le.prototype.xmlStandalone=function(se){return this.options.noValidation?se:se?"yes":"no"},le.prototype.dtdPubID=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},le.prototype.dtdSysID=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},le.prototype.dtdElementValue=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},le.prototype.dtdAttType=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},le.prototype.dtdAttDefault=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},le.prototype.dtdEntityValue=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},le.prototype.dtdNData=function(se){return this.options.noValidation?se:this.assertLegalChar(""+se||"")},le.prototype.convertAttKey="@",le.prototype.convertPIKey="?",le.prototype.convertTextKey="#text",le.prototype.convertCDataKey="#cdata",le.prototype.convertCommentKey="#comment",le.prototype.convertRawKey="#raw",le.prototype.assertLegalChar=function(se){var ae,re;if(this.options.noValidation)return se;if(ae="",this.options.version==="1.0"){if(ae=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,re=se.match(ae))throw new Error("Invalid character in string: "+se+" at index "+re.index)}else if(this.options.version==="1.1"&&(ae=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,re=se.match(ae)))throw new Error("Invalid character in string: "+se+" at index "+re.index);return se},le.prototype.assertLegalName=function(se){var ae;if(this.options.noValidation)return se;if(this.assertLegalChar(se),ae=/^([: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])*$/,!se.match(ae))throw new Error("Invalid character in name");return se},le.prototype.textEscape=function(se){var ae;return this.options.noValidation?se:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,se.replace(ae,"&").replace(/</g,"<").replace(/>/g,">").replace(/\r/g,"
"))},le.prototype.attEscape=function(se){var ae;return this.options.noValidation?se:(ae=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,se.replace(ae,"&").replace(/</g,"<").replace(/"/g,""").replace(/\t/g,"	").replace(/\n/g,"
").replace(/\r/g,"
"))},le}()}).call(this)},{}],457:[function(E,pe,he){(function(){var ce,oe,ie,le=function(ae,re){for(var ne in re)se.call(re,ne)&&(ae[ne]=re[ne]);function te(){this.constructor=ae}return te.prototype=re.prototype,ae.prototype=new te,ae.__super__=re.prototype,ae},se={}.hasOwnProperty;ce=E("./NodeType"),oe=E("./XMLCharacterData"),pe.exports=ie=function(ae){le(re,ae);function re(ne,te){if(re.__super__.constructor.call(this,ne),te==null)throw new Error("Missing element text. "+this.debugInfo());this.name="#text",this.type=ce.Text,this.value=this.stringify.text(te)}return Object.defineProperty(re.prototype,"isElementContentWhitespace",{get:function(){throw new Error("This DOM method is not implemented."+this.debugInfo())}}),Object.defineProperty(re.prototype,"wholeText",{get:function(){var ne,te,a;for(a="",te=this.previousSibling;te;)a=te.data+a,te=te.previousSibling;for(a+=this.data,ne=this.nextSibling;ne;)a=a+ne.data,ne=ne.nextSibling;return a}}),re.prototype.clone=function(){return Object.create(this)},re.prototype.toString=function(ne){return this.options.writer.text(this,this.options.writer.filterOptions(ne))},re.prototype.splitText=function(ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},re.prototype.replaceWholeText=function(ne){throw new Error("This DOM method is not implemented."+this.debugInfo())},re}(oe)}).call(this)},{"./NodeType":428,"./XMLCharacterData":433}],458:[function(E,pe,he){(function(){var ce,oe,ie,le,se,ae,re,ne,te,a,y,x,b,ee,z,ue,de,ge={}.hasOwnProperty;de=E("./Utility").assign,ce=E("./NodeType"),te=E("./XMLDeclaration"),a=E("./XMLDocType"),ie=E("./XMLCData"),le=E("./XMLComment"),x=E("./XMLElement"),ee=E("./XMLRaw"),z=E("./XMLText"),b=E("./XMLProcessingInstruction"),y=E("./XMLDummy"),se=E("./XMLDTDAttList"),ae=E("./XMLDTDElement"),re=E("./XMLDTDEntity"),ne=E("./XMLDTDNotation"),oe=E("./WriterState"),pe.exports=ue=function(){function fe(me){var be,ve,Pe;me||(me={}),this.options=me,ve=me.writer||{};for(be in ve)ge.call(ve,be)&&(Pe=ve[be],this["_"+be]=this[be],this[be]=Pe)}return fe.prototype.filterOptions=function(me){var be,ve,Pe,Ee,Ae,Ce,_e,we;return me||(me={}),me=de({},this.options,me),be={writer:this},be.pretty=me.pretty||!1,be.allowEmpty=me.allowEmpty||!1,be.indent=(ve=me.indent)!=null?ve:" ",be.newline=(Pe=me.newline)!=null?Pe:`
|
|
|
`,be.offset=(Ee=me.offset)!=null?Ee:0,be.dontPrettyTextNodes=(Ae=(Ce=me.dontPrettyTextNodes)!=null?Ce:me.dontprettytextnodes)!=null?Ae:0,be.spaceBeforeSlash=(_e=(we=me.spaceBeforeSlash)!=null?we:me.spacebeforeslash)!=null?_e:"",be.spaceBeforeSlash===!0&&(be.spaceBeforeSlash=" "),be.suppressPrettyCount=0,be.user={},be.state=oe.None,be},fe.prototype.indent=function(me,be,ve){var Pe;return!be.pretty||be.suppressPrettyCount?"":be.pretty&&(Pe=(ve||0)+be.offset+1,Pe>0)?new Array(Pe).join(be.indent):""},fe.prototype.endline=function(me,be,ve){return!be.pretty||be.suppressPrettyCount?"":be.newline},fe.prototype.attribute=function(me,be,ve){var Pe;return this.openAttribute(me,be,ve),Pe=" "+me.name+'="'+me.value+'"',this.closeAttribute(me,be,ve),Pe},fe.prototype.cdata=function(me,be,ve){var Pe;return this.openNode(me,be,ve),be.state=oe.OpenTag,Pe=this.indent(me,be,ve)+"<![CDATA[",be.state=oe.InsideTag,Pe+=me.value,be.state=oe.CloseTag,Pe+="]]>"+this.endline(me,be,ve),be.state=oe.None,this.closeNode(me,be,ve),Pe},fe.prototype.comment=function(me,be,ve){var Pe;return this.openNode(me,be,ve),be.state=oe.OpenTag,Pe=this.indent(me,be,ve)+"<!-- ",be.state=oe.InsideTag,Pe+=me.value,be.state=oe.CloseTag,Pe+=" -->"+this.endline(me,be,ve),be.state=oe.None,this.closeNode(me,be,ve),Pe},fe.prototype.declaration=function(me,be,ve){var Pe;return this.openNode(me,be,ve),be.state=oe.OpenTag,Pe=this.indent(me,be,ve)+"<?xml",be.state=oe.InsideTag,Pe+=' version="'+me.version+'"',me.encoding!=null&&(Pe+=' encoding="'+me.encoding+'"'),me.standalone!=null&&(Pe+=' standalone="'+me.standalone+'"'),be.state=oe.CloseTag,Pe+=be.spaceBeforeSlash+"?>",Pe+=this.endline(me,be,ve),be.state=oe.None,this.closeNode(me,be,ve),Pe},fe.prototype.docType=function(me,be,ve){var Pe,Ee,Ae,Ce,_e;if(ve||(ve=0),this.openNode(me,be,ve),be.state=oe.OpenTag,Ce=this.indent(me,be,ve),Ce+="<!DOCTYPE "+me.root().name,me.pubID&&me.sysID?Ce+=' PUBLIC "'+me.pubID+'" "'+me.sysID+'"':me.sysID&&(Ce+=' SYSTEM "'+me.sysID+'"'),me.children.length>0){for(Ce+=" [",Ce+=this.endline(me,be,ve),be.state=oe.InsideTag,_e=me.children,Ee=0,Ae=_e.length;Ee<Ae;Ee++)Pe=_e[Ee],Ce+=this.writeChildNode(Pe,be,ve+1);be.state=oe.CloseTag,Ce+="]"}return be.state=oe.CloseTag,Ce+=be.spaceBeforeSlash+">",Ce+=this.endline(me,be,ve),be.state=oe.None,this.closeNode(me,be,ve),Ce},fe.prototype.element=function(me,be,ve){var Pe,Ee,Ae,Ce,_e,we,Me,Oe,Fe,Le,Qe,We,Ge,Ke;ve||(ve=0),Le=!1,Qe="",this.openNode(me,be,ve),be.state=oe.OpenTag,Qe+=this.indent(me,be,ve)+"<"+me.name,We=me.attribs;for(Fe in We)ge.call(We,Fe)&&(Pe=We[Fe],Qe+=this.attribute(Pe,be,ve));if(Ae=me.children.length,Ce=Ae===0?null:me.children[0],Ae===0||me.children.every(function(ze){return(ze.type===ce.Text||ze.type===ce.Raw)&&ze.value===""}))be.allowEmpty?(Qe+=">",be.state=oe.CloseTag,Qe+="</"+me.name+">"+this.endline(me,be,ve)):(be.state=oe.CloseTag,Qe+=be.spaceBeforeSlash+"/>"+this.endline(me,be,ve));else if(be.pretty&&Ae===1&&(Ce.type===ce.Text||Ce.type===ce.Raw)&&Ce.value!=null)Qe+=">",be.state=oe.InsideTag,be.suppressPrettyCount++,Le=!0,Qe+=this.writeChildNode(Ce,be,ve+1),be.suppressPrettyCount--,Le=!1,be.state=oe.CloseTag,Qe+="</"+me.name+">"+this.endline(me,be,ve);else{if(be.dontPrettyTextNodes){for(Ge=me.children,_e=0,Me=Ge.length;_e<Me;_e++)if(Ee=Ge[_e],(Ee.type===ce.Text||Ee.type===ce.Raw)&&Ee.value!=null){be.suppressPrettyCount++,Le=!0;break}}for(Qe+=">"+this.endline(me,be,ve),be.state=oe.InsideTag,Ke=me.children,we=0,Oe=Ke.length;we<Oe;we++)Ee=Ke[we],Qe+=this.writeChildNode(Ee,be,ve+1);be.state=oe.CloseTag,Qe+=this.indent(me,be,ve)+"</"+me.name+">",Le&&be.suppressPrettyCount--,Qe+=this.endline(me,be,ve),be.state=oe.None}return this.closeNode(me,be,ve),Qe},fe.prototype.writeChildNode=function(me,be,ve){switch(me.type){case ce.CData:return this.cdata(me,be,ve);case ce.Comment:return this.comment(me,be,ve);case ce.Element:return this.element(me,be,ve);case ce.Raw:return this.raw(me,be,ve);case ce.Text:return this.text(me,be,ve);case ce.ProcessingInstruction:return this.processingInstruction(me,be,ve);case ce.Dummy:return"";case ce.Declaration:return this.declaration(me,be,ve);case ce.DocType:return this.docType(me,be,ve);case ce.AttributeDeclaration:return this.dtdAttList(me,be,ve);case ce.ElementDeclaration:return this.dtdElement(me,be,ve);case ce.EntityDeclaration:return this.dtdEntity(me,be,ve);case ce.NotationDeclaration:return this.dtdNotation(me,be,ve);default:throw new Error("Unknown XML node type: "+me.constructor.name)}},fe.prototype.processingInstruction=function(me,be,ve){var Pe;return this.openNode(me,be,ve),be.state=oe.OpenTag,Pe=this.indent(me,be,ve)+"<?",be.state=oe.InsideTag,Pe+=me.target,me.value&&(Pe+=" "+me.value),be.state=oe.CloseTag,Pe+=be.spaceBeforeSlash+"?>",Pe+=this.endline(me,be,ve),be.state=oe.None,this.closeNode(me,be,ve),Pe},fe.prototype.raw=function(me,be,ve){var Pe;return this.openNode(me,be,ve),be.state=oe.OpenTag,Pe=this.indent(me,be,ve),be.state=oe.InsideTag,Pe+=me.value,be.state=oe.CloseTag,Pe+=this.endline(me,be,ve),be.state=oe.None,this.closeNode(me,be,ve),Pe},fe.prototype.text=function(me,be,ve){var Pe;return this.openNode(me,be,ve),be.state=oe.OpenTag,Pe=this.indent(me,be,ve),be.state=oe.InsideTag,Pe+=me.value,be.state=oe.CloseTag,Pe+=this.endline(me,be,ve),be.state=oe.None,this.closeNode(me,be,ve),Pe},fe.prototype.dtdAttList=function(me,be,ve){var Pe;return this.openNode(me,be,ve),be.state=oe.OpenTag,Pe=this.indent(me,be,ve)+"<!ATTLIST",be.state=oe.InsideTag,Pe+=" "+me.elementName+" "+me.attributeName+" "+me.attributeType,me.defaultValueType!=="#DEFAULT"&&(Pe+=" "+me.defaultValueType),me.defaultValue&&(Pe+=' "'+me.defaultValue+'"'),be.state=oe.CloseTag,Pe+=be.spaceBeforeSlash+">"+this.endline(me,be,ve),be.state=oe.None,this.closeNode(me,be,ve),Pe},fe.prototype.dtdElement=function(me,be,ve){var Pe;return this.openNode(me,be,ve),be.state=oe.OpenTag,Pe=this.indent(me,be,ve)+"<!ELEMENT",be.state=oe.InsideTag,Pe+=" "+me.name+" "+me.value,be.state=oe.CloseTag,Pe+=be.spaceBeforeSlash+">"+this.endline(me,be,ve),be.state=oe.None,this.closeNode(me,be,ve),Pe},fe.prototype.dtdEntity=function(me,be,ve){var Pe;return this.openNode(me,be,ve),be.state=oe.OpenTag,Pe=this.indent(me,be,ve)+"<!ENTITY",be.state=oe.InsideTag,me.pe&&(Pe+=" %"),Pe+=" "+me.name,me.value?Pe+=' "'+me.value+'"':(me.pubID&&me.sysID?Pe+=' PUBLIC "'+me.pubID+'" "'+me.sysID+'"':me.sysID&&(Pe+=' SYSTEM "'+me.sysID+'"'),me.nData&&(Pe+=" NDATA "+me.nData)),be.state=oe.CloseTag,Pe+=be.spaceBeforeSlash+">"+this.endline(me,be,ve),be.state=oe.None,this.closeNode(me,be,ve),Pe},fe.prototype.dtdNotation=function(me,be,ve){var Pe;return this.openNode(me,be,ve),be.state=oe.OpenTag,Pe=this.indent(me,be,ve)+"<!NOTATION",be.state=oe.InsideTag,Pe+=" "+me.name,me.pubID&&me.sysID?Pe+=' PUBLIC "'+me.pubID+'" "'+me.sysID+'"':me.pubID?Pe+=' PUBLIC "'+me.pubID+'"':me.sysID&&(Pe+=' SYSTEM "'+me.sysID+'"'),be.state=oe.CloseTag,Pe+=be.spaceBeforeSlash+">"+this.endline(me,be,ve),be.state=oe.None,this.closeNode(me,be,ve),Pe},fe.prototype.openNode=function(me,be,ve){},fe.prototype.closeNode=function(me,be,ve){},fe.prototype.openAttribute=function(me,be,ve){},fe.prototype.closeAttribute=function(me,be,ve){},fe}()}).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,pe,he){(function(){var ce,oe,ie,le,se,ae,re,ne,te,a;a=E("./Utility"),ne=a.assign,te=a.isFunction,ie=E("./XMLDOMImplementation"),le=E("./XMLDocument"),se=E("./XMLDocumentCB"),re=E("./XMLStringWriter"),ae=E("./XMLStreamWriter"),ce=E("./NodeType"),oe=E("./WriterState"),pe.exports.create=function(y,x,b,ee){var z,ue;if(y==null)throw new Error("Root element needs a name.");return ee=ne({},x,b,ee),z=new le(ee),ue=z.element(y),ee.headless||(z.declaration(ee),(ee.pubID!=null||ee.sysID!=null)&&z.dtd(ee)),ue},pe.exports.begin=function(y,x,b){var ee;return te(y)&&(ee=[y,x],x=ee[0],b=ee[1],y={}),x?new se(y,x,b):new le(y)},pe.exports.stringWriter=function(y){return new re(y)},pe.exports.streamWriter=function(y,x){return new ae(y,x)},pe.exports.implementation=new ie,pe.exports.nodeType=ce,pe.exports.writerState=oe}).call(this)},{"./NodeType":428,"./Utility":429,"./WriterState":430,"./XMLDOMImplementation":437,"./XMLDocument":445,"./XMLDocumentCB":446,"./XMLStreamWriter":454,"./XMLStringWriter":455}],460:[function(E,pe,he){pe.exports=oe;var ce=Object.prototype.hasOwnProperty;function oe(){for(var ie={},le=0;le<arguments.length;le++){var se=arguments[le];for(var ae in se)ce.call(se,ae)&&(ie[ae]=se[ae])}return ie}},{}],461:[function(E,pe,he){"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 ce=E("buffer").Buffer,oe=E("./sha"),ie=E("./md5"),le={sha1:oe,md5:ie},se=64,ae=ce.alloc(se);ae.fill(0);function re(a,y,x){ce.isBuffer(y)||(y=ce.from(y)),ce.isBuffer(x)||(x=ce.from(x)),y.length>se?y=a(y):y.length<se&&(y=ce.concat([y,ae],se));for(var b=ce.alloc(se),ee=ce.alloc(se),z=0;z<se;z++)b[z]=y[z]^54,ee[z]=y[z]^92;var ue=a(ce.concat([b,x]));return a(ce.concat([ee,ue]))}function ne(a,y){a=a||"sha1";var x=le[a],b=[],ee=0;return x||te("algorithm:",a,"is not yet supported"),{update:function(ue){return ce.isBuffer(ue)||(ue=ce.from(ue)),b.push(ue),ee+=ue.length,this},digest:function(ue){var de=ce.concat(b),ge=y?re(x,y,de):x(de);return b=null,ue?ge.toString(ue):ge}}}function te(){var a=[].slice.call(arguments).join(" ");throw new Error([a,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join(`
|
|
|
`))}he.createHash=function(a){return ne(a)},he.createHmac=function(a,y){return ne(a,y)},he.createCredentials=function(){te("sorry,createCredentials is not implemented yet")},he.createCipher=function(){te("sorry,createCipher is not implemented yet")},he.createCipheriv=function(){te("sorry,createCipheriv is not implemented yet")},he.createDecipher=function(){te("sorry,createDecipher is not implemented yet")},he.createDecipheriv=function(){te("sorry,createDecipheriv is not implemented yet")},he.createSign=function(){te("sorry,createSign is not implemented yet")},he.createVerify=function(){te("sorry,createVerify is not implemented yet")},he.createDiffieHellman=function(){te("sorry,createDiffieHellman is not implemented yet")},he.pbkdf2=function(){te("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,pe,he){"use strict";E("core-js/modules/es.array.fill.js"),E("core-js/modules/es.array.concat.js");var ce=E("buffer").Buffer,oe=4,ie=ce.alloc(oe);ie.fill(0);var le=8;function se(ne,te){if(ne.length%oe!==0){var a=ne.length+(oe-ne.length%oe);ne=ce.concat([ne,ie],a)}for(var y=[],x=te?ne.readInt32BE:ne.readInt32LE,b=0;b<ne.length;b+=oe)y.push(x.call(ne,b));return y}function ae(ne,te,a){for(var y=ce.alloc(te),x=a?y.writeInt32BE:y.writeInt32LE,b=0;b<ne.length;b++)x.call(y,ne[b],b*4,!0);return y}function re(ne,te,a,y){ce.isBuffer(ne)||(ne=ce.from(ne));var x=te(se(ne,y),ne.length*le);return ae(x,a,y)}pe.exports={hash:re}},{buffer:90,"core-js/modules/es.array.concat.js":272,"core-js/modules/es.array.fill.js":273}],463:[function(E,pe,he){"use strict";var ce=E("./helpers");function oe(){return hex_md5("abc")=="900150983cd24fb0d6963f7d28e17f72"}function ie(y,x){y[x>>5]|=128<<x%32,y[(x+64>>>9<<4)+14]=x;for(var b=1732584193,ee=-271733879,z=-1732584194,ue=271733878,de=0;de<y.length;de+=16){var ge=b,fe=ee,me=z,be=ue;b=se(b,ee,z,ue,y[de+0],7,-680876936),ue=se(ue,b,ee,z,y[de+1],12,-389564586),z=se(z,ue,b,ee,y[de+2],17,606105819),ee=se(ee,z,ue,b,y[de+3],22,-1044525330),b=se(b,ee,z,ue,y[de+4],7,-176418897),ue=se(ue,b,ee,z,y[de+5],12,1200080426),z=se(z,ue,b,ee,y[de+6],17,-1473231341),ee=se(ee,z,ue,b,y[de+7],22,-45705983),b=se(b,ee,z,ue,y[de+8],7,1770035416),ue=se(ue,b,ee,z,y[de+9],12,-1958414417),z=se(z,ue,b,ee,y[de+10],17,-42063),ee=se(ee,z,ue,b,y[de+11],22,-1990404162),b=se(b,ee,z,ue,y[de+12],7,1804603682),ue=se(ue,b,ee,z,y[de+13],12,-40341101),z=se(z,ue,b,ee,y[de+14],17,-1502002290),ee=se(ee,z,ue,b,y[de+15],22,1236535329),b=ae(b,ee,z,ue,y[de+1],5,-165796510),ue=ae(ue,b,ee,z,y[de+6],9,-1069501632),z=ae(z,ue,b,ee,y[de+11],14,643717713),ee=ae(ee,z,ue,b,y[de+0],20,-373897302),b=ae(b,ee,z,ue,y[de+5],5,-701558691),ue=ae(ue,b,ee,z,y[de+10],9,38016083),z=ae(z,ue,b,ee,y[de+15],14,-660478335),ee=ae(ee,z,ue,b,y[de+4],20,-405537848),b=ae(b,ee,z,ue,y[de+9],5,568446438),ue=ae(ue,b,ee,z,y[de+14],9,-1019803690),z=ae(z,ue,b,ee,y[de+3],14,-187363961),ee=ae(ee,z,ue,b,y[de+8],20,1163531501),b=ae(b,ee,z,ue,y[de+13],5,-1444681467),ue=ae(ue,b,ee,z,y[de+2],9,-51403784),z=ae(z,ue,b,ee,y[de+7],14,1735328473),ee=ae(ee,z,ue,b,y[de+12],20,-1926607734),b=re(b,ee,z,ue,y[de+5],4,-378558),ue=re(ue,b,ee,z,y[de+8],11,-2022574463),z=re(z,ue,b,ee,y[de+11],16,1839030562),ee=re(ee,z,ue,b,y[de+14],23,-35309556),b=re(b,ee,z,ue,y[de+1],4,-1530992060),ue=re(ue,b,ee,z,y[de+4],11,1272893353),z=re(z,ue,b,ee,y[de+7],16,-155497632),ee=re(ee,z,ue,b,y[de+10],23,-1094730640),b=re(b,ee,z,ue,y[de+13],4,681279174),ue=re(ue,b,ee,z,y[de+0],11,-358537222),z=re(z,ue,b,ee,y[de+3],16,-722521979),ee=re(ee,z,ue,b,y[de+6],23,76029189),b=re(b,ee,z,ue,y[de+9],4,-640364487),ue=re(ue,b,ee,z,y[de+12],11,-421815835),z=re(z,ue,b,ee,y[de+15],16,530742520),ee=re(ee,z,ue,b,y[de+2],23,-995338651),b=ne(b,ee,z,ue,y[de+0],6,-198630844),ue=ne(ue,b,ee,z,y[de+7],10,1126891415),z=ne(z,ue,b,ee,y[de+14],15,-1416354905),ee=ne(ee,z,ue,b,y[de+5],21,-57434055),b=ne(b,ee,z,ue,y[de+12],6,1700485571),ue=ne(ue,b,ee,z,y[de+3],10,-1894986606),z=ne(z,ue,b,ee,y[de+10],15,-1051523),ee=ne(ee,z,ue,b,y[de+1],21,-2054922799),b=ne(b,ee,z,ue,y[de+8],6,1873313359),ue=ne(ue,b,ee,z,y[de+15],10,-30611744),z=ne(z,ue,b,ee,y[de+6],15,-1560198380),ee=ne(ee,z,ue,b,y[de+13],21,1309151649),b=ne(b,ee,z,ue,y[de+4],6,-145523070),ue=ne(ue,b,ee,z,y[de+11],10,-1120210379),z=ne(z,ue,b,ee,y[de+2],15,718787259),ee=ne(ee,z,ue,b,y[de+9],21,-343485551),b=te(b,ge),ee=te(ee,fe),z=te(z,me),ue=te(ue,be)}return Array(b,ee,z,ue)}function le(y,x,b,ee,z,ue){return te(a(te(te(x,y),te(ee,ue)),z),b)}function se(y,x,b,ee,z,ue,de){return le(x&b|~x&ee,y,x,z,ue,de)}function ae(y,x,b,ee,z,ue,de){return le(x&ee|b&~ee,y,x,z,ue,de)}function re(y,x,b,ee,z,ue,de){return le(x^b^ee,y,x,z,ue,de)}function ne(y,x,b,ee,z,ue,de){return le(b^(x|~ee),y,x,z,ue,de)}function te(y,x){var b=(y&65535)+(x&65535),ee=(y>>16)+(x>>16)+(b>>16);return ee<<16|b&65535}function a(y,x){return y<<x|y>>>32-x}pe.exports=function(x){return ce.hash(x,ie,16)}},{"./helpers":462}],464:[function(E,pe,he){"use strict";var ce=E("./helpers");function oe(re,ne){re[ne>>5]|=128<<24-ne%32,re[(ne+64>>9<<4)+15]=ne;for(var te=Array(80),a=1732584193,y=-271733879,x=-1732584194,b=271733878,ee=-1009589776,z=0;z<re.length;z+=16){for(var ue=a,de=y,ge=x,fe=b,me=ee,be=0;be<80;be++){be<16?te[be]=re[z+be]:te[be]=ae(te[be-3]^te[be-8]^te[be-14]^te[be-16],1);var ve=se(se(ae(a,5),ie(be,y,x,b)),se(se(ee,te[be]),le(be)));ee=b,b=x,x=ae(y,30),y=a,a=ve}a=se(a,ue),y=se(y,de),x=se(x,ge),b=se(b,fe),ee=se(ee,me)}return Array(a,y,x,b,ee)}function ie(re,ne,te,a){return re<20?ne&te|~ne&a:re<40?ne^te^a:re<60?ne&te|ne&a|te&a:ne^te^a}function le(re){return re<20?1518500249:re<40?1859775393:re<60?-1894007588:-899497514}function se(re,ne){var te=(re&65535)+(ne&65535),a=(re>>16)+(ne>>16)+(te>>16);return a<<16|te&65535}function ae(re,ne){return re<<ne|re>>>32-ne}pe.exports=function(ne){return ce.hash(ne,oe,20,!0)}},{"./helpers":462}],465:[function(E,pe,he){"use strict";pe.exports=function(){return function(){}}},{}],466:[function(E,pe,he){(function(ce){(function(){"use strict";var oe=E("@babel/runtime/helpers/interopRequireDefault"),ie=oe(E("@babel/runtime/helpers/typeof")),le=E("stream"),se=le.Stream,ae=E("../lib/common/utils/isArray"),re=ae.isArray;pe.exports.string=function(a){return typeof a=="string"},pe.exports.array=re,pe.exports.buffer=ce.isBuffer;function ne(te){return te instanceof se}pe.exports.writableStream=function(a){return ne(a)&&typeof a._write=="function"&&(0,ie.default)(a._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,pe,he){"use strict";var ce=E("immediate"),oe=pe.exports={};oe.nextTick=ce,oe.title="browser",oe.browser=!0,oe.env={},oe.argv=[],oe.version="",oe.versions={};function ie(){}oe.on=ie,oe.addListener=ie,oe.once=ie,oe.off=ie,oe.removeListener=ie,oe.removeAllListeners=ie,oe.emit=ie,oe.prependListener=ie,oe.prependOnceListener=ie,oe.listeners=function(le){return[]},oe.binding=function(le){throw new Error("process.binding is not supported")},oe.cwd=function(){return"/"},oe.chdir=function(le){throw new Error("process.chdir is not supported")},oe.umask=function(){return 0}},{immediate:358}],468:[function(E,pe,he){(function(ce){(function(){"use strict";E("core-js/modules/es.regexp.exec.js"),E("core-js/modules/es.string.search.js");var oe=E("./lib/request"),ie=E("./lib/response"),le=E("xtend"),se=E("builtin-status-codes"),ae=E("url"),re=he;re.request=function(ne,te){typeof ne=="string"?ne=ae.parse(ne):ne=le(ne);var a=ce.location.protocol.search(/^https?:$/)===-1?"http:":"",y=ne.protocol||a,x=ne.hostname||ne.host,b=ne.port,ee=ne.path||"/";x&&x.indexOf(":")!==-1&&(x="["+x+"]"),ne.url=(x?y+"//"+x:"")+(b?":"+b:"")+ee,ne.method=(ne.method||"GET").toUpperCase(),ne.headers=ne.headers||{};var z=new oe(ne);return te&&z.on("response",te),z},re.get=function(te,a){var y=re.request(te,a);return y.end(),y},re.ClientRequest=oe,re.IncomingMessage=ie.IncomingMessage,re.Agent=function(){},re.Agent.defaultMaxSockets=4,re.globalAgent=new re.Agent,re.STATUS_CODES=se,re.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 ot!="undefined"?ot: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,pe,he){(function(ce){(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"),he.fetch=re(ce.fetch)&&re(ce.ReadableStream),he.writableStream=re(ce.WritableStream),he.abortController=re(ce.AbortController),he.blobConstructor=!1;try{new Blob([new ArrayBuffer(1)]),he.blobConstructor=!0}catch(ne){}var oe;function ie(){if(oe!==void 0)return oe;if(ce.XMLHttpRequest){oe=new ce.XMLHttpRequest;try{oe.open("GET",ce.XDomainRequest?"/":"https://example.com")}catch(ne){oe=null}}else oe=null;return oe}function le(ne){var te=ie();if(!te)return!1;try{return te.responseType=ne,te.responseType===ne}catch(a){}return!1}var se=typeof ce.ArrayBuffer!="undefined",ae=se&&re(ce.ArrayBuffer.prototype.slice);he.arraybuffer=he.fetch||se&&le("arraybuffer"),he.msstream=!he.fetch&&ae&&le("ms-stream"),he.mozchunkedarraybuffer=!he.fetch&&se&&le("moz-chunked-arraybuffer"),he.overrideMimeType=he.fetch||(ie()?re(ie().overrideMimeType):!1),he.vbArray=re(ce.VBArray);function re(ne){return typeof ne=="function"}oe=null}).call(this)}).call(this,typeof ot!="undefined"?ot: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,pe,he){(function(ce,oe,ie){(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 le=E("./capability"),se=E("inherits"),ae=E("./response"),re=E("readable-stream"),ne=E("to-arraybuffer"),te=ae.IncomingMessage,a=ae.readyStates;function y(z,ue){return le.fetch&&ue?"fetch":le.mozchunkedarraybuffer?"moz-chunked-arraybuffer":le.msstream?"ms-stream":le.arraybuffer&&z?"arraybuffer":le.vbArray&&z?"text:vbarray":"text"}var x=pe.exports=function(z){var ue=this;re.Writable.call(ue),ue._opts=z,ue._body=[],ue._headers={},z.auth&&ue.setHeader("Authorization","Basic "+new ie(z.auth).toString("base64")),Object.keys(z.headers).forEach(function(fe){ue.setHeader(fe,z.headers[fe])});var de,ge=!0;if(z.mode==="disable-fetch"||"requestTimeout"in z&&!le.abortController)ge=!1,de=!0;else if(z.mode==="prefer-streaming")de=!1;else if(z.mode==="allow-wrong-content-type")de=!le.overrideMimeType;else if(!z.mode||z.mode==="default"||z.mode==="prefer-fast")de=!0;else throw new Error("Invalid value for opts.mode");ue._mode=y(de,ge),ue._fetchTimer=null,ue.on("finish",function(){ue._onFinish()})};se(x,re.Writable),x.prototype.setHeader=function(z,ue){var de=this,ge=z.toLowerCase();ee.indexOf(ge)===-1&&(de._headers[ge]={name:z,value:ue})},x.prototype.getHeader=function(z){var ue=this._headers[z.toLowerCase()];return ue?ue.value:null},x.prototype.removeHeader=function(z){var ue=this;delete ue._headers[z.toLowerCase()]},x.prototype._onFinish=function(){var z=this;if(!z._destroyed){var ue=z._opts,de=z._headers,ge=null;ue.method!=="GET"&&ue.method!=="HEAD"&&(le.arraybuffer?ge=ne(ie.concat(z._body)):le.blobConstructor?ge=new oe.Blob(z._body.map(function(Ee){return ne(Ee)}),{type:(de["content-type"]||{}).value||""}):ge=ie.concat(z._body).toString());var fe=[];if(Object.keys(de).forEach(function(Ee){var Ae=de[Ee].name,Ce=de[Ee].value;Array.isArray(Ce)?Ce.forEach(function(_e){fe.push([Ae,_e])}):fe.push([Ae,Ce])}),z._mode==="fetch"){var me=null,be=null;if(le.abortController){var ve=new AbortController;me=ve.signal,z._fetchAbortController=ve,"requestTimeout"in ue&&ue.requestTimeout!==0&&(z._fetchTimer=oe.setTimeout(function(){z.emit("requestTimeout"),z._fetchAbortController&&z._fetchAbortController.abort()},ue.requestTimeout))}oe.fetch(z._opts.url,{method:z._opts.method,headers:fe,body:ge||void 0,mode:"cors",credentials:ue.withCredentials?"include":"same-origin",signal:me}).then(function(Ee){z._fetchResponse=Ee,z._connect()},function(Ee){oe.clearTimeout(z._fetchTimer),z._destroyed||z.emit("error",Ee)})}else{var Pe=z._xhr=new oe.XMLHttpRequest;try{Pe.open(z._opts.method,z._opts.url,!0)}catch(Ee){ce.nextTick(function(){z.emit("error",Ee)});return}"responseType"in Pe&&(Pe.responseType=z._mode.split(":")[0]),"withCredentials"in Pe&&(Pe.withCredentials=!!ue.withCredentials),z._mode==="text"&&"overrideMimeType"in Pe&&Pe.overrideMimeType("text/plain; charset=x-user-defined"),"requestTimeout"in ue&&(Pe.timeout=ue.requestTimeout,Pe.ontimeout=function(){z.emit("requestTimeout")}),fe.forEach(function(Ee){Pe.setRequestHeader(Ee[0],Ee[1])}),z._response=null,Pe.onreadystatechange=function(){switch(Pe.readyState){case a.LOADING:case a.DONE:z._onXHRProgress();break}},z._mode==="moz-chunked-arraybuffer"&&(Pe.onprogress=function(){z._onXHRProgress()}),Pe.onerror=function(){z._destroyed||z.emit("error",new Error("XHR error"))};try{Pe.send(ge)}catch(Ee){ce.nextTick(function(){z.emit("error",Ee)});return}}}};function b(z){try{var ue=z.status;return ue!==null&&ue!==0}catch(de){return!1}}x.prototype._onXHRProgress=function(){var z=this;!b(z._xhr)||z._destroyed||(z._response||z._connect(),z._response._onXHRProgress())},x.prototype._connect=function(){var z=this;z._destroyed||(z._response=new te(z._xhr,z._fetchResponse,z._mode,z._fetchTimer),z._response.on("error",function(ue){z.emit("error",ue)}),z.emit("response",z._response))},x.prototype._write=function(z,ue,de){var ge=this;ge._body.push(z),de()},x.prototype.abort=x.prototype.destroy=function(){var z=this;z._destroyed=!0,oe.clearTimeout(z._fetchTimer),z._response&&(z._response._destroyed=!0),z._xhr?z._xhr.abort():z._fetchAbortController&&z._fetchAbortController.abort()},x.prototype.end=function(z,ue,de){var ge=this;typeof z=="function"&&(de=z,z=void 0),re.Writable.prototype.end.call(ge,z,ue,de)},x.prototype.flushHeaders=function(){},x.prototype.setTimeout=function(){},x.prototype.setNoDelay=function(){},x.prototype.setSocketKeepAlive=function(){};var ee=["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 ot!="undefined"?ot: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,pe,he){(function(ce,oe,ie){(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 le=E("./capability"),se=E("inherits"),ae=E("readable-stream"),re=he.readyStates={UNSENT:0,OPENED:1,HEADERS_RECEIVED:2,LOADING:3,DONE:4},ne=he.IncomingMessage=function(te,a,y,x){var b=this;if(ae.Readable.call(b),b._mode=y,b.headers={},b.rawHeaders=[],b.trailers={},b.rawTrailers=[],b.on("end",function(){ce.nextTick(function(){b.emit("close")})}),y==="fetch"){var ee=function me(){ue.read().then(function(be){if(!b._destroyed){if(be.done){oe.clearTimeout(x),b.push(null);return}b.push(new ie(be.value)),me()}}).catch(function(be){oe.clearTimeout(x),b._destroyed||b.emit("error",be)})};if(b._fetchResponse=a,b.url=a.url,b.statusCode=a.status,b.statusMessage=a.statusText,a.headers.forEach(function(me,be){b.headers[be.toLowerCase()]=me,b.rawHeaders.push(be,me)}),le.writableStream){var z=new WritableStream({write:function(be){return new Promise(function(ve,Pe){b._destroyed?Pe():b.push(new ie(be))?ve():b._resumeFetch=ve})},close:function(){oe.clearTimeout(x),b._destroyed||b.push(null)},abort:function(be){b._destroyed||b.emit("error",be)}});try{a.body.pipeTo(z).catch(function(me){oe.clearTimeout(x),b._destroyed||b.emit("error",me)});return}catch(me){}}var ue=a.body.getReader();ee()}else{b._xhr=te,b._pos=0,b.url=te.responseURL,b.statusCode=te.status,b.statusMessage=te.statusText;var de=te.getAllResponseHeaders().split(/\r?\n/);if(de.forEach(function(me){var be=me.match(/^([^:]+):\s*(.*)/);if(be){var ve=be[1].toLowerCase();ve==="set-cookie"?(b.headers[ve]===void 0&&(b.headers[ve]=[]),b.headers[ve].push(be[2])):b.headers[ve]!==void 0?b.headers[ve]+=", "+be[2]:b.headers[ve]=be[2],b.rawHeaders.push(be[1],be[2])}}),b._charset="x-user-defined",!le.overrideMimeType){var ge=b.rawHeaders["mime-type"];if(ge){var fe=ge.match(/;\s*charset=([^;])(;|$)/);fe&&(b._charset=fe[1].toLowerCase())}b._charset||(b._charset="utf-8")}}};se(ne,ae.Readable),ne.prototype._read=function(){var te=this,a=te._resumeFetch;a&&(te._resumeFetch=null,a())},ne.prototype._onXHRProgress=function(){var te=this,a=te._xhr,y=null;switch(te._mode){case"text:vbarray":if(a.readyState!==re.DONE)break;try{y=new oe.VBArray(a.responseBody).toArray()}catch(ue){}if(y!==null){te.push(new ie(y));break}case"text":try{y=a.responseText}catch(ue){te._mode="text:vbarray";break}if(y.length>te._pos){var x=y.substr(te._pos);if(te._charset==="x-user-defined"){for(var b=new ie(x.length),ee=0;ee<x.length;ee++)b[ee]=x.charCodeAt(ee)&255;te.push(b)}else te.push(x,te._charset);te._pos=y.length}break;case"arraybuffer":if(a.readyState!==re.DONE||!a.response)break;y=a.response,te.push(new ie(new Uint8Array(y)));break;case"moz-chunked-arraybuffer":if(y=a.response,a.readyState!==re.LOADING||!y)break;te.push(new ie(new Uint8Array(y)));break;case"ms-stream":if(y=a.response,a.readyState!==re.LOADING)break;var z=new oe.MSStreamReader;z.onprogress=function(){z.result.byteLength>te._pos&&(te.push(new ie(new Uint8Array(z.result.slice(te._pos)))),te._pos=z.result.byteLength)},z.onload=function(){te.push(null)},z.readAsArrayBuffer(y);break}te._xhr.readyState===re.DONE&&te._mode!=="ms-stream"&&te.push(null)}}).call(this)}).call(this,E("_process"),typeof ot!="undefined"?ot: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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(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 ie=E("punycode"),le=E("./util");he.parse=be,he.resolve=Pe,he.resolveObject=Ee,he.format=ve,he.Url=se;function se(){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 ae=/^([a-z0-9.+-]+:)/i,re=/:[0-9]*$/,ne=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,te=["<",">",'"',"`"," ","\r",`
|
|
|
`," "],a=["{","}","|","\\","^","`"].concat(te),y=["'"].concat(a),x=["%","/","?",";","#"].concat(y),b=["/","?","#"],ee=255,z=/^[+a-z0-9A-Z_-]{0,63}$/,ue=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,de={javascript:!0,"javascript:":!0},ge={javascript:!0,"javascript:":!0},fe={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},me=E("querystring");function be(Ae,Ce,_e){if(Ae&&le.isObject(Ae)&&Ae instanceof se)return Ae;var we=new se;return we.parse(Ae,Ce,_e),we}se.prototype.parse=function(Ae,Ce,_e){if(!le.isString(Ae))throw new TypeError("Parameter 'url' must be a string, not "+(0,oe.default)(Ae));var we=Ae.indexOf("?"),Me=we!==-1&&we<Ae.indexOf("#")?"?":"#",Oe=Ae.split(Me),Fe=/\\/g;Oe[0]=Oe[0].replace(Fe,"/"),Ae=Oe.join(Me);var Le=Ae;if(Le=Le.trim(),!_e&&Ae.split("#").length===1){var Qe=ne.exec(Le);if(Qe)return this.path=Le,this.href=Le,this.pathname=Qe[1],Qe[2]?(this.search=Qe[2],Ce?this.query=me.parse(this.search.substr(1)):this.query=this.search.substr(1)):Ce&&(this.search="",this.query={}),this}var We=ae.exec(Le);if(We){We=We[0];var Ge=We.toLowerCase();this.protocol=Ge,Le=Le.substr(We.length)}if(_e||We||Le.match(/^\/\/[^@\/]+@[^@\/]+/)){var Ke=Le.substr(0,2)==="//";Ke&&!(We&&ge[We])&&(Le=Le.substr(2),this.slashes=!0)}if(!ge[We]&&(Ke||We&&!fe[We])){for(var ze=-1,ke=0;ke<b.length;ke++){var Ne=Le.indexOf(b[ke]);Ne!==-1&&(ze===-1||Ne<ze)&&(ze=Ne)}var Ve,qe;ze===-1?qe=Le.lastIndexOf("@"):qe=Le.lastIndexOf("@",ze),qe!==-1&&(Ve=Le.slice(0,qe),Le=Le.slice(qe+1),this.auth=decodeURIComponent(Ve)),ze=-1;for(var ke=0;ke<x.length;ke++){var Ne=Le.indexOf(x[ke]);Ne!==-1&&(ze===-1||Ne<ze)&&(ze=Ne)}ze===-1&&(ze=Le.length),this.host=Le.slice(0,ze),Le=Le.slice(ze),this.parseHost(),this.hostname=this.hostname||"";var rt=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!rt)for(var Ye=this.hostname.split("."),ke=0,Ue=Ye.length;ke<Ue;ke++){var Be=Ye[ke];if(Be&&!Be.match(z)){for(var Ze="",Te=0,He=Be.length;Te<He;Te++)Be.charCodeAt(Te)>127?Ze+="x":Ze+=Be[Te];if(!Ze.match(z)){var at=Ye.slice(0,ke),et=Ye.slice(ke+1),Je=Be.match(ue);Je&&(at.push(Je[1]),et.unshift(Je[2])),et.length&&(Le="/"+et.join(".")+Le),this.hostname=at.join(".");break}}}this.hostname.length>ee?this.hostname="":this.hostname=this.hostname.toLowerCase(),rt||(this.hostname=ie.toASCII(this.hostname));var Ie=this.port?":"+this.port:"",xe=this.hostname||"";this.host=xe+Ie,this.href+=this.host,rt&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),Le[0]!=="/"&&(Le="/"+Le))}if(!de[Ge])for(var ke=0,Ue=y.length;ke<Ue;ke++){var De=y[ke];if(Le.indexOf(De)!==-1){var Re=encodeURIComponent(De);Re===De&&(Re=escape(De)),Le=Le.split(De).join(Re)}}var Xe=Le.indexOf("#");Xe!==-1&&(this.hash=Le.substr(Xe),Le=Le.slice(0,Xe));var nt=Le.indexOf("?");if(nt!==-1?(this.search=Le.substr(nt),this.query=Le.substr(nt+1),Ce&&(this.query=me.parse(this.query)),Le=Le.slice(0,nt)):Ce&&(this.search="",this.query={}),Le&&(this.pathname=Le),fe[Ge]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var Ie=this.pathname||"",$e=this.search||"";this.path=Ie+$e}return this.href=this.format(),this};function ve(Ae){return le.isString(Ae)&&(Ae=be(Ae)),Ae instanceof se?Ae.format():se.prototype.format.call(Ae)}se.prototype.format=function(){var Ae=this.auth||"";Ae&&(Ae=encodeURIComponent(Ae),Ae=Ae.replace(/%3A/i,":"),Ae+="@");var Ce=this.protocol||"",_e=this.pathname||"",we=this.hash||"",Me=!1,Oe="";this.host?Me=Ae+this.host:this.hostname&&(Me=Ae+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(Me+=":"+this.port)),this.query&&le.isObject(this.query)&&Object.keys(this.query).length&&(Oe=me.stringify(this.query));var Fe=this.search||Oe&&"?"+Oe||"";return Ce&&Ce.substr(-1)!==":"&&(Ce+=":"),this.slashes||(!Ce||fe[Ce])&&Me!==!1?(Me="//"+(Me||""),_e&&_e.charAt(0)!=="/"&&(_e="/"+_e)):Me||(Me=""),we&&we.charAt(0)!=="#"&&(we="#"+we),Fe&&Fe.charAt(0)!=="?"&&(Fe="?"+Fe),_e=_e.replace(/[?#]/g,function(Le){return encodeURIComponent(Le)}),Fe=Fe.replace("#","%23"),Ce+Me+_e+Fe+we};function Pe(Ae,Ce){return be(Ae,!1,!0).resolve(Ce)}se.prototype.resolve=function(Ae){return this.resolveObject(be(Ae,!1,!0)).format()};function Ee(Ae,Ce){return Ae?be(Ae,!1,!0).resolveObject(Ce):Ce}se.prototype.resolveObject=function(Ae){if(le.isString(Ae)){var Ce=new se;Ce.parse(Ae,!1,!0),Ae=Ce}for(var _e=new se,we=Object.keys(this),Me=0;Me<we.length;Me++){var Oe=we[Me];_e[Oe]=this[Oe]}if(_e.hash=Ae.hash,Ae.href==="")return _e.href=_e.format(),_e;if(Ae.slashes&&!Ae.protocol){for(var Fe=Object.keys(Ae),Le=0;Le<Fe.length;Le++){var Qe=Fe[Le];Qe!=="protocol"&&(_e[Qe]=Ae[Qe])}return fe[_e.protocol]&&_e.hostname&&!_e.pathname&&(_e.path=_e.pathname="/"),_e.href=_e.format(),_e}if(Ae.protocol&&Ae.protocol!==_e.protocol){if(!fe[Ae.protocol]){for(var We=Object.keys(Ae),Ge=0;Ge<We.length;Ge++){var Ke=We[Ge];_e[Ke]=Ae[Ke]}return _e.href=_e.format(),_e}if(_e.protocol=Ae.protocol,!Ae.host&&!ge[Ae.protocol]){for(var Ue=(Ae.pathname||"").split("/");Ue.length&&!(Ae.host=Ue.shift()););Ae.host||(Ae.host=""),Ae.hostname||(Ae.hostname=""),Ue[0]!==""&&Ue.unshift(""),Ue.length<2&&Ue.unshift(""),_e.pathname=Ue.join("/")}else _e.pathname=Ae.pathname;if(_e.search=Ae.search,_e.query=Ae.query,_e.host=Ae.host||"",_e.auth=Ae.auth,_e.hostname=Ae.hostname||Ae.host,_e.port=Ae.port,_e.pathname||_e.search){var ze=_e.pathname||"",ke=_e.search||"";_e.path=ze+ke}return _e.slashes=_e.slashes||Ae.slashes,_e.href=_e.format(),_e}var Ne=_e.pathname&&_e.pathname.charAt(0)==="/",Ve=Ae.host||Ae.pathname&&Ae.pathname.charAt(0)==="/",qe=Ve||Ne||_e.host&&Ae.pathname,rt=qe,Ye=_e.pathname&&_e.pathname.split("/")||[],Ue=Ae.pathname&&Ae.pathname.split("/")||[],Be=_e.protocol&&!fe[_e.protocol];if(Be&&(_e.hostname="",_e.port=null,_e.host&&(Ye[0]===""?Ye[0]=_e.host:Ye.unshift(_e.host)),_e.host="",Ae.protocol&&(Ae.hostname=null,Ae.port=null,Ae.host&&(Ue[0]===""?Ue[0]=Ae.host:Ue.unshift(Ae.host)),Ae.host=null),qe=qe&&(Ue[0]===""||Ye[0]==="")),Ve)_e.host=Ae.host||Ae.host===""?Ae.host:_e.host,_e.hostname=Ae.hostname||Ae.hostname===""?Ae.hostname:_e.hostname,_e.search=Ae.search,_e.query=Ae.query,Ye=Ue;else if(Ue.length)Ye||(Ye=[]),Ye.pop(),Ye=Ye.concat(Ue),_e.search=Ae.search,_e.query=Ae.query;else if(!le.isNullOrUndefined(Ae.search)){if(Be){_e.hostname=_e.host=Ye.shift();var Ze=_e.host&&_e.host.indexOf("@")>0?_e.host.split("@"):!1;Ze&&(_e.auth=Ze.shift(),_e.host=_e.hostname=Ze.shift())}return _e.search=Ae.search,_e.query=Ae.query,(!le.isNull(_e.pathname)||!le.isNull(_e.search))&&(_e.path=(_e.pathname?_e.pathname:"")+(_e.search?_e.search:"")),_e.href=_e.format(),_e}if(!Ye.length)return _e.pathname=null,_e.search?_e.path="/"+_e.search:_e.path=null,_e.href=_e.format(),_e;for(var Te=Ye.slice(-1)[0],He=(_e.host||Ae.host||Ye.length>1)&&(Te==="."||Te==="..")||Te==="",at=0,et=Ye.length;et>=0;et--)Te=Ye[et],Te==="."?Ye.splice(et,1):Te===".."?(Ye.splice(et,1),at++):at&&(Ye.splice(et,1),at--);if(!qe&&!rt)for(;at--;at)Ye.unshift("..");qe&&Ye[0]!==""&&(!Ye[0]||Ye[0].charAt(0)!=="/")&&Ye.unshift(""),He&&Ye.join("/").substr(-1)!=="/"&&Ye.push("");var Je=Ye[0]===""||Ye[0]&&Ye[0].charAt(0)==="/";if(Be){_e.hostname=_e.host=Je?"":Ye.length?Ye.shift():"";var Ze=_e.host&&_e.host.indexOf("@")>0?_e.host.split("@"):!1;Ze&&(_e.auth=Ze.shift(),_e.host=_e.hostname=Ze.shift())}return qe=qe||_e.host&&Ye.length,qe&&!Je&&Ye.unshift(""),Ye.length?_e.pathname=Ye.join("/"):(_e.pathname=null,_e.path=null),(!le.isNull(_e.pathname)||!le.isNull(_e.search))&&(_e.path=(_e.pathname?_e.pathname:"")+(_e.search?_e.search:"")),_e.auth=Ae.auth||_e.auth,_e.slashes=_e.slashes||Ae.slashes,_e.href=_e.format(),_e},se.prototype.parseHost=function(){var Ae=this.host,Ce=re.exec(Ae);Ce&&(Ce=Ce[0],Ce!==":"&&(this.port=Ce.substr(1)),Ae=Ae.substr(0,Ae.length-Ce.length)),Ae&&(this.hostname=Ae)}},{"./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,pe,he){"use strict";var ce=E("@babel/runtime/helpers/interopRequireDefault"),oe=ce(E("@babel/runtime/helpers/typeof"));pe.exports={isString:function(le){return typeof le=="string"},isObject:function(le){return(0,oe.default)(le)==="object"&&le!==null},isNull:function(le){return le===null},isNullOrUndefined:function(le){return le==null}}},{"@babel/runtime/helpers/interopRequireDefault":78,"@babel/runtime/helpers/typeof":79}],474:[function(E,pe,he){"use strict";E("core-js/modules/es.number.constructor.js"),he.encodeURIComponent=function(ce){try{return encodeURIComponent(ce)}catch(oe){return ce}},he.escape=E("escape-html"),he.timestamp=function(oe){if(oe){var ie=oe;return typeof ie=="string"&&(ie=Number(ie)),String(oe).length===10&&(ie*=1e3),new Date(ie)}return Math.round(Date.now()/1e3)}},{"core-js/modules/es.number.constructor.js":286,"escape-html":343}],475:[function(E,pe,he){(function(ce,oe){(function(){"use strict";var ie=E("@babel/runtime/helpers/interopRequireDefault"),le=ie(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 se=E("util"),ae=E("url"),re=E("http"),ne=E("https"),te=E("debug")("urllib"),a=E("humanize-ms"),y=0,x=Math.pow(2,31)-10,b=/^https?:\/\//i;function ee(ge,fe){return ge===void 0?fe:ge}function z(ge){return ge?ge.split(";")[0].trim().toLowerCase():""}function ue(ge,fe){return function(me,be,ve){if(me)return fe(me);ge({data:be,status:ve.statusCode,headers:ve.headers,res:ve})}}he.TIMEOUTS=[a("300s"),a("300s")];var de=["json","text"];he.request=function(fe,me,be){return arguments.length===2&&typeof me=="function"&&(be=me,me=null),typeof be=="function"?he.requestWithCallback(fe,me,be):new Promise(function(ve,Pe){he.requestWithCallback(fe,me,ue(ve,Pe))})},he.requestWithCallback=function(fe,me,be){if(!fe||typeof fe!="string"&&(0,le.default)(fe)!=="object"){var ve=se.format("expect request url to be a string or a http request options, but got %j",fe);throw new Error(ve)}arguments.length===2&&typeof me=="function"&&(be=me,me=null),me=me||{},y>=x&&(y=0);var Pe=++y;me.requestUrls=me.requestUrls||[];var Ee={requestId:Pe,url:fe,args:me,ctx:me.ctx};me.emitter&&me.emitter.emit("request",Ee),me.timeout=me.timeout||he.TIMEOUTS,me.maxRedirects=me.maxRedirects||10,me.streaming=me.streaming||me.customResponse;var Ae=Date.now(),Ce;typeof fe=="string"?(b.test(fe)||(fe="https://"+fe),Ce=ae.parse(fe)):Ce=fe;var _e=(me.type||me.method||Ce.method||"GET").toUpperCase(),we=Ce.port||80,Me=re,Oe=ee(me.agent,he.agent),Fe=me.fixJSONCtlChars;Ce.protocol==="https:"&&(Me=ne,Oe=ee(me.httpsAgent,he.httpsAgent),Ce.port||(we=443));var Le={host:Ce.hostname||Ce.host||"localhost",path:Ce.path||"/",method:_e,port:we,agent:Oe,headers:me.headers||{},lookup:me.lookup};Array.isArray(me.timeout)?Le.requestTimeout=me.timeout[me.timeout.length-1]:typeof me.timeout!="undefined"&&(Le.requestTimeout=me.timeout);var Qe=me.auth||Ce.auth;Qe&&(Le.auth=Qe);var We=me.content||me.data,Ge=_e==="GET"||_e==="HEAD"||me.dataAsQueryString;if(!me.content&&We&&!(typeof We=="string"||oe.isBuffer(We)))if(Ge)We=me.nestedQuerystring?qs.stringify(We):querystring.stringify(We);else{var Ke=Le.headers["Content-Type"]||Le.headers["content-type"];Ke||(me.contentType==="json"?Ke="application/json":Ke="application/x-www-form-urlencoded",Le.headers["Content-Type"]=Ke),z(Ke)==="application/json"?We=JSON.stringify(We):We=me.nestedQuerystring?qs.stringify(We):querystring.stringify(We)}Ge&&We&&(Le.path+=(Ce.query?"&":"?")+We,We=null);var ze=0;if(We){var ke=We.length;oe.isBuffer(We)||(ke=oe.byteLength(We)),ze=Le.headers["Content-Length"]=ke}me.dataType==="json"&&(Le.headers.Accept="application/json"),typeof me.beforeRequest=="function"&&me.beforeRequest(Le);var Ne=null,Ve=null,qe=null,rt=!1,Ye=!1,Ue=0,Be=-1,Ze=!1,Te="",He="",at=null;me.timing&&(at={queuing:0,dnslookup:0,connected:0,requestSent:0,waiting:0,contentDownload:0});function et(){Ne&&(clearTimeout(Ne),Ne=null)}function Je(){Ve&&(clearTimeout(Ve),Ve=null)}function Ie(ut,pt,vt){if(Je(),!be){console.warn("[urllib:warn] [%s] [%s] [worker:%s] %s %s callback twice!!!",Date(),Pe,ce.pid,Le.method,fe),ut&&console.warn(`[urllib:warn] [%s] [%s] [worker:%s] %s: %s
|
|
|
stack: %s`,Date(),Pe,ce.pid,ut.name,ut.message,ut.stack);return}var mt=be;be=null;var bt={};vt&&(Be=vt.statusCode,bt=vt.headers);var _t=Date.now()-Ae;at&&(at.contentDownload=_t),te("[%sms] done, %s bytes HTTP %s %s %s %s, keepAliveSocket: %s, timing: %j",_t,Ue,Be,Le.method,Le.host,Le.path,Ye,at);var Mt={status:Be,statusCode:Be,headers:bt,size:Ue,aborted:Ze,rt:_t,keepAliveSocket:Ye,data:pt,requestUrls:me.requestUrls,timing:at,remoteAddress:Te,remotePort:He};if(ut){var yt="";Oe&&typeof Oe.getCurrentStatus=="function"&&(yt=", agent status: "+JSON.stringify(Oe.getCurrentStatus())),ut.message+=", "+Le.method+" "+fe+" "+Be+" (connected: "+rt+", keepalive socket: "+Ye+yt+`)
|
|
|
headers: `+JSON.stringify(bt),ut.data=pt,ut.path=Le.path,ut.status=Be,ut.headers=bt,ut.res=Mt}mt(ut,pt,me.streaming?vt:Mt),me.emitter&&(Ee.url=fe,Ee.socket=it&&it.connection,Ee.options=Le,Ee.size=ze,me.emitter.emit("response",{requestId:Pe,error:ut,ctx:me.ctx,req:Ee,res:Mt}))}function xe(ut){var pt=null;if(me.followRedirect&&statuses.redirect[ut.statusCode]){me._followRedirectCount=(me._followRedirectCount||0)+1;var vt=ut.headers.location;if(!vt)pt=new Error("Got statusCode "+ut.statusCode+" but cannot resolve next location from headers"),pt.name="FollowRedirectError";else if(me._followRedirectCount>me.maxRedirects)pt=new Error("Exceeded maxRedirects. Probably stuck in a redirect loop "+fe),pt.name="MaxRedirectError";else{var mt=me.formatRedirectUrl?me.formatRedirectUrl(fe,vt):ae.resolve(fe,vt);te("Request#%d %s: `redirected` from %s to %s",Pe,Le.path,fe,mt),Je(),me.headers&&me.headers.Host&&b.test(vt)&&(me.headers.Host=null);var bt=be;return be=null,he.requestWithCallback(mt,me,bt),{redirect:!0,error:null}}}return{redirect:!1,error:pt}}me.gzip&&!Le.headers["Accept-Encoding"]&&!Le.headers["accept-encoding"]&&(Le.headers["Accept-Encoding"]="gzip");function De(ut,pt,vt){var mt=ut.headers["content-encoding"];return vt(null,pt,mt)}var Re=me.writeStream;te("Request#%d %s %s with headers %j, options.path: %s",Pe,_e,fe,Le.headers,Le.path),me.requestUrls.push(fe);function Xe(ut){if(at&&(at.waiting=Date.now()-Ae),te("Request#%d %s `req response` event emit: status %d, headers: %j",Pe,fe,ut.statusCode,ut.headers),me.streaming){var pt=xe(ut);if(pt.redirect){ut.resume();return}return pt.error?(ut.resume(),Ie(pt.error,null,ut)):Ie(null,null,ut)}if(ut.on("close",function(){te("Request#%d %s: `res close` event emit, total size %d",Pe,fe,Ue)}),ut.on("error",function(){te("Request#%d %s: `res error` event emit, total size %d",Pe,fe,Ue)}),ut.on("aborted",function(){Ze=!0,te("Request#%d %s: `res aborted` event emit, total size %d",Pe,fe,Ue)}),Re){var vt=xe(ut);if(vt.redirect){ut.resume();return}return vt.error?(ut.resume(),Re.end(),Ie(vt.error,null,ut)):(me.consumeWriteStream===!1?ut.on("end",Ie.bind(null,null,null,ut)):Re.on("close",function(){te("Request#%d %s: writeStream close event emitted",Pe,fe),Ie(qe||null,null,ut)}),ut.pipe(Re))}var mt=[];ut.on("data",function(bt){te("Request#%d %s: `res data` event emit, size %d",Pe,fe,bt.length),Ue+=bt.length,mt.push(bt)}),ut.on("end",function(){var bt=oe.concat(mt,Ue);if(te("Request#%d %s: `res end` event emit, total size %d, _dumped: %s",Pe,fe,Ue,ut._dumped),qe)return Ie(qe,bt,ut);var _t=xe(ut);if(_t.error)return Ie(_t.error,bt,ut);_t.redirect||De(ut,bt,function(Mt,yt,wt){if(Mt)return Ie(Mt,bt,ut);if(!wt&&de.indexOf(me.dataType)>=0){try{yt=decodeBodyByCharset(yt,ut)}catch(un){return te("decodeBodyByCharset error: %s",un),Ie(null,yt,ut)}if(me.dataType==="json")if(Ue===0)yt=null;else{var xt=parseJSON(yt,Fe);xt.error?Mt=xt.error:yt=xt.data}}Ze&&te("Request#%d %s: Remote socket was terminated before `response.end()` was called",Pe,fe),Ie(Mt,yt,ut)})})}var nt,$e;Array.isArray(me.timeout)?(nt=a(me.timeout[0]),$e=a(me.timeout[1])):nt=$e=a(me.timeout),te("ConnectTimeout: %d, ResponseTimeout: %d",nt,$e);function tt(){te("Connect timer ticking, timeout: %d",nt),Ne=setTimeout(function(){Ne=null,Be===-1&&(Be=-2);var ut="Connect timeout for "+nt+"ms",pt="ConnectionTimeoutError";it.socket||(pt="SocketAssignTimeoutError",ut+=", working sockets is full"),qe=new Error(ut),qe.name=pt,qe.requestId=Pe,te("ConnectTimeout: Request#%d %s %s: %s, connected: %s",Pe,fe,qe.name,ut,rt),lt()},nt)}function st(){te("Response timer ticking, timeout: %d",$e),Ve=setTimeout(function(){Ve=null;var ut="Response timeout for "+$e+"ms",pt="ResponseTimeoutError";qe=new Error(ut),qe.name=pt,qe.requestId=Pe,te("ResponseTimeout: Request#%d %s %s: %s, connected: %s",Pe,fe,qe.name,ut,rt),lt()},$e)}var it;Le.mode=me.mode?me.mode:"";try{it=Me.request(Le,Xe)}catch(ut){return Ie(ut)}typeof window=="undefined"?tt():it.on("requestTimeout",function(){Be===-1&&(Be=-2);var ut="Connect timeout for "+nt+"ms",pt="ConnectionTimeoutError";qe=new Error(ut),qe.name=pt,qe.requestId=Pe,lt()});function lt(){te("Request#%d %s abort, connected: %s",Pe,fe,rt),it.socket||(qe.noSocket=!0,Ie(qe)),it.abort()}return at&&it.on("finish",function(){at.requestSent=Date.now()-Ae}),it.once("socket",function(ut){at&&(at.queuing=Date.now()-Ae);var pt=ut.readyState;if(pt==="opening"){ut.once("lookup",function(vt,mt,bt){te("Request#%d %s lookup: %s, %s, %s",Pe,fe,vt,mt,bt),at&&(at.dnslookup=Date.now()-Ae),mt&&(Te=mt)}),ut.once("connect",function(){at&&(at.connected=Date.now()-Ae),et(),st(),te("Request#%d %s new socket connected",Pe,fe),rt=!0,Te||(Te=ut.remoteAddress),He=ut.remotePort});return}te("Request#%d %s reuse socket connected, readyState: %s",Pe,fe,pt),rt=!0,Ye=!0,Te||(Te=ut.remoteAddress),He=ut.remotePort,et(),st()}),it.on("error",function(ut){(ut.name==="Error"||ut.name==="TypeError")&&(ut.name=rt?"ResponseError":"RequestError"),ut.message+=' (req "error")',te("Request#%d %s `req error` event emit, %s: %s",Pe,fe,ut.name,ut.message),Ie(qe||ut)}),Re&&Re.once("error",function(ut){ut.message+=' (writeStream "error")',qe=ut,te("Request#%d %s `writeStream error` event emit, %s: %s",Pe,fe,ut.name,ut.message),lt()}),me.stream?(me.stream.pipe(it),me.stream.once("error",function(ut){ut.message+=' (stream "error")',qe=ut,te("Request#%d %s `readStream error` event emit, %s: %s",Pe,fe,ut.name,ut.message),lt()})):it.end(We),it.requestId=Pe,it}}).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(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ye}});const ye=je=>je?typeof je=="function"?je():je:null},36381:function(ct,ot,Se){"use strict";Se.d(ot,{default:function(){return Be}});var ye=Se(38819),je=Se(92310),E=Se.n(je),pe=Se(92413),he=Se(26407),ce=Se(33606),oe=Se(39559),ie=Se(18929),le=Se(48736),se=Se(59301),ae=Se(37061),re=Se(11592),ne=Se(400),te=Se(77900),a=Se(10228),y=se.forwardRef(function(Ze,Te){var He=Ze.prefixCls,at=Ze.forceRender,et=Ze.className,Je=Ze.style,Ie=Ze.children,xe=Ze.isActive,De=Ze.role,Re=se.useState(xe||at),Xe=(0,ce.Z)(Re,2),nt=Xe[0],$e=Xe[1];return se.useEffect(function(){(at||xe)&&$e(!0)},[at,xe]),nt?se.createElement("div",{ref:Te,className:E()("".concat(He,"-content"),(0,ne.Z)((0,ne.Z)({},"".concat(He,"-content-active"),xe),"".concat(He,"-content-inactive"),!xe),et),style:Je,role:De},se.createElement("div",{className:"".concat(He,"-content-box")},Ie)):null});y.displayName="PanelContent";var x=y,b=["showArrow","headerClass","isActive","onItemClick","forceRender","className","prefixCls","collapsible","accordion","panelKey","extra","header","expandIcon","openMotion","destroyInactivePanel","children"],ee=se.forwardRef(function(Ze,Te){var He=Ze.showArrow,at=He===void 0?!0:He,et=Ze.headerClass,Je=Ze.isActive,Ie=Ze.onItemClick,xe=Ze.forceRender,De=Ze.className,Re=Ze.prefixCls,Xe=Ze.collapsible,nt=Ze.accordion,$e=Ze.panelKey,tt=Ze.extra,st=Ze.header,it=Ze.expandIcon,lt=Ze.openMotion,ut=Ze.destroyInactivePanel,pt=Ze.children,vt=(0,ae.Z)(Ze,b),mt=Xe==="disabled",bt=Xe==="header",_t=Xe==="icon",Mt=tt!=null&&typeof tt!="boolean",yt=function(){Ie==null||Ie($e)},wt=function(en){(en.key==="Enter"||en.keyCode===a.Z.ENTER||en.which===a.Z.ENTER)&&yt()},xt=typeof it=="function"?it(Ze):se.createElement("i",{className:"arrow"});xt&&(xt=se.createElement("div",{className:"".concat(Re,"-expand-icon"),onClick:["header","icon"].includes(Xe)?yt:void 0},xt));var un=E()((0,ne.Z)((0,ne.Z)((0,ne.Z)({},"".concat(Re,"-item"),!0),"".concat(Re,"-item-active"),Je),"".concat(Re,"-item-disabled"),mt),De),Vt=E()(et,(0,ne.Z)((0,ne.Z)((0,ne.Z)({},"".concat(Re,"-header"),!0),"".concat(Re,"-header-collapsible-only"),bt),"".concat(Re,"-icon-collapsible-only"),_t)),sn={className:Vt,"aria-expanded":Je,"aria-disabled":mt,onKeyDown:wt};return!bt&&!_t&&(sn.onClick=yt,sn.role=nt?"tab":"button",sn.tabIndex=mt?-1:0),se.createElement("div",(0,pe.Z)({},vt,{ref:Te,className:un}),se.createElement("div",sn,at&&xt,se.createElement("span",{className:"".concat(Re,"-header-text"),onClick:Xe==="header"?yt:void 0},st),Mt&&se.createElement("div",{className:"".concat(Re,"-extra")},tt)),se.createElement(te.default,(0,pe.Z)({visible:Je,leavedClassName:"".concat(Re,"-content-hidden")},lt,{forceRender:xe,removeOnLeave:ut}),function(Zt,en){var Ht=Zt.className,ln=Zt.style;return se.createElement(x,{ref:en,prefixCls:Re,className:Ht,style:ln,isActive:Je,forceRender:xe,role:nt?"tabpanel":void 0},pt)}))}),z=ee,ue=["children","label","key","collapsible","onItemClick","destroyInactivePanel"],de=function(Te,He){var at=He.prefixCls,et=He.accordion,Je=He.collapsible,Ie=He.destroyInactivePanel,xe=He.onItemClick,De=He.activeKey,Re=He.openMotion,Xe=He.expandIcon;return Te.map(function(nt,$e){var tt=nt.children,st=nt.label,it=nt.key,lt=nt.collapsible,ut=nt.onItemClick,pt=nt.destroyInactivePanel,vt=(0,ae.Z)(nt,ue),mt=String(it!=null?it:$e),bt=lt!=null?lt:Je,_t=pt!=null?pt:Ie,Mt=function(xt){bt!=="disabled"&&(xe(xt),ut==null||ut(xt))},yt=!1;return et?yt=De[0]===mt:yt=De.indexOf(mt)>-1,se.createElement(z,(0,pe.Z)({},vt,{prefixCls:at,key:mt,panelKey:mt,isActive:yt,accordion:et,openMotion:Re,expandIcon:Xe,header:st,collapsible:bt,onItemClick:Mt,destroyInactivePanel:_t}),tt)})},ge=function(Te,He,at){if(!Te)return null;var et=at.prefixCls,Je=at.accordion,Ie=at.collapsible,xe=at.destroyInactivePanel,De=at.onItemClick,Re=at.activeKey,Xe=at.openMotion,nt=at.expandIcon,$e=Te.key||String(He),tt=Te.props,st=tt.header,it=tt.headerClass,lt=tt.destroyInactivePanel,ut=tt.collapsible,pt=tt.onItemClick,vt=!1;Je?vt=Re[0]===$e:vt=Re.indexOf($e)>-1;var mt=ut!=null?ut:Ie,bt=function(yt){mt!=="disabled"&&(De(yt),pt==null||pt(yt))},_t={key:$e,panelKey:$e,header:st,headerClass:it,isActive:vt,prefixCls:et,destroyInactivePanel:lt!=null?lt:xe,openMotion:Xe,accordion:Je,children:Te.props.children,onItemClick:bt,expandIcon:nt,collapsible:mt};return typeof Te.type=="string"?Te:(Object.keys(_t).forEach(function(Mt){typeof _t[Mt]=="undefined"&&delete _t[Mt]}),se.cloneElement(Te,_t))};function fe(Ze,Te,He){return Array.isArray(Ze)?de(Ze,He):(0,re.Z)(Te).map(function(at,et){return ge(at,et,He)})}var me=fe,be=Se(26112);function ve(Ze){var Te=Ze;if(!Array.isArray(Te)){var He=(0,oe.Z)(Te);Te=He==="number"||He==="string"?[Te]:[]}return Te.map(function(at){return String(at)})}var Pe=se.forwardRef(function(Ze,Te){var He=Ze.prefixCls,at=He===void 0?"rc-collapse":He,et=Ze.destroyInactivePanel,Je=et===void 0?!1:et,Ie=Ze.style,xe=Ze.accordion,De=Ze.className,Re=Ze.children,Xe=Ze.collapsible,nt=Ze.openMotion,$e=Ze.expandIcon,tt=Ze.activeKey,st=Ze.defaultActiveKey,it=Ze.onChange,lt=Ze.items,ut=E()(at,De),pt=(0,ie.Z)([],{value:tt,onChange:function(wt){return it==null?void 0:it(wt)},defaultValue:st,postState:ve}),vt=(0,ce.Z)(pt,2),mt=vt[0],bt=vt[1],_t=function(wt){return bt(function(){if(xe)return mt[0]===wt?[]:[wt];var xt=mt.indexOf(wt),un=xt>-1;return un?mt.filter(function(Vt){return Vt!==wt}):[].concat((0,he.Z)(mt),[wt])})};(0,le.ZP)(!Re,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");var Mt=me(lt,Re,{prefixCls:at,accordion:xe,openMotion:nt,expandIcon:$e,collapsible:Xe,destroyInactivePanel:Je,onItemClick:_t,activeKey:mt});return se.createElement("div",(0,pe.Z)({ref:Te,className:ut,style:Ie,role:xe?"tablist":void 0},(0,be.Z)(Ze,{aria:!0,data:!0})),Mt)}),Ee=Object.assign(Pe,{Panel:z}),Ae=Ee,Ce=Ee.Panel,_e=Se(2738),we=Se(62892),Me=Se(92343),Oe=Se(36355),Fe=Se(19716),Qe=se.forwardRef((Ze,Te)=>{const{getPrefixCls:He}=se.useContext(Oe.E_),{prefixCls:at,className:et,showArrow:Je=!0}=Ze,Ie=He("collapse",at),xe=E()({[`${Ie}-no-arrow`]:!Je},et);return se.createElement(Ae.Panel,Object.assign({ref:Te},Ze,{prefixCls:Ie,className:xe}))}),We=Se(17313),Ge=Se(8378),Ke=Se(83116),ze=Se(37613);const ke=Ze=>{const{componentCls:Te,contentBg:He,padding:at,headerBg:et,headerPadding:Je,collapseHeaderPaddingSM:Ie,collapseHeaderPaddingLG:xe,collapsePanelBorderRadius:De,lineWidth:Re,lineType:Xe,colorBorder:nt,colorText:$e,colorTextHeading:tt,colorTextDisabled:st,fontSize:it,fontSizeLG:lt,lineHeight:ut,marginSM:pt,paddingSM:vt,paddingLG:mt,paddingXS:bt,motionDurationSlow:_t,fontSizeIcon:Mt,contentPadding:yt}=Ze,wt=`${Re}px ${Xe} ${nt}`;return{[Te]:Object.assign(Object.assign({},(0,We.Wf)(Ze)),{backgroundColor:et,border:wt,borderBottom:0,borderRadius:`${De}px`,"&-rtl":{direction:"rtl"},[`& > ${Te}-item`]:{borderBottom:wt,"&:last-child":{[`
|
|
|
&,
|
|
|
& > ${Te}-header`]:{borderRadius:`0 0 ${De}px ${De}px`}},[`> ${Te}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:Je,color:tt,lineHeight:ut,cursor:"pointer",transition:`all ${_t}, visibility 0s`,[`> ${Te}-header-text`]:{flex:"auto"},"&:focus":{outline:"none"},[`${Te}-expand-icon`]:{height:it*ut,display:"flex",alignItems:"center",paddingInlineEnd:pt},[`${Te}-arrow`]:Object.assign(Object.assign({},(0,We.Ro)()),{fontSize:Mt,svg:{transition:`transform ${_t}`}}),[`${Te}-header-text`]:{marginInlineEnd:"auto"}},[`${Te}-header-collapsible-only`]:{cursor:"default",[`${Te}-header-text`]:{flex:"none",cursor:"pointer"}},[`${Te}-icon-collapsible-only`]:{cursor:"default",[`${Te}-expand-icon`]:{cursor:"pointer"}}},[`${Te}-content`]:{color:$e,backgroundColor:He,borderTop:wt,[`& > ${Te}-content-box`]:{padding:yt},"&-hidden":{display:"none"}},"&-small":{[`> ${Te}-item`]:{[`> ${Te}-header`]:{padding:Ie,paddingInlineStart:bt,[`> ${Te}-expand-icon`]:{marginInlineStart:vt-bt}},[`> ${Te}-content > ${Te}-content-box`]:{padding:vt}}},"&-large":{[`> ${Te}-item`]:{fontSize:lt,[`> ${Te}-header`]:{padding:xe,paddingInlineStart:at,[`> ${Te}-expand-icon`]:{height:lt*ut,marginInlineStart:mt-at}},[`> ${Te}-content > ${Te}-content-box`]:{padding:mt}}},[`${Te}-item:last-child`]:{[`> ${Te}-content`]:{borderRadius:`0 0 ${De}px ${De}px`}},[`& ${Te}-item-disabled > ${Te}-header`]:{"\n &,\n & > .arrow\n ":{color:st,cursor:"not-allowed"}},[`&${Te}-icon-position-end`]:{[`& > ${Te}-item`]:{[`> ${Te}-header`]:{[`${Te}-expand-icon`]:{order:1,paddingInlineEnd:0,paddingInlineStart:pt}}}}})}},Ne=Ze=>{const{componentCls:Te}=Ze,He=`> ${Te}-item > ${Te}-header ${Te}-arrow svg`;return{[`${Te}-rtl`]:{[He]:{transform:"rotate(180deg)"}}}},Ve=Ze=>{const{componentCls:Te,headerBg:He,paddingXXS:at,colorBorder:et}=Ze;return{[`${Te}-borderless`]:{backgroundColor:He,border:0,[`> ${Te}-item`]:{borderBottom:`1px solid ${et}`},[`
|
|
|
> ${Te}-item:last-child,
|
|
|
> ${Te}-item:last-child ${Te}-header
|
|
|
`]:{borderRadius:0},[`> ${Te}-item:last-child`]:{borderBottom:0},[`> ${Te}-item > ${Te}-content`]:{backgroundColor:"transparent",borderTop:0},[`> ${Te}-item > ${Te}-content > ${Te}-content-box`]:{paddingTop:at}}}},qe=Ze=>{const{componentCls:Te,paddingSM:He}=Ze;return{[`${Te}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${Te}-item`]:{borderBottom:0,[`> ${Te}-content`]:{backgroundColor:"transparent",border:0,[`> ${Te}-content-box`]:{paddingBlock:He}}}}}};var rt=(0,Ke.Z)("Collapse",Ze=>{const Te=(0,ze.TS)(Ze,{collapseHeaderPaddingSM:`${Ze.paddingXS}px ${Ze.paddingSM}px`,collapseHeaderPaddingLG:`${Ze.padding}px ${Ze.paddingLG}px`,collapsePanelBorderRadius:Ze.borderRadiusLG});return[ke(Te),Ve(Te),qe(Te),Ne(Te),(0,Ge.Z)(Te)]},Ze=>({headerPadding:`${Ze.paddingSM}px ${Ze.padding}px`,headerBg:Ze.colorFillAlter,contentPadding:`${Ze.padding}px 16px`,contentBg:Ze.colorBgContainer})),Ue=Object.assign(se.forwardRef((Ze,Te)=>{const{getPrefixCls:He,direction:at,collapse:et}=se.useContext(Oe.E_),{prefixCls:Je,className:Ie,rootClassName:xe,style:De,bordered:Re=!0,ghost:Xe,size:nt,expandIconPosition:$e="start",children:tt,expandIcon:st}=Ze,it=(0,Fe.Z)(wt=>{var xt;return(xt=nt!=null?nt:wt)!==null&&xt!==void 0?xt:"middle"}),lt=He("collapse",Je),ut=He(),[pt,vt]=rt(lt),mt=se.useMemo(()=>$e==="left"?"start":$e==="right"?"end":$e,[$e]),bt=function(){let wt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const xt=st?st(wt):se.createElement(ye.Z,{rotate:wt.isActive?90:void 0});return(0,Me.Tm)(xt,()=>({className:E()(xt.props.className,`${lt}-arrow`)}))},_t=E()(`${lt}-icon-position-${mt}`,{[`${lt}-borderless`]:!Re,[`${lt}-rtl`]:at==="rtl",[`${lt}-ghost`]:!!Xe,[`${lt}-${it}`]:it!=="middle"},et==null?void 0:et.className,Ie,xe,vt),Mt=Object.assign(Object.assign({},(0,we.Z)(ut)),{motionAppear:!1,leavedClassName:`${lt}-content-hidden`}),yt=se.useMemo(()=>tt?(0,re.Z)(tt).map((wt,xt)=>{var un,Vt;if(!((un=wt.props)===null||un===void 0)&&un.disabled){const sn=(Vt=wt.key)!==null&&Vt!==void 0?Vt:String(xt),{disabled:Zt,collapsible:en}=wt.props,Ht=Object.assign(Object.assign({},(0,_e.Z)(wt.props,["disabled"])),{key:sn,collapsible:en!=null?en:Zt?"disabled":void 0});return(0,Me.Tm)(wt,Ht)}return wt}):null,[tt]);return pt(se.createElement(Ae,Object.assign({ref:Te,openMotion:Mt},(0,_e.Z)(Ze,["rootClassName"]),{expandIcon:bt,prefixCls:lt,className:_t,style:Object.assign(Object.assign({},et==null?void 0:et.style),De)}),yt))}),{Panel:Qe}),Be=Ue},28103:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return re}});var ye=Se(92310),je=Se.n(ye),E=Se(59301),pe=Se(36355),he=Se(17313),ce=Se(83116),oe=Se(37613);const ie=ne=>{const{componentCls:te,sizePaddingEdgeHorizontal:a,colorSplit:y,lineWidth:x,textPaddingInline:b,orientationMargin:ee,verticalMarginInline:z}=ne;return{[te]:Object.assign(Object.assign({},(0,he.Wf)(ne)),{borderBlockStart:`${x}px solid ${y}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${y}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${ne.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${te}-with-text`]:{display:"flex",alignItems:"center",margin:`${ne.dividerHorizontalWithTextGutterMargin}px 0`,color:ne.colorTextHeading,fontWeight:500,fontSize:ne.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${y}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${te}-with-text-left`]:{"&::before":{width:`${ee*100}%`},"&::after":{width:`${100-ee*100}%`}},[`&-horizontal${te}-with-text-right`]:{"&::before":{width:`${100-ee*100}%`},"&::after":{width:`${ee*100}%`}},[`${te}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:y,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${te}-with-text${te}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${te}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${te}-with-text`]:{color:ne.colorText,fontWeight:"normal",fontSize:ne.fontSize},[`&-horizontal${te}-with-text-left${te}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${te}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${te}-with-text-right${te}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${te}-inner-text`]:{paddingInlineEnd:a}}})}};var le=(0,ce.Z)("Divider",ne=>{const te=(0,oe.TS)(ne,{dividerHorizontalWithTextGutterMargin:ne.margin,dividerHorizontalGutterMargin:ne.marginLG,sizePaddingEdgeHorizontal:0});return[ie(te)]},ne=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:ne.marginXS})),se=function(ne,te){var a={};for(var y in ne)Object.prototype.hasOwnProperty.call(ne,y)&&te.indexOf(y)<0&&(a[y]=ne[y]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,y=Object.getOwnPropertySymbols(ne);x<y.length;x++)te.indexOf(y[x])<0&&Object.prototype.propertyIsEnumerable.call(ne,y[x])&&(a[y[x]]=ne[y[x]]);return a},re=ne=>{const{getPrefixCls:te,direction:a,divider:y}=E.useContext(pe.E_),{prefixCls:x,type:b="horizontal",orientation:ee="center",orientationMargin:z,className:ue,rootClassName:de,children:ge,dashed:fe,plain:me,style:be}=ne,ve=se(ne,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),Pe=te("divider",x),[Ee,Ae]=le(Pe),Ce=ee.length>0?`-${ee}`:ee,_e=!!ge,we=ee==="left"&&z!=null,Me=ee==="right"&&z!=null,Oe=je()(Pe,y==null?void 0:y.className,Ae,`${Pe}-${b}`,{[`${Pe}-with-text`]:_e,[`${Pe}-with-text${Ce}`]:_e,[`${Pe}-dashed`]:!!fe,[`${Pe}-plain`]:!!me,[`${Pe}-rtl`]:a==="rtl",[`${Pe}-no-default-orientation-margin-left`]:we,[`${Pe}-no-default-orientation-margin-right`]:Me},ue,de),Fe=E.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),Le=Object.assign(Object.assign({},we&&{marginLeft:Fe}),Me&&{marginRight:Fe});return Ee(E.createElement("div",Object.assign({className:Oe,style:Object.assign(Object.assign({},y==null?void 0:y.style),be)},ve,{role:"separator"}),ge&&b!=="vertical"&&E.createElement("span",{className:`${Pe}-inner-text`,style:Le},ge)))}},39722:function(ct,ot,Se){"use strict";Se.d(ot,{t5:function(){return se}});var ye=Se(92310),je=Se.n(ye),E=Se(55477),pe=Se(59301),he=Se(36355),ce=Se(77578),oe=Se(17356),ie=function(re,ne){var te={};for(var a in re)Object.prototype.hasOwnProperty.call(re,a)&&ne.indexOf(a)<0&&(te[a]=re[a]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(re);y<a.length;y++)ne.indexOf(a[y])<0&&Object.prototype.propertyIsEnumerable.call(re,a[y])&&(te[a[y]]=re[a[y]]);return te};const le=(re,ne,te)=>{if(!(!ne&&!te))return pe.createElement(pe.Fragment,null,ne&&pe.createElement("div",{className:`${re}-title`},(0,ce.Z)(ne)),pe.createElement("div",{className:`${re}-inner-content`},(0,ce.Z)(te)))},se=re=>{const{hashId:ne,prefixCls:te,className:a,style:y,placement:x="top",title:b,content:ee,children:z}=re;return pe.createElement("div",{className:je()(ne,te,`${te}-pure`,`${te}-placement-${x}`,a),style:y},pe.createElement("div",{className:`${te}-arrow`}),pe.createElement(E.G,Object.assign({},re,{className:ne,prefixCls:te}),z||le(te,b,ee)))},ae=re=>{const{prefixCls:ne}=re,te=ie(re,["prefixCls"]),{getPrefixCls:a}=pe.useContext(he.E_),y=a("popover",ne),[x,b]=(0,oe.Z)(y);return x(pe.createElement(se,Object.assign({},te,{prefixCls:y,hashId:b})))};ot.ZP=ae},17356:function(ct,ot,Se){"use strict";var ye=Se(17313),je=Se(29878),E=Se(19447),pe=Se(33166),he=Se(83116),ce=Se(37613);const oe=se=>{const{componentCls:ae,popoverColor:re,minWidth:ne,fontWeightStrong:te,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:x,borderRadiusLG:b,zIndexPopup:ee,marginXS:z,colorBgElevated:ue,popoverBg:de}=se;return[{[ae]:Object.assign(Object.assign({},(0,ye.Wf)(se)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ee,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ue,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ae}-content`]:{position:"relative"},[`${ae}-inner`]:{backgroundColor:de,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${ae}-title`]:{minWidth:ne,marginBottom:z,color:x,fontWeight:te},[`${ae}-inner-content`]:{color:re}})},(0,E.ZP)(se,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ae}-pure`]:{position:"relative",maxWidth:"none",margin:se.sizePopupArrow,display:"inline-block",[`${ae}-content`]:{display:"inline-block"}}}]},ie=se=>{const{componentCls:ae}=se;return{[ae]:pe.i.map(re=>{const ne=se[`${re}6`];return{[`&${ae}-${re}`]:{"--antd-arrow-background-color":ne,[`${ae}-inner`]:{backgroundColor:ne},[`${ae}-arrow`]:{background:"transparent"}}}})}},le=se=>{const{componentCls:ae,lineWidth:re,lineType:ne,colorSplit:te,paddingSM:a,controlHeight:y,fontSize:x,lineHeight:b,padding:ee}=se,z=y-Math.round(x*b),ue=z/2,de=z/2-re,ge=ee;return{[ae]:{[`${ae}-inner`]:{padding:0},[`${ae}-title`]:{margin:0,padding:`${ue}px ${ge}px ${de}px`,borderBottom:`${re}px ${ne} ${te}`},[`${ae}-inner-content`]:{padding:`${a}px ${ge}px`}}}};ot.Z=(0,he.Z)("Popover",se=>{const{colorBgElevated:ae,colorText:re,wireframe:ne}=se,te=(0,ce.TS)(se,{popoverPadding:12,popoverBg:ae,popoverColor:re});return[oe(te),ie(te),ne&&le(te),(0,je._y)(te,"zoom-big")]},se=>({width:177,minWidth:177,zIndexPopup:se.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},61621:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return at}});var ye=Se(92310),je=Se.n(ye),E=Se(59301),pe=Se(36355),he=Se(2738),oe=et=>{const{prefixCls:Je,className:Ie,style:xe,size:De,shape:Re}=et,Xe=je()({[`${Je}-lg`]:De==="large",[`${Je}-sm`]:De==="small"}),nt=je()({[`${Je}-circle`]:Re==="circle",[`${Je}-square`]:Re==="square",[`${Je}-round`]:Re==="round"}),$e=E.useMemo(()=>typeof De=="number"?{width:De,height:De,lineHeight:`${De}px`}:{},[De]);return E.createElement("span",{className:je()(Je,Xe,nt,Ie),style:Object.assign(Object.assign({},$e),xe)})},ie=Se(93083),le=Se(83116),se=Se(37613);const ae=new ie.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),re=et=>({height:et,lineHeight:`${et}px`}),ne=et=>Object.assign({width:et},re(et)),te=et=>({background:et.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ae,animationDuration:et.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=et=>Object.assign({width:et*5,minWidth:et*5},re(et)),y=et=>{const{skeletonAvatarCls:Je,gradientFromColor:Ie,controlHeight:xe,controlHeightLG:De,controlHeightSM:Re}=et;return{[`${Je}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ie},ne(xe)),[`${Je}${Je}-circle`]:{borderRadius:"50%"},[`${Je}${Je}-lg`]:Object.assign({},ne(De)),[`${Je}${Je}-sm`]:Object.assign({},ne(Re))}},x=et=>{const{controlHeight:Je,borderRadiusSM:Ie,skeletonInputCls:xe,controlHeightLG:De,controlHeightSM:Re,gradientFromColor:Xe}=et;return{[`${xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Xe,borderRadius:Ie},a(Je)),[`${xe}-lg`]:Object.assign({},a(De)),[`${xe}-sm`]:Object.assign({},a(Re))}},b=et=>Object.assign({width:et},re(et)),ee=et=>{const{skeletonImageCls:Je,imageSizeBase:Ie,gradientFromColor:xe,borderRadiusSM:De}=et;return{[`${Je}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:xe,borderRadius:De},b(Ie*2)),{[`${Je}-path`]:{fill:"#bfbfbf"},[`${Je}-svg`]:Object.assign(Object.assign({},b(Ie)),{maxWidth:Ie*4,maxHeight:Ie*4}),[`${Je}-svg${Je}-svg-circle`]:{borderRadius:"50%"}}),[`${Je}${Je}-circle`]:{borderRadius:"50%"}}},z=(et,Je,Ie)=>{const{skeletonButtonCls:xe}=et;return{[`${Ie}${xe}-circle`]:{width:Je,minWidth:Je,borderRadius:"50%"},[`${Ie}${xe}-round`]:{borderRadius:Je}}},ue=et=>Object.assign({width:et*2,minWidth:et*2},re(et)),de=et=>{const{borderRadiusSM:Je,skeletonButtonCls:Ie,controlHeight:xe,controlHeightLG:De,controlHeightSM:Re,gradientFromColor:Xe}=et;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Ie}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Xe,borderRadius:Je,width:xe*2,minWidth:xe*2},ue(xe))},z(et,xe,Ie)),{[`${Ie}-lg`]:Object.assign({},ue(De))}),z(et,De,`${Ie}-lg`)),{[`${Ie}-sm`]:Object.assign({},ue(Re))}),z(et,Re,`${Ie}-sm`))},ge=et=>{const{componentCls:Je,skeletonAvatarCls:Ie,skeletonTitleCls:xe,skeletonParagraphCls:De,skeletonButtonCls:Re,skeletonInputCls:Xe,skeletonImageCls:nt,controlHeight:$e,controlHeightLG:tt,controlHeightSM:st,gradientFromColor:it,padding:lt,marginSM:ut,borderRadius:pt,titleHeight:vt,blockRadius:mt,paragraphLiHeight:bt,controlHeightXS:_t,paragraphMarginTop:Mt}=et;return{[`${Je}`]:{display:"table",width:"100%",[`${Je}-header`]:{display:"table-cell",paddingInlineEnd:lt,verticalAlign:"top",[`${Ie}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:it},ne($e)),[`${Ie}-circle`]:{borderRadius:"50%"},[`${Ie}-lg`]:Object.assign({},ne(tt)),[`${Ie}-sm`]:Object.assign({},ne(st))},[`${Je}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${xe}`]:{width:"100%",height:vt,background:it,borderRadius:mt,[`+ ${De}`]:{marginBlockStart:st}},[`${De}`]:{padding:0,"> li":{width:"100%",height:bt,listStyle:"none",background:it,borderRadius:mt,"+ li":{marginBlockStart:_t}}},[`${De}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Je}-content`]:{[`${xe}, ${De} > li`]:{borderRadius:pt}}},[`${Je}-with-avatar ${Je}-content`]:{[`${xe}`]:{marginBlockStart:ut,[`+ ${De}`]:{marginBlockStart:Mt}}},[`${Je}${Je}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},de(et)),y(et)),x(et)),ee(et)),[`${Je}${Je}-block`]:{width:"100%",[`${Re}`]:{width:"100%"},[`${Xe}`]:{width:"100%"}},[`${Je}${Je}-active`]:{[`
|
|
|
${xe},
|
|
|
${De} > li,
|
|
|
${Ie},
|
|
|
${Re},
|
|
|
${Xe},
|
|
|
${nt}
|
|
|
`]:Object.assign({},te(et))}}};var fe=(0,le.Z)("Skeleton",et=>{const{componentCls:Je}=et,Ie=(0,se.TS)(et,{skeletonAvatarCls:`${Je}-avatar`,skeletonTitleCls:`${Je}-title`,skeletonParagraphCls:`${Je}-paragraph`,skeletonButtonCls:`${Je}-button`,skeletonInputCls:`${Je}-input`,skeletonImageCls:`${Je}-image`,imageSizeBase:et.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${et.gradientFromColor} 25%, ${et.gradientToColor} 37%, ${et.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ge(Ie)]},et=>{const{colorFillContent:Je,colorFill:Ie}=et,xe=Je,De=Ie;return{color:xe,colorGradientEnd:De,gradientFromColor:xe,gradientToColor:De,titleHeight:et.controlHeight/2,blockRadius:et.borderRadiusSM,paragraphMarginTop:et.marginLG+et.marginXXS,paragraphLiHeight:et.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),be=et=>{const{prefixCls:Je,className:Ie,rootClassName:xe,active:De,shape:Re="circle",size:Xe="default"}=et,{getPrefixCls:nt}=E.useContext(pe.E_),$e=nt("skeleton",Je),[tt,st]=fe($e),it=(0,he.Z)(et,["prefixCls","className"]),lt=je()($e,`${$e}-element`,{[`${$e}-active`]:De},Ie,xe,st);return tt(E.createElement("div",{className:lt},E.createElement(oe,Object.assign({prefixCls:`${$e}-avatar`,shape:Re,size:Xe},it))))},Pe=et=>{const{prefixCls:Je,className:Ie,rootClassName:xe,active:De,block:Re=!1,size:Xe="default"}=et,{getPrefixCls:nt}=E.useContext(pe.E_),$e=nt("skeleton",Je),[tt,st]=fe($e),it=(0,he.Z)(et,["prefixCls"]),lt=je()($e,`${$e}-element`,{[`${$e}-active`]:De,[`${$e}-block`]:Re},Ie,xe,st);return tt(E.createElement("div",{className:lt},E.createElement(oe,Object.assign({prefixCls:`${$e}-button`,size:Xe},it))))};const Ee="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Ce=et=>{const{prefixCls:Je,className:Ie,rootClassName:xe,style:De,active:Re}=et,{getPrefixCls:Xe}=E.useContext(pe.E_),nt=Xe("skeleton",Je),[$e,tt]=fe(nt),st=je()(nt,`${nt}-element`,{[`${nt}-active`]:Re},Ie,xe,tt);return $e(E.createElement("div",{className:st},E.createElement("div",{className:je()(`${nt}-image`,Ie),style:De},E.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${nt}-image-svg`},E.createElement("path",{d:Ee,className:`${nt}-image-path`})))))},we=et=>{const{prefixCls:Je,className:Ie,rootClassName:xe,active:De,block:Re,size:Xe="default"}=et,{getPrefixCls:nt}=E.useContext(pe.E_),$e=nt("skeleton",Je),[tt,st]=fe($e),it=(0,he.Z)(et,["prefixCls"]),lt=je()($e,`${$e}-element`,{[`${$e}-active`]:De,[`${$e}-block`]:Re},Ie,xe,st);return tt(E.createElement("div",{className:lt},E.createElement(oe,Object.assign({prefixCls:`${$e}-input`,size:Xe},it))))},Me=Se(92413),Oe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Fe=Oe,Le=Se(7657),Qe=function(Je,Ie){return E.createElement(Le.Z,(0,Me.Z)({},Je,{ref:Ie,icon:Fe}))},We=E.forwardRef(Qe),Ge=We,ze=et=>{const{prefixCls:Je,className:Ie,rootClassName:xe,style:De,active:Re,children:Xe}=et,{getPrefixCls:nt}=E.useContext(pe.E_),$e=nt("skeleton",Je),[tt,st]=fe($e),it=je()($e,`${$e}-element`,{[`${$e}-active`]:Re},st,Ie,xe),lt=Xe!=null?Xe:E.createElement(Ge,null);return tt(E.createElement("div",{className:it},E.createElement("div",{className:je()(`${$e}-image`,Ie),style:De},lt)))},ke=Se(26407),Ve=et=>{const Je=nt=>{const{width:$e,rows:tt=2}=et;if(Array.isArray($e))return $e[nt];if(tt-1===nt)return $e},{prefixCls:Ie,className:xe,style:De,rows:Re}=et,Xe=(0,ke.Z)(Array(Re)).map((nt,$e)=>E.createElement("li",{key:$e,style:{width:Je($e)}}));return E.createElement("ul",{className:je()(Ie,xe),style:De},Xe)},rt=et=>{let{prefixCls:Je,className:Ie,width:xe,style:De}=et;return E.createElement("h3",{className:je()(Je,Ie),style:Object.assign({width:xe},De)})};function Ye(et){return et&&typeof et=="object"?et:{}}function Ue(et,Je){return et&&!Je?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function Be(et,Je){return!et&&Je?{width:"38%"}:et&&Je?{width:"50%"}:{}}function Ze(et,Je){const Ie={};return(!et||!Je)&&(Ie.width="61%"),!et&&Je?Ie.rows=3:Ie.rows=2,Ie}const Te=et=>{const{prefixCls:Je,loading:Ie,className:xe,rootClassName:De,style:Re,children:Xe,avatar:nt=!1,title:$e=!0,paragraph:tt=!0,active:st,round:it}=et,{getPrefixCls:lt,direction:ut,skeleton:pt}=E.useContext(pe.E_),vt=lt("skeleton",Je),[mt,bt]=fe(vt);if(Ie||!("loading"in et)){const _t=!!nt,Mt=!!$e,yt=!!tt;let wt;if(_t){const Vt=Object.assign(Object.assign({prefixCls:`${vt}-avatar`},Ue(Mt,yt)),Ye(nt));wt=E.createElement("div",{className:`${vt}-header`},E.createElement(oe,Object.assign({},Vt)))}let xt;if(Mt||yt){let Vt;if(Mt){const Zt=Object.assign(Object.assign({prefixCls:`${vt}-title`},Be(_t,yt)),Ye($e));Vt=E.createElement(rt,Object.assign({},Zt))}let sn;if(yt){const Zt=Object.assign(Object.assign({prefixCls:`${vt}-paragraph`},Ze(_t,Mt)),Ye(tt));sn=E.createElement(Ve,Object.assign({},Zt))}xt=E.createElement("div",{className:`${vt}-content`},Vt,sn)}const un=je()(vt,{[`${vt}-with-avatar`]:_t,[`${vt}-active`]:st,[`${vt}-rtl`]:ut==="rtl",[`${vt}-round`]:it},pt==null?void 0:pt.className,xe,De,bt);return mt(E.createElement("div",{className:un,style:Object.assign(Object.assign({},pt==null?void 0:pt.style),Re)},wt,xt))}return typeof Xe!="undefined"?Xe:null};Te.Button=Pe,Te.Avatar=be,Te.Input=we,Te.Image=Ce,Te.Node=ze;var He=Te,at=He},31797:function(ct,ot,Se){"use strict";Se.d(ot,{default:function(){return fe}});var ye=Se(59301),je=Se(56762),E=Se(92343),pe=Se(92310),he=Se.n(pe),ce=Se(36355),oe=Se(61621),le=me=>{const{value:be,formatter:ve,precision:Pe,decimalSeparator:Ee,groupSeparator:Ae="",prefixCls:Ce}=me;let _e;if(typeof ve=="function")_e=ve(be);else{const we=String(be),Me=we.match(/^(-?)(\d*)(\.(\d+))?$/);if(!Me||we==="-")_e=we;else{const Oe=Me[1];let Fe=Me[2]||"0",Le=Me[4]||"";Fe=Fe.replace(/\B(?=(\d{3})+(?!\d))/g,Ae),typeof Pe=="number"&&(Le=Le.padEnd(Pe,"0").slice(0,Pe>0?Pe:0)),Le&&(Le=`${Ee}${Le}`),_e=[ye.createElement("span",{key:"int",className:`${Ce}-content-value-int`},Oe,Fe),Le&&ye.createElement("span",{key:"decimal",className:`${Ce}-content-value-decimal`},Le)]}}return ye.createElement("span",{className:`${Ce}-content-value`},_e)},se=Se(17313),ae=Se(83116),re=Se(37613);const ne=me=>{const{componentCls:be,marginXXS:ve,padding:Pe,colorTextDescription:Ee,titleFontSize:Ae,colorTextHeading:Ce,contentFontSize:_e,fontFamily:we}=me;return{[`${be}`]:Object.assign(Object.assign({},(0,se.Wf)(me)),{[`${be}-title`]:{marginBottom:ve,color:Ee,fontSize:Ae},[`${be}-skeleton`]:{paddingTop:Pe},[`${be}-content`]:{color:Ce,fontSize:_e,fontFamily:we,[`${be}-content-value`]:{display:"inline-block",direction:"ltr"},[`${be}-content-prefix, ${be}-content-suffix`]:{display:"inline-block"},[`${be}-content-prefix`]:{marginInlineEnd:ve},[`${be}-content-suffix`]:{marginInlineStart:ve}}})}};var te=(0,ae.Z)("Statistic",me=>{const be=(0,re.TS)(me,{});return[ne(be)]},me=>{const{fontSizeHeading3:be,fontSize:ve}=me;return{titleFontSize:ve,contentFontSize:be}}),y=me=>{const{prefixCls:be,className:ve,rootClassName:Pe,style:Ee,valueStyle:Ae,value:Ce=0,title:_e,valueRender:we,prefix:Me,suffix:Oe,loading:Fe=!1,onMouseEnter:Le,onMouseLeave:Qe,decimalSeparator:We=".",groupSeparator:Ge=","}=me,{getPrefixCls:Ke,direction:ze,statistic:ke}=ye.useContext(ce.E_),Ne=Ke("statistic",be),[Ve,qe]=te(Ne),rt=ye.createElement(le,Object.assign({decimalSeparator:We,groupSeparator:Ge,prefixCls:Ne},me,{value:Ce})),Ye=he()(Ne,{[`${Ne}-rtl`]:ze==="rtl"},ke==null?void 0:ke.className,ve,Pe,qe);return Ve(ye.createElement("div",{className:Ye,style:Object.assign(Object.assign({},ke==null?void 0:ke.style),Ee),onMouseEnter:Le,onMouseLeave:Qe},_e&&ye.createElement("div",{className:`${Ne}-title`},_e),ye.createElement(oe.Z,{paragraph:!1,loading:Fe,className:`${Ne}-skeleton`},ye.createElement("div",{style:Ae,className:`${Ne}-content`},Me&&ye.createElement("span",{className:`${Ne}-content-prefix`},Me),we?we(rt):rt,Oe&&ye.createElement("span",{className:`${Ne}-content-suffix`},Oe)))))};const x=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(me,be){let ve=me;const Pe=/\[[^\]]*]/g,Ee=(be.match(Pe)||[]).map(we=>we.slice(1,-1)),Ae=be.replace(Pe,"[]"),Ce=x.reduce((we,Me)=>{let[Oe,Fe]=Me;if(we.includes(Oe)){const Le=Math.floor(ve/Fe);return ve-=Le*Fe,we.replace(new RegExp(`${Oe}+`,"g"),Qe=>{const We=Qe.length;return Le.toString().padStart(We,"0")})}return we},Ae);let _e=0;return Ce.replace(Pe,()=>{const we=Ee[_e];return _e+=1,we})}function ee(me,be){const{format:ve=""}=be,Pe=new Date(me).getTime(),Ee=Date.now(),Ae=Math.max(Pe-Ee,0);return b(Ae,ve)}const z=1e3/30;function ue(me){return new Date(me).getTime()}const de=me=>{const{value:be,format:ve="HH:mm:ss",onChange:Pe,onFinish:Ee}=me,Ae=(0,je.Z)(),Ce=ye.useRef(null),_e=()=>{Ee==null||Ee(),Ce.current&&(clearInterval(Ce.current),Ce.current=null)},we=()=>{const Fe=ue(be);Fe>=Date.now()&&(Ce.current=setInterval(()=>{Ae(),Pe==null||Pe(Fe-Date.now()),Fe<Date.now()&&_e()},z))};ye.useEffect(()=>(we(),()=>{Ce.current&&(clearInterval(Ce.current),Ce.current=null)}),[be]);const Me=(Fe,Le)=>ee(Fe,Object.assign(Object.assign({},Le),{format:ve})),Oe=Fe=>(0,E.Tm)(Fe,{title:void 0});return ye.createElement(y,Object.assign({},me,{valueRender:Oe,formatter:Me}))};var ge=ye.memo(de);y.Countdown=ge;var fe=y},12563:function(ct,ot,Se){"use strict";Se.d(ot,{default:function(){return Pe}});var ye=Se(59301),je=Se(99267),E=Se(92310),pe=Se.n(E),he=Se(36785),ce=Se(47729),oe=Se(14088),ie=Se(36355),le=Se(17313),se=Se(37613),ae=Se(83116);const re=Ee=>{const{paddingXXS:Ae,lineWidth:Ce,tagPaddingHorizontal:_e,componentCls:we}=Ee,Me=_e-Ce,Oe=Ae-Ce;return{[we]:Object.assign(Object.assign({},(0,le.Wf)(Ee)),{display:"inline-block",height:"auto",marginInlineEnd:Ee.marginXS,paddingInline:Me,fontSize:Ee.tagFontSize,lineHeight:Ee.tagLineHeight,whiteSpace:"nowrap",background:Ee.defaultBg,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorBorder}`,borderRadius:Ee.borderRadiusSM,opacity:1,transition:`all ${Ee.motionDurationMid}`,textAlign:"start",position:"relative",[`&${we}-rtl`]:{direction:"rtl"},"&, a, a:hover":{color:Ee.defaultColor},[`${we}-close-icon`]:{marginInlineStart:Oe,color:Ee.colorTextDescription,fontSize:Ee.tagIconSize,cursor:"pointer",transition:`all ${Ee.motionDurationMid}`,"&:hover":{color:Ee.colorTextHeading}},[`&${we}-has-color`]:{borderColor:"transparent",[`&, a, a:hover, ${Ee.iconCls}-close, ${Ee.iconCls}-close:hover`]:{color:Ee.colorTextLightSolid}},"&-checkable":{backgroundColor:"transparent",borderColor:"transparent",cursor:"pointer",[`&:not(${we}-checkable-checked):hover`]:{color:Ee.colorPrimary,backgroundColor:Ee.colorFillSecondary},"&:active, &-checked":{color:Ee.colorTextLightSolid},"&-checked":{backgroundColor:Ee.colorPrimary,"&:hover":{backgroundColor:Ee.colorPrimaryHover}},"&:active":{backgroundColor:Ee.colorPrimaryActive}},"&-hidden":{display:"none"},[`> ${Ee.iconCls} + span, > span + ${Ee.iconCls}`]:{marginInlineStart:Me}}),[`${we}-borderless`]:{borderColor:"transparent",background:Ee.tagBorderlessBg}}},ne=Ee=>{const{lineWidth:Ae,fontSizeIcon:Ce}=Ee,_e=Ee.fontSizeSM,we=`${Ee.lineHeightSM*_e}px`;return(0,se.TS)(Ee,{tagFontSize:_e,tagLineHeight:we,tagIconSize:Ce-2*Ae,tagPaddingHorizontal:8,tagBorderlessBg:Ee.colorFillTertiary})},te=Ee=>({defaultBg:Ee.colorFillQuaternary,defaultColor:Ee.colorText});var a=(0,ae.Z)("Tag",Ee=>{const Ae=ne(Ee);return re(Ae)},te),y=function(Ee,Ae){var Ce={};for(var _e in Ee)Object.prototype.hasOwnProperty.call(Ee,_e)&&Ae.indexOf(_e)<0&&(Ce[_e]=Ee[_e]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,_e=Object.getOwnPropertySymbols(Ee);we<_e.length;we++)Ae.indexOf(_e[we])<0&&Object.prototype.propertyIsEnumerable.call(Ee,_e[we])&&(Ce[_e[we]]=Ee[_e[we]]);return Ce},b=Ee=>{const{prefixCls:Ae,style:Ce,className:_e,checked:we,onChange:Me,onClick:Oe}=Ee,Fe=y(Ee,["prefixCls","style","className","checked","onChange","onClick"]),{getPrefixCls:Le,tag:Qe}=ye.useContext(ie.E_),We=Ne=>{Me==null||Me(!we),Oe==null||Oe(Ne)},Ge=Le("tag",Ae),[Ke,ze]=a(Ge),ke=pe()(Ge,`${Ge}-checkable`,{[`${Ge}-checkable-checked`]:we},Qe==null?void 0:Qe.className,_e,ze);return Ke(ye.createElement("span",Object.assign({},Fe,{style:Object.assign(Object.assign({},Ce),Qe==null?void 0:Qe.style),className:ke,onClick:We})))},ee=Se(45157);const z=Ee=>(0,ee.Z)(Ee,(Ae,Ce)=>{let{textColor:_e,lightBorderColor:we,lightColor:Me,darkColor:Oe}=Ce;return{[`${Ee.componentCls}-${Ae}`]:{color:_e,background:Me,borderColor:we,"&-inverse":{color:Ee.colorTextLightSolid,background:Oe,borderColor:Oe},[`&${Ee.componentCls}-borderless`]:{borderColor:"transparent"}}}});var ue=(0,ae.b)(["Tag","preset"],Ee=>{const Ae=ne(Ee);return z(Ae)},te);function de(Ee){return typeof Ee!="string"?Ee:Ee.charAt(0).toUpperCase()+Ee.slice(1)}const ge=(Ee,Ae,Ce)=>{const _e=de(Ce);return{[`${Ee.componentCls}-${Ae}`]:{color:Ee[`color${Ce}`],background:Ee[`color${_e}Bg`],borderColor:Ee[`color${_e}Border`],[`&${Ee.componentCls}-borderless`]:{borderColor:"transparent"}}}};var fe=(0,ae.b)(["Tag","status"],Ee=>{const Ae=ne(Ee);return[ge(Ae,"success","Success"),ge(Ae,"processing","Info"),ge(Ae,"error","Error"),ge(Ae,"warning","Warning")]},te),me=function(Ee,Ae){var Ce={};for(var _e in Ee)Object.prototype.hasOwnProperty.call(Ee,_e)&&Ae.indexOf(_e)<0&&(Ce[_e]=Ee[_e]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,_e=Object.getOwnPropertySymbols(Ee);we<_e.length;we++)Ae.indexOf(_e[we])<0&&Object.prototype.propertyIsEnumerable.call(Ee,_e[we])&&(Ce[_e[we]]=Ee[_e[we]]);return Ce};const be=(Ee,Ae)=>{const{prefixCls:Ce,className:_e,rootClassName:we,style:Me,children:Oe,icon:Fe,color:Le,onClose:Qe,closeIcon:We,closable:Ge,bordered:Ke=!0}=Ee,ze=me(Ee,["prefixCls","className","rootClassName","style","children","icon","color","onClose","closeIcon","closable","bordered"]),{getPrefixCls:ke,direction:Ne,tag:Ve}=ye.useContext(ie.E_),[qe,rt]=ye.useState(!0);ye.useEffect(()=>{"visible"in ze&&rt(ze.visible)},[ze.visible]);const Ye=(0,he.o2)(Le),Ue=(0,he.yT)(Le),Be=Ye||Ue,Ze=Object.assign(Object.assign({backgroundColor:Le&&!Be?Le:void 0},Ve==null?void 0:Ve.style),Me),Te=ke("tag",Ce),[He,at]=a(Te),et=pe()(Te,Ve==null?void 0:Ve.className,{[`${Te}-${Le}`]:Be,[`${Te}-has-color`]:Le&&!Be,[`${Te}-hidden`]:!qe,[`${Te}-rtl`]:Ne==="rtl",[`${Te}-borderless`]:!Ke},_e,we,at),Je=nt=>{nt.stopPropagation(),Qe==null||Qe(nt),!nt.defaultPrevented&&rt(!1)},[,Ie]=(0,ce.Z)(Ge,We,nt=>nt===null?ye.createElement(je.Z,{className:`${Te}-close-icon`,onClick:Je}):ye.createElement("span",{className:`${Te}-close-icon`,onClick:Je},nt),null,!1),xe=typeof ze.onClick=="function"||Oe&&Oe.type==="a",De=Fe||null,Re=De?ye.createElement(ye.Fragment,null,De,Oe&&ye.createElement("span",null,Oe)):Oe,Xe=ye.createElement("span",Object.assign({},ze,{ref:Ae,className:et,style:Ze}),Re,Ie,Ye&&ye.createElement(ue,{key:"preset",prefixCls:Te}),Ue&&ye.createElement(fe,{key:"status",prefixCls:Te}));return He(xe?ye.createElement(oe.Z,{component:"Tag"},Xe):Xe)},ve=ye.forwardRef(be);ve.CheckableTag=b;var Pe=ve},65615:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return nt}});var ye=Se(59301),je=Se(33708),E=Se(92413),pe=Se(39559),he=Se(33606),ce=Se(37061),oe=Se(43403),ie=Se(35593),le=Se(92310),se=Se.n(le),ae=Se(34280),re=Se(18929),ne=Se(6089);function te($e){var tt=window.innerWidth||document.documentElement.clientWidth,st=window.innerHeight||document.documentElement.clientHeight,it=$e.getBoundingClientRect(),lt=it.top,ut=it.right,pt=it.bottom,vt=it.left;return lt>=0&&vt>=0&&ut<=tt&&pt<=st}function a($e,tt,st){var it;return(it=st!=null?st:tt)!==null&&it!==void 0?it:$e===null?"center":"bottom"}function y($e,tt,st,it){var lt=(0,ye.useState)(void 0),ut=(0,he.Z)(lt,2),pt=ut[0],vt=ut[1];(0,ae.Z)(function(){var un=typeof $e=="function"?$e():$e;vt(un||null)});var mt=(0,ye.useState)(null),bt=(0,he.Z)(mt,2),_t=bt[0],Mt=bt[1],yt=(0,ne.Z)(function(){if(pt){!te(pt)&&tt&&pt.scrollIntoView(it);var un=pt.getBoundingClientRect(),Vt=un.left,sn=un.top,Zt=un.width,en=un.height,Ht={left:Vt,top:sn,width:Zt,height:en,radius:0};Mt(function(ln){return JSON.stringify(ln)!==JSON.stringify(Ht)?Ht:ln})}else Mt(null)}),wt=function(Vt){var sn;return(sn=Array.isArray(st==null?void 0:st.offset)?st==null?void 0:st.offset[Vt]:st==null?void 0:st.offset)!==null&&sn!==void 0?sn:6};(0,ae.Z)(function(){return yt(),window.addEventListener("resize",yt),function(){window.removeEventListener("resize",yt)}},[pt,tt,yt]);var xt=(0,ye.useMemo)(function(){if(!_t)return _t;var un=wt(0),Vt=wt(1),sn=(st==null?void 0:st.radius)||2;return{left:_t.left-un,top:_t.top-Vt,width:_t.width+un*2,height:_t.height+Vt*2,radius:sn}},[_t,st]);return[xt,pt]}var x=Se(80402),b={fill:"transparent",pointerEvents:"auto"},ee=function(tt){var st=tt.prefixCls,it=tt.rootClassName,lt=tt.pos,ut=tt.showMask,pt=tt.style,vt=pt===void 0?{}:pt,mt=tt.fill,bt=mt===void 0?"rgba(0,0,0,0.5)":mt,_t=tt.open,Mt=tt.animated,yt=tt.zIndex,wt=(0,x.Z)(),xt="".concat(st,"-mask-").concat(wt),un=(0,pe.Z)(Mt)==="object"?Mt==null?void 0:Mt.placeholder:Mt;return ye.createElement(oe.Z,{open:_t,autoLock:!0},ye.createElement("div",{className:se()("".concat(st,"-mask"),it),style:(0,je.Z)({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:yt,pointerEvents:"none"},vt)},ut?ye.createElement("svg",{style:{width:"100%",height:"100%"}},ye.createElement("defs",null,ye.createElement("mask",{id:xt},ye.createElement("rect",{x:"0",y:"0",width:"100vw",height:"100vh",fill:"white"}),lt&&ye.createElement("rect",{x:lt.left,y:lt.top,rx:lt.radius,width:lt.width,height:lt.height,fill:"black",className:un?"".concat(st,"-placeholder-animated"):""}))),ye.createElement("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:bt,mask:"url(#".concat(xt,")")}),lt&&ye.createElement(ye.Fragment,null,ye.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:"100%",height:lt.top})),ye.createElement("rect",(0,E.Z)({},b,{x:"0",y:"0",width:lt.left,height:"100%"})),ye.createElement("rect",(0,E.Z)({},b,{x:"0",y:lt.top+lt.height,width:"100%",height:"calc(100vh - ".concat(lt.top+lt.height,"px)")})),ye.createElement("rect",(0,E.Z)({},b,{x:lt.left+lt.width,y:"0",width:"calc(100vw - ".concat(lt.left+lt.width,"px)"),height:"100%"})))):null))},z=ee,ue={adjustX:1,adjustY:1},de=[0,0],ge={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 fe(){var $e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,tt={};return Object.keys(ge).forEach(function(st){tt[st]=(0,je.Z)((0,je.Z)({},ge[st]),{},{autoArrow:$e,targetOffset:de})}),tt}var me=fe(),be=Se(26407);function ve($e){var tt=$e.prefixCls,st=$e.current,it=$e.total,lt=$e.title,ut=$e.description,pt=$e.onClose,vt=$e.onPrev,mt=$e.onNext,bt=$e.onFinish,_t=$e.className,Mt=$e.closeIcon,yt=Mt!==!1&&Mt!==null,wt=Mt!==void 0&&Mt!==!0?Mt:ye.createElement("span",{className:"".concat(tt,"-close-x")},"\xD7");return ye.createElement("div",{className:se()("".concat(tt,"-content"),_t)},ye.createElement("div",{className:"".concat(tt,"-inner")},yt&&ye.createElement("button",{type:"button",onClick:pt,"aria-label":"Close",className:"".concat(tt,"-close")},wt),ye.createElement("div",{className:"".concat(tt,"-header")},ye.createElement("div",{className:"".concat(tt,"-title")},lt)),ye.createElement("div",{className:"".concat(tt,"-description")},ut),ye.createElement("div",{className:"".concat(tt,"-footer")},ye.createElement("div",{className:"".concat(tt,"-sliders")},it>1?(0,be.Z)(Array.from({length:it}).keys()).map(function(xt,un){return ye.createElement("span",{key:xt,className:un===st?"active":""})}):null),ye.createElement("div",{className:"".concat(tt,"-buttons")},st!==0?ye.createElement("button",{className:"".concat(tt,"-prev-btn"),onClick:vt},"Prev"):null,st===it-1?ye.createElement("button",{className:"".concat(tt,"-finish-btn"),onClick:bt},"Finish"):ye.createElement("button",{className:"".concat(tt,"-next-btn"),onClick:mt},"Next")))))}var Pe=function(tt){var st=tt.current,it=tt.renderPanel;return ye.createElement(ye.Fragment,null,typeof it=="function"?it(tt,st):ye.createElement(ve,tt))},Ee=Pe,Ae=["prefixCls","steps","defaultCurrent","current","onChange","onClose","onFinish","open","mask","arrow","rootClassName","placement","renderPanel","gap","animated","scrollIntoViewOptions","zIndex","closeIcon"],Ce={left:"50%",top:"50%",width:1,height:1},_e=function(tt){var st=tt.prefixCls,it=st===void 0?"rc-tour":st,lt=tt.steps,ut=lt===void 0?[]:lt,pt=tt.defaultCurrent,vt=tt.current,mt=tt.onChange,bt=tt.onClose,_t=tt.onFinish,Mt=tt.open,yt=tt.mask,wt=yt===void 0?!0:yt,xt=tt.arrow,un=xt===void 0?!0:xt,Vt=tt.rootClassName,sn=tt.placement,Zt=tt.renderPanel,en=tt.gap,Ht=tt.animated,ln=tt.scrollIntoViewOptions,Ln=ln===void 0?!0:ln,Pn=tt.zIndex,xn=Pn===void 0?1001:Pn,bn=tt.closeIcon,gn=(0,ce.Z)(tt,Ae),Ct=ye.useRef(),Ot=(0,re.Z)(0,{value:vt,defaultValue:pt}),At=(0,he.Z)(Ot,2),qt=At[0],dn=At[1],dt=(0,re.Z)(void 0,{value:Mt,postState:function(Bt){return qt<0||qt>=ut.length?!1:Bt!=null?Bt:!0}}),gt=(0,he.Z)(dt,2),ft=gt[0],jt=gt[1],Yt=ye.useRef(ft);(0,ae.Z)(function(){ft&&!Yt.current&&dn(0),Yt.current=ft},[ft]);var Qt=ut[qt]||{},Bn=Qt.target,fn=Qt.placement,kn=Qt.style,Gn=Qt.arrow,dr=Qt.className,zt=Qt.mask,Lt=Qt.scrollIntoViewOptions,St=Qt.closeIcon,Ut=ft&&(zt!=null?zt:wt),Pt=St!=null?St:bn,Tt=Lt!=null?Lt:Ln,kt=y(Bn,Mt,en,Tt),$t=(0,he.Z)(kt,2),nn=$t[0],mn=$t[1],Sn=a(mn,sn,fn),An=mn?typeof Gn=="undefined"?un:Gn:!1,En=(0,pe.Z)(An)==="object"?An.pointAtCenter:!1;(0,ae.Z)(function(){var hn;(hn=Ct.current)===null||hn===void 0||hn.forceAlign()},[En,qt]);var Tn=function(Bt){dn(Bt),mt==null||mt(Bt)};if(mn===void 0)return null;var _n=function(){jt(!1),bt==null||bt(qt)},It=function(){return ye.createElement(Ee,(0,E.Z)({arrow:An,key:"content",prefixCls:it,total:ut.length,renderPanel:Zt,onPrev:function(){Tn(qt-1)},onNext:function(){Tn(qt+1)},onClose:_n,current:qt,onFinish:function(){_n(),_t==null||_t()},closeIcon:Pt},ut[qt]))},Xn=typeof Ut=="boolean"?Ut:!!Ut,Nn=typeof Ut=="boolean"?void 0:Ut,zn=function(Bt){return Bt||mn||document.body};return ye.createElement(ye.Fragment,null,ye.createElement(z,{zIndex:xn,prefixCls:it,pos:nn,showMask:Xn,style:Nn==null?void 0:Nn.style,fill:Nn==null?void 0:Nn.color,open:ft,animated:Ht,rootClassName:Vt}),ye.createElement(ie.Z,(0,E.Z)({builtinPlacements:fe(En)},gn,{ref:Ct,popupStyle:kn,popupPlacement:Sn,popupVisible:ft,popupClassName:se()(Vt,dr),prefixCls:it,popup:It,forceRender:!1,destroyPopupOnHide:!0,zIndex:xn,getTriggerDOMNode:zn,arrow:!!An}),ye.createElement(oe.Z,{open:ft,autoLock:!0},ye.createElement("div",{className:se()(Vt,"".concat(it,"-target-placeholder")),style:(0,je.Z)((0,je.Z)({},nn||Ce),{},{position:"fixed",pointerEvents:"none"})}))))},we=_e,Me=we,Oe=Se(79676),Fe=Se(36355),Le=Se(88088),Qe=Se(99267),We=Se(3113),Ge=Se(9763),Ke=Se(31724),ze=Se(47729);function ke($e){return $e!=null}var Ve=$e=>{let{stepProps:tt,current:st,type:it,indicatorsRender:lt,closeIcon:ut}=$e;var pt,vt;const{prefixCls:mt,total:bt=1,title:_t,onClose:Mt,onPrev:yt,onNext:wt,onFinish:xt,cover:un,description:Vt,nextButtonProps:sn,prevButtonProps:Zt,type:en,className:Ht,closeIcon:ln}=tt,Ln=en!=null?en:it,Pn=ln!=null?ln:ut,xn=Pn!==!1&&Pn!==null,[bn,gn]=(0,ze.Z)(xn,Pn,Qt=>ye.createElement("span",{onClick:Mt,"aria-label":"Close",className:`${mt}-close`},Qt),ye.createElement(Qe.Z,{className:`${mt}-close-icon`}),!0),Ct=st===bt-1,Ot=()=>{var Qt;yt==null||yt(),(Qt=Zt==null?void 0:Zt.onClick)===null||Qt===void 0||Qt.call(Zt)},At=()=>{var Qt;Ct?xt==null||xt():wt==null||wt(),(Qt=sn==null?void 0:sn.onClick)===null||Qt===void 0||Qt.call(sn)},qt=ke(_t)?ye.createElement("div",{className:`${mt}-header`},ye.createElement("div",{className:`${mt}-title`},_t)):null,dn=ke(Vt)?ye.createElement("div",{className:`${mt}-description`},Vt):null,dt=ke(un)?ye.createElement("div",{className:`${mt}-cover`},un):null;let gt;lt?gt=lt(st,bt):gt=(0,be.Z)(Array.from({length:bt}).keys()).map((Qt,Bn)=>ye.createElement("span",{key:Qt,className:se()(Bn===st&&`${mt}-indicator-active`,`${mt}-indicator`)}));const ft=Ln==="primary"?"default":"primary",jt={type:"default",ghost:Ln==="primary"},[Yt]=(0,Ge.Z)("Tour",Ke.Z.Tour);return ye.createElement("div",{className:se()(Ht,`${mt}-content`)},ye.createElement("div",{className:`${mt}-inner`},bn&&gn,dt,qt,dn,ye.createElement("div",{className:`${mt}-footer`},bt>1&&ye.createElement("div",{className:`${mt}-indicators`},gt),ye.createElement("div",{className:`${mt}-buttons`},st!==0?ye.createElement(We.ZP,Object.assign({},jt,Zt,{onClick:Ot,size:"small",className:se()(`${mt}-prev-btn`,Zt==null?void 0:Zt.className)}),(pt=Zt==null?void 0:Zt.children)!==null&&pt!==void 0?pt:Yt==null?void 0:Yt.Previous):null,ye.createElement(We.ZP,Object.assign({type:ft},sn,{onClick:At,size:"small",className:se()(`${mt}-next-btn`,sn==null?void 0:sn.className)}),(vt=sn==null?void 0:sn.children)!==null&&vt!==void 0?vt:Ct?Yt==null?void 0:Yt.Finish:Yt==null?void 0:Yt.Next)))))},qe=Se(39722),rt=Se(64993),Ye=Se(17313),Ue=Se(19447),Be=Se(83116),Ze=Se(37613);const Te=$e=>{const{componentCls:tt,lineHeight:st,padding:it,paddingXS:lt,borderRadius:ut,borderRadiusXS:pt,colorPrimary:vt,colorText:mt,colorFill:bt,indicatorHeight:_t,indicatorWidth:Mt,boxShadowTertiary:yt,tourZIndexPopup:wt,fontSize:xt,colorBgElevated:un,fontWeightStrong:Vt,marginXS:sn,colorTextLightSolid:Zt,tourBorderRadius:en,colorWhite:Ht,colorBgTextHover:ln,tourCloseSize:Ln,motionDurationSlow:Pn,antCls:xn}=$e;return[{[tt]:Object.assign(Object.assign({},(0,Ye.Wf)($e)),{color:mt,position:"absolute",zIndex:wt,display:"block",visibility:"visible",fontSize:xt,lineHeight:st,width:520,"--antd-arrow-background-color":un,"&-pure":{maxWidth:"100%",position:"relative"},[`&${tt}-hidden`]:{display:"none"},[`${tt}-content`]:{position:"relative"},[`${tt}-inner`]:{textAlign:"start",textDecoration:"none",borderRadius:en,boxShadow:yt,position:"relative",backgroundColor:un,border:"none",backgroundClip:"padding-box",[`${tt}-close`]:{position:"absolute",top:it,insetInlineEnd:it,color:$e.colorIcon,outline:"none",width:Ln,height:Ln,borderRadius:$e.borderRadiusSM,transition:`background-color ${$e.motionDurationMid}, color ${$e.motionDurationMid}`,display:"flex",alignItems:"center",justifyContent:"center","&:hover":{color:$e.colorIconHover,backgroundColor:$e.wireframe?"transparent":$e.colorFillContent}},[`${tt}-cover`]:{textAlign:"center",padding:`${it+Ln+lt}px ${it}px 0`,img:{width:"100%"}},[`${tt}-header`]:{padding:`${it}px ${it}px ${lt}px`,[`${tt}-title`]:{lineHeight:st,fontSize:xt,fontWeight:Vt}},[`${tt}-description`]:{padding:`0 ${it}px`,lineHeight:st,wordWrap:"break-word"},[`${tt}-footer`]:{padding:`${lt}px ${it}px ${it}px`,textAlign:"end",borderRadius:`0 0 ${pt}px ${pt}px`,display:"flex",[`${tt}-indicators`]:{display:"inline-block",[`${tt}-indicator`]:{width:Mt,height:_t,display:"inline-block",borderRadius:"50%",background:bt,"&:not(:last-child)":{marginInlineEnd:_t},"&-active":{background:vt}}},[`${tt}-buttons`]:{marginInlineStart:"auto",[`${xn}-btn`]:{marginInlineStart:sn}}}},[`${tt}-primary, &${tt}-primary`]:{"--antd-arrow-background-color":vt,[`${tt}-inner`]:{color:Zt,textAlign:"start",textDecoration:"none",backgroundColor:vt,borderRadius:ut,boxShadow:yt,[`${tt}-close`]:{color:Zt},[`${tt}-indicators`]:{[`${tt}-indicator`]:{background:new rt.C(Zt).setAlpha(.15).toRgbString(),"&-active":{background:Zt}}},[`${tt}-prev-btn`]:{color:Zt,borderColor:new rt.C(Zt).setAlpha(.15).toRgbString(),backgroundColor:vt,"&:hover":{backgroundColor:new rt.C(Zt).setAlpha(.15).toRgbString(),borderColor:"transparent"}},[`${tt}-next-btn`]:{color:vt,borderColor:"transparent",background:Ht,"&:hover":{background:new rt.C(ln).onBackground(Ht).toRgbString()}}}}}),[`${tt}-mask`]:{[`${tt}-placeholder-animated`]:{transition:`all ${Pn}`}},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${tt}-inner`]:{borderRadius:Math.min(en,Ue.qN)}}},(0,Ue.ZP)($e,{colorBg:"var(--antd-arrow-background-color)",contentRadius:en,limitVerticalRadius:!0})]};var He=(0,Be.Z)("Tour",$e=>{const{borderRadiusLG:tt,fontSize:st,lineHeight:it}=$e,lt=(0,Ze.TS)($e,{tourZIndexPopup:$e.zIndexPopupBase+70,indicatorWidth:6,indicatorHeight:6,tourBorderRadius:tt,tourCloseSize:st*it});return[Te(lt)]}),at=Se(53487),et=function($e,tt){var st={};for(var it in $e)Object.prototype.hasOwnProperty.call($e,it)&&tt.indexOf(it)<0&&(st[it]=$e[it]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,it=Object.getOwnPropertySymbols($e);lt<it.length;lt++)tt.indexOf(it[lt])<0&&Object.prototype.propertyIsEnumerable.call($e,it[lt])&&(st[it[lt]]=$e[it[lt]]);return st};const Je=$e=>{const{prefixCls:tt,current:st=0,total:it=6,className:lt,style:ut,type:pt}=$e,vt=et($e,["prefixCls","current","total","className","style","type"]),{getPrefixCls:mt}=ye.useContext(Fe.E_),bt=mt("tour",tt),[_t,Mt]=He(bt);return _t(ye.createElement(qe.t5,{prefixCls:bt,hashId:Mt,className:se()(lt,`${bt}-pure`,pt&&`${bt}-${pt}`),style:ut},ye.createElement(Ve,{stepProps:Object.assign(Object.assign({},vt),{prefixCls:bt,total:it}),current:st,type:pt})))};var Ie=(0,at.i)(Je),De=$e=>{let{defaultType:tt,steps:st=[],current:it,defaultCurrent:lt}=$e;var ut;const[pt,vt]=(0,re.Z)(lt,{value:it});(0,ye.useLayoutEffect)(()=>{it!==void 0&&vt(it)},[it]);const mt=typeof pt=="number"?(ut=st[pt])===null||ut===void 0?void 0:ut.type:tt;return{currentMergedType:mt!=null?mt:tt,updateInnerCurrent:vt}},Re=function($e,tt){var st={};for(var it in $e)Object.prototype.hasOwnProperty.call($e,it)&&tt.indexOf(it)<0&&(st[it]=$e[it]);if($e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var lt=0,it=Object.getOwnPropertySymbols($e);lt<it.length;lt++)tt.indexOf(it[lt])<0&&Object.prototype.propertyIsEnumerable.call($e,it[lt])&&(st[it[lt]]=$e[it[lt]]);return st};const Xe=$e=>{const{prefixCls:tt,current:st,defaultCurrent:it,type:lt,rootClassName:ut,indicatorsRender:pt,steps:vt}=$e,mt=Re($e,["prefixCls","current","defaultCurrent","type","rootClassName","indicatorsRender","steps"]),{getPrefixCls:bt,direction:_t}=(0,ye.useContext)(Fe.E_),Mt=bt("tour",tt),[yt,wt]=He(Mt),[,xt]=(0,Le.Z)(),{currentMergedType:un,updateInnerCurrent:Vt}=De({defaultType:lt,steps:vt,current:st,defaultCurrent:it}),sn=(0,Oe.Z)({arrowPointAtCenter:!0,autoAdjustOverflow:!0,offset:xt.marginXXS,arrowWidth:xt.sizePopupArrow,borderRadius:xt.borderRadius}),Zt=se()({[`${Mt}-primary`]:un==="primary",[`${Mt}-rtl`]:_t==="rtl"},wt,ut),en=(ln,Ln)=>ye.createElement(Ve,{type:lt,stepProps:ln,current:Ln,indicatorsRender:pt}),Ht=ln=>{var Ln;Vt(ln),(Ln=$e.onChange)===null||Ln===void 0||Ln.call($e,ln)};return yt(ye.createElement(Me,Object.assign({},mt,{rootClassName:Zt,prefixCls:Mt,current:st,defaultCurrent:it,animated:!0,renderPanel:en,builtinPlacements:sn,onChange:Ht,steps:vt})))};Xe._InternalPanelDoNotUseOrYouWillBeFired=Ie;var nt=Xe},24334:function(ct,ot,Se){var ye,je;(function(E,pe){ct.exports=pe(E)})(typeof self!="undefined"?self:typeof window!="undefined"?window:typeof Se.g!="undefined"?Se.g:this,function(E){"use strict";E=E||{};var pe=E.Base64,he="2.6.4",ce="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oe=function(Ce){for(var _e={},we=0,Me=Ce.length;we<Me;we++)_e[Ce.charAt(we)]=we;return _e}(ce),ie=String.fromCharCode,le=function(Ce){if(Ce.length<2){var _e=Ce.charCodeAt(0);return _e<128?Ce:_e<2048?ie(192|_e>>>6)+ie(128|_e&63):ie(224|_e>>>12&15)+ie(128|_e>>>6&63)+ie(128|_e&63)}else{var _e=65536+(Ce.charCodeAt(0)-55296)*1024+(Ce.charCodeAt(1)-56320);return ie(240|_e>>>18&7)+ie(128|_e>>>12&63)+ie(128|_e>>>6&63)+ie(128|_e&63)}},se=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,ae=function(Ce){return Ce.replace(se,le)},re=function(Ce){var _e=[0,2,1][Ce.length%3],we=Ce.charCodeAt(0)<<16|(Ce.length>1?Ce.charCodeAt(1):0)<<8|(Ce.length>2?Ce.charCodeAt(2):0),Me=[ce.charAt(we>>>18),ce.charAt(we>>>12&63),_e>=2?"=":ce.charAt(we>>>6&63),_e>=1?"=":ce.charAt(we&63)];return Me.join("")},ne=E.btoa&&typeof E.btoa=="function"?function(Ce){return E.btoa(Ce)}:function(Ce){if(Ce.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return Ce.replace(/[\s\S]{1,3}/g,re)},te=function(Ce){return ne(ae(String(Ce)))},a=function(Ce){return Ce.replace(/[+\/]/g,function(_e){return _e=="+"?"-":"_"}).replace(/=/g,"")},y=function(Ce,_e){return _e?a(te(Ce)):te(Ce)},x=function(Ce){return y(Ce,!0)},b;E.Uint8Array&&(b=function(Ce,_e){for(var we="",Me=0,Oe=Ce.length;Me<Oe;Me+=3){var Fe=Ce[Me],Le=Ce[Me+1],Qe=Ce[Me+2],We=Fe<<16|Le<<8|Qe;we+=ce.charAt(We>>>18)+ce.charAt(We>>>12&63)+(typeof Le!="undefined"?ce.charAt(We>>>6&63):"=")+(typeof Qe!="undefined"?ce.charAt(We&63):"=")}return _e?a(we):we});var ee=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,z=function(Ce){switch(Ce.length){case 4:var _e=(7&Ce.charCodeAt(0))<<18|(63&Ce.charCodeAt(1))<<12|(63&Ce.charCodeAt(2))<<6|63&Ce.charCodeAt(3),we=_e-65536;return ie((we>>>10)+55296)+ie((we&1023)+56320);case 3:return ie((15&Ce.charCodeAt(0))<<12|(63&Ce.charCodeAt(1))<<6|63&Ce.charCodeAt(2));default:return ie((31&Ce.charCodeAt(0))<<6|63&Ce.charCodeAt(1))}},ue=function(Ce){return Ce.replace(ee,z)},de=function(Ce){var _e=Ce.length,we=_e%4,Me=(_e>0?oe[Ce.charAt(0)]<<18:0)|(_e>1?oe[Ce.charAt(1)]<<12:0)|(_e>2?oe[Ce.charAt(2)]<<6:0)|(_e>3?oe[Ce.charAt(3)]:0),Oe=[ie(Me>>>16),ie(Me>>>8&255),ie(Me&255)];return Oe.length-=[0,0,2,1][we],Oe.join("")},ge=E.atob&&typeof E.atob=="function"?function(Ce){return E.atob(Ce)}:function(Ce){return Ce.replace(/\S{1,4}/g,de)},fe=function(Ce){return ge(String(Ce).replace(/[^A-Za-z0-9\+\/]/g,""))},me=function(Ce){return ue(ge(Ce))},be=function(Ce){return String(Ce).replace(/[-_]/g,function(_e){return _e=="-"?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,"")},ve=function(Ce){return me(be(Ce))},Pe;E.Uint8Array&&(Pe=function(Ce){return Uint8Array.from(fe(be(Ce)),function(_e){return _e.charCodeAt(0)})});var Ee=function(){var Ce=E.Base64;return E.Base64=pe,Ce};if(E.Base64={VERSION:he,atob:fe,btoa:ne,fromBase64:ve,toBase64:y,utob:ae,encode:y,encodeURI:x,btou:ue,decode:ve,noConflict:Ee,fromUint8Array:b,toUint8Array:Pe},typeof Object.defineProperty=="function"){var Ae=function(Ce){return{value:Ce,enumerable:!1,writable:!0,configurable:!0}};E.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",Ae(function(){return ve(this)})),Object.defineProperty(String.prototype,"toBase64",Ae(function(Ce){return y(this,Ce)})),Object.defineProperty(String.prototype,"toBase64URI",Ae(function(){return y(this,!0)}))}}return E.Meteor&&(Base64=E.Base64),ct.exports?ct.exports.Base64=E.Base64:(ye=[],je=function(){return E.Base64}.apply(ot,ye),je!==void 0&&(ct.exports=je)),{Base64:E.Base64}})},7062:function(ct,ot,Se){var ye=Se(19637),je=Se(97573),E=[Se(96627)];ct.exports=ye.createStore(je,E)},96627:function(ct,ot,Se){ct.exports=ye;function ye(){return Se(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(ct){return ct<10?"0"+ct:ct}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(ct){return rx_escapable.lastIndex=0,rx_escapable.test(ct)?'"'+ct.replace(rx_escapable,function(ot){var Se=meta[ot];return typeof Se=="string"?Se:"\\u"+("0000"+ot.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+ct+'"'}function str(ct,ot){var Se,ye,je,E,pe=gap,he,ce=ot[ct];switch(ce&&typeof ce=="object"&&typeof ce.toJSON=="function"&&(ce=ce.toJSON(ct)),typeof rep=="function"&&(ce=rep.call(ot,ct,ce)),typeof ce){case"string":return quote(ce);case"number":return isFinite(ce)?String(ce):"null";case"boolean":case"null":return String(ce);case"object":if(!ce)return"null";if(gap+=indent,he=[],Object.prototype.toString.apply(ce)==="[object Array]"){for(E=ce.length,Se=0;Se<E;Se+=1)he[Se]=str(Se,ce)||"null";return je=he.length===0?"[]":gap?`[
|
|
|
`+gap+he.join(`,
|
|
|
`+gap)+`
|
|
|
`+pe+"]":"["+he.join(",")+"]",gap=pe,je}if(rep&&typeof rep=="object")for(E=rep.length,Se=0;Se<E;Se+=1)typeof rep[Se]=="string"&&(ye=rep[Se],je=str(ye,ce),je&&he.push(quote(ye)+(gap?": ":":")+je));else for(ye in ce)Object.prototype.hasOwnProperty.call(ce,ye)&&(je=str(ye,ce),je&&he.push(quote(ye)+(gap?": ":":")+je));return je=he.length===0?"{}":gap?`{
|
|
|
`+gap+he.join(`,
|
|
|
`+gap)+`
|
|
|
`+pe+"}":"{"+he.join(",")+"}",gap=pe,je}}typeof JSON.stringify!="function"&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(ct,ot,Se){var ye;if(gap="",indent="",typeof Se=="number")for(ye=0;ye<Se;ye+=1)indent+=" ";else typeof Se=="string"&&(indent=Se);if(rep=ot,ot&&typeof ot!="function"&&(typeof ot!="object"||typeof ot.length!="number"))throw new Error("JSON.stringify");return str("",{"":ct})}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){var j;function walk(ct,ot){var Se,ye,je=ct[ot];if(je&&typeof je=="object")for(Se in je)Object.prototype.hasOwnProperty.call(je,Se)&&(ye=walk(je,Se),ye!==void 0?je[Se]=ye:delete je[Se]);return reviver.call(ct,ot,je)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(ct){return"\\u"+("0000"+ct.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(ct,ot,Se){var ye=Se(67039),je=ye.slice,E=ye.pluck,pe=ye.each,he=ye.bind,ce=ye.create,oe=ye.isList,ie=ye.isFunction,le=ye.isObject;ct.exports={createStore:re};var se={version:"2.0.12",enabled:!1,get:function(ne,te){var a=this.storage.read(this._namespacePrefix+ne);return this._deserialize(a,te)},set:function(ne,te){return te===void 0?this.remove(ne):(this.storage.write(this._namespacePrefix+ne,this._serialize(te)),te)},remove:function(ne){this.storage.remove(this._namespacePrefix+ne)},each:function(ne){var te=this;this.storage.each(function(a,y){ne.call(te,te._deserialize(a),(y||"").replace(te._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(ne){return this._namespacePrefix=="__storejs_"+ne+"_"},createStore:function(){return re.apply(this,arguments)},addPlugin:function(ne){this._addPlugin(ne)},namespace:function(ne){return re(this.storage,this.plugins,ne)}};function ae(){var ne=typeof console=="undefined"?null:console;if(ne){var te=ne.warn?ne.warn:ne.log;te.apply(ne,arguments)}}function re(ne,te,a){a||(a=""),ne&&!oe(ne)&&(ne=[ne]),te&&!oe(te)&&(te=[te]);var y=a?"__storejs_"+a+"_":"",x=a?new RegExp("^"+y):null,b=/^[a-zA-Z0-9_\-]*$/;if(!b.test(a))throw new Error("store.js namespaces can only have alphanumerics + underscores and dashes");var ee={_namespacePrefix:y,_namespaceRegexp:x,_testStorage:function(ue){try{var de="__storejs__test__";ue.write(de,de);var ge=ue.read(de)===de;return ue.remove(de),ge}catch(fe){return!1}},_assignPluginFnProp:function(ue,de){var ge=this[de];this[de]=function(){var me=je(arguments,0),be=this;function ve(){if(ge)return pe(arguments,function(Ee,Ae){me[Ae]=Ee}),ge.apply(be,me)}var Pe=[ve].concat(me);return ue.apply(be,Pe)}},_serialize:function(ue){return JSON.stringify(ue)},_deserialize:function(ue,de){if(!ue)return de;var ge="";try{ge=JSON.parse(ue)}catch(fe){ge=ue}return ge!==void 0?ge:de},_addStorage:function(ue){this.enabled||this._testStorage(ue)&&(this.storage=ue,this.enabled=!0)},_addPlugin:function(ue){var de=this;if(oe(ue)){pe(ue,function(me){de._addPlugin(me)});return}var ge=E(this.plugins,function(me){return ue===me});if(!ge){if(this.plugins.push(ue),!ie(ue))throw new Error("Plugins must be function values that return objects");var fe=ue.call(this);if(!le(fe))throw new Error("Plugins must return an object of function properties");pe(fe,function(me,be){if(!ie(me))throw new Error("Bad plugin property: "+be+" from plugin "+ue.name+". Plugins should only return functions.");de._assignPluginFnProp(me,be)})}},addStorage:function(ue){ae("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(ue)}},z=ce(ee,se,{plugins:[]});return z.raw={},pe(z,function(ue,de){ie(ue)&&(z.raw[de]=he(z,ue))}),pe(ne,function(ue){z._addStorage(ue)}),pe(te,function(ue){z._addPlugin(ue)}),z}},67039:function(ct,ot,Se){var ye=he(),je=ce(),E=oe(),pe=typeof window!="undefined"?window:Se.g;ct.exports={assign:ye,create:je,trim:E,bind:ie,slice:le,each:se,map:ae,pluck:re,isList:ne,isFunction:te,isObject:a,Global:pe};function he(){return Object.assign?Object.assign:function(x,b,ee,z){for(var ue=1;ue<arguments.length;ue++)se(Object(arguments[ue]),function(de,ge){x[ge]=de});return x}}function ce(){if(Object.create)return function(b,ee,z,ue){var de=le(arguments,1);return ye.apply(this,[Object.create(b)].concat(de))};{let x=function(){};var y=x;return function(ee,z,ue,de){var ge=le(arguments,1);return x.prototype=ee,ye.apply(this,[new x].concat(ge))}}}function oe(){return String.prototype.trim?function(x){return String.prototype.trim.call(x)}:function(x){return x.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function ie(y,x){return function(){return x.apply(y,Array.prototype.slice.call(arguments,0))}}function le(y,x){return Array.prototype.slice.call(y,x||0)}function se(y,x){re(y,function(b,ee){return x(b,ee),!1})}function ae(y,x){var b=ne(y)?[]:{};return re(y,function(ee,z){return b[z]=x(ee,z),!1}),b}function re(y,x){if(ne(y)){for(var b=0;b<y.length;b++)if(x(y[b],b))return y[b]}else for(var ee in y)if(y.hasOwnProperty(ee)&&x(y[ee],ee))return y[ee]}function ne(y){return y!=null&&typeof y!="function"&&typeof y.length=="number"}function te(y){return y&&{}.toString.call(y)==="[object Function]"}function a(y){return y&&{}.toString.call(y)==="[object Object]"}},97573:function(ct,ot,Se){ct.exports=[Se(52496),Se(16436),Se(76673),Se(35701),Se(65578),Se(65300)]},35701:function(ct,ot,Se){var ye=Se(67039),je=ye.Global,E=ye.trim;ct.exports={name:"cookieStorage",read:he,write:oe,each:ce,remove:ie,clearAll:le};var pe=je.document;function he(ae){if(!ae||!se(ae))return null;var re="(?:^|.*;\\s*)"+escape(ae).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(pe.cookie.replace(new RegExp(re),"$1"))}function ce(ae){for(var re=pe.cookie.split(/; ?/g),ne=re.length-1;ne>=0;ne--)if(E(re[ne])){var te=re[ne].split("="),a=unescape(te[0]),y=unescape(te[1]);ae(y,a)}}function oe(ae,re){ae&&(pe.cookie=escape(ae)+"="+escape(re)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function ie(ae){!ae||!se(ae)||(pe.cookie=escape(ae)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function le(){ce(function(ae,re){ie(re)})}function se(ae){return new RegExp("(?:^|;\\s*)"+escape(ae).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(pe.cookie)}},52496:function(ct,ot,Se){var ye=Se(67039),je=ye.Global;ct.exports={name:"localStorage",read:pe,write:he,each:ce,remove:oe,clearAll:ie};function E(){return je.localStorage}function pe(le){return E().getItem(le)}function he(le,se){return E().setItem(le,se)}function ce(le){for(var se=E().length-1;se>=0;se--){var ae=E().key(se);le(pe(ae),ae)}}function oe(le){return E().removeItem(le)}function ie(){return E().clear()}},65300:function(ct){ct.exports={name:"memoryStorage",read:Se,write:ye,each:je,remove:E,clearAll:pe};var ot={};function Se(he){return ot[he]}function ye(he,ce){ot[he]=ce}function je(he){for(var ce in ot)ot.hasOwnProperty(ce)&&he(ot[ce],ce)}function E(he){delete ot[he]}function pe(he){ot={}}},16436:function(ct,ot,Se){var ye=Se(67039),je=ye.Global;ct.exports={name:"oldFF-globalStorage",read:pe,write:he,each:ce,remove:oe,clearAll:ie};var E=je.globalStorage;function pe(le){return E[le]}function he(le,se){E[le]=se}function ce(le){for(var se=E.length-1;se>=0;se--){var ae=E.key(se);le(E[ae],ae)}}function oe(le){return E.removeItem(le)}function ie(){ce(function(le,se){delete E[le]})}},76673:function(ct,ot,Se){var ye=Se(67039),je=ye.Global;ct.exports={name:"oldIE-userDataStorage",write:oe,read:ie,each:le,remove:se,clearAll:ae};var E="storejs",pe=je.document,he=te(),ce=(je.navigator?je.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function oe(a,y){if(!ce){var x=ne(a);he(function(b){b.setAttribute(x,y),b.save(E)})}}function ie(a){if(!ce){var y=ne(a),x=null;return he(function(b){x=b.getAttribute(y)}),x}}function le(a){he(function(y){for(var x=y.XMLDocument.documentElement.attributes,b=x.length-1;b>=0;b--){var ee=x[b];a(y.getAttribute(ee.name),ee.name)}})}function se(a){var y=ne(a);he(function(x){x.removeAttribute(y),x.save(E)})}function ae(){he(function(a){var y=a.XMLDocument.documentElement.attributes;a.load(E);for(var x=y.length-1;x>=0;x--)a.removeAttribute(y[x].name);a.save(E)})}var re=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function ne(a){return a.replace(/^\d/,"___$&").replace(re,"___")}function te(){if(!pe||!pe.documentElement||!pe.documentElement.addBehavior)return null;var a="script",y,x,b;try{x=new ActiveXObject("htmlfile"),x.open(),x.write("<"+a+">document.w=window</"+a+'><iframe src="/favicon.ico"></iframe>'),x.close(),y=x.w.frames[0].document,b=y.createElement("div")}catch(ee){b=pe.createElement("div"),y=pe.body}return function(ee){var z=[].slice.call(arguments,0);z.unshift(b),y.appendChild(b),b.addBehavior("#default#userData"),b.load(E),ee.apply(this,z),y.removeChild(b)}}},65578:function(ct,ot,Se){var ye=Se(67039),je=ye.Global;ct.exports={name:"sessionStorage",read:pe,write:he,each:ce,remove:oe,clearAll:ie};function E(){return je.sessionStorage}function pe(le){return E().getItem(le)}function he(le,se){return E().setItem(le,se)}function ce(le){for(var se=E().length-1;se>=0;se--){var ae=E().key(se);le(pe(ae),ae)}}function oe(le){return E().removeItem(le)}function ie(){return E().clear()}},34376:function(ct){(function(ot,Se){if(1)ct.exports=Se();else var ye,je})(window,function(){return function(ot){var Se={};function ye(je){if(Se[je])return Se[je].exports;var E=Se[je]={i:je,l:!1,exports:{}};return ot[je].call(E.exports,E,E.exports,ye),E.l=!0,E.exports}return ye.m=ot,ye.c=Se,ye.d=function(je,E,pe){ye.o(je,E)||Object.defineProperty(je,E,{enumerable:!0,get:pe})},ye.r=function(je){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(je,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(je,"__esModule",{value:!0})},ye.t=function(je,E){if(1&E&&(je=ye(je)),8&E||4&E&&typeof je=="object"&&je&&je.__esModule)return je;var pe=Object.create(null);if(ye.r(pe),Object.defineProperty(pe,"default",{enumerable:!0,value:je}),2&E&&typeof je!="string")for(var he in je)ye.d(pe,he,function(ce){return je[ce]}.bind(null,he));return pe},ye.n=function(je){var E=je&&je.__esModule?function(){return je.default}:function(){return je};return ye.d(E,"a",E),E},ye.o=function(je,E){return Object.prototype.hasOwnProperty.call(je,E)},ye.p="",ye(ye.s=34)}([function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.forwardEvent=Se.EventEmitter=void 0;var je=function(){function E(){this._listeners=[],this._disposed=!1}return Object.defineProperty(E.prototype,"event",{get:function(){var pe=this;return this._event||(this._event=function(he){return pe._listeners.push(he),{dispose:function(){if(!pe._disposed){for(var ce=0;ce<pe._listeners.length;ce++)if(pe._listeners[ce]===he)return void pe._listeners.splice(ce,1)}}}}),this._event},enumerable:!1,configurable:!0}),E.prototype.fire=function(pe,he){for(var ce=[],oe=0;oe<this._listeners.length;oe++)ce.push(this._listeners[oe]);for(oe=0;oe<ce.length;oe++)ce[oe].call(void 0,pe,he)},E.prototype.dispose=function(){this._listeners&&(this._listeners.length=0),this._disposed=!0},E}();Se.EventEmitter=je,Se.forwardEvent=function(E,pe){return E(function(he){return pe.fire(he)})}},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.IUnicodeService=Se.IOptionsService=Se.ILogService=Se.IInstantiationService=Se.IDirtyRowService=Se.ICharsetService=Se.ICoreService=Se.ICoreMouseService=Se.IBufferService=void 0;var je=ye(14);Se.IBufferService=je.createDecorator("BufferService"),Se.ICoreMouseService=je.createDecorator("CoreMouseService"),Se.ICoreService=je.createDecorator("CoreService"),Se.ICharsetService=je.createDecorator("CharsetService"),Se.IDirtyRowService=je.createDecorator("DirtyRowService"),Se.IInstantiationService=je.createDecorator("InstantiationService"),Se.ILogService=je.createDecorator("LogService"),Se.IOptionsService=je.createDecorator("OptionsService"),Se.IUnicodeService=je.createDecorator("UnicodeService")},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.getDisposeArrayDisposable=Se.disposeArray=Se.Disposable=void 0;var je=function(){function pe(){this._disposables=[],this._isDisposed=!1}return pe.prototype.dispose=function(){this._isDisposed=!0;for(var he=0,ce=this._disposables;he<ce.length;he++)ce[he].dispose();this._disposables.length=0},pe.prototype.register=function(he){return this._disposables.push(he),he},pe.prototype.unregister=function(he){var ce=this._disposables.indexOf(he);ce!==-1&&this._disposables.splice(ce,1)},pe}();function E(pe){for(var he=0,ce=pe;he<ce.length;he++)ce[he].dispose();pe.length=0}Se.Disposable=je,Se.disposeArray=E,Se.getDisposeArrayDisposable=function(pe){return{dispose:function(){return E(pe)}}}},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.WHITESPACE_CELL_CODE=Se.WHITESPACE_CELL_WIDTH=Se.WHITESPACE_CELL_CHAR=Se.NULL_CELL_CODE=Se.NULL_CELL_WIDTH=Se.NULL_CELL_CHAR=Se.CHAR_DATA_CODE_INDEX=Se.CHAR_DATA_WIDTH_INDEX=Se.CHAR_DATA_CHAR_INDEX=Se.CHAR_DATA_ATTR_INDEX=Se.DEFAULT_ATTR=Se.DEFAULT_COLOR=void 0,Se.DEFAULT_COLOR=256,Se.DEFAULT_ATTR=256|Se.DEFAULT_COLOR<<9,Se.CHAR_DATA_ATTR_INDEX=0,Se.CHAR_DATA_CHAR_INDEX=1,Se.CHAR_DATA_WIDTH_INDEX=2,Se.CHAR_DATA_CODE_INDEX=3,Se.NULL_CELL_CHAR="",Se.NULL_CELL_WIDTH=1,Se.NULL_CELL_CODE=0,Se.WHITESPACE_CELL_CHAR=" ",Se.WHITESPACE_CELL_WIDTH=1,Se.WHITESPACE_CELL_CODE=32},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(ie,le){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,ae){se.__proto__=ae}||function(se,ae){for(var re in ae)ae.hasOwnProperty(re)&&(se[re]=ae[re])})(ie,le)},function(ie,le){function se(){this.constructor=ie}je(ie,le),ie.prototype=le===null?Object.create(le):(se.prototype=le.prototype,new se)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.CellData=void 0;var pe=ye(8),he=ye(3),ce=ye(6),oe=function(ie){function le(){var se=ie!==null&&ie.apply(this,arguments)||this;return se.content=0,se.fg=0,se.bg=0,se.extended=new ce.ExtendedAttrs,se.combinedData="",se}return E(le,ie),le.fromCharData=function(se){var ae=new le;return ae.setFromCharData(se),ae},le.prototype.isCombined=function(){return 2097152&this.content},le.prototype.getWidth=function(){return this.content>>22},le.prototype.getChars=function(){return 2097152&this.content?this.combinedData:2097151&this.content?pe.stringFromCodePoint(2097151&this.content):""},le.prototype.getCode=function(){return this.isCombined()?this.combinedData.charCodeAt(this.combinedData.length-1):2097151&this.content},le.prototype.setFromCharData=function(se){this.fg=se[he.CHAR_DATA_ATTR_INDEX],this.bg=0;var ae=!1;if(se[he.CHAR_DATA_CHAR_INDEX].length>2)ae=!0;else if(se[he.CHAR_DATA_CHAR_INDEX].length===2){var re=se[he.CHAR_DATA_CHAR_INDEX].charCodeAt(0);if(55296<=re&&re<=56319){var ne=se[he.CHAR_DATA_CHAR_INDEX].charCodeAt(1);56320<=ne&&ne<=57343?this.content=1024*(re-55296)+ne-56320+65536|se[he.CHAR_DATA_WIDTH_INDEX]<<22:ae=!0}else ae=!0}else this.content=se[he.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|se[he.CHAR_DATA_WIDTH_INDEX]<<22;ae&&(this.combinedData=se[he.CHAR_DATA_CHAR_INDEX],this.content=2097152|se[he.CHAR_DATA_WIDTH_INDEX]<<22)},le.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},le}(ce.AttributeData);Se.CellData=oe},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.ISoundService=Se.ISelectionService=Se.IRenderService=Se.IMouseService=Se.ICoreBrowserService=Se.ICharSizeService=void 0;var je=ye(14);Se.ICharSizeService=je.createDecorator("CharSizeService"),Se.ICoreBrowserService=je.createDecorator("CoreBrowserService"),Se.IMouseService=je.createDecorator("MouseService"),Se.IRenderService=je.createDecorator("RenderService"),Se.ISelectionService=je.createDecorator("SelectionService"),Se.ISoundService=je.createDecorator("SoundService")},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.ExtendedAttrs=Se.AttributeData=void 0;var je=function(){function pe(){this.fg=0,this.bg=0,this.extended=new E}return pe.toColorRGB=function(he){return[he>>>16&255,he>>>8&255,255&he]},pe.fromColorRGB=function(he){return(255&he[0])<<16|(255&he[1])<<8|255&he[2]},pe.prototype.clone=function(){var he=new pe;return he.fg=this.fg,he.bg=this.bg,he.extended=this.extended.clone(),he},pe.prototype.isInverse=function(){return 67108864&this.fg},pe.prototype.isBold=function(){return 134217728&this.fg},pe.prototype.isUnderline=function(){return 268435456&this.fg},pe.prototype.isBlink=function(){return 536870912&this.fg},pe.prototype.isInvisible=function(){return 1073741824&this.fg},pe.prototype.isItalic=function(){return 67108864&this.bg},pe.prototype.isDim=function(){return 134217728&this.bg},pe.prototype.getFgColorMode=function(){return 50331648&this.fg},pe.prototype.getBgColorMode=function(){return 50331648&this.bg},pe.prototype.isFgRGB=function(){return(50331648&this.fg)==50331648},pe.prototype.isBgRGB=function(){return(50331648&this.bg)==50331648},pe.prototype.isFgPalette=function(){return(50331648&this.fg)==16777216||(50331648&this.fg)==33554432},pe.prototype.isBgPalette=function(){return(50331648&this.bg)==16777216||(50331648&this.bg)==33554432},pe.prototype.isFgDefault=function(){return(50331648&this.fg)==0},pe.prototype.isBgDefault=function(){return(50331648&this.bg)==0},pe.prototype.isAttributeDefault=function(){return this.fg===0&&this.bg===0},pe.prototype.getFgColor=function(){switch(50331648&this.fg){case 16777216:case 33554432:return 255&this.fg;case 50331648:return 16777215&this.fg;default:return-1}},pe.prototype.getBgColor=function(){switch(50331648&this.bg){case 16777216:case 33554432:return 255&this.bg;case 50331648:return 16777215&this.bg;default:return-1}},pe.prototype.hasExtendedAttrs=function(){return 268435456&this.bg},pe.prototype.updateExtended=function(){this.extended.isEmpty()?this.bg&=-268435457:this.bg|=268435456},pe.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()},pe.prototype.getUnderlineColorMode=function(){return 268435456&this.bg&&~this.extended.underlineColor?50331648&this.extended.underlineColor:this.getFgColorMode()},pe.prototype.isUnderlineColorRGB=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==50331648:this.isFgRGB()},pe.prototype.isUnderlineColorPalette=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==16777216||(50331648&this.extended.underlineColor)==33554432:this.isFgPalette()},pe.prototype.isUnderlineColorDefault=function(){return 268435456&this.bg&&~this.extended.underlineColor?(50331648&this.extended.underlineColor)==0:this.isFgDefault()},pe.prototype.getUnderlineStyle=function(){return 268435456&this.fg?268435456&this.bg?this.extended.underlineStyle:1:0},pe}();Se.AttributeData=je;var E=function(){function pe(he,ce){he===void 0&&(he=0),ce===void 0&&(ce=-1),this.underlineStyle=he,this.underlineColor=ce}return pe.prototype.clone=function(){return new pe(this.underlineStyle,this.underlineColor)},pe.prototype.isEmpty=function(){return this.underlineStyle===0},pe}();Se.ExtendedAttrs=E},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.addDisposableDomListener=void 0,Se.addDisposableDomListener=function(je,E,pe,he){je.addEventListener(E,pe,he);var ce=!1;return{dispose:function(){ce||(ce=!0,je.removeEventListener(E,pe,he))}}}},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.Utf8ToUtf32=Se.StringToUtf32=Se.utf32ToString=Se.stringFromCodePoint=void 0,Se.stringFromCodePoint=function(pe){return pe>65535?(pe-=65536,String.fromCharCode(55296+(pe>>10))+String.fromCharCode(pe%1024+56320)):String.fromCharCode(pe)},Se.utf32ToString=function(pe,he,ce){he===void 0&&(he=0),ce===void 0&&(ce=pe.length);for(var oe="",ie=he;ie<ce;++ie){var le=pe[ie];le>65535?(le-=65536,oe+=String.fromCharCode(55296+(le>>10))+String.fromCharCode(le%1024+56320)):oe+=String.fromCharCode(le)}return oe};var je=function(){function pe(){this._interim=0}return pe.prototype.clear=function(){this._interim=0},pe.prototype.decode=function(he,ce){var oe=he.length;if(!oe)return 0;var ie=0,le=0;this._interim&&(56320<=(re=he.charCodeAt(le++))&&re<=57343?ce[ie++]=1024*(this._interim-55296)+re-56320+65536:(ce[ie++]=this._interim,ce[ie++]=re),this._interim=0);for(var se=le;se<oe;++se){var ae=he.charCodeAt(se);if(55296<=ae&&ae<=56319){if(++se>=oe)return this._interim=ae,ie;var re;56320<=(re=he.charCodeAt(se))&&re<=57343?ce[ie++]=1024*(ae-55296)+re-56320+65536:(ce[ie++]=ae,ce[ie++]=re)}else ce[ie++]=ae}return ie},pe}();Se.StringToUtf32=je;var E=function(){function pe(){this.interim=new Uint8Array(3)}return pe.prototype.clear=function(){this.interim.fill(0)},pe.prototype.decode=function(he,ce){var oe=he.length;if(!oe)return 0;var ie,le,se,ae,re=0,ne=0,te=0;if(this.interim[0]){var a=!1,y=this.interim[0];y&=(224&y)==192?31:(240&y)==224?15:7;for(var x=0,b=void 0;(b=63&this.interim[++x])&&x<4;)y<<=6,y|=b;for(var ee=(224&this.interim[0])==192?2:(240&this.interim[0])==224?3:4,z=ee-x;te<z;){if(te>=oe)return 0;if((192&(b=he[te++]))!=128){te--,a=!0;break}this.interim[x++]=b,y<<=6,y|=63&b}a||(ee===2?y<128?te--:ce[re++]=y:ee===3?y<2048||y>=55296&&y<=57343||(ce[re++]=y):y<65536||y>1114111||(ce[re++]=y)),this.interim.fill(0)}for(var ue=oe-4,de=te;de<oe;){for(;!(!(de<ue)||128&(ie=he[de])||128&(le=he[de+1])||128&(se=he[de+2])||128&(ae=he[de+3]));)ce[re++]=ie,ce[re++]=le,ce[re++]=se,ce[re++]=ae,de+=4;if((ie=he[de++])<128)ce[re++]=ie;else if((224&ie)==192){if(de>=oe)return this.interim[0]=ie,re;if((192&(le=he[de++]))!=128){de--;continue}if((ne=(31&ie)<<6|63&le)<128){de--;continue}ce[re++]=ne}else if((240&ie)==224){if(de>=oe)return this.interim[0]=ie,re;if((192&(le=he[de++]))!=128){de--;continue}if(de>=oe)return this.interim[0]=ie,this.interim[1]=le,re;if((192&(se=he[de++]))!=128){de--;continue}if((ne=(15&ie)<<12|(63&le)<<6|63&se)<2048||ne>=55296&&ne<=57343)continue;ce[re++]=ne}else if((248&ie)==240){if(de>=oe)return this.interim[0]=ie,re;if((192&(le=he[de++]))!=128){de--;continue}if(de>=oe)return this.interim[0]=ie,this.interim[1]=le,re;if((192&(se=he[de++]))!=128){de--;continue}if(de>=oe)return this.interim[0]=ie,this.interim[1]=le,this.interim[2]=se,re;if((192&(ae=he[de++]))!=128){de--;continue}if((ne=(7&ie)<<18|(63&le)<<12|(63&se)<<6|63&ae)<65536||ne>1114111)continue;ce[re++]=ne}}return re},pe}();Se.Utf8ToUtf32=E},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.CHAR_ATLAS_CELL_SPACING=Se.DIM_OPACITY=Se.INVERTED_DEFAULT_COLOR=void 0,Se.INVERTED_DEFAULT_COLOR=257,Se.DIM_OPACITY=.5,Se.CHAR_ATLAS_CELL_SPACING=1},function(ot,Se,ye){"use strict";var je,E,pe,he;function ce(ie){var le=ie.toString(16);return le.length<2?"0"+le:le}function oe(ie,le){return ie<le?(le+.05)/(ie+.05):(ie+.05)/(le+.05)}Object.defineProperty(Se,"__esModule",{value:!0}),Se.contrastRatio=Se.toPaddedHex=Se.rgba=Se.rgb=Se.css=Se.color=Se.channels=void 0,function(ie){ie.toCss=function(le,se,ae,re){return re!==void 0?"#"+ce(le)+ce(se)+ce(ae)+ce(re):"#"+ce(le)+ce(se)+ce(ae)},ie.toRgba=function(le,se,ae,re){return re===void 0&&(re=255),(le<<24|se<<16|ae<<8|re)>>>0}}(je=Se.channels||(Se.channels={})),(E=Se.color||(Se.color={})).blend=function(ie,le){var se=(255&le.rgba)/255;if(se===1)return{css:le.css,rgba:le.rgba};var ae=le.rgba>>24&255,re=le.rgba>>16&255,ne=le.rgba>>8&255,te=ie.rgba>>24&255,a=ie.rgba>>16&255,y=ie.rgba>>8&255,x=te+Math.round((ae-te)*se),b=a+Math.round((re-a)*se),ee=y+Math.round((ne-y)*se);return{css:je.toCss(x,b,ee),rgba:je.toRgba(x,b,ee)}},E.isOpaque=function(ie){return(255&ie.rgba)==255},E.ensureContrastRatio=function(ie,le,se){var ae=he.ensureContrastRatio(ie.rgba,le.rgba,se);if(ae)return he.toColor(ae>>24&255,ae>>16&255,ae>>8&255)},E.opaque=function(ie){var le=(255|ie.rgba)>>>0,se=he.toChannels(le),ae=se[0],re=se[1],ne=se[2];return{css:je.toCss(ae,re,ne),rgba:le}},E.opacity=function(ie,le){var se=Math.round(255*le),ae=he.toChannels(ie.rgba),re=ae[0],ne=ae[1],te=ae[2];return{css:je.toCss(re,ne,te,se),rgba:je.toRgba(re,ne,te,se)}},(Se.css||(Se.css={})).toColor=function(ie){switch(ie.length){case 7:return{css:ie,rgba:(parseInt(ie.slice(1),16)<<8|255)>>>0};case 9:return{css:ie,rgba:parseInt(ie.slice(1),16)>>>0}}throw new Error("css.toColor: Unsupported css format")},function(ie){function le(se,ae,re){var ne=se/255,te=ae/255,a=re/255;return .2126*(ne<=.03928?ne/12.92:Math.pow((ne+.055)/1.055,2.4))+.7152*(te<=.03928?te/12.92:Math.pow((te+.055)/1.055,2.4))+.0722*(a<=.03928?a/12.92:Math.pow((a+.055)/1.055,2.4))}ie.relativeLuminance=function(se){return le(se>>16&255,se>>8&255,255&se)},ie.relativeLuminance2=le}(pe=Se.rgb||(Se.rgb={})),function(ie){function le(ae,re,ne){for(var te=ae>>24&255,a=ae>>16&255,y=ae>>8&255,x=re>>24&255,b=re>>16&255,ee=re>>8&255,z=oe(pe.relativeLuminance2(x,ee,b),pe.relativeLuminance2(te,a,y));z<ne&&(x>0||b>0||ee>0);)x-=Math.max(0,Math.ceil(.1*x)),b-=Math.max(0,Math.ceil(.1*b)),ee-=Math.max(0,Math.ceil(.1*ee)),z=oe(pe.relativeLuminance2(x,ee,b),pe.relativeLuminance2(te,a,y));return(x<<24|b<<16|ee<<8|255)>>>0}function se(ae,re,ne){for(var te=ae>>24&255,a=ae>>16&255,y=ae>>8&255,x=re>>24&255,b=re>>16&255,ee=re>>8&255,z=oe(pe.relativeLuminance2(x,ee,b),pe.relativeLuminance2(te,a,y));z<ne&&(x<255||b<255||ee<255);)x=Math.min(255,x+Math.ceil(.1*(255-x))),b=Math.min(255,b+Math.ceil(.1*(255-b))),ee=Math.min(255,ee+Math.ceil(.1*(255-ee))),z=oe(pe.relativeLuminance2(x,ee,b),pe.relativeLuminance2(te,a,y));return(x<<24|b<<16|ee<<8|255)>>>0}ie.ensureContrastRatio=function(ae,re,ne){var te=pe.relativeLuminance(ae>>8),a=pe.relativeLuminance(re>>8);if(oe(te,a)<ne)return a<te?le(ae,re,ne):se(ae,re,ne)},ie.reduceLuminance=le,ie.increaseLuminance=se,ie.toChannels=function(ae){return[ae>>24&255,ae>>16&255,ae>>8&255,255&ae]},ie.toColor=function(ae,re,ne){return{css:je.toCss(ae,re,ne),rgba:je.toRgba(ae,re,ne)}}}(he=Se.rgba||(Se.rgba={})),Se.toPaddedHex=ce,Se.contrastRatio=oe},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.isLinux=Se.isWindows=Se.isIphone=Se.isIpad=Se.isMac=Se.isSafari=Se.isFirefox=void 0;var je=typeof navigator=="undefined",E=je?"node":navigator.userAgent,pe=je?"node":navigator.platform;function he(ce,oe){return ce.indexOf(oe)>=0}Se.isFirefox=!!~E.indexOf("Firefox"),Se.isSafari=/^((?!chrome|android).)*safari/i.test(E),Se.isMac=he(["Macintosh","MacIntel","MacPPC","Mac68K"],pe),Se.isIpad=pe==="iPad",Se.isIphone=pe==="iPhone",Se.isWindows=he(["Windows","Win16","Win32","WinCE"],pe),Se.isLinux=pe.indexOf("Linux")>=0},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.C1=Se.C0=void 0,function(je){je.NUL="\0",je.SOH="",je.STX="",je.ETX="",je.EOT="",je.ENQ="",je.ACK="",je.BEL="\x07",je.BS="\b",je.HT=" ",je.LF=`
|
|
|
`,je.VT="\v",je.FF="\f",je.CR="\r",je.SO="",je.SI="",je.DLE="",je.DC1="",je.DC2="",je.DC3="",je.DC4="",je.NAK="",je.SYN="",je.ETB="",je.CAN="",je.EM="",je.SUB="",je.ESC="\x1B",je.FS="",je.GS="",je.RS="",je.US="",je.SP=" ",je.DEL="\x7F"}(Se.C0||(Se.C0={})),function(je){je.PAD="\x80",je.HOP="\x81",je.BPH="\x82",je.NBH="\x83",je.IND="\x84",je.NEL="\x85",je.SSA="\x86",je.ESA="\x87",je.HTS="\x88",je.HTJ="\x89",je.VTS="\x8A",je.PLD="\x8B",je.PLU="\x8C",je.RI="\x8D",je.SS2="\x8E",je.SS3="\x8F",je.DCS="\x90",je.PU1="\x91",je.PU2="\x92",je.STS="\x93",je.CCH="\x94",je.MW="\x95",je.SPA="\x96",je.EPA="\x97",je.SOS="\x98",je.SGCI="\x99",je.SCI="\x9A",je.CSI="\x9B",je.ST="\x9C",je.OSC="\x9D",je.PM="\x9E",je.APC="\x9F"}(Se.C1||(Se.C1={}))},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.BaseRenderLayer=void 0;var je=ye(3),E=ye(9),pe=ye(25),he=ye(6),ce=ye(28),oe=ye(10),ie=ye(17),le=function(){function se(ae,re,ne,te,a,y,x,b){this._container=ae,this._alpha=te,this._colors=a,this._rendererId=y,this._bufferService=x,this._optionsService=b,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-"+re+"-layer"),this._canvas.style.zIndex=ne.toString(),this._initCanvas(),this._container.appendChild(this._canvas)}return se.prototype.dispose=function(){var ae;ie.removeElementFromParent(this._canvas),(ae=this._charAtlas)===null||ae===void 0||ae.dispose()},se.prototype._initCanvas=function(){this._ctx=ce.throwIfFalsy(this._canvas.getContext("2d",{alpha:this._alpha})),this._alpha||this._clearAll()},se.prototype.onOptionsChanged=function(){},se.prototype.onBlur=function(){},se.prototype.onFocus=function(){},se.prototype.onCursorMove=function(){},se.prototype.onGridChanged=function(ae,re){},se.prototype.onSelectionChanged=function(ae,re,ne){ne===void 0&&(ne=!1)},se.prototype.setColors=function(ae){this._refreshCharAtlas(ae)},se.prototype._setTransparency=function(ae){if(ae!==this._alpha){var re=this._canvas;this._alpha=ae,this._canvas=this._canvas.cloneNode(),this._initCanvas(),this._container.replaceChild(this._canvas,re),this._refreshCharAtlas(this._colors),this.onGridChanged(0,this._bufferService.rows-1)}},se.prototype._refreshCharAtlas=function(ae){this._scaledCharWidth<=0&&this._scaledCharHeight<=0||(this._charAtlas=pe.acquireCharAtlas(this._optionsService.options,this._rendererId,ae,this._scaledCharWidth,this._scaledCharHeight),this._charAtlas.warmUp())},se.prototype.resize=function(ae){this._scaledCellWidth=ae.scaledCellWidth,this._scaledCellHeight=ae.scaledCellHeight,this._scaledCharWidth=ae.scaledCharWidth,this._scaledCharHeight=ae.scaledCharHeight,this._scaledCharLeft=ae.scaledCharLeft,this._scaledCharTop=ae.scaledCharTop,this._canvas.width=ae.scaledCanvasWidth,this._canvas.height=ae.scaledCanvasHeight,this._canvas.style.width=ae.canvasWidth+"px",this._canvas.style.height=ae.canvasHeight+"px",this._alpha||this._clearAll(),this._refreshCharAtlas(this._colors)},se.prototype._fillCells=function(ae,re,ne,te){this._ctx.fillRect(ae*this._scaledCellWidth,re*this._scaledCellHeight,ne*this._scaledCellWidth,te*this._scaledCellHeight)},se.prototype._fillBottomLineAtCells=function(ae,re,ne){ne===void 0&&(ne=1),this._ctx.fillRect(ae*this._scaledCellWidth,(re+1)*this._scaledCellHeight-window.devicePixelRatio-1,ne*this._scaledCellWidth,window.devicePixelRatio)},se.prototype._fillLeftLineAtCell=function(ae,re,ne){this._ctx.fillRect(ae*this._scaledCellWidth,re*this._scaledCellHeight,window.devicePixelRatio*ne,this._scaledCellHeight)},se.prototype._strokeRectAtCell=function(ae,re,ne,te){this._ctx.lineWidth=window.devicePixelRatio,this._ctx.strokeRect(ae*this._scaledCellWidth+window.devicePixelRatio/2,re*this._scaledCellHeight+window.devicePixelRatio/2,ne*this._scaledCellWidth-window.devicePixelRatio,te*this._scaledCellHeight-window.devicePixelRatio)},se.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))},se.prototype._clearCells=function(ae,re,ne,te){this._alpha?this._ctx.clearRect(ae*this._scaledCellWidth,re*this._scaledCellHeight,ne*this._scaledCellWidth,te*this._scaledCellHeight):(this._ctx.fillStyle=this._colors.background.css,this._ctx.fillRect(ae*this._scaledCellWidth,re*this._scaledCellHeight,ne*this._scaledCellWidth,te*this._scaledCellHeight))},se.prototype._fillCharTrueColor=function(ae,re,ne){this._ctx.font=this._getFont(!1,!1),this._ctx.textBaseline="middle",this._clipRow(ne),this._ctx.fillText(ae.getChars(),re*this._scaledCellWidth+this._scaledCharLeft,ne*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2)},se.prototype._drawChars=function(ae,re,ne){var te,a,y=this._getContrastColor(ae);y||ae.isFgRGB()||ae.isBgRGB()?this._drawUncachedChars(ae,re,ne,y):(ae.isInverse()?(te=ae.isBgDefault()?E.INVERTED_DEFAULT_COLOR:ae.getBgColor(),a=ae.isFgDefault()?E.INVERTED_DEFAULT_COLOR:ae.getFgColor()):(a=ae.isBgDefault()?je.DEFAULT_COLOR:ae.getBgColor(),te=ae.isFgDefault()?je.DEFAULT_COLOR:ae.getFgColor()),te+=this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&te<8?8:0,this._currentGlyphIdentifier.chars=ae.getChars()||je.WHITESPACE_CELL_CHAR,this._currentGlyphIdentifier.code=ae.getCode()||je.WHITESPACE_CELL_CODE,this._currentGlyphIdentifier.bg=a,this._currentGlyphIdentifier.fg=te,this._currentGlyphIdentifier.bold=!!ae.isBold(),this._currentGlyphIdentifier.dim=!!ae.isDim(),this._currentGlyphIdentifier.italic=!!ae.isItalic(),this._charAtlas&&this._charAtlas.draw(this._ctx,this._currentGlyphIdentifier,re*this._scaledCellWidth+this._scaledCharLeft,ne*this._scaledCellHeight+this._scaledCharTop)||this._drawUncachedChars(ae,re,ne))},se.prototype._drawUncachedChars=function(ae,re,ne,te){if(this._ctx.save(),this._ctx.font=this._getFont(!!ae.isBold(),!!ae.isItalic()),this._ctx.textBaseline="middle",ae.isInverse())if(te)this._ctx.fillStyle=te.css;else if(ae.isBgDefault())this._ctx.fillStyle=oe.color.opaque(this._colors.background).css;else if(ae.isBgRGB())this._ctx.fillStyle="rgb("+he.AttributeData.toColorRGB(ae.getBgColor()).join(",")+")";else{var a=ae.getBgColor();this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&a<8&&(a+=8),this._ctx.fillStyle=this._colors.ansi[a].css}else if(te)this._ctx.fillStyle=te.css;else if(ae.isFgDefault())this._ctx.fillStyle=this._colors.foreground.css;else if(ae.isFgRGB())this._ctx.fillStyle="rgb("+he.AttributeData.toColorRGB(ae.getFgColor()).join(",")+")";else{var y=ae.getFgColor();this._optionsService.options.drawBoldTextInBrightColors&&ae.isBold()&&y<8&&(y+=8),this._ctx.fillStyle=this._colors.ansi[y].css}this._clipRow(ne),ae.isDim()&&(this._ctx.globalAlpha=E.DIM_OPACITY),this._ctx.fillText(ae.getChars(),re*this._scaledCellWidth+this._scaledCharLeft,ne*this._scaledCellHeight+this._scaledCharTop+this._scaledCharHeight/2),this._ctx.restore()},se.prototype._clipRow=function(ae){this._ctx.beginPath(),this._ctx.rect(0,ae*this._scaledCellHeight,this._bufferService.cols*this._scaledCellWidth,this._scaledCellHeight),this._ctx.clip()},se.prototype._getFont=function(ae,re){return(re?"italic":"")+" "+(ae?this._optionsService.options.fontWeightBold:this._optionsService.options.fontWeight)+" "+this._optionsService.options.fontSize*window.devicePixelRatio+"px "+this._optionsService.options.fontFamily},se.prototype._getContrastColor=function(ae){if(this._optionsService.options.minimumContrastRatio!==1){var re=this._colors.contrastCache.getColor(ae.bg,ae.fg);if(re!==void 0)return re||void 0;var ne=ae.getFgColor(),te=ae.getFgColorMode(),a=ae.getBgColor(),y=ae.getBgColorMode(),x=!!ae.isInverse(),b=!!ae.isInverse();if(x){var ee=ne;ne=a,a=ee;var z=te;te=y,y=z}var ue=this._resolveBackgroundRgba(y,a,x),de=this._resolveForegroundRgba(te,ne,x,b),ge=oe.rgba.ensureContrastRatio(ue,de,this._optionsService.options.minimumContrastRatio);if(ge){var fe={css:oe.channels.toCss(ge>>24&255,ge>>16&255,ge>>8&255),rgba:ge};return this._colors.contrastCache.setColor(ae.bg,ae.fg,fe),fe}this._colors.contrastCache.setColor(ae.bg,ae.fg,null)}},se.prototype._resolveBackgroundRgba=function(ae,re,ne){switch(ae){case 16777216:case 33554432:return this._colors.ansi[re].rgba;case 50331648:return re<<8;case 0:default:return ne?this._colors.foreground.rgba:this._colors.background.rgba}},se.prototype._resolveForegroundRgba=function(ae,re,ne,te){switch(ae){case 16777216:case 33554432:return this._optionsService.options.drawBoldTextInBrightColors&&te&&re<8&&(re+=8),this._colors.ansi[re].rgba;case 50331648:return re<<8;case 0:default:return ne?this._colors.background.rgba:this._colors.foreground.rgba}},se}();Se.BaseRenderLayer=le},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.createDecorator=Se.getServiceDependencies=Se.serviceRegistry=void 0;function je(E,pe,he){pe.di$target===pe?pe.di$dependencies.push({id:E,index:he}):(pe.di$dependencies=[{id:E,index:he}],pe.di$target=pe)}Se.serviceRegistry=new Map,Se.getServiceDependencies=function(E){return E.di$dependencies||[]},Se.createDecorator=function(E){if(Se.serviceRegistry.has(E))return Se.serviceRegistry.get(E);var pe=function(he,ce,oe){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");je(pe,he,oe)};return pe.toString=function(){return E},Se.serviceRegistry.set(E,pe),pe}},function(ot,Se,ye){"use strict";function je(E,pe,he,ce){if(he===void 0&&(he=0),ce===void 0&&(ce=E.length),he>=E.length)return E;he=(E.length+he)%E.length,ce=ce>=E.length?E.length:(E.length+ce)%E.length;for(var oe=he;oe<ce;++oe)E[oe]=pe;return E}Object.defineProperty(Se,"__esModule",{value:!0}),Se.concat=Se.fillFallback=Se.fill=void 0,Se.fill=function(E,pe,he,ce){return E.fill?E.fill(pe,he,ce):je(E,pe,he,ce)},Se.fillFallback=je,Se.concat=function(E,pe){var he=new E.constructor(E.length+pe.length);return he.set(E),he.set(pe,E.length),he}},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.BufferLine=Se.DEFAULT_ATTR_DATA=void 0;var je=ye(8),E=ye(3),pe=ye(4),he=ye(6);Se.DEFAULT_ATTR_DATA=Object.freeze(new he.AttributeData);var ce=function(){function oe(ie,le,se){se===void 0&&(se=!1),this.isWrapped=se,this._combined={},this._extendedAttrs={},this._data=new Uint32Array(3*ie);for(var ae=le||pe.CellData.fromCharData([0,E.NULL_CELL_CHAR,E.NULL_CELL_WIDTH,E.NULL_CELL_CODE]),re=0;re<ie;++re)this.setCell(re,ae);this.length=ie}return oe.prototype.get=function(ie){var le=this._data[3*ie+0],se=2097151≤return[this._data[3*ie+1],2097152&le?this._combined[ie]:se?je.stringFromCodePoint(se):"",le>>22,2097152&le?this._combined[ie].charCodeAt(this._combined[ie].length-1):se]},oe.prototype.set=function(ie,le){this._data[3*ie+1]=le[E.CHAR_DATA_ATTR_INDEX],le[E.CHAR_DATA_CHAR_INDEX].length>1?(this._combined[ie]=le[1],this._data[3*ie+0]=2097152|ie|le[E.CHAR_DATA_WIDTH_INDEX]<<22):this._data[3*ie+0]=le[E.CHAR_DATA_CHAR_INDEX].charCodeAt(0)|le[E.CHAR_DATA_WIDTH_INDEX]<<22},oe.prototype.getWidth=function(ie){return this._data[3*ie+0]>>22},oe.prototype.hasWidth=function(ie){return 12582912&this._data[3*ie+0]},oe.prototype.getFg=function(ie){return this._data[3*ie+1]},oe.prototype.getBg=function(ie){return this._data[3*ie+2]},oe.prototype.hasContent=function(ie){return 4194303&this._data[3*ie+0]},oe.prototype.getCodePoint=function(ie){var le=this._data[3*ie+0];return 2097152&le?this._combined[ie].charCodeAt(this._combined[ie].length-1):2097151&le},oe.prototype.isCombined=function(ie){return 2097152&this._data[3*ie+0]},oe.prototype.getString=function(ie){var le=this._data[3*ie+0];return 2097152&le?this._combined[ie]:2097151&le?je.stringFromCodePoint(2097151&le):""},oe.prototype.loadCell=function(ie,le){var se=3*ie;return le.content=this._data[se+0],le.fg=this._data[se+1],le.bg=this._data[se+2],2097152&le.content&&(le.combinedData=this._combined[ie]),268435456&le.bg&&(le.extended=this._extendedAttrs[ie]),le},oe.prototype.setCell=function(ie,le){2097152&le.content&&(this._combined[ie]=le.combinedData),268435456&le.bg&&(this._extendedAttrs[ie]=le.extended),this._data[3*ie+0]=le.content,this._data[3*ie+1]=le.fg,this._data[3*ie+2]=le.bg},oe.prototype.setCellFromCodePoint=function(ie,le,se,ae,re,ne){268435456&re&&(this._extendedAttrs[ie]=ne),this._data[3*ie+0]=le|se<<22,this._data[3*ie+1]=ae,this._data[3*ie+2]=re},oe.prototype.addCodepointToCell=function(ie,le){var se=this._data[3*ie+0];2097152&se?this._combined[ie]+=je.stringFromCodePoint(le):(2097151&se?(this._combined[ie]=je.stringFromCodePoint(2097151&se)+je.stringFromCodePoint(le),se&=-2097152,se|=2097152):se=le|1<<22,this._data[3*ie+0]=se)},oe.prototype.insertCells=function(ie,le,se,ae){if((ie%=this.length)&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new he.ExtendedAttrs),le<this.length-ie){for(var re=new pe.CellData,ne=this.length-ie-le-1;ne>=0;--ne)this.setCell(ie+le+ne,this.loadCell(ie+ne,re));for(ne=0;ne<le;++ne)this.setCell(ie+ne,se)}else for(ne=ie;ne<this.length;++ne)this.setCell(ne,se);this.getWidth(this.length-1)===2&&this.setCellFromCodePoint(this.length-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new he.ExtendedAttrs)},oe.prototype.deleteCells=function(ie,le,se,ae){if(ie%=this.length,le<this.length-ie){for(var re=new pe.CellData,ne=0;ne<this.length-ie-le;++ne)this.setCell(ie+ne,this.loadCell(ie+le+ne,re));for(ne=this.length-le;ne<this.length;++ne)this.setCell(ne,se)}else for(ne=ie;ne<this.length;++ne)this.setCell(ne,se);ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new he.ExtendedAttrs),this.getWidth(ie)!==0||this.hasContent(ie)||this.setCellFromCodePoint(ie,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new he.ExtendedAttrs)},oe.prototype.replaceCells=function(ie,le,se,ae){for(ie&&this.getWidth(ie-1)===2&&this.setCellFromCodePoint(ie-1,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new he.ExtendedAttrs),le<this.length&&this.getWidth(le-1)===2&&this.setCellFromCodePoint(le,0,1,(ae==null?void 0:ae.fg)||0,(ae==null?void 0:ae.bg)||0,(ae==null?void 0:ae.extended)||new he.ExtendedAttrs);ie<le&&ie<this.length;)this.setCell(ie++,se)},oe.prototype.resize=function(ie,le){if(ie!==this.length){if(ie>this.length){var se=new Uint32Array(3*ie);this.length&&(3*ie<this._data.length?se.set(this._data.subarray(0,3*ie)):se.set(this._data)),this._data=se;for(var ae=this.length;ae<ie;++ae)this.setCell(ae,le)}else if(ie){(se=new Uint32Array(3*ie)).set(this._data.subarray(0,3*ie)),this._data=se;var re=Object.keys(this._combined);for(ae=0;ae<re.length;ae++){var ne=parseInt(re[ae],10);ne>=ie&&delete this._combined[ne]}}else this._data=new Uint32Array(0),this._combined={};this.length=ie}},oe.prototype.fill=function(ie){this._combined={},this._extendedAttrs={};for(var le=0;le<this.length;++le)this.setCell(le,ie)},oe.prototype.copyFrom=function(ie){for(var le in this.length!==ie.length?this._data=new Uint32Array(ie._data):this._data.set(ie._data),this.length=ie.length,this._combined={},ie._combined)this._combined[le]=ie._combined[le];for(var le in this._extendedAttrs={},ie._extendedAttrs)this._extendedAttrs[le]=ie._extendedAttrs[le];this.isWrapped=ie.isWrapped},oe.prototype.clone=function(){var ie=new oe(0);for(var le in ie._data=new Uint32Array(this._data),ie.length=this.length,this._combined)ie._combined[le]=this._combined[le];for(var le in this._extendedAttrs)ie._extendedAttrs[le]=this._extendedAttrs[le];return ie.isWrapped=this.isWrapped,ie},oe.prototype.getTrimmedLength=function(){for(var ie=this.length-1;ie>=0;--ie)if(4194303&this._data[3*ie+0])return ie+(this._data[3*ie+0]>>22);return 0},oe.prototype.copyCellsFrom=function(ie,le,se,ae,re){var ne=ie._data;if(re)for(var te=ae-1;te>=0;te--)for(var a=0;a<3;a++)this._data[3*(se+te)+a]=ne[3*(le+te)+a];else for(te=0;te<ae;te++)for(a=0;a<3;a++)this._data[3*(se+te)+a]=ne[3*(le+te)+a];var y=Object.keys(ie._combined);for(a=0;a<y.length;a++){var x=parseInt(y[a],10);x>=le&&(this._combined[x-le+se]=ie._combined[x])}},oe.prototype.translateToString=function(ie,le,se){ie===void 0&&(ie=!1),le===void 0&&(le=0),se===void 0&&(se=this.length),ie&&(se=Math.min(se,this.getTrimmedLength()));for(var ae="";le<se;){var re=this._data[3*le+0],ne=2097151&re;ae+=2097152&re?this._combined[le]:ne?je.stringFromCodePoint(ne):E.WHITESPACE_CELL_CHAR,le+=re>>22||1}return ae},oe}();Se.BufferLine=ce},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.removeElementFromParent=void 0,Se.removeElementFromParent=function(){for(var je,E=[],pe=0;pe<arguments.length;pe++)E[pe]=arguments[pe];for(var he=0,ce=E;he<ce.length;he++){var oe=ce[he];(je=oe==null?void 0:oe.parentElement)===null||je===void 0||je.removeChild(oe)}}},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.tooMuchOutput=Se.promptLabel=void 0,Se.promptLabel="Terminal input",Se.tooMuchOutput="Too much output to announce, navigate to rows manually to read"},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(de,ge){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(fe,me){fe.__proto__=me}||function(fe,me){for(var be in me)me.hasOwnProperty(be)&&(fe[be]=me[be])})(de,ge)},function(de,ge){function fe(){this.constructor=de}je(de,ge),de.prototype=ge===null?Object.create(ge):(fe.prototype=ge.prototype,new fe)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.InputHandler=Se.WindowsOptionsReportType=void 0;var pe,he=ye(12),ce=ye(20),oe=ye(39),ie=ye(2),le=ye(15),se=ye(8),ae=ye(16),re=ye(0),ne=ye(3),te=ye(4),a=ye(6),y=ye(22),x=ye(24),b={"(":0,")":1,"*":2,"+":3,"-":1,".":2};function ee(de,ge){if(de>24)return ge.setWinLines||!1;switch(de){case 1:return!!ge.restoreWin;case 2:return!!ge.minimizeWin;case 3:return!!ge.setWinPosition;case 4:return!!ge.setWinSizePixels;case 5:return!!ge.raiseWin;case 6:return!!ge.lowerWin;case 7:return!!ge.refreshWin;case 8:return!!ge.setWinSizeChars;case 9:return!!ge.maximizeWin;case 10:return!!ge.fullscreenWin;case 11:return!!ge.getWinState;case 13:return!!ge.getWinPosition;case 14:return!!ge.getWinSizePixels;case 15:return!!ge.getScreenSizePixels;case 16:return!!ge.getCellSizePixels;case 18:return!!ge.getWinSizeChars;case 19:return!!ge.getScreenSizeChars;case 20:return!!ge.getIconTitle;case 21:return!!ge.getWinTitle;case 22:return!!ge.pushTitle;case 23:return!!ge.popTitle;case 24:return!!ge.setWinLines}return!1}(function(de){de[de.GET_WIN_SIZE_PIXELS=0]="GET_WIN_SIZE_PIXELS",de[de.GET_CELL_SIZE_PIXELS=1]="GET_CELL_SIZE_PIXELS"})(pe=Se.WindowsOptionsReportType||(Se.WindowsOptionsReportType={}));var z=function(){function de(ge,fe,me,be){this._bufferService=ge,this._coreService=fe,this._logService=me,this._optionsService=be,this._data=new Uint32Array(0)}return de.prototype.hook=function(ge){this._data=new Uint32Array(0)},de.prototype.put=function(ge,fe,me){this._data=le.concat(this._data,ge.subarray(fe,me))},de.prototype.unhook=function(ge){if(ge){var fe=se.utf32ToString(this._data);switch(this._data=new Uint32Array(0),fe){case'"q':return this._coreService.triggerDataEvent(he.C0.ESC+'P1$r0"q'+he.C0.ESC+"\\");case'"p':return this._coreService.triggerDataEvent(he.C0.ESC+'P1$r61;1"p'+he.C0.ESC+"\\");case"r":var me=this._bufferService.buffer.scrollTop+1+";"+(this._bufferService.buffer.scrollBottom+1)+"r";return this._coreService.triggerDataEvent(he.C0.ESC+"P1$r"+me+he.C0.ESC+"\\");case"m":return this._coreService.triggerDataEvent(he.C0.ESC+"P1$r0m"+he.C0.ESC+"\\");case" q":var be={block:2,underline:4,bar:6}[this._optionsService.options.cursorStyle];return be-=this._optionsService.options.cursorBlink?1:0,this._coreService.triggerDataEvent(he.C0.ESC+"P1$r"+be+" q"+he.C0.ESC+"\\");default:this._logService.debug("Unknown DCS $q %s",fe),this._coreService.triggerDataEvent(he.C0.ESC+"P0$r"+he.C0.ESC+"\\")}}else this._data=new Uint32Array(0)},de}(),ue=function(de){function ge(fe,me,be,ve,Pe,Ee,Ae,Ce,_e){_e===void 0&&(_e=new oe.EscapeSequenceParser);var we=de.call(this)||this;we._bufferService=fe,we._charsetService=me,we._coreService=be,we._dirtyRowService=ve,we._logService=Pe,we._optionsService=Ee,we._coreMouseService=Ae,we._unicodeService=Ce,we._parser=_e,we._parseBuffer=new Uint32Array(4096),we._stringDecoder=new se.StringToUtf32,we._utf8Decoder=new se.Utf8ToUtf32,we._workCell=new te.CellData,we._windowTitle="",we._iconName="",we._windowTitleStack=[],we._iconNameStack=[],we._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),we._eraseAttrDataInternal=ae.DEFAULT_ATTR_DATA.clone(),we._onRequestBell=new re.EventEmitter,we._onRequestRefreshRows=new re.EventEmitter,we._onRequestReset=new re.EventEmitter,we._onRequestScroll=new re.EventEmitter,we._onRequestSyncScrollBar=new re.EventEmitter,we._onRequestWindowsOptionsReport=new re.EventEmitter,we._onA11yChar=new re.EventEmitter,we._onA11yTab=new re.EventEmitter,we._onCursorMove=new re.EventEmitter,we._onLineFeed=new re.EventEmitter,we._onScroll=new re.EventEmitter,we._onTitleChange=new re.EventEmitter,we.register(we._parser),we._parser.setCsiHandlerFallback(function(Le,Qe){we._logService.debug("Unknown CSI code: ",{identifier:we._parser.identToString(Le),params:Qe.toArray()})}),we._parser.setEscHandlerFallback(function(Le){we._logService.debug("Unknown ESC code: ",{identifier:we._parser.identToString(Le)})}),we._parser.setExecuteHandlerFallback(function(Le){we._logService.debug("Unknown EXECUTE code: ",{code:Le})}),we._parser.setOscHandlerFallback(function(Le,Qe,We){we._logService.debug("Unknown OSC code: ",{identifier:Le,action:Qe,data:We})}),we._parser.setDcsHandlerFallback(function(Le,Qe,We){Qe==="HOOK"&&(We=We.toArray()),we._logService.debug("Unknown DCS code: ",{identifier:we._parser.identToString(Le),action:Qe,payload:We})}),we._parser.setPrintHandler(function(Le,Qe,We){return we.print(Le,Qe,We)}),we._parser.setCsiHandler({final:"@"},function(Le){return we.insertChars(Le)}),we._parser.setCsiHandler({intermediates:" ",final:"@"},function(Le){return we.scrollLeft(Le)}),we._parser.setCsiHandler({final:"A"},function(Le){return we.cursorUp(Le)}),we._parser.setCsiHandler({intermediates:" ",final:"A"},function(Le){return we.scrollRight(Le)}),we._parser.setCsiHandler({final:"B"},function(Le){return we.cursorDown(Le)}),we._parser.setCsiHandler({final:"C"},function(Le){return we.cursorForward(Le)}),we._parser.setCsiHandler({final:"D"},function(Le){return we.cursorBackward(Le)}),we._parser.setCsiHandler({final:"E"},function(Le){return we.cursorNextLine(Le)}),we._parser.setCsiHandler({final:"F"},function(Le){return we.cursorPrecedingLine(Le)}),we._parser.setCsiHandler({final:"G"},function(Le){return we.cursorCharAbsolute(Le)}),we._parser.setCsiHandler({final:"H"},function(Le){return we.cursorPosition(Le)}),we._parser.setCsiHandler({final:"I"},function(Le){return we.cursorForwardTab(Le)}),we._parser.setCsiHandler({final:"J"},function(Le){return we.eraseInDisplay(Le)}),we._parser.setCsiHandler({prefix:"?",final:"J"},function(Le){return we.eraseInDisplay(Le)}),we._parser.setCsiHandler({final:"K"},function(Le){return we.eraseInLine(Le)}),we._parser.setCsiHandler({prefix:"?",final:"K"},function(Le){return we.eraseInLine(Le)}),we._parser.setCsiHandler({final:"L"},function(Le){return we.insertLines(Le)}),we._parser.setCsiHandler({final:"M"},function(Le){return we.deleteLines(Le)}),we._parser.setCsiHandler({final:"P"},function(Le){return we.deleteChars(Le)}),we._parser.setCsiHandler({final:"S"},function(Le){return we.scrollUp(Le)}),we._parser.setCsiHandler({final:"T"},function(Le){return we.scrollDown(Le)}),we._parser.setCsiHandler({final:"X"},function(Le){return we.eraseChars(Le)}),we._parser.setCsiHandler({final:"Z"},function(Le){return we.cursorBackwardTab(Le)}),we._parser.setCsiHandler({final:"`"},function(Le){return we.charPosAbsolute(Le)}),we._parser.setCsiHandler({final:"a"},function(Le){return we.hPositionRelative(Le)}),we._parser.setCsiHandler({final:"b"},function(Le){return we.repeatPrecedingCharacter(Le)}),we._parser.setCsiHandler({final:"c"},function(Le){return we.sendDeviceAttributesPrimary(Le)}),we._parser.setCsiHandler({prefix:">",final:"c"},function(Le){return we.sendDeviceAttributesSecondary(Le)}),we._parser.setCsiHandler({final:"d"},function(Le){return we.linePosAbsolute(Le)}),we._parser.setCsiHandler({final:"e"},function(Le){return we.vPositionRelative(Le)}),we._parser.setCsiHandler({final:"f"},function(Le){return we.hVPosition(Le)}),we._parser.setCsiHandler({final:"g"},function(Le){return we.tabClear(Le)}),we._parser.setCsiHandler({final:"h"},function(Le){return we.setMode(Le)}),we._parser.setCsiHandler({prefix:"?",final:"h"},function(Le){return we.setModePrivate(Le)}),we._parser.setCsiHandler({final:"l"},function(Le){return we.resetMode(Le)}),we._parser.setCsiHandler({prefix:"?",final:"l"},function(Le){return we.resetModePrivate(Le)}),we._parser.setCsiHandler({final:"m"},function(Le){return we.charAttributes(Le)}),we._parser.setCsiHandler({final:"n"},function(Le){return we.deviceStatus(Le)}),we._parser.setCsiHandler({prefix:"?",final:"n"},function(Le){return we.deviceStatusPrivate(Le)}),we._parser.setCsiHandler({intermediates:"!",final:"p"},function(Le){return we.softReset(Le)}),we._parser.setCsiHandler({intermediates:" ",final:"q"},function(Le){return we.setCursorStyle(Le)}),we._parser.setCsiHandler({final:"r"},function(Le){return we.setScrollRegion(Le)}),we._parser.setCsiHandler({final:"s"},function(Le){return we.saveCursor(Le)}),we._parser.setCsiHandler({final:"t"},function(Le){return we.windowOptions(Le)}),we._parser.setCsiHandler({final:"u"},function(Le){return we.restoreCursor(Le)}),we._parser.setCsiHandler({intermediates:"'",final:"}"},function(Le){return we.insertColumns(Le)}),we._parser.setCsiHandler({intermediates:"'",final:"~"},function(Le){return we.deleteColumns(Le)}),we._parser.setExecuteHandler(he.C0.BEL,function(){return we.bell()}),we._parser.setExecuteHandler(he.C0.LF,function(){return we.lineFeed()}),we._parser.setExecuteHandler(he.C0.VT,function(){return we.lineFeed()}),we._parser.setExecuteHandler(he.C0.FF,function(){return we.lineFeed()}),we._parser.setExecuteHandler(he.C0.CR,function(){return we.carriageReturn()}),we._parser.setExecuteHandler(he.C0.BS,function(){return we.backspace()}),we._parser.setExecuteHandler(he.C0.HT,function(){return we.tab()}),we._parser.setExecuteHandler(he.C0.SO,function(){return we.shiftOut()}),we._parser.setExecuteHandler(he.C0.SI,function(){return we.shiftIn()}),we._parser.setExecuteHandler(he.C1.IND,function(){return we.index()}),we._parser.setExecuteHandler(he.C1.NEL,function(){return we.nextLine()}),we._parser.setExecuteHandler(he.C1.HTS,function(){return we.tabSet()}),we._parser.setOscHandler(0,new y.OscHandler(function(Le){we.setTitle(Le),we.setIconName(Le)})),we._parser.setOscHandler(1,new y.OscHandler(function(Le){return we.setIconName(Le)})),we._parser.setOscHandler(2,new y.OscHandler(function(Le){return we.setTitle(Le)})),we._parser.setEscHandler({final:"7"},function(){return we.saveCursor()}),we._parser.setEscHandler({final:"8"},function(){return we.restoreCursor()}),we._parser.setEscHandler({final:"D"},function(){return we.index()}),we._parser.setEscHandler({final:"E"},function(){return we.nextLine()}),we._parser.setEscHandler({final:"H"},function(){return we.tabSet()}),we._parser.setEscHandler({final:"M"},function(){return we.reverseIndex()}),we._parser.setEscHandler({final:"="},function(){return we.keypadApplicationMode()}),we._parser.setEscHandler({final:">"},function(){return we.keypadNumericMode()}),we._parser.setEscHandler({final:"c"},function(){return we.fullReset()}),we._parser.setEscHandler({final:"n"},function(){return we.setgLevel(2)}),we._parser.setEscHandler({final:"o"},function(){return we.setgLevel(3)}),we._parser.setEscHandler({final:"|"},function(){return we.setgLevel(3)}),we._parser.setEscHandler({final:"}"},function(){return we.setgLevel(2)}),we._parser.setEscHandler({final:"~"},function(){return we.setgLevel(1)}),we._parser.setEscHandler({intermediates:"%",final:"@"},function(){return we.selectDefaultCharset()}),we._parser.setEscHandler({intermediates:"%",final:"G"},function(){return we.selectDefaultCharset()});var Me=function(Le){Oe._parser.setEscHandler({intermediates:"(",final:Le},function(){return we.selectCharset("("+Le)}),Oe._parser.setEscHandler({intermediates:")",final:Le},function(){return we.selectCharset(")"+Le)}),Oe._parser.setEscHandler({intermediates:"*",final:Le},function(){return we.selectCharset("*"+Le)}),Oe._parser.setEscHandler({intermediates:"+",final:Le},function(){return we.selectCharset("+"+Le)}),Oe._parser.setEscHandler({intermediates:"-",final:Le},function(){return we.selectCharset("-"+Le)}),Oe._parser.setEscHandler({intermediates:".",final:Le},function(){return we.selectCharset("."+Le)}),Oe._parser.setEscHandler({intermediates:"/",final:Le},function(){return we.selectCharset("/"+Le)})},Oe=this;for(var Fe in ce.CHARSETS)Me(Fe);return we._parser.setEscHandler({intermediates:"#",final:"8"},function(){return we.screenAlignmentPattern()}),we._parser.setErrorHandler(function(Le){return we._logService.error("Parsing error: ",Le),Le}),we._parser.setDcsHandler({intermediates:"$",final:"q"},new z(we._bufferService,we._coreService,we._logService,we._optionsService)),we}return E(ge,de),Object.defineProperty(ge.prototype,"onRequestBell",{get:function(){return this._onRequestBell.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestRefreshRows",{get:function(){return this._onRequestRefreshRows.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestReset",{get:function(){return this._onRequestReset.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestScroll",{get:function(){return this._onRequestScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestSyncScrollBar",{get:function(){return this._onRequestSyncScrollBar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onRequestWindowsOptionsReport",{get:function(){return this._onRequestWindowsOptionsReport.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onA11yChar",{get:function(){return this._onA11yChar.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onA11yTab",{get:function(){return this._onA11yTab.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ge.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),ge.prototype.dispose=function(){de.prototype.dispose.call(this)},ge.prototype.parse=function(fe){var me=this._bufferService.buffer,be=me.x,ve=me.y;if(this._logService.debug("parsing data",fe),this._parseBuffer.length<fe.length&&this._parseBuffer.length<131072&&(this._parseBuffer=new Uint32Array(Math.min(fe.length,131072))),this._dirtyRowService.clearRange(),fe.length>131072)for(var Pe=0;Pe<fe.length;Pe+=131072){var Ee=Pe+131072<fe.length?Pe+131072:fe.length,Ae=typeof fe=="string"?this._stringDecoder.decode(fe.substring(Pe,Ee),this._parseBuffer):this._utf8Decoder.decode(fe.subarray(Pe,Ee),this._parseBuffer);this._parser.parse(this._parseBuffer,Ae)}else Ae=typeof fe=="string"?this._stringDecoder.decode(fe,this._parseBuffer):this._utf8Decoder.decode(fe,this._parseBuffer),this._parser.parse(this._parseBuffer,Ae);(me=this._bufferService.buffer).x===be&&me.y===ve||this._onCursorMove.fire(),this._onRequestRefreshRows.fire(this._dirtyRowService.start,this._dirtyRowService.end)},ge.prototype.print=function(fe,me,be){var ve,Pe,Ee=this._bufferService.buffer,Ae=this._charsetService.charset,Ce=this._optionsService.options.screenReaderMode,_e=this._bufferService.cols,we=this._coreService.decPrivateModes.wraparound,Me=this._coreService.modes.insertMode,Oe=this._curAttrData,Fe=Ee.lines.get(Ee.ybase+Ee.y);this._dirtyRowService.markDirty(Ee.y),Ee.x&&be-me>0&&Fe.getWidth(Ee.x-1)===2&&Fe.setCellFromCodePoint(Ee.x-1,0,1,Oe.fg,Oe.bg,Oe.extended);for(var Le=me;Le<be;++Le){if(ve=fe[Le],Pe=this._unicodeService.wcwidth(ve),ve<127&&Ae){var Qe=Ae[String.fromCharCode(ve)];Qe&&(ve=Qe.charCodeAt(0))}if(Ce&&this._onA11yChar.fire(se.stringFromCodePoint(ve)),Pe||!Ee.x){if(Ee.x+Pe-1>=_e){if(we){for(;Ee.x<_e;)Fe.setCellFromCodePoint(Ee.x++,0,1,Oe.fg,Oe.bg,Oe.extended);Ee.x=0,Ee.y++,Ee.y===Ee.scrollBottom+1?(Ee.y--,this._onRequestScroll.fire(this._eraseAttrData(),!0)):(Ee.y>=this._bufferService.rows&&(Ee.y=this._bufferService.rows-1),Ee.lines.get(Ee.ybase+Ee.y).isWrapped=!0),Fe=Ee.lines.get(Ee.ybase+Ee.y)}else if(Ee.x=_e-1,Pe===2)continue}if(Me&&(Fe.insertCells(Ee.x,Pe,Ee.getNullCell(Oe),Oe),Fe.getWidth(_e-1)===2&&Fe.setCellFromCodePoint(_e-1,ne.NULL_CELL_CODE,ne.NULL_CELL_WIDTH,Oe.fg,Oe.bg,Oe.extended)),Fe.setCellFromCodePoint(Ee.x++,ve,Pe,Oe.fg,Oe.bg,Oe.extended),Pe>0)for(;--Pe;)Fe.setCellFromCodePoint(Ee.x++,0,0,Oe.fg,Oe.bg,Oe.extended)}else Fe.getWidth(Ee.x-1)?Fe.addCodepointToCell(Ee.x-1,ve):Fe.addCodepointToCell(Ee.x-2,ve)}be-me>0&&(Fe.loadCell(Ee.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),Ee.x<_e&&be-me>0&&Fe.getWidth(Ee.x)===0&&!Fe.hasContent(Ee.x)&&Fe.setCellFromCodePoint(Ee.x,0,1,Oe.fg,Oe.bg,Oe.extended),this._dirtyRowService.markDirty(Ee.y)},ge.prototype.addCsiHandler=function(fe,me){var be=this;return fe.final!=="t"||fe.prefix||fe.intermediates?this._parser.addCsiHandler(fe,me):this._parser.addCsiHandler(fe,function(ve){return!ee(ve.params[0],be._optionsService.options.windowOptions)||me(ve)})},ge.prototype.addDcsHandler=function(fe,me){return this._parser.addDcsHandler(fe,new x.DcsHandler(me))},ge.prototype.addEscHandler=function(fe,me){return this._parser.addEscHandler(fe,me)},ge.prototype.addOscHandler=function(fe,me){return this._parser.addOscHandler(fe,new y.OscHandler(me))},ge.prototype.bell=function(){this._onRequestBell.fire()},ge.prototype.lineFeed=function(){var fe=this._bufferService.buffer;this._dirtyRowService.markDirty(fe.y),this._optionsService.options.convertEol&&(fe.x=0),fe.y++,fe.y===fe.scrollBottom+1?(fe.y--,this._onRequestScroll.fire(this._eraseAttrData())):fe.y>=this._bufferService.rows&&(fe.y=this._bufferService.rows-1),fe.x>=this._bufferService.cols&&fe.x--,this._dirtyRowService.markDirty(fe.y),this._onLineFeed.fire()},ge.prototype.carriageReturn=function(){this._bufferService.buffer.x=0},ge.prototype.backspace=function(){var fe,me=this._bufferService.buffer;if(!this._coreService.decPrivateModes.reverseWraparound)return this._restrictCursor(),void(me.x>0&&me.x--);if(this._restrictCursor(this._bufferService.cols),me.x>0)me.x--;else if(me.x===0&&me.y>me.scrollTop&&me.y<=me.scrollBottom&&(!((fe=me.lines.get(me.ybase+me.y))===null||fe===void 0)&&fe.isWrapped)){me.lines.get(me.ybase+me.y).isWrapped=!1,me.y--,me.x=this._bufferService.cols-1;var be=me.lines.get(me.ybase+me.y);be.hasWidth(me.x)&&!be.hasContent(me.x)&&me.x--}this._restrictCursor()},ge.prototype.tab=function(){if(!(this._bufferService.buffer.x>=this._bufferService.cols)){var fe=this._bufferService.buffer.x;this._bufferService.buffer.x=this._bufferService.buffer.nextStop(),this._optionsService.options.screenReaderMode&&this._onA11yTab.fire(this._bufferService.buffer.x-fe)}},ge.prototype.shiftOut=function(){this._charsetService.setgLevel(1)},ge.prototype.shiftIn=function(){this._charsetService.setgLevel(0)},ge.prototype._restrictCursor=function(fe){fe===void 0&&(fe=this._bufferService.cols-1),this._bufferService.buffer.x=Math.min(fe,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)},ge.prototype._setCursor=function(fe,me){this._dirtyRowService.markDirty(this._bufferService.buffer.y),this._coreService.decPrivateModes.origin?(this._bufferService.buffer.x=fe,this._bufferService.buffer.y=this._bufferService.buffer.scrollTop+me):(this._bufferService.buffer.x=fe,this._bufferService.buffer.y=me),this._restrictCursor(),this._dirtyRowService.markDirty(this._bufferService.buffer.y)},ge.prototype._moveCursor=function(fe,me){this._restrictCursor(),this._setCursor(this._bufferService.buffer.x+fe,this._bufferService.buffer.y+me)},ge.prototype.cursorUp=function(fe){var me=this._bufferService.buffer.y-this._bufferService.buffer.scrollTop;me>=0?this._moveCursor(0,-Math.min(me,fe.params[0]||1)):this._moveCursor(0,-(fe.params[0]||1))},ge.prototype.cursorDown=function(fe){var me=this._bufferService.buffer.scrollBottom-this._bufferService.buffer.y;me>=0?this._moveCursor(0,Math.min(me,fe.params[0]||1)):this._moveCursor(0,fe.params[0]||1)},ge.prototype.cursorForward=function(fe){this._moveCursor(fe.params[0]||1,0)},ge.prototype.cursorBackward=function(fe){this._moveCursor(-(fe.params[0]||1),0)},ge.prototype.cursorNextLine=function(fe){this.cursorDown(fe),this._bufferService.buffer.x=0},ge.prototype.cursorPrecedingLine=function(fe){this.cursorUp(fe),this._bufferService.buffer.x=0},ge.prototype.cursorCharAbsolute=function(fe){this._setCursor((fe.params[0]||1)-1,this._bufferService.buffer.y)},ge.prototype.cursorPosition=function(fe){this._setCursor(fe.length>=2?(fe.params[1]||1)-1:0,(fe.params[0]||1)-1)},ge.prototype.charPosAbsolute=function(fe){this._setCursor((fe.params[0]||1)-1,this._bufferService.buffer.y)},ge.prototype.hPositionRelative=function(fe){this._moveCursor(fe.params[0]||1,0)},ge.prototype.linePosAbsolute=function(fe){this._setCursor(this._bufferService.buffer.x,(fe.params[0]||1)-1)},ge.prototype.vPositionRelative=function(fe){this._moveCursor(0,fe.params[0]||1)},ge.prototype.hVPosition=function(fe){this.cursorPosition(fe)},ge.prototype.tabClear=function(fe){var me=fe.params[0];me===0?delete this._bufferService.buffer.tabs[this._bufferService.buffer.x]:me===3&&(this._bufferService.buffer.tabs={})},ge.prototype.cursorForwardTab=function(fe){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var me=fe.params[0]||1;me--;)this._bufferService.buffer.x=this._bufferService.buffer.nextStop()},ge.prototype.cursorBackwardTab=function(fe){if(!(this._bufferService.buffer.x>=this._bufferService.cols))for(var me=fe.params[0]||1,be=this._bufferService.buffer;me--;)be.x=be.prevStop()},ge.prototype._eraseInBufferLine=function(fe,me,be,ve){ve===void 0&&(ve=!1);var Pe=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+fe);Pe.replaceCells(me,be,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),ve&&(Pe.isWrapped=!1)},ge.prototype._resetBufferLine=function(fe){var me=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+fe);me.fill(this._bufferService.buffer.getNullCell(this._eraseAttrData())),me.isWrapped=!1},ge.prototype.eraseInDisplay=function(fe){var me;switch(this._restrictCursor(),fe.params[0]){case 0:for(me=this._bufferService.buffer.y,this._dirtyRowService.markDirty(me),this._eraseInBufferLine(me++,this._bufferService.buffer.x,this._bufferService.cols,this._bufferService.buffer.x===0);me<this._bufferService.rows;me++)this._resetBufferLine(me);this._dirtyRowService.markDirty(me);break;case 1:for(me=this._bufferService.buffer.y,this._dirtyRowService.markDirty(me),this._eraseInBufferLine(me,0,this._bufferService.buffer.x+1,!0),this._bufferService.buffer.x+1>=this._bufferService.cols&&(this._bufferService.buffer.lines.get(me+1).isWrapped=!1);me--;)this._resetBufferLine(me);this._dirtyRowService.markDirty(0);break;case 2:for(me=this._bufferService.rows,this._dirtyRowService.markDirty(me-1);me--;)this._resetBufferLine(me);this._dirtyRowService.markDirty(0);break;case 3:var be=this._bufferService.buffer.lines.length-this._bufferService.rows;be>0&&(this._bufferService.buffer.lines.trimStart(be),this._bufferService.buffer.ybase=Math.max(this._bufferService.buffer.ybase-be,0),this._bufferService.buffer.ydisp=Math.max(this._bufferService.buffer.ydisp-be,0),this._onScroll.fire(0))}},ge.prototype.eraseInLine=function(fe){switch(this._restrictCursor(),fe.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)},ge.prototype.insertLines=function(fe){this._restrictCursor();var me=fe.params[0]||1,be=this._bufferService.buffer;if(!(be.y>be.scrollBottom||be.y<be.scrollTop)){for(var ve=be.ybase+be.y,Pe=this._bufferService.rows-1-be.scrollBottom,Ee=this._bufferService.rows-1+be.ybase-Pe+1;me--;)be.lines.splice(Ee-1,1),be.lines.splice(ve,0,be.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(be.y,be.scrollBottom),be.x=0}},ge.prototype.deleteLines=function(fe){this._restrictCursor();var me=fe.params[0]||1,be=this._bufferService.buffer;if(!(be.y>be.scrollBottom||be.y<be.scrollTop)){var ve,Pe=be.ybase+be.y;for(ve=this._bufferService.rows-1-be.scrollBottom,ve=this._bufferService.rows-1+be.ybase-ve;me--;)be.lines.splice(Pe,1),be.lines.splice(ve,0,be.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(be.y,be.scrollBottom),be.x=0}},ge.prototype.insertChars=function(fe){this._restrictCursor();var me=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);me&&(me.insertCells(this._bufferService.buffer.x,fe.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},ge.prototype.deleteChars=function(fe){this._restrictCursor();var me=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);me&&(me.deleteCells(this._bufferService.buffer.x,fe.params[0]||1,this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},ge.prototype.scrollUp=function(fe){for(var me=fe.params[0]||1,be=this._bufferService.buffer;me--;)be.lines.splice(be.ybase+be.scrollTop,1),be.lines.splice(be.ybase+be.scrollBottom,0,be.getBlankLine(this._eraseAttrData()));this._dirtyRowService.markRangeDirty(be.scrollTop,be.scrollBottom)},ge.prototype.scrollDown=function(fe){for(var me=fe.params[0]||1,be=this._bufferService.buffer;me--;)be.lines.splice(be.ybase+be.scrollBottom,1),be.lines.splice(be.ybase+be.scrollTop,0,be.getBlankLine(ae.DEFAULT_ATTR_DATA));this._dirtyRowService.markRangeDirty(be.scrollTop,be.scrollBottom)},ge.prototype.scrollLeft=function(fe){var me=this._bufferService.buffer;if(!(me.y>me.scrollBottom||me.y<me.scrollTop)){for(var be=fe.params[0]||1,ve=me.scrollTop;ve<=me.scrollBottom;++ve){var Pe=me.lines.get(me.ybase+ve);Pe.deleteCells(0,be,me.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(me.scrollTop,me.scrollBottom)}},ge.prototype.scrollRight=function(fe){var me=this._bufferService.buffer;if(!(me.y>me.scrollBottom||me.y<me.scrollTop)){for(var be=fe.params[0]||1,ve=me.scrollTop;ve<=me.scrollBottom;++ve){var Pe=me.lines.get(me.ybase+ve);Pe.insertCells(0,be,me.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(me.scrollTop,me.scrollBottom)}},ge.prototype.insertColumns=function(fe){var me=this._bufferService.buffer;if(!(me.y>me.scrollBottom||me.y<me.scrollTop)){for(var be=fe.params[0]||1,ve=me.scrollTop;ve<=me.scrollBottom;++ve){var Pe=this._bufferService.buffer.lines.get(me.ybase+ve);Pe.insertCells(me.x,be,me.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(me.scrollTop,me.scrollBottom)}},ge.prototype.deleteColumns=function(fe){var me=this._bufferService.buffer;if(!(me.y>me.scrollBottom||me.y<me.scrollTop)){for(var be=fe.params[0]||1,ve=me.scrollTop;ve<=me.scrollBottom;++ve){var Pe=me.lines.get(me.ybase+ve);Pe.deleteCells(me.x,be,me.getNullCell(this._eraseAttrData()),this._eraseAttrData()),Pe.isWrapped=!1}this._dirtyRowService.markRangeDirty(me.scrollTop,me.scrollBottom)}},ge.prototype.eraseChars=function(fe){this._restrictCursor();var me=this._bufferService.buffer.lines.get(this._bufferService.buffer.ybase+this._bufferService.buffer.y);me&&(me.replaceCells(this._bufferService.buffer.x,this._bufferService.buffer.x+(fe.params[0]||1),this._bufferService.buffer.getNullCell(this._eraseAttrData()),this._eraseAttrData()),this._dirtyRowService.markDirty(this._bufferService.buffer.y))},ge.prototype.repeatPrecedingCharacter=function(fe){if(this._parser.precedingCodepoint){for(var me=fe.params[0]||1,be=new Uint32Array(me),ve=0;ve<me;++ve)be[ve]=this._parser.precedingCodepoint;this.print(be,0,be.length)}},ge.prototype.sendDeviceAttributesPrimary=function(fe){fe.params[0]>0||(this._is("xterm")||this._is("rxvt-unicode")||this._is("screen")?this._coreService.triggerDataEvent(he.C0.ESC+"[?1;2c"):this._is("linux")&&this._coreService.triggerDataEvent(he.C0.ESC+"[?6c"))},ge.prototype.sendDeviceAttributesSecondary=function(fe){fe.params[0]>0||(this._is("xterm")?this._coreService.triggerDataEvent(he.C0.ESC+"[>0;276;0c"):this._is("rxvt-unicode")?this._coreService.triggerDataEvent(he.C0.ESC+"[>85;95;0c"):this._is("linux")?this._coreService.triggerDataEvent(fe.params[0]+"c"):this._is("screen")&&this._coreService.triggerDataEvent(he.C0.ESC+"[>83;40003;0c"))},ge.prototype._is=function(fe){return(this._optionsService.options.termName+"").indexOf(fe)===0},ge.prototype.setMode=function(fe){for(var me=0;me<fe.length;me++)switch(fe.params[me]){case 4:this._coreService.modes.insertMode=!0}},ge.prototype.setModePrivate=function(fe){for(var me=0;me<fe.length;me++)switch(fe.params[me]){case 1:this._coreService.decPrivateModes.applicationCursorKeys=!0;break;case 2:this._charsetService.setgCharset(0,ce.DEFAULT_CHARSET),this._charsetService.setgCharset(1,ce.DEFAULT_CHARSET),this._charsetService.setgCharset(2,ce.DEFAULT_CHARSET),this._charsetService.setgCharset(3,ce.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}},ge.prototype.resetMode=function(fe){for(var me=0;me<fe.length;me++)switch(fe.params[me]){case 4:this._coreService.modes.insertMode=!1}},ge.prototype.resetModePrivate=function(fe){for(var me=0;me<fe.length;me++)switch(fe.params[me]){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(),fe.params[me]===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}},ge.prototype._updateAttrColor=function(fe,me,be,ve,Pe){return me===2?(fe|=50331648,fe&=-16777216,fe|=a.AttributeData.fromColorRGB([be,ve,Pe])):me===5&&(fe&=-50331904,fe|=33554432|255&be),fe},ge.prototype._extractColor=function(fe,me,be){var ve=[0,0,-1,0,0,0],Pe=0,Ee=0;do{if(ve[Ee+Pe]=fe.params[me+Ee],fe.hasSubParams(me+Ee)){var Ae=fe.getSubParams(me+Ee),Ce=0;do ve[1]===5&&(Pe=1),ve[Ee+Ce+1+Pe]=Ae[Ce];while(++Ce<Ae.length&&Ce+Ee+1+Pe<ve.length);break}if(ve[1]===5&&Ee+Pe>=2||ve[1]===2&&Ee+Pe>=5)break;ve[1]&&(Pe=1)}while(++Ee+me<fe.length&&Ee+Pe<ve.length);for(Ce=2;Ce<ve.length;++Ce)ve[Ce]===-1&&(ve[Ce]=0);switch(ve[0]){case 38:be.fg=this._updateAttrColor(be.fg,ve[1],ve[3],ve[4],ve[5]);break;case 48:be.bg=this._updateAttrColor(be.bg,ve[1],ve[3],ve[4],ve[5]);break;case 58:be.extended=be.extended.clone(),be.extended.underlineColor=this._updateAttrColor(be.extended.underlineColor,ve[1],ve[3],ve[4],ve[5])}return Ee},ge.prototype._processUnderline=function(fe,me){me.extended=me.extended.clone(),(!~fe||fe>5)&&(fe=1),me.extended.underlineStyle=fe,me.fg|=268435456,fe===0&&(me.fg&=-268435457),me.updateExtended()},ge.prototype.charAttributes=function(fe){if(fe.length===1&&fe.params[0]===0)return this._curAttrData.fg=ae.DEFAULT_ATTR_DATA.fg,void(this._curAttrData.bg=ae.DEFAULT_ATTR_DATA.bg);for(var me,be=fe.length,ve=this._curAttrData,Pe=0;Pe<be;Pe++)(me=fe.params[Pe])>=30&&me<=37?(ve.fg&=-50331904,ve.fg|=16777216|me-30):me>=40&&me<=47?(ve.bg&=-50331904,ve.bg|=16777216|me-40):me>=90&&me<=97?(ve.fg&=-50331904,ve.fg|=16777224|me-90):me>=100&&me<=107?(ve.bg&=-50331904,ve.bg|=16777224|me-100):me===0?(ve.fg=ae.DEFAULT_ATTR_DATA.fg,ve.bg=ae.DEFAULT_ATTR_DATA.bg):me===1?ve.fg|=134217728:me===3?ve.bg|=67108864:me===4?(ve.fg|=268435456,this._processUnderline(fe.hasSubParams(Pe)?fe.getSubParams(Pe)[0]:1,ve)):me===5?ve.fg|=536870912:me===7?ve.fg|=67108864:me===8?ve.fg|=1073741824:me===2?ve.bg|=134217728:me===21?this._processUnderline(2,ve):me===22?(ve.fg&=-134217729,ve.bg&=-134217729):me===23?ve.bg&=-67108865:me===24?ve.fg&=-268435457:me===25?ve.fg&=-536870913:me===27?ve.fg&=-67108865:me===28?ve.fg&=-1073741825:me===39?(ve.fg&=-67108864,ve.fg|=16777215&ae.DEFAULT_ATTR_DATA.fg):me===49?(ve.bg&=-67108864,ve.bg|=16777215&ae.DEFAULT_ATTR_DATA.bg):me===38||me===48||me===58?Pe+=this._extractColor(fe,Pe,ve):me===59?(ve.extended=ve.extended.clone(),ve.extended.underlineColor=-1,ve.updateExtended()):me===100?(ve.fg&=-67108864,ve.fg|=16777215&ae.DEFAULT_ATTR_DATA.fg,ve.bg&=-67108864,ve.bg|=16777215&ae.DEFAULT_ATTR_DATA.bg):this._logService.debug("Unknown SGR attribute: %d.",me)},ge.prototype.deviceStatus=function(fe){switch(fe.params[0]){case 5:this._coreService.triggerDataEvent(he.C0.ESC+"[0n");break;case 6:var me=this._bufferService.buffer.y+1,be=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(he.C0.ESC+"["+me+";"+be+"R")}},ge.prototype.deviceStatusPrivate=function(fe){switch(fe.params[0]){case 6:var me=this._bufferService.buffer.y+1,be=this._bufferService.buffer.x+1;this._coreService.triggerDataEvent(he.C0.ESC+"[?"+me+";"+be+"R")}},ge.prototype.softReset=function(fe){this._coreService.isCursorHidden=!1,this._onRequestSyncScrollBar.fire(),this._bufferService.buffer.scrollTop=0,this._bufferService.buffer.scrollBottom=this._bufferService.rows-1,this._curAttrData=ae.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},ge.prototype.setCursorStyle=function(fe){var me=fe.params[0]||1;switch(me){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 be=me%2==1;this._optionsService.options.cursorBlink=be},ge.prototype.setScrollRegion=function(fe){var me,be=fe.params[0]||1;(fe.length<2||(me=fe.params[1])>this._bufferService.rows||me===0)&&(me=this._bufferService.rows),me>be&&(this._bufferService.buffer.scrollTop=be-1,this._bufferService.buffer.scrollBottom=me-1,this._setCursor(0,0))},ge.prototype.windowOptions=function(fe){if(ee(fe.params[0],this._optionsService.options.windowOptions)){var me=fe.length>1?fe.params[1]:0;switch(fe.params[0]){case 14:me!==2&&this._onRequestWindowsOptionsReport.fire(pe.GET_WIN_SIZE_PIXELS);break;case 16:this._onRequestWindowsOptionsReport.fire(pe.GET_CELL_SIZE_PIXELS);break;case 18:this._bufferService&&this._coreService.triggerDataEvent(he.C0.ESC+"[8;"+this._bufferService.rows+";"+this._bufferService.cols+"t");break;case 22:me!==0&&me!==2||(this._windowTitleStack.push(this._windowTitle),this._windowTitleStack.length>10&&this._windowTitleStack.shift()),me!==0&&me!==1||(this._iconNameStack.push(this._iconName),this._iconNameStack.length>10&&this._iconNameStack.shift());break;case 23:me!==0&&me!==2||this._windowTitleStack.length&&this.setTitle(this._windowTitleStack.pop()),me!==0&&me!==1||this._iconNameStack.length&&this.setIconName(this._iconNameStack.pop())}}},ge.prototype.saveCursor=function(fe){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},ge.prototype.restoreCursor=function(fe){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()},ge.prototype.setTitle=function(fe){this._windowTitle=fe,this._onTitleChange.fire(fe)},ge.prototype.setIconName=function(fe){this._iconName=fe},ge.prototype.nextLine=function(){this._bufferService.buffer.x=0,this.index()},ge.prototype.keypadApplicationMode=function(){this._logService.debug("Serial port requested application keypad."),this._coreService.decPrivateModes.applicationKeypad=!0,this._onRequestSyncScrollBar.fire()},ge.prototype.keypadNumericMode=function(){this._logService.debug("Switching back to normal keypad."),this._coreService.decPrivateModes.applicationKeypad=!1,this._onRequestSyncScrollBar.fire()},ge.prototype.selectDefaultCharset=function(){this._charsetService.setgLevel(0),this._charsetService.setgCharset(0,ce.DEFAULT_CHARSET)},ge.prototype.selectCharset=function(fe){fe.length===2?fe[0]!=="/"&&this._charsetService.setgCharset(b[fe[0]],ce.CHARSETS[fe[1]]||ce.DEFAULT_CHARSET):this.selectDefaultCharset()},ge.prototype.index=function(){this._restrictCursor();var fe=this._bufferService.buffer;this._bufferService.buffer.y++,fe.y===fe.scrollBottom+1?(fe.y--,this._onRequestScroll.fire(this._eraseAttrData())):fe.y>=this._bufferService.rows&&(fe.y=this._bufferService.rows-1),this._restrictCursor()},ge.prototype.tabSet=function(){this._bufferService.buffer.tabs[this._bufferService.buffer.x]=!0},ge.prototype.reverseIndex=function(){this._restrictCursor();var fe=this._bufferService.buffer;if(fe.y===fe.scrollTop){var me=fe.scrollBottom-fe.scrollTop;fe.lines.shiftElements(fe.ybase+fe.y,me,1),fe.lines.set(fe.ybase+fe.y,fe.getBlankLine(this._eraseAttrData())),this._dirtyRowService.markRangeDirty(fe.scrollTop,fe.scrollBottom)}else fe.y--,this._restrictCursor()},ge.prototype.fullReset=function(){this._parser.reset(),this._onRequestReset.fire()},ge.prototype.reset=function(){this._curAttrData=ae.DEFAULT_ATTR_DATA.clone(),this._eraseAttrDataInternal=ae.DEFAULT_ATTR_DATA.clone()},ge.prototype._eraseAttrData=function(){return this._eraseAttrDataInternal.bg&=-67108864,this._eraseAttrDataInternal.bg|=67108863&this._curAttrData.bg,this._eraseAttrDataInternal},ge.prototype.setgLevel=function(fe){this._charsetService.setgLevel(fe)},ge.prototype.screenAlignmentPattern=function(){var fe=new te.CellData;fe.content=1<<22|69,fe.fg=this._curAttrData.fg,fe.bg=this._curAttrData.bg;var me=this._bufferService.buffer;this._setCursor(0,0);for(var be=0;be<this._bufferService.rows;++be){var ve=me.ybase+me.y+be,Pe=me.lines.get(ve);Pe&&(Pe.fill(fe),Pe.isWrapped=!1)}this._dirtyRowService.markAllDirty(),this._setCursor(0,0)},ge}(ie.Disposable);Se.InputHandler=ue},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.DEFAULT_CHARSET=Se.CHARSETS=void 0,Se.CHARSETS={},Se.DEFAULT_CHARSET=Se.CHARSETS.B,Se.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"},Se.CHARSETS.A={"#":"\xA3"},Se.CHARSETS.B=void 0,Se.CHARSETS[4]={"#":"\xA3","@":"\xBE","[":"ij","\\":"\xBD","]":"|","{":"\xA8","|":"f","}":"\xBC","~":"\xB4"},Se.CHARSETS.C=Se.CHARSETS[5]={"[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},Se.CHARSETS.R={"#":"\xA3","@":"\xE0","[":"\xB0","\\":"\xE7","]":"\xA7","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xA8"},Se.CHARSETS.Q={"@":"\xE0","[":"\xE2","\\":"\xE7","]":"\xEA","^":"\xEE","`":"\xF4","{":"\xE9","|":"\xF9","}":"\xE8","~":"\xFB"},Se.CHARSETS.K={"@":"\xA7","[":"\xC4","\\":"\xD6","]":"\xDC","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xDF"},Se.CHARSETS.Y={"#":"\xA3","@":"\xA7","[":"\xB0","\\":"\xE7","]":"\xE9","`":"\xF9","{":"\xE0","|":"\xF2","}":"\xE8","~":"\xEC"},Se.CHARSETS.E=Se.CHARSETS[6]={"@":"\xC4","[":"\xC6","\\":"\xD8","]":"\xC5","^":"\xDC","`":"\xE4","{":"\xE6","|":"\xF8","}":"\xE5","~":"\xFC"},Se.CHARSETS.Z={"#":"\xA3","@":"\xA7","[":"\xA1","\\":"\xD1","]":"\xBF","{":"\xB0","|":"\xF1","}":"\xE7"},Se.CHARSETS.H=Se.CHARSETS[7]={"@":"\xC9","[":"\xC4","\\":"\xD6","]":"\xC5","^":"\xDC","`":"\xE9","{":"\xE4","|":"\xF6","}":"\xE5","~":"\xFC"},Se.CHARSETS["="]={"#":"\xF9","@":"\xE0","[":"\xE9","\\":"\xE7","]":"\xEA","^":"\xEE",_:"\xE8","`":"\xF4","{":"\xE4","|":"\xF6","}":"\xFC","~":"\xFB"}},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.Params=void 0;var je=function(){function E(pe,he){if(pe===void 0&&(pe=32),he===void 0&&(he=32),this.maxLength=pe,this.maxSubParamsLength=he,he>256)throw new Error("maxSubParamsLength must not be greater than 256");this.params=new Int32Array(pe),this.length=0,this._subParams=new Int32Array(he),this._subParamsLength=0,this._subParamsIdx=new Uint16Array(pe),this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1}return E.fromArray=function(pe){var he=new E;if(!pe.length)return he;for(var ce=pe[0]instanceof Array?1:0;ce<pe.length;++ce){var oe=pe[ce];if(oe instanceof Array)for(var ie=0;ie<oe.length;++ie)he.addSubParam(oe[ie]);else he.addParam(oe)}return he},E.prototype.clone=function(){var pe=new E(this.maxLength,this.maxSubParamsLength);return pe.params.set(this.params),pe.length=this.length,pe._subParams.set(this._subParams),pe._subParamsLength=this._subParamsLength,pe._subParamsIdx.set(this._subParamsIdx),pe._rejectDigits=this._rejectDigits,pe._rejectSubDigits=this._rejectSubDigits,pe._digitIsSub=this._digitIsSub,pe},E.prototype.toArray=function(){for(var pe=[],he=0;he<this.length;++he){pe.push(this.params[he]);var ce=this._subParamsIdx[he]>>8,oe=255&this._subParamsIdx[he];oe-ce>0&&pe.push(Array.prototype.slice.call(this._subParams,ce,oe))}return pe},E.prototype.reset=function(){this.length=0,this._subParamsLength=0,this._rejectDigits=!1,this._rejectSubDigits=!1,this._digitIsSub=!1},E.prototype.addParam=function(pe){if(this._digitIsSub=!1,this.length>=this.maxLength)this._rejectDigits=!0;else{if(pe<-1)throw new Error("values lesser than -1 are not allowed");this._subParamsIdx[this.length]=this._subParamsLength<<8|this._subParamsLength,this.params[this.length++]=pe>2147483647?2147483647:pe}},E.prototype.addSubParam=function(pe){if(this._digitIsSub=!0,this.length)if(this._rejectDigits||this._subParamsLength>=this.maxSubParamsLength)this._rejectSubDigits=!0;else{if(pe<-1)throw new Error("values lesser than -1 are not allowed");this._subParams[this._subParamsLength++]=pe>2147483647?2147483647:pe,this._subParamsIdx[this.length-1]++}},E.prototype.hasSubParams=function(pe){return(255&this._subParamsIdx[pe])-(this._subParamsIdx[pe]>>8)>0},E.prototype.getSubParams=function(pe){var he=this._subParamsIdx[pe]>>8,ce=255&this._subParamsIdx[pe];return ce-he>0?this._subParams.subarray(he,ce):null},E.prototype.getSubParamsAll=function(){for(var pe={},he=0;he<this.length;++he){var ce=this._subParamsIdx[he]>>8,oe=255&this._subParamsIdx[he];oe-ce>0&&(pe[he]=this._subParams.slice(ce,oe))}return pe},E.prototype.addDigit=function(pe){var he;if(!(this._rejectDigits||!(he=this._digitIsSub?this._subParamsLength:this.length)||this._digitIsSub&&this._rejectSubDigits)){var ce=this._digitIsSub?this._subParams:this.params,oe=ce[he-1];ce[he-1]=~oe?Math.min(10*oe+pe,2147483647):pe}},E}();Se.Params=je},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.OscHandler=Se.OscParser=void 0;var je=ye(23),E=ye(8),pe=function(){function ce(){this._state=0,this._id=-1,this._handlers=Object.create(null),this._handlerFb=function(){}}return ce.prototype.addHandler=function(oe,ie){this._handlers[oe]===void 0&&(this._handlers[oe]=[]);var le=this._handlers[oe];return le.push(ie),{dispose:function(){var se=le.indexOf(ie);se!==-1&&le.splice(se,1)}}},ce.prototype.setHandler=function(oe,ie){this._handlers[oe]=[ie]},ce.prototype.clearHandler=function(oe){this._handlers[oe]&&delete this._handlers[oe]},ce.prototype.setHandlerFallback=function(oe){this._handlerFb=oe},ce.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},ce.prototype.reset=function(){this._state===2&&this.end(!1),this._id=-1,this._state=0},ce.prototype._start=function(){var oe=this._handlers[this._id];if(oe)for(var ie=oe.length-1;ie>=0;ie--)oe[ie].start();else this._handlerFb(this._id,"START")},ce.prototype._put=function(oe,ie,le){var se=this._handlers[this._id];if(se)for(var ae=se.length-1;ae>=0;ae--)se[ae].put(oe,ie,le);else this._handlerFb(this._id,"PUT",E.utf32ToString(oe,ie,le))},ce.prototype._end=function(oe){var ie=this._handlers[this._id];if(ie){for(var le=ie.length-1;le>=0&&ie[le].end(oe)===!1;le--);for(le--;le>=0;le--)ie[le].end(!1)}else this._handlerFb(this._id,"END",oe)},ce.prototype.start=function(){this.reset(),this._id=-1,this._state=1},ce.prototype.put=function(oe,ie,le){if(this._state!==3){if(this._state===1)for(;ie<le;){var se=oe[ie++];if(se===59){this._state=2,this._start();break}if(se<48||57<se)return void(this._state=3);this._id===-1&&(this._id=0),this._id=10*this._id+se-48}this._state===2&&le-ie>0&&this._put(oe,ie,le)}},ce.prototype.end=function(oe){this._state!==0&&(this._state!==3&&(this._state===1&&this._start(),this._end(oe)),this._id=-1,this._state=0)},ce}();Se.OscParser=pe;var he=function(){function ce(oe){this._handler=oe,this._data="",this._hitLimit=!1}return ce.prototype.start=function(){this._data="",this._hitLimit=!1},ce.prototype.put=function(oe,ie,le){this._hitLimit||(this._data+=E.utf32ToString(oe,ie,le),this._data.length>je.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},ce.prototype.end=function(oe){var ie;return this._hitLimit?ie=!1:oe&&(ie=this._handler(this._data)),this._data="",this._hitLimit=!1,ie},ce}();Se.OscHandler=he},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.PAYLOAD_LIMIT=void 0,Se.PAYLOAD_LIMIT=1e7},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.DcsHandler=Se.DcsParser=void 0;var je=ye(8),E=ye(21),pe=ye(23),he=[],ce=function(){function ie(){this._handlers=Object.create(null),this._active=he,this._ident=0,this._handlerFb=function(){}}return ie.prototype.dispose=function(){this._handlers=Object.create(null),this._handlerFb=function(){}},ie.prototype.addHandler=function(le,se){this._handlers[le]===void 0&&(this._handlers[le]=[]);var ae=this._handlers[le];return ae.push(se),{dispose:function(){var re=ae.indexOf(se);re!==-1&&ae.splice(re,1)}}},ie.prototype.setHandler=function(le,se){this._handlers[le]=[se]},ie.prototype.clearHandler=function(le){this._handlers[le]&&delete this._handlers[le]},ie.prototype.setHandlerFallback=function(le){this._handlerFb=le},ie.prototype.reset=function(){this._active.length&&this.unhook(!1),this._active=he,this._ident=0},ie.prototype.hook=function(le,se){if(this.reset(),this._ident=le,this._active=this._handlers[le]||he,this._active.length)for(var ae=this._active.length-1;ae>=0;ae--)this._active[ae].hook(se);else this._handlerFb(this._ident,"HOOK",se)},ie.prototype.put=function(le,se,ae){if(this._active.length)for(var re=this._active.length-1;re>=0;re--)this._active[re].put(le,se,ae);else this._handlerFb(this._ident,"PUT",je.utf32ToString(le,se,ae))},ie.prototype.unhook=function(le){if(this._active.length){for(var se=this._active.length-1;se>=0&&this._active[se].unhook(le)===!1;se--);for(se--;se>=0;se--)this._active[se].unhook(!1)}else this._handlerFb(this._ident,"UNHOOK",le);this._active=he,this._ident=0},ie}();Se.DcsParser=ce;var oe=function(){function ie(le){this._handler=le,this._data="",this._hitLimit=!1}return ie.prototype.hook=function(le){this._params=le.clone(),this._data="",this._hitLimit=!1},ie.prototype.put=function(le,se,ae){this._hitLimit||(this._data+=je.utf32ToString(le,se,ae),this._data.length>pe.PAYLOAD_LIMIT&&(this._data="",this._hitLimit=!0))},ie.prototype.unhook=function(le){var se;return this._hitLimit?se=!1:le&&(se=this._handler(this._data,this._params||new E.Params)),this._params=void 0,this._data="",this._hitLimit=!1,se},ie}();Se.DcsHandler=oe},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.removeTerminalFromCache=Se.acquireCharAtlas=void 0;var je=ye(26),E=ye(43),pe=[];Se.acquireCharAtlas=function(he,ce,oe,ie,le){for(var se=je.generateConfig(ie,le,he,oe),ae=0;ae<pe.length;ae++){var re=(ne=pe[ae]).ownedBy.indexOf(ce);if(re>=0){if(je.configEquals(ne.config,se))return ne.atlas;ne.ownedBy.length===1?(ne.atlas.dispose(),pe.splice(ae,1)):ne.ownedBy.splice(re,1);break}}for(ae=0;ae<pe.length;ae++){var ne=pe[ae];if(je.configEquals(ne.config,se))return ne.ownedBy.push(ce),ne.atlas}var te={atlas:new E.DynamicCharAtlas(document,se),config:se,ownedBy:[ce]};return pe.push(te),te.atlas},Se.removeTerminalFromCache=function(he){for(var ce=0;ce<pe.length;ce++){var oe=pe[ce].ownedBy.indexOf(he);if(oe!==-1){pe[ce].ownedBy.length===1?(pe[ce].atlas.dispose(),pe.splice(ce,1)):pe[ce].ownedBy.splice(oe,1);break}}}},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.is256Color=Se.configEquals=Se.generateConfig=void 0;var je=ye(3);Se.generateConfig=function(E,pe,he,ce){var oe={foreground:ce.foreground,background:ce.background,cursor:void 0,cursorAccent:void 0,selection:void 0,ansi:ce.ansi.slice(0,16)};return{devicePixelRatio:window.devicePixelRatio,scaledCharWidth:E,scaledCharHeight:pe,fontFamily:he.fontFamily,fontSize:he.fontSize,fontWeight:he.fontWeight,fontWeightBold:he.fontWeightBold,allowTransparency:he.allowTransparency,colors:oe}},Se.configEquals=function(E,pe){for(var he=0;he<E.colors.ansi.length;he++)if(E.colors.ansi[he].rgba!==pe.colors.ansi[he].rgba)return!1;return E.devicePixelRatio===pe.devicePixelRatio&&E.fontFamily===pe.fontFamily&&E.fontSize===pe.fontSize&&E.fontWeight===pe.fontWeight&&E.fontWeightBold===pe.fontWeightBold&&E.allowTransparency===pe.allowTransparency&&E.scaledCharWidth===pe.scaledCharWidth&&E.scaledCharHeight===pe.scaledCharHeight&&E.colors.foreground===pe.colors.foreground&&E.colors.background===pe.colors.background},Se.is256Color=function(E){return E<je.DEFAULT_COLOR}},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.ColorManager=Se.DEFAULT_ANSI_COLORS=void 0;var je=ye(10),E=ye(45),pe=je.css.toColor("#ffffff"),he=je.css.toColor("#000000"),ce=je.css.toColor("#ffffff"),oe=je.css.toColor("#000000"),ie={css:"rgba(255, 255, 255, 0.3)",rgba:4294967117};Se.DEFAULT_ANSI_COLORS=function(){for(var se=[je.css.toColor("#2e3436"),je.css.toColor("#cc0000"),je.css.toColor("#4e9a06"),je.css.toColor("#c4a000"),je.css.toColor("#3465a4"),je.css.toColor("#75507b"),je.css.toColor("#06989a"),je.css.toColor("#d3d7cf"),je.css.toColor("#555753"),je.css.toColor("#ef2929"),je.css.toColor("#8ae234"),je.css.toColor("#fce94f"),je.css.toColor("#729fcf"),je.css.toColor("#ad7fa8"),je.css.toColor("#34e2e2"),je.css.toColor("#eeeeec")],ae=[0,95,135,175,215,255],re=0;re<216;re++){var ne=ae[re/36%6|0],te=ae[re/6%6|0],a=ae[re%6];se.push({css:je.channels.toCss(ne,te,a),rgba:je.channels.toRgba(ne,te,a)})}for(re=0;re<24;re++){var y=8+10*re;se.push({css:je.channels.toCss(y,y,y),rgba:je.channels.toRgba(y,y,y)})}return se}();var le=function(){function se(ae,re){this.allowTransparency=re;var ne=ae.createElement("canvas");ne.width=1,ne.height=1;var te=ne.getContext("2d");if(!te)throw new Error("Could not get rendering context");this._ctx=te,this._ctx.globalCompositeOperation="copy",this._litmusColor=this._ctx.createLinearGradient(0,0,1,1),this._contrastCache=new E.ColorContrastCache,this.colors={foreground:pe,background:he,cursor:ce,cursorAccent:oe,selectionTransparent:ie,selectionOpaque:je.color.blend(he,ie),ansi:Se.DEFAULT_ANSI_COLORS.slice(),contrastCache:this._contrastCache}}return se.prototype.onOptionsChange=function(ae){ae==="minimumContrastRatio"&&this._contrastCache.clear()},se.prototype.setTheme=function(ae){ae===void 0&&(ae={}),this.colors.foreground=this._parseColor(ae.foreground,pe),this.colors.background=this._parseColor(ae.background,he),this.colors.cursor=this._parseColor(ae.cursor,ce,!0),this.colors.cursorAccent=this._parseColor(ae.cursorAccent,oe,!0),this.colors.selectionTransparent=this._parseColor(ae.selection,ie,!0),this.colors.selectionOpaque=je.color.blend(this.colors.background,this.colors.selectionTransparent),je.color.isOpaque(this.colors.selectionTransparent)&&(this.colors.selectionTransparent=je.color.opacity(this.colors.selectionTransparent,.3)),this.colors.ansi[0]=this._parseColor(ae.black,Se.DEFAULT_ANSI_COLORS[0]),this.colors.ansi[1]=this._parseColor(ae.red,Se.DEFAULT_ANSI_COLORS[1]),this.colors.ansi[2]=this._parseColor(ae.green,Se.DEFAULT_ANSI_COLORS[2]),this.colors.ansi[3]=this._parseColor(ae.yellow,Se.DEFAULT_ANSI_COLORS[3]),this.colors.ansi[4]=this._parseColor(ae.blue,Se.DEFAULT_ANSI_COLORS[4]),this.colors.ansi[5]=this._parseColor(ae.magenta,Se.DEFAULT_ANSI_COLORS[5]),this.colors.ansi[6]=this._parseColor(ae.cyan,Se.DEFAULT_ANSI_COLORS[6]),this.colors.ansi[7]=this._parseColor(ae.white,Se.DEFAULT_ANSI_COLORS[7]),this.colors.ansi[8]=this._parseColor(ae.brightBlack,Se.DEFAULT_ANSI_COLORS[8]),this.colors.ansi[9]=this._parseColor(ae.brightRed,Se.DEFAULT_ANSI_COLORS[9]),this.colors.ansi[10]=this._parseColor(ae.brightGreen,Se.DEFAULT_ANSI_COLORS[10]),this.colors.ansi[11]=this._parseColor(ae.brightYellow,Se.DEFAULT_ANSI_COLORS[11]),this.colors.ansi[12]=this._parseColor(ae.brightBlue,Se.DEFAULT_ANSI_COLORS[12]),this.colors.ansi[13]=this._parseColor(ae.brightMagenta,Se.DEFAULT_ANSI_COLORS[13]),this.colors.ansi[14]=this._parseColor(ae.brightCyan,Se.DEFAULT_ANSI_COLORS[14]),this.colors.ansi[15]=this._parseColor(ae.brightWhite,Se.DEFAULT_ANSI_COLORS[15]),this._contrastCache.clear()},se.prototype._parseColor=function(ae,re,ne){if(ne===void 0&&(ne=this.allowTransparency),ae===void 0)return re;if(this._ctx.fillStyle=this._litmusColor,this._ctx.fillStyle=ae,typeof this._ctx.fillStyle!="string")return console.warn("Color: "+ae+" is invalid using fallback "+re.css),re;this._ctx.fillRect(0,0,1,1);var te=this._ctx.getImageData(0,0,1,1).data;if(te[3]!==255){if(!ne)return console.warn("Color: "+ae+" is using transparency, but allowTransparency is false. Using fallback "+re.css+"."),re;var a=this._ctx.fillStyle.substring(5,this._ctx.fillStyle.length-1).split(",").map(function(ue){return Number(ue)}),y=a[0],x=a[1],b=a[2],ee=a[3],z=Math.round(255*ee);return{rgba:je.channels.toRgba(y,x,b,z),css:ae}}return{css:this._ctx.fillStyle,rgba:je.channels.toRgba(te[0],te[1],te[2],te[3])}},se}();Se.ColorManager=le},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.throwIfFalsy=void 0,Se.throwIfFalsy=function(je){if(!je)throw new Error("value must not be falsy");return je}},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(le,se){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,re){ae.__proto__=re}||function(ae,re){for(var ne in re)re.hasOwnProperty(ne)&&(ae[ne]=re[ne])})(le,se)},function(le,se){function ae(){this.constructor=le}je(le,se),le.prototype=se===null?Object.create(se):(ae.prototype=se.prototype,new ae)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.CharacterJoinerRegistry=Se.JoinedCellData=void 0;var pe=ye(6),he=ye(3),ce=ye(4),oe=function(le){function se(ae,re,ne){var te=le.call(this)||this;return te.content=0,te.combinedData="",te.fg=ae.fg,te.bg=ae.bg,te.combinedData=re,te._width=ne,te}return E(se,le),se.prototype.isCombined=function(){return 2097152},se.prototype.getWidth=function(){return this._width},se.prototype.getChars=function(){return this.combinedData},se.prototype.getCode=function(){return 2097151},se.prototype.setFromCharData=function(ae){throw new Error("not implemented")},se.prototype.getAsCharData=function(){return[this.fg,this.getChars(),this.getWidth(),this.getCode()]},se}(pe.AttributeData);Se.JoinedCellData=oe;var ie=function(){function le(se){this._bufferService=se,this._characterJoiners=[],this._nextCharacterJoinerId=0,this._workCell=new ce.CellData}return le.prototype.registerCharacterJoiner=function(se){var ae={id:this._nextCharacterJoinerId++,handler:se};return this._characterJoiners.push(ae),ae.id},le.prototype.deregisterCharacterJoiner=function(se){for(var ae=0;ae<this._characterJoiners.length;ae++)if(this._characterJoiners[ae].id===se)return this._characterJoiners.splice(ae,1),!0;return!1},le.prototype.getJoinedCharacters=function(se){if(this._characterJoiners.length===0)return[];var ae=this._bufferService.buffer.lines.get(se);if(!ae||ae.length===0)return[];for(var re=[],ne=ae.translateToString(!0),te=0,a=0,y=0,x=ae.getFg(0),b=ae.getBg(0),ee=0;ee<ae.getTrimmedLength();ee++)if(ae.loadCell(ee,this._workCell),this._workCell.getWidth()!==0){if(this._workCell.fg!==x||this._workCell.bg!==b){if(ee-te>1)for(var z=this._getJoinedRanges(ne,y,a,ae,te),ue=0;ue<z.length;ue++)re.push(z[ue]);te=ee,y=a,x=this._workCell.fg,b=this._workCell.bg}a+=this._workCell.getChars().length||he.WHITESPACE_CELL_CHAR.length}if(this._bufferService.cols-te>1)for(z=this._getJoinedRanges(ne,y,a,ae,te),ue=0;ue<z.length;ue++)re.push(z[ue]);return re},le.prototype._getJoinedRanges=function(se,ae,re,ne,te){for(var a=se.substring(ae,re),y=this._characterJoiners[0].handler(a),x=1;x<this._characterJoiners.length;x++)for(var b=this._characterJoiners[x].handler(a),ee=0;ee<b.length;ee++)le._mergeRanges(y,b[ee]);return this._stringRangesToCellRanges(y,ne,te),y},le.prototype._stringRangesToCellRanges=function(se,ae,re){var ne=0,te=!1,a=0,y=se[ne];if(y){for(var x=re;x<this._bufferService.cols;x++){var b=ae.getWidth(x),ee=ae.getString(x).length||he.WHITESPACE_CELL_CHAR.length;if(b!==0){if(!te&&y[0]<=a&&(y[0]=x,te=!0),y[1]<=a){if(y[1]=x,!(y=se[++ne]))break;y[0]<=a?(y[0]=x,te=!0):te=!1}a+=ee}}y&&(y[1]=this._bufferService.cols)}},le._mergeRanges=function(se,ae){for(var re=!1,ne=0;ne<se.length;ne++){var te=se[ne];if(re){if(ae[1]<=te[0])return se[ne-1][1]=ae[1],se;if(ae[1]<=te[1])return se[ne-1][1]=Math.max(ae[1],te[1]),se.splice(ne,1),se;se.splice(ne,1),ne--}else{if(ae[1]<=te[0])return se.splice(ne,0,ae),se;if(ae[1]<=te[1])return te[0]=Math.min(ae[0],te[0]),se;ae[0]<te[1]&&(te[0]=Math.min(ae[0],te[0]),re=!0)}}return re?se[se.length-1][1]=ae[1]:se.push(ae),se},le}();Se.CharacterJoinerRegistry=ie},function(ot,Se,ye){"use strict";function je(E,pe){var he=pe.getBoundingClientRect();return[E.clientX-he.left,E.clientY-he.top]}Object.defineProperty(Se,"__esModule",{value:!0}),Se.getRawByteCoords=Se.getCoords=Se.getCoordsRelativeToElement=void 0,Se.getCoordsRelativeToElement=je,Se.getCoords=function(E,pe,he,ce,oe,ie,le,se){if(oe){var ae=je(E,pe);if(ae)return ae[0]=Math.ceil((ae[0]+(se?ie/2:0))/ie),ae[1]=Math.ceil(ae[1]/le),ae[0]=Math.min(Math.max(ae[0],1),he+(se?1:0)),ae[1]=Math.min(Math.max(ae[1],1),ce),ae}},Se.getRawByteCoords=function(E){if(E)return{x:E[0]+32,y:E[1]+32}}},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.RenderDebouncer=void 0;var je=function(){function E(pe){this._renderCallback=pe}return E.prototype.dispose=function(){this._animationFrame&&(window.cancelAnimationFrame(this._animationFrame),this._animationFrame=void 0)},E.prototype.refresh=function(pe,he,ce){var oe=this;this._rowCount=ce,pe=pe!==void 0?pe:0,he=he!==void 0?he:this._rowCount-1,this._rowStart=this._rowStart!==void 0?Math.min(this._rowStart,pe):pe,this._rowEnd=this._rowEnd!==void 0?Math.max(this._rowEnd,he):he,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){return oe._innerRefresh()}))},E.prototype._innerRefresh=function(){if(this._rowStart!==void 0&&this._rowEnd!==void 0&&this._rowCount!==void 0){var pe=Math.max(this._rowStart,0),he=Math.min(this._rowEnd,this._rowCount-1);this._rowStart=void 0,this._rowEnd=void 0,this._animationFrame=void 0,this._renderCallback(pe,he)}},E}();Se.RenderDebouncer=je},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(he,ce){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,ie){oe.__proto__=ie}||function(oe,ie){for(var le in ie)ie.hasOwnProperty(le)&&(oe[le]=ie[le])})(he,ce)},function(he,ce){function oe(){this.constructor=he}je(he,ce),he.prototype=ce===null?Object.create(ce):(oe.prototype=ce.prototype,new oe)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.ScreenDprMonitor=void 0;var pe=function(he){function ce(){var oe=he!==null&&he.apply(this,arguments)||this;return oe._currentDevicePixelRatio=window.devicePixelRatio,oe}return E(ce,he),ce.prototype.setListener=function(oe){var ie=this;this._listener&&this.clearListener(),this._listener=oe,this._outerListener=function(){ie._listener&&(ie._listener(window.devicePixelRatio,ie._currentDevicePixelRatio),ie._updateDpr())},this._updateDpr()},ce.prototype.dispose=function(){he.prototype.dispose.call(this),this.clearListener()},ce.prototype._updateDpr=function(){var oe;this._outerListener&&((oe=this._resolutionMediaMatchList)===null||oe===void 0||oe.removeListener(this._outerListener),this._currentDevicePixelRatio=window.devicePixelRatio,this._resolutionMediaMatchList=window.matchMedia("screen and (resolution: "+window.devicePixelRatio+"dppx)"),this._resolutionMediaMatchList.addListener(this._outerListener))},ce.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)},ce}(ye(2).Disposable);Se.ScreenDprMonitor=pe},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.clone=void 0,Se.clone=function je(E,pe){if(pe===void 0&&(pe=5),typeof E!="object")return E;var he=Array.isArray(E)?[]:{};for(var ce in E)he[ce]=pe<=1?E[ce]:E[ce]?je(E[ce],pe-1):E[ce];return he}},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.Terminal=void 0;var je=ye(4),E=ye(35),pe=ye(18),he=ye(0),ce=ye(83),oe=function(){function ne(te){this._core=new E.Terminal(te),this._addonManager=new ce.AddonManager}return ne.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(ne.prototype,"onCursorMove",{get:function(){return this._core.onCursorMove},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onLineFeed",{get:function(){return this._core.onLineFeed},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onSelectionChange",{get:function(){return this._core.onSelectionChange},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onData",{get:function(){return this._core.onData},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onBinary",{get:function(){return this._core.onBinary},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onTitleChange",{get:function(){return this._core.onTitleChange},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onScroll",{get:function(){return this._core.onScroll},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onKey",{get:function(){return this._core.onKey},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onRender",{get:function(){return this._core.onRender},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"onResize",{get:function(){return this._core.onResize},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"element",{get:function(){return this._core.element},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"parser",{get:function(){return this._checkProposedApi(),this._parser||(this._parser=new ae(this._core)),this._parser},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"unicode",{get:function(){return this._checkProposedApi(),new re(this._core)},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"textarea",{get:function(){return this._core.textarea},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"rows",{get:function(){return this._core.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"cols",{get:function(){return this._core.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"buffer",{get:function(){return this._checkProposedApi(),new le(this._core.buffers)},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"markers",{get:function(){return this._checkProposedApi(),this._core.markers},enumerable:!1,configurable:!0}),ne.prototype.blur=function(){this._core.blur()},ne.prototype.focus=function(){this._core.focus()},ne.prototype.resize=function(te,a){this._verifyIntegers(te,a),this._core.resize(te,a)},ne.prototype.open=function(te){this._core.open(te)},ne.prototype.attachCustomKeyEventHandler=function(te){this._core.attachCustomKeyEventHandler(te)},ne.prototype.registerLinkMatcher=function(te,a,y){return this._checkProposedApi(),this._core.registerLinkMatcher(te,a,y)},ne.prototype.deregisterLinkMatcher=function(te){this._checkProposedApi(),this._core.deregisterLinkMatcher(te)},ne.prototype.registerLinkProvider=function(te){return this._checkProposedApi(),this._core.registerLinkProvider(te)},ne.prototype.registerCharacterJoiner=function(te){return this._checkProposedApi(),this._core.registerCharacterJoiner(te)},ne.prototype.deregisterCharacterJoiner=function(te){this._checkProposedApi(),this._core.deregisterCharacterJoiner(te)},ne.prototype.registerMarker=function(te){return this._checkProposedApi(),this._verifyIntegers(te),this._core.addMarker(te)},ne.prototype.addMarker=function(te){return this.registerMarker(te)},ne.prototype.hasSelection=function(){return this._core.hasSelection()},ne.prototype.select=function(te,a,y){this._verifyIntegers(te,a,y),this._core.select(te,a,y)},ne.prototype.getSelection=function(){return this._core.getSelection()},ne.prototype.getSelectionPosition=function(){return this._core.getSelectionPosition()},ne.prototype.clearSelection=function(){this._core.clearSelection()},ne.prototype.selectAll=function(){this._core.selectAll()},ne.prototype.selectLines=function(te,a){this._verifyIntegers(te,a),this._core.selectLines(te,a)},ne.prototype.dispose=function(){this._addonManager.dispose(),this._core.dispose()},ne.prototype.scrollLines=function(te){this._verifyIntegers(te),this._core.scrollLines(te)},ne.prototype.scrollPages=function(te){this._verifyIntegers(te),this._core.scrollPages(te)},ne.prototype.scrollToTop=function(){this._core.scrollToTop()},ne.prototype.scrollToBottom=function(){this._core.scrollToBottom()},ne.prototype.scrollToLine=function(te){this._verifyIntegers(te),this._core.scrollToLine(te)},ne.prototype.clear=function(){this._core.clear()},ne.prototype.write=function(te,a){this._core.write(te,a)},ne.prototype.writeUtf8=function(te,a){this._core.write(te,a)},ne.prototype.writeln=function(te,a){this._core.write(te),this._core.write(`\r
|
|
|
`,a)},ne.prototype.paste=function(te){this._core.paste(te)},ne.prototype.getOption=function(te){return this._core.optionsService.getOption(te)},ne.prototype.setOption=function(te,a){this._core.optionsService.setOption(te,a)},ne.prototype.refresh=function(te,a){this._verifyIntegers(te,a),this._core.refresh(te,a)},ne.prototype.reset=function(){this._core.reset()},ne.prototype.loadAddon=function(te){return this._addonManager.loadAddon(this,te)},Object.defineProperty(ne,"strings",{get:function(){return pe},enumerable:!1,configurable:!0}),ne.prototype._verifyIntegers=function(){for(var te=[],a=0;a<arguments.length;a++)te[a]=arguments[a];for(var y=0,x=te;y<x.length;y++){var b=x[y];if(b===1/0||isNaN(b)||b%1!=0)throw new Error("This API only accepts integers")}},ne}();Se.Terminal=oe;var ie=function(){function ne(te,a){this._buffer=te,this.type=a}return ne.prototype.init=function(te){return this._buffer=te,this},Object.defineProperty(ne.prototype,"cursorY",{get:function(){return this._buffer.y},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"cursorX",{get:function(){return this._buffer.x},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"viewportY",{get:function(){return this._buffer.ydisp},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"baseY",{get:function(){return this._buffer.ybase},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"length",{get:function(){return this._buffer.lines.length},enumerable:!1,configurable:!0}),ne.prototype.getLine=function(te){var a=this._buffer.lines.get(te);if(a)return new se(a)},ne.prototype.getNullCell=function(){return new je.CellData},ne}(),le=function(){function ne(te){var a=this;this._buffers=te,this._onBufferChange=new he.EventEmitter,this._normal=new ie(this._buffers.normal,"normal"),this._alternate=new ie(this._buffers.alt,"alternate"),this._buffers.onBufferActivate(function(){return a._onBufferChange.fire(a.active)})}return Object.defineProperty(ne.prototype,"onBufferChange",{get:function(){return this._onBufferChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(ne.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(ne.prototype,"normal",{get:function(){return this._normal.init(this._buffers.normal)},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"alternate",{get:function(){return this._alternate.init(this._buffers.alt)},enumerable:!1,configurable:!0}),ne}(),se=function(){function ne(te){this._line=te}return Object.defineProperty(ne.prototype,"isWrapped",{get:function(){return this._line.isWrapped},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"length",{get:function(){return this._line.length},enumerable:!1,configurable:!0}),ne.prototype.getCell=function(te,a){if(!(te<0||te>=this._line.length))return a?(this._line.loadCell(te,a),a):this._line.loadCell(te,new je.CellData)},ne.prototype.translateToString=function(te,a,y){return this._line.translateToString(te,a,y)},ne}(),ae=function(){function ne(te){this._core=te}return ne.prototype.registerCsiHandler=function(te,a){return this._core.addCsiHandler(te,function(y){return a(y.toArray())})},ne.prototype.addCsiHandler=function(te,a){return this.registerCsiHandler(te,a)},ne.prototype.registerDcsHandler=function(te,a){return this._core.addDcsHandler(te,function(y,x){return a(y,x.toArray())})},ne.prototype.addDcsHandler=function(te,a){return this.registerDcsHandler(te,a)},ne.prototype.registerEscHandler=function(te,a){return this._core.addEscHandler(te,a)},ne.prototype.addEscHandler=function(te,a){return this.registerEscHandler(te,a)},ne.prototype.registerOscHandler=function(te,a){return this._core.addOscHandler(te,a)},ne.prototype.addOscHandler=function(te,a){return this.registerOscHandler(te,a)},ne}(),re=function(){function ne(te){this._core=te}return ne.prototype.register=function(te){this._core.unicodeService.register(te)},Object.defineProperty(ne.prototype,"versions",{get:function(){return this._core.unicodeService.versions},enumerable:!1,configurable:!0}),Object.defineProperty(ne.prototype,"activeVersion",{get:function(){return this._core.unicodeService.activeVersion},set:function(te){this._core.unicodeService.activeVersion=te},enumerable:!1,configurable:!0}),ne}()},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(_e,we){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Me,Oe){Me.__proto__=Oe}||function(Me,Oe){for(var Fe in Oe)Oe.hasOwnProperty(Fe)&&(Me[Fe]=Oe[Fe])})(_e,we)},function(_e,we){function Me(){this.constructor=_e}je(_e,we),_e.prototype=we===null?Object.create(we):(Me.prototype=we.prototype,new Me)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.Terminal=void 0;var pe=ye(36),he=ye(37),ce=ye(38),oe=ye(12),ie=ye(19),le=ye(40),se=ye(50),ae=ye(51),re=ye(11),ne=ye(7),te=ye(18),a=ye(54),y=ye(55),x=ye(56),b=ye(57),ee=ye(59),z=ye(0),ue=ye(16),de=ye(27),ge=ye(60),fe=ye(5),me=ye(61),be=ye(62),ve=ye(63),Pe=ye(64),Ee=ye(65),Ae=typeof window!="undefined"?window.document:null,Ce=function(_e){function we(Me){Me===void 0&&(Me={});var Oe=_e.call(this,Me)||this;return Oe.browser=re,Oe._keyDownHandled=!1,Oe._onCursorMove=new z.EventEmitter,Oe._onKey=new z.EventEmitter,Oe._onRender=new z.EventEmitter,Oe._onSelectionChange=new z.EventEmitter,Oe._onTitleChange=new z.EventEmitter,Oe._onFocus=new z.EventEmitter,Oe._onBlur=new z.EventEmitter,Oe._onA11yCharEmitter=new z.EventEmitter,Oe._onA11yTabEmitter=new z.EventEmitter,Oe._setup(),Oe.linkifier=Oe._instantiationService.createInstance(se.Linkifier),Oe.linkifier2=Oe.register(Oe._instantiationService.createInstance(ve.Linkifier2)),Oe.register(Oe._inputHandler.onRequestBell(function(){return Oe.bell()})),Oe.register(Oe._inputHandler.onRequestRefreshRows(function(Fe,Le){return Oe.refresh(Fe,Le)})),Oe.register(Oe._inputHandler.onRequestReset(function(){return Oe.reset()})),Oe.register(Oe._inputHandler.onRequestScroll(function(Fe,Le){return Oe.scroll(Fe,Le||void 0)})),Oe.register(Oe._inputHandler.onRequestWindowsOptionsReport(function(Fe){return Oe._reportWindowsOptions(Fe)})),Oe.register(z.forwardEvent(Oe._inputHandler.onCursorMove,Oe._onCursorMove)),Oe.register(z.forwardEvent(Oe._inputHandler.onTitleChange,Oe._onTitleChange)),Oe.register(z.forwardEvent(Oe._inputHandler.onA11yChar,Oe._onA11yCharEmitter)),Oe.register(z.forwardEvent(Oe._inputHandler.onA11yTab,Oe._onA11yTabEmitter)),Oe.register(Oe._bufferService.onResize(function(Fe){return Oe._afterResize(Fe.cols,Fe.rows)})),Oe}return E(we,_e),Object.defineProperty(we.prototype,"options",{get:function(){return this.optionsService.options},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onCursorMove",{get:function(){return this._onCursorMove.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onKey",{get:function(){return this._onKey.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onRender",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onTitleChange",{get:function(){return this._onTitleChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onFocus",{get:function(){return this._onFocus.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onBlur",{get:function(){return this._onBlur.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onA11yChar",{get:function(){return this._onA11yCharEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(we.prototype,"onA11yTab",{get:function(){return this._onA11yTabEmitter.event},enumerable:!1,configurable:!0}),we.prototype.dispose=function(){var Me,Oe,Fe;this._isDisposed||(_e.prototype.dispose.call(this),(Me=this._renderService)===null||Me===void 0||Me.dispose(),this._customKeyEventHandler=void 0,this.write=function(){},(Fe=(Oe=this.element)===null||Oe===void 0?void 0:Oe.parentNode)===null||Fe===void 0||Fe.removeChild(this.element))},we.prototype._setup=function(){_e.prototype._setup.call(this),this._customKeyEventHandler=void 0},Object.defineProperty(we.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),we.prototype.focus=function(){this.textarea&&this.textarea.focus({preventScroll:!0})},we.prototype._updateOptions=function(Me){var Oe,Fe,Le,Qe;switch(_e.prototype._updateOptions.call(this,Me),Me){case"fontFamily":case"fontSize":(Oe=this._renderService)===null||Oe===void 0||Oe.clear(),(Fe=this._charSizeService)===null||Fe===void 0||Fe.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":(Le=this.viewport)===null||Le===void 0||Le.syncScrollArea();break;case"screenReaderMode":this.optionsService.options.screenReaderMode?!this._accessibilityManager&&this._renderService&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)):((Qe=this._accessibilityManager)===null||Qe===void 0||Qe.dispose(),this._accessibilityManager=void 0);break;case"tabStopWidth":this.buffers.setupTabStops();break;case"theme":this._setTheme(this.optionsService.options.theme)}},we.prototype._onTextAreaFocus=function(Me){this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(oe.C0.ESC+"[I"),this.updateCursorStyle(Me),this.element.classList.add("focus"),this._showCursor(),this._onFocus.fire()},we.prototype.blur=function(){var Me;return(Me=this.textarea)===null||Me===void 0?void 0:Me.blur()},we.prototype._onTextAreaBlur=function(){this.textarea.value="",this.refresh(this.buffer.y,this.buffer.y),this._coreService.decPrivateModes.sendFocus&&this._coreService.triggerDataEvent(oe.C0.ESC+"[O"),this.element.classList.remove("focus"),this._onBlur.fire()},we.prototype._syncTextArea=function(){if(this.textarea&&this.buffer.isCursorInViewport&&!this._compositionHelper.isComposing){var Me=Math.ceil(this._charSizeService.height*this.optionsService.options.lineHeight),Oe=this._bufferService.buffer.y*Me,Fe=this._bufferService.buffer.x*this._charSizeService.width;this.textarea.style.left=Fe+"px",this.textarea.style.top=Oe+"px",this.textarea.style.width=this._charSizeService.width+"px",this.textarea.style.height=Me+"px",this.textarea.style.lineHeight=Me+"px",this.textarea.style.zIndex="-5"}},we.prototype._initGlobal=function(){var Me=this;this._bindKeys(),this.register(ne.addDisposableDomListener(this.element,"copy",function(Fe){Me.hasSelection()&&ce.copyHandler(Fe,Me._selectionService)}));var Oe=function(Fe){return ce.handlePasteEvent(Fe,Me.textarea,Me._coreService)};this.register(ne.addDisposableDomListener(this.textarea,"paste",Oe)),this.register(ne.addDisposableDomListener(this.element,"paste",Oe)),re.isFirefox?this.register(ne.addDisposableDomListener(this.element,"mousedown",function(Fe){Fe.button===2&&ce.rightClickHandler(Fe,Me.textarea,Me.screenElement,Me._selectionService,Me.options.rightClickSelectsWord)})):this.register(ne.addDisposableDomListener(this.element,"contextmenu",function(Fe){ce.rightClickHandler(Fe,Me.textarea,Me.screenElement,Me._selectionService,Me.options.rightClickSelectsWord)})),re.isLinux&&this.register(ne.addDisposableDomListener(this.element,"auxclick",function(Fe){Fe.button===1&&ce.moveTextAreaUnderMouseCursor(Fe,Me.textarea,Me.screenElement)}))},we.prototype._bindKeys=function(){var Me=this;this.register(ne.addDisposableDomListener(this.textarea,"keyup",function(Oe){return Me._keyUp(Oe)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keydown",function(Oe){return Me._keyDown(Oe)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"keypress",function(Oe){return Me._keyPress(Oe)},!0)),this.register(ne.addDisposableDomListener(this.textarea,"compositionstart",function(){return Me._compositionHelper.compositionstart()})),this.register(ne.addDisposableDomListener(this.textarea,"compositionupdate",function(Oe){return Me._compositionHelper.compositionupdate(Oe)})),this.register(ne.addDisposableDomListener(this.textarea,"compositionend",function(){return Me._compositionHelper.compositionend()})),this.register(this.onRender(function(){return Me._compositionHelper.updateCompositionElements()})),this.register(this.onRender(function(Oe){return Me._queueLinkification(Oe.start,Oe.end)}))},we.prototype.open=function(Me){var Oe=this;if(!Me)throw new Error("Terminal requires a parent element.");Ae.body.contains(Me)||this._logService.debug("Terminal.open was called on an element that was not attached to the DOM"),this._document=Me.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"),Me.appendChild(this.element);var Fe=Ae.createDocumentFragment();this._viewportElement=Ae.createElement("div"),this._viewportElement.classList.add("xterm-viewport"),Fe.appendChild(this._viewportElement),this._viewportScrollArea=Ae.createElement("div"),this._viewportScrollArea.classList.add("xterm-scroll-area"),this._viewportElement.appendChild(this._viewportScrollArea),this.screenElement=Ae.createElement("div"),this.screenElement.classList.add("xterm-screen"),this._helperContainer=Ae.createElement("div"),this._helperContainer.classList.add("xterm-helpers"),this.screenElement.appendChild(this._helperContainer),Fe.appendChild(this.screenElement),this.textarea=Ae.createElement("textarea"),this.textarea.classList.add("xterm-helper-textarea"),this.textarea.setAttribute("aria-label",te.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(ne.addDisposableDomListener(this.textarea,"focus",function(We){return Oe._onTextAreaFocus(We)})),this.register(ne.addDisposableDomListener(this.textarea,"blur",function(){return Oe._onTextAreaBlur()})),this._helperContainer.appendChild(this.textarea);var Le=this._instantiationService.createInstance(Pe.CoreBrowserService,this.textarea);this._instantiationService.setService(fe.ICoreBrowserService,Le),this._charSizeService=this._instantiationService.createInstance(me.CharSizeService,this._document,this._helperContainer),this._instantiationService.setService(fe.ICharSizeService,this._charSizeService),this._compositionView=Ae.createElement("div"),this._compositionView.classList.add("composition-view"),this._compositionHelper=this._instantiationService.createInstance(pe.CompositionHelper,this.textarea,this._compositionView),this._helperContainer.appendChild(this._compositionView),this.element.appendChild(Fe),this._theme=this.options.theme||this._theme,this._colorManager=new de.ColorManager(Ae,this.options.allowTransparency),this.register(this.optionsService.onOptionChange(function(We){return Oe._colorManager.onOptionsChange(We)})),this._colorManager.setTheme(this._theme);var Qe=this._createRenderer();this._renderService=this.register(this._instantiationService.createInstance(ge.RenderService,Qe,this.rows,this.screenElement)),this._instantiationService.setService(fe.IRenderService,this._renderService),this.register(this._renderService.onRenderedBufferChange(function(We){return Oe._onRender.fire(We)})),this.onResize(function(We){return Oe._renderService.resize(We.cols,We.rows)}),this._soundService=this._instantiationService.createInstance(a.SoundService),this._instantiationService.setService(fe.ISoundService,this._soundService),this._mouseService=this._instantiationService.createInstance(be.MouseService),this._instantiationService.setService(fe.IMouseService,this._mouseService),this.viewport=this._instantiationService.createInstance(he.Viewport,function(We,Ge){return Oe.scrollLines(We,Ge)},this._viewportElement,this._viewportScrollArea),this.viewport.onThemeChange(this._colorManager.colors),this.register(this._inputHandler.onRequestSyncScrollBar(function(){return Oe.viewport.syncScrollArea()})),this.register(this.viewport),this.register(this.onCursorMove(function(){Oe._renderService.onCursorMove(),Oe._syncTextArea()})),this.register(this.onResize(function(){return Oe._renderService.onResize(Oe.cols,Oe.rows)})),this.register(this.onBlur(function(){return Oe._renderService.onBlur()})),this.register(this.onFocus(function(){return Oe._renderService.onFocus()})),this.register(this._renderService.onDimensionsChange(function(){return Oe.viewport.syncScrollArea()})),this._selectionService=this.register(this._instantiationService.createInstance(ae.SelectionService,this.element,this.screenElement)),this._instantiationService.setService(fe.ISelectionService,this._selectionService),this.register(this._selectionService.onRequestScrollLines(function(We){return Oe.scrollLines(We.amount,We.suppressScrollEvent)})),this.register(this._selectionService.onSelectionChange(function(){return Oe._onSelectionChange.fire()})),this.register(this._selectionService.onRequestRedraw(function(We){return Oe._renderService.onSelectionChanged(We.start,We.end,We.columnSelectMode)})),this.register(this._selectionService.onLinuxMouseSelection(function(We){Oe.textarea.value=We,Oe.textarea.focus(),Oe.textarea.select()})),this.register(this.onScroll(function(){Oe.viewport.syncScrollArea(),Oe._selectionService.refresh()})),this.register(ne.addDisposableDomListener(this._viewportElement,"scroll",function(){return Oe._selectionService.refresh()})),this._mouseZoneManager=this._instantiationService.createInstance(y.MouseZoneManager,this.element,this.screenElement),this.register(this._mouseZoneManager),this.register(this.onScroll(function(){return Oe._mouseZoneManager.clearAll()})),this.linkifier.attachToDom(this.element,this._mouseZoneManager),this.linkifier2.attachToDom(this.element,this._mouseService,this._renderService),this.register(ne.addDisposableDomListener(this.element,"mousedown",function(We){return Oe._selectionService.onMouseDown(We)})),this._coreMouseService.areMouseEventsActive?(this._selectionService.disable(),this.element.classList.add("enable-mouse-events")):this._selectionService.enable(),this.options.screenReaderMode&&(this._accessibilityManager=new x.AccessibilityManager(this,this._renderService)),this._charSizeService.measure(),this.refresh(0,this.rows-1),this._initGlobal(),this.bindMouse()},we.prototype._createRenderer=function(){switch(this.options.rendererType){case"canvas":return this._instantiationService.createInstance(le.Renderer,this._colorManager.colors,this.screenElement,this.linkifier,this.linkifier2);case"dom":return this._instantiationService.createInstance(b.DomRenderer,this._colorManager.colors,this.element,this.screenElement,this._viewportElement,this.linkifier,this.linkifier2);default:throw new Error('Unrecognized rendererType "'+this.options.rendererType+'"')}},we.prototype._setTheme=function(Me){var Oe,Fe,Le;this._theme=Me,(Oe=this._colorManager)===null||Oe===void 0||Oe.setTheme(Me),(Fe=this._renderService)===null||Fe===void 0||Fe.setColors(this._colorManager.colors),(Le=this.viewport)===null||Le===void 0||Le.onThemeChange(this._colorManager.colors)},we.prototype.bindMouse=function(){var Me=this,Oe=this,Fe=this.element;function Le(ke){var Ne,Ve,qe=Oe._mouseService.getRawByteCoords(ke,Oe.screenElement,Oe.cols,Oe.rows);if(!qe)return!1;switch(ke.overrideType||ke.type){case"mousemove":Ve=32,ke.buttons===void 0?(Ne=3,ke.button!==void 0&&(Ne=ke.button<3?ke.button:3)):Ne=1&ke.buttons?0:4&ke.buttons?1:2&ke.buttons?2:3;break;case"mouseup":Ve=0,Ne=ke.button<3?ke.button:3;break;case"mousedown":Ve=1,Ne=ke.button<3?ke.button:3;break;case"wheel":ke.deltaY!==0&&(Ve=ke.deltaY<0?0:1),Ne=4;break;default:return!1}return!(Ve===void 0||Ne===void 0||Ne>4)&&Oe._coreMouseService.triggerMouseEvent({col:qe.x-33,row:qe.y-33,button:Ne,action:Ve,ctrl:ke.ctrlKey,alt:ke.altKey,shift:ke.shiftKey})}var Qe={mouseup:null,wheel:null,mousedrag:null,mousemove:null},We=function(ke){return Le(ke),ke.buttons||(Me._document.removeEventListener("mouseup",Qe.mouseup),Qe.mousedrag&&Me._document.removeEventListener("mousemove",Qe.mousedrag)),Me.cancel(ke)},Ge=function(ke){return Le(ke),ke.preventDefault(),Me.cancel(ke)},Ke=function(ke){ke.buttons&&Le(ke)},ze=function(ke){ke.buttons||Le(ke)};this.register(this._coreMouseService.onProtocolChange(function(ke){ke?(Me.optionsService.options.logLevel==="debug"&&Me._logService.debug("Binding to mouse events:",Me._coreMouseService.explainEvents(ke)),Me.element.classList.add("enable-mouse-events"),Me._selectionService.disable()):(Me._logService.debug("Unbinding from mouse events."),Me.element.classList.remove("enable-mouse-events"),Me._selectionService.enable()),8&ke?Qe.mousemove||(Fe.addEventListener("mousemove",ze),Qe.mousemove=ze):(Fe.removeEventListener("mousemove",Qe.mousemove),Qe.mousemove=null),16&ke?Qe.wheel||(Fe.addEventListener("wheel",Ge,{passive:!1}),Qe.wheel=Ge):(Fe.removeEventListener("wheel",Qe.wheel),Qe.wheel=null),2&ke?Qe.mouseup||(Qe.mouseup=We):(Me._document.removeEventListener("mouseup",Qe.mouseup),Qe.mouseup=null),4&ke?Qe.mousedrag||(Qe.mousedrag=Ke):(Me._document.removeEventListener("mousemove",Qe.mousedrag),Qe.mousedrag=null)})),this._coreMouseService.activeProtocol=this._coreMouseService.activeProtocol,this.register(ne.addDisposableDomListener(Fe,"mousedown",function(ke){if(ke.preventDefault(),Me.focus(),Me._coreMouseService.areMouseEventsActive&&!Me._selectionService.shouldForceSelection(ke))return Le(ke),Qe.mouseup&&Me._document.addEventListener("mouseup",Qe.mouseup),Qe.mousedrag&&Me._document.addEventListener("mousemove",Qe.mousedrag),Me.cancel(ke)})),this.register(ne.addDisposableDomListener(Fe,"wheel",function(ke){if(!Qe.wheel){if(!Me.buffer.hasScrollback){var Ne=Me.viewport.getLinesScrolled(ke);if(Ne===0)return;for(var Ve=oe.C0.ESC+(Me._coreService.decPrivateModes.applicationCursorKeys?"O":"[")+(ke.deltaY<0?"A":"B"),qe="",rt=0;rt<Math.abs(Ne);rt++)qe+=Ve;Me._coreService.triggerDataEvent(qe,!0)}}},{passive:!0})),this.register(ne.addDisposableDomListener(Fe,"wheel",function(ke){if(!Qe.wheel)return Me.viewport.onWheel(ke)?void 0:Me.cancel(ke)},{passive:!1})),this.register(ne.addDisposableDomListener(Fe,"touchstart",function(ke){if(!Me._coreMouseService.areMouseEventsActive)return Me.viewport.onTouchStart(ke),Me.cancel(ke)},{passive:!0})),this.register(ne.addDisposableDomListener(Fe,"touchmove",function(ke){if(!Me._coreMouseService.areMouseEventsActive)return Me.viewport.onTouchMove(ke)?void 0:Me.cancel(ke)},{passive:!1}))},we.prototype.refresh=function(Me,Oe){var Fe;(Fe=this._renderService)===null||Fe===void 0||Fe.refreshRows(Me,Oe)},we.prototype._queueLinkification=function(Me,Oe){var Fe;(Fe=this.linkifier)===null||Fe===void 0||Fe.linkifyRows(Me,Oe)},we.prototype.updateCursorStyle=function(Me){this._selectionService&&this._selectionService.shouldColumnSelect(Me)?this.element.classList.add("column-select"):this.element.classList.remove("column-select")},we.prototype._showCursor=function(){this._coreService.isCursorInitialized||(this._coreService.isCursorInitialized=!0,this.refresh(this.buffer.y,this.buffer.y))},we.prototype.scrollLines=function(Me,Oe){_e.prototype.scrollLines.call(this,Me,Oe),this.refresh(0,this.rows-1)},we.prototype.paste=function(Me){ce.paste(Me,this.textarea,this._coreService)},we.prototype.attachCustomKeyEventHandler=function(Me){this._customKeyEventHandler=Me},we.prototype.registerLinkMatcher=function(Me,Oe,Fe){var Le=this.linkifier.registerLinkMatcher(Me,Oe,Fe);return this.refresh(0,this.rows-1),Le},we.prototype.deregisterLinkMatcher=function(Me){this.linkifier.deregisterLinkMatcher(Me)&&this.refresh(0,this.rows-1)},we.prototype.registerLinkProvider=function(Me){return this.linkifier2.registerLinkProvider(Me)},we.prototype.registerCharacterJoiner=function(Me){var Oe=this._renderService.registerCharacterJoiner(Me);return this.refresh(0,this.rows-1),Oe},we.prototype.deregisterCharacterJoiner=function(Me){this._renderService.deregisterCharacterJoiner(Me)&&this.refresh(0,this.rows-1)},Object.defineProperty(we.prototype,"markers",{get:function(){return this.buffer.markers},enumerable:!1,configurable:!0}),we.prototype.addMarker=function(Me){if(this.buffer===this.buffers.normal)return this.buffer.addMarker(this.buffer.ybase+this.buffer.y+Me)},we.prototype.hasSelection=function(){return!!this._selectionService&&this._selectionService.hasSelection},we.prototype.select=function(Me,Oe,Fe){this._selectionService.setSelection(Me,Oe,Fe)},we.prototype.getSelection=function(){return this._selectionService?this._selectionService.selectionText:""},we.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]}},we.prototype.clearSelection=function(){var Me;(Me=this._selectionService)===null||Me===void 0||Me.clearSelection()},we.prototype.selectAll=function(){var Me;(Me=this._selectionService)===null||Me===void 0||Me.selectAll()},we.prototype.selectLines=function(Me,Oe){var Fe;(Fe=this._selectionService)===null||Fe===void 0||Fe.selectLines(Me,Oe)},we.prototype._keyDown=function(Me){if(this._keyDownHandled=!1,this._customKeyEventHandler&&this._customKeyEventHandler(Me)===!1)return!1;if(!this._compositionHelper.keydown(Me))return this.buffer.ybase!==this.buffer.ydisp&&this.scrollToBottom(),!1;var Oe=ee.evaluateKeyboardEvent(Me,this._coreService.decPrivateModes.applicationCursorKeys,this.browser.isMac,this.options.macOptionIsMeta);if(this.updateCursorStyle(Me),Oe.type===3||Oe.type===2){var Fe=this.rows-1;return this.scrollLines(Oe.type===2?-Fe:Fe),this.cancel(Me,!0)}return Oe.type===1&&this.selectAll(),!!this._isThirdLevelShift(this.browser,Me)||(Oe.cancel&&this.cancel(Me,!0),!Oe.key||(Oe.key!==oe.C0.ETX&&Oe.key!==oe.C0.CR||(this.textarea.value=""),this._onKey.fire({key:Oe.key,domEvent:Me}),this._showCursor(),this._coreService.triggerDataEvent(Oe.key,!0),this.optionsService.options.screenReaderMode?void(this._keyDownHandled=!0):this.cancel(Me,!0)))},we.prototype._isThirdLevelShift=function(Me,Oe){var Fe=Me.isMac&&!this.options.macOptionIsMeta&&Oe.altKey&&!Oe.ctrlKey&&!Oe.metaKey||Me.isWindows&&Oe.altKey&&Oe.ctrlKey&&!Oe.metaKey;return Oe.type==="keypress"?Fe:Fe&&(!Oe.keyCode||Oe.keyCode>47)},we.prototype._keyUp=function(Me){this._customKeyEventHandler&&this._customKeyEventHandler(Me)===!1||(function(Oe){return Oe.keyCode===16||Oe.keyCode===17||Oe.keyCode===18}(Me)||this.focus(),this.updateCursorStyle(Me))},we.prototype._keyPress=function(Me){var Oe;if(this._keyDownHandled||this._customKeyEventHandler&&this._customKeyEventHandler(Me)===!1)return!1;if(this.cancel(Me),Me.charCode)Oe=Me.charCode;else if(Me.which===null||Me.which===void 0)Oe=Me.keyCode;else{if(Me.which===0||Me.charCode===0)return!1;Oe=Me.which}return!(!Oe||(Me.altKey||Me.ctrlKey||Me.metaKey)&&!this._isThirdLevelShift(this.browser,Me))&&(Oe=String.fromCharCode(Oe),this._onKey.fire({key:Oe,domEvent:Me}),this._showCursor(),this._coreService.triggerDataEvent(Oe,!0),!0)},we.prototype.bell=function(){this._soundBell()&&this._soundService.playBellSound()},we.prototype.resize=function(Me,Oe){Me!==this.cols||Oe!==this.rows?_e.prototype.resize.call(this,Me,Oe):this._charSizeService&&!this._charSizeService.hasValidSize&&this._charSizeService.measure()},we.prototype._afterResize=function(Me,Oe){var Fe,Le;(Fe=this._charSizeService)===null||Fe===void 0||Fe.measure(),(Le=this.viewport)===null||Le===void 0||Le.syncScrollArea(!0)},we.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 Me=1;Me<this.rows;Me++)this.buffer.lines.push(this.buffer.getBlankLine(ue.DEFAULT_ATTR_DATA));this.refresh(0,this.rows-1),this._onScroll.fire(this.buffer.ydisp)}},we.prototype.reset=function(){var Me,Oe;this.options.rows=this.rows,this.options.cols=this.cols;var Fe=this._customKeyEventHandler;this._setup(),_e.prototype.reset.call(this),(Me=this._selectionService)===null||Me===void 0||Me.reset(),this._customKeyEventHandler=Fe,this.refresh(0,this.rows-1),(Oe=this.viewport)===null||Oe===void 0||Oe.syncScrollArea()},we.prototype._reportWindowsOptions=function(Me){if(this._renderService)switch(Me){case ie.WindowsOptionsReportType.GET_WIN_SIZE_PIXELS:var Oe=this._renderService.dimensions.scaledCanvasWidth.toFixed(0),Fe=this._renderService.dimensions.scaledCanvasHeight.toFixed(0);this._coreService.triggerDataEvent(oe.C0.ESC+"[4;"+Fe+";"+Oe+"t");break;case ie.WindowsOptionsReportType.GET_CELL_SIZE_PIXELS:var Le=this._renderService.dimensions.scaledCellWidth.toFixed(0),Qe=this._renderService.dimensions.scaledCellHeight.toFixed(0);this._coreService.triggerDataEvent(oe.C0.ESC+"[6;"+Qe+";"+Le+"t")}},we.prototype.cancel=function(Me,Oe){if(this.options.cancelEvents||Oe)return Me.preventDefault(),Me.stopPropagation(),!1},we.prototype._visualBell=function(){return!1},we.prototype._soundBell=function(){return this.options.bellStyle==="sound"},we}(Ee.CoreTerminal);Se.Terminal=Ce},function(ot,Se,ye){"use strict";var je=this&&this.__decorate||function(oe,ie,le,se){var ae,re=arguments.length,ne=re<3?ie:se===null?se=Object.getOwnPropertyDescriptor(ie,le):se;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(oe,ie,le,se);else for(var te=oe.length-1;te>=0;te--)(ae=oe[te])&&(ne=(re<3?ae(ne):re>3?ae(ie,le,ne):ae(ie,le))||ne);return re>3&&ne&&Object.defineProperty(ie,le,ne),ne},E=this&&this.__param||function(oe,ie){return function(le,se){ie(le,se,oe)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.CompositionHelper=void 0;var pe=ye(5),he=ye(1),ce=function(){function oe(ie,le,se,ae,re,ne){this._textarea=ie,this._compositionView=le,this._bufferService=se,this._optionsService=ae,this._charSizeService=re,this._coreService=ne,this._isComposing=!1,this._isSendingComposition=!1,this._compositionPosition={start:0,end:0}}return Object.defineProperty(oe.prototype,"isComposing",{get:function(){return this._isComposing},enumerable:!1,configurable:!0}),oe.prototype.compositionstart=function(){this._isComposing=!0,this._compositionPosition.start=this._textarea.value.length,this._compositionView.textContent="",this._compositionView.classList.add("active")},oe.prototype.compositionupdate=function(ie){var le=this;this._compositionView.textContent=ie.data,this.updateCompositionElements(),setTimeout(function(){le._compositionPosition.end=le._textarea.value.length},0)},oe.prototype.compositionend=function(){this._finalizeComposition(!0)},oe.prototype.keydown=function(ie){if(this._isComposing||this._isSendingComposition){if(ie.keyCode===229||ie.keyCode===16||ie.keyCode===17||ie.keyCode===18)return!1;this._finalizeComposition(!1)}return ie.keyCode!==229||(this._handleAnyTextareaChanges(),!1)},oe.prototype._finalizeComposition=function(ie){var le=this;if(this._compositionView.classList.remove("active"),this._isComposing=!1,ie){var se={start:this._compositionPosition.start,end:this._compositionPosition.end};this._isSendingComposition=!0,setTimeout(function(){if(le._isSendingComposition){le._isSendingComposition=!1;var re=void 0;re=le._isComposing?le._textarea.value.substring(se.start,se.end):le._textarea.value.substring(se.start),le._coreService.triggerDataEvent(re,!0)}},0)}else{this._isSendingComposition=!1;var ae=this._textarea.value.substring(this._compositionPosition.start,this._compositionPosition.end);this._coreService.triggerDataEvent(ae,!0)}},oe.prototype._handleAnyTextareaChanges=function(){var ie=this,le=this._textarea.value;setTimeout(function(){if(!ie._isComposing){var se=ie._textarea.value.replace(le,"");se.length>0&&ie._coreService.triggerDataEvent(se,!0)}},0)},oe.prototype.updateCompositionElements=function(ie){var le=this;if(this._isComposing){if(this._bufferService.buffer.isCursorInViewport){var se=Math.ceil(this._charSizeService.height*this._optionsService.options.lineHeight),ae=this._bufferService.buffer.y*se,re=this._bufferService.buffer.x*this._charSizeService.width;this._compositionView.style.left=re+"px",this._compositionView.style.top=ae+"px",this._compositionView.style.height=se+"px",this._compositionView.style.lineHeight=se+"px",this._compositionView.style.fontFamily=this._optionsService.options.fontFamily,this._compositionView.style.fontSize=this._optionsService.options.fontSize+"px";var ne=this._compositionView.getBoundingClientRect();this._textarea.style.left=re+"px",this._textarea.style.top=ae+"px",this._textarea.style.width=ne.width+"px",this._textarea.style.height=ne.height+"px",this._textarea.style.lineHeight=ne.height+"px"}ie||setTimeout(function(){return le.updateCompositionElements(!0)},0)}},oe=je([E(2,he.IBufferService),E(3,he.IOptionsService),E(4,pe.ICharSizeService),E(5,he.ICoreService)],oe)}();Se.CompositionHelper=ce},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(ae,re){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var a in te)te.hasOwnProperty(a)&&(ne[a]=te[a])})(ae,re)},function(ae,re){function ne(){this.constructor=ae}je(ae,re),ae.prototype=re===null?Object.create(re):(ne.prototype=re.prototype,new ne)}),pe=this&&this.__decorate||function(ae,re,ne,te){var a,y=arguments.length,x=y<3?re:te===null?te=Object.getOwnPropertyDescriptor(re,ne):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,re,ne,te);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(re,ne,x):a(re,ne))||x);return y>3&&x&&Object.defineProperty(re,ne,x),x},he=this&&this.__param||function(ae,re){return function(ne,te){re(ne,te,ae)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.Viewport=void 0;var ce=ye(2),oe=ye(7),ie=ye(5),le=ye(1),se=function(ae){function re(ne,te,a,y,x,b,ee){var z=ae.call(this)||this;return z._scrollLines=ne,z._viewportElement=te,z._scrollArea=a,z._bufferService=y,z._optionsService=x,z._charSizeService=b,z._renderService=ee,z.scrollBarWidth=0,z._currentRowHeight=0,z._lastRecordedBufferLength=0,z._lastRecordedViewportHeight=0,z._lastRecordedBufferHeight=0,z._lastTouchY=0,z._lastScrollTop=0,z._wheelPartialScroll=0,z._refreshAnimationFrame=null,z._ignoreNextScrollEvent=!1,z.scrollBarWidth=z._viewportElement.offsetWidth-z._scrollArea.offsetWidth||15,z.register(oe.addDisposableDomListener(z._viewportElement,"scroll",z._onScroll.bind(z))),setTimeout(function(){return z.syncScrollArea()},0),z}return E(re,ae),re.prototype.onThemeChange=function(ne){this._viewportElement.style.backgroundColor=ne.background.css},re.prototype._refresh=function(ne){var te=this;if(ne)return this._innerRefresh(),void(this._refreshAnimationFrame!==null&&cancelAnimationFrame(this._refreshAnimationFrame));this._refreshAnimationFrame===null&&(this._refreshAnimationFrame=requestAnimationFrame(function(){return te._innerRefresh()}))},re.prototype._innerRefresh=function(){if(this._charSizeService.height>0){this._currentRowHeight=this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio,this._lastRecordedViewportHeight=this._viewportElement.offsetHeight;var ne=Math.round(this._currentRowHeight*this._lastRecordedBufferLength)+(this._lastRecordedViewportHeight-this._renderService.dimensions.canvasHeight);this._lastRecordedBufferHeight!==ne&&(this._lastRecordedBufferHeight=ne,this._scrollArea.style.height=this._lastRecordedBufferHeight+"px")}var te=this._bufferService.buffer.ydisp*this._currentRowHeight;this._viewportElement.scrollTop!==te&&(this._ignoreNextScrollEvent=!0,this._viewportElement.scrollTop=te),this._refreshAnimationFrame=null},re.prototype.syncScrollArea=function(ne){if(ne===void 0&&(ne=!1),this._lastRecordedBufferLength!==this._bufferService.buffer.lines.length)return this._lastRecordedBufferLength=this._bufferService.buffer.lines.length,void this._refresh(ne);if(this._lastRecordedViewportHeight===this._renderService.dimensions.canvasHeight){var te=this._bufferService.buffer.ydisp*this._currentRowHeight;this._lastScrollTop===te&&this._lastScrollTop===this._viewportElement.scrollTop&&this._renderService.dimensions.scaledCellHeight/window.devicePixelRatio===this._currentRowHeight||this._refresh(ne)}else this._refresh(ne)},re.prototype._onScroll=function(ne){if(this._lastScrollTop=this._viewportElement.scrollTop,this._viewportElement.offsetParent)if(this._ignoreNextScrollEvent)this._ignoreNextScrollEvent=!1;else{var te=Math.round(this._lastScrollTop/this._currentRowHeight)-this._bufferService.buffer.ydisp;this._scrollLines(te,!0)}},re.prototype._bubbleScroll=function(ne,te){var a=this._viewportElement.scrollTop+this._lastRecordedViewportHeight;return!(te<0&&this._viewportElement.scrollTop!==0||te>0&&a<this._lastRecordedBufferHeight)||(ne.cancelable&&ne.preventDefault(),!1)},re.prototype.onWheel=function(ne){var te=this._getPixelsScrolled(ne);return te!==0&&(this._viewportElement.scrollTop+=te,this._bubbleScroll(ne,te))},re.prototype._getPixelsScrolled=function(ne){if(ne.deltaY===0)return 0;var te=this._applyScrollModifier(ne.deltaY,ne);return ne.deltaMode===WheelEvent.DOM_DELTA_LINE?te*=this._currentRowHeight:ne.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(te*=this._currentRowHeight*this._bufferService.rows),te},re.prototype.getLinesScrolled=function(ne){if(ne.deltaY===0)return 0;var te=this._applyScrollModifier(ne.deltaY,ne);return ne.deltaMode===WheelEvent.DOM_DELTA_PIXEL?(te/=this._currentRowHeight+0,this._wheelPartialScroll+=te,te=Math.floor(Math.abs(this._wheelPartialScroll))*(this._wheelPartialScroll>0?1:-1),this._wheelPartialScroll%=1):ne.deltaMode===WheelEvent.DOM_DELTA_PAGE&&(te*=this._bufferService.rows),te},re.prototype._applyScrollModifier=function(ne,te){var a=this._optionsService.options.fastScrollModifier;return a==="alt"&&te.altKey||a==="ctrl"&&te.ctrlKey||a==="shift"&&te.shiftKey?ne*this._optionsService.options.fastScrollSensitivity*this._optionsService.options.scrollSensitivity:ne*this._optionsService.options.scrollSensitivity},re.prototype.onTouchStart=function(ne){this._lastTouchY=ne.touches[0].pageY},re.prototype.onTouchMove=function(ne){var te=this._lastTouchY-ne.touches[0].pageY;return this._lastTouchY=ne.touches[0].pageY,te!==0&&(this._viewportElement.scrollTop+=te,this._bubbleScroll(ne,te))},re=pe([he(3,le.IBufferService),he(4,le.IOptionsService),he(5,ie.ICharSizeService),he(6,ie.IRenderService)],re)}(ce.Disposable);Se.Viewport=se},function(ot,Se,ye){"use strict";function je(ce){return ce.replace(/\r?\n/g,"\r")}function E(ce,oe){return oe?"\x1B[200~"+ce+"\x1B[201~":ce}function pe(ce,oe,ie){ce=E(ce=je(ce),ie.decPrivateModes.bracketedPasteMode),ie.triggerDataEvent(ce,!0),oe.value=""}function he(ce,oe,ie){var le=ie.getBoundingClientRect(),se=ce.clientX-le.left-10,ae=ce.clientY-le.top-10;oe.style.width="20px",oe.style.height="20px",oe.style.left=se+"px",oe.style.top=ae+"px",oe.style.zIndex="1000",oe.focus()}Object.defineProperty(Se,"__esModule",{value:!0}),Se.rightClickHandler=Se.moveTextAreaUnderMouseCursor=Se.paste=Se.handlePasteEvent=Se.copyHandler=Se.bracketTextForPaste=Se.prepareTextForTerminal=void 0,Se.prepareTextForTerminal=je,Se.bracketTextForPaste=E,Se.copyHandler=function(ce,oe){ce.clipboardData&&ce.clipboardData.setData("text/plain",oe.selectionText),ce.preventDefault()},Se.handlePasteEvent=function(ce,oe,ie){ce.stopPropagation(),ce.clipboardData&&pe(ce.clipboardData.getData("text/plain"),oe,ie)},Se.paste=pe,Se.moveTextAreaUnderMouseCursor=he,Se.rightClickHandler=function(ce,oe,ie,le,se){he(ce,oe,ie),se&&!le.isClickInSelection(ce)&&le.selectWordAtCursor(ce),oe.value=le.selectionText,oe.select()}},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(ae,re){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var a in te)te.hasOwnProperty(a)&&(ne[a]=te[a])})(ae,re)},function(ae,re){function ne(){this.constructor=ae}je(ae,re),ae.prototype=re===null?Object.create(re):(ne.prototype=re.prototype,new ne)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.EscapeSequenceParser=Se.VT500_TRANSITION_TABLE=Se.TransitionTable=void 0;var pe=ye(2),he=ye(15),ce=ye(21),oe=ye(22),ie=ye(24),le=function(){function ae(re){this.table=new Uint8Array(re)}return ae.prototype.setDefault=function(re,ne){he.fill(this.table,re<<4|ne)},ae.prototype.add=function(re,ne,te,a){this.table[ne<<8|re]=te<<4|a},ae.prototype.addMany=function(re,ne,te,a){for(var y=0;y<re.length;y++)this.table[ne<<8|re[y]]=te<<4|a},ae}();Se.TransitionTable=le,Se.VT500_TRANSITION_TABLE=function(){var ae=new le(4095),re=Array.apply(null,Array(256)).map(function(b,ee){return ee}),ne=function(b,ee){return re.slice(b,ee)},te=ne(32,127),a=ne(0,24);a.push(25),a.push.apply(a,ne(28,32));var y,x=ne(0,14);for(y in ae.setDefault(1,0),ae.addMany(te,0,2,0),x)ae.addMany([24,26,153,154],y,3,0),ae.addMany(ne(128,144),y,3,0),ae.addMany(ne(144,152),y,3,0),ae.add(156,y,0,0),ae.add(27,y,11,1),ae.add(157,y,4,8),ae.addMany([152,158,159],y,0,7),ae.add(155,y,11,3),ae.add(144,y,11,9);return ae.addMany(a,0,3,0),ae.addMany(a,1,3,1),ae.add(127,1,0,1),ae.addMany(a,8,0,8),ae.addMany(a,3,3,3),ae.add(127,3,0,3),ae.addMany(a,4,3,4),ae.add(127,4,0,4),ae.addMany(a,6,3,6),ae.addMany(a,5,3,5),ae.add(127,5,0,5),ae.addMany(a,2,3,2),ae.add(127,2,0,2),ae.add(93,1,4,8),ae.addMany(te,8,5,8),ae.add(127,8,5,8),ae.addMany([156,27,24,26,7],8,6,0),ae.addMany(ne(28,32),8,0,8),ae.addMany([88,94,95],1,0,7),ae.addMany(te,7,0,7),ae.addMany(a,7,0,7),ae.add(156,7,0,0),ae.add(127,7,0,7),ae.add(91,1,11,3),ae.addMany(ne(64,127),3,7,0),ae.addMany(ne(48,60),3,8,4),ae.addMany([60,61,62,63],3,9,4),ae.addMany(ne(48,60),4,8,4),ae.addMany(ne(64,127),4,7,0),ae.addMany([60,61,62,63],4,0,6),ae.addMany(ne(32,64),6,0,6),ae.add(127,6,0,6),ae.addMany(ne(64,127),6,0,0),ae.addMany(ne(32,48),3,9,5),ae.addMany(ne(32,48),5,9,5),ae.addMany(ne(48,64),5,0,6),ae.addMany(ne(64,127),5,7,0),ae.addMany(ne(32,48),4,9,5),ae.addMany(ne(32,48),1,9,2),ae.addMany(ne(32,48),2,9,2),ae.addMany(ne(48,127),2,10,0),ae.addMany(ne(48,80),1,10,0),ae.addMany(ne(81,88),1,10,0),ae.addMany([89,90,92],1,10,0),ae.addMany(ne(96,127),1,10,0),ae.add(80,1,11,9),ae.addMany(a,9,0,9),ae.add(127,9,0,9),ae.addMany(ne(28,32),9,0,9),ae.addMany(ne(32,48),9,9,12),ae.addMany(ne(48,60),9,8,10),ae.addMany([60,61,62,63],9,9,10),ae.addMany(a,11,0,11),ae.addMany(ne(32,128),11,0,11),ae.addMany(ne(28,32),11,0,11),ae.addMany(a,10,0,10),ae.add(127,10,0,10),ae.addMany(ne(28,32),10,0,10),ae.addMany(ne(48,60),10,8,10),ae.addMany([60,61,62,63],10,0,11),ae.addMany(ne(32,48),10,9,12),ae.addMany(a,12,0,12),ae.add(127,12,0,12),ae.addMany(ne(28,32),12,0,12),ae.addMany(ne(32,48),12,9,12),ae.addMany(ne(48,64),12,0,11),ae.addMany(ne(64,127),12,12,13),ae.addMany(ne(64,127),10,12,13),ae.addMany(ne(64,127),9,12,13),ae.addMany(a,13,13,13),ae.addMany(te,13,13,13),ae.add(127,13,0,13),ae.addMany([27,156,24,26],13,14,0),ae.add(160,0,2,0),ae.add(160,8,5,8),ae.add(160,6,0,6),ae.add(160,11,0,11),ae.add(160,13,13,13),ae}();var se=function(ae){function re(ne){ne===void 0&&(ne=Se.VT500_TRANSITION_TABLE);var te=ae.call(this)||this;return te._transitions=ne,te.initialState=0,te.currentState=te.initialState,te._params=new ce.Params,te._params.addParam(0),te._collect=0,te.precedingCodepoint=0,te._printHandlerFb=function(a,y,x){},te._executeHandlerFb=function(a){},te._csiHandlerFb=function(a,y){},te._escHandlerFb=function(a){},te._errorHandlerFb=function(a){return a},te._printHandler=te._printHandlerFb,te._executeHandlers=Object.create(null),te._csiHandlers=Object.create(null),te._escHandlers=Object.create(null),te._oscParser=new oe.OscParser,te._dcsParser=new ie.DcsParser,te._errorHandler=te._errorHandlerFb,te.setEscHandler({final:"\\"},function(){}),te}return E(re,ae),re.prototype._identifier=function(ne,te){te===void 0&&(te=[64,126]);var a=0;if(ne.prefix){if(ne.prefix.length>1)throw new Error("only one byte as prefix supported");if((a=ne.prefix.charCodeAt(0))&&60>a||a>63)throw new Error("prefix must be in range 0x3c .. 0x3f")}if(ne.intermediates){if(ne.intermediates.length>2)throw new Error("only two bytes as intermediates are supported");for(var y=0;y<ne.intermediates.length;++y){var x=ne.intermediates.charCodeAt(y);if(32>x||x>47)throw new Error("intermediate must be in range 0x20 .. 0x2f");a<<=8,a|=x}}if(ne.final.length!==1)throw new Error("final must be a single byte");var b=ne.final.charCodeAt(0);if(te[0]>b||b>te[1])throw new Error("final must be in range "+te[0]+" .. "+te[1]);return a<<=8,a|=b},re.prototype.identToString=function(ne){for(var te=[];ne;)te.push(String.fromCharCode(255&ne)),ne>>=8;return te.reverse().join("")},re.prototype.dispose=function(){this._csiHandlers=Object.create(null),this._executeHandlers=Object.create(null),this._escHandlers=Object.create(null),this._oscParser.dispose(),this._dcsParser.dispose()},re.prototype.setPrintHandler=function(ne){this._printHandler=ne},re.prototype.clearPrintHandler=function(){this._printHandler=this._printHandlerFb},re.prototype.addEscHandler=function(ne,te){var a=this._identifier(ne,[48,126]);this._escHandlers[a]===void 0&&(this._escHandlers[a]=[]);var y=this._escHandlers[a];return y.push(te),{dispose:function(){var x=y.indexOf(te);x!==-1&&y.splice(x,1)}}},re.prototype.setEscHandler=function(ne,te){this._escHandlers[this._identifier(ne,[48,126])]=[te]},re.prototype.clearEscHandler=function(ne){this._escHandlers[this._identifier(ne,[48,126])]&&delete this._escHandlers[this._identifier(ne,[48,126])]},re.prototype.setEscHandlerFallback=function(ne){this._escHandlerFb=ne},re.prototype.setExecuteHandler=function(ne,te){this._executeHandlers[ne.charCodeAt(0)]=te},re.prototype.clearExecuteHandler=function(ne){this._executeHandlers[ne.charCodeAt(0)]&&delete this._executeHandlers[ne.charCodeAt(0)]},re.prototype.setExecuteHandlerFallback=function(ne){this._executeHandlerFb=ne},re.prototype.addCsiHandler=function(ne,te){var a=this._identifier(ne);this._csiHandlers[a]===void 0&&(this._csiHandlers[a]=[]);var y=this._csiHandlers[a];return y.push(te),{dispose:function(){var x=y.indexOf(te);x!==-1&&y.splice(x,1)}}},re.prototype.setCsiHandler=function(ne,te){this._csiHandlers[this._identifier(ne)]=[te]},re.prototype.clearCsiHandler=function(ne){this._csiHandlers[this._identifier(ne)]&&delete this._csiHandlers[this._identifier(ne)]},re.prototype.setCsiHandlerFallback=function(ne){this._csiHandlerFb=ne},re.prototype.addDcsHandler=function(ne,te){return this._dcsParser.addHandler(this._identifier(ne),te)},re.prototype.setDcsHandler=function(ne,te){this._dcsParser.setHandler(this._identifier(ne),te)},re.prototype.clearDcsHandler=function(ne){this._dcsParser.clearHandler(this._identifier(ne))},re.prototype.setDcsHandlerFallback=function(ne){this._dcsParser.setHandlerFallback(ne)},re.prototype.addOscHandler=function(ne,te){return this._oscParser.addHandler(ne,te)},re.prototype.setOscHandler=function(ne,te){this._oscParser.setHandler(ne,te)},re.prototype.clearOscHandler=function(ne){this._oscParser.clearHandler(ne)},re.prototype.setOscHandlerFallback=function(ne){this._oscParser.setHandlerFallback(ne)},re.prototype.setErrorHandler=function(ne){this._errorHandler=ne},re.prototype.clearErrorHandler=function(){this._errorHandler=this._errorHandlerFb},re.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},re.prototype.parse=function(ne,te){for(var a=0,y=0,x=this.currentState,b=this._oscParser,ee=this._dcsParser,z=this._collect,ue=this._params,de=this._transitions.table,ge=0;ge<te;++ge){switch((y=de[x<<8|((a=ne[ge])<160?a:160)])>>4){case 2:for(var fe=ge+1;;++fe){if(fe>=te||(a=ne[fe])<32||a>126&&a<160){this._printHandler(ne,ge,fe),ge=fe-1;break}if(++fe>=te||(a=ne[fe])<32||a>126&&a<160){this._printHandler(ne,ge,fe),ge=fe-1;break}if(++fe>=te||(a=ne[fe])<32||a>126&&a<160){this._printHandler(ne,ge,fe),ge=fe-1;break}if(++fe>=te||(a=ne[fe])<32||a>126&&a<160){this._printHandler(ne,ge,fe),ge=fe-1;break}}break;case 3:this._executeHandlers[a]?this._executeHandlers[a]():this._executeHandlerFb(a),this.precedingCodepoint=0;break;case 0:break;case 1:if(this._errorHandler({position:ge,code:a,currentState:x,collect:z,params:ue,abort:!1}).abort)return;break;case 7:for(var me=this._csiHandlers[z<<8|a],be=me?me.length-1:-1;be>=0&&me[be](ue)===!1;be--);be<0&&this._csiHandlerFb(z<<8|a,ue),this.precedingCodepoint=0;break;case 8:do switch(a){case 59:ue.addParam(0);break;case 58:ue.addSubParam(-1);break;default:ue.addDigit(a-48)}while(++ge<te&&(a=ne[ge])>47&&a<60);ge--;break;case 9:z<<=8,z|=a;break;case 10:for(var ve=this._escHandlers[z<<8|a],Pe=ve?ve.length-1:-1;Pe>=0&&ve[Pe]()===!1;Pe--);Pe<0&&this._escHandlerFb(z<<8|a),this.precedingCodepoint=0;break;case 11:ue.reset(),ue.addParam(0),z=0;break;case 12:ee.hook(z<<8|a,ue);break;case 13:for(var Ee=ge+1;;++Ee)if(Ee>=te||(a=ne[Ee])===24||a===26||a===27||a>127&&a<160){ee.put(ne,ge,Ee),ge=Ee-1;break}break;case 14:ee.unhook(a!==24&&a!==26),a===27&&(y|=1),ue.reset(),ue.addParam(0),z=0,this.precedingCodepoint=0;break;case 4:b.start();break;case 5:for(var Ae=ge+1;;Ae++)if(Ae>=te||(a=ne[Ae])<32||a>127&&a<=159){b.put(ne,ge,Ae),ge=Ae-1;break}break;case 6:b.end(a!==24&&a!==26),a===27&&(y|=1),ue.reset(),ue.addParam(0),z=0,this.precedingCodepoint=0}x=15&y}this._collect=z,this.currentState=x},re}(pe.Disposable);Se.EscapeSequenceParser=se},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(b,ee){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,ue){z.__proto__=ue}||function(z,ue){for(var de in ue)ue.hasOwnProperty(de)&&(z[de]=ue[de])})(b,ee)},function(b,ee){function z(){this.constructor=b}je(b,ee),b.prototype=ee===null?Object.create(ee):(z.prototype=ee.prototype,new z)}),pe=this&&this.__decorate||function(b,ee,z,ue){var de,ge=arguments.length,fe=ge<3?ee:ue===null?ue=Object.getOwnPropertyDescriptor(ee,z):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")fe=Reflect.decorate(b,ee,z,ue);else for(var me=b.length-1;me>=0;me--)(de=b[me])&&(fe=(ge<3?de(fe):ge>3?de(ee,z,fe):de(ee,z))||fe);return ge>3&&fe&&Object.defineProperty(ee,z,fe),fe},he=this&&this.__param||function(b,ee){return function(z,ue){ee(z,ue,b)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.Renderer=void 0;var ce=ye(41),oe=ye(47),ie=ye(48),le=ye(49),se=ye(29),ae=ye(2),re=ye(5),ne=ye(1),te=ye(25),a=ye(0),y=1,x=function(b){function ee(z,ue,de,ge,fe,me,be,ve,Pe){var Ee=b.call(this)||this;Ee._colors=z,Ee._screenElement=ue,Ee._bufferService=fe,Ee._charSizeService=me,Ee._optionsService=be,Ee._id=y++,Ee._onRequestRedraw=new a.EventEmitter;var Ae=Ee._optionsService.options.allowTransparency;return Ee._characterJoinerRegistry=new se.CharacterJoinerRegistry(Ee._bufferService),Ee._renderLayers=[new ce.TextRenderLayer(Ee._screenElement,0,Ee._colors,Ee._characterJoinerRegistry,Ae,Ee._id,Ee._bufferService,be),new oe.SelectionRenderLayer(Ee._screenElement,1,Ee._colors,Ee._id,Ee._bufferService,be),new le.LinkRenderLayer(Ee._screenElement,2,Ee._colors,Ee._id,de,ge,Ee._bufferService,be),new ie.CursorRenderLayer(Ee._screenElement,3,Ee._colors,Ee._id,Ee._onRequestRedraw,Ee._bufferService,be,ve,Pe)],Ee.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},Ee._devicePixelRatio=window.devicePixelRatio,Ee._updateDimensions(),Ee.onOptionsChanged(),Ee}return E(ee,b),Object.defineProperty(ee.prototype,"onRequestRedraw",{get:function(){return this._onRequestRedraw.event},enumerable:!1,configurable:!0}),ee.prototype.dispose=function(){for(var z=0,ue=this._renderLayers;z<ue.length;z++)ue[z].dispose();b.prototype.dispose.call(this),te.removeTerminalFromCache(this._id)},ee.prototype.onDevicePixelRatioChange=function(){this._devicePixelRatio!==window.devicePixelRatio&&(this._devicePixelRatio=window.devicePixelRatio,this.onResize(this._bufferService.cols,this._bufferService.rows))},ee.prototype.setColors=function(z){this._colors=z;for(var ue=0,de=this._renderLayers;ue<de.length;ue++){var ge=de[ue];ge.setColors(this._colors),ge.reset()}},ee.prototype.onResize=function(z,ue){this._updateDimensions();for(var de=0,ge=this._renderLayers;de<ge.length;de++)ge[de].resize(this.dimensions);this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},ee.prototype.onCharSizeChanged=function(){this.onResize(this._bufferService.cols,this._bufferService.rows)},ee.prototype.onBlur=function(){this._runOperation(function(z){return z.onBlur()})},ee.prototype.onFocus=function(){this._runOperation(function(z){return z.onFocus()})},ee.prototype.onSelectionChanged=function(z,ue,de){de===void 0&&(de=!1),this._runOperation(function(ge){return ge.onSelectionChanged(z,ue,de)})},ee.prototype.onCursorMove=function(){this._runOperation(function(z){return z.onCursorMove()})},ee.prototype.onOptionsChanged=function(){this._runOperation(function(z){return z.onOptionsChanged()})},ee.prototype.clear=function(){this._runOperation(function(z){return z.reset()})},ee.prototype._runOperation=function(z){for(var ue=0,de=this._renderLayers;ue<de.length;ue++)z(de[ue])},ee.prototype.renderRows=function(z,ue){for(var de=0,ge=this._renderLayers;de<ge.length;de++)ge[de].onGridChanged(z,ue)},ee.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)},ee.prototype.registerCharacterJoiner=function(z){return this._characterJoinerRegistry.registerCharacterJoiner(z)},ee.prototype.deregisterCharacterJoiner=function(z){return this._characterJoinerRegistry.deregisterCharacterJoiner(z)},ee=pe([he(4,ne.IBufferService),he(5,re.ICharSizeService),he(6,ne.IOptionsService),he(7,ne.ICoreService),he(8,re.ICoreBrowserService)],ee)}(ae.Disposable);Se.Renderer=x},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(ae,re){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var a in te)te.hasOwnProperty(a)&&(ne[a]=te[a])})(ae,re)},function(ae,re){function ne(){this.constructor=ae}je(ae,re),ae.prototype=re===null?Object.create(re):(ne.prototype=re.prototype,new ne)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.TextRenderLayer=void 0;var pe=ye(42),he=ye(13),ce=ye(6),oe=ye(3),ie=ye(29),le=ye(4),se=function(ae){function re(ne,te,a,y,x,b,ee,z){var ue=ae.call(this,ne,"text",te,x,a,b,ee,z)||this;return ue._characterWidth=0,ue._characterFont="",ue._characterOverlapCache={},ue._workCell=new le.CellData,ue._state=new pe.GridCache,ue._characterJoinerRegistry=y,ue}return E(re,ae),re.prototype.resize=function(ne){ae.prototype.resize.call(this,ne);var te=this._getFont(!1,!1);this._characterWidth===ne.scaledCharWidth&&this._characterFont===te||(this._characterWidth=ne.scaledCharWidth,this._characterFont=te,this._characterOverlapCache={}),this._state.clear(),this._state.resize(this._bufferService.cols,this._bufferService.rows)},re.prototype.reset=function(){this._state.clear(),this._clearAll()},re.prototype._forEachCell=function(ne,te,a,y){for(var x=ne;x<=te;x++)for(var b=x+this._bufferService.buffer.ydisp,ee=this._bufferService.buffer.lines.get(b),z=a?a.getJoinedCharacters(b):[],ue=0;ue<this._bufferService.cols;ue++){ee.loadCell(ue,this._workCell);var de=this._workCell,ge=!1,fe=ue;if(de.getWidth()!==0){if(z.length>0&&ue===z[0][0]){ge=!0;var me=z.shift();de=new ie.JoinedCellData(this._workCell,ee.translateToString(!0,me[0],me[1]),me[1]-me[0]),fe=me[1]-1}!ge&&this._isOverlapping(de)&&fe<ee.length-1&&ee.getCodePoint(fe+1)===oe.NULL_CELL_CODE&&(de.content&=-12582913,de.content|=2<<22),y(de,ue,x),ue=fe}}},re.prototype._drawBackground=function(ne,te){var a=this,y=this._ctx,x=this._bufferService.cols,b=0,ee=0,z=null;y.save(),this._forEachCell(ne,te,null,function(ue,de,ge){var fe=null;ue.isInverse()?fe=ue.isFgDefault()?a._colors.foreground.css:ue.isFgRGB()?"rgb("+ce.AttributeData.toColorRGB(ue.getFgColor()).join(",")+")":a._colors.ansi[ue.getFgColor()].css:ue.isBgRGB()?fe="rgb("+ce.AttributeData.toColorRGB(ue.getBgColor()).join(",")+")":ue.isBgPalette()&&(fe=a._colors.ansi[ue.getBgColor()].css),z===null&&(b=de,ee=ge),ge!==ee?(y.fillStyle=z||"",a._fillCells(b,ee,x-b,1),b=de,ee=ge):z!==fe&&(y.fillStyle=z||"",a._fillCells(b,ee,de-b,1),b=de,ee=ge),z=fe}),z!==null&&(y.fillStyle=z,this._fillCells(b,ee,x-b,1)),y.restore()},re.prototype._drawForeground=function(ne,te){var a=this;this._forEachCell(ne,te,this._characterJoinerRegistry,function(y,x,b){if(!y.isInvisible()&&(a._drawChars(y,x,b),y.isUnderline())){if(a._ctx.save(),y.isInverse())if(y.isBgDefault())a._ctx.fillStyle=a._colors.background.css;else if(y.isBgRGB())a._ctx.fillStyle="rgb("+ce.AttributeData.toColorRGB(y.getBgColor()).join(",")+")";else{var ee=y.getBgColor();a._optionsService.options.drawBoldTextInBrightColors&&y.isBold()&&ee<8&&(ee+=8),a._ctx.fillStyle=a._colors.ansi[ee].css}else if(y.isFgDefault())a._ctx.fillStyle=a._colors.foreground.css;else if(y.isFgRGB())a._ctx.fillStyle="rgb("+ce.AttributeData.toColorRGB(y.getFgColor()).join(",")+")";else{var z=y.getFgColor();a._optionsService.options.drawBoldTextInBrightColors&&y.isBold()&&z<8&&(z+=8),a._ctx.fillStyle=a._colors.ansi[z].css}a._fillBottomLineAtCells(x,b,y.getWidth()),a._ctx.restore()}})},re.prototype.onGridChanged=function(ne,te){this._state.cache.length!==0&&(this._charAtlas&&this._charAtlas.beginFrame(),this._clearCells(0,ne,this._bufferService.cols,te-ne+1),this._drawBackground(ne,te),this._drawForeground(ne,te))},re.prototype.onOptionsChanged=function(){this._setTransparency(this._optionsService.options.allowTransparency)},re.prototype._isOverlapping=function(ne){if(ne.getWidth()!==1||ne.getCode()<256)return!1;var te=ne.getChars();if(this._characterOverlapCache.hasOwnProperty(te))return this._characterOverlapCache[te];this._ctx.save(),this._ctx.font=this._characterFont;var a=Math.floor(this._ctx.measureText(te).width)>this._characterWidth;return this._ctx.restore(),this._characterOverlapCache[te]=a,a},re}(he.BaseRenderLayer);Se.TextRenderLayer=se},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.GridCache=void 0;var je=function(){function E(){this.cache=[]}return E.prototype.resize=function(pe,he){for(var ce=0;ce<pe;ce++){this.cache.length<=ce&&this.cache.push([]);for(var oe=this.cache[ce].length;oe<he;oe++)this.cache[ce].push(void 0);this.cache[ce].length=he}this.cache.length=pe},E.prototype.clear=function(){for(var pe=0;pe<this.cache.length;pe++)for(var he=0;he<this.cache[pe].length;he++)this.cache[pe][he]=void 0},E}();Se.GridCache=je},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(a,y){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(x,b){x.__proto__=b}||function(x,b){for(var ee in b)b.hasOwnProperty(ee)&&(x[ee]=b[ee])})(a,y)},function(a,y){function x(){this.constructor=a}je(a,y),a.prototype=y===null?Object.create(y):(x.prototype=y.prototype,new x)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.NoneCharAtlas=Se.DynamicCharAtlas=Se.getGlyphCacheKey=void 0;var pe=ye(9),he=ye(44),ce=ye(27),oe=ye(46),ie=ye(11),le=ye(28),se=ye(10),ae={css:"rgba(0, 0, 0, 0)",rgba:0};function re(a){return a.code<<21|a.bg<<12|a.fg<<3|(a.bold?0:4)+(a.dim?0:2)+(a.italic?0:1)}Se.getGlyphCacheKey=re;var ne=function(a){function y(x,b){var ee=a.call(this)||this;ee._config=b,ee._drawToCacheCount=0,ee._glyphsWaitingOnBitmap=[],ee._bitmapCommitTimeout=null,ee._bitmap=null,ee._cacheCanvas=x.createElement("canvas"),ee._cacheCanvas.width=1024,ee._cacheCanvas.height=1024,ee._cacheCtx=le.throwIfFalsy(ee._cacheCanvas.getContext("2d",{alpha:!0}));var z=x.createElement("canvas");z.width=ee._config.scaledCharWidth,z.height=ee._config.scaledCharHeight,ee._tmpCtx=le.throwIfFalsy(z.getContext("2d",{alpha:ee._config.allowTransparency})),ee._width=Math.floor(1024/ee._config.scaledCharWidth),ee._height=Math.floor(1024/ee._config.scaledCharHeight);var ue=ee._width*ee._height;return ee._cacheMap=new oe.LRUMap(ue),ee._cacheMap.prealloc(ue),ee}return E(y,a),y.prototype.dispose=function(){this._bitmapCommitTimeout!==null&&(window.clearTimeout(this._bitmapCommitTimeout),this._bitmapCommitTimeout=null)},y.prototype.beginFrame=function(){this._drawToCacheCount=0},y.prototype.draw=function(x,b,ee,z){if(b.code===32)return!0;if(!this._canCache(b))return!1;var ue=re(b),de=this._cacheMap.get(ue);if(de!=null)return this._drawFromCache(x,de,ee,z),!0;if(this._drawToCacheCount<100){var ge=void 0;ge=this._cacheMap.size<this._cacheMap.capacity?this._cacheMap.size:this._cacheMap.peek().index;var fe=this._drawToCache(b,ge);return this._cacheMap.set(ue,fe),this._drawFromCache(x,fe,ee,z),!0}return!1},y.prototype._canCache=function(x){return x.code<256},y.prototype._toCoordinateX=function(x){return x%this._width*this._config.scaledCharWidth},y.prototype._toCoordinateY=function(x){return Math.floor(x/this._width)*this._config.scaledCharHeight},y.prototype._drawFromCache=function(x,b,ee,z){if(!b.isEmpty){var ue=this._toCoordinateX(b.index),de=this._toCoordinateY(b.index);x.drawImage(b.inBitmap?this._bitmap:this._cacheCanvas,ue,de,this._config.scaledCharWidth,this._config.scaledCharHeight,ee,z,this._config.scaledCharWidth,this._config.scaledCharHeight)}},y.prototype._getColorFromAnsiIndex=function(x){return x<this._config.colors.ansi.length?this._config.colors.ansi[x]:ce.DEFAULT_ANSI_COLORS[x]},y.prototype._getBackgroundColor=function(x){return this._config.allowTransparency?ae:x.bg===pe.INVERTED_DEFAULT_COLOR?this._config.colors.foreground:x.bg<256?this._getColorFromAnsiIndex(x.bg):this._config.colors.background},y.prototype._getForegroundColor=function(x){return x.fg===pe.INVERTED_DEFAULT_COLOR?se.color.opaque(this._config.colors.background):x.fg<256?this._getColorFromAnsiIndex(x.fg):this._config.colors.foreground},y.prototype._drawToCache=function(x,b){this._drawToCacheCount++,this._tmpCtx.save();var ee=this._getBackgroundColor(x);this._tmpCtx.globalCompositeOperation="copy",this._tmpCtx.fillStyle=ee.css,this._tmpCtx.fillRect(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),this._tmpCtx.globalCompositeOperation="source-over";var z=x.bold?this._config.fontWeightBold:this._config.fontWeight,ue=x.italic?"italic":"";this._tmpCtx.font=ue+" "+z+" "+this._config.fontSize*this._config.devicePixelRatio+"px "+this._config.fontFamily,this._tmpCtx.textBaseline="middle",this._tmpCtx.fillStyle=this._getForegroundColor(x).css,x.dim&&(this._tmpCtx.globalAlpha=pe.DIM_OPACITY),this._tmpCtx.fillText(x.chars,0,this._config.scaledCharHeight/2),this._tmpCtx.restore();var de=this._tmpCtx.getImageData(0,0,this._config.scaledCharWidth,this._config.scaledCharHeight),ge=!1;this._config.allowTransparency||(ge=function(ve,Pe){for(var Ee=!0,Ae=Pe.rgba>>>24,Ce=Pe.rgba>>>16&255,_e=Pe.rgba>>>8&255,we=0;we<ve.data.length;we+=4)ve.data[we]===Ae&&ve.data[we+1]===Ce&&ve.data[we+2]===_e?ve.data[we+3]=0:Ee=!1;return Ee}(de,ee));var fe=this._toCoordinateX(b),me=this._toCoordinateY(b);this._cacheCtx.putImageData(de,fe,me);var be={index:b,isEmpty:ge,inBitmap:!1};return this._addGlyphToBitmap(be),be},y.prototype._addGlyphToBitmap=function(x){var b=this;!("createImageBitmap"in window)||ie.isFirefox||ie.isSafari||(this._glyphsWaitingOnBitmap.push(x),this._bitmapCommitTimeout===null&&(this._bitmapCommitTimeout=window.setTimeout(function(){return b._generateBitmap()},100)))},y.prototype._generateBitmap=function(){var x=this,b=this._glyphsWaitingOnBitmap;this._glyphsWaitingOnBitmap=[],window.createImageBitmap(this._cacheCanvas).then(function(ee){x._bitmap=ee;for(var z=0;z<b.length;z++)b[z].inBitmap=!0}),this._bitmapCommitTimeout=null},y}(he.BaseCharAtlas);Se.DynamicCharAtlas=ne;var te=function(a){function y(x,b){return a.call(this)||this}return E(y,a),y.prototype.draw=function(x,b,ee,z){return!1},y}(he.BaseCharAtlas);Se.NoneCharAtlas=te},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.BaseCharAtlas=void 0;var je=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}();Se.BaseCharAtlas=je},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.ColorContrastCache=void 0;var je=function(){function E(){this._color={},this._rgba={}}return E.prototype.clear=function(){this._color={},this._rgba={}},E.prototype.setCss=function(pe,he,ce){this._rgba[pe]||(this._rgba[pe]={}),this._rgba[pe][he]=ce},E.prototype.getCss=function(pe,he){return this._rgba[pe]?this._rgba[pe][he]:void 0},E.prototype.setColor=function(pe,he,ce){this._color[pe]||(this._color[pe]={}),this._color[pe][he]=ce},E.prototype.getColor=function(pe,he){return this._color[pe]?this._color[pe][he]:void 0},E}();Se.ColorContrastCache=je},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.LRUMap=void 0;var je=function(){function E(pe){this.capacity=pe,this._map={},this._head=null,this._tail=null,this._nodePool=[],this.size=0}return E.prototype._unlinkNode=function(pe){var he=pe.prev,ce=pe.next;pe===this._head&&(this._head=ce),pe===this._tail&&(this._tail=he),he!==null&&(he.next=ce),ce!==null&&(ce.prev=he)},E.prototype._appendNode=function(pe){var he=this._tail;he!==null&&(he.next=pe),pe.prev=he,pe.next=null,this._tail=pe,this._head===null&&(this._head=pe)},E.prototype.prealloc=function(pe){for(var he=this._nodePool,ce=0;ce<pe;ce++)he.push({prev:null,next:null,key:null,value:null})},E.prototype.get=function(pe){var he=this._map[pe];return he!==void 0?(this._unlinkNode(he),this._appendNode(he),he.value):null},E.prototype.peekValue=function(pe){var he=this._map[pe];return he!==void 0?he.value:null},E.prototype.peek=function(){var pe=this._head;return pe===null?null:pe.value},E.prototype.set=function(pe,he){var ce=this._map[pe];if(ce!==void 0)ce=this._map[pe],this._unlinkNode(ce),ce.value=he;else if(this.size>=this.capacity)ce=this._head,this._unlinkNode(ce),delete this._map[ce.key],ce.key=pe,ce.value=he,this._map[pe]=ce;else{var oe=this._nodePool;oe.length>0?((ce=oe.pop()).key=pe,ce.value=he):ce={prev:null,next:null,key:pe,value:he},this._map[pe]=ce,this.size++}this._appendNode(ce)},E}();Se.LRUMap=je},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(he,ce){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(oe,ie){oe.__proto__=ie}||function(oe,ie){for(var le in ie)ie.hasOwnProperty(le)&&(oe[le]=ie[le])})(he,ce)},function(he,ce){function oe(){this.constructor=he}je(he,ce),he.prototype=ce===null?Object.create(ce):(oe.prototype=ce.prototype,new oe)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.SelectionRenderLayer=void 0;var pe=function(he){function ce(oe,ie,le,se,ae,re){var ne=he.call(this,oe,"selection",ie,!0,le,se,ae,re)||this;return ne._clearState(),ne}return E(ce,he),ce.prototype._clearState=function(){this._state={start:void 0,end:void 0,columnSelectMode:void 0,ydisp:void 0}},ce.prototype.resize=function(oe){he.prototype.resize.call(this,oe),this._clearState()},ce.prototype.reset=function(){this._state.start&&this._state.end&&(this._clearState(),this._clearAll())},ce.prototype.onSelectionChanged=function(oe,ie,le){if(this._didStateChange(oe,ie,le,this._bufferService.buffer.ydisp))if(this._clearAll(),oe&&ie){var se=oe[1]-this._bufferService.buffer.ydisp,ae=ie[1]-this._bufferService.buffer.ydisp,re=Math.max(se,0),ne=Math.min(ae,this._bufferService.rows-1);if(!(re>=this._bufferService.rows||ne<0)){if(this._ctx.fillStyle=this._colors.selectionTransparent.css,le){var te=oe[0],a=ie[0]-te,y=ne-re+1;this._fillCells(te,re,a,y)}else{te=se===re?oe[0]:0;var x=re===ne?ie[0]:this._bufferService.cols;this._fillCells(te,re,x-te,1);var b=Math.max(ne-re-1,0);if(this._fillCells(0,re+1,this._bufferService.cols,b),re!==ne){var ee=ae===ne?ie[0]:this._bufferService.cols;this._fillCells(0,ne,ee,1)}}this._state.start=[oe[0],oe[1]],this._state.end=[ie[0],ie[1]],this._state.columnSelectMode=le,this._state.ydisp=this._bufferService.buffer.ydisp}}else this._clearState()},ce.prototype._didStateChange=function(oe,ie,le,se){return!this._areCoordinatesEqual(oe,this._state.start)||!this._areCoordinatesEqual(ie,this._state.end)||le!==this._state.columnSelectMode||se!==this._state.ydisp},ce.prototype._areCoordinatesEqual=function(oe,ie){return!(!oe||!ie)&&oe[0]===ie[0]&&oe[1]===ie[1]},ce}(ye(13).BaseRenderLayer);Se.SelectionRenderLayer=pe},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(ie,le){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,ae){se.__proto__=ae}||function(se,ae){for(var re in ae)ae.hasOwnProperty(re)&&(se[re]=ae[re])})(ie,le)},function(ie,le){function se(){this.constructor=ie}je(ie,le),ie.prototype=le===null?Object.create(le):(se.prototype=le.prototype,new se)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.CursorRenderLayer=void 0;var pe=ye(13),he=ye(4),ce=function(ie){function le(se,ae,re,ne,te,a,y,x,b){var ee=ie.call(this,se,"cursor",ae,!0,re,ne,a,y)||this;return ee._onRequestRedraw=te,ee._coreService=x,ee._coreBrowserService=b,ee._cell=new he.CellData,ee._state={x:0,y:0,isFocused:!1,style:"",width:0},ee._cursorRenderers={bar:ee._renderBarCursor.bind(ee),block:ee._renderBlockCursor.bind(ee),underline:ee._renderUnderlineCursor.bind(ee)},ee}return E(le,ie),le.prototype.resize=function(se){ie.prototype.resize.call(this,se),this._state={x:0,y:0,isFocused:!1,style:"",width:0}},le.prototype.reset=function(){this._clearCursor(),this._cursorBlinkStateManager&&(this._cursorBlinkStateManager.dispose(),this._cursorBlinkStateManager=void 0,this.onOptionsChanged())},le.prototype.onBlur=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.pause(),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},le.prototype.onFocus=function(){this._cursorBlinkStateManager?this._cursorBlinkStateManager.resume():this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},le.prototype.onOptionsChanged=function(){var se,ae=this;this._optionsService.options.cursorBlink?this._cursorBlinkStateManager||(this._cursorBlinkStateManager=new oe(this._coreBrowserService.isFocused,function(){ae._render(!0)})):((se=this._cursorBlinkStateManager)===null||se===void 0||se.dispose(),this._cursorBlinkStateManager=void 0),this._onRequestRedraw.fire({start:this._bufferService.buffer.y,end:this._bufferService.buffer.y})},le.prototype.onCursorMove=function(){this._cursorBlinkStateManager&&this._cursorBlinkStateManager.restartBlinkAnimation()},le.prototype.onGridChanged=function(se,ae){!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isPaused?this._render(!1):this._cursorBlinkStateManager.restartBlinkAnimation()},le.prototype._render=function(se){if(this._coreService.isCursorInitialized&&!this._coreService.isCursorHidden){var ae=this._bufferService.buffer.ybase+this._bufferService.buffer.y,re=ae-this._bufferService.buffer.ydisp;if(re<0||re>=this._bufferService.rows)this._clearCursor();else{var ne=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1);if(this._bufferService.buffer.lines.get(ae).loadCell(ne,this._cell),this._cell.content!==void 0){if(!this._coreBrowserService.isFocused){this._clearCursor(),this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css;var te=this._optionsService.options.cursorStyle;return te&&te!=="block"?this._cursorRenderers[te](ne,re,this._cell):this._renderBlurCursor(ne,re,this._cell),this._ctx.restore(),this._state.x=ne,this._state.y=re,this._state.isFocused=!1,this._state.style=te,void(this._state.width=this._cell.getWidth())}if(!this._cursorBlinkStateManager||this._cursorBlinkStateManager.isCursorVisible){if(this._state){if(this._state.x===ne&&this._state.y===re&&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"](ne,re,this._cell),this._ctx.restore(),this._state.x=ne,this._state.y=re,this._state.isFocused=!1,this._state.style=this._optionsService.options.cursorStyle,this._state.width=this._cell.getWidth()}else this._clearCursor()}}}else this._clearCursor()},le.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})},le.prototype._renderBarCursor=function(se,ae,re){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillLeftLineAtCell(se,ae,this._optionsService.options.cursorWidth),this._ctx.restore()},le.prototype._renderBlockCursor=function(se,ae,re){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillCells(se,ae,re.getWidth(),1),this._ctx.fillStyle=this._colors.cursorAccent.css,this._fillCharTrueColor(re,se,ae),this._ctx.restore()},le.prototype._renderUnderlineCursor=function(se,ae,re){this._ctx.save(),this._ctx.fillStyle=this._colors.cursor.css,this._fillBottomLineAtCells(se,ae),this._ctx.restore()},le.prototype._renderBlurCursor=function(se,ae,re){this._ctx.save(),this._ctx.strokeStyle=this._colors.cursor.css,this._strokeRectAtCell(se,ae,re.getWidth(),1),this._ctx.restore()},le}(pe.BaseRenderLayer);Se.CursorRenderLayer=ce;var oe=function(){function ie(le,se){this._renderCallback=se,this.isCursorVisible=!0,le&&this._restartInterval()}return Object.defineProperty(ie.prototype,"isPaused",{get:function(){return!(this._blinkStartTimeout||this._blinkInterval)},enumerable:!1,configurable:!0}),ie.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)},ie.prototype.restartBlinkAnimation=function(){var le=this;this.isPaused||(this._animationTimeRestarted=Date.now(),this.isCursorVisible=!0,this._animationFrame||(this._animationFrame=window.requestAnimationFrame(function(){le._renderCallback(),le._animationFrame=void 0})))},ie.prototype._restartInterval=function(le){var se=this;le===void 0&&(le=600),this._blinkInterval&&window.clearInterval(this._blinkInterval),this._blinkStartTimeout=window.setTimeout(function(){if(se._animationTimeRestarted){var ae=600-(Date.now()-se._animationTimeRestarted);if(se._animationTimeRestarted=void 0,ae>0)return void se._restartInterval(ae)}se.isCursorVisible=!1,se._animationFrame=window.requestAnimationFrame(function(){se._renderCallback(),se._animationFrame=void 0}),se._blinkInterval=window.setInterval(function(){if(se._animationTimeRestarted){var re=600-(Date.now()-se._animationTimeRestarted);return se._animationTimeRestarted=void 0,void se._restartInterval(re)}se.isCursorVisible=!se.isCursorVisible,se._animationFrame=window.requestAnimationFrame(function(){se._renderCallback(),se._animationFrame=void 0})},600)},le)},ie.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)},ie.prototype.resume=function(){this.pause(),this._animationTimeRestarted=void 0,this._restartInterval(),this.restartBlinkAnimation()},ie}()},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(ie,le){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(se,ae){se.__proto__=ae}||function(se,ae){for(var re in ae)ae.hasOwnProperty(re)&&(se[re]=ae[re])})(ie,le)},function(ie,le){function se(){this.constructor=ie}je(ie,le),ie.prototype=le===null?Object.create(le):(se.prototype=le.prototype,new se)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.LinkRenderLayer=void 0;var pe=ye(13),he=ye(9),ce=ye(26),oe=function(ie){function le(se,ae,re,ne,te,a,y,x){var b=ie.call(this,se,"link",ae,!0,re,ne,y,x)||this;return te.onShowLinkUnderline(function(ee){return b._onShowLinkUnderline(ee)}),te.onHideLinkUnderline(function(ee){return b._onHideLinkUnderline(ee)}),a.onShowLinkUnderline(function(ee){return b._onShowLinkUnderline(ee)}),a.onHideLinkUnderline(function(ee){return b._onHideLinkUnderline(ee)}),b}return E(le,ie),le.prototype.resize=function(se){ie.prototype.resize.call(this,se),this._state=void 0},le.prototype.reset=function(){this._clearCurrentLink()},le.prototype._clearCurrentLink=function(){if(this._state){this._clearCells(this._state.x1,this._state.y1,this._state.cols-this._state.x1,1);var se=this._state.y2-this._state.y1-1;se>0&&this._clearCells(0,this._state.y1+1,this._state.cols,se),this._clearCells(0,this._state.y2,this._state.x2,1),this._state=void 0}},le.prototype._onShowLinkUnderline=function(se){if(se.fg===he.INVERTED_DEFAULT_COLOR?this._ctx.fillStyle=this._colors.background.css:se.fg&&ce.is256Color(se.fg)?this._ctx.fillStyle=this._colors.ansi[se.fg].css:this._ctx.fillStyle=this._colors.foreground.css,se.y1===se.y2)this._fillBottomLineAtCells(se.x1,se.y1,se.x2-se.x1);else{this._fillBottomLineAtCells(se.x1,se.y1,se.cols-se.x1);for(var ae=se.y1+1;ae<se.y2;ae++)this._fillBottomLineAtCells(0,ae,se.cols);this._fillBottomLineAtCells(0,se.y2,se.x2)}this._state=se},le.prototype._onHideLinkUnderline=function(se){this._clearCurrentLink()},le}(pe.BaseRenderLayer);Se.LinkRenderLayer=oe},function(ot,Se,ye){"use strict";var je=this&&this.__decorate||function(ie,le,se,ae){var re,ne=arguments.length,te=ne<3?le:ae===null?ae=Object.getOwnPropertyDescriptor(le,se):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(ie,le,se,ae);else for(var a=ie.length-1;a>=0;a--)(re=ie[a])&&(te=(ne<3?re(te):ne>3?re(le,se,te):re(le,se))||te);return ne>3&&te&&Object.defineProperty(le,se,te),te},E=this&&this.__param||function(ie,le){return function(se,ae){le(se,ae,ie)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.MouseZone=Se.Linkifier=void 0;var pe=ye(0),he=ye(1),ce=function(){function ie(le,se,ae){this._bufferService=le,this._logService=se,this._unicodeService=ae,this._linkMatchers=[],this._nextLinkMatcherId=0,this._onShowLinkUnderline=new pe.EventEmitter,this._onHideLinkUnderline=new pe.EventEmitter,this._onLinkTooltip=new pe.EventEmitter,this._rowsToLinkify={start:void 0,end:void 0}}return Object.defineProperty(ie.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onLinkTooltip",{get:function(){return this._onLinkTooltip.event},enumerable:!1,configurable:!0}),ie.prototype.attachToDom=function(le,se){this._element=le,this._mouseZoneManager=se},ie.prototype.linkifyRows=function(le,se){var ae=this;this._mouseZoneManager&&(this._rowsToLinkify.start===void 0||this._rowsToLinkify.end===void 0?(this._rowsToLinkify.start=le,this._rowsToLinkify.end=se):(this._rowsToLinkify.start=Math.min(this._rowsToLinkify.start,le),this._rowsToLinkify.end=Math.max(this._rowsToLinkify.end,se)),this._mouseZoneManager.clearAll(le,se),this._rowsTimeoutId&&clearTimeout(this._rowsTimeoutId),this._rowsTimeoutId=setTimeout(function(){return ae._linkifyRows()},ie._timeBeforeLatency))},ie.prototype._linkifyRows=function(){this._rowsTimeoutId=void 0;var le=this._bufferService.buffer;if(this._rowsToLinkify.start!==void 0&&this._rowsToLinkify.end!==void 0){var se=le.ydisp+this._rowsToLinkify.start;if(!(se>=le.lines.length)){for(var ae=le.ydisp+Math.min(this._rowsToLinkify.end,this._bufferService.rows)+1,re=Math.ceil(2e3/this._bufferService.cols),ne=this._bufferService.buffer.iterator(!1,se,ae,re,re);ne.hasNext();)for(var te=ne.next(),a=0;a<this._linkMatchers.length;a++)this._doLinkifyRow(te.range.first,te.content,this._linkMatchers[a]);this._rowsToLinkify.start=void 0,this._rowsToLinkify.end=void 0}}else this._logService.debug("_rowToLinkify was unset before _linkifyRows was called")},ie.prototype.registerLinkMatcher=function(le,se,ae){if(ae===void 0&&(ae={}),!se)throw new Error("handler must be defined");var re={id:this._nextLinkMatcherId++,regex:le,handler:se,matchIndex:ae.matchIndex,validationCallback:ae.validationCallback,hoverTooltipCallback:ae.tooltipCallback,hoverLeaveCallback:ae.leaveCallback,willLinkActivate:ae.willLinkActivate,priority:ae.priority||0};return this._addLinkMatcherToList(re),re.id},ie.prototype._addLinkMatcherToList=function(le){if(this._linkMatchers.length!==0){for(var se=this._linkMatchers.length-1;se>=0;se--)if(le.priority<=this._linkMatchers[se].priority)return void this._linkMatchers.splice(se+1,0,le);this._linkMatchers.splice(0,0,le)}else this._linkMatchers.push(le)},ie.prototype.deregisterLinkMatcher=function(le){for(var se=0;se<this._linkMatchers.length;se++)if(this._linkMatchers[se].id===le)return this._linkMatchers.splice(se,1),!0;return!1},ie.prototype._doLinkifyRow=function(le,se,ae){for(var re,ne=this,te=new RegExp(ae.regex.source,(ae.regex.flags||"")+"g"),a=-1,y=function(){var b=re[typeof ae.matchIndex!="number"?0:ae.matchIndex];if(!b)return x._logService.debug("match found without corresponding matchIndex",re,ae),"break";if(a=se.indexOf(b,a+1),te.lastIndex=a+b.length,a<0)return"break";var ee=x._bufferService.buffer.stringIndexToBufferIndex(le,a);if(ee[0]<0)return"break";var z=x._bufferService.buffer.lines.get(ee[0]);if(!z)return"break";var ue=z.getFg(ee[1]),de=ue?ue>>9&511:void 0;ae.validationCallback?ae.validationCallback(b,function(ge){ne._rowsTimeoutId||ge&&ne._addLink(ee[1],ee[0]-ne._bufferService.buffer.ydisp,b,ae,de)}):x._addLink(ee[1],ee[0]-x._bufferService.buffer.ydisp,b,ae,de)},x=this;(re=te.exec(se))!==null&&y()!=="break";);},ie.prototype._addLink=function(le,se,ae,re,ne){var te=this;if(this._mouseZoneManager&&this._element){var a=this._unicodeService.getStringCellWidth(ae),y=le%this._bufferService.cols,x=se+Math.floor(le/this._bufferService.cols),b=(y+a)%this._bufferService.cols,ee=x+Math.floor((y+a)/this._bufferService.cols);b===0&&(b=this._bufferService.cols,ee--),this._mouseZoneManager.add(new oe(y+1,x+1,b+1,ee+1,function(z){if(re.handler)return re.handler(z,ae);var ue=window.open();ue?(ue.opener=null,ue.location.href=ae):console.warn("Opening link blocked as opener could not be cleared")},function(){te._onShowLinkUnderline.fire(te._createLinkHoverEvent(y,x,b,ee,ne)),te._element.classList.add("xterm-cursor-pointer")},function(z){te._onLinkTooltip.fire(te._createLinkHoverEvent(y,x,b,ee,ne)),re.hoverTooltipCallback&&re.hoverTooltipCallback(z,ae,{start:{x:y,y:x},end:{x:b,y:ee}})},function(){te._onHideLinkUnderline.fire(te._createLinkHoverEvent(y,x,b,ee,ne)),te._element.classList.remove("xterm-cursor-pointer"),re.hoverLeaveCallback&&re.hoverLeaveCallback()},function(z){return!re.willLinkActivate||re.willLinkActivate(z,ae)}))}},ie.prototype._createLinkHoverEvent=function(le,se,ae,re,ne){return{x1:le,y1:se,x2:ae,y2:re,cols:this._bufferService.cols,fg:ne}},ie._timeBeforeLatency=200,ie=je([E(0,he.IBufferService),E(1,he.ILogService),E(2,he.IUnicodeService)],ie)}();Se.Linkifier=ce;var oe=function(ie,le,se,ae,re,ne,te,a,y){this.x1=ie,this.y1=le,this.x2=se,this.y2=ae,this.clickCallback=re,this.hoverCallback=ne,this.tooltipCallback=te,this.leaveCallback=a,this.willLinkActivate=y};Se.MouseZone=oe},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(b,ee){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(z,ue){z.__proto__=ue}||function(z,ue){for(var de in ue)ue.hasOwnProperty(de)&&(z[de]=ue[de])})(b,ee)},function(b,ee){function z(){this.constructor=b}je(b,ee),b.prototype=ee===null?Object.create(ee):(z.prototype=ee.prototype,new z)}),pe=this&&this.__decorate||function(b,ee,z,ue){var de,ge=arguments.length,fe=ge<3?ee:ue===null?ue=Object.getOwnPropertyDescriptor(ee,z):ue;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")fe=Reflect.decorate(b,ee,z,ue);else for(var me=b.length-1;me>=0;me--)(de=b[me])&&(fe=(ge<3?de(fe):ge>3?de(ee,z,fe):de(ee,z))||fe);return ge>3&&fe&&Object.defineProperty(ee,z,fe),fe},he=this&&this.__param||function(b,ee){return function(z,ue){ee(z,ue,b)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.SelectionService=void 0;var ce=ye(11),oe=ye(52),ie=ye(4),le=ye(0),se=ye(5),ae=ye(1),re=ye(30),ne=ye(53),te=ye(2),a="\xA0",y=new RegExp(a,"g"),x=function(b){function ee(z,ue,de,ge,fe,me,be){var ve=b.call(this)||this;return ve._element=z,ve._screenElement=ue,ve._bufferService=de,ve._coreService=ge,ve._mouseService=fe,ve._optionsService=me,ve._renderService=be,ve._dragScrollAmount=0,ve._enabled=!0,ve._workCell=new ie.CellData,ve._mouseDownTimeStamp=0,ve._onLinuxMouseSelection=ve.register(new le.EventEmitter),ve._onRedrawRequest=ve.register(new le.EventEmitter),ve._onSelectionChange=ve.register(new le.EventEmitter),ve._onRequestScrollLines=ve.register(new le.EventEmitter),ve._mouseMoveListener=function(Pe){return ve._onMouseMove(Pe)},ve._mouseUpListener=function(Pe){return ve._onMouseUp(Pe)},ve._coreService.onUserInput(function(){ve.hasSelection&&ve.clearSelection()}),ve._trimListener=ve._bufferService.buffer.lines.onTrim(function(Pe){return ve._onTrim(Pe)}),ve.register(ve._bufferService.buffers.onBufferActivate(function(Pe){return ve._onBufferActivate(Pe)})),ve.enable(),ve._model=new oe.SelectionModel(ve._bufferService),ve._activeSelectionMode=0,ve}return E(ee,b),Object.defineProperty(ee.prototype,"onLinuxMouseSelection",{get:function(){return this._onLinuxMouseSelection.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onRequestRedraw",{get:function(){return this._onRedrawRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onSelectionChange",{get:function(){return this._onSelectionChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"onRequestScrollLines",{get:function(){return this._onRequestScrollLines.event},enumerable:!1,configurable:!0}),ee.prototype.dispose=function(){this._removeMouseDownListeners()},ee.prototype.reset=function(){this.clearSelection()},ee.prototype.disable=function(){this.clearSelection(),this._enabled=!1},ee.prototype.enable=function(){this._enabled=!0},Object.defineProperty(ee.prototype,"selectionStart",{get:function(){return this._model.finalSelectionStart},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"selectionEnd",{get:function(){return this._model.finalSelectionEnd},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"hasSelection",{get:function(){var z=this._model.finalSelectionStart,ue=this._model.finalSelectionEnd;return!(!z||!ue)&&(z[0]!==ue[0]||z[1]!==ue[1])},enumerable:!1,configurable:!0}),Object.defineProperty(ee.prototype,"selectionText",{get:function(){var z=this._model.finalSelectionStart,ue=this._model.finalSelectionEnd;if(!z||!ue)return"";var de=this._bufferService.buffer,ge=[];if(this._activeSelectionMode===3){if(z[0]===ue[0])return"";for(var fe=z[1];fe<=ue[1];fe++){var me=de.translateBufferLineToString(fe,!0,z[0],ue[0]);ge.push(me)}}else{var be=z[1]===ue[1]?ue[0]:void 0;for(ge.push(de.translateBufferLineToString(z[1],!0,z[0],be)),fe=z[1]+1;fe<=ue[1]-1;fe++){var ve=de.lines.get(fe);me=de.translateBufferLineToString(fe,!0),ve&&ve.isWrapped?ge[ge.length-1]+=me:ge.push(me)}z[1]!==ue[1]&&(ve=de.lines.get(ue[1]),me=de.translateBufferLineToString(ue[1],!0,0,ue[0]),ve&&ve.isWrapped?ge[ge.length-1]+=me:ge.push(me))}return ge.map(function(Pe){return Pe.replace(y," ")}).join(ce.isWindows?`\r
|
|
|
`:`
|
|
|
`)},enumerable:!1,configurable:!0}),ee.prototype.clearSelection=function(){this._model.clearSelection(),this._removeMouseDownListeners(),this.refresh(),this._onSelectionChange.fire()},ee.prototype.refresh=function(z){var ue=this;this._refreshAnimationFrame||(this._refreshAnimationFrame=window.requestAnimationFrame(function(){return ue._refresh()})),ce.isLinux&&z&&this.selectionText.length&&this._onLinuxMouseSelection.fire(this.selectionText)},ee.prototype._refresh=function(){this._refreshAnimationFrame=void 0,this._onRedrawRequest.fire({start:this._model.finalSelectionStart,end:this._model.finalSelectionEnd,columnSelectMode:this._activeSelectionMode===3})},ee.prototype.isClickInSelection=function(z){var ue=this._getMouseBufferCoords(z),de=this._model.finalSelectionStart,ge=this._model.finalSelectionEnd;return!!(de&&ge&&ue)&&this._areCoordsInSelection(ue,de,ge)},ee.prototype._areCoordsInSelection=function(z,ue,de){return z[1]>ue[1]&&z[1]<de[1]||ue[1]===de[1]&&z[1]===ue[1]&&z[0]>=ue[0]&&z[0]<de[0]||ue[1]<de[1]&&z[1]===de[1]&&z[0]<de[0]||ue[1]<de[1]&&z[1]===ue[1]&&z[0]>=ue[0]},ee.prototype.selectWordAtCursor=function(z){var ue=this._getMouseBufferCoords(z);ue&&(this._selectWordAt(ue,!1),this._model.selectionEnd=void 0,this.refresh(!0))},ee.prototype.selectAll=function(){this._model.isSelectAllActive=!0,this.refresh(),this._onSelectionChange.fire()},ee.prototype.selectLines=function(z,ue){this._model.clearSelection(),z=Math.max(z,0),ue=Math.min(ue,this._bufferService.buffer.lines.length-1),this._model.selectionStart=[0,z],this._model.selectionEnd=[this._bufferService.cols,ue],this.refresh(),this._onSelectionChange.fire()},ee.prototype._onTrim=function(z){this._model.onTrim(z)&&this.refresh()},ee.prototype._getMouseBufferCoords=function(z){var ue=this._mouseService.getCoords(z,this._screenElement,this._bufferService.cols,this._bufferService.rows,!0);if(ue)return ue[0]--,ue[1]--,ue[1]+=this._bufferService.buffer.ydisp,ue},ee.prototype._getMouseEventScrollAmount=function(z){var ue=re.getCoordsRelativeToElement(z,this._screenElement)[1],de=this._renderService.dimensions.canvasHeight;return ue>=0&&ue<=de?0:(ue>de&&(ue-=de),ue=Math.min(Math.max(ue,-50),50),(ue/=50)/Math.abs(ue)+Math.round(14*ue))},ee.prototype.shouldForceSelection=function(z){return ce.isMac?z.altKey&&this._optionsService.options.macOptionClickForcesSelection:z.shiftKey},ee.prototype.onMouseDown=function(z){if(this._mouseDownTimeStamp=z.timeStamp,(z.button!==2||!this.hasSelection)&&z.button===0){if(!this._enabled){if(!this.shouldForceSelection(z))return;z.stopPropagation()}z.preventDefault(),this._dragScrollAmount=0,this._enabled&&z.shiftKey?this._onIncrementalClick(z):z.detail===1?this._onSingleClick(z):z.detail===2?this._onDoubleClick(z):z.detail===3&&this._onTripleClick(z),this._addMouseDownListeners(),this.refresh(!0)}},ee.prototype._addMouseDownListeners=function(){var z=this;this._screenElement.ownerDocument&&(this._screenElement.ownerDocument.addEventListener("mousemove",this._mouseMoveListener),this._screenElement.ownerDocument.addEventListener("mouseup",this._mouseUpListener)),this._dragScrollIntervalTimer=window.setInterval(function(){return z._dragScroll()},50)},ee.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},ee.prototype._onIncrementalClick=function(z){this._model.selectionStart&&(this._model.selectionEnd=this._getMouseBufferCoords(z))},ee.prototype._onSingleClick=function(z){if(this._model.selectionStartLength=0,this._model.isSelectAllActive=!1,this._activeSelectionMode=this.shouldColumnSelect(z)?3:0,this._model.selectionStart=this._getMouseBufferCoords(z),this._model.selectionStart){this._model.selectionEnd=void 0;var ue=this._bufferService.buffer.lines.get(this._model.selectionStart[1]);ue&&ue.length!==this._model.selectionStart[0]&&ue.hasWidth(this._model.selectionStart[0])===0&&this._model.selectionStart[0]++}},ee.prototype._onDoubleClick=function(z){var ue=this._getMouseBufferCoords(z);ue&&(this._activeSelectionMode=1,this._selectWordAt(ue,!0))},ee.prototype._onTripleClick=function(z){var ue=this._getMouseBufferCoords(z);ue&&(this._activeSelectionMode=2,this._selectLineAt(ue[1]))},ee.prototype.shouldColumnSelect=function(z){return z.altKey&&!(ce.isMac&&this._optionsService.options.macOptionClickForcesSelection)},ee.prototype._onMouseMove=function(z){if(z.stopImmediatePropagation(),this._model.selectionStart){var ue=this._model.selectionEnd?[this._model.selectionEnd[0],this._model.selectionEnd[1]]:null;if(this._model.selectionEnd=this._getMouseBufferCoords(z),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(z),this._activeSelectionMode!==3&&(this._dragScrollAmount>0?this._model.selectionEnd[0]=this._bufferService.cols:this._dragScrollAmount<0&&(this._model.selectionEnd[0]=0));var de=this._bufferService.buffer;if(this._model.selectionEnd[1]<de.lines.length){var ge=de.lines.get(this._model.selectionEnd[1]);ge&&ge.hasWidth(this._model.selectionEnd[0])===0&&this._model.selectionEnd[0]++}ue&&ue[0]===this._model.selectionEnd[0]&&ue[1]===this._model.selectionEnd[1]||this.refresh(!0)}else this.refresh(!0)}},ee.prototype._dragScroll=function(){if(this._model.selectionEnd&&this._model.selectionStart&&this._dragScrollAmount){this._onRequestScrollLines.fire({amount:this._dragScrollAmount,suppressScrollEvent:!1});var z=this._bufferService.buffer;this._dragScrollAmount>0?(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=this._bufferService.cols),this._model.selectionEnd[1]=Math.min(z.ydisp+this._bufferService.rows,z.lines.length-1)):(this._activeSelectionMode!==3&&(this._model.selectionEnd[0]=0),this._model.selectionEnd[1]=z.ydisp),this.refresh()}},ee.prototype._onMouseUp=function(z){var ue=z.timeStamp-this._mouseDownTimeStamp;if(this._removeMouseDownListeners(),this.selectionText.length<=1&&ue<500&&z.altKey){if(this._bufferService.buffer.ybase===this._bufferService.buffer.ydisp){var de=this._mouseService.getCoords(z,this._element,this._bufferService.cols,this._bufferService.rows,!1);if(de&&de[0]!==void 0&&de[1]!==void 0){var ge=ne.moveToCellSequence(de[0]-1,de[1]-1,this._bufferService,this._coreService.decPrivateModes.applicationCursorKeys);this._coreService.triggerDataEvent(ge,!0)}}}else this.hasSelection&&this._onSelectionChange.fire()},ee.prototype._onBufferActivate=function(z){var ue=this;this.clearSelection(),this._trimListener.dispose(),this._trimListener=z.activeBuffer.lines.onTrim(function(de){return ue._onTrim(de)})},ee.prototype._convertViewportColToCharacterIndex=function(z,ue){for(var de=ue[0],ge=0;ue[0]>=ge;ge++){var fe=z.loadCell(ge,this._workCell).getChars().length;this._workCell.getWidth()===0?de--:fe>1&&ue[0]!==ge&&(de+=fe-1)}return de},ee.prototype.setSelection=function(z,ue,de){this._model.clearSelection(),this._removeMouseDownListeners(),this._model.selectionStart=[z,ue],this._model.selectionStartLength=de,this.refresh()},ee.prototype._getWordAt=function(z,ue,de,ge){if(de===void 0&&(de=!0),ge===void 0&&(ge=!0),!(z[0]>=this._bufferService.cols)){var fe=this._bufferService.buffer,me=fe.lines.get(z[1]);if(me){var be=fe.translateBufferLineToString(z[1],!1),ve=this._convertViewportColToCharacterIndex(me,z),Pe=ve,Ee=z[0]-ve,Ae=0,Ce=0,_e=0,we=0;if(be.charAt(ve)===" "){for(;ve>0&&be.charAt(ve-1)===" ";)ve--;for(;Pe<be.length&&be.charAt(Pe+1)===" ";)Pe++}else{var Me=z[0],Oe=z[0];me.getWidth(Me)===0&&(Ae++,Me--),me.getWidth(Oe)===2&&(Ce++,Oe++);var Fe=me.getString(Oe).length;for(Fe>1&&(we+=Fe-1,Pe+=Fe-1);Me>0&&ve>0&&!this._isCharWordSeparator(me.loadCell(Me-1,this._workCell));){me.loadCell(Me-1,this._workCell);var Le=this._workCell.getChars().length;this._workCell.getWidth()===0?(Ae++,Me--):Le>1&&(_e+=Le-1,ve-=Le-1),ve--,Me--}for(;Oe<me.length&&Pe+1<be.length&&!this._isCharWordSeparator(me.loadCell(Oe+1,this._workCell));){me.loadCell(Oe+1,this._workCell);var Qe=this._workCell.getChars().length;this._workCell.getWidth()===2?(Ce++,Oe++):Qe>1&&(we+=Qe-1,Pe+=Qe-1),Pe++,Oe++}}Pe++;var We=ve+Ee-Ae+_e,Ge=Math.min(this._bufferService.cols,Pe-ve+Ae+Ce-_e-we);if(ue||be.slice(ve,Pe).trim()!==""){if(de&&We===0&&me.getCodePoint(0)!==32){var Ke=fe.lines.get(z[1]-1);if(Ke&&me.isWrapped&&Ke.getCodePoint(this._bufferService.cols-1)!==32){var ze=this._getWordAt([this._bufferService.cols-1,z[1]-1],!1,!0,!1);if(ze){var ke=this._bufferService.cols-ze.start;We-=ke,Ge+=ke}}}if(ge&&We+Ge===this._bufferService.cols&&me.getCodePoint(this._bufferService.cols-1)!==32){var Ne=fe.lines.get(z[1]+1);if(Ne&&Ne.isWrapped&&Ne.getCodePoint(0)!==32){var Ve=this._getWordAt([0,z[1]+1],!1,!1,!0);Ve&&(Ge+=Ve.length)}}return{start:We,length:Ge}}}}},ee.prototype._selectWordAt=function(z,ue){var de=this._getWordAt(z,ue);if(de){for(;de.start<0;)de.start+=this._bufferService.cols,z[1]--;this._model.selectionStart=[de.start,z[1]],this._model.selectionStartLength=de.length}},ee.prototype._selectToWordAt=function(z){var ue=this._getWordAt(z,!0);if(ue){for(var de=z[1];ue.start<0;)ue.start+=this._bufferService.cols,de--;if(!this._model.areSelectionValuesReversed())for(;ue.start+ue.length>this._bufferService.cols;)ue.length-=this._bufferService.cols,de++;this._model.selectionEnd=[this._model.areSelectionValuesReversed()?ue.start:ue.start+ue.length,de]}},ee.prototype._isCharWordSeparator=function(z){return z.getWidth()!==0&&this._optionsService.options.wordSeparator.indexOf(z.getChars())>=0},ee.prototype._selectLineAt=function(z){var ue=this._bufferService.buffer.getWrappedRangeForLine(z);this._model.selectionStart=[0,ue.first],this._model.selectionEnd=[this._bufferService.cols,ue.last],this._model.selectionStartLength=0},ee=pe([he(2,ae.IBufferService),he(3,ae.ICoreService),he(4,se.IMouseService),he(5,ae.IOptionsService),he(6,se.IRenderService)],ee)}(te.Disposable);Se.SelectionService=x},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.SelectionModel=void 0;var je=function(){function E(pe){this._bufferService=pe,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 pe=this.selectionStart[0]+this.selectionStartLength;return pe>this._bufferService.cols?[pe%this._bufferService.cols,this.selectionStart[1]+Math.floor(pe/this._bufferService.cols)]:[pe,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 pe=this.selectionStart,he=this.selectionEnd;return!(!pe||!he)&&(pe[1]>he[1]||pe[1]===he[1]&&pe[0]>he[0])},E.prototype.onTrim=function(pe){return this.selectionStart&&(this.selectionStart[1]-=pe),this.selectionEnd&&(this.selectionEnd[1]-=pe),this.selectionEnd&&this.selectionEnd[1]<0?(this.clearSelection(),!0):(this.selectionStart&&this.selectionStart[1]<0&&(this.selectionStart[1]=0),!1)},E}();Se.SelectionModel=je},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.moveToCellSequence=void 0;var je=ye(12);function E(le,se,ae,re){var ne=le-pe(ae,le),te=se-pe(ae,se);return ie(Math.abs(ne-te)-function(a,y,x){for(var b=0,ee=a-pe(x,a),z=y-pe(x,y),ue=0;ue<Math.abs(ee-z);ue++){var de=he(a,y)==="A"?-1:1,ge=x.buffer.lines.get(ee+de*ue);ge&&ge.isWrapped&&b++}return b}(le,se,ae),oe(he(le,se),re))}function pe(le,se){for(var ae=0,re=le.buffer.lines.get(se),ne=re&&re.isWrapped;ne&&se>=0&&se<le.rows;)ae++,ne=(re=le.buffer.lines.get(--se))&&re.isWrapped;return ae}function he(le,se){return le>se?"A":"B"}function ce(le,se,ae,re,ne,te){for(var a=le,y=se,x="";a!==ae||y!==re;)a+=ne?1:-1,ne&&a>te.cols-1?(x+=te.buffer.translateBufferLineToString(y,!1,le,a),a=0,le=0,y++):!ne&&a<0&&(x+=te.buffer.translateBufferLineToString(y,!1,0,le+1),le=a=te.cols-1,y--);return x+te.buffer.translateBufferLineToString(y,!1,le,a)}function oe(le,se){var ae=se?"O":"[";return je.C0.ESC+ae+le}function ie(le,se){le=Math.floor(le);for(var ae="",re=0;re<le;re++)ae+=se;return ae}Se.moveToCellSequence=function(le,se,ae,re){var ne,te=ae.buffer.x,a=ae.buffer.y;if(!ae.buffer.hasScrollback)return function(x,b,ee,z,ue,de){return E(b,z,ue,de).length===0?"":ie(ce(x,b,x,b-pe(ue,b),!1,ue).length,oe("D",de))}(te,a,0,se,ae,re)+E(a,se,ae,re)+function(x,b,ee,z,ue,de){var ge;ge=E(b,z,ue,de).length>0?z-pe(ue,z):b;var fe=z,me=function(be,ve,Pe,Ee,Ae,Ce){var _e;return _e=E(Pe,Ee,Ae,Ce).length>0?Ee-pe(Ae,Ee):ve,be<Pe&&_e<=Ee||be>=Pe&&_e<Ee?"C":"D"}(x,b,ee,z,ue,de);return ie(ce(x,ge,ee,fe,me==="C",ue).length,oe(me,de))}(te,a,le,se,ae,re);if(a===se)return ne=te>le?"D":"C",ie(Math.abs(te-le),oe(ne,re));ne=a>se?"D":"C";var y=Math.abs(a-se);return ie(function(x,b){return b.cols-x}(a>se?le:te,ae)+(y-1)*ae.cols+1+((a>se?te:le)-1),oe(ne,re))}},function(ot,Se,ye){"use strict";var je=this&&this.__decorate||function(ce,oe,ie,le){var se,ae=arguments.length,re=ae<3?oe:le===null?le=Object.getOwnPropertyDescriptor(oe,ie):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(ce,oe,ie,le);else for(var ne=ce.length-1;ne>=0;ne--)(se=ce[ne])&&(re=(ae<3?se(re):ae>3?se(oe,ie,re):se(oe,ie))||re);return ae>3&&re&&Object.defineProperty(oe,ie,re),re},E=this&&this.__param||function(ce,oe){return function(ie,le){oe(ie,le,ce)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.SoundService=void 0;var pe=ye(1),he=function(){function ce(oe){this._optionsService=oe}return Object.defineProperty(ce,"audioContext",{get:function(){if(!ce._audioContext){var oe=window.AudioContext||window.webkitAudioContext;if(!oe)return console.warn("Web Audio API is not supported by this browser. Consider upgrading to the latest version"),null;ce._audioContext=new oe}return ce._audioContext},enumerable:!1,configurable:!0}),ce.prototype.playBellSound=function(){var oe=ce.audioContext;if(oe){var ie=oe.createBufferSource();oe.decodeAudioData(this._base64ToArrayBuffer(this._removeMimeType(this._optionsService.options.bellSound)),function(le){ie.buffer=le,ie.connect(oe.destination),ie.start(0)})}},ce.prototype._base64ToArrayBuffer=function(oe){for(var ie=window.atob(oe),le=ie.length,se=new Uint8Array(le),ae=0;ae<le;ae++)se[ae]=ie.charCodeAt(ae);return se.buffer},ce.prototype._removeMimeType=function(oe){return oe.split(",")[1]},ce=je([E(0,pe.IOptionsService)],ce)}();Se.SoundService=he},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(ae,re){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var a in te)te.hasOwnProperty(a)&&(ne[a]=te[a])})(ae,re)},function(ae,re){function ne(){this.constructor=ae}je(ae,re),ae.prototype=re===null?Object.create(re):(ne.prototype=re.prototype,new ne)}),pe=this&&this.__decorate||function(ae,re,ne,te){var a,y=arguments.length,x=y<3?re:te===null?te=Object.getOwnPropertyDescriptor(re,ne):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,re,ne,te);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(re,ne,x):a(re,ne))||x);return y>3&&x&&Object.defineProperty(re,ne,x),x},he=this&&this.__param||function(ae,re){return function(ne,te){re(ne,te,ae)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.MouseZoneManager=void 0;var ce=ye(2),oe=ye(7),ie=ye(5),le=ye(1),se=function(ae){function re(ne,te,a,y,x,b){var ee=ae.call(this)||this;return ee._element=ne,ee._screenElement=te,ee._bufferService=a,ee._mouseService=y,ee._selectionService=x,ee._optionsService=b,ee._zones=[],ee._areZonesActive=!1,ee._lastHoverCoords=[void 0,void 0],ee._initialSelectionLength=0,ee.register(oe.addDisposableDomListener(ee._element,"mousedown",function(z){return ee._onMouseDown(z)})),ee._mouseMoveListener=function(z){return ee._onMouseMove(z)},ee._mouseLeaveListener=function(z){return ee._onMouseLeave(z)},ee._clickListener=function(z){return ee._onClick(z)},ee}return E(re,ae),re.prototype.dispose=function(){ae.prototype.dispose.call(this),this._deactivate()},re.prototype.add=function(ne){this._zones.push(ne),this._zones.length===1&&this._activate()},re.prototype.clearAll=function(ne,te){if(this._zones.length!==0){ne&&te||(ne=0,te=this._bufferService.rows-1);for(var a=0;a<this._zones.length;a++){var y=this._zones[a];(y.y1>ne&&y.y1<=te+1||y.y2>ne&&y.y2<=te+1||y.y1<ne&&y.y2>te+1)&&(this._currentZone&&this._currentZone===y&&(this._currentZone.leaveCallback(),this._currentZone=void 0),this._zones.splice(a--,1))}this._zones.length===0&&this._deactivate()}},re.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))},re.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))},re.prototype._onMouseMove=function(ne){this._lastHoverCoords[0]===ne.pageX&&this._lastHoverCoords[1]===ne.pageY||(this._onHover(ne),this._lastHoverCoords=[ne.pageX,ne.pageY])},re.prototype._onHover=function(ne){var te=this,a=this._findZoneEventAt(ne);a!==this._currentZone&&(this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout)),a&&(this._currentZone=a,a.hoverCallback&&a.hoverCallback(ne),this._tooltipTimeout=window.setTimeout(function(){return te._onTooltip(ne)},this._optionsService.options.linkTooltipHoverDuration)))},re.prototype._onTooltip=function(ne){this._tooltipTimeout=void 0;var te=this._findZoneEventAt(ne);te&&te.tooltipCallback&&te.tooltipCallback(ne)},re.prototype._onMouseDown=function(ne){if(this._initialSelectionLength=this._getSelectionLength(),this._areZonesActive){var te=this._findZoneEventAt(ne);te!=null&&te.willLinkActivate(ne)&&(ne.preventDefault(),ne.stopImmediatePropagation())}},re.prototype._onMouseLeave=function(ne){this._currentZone&&(this._currentZone.leaveCallback(),this._currentZone=void 0,this._tooltipTimeout&&clearTimeout(this._tooltipTimeout))},re.prototype._onClick=function(ne){var te=this._findZoneEventAt(ne),a=this._getSelectionLength();te&&a===this._initialSelectionLength&&(te.clickCallback(ne),ne.preventDefault(),ne.stopImmediatePropagation())},re.prototype._getSelectionLength=function(){var ne=this._selectionService.selectionText;return ne?ne.length:0},re.prototype._findZoneEventAt=function(ne){var te=this._mouseService.getCoords(ne,this._screenElement,this._bufferService.cols,this._bufferService.rows);if(te)for(var a=te[0],y=te[1],x=0;x<this._zones.length;x++){var b=this._zones[x];if(b.y1===b.y2){if(y===b.y1&&a>=b.x1&&a<b.x2)return b}else if(y===b.y1&&a>=b.x1||y===b.y2&&a<b.x2||y>b.y1&&y<b.y2)return b}},re=pe([he(2,le.IBufferService),he(3,ie.IMouseService),he(4,ie.ISelectionService),he(5,le.IOptionsService)],re)}(ce.Disposable);Se.MouseZoneManager=se},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(re,ne){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(te,a){te.__proto__=a}||function(te,a){for(var y in a)a.hasOwnProperty(y)&&(te[y]=a[y])})(re,ne)},function(re,ne){function te(){this.constructor=re}je(re,ne),re.prototype=ne===null?Object.create(ne):(te.prototype=ne.prototype,new te)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.AccessibilityManager=void 0;var pe=ye(18),he=ye(11),ce=ye(31),oe=ye(7),ie=ye(2),le=ye(32),se=ye(17),ae=function(re){function ne(te,a){var y=re.call(this)||this;y._terminal=te,y._renderService=a,y._liveRegionLineCount=0,y._charsToConsume=[],y._charsToAnnounce="",y._accessibilityTreeRoot=document.createElement("div"),y._accessibilityTreeRoot.classList.add("xterm-accessibility"),y._rowContainer=document.createElement("div"),y._rowContainer.classList.add("xterm-accessibility-tree"),y._rowContainer.setAttribute("role","list"),y._rowElements=[];for(var x=0;x<y._terminal.rows;x++)y._rowElements[x]=y._createAccessibilityTreeNode(),y._rowContainer.appendChild(y._rowElements[x]);if(y._topBoundaryFocusListener=function(b){return y._onBoundaryFocus(b,0)},y._bottomBoundaryFocusListener=function(b){return y._onBoundaryFocus(b,1)},y._rowElements[0].addEventListener("focus",y._topBoundaryFocusListener),y._rowElements[y._rowElements.length-1].addEventListener("focus",y._bottomBoundaryFocusListener),y._refreshRowsDimensions(),y._accessibilityTreeRoot.appendChild(y._rowContainer),y._renderRowsDebouncer=new ce.RenderDebouncer(y._renderRows.bind(y)),y._refreshRows(),y._liveRegion=document.createElement("div"),y._liveRegion.classList.add("live-region"),y._liveRegion.setAttribute("aria-live","assertive"),y._accessibilityTreeRoot.appendChild(y._liveRegion),!y._terminal.element)throw new Error("Cannot enable accessibility before Terminal.open");return y._terminal.element.insertAdjacentElement("afterbegin",y._accessibilityTreeRoot),y.register(y._renderRowsDebouncer),y.register(y._terminal.onResize(function(b){return y._onResize(b.rows)})),y.register(y._terminal.onRender(function(b){return y._refreshRows(b.start,b.end)})),y.register(y._terminal.onScroll(function(){return y._refreshRows()})),y.register(y._terminal.onA11yChar(function(b){return y._onChar(b)})),y.register(y._terminal.onLineFeed(function(){return y._onChar(`
|
|
|
`)})),y.register(y._terminal.onA11yTab(function(b){return y._onTab(b)})),y.register(y._terminal.onKey(function(b){return y._onKey(b.key)})),y.register(y._terminal.onBlur(function(){return y._clearLiveRegion()})),y.register(y._renderService.onDimensionsChange(function(){return y._refreshRowsDimensions()})),y._screenDprMonitor=new le.ScreenDprMonitor,y.register(y._screenDprMonitor),y._screenDprMonitor.setListener(function(){return y._refreshRowsDimensions()}),y.register(oe.addDisposableDomListener(window,"resize",function(){return y._refreshRowsDimensions()})),y}return E(ne,re),ne.prototype.dispose=function(){re.prototype.dispose.call(this),se.removeElementFromParent(this._accessibilityTreeRoot),this._rowElements.length=0},ne.prototype._onBoundaryFocus=function(te,a){var y=te.target,x=this._rowElements[a===0?1:this._rowElements.length-2];if(y.getAttribute("aria-posinset")!==(a===0?"1":""+this._terminal.buffer.lines.length)&&te.relatedTarget===x){var b,ee;if(a===0?(b=y,ee=this._rowElements.pop(),this._rowContainer.removeChild(ee)):(b=this._rowElements.shift(),ee=y,this._rowContainer.removeChild(b)),b.removeEventListener("focus",this._topBoundaryFocusListener),ee.removeEventListener("focus",this._bottomBoundaryFocusListener),a===0){var z=this._createAccessibilityTreeNode();this._rowElements.unshift(z),this._rowContainer.insertAdjacentElement("afterbegin",z)}else z=this._createAccessibilityTreeNode(),this._rowElements.push(z),this._rowContainer.appendChild(z);this._rowElements[0].addEventListener("focus",this._topBoundaryFocusListener),this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._terminal.scrollLines(a===0?-1:1),this._rowElements[a===0?1:this._rowElements.length-2].focus(),te.preventDefault(),te.stopImmediatePropagation()}},ne.prototype._onResize=function(te){this._rowElements[this._rowElements.length-1].removeEventListener("focus",this._bottomBoundaryFocusListener);for(var a=this._rowContainer.children.length;a<this._terminal.rows;a++)this._rowElements[a]=this._createAccessibilityTreeNode(),this._rowContainer.appendChild(this._rowElements[a]);for(;this._rowElements.length>te;)this._rowContainer.removeChild(this._rowElements.pop());this._rowElements[this._rowElements.length-1].addEventListener("focus",this._bottomBoundaryFocusListener),this._refreshRowsDimensions()},ne.prototype._createAccessibilityTreeNode=function(){var te=document.createElement("div");return te.setAttribute("role","listitem"),te.tabIndex=-1,this._refreshRowDimensions(te),te},ne.prototype._onTab=function(te){for(var a=0;a<te;a++)this._onChar(" ")},ne.prototype._onChar=function(te){var a=this;this._liveRegionLineCount<21&&(this._charsToConsume.length>0?this._charsToConsume.shift()!==te&&(this._charsToAnnounce+=te):this._charsToAnnounce+=te,te===`
|
|
|
`&&(this._liveRegionLineCount++,this._liveRegionLineCount===21&&(this._liveRegion.textContent+=pe.tooMuchOutput)),he.isMac&&this._liveRegion.textContent&&this._liveRegion.textContent.length>0&&!this._liveRegion.parentNode&&setTimeout(function(){a._accessibilityTreeRoot.appendChild(a._liveRegion)},0))},ne.prototype._clearLiveRegion=function(){this._liveRegion.textContent="",this._liveRegionLineCount=0,he.isMac&&se.removeElementFromParent(this._liveRegion)},ne.prototype._onKey=function(te){this._clearLiveRegion(),this._charsToConsume.push(te)},ne.prototype._refreshRows=function(te,a){this._renderRowsDebouncer.refresh(te,a,this._terminal.rows)},ne.prototype._renderRows=function(te,a){for(var y=this._terminal.buffer,x=y.lines.length.toString(),b=te;b<=a;b++){var ee=y.translateBufferLineToString(y.ydisp+b,!0),z=(y.ydisp+b+1).toString(),ue=this._rowElements[b];ue&&(ee.length===0?ue.innerHTML=" ":ue.textContent=ee,ue.setAttribute("aria-posinset",z),ue.setAttribute("aria-setsize",x))}this._announceCharacters()},ne.prototype._refreshRowsDimensions=function(){if(this._renderService.dimensions.actualCellHeight){this._rowElements.length!==this._terminal.rows&&this._onResize(this._terminal.rows);for(var te=0;te<this._terminal.rows;te++)this._refreshRowDimensions(this._rowElements[te])}},ne.prototype._refreshRowDimensions=function(te){te.style.height=this._renderService.dimensions.actualCellHeight+"px"},ne.prototype._announceCharacters=function(){this._charsToAnnounce.length!==0&&(this._liveRegion.textContent+=this._charsToAnnounce,this._charsToAnnounce="")},ne}(ie.Disposable);Se.AccessibilityManager=ae},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(y,x){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(b,ee){b.__proto__=ee}||function(b,ee){for(var z in ee)ee.hasOwnProperty(z)&&(b[z]=ee[z])})(y,x)},function(y,x){function b(){this.constructor=y}je(y,x),y.prototype=x===null?Object.create(x):(b.prototype=x.prototype,new b)}),pe=this&&this.__decorate||function(y,x,b,ee){var z,ue=arguments.length,de=ue<3?x:ee===null?ee=Object.getOwnPropertyDescriptor(x,b):ee;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")de=Reflect.decorate(y,x,b,ee);else for(var ge=y.length-1;ge>=0;ge--)(z=y[ge])&&(de=(ue<3?z(de):ue>3?z(x,b,de):z(x,b))||de);return ue>3&&de&&Object.defineProperty(x,b,de),de},he=this&&this.__param||function(y,x){return function(b,ee){x(b,ee,y)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.DomRenderer=void 0;var ce=ye(58),oe=ye(9),ie=ye(2),le=ye(5),se=ye(1),ae=ye(0),re=ye(10),ne=ye(17),te=1,a=function(y){function x(b,ee,z,ue,de,ge,fe,me,be){var ve=y.call(this)||this;return ve._colors=b,ve._element=ee,ve._screenElement=z,ve._viewportElement=ue,ve._linkifier=de,ve._linkifier2=ge,ve._charSizeService=fe,ve._optionsService=me,ve._bufferService=be,ve._terminalClass=te++,ve._rowElements=[],ve._rowContainer=document.createElement("div"),ve._rowContainer.classList.add("xterm-rows"),ve._rowContainer.style.lineHeight="normal",ve._rowContainer.setAttribute("aria-hidden","true"),ve._refreshRowElements(ve._bufferService.cols,ve._bufferService.rows),ve._selectionContainer=document.createElement("div"),ve._selectionContainer.classList.add("xterm-selection"),ve._selectionContainer.setAttribute("aria-hidden","true"),ve.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},ve._updateDimensions(),ve._injectCss(),ve._rowFactory=new ce.DomRendererRowFactory(document,ve._optionsService,ve._colors),ve._element.classList.add("xterm-dom-renderer-owner-"+ve._terminalClass),ve._screenElement.appendChild(ve._rowContainer),ve._screenElement.appendChild(ve._selectionContainer),ve._linkifier.onShowLinkUnderline(function(Pe){return ve._onLinkHover(Pe)}),ve._linkifier.onHideLinkUnderline(function(Pe){return ve._onLinkLeave(Pe)}),ve._linkifier2.onShowLinkUnderline(function(Pe){return ve._onLinkHover(Pe)}),ve._linkifier2.onHideLinkUnderline(function(Pe){return ve._onLinkLeave(Pe)}),ve}return E(x,y),Object.defineProperty(x.prototype,"onRequestRedraw",{get:function(){return new ae.EventEmitter().event},enumerable:!1,configurable:!0}),x.prototype.dispose=function(){this._element.classList.remove("xterm-dom-renderer-owner-"+this._terminalClass),ne.removeElementFromParent(this._rowContainer,this._selectionContainer,this._themeStyleElement,this._dimensionsStyleElement),y.prototype.dispose.call(this)},x.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 b=0,ee=this._rowElements;b<ee.length;b++){var z=ee[b];z.style.width=this.dimensions.canvasWidth+"px",z.style.height=this.dimensions.actualCellHeight+"px",z.style.lineHeight=this.dimensions.actualCellHeight+"px",z.style.overflow="hidden"}this._dimensionsStyleElement||(this._dimensionsStyleElement=document.createElement("style"),this._screenElement.appendChild(this._dimensionsStyleElement));var ue=this._terminalSelector+" .xterm-rows span { display: inline-block; height: 100%; vertical-align: top; width: "+this.dimensions.actualCellWidth+"px}";this._dimensionsStyleElement.innerHTML=ue,this._selectionContainer.style.height=this._viewportElement.style.height,this._screenElement.style.width=this.dimensions.canvasWidth+"px",this._screenElement.style.height=this.dimensions.canvasHeight+"px"},x.prototype.setColors=function(b){this._colors=b,this._injectCss()},x.prototype._injectCss=function(){var b=this;this._themeStyleElement||(this._themeStyleElement=document.createElement("style"),this._screenElement.appendChild(this._themeStyleElement));var ee=this._terminalSelector+" .xterm-rows { color: "+this._colors.foreground.css+"; font-family: "+this._optionsService.options.fontFamily+"; font-size: "+this._optionsService.options.fontSize+"px;}";ee+=this._terminalSelector+" span:not(."+ce.BOLD_CLASS+") { font-weight: "+this._optionsService.options.fontWeight+";}"+this._terminalSelector+" span."+ce.BOLD_CLASS+" { font-weight: "+this._optionsService.options.fontWeightBold+";}"+this._terminalSelector+" span."+ce.ITALIC_CLASS+" { font-style: italic;}",ee+="@keyframes blink_box_shadow_"+this._terminalClass+" { 50% { box-shadow: none; }}",ee+="@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+"; }}",ee+=this._terminalSelector+" .xterm-rows:not(.xterm-focus) ."+ce.CURSOR_CLASS+"."+ce.CURSOR_STYLE_BLOCK_CLASS+" { outline: 1px solid "+this._colors.cursor.css+"; outline-offset: -1px;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+ce.CURSOR_CLASS+"."+ce.CURSOR_BLINK_CLASS+":not(."+ce.CURSOR_STYLE_BLOCK_CLASS+") { animation: blink_box_shadow_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+ce.CURSOR_CLASS+"."+ce.CURSOR_BLINK_CLASS+"."+ce.CURSOR_STYLE_BLOCK_CLASS+" { animation: blink_block_"+this._terminalClass+" 1s step-end infinite;}"+this._terminalSelector+" .xterm-rows.xterm-focus ."+ce.CURSOR_CLASS+"."+ce.CURSOR_STYLE_BLOCK_CLASS+" { background-color: "+this._colors.cursor.css+"; color: "+this._colors.cursorAccent.css+";}"+this._terminalSelector+" .xterm-rows ."+ce.CURSOR_CLASS+"."+ce.CURSOR_STYLE_BAR_CLASS+" { box-shadow: "+this._optionsService.options.cursorWidth+"px 0 0 "+this._colors.cursor.css+" inset;}"+this._terminalSelector+" .xterm-rows ."+ce.CURSOR_CLASS+"."+ce.CURSOR_STYLE_UNDERLINE_CLASS+" { box-shadow: 0 -1px 0 "+this._colors.cursor.css+" inset;}",ee+=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(z,ue){ee+=b._terminalSelector+" .xterm-fg-"+ue+" { color: "+z.css+"; }"+b._terminalSelector+" .xterm-bg-"+ue+" { background-color: "+z.css+"; }"}),ee+=this._terminalSelector+" .xterm-fg-"+oe.INVERTED_DEFAULT_COLOR+" { color: "+re.color.opaque(this._colors.background).css+"; }"+this._terminalSelector+" .xterm-bg-"+oe.INVERTED_DEFAULT_COLOR+" { background-color: "+this._colors.foreground.css+"; }",this._themeStyleElement.innerHTML=ee},x.prototype.onDevicePixelRatioChange=function(){this._updateDimensions()},x.prototype._refreshRowElements=function(b,ee){for(var z=this._rowElements.length;z<=ee;z++){var ue=document.createElement("div");this._rowContainer.appendChild(ue),this._rowElements.push(ue)}for(;this._rowElements.length>ee;)this._rowContainer.removeChild(this._rowElements.pop())},x.prototype.onResize=function(b,ee){this._refreshRowElements(b,ee),this._updateDimensions()},x.prototype.onCharSizeChanged=function(){this._updateDimensions()},x.prototype.onBlur=function(){this._rowContainer.classList.remove("xterm-focus")},x.prototype.onFocus=function(){this._rowContainer.classList.add("xterm-focus")},x.prototype.onSelectionChanged=function(b,ee,z){for(;this._selectionContainer.children.length;)this._selectionContainer.removeChild(this._selectionContainer.children[0]);if(b&&ee){var ue=b[1]-this._bufferService.buffer.ydisp,de=ee[1]-this._bufferService.buffer.ydisp,ge=Math.max(ue,0),fe=Math.min(de,this._bufferService.rows-1);if(!(ge>=this._bufferService.rows||fe<0)){var me=document.createDocumentFragment();if(z)me.appendChild(this._createSelectionElement(ge,b[0],ee[0],fe-ge+1));else{var be=ue===ge?b[0]:0,ve=ge===fe?ee[0]:this._bufferService.cols;me.appendChild(this._createSelectionElement(ge,be,ve));var Pe=fe-ge-1;if(me.appendChild(this._createSelectionElement(ge+1,0,this._bufferService.cols,Pe)),ge!==fe){var Ee=de===fe?ee[0]:this._bufferService.cols;me.appendChild(this._createSelectionElement(fe,0,Ee))}}this._selectionContainer.appendChild(me)}}},x.prototype._createSelectionElement=function(b,ee,z,ue){ue===void 0&&(ue=1);var de=document.createElement("div");return de.style.height=ue*this.dimensions.actualCellHeight+"px",de.style.top=b*this.dimensions.actualCellHeight+"px",de.style.left=ee*this.dimensions.actualCellWidth+"px",de.style.width=this.dimensions.actualCellWidth*(z-ee)+"px",de},x.prototype.onCursorMove=function(){},x.prototype.onOptionsChanged=function(){this._updateDimensions(),this._injectCss()},x.prototype.clear=function(){for(var b=0,ee=this._rowElements;b<ee.length;b++)ee[b].innerHTML=""},x.prototype.renderRows=function(b,ee){for(var z=this._bufferService.buffer.ybase+this._bufferService.buffer.y,ue=Math.min(this._bufferService.buffer.x,this._bufferService.cols-1),de=this._optionsService.options.cursorBlink,ge=b;ge<=ee;ge++){var fe=this._rowElements[ge];fe.innerHTML="";var me=ge+this._bufferService.buffer.ydisp,be=this._bufferService.buffer.lines.get(me),ve=this._optionsService.options.cursorStyle;fe.appendChild(this._rowFactory.createRow(be,me===z,ve,ue,de,this.dimensions.actualCellWidth,this._bufferService.cols))}},Object.defineProperty(x.prototype,"_terminalSelector",{get:function(){return".xterm-dom-renderer-owner-"+this._terminalClass},enumerable:!1,configurable:!0}),x.prototype.registerCharacterJoiner=function(b){return-1},x.prototype.deregisterCharacterJoiner=function(b){return!1},x.prototype._onLinkHover=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!0)},x.prototype._onLinkLeave=function(b){this._setCellUnderline(b.x1,b.x2,b.y1,b.y2,b.cols,!1)},x.prototype._setCellUnderline=function(b,ee,z,ue,de,ge){for(;b!==ee||z!==ue;){var fe=this._rowElements[z];if(!fe)return;var me=fe.children[b];me&&(me.style.textDecoration=ge?"underline":"none"),++b>=de&&(b=0,z++)}},x=pe([he(6,le.ICharSizeService),he(7,se.IOptionsService),he(8,se.IBufferService)],x)}(ie.Disposable);Se.DomRenderer=a},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.DomRendererRowFactory=Se.CURSOR_STYLE_UNDERLINE_CLASS=Se.CURSOR_STYLE_BAR_CLASS=Se.CURSOR_STYLE_BLOCK_CLASS=Se.CURSOR_BLINK_CLASS=Se.CURSOR_CLASS=Se.UNDERLINE_CLASS=Se.ITALIC_CLASS=Se.DIM_CLASS=Se.BOLD_CLASS=void 0;var je=ye(9),E=ye(3),pe=ye(4),he=ye(10);Se.BOLD_CLASS="xterm-bold",Se.DIM_CLASS="xterm-dim",Se.ITALIC_CLASS="xterm-italic",Se.UNDERLINE_CLASS="xterm-underline",Se.CURSOR_CLASS="xterm-cursor",Se.CURSOR_BLINK_CLASS="xterm-cursor-blink",Se.CURSOR_STYLE_BLOCK_CLASS="xterm-cursor-block",Se.CURSOR_STYLE_BAR_CLASS="xterm-cursor-bar",Se.CURSOR_STYLE_UNDERLINE_CLASS="xterm-cursor-underline";var ce=function(){function ie(le,se,ae){this._document=le,this._optionsService=se,this._colors=ae,this._workCell=new pe.CellData}return ie.prototype.setColors=function(le){this._colors=le},ie.prototype.createRow=function(le,se,ae,re,ne,te,a){for(var y=this._document.createDocumentFragment(),x=0,b=Math.min(le.length,a)-1;b>=0;b--)if(le.loadCell(b,this._workCell).getCode()!==E.NULL_CELL_CODE||se&&b===re){x=b+1;break}for(b=0;b<x;b++){le.loadCell(b,this._workCell);var ee=this._workCell.getWidth();if(ee!==0){var z=this._document.createElement("span");if(ee>1&&(z.style.width=te*ee+"px"),se&&b===re)switch(z.classList.add(Se.CURSOR_CLASS),ne&&z.classList.add(Se.CURSOR_BLINK_CLASS),ae){case"bar":z.classList.add(Se.CURSOR_STYLE_BAR_CLASS);break;case"underline":z.classList.add(Se.CURSOR_STYLE_UNDERLINE_CLASS);break;default:z.classList.add(Se.CURSOR_STYLE_BLOCK_CLASS)}this._workCell.isBold()&&z.classList.add(Se.BOLD_CLASS),this._workCell.isItalic()&&z.classList.add(Se.ITALIC_CLASS),this._workCell.isDim()&&z.classList.add(Se.DIM_CLASS),this._workCell.isUnderline()&&z.classList.add(Se.UNDERLINE_CLASS),this._workCell.isInvisible()?z.textContent=E.WHITESPACE_CELL_CHAR:z.textContent=this._workCell.getChars()||E.WHITESPACE_CELL_CHAR;var ue=this._workCell.getFgColor(),de=this._workCell.getFgColorMode(),ge=this._workCell.getBgColor(),fe=this._workCell.getBgColorMode(),me=!!this._workCell.isInverse();if(me){var be=ue;ue=ge,ge=be;var ve=de;de=fe,fe=ve}switch(de){case 16777216:case 33554432:this._workCell.isBold()&&ue<8&&this._optionsService.options.drawBoldTextInBrightColors&&(ue+=8),this._applyMinimumContrast(z,this._colors.background,this._colors.ansi[ue])||z.classList.add("xterm-fg-"+ue);break;case 50331648:var Pe=he.rgba.toColor(ue>>16&255,ue>>8&255,255&ue);this._applyMinimumContrast(z,this._colors.background,Pe)||this._addStyle(z,"color:#"+oe(ue.toString(16),"0",6));break;case 0:default:this._applyMinimumContrast(z,this._colors.background,this._colors.foreground)||me&&z.classList.add("xterm-fg-"+je.INVERTED_DEFAULT_COLOR)}switch(fe){case 16777216:case 33554432:z.classList.add("xterm-bg-"+ge);break;case 50331648:this._addStyle(z,"background-color:#"+oe(ge.toString(16),"0",6));break;case 0:default:me&&z.classList.add("xterm-bg-"+je.INVERTED_DEFAULT_COLOR)}y.appendChild(z)}}return y},ie.prototype._applyMinimumContrast=function(le,se,ae){if(this._optionsService.options.minimumContrastRatio===1)return!1;var re=this._colors.contrastCache.getColor(this._workCell.bg,this._workCell.fg);return re===void 0&&(re=he.color.ensureContrastRatio(se,ae,this._optionsService.options.minimumContrastRatio),this._colors.contrastCache.setColor(this._workCell.bg,this._workCell.fg,re!=null?re:null)),!!re&&(this._addStyle(le,"color:"+re.css),!0)},ie.prototype._addStyle=function(le,se){le.setAttribute("style",""+(le.getAttribute("style")||"")+se+";")},ie}();function oe(ie,le,se){for(;ie.length<se;)ie=le+ie;return ie}Se.DomRendererRowFactory=ce},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.evaluateKeyboardEvent=void 0;var je=ye(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:["'",'"']};Se.evaluateKeyboardEvent=function(pe,he,ce,oe){var ie={type:0,cancel:!1,key:void 0},le=(pe.shiftKey?1:0)|(pe.altKey?2:0)|(pe.ctrlKey?4:0)|(pe.metaKey?8:0);switch(pe.keyCode){case 0:pe.key==="UIKeyInputUpArrow"?ie.key=he?je.C0.ESC+"OA":je.C0.ESC+"[A":pe.key==="UIKeyInputLeftArrow"?ie.key=he?je.C0.ESC+"OD":je.C0.ESC+"[D":pe.key==="UIKeyInputRightArrow"?ie.key=he?je.C0.ESC+"OC":je.C0.ESC+"[C":pe.key==="UIKeyInputDownArrow"&&(ie.key=he?je.C0.ESC+"OB":je.C0.ESC+"[B");break;case 8:if(pe.shiftKey){ie.key=je.C0.BS;break}if(pe.altKey){ie.key=je.C0.ESC+je.C0.DEL;break}ie.key=je.C0.DEL;break;case 9:if(pe.shiftKey){ie.key=je.C0.ESC+"[Z";break}ie.key=je.C0.HT,ie.cancel=!0;break;case 13:ie.key=pe.altKey?je.C0.ESC+je.C0.CR:je.C0.CR,ie.cancel=!0;break;case 27:ie.key=je.C0.ESC,pe.altKey&&(ie.key=je.C0.ESC+je.C0.ESC),ie.cancel=!0;break;case 37:if(pe.metaKey)break;le?(ie.key=je.C0.ESC+"[1;"+(le+1)+"D",ie.key===je.C0.ESC+"[1;3D"&&(ie.key=je.C0.ESC+(ce?"b":"[1;5D"))):ie.key=he?je.C0.ESC+"OD":je.C0.ESC+"[D";break;case 39:if(pe.metaKey)break;le?(ie.key=je.C0.ESC+"[1;"+(le+1)+"C",ie.key===je.C0.ESC+"[1;3C"&&(ie.key=je.C0.ESC+(ce?"f":"[1;5C"))):ie.key=he?je.C0.ESC+"OC":je.C0.ESC+"[C";break;case 38:if(pe.metaKey)break;le?(ie.key=je.C0.ESC+"[1;"+(le+1)+"A",ce||ie.key!==je.C0.ESC+"[1;3A"||(ie.key=je.C0.ESC+"[1;5A")):ie.key=he?je.C0.ESC+"OA":je.C0.ESC+"[A";break;case 40:if(pe.metaKey)break;le?(ie.key=je.C0.ESC+"[1;"+(le+1)+"B",ce||ie.key!==je.C0.ESC+"[1;3B"||(ie.key=je.C0.ESC+"[1;5B")):ie.key=he?je.C0.ESC+"OB":je.C0.ESC+"[B";break;case 45:pe.shiftKey||pe.ctrlKey||(ie.key=je.C0.ESC+"[2~");break;case 46:ie.key=le?je.C0.ESC+"[3;"+(le+1)+"~":je.C0.ESC+"[3~";break;case 36:ie.key=le?je.C0.ESC+"[1;"+(le+1)+"H":he?je.C0.ESC+"OH":je.C0.ESC+"[H";break;case 35:ie.key=le?je.C0.ESC+"[1;"+(le+1)+"F":he?je.C0.ESC+"OF":je.C0.ESC+"[F";break;case 33:pe.shiftKey?ie.type=2:ie.key=je.C0.ESC+"[5~";break;case 34:pe.shiftKey?ie.type=3:ie.key=je.C0.ESC+"[6~";break;case 112:ie.key=le?je.C0.ESC+"[1;"+(le+1)+"P":je.C0.ESC+"OP";break;case 113:ie.key=le?je.C0.ESC+"[1;"+(le+1)+"Q":je.C0.ESC+"OQ";break;case 114:ie.key=le?je.C0.ESC+"[1;"+(le+1)+"R":je.C0.ESC+"OR";break;case 115:ie.key=le?je.C0.ESC+"[1;"+(le+1)+"S":je.C0.ESC+"OS";break;case 116:ie.key=le?je.C0.ESC+"[15;"+(le+1)+"~":je.C0.ESC+"[15~";break;case 117:ie.key=le?je.C0.ESC+"[17;"+(le+1)+"~":je.C0.ESC+"[17~";break;case 118:ie.key=le?je.C0.ESC+"[18;"+(le+1)+"~":je.C0.ESC+"[18~";break;case 119:ie.key=le?je.C0.ESC+"[19;"+(le+1)+"~":je.C0.ESC+"[19~";break;case 120:ie.key=le?je.C0.ESC+"[20;"+(le+1)+"~":je.C0.ESC+"[20~";break;case 121:ie.key=le?je.C0.ESC+"[21;"+(le+1)+"~":je.C0.ESC+"[21~";break;case 122:ie.key=le?je.C0.ESC+"[23;"+(le+1)+"~":je.C0.ESC+"[23~";break;case 123:ie.key=le?je.C0.ESC+"[24;"+(le+1)+"~":je.C0.ESC+"[24~";break;default:if(!pe.ctrlKey||pe.shiftKey||pe.altKey||pe.metaKey)if(ce&&!oe||!pe.altKey||pe.metaKey)ce&&!pe.altKey&&!pe.ctrlKey&&pe.metaKey?pe.keyCode===65&&(ie.type=1):pe.key&&!pe.ctrlKey&&!pe.altKey&&!pe.metaKey&&pe.keyCode>=48&&pe.key.length===1?ie.key=pe.key:pe.key&&pe.ctrlKey&&pe.key==="_"&&(ie.key=je.C0.US);else{var se=E[pe.keyCode],ae=se&&se[pe.shiftKey?1:0];if(ae)ie.key=je.C0.ESC+ae;else if(pe.keyCode>=65&&pe.keyCode<=90){var re=pe.ctrlKey?pe.keyCode-64:pe.keyCode+32;ie.key=je.C0.ESC+String.fromCharCode(re)}}else pe.keyCode>=65&&pe.keyCode<=90?ie.key=String.fromCharCode(pe.keyCode-64):pe.keyCode===32?ie.key=je.C0.NUL:pe.keyCode>=51&&pe.keyCode<=55?ie.key=String.fromCharCode(pe.keyCode-51+27):pe.keyCode===56?ie.key=je.C0.DEL:pe.keyCode===219?ie.key=je.C0.ESC:pe.keyCode===220?ie.key=je.C0.FS:pe.keyCode===221&&(ie.key=je.C0.GS)}return ie}},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(te,a){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(y,x){y.__proto__=x}||function(y,x){for(var b in x)x.hasOwnProperty(b)&&(y[b]=x[b])})(te,a)},function(te,a){function y(){this.constructor=te}je(te,a),te.prototype=a===null?Object.create(a):(y.prototype=a.prototype,new y)}),pe=this&&this.__decorate||function(te,a,y,x){var b,ee=arguments.length,z=ee<3?a:x===null?x=Object.getOwnPropertyDescriptor(a,y):x;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")z=Reflect.decorate(te,a,y,x);else for(var ue=te.length-1;ue>=0;ue--)(b=te[ue])&&(z=(ee<3?b(z):ee>3?b(a,y,z):b(a,y))||z);return ee>3&&z&&Object.defineProperty(a,y,z),z},he=this&&this.__param||function(te,a){return function(y,x){a(y,x,te)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.RenderService=void 0;var ce=ye(31),oe=ye(0),ie=ye(2),le=ye(32),se=ye(7),ae=ye(1),re=ye(5),ne=function(te){function a(y,x,b,ee,z,ue){var de=te.call(this)||this;if(de._renderer=y,de._rowCount=x,de._isPaused=!1,de._needsFullRefresh=!1,de._isNextRenderRedrawOnly=!0,de._needsSelectionRefresh=!1,de._canvasWidth=0,de._canvasHeight=0,de._selectionState={start:void 0,end:void 0,columnSelectMode:!1},de._onDimensionsChange=new oe.EventEmitter,de._onRender=new oe.EventEmitter,de._onRefreshRequest=new oe.EventEmitter,de.register({dispose:function(){return de._renderer.dispose()}}),de._renderDebouncer=new ce.RenderDebouncer(function(fe,me){return de._renderRows(fe,me)}),de.register(de._renderDebouncer),de._screenDprMonitor=new le.ScreenDprMonitor,de._screenDprMonitor.setListener(function(){return de.onDevicePixelRatioChange()}),de.register(de._screenDprMonitor),de.register(ue.onResize(function(fe){return de._fullRefresh()})),de.register(ee.onOptionChange(function(){return de._renderer.onOptionsChanged()})),de.register(z.onCharSizeChange(function(){return de.onCharSizeChanged()})),de._renderer.onRequestRedraw(function(fe){return de.refreshRows(fe.start,fe.end,!0)}),de.register(se.addDisposableDomListener(window,"resize",function(){return de.onDevicePixelRatioChange()})),"IntersectionObserver"in window){var ge=new IntersectionObserver(function(fe){return de._onIntersectionChange(fe[fe.length-1])},{threshold:0});ge.observe(b),de.register({dispose:function(){return ge.disconnect()}})}return de}return E(a,te),Object.defineProperty(a.prototype,"onDimensionsChange",{get:function(){return this._onDimensionsChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onRenderedBufferChange",{get:function(){return this._onRender.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"onRefreshRequest",{get:function(){return this._onRefreshRequest.event},enumerable:!1,configurable:!0}),Object.defineProperty(a.prototype,"dimensions",{get:function(){return this._renderer.dimensions},enumerable:!1,configurable:!0}),a.prototype._onIntersectionChange=function(y){this._isPaused=y.intersectionRatio===0,!this._isPaused&&this._needsFullRefresh&&(this.refreshRows(0,this._rowCount-1),this._needsFullRefresh=!1)},a.prototype.refreshRows=function(y,x,b){b===void 0&&(b=!1),this._isPaused?this._needsFullRefresh=!0:(b||(this._isNextRenderRedrawOnly=!1),this._renderDebouncer.refresh(y,x,this._rowCount))},a.prototype._renderRows=function(y,x){this._renderer.renderRows(y,x),this._needsSelectionRefresh&&(this._renderer.onSelectionChanged(this._selectionState.start,this._selectionState.end,this._selectionState.columnSelectMode),this._needsSelectionRefresh=!1),this._isNextRenderRedrawOnly||this._onRender.fire({start:y,end:x}),this._isNextRenderRedrawOnly=!0},a.prototype.resize=function(y,x){this._rowCount=x,this._fireOnCanvasResize()},a.prototype.changeOptions=function(){this._renderer.onOptionsChanged(),this.refreshRows(0,this._rowCount-1),this._fireOnCanvasResize()},a.prototype._fireOnCanvasResize=function(){this._renderer.dimensions.canvasWidth===this._canvasWidth&&this._renderer.dimensions.canvasHeight===this._canvasHeight||this._onDimensionsChange.fire(this._renderer.dimensions)},a.prototype.dispose=function(){te.prototype.dispose.call(this)},a.prototype.setRenderer=function(y){var x=this;this._renderer.dispose(),this._renderer=y,this._renderer.onRequestRedraw(function(b){return x.refreshRows(b.start,b.end,!0)}),this._needsSelectionRefresh=!0,this._fullRefresh()},a.prototype._fullRefresh=function(){this._isPaused?this._needsFullRefresh=!0:this.refreshRows(0,this._rowCount-1)},a.prototype.setColors=function(y){this._renderer.setColors(y),this._fullRefresh()},a.prototype.onDevicePixelRatioChange=function(){this._renderer.onDevicePixelRatioChange(),this.refreshRows(0,this._rowCount-1)},a.prototype.onResize=function(y,x){this._renderer.onResize(y,x),this._fullRefresh()},a.prototype.onCharSizeChanged=function(){this._renderer.onCharSizeChanged()},a.prototype.onBlur=function(){this._renderer.onBlur()},a.prototype.onFocus=function(){this._renderer.onFocus()},a.prototype.onSelectionChanged=function(y,x,b){this._selectionState.start=y,this._selectionState.end=x,this._selectionState.columnSelectMode=b,this._renderer.onSelectionChanged(y,x,b)},a.prototype.onCursorMove=function(){this._renderer.onCursorMove()},a.prototype.clear=function(){this._renderer.clear()},a.prototype.registerCharacterJoiner=function(y){return this._renderer.registerCharacterJoiner(y)},a.prototype.deregisterCharacterJoiner=function(y){return this._renderer.deregisterCharacterJoiner(y)},a=pe([he(3,ae.IOptionsService),he(4,re.ICharSizeService),he(5,ae.IBufferService)],a)}(ie.Disposable);Se.RenderService=ne},function(ot,Se,ye){"use strict";var je=this&&this.__decorate||function(ie,le,se,ae){var re,ne=arguments.length,te=ne<3?le:ae===null?ae=Object.getOwnPropertyDescriptor(le,se):ae;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")te=Reflect.decorate(ie,le,se,ae);else for(var a=ie.length-1;a>=0;a--)(re=ie[a])&&(te=(ne<3?re(te):ne>3?re(le,se,te):re(le,se))||te);return ne>3&&te&&Object.defineProperty(le,se,te),te},E=this&&this.__param||function(ie,le){return function(se,ae){le(se,ae,ie)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.CharSizeService=void 0;var pe=ye(1),he=ye(0),ce=function(){function ie(le,se,ae){this._optionsService=ae,this.width=0,this.height=0,this._onCharSizeChange=new he.EventEmitter,this._measureStrategy=new oe(le,se,this._optionsService)}return Object.defineProperty(ie.prototype,"hasValidSize",{get:function(){return this.width>0&&this.height>0},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"onCharSizeChange",{get:function(){return this._onCharSizeChange.event},enumerable:!1,configurable:!0}),ie.prototype.measure=function(){var le=this._measureStrategy.measure();le.width===this.width&&le.height===this.height||(this.width=le.width,this.height=le.height,this._onCharSizeChange.fire())},ie=je([E(2,pe.IOptionsService)],ie)}();Se.CharSizeService=ce;var oe=function(){function ie(le,se,ae){this._document=le,this._parentElement=se,this._optionsService=ae,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 ie.prototype.measure=function(){this._measureElement.style.fontFamily=this._optionsService.options.fontFamily,this._measureElement.style.fontSize=this._optionsService.options.fontSize+"px";var le=this._measureElement.getBoundingClientRect();return le.width!==0&&le.height!==0&&(this._result.width=le.width,this._result.height=Math.ceil(le.height)),this._result},ie}()},function(ot,Se,ye){"use strict";var je=this&&this.__decorate||function(oe,ie,le,se){var ae,re=arguments.length,ne=re<3?ie:se===null?se=Object.getOwnPropertyDescriptor(ie,le):se;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ne=Reflect.decorate(oe,ie,le,se);else for(var te=oe.length-1;te>=0;te--)(ae=oe[te])&&(ne=(re<3?ae(ne):re>3?ae(ie,le,ne):ae(ie,le))||ne);return re>3&&ne&&Object.defineProperty(ie,le,ne),ne},E=this&&this.__param||function(oe,ie){return function(le,se){ie(le,se,oe)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.MouseService=void 0;var pe=ye(5),he=ye(30),ce=function(){function oe(ie,le){this._renderService=ie,this._charSizeService=le}return oe.prototype.getCoords=function(ie,le,se,ae,re){return he.getCoords(ie,le,se,ae,this._charSizeService.hasValidSize,this._renderService.dimensions.actualCellWidth,this._renderService.dimensions.actualCellHeight,re)},oe.prototype.getRawByteCoords=function(ie,le,se,ae){var re=this.getCoords(ie,le,se,ae);return he.getRawByteCoords(re)},oe=je([E(0,pe.IRenderService),E(1,pe.ICharSizeService)],oe)}();Se.MouseService=ce},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(ae,re){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var a in te)te.hasOwnProperty(a)&&(ne[a]=te[a])})(ae,re)},function(ae,re){function ne(){this.constructor=ae}je(ae,re),ae.prototype=re===null?Object.create(re):(ne.prototype=re.prototype,new ne)}),pe=this&&this.__decorate||function(ae,re,ne,te){var a,y=arguments.length,x=y<3?re:te===null?te=Object.getOwnPropertyDescriptor(re,ne):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,re,ne,te);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(re,ne,x):a(re,ne))||x);return y>3&&x&&Object.defineProperty(re,ne,x),x},he=this&&this.__param||function(ae,re){return function(ne,te){re(ne,te,ae)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.Linkifier2=void 0;var ce=ye(1),oe=ye(0),ie=ye(2),le=ye(7),se=function(ae){function re(ne){var te=ae.call(this)||this;return te._bufferService=ne,te._linkProviders=[],te._linkCacheDisposables=[],te._isMouseOut=!0,te._activeLine=-1,te._onShowLinkUnderline=te.register(new oe.EventEmitter),te._onHideLinkUnderline=te.register(new oe.EventEmitter),te.register(ie.getDisposeArrayDisposable(te._linkCacheDisposables)),te}return E(re,ae),Object.defineProperty(re.prototype,"onShowLinkUnderline",{get:function(){return this._onShowLinkUnderline.event},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"onHideLinkUnderline",{get:function(){return this._onHideLinkUnderline.event},enumerable:!1,configurable:!0}),re.prototype.registerLinkProvider=function(ne){var te=this;return this._linkProviders.push(ne),{dispose:function(){var a=te._linkProviders.indexOf(ne);a!==-1&&te._linkProviders.splice(a,1)}}},re.prototype.attachToDom=function(ne,te,a){var y=this;this._element=ne,this._mouseService=te,this._renderService=a,this.register(le.addDisposableDomListener(this._element,"mouseleave",function(){y._isMouseOut=!0,y._clearCurrentLink()})),this.register(le.addDisposableDomListener(this._element,"mousemove",this._onMouseMove.bind(this))),this.register(le.addDisposableDomListener(this._element,"click",this._onClick.bind(this)))},re.prototype._onMouseMove=function(ne){if(this._lastMouseEvent=ne,this._element&&this._mouseService){var te=this._positionFromMouseEvent(ne,this._element,this._mouseService);if(te){this._isMouseOut=!1;for(var a=ne.composedPath(),y=0;y<a.length;y++){var x=a[y];if(x.classList.contains("xterm"))break;if(x.classList.contains("xterm-hover"))return}this._lastBufferCell&&te.x===this._lastBufferCell.x&&te.y===this._lastBufferCell.y||(this._onHover(te),this._lastBufferCell=te)}}},re.prototype._onHover=function(ne){if(this._activeLine!==ne.y)return this._clearCurrentLink(),void this._askForLink(ne,!1);this._currentLink&&this._linkAtPosition(this._currentLink.link,ne)||(this._clearCurrentLink(),this._askForLink(ne,!0))},re.prototype._askForLink=function(ne,te){var a=this;this._activeProviderReplies&&te||(this._activeProviderReplies=new Map,this._activeLine=ne.y);var y=!1;this._linkProviders.forEach(function(x,b){var ee;te?!((ee=a._activeProviderReplies)===null||ee===void 0)&&ee.get(b)&&(y=a._checkLinkProviderResult(b,ne,y)):x.provideLinks(ne.y,function(z){var ue,de;if(!a._isMouseOut){var ge=z==null?void 0:z.map(function(fe){return{link:fe}});(ue=a._activeProviderReplies)===null||ue===void 0||ue.set(b,ge),y=a._checkLinkProviderResult(b,ne,y),((de=a._activeProviderReplies)===null||de===void 0?void 0:de.size)===a._linkProviders.length&&a._removeIntersectingLinks(ne.y,a._activeProviderReplies)}})})},re.prototype._removeIntersectingLinks=function(ne,te){for(var a=new Set,y=0;y<te.size;y++){var x=te.get(y);if(x)for(var b=0;b<x.length;b++)for(var ee=x[b],z=ee.link.range.start.y<ne?0:ee.link.range.start.x,ue=ee.link.range.end.y>ne?this._bufferService.cols:ee.link.range.end.x,de=z;de<=ue;de++){if(a.has(de)){x.splice(b--,1);break}a.add(de)}}},re.prototype._checkLinkProviderResult=function(ne,te,a){var y,x=this;if(!this._activeProviderReplies)return a;for(var b=this._activeProviderReplies.get(ne),ee=!1,z=0;z<ne;z++)this._activeProviderReplies.has(z)&&!this._activeProviderReplies.get(z)||(ee=!0);if(!ee&&b){var ue=b.find(function(ge){return x._linkAtPosition(ge.link,te)});ue&&(a=!0,this._handleNewLink(ue))}if(this._activeProviderReplies.size===this._linkProviders.length&&!a)for(z=0;z<this._activeProviderReplies.size;z++){var de=(y=this._activeProviderReplies.get(z))===null||y===void 0?void 0:y.find(function(ge){return x._linkAtPosition(ge.link,te)});if(de){a=!0,this._handleNewLink(de);break}}return a},re.prototype._onClick=function(ne){if(this._element&&this._mouseService&&this._currentLink){var te=this._positionFromMouseEvent(ne,this._element,this._mouseService);te&&this._linkAtPosition(this._currentLink.link,te)&&this._currentLink.link.activate(ne,this._currentLink.link.text)}},re.prototype._clearCurrentLink=function(ne,te){this._element&&this._currentLink&&this._lastMouseEvent&&(!ne||!te||this._currentLink.link.range.start.y>=ne&&this._currentLink.link.range.end.y<=te)&&(this._linkLeave(this._element,this._currentLink.link,this._lastMouseEvent),this._currentLink=void 0,ie.disposeArray(this._linkCacheDisposables))},re.prototype._handleNewLink=function(ne){var te=this;if(this._element&&this._lastMouseEvent&&this._mouseService){var a=this._positionFromMouseEvent(this._lastMouseEvent,this._element,this._mouseService);a&&this._linkAtPosition(ne.link,a)&&(this._currentLink=ne,this._currentLink.state={decorations:{underline:ne.link.decorations===void 0||ne.link.decorations.underline,pointerCursor:ne.link.decorations===void 0||ne.link.decorations.pointerCursor},isHovered:!0},this._linkHover(this._element,ne.link,this._lastMouseEvent),ne.link.decorations={},Object.defineProperties(ne.link.decorations,{pointerCursor:{get:function(){var y,x;return(x=(y=te._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.pointerCursor},set:function(y){var x,b;!((x=te._currentLink)===null||x===void 0)&&x.state&&te._currentLink.state.decorations.pointerCursor!==y&&(te._currentLink.state.decorations.pointerCursor=y,te._currentLink.state.isHovered&&((b=te._element)===null||b===void 0||b.classList.toggle("xterm-cursor-pointer",y)))}},underline:{get:function(){var y,x;return(x=(y=te._currentLink)===null||y===void 0?void 0:y.state)===null||x===void 0?void 0:x.decorations.underline},set:function(y){var x,b,ee;!((x=te._currentLink)===null||x===void 0)&&x.state&&((ee=(b=te._currentLink)===null||b===void 0?void 0:b.state)===null||ee===void 0?void 0:ee.decorations.underline)!==y&&(te._currentLink.state.decorations.underline=y,te._currentLink.state.isHovered&&te._fireUnderlineEvent(ne.link,y))}}}),this._renderService&&this._linkCacheDisposables.push(this._renderService.onRenderedBufferChange(function(y){var x=y.start===0?0:y.start+1+te._bufferService.buffer.ydisp;te._clearCurrentLink(x,y.end+1+te._bufferService.buffer.ydisp)})))}},re.prototype._linkHover=function(ne,te,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!0,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(te,!0),this._currentLink.state.decorations.pointerCursor&&ne.classList.add("xterm-cursor-pointer")),te.hover&&te.hover(a,te.text)},re.prototype._fireUnderlineEvent=function(ne,te){var a=ne.range,y=this._bufferService.buffer.ydisp,x=this._createLinkUnderlineEvent(a.start.x-1,a.start.y-y-1,a.end.x,a.end.y-y-1,void 0);(te?this._onShowLinkUnderline:this._onHideLinkUnderline).fire(x)},re.prototype._linkLeave=function(ne,te,a){var y;!((y=this._currentLink)===null||y===void 0)&&y.state&&(this._currentLink.state.isHovered=!1,this._currentLink.state.decorations.underline&&this._fireUnderlineEvent(te,!1),this._currentLink.state.decorations.pointerCursor&&ne.classList.remove("xterm-cursor-pointer")),te.leave&&te.leave(a,te.text)},re.prototype._linkAtPosition=function(ne,te){var a=ne.range.start.y===ne.range.end.y,y=ne.range.start.y<te.y,x=ne.range.end.y>te.y;return(a&&ne.range.start.x<=te.x&&ne.range.end.x>=te.x||y&&ne.range.end.x>=te.x||x&&ne.range.start.x<=te.x||y&&x)&&ne.range.start.y<=te.y&&ne.range.end.y>=te.y},re.prototype._positionFromMouseEvent=function(ne,te,a){var y=a.getCoords(ne,te,this._bufferService.cols,this._bufferService.rows);if(y)return{x:y[0],y:y[1]+this._bufferService.buffer.ydisp}},re.prototype._createLinkUnderlineEvent=function(ne,te,a,y,x){return{x1:ne,y1:te,x2:a,y2:y,cols:this._bufferService.cols,fg:x}},re=pe([he(0,ce.IBufferService)],re)}(ie.Disposable);Se.Linkifier2=se},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.CoreBrowserService=void 0;var je=function(){function E(pe){this._textarea=pe}return Object.defineProperty(E.prototype,"isFocused",{get:function(){return document.activeElement===this._textarea&&document.hasFocus()},enumerable:!1,configurable:!0}),E}();Se.CoreBrowserService=je},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(z,ue){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,ge){de.__proto__=ge}||function(de,ge){for(var fe in ge)ge.hasOwnProperty(fe)&&(de[fe]=ge[fe])})(z,ue)},function(z,ue){function de(){this.constructor=z}je(z,ue),z.prototype=ue===null?Object.create(ue):(de.prototype=ue.prototype,new de)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.CoreTerminal=void 0;var pe=ye(2),he=ye(1),ce=ye(66),oe=ye(67),ie=ye(68),le=ye(74),se=ye(75),ae=ye(0),re=ye(76),ne=ye(77),te=ye(78),a=ye(80),y=ye(81),x=ye(19),b=ye(82),ee=function(z){function ue(de){var ge=z.call(this)||this;return ge._onBinary=new ae.EventEmitter,ge._onData=new ae.EventEmitter,ge._onLineFeed=new ae.EventEmitter,ge._onResize=new ae.EventEmitter,ge._onScroll=new ae.EventEmitter,ge._instantiationService=new ce.InstantiationService,ge.optionsService=new le.OptionsService(de),ge._instantiationService.setService(he.IOptionsService,ge.optionsService),ge._bufferService=ge.register(ge._instantiationService.createInstance(ie.BufferService)),ge._instantiationService.setService(he.IBufferService,ge._bufferService),ge._logService=ge._instantiationService.createInstance(oe.LogService),ge._instantiationService.setService(he.ILogService,ge._logService),ge._coreService=ge.register(ge._instantiationService.createInstance(se.CoreService,function(){return ge.scrollToBottom()})),ge._instantiationService.setService(he.ICoreService,ge._coreService),ge._coreMouseService=ge._instantiationService.createInstance(re.CoreMouseService),ge._instantiationService.setService(he.ICoreMouseService,ge._coreMouseService),ge._dirtyRowService=ge._instantiationService.createInstance(ne.DirtyRowService),ge._instantiationService.setService(he.IDirtyRowService,ge._dirtyRowService),ge.unicodeService=ge._instantiationService.createInstance(te.UnicodeService),ge._instantiationService.setService(he.IUnicodeService,ge.unicodeService),ge._charsetService=ge._instantiationService.createInstance(a.CharsetService),ge._instantiationService.setService(he.ICharsetService,ge._charsetService),ge._inputHandler=new x.InputHandler(ge._bufferService,ge._charsetService,ge._coreService,ge._dirtyRowService,ge._logService,ge.optionsService,ge._coreMouseService,ge.unicodeService),ge.register(ae.forwardEvent(ge._inputHandler.onLineFeed,ge._onLineFeed)),ge.register(ge._inputHandler),ge.register(ae.forwardEvent(ge._bufferService.onResize,ge._onResize)),ge.register(ae.forwardEvent(ge._coreService.onData,ge._onData)),ge.register(ae.forwardEvent(ge._coreService.onBinary,ge._onBinary)),ge.register(ge.optionsService.onOptionChange(function(fe){return ge._updateOptions(fe)})),ge._writeBuffer=new b.WriteBuffer(function(fe){return ge._inputHandler.parse(fe)}),ge}return E(ue,z),Object.defineProperty(ue.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onLineFeed",{get:function(){return this._onLineFeed.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"onScroll",{get:function(){return this._onScroll.event},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"cols",{get:function(){return this._bufferService.cols},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"rows",{get:function(){return this._bufferService.rows},enumerable:!1,configurable:!0}),Object.defineProperty(ue.prototype,"buffers",{get:function(){return this._bufferService.buffers},enumerable:!1,configurable:!0}),ue.prototype.dispose=function(){var de;this._isDisposed||(z.prototype.dispose.call(this),(de=this._windowsMode)===null||de===void 0||de.dispose(),this._windowsMode=void 0)},ue.prototype.write=function(de,ge){this._writeBuffer.write(de,ge)},ue.prototype.writeSync=function(de){this._writeBuffer.writeSync(de)},ue.prototype.resize=function(de,ge){isNaN(de)||isNaN(ge)||(de=Math.max(de,ie.MINIMUM_COLS),ge=Math.max(ge,ie.MINIMUM_ROWS),this._bufferService.resize(de,ge))},ue.prototype.scroll=function(de,ge){ge===void 0&&(ge=!1);var fe,me=this._bufferService.buffer;(fe=this._cachedBlankLine)&&fe.length===this.cols&&fe.getFg(0)===de.fg&&fe.getBg(0)===de.bg||(fe=me.getBlankLine(de,ge),this._cachedBlankLine=fe),fe.isWrapped=ge;var be=me.ybase+me.scrollTop,ve=me.ybase+me.scrollBottom;if(me.scrollTop===0){var Pe=me.lines.isFull;ve===me.lines.length-1?Pe?me.lines.recycle().copyFrom(fe):me.lines.push(fe.clone()):me.lines.splice(ve+1,0,fe.clone()),Pe?this._bufferService.isUserScrolling&&(me.ydisp=Math.max(me.ydisp-1,0)):(me.ybase++,this._bufferService.isUserScrolling||me.ydisp++)}else{var Ee=ve-be+1;me.lines.shiftElements(be+1,Ee-1,-1),me.lines.set(ve,fe.clone())}this._bufferService.isUserScrolling||(me.ydisp=me.ybase),this._dirtyRowService.markRangeDirty(me.scrollTop,me.scrollBottom),this._onScroll.fire(me.ydisp)},ue.prototype.scrollLines=function(de,ge){var fe=this._bufferService.buffer;if(de<0){if(fe.ydisp===0)return;this._bufferService.isUserScrolling=!0}else de+fe.ydisp>=fe.ybase&&(this._bufferService.isUserScrolling=!1);var me=fe.ydisp;fe.ydisp=Math.max(Math.min(fe.ydisp+de,fe.ybase),0),me!==fe.ydisp&&(ge||this._onScroll.fire(fe.ydisp))},ue.prototype.scrollPages=function(de){this.scrollLines(de*(this.rows-1))},ue.prototype.scrollToTop=function(){this.scrollLines(-this._bufferService.buffer.ydisp)},ue.prototype.scrollToBottom=function(){this.scrollLines(this._bufferService.buffer.ybase-this._bufferService.buffer.ydisp)},ue.prototype.scrollToLine=function(de){var ge=de-this._bufferService.buffer.ydisp;ge!==0&&this.scrollLines(ge)},ue.prototype.addEscHandler=function(de,ge){return this._inputHandler.addEscHandler(de,ge)},ue.prototype.addDcsHandler=function(de,ge){return this._inputHandler.addDcsHandler(de,ge)},ue.prototype.addCsiHandler=function(de,ge){return this._inputHandler.addCsiHandler(de,ge)},ue.prototype.addOscHandler=function(de,ge){return this._inputHandler.addOscHandler(de,ge)},ue.prototype._setup=function(){this.optionsService.options.windowsMode&&this._enableWindowsMode()},ue.prototype.reset=function(){this._inputHandler.reset(),this._bufferService.reset(),this._charsetService.reset(),this._coreService.reset(),this._coreMouseService.reset()},ue.prototype._updateOptions=function(de){var ge;switch(de){case"scrollback":this.buffers.resize(this.cols,this.rows);break;case"windowsMode":this.optionsService.options.windowsMode?this._enableWindowsMode():((ge=this._windowsMode)===null||ge===void 0||ge.dispose(),this._windowsMode=void 0)}},ue.prototype._enableWindowsMode=function(){var de=this;if(!this._windowsMode){var ge=[];ge.push(this.onLineFeed(y.updateWindowsModeWrappedState.bind(null,this._bufferService))),ge.push(this.addCsiHandler({final:"H"},function(){return y.updateWindowsModeWrappedState(de._bufferService),!1})),this._windowsMode={dispose:function(){for(var fe=0,me=ge;fe<me.length;fe++)me[fe].dispose()}}}},ue}(pe.Disposable);Se.CoreTerminal=ee},function(ot,Se,ye){"use strict";var je=this&&this.__spreadArrays||function(){for(var oe=0,ie=0,le=arguments.length;ie<le;ie++)oe+=arguments[ie].length;var se=Array(oe),ae=0;for(ie=0;ie<le;ie++)for(var re=arguments[ie],ne=0,te=re.length;ne<te;ne++,ae++)se[ae]=re[ne];return se};Object.defineProperty(Se,"__esModule",{value:!0}),Se.InstantiationService=Se.ServiceCollection=void 0;var E=ye(1),pe=ye(14),he=function(){function oe(){for(var ie=[],le=0;le<arguments.length;le++)ie[le]=arguments[le];this._entries=new Map;for(var se=0,ae=ie;se<ae.length;se++){var re=ae[se],ne=re[0],te=re[1];this.set(ne,te)}}return oe.prototype.set=function(ie,le){var se=this._entries.get(ie);return this._entries.set(ie,le),se},oe.prototype.forEach=function(ie){this._entries.forEach(function(le,se){return ie(se,le)})},oe.prototype.has=function(ie){return this._entries.has(ie)},oe.prototype.get=function(ie){return this._entries.get(ie)},oe}();Se.ServiceCollection=he;var ce=function(){function oe(){this._services=new he,this._services.set(E.IInstantiationService,this)}return oe.prototype.setService=function(ie,le){this._services.set(ie,le)},oe.prototype.getService=function(ie){return this._services.get(ie)},oe.prototype.createInstance=function(ie){for(var le=[],se=1;se<arguments.length;se++)le[se-1]=arguments[se];for(var ae=pe.getServiceDependencies(ie).sort(function(b,ee){return b.index-ee.index}),re=[],ne=0,te=ae;ne<te.length;ne++){var a=te[ne],y=this._services.get(a.id);if(!y)throw new Error("[createInstance] "+ie.name+" depends on UNKNOWN service "+a.id+".");re.push(y)}var x=ae.length>0?ae[0].index:le.length;if(le.length!==x)throw new Error("[createInstance] First service dependency of "+ie.name+" at position "+(x+1)+" conflicts with "+le.length+" static arguments");return new(ie.bind.apply(ie,je([void 0],je(le,re))))},oe}();Se.InstantiationService=ce},function(ot,Se,ye){"use strict";var je=this&&this.__decorate||function(le,se,ae,re){var ne,te=arguments.length,a=te<3?se:re===null?re=Object.getOwnPropertyDescriptor(se,ae):re;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(le,se,ae,re);else for(var y=le.length-1;y>=0;y--)(ne=le[y])&&(a=(te<3?ne(a):te>3?ne(se,ae,a):ne(se,ae))||a);return te>3&&a&&Object.defineProperty(se,ae,a),a},E=this&&this.__param||function(le,se){return function(ae,re){se(ae,re,le)}},pe=this&&this.__spreadArrays||function(){for(var le=0,se=0,ae=arguments.length;se<ae;se++)le+=arguments[se].length;var re=Array(le),ne=0;for(se=0;se<ae;se++)for(var te=arguments[se],a=0,y=te.length;a<y;a++,ne++)re[ne]=te[a];return re};Object.defineProperty(Se,"__esModule",{value:!0}),Se.LogService=Se.LogLevel=void 0;var he,ce=ye(1);(function(le){le[le.DEBUG=0]="DEBUG",le[le.INFO=1]="INFO",le[le.WARN=2]="WARN",le[le.ERROR=3]="ERROR",le[le.OFF=4]="OFF"})(he=Se.LogLevel||(Se.LogLevel={}));var oe={debug:he.DEBUG,info:he.INFO,warn:he.WARN,error:he.ERROR,off:he.OFF},ie=function(){function le(se){var ae=this;this._optionsService=se,this._updateLogLevel(),this._optionsService.onOptionChange(function(re){re==="logLevel"&&ae._updateLogLevel()})}return le.prototype._updateLogLevel=function(){this._logLevel=oe[this._optionsService.options.logLevel]},le.prototype._evalLazyOptionalParams=function(se){for(var ae=0;ae<se.length;ae++)typeof se[ae]=="function"&&(se[ae]=se[ae]())},le.prototype._log=function(se,ae,re){this._evalLazyOptionalParams(re),se.call.apply(se,pe([console,"xterm.js: "+ae],re))},le.prototype.debug=function(se){for(var ae=[],re=1;re<arguments.length;re++)ae[re-1]=arguments[re];this._logLevel<=he.DEBUG&&this._log(console.log,se,ae)},le.prototype.info=function(se){for(var ae=[],re=1;re<arguments.length;re++)ae[re-1]=arguments[re];this._logLevel<=he.INFO&&this._log(console.info,se,ae)},le.prototype.warn=function(se){for(var ae=[],re=1;re<arguments.length;re++)ae[re-1]=arguments[re];this._logLevel<=he.WARN&&this._log(console.warn,se,ae)},le.prototype.error=function(se){for(var ae=[],re=1;re<arguments.length;re++)ae[re-1]=arguments[re];this._logLevel<=he.ERROR&&this._log(console.error,se,ae)},le=je([E(0,ce.IOptionsService)],le)}();Se.LogService=ie},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(ae,re){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ne,te){ne.__proto__=te}||function(ne,te){for(var a in te)te.hasOwnProperty(a)&&(ne[a]=te[a])})(ae,re)},function(ae,re){function ne(){this.constructor=ae}je(ae,re),ae.prototype=re===null?Object.create(re):(ne.prototype=re.prototype,new ne)}),pe=this&&this.__decorate||function(ae,re,ne,te){var a,y=arguments.length,x=y<3?re:te===null?te=Object.getOwnPropertyDescriptor(re,ne):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,re,ne,te);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(re,ne,x):a(re,ne))||x);return y>3&&x&&Object.defineProperty(re,ne,x),x},he=this&&this.__param||function(ae,re){return function(ne,te){re(ne,te,ae)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.BufferService=Se.MINIMUM_ROWS=Se.MINIMUM_COLS=void 0;var ce=ye(1),oe=ye(69),ie=ye(0),le=ye(2);Se.MINIMUM_COLS=2,Se.MINIMUM_ROWS=1;var se=function(ae){function re(ne){var te=ae.call(this)||this;return te._optionsService=ne,te.isUserScrolling=!1,te._onResize=new ie.EventEmitter,te.cols=Math.max(ne.options.cols,Se.MINIMUM_COLS),te.rows=Math.max(ne.options.rows,Se.MINIMUM_ROWS),te.buffers=new oe.BufferSet(ne,te),te}return E(re,ae),Object.defineProperty(re.prototype,"onResize",{get:function(){return this._onResize.event},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"buffer",{get:function(){return this.buffers.active},enumerable:!1,configurable:!0}),re.prototype.dispose=function(){ae.prototype.dispose.call(this),this.buffers.dispose()},re.prototype.resize=function(ne,te){this.cols=ne,this.rows=te,this.buffers.resize(ne,te),this.buffers.setupTabStops(this.cols),this._onResize.fire({cols:ne,rows:te})},re.prototype.reset=function(){this.buffers.dispose(),this.buffers=new oe.BufferSet(this._optionsService,this),this.isUserScrolling=!1},re=pe([he(0,ce.IOptionsService)],re)}(le.Disposable);Se.BufferService=se},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(oe,ie){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(le,se){le.__proto__=se}||function(le,se){for(var ae in se)se.hasOwnProperty(ae)&&(le[ae]=se[ae])})(oe,ie)},function(oe,ie){function le(){this.constructor=oe}je(oe,ie),oe.prototype=ie===null?Object.create(ie):(le.prototype=ie.prototype,new le)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.BufferSet=void 0;var pe=ye(70),he=ye(0),ce=function(oe){function ie(le,se){var ae=oe.call(this)||this;return ae._onBufferActivate=ae.register(new he.EventEmitter),ae._normal=new pe.Buffer(!0,le,se),ae._normal.fillViewportRows(),ae._alt=new pe.Buffer(!1,le,se),ae._activeBuffer=ae._normal,ae.setupTabStops(),ae}return E(ie,oe),Object.defineProperty(ie.prototype,"onBufferActivate",{get:function(){return this._onBufferActivate.event},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"alt",{get:function(){return this._alt},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"active",{get:function(){return this._activeBuffer},enumerable:!1,configurable:!0}),Object.defineProperty(ie.prototype,"normal",{get:function(){return this._normal},enumerable:!1,configurable:!0}),ie.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}))},ie.prototype.activateAltBuffer=function(le){this._activeBuffer!==this._alt&&(this._alt.fillViewportRows(le),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}))},ie.prototype.resize=function(le,se){this._normal.resize(le,se),this._alt.resize(le,se)},ie.prototype.setupTabStops=function(le){this._normal.setupTabStops(le),this._alt.setupTabStops(le)},ie}(ye(2).Disposable);Se.BufferSet=ce},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.BufferStringIterator=Se.Buffer=Se.MAX_BUFFER_SIZE=void 0;var je=ye(71),E=ye(16),pe=ye(4),he=ye(3),ce=ye(72),oe=ye(73),ie=ye(20),le=ye(6);Se.MAX_BUFFER_SIZE=4294967295;var se=function(){function re(ne,te,a){this._hasScrollback=ne,this._optionsService=te,this._bufferService=a,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=ie.DEFAULT_CHARSET,this.markers=[],this._nullCell=pe.CellData.fromCharData([0,he.NULL_CELL_CHAR,he.NULL_CELL_WIDTH,he.NULL_CELL_CODE]),this._whitespaceCell=pe.CellData.fromCharData([0,he.WHITESPACE_CELL_CHAR,he.WHITESPACE_CELL_WIDTH,he.WHITESPACE_CELL_CODE]),this._cols=this._bufferService.cols,this._rows=this._bufferService.rows,this.lines=new je.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()}return re.prototype.getNullCell=function(ne){return ne?(this._nullCell.fg=ne.fg,this._nullCell.bg=ne.bg,this._nullCell.extended=ne.extended):(this._nullCell.fg=0,this._nullCell.bg=0,this._nullCell.extended=new le.ExtendedAttrs),this._nullCell},re.prototype.getWhitespaceCell=function(ne){return ne?(this._whitespaceCell.fg=ne.fg,this._whitespaceCell.bg=ne.bg,this._whitespaceCell.extended=ne.extended):(this._whitespaceCell.fg=0,this._whitespaceCell.bg=0,this._whitespaceCell.extended=new le.ExtendedAttrs),this._whitespaceCell},re.prototype.getBlankLine=function(ne,te){return new E.BufferLine(this._bufferService.cols,this.getNullCell(ne),te)},Object.defineProperty(re.prototype,"hasScrollback",{get:function(){return this._hasScrollback&&this.lines.maxLength>this._rows},enumerable:!1,configurable:!0}),Object.defineProperty(re.prototype,"isCursorInViewport",{get:function(){var ne=this.ybase+this.y-this.ydisp;return ne>=0&&ne<this._rows},enumerable:!1,configurable:!0}),re.prototype._getCorrectBufferLength=function(ne){if(!this._hasScrollback)return ne;var te=ne+this._optionsService.options.scrollback;return te>Se.MAX_BUFFER_SIZE?Se.MAX_BUFFER_SIZE:te},re.prototype.fillViewportRows=function(ne){if(this.lines.length===0){ne===void 0&&(ne=E.DEFAULT_ATTR_DATA);for(var te=this._rows;te--;)this.lines.push(this.getBlankLine(ne))}},re.prototype.clear=function(){this.ydisp=0,this.ybase=0,this.y=0,this.x=0,this.lines=new je.CircularList(this._getCorrectBufferLength(this._rows)),this.scrollTop=0,this.scrollBottom=this._rows-1,this.setupTabStops()},re.prototype.resize=function(ne,te){var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=this._getCorrectBufferLength(te);if(y>this.lines.maxLength&&(this.lines.maxLength=y),this.lines.length>0){if(this._cols<ne)for(var x=0;x<this.lines.length;x++)this.lines.get(x).resize(ne,a);var b=0;if(this._rows<te)for(var ee=this._rows;ee<te;ee++)this.lines.length<te+this.ybase&&(this._optionsService.options.windowsMode?this.lines.push(new E.BufferLine(ne,a)):this.ybase>0&&this.lines.length<=this.ybase+this.y+b+1?(this.ybase--,b++,this.ydisp>0&&this.ydisp--):this.lines.push(new E.BufferLine(ne,a)));else for(ee=this._rows;ee>te;ee--)this.lines.length>te+this.ybase&&(this.lines.length>this.ybase+this.y+1?this.lines.pop():(this.ybase++,this.ydisp++));if(y<this.lines.maxLength){var z=this.lines.length-y;z>0&&(this.lines.trimStart(z),this.ybase=Math.max(this.ybase-z,0),this.ydisp=Math.max(this.ydisp-z,0),this.savedY=Math.max(this.savedY-z,0)),this.lines.maxLength=y}this.x=Math.min(this.x,ne-1),this.y=Math.min(this.y,te-1),b&&(this.y+=b),this.savedX=Math.min(this.savedX,ne-1),this.scrollTop=0}if(this.scrollBottom=te-1,this._isReflowEnabled&&(this._reflow(ne,te),this._cols>ne))for(x=0;x<this.lines.length;x++)this.lines.get(x).resize(ne,a);this._cols=ne,this._rows=te},Object.defineProperty(re.prototype,"_isReflowEnabled",{get:function(){return this._hasScrollback&&!this._optionsService.options.windowsMode},enumerable:!1,configurable:!0}),re.prototype._reflow=function(ne,te){this._cols!==ne&&(ne>this._cols?this._reflowLarger(ne,te):this._reflowSmaller(ne,te))},re.prototype._reflowLarger=function(ne,te){var a=ce.reflowLargerGetLinesToRemove(this.lines,this._cols,ne,this.ybase+this.y,this.getNullCell(E.DEFAULT_ATTR_DATA));if(a.length>0){var y=ce.reflowLargerCreateNewLayout(this.lines,a);ce.reflowLargerApplyNewLayout(this.lines,y.layout),this._reflowLargerAdjustViewport(ne,te,y.countRemoved)}},re.prototype._reflowLargerAdjustViewport=function(ne,te,a){for(var y=this.getNullCell(E.DEFAULT_ATTR_DATA),x=a;x-- >0;)this.ybase===0?(this.y>0&&this.y--,this.lines.length<te&&this.lines.push(new E.BufferLine(ne,y))):(this.ydisp===this.ybase&&this.ydisp--,this.ybase--);this.savedY=Math.max(this.savedY-a,0)},re.prototype._reflowSmaller=function(ne,te){for(var a=this.getNullCell(E.DEFAULT_ATTR_DATA),y=[],x=0,b=this.lines.length-1;b>=0;b--){var ee=this.lines.get(b);if(!(!ee||!ee.isWrapped&&ee.getTrimmedLength()<=ne)){for(var z=[ee];ee.isWrapped&&b>0;)ee=this.lines.get(--b),z.unshift(ee);var ue=this.ybase+this.y;if(!(ue>=b&&ue<b+z.length)){var de=z[z.length-1].getTrimmedLength(),ge=ce.reflowSmallerGetNewLineLengths(z,this._cols,ne),fe=ge.length-z.length,me=void 0;me=this.ybase===0&&this.y!==this.lines.length-1?Math.max(0,this.y-this.lines.maxLength+fe):Math.max(0,this.lines.length-this.lines.maxLength+fe);for(var be=[],ve=0;ve<fe;ve++){var Pe=this.getBlankLine(E.DEFAULT_ATTR_DATA,!0);be.push(Pe)}be.length>0&&(y.push({start:b+z.length+x,newLines:be}),x+=be.length),z.push.apply(z,be);var Ee=ge.length-1,Ae=ge[Ee];Ae===0&&(Ae=ge[--Ee]);for(var Ce=z.length-fe-1,_e=de;Ce>=0;){var we=Math.min(_e,Ae);if(z[Ee].copyCellsFrom(z[Ce],_e-we,Ae-we,we,!0),(Ae-=we)===0&&(Ae=ge[--Ee]),(_e-=we)===0){Ce--;var Me=Math.max(Ce,0);_e=ce.getWrappedLineTrimmedLength(z,Me,this._cols)}}for(ve=0;ve<z.length;ve++)ge[ve]<ne&&z[ve].setCell(ge[ve],a);for(var Oe=fe-me;Oe-- >0;)this.ybase===0?this.y<te-1?(this.y++,this.lines.pop()):(this.ybase++,this.ydisp++):this.ybase<Math.min(this.lines.maxLength,this.lines.length+x)-te&&(this.ybase===this.ydisp&&this.ydisp++,this.ybase++);this.savedY=Math.min(this.savedY+fe,this.ybase+te-1)}}}if(y.length>0){var Fe=[],Le=[];for(ve=0;ve<this.lines.length;ve++)Le.push(this.lines.get(ve));var Qe=this.lines.length,We=Qe-1,Ge=0,Ke=y[Ge];this.lines.length=Math.min(this.lines.maxLength,this.lines.length+x);var ze=0;for(ve=Math.min(this.lines.maxLength-1,Qe+x-1);ve>=0;ve--)if(Ke&&Ke.start>We+ze){for(var ke=Ke.newLines.length-1;ke>=0;ke--)this.lines.set(ve--,Ke.newLines[ke]);ve++,Fe.push({index:We+1,amount:Ke.newLines.length}),ze+=Ke.newLines.length,Ke=y[++Ge]}else this.lines.set(ve,Le[We--]);var Ne=0;for(ve=Fe.length-1;ve>=0;ve--)Fe[ve].index+=Ne,this.lines.onInsertEmitter.fire(Fe[ve]),Ne+=Fe[ve].amount;var Ve=Math.max(0,Qe+x-this.lines.maxLength);Ve>0&&this.lines.onTrimEmitter.fire(Ve)}},re.prototype.stringIndexToBufferIndex=function(ne,te,a){for(a===void 0&&(a=!1);te;){var y=this.lines.get(ne);if(!y)return[-1,-1];for(var x=a?y.getTrimmedLength():y.length,b=0;b<x;++b)if(y.get(b)[he.CHAR_DATA_WIDTH_INDEX]&&(te-=y.get(b)[he.CHAR_DATA_CHAR_INDEX].length||1),te<0)return[ne,b];ne++}return[ne,0]},re.prototype.translateBufferLineToString=function(ne,te,a,y){a===void 0&&(a=0);var x=this.lines.get(ne);return x?x.translateToString(te,a,y):""},re.prototype.getWrappedRangeForLine=function(ne){for(var te=ne,a=ne;te>0&&this.lines.get(te).isWrapped;)te--;for(;a+1<this.lines.length&&this.lines.get(a+1).isWrapped;)a++;return{first:te,last:a}},re.prototype.setupTabStops=function(ne){for(ne!=null?this.tabs[ne]||(ne=this.prevStop(ne)):(this.tabs={},ne=0);ne<this._cols;ne+=this._optionsService.options.tabStopWidth)this.tabs[ne]=!0},re.prototype.prevStop=function(ne){for(ne==null&&(ne=this.x);!this.tabs[--ne]&&ne>0;);return ne>=this._cols?this._cols-1:ne<0?0:ne},re.prototype.nextStop=function(ne){for(ne==null&&(ne=this.x);!this.tabs[++ne]&&ne<this._cols;);return ne>=this._cols?this._cols-1:ne<0?0:ne},re.prototype.addMarker=function(ne){var te=this,a=new oe.Marker(ne);return this.markers.push(a),a.register(this.lines.onTrim(function(y){a.line-=y,a.line<0&&a.dispose()})),a.register(this.lines.onInsert(function(y){a.line>=y.index&&(a.line+=y.amount)})),a.register(this.lines.onDelete(function(y){a.line>=y.index&&a.line<y.index+y.amount&&a.dispose(),a.line>y.index&&(a.line-=y.amount)})),a.register(a.onDispose(function(){return te._removeMarker(a)})),a},re.prototype._removeMarker=function(ne){this.markers.splice(this.markers.indexOf(ne),1)},re.prototype.iterator=function(ne,te,a,y,x){return new ae(this,ne,te,a,y,x)},re}();Se.Buffer=se;var ae=function(){function re(ne,te,a,y,x,b){a===void 0&&(a=0),y===void 0&&(y=ne.lines.length),x===void 0&&(x=0),b===void 0&&(b=0),this._buffer=ne,this._trimRight=te,this._startIndex=a,this._endIndex=y,this._startOverscan=x,this._endOverscan=b,this._startIndex<0&&(this._startIndex=0),this._endIndex>this._buffer.lines.length&&(this._endIndex=this._buffer.lines.length),this._current=this._startIndex}return re.prototype.hasNext=function(){return this._current<this._endIndex},re.prototype.next=function(){var ne=this._buffer.getWrappedRangeForLine(this._current);ne.first<this._startIndex-this._startOverscan&&(ne.first=this._startIndex-this._startOverscan),ne.last>this._endIndex+this._endOverscan&&(ne.last=this._endIndex+this._endOverscan),ne.first=Math.max(ne.first,0),ne.last=Math.min(ne.last,this._buffer.lines.length);for(var te="",a=ne.first;a<=ne.last;++a)te+=this._buffer.translateBufferLineToString(a,this._trimRight);return this._current=ne.last+1,{range:ne,content:te}},re}();Se.BufferStringIterator=ae},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.CircularList=void 0;var je=ye(0),E=function(){function pe(he){this._maxLength=he,this.onDeleteEmitter=new je.EventEmitter,this.onInsertEmitter=new je.EventEmitter,this.onTrimEmitter=new je.EventEmitter,this._array=new Array(this._maxLength),this._startIndex=0,this._length=0}return Object.defineProperty(pe.prototype,"onDelete",{get:function(){return this.onDeleteEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onInsert",{get:function(){return this.onInsertEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"onTrim",{get:function(){return this.onTrimEmitter.event},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"maxLength",{get:function(){return this._maxLength},set:function(he){if(this._maxLength!==he){for(var ce=new Array(he),oe=0;oe<Math.min(he,this.length);oe++)ce[oe]=this._array[this._getCyclicIndex(oe)];this._array=ce,this._maxLength=he,this._startIndex=0}},enumerable:!1,configurable:!0}),Object.defineProperty(pe.prototype,"length",{get:function(){return this._length},set:function(he){if(he>this._length)for(var ce=this._length;ce<he;ce++)this._array[ce]=void 0;this._length=he},enumerable:!1,configurable:!0}),pe.prototype.get=function(he){return this._array[this._getCyclicIndex(he)]},pe.prototype.set=function(he,ce){this._array[this._getCyclicIndex(he)]=ce},pe.prototype.push=function(he){this._array[this._getCyclicIndex(this._length)]=he,this._length===this._maxLength?(this._startIndex=++this._startIndex%this._maxLength,this.onTrimEmitter.fire(1)):this._length++},pe.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(pe.prototype,"isFull",{get:function(){return this._length===this._maxLength},enumerable:!1,configurable:!0}),pe.prototype.pop=function(){return this._array[this._getCyclicIndex(this._length---1)]},pe.prototype.splice=function(he,ce){for(var oe=[],ie=2;ie<arguments.length;ie++)oe[ie-2]=arguments[ie];if(ce){for(var le=he;le<this._length-ce;le++)this._array[this._getCyclicIndex(le)]=this._array[this._getCyclicIndex(le+ce)];this._length-=ce}for(le=this._length-1;le>=he;le--)this._array[this._getCyclicIndex(le+oe.length)]=this._array[this._getCyclicIndex(le)];for(le=0;le<oe.length;le++)this._array[this._getCyclicIndex(he+le)]=oe[le];if(this._length+oe.length>this._maxLength){var se=this._length+oe.length-this._maxLength;this._startIndex+=se,this._length=this._maxLength,this.onTrimEmitter.fire(se)}else this._length+=oe.length},pe.prototype.trimStart=function(he){he>this._length&&(he=this._length),this._startIndex+=he,this._length-=he,this.onTrimEmitter.fire(he)},pe.prototype.shiftElements=function(he,ce,oe){if(!(ce<=0)){if(he<0||he>=this._length)throw new Error("start argument out of range");if(he+oe<0)throw new Error("Cannot shift elements in list beyond index 0");if(oe>0){for(var ie=ce-1;ie>=0;ie--)this.set(he+ie+oe,this.get(he+ie));var le=he+ce+oe-this._length;if(le>0)for(this._length+=le;this._length>this._maxLength;)this._length--,this._startIndex++,this.onTrimEmitter.fire(1)}else for(ie=0;ie<ce;ie++)this.set(he+ie+oe,this.get(he+ie))}},pe.prototype._getCyclicIndex=function(he){return(this._startIndex+he)%this._maxLength},pe}();Se.CircularList=E},function(ot,Se,ye){"use strict";function je(E,pe,he){if(pe===E.length-1)return E[pe].getTrimmedLength();var ce=!E[pe].hasContent(he-1)&&E[pe].getWidth(he-1)===1,oe=E[pe+1].getWidth(0)===2;return ce&&oe?he-1:he}Object.defineProperty(Se,"__esModule",{value:!0}),Se.getWrappedLineTrimmedLength=Se.reflowSmallerGetNewLineLengths=Se.reflowLargerApplyNewLayout=Se.reflowLargerCreateNewLayout=Se.reflowLargerGetLinesToRemove=void 0,Se.reflowLargerGetLinesToRemove=function(E,pe,he,ce,oe){for(var ie=[],le=0;le<E.length-1;le++){var se=le,ae=E.get(++se);if(ae.isWrapped){for(var re=[E.get(le)];se<E.length&&ae.isWrapped;)re.push(ae),ae=E.get(++se);if(ce>=le&&ce<se)le+=re.length-1;else{for(var ne=0,te=je(re,ne,pe),a=1,y=0;a<re.length;){var x=je(re,a,pe),b=x-y,ee=he-te,z=Math.min(b,ee);re[ne].copyCellsFrom(re[a],y,te,z,!1),(te+=z)===he&&(ne++,te=0),(y+=z)===x&&(a++,y=0),te===0&&ne!==0&&re[ne-1].getWidth(he-1)===2&&(re[ne].copyCellsFrom(re[ne-1],he-1,te++,1,!1),re[ne-1].setCell(he-1,oe))}re[ne].replaceCells(te,he,oe);for(var ue=0,de=re.length-1;de>0&&(de>ne||re[de].getTrimmedLength()===0);de--)ue++;ue>0&&(ie.push(le+re.length-ue),ie.push(ue)),le+=re.length-1}}}return ie},Se.reflowLargerCreateNewLayout=function(E,pe){for(var he=[],ce=0,oe=pe[ce],ie=0,le=0;le<E.length;le++)if(oe===le){var se=pe[++ce];E.onDeleteEmitter.fire({index:le-ie,amount:se}),le+=se-1,ie+=se,oe=pe[++ce]}else he.push(le);return{layout:he,countRemoved:ie}},Se.reflowLargerApplyNewLayout=function(E,pe){for(var he=[],ce=0;ce<pe.length;ce++)he.push(E.get(pe[ce]));for(ce=0;ce<he.length;ce++)E.set(ce,he[ce]);E.length=pe.length},Se.reflowSmallerGetNewLineLengths=function(E,pe,he){for(var ce=[],oe=E.map(function(te,a){return je(E,a,pe)}).reduce(function(te,a){return te+a}),ie=0,le=0,se=0;se<oe;){if(oe-se<he){ce.push(oe-se);break}ie+=he;var ae=je(E,le,pe);ie>ae&&(ie-=ae,le++);var re=E[le].getWidth(ie-1)===2;re&&ie--;var ne=re?he-1:he;ce.push(ne),se+=ne}return ce},Se.getWrappedLineTrimmedLength=je},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(ce,oe){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ie,le){ie.__proto__=le}||function(ie,le){for(var se in le)le.hasOwnProperty(se)&&(ie[se]=le[se])})(ce,oe)},function(ce,oe){function ie(){this.constructor=ce}je(ce,oe),ce.prototype=oe===null?Object.create(oe):(ie.prototype=oe.prototype,new ie)});Object.defineProperty(Se,"__esModule",{value:!0}),Se.Marker=void 0;var pe=ye(0),he=function(ce){function oe(ie){var le=ce.call(this)||this;return le.line=ie,le._id=oe._nextId++,le.isDisposed=!1,le._onDispose=new pe.EventEmitter,le}return E(oe,ce),Object.defineProperty(oe.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),Object.defineProperty(oe.prototype,"onDispose",{get:function(){return this._onDispose.event},enumerable:!1,configurable:!0}),oe.prototype.dispose=function(){this.isDisposed||(this.isDisposed=!0,this.line=-1,this._onDispose.fire())},oe._nextId=1,oe}(ye(2).Disposable);Se.Marker=he},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.OptionsService=Se.DEFAULT_OPTIONS=Se.DEFAULT_BELL_SOUND=void 0;var je=ye(0),E=ye(11),pe=ye(33);Se.DEFAULT_BELL_SOUND="data:audio/mp3;base64,SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjU4LjMyLjEwNAAAAAAAAAAAAAAA//tQxAADB8AhSmxhIIEVCSiJrDCQBTcu3UrAIwUdkRgQbFAZC1CQEwTJ9mjRvBA4UOLD8nKVOWfh+UlK3z/177OXrfOdKl7pyn3Xf//WreyTRUoAWgBgkOAGbZHBgG1OF6zM82DWbZaUmMBptgQhGjsyYqc9ae9XFz280948NMBWInljyzsNRFLPWdnZGWrddDsjK1unuSrVN9jJsK8KuQtQCtMBjCEtImISdNKJOopIpBFpNSMbIHCSRpRR5iakjTiyzLhchUUBwCgyKiweBv/7UsQbg8isVNoMPMjAAAA0gAAABEVFGmgqK////9bP/6XCykxBTUUzLjEwMKqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq",Se.DEFAULT_OPTIONS=Object.freeze({cols:80,rows:24,cursorBlink:!1,cursorStyle:"block",cursorWidth:1,bellSound:Se.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 he=["cols","rows"],ce=function(){function oe(ie){this._onOptionChange=new je.EventEmitter,this.options=pe.clone(Se.DEFAULT_OPTIONS);for(var le=0,se=Object.keys(ie);le<se.length;le++){var ae=se[le];if(ae in this.options){var re=ie[ae];this.options[ae]=re}}}return Object.defineProperty(oe.prototype,"onOptionChange",{get:function(){return this._onOptionChange.event},enumerable:!1,configurable:!0}),oe.prototype.setOption=function(ie,le){if(!(ie in Se.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');if(he.indexOf(ie)!==-1)throw new Error('Option "'+ie+'" can only be set in the constructor');this.options[ie]!==le&&(le=this._sanitizeAndValidateOption(ie,le),this.options[ie]!==le&&(this.options[ie]=le,this._onOptionChange.fire(ie)))},oe.prototype._sanitizeAndValidateOption=function(ie,le){switch(ie){case"bellStyle":case"cursorStyle":case"fontWeight":case"fontWeightBold":case"rendererType":case"wordSeparator":le||(le=Se.DEFAULT_OPTIONS[ie]);break;case"cursorWidth":le=Math.floor(le);case"lineHeight":case"tabStopWidth":if(le<1)throw new Error(ie+" cannot be less than 1, value: "+le);break;case"minimumContrastRatio":le=Math.max(1,Math.min(21,Math.round(10*le)/10));break;case"scrollback":if((le=Math.min(le,4294967295))<0)throw new Error(ie+" cannot be less than 0, value: "+le);break;case"fastScrollSensitivity":case"scrollSensitivity":if(le<=0)throw new Error(ie+" cannot be less than or equal to 0, value: "+le)}return le},oe.prototype.getOption=function(ie){if(!(ie in Se.DEFAULT_OPTIONS))throw new Error('No option with key "'+ie+'"');return this.options[ie]},oe}();Se.OptionsService=ce},function(ot,Se,ye){"use strict";var je,E=this&&this.__extends||(je=function(ne,te){return(je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,y){a.__proto__=y}||function(a,y){for(var x in y)y.hasOwnProperty(x)&&(a[x]=y[x])})(ne,te)},function(ne,te){function a(){this.constructor=ne}je(ne,te),ne.prototype=te===null?Object.create(te):(a.prototype=te.prototype,new a)}),pe=this&&this.__decorate||function(ne,te,a,y){var x,b=arguments.length,ee=b<3?te:y===null?y=Object.getOwnPropertyDescriptor(te,a):y;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")ee=Reflect.decorate(ne,te,a,y);else for(var z=ne.length-1;z>=0;z--)(x=ne[z])&&(ee=(b<3?x(ee):b>3?x(te,a,ee):x(te,a))||ee);return b>3&&ee&&Object.defineProperty(te,a,ee),ee},he=this&&this.__param||function(ne,te){return function(a,y){te(a,y,ne)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.CoreService=void 0;var ce=ye(1),oe=ye(0),ie=ye(33),le=ye(2),se=Object.freeze({insertMode:!1}),ae=Object.freeze({applicationCursorKeys:!1,applicationKeypad:!1,bracketedPasteMode:!1,origin:!1,reverseWraparound:!1,sendFocus:!1,wraparound:!0}),re=function(ne){function te(a,y,x,b){var ee=ne.call(this)||this;return ee._bufferService=y,ee._logService=x,ee._optionsService=b,ee.isCursorInitialized=!1,ee.isCursorHidden=!1,ee._onData=ee.register(new oe.EventEmitter),ee._onUserInput=ee.register(new oe.EventEmitter),ee._onBinary=ee.register(new oe.EventEmitter),ee._scrollToBottom=a,ee.register({dispose:function(){return ee._scrollToBottom=void 0}}),ee.modes=ie.clone(se),ee.decPrivateModes=ie.clone(ae),ee}return E(te,ne),Object.defineProperty(te.prototype,"onData",{get:function(){return this._onData.event},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"onUserInput",{get:function(){return this._onUserInput.event},enumerable:!1,configurable:!0}),Object.defineProperty(te.prototype,"onBinary",{get:function(){return this._onBinary.event},enumerable:!1,configurable:!0}),te.prototype.reset=function(){this.modes=ie.clone(se),this.decPrivateModes=ie.clone(ae)},te.prototype.triggerDataEvent=function(a,y){if(y===void 0&&(y=!1),!this._optionsService.options.disableStdin){var x=this._bufferService.buffer;x.ybase!==x.ydisp&&this._scrollToBottom(),y&&this._onUserInput.fire(),this._logService.debug('sending data "'+a+'"',function(){return a.split("").map(function(b){return b.charCodeAt(0)})}),this._onData.fire(a)}},te.prototype.triggerBinaryEvent=function(a){this._optionsService.options.disableStdin||(this._logService.debug('sending binary "'+a+'"',function(){return a.split("").map(function(y){return y.charCodeAt(0)})}),this._onBinary.fire(a))},te=pe([he(1,ce.IBufferService),he(2,ce.ILogService),he(3,ce.IOptionsService)],te)}(le.Disposable);Se.CoreService=re},function(ot,Se,ye){"use strict";var je=this&&this.__decorate||function(ae,re,ne,te){var a,y=arguments.length,x=y<3?re:te===null?te=Object.getOwnPropertyDescriptor(re,ne):te;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(ae,re,ne,te);else for(var b=ae.length-1;b>=0;b--)(a=ae[b])&&(x=(y<3?a(x):y>3?a(re,ne,x):a(re,ne))||x);return y>3&&x&&Object.defineProperty(re,ne,x),x},E=this&&this.__param||function(ae,re){return function(ne,te){re(ne,te,ae)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.CoreMouseService=void 0;var pe=ye(1),he=ye(0),ce={NONE:{events:0,restrict:function(){return!1}},X10:{events:1,restrict:function(ae){return ae.button!==4&&ae.action===1&&(ae.ctrl=!1,ae.alt=!1,ae.shift=!1,!0)}},VT200:{events:19,restrict:function(ae){return ae.action!==32}},DRAG:{events:23,restrict:function(ae){return ae.action!==32||ae.button!==3}},ANY:{events:31,restrict:function(ae){return!0}}};function oe(ae,re){var ne=(ae.ctrl?16:0)|(ae.shift?4:0)|(ae.alt?8:0);return ae.button===4?(ne|=64,ne|=ae.action):(ne|=3&ae.button,4&ae.button&&(ne|=64),8&ae.button&&(ne|=128),ae.action===32?ne|=32:ae.action!==0||re||(ne|=3)),ne}var ie=String.fromCharCode,le={DEFAULT:function(ae){var re=[oe(ae,!1)+32,ae.col+32,ae.row+32];return re[0]>255||re[1]>255||re[2]>255?"":"\x1B[M"+ie(re[0])+ie(re[1])+ie(re[2])},SGR:function(ae){var re=ae.action===0&&ae.button!==4?"m":"M";return"\x1B[<"+oe(ae,!0)+";"+ae.col+";"+ae.row+re}},se=function(){function ae(re,ne){this._bufferService=re,this._coreService=ne,this._protocols={},this._encodings={},this._activeProtocol="",this._activeEncoding="",this._onProtocolChange=new he.EventEmitter,this._lastEvent=null;for(var te=0,a=Object.keys(ce);te<a.length;te++){var y=a[te];this.addProtocol(y,ce[y])}for(var x=0,b=Object.keys(le);x<b.length;x++){var ee=b[x];this.addEncoding(ee,le[ee])}this.reset()}return ae.prototype.addProtocol=function(re,ne){this._protocols[re]=ne},ae.prototype.addEncoding=function(re,ne){this._encodings[re]=ne},Object.defineProperty(ae.prototype,"activeProtocol",{get:function(){return this._activeProtocol},set:function(re){if(!this._protocols[re])throw new Error('unknown protocol "'+re+'"');this._activeProtocol=re,this._onProtocolChange.fire(this._protocols[re].events)},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"areMouseEventsActive",{get:function(){return this._protocols[this._activeProtocol].events!==0},enumerable:!1,configurable:!0}),Object.defineProperty(ae.prototype,"activeEncoding",{get:function(){return this._activeEncoding},set:function(re){if(!this._encodings[re])throw new Error('unknown encoding "'+re+'"');this._activeEncoding=re},enumerable:!1,configurable:!0}),ae.prototype.reset=function(){this.activeProtocol="NONE",this.activeEncoding="DEFAULT",this._lastEvent=null},Object.defineProperty(ae.prototype,"onProtocolChange",{get:function(){return this._onProtocolChange.event},enumerable:!1,configurable:!0}),ae.prototype.triggerMouseEvent=function(re){if(re.col<0||re.col>=this._bufferService.cols||re.row<0||re.row>=this._bufferService.rows||re.button===4&&re.action===32||re.button===3&&re.action!==32||re.button!==4&&(re.action===2||re.action===3)||(re.col++,re.row++,re.action===32&&this._lastEvent&&this._compareEvents(this._lastEvent,re))||!this._protocols[this._activeProtocol].restrict(re))return!1;var ne=this._encodings[this._activeEncoding](re);return ne&&(this._activeEncoding==="DEFAULT"?this._coreService.triggerBinaryEvent(ne):this._coreService.triggerDataEvent(ne,!0)),this._lastEvent=re,!0},ae.prototype.explainEvents=function(re){return{down:!!(1&re),up:!!(2&re),drag:!!(4&re),move:!!(8&re),wheel:!!(16&re)}},ae.prototype._compareEvents=function(re,ne){return re.col===ne.col&&re.row===ne.row&&re.button===ne.button&&re.action===ne.action&&re.ctrl===ne.ctrl&&re.alt===ne.alt&&re.shift===ne.shift},ae=je([E(0,pe.IBufferService),E(1,pe.ICoreService)],ae)}();Se.CoreMouseService=se},function(ot,Se,ye){"use strict";var je=this&&this.__decorate||function(ce,oe,ie,le){var se,ae=arguments.length,re=ae<3?oe:le===null?le=Object.getOwnPropertyDescriptor(oe,ie):le;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")re=Reflect.decorate(ce,oe,ie,le);else for(var ne=ce.length-1;ne>=0;ne--)(se=ce[ne])&&(re=(ae<3?se(re):ae>3?se(oe,ie,re):se(oe,ie))||re);return ae>3&&re&&Object.defineProperty(oe,ie,re),re},E=this&&this.__param||function(ce,oe){return function(ie,le){oe(ie,le,ce)}};Object.defineProperty(Se,"__esModule",{value:!0}),Se.DirtyRowService=void 0;var pe=ye(1),he=function(){function ce(oe){this._bufferService=oe,this.clearRange()}return Object.defineProperty(ce.prototype,"start",{get:function(){return this._start},enumerable:!1,configurable:!0}),Object.defineProperty(ce.prototype,"end",{get:function(){return this._end},enumerable:!1,configurable:!0}),ce.prototype.clearRange=function(){this._start=this._bufferService.buffer.y,this._end=this._bufferService.buffer.y},ce.prototype.markDirty=function(oe){oe<this._start?this._start=oe:oe>this._end&&(this._end=oe)},ce.prototype.markRangeDirty=function(oe,ie){if(oe>ie){var le=oe;oe=ie,ie=le}oe<this._start&&(this._start=oe),ie>this._end&&(this._end=ie)},ce.prototype.markAllDirty=function(){this.markRangeDirty(0,this._bufferService.rows-1)},ce=je([E(0,pe.IBufferService)],ce)}();Se.DirtyRowService=he},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.UnicodeService=void 0;var je=ye(0),E=ye(79),pe=function(){function he(){this._providers=Object.create(null),this._active="",this._onChange=new je.EventEmitter;var ce=new E.UnicodeV6;this.register(ce),this._active=ce.version,this._activeProvider=ce}return Object.defineProperty(he.prototype,"onChange",{get:function(){return this._onChange.event},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"versions",{get:function(){return Object.keys(this._providers)},enumerable:!1,configurable:!0}),Object.defineProperty(he.prototype,"activeVersion",{get:function(){return this._active},set:function(ce){if(!this._providers[ce])throw new Error('unknown Unicode version "'+ce+'"');this._active=ce,this._activeProvider=this._providers[ce],this._onChange.fire(ce)},enumerable:!1,configurable:!0}),he.prototype.register=function(ce){this._providers[ce.version]=ce},he.prototype.wcwidth=function(ce){return this._activeProvider.wcwidth(ce)},he.prototype.getStringCellWidth=function(ce){for(var oe=0,ie=ce.length,le=0;le<ie;++le){var se=ce.charCodeAt(le);if(55296<=se&&se<=56319){if(++le>=ie)return oe+this.wcwidth(se);var ae=ce.charCodeAt(le);56320<=ae&&ae<=57343?se=1024*(se-55296)+ae-56320+65536:oe+=this.wcwidth(ae)}oe+=this.wcwidth(se)}return oe},he}();Se.UnicodeService=pe},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.UnicodeV6=void 0;var je,E=ye(15),pe=[[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]],he=[[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]],ce=function(){function oe(){if(this.version="6",!je){je=new Uint8Array(65536),E.fill(je,1),je[0]=0,E.fill(je,0,1,32),E.fill(je,0,127,160),E.fill(je,2,4352,4448),je[9001]=2,je[9002]=2,E.fill(je,2,11904,42192),je[12351]=1,E.fill(je,2,44032,55204),E.fill(je,2,63744,64256),E.fill(je,2,65040,65050),E.fill(je,2,65072,65136),E.fill(je,2,65280,65377),E.fill(je,2,65504,65511);for(var ie=0;ie<pe.length;++ie)E.fill(je,0,pe[ie][0],pe[ie][1]+1)}}return oe.prototype.wcwidth=function(ie){return ie<32?0:ie<127?1:ie<65536?je[ie]:function(le,se){var ae,re=0,ne=se.length-1;if(le<se[0][0]||le>se[ne][1])return!1;for(;ne>=re;)if(le>se[ae=re+ne>>1][1])re=ae+1;else{if(!(le<se[ae][0]))return!0;ne=ae-1}return!1}(ie,he)?0:ie>=131072&&ie<=196605||ie>=196608&&ie<=262141?2:1},oe}();Se.UnicodeV6=ce},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.CharsetService=void 0;var je=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(pe){this.glevel=pe,this.charset=this._charsets[pe]},E.prototype.setgCharset=function(pe,he){this._charsets[pe]=he,this.glevel===pe&&(this.charset=he)},E}();Se.CharsetService=je},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.updateWindowsModeWrappedState=void 0;var je=ye(3);Se.updateWindowsModeWrappedState=function(E){var pe=E.buffer.lines.get(E.buffer.ybase+E.buffer.y-1),he=pe==null?void 0:pe.get(E.cols-1),ce=E.buffer.lines.get(E.buffer.ybase+E.buffer.y);ce&&he&&(ce.isWrapped=he[je.CHAR_DATA_CODE_INDEX]!==je.NULL_CELL_CODE&&he[je.CHAR_DATA_CODE_INDEX]!==je.WHITESPACE_CELL_CODE)}},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.WriteBuffer=void 0;var je=function(){function E(pe){this._action=pe,this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0}return E.prototype.writeSync=function(pe){if(this._writeBuffer.length){for(var he=this._bufferOffset;he<this._writeBuffer.length;++he){var ce=this._writeBuffer[he],oe=this._callbacks[he];this._action(ce),oe&&oe()}this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=2147483647}this._action(pe)},E.prototype.write=function(pe,he){var ce=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 ce._innerWrite()})),this._pendingData+=pe.length,this._writeBuffer.push(pe),this._callbacks.push(he)},E.prototype._innerWrite=function(){for(var pe=this,he=Date.now();this._writeBuffer.length>this._bufferOffset;){var ce=this._writeBuffer[this._bufferOffset],oe=this._callbacks[this._bufferOffset];if(this._bufferOffset++,this._action(ce),this._pendingData-=ce.length,oe&&oe(),Date.now()-he>=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 pe._innerWrite()},0)):(this._writeBuffer=[],this._callbacks=[],this._pendingData=0,this._bufferOffset=0)},E}();Se.WriteBuffer=je},function(ot,Se,ye){"use strict";Object.defineProperty(Se,"__esModule",{value:!0}),Se.AddonManager=void 0;var je=function(){function E(){this._addons=[]}return E.prototype.dispose=function(){for(var pe=this._addons.length-1;pe>=0;pe--)this._addons[pe].instance.dispose()},E.prototype.loadAddon=function(pe,he){var ce=this,oe={instance:he,dispose:he.dispose,isDisposed:!1};this._addons.push(oe),he.dispose=function(){return ce._wrappedAddonDispose(oe)},he.activate(pe)},E.prototype._wrappedAddonDispose=function(pe){if(!pe.isDisposed){for(var he=-1,ce=0;ce<this._addons.length;ce++)if(this._addons[ce]===pe){he=ce;break}if(he===-1)throw new Error("Could not dispose an addon that has not been loaded");pe.isDisposed=!0,pe.dispose.apply(pe.instance),this._addons.splice(he,1)}},E}();Se.AddonManager=je}])})},90034:function(ct,ot,Se){var ye={"./doc.png":63604,"./docx.png":30045,"./jpg.png":13740,"./md.png":58881,"./pdf.png":28982,"./png.png":2487,"./txt.png":3164};function je(pe){var he=E(pe);return Se(he)}function E(pe){if(!Se.o(ye,pe)){var he=new Error("Cannot find module '"+pe+"'");throw he.code="MODULE_NOT_FOUND",he}return ye[pe]}je.keys=function(){return Object.keys(ye)},je.resolve=E,ct.exports=je,je.id=90034},93314:function(ct){"use strict";ct.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glRO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lsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="},62522:function(ct){"use strict";ct.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/ibnfRnk2lzy3WGBsmDXhTSkxFAxSAksB9jFneIFZztMVw25Zt7k08Jcpx7p9d6lAPD5BMHkKY/K33V9e8MSXSe+berf+zYmdEZO3VpZUnf6/5od35tTloyTkO15bz5t8bP89CrV7/bsTvg+B+2yOoWUjJq36pvomms/4aStugxTne6A4td/RfU+4ijHxbZVnc8l3SwbGP0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ZCzBVZugf7Dmi78Noh7AmwN8EMpvNIG3+2C613zAJLugWc+CJxeSQfRj0NFBNz/PKyrguF2n86cCSerof0TKDoDJ16CoR4/gEM9hQgzwQu1YLAEQqIfheOFcLkZin6BCAuM90FYAogIqM0CNZCiTti/CBRjJiU3zk/v5D+BlEnXJdmQtx1M0f4QtRQT4VCXA3oj5L4HKY9A/69wsgJu9EB+FViS4NhGCEtKofivaxqgTHccITbMOMoKWBL9T1NJgrwK0JvgxMswctUXQJgZ1FVnSoAXm8FWM8DqypkbSxL7TOvwjn81397y65P18FgpZL0OvS1g/wPM6u2XD9fPQeN6DbKpZYLIlB1ArZaBemXuCy9HeKYOoiAoYxwsXaWZjw1oyzP3fYixqhAvEYk3ebNbRpLvAIZ8fxXl5tUI16vgXYYgXj10g2YF6t1rR1a62H7ZiWMwl47qUdYfipwBhGASkkQIIQG7gTygTpKkY+qH/wGGGXQpCiRkDAAAAABJRU5ErkJggg=="},58427:function(ct){"use strict";ct.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAYCAYAAAD+vg1LAAAAAXNSR0IArs4c6QAAA1FJREFUSEuVlcuPFFUYxX9fz0PCIA/ZuGBp4kITY4yaNI8RHeYhEkGCGkWj4isxcU0iJj7YGJf+BSx0YwadzOgMBCU6SAk6oiJsTCTGSVwAIegEpaG+o1V1b/ftpsdgbW53btW55zvf+c61l0/pfcFWHBMgh2J1VauKVdX/4vFiv9xo3w/v5BJvja+zd+2lU7ospz9+GIHStTwkAMdDIrhHMuEgxNHx9bbWXvxJDTl9TUYRJGEaKykZJ/vxd6ysrMLI9q+zur1wUg2Jvma5oew25okk3SpKJQOyjzZY3Z7/UQ0PwKWEzq+okrSpb/hdMCo1LqgH5hIDLm5uHgjZxKDVbdcParhXjGV8vO9O21a16fqeLZNa2ruSC0WfQh+yifusbs9+35IinHq+lDJKEpkHptdIAUvk3JgyntxYAJ8IjDt1TAC7Oibslw0srNH6Ppt6wOr2zHctjf+rMZXoiSuCQ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1jTQ9rvgAaSV4viJrJrAbSqZd38QtkRC8O60LULM5oIENSxjuQl2RQtyFndUjULAY0kFEp4xkI6FZkVPS8jC5ErjujcQyJB/9Azur+2LJkRaRDFyI35eWCJKU/cURyuraGbyCgkaQ1khEd7taFyC2FOAY1jqz4MAYCGkmnRjKsw6O6ELnipLTKsMaR07GvioEUaSgpDWVQh1igTxeiuBjTJafLqIYxomFkJYCELtZMTc30SyJxTodEduTzA93dXaNiCQOheGMgRAYMhMiAgRAZMBAiAwZCZMBAiAwYCJEBAyEyYCBEBgyEyICBEBkwECIDBkJkwECIDBgIkQEDITJgIEQGDITI338nLg98p7dnVCyxGsi/zmf6H963h4GQNbEPZG/qvj+2JZP36SpRqK5fXxi/8uHHx2MdyLZtW5/ddW93vxCF7P0PPhpbmP/sRKwDWZXEyMMPfEVaWlr4EaYUmsWlpSuXsle3tUh+MO6BnNvUlnx97+5d39YvEYXiUvbKW4tLy9/SQOJ9DIJAdCjd93S93r2jg5FQ3bJXdddq4UafDsWZQKC9fdNYate9fTokqsl7k1dfv7G4dPuJ1qlAbknIle4dnVldbt9JIpPV1dXZa7m5/0x9kktJXu7TL93mXiB3zG7YsOHyxo3J2daWDXldJ7rL4uJi69LK6taVlZW0rnpq3ZDveeKbPeM6tMJqIG/8O5NeXklkdEhkRV9v2uoctnrlMHZ+nFsHsiIv+cn+3p6UWGQ/kDczI5JIHNYhUcjyZ/p6e4bEIuuB/POtzGB+NXFWh0Shsn2ADtYDgbHzmVH9UX1CFBr7Ww9oSCDnz2dSN0XGE5Lo0FWiuuixx4WOTdLf09OT01WrGhII4IzW0oqMMhKqB+JIbpAhm6d2SzUsEMhkMp1zN/B/zE0c1VWiKuXPbN8kxxqx5ShqaCBF2JosL8uQ/vS08NiEfOjWYlYn6LgOR9tETvf29mSlwf4P8IbCQbr23ycAAAAASUVORK5CYII="},58881:function(ct){"use strict";ct.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAA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5sb1pYaEKDb2Vw9IJJCDB3P950QmMpLp0UOiuuh7jxd7VsrwwMBAXg+tSiQQwBmtxYKMMxKqB+LobJdRm6d2yyUWCORyud75s7JbX3anHhJVydu7bqV8L4mVoyTRQEqwmiwtyai+elb43oQi6GoxpxN0QofjXSJ7BgcHJiVh/wemziNQhWOwlgAAAABJRU5ErkJggg=="},60141:function(ct){"use strict";ct.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/nIQv3orfnOV/i3BvnGOv/+/frKR/////3nqv3uw/vYd/3y1frUa/713v3ruPvZevrXd/e2BvnEM//+/P7z1v///f3rufnDMPnHQPe2A/i/JPr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