(self.webpackChunk=self.webpackChunk||[]).push([[6270],{87169:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return oe}});var be=Se(96663),Be=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"},me=E,de=Se(7657),le=function(ue,ie){return Be.createElement(de.Z,(0,be.Z)({},ue,{ref:ie,icon:me}))},ae=Be.forwardRef(le),oe=ae},88010:function(dt,st){"use strict";st.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},61293:function(dt,st){"use strict";st.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"}},38476:function(){"use strict"},39775:function(dt,st,Se){"use strict";var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ue,ie)=>ue in se?Be(se,ue,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ue]=ie,ae=(se,ue)=>{for(var ie in ue||(ue={}))me.call(ue,ie)&&le(se,ie,ue[ie]);if(E)for(var ie of E(ue))de.call(ue,ie)&&le(se,ie,ue[ie]);return se};const oe=se=>React.createElement("svg",ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),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"})));st.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(dt,st,Se){"use strict";var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(se,ue,ie)=>ue in se?Be(se,ue,{enumerable:!0,configurable:!0,writable:!0,value:ie}):se[ue]=ie,ae=(se,ue)=>{for(var ie in ue||(ue={}))me.call(ue,ie)&&le(se,ie,ue[ie]);if(E)for(var ie of E(ue))de.call(ue,ie)&&le(se,ie,ue[ie]);return se};const oe=se=>React.createElement("svg",ae({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},se),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"})));st.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413:function(){"use strict";function dt(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(dt.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(dt.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(dt.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(dt.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 dt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.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 st=[];function Se(te,a){var y=st.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function be(){var te=st.pop();return te===void 0?new go.Point:te}function Be(te){st.push(te)}function E(te,a,y,x,b,ee,z,ce,fe){fe||(fe=new go.Point);var ge=te-y,pe=b-z,he=NaN,ye=NaN;if(ge===0)if(pe===0)te===y&&(he=te,ye=a);else{var ve=(ee-ce)/pe,Pe=ee-ve*b;he=te,ye=ve*he+Pe}else if(pe===0){var we=(a-x)/ge,xe=a-we*te;he=b,ye=we*he+xe}else{var we=(a-x)/ge,ve=(ee-ce)/pe,xe=a-we*te,Pe=ee-ve*b;he=(Pe-xe)/(we-ve),ye=we*he+xe}return fe.x=he,fe.y=ye,fe}function me(te,a,y,x,b,ee,z,ce,fe,ge,pe,he,ye,ve){var Pe=1-fe,we=fe,xe=te*Pe+y*we,Ce=a*Pe+x*we,_e=y*Pe+b*we,Ee=x*Pe+ee*we,De=b*Pe+z*we,Oe=ee*Pe+ce*we,Ue=xe*Pe+_e*we,Te=Ce*Pe+Ee*we,Je=_e*Pe+De*we,Ze=Ee*Pe+Oe*we,Ye=Ue*Pe+Je*we,Qe=Te*Pe+Ze*we;ge.x=xe,ge.y=Ce,pe.x=Ue,pe.y=Te,he.x=Ye,he.y=Qe,ye.x=Je,ye.y=Ze,ve.x=De,ve.y=Oe}var de=new go.Spot(.156,.156),le=new go.Spot(.844,.844),ae=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new dt("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*ae,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=de,b.spot2=le,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,ae*a,0,a,(1-ae)*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,ae*y,(1-ae)*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,ae*y,ae*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-ae)*a,0,0,(1-ae)*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 dt("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())),ba&&(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.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())),ba&&(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())),ba&&(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())),b0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),ee.spot1=de,ee.spot2=le,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 dt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new dt("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,ce=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ce,ce).add(new go.PathSegment(go.PathSegment.Arc,ee,z,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=ae/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 dt("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 dt("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 dt("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,ce=Math.atan2(y,a),fe=x-Math.min(Math.cos(ce)*x/2,ee),ge=x-Math.min(Math.sin(ce)*x/2,z),b=new go.Geometry,pe=new go.PathFigure(fe,0,!0);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),pe.add(new go.PathSegment(go.PathSegment.Line,a-fe,0)),pe.add(new go.PathSegment(go.PathSegment.Line,a,ge)),pe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),pe.add(new go.PathSegment(go.PathSegment.Line,a-fe,y)),pe.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),pe.add(new go.PathSegment(go.PathSegment.Line,fe,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new dt("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 dt("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 dt("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,ae*a,0,a,(.5-ae/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+ae/2)*y,ae*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,ce=0,fe=ee*ae;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ce)*y,(.5-ee+z)*a,(.5+fe+ce)*y,(.5-fe+z)*a,(.5+ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ce)*y,(.5+fe+z)*a,(.5+ee+ce)*y,(.5+ee+z)*a,(.5+fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ce)*y,(1-.5+ee+z)*a,(.5-fe+ce)*y,(.5+fe+z)*a,(.5-ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-fe+z)*a,(.5-ee+ce)*y,(.5-ee+z+.05)*a,(.5-fe+ce-.02)*y)),ee=.2,z=0,ce=-.3,fe=ee*ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+ce)*y,(.5+fe+z)*a,(.5+ee+ce)*y,(.5+ee+z)*a,(.5+fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ce)*y,(1-.5+ee+z)*a,(.5-fe+ce)*y,(.5+fe+z)*a,(.5-ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ce)*y,(.5-fe+z)*a,(.5-ee+ce)*y,(.5-ee+z)*a,(.5-fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+z)*a,(.5+ee+ce)*y,(.5-ee+z)*a,(.5+fe+ce)*y,(.5-fe+z)*a,(.5+ee+ce)*y)),ee=.2,z=-.3,ce=0,fe=ee*ae,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+ce)*y,(1-.5+ee+z-.05)*a,(.5-fe+ce-.02)*y,(.5+fe+z)*a,(.5-ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+ce)*y,(.5-fe+z)*a,(.5-ee+ce)*y,(.5-ee+z)*a,(.5-fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+ce)*y,(.5-ee+z)*a,(.5+fe+ce)*y,(.5-fe+z)*a,(.5+ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+fe+z)*a,(.5+ee+ce)*y,(.5+ee+z)*a,(.5+fe+ce)*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,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+ee)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*ce,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)),ce=.75,b=new go.PathFigure((z+ee)*a,ce*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*ce,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=ae*.5,ee=.5,z=.5,ce=.5,fe=new go.PathFigure(z*a,(ce-ee)*y);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ce*y,(z-b)*a,(ce-ee)*y,(z-ee)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+ee)*y,(z-ee)*a,(ce+b)*y,(z-b)*a,(ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ce*y,(z+b)*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce-ee)*y,(z+ee)*a,(ce-b)*y,(z+b)*a,(ce-ee)*y)),ee=.4,b=ae*.4;var ge=be(),pe=be(),he=be(),ye=be();me(z,ce-ee,z+b,ce-ee,z+ee,ce-b,z+ee,ce,.42,ge,pe,he,ye,ye);var ve=be(),Pe=be(),we=be();me(z,ce-ee,z+b,ce-ee,z+ee,ce-b,z+ee,ce,.58,ye,ye,we,ve,Pe);var xe=be(),Ce=be(),_e=be();me(z,ce+ee,z-b,ce+ee,z-ee,ce+b,z-ee,ce,.42,xe,Ce,_e,ye,ye);var Ee=be(),De=be(),Oe=be();return me(z,ce+ee,z-b,ce+ee,z-ee,ce+b,z-ee,ce,.58,ye,ye,Oe,Ee,De),fe.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ce*y,Ee.x*a,Ee.y*y,De.x*a,De.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce-ee)*y,(z-ee)*a,(ce-b)*y,(z-b)*a,(ce-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ge.x*a,ge.y*y,pe.x*a,pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Oe.x*a,Oe.y*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,_e.x*a,_e.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,we.x*a,we.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ce*y,ve.x*a,ve.y*y,Pe.x*a,Pe.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y,(z+b)*a,(ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*a,_e.y*y,xe.x*a,xe.y*y,Ce.x*a,Ce.y*y).close()),Be(ge),Be(pe),Be(he),Be(ye),Be(ve),Be(Pe),Be(we),Be(xe),Be(Ce),Be(_e),Be(Ee),Be(De),Be(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 dt("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=ae*.4,ee=.4,z=.5,ce=.5,fe=be(),ge=be(),pe=be(),he=be(),ye=new go.PathFigure((z-ee)*a,ce*y,!1);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce-ee)*y,(z-ee)*a,(ce-b)*y,(z-b)*a,(ce-ee)*y)),me(z,ce-ee,z+b,ce-ee,z+ee,ce-b,z+ee,ce,.44,pe,he,ge,fe,fe),ye.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,he.x*a,he.y*y));var ve=Se(ge.x,ge.y);me(z,ce-ee,z+b,ce-ee,z+ee,ce-b,z+ee,ce,.56,fe,fe,ge,pe,he);var Pe=Se(ge.x,ge.y);ye.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,0)),ye.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ce*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y,(z+b)*a,(ce+ee)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ce*y,(z-b)*a,(ce+ee)*y,(z-ee)*a,(ce+b)*y)),ee=.35,b=ae*.35;var we=new go.PathFigure(z*a,(ce-ee)*y,!1);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ce*y,(z-b)*a,(ce-ee)*y,(z-ee)*a,(ce-b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+ee)*y,(z-ee)*a,(ce+b)*y,(z-b)*a,(ce+ee)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ce*y,(z+b)*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y)),we.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce-ee)*y,(z+ee)*a,(ce-b)*y,(z+b)*a,(ce-ee)*y));var xe=new go.PathFigure((z-ee)*a,ce*y,!1);return x.add(xe),Be(fe),Be(ge),Be(pe),Be(he),Be(ve),Be(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,ce=b*ae,fe=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ce+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ce+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ce+z)*y,(.5+ce+ee)*a,(.5-b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ce+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ce+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ce+z)*y,(.5-ce+ee)*a,(.5+b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,z=-.125,ce=b*ae;var fe=new go.PathFigure((1-.5+b+ee)*a,(.5+z)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+ce+z)*y,(.5+ce+ee)*a,(.5+b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ce+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+ce+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ce+z)*y,(.5-ce+ee)*a,(.5-b+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+ce+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-ce+z)*y));var fe=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);return x.add(fe),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 dt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new dt("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,ce=(.5+b/2)*y,fe=new go.Geometry,ge=new go.PathFigure(0,z,!0);fe.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,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),fe.spot1=new go.Spot(0,z/y);var pe=E(0,ce/y,1,ce/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(pe.x,pe.y),Be(pe),fe}),go.Shape.setFigureParameter("Arrow2",0,new dt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new dt("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,ce=z+b,fe=new go.Geometry,ge=new go.PathFigure(0,z,!0);fe.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,ce)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),fe.spot1=new go.Spot(0,z/y);var pe=E(0,ce/y,1,ce/y,ee/a,1,1,.5,be());return fe.spot2=new go.Spot(pe.x,pe.y),Be(pe),fe}),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 dt("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,ce=new go.PathFigure(a,.5*y,!0);z.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var fe=E(0,.5,.3,0,0,b/y,.1,b/y,be());return z.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,1,1,.5,0,ee/y,1,ee/y,fe),z.spot2=new go.Spot(fe.x,fe.y),Be(fe),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new dt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new dt("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,ce=(y-b)/2,fe=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ce=0,fe=y):(ee=0,z=y,ce=0,fe=y));var ge=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);ge.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),pe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var he=E(0,.5,.3,ce/y,0,ee/y,1,ee/y,be());return ge.spot1=new go.Spot(he.x,he.y),he=E(.7,fe/y,1,.5,0,z/y,1,z/y,he),ge.spot2=new go.Spot(he.x,he.y),Be(he),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new dt("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,ce=new go.PathFigure(a,.5*y,!0);z.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new dt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new dt("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,ce=(y-b)/2,fe=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,ce=0,fe=y):(ee=0,z=y,ce=0,fe=y));var ge=new go.Geometry,pe=new go.PathFigure(a,.5*y,!0);ge.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,fe)),pe.add(new go.PathSegment(go.PathSegment.Line,0,ce)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),pe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),pe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),ge.spot1=new go.Spot(0,ee/y);var he=E(.7,fe/y,1,.5,0,z/y,1,z/y,be());return ge.spot2=new go.Spot(he.x,he.y),Be(he),ge}),go.Shape.setFigureParameter("Pointer",0,new dt("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,be());return b.spot2=new go.Spot(z.x,z.y),Be(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new dt("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,be());return b.spot2=new go.Spot(z.x,z.y),Be(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new dt("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,ce=new go.PathFigure(a,.5*y,!0);z.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new dt("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,ce=new go.PathFigure(a,.5*y,!0);z.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var fe=E(.7,1,1,.5,0,ee/y,1,ee/y,be());return z.spot2=new go.Spot(fe.x,fe.y),Be(fe),z}),go.Shape.setFigureParameter("SquareArrow",0,new dt("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=ae*.5,ee=ae*.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=ae*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ae*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,ae*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-ae*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-ae*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var ce=new go.PathFigure(a,x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-ae*x,(.5+ee)*a,2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-ae*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=ae*.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,ae*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,ae*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-ae*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-ae*x));var ce=new go.PathFigure(0,y-x,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-ae*x,(.5-ee)*a,y-2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-ae*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=ae*.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-ae*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ae*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ae*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ae*x,0));var ce=new go.PathFigure(x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+ae*x,0,2*x,(.5-ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+ae*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=ae*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-ae*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-ae*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,ae*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,ae*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var ce=new go.PathFigure(a-x,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-ae*x,0,a-2*x,(.5-ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-ae*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=ae*b,ce=ae*ee,fe=.5,ge=.1,pe=new go.PathFigure(fe*a,(ge+ee)*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*a,ge*y,(fe-z)*a,(ge+ee)*y,(fe-b)*a,(ge+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ee)*y,(fe-b)*a,(ge-ce)*y,(fe-z)*a,(ge-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*a,ge*y,(fe+z)*a,(ge-ee)*y,(fe+b)*a,(ge-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ee)*y,(fe+b)*a,(ge+ce)*y,(fe+z)*a,(ge+ee)*y));var he=.05,ye=ae*he;fe=.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)),fe=.95,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+he)*a,ge*y,(fe+ye)*a,(ge-he)*y,(fe+he)*a,(ge-ye)*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)),he=.025,ye=ae*he,fe=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.05,ye=ae*he,fe=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.025,ye=ae*he,fe=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe+he)*a,(ge-ye)*y,(fe+ye)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-he)*a,ge*y,(fe-ye)*a,(ge-he)*y,(fe-he)*a,(ge-ye)*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)),he=.05,ye=ae*he,fe=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-he)*y,(fe-he)*a,(ge-ye)*y,(fe-ye)*a,(ge-he)*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 dt("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=ae*.5,ee=ae*.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 ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),ce.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=ae*.5,ee=ae*.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 ce=new go.PathFigure(a,.1*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ce.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=ae*.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 ce=new go.PathFigure(0,b*y,!1);return x.add(ce),ce.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 ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),ce.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=ae*.5,ce=.5,fe=new go.PathFigure(a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+z)*y,(ce+z)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-z)*a,y,0,(ce+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-z)*y,(ce-z)*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+z)*a,0,a,(ce-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=ae*.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 ce=new go.PathFigure(.5*b*a,b*y,!1);return x.add(ce),ce.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=ae*.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 ce=new go.PathFigure(a,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ce.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=ae*.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=ae*.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 ce=new go.PathFigure(a,ee*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var fe=new go.PathFigure(.8*a,.75*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),fe.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=ae*.1,ee=.1,z=.9,ce=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),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,.8*a,.5*y));var ge=new go.PathFigure((z+ee)*a,ce*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y,(z+b)*a,(ce+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ce*y,(z-b)*a,(ce+ee)*y,(z-ee)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce-ee)*y,(z-ee)*a,(ce-b)*y,(z-b)*a,(ce-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ce*y,(z+b)*a,(ce-ee)*y,(z+ee)*a,(ce-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=ae*.5,ee=ae*.4,z=ae*.1,ce=.1,fe=.9,ge=.5,pe=new go.PathFigure(.8*a,.5*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,y)),pe.add(new go.PathSegment(go.PathSegment.Line,0,0)),pe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),pe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var he=new go.PathFigure((fe+ce)*a,ge*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+ce)*y,(fe+ce)*a,(ge+z)*y,(fe+z)*a,(ge+ce)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a,ge*y,(fe-z)*a,(ge+ce)*y,(fe-ce)*a,(ge+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-ce)*y,(fe-ce)*a,(ge-z)*y,(fe-z)*a,(ge-ce)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a,ge*y,(fe+z)*a,(ge-ce)*y,(fe+ce)*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=ae*b,z=0,ce=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(ce-b)*y,.7*a,(ce-ee)*y)),b=.1,ee=ae*.1,z=.9,ce=.5;var ge=new go.PathFigure((z-b)*a,ce*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce-b)*y,(z-b)*a,(ce-ee)*y,(z-ee)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ce*y,(z+ee)*a,(ce-b)*y,(z+b)*a,(ce-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+b)*y,(z+b)*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ce*y,(z-ee)*a,(ce+b)*y,(z-b)*a,(ce+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=ae*b,z=0,ce=.5,fe=new go.PathFigure(0,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee+ee)*a,(ce-b)*y,.8*a,(ce-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+ee)*y,(z+ee+ee)*a,(ce+b)*y)),fe.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=ae*b,z=.2,ce=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.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,(ce+ee)*y,(z+ee)*a,(ce+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,(ce-b)*y,.7*a,(ce-ee)*y)),b=.1,ee=ae*.1,z=.9,ce=.5;var pe=new go.PathFigure((z-b)*a,ce*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce-b)*y,(z-b)*a,(ce-ee)*y,(z-ee)*a,(ce-b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ce*y,(z+ee)*a,(ce-b)*y,(z+b)*a,(ce-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+b)*y,(z+b)*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ce*y,(z-ee)*a,(ce+b)*y,(z-b)*a,(ce+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=ae*b,z=.2,ce=.5,fe=new go.PathFigure(.1*a,0,!1);x.add(fe),fe.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,(ce-b)*y,.9*a,(ce-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+ee)*y,(z+ee)*a,(ce+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=ae*.1,ee=.1,z=.1,ce=.5,fe=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.9,fe.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=ae*.5,ee=.5,z=.5,ce=.5,fe=new go.PathFigure((z-ee)*a,ce*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce-ee)*y,(z-ee)*a,(ce-b)*y,(z-b)*a,(ce-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ce*y,(z+b)*a,(ce-ee)*y,(z+ee)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y,(z+b)*a,(ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ce*y,(z-b)*a,(ce+ee)*y,(z-ee)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,(z-ee+.1)*a,ce*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee-.1)*a,ce*y,z*a,(ce-ee)*y,z*a,(ce+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=ae*.8,ce=.8,fe=0,ge=.5,pe=(b-a)/2,he=(ee-y)/2,ye=new go.PathFigure(fe*a+pe,(ge+ce)*y+he,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ce)*y+he,(fe-ce)*a+pe,(ge+z)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ce)*y+he,(fe-ce)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ce)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce+z*.5)*a+pe,ge*y+he,fe*a+pe,(ge-ce)*y+he,(fe-ce+z*.5)*a+pe,(ge-z)*y+he)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ce)*y+he,(fe-ce+z*.5)*a+pe,(ge+z)*y+he,fe*a+pe,(ge+ce)*y+he).close()),z=ae*.4,ce=.4,fe=.2,ge=.5;var ve=new go.PathFigure(fe*a+pe,(ge+ce)*y+he,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ce)*y+he,(fe-ce)*a+pe,(ge+z)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ce)*y+he,(fe-ce)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ce)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce+z*.5)*a+pe,ge*y+he,fe*a+pe,(ge-ce)*y+he,(fe-ce+z*.5)*a+pe,(ge-z)*y+he)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ce)*y+he,(fe-ce+z*.5)*a+pe,(ge+z)*y+he,fe*a+pe,(ge+ce)*y+he).close()),z=ae*.2,ce=.2,fe=.5,ge=.5;var Pe=new go.PathFigure((fe-ce)*a+pe,ge*y+he,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ce)*y+he,(fe-ce)*a+pe,(ge-z)*y+he,(fe-z)*a+pe,(ge-ce)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ce)*y+he,(fe+ce)*a+pe,(ge-z)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ce)*y+he,(fe+ce)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ce)*y+he)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+pe,ge*y+he,(fe-z)*a+pe,(ge+ce)*y+he,(fe-ce)*a+pe,(ge+z)*y+he)),z=ae*.4,ce=.4,fe=.8,ge=.5;var we=new go.PathFigure(fe*a+pe,(ge-ce)*y+he,!0);x.add(we),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ce)*y+he,(fe+ce)*a+pe,(ge-z)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ce)*y+he,(fe+ce)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ce)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce-z*.5)*a+pe,ge*y+he,fe*a+pe,(ge+ce)*y+he,(fe+ce-z*.5)*a+pe,(ge+z)*y+he)),we.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ce)*y+he,(fe+ce-z*.5)*a+pe,(ge-z)*y+he,fe*a+pe,(ge-ce)*y+he).close()),z=ae*.8,ce=.8,fe=1,ge=.5;var xe=new go.PathFigure(fe*a+pe,(ge-ce)*y+he,!0);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+pe,ge*y+he,(fe+z)*a+pe,(ge-ce)*y+he,(fe+ce)*a+pe,(ge-z)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge+ce)*y+he,(fe+ce)*a+pe,(ge+z)*y+he,(fe+z)*a+pe,(ge+ce)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce-z*.5)*a+pe,ge*y+he,fe*a+pe,(ge+ce)*y+he,(fe+ce-z*.5)*a+pe,(ge+z)*y+he)),xe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+pe,(ge-ce)*y+he,(fe+ce-z*.5)*a+pe,(ge-z)*y+he,fe*a+pe,(ge-ce)*y+he).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 ce=new go.PathFigure(0,.5*y,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ce.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=ae*.4,ee=.4,z=.5,ce=.5,fe=be(),ge=be(),pe=be(),he=be();me(z,ce-ee,z+b,ce-ee,z+ee,ce-b,z+ee,ce,.5,fe,fe,ge,pe,he);var ye=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,ce*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y,(z+b)*a,(ce+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,ce*y,(z-b)*a,(ce+ee)*y,(z-ee)*a,(ce+b)*y)),me(z-ee,ce,z-ee,ce-b,z-b,ce-ee,z,ce-ee,.5,pe,he,ge,fe,fe),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,pe.x*a,pe.y*y,he.x*a,he.y*y)),b=ae*.3,ee=.3,me(z-ee,ce,z-ee,ce-b,z-b,ce-ee,z,ce-ee,.5,pe,he,ge,fe,fe),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,ce*y,he.x*a,he.y*y,pe.x*a,pe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+ee)*y,(z-ee)*a,(ce+b)*y,(z-b)*a,(ce+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,ce*y,(z+b)*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y)),me(z,ce-ee,z+b,ce-ee,z+ee,ce-b,z+ee,ce,.5,fe,fe,ge,pe,he),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,he.x*a,he.y*y,pe.x*a,pe.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()),Be(fe),Be(ge),Be(pe),Be(he),Be(ye),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,ce,fe){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+fe)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+fe)*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,ce=b*ae,fe=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,pe=1,he=.5,ye=.5,ve=0,Pe=new go.PathFigure(fe*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,he*y,pe*a,.7*y,pe*a,he*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-ce+ee)*y,(.5+ce+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-ce+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-ce+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+ce+z)*y,(.5-ce+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,ce=.5,fe=z,ge=Math.PI/4,pe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),he=pe*.5,ye=z,ve=z,Pe=pe*ye,we=pe*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ye)*a,fe*y,(ce-(Pe+ye)/2)*a,(fe+(ve+we)/2)*y,(ce-ye)*a,(fe+we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(fe-ve)*y,(ce-ye)*a,(fe-we)*y,(ce-Pe)*a,(fe-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ye)*a,fe*y,(ce+Pe)*a,(fe-ve)*y,(ce+ye)*a,(fe-we)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+ye)*a,(fe+we)*y,(ce+(Pe+ye)/2)*a,(fe+(ve+we)/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 xe=new go.PathFigure(.2*a,y,!1);x.add(xe),xe.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=ae*.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 ce=new go.PathFigure(b*a,0,!1);return x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.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,ce=ae*.1,fe=.2,ge=.9,pe=new go.PathFigure((fe-z)*a,ge*y,!0);x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-z)*y,(fe-z)*a,(ge-ce)*y,(fe-ce)*a,(ge-z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*a,ge*y,(fe+ce)*a,(ge-z)*y,(fe+z)*a,(ge-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+z)*y,(fe+z)*a,(ge+ce)*y,(fe+ce)*a,(ge+z)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*a,ge*y,(fe-ce)*a,(ge+z)*y,(fe-z)*a,(ge+ce)*y).close()),z=.1,ce=ae*.1,fe=.8,ge=.9;var he=new go.PathFigure((fe-z)*a,ge*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-z)*y,(fe-z)*a,(ge-ce)*y,(fe-ce)*a,(ge-z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe+z)*a,ge*y,(fe+ce)*a,(ge-z)*y,(fe+z)*a,(ge-ce)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+z)*y,(fe+z)*a,(ge+ce)*y,(fe+ce)*a,(ge+z)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(fe-z)*a,ge*y,(fe-ce)*a,(ge+z)*y,(fe-z)*a,(ge+ce)*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 ce=new go.PathFigure(.5*a,.7*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var fe=.1,ge=ae*.1,pe=.1,he=.9,ye=new go.PathFigure((pe-fe)*a,he*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-fe)*y,(pe-fe)*a,(he-ge)*y,(pe-ge)*a,(he-fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe+fe)*a,he*y,(pe+ge)*a,(he-fe)*y,(pe+fe)*a,(he-ge)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+fe)*y,(pe+fe)*a,(he+ge)*y,(pe+ge)*a,(he+fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(pe-fe)*a,he*y,(pe-ge)*a,(he+fe)*y,(pe-fe)*a,(he+ge)*y)),fe=.1,ge=ae*.1,pe=.4,he=.9;var ve=new go.PathFigure((pe-fe)*a,he*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he-fe)*y,(pe-fe)*a,(he-ge)*y,(pe-ge)*a,(he-fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(pe+fe)*a,he*y,(pe+ge)*a,(he-fe)*y,(pe+fe)*a,(he-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,pe*a,(he+fe)*y,(pe+fe)*a,(he+ge)*y,(pe+ge)*a,(he+fe)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(pe-fe)*a,he*y,(pe-ge)*a,(he+fe)*y,(pe-fe)*a,(he+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 pe=.05,he=ae*.05,ye=.175,ve=.95,ce=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.375,ve=.95,fe=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.625,ve=.95,ge=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y));var pe=.05,he=ae*.05,ye=.825,ve=.95,Pe=new go.PathFigure((ye-pe)*a,ve*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve-pe)*y,(ye-pe)*a,(ve-he)*y,(ye-he)*a,(ve-pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+pe)*a,ve*y,(ye+he)*a,(ve-pe)*y,(ye+pe)*a,(ve-he)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(ve+pe)*y,(ye+pe)*a,(ve+he)*y,(ye+he)*a,(ve+pe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-pe)*a,ve*y,(ye-he)*a,(ve+pe)*y,(ye-pe)*a,(ve+he)*y).close());var we=new go.PathFigure(0,y,!1);return x.add(we),we.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 ce=.05,fe=ae*.05,ge=.35,pe=.775,he=new go.PathFigure((ge-ce)*a,pe*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe-ce)*y,(ge-ce)*a,(pe-fe)*y,(ge-fe)*a,(pe-ce)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge+ce)*a,pe*y,(ge+fe)*a,(pe-ce)*y,(ge+ce)*a,(pe-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(pe+ce)*y,(ge+ce)*a,(pe+fe)*y,(ge+fe)*a,(pe+ce)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ge-ce)*a,pe*y,(ge-fe)*a,(pe+ce)*y,(ge-ce)*a,(pe+fe)*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=ae*.3,z=.5,ce=.7,fe=new go.PathFigure((z-b)*a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce-b)*y,(z-b)*a,(ce-ee)*y,(z-ee)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ce*y,(z+ee)*a,(ce-b)*y,(z+b)*a,(ce-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+b)*y,(z+b)*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ce*y,(z-ee)*a,(ce+b)*y,(z-b)*a,(ce+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=ae*.5,z=.5,ce=.5,fe=new go.PathFigure((z-b)*a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce-b)*y,(z-b)*a,(ce-ee)*y,(z-ee)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ce*y,(z+ee)*a,(ce-b)*y,(z+b)*a,(ce-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+b)*y,(z+b)*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ce*y,(z-ee)*a,(ce+b)*y,(z-b)*a,(ce+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=ae*.5,z=.5,ce=.5,fe=new go.PathFigure((z-b)*a,ce*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce-b)*y,(z-b)*a,(ce-ee)*y,(z-ee)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ce*y,(z+ee)*a,(ce-b)*y,(z+b)*a,(ce-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+b)*y,(z+b)*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ce*y,(z-ee)*a,(ce+b)*y,(z-b)*a,(ce+ee)*y).close()),b=.05,ee=ae*.05,z=.5,ce=.8;var ge=new go.PathFigure((z-b)*a,ce*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce-b)*y,(z-b)*a,(ce-ee)*y,(z-ee)*a,(ce-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,ce*y,(z+ee)*a,(ce-b)*y,(z+b)*a,(ce-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ce+b)*y,(z+b)*a,(ce+ee)*y,(z+ee)*a,(ce+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,ce*y,(z-ee)*a,(ce+b)*y,(z-b)*a,(ce+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 ce=new go.PathFigure(.678*a,.85*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var fe=new go.PathFigure(.5*a,.1*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),fe.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 ce=new go.PathFigure(a*.612,y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var fe=new go.PathFigure(a*.816,y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),fe.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),fe.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 ce=new go.PathFigure(a*.055,.18*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var fe=new go.PathFigure(a*1,0,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),fe.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 ce=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var fe=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),fe.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),fe.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*ae,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 ce=new go.PathFigure(a*.83,0,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var fe=new go.PathFigure(a*.83,y*1,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),fe.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),fe.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*ae,ee=y*.8,z=new go.Geometry,ce=new go.PathFigure(x,0,!0);return z.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,x,ee)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),ce.add(new go.PathSegment(go.PathSegment.Line,0,x)),ce.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*ae,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")},80727: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 dt={},st="5.0",Se={},be=null,Be=!1,E=!1,me=null,de=!1,le=null,ae=null,oe=0;oe4?parseFloat(Ne):5};dt.setHTML5Codebase=function(Ne,Fe){ae=Ne,Ze(Ne,Fe)},dt.setJavaCodebase=dt.setJavaCodebaseVersion=dt.isCompiledInstalled=dt.setPreCompiledScriptPath=dt.setPreCompiledResourcePath=function(){},dt.setHTML5CodebaseVersion=function(Ne,Fe){var Re=parseFloat(Ne);if(Re!==NaN&&Re<5){console.log("The GeoGebra HTML5 codebase version "+Re+" is deprecated. Using version latest instead.");return}le=Ne,Je(Ne,Fe)},dt.getHTML5CodebaseVersion=function(){return te},dt.getParameters=function(){return Se},dt.setFontsCSSURL=function(Ne){z=Ne},dt.setGiacJSURL=function(Ne){},dt.setJNLPFile=function(Ne){ue=Ne},dt.setJNLPBaseDir=function(Ne){},dt.inject=function(){function Ne(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Fe="auto",Re=Se.id,Ge,qe=!1,rt=0;rt=5)return!0;var Ne=dt.getAppletObject();return Ne&&typeof Ne.recalculateEnvironments=="function"?(Ne.recalculateEnvironments(),!0):!1},dt.startAnimation=function(){var Ne=dt.getAppletObject();return Ne&&typeof Ne.startAnimation=="function"?(Ne.startAnimation(),!0):!1},dt.stopAnimation=function(){var Ne=dt.getAppletObject();return Ne&&typeof Ne.stopAnimation=="function"?(Ne.stopAnimation(),!0):!1},dt.getAppletObject=function(){var Ne=Se.id!==void 0?Se.id:"ggbApplet";return window[Ne]},dt.resize=function(){};var Pe=function(Ne,Fe,Re){var Ge=document.createElement("param");Ge.setAttribute("name",Fe),Ge.setAttribute("value",Re),Ne.appendChild(Ge)},we=function(Ne){return Ne&&Ne!=="false"},xe=function(Ne,Fe,Re){fe(te)<=4.2&&(Re=!0);var Ge=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Ge=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=Fe.width,We=Fe.height;if(Fe.disableAutoScale=Fe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Fe.disableAutoScale,Fe.width!==void 0)if(fe(te)<=4.4)we(Fe.showToolBar)&&(Fe.height-=7),we(Fe.showAlgebraInput)&&(Fe.height-=37),Fe.width<605&&we(Fe.showToolBar)&&(Fe.width=605,rt=605);else{var ze=100;(we(Fe.showToolBar)||we(Fe.showMenuBar))&&(Fe.hasOwnProperty("customToolBar")&&(Fe.customToolbar=Fe.customToolBar),ze=we(Fe.showMenuBar)?245:155),rt=5?(Fe.appletOnLoad=function($e){var et=Ne.querySelector(".ggb_preview");et&&et.parentNode.removeChild(et),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Le),window.GGBT_wsf_view&&$(window).trigger("resize"),He($e)},Ve||Le.appendChild(it)):qe.appendChild(it),Le.appendChild(qe),Ve||Ne.appendChild(Le),setTimeout(function(){dt.resize()},1)}else{var tt=document.createElement("div");tt.className="applet_scaler",tt.style.position="relative",tt.style.display="block",tt.appendChild(qe),Ne.appendChild(tt),Fe.appletOnLoad=function($e){dt.resize(),He($e)}}function Xe($e,et){et&&typeof et.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,et.appletOnLoad):renderGGBElement($e),Ye("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",et)}function Me($e,et){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:$e,params:et}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(lt){Xe(lt.article,lt.params)}),html5AppletsToProcess=null)},fe(te)<5&&($e.className+=" geogebraweb")):Xe($e,et)}if(Ge){scriptLoadStarted=!0;for(var Ae=0;Ae0?(Ie.remove(),Le.attr("id","fullscreencontent").show(),jQuery(He).append(Le),window.dispatchEvent(new Event("resize"))):xe(Ie,Fe,!1),window.GGBT_wsf_view.launchFullScreen(He)}else ne=Ge,xe(Ne,Fe,!1);if(!window.GGBT_wsf_view)for(We=0;WeNe/4*3&&(Ie=Ne/4*3),He=Ie/5.8,ze.setAttribute("src",b),ze.setAttribute("width",Ie),ze.setAttribute("height",He);var Le=(Ne-Ie)/2,Ve=(Fe-He)/2;ze.style.left=Le+"px",ze.style.top=Ve+"px",qe.appendChild(ze)}}return qe.appendChild(We),qe},Ue=function(Ne){return Ne=Ne.toLowerCase(),Ne==="html5"||Ne==="screenshot"?Ne:"html5"},Te=["web","webSimple","web3d","tablet","tablet3d","phone"],Je=function(Ne,Fe){if(te=Ne,Fe){Ze(te,!0);return}var Re=!Be;if(Re){var Ge=fe(te);!isNaN(Ge)&&Ge<4.4&&(Re=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var We=te.indexOf("//");We>0?rt=te:We===0?rt=qe+te:rt="https://www.geogebra.org/apps/5.2.814.0/";for(var ze in Te)if(te.slice(Te[ze].length*-1)===Te[ze]||te.slice((Te[ze].length+1)*-1)===Te[ze]+"/"){Ze(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Re&&!be.is3D&&!be.AV&&!be.SV&&!be.CV&&!be.EV2&&!be.CP&&!be.PC&&!be.DA&&!be.FI&&!be.PV&&!we(Se.showToolBar)&&!we(Se.showMenuBar)&&!we(Se.showAlgebraInput)&&!we(Se.enableRightClick)&&(!Se.appName||Se.appName=="classic")?rt+="webSimple/":rt+="web3d/",Ze(rt,!1)},Ze=function(Ne,Fe){if(Ne.requirejs){ie=Ne;return}Ne.slice(-1)!=="/"&&(Ne+="/"),ie=Ne,Fe===null&&(Fe=Ne.indexOf("http")===-1),re=Fe,a="web.nocache.js",y=!1;var Re=ie.split("/");Re.length>1&&(!Fe&&Re[Re.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Te.indexOf(Re[Re.length-2])>=0&&(a=Re[Re.length-2]+".nocache.js")),Re=Ne.split("/"),te=Re[Re.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 Ge=parseFloat(te);Ge!==NaN&&Ge<5&&Ne.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ge+" is deprecated. Using version latest instead."),Je("5.0",Fe))},Ye=function(Ne,Fe){window.console&&window.console.log&&(!Fe||typeof Fe.showLogging=="undefined"||Fe.showLogging&&Fe.showLogging!=="false")&&console.log(Ne)};Se.material_id!==void 0?he(Qe):Qe();function Qe(){var Ne=st;le!==null?Ne=le:parseFloat(Ne)<5&&(Ne="5.0"),Je(Ne,!1),ae!==null&&Ze(ae,re),de=!0}return dt},GGBAppletUtils=function(){"use strict";function dt(){return window.GGBT_wsf_edit!==void 0}function st(de,le){le!=1?(de.style.transformOrigin="0% 0% 0px",de.style.webkitTransformOrigin="0% 0% 0px",de.style.transform="scale("+le+","+le+")",de.style.webkitTransform="scale("+le+","+le+")",de.style.maxWidth="initial",de.querySelector(".ggb_preview")!==null&&(de.querySelector(".ggb_preview").style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[0]!==void 0&&(de.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),de.querySelectorAll(".ggb_preview img")[1]!==void 0&&(de.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(de.style.transform="none",de.style.webkitTransform="none")}function Se(de,le,ae,oe,se,ue){var ie=null;if(ue!=null&&ue!="")for(var re=de.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ue+" ")>-1){ie=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,ee=0;if(ie)ne=ie.offsetWidth,te=Math.max(oe?ie.offsetWidth:0,ie.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),de){var z=de.getBoundingClientRect();z.left>0&&z.left<=ne&&(se===void 0||!se)&&(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(de&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=de.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return de&&((ae===void 0||!ae)&&le>0&&le+y1&&(ue=!0)),le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ue=!0),!(de.hasOwnProperty("disableAutoScale")&&de.disableAutoScale))se=be(de,le,ue,ae,de.scaleContainerClass);else return oe;return ue&&(!de.hasOwnProperty("scale")||oe===1)?se:Math.min(oe,se)}function E(de){var le=Math.min(window.innerWidth,document.documentElement.clientWidth),ae=Math.min(window.innerHeight,document.documentElement.clientHeight),oe=de.getBoundingClientRect(),se=(le-oe.width)/2,ue=(ae-oe.height)/2;ue<0&&(ue=0),de.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?de.style.left="40px":de.style.left=se+"px",de.style.top=ue+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ue<40?de.style.top="40px":de.style.top=ue+"px",de.style.left=se+"px")}function me(de,le){var ae=de.querySelector(".appletParameters");if(ae){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(le.id!==ae.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(de)}if(ae.parentElement&&/fullscreen/.test(ae.parentElement.className))return;var oe=Be(le,de);dt()&&ae.setAttribute("data-param-scale",oe);for(var se=null,ue=0;ue=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(dt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(dt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(dt){var st=c[dt];return st==null?null:st},r=d,webModule.__errFn=e}function B(){function dt(de){var le=de.lastIndexOf(rb);le==-1&&(le=de.length);var ae=de.indexOf(sb);ae==-1&&(ae=de.length);var oe=de.lastIndexOf(tb,Math.min(ae,le));return oe>=O?de.substring(O,oe+P):W}function st(de){if(!de.match(/^\w+:\/\//)){var le=o.createElement(ub);le.src=de+vb,de=dt(le.src)}return de}function Se(){var de=__gwt_getMetaProperty(wb);return de!=null?de:W}function be(){for(var de=o.getElementsByTagName(_),le=O;leO?de[de.length-P].href:W}function E(){var de=o.location;return de.href==de.protocol+zb+de.host+de.pathname+de.search+de.hash}var me=Se();return me==W&&(me=be()),me==W&&(me=Be()),me==W&&E()&&(me=dt(o.location.href)),me=st(me),me}function C(dt){return dt.match(/^\//)||dt.match(/^[a-zA-Z]+:\/\//)?dt:webModule.__moduleBase+dt}function D(){var dt=[],st=O,Se=[],be=[];function Be(de){var le=be[de](),ae=Se[de];if(le in ae)return le;var oe=[];for(var se in ae)oe[ae[se]]=se;throw r&&r(de,oe,le),null}if(__gwt_isKnownPropertyValue=function(de,le){return le in Se[de]},webModule.__getPropMap=function(){var de={};for(var le in Se)Se.hasOwnProperty(le)&&(de[le]=Be(le));return de},webModule.__computePropValue=Be,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var me=E.indexOf(Db);me!=-1&&(st=parseInt(E.substring(me+P),$),E=E.substring(O,me))}catch(de){}return webModule.__softPermutationId=st,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})()},77903:function(dt,st,Se){"use strict";Se.d(st,{Ax:function(){return me},Ds:function(){return de},KI:function(){return ae},SI:function(){return E},f1:function(){return Be}});var be=Se(3294);function Be(oe){let se=!0;if(oe.length>0){for(let ue=0;uese in oe?E(oe,se,{enumerable:!0,configurable:!0,writable:!0,value:ue}):oe[se]=ue,de=(oe,se,ue)=>me(oe,typeof se!="symbol"?se+"":se,ue),le=(oe,se,ue)=>new Promise((ie,re)=>{var ne=y=>{try{a(ue.next(y))}catch(x){re(x)}},te=y=>{try{a(ue.throw(y))}catch(x){re(x)}},a=y=>y.done?ie(y.value):Promise.resolve(y.value).then(ne,te);a((ue=ue.apply(oe,se)).next())});class ae extends be.EventEmitter{constructor(se,ue){super(),de(this,"url"),de(this,"body"),de(this,"fullContent",""),de(this,"controller",null),this.url=se,this.body=ue}startStream(){return le(this,null,function*(){this.controller=new AbortController;const{signal:se}=this.controller;try{const ue=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:se});if(!ue.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ue.status}`);const ie=ue.headers.get("content-type");if(!ie)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(ie.includes("application/json")){const te=yield ue.json();this.emit("error",te);return}if(!ie.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const re=ue.body.getReader(),ne=new TextDecoder("utf-8");for(;;){const{done:te,value:a}=yield re.read();if(te)break;const x=ne.decode(a,{stream:!0}).split(` `);for(const b of x)if(b.startsWith("data:")){const ee=b.slice(5).trim();if(ee==="[DONE]")break;try{const z=JSON.parse(ee);z.data&&this.handleData(z.data)}catch(z){console.error("\u89E3\u6790 JSON \u5931\u8D25:",z)}}}this.emit("done",this.fullContent)}catch(ue){ue.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ue.message)}})}handleData(se){se.content&&(this.fullContent+=se.content,this.emit("data",{chunk:se,full:this.fullContent}))}cancelRequest(){var se;(se=this.controller)==null||se.abort()}}st.Z=ae},43276:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return fe}});var be=Se(59301),Be=Se(72719),E=Se(77596),me=Se(93772),de=Se(14179),le=Se(56102),ae={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},oe=Se(8591),se=Se(11611),ue=Se(35328),ie=Se(30084),re=Se(10787),ne=Se(50304),te=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ge,pe,he)=>pe in ge?te(ge,pe,{enumerable:!0,configurable:!0,writable:!0,value:he}):ge[pe]=he,ee=(ge,pe)=>{for(var he in pe||(pe={}))y.call(pe,he)&&b(ge,he,pe[he]);if(a)for(var he of a(pe))x.call(pe,he)&&b(ge,he,pe[he]);return ge},z=(ge,pe)=>{var he={};for(var ye in ge)y.call(ge,ye)&&pe.indexOf(ye)<0&&(he[ye]=ge[ye]);if(ge!=null&&a)for(var ye of a(ge))pe.indexOf(ye)<0&&x.call(ge,ye)&&(he[ye]=ge[ye]);return he},fe=({onFinish:ge,value:pe,streamingStatus:he,cancelIndex:ye,loadImage:ve})=>{const[Pe,we]=(0,be.useState)(""),[xe,Ce]=(0,be.useState)(0),[_e,Ee]=(0,be.useState)(!1),De=Te=>Te.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/______/g,"`______`"),Oe=()=>{Ee(!0),ge==null||ge()};return(0,be.useEffect)(()=>{const Te=ve?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${pe}`:pe,Je=De(Te);if(!_e)if(ve||!he||ye>0){we(Je),Ce(Je.length),(!he||ye>0)&&!ve&&Oe();return}else if(xe{we(Je.slice(0,xe+2)),Ce(Qe=>Qe+2)},Ze>10?Math.max(500/(Ze/2),20):50);return()=>clearInterval(Ye)}else he||Oe()},[pe,he,ye,ve,xe]),(0,be.useMemo)(()=>be.createElement("section",{className:`${ae.answer} fadeIn animated`},be.createElement(Be.UG,{remarkPlugins:[ie.Z,re.Z],rehypePlugins:[ue.Z,me.Z],components:{code(Te){var Je=Te,{node:Ze,inline:Ye,className:Qe,children:Ne}=Je,Fe=z(Je,["node","inline","className","children"]);const Re=/language-(\w+)/.exec(Qe||""),Ge=String(Ne).trim();return Ye||!Re?be.createElement("code",ee({className:Qe},Fe),Ne):be.createElement("code",{className:ae.codeCopy,"data-text":`\`\`\`${Re?Re[1]:""} ${Ne} \`\`\``},be.createElement(le.CopyToClipboard,{text:Ge,onCopy:()=>oe.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},be.createElement("button",null,"\u590D\u5236")),be.createElement(E.Z,ee({style:de.Z,language:Re[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},Fe),Ge))},img({node:Te}){var Je;const Ze=(Je=Te.properties)==null?void 0:Je.src;return be.createElement(se.Z,{src:Ze,width:320,"data-text":Ze,onLoad:()=>ve&&setTimeout(()=>Oe(),500)})},span(Te){var Je=Te,{node:Ze,className:Ye,children:Qe}=Je,Ne=z(Je,["node","className","children"]);if(Ye!=null&&Ye.includes("katex")){const Fe=Ze.children.map(Re=>Re.value||"").join("");return be.createElement("span",ee({className:Ye,"data-text":`$$ ${Fe||""} $$`},Ne),Qe)}return be.createElement("span",ee({className:Ye},Ne),Qe)}}},_e?Pe:`${Pe}__`)),[Pe])}},31707:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return x}});var be=Se(59301),Be=Se(19909),E={bigTips:"bigTips___uPRW3",item:"item___KMGDu"},me=Se(8591),de=Se(95237),le=Object.defineProperty,ae=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ue=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,re=(b,ee,z)=>ee in b?le(b,ee,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[ee]=z,ne=(b,ee)=>{for(var z in ee||(ee={}))ue.call(ee,z)&&re(b,z,ee[z]);if(se)for(var z of se(ee))ie.call(ee,z)&&re(b,z,ee[z]);return b},te=(b,ee)=>ae(b,oe(ee)),a=(b,ee,z)=>new Promise((ce,fe)=>{var ge=ye=>{try{he(z.next(ye))}catch(ve){fe(ve)}},pe=ye=>{try{he(z.throw(ye))}catch(ve){fe(ve)}},he=ye=>ye.done?ce(ye.value):Promise.resolve(ye.value).then(ge,pe);he((z=z.apply(b,ee)).next())}),x=({description:b,code:ee,showData:z={},sendParams:ce={},allShow:fe=!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}],pe=he=>{const{setChatData:ye,setLoading:ve,getData:Pe,clearStatus:we,typing:xe,setImageGenerator:Ce,renderChatItems:_e,setSceneAwareness:Ee}=he;let De=ge;return fe||(De=ge.filter(Oe=>Oe.show)),be.createElement("div",{className:`${E.bigTips} mt10`},De.map((Oe,Ue)=>be.createElement("div",{onClick:()=>a(void 0,null,function*(){if(xe){me.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Ee(!1),Ce(!1),ve(!0),we();const Te=_e(Oe.query);Te[0].show=!1,Te[1].imageGenerator=!1,ye(Te),Pe("",ne({type:Oe.type,description:Oe.description,query:Oe.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},ce))}),key:Ue,className:E.item},be.createElement(de.Z,{align:"middle"},be.createElement("img",{className:"mr10",src:Oe.img}),be.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Oe.name)),be.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Oe.des))))};return be.createElement(Be.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:fe?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:pe,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:te(ne({},ce),{is_chat:!0}),topPercentage:(ce==null?void 0:ce.source)==="hack"?.52:void 0,headNode:be.createElement(be.Fragment,null,be.createElement("div",{className:"c-grey-333 font22"},be.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"),be.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"),be.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},19909:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return ut}});var be=Se(59301),Be=Se(8591),E=Se(54580),me=Se(43418),de=Se(6848),le=Se(92832),ae=Se(3113),oe=Se(71418),se=Se(64165),ue=Se(14478),ie=Se(43428),re=Se(38854),ne=Se(92310),te=Se.n(ne),a=Se(43276),y={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},x=Se(59301),b=(at,ct,ft)=>new Promise((gt,pt)=>{var St=Mt=>{try{Et(ft.next(Mt))}catch(Ut){pt(Ut)}},bt=Mt=>{try{Et(ft.throw(Mt))}catch(Ut){pt(Ut)}},Et=Mt=>Mt.done?gt(Mt.value):Promise.resolve(Mt.value).then(St,bt);Et((ft=ft.apply(at,ct)).next())}),z=({value:at="",streamingStatus:ct,onFinish:ft,cancelIndex:gt,time:pt,loading:St,loadAll:bt})=>{const[Et,Mt]=(0,be.useState)(""),[Ut,qt]=(0,be.useState)(!0),tn=(0,be.useRef)(at),Xt=(0,be.useRef)(ct),Yt=(0,be.useRef)(0),on=(0,be.useRef)(null),[dn,An]=(0,be.useState)(!1),fn=70;(0,be.useEffect)(()=>{Xt.current=ct},[ct]),(0,be.useEffect)(()=>{tn.current=at},[at]),(0,be.useEffect)(()=>{if(!ct){Mt(tn.current);return}return An(!0),on.current=setInterval(Zt,fn),()=>{clearInterval(on.current)}},[]),(0,be.useEffect)(()=>{dn&&(Mt(tn.current),clearInterval(on.current),An(!1),ft())},[gt]);const Zt=()=>b(void 0,null,function*(){const $n=tn.current[Yt.current];$n!==void 0?(Mt(un=>un+$n),Yt.current++,clearInterval(on.current),on.current=setInterval(Zt,280/(tn.current.length-Yt.current))):Xt.current===!1&&(Mt(tn.current),clearInterval(on.current),An(!1),ft())});return x.createElement("div",{className:`${y.reasoning} fadeIn animated`},x.createElement("div",{className:y.btn,onClick:()=>qt(!Ut)},x.createElement("i",{className:"iconfont icon-shendusikao"}),pt?x.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",pt," \u79D2\uFF09"):x.createElement("span",null,"\u601D\u8003\u4E2D..."),Ut?x.createElement("b",{className:"iconfont icon-shouqi6"}):x.createElement("b",{className:"iconfont icon-zhankai6"})),St&&x.createElement(oe.Z,{spinning:!0,className:"mt20"}),Ut&&!St&&x.createElement("div",{className:y.content},Et,dn?x.createElement("span",{className:"aiBlink"},"__"):""))},ce={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},fe=Se(81327),ge=Object.defineProperty,pe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,ve=(at,ct,ft)=>ct in at?ge(at,ct,{enumerable:!0,configurable:!0,writable:!0,value:ft}):at[ct]=ft,Pe=(at,ct)=>{for(var ft in ct||(ct={}))he.call(ct,ft)&&ve(at,ft,ct[ft]);if(pe)for(var ft of pe(ct))ye.call(ct,ft)&&ve(at,ft,ct[ft]);return at};const we=at=>React.createElement("svg",Pe({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},at),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 xe="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Ce=Object.defineProperty,_e=Object.getOwnPropertySymbols,Ee=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Oe=(at,ct,ft)=>ct in at?Ce(at,ct,{enumerable:!0,configurable:!0,writable:!0,value:ft}):at[ct]=ft,Ue=(at,ct)=>{for(var ft in ct||(ct={}))Ee.call(ct,ft)&&Oe(at,ft,ct[ft]);if(_e)for(var ft of _e(ct))De.call(ct,ft)&&Oe(at,ft,ct[ft]);return at};const Te=at=>React.createElement("svg",Ue({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},at),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 Je="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIw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DguNTg2IDcxLjQ0NCA3MS40NDQgMCAwIDEtNDQuNTA0LTEzLjU0OGMtMTUuMjgyLTEyLjI4OC0yNi4yMy0xOS4xNDEtMzAuNzItNDAuNjQ1YTg5LjE2NyA4OS4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Ze=Se(59301),Qe=({value:at,onChange:ct})=>{const[ft,gt]=(0,be.useState)(!1),pt=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:xe},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:Je}],St=pt.find(bt=>bt.key===at);return Ze.createElement("div",{className:ce.select},Ze.createElement(fe.Z,{size:10},Ze.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Ze.createElement("div",{className:ce.box,onMouseLeave:()=>gt(!1)},Ze.createElement("div",{className:ce.text,onClick:()=>gt(!0)},Ze.createElement("img",{src:St.img,width:20}),Ze.createElement("span",null,St.name),Ze.createElement("b",{className:"iconfont icon-zhankai6"})),ft&&Ze.createElement("div",{className:ce.itemWrap},Ze.createElement("aside",null,pt.map(bt=>Ze.createElement("div",{key:bt.key,className:`${ce.item} ${bt.key===at?ce.active:""}`,onClick:Et=>{Et.stopPropagation(),ct(bt.key),gt(!1)}},Ze.createElement("img",{src:bt.img,width:20}),Ze.createElement("span",null,bt.name))))))))},Ne={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",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},Fe=Se(99064),Re=Se(955),Ge={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},rt=({src:at,onClick:ct,topPercentage:ft=.62,draggableExtraNode:gt})=>{const pt=(0,be.useRef)(null),St=(0,be.useRef)(!1),bt=(0,be.useRef)(!1),[Et,Mt]=(0,be.useState)(window.innerHeight*ft),[Ut,qt]=(0,be.useState)(!1),tn=10;return(0,be.useEffect)(()=>{if(pt.current){let Xt=function(fn){var Zt;St.current=!0,An=fn.pageY,dn=fn.pageY-(((Zt=pt.current)==null?void 0:Zt.getBoundingClientRect().top)||0),(0,Re.kk)("none"),document.onselectstart=function(){return!1}},Yt=function(){St.current&&!bt.current&&ct&&ct(),St.current=!1,bt.current=!1,(0,Re.kk)("auto"),document.onselectstart=null},on=function(fn){var Zt;if(St.current){const un=fn.pageY-dn,Ln=window.innerHeight-(((Zt=pt.current)==null?void 0:Zt.offsetHeight)||0)-50,mn=50;if(!bt.current&&Math.abs(An-fn.pageY)>tn&&(bt.current=!0),bt.current){let rr=Math.max(mn,Math.min(un,Ln));Mt(rr)}}},dn=0,An=0;return pt.current.addEventListener("mousedown",Xt),document.addEventListener("mousemove",on),document.addEventListener("mouseup",Yt),()=>{var fn,Zt;(Zt=(fn=pt==null?void 0:pt.current)==null?void 0:fn.removeEventListener)==null||Zt.call(fn,"mousedown",Xt),document.removeEventListener("mousemove",on),document.removeEventListener("mouseup",Yt)}}},[ct]),(0,be.useEffect)(()=>{const Xt=()=>{Mt(window.innerHeight*ft)};return window.addEventListener("resize",Xt),()=>{window.removeEventListener("resize",Xt)}},[ft]),be.createElement("div",{className:Ge.draggableImage,style:{top:`${Et}px`,display:Ut?"none":"block",cursor:St.current?"grabbing":"grab"},ref:pt},gt,be.createElement("img",{className:Ge.img,src:at,width:60,draggable:"false"}),be.createElement("i",{className:`iconfont icon-tupianguanbi ${Ge.close}`,onMouseUp:Xt=>{Xt.stopPropagation(),qt(!0)}}))},We="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZF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NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",He=Se(3294),Le=Se(56102),Ve=Se(24544),it=Se(58617),tt=Se(32050),Xe=Object.defineProperty,Me=Object.defineProperties,Ae=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,nt=(at,ct,ft)=>ct in at?Xe(at,ct,{enumerable:!0,configurable:!0,writable:!0,value:ft}):at[ct]=ft,$e=(at,ct)=>{for(var ft in ct||(ct={}))ke.call(ct,ft)&&nt(at,ft,ct[ft]);if(je)for(var ft of je(ct))Ke.call(ct,ft)&&nt(at,ft,ct[ft]);return at},et=(at,ct)=>Me(at,Ae(ct)),lt=(at,ct,ft)=>new Promise((gt,pt)=>{var St=Mt=>{try{Et(ft.next(Mt))}catch(Ut){pt(Ut)}},bt=Mt=>{try{Et(ft.throw(Mt))}catch(Ut){pt(Ut)}},Et=Mt=>Mt.done?gt(Mt.value):Promise.resolve(Mt.value).then(St,bt);Et((ft=ft.apply(at,ct)).next())}),ut=({title:at="\u5934\u6B4CAI",placeholder:ct,hideUpload:ft,hideInputBox:gt,aiIcon:pt=We,userIcon:St=ze,dragIcon:bt=Ie,children:Et,fetchUrl:Mt,fetchData:Ut={},extraAnswerAction:qt,showDefaultTips:tn=!0,onOpen:Xt,onClose:Yt,loadingOption:on,showPreference:dn=!1,initMessage:An,customRequest:fn,visible:Zt,width:$n=1200,isCheckRestrictNumber:un=!1,headNode:Ln,headFunctionNode:mn,showRedraw:rr,showEdit:er,promptPropName:Un="prompt",topPercentage:_n,showSwitchingModel:hr=!1,showImageGenerator:ht=!1,showLookHistory:yt=!1,fetchListObject:vt,customPreference:It,customDataNode:Wt,showAddSession:Qt,historyId:an,draggableExtraNode:bn,drawerExtraNode:jn,menuExtraFunctionNode:Gn,showSceneAwareness:tr=!1})=>{var Ot;const[vn,Hn]=(0,be.useState)(!1),[kt,Gt]=(0,be.useState)("qwen-max"),[Rt,gn]=(0,be.useState)([]),[Tn,xn]=(0,be.useState)(!1),[or,ir]=(0,be.useState)(!1),[Rn,Vn]=(0,be.useState)(!1),[cn,Bn]=(0,be.useState)([]),[At,lr]=(0,be.useState)(""),[wr,yn]=(0,be.useState)(0),[sn,Lt]=(0,be.useState)(void 0),[Ht,rn]=(0,be.useState)(!1),[zt,zn]=(0,be.useState)(null),[Yn,ar]=(0,be.useState)(""),kn=(0,be.useRef)(),pr=(0,be.useRef)(null),Cr=(0,be.useRef)(null),[Ft,Ir]=(0,be.useState)(!1),[Br,Wr]=(0,be.useState)(!1),[Lr,Ar]=(0,be.useState)(!1),[Or,Fr]=(0,be.useState)(!1),[En,Kn]=(0,be.useState)(0),kr=(0,be.useRef)(null),Jn=(0,be.useRef)(!1),_r=(0,be.useRef)(null),[Mr,xr]=(0,be.useState)(void 0),[Gr,ni]=(0,be.useState)(!0),[ri,oi]=(0,be.useState)($n-28),[Ur,si]=(0,be.useState)(!1),[mt,wt]=(0,be.useState)(!0),[Tt,Dt]=(0,be.useState)([]),Ct=(0,be.useRef)([]),_t=(0,be.useRef)(!1),xt=ri-22,jt=At==null?void 0:At.split(` `).length,{onAdd:Bt,onGetList:Vt,onListClick:Nt,onListDelete:ln,onListDealData:Kt}=vt||{},wn={maxCount:10,showUploadList:!1,withCredentials:!0,fileList:Rt,multiple:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png,.xlsx,.xls",beforeUpload:Pt=>{var Jt,pn,Pn,Fn;const Wn=(Fn=(Pn=(pn=(Jt=Pt==null?void 0:Pt.name)==null?void 0:Jt.split("."))==null?void 0:pn.slice(-1))==null?void 0:Pn[0])==null?void 0:Fn.toLowerCase(),ur=["doc","docx","md","pdf","txt","jpg","png","xlsx","xls"].includes(Wn);return Pt.size==0?(Be.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),E.default.LIST_IGNORE):ur||(Be.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u3001xlsx\u3001xls\u6587\u4EF6"),E.default.LIST_IGNORE)},onChange:({fileList:Pt})=>{gn(Pt)},action:`${(Ot=He.Z)==null?void 0:Ot.API_SERVER}/api/intelligent_imports/upload_file.json`};(0,be.useEffect)(()=>{if(!cn.length||!kn.current)return;const Pt=cn[cn.length-1];Pt!=null&&Pt.loading&&(kn.current.scrollTop=kn.current.scrollHeight)},[cn.length]),(0,be.useEffect)(()=>{if(!kn.current||!kr.current)return;const Pt=new IntersectionObserver(([Jt])=>{ni(Jt.isIntersecting)},{root:kn.current,rootMargin:"70px",threshold:0});return Pt.observe(kr.current),()=>{kr.current&&Pt.unobserve(kr.current)}},[kn.current,kr.current]),(0,be.useEffect)(()=>{if(!Ft)return;const Pt=kn.current,Jt=_r.current;Jn.current=!1;const pn=()=>{const{scrollTop:Fn,scrollHeight:Wn,clientHeight:In}=Pt,ur=Fn+In===Wn;Jn.current=!0,ur&&(Jn.current=!1)};Pt.addEventListener("wheel",pn);const Pn=new ResizeObserver(()=>{Jn.current||(Pt.scrollTop=Pt.scrollHeight)});return Pn.observe(Jt),()=>{var Fn;Pn.unobserve(Jt),(Fn=Pt==null?void 0:Pt.removeEventListener)==null||Fn.call(Pt,"wheel",pn)}},[Ft]),(0,be.useEffect)(()=>{!Ft&&Ct.current.length&&(Bn([...cn,...Ct.current]),Ct.current=[])},[Ft]),(0,be.useEffect)(()=>{if(!kn.current)return;const Pt=new ResizeObserver(()=>{oi(kn.current.offsetWidth)});return Pt.observe(kn.current),()=>{kn.current&&Pt.unobserve(kn.current)}},[kn.current]),(0,be.useEffect)(()=>{typeof Zt=="boolean"&&Hn(Zt)},[Zt]),(0,be.useEffect)(()=>{var Pt;if(pr.current&&zt!==null){pr.current.focus();const Jt=(Pt=pr.current.resizableTextArea)==null?void 0:Pt.textArea;Jt&&(Jt.selectionStart=Jt.selectionEnd=Jt.value.length)}},[zt]),(0,be.useEffect)(()=>{jt<5&&rn(!1)},[jt]),(0,be.useEffect)(()=>{vn&&An&&(Bn($t(An)),xn(!0),hn(An,{history:[]})),vn&&(On(),an?Tr(an):Qt&&!Mr&&Rr()),vn||Mn()},[vn]);const $t=(Pt="",Jt=[])=>{const pn=Date.now();return[{text:Pt,key:pn,sender:"user",fileList:Jt,show:!0},{loading:!0,key:pn,sender:"AI",show:!0,model:kt,imageGenerator:Lr,thinkingEnabled:Br}]},Mn=()=>{ar(""),zn(null),gn([]),lr("")},Zn=()=>{if(Xt){Xt({chatData:cn,setChatData:Bn,setLoading:xn,getData:hn,renderChatItems:$t,handleAdd:Rr,identifier:Mr});return}Hn(!0)},gr=()=>{if(wt(!0),Yt){Yt();return}Hn(!1)},Er=()=>{rn(!Ht)},On=()=>lt(void 0,null,function*(){if(!un)return;const Pt=yield(0,Fe.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Pt==null?void 0:Pt.status)===0&&(Pt==null?void 0:Pt.total_number)!==-1&&(yn((Pt==null?void 0:Pt.total_number)-(Pt==null?void 0:Pt.remaining_number)),Lt(Pt==null?void 0:Pt.total_number))}),vr=()=>{me.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:be.createElement("div",null,be.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),be.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u7528",sn,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},Dn=Pt=>Pt.reduce((pn,Pn)=>{if(Pn.sender==="user"){const Fn=Pt.find(Wn=>Wn.key===Pn.key&&Wn.sender==="AI");Fn&&(Fn!=null&&Fn.text)&&!(Fn!=null&&Fn.error)&&pn.push({question:Pn.text,answer:Fn.text})}return pn},[]),hn=(...Pt)=>lt(void 0,[...Pt],function*(Jt="",pn={},Pn=cn){if(fn&&(yield fn({mes:Jt,setChatData:Bn,fileList:Rt,body:pn,checkNum:On,setLoading:xn,bodyChatData:Pn,setTyping:Ir,setImageGenerator:Ar})),!fn){const Fn=Rt==null?void 0:Rt.map(yr=>{var Pr;return(Pr=yr==null?void 0:yr.response)==null?void 0:Pr.file_id}),Wn=pn.history||Dn(Pn),In=$e($e({identifier:Mr,response_mode:"streaming",model:kt,scene_awareness:Or,thinking_enabled:Br,image_generator:Lr,file_ids:Fn,history:Wn,[Un]:Jt},Ut),pn),ur=Object.fromEntries(Object.entries(In).filter(([yr,Pr])=>Pr!==void 0));Cr.current=new Ve.Z(He.Z.API_SERVER+Mt,ur),yield new Promise((yr,Pr)=>{let qr=null,$r=null;Cr.current.on("data",Yr=>{Ir(!0);const{chunk:{content:Kr,type:Zr,created:ei,msg:ui}}=Yr,li=ui==="error";Zr==="thinking"&&(qr=qr||ei,Bn(Qr=>[...Qr].map((zr,ii)=>ii===Qr.length-1?et($e({},zr),{reasoning:(zr.reasoning||"")+Kr,loading:!1,hideAnswer:!0,error:li}):zr))),Zr==="text"&&($r=$r||ei,Bn(Qr=>[...Qr].map((zr,ii)=>ii===Qr.length-1?et($e({},zr),{text:(zr.text||"")+Kr,loading:!1,startTime:qr,endTime:$r,error:li}):zr)))}),Cr.current.on("done",()=>{yr()}),Cr.current.on("error",()=>{const Yr="\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!";Bn(Kr=>[...Kr].map((Zr,ei)=>ei===Kr.length-1?et($e({},Zr),{text:Yr,loading:!1,error:!0}):Zr)),yr()}),Cr.current.on("cancelled",()=>{yr()}),Cr.current.startStream()})}On(),xn(!1)}),qn=Pt=>{lr(Pt.target.value)},nr=(Pt,Jt)=>{if(Mn(),xn(!0),Pt==="edit"){Ct.current=cn.slice(Jt+2);const pn=cn.splice(Jt),{fileList:Pn}=(pn==null?void 0:pn[0])||{},Fn=Pn.map(In=>{var ur;return(ur=In.response)==null?void 0:ur.file_id}),Wn={history:Dn(cn),file_ids:Fn,edit:!0};Bn([...cn,...$t(Yn,Pn)]),hn(Yn,Wn,cn)}if(Pt==="redraw"){Ct.current=cn.slice(Jt+1);const pn=cn.splice(Jt-1),{text:Pn,fileList:Fn}=(pn==null?void 0:pn[0])||{},Wn=Fn.map(ur=>{var yr;return(yr=ur.response)==null?void 0:yr.file_id}),In={history:Dn(cn),file_ids:Wn,edit:!0};Bn([...cn,...$t(Pn,Fn)]),hn(Pn,In,cn)}},Nn=()=>{if(At.trim()!==""){Mn(),xn(!0);const Pt=Rt.filter(Jt=>Jt.status==="done");Bn([...cn,...$t(At,Pt)]),hn(At)}},sr=Pt=>{if(Pt.shiftKey){if(Pt.key==="Enter")return}else if(Pt.key==="Enter"){if(Pt.preventDefault(),dr||_t.current)return;Nn()}},Qn=(Pt,Jt)=>{var pn,Pn;let Fn=!1;er===!0?Fn=!0:er==="last"&&(Fn=cn.reduce((ur,yr,Pr)=>yr.sender==="user"?Pr:ur,-1)===Jt);const Wn=Jt===zt;return be.createElement("div",{className:Ne.li,style:{width:xt}},be.createElement("div",{className:Ne.avatarIcon},be.createElement("img",{className:Ne.img,src:St})),be.createElement("div",{className:Ne.content},!!((pn=Pt==null?void 0:Pt.fileList)!=null&&pn.length)&&be.createElement("div",{className:Ne.fileWrap},(Pn=Pt.fileList)==null?void 0:Pn.map((In,ur)=>{var yr,Pr;return be.createElement("div",{key:ur,className:Ne.file},be.createElement("img",{src:Se(90034)(`./${((Pr=(yr=In==null?void 0:In.name)==null?void 0:yr.split("."))==null?void 0:Pr.pop())||"txt"}.png`),width:20,className:"mr10"}),be.createElement("aside",null,be.createElement(de.Z,{title:In==null?void 0:In.name},be.createElement("div",{className:Ne.fileName},In==null?void 0:In.name)),be.createElement("div",{className:"c-grey-999 font12"},(0,Re.RD)(In==null?void 0:In.size))))})),be.createElement("div",{className:Ne.borderBox},Wn?be.createElement(le.default.TextArea,{value:Yn,ref:pr,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:In=>ar(In.target.value)}):be.createElement("div",{className:Ne.text},Pt==null?void 0:Pt.text)),Wn?be.createElement("div",{className:Ne.action},be.createElement(ae.ZP,{onClick:()=>{ar(""),zn(null)},size:"small"},"\u53D6\u6D88"),be.createElement(ae.ZP,{disabled:!Yn.trim(),onClick:()=>nr("edit",Jt),type:"primary",size:"small"},"\u786E\u8BA4")):be.createElement("div",{className:Ne.action},be.createElement(Le.CopyToClipboard,{text:(Pt==null?void 0:Pt.text)||"",onCopy:()=>Be.ZP.success("\u590D\u5236\u6210\u529F")},be.createElement(de.Z,{title:"\u590D\u5236"},be.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),Fn&&!Tn&&be.createElement(de.Z,{title:"\u7F16\u8F91"},be.createElement("i",{onClick:()=>{zn(Jt),ar((Pt==null?void 0:Pt.text)||"")},className:"iconfont icon-bianji10 font14"})))))},mr=(Pt,Jt)=>{let pn=!1;rr===!0?pn=!0:rr==="last"&&(pn=cn.reduce((Wn,In,ur)=>In.sender==="AI"?ur:Wn,-1)===Jt);let Pn="";return Pt!=null&&Pt.source?Pn=Pt==null?void 0:Pt.source:(Pt==null?void 0:Pt.model)==="deepseek-r1"?Pn="\u7531deepseek\u751F\u6210":(Pt==null?void 0:Pt.model)==="qwen-max"&&(Pn="\u7531\u901A\u4E49\u5343\u95EE\u751F\u6210"),be.createElement("div",{className:Ne.li,style:{width:xt}},be.createElement("div",{className:Ne.avatarIcon},be.createElement("img",{className:Ne.img,src:pt})),be.createElement("div",{className:Ne.content},be.createElement("div",{className:Ne.borderBox},Pt.loading&&be.createElement(be.Fragment,null,Pt!=null&&Pt.imageGenerator?be.createElement("div",{className:Ne.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",be.createElement("div",{className:"ai-loading"})):!(Pt!=null&&Pt.thinkingEnabled)&&be.createElement("div",null,be.createElement("div",{className:Ne.loading},be.createElement("div",{className:Ne.dot}),be.createElement("div",{className:Ne.dot}),be.createElement("div",{className:Ne.dot})),be.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(on==null?void 0:on.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"))),(Pt==null?void 0:Pt.thinkingEnabled)&&be.createElement(z,{time:Pt==null?void 0:Pt.time,cancelIndex:En,loading:Pt.loading,streamingStatus:!(Pt!=null&&Pt.text),onFinish:()=>{Kn(0),Bn(Fn=>[...Fn].map((Wn,In)=>In===Fn.length-1?et($e({},Wn),{hideAnswer:!1,time:Wn.startTime?Wn.endTime-Wn.startTime:null}):Wn))},value:Pt==null?void 0:Pt.reasoning}),!!(Pt!=null&&Pt.text)&&!Pt.hideAnswer&&be.createElement(a.Z,{cancelIndex:En,streamingStatus:Tn,loadImage:!!(Pt!=null&&Pt.imageGenerator),onFinish:()=>lt(void 0,null,function*(){Kn(0),setTimeout(()=>Ir(!1),0)}),value:Pt==null?void 0:Pt.text})),!!(Pt!=null&&Pt.text)&&Pn&&be.createElement("div",{className:Ne.source},Pn),be.createElement("div",{className:Ne.action},qt==null?void 0:qt(Pt,Jt,{onMenuClick:Tr}),be.createElement(Le.CopyToClipboard,{text:String((Pt==null?void 0:Pt.text)||""),onCopy:()=>Be.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},be.createElement(de.Z,{title:"\u590D\u5236"},be.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),dn&&!Tn&&be.createElement(be.Fragment,null,be.createElement(de.Z,{title:"\u559C\u6B22"},be.createElement("i",{style:Pt!=null&&Pt.like?{color:"#FA8D30"}:{},onClick:()=>Sr("like",!(Pt!=null&&Pt.like),Jt),className:"iconfot icon-yijiejue font15"})),be.createElement(de.Z,{title:"\u4E0D\u559C\u6B22"},be.createElement("i",{style:Pt!=null&&Pt.dislike?{color:"#e86d7c"}:{},onClick:()=>Sr("dislike",!(Pt!=null&&Pt.dislike),Jt),className:"iconfot icon-weijiejuezhengchang font15"}))),pn&&!Tn&&be.createElement(de.Z,{title:"\u91CD\u65B0\u751F\u6210"},be.createElement("i",{onClick:()=>nr("redraw",Jt),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},Sr=(Pt,Jt,pn)=>lt(void 0,null,function*(){if(It){const Pn=cn.slice(0,pn+1),Wn=Dn(Pn).length;yield It({type:Pt,value:Jt,index:pn,identifier:Mr,objectIndex:Wn})}Bn(Pn=>(Pn[pn][Pt]=Jt,Jt&&(Pn[pn][Pt==="like"?"dislike":"like"]=!1),[...Pn]))}),Xn=()=>{var Pt,Jt;Kn(1),(Jt=(Pt=Cr.current)==null?void 0:Pt.cancelRequest)==null||Jt.call(Pt),xn(!1),Ir(!1)},Rr=()=>lt(void 0,null,function*(){var Pt,Jt,pn;(Jt=(Pt=Cr.current)==null?void 0:Pt.cancelRequest)==null||Jt.call(Pt),Mn(),Bn([]),xn(!0);const Pn=yield Bt();(Pn==null?void 0:Pn.status)===0&&xr((pn=Pn==null?void 0:Pn.data)==null?void 0:pn.identifier),xn(!1),Ir(!1)}),Hr=()=>lt(void 0,null,function*(){var Pt;Vn(!0);const Jt=yield Vt();(Jt==null?void 0:Jt.status)===0&&Dt(((Pt=Jt==null?void 0:Jt.data)==null?void 0:Pt.list)||[]),Vn(!1)}),Tr=(...Pt)=>lt(void 0,[...Pt],function*(Jt=Mr){var pn,Pn,Fn,Wn;(Pn=(pn=Cr.current)==null?void 0:pn.cancelRequest)==null||Pn.call(pn),Mn(),ir(!0);const In=yield Nt(Jt);if(In.status===0){const ur=Kt(((Fn=In==null?void 0:In.data)==null?void 0:Fn.messages)||[]);Bn(ur),ir(!1),xr((Wn=In==null?void 0:In.data)==null?void 0:Wn.identifier);return}Bn([]),ir(!1)}),Vr=(Pt,Jt)=>lt(void 0,null,function*(){(yield ln(Pt)).status===0&&(Be.ZP.success("\u5220\u9664\u6210\u529F"),Jt===Mr&&Rr(),Hr())}),cr=()=>be.createElement("div",{className:Ne.menuWarp},be.createElement("h4",null,"\u5386\u53F2\u5BF9\u8BDD"),be.createElement(oe.Z,{spinning:Rn},!Tt.length&&be.createElement(se.Z,{style:{width:250,paddingBottom:30},image:se.Z.PRESENTED_IMAGE_SIMPLE}),!!Tt.length&&be.createElement("div",{className:Ne.menu},Tt.map(function(Pt,Jt){return be.createElement("aside",{className:te()(Mr===Pt.identifier&&Ne.active),key:Pt.id,onClick:()=>Tr(Pt.id)},be.createElement("div",{className:Ne.menuText},be.createElement(de.Z,{title:Pt==null?void 0:Pt.question},be.createElement("span",null,Pt==null?void 0:Pt.question)),Gn&&Gn(Pt)),be.createElement("div",{className:Ne.menuDel,onClick:pn=>pn.stopPropagation()},be.createElement(ue.Z,{title:"\u63D0\u793A",description:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u672C\u6761\u5BF9\u8BDD\u5417\uFF1F",onConfirm:()=>Vr(Pt.id,Pt.identifier),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88"},be.createElement("i",{className:"iconfont icon-shanchu14 delete-hover font14"}))))})))),en=wr>=sn,Sn=ft||Rt.length>9,dr=Rt.some(Pt=>Pt.status==="uploading")||Tn||Ft,br=Lr||Br||Or||!!Rt.length;return be.createElement("div",null,Et?be.createElement("div",{onClick:Zn},Et):be.createElement(rt,{draggableExtraNode:bn,src:bt,onClick:Zn,topPercentage:_n}),be.createElement(ie.Z,{open:vn,width:Ur?"100%":$n,afterOpenChange:Pt=>{Pt&&wt(!1)},contentWrapperStyle:mt?{}:{transition:"none"},extra:be.createElement("div",{className:Ne.head},jn,hr&&be.createElement(Qe,{value:kt,onChange:Pt=>{Wr(!1),Ar(!1),Gt(Pt)}}),yt&&be.createElement(be.Fragment,null,be.createElement(re.Z,{dropdownRender:cr,onOpenChange:Pt=>{Pt&&Hr()},placement:"bottomLeft",arrow:!0},be.createElement("div",{className:Ne.headBtn},be.createElement("i",{className:"icon-lishiduihua1 font14 mr10"}),"\u5386\u53F2\u5BF9\u8BDD"))),Qt&&be.createElement(be.Fragment,null,be.createElement("div",{className:Ne.headBtn,onClick:Rr},be.createElement("i",{className:"icon-xinjianduihua font14 mr10"}),"\u65B0\u5EFA\u5BF9\u8BDD")),be.createElement(de.Z,{title:Ur?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F"},be.createElement("div",{className:Ne.headBtn,style:{padding:"0 12px"},onClick:()=>si(!Ur)},Ur&&be.createElement("i",{className:"iconfont icon-tuichuquanping3"}),!Ur&&be.createElement("i",{className:"iconfont icon-quanping4"})))),title:be.createElement("span",{className:"c-grey-333 font16"},at),onClose:gr,bodyStyle:{paddingRight:4}},be.createElement("div",{className:te()(Ne.wrap,vn&&"body-overflow-hidden")},be.createElement("div",{ref:kn,className:Ne.chatContainer},tn&&be.createElement("div",{className:`${Ne.li} mb20`,style:{width:xt}},be.createElement("div",{className:Ne.avatarIcon},be.createElement("img",{className:Ne.img,src:pt})),be.createElement("div",{className:Ne.content},be.createElement("div",{className:Ne.borderBox},Ln,mn==null?void 0:mn({isDisabledNum:en,checkNumModal:vr,checkNum:On,onClose:gr,setChatData:Bn,setLoading:xn,getData:hn,clearStatus:Mn,typing:Ft,setImageGenerator:Ar,renderChatItems:$t,setSceneAwareness:Fr})))),be.createElement("div",{ref:_r},be.createElement(oe.Z,{spinning:or,className:"mt20"},cn==null?void 0:cn.map((Pt,Jt)=>be.createElement(be.Fragment,{key:Pt.key+Jt},Pt.show&&be.createElement(be.Fragment,null,Pt.sender==="user"&&Qn(Pt,Jt),Pt.sender==="AI"&&mr(Pt,Jt),Wt&&!["AI","user"].includes(Pt.sender)&&Wt(Pt,Jt,{width:xt})))))),!Gr&&be.createElement("div",{className:Ne.backBottom,onClick:()=>{Jn.current=!1,kn.current.scrollTop=kn.current.scrollHeight}},be.createElement("i",{className:"iconfont icon-huidaodibu"})),be.createElement("div",{ref:kr})),!gt&&be.createElement("div",{className:te()(Ne.footerContainer,Ht&&Ne.full,br&&Ne.footerContainerSelected)},be.createElement("div",{className:Ne.btnWrp},tr&&be.createElement(de.Z,{title:"\u667A\u80FD\u611F\u77E5\u5F53\u524D\u60C5\u5883\uFF0C\u63D0\u4F9B\u9488\u5BF9\u6027\u89E3\u7B54"},be.createElement("div",{onClick:()=>Fr(!Or),className:te()(Ne.btn,Or&&Ne.btnActive)},be.createElement("i",{className:"iconfont icon-changjingganzhi mr10 font12"}),"\u573A\u666F\u611F\u77E5")),kt==="deepseek-r1"&&be.createElement(de.Z,{title:"\u8C03\u7528\u65B0\u6A21\u578B DeepSeek-R1\uFF0C\u89E3\u51B3\u63A8\u7406\u95EE\u9898"},be.createElement("div",{onClick:()=>Wr(!Br),className:te()(Ne.btn,Br&&Ne.btnActive)},be.createElement("i",{className:"iconfont icon-shendusikao mr10 font12"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),ht&&kt==="qwen-max"&&be.createElement("div",{onClick:()=>Ar(!Lr),className:te()(Ne.btn,Lr&&Ne.btnActive)},be.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10 font12"}),"\u56FE\u50CF\u751F\u6210"),Rt.map(Pt=>be.createElement("div",{key:Pt.uid},(Pt==null?void 0:Pt.status)==="uploading"&&be.createElement(oe.Z,{indicator:be.createElement(it.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),be.createElement("span",{title:Pt==null?void 0:Pt.name,className:"mr10"},(0,Re.Pq)(Pt.name,20)),be.createElement("i",{onClick:()=>gn(Jt=>Jt.filter(pn=>pn.uid!==Pt.uid)),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font12"})))),be.createElement(de.Z,{title:en&&be.createElement("div",null,be.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),be.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F",sn,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},be.createElement("div",{className:te()(Ne.inputContainer,jt>4&&Ne.lineFour,en&&Ne.disabledInput)},be.createElement(E.default,et($e({},wn),{className:`${Sn&&"hide"}`}),be.createElement(ae.ZP,{className:Ne.uploadBtn,icon:be.createElement(tt.Z,{style:{fontSize:18,color:"#FFF"}})})),be.createElement(le.default.TextArea,{rows:jt>4?4:jt,placeholder:ct||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:At,bordered:!1,style:Sn?{paddingLeft:0,marginLeft:0}:{},onChange:qn,onPressEnter:sr,onCompositionStart:()=>{_t.current=!0},onCompositionEnd:()=>{_t.current=!1}}),Ft?be.createElement(de.Z,{title:"\u505C\u6B62\u751F\u6210"},be.createElement("div",{className:`iconfont icon-tingzhihuida ${Ne.cancelBtn}`,onClick:Xn})):be.createElement(ae.ZP,{className:(At==null?void 0:At.trim())===""?Ne.sendBtnDisabled:Ne.sendBtn,icon:be.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:dr,onClick:Nn}),jt>4&&be.createElement("span",{className:Ne.fullIcon,onClick:Er},Ht&&be.createElement("span",{className:"iconfont icon-shousuo"}),!Ht&&be.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},67054:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return we},U:function(){return ye}});var be=Se(59301),Be=Se(31797),E=Se(43418),me=Se(1710),de=Se(4901),le=Se(94941),ae=Se(61186),oe=Se.n(ae),se={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"},ue="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2aHST34fTQjDeQqplOfqibsp4/QOqjztXcMczVHPWLvQS4g0IgclH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Dtw3hY5t03ASN08m1TA32MS8gPuMONKLf8Y+vx6fy5//F98kX9HlCXiv6MVDL4Ill+h8mdv2MpgXSNHDCYZYXIJWHfRtRiJvWUqjkgCDqLjjcnK4HJqultkCEVuf9pB8gPcUDak1y5D67ghWimDuWrbrlOfL2k7hviv7s/iPbsQIymAwqW2vt8CTNirxtEymOUsgY85kLOqMTmZJyRi4sifgOjnGUj+7sM9CO2NZVH5WMjVGo3i5fBm85z8EqZVNi37uklJk+iSriU9a4ljNWb2axtq2vU7KxeCOg6guVoRFXn8J8u83sc4wTu2tl7RD9eVrUIxE61FwndxXk7xplljlY2oFkN6o43oyZpAZnuemIdKWWTYFCTAbuOQDk9uD2zoDSocAS/0cRPTjAaw7/rOjJeR1bvOlaAPgdMjdr4St0/FgcIG5YoAtDUb37G1bzrDZX2UNrxIE6TkwoL/8d0321TbvzKSI5Z4CW8Gpzby/NrFk89H0N9C9S6shR23b9dUsq+oSKaJcyg7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",re=Se(955),ne=Se(89070),te=Se(37518),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,fe=(xe,Ce,_e)=>Ce in xe?y(xe,Ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):xe[Ce]=_e,ge=(xe,Ce)=>{for(var _e in Ce||(Ce={}))z.call(Ce,_e)&&fe(xe,_e,Ce[_e]);if(ee)for(var _e of ee(Ce))ce.call(Ce,_e)&&fe(xe,_e,Ce[_e]);return xe},pe=(xe,Ce)=>x(xe,b(Ce)),he=(xe,Ce,_e)=>new Promise((Ee,De)=>{var Oe=Je=>{try{Te(_e.next(Je))}catch(Ze){De(Ze)}},Ue=Je=>{try{Te(_e.throw(Je))}catch(Ze){De(Ze)}},Te=Je=>Je.done?Ee(Je.value):Promise.resolve(Je.value).then(Oe,Ue);Te((_e=_e.apply(xe,Ce)).next())});const ye=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ve}=Be.default,Pe=({exercise:xe,socket:Ce,dispatch:_e,onStartScreenshot:Ee,onCloseScreenshot:De,handleToDetail:Oe})=>{const[Ue,Te]=E.default.useModal(),Je=(0,be.useRef)(),[Ze,Ye]=(0,be.useState)(!0),Qe=(0,be.useRef)(!1),Ne=(0,ne.useParams)();(0,be.useEffect)(()=>{var je,ke,Ke;if(document.addEventListener((0,de.gH)(),Me,!1),window.addEventListener("blur",tt,!1),(je=xe.exerciseUserInfo)!=null&&je.screen_open&&(0,de.vp)()&&Ye(!1),(ke=xe.exerciseUserInfo)!=null&&ke.screen_open&&!(0,de.vp)()){(0,re.RG)(" ",!0);const nt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?xe.exerciseUserInfo.screen_sec+3:xe.exerciseUserInfo.screen_sec+10+1;Je.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"}},xe.exerciseUserInfo.screen_num-xe.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:()=>he(void 0,null,function*(){var $e;const et=yield Xe();($e=Je.current)==null||$e.destroy(),et.used_screen_num&&Le(et.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=Je.current)==null||$e.destroy(),Ye(!1),(0,de.Dj)(document.body),document.getElementById("root").addEventListener("click",Re,!1)}})}return(Ke=xe.exerciseUserInfo)!=null&&Ke.screen_open&&!(0,de.vp)()||document.getElementById("root").addEventListener("click",Re,!1),()=>{document.getElementById("root").removeEventListener("click",Re,!1),document.removeEventListener((0,de.gH)(),Me,!1),window.removeEventListener("blur",tt,!1)}},[]),(0,be.useEffect)(()=>{setTimeout(()=>{xe.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Re,!1),document.removeEventListener((0,de.gH)(),Me,!1))},500),Ge()},[xe.actionTabs]),(0,be.useEffect)(()=>{setTimeout(()=>{xe.exerciseUserInfo.used_screen_num>xe.exerciseUserInfo.screen_num&&Ve()},500)},[xe.exerciseUserInfo]);const Fe=()=>he(void 0,null,function*(){const je=yield Xe();setTimeout(()=>{var ke,Ke;(ke=Je.current)==null||ke.destroy(),Je.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"},je.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(Ke=xe.exerciseUserInfo)==null?void 0:Ke.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>he(void 0,null,function*(){(0,de.Dj)(document.body)})})},1e3)}),Re=je=>{!(0,de.vp)()&&je.target.nodeName!=="A"&&je.target.nodeName!=="BUTTON"&&je.target.innerHTML!=="\u786E \u5B9A"&&(0,de.Dj)(document.body)},Ge=()=>he(void 0,null,function*(){const je=yield _e({type:"exercise/getExerciseUserInfo",payload:ge({},Ne)});return je==null?void 0:je.data}),qe=je=>he(void 0,null,function*(){var ke;if((ke=xe.exerciseUserInfo)!=null&&ke.screen_at){const nt=yield(0,le.ck)(pe(ge({},Ne),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Ke=yield(0,le.oy)({id:Ne.categoryId});if(Ke!=null&&Ke.is_commit){E.default.destroyAll(),yield rt(),it(!0);return}else Le(je+1)}),rt=()=>he(void 0,null,function*(){var je;const ke=oe()(),Ke=xe.exerciseUserInfo.screen_sec;if(Ie.current.length>0){const nt=ke.format("YYYY-MM-DD HH:mm:ss");let $e=Math.floor(ke.diff(oe()(Ie.current[0].start))/1e3);const et=Ie.current.length;$e/Ke>>0>et&&($e=(et+1)*Ke-1),yield(0,le.P8)(Ne.categoryId,{exercise_user_id:(je=xe.exerciseUserInfo)==null?void 0:je.exercise_user_id,time:nt,time_long:$e,count:et})}Ie.current=[]}),We=(0,be.useRef)(0),ze=(0,be.useRef)(0),Ie=(0,be.useRef)([]),He=(0,be.useRef)(!1),Le=je=>he(void 0,null,function*(){var ke;Qe.current||(Ee(),E.default.destroyAll(),We.current=oe()().valueOf(),He.current=!0,Je.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:se.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen8)),content:a.createElement("div",{className:se.exitFullScreenModal},a.createElement("img",{src:ue,alt:"",className:se.warningIcon}),a.createElement("div",{className:se.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:se.warningText},((ke=xe.exerciseUserInfo)==null?void 0:ke.screen_num)+1),(0,te._V)(te.CP.recordScreen12),a.createElement("span",{className:se.warningText,style:{fontWeight:600}},(0,te._V)(te.CP.recordScreen13)),",",(0,te._V)(te.CP.recordScreen14),a.createElement("span",{className:se.warningText},je-1),(0,te._V)(te.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ve,{className:se.countdownWrapper,onFinish:()=>{ze.current=oe()().valueOf(),Ie.current.push({start:We.current,end:ze.current}),qe(je)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(xe.exerciseUserInfo.screen_sec+1)*1e3}),(0,te._V)(te.CP.recordScreen25)),(0,te._V)(te.CP.recordScreen16))),onOk:()=>{(0,re.RG)(" ",!0),rt(),(0,de.Dj)(document.body),De(),Je.current.destroy(),He.current=!1}}))}),Ve=()=>he(void 0,null,function*(){E.default.destroyAll(),(yield(0,le.VL)({categoryId:Ne.categoryId,commit_method:1}))&&it()}),it=(je=!1)=>he(void 0,null,function*(){var ke,Ke;if(document.removeEventListener((0,de.gH)(),Me,!1),(0,de.BU)(),E.default.destroyAll(),Qe.current=!0,je){const nt=yield(0,le.Yu)(Ne.categoryId,{exercise_user_id:(ke=xe.exerciseUserInfo)==null?void 0:ke.exercise_user_id});Ue.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:se.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:se.forcedModalContent},a.createElement("img",{src:ie,alt:""}),a.createElement("div",{className:se.forcedText},(0,te._V)(te.CP.recordScreen17)),a.createElement("div",{className:se.screenNumText},(0,te._V)(te.CP.recordScreen18),(Ke=xe.exerciseUserInfo)==null?void 0:Ke.screen_num,(0,te._V)(te.CP.recordScreen19)),a.createElement(me.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:()=>{De(),Oe()},onOk:()=>{ne.history.push(`/classrooms/${Ne.coursesId}/exercisenotice/${Ne.categoryId}/users/${Ne.login}?isShowApply=true`)}})}else Ue.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()}})}),tt=je=>{(0,de.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!He.current&&(0,de.BU)()},Xe=()=>he(void 0,null,function*(){var je;if((je=xe.exerciseUserInfo)!=null&&je.screen_at){const nt=yield(0,le.ck)(pe(ge({},Ne),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const ke=yield(0,le.oy)({id:Ne.categoryId});if(ke!=null&&ke.is_commit){it();return}return yield Ge()}),Me=()=>he(void 0,null,function*(){var je;if((0,re.RG)(" ",!0),(0,de.vp)()){if((je=xe.exerciseUserInfo)!=null&&je.screen_at){var ke=yield(0,le.ck)(pe(ge({},Ne),{reset:!0}));if((ke==null?void 0:ke.status)===-6)return}}else if(!He.current){var ke=yield(0,le.ck)(ge({},Ne));if((ke==null?void 0:ke.status)===-6)return;const nt=yield Ge();Le(nt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Ae=()=>he(void 0,null,function*(){(0,le.ck)(ge({},Ne));const je=yield Ge();Le(je.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Te)};var we=(0,ne.connect)(({exercise:xe,globalSetting:Ce})=>({globalSetting:Ce,exercise:xe}))(Pe)},23960:function(dt,st,Se){"use strict";Se.d(st,{X:function(){return me},y:function(){return E}});var be=Se(59301),Be=Se(8591);const E=de=>{(0,be.useEffect)(()=>{if(de){const le=oe=>{oe.key==="F12"&&(oe.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},ae=oe=>{oe.preventDefault()};return document.addEventListener("keydown",le),document.addEventListener("contextmenu",ae),()=>{document.removeEventListener("keydown",le),document.removeEventListener("contextmenu",ae)}}},[de])},me=()=>{const[de,le]=(0,be.useState)(!1),ae=oe=>{const{keyCode:se,ctrlKey:ue,metaKey:ie,type:re}=oe;(re==="paste"||(se===67||se===86)&&(ie||ue))&&(Be.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),oe.preventDefault(),oe.stopPropagation())};return(0,be.useEffect)(()=>(de&&(window.addEventListener("keydown",ae,!0),window.addEventListener("paste",ae,!0)),()=>{window.removeEventListener("keydown",ae,!0),window.removeEventListener("paste",ae,!0)}),[de]),{setOpenDisableCopyAndPaste:le,disableCopyAndPaste:de}}},73524:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return ie}});var be=Se(59301),Be={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=Se(92310),me=Se.n(E),de=Se(71418),le=Se(2859),ae=Se(99064),oe=Se(955),se=(re,ne,te)=>new Promise((a,y)=>{var x=z=>{try{ee(te.next(z))}catch(ce){y(ce)}},b=z=>{try{ee(te.throw(z))}catch(ce){y(ce)}},ee=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);ee((te=te.apply(re,ne)).next())}),ie=({data:re,className:ne,fullWidth:te,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:ee})=>{const z=(0,be.useRef)(null),ce=(0,be.useRef)(null),fe=(0,be.useRef)(null),ge=(0,be.useRef)(null),[pe,he]=(0,be.useState)(!1),[ye,ve]=(0,be.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,be.useEffect)(()=>(fe.current||(fe.current=document.createElement("style"),document.head.appendChild(fe.current)),re!=null&&re.visible?(document.body.setAttribute("data-custom","y-hidden"),fe.current.innerHTML=" html { overflow-y: hidden; }",re!=null&&re.src&&Pe()):(document.body.removeAttribute("data-custom"),fe.current&&(document.head.removeChild(fe.current),fe.current=null)),()=>{document.body.removeAttribute("data-custom"),fe.current&&(document.head.removeChild(fe.current),fe.current=null)}),[re==null?void 0:re.visible]);const Pe=()=>se(void 0,null,function*(){he(!0),ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const _e=yield(0,oe.ZJ)(re==null?void 0:re.src);z.current.src="",z.current.src=_e,z.current.onload=function(){Ce()},he(!1),ve("")}),we=_e=>se(void 0,null,function*(){he(!0),ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ee=yield(0,ae.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:re.title,file:_e.dataUrl}});Ee!=null&&Ee.id&&!ee?(yield(0,ae.ZP)(`/api/attachments/${re.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ee==null?void 0:Ee.id,settings:JSON.stringify(_e.state)}})).status===0&&x():Ee!=null&&Ee.id&&x(Ee),he(!1),ve("")}),xe=()=>{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(De=>{const Oe=document.querySelector(De.name);Oe&&Oe.setAttribute("title",De.title)})},Ce=()=>{ce.current=new le.hP(z.current),ce.current.targetRoot=ge.current,ce.current.addEventListener("render",we),ce.current.addEventListener("beforeclose",y),b&&(ce.current.availableMarkerTypes=ce.current.ALL_MARKER_TYPES,ce.current.uiStyleSettings.redoButtonVisible=!0,ce.current.uiStyleSettings.notesButtonVisible=!0,ce.current.uiStyleSettings.zoomButtonVisible=!0,ce.current.uiStyleSettings.zoomOutButtonVisible=!0,ce.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ce.current.uiStyleSettings,ce.current.show(),re!=null&&re.snapshotData&&ce.current.restoreState(re.snapshotData),setTimeout(()=>{window.scrollTo(0,0),xe()},300)};return be.createElement(be.Fragment,null,(re==null?void 0:re.visible)&&be.createElement(de.Z,{spinning:pe,tip:ye,style:{position:"absolute",width:"100vw"}},be.createElement("div",{ref:ge,className:me()(Be.imageDimensions,ne,te?Be.fullWidth:""),style:a},be.createElement("img",{className:Be.img,ref:z}))))}},41588:function(dt,st,Se){"use strict";var be=Se(59301),Be=Se(95237),E=Se(43604),me=Se(99313),de=Se(3113),le=Se(85149),ae=Se(88010),oe=Se(48136),se=Se(59301);const ue=(0,be.forwardRef)(({callback:ie,showSaveButton:re,value:ne=""},te)=>{const a=(0,be.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=ce=>{a.current.setValue(a.current.getValue()+" "+ce.value+" ")},ee=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:se.createElement(Be.Z,{className:ae.Z.lists,gutter:[10,10]},y.map((ce,fe)=>se.createElement(E.Z,{flex:"110px",className:ae.Z.item},se.createElement("div",null,se.createElement(le.Z,{value:`$$${ce.value}$$`}),ce.name),se.createElement("div",{className:ae.Z.children},ce.children.map((ge,pe)=>se.createElement("div",{key:pe},se.createElement("h1",null,ge.name),se.createElement(Be.Z,{gutter:[10,10]},ge.data.map((he,ye)=>se.createElement(E.Z,{key:ye,onClick:()=>b(he),className:ae.Z.diamond},se.createElement(le.Z,{value:"`$$"+he.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:se.createElement(Be.Z,{className:ae.Z.lists,gutter:[10,10]},x.map((ce,fe)=>se.createElement(E.Z,{flex:"110px",className:ae.Z.item},se.createElement("div",null,se.createElement(le.Z,{value:"`$$"+ce.value+"$$`"}),ce.name),se.createElement("div",{className:ae.Z.children},ce.children.map((ge,pe)=>se.createElement("div",{key:pe},ge.name&&se.createElement("h1",null,ge.name),se.createElement(Be.Z,{gutter:[10,10]},ge.data.map((he,ye)=>se.createElement(E.Z,{key:ye,onClick:()=>b(he),className:ae.Z.diamond},se.createElement(le.Z,{value:"`$$"+he.value+"$$`"}))))))))))}],z=()=>{var ce=document.createElement("div");ce.innerHTML=a.current.getValue();var fe=ce.innerText;return ie&&ie(fe),fe};return(0,be.useImperativeHandle)(te,()=>({getData:z})),se.createElement("div",{className:ae.Z.mathWrap},se.createElement(me.default,{defaultActiveKey:"1",items:ee}),se.createElement("math-field",{locale:"zh_cn",className:ae.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},ne||""),re&&se.createElement("div",{className:ae.Z.button},se.createElement(de.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});st.Z=ue},8797:function(dt,st,Se){"use strict";var be=Se(59301),Be=Se(93314),E=Se(3113),me=Object.defineProperty,de=Object.defineProperties,le=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,oe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ue=(te,a,y)=>a in te?me(te,a,{enumerable:!0,configurable:!0,writable:!0,value:y}):te[a]=y,ie=(te,a)=>{for(var y in a||(a={}))oe.call(a,y)&&ue(te,y,a[y]);if(ae)for(var y of ae(a))se.call(a,y)&&ue(te,y,a[y]);return te},re=(te,a)=>de(te,le(a));const ne=({img:te,buttonProps:a={},styles:y={},customText:x,ButtonText:b,ButtonClick:ee,Buttonclass:z,ButtonTwo:ce,imgStyles:fe,loading:ge=!1})=>be.createElement("section",{className:"tc animated fadeIn",style:ie(ie({},{color:"#999",margin:"100px auto",visibility:ge?"hidden":"visible"}),y)},be.createElement("img",{src:te||Be,style:re(ie({},fe),{pointerEvents:"none",userSelect:"none"})}),be.createElement("p",{className:"mt20 font14"},x||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),b&&be.createElement(E.ZP,ie({className:z,onClick:ee},a),b),ce&&ce);st.Z=ne},23210:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return z}});var be=Se(59301),Be={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},E=Se(3113),me=Se(70557),de=Se(23954),le=Se(6848),ae=Se(955),oe=Se(94941),se=Se(8797),ue=Se(3294),ie=Se(19381),re=Se(59301),ne=Object.defineProperty,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(ce,fe,ge)=>fe in ce?ne(ce,fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):ce[fe]=ge,b=(ce,fe)=>{for(var ge in fe||(fe={}))a.call(fe,ge)&&x(ce,ge,fe[ge]);if(te)for(var ge of te(fe))y.call(fe,ge)&&x(ce,ge,fe[ge]);return ce},ee=(ce,fe,ge)=>new Promise((pe,he)=>{var ye=we=>{try{Pe(ge.next(we))}catch(xe){he(xe)}},ve=we=>{try{Pe(ge.throw(we))}catch(xe){he(xe)}},Pe=we=>we.done?pe(we.value):Promise.resolve(we.value).then(ye,ve);Pe((ge=ge.apply(ce,fe)).next())}),z=({editOffice:ce="view",data:fe,theme:ge,type:pe,filename:he,monacoEditor:ye,className:ve,style:Pe,close:we,onClose:xe,hasMask:Ce,disabledDownload:_e,onImgDimensions:Ee,showNodata:De,recordInfo:Oe})=>{const[Ue,Te]=(0,be.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[Je,Ze]=(0,be.useState)(""),[Ye,Qe]=(0,be.useState)(),Ne=window.ENV==="build"?"/react/build":"",Fe=location.host.startsWith("localhost")?ue.Z.PROXY_SERVER:ue.Z.API_SERVER,Ge=10*(1024*1024),qe=(0,be.useRef)();fe!=null&&fe.startsWith("/api")&&pe!=="txt"&&(fe=ue.Z.API_SERVER+fe);const rt=He=>He.substring(He.lastIndexOf("/")+1).split(".").pop();he&&ye&&(ye.filename=he),(0,be.useEffect)(()=>{var He,Le;const Ve=(Le=(He=document.cookie)==null?void 0:He.replace(/\s/g,""))==null?void 0:Le.split(";");Ve==null||Ve.map(it=>{let tt=it.split("=");tt[0]==="_educoder_session"&&Ze(tt[1])})},[]),(0,be.useEffect)(()=>{pe==="office"&&(fe.indexOf("bigfilescdn.")>-1||fe.indexOf("bigfiles1")>-1?Qe({url:fe,fileType:rt(fe),model:fe.indexOf("model=edit")?"edit":"view"}):We())},[pe,fe]);const We=()=>ee(void 0,null,function*(){console.log("data:",fe);let He=fe;fe.startsWith("http")||(He=location.origin+He);let Le=new URL(He).pathname.split("/").pop();const Ve=yield(0,oe.gJ)({attachment_id:Le});Ve.url=Fe+Ve.url,Qe(Ve)}),ze=()=>{if(fe.startsWith("http")||fe.startsWith("blob:")){Ie();return}(0,ae.Sv)(he||"educoder",fe,he)},Ie=()=>{Oe&&(0,ie.fc)({id:Oe==null?void 0:Oe.id,watch_type:1,course_id:Oe==null?void 0:Oe.course_id}),(0,ae.Nd)(he||"educoder",decodeURIComponent(fe))};return re.createElement("div",{style:b({},Pe||{}),className:`${Ce&&Be.bgBlack} ${pe?Be.wrp:"hide"}`},we&&re.createElement("div",{className:Be.close,ref:qe},!!Ee&&re.createElement(le.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>qe.current},re.createElement("span",{onClick:()=>{xe(),Ee()}},re.createElement("i",{className:"icon-yulanpizhu"}))),!_e&&re.createElement(le.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>qe.current},re.createElement("span",{onClick:Ie},re.createElement("i",{className:"icon-quxiaozhiding"}))),re.createElement(le.Z,{title:"\u5173\u95ED",getPopupContainer:()=>qe.current},re.createElement("span",{className:"",onClick:xe},re.createElement("i",{className:"icon-guanbi1"})))),re.createElement("div",{className:`${Be[ve]} ${ve} ${Be.monaco} ${pe==="txt"?"show":"hide"}`},pe==="txt"&&re.createElement(re.Fragment,null,re.createElement(de.ZP,b({},ye)))),pe==="audio"&&re.createElement("audio",{src:`${(fe==null?void 0:fe.indexOf("http://"))>-1||(fe==null?void 0:fe.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${fe}`,autoPlay:!0}),pe==="video"&&re.createElement(re.Fragment,null,(fe==null?void 0:fe.indexOf("http"))>-1?re.createElement("video",{controls:!0,src:`${fe}`,autoPlay:!0}):re.createElement("video",{controls:!0,src:`data:video/mp4;base64,${fe}`,autoPlay:!0})),pe==="office"&&Ye&&re.createElement("iframe",{src:`${Ne}/office.html?key=${Ye.key}&url=${btoa(Ye.url)}&callbackUrl=${Fe+(Ye.callbackUrl||"")}&fileType=${Ye.fileType}&title=${Ye.title||""}&model=${ce}&officeServer=${ue.Z.ONLYOFFICE}&disabledDownload=${!!_e}`}),pe==="html"&&re.createElement("iframe",{src:fe+"&disposition=inline"}),pe==="pdf"&&re.createElement("iframe",{src:`${Ne}/js/pdfview/index.html?filename=${he||"educoder.pdf"}&url=${encodeURIComponent(fe)}&disabledDownload=${!!_e}`}),pe==="image"&&re.createElement("img",{src:`${(fe==null?void 0:fe.indexOf("http://"))>-1||(fe==null?void 0:fe.indexOf("https://"))>-1?"":"data:image/png;base64,"}${fe}`}),(pe==="other"||pe==="download")&&re.createElement(re.Fragment,null,De?re.createElement(se.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:ze,disabled:_e},"\u4E0B\u8F7D")}):re.createElement(E.ZP,{type:"primary",size:"middle",onClick:ze,disabled:_e},re.createElement(me.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(dt,st,Se){"use strict";Se.d(st,{z:function(){return pe},Z:function(){return he}});var be=Se(59301),Be=Se(50304),E=Se(24768),me=Se(64018),de=Se(40846),le=Se(3294),ae=Se(955),oe=Se(15342),se=Se(1012),ue=Se(23210),ie=Se(59301),ne=({html:ye})=>{const ve=(0,be.useRef)(null),Pe=(0,be.useRef)(null),we=`.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,be.useEffect)(()=>{const xe=ve.current.attachShadow({mode:"open"});Pe.current=document.createElement("div"),Pe.current.className="markdown-body",Pe.current.innerHTML=ye,xe.appendChild(Pe.current);const Ce=document.createElement("style");return Ce.textContent=we,xe.appendChild(Ce),()=>{xe.innerHTML=""}},[]),(0,be.useEffect)(()=>{Pe.current&&(Pe.current.innerHTML=ye)},[ye]),ie.createElement("div",{ref:ve})},te=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ye,ve,Pe)=>ve in ye?te(ye,ve,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ye[ve]=Pe,ee=(ye,ve)=>{for(var Pe in ve||(ve={}))y.call(ve,Pe)&&b(ye,Pe,ve[Pe]);if(a)for(var Pe of a(ve))x.call(ve,Pe)&&b(ye,Pe,ve[Pe]);return ye};const z="@\u2581\u2581@",ce="@\u2581@",fe=/]*>/g;function ge(ye){let ve=document.createElement("div");return ve.innerHTML=ye,ve.childNodes.length===0?"":ve.childNodes[0].nodeValue}const pe=(ye,ve)=>{ye=ye||"";const Pe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,we=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,xe=/\(\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?ye.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Pe,(_e,Ee,De,Oe,Ue,Te,Je)=>{const Ze=Ee||Oe||Te,Ye=De||Ue||Je||"?";return le.Z.API_SERVER+"/api/attachments/"+Ze+Ye+"&t="+(0,ae.Jn)(Ze,Date.now())+(_e.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ye=ye.replace(Ce,(_e,Ee,De,Oe,Ue,Te,Je)=>{const Ze=Ee||Oe||Te,Ye=De||Ue||Je||"?";return le.Z.API_SERVER+"/attachments/download/"+Ze+Ye+"&t="+(0,ae.Jn)(Ze,Date.now())+(_e.indexOf(")")>-1?")":"&")}).replace(Pe,(_e,Ee,De,Oe,Ue,Te,Je)=>{const Ze=Ee||Oe||Te,Ye=De||Ue||Je||"?";return le.Z.API_SERVER+"/api/attachments/"+Ze+Ye+"&t="+(0,ae.Jn)(Ze,Date.now())+(_e.indexOf(")")>-1?")":"&")}).replace(we,(_e,Ee,De,Oe,Ue)=>{const Te=Ee||Oe,Je=De||Ue||"";return'"'+le.Z.API_SERVER+"/api/attachments/"+Te+Je+Te+Je+"&t="+(0,ae.Jn)(Te,Date.now())}).replace(xe,(_e,Ee,De,Oe,Ue)=>{const Te=Ee||Oe,Je=De||Ue||"";return"("+le.Z.API_SERVER+"/files/uploads/"+Te+Je+Te+Je+"&t="+(0,ae.Jn)(Te,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,` `),ye)};var he=({value:ye="",className:ve,showTextOnly:Pe,showLines:we,style:xe={},stylesPrev:Ce={},highlightKeywords:_e,showProgramFill:Ee,isProgramFill:De,disabledFill:Oe=!1,programFillValue:Ue,onFillChange:Te=Ye=>{},onFillBlur:Je=()=>{},onFillFocus:Ze=()=>{}})=>{let Ye=String(ye);const[Qe,Ne]=(0,be.useState)(""),[Fe,Re]=(0,be.useState)("office"),[Ge,qe]=(0,be.useState)([]),rt=(0,be.useRef)("a"+(0,se.Z)()),We={},ze=(Ke,nt,$e)=>{const et=document.createElement(Ke===ce?"input":"textarea");et.style.width="100%",et.style.height=Ke===ce?"40px":"151px",et.rows=5,et.spellcheck=!1,et.name="edu-program-fill",et.placeholder="\u8BF7\u8F93\u5165",et.dataset.id=nt;const lt=Object.keys(We).length;return We[lt]=et,`${et.outerHTML}`};function Ie(Ke){return Ke=Ke.replace(/!\[.*?\]\(.*?\)/g,""),Ke=Ke.replace(/\[.*?\]\(.*?\)/g,""),Ke=Ke.replace(new RegExp("","gs"),""),Ke=Ke.replace(//g,""),Ke=Ke.replace(//g,""),Ke=Ke.replace(new RegExp(".*?<\\/video>","gs"),""),Ke=Ke.replace(new RegExp(".*?<\\/audio>","gs"),""),Ke=Ke.replace(new RegExp(".*?<\\/style>","gs"),""),Ke=Ke.replace(new RegExp(".*?<\\/script>","gs"),""),Ke}const He=Ke=>Ke.replace(/([\s\S]+?)<\/style>/gim,function(nt,$e){let et=$e.replace(/(\n|\r)/g,"").split("}"),lt=[];return et.map(ot=>{ot!=""&<.push(`.${rt.current} ${ot}`)}),``}),Le=(0,be.useMemo)(()=>{try{const et=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,lt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,ot=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,ut=/\(\/attachments\/download\//g;Ye=Ye.replace(ut,"("+le.Z.API_SERVER+"/attachments/download/").replace(et,"("+le.Z.API_SERVER+"/api/attachments/").replace(lt,'"'+le.Z.API_SERVER+"/api/attachments/").replace(ot,'"'+le.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(et){}if(Ee){let et=-1;return Ye=Ye.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(lt,ot,ut){var at;return++et,ze(lt,et,(at=Ue==null?void 0:Ue[et])==null?void 0:at.value.replaceAll("<","<").replaceAll(">",">"))}),`
${He(Ye||"")}
`}let Ke=He(Ye);Ke=(0,E.ZP)(Ke);const nt=(0,E.ez)();Ye.match(/\[TOC\]/)&&(Ke=Ke.replace("

[TOC]

",(0,E.Qv)()),(0,E.Iy)()),Ke=Ke.replace(/(__special_katext_id_\d+__)/g,(et,lt)=>{const{type:ot,expression:ut}=nt[lt];return(0,oe.renderToString)(ge(ut)||"",{displayMode:ot==="block",throwOnError:!1,output:"html"})}),Ke=Ke.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,E.AL)();const $e=document.createElement("div");if($e.innerHTML=Ke,Pe)return $e.innerText;if(_e){const et=_e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Xe($e,et),$e.innerHTML}return setTimeout(()=>je(),500),$e.innerHTML},[Ye,_e]);(0,be.useEffect)(()=>{Me.current&&Me.current.querySelectorAll(["input","textarea"]).forEach(nt=>{nt.oninput=Ve,nt.onblur=it,nt.onfocus=tt})},[Ge]),(0,be.useEffect)(()=>{var Ke,nt,$e,et,lt;if(Ue!=null&&Ue.length)try{const ot=Me.current.querySelectorAll(".edu-program-fill-score"),ut=Me.current.querySelectorAll('[name="edu-program-fill"]');for(const[at,ct]of ut.entries())ct.value=((Ke=Ue==null?void 0:Ue[at])==null?void 0:Ke.value)||"",((nt=Ue==null?void 0:Ue[at])==null?void 0:nt.type)==="warning"?ct.className="program-fill-warning":(($e=Ue==null?void 0:Ue[at])==null?void 0:$e.type)==="success"?ct.className="program-fill-success":ct.className="";for(const[at,ct]of ot.entries())ct.innerHTML=(et=Ue==null?void 0:Ue[at])!=null&&et.score?`${(lt=Ue==null?void 0:Ue[at])==null?void 0:lt.score}\u5206`:"";qe(Ue)}catch(ot){console.log(ot,"error")}},[Ue]);const Ve=Ke=>{Ge[Ke.target.dataset.id]=Ge[Ke.target.dataset.id]||{},Ge[Ke.target.dataset.id].value=Ke.target.value,qe([...Ge]),Te(Ge,Ke.target.dataset.id)},it=Ke=>{Ge[Ke.target.dataset.id]=Ge[Ke.target.dataset.id]||{},Ge[Ke.target.dataset.id].value=Ke.target.value,qe([...Ge]),Je(Ge,Ke.target.dataset.id)},tt=Ke=>{Ge[Ke.target.dataset.id]=Ge[Ke.target.dataset.id]||{},Ge[Ke.target.dataset.id].value=Ke.target.value,qe([...Ge]),Ze(Ge,Ke.target.dataset.id)};function Xe(Ke,nt){return Ke.childNodes.forEach($e=>{var et;if($e.childNodes.length>0)Xe($e,nt);else if($e.nodeName!=="IMG")if($e.innerHTML)$e.innerHTML=(et=$e.innerHTML)==null?void 0:et.replace(new RegExp(nt,"gi"),'$&');else{const lt=document.createElement("span");lt.innerHTML=$e.textContent.replace(new RegExp(nt,"gi"),'$&'),$e.replaceWith(lt)}})}const Me=(0,be.useRef)();E.jb.WebkitLineClamp=we,we&&(xe=ee(ee({},xe),E.jb));function Ae(Ke){let nt=Ke.target;if(nt.tagName.toUpperCase()==="A"){let $e=nt.getAttribute("href");if($e.indexOf("office")>-1)Ke.preventDefault(),Ne($e),Re("office");else if($e.indexOf("application/pdf")>-1)Ke.preventDefault(),Ne($e),Re("pdf");else if($e.indexOf("text/html")>-1)Ke.preventDefault(),Ne($e),Re("html");else if($e.startsWith("#")){Ke.preventDefault();let et=document.getElementById($e.replace("#",""));et&&et.scrollIntoView(!0)}}}const je=()=>{var Ke;const nt=(Ke=Me.current)==null?void 0:Ke.querySelectorAll("video");nt==null||nt.forEach($e=>{if($e.oncontextmenu=()=>!1,$e.src.indexOf(".m3u8")>-1&&!$e.canPlayType("application/vnd.apple.mpegurl")){if(de.ZP.isSupported()){var et=new de.ZP;et.loadSource($e.src),et.attachMedia($e)}}})};(0,be.useEffect)(()=>{if(Me.current&&Le&&Le.match(fe)&&window.PR.prettyPrint(),Me.current)return Me.current.addEventListener("click",Ae),()=>{var Ke;(Ke=Me.current)==null||Ke.removeEventListener("click",Ae),(0,E.AL)(),(0,E.Iy)()}},[Le,Me.current,Ae]),(0,be.useEffect)(()=>{var Ke;const nt=$e=>{$e.preventDefault(),$e.clipboardData.setData("text",window.getSelection().toString())};return(Ke=Me.current)==null||Ke.addEventListener("copy",nt),()=>{var $e;($e=Me.current)==null||$e.removeEventListener("copy",nt)}},[Me.current]);const ke=Ke=>//i.test(Ke||"");return be.createElement(be.Fragment,null,Pe&&be.createElement("div",{ref:Me},Le),!Pe&&!ke(Le)&&be.createElement("div",{ref:Me,style:ee({},xe),className:`${ve||""} ${Oe?"disabled-fill":""} markdown-body ${rt.current}`,dangerouslySetInnerHTML:{__html:Le}}),!Pe&&ke(Le)&&be.createElement(ne,{html:Le}),be.createElement(ue.Z,{close:!0,data:Qe,type:Qe!=null&&Qe.length?Fe:"",style:ee({},Ce),onClose:()=>Ne("")}))}},33538:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return me}});var be=Se(89070),Be={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=Se(59301),me=({message:de,className:le,children:ae,style:oe={}})=>E.createElement("div",{className:`custom-spinner ${Be.idsRingWrapper} ${le}`},E.createElement("div",{className:Be.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),de?E.createElement("p",{style:oe},de):null,ae,E.createElement(be.Outlet,null))},17064:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return me}});var be=Se(59301),Be=Se(34604),E=Se(59301),me=({defaultX:de="40%",leftChild:le,rightChild:ae,className:oe,hideResize:se=!1})=>{const[ue,ie]=(0,be.useState)(de),re=(0,be.useRef)();function ne(){re.current=!0}(0,be.useEffect)(()=>{function y(b){re.current&&(Be.Z.publish("resize-move-bar",b),ie(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 ue=="number"&&ue!==.01?`${ue}px`:de,a=`calc(100% - ${se?"0px":"4px"} - ${te})`;return E.createElement("div",{className:`split-panel-container ${oe}`},E.createElement("section",{style:{width:te,display:ue===.01?"none":""}},le),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}},ae))}},13787:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return le}});var be=Se(59301),Be={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),me=Se.n(E),le=({className:ae,style:oe={},leftNode:se,leftTitle:ue="\u81EA\u6D4B\u8F93\u5165",rightNode:ie,rightTitle:re="\u8FD0\u884C\u7ED3\u679C"})=>be.createElement("div",{className:me()(Be.result,ae),style:oe},be.createElement("div",{className:Be.left},be.createElement("div",{className:Be.title},be.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),be.createElement("span",null,ue)),be.createElement("div",{className:Be.leftNode},se)),be.createElement("div",{className:Be.right},be.createElement("div",{className:Be.title},be.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),be.createElement("span",null,re)),be.createElement("div",{className:Be.rightNode},ie)))},19105:function(dt,st,Se){"use strict";var be=Se(59301);const Be=me=>String(me).length===1?`0${me}`:me,E=({className:me="",onChange:de,defaultValue:le=0})=>{const[ae,oe]=(0,be.useState)(le);(0,be.useEffect)(()=>{const re=setTimeout(()=>{oe(ae+1e3)},1e3);return de(ae+1e3),()=>{clearInterval(re)}},[ae]);const se=parseInt(ae/(60*6e4))||"00",ue=parseInt(ae%(60*6e4)/6e4)||"00",ie=parseInt(ae%6e4/1e3)||"00";return be.createElement("div",{className:me},Be(se),":",Be(ue),":",Be(ie))};st.Z=E},81939:function(dt,st,Se){"use strict";Se.d(st,{cT:function(){return ye},pe:function(){return ge}});var be=Se(59301),Be=Se(54580),E=Se(8591),me=Se(99064),de=Se(28209),le=Se.n(de),ae=Se(1012),oe=Se(89070),se=Se(47257),ue=Se.n(se),ie=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(Pe,we,xe)=>we in Pe?ie(Pe,we,{enumerable:!0,configurable:!0,writable:!0,value:xe}):Pe[we]=xe,b=(Pe,we)=>{for(var xe in we||(we={}))a.call(we,xe)&&x(Pe,xe,we[xe]);if(te)for(var xe of te(we))y.call(we,xe)&&x(Pe,xe,we[xe]);return Pe},ee=(Pe,we)=>re(Pe,ne(we)),z=(Pe,we)=>{var xe={};for(var Ce in Pe)a.call(Pe,Ce)&&we.indexOf(Ce)<0&&(xe[Ce]=Pe[Ce]);if(Pe!=null&&te)for(var Ce of te(Pe))we.indexOf(Ce)<0&&y.call(Pe,Ce)&&(xe[Ce]=Pe[Ce]);return xe},ce=(Pe,we,xe)=>new Promise((Ce,_e)=>{var Ee=Ue=>{try{Oe(xe.next(Ue))}catch(Te){_e(Te)}},De=Ue=>{try{Oe(xe.throw(Ue))}catch(Te){_e(Te)}},Oe=Ue=>Ue.done?Ce(Ue.value):Promise.resolve(Ue.value).then(Ee,De);Oe((xe=xe.apply(Pe,we)).next())});const{Dragger:fe}=Be.default,ge=Pe=>{const we="bf3c199c2470cb477d907b1e0917c17b",xe="5183666c72eec9e4";var Ce=le().enc.Utf8.parse(we);let _e=le().enc.Utf8.parse(xe);var Ee=le().AES.decrypt(Pe,Ce,{iv:_e,mode:le().mode.CBC});return Ee.toString(le().enc.Utf8)};let pe;const he=Pe=>ce(void 0,[Pe],function*({identifier:we,oldFilename:xe,newFilename:Ce}){var _e,Ee,De,Oe,Ue,Te;const Je=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});Je.data=JSON.parse(ge(Je.data));const Ze=new OSS({endpoint:(_e=Je==null?void 0:Je.data)==null?void 0:_e.end_point,region:(Ee=Je==null?void 0:Je.data)==null?void 0:Ee.region,accessKeyId:(De=Je==null?void 0:Je.data)==null?void 0:De.access_key_id,accessKeySecret:(Oe=Je==null?void 0:Je.data)==null?void 0:Oe.access_key_secret,bucket:(Ue=Je==null?void 0:Je.data)==null?void 0:Ue.bucket,stsToken:(Te=Je==null?void 0:Je.data)==null?void 0:Te.security_token});return new Promise((Ye,Qe)=>{console.log(11111,`${we}/${xe}`,`${we}/${Ce}`,Je.data),Ze.copy(`/${we}/${xe}`,`/${we}/${Ce}`).then(Ne=>{console.log("\u62F7\u8D1D\u6210\u529F",Ne)}).catch(Ne=>{console.log(Ne)})})}),ye=(Pe,we,xe)=>ce(void 0,null,function*(){var Ce,_e,Ee,De,Oe,Ue;we.file_name=Pe.name;const Te=yield(0,me.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",ge(Te.data)),Te.data=JSON.parse(ge(Te.data));const Je=Pe.name.split(".");Je.pop();const Ze=we.realFileName?Je.join(""):(0,ae.Z)(),Ye=new(ue())({endpoint:(Ce=Te==null?void 0:Te.data)==null?void 0:Ce.end_point,region:(_e=Te==null?void 0:Te.data)==null?void 0:_e.region,accessKeyId:(Ee=Te==null?void 0:Te.data)==null?void 0:Ee.access_key_id,accessKeySecret:(De=Te==null?void 0:Te.data)==null?void 0:De.access_key_secret,bucket:(Oe=Te==null?void 0:Te.data)==null?void 0:Oe.bucket,stsToken:(Ue=Te==null?void 0:Te.data)==null?void 0:Ue.security_token});return new Promise((Qe,Ne)=>{var Fe;Ye.multipartUpload(`${Ze}`,new Blob([Pe],{type:Pe.type}),ee(b({timeout:200*1e3,partSize:102400},xe),{callback:{url:(Fe=Te==null?void 0:Te.data)==null?void 0:Fe.callback_url,host:Te==null?void 0:Te.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,me.rz)(we)}})).then(function(Re){var Ge;Pe.response=(Ge=Re.data)==null?void 0:Ge.data,Qe(Re==null?void 0:Re.data)}).catch(function(Re){Ne(Re),console.log("err:",Re)})})}),ve=Pe=>{var we=Pe,{user:xe,cancelUpload:Ce}=we,_e=z(we,["user","cancelUpload"]);const[Ee,De]=(0,be.useState)([]);let[Oe,Ue]=(0,be.useState)();const Te={onRemove:Ze=>{De([...Ee.filter(Ye=>Ye.name!==Ze.name)]),_e.onChange(Ee.filter(Ye=>Ye.name!==Ze.name))},disabled:_e.disabled,multiple:!0,fileList:Ee==null?void 0:Ee.map(Ze=>Ze.file),customRequest:()=>{},beforeUpload:Ze=>ce(void 0,null,function*(){let Ye=_e.maxSize||1073741824;if(Ee.filter(Qe=>Qe.name===Ze.name).length){E.ZP.info(`${Ze.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(Ze==null?void 0:Ze.size)>Ye?(E.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${Ye/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(Ee.push({name:Ze.name,file:Ze}),De([...Ee]),_e.onChange(Ee),!1)})},Je=(Ze,Ye)=>ce(void 0,null,function*(){var Qe,Ne,Fe,Re,Ge,qe;Ye.file_name=Ze.name;const rt=Ze.name,We=yield(0,me.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(We.data=JSON.parse(ge(We.data)),(We==null?void 0:We.status)!==0){Ee[Ee.findIndex(He=>He.name===rt)].status="error",Ee[Ee.findIndex(He=>He.name===rt)].file.status="error",_e.onChange(Ee),E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}Oe=new(ue())({endpoint:(Qe=We==null?void 0:We.data)==null?void 0:Qe.end_point,region:(Ne=We==null?void 0:We.data)==null?void 0:Ne.region,accessKeyId:(Fe=We==null?void 0:We.data)==null?void 0:Fe.access_key_id,accessKeySecret:(Re=We==null?void 0:We.data)==null?void 0:Re.access_key_secret,bucket:(Ge=We==null?void 0:We.data)==null?void 0:Ge.bucket,stsToken:(qe=We==null?void 0:We.data)==null?void 0:qe.security_token}),console.log(Ze,"file"),Ue(Oe);const ze=Ze.name.split(".");ze.pop();const Ie=rt.indexOf(".")>-1?Ye.realFileName?ze.join("."):(0,ae.Z)():rt;return new Promise((He,Le)=>{var Ve;try{Oe.multipartUpload(`${_e.identifier}/${Ie}${rt.indexOf(".")>-1?"."+rt.split(".").pop():""}`,new Blob([Ze.file],{type:Ze.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(it,tt,Xe)=>{try{console.log("\u8FDB\u5EA6",it,tt,Xe);const Me=Ee.findIndex(Ae=>Ae.name===rt);Ee[Me].file.percent=it*100,Ee[Me].tempCheckpoint=tt,De([...Ee])}catch(Me){}},checkpoint:Ee[Ee.findIndex(it=>it.name===rt)].tempCheckpoint,callback:{customValue:{id:rt+""},url:(Ve=We==null?void 0:We.data)==null?void 0:Ve.callback_url,host:We==null?void 0:We.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,me.rz)(Ye)}}).then(function(it){var tt,Xe,Me;const Ae=Ee.findIndex(ke=>ke.name===rt);let je="done";if(((tt=it.data)==null?void 0:tt.status)===0){Ze.response=(Xe=it.data)==null?void 0:Xe.data;const ke=Ee.findIndex(Ke=>Ke.name===rt);Ee[ke].status="done",Ee[ke].file.status="done"}else E.ZP.warning((Me=it.data)==null?void 0:Me.message),je="error";Ee[Ae].status=je,Ee[Ae].file.status=je,_e.onChange(Ee),He(it==null?void 0:it.data)}).catch(function(it){Ee[Ee.findIndex(tt=>tt.name===rt)].status="error",Ee[Ee.findIndex(tt=>tt.name===rt)].file.status="error",E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),De([...Ee]),_e.onChange(Ee),Le(it),console.log("err:",it)})}catch(it){}})});return(0,be.useEffect)(()=>{Ee.every(Ze=>Ze==="done"||Ze==="error")&&_e.onComplete(Ee)},[Ee]),(0,be.useEffect)(()=>{Ce&&(Oe==null||Oe.cancel())},[Ce]),(0,be.useEffect)(()=>{_e.uploading&&Ee.map(Ze=>ce(void 0,null,function*(){var Ye;if((!Ze.status||Ze.status==="error")&&!Ce){Ze.status="uploading",Ze.file.status="uploading";const Qe=yield Je(Ze,{login:(Ye=xe==null?void 0:xe.userInfo)==null?void 0:Ye.login,container_type:_e.container_type,container_id:_e.container_id,description:_e.description,realFileName:_e.realFileName})}}))},[_e.uploading]),be.createElement(fe,ee(b({},Te),{height:_e.height,className:_e.className}),be.createElement("p",{className:"ant-upload-hint"},_e.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};st.ZP=(0,oe.connect)(({loading:Pe,globalSetting:we,user:xe})=>({globalSetting:we,loading:Pe.models.competitions,user:xe}))(ve)},61398:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return me}});var be=Se(59301),Be=Se(34604),E=Se(11611),me=()=>{const[de,le]=(0,be.useState)(""),[ae,oe]=(0,be.useState)(0);let[se,ue]=(0,be.useState)(),[ie,re]=(0,be.useState)();const[ne,te]=(0,be.useState)(!1),a=(0,be.useRef)("");(0,be.useEffect)(()=>Be.Z.subscribe("preview-image",ye=>{le(ye),console.log(ge.current),document.body.style.overflow="hidden"}),[]),(0,be.useEffect)(()=>(document.addEventListener("keydown",y),()=>{document.removeEventListener("keydown",y)}),[]),(0,be.useEffect)(()=>{a.current=de},[de]);function y(he){he.keyCode==27&&a.current&&x()}function x(){document.body.style.overflow="auto",ue(void 0),re(void 0),oe(0),le("")}function b(){oe(ae+90)}function ee(){se=ge.current.width*1.1,ie=ge.current.height*1.1,re(ie),ue(se)}function z(){se=ge.current.width/1.1,ie=ge.current.height/1.1,re(ie),ue(se)}const ce=(0,be.useRef)(),fe=(0,be.useRef)(),ge=(0,be.useRef)(),pe=he=>{(he.nativeEvent.target===ce.current||he.nativeEvent.target===fe.current)&&x()};return be.createElement(be.Fragment,null,de?be.createElement("div",null,be.createElement("div",{className:"preview-wrp-group",ref:fe},be.createElement(E.Z,{className:"image-preview",src:de,style:{display:"none"},preview:{visible:!0,src:de,movable:!1,onVisibleChange:he=>{le("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},97692:function(dt,st,Se){"use strict";Se.d(st,{h:function(){return ce}});var be=Se(59301),Be=Se(57809),E=Se(78241),me=Se(3113),de=Se(89780),le=Se.n(de),ae=Se(37036),oe=Se(95625),se=Object.defineProperty,ue=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,a=(fe,ge,pe)=>ge in fe?se(fe,ge,{enumerable:!0,configurable:!0,writable:!0,value:pe}):fe[ge]=pe,y=(fe,ge)=>{for(var pe in ge||(ge={}))ne.call(ge,pe)&&a(fe,pe,ge[pe]);if(re)for(var pe of re(ge))te.call(ge,pe)&&a(fe,pe,ge[pe]);return fe},x=(fe,ge)=>ue(fe,ie(ge));const b=Be.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"]};st.Z=({callback:fe,onCancel:ge})=>{const[pe,he]=(0,be.useState)("python");function ye(Pe){he(z[Pe][1])}function ve(Pe){fe(Pe)}return be.createElement(E.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ve,style:{width:500}}),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},be.createElement(Be.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:ye},Object.keys(z).map(Pe=>be.createElement(b,{key:Pe,value:Pe},z[Pe][0])))),be.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},be.createElement(ce,{mode:pe})),be.createElement("div",{className:"flex-container flex-end"},be.createElement(me.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(me.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function ce({value:fe,onChange:ge,mode:pe,options:he={}}){const ye=(0,be.useRef)(),[ve,Pe]=(0,be.useState)();return(0,be.useEffect)(()=>{if(ve){let we=function(xe){const Ce=xe.getValue();ge&&ge(Ce)};return ve.on("change",we),()=>{ve.off("change",we)}}},[ve,ge]),(0,be.useEffect)(()=>{ve&&ve.setOption("mode",pe)},[ve,pe]),(0,be.useEffect)(()=>{ve&&(fe!==ve.getValue()||fe==="")&&setTimeout(()=>{ve.setValue(fe||"")},300)},[ve,fe]),(0,be.useEffect)(()=>{if(ye.current&&!ve){const we=le().fromTextArea(ye.current,y({mode:pe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},he));Pe(we)}},[ye.current,ve]),be.createElement("div",{className:"my-codemirror-container"},be.createElement("textarea",{ref:ye}))}},12290:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return hr}});var be=Se(59301),Be=Se(89780),E=Se.n(Be),me=Se(76374),de=Se(37036),le=Se(6313),ae=Se(25717),oe=Se(99498),se=Se(25419),ue=Se(67549),ie=Se(85149),re=({value:ht="",className:yt,showTextOnly:vt,showLines:It,style:Wt={}})=>{const Qt=(0,be.useMemo)(()=>"",[ht]);return be.createElement(be.Fragment,null,be.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=(ht,yt,vt)=>yt in ht?te(ht,yt,{enumerable:!0,configurable:!0,writable:!0,value:vt}):ht[yt]=vt,ce=(ht,yt)=>{for(var vt in yt||(yt={}))b.call(yt,vt)&&z(ht,vt,yt[vt]);if(x)for(var vt of x(yt))ee.call(yt,vt)&&z(ht,vt,yt[vt]);return ht},fe=(ht,yt)=>a(ht,y(yt));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 pe({onActionCallback:ht,title:yt,icon:vt,actionName:It,className:Wt="",children:Qt}){function an(){ht(It)}return ne.createElement("a",{title:yt,className:Wt,onClick:an},ne.createElement("i",{className:`${vt}`}),Qt)}var he=({watch:ht,showNullButton:yt,showNullProgramButton:vt,onActionCallback:It,fullScreen:Wt,insertTemp:Qt,hidetoolBar:an,extraUse:bn})=>{const jn=[...ge,{title:`${ht?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ht?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!an&&jn.map((Gn,tr)=>ne.createElement("li",{key:tr},Gn.actionName?ne.createElement(pe,fe(ce({},Gn),{onActionCallback:It})):ne.createElement("span",{className:"v-line"}))),yt?ne.createElement("li",null,ne.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:It},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,vt?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(pe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:It},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(pe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:It},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Qt&&ne.createElement("li",null,ne.createElement(pe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Qt}`,onActionCallback:It},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),bn&&ne.createElement("li",null,bn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(pe,{icon:`${Wt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Wt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:It})))},ye=Se(79346),ve=Se(78241),Pe=Se(92832),we=Se(3113),xe=Object.defineProperty,Ce=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,Ee=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Ue=(ht,yt,vt)=>yt in ht?xe(ht,yt,{enumerable:!0,configurable:!0,writable:!0,value:vt}):ht[yt]=vt,Te=(ht,yt)=>{for(var vt in yt||(yt={}))De.call(yt,vt)&&Ue(ht,vt,yt[vt]);if(Ee)for(var vt of Ee(yt))Oe.call(yt,vt)&&Ue(ht,vt,yt[vt]);return ht},Je=(ht,yt)=>Ce(ht,_e(yt));const Ze={labelCol:{span:4},wrapperCol:{span:20}};var Ye=({callback:ht,onCancel:yt})=>{function vt(It){ht(It)}return be.createElement(ve.default,Je(Te({},Ze),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:vt,style:{width:500}}),be.createElement(ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},be.createElement(Pe.default,null)),be.createElement(ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},be.createElement(Pe.default,null)),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:yt},"\u53D6\u6D88")))},Qe=Se(97692),Ne=Se(28451),Fe=Se(43418),Re=Se(95237),Ge=Se(73524),qe=Se(59301),rt=({callback:ht,onCancel:yt})=>{const vt=document.createElement("canvas"),It=vt.getContext("2d");vt.width=1e3,vt.height=800,It.fillStyle="#ffffff",It.fillRect(0,0,vt.width,vt.height);const Wt=vt.toDataURL("image/png");return qe.createElement(Fe.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},qe.createElement(Re.Z,{style:{height:"100vh"}},qe.createElement(Ge.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Wt,visible:!0,title:String(Date.now())},onOk:Qt=>{ht({src:Qt.url})},onClose:yt})))},We=Se(12378);function ze(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(ze,go.CommandHandler),ze.prototype.canAlignSelection=function(){var ht=this.diagram;return!(ht===null||ht.isReadOnly||ht.isModelReadOnly||ht.selection.count<2)},ze.prototype.alignLeft=function(){var ht=this.diagram;ht.startTransaction("aligning left");var yt=1/0;ht.selection.each(function(vt){vt instanceof go.Link||(yt=Math.min(vt.position.x,yt))}),ht.selection.each(function(vt){vt instanceof go.Link||vt.move(new go.Point(yt,vt.position.y))}),ht.commitTransaction("aligning left")},ze.prototype.alignRight=function(){var ht=this.diagram;ht.startTransaction("aligning right");var yt=-1/0;ht.selection.each(function(vt){if(!(vt instanceof go.Link)){var It=vt.actualBounds.x+vt.actualBounds.width;yt=Math.max(It,yt)}}),ht.selection.each(function(vt){vt instanceof go.Link||vt.move(new go.Point(yt-vt.actualBounds.width,vt.position.y))}),ht.commitTransaction("aligning right")},ze.prototype.alignTop=function(){var ht=this.diagram;ht.startTransaction("alignTop");var yt=1/0;ht.selection.each(function(vt){vt instanceof go.Link||(yt=Math.min(vt.position.y,yt))}),ht.selection.each(function(vt){vt instanceof go.Link||vt.move(new go.Point(vt.position.x,yt))}),ht.commitTransaction("alignTop")},ze.prototype.alignBottom=function(){var ht=this.diagram;ht.startTransaction("aligning bottom");var yt=-1/0;ht.selection.each(function(vt){if(!(vt instanceof go.Link)){var It=vt.actualBounds.y+vt.actualBounds.height;yt=Math.max(It,yt)}}),ht.selection.each(function(vt){vt instanceof go.Link||vt.move(new go.Point(vt.actualBounds.x,yt-vt.actualBounds.height))}),ht.commitTransaction("aligning bottom")},ze.prototype.alignCenterX=function(){var ht=this.diagram,yt=ht.selection.first();if(yt){ht.startTransaction("aligning Center X");var vt=yt.actualBounds.x+yt.actualBounds.width/2;ht.selection.each(function(It){It instanceof go.Link||It.move(new go.Point(vt-It.actualBounds.width/2,It.actualBounds.y))}),ht.commitTransaction("aligning Center X")}},ze.prototype.alignCenterY=function(){var ht=this.diagram,yt=ht.selection.first();if(yt){ht.startTransaction("aligning Center Y");var vt=yt.actualBounds.y+yt.actualBounds.height/2;ht.selection.each(function(It){It instanceof go.Link||It.move(new go.Point(It.actualBounds.x,vt-It.actualBounds.height/2))}),ht.commitTransaction("aligning Center Y")}},ze.prototype.alignColumn=function(ht){var yt=this.diagram;yt.startTransaction("align Column"),ht===void 0&&(ht=0),ht=parseFloat(ht);var vt=new Array;yt.selection.each(function(bn){bn instanceof go.Link||vt.push(bn)});for(var It=0;It0){for(var bn=Qt.elt(an-1);bn!==null&&bn.isTreeExpanded&&!bn.isTreeLeaf;){var jn=this._sortTreeChildrenByY(bn);bn=jn.last()}bn!==null&&ht.select(bn)}else ht.select(Wt)}}else if(vt.key==="Down")if(yt.isTreeExpanded&&!yt.isTreeLeaf){var It=this._sortTreeChildrenByY(yt).first();It!==null&&ht.select(It)}else for(;yt!==null;){var Wt=yt.findTreeParentNode();if(Wt===null)break;var Qt=this._sortTreeChildrenByY(Wt),an=Qt.indexOf(yt);if(anQt.y?1:Wt.xQt.x?1:0}),yt},ze.prototype.copyToClipboard=function(ht){go.CommandHandler.prototype.copyToClipboard.call(this,ht),this._lastPasteOffset.set(this.pasteOffset)},ze.prototype.pasteFromClipboard=function(){var ht=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ht,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ht},Object.defineProperty(ze.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ht){if(ht!=="move"&&ht!=="select"&&ht!=="scroll"&&ht!=="tree"&&ht!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ht);this._arrowKeyBehavior=ht}}),Object.defineProperty(ze.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ht){if(!(ht instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ht);this._pasteOffset.set(ht)}});var Ie=ze,He=Se(74413),Le=Se(43604),Ve=Se(99064),it={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},tt=Se(24065),Xe=Se(59301),Me=(ht,yt,vt)=>new Promise((It,Wt)=>{var Qt=jn=>{try{bn(vt.next(jn))}catch(Gn){Wt(Gn)}},an=jn=>{try{bn(vt.throw(jn))}catch(Gn){Wt(Gn)}},bn=jn=>jn.done?It(jn.value):Promise.resolve(jn.value).then(Qt,an);bn((vt=vt.apply(ht,yt)).next())});function Ae({onCancel:ht,callback:yt}){let vt=(0,be.useRef)(),It=(0,be.useRef)(),Wt=(0,be.useRef)(),Qt=(0,be.useRef)(!1);const an=(0,be.useRef)(!1),[bn,jn]=(0,be.useState)(0);function Gn(){const Ot=We.bx.make,vn={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"};vt.current=new We.S0(It.current,{padding:20,grid:Ot(We.s_,"Grid",Ot(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ot(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Lt=>{var Ht=Lt.diagram.commandHandler.addTopLevelParts(Lt.diagram.selection,!0);Ht||Lt.diagram.currentTool.doCancel()},commandHandler:Ot(Ie),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Lt=>{var Ht=Lt.subject;Ht.location=Ht.location.copy().snapToGridPoint(Lt.diagram.grid.gridOrigin,Lt.diagram.grid.gridCellSize),setTimeout(()=>{Lt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Lt=>{var Ht=Lt.subject;setTimeout(()=>{Lt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Lt=>{var Ht=Lt.parameter.part;Ht.invalidateConnectedLinks();var rn=Lt.subject;Lt.diagram.toolManager.linkingTool.isForwards?rn.toNode.invalidateConnectedLinks():rn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),vt.current.nodeTemplate=Ot(We.NB,"Auto",{locationSpot:We.z6.Center,locationObjectName:"SHAPE",desiredSize:new We.$u(120,60),minSize:new We.$u(40,40),resizable:!0,resizeCellSize:new We.$u(10,10),rotatable:!0},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),new We.KX("desiredSize","size",We.$u.parse).makeTwoWay(We.$u.stringify),Ot(We.bn,{name:"SHAPE",fill:vn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:We.z6.AllSides,toSpot:We.z6.AllSides},new We.KX("figure"),new We.KX("fill"),new We.KX("stroke","borderColor"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),Ot(We.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Ot(We.al,{margin:1,textAlign:"center",overflow:We.al.OverflowEllipsis,editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),vt.current.nodeTemplate.toolTip=Ot("ToolTip",Ot(We.s_,"Vertical",{maxSize:new We.$u(200,NaN)},Ot(We.al,{font:"bold 10pt sans-serif",textAlign:"center"},new We.KX("text")),Ot(We.al,{font:"10pt sans-serif",textAlign:"center"},new We.KX("text","details"))));function Hn(Lt,Ht){var rn=(zt,zn)=>{zt.handled=!0,zt.diagram.model.commit(Yn=>{var ar=zn.part.adornedPart,kn=new We.E9().setRectSpot(ar.actualBounds,Lt);kn.subtract(ar.location),kn.scale(2,2),kn.x+=Math.sign(kn.x)*130,kn.y+=Math.sign(kn.y)*130,kn.add(ar.location),kn.snapToGridPoint(zt.diagram.grid.gridOrigin,zt.diagram.grid.gridCellSize);var pr=Yn.copyNodeData(ar.data);Yn.setGroupKeyForNodeData(pr,Yn.getGroupKeyForNodeData(ar.data)),Yn.addNodeData(pr);var Cr={from:ar.key,to:Yn.getKeyForNodeData(pr)};Yn.addLinkData(Cr);var Ft=zt.diagram.findNodeForData(pr);Ft.location=kn,zt.diagram.select(Ft),setTimeout(()=>{zt.diagram.commandHandler.editTextBlock()},20)})};return Ot(We.bn,{figure:Ht,alignment:Lt,alignmentFocus:Lt.opposite(),width:Lt.equals(We.z6.Top)||Lt.equals(We.z6.Bottom)?25:18,height:Lt.equals(We.z6.Top)||Lt.equals(We.z6.Bottom)?18:25,fill:"orange",stroke:vn.white,strokeWidth:4,mouseEnter:(zt,zn)=>zn.fill="dodgerblue",mouseLeave:(zt,zn)=>zn.fill="orange",isActionable:!0,click:rn,contextClick:rn})}function kt(Lt){return Ot(We.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:(Ht,rn)=>rn.fill="dodgerblue",mouseLeave:(Ht,rn)=>rn.fill="orange",click:(Ht,rn)=>{Ht.diagram.commandHandler.showContextMenu(rn.part.adornedPart)}},Lt||{})}vt.current.nodeTemplate.selectionAdornmentTemplate=Ot(We.uz,"Spot",Ot(We.Vm,{padding:10}),Hn(We.z6.Top,"TriangleUp"),Hn(We.z6.Left,"TriangleLeft"),Hn(We.z6.Right,"TriangleRight"),Hn(We.z6.Bottom,"TriangleDown"),kt({alignment:new We.z6(.75,0)}));function Gt(Lt,Ht){return(rn,zt)=>{rn.handled=!0,rn.diagram.model.commit(zn=>{zn.set(zt.part.adornedPart.data,Lt,Ht)})}}function Rt(Lt,Ht){return Ht||(Ht="color"),Ot(We.bn,{width:16,height:16,stroke:"lightgray",fill:Lt,margin:1,background:"transparent",mouseEnter:(rn,zt)=>zt.stroke="dodgerblue",mouseLeave:(rn,zt)=>zt.stroke="lightgray",click:Gt(Ht,Lt),contextClick:Gt(Ht,Lt)})}function gn(){return[Ot("ContextMenuButton",Ot(We.s_,"Horizontal",Rt(vn.white,"fill"),Rt(vn.beige,"fill"),Rt(vn.extralightblue,"fill"),Rt(vn.extralightred,"fill"))),Ot("ContextMenuButton",Ot(We.s_,"Horizontal",Rt(vn.lightgray,"fill"),Rt(vn.lightgreen,"fill"),Rt(vn.lightblue,"fill"),Rt(vn.lightred,"fill")))]}function Tn(){return[Ot("ContextMenuButton",Ot(We.s_,"Horizontal",Rt(vn.black),Rt(vn.green),Rt(vn.blue),Rt(vn.red))),Ot("ContextMenuButton",Ot(We.s_,"Horizontal",Rt(vn.white),Rt(vn.magenta),Rt(vn.purple),Rt(vn.orange)))]}function xn(Lt,Ht){return Ht||(Ht="thickness"),Ot(We.bn,"LineH",{width:16,height:16,strokeWidth:Lt,margin:1,background:"transparent",mouseEnter:(rn,zt)=>zt.background="dodgerblue",mouseLeave:(rn,zt)=>zt.background="transparent",click:Gt(Ht,Lt),contextClick:Gt(Ht,Lt)})}function or(Lt,Ht){return Ht||(Ht="dash"),Ot(We.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Lt,margin:1,background:"transparent",mouseEnter:(rn,zt)=>zt.background="dodgerblue",mouseLeave:(rn,zt)=>zt.background="transparent",click:Gt(Ht,Lt),contextClick:Gt(Ht,Lt)})}function ir(){return[Ot("ContextMenuButton",Ot(We.s_,"Horizontal",xn(1),xn(2),xn(3),xn(4))),Ot("ContextMenuButton",Ot(We.s_,"Horizontal",or(null),or([2,4]),or([4,4])))]}function Rn(Lt,Ht){return Ht||(Ht="figure"),Ot(We.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Lt,margin:1,background:"transparent",mouseEnter:(rn,zt)=>zt.fill="dodgerblue",mouseLeave:(rn,zt)=>zt.fill="lightgray",click:Gt(Ht,Lt),contextClick:Gt(Ht,Lt)})}vt.current.nodeTemplate.contextMenu=Ot("ContextMenu",Ot("ContextMenuButton",Ot(We.s_,"Horizontal",Rn("Rectangle"),Rn("RoundedRectangle"),Rn("Ellipse"),Rn("Diamond"))),Ot("ContextMenuButton",Ot(We.s_,"Horizontal",Rn("Parallelogram2"),Rn("ManualOperation"),Rn("Procedure"),Rn("Cylinder1"))),Ot("ContextMenuButton",Ot(We.s_,"Horizontal",Rn("Terminator"),Rn("CreateRequest"),Rn("Document"),Rn("TriangleDown"))),gn(),Tn(),ir()),vt.current.groupTemplate=Ot(We.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:We.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Lt,Ht)=>{var rn=Ht.addMembers(Ht.diagram.selection,!0);rn||Ht.diagram.currentTool.doCancel()},avoidable:!1},new We.KX("location","loc",We.E9.parse).makeTwoWay(We.E9.stringify),Ot(We.s_,"Auto",{name:"BODY"},Ot(We.bn,{parameter1:10,fill:vn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:We.z6.AllSides,toSpot:We.z6.AllSides},new We.KX("fill"),new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),Ot(We.Vm,{background:"transparent",margin:20})),Ot(We.al,{alignment:We.z6.Top,alignmentFocus:We.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new We.KX("text"),new We.KX("stroke","color"))),vt.current.groupTemplate.selectionAdornmentTemplate=Ot(We.uz,"Spot",Ot(We.s_,"Auto",Ot(We.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Ot(We.Vm,{margin:1.5})),kt({alignment:We.z6.TopRight,alignmentFocus:We.z6.BottomRight})),vt.current.groupTemplate.contextMenu=Ot("ContextMenu",gn(),Tn(),ir()),vt.current.linkTemplate=Ot(We.rU,{layerName:"Foreground",routing:We.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new We.KX("fromSpot","fromSpot",We.z6.parse),new We.KX("toSpot","toSpot",We.z6.parse),new We.KX("fromShortLength","dir",Lt=>Lt>=1?10:0),new We.KX("toShortLength","dir",Lt=>Lt>=1?10:0),new We.KX("points").makeTwoWay(),Ot(We.bn,{strokeWidth:2},new We.KX("stroke","color"),new We.KX("strokeWidth","thickness"),new We.KX("strokeDashArray","dash")),Ot(We.bn,{segmentIndex:0,segmentOffset:new We.E9(15,0),segmentOrientation:We.rU.OrientAlong,alignmentFocus:We.z6.Right,figure:"circle",width:10,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Lt=>Lt===1)),Ot(We.bn,{segmentIndex:-1,segmentOffset:new We.E9(-10,6),segmentOrientation:We.rU.OrientPlus90,alignmentFocus:We.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Lt=>Lt>=1),new We.KX("width","thickness",Lt=>7+3*Lt),new We.KX("height","thickness",Lt=>7+3*Lt),new We.KX("segmentOffset","thickness",Lt=>new We.E9(-15,4+1.5*Lt))),Ot(We.bn,{segmentIndex:0,segmentOffset:new We.E9(15,-6),segmentOrientation:We.rU.OrientMinus90,alignmentFocus:We.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new We.KX("fill","color"),new We.KX("visible","dir",Lt=>Lt===2),new We.KX("width","thickness",Lt=>7+3*Lt),new We.KX("height","thickness",Lt=>7+3*Lt),new We.KX("segmentOffset","thickness",Lt=>new We.E9(-15,4+1.5*Lt))),Ot(We.al,{alignmentFocus:new We.z6(0,1,-4,0),editable:!0},new We.KX("text").makeTwoWay(),new We.KX("stroke","color"))),vt.current.linkTemplate.selectionAdornmentTemplate=Ot(We.uz,Ot(We.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Vn(2)},new We.KX("pathPattern","thickness",Vn)),kt({alignmentFocus:new We.z6(0,0,-6,-4)}));function Vn(Lt){return Ot(We.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Lt+4).toString()+" H3"})}function cn(Lt){var Ht="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Lt===0?Ht="M0 0 M16 16 M0 8 L16 8":Lt===2&&(Ht="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Ot(We.bn,{geometryString:Ht,margin:2,background:"transparent",mouseEnter:(rn,zt)=>zt.background="dodgerblue",mouseLeave:(rn,zt)=>zt.background="transparent",click:Gt("dir",Lt),contextClick:Gt("dir",Lt)})}function Bn(Lt){var Ht=(rn,zt)=>{rn.handled=!0,rn.diagram.model.commit(zn=>{var Yn=zt.part.adornedPart;zn.set(Yn.data,Lt?"toSpot":"fromSpot",We.z6.stringify(We.z6.AllSides)),(Lt?Yn.toNode:Yn.fromNode).invalidateConnectedLinks()})};return Ot(We.bn,{width:12,height:12,fill:"transparent",mouseEnter:(rn,zt)=>zt.background="dodgerblue",mouseLeave:(rn,zt)=>zt.background="transparent",click:Ht,contextClick:Ht})}function At(Lt,Ht){var rn=0,zt=We.z6.RightSide;Lt.equals(We.z6.Top)?(rn=270,zt=We.z6.TopSide):Lt.equals(We.z6.Left)?(rn=180,zt=We.z6.LeftSide):Lt.equals(We.z6.Bottom)&&(rn=90,zt=We.z6.BottomSide),Ht||(rn-=180);var zn=(Yn,ar)=>{Yn.handled=!0,Yn.diagram.model.commit(kn=>{var pr=ar.part.adornedPart;kn.set(pr.data,Ht?"toSpot":"fromSpot",We.z6.stringify(zt)),(Ht?pr.toNode:pr.fromNode).invalidateConnectedLinks()})};return Ot(We.bn,{alignment:Lt,alignmentFocus:Lt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:rn,background:"transparent",mouseEnter:(Yn,ar)=>ar.background="dodgerblue",mouseLeave:(Yn,ar)=>ar.background="transparent",click:zn,contextClick:zn})}vt.current.linkTemplate.contextMenu=Ot("ContextMenu",Tn(),ir(),Ot("ContextMenuButton",Ot(We.s_,"Horizontal",cn(0),cn(1),cn(2))),Ot("ContextMenuButton",Ot(We.s_,"Horizontal",Ot(We.s_,"Spot",Bn(!1),At(We.z6.Top,!1),At(We.z6.Left,!1),At(We.z6.Right,!1),At(We.z6.Bottom,!1)),Ot(We.s_,"Spot",{margin:new We.Zt(0,0,0,2)},Bn(!0),At(We.z6.Top,!0),At(We.z6.Left,!0),At(We.z6.Right,!0),At(We.z6.Bottom,!0)))));const lr=`{ "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 wr=["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 yn(Lt){return console.log("shapeName:",Lt),wr.indexOf(Lt)>=0}var sn=new We.YI(Wt.current,{maxSelectionCount:1,linkTemplate:Ot(We.rU,{locationSpot:We.z6.Center,selectionAdornmentTemplate:Ot(We.uz,"Link",{locationSpot:We.z6.Center},Ot(We.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Ot(We.bn,{toArrow:"Standard",stroke:null}))},{routing:We.rU.AvoidsNodes,curve:We.rU.JumpOver,corner:5,toShortLength:4},new We.KX("points"),Ot(We.bn,{isPanelMain:!0,strokeWidth:2}),Ot(We.bn,{toArrow:"Standard",stroke:null})),model:new We.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...We.bn.getFigureGenerators().toArray().map(Lt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Lt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return vt.current.addDiagramListener("TextEdited",function(Lt){var Ht;const rn=Lt.subject.part;var zt=(Ht=document.activeElement)==null?void 0:Ht.value;typeof zt=="string"&&zt.trim()===""&&vt.current.model.commit(function(zn){zn.set(rn.data,"text","\u672A\u547D\u540D"),vt.current.commandHandler.stopCommand()},"increment")}),sn.nodeTemplate=Ot(We.NB,"Auto",{locationSpot:We.z6.Center},new We.KX("location","location",We.E9.parse).makeTwoWay(We.E9.stringify),Ot(We.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 We.KX("stroke").makeTwoWay(),new We.KX("fill").makeTwoWay(),new We.KX("figure")),Ot(We.al,{margin:new We.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new We.$u(16,16),maxSize:new We.$u(10,NaN),textAlign:"center",editable:!0},new We.KX("key").makeTwoWay())),setTimeout(()=>{vt.current.grid=Ot(We.s_,"Grid",Ot(We.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Ot(We.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),vt.current.grid.visible=!0,vt.current.grid.gridCellStroke="darkgray",vt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=vt.current,vt.current}const tr=()=>Me(this,null,function*(){var Ot,vn=vt.current.makeImage();const Hn=yield(0,Ve.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:vn.src,file_data:JSON.stringify({login:(Ot=(0,tt.eY)())==null?void 0:Ot.login,data:JSON.parse(vt.current.model.toJson())})}});yt({src:Hn.url})});return(0,be.useEffect)(()=>(setTimeout(()=>{Gn()},500),jn(bn+1),()=>{vt.current=null}),[]),Xe.createElement("div",{ref:an,className:Qt.current?`${it.maxH60} body-overflow-initial`:"body-overflow-initial"},Xe.createElement(Fe.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!bn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Xe.createElement(Re.Z,null,Xe.createElement(Le.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Xe.createElement(Le.Z,{onClick:()=>{var Ot,vn,Hn=vt.current.selection.first();if(Qt.current=!Qt.current,document.activeElement&&Hn){let kt=(vn=(Ot=document.activeElement)==null?void 0:Ot.value)==null?void 0:vn.trim();typeof kt=="string"&&vt.current.model.commit(function(Gt){Gt.set(Hn.data,"text",kt||"\u672A\u547D\u540D"),vt.current.commandHandler.stopCommand()},"increment")}jn(bn+1)}},Xe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:ht},Xe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:it.flowChartWrp},Xe.createElement("div",{style:{display:"flex",height:"100%"}},Xe.createElement("div",{style:{width:"300px",height:"100%"}},Xe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Xe.createElement("div",{style:{height:"calc(100% - 50px)"},className:it.myPaletteDiv,ref:Wt})),Xe.createElement("div",{style:{flex:1,position:"relative"}},Xe.createElement("div",{ref:It,style:{height:"80vh"}}))),Xe.createElement("div",{className:"tr"},Xe.createElement(we.ZP,{size:"large",onClick:tr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var je=Ae,ke=Se(5112),Ke=Se(5871);const nt=ke.ZP.Group,$e={margin:"0 8px"};var et=({callback:ht,onCancel:yt})=>{function vt(It){ht(It)}return be.createElement(ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:vt},be.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},be.createElement("span",{style:$e},"\u5355\u5143\u683C\u6570\uFF1A"),be.createElement("span",{style:$e},"\u884C\u6570"),be.createElement(ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},be.createElement(Ke.Z,null)),be.createElement("span",{style:$e},"\u5217\u6570"),be.createElement(ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},be.createElement(Ke.Z,null))),be.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},be.createElement("span",{style:$e},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),be.createElement(ve.default.Item,{name:"align"},be.createElement(nt,null,be.createElement(ke.ZP,{value:"default"},be.createElement("i",{className:"fa fa-align-justify"})),be.createElement(ke.ZP,{value:"left"},be.createElement("i",{className:"fa fa-align-left"})),be.createElement(ke.ZP,{value:"center"},be.createElement("i",{className:"fa fa-align-center"})),be.createElement(ke.ZP,{value:"right"},be.createElement("i",{className:"fa fa-align-right"}))))),be.createElement("div",{className:"flex-container flex-end"},be.createElement(we.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),be.createElement(we.ZP,{type:"ghost",onClick:yt},"\u53D6\u6D88")))},lt=Se(78673),ot=Se(80727),ut=Se.n(ot),ct=(0,be.forwardRef)(({use3d:ht,width:yt,height:vt,callback:It,showSaveButton:Wt},Qt)=>{const an=(0,be.useRef)(),bn=(0,be.useRef)(),[jn,Gn]=(0,be.useState)(!1),tr=(0,be.useRef)({id:an,appName:"graphing",width:yt||1e3,height:vt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,be.useEffect)(()=>{bn.current=new(ut())(tr.current,!0),window.onload=function(){bn.current.inject("applet_container")}},[]);const Ot=()=>{var vn=window.ggbApplet.getPNGBase64(1,!0,72);return It&&It(vn),vn};return(0,be.useEffect)(()=>{tr.current.appName=jn?"3D":"graphing",bn.current.inject("applet_container")},[jn]),(0,be.useEffect)(()=>{Gn(ht)},[ht]),(0,be.useImperativeHandle)(Qt,()=>({getImgData:Ot})),be.createElement(be.Fragment,null,be.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:an}),be.createElement(Re.Z,{align:"middle"},be.createElement(Le.Z,{flex:1},be.createElement(lt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:jn,onChange:vn=>Gn(vn)})),be.createElement(Le.Z,null,be.createElement(we.ZP,{size:"large",onClick:Ot,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),ft=Se(41588),gt=Se(8591);const pt="link",St="upload-image",bt="add-flowchart",Et="draw-image",Mt="add-flowchart",Ut="code-block",qt="add-table",tn="------------",Xt={default:tn,left:`:${tn}`,center:`:${tn}:`,right:`${tn}:`};var Yt=Se(58856);function on(){}let dn=0;const An=1e4,fn="\u2581",Zt="@\u2581\u2581@",$n="@\u2581@",un=` **\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`,Ln=["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 mn(ht){return/^\d+$/.test(ht)?`${ht}px`:ht}const er=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Un={[er+"-B"]:"bold",[er+"-I"]:"italic"},_n={[pt]:"\u6DFB\u52A0\u94FE\u63A5",[Ut]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[St]:"\u6DFB\u52A0\u56FE\u7247",[Et]:"\u6DFB\u52A0\u753B\u56FE",[bt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[qt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var hr=({defaultValue:ht="",onChange:yt,width:vt="100%",height:It=400,miniToolbar:Wt=!1,isFocus:Qt=!1,watch:an,insertTemp:bn,mode:jn="markdown",id:Gn="markdown-editor-id",showResizeBar:tr=!1,noStorage:Ot=!1,showNullButton:vn=!1,showNullProgramButton:Hn=!1,hidetoolBar:kt=!1,fullScreen:Gt=!1,onBlur:Rt,onCMBeforeChange:gn,onFullScreen:Tn,className:xn="",disablePaste:or=!1,disabled:ir=!1,disabledFill:Rn=!1,placeholder:Vn="",values:cn="",extraUse:Bn})=>{const[At,lr]=(0,be.useState)(null),[wr,yn]=(0,be.useState)(ht),[sn,Lt]=(0,be.useState)(an),[Ht,rn]=(0,be.useState)(Gt),[zt,zn]=(0,be.useState)(""),[Yn,ar]=(0,be.useState)(0),[kn,pr]=(0,be.useState)(It),[Cr,Ft]=(0,be.useState)(!1),[Ir,Br]=(0,be.useState)(0),[Wr,Lr]=(0,be.useState)(0),Ar=(0,be.useRef)(),Or=(0,be.useRef)(),Fr=(0,be.useRef)(),En=(0,be.useRef)();(0,be.useEffect)(()=>{const Dt=window.scrollY||window.pageYOffset;yn(cn),At==null||At.setValue(cn),window.scrollTo(0,Dt)},[cn]),(0,be.useEffect)(()=>{Tn==null||Tn(Ht)},[Ht]),(0,be.useEffect)(()=>{if(Ar.current){let Dt=function(_t,xt){var jt;if(or){xt.preventDefault();return}const Bt=xt.clipboardData;if(Bt){const Vt=Bt.types.toString(),Nt=Bt.items;if(Vt==="Files"||Bt.types.indexOf("Files")>-1){if(xt.preventDefault(),jn=="stex")return;try{let ln=Nt[1];((jt=Nt[0])==null?void 0:jt.kind)==="file"&&(ln=Nt[0]);const Kt=ln.getAsFile(),wn=Kt.name.split(".").pop();(0,Ne.I)(Kt,$t=>{var Mn,Zn,gr;$t.id?((Mn=Kt==null?void 0:Kt.type)==null?void 0:Mn.indexOf("image"))>-1?Ct.replaceSelection(``):((Zn=Kt==null?void 0:Kt.type)==null?void 0:Zn.indexOf("video"))>-1?Ct.replaceSelection(``):((gr=Kt==null?void 0:Kt.type)==null?void 0:gr.indexOf("pdf"))>-1?Ct.replaceSelection(`
${Kt.name}`):Ln.includes(wn)?Ct.replaceSelection(`${Kt.name}`):Ct.replaceSelection(`[${Kt.name}](/api/attachments/${$t.id}?type=${$t.content_type})`):($t==null?void 0:$t.status)===401&&(document.location.href="/user/login")})}catch(ln){gt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Ct=E().fromTextArea(Ar.current,{mode:jn,lineNumbers:!Wt,lineWrapping:!0,value:ht,autoCloseTags:!0,autoCloseBrackets:!0});return Ct.on("keyup",function(_t,xt){xt.keyCode===8&&(_t.getValue()==""?Ct.setOption("placeholder",Vn):Ct.setOption("placeholder",null))}),Ct.on("keydown",function(_t,xt){if(xt.keyCode===8){var jt=kr(_t);jt&&xt.preventDefault()}}),Qt&&Ct.focus(),Ct.on("paste",Dt),ir&&Ct.on("beforeChange",function(_t,xt){(xt.origin==="paste"||xt.origin==="+input")&&xt.cancel()}),lr(Ct),()=>{Ct.off("paste",Dt)}}},[]);const Kn=(0,be.useCallback)(()=>{if(Or.current)try{}catch(Dt){console.log(Dt,"---- to set md editor body height")}},[kn,Or,Ht]);(0,be.useEffect)(()=>{function Dt(){let Ct=new me.Z(_t=>{for(let xt of _t)(xt.target.offsetHeight>0||xt.target.offsetWidth>0)&&(Kn(),At.setSize("100%","100%"),At.refresh())});return Ct.observe(Ar.current.parentElement),Ct}if(At){const Ct=Dt();return()=>{var _t,xt;(_t=Ar.current)!=null&&_t.parentElement&&Ct.unobserve((xt=Ar.current)==null?void 0:xt.parentElement)}}},[At,Kn]),(0,be.useEffect)(()=>{if(At){let Dt=[];for(const[Ct,_t]of Object.entries(Un)){let xt={[Ct]:()=>{Jn(_t)}};Dt.push(xt),At.addKeyMap(xt)}return()=>{for(let Ct of Dt)At.removeKeyMap(Ct)}}},[At]),(0,be.useEffect)(()=>{Gt!==Ht&&rn(Gt)},[Gt]),(0,Yt.Z)(()=>{if(!Ot&&Yn>0){let Dt=new Date().getTime(),Ct=window.sessionStorage.getItem(Gn);Dt>=Yn+An&&(!Ct||Ct!==wr)&&(window.sessionStorage.setItem(Gn,wr),Ft(!0))}},An),(0,be.useEffect)(()=>{Lt(an)},[At,an]),(0,be.useEffect)(()=>{At&&Qt&&At.focus()},[At,Qt]),(0,be.useEffect)(()=>{if(sn&&At){let Dt=function(_t){let xt=_t.target;if(En.current){let jt=xt.scrollTop/xt.scrollHeight;En.current.scrollTop=En.current.scrollHeight*jt}};const Ct=At.getScrollerElement();return Ct.addEventListener("scroll",Dt),()=>{Ct.removeEventListener("scroll",Dt)}}},[At,sn]),(0,be.useEffect)(()=>{if(At&&gn){let Dt=function(Ct,_t){gn(Ct,_t)};return At.on("beforeChange",Dt),()=>{At.off("beforeChange",Dt)}}},[At,gn]),(0,be.useEffect)(()=>{if(At&&Rt){let Dt=function(){Rt(At.getValue())};return At.on("blur",Dt),()=>{At.off("blur",Dt)}}},[At,Rt]);function kr(Dt,Ct){var _t=Dt.getDoc(),xt=_t.getCursor(),jt=_t.getLine(xt.line),Bt=jt.charAt(xt.ch-1),Vt=jt.lastIndexOf("@\u2581@",xt.ch),Nt=jt.lastIndexOf("@\u2581\u2581@",xt.ch),ln=Vt>Nt?Vt:Nt,Kt=Vt>Nt?3:4;if(Zt.indexOf(Bt)===-1)return null;if(console.log("change1:",Ct,Dt,jt,xt,ln,Vt,Nt,Bt),ln>=0&&xt.ch-ln<5){var wn=ln+Kt;return _t.replaceRange("",{line:xt.line,ch:ln},{line:xt.line,ch:wn}),{line:xt.line,ch:wn}}return null}(0,be.useEffect)(()=>{if(At){let Dt=function(Ct,_t){const xt=Ct.getValue();yn(xt),ar(new Date().getTime()),Ct.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),yt&&(Hn?yt(xt,Ur(xt)):yt(xt))};return At.on("change",Dt),()=>{At.off("change",Dt)}}},[At,yt]),(0,be.useEffect)(()=>{if(At)if(ht==null)At.setValue(""),yn("");else{const Dt=window.scrollY||window.pageYOffset;ht!==At.getValue()&&(At.setValue(ht),yn(ht),At.setCursor(ir?1:At.lineCount(),0),window.scrollTo(0,Dt))}},[At,ht]);const Jn=(0,be.useCallback)(Dt=>{const Ct=At.getCursor(),_t=At.getSelection();let xt=_t.split(` `);switch(Dt){case"bold":return At.replaceSelection("**"+_t+"**"),_t===""&&At.setCursor(Ct.line,Ct.ch+2),At.focus();case"italic":return At.replaceSelection("*"+_t+"*"),_t===""&&At.setCursor(Ct.line,Ct.ch+1),At.focus();case"code":return At.replaceSelection("`"+_t+"`"),_t===""&&At.setCursor(Ct.line,Ct.ch+1),At.focus();case"inline-latex":return zn("inline-latex"),At.focus();case"latex":return At.replaceSelection("```latex\n"+_t+"\n```"),At.setCursor(Ct.line+1,_t.length+1),At.focus();case"line-break":return At.replaceSelection(`
`),At.focus();case"list-ul":return _t===""?At.replaceSelection("- "+_t):At.replaceSelection(xt.map(jt=>jt===""?"":`- ${jt}`).join(` `)),At.focus();case"list-ol":return _t===""?At.replaceSelection("1. "+_t):At.replaceSelection(xt.map((jt,Bt)=>jt===""?"":`${Bt+1}. ${jt}`).join(` `)),At.focus();case"add-null-ch":return _t===""&&At.setCursor(Ct.line,Ct.ch),At.replaceSelection(fn),At.focus();case"add-signal":return _t===""&&At.setCursor(Ct.line,Ct.ch),At.replaceSelection($n),At.focus();case"add-multiple":return _t===""&&At.setCursor(Ct.line,Ct.ch),At.replaceSelection(Zt),At.focus();case"inster-template-1":return _t===""&&At.setCursor(Ct.line,Ct.ch),At.replaceSelection(un),At.focus();case"eraser":return At.setValue(""),At.focus();case"trigger-watch":return Lt(!sn),At.focus();case"trigger-full-screen":return rn(!Ht),At.focus();case pt:zn(pt);return;case Ut:zn(Ut);return;case St:zn(St);return;case Et:zn(Et);return;case"maths-latex":zn("maths-latex");return;case bt:zn(bt);return;case qt:zn(qt);return;default:throw new Error}},[At,sn,Ht]),_r=(0,be.useCallback)((Dt,Ct)=>{var _t,xt,jt,Bt,Vt,Nt;switch(zn(""),zt){case pt:const{title:Mn,link:Zn}=Dt;return At.replaceSelection(`[${Mn}](${Zn})`),At.focus();case Ut:const{language:gr,content:Er}=Dt;return At.replaceSelection(["```"+gr,Er,"```"].join(` `)),At.focus();case"maths-latex":for(var ln=atob(Dt),Kt=new Uint8Array(ln.length),wn=0;wn{Qn.id?At.replaceSelection(`![,](/api/attachments/${Qn.id}?type=${Qn.content_type})`):(Qn==null?void 0:Qn.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":At.replaceSelection("`$$"+Dt+"$$`");break;case St:case Et:case Mt:const{src:On,alt:vr}=Dt,Dn=Ct,hn=(jt=(xt=(_t=Dn==null?void 0:Dn.name)==null?void 0:_t.split("."))==null?void 0:xt.pop)==null?void 0:jt.call(xt);return((Bt=Dn==null?void 0:Dn.type)==null?void 0:Bt.indexOf("image"))>-1||!(Dn!=null&&Dn.type)?Dn!=null&&Dn.align||Dn!=null&&Dn.width?At.replaceSelection(`

${vr||

`):At.replaceSelection(`${vr||`):((Vt=Dn==null?void 0:Dn.type)==null?void 0:Vt.indexOf("video"))>-1?At.replaceSelection(``):((Nt=Dn==null?void 0:Dn.type)==null?void 0:Nt.indexOf("pdf"))>-1?At.replaceSelection(`${Dn.name}`):Ln.includes(hn)?At.replaceSelection(`${Dn.name}`):At.replaceSelection(`[${Dn.name}](${On})`),At.focus();case qt:const{row:qn,col:nr,align:Nn}=Dt;let sr=` `;for(let Qn=0;Qn{switch(zt){case pt:return be.createElement(Ye,{callback:_r,onCancel:xr});case Ut:return be.createElement(Qe.Z,{callback:_r,onCancel:xr});case St:return be.createElement(Ne.Z,{callback:_r,onCancel:xr});case bt:return be.createElement(je,{callback:_r,onCancel:xr});case qt:return be.createElement(et,{callback:_r,onCancel:xr});case"maths-latex":return be.createElement(ct,{showSaveButton:!0,callback:_r});case"inline-latex":return be.createElement(ft.Z,{showSaveButton:!0,callback:_r});default:return null}},[zt]);function xr(){zn("")}(0,be.useEffect)(()=>{if(Fr.current){let Dt=function(Vt){jt=!0,Bt=Vt.pageY},Ct=function(){jt=!1},_t=function(Vt){if(jt){let Nt=Vt.pageY-Bt;Nt<0&&(Nt=0),Nt>300&&(Nt=300);let ln=It+Nt+"px";pr(ln)}},xt=Fr.current,jt=!1,Bt=0;return xt.addEventListener("mousedown",Dt),document.addEventListener("mousemove",_t),document.addEventListener("mouseup",Ct),()=>{xt.removeEventListener("mousedown",Dt),document.removeEventListener("mousemove",_t),document.removeEventListener("mouseup",Ct)}}},[At,Fr]),(0,be.useEffect)(()=>{pr(It)},[It]);const Gr=mn(vt),ni=mn(kn),ri={width:Gr,height:ni},oi=(0,be.useMemo)(()=>{if(Yn){let Dt=new Date(Yn),Ct=Dt.getHours(),_t=Dt.getMinutes(),xt=Dt.getSeconds();return Ct=Ct<10?"0"+Ct:Ct,_t=_t<10?"0"+_t:_t,xt=xt<10?"0"+xt:xt,`${Ct}:${_t}:${xt}`}return 0},[Yn]),Ur=Dt=>{const Ct=[];if(Hn){let _t=-1;Dt=Dt.replace(/(@▁▁@|@▁@)/g,function(xt,jt,Bt){Ct.push({multiLine:xt!==$n})})}return Ct};function si(){window.sessionStorage.removeItem(Gn),Ft(!1),ar(0)}function mt(){Ft(!1),ar(0),At.setValue(window.sessionStorage.getItem(Gn))}(0,be.useEffect)(()=>{_n[zt]&&zt!==Et&&zt!==bt&&setTimeout(()=>{const Dt=document.getElementsByClassName("markdown-popup-form")[0],Ct=window.innerWidth/2-Dt.offsetWidth/2,_t=window.innerHeight/2-Dt.offsetHeight/2;Br(Ct),Lr(_t)},0)},[zt]);const wt=Dt=>{Dt.preventDefault();const Ct=Dt.clientX-Ir,_t=Dt.clientY-Wr;document.body.onmousemove=xt=>{let jt=xt.clientX-Ct,Bt=xt.clientY-_t;const Vt=document.getElementsByClassName("markdown-popup-form")[0],Nt=window.innerWidth-Vt.offsetWidth,ln=window.innerHeight-Vt.offsetHeight;jt=Math.max(0,Math.min(jt,Nt)),Bt=Math.max(0,Math.min(Bt,ln)),Tt(xt.clientX,xt.clientY,Ct,_t)&&(Br(jt),Lr(Bt))},document.body.onmouseup=function(){document.body.onmousemove=null}},Tt=(Dt,Ct,_t,xt)=>{const jt=document.body.clientHeight,Bt=document.body.clientWidth;return Dt<20&&_t>Dt||Dt>Bt-20&&_tCt||Ct>jt-20&&xtve in ye?ie(ye,ve,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):ye[ve]=Pe,b=(ye,ve)=>{for(var Pe in ve||(ve={}))a.call(ve,Pe)&&x(ye,Pe,ve[Pe]);if(te)for(var Pe of te(ve))y.call(ve,Pe)&&x(ye,Pe,ve[Pe]);return ye},ee=(ye,ve)=>re(ye,ne(ve));const{useForm:z}=be.default,ce={width:280,marginRight:10},fe={labelCol:{span:5},wrapperCol:{span:19}};var ge=({callback:ye,onCancel:ve})=>{const[Pe]=z();let we=(0,se.useRef)();function xe(Ee){we.current.width=Pe.getFieldValue("width"),we.current.align=Pe.getFieldValue("align"),ye(Ee,we.current)}function Ce(Ee,De){if(Ee.status===-1){Be.ZP.error(Ee.message);return}Pe.setFieldsValue({src:`/api/attachments/${Ee.id}`,type:De.type})}function _e(Ee){let De=Ee.target.files[0];we.current=De,he(De,Ce)}return ue.createElement(be.default,ee(b({form:Pe},fe),{className:"upload-image-panel",onFinish:xe,style:{width:470,overflow:"hidden"}}),ue.createElement(be.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ue.createElement("div",{className:"flex-container"},ue.createElement(be.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},ue.createElement(E.default,{style:ce})),ue.createElement(pe,{onFileChange:_e}))),ue.createElement(be.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ue.createElement(E.default,{style:{width:264}})),ue.createElement(be.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ue.createElement(me.Z,null,ue.createElement(be.default.Item,{name:"width",style:{margin:0}},ue.createElement(de.Z,{style:{width:264}})),ue.createElement("span",{className:"ml8"},"%"))),ue.createElement(be.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ue.createElement(le.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ue.createElement("aside",null,ue.createElement(be.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ue.createElement(ae.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ue.createElement(ae.ZP,{type:"default",onClick:ve},"\u53D6\u6D88"))))};function pe({onFileChange:ye}){return ue.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ue.createElement("input",{type:"file",onChange:ye}))}function he(ye,ve){if(!ye)throw new String("\u6CA1\u6709\u6587\u4EF6");let Pe=new FormData;Pe.append("editormd-image-file",ye),Pe.append("file_param_name","editormd-image-file"),Pe.append("byxhr","true");var we=new window.XMLHttpRequest;we.withCredentials=!0,we.addEventListener("load",function(xe){ve(JSON.parse(xe.target.responseText),ye)},!1),we.addEventListener("error",function(xe){console.error(xe)},!1),we.open("POST",`${oe.KI}/api/attachments.json`),we.send(Pe)}},79346:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return E}});var be=Se(59301),Be=Se(4676);class E extends be.Component{constructor(de){super(de);const le=window.document;this.node=le.createElement("div"),le.body.appendChild(this.node)}render(){const{children:de}=this.props;return(0,Be.createPortal)(de,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},23954:function(dt,st,Se){"use strict";Se.d(st,{SV:function(){return Me},ZP:function(){return Xe}});var be=Se(59301),Be=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"]},me={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"]},de={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 ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},le={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(` `)}]},ae={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 oe=Se(53184),se=Se.n(oe),ue=Object.defineProperty,ie=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(Ae,je,ke)=>je in Ae?ue(Ae,je,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Ae[je]=ke,x=(Ae,je)=>{for(var ke in je||(je={}))te.call(je,ke)&&y(Ae,ke,je[ke]);if(ne)for(var ke of ne(je))a.call(je,ke)&&y(Ae,ke,je[ke]);return Ae},b=(Ae,je)=>ie(Ae,re(je)),ee=(Ae,je,ke)=>new Promise((Ke,nt)=>{var $e=ot=>{try{lt(ke.next(ot))}catch(ut){nt(ut)}},et=ot=>{try{lt(ke.throw(ot))}catch(ut){nt(ut)}},lt=ot=>ot.done?Ke(ot.value):Promise.resolve(ot.value).then($e,et);lt((ke=ke.apply(Ae,je)).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"]}},ce=(Ae,je)=>je.map(ke=>({label:ke,kind:Ae.languages.CompletionItemKind.Keyword,insertText:ke})),fe=Ae=>Object.keys(z.tables).map(je=>({label:je,kind:Ae.languages.CompletionItemKind.Variable,insertText:je})),ge=(Ae,je)=>{const ke=z.tables[Ae];return ke?ke.map(Ke=>({label:Ke,kind:je.languages.CompletionItemKind.Field,insertText:Ke})):[]};function pe(Ae,je,ke,Ke,nt){let $e=je.getWordUntilPosition(ke),et={startLineNumber:ke.lineNumber,endLineNumber:ke.lineNumber,startColumn:$e.startColumn,endColumn:$e.endColumn},lt=Ke.map(ot=>({label:ot,kind:Ae.languages.CompletionItemKind.Keyword,insertText:ot,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:et}));return nt.map(ot=>{lt.push(b(x({},ot),{range:et}))}),lt}var he=Ae=>{z.languages.map(nt=>(Ae.languages.registerDocumentFormattingEditProvider(nt,{provideDocumentFormattingEdits($e,et,lt){return ee(this,null,function*(){const ot=se()($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:ot}]})}}),nt));const je=de.quickKey.map(nt=>({label:nt.label,kind:Ae.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet})),ke=le.quickKey.map(nt=>({label:nt.label,kind:Ae.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Ke=me.quickKey.map(nt=>({label:nt.label,kind:Ae.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet}));Ae.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(nt,$e){var et=nt.getWordUntilPosition($e),lt={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:et.startColumn,endColumn:et.endColumn},ot=nt.getLineContent($e.lineNumber).substring(et.startColumn-2,et.endColumn);return{suggestions:[...de.keywords.map(ut=>({label:ut,kind:Ae.languages.CompletionItemKind.Function,documentation:ut,insertText:ut,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt})),...de.quickKey.map(ut=>({label:ut.label,kind:Ae.languages.CompletionItemKind.Function,documentation:ut.content,insertText:ot.startsWith("#")?ut.content.replace(/#/,""):ut.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}))]}}}),Ae.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(nt,$e){var et=nt.getWordUntilPosition($e),lt={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:et.startColumn,endColumn:et.endColumn};return{suggestions:[...E.keywords.map(ot=>({label:ot,kind:Ae.languages.CompletionItemKind.Function,documentation:ot,insertText:ot,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}))]}}}),Ae.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(nt,$e){var et=nt.getWordUntilPosition($e),lt={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:et.startColumn,endColumn:et.endColumn},ot=nt.getLineContent($e.lineNumber).substring(et.startColumn-2,et.endColumn);return{suggestions:[...me.keywords.map(ut=>({label:ut,kind:Ae.languages.CompletionItemKind.Function,documentation:ut,insertText:ut,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt})),...me.quickKey.map(ut=>({label:ut.label,kind:Ae.languages.CompletionItemKind.Function,documentation:ut.content,insertText:ot.startsWith("#")?ut.content.replace(/#/,""):ut.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}))]}}}),Ae.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(nt,$e){var et=nt.getWordUntilPosition($e),lt={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:et.startColumn,endColumn:et.endColumn},ot=nt.getLineContent($e.lineNumber).substring(et.startColumn-2,et.endColumn);return{suggestions:[...ae.keywords.map(ut=>({label:ut,kind:Ae.languages.CompletionItemKind.Function,documentation:ut,insertText:ut,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt})),...ae.quickKey.map(ut=>({label:ut.label,kind:Ae.languages.CompletionItemKind.Function,documentation:ut.content,insertText:ot.startsWith("#")?ut.content.replace(/#/,""):ut.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}))]}}}),Ae.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(nt,$e){var et=nt.getWordUntilPosition($e),lt={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:et.startColumn,endColumn:et.endColumn},ot=nt.getLineContent($e.lineNumber).substring(et.startColumn-2,et.endColumn);return{suggestions:[...le.keywords.map(ut=>({label:ut,kind:Ae.languages.CompletionItemKind.Function,documentation:ut,insertText:ut,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt})),...le.quickKey.map(ut=>({label:ut.label,kind:Ae.languages.CompletionItemKind.Function,documentation:ut.content,insertText:ot.startsWith("#")?ut.content.replace(/#/,""):ut.content,insertTextRules:Ae.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:lt}))]}}})};const ye="\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=(Ae,je,ke)=>je in Ae?ve(Ae,je,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Ae[je]=ke,we=(Ae,je,ke)=>Pe(Ae,typeof je!="symbol"?je+"":je,ke);const xe=class ci{constructor(je,ke,Ke){this.placeholder=je,this.editor=ke,this.monaco=Ke,ke.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return ci.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)}};we(xe,"ID","editor.widget.placeholderHint");var _e=xe,Ee=Se(96236),De=Se(8591),Oe=Se(6848),Ue=Se(89392),Te=Se(34604),Je=Se(56102),Ze=Object.defineProperty,Ye=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Re=Object.prototype.propertyIsEnumerable,Ge=(Ae,je,ke)=>je in Ae?Ze(Ae,je,{enumerable:!0,configurable:!0,writable:!0,value:ke}):Ae[je]=ke,qe=(Ae,je)=>{for(var ke in je||(je={}))Fe.call(je,ke)&&Ge(Ae,ke,je[ke]);if(Ne)for(var ke of Ne(je))Re.call(je,ke)&&Ge(Ae,ke,je[ke]);return Ae},rt=(Ae,je)=>Ye(Ae,Qe(je)),We=(Ae,je)=>{var ke={};for(var Ke in Ae)Fe.call(Ae,Ke)&&je.indexOf(Ke)<0&&(ke[Ke]=Ae[Ke]);if(Ae!=null&&Ne)for(var Ke of Ne(Ae))je.indexOf(Ke)<0&&Re.call(Ae,Ke)&&(ke[Ke]=Ae[Ke]);return ke},ze=(Ae,je,ke)=>new Promise((Ke,nt)=>{var $e=ot=>{try{lt(ke.next(ot))}catch(ut){nt(ut)}},et=ot=>{try{lt(ke.throw(ot))}catch(ut){nt(ut)}},lt=ot=>ot.done?Ke(ot.value):Promise.resolve(ot.value).then($e,et);lt((ke=ke.apply(Ae,je)).next())});function Ie(Ae){return/^\d+$/.test(Ae)?`${Ae}px`:Ae}function He(){}let Le=!1;const Ve={"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 it(Ae=[]){let je=Ae;if(Array.isArray(Ae)){for(let ke=0;ke{var je=Ae,{width:ke="100%",height:Ke="100%",value:nt,language:$e="javascript",style:et={},options:lt={},overrideServices:ot={},theme:ut="vs-dark",onEditBlur:at,isCopy:ct=!1,onSave:ft,autoHeight:gt=!1,forbidCopy:pt=!1,onChange:St=He,editorDidMount:bt=He,onFocus:Et=He,onBreakPoint:Mt=He,breakPointValue:Ut=[],filename:qt="educoder.txt",errorLine:tn,errorContent:Xt="",highlightLine:Yt,openBreakPoint:on=!1,placeholder:dn=""}=je,An=We(je,["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 fn=(0,be.useRef)(),Zt=(0,be.useRef)({}),$n=(0,be.useRef)(),un=(0,be.useRef)(),Ln=(0,be.useRef)([]),mn=(0,be.useRef)(!1),rr=(0,be.useRef)(),er=(0,be.useRef)(),Un=(0,be.useRef)(!1),[_n,hr]=(0,be.useState)(!1);function ht(){let Gt;return fn.current&&(Gt=new Be.Z(Rt=>{for(let gn of Rt)(gn.target.offsetHeight>0||gn.target.offsetWidth>0)&&Zt.current.instance.layout()}),Gt.observe(fn.current)),Gt}function yt(){De.ZP.warning({content:decodeURIComponent(ye),key:"monaco-editor-tip"})}const vt=()=>{let Gt=Zt.current.instance;if(nt!=null&&Gt&&_n){const Rt=Gt.getModel();Rt&&nt!==Rt.getValue()&&(Le=!0,Rt.setValue(nt),Gt.layout(),Le=!1)}};(0,be.useEffect)(()=>{const Gt=Te.Z.subscribe("formatDocument",Rt=>{var gn;let Tn=Zt.current.instance;(gn=Tn==null?void 0:Tn.getAction)==null||gn.call(Tn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Rt=>{St(Rt)},Gt},[]),(0,be.useEffect)(()=>{var Gt;let Rt=Zt.current.instance;un.current&&clearTimeout(un.current),un.current=setTimeout(()=>{vt()},500),nt&&(nt!=null&&nt.length)&&((Gt=Rt==null?void 0:Rt.updateOptions)==null||Gt.call(Rt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(nt.split(/\r\n|\r|\n/g).length))+3,5)}))},[nt,_n,Zt.current]),(0,be.useEffect)(()=>{if(tn&&Zt.current&&Zt.current.instance){let Rt=Zt.current.instance;Rt.changeViewZones(function(gn){var Tn=document.createElement("div");Tn.style.padding="10px 20px",Tn.style.width="calc(100% - 20px)",Tn.className="my-error-line-wrp",Tn.innerHTML=Xt,gn.addZone({afterLineNumber:tn||11,heightInLines:3,domNode:Tn})});var Gt={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}};Rt.addOverlayWidget(Gt),Rt.revealPositionInCenter({lineNumber:20,column:1})}},[tn,Zt.current,_n]);const It=(Gt="",Rt)=>{if(!Gt||Gt.trim()==="")return!0;const Tn=Zt.current.instance.getModel().getLineTokens(Rt);let xn=!1;for(let or=0;or<2;or++)Tn.getStandardTokenType(or)===1&&(xn=!0);return xn};(0,be.useEffect)(()=>{var Gt;const Rt=(Gt=Zt.current)==null?void 0:Gt.instance;if(Rt&&_n&&pt){const gn=Rt.onDidBlurEditorWidget(()=>{Un.current=!1}),Tn=Rt.onDidFocusEditorText(()=>{Un.current=!0});return()=>{gn.dispose(),Tn.dispose()}}},[Zt.current,_n,pt]),(0,be.useEffect)(()=>{var Gt;if((Gt=Zt.current)!=null&&Gt.instance&&_n&&on){let Rt=Zt.current.instance,gn=Rt.getModel();if(!gn)return;(()=>{var yn;let sn=[],Lt=[];const Ht=gn.getAllDecorations();for(let zt of Ht)zt.options.className==="highlighted-line"&&(sn.push((yn=zt==null?void 0:zt.range)==null?void 0:yn.startLineNumber),Lt.push(zt==null?void 0:zt.id));if(Yt===sn[0])return;gn.deltaDecorations(Lt,[]);const rn=gn.getLineCount();Yt&&Yt<=rn&&(Rt.deltaDecorations([],[{range:new tt.Range(Yt,1,Yt,gn.getLineMaxColumn(Yt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Rt.revealLineInCenter(Yt))})();const xn=(yn=!1)=>{var sn;let Lt=[],Ht=[];const rn=gn.getAllDecorations();for(let zt of rn)zt.options.linesDecorationsClassName==="breakpoints-select"&&(Lt.push((sn=zt==null?void 0:zt.range)==null?void 0:sn.startLineNumber),Ht.push(zt==null?void 0:zt.id));if(yn)return{lines:Lt,ids:Ht};Mt(Lt)},or=yn=>ze(void 0,null,function*(){let sn={range:new tt.Range(yn,1,yn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield gn.deltaDecorations([],[sn]),xn()}),ir=yn=>ze(void 0,null,function*(){let sn=[];const Lt=Rt.getLineDecorations(yn);for(let Ht of Lt)Ht.options.linesDecorationsClassName==="breakpoints-select"&&sn.push(Ht.id);yield gn.deltaDecorations(sn,[]),xn()}),Rn=yn=>{let sn=Rt.getLineDecorations(yn);for(let Lt of sn)if(Lt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Ue.isEqual)(Ut,xn(!0).lines)){gn.deltaDecorations(xn(!0).ids,[]);const yn=Ut.map(sn=>({range:new tt.Range(sn,1,sn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));gn.deltaDecorations([],yn)}const Vn=Rt.onDidChangeModelContent(yn=>{let sn=Rt.getPosition();if(sn){let Lt=sn.lineNumber;clearTimeout(er.current),er.current=setTimeout(()=>{It(gn.getLineContent(Lt),Lt)?ir(Lt):Rn(Lt)?(ir(Lt),or(Lt)):xn()},100)}}),cn=Rt.onMouseDown(yn=>{var sn,Lt,Ht;if(yn.target.detail&&((Ht=(Lt=(sn=yn.target)==null?void 0:sn.element)==null?void 0:Lt.className)!=null&&Ht.includes("line-numbers"))){let rn=yn.target.position.lineNumber;if(It(gn.getLineContent(rn),rn))return;Rn(rn)?ir(rn):or(rn)}}),Bn=yn=>{let sn={range:new tt.Range(yn,1,yn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Ln.current=Rt.deltaDecorations(Ln.current,[sn])},At=()=>{Ln.current=Rt.deltaDecorations(Ln.current,[])},lr=Rt.onMouseMove(yn=>{var sn,Lt,Ht;if(At(),yn.target.detail&&((Ht=(Lt=(sn=yn.target)==null?void 0:sn.element)==null?void 0:Lt.className)!=null&&Ht.includes("line-numbers"))){let rn=yn.target.position.lineNumber;if(It(gn.getLineContent(rn),rn))return;Bn(rn)}}),wr=Rt.onMouseLeave(()=>{At()});return()=>{Vn.dispose(),cn.dispose(),lr.dispose(),wr.dispose()}}},[Zt.current,_n,Ut,Yt,on,$e]),(0,be.useEffect)(()=>{var Gt;(Gt=Zt.current)!=null&&Gt.instance&&on&&Zt.current.instance.setPosition({lineNumber:0,column:0})},[Yt]);function Wt(){let Gt=Zt.current.instance;if(Gt){const Rt=Gt.getSelection(),gn=Zt.current.pastePos||{},Tn=new tt.Range(gn.startLineNumber||Rt.endLineNumber,gn.startColumn||Rt.endColumn,gn.endLineNumber||Rt.endLineNumber,gn.endColumn||Rt.endColumn);setTimeout(()=>{Gt.executeEdits("",[{range:Tn,text:""}])},300)}}function Qt(Gt){(window.navigator.platform.match("Mac")?Gt.metaKey:Gt.ctrlKey)&&Gt.keyCode==83&&(Gt.preventDefault(),ft())}const an=()=>{if(gt&&Zt.current.instance){const Gt=Zt.current.instance.getContentHeight();Hn(Gt{if(!Un.current)return;const{keyCode:Rt,ctrlKey:gn,metaKey:Tn,target:xn,type:or}=Gt;return(or==="paste"||(Rt===67||Rt===86)&&(Tn||gn))&&xn.nodeName==="TEXTAREA"&&(yt(),Gt.preventDefault()),!1};function Gn(Gt,Rt){var gn=window.URL||window.webkitURL||window,Tn=new Blob([Rt]),xn=document.createElementNS("http://www.w3.org/1999/xhtml","a");xn.href=gn.createObjectURL(Tn),xn.download=Gt,bn(xn)}(0,be.useEffect)(()=>{an()},[an]),(0,be.useEffect)(()=>{fn.current&&!_n&&Promise.all([Se.e(8909),Se.e(3267)]).then(Se.bind(Se,71448)).then(Gt=>{try{tt=Gt,Zt.current.instance=tt.editor.create(fn.current,{value:nt,language:it($e),theme:ut,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},ot);const Rt=Zt.current.instance;let xn=[...Ee.BH._menuItems].find(Vn=>Vn[0]._debugName=="EditorContext")[1],or=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],ir=(Vn,cn)=>{var Bn,At;let lr=Vn._first;do cn.includes((At=(Bn=lr.element)==null?void 0:Bn.command)==null?void 0:At.id)&&Vn._remove(lr);while(lr=lr.next)};if(bt(Rt,tt),setTimeout(()=>{an(),Zt.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{Gn(qt||"educoder.txt",Rt.getValue())}})},500),Zt.current.subscription=Rt.onDidChangeModelContent(Vn=>{mn.current?clearTimeout(rr.current):(an(),St(Rt.getValue(),Vn)),rr.current=setTimeout(()=>{mn.current=!1},500)}),window.Monaco||he(tt,it($e)),pt&&(ir(xn,or),fn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",jn),window.removeEventListener("paste",jn),window.addEventListener("keydown",jn),window.addEventListener("paste",jn)),window.Monaco=tt,at&&Rt.onDidBlurEditorWidget(()=>{at(Rt.getValue())}),Et&&Rt.onDidFocusEditorText(()=>{Et(Rt.getValue())}),pt)try{Rt.onDidPaste(Vn=>{const cn=Rt.getSelection(),Bn=Zt.current.pastePos||{},At=new tt.Range(Bn.startLineNumber||cn.endLineNumber,Bn.startColumn||cn.endColumn,Bn.endLineNumber||cn.endLineNumber,Bn.endColumn||cn.endColumn);Rt.executeEdits("",[{range:Vn.range,text:""}])})}catch(Vn){}let Rn=ht();return dn&&typeof dn=="string"&&new _e(dn,Rt,tt),hr(!0),()=>{const Vn=Zt.current.instance;Vn.dispose();const cn=Vn.getModel();cn&&cn.dispose(),Zt.current.subscription&&Zt.current.subscription.dispose(),Rn.unobserve(fn.current)}}catch(Rt){}})},[]),(0,be.useEffect)(()=>{if(Zt.current.instance&&_n)return document.addEventListener("keydown",Qt,!1),()=>{document.removeEventListener("keydown",Qt)}},[ft,_n]),(0,be.useEffect)(()=>{let Gt=Zt.current.instance;if(Gt&&_n){let Rt=it($e);tt.editor.setModelLanguage(Gt.getModel(),Rt)}},[$e,_n]),(0,be.useEffect)(()=>{Zt.current.instance&&_n&&tt.editor.setTheme(ut)},[ut,_n]),(0,be.useEffect)(()=>{let Gt=Zt.current.instance;$n.current=lt,Gt&&_n&&(Gt.updateOptions(qe({},lt)),setTimeout(()=>{Gt.getModel().updateOptions(qe({},lt))},200))},[JSON.stringify(lt),_n]),(0,be.useEffect)(()=>{let Gt=Zt.current.instance;Gt&&_n&&Gt.layout()},[ke,Ke,_n]);const[tr,Ot]=(0,be.useState)(Ie(ke)),[vn,Hn]=(0,be.useState)(Ie(Ke)),kt=rt(qe({},et),{width:tr,height:vn,position:"relative"});return be.createElement("div",{className:"my-monaco-editor",ref:fn,style:kt},ct&&be.createElement(Je.CopyToClipboard,{text:nt,onCopy:()=>De.ZP.success("\u590D\u5236\u6210\u529F")},be.createElement(Oe.Z,{title:"\u590D\u5236\u4EE3\u7801"},be.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},be.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Me({width:Ae="100%",height:je="100%",original:ke,modified:Ke,language:nt,options:$e={}}){const et=(0,be.useRef)(),[lt,ot]=(0,be.useState)(null);function ut(gt){let pt;return et.current&&(pt=new Be.Z(St=>{for(let bt of St)(bt.target.offsetHeight>0||bt.target.offsetWidth>0)&>.layout()}),pt.observe(et.current)),pt}(0,be.useEffect)(()=>(et.current&&Promise.all([Se.e(8909),Se.e(9404)]).then(Se.bind(Se,2550)).then(gt=>{tt=gt;const pt=tt.editor.createDiffEditor(et.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}));ot(pt);let St=ut(pt);return()=>{pt.dispose();const bt=pt.getModel();bt&&bt.dispose(),St.unobserve(et.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,be.useEffect)(()=>{lt&<.setModel({original:tt.editor.createModel(ke,nt),modified:tt.editor.createModel(Ke,nt)})},[ke,Ke,nt,lt]);const at=Ie(Ae),ct=Ie(je),ft={width:at,height:ct};return be.createElement("div",{className:"my-diff-editor",ref:et,style:ft})}},16869:function(dt,st,Se){"use strict";var be=Se(38476),Be=Se(57809),E=Se(78673),me=Se(59301);const de=Be.default.Option;st.Z=({isTheoretical:le,onFontSizeChange:ae,cmFontSize:oe,cmCodeMode:se,autoFormat:ue,onCodeModeChange:ie,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 me.createElement("div",{className:`tpi-code-setting ${a}`},me.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),me.createElement("section",null,me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),me.createElement(Be.default,{bordered:!1,size:"small",value:se,onChange:ie},me.createElement(de,{value:"vs"},"\u767D\u8272\u80CC\u666F"),me.createElement(de,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!le&&me.createElement(me.Fragment,null,me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),me.createElement(Be.default,{bordered:!1,size:"small",value:oe,onChange:ae},me.createElement(de,{value:12},"12px"),me.createElement(de,{value:14},"14px"),me.createElement(de,{value:16},"16px"),me.createElement(de,{value:18},"18px"),me.createElement(de,{value:20},"20px"),me.createElement(de,{value:22},"22px"))),me.createElement("div",{className:"file-item"},me.createElement("b",null,"Tab\u8F6C\u6362"),me.createElement(E.Z,{checked:y,onChange:re})),me.createElement("div",{className:"file-item",onClick:te},me.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!le&&me.createElement(me.Fragment,null,me.createElement("h3",null,"\u5FEB\u6377\u952E"),me.createElement("section",null,me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),me.createElement("span",null,"Ctrl + S")),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),me.createElement("span",null,"F1 / Alt + F1")),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),me.createElement("span",null,"Ctrl + ]/[")),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),me.createElement("span",null,"Ctrl + Shift + \\")),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),me.createElement("span",null,"Home")),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),me.createElement("span",null,"End"))),x),!le&&me.createElement(me.Fragment,null,me.createElement("h3",null,"\u5FEB\u6377\u952E"),me.createElement("section",null,me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),me.createElement("span",null,z[ee==null?void 0:ee.difficulty])),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),me.createElement("span",null,b==null?void 0:b.name)),me.createElement("div",{className:"file-item"},me.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),me.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},58856:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return Be}});var be=Se(59301);function Be(E,me){const de=(0,be.useRef)();(0,be.useEffect)(()=>{de.current=E}),(0,be.useEffect)(()=>{function le(){de.current()}if(me!==null){let ae=setInterval(le,me);return()=>clearInterval(ae)}},[me])}},31947:function(dt,st,Se){"use strict";var be=Se(59301),Be=Se(31797),E=Se(5871),me=Se(78241),de=Se(43418),le=Se(71418),ae=Se(1710),oe=Se(92832),se=Se(95237),ue=Se(43604),ie=Se(3113),re=Se(94941),ne=Se(61186),te=Se.n(ne),a=Se(89070),y=Se(955),x=Se(16209),b=Se(24065),ee=Se(83312),z=Se(59301),ce=(he,ye,ve)=>new Promise((Pe,we)=>{var xe=Ee=>{try{_e(ve.next(Ee))}catch(De){we(De)}},Ce=Ee=>{try{_e(ve.throw(Ee))}catch(De){we(De)}},_e=Ee=>Ee.done?Pe(Ee.value):Promise.resolve(Ee.value).then(xe,Ce);_e((ve=ve.apply(he,ye)).next())});const{Countdown:fe}=Be.default,ge=({value:he,onChange:ye,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:he,onChange:ye,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"})),pe=({exercise:he,successCb:ye,dispatch:ve})=>{var Pe,we,xe,Ce;const _e=(0,a.useParams)(),[Ee]=me.default.useForm(),De=me.default.useWatch("time",Ee),[Oe,Ue]=(0,be.useState)(!1),Te=(0,be.useRef)(),{actionTabs:Je}=he,[Ze,Ye]=(0,be.useState)(),[,Qe,Ne,Fe]=(0,ee.U)(re.n7,{id:_e.categoryId}),[,Re,Ge]=(0,ee.U)(re.Cd,{});(0,be.useEffect)(()=>{he.actionTabs.key==="student-unlock"&&(Ue(!1),Ee.resetFields())},[he.actionTabs.key]);const qe=()=>new Promise(tt=>ce(void 0,null,function*(){var Xe,Me;return Te.current=yield(0,x.y)({ip_limit:(Xe=Je==null?void 0:Je.exerciseParams)==null?void 0:Xe.ip_limit,ip_bind:(Me=Je==null?void 0:Je.exerciseParams)==null?void 0:Me.ip_bind_type}),tt()})),rt=()=>ce(void 0,null,function*(){var tt,Xe,Me,Ae,je;yield Ee.validateFields();const ke=Ee.getFieldsValue();if(Ue(!0),(((tt=Je==null?void 0:Je.exerciseParams)==null?void 0:tt.ip_limit)!=="no"||(Xe=Je==null?void 0:Je.exerciseParams)!=null&&Xe.ip_bind_type)&&(yield qe()),(yield(0,re.ZD)((Me=Je==null?void 0:Je.exerciseParams)==null?void 0:Me.id,{exercise_user_id:(Ae=Je==null?void 0:Je.exerciseParams)==null?void 0:Ae.exercise_user_id,unlock_key:ke.unlock_key,time:ke.time,ip:Te.current})).status===0){if(ye){ve({type:"exercise/setActionTabs",payload:{}}),ye();return}const nt=Je==null?void 0:Je.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:(je=(0,b.eY)())==null?void 0:je.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:{}})}Ue(!1)}),We=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:tt=>z.createElement("span",{className:tt.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},tt)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:tt=>z.createElement("span",{className:tt.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},tt)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],ze=((Pe=Je==null?void 0:Je.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((we=Je==null?void 0:Je.exerciseParams)==null?void 0:we.errorMessage)=="object";(0,be.useEffect)(()=>{he.actionTabs.key==="student-unlock"&&ce(void 0,null,function*(){const tt=yield Ge(_e);yield Ne({}),tt.status||Ye(tt)})},[he.actionTabs.key]);const{time:Ie,end_time:He}=(Ze==null?void 0:Ze.exercise)||{},Le=Fe!=null&&Fe.user_end_time?te()(Fe==null?void 0:Fe.user_end_time).add(1,"minutes"):te()(),Ve=te()(Fe==null?void 0:Fe.user_total_end_time)>Le?Math.round(te().duration(te()(Fe==null?void 0:Fe.user_total_end_time).diff(Le.startOf("minute"))).asMinutes()):0,it=((Fe==null?void 0:Fe.student_left_minutes)||0)+(De||0);return z.createElement(z.Fragment,null,z.createElement(de.default,{width:514,centered:!0,closable:!!((xe=Je==null?void 0:Je.exerciseParams)!=null&&xe.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:he.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ve({type:"exercise/setActionTabs",payload:{}})}},z.createElement(le.Z,{spinning:Qe||Re},ze&&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 "),!ze&&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"),ze&&z.createElement(ae.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ce=Je==null?void 0:Je.exerciseParams)==null?void 0:Ce.errorMessage)||{}],columns:We}),z.createElement("div",{className:""},z.createElement(me.default,{form:Ee,layout:"vertical",autoComplete:"off"},z.createElement(me.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(oe.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Ie!==-1?z.createElement(z.Fragment,null,z.createElement(me.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()(Fe==null?void 0:Fe.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},z.createElement(ge,{MaxMinutes:Ve})),z.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},Qe||Re?"--":it),"\u5206\u949F",it!==0&&(Fe==null?void 0:Fe.user_end_time)&&z.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},te()(Fe==null?void 0:Fe.user_end_time).add(De||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()(He).format("YYYY-MM-DD HH:mm")))),z.createElement(se.Z,{justify:"space-between",align:"middle"},z.createElement(ue.Z,null),z.createElement(ue.Z,null,z.createElement(ie.ZP,{loading:Oe,onClick:rt},"\u8FDB\u5165\u8003\u8BD5"))))))};st.Z=(0,a.connect)(({exercise:he})=>({exercise:he}))(pe)},8394:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return a}});var be=Se(59301),Be=Se(89070),E=Se(43418),me=Se(3113),de=Se(71418),le=Se(88264),ae=Se(25555),oe=Se(23954),se=Se(24334),ue=Se(61186),ie=Se.n(ue),re=Se(35106),ne=Se(59301),te=(y,x,b)=>new Promise((ee,z)=>{var ce=pe=>{try{ge(b.next(pe))}catch(he){z(he)}},fe=pe=>{try{ge(b.throw(pe))}catch(he){z(he)}},ge=pe=>pe.done?ee(pe.value):Promise.resolve(pe.value).then(ce,fe);ge((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,ee]=(0,be.useState)(void 0);console.log((0,Be.useLocation)(),33);const z=(0,Be.useLocation)();(0,be.useEffect)(()=>{y&&function(){return te(this,null,function*(){const Ye=yield(0,le.X6)(y);ee(Ye.data)})}()},[y]);const{status:ce,created_at:fe,code:ge,name:pe,language:he,pass_sets_count:ye,set_count:ve,error_msg:Pe,output:we,input:xe,expected_output:Ce,execute_memory:_e,user:Ee,execute_time:De,input_file_url:Oe,output_file_url:Ue,is_file:Te,expected_output_file_url:Je}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(me.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(de.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:ce===0?"c-green":"c-red"},ae.Im[ce])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,ie()(fe).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,he)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,De*1e3,"ms")," "),ne.createElement("li",null," ",`${ce===re.h.HIDE_COMPILE_STATUS?"--":ye} / ${ve} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,ae.gZ)({status:ce,error_msg:Pe,execute_time:De,output:we,input:xe,expected_output:Ce,input_file_url:Oe,output_file_url:Ue,is_file:Te,expected_output_file_url:Je}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(oe.ZP,{height:"200px",width:"100%",language:he==null?void 0:he.toLocaleLowerCase(),value:se.Base64.decode(ge),options:{readOnly:!0}}))):null)))}},87001:function(dt,st,Se){"use strict";Se.d(st,{Im:function(){return ve},Y4:function(){return we}});var be=Se(59301),Be=Se(92832),E=Se(8591),me=Se(3113),de=Se(74440),le=Se(24334),ae=Se.n(le),oe=Se(61293),se=Se(33538),ue=Se(85149),ie=Se(955),re=Se(34376),ne=Se.n(re),te=Se(99064),a=Se(89070),y=Se(8394),x=Se(34604),b=Se(88264),ee=Se(34587),z=Se(23210),ce=Se(92310),fe=Se.n(ce),ge=Se(4901),pe=Se(59301),he=(_e,Ee,De)=>new Promise((Oe,Ue)=>{var Te=Ye=>{try{Ze(De.next(Ye))}catch(Qe){Ue(Qe)}},Je=Ye=>{try{Ze(De.throw(Ye))}catch(Qe){Ue(Qe)}},Ze=Ye=>Ye.done?Oe(Ye.value):Promise.resolve(Ye.value).then(Te,Je);Ze((De=De.apply(_e,Ee)).next())});const{TextArea:ye}=Be.default,ve={[de.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[de.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[de.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 we(_e){const{status:Ee,error_msg:De,output:Oe,input:Ue,expected_output:Te,is_file:Je,input_file_url:Ze,output_file_url:Ye,expected_output_file_url:Qe,setMonacoValue:Ne,setData:Fe}=_e,Re=(0,be.useRef)(),Ge=(0,be.useRef)(),qe=(0,be.useRef)();let rt=null;const We={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,be.useEffect)(()=>{if(Oe&&!Je&&Re.current){const ze=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});ze.open(Re.current);const Ie=(0,ie.pp)(le.Base64.decode(Oe));ze.write(Ie),ze.setOption("theme",{background:"#1e1e1e"})}if(Ue&&!Je&&Ge.current){const ze=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});ze.open(Ge.current),ze.write((0,ie.pp)(Ue)),ze.setOption("theme",{background:"#1e1e1e"})}if(Te&&!Je&&qe.current){const ze=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});ze.open(qe.current),ze.write((0,ie.pp)(le.Base64.decode(Te))),ze.setOption("theme",{background:"#1e1e1e"})}},[Oe]),Ee){case de.h.NOMATCH:rt=pe.createElement(pe.Fragment,null,pe.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Je&&pe.createElement("div",{ref:Re}),Je&&pe.createElement("div",{style:We},pe.createElement("a",{style:{fontSize:"16px"},onClick:()=>he(this,null,function*(){const ze=yield(0,te.ZP)(Ye,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});Ne(ze),setTimeout(()=>{Fe(Ye)},200)})},Oe)),pe.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Je&&pe.createElement("div",{ref:qe}),Je&&pe.createElement("div",{style:We},pe.createElement("a",{style:{fontSize:"16px"},onClick:()=>he(this,null,function*(){const ze=yield fetch(Qe,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});Ne(yield ze.text()),setTimeout(()=>{Fe(Qe)},200)})},Te)));break;case de.h.EXECUTEFAILURE:rt=pe.createElement(pe.Fragment,null,pe.createElement("div",{style:{border:"1px #F6F7F9 solid"}},pe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Je&&pe.createElement(ue.Z,{value:Ue,style:We}),Je&&pe.createElement("div",{style:We},pe.createElement("a",{onClick:()=>(0,ie.LR)(Ze,Ue)},Ue))),pe.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},pe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),pe.createElement("pre",{className:oe.Z.error,style:{color:"#E30000",padding:"0 10px"}},le.Base64.decode(De),"111")));break;case de.h.COMPILEFAILURE:rt=pe.createElement(pe.Fragment,null,pe.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),pe.createElement("pre",{className:oe.Z.error},le.Base64.decode(De)));break;case de.h.PODFAILURE:rt=pe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case de.h.TIMEOUT:rt=pe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return pe.createElement(pe.Fragment,null," ",rt," ")}function xe(_e){const{status:Ee,error_msg:De,execute_time:Oe,output:Ue,input:Te,expected_output:Je,is_file:Ze,input_file_url:Ye,output_file_url:Qe,expected_output_file_url:Ne}=_e;let Fe=null;switch(Ee){case de.h.OK:case de.h.NOMATCH:case de.h.EXECUTEFAILURE:case de.h.COMPILEFAILURE:Fe=pe.createElement("div",{id:"outputResultRef",className:"h100"});break;case de.h.PODFAILURE:Fe=pe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case de.h.TIMEOUT:Fe=pe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return pe.createElement(pe.Fragment,null," ",Fe," ")}function Ce({value:_e,className:Ee}){return pe.createElement("span",{className:Ee},_e)}st.ZP=({input:_e,is_file:Ee,debuging:De,submitting:Oe,executingMessage:Ue,debugResult:Te,onChangeInput:Je,onDebugCode:Ze,onSubmitCode:Ye,hack:Qe,user:Ne,submitResult:Fe,isWhiteTheme:Re,topDispatch:Ge})=>{const[qe]=(0,a.useSearchParams)(),rt=(0,a.useParams)(),[We,ze]=(0,be.useState)(!1),[Ie,He]=(0,be.useState)(!1),[Le,Ve]=(0,be.useState)(1),[it,tt]=(0,be.useState)(!1),[Xe,Me]=(0,be.useState)(0),[Ae,je]=(0,be.useState)(!1),[ke,Ke]=(0,be.useState)(""),[nt,$e]=(0,be.useState)(""),et=(0,be.useRef)(),lt=(0,be.useRef)(),ot=(0,be.useRef)(null),ut=(0,be.useRef)(null),at=(0,be.useRef)(null);console.log(Fe,"submitResult",rt);const{status:ct,id:ft,input:gt,output:pt,expected_output:St,is_file:bt,input_file_url:Et,output_file_url:Mt,expected_output_file_url:Ut,error_msg:qt,hack_sets:tn}=Fe||{};(0,be.useEffect)(()=>{ct===0&&(Ve(1),Me(0))},[ct,ft]),(0,be.useEffect)(()=>{he(void 0,null,function*(){var Ln;const mn=yield(0,b.rX)(rt==null?void 0:rt.id,"submit");(mn==null?void 0:mn.status)===0&&(mn!=null&&mn.data&&((Ln=mn==null?void 0:mn.data)==null?void 0:Ln.status)!==0?(Ge({type:ee.Types.SET_SUBMIT_RESULT,payload:{submitResult:mn==null?void 0:mn.data}}),Ve(2),Me(320)):(Ve(1),Me(0)))})},[rt==null?void 0:rt.id]),(0,be.useEffect)(()=>{if(et.current){let un=function(ht){er=rr.offsetHeight,Un=!0,_n=ht.pageY,at.current.style.display="block"},Ln=function(){Un=!1,at.current.style.display="none"},mn=function(ht){if(Un){Xt();let yt=_n-ht.pageY,vt=er+yt;if(vt<0&&(vt=0),vt>window.innerHeight-150&&(vt=window.innerHeight-150),Le===1){vt<=34?Me(0):Me(vt);return}console.log(vt,"resizeH"),Me(vt)}};const rr=ot.current;let er=0,Un=!1,_n=0;const hr=document.getElementById("case-y-bar");return hr==null||hr.addEventListener("mousedown",un),document.addEventListener("mousemove",mn),document.addEventListener("mouseup",Ln),()=>{const ht=document.getElementById("case-y-bar");ht==null||ht.removeEventListener("mousedown",un),document.removeEventListener("mousemove",mn),document.removeEventListener("mouseup",Ln)}}},[et,Le]),(0,be.useEffect)(()=>{const un=x.Z.subscribe("resize-move-bar",Xt);if(qe.get("type")!=="exercises")return document.addEventListener((0,ge.gH)(),dn),()=>{document.removeEventListener((0,ge.gH)(),dn),un()}},[]),(0,be.useEffect)(()=>{});function Xt(){var un,Ln,mn,rr;const er=document.getElementById("outputResultRef");if(er){let Un=er.dataset.text;lt.current.reset(),lt.current.writeln(Un);const _n=document.getElementById("outputResultRef").offsetWidth-20,hr=((rr=(mn=(Ln=(un=lt.current)==null?void 0:un._core)==null?void 0:Ln._renderService)==null?void 0:mn.dimensions)==null?void 0:rr.actualCellWidth)||10,ht=Math.ceil(_n/hr);lt.current.resize(ht,Math.ceil(er.clientHeight/16))}}function Yt(){ze(!We),setTimeout(()=>{Xt()},300),Me(We?320:window.innerHeight-150)}function on(){Ie?(He(!1),(0,ge.BU)()):(He(!0),(0,ge.Dj)(ut.current))}const dn=un=>{(0,ge.vp)()||He(!1)},An=(0,be.useMemo)(()=>{if(Te){const{status:un,output:Ln,error_msg:mn}=Te;return setTimeout(()=>{let rr="",er=document.getElementById("outputResultRef");Ln?rr=le.Base64.decode(Ln):mn&&(rr=le.Base64.decode(mn)),lt.current=new re.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),lt.current.open(er),lt.current.onKey(function(Un){var _n;if(Un.domEvent.key.toLocaleUpperCase()==="C"&&Un.domEvent.ctrlKey){Un.domEvent.preventDefault();let hr=(_n=lt.current)==null?void 0:_n.getSelection();navigator.clipboard.writeText(hr).then(()=>{})}}),er.dataset.text=rr,lt.current.setOption("convertEol",!0),Xt()},300),pe.createElement(pe.Fragment,null,xe(Te))}return null},[Te]);function fn(){var un,Ln;if(!(Qe!=null&&Qe.code)||((un=Qe==null?void 0:Qe.code)==null?void 0:un.trim().length)===0){(Ln=E.ZP)==null||Ln.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Ve(1),Me(320),Ze()}const Zt=un=>he(void 0,null,function*(){let Ln=yield(0,te.ZP)(`/api/problems/${un}/start.json`,{method:"get",params:{hack_user_id:Ne==null?void 0:Ne.user_id}});Ln&&(window.location.href=`/myproblems/${Ln==null?void 0:Ln.identifier}${window.location.search}`)});function $n(){bt?navigator.clipboard.writeText(le.Base64.decode(qt)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(le.Base64.decode(pt)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return pe.createElement(be.Fragment,null,pe.createElement("div",{className:fe()(oe.Z.case,Re&&oe.Z.whiteCase),style:{height:Xe},ref:ot},pe.createElement("div",{className:oe.Z.fullMask,ref:at}),pe.createElement("div",{className:oe.Z["resize-y-bar"],id:"case-y-bar",ref:et,draggable:!1},Le===2&&pe.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Le===1&&(Xe<=34?pe.createElement("div",{onClick:()=>{Me(320)},className:oe.Z.unfoldBtn},"\u63A7\u5236\u53F0",pe.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):pe.createElement("div",{onClick:()=>{Me(0)},className:oe.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",pe.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),pe.createElement("div",null,pe.createElement("div",{className:oe.Z.caseHead},pe.createElement("div",{className:oe.Z.dot}),pe.createElement("div",{className:oe.Z.text},Le===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Le===2&&!Oe&&typeof ct=="number"&&pe.createElement(pe.Fragment,null,ct===de.h.OK?pe.createElement("div",{className:oe.Z.pass},pe.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):pe.createElement("div",{className:oe.Z.noPass},pe.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),ve[ct])),pe.createElement("div",{className:oe.Z.btns},Le===2&&!Oe&&pe.createElement(pe.Fragment,null,ct!==de.h.OK&&pe.createElement("div",{onClick:$n},pe.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),pe.createElement("div",{onClick:()=>{je(ft)}},pe.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),qe.get("type")!=="exercises"&&pe.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>Yt()},pe.createElement("i",{className:`iconfont icon-${We?"suoxiao1":"fangda"}`})))),pe.createElement("div",{style:{display:Le===1?"block":"none"}},De?pe.createElement(se.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):pe.createElement("div",{style:{height:Xe-34}},pe.createElement("div",{className:oe.Z.result},pe.createElement("div",{className:oe.Z.left},pe.createElement("div",{className:oe.Z.title},pe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),pe.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),pe.createElement("div",{className:oe.Z.leftNode},pe.createElement(ye,{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:Ee?"":_e,onChange:Je}))),pe.createElement("div",{className:oe.Z.right},pe.createElement("div",{className:oe.Z.title},pe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),pe.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),pe.createElement("div",{className:oe.Z.node},Te?An:pe.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")))))),pe.createElement("div",{style:{display:Le===2?"block":"none"}},Oe?pe.createElement(se.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):pe.createElement("div",{style:{height:Xe-34,display:"flex",flexDirection:"column",overflow:"hidden"}},pe.createElement("div",{ref:ut,className:oe.Z.elseNode},pe.createElement("div",{className:oe.Z.nameWrap},pe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),pe.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),pe.createElement("div",{className:oe.Z.scroll},pe.createElement("pre",{className:oe.Z.scrollBox,style:it?{height:Ie?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!bt&&pe.createElement(Ce,{value:gt}),bt&&pe.createElement("a",{style:{fontSize:"16px"},onClick:()=>he(void 0,null,function*(){const un=yield fetch(Et,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield un.text()),setTimeout(()=>{Ke(Et)},200)})},gt)),gt&&pe.createElement("div",{className:oe.Z.action},pe.createElement("span",{onClick:()=>tt(!it)},it?"\u6536\u8D77":"\u5C55\u5F00"),qe.get("type")!=="exercises"&&pe.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>on(),className:`iconfont icon-${Ie?"suoxiao1":"fangda"}`})))),pe.createElement("div",{className:oe.Z.result,style:{flex:1,overflow:"hidden"}},pe.createElement("div",{className:oe.Z.left},pe.createElement("div",{className:oe.Z.title},pe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),pe.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),pe.createElement("div",{className:oe.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},pe.createElement("pre",null,!bt&&pe.createElement(Ce,{className:"mb10",value:St&&le.Base64.decode(St)||""}),bt&&pe.createElement("a",{style:{fontSize:"16px"},onClick:()=>he(void 0,null,function*(){const un=yield fetch(Ut,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield un.text()),setTimeout(()=>{Ke(Ut)},200)})},St)))),pe.createElement("div",{className:oe.Z.right},pe.createElement("div",{className:oe.Z.title},pe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),pe.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),pe.createElement("div",{className:oe.Z.node,style:{color:ct===de.h.OK?"#2ABD8C":"#FF2C29"}},pe.createElement("pre",null,(ct===4||ct===5)&&pe.createElement(Ce,{className:"mb10",value:qt&&le.Base64.decode(qt)||""}),ct!=4&&ct!=5&&(bt?pe.createElement("a",{style:{fontSize:"16px"},onClick:()=>he(void 0,null,function*(){const un=yield(0,te.ZP)(Mt,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{$e(un)}catch(Ln){$e("")}setTimeout(()=>{Ke(Mt)},200)})},pt):pe.createElement(Ce,{className:"mb10",value:pt&&le.Base64.decode(pt)||""})))))))))),pe.createElement("div",{className:fe()(oe.Z.footer,Re&&oe.Z.whiteFooter),style:{zIndex:100}},(Qe==null?void 0:Qe.is_program)&&(Qe==null?void 0:Qe.above_question)&&pe.createElement(me.ZP,{className:"mr10",type:"primary",onClick:()=>Zt(Qe==null?void 0:Qe.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Qe==null?void 0:Qe.is_program)&&(Qe==null?void 0:Qe.under_question)&&pe.createElement(me.ZP,{className:"mr10",type:"primary",onClick:()=>Zt(Qe==null?void 0:Qe.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),pe.createElement(me.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:De||Oe,loading:De,color:"#2ABD8C",className:"mr10",onClick:fn},"\u8C03\u8BD5\u4EE3\u7801"),qe.get("qtype")!=="8"&&pe.createElement(me.ZP,{className:oe.Z.disabled,type:"primary",icon:pe.createElement("i",{className:"iconfont icon-bofang1"}),loading:Oe,disabled:De||Oe,onClick:()=>{var un,Ln;if(!(Qe!=null&&Qe.code)||((un=Qe==null?void 0:Qe.code)==null?void 0:un.trim().length)===0){(Ln=E.ZP)==null||Ln.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}Ve(2),Me(320),Ye()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),pe.createElement(y.Z,{onClose:je,open:Ae}),pe.createElement(z.Z,{close:!0,data:ke,type:ke.length?"txt":"",onClose:()=>Ke(""),monacoEditor:{value:nt,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},34587:function(dt,st,Se){"use strict";Se.r(st),Se.d(st,{Types:function(){return xr},default:function(){return oi}});var be=Se(59301),Be=Se(89070),E=Se(31797),me=Se(43418),de=Se(71418),le=Se(3113),ae=Se(6848),oe=Se(95237),se=Se(88264),ue=Se(94941),ie=Se(4901),re=Se(17064),ne=Se(3294),te=Se(87169),a=Se(43428),y=Se(23954),x=Se(79346),b=Se(16479),ee=Se(16869),z=Se(59301),ce=Object.defineProperty,fe=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,ve=(mt,wt,Tt)=>wt in mt?ce(mt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):mt[wt]=Tt,Pe=(mt,wt)=>{for(var Tt in wt||(wt={}))he.call(wt,Tt)&&ve(mt,Tt,wt[Tt]);if(pe)for(var Tt of pe(wt))ye.call(wt,Tt)&&ve(mt,Tt,wt[Tt]);return mt},we=(mt,wt)=>fe(mt,ge(wt));const xe={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0)};var Ce=(mt=>(mt[mt.set_font_size=0]="set_font_size",mt[mt.set_theme=1]="set_theme",mt[mt.on_tab_to_space=2]="on_tab_to_space",mt[mt.set_show_editor_setting=3]="set_show_editor_setting",mt))(Ce||{});function _e(mt,wt){switch(wt.type){case 3:return we(Pe({},mt),{showEditorSetting:wt.payload});case 1:return we(Pe({},mt),{theme:wt.payload});case 0:return we(Pe({},mt),{fontSize:wt.payload});case 2:return we(Pe({},mt),{tabToSpace:wt.payload});default:throw new Error}}var Ee=({isLoading:mt,value:wt,onChange:Tt,language:Dt,onUpdateCode:Ct,ActionBarRender:_t,setIsWhiteTheme:xt})=>{const[jt,Bt]=(0,be.useReducer)(_e,xe),{theme:Vt,fontSize:Nt,showEditorSetting:ln,tabToSpace:Kt}=jt,wn=(0,be.useRef)(),$t=(0,be.useRef)();(0,be.useEffect)(()=>{xt(Vt==="vs")},[Vt]);const Mn={onFontSizeChange:On=>{Bt({type:0,payload:On}),(0,b.t)("cmFontSize",On)},tabToSpace:Kt,cmFontSize:Nt,className:"oj",cmCodeMode:Vt,onTabToSpace:On=>{Bt({type:2,payload:On}),(0,b.t)("cmTabToSpace",On)},onCodeModeChange:On=>{Bt({type:1,payload:On}),(0,b.t)("ProgrammingCodeMode",On)}};function Zn(){Bt({type:3,payload:!1})}function gr(){Bt({type:3,payload:!0})}const Er={value:wt,language:Dt,theme:Vt,options:{fontSize:Nt,insertSpaces:Kt},onChange:On=>{Tt(On),$t.current=On,clearTimeout(wn.current),wn.current=setTimeout(()=>{Ct($t.current)},1e4)},onEditBlur:On=>{$t.current&&Ct($t.current)}};return z.createElement(be.Fragment,null,_t(gr),z.createElement("div",{style:{flex:1,overflow:"hidden"}},!mt&&z.createElement(y.ZP,Pe({},Er))),z.createElement(x.Z,null,z.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:ln,onClose:Zn},z.createElement(ee.Z,Pe({},Mn)))))},De=Se(60141),Oe=Se(24334),Ue=Se(87001),Te={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"},Je={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},Ze=Se(1710),Ye=Se(58421),Qe=Se(58617),Ne=Se(8394),Fe=Se(61186),Re=Se.n(Fe),Ge=Se(59301);const{Column:qe}=Ze.default;var rt=({submitResult:mt,submitting:wt,submitRecords:Tt,page:Dt,onPageChange:Ct,topicId:_t})=>{const[xt]=(0,Be.useSearchParams)(),{records:jt,records_count:Bt}=Tt||{},[Vt,Nt]=(0,be.useState)(!1),ln=xt.get("type")==="1";return Ge.createElement(de.Z,{spinning:wt,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Ge.createElement(Qe.Z,{style:{fontSize:24},spin:!0})},(jt==null?void 0:jt.length)>0?Ge.createElement(Ze.default,{dataSource:jt,rowKey:"id",pagination:!1},Ge.createElement(qe,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(Kt,wn)=>Ge.createElement("span",null," ",Re()(Kt).format("YYYY-MM-DD HH:mm:ss"))}),Ge.createElement(qe,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(Kt,wn)=>{var $t;return Ge.createElement("span",{className:`${Kt===0?"c-green":"c-red"} current`,onClick:()=>{Nt(wn.id)}},($t=Ue.Im[Kt])==null?void 0:$t.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ge.createElement(qe,{title:`\u6267\u884C\u7528\u65F6 (${ln?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:Kt=>Kt?ln?Kt:Kt/1e3:""}),Ge.createElement(qe,{title:`\u5185\u5B58\u6D88\u8017\uFF08${ln?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:Kt=>Kt?ln?Kt:parseFloat((Kt/1024).toFixed(2)):""}),Ge.createElement(qe,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Ge.createElement(qe,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(Kt,wn)=>Ge.createElement("span",{className:"c-light-primary current",onClick:()=>{Nt(wn.id)}},"\u67E5\u770B")})):Ge.createElement("div",{style:{height:300,width:"100%"}}),Ge.createElement(Ne.Z,{onClose:Nt,open:Vt}),Bt>15?Ge.createElement(Ye.Z,{className:Je.pagination,current:Dt,pageSize:15,total:Bt,onChange:Ct}):null)},We=Se(8797),ze=Se(12563),Ie={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},He=Se(85149),Le=Se(59301);const Ve={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var it=({hack:mt})=>{const{language:wt,difficult:Tt,time_limit:Dt,description:Ct}=mt,[_t]=(0,Be.useSearchParams)(),xt=Ve[Tt];return Le.createElement(Le.Fragment,null,Le.createElement("ul",{className:Ie.info},Le.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Le.createElement("b",{className:Ie.info_tag},wt)),Le.createElement("li",null,Le.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",Le.createElement(ze.default,{color:xt==null?void 0:xt.color},xt==null?void 0:xt.name)),Le.createElement("li",null,Le.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Le.createElement("span",{style:{color:"#333333"}},Dt,"\u79D2"))),_t.get("qtype")==="8"?Le.createElement(He.Z,{value:Ct,showProgramFill:!0,className:Ie.desc}):Le.createElement(He.Z,{value:Ct,className:Ie.desc}))},tt={},Xe=Se(59301),Me=({hack:mt,current_user:wt})=>Xe.createElement("div",{className:tt.answer},mt!=null&&mt.answer_text?Xe.createElement(He.Z,{style:{padding:"13px 0"},value:(mt==null?void 0:mt.answer_text)||""}):Xe.createElement(We.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),Ae=Se(34604),je=Se(99064);function ke(mt,wt){return(0,je.U2)(`/problems/${mt}/comments.json`,{page:wt,limit:10})}function Ke(mt){return(0,je.v_)(`/discusses/${mt}/plus.json`,{container_type:"Discuss",type:1})}function nt(mt,wt,Tt){return(0,je.v_)(`/problems/${mt}/comments/reply.json`,{comments:{content:Tt,parent_id:wt}})}function $e(mt,wt){return(0,je.v_)(`/problems/${mt}/comments.json`,{comments:{content:wt}})}function et(mt,wt,Tt){return(0,je.v_)(`/problems/${mt}/comments/${wt}/hidden.json`,Tt)}function lt(mt,wt){return(0,je.IV)(`/problems/${mt}/comments/${wt}`)}var ot=Se(34362);function ut({author:mt}){return be.createElement("a",{href:`/users/${mt.login}`,target:"_blank"},be.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${mt.image_url}`,width:"50"}))}function at({data:mt,index:wt,parentDiscussIndex:Tt,user:Dt,onSetActionType:Ct}){const{author:_t,can_delete:xt,content:jt,id:Bt,time:Vt}=mt;function Nt(){Ct({id:Bt,index:wt,type:"delete-discuss",parentDiscussIndex:Tt,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const ln=Dt.admin||xt||_t.user_id===Dt.user_id;return be.createElement("div",{className:"discuss-item-container second-discuss "},be.createElement(ut,{author:_t}),be.createElement("section",null,be.createElement("div",{className:"discuss-info"},be.createElement("a",{href:`/users/${_t.login}`,target:"_blank"},_t.name),be.createElement("span",{className:"grey"},Vt),be.createElement("div",{className:"btn-group",style:{marginBottom:0}},ln?be.createElement("a",{onClick:Nt,title:"\u5220\u9664"},be.createElement("i",{className:"iconfont icon-shanchu"})):null)),be.createElement(He.Z,{className:"discuss-content",value:jt})))}var ct=({user:mt,data:wt,index:Tt,onPlusDiscuss:Dt,onSetActionType:Ct,activeDiscussIndex:_t,onReplyDiscuss:xt,onSetActiveDiscussIndex:jt})=>{const{content:Bt,children:Vt,hidden:Nt,id:ln,praise_count:Kt,time:wn,user_praise:$t,can_delete:Mn,author:Zn}=wt;function gr(){jt(ln)}function Er(){Dt(ln,!$t,Tt)}function On(){Ct({id:ln,index:Tt,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function vr(){Ct({id:ln,index:Tt,params:{hidden:Nt?"0":"1"},type:"hidden-discuss",message:Nt?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Dn=mt.admin||mt.user_id===Zn.user_id;return be.createElement("div",{className:"discuss-item-container",key:ln},be.createElement(ut,{author:Zn}),be.createElement("section",null,be.createElement("div",{className:"discuss-info"},be.createElement("a",{href:`/users/${Zn.login}`,target:"_blank"}," ",Zn.name," "),be.createElement("span",{className:"grey"},wn)),be.createElement(He.Z,{className:"discuss-content",value:Bt}),Vt&&Vt.length>0?be.createElement("div",{className:"reply-discuss-container"},Vt.map((hn,qn)=>be.createElement(at,{key:hn.id,data:hn,index:qn,user:mt,onSetActionType:Ct,parentDiscussIndex:Tt}))):null,be.createElement("div",{className:"btn-group"},Dn?be.createElement("a",{onClick:vr,title:Nt?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},be.createElement("i",{className:Nt?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Mn&&(!Vt||Vt.length==0)?be.createElement("a",{onClick:On,title:"\u5220\u9664"},be.createElement("i",{className:"iconfont icon-shanchu"})):null,be.createElement("a",{onClick:gr,title:"\u56DE\u590D"}," ",be.createElement("i",{className:"iconfont icon-huifu1"})," "),be.createElement("a",{onClick:Er,className:$t?"c-orange":""},be.createElement("i",{className:$t?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),be.createElement("span",null,Kt||""))),be.createElement(ot.Z,{id:ln,activeDiscussIndex:_t,onReplyDiscuss:xt})))},ft=Se(61398),gt={"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"},pt=Se(12290),St=(mt,wt,Tt)=>new Promise((Dt,Ct)=>{var _t=Bt=>{try{jt(Tt.next(Bt))}catch(Vt){Ct(Vt)}},xt=Bt=>{try{jt(Tt.throw(Bt))}catch(Vt){Ct(Vt)}},jt=Bt=>Bt.done?Dt(Bt.value):Promise.resolve(Bt.value).then(_t,xt);jt((Tt=Tt.apply(mt,wt)).next())}),bt=({user_praise:mt,praise_count:wt,praisePlus:Tt,onCreateDiscuss:Dt,discuss_count:Ct})=>{const[_t,xt]=(0,be.useState)(!1),[jt,Bt]=(0,be.useState)("");function Vt(wn){Bt(wn)}function Nt(){xt(!0)}function ln(){xt(!1)}function Kt(){return St(this,null,function*(){Dt(jt),Bt(""),xt(!1)})}return be.createElement("div",{className:`${gt["dis-input-editor-container"]} ${_t?gt.active:""} `},be.createElement("div",{className:_t?`hide ${gt["text-area"]}`:gt["text-area"]},be.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:Nt}),be.createElement("a",null," ",be.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Ct," "),be.createElement("a",{className:"c-light-black",onClick:Tt,title:mt?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},be.createElement("i",{className:`mr3 ${mt?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),wt?be.createElement("span",null,wt):"")),_t?be.createElement("div",{className:gt["input-mask"],onClick:ln}):null,be.createElement("div",{className:_t?gt["md-container"]:`${gt["md-container"]} hide`},be.createElement(pt.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:jt,height:240,onChange:Vt}),be.createElement("div",{className:gt["tip-container"],onClick:ln},be.createElement("a",{className:gt["btn-send"],onClick:Kt}," \u53D1\u9001 "))))},Et=Se(59301),Mt=Object.defineProperty,Ut=Object.defineProperties,qt=Object.getOwnPropertyDescriptors,tn=Object.getOwnPropertySymbols,Xt=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,on=(mt,wt,Tt)=>wt in mt?Mt(mt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):mt[wt]=Tt,dn=(mt,wt)=>{for(var Tt in wt||(wt={}))Xt.call(wt,Tt)&&on(mt,Tt,wt[Tt]);if(tn)for(var Tt of tn(wt))Yt.call(wt,Tt)&&on(mt,Tt,wt[Tt]);return mt},An=(mt,wt)=>Ut(mt,qt(wt)),fn=(mt,wt,Tt)=>new Promise((Dt,Ct)=>{var _t=Bt=>{try{jt(Tt.next(Bt))}catch(Vt){Ct(Vt)}},xt=Bt=>{try{jt(Tt.throw(Bt))}catch(Vt){Ct(Vt)}},jt=Bt=>Bt.done?Dt(Bt.value):Promise.resolve(Bt.value).then(_t,xt);jt((Tt=Tt.apply(mt,wt)).next())});const Zt={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var $n=(mt=>(mt[mt.GET_DISCUSSES=0]="GET_DISCUSSES",mt[mt.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",mt[mt.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",mt[mt.PLUS_DISCUSS=3]="PLUS_DISCUSS",mt[mt.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",mt[mt.SET_PAGE=5]="SET_PAGE",mt[mt.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",mt))($n||{});function un(mt,wt){switch(wt.type){case 6:return An(dn({},mt),{loading:!0});case 0:return dn(dn({},mt),wt.payload);case 1:return dn(dn({},mt),wt.payload);case 4:return dn(dn({},mt),wt.payload);case 3:return dn(dn({},mt),wt.payload);case 5:return An(dn({},mt),{page:wt.payload});case 2:return dn(dn({},mt),wt.payload);default:throw new Error}}var Ln=({user:mt,identifier:wt,hack:Tt,onTriggerPraise:Dt,activeIndex:Ct})=>{const[_t,xt]=(0,be.useReducer)(un,Zt),{loading:jt,page:Bt,data:Vt,count:Nt,actionType:ln,activeDiscussIndex:Kt}=_t,wn=(0,be.useCallback)(()=>fn(void 0,null,function*(){xt({type:6});const hn=yield ke(wt,Bt),{comments:qn,disscuss_count:nr}=hn;xt({type:0,payload:{data:qn,count:nr,loading:!1}})}),[Bt,wt]);(0,be.useEffect)(()=>{Ct==="2"&&wn()},[wt,Bt,Ct]);function $t(hn){xt({type:5,payload:hn})}function Mn(hn){xt({type:4,payload:{actionType:hn}})}function Zn(hn){xt(Kt===hn?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:hn}})}function gr(hn,qn,nr){return fn(this,null,function*(){try{const Nn=yield Ke(hn);Vt[nr].user_praise=qn,Vt[nr].praise_count=Nn.praise_count,xt({type:3,payload:{data:[...Vt]}})}catch(Nn){console.log(Nn)}})}function Er(){return fn(this,null,function*(){const{id:hn,params:qn,type:nr,index:Nn,parentDiscussIndex:sr}=ln;if(nr==="hidden-discuss"&&(yield et(wt,hn,qn),sr?Vt[sr].children[Nn].hidden=qn.hidden==1:Vt[Nn].hidden=qn.hidden==1,xt({type:4,payload:{actionType:null,data:[...Vt]}})),nr==="delete-discuss"){if(yield lt(wt,hn),sr||sr===0){let Qn=Vt[sr].children;for(let mr=Qn.length-1;mr>=0;mr--)if(Qn[mr].id===hn){Qn.splice(mr,1);break}Vt[sr].children=Qn}else for(let Qn=Vt.length-1;Qn>=0;Qn--)if(Vt[Qn].id===hn){Vt.splice(Qn,1);break}xt({type:4,payload:{actionType:null,data:[...Vt]}})}})}function On(){xt({type:4,payload:{actionType:null}})}function vr(hn,qn){return fn(this,null,function*(){try{yield nt(wt,hn,qn),wn()}catch(nr){console.log(nr)}})}function Dn(hn){return fn(this,null,function*(){xt({type:6}),yield $e(wt,hn),wn()})}return Et.createElement(Et.Fragment,null,Et.createElement("div",{className:"discuss-panel"},Vt.length===0?Et.createElement(We.Z,null):Vt.map((hn,qn)=>Et.createElement(ct,{onReplyDiscuss:vr,onPlusDiscuss:gr,onSetActiveDiscussIndex:Zn,onSetActionType:Mn,data:hn,index:qn,user:mt,activeDiscussIndex:Kt})),Nt>10?Et.createElement("div",{className:"pagination-container"},Et.createElement(Ye.Z,{showQuickJumper:!0,onChange:$t,current:Bt,total:Nt})):null),Et.createElement(bt,{user_praise:Tt.user_praise,praise_count:Tt.praises_count,praisePlus:Dt,discuss_count:Tt.comments_count,onCreateDiscuss:Dn}),Et.createElement(x.Z,null,Et.createElement(me.default,{centered:!0,title:"\u63D0\u793A",open:!!ln,onOk:Er,onCancel:On},Et.createElement("p",null,ln?ln.message:"")),Et.createElement(ft.Z,null)))},mn=Se(57809),rr=Se(92832),er=Se(65615),Un={},_n=Se(59301),hr=({hack:mt,current_user:wt})=>_n.createElement("div",{className:Un.answer},mt!=null&&mt.analysis?_n.createElement(He.Z,{style:{padding:"13px 0"},value:(mt==null?void 0:mt.analysis)||""}):_n.createElement(We.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),ht={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},yt=Se(36381),vt=Se(43604),It=Se(78241),Wt=Se(5871),Qt=Se(72161),an=Se(59301);const{TextArea:bn}=rr.default,{Panel:jn}=yt.default;var Gn=({data:mt,hack:wt})=>(console.log(mt,wt,"data"),wt!=null&&wt.is_file?an.createElement(Qt.Y2,{disabled:!0,className:ht.uploadTableWrapper,showScore:!wt.test_set_score,data:mt,isProgramHomework:!0}):an.createElement("div",{className:ht.hackSets},mt==null?void 0:mt.map((Tt,Dt)=>an.createElement(yt.default,{accordion:!0,bordered:!1,key:Dt,defaultActiveKey:Dt===0&&Tt.id,className:ht.collapseWrapper,expandIcon:({isActive:Ct})=>an.createElement("i",{className:`iconfont icon-weizhankai ${Ct?ht.open:ht.close}`,style:{fontSize:14,transition:"all .2s"}})},an.createElement(jn,{key:Tt.id,header:an.createElement(oe.Z,{align:"middle",justify:"space-between",wrap:!1},an.createElement(vt.Z,{className:ht.panelHeader},an.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",Dt+1)),an.createElement(vt.Z,{flex:1},an.createElement(oe.Z,{align:"middle",justify:"end",wrap:!1},!(wt!=null&&wt.test_set_score)&&an.createElement(vt.Z,{className:ht.rateInput},an.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),an.createElement("div",null,an.createElement(It.default.Item,{noStyle:!0},an.createElement(Wt.Z,{value:Tt==null?void 0:Tt.score,className:ht.baseFormItem,min:0,max:100,disabled:!0}))),an.createElement("span",{className:"ml10"},"%")))))},an.createElement(It.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},an.createElement(bn,{readOnly:!0,value:Tt==null?void 0:Tt.input,rows:4})),an.createElement(It.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},an.createElement(bn,{readOnly:!0,value:Tt==null?void 0:Tt.output,rows:4}))))))),tr={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},Ot=Se(59301),Hn=(0,be.forwardRef)(({data:mt=[]},wt)=>{var Tt;const[Dt,Ct]=(0,be.useState)(),_t=mt.filter(jt=>jt.show);(0,be.useEffect)(()=>{_t.length&&Ct(_t[0].id)},[mt==null?void 0:mt.length]);const xt=((Tt=_t.find(jt=>jt.id===Dt))==null?void 0:Tt.element)||null;return(0,be.useImperativeHandle)(wt,()=>({setActiveTab:jt=>Ct(jt)})),Ot.createElement("div",{className:tr.tabs},Ot.createElement("div",{className:tr.tabWarp},_t.map(jt=>Ot.createElement("div",{onClick:()=>Ct(jt.id),className:`${tr.tab} ${jt.id===Dt?tr.active:""}`,key:jt.id},jt.name))),Ot.createElement("div",{className:tr.content},xt))}),kt=Se(59301),Gt=Object.defineProperty,Rt=Object.defineProperties,gn=Object.getOwnPropertyDescriptors,Tn=Object.getOwnPropertySymbols,xn=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,ir=(mt,wt,Tt)=>wt in mt?Gt(mt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):mt[wt]=Tt,Rn=(mt,wt)=>{for(var Tt in wt||(wt={}))xn.call(wt,Tt)&&ir(mt,Tt,wt[Tt]);if(Tn)for(var Tt of Tn(wt))or.call(wt,Tt)&&ir(mt,Tt,wt[Tt]);return mt},Vn=(mt,wt)=>Rt(mt,gn(wt)),cn=(mt,wt,Tt)=>new Promise((Dt,Ct)=>{var _t=Bt=>{try{jt(Tt.next(Bt))}catch(Vt){Ct(Vt)}},xt=Bt=>{try{jt(Tt.throw(Bt))}catch(Vt){Ct(Vt)}},jt=Bt=>Bt.done?Dt(Bt.value):Promise.resolve(Bt.value).then(_t,xt);jt((Tt=Tt.apply(mt,wt)).next())});const Bn={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},At={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var lr=({hack:mt,onTriggerPraise:wt,topicId:Tt,page:Dt,onPageChange:Ct,user:_t,current_user:xt,submitRecords:jt,submitting:Bt,submitResult:Vt,setActiveIndex:Nt,hack_sets:ln})=>{var Kt,wn;const[$t]=(0,Be.useSearchParams)(),[Mn,Zn]=(0,be.useState)("0"),gr=(0,Be.useLocation)(),[Er,On]=(0,be.useState)(!1),[vr,Dn]=(0,be.useState)(null),[hn,qn]=(0,be.useState)([]),[nr,Nn]=(0,be.useState)([]),[sr,Qn]=(0,be.useState)({page:1,limit:10}),mr=(0,be.useRef)(null),Sr=(0,be.useRef)(null);console.log(_t,"user");let[Xn,Rr]=(0,be.useState)(Vn(Rn({},(0,Be.useParams)()),{page:1,per_page:20,name:""}));(0,be.useEffect)(()=>{Sr.current&&(mt==null?void 0:mt.is_close_tips)===!1&&vr===null&&Dn(!0)},[Sr.current,mt==null?void 0:mt.is_close_tips,vr]);function Hr(){return cn(this,null,function*(){yield(0,je.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,be.useEffect)(()=>{Nt(Mn)},[Mn]);function Tr(Sn){return cn(this,null,function*(){let dr=Sn.target.id;if(dr==="1"){let br=yield(0,je.ZP)(`/api/myproblems/${Xn.id}/redo_logs.json`,{method:"get",params:Rn({},sr)});(br==null?void 0:br.status)===0&&Nn(br==null?void 0:br.data)}Zn(dr)})}(0,be.useEffect)(()=>Ae.Z.subscribe("to-commit-info",()=>{Zn("1"),mr.current&&mr.current.setActiveTab("1")}),[]),(0,be.useEffect)(()=>Ae.Z.subscribe("to-reset-info",()=>{Tr({target:{id:"1"}}),mr.current&&mr.current.setActiveTab("2")}),[]);function Vr(){Zn("2")}function cr(){return cn(this,null,function*(){let Sn=yield(0,je.ZP)("/api/problems/my_hack_list.json",{method:"get",params:Rn({identifier:Xn==null?void 0:Xn.id},Xn)});qn(Sn)})}const en=[{title:null,description:kt.createElement("div",null,kt.createElement("b",{onClick:()=>{Dn(!1),Hr(),On(!0),cr()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),kt.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"),kt.createElement(le.ZP,{onClick:()=>{Dn(!1),Hr()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>Sr.current}];return kt.createElement("div",{className:Te["left-panel"]},kt.createElement("ul",{className:`${Te["s-navs"]} ${Te["bg-white"]} ${Te.b1}`},(mt==null?void 0:mt.is_program)&&!$t.get("pageId")&&kt.createElement(ae.Z,{title:"\u9898\u76EE\u5217\u8868"},kt.createElement("div",{onClick:()=>{cr(),On(!0)},className:Te.btns,ref:Sr,style:vr?{pointerEvents:"none"}:{}},kt.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),kt.createElement("li",{style:{marginLeft:20}},kt.createElement("a",{className:Mn==="0"?Te.active:"",id:"0",onClick:Tr},"\u9898\u76EE\u63CF\u8FF0")),kt.createElement("li",null,kt.createElement("a",{className:Mn==="1"?Te.active:"",id:"1",onClick:Tr},"\u64CD\u4F5C\u8BB0\u5F55")),($t.get("type")!=="exercises"&&(mt==null?void 0:mt.answer_text_show)||$t.get("type")!=="exercises"&&(mt==null?void 0:mt.analysis_show))&&kt.createElement("li",null,kt.createElement("a",{className:Mn==="4"?Te.active:"",id:"4",onClick:Tr},"\u89E3\u7B54\u53C2\u8003")),$t.get("type")!=="exercises"&&kt.createElement("li",null,kt.createElement("a",{className:Mn==="2"?Te.active:"",id:"2",onClick:Tr},"\u8BC4\u8BBA")),!!(ln!=null&&ln.length)&&$t.get("type")!=="exercises"&&$t.get("type")!=="1"&&kt.createElement("li",null,kt.createElement("a",{className:Mn==="5"?Te.active:"",id:"5",onClick:Tr},"\u6D4B\u8BD5\u7528\u4F8B"))),kt.createElement("div",{className:`${Te["tab-panel-body"]} ${Mn==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},kt.createElement(it,{hack:mt,onTriggerPraise:wt,toDiscuss:Vr})),kt.createElement("div",{style:{padding:"12px"},className:`${Te["tab-panel-body"]} ${Mn==="1"?"":"hide"}`},kt.createElement(Hn,{ref:mr,data:[{id:"1",show:$t.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:kt.createElement(kt.Fragment,null,jt!=null&&jt.records_count||Bt?kt.createElement(rt,{page:Dt,onPageChange:Ct,topicId:Tt,submitting:Bt,key:(Vt==null?void 0:Vt.id)||1,submitRecords:jt,submitResult:Vt}):kt.createElement(We.Z,null))},{id:"2",show:$t.get("type")==="exercises"||(mt==null?void 0:mt.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:kt.createElement(kt.Fragment,null,kt.createElement(Ze.default,{pagination:!1,dataSource:nr==null?void 0:nr.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Sn,dr,br)=>Re()(Sn).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Sn,dr,br)=>{var Pt;return(Pt=[{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(Jt=>Jt.id===Sn))==null?void 0:Pt.name}}]}),kt.createElement(Ye.Z,{style:{marginTop:10},current:sr.page,total:nr==null?void 0:nr.count,hideOnSinglePage:!0,onChange:Sn=>cn(void 0,null,function*(){sr.page=Sn,Qn(sr);let dr=yield(0,je.ZP)(`/api/myproblems/${Xn.id}/redo_logs.json`,{method:"get",params:Vn(Rn({},sr),{courseId:Xn.courseId})});(dr==null?void 0:dr.status)===0&&Nn(dr==null?void 0:dr.data)})}))}]})),kt.createElement("div",{style:{padding:"12px"},className:`${Te["tab-panel-body"]} ${Mn==="4"?"":"hide"}`},kt.createElement(Hn,{data:[{id:"1",show:$t.get("type")!=="exercises"&&(mt==null?void 0:mt.answer_text_show),name:"\u7B54\u6848",element:kt.createElement(kt.Fragment,null,kt.createElement(Me,{hack:mt,current_user:xt}))},{id:"2",show:$t.get("type")!=="exercises"&&(mt==null?void 0:mt.analysis_show),name:"\u89E3\u6790",element:kt.createElement(kt.Fragment,null,kt.createElement(hr,{hack:mt,current_user:xt}))}]})),kt.createElement("div",{className:`${Te["tab-panel-body"]} ${Mn==="2"?"":"hide"}`,style:{padding:0}},kt.createElement(Ln,{user:_t,activeIndex:Mn,identifier:mt.identifier,hack:mt,onTriggerPraise:wt})),kt.createElement("div",{className:`${Te["tab-panel-body"]} ${Mn==="5"?"":"hide"}`,style:{padding:12}},kt.createElement(Gn,{data:ln||[],hack:mt})),kt.createElement(a.Z,{rootClassName:Te.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>On(!1),open:Er},kt.createElement(oe.Z,null,kt.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),kt.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",hn==null?void 0:hn.total_count,"\u9898\xA0[\xA0",hn==null?void 0:hn.total_score,"\u5206\xA0]\xA0"),!(_t!=null&&_t.hack_manager)&&kt.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",hn==null?void 0:hn.work_score,"\u5206")),kt.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),kt.createElement(oe.Z,{align:"middle",className:"mt10 mb10"},!(_t!=null&&_t.hack_manager)&&kt.createElement(mn.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Sn=>{Xn.page=1,Xn.finish_status=Sn,Rr(Rn({},Xn)),cr()}},kt.createElement(mn.default.Option,{value:""},"\u5168\u90E8"),kt.createElement(mn.default.Option,{value:0},"\u672A\u5F00\u59CB"),kt.createElement(mn.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),kt.createElement(mn.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),kt.createElement(mn.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Sn=>{Xn.page=1,Xn.difficult=Sn||null,Rr(Rn({},Xn)),cr()}},kt.createElement(mn.default.Option,{value:0},"\u5168\u90E8"),kt.createElement(mn.default.Option,{value:1},"\u7B80\u5355"),kt.createElement(mn.default.Option,{value:2},"\u9002\u4E2D"),kt.createElement(mn.default.Option,{value:3},"\u56F0\u96BE")),kt.createElement(rr.default.Search,{size:"large",onSearch:Sn=>{Xn.name=Sn,Xn.page=1,Rr(Rn({},Xn)),cr()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),kt.createElement("div",{className:Te.list,style:{height:36,background:"#3D445C"}},!(_t!=null&&_t.hack_manager)&&kt.createElement("span",null,"\u72B6\u6001"),kt.createElement("span",null,"\u5E8F\u53F7"),kt.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),kt.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),kt.createElement("div",{style:{overflow:"auto",flex:1}},(Kt=hn==null?void 0:hn.data)!=null&&Kt.length?(wn=hn==null?void 0:hn.data)==null?void 0:wn.map((Sn,dr)=>kt.createElement("div",{onClick:()=>cn(void 0,null,function*(){let br=yield(0,je.ZP)(`/api/problems/${Sn==null?void 0:Sn.identifier}/start.json`,{method:"get",params:{hack_user_id:_t==null?void 0:_t.user_id}});br&&(Be.history.replace(`/myproblems/${br==null?void 0:br.identifier}${window.location.search}`),window.location.reload())}),className:`${Te.list} ${Sn!=null&&Sn.checked?Te.active:""}`},!(_t!=null&&_t.hack_manager)&&kt.createElement(kt.Fragment,null,!(Sn!=null&&Sn.opened)&&kt.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Sn==null?void 0:Sn.opened)&&!(Sn!=null&&Sn.passed)&&kt.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Sn==null?void 0:Sn.opened)&&(Sn==null?void 0:Sn.passed)&&kt.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),kt.createElement("span",null,(Xn.page-1)*20+(dr+1)),kt.createElement("span",{style:{flex:1},title:Sn.name},`[${Sn==null?void 0:Sn.score}\u5206]`,"\xA0",Sn.name),kt.createElement("span",{style:{flexBasis:48,paddingRight:0}},Bn[Sn.difficult]))):kt.createElement(We.Z,null)),kt.createElement(Ye.Z,{current:Xn.page,className:"mt20",hideOnSinglePage:!0,total:hn==null?void 0:hn.count,pageSize:Xn.per_page,onChange:(Sn,dr)=>{Xn.page=Sn,Xn.per_page=dr,cr()}})),kt.createElement(er.Z,{rootClassName:Te.tour,closeIcon:!1,open:!!vr,steps:en,gap:{offset:3,radius:2}}))},wr=Se(62522),yn=Se(16209),sn=Se(19105),Lt=Se(31947),Ht=Se(85219),rn=Se(67054),zt=Se(61293),zn=Se(92310),Yn=Se.n(zn),ar=Se(23960),kn=Se(31707),pr=Se(39775),Cr=Se(93450),Ft=Se(59301),Ir=Object.defineProperty,Br=Object.defineProperties,Wr=Object.getOwnPropertyDescriptors,Lr=Object.getOwnPropertySymbols,Ar=Object.prototype.hasOwnProperty,Or=Object.prototype.propertyIsEnumerable,Fr=(mt,wt,Tt)=>wt in mt?Ir(mt,wt,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):mt[wt]=Tt,En=(mt,wt)=>{for(var Tt in wt||(wt={}))Ar.call(wt,Tt)&&Fr(mt,Tt,wt[Tt]);if(Lr)for(var Tt of Lr(wt))Or.call(wt,Tt)&&Fr(mt,Tt,wt[Tt]);return mt},Kn=(mt,wt)=>Br(mt,Wr(wt)),kr=(mt,wt)=>{var Tt={};for(var Dt in mt)Ar.call(mt,Dt)&&wt.indexOf(Dt)<0&&(Tt[Dt]=mt[Dt]);if(mt!=null&&Lr)for(var Dt of Lr(mt))wt.indexOf(Dt)<0&&Or.call(mt,Dt)&&(Tt[Dt]=mt[Dt]);return Tt},Jn=(mt,wt,Tt)=>new Promise((Dt,Ct)=>{var _t=Bt=>{try{jt(Tt.next(Bt))}catch(Vt){Ct(Vt)}},xt=Bt=>{try{jt(Tt.throw(Bt))}catch(Vt){Ct(Vt)}},jt=Bt=>Bt.done?Dt(Bt.value):Promise.resolve(Bt.value).then(_t,xt);jt((Tt=Tt.apply(mt,wt)).next())});const{Countdown:_r}=E.default,Mr={Java:"java",C:"c",Python:"py","C++":"c"};var xr=(mt=>(mt[mt.SET_LOADING=0]="SET_LOADING",mt[mt.GET_DATA=1]="GET_DATA",mt[mt.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",mt[mt.SET_DATA=3]="SET_DATA",mt[mt.SET_DEBUGING=4]="SET_DEBUGING",mt[mt.SET_SUBMITING=5]="SET_SUBMITING",mt[mt.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",mt[mt.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",mt[mt.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",mt[mt.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",mt[mt.SET_PAGE=10]="SET_PAGE",mt))(xr||{});function Gr(){return new Date().getTime()}const ni={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function ri(mt,wt){switch(wt.type){case 1:return En(En({},mt),wt.payload);case 3:return Kn(En({},mt),{data:wt.payload});case 0:return Kn(En({},mt),{loading:wt.payload});case 9:return Kn(En({},mt),{showNote:wt.payload});case 4:return Kn(En({},mt),{debuging:wt.payload});case 5:return Kn(En({},mt),{submitting:wt.payload});case 2:return Kn(En({},mt),{submitRecords:wt.payload});case 10:return Kn(En({},mt),{submitRecordPage:wt.payload});case 6:return Kn(En({},mt),{executingMessage:wt.payload});case 7:return En(En({},mt),wt.payload);case 8:return En(En({},mt),wt.payload);default:throw new Error}}var oi=({children:mt})=>{var wt,Tt,Dt,Ct,_t;const[xt,jt]=(0,be.useReducer)(ri,ni),{id:Bt}=(0,Be.useParams)(),Vt=(0,Be.useLocation)(),[Nt]=(0,Be.useSearchParams)(),{loading:ln,data:Kt,debugResult:wn,submitResult:$t,submitRecords:Mn,submitRecordPage:Zn,showNote:gr,debuging:Er,submitting:On,executingMessage:vr}=xt,[Dn,hn]=(0,be.useState)("#37AD83"),[qn,nr]=(0,be.useState)(null),[Nn,sr]=(0,be.useState)({}),[Qn,mr]=(0,be.useState)(!0),[Sr,Xn]=(0,be.useState)(!1),[Rr,Hr]=(0,be.useState)(!1),Tr=(0,be.useRef)(null),Vr=(0,be.useRef)(0),cr=Kt==null?void 0:Kt.user,en=Kt==null?void 0:Kt.hack,[Sn,dr]=(0,be.useState)(!1),br=(0,be.useRef)(1),Pt=(0,be.useRef)(!1);(0,ar.y)(Nt.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Jt}=(0,ar.X)(),[pn,Pn]=(0,be.useState)(""),Fn=(0,Ht._)(Nn);(0,be.useEffect)(()=>{function nn(){return Jn(this,null,function*(){var Cn,Dr,Nr,ti,Xr;mr(!0);const jr=yield(0,se.fu)(Bt,{exercise_id:Nt.get("exercisesId")});if(setTimeout(()=>{mr(!1)},800),jr.status!==401){try{jr.hack.code=Oe.Base64.decode(jr.hack.code)}catch(fr){console.log(fr)}jr.hack=Kn(En({},jr.hack),{is_program:Nt.get("type")==="1"}),jt({type:1,payload:{loading:!1,data:jr}})}if(Nt.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let fr;Nt.get("coursesId")=="coursesId"?fr=yield(0,ue._F)({categoryId:Nt.get("exercisesId"),login:Nt.get("login")}):fr=yield(0,ue._B)({categoryId:Nt.get("exercisesId"),login:Nt.get("login")}),sr(En({},fr)),Jt((Cn=fr==null?void 0:fr.exercise)==null?void 0:Cn.forbid_copy),typeof((Dr=fr==null?void 0:fr.exercise)==null?void 0:Dr.left_time)=="number"&&(nr(Date.now()+((Nr=fr==null?void 0:fr.exercise)==null?void 0:Nr.left_time)*1e3),setTimeout(()=>{hn("red")},(((ti=fr==null?void 0:fr.exercise)==null?void 0:ti.left_time)-300>0?((Xr=fr==null?void 0:fr.exercise)==null?void 0:Xr.left_time)-300:0)*1e3))}})}Bt&&nn()},[Bt]),(0,be.useEffect)(()=>{var nn;return Nt.get("type")==="exercises"&&((nn=Nn==null?void 0:Nn.exercise)!=null&&nn.screen_open)&&(window.removeEventListener("blur",In,!1),rn.U.forEach((Cn,Dr)=>{window.addEventListener(Cn,In,!1)}),window.addEventListener("blur",In,!1),window.focus()),()=>{document.removeEventListener((0,ie.gH)(),In)}},[Nn]),(0,be.useEffect)(()=>{pn==="1"&&Bt&&en!=null&&en.language&&ur()},[Bt,Zn,en==null?void 0:en.language,pn]),(0,be.useEffect)(()=>(en!=null&&en.is_program&&(Vr.current=0,Tr.current=setInterval(()=>{Wn()},15e3)),()=>{clearInterval(Tr.current)}),[en==null?void 0:en.is_program]);const Wn=()=>Jn(void 0,null,function*(){let nn=yield(0,je.ZP)(`/api/myproblems/${Bt}/save_long_time.json`,{method:"get",params:{answer_long_time:Vr.current}})}),In=()=>{Pt.current||(0,ie.BU)(),window.parent.postMessage("backExercise","*")};function ur(){return Jn(this,null,function*(){try{const nn=yield(0,se.zO)(Bt,{limit:15,page:Zn,language:en==null?void 0:en.language});jt({type:2,payload:nn})}catch(nn){console.log(nn)}})}function yr(nn){jt({type:10,payload:nn})}function Pr(nn){return Jn(this,null,function*(){var Cn;let Dr;(Nt.get("ip_limit")==="inner"||Nt.get("ip_bind_type")==="true")&&(Dr=yield(0,yn.y)({ip_limit:Nt.get("ip_limit"),ip_bind:Nt.get("ip_bind_type")==="true"}));const Nr=yield(0,se.n4)(Bt,{code:Oe.Base64.encode(nn||en.code),language:en==null?void 0:en.language,exercise_id:Nt.get("exercisesId"),question_id:Nt.get("questionId"),ip:Dr});return Nr.status===-5&&(0,Be.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:Kn(En({errorMessage:Nr==null?void 0:Nr.message},(Nn==null?void 0:Nn.exercise)||{}),{exercise_user_id:(Cn=Nn==null?void 0:Nn.exercise)==null?void 0:Cn.exercise_user_id,id:Nt.get("exercisesId")})}}),Nr})}function qr(){return Jn(this,null,function*(){if(br.current=2,!On){jt({type:5,payload:!0});try{Ae.Z.publish("to-commit-info");const nn=yield Pr();if(console.log(nn,1),nn.status===0){let jr=function(){return Jn(this,null,function*(){const{status:fr,data:Jr}=yield(0,se.rX)(Bt,"submit"),ai=Gr()-Xr>(Nr*ti+3)*1e3;if(fr!==0&&!ai&&setTimeout(jr,1e3),ai){me.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),jt({type:5,payload:!1});return}if(fr===0){Jr.status===2&&me.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(Jr==null?void 0:Jr.status)===0&&Nt.get("type")==="1"&&Hr(!0);const pi=yield(0,se.zO)(Bt,{limit:15,page:Zn,language:en==null?void 0:en.language});jt({type:8,payload:Kn(En({},xt),{submitResult:Jr,submitting:!1,submitRecords:pi})})}})},Cn={};if(Nt.get("type")==="exercises"&&(Cn.extras={exercise_id:Nt.get("exercisesId"),question_id:Nt.get("questionId")},(Nt.get("ip_limit")==="inner"||Nt.get("ip_bind_type")==="true")&&(Cn.extras.ip=yield(0,yn.y)({ip_limit:Nt.get("ip_limit"),ip_bind:Nt.get("ip_bind_type")==="true"}))),(yield(0,se.bM)(Bt,Cn)).status===-1&&Nt.get("exercisesId")){window.parent.location.href=`/classrooms/${Nt.get("coursesId")}/exercise/${Nt.get("exercisesId")}/detail`;return}const{time_limit:Nr,test_case_size:ti}=en,Xr=Gr();jr()}else jt({type:5,payload:!1})}catch(nn){console.log(nn),jt({type:5,payload:!1})}dr(!1)}})}function $r(){return Jn(this,null,function*(){br.current=1,xt.debuging=!0,jt({type:4,payload:!0});try{if((yield Pr()).status===0){let Xr=function(){return Jn(this,null,function*(){const{status:jr,message:fr,data:Jr}=yield(0,se.rX)(Bt,"debug"),ai=Gr()-ti>(Cn+3)*1e3;if(jr!==0&&!ai&&(jt({type:6,payload:fr}),setTimeout(Xr,1e3)),ai){me.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),jt({type:4,payload:!1}),jt({type:7,payload:Kn(En({},xt),{debugResult:{status:2},debuging:!1})});return}jr===0&&(Jr.status===2&&me.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),jt({type:4,payload:!1}),jt({type:7,payload:Kn(En({},xt),{debugResult:Jr,debuging:!1})}))})};const{time_limit:Cn}=en;let Dr={input:encodeURIComponent(Kt.test_case.input)};if(Nt.get("type")==="exercises"&&(Dr.exercise_id=Nt.get("exercisesId")),(yield(0,se.MU)(Bt,Dr)).status===-1&&Nt.get("exercisesId")){window.parent.location.href=`/classrooms/${Nt.get("coursesId")}/exercise/${Nt.get("exercisesId")}/detail`;return}const ti=Gr();Xr()}else jt({type:4,payload:!1})}catch(nn){console.log(nn)}finally{}})}function Yr(nn,Cn){const Dr=Cn?{modify_code:!1}:{};jt({type:3,payload:Kn(En({},Kt),{hack:En(Kn(En({},en),{code:nn}),Dr)})}),dr(!0)}const Kr=nn=>Jn(void 0,null,function*(){let Cn=yield(0,je.ZP)(`/api/problems/${en==null?void 0:en.identifier}/start.json`,{method:"get",params:{language:nn==="C++"||nn==="c++"?encodeURIComponent(nn):nn,hack_user_id:cr==null?void 0:cr.user_id}});Cn.status!==-1&&Be.history.replace(`/myproblems/${Cn==null?void 0:Cn.identifier}${window.location.search}`)});function Zr(nn){let Cn=nn.target.value;jt({type:3,payload:Kn(En({},Kt),{test_case:{input:Cn}})})}function ei(){return Jn(this,null,function*(){try{let nn={};Nt.get("type")==="exercises"?nn.exercise_id=Nt.get("exercisesId"):en!=null&&en.homework_common_id&&(nn.homework_common_id=en==null?void 0:en.homework_common_id);const Cn=yield(0,se.H7)(Bt,En({},nn));Cn.status===401||(Yr(Oe.Base64.decode(Cn.code)),(Nt.get("type")==="exercises"||en!=null&&en.homework_common_id)&&Ae.Z.publish("to-reset-info"))}catch(nn){console.log(nn)}})}function ui(){me.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Ft.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",Ft.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return Jn(this,null,function*(){const nn=yield(0,se.fi)(Bt);nn.status===401||Yr(Oe.Base64.decode(nn.code),!0)})}})}function li(){jt({type:9,payload:!0})}function Qr(){jt({type:9,payload:!1})}function zr(nn){return Jn(this,null,function*(){yield(0,se.MK)(Bt,nn),jt({type:1,payload:{showNote:!1,data:Kn(En({},Kt),{hack:Kn(En({},en),{notes:nn.notes})})}})})}const ii={hack:en,isLoading:Qn,input:(wt=Kt==null?void 0:Kt.test_case)==null?void 0:wt.input,is_file:(Tt=Kt==null?void 0:Kt.test_case)==null?void 0:Tt.is_file,language:en==null?void 0:en.language,code:en==null?void 0:en.code,title:"main."+Mr[en==null?void 0:en.language],modify_code:en==null?void 0:en.modify_code,notes:en==null?void 0:en.notes,debugResult:wn,debuging:Er,submitting:On,submitResult:$t,executingMessage:vr,onCancelNote:Qr,onAddNote:zr,showNote:gr,user:cr,onShowNote:li,onSubmitCode:qr,onChangeCode:Yr,onChangeInput:Zr,onDebugCode:$r,onResetCode:ei,onSyncCode:ui,onUpdateCode:Pr,onChangeLanguage:Kr,isWhiteTheme:Sr,setIsWhiteTheme:Xn,topDispatch:jt};function di(){return Jn(this,null,function*(){const{praise_count:nn}=yield(0,se.vl)(en.id,{container_type:"Hack",type:1});let Cn=Kn(En({},Kt),{hack:Kn(En({},en),{praises_count:nn,user_praise:!en.user_praise})});jt({type:3,payload:Cn})})}const fi={topicId:Bt,submitResult:$t,submitRecords:Mn,submitting:On,page:Zn,onPageChange:yr,hack:en,user:Kt==null?void 0:Kt.user,hack_sets:Kt==null?void 0:Kt.hack_sets,current_user:Kt==null?void 0:Kt.current_user,onTriggerPraise:di,setActiveIndex:Pn};console.log(Nn);const gi=()=>Nt.get("type")==="exercises"?!1:!!(Nt.get("type")==="1"&&Object.values((en==null?void 0:en.homework_extension)||{}).some(Boolean));return Ft.createElement(Ft.Fragment,null,Ft.createElement(de.Z,{spinning:ln,delay:500},Kt?Ft.createElement(Ft.Fragment,null,Ft.createElement("header",{className:Yn()(zt.Z.header,Sr&&zt.Z.whiteHeader)},Nt.get("type")!=="exercises"&&Ft.createElement("div",null,Ft.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${cr==null?void 0:cr.image_url}`,alt:"user",width:36}),Ft.createElement("span",{style:{color:Sr?"#333":"#B2BACB",fontSize:16}},cr==null?void 0:cr.name)),Nt.get("type")==="exercises"&&Ft.createElement("div",null,Ft.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",Ft.createElement("span",{className:"ml10"},(Dt=Nn==null?void 0:Nn.exercise)==null?void 0:Dt.user_name)),Ft.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",Ft.createElement("span",{className:"ml10"},(Ct=Nn==null?void 0:Nn.exercise)==null?void 0:Ct.student_id))),Ft.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},Ft.createElement("div",null,en.name)),(en==null?void 0:en.is_program)&&Ft.createElement(sn.Z,{defaultValue:en==null?void 0:en.answer_long_time,onChange:nn=>{Vr.current=nn},className:zt.Z.timepiece}),cr!=null&&cr.hack_manager?Ft.createElement(Be.Link,{className:zt.Z.btn_edit,to:Nt.get("type")==="1"?Nt.get("pageId")?`/problems/newedit/${en.identifier}?type=1&pageId=${Nt.get("pageId")}&backUrl=${Nt.get("backUrl")}`:`/problems/newedit/${en.identifier}?type=1`:`/problems/newedit/${en.identifier}`}," ",Ft.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((_t=Nn==null?void 0:Nn.exercise)==null?void 0:_t.left_time)&&Ft.createElement(Ft.Fragment,null,Ft.createElement("span",{style:{color:Dn,marginRight:6},className:`iconfont icon-daojishi ${zt.Z.djs}`}),Ft.createElement("span",{className:"c-white mr20"},Ft.createElement(_r,{valueStyle:{color:Dn,fontSize:20,fontWeight:500},title:Ft.createElement("span",{style:{color:Dn,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:qn,onFinish:()=>Jn(void 0,null,function*(){const nn=yield(0,ue.VL)({categoryId:Nt.get("exercisesId"),commit_method:2});if((nn==null?void 0:nn.status)===0&&(Pr(),me.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:Ft.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",Ft.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Jn(void 0,null,function*(){window.parent.location.href=`/classrooms/${Nt.get("coursesId")}/exercise/${Nt.get("exercisesId")}/detail`})})),(nn==null?void 0:nn.status)===-3){const Cn=parseInt(nn==null?void 0:nn.message);nr(Date.now()+Cn*1e3)}})}))),Nt.get("type")==="exercises"?Ft.createElement(le.ZP,{type:"primary",onClick:()=>{const nn=()=>Jn(void 0,null,function*(){yield Pr(),dr(!1),Fn(),Pt.current=!0,In()});if(!(Mn!=null&&Mn.records_count)||Sn){me.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:Ft.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:nn});return}nn()}},Ft.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):Ft.createElement("span",{onClick:()=>{var nn;if(Nt.get("backUrl"))Be.history.push(Nt.get("backUrl"));else if(Nt.get("type")==="1"){let Cn=(nn=localStorage.getItem("program_homework"))==null?void 0:nn.split(",");Be.history.push(`/classrooms/${Cn==null?void 0:Cn[0]}/program_homework/${Cn==null?void 0:Cn[1]}/detail`)}else Be.history.push("/problemset")}},Ft.createElement(ae.Z,{title:"\u5173\u95ED"},Ft.createElement("i",{style:{color:Sr?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),Ft.createElement(de.Z,{size:"large",spinning:Qn},Ft.createElement(re.Z,{className:Yn()(zt.Z.myProblems,Sr&&zt.Z.whiteMyProblems),leftChild:Ft.createElement(lr,En({},fi)),rightChild:Ft.createElement(si,En({},ii))}))):null,Ft.createElement(me.default,{centered:!0,closable:!1,width:680,footer:null,open:Rr,className:"oj-modal"},Ft.createElement("section",{className:"oj-modal-content"},Ft.createElement("div",{className:"oj-modal-head"},Ft.createElement("img",{src:wr,alt:""}),Ft.createElement("i",{onClick:()=>Hr(!1),className:"iconfont icon-guanbi1"})),Ft.createElement("aside",null,Ft.createElement("img",{className:"mr30",src:Cr.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",Ft.createElement("span",{style:{color:"#75d6ba",marginRight:100}},$t==null?void 0:$t.execute_time,"ms"),"\u4F18\u4E8E",Ft.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},($t==null?void 0:$t.time_better_than)||100,"%"),"\u7684\u7528\u6237"),Ft.createElement("aside",{className:"mb50"},Ft.createElement("img",{src:pr.Z,className:"mr30"}),Ft.createElement("span",{className:"oj-modal-tt"},Ft.createElement("span",null,Ft.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),Ft.createElement("span",{className:"c-light-primary"},$t==null?void 0:$t.execute_memory,"kb")),Ft.createElement("span",null,Ft.createElement("span",null))),"\u4F18\u4E8E",Ft.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},($t==null?void 0:$t.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),Ft.createElement("div",{id:"oj-modal-next",onClick:()=>Jn(void 0,null,function*(){var nn;if($t!=null&&$t.next_identifier){let Cn=yield(0,je.ZP)(`/api/problems/${$t==null?void 0:$t.next_identifier}/start.json`,{method:"get",params:{hack_user_id:cr==null?void 0:cr.user_id}});Cn&&(Be.history.replace(`/myproblems/${Cn==null?void 0:Cn.identifier}${window.location.search}`),window.location.reload())}else{let Cn=(nn=localStorage.getItem("program_homework"))==null?void 0:nn.split(",");Be.history.push(`/classrooms/${Cn==null?void 0:Cn[0]}/program_homework/${Cn==null?void 0:Cn[1]}/detail`)}}),className:"oj-modal-btn"},$t!=null&&$t.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"))),gi()&&Ft.createElement(kn.Z,{showData:en==null?void 0:en.homework_extension,description:en==null?void 0:en.description,code:en.code,sendParams:{source:"hack",hack_id:Bt}})),Ft.createElement(Lt.Z,{successCb:()=>{br.current===1?$r():qr()}}))};function Ur({title:mt,modify_code:wt,onSyncCode:Tt,onShowCodeSetting:Dt,onResetCode:Ct,hack:_t,onChangeLanguage:xt,isWhiteTheme:jt}){var Bt;const Vt=()=>{me.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:Ft.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:Ct})},[Nt]=(0,Be.useSearchParams)(),ln=Nt.get("language"),Kt=wn=>wn==="1"?"c++":wn==="2"?"C++":wn;return(0,be.useEffect)(()=>{ln&&xt(Kt(ln))},[]),(0,be.useEffect)(()=>{_t!=null&&_t.tpm_code_modified&&me.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:Ft.createElement(te.Z,null),content:Ft.createElement("div",null,Ft.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),Ft.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),Ft.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:()=>Ct()})},[_t==null?void 0:_t.language]),console.log(_t,jt,"hack"),Ft.createElement("div",{className:`${zt.Z.codeHead} ${jt?zt.Z.whiteCodeHead:""}`},Ft.createElement("div",{className:zt.Z.navWrap},(Bt=_t==null?void 0:_t.all_language)==null?void 0:Bt.map(wn=>Ft.createElement("div",{className:`${zt.Z.nav} ${wn===(_t==null?void 0:_t.language)?zt.Z.active:""}`,key:wn,onClick:()=>xt(wn)},Ft.createElement(ae.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},Ft.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),Ft.createElement("span",null,wn)))),Ft.createElement(oe.Z,{align:"middle",style:{marginLeft:"auto"}},wt?Ft.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Tt},Ft.createElement("img",{src:De,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,Ft.createElement("a",{onClick:Vt},Ft.createElement(ae.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},Ft.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),Ft.createElement("a",{onClick:Dt},Ft.createElement(ae.Z,{title:"\u8BBE\u7F6E"},Ft.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function si(mt){var wt=mt,{input:Tt,is_file:Dt,showNote:Ct,onShowNote:_t,notes:xt,onCancelNote:jt,onAddNote:Bt,debugResult:Vt,language:Nt,debuging:ln,submitting:Kt,executingMessage:wn,code:$t,onSubmitCode:Mn,onDebugCode:Zn,onChangeCode:gr,onChangeInput:Er,onUpdateCode:On,user:vr,isLoading:Dn,submitResult:hn}=wt,qn=kr(wt,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function nr(sr){return Ft.createElement(Ur,Kn(En({},qn),{onShowCodeSetting:sr}))}const Nn=En({input:Tt,is_file:Dt,debugResult:Vt,debuging:ln,submitting:Kt,executingMessage:wn,onDebugCode:Zn,onChangeCode:gr,onSubmitCode:Mn,onChangeInput:Er,user:vr,submitResult:hn},qn);return Ft.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},Ft.createElement(Ee,{setIsWhiteTheme:qn==null?void 0:qn.setIsWhiteTheme,isLoading:Dn,language:Nt,value:$t,onChange:gr,onUpdateCode:On,ActionBarRender:nr}),Ft.createElement(Ue.ZP,En({},Nn)))}},74440:function(dt,st,Se){"use strict";Se.d(st,{h:function(){return be}});var be=(Be=>(Be[Be.NOMATCH=-1]="NOMATCH",Be[Be.OK=0]="OK",Be[Be.TIMEOUT=2]="TIMEOUT",Be[Be.PODFAILURE=3]="PODFAILURE",Be[Be.COMPILEFAILURE=4]="COMPILEFAILURE",Be[Be.EXECUTEFAILURE=5]="EXECUTEFAILURE",Be[Be.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Be))(be||{})},88264:function(dt,st,Se){"use strict";Se.d(st,{H7:function(){return a},MK:function(){return te},MU:function(){return ue},X6:function(){return re},bM:function(){return se},fi:function(){return y},fu:function(){return oe},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return ie}});var be=Se(99064),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(ee,z,ce)=>z in ee?Be(ee,z,{enumerable:!0,configurable:!0,writable:!0,value:ce}):ee[z]=ce,ae=(ee,z)=>{for(var ce in z||(z={}))me.call(z,ce)&&le(ee,ce,z[ce]);if(E)for(var ce of E(z))de.call(z,ce)&&le(ee,ce,z[ce]);return ee};function oe(ee,z){return(0,be.U2)(`myproblems/${ee}.json`,ae({hidePopLogin:!0},z||{}))}function se(ee,z){return(0,be.v_)(`myproblems/${ee}/code_submit.json`,z)}function ue(ee,z){return(0,be.v_)(`myproblems/${ee}/code_debug.json`,z)}function ie(ee,z){return z.language&&(z.language=encodeURIComponent(z.language)),(0,be.U2)(`myproblems/${ee}/submit_records.json`,z)}function re(ee){return(0,be.U2)("myproblems/record_detail.json",{id:ee})}function ne(ee,z){return(0,be.U2)(`myproblems/${ee}/result.json`,{mode:z})}function te(ee,z){return(0,be.v_)(`myproblems/${ee}/add_notes.json`,z)}function a(ee,z){return(0,be.v_)(`myproblems/${ee}/restore_initial_code.json`,z)}function y(ee){return(0,be.v_)(`myproblems/${ee}/sync_code.json`)}function x(ee,z){return(0,be.v_)(`myproblems/${ee}/update_code.json`,z)}function b(ee,z){return(0,be.v_)(`discusses/${ee}/plus.json`,z)}},25555:function(dt,st,Se){"use strict";Se.d(st,{Im:function(){return ve},ZP:function(){return Ee},gZ:function(){return Ce}});var be=Se(59301),Be=Se(92832),E=Se(3113),me=Se(84105),de=Se(87395),le=Se(35106),ae=Se(24334),oe=Se(33538),se=Se(85149),ue=Se(955),ie=Se(13787),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,ce=Object.prototype.propertyIsEnumerable,fe=(De,Oe,Ue)=>Oe in De?y(De,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Ue}):De[Oe]=Ue,ge=(De,Oe)=>{for(var Ue in Oe||(Oe={}))z.call(Oe,Ue)&&fe(De,Ue,Oe[Ue]);if(ee)for(var Ue of ee(Oe))ce.call(Oe,Ue)&&fe(De,Ue,Oe[Ue]);return De},pe=(De,Oe)=>x(De,b(Oe));const{TextArea:he}=Be.default,ye={visible:!1,tabIndex:"0"},ve={[le.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[le.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[le.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=(De=>(De[De.SET_VISIBLE=0]="SET_VISIBLE",De[De.SET_TABINDEX=1]="SET_TABINDEX",De))(Pe||{});function we(De,Oe){switch(Oe.type){case 0:return pe(ge({},De),{visible:Oe.payload});case 1:return pe(ge({},De),{tabIndex:Oe.payload});default:throw new Error}}function xe({value:De,className:Oe}){const[Ue,Te]=(0,be.useState)(!1),Je=(0,be.useRef)(),Ze=(0,be.useRef)();return(0,be.useEffect)(()=>{Ue&&(Ze.current.reset(),Ze.current.write((0,ue.pp)(De||"")))},[De,Ue]),(0,be.useEffect)(()=>{var Ye,Qe,Ne,Fe;if(Je.current){Ze.current=new re.Terminal({fontSize:14,disableStdin:!0}),Ze.current.open(Je.current);const Re=Je.current.offsetWidth-14,Ge=((Fe=(Ne=(Qe=(Ye=Ze.current)==null?void 0:Ye._core)==null?void 0:Qe._renderService)==null?void 0:Ne.dimensions)==null?void 0:Fe.actualCellWidth)||9.5,qe=Math.ceil(Re/Ge);Ze.current.resize(qe,8),Te(!0)}},[]),a.createElement("div",{ref:Je,className:te()("XtermText-valueRef",Oe)})}function Ce(De){const{status:Oe,error_msg:Ue,output:Te,input:Je,expected_output:Ze,is_file:Ye,input_file_url:Qe,output_file_url:Ne,expected_output_file_url:Fe}=De;let Re=null;const Ge={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Oe){case le.h.NOMATCH:Re=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!Ye&&a.createElement(xe,{className:"mb10",value:Je}),Ye&&a.createElement("div",{style:Ge},a.createElement("a",{onClick:()=>(0,ue.LR)(Qe,Je)},Je)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ye&&a.createElement(xe,{className:"mb10",value:Te&&ae.Base64.decode(Te)||""}),Ye&&a.createElement("div",{style:Ge},a.createElement("a",{onClick:()=>(0,ue.LR)(Ne,Te)},Te)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ye&&a.createElement(xe,{className:"mb10",value:Ze&&ae.Base64.decode(Ze)||""}),Ye&&a.createElement("div",{style:Ge},a.createElement("a",{onClick:()=>(0,ue.LR)(Fe,Ze)},Ze)));break;case le.h.EXECUTEFAILURE:Re=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ye&&a.createElement(se.Z,{value:Je,style:Ge}),Ye&&a.createElement("div",{style:Ge},a.createElement("a",{onClick:()=>(0,ue.LR)(Qe,Je)},Je)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ae.Base64.decode(Ue)));break;case le.h.COMPILEFAILURE:Re=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ye&&a.createElement(se.Z,{value:Je,style:Ge}),Ye&&a.createElement("div",{style:Ge},a.createElement("a",{onClick:()=>(0,ue.LR)(Qe,Je)},Je)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ae.Base64.decode(Ue)));break;case le.h.PODFAILURE:Re=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case le.h.TIMEOUT:Re=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Re," ")}function _e(De){const{status:Oe,error_msg:Ue,execute_time:Te,output:Je,input:Ze,expected_output:Ye,is_file:Qe,input_file_url:Ne,output_file_url:Fe,expected_output_file_url:Re}=De;let Ge=null;switch(Oe){case le.h.OK:Ge=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Te,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,ae.Base64.decode(Je)));break;case le.h.NOMATCH:Ge=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,Ze)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",Je&&ae.Base64.decode(Je)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Ye&&ae.Base64.decode(Ye)));break;case le.h.EXECUTEFAILURE:Ge=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,Ze)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ae.Base64.decode(Ue)));break;case le.h.COMPILEFAILURE:Ge=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,Ze)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},ae.Base64.decode(Ue)));break;case le.h.PODFAILURE:Ge=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case le.h.TIMEOUT:Ge=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ge," ")}var Ee=({id:De,is_file:Oe,input:Ue,debuging:Te,submitting:Je,executingMessage:Ze,debugResult:Ye,onChangeInput:Qe,onDebugCode:Ne,onSubmitCode:Fe})=>{const[Re,Ge]=(0,be.useReducer)(we,ye),{visible:qe,tabIndex:rt}=Re;(0,be.useEffect)(()=>{Ge({type:0,payload:!1})},[De]);function We(Le){let Ve=Le.target.id;Ge({type:1,payload:Ve})}function ze(){Ge({type:0,payload:!qe})}const Ie=(0,be.useMemo)(()=>{if(Ye){const{status:Le}=Ye;return a.createElement(a.Fragment,null,_e(Ye))}return null},[Ye]);function He(){Ge({type:0,payload:!0}),Ge({type:1,payload:"1"}),Ne()}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(ie.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(he,{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?"":Ue,onChange:Qe}),rightNode:Te?a.createElement(oe.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):Ye?Ie: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:ze},qe?a.createElement(me.Z,null):a.createElement(de.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:Te,onClick:He},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:Je,disabled:Je,onClick:()=>{Ge({type:0,payload:!1}),Fe()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},35106:function(dt,st,Se){"use strict";Se.d(st,{h:function(){return be}});var be=(Be=>(Be[Be.NOMATCH=-1]="NOMATCH",Be[Be.OK=0]="OK",Be[Be.TIMEOUT=2]="TIMEOUT",Be[Be.PODFAILURE=3]="PODFAILURE",Be[Be.COMPILEFAILURE=4]="COMPILEFAILURE",Be[Be.EXECUTEFAILURE=5]="EXECUTEFAILURE",Be[Be.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Be))(be||{})},72161:function(dt,st,Se){"use strict";Se.d(st,{Y2:function(){return De},ZP:function(){return Oe}});var be=Se(59301),Be=Se(54580),E=Se(8591),me=Se(43418),de=Se(95237),le=Se(5112),ae=Se(3113),oe=Se(24905),se=Se(6848),ue=Se(92832),ie={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/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJRtcKUIFtlBOA7KnQQOypRDS42D5yeN8iIdhePlAdiLVISaNzUn01No6rGKsGALHGeWllegCmxCm2lzdGADEluak5DACmzB1AdmEIEFOWn9rCAWDaHDnGA8jOxgAxpTmqIayXt/0vbt9rcOJODIBsFgaIKc7RlqFRgbVUXzA3IANignTppikAM2Z15yCjEjOWr7XDBWC1Fa40fscgA2KVcsrisADMomuLmDsFGRAznrelwj++Rmc6yOdjWYEOL8QCMcsJWyh2AFZISCXD7P976ernuqvFKskxVWEAMFV2lAmms20lECuTNmZH4S6YWeseB94RyICY0xyOWRYH+TEqGW7TCciAmOEczQmdbWSOenb69nA+BsTs5GPRSNlGFpVT72AdVGNATG/6VYuMbWQ1a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90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ne=Se(47257),te=Se.n(ne),a=Se(81939),y=Se(99064),x=Se(1012),b=Se(955),ee=Se(23210),z=Se(59301),ce=Object.defineProperty,fe=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,pe=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,ve=(Ue,Te,Je)=>Te in Ue?ce(Ue,Te,{enumerable:!0,configurable:!0,writable:!0,value:Je}):Ue[Te]=Je,Pe=(Ue,Te)=>{for(var Je in Te||(Te={}))he.call(Te,Je)&&ve(Ue,Je,Te[Je]);if(pe)for(var Je of pe(Te))ye.call(Te,Je)&&ve(Ue,Je,Te[Je]);return Ue},we=(Ue,Te)=>fe(Ue,ge(Te)),xe=(Ue,Te,Je)=>new Promise((Ze,Ye)=>{var Qe=Re=>{try{Fe(Je.next(Re))}catch(Ge){Ye(Ge)}},Ne=Re=>{try{Fe(Je.throw(Re))}catch(Ge){Ye(Ge)}},Fe=Re=>Re.done?Ze(Re.value):Promise.resolve(Re.value).then(Qe,Ne);Fe((Je=Je.apply(Ue,Te)).next())});const{Dragger:Ce}=Be.default,_e=Ue=>{const Te=Ge=>Ge&&Ge.substring(0,Ge.lastIndexOf("."));for(var Je=[...Ue],Ze=0,Ye=[],Qe=0;Qe{if(Ge.forEach(qe=>{let rt=qe.name.split(/\.(?=[^\.]+$)/);qe.name=`${rt[0]}.${rt[1].toLowerCase()}`}),Ge[0].name.includes(".in"))return Ge.length===2?Ge:[Ge[0],{}];if(Ge[0].name.includes(".out"))return Ge.length===2?Ge.reverse():[{},Ge[0]]})},Ee=({onClose:Ue,onOK:Te,visible:Je,wrapClassName:Ze,rootIdentifier:Ye,multiple:Qe=!1,defaultMultipleValue:Ne=!0})=>{const[Fe,Re]=(0,be.useState)([]),[Ge,qe]=(0,be.useState)({}),[rt,We]=(0,be.useState)(!1),[ze,Ie]=(0,be.useState)(!0),He=(0,be.useRef)([]),Le=(0,be.useRef)(0),Ve=()=>{Ue()};(0,be.useEffect)(()=>{it()},[]),(0,be.useEffect)(()=>{Je&&(He.current=[],Le.current=0,Re([]),Ie(Ne))},[Je]);const it=()=>xe(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){}}),tt=nt=>nt&&nt.substring(0,nt.lastIndexOf(".")),Xe=nt=>{var $e,et;const lt=tt(($e=nt[0])==null?void 0:$e.name)||tt((et=nt[1])==null?void 0:et.name),ot=Fe.filter(ut=>tt(ut.name)!==lt);He.current=[...ot],Re([...ot])},Me=nt=>{if(!ze){const at=new FormData;at.append("file",nt.file),(0,y.ZP)("/api/attachments/get_file_content.json",{method:"post",body:at},!0).then(ft=>{if(ft.status===0){Le.current=Le.current+1;const gt=He.current.map(pt=>{var St;if(pt.name===nt.name){const bt=Pe({},pt);return(St=nt==null?void 0:nt.name)!=null&&St.includes(".in")?bt.input=ft==null?void 0:ft.content:bt.output=ft==null?void 0:ft.content,bt}return pt});if(He.current=[...gt],Re([...gt]),Le.current>0&&Le.current===Fe.length){We(!1);let pt=_e(gt);pt=pt.filter(St=>{var bt,Et;return!!((bt=St[0])!=null&&bt.name&&((Et=St[1])!=null&&Et.name))}),pt=pt.map(St=>we(Pe(Pe({},St[0]),St[1]),{is_file:!1})),Te(pt),Ue()}}else We(!1),Ue()});return}const $e=new(te())({endpoint:Ge.end_point,region:Ge.region,accessKeyId:Ge.access_key_id,accessKeySecret:Ge.access_key_secret,bucket:Ge.bucket,stsToken:Ge.security_token}),et=nt.name,lt={container_type:"TestSet",file_name:et},ot=(0,x.Z)();let ut=`testsets/${Ye}/${ot}${et.indexOf(".")>-1?"."+et.split(".").pop():""}`;Ye===null&&(ut=`testsets/${ot}${et.indexOf(".")>-1?"."+et.split(".").pop():""}`),$e.multipartUpload(ut,new Blob([nt.file],{type:nt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:et+""},url:Ge==null?void 0:Ge.callback_url,host:Ge==null?void 0:Ge.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,y.rz)(lt)}}).then(function(at){if(at.data.status===0){Le.current=Le.current+1;const ct=He.current.map(ft=>{var gt,pt,St,bt,Et,Mt,Ut,qt,tn,Xt,Yt,on,dn,An,fn,Zt,$n;if(ft.name===((pt=(gt=at.data)==null?void 0:gt.data)==null?void 0:pt.file_name)){const un=Pe({},ft);return(Et=(bt=(St=at.data)==null?void 0:St.data)==null?void 0:bt.file_name)!=null&&Et.includes(".in")?(un.in_object_key=(Ut=(Mt=at.data)==null?void 0:Mt.data)==null?void 0:Ut.object,un.in_object_size=(tn=(qt=at.data)==null?void 0:qt.data)==null?void 0:tn.size,un.input=(Yt=(Xt=at.data)==null?void 0:Xt.data)==null?void 0:Yt.file_name,un.in_file=nt):(un.out_object_key=(dn=(on=at.data)==null?void 0:on.data)==null?void 0:dn.object,un.out_object_size=(fn=(An=at.data)==null?void 0:An.data)==null?void 0:fn.size,un.output=($n=(Zt=at.data)==null?void 0:Zt.data)==null?void 0:$n.file_name,un.out_file=nt),un}return ft});if(He.current=[...ct],Re([...ct]),Le.current>0&&Le.current===Fe.length){We(!1);let ft=_e(ct);ft=ft.filter(gt=>{var pt,St;return!!((pt=gt[0])!=null&&pt.name&&((St=gt[1])!=null&&St.name))}),ft=ft.map(gt=>we(Pe(Pe({},gt[0]),gt[1]),{is_file:!0})),Te(ft),Ue()}}})},Ae=nt=>new Promise(($e,et)=>{let lt=0,ot=[];for(let ut=0;ut{lt++,lt===nt.length&&(ot.length?(E.ZP.warning(`${ot.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),et()):$e(nt))}).catch(at=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",at),lt++,ot.push(nt[ut].name),lt===nt.length&&(ot.length?(E.ZP.warning(`${ot.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),et()):$e(nt))})}),je=()=>xe(void 0,null,function*(){if(Fe.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Ae(Fe),We(!0),_e(Fe).some($e=>{var et,lt;return!((et=$e[0])!=null&&et.name&&((lt=$e[1])!=null&<.name))})){me.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:()=>xe(void 0,null,function*(){Fe.map($e=>xe(void 0,null,function*(){Me($e)}))}),onCancel:()=>{We(!1)}});return}Fe.map($e=>xe(void 0,null,function*(){Me($e)}))}),ke={name:"file",fileList:Fe,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:nt=>{if(Fe!=null&&Fe.some(et=>et.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 Fe.push($e),He.current=[...Fe],Re([...Fe]),!1}},Ke=_e(Fe);return console.log(Fe,Ke,"fileList"),z.createElement(me.default,{open:Je,wrapClassName:Ze,onOk:je,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:rt},onCancel:Ve,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ie.wrap},Fe.length?z.createElement("div",null,z.createElement(de.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Qe?"visible":"hidden"}},z.createElement("span",{className:ie.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(le.ZP.Group,{className:`ml20 ${ie.testCaseRadio}`,optionType:"button",value:ze,onChange:nt=>Ie(nt.target.value)},z.createElement(le.ZP,{value:!1},"\u6587\u672C"),z.createElement(le.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(Be.default,Pe({},ke),z.createElement(ae.ZP,{type:"primary",className:ie.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(De,{data:Ke,onRemove:Xe})):z.createElement("div",{className:`${ie.noData} mb30`},z.createElement(Be.default.Dragger,we(Pe({},ke),{className:ie.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:ie.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ie.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))))},De=({data:Ue=[],onRemove:Te,width:Je="auto",showScore:Ze=!1,disabled:Ye=!1,inputChange:Qe,onEvaluatingChange:Ne,onSelectAll:Fe,checkAll1:Re,checkAll2:Ge,checkAll3:qe,checkAll4:rt,checkAll5:We,showEvaluatingSetting:ze=!1,className:Ie="",isProgramHomework:He=!1})=>{const Le={value:"",filename:"",dataUrl:""},[Ve,it]=(0,be.useState)(Pe({},Le)),tt=Ae=>{let je=document.createElement("a");document.body.appendChild(je);let ke=URL.createObjectURL(Ae.file);je.href=ke,je.download=Ae.name,je.click(),URL.revokeObjectURL(ke),document.body.removeChild(je)},Xe=(Ae,je)=>{(0,b.LR)(Ae,je)},Me=(Ae,je)=>{me.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:()=>{Te(Ae,je)},onCancel:()=>{}})};return Ue.length?z.createElement("div",{className:Ie,style:{width:Je}},z.createElement("div",{className:`${He?ie.headProgram:ie.head}`},ze&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(oe.default,{checked:Re,onChange:Ae=>{Fe(Ae.target.checked,"hidden")}}),z.createElement(se.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:He?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:Ze?He?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:Ze?He?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),Ze&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(oe.default,{checked:rt,onChange:Ae=>{Fe(Ae.target.checked,"input_visible")}}),z.createElement(se.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"}))),ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(oe.default,{checked:Ge,onChange:Ae=>{Fe(Ae.target.checked,"is_invisible")}}),z.createElement(se.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"}))),ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(oe.default,{checked:We,onChange:Ae=>{Fe(Ae.target.checked,"actual_output_visible")}}),z.createElement(se.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"}))),ze&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(oe.default,{checked:qe,onChange:Ae=>{Fe(Ae.target.checked,"last_match_rule")}}),z.createElement(se.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:ie.operation,style:He?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ie.listWrapper,style:{boxShadow:He?"0px 2px 4px 0px #EAEEF4":"unset"}},Ue.map((Ae,je)=>{var ke,Ke,nt,$e;return z.createElement("div",{key:je,className:ie.list,style:He?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},ze&&z.createElement("div",{style:{width:"15%"}},z.createElement(oe.default,{checked:!!Ae.hidden,onChange:et=>{Ne(et.target.checked,je,"hidden")}})),z.createElement("div",{style:{width:He?"25%":"15%",paddingLeft:He?"5px":"0px",paddingRight:He?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",je+1),z.createElement("div",{className:ie.info,style:{width:Ze?He?"20%":"15%":"25%"}},z.createElement("span",{title:Ae.input||((ke=Ae[0])==null?void 0:ke.name),onClick:()=>xe(void 0,null,function*(){let et;Ae.input?Ae.input_file_url?et=Ae.input_file_url:et=Ae.in_file:et=Ae[0];let lt;typeof et=="string"?(lt=yield fetch(et,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),it({value:yield lt.text(),filename:"",dataUrl:et})):(lt=yield(0,b.db)(et.file),it({value:lt.text,filename:et.name,dataUrl:lt.link}))})},Ae.input||((Ke=Ae[0])==null?void 0:Ke.name))),z.createElement("div",{className:ie.info,style:{width:Ze?He?"20%":"15%":"25%"}},z.createElement("span",{title:Ae.output||((nt=Ae[1])==null?void 0:nt.name),onClick:()=>xe(void 0,null,function*(){let et;Ae.input?Ae.output_file_url?et=Ae.output_file_url:et=Ae.out_file:et=Ae[1];let lt;typeof et=="string"?(lt=yield fetch(et,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),it({value:yield lt.text(),filename:"",dataUrl:et})):(lt=yield(0,b.db)(et.file),it({value:lt.text,filename:et.name,dataUrl:lt.link}))})},Ae.output||(($e=Ae[1])==null?void 0:$e.name))),Ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(ue.default,{size:"large",addonAfter:He?"%":null,disabled:Ye,style:{width:"80%"},onChange:et=>Qe(et,je),value:Ae.score}),!He&&z.createElement("span",null,"\xA0%")),ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(oe.default,{checked:Ae.input_visible||!1,onChange:et=>{Ne(et.target.checked,je,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(oe.default,{checked:Ae.is_invisible||!1,onChange:et=>{Ne(et.target.checked,je,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(oe.default,{checked:Ae.actual_output_visible||!1,onChange:et=>{Ne(et.target.checked,je,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ze&&z.createElement("div",{style:{width:"20%"}},z.createElement(oe.default,{checked:Ae.last_match_rule||!1,onChange:et=>{Ne(et.target.checked,je,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>Me(Ae,je),style:He?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ie.del},"\u5220\u9664")))})),z.createElement(ee.Z,{close:!0,data:Ve.dataUrl,filename:Ve.filename,type:Ve.dataUrl.length?"txt":"",onClose:()=>it(Pe({},Le)),monacoEditor:{value:Ve.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Oe=Ee},34362:function(dt,st,Se){"use strict";Se.d(st,{Z:function(){return ne}});var be=Se(59301),Be=Se(8591),E=Se(6848),me=Se(71418),de=Se(95237),le=Se(43604),ae=Se(58421),oe=Se(3113),se=Se(12290),ue=Se(99064),ie=Se(85149),re=(a,y,x)=>new Promise((b,ee)=>{var z=ge=>{try{fe(x.next(ge))}catch(pe){ee(pe)}},ce=ge=>{try{fe(x.throw(ge))}catch(pe){ee(pe)}},fe=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(z,ce);fe((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[ee,z]=(0,be.useState)(""),[ce,fe]=(0,be.useState)(!1);function ge(he){z(he)}function pe(){if(!ee){Be.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,ee),z("")}return(0,be.useEffect)(()=>{y!=a&&fe(!1)},[y]),be.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},be.createElement(se.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&&be.createElement(E.Z,{color:"#fff",open:ce,destroyTooltipOnHide:!0,title:te({id:a,isOpen:ce,activeDiscussIndex:y,onChange:ge,setIsOpen:fe}),overlayStyle:{maxWidth:600}},be.createElement("a",{title:ce?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>fe(!ce)},be.createElement("i",{className:"iconfont icon-dianzan11"})))}),be.createElement("a",{onClick:pe,className:"btn-send"},"\u53D1\u9001"))};const te=a=>{const[y,x]=(0,be.useState)(!1),[b,ee]=(0,be.useState)([]),[z,ce]=(0,be.useState)(1);(0,be.useEffect)(()=>{a!=null&&a.isOpen?fe():(ce(1),ee([]))},[a==null?void 0:a.isOpen]);const fe=()=>re(void 0,null,function*(){x(!0);const ge=yield(0,ue.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 be.createElement(me.Z,{spinning:y},be.createElement("div",{style:{color:"#000"}},be.createElement(ie.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[z-1])||""}),be.createElement(de.Z,{justify:"end",align:"middle"},be.createElement(le.Z,null,be.createElement(ae.Z,{simple:!0,current:z,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:ge=>{ce(ge)}})),be.createElement(le.Z,null,be.createElement(oe.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")))))}},37518:function(dt,st,Se){"use strict";Se.d(st,{CP:function(){return E},_V:function(){return le}});var be=Se(28209),Be=Se.n(be);const E={secret:be.enc.Utf8.parse("0a18e199b87f1a8d"),iv:be.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=="},me={exam:E};function de(ae="",oe="exam"){const{secret:se,iv:ue}=me[oe];return AES.encrypt(ae,se,{iv:ue,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function le(ae="",oe="exam"){const{secret:se,iv:ue}=me[oe];return be.AES.decrypt(ae,se,{iv:ue,mode:Be().mode.CBC,padding:Be().pad.Pkcs7}).toString(be.enc.Utf8)}},4901:function(dt,st,Se){"use strict";Se.d(st,{BU:function(){return Be},Dj:function(){return be},gH:function(){return E},vp:function(){return me}});function be(de){try{de.mozRequestFullScreen?de.mozRequestFullScreen():de.webkitRequestFullScreen&&de.webkitRequestFullScreen()}catch(le){console.log(le,":e")}}function Be(){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 me(){var de=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,le=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",de),window.isFullScreen?window.isFullScreen:de!=null}},83312:function(dt,st,Se){"use strict";Se.d(st,{U:function(){return se}});var be=Se(59301),Be=Object.defineProperty,E=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,le=(ue,ie,re)=>ie in ue?Be(ue,ie,{enumerable:!0,configurable:!0,writable:!0,value:re}):ue[ie]=re,ae=(ue,ie)=>{for(var re in ie||(ie={}))me.call(ie,re)&&le(ue,re,ie[re]);if(E)for(var re of E(ie))de.call(ie,re)&&le(ue,re,ie[re]);return ue},oe=(ue,ie,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(ue,ie)).next())});function se(ue,ie){const[re,ne]=(0,be.useState)(ie),[te,a]=(0,be.useState)(!1),[y,x]=(0,be.useState)();return[re,te,(ee,z=!1)=>oe(this,null,function*(){const ce=z?ie:ae(ae({},re),ee);a(!0),ne(ce);const fe=yield ue(ce);return a(!1),x(fe),fe}),y,x]}},85219:function(dt,st,Se){"use strict";Se.d(st,{_:function(){return E}});var be=Se(59301),Be=Se(43418);const E=me=>{var de,le;const ae=(0,be.useRef)([]),oe=()=>{for(const se of ae.current)clearTimeout(se);ae.current=[]};return(0,be.useEffect)(()=>{var se,ue,ie,re,ne,te;if(oe(),(se=me==null?void 0:me.exercise)!=null&&se.left_time&&((ie=(ue=me==null?void 0:me.exercise)==null?void 0:ue.exercise_events)==null?void 0:ie.length)>0){for(const a of(re=me==null?void 0:me.exercise)==null?void 0:re.exercise_events)if(((ne=me==null?void 0:me.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((te=me==null?void 0:me.exercise)==null?void 0:te.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{Be.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);ae.current.push(x)}}},[(de=me==null?void 0:me.exercise)==null?void 0:de.left_time,(le=me==null?void 0:me.exercise)==null?void 0:le.exercise_events]),oe}},24768:function(dt,st,Se){"use strict";Se.d(st,{AL:function(){return ce},Iy:function(){return ie},Qv:function(){return te},ez:function(){return z},jb:function(){return re}});var be=Se(32834),Be=Se.n(be),E=Se(11690),me=Se.n(E);let de=1;function le(ye,ve){const Pe=ye.match(/^(\s+)(?:```)/);if(Pe===null)return ve;const we=Pe[1];return ve.split(` `).map(xe=>{const Ce=xe.match(/^\s+/);if(Ce===null)return xe;const[_e]=Ce;return _e.length>=we.length?xe.slice(we.length):xe}).join(` `)}let ae=[],oe=["