(self.webpackChunk=self.webpackChunk||[]).push([[2884,6270],{27812:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return ie}});var ve=be(92413),Xe=be(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},ge=E,Ae=be(7657),ue=function(ae,oe){return Xe.createElement(Ae.Z,(0,ve.Z)({},ae,{ref:oe,icon:ge}))},le=Xe.forwardRef(ue),ie=le},67921:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return ie}});var ve=be(92413),Xe=be(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M632 698.3l141.9-112a8 8 0 000-12.6L632 461.7c-5.3-4.2-13-.4-13 6.3v76H295c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h324v76c0 6.7 7.8 10.4 13 6.3zm261.3-405L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v278c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V422c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-83.5c0-17-6.7-33.2-18.7-45.2zM640 288H384V184h256v104zm264 436h-56c-4.4 0-8 3.6-8 8v108H184V732c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v148c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V732c0-4.4-3.6-8-8-8z"}}]},name:"delivered-procedure",theme:"outlined"},ge=E,Ae=be(7657),ue=function(ae,oe){return Xe.createElement(Ae.Z,(0,ve.Z)({},ae,{ref:oe,icon:ge}))},le=Xe.forwardRef(ue),ie=le},87169:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return ie}});var ve=be(92413),Xe=be(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"},ge=E,Ae=be(7657),ue=function(ae,oe){return Xe.createElement(Ae.Z,(0,ve.Z)({},ae,{ref:oe,icon:ge}))},le=Xe.forwardRef(ue),ie=le},95869:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return ie}});var ve=be(92413),Xe=be(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 264c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48zm-8 136H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM480 544H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 308H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm356.8-74.4c29-26.3 47.2-64.3 47.2-106.6 0-79.5-64.5-144-144-144s-144 64.5-144 144c0 42.3 18.2 80.3 47.2 106.6-57 32.5-96.2 92.7-99.2 162.1-.2 4.5 3.5 8.3 8 8.3h48.1c4.2 0 7.7-3.3 8-7.6C564 871.2 621.7 816 692 816s128 55.2 131.9 124.4c.2 4.2 3.7 7.6 8 7.6H880c4.6 0 8.2-3.8 8-8.3-2.9-69.5-42.2-129.6-99.2-162.1zM692 591c44.2 0 80 35.8 80 80s-35.8 80-80 80-80-35.8-80-80 35.8-80 80-80z"}}]},name:"solution",theme:"outlined"},ge=E,Ae=be(7657),ue=function(ae,oe){return Xe.createElement(Ae.Z,(0,ve.Z)({},ae,{ref:oe,icon:ge}))},le=Xe.forwardRef(ue),ie=le},11570:function(nn,Ht){"use strict";Ht.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},7850:function(nn,Ht){"use strict";Ht.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"}},58323:function(){"use strict"},54318:function(nn,Ht,be){"use strict";var ve=be(59301),Xe=Object.defineProperty,E=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Xe(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,le=(se,ae)=>{for(var oe in ae||(ae={}))ge.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))Ae.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",le({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"})));Ht.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},71302:function(nn,Ht,be){"use strict";var ve=be(59301),Xe=Object.defineProperty,E=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(se,ae,oe)=>ae in se?Xe(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ae]=oe,le=(se,ae)=>{for(var oe in ae||(ae={}))ge.call(ae,oe)&&ue(se,oe,ae[oe]);if(E)for(var oe of E(ae))Ae.call(ae,oe)&&ue(se,oe,ae[oe]);return se};const ie=se=>React.createElement("svg",le({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"})));Ht.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},29277:function(){"use strict";function nn(z,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=z,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(nn.prototype,"name",{get:function(){return this._name},set:function(z){if(typeof z!="string"||z==="")throw new Error("Shape name must be a valid string.");this._name=z}}),Object.defineProperty(nn.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("The default value must be a real number, not: "+z);this._defaultValue=z}}),Object.defineProperty(nn.prototype,"minimum",{get:function(){return this._minimum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Minimum must be a real number, not: "+z);this._minimum=z}}),Object.defineProperty(nn.prototype,"maximum",{get:function(){return this._maximum},set:function(z){if(typeof z!="number"||isNaN(z))throw new Error("Maximum must be a real number, not: "+z);this._maximum=z}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(z,a){var y=go.Shape._FigureParameters[z];return y?y[a]:null},go.Shape.setFigureParameter=function(z,a,y){if(!(y instanceof nn))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[z];x||(x=[],go.Shape._FigureParameters[z]=x),x[a]=y};var Ht=[];function be(z,a){var y=Ht.pop();return y===void 0?new go.Point(z,a):(y.x=z,y.y=a,y)}function ve(){var z=Ht.pop();return z===void 0?new go.Point:z}function Xe(z){Ht.push(z)}function E(z,a,y,x,b,te,ee,ce,fe){fe||(fe=new go.Point);var he=z-y,de=b-ee,pe=NaN,ye=NaN;if(he===0)if(de===0)z===y&&(pe=z,ye=a);else{var me=(te-ce)/de,Ee=te-me*b;pe=z,ye=me*pe+Ee}else if(de===0){var Be=(a-x)/he,je=a-Be*z;pe=b,ye=Be*pe+je}else{var Be=(a-x)/he,me=(te-ce)/de,je=a-Be*z,Ee=te-me*b;pe=(Ee-je)/(Be-me),ye=Be*pe+je}return fe.x=pe,fe.y=ye,fe}function ge(z,a,y,x,b,te,ee,ce,fe,he,de,pe,ye,me){var Ee=1-fe,Be=fe,je=z*Ee+y*Be,we=a*Ee+x*Be,De=y*Ee+b*Be,xe=x*Ee+te*Be,Te=b*Ee+ee*Be,Ke=te*Ee+ce*Be,Ye=je*Ee+De*Be,Me=we*Ee+xe*Be,tt=De*Ee+Te*Be,qe=xe*Ee+Ke*Be,st=Ye*Ee+tt*Be,ct=Me*Ee+qe*Be;he.x=je,he.y=we,de.x=Ye,de.y=Me,pe.x=st,pe.y=ct,ye.x=tt,ye.y=qe,me.x=Te,me.y=Ke}var Ae=new go.Spot(.156,.156),ue=new go.Spot(.844,.844),le=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new nn("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*le,te=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&&(te.spot1=new go.Spot(0,0,b,b),te.spot2=new go.Spot(1,1,-b,-b)),te}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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=Ae,b.spot2=ue,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(z,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(z,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(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,le*a,0,a,(1-le)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,le*y,(1-le)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,le*y,le*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(z,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-le)*a,0,0,(1-le)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(z,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(z,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(z,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(z,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 nn("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.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())):te.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 te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.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())):te.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 te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.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())):te.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 te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.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())):te.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 te=new go.Geometry(go.Geometry.Rectangle);return te.startX=0,te.startY=0,te.endX=a,te.endY=y,te}else{var te=new go.Geometry;return x>0?te.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())):te.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&&(ee.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),ee.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),te.spot1=Ae,te.spot2=ue,te.defaultStretch=go.GraphObject.Uniform,te}),go.Shape.defineFigureGenerator("Cloud",function(z,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(z,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 nn("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new nn("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(z,a,y){var x=z?z.parameter1:NaN,b=z?z.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var te=x%360;te<0&&(te+=360);var ee=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,te,ee,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(z,a,y){var x=le/Math.SQRT2*.5,b=Math.SQRT2/2,te=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,te*y,a,(1-x)*y,(b+x)*a,(te+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new nn("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,te=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(te-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+b,0)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new nn("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,te=a/2,ee=y/2;return new go.Geometry().add(new go.PathFigure(te-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,te+b,0)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee-b)).add(new go.PathSegment(go.PathSegment.Line,a,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,te+b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,y)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee+b)).add(new go.PathSegment(go.PathSegment.Line,0,ee-b)).add(new go.PathSegment(go.PathSegment.Line,te-b,ee-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new nn("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(z,a,y){var x=z?z.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 te=a/2,ee=y/2,ce=Math.atan2(y,a),fe=x-Math.min(Math.cos(ce)*x/2,te),he=x-Math.min(Math.sin(ce)*x/2,ee),b=new go.Geometry,de=new go.PathFigure(fe,0,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Line,te,.2*y)),de.add(new go.PathSegment(go.PathSegment.Line,a-fe,0)),de.add(new go.PathSegment(go.PathSegment.Line,a,he)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,a,y-he)),de.add(new go.PathSegment(go.PathSegment.Line,a-fe,y)),de.add(new go.PathSegment(go.PathSegment.Line,te,.8*y)),de.add(new go.PathSegment(go.PathSegment.Line,fe,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y-he)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,0,he).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new nn("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,te=new go.PathFigure(.1*a,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new nn("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new nn("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,te=new go.PathFigure(0,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(z,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,le*a,0,a,(.5-le/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+le/2)*y,le*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(z,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(z,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(z,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(z,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 te=.2,ee=.3,ce=0,fe=te*le;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+fe+ce)*y,(.5-fe+ee)*a,(.5+te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ee)*a,(.5+ce)*y,(.5+fe+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee)*a,(.5-fe+ce)*y,(.5+fe+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-fe+ee)*a,(.5-te+ce)*y,(.5-te+ee+.05)*a,(.5-fe+ce-.02)*y)),te=.2,ee=0,ce=-.3,fe=te*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ee)*a,(.5+ce)*y,(.5+fe+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee)*a,(.5-fe+ce)*y,(.5+fe+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ee)*a,(.5+ce)*y,(.5-fe+ee)*a,(.5-te+ce)*y,(.5-te+ee)*a,(.5-fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-fe+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+fe+ce)*y,(.5-fe+ee)*a,(.5+te+ce)*y)),te=.2,ee=-.3,ce=0,fe=te*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee-.05)*a,(.5-fe+ce-.02)*y,(.5+fe+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ee)*a,(.5+ce)*y,(.5-fe+ee)*a,(.5-te+ce)*y,(.5-te+ee)*a,(.5-fe+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+fe+ce)*y,(.5-fe+ee)*a,(.5+te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+fe+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+fe+ce)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(z,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 te=.1,ee=.5,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ee+te)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ee,y*ce,te*a,te*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((ee+te)*a,ce*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ee,y*ce,te*a,te*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(z,a,y){var x=.8535533905932737,b=.5*a,te=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,te,b,te)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,te)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,te)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=.5,ce=.5,fe=new go.PathFigure(ee*a,(ce-te)*y);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),te=.4,b=le*.4;var he=ve(),de=ve(),pe=ve(),ye=ve();ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.42,he,de,pe,ye,ye);var me=ve(),Ee=ve(),Be=ve();ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.58,ye,ye,Be,me,Ee);var je=ve(),we=ve(),De=ve();ge(ee,ce+te,ee-b,ce+te,ee-te,ce+b,ee-te,ce,.42,je,we,De,ye,ye);var xe=ve(),Te=ve(),Ke=ve();return ge(ee,ce+te,ee-b,ce+te,ee-te,ce+b,ee-te,ce,.58,ye,ye,Ke,xe,Te),fe.add(new go.PathSegment(go.PathSegment.Move,Ke.x*a,Ke.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,xe.x*a,xe.y*y,Te.x*a,Te.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*a,pe.y*y,he.x*a,he.y*y,de.x*a,de.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Ke.x*a,Ke.y*y).close()),fe.add(new go.PathSegment(go.PathSegment.Move,De.x*a,De.y*y)),fe.add(new go.PathSegment(go.PathSegment.Line,Be.x*a,Be.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,me.x*a,me.y*y,Ee.x*a,Ee.y*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,De.x*a,De.y*y,je.x*a,je.y*y,we.x*a,we.y*y).close()),Xe(he),Xe(de),Xe(pe),Xe(ye),Xe(me),Xe(Ee),Xe(Be),Xe(je),Xe(we),Xe(De),Xe(xe),Xe(Te),Xe(Ke),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(z,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 nn("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,te=b+x;return new go.Geometry().add(new go.PathFigure(te,.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(z,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(z,a,y){var x=new go.Geometry,b=le*.4,te=.4,ee=.5,ce=.5,fe=ve(),he=ve(),de=ve(),pe=ve(),ye=new go.PathFigure((ee-te)*a,ce*y,!1);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.44,de,pe,he,fe,fe),ye.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,de.x*a,de.y*y,pe.x*a,pe.y*y));var me=be(he.x,he.y);ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.56,fe,fe,he,de,pe);var Ee=be(he.x,he.y);ye.add(new go.PathSegment(go.PathSegment.Line,(me.x*.1+.95*.9)*a,me.y*.1*y)),ye.add(new go.PathSegment(go.PathSegment.Line,.85*a,me.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,(Ee.x*.1+.9)*a,.15*y)),ye.add(new go.PathSegment(go.PathSegment.Line,(Ee.x*.1+.9)*a,(Ee.y*.1+.05*.9)*y)),ye.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),te=.35,b=le*.35;var Be=new go.PathFigure(ee*a,(ce-te)*y,!1);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y));var je=new go.PathFigure((ee-te)*a,ce*y,!1);return x.add(je),Xe(fe),Xe(he),Xe(de),Xe(pe),Xe(me),Xe(Ee),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(z,a,y){var x=new go.Geometry,b=.375,te=0,ee=-.125,ce=b*le,fe=new go.PathFigure((.525+te)*a,(.5+b+ee)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+te)*a,(.5+ee)*y,(.5+ce+te)*a,(.5+b+ee)*y,(.5+b+te)*a,(.5+ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-b+ee)*y,(1-.5+b+te)*a,(.5-ce+ee)*y,(.5+ce+te)*a,(.5-b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+ee)*y,(.5-ce+te)*a,(.5-b+ee)*y,(.5-b+te)*a,(.5-ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+te)*a,(.5+b+ee)*y,(.5-b+te)*a,(.5+ce+ee)*y,(.5-ce+te)*a,(.5+b+ee)*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,te=0,ee=-.125,ce=b*le;var fe=new go.PathFigure((1-.5+b+te)*a,(.5+ee)*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5+b+ee)*y,(.5+b+te)*a,(.5+ce+ee)*y,(.5+ce+te)*a,(.5+b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+ee)*y,(.5-ce+te)*a,(.5+b+ee)*y,(.5-b+te)*a,(.5+ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+te)*a,(.5-b+ee)*y,(.5-b+te)*a,(.5-ce+ee)*y,(.5-ce+te)*a,(.5-b+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+te)*a,(.5+ee)*y,(.5+ce+te)*a,(.5-b+ee)*y,(1-.5+b+te)*a,(.5-ce+ee)*y));var fe=new go.PathFigure((.525+te)*a,(.5+b+ee)*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(z,a,y){var x=z?z.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(z,a,y){var x=z?z.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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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(z,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 nn("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new nn("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=z?z.parameter2:NaN;isNaN(b)&&(b=.3);var te=(1-x)*a,ee=(.5-b/2)*y,ce=(.5+b/2)*y,fe=new go.Geometry,he=new go.PathFigure(0,ee,!0);fe.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te,ee)),he.add(new go.PathSegment(go.PathSegment.Line,te,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,te,y)),he.add(new go.PathSegment(go.PathSegment.Line,te,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),fe.spot1=new go.Spot(0,ee/y);var de=E(0,ce/y,1,ce/y,te/a,1,1,.5,ve());return fe.spot2=new go.Spot(de.x,de.y),Xe(de),fe}),go.Shape.setFigureParameter("Arrow2",0,new nn("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new nn("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=z?z.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var te=a-x,ee=(y-b)/2,ce=ee+b,fe=new go.Geometry,he=new go.PathFigure(0,ee,!0);fe.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te,ee)),he.add(new go.PathSegment(go.PathSegment.Line,te,0)),he.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Line,te,y)),he.add(new go.PathSegment(go.PathSegment.Line,te,ce)),he.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),fe.spot1=new go.Spot(0,ee/y);var de=E(0,ce/y,1,ce/y,te/a,1,1,.5,ve());return fe.spot2=new go.Spot(de.x,de.y),Xe(de),fe}),go.Shape.defineFigureGenerator("Chevron",function(z,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(z,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 nn("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,te=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),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,ve());return ee.spot1=new go.Spot(fe.x,fe.y),fe=E(.7,1,1,.5,0,te/y,1,te/y,fe),ee.spot2=new go.Spot(fe.x,fe.y),Xe(fe),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new nn("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new nn("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var te=(y-x)/2,ee=te+x,ce=(y-b)/2,fe=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,te=(y-x)/2,ee=te+x,ce=0,fe=y):(te=0,ee=y,ce=0,fe=y));var he=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);he.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),de.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var pe=E(0,.5,.3,ce/y,0,te/y,1,te/y,ve());return he.spot1=new go.Spot(pe.x,pe.y),pe=E(.7,fe/y,1,.5,0,ee/y,1,ee/y,pe),he.spot2=new go.Spot(pe.x,pe.y),Xe(pe),he}),go.Shape.setFigureParameter("IBeamArrow",0,new nn("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,te=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),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()),ee.spot1=new go.Spot(0,b/y);var fe=E(.7,1,1,.5,0,te/y,1,te/y,ve());return ee.spot2=new go.Spot(fe.x,fe.y),Xe(fe),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new nn("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new nn("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=40);var b=z?z.parameter2:NaN;isNaN(b)&&(b=100);var te=(y-x)/2,ee=te+x,ce=(y-b)/2,fe=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,te=(y-x)/2,ee=te+x,ce=0,fe=y):(te=0,ee=y,ce=0,fe=y));var he=new go.Geometry,de=new go.PathFigure(a,.5*y,!0);he.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,fe)),de.add(new go.PathSegment(go.PathSegment.Line,0,fe)),de.add(new go.PathSegment(go.PathSegment.Line,0,ce)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),de.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),he.spot1=new go.Spot(0,te/y);var pe=E(.7,fe/y,1,.5,0,ee/y,1,ee/y,ve());return he.spot2=new go.Spot(pe.x,pe.y),Xe(pe),he}),go.Shape.setFigureParameter("Pointer",0,new nn("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var ee=E(.2,.65,1,.65,0,1,1,.5,ve());return b.spot2=new go.Spot(ee.x,ee.y),Xe(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new nn("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.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 ee=E(0,.65,1,.65,0,1,1,.5,ve());return b.spot2=new go.Spot(ee.x,ee.y),Xe(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new nn("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,te=(.5+x/2)*y,ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,0,te)),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()),ee.spot1=new go.Spot(.2,.3);var fe=E(.7,1,1,.5,0,te/y,1,te/y,ve());return ee.spot2=new go.Spot(fe.x,fe.y),Xe(fe),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new nn("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,te=b+x;x>y&&(b=0,te=y);var ee=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ee.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),ce.add(new go.PathSegment(go.PathSegment.Line,0,te)),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()),ee.spot1=new go.Spot(.2,b/y);var fe=E(.7,1,1,.5,0,te/y,1,te/y,ve());return ee.spot2=new go.Spot(fe.x,fe.y),Xe(fe),ee}),go.Shape.setFigureParameter("SquareArrow",0,new nn("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,te=new go.PathFigure(a,.5*y,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.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(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.1,ee=new go.PathFigure(0,.9*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(z,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 te=new go.PathFigure(0,.9*y,!1);return x.add(te),te.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(z,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 te=new go.PathFigure(.5*a,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),te.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(z,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 te=new go.PathFigure(0,.3*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),te.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(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(0,x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+te)*a,0,1*a,le*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-le*x,(.5+te)*a,1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,1*y,0,y-le*x)),ee.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-le*x,(.5+te)*a,2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-te)*a,2*x,0,2*x-le*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(0,y-x,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,le*x,(.5-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+te)*a,0,a,le*x)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-le*x,(.5+te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-te)*a,y,0,y-le*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-le*x,(.5-te)*a,y-2*x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+te)*a,y-2*x,a,y-x-le*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-le*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,le*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+le*x,0,2*x,(.5-te)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+te)*y,x+le*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(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,te=le*.5,ee=new go.PathFigure(a-x,0,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-le*x,0,a,(.5-te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+te)*y,a-le*x,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,le*x,y,0,(.5+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-te)*y,le*x,0)),ee.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-le*x,0,a-2*x,(.5-te)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+te)*y,a-x-le*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(z,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 te=new go.PathFigure(.25*a,.25*y,!1);return x.add(te),te.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(z,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 te=new go.PathFigure(0,y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),te.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),te.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(z,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 te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.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(z,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 te=new go.PathFigure(.5*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),te.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),te.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(z,a,y){var x=new go.Geometry,b=.2,te=.1,ee=le*b,ce=le*te,fe=.5,he=.1,de=new go.PathFigure(fe*a,(he+te)*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe-b)*a,he*y,(fe-ee)*a,(he+te)*y,(fe-b)*a,(he+ce)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-te)*y,(fe-b)*a,(he-ce)*y,(fe-ee)*a,(he-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe+b)*a,he*y,(fe+ee)*a,(he-te)*y,(fe+b)*a,(he-ce)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+te)*y,(fe+b)*a,(he+ce)*y,(fe+ee)*a,(he+te)*y));var pe=.05,ye=le*pe;fe=.05,he=.25;var me=new go.PathFigure(.5*a,.2*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),fe=.95,he=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,(fe+pe)*a,he*y,(fe+ye)*a,(he-pe)*y,(fe+pe)*a,(he-ye)*y)),me.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),pe=.025,ye=le*pe,fe=.825,he=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe+pe)*a,(he-ye)*y,(fe+ye)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,he*y,(fe-ye)*a,(he-pe)*y,(fe-pe)*a,(he-ye)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),pe=.05,ye=le*pe,fe=.5,he=.7,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe+pe)*a,(he-ye)*y,(fe+ye)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,he*y,(fe-ye)*a,(he-pe)*y,(fe-pe)*a,(he-ye)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),me.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),pe=.025,ye=le*pe,fe=.175,he=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe+pe)*a,(he-ye)*y,(fe+ye)*a,(he-pe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-pe)*a,he*y,(fe-ye)*a,(he-pe)*y,(fe-pe)*a,(he-ye)*y)),me.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),me.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),pe=.05,ye=le*pe,fe=.05,he=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-pe)*y,(fe-pe)*a,(he-ye)*y,(fe-ye)*a,(he-pe)*y)),me.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 nn("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(z,a,y){var x=z?z.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,te=new go.PathFigure(a,0,!0);return b.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),te.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(z,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 te=new go.PathFigure(.5*a,.5*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-te)*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+te)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+te)*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+te)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+te)*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+te)*y,(.5+b)*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+te)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(z,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(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.1,ee=new go.PathFigure(a,.1*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+te)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-te)*y,(.5-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-te)*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+te)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+te)*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+te)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+te)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var te=le*.2,ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-te)*y,(.2-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+te)*a,0,a,(.2-te)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+te)*y,(.8+te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-te)*a,y,0,(.8+te)*y)),ee.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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,b*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(z,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 te=new go.PathFigure(.1*a,.4*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),te.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(z,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 te=new go.PathFigure(.75*a,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),te.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(z,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 te=new go.PathFigure(a,.5*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,y));var ee=new go.PathFigure(a,.5*y,!1);return x.add(ee),ee.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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,te=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.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 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,te*y)),ce.add(new go.PathSegment(go.PathSegment.Line,a,te*y)),x}),go.Shape.defineFigureGenerator("Junction",function(z,a,y){var x=new go.Geometry,b=1/Math.SQRT2,te=(1-1/Math.SQRT2)/2,ee=le*.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+ee)*y,(ce+ee)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-ee)*a,y,0,(ce+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-ee)*y,(ce-ee)*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+ee)*a,0,a,(ce-ee)*y));var he=new go.PathFigure((te+b)*a,(te+b)*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,te*a,te*y)),he.add(new go.PathSegment(go.PathSegment.Move,te*a,(te+b)*y)),he.add(new go.PathSegment(go.PathSegment.Line,(te+b)*a,te*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(z,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 te=new go.PathFigure(.1*a,0,!1);return x.add(te),te.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(z,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(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=new go.PathFigure(.5*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(te+.1)*a,.9*y,a,(te+b)*y,(te+b)*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.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(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.7);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(z,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(z,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 te=new go.PathFigure(.1*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.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(z,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 te=new go.PathFigure(.2*a,.1*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),te.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=1-b,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,.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(z,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(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=new go.PathFigure(a,te*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+b)*y,(te+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-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(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,te=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.3);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,(1-te)*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}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN,te=z?z.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(te)&&(te=.3);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure((1-b)*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(z,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 te=new go.PathFigure(0,.5*y,!1);return x.add(te),te.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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.25);var te=new go.PathFigure(b*a,0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ee=new go.PathFigure(b*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ee.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ee.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(z,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(z,a,y){var x=new go.Geometry,b=z?z.parameter1:NaN;isNaN(b)&&(b=.1);var te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(z,a,y){var x=new go.Geometry,b=le*.5,te=new go.PathFigure(0,0,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),te.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(z,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(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=new go.PathFigure(a,te*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,y,a,(te+b)*y,(te+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,te*y,(te-b)*a,y,0,(te+b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,te*a,0,0,(te-b)*y,(te-b)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,te*y,(te+b)*a,0,a,(te-b)*y));var ce=new go.PathFigure(a,te*y,!1);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,te*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(z,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(z,a,y){var x=new go.Geometry,b=le*.1,te=.1,ee=.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 he=new go.PathFigure((ee+te)*a,ce*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce-te)*y,(ee+te)*a,(ce-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(z,a,y){var x=new go.Geometry,b=le*.5,te=le*.4,ee=le*.1,ce=.1,fe=.9,he=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+te)*y,(.4+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-te)*y));var pe=new go.PathFigure((fe+ce)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+ce)*y,(fe+ce)*a,(he+ee)*y,(fe+ee)*a,(he+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a,he*y,(fe-ee)*a,(he+ce)*y,(fe-ce)*a,(he+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-ce)*y,(fe-ce)*a,(he-ee)*y,(fe-ee)*a,(he-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a,he*y,(fe+ee)*a,(he-ce)*y,(fe+ce)*a,(he-ee)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=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+te)*y,(ee+te)*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,(ee+te)*a,(ce-b)*y,.7*a,(ce-te)*y)),b=.1,te=le*.1,ee=.9,ce=.5;var he=new go.PathFigure((ee-b)*a,ce*y,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=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,(ee+te+te)*a,(ce-b)*y,.8*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+te)*y,(ee+te+te)*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(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=.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 he=new go.PathFigure(.8*a,.5*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ee+te)*a,(ce-b)*y,.7*a,(ce-te)*y)),b=.1,te=le*.1,ee=.9,ce=.5;var de=new go.PathFigure((ee-b)*a,ce*y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=.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 he=new go.PathFigure(.2*a,0,!0);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+te)*a,(ce-b)*y,.9*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.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(z,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(z,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(z,a,y){var x=new go.Geometry,b=le*.1,te=.1,ee=.1,ce=.5,fe=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.3,fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.5,fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.7,fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.9,fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b*.5)*a,y,(ee+te)*a,0,(ee+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(z,a,y){var x=new go.Geometry,b=le*.5,te=.5,ee=.5,ce=.5,fe=new go.PathFigure((ee-te)*a,ce*y,!1);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce-te)*y,(ee+te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Move,(ee-te+.1)*a,ce*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te-.1)*a,ce*y,ee*a,(ce-te)*y,ee*a,(ce+te)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(z,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(z,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(z,a,y){var x=new go.Geometry,b=a,te=y;a=a*.38,y=y*.6;var ee=le*.8,ce=.8,fe=0,he=.5,de=(b-a)/2,pe=(te-y)/2,ye=new go.PathFigure(fe*a+de,(he+ce)*y+pe,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+de,he*y+pe,(fe-ee)*a+de,(he+ce)*y+pe,(fe-ce)*a+de,(he+ee)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe-ce)*a+de,(he-ee)*y+pe,(fe-ee)*a+de,(he-ce)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce+ee*.5)*a+de,he*y+pe,fe*a+de,(he-ce)*y+pe,(fe-ce+ee*.5)*a+de,(he-ee)*y+pe)),ye.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe-ce+ee*.5)*a+de,(he+ee)*y+pe,fe*a+de,(he+ce)*y+pe).close()),ee=le*.4,ce=.4,fe=.2,he=.5;var me=new go.PathFigure(fe*a+de,(he+ce)*y+pe,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+de,he*y+pe,(fe-ee)*a+de,(he+ce)*y+pe,(fe-ce)*a+de,(he+ee)*y+pe)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe-ce)*a+de,(he-ee)*y+pe,(fe-ee)*a+de,(he-ce)*y+pe)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce+ee*.5)*a+de,he*y+pe,fe*a+de,(he-ce)*y+pe,(fe-ce+ee*.5)*a+de,(he-ee)*y+pe)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe-ce+ee*.5)*a+de,(he+ee)*y+pe,fe*a+de,(he+ce)*y+pe).close()),ee=le*.2,ce=.2,fe=.5,he=.5;var Ee=new go.PathFigure((fe-ce)*a+de,he*y+pe,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe-ce)*a+de,(he-ee)*y+pe,(fe-ee)*a+de,(he-ce)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+de,he*y+pe,(fe+ee)*a+de,(he-ce)*y+pe,(fe+ce)*a+de,(he-ee)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe+ce)*a+de,(he+ee)*y+pe,(fe+ee)*a+de,(he+ce)*y+pe)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ce)*a+de,he*y+pe,(fe-ee)*a+de,(he+ce)*y+pe,(fe-ce)*a+de,(he+ee)*y+pe)),ee=le*.4,ce=.4,fe=.8,he=.5;var Be=new go.PathFigure(fe*a+de,(he-ce)*y+pe,!0);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+de,he*y+pe,(fe+ee)*a+de,(he-ce)*y+pe,(fe+ce)*a+de,(he-ee)*y+pe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe+ce)*a+de,(he+ee)*y+pe,(fe+ee)*a+de,(he+ce)*y+pe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce-ee*.5)*a+de,he*y+pe,fe*a+de,(he+ce)*y+pe,(fe+ce-ee*.5)*a+de,(he+ee)*y+pe)),Be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe+ce-ee*.5)*a+de,(he-ee)*y+pe,fe*a+de,(he-ce)*y+pe).close()),ee=le*.8,ce=.8,fe=1,he=.5;var je=new go.PathFigure(fe*a+de,(he-ce)*y+pe,!0);return x.add(je),je.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce)*a+de,he*y+pe,(fe+ee)*a+de,(he-ce)*y+pe,(fe+ce)*a+de,(he-ee)*y+pe)),je.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he+ce)*y+pe,(fe+ce)*a+de,(he+ee)*y+pe,(fe+ee)*a+de,(he+ce)*y+pe)),je.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ce-ee*.5)*a+de,he*y+pe,fe*a+de,(he+ce)*y+pe,(fe+ce-ee*.5)*a+de,(he+ee)*y+pe)),je.add(new go.PathSegment(go.PathSegment.Bezier,fe*a+de,(he-ce)*y+pe,(fe+ce-ee*.5)*a+de,(he-ee)*y+pe,fe*a+de,(he-ce)*y+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(z,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 te=new go.PathFigure(0,0,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,0)),te.add(new go.PathSegment(go.PathSegment.Move,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Move,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(z,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 te=new go.PathFigure(.1*a,y,!0,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.6*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ee.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(z,a,y){var x=new go.Geometry,b=le*.4,te=.4,ee=.5,ce=.5,fe=ve(),he=ve(),de=ve(),pe=ve();ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.5,fe,fe,he,de,pe);var ye=be(he.x,he.y),me=new go.PathFigure(he.x*a,he.y*y,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),ge(ee-te,ce,ee-te,ce-b,ee-b,ce-te,ee,ce-te,.5,de,pe,he,fe,fe),me.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,de.x*a,de.y*y,pe.x*a,pe.y*y)),b=le*.3,te=.3,ge(ee-te,ce,ee-te,ce-b,ee-b,ce-te,ee,ce-te,.5,de,pe,he,fe,fe),me.add(new go.PathSegment(go.PathSegment.Line,he.x*a,he.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,pe.x*a,pe.y*y,de.x*a,de.y*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),ge(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.5,fe,fe,he,de,pe),me.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,pe.x*a,pe.y*y,de.x*a,de.y*y).close());var me=new go.PathFigure(.45*a,0,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),me.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),Xe(fe),Xe(he),Xe(de),Xe(pe),Xe(ye),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(z,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 te(ee,ce,fe){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+fe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+fe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+fe)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+fe)*y).close())}return te(b,0,0),te(b,.4,0),te(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(z,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(z,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(z,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(z,a,y){var x=new go.Geometry,b=.5,te=0,ee=0,ce=b*le,fe=.4*Math.SQRT2/2+.5,he=.5-.5*Math.SQRT2/2,de=1,pe=.5,ye=.5,me=0,Ee=new go.PathFigure(fe*a,(1-he)*y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a,pe*y,de*a,.7*y,de*a,pe*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ye+te)*a,(me+te)*y,(.5+b+te)*a,(.5-ce+te)*y,(.5+ce+te)*a,(.5-b+te)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+te)*a,(.5+ee)*y,(.5-ce+te)*a,(.5-b+ee)*y,(.5-b+te)*a,(.5-ce+ee)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(.35+te)*a,.9*y,(.5-b+te)*a,(.5+ce+ee)*y,(.5-ce+te)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*a,.8*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*a,.9*y)),Ee.add(new go.PathSegment(go.PathSegment.Line,(.2+te)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(z,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(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var te=new go.PathFigure(a,y,!1);x.add(te);var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(z,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(z,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(z,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 te=new go.PathFigure(.45*a,.73*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),te.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),te.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var te=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),te.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ee=.5-.285,ce=.5,fe=ee,he=Math.PI/4,de=4*(1-Math.cos(he))/(3*Math.sin(he)),pe=de*.5,ye=ee,me=ee,Ee=de*ye,Be=de*me;te.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ye)*a,fe*y,(ce-(Ee+ye)/2)*a,(fe+(me+Be)/2)*y,(ce-ye)*a,(fe+Be)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(fe-me)*y,(ce-ye)*a,(fe-Be)*y,(ce-Ee)*a,(fe-me)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ye)*a,fe*y,(ce+Ee)*a,(fe-me)*y,(ce+ye)*a,(fe-Be)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+ye)*a,(fe+Be)*y,(ce+(Ee+ye)/2)*a,(fe+(me+Be)/2)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),te.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),te.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var je=new go.PathFigure(.2*a,y,!1);x.add(je),je.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var we=new go.PathFigure(.8*a,y,!1);return x.add(we),we.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(z,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 te=new go.PathFigure(.2*a,.2*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(z,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(z,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var te=new go.PathFigure(a,y,!1);x.add(te);var ee=new go.PathFigure(.1*a,y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(z,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 te=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-te)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,te*a,te*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(z,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 te=new go.PathFigure(.475*a,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),te.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),te.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ee=new go.PathFigure(.675*a,.575*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(z,a,y){var x=new go.Geometry,b=.5,te=le*.5,ee=new go.PathFigure(a,b*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+te)*y,(b+te)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-te)*a,y,0,(b+te)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-te)*y,(b-te)*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+te)*a,0,a,(b-te)*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(z,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 te=new go.PathFigure(0,.15*y,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),te.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(z,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 te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*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).close()),x}),go.Shape.defineFigureGenerator("Component",function(z,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 te=new go.PathFigure(0,.2*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),te.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ee=new go.PathFigure(0,.6*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(z,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 te=new go.PathFigure(.15*a,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(z,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(z,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(z,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(z,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 te=new go.PathFigure(a,.8*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ee=.1,ce=le*.1,fe=.2,he=.9,de=new go.PathFigure((fe-ee)*a,he*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-ee)*y,(fe-ee)*a,(he-ce)*y,(fe-ce)*a,(he-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ee)*a,he*y,(fe+ce)*a,(he-ee)*y,(fe+ee)*a,(he-ce)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+ee)*y,(fe+ee)*a,(he+ce)*y,(fe+ce)*a,(he+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ee)*a,he*y,(fe-ce)*a,(he+ee)*y,(fe-ee)*a,(he+ce)*y).close()),ee=.1,ce=le*.1,fe=.8,he=.9;var pe=new go.PathFigure((fe-ee)*a,he*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he-ee)*y,(fe-ee)*a,(he-ce)*y,(fe-ce)*a,(he-ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe+ee)*a,he*y,(fe+ce)*a,(he-ee)*y,(fe+ee)*a,(he-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(he+ee)*y,(fe+ee)*a,(he+ce)*y,(fe+ce)*a,(he+ee)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(fe-ee)*a,he*y,(fe-ce)*a,(he+ee)*y,(fe-ee)*a,(he+ce)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(z,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(z,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 te=new go.PathFigure(0,.5*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.5*a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ee.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,he=le*.1,de=.1,pe=.9,ye=new go.PathFigure((de-fe)*a,pe*y,!0);x.add(ye),ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe-fe)*y,(de-fe)*a,(pe-he)*y,(de-he)*a,(pe-fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de+fe)*a,pe*y,(de+he)*a,(pe-fe)*y,(de+fe)*a,(pe-he)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe+fe)*y,(de+fe)*a,(pe+he)*y,(de+he)*a,(pe+fe)*y)),ye.add(new go.PathSegment(go.PathSegment.Bezier,(de-fe)*a,pe*y,(de-he)*a,(pe+fe)*y,(de-fe)*a,(pe+he)*y)),fe=.1,he=le*.1,de=.4,pe=.9;var me=new go.PathFigure((de-fe)*a,pe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe-fe)*y,(de-fe)*a,(pe-he)*y,(de-he)*a,(pe-fe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+fe)*a,pe*y,(de+he)*a,(pe-fe)*y,(de+fe)*a,(pe-he)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(pe+fe)*y,(de+fe)*a,(pe+he)*y,(de+he)*a,(pe+fe)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-fe)*a,pe*y,(de-he)*a,(pe+fe)*y,(de-fe)*a,(pe+he)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(z,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 te=new go.PathFigure(.45*a,.7*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ee=new go.PathFigure(.55*a,.4*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var de=.05,pe=le*.05,ye=.175,me=.95,ce=new go.PathFigure((ye-de)*a,me*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(me-de)*y,(ye-de)*a,(me-pe)*y,(ye-pe)*a,(me-de)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye+de)*a,me*y,(ye+pe)*a,(me-de)*y,(ye+de)*a,(me-pe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(me+de)*y,(ye+de)*a,(me+pe)*y,(ye+pe)*a,(me+de)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ye-de)*a,me*y,(ye-pe)*a,(me+de)*y,(ye-de)*a,(me+pe)*y));var de=.05,pe=le*.05,ye=.375,me=.95,fe=new go.PathFigure((ye-de)*a,me*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(me-de)*y,(ye-de)*a,(me-pe)*y,(ye-pe)*a,(me-de)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye+de)*a,me*y,(ye+pe)*a,(me-de)*y,(ye+de)*a,(me-pe)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(me+de)*y,(ye+de)*a,(me+pe)*y,(ye+pe)*a,(me+de)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ye-de)*a,me*y,(ye-pe)*a,(me+de)*y,(ye-de)*a,(me+pe)*y));var de=.05,pe=le*.05,ye=.625,me=.95,he=new go.PathFigure((ye-de)*a,me*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(me-de)*y,(ye-de)*a,(me-pe)*y,(ye-pe)*a,(me-de)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ye+de)*a,me*y,(ye+pe)*a,(me-de)*y,(ye+de)*a,(me-pe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(me+de)*y,(ye+de)*a,(me+pe)*y,(ye+pe)*a,(me+de)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ye-de)*a,me*y,(ye-pe)*a,(me+de)*y,(ye-de)*a,(me+pe)*y));var de=.05,pe=le*.05,ye=.825,me=.95,Ee=new go.PathFigure((ye-de)*a,me*y,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(me-de)*y,(ye-de)*a,(me-pe)*y,(ye-pe)*a,(me-de)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ye+de)*a,me*y,(ye+pe)*a,(me-de)*y,(ye+de)*a,(me-pe)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,ye*a,(me+de)*y,(ye+de)*a,(me+pe)*y,(ye+pe)*a,(me+de)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(ye-de)*a,me*y,(ye-pe)*a,(me+de)*y,(ye-de)*a,(me+pe)*y).close());var Be=new go.PathFigure(0,y,!1);return x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(z,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 te=new go.PathFigure(0,.2*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ee=new go.PathFigure(.15*a,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ce=.05,fe=le*.05,he=.35,de=.775,pe=new go.PathFigure((he-ce)*a,de*y,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(de-ce)*y,(he-ce)*a,(de-fe)*y,(he-fe)*a,(de-ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a,de*y,(he+fe)*a,(de-ce)*y,(he+ce)*a,(de-fe)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(de+ce)*y,(he+ce)*a,(de+fe)*y,(he+fe)*a,(de+ce)*y)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a,de*y,(he-fe)*a,(de+ce)*y,(he-ce)*a,(de+fe)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(z,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(z,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(z,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(z,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(z,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(z,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(z,a,y){var x=new go.Geometry,b=.3,te=le*.3,ee=.5,ce=.7,fe=new go.PathFigure((ee-b)*a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y));var he=new go.PathFigure(0,.7*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(z,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(z,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(z,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 te=new go.PathFigure(0,.6*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),te.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(z,a,y){var x=new go.Geometry,b=.5,te=le*.5,ee=.5,ce=.5,fe=new go.PathFigure((ee-b)*a,ce*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y));var he=new go.PathFigure(.15*a,.5*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(z,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(z,a,y){var x=new go.Geometry,b=.5,te=le*.5,ee=.5,ce=.5,fe=new go.PathFigure((ee-b)*a,ce*y,!1);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y).close()),b=.05,te=le*.05,ee=.5,ce=.8;var he=new go.PathFigure((ee-b)*a,ce*y,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-b)*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee+b)*a,ce*y,(ee+te)*a,(ce-b)*y,(ee+b)*a,(ce-te)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+b)*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ee-b)*a,ce*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y).close()),he.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),he.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),he.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(z,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(z,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 te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(z,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 te=new go.PathFigure(.2*a,.5*y,!1);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(z,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(z,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(z,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(z,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 te=new go.PathFigure(0,y*.6,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),te.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(z,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(z,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 te=new go.PathFigure(.126*a,.85*y,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),te.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ee=new go.PathFigure(.402*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ee.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(z,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(z,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 te=new go.PathFigure(a*.204,y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),te.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ee=new go.PathFigure(a*.408,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ee.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(z,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 te=new go.PathFigure(a*.055,.07*y,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),te.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ee=new go.PathFigure(a*.055,.13*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ee.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(z,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(z,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(z,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 te=new go.PathFigure(0,0,!1);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),te.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(a*.11,y*.1,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ee.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(z,a,y){var x=new go.Geometry,b=8,te=b*le,ee=new go.PathFigure(b,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-te,a-te,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,te,y,0,y-te)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,te,te,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 he=new go.PathFigure(a*.78,y*.05,!1);return x.add(he),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),he.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),he.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(z,a,y){var x=z?z.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*le,te=y*.8,ee=new go.Geometry,ce=new go.PathFigure(x,0,!0);return ee.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,te-x)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-x,te,a,te-b,a-b,te)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,te)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,te)),ce.add(new go.PathSegment(go.PathSegment.Line,x,te)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,te-x,b,te,0,te-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?(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,.8,-b,-b)):(ee.spot1=go.Spot.TopLeft,ee.spot2=new go.Spot(1,.8)),ee}),go.Shape.defineFigureGenerator("Repeat",function(z,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 te=new go.PathFigure(a*1,y*.55,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),te.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(z,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(z,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 te=new go.PathFigure(a*.1,y*.2,!0);x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),te.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),te.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ee=new go.PathFigure(a*.28,y*.37,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(z,a,y){var x=new go.Geometry,b=15,te=b*le,ee=new go.PathFigure(a*.62,y*.475,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-te,a-te,y)),ee.add(new go.PathSegment(go.PathSegment.Line,b,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,te,y,0,y-te)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),te>1?(x.spot1=new go.Spot(0,0,te,te),x.spot2=new go.Spot(1,1,-te,-te)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var te=.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-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),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-te)).close());var ee=new go.PathFigure(a*.4,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var te=.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-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),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-te)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var te=.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-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-te))),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-te))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-te))),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-te)).close());var ee=new go.PathFigure(a*.5,y*0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(z,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(z,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 te=new go.PathFigure(a*.235,y*.28,!0);return x.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),te.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),te.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(z,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},5559:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var nn={},Ht="5.0",be={},ve=null,Xe=!1,E=!1,ge=null,Ae=!1,ue=null,le=null,ie=0;ie4?parseFloat(lt):5};nn.setHTML5Codebase=function(lt,at){le=lt,qe(lt,at)},nn.setJavaCodebase=nn.setJavaCodebaseVersion=nn.isCompiledInstalled=nn.setPreCompiledScriptPath=nn.setPreCompiledResourcePath=function(){},nn.setHTML5CodebaseVersion=function(lt,at){var ut=parseFloat(lt);if(ut!==NaN&&ut<5){console.log("The GeoGebra HTML5 codebase version "+ut+" is deprecated. Using version latest instead.");return}ue=lt,tt(lt,at)},nn.getHTML5CodebaseVersion=function(){return z},nn.getParameters=function(){return be},nn.setFontsCSSURL=function(lt){ee=lt},nn.setGiacJSURL=function(lt){},nn.setJNLPFile=function(lt){ae=lt},nn.setJNLPBaseDir=function(lt){},nn.inject=function(){function lt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var at="auto",ut=be.id,At,bt=!1,It=0;It=5)return!0;var lt=nn.getAppletObject();return lt&&typeof lt.recalculateEnvironments=="function"?(lt.recalculateEnvironments(),!0):!1},nn.startAnimation=function(){var lt=nn.getAppletObject();return lt&&typeof lt.startAnimation=="function"?(lt.startAnimation(),!0):!1},nn.stopAnimation=function(){var lt=nn.getAppletObject();return lt&&typeof lt.stopAnimation=="function"?(lt.stopAnimation(),!0):!1},nn.getAppletObject=function(){var lt=be.id!==void 0?be.id:"ggbApplet";return window[lt]},nn.resize=function(){};var Ee=function(lt,at,ut){var At=document.createElement("param");At.setAttribute("name",at),At.setAttribute("value",ut),lt.appendChild(At)},Be=function(lt){return lt&<!=="false"},je=function(lt,at,ut){fe(z)<=4.2&&(ut=!0);var At=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==z||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(At=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var bt=document.createElement("div");bt.classList.add("appletParameters","notranslate");var It=at.width,ht=at.height;if(at.disableAutoScale=at.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():at.disableAutoScale,at.width!==void 0)if(fe(z)<=4.4)Be(at.showToolBar)&&(at.height-=7),Be(at.showAlgebraInput)&&(at.height-=37),at.width<605&&Be(at.showToolBar)&&(at.width=605,It=605);else{var dt=100;(Be(at.showToolBar)||Be(at.showMenuBar))&&(at.hasOwnProperty("customToolBar")&&(at.customToolbar=at.customToolBar),dt=Be(at.showMenuBar)?245:155),It=5?(at.appletOnLoad=function(wt){var Bt=lt.querySelector(".ggb_preview");Bt&&Bt.parentNode.removeChild(Bt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ke),window.GGBT_wsf_view&&$(window).trigger("resize"),Pe(wt)},Ve||ke.appendChild(Qe)):bt.appendChild(Qe),ke.appendChild(bt),Ve||lt.appendChild(ke),setTimeout(function(){nn.resize()},1)}else{var _e=document.createElement("div");_e.className="applet_scaler",_e.style.position="relative",_e.style.display="block",_e.appendChild(bt),lt.appendChild(_e),at.appletOnLoad=function(wt){nn.resize(),Pe(wt)}}function Ze(wt,Bt){Bt&&typeof Bt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(wt,Bt.appletOnLoad):renderGGBElement(wt),st("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Bt)}function Ue(wt,Bt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:wt,params:Bt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Nt){Ze(Nt.article,Nt.params)}),html5AppletsToProcess=null)},fe(z)<5&&(wt.className+=" geogebraweb")):Ze(wt,Bt)}if(At){scriptLoadStarted=!0;for(var Fe=0;Fe0?($e.remove(),ke.attr("id","fullscreencontent").show(),jQuery(Pe).append(ke),window.dispatchEvent(new Event("resize"))):je($e,at,!1),window.GGBT_wsf_view.launchFullScreen(Pe)}else ne=At,je(lt,at,!1);if(!window.GGBT_wsf_view)for(ht=0;htlt/4*3&&($e=lt/4*3),Pe=$e/5.8,dt.setAttribute("src",b),dt.setAttribute("width",$e),dt.setAttribute("height",Pe);var ke=(lt-$e)/2,Ve=(at-Pe)/2;dt.style.left=ke+"px",dt.style.top=Ve+"px",bt.appendChild(dt)}}return bt.appendChild(ht),bt},Ye=function(lt){return lt=lt.toLowerCase(),lt==="html5"||lt==="screenshot"?lt:"html5"},Me=["web","webSimple","web3d","tablet","tablet3d","phone"],tt=function(lt,at){if(z=lt,at){qe(z,!0);return}var ut=!Xe;if(ut){var At=fe(z);!isNaN(At)&&At<4.4&&(ut=!1)}var bt,It;window.location.protocol.substr(0,4)==="http"?bt=window.location.protocol:bt="http:";var ht=z.indexOf("//");ht>0?It=z:ht===0?It=bt+z:It="https://www.geogebra.org/apps/5.2.814.0/";for(var dt in Me)if(z.slice(Me[dt].length*-1)===Me[dt]||z.slice((Me[dt].length+1)*-1)===Me[dt]+"/"){qe(It,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ut&&!ve.is3D&&!ve.AV&&!ve.SV&&!ve.CV&&!ve.EV2&&!ve.CP&&!ve.PC&&!ve.DA&&!ve.FI&&!ve.PV&&!Be(be.showToolBar)&&!Be(be.showMenuBar)&&!Be(be.showAlgebraInput)&&!Be(be.enableRightClick)&&(!be.appName||be.appName=="classic")?It+="webSimple/":It+="web3d/",qe(It,!1)},qe=function(lt,at){if(lt.requirejs){oe=lt;return}lt.slice(-1)!=="/"&&(lt+="/"),oe=lt,at===null&&(at=lt.indexOf("http")===-1),re=at,a="web.nocache.js",y=!1;var ut=oe.split("/");ut.length>1&&(!at&&ut[ut.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Me.indexOf(ut[ut.length-2])>=0&&(a=ut[ut.length-2]+".nocache.js")),ut=lt.split("/"),z=ut[ut.length-3],z.substr(0,4)==="test"?z=z.substr(4,1)+"."+z.substr(5,1):(z.substr(0,3)==="war"||z.substr(0,4)==="beta")&&(z="5.0");var At=parseFloat(z);At!==NaN&&At<5&<.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+At+" is deprecated. Using version latest instead."),tt("5.0",at))},st=function(lt,at){window.console&&window.console.log&&(!at||typeof at.showLogging=="undefined"||at.showLogging&&at.showLogging!=="false")&&console.log(lt)};be.material_id!==void 0?pe(ct):ct();function ct(){var lt=Ht;ue!==null?lt=ue:parseFloat(lt)<5&&(lt="5.0"),tt(lt,!1),le!==null&&qe(le,re),Ae=!0}return nn},GGBAppletUtils=function(){"use strict";function nn(){return window.GGBT_wsf_edit!==void 0}function Ht(Ae,ue){ue!=1?(Ae.style.transformOrigin="0% 0% 0px",Ae.style.webkitTransformOrigin="0% 0% 0px",Ae.style.transform="scale("+ue+","+ue+")",Ae.style.webkitTransform="scale("+ue+","+ue+")",Ae.style.maxWidth="initial",Ae.querySelector(".ggb_preview")!==null&&(Ae.querySelector(".ggb_preview").style.maxWidth="initial"),Ae.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ae.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ae.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ae.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ae.style.transform="none",Ae.style.webkitTransform="none")}function be(Ae,ue,le,ie,se,ae){var oe=null;if(ae!=null&&ae!="")for(var re=Ae.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ae+" ")>-1){oe=re;break}else re=re.parentNode;var ne=0,z=0,a=0,y=0,x=0,b=0,te=0;if(oe)ne=oe.offsetWidth,z=Math.max(ie?oe.offsetWidth:0,oe.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),z=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,z=window.innerHeight,a=window.innerWidth),Ae){var ee=Ae.getBoundingClientRect();ee.left>0&&ee.left<=ne&&(se===void 0||!se)&&(document.dir==="rtl"?(x=ne-ee.width-ee.left,b=a<=480?10:30):(b=ee.left,x=a<=480?10:30),y=b+x)}if(Ae&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=Ae.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,te=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,te=40)}}return Ae&&((le===void 0||!le)&&ue>0&&ue+y1&&(ae=!0)),ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ae=!0),!(Ae.hasOwnProperty("disableAutoScale")&&Ae.disableAutoScale))se=ve(Ae,ue,ae,le,Ae.scaleContainerClass);else return ie;return ae&&(!Ae.hasOwnProperty("scale")||ie===1)?se:Math.min(ie,se)}function E(Ae){var ue=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=Ae.getBoundingClientRect(),se=(ue-ie.width)/2,ae=(le-ie.height)/2;ae<0&&(ae=0),Ae.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(se<40?Ae.style.left="40px":Ae.style.left=se+"px",Ae.style.top=ae+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ae<40?Ae.style.top="40px":Ae.style.top=ae+"px",Ae.style.left=se+"px")}function ge(Ae,ue){var le=Ae.querySelector(".appletParameters");if(le){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ue.id!==le.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ae)}if(le.parentElement&&/fullscreen/.test(le.parentElement.className))return;var ie=Xe(ue,Ae);nn()&&le.setAttribute("data-param-scale",ie);for(var se=null,ae=0;ae=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(nn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(nn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(nn){var Ht=c[nn];return Ht==null?null:Ht},r=d,webModule.__errFn=e}function B(){function nn(Ae){var ue=Ae.lastIndexOf(rb);ue==-1&&(ue=Ae.length);var le=Ae.indexOf(sb);le==-1&&(le=Ae.length);var ie=Ae.lastIndexOf(tb,Math.min(le,ue));return ie>=O?Ae.substring(O,ie+P):W}function Ht(Ae){if(!Ae.match(/^\w+:\/\//)){var ue=o.createElement(ub);ue.src=Ae+vb,Ae=nn(ue.src)}return Ae}function be(){var Ae=__gwt_getMetaProperty(wb);return Ae!=null?Ae:W}function ve(){for(var Ae=o.getElementsByTagName(_),ue=O;ueO?Ae[Ae.length-P].href:W}function E(){var Ae=o.location;return Ae.href==Ae.protocol+zb+Ae.host+Ae.pathname+Ae.search+Ae.hash}var ge=be();return ge==W&&(ge=ve()),ge==W&&(ge=Xe()),ge==W&&E()&&(ge=nn(o.location.href)),ge=Ht(ge),ge}function C(nn){return nn.match(/^\//)||nn.match(/^[a-zA-Z]+:\/\//)?nn:webModule.__moduleBase+nn}function D(){var nn=[],Ht=O,be=[],ve=[];function Xe(Ae){var ue=ve[Ae](),le=be[Ae];if(ue in le)return ue;var ie=[];for(var se in le)ie[le[se]]=se;throw r&&r(Ae,ie,ue),null}if(__gwt_isKnownPropertyValue=function(Ae,ue){return ue in be[Ae]},webModule.__getPropMap=function(){var Ae={};for(var ue in be)be.hasOwnProperty(ue)&&(Ae[ue]=Xe(ue));return Ae},webModule.__computePropValue=Xe,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var ge=E.indexOf(Db);ge!=-1&&(Ht=parseInt(E.substring(ge+P),$),E=E.substring(O,ge))}catch(Ae){}return webModule.__softPermutationId=Ht,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},49291:function(nn,Ht,be){"use strict";be.d(Ht,{Ax:function(){return ge},Ds:function(){return Ae},KI:function(){return le},SI:function(){return E},f1:function(){return Xe}});var ve=be(38446);function Xe(ie){let se=!0;if(ie.length>0){for(let ae=0;aete in b?ue(b,te,{enumerable:!0,configurable:!0,writable:!0,value:ee}):b[te]=ee,ne=(b,te)=>{for(var ee in te||(te={}))ae.call(te,ee)&&re(b,ee,te[ee]);if(se)for(var ee of se(te))oe.call(te,ee)&&re(b,ee,te[ee]);return b},z=(b,te)=>le(b,ie(te)),a=(b,te,ee)=>new Promise((ce,fe)=>{var he=ye=>{try{pe(ee.next(ye))}catch(me){fe(me)}},de=ye=>{try{pe(ee.throw(ye))}catch(me){fe(me)}},pe=ye=>ye.done?ce(ye.value):Promise.resolve(ye.value).then(he,de);pe((ee=ee.apply(b,te)).next())}),x=({description:b,code:te,showData:ee={},sendParams:ce={},allShow:fe=!1})=>{const he=[{img:be(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:ee==null?void 0:ee.ai_exam_question,type:1},{img:be(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:te,show:ee==null?void 0:ee.ai_syntax_check,type:5},{img:be(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:te,show:ee==null?void 0:ee.ai_code_diagnosis,type:2},{img:be(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:te,show:ee==null?void 0:ee.ai_guidance,type:3}],de=pe=>{const{setChatData:ye,setLoading:me,getData:Ee,clearStatus:Be,typing:je}=pe;let we=he;return fe||(we=he.filter(De=>De.show)),ve.createElement("div",{className:`${E.bigTips} mt10`},we.map((De,xe)=>ve.createElement("div",{onClick:()=>a(void 0,null,function*(){if(je){ge.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}const Te=Date.now();me(!0),Be(),ye([{text:De.query,key:Te,sender:"user",show:!1},{loading:!0,key:Te,sender:"AI",show:!0}]),Ee("",ne({type:De.type,description:De.description,query:De.query,file_id:"",history:[],is_chat:!1},ce))}),key:xe,className:E.item},ve.createElement(Ae.Z,{align:"middle"},ve.createElement("img",{className:"mr10",src:De.img}),ve.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},De.name)),ve.createElement("div",{className:"mt10",style:{color:"#434D6C"}},De.des))))};return ve.createElement(Xe.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:fe?!1:!(ee!=null&&ee.ai_q_and_a),headFunctionNode:de,showSwitchingModel:!0,fetchData:z(ne({},ce),{is_chat:!0}),topPercentage:(ce==null?void 0:ce.source)==="hack"?.52:void 0,headNode:ve.createElement(ve.Fragment,null,ve.createElement("div",{className:"c-grey-333 font22"},ve.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"),ve.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"),ve.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},11392:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return Jr}});var ve=be(59301),Xe=be(8591),E=be(54580),ge=be(43418),Ae=be(92832),ue=be(3113),le=be(6848),ie=be(43428),se=be(71418),ae=be(92310),oe=be.n(ae),re=be(19999),ne=be(77596),z=be(66422),a=be(14179),y=be(56102),x={answer:"answer___UngkO",codeCopy:"codeCopy___re8vm"},b=be(35328),te=be(30084),ee=be(2878),ce=be(59301),fe=Object.defineProperty,he=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,ye=(Gn,Dn,Wn)=>Dn in Gn?fe(Gn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:Wn}):Gn[Dn]=Wn,me=(Gn,Dn)=>{for(var Wn in Dn||(Dn={}))de.call(Dn,Wn)&&ye(Gn,Wn,Dn[Wn]);if(he)for(var Wn of he(Dn))pe.call(Dn,Wn)&&ye(Gn,Wn,Dn[Wn]);return Gn},Ee=(Gn,Dn)=>{var Wn={};for(var Pi in Gn)de.call(Gn,Pi)&&Dn.indexOf(Pi)<0&&(Wn[Pi]=Gn[Pi]);if(Gn!=null&&he)for(var Pi of he(Gn))Dn.indexOf(Pi)<0&&pe.call(Gn,Pi)&&(Wn[Pi]=Gn[Pi]);return Wn},Be=(Gn,Dn,Wn)=>new Promise((Pi,ui)=>{var ii=Mt=>{try{Gt(Wn.next(Mt))}catch(Zt){ui(Zt)}},zn=Mt=>{try{Gt(Wn.throw(Mt))}catch(Zt){ui(Zt)}},Gt=Mt=>Mt.done?Pi(Mt.value):Promise.resolve(Mt.value).then(ii,zn);Gt((Wn=Wn.apply(Gn,Dn)).next())}),we=({value:Gn,streamingStatus:Dn,onFinish:Wn,cancelIndex:Pi,interval:ui=20})=>{const[ii,zn]=(0,ve.useState)(""),Gt=(0,ve.useRef)(""),Mt=(0,ve.useRef)(!0),Zt=(0,ve.useRef)(0),Un=(0,ve.useRef)(null),[Br,Xn]=(0,ve.useState)(!1);(0,ve.useEffect)(()=>{Mt.current=Dn},[Dn]),(0,ve.useEffect)(()=>{Gt.current=Gn},[Gn]),(0,ve.useEffect)(()=>(Xn(!0),Un.current=setInterval(hr,ui),()=>{clearInterval(Un.current)}),[]),(0,ve.useEffect)(()=>{Br&&(zn(Gt.current),clearInterval(Un.current),Xn(!1),Wn())},[Pi]);const hr=()=>Be(void 0,null,function*(){const ci=Gt.current[Zt.current];ci!==void 0?(zn(cr=>cr+ci),Zt.current++):Mt.current===!1&&(zn(Gt.current),clearInterval(Un.current),Xn(!1),Wn())}),gr=(0,ve.useMemo)(()=>ii.split(new RegExp("(```.*?```)","gs")).map(mi=>mi.startsWith("```")?mi:mi.replace(/`(\$\$[^`]+?\$\$)`/g,"$1")).join(""),[ii]);return ce.createElement("div",{className:`${x.answer} fadeIn animated`},ce.createElement(re.U,{remarkPlugins:[te.Z],rehypePlugins:[b.Z,z.Z],components:{code(ci){var cr=ci,{node:mi,inline:ar,className:On,children:An}=cr,nr=Ee(cr,["node","inline","className","children"]);const vn=/language-(\w+)/.exec(On||"");return!ar&&vn?ce.createElement("div",{className:x.codeCopy},ce.createElement(y.CopyToClipboard,{text:String(An).replace(/\n$/,""),onCopy:()=>Xe.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ce.createElement("button",null,"\u590D\u5236")),ce.createElement(ne.Z,me({style:a.Z,language:vn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},nr),String(An||"").replace(/\n$/,""))):ce.createElement("code",me({className:On},nr),An)}}},`${gr}${Br?"__":""}`))},De={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},xe=be(59301),Te=(Gn,Dn,Wn)=>new Promise((Pi,ui)=>{var ii=Mt=>{try{Gt(Wn.next(Mt))}catch(Zt){ui(Zt)}},zn=Mt=>{try{Gt(Wn.throw(Mt))}catch(Zt){ui(Zt)}},Gt=Mt=>Mt.done?Pi(Mt.value):Promise.resolve(Mt.value).then(ii,zn);Gt((Wn=Wn.apply(Gn,Dn)).next())}),Ye=({value:Gn="",streamingStatus:Dn,onFinish:Wn,cancelIndex:Pi,time:ui,interval:ii=70,loading:zn})=>{const[Gt,Mt]=(0,ve.useState)(""),[Zt,Un]=(0,ve.useState)(!0),Br=(0,ve.useRef)(""),Xn=(0,ve.useRef)(!0),hr=(0,ve.useRef)(0),gr=(0,ve.useRef)(null),[ci,cr]=(0,ve.useState)(!1);(0,ve.useEffect)(()=>{Xn.current=Dn},[Dn]),(0,ve.useEffect)(()=>{Br.current=Gn},[Gn]),(0,ve.useEffect)(()=>(cr(!0),gr.current=setInterval(mi,ii),()=>{clearInterval(gr.current)}),[]),(0,ve.useEffect)(()=>{ci&&(Mt(Br.current),clearInterval(gr.current),cr(!1),Wn())},[Pi]);const mi=()=>Te(void 0,null,function*(){const ar=Br.current[hr.current];ar!==void 0?(Mt(On=>On+ar),hr.current++):Xn.current===!1&&(Mt(Br.current),clearInterval(gr.current),cr(!1),Wn())});return xe.createElement("div",{className:`${De.reasoning} fadeIn animated`},xe.createElement("div",{className:De.btn,onClick:()=>Un(!Zt)},xe.createElement("i",{className:"iconfont icon-shendusikao"}),ui?xe.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",ui," \u79D2\uFF09"):xe.createElement("span",null,"\u601D\u8003\u4E2D..."),Zt?xe.createElement("b",{className:"iconfont icon-shouqi6"}):xe.createElement("b",{className:"iconfont icon-zhankai6"})),zn&&xe.createElement(se.Z,{spinning:!0,className:"mt20"}),Zt&&!zn&&xe.createElement("div",{className:De.content},Gt,ci?xe.createElement("span",{className:"aiBlink"},"__"):""))},Me={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},tt=be(81327),qe=Object.defineProperty,st=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,at=(Gn,Dn,Wn)=>Dn in Gn?qe(Gn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:Wn}):Gn[Dn]=Wn,ut=(Gn,Dn)=>{for(var Wn in Dn||(Dn={}))ct.call(Dn,Wn)&&at(Gn,Wn,Dn[Wn]);if(st)for(var Wn of st(Dn))lt.call(Dn,Wn)&&at(Gn,Wn,Dn[Wn]);return Gn};const At=Gn=>React.createElement("svg",ut({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Gn),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 bt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",It=Object.defineProperty,ht=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,$e=Object.prototype.propertyIsEnumerable,Pe=(Gn,Dn,Wn)=>Dn in Gn?It(Gn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:Wn}):Gn[Dn]=Wn,ke=(Gn,Dn)=>{for(var Wn in Dn||(Dn={}))dt.call(Dn,Wn)&&Pe(Gn,Wn,Dn[Wn]);if(ht)for(var Wn of ht(Dn))$e.call(Dn,Wn)&&Pe(Gn,Wn,Dn[Wn]);return Gn};const Ve=Gn=>React.createElement("svg",ke({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Gn),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 Qe="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM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AxMDQuMzcgMCAwIDEtMzMuMDA1IDguNTg2IDcxLjQ0NCA3MS40NDQgMCAwIDEtNDQuNTA0LTEzLjU0OGMtMTUuMjgyLTEyLjI4OC0yNi4yMy0xOS4xNDEtMzAuNzItNDAuNjQ1YTg5LjE2NyA4OS4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",_e=be(59301),Ue=({disabled:Gn,value:Dn,onChange:Wn})=>{const[Pi,ui]=(0,ve.useState)(!1),ii=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:bt},{name:"DeepSeek",key:"deepseek-r1",img:Qe}],zn=ii.find(Gt=>Gt.key===Dn);return _e.createElement("div",{className:Me.select},_e.createElement(tt.Z,{size:10},_e.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),_e.createElement("div",{className:Me.box,onMouseLeave:()=>ui(!1)},_e.createElement("div",{className:Me.text,onClick:()=>ui(!0)},_e.createElement("img",{src:zn.img,width:20}),_e.createElement("span",null,zn.name),_e.createElement("b",{className:"iconfont icon-zhankai6"})),Pi&&_e.createElement("div",{className:Me.itemWrap},_e.createElement("aside",null,ii.map(Gt=>_e.createElement("div",{key:Gt.key,className:`${Me.item} ${Gt.key===Dn?Me.active:""}`,onClick:Mt=>{Mt.stopPropagation(),Wn(Gt.key),ui(!1)}},_e.createElement("img",{src:Gt.img,width:20}),_e.createElement("span",null,Gt.name))))))))},Fe={loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",footerContainerSelected:"footerContainerSelected___pGBh3",btnWrp:"btnWrp___mS8l6",inputContainer:"inputContainer___iCQ3u",thinkBtnActive:"thinkBtnActive___Z1xij",full:"full___dZLXo",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",uploadFile:"uploadFile___vZolT",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",file:"file___fxAKb",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2"},Ne=be(7660),nt=be(88230),St=({src:Gn,onClick:Dn,topPercentage:Wn=.62})=>{const Pi=(0,ve.useRef)(null),[ui,ii]=(0,ve.useState)(!1),[zn,Gt]=(0,ve.useState)({x:20,y:window.innerHeight*Wn}),[Mt,Zt]=(0,ve.useState)({x:20,y:window.innerHeight*Wn}),[Un,Br]=(0,ve.useState)({x:20,y:window.innerHeight*Wn}),[Xn,hr]=(0,ve.useState)(!1);(0,ve.useEffect)(()=>{const cr=()=>{Gt({x:20,y:window.innerHeight*Wn})};return window.addEventListener("resize",cr),()=>{window.removeEventListener("resize",cr)}},[]),(0,ve.useEffect)(()=>{const cr=ar=>{var On;if(ui){const An=ar.clientY-Un.y;let nr=Mt.y+An;const vn=window.innerHeight-(((On=Pi.current)==null?void 0:On.offsetHeight)||0)-50,Rn=50;nrvn&&(nr=vn),requestAnimationFrame(()=>{Gt({x:20,y:nr})}),hr(!0)}},mi=()=>{ii(!1)};return document.addEventListener("mousemove",cr),document.addEventListener("mouseup",mi),()=>{document.removeEventListener("mousemove",cr),document.removeEventListener("mouseup",mi)}},[ui,Un,Mt]);const gr=cr=>{ii(!0),Br({x:cr.clientX,y:cr.clientY}),Zt(zn),hr(!1)},ci=cr=>{ii(!1),!Xn&&Dn&&Dn(cr)};return ve.createElement("div",{style:{position:"fixed",top:zn.y,right:zn.x,zIndex:100,cursor:ui?"grabbing":"grab"},onMouseDown:gr,onMouseUp:ci,ref:Pi},ve.createElement("img",{src:Gn,width:60,draggable:"false"}))},wt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO6yHfWz1s4FD+za9V+N/ws01v/2otVLzuv36tZHwfpDlN1m2w6W62LLiVpyLhahpQixNRiBxkPAE+BcQtvRj+Veyd8dG99x8CyLIOESuC4qlPcJ6BH48lgOHoMnXzIMIAJA7gUQ/VwQ4obgBgGOgBiGOAiIIY4fEqoQFXoazEQIlrwnuhhKLoB8hgZXPlH/IhdsGmV911HpTxwef3Dkf8Lo9wL40hUvTR0uTfxtiHpP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jtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",pt=be(38446),Ft=be(86204),Lt=Object.defineProperty,$t=(Gn,Dn,Wn)=>Dn in Gn?Lt(Gn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:Wn}):Gn[Dn]=Wn,Vt=(Gn,Dn,Wn)=>$t(Gn,typeof Dn!="symbol"?Dn+"":Dn,Wn),en=(Gn,Dn,Wn)=>new Promise((Pi,ui)=>{var ii=Mt=>{try{Gt(Wn.next(Mt))}catch(Zt){ui(Zt)}},zn=Mt=>{try{Gt(Wn.throw(Mt))}catch(Zt){ui(Zt)}},Gt=Mt=>Mt.done?Pi(Mt.value):Promise.resolve(Mt.value).then(ii,zn);Gt((Wn=Wn.apply(Gn,Dn)).next())});class cn extends Ft.EventEmitter{constructor(Dn,Wn){super(),Vt(this,"url"),Vt(this,"body"),Vt(this,"fullContent",""),Vt(this,"controller",null),this.url=Dn,this.body=Wn}startStream(){return en(this,null,function*(){this.controller=new AbortController;const{signal:Dn}=this.controller;try{const Wn=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Dn});if(!Wn.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${Wn.status}`);const Pi=Wn.headers.get("content-type");if(!Pi||!Pi.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ui=Wn.body.getReader(),ii=new TextDecoder("utf-8");for(;;){const{done:zn,value:Gt}=yield ui.read();if(zn)break;const Zt=ii.decode(Gt,{stream:!0}).split(` `);for(const Un of Zt)if(Un.startsWith("data:")){const Br=Un.slice(5).trim();if(Br==="[DONE]")break;try{const Xn=JSON.parse(Br);Xn.data&&this.handleData(Xn.data)}catch(Xn){console.error("\u89E3\u6790 JSON \u5931\u8D25:",Xn)}}}this.emit("done",this.fullContent)}catch(Wn){Wn.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",Wn.message)}})}handleData(Dn){Dn.content&&(this.fullContent+=Dn.content,this.emit("data",{chunk:Dn,full:this.fullContent}))}cancelRequest(){var Dn;(Dn=this.controller)==null||Dn.abort()}}var pn=cn,xn=be(58617),ur=be(32050),Dr=Object.defineProperty,Nn=Object.defineProperties,jn=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,Ln=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,Ur=(Gn,Dn,Wn)=>Dn in Gn?Dr(Gn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:Wn}):Gn[Dn]=Wn,Sr=(Gn,Dn)=>{for(var Wn in Dn||(Dn={}))Ln.call(Dn,Wn)&&Ur(Gn,Wn,Dn[Wn]);if(dn)for(var Wn of dn(Dn))er.call(Dn,Wn)&&Ur(Gn,Wn,Dn[Wn]);return Gn},Or=(Gn,Dn)=>Nn(Gn,jn(Dn)),Mr=(Gn,Dn,Wn)=>new Promise((Pi,ui)=>{var ii=Mt=>{try{Gt(Wn.next(Mt))}catch(Zt){ui(Zt)}},zn=Mt=>{try{Gt(Wn.throw(Mt))}catch(Zt){ui(Zt)}},Gt=Mt=>Mt.done?Pi(Mt.value):Promise.resolve(Mt.value).then(ii,zn);Gt((Wn=Wn.apply(Gn,Dn)).next())}),Jr=({title:Gn="\u5934\u6B4CAI",placeholder:Dn,hideUpload:Wn,hideInputBox:Pi,aiIcon:ui=wt,userIcon:ii=Bt,dragIcon:zn=Nt,children:Gt,fetchUrl:Mt,fetchData:Zt={},extraAnswerAction:Un,showDefaultTips:Br=!0,onOpen:Xn,onClose:hr,loadingOption:gr,showPreference:ci=!1,initMessage:cr,initMessageType:mi,customRequest:ar,visible:On,width:An=1200,isCheckRestrictNumber:nr=!1,headNode:vn,headFunctionNode:Rn,showRedraw:Ar,showEdit:Hr,promptPropName:Wr="prompt",topPercentage:wi,showSwitchingModel:Bi=!1})=>{var vi,di,ai,qn,Yn;const[Ki,xi]=(0,ve.useState)(!1),[ta,hi]=(0,ve.useState)("qwen-max"),[Qn,kr]=(0,ve.useState)([]),[ni,Kr]=(0,ve.useState)(!1),[Qi,qi]=(0,ve.useState)(!1),[Ni,Xi]=(0,ve.useState)([]),[Pa,Fi]=(0,ve.useState)(""),[Qa,br]=(0,ve.useState)(0),[Li,Ji]=(0,ve.useState)(!1),[sr,Rr]=(0,ve.useState)(null),[gi,oi]=(0,ve.useState)(""),na=(0,ve.useRef)(),Hi=(0,ve.useRef)(null),sa=(0,ve.useRef)(null),[$i,Gi]=(0,ve.useState)(!1),[Vi,ia]=(0,ve.useState)(!1),La=(0,ve.useRef)(!1),Va=(0,ve.useRef)(""),[Ia,eo]=(0,ve.useState)(0),[Ya,po]=(0,ve.useState)(!0),zo=(0,ve.useRef)(!1),fn=Pa==null?void 0:Pa.split(` `).length,Jn=An-48,Tn={maxCount:1,showUploadList:!1,withCredentials:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png",beforeUpload:or=>{var ei,$r,Tr,ea;const da=(ea=(Tr=($r=(ei=or==null?void 0:or.name)==null?void 0:ei.split("."))==null?void 0:$r.slice(-1))==null?void 0:Tr[0])==null?void 0:ea.toLowerCase(),ya=["doc","docx","md","pdf","txt","jpg","png"].includes(da);return or.size==0?(Xe.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),E.default.LIST_IGNORE):ya||(Xe.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u6587\u4EF6"),E.default.LIST_IGNORE)},onChange:({file:or})=>{kr([or])},action:`${(vi=pt.Z)==null?void 0:vi.API_SERVER}/api/intelligent_imports/upload_file.json`};(0,ve.useEffect)(()=>{var or;if($i)return;let ei;const $r=()=>{clearTimeout(ei),ei=setTimeout(()=>{if(na.current){const{scrollTop:Tr,scrollHeight:ea,clientHeight:da}=na.current,la=Tr+da>ea-70;po(la)}},300)};if(na.current)return $r(),(or=na.current)==null||or.addEventListener("scroll",$r),()=>{var Tr;(Tr=na.current)==null||Tr.removeEventListener("scroll",$r)}},[na.current,$i]),(0,ve.useEffect)(()=>{if(!Ni.length)return;const or=Ni[Ni.length-1];or!=null&&or.loading&&na.current.scrollTo({top:na.current.scrollHeight,behavior:"smooth"})},[Ni.length]),(0,ve.useEffect)(()=>{if(!$i)return;const or=na.current,ei=or.lastElementChild;if(!ei)return;const $r=new ResizeObserver(()=>{const{scrollTop:Tr,scrollHeight:ea,clientHeight:da}=or,la=Tr+da>ea-70;po(la),la&&(or.scrollTop=or.scrollHeight)});return $r.observe(ei),()=>{$r.unobserve(ei)}},[$i]),(0,ve.useEffect)(()=>{typeof On=="boolean"&&xi(On)},[On]),(0,ve.useEffect)(()=>{typeof On=="boolean"&&xi(On)},[On]),(0,ve.useEffect)(()=>{var or;if(Hi.current&&sr!==null){Hi.current.focus();const ei=(or=Hi.current.resizableTextArea)==null?void 0:or.textArea;ei&&(ei.selectionStart=ei.selectionEnd=ei.value.length)}},[sr]),(0,ve.useEffect)(()=>{fn<5&&Ji(!1)},[fn]),(0,ve.useEffect)(()=>{const or=Date.now();Ki&&mi===1&&(Xi([{text:cr,key:or,sender:"user",show:!0},{loading:!0,key:or,sender:"AI",show:!0}]),Kr(!0),$n(cr)),Ki&&mi===2&&cr&&(Xi([...Ni,{text:cr,key:or,sender:"user",show:!0},{loading:!0,key:or,sender:"AI",show:!0}]),Kr(!0),$n(cr)),Ki&&mi===3&&(Xi([{text:cr,key:or,sender:"user",show:!1},{loading:!0,key:or,sender:"AI",show:!0}]),Kr(!0),$n()),Ki&&mi===4&&(cr||Ni.length===0)&&(Xi([...Ni,{text:cr,key:or,sender:"user",show:!!Ni.length},{loading:!0,key:or,sender:"AI",show:!0}]),Kr(!0),$n(cr)),Ki&&nr&&Zr(),Ki||Vn()},[Ki]);const Vn=()=>{var or,ei;oi(""),Rr(null),kr([]),Fi(""),(ei=(or=sa.current)==null?void 0:or.cancelRequest)==null||ei.call(or)},Cr=()=>{if(Xn){Xn();return}xi(!0)},pr=()=>{if(hr){hr();return}xi(!1)},Yr=()=>{Ji(!Li)},Zr=()=>Mr(void 0,null,function*(){const or=yield(0,Ne.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(or==null?void 0:or.status)===0&&br(or==null?void 0:or.number)}),Vr=()=>{ge.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:ve.createElement("div",null,ve.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ve.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},qr=or=>or.reduce(($r,Tr)=>{var ea,da;if(Tr.sender==="user"){const la=or.find(ya=>ya.key===Tr.key&&ya.sender==="AI");la&&!((da=(ea=la==null?void 0:la.response)==null?void 0:ea.data)!=null&&da.message)&&$r.push({question:Tr.text,answer:la.text})}return $r},[]),$n=(...or)=>Mr(void 0,[...or],function*(ei="",$r={},Tr=Ni){if(ar&&(yield ar({mes:ei,setChatData:Xi,fileList:Qn,body:$r,checkNum:Zr,setLoading:Kr,bodyChatData:Tr,setTyping:Gi})),!ar){La.current=Vi,Va.current=ta;const ea=Qn==null?void 0:Qn.map(ga=>{var ao;return(ao=ga==null?void 0:ga.response)==null?void 0:ao.file_id}),da=$r.history||qr(Ni),la=Sr(Sr({response_mode:"streaming",model:ta,thinking_enabled:Vi,file_id:(ea==null?void 0:ea[0])||"",[Wr]:ei,history:da},Zt),$r),ya=Object.fromEntries(Object.entries(la).filter(([ga,ao])=>ao!==void 0));sa.current=new pn(pt.Z.API_SERVER+Mt,ya),yield new Promise((ga,ao)=>{let Go=null,_o=null;sa.current.on("data",Zo=>{Gi(!0);const{chunk:{content:Xa,type:Ii,created:ua}}=Zo;Ii==="thinking"&&(Go=Go||ua,Xi(Ja=>[...Ja].map((ka,Ro)=>Ro===Ja.length-1?Or(Sr({},ka),{reasoning:(ka.reasoning||"")+Xa,loading:!1,hideAnswer:!0}):ka))),Ii==="text"&&(_o=_o||ua,Xi(Ja=>[...Ja].map((ka,Ro)=>Ro===Ja.length-1?Or(Sr({},ka),{text:(ka.text||"")+Xa,loading:!1,startTime:Go,endTime:_o}):ka)))}),sa.current.on("done",()=>{ga()}),sa.current.on("error",()=>{const Zo="\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!",Xa={status:0,data:{message:Zo}};Xi(Ii=>[...Ii].map((ua,Ja)=>Ja===Ii.length-1?Or(Sr({},ua),{text:Zo,loading:!1,response:Xa}):ua)),ga()}),sa.current.on("cancelled",()=>{ga()}),sa.current.startStream()})}nr&&Zr(),Kr(!1)}),pi=or=>{Fi(or.target.value)},Oi=(or,ei)=>{var $r,Tr,ea,da;const la=Date.now();if(Vn(),Kr(!0),or==="edit"){const ya=Ni.splice(ei),{fileList:ga}=(ya==null?void 0:ya[0])||{},ao=((Tr=($r=ga==null?void 0:ga[0])==null?void 0:$r.response)==null?void 0:Tr.file_id)||"",Go={history:qr(Ni),file_id:ao};Xi([...Ni,{text:gi,key:la,sender:"user",fileList:ga,show:!0},{loading:!0,key:la,sender:"AI",show:!0}]),$n(gi,Go,Ni)}if(or==="redraw"){const ya=Ni.splice(ei-1),{text:ga,fileList:ao}=(ya==null?void 0:ya[0])||{},Go=((da=(ea=ao==null?void 0:ao[0])==null?void 0:ea.response)==null?void 0:da.file_id)||"",_o={history:qr(Ni),file_id:Go};Xi([...Ni,{text:ga,key:la,sender:"user",fileList:ao,show:!0},{loading:!0,key:la,sender:"AI",show:!0}]),$n(ga,_o,Ni)}},Wi=()=>{if(Pa.trim()!==""){Vn();const or=Date.now();Xi([...Ni,{text:Pa,key:or,sender:"user",fileList:Qn,show:!0},{loading:!0,key:or,sender:"AI",show:!0}]),Kr(!0),$n(Pa)}},ji=or=>{if(or.shiftKey){if(or.key==="Enter")return}else if(or.key==="Enter"){if(or.preventDefault(),mo||zo.current)return;Wi()}},Ai=(or,ei)=>{var $r,Tr,ea;const da=($r=or==null?void 0:or.fileList)==null?void 0:$r[0],la=ei===sr;return ve.createElement("div",{className:Fe.li,style:{width:Jn}},ve.createElement("div",{className:Fe.avatarIcon},ve.createElement("img",{className:Fe.img,src:ii})),ve.createElement("div",{className:Fe.content},da&&ve.createElement("div",{className:Fe.file},ve.createElement("img",{src:be(90034)(`./${((ea=(Tr=da==null?void 0:da.name)==null?void 0:Tr.split("."))==null?void 0:ea.pop())||"txt"}.png`),width:20,className:"mr10"}),ve.createElement("div",{className:"c-black"},ve.createElement("div",null,(0,nt.tP)(da==null?void 0:da.name,20)),ve.createElement("div",null,(0,nt.RD)(da==null?void 0:da.size)))),ve.createElement("div",{className:Fe.borderBox},la?ve.createElement(Ae.default.TextArea,{value:gi,ref:Hi,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:ya=>oi(ya.target.value)}):ve.createElement("div",{className:Fe.text},or==null?void 0:or.text)),la?ve.createElement("div",{className:Fe.action},ve.createElement(ue.ZP,{onClick:()=>{oi(""),Rr(null)},size:"small"},"\u53D6\u6D88"),ve.createElement(ue.ZP,{disabled:!gi.trim(),onClick:()=>Oi("edit",ei),type:"primary",size:"small"},"\u786E\u8BA4")):ve.createElement("div",{className:Fe.action},ve.createElement(y.CopyToClipboard,{text:(or==null?void 0:or.text)||"",onCopy:()=>Xe.ZP.success("\u590D\u5236\u6210\u529F")},ve.createElement(le.Z,{title:"\u590D\u5236"},ve.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),Hr&&!ni&&ve.createElement(le.Z,{title:"\u7F16\u8F91"},ve.createElement("i",{onClick:()=>{Rr(ei),oi((or==null?void 0:or.text)||"")},className:"iconfont icon-bianji10 font14"})))))},Sa=(or,ei)=>ve.createElement("div",{className:Fe.li,style:{width:Jn}},ve.createElement("div",{className:Fe.avatarIcon},ve.createElement("img",{className:Fe.img,src:ui})),ve.createElement("div",{className:Fe.content},ve.createElement("div",{className:Fe.borderBox},or.loading&&!La.current&&ve.createElement("div",null,ve.createElement("div",{className:Fe.loading},ve.createElement("div",{className:Fe.dot}),ve.createElement("div",{className:Fe.dot}),ve.createElement("div",{className:Fe.dot})),ve.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(gr==null?void 0:gr.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")),La.current&&ve.createElement(Ye,{time:or==null?void 0:or.time,cancelIndex:Ia,loading:or.loading,streamingStatus:!(or!=null&&or.text),onFinish:()=>{Xi($r=>[...$r].map((Tr,ea)=>ea===$r.length-1?Or(Sr({},Tr),{hideAnswer:!1,time:Tr.startTime?Tr.endTime-Tr.startTime:null}):Tr))},value:or==null?void 0:or.reasoning}),!!(or!=null&&or.text)&&!or.hideAnswer&&ve.createElement(we,{cancelIndex:Ia,interval:Va.current==="deepseek-r1"?70:20,streamingStatus:ni,onFinish:()=>{Gi(!1)},value:or==null?void 0:or.text})),ve.createElement("div",{className:Fe.action},Un==null?void 0:Un(or),ve.createElement(y.CopyToClipboard,{text:String((or==null?void 0:or.text)||""),onCopy:()=>Xe.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ve.createElement(le.Z,{title:"\u590D\u5236"},ve.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),ci&&ve.createElement(ve.Fragment,null,ve.createElement(le.Z,{title:"\u559C\u6B22"},ve.createElement("i",{style:or!=null&&or.like?{color:"#FA8D30"}:{},onClick:()=>Oa("like",!(or!=null&&or.like),ei),className:"iconfot icon-yijiejue font15"})),ve.createElement(le.Z,{title:"\u4E0D\u559C\u6B22"},ve.createElement("i",{style:or!=null&&or.boring?{color:"#e86d7c"}:{},onClick:()=>Oa("boring",!(or!=null&&or.boring),ei),className:"iconfot icon-weijiejuezhengchang font15"}))),Ar&&!ni&&ve.createElement(le.Z,{title:"\u91CD\u65B0\u751F\u6210"},ve.createElement("i",{onClick:()=>Oi("redraw",ei),className:"iconfot icon-gengxin-genghuan-tihuan"}))))),Oa=(or,ei,$r)=>{Xi(Tr=>(Tr[$r][or]=ei,ei&&(Tr[$r][or==="like"?"boring":"like"]=!1),[...Tr]))},lo=()=>{var or,ei;eo($r=>$r+1),(ei=(or=sa.current)==null?void 0:or.cancelRequest)==null||ei.call(or),Kr(!1),Gi(!1)},fa=Qa>9,Ha=Wn||Qn.length>0,mo=!!(Qn!=null&&Qn.length)&&((di=Qn==null?void 0:Qn[0])==null?void 0:di.status)!=="done"||ni||$i;return console.log(Qn,"fileList"),ve.createElement("div",null,Gt?ve.createElement("div",{onClick:Cr},Gt):ve.createElement(St,{src:zn,onClick:Cr,topPercentage:wi}),ve.createElement(ie.Z,{open:Ki,width:An,extra:Bi&&ve.createElement(Ue,{disabled:mo,value:ta,onChange:or=>{ia(!1),hi(or)}}),title:ve.createElement("span",{className:"c-grey-333 font16"},Gn),onClose:pr,bodyStyle:{paddingRight:4}},ve.createElement("div",{className:oe()(Fe.wrap,Ki&&"body-overflow-hidden")},ve.createElement("div",{ref:na,className:Fe.chatContainer},Br&&ve.createElement("div",{className:`${Fe.li} mb20`,style:{width:Jn}},ve.createElement("div",{className:Fe.avatarIcon},ve.createElement("img",{className:Fe.img,src:ui})),ve.createElement("div",{className:Fe.content},ve.createElement("div",{className:Fe.borderBox},vn,Rn==null?void 0:Rn({isDisabledNum:fa,checkNumModal:Vr,checkNum:Zr,onClose:pr,setChatData:Xi,setLoading:Kr,getData:$n,clearStatus:Vn,typing:$i})))),Ni==null?void 0:Ni.map((or,ei)=>ve.createElement(ve.Fragment,{key:or.key+ei},or.show&&ve.createElement(ve.Fragment,null,or.sender==="user"&&Ai(or,ei),or.sender==="AI"&&Sa(or,ei)))),!Ya&&ve.createElement("div",{className:Fe.backBottom,onClick:()=>{na.current.scrollTo({top:na.current.scrollHeight,behavior:"smooth"})}},ve.createElement("i",{className:"iconfont icon-huidaodibu"}))),!Pi&&ve.createElement("div",{className:oe()(Fe.footerContainer,Li&&Fe.full,(Vi||!!Qn.length)&&Fe.footerContainerSelected)},(ta==="deepseek-r1"||!!Qn.length)&&ve.createElement("div",{className:Fe.btnWrp},!!Qn.length&&ve.createElement("div",{className:Fe.uploadFile},((ai=Qn==null?void 0:Qn[0])==null?void 0:ai.status)==="uploading"&&ve.createElement(se.Z,{indicator:ve.createElement(xn.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),ve.createElement("span",{title:(qn=Qn==null?void 0:Qn[0])==null?void 0:qn.name,className:"mr10"},(0,nt.tP)((Yn=Qn==null?void 0:Qn[0])==null?void 0:Yn.name,40)),ve.createElement("i",{onClick:()=>kr([]),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font14"})),ta==="deepseek-r1"&&ve.createElement("div",{onClick:()=>ia(!Vi),className:oe()(Fe.thinkBtn,Vi&&Fe.thinkBtnActive)},ve.createElement("i",{className:"iconfont icon-shendusikao mr10"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),ve.createElement(le.Z,{title:fa&&ve.createElement("div",null,ve.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ve.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},ve.createElement("div",{className:oe()(Fe.inputContainer,fn>4&&Fe.lineFour,!!Qn.length&&"pb40",fa&&Fe.disabledInput)},ve.createElement(E.default,Or(Sr({},Tn),{className:`${Ha&&"hide"}`}),ve.createElement(ue.ZP,{className:Fe.uploadBtn,icon:ve.createElement(ur.Z,{style:{fontSize:18,color:"#FFF"}})})),ve.createElement(Ae.default.TextArea,{rows:fn>4?4:fn,placeholder:Dn||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:Pa,bordered:!1,style:Ha?{paddingLeft:0,marginLeft:0}:{},onChange:pi,onPressEnter:ji,onCompositionStart:()=>{zo.current=!0},onCompositionEnd:()=>{zo.current=!1}}),$i?ve.createElement("div",{className:`iconfont icon-tingzhihuida ${Fe.cancelBtn}`,onClick:lo}):ve.createElement(ue.ZP,{className:(Pa==null?void 0:Pa.trim())===""?Fe.sendBtnDisabled:Fe.sendBtn,icon:ve.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:mo,onClick:Wi}),fn>4&&ve.createElement("span",{className:Fe.fullIcon,onClick:Yr},Li&&ve.createElement("span",{className:"iconfont icon-shousuo"}),!Li&&ve.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},71400:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return Be},U:function(){return ye}});var ve=be(59301),Xe=be(31797),E=be(43418),ge=be(1710),Ae=be(20736),ue=be(30897),le=be(61186),ie=be.n(le),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"},ae="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2aHST34fTQjDeQqplOfqibsp4/QOqjztXcMczVHPWLvQS4g0IgclH0eDm7HvsBmca/pBvI5/OUVZRRXQ9l1bupqHq9c+NvOuiqXlqAlwA3DBBEe655J71lX2F3T0Q64yjLQFkVuHREqttRXfkYVa2nO3fcrmGs7qhe5CXAHeTyR7eSpmHJvQxWH0dqLJSPgXQjpFuIgTe4ISLT42ia8XKXe+vNRzWahnHwLwHuYID7ERWkWUk540k7yNZDZi6kp0OqHIa2RFT1OSa+/H2u7kP/MYxzflQv8hLgDga4X5Ghi6epYAJpIAtk5kB6JpRlIWqPqBp0THrlP7v6D/37UY2mYRz8S4A7KOBmZNjzdAK4lACXhuwCKJ8KzgOuetAx5cJ/drkPvAS4g5zPlwB3MMA9NSPDQ08/TbkxXAYyx0L55MSHi7ZF5Jxj8nn/4qrf9/Fh3ORH9SIvAe5ggLv17Czttz9FJvIMl4XssZCelAAu3x5Rg2Py+f/qqt/7saMaTcM4+JcAdzDA/ejUSrhHgBsf+3CVVZBZ5AEnkyqGwzH1wg+7ynd/dBjn/Khe5CXAHQxwd51ayYZ7nqLCAy5bA9mFkJ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NYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",re=be(88230),ne=be(24459),z=be(3404),a=be(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,fe=(je,we,De)=>we in je?y(je,we,{enumerable:!0,configurable:!0,writable:!0,value:De}):je[we]=De,he=(je,we)=>{for(var De in we||(we={}))ee.call(we,De)&&fe(je,De,we[De]);if(te)for(var De of te(we))ce.call(we,De)&&fe(je,De,we[De]);return je},de=(je,we)=>x(je,b(we)),pe=(je,we,De)=>new Promise((xe,Te)=>{var Ke=tt=>{try{Me(De.next(tt))}catch(qe){Te(qe)}},Ye=tt=>{try{Me(De.throw(tt))}catch(qe){Te(qe)}},Me=tt=>tt.done?xe(tt.value):Promise.resolve(tt.value).then(Ke,Ye);Me((De=De.apply(je,we)).next())});const ye=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:me}=Xe.default,Ee=({exercise:je,socket:we,dispatch:De,onStartScreenshot:xe,onCloseScreenshot:Te,handleToDetail:Ke})=>{const[Ye,Me]=E.default.useModal(),tt=(0,ve.useRef)(),[qe,st]=(0,ve.useState)(!0),ct=(0,ve.useRef)(!1),lt=(0,ne.useParams)();(0,ve.useEffect)(()=>{var Ne,nt,gt;if(document.addEventListener((0,Ae.gH)(),Ue,!1),window.addEventListener("blur",_e,!1),(Ne=je.exerciseUserInfo)!=null&&Ne.screen_open&&(0,Ae.vp)()&&st(!1),(nt=je.exerciseUserInfo)!=null&&nt.screen_open&&!(0,Ae.vp)()){(0,re.RG)(" ",!0);const St=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?je.exerciseUserInfo.screen_sec+3:je.exerciseUserInfo.screen_sec+10+1;tt.current=E.default.info({icon:null,centered:!0,width:444,title:(0,z._V)(z.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,z._V)(z.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},je.exerciseUserInfo.screen_num-je.exerciseUserInfo.used_screen_num),(0,z._V)(z.CP.recordScreen3)),okText:a.createElement("span",null,(0,z._V)(z.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(me,{onFinish:()=>pe(void 0,null,function*(){var wt;const Bt=yield Ze();(wt=tt.current)==null||wt.destroy(),Bt.used_screen_num&&ke(Bt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+St*1e3})),"S\uFF09"),onOk:()=>{var wt;(0,re.RG)(" ",!0),(wt=tt.current)==null||wt.destroy(),st(!1),(0,Ae.Dj)(document.body),document.getElementById("root").addEventListener("click",ut,!1)}})}return(gt=je.exerciseUserInfo)!=null&>.screen_open&&!(0,Ae.vp)()||document.getElementById("root").addEventListener("click",ut,!1),()=>{document.getElementById("root").removeEventListener("click",ut,!1),document.removeEventListener((0,Ae.gH)(),Ue,!1),window.removeEventListener("blur",_e,!1)}},[]),(0,ve.useEffect)(()=>{setTimeout(()=>{je.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",ut,!1),document.removeEventListener((0,Ae.gH)(),Ue,!1))},500),At()},[je.actionTabs]),(0,ve.useEffect)(()=>{setTimeout(()=>{je.exerciseUserInfo.used_screen_num>je.exerciseUserInfo.screen_num&&Ve()},500)},[je.exerciseUserInfo]);const at=()=>pe(void 0,null,function*(){const Ne=yield Ze();setTimeout(()=>{var nt,gt;(nt=tt.current)==null||nt.destroy(),tt.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"},Ne.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(gt=je.exerciseUserInfo)==null?void 0:gt.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>pe(void 0,null,function*(){(0,Ae.Dj)(document.body)})})},1e3)}),ut=Ne=>{!(0,Ae.vp)()&&Ne.target.nodeName!=="A"&&Ne.target.nodeName!=="BUTTON"&&Ne.target.innerHTML!=="\u786E \u5B9A"&&(0,Ae.Dj)(document.body)},At=()=>pe(void 0,null,function*(){const Ne=yield De({type:"exercise/getExerciseUserInfo",payload:he({},lt)});return Ne==null?void 0:Ne.data}),bt=Ne=>pe(void 0,null,function*(){var nt;if((nt=je.exerciseUserInfo)!=null&&nt.screen_at){const St=yield(0,ue.ck)(de(he({},lt),{reset:!0}));if((St==null?void 0:St.status)===-6)return}const gt=yield(0,ue.oy)({id:lt.categoryId});if(gt!=null&>.is_commit){E.default.destroyAll(),yield It(),Qe(!0);return}else ke(Ne+1)}),It=()=>pe(void 0,null,function*(){var Ne;const nt=ie()(),gt=je.exerciseUserInfo.screen_sec;if($e.current.length>0){const St=nt.format("YYYY-MM-DD HH:mm:ss");let wt=Math.floor(nt.diff(ie()($e.current[0].start))/1e3);const Bt=$e.current.length;wt/gt>>0>Bt&&(wt=(Bt+1)*gt-1),yield(0,ue.P8)(lt.categoryId,{exercise_user_id:(Ne=je.exerciseUserInfo)==null?void 0:Ne.exercise_user_id,time:St,time_long:wt,count:Bt})}$e.current=[]}),ht=(0,ve.useRef)(0),dt=(0,ve.useRef)(0),$e=(0,ve.useRef)([]),Pe=(0,ve.useRef)(!1),ke=Ne=>pe(void 0,null,function*(){var nt;ct.current||(xe(),E.default.destroyAll(),ht.current=ie()().valueOf(),Pe.current=!0,tt.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:se.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,z._V)(z.CP.recordScreen8)),content:a.createElement("div",{className:se.exitFullScreenModal},a.createElement("img",{src:ae,alt:"",className:se.warningIcon}),a.createElement("div",{className:se.warningText,style:{marginBottom:50,fontWeight:500}},(0,z._V)(z.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,z._V)(z.CP.recordScreen11),a.createElement("span",{className:se.warningText},((nt=je.exerciseUserInfo)==null?void 0:nt.screen_num)+1),(0,z._V)(z.CP.recordScreen12),a.createElement("span",{className:se.warningText,style:{fontWeight:600}},(0,z._V)(z.CP.recordScreen13)),",",(0,z._V)(z.CP.recordScreen14),a.createElement("span",{className:se.warningText},Ne-1),(0,z._V)(z.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(me,{className:se.countdownWrapper,onFinish:()=>{dt.current=ie()().valueOf(),$e.current.push({start:ht.current,end:dt.current}),bt(Ne)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(je.exerciseUserInfo.screen_sec+1)*1e3}),(0,z._V)(z.CP.recordScreen25)),(0,z._V)(z.CP.recordScreen16))),onOk:()=>{(0,re.RG)(" ",!0),It(),(0,Ae.Dj)(document.body),Te(),tt.current.destroy(),Pe.current=!1}}))}),Ve=()=>pe(void 0,null,function*(){E.default.destroyAll(),(yield(0,ue.VL)({categoryId:lt.categoryId,commit_method:1}))&&Qe()}),Qe=(Ne=!1)=>pe(void 0,null,function*(){var nt,gt;if(document.removeEventListener((0,Ae.gH)(),Ue,!1),(0,Ae.BU)(),E.default.destroyAll(),ct.current=!0,Ne){const St=yield(0,ue.Yu)(lt.categoryId,{exercise_user_id:(nt=je.exerciseUserInfo)==null?void 0:nt.exercise_user_id});Ye.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:oe,alt:""}),a.createElement("div",{className:se.forcedText},(0,z._V)(z.CP.recordScreen17)),a.createElement("div",{className:se.screenNumText},(0,z._V)(z.CP.recordScreen18),(gt=je.exerciseUserInfo)==null?void 0:gt.screen_num,(0,z._V)(z.CP.recordScreen19)),a.createElement(ge.default,{dataSource:St==null?void 0:St.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,z._V)(z.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,z._V)(z.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,z._V)(z.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{Te(),Ke()},onOk:()=>{ne.history.push(`/classrooms/${lt.coursesId}/exercisenotice/${lt.categoryId}/users/${lt.login}?isShowApply=true`)}})}else Ye.info({content:a.createElement("div",{className:"tc font16"},(0,z._V)(z.CP.recordScreen23),a.createElement("br",null),(0,z._V)(z.CP.recordScreen24)),onOk:()=>{Ke()}})}),_e=Ne=>{(0,Ae.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Pe.current&&(0,Ae.BU)()},Ze=()=>pe(void 0,null,function*(){var Ne;if((Ne=je.exerciseUserInfo)!=null&&Ne.screen_at){const St=yield(0,ue.ck)(de(he({},lt),{reset:!0}));if((St==null?void 0:St.status)===-6)return}const nt=yield(0,ue.oy)({id:lt.categoryId});if(nt!=null&&nt.is_commit){Qe();return}return yield At()}),Ue=()=>pe(void 0,null,function*(){var Ne;if((0,re.RG)(" ",!0),(0,Ae.vp)()){if((Ne=je.exerciseUserInfo)!=null&&Ne.screen_at){var nt=yield(0,ue.ck)(de(he({},lt),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}}else if(!Pe.current){var nt=yield(0,ue.ck)(he({},lt));if((nt==null?void 0:nt.status)===-6)return;const St=yield At();ke(St.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Fe=()=>pe(void 0,null,function*(){(0,ue.ck)(he({},lt));const Ne=yield At();ke(Ne.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Me)};var Be=(0,ne.connect)(({exercise:je,globalSetting:we})=>({globalSetting:we,exercise:je}))(Ee)},48569:function(nn,Ht,be){"use strict";be.d(Ht,{X:function(){return ge},y:function(){return E}});var ve=be(59301),Xe=be(8591);const E=Ae=>{(0,ve.useEffect)(()=>{if(Ae){const ue=ie=>{ie.key==="F12"&&(ie.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},le=ie=>{ie.preventDefault()};return document.addEventListener("keydown",ue),document.addEventListener("contextmenu",le),()=>{document.removeEventListener("keydown",ue),document.removeEventListener("contextmenu",le)}}},[Ae])},ge=()=>{const[Ae,ue]=(0,ve.useState)(!1),le=ie=>{const{keyCode:se,ctrlKey:ae,metaKey:oe,type:re}=ie;(re==="paste"||(se===67||se===86)&&(oe||ae))&&(Xe.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ie.preventDefault(),ie.stopPropagation())};return(0,ve.useEffect)(()=>(Ae&&(window.addEventListener("keydown",le,!0),window.addEventListener("paste",le,!0)),()=>{window.removeEventListener("keydown",le,!0),window.removeEventListener("paste",le,!0)}),[Ae]),{setOpenDisableCopyAndPaste:ue,disableCopyAndPaste:Ae}}},14573:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return oe}});var ve=be(59301),Xe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=be(92310),ge=be.n(E),Ae=be(71418),ue=be(2859),le=be(7660),ie=be(88230),se=(re,ne,z)=>new Promise((a,y)=>{var x=ee=>{try{te(z.next(ee))}catch(ce){y(ce)}},b=ee=>{try{te(z.throw(ee))}catch(ce){y(ce)}},te=ee=>ee.done?a(ee.value):Promise.resolve(ee.value).then(x,b);te((z=z.apply(re,ne)).next())}),oe=({data:re,className:ne,fullWidth:z,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:te})=>{const ee=(0,ve.useRef)(null),ce=(0,ve.useRef)(null),fe=(0,ve.useRef)(null),he=(0,ve.useRef)(null),[de,pe]=(0,ve.useState)(!1),[ye,me]=(0,ve.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ve.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&&Ee()):(document.body.removeAttribute("data-custom"),fe.current&&(document.head.removeChild(fe.current),fe.current=null))},[re==null?void 0:re.visible]);const Ee=()=>se(void 0,null,function*(){pe(!0),me("\u6B63\u5728\u52A0\u8F7D\u4E2D");const De=yield(0,ie.ZJ)(re==null?void 0:re.src);ee.current.src="",ee.current.src=De,ee.current.onload=function(){we()},pe(!1),me("")}),Be=De=>se(void 0,null,function*(){pe(!0),me("\u6B63\u5728\u4FDD\u5B58\u4E2D");const xe=yield(0,le.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:re.title,file:De.dataUrl}});xe!=null&&xe.id&&!te?(yield(0,le.ZP)(`/api/attachments/${re.id}/add_subitem.json`,{method:"post",body:{subitem_id:xe==null?void 0:xe.id,settings:JSON.stringify(De.state)}})).status===0&&x():xe!=null&&xe.id&&x(xe),pe(!1),me("")}),je=()=>{const De=document.querySelector('a[href="https://markerjs.com/"]');De&&De.parentNode&&(De.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(Te=>{const Ke=document.querySelector(Te.name);Ke&&Ke.setAttribute("title",Te.title)})},we=()=>{ce.current=new ue.hP(ee.current),ce.current.targetRoot=he.current,ce.current.addEventListener("render",Be),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),je()},300)};return ve.createElement(ve.Fragment,null,(re==null?void 0:re.visible)&&ve.createElement(Ae.Z,{spinning:de,tip:ye,style:{position:"absolute"}},ve.createElement("div",{ref:he,className:ge()(Xe.imageDimensions,ne,z?Xe.fullWidth:""),style:a},ve.createElement("img",{className:Xe.img,ref:ee}))))}},46531:function(nn,Ht,be){"use strict";var ve=be(59301),Xe=be(95237),E=be(43604),ge=be(99313),Ae=be(3113),ue=be(99325),le=be(11570),ie=be(48136),se=be(59301);const ae=(0,ve.forwardRef)(({callback:oe,showSaveButton:re,value:ne=""},z)=>{const a=(0,ve.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+" ")},te=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:se.createElement(Xe.Z,{className:le.Z.lists,gutter:[10,10]},y.map((ce,fe)=>se.createElement(E.Z,{flex:"110px",className:le.Z.item},se.createElement("div",null,se.createElement(ue.Z,{value:`$$${ce.value}$$`}),ce.name),se.createElement("div",{className:le.Z.children},ce.children.map((he,de)=>se.createElement("div",{key:de},se.createElement("h1",null,he.name),se.createElement(Xe.Z,{gutter:[10,10]},he.data.map((pe,ye)=>se.createElement(E.Z,{key:ye,onClick:()=>b(pe),className:le.Z.diamond},se.createElement(ue.Z,{value:"`$$"+pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:se.createElement(Xe.Z,{className:le.Z.lists,gutter:[10,10]},x.map((ce,fe)=>se.createElement(E.Z,{flex:"110px",className:le.Z.item},se.createElement("div",null,se.createElement(ue.Z,{value:"`$$"+ce.value+"$$`"}),ce.name),se.createElement("div",{className:le.Z.children},ce.children.map((he,de)=>se.createElement("div",{key:de},he.name&&se.createElement("h1",null,he.name),se.createElement(Xe.Z,{gutter:[10,10]},he.data.map((pe,ye)=>se.createElement(E.Z,{key:ye,onClick:()=>b(pe),className:le.Z.diamond},se.createElement(ue.Z,{value:"`$$"+pe.value+"$$`"}))))))))))}],ee=()=>{var ce=document.createElement("div");ce.innerHTML=a.current.getValue();var fe=ce.innerText;return oe&&oe(fe),fe};return(0,ve.useImperativeHandle)(z,()=>({getData:ee})),se.createElement("div",{className:le.Z.mathWrap},se.createElement(ge.default,{defaultActiveKey:"1",items:te}),se.createElement("math-field",{locale:"zh_cn",className:le.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:le.Z.button},se.createElement(Ae.ZP,{size:"large",onClick:ee,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ht.Z=ae},57816:function(nn,Ht,be){"use strict";var ve=be(59301),Xe=be(93314),E=be(3113),ge=Object.defineProperty,Ae=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ae=(z,a,y)=>a in z?ge(z,a,{enumerable:!0,configurable:!0,writable:!0,value:y}):z[a]=y,oe=(z,a)=>{for(var y in a||(a={}))ie.call(a,y)&&ae(z,y,a[y]);if(le)for(var y of le(a))se.call(a,y)&&ae(z,y,a[y]);return z},re=(z,a)=>Ae(z,ue(a));const ne=({img:z,buttonProps:a={},styles:y={},customText:x,ButtonText:b,ButtonClick:te,Buttonclass:ee,ButtonTwo:ce,imgStyles:fe,loading:he=!1})=>ve.createElement("section",{className:"tc animated fadeIn",style:oe(oe({},{color:"#999",margin:"100px auto",visibility:he?"hidden":"visible"}),y)},ve.createElement("img",{src:z||Xe,style:re(oe({},fe),{pointerEvents:"none",userSelect:"none"})}),ve.createElement("p",{className:"mt20 font14"},x||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),b&&ve.createElement(E.ZP,oe({className:ee,onClick:te},a),b),ce&&ce);Ht.Z=ne},90853:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return ee}});var ve=be(59301),Xe={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},E=be(3113),ge=be(70557),Ae=be(57800),ue=be(6848),le=be(88230),ie=be(30897),se=be(57816),ae=be(38446),oe=be(89282),re=be(59301),ne=Object.defineProperty,z=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(ce,fe,he)=>fe in ce?ne(ce,fe,{enumerable:!0,configurable:!0,writable:!0,value:he}):ce[fe]=he,b=(ce,fe)=>{for(var he in fe||(fe={}))a.call(fe,he)&&x(ce,he,fe[he]);if(z)for(var he of z(fe))y.call(fe,he)&&x(ce,he,fe[he]);return ce},te=(ce,fe,he)=>new Promise((de,pe)=>{var ye=Be=>{try{Ee(he.next(Be))}catch(je){pe(je)}},me=Be=>{try{Ee(he.throw(Be))}catch(je){pe(je)}},Ee=Be=>Be.done?de(Be.value):Promise.resolve(Be.value).then(ye,me);Ee((he=he.apply(ce,fe)).next())}),ee=({editOffice:ce="view",data:fe,theme:he,type:de,filename:pe,monacoEditor:ye,className:me,style:Ee,close:Be,onClose:je,hasMask:we,disabledDownload:De,onImgDimensions:xe,showNodata:Te,recordInfo:Ke})=>{const[Ye,Me]=(0,ve.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[tt,qe]=(0,ve.useState)(""),[st,ct]=(0,ve.useState)(),lt=window.ENV==="build"?"/react/build":"",at=location.host.startsWith("localhost")?ae.Z.PROXY_SERVER:ae.Z.API_SERVER,At=10*(1024*1024),bt=(0,ve.useRef)();fe!=null&&fe.startsWith("/api")&&de!=="txt"&&(fe=ae.Z.API_SERVER+fe);const It=Pe=>Pe.substring(Pe.lastIndexOf("/")+1).split(".").pop();pe&&ye&&(ye.filename=pe),(0,ve.useEffect)(()=>{var Pe,ke;const Ve=(ke=(Pe=document.cookie)==null?void 0:Pe.replace(/\s/g,""))==null?void 0:ke.split(";");Ve==null||Ve.map(Qe=>{let _e=Qe.split("=");_e[0]==="_educoder_session"&&qe(_e[1])})},[]),(0,ve.useEffect)(()=>{de==="office"&&(fe.indexOf("bigfilescdn.")>-1||fe.indexOf("bigfiles1")>-1?ct({url:fe,fileType:It(fe),model:fe.indexOf("model=edit")?"edit":"view"}):ht())},[de,fe]);const ht=()=>te(void 0,null,function*(){console.log("data:",fe);let Pe=fe;fe.startsWith("http")||(Pe=location.origin+Pe);let ke=new URL(Pe).pathname.split("/").pop();const Ve=yield(0,ie.gJ)({attachment_id:ke});Ve.url=at+Ve.url,ct(Ve)}),dt=()=>{if(fe.startsWith("http")||fe.startsWith("blob:")){$e();return}(0,le.Sv)(pe||"educoder",fe,pe)},$e=()=>{Ke&&(0,oe.fc)({id:Ke==null?void 0:Ke.id,watch_type:1,course_id:Ke==null?void 0:Ke.course_id}),(0,le.Nd)(pe||"educoder",decodeURIComponent(fe))};return re.createElement("div",{style:b({},Ee||{}),className:`${we&&Xe.bgBlack} ${de?Xe.wrp:"hide"}`},Be&&re.createElement("div",{className:Xe.close,ref:bt},!!xe&&re.createElement(ue.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>bt.current},re.createElement("span",{onClick:()=>{je(),xe()}},re.createElement("i",{className:"icon-yulanpizhu"}))),!De&&re.createElement(ue.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>bt.current},re.createElement("span",{onClick:$e},re.createElement("i",{className:"icon-quxiaozhiding"}))),re.createElement(ue.Z,{title:"\u5173\u95ED",getPopupContainer:()=>bt.current},re.createElement("span",{className:"",onClick:je},re.createElement("i",{className:"icon-guanbi1"})))),re.createElement("div",{className:`${Xe[me]} ${me} ${Xe.monaco} ${de==="txt"?"show":"hide"}`},de==="txt"&&re.createElement(re.Fragment,null,re.createElement(Ae.ZP,b({},ye)))),de==="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}),de==="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})),de==="office"&&st&&re.createElement("iframe",{src:`${lt}/office.html?key=${st.key}&url=${btoa(st.url)}&callbackUrl=${at+(st.callbackUrl||"")}&fileType=${st.fileType}&title=${st.title||""}&model=${ce}&officeServer=${ae.Z.ONLYOFFICE}&disabledDownload=${!!De}`}),de==="html"&&re.createElement("iframe",{src:fe+"&disposition=inline"}),de==="pdf"&&re.createElement("iframe",{src:`${lt}/js/pdfview/index.html?filename=${pe||"educoder.pdf"}&url=${encodeURIComponent(fe)}&disabledDownload=${!!De}`}),de==="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}`}),(de==="other"||de==="download")&&re.createElement(re.Fragment,null,Te?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:dt,disabled:De},"\u4E0B\u8F7D")}):re.createElement(E.ZP,{type:"primary",size:"middle",onClick:dt,disabled:De},re.createElement(ge.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},99325:function(nn,Ht,be){"use strict";be.d(Ht,{z:function(){return de},Z:function(){return pe}});var ve=be(59301),Xe=be(2878),E=be(85187),ge=be(64018),Ae=be(40846),ue=be(38446),le=be(88230),ie=be(15342),se=be(1012),ae=be(90853),oe=be(59301),ne=({html:ye})=>{const me=(0,ve.useRef)(null),Ee=(0,ve.useRef)(null),Be=`.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,ve.useEffect)(()=>{const je=me.current.attachShadow({mode:"open"});Ee.current=document.createElement("div"),Ee.current.className="markdown-body",Ee.current.innerHTML=ye,je.appendChild(Ee.current);const we=document.createElement("style");return we.textContent=Be,je.appendChild(we),()=>{je.innerHTML=""}},[]),(0,ve.useEffect)(()=>{Ee.current&&(Ee.current.innerHTML=ye)},[ye]),oe.createElement("div",{ref:me})},z=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ye,me,Ee)=>me in ye?z(ye,me,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ye[me]=Ee,te=(ye,me)=>{for(var Ee in me||(me={}))y.call(me,Ee)&&b(ye,Ee,me[Ee]);if(a)for(var Ee of a(me))x.call(me,Ee)&&b(ye,Ee,me[Ee]);return ye};const ee="@\u2581\u2581@",ce="@\u2581@",fe=/]*>/g;function he(ye){let me=document.createElement("div");return me.innerHTML=ye,me.childNodes.length===0?"":me.childNodes[0].nodeValue}const de=(ye,me)=>{ye=ye||"";const Ee=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Be=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,je=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,we=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return me?ye.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Ee,(De,xe,Te,Ke,Ye,Me,tt)=>{const qe=xe||Ke||Me,st=Te||Ye||tt||"?";return ue.Z.API_SERVER+"/api/attachments/"+qe+st+"&t="+(0,le.Jn)(qe,Date.now())+(De.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ye=ye.replace(we,(De,xe,Te,Ke,Ye,Me,tt)=>{const qe=xe||Ke||Me,st=Te||Ye||tt||"?";return ue.Z.API_SERVER+"/attachments/download/"+qe+st+"&t="+(0,le.Jn)(qe,Date.now())+(De.indexOf(")")>-1?")":"&")}).replace(Ee,(De,xe,Te,Ke,Ye,Me,tt)=>{const qe=xe||Ke||Me,st=Te||Ye||tt||"?";return ue.Z.API_SERVER+"/api/attachments/"+qe+st+"&t="+(0,le.Jn)(qe,Date.now())+(De.indexOf(")")>-1?")":"&")}).replace(Be,(De,xe,Te,Ke,Ye)=>{const Me=xe||Ke,tt=Te||Ye||"";return'"'+ue.Z.API_SERVER+"/api/attachments/"+Me+tt+Me+tt+"&t="+(0,le.Jn)(Me,Date.now())}).replace(je,(De,xe,Te,Ke,Ye)=>{const Me=xe||Ke,tt=Te||Ye||"";return"("+ue.Z.API_SERVER+"/files/uploads/"+Me+tt+Me+tt+"&t="+(0,le.Jn)(Me,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 pe=({value:ye="",className:me,showTextOnly:Ee,showLines:Be,style:je={},stylesPrev:we={},highlightKeywords:De,showProgramFill:xe,isProgramFill:Te,disabledFill:Ke=!1,programFillValue:Ye,onFillChange:Me=st=>{},onFillBlur:tt=()=>{},onFillFocus:qe=()=>{}})=>{let st=String(ye);const[ct,lt]=(0,ve.useState)(""),[at,ut]=(0,ve.useState)("office"),[At,bt]=(0,ve.useState)([]),It=(0,ve.useRef)("a"+(0,se.Z)()),ht={},dt=(gt,St,wt)=>{const Bt=document.createElement(gt===ce?"input":"textarea");Bt.style.width="100%",Bt.style.height=gt===ce?"40px":"151px",Bt.rows=5,Bt.spellcheck=!1,Bt.name="edu-program-fill",Bt.placeholder="\u8BF7\u8F93\u5165",Bt.dataset.id=St;const Nt=Object.keys(ht).length;return ht[Nt]=Bt,`${Bt.outerHTML}`};function $e(gt){return gt=gt.replace(/!\[.*?\]\(.*?\)/g,""),gt=gt.replace(/\[.*?\]\(.*?\)/g,""),gt=gt.replace(new RegExp("","gs"),""),gt=gt.replace(//g,""),gt=gt.replace(//g,""),gt=gt.replace(new RegExp(".*?<\\/video>","gs"),""),gt=gt.replace(new RegExp(".*?<\\/audio>","gs"),""),gt=gt.replace(new RegExp(".*?<\\/style>","gs"),""),gt=gt.replace(new RegExp(".*?<\\/script>","gs"),""),gt}const Pe=gt=>gt.replace(/([\s\S]+?)<\/style>/gim,function(St,wt){let Bt=wt.replace(/(\n|\r)/g,"").split("}"),Nt=[];return Bt.map(pt=>{pt!=""&&Nt.push(`.${It.current} ${pt}`)}),``}),ke=(0,ve.useMemo)(()=>{try{const Bt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Nt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,pt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Ft=/\(\/attachments\/download\//g;st=st.replace(Ft,"("+ue.Z.API_SERVER+"/attachments/download/").replace(Bt,"("+ue.Z.API_SERVER+"/api/attachments/").replace(Nt,'"'+ue.Z.API_SERVER+"/api/attachments/").replace(pt,'"'+ue.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(Bt){}if(xe){let Bt=-1;return st=st.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Nt,pt,Ft){var Lt;return++Bt,dt(Nt,Bt,(Lt=Ye==null?void 0:Ye[Bt])==null?void 0:Lt.value.replaceAll("<","<").replaceAll(">",">"))}),`
${Pe(st||"")}
`}let gt=Pe(st);gt=(0,E.ZP)(gt);const St=(0,E.ez)();st.match(/\[TOC\]/)&&(gt=gt.replace("

[TOC]

",(0,E.Qv)()),(0,E.Iy)()),gt=gt.replace(/(__special_katext_id_\d+__)/g,(Bt,Nt)=>{const{type:pt,expression:Ft}=St[Nt];return(0,ie.renderToString)(he(Ft)||"",{displayMode:pt==="block",throwOnError:!1,output:"html"})}),gt=gt.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,E.AL)();const wt=document.createElement("div");if(wt.innerHTML=gt,Ee)return wt.innerText;if(De){const Bt=De.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Ze(wt,Bt),wt.innerHTML}return setTimeout(()=>Ne(),500),wt.innerHTML},[st,De]);(0,ve.useEffect)(()=>{Ue.current&&Ue.current.querySelectorAll(["input","textarea"]).forEach(St=>{St.oninput=Ve,St.onblur=Qe,St.onfocus=_e})},[At]),(0,ve.useEffect)(()=>{var gt,St,wt,Bt,Nt;if(Ye!=null&&Ye.length)try{const pt=Ue.current.querySelectorAll(".edu-program-fill-score"),Ft=Ue.current.querySelectorAll('[name="edu-program-fill"]');for(const[Lt,$t]of Ft.entries())$t.value=((gt=Ye==null?void 0:Ye[Lt])==null?void 0:gt.value)||"",((St=Ye==null?void 0:Ye[Lt])==null?void 0:St.type)==="warning"?$t.className="program-fill-warning":((wt=Ye==null?void 0:Ye[Lt])==null?void 0:wt.type)==="success"?$t.className="program-fill-success":$t.className="";for(const[Lt,$t]of pt.entries())$t.innerHTML=(Bt=Ye==null?void 0:Ye[Lt])!=null&&Bt.score?`${(Nt=Ye==null?void 0:Ye[Lt])==null?void 0:Nt.score}\u5206`:"";bt(Ye)}catch(pt){console.log(pt,"error")}},[Ye]);const Ve=gt=>{At[gt.target.dataset.id]=At[gt.target.dataset.id]||{},At[gt.target.dataset.id].value=gt.target.value,bt([...At]),Me(At,gt.target.dataset.id)},Qe=gt=>{At[gt.target.dataset.id]=At[gt.target.dataset.id]||{},At[gt.target.dataset.id].value=gt.target.value,bt([...At]),tt(At,gt.target.dataset.id)},_e=gt=>{At[gt.target.dataset.id]=At[gt.target.dataset.id]||{},At[gt.target.dataset.id].value=gt.target.value,bt([...At]),qe(At,gt.target.dataset.id)};function Ze(gt,St){return gt.childNodes.forEach(wt=>{var Bt;if(wt.childNodes.length>0)Ze(wt,St);else if(wt.nodeName!=="IMG")if(wt.innerHTML)wt.innerHTML=(Bt=wt.innerHTML)==null?void 0:Bt.replace(new RegExp(St,"gi"),'$&');else{const Nt=document.createElement("span");Nt.innerHTML=wt.textContent.replace(new RegExp(St,"gi"),'$&'),wt.replaceWith(Nt)}})}const Ue=(0,ve.useRef)();E.jb.WebkitLineClamp=Be,Be&&(je=te(te({},je),E.jb));function Fe(gt){let St=gt.target;if(St.tagName.toUpperCase()==="A"){let wt=St.getAttribute("href");if(wt.indexOf("office")>-1)gt.preventDefault(),lt(wt),ut("office");else if(wt.indexOf("application/pdf")>-1)gt.preventDefault(),lt(wt),ut("pdf");else if(wt.indexOf("text/html")>-1)gt.preventDefault(),lt(wt),ut("html");else if(wt.startsWith("#")){gt.preventDefault();let Bt=document.getElementById(wt.replace("#",""));Bt&&Bt.scrollIntoView(!0)}}}const Ne=()=>{var gt;const St=(gt=Ue.current)==null?void 0:gt.querySelectorAll("video");St==null||St.forEach(wt=>{if(wt.oncontextmenu=()=>!1,wt.src.indexOf(".m3u8")>-1&&!wt.canPlayType("application/vnd.apple.mpegurl")){if(Ae.ZP.isSupported()){var Bt=new Ae.ZP;Bt.loadSource(wt.src),Bt.attachMedia(wt)}}})};(0,ve.useEffect)(()=>{if(Ue.current&&ke&&ke.match(fe)&&window.PR.prettyPrint(),Ue.current)return Ue.current.addEventListener("click",Fe),()=>{var gt;(gt=Ue.current)==null||gt.removeEventListener("click",Fe),(0,E.AL)(),(0,E.Iy)()}},[ke,Ue.current,Fe]),(0,ve.useEffect)(()=>{var gt;const St=wt=>{wt.preventDefault(),wt.clipboardData.setData("text",window.getSelection().toString())};return(gt=Ue.current)==null||gt.addEventListener("copy",St),()=>{var wt;(wt=Ue.current)==null||wt.removeEventListener("copy",St)}},[Ue.current]);const nt=gt=>//i.test(gt||"");return ve.createElement(ve.Fragment,null,Ee&&ve.createElement("div",{ref:Ue},ke),!Ee&&!nt(ke)&&ve.createElement("div",{ref:Ue,style:te({},je),className:`${me||""} ${Ke?"disabled-fill":""} markdown-body ${It.current}`,dangerouslySetInnerHTML:{__html:ke}}),!Ee&&nt(ke)&&ve.createElement(ne,{html:ke}),ve.createElement(ae.Z,{close:!0,data:ct,type:ct!=null&&ct.length?at:"",style:te({},we),onClose:()=>lt("")}))}},7651:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return ge}});var ve=be(24459),Xe={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=be(59301),ge=({message:Ae,className:ue,children:le,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${Xe.idsRingWrapper} ${ue}`},E.createElement("div",{className:Xe.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),Ae?E.createElement("p",{style:ie},Ae):null,le,E.createElement(ve.Outlet,null))},31582:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return ge}});var ve=be(59301),Xe=be(50484),E=be(59301),ge=({defaultX:Ae="40%",leftChild:ue,rightChild:le,className:ie,hideResize:se=!1})=>{const[ae,oe]=(0,ve.useState)(Ae),re=(0,ve.useRef)();function ne(){re.current=!0}(0,ve.useEffect)(()=>{function y(b){re.current&&(Xe.Z.publish("resize-move-bar",b),oe(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 z=typeof ae=="number"&&ae!==.01?`${ae}px`:Ae,a=`calc(100% - ${se?"0px":"4px"} - ${z})`;return E.createElement("div",{className:`split-panel-container ${ie}`},E.createElement("section",{style:{width:z,display:ae===.01?"none":""}},ue),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}},le))}},75618:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return ue}});var ve=be(59301),Xe={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=be(92310),ge=be.n(E),ue=({className:le,style:ie={},leftNode:se,leftTitle:ae="\u81EA\u6D4B\u8F93\u5165",rightNode:oe,rightTitle:re="\u8FD0\u884C\u7ED3\u679C"})=>ve.createElement("div",{className:ge()(Xe.result,le),style:ie},ve.createElement("div",{className:Xe.left},ve.createElement("div",{className:Xe.title},ve.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ve.createElement("span",null,ae)),ve.createElement("div",{className:Xe.leftNode},se)),ve.createElement("div",{className:Xe.right},ve.createElement("div",{className:Xe.title},ve.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ve.createElement("span",null,re)),ve.createElement("div",{className:Xe.rightNode},oe)))},46942:function(nn,Ht,be){"use strict";var ve=be(59301);const Xe=ge=>String(ge).length===1?`0${ge}`:ge,E=({className:ge="",onChange:Ae,defaultValue:ue=0})=>{const[le,ie]=(0,ve.useState)(ue);(0,ve.useEffect)(()=>{const re=setTimeout(()=>{ie(le+1e3)},1e3);return Ae(le+1e3),()=>{clearInterval(re)}},[le]);const se=parseInt(le/(60*6e4))||"00",ae=parseInt(le%(60*6e4)/6e4)||"00",oe=parseInt(le%6e4/1e3)||"00";return ve.createElement("div",{className:ge},Xe(se),":",Xe(ae),":",Xe(oe))};Ht.Z=E},49894:function(nn,Ht,be){"use strict";be.d(Ht,{cT:function(){return ye},pe:function(){return he}});var ve=be(59301),Xe=be(54580),E=be(8591),ge=be(7660),Ae=be(28209),ue=be.n(Ae),le=be(1012),ie=be(24459),se=be(47257),ae=be.n(se),oe=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(Ee,Be,je)=>Be in Ee?oe(Ee,Be,{enumerable:!0,configurable:!0,writable:!0,value:je}):Ee[Be]=je,b=(Ee,Be)=>{for(var je in Be||(Be={}))a.call(Be,je)&&x(Ee,je,Be[je]);if(z)for(var je of z(Be))y.call(Be,je)&&x(Ee,je,Be[je]);return Ee},te=(Ee,Be)=>re(Ee,ne(Be)),ee=(Ee,Be)=>{var je={};for(var we in Ee)a.call(Ee,we)&&Be.indexOf(we)<0&&(je[we]=Ee[we]);if(Ee!=null&&z)for(var we of z(Ee))Be.indexOf(we)<0&&y.call(Ee,we)&&(je[we]=Ee[we]);return je},ce=(Ee,Be,je)=>new Promise((we,De)=>{var xe=Ye=>{try{Ke(je.next(Ye))}catch(Me){De(Me)}},Te=Ye=>{try{Ke(je.throw(Ye))}catch(Me){De(Me)}},Ke=Ye=>Ye.done?we(Ye.value):Promise.resolve(Ye.value).then(xe,Te);Ke((je=je.apply(Ee,Be)).next())});const{Dragger:fe}=Xe.default,he=Ee=>{const Be="bf3c199c2470cb477d907b1e0917c17b",je="5183666c72eec9e4";var we=ue().enc.Utf8.parse(Be);let De=ue().enc.Utf8.parse(je);var xe=ue().AES.decrypt(Ee,we,{iv:De,mode:ue().mode.CBC});return xe.toString(ue().enc.Utf8)};let de;const pe=Ee=>ce(void 0,[Ee],function*({identifier:Be,oldFilename:je,newFilename:we}){var De,xe,Te,Ke,Ye,Me;const tt=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});tt.data=JSON.parse(he(tt.data));const qe=new OSS({endpoint:(De=tt==null?void 0:tt.data)==null?void 0:De.end_point,region:(xe=tt==null?void 0:tt.data)==null?void 0:xe.region,accessKeyId:(Te=tt==null?void 0:tt.data)==null?void 0:Te.access_key_id,accessKeySecret:(Ke=tt==null?void 0:tt.data)==null?void 0:Ke.access_key_secret,bucket:(Ye=tt==null?void 0:tt.data)==null?void 0:Ye.bucket,stsToken:(Me=tt==null?void 0:tt.data)==null?void 0:Me.security_token});return new Promise((st,ct)=>{console.log(11111,`${Be}/${je}`,`${Be}/${we}`,tt.data),qe.copy(`/${Be}/${je}`,`/${Be}/${we}`).then(lt=>{console.log("\u62F7\u8D1D\u6210\u529F",lt)}).catch(lt=>{console.log(lt)})})}),ye=(Ee,Be,je)=>ce(void 0,null,function*(){var we,De,xe,Te,Ke,Ye;Be.file_name=Ee.name;const Me=yield(0,ge.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",he(Me.data)),Me.data=JSON.parse(he(Me.data));const tt=Ee.name.split(".");tt.pop();const qe=Be.realFileName?tt.join(""):(0,le.Z)(),st=new(ae())({endpoint:(we=Me==null?void 0:Me.data)==null?void 0:we.end_point,region:(De=Me==null?void 0:Me.data)==null?void 0:De.region,accessKeyId:(xe=Me==null?void 0:Me.data)==null?void 0:xe.access_key_id,accessKeySecret:(Te=Me==null?void 0:Me.data)==null?void 0:Te.access_key_secret,bucket:(Ke=Me==null?void 0:Me.data)==null?void 0:Ke.bucket,stsToken:(Ye=Me==null?void 0:Me.data)==null?void 0:Ye.security_token});return new Promise((ct,lt)=>{var at;st.multipartUpload(`${qe}`,new Blob([Ee],{type:Ee.type}),te(b({timeout:200*1e3,partSize:102400},je),{callback:{url:(at=Me==null?void 0:Me.data)==null?void 0:at.callback_url,host:Me==null?void 0:Me.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,ge.rz)(Be)}})).then(function(ut){var At;Ee.response=(At=ut.data)==null?void 0:At.data,ct(ut==null?void 0:ut.data)}).catch(function(ut){lt(ut),console.log("err:",ut)})})}),me=Ee=>{var Be=Ee,{user:je,cancelUpload:we}=Be,De=ee(Be,["user","cancelUpload"]);const[xe,Te]=(0,ve.useState)([]);let[Ke,Ye]=(0,ve.useState)();const Me={onRemove:qe=>{Te([...xe.filter(st=>st.name!==qe.name)]),De.onChange(xe.filter(st=>st.name!==qe.name))},disabled:De.disabled,multiple:!0,fileList:xe==null?void 0:xe.map(qe=>qe.file),customRequest:()=>{},beforeUpload:qe=>ce(void 0,null,function*(){let st=De.maxSize||1073741824;if(xe.filter(ct=>ct.name===qe.name).length){E.ZP.info(`${qe.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(qe==null?void 0:qe.size)>st?(E.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${st/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(xe.push({name:qe.name,file:qe}),Te([...xe]),De.onChange(xe),!1)})},tt=(qe,st)=>ce(void 0,null,function*(){var ct,lt,at,ut,At,bt;st.file_name=qe.name;const It=qe.name,ht=yield(0,ge.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(ht.data=JSON.parse(he(ht.data)),(ht==null?void 0:ht.status)!==0){xe[xe.findIndex(Pe=>Pe.name===It)].status="error",xe[xe.findIndex(Pe=>Pe.name===It)].file.status="error",De.onChange(xe),E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}Ke=new(ae())({endpoint:(ct=ht==null?void 0:ht.data)==null?void 0:ct.end_point,region:(lt=ht==null?void 0:ht.data)==null?void 0:lt.region,accessKeyId:(at=ht==null?void 0:ht.data)==null?void 0:at.access_key_id,accessKeySecret:(ut=ht==null?void 0:ht.data)==null?void 0:ut.access_key_secret,bucket:(At=ht==null?void 0:ht.data)==null?void 0:At.bucket,stsToken:(bt=ht==null?void 0:ht.data)==null?void 0:bt.security_token}),console.log(qe,"file"),Ye(Ke);const dt=qe.name.split(".");dt.pop();const $e=It.indexOf(".")>-1?st.realFileName?dt.join("."):(0,le.Z)():It;return new Promise((Pe,ke)=>{var Ve;try{Ke.multipartUpload(`${De.identifier}/${$e}${It.indexOf(".")>-1?"."+It.split(".").pop():""}`,new Blob([qe.file],{type:qe.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(Qe,_e,Ze)=>{try{console.log("\u8FDB\u5EA6",Qe,_e,Ze);const Ue=xe.findIndex(Fe=>Fe.name===It);xe[Ue].file.percent=Qe*100,xe[Ue].tempCheckpoint=_e,Te([...xe])}catch(Ue){}},checkpoint:xe[xe.findIndex(Qe=>Qe.name===It)].tempCheckpoint,callback:{customValue:{id:It+""},url:(Ve=ht==null?void 0:ht.data)==null?void 0:Ve.callback_url,host:ht==null?void 0:ht.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,ge.rz)(st)}}).then(function(Qe){var _e,Ze,Ue;const Fe=xe.findIndex(nt=>nt.name===It);let Ne="done";if(((_e=Qe.data)==null?void 0:_e.status)===0){qe.response=(Ze=Qe.data)==null?void 0:Ze.data;const nt=xe.findIndex(gt=>gt.name===It);xe[nt].status="done",xe[nt].file.status="done"}else E.ZP.warning((Ue=Qe.data)==null?void 0:Ue.message),Ne="error";xe[Fe].status=Ne,xe[Fe].file.status=Ne,De.onChange(xe),Pe(Qe==null?void 0:Qe.data)}).catch(function(Qe){xe[xe.findIndex(_e=>_e.name===It)].status="error",xe[xe.findIndex(_e=>_e.name===It)].file.status="error",E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),Te([...xe]),De.onChange(xe),ke(Qe),console.log("err:",Qe)})}catch(Qe){}})});return(0,ve.useEffect)(()=>{xe.every(qe=>qe==="done"||qe==="error")&&De.onComplete(xe)},[xe]),(0,ve.useEffect)(()=>{we&&(Ke==null||Ke.cancel())},[we]),(0,ve.useEffect)(()=>{De.uploading&&xe.map(qe=>ce(void 0,null,function*(){var st;if((!qe.status||qe.status==="error")&&!we){qe.status="uploading",qe.file.status="uploading";const ct=yield tt(qe,{login:(st=je==null?void 0:je.userInfo)==null?void 0:st.login,container_type:De.container_type,container_id:De.container_id,description:De.description,realFileName:De.realFileName})}}))},[De.uploading]),ve.createElement(fe,te(b({},Me),{height:De.height,className:De.className}),ve.createElement("p",{className:"ant-upload-hint"},De.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};Ht.ZP=(0,ie.connect)(({loading:Ee,globalSetting:Be,user:je})=>({globalSetting:Be,loading:Ee.models.competitions,user:je}))(me)},33471:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return je}});var ve=be(59301),Xe=be(24459),E=be(43418),ge=be(78241),Ae=be(8591),ue=be(71418),le=be(17574),ie=be(95237),se=be(43604),ae=be(6848),oe=be(92832),re={currentPrimary:"currentPrimary___NPWiR",currentDelete:"currentDelete___UEfhf",DirectoryTree:"DirectoryTree___xPxCY",EditDom:"EditDom___seNxC"},ne=be(59579),z=be(63623),a=be(57816),y=be(15965),x=Object.defineProperty,b=Object.defineProperties,te=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,ce=Object.prototype.hasOwnProperty,fe=Object.prototype.propertyIsEnumerable,he=(we,De,xe)=>De in we?x(we,De,{enumerable:!0,configurable:!0,writable:!0,value:xe}):we[De]=xe,de=(we,De)=>{for(var xe in De||(De={}))ce.call(De,xe)&&he(we,xe,De[xe]);if(ee)for(var xe of ee(De))fe.call(De,xe)&&he(we,xe,De[xe]);return we},pe=(we,De)=>b(we,te(De)),ye=(we,De)=>{var xe={};for(var Te in we)ce.call(we,Te)&&De.indexOf(Te)<0&&(xe[Te]=we[Te]);if(we!=null&&ee)for(var Te of ee(we))De.indexOf(Te)<0&&fe.call(we,Te)&&(xe[Te]=we[Te]);return xe},me=(we,De,xe)=>new Promise((Te,Ke)=>{var Ye=qe=>{try{tt(xe.next(qe))}catch(st){Ke(st)}},Me=qe=>{try{tt(xe.throw(qe))}catch(st){Ke(st)}},tt=qe=>qe.done?Te(qe.value):Promise.resolve(qe.value).then(Ye,Me);tt((xe=xe.apply(we,De)).next())});const Ee=(we=[])=>we==null?void 0:we.map(De=>pe(de({},De),{title:(De==null?void 0:De.value)||"",key:De==null?void 0:De.id,isLeaf:!0})),Be=we=>{var De=we,{user:xe,children:Te,isShowComponent:Ke=!0,ModalProps:Ye={},onDataSelect:Me}=De,tt=ye(De,["user","children","isShowComponent","ModalProps","onDataSelect"]);const[qe,st]=E.default.useModal(),[ct]=ge.default.useForm(),[lt,at]=(0,ve.useState)([]),[ut,At]=(0,ve.useState)(!1),[bt,It]=(0,ve.useState)(!1),[,ht,dt,$e]=(0,ne.U)(z.qE,{page:1,limit:9999}),[,,Pe]=(0,ne.U)(z.V8,{}),[,,ke]=(0,ne.U)(z.B$,{}),[,,Ve]=(0,ne.U)(z.DH,{}),[,,Qe]=(0,ne.U)(z.bJ,{}),_e=()=>{At(!1),ct.resetFields(),It(!1)},Ze=Fe=>me(void 0,null,function*(){const{node:Ne,dragNode:nt,event:gt}=Fe,St=Fe.node.pos.split("-"),wt=Fe.dropPosition-Number(St[St.length-1]);if(wt==0){Ae.ZP.warning("\u65E0\u6CD5\u79FB\u52A8\u5230\u5185\u90E8\u4F4D\u7F6E");return}if(wt==1&&(nt==null?void 0:nt.item_index)==(Ne==null?void 0:Ne.item_index)+1){Ae.ZP.warning("\u672A\u79FB\u52A8\u4F4D\u7F6E");return}const Bt=yield Qe({id:nt==null?void 0:nt.key,position:wt==-1?1:(nt==null?void 0:nt.item_index)>(Ne==null?void 0:Ne.item_index)?(Ne==null?void 0:Ne.item_index)+1:Ne==null?void 0:Ne.item_index});(Bt==null?void 0:Bt.status)===0&&(Ae.ZP.success("\u79FB\u52A8\u6210\u529F"),dt({},!0))}),Ue=Fe=>me(void 0,null,function*(){let Ne={};bt?Ne=yield ke(de({},Fe)):Ne=yield Ve(de({},Fe)),(Ne==null?void 0:Ne.status)==0&&(Ae.ZP.success((Ne==null?void 0:Ne.message)||(bt?"\u6DFB\u52A0\u6210\u529F":"\u66F4\u65B0\u6210\u529F")),dt({},!0),_e())});return(0,ve.useEffect)(()=>{Ye!=null&&Ye.open&&dt({},!0)},[Ye==null?void 0:Ye.open]),(0,ve.useEffect)(()=>{var Fe;at(Ee((Fe=$e==null?void 0:$e.data)==null?void 0:Fe.list))},[$e]),Ke?ve.createElement(ve.Fragment,null,st,Te,ve.createElement(E.default,de({},de({title:"\u5E38\u7528\u8BC4\u8BED",width:640,centered:!0,footer:null,bodyStyle:{padding:"10px 5px 25px"}},Ye)),ve.createElement(ue.Z,{spinning:ht},(lt==null?void 0:lt.length)>0?ve.createElement(ve.Fragment,null,ve.createElement(le.default.DirectoryTree,{height:500,className:re.DirectoryTree,multiple:!0,draggable:{icon:!1},defaultExpandAll:!0,switcherIcon:!1,showIcon:!1,onSelect:Me,treeData:lt,onDrop:Ze,titleRender:Fe=>ve.createElement(ve.Fragment,null,ve.createElement("span",{className:"multi_ellipsis1",style:{flex:1,marginRight:"32px"}},Fe==null?void 0:Fe.title),ve.createElement("div",{className:`${re.EditDom}`},ve.createElement(ie.Z,{wrap:!1,align:"middle",gutter:16},ve.createElement(se.Z,null,ve.createElement(ae.Z,{title:"\u957F\u6309\u53EF\u8FDB\u884C\u62D6\u62FD\u6392\u5E8F"},ve.createElement("i",{className:`iconfont icon-tuodong1 font12 ${re.currentPrimary}`}))),ve.createElement(se.Z,null,ve.createElement(ae.Z,{title:"\u7F16\u8F91"},ve.createElement("i",{className:`iconfont icon-bianji11 font12 ${re.currentPrimary}`,onClick:Ne=>{Ne.stopPropagation(),ct.setFieldsValue(de({},Fe)),At(!0)}}))),ve.createElement(se.Z,null,ve.createElement(ae.Z,{title:"\u5220\u9664"},ve.createElement("i",{className:`iconfont icon-shanchu14 font12 ${re.currentDelete}`,onClick:Ne=>{Ne.stopPropagation(),qe.confirm({icon:null,title:"\u5220\u9664\u5E38\u7528\u8BC4\u8BED",centered:!0,content:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u5E38\u7528\u8BC4\u8BED\u5417\uFF1F",onOk:()=>me(void 0,null,function*(){const nt=yield Pe({id:Fe==null?void 0:Fe.key});(nt==null?void 0:nt.status)==0&&(Ae.ZP.success((nt==null?void 0:nt.message)||"\u5220\u9664\u6210\u529F"),dt({},!0))})})}}))))))}),ve.createElement(y.op,{className:"ml20 mt20",icon:ve.createElement("i",{className:"iconfont icon-xiaojiahao"}),style:{borderRadius:"4px"},onClick:()=>{It(!0),At(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED")):ve.createElement(a.Z,{styles:{margin:"30px auto"},customText:ve.createElement("span",null,"\u6682\u65E0\u5E38\u7528\u8BC4\u8BED\uFF0C\u4F60\u53EF\u4EE5",ve.createElement("a",{onClick:()=>{It(!0),At(!0)}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED"))}))),ve.createElement(E.default,{title:bt?"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED":"\u7F16\u8F91\u5E38\u7528\u8BC4\u8BED",open:ut,okText:bt?"\u6DFB\u52A0":"\u786E\u5B9A",onCancel:()=>{_e()},onOk:()=>{ct.submit()}},ve.createElement(ge.default,{form:ct,onFinish:Ue},bt&&ve.createElement("span",{className:"font14",style:{color:"#191919"}},"\u6DFB\u52A0\u5E38\u7528\u8BC4\u8BED\uFF0C\u53EF\u4EE5\u5E2E\u52A9\u4F60\u63D0\u9AD8\u8BC4\u9605\u4F5C\u4E1A\u7684\u6548\u7387"),ve.createElement(ge.default.Item,{hidden:!0,name:"id"}),ve.createElement(ge.default.Item,{className:"mt10",name:"value"},ve.createElement(oe.default.TextArea,{placeholder:"\u8F93\u5165\u5E38\u7528\u8BC4\u8BED\u3002\u4F8B\u5982\uFF1A\u4F60\u7684\u7F16\u7A0B\u4F5C\u4E1A\u6574\u4F53\u8868\u73B0\u826F\u597D\uFF0C\u4F46\u4ECD\u6709\u4E00\u4E9B\u5C0F\u7684\u6539\u8FDB\u7A7A\u95F4\u3002",autoSize:{minRows:8,maxRows:9},maxLength:100,showCount:!0}))))):null};var je=(0,Xe.connect)(({loading:we,user:De})=>({user:De,loading:we.effects}))(Be)},85469:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return ar}});var ve=be(59301),Xe=be(50484),E=be(15277),ge=be(92310),Ae=be.n(ge),ue=be(92413),le=be(33708),ie=be(400),se=be(33606),ae=be(39559),oe=be(37061),re=be(55468),ne=be(18929),z=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],a=ve.createContext(null),y=0;function x(On,An){var nr=ve.useState(function(){return y+=1,String(y)}),vn=(0,se.Z)(nr,1),Rn=vn[0],Ar=ve.useContext(a),Hr={data:An,canPreview:On};return ve.useEffect(function(){if(Ar)return Ar.register(Rn,Hr)},[]),ve.useEffect(function(){Ar&&Ar.register(Rn,Hr)},[On,An]),Rn}function b(On){return new Promise(function(An){var nr=document.createElement("img");nr.onerror=function(){return An(!1)},nr.onload=function(){return An(!0)},nr.src=On})}function te(On){var An=On.src,nr=On.isCustomPlaceholder,vn=On.fallback,Rn=(0,ve.useState)(nr?"loading":"normal"),Ar=(0,se.Z)(Rn,2),Hr=Ar[0],Wr=Ar[1],wi=(0,ve.useRef)(!1),Bi=Hr==="error";(0,ve.useEffect)(function(){b(An).then(function(qn){qn||Wr("error")})},[An]),(0,ve.useEffect)(function(){nr&&!wi.current?Wr("loading"):Bi&&Wr("normal")},[An]);var vi=function(){Wr("normal")},di=function(Yn){wi.current=!1,Hr==="loading"&&Yn!=null&&Yn.complete&&(Yn.naturalWidth||Yn.naturalHeight)&&(wi.current=!0,vi())},ai=Bi&&vn?{src:vn}:{onLoad:vi,src:An};return[di,ai,Hr]}var ee=be(86923),ce=be(8224),fe=be(10228),he=be(48736);function de(On,An,nr,vn){var Rn=An+nr,Ar=(nr-vn)/2;if(nr>vn){if(An>0)return(0,ie.Z)({},On,Ar);if(An<0&&Rnvn)return(0,ie.Z)({},On,An<0?Ar:-Ar);return{}}function pe(On,An,nr,vn){var Rn=(0,re.g1)(),Ar=Rn.width,Hr=Rn.height,Wr=null;return On<=Ar&&An<=Hr?Wr={x:0,y:0}:(On>Ar||An>Hr)&&(Wr=(0,le.Z)((0,le.Z)({},de("x",nr,On,Ar)),de("y",vn,An,Hr))),Wr}var ye=be(13697),me=be(16089),Ee={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Be(On,An,nr,vn){var Rn=(0,ve.useRef)(null),Ar=(0,ve.useRef)([]),Hr=(0,ve.useState)(Ee),Wr=(0,se.Z)(Hr,2),wi=Wr[0],Bi=Wr[1],vi=function(Yn){Bi(Ee),vn&&!(0,ye.Z)(Ee,wi)&&vn({transform:Ee,action:Yn})},di=function(Yn,Ki){Rn.current===null&&(Ar.current=[],Rn.current=(0,me.Z)(function(){Bi(function(xi){var ta=xi;return Ar.current.forEach(function(hi){ta=(0,le.Z)((0,le.Z)({},ta),hi)}),Rn.current=null,vn==null||vn({transform:ta,action:Ki}),ta})})),Ar.current.push((0,le.Z)((0,le.Z)({},wi),Yn))},ai=function(Yn,Ki,xi,ta){var hi=On.current,Qn=hi.width,kr=hi.height,ni=hi.offsetWidth,Kr=hi.offsetHeight,Qi=hi.offsetLeft,qi=hi.offsetTop,Ni=Yn,Xi=wi.scale*Yn;Xi>nr?(Ni=nr/wi.scale,Xi=nr):Xi1,La=Vi&&hi>=1,Va=Be(oi,Qi,Ni,sr),Ia=Va.transform,eo=Va.resetTransform,Ya=Va.updateTransform,po=Va.dispatchZoomChange,zo=(0,ve.useState)(!0),fn=(0,se.Z)(zo,2),Jn=fn[0],Tn=fn[1],Vn=Ia.rotate,Cr=Ia.scale,pr=Ia.x,Yr=Ia.y,Zr=Ae()((0,ie.Z)({},"".concat(nr,"-moving"),$i));(0,ve.useEffect)(function(){Jn||Tn(!0)},[Jn]);var Vr=function(){eo("close")},qr=function(){po(Te+ni,"zoomIn")},$n=function(){po(Te/(Te+ni),"zoomOut")},pi=function(){Ya({rotate:Vn+90},"rotateRight")},Oi=function(){Ya({rotate:Vn-90},"rotateLeft")},Wi=function(){Ya({flipX:!Ia.flipX},"flipX")},ji=function(){Ya({flipY:!Ia.flipY},"flipY")},Ai=function(Tr){Tr==null||Tr.preventDefault(),Tr==null||Tr.stopPropagation(),xi>0&&(Tn(!1),eo("prev"),Rr==null||Rr(xi-1,xi))},Sa=function(Tr){Tr==null||Tr.preventDefault(),Tr==null||Tr.stopPropagation(),xi0&&(la=Te/la),po(la,"wheel",Tr.clientX,Tr.clientY)}},mo=function(Tr){!Bi||!ia||(Tr.keyCode===fe.Z.LEFT?Ai():Tr.keyCode===fe.Z.RIGHT&&Sa())},or=function(Tr){Bi&&(Cr!==1?Ya({x:0,y:0,scale:1},"doubleClick"):po(Te+ni,"doubleClick",Tr.clientX,Tr.clientY))};(0,ve.useEffect)(function(){var $r,Tr,ea,da;if(Wr){ea=(0,ce.Z)(window,"mouseup",Oa,!1),da=(0,ce.Z)(window,"mousemove",fa,!1);try{window.top!==window.self&&($r=(0,ce.Z)(window.top,"mouseup",Oa,!1),Tr=(0,ce.Z)(window.top,"mousemove",fa,!1))}catch(la){(0,he.Kp)(!1,"[rc-image] ".concat(la))}}return function(){var la,ya,ga,ao;(la=ea)===null||la===void 0||la.remove(),(ya=da)===null||ya===void 0||ya.remove(),(ga=$r)===null||ga===void 0||ga.remove(),(ao=Tr)===null||ao===void 0||ao.remove()}},[Bi,$i,pr,Yr,Vn,Wr]),(0,ve.useEffect)(function(){var $r=(0,ce.Z)(window,"keydown",mo,!1);return function(){$r.remove()}},[Bi,ia,xi]);var ei=ve.createElement(tt,(0,ue.Z)({},Li,{width:An.width,height:An.height,imgRef:oi,className:"".concat(nr,"-img"),alt:Rn,style:{transform:"translate3d(".concat(Ia.x,"px, ").concat(Ia.y,"px, 0) scale3d(").concat(Ia.flipX?"-":"").concat(Cr,", ").concat(Ia.flipY?"-":"").concat(Cr,", 1) rotate(").concat(Vn,"deg)"),transitionDuration:!Jn&&"0s"},fallback:Ar,src:vn,onWheel:Ha,onMouseDown:lo,onDoubleClick:or}));return ve.createElement(ve.Fragment,null,ve.createElement(ee.Z,(0,ue.Z)({transitionName:Pa,maskTransitionName:Qa,closable:!1,keyboard:!0,prefixCls:nr,onClose:wi,visible:Bi,wrapClassName:Zr,rootClassName:ai,getContainer:Yn},gi,{afterClose:Vr}),ve.createElement("div",{className:"".concat(nr,"-img-wrapper")},br?br(ei,(0,le.Z)({transform:Ia},Vi?{current:xi}:{})):ei)),ve.createElement(xe,{visible:Bi,transform:Ia,maskTransitionName:Qa,closeIcon:qn,getContainer:Yn,prefixCls:nr,rootClassName:ai,icons:di,countRender:Qn,showSwitch:ia,showProgress:La,current:xi,count:hi,scale:Cr,minScale:Qi,maxScale:Ni,toolbarRender:Ji,onSwitchLeft:Ai,onSwitchRight:Sa,onZoomIn:qr,onZoomOut:$n,onRotateRight:pi,onRotateLeft:Oi,onFlipX:Wi,onFlipY:ji,onClose:wi}))},st=qe,ct=be(26407);function lt(On){var An=ve.useState({}),nr=(0,se.Z)(An,2),vn=nr[0],Rn=nr[1],Ar=ve.useCallback(function(Wr,wi){return Rn(function(Bi){return(0,le.Z)((0,le.Z)({},Bi),{},(0,ie.Z)({},Wr,wi))}),function(){Rn(function(Bi){var vi=(0,le.Z)({},Bi);return delete vi[Wr],vi})}},[]),Hr=ve.useMemo(function(){return On?On.map(function(Wr){if(typeof Wr=="string")return{data:{src:Wr}};var wi={};return Object.keys(Wr).forEach(function(Bi){["src"].concat((0,ct.Z)(z)).includes(Bi)&&(wi[Bi]=Wr[Bi])}),{data:wi}}):Object.keys(vn).reduce(function(Wr,wi){var Bi=vn[wi],vi=Bi.canPreview,di=Bi.data;return vi&&Wr.push({data:di,id:wi}),Wr},[])},[On,vn]);return[Hr,Ar]}var at=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],ut=["src"],At=function(An){var nr,vn=An.previewPrefixCls,Rn=vn===void 0?"rc-image-preview":vn,Ar=An.children,Hr=An.icons,Wr=Hr===void 0?{}:Hr,wi=An.items,Bi=An.preview,vi=An.fallback,di=(0,ae.Z)(Bi)==="object"?Bi:{},ai=di.visible,qn=di.onVisibleChange,Yn=di.getContainer,Ki=di.current,xi=di.movable,ta=di.minScale,hi=di.maxScale,Qn=di.countRender,kr=di.closeIcon,ni=di.onChange,Kr=di.onTransform,Qi=di.toolbarRender,qi=di.imageRender,Ni=(0,oe.Z)(di,at),Xi=lt(wi),Pa=(0,se.Z)(Xi,2),Fi=Pa[0],Qa=Pa[1],br=(0,ne.Z)(0,{value:Ki}),Li=(0,se.Z)(br,2),Ji=Li[0],sr=Li[1],Rr=(0,ve.useState)(!1),gi=(0,se.Z)(Rr,2),oi=gi[0],na=gi[1],Hi=((nr=Fi[Ji])===null||nr===void 0?void 0:nr.data)||{},sa=Hi.src,$i=(0,oe.Z)(Hi,ut),Gi=(0,ne.Z)(!!ai,{value:ai,onChange:function(Vn,Cr){qn==null||qn(Vn,Cr,Ji)}}),Vi=(0,se.Z)(Gi,2),ia=Vi[0],La=Vi[1],Va=(0,ve.useState)(null),Ia=(0,se.Z)(Va,2),eo=Ia[0],Ya=Ia[1],po=ve.useCallback(function(Tn,Vn,Cr){var pr=Fi.findIndex(function(Yr){return Yr.id===Tn});La(!0),Ya({x:Vn,y:Cr}),sr(pr<0?0:pr),na(!0)},[Fi]);ve.useEffect(function(){ia?oi||sr(0):na(!1)},[ia]);var zo=function(Vn,Cr){sr(Vn),ni==null||ni(Vn,Cr)},fn=function(){La(!1),Ya(null)},Jn=ve.useMemo(function(){return{register:Qa,onPreview:po}},[Qa,po]);return ve.createElement(a.Provider,{value:Jn},Ar,ve.createElement(st,(0,ue.Z)({"aria-hidden":!ia,movable:xi,visible:ia,prefixCls:Rn,closeIcon:kr,onClose:fn,mousePosition:eo,imgCommonProps:$i,src:sa,fallback:vi,icons:Wr,minScale:ta,maxScale:hi,getContainer:Yn,current:Ji,count:Fi.length,countRender:Qn,onTransform:Kr,toolbarRender:Qi,imageRender:qi,onChange:zo},Ni)))},bt=At,It=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],ht=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],dt=function(An){var nr=An.src,vn=An.alt,Rn=An.onPreviewClose,Ar=An.prefixCls,Hr=Ar===void 0?"rc-image":Ar,Wr=An.previewPrefixCls,wi=Wr===void 0?"".concat(Hr,"-preview"):Wr,Bi=An.placeholder,vi=An.fallback,di=An.width,ai=An.height,qn=An.style,Yn=An.preview,Ki=Yn===void 0?!0:Yn,xi=An.className,ta=An.onClick,hi=An.onError,Qn=An.wrapperClassName,kr=An.wrapperStyle,ni=An.rootClassName,Kr=(0,oe.Z)(An,It),Qi=Bi&&Bi!==!0,qi=(0,ae.Z)(Ki)==="object"?Ki:{},Ni=qi.src,Xi=qi.visible,Pa=Xi===void 0?void 0:Xi,Fi=qi.onVisibleChange,Qa=Fi===void 0?Rn:Fi,br=qi.getContainer,Li=br===void 0?void 0:br,Ji=qi.mask,sr=qi.maskClassName,Rr=qi.movable,gi=qi.icons,oi=qi.scaleStep,na=qi.minScale,Hi=qi.maxScale,sa=qi.imageRender,$i=qi.toolbarRender,Gi=(0,oe.Z)(qi,ht),Vi=Ni!=null?Ni:nr,ia=(0,ne.Z)(!!Pa,{value:Pa,onChange:Qa}),La=(0,se.Z)(ia,2),Va=La[0],Ia=La[1],eo=te({src:nr,isCustomPlaceholder:Qi,fallback:vi}),Ya=(0,se.Z)(eo,3),po=Ya[0],zo=Ya[1],fn=Ya[2],Jn=(0,ve.useState)(null),Tn=(0,se.Z)(Jn,2),Vn=Tn[0],Cr=Tn[1],pr=(0,ve.useContext)(a),Yr=!!Ki,Zr=function(){Ia(!1),Cr(null)},Vr=Ae()(Hr,Qn,ni,(0,ie.Z)({},"".concat(Hr,"-error"),fn==="error")),qr=(0,ve.useMemo)(function(){var Wi={};return z.forEach(function(ji){An[ji]!==void 0&&(Wi[ji]=An[ji])}),Wi},z.map(function(Wi){return An[Wi]})),$n=(0,ve.useMemo)(function(){return(0,le.Z)((0,le.Z)({},qr),{},{src:Vi})},[Vi,qr]),pi=x(Yr,$n),Oi=function(ji){var Ai=(0,re.os)(ji.target),Sa=Ai.left,Oa=Ai.top;pr?pr.onPreview(pi,Sa,Oa):(Cr({x:Sa,y:Oa}),Ia(!0)),ta==null||ta(ji)};return ve.createElement(ve.Fragment,null,ve.createElement("div",(0,ue.Z)({},Kr,{className:Vr,onClick:Yr?Oi:ta,style:(0,le.Z)({width:di,height:ai},kr)}),ve.createElement("img",(0,ue.Z)({},qr,{className:Ae()("".concat(Hr,"-img"),(0,ie.Z)({},"".concat(Hr,"-img-placeholder"),Bi===!0),xi),style:(0,le.Z)({height:ai},qn),ref:po},zo,{width:di,height:ai,onError:hi})),fn==="loading"&&ve.createElement("div",{"aria-hidden":"true",className:"".concat(Hr,"-placeholder")},Bi),Ji&&Yr&&ve.createElement("div",{className:Ae()("".concat(Hr,"-mask"),sr),style:{display:(qn==null?void 0:qn.display)==="none"?"none":void 0}},Ji)),!pr&&Yr&&ve.createElement(st,(0,ue.Z)({"aria-hidden":!Va,visible:Va,prefixCls:wi,onClose:Zr,mousePosition:Vn,src:Vi,alt:vn,fallback:vi,getContainer:Li,icons:gi,movable:Rr,scaleStep:oi,minScale:na,maxScale:Hi,rootClassName:ni,imageRender:sa,imgCommonProps:qr,toolbarRender:$i},Gi)))};dt.PreviewGroup=bt,dt.displayName="Image";var $e=dt,Pe=$e,ke=be(62892),Ve=be(36355),Qe=be(31724),_e=be(99267),Ze=be(33853),Ue=be(38819),Fe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},Ne=Fe,nt=be(7657),gt=function(An,nr){return ve.createElement(nt.Z,(0,ue.Z)({},An,{ref:nr,icon:Ne}))},St=ve.forwardRef(gt),wt=St,Bt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},Nt=Bt,pt=function(An,nr){return ve.createElement(nt.Z,(0,ue.Z)({},An,{ref:nr,icon:Nt}))},Ft=ve.forwardRef(pt),Lt=Ft,$t={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},Vt=$t,en=function(An,nr){return ve.createElement(nt.Z,(0,ue.Z)({},An,{ref:nr,icon:Vt}))},cn=ve.forwardRef(en),pn=cn,xn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},ur=xn,Dr=function(An,nr){return ve.createElement(nt.Z,(0,ue.Z)({},An,{ref:nr,icon:ur}))},Nn=ve.forwardRef(Dr),jn=Nn,dn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},Ln=dn,er=function(An,nr){return ve.createElement(nt.Z,(0,ue.Z)({},An,{ref:nr,icon:Ln}))},Ur=ve.forwardRef(er),Sr=Ur,Or=be(64993),Mr=be(73819),Nr=be(17313),Jr=be(29878),Gn=be(1950),Dn=be(83116),Wn=be(37613);const Pi=On=>({position:On||"absolute",inset:0}),ui=On=>{const{iconCls:An,motionDurationSlow:nr,paddingXXS:vn,marginXXS:Rn,prefixCls:Ar,colorTextLightSolid:Hr}=On;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Hr,background:new Or.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${nr}`,[`.${Ar}-mask-info`]:Object.assign(Object.assign({},Nr.vS),{padding:`0 ${vn}px`,[An]:{marginInlineEnd:Rn,svg:{verticalAlign:"baseline"}}})}},ii=On=>{const{previewCls:An,modalMaskBg:nr,paddingSM:vn,marginXL:Rn,margin:Ar,paddingLG:Hr,previewOperationColorDisabled:Wr,previewOperationHoverColor:wi,motionDurationSlow:Bi,iconCls:vi,colorTextLightSolid:di}=On,ai=new Or.C(nr).setAlpha(.1),qn=ai.clone().setAlpha(.2);return{[`${An}-footer`]:{position:"fixed",bottom:Rn,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:On.previewOperationColor},[`${An}-progress`]:{marginBottom:Ar},[`${An}-close`]:{position:"fixed",top:Rn,right:{_skip_check_:!0,value:Rn},display:"flex",color:di,backgroundColor:ai.toRgbString(),borderRadius:"50%",padding:vn,outline:0,border:0,cursor:"pointer",transition:`all ${Bi}`,"&:hover":{backgroundColor:qn.toRgbString()},[`& > ${vi}`]:{fontSize:On.previewOperationSize}},[`${An}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Hr}px`,backgroundColor:ai.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:vn,padding:vn,cursor:"pointer",transition:`all ${Bi}`,userSelect:"none",[`&:not(${An}-operations-operation-disabled):hover > ${vi}`]:{color:wi},"&-disabled":{color:Wr,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${vi}`]:{fontSize:On.previewOperationSize}}}}},zn=On=>{const{modalMaskBg:An,iconCls:nr,previewOperationColorDisabled:vn,previewCls:Rn,zIndexPopup:Ar,motionDurationSlow:Hr}=On,Wr=new Or.C(An).setAlpha(.1),wi=Wr.clone().setAlpha(.2);return{[`${Rn}-switch-left, ${Rn}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Ar+1,display:"flex",alignItems:"center",justifyContent:"center",width:On.imagePreviewSwitchSize,height:On.imagePreviewSwitchSize,marginTop:-On.imagePreviewSwitchSize/2,color:On.previewOperationColor,background:Wr.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Hr}`,userSelect:"none","&:hover":{background:wi.toRgbString()},"&-disabled":{"&, &:hover":{color:vn,background:"transparent",cursor:"not-allowed",[`> ${nr}`]:{cursor:"not-allowed"}}},[`> ${nr}`]:{fontSize:On.previewOperationSize}},[`${Rn}-switch-left`]:{insetInlineStart:On.marginSM},[`${Rn}-switch-right`]:{insetInlineEnd:On.marginSM}}},Gt=On=>{const{motionEaseOut:An,previewCls:nr,motionDurationSlow:vn,componentCls:Rn}=On;return[{[`${Rn}-preview-root`]:{[nr]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${nr}-body`]:Object.assign(Object.assign({},Pi()),{overflow:"hidden"}),[`${nr}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${vn} ${An} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Pi()),{transition:`transform ${vn} ${An} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${nr}-moving`]:{[`${nr}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Rn}-preview-root`]:{[`${nr}-wrap`]:{zIndex:On.zIndexPopup}}},{[`${Rn}-preview-operations-wrapper`]:{position:"fixed",zIndex:On.zIndexPopup+1},"&":[ii(On),zn(On)]}]},Mt=On=>{const{componentCls:An}=On;return{[An]:{position:"relative",display:"inline-block",[`${An}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${An}-img-placeholder`]:{backgroundColor:On.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${An}-mask`]:Object.assign({},ui(On)),[`${An}-mask:hover`]:{opacity:1},[`${An}-placeholder`]:Object.assign({},Pi())}}},Zt=On=>{const{previewCls:An}=On;return{[`${An}-root`]:(0,Jr._y)(On,"zoom"),"&":(0,Gn.J$)(On,!0)}};var Un=(0,Dn.Z)("Image",On=>{const An=`${On.componentCls}-preview`,nr=(0,Wn.TS)(On,{previewCls:An,modalMaskBg:new Or.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:On.controlHeightLG});return[Mt(nr),Gt(nr),(0,Mr.QA)((0,Wn.TS)(nr,{componentCls:An})),Zt(nr)]},On=>({zIndexPopup:On.zIndexPopupBase+80,previewOperationColor:new Or.C(On.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new Or.C(On.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new Or.C(On.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:On.fontSizeIcon*1.5})),Br=function(On,An){var nr={};for(var vn in On)Object.prototype.hasOwnProperty.call(On,vn)&&An.indexOf(vn)<0&&(nr[vn]=On[vn]);if(On!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rn=0,vn=Object.getOwnPropertySymbols(On);Rn{var{previewPrefixCls:An,preview:nr}=On,vn=Br(On,["previewPrefixCls","preview"]);const{getPrefixCls:Rn}=ve.useContext(Ve.E_),Ar=Rn("image",An),Hr=`${Ar}-preview`,Wr=Rn(),[wi,Bi]=Un(Ar),vi=ve.useMemo(()=>{var di;if(nr===!1)return nr;const ai=typeof nr=="object"?nr:{},qn=Ae()(Bi,(di=ai.rootClassName)!==null&&di!==void 0?di:"");return Object.assign(Object.assign({},ai),{transitionName:(0,ke.m)(Wr,"zoom",ai.transitionName),maskTransitionName:(0,ke.m)(Wr,"fade",ai.maskTransitionName),rootClassName:qn})},[nr]);return wi(ve.createElement(Pe.PreviewGroup,Object.assign({preview:vi,previewPrefixCls:Hr,icons:Xn},vn)))},ci=function(On,An){var nr={};for(var vn in On)Object.prototype.hasOwnProperty.call(On,vn)&&An.indexOf(vn)<0&&(nr[vn]=On[vn]);if(On!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Rn=0,vn=Object.getOwnPropertySymbols(On);Rn{const{prefixCls:An,preview:nr,className:vn,rootClassName:Rn,style:Ar}=On,Hr=ci(On,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:Wr,locale:wi=Qe.Z,getPopupContainer:Bi,image:vi}=ve.useContext(Ve.E_),di=Wr("image",An),ai=Wr(),qn=wi.Image||Qe.Z.Image,[Yn,Ki]=Un(di),xi=Ae()(Rn,Ki),ta=Ae()(vn,Ki,vi==null?void 0:vi.className),hi=ve.useMemo(()=>{if(nr===!1)return nr;const kr=typeof nr=="object"?nr:{},{getContainer:ni}=kr,Kr=ci(kr,["getContainer"]);return Object.assign(Object.assign({mask:ve.createElement("div",{className:`${di}-mask-info`},ve.createElement(E.Z,null),qn==null?void 0:qn.preview),icons:Xn},Kr),{getContainer:ni||Bi,transitionName:(0,ke.m)(ai,"zoom",kr.transitionName),maskTransitionName:(0,ke.m)(ai,"fade",kr.maskTransitionName)})},[nr,qn]),Qn=Object.assign(Object.assign({},vi==null?void 0:vi.style),Ar);return Yn(ve.createElement(Pe,Object.assign({prefixCls:di,preview:hi,rootClassName:xi,className:ta,style:Qn},Hr)))};cr.PreviewGroup=gr;var mi=cr,ar=()=>{const[On,An]=(0,ve.useState)(""),[nr,vn]=(0,ve.useState)(0);let[Rn,Ar]=(0,ve.useState)(),[Hr,Wr]=(0,ve.useState)();const[wi,Bi]=(0,ve.useState)(!1),vi=(0,ve.useRef)("");(0,ve.useEffect)(()=>Xe.Z.subscribe("preview-image",ni=>{An(ni),console.log(hi.current),document.body.style.overflow="hidden"}),[]),(0,ve.useEffect)(()=>(document.addEventListener("keydown",di),()=>{document.removeEventListener("keydown",di)}),[]),(0,ve.useEffect)(()=>{vi.current=On},[On]);function di(kr){kr.keyCode==27&&vi.current&&ai()}function ai(){document.body.style.overflow="auto",Ar(void 0),Wr(void 0),vn(0),An("")}function qn(){vn(nr+90)}function Yn(){Rn=hi.current.width*1.1,Hr=hi.current.height*1.1,Wr(Hr),Ar(Rn)}function Ki(){Rn=hi.current.width/1.1,Hr=hi.current.height/1.1,Wr(Hr),Ar(Rn)}const xi=(0,ve.useRef)(),ta=(0,ve.useRef)(),hi=(0,ve.useRef)(),Qn=kr=>{(kr.nativeEvent.target===xi.current||kr.nativeEvent.target===ta.current)&&ai()};return ve.createElement(ve.Fragment,null,On?ve.createElement("div",null,ve.createElement("div",{className:"preview-wrp-group",ref:ta},ve.createElement(mi,{className:"image-preview",src:On,style:{display:"none"},preview:{visible:!0,src:On,movable:!1,onVisibleChange:kr=>{An("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},73278:function(nn,Ht,be){"use strict";be.d(Ht,{h:function(){return ce}});var ve=be(59301),Xe=be(57809),E=be(78241),ge=be(3113),Ae=be(89780),ue=be.n(Ae),le=be(78780),ie=be(19136),se=Object.defineProperty,ae=Object.defineProperties,oe=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,a=(fe,he,de)=>he in fe?se(fe,he,{enumerable:!0,configurable:!0,writable:!0,value:de}):fe[he]=de,y=(fe,he)=>{for(var de in he||(he={}))ne.call(he,de)&&a(fe,de,he[de]);if(re)for(var de of re(he))z.call(he,de)&&a(fe,de,he[de]);return fe},x=(fe,he)=>ae(fe,oe(he));const b=Xe.default.Option,te={labelCol:{span:4},wrapperCol:{span:20}},ee={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"]};Ht.Z=({callback:fe,onCancel:he})=>{const[de,pe]=(0,ve.useState)("python");function ye(Ee){pe(ee[Ee][1])}function me(Ee){fe(Ee)}return ve.createElement(E.default,x(y({},te),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:me,style:{width:500}}),ve.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ve.createElement(Xe.default,{getPopupContainer:Ee=>Ee.parentNode,onChange:ye},Object.keys(ee).map(Ee=>ve.createElement(b,{key:Ee,value:Ee},ee[Ee][0])))),ve.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ve.createElement(ce,{mode:de})),ve.createElement("div",{className:"flex-container flex-end"},ve.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ve.createElement(ge.ZP,{type:"ghost",onClick:he},"\u53D6\u6D88")))};function ce({value:fe,onChange:he,mode:de,options:pe={}}){const ye=(0,ve.useRef)(),[me,Ee]=(0,ve.useState)();return(0,ve.useEffect)(()=>{if(me){let Be=function(je){const we=je.getValue();he&&he(we)};return me.on("change",Be),()=>{me.off("change",Be)}}},[me,he]),(0,ve.useEffect)(()=>{me&&me.setOption("mode",de)},[me,de]),(0,ve.useEffect)(()=>{me&&(fe!==me.getValue()||fe==="")&&setTimeout(()=>{me.setValue(fe||"")},300)},[me,fe]),(0,ve.useEffect)(()=>{if(ye.current&&!me){const Be=ue().fromTextArea(ye.current,y({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));Ee(Be)}},[ye.current,me]),ve.createElement("div",{className:"my-codemirror-container"},ve.createElement("textarea",{ref:ye}))}},64726:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return zn}});var ve=be(59301),Xe=be(89780),E=be.n(Xe),ge=be(76374),Ae=be(78780),ue=be(6313),le=be(25717),ie=be(99498),se=be(25419),ae=be(67549),oe=be(99325),re=({value:Gt="",className:Mt,showTextOnly:Zt,showLines:Un,style:Br={}})=>{const Xn=(0,ve.useMemo)(()=>"",[Gt]);return ve.createElement(ve.Fragment,null,ve.createElement("div",{dangerouslySetInnerHTML:{__html:Xn}}))},ne=be(59301),z=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,ee=(Gt,Mt,Zt)=>Mt in Gt?z(Gt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Gt[Mt]=Zt,ce=(Gt,Mt)=>{for(var Zt in Mt||(Mt={}))b.call(Mt,Zt)&&ee(Gt,Zt,Mt[Zt]);if(x)for(var Zt of x(Mt))te.call(Mt,Zt)&&ee(Gt,Zt,Mt[Zt]);return Gt},fe=(Gt,Mt)=>a(Gt,y(Mt));let he=[{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 de({onActionCallback:Gt,title:Mt,icon:Zt,actionName:Un,className:Br="",children:Xn}){function hr(){Gt(Un)}return ne.createElement("a",{title:Mt,className:Br,onClick:hr},ne.createElement("i",{className:`${Zt}`}),Xn)}var pe=({watch:Gt,showNullButton:Mt,showNullProgramButton:Zt,onActionCallback:Un,fullScreen:Br,insertTemp:Xn,hidetoolBar:hr,extraUse:gr})=>{const ci=[...he,{title:`${Gt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Gt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!hr&&ci.map((cr,mi)=>ne.createElement("li",{key:mi},cr.actionName?ne.createElement(de,fe(ce({},cr),{onActionCallback:Un})):ne.createElement("span",{className:"v-line"}))),Mt?ne.createElement("li",null,ne.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Un},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Zt?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Un},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Un},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Xn&&ne.createElement("li",null,ne.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Xn}`,onActionCallback:Un},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),gr&&ne.createElement("li",null,gr),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(de,{icon:`${Br?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Br?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Un})))},ye=be(19647),me=be(78241),Ee=be(92832),Be=be(3113),je=Object.defineProperty,we=Object.defineProperties,De=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Te=Object.prototype.hasOwnProperty,Ke=Object.prototype.propertyIsEnumerable,Ye=(Gt,Mt,Zt)=>Mt in Gt?je(Gt,Mt,{enumerable:!0,configurable:!0,writable:!0,value:Zt}):Gt[Mt]=Zt,Me=(Gt,Mt)=>{for(var Zt in Mt||(Mt={}))Te.call(Mt,Zt)&&Ye(Gt,Zt,Mt[Zt]);if(xe)for(var Zt of xe(Mt))Ke.call(Mt,Zt)&&Ye(Gt,Zt,Mt[Zt]);return Gt},tt=(Gt,Mt)=>we(Gt,De(Mt));const qe={labelCol:{span:4},wrapperCol:{span:20}};var st=({callback:Gt,onCancel:Mt})=>{function Zt(Un){Gt(Un)}return ve.createElement(me.default,tt(Me({},qe),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Zt,style:{width:500}}),ve.createElement(me.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ve.createElement(Ee.default,null)),ve.createElement(me.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ve.createElement(Ee.default,null)),ve.createElement("div",{className:"flex-container flex-end"},ve.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ve.createElement(Be.ZP,{type:"ghost",onClick:Mt},"\u53D6\u6D88")))},ct=be(73278),lt=be(56030),at=be(43418),ut=be(95237),At=be(14573),bt=be(59301),It=({callback:Gt,onCancel:Mt})=>{const Zt=document.createElement("canvas"),Un=Zt.getContext("2d");Zt.width=1e3,Zt.height=800,Un.fillStyle="#ffffff",Un.fillRect(0,0,Zt.width,Zt.height);const Br=Zt.toDataURL("image/png");return bt.createElement(at.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},bt.createElement(ut.Z,{style:{height:"100vh"}},bt.createElement(At.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Br,visible:!0,title:String(Date.now())},onOk:Xn=>{Gt({src:Xn.url})},onClose:Mt})))},ht=be(12378);function dt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(dt,go.CommandHandler),dt.prototype.canAlignSelection=function(){var Gt=this.diagram;return!(Gt===null||Gt.isReadOnly||Gt.isModelReadOnly||Gt.selection.count<2)},dt.prototype.alignLeft=function(){var Gt=this.diagram;Gt.startTransaction("aligning left");var Mt=1/0;Gt.selection.each(function(Zt){Zt instanceof go.Link||(Mt=Math.min(Zt.position.x,Mt))}),Gt.selection.each(function(Zt){Zt instanceof go.Link||Zt.move(new go.Point(Mt,Zt.position.y))}),Gt.commitTransaction("aligning left")},dt.prototype.alignRight=function(){var Gt=this.diagram;Gt.startTransaction("aligning right");var Mt=-1/0;Gt.selection.each(function(Zt){if(!(Zt instanceof go.Link)){var Un=Zt.actualBounds.x+Zt.actualBounds.width;Mt=Math.max(Un,Mt)}}),Gt.selection.each(function(Zt){Zt instanceof go.Link||Zt.move(new go.Point(Mt-Zt.actualBounds.width,Zt.position.y))}),Gt.commitTransaction("aligning right")},dt.prototype.alignTop=function(){var Gt=this.diagram;Gt.startTransaction("alignTop");var Mt=1/0;Gt.selection.each(function(Zt){Zt instanceof go.Link||(Mt=Math.min(Zt.position.y,Mt))}),Gt.selection.each(function(Zt){Zt instanceof go.Link||Zt.move(new go.Point(Zt.position.x,Mt))}),Gt.commitTransaction("alignTop")},dt.prototype.alignBottom=function(){var Gt=this.diagram;Gt.startTransaction("aligning bottom");var Mt=-1/0;Gt.selection.each(function(Zt){if(!(Zt instanceof go.Link)){var Un=Zt.actualBounds.y+Zt.actualBounds.height;Mt=Math.max(Un,Mt)}}),Gt.selection.each(function(Zt){Zt instanceof go.Link||Zt.move(new go.Point(Zt.actualBounds.x,Mt-Zt.actualBounds.height))}),Gt.commitTransaction("aligning bottom")},dt.prototype.alignCenterX=function(){var Gt=this.diagram,Mt=Gt.selection.first();if(Mt){Gt.startTransaction("aligning Center X");var Zt=Mt.actualBounds.x+Mt.actualBounds.width/2;Gt.selection.each(function(Un){Un instanceof go.Link||Un.move(new go.Point(Zt-Un.actualBounds.width/2,Un.actualBounds.y))}),Gt.commitTransaction("aligning Center X")}},dt.prototype.alignCenterY=function(){var Gt=this.diagram,Mt=Gt.selection.first();if(Mt){Gt.startTransaction("aligning Center Y");var Zt=Mt.actualBounds.y+Mt.actualBounds.height/2;Gt.selection.each(function(Un){Un instanceof go.Link||Un.move(new go.Point(Un.actualBounds.x,Zt-Un.actualBounds.height/2))}),Gt.commitTransaction("aligning Center Y")}},dt.prototype.alignColumn=function(Gt){var Mt=this.diagram;Mt.startTransaction("align Column"),Gt===void 0&&(Gt=0),Gt=parseFloat(Gt);var Zt=new Array;Mt.selection.each(function(gr){gr instanceof go.Link||Zt.push(gr)});for(var Un=0;Un0){for(var gr=Xn.elt(hr-1);gr!==null&&gr.isTreeExpanded&&!gr.isTreeLeaf;){var ci=this._sortTreeChildrenByY(gr);gr=ci.last()}gr!==null&&Gt.select(gr)}else Gt.select(Br)}}else if(Zt.key==="Down")if(Mt.isTreeExpanded&&!Mt.isTreeLeaf){var Un=this._sortTreeChildrenByY(Mt).first();Un!==null&&Gt.select(Un)}else for(;Mt!==null;){var Br=Mt.findTreeParentNode();if(Br===null)break;var Xn=this._sortTreeChildrenByY(Br),hr=Xn.indexOf(Mt);if(hrXn.y?1:Br.xXn.x?1:0}),Mt},dt.prototype.copyToClipboard=function(Gt){go.CommandHandler.prototype.copyToClipboard.call(this,Gt),this._lastPasteOffset.set(this.pasteOffset)},dt.prototype.pasteFromClipboard=function(){var Gt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Gt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Gt},Object.defineProperty(dt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Gt){if(Gt!=="move"&&Gt!=="select"&&Gt!=="scroll"&&Gt!=="tree"&&Gt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Gt);this._arrowKeyBehavior=Gt}}),Object.defineProperty(dt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Gt){if(!(Gt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Gt);this._pasteOffset.set(Gt)}});var $e=dt,Pe=be(29277),ke=be(43604),Ve=be(7660),Qe={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},_e=be(59301),Ze=(Gt,Mt,Zt)=>new Promise((Un,Br)=>{var Xn=ci=>{try{gr(Zt.next(ci))}catch(cr){Br(cr)}},hr=ci=>{try{gr(Zt.throw(ci))}catch(cr){Br(cr)}},gr=ci=>ci.done?Un(ci.value):Promise.resolve(ci.value).then(Xn,hr);gr((Zt=Zt.apply(Gt,Mt)).next())});function Ue({onCancel:Gt,callback:Mt}){let Zt=(0,ve.useRef)(),Un=(0,ve.useRef)(),Br=(0,ve.useRef)(),Xn=(0,ve.useRef)(!1);const hr=(0,ve.useRef)(!1),[gr,ci]=(0,ve.useState)(0);function cr(){const ar=ht.bx.make,On={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"};Zt.current=new ht.S0(Un.current,{padding:20,grid:ar(ht.s_,"Grid",ar(ht.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),ar(ht.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Qn=>{var kr=Qn.diagram.commandHandler.addTopLevelParts(Qn.diagram.selection,!0);kr||Qn.diagram.currentTool.doCancel()},commandHandler:ar($e),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Qn=>{var kr=Qn.subject;kr.location=kr.location.copy().snapToGridPoint(Qn.diagram.grid.gridOrigin,Qn.diagram.grid.gridCellSize),setTimeout(()=>{Qn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Qn=>{var kr=Qn.subject;setTimeout(()=>{Qn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Qn=>{var kr=Qn.parameter.part;kr.invalidateConnectedLinks();var ni=Qn.subject;Qn.diagram.toolManager.linkingTool.isForwards?ni.toNode.invalidateConnectedLinks():ni.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Zt.current.nodeTemplate=ar(ht.NB,"Auto",{locationSpot:ht.z6.Center,locationObjectName:"SHAPE",desiredSize:new ht.$u(120,60),minSize:new ht.$u(40,40),resizable:!0,resizeCellSize:new ht.$u(10,10),rotatable:!0},new ht.KX("location","loc",ht.E9.parse).makeTwoWay(ht.E9.stringify),new ht.KX("desiredSize","size",ht.$u.parse).makeTwoWay(ht.$u.stringify),ar(ht.bn,{name:"SHAPE",fill:On.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ht.z6.AllSides,toSpot:ht.z6.AllSides},new ht.KX("figure"),new ht.KX("fill"),new ht.KX("stroke","borderColor"),new ht.KX("strokeWidth","thickness"),new ht.KX("strokeDashArray","dash")),ar(ht.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),ar(ht.al,{margin:1,textAlign:"center",overflow:ht.al.OverflowEllipsis,editable:!0},new ht.KX("text").makeTwoWay(),new ht.KX("stroke","color"))),Zt.current.nodeTemplate.toolTip=ar("ToolTip",ar(ht.s_,"Vertical",{maxSize:new ht.$u(200,NaN)},ar(ht.al,{font:"bold 10pt sans-serif",textAlign:"center"},new ht.KX("text")),ar(ht.al,{font:"10pt sans-serif",textAlign:"center"},new ht.KX("text","details"))));function An(Qn,kr){var ni=(Kr,Qi)=>{Kr.handled=!0,Kr.diagram.model.commit(qi=>{var Ni=Qi.part.adornedPart,Xi=new ht.E9().setRectSpot(Ni.actualBounds,Qn);Xi.subtract(Ni.location),Xi.scale(2,2),Xi.x+=Math.sign(Xi.x)*130,Xi.y+=Math.sign(Xi.y)*130,Xi.add(Ni.location),Xi.snapToGridPoint(Kr.diagram.grid.gridOrigin,Kr.diagram.grid.gridCellSize);var Pa=qi.copyNodeData(Ni.data);qi.setGroupKeyForNodeData(Pa,qi.getGroupKeyForNodeData(Ni.data)),qi.addNodeData(Pa);var Fi={from:Ni.key,to:qi.getKeyForNodeData(Pa)};qi.addLinkData(Fi);var Qa=Kr.diagram.findNodeForData(Pa);Qa.location=Xi,Kr.diagram.select(Qa),setTimeout(()=>{Kr.diagram.commandHandler.editTextBlock()},20)})};return ar(ht.bn,{figure:kr,alignment:Qn,alignmentFocus:Qn.opposite(),width:Qn.equals(ht.z6.Top)||Qn.equals(ht.z6.Bottom)?25:18,height:Qn.equals(ht.z6.Top)||Qn.equals(ht.z6.Bottom)?18:25,fill:"orange",stroke:On.white,strokeWidth:4,mouseEnter:(Kr,Qi)=>Qi.fill="dodgerblue",mouseLeave:(Kr,Qi)=>Qi.fill="orange",isActionable:!0,click:ni,contextClick:ni})}function nr(Qn){return ar(ht.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:(kr,ni)=>ni.fill="dodgerblue",mouseLeave:(kr,ni)=>ni.fill="orange",click:(kr,ni)=>{kr.diagram.commandHandler.showContextMenu(ni.part.adornedPart)}},Qn||{})}Zt.current.nodeTemplate.selectionAdornmentTemplate=ar(ht.uz,"Spot",ar(ht.Vm,{padding:10}),An(ht.z6.Top,"TriangleUp"),An(ht.z6.Left,"TriangleLeft"),An(ht.z6.Right,"TriangleRight"),An(ht.z6.Bottom,"TriangleDown"),nr({alignment:new ht.z6(.75,0)}));function vn(Qn,kr){return(ni,Kr)=>{ni.handled=!0,ni.diagram.model.commit(Qi=>{Qi.set(Kr.part.adornedPart.data,Qn,kr)})}}function Rn(Qn,kr){return kr||(kr="color"),ar(ht.bn,{width:16,height:16,stroke:"lightgray",fill:Qn,margin:1,background:"transparent",mouseEnter:(ni,Kr)=>Kr.stroke="dodgerblue",mouseLeave:(ni,Kr)=>Kr.stroke="lightgray",click:vn(kr,Qn),contextClick:vn(kr,Qn)})}function Ar(){return[ar("ContextMenuButton",ar(ht.s_,"Horizontal",Rn(On.white,"fill"),Rn(On.beige,"fill"),Rn(On.extralightblue,"fill"),Rn(On.extralightred,"fill"))),ar("ContextMenuButton",ar(ht.s_,"Horizontal",Rn(On.lightgray,"fill"),Rn(On.lightgreen,"fill"),Rn(On.lightblue,"fill"),Rn(On.lightred,"fill")))]}function Hr(){return[ar("ContextMenuButton",ar(ht.s_,"Horizontal",Rn(On.black),Rn(On.green),Rn(On.blue),Rn(On.red))),ar("ContextMenuButton",ar(ht.s_,"Horizontal",Rn(On.white),Rn(On.magenta),Rn(On.purple),Rn(On.orange)))]}function Wr(Qn,kr){return kr||(kr="thickness"),ar(ht.bn,"LineH",{width:16,height:16,strokeWidth:Qn,margin:1,background:"transparent",mouseEnter:(ni,Kr)=>Kr.background="dodgerblue",mouseLeave:(ni,Kr)=>Kr.background="transparent",click:vn(kr,Qn),contextClick:vn(kr,Qn)})}function wi(Qn,kr){return kr||(kr="dash"),ar(ht.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Qn,margin:1,background:"transparent",mouseEnter:(ni,Kr)=>Kr.background="dodgerblue",mouseLeave:(ni,Kr)=>Kr.background="transparent",click:vn(kr,Qn),contextClick:vn(kr,Qn)})}function Bi(){return[ar("ContextMenuButton",ar(ht.s_,"Horizontal",Wr(1),Wr(2),Wr(3),Wr(4))),ar("ContextMenuButton",ar(ht.s_,"Horizontal",wi(null),wi([2,4]),wi([4,4])))]}function vi(Qn,kr){return kr||(kr="figure"),ar(ht.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Qn,margin:1,background:"transparent",mouseEnter:(ni,Kr)=>Kr.fill="dodgerblue",mouseLeave:(ni,Kr)=>Kr.fill="lightgray",click:vn(kr,Qn),contextClick:vn(kr,Qn)})}Zt.current.nodeTemplate.contextMenu=ar("ContextMenu",ar("ContextMenuButton",ar(ht.s_,"Horizontal",vi("Rectangle"),vi("RoundedRectangle"),vi("Ellipse"),vi("Diamond"))),ar("ContextMenuButton",ar(ht.s_,"Horizontal",vi("Parallelogram2"),vi("ManualOperation"),vi("Procedure"),vi("Cylinder1"))),ar("ContextMenuButton",ar(ht.s_,"Horizontal",vi("Terminator"),vi("CreateRequest"),vi("Document"),vi("TriangleDown"))),Ar(),Hr(),Bi()),Zt.current.groupTemplate=ar(ht.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:ht.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Qn,kr)=>{var ni=kr.addMembers(kr.diagram.selection,!0);ni||kr.diagram.currentTool.doCancel()},avoidable:!1},new ht.KX("location","loc",ht.E9.parse).makeTwoWay(ht.E9.stringify),ar(ht.s_,"Auto",{name:"BODY"},ar(ht.bn,{parameter1:10,fill:On.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:ht.z6.AllSides,toSpot:ht.z6.AllSides},new ht.KX("fill"),new ht.KX("stroke","color"),new ht.KX("strokeWidth","thickness"),new ht.KX("strokeDashArray","dash")),ar(ht.Vm,{background:"transparent",margin:20})),ar(ht.al,{alignment:ht.z6.Top,alignmentFocus:ht.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new ht.KX("text"),new ht.KX("stroke","color"))),Zt.current.groupTemplate.selectionAdornmentTemplate=ar(ht.uz,"Spot",ar(ht.s_,"Auto",ar(ht.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),ar(ht.Vm,{margin:1.5})),nr({alignment:ht.z6.TopRight,alignmentFocus:ht.z6.BottomRight})),Zt.current.groupTemplate.contextMenu=ar("ContextMenu",Ar(),Hr(),Bi()),Zt.current.linkTemplate=ar(ht.rU,{layerName:"Foreground",routing:ht.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new ht.KX("fromSpot","fromSpot",ht.z6.parse),new ht.KX("toSpot","toSpot",ht.z6.parse),new ht.KX("fromShortLength","dir",Qn=>Qn>=1?10:0),new ht.KX("toShortLength","dir",Qn=>Qn>=1?10:0),new ht.KX("points").makeTwoWay(),ar(ht.bn,{strokeWidth:2},new ht.KX("stroke","color"),new ht.KX("strokeWidth","thickness"),new ht.KX("strokeDashArray","dash")),ar(ht.bn,{segmentIndex:0,segmentOffset:new ht.E9(15,0),segmentOrientation:ht.rU.OrientAlong,alignmentFocus:ht.z6.Right,figure:"circle",width:10,strokeWidth:0},new ht.KX("fill","color"),new ht.KX("visible","dir",Qn=>Qn===1)),ar(ht.bn,{segmentIndex:-1,segmentOffset:new ht.E9(-10,6),segmentOrientation:ht.rU.OrientPlus90,alignmentFocus:ht.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ht.KX("fill","color"),new ht.KX("visible","dir",Qn=>Qn>=1),new ht.KX("width","thickness",Qn=>7+3*Qn),new ht.KX("height","thickness",Qn=>7+3*Qn),new ht.KX("segmentOffset","thickness",Qn=>new ht.E9(-15,4+1.5*Qn))),ar(ht.bn,{segmentIndex:0,segmentOffset:new ht.E9(15,-6),segmentOrientation:ht.rU.OrientMinus90,alignmentFocus:ht.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new ht.KX("fill","color"),new ht.KX("visible","dir",Qn=>Qn===2),new ht.KX("width","thickness",Qn=>7+3*Qn),new ht.KX("height","thickness",Qn=>7+3*Qn),new ht.KX("segmentOffset","thickness",Qn=>new ht.E9(-15,4+1.5*Qn))),ar(ht.al,{alignmentFocus:new ht.z6(0,1,-4,0),editable:!0},new ht.KX("text").makeTwoWay(),new ht.KX("stroke","color"))),Zt.current.linkTemplate.selectionAdornmentTemplate=ar(ht.uz,ar(ht.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:di(2)},new ht.KX("pathPattern","thickness",di)),nr({alignmentFocus:new ht.z6(0,0,-6,-4)}));function di(Qn){return ar(ht.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Qn+4).toString()+" H3"})}function ai(Qn){var kr="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Qn===0?kr="M0 0 M16 16 M0 8 L16 8":Qn===2&&(kr="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),ar(ht.bn,{geometryString:kr,margin:2,background:"transparent",mouseEnter:(ni,Kr)=>Kr.background="dodgerblue",mouseLeave:(ni,Kr)=>Kr.background="transparent",click:vn("dir",Qn),contextClick:vn("dir",Qn)})}function qn(Qn){var kr=(ni,Kr)=>{ni.handled=!0,ni.diagram.model.commit(Qi=>{var qi=Kr.part.adornedPart;Qi.set(qi.data,Qn?"toSpot":"fromSpot",ht.z6.stringify(ht.z6.AllSides)),(Qn?qi.toNode:qi.fromNode).invalidateConnectedLinks()})};return ar(ht.bn,{width:12,height:12,fill:"transparent",mouseEnter:(ni,Kr)=>Kr.background="dodgerblue",mouseLeave:(ni,Kr)=>Kr.background="transparent",click:kr,contextClick:kr})}function Yn(Qn,kr){var ni=0,Kr=ht.z6.RightSide;Qn.equals(ht.z6.Top)?(ni=270,Kr=ht.z6.TopSide):Qn.equals(ht.z6.Left)?(ni=180,Kr=ht.z6.LeftSide):Qn.equals(ht.z6.Bottom)&&(ni=90,Kr=ht.z6.BottomSide),kr||(ni-=180);var Qi=(qi,Ni)=>{qi.handled=!0,qi.diagram.model.commit(Xi=>{var Pa=Ni.part.adornedPart;Xi.set(Pa.data,kr?"toSpot":"fromSpot",ht.z6.stringify(Kr)),(kr?Pa.toNode:Pa.fromNode).invalidateConnectedLinks()})};return ar(ht.bn,{alignment:Qn,alignmentFocus:Qn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:ni,background:"transparent",mouseEnter:(qi,Ni)=>Ni.background="dodgerblue",mouseLeave:(qi,Ni)=>Ni.background="transparent",click:Qi,contextClick:Qi})}Zt.current.linkTemplate.contextMenu=ar("ContextMenu",Hr(),Bi(),ar("ContextMenuButton",ar(ht.s_,"Horizontal",ai(0),ai(1),ai(2))),ar("ContextMenuButton",ar(ht.s_,"Horizontal",ar(ht.s_,"Spot",qn(!1),Yn(ht.z6.Top,!1),Yn(ht.z6.Left,!1),Yn(ht.z6.Right,!1),Yn(ht.z6.Bottom,!1)),ar(ht.s_,"Spot",{margin:new ht.Zt(0,0,0,2)},qn(!0),Yn(ht.z6.Top,!0),Yn(ht.z6.Left,!0),Yn(ht.z6.Right,!0),Yn(ht.z6.Bottom,!0)))));const Ki=`{ "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 xi=["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 ta(Qn){return console.log("shapeName:",Qn),xi.indexOf(Qn)>=0}var hi=new ht.YI(Br.current,{maxSelectionCount:1,linkTemplate:ar(ht.rU,{locationSpot:ht.z6.Center,selectionAdornmentTemplate:ar(ht.uz,"Link",{locationSpot:ht.z6.Center},ar(ht.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),ar(ht.bn,{toArrow:"Standard",stroke:null}))},{routing:ht.rU.AvoidsNodes,curve:ht.rU.JumpOver,corner:5,toShortLength:4},new ht.KX("points"),ar(ht.bn,{isPanelMain:!0,strokeWidth:2}),ar(ht.bn,{toArrow:"Standard",stroke:null})),model:new ht.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...ht.bn.getFigureGenerators().toArray().map(Qn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Qn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Zt.current.addDiagramListener("TextEdited",function(Qn){var kr;const ni=Qn.subject.part;var Kr=(kr=document.activeElement)==null?void 0:kr.value;typeof Kr=="string"&&Kr.trim()===""&&Zt.current.model.commit(function(Qi){Qi.set(ni.data,"text","\u672A\u547D\u540D"),Zt.current.commandHandler.stopCommand()},"increment")}),hi.nodeTemplate=ar(ht.NB,"Auto",{locationSpot:ht.z6.Center},new ht.KX("location","location",ht.E9.parse).makeTwoWay(ht.E9.stringify),ar(ht.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 ht.KX("stroke").makeTwoWay(),new ht.KX("fill").makeTwoWay(),new ht.KX("figure")),ar(ht.al,{margin:new ht.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new ht.$u(16,16),maxSize:new ht.$u(10,NaN),textAlign:"center",editable:!0},new ht.KX("key").makeTwoWay())),setTimeout(()=>{Zt.current.grid=ar(ht.s_,"Grid",ar(ht.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),ar(ht.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Zt.current.grid.visible=!0,Zt.current.grid.gridCellStroke="darkgray",Zt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Zt.current,Zt.current}const mi=()=>Ze(this,null,function*(){var ar=Zt.current.makeImage();const On=yield(0,Ve.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:ar.src}});Mt({src:On.url})});return(0,ve.useEffect)(()=>(setTimeout(()=>{cr()},500),ci(gr+1),()=>{Zt.current=null}),[]),_e.createElement("div",{ref:hr,className:Xn.current?`${Qe.maxH60} body-overflow-initial`:"body-overflow-initial"},_e.createElement(at.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!gr,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:_e.createElement(ut.Z,null,_e.createElement(ke.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),_e.createElement(ke.Z,{onClick:()=>{var ar,On,An=Zt.current.selection.first();if(Xn.current=!Xn.current,document.activeElement&&An){let nr=(On=(ar=document.activeElement)==null?void 0:ar.value)==null?void 0:On.trim();typeof nr=="string"&&Zt.current.model.commit(function(vn){vn.set(An.data,"text",nr||"\u672A\u547D\u540D"),Zt.current.commandHandler.stopCommand()},"increment")}ci(gr+1)}},_e.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Gt},_e.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Qe.flowChartWrp},_e.createElement("div",{style:{display:"flex",height:"100%"}},_e.createElement("div",{style:{width:"300px",height:"100%"}},_e.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),_e.createElement("div",{style:{height:"calc(100% - 50px)"},className:Qe.myPaletteDiv,ref:Br})),_e.createElement("div",{style:{flex:1,position:"relative"}},_e.createElement("div",{ref:Un,style:{height:"80vh"}}))),_e.createElement("div",{className:"tr"},_e.createElement(Be.ZP,{size:"large",onClick:mi,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Fe=Ue,Ne=be(5112),nt=be(5871);const gt=Ne.ZP.Group,St={margin:"0 8px"};var wt=({callback:Gt,onCancel:Mt})=>{function Zt(Un){Gt(Un)}return ve.createElement(me.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Zt},ve.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ve.createElement("span",{style:St},"\u5355\u5143\u683C\u6570\uFF1A"),ve.createElement("span",{style:St},"\u884C\u6570"),ve.createElement(me.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ve.createElement(nt.Z,null)),ve.createElement("span",{style:St},"\u5217\u6570"),ve.createElement(me.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ve.createElement(nt.Z,null))),ve.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ve.createElement("span",{style:St},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ve.createElement(me.default.Item,{name:"align"},ve.createElement(gt,null,ve.createElement(Ne.ZP,{value:"default"},ve.createElement("i",{className:"fa fa-align-justify"})),ve.createElement(Ne.ZP,{value:"left"},ve.createElement("i",{className:"fa fa-align-left"})),ve.createElement(Ne.ZP,{value:"center"},ve.createElement("i",{className:"fa fa-align-center"})),ve.createElement(Ne.ZP,{value:"right"},ve.createElement("i",{className:"fa fa-align-right"}))))),ve.createElement("div",{className:"flex-container flex-end"},ve.createElement(Be.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ve.createElement(Be.ZP,{type:"ghost",onClick:Mt},"\u53D6\u6D88")))},Bt=be(78673),Nt=be(5559),pt=be.n(Nt),Lt=(0,ve.forwardRef)(({use3d:Gt,width:Mt,height:Zt,callback:Un,showSaveButton:Br},Xn)=>{const hr=(0,ve.useRef)(),gr=(0,ve.useRef)(),[ci,cr]=(0,ve.useState)(!1),mi=(0,ve.useRef)({id:hr,appName:"graphing",width:Mt||1e3,height:Zt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ve.useEffect)(()=>{gr.current=new(pt())(mi.current,!0),window.onload=function(){gr.current.inject("applet_container")}},[]);const ar=()=>{var On=window.ggbApplet.getPNGBase64(1,!0,72);return Un&&Un(On),On};return(0,ve.useEffect)(()=>{mi.current.appName=ci?"3D":"graphing",gr.current.inject("applet_container")},[ci]),(0,ve.useEffect)(()=>{cr(Gt)},[Gt]),(0,ve.useImperativeHandle)(Xn,()=>({getImgData:ar})),ve.createElement(ve.Fragment,null,ve.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:hr}),ve.createElement(ut.Z,{align:"middle"},ve.createElement(ke.Z,{flex:1},ve.createElement(Bt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:ci,onChange:On=>cr(On)})),ve.createElement(ke.Z,null,ve.createElement(Be.ZP,{size:"large",onClick:ar,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),$t=be(46531),Vt=be(8591);const en="link",cn="upload-image",pn="add-flowchart",xn="draw-image",ur="add-flowchart",Dr="code-block",Nn="add-table",jn="------------",dn={default:jn,left:`:${jn}`,center:`:${jn}:`,right:`${jn}:`};var Ln=be(50505);function er(){}let Ur=0;const Sr=1e4,Or="\u2581",Mr="@\u2581\u2581@",Nr="@\u2581@",Jr=` **\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`,Gn=["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 Dn(Gt){return/^\d+$/.test(Gt)?`${Gt}px`:Gt}const Pi=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ui={[Pi+"-B"]:"bold",[Pi+"-I"]:"italic"},ii={[en]:"\u6DFB\u52A0\u94FE\u63A5",[Dr]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[cn]:"\u6DFB\u52A0\u56FE\u7247",[xn]:"\u6DFB\u52A0\u753B\u56FE",[pn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[Nn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var zn=({defaultValue:Gt="",onChange:Mt,width:Zt="100%",height:Un=400,miniToolbar:Br=!1,isFocus:Xn=!1,watch:hr,insertTemp:gr,mode:ci="markdown",id:cr="markdown-editor-id",showResizeBar:mi=!1,noStorage:ar=!1,showNullButton:On=!1,showNullProgramButton:An=!1,hidetoolBar:nr=!1,fullScreen:vn=!1,onBlur:Rn,onCMBeforeChange:Ar,onFullScreen:Hr,className:Wr="",disablePaste:wi=!1,disabled:Bi=!1,disabledFill:vi=!1,placeholder:di="",values:ai="",extraUse:qn})=>{const[Yn,Ki]=(0,ve.useState)(null),[xi,ta]=(0,ve.useState)(Gt),[hi,Qn]=(0,ve.useState)(hr),[kr,ni]=(0,ve.useState)(vn),[Kr,Qi]=(0,ve.useState)(""),[qi,Ni]=(0,ve.useState)(0),[Xi,Pa]=(0,ve.useState)(Un),[Fi,Qa]=(0,ve.useState)(!1),[br,Li]=(0,ve.useState)(0),[Ji,sr]=(0,ve.useState)(0),Rr=(0,ve.useRef)(),gi=(0,ve.useRef)(),oi=(0,ve.useRef)(),na=(0,ve.useRef)();(0,ve.useEffect)(()=>{const Tn=window.scrollY||window.pageYOffset;ta(ai),Yn==null||Yn.setValue(ai),window.scrollTo(0,Tn)},[ai]),(0,ve.useEffect)(()=>{Hr==null||Hr(kr)},[kr]),(0,ve.useEffect)(()=>{if(Rr.current){let Tn=function(Cr,pr){var Yr;if(wi){pr.preventDefault();return}const Zr=pr.clipboardData;if(Zr){const Vr=Zr.types.toString(),qr=Zr.items;if(Vr==="Files"||Zr.types.indexOf("Files")>-1){if(pr.preventDefault(),ci=="stex")return;try{let $n=qr[1];((Yr=qr[0])==null?void 0:Yr.kind)==="file"&&($n=qr[0]);const pi=$n.getAsFile(),Oi=pi.name.split(".").pop();(0,lt.I)(pi,Wi=>{var ji,Ai,Sa;Wi.id?((ji=pi==null?void 0:pi.type)==null?void 0:ji.indexOf("image"))>-1?Vn.replaceSelection(`![,](/api/attachments/${Wi.id}?type=${Wi.content_type})`):((Ai=pi==null?void 0:pi.type)==null?void 0:Ai.indexOf("video"))>-1?Vn.replaceSelection(``):((Sa=pi==null?void 0:pi.type)==null?void 0:Sa.indexOf("pdf"))>-1?Vn.replaceSelection(`
${pi.name}`):Gn.includes(Oi)?Vn.replaceSelection(`${pi.name}`):Vn.replaceSelection(`[${pi.name}](/api/attachments/${Wi.id}?type=${Wi.content_type})`):(Wi==null?void 0:Wi.status)===401&&(document.location.href="/user/login")})}catch($n){Vt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Vn=E().fromTextArea(Rr.current,{mode:ci,lineNumbers:!Br,lineWrapping:!0,value:Gt,autoCloseTags:!0,autoCloseBrackets:!0});return Vn.on("keyup",function(Cr,pr){pr.keyCode===8&&(Cr.getValue()==""?Vn.setOption("placeholder",di):Vn.setOption("placeholder",null))}),Vn.on("keydown",function(Cr,pr){if(pr.keyCode===8){var Yr=sa(Cr);Yr&&pr.preventDefault()}}),Xn&&Vn.focus(),Vn.on("paste",Tn),Bi&&Vn.on("beforeChange",function(Cr,pr){(pr.origin==="paste"||pr.origin==="+input")&&pr.cancel()}),Ki(Vn),()=>{Vn.off("paste",Tn)}}},[]);const Hi=(0,ve.useCallback)(()=>{if(gi.current)try{}catch(Tn){console.log(Tn,"---- to set md editor body height")}},[Xi,gi,kr]);(0,ve.useEffect)(()=>{function Tn(){let Vn=new ge.Z(Cr=>{for(let pr of Cr)(pr.target.offsetHeight>0||pr.target.offsetWidth>0)&&(Hi(),Yn.setSize("100%","100%"),Yn.refresh())});return Vn.observe(Rr.current.parentElement),Vn}if(Yn){const Vn=Tn();return()=>{var Cr,pr;(Cr=Rr.current)!=null&&Cr.parentElement&&Vn.unobserve((pr=Rr.current)==null?void 0:pr.parentElement)}}},[Yn,Hi]),(0,ve.useEffect)(()=>{if(Yn){let Tn=[];for(const[Vn,Cr]of Object.entries(ui)){let pr={[Vn]:()=>{$i(Cr)}};Tn.push(pr),Yn.addKeyMap(pr)}return()=>{for(let Vn of Tn)Yn.removeKeyMap(Vn)}}},[Yn]),(0,ve.useEffect)(()=>{vn!==kr&&ni(vn)},[vn]),(0,Ln.Z)(()=>{if(!ar&&qi>0){let Tn=new Date().getTime(),Vn=window.sessionStorage.getItem(cr);Tn>=qi+Sr&&(!Vn||Vn!==xi)&&(window.sessionStorage.setItem(cr,xi),Qa(!0))}},Sr),(0,ve.useEffect)(()=>{Qn(hr)},[Yn,hr]),(0,ve.useEffect)(()=>{Yn&&Xn&&Yn.focus()},[Yn,Xn]),(0,ve.useEffect)(()=>{if(hi&&Yn){let Tn=function(Cr){let pr=Cr.target;if(na.current){let Yr=pr.scrollTop/pr.scrollHeight;na.current.scrollTop=na.current.scrollHeight*Yr}};const Vn=Yn.getScrollerElement();return Vn.addEventListener("scroll",Tn),()=>{Vn.removeEventListener("scroll",Tn)}}},[Yn,hi]),(0,ve.useEffect)(()=>{if(Yn&&Ar){let Tn=function(Vn,Cr){Ar(Vn,Cr)};return Yn.on("beforeChange",Tn),()=>{Yn.off("beforeChange",Tn)}}},[Yn,Ar]),(0,ve.useEffect)(()=>{if(Yn&&Rn){let Tn=function(){Rn(Yn.getValue())};return Yn.on("blur",Tn),()=>{Yn.off("blur",Tn)}}},[Yn,Rn]);function sa(Tn,Vn){var Cr=Tn.getDoc(),pr=Cr.getCursor(),Yr=Cr.getLine(pr.line),Zr=Yr.charAt(pr.ch-1),Vr=Yr.lastIndexOf("@\u2581@",pr.ch),qr=Yr.lastIndexOf("@\u2581\u2581@",pr.ch),$n=Vr>qr?Vr:qr,pi=Vr>qr?3:4;if(Mr.indexOf(Zr)===-1)return null;if(console.log("change1:",Vn,Tn,Yr,pr,$n,Vr,qr,Zr),$n>=0&&pr.ch-$n<5){var Oi=$n+pi;return Cr.replaceRange("",{line:pr.line,ch:$n},{line:pr.line,ch:Oi}),{line:pr.line,ch:Oi}}return null}(0,ve.useEffect)(()=>{if(Yn){let Tn=function(Vn,Cr){const pr=Vn.getValue();ta(pr),Ni(new Date().getTime()),Vn.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Mt&&(An?Mt(pr,Ya(pr)):Mt(pr))};return Yn.on("change",Tn),()=>{Yn.off("change",Tn)}}},[Yn,Mt]),(0,ve.useEffect)(()=>{if(Yn)if(Gt==null)Yn.setValue(""),ta("");else{const Tn=window.scrollY||window.pageYOffset;Gt!==Yn.getValue()&&(Yn.setValue(Gt),ta(Gt),Yn.setCursor(Bi?1:Yn.lineCount(),0),window.scrollTo(0,Tn))}},[Yn,Gt]);const $i=(0,ve.useCallback)(Tn=>{const Vn=Yn.getCursor(),Cr=Yn.getSelection();let pr=Cr.split(` `);switch(Tn){case"bold":return Yn.replaceSelection("**"+Cr+"**"),Cr===""&&Yn.setCursor(Vn.line,Vn.ch+2),Yn.focus();case"italic":return Yn.replaceSelection("*"+Cr+"*"),Cr===""&&Yn.setCursor(Vn.line,Vn.ch+1),Yn.focus();case"code":return Yn.replaceSelection("`"+Cr+"`"),Cr===""&&Yn.setCursor(Vn.line,Vn.ch+1),Yn.focus();case"inline-latex":return Qi("inline-latex"),Yn.focus();case"latex":return Yn.replaceSelection("```latex\n"+Cr+"\n```"),Yn.setCursor(Vn.line+1,Cr.length+1),Yn.focus();case"line-break":return Yn.replaceSelection(`
`),Yn.focus();case"list-ul":return Cr===""?Yn.replaceSelection("- "+Cr):Yn.replaceSelection(pr.map(Yr=>Yr===""?"":`- ${Yr}`).join(` `)),Yn.focus();case"list-ol":return Cr===""?Yn.replaceSelection("1. "+Cr):Yn.replaceSelection(pr.map((Yr,Zr)=>Yr===""?"":`${Zr+1}. ${Yr}`).join(` `)),Yn.focus();case"add-null-ch":return Cr===""&&Yn.setCursor(Vn.line,Vn.ch),Yn.replaceSelection(Or),Yn.focus();case"add-signal":return Cr===""&&Yn.setCursor(Vn.line,Vn.ch),Yn.replaceSelection(Nr),Yn.focus();case"add-multiple":return Cr===""&&Yn.setCursor(Vn.line,Vn.ch),Yn.replaceSelection(Mr),Yn.focus();case"inster-template-1":return Cr===""&&Yn.setCursor(Vn.line,Vn.ch),Yn.replaceSelection(Jr),Yn.focus();case"eraser":return Yn.setValue(""),Yn.focus();case"trigger-watch":return Qn(!hi),Yn.focus();case"trigger-full-screen":return ni(!kr),Yn.focus();case en:Qi(en);return;case Dr:Qi(Dr);return;case cn:Qi(cn);return;case xn:Qi(xn);return;case"maths-latex":Qi("maths-latex");return;case pn:Qi(pn);return;case Nn:Qi(Nn);return;default:throw new Error}},[Yn,hi,kr]),Gi=(0,ve.useCallback)((Tn,Vn)=>{var Cr,pr,Yr,Zr,Vr,qr;switch(Qi(""),Kr){case en:const{title:ji,link:Ai}=Tn;return Yn.replaceSelection(`[${ji}](${Ai})`),Yn.focus();case Dr:const{language:Sa,content:Oa}=Tn;return Yn.replaceSelection(["```"+Sa,Oa,"```"].join(` `)),Yn.focus();case"maths-latex":for(var $n=atob(Tn),pi=new Uint8Array($n.length),Oi=0;Oi<$n.length;Oi++)pi[Oi]=$n.charCodeAt(Oi);var Wi=new Blob([pi],{type:"image/png"});(0,lt.I)(Wi,ea=>{ea.id?Yn.replaceSelection(`![,](/api/attachments/${ea.id}?type=${ea.content_type})`):(ea==null?void 0:ea.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Yn.replaceSelection("`$$"+Tn+"$$`");break;case cn:case xn:case ur:const{src:lo,alt:fa}=Tn,Ha=Vn,mo=(Yr=(pr=(Cr=Ha==null?void 0:Ha.name)==null?void 0:Cr.split("."))==null?void 0:pr.pop)==null?void 0:Yr.call(pr);return((Zr=Ha==null?void 0:Ha.type)==null?void 0:Zr.indexOf("image"))>-1||!(Ha!=null&&Ha.type)?fa?Yn.replaceSelection(`![ ${fa} ]( ${lo} "${fa}" )`):Yn.replaceSelection(`![,](${lo})`):((Vr=Ha==null?void 0:Ha.type)==null?void 0:Vr.indexOf("video"))>-1?Yn.replaceSelection(``):((qr=Ha==null?void 0:Ha.type)==null?void 0:qr.indexOf("pdf"))>-1?Yn.replaceSelection(`${Ha.name}`):Gn.includes(mo)?Yn.replaceSelection(`${Ha.name}`):Yn.replaceSelection(`[${Ha.name}](${lo})`),Yn.focus();case Nn:const{row:or,col:ei,align:$r}=Tn;let Tr=` `;for(let ea=0;ea{switch(Kr){case en:return ve.createElement(st,{callback:Gi,onCancel:ia});case Dr:return ve.createElement(ct.Z,{callback:Gi,onCancel:ia});case cn:return ve.createElement(lt.Z,{callback:Gi,onCancel:ia});case pn:return ve.createElement(Fe,{callback:Gi,onCancel:ia});case Nn:return ve.createElement(wt,{callback:Gi,onCancel:ia});case"maths-latex":return ve.createElement(Lt,{showSaveButton:!0,callback:Gi});case"inline-latex":return ve.createElement($t.Z,{showSaveButton:!0,callback:Gi});default:return null}},[Kr]);function ia(){Qi("")}(0,ve.useEffect)(()=>{if(oi.current){let Tn=function(Vr){Yr=!0,Zr=Vr.pageY},Vn=function(){Yr=!1},Cr=function(Vr){if(Yr){let qr=Vr.pageY-Zr;qr<0&&(qr=0),qr>300&&(qr=300);let $n=Un+qr+"px";Pa($n)}},pr=oi.current,Yr=!1,Zr=0;return pr.addEventListener("mousedown",Tn),document.addEventListener("mousemove",Cr),document.addEventListener("mouseup",Vn),()=>{pr.removeEventListener("mousedown",Tn),document.removeEventListener("mousemove",Cr),document.removeEventListener("mouseup",Vn)}}},[Yn,oi]),(0,ve.useEffect)(()=>{Pa(Un)},[Un]);const La=Dn(Zt),Va=Dn(Xi),Ia={width:La,height:Va},eo=(0,ve.useMemo)(()=>{if(qi){let Tn=new Date(qi),Vn=Tn.getHours(),Cr=Tn.getMinutes(),pr=Tn.getSeconds();return Vn=Vn<10?"0"+Vn:Vn,Cr=Cr<10?"0"+Cr:Cr,pr=pr<10?"0"+pr:pr,`${Vn}:${Cr}:${pr}`}return 0},[qi]),Ya=Tn=>{const Vn=[];if(An){let Cr=-1;Tn=Tn.replace(/(@▁▁@|@▁@)/g,function(pr,Yr,Zr){Vn.push({multiLine:pr!==Nr})})}return Vn};function po(){window.sessionStorage.removeItem(cr),Qa(!1),Ni(0)}function zo(){Qa(!1),Ni(0),Yn.setValue(window.sessionStorage.getItem(cr))}(0,ve.useEffect)(()=>{ii[Kr]&&Kr!==xn&&Kr!==pn&&setTimeout(()=>{const Tn=document.getElementsByClassName("markdown-popup-form")[0],Vn=window.innerWidth/2-Tn.offsetWidth/2,Cr=window.innerHeight/2-Tn.offsetHeight/2;Li(Vn),sr(Cr)},0)},[Kr]);const fn=Tn=>{Tn.preventDefault();const Vn=Tn.clientX-br,Cr=Tn.clientY-Ji;document.body.onmousemove=pr=>{let Yr=pr.clientX-Vn,Zr=pr.clientY-Cr;const Vr=document.getElementsByClassName("markdown-popup-form")[0],qr=window.innerWidth-Vr.offsetWidth,$n=window.innerHeight-Vr.offsetHeight;Yr=Math.max(0,Math.min(Yr,qr)),Zr=Math.max(0,Math.min(Zr,$n)),Jn(pr.clientX,pr.clientY,Vn,Cr)&&(Li(Yr),sr(Zr))},document.body.onmouseup=function(){document.body.onmousemove=null}},Jn=(Tn,Vn,Cr,pr)=>{const Yr=document.body.clientHeight,Zr=document.body.clientWidth;return Tn<20&&Cr>Tn||Tn>Zr-20&&CrVn||Vn>Yr-20&&prde in he?ie(he,de,{enumerable:!0,configurable:!0,writable:!0,value:pe}):he[de]=pe,a=(he,de)=>{for(var pe in de||(de={}))re.call(de,pe)&&z(he,pe,de[pe]);if(oe)for(var pe of oe(de))ne.call(de,pe)&&z(he,pe,de[pe]);return he},y=(he,de)=>se(he,ae(de));const{useForm:x}=ve.default,b={width:280,marginRight:10},te={labelCol:{span:5},wrapperCol:{span:19}};var ee=({callback:he,onCancel:de})=>{const[pe]=x();let ye=(0,ue.useRef)();function me(je){he(je,ye.current)}function Ee(je,we){if(je.status===-1){Xe.ZP.error(je.message);return}pe.setFieldsValue({src:`/api/attachments/${je.id}`,type:we.type})}function Be(je){let we=je.target.files[0];ye.current=we,fe(we,Ee)}return le.createElement(ve.default,y(a({form:pe},te),{className:"upload-image-panel",onFinish:me,style:{width:470,overflow:"hidden"}}),le.createElement(ve.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},le.createElement("div",{className:"flex-container"},le.createElement(ve.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},le.createElement(E.default,{style:b})),le.createElement(ce,{onFileChange:Be}))),le.createElement(ve.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},le.createElement(E.default,{style:{width:264}})),le.createElement(ve.default.Item,{style:{textAlign:"right"}},le.createElement(ge.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),le.createElement(ge.ZP,{type:"default",onClick:de},"\u53D6\u6D88")))};function ce({onFileChange:he}){return le.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",le.createElement("input",{type:"file",onChange:he}))}function fe(he,de){if(!he)throw new String("\u6CA1\u6709\u6587\u4EF6");let pe=new FormData;pe.append("editormd-image-file",he),pe.append("file_param_name","editormd-image-file"),pe.append("byxhr","true");var ye=new window.XMLHttpRequest;ye.withCredentials=!0,ye.addEventListener("load",function(me){de(JSON.parse(me.target.responseText),he)},!1),ye.addEventListener("error",function(me){console.error(me)},!1),ye.open("POST",`${Ae.KI}/api/attachments.json`),ye.send(pe)}},19647:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return E}});var ve=be(59301),Xe=be(4676);class E extends ve.Component{constructor(Ae){super(Ae);const ue=window.document;this.node=ue.createElement("div"),ue.body.appendChild(this.node)}render(){const{children:Ae}=this.props;return(0,Xe.createPortal)(Ae,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},57800:function(nn,Ht,be){"use strict";be.d(Ht,{SV:function(){return Ue},ZP:function(){return Ze}});var ve=be(59301),Xe=be(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"]},ge={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"]},Ae={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(` `)}]},ue={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(` `)}]},le={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` `)}]};var ie=be(7947),se=be.n(ie),ae=Object.defineProperty,oe=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(Fe,Ne,nt)=>Ne in Fe?ae(Fe,Ne,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Fe[Ne]=nt,x=(Fe,Ne)=>{for(var nt in Ne||(Ne={}))z.call(Ne,nt)&&y(Fe,nt,Ne[nt]);if(ne)for(var nt of ne(Ne))a.call(Ne,nt)&&y(Fe,nt,Ne[nt]);return Fe},b=(Fe,Ne)=>oe(Fe,re(Ne)),te=(Fe,Ne,nt)=>new Promise((gt,St)=>{var wt=pt=>{try{Nt(nt.next(pt))}catch(Ft){St(Ft)}},Bt=pt=>{try{Nt(nt.throw(pt))}catch(Ft){St(Ft)}},Nt=pt=>pt.done?gt(pt.value):Promise.resolve(pt.value).then(wt,Bt);Nt((nt=nt.apply(Fe,Ne)).next())});const ee={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=(Fe,Ne)=>Ne.map(nt=>({label:nt,kind:Fe.languages.CompletionItemKind.Keyword,insertText:nt})),fe=Fe=>Object.keys(ee.tables).map(Ne=>({label:Ne,kind:Fe.languages.CompletionItemKind.Variable,insertText:Ne})),he=(Fe,Ne)=>{const nt=ee.tables[Fe];return nt?nt.map(gt=>({label:gt,kind:Ne.languages.CompletionItemKind.Field,insertText:gt})):[]};function de(Fe,Ne,nt,gt,St){let wt=Ne.getWordUntilPosition(nt),Bt={startLineNumber:nt.lineNumber,endLineNumber:nt.lineNumber,startColumn:wt.startColumn,endColumn:wt.endColumn},Nt=gt.map(pt=>({label:pt,kind:Fe.languages.CompletionItemKind.Keyword,insertText:pt,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Bt}));return St.map(pt=>{Nt.push(b(x({},pt),{range:Bt}))}),Nt}var pe=Fe=>{ee.languages.map(St=>(Fe.languages.registerDocumentFormattingEditProvider(St,{provideDocumentFormattingEdits(wt,Bt,Nt){return te(this,null,function*(){const pt=se()(wt.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:wt.getFullModelRange(),text:pt}]})}}),St));const Ne=Ae.quickKey.map(St=>({label:St.label,kind:Fe.languages.CompletionItemKind.Method,insertText:St.content,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet})),nt=ue.quickKey.map(St=>({label:St.label,kind:Fe.languages.CompletionItemKind.Method,insertText:St.content,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet})),gt=ge.quickKey.map(St=>({label:St.label,kind:Fe.languages.CompletionItemKind.Method,insertText:St.content,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet}));Fe.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(St,wt){var Bt=St.getWordUntilPosition(wt),Nt={startLineNumber:wt.lineNumber,endLineNumber:wt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},pt=St.getLineContent(wt.lineNumber).substring(Bt.startColumn-2,Bt.endColumn);return{suggestions:[...Ae.keywords.map(Ft=>({label:Ft,kind:Fe.languages.CompletionItemKind.Function,documentation:Ft,insertText:Ft,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Nt})),...Ae.quickKey.map(Ft=>({label:Ft.label,kind:Fe.languages.CompletionItemKind.Function,documentation:Ft.content,insertText:pt.startsWith("#")?Ft.content.replace(/#/,""):Ft.content,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Nt}))]}}}),Fe.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(St,wt){var Bt=St.getWordUntilPosition(wt),Nt={startLineNumber:wt.lineNumber,endLineNumber:wt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn};return{suggestions:[...E.keywords.map(pt=>({label:pt,kind:Fe.languages.CompletionItemKind.Function,documentation:pt,insertText:pt,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Nt}))]}}}),Fe.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(St,wt){var Bt=St.getWordUntilPosition(wt),Nt={startLineNumber:wt.lineNumber,endLineNumber:wt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},pt=St.getLineContent(wt.lineNumber).substring(Bt.startColumn-2,Bt.endColumn);return{suggestions:[...ge.keywords.map(Ft=>({label:Ft,kind:Fe.languages.CompletionItemKind.Function,documentation:Ft,insertText:Ft,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Nt})),...ge.quickKey.map(Ft=>({label:Ft.label,kind:Fe.languages.CompletionItemKind.Function,documentation:Ft.content,insertText:pt.startsWith("#")?Ft.content.replace(/#/,""):Ft.content,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Nt}))]}}}),Fe.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(St,wt){var Bt=St.getWordUntilPosition(wt),Nt={startLineNumber:wt.lineNumber,endLineNumber:wt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},pt=St.getLineContent(wt.lineNumber).substring(Bt.startColumn-2,Bt.endColumn);return{suggestions:[...le.keywords.map(Ft=>({label:Ft,kind:Fe.languages.CompletionItemKind.Function,documentation:Ft,insertText:Ft,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Nt})),...le.quickKey.map(Ft=>({label:Ft.label,kind:Fe.languages.CompletionItemKind.Function,documentation:Ft.content,insertText:pt.startsWith("#")?Ft.content.replace(/#/,""):Ft.content,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Nt}))]}}}),Fe.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(St,wt){var Bt=St.getWordUntilPosition(wt),Nt={startLineNumber:wt.lineNumber,endLineNumber:wt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},pt=St.getLineContent(wt.lineNumber).substring(Bt.startColumn-2,Bt.endColumn);return{suggestions:[...ue.keywords.map(Ft=>({label:Ft,kind:Fe.languages.CompletionItemKind.Function,documentation:Ft,insertText:Ft,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Nt})),...ue.quickKey.map(Ft=>({label:Ft.label,kind:Fe.languages.CompletionItemKind.Function,documentation:Ft.content,insertText:pt.startsWith("#")?Ft.content.replace(/#/,""):Ft.content,insertTextRules:Fe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Nt}))]}}})};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 me=Object.defineProperty,Ee=(Fe,Ne,nt)=>Ne in Fe?me(Fe,Ne,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Fe[Ne]=nt,Be=(Fe,Ne,nt)=>Ee(Fe,typeof Ne!="symbol"?Ne+"":Ne,nt);const je=class zf{constructor(Ne,nt,gt){this.placeholder=Ne,this.editor=nt,this.monaco=gt,nt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return zf.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)}};Be(je,"ID","editor.widget.placeholderHint");var De=je,xe=be(96236),Te=be(8591),Ke=be(6848),Ye=be(89392),Me=be(50484),tt=be(56102),qe=Object.defineProperty,st=Object.defineProperties,ct=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,At=(Fe,Ne,nt)=>Ne in Fe?qe(Fe,Ne,{enumerable:!0,configurable:!0,writable:!0,value:nt}):Fe[Ne]=nt,bt=(Fe,Ne)=>{for(var nt in Ne||(Ne={}))at.call(Ne,nt)&&At(Fe,nt,Ne[nt]);if(lt)for(var nt of lt(Ne))ut.call(Ne,nt)&&At(Fe,nt,Ne[nt]);return Fe},It=(Fe,Ne)=>st(Fe,ct(Ne)),ht=(Fe,Ne)=>{var nt={};for(var gt in Fe)at.call(Fe,gt)&&Ne.indexOf(gt)<0&&(nt[gt]=Fe[gt]);if(Fe!=null&<)for(var gt of lt(Fe))Ne.indexOf(gt)<0&&ut.call(Fe,gt)&&(nt[gt]=Fe[gt]);return nt},dt=(Fe,Ne,nt)=>new Promise((gt,St)=>{var wt=pt=>{try{Nt(nt.next(pt))}catch(Ft){St(Ft)}},Bt=pt=>{try{Nt(nt.throw(pt))}catch(Ft){St(Ft)}},Nt=pt=>pt.done?gt(pt.value):Promise.resolve(pt.value).then(wt,Bt);Nt((nt=nt.apply(Fe,Ne)).next())});function $e(Fe){return/^\d+$/.test(Fe)?`${Fe}px`:Fe}function Pe(){}let ke=!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 Qe(Fe=[]){let Ne=Fe;if(Array.isArray(Fe)){for(let nt=0;nt{var Ne=Fe,{width:nt="100%",height:gt="100%",value:St,language:wt="javascript",style:Bt={},options:Nt={},overrideServices:pt={},theme:Ft="vs-dark",onEditBlur:Lt,isCopy:$t=!1,onSave:Vt,autoHeight:en=!1,forbidCopy:cn=!1,onChange:pn=Pe,editorDidMount:xn=Pe,onFocus:ur=Pe,onBreakPoint:Dr=Pe,breakPointValue:Nn=[],filename:jn="educoder.txt",errorLine:dn,errorContent:Ln="",highlightLine:er,openBreakPoint:Ur=!1,placeholder:Sr=""}=Ne,Or=ht(Ne,["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 Mr=(0,ve.useRef)(),Nr=(0,ve.useRef)({}),Jr=(0,ve.useRef)(),Gn=(0,ve.useRef)(),Dn=(0,ve.useRef)([]),Wn=(0,ve.useRef)(!1),Pi=(0,ve.useRef)(),ui=(0,ve.useRef)(),ii=(0,ve.useRef)(!1),[zn,Gt]=(0,ve.useState)(!1);function Mt(){let Rn;return Mr.current&&(Rn=new Xe.Z(Ar=>{for(let Hr of Ar)(Hr.target.offsetHeight>0||Hr.target.offsetWidth>0)&&Nr.current.instance.layout()}),Rn.observe(Mr.current)),Rn}function Zt(){Te.ZP.warning({content:decodeURIComponent(ye),key:"monaco-editor-tip"})}const Un=()=>{let Rn=Nr.current.instance;if(St!=null&&Rn&&zn){const Ar=Rn.getModel();Ar&&St!==Ar.getValue()&&(ke=!0,Ar.setValue(St),Rn.layout(),ke=!1)}};(0,ve.useEffect)(()=>{const Rn=Me.Z.subscribe("formatDocument",Ar=>{var Hr;let Wr=Nr.current.instance;(Hr=Wr==null?void 0:Wr.getAction)==null||Hr.call(Wr,"editor.action.formatDocument").run()});return window.updateMonacoValue=Ar=>{pn(Ar)},Rn},[]),(0,ve.useEffect)(()=>{var Rn;let Ar=Nr.current.instance;Gn.current&&clearTimeout(Gn.current),Gn.current=setTimeout(()=>{Un()},500),St&&(St!=null&&St.length)&&((Rn=Ar==null?void 0:Ar.updateOptions)==null||Rn.call(Ar,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(St.split(/\r\n|\r|\n/g).length))+3,5)}))},[St,zn,Nr.current]),(0,ve.useEffect)(()=>{if(dn&&Nr.current&&Nr.current.instance){let Ar=Nr.current.instance;Ar.changeViewZones(function(Hr){var Wr=document.createElement("div");Wr.style.padding="10px 20px",Wr.style.width="calc(100% - 20px)",Wr.className="my-error-line-wrp",Wr.innerHTML=Ln,Hr.addZone({afterLineNumber:dn||11,heightInLines:3,domNode:Wr})});var Rn={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}};Ar.addOverlayWidget(Rn),Ar.revealPositionInCenter({lineNumber:20,column:1})}},[dn,Nr.current,zn]);const Br=(Rn="",Ar)=>{if(!Rn||Rn.trim()==="")return!0;const Wr=Nr.current.instance.getModel().getLineTokens(Ar);let wi=!1;for(let Bi=0;Bi<2;Bi++)Wr.getStandardTokenType(Bi)===1&&(wi=!0);return wi};(0,ve.useEffect)(()=>{var Rn;const Ar=(Rn=Nr.current)==null?void 0:Rn.instance;if(Ar&&zn&&cn){const Hr=Ar.onDidBlurEditorWidget(()=>{ii.current=!1}),Wr=Ar.onDidFocusEditorText(()=>{ii.current=!0});return()=>{Hr.dispose(),Wr.dispose()}}},[Nr.current,zn,cn]),(0,ve.useEffect)(()=>{var Rn;if((Rn=Nr.current)!=null&&Rn.instance&&zn&&Ur){let Ar=Nr.current.instance,Hr=Ar.getModel();if(!Hr)return;(()=>{var hi;let Qn=[],kr=[];const ni=Hr.getAllDecorations();for(let Qi of ni)Qi.options.className==="highlighted-line"&&(Qn.push((hi=Qi==null?void 0:Qi.range)==null?void 0:hi.startLineNumber),kr.push(Qi==null?void 0:Qi.id));if(er===Qn[0])return;Hr.deltaDecorations(kr,[]);const Kr=Hr.getLineCount();er&&er<=Kr&&(Ar.deltaDecorations([],[{range:new _e.Range(er,1,er,Hr.getLineMaxColumn(er)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Ar.revealLineInCenter(er))})();const wi=(hi=!1)=>{var Qn;let kr=[],ni=[];const Kr=Hr.getAllDecorations();for(let Qi of Kr)Qi.options.linesDecorationsClassName==="breakpoints-select"&&(kr.push((Qn=Qi==null?void 0:Qi.range)==null?void 0:Qn.startLineNumber),ni.push(Qi==null?void 0:Qi.id));if(hi)return{lines:kr,ids:ni};Dr(kr)},Bi=hi=>dt(void 0,null,function*(){let Qn={range:new _e.Range(hi,1,hi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Hr.deltaDecorations([],[Qn]),wi()}),vi=hi=>dt(void 0,null,function*(){let Qn=[];const kr=Ar.getLineDecorations(hi);for(let ni of kr)ni.options.linesDecorationsClassName==="breakpoints-select"&&Qn.push(ni.id);yield Hr.deltaDecorations(Qn,[]),wi()}),di=hi=>{let Qn=Ar.getLineDecorations(hi);for(let kr of Qn)if(kr.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Ye.isEqual)(Nn,wi(!0).lines)){Hr.deltaDecorations(wi(!0).ids,[]);const hi=Nn.map(Qn=>({range:new _e.Range(Qn,1,Qn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Hr.deltaDecorations([],hi)}const ai=Ar.onDidChangeModelContent(hi=>{let Qn=Ar.getPosition();if(Qn){let kr=Qn.lineNumber;clearTimeout(ui.current),ui.current=setTimeout(()=>{Br(Hr.getLineContent(kr),kr)?vi(kr):di(kr)?(vi(kr),Bi(kr)):wi()},100)}}),qn=Ar.onMouseDown(hi=>{var Qn,kr,ni;if(hi.target.detail&&((ni=(kr=(Qn=hi.target)==null?void 0:Qn.element)==null?void 0:kr.className)!=null&&ni.includes("line-numbers"))){let Kr=hi.target.position.lineNumber;if(Br(Hr.getLineContent(Kr),Kr))return;di(Kr)?vi(Kr):Bi(Kr)}}),Yn=hi=>{let Qn={range:new _e.Range(hi,1,hi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Dn.current=Ar.deltaDecorations(Dn.current,[Qn])},Ki=()=>{Dn.current=Ar.deltaDecorations(Dn.current,[])},xi=Ar.onMouseMove(hi=>{var Qn,kr,ni;if(Ki(),hi.target.detail&&((ni=(kr=(Qn=hi.target)==null?void 0:Qn.element)==null?void 0:kr.className)!=null&&ni.includes("line-numbers"))){let Kr=hi.target.position.lineNumber;if(Br(Hr.getLineContent(Kr),Kr))return;Yn(Kr)}}),ta=Ar.onMouseLeave(()=>{Ki()});return()=>{ai.dispose(),qn.dispose(),xi.dispose(),ta.dispose()}}},[Nr.current,zn,Nn,er,Ur,wt]),(0,ve.useEffect)(()=>{var Rn;(Rn=Nr.current)!=null&&Rn.instance&&Ur&&Nr.current.instance.setPosition({lineNumber:0,column:0})},[er]);function Xn(){let Rn=Nr.current.instance;if(Rn){const Ar=Rn.getSelection(),Hr=Nr.current.pastePos||{},Wr=new _e.Range(Hr.startLineNumber||Ar.endLineNumber,Hr.startColumn||Ar.endColumn,Hr.endLineNumber||Ar.endLineNumber,Hr.endColumn||Ar.endColumn);setTimeout(()=>{Rn.executeEdits("",[{range:Wr,text:""}])},300)}}function hr(Rn){(window.navigator.platform.match("Mac")?Rn.metaKey:Rn.ctrlKey)&&Rn.keyCode==83&&(Rn.preventDefault(),Vt())}const gr=()=>{if(en&&Nr.current.instance){const Rn=Nr.current.instance.getContentHeight();nr(Rn{if(!ii.current)return;const{keyCode:Ar,ctrlKey:Hr,metaKey:Wr,target:wi,type:Bi}=Rn;return(Bi==="paste"||(Ar===67||Ar===86)&&(Wr||Hr))&&wi.nodeName==="TEXTAREA"&&(Zt(),Rn.preventDefault()),!1};function mi(Rn,Ar){var Hr=window.URL||window.webkitURL||window,Wr=new Blob([Ar]),wi=document.createElementNS("http://www.w3.org/1999/xhtml","a");wi.href=Hr.createObjectURL(Wr),wi.download=Rn,ci(wi)}(0,ve.useEffect)(()=>{gr()},[gr]),(0,ve.useEffect)(()=>{Mr.current&&!zn&&Promise.all([be.e(8909),be.e(6894)]).then(be.bind(be,71448)).then(Rn=>{try{_e=Rn,Nr.current.instance=_e.editor.create(Mr.current,{value:St,language:Qe(wt),theme:Ft,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},pt);const Ar=Nr.current.instance;let wi=[...xe.BH._menuItems].find(ai=>ai[0]._debugName=="EditorContext")[1],Bi=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],vi=(ai,qn)=>{var Yn,Ki;let xi=ai._first;do qn.includes((Ki=(Yn=xi.element)==null?void 0:Yn.command)==null?void 0:Ki.id)&&ai._remove(xi);while(xi=xi.next)};if(xn(Ar,_e),setTimeout(()=>{gr(),Nr.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{mi(jn||"educoder.txt",Ar.getValue())}})},500),Nr.current.subscription=Ar.onDidChangeModelContent(ai=>{Wn.current?clearTimeout(Pi.current):(gr(),pn(Ar.getValue(),ai)),Pi.current=setTimeout(()=>{Wn.current=!1},500)}),window.Monaco||pe(_e,Qe(wt)),cn&&(vi(wi,Bi),Mr.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",cr),window.removeEventListener("paste",cr),window.addEventListener("keydown",cr),window.addEventListener("paste",cr)),window.Monaco=_e,Lt&&Ar.onDidBlurEditorWidget(()=>{Lt(Ar.getValue())}),ur&&Ar.onDidFocusEditorText(()=>{ur(Ar.getValue())}),cn)try{Ar.onDidPaste(ai=>{const qn=Ar.getSelection(),Yn=Nr.current.pastePos||{},Ki=new _e.Range(Yn.startLineNumber||qn.endLineNumber,Yn.startColumn||qn.endColumn,Yn.endLineNumber||qn.endLineNumber,Yn.endColumn||qn.endColumn);Ar.executeEdits("",[{range:ai.range,text:""}])})}catch(ai){}let di=Mt();return Sr&&typeof Sr=="string"&&new De(Sr,Ar,_e),Gt(!0),()=>{const ai=Nr.current.instance;ai.dispose();const qn=ai.getModel();qn&&qn.dispose(),Nr.current.subscription&&Nr.current.subscription.dispose(),di.unobserve(Mr.current)}}catch(Ar){}})},[]),(0,ve.useEffect)(()=>{if(Nr.current.instance&&zn)return document.addEventListener("keydown",hr,!1),()=>{document.removeEventListener("keydown",hr)}},[Vt,zn]),(0,ve.useEffect)(()=>{let Rn=Nr.current.instance;if(Rn&&zn){let Ar=Qe(wt);_e.editor.setModelLanguage(Rn.getModel(),Ar)}},[wt,zn]),(0,ve.useEffect)(()=>{Nr.current.instance&&zn&&_e.editor.setTheme(Ft)},[Ft,zn]),(0,ve.useEffect)(()=>{let Rn=Nr.current.instance;Jr.current=Nt,Rn&&zn&&(Rn.updateOptions(bt({},Nt)),setTimeout(()=>{Rn.getModel().updateOptions(bt({},Nt))},200))},[JSON.stringify(Nt),zn]),(0,ve.useEffect)(()=>{let Rn=Nr.current.instance;Rn&&zn&&Rn.layout()},[nt,gt,zn]);const[ar,On]=(0,ve.useState)($e(nt)),[An,nr]=(0,ve.useState)($e(gt)),vn=It(bt({},Bt),{width:ar,height:An,position:"relative"});return ve.createElement("div",{className:"my-monaco-editor",ref:Mr,style:vn},$t&&ve.createElement(tt.CopyToClipboard,{text:St,onCopy:()=>Te.ZP.success("\u590D\u5236\u6210\u529F")},ve.createElement(Ke.Z,{title:"\u590D\u5236\u4EE3\u7801"},ve.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},ve.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ue({width:Fe="100%",height:Ne="100%",original:nt,modified:gt,language:St,options:wt={}}){const Bt=(0,ve.useRef)(),[Nt,pt]=(0,ve.useState)(null);function Ft(en){let cn;return Bt.current&&(cn=new Xe.Z(pn=>{for(let xn of pn)(xn.target.offsetHeight>0||xn.target.offsetWidth>0)&&en.layout()}),cn.observe(Bt.current)),cn}(0,ve.useEffect)(()=>(Bt.current&&Promise.all([be.e(8909),be.e(9404)]).then(be.bind(be,2550)).then(en=>{_e=en;const cn=_e.editor.createDiffEditor(Bt.current,It(bt({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},wt),{wordWrap:!0}));pt(cn);let pn=Ft(cn);return()=>{cn.dispose();const xn=cn.getModel();xn&&xn.dispose(),pn.unobserve(Bt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ve.useEffect)(()=>{Nt&&Nt.setModel({original:_e.editor.createModel(nt,St),modified:_e.editor.createModel(gt,St)})},[nt,gt,St,Nt]);const Lt=$e(Fe),$t=$e(Ne),Vt={width:Lt,height:$t};return ve.createElement("div",{className:"my-diff-editor",ref:Bt,style:Vt})}},34043:function(nn,Ht,be){"use strict";var ve=be(58323),Xe=be(57809),E=be(78673),ge=be(59301);const Ae=Xe.default.Option;Ht.Z=({isTheoretical:ue,onFontSizeChange:le,cmFontSize:ie,cmCodeMode:se,autoFormat:ae,onCodeModeChange:oe,onTabToSpace:re,onAutoFormat:ne,formatDocument:z,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:te})=>{const ee={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return ge.createElement("div",{className:`tpi-code-setting ${a}`},ge.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),ge.createElement("section",null,ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),ge.createElement(Xe.default,{bordered:!1,size:"small",value:se,onChange:oe},ge.createElement(Ae,{value:"vs"},"\u767D\u8272\u80CC\u666F"),ge.createElement(Ae,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!ue&&ge.createElement(ge.Fragment,null,ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),ge.createElement(Xe.default,{bordered:!1,size:"small",value:ie,onChange:le},ge.createElement(Ae,{value:12},"12px"),ge.createElement(Ae,{value:14},"14px"),ge.createElement(Ae,{value:16},"16px"),ge.createElement(Ae,{value:18},"18px"),ge.createElement(Ae,{value:20},"20px"),ge.createElement(Ae,{value:22},"22px"))),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"Tab\u8F6C\u6362"),ge.createElement(E.Z,{checked:y,onChange:re})),ge.createElement("div",{className:"file-item",onClick:z},ge.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!ue&&ge.createElement(ge.Fragment,null,ge.createElement("h3",null,"\u5FEB\u6377\u952E"),ge.createElement("section",null,ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),ge.createElement("span",null,"Ctrl + S")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),ge.createElement("span",null,"F1 / Alt + F1")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),ge.createElement("span",null,"Ctrl + ]/[")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),ge.createElement("span",null,"Ctrl + Shift + \\")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),ge.createElement("span",null,"Home")),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),ge.createElement("span",null,"End"))),x),!ue&&ge.createElement(ge.Fragment,null,ge.createElement("h3",null,"\u5FEB\u6377\u952E"),ge.createElement("section",null,ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),ge.createElement("span",null,ee[te==null?void 0:te.difficulty])),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),ge.createElement("span",null,b==null?void 0:b.name)),ge.createElement("div",{className:"file-item"},ge.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),ge.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},15965:function(nn,Ht,be){"use strict";be.d(Ht,{jL:function(){return Ae},w9:function(){return at},QD:function(){return pn},cQ:function(){return tt},op:function(){return Ft},O5:function(){return ii},_b:function(){return dn},t7:function(){return b},Gi:function(){return dt},YG:function(){return It},qp:function(){return oe},vr:function(){return Dr},qE:function(){return Vt},Je:function(){return ce},wb:function(){return xe},cq:function(){return _e},tp:function(){return z}});var ve=be(59301),Xe={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},E="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWg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C4kpPpF8fNgLEjkPzyz/qzjo3zcwKSyqOfy2avePKuNHgwUjEB3j4FbB1R973/3zfsh9ten/+nerk35RM36MPfswdu2qMDoqOY9BO59jhb6zJdbVneyhSMixPpnphR7BSBr3tAf9i2cH45j9k0Dy58Zreitwr0dSRK5J0YbwJDLfo39eWTDrTOebkDeL2+13e5nnPZfrh/UTdmVvOJb6fq6OsIzziK9H8lCI6RldtMcX46ZbDT9V//oJ6fAz4iBI7VMfYp5SBmEFw1uTNcezFcB56YQPv329qHfPXo8n2vF4BX8rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ae=({dataSource:zn=[],img:Gt,imgWidth:Mt=346,title:Zt,sunTitle:Un,bannerExtraContent:Br})=>ve.createElement("div",{className:Xe.banner},ve.createElement("div",{className:Xe.content},ve.createElement("aside",null,ve.createElement("p",null,ve.createElement("b",null,Zt),ve.createElement("span",null,Un)),zn.length>0&&ve.createElement("div",{className:Xe.btns},zn.map((Xn,hr)=>ve.createElement("div",{key:hr,onClick:Xn.click},Xn.name,Xn.sign?ve.createElement("img",{src:E,width:39}):null))),Br),Gt&&ve.createElement("img",{style:{marginTop:33,marginRight:38},src:Gt,width:Mt}))),ue={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},le=be(92310),ie=be.n(le),se=be(89392),oe=({dataSource:zn=[],value:Gt,onChange:Mt,onTitleChange:Zt,className:Un,title:Br,titleWidth:Xn=41,style:hr={},fontColor:gr="#6A7283",showCount:ci})=>{const[cr,mi]=(0,ve.useState)(0),[ar,On]=(0,ve.useState)(!1),An=(0,ve.useRef)(null),nr=(0,ve.useRef)(null);return(0,ve.useEffect)(()=>{var vn;zn.length!==0&&(((vn=An==null?void 0:An.current)==null?void 0:vn.clientHeight)>97?mi(1):mi(0)),zn.length===0&&mi(0),On(!1)},[zn]),ve.createElement("div",{className:ie()(ue.row,Un),style:hr},ve.createElement("div",{onClick:(0,se.throttle)(()=>Zt==null?void 0:Zt(),2e3),style:{width:Xn,marginTop:ar?12:4},className:`${ue.title} ${Zt?"current":""}`},Br),ve.createElement("div",{className:ar?`${ue.tagsWrap} ${ue.tagsBorderWrap}`:ue.tagsWrap},ve.createElement("div",{className:ue.bar,ref:nr,style:cr>0?{height:cr===1?97:"auto",overflow:cr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ve.createElement("div",{className:ue.tag,ref:An},zn==null?void 0:zn.map(vn=>ve.createElement("span",{onClick:()=>Mt(vn.id),key:vn.id,style:{color:gr},className:Gt===vn.id?ue.active:""},ve.createElement("span",{title:vn.name,className:ue.name},vn.name),!!ci&&ve.createElement("span",{className:ue.num},vn.count))))),!!cr&&ve.createElement(ve.Fragment,null,cr===1?ve.createElement("div",{onClick:()=>{var vn;mi(2),((vn=An==null?void 0:An.current)==null?void 0:vn.clientHeight)>245?On(!0):On(!1)},className:ue.action},"\u5C55\u5F00",ve.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ve.createElement("div",{onClick:()=>{nr.current.scrollTop=0,mi(1),On(!1)},className:ue.action},"\u6536\u8D77",ve.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},re={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},z=({dataSource:zn=[],value:Gt,onChange:Mt,className:Zt,style:Un={}})=>ve.createElement("div",{style:Un,className:ie()(re.tabs,Zt)},zn.map(Br=>ve.createElement("span",{onClick:()=>Mt(Br.id),className:Gt===Br.id?re.active:"",key:Br.id},Br.name))),a={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},y=be(92832),b=({dataSource:zn=[],value:Gt="",onChange:Mt,onInputChange:Zt=()=>{},className:Un,style:Br={},placeholder:Xn,allowClear:hr=!1})=>{var gr;const[ci,cr]=(0,ve.useState)(""),[mi,ar]=(0,ve.useState)("");(0,ve.useEffect)(()=>{var nr;let vn=Gt;(nr=JSON.stringify(Gt))!=null&&nr.includes("{")&&(cr(Gt.id),vn=Gt.value||"");try{ar(decodeURIComponent(vn||""))}catch(Rn){ar(decodeURIComponent(vn||""))}},[Gt]);const On=()=>{Mt(encodeURIComponent(mi),ci||null)},An=nr=>{nr!==ci&&(cr(nr),Mt(encodeURIComponent(mi),nr))};return ve.createElement("div",{className:ie()(a.input,Un),style:Br},!!zn.length&&ve.createElement("div",{className:a.dropdown},ve.createElement("div",{className:a.text},(gr=zn.find(nr=>nr.id===ci))==null?void 0:gr.name,ve.createElement("i",{className:"iconfont icon-zhankai4"}),ve.createElement("b",{className:a.b1}),ve.createElement("b",{className:a.b2})),ve.createElement("div",{className:a.menu},zn.map((nr,vn)=>ve.createElement("div",{key:vn,onClick:()=>An(nr.id)},nr.name)))),ve.createElement(y.default,{onPressEnter:On,value:mi,onChange:nr=>{ar(nr.target.value),Zt(encodeURIComponent(nr.target.value),ci||null)},bordered:!1,placeholder:Xn}),ve.createElement("i",{onClick:On,className:"iconfont icon-sousuo9 font14 pl10 current"}))},te={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},ce=({value:zn,onChange:Gt,className:Mt,total:Zt,pageSize:Un,style:Br={}})=>{const Xn=zn<2,hr=zn>=Math.ceil(Zt/Un);return Zt<=Un?ve.createElement(ve.Fragment,null):ve.createElement("div",{className:ie()(te.quickPager,Mt),style:Br},ve.createElement("div",{onClick:()=>{Xn||Gt(zn-1,"prev")},className:Xn?te.disabled:""},"\u4E0A\u4E00\u9875"),ve.createElement("div",{onClick:()=>{hr||Gt(zn+1,"next")},className:hr?te.disabled:""},"\u4E0B\u4E00\u9875"))},fe={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},he=be(71418),de=be(6848),pe=be(13570),ye=be(38446),me=be(88230),Ee=be(96908),Be=be(57177),je=be(81378),we=be(57816),xe=({className:zn,dataSource:Gt=[],col:Mt=4,right:Zt,bottom:Un=23,precision:Br=0,wrapWidth:Xn=1200,trackEventItems:hr,loading:gr})=>{const ci=Math.floor((Xn-(Mt-1)*Zt)/Mt);return ve.createElement(he.Z,{spinning:gr},ve.createElement("div",{className:ie()(fe.list,zn)},!!Gt.length&&Gt.map((cr,mi)=>{const{name:ar,id:On,identifier:An,power:nr,cover_image_id:vn,pic:Rn}=cr;return ve.createElement("div",{className:fe.wrap,key:On,style:{width:ci,marginRight:(1+mi)%Mt===0?0:Zt+Br,marginBottom:Un}},ve.createElement("a",{target:"_blank",href:`/shixuns/${An}/challenges`,className:fe.li,onClick:Ar=>{Ar.preventDefault(),hr&&(0,me.L9)([hr]),nr&&(0,me.xg)(`/shixuns/${An}/challenges`)}},ve.createElement("div",{className:fe.img},ve.createElement("img",{className:fe.cover,src:`${Rn}`}),cr.is_jupyter&&ve.createElement("img",{className:fe.sign,src:Ee}),cr.is_jupyter_lab&&ve.createElement("img",{className:fe.sign,src:Be}),cr.is_unity_3d&&ve.createElement("img",{className:fe.sign,src:je})),ve.createElement("div",{className:fe.name},ve.createElement(de.Z,{title:ar||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ve.createElement("span",{className:fe.e},ar||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ve.createElement("div",{className:fe.tags},ve.createElement(de.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ve.createElement("span",null,ve.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ve.createElement("span",null,cr.challenges_count))),!!cr.myshixuns_count&&ve.createElement(de.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ve.createElement("span",null,ve.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ve.createElement("span",null,cr.myshixuns_count))),ve.createElement(de.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ve.createElement("span",null,ve.createElement("span",null,cr.level))),ve.createElement("div",{className:fe.rate},ve.createElement(pe.Z,{allowHalf:!0,disabled:!0,defaultValue:cr.score_info}),ve.createElement("span",null,"\xA0",cr.score_info?`${cr.score_info}\u5206`:"5\u5206")))),!nr&&ve.createElement("div",{className:fe.lockWrap},ve.createElement("img",{src:`${ye.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ve.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Gt.length&&ve.createElement(we.Z,null)))},Te={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf"},Ke=be(73898),Ye=be(59301),tt=({className:zn,dataSource:Gt=[],col:Mt=4,right:Zt,bottom:Un=23,precision:Br=0,wrapWidth:Xn=1200,trackEventItems:hr,loading:gr,onRemove:ci=()=>{},isCurrent:cr=!0,showAlias:mi=!1})=>{const ar=Math.floor((Xn-(Mt-1)*Zt)/Mt),On=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}];return Ye.createElement(he.Z,{spinning:gr},Ye.createElement("div",{className:ie()(Te.list,zn)},!!(Gt!=null&&Gt.length)&&(Gt==null?void 0:Gt.map((An,nr)=>{var vn;const{name:Rn,id:Ar,identifier:Hr,featured:Wr,school_name:wi,image_url:Bi,excellent:vi,is_plan:di}=An;return Ye.createElement("div",{key:Ar,className:Te.wrap,style:{width:ar,marginRight:(1+nr)%Mt===0?0:Zt+Br,marginBottom:Un}},Ye.createElement("a",{className:Te.li,onClick:ai=>{ai.preventDefault(),ai.stopPropagation(),hr&&(0,me.L9)([hr]),(0,me.xg)(`/paths/${Hr}`)}},Ye.createElement("div",{className:Te.img},Ye.createElement("img",{className:Te.cover,src:`${Bi}`}),cr&&(0,Ke.bg)()&&(An==null?void 0:An.studying)&&Ye.createElement("div",{className:`${Te.movebq} user-path-items`,onClick:ai=>{ai.stopPropagation(),ci(An)}},Ye.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Ye.createElement("span",{className:"c-red"},"\u79FB\u9664")),(vn=An==null?void 0:An.subject_tags)==null?void 0:vn.map((ai,qn)=>{var Yn,Ki;if(qn===0){const ta=(Yn=On.find(hi=>hi.name==ai))==null?void 0:Yn.swimg;return Ye.createElement("img",{className:Te.sign,src:ta,style:{left:"-4px"}})}const xi=(Ki=On.find(ta=>ta.name==ai))==null?void 0:Ki.ptimg;return Ye.createElement("img",{className:Te.sign,src:xi,style:{left:`${48+52*(qn-1)+2*qn}px`}})}),Ye.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(An==null?void 0:An.excellent)&&Ye.createElement("div",{className:Te.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Ye.createElement("div",{className:Te.name},Ye.createElement(de.Z,{title:mi&&(An!=null&&An.excellent_alias_name)?Ye.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Rn}`,Ye.createElement("br",null),Ye.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${An==null?void 0:An.excellent_alias_name}`)):Rn},Ye.createElement("span",{className:Te.e},mi&&(An==null?void 0:An.excellent_alias_name)||Rn))),Ye.createElement(de.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${wi}`},Ye.createElement("div",{className:Te.unit},Ye.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),wi)),Ye.createElement("div",{className:Te.tags},Ye.createElement("div",null,Ye.createElement(de.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ye.createElement("span",null,Ye.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ye.createElement("span",null,An.stages_count))),Ye.createElement(de.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ye.createElement("span",null,Ye.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ye.createElement("span",null,An.members_count)))))))})),!Gt.length&&Ye.createElement(we.Z,null)))},qe={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___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pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",ct=be(59301),at=({className:zn,dataSource:Gt=[],col:Mt=4,right:Zt,bottom:Un=23,precision:Br=0,wrapWidth:Xn=1200,trackEventItems:hr,loading:gr})=>{const ci=Math.floor((Xn-(Mt-1)*Zt)/Mt);return ct.createElement(he.Z,{spinning:gr},ct.createElement("div",{className:ie()(qe.list,zn)},!!Gt.length&&Gt.map((cr,mi)=>{const{subject_identifier:ar,id:On,identifier:An,power:nr}=cr,vn=cr.is_public!=0&&cr.is_public;return ct.createElement("div",{className:qe.wrap,key:On,style:{width:ci,marginRight:(1+mi)%Mt===0?0:Zt+Br,marginBottom:Un}},ct.createElement("a",{className:qe.li,onClick:Rn=>{Rn.preventDefault(),hr&&(0,me.L9)([hr]),(0,me.xg)(cr.first_category_url)}},ct.createElement("div",{className:qe.top},ct.createElement(de.Z,{title:cr.name},ct.createElement("div",{className:qe.name},cr.name)),ct.createElement("img",{className:qe.img,src:ye.Z.IMG_SERVER+"/images/"+cr.avatar_url}),ct.createElement("div",{className:qe.text,title:cr.creator},cr.creator),ar&&ct.createElement("div",{className:qe.btns},ct.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ct.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),vn&&ct.createElement("div",{className:qe.sign},"\u516C\u5F00")),ct.createElement("div",{className:qe.bottom},cr.visits>0&&ct.createElement(de.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ct.createElement("span",null,ct.createElement("i",{className:"iconfont icon-liulanyan"}),ct.createElement("span",null,cr.visits))),cr.course_members_count>0&&ct.createElement(de.Z,{title:"\u6210\u5458",placement:"bottom"},ct.createElement("span",null,ct.createElement("i",{className:"iconfont icon-chengyuan"}),cr.course_members_count)),cr.tasks_count>0&&ct.createElement(de.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ct.createElement("span",null,ct.createElement("i",{className:"iconfont icon-zuoye"}),cr.tasks_count)),cr.is_end?ct.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ct.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!cr.is_accessible&&ct.createElement("div",{className:qe.lockWrap},ct.createElement("img",{src:`${ye.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ct.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Gt.length&&ct.createElement(we.Z,null)))},ut={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},At=be(24459),It=({dataSource:zn=[],value:Gt,onChange:Mt,className:Zt,style:Un={},tabBarExtraContent:Br})=>ve.createElement("div",{className:ie()(ut.tabs,Zt),style:Un},ve.createElement("div",{className:ut.tabsWrap},zn.map((Xn,hr)=>ve.createElement("aside",{className:ut.tab,onClick:()=>{Mt(Xn.id),Xn.link&&At.history.push(Xn.link)},key:hr},ve.createElement("div",{className:Gt===Xn.id?ut.active:""},Xn.name),(Xn==null?void 0:Xn.resetCount)==null&&(Xn==null?void 0:Xn.total)!==void 0&&ve.createElement("span",null,"\uFF08",Xn==null?void 0:Xn.total,"\uFF09"),(Xn==null?void 0:Xn.resetCount)!==void 0&&(Xn==null?void 0:Xn.total)!==void 0&&ve.createElement(de.Z,{title:(Xn==null?void 0:Xn.tip)!=null?Xn==null?void 0:Xn.tip:""},ve.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ve.createElement("span",{style:{color:"#000"}},Xn==null?void 0:Xn.resetCount),"/",ve.createElement("span",null,Xn==null?void 0:Xn.total),"\uFF09"))))),ve.createElement("div",{className:ut.tabBar},Br)),dt=({className:zn,style:Gt={},children:Mt})=>ve.createElement("div",{className:ie()(zn),style:Gt},Mt),$e={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Pe=be(38854),ke=be(20834);const Ve=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var _e=({sortValue:zn,dropValue:Gt,className:Mt,onSort:Zt,onDrop:Un,dataSource:Br=Ve})=>{var Xn;return ve.createElement("div",{className:ie()($e.orderWrap,Mt)},ve.createElement(Pe.Z,{dropdownRender:()=>ve.createElement(ke.default,null,Br.map((hr,gr)=>ve.createElement(ke.default.Item,{key:gr,onClick:()=>Un(hr.id)},hr.name)))},ve.createElement("span",{className:$e.orderTextWrap},(Xn=Br.find(hr=>Gt===hr.id))==null?void 0:Xn.name)),ve.createElement("span",{className:$e.orderIconWrap},ve.createElement("span",{className:$e.orderAsc},ve.createElement("i",{className:zn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${$e.cursorPointer} ${$e.active}`:`iconfont icon-sanjiaoxing-up font12 ${$e.cursorPointer}`,onClick:()=>Zt(zn==="asc"?"desc":"asc")})),ve.createElement("span",{className:$e.orderDesc},ve.createElement("i",{className:zn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${$e.cursorPointer} ${$e.active}`:`iconfont icon-sanjiaoxing-down font12 ${$e.cursorPointer}`,onClick:()=>Zt(zn==="asc"?"desc":"asc")}))))},Ze={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v"},Ue=be(3113),Fe=Object.defineProperty,Ne=Object.getOwnPropertySymbols,nt=Object.prototype.hasOwnProperty,gt=Object.prototype.propertyIsEnumerable,St=(zn,Gt,Mt)=>Gt in zn?Fe(zn,Gt,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):zn[Gt]=Mt,wt=(zn,Gt)=>{for(var Mt in Gt||(Gt={}))nt.call(Gt,Mt)&&St(zn,Mt,Gt[Mt]);if(Ne)for(var Mt of Ne(Gt))gt.call(Gt,Mt)&&St(zn,Mt,Gt[Mt]);return zn},Bt=(zn,Gt)=>{var Mt={};for(var Zt in zn)nt.call(zn,Zt)&&Gt.indexOf(Zt)<0&&(Mt[Zt]=zn[Zt]);if(zn!=null&&Ne)for(var Zt of Ne(zn))Gt.indexOf(Zt)<0&>.call(zn,Zt)&&(Mt[Zt]=zn[Zt]);return Mt},Nt=(zn,Gt,Mt)=>new Promise((Zt,Un)=>{var Br=gr=>{try{hr(Mt.next(gr))}catch(ci){Un(ci)}},Xn=gr=>{try{hr(Mt.throw(gr))}catch(ci){Un(ci)}},hr=gr=>gr.done?Zt(gr.value):Promise.resolve(gr.value).then(Br,Xn);hr((Mt=Mt.apply(zn,Gt)).next())}),Ft=zn=>{var Gt=zn,{className:Mt,style:Zt,children:Un,loading:Br=!1,openLoading:Xn,onClick:hr=()=>{},size:gr="middle",shape:ci="round"}=Gt,cr=Bt(Gt,["className","style","children","loading","openLoading","onClick","size","shape"]);const[mi,ar]=(0,ve.useState)(!1);return ve.createElement(Ue.ZP,wt({onClick:(0,se.throttle)(On=>Nt(void 0,null,function*(){Xn&&ar(!0);try{yield hr(On)}catch(An){console.log("error",An)}Xn&&ar(!1)}),2e3,{leading:!0,trailing:!1}),className:ie()(Ze.btn,Ze[`${gr}-${ci}`],Mt),style:Zt,size:gr,shape:ci,loading:mi||Br},cr),Un)},Lt={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Vt=({className:zn,style:Gt,children:Mt=null,onClick:Zt,title:Un})=>ve.createElement("div",{className:ie()(Lt.head,zn),style:Gt},ve.createElement("span",{className:"primary-hover",onClick:Zt},ve.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ve.createElement("b",{title:Un},Un),ve.createElement("div",{className:Lt.node},Mt)),en={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},pn=({confirmShow:zn=!0,confirmTitle:Gt,confirmClick:Mt,cancelShow:Zt=!0,cancelTitle:Un,cancelClick:Br,className:Xn,style:hr,confirmLoading:gr=!1})=>ve.createElement("div",{className:ie()(en.btns,Xn),style:hr},zn&&ve.createElement(Ue.ZP,{loading:gr,onClick:Mt,type:"primary",className:en.confirm},Gt),Zt&&ve.createElement(Ue.ZP,{onClick:Br,className:en.cancel},Un)),xn={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Dr=({className:zn,style:Gt={},LeftContent:Mt,children:Zt,RightContent:Un})=>ve.createElement("div",{className:ie()(xn.fixedBottom,zn),style:Gt},ve.createElement("div",{className:xn.wrap},ve.createElement("div",{className:xn.left},Mt),ve.createElement("div",{className:xn.center},Zt),ve.createElement("div",{className:xn.right},Un))),Nn={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},dn=({className:zn,style:Gt={},dataSource:Mt=[]})=>ve.createElement("div",{className:ie()(Nn.crumbs,zn),style:Gt},Mt.map((Zt,Un)=>UnAt.history.push(Zt.path)},Zt.name):ve.createElement("span",null,Zt.name),ve.createElement("span",null,"\xA0",">","\xA0")):ve.createElement("span",{key:Un,style:{color:"#5F6368"}},Zt.name))),Ln=be(31797),er=Object.defineProperty,Ur=Object.defineProperties,Sr=Object.getOwnPropertyDescriptors,Or=Object.getOwnPropertySymbols,Mr=Object.prototype.hasOwnProperty,Nr=Object.prototype.propertyIsEnumerable,Jr=(zn,Gt,Mt)=>Gt in zn?er(zn,Gt,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):zn[Gt]=Mt,Gn=(zn,Gt)=>{for(var Mt in Gt||(Gt={}))Mr.call(Gt,Mt)&&Jr(zn,Mt,Gt[Mt]);if(Or)for(var Mt of Or(Gt))Nr.call(Gt,Mt)&&Jr(zn,Mt,Gt[Mt]);return zn},Dn=(zn,Gt)=>Ur(zn,Sr(Gt)),Wn=(zn,Gt)=>{var Mt={};for(var Zt in zn)Mr.call(zn,Zt)&&Gt.indexOf(Zt)<0&&(Mt[Zt]=zn[Zt]);if(zn!=null&&Or)for(var Zt of Or(zn))Gt.indexOf(Zt)<0&&Nr.call(zn,Zt)&&(Mt[Zt]=zn[Zt]);return Mt};const{Countdown:Pi}=Ln.default;var ii=zn=>{var Gt=zn,{onChange:Mt}=Gt,Zt=Wn(Gt,["onChange"]);const[Un,Br]=(0,ve.useState)(null);(0,ve.useEffect)(()=>{typeof Un=="number"&&Un>=0&&Mt(Un)},[Un]);const Xn=hr=>{const gr=Math.floor(hr/1e3);Br(gr)};return ve.createElement(Pi,Dn(Gn({},Zt),{onChange:Xn}))}},50505:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return Xe}});var ve=be(59301);function Xe(E,ge){const Ae=(0,ve.useRef)();(0,ve.useEffect)(()=>{Ae.current=E}),(0,ve.useEffect)(()=>{function ue(){Ae.current()}if(ge!==null){let le=setInterval(ue,ge);return()=>clearInterval(le)}},[ge])}},38992:function(nn,Ht,be){"use strict";var ve=be(59301),Xe=be(31797),E=be(5871),ge=be(78241),Ae=be(43418),ue=be(71418),le=be(1710),ie=be(92832),se=be(95237),ae=be(43604),oe=be(3113),re=be(30897),ne=be(61186),z=be.n(ne),a=be(24459),y=be(88230),x=be(93261),b=be(73898),te=be(59579),ee=be(59301),ce=(pe,ye,me)=>new Promise((Ee,Be)=>{var je=xe=>{try{De(me.next(xe))}catch(Te){Be(Te)}},we=xe=>{try{De(me.throw(xe))}catch(Te){Be(Te)}},De=xe=>xe.done?Ee(xe.value):Promise.resolve(xe.value).then(je,we);De((me=me.apply(pe,ye)).next())});const{Countdown:fe}=Xe.default,he=({value:pe,onChange:ye,MaxMinutes:me})=>ee.createElement(ee.Fragment,null,ee.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",ee.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",ee.createElement("br",null)),ee.createElement(E.Z,{value:pe,onChange:ye,min:0,precision:0,max:me,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${me}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),de=({exercise:pe,successCb:ye,dispatch:me})=>{var Ee,Be,je,we;const De=(0,a.useParams)(),[xe]=ge.default.useForm(),Te=ge.default.useWatch("time",xe),[Ke,Ye]=(0,ve.useState)(!1),Me=(0,ve.useRef)(),{actionTabs:tt}=pe,[qe,st]=(0,ve.useState)(),[,ct,lt,at]=(0,te.U)(re.n7,{id:De.categoryId}),[,ut,At]=(0,te.U)(re.Cd,{});(0,ve.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&(Ye(!1),xe.resetFields())},[pe.actionTabs.key]);const bt=()=>new Promise(_e=>ce(void 0,null,function*(){var Ze,Ue;return Me.current=yield(0,x.y)({ip_limit:(Ze=tt==null?void 0:tt.exerciseParams)==null?void 0:Ze.ip_limit,ip_bind:(Ue=tt==null?void 0:tt.exerciseParams)==null?void 0:Ue.ip_bind_type}),_e()})),It=()=>ce(void 0,null,function*(){var _e,Ze,Ue,Fe,Ne;yield xe.validateFields();const nt=xe.getFieldsValue();if(Ye(!0),(((_e=tt==null?void 0:tt.exerciseParams)==null?void 0:_e.ip_limit)!=="no"||(Ze=tt==null?void 0:tt.exerciseParams)!=null&&Ze.ip_bind_type)&&(yield bt()),(yield(0,re.ZD)((Ue=tt==null?void 0:tt.exerciseParams)==null?void 0:Ue.id,{exercise_user_id:(Fe=tt==null?void 0:tt.exerciseParams)==null?void 0:Fe.exercise_user_id,unlock_key:nt.unlock_key,time:nt.time,ip:Me.current})).status===0){if(ye){me({type:"exercise/setActionTabs",payload:{}}),ye();return}const St=tt==null?void 0:tt.exerciseParams;(0,y.nr)({inner_ip:St.inner_ip,public_ip:St.public_ip,open_camera:St.open_camera,ip_limit:St.ip_limit,ip_bind:St.ip_bind,ip_bind_type:St.ip_bind_type,exercise_tips:St.exercise_tips,exerciseId:St.id,screen_open:St.screen_open,screen_num:St.screen_num,screen_sec:St.screen_sec,coursesId:De.coursesId,login:(Ne=(0,b.eY)())==null?void 0:Ne.login,history,identity_verify:St.identity_verify,open_phone_video_recording:St.open_phone_video_recording,current_status:St.current_status}),me({type:"exercise/setActionTabs",payload:{}})}Ye(!1)}),ht=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:_e=>ee.createElement("span",{className:_e.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},_e)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:_e=>ee.createElement("span",{className:_e.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},_e)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],dt=((Ee=tt==null?void 0:tt.exerciseParams)==null?void 0:Ee.errorMessage)&&typeof((Be=tt==null?void 0:tt.exerciseParams)==null?void 0:Be.errorMessage)=="object";(0,ve.useEffect)(()=>{pe.actionTabs.key==="student-unlock"&&ce(void 0,null,function*(){const _e=yield At(De);yield lt({}),_e.status||st(_e)})},[pe.actionTabs.key]);const{time:$e,end_time:Pe}=(qe==null?void 0:qe.exercise)||{},ke=at!=null&&at.user_end_time?z()(at==null?void 0:at.user_end_time).add(1,"minutes"):z()(),Ve=z()(at==null?void 0:at.user_total_end_time)>ke?Math.round(z().duration(z()(at==null?void 0:at.user_total_end_time).diff(ke.startOf("minute"))).asMinutes()):0,Qe=((at==null?void 0:at.student_left_minutes)||0)+(Te||0);return ee.createElement(ee.Fragment,null,ee.createElement(Ae.default,{width:514,centered:!0,closable:!!((je=tt==null?void 0:tt.exerciseParams)!=null&&je.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:pe.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{me({type:"exercise/setActionTabs",payload:{}})}},ee.createElement(ue.Z,{spinning:ct||ut},dt&&ee.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 "),!dt&&ee.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"),dt&&ee.createElement(le.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((we=tt==null?void 0:tt.exerciseParams)==null?void 0:we.errorMessage)||{}],columns:ht}),ee.createElement("div",{className:""},ee.createElement(ge.default,{form:xe,layout:"vertical",autoComplete:"off"},ee.createElement(ge.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},ee.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),$e!==-1?ee.createElement(ee.Fragment,null,ee.createElement(ge.default.Item,{name:"time",label:ee.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",ee.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",z()(at==null?void 0:at.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},ee.createElement(he,{MaxMinutes:Ve})),ee.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",ee.createElement("span",{className:"ml5"},ct||ut?"--":Qe),"\u5206\u949F",Qe!==0&&(at==null?void 0:at.user_end_time)&&ee.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",ee.createElement("span",{className:"ml5"},z()(at==null?void 0:at.user_end_time).add(Te||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):ee.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 ",z()(Pe).format("YYYY-MM-DD HH:mm")))),ee.createElement(se.Z,{justify:"space-between",align:"middle"},ee.createElement(ae.Z,null),ee.createElement(ae.Z,null,ee.createElement(oe.ZP,{loading:Ke,onClick:It},"\u8FDB\u5165\u8003\u8BD5"))))))};Ht.Z=(0,a.connect)(({exercise:pe})=>({exercise:pe}))(de)},83697:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return Ke}});var ve=be(59301),Xe=be(5112),E=be(3113),ge=be(8591),Ae=be(43418),ue=be(5871),le=be(95237),ie=be(43604),se=be(28103),ae=be(57800),oe={flex_box_center:"flex_box_center___eijRq",flex_space_between:"flex_space_between___R4Vev",flex_box_vertical_center:"flex_box_vertical_center___j8R6g",flex_box_center_end:"flex_box_center_end___eB0cz",flex_box_column:"flex_box_column___b9VdU",md:"md___tcpb2",title:"title___dVHM9"},re=be(73898),ne=be(24334),z=be(7660),a=be(24459),y=be(99325),x=be(32186),b=be(87169),te=be(26227),ee=be(59301),ce=Object.defineProperty,fe=Object.defineProperties,he=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,me=(Ye,Me,tt)=>Me in Ye?ce(Ye,Me,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Ye[Me]=tt,Ee=(Ye,Me)=>{for(var tt in Me||(Me={}))pe.call(Me,tt)&&me(Ye,tt,Me[tt]);if(de)for(var tt of de(Me))ye.call(Me,tt)&&me(Ye,tt,Me[tt]);return Ye},Be=(Ye,Me)=>fe(Ye,he(Me)),je=(Ye,Me,tt)=>new Promise((qe,st)=>{var ct=ut=>{try{at(tt.next(ut))}catch(At){st(At)}},lt=ut=>{try{at(tt.throw(ut))}catch(At){st(At)}},at=ut=>ut.done?qe(ut.value):Promise.resolve(ut.value).then(ct,lt);at((tt=tt.apply(Ye,Me)).next())});const we={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var De=(Ye=>(Ye[Ye.SET_PATH=0]="SET_PATH",Ye[Ye.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ye))(De||{});function xe(Ye,Me){switch(Me.type){case 0:return Be(Ee({},Ye),{selectedPath:Me.payload});case 1:return Be(Ee({},Ye),{passedContent:Me.payload});default:throw new Error}}var Ke=({language:Ye,dispatch:Me,shixunWorkReport:tt,v:qe,languages:st,classroomList:ct,autoHeight:lt,diff_code_count:at,data:ut})=>{const[At,bt]=(0,ve.useState)(st==null?void 0:st[0]),It=(0,a.useParams)();return(0,ve.useEffect)(()=>{bt(st==null?void 0:st[0])},[]),(0,ve.useEffect)(()=>{var ht;bt((ht=st==null?void 0:st.filter(dt=>dt.language===(At==null?void 0:At.language)))==null?void 0:ht[0])},[st]),ee.createElement(ee.Fragment,null,ee.createElement("h2",null," ",ee.createElement("span",null,qe.is_finish?ee.createElement("span",null,"\u6700\u540E\u901A\u5173\u4EE3\u7801",ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u901A\u8FC7\u4E86\u672C\u9898\uFF0C\u5728\u4F5C\u4E1A\u65F6\u95F4\u5185\u6700\u540E\u4E00\u6B21\u63D0\u4EA4\u7684\u901A\u5173\u4EE3\u7801")):ee.createElement("span",null,"\u6700\u65B0\u4EE3\u7801",ee.createElement("span",{className:"ml5 font12 c-grey-999"},"\u672A\u901A\u8FC7\u672C\u9898\uFF0C\u5C55\u793A\u6700\u65B0\u7F16\u5199\u7684\u4EE3\u7801\u8BE6\u60C5")),(st==null?void 0:st.length)>1&&ee.createElement(Xe.ZP.Group,{defaultValue:Ye,style:{marginLeft:10},onChange:ht=>{var dt;qe.language=ht.target.value,bt((dt=st==null?void 0:st.filter($e=>$e.language===ht.target.value))==null?void 0:dt[0])}},st==null?void 0:st.map(ht=>ee.createElement(Xe.ZP,{value:ht==null?void 0:ht.language},ht==null?void 0:ht.language)))),(0,re.GJ)()&&tt!="shixunWorkReport"&&ee.createElement("span",null,ee.createElement("span",null,"\u5F97\u5206 ",At==null?void 0:At.score,"/",At==null?void 0:At.total_score),ee.createElement(E.ZP,{style:{margin:"0px 10px"},onClick:()=>{var ht,dt;if(!((dt=(ht=ct.AssistantObject)==null?void 0:ht.hack)!=null&&dt.can_appraise)&&(0,re.Rm)()){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}let $e=At==null?void 0:At.score;Ae.default.confirm({title:"\u8C03\u5206",content:ee.createElement("div",null,ee.createElement("p",null,"\u5F97\u5206\uFF1A",At==null?void 0:At.score,"/",At==null?void 0:At.total_score),ee.createElement("p",null,"\u8C03\u5206\uFF1A",ee.createElement(ue.Z,{min:0,max:At==null?void 0:At.total_score,defaultValue:At==null?void 0:At.score,onChange:Pe=>{$e=Pe}}))),okText:"\u786E\u8BA4",onOk:()=>je(void 0,null,function*(){(yield(0,z.ZP)(`/api/courses/${It==null?void 0:It.coursesId}/homework_commons/update_hack_score`,{method:"put",body:{course_id:It==null?void 0:It.coursesId,hack_user_code_id:At==null?void 0:At.hack_user_id,score:$e}})).status===0&&(ge.ZP.success("\u8C03\u5206\u6210\u529F"),Me({type:"shixunHomeworks/setActionTabs",payload:{}}),Me({type:"shixunHomeworks/getShixunWorkReports",payload:Ee({},It)}))}),cancelText:"\u53D6\u6D88"})},type:"primary"},"\u8C03\u5206"),(0,re.GJ)()&&tt!="shixunWorkReport"&&ee.createElement(E.ZP,{onClick:()=>{var ht;if(!((ht=ct.AssistantObject.hack)!=null&&ht.can_appraise)&&(0,re.Rm)()){ge.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Me({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:tt.user_id,type:"1",language:At==null?void 0:At.language,v:qe,data:Ee({},tt)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),ee.createElement(ae.ZP,{height:300,language:At==null?void 0:At.language,value:At!=null&&At.code?ne.Base64.decode(At==null?void 0:At.code):"",autoHeight:lt,theme:"default",options:we}),((At==null?void 0:At.comment)||(At==null?void 0:At.hidden_comment))&&ee.createElement("div",null,ee.createElement(le.Z,{align:"middle",style:{borderTop:"1px solid #eee"}},ee.createElement(ie.Z,{flex:1},ee.createElement("h1",{className:oe.title},"\u70B9\u8BC4\u5185\u5BB9")),ee.createElement(ie.Z,{className:"pr30"},(0,re.GJ)()&&ee.createElement(E.ZP,{onClick:()=>je(void 0,null,function*(){Ae.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:ee.createElement(b.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return je(this,null,function*(){(yield(0,x.gZ)({comment_id:At==null?void 0:At.comment_id,homeworkId:It.homeworkId,type:"hack"})).status===0&&(ge.ZP.success("\u5220\u9664\u6210\u529F"),Me({type:"shixunHomeworks/getShixunWorkReports",payload:Ee({},It)}))})}})})},ee.createElement(te.Z,null),"\u5220\u9664"))),ee.createElement(se.Z,{style:{margin:0}}),(At==null?void 0:At.comment)&&ee.createElement("aside",{className:"pl30 pr30 mt20"},ee.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ee.createElement("br",null),ee.createElement(y.Z,{value:At==null?void 0:At.comment})),(At==null?void 0:At.hidden_comment)&&ee.createElement("aside",{className:"pl30 pr30 mt20"},ee.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ee.createElement("br",null),ee.createElement(y.Z,{value:At==null?void 0:At.hidden_comment}))))}},5395:function(nn,Ht,be){"use strict";be.r(Ht),be.d(Ht,{default:function(){return Bt}});var ve=be(59301),Xe=be(86129),E=be.n(Xe),ge=be(24459),Ae=be(43418),ue=be(61621),le=be(66104),ie=be(95237),se=be(43604),ae=be(3113),oe=be(8591),re=be(28103),ne=be(1710),z=be(27812),a=be(95869),y=be(87169),x=be(26227),b=be(38446),te=be(73898),ee=be(88230),ce={flex_box_center:"flex_box_center___lb6Eo",flex_space_between:"flex_space_between___J8ZnK",flex_box_vertical_center:"flex_box_vertical_center___zweTs",flex_box_center_end:"flex_box_center_end___CvkW9",flex_box_column:"flex_box_column___ODy_E",title:"title___AD3SJ",export:"export___XBLMD",title1_right:"title1_right___raWIo",userPic:"userPic___OK1Fq",userInfo:"userInfo___wKpvE",listItem:"listItem___VH7Ls",rightInfo:"rightInfo___lI2xY",shixunTitle:"shixunTitle___lvDL9",shixunWrp:"shixunWrp___QXKnz",footerBar:"footerBar___zgEXb",footerBarStatic:"footerBarStatic___SB7gT",exitComment:"exitComment___oC_uA",nextComment:"nextComment___fCJ3l",modal:"modal___v_Shp"},fe=be(83697),he=be(7660),de=be(24334),pe=be(61186),ye=be.n(pe),me=be(57800),Ee=be(21758);const Be=({shixunHomeworks:Nt,autoHeight:pt,classroomList:Ft,user:Lt,dispatch:$t})=>{const{shixunWorkReport:Vt}=Nt,{stage_list:en,work_id:cn}=Vt,pn=(0,ge.useParams)(),xn=(0,te.GJ)(),[ur,Dr]=(0,ve.useState)(),Nn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1},jn=er=>er==="c++"?1:er==="C++"?2:er;function dn(er,Ur){return(0,he.U2)(`student_works/${cn}/rep_passed_content.json`,{path:Ur,game_id:er})}const Ln=(0,ee.qZ)(5,Vt.hack);return ve.createElement(ve.Fragment,null,Ln==null?void 0:Ln.map(function(er,Ur){return ve.createElement("div",{key:Ur},er.map(function(Sr,Or){var Mr,Nr,Jr;return ve.createElement("aside",{className:"pl30 pr30",key:Or},ve.createElement("div",{className:`${ce.shixunTitle} mt10`},ve.createElement("div",{style:{display:"flex",width:"100%"}},ve.createElement("span",{className:"fa fa-code "}),ve.createElement("strong",{style:{flex:1},className:"c-black"},"\u7B2C",Ur*5+Or+1,"\u9898 ",Sr.name),Sr.is_finish&&ve.createElement("a",{style:{marginLeft:20},onClick:Gn=>{Gn.preventDefault(),window.open(`${Sr==null?void 0:Sr.url}&language=${jn(Sr.language)}`),localStorage.setItem("program_homework",[pn.coursesId,pn.categoryId])}},"\u67E5\u770B\u7B54\u9898\u8BE6\u60C5",">>"),!Sr.is_finish&&Sr.final_submit_languages.length>0&&ve.createElement("a",{style:{marginLeft:20},onClick:Gn=>{Gn.preventDefault(),window.open(`${Sr==null?void 0:Sr.url}&language=${jn(Sr.final_submit_languages[0].language)}`),localStorage.setItem("program_homework",[pn.coursesId,pn.categoryId])}},"\u67E5\u770B\u7B54\u9898\u8BE6\u60C5",">>"))),ve.createElement("div",{className:"font16 mt10"},Sr.is_finish?ve.createElement("aside",{className:ce.shixunWrp},ve.createElement(fe.Z,{classroomList:Ft,user:Lt,v:Sr,shixunWorkReport:Vt,dispatch:$t,autoHeight:pt,languages:Sr.languages,language:Sr.language,game_id:Sr.id,data:de.Base64.decode(Sr.code),diff_code_count:Sr.diff_code_count,onPathChange:dn})):Sr.final_submit_languages.length>0&&ve.createElement("aside",{className:ce.shixunWrp},ve.createElement(fe.Z,{classroomList:Ft,user:Lt,v:Sr,shixunWorkReport:Vt,dispatch:$t,autoHeight:pt,languages:Sr.final_submit_languages,language:Sr.final_submit_languages[0].language,game_id:Sr.id,data:de.Base64.decode(Sr.final_submit_languages[0].code),diff_code_count:Sr.diff_code_count,onPathChange:dn}))),ve.createElement("aside",{className:"mt10 font16"},(Mr=Sr.history)!=null&&Mr.length?ve.createElement(ne.default,{columns:[{title:"\u8BC4\u6D4B\u5E8F\u53F7",dataIndex:"query_index",width:120},{title:"\u8BC4\u6D4B\u65F6\u95F4",dataIndex:"created_at",key:"created_at",align:"center",width:200,render:(Gn,Dn)=>ve.createElement("span",null,Dn!=null&&Dn.created_at?ye()(Dn==null?void 0:Dn.created_at).format("YYYY-MM-DD HH:mm"):"--")},{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",align:"center",render:(Gn,Dn)=>{var Wn;return ve.createElement("span",{className:Gn===0?"c-green":"c-red"},((Wn=Ee.Im[Gn])==null?void 0:Wn.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))||"--")}},((Jr=(Nr=Sr==null?void 0:Sr.history)==null?void 0:Nr[0])==null?void 0:Jr.show_code)&&{title:"\u64CD\u4F5C",align:"center",dataIndex:"code",key:"code",width:100,render:(Gn,Dn)=>ve.createElement("span",{style:{cursor:"pointer",color:"#3061d0"},onClick:()=>{Ae.default.confirm({centered:!0,icon:null,width:700,okText:"\u5173\u95ED",cancelButtonProps:{style:{display:"none"}},title:"\u4EE3\u7801\u5185\u5BB9",content:ve.createElement("div",{className:"mb10"},ve.createElement(me.ZP,{height:300,language:"python",theme:"vs-light",value:Dn!=null&&Dn.code?de.Base64.decode(Dn==null?void 0:Dn.code):"",autoHeight:pt,options:Nn}))})}},"\u67E5\u770B\u4EE3\u7801")}].filter(Gn=>!!Gn),pagination:{hideOnSinglePage:!0},dataSource:Sr.history}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"))}))}))};var je=(0,ge.connect)(({shixunHomeworks:Nt,loading:pt,globalSetting:Ft,classroomList:Lt,user:$t})=>({shixunHomeworks:Nt,globalSetting:Ft,loading:pt.effects,classroomList:Lt,user:$t}))(Be),we=be(78241),De=be(92832),xe=be(33471),Te=be(59301),Ke=Object.defineProperty,Ye=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,qe=(Nt,pt,Ft)=>pt in Nt?Ke(Nt,pt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):Nt[pt]=Ft,st=(Nt,pt)=>{for(var Ft in pt||(pt={}))Me.call(pt,Ft)&&qe(Nt,Ft,pt[Ft]);if(Ye)for(var Ft of Ye(pt))tt.call(pt,Ft)&&qe(Nt,Ft,pt[Ft]);return Nt},ct=(Nt,pt)=>{var Ft={};for(var Lt in Nt)Me.call(Nt,Lt)&&pt.indexOf(Lt)<0&&(Ft[Lt]=Nt[Lt]);if(Nt!=null&&Ye)for(var Lt of Ye(Nt))pt.indexOf(Lt)<0&&tt.call(Nt,Lt)&&(Ft[Lt]=Nt[Lt]);return Ft},lt=(Nt,pt,Ft)=>new Promise((Lt,$t)=>{var Vt=pn=>{try{cn(Ft.next(pn))}catch(xn){$t(xn)}},en=pn=>{try{cn(Ft.throw(pn))}catch(xn){$t(xn)}},cn=pn=>pn.done?Lt(pn.value):Promise.resolve(pn.value).then(Vt,en);cn((Ft=Ft.apply(Nt,pt)).next())});const at=Nt=>{var pt=Nt,{shixunHomeworks:Ft,dispatch:Lt}=pt,$t=ct(pt,["shixunHomeworks","dispatch"]),Vt,en,cn;const pn=(0,ge.useParams)(),[xn,ur]=(0,ve.useState)(!1),[Dr]=we.default.useForm(),[Nn,jn]=Ae.default.useModal(),[dn,Ln]=(0,ve.useState)(!1),[er,Ur]=(0,ve.useState)(!1);(0,ve.useEffect)(()=>{var Or,Mr,Nr,Jr,Gn,Dn;Ft.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&(Ft.actionTabs.selectArrs.type==="1"?Dr.setFieldsValue({comment:Ft.actionTabs.selectArrs.v.comment,hidden_comment:Ft.actionTabs.selectArrs.v.hidden_comment}):Dr.setFieldsValue({comment:(Nr=(Mr=(Or=Ft.actionTabs.selectArrs)==null?void 0:Or.data)==null?void 0:Mr.data)==null?void 0:Nr.work_comment,hidden_comment:(Dn=(Gn=(Jr=Ft.actionTabs.selectArrs)==null?void 0:Jr.data)==null?void 0:Gn.data)==null?void 0:Dn.work_comment_hidden}))},[Ft.actionTabs.key]);const Sr=()=>lt(void 0,null,function*(){var Or,Mr,Nr,Jr;const Gn=Dr.getFieldValue();let Dn=Ft.actionTabs.selectArrs.type==="1"?`/api/problems/${Ft.actionTabs.selectArrs.v.identifier}/hack_comment.json`:`/api/student_works/${pn.homeworkId}/shixun_work_comment.json`;(yield(0,he.ZP)(Dn,{method:"post",body:{hidden_comment:Gn.hidden_comment,comment:Gn.comment,language:(Or=Ft.actionTabs.selectArrs)==null?void 0:Or.language,user_id:(Jr=(Nr=(Mr=Ft.actionTabs.selectArrs)==null?void 0:Mr.data)==null?void 0:Nr.data)==null?void 0:Jr.user_id}})).status===0&&(oe.ZP.success("\u8BC4\u9605\u6210\u529F"),Dr.resetFields(),Lt({type:"shixunHomeworks/setActionTabs",payload:{}}),Lt({type:"shixunHomeworks/getShixunWorkReports",payload:st({},pn)}))});return Te.createElement(Te.Fragment,null,jn,Te.createElement(Ae.default,{centered:!0,title:Te.createElement("span",null,((Vt=Ft.actionTabs.selectArrs)==null?void 0:Vt.type)==="1"?"\u70B9\u8BC4\u4EE3\u7801":"\u66F4\u6539\u70B9\u8BC4",((en=Ft.actionTabs.selectArrs)==null?void 0:en.language)&&Te.createElement("span",{style:{marginLeft:10,fontSize:14}},"\u4F7F\u7528\u8BED\u8A00\uFF1A",(cn=Ft.actionTabs.selectArrs)==null?void 0:cn.language)),open:Ft.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>lt(void 0,null,function*(){const Or=Dr.getFieldValue();JSON.stringify(Or)==="{}"||Or.hidden_comment===""&&Or.comment===""?ur(!0):Sr()}),onCancel:()=>{Lt({type:"shixunHomeworks/setActionTabs",payload:{}})}},Te.createElement(we.default,{form:Dr,onChange:()=>{xn&&ur(!1)}},Te.createElement(ie.Z,{wrap:!1,align:"middle",justify:"space-between"},Te.createElement(se.Z,null,Te.createElement("div",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Te.createElement(se.Z,null,Te.createElement(xe.Z,{isShowComponent:(0,te.G5)(),ModalProps:{open:dn,onCancel:()=>{Ln(!1)}},onDataSelect:(Or,Mr)=>lt(void 0,[Or,Mr],function*(Nr,{node:Jr}){const Gn=()=>{Dr.setFieldsValue({comment:Jr==null?void 0:Jr.value}),Ln(!1)};if(Dr.getFieldValue("comment")){Nn.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Gn});return}Gn()})},Te.createElement(ae.ZP,{style:{padding:0,height:"auto"},icon:Te.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Or=>{Ln(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Te.createElement(we.default.Item,{name:"comment"},Te.createElement(De.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),Te.createElement(ie.Z,{wrap:!1,align:"middle",justify:"space-between"},Te.createElement(se.Z,null,Te.createElement("div",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Te.createElement(se.Z,null,Te.createElement(xe.Z,{isShowComponent:(0,te.G5)(),ModalProps:{open:er,onCancel:()=>{Ur(!1)}},onDataSelect:(Or,Mr)=>lt(void 0,[Or,Mr],function*(Nr,{node:Jr}){const Gn=()=>{Dr.setFieldsValue({hidden_comment:Jr==null?void 0:Jr.value}),Ur(!1)};if(Dr.getFieldValue("hidden_comment")){Nn.confirm({icon:null,title:"\u63D0\u793A",centered:!0,content:"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u8BC4\u8BED\u8F93\u5165\u6846\u4E2D\u5DF2\u6709\u5185\u5BB9\uFF0C\u4F7F\u7528\u5E38\u7528\u8BC4\u8BED\u5C06\u4F1A\u8986\u76D6\u539F\u6709\u5185\u5BB9\u3002\u662F\u5426\u4F7F\u7528\uFF1F",okText:"\u4F7F\u7528",onOk:Gn});return}Gn()})},Te.createElement(ae.ZP,{style:{padding:0,height:"auto"},icon:Te.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:Or=>{Ur(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Te.createElement(we.default.Item,{name:"hidden_comment"},Te.createElement(De.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),xn&&Te.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var ut=(0,ge.connect)(({shixunHomeworks:Nt})=>({shixunHomeworks:Nt}))(at),At=be(78214),bt=be(99325),It=be(32186),ht=be(65022),dt=be.n(ht),$e=be(7547),Pe=be(59301),ke=Object.defineProperty,Ve=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,_e=Object.getOwnPropertySymbols,Ze=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Fe=(Nt,pt,Ft)=>pt in Nt?ke(Nt,pt,{enumerable:!0,configurable:!0,writable:!0,value:Ft}):Nt[pt]=Ft,Ne=(Nt,pt)=>{for(var Ft in pt||(pt={}))Ze.call(pt,Ft)&&Fe(Nt,Ft,pt[Ft]);if(_e)for(var Ft of _e(pt))Ue.call(pt,Ft)&&Fe(Nt,Ft,pt[Ft]);return Nt},nt=(Nt,pt)=>Ve(Nt,Qe(pt)),gt=(Nt,pt)=>{var Ft={};for(var Lt in Nt)Ze.call(Nt,Lt)&&pt.indexOf(Lt)<0&&(Ft[Lt]=Nt[Lt]);if(Nt!=null&&_e)for(var Lt of _e(Nt))pt.indexOf(Lt)<0&&Ue.call(Nt,Lt)&&(Ft[Lt]=Nt[Lt]);return Ft},St=(Nt,pt,Ft)=>new Promise((Lt,$t)=>{var Vt=pn=>{try{cn(Ft.next(pn))}catch(xn){$t(xn)}},en=pn=>{try{cn(Ft.throw(pn))}catch(xn){$t(xn)}},cn=pn=>pn.done?Lt(pn.value):Promise.resolve(pn.value).then(Vt,en);cn((Ft=Ft.apply(Nt,pt)).next())});const wt=Nt=>{var pt=Nt,{shixunHomeworks:Ft,globalSetting:Lt,loading:$t,classroomList:Vt,dispatch:en}=pt,cn=gt(pt,["shixunHomeworks","globalSetting","loading","classroomList","dispatch"]),pn,xn,ur,Dr,Nn,jn,dn,Ln,er,Ur,Sr,Or,Mr,Nr,Jr,Gn,Dn,Wn,Pi,ui,ii,zn,Gt,Mt,Zt,Un,Br,Xn,hr,gr,ci;const[cr,mi]=(0,ve.useState)(Ne({},(0,ge.useParams)())),ar=(0,ge.useParams)(),On=(0,ge.useLocation)(),[]=(0,ve.useState)([]),[An,nr]=(0,ve.useState)({last:!1}),[vn,Rn]=(0,ve.useState)({last:!1}),Ar=(0,ve.useRef)(),Hr=(0,ve.useRef)(),[Wr,wi]=(0,ve.useState)(!1),[Bi,vi]=(0,ve.useState)(!1),[di,ai]=(0,ve.useState)(!1),{shixunWorkReport:qn}=Ft,[Yn,Ki]=(0,ve.useState)(new(E())),[xi,ta]=(0,ve.useState)([]),[hi,Qn]=(0,ve.useState)(!1),[kr,ni]=(0,ve.useState)(!1);(0,ve.useEffect)(()=>(en({type:"globalSetting/footerToggle",payload:!1}),en({type:"classroomList/getAssistantPermissions",payload:{course_id:cr.coursesId}}),()=>{en({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ve.useEffect)(()=>{Ft.actionTabs.key==="\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A"&&xi.length>0&&!Bi&&setTimeout(()=>{Xi("all")},800)},[xi,Bi]),(0,ve.useEffect)(()=>{mi(Ne({},ar))},[On.pathname]);const Kr=()=>{document.body.scrollIntoView()};function Qi(){return St(this,null,function*(){var Li,Ji,sr,Rr;const gi=JSON.parse(sessionStorage.all_student_works_params||"{}"),oi=yield en({type:"shixunHomeworks/getAllStudentWorks",payload:Ne(Ne({},cr),gi)});ta(oi.all_student_works);const na=(Li=oi.all_student_works)==null?void 0:Li.map(Hi=>String(Hi.student_work_id)).indexOf(cr.homeworkId);na===((Ji=oi.all_student_works)==null?void 0:Ji.length)-1?nr({last:!0}):nr((sr=oi.all_student_works)==null?void 0:sr[na+1]),Rn(na===0?{last:!0}:(Rr=oi.all_student_works)==null?void 0:Rr[na-1])})}const qi=()=>{document.querySelectorAll("canvas").forEach(Li=>{(!Li.clientWidth||!Li.clientHeight)&&Li.remove()})},Ni=()=>{Ar.current.offsetHeight>62e3?ai(!1):ai(!0)},Xi=Li=>St(void 0,null,function*(){var Ji,sr,Rr,gi;let oi=0,na;na=Ae.default.info({width:460,title:Pe.createElement("div",null,"\u6B63\u5728\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A,",Pe.createElement("span",{className:"c-red"},"\u8BF7\u52FF\u5173\u95ED\u6216\u64CD\u4F5C\u5F53\u524D\u6D4F\u89C8\u5668\u7A97\u53E3")),content:Pe.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Pe.createElement("span",{className:"c-blue"},oi+1),"/",Li!=="all"?1:xi==null?void 0:xi.length,Pe.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:ce.modal,onOk:()=>{}});const Hi={margin:[0,0],filename:`${(Ji=qn==null?void 0:qn.data)==null?void 0:Ji.user_name}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}};function sa(){return St(this,null,function*(){const $i=yield en({type:"shixunHomeworks/getShixunWorkReports",payload:nt(Ne({},cr),{homeworkId:xi[oi].student_work_id,user_id:xi[oi].user_id,id:cr.categoryId})});Kr(),oi++,setTimeout(()=>St(this,null,function*(){var Gi,Vi;qi();const ia=Yn.folder(`${(Gi=$i==null?void 0:$i.data)==null?void 0:Gi.user_name}`),La=document.querySelector("#export-all").children;let Va=dt()();for(let eo=0;eoSt(this,null,function*(){eo{var po;const zo=Ia.folder(`\u7B2C${Ya+1}\u5173-${eo.name}-${eo.id}`);(po=eo==null?void 0:eo.languages)==null||po.map(fn=>{zo.file(`${fn.language}.txt`,de.Base64.decode(fn==null?void 0:fn.code))})}),na.update({content:Pe.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Pe.createElement("span",{className:"c-blue"},oi),"/",xi==null?void 0:xi.length,Pe.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),oi==(xi==null?void 0:xi.length)?(na.destroy(),Pa()):sa()}),2200)})}if(Li!=="all"||(xi==null?void 0:xi.length)<2){qi(),Kr();const $i=Hr.current.children;let Gi=dt()();const Vi=Yn.folder(`${(sr=qn==null?void 0:qn.data)==null?void 0:sr.user_name}`);for(let La=0;La<$i.length;La++)yield Gi.set(Hi).from($i[La]).toContainer().toCanvas().toPdf().get("pdf").then(Va=>St(void 0,null,function*(){La<$i.length-1&&(yield Va.addPage())}));wi(!1),Vi.file(`${(Rr=qn==null?void 0:qn.data)==null?void 0:Rr.user_name}.pdf`,Gi.output("blob"),{base64:!1});const ia=Vi.folder("\u4EE3\u7801\u6587\u4EF6");(gi=qn==null?void 0:qn.hack)==null||gi.map((La,Va)=>{var Ia;const eo=ia.folder(`\u7B2C${Va+1}\u5173-${La.name}-${La.id}`);(Ia=La==null?void 0:La.languages)==null||Ia.map(Ya=>{eo.file(`${Ya.language}.txt`,de.Base64.decode(Ya==null?void 0:Ya.code))})}),na.destroy(),Pa();return}else sa()}),Pa=()=>{Yn.generateAsync({type:"blob"}).then(function(Li){const Ji=document.createElement("a");Ji.href=window.URL.createObjectURL(Li),Ji.download=qn.category.course_name+".zip",document.body.appendChild(Ji);const sr=document.createEvent("MouseEvents");sr.initEvent("click",!1,!1),Ji.dispatchEvent(sr),document.body.removeChild(Ji),Ki(new(E()))}),ai(!1)};(0,ve.useEffect)(()=>{Fi()},[cr.homeworkId]);const Fi=()=>St(void 0,null,function*(){vi(!0),yield en({type:"shixunHomeworks/getShixunWorkReports",payload:Ne({},cr)}),vi(!1),(0,te.GJ)()&&Qi()}),Qa=[{title:"\u9898\u53F7",dataIndex:"name",render:(Li,Ji,sr)=>sr+1},{title:"\u9898\u76EE\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:"30%"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finish_time",width:"200px",render:(Li,Ji,sr)=>{var Rr,gi;return Pe.createElement("div",null,Pe.createElement("p",null,Li||"- -"),(gi=(Rr=Ji==null?void 0:Ji.subitem)==null?void 0:Rr.map(oi=>oi.finish_time))==null?void 0:gi.map(oi=>Pe.createElement("p",null,oi||"- -")))}},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"submit_count",render:(Li,Ji,sr)=>{var Rr,gi;return Pe.createElement("div",null,Pe.createElement("p",null,Li||"- -"),(gi=(Rr=Ji==null?void 0:Ji.subitem)==null?void 0:Rr.map(oi=>oi.submit_count))==null?void 0:gi.map(oi=>Pe.createElement("p",null,oi||"- -")))}},{title:"\u8FD0\u884C\u65F6\u95F4\uFF08ms\uFF09",dataIndex:"run_time",render:(Li,Ji,sr)=>{var Rr,gi;return Pe.createElement("div",null,Pe.createElement("p",null,Li||"- -"),(gi=(Rr=Ji==null?void 0:Ji.subitem)==null?void 0:Rr.map(oi=>oi.run_time))==null?void 0:gi.map(oi=>Pe.createElement("p",null,oi||"- -")))}},{title:"\u5185\u5B58\uFF08kb\uFF09",dataIndex:"memory",render:(Li,Ji,sr)=>{var Rr,gi;return Pe.createElement("div",null,Pe.createElement("p",null,Li||"- -"),(gi=(Rr=Ji==null?void 0:Ji.subitem)==null?void 0:Rr.map(oi=>oi.memory))==null?void 0:gi.map(oi=>Pe.createElement("p",null,oi||"- -")))}},{title:"\u4F7F\u7528\u8BED\u8A00",dataIndex:"language",render:(Li,Ji,sr)=>{var Rr,gi;return Pe.createElement("div",null,Pe.createElement("p",null,Li||"- -"),(gi=(Rr=Ji==null?void 0:Ji.subitem)==null?void 0:Rr.map(oi=>oi.language))==null?void 0:gi.map(oi=>Pe.createElement("p",null,oi||"- -")))}},{title:"\u5F97\u5206",dataIndex:"score",render:(Li,Ji,sr)=>Pe.createElement("div",null,Pe.createElement("p",null,Li||"- -"))},{title:"\u6392\u540D",dataIndex:"rank",render:(Li,Ji,sr)=>{var Rr,gi;return Pe.createElement("div",null,Pe.createElement("p",null,Li||"- -"),(gi=(Rr=Ji==null?void 0:Ji.subitem)==null?void 0:Rr.map(oi=>oi.rank))==null?void 0:gi.map(oi=>Pe.createElement("p",null,oi||"- -")))}}],br=Li=>{en({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Li==="next"?ge.history.push(`/classrooms/${cr.coursesId}/program_homework/${cr.categoryId}/${An==null?void 0:An.student_work_id}/${An==null?void 0:An.user_id}/comment`):ge.history.push(`/classrooms/${cr.coursesId}/program_homework/${cr.categoryId}/${vn==null?void 0:vn.student_work_id}/${vn==null?void 0:vn.user_id}/comment`)},200)};return Pe.createElement("section",{className:"bg-fafafa",style:{position:"sticky",top:0}},Pe.createElement("div",{className:"edu-container mt10",style:{paddingBottom:100}},Pe.createElement(ue.Z,{loading:Bi,active:!0,avatar:{size:40},paragraph:{rows:5}},Pe.createElement("div",{className:"edu-container"},((pn=qn==null?void 0:qn.category)==null?void 0:pn.course_id)&&Pe.createElement("section",{className:"animated fadeIn"},Pe.createElement("aside",{className:""},(qn==null?void 0:qn.category)&&Pe.createElement(le.Z,{separator:">"},Pe.createElement(le.Z.Item,null,Pe.createElement(ge.Link,{to:`/classrooms/${(xn=qn==null?void 0:qn.category)==null?void 0:xn.course_id}/program_homework`},(ur=qn==null?void 0:qn.category)==null?void 0:ur.course_name)),Pe.createElement(le.Z.Item,null,Pe.createElement(ge.Link,{to:`/classrooms/${(Dr=qn==null?void 0:qn.category)==null?void 0:Dr.course_id}/program_homework`},qn.category.category_name)),Pe.createElement(le.Z.Item,null,Pe.createElement(ge.Link,{to:`/classrooms/${(Nn=qn==null?void 0:qn.category)==null?void 0:Nn.course_id}/program_homework/${cr==null?void 0:cr.categoryId}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")),Pe.createElement(le.Z.Item,null,(jn=qn==null?void 0:qn.data)==null?void 0:jn.user_name))),Pe.createElement("aside",{className:[ce.title1,"mt20"].join(" ")},Pe.createElement(ie.Z,{align:"middle"},Pe.createElement(se.Z,{flex:1},Pe.createElement(ge.Link,{to:`/classrooms/${cr.coursesId}/program_homework/${cr==null?void 0:cr.categoryId}/detail`},Pe.createElement(z.Z,{className:"font16 c-black"})),Pe.createElement("strong",{className:"font20 ml5"},(dn=qn==null?void 0:qn.category)==null?void 0:dn.homework_name),Pe.createElement(ee.VV,{temporary:!0,status:qn.homework_status})),Pe.createElement(se.Z,{className:ce.title1_right},Pe.createElement(ae.ZP,{className:"ml10",onClick:()=>{var Li;if((0,te.Rm)()&&!((Li=Vt.AssistantObject.hack)!=null&&Li.can_download)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Xi("")},loading:Wr},Pe.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A"),(0,te.GJ)()&&(xi==null?void 0:xi.length)>1&&Pe.createElement(ae.ZP,{className:"ml10",onClick:()=>{var Li;if((0,te.Rm)()&&!((Li=Vt.AssistantObject.hack)!=null&&Li.can_download)){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Xi("all")}},Pe.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u5168\u90E8\u5B66\u751F\u7F16\u7A0B\u62A5\u544A"))))),Pe.createElement("aside",{className:"mt30 relative"})),Pe.createElement("aside",{className:"edu-container bg-white",ref:Ar},Pe.createElement("div",{id:"export-all",ref:Hr},Pe.createElement("div",{id:"export-all-1"},Pe.createElement("div",{className:ce.title},Pe.createElement("h1",null,"\u603B\u4F53\u8BC4\u4EF7"),Pe.createElement("div",null,(0,te.GJ)()&&Pe.createElement(ae.ZP,{className:"mr20",type:"primary",onClick:()=>{en({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:qn.user_id,data:Ne({},qn)}}})}},Pe.createElement(a.Z,null),(Ln=qn==null?void 0:qn.data)!=null&&Ln.has_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),Pe.createElement(re.Z,{style:{marginTop:0}}),Pe.createElement(ie.Z,{className:"pl30 pr30"},Pe.createElement(se.Z,null,Pe.createElement("img",{className:ce.userPic,src:`${b.Z.IMG_SERVER}/images/${(er=qn==null?void 0:qn.data)==null?void 0:er.image_url}`,alt:(Ur=qn==null?void 0:qn.data)==null?void 0:Ur.username})),Pe.createElement(se.Z,null,Pe.createElement("span",{className:"font16 ml40"},(Sr=qn==null?void 0:qn.data)==null?void 0:Sr.user_name),Pe.createElement(ee.UQ,{status:(Or=qn==null?void 0:qn.data)==null?void 0:Or.compelete_status}),Pe.createElement("ul",{className:ce.userInfo},Pe.createElement("li",null,"\u5B66\u53F7\uFF1A",((Mr=qn==null?void 0:qn.data)==null?void 0:Mr.student_id)||"--"),Pe.createElement("li",null,"\u5206\u73ED\uFF1A",((Nr=qn==null?void 0:qn.data)==null?void 0:Nr.course_group)||"--"),Pe.createElement("br",null),Pe.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5237\u9898\uFF1A",Pe.createElement("span",{className:"c-red"},(Jr=qn==null?void 0:qn.data)==null?void 0:Jr.finish_do)),Pe.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5237\u9898\uFF1A",Pe.createElement("span",{className:"c-red"},((Gn=qn==null?void 0:qn.data)==null?void 0:Gn.latest_do)||"-")))),Pe.createElement("ul",{className:[ce.listItem,"mt10"].join(" ")},Pe.createElement("li",null,Pe.createElement("strong",null,"\u5B8C\u6210\u65F6\u95F4"),Pe.createElement("div",{className:"c-light-black mt20"},(qn==null?void 0:qn.data)&&((Dn=qn==null?void 0:qn.data)==null?void 0:Dn.finish_time))),Pe.createElement("li",null,Pe.createElement("strong",null,"\u5B8C\u6210\u65F6\u957F",Pe.createElement("i",{onClick:Li=>{Li.stopPropagation(),Li.preventDefault(),ni(!0)},style:{marginLeft:4,display:"none",color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),Pe.createElement("div",{className:"c-light-black mt20"},(Wn=qn==null?void 0:qn.data)==null?void 0:Wn.finish_time_long)),Pe.createElement("li",null,Pe.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),Pe.createElement("div",{className:"mt20"},(Pi=qn==null?void 0:qn.data)==null?void 0:Pi.submit_count)),Pe.createElement("li",null,Pe.createElement("strong",null,"\u901A\u8FC7\u7387"),Pe.createElement("div",{className:"mt20"},Pe.createElement("span",null,((ui=qn==null?void 0:qn.data)==null?void 0:ui.pass_rate)||"- -"))),Pe.createElement("li",null,Pe.createElement("strong",null,"\u5F97\u5206"),Pe.createElement("div",{className:"mt20"},Pe.createElement($e.n,{value:(ii=qn==null?void 0:qn.data)==null?void 0:ii.score,placeholder:"-"}))),Pe.createElement("li",null,Pe.createElement("strong",null,"\u7EC3\u4E60\u603B\u6392\u540D"),Pe.createElement("div",{className:"mt20"},Pe.createElement("span",{className:"c-orange"},(zn=qn==null?void 0:qn.data)==null?void 0:zn.total_rank))),Pe.createElement("li",null,Pe.createElement("strong",null,"\u5206\u73ED\u6392\u540D"),Pe.createElement("div",{className:"mt20"},Pe.createElement("span",{className:"c-orange"},(Gt=qn==null?void 0:qn.data)==null?void 0:Gt.class_rank))))),Pe.createElement(re.Z,{style:{margin:0}}),(((Mt=qn==null?void 0:qn.data)==null?void 0:Mt.work_comment_hidden)||((Zt=qn==null?void 0:qn.data)==null?void 0:Zt.work_comment))&&Pe.createElement("div",null,Pe.createElement(ie.Z,{align:"middle"},Pe.createElement(se.Z,{flex:1},Pe.createElement("h1",{className:ce.title},"\u70B9\u8BC4\u5185\u5BB9")),Pe.createElement(se.Z,{className:"pr30"},(0,te.GJ)()&&Pe.createElement(ae.ZP,{onClick:()=>St(void 0,null,function*(){Ae.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",icon:Pe.createElement(y.Z,null),content:"\u662F\u5426\u786E\u8BA4\u5220\u9664\uFF1F",onOk(){return St(this,null,function*(){var Li;(yield(0,It.gZ)({comment_id:(Li=qn==null?void 0:qn.data)==null?void 0:Li.comment_id,homeworkId:cr.homeworkId})).status===0&&(oe.ZP.success("\u5220\u9664\u6210\u529F"),en({type:"shixunHomeworks/getShixunWorkReports",payload:Ne({},cr)}))})}})})},Pe.createElement(x.Z,null),"\u5220\u9664"))),Pe.createElement(re.Z,{style:{margin:0}}),((Un=qn==null?void 0:qn.data)==null?void 0:Un.work_comment)&&Pe.createElement("aside",{className:"pl30 pr30 mt20"},Pe.createElement("span",{className:"c-light-black font12"},"# \u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Pe.createElement("br",null),Pe.createElement(bt.Z,{value:(Br=qn==null?void 0:qn.data)==null?void 0:Br.work_comment})),((Xn=qn==null?void 0:qn.data)==null?void 0:Xn.work_comment_hidden)&&Pe.createElement("aside",{className:"pl30 pr30 mt20"},Pe.createElement("span",{className:"c-light-black font12"},"# \u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),Pe.createElement("br",null),Pe.createElement(bt.Z,{value:(hr=qn==null?void 0:qn.data)==null?void 0:hr.work_comment_hidden}))),Pe.createElement("h1",{className:ce.title},"\u9636\u6BB5\u6210\u7EE9"),Pe.createElement("aside",{className:"pl30 pr30"},Pe.createElement(ne.default,{dataSource:qn==null?void 0:qn.hack,pagination:!1,columns:Qa})),((gr=qn==null?void 0:qn.data)==null?void 0:gr.work_description)&&Pe.createElement(Pe.Fragment,null,Pe.createElement("h1",{className:ce.title},"\u4E2A\u4EBA\u603B\u7ED3"),Pe.createElement("aside",{className:"pl30 pr30"},Pe.createElement(bt.Z,{value:(ci=qn==null?void 0:qn.data)==null?void 0:ci.work_description}))),Pe.createElement("h1",{className:ce.title},"\u5237\u9898\u8BE6\u60C5")),Pe.createElement(je,{autoHeight:di}))),(0,te.GJ)()&&Pe.createElement("aside",{className:`${ce.footerBar} ${Wr?ce.footerBarStatic:""}`},Pe.createElement("aside",{className:"edu-container"},Pe.createElement(ie.Z,{align:"middle"},Pe.createElement(se.Z,{flex:"1"},Pe.createElement(ge.Link,{className:ce.exitComment,to:`/classrooms/${cr.coursesId}/program_homework/${cr.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),Pe.createElement(se.Z,{flex:"1",className:"tr"},Pe.createElement(ae.ZP,{type:"default",disabled:vn==null?void 0:vn.last,onClick:()=>br()},"\u4E0A\u4E00\u4E2A"),Pe.createElement(ae.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:An==null?void 0:An.last,onClick:()=>br("next")},"\u4E0B\u4E00\u4E2A"),(0,te.GJ)()&&Pe.createElement(ae.ZP,{type:"primary",onClick:()=>St(void 0,null,function*(){var Li;if(!((Li=Vt.AssistantObject.hack)!=null&&Li.can_appraise)&&(0,te.Rm)()){oe.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}en({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:qn.user_id,data:Ne({},qn)}}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),Pe.createElement(ut,null),Pe.createElement(At.Z,null),Pe.createElement(Ae.default,{open:hi,width:860,centered:!0,onCancel:()=>{Qn(!1)},title:"\u8BA1\u65F6\u89C4\u5219\u8BF4\u660E",footer:null},Pe.createElement("div",{style:{color:"#333333",fontWeight:400}},Pe.createElement("span",{style:{fontWeight:500}},"1\u3001\u9875\u9762\u505C\u7559\u65F6\u957F"),Pe.createElement("br",null),Pe.createElement("span",null,"\u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),Pe.createElement("br",null),Pe.createElement("span",null," \u5B66\u751F\u8FDB\u5165\u5173\u5361\u7684\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u82E5\u5B66\u751F\u5173\u95ED/\u9000\u51FA\u7B54\u9898\u9875\u9762\uFF0C\u5219\u8BA1\u65F6\u6682\u505C\uFF0C\u518D\u6B21\u8FDB\u5165\u7B54\u9898\u9875\u9762\u65F6\u5F00\u59CB\u7D2F\u8BA1\u8BA1\u65F6\u76F4\u81F3\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\uFF1B"),Pe.createElement("span",{style:{color:"#FA6400",display:"flex",height:34,alignItems:"center"}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),Pe.createElement("span",null,"a\u3001\u5B66\u751F\u8FDB\u5165\u5173\u5361\u770B\u5B8C\u9898\u540E\uFF0C\u9000\u51FA\u7B54\u9898\u9875\u9762\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u590D\u5236\u8FDB\u5E73\u53F0\u7B54\u9898\u9875\u9762\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u65E0\u6CD5\u8BC4\u4F30\u5B66\u751F\u7684\u5B66\u4E60\u548C\u601D\u8003\u65F6\u95F4\u3002")),Pe.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Pe.createElement("span",{style:{fontWeight:500}},"2\u3001\u5173\u5361\u603B\u8017\u65F6"),Pe.createElement("br",null),Pe.createElement("span",{style:{}},"\u5B66\u751F\u7B2C\u4E00\u6B21\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u8BC4\u6D4B\u901A\u8FC7\uFF0C\u5219\u8BA1\u65F6\u7ED3\u675F\u3002 "),Pe.createElement("br",null),Pe.createElement("span",null," \u53E6\uFF0C\u5373\u4F7F\u5173\u5361\u95EF\u5173\u8FC7\u7A0B\u4E2D\uFF0C\u5B66\u751F\u9000\u51FA/\u5173\u95ED\u7B54\u9898\u9875\u9762\uFF0C\u4E5F\u5C06\u6301\u7EED\u8BA1\u65F6\uFF0C\u76F4\u81F3\u8BE5\u5173\u5361\u901A\u8FC7\u3002"),Pe.createElement("span",{style:{color:"#FA6400",display:"flex",height:44,paddingTop:10}}," \u53EF\u80FD\u4F1A\u9020\u6210\u65F6\u957F\u8BC4\u4F30\u4E0E\u5B9E\u9645\u505A\u9898\u80FD\u529B\u4E0D\u7B26\u7684\u60C5\u51B5 "),Pe.createElement("span",null,"a\u3001\u5B66\u751F\u4ECE\u5176\u4ED6\u540C\u5B66\u5904\u770B\u5230\u9898\u76EE\u540E\uFF0C\u5B8C\u6210\u4EE3\u7801\u8BBE\u8BA1\uFF0C\u518D\u8FDB\u5165\u5173\u5361\u7B54\u9898\u9875\u9762\uFF0C\u5C06\u5DF2\u5B8C\u6210\u7684\u4EE3\u7801\u590D\u5236\u81F3\u5E73\u53F0\u8FDB\u884C\u8BC4\u6D4B\uFF1B"),Pe.createElement("br",null),Pe.createElement("span",null,"b\u3001\u5B66\u751F\u7B2C\u4E00\u6B21\u6253\u5F00\u5173\u5361\u540E\uFF0C\u56E0\u4E3A\u67D0\u79CD\u539F\u56E0\u79BB\u5F00\u9875\u9762\uFF0C\u65F6\u9694\u591A\u65E5\u624D\u518D\u6B21\u8FDB\u5165\u5E73\u53F0\u95EF\u5173\uFF0C\u5C31\u4F1A\u5BFC\u81F4\u5B66\u751F\u5173\u5361\u603B\u8017\u65F6\u8FC7\u957F\uFF1B")),Pe.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Pe.createElement("span",{style:{fontWeight:500}},"3\u3001\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),Pe.createElement("br",null),Pe.createElement("span",{style:{}},"\u4ECE\u8001\u5E08\u53D1\u5E03\u7684\u5B9E\u8BAD\u4F5C\u4E1A\u5F00\u59CB\u65F6\u95F4\uFF0C\u5F00\u59CB\u8BA1\u65F6\uFF0C\u76F4\u81F3\u5B66\u751F\u5B9E\u8BAD\u901A\u5173\uFF08\u5305\u62EC\u8FDF\u4EA4\u901A\u5173\uFF09\uFF0C\u7ED3\u675F\u8BA1\u65F6\u3002\u5982\u679C\u5B66\u751F\u672A\u901A\u5173\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u8001\u5E08\u8BBE\u7F6E\u7684\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\uFF0C\u5982\u679C\u8001\u5E08\u5F00\u542F\u4E86\u8865\u4EA4\uFF0C\u5219\u8BE5\u751F\u7684\u95EF\u5173\u8017\u65F6\u4E3A\u5B9E\u8BAD\u5F00\u59CB\u65F6\u95F4\u81F3\u5B9E\u8BAD\u8865\u4EA4\u622A\u6B62\u65F6\u95F4\u3002")),Pe.createElement("div",{style:{color:"#333333",marginTop:20,fontWeight:400}},Pe.createElement("span",{style:{fontWeight:500}},"\u89C4\u5219\u76EE\u7684"),Pe.createElement("br",null),Pe.createElement("span",{style:{}},"\u9F13\u52B1\u5B66\u751F\u5728\u5B9E\u8BAD\u4F5C\u4E1A\u53D1\u5E03\u7684\u7B2C\u4E00\u65F6\u95F4\uFF0C\u7ACB\u5373\u767B\u5F55\u5E73\u53F0\u5B8C\u6210\u5B9E\u8BAD\u4F5C\u4E1A\u7684\u901A\u5173\u3002"))),Pe.createElement(Ae.default,{open:kr,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{ni(!1)},width:600},Pe.createElement("div",{style:{fontWeight:400,color:"#333333"}},Pe.createElement("div",null,"1\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Pe.createElement("span",{style:{color:"#145DFF"}},"\u9875\u9762\u505C\u7559\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),Pe.createElement("div",{style:{margin:"20px 0px"}},"2\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Pe.createElement("span",{style:{color:"#145DFF"}},"\u5173\u5361\u603B\u8017\u65F6"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u6240\u6709\u5173\u5361\u8017\u65F6\u76F8\u52A0\u4E4B\u548C\uFF1B"),Pe.createElement("div",null,"3\u3001\u5F53\u8BA1\u65F6\u89C4\u5219\u4E3A\u201C",Pe.createElement("span",{style:{color:"#145DFF"}},"\u4F5C\u4E1A\u901A\u5173\u65F6\u957F"),"\u201D\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u901A\u5173\u65F6\u95F4\uFF0C\u5F53\u5B66\u751F\u672A\u901A\u5173\u65F6\uFF0C\u5B9E\u8BAD\u603B\u8017\u65F6\u4E3A\u5B9E\u8BAD\u53D1\u5E03\u65F6\u95F4\u81F3\u5B9E\u8BAD\u622A\u6B62\u65F6\u95F4\u3002"))))};var Bt=(0,ge.connect)(({shixunHomeworks:Nt,loading:pt,globalSetting:Ft,classroomList:Lt})=>({shixunHomeworks:Nt,globalSetting:Ft,loading:pt.effects,classroomList:Lt}))(wt)},78214:function(nn,Ht,be){"use strict";var ve=be(59301),Xe=be(43418),E=be(8591),ge=be(7660),Ae=be(24459),ue=Object.defineProperty,le=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ae=(a,y,x)=>y in a?ue(a,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):a[y]=x,oe=(a,y)=>{for(var x in y||(y={}))ie.call(y,x)&&ae(a,x,y[x]);if(le)for(var x of le(y))se.call(y,x)&&ae(a,x,y[x]);return a},re=(a,y)=>{var x={};for(var b in a)ie.call(a,b)&&y.indexOf(b)<0&&(x[b]=a[b]);if(a!=null&&le)for(var b of le(a))y.indexOf(b)<0&&se.call(a,b)&&(x[b]=a[b]);return x},ne=(a,y,x)=>new Promise((b,te)=>{var ee=he=>{try{fe(x.next(he))}catch(de){te(de)}},ce=he=>{try{fe(x.throw(he))}catch(de){te(de)}},fe=he=>he.done?b(he.value):Promise.resolve(he.value).then(ee,ce);fe((x=x.apply(a,y)).next())});const z=a=>{var y=a,{shixunHomeworks:x,dispatch:b}=y,te=re(y,["shixunHomeworks","dispatch"]);const ee=(0,Ae.useParams)();return ve.createElement(Xe.default,{centered:!0,title:"\u63D0\u793A",open:x.actionTabs.key==="\u6253\u56DE\u91CD\u505A",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ne(void 0,null,function*(){(yield(0,ge.ZP)(`/api/myshixuns/${x.actionTabs.selectArrs.myshixun_identifier}/reset_my_game.json`,{method:"GET",params:{course_id:ee.coursesId}})).shixun_identifier&&(E.ZP.success("\u64CD\u4F5C\u6210\u529F"),b({type:"shixunHomeworks/setActionTabs",payload:{}}),b({type:"shixunHomeworks/getWorkList",payload:oe({},x.actionTabs.params)}))}),onCancel:()=>{b({type:"shixunHomeworks/setActionTabs",payload:{}})}},ve.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),ve.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};Ht.Z=(0,Ae.connect)(({shixunHomeworks:a})=>({shixunHomeworks:a}))(z)},7547:function(nn,Ht,be){"use strict";be.d(Ht,{n:function(){return xn},Z:function(){return Dr}});var ve=be(59301),Xe=be(78241),E=be(8591),ge=be(6848),Ae=be(43418),ue=be(20834),le=be(24905),ie=be(95237),se=be(43604),ae=be(92832),oe=be(3113),re=be(38854),ne=be(1710),z=be(5112),a=be(5871),y=be(58421),x=be(84105),b=be(87395),te=be(67921),ee=be(89489),ce=be(57816),fe=be(88230),he=be(78214),de=be(96512),pe=be(7660),ye=be(24459),me=Object.defineProperty,Ee=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,je=Object.prototype.propertyIsEnumerable,we=(Nn,jn,dn)=>jn in Nn?me(Nn,jn,{enumerable:!0,configurable:!0,writable:!0,value:dn}):Nn[jn]=dn,De=(Nn,jn)=>{for(var dn in jn||(jn={}))Be.call(jn,dn)&&we(Nn,dn,jn[dn]);if(Ee)for(var dn of Ee(jn))je.call(jn,dn)&&we(Nn,dn,jn[dn]);return Nn},xe=(Nn,jn)=>{var dn={};for(var Ln in Nn)Be.call(Nn,Ln)&&jn.indexOf(Ln)<0&&(dn[Ln]=Nn[Ln]);if(Nn!=null&&Ee)for(var Ln of Ee(Nn))jn.indexOf(Ln)<0&&je.call(Nn,Ln)&&(dn[Ln]=Nn[Ln]);return dn},Te=(Nn,jn,dn)=>new Promise((Ln,er)=>{var Ur=Mr=>{try{Or(dn.next(Mr))}catch(Nr){er(Nr)}},Sr=Mr=>{try{Or(dn.throw(Mr))}catch(Nr){er(Nr)}},Or=Mr=>Mr.done?Ln(Mr.value):Promise.resolve(Mr.value).then(Ur,Sr);Or((dn=dn.apply(Nn,jn)).next())});const Ke=Nn=>{var jn=Nn,{shixunHomeworks:dn,dispatch:Ln}=jn,er=xe(jn,["shixunHomeworks","dispatch"]);const Ur=(0,ye.useParams)(),[Sr,Or]=(0,ve.useState)(!0),[Mr,Nr]=(0,ve.useState)(!1),[Jr]=Xe.default.useForm(),Gn=()=>Te(void 0,null,function*(){const Dn=Jr.getFieldValue();(yield(0,pe.ZP)(`/api/homework_commons/${Ur.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...dn.actionTabs.selectArrs],cover_all:Sr,hidden_comment:Dn.hidden_comment,comment:Dn.comment}})).status===0&&(E.ZP.success("\u8BC4\u9605\u6210\u529F"),Jr.resetFields(),Ln({type:"shixunHomeworks/setActionTabs",payload:{}}),Ln({type:"shixunHomeworks/getWorkList",payload:De({},dn.actionTabs.params)}))});return ve.createElement(ve.Fragment,null,ve.createElement(Ae.default,{centered:!0,title:"\u4E00\u952E\u70B9\u8BC4",open:dn.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Te(void 0,null,function*(){const Dn=Jr.getFieldValue();JSON.stringify(Dn)==="{}"||Dn.hidden_comment===""&&Dn.comment===""?Nr(!0):dn.workList.partial_comment?Ln({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:dn.actionTabs.selectArrs,params:dn.actionTabs.params}}):Gn()}),onCancel:()=>{Ln({type:"shixunHomeworks/setActionTabs",payload:{}})}},ve.createElement(Xe.default,{form:Jr,onChange:()=>{Mr&&Nr(!1)}},ve.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ve.createElement(Xe.default.Item,{name:"comment"},ve.createElement(ae.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),ve.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ve.createElement(Xe.default.Item,{name:"hidden_comment"},ve.createElement(ae.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),Mr&&ve.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")),ve.createElement(Ae.default,{centered:!0,title:ve.createElement("span",null,ve.createElement(de.Z,{className:"c-orange mr20"}),"\u63D0\u793A"),open:dn.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{Gn()},onCancel:()=>{Ln({type:"shixunHomeworks/setActionTabs",payload:{}})},width:400},ve.createElement("div",{className:"tc"},ve.createElement("p",null,"\u90E8\u5206\u5B66\u751F\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF0C\u662F\u5426\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4\u5185\u5BB9\uFF1F"),ve.createElement("p",null,ve.createElement(z.ZP.Group,{onChange:Dn=>{Or(Dn.target.value)},value:Sr},ve.createElement(z.ZP,{value:!0},"\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4"),ve.createElement(z.ZP,{value:!1},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4"))))))};var Ye=(0,ye.connect)(({shixunHomeworks:Nn})=>({shixunHomeworks:Nn}))(Ke),Me=be(32186),tt=be(73898),qe={wrap:"wrap___altfw",maxWidth70:"maxWidth70___Q4NoO",maxWidth80:"maxWidth80___lwsmt",maxWidth100:"maxWidth100___Wnsw8",maxWidth110:"maxWidth110___zQh0P",maxWidth120:"maxWidth120___gjwfa",reviewStatusTooltip:"reviewStatusTooltip___um7Rt",color32C:"color32C___GIjgW",MdEditor:"MdEditor___OuyKH",tr1:"tr1___nwwbX",TableDom:"TableDom___pl59W"},st=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,lt=Object.prototype.propertyIsEnumerable,at=(Nn,jn)=>{var dn={};for(var Ln in Nn)ct.call(Nn,Ln)&&jn.indexOf(Ln)<0&&(dn[Ln]=Nn[Ln]);if(Nn!=null&&st)for(var Ln of st(Nn))jn.indexOf(Ln)<0&<.call(Nn,Ln)&&(dn[Ln]=Nn[Ln]);return dn},ut=(Nn,jn,dn)=>new Promise((Ln,er)=>{var Ur=Mr=>{try{Or(dn.next(Mr))}catch(Nr){er(Nr)}},Sr=Mr=>{try{Or(dn.throw(Mr))}catch(Nr){er(Nr)}},Or=Mr=>Mr.done?Ln(Mr.value):Promise.resolve(Mr.value).then(Ur,Sr);Or((dn=dn.apply(Nn,jn)).next())});const At=Nn=>{var jn=Nn,{shixunHomeworks:dn,dispatch:Ln}=jn,er=at(jn,["shixunHomeworks","dispatch"]),Ur,Sr,Or,Mr;const Nr=(0,ye.useParams)(),[Jr,Gn]=(0,ve.useState)(!1),[Dn,Wn]=(0,ve.useState)((Sr=(Ur=dn.actionTabs.selectArrs)==null?void 0:Ur.data)==null?void 0:Sr.name),[Pi]=Xe.default.useForm();(0,ve.useEffect)(()=>{var ii,zn,Gt,Mt,Zt,Un;dn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&Pi.setFieldsValue({comment:(zn=(ii=dn.actionTabs.selectArrs)==null?void 0:ii.data)==null?void 0:zn.work_comment,hidden_comment:(Mt=(Gt=dn.actionTabs.selectArrs)==null?void 0:Gt.data)==null?void 0:Mt.work_comment_hidden}),Wn((Un=(Zt=dn.actionTabs.selectArrs)==null?void 0:Zt.data)==null?void 0:Un.name)},[dn.actionTabs.key]);const ui=()=>ut(void 0,null,function*(){var ii,zn;const Gt=Pi.getFieldValue();if((yield(0,pe.ZP)(`/api/student_works/${(zn=(ii=dn.actionTabs.selectArrs)==null?void 0:ii.data)==null?void 0:zn.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Gt.hidden_comment,comment:Gt.comment}})).status===0)return E.ZP.success("\u8BC4\u9605\u6210\u529F"),Pi.resetFields(),Ln({type:"shixunHomeworks/setActionTabs",payload:{}}),Ln({type:"shixunHomeworks/getWorkList",payload:Nr})});return ve.createElement(ve.Fragment,null,ve.createElement(Ae.default,{centered:!0,title:(Mr=(Or=dn.actionTabs.selectArrs)==null?void 0:Or.data)!=null&&Mr.work_comment_hidden?"\u66F4\u6539"+Dn+"\u70B9\u8BC4":Dn+"\u70B9\u8BC4",open:dn.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ut(void 0,null,function*(){const ii=Pi.getFieldValue();JSON.stringify(ii)==="{}"||ii.hidden_comment===""&&ii.comment===""?Gn(!0):ui()}),onCancel:()=>{Ln({type:"shixunHomeworks/setActionTabs",payload:{}})}},ve.createElement(Xe.default,{form:Pi,onChange:()=>{Jr&&Gn(!1)}},ve.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ve.createElement(Xe.default.Item,{name:"comment"},ve.createElement(ae.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),ve.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ve.createElement(Xe.default.Item,{name:"hidden_comment"},ve.createElement(ae.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),Jr&&ve.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var bt=(0,ye.connect)(({shixunHomeworks:Nn})=>({shixunHomeworks:Nn}))(At),It=Object.getOwnPropertySymbols,ht=Object.prototype.hasOwnProperty,dt=Object.prototype.propertyIsEnumerable,$e=(Nn,jn)=>{var dn={};for(var Ln in Nn)ht.call(Nn,Ln)&&jn.indexOf(Ln)<0&&(dn[Ln]=Nn[Ln]);if(Nn!=null&&It)for(var Ln of It(Nn))jn.indexOf(Ln)<0&&dt.call(Nn,Ln)&&(dn[Ln]=Nn[Ln]);return dn},Pe=(Nn,jn,dn)=>new Promise((Ln,er)=>{var Ur=Mr=>{try{Or(dn.next(Mr))}catch(Nr){er(Nr)}},Sr=Mr=>{try{Or(dn.throw(Mr))}catch(Nr){er(Nr)}},Or=Mr=>Mr.done?Ln(Mr.value):Promise.resolve(Mr.value).then(Ur,Sr);Or((dn=dn.apply(Nn,jn)).next())});const ke=Nn=>{var jn=Nn,{shixunHomeworks:dn,dispatch:Ln}=jn,er=$e(jn,["shixunHomeworks","dispatch"]);const Ur=(0,ye.useParams)(),[Sr,Or]=(0,ve.useState)([]),[Mr,Nr]=(0,ve.useState)([]);(0,ve.useEffect)(()=>{dn.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&Jr()},[dn.actionTabs.key]);function Jr(){return Pe(this,null,function*(){const Dn=yield(0,pe.ZP)(`/api/homework_commons/${Ur.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});Or(Dn)})}const Gn=[{title:"\u5206\u73ED\u60C5\u51B5",dataIndex:"name"},{title:"\u6709\u6548\u4F5C\u54C1\u6570",dataIndex:"works_count"},{title:"\u68C0\u6D4B\u8FDB\u5EA6",dataIndex:"status"},{title:"\u4E0A\u6B21\u8BC4\u5206\u65F6\u95F4",dataIndex:"last_analysis_time"}];return ve.createElement(ve.Fragment,null,ve.createElement(Ae.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:dn.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Pe(void 0,null,function*(){const Dn=yield(0,pe.ZP)(`/api/homework_commons/${Ur.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:Mr}});(Dn==null?void 0:Dn.status)===0&&(ye.history.replace(`/classrooms/${Ur.coursesId}/shixun_homework/${Ur.categoryId}/detail?tabs=4`),window.location.reload(),Ln({type:"shixunHomeworks/setActionTabs",payload:{}}),Nr([]))}),onCancel:()=>{Nr([]),Ln({type:"shixunHomeworks/setActionTabs",payload:{}})}},ve.createElement(ne.default,{rowSelection:{type:"checkbox",onChange:(Dn,Wn)=>{Nr([...Dn])},selectedRowKeys:Mr,getCheckboxProps:Dn=>({disabled:Dn.status==="\u8FDB\u884C\u4E2D"||Dn.works_count===0})},rowKey:Dn=>Dn.key||Dn.id,scroll:{y:300},pagination:!1,columns:Gn,dataSource:Sr==null?void 0:Sr.group_list})))};var Ve=(0,ye.connect)(({shixunHomeworks:Nn})=>({shixunHomeworks:Nn}))(ke),Qe=be(64726),_e=be(63529),Ze=be(82309),Ue=Object.defineProperty,Fe=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,gt=(Nn,jn,dn)=>jn in Nn?Ue(Nn,jn,{enumerable:!0,configurable:!0,writable:!0,value:dn}):Nn[jn]=dn,St=(Nn,jn)=>{for(var dn in jn||(jn={}))Ne.call(jn,dn)&>(Nn,dn,jn[dn]);if(Fe)for(var dn of Fe(jn))nt.call(jn,dn)&>(Nn,dn,jn[dn]);return Nn},wt=(Nn,jn,dn)=>new Promise((Ln,er)=>{var Ur=Mr=>{try{Or(dn.next(Mr))}catch(Nr){er(Nr)}},Sr=Mr=>{try{Or(dn.throw(Mr))}catch(Nr){er(Nr)}},Or=Mr=>Mr.done?Ln(Mr.value):Promise.resolve(Mr.value).then(Ur,Sr);Or((dn=dn.apply(Nn,jn)).next())});const Bt=({shixunHomeworks:Nn,dispatch:jn,isShow:dn,setIsShow:Ln,item:er,coursesId:Ur,categoryId:Sr})=>{const[Or,Mr]=(0,ve.useState)({page:1,limit:10}),[Nr,Jr]=(0,ve.useState)([]),[Gn,Dn]=(0,ve.useState)(!1);(0,ve.useEffect)(()=>{dn&&Wn()},[dn]);function Wn(){return wt(this,null,function*(){Dn(!0);const ui=yield(0,pe.ZP)(`/api/student_works/${er.id}/game_details.json`,{method:"get",params:St({},Or)});Dn(!1),ui.status===0&&Jr(ui==null?void 0:ui.data)})}const Pi=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(ui,ii,zn)=>ve.createElement("span",{style:{color:"#000"}},Or.limit*(Or.page-1)+zn+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(ui,ii,zn)=>ve.createElement("span",{style:{color:"#000"}},ui)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(ui,ii,zn)=>ve.createElement("span",null,ui==0?"\u672A\u901A\u5173":ui==4?"\u622A\u6B62\u540E\u901A\u5173":"\u5DF2\u901A\u5173")},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"evaluate_count",key:"evaluate_count",width:100,ellipsis:!0,render:(ui,ii,zn)=>ve.createElement("span",{style:{color:"#333"}},ui)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(ui,ii,zn)=>ve.createElement("span",{style:{color:"#333"}},ui)}];return ve.createElement(ve.Fragment,null,ve.createElement(Ae.default,{centered:!0,title:"\u901A\u5173\u60C5\u51B5",open:dn,width:700,footer:null,maskClosable:!1,onCancel:()=>{Or.page=1,Or.limit=10,Mr(St({},Or)),Ln(!1)}},ve.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"20px"}},ve.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},ve.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u751F\u59D3\u540D"),ve.createElement("span",{title:er==null?void 0:er.user_name,style:{color:"#232B40"}},er==null?void 0:er.user_name)),ve.createElement("div",{style:{marginLeft:"50px",marginRight:"50px",maxWidth:"180px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},ve.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u53F7"),ve.createElement("span",{title:er==null?void 0:er.student_id,style:{color:"#232B40"}},(er==null?void 0:er.student_id)||"--")),ve.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},ve.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u73ED\u7EA7"),ve.createElement("span",{title:er==null?void 0:er.group_name,style:{color:"#232B40"}},(er==null?void 0:er.group_name)||"--"))),ve.createElement(ne.default,{scroll:{y:380},columns:Pi,loading:Gn,style:{marginBottom:Or.limit>(Nr==null?void 0:Nr.count)?"16px":"0"},dataSource:Nr.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:Or.limit,current:Or.page,position:["bottomRight"],onChange:(ui,ii)=>{Or.page=ui,Or.limit=ii,Mr(St({},Or)),Wn()},total:Nr==null?void 0:Nr.count,showTotal:(ui,ii)=>ve.createElement("span",null,"\u5171",ve.createElement("span",{style:{color:"#165DFF"}}," ",ui," "),"\u6761\u6570\u636E")}})))};var Nt=(0,ye.connect)(({shixunHomeworks:Nn})=>({shixunHomeworks:Nn}))(Bt),pt=be(59301),Ft=Object.defineProperty,Lt=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,Vt=Object.prototype.propertyIsEnumerable,en=(Nn,jn,dn)=>jn in Nn?Ft(Nn,jn,{enumerable:!0,configurable:!0,writable:!0,value:dn}):Nn[jn]=dn,cn=(Nn,jn)=>{for(var dn in jn||(jn={}))$t.call(jn,dn)&&en(Nn,dn,jn[dn]);if(Lt)for(var dn of Lt(jn))Vt.call(jn,dn)&&en(Nn,dn,jn[dn]);return Nn},pn=(Nn,jn,dn)=>new Promise((Ln,er)=>{var Ur=Mr=>{try{Or(dn.next(Mr))}catch(Nr){er(Nr)}},Sr=Mr=>{try{Or(dn.throw(Mr))}catch(Nr){er(Nr)}},Or=Mr=>Mr.done?Ln(Mr.value):Promise.resolve(Mr.value).then(Ur,Sr);Or((dn=dn.apply(Nn,jn)).next())});const xn=({value:Nn,placeholder:jn=""})=>{if(Nn==null||Nn==="")return pt.createElement("span",null,jn);{const dn=Number(Nn);if(dn>=80)return pt.createElement("span",{style:{color:"#009C0F"}},dn);if(dn<80&&dn>=60)return pt.createElement("span",{style:{color:"#FA6400"}},dn);if(dn<60)return pt.createElement("span",{style:{color:"#E30000"}},dn)}},ur=({shixunHomeworks:Nn,classroomList:jn,loading:dn,dispatch:Ln,setExportParams:er,user:Ur})=>{var Sr,Or,Mr,Nr,Jr,Gn,Dn,Wn,Pi,ui,ii,zn;const Gt=(0,ye.useParams)(),[Mt,Zt]=(0,ve.useState)(cn(cn({},{page:1,limit:20,order:"work_score",b_order:"desc"}),Gt)),[Un]=Xe.default.useForm(),[Br,Xn]=(0,ve.useState)(),[hr,gr]=(0,ve.useState)({}),[ci,cr]=(0,ve.useState)([]),[mi,ar]=(0,ve.useState)(!1),[On,An]=(0,ve.useState)([]),[nr,vn]=(0,ve.useState)(!1),[Rn,Ar]=(0,ve.useState)(),[Hr,Wr]=(0,ve.useState)(1),[wi,Bi]=(0,ve.useState)(),[vi,di]=(0,ve.useState)(),[ai,qn]=(0,ve.useState)(),[Yn,Ki]=(0,ve.useState)(),[xi,ta]=(0,ve.useState)(),[hi,Qn]=(0,ve.useState)(!1),[kr,ni]=(0,ve.useState)(!1),[Kr,Qi]=(0,ve.useState)(),qi=(0,ye.useLocation)();(0,ve.useEffect)(()=>(Ni(),()=>{gr([]),cr([])}),[Mt.coursesId]),(0,ve.useEffect)(()=>{var sr;const Rr=JSON.parse(JSON.stringify(Nn.workList));!((sr=Rr==null?void 0:Rr.student_works)!=null&&sr.length)&&(Rr!=null&&Rr.id)?(Rr.student_works=[cn({},Rr)],gr(Rr)):(Rr!=null&&Rr.id&&cr([cn(cn({},Rr),{number:"\u6211"})]),gr(cn({},Rr)))},[Nn.workList]);const Ni=sr=>(er(cn({},Mt)),Ln({type:"shixunHomeworks/getWorkList",payload:Mt}));(0,ve.useEffect)(()=>{Ln({type:"user/getUserInfo",payload:{course_id:Mt.coursesId}})},[]);const Xi=()=>pn(void 0,null,function*(){const sr=yield(0,Me.Uc)({categoryId:Gt.categoryId});Xn(sr==null?void 0:sr.update_score)}),Pa=()=>pn(void 0,null,function*(){Ln({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const sr=yield(0,Me.Vs)({categoryId:Gt.categoryId});Ln({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(sr==null?void 0:sr.status)===0&&(E.ZP.success(sr==null?void 0:sr.message),Ni())}),Fi=()=>{Mt.page=1;const sr=Object.assign({},Un.getFieldsValue());delete Mt.course_group,delete Mt.teacher_comment,Object.keys(sr).map(function(Rr){var gi;switch(Rr){case"task_status":sr[Rr].includes("all")||!sr[Rr].length?(delete Mt.work_status,Un.setFieldsValue({task_status:"all"})):(Mt.work_status=sr[Rr],Un.setFieldsValue({task_status:Mt.work_status}));break;case"course_group_info":sr[Rr].includes("all")||!sr[Rr].length?(delete Mt.course_group,Un.setFieldsValue({course_group_info:"all"})):(Mt.course_group=sr[Rr],Un.setFieldsValue({course_group_info:Mt.course_group}));break;case"teacher_comment":sr[Rr].includes("all")||!sr[Rr].length?(delete Mt.teacher_comment,Un.setFieldsValue({teacher_comment:"all"})):(Mt.teacher_comment=((gi=sr[Rr])==null?void 0:gi.length)===1?Number(sr[Rr][0]):"",Un.setFieldsValue({teacher_comment:sr[Rr]}));break}}),Ni()};(0,ve.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(ta(47),Qn(!0))},[document.getElementById("divhe")]);const Qa=(sr,Rr)=>{Mt.page=sr,Mt.limit=20,Ni()};function br(){Wr(1),Bi(""),di(""),qn(""),Ki(""),An([])}const Li=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(sr,Rr,gi)=>Mt.limit*(Mt.page-1)+gi+1},{title:"\u59D3\u540D",dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:sr=>pt.createElement(ge.Z,{placement:"bottomLeft",title:sr},pt.createElement("span",{className:"current"},sr))},!(0,tt.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:Mt.order==="student_id"?Mt.b_order==="desc"?"descend":"ascend":null,render:sr=>pt.createElement(ge.Z,{placement:"bottomLeft",title:sr||"--"},pt.createElement("span",{className:"current"},sr||"--"))},{title:"\u5206\u73ED",dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(sr,Rr)=>sr?pt.createElement(ge.Z,{placement:"bottom",title:sr},pt.createElement("span",{className:"current"},sr)):"--"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:Mt.order==="work_status"?Mt.b_order==="desc"?"descend":"ascend":null,render:sr=>pt.createElement(fe.lC,{status:sr})},{title:"\u5B8C\u6210\u65F6\u95F4",align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:Mt.order==="achieve_time"?Mt.b_order==="desc"?"descend":"ascend":null,render:(sr,Rr)=>pt.createElement(ge.Z,{placement:"bottomLeft",title:sr},pt.createElement("span",{className:"current"},sr))},{title:"\u901A\u8FC7\u60C5\u51B5",align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(sr,Rr)=>pt.createElement("span",{onClick:gi=>{var oi;gi.stopPropagation(),(oi=hr.homework_status)!=null&&oi.includes("\u5BFC\u5165")&&(Qi(Rr),ni(!0))}},sr||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:Mt.order==="work_score"?Mt.b_order==="desc"?"descend":"ascend":null,render:(sr,Rr)=>pt.createElement(ge.Z,{title:pt.createElement(pt.Fragment,null,pt.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Rr==null?void 0:Rr.late_final_score)||0),pt.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Rr==null?void 0:Rr.late_penalty)||0),pt.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Rr==null?void 0:Rr.score)||0))},xn({value:sr,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:Mt.order==="achieve_time_long"?Mt.b_order==="desc"?"descend":"ascend":null,render:(sr,Rr)=>sr&&sr!="--"?pt.createElement(ge.Z,{placement:"bottom",title:sr},pt.createElement("span",{className:"current"},sr)):"--"},((Sr=hr.homework_status)==null?void 0:Sr.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((Or=hr.homework_status)!=null&&Or.includes("\u5BFC\u5165"))&&{title:pt.createElement("span",null,"\u8BC4\u9605\u72B6\u6001"),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:sr=>sr?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},{title:"\u64CD\u4F5C",dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(sr,Rr)=>{var gi;return(gi=hr.homework_status)!=null&&gi.includes("\u5BFC\u5165")?(0,tt.GJ)()?pt.createElement("a",{onClick:oi=>{oi.stopPropagation(),Ln({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Rr==null?void 0:Rr.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):pt.createElement("a",{onClick:oi=>{oi.stopPropagation(),Qi(Rr),ni(!0)}},"\u67E5\u770B"):(0,tt.dE)()?pt.createElement("div",null,(0,fe.JL)(Rr==null?void 0:Rr.work_status)==="\u672A\u5F00\u542F"?pt.createElement("span",null,"--"):pt.createElement("a",{onClick:oi=>{var na;if(oi.stopPropagation(),(0,tt.Rm)()&&!((na=jn.AssistantObject.hack)!=null&&na.can_view)){E.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}window.open(`/classrooms/${Mt.coursesId}/program_homework/${Mt.categoryId}/${Rr.id}/${Rr.user_id}/comment`,"_blank")}},"\u67E5\u770B")):pt.createElement("a",{target:"_blank",onClick:oi=>{var na,Hi;if(oi.stopPropagation(),(0,tt.Rm)()&&!((na=jn.AssistantObject.hack)!=null&&na.can_view)){E.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}if((Hi=Ur.userInfo)!=null&&Hi.professional_certification)window.open(`/classrooms/${Mt.coursesId}/program_homework/${Mt.categoryId}/${Rr.id}/${Rr.user_id}/comment`,"_blank");else return Ae.default.confirm({title:"\u63D0\u793A",centered:!0,content:pt.createElement("div",{className:"tc"},"\u60A8\u9700\u8981\u53BB\u5B8C\u6210\u60A8\u7684\u804C\u4E1A\u8BA4\u8BC1\uFF0C\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD"),okText:"\u7ACB\u5373\u5B8C\u5584",cancelText:"\u7A0D\u540E\u5B8C\u5584",onOk:()=>{(0,fe.xg)("/account/certification")}}),!1}},"\u67E5\u770B\u4F5C\u4E1A")}}].filter(sr=>!!sr),Ji=()=>{var sr,Rr;return pt.createElement(ue.default,null,pt.createElement(ue.default.Item,{onClick:()=>{var gi;if((0,tt.Rm)()&&!((gi=jn.AssistantObject.hack)!=null&&gi.can_download)){E.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ln({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:hr==null?void 0:hr.course_group_info,fn:()=>{(0,_e.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},"\u5B66\u751F\u6210\u7EE9"),(0,tt.GJ)()&&((sr=hr==null?void 0:hr.student_works)==null?void 0:sr.length)>0&&!((Rr=hr==null?void 0:hr.homework_status)!=null&&Rr.includes("\u5BFC\u5165"))&&pt.createElement(ue.default.Item,{key:"3",onClick:()=>{var gi;if((0,tt.Rm)()&&!((gi=jn.AssistantObject.hack)!=null&&gi.can_download)){E.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}Ln({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",course_groups:hr==null?void 0:hr.course_group_info,fn:()=>{var oi,na,Hi,sa;Ln({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),ye.history.push(`/classrooms/${Mt==null?void 0:Mt.coursesId}/program_homework/${Mt.categoryId}/${(na=(oi=hr==null?void 0:hr.student_works)==null?void 0:oi[0])==null?void 0:na.id}/${(sa=(Hi=hr==null?void 0:hr.student_works)==null?void 0:Hi[0])==null?void 0:sa.user_id}/comment`)}}})}},"\u7F16\u7A0B\u62A5\u544A"),pt.createElement(ue.default.Item,{key:"2",onClick:()=>{var gi;if((0,tt.Rm)()&&!((gi=jn.AssistantObject.hack)!=null&&gi.can_download)){E.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}ye.history.push(`/classrooms/${Mt.coursesId}/exportlist/hack_work_list`)}},"\u5386\u53F2\u5BFC\u51FA"))};return pt.createElement(pt.Fragment,null,pt.createElement("section",{className:`${qe.wrap} minH500 bg-white pl30 pr30 pt30`},((Mr=hr.homework_status)==null?void 0:Mr.includes("\u672A\u53D1\u5E03"))&&pt.createElement(ce.Z,null),!((Nr=hr.homework_status)!=null&&Nr.includes("\u672A\u53D1\u5E03"))&&pt.createElement("aside",null,!(0,tt.GJ)()&&pt.createElement("div",{className:"c-light-black font12"},pt.createElement("span",null,"\u53D1\u5E03\u65F6\u95F4 ",hr==null?void 0:hr.publish_time),pt.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",hr==null?void 0:hr.end_time),pt.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(hr==null?void 0:hr.late_time)||"- -")),(0,tt.GJ)()&&pt.createElement(pt.Fragment,null,pt.createElement(Xe.default,{form:Un,onChange:Fi,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((Jr=hr.task_status)==null?void 0:Jr.length)>0&&pt.createElement(Xe.default.Item,{name:"task_status"},pt.createElement(le.default.Group,{value:[],style:{width:"100%"}},pt.createElement(ie.Z,null,pt.createElement(se.Z,{className:"font14",flex:"80px"},"\u4F5C\u4E1A\u72B6\u6001:"),pt.createElement(se.Z,{flex:"80px"},pt.createElement(le.default,{value:"all"},"\u5168\u90E8")),pt.createElement(se.Z,{flex:"1"},hr.task_status&&hr.task_status.map((sr,Rr)=>pt.createElement(le.default,{name:"task_status",value:sr.id},sr.name,"(",sr.count,")")))))),((Gn=hr.course_group_info)==null?void 0:Gn.length)>0&&pt.createElement(Xe.default.Item,{name:"course_group_info"},pt.createElement(le.default.Group,{style:{width:"100%"}},pt.createElement(ie.Z,null,pt.createElement(se.Z,{className:"font14",flex:"80px"},"\u5206\u73ED\u60C5\u51B5:"),pt.createElement(se.Z,{flex:"80px"},pt.createElement(le.default,{value:"all"},"\u5168\u90E8")),pt.createElement(se.Z,{flex:"1",id:"divhe",style:{height:xi+"px",overflow:"hidden"}},(Dn=hr.course_group_info)==null?void 0:Dn.map((sr,Rr)=>pt.createElement(le.default,{value:sr.course_group_id},sr.group_group_name,"(",sr.count,")"))),hi&&pt.createElement("span",{onClick:()=>{let sr=document.getElementById("divhe").scrollHeight;xi>47?ta(47):ta(sr)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},xi===47?"\u5C55\u5F00":"\u6536\u8D77",xi===47?pt.createElement(x.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):pt.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((Wn=hr.teacher_comment)==null?void 0:Wn.length)>0&&pt.createElement(Xe.default.Item,{name:"teacher_comment"},pt.createElement(le.default.Group,{style:{width:"100%"}},pt.createElement(ie.Z,null,pt.createElement(se.Z,{className:"font14",flex:"80px"},"\u8FFD\u52A0\u70B9\u8BC4:"),pt.createElement(se.Z,{flex:"80px"},pt.createElement(le.default,{value:"all"},"\u5168\u90E8")),pt.createElement(se.Z,{flex:"1"},hr.teacher_comment&&hr.teacher_comment.map((sr,Rr)=>pt.createElement(le.default,{value:String(sr.id)},sr.name,"(",sr.count,")"))))))),pt.createElement(ie.Z,{align:"middle"},pt.createElement(se.Z,{flex:"1"},pt.createElement(ie.Z,{align:"middle"},pt.createElement(se.Z,null,pt.createElement(ae.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:sr=>{Mt.search=sr.trim(),Mt.page=1,Ni()},style:{width:240}})),pt.createElement(se.Z,null,pt.createElement("span",{className:"ml5"},pt.createElement("span",{className:"c-red"},hr.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",hr.work_count,"\u4E2A\u5B66\u751F\uFF09")))),pt.createElement(se.Z,null,(0,tt.GJ)()&&!((Pi=hr.homework_status)!=null&&Pi.includes("\u5BFC\u5165"))&&pt.createElement(oe.ZP,{className:"ml10",onClick:()=>{Ln({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:hr.student_works.map(sr=>sr.id),params:Mt}})}},pt.createElement("span",{className:`${qe.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,tt.GJ)()&&!((ui=hr.homework_status)!=null&&ui.includes("\u5BFC\u5165"))&&pt.createElement(oe.ZP,{className:"ml10",onClick:Pa},pt.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),"\u66F4\u65B0\u6210\u7EE9"),(0,tt.GJ)()&&pt.createElement(re.Z,{dropdownRender:Ji,className:"ml10"},pt.createElement(oe.ZP,null,pt.createElement(te.Z,null),"\u5BFC\u51FA",pt.createElement(ee.Z,null)))))),pt.createElement(ie.Z,{style:{justifyContent:"end",marginTop:"5px"}},(0,tt.GJ)()&&Br&&pt.createElement("span",null,pt.createElement("span",{style:{color:"red"}},"*"),"\u5217\u8868\u4E2D\u4F5C\u4E1A\u8BB0\u5F55\u5B58\u5728\u5DEE\u5F02\uFF0C\u8BF7\u70B9\u51FB\u201C\u66F4\u65B0\u6210\u7EE9\u201D\u6309\u94AE")),pt.createElement(ne.default,{className:`mt30 ${qe.TableDom}`,loading:dn["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:sr=>({onClick:Rr=>{var gi,oi;if(!((gi=hr.homework_status)!=null&&gi.includes("\u5BFC\u5165"))){if((0,tt.Rm)()&&!((oi=jn.AssistantObject.hack)!=null&&oi.can_view)){E.ZP.warning("\u60A8\u672A\u83B7\u53D6\u6B64\u6743\u9650\uFF0C\u9700\u5411\u8BFE\u5802\u7BA1\u7406\u5458\u7533\u8BF7\u6743\u9650\u624D\u80FD\u4F7F\u7528\u6B64\u529F\u80FD");return}(0,Ze.O5)()&&window.open(`/classrooms/${Mt.coursesId}/program_homework/${Mt.categoryId}/${sr.id}/${sr.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:hr.student_works,columns:Li,onChange:(sr,Rr,gi)=>{gi.field&&(Mt.order=gi.field==="score"?"work_score":gi.field),gi.order||(Mt.b_order="asc"),gi.order==="ascend"&&(Mt.b_order="asc"),gi.order==="descend"&&(Mt.b_order="desc"),gi.order||(Mt.b_order="asc"),Ni()}}),pt.createElement(Ye,null),pt.createElement(bt,null),pt.createElement(he.Z,null)),pt.createElement(Ae.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:mi,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>pn(void 0,null,function*(){if(Hr===2){if(On.length<=0){E.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!Yn){E.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let sr=yield(0,pe.ZP)(`/api/homework_commons/${Mt.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Mt.categoryId,comment:Yn,status:On}});sr.status===0&&(Ar(sr),ar(!1),vn(!0))}else{if(!(ai===0||vi===0)){if(!ai){E.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!vi){E.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(ai>vi){E.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!Yn){E.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let sr=yield(0,pe.ZP)(`/api/homework_commons/${Mt.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Mt.categoryId,comment:Yn,min_score:ai,max_score:vi}});sr.status===0&&(Ar(sr),ar(!1),vn(!0))}}),onCancel:()=>{ar(!1),br()}},pt.createElement("div",{style:{padding:"32px"}},pt.createElement("div",null,pt.createElement("div",null,pt.createElement("span",{style:{width:"80px"}},"\u6253\u56DE\u65B9\u5F0F\uFF1A"),pt.createElement(z.ZP.Group,{value:Hr,onChange:sr=>{Wr(sr.target.value)}},pt.createElement(z.ZP,{value:1},"\u6309\u6210\u7EE9\u6253\u56DE"),pt.createElement(z.ZP,{value:2},"\u6309\u4F5C\u4E1A\u72B6\u6001\u6253\u56DE"))),Hr===1&&pt.createElement("div",{style:{display:"flex",marginTop:"20px"}},pt.createElement("span",{style:{width:"70px",textAlign:"end"}},pt.createElement("span",{style:{color:"red"}},"*"),"\u6700\u4F4E\u5206\uFF1A"),pt.createElement(a.Z,{min:0,max:100,value:ai,onChange:sr=>qn(sr),style:{width:"100px"}}),pt.createElement("span",{style:{width:"80px",textAlign:"end"}},pt.createElement("span",{style:{color:"red"}},"*"),"\u6700\u9AD8\u5206\uFF1A"),pt.createElement(a.Z,{min:0,max:100,value:vi,onChange:sr=>di(sr),style:{width:"100px"}})),Hr===2&&pt.createElement("div",{style:{display:"flex",marginTop:"20px"}},pt.createElement("span",{style:{width:"80px"}},"\u4F5C\u4E1A\u72B6\u6001\uFF1A"),pt.createElement(le.default.Group,{onChange:sr=>{An([...sr])},style:{width:"100%"}},(ii=hr.task_status)==null?void 0:ii.map((sr,Rr)=>pt.createElement(le.default,{name:"task_status",value:sr.id},sr.name,"(",sr.count,")")))),pt.createElement("div",{style:{display:"flex",marginTop:"20px"}},pt.createElement("span",{style:{width:"70px",textAlign:"end"}},pt.createElement("span",{style:{color:"red"}},"*")," \u8BC4\u8BED\uFF1A"),pt.createElement(Qe.Z,{className:qe.MdEditor,onChange:sr=>Ki(sr),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),pt.createElement(Ae.default,{open:nr,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>pn(void 0,null,function*(){Hr===2?(yield(0,pe.ZP)(`/api/homework_commons/${Mt.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Mt.categoryId,comment:Yn,status:On}})).status===0&&(E.ZP.info("\u6253\u56DE\u6210\u529F"),br(),Ni(),vn(!1)):(yield(0,pe.ZP)(`/api/homework_commons/${Mt.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Mt.categoryId,comment:Yn,min_score:ai,max_score:vi}})).status===0&&(E.ZP.info("\u6253\u56DE\u6210\u529F"),br(),Ni(),vn(!1))}),onCancel:()=>{br(),vn(!1)}},pt.createElement("div",{style:{padding:"32px"}},Hr===1&&pt.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",ai,"-",vi,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Hr===2&&pt.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((zn=hr.task_status)==null?void 0:zn.filter(sr=>On==null?void 0:On.includes(sr.id)).map(sr=>sr.name).toString())+",","\u7684\u5B66\u751F\u8FDB\u884C\u4F5C\u4E1A\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),pt.createElement("br",null),pt.createElement("span",null,"\u8BE5\u6761\u4EF6\u4E0B\u5171\u6709",Rn==null?void 0:Rn.count,"\u540D\u5B66\u751F")))),pt.createElement(Ve,null),pt.createElement(Nt,{isShow:kr,setIsShow:ni,item:Kr,coursesId:Mt.coursesId,categoryId:Mt.categoryId}),pt.createElement("aside",{className:"tc mb50 mt30"},pt.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:Qa,current:Mt.page||1,defaultPageSize:20,total:hr.work_count})))};var Dr=(0,ye.connect)(({shixunHomeworks:Nn,classroomList:jn,loading:dn,user:Ln})=>({shixunHomeworks:Nn,classroomList:jn,loading:dn.effects,user:Ln}))(ur)},47365:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return a}});var ve=be(59301),Xe=be(24459),E=be(43418),ge=be(3113),Ae=be(71418),ue=be(5247),le=be(70037),ie=be(57800),se=be(24334),ae=be(61186),oe=be.n(ae),re=be(86723),ne=be(59301),z=(y,x,b)=>new Promise((te,ee)=>{var ce=de=>{try{he(b.next(de))}catch(pe){ee(pe)}},fe=de=>{try{he(b.throw(de))}catch(pe){ee(pe)}},he=de=>de.done?te(de.value):Promise.resolve(de.value).then(ce,fe);he((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,te]=(0,ve.useState)(void 0);console.log((0,Xe.useLocation)(),33);const ee=(0,Xe.useLocation)();(0,ve.useEffect)(()=>{y&&function(){return z(this,null,function*(){const st=yield(0,ue.X6)(y);te(st.data)})}()},[y]);const{status:ce,created_at:fe,code:he,name:de,language:pe,pass_sets_count:ye,set_count:me,error_msg:Ee,output:Be,input:je,expected_output:we,execute_memory:De,user:xe,execute_time:Te,input_file_url:Ke,output_file_url:Ye,is_file:Me,expected_output_file_url:tt}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(ge.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(Ae.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"},le.Im[ce])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,oe()(fe).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,pe)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,Te*1e3,"ms")," "),ne.createElement("li",null," ",`${ce===re.h.HIDE_COMPILE_STATUS?"--":ye} / ${me} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,le.gZ)({status:ce,error_msg:Ee,execute_time:Te,output:Be,input:je,expected_output:we,input_file_url:Ke,output_file_url:Ye,is_file:Me,expected_output_file_url:tt}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(ie.ZP,{height:"200px",width:"100%",language:pe==null?void 0:pe.toLocaleLowerCase(),value:se.Base64.decode(he),options:{readOnly:!0}}))):null)))}},21758:function(nn,Ht,be){"use strict";be.d(Ht,{Im:function(){return me},Y4:function(){return Be}});var ve=be(59301),Xe=be(92832),E=be(8591),ge=be(3113),Ae=be(76826),ue=be(24334),le=be.n(ue),ie=be(7850),se=be(7651),ae=be(99325),oe=be(88230),re=be(34376),ne=be.n(re),z=be(7660),a=be(24459),y=be(47365),x=be(50484),b=be(5247),te=be(50397),ee=be(90853),ce=be(92310),fe=be.n(ce),he=be(20736),de=be(59301),pe=(De,xe,Te)=>new Promise((Ke,Ye)=>{var Me=st=>{try{qe(Te.next(st))}catch(ct){Ye(ct)}},tt=st=>{try{qe(Te.throw(st))}catch(ct){Ye(ct)}},qe=st=>st.done?Ke(st.value):Promise.resolve(st.value).then(Me,tt);qe((Te=Te.apply(De,xe)).next())});const{TextArea:ye}=Xe.default,me={[Ae.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[Ae.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[Ae.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 Ee=(De=>(De[De.SET_VISIBLE=0]="SET_VISIBLE",De[De.SET_TABINDEX=1]="SET_TABINDEX",De))(Ee||{});function Be(De){const{status:xe,error_msg:Te,output:Ke,input:Ye,expected_output:Me,is_file:tt,input_file_url:qe,output_file_url:st,expected_output_file_url:ct,setMonacoValue:lt,setData:at}=De,ut=(0,ve.useRef)(),At=(0,ve.useRef)(),bt=(0,ve.useRef)();let It=null;const ht={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,ve.useEffect)(()=>{if(Ke&&!tt&&ut.current){const dt=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});dt.open(ut.current);const $e=(0,oe.pp)(ue.Base64.decode(Ke));dt.write($e),dt.setOption("theme",{background:"#1e1e1e"})}if(Ye&&!tt&&At.current){const dt=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});dt.open(At.current),dt.write((0,oe.pp)(Ye)),dt.setOption("theme",{background:"#1e1e1e"})}if(Me&&!tt&&bt.current){const dt=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});dt.open(bt.current),dt.write((0,oe.pp)(ue.Base64.decode(Me))),dt.setOption("theme",{background:"#1e1e1e"})}},[Ke]),xe){case Ae.h.NOMATCH:It=de.createElement(de.Fragment,null,de.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!tt&&de.createElement("div",{ref:ut}),tt&&de.createElement("div",{style:ht},de.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const dt=yield(0,z.ZP)(st,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});lt(dt),setTimeout(()=>{at(st)},200)})},Ke)),de.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!tt&&de.createElement("div",{ref:bt}),tt&&de.createElement("div",{style:ht},de.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(this,null,function*(){const dt=yield fetch(ct,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});lt(yield dt.text()),setTimeout(()=>{at(ct)},200)})},Me)));break;case Ae.h.EXECUTEFAILURE:It=de.createElement(de.Fragment,null,de.createElement("div",{style:{border:"1px #F6F7F9 solid"}},de.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!tt&&de.createElement(ae.Z,{value:Ye,style:ht}),tt&&de.createElement("div",{style:ht},de.createElement("a",{onClick:()=>(0,oe.LR)(qe,Ye)},Ye))),de.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},de.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),de.createElement("pre",{className:ie.Z.error,style:{color:"#E30000",padding:"0 10px"}},ue.Base64.decode(Te),"111")));break;case Ae.h.COMPILEFAILURE:It=de.createElement(de.Fragment,null,de.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),de.createElement("pre",{className:ie.Z.error},ue.Base64.decode(Te)));break;case Ae.h.PODFAILURE:It=de.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case Ae.h.TIMEOUT:It=de.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return de.createElement(de.Fragment,null," ",It," ")}function je(De){const{status:xe,error_msg:Te,execute_time:Ke,output:Ye,input:Me,expected_output:tt,is_file:qe,input_file_url:st,output_file_url:ct,expected_output_file_url:lt}=De;let at=null;switch(xe){case Ae.h.OK:case Ae.h.NOMATCH:case Ae.h.EXECUTEFAILURE:case Ae.h.COMPILEFAILURE:at=de.createElement("div",{id:"outputResultRef",className:"h100"});break;case Ae.h.PODFAILURE:at=de.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case Ae.h.TIMEOUT:at=de.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return de.createElement(de.Fragment,null," ",at," ")}function we({value:De,className:xe}){return de.createElement("span",{className:xe},De)}Ht.ZP=({input:De,is_file:xe,debuging:Te,submitting:Ke,executingMessage:Ye,debugResult:Me,onChangeInput:tt,onDebugCode:qe,onSubmitCode:st,hack:ct,user:lt,submitResult:at,isWhiteTheme:ut,topDispatch:At})=>{const[bt]=(0,a.useSearchParams)(),It=(0,a.useParams)(),[ht,dt]=(0,ve.useState)(!1),[$e,Pe]=(0,ve.useState)(!1),[ke,Ve]=(0,ve.useState)(1),[Qe,_e]=(0,ve.useState)(!1),[Ze,Ue]=(0,ve.useState)(0),[Fe,Ne]=(0,ve.useState)(!1),[nt,gt]=(0,ve.useState)(""),[St,wt]=(0,ve.useState)(""),Bt=(0,ve.useRef)(),Nt=(0,ve.useRef)(),pt=(0,ve.useRef)(null),Ft=(0,ve.useRef)(null),Lt=(0,ve.useRef)(null);console.log(at,"submitResult",It);const{status:$t,id:Vt,input:en,output:cn,expected_output:pn,is_file:xn,input_file_url:ur,output_file_url:Dr,expected_output_file_url:Nn,error_msg:jn,hack_sets:dn}=at||{};(0,ve.useEffect)(()=>{$t===0&&(Ve(1),Ue(0))},[$t,Vt]),(0,ve.useEffect)(()=>{pe(void 0,null,function*(){var Dn;const Wn=yield(0,b.rX)(It==null?void 0:It.id,"submit");(Wn==null?void 0:Wn.status)===0&&(Wn!=null&&Wn.data&&((Dn=Wn==null?void 0:Wn.data)==null?void 0:Dn.status)!==0?(At({type:te.Types.SET_SUBMIT_RESULT,payload:{submitResult:Wn==null?void 0:Wn.data}}),Ve(2),Ue(320)):(Ve(1),Ue(0)))})},[It==null?void 0:It.id]),(0,ve.useEffect)(()=>{if(Bt.current){let Gn=function(Mt){ui=Pi.offsetHeight,ii=!0,zn=Mt.pageY,Lt.current.style.display="block"},Dn=function(){ii=!1,Lt.current.style.display="none"},Wn=function(Mt){if(ii){Ln();let Zt=zn-Mt.pageY,Un=ui+Zt;if(Un<0&&(Un=0),Un>window.innerHeight-150&&(Un=window.innerHeight-150),ke===1){Un<=34?Ue(0):Ue(Un);return}console.log(Un,"resizeH"),Ue(Un)}};const Pi=pt.current;let ui=0,ii=!1,zn=0;const Gt=document.getElementById("case-y-bar");return Gt==null||Gt.addEventListener("mousedown",Gn),document.addEventListener("mousemove",Wn),document.addEventListener("mouseup",Dn),()=>{const Mt=document.getElementById("case-y-bar");Mt==null||Mt.removeEventListener("mousedown",Gn),document.removeEventListener("mousemove",Wn),document.removeEventListener("mouseup",Dn)}}},[Bt,ke]),(0,ve.useEffect)(()=>{const Gn=x.Z.subscribe("resize-move-bar",Ln);if(bt.get("type")!=="exercises")return document.addEventListener((0,he.gH)(),Sr),()=>{document.removeEventListener((0,he.gH)(),Sr),Gn()}},[]),(0,ve.useEffect)(()=>{});function Ln(){var Gn,Dn,Wn,Pi;const ui=document.getElementById("outputResultRef");if(ui){let ii=ui.dataset.text;Nt.current.reset(),Nt.current.writeln(ii);const zn=document.getElementById("outputResultRef").offsetWidth-20,Gt=((Pi=(Wn=(Dn=(Gn=Nt.current)==null?void 0:Gn._core)==null?void 0:Dn._renderService)==null?void 0:Wn.dimensions)==null?void 0:Pi.actualCellWidth)||10,Mt=Math.ceil(zn/Gt);Nt.current.resize(Mt,Math.ceil(ui.clientHeight/16))}}function er(){dt(!ht),setTimeout(()=>{Ln()},300),Ue(ht?320:window.innerHeight-150)}function Ur(){$e?(Pe(!1),(0,he.BU)()):(Pe(!0),(0,he.Dj)(Ft.current))}const Sr=Gn=>{(0,he.vp)()||Pe(!1)},Or=(0,ve.useMemo)(()=>{if(Me){const{status:Gn,output:Dn,error_msg:Wn}=Me;return setTimeout(()=>{let Pi="",ui=document.getElementById("outputResultRef");Dn?Pi=ue.Base64.decode(Dn):Wn&&(Pi=ue.Base64.decode(Wn)),Nt.current=new re.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),Nt.current.open(ui),Nt.current.onKey(function(ii){var zn;if(ii.domEvent.key.toLocaleUpperCase()==="C"&&ii.domEvent.ctrlKey){ii.domEvent.preventDefault();let Gt=(zn=Nt.current)==null?void 0:zn.getSelection();navigator.clipboard.writeText(Gt).then(()=>{})}}),ui.dataset.text=Pi,Nt.current.setOption("convertEol",!0),Ln()},300),de.createElement(de.Fragment,null,je(Me))}return null},[Me]);function Mr(){var Gn,Dn;if(!(ct!=null&&ct.code)||((Gn=ct==null?void 0:ct.code)==null?void 0:Gn.trim().length)===0){(Dn=E.ZP)==null||Dn.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),Ue(320),qe()}const Nr=Gn=>pe(void 0,null,function*(){let Dn=yield(0,z.ZP)(`/api/problems/${Gn}/start.json`,{method:"get",params:{hack_user_id:lt==null?void 0:lt.user_id}});Dn&&(window.location.href=`/myproblems/${Dn==null?void 0:Dn.identifier}${window.location.search}`)});function Jr(){xn?navigator.clipboard.writeText(ue.Base64.decode(jn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(ue.Base64.decode(cn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return de.createElement(ve.Fragment,null,de.createElement("div",{className:fe()(ie.Z.case,ut&&ie.Z.whiteCase),style:{height:Ze},ref:pt},de.createElement("div",{className:ie.Z.fullMask,ref:Lt}),de.createElement("div",{className:ie.Z["resize-y-bar"],id:"case-y-bar",ref:Bt,draggable:!1},ke===2&&de.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),ke===1&&(Ze<=34?de.createElement("div",{onClick:()=>{Ue(320)},className:ie.Z.unfoldBtn},"\u63A7\u5236\u53F0",de.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):de.createElement("div",{onClick:()=>{Ue(0)},className:ie.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",de.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),de.createElement("div",null,de.createElement("div",{className:ie.Z.caseHead},de.createElement("div",{className:ie.Z.dot}),de.createElement("div",{className:ie.Z.text},ke===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),ke===2&&!Ke&&typeof $t=="number"&&de.createElement(de.Fragment,null,$t===Ae.h.OK?de.createElement("div",{className:ie.Z.pass},de.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):de.createElement("div",{className:ie.Z.noPass},de.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),me[$t])),de.createElement("div",{className:ie.Z.btns},ke===2&&!Ke&&de.createElement(de.Fragment,null,$t!==Ae.h.OK&&de.createElement("div",{onClick:Jr},de.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),de.createElement("div",{onClick:()=>{Ne(Vt)}},de.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),bt.get("type")!=="exercises"&&de.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>er()},de.createElement("i",{className:`iconfont icon-${ht?"suoxiao1":"fangda"}`})))),de.createElement("div",{style:{display:ke===1?"block":"none"}},Te?de.createElement(se.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):de.createElement("div",{style:{height:Ze-34}},de.createElement("div",{className:ie.Z.result},de.createElement("div",{className:ie.Z.left},de.createElement("div",{className:ie.Z.title},de.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),de.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),de.createElement("div",{className:ie.Z.leftNode},de.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:xe?"":De,onChange:tt}))),de.createElement("div",{className:ie.Z.right},de.createElement("div",{className:ie.Z.title},de.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),de.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),de.createElement("div",{className:ie.Z.node},Me?Or:de.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")))))),de.createElement("div",{style:{display:ke===2?"block":"none"}},Ke?de.createElement(se.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):de.createElement("div",{style:{height:Ze-34,display:"flex",flexDirection:"column",overflow:"hidden"}},de.createElement("div",{ref:Ft,className:ie.Z.elseNode},de.createElement("div",{className:ie.Z.nameWrap},de.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),de.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),de.createElement("div",{className:ie.Z.scroll},de.createElement("pre",{className:ie.Z.scrollBox,style:Qe?{height:$e?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!xn&&de.createElement(we,{value:en}),xn&&de.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const Gn=yield fetch(ur,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});wt(yield Gn.text()),setTimeout(()=>{gt(ur)},200)})},en)),en&&de.createElement("div",{className:ie.Z.action},de.createElement("span",{onClick:()=>_e(!Qe)},Qe?"\u6536\u8D77":"\u5C55\u5F00"),bt.get("type")!=="exercises"&&de.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>Ur(),className:`iconfont icon-${$e?"suoxiao1":"fangda"}`})))),de.createElement("div",{className:ie.Z.result,style:{flex:1,overflow:"hidden"}},de.createElement("div",{className:ie.Z.left},de.createElement("div",{className:ie.Z.title},de.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),de.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),de.createElement("div",{className:ie.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},de.createElement("pre",null,!xn&&de.createElement(we,{className:"mb10",value:pn&&ue.Base64.decode(pn)||""}),xn&&de.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const Gn=yield fetch(Nn,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});wt(yield Gn.text()),setTimeout(()=>{gt(Nn)},200)})},pn)))),de.createElement("div",{className:ie.Z.right},de.createElement("div",{className:ie.Z.title},de.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),de.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),de.createElement("div",{className:ie.Z.node,style:{color:$t===Ae.h.OK?"#2ABD8C":"#FF2C29"}},de.createElement("pre",null,($t===4||$t===5)&&de.createElement(we,{className:"mb10",value:jn&&ue.Base64.decode(jn)||""}),$t!=4&&$t!=5&&(xn?de.createElement("a",{style:{fontSize:"16px"},onClick:()=>pe(void 0,null,function*(){const Gn=yield(0,z.ZP)(Dr,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{wt(Gn)}catch(Dn){wt("")}setTimeout(()=>{gt(Dr)},200)})},cn):de.createElement(we,{className:"mb10",value:cn&&ue.Base64.decode(cn)||""})))))))))),de.createElement("div",{className:fe()(ie.Z.footer,ut&&ie.Z.whiteFooter),style:{zIndex:100}},(ct==null?void 0:ct.is_program)&&(ct==null?void 0:ct.above_question)&&de.createElement(ge.ZP,{className:"mr10",type:"primary",onClick:()=>Nr(ct==null?void 0:ct.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(ct==null?void 0:ct.is_program)&&(ct==null?void 0:ct.under_question)&&de.createElement(ge.ZP,{className:"mr10",type:"primary",onClick:()=>Nr(ct==null?void 0:ct.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),de.createElement(ge.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Te||Ke,loading:Te,color:"#2ABD8C",className:"mr10",onClick:Mr},"\u8C03\u8BD5\u4EE3\u7801"),bt.get("qtype")!=="8"&&de.createElement(ge.ZP,{className:ie.Z.disabled,type:"primary",icon:de.createElement("i",{className:"iconfont icon-bofang1"}),loading:Ke,disabled:Te||Ke,onClick:()=>{var Gn,Dn;if(!(ct!=null&&ct.code)||((Gn=ct==null?void 0:ct.code)==null?void 0:Gn.trim().length)===0){(Dn=E.ZP)==null||Dn.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),Ue(320),st()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),de.createElement(y.Z,{onClose:Ne,open:Fe}),de.createElement(ee.Z,{close:!0,data:nt,type:nt.length?"txt":"",onClose:()=>gt(""),monacoEditor:{value:St,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},50397:function(nn,Ht,be){"use strict";be.r(Ht),be.d(Ht,{Types:function(){return La},default:function(){return Ya}});var ve=be(59301),Xe=be(24459),E=be(31797),ge=be(43418),Ae=be(71418),ue=be(3113),le=be(6848),ie=be(95237),se=be(5247),ae=be(30897),oe=be(20736),re=be(31582),ne=be(38446),z=be(87169),a=be(43428),y=be(57800),x=be(19647),b=be(90691),te=be(34043),ee=be(59301),ce=Object.defineProperty,fe=Object.defineProperties,he=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,me=(fn,Jn,Tn)=>Jn in fn?ce(fn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Tn}):fn[Jn]=Tn,Ee=(fn,Jn)=>{for(var Tn in Jn||(Jn={}))pe.call(Jn,Tn)&&me(fn,Tn,Jn[Tn]);if(de)for(var Tn of de(Jn))ye.call(Jn,Tn)&&me(fn,Tn,Jn[Tn]);return fn},Be=(fn,Jn)=>fe(fn,he(Jn));const je={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0)};var we=(fn=>(fn[fn.set_font_size=0]="set_font_size",fn[fn.set_theme=1]="set_theme",fn[fn.on_tab_to_space=2]="on_tab_to_space",fn[fn.set_show_editor_setting=3]="set_show_editor_setting",fn))(we||{});function De(fn,Jn){switch(Jn.type){case 3:return Be(Ee({},fn),{showEditorSetting:Jn.payload});case 1:return Be(Ee({},fn),{theme:Jn.payload});case 0:return Be(Ee({},fn),{fontSize:Jn.payload});case 2:return Be(Ee({},fn),{tabToSpace:Jn.payload});default:throw new Error}}var xe=({isLoading:fn,value:Jn,onChange:Tn,language:Vn,onUpdateCode:Cr,ActionBarRender:pr,setIsWhiteTheme:Yr})=>{const[Zr,Vr]=(0,ve.useReducer)(De,je),{theme:qr,fontSize:$n,showEditorSetting:pi,tabToSpace:Oi}=Zr,Wi=(0,ve.useRef)(),ji=(0,ve.useRef)();(0,ve.useEffect)(()=>{Yr(qr==="vs")},[qr]);const Ai={onFontSizeChange:fa=>{Vr({type:0,payload:fa}),(0,b.t)("cmFontSize",fa)},tabToSpace:Oi,cmFontSize:$n,className:"oj",cmCodeMode:qr,onTabToSpace:fa=>{Vr({type:2,payload:fa}),(0,b.t)("cmTabToSpace",fa)},onCodeModeChange:fa=>{Vr({type:1,payload:fa}),(0,b.t)("ProgrammingCodeMode",fa)}};function Sa(){Vr({type:3,payload:!1})}function Oa(){Vr({type:3,payload:!0})}const lo={value:Jn,language:Vn,theme:qr,options:{fontSize:$n,insertSpaces:Oi},onChange:fa=>{Tn(fa),ji.current=fa,clearTimeout(Wi.current),Wi.current=setTimeout(()=>{Cr(ji.current)},1e4)},onEditBlur:fa=>{ji.current&&Cr(ji.current)}};return ee.createElement(ve.Fragment,null,pr(Oa),ee.createElement("div",{style:{flex:1,overflow:"hidden"}},!fn&&ee.createElement(y.ZP,Ee({},lo))),ee.createElement(x.Z,null,ee.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:pi,onClose:Sa},ee.createElement(te.Z,Ee({},Ai)))))},Te=be(60141),Ke=be(24334),Ye=be(21758),Me={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"},tt={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},qe=be(1710),st=be(58421),ct=be(58617),lt=be(47365),at=be(61186),ut=be.n(at),At=be(59301);const{Column:bt}=qe.default;var It=({submitResult:fn,submitting:Jn,submitRecords:Tn,page:Vn,onPageChange:Cr,topicId:pr})=>{const[Yr]=(0,Xe.useSearchParams)(),{records:Zr,records_count:Vr}=Tn||{},[qr,$n]=(0,ve.useState)(!1),pi=Yr.get("type")==="1";return At.createElement(Ae.Z,{spinning:Jn,tip:"\u8BC4\u6D4B\u4E2D...",indicator:At.createElement(ct.Z,{style:{fontSize:24},spin:!0})},(Zr==null?void 0:Zr.length)>0?At.createElement(qe.default,{dataSource:Zr,rowKey:"id",pagination:!1},At.createElement(bt,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(Oi,Wi)=>At.createElement("span",null," ",ut()(Oi).format("YYYY-MM-DD HH:mm:ss"))}),At.createElement(bt,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(Oi,Wi)=>{var ji;return At.createElement("span",{className:`${Oi===0?"c-green":"c-red"} current`,onClick:()=>{$n(Wi.id)}},(ji=Ye.Im[Oi])==null?void 0:ji.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),At.createElement(bt,{title:`\u6267\u884C\u7528\u65F6 (${pi?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:Oi=>Oi?pi?Oi:Oi/1e3:""}),At.createElement(bt,{title:`\u5185\u5B58\u6D88\u8017\uFF08${pi?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:Oi=>Oi?pi?Oi:parseFloat((Oi/1024).toFixed(2)):""}),At.createElement(bt,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),At.createElement(bt,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(Oi,Wi)=>At.createElement("span",{className:"c-light-primary current",onClick:()=>{$n(Wi.id)}},"\u67E5\u770B")})):At.createElement("div",{style:{height:300,width:"100%"}}),At.createElement(lt.Z,{onClose:$n,open:qr}),Vr>15?At.createElement(st.Z,{className:tt.pagination,current:Vn,pageSize:15,total:Vr,onChange:Cr}):null)},ht=be(57816),dt=be(12563),$e={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Pe=be(99325),ke=be(59301);const Ve={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var Qe=({hack:fn})=>{const{language:Jn,difficult:Tn,time_limit:Vn,description:Cr}=fn,[pr]=(0,Xe.useSearchParams)(),Yr=Ve[Tn];return ke.createElement(ke.Fragment,null,ke.createElement("ul",{className:$e.info},ke.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",ke.createElement("b",{className:$e.info_tag},Jn)),ke.createElement("li",null,ke.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",ke.createElement(dt.default,{color:Yr==null?void 0:Yr.color},Yr==null?void 0:Yr.name)),ke.createElement("li",null,ke.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",ke.createElement("span",{style:{color:"#333333"}},Vn,"\u79D2"))),pr.get("qtype")==="8"?ke.createElement(Pe.Z,{value:Cr,showProgramFill:!0,className:$e.desc}):ke.createElement(Pe.Z,{value:Cr,className:$e.desc}))},_e={},Ze=be(59301),Ue=({hack:fn,current_user:Jn})=>Ze.createElement("div",{className:_e.answer},fn!=null&&fn.answer_text?Ze.createElement(Pe.Z,{style:{padding:"13px 0"},value:(fn==null?void 0:fn.answer_text)||""}):Ze.createElement(ht.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),Fe=be(50484),Ne=be(7660);function nt(fn,Jn){return(0,Ne.U2)(`/problems/${fn}/comments.json`,{page:Jn,limit:10})}function gt(fn){return(0,Ne.v_)(`/discusses/${fn}/plus.json`,{container_type:"Discuss",type:1})}function St(fn,Jn,Tn){return(0,Ne.v_)(`/problems/${fn}/comments/reply.json`,{comments:{content:Tn,parent_id:Jn}})}function wt(fn,Jn){return(0,Ne.v_)(`/problems/${fn}/comments.json`,{comments:{content:Jn}})}function Bt(fn,Jn,Tn){return(0,Ne.v_)(`/problems/${fn}/comments/${Jn}/hidden.json`,Tn)}function Nt(fn,Jn){return(0,Ne.IV)(`/problems/${fn}/comments/${Jn}`)}var pt=be(52649);function Ft({author:fn}){return ve.createElement("a",{href:`/users/${fn.login}`,target:"_blank"},ve.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${fn.image_url}`,width:"50"}))}function Lt({data:fn,index:Jn,parentDiscussIndex:Tn,user:Vn,onSetActionType:Cr}){const{author:pr,can_delete:Yr,content:Zr,id:Vr,time:qr}=fn;function $n(){Cr({id:Vr,index:Jn,type:"delete-discuss",parentDiscussIndex:Tn,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const pi=Vn.admin||Yr||pr.user_id===Vn.user_id;return ve.createElement("div",{className:"discuss-item-container second-discuss "},ve.createElement(Ft,{author:pr}),ve.createElement("section",null,ve.createElement("div",{className:"discuss-info"},ve.createElement("a",{href:`/users/${pr.login}`,target:"_blank"},pr.name),ve.createElement("span",{className:"grey"},qr),ve.createElement("div",{className:"btn-group",style:{marginBottom:0}},pi?ve.createElement("a",{onClick:$n,title:"\u5220\u9664"},ve.createElement("i",{className:"iconfont icon-shanchu"})):null)),ve.createElement(Pe.Z,{className:"discuss-content",value:Zr})))}var $t=({user:fn,data:Jn,index:Tn,onPlusDiscuss:Vn,onSetActionType:Cr,activeDiscussIndex:pr,onReplyDiscuss:Yr,onSetActiveDiscussIndex:Zr})=>{const{content:Vr,children:qr,hidden:$n,id:pi,praise_count:Oi,time:Wi,user_praise:ji,can_delete:Ai,author:Sa}=Jn;function Oa(){Zr(pi)}function lo(){Vn(pi,!ji,Tn)}function fa(){Cr({id:pi,index:Tn,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function Ha(){Cr({id:pi,index:Tn,params:{hidden:$n?"0":"1"},type:"hidden-discuss",message:$n?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const mo=fn.admin||fn.user_id===Sa.user_id;return ve.createElement("div",{className:"discuss-item-container",key:pi},ve.createElement(Ft,{author:Sa}),ve.createElement("section",null,ve.createElement("div",{className:"discuss-info"},ve.createElement("a",{href:`/users/${Sa.login}`,target:"_blank"}," ",Sa.name," "),ve.createElement("span",{className:"grey"},Wi)),ve.createElement(Pe.Z,{className:"discuss-content",value:Vr}),qr&&qr.length>0?ve.createElement("div",{className:"reply-discuss-container"},qr.map((or,ei)=>ve.createElement(Lt,{key:or.id,data:or,index:ei,user:fn,onSetActionType:Cr,parentDiscussIndex:Tn}))):null,ve.createElement("div",{className:"btn-group"},mo?ve.createElement("a",{onClick:Ha,title:$n?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ve.createElement("i",{className:$n?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Ai&&(!qr||qr.length==0)?ve.createElement("a",{onClick:fa,title:"\u5220\u9664"},ve.createElement("i",{className:"iconfont icon-shanchu"})):null,ve.createElement("a",{onClick:Oa,title:"\u56DE\u590D"}," ",ve.createElement("i",{className:"iconfont icon-huifu1"})," "),ve.createElement("a",{onClick:lo,className:ji?"c-orange":""},ve.createElement("i",{className:ji?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ve.createElement("span",null,Oi||""))),ve.createElement(pt.Z,{id:pi,activeDiscussIndex:pr,onReplyDiscuss:Yr})))},Vt=be(85469),en={"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"},cn=be(64726),pn=(fn,Jn,Tn)=>new Promise((Vn,Cr)=>{var pr=Vr=>{try{Zr(Tn.next(Vr))}catch(qr){Cr(qr)}},Yr=Vr=>{try{Zr(Tn.throw(Vr))}catch(qr){Cr(qr)}},Zr=Vr=>Vr.done?Vn(Vr.value):Promise.resolve(Vr.value).then(pr,Yr);Zr((Tn=Tn.apply(fn,Jn)).next())}),xn=({user_praise:fn,praise_count:Jn,praisePlus:Tn,onCreateDiscuss:Vn,discuss_count:Cr})=>{const[pr,Yr]=(0,ve.useState)(!1),[Zr,Vr]=(0,ve.useState)("");function qr(Wi){Vr(Wi)}function $n(){Yr(!0)}function pi(){Yr(!1)}function Oi(){return pn(this,null,function*(){Vn(Zr),Vr(""),Yr(!1)})}return ve.createElement("div",{className:`${en["dis-input-editor-container"]} ${pr?en.active:""} `},ve.createElement("div",{className:pr?`hide ${en["text-area"]}`:en["text-area"]},ve.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:$n}),ve.createElement("a",null," ",ve.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Cr," "),ve.createElement("a",{className:"c-light-black",onClick:Tn,title:fn?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},ve.createElement("i",{className:`mr3 ${fn?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Jn?ve.createElement("span",null,Jn):"")),pr?ve.createElement("div",{className:en["input-mask"],onClick:pi}):null,ve.createElement("div",{className:pr?en["md-container"]:`${en["md-container"]} hide`},ve.createElement(cn.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:Zr,height:240,onChange:qr}),ve.createElement("div",{className:en["tip-container"],onClick:pi},ve.createElement("a",{className:en["btn-send"],onClick:Oi}," \u53D1\u9001 "))))},ur=be(59301),Dr=Object.defineProperty,Nn=Object.defineProperties,jn=Object.getOwnPropertyDescriptors,dn=Object.getOwnPropertySymbols,Ln=Object.prototype.hasOwnProperty,er=Object.prototype.propertyIsEnumerable,Ur=(fn,Jn,Tn)=>Jn in fn?Dr(fn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Tn}):fn[Jn]=Tn,Sr=(fn,Jn)=>{for(var Tn in Jn||(Jn={}))Ln.call(Jn,Tn)&&Ur(fn,Tn,Jn[Tn]);if(dn)for(var Tn of dn(Jn))er.call(Jn,Tn)&&Ur(fn,Tn,Jn[Tn]);return fn},Or=(fn,Jn)=>Nn(fn,jn(Jn)),Mr=(fn,Jn,Tn)=>new Promise((Vn,Cr)=>{var pr=Vr=>{try{Zr(Tn.next(Vr))}catch(qr){Cr(qr)}},Yr=Vr=>{try{Zr(Tn.throw(Vr))}catch(qr){Cr(qr)}},Zr=Vr=>Vr.done?Vn(Vr.value):Promise.resolve(Vr.value).then(pr,Yr);Zr((Tn=Tn.apply(fn,Jn)).next())});const Nr={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var Jr=(fn=>(fn[fn.GET_DISCUSSES=0]="GET_DISCUSSES",fn[fn.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",fn[fn.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",fn[fn.PLUS_DISCUSS=3]="PLUS_DISCUSS",fn[fn.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",fn[fn.SET_PAGE=5]="SET_PAGE",fn[fn.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",fn))(Jr||{});function Gn(fn,Jn){switch(Jn.type){case 6:return Or(Sr({},fn),{loading:!0});case 0:return Sr(Sr({},fn),Jn.payload);case 1:return Sr(Sr({},fn),Jn.payload);case 4:return Sr(Sr({},fn),Jn.payload);case 3:return Sr(Sr({},fn),Jn.payload);case 5:return Or(Sr({},fn),{page:Jn.payload});case 2:return Sr(Sr({},fn),Jn.payload);default:throw new Error}}var Dn=({user:fn,identifier:Jn,hack:Tn,onTriggerPraise:Vn,activeIndex:Cr})=>{const[pr,Yr]=(0,ve.useReducer)(Gn,Nr),{loading:Zr,page:Vr,data:qr,count:$n,actionType:pi,activeDiscussIndex:Oi}=pr,Wi=(0,ve.useCallback)(()=>Mr(void 0,null,function*(){Yr({type:6});const or=yield nt(Jn,Vr),{comments:ei,disscuss_count:$r}=or;Yr({type:0,payload:{data:ei,count:$r,loading:!1}})}),[Vr,Jn]);(0,ve.useEffect)(()=>{Cr==="2"&&Wi()},[Jn,Vr,Cr]);function ji(or){Yr({type:5,payload:or})}function Ai(or){Yr({type:4,payload:{actionType:or}})}function Sa(or){Yr(Oi===or?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:or}})}function Oa(or,ei,$r){return Mr(this,null,function*(){try{const Tr=yield gt(or);qr[$r].user_praise=ei,qr[$r].praise_count=Tr.praise_count,Yr({type:3,payload:{data:[...qr]}})}catch(Tr){console.log(Tr)}})}function lo(){return Mr(this,null,function*(){const{id:or,params:ei,type:$r,index:Tr,parentDiscussIndex:ea}=pi;if($r==="hidden-discuss"&&(yield Bt(Jn,or,ei),ea?qr[ea].children[Tr].hidden=ei.hidden==1:qr[Tr].hidden=ei.hidden==1,Yr({type:4,payload:{actionType:null,data:[...qr]}})),$r==="delete-discuss"){if(yield Nt(Jn,or),ea||ea===0){let da=qr[ea].children;for(let la=da.length-1;la>=0;la--)if(da[la].id===or){da.splice(la,1);break}qr[ea].children=da}else for(let da=qr.length-1;da>=0;da--)if(qr[da].id===or){qr.splice(da,1);break}Yr({type:4,payload:{actionType:null,data:[...qr]}})}})}function fa(){Yr({type:4,payload:{actionType:null}})}function Ha(or,ei){return Mr(this,null,function*(){try{yield St(Jn,or,ei),Wi()}catch($r){console.log($r)}})}function mo(or){return Mr(this,null,function*(){Yr({type:6}),yield wt(Jn,or),Wi()})}return ur.createElement(ur.Fragment,null,ur.createElement("div",{className:"discuss-panel"},qr.length===0?ur.createElement(ht.Z,null):qr.map((or,ei)=>ur.createElement($t,{onReplyDiscuss:Ha,onPlusDiscuss:Oa,onSetActiveDiscussIndex:Sa,onSetActionType:Ai,data:or,index:ei,user:fn,activeDiscussIndex:Oi})),$n>10?ur.createElement("div",{className:"pagination-container"},ur.createElement(st.Z,{showQuickJumper:!0,onChange:ji,current:Vr,total:$n})):null),ur.createElement(xn,{user_praise:Tn.user_praise,praise_count:Tn.praises_count,praisePlus:Vn,discuss_count:Tn.comments_count,onCreateDiscuss:mo}),ur.createElement(x.Z,null,ur.createElement(ge.default,{centered:!0,title:"\u63D0\u793A",open:!!pi,onOk:lo,onCancel:fa},ur.createElement("p",null,pi?pi.message:"")),ur.createElement(Vt.Z,null)))},Wn=be(57809),Pi=be(92832),ui=be(65615),ii={},zn=be(59301),Gt=({hack:fn,current_user:Jn})=>zn.createElement("div",{className:ii.answer},fn!=null&&fn.analysis?zn.createElement(Pe.Z,{style:{padding:"13px 0"},value:(fn==null?void 0:fn.analysis)||""}):zn.createElement(ht.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),Mt={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},Zt=be(36381),Un=be(43604),Br=be(78241),Xn=be(5871),hr=be(24833),gr=be(59301);const{TextArea:ci}=Pi.default,{Panel:cr}=Zt.default;var mi=({data:fn,hack:Jn})=>(console.log(fn,Jn,"data"),Jn!=null&&Jn.is_file?gr.createElement(hr.Y2,{disabled:!0,className:Mt.uploadTableWrapper,showScore:!Jn.test_set_score,data:fn,isProgramHomework:!0}):gr.createElement("div",{className:Mt.hackSets},fn==null?void 0:fn.map((Tn,Vn)=>gr.createElement(Zt.default,{accordion:!0,bordered:!1,key:Vn,defaultActiveKey:Vn===0&&Tn.id,className:Mt.collapseWrapper,expandIcon:({isActive:Cr})=>gr.createElement("i",{className:`iconfont icon-weizhankai ${Cr?Mt.open:Mt.close}`,style:{fontSize:14,transition:"all .2s"}})},gr.createElement(cr,{key:Tn.id,header:gr.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},gr.createElement(Un.Z,{className:Mt.panelHeader},gr.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",Vn+1)),gr.createElement(Un.Z,{flex:1},gr.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Jn!=null&&Jn.test_set_score)&&gr.createElement(Un.Z,{className:Mt.rateInput},gr.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),gr.createElement("div",null,gr.createElement(Br.default.Item,{noStyle:!0},gr.createElement(Xn.Z,{value:Tn==null?void 0:Tn.score,className:Mt.baseFormItem,min:0,max:100,disabled:!0}))),gr.createElement("span",{className:"ml10"},"%")))))},gr.createElement(Br.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},gr.createElement(ci,{readOnly:!0,value:Tn==null?void 0:Tn.input,rows:4})),gr.createElement(Br.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},gr.createElement(ci,{readOnly:!0,value:Tn==null?void 0:Tn.output,rows:4}))))))),ar={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},On=be(59301),nr=(0,ve.forwardRef)(({data:fn=[]},Jn)=>{var Tn;const[Vn,Cr]=(0,ve.useState)(),pr=fn.filter(Zr=>Zr.show);(0,ve.useEffect)(()=>{pr.length&&Cr(pr[0].id)},[fn==null?void 0:fn.length]);const Yr=((Tn=pr.find(Zr=>Zr.id===Vn))==null?void 0:Tn.element)||null;return(0,ve.useImperativeHandle)(Jn,()=>({setActiveTab:Zr=>Cr(Zr)})),On.createElement("div",{className:ar.tabs},On.createElement("div",{className:ar.tabWarp},pr.map(Zr=>On.createElement("div",{onClick:()=>Cr(Zr.id),className:`${ar.tab} ${Zr.id===Vn?ar.active:""}`,key:Zr.id},Zr.name))),On.createElement("div",{className:ar.content},Yr))}),vn=be(59301),Rn=Object.defineProperty,Ar=Object.defineProperties,Hr=Object.getOwnPropertyDescriptors,Wr=Object.getOwnPropertySymbols,wi=Object.prototype.hasOwnProperty,Bi=Object.prototype.propertyIsEnumerable,vi=(fn,Jn,Tn)=>Jn in fn?Rn(fn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Tn}):fn[Jn]=Tn,di=(fn,Jn)=>{for(var Tn in Jn||(Jn={}))wi.call(Jn,Tn)&&vi(fn,Tn,Jn[Tn]);if(Wr)for(var Tn of Wr(Jn))Bi.call(Jn,Tn)&&vi(fn,Tn,Jn[Tn]);return fn},ai=(fn,Jn)=>Ar(fn,Hr(Jn)),qn=(fn,Jn,Tn)=>new Promise((Vn,Cr)=>{var pr=Vr=>{try{Zr(Tn.next(Vr))}catch(qr){Cr(qr)}},Yr=Vr=>{try{Zr(Tn.throw(Vr))}catch(qr){Cr(qr)}},Zr=Vr=>Vr.done?Vn(Vr.value):Promise.resolve(Vr.value).then(pr,Yr);Zr((Tn=Tn.apply(fn,Jn)).next())});const Yn={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},Ki={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var xi=({hack:fn,onTriggerPraise:Jn,topicId:Tn,page:Vn,onPageChange:Cr,user:pr,current_user:Yr,submitRecords:Zr,submitting:Vr,submitResult:qr,setActiveIndex:$n,hack_sets:pi})=>{var Oi,Wi;const[ji]=(0,Xe.useSearchParams)(),[Ai,Sa]=(0,ve.useState)("0"),Oa=(0,Xe.useLocation)(),[lo,fa]=(0,ve.useState)(!1),[Ha,mo]=(0,ve.useState)(null),[or,ei]=(0,ve.useState)([]),[$r,Tr]=(0,ve.useState)([]),[ea,da]=(0,ve.useState)({page:1,limit:10}),la=(0,ve.useRef)(null),ya=(0,ve.useRef)(null);console.log(pr,"user");let[ga,ao]=(0,ve.useState)(ai(di({},(0,Xe.useParams)()),{page:1,per_page:20,name:""}));(0,ve.useEffect)(()=>{ya.current&&(fn==null?void 0:fn.is_close_tips)===!1&&Ha===null&&mo(!0)},[ya.current,fn==null?void 0:fn.is_close_tips,Ha]);function Go(){return qn(this,null,function*(){yield(0,Ne.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,ve.useEffect)(()=>{$n(Ai)},[Ai]);function _o(ua){return qn(this,null,function*(){let Ja=ua.target.id;if(Ja==="1"){let ka=yield(0,Ne.ZP)(`/api/myproblems/${ga.id}/redo_logs.json`,{method:"get",params:di({},ea)});(ka==null?void 0:ka.status)===0&&Tr(ka==null?void 0:ka.data)}Sa(Ja)})}(0,ve.useEffect)(()=>Fe.Z.subscribe("to-commit-info",()=>{Sa("1"),la.current&&la.current.setActiveTab("1")}),[]),(0,ve.useEffect)(()=>Fe.Z.subscribe("to-reset-info",()=>{_o({target:{id:"1"}}),la.current&&la.current.setActiveTab("2")}),[]);function Zo(){Sa("2")}function Xa(){return qn(this,null,function*(){let ua=yield(0,Ne.ZP)("/api/problems/my_hack_list.json",{method:"get",params:di({identifier:ga==null?void 0:ga.id},ga)});ei(ua)})}const Ii=[{title:null,description:vn.createElement("div",null,vn.createElement("b",{onClick:()=>{mo(!1),Go(),fa(!0),Xa()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),vn.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"),vn.createElement(ue.ZP,{onClick:()=>{mo(!1),Go()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>ya.current}];return vn.createElement("div",{className:Me["left-panel"]},vn.createElement("ul",{className:`${Me["s-navs"]} ${Me["bg-white"]} ${Me.b1}`},(fn==null?void 0:fn.is_program)&&!ji.get("pageId")&&vn.createElement(le.Z,{title:"\u9898\u76EE\u5217\u8868"},vn.createElement("div",{onClick:()=>{Xa(),fa(!0)},className:Me.btns,ref:ya,style:Ha?{pointerEvents:"none"}:{}},vn.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),vn.createElement("li",{style:{marginLeft:20}},vn.createElement("a",{className:Ai==="0"?Me.active:"",id:"0",onClick:_o},"\u9898\u76EE\u63CF\u8FF0")),vn.createElement("li",null,vn.createElement("a",{className:Ai==="1"?Me.active:"",id:"1",onClick:_o},"\u64CD\u4F5C\u8BB0\u5F55")),(ji.get("type")!=="exercises"&&(fn==null?void 0:fn.answer_text_show)||ji.get("type")!=="exercises"&&(fn==null?void 0:fn.analysis_show))&&vn.createElement("li",null,vn.createElement("a",{className:Ai==="4"?Me.active:"",id:"4",onClick:_o},"\u89E3\u7B54\u53C2\u8003")),ji.get("type")!=="exercises"&&vn.createElement("li",null,vn.createElement("a",{className:Ai==="2"?Me.active:"",id:"2",onClick:_o},"\u8BC4\u8BBA")),!!(pi!=null&&pi.length)&&ji.get("type")!=="exercises"&&ji.get("type")!=="1"&&vn.createElement("li",null,vn.createElement("a",{className:Ai==="5"?Me.active:"",id:"5",onClick:_o},"\u6D4B\u8BD5\u7528\u4F8B"))),vn.createElement("div",{className:`${Me["tab-panel-body"]} ${Ai==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},vn.createElement(Qe,{hack:fn,onTriggerPraise:Jn,toDiscuss:Zo})),vn.createElement("div",{style:{padding:"12px"},className:`${Me["tab-panel-body"]} ${Ai==="1"?"":"hide"}`},vn.createElement(nr,{ref:la,data:[{id:"1",show:ji.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:vn.createElement(vn.Fragment,null,Zr!=null&&Zr.records_count||Vr?vn.createElement(It,{page:Vn,onPageChange:Cr,topicId:Tn,submitting:Vr,key:(qr==null?void 0:qr.id)||1,submitRecords:Zr,submitResult:qr}):vn.createElement(ht.Z,null))},{id:"2",show:ji.get("type")==="exercises"||(fn==null?void 0:fn.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:vn.createElement(vn.Fragment,null,vn.createElement(qe.default,{pagination:!1,dataSource:$r==null?void 0:$r.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(ua,Ja,ka)=>ut()(ua).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(ua,Ja,ka)=>{var Ro;return(Ro=[{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(ns=>ns.id===ua))==null?void 0:Ro.name}}]}),vn.createElement(st.Z,{style:{marginTop:10},current:ea.page,total:$r==null?void 0:$r.count,hideOnSinglePage:!0,onChange:ua=>qn(void 0,null,function*(){ea.page=ua,da(ea);let Ja=yield(0,Ne.ZP)(`/api/myproblems/${ga.id}/redo_logs.json`,{method:"get",params:ai(di({},ea),{courseId:ga.courseId})});(Ja==null?void 0:Ja.status)===0&&Tr(Ja==null?void 0:Ja.data)})}))}]})),vn.createElement("div",{style:{padding:"12px"},className:`${Me["tab-panel-body"]} ${Ai==="4"?"":"hide"}`},vn.createElement(nr,{data:[{id:"1",show:ji.get("type")!=="exercises"&&(fn==null?void 0:fn.answer_text_show),name:"\u7B54\u6848",element:vn.createElement(vn.Fragment,null,vn.createElement(Ue,{hack:fn,current_user:Yr}))},{id:"2",show:ji.get("type")!=="exercises"&&(fn==null?void 0:fn.analysis_show),name:"\u89E3\u6790",element:vn.createElement(vn.Fragment,null,vn.createElement(Gt,{hack:fn,current_user:Yr}))}]})),vn.createElement("div",{className:`${Me["tab-panel-body"]} ${Ai==="2"?"":"hide"}`,style:{padding:0}},vn.createElement(Dn,{user:pr,activeIndex:Ai,identifier:fn.identifier,hack:fn,onTriggerPraise:Jn})),vn.createElement("div",{className:`${Me["tab-panel-body"]} ${Ai==="5"?"":"hide"}`,style:{padding:12}},vn.createElement(mi,{data:pi||[],hack:fn})),vn.createElement(a.Z,{rootClassName:Me.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>fa(!1),open:lo},vn.createElement(ie.Z,null,vn.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),vn.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",or==null?void 0:or.total_count,"\u9898\xA0[\xA0",or==null?void 0:or.total_score,"\u5206\xA0]\xA0"),!(pr!=null&&pr.hack_manager)&&vn.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",or==null?void 0:or.work_score,"\u5206")),vn.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),vn.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(pr!=null&&pr.hack_manager)&&vn.createElement(Wn.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:ua=>{ga.page=1,ga.finish_status=ua,ao(di({},ga)),Xa()}},vn.createElement(Wn.default.Option,{value:""},"\u5168\u90E8"),vn.createElement(Wn.default.Option,{value:0},"\u672A\u5F00\u59CB"),vn.createElement(Wn.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),vn.createElement(Wn.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),vn.createElement(Wn.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:ua=>{ga.page=1,ga.difficult=ua||null,ao(di({},ga)),Xa()}},vn.createElement(Wn.default.Option,{value:0},"\u5168\u90E8"),vn.createElement(Wn.default.Option,{value:1},"\u7B80\u5355"),vn.createElement(Wn.default.Option,{value:2},"\u9002\u4E2D"),vn.createElement(Wn.default.Option,{value:3},"\u56F0\u96BE")),vn.createElement(Pi.default.Search,{size:"large",onSearch:ua=>{ga.name=ua,ga.page=1,ao(di({},ga)),Xa()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),vn.createElement("div",{className:Me.list,style:{height:36,background:"#3D445C"}},!(pr!=null&&pr.hack_manager)&&vn.createElement("span",null,"\u72B6\u6001"),vn.createElement("span",null,"\u5E8F\u53F7"),vn.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),vn.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),vn.createElement("div",{style:{overflow:"auto",flex:1}},(Oi=or==null?void 0:or.data)!=null&&Oi.length?(Wi=or==null?void 0:or.data)==null?void 0:Wi.map((ua,Ja)=>vn.createElement("div",{onClick:()=>qn(void 0,null,function*(){let ka=yield(0,Ne.ZP)(`/api/problems/${ua==null?void 0:ua.identifier}/start.json`,{method:"get",params:{hack_user_id:pr==null?void 0:pr.user_id}});ka&&(Xe.history.replace(`/myproblems/${ka==null?void 0:ka.identifier}${window.location.search}`),window.location.reload())}),className:`${Me.list} ${ua!=null&&ua.checked?Me.active:""}`},!(pr!=null&&pr.hack_manager)&&vn.createElement(vn.Fragment,null,!(ua!=null&&ua.opened)&&vn.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(ua==null?void 0:ua.opened)&&!(ua!=null&&ua.passed)&&vn.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(ua==null?void 0:ua.opened)&&(ua==null?void 0:ua.passed)&&vn.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),vn.createElement("span",null,(ga.page-1)*20+(Ja+1)),vn.createElement("span",{style:{flex:1},title:ua.name},`[${ua==null?void 0:ua.score}\u5206]`,"\xA0",ua.name),vn.createElement("span",{style:{flexBasis:48,paddingRight:0}},Yn[ua.difficult]))):vn.createElement(ht.Z,null)),vn.createElement(st.Z,{current:ga.page,className:"mt20",hideOnSinglePage:!0,total:or==null?void 0:or.count,pageSize:ga.per_page,onChange:(ua,Ja)=>{ga.page=ua,ga.per_page=Ja,Xa()}})),vn.createElement(ui.Z,{rootClassName:Me.tour,closeIcon:!1,open:!!Ha,steps:Ii,gap:{offset:3,radius:2}}))},ta=be(62522),hi=be(93261),Qn=be(46942),kr=be(38992),ni=be(39649),Kr=be(71400),Qi=be(7850),qi=be(92310),Ni=be.n(qi),Xi=be(48569),Pa=be(18378),Fi=be(54318),Qa=be(71302),br=be(59301),Li=Object.defineProperty,Ji=Object.defineProperties,sr=Object.getOwnPropertyDescriptors,Rr=Object.getOwnPropertySymbols,gi=Object.prototype.hasOwnProperty,oi=Object.prototype.propertyIsEnumerable,na=(fn,Jn,Tn)=>Jn in fn?Li(fn,Jn,{enumerable:!0,configurable:!0,writable:!0,value:Tn}):fn[Jn]=Tn,Hi=(fn,Jn)=>{for(var Tn in Jn||(Jn={}))gi.call(Jn,Tn)&&na(fn,Tn,Jn[Tn]);if(Rr)for(var Tn of Rr(Jn))oi.call(Jn,Tn)&&na(fn,Tn,Jn[Tn]);return fn},sa=(fn,Jn)=>Ji(fn,sr(Jn)),$i=(fn,Jn)=>{var Tn={};for(var Vn in fn)gi.call(fn,Vn)&&Jn.indexOf(Vn)<0&&(Tn[Vn]=fn[Vn]);if(fn!=null&&Rr)for(var Vn of Rr(fn))Jn.indexOf(Vn)<0&&oi.call(fn,Vn)&&(Tn[Vn]=fn[Vn]);return Tn},Gi=(fn,Jn,Tn)=>new Promise((Vn,Cr)=>{var pr=Vr=>{try{Zr(Tn.next(Vr))}catch(qr){Cr(qr)}},Yr=Vr=>{try{Zr(Tn.throw(Vr))}catch(qr){Cr(qr)}},Zr=Vr=>Vr.done?Vn(Vr.value):Promise.resolve(Vr.value).then(pr,Yr);Zr((Tn=Tn.apply(fn,Jn)).next())});const{Countdown:Vi}=E.default,ia={Java:"java",C:"c",Python:"py","C++":"c"};var La=(fn=>(fn[fn.SET_LOADING=0]="SET_LOADING",fn[fn.GET_DATA=1]="GET_DATA",fn[fn.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",fn[fn.SET_DATA=3]="SET_DATA",fn[fn.SET_DEBUGING=4]="SET_DEBUGING",fn[fn.SET_SUBMITING=5]="SET_SUBMITING",fn[fn.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",fn[fn.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",fn[fn.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",fn[fn.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",fn[fn.SET_PAGE=10]="SET_PAGE",fn))(La||{});function Va(){return new Date().getTime()}const Ia={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function eo(fn,Jn){switch(Jn.type){case 1:return Hi(Hi({},fn),Jn.payload);case 3:return sa(Hi({},fn),{data:Jn.payload});case 0:return sa(Hi({},fn),{loading:Jn.payload});case 9:return sa(Hi({},fn),{showNote:Jn.payload});case 4:return sa(Hi({},fn),{debuging:Jn.payload});case 5:return sa(Hi({},fn),{submitting:Jn.payload});case 2:return sa(Hi({},fn),{submitRecords:Jn.payload});case 10:return sa(Hi({},fn),{submitRecordPage:Jn.payload});case 6:return sa(Hi({},fn),{executingMessage:Jn.payload});case 7:return Hi(Hi({},fn),Jn.payload);case 8:return Hi(Hi({},fn),Jn.payload);default:throw new Error}}var Ya=({children:fn})=>{var Jn,Tn,Vn,Cr,pr;const[Yr,Zr]=(0,ve.useReducer)(eo,Ia),{id:Vr}=(0,Xe.useParams)(),qr=(0,Xe.useLocation)(),[$n]=(0,Xe.useSearchParams)(),{loading:pi,data:Oi,debugResult:Wi,submitResult:ji,submitRecords:Ai,submitRecordPage:Sa,showNote:Oa,debuging:lo,submitting:fa,executingMessage:Ha}=Yr,[mo,or]=(0,ve.useState)("#37AD83"),[ei,$r]=(0,ve.useState)(null),[Tr,ea]=(0,ve.useState)({}),[da,la]=(0,ve.useState)(!0),[ya,ga]=(0,ve.useState)(!1),[ao,Go]=(0,ve.useState)(!1),_o=(0,ve.useRef)(null),Zo=(0,ve.useRef)(0),Xa=Oi==null?void 0:Oi.user,Ii=Oi==null?void 0:Oi.hack,[ua,Ja]=(0,ve.useState)(!1),ka=(0,ve.useRef)(1),Ro=(0,ve.useRef)(!1);(0,Xi.y)($n.get("type")==="exercises");const{setOpenDisableCopyAndPaste:ns}=(0,Xi.X)(),[rs,za]=(0,ve.useState)(""),Po=(0,ni._)(Tr);(0,ve.useEffect)(()=>{function zi(){return Gi(this,null,function*(){var aa,wo,Oo,uo,To;la(!0);const Xo=yield(0,se.fu)(Vr,{exercise_id:$n.get("exercisesId")});if(setTimeout(()=>{la(!1)},800),Xo.status!==401){try{Xo.hack.code=Ke.Base64.decode(Xo.hack.code)}catch(Ao){console.log(Ao)}Xo.hack=sa(Hi({},Xo.hack),{is_program:$n.get("type")==="1"}),Zr({type:1,payload:{loading:!1,data:Xo}})}if($n.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let Ao;$n.get("coursesId")=="coursesId"?Ao=yield(0,ae._F)({categoryId:$n.get("exercisesId"),login:$n.get("login")}):Ao=yield(0,ae._B)({categoryId:$n.get("exercisesId"),login:$n.get("login")}),ea(Hi({},Ao)),ns((aa=Ao==null?void 0:Ao.exercise)==null?void 0:aa.forbid_copy),typeof((wo=Ao==null?void 0:Ao.exercise)==null?void 0:wo.left_time)=="number"&&($r(Date.now()+((Oo=Ao==null?void 0:Ao.exercise)==null?void 0:Oo.left_time)*1e3),setTimeout(()=>{or("red")},(((uo=Ao==null?void 0:Ao.exercise)==null?void 0:uo.left_time)-300>0?((To=Ao==null?void 0:Ao.exercise)==null?void 0:To.left_time)-300:0)*1e3))}})}Vr&&zi()},[Vr]),(0,ve.useEffect)(()=>{var zi;return $n.get("type")==="exercises"&&((zi=Tr==null?void 0:Tr.exercise)!=null&&zi.screen_open)&&(window.removeEventListener("blur",hs,!1),Kr.U.forEach((aa,wo)=>{window.addEventListener(aa,hs,!1)}),window.addEventListener("blur",hs,!1),window.focus()),()=>{document.removeEventListener((0,oe.gH)(),hs)}},[Tr]),(0,ve.useEffect)(()=>{rs==="1"&&Vr&&Ii!=null&&Ii.language&&Us()},[Vr,Sa,Ii==null?void 0:Ii.language,rs]),(0,ve.useEffect)(()=>(Ii!=null&&Ii.is_program&&(Zo.current=0,_o.current=setInterval(()=>{Al()},15e3)),()=>{clearInterval(_o.current)}),[Ii==null?void 0:Ii.is_program]);const Al=()=>Gi(void 0,null,function*(){let zi=yield(0,Ne.ZP)(`/api/myproblems/${Vr}/save_long_time.json`,{method:"get",params:{answer_long_time:Zo.current}})}),hs=()=>{Ro.current||(0,oe.BU)(),window.parent.postMessage("backExercise","*")};function Us(){return Gi(this,null,function*(){try{const zi=yield(0,se.zO)(Vr,{limit:15,page:Sa,language:Ii==null?void 0:Ii.language});Zr({type:2,payload:zi})}catch(zi){console.log(zi)}})}function Yo(zi){Zr({type:10,payload:zi})}function gs(zi){return Gi(this,null,function*(){var aa;let wo;($n.get("ip_limit")==="inner"||$n.get("ip_bind_type")==="true")&&(wo=yield(0,hi.y)({ip_limit:$n.get("ip_limit"),ip_bind:$n.get("ip_bind_type")==="true"}));const Oo=yield(0,se.n4)(Vr,{code:Ke.Base64.encode(zi||Ii.code),language:Ii==null?void 0:Ii.language,exercise_id:$n.get("exercisesId"),question_id:$n.get("questionId"),ip:wo});return Oo.status===-5&&(0,Xe.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:sa(Hi({errorMessage:Oo==null?void 0:Oo.message},(Tr==null?void 0:Tr.exercise)||{}),{exercise_user_id:(aa=Tr==null?void 0:Tr.exercise)==null?void 0:aa.exercise_user_id,id:$n.get("exercisesId")})}}),Oo})}function is(){return Gi(this,null,function*(){if(ka.current=2,!fa){Zr({type:5,payload:!0});try{Fe.Z.publish("to-commit-info");const zi=yield gs();if(console.log(zi,1),zi.status===0){let Xo=function(){return Gi(this,null,function*(){const{status:Ao,data:vs}=yield(0,se.rX)(Vr,"submit"),Xs=Va()-To>(Oo*uo+3)*1e3;if(Ao!==0&&!Xs&&setTimeout(Xo,1e3),Xs){ge.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),Zr({type:5,payload:!1});return}if(Ao===0){vs.status===2&&ge.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(vs==null?void 0:vs.status)===0&&$n.get("type")==="1"&&Go(!0);const Dl=yield(0,se.zO)(Vr,{limit:15,page:Sa,language:Ii==null?void 0:Ii.language});Zr({type:8,payload:sa(Hi({},Yr),{submitResult:vs,submitting:!1,submitRecords:Dl})})}})},aa={};if($n.get("type")==="exercises"&&(aa.extras={exercise_id:$n.get("exercisesId"),question_id:$n.get("questionId")},($n.get("ip_limit")==="inner"||$n.get("ip_bind_type")==="true")&&(aa.extras.ip=yield(0,hi.y)({ip_limit:$n.get("ip_limit"),ip_bind:$n.get("ip_bind_type")==="true"}))),(yield(0,se.bM)(Vr,aa)).status===-1&&$n.get("exercisesId")){window.parent.location.href=`/classrooms/${$n.get("coursesId")}/exercise/${$n.get("exercisesId")}/detail`;return}const{time_limit:Oo,test_case_size:uo}=Ii,To=Va();Xo()}else Zr({type:5,payload:!1})}catch(zi){console.log(zi),Zr({type:5,payload:!1})}Ja(!1)}})}function li(){return Gi(this,null,function*(){ka.current=1,Yr.debuging=!0,Zr({type:4,payload:!0});try{if((yield gs()).status===0){let To=function(){return Gi(this,null,function*(){const{status:Xo,message:Ao,data:vs}=yield(0,se.rX)(Vr,"debug"),Xs=Va()-uo>(aa+3)*1e3;if(Xo!==0&&!Xs&&(Zr({type:6,payload:Ao}),setTimeout(To,1e3)),Xs){ge.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Zr({type:4,payload:!1}),Zr({type:7,payload:sa(Hi({},Yr),{debugResult:{status:2},debuging:!1})});return}Xo===0&&(vs.status===2&&ge.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Zr({type:4,payload:!1}),Zr({type:7,payload:sa(Hi({},Yr),{debugResult:vs,debuging:!1})}))})};const{time_limit:aa}=Ii;let wo={input:encodeURIComponent(Oi.test_case.input)};if($n.get("type")==="exercises"&&(wo.exercise_id=$n.get("exercisesId")),(yield(0,se.MU)(Vr,wo)).status===-1&&$n.get("exercisesId")){window.parent.location.href=`/classrooms/${$n.get("coursesId")}/exercise/${$n.get("exercisesId")}/detail`;return}const uo=Va();To()}else Zr({type:4,payload:!1})}catch(zi){console.log(zi)}finally{}})}function du(zi,aa){const wo=aa?{modify_code:!1}:{};Zr({type:3,payload:sa(Hi({},Oi),{hack:Hi(sa(Hi({},Ii),{code:zi}),wo)})}),Ja(!0)}const Do=zi=>Gi(void 0,null,function*(){let aa=yield(0,Ne.ZP)(`/api/problems/${Ii==null?void 0:Ii.identifier}/start.json`,{method:"get",params:{language:zi==="C++"||zi==="c++"?encodeURIComponent(zi):zi,hack_user_id:Xa==null?void 0:Xa.user_id}});aa.status!==-1&&Xe.history.replace(`/myproblems/${aa==null?void 0:aa.identifier}${window.location.search}`)});function hu(zi){let aa=zi.target.value;Zr({type:3,payload:sa(Hi({},Oi),{test_case:{input:aa}})})}function Rs(){return Gi(this,null,function*(){try{let zi={};$n.get("type")==="exercises"?zi.exercise_id=$n.get("exercisesId"):Ii!=null&&Ii.homework_common_id&&(zi.homework_common_id=Ii==null?void 0:Ii.homework_common_id);const aa=yield(0,se.H7)(Vr,Hi({},zi));aa.status===401||(du(Ke.Base64.decode(aa.code)),($n.get("type")==="exercises"||Ii!=null&&Ii.homework_common_id)&&Fe.Z.publish("to-reset-info"))}catch(zi){console.log(zi)}})}function _l(){ge.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:br.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",br.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return Gi(this,null,function*(){const zi=yield(0,se.fi)(Vr);zi.status===401||du(Ke.Base64.decode(zi.code),!0)})}})}function qa(){Zr({type:9,payload:!0})}function Gu(){Zr({type:9,payload:!1})}function fc(zi){return Gi(this,null,function*(){yield(0,se.MK)(Vr,zi),Zr({type:1,payload:{showNote:!1,data:sa(Hi({},Oi),{hack:sa(Hi({},Ii),{notes:zi.notes})})}})})}const gu={hack:Ii,isLoading:da,input:(Jn=Oi==null?void 0:Oi.test_case)==null?void 0:Jn.input,is_file:(Tn=Oi==null?void 0:Oi.test_case)==null?void 0:Tn.is_file,language:Ii==null?void 0:Ii.language,code:Ii==null?void 0:Ii.code,title:"main."+ia[Ii==null?void 0:Ii.language],modify_code:Ii==null?void 0:Ii.modify_code,notes:Ii==null?void 0:Ii.notes,debugResult:Wi,debuging:lo,submitting:fa,submitResult:ji,executingMessage:Ha,onCancelNote:Gu,onAddNote:fc,showNote:Oa,user:Xa,onShowNote:qa,onSubmitCode:is,onChangeCode:du,onChangeInput:hu,onDebugCode:li,onResetCode:Rs,onSyncCode:_l,onUpdateCode:gs,onChangeLanguage:Do,isWhiteTheme:ya,setIsWhiteTheme:ga,topDispatch:Zr};function Wu(){return Gi(this,null,function*(){const{praise_count:zi}=yield(0,se.vl)(Ii.id,{container_type:"Hack",type:1});let aa=sa(Hi({},Oi),{hack:sa(Hi({},Ii),{praises_count:zi,user_praise:!Ii.user_praise})});Zr({type:3,payload:aa})})}const pu={topicId:Vr,submitResult:ji,submitRecords:Ai,submitting:fa,page:Sa,onPageChange:Yo,hack:Ii,user:Oi==null?void 0:Oi.user,hack_sets:Oi==null?void 0:Oi.hack_sets,current_user:Oi==null?void 0:Oi.current_user,onTriggerPraise:Wu,setActiveIndex:za};console.log(Tr);const Ku=()=>$n.get("type")==="exercises"?!1:!!($n.get("type")==="1"&&Object.values((Ii==null?void 0:Ii.homework_extension)||{}).some(Boolean));return br.createElement(br.Fragment,null,br.createElement(Ae.Z,{spinning:pi,delay:500},Oi?br.createElement(br.Fragment,null,br.createElement("header",{className:Ni()(Qi.Z.header,ya&&Qi.Z.whiteHeader)},$n.get("type")!=="exercises"&&br.createElement("div",null,br.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${Xa==null?void 0:Xa.image_url}`,alt:"user",width:36}),br.createElement("span",{style:{color:ya?"#333":"#B2BACB",fontSize:16}},Xa==null?void 0:Xa.name)),$n.get("type")==="exercises"&&br.createElement("div",null,br.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",br.createElement("span",{className:"ml10"},(Vn=Tr==null?void 0:Tr.exercise)==null?void 0:Vn.user_name)),br.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",br.createElement("span",{className:"ml10"},(Cr=Tr==null?void 0:Tr.exercise)==null?void 0:Cr.student_id))),br.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},br.createElement("div",null,Ii.name)),(Ii==null?void 0:Ii.is_program)&&br.createElement(Qn.Z,{defaultValue:Ii==null?void 0:Ii.answer_long_time,onChange:zi=>{Zo.current=zi},className:Qi.Z.timepiece}),Xa!=null&&Xa.hack_manager?br.createElement(Xe.Link,{className:Qi.Z.btn_edit,to:$n.get("type")==="1"?$n.get("pageId")?`/problems/newedit/${Ii.identifier}?type=1&pageId=${$n.get("pageId")}&backUrl=${$n.get("backUrl")}`:`/problems/newedit/${Ii.identifier}?type=1`:`/problems/newedit/${Ii.identifier}`}," ",br.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((pr=Tr==null?void 0:Tr.exercise)==null?void 0:pr.left_time)&&br.createElement(br.Fragment,null,br.createElement("span",{style:{color:mo,marginRight:6},className:`iconfont icon-daojishi ${Qi.Z.djs}`}),br.createElement("span",{className:"c-white mr20"},br.createElement(Vi,{valueStyle:{color:mo,fontSize:20,fontWeight:500},title:br.createElement("span",{style:{color:mo,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:ei,onFinish:()=>Gi(void 0,null,function*(){const zi=yield(0,ae.VL)({categoryId:$n.get("exercisesId"),commit_method:2});if((zi==null?void 0:zi.status)===0&&(gs(),ge.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:br.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",br.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Gi(void 0,null,function*(){window.parent.location.href=`/classrooms/${$n.get("coursesId")}/exercise/${$n.get("exercisesId")}/detail`})})),(zi==null?void 0:zi.status)===-3){const aa=parseInt(zi==null?void 0:zi.message);$r(Date.now()+aa*1e3)}})}))),$n.get("type")==="exercises"?br.createElement(ue.ZP,{type:"primary",onClick:()=>{const zi=()=>Gi(void 0,null,function*(){yield gs(),Ja(!1),Po(),Ro.current=!0,hs()});if(!(Ai!=null&&Ai.records_count)||ua){ge.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:br.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:zi});return}zi()}},br.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):br.createElement("span",{onClick:()=>{var zi;if($n.get("backUrl"))Xe.history.push($n.get("backUrl"));else if($n.get("type")==="1"){let aa=(zi=localStorage.getItem("program_homework"))==null?void 0:zi.split(",");Xe.history.push(`/classrooms/${aa==null?void 0:aa[0]}/program_homework/${aa==null?void 0:aa[1]}/detail`)}else Xe.history.push("/problemset")}},br.createElement(le.Z,{title:"\u5173\u95ED"},br.createElement("i",{style:{color:ya?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),br.createElement(Ae.Z,{size:"large",spinning:da},br.createElement(re.Z,{className:Ni()(Qi.Z.myProblems,ya&&Qi.Z.whiteMyProblems),leftChild:br.createElement(xi,Hi({},pu)),rightChild:br.createElement(zo,Hi({},gu))}))):null,br.createElement(ge.default,{centered:!0,closable:!1,width:680,footer:null,open:ao,className:"oj-modal"},br.createElement("section",{className:"oj-modal-content"},br.createElement("div",{className:"oj-modal-head"},br.createElement("img",{src:ta,alt:""}),br.createElement("i",{onClick:()=>Go(!1),className:"iconfont icon-guanbi1"})),br.createElement("aside",null,br.createElement("img",{className:"mr30",src:Qa.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",br.createElement("span",{style:{color:"#75d6ba",marginRight:100}},ji==null?void 0:ji.execute_time,"ms"),"\u4F18\u4E8E",br.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(ji==null?void 0:ji.time_better_than)||100,"%"),"\u7684\u7528\u6237"),br.createElement("aside",{className:"mb50"},br.createElement("img",{src:Fi.Z,className:"mr30"}),br.createElement("span",{className:"oj-modal-tt"},br.createElement("span",null,br.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),br.createElement("span",{className:"c-light-primary"},ji==null?void 0:ji.execute_memory,"kb")),br.createElement("span",null,br.createElement("span",null))),"\u4F18\u4E8E",br.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(ji==null?void 0:ji.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),br.createElement("div",{id:"oj-modal-next",onClick:()=>Gi(void 0,null,function*(){var zi;if(ji!=null&&ji.next_identifier){let aa=yield(0,Ne.ZP)(`/api/problems/${ji==null?void 0:ji.next_identifier}/start.json`,{method:"get",params:{hack_user_id:Xa==null?void 0:Xa.user_id}});aa&&(Xe.history.replace(`/myproblems/${aa==null?void 0:aa.identifier}${window.location.search}`),window.location.reload())}else{let aa=(zi=localStorage.getItem("program_homework"))==null?void 0:zi.split(",");Xe.history.push(`/classrooms/${aa==null?void 0:aa[0]}/program_homework/${aa==null?void 0:aa[1]}/detail`)}}),className:"oj-modal-btn"},ji!=null&&ji.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"))),Ku()&&br.createElement(Pa.Z,{showData:Ii==null?void 0:Ii.homework_extension,description:Ii==null?void 0:Ii.description,code:Ii.code,sendParams:{source:"hack"}})),br.createElement(kr.Z,{successCb:()=>{ka.current===1?li():is()}}))};function po({title:fn,modify_code:Jn,onSyncCode:Tn,onShowCodeSetting:Vn,onResetCode:Cr,hack:pr,onChangeLanguage:Yr,isWhiteTheme:Zr}){var Vr;const qr=()=>{ge.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:br.createElement(z.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:Cr})},[$n]=(0,Xe.useSearchParams)(),pi=$n.get("language"),Oi=Wi=>Wi==="1"?"c++":Wi==="2"?"C++":Wi;return(0,ve.useEffect)(()=>{pi&&Yr(Oi(pi))},[]),(0,ve.useEffect)(()=>{pr!=null&&pr.tpm_code_modified&&ge.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:br.createElement(z.Z,null),content:br.createElement("div",null,br.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),br.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),br.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:()=>Cr()})},[pr==null?void 0:pr.language]),console.log(pr,Zr,"hack"),br.createElement("div",{className:`${Qi.Z.codeHead} ${Zr?Qi.Z.whiteCodeHead:""}`},br.createElement("div",{className:Qi.Z.navWrap},(Vr=pr==null?void 0:pr.all_language)==null?void 0:Vr.map(Wi=>br.createElement("div",{className:`${Qi.Z.nav} ${Wi===(pr==null?void 0:pr.language)?Qi.Z.active:""}`,key:Wi,onClick:()=>Yr(Wi)},br.createElement(le.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},br.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),br.createElement("span",null,Wi)))),br.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Jn?br.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Tn},br.createElement("img",{src:Te,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,br.createElement("a",{onClick:qr},br.createElement(le.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},br.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),br.createElement("a",{onClick:Vn},br.createElement(le.Z,{title:"\u8BBE\u7F6E"},br.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function zo(fn){var Jn=fn,{input:Tn,is_file:Vn,showNote:Cr,onShowNote:pr,notes:Yr,onCancelNote:Zr,onAddNote:Vr,debugResult:qr,language:$n,debuging:pi,submitting:Oi,executingMessage:Wi,code:ji,onSubmitCode:Ai,onDebugCode:Sa,onChangeCode:Oa,onChangeInput:lo,onUpdateCode:fa,user:Ha,isLoading:mo,submitResult:or}=Jn,ei=$i(Jn,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function $r(ea){return br.createElement(po,sa(Hi({},ei),{onShowCodeSetting:ea}))}const Tr=Hi({input:Tn,is_file:Vn,debugResult:qr,debuging:pi,submitting:Oi,executingMessage:Wi,onDebugCode:Sa,onChangeCode:Oa,onSubmitCode:Ai,onChangeInput:lo,user:Ha,submitResult:or},ei);return br.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},br.createElement(xe,{setIsWhiteTheme:ei==null?void 0:ei.setIsWhiteTheme,isLoading:mo,language:$n,value:ji,onChange:Oa,onUpdateCode:fa,ActionBarRender:$r}),br.createElement(Ye.ZP,Hi({},Tr)))}},76826:function(nn,Ht,be){"use strict";be.d(Ht,{h:function(){return ve}});var ve=(Xe=>(Xe[Xe.NOMATCH=-1]="NOMATCH",Xe[Xe.OK=0]="OK",Xe[Xe.TIMEOUT=2]="TIMEOUT",Xe[Xe.PODFAILURE=3]="PODFAILURE",Xe[Xe.COMPILEFAILURE=4]="COMPILEFAILURE",Xe[Xe.EXECUTEFAILURE=5]="EXECUTEFAILURE",Xe[Xe.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Xe))(ve||{})},5247:function(nn,Ht,be){"use strict";be.d(Ht,{H7:function(){return a},MK:function(){return z},MU:function(){return ae},X6:function(){return re},bM:function(){return se},fi:function(){return y},fu:function(){return ie},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return oe}});var ve=be(7660),Xe=Object.defineProperty,E=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(te,ee,ce)=>ee in te?Xe(te,ee,{enumerable:!0,configurable:!0,writable:!0,value:ce}):te[ee]=ce,le=(te,ee)=>{for(var ce in ee||(ee={}))ge.call(ee,ce)&&ue(te,ce,ee[ce]);if(E)for(var ce of E(ee))Ae.call(ee,ce)&&ue(te,ce,ee[ce]);return te};function ie(te,ee){return(0,ve.U2)(`myproblems/${te}.json`,le({hidePopLogin:!0},ee||{}))}function se(te,ee){return(0,ve.v_)(`myproblems/${te}/code_submit.json`,ee)}function ae(te,ee){return(0,ve.v_)(`myproblems/${te}/code_debug.json`,ee)}function oe(te,ee){return ee.language&&(ee.language=encodeURIComponent(ee.language)),(0,ve.U2)(`myproblems/${te}/submit_records.json`,ee)}function re(te){return(0,ve.U2)("myproblems/record_detail.json",{id:te})}function ne(te,ee){return(0,ve.U2)(`myproblems/${te}/result.json`,{mode:ee})}function z(te,ee){return(0,ve.v_)(`myproblems/${te}/add_notes.json`,ee)}function a(te,ee){return(0,ve.v_)(`myproblems/${te}/restore_initial_code.json`,ee)}function y(te){return(0,ve.v_)(`myproblems/${te}/sync_code.json`)}function x(te,ee){return(0,ve.v_)(`myproblems/${te}/update_code.json`,ee)}function b(te,ee){return(0,ve.v_)(`discusses/${te}/plus.json`,ee)}},70037:function(nn,Ht,be){"use strict";be.d(Ht,{Im:function(){return me},ZP:function(){return xe},gZ:function(){return we}});var ve=be(59301),Xe=be(92832),E=be(3113),ge=be(84105),Ae=be(87395),ue=be(86723),le=be(24334),ie=be(7651),se=be(99325),ae=be(88230),oe=be(75618),re=be(34376),ne=be(92310),z=be.n(ne),a=be(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,fe=(Te,Ke,Ye)=>Ke in Te?y(Te,Ke,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Te[Ke]=Ye,he=(Te,Ke)=>{for(var Ye in Ke||(Ke={}))ee.call(Ke,Ye)&&fe(Te,Ye,Ke[Ye]);if(te)for(var Ye of te(Ke))ce.call(Ke,Ye)&&fe(Te,Ye,Ke[Ye]);return Te},de=(Te,Ke)=>x(Te,b(Ke));const{TextArea:pe}=Xe.default,ye={visible:!1,tabIndex:"0"},me={[ue.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[ue.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[ue.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 Ee=(Te=>(Te[Te.SET_VISIBLE=0]="SET_VISIBLE",Te[Te.SET_TABINDEX=1]="SET_TABINDEX",Te))(Ee||{});function Be(Te,Ke){switch(Ke.type){case 0:return de(he({},Te),{visible:Ke.payload});case 1:return de(he({},Te),{tabIndex:Ke.payload});default:throw new Error}}function je({value:Te,className:Ke}){const[Ye,Me]=(0,ve.useState)(!1),tt=(0,ve.useRef)(),qe=(0,ve.useRef)();return(0,ve.useEffect)(()=>{Ye&&(qe.current.reset(),qe.current.write((0,ae.pp)(Te||"")))},[Te,Ye]),(0,ve.useEffect)(()=>{var st,ct,lt,at;if(tt.current){qe.current=new re.Terminal({fontSize:14,disableStdin:!0}),qe.current.open(tt.current);const ut=tt.current.offsetWidth-14,At=((at=(lt=(ct=(st=qe.current)==null?void 0:st._core)==null?void 0:ct._renderService)==null?void 0:lt.dimensions)==null?void 0:at.actualCellWidth)||9.5,bt=Math.ceil(ut/At);qe.current.resize(bt,8),Me(!0)}},[]),a.createElement("div",{ref:tt,className:z()("XtermText-valueRef",Ke)})}function we(Te){const{status:Ke,error_msg:Ye,output:Me,input:tt,expected_output:qe,is_file:st,input_file_url:ct,output_file_url:lt,expected_output_file_url:at}=Te;let ut=null;const At={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Ke){case ue.h.NOMATCH:ut=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!st&&a.createElement(je,{className:"mb10",value:tt}),st&&a.createElement("div",{style:At},a.createElement("a",{onClick:()=>(0,ae.LR)(ct,tt)},tt)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!st&&a.createElement(je,{className:"mb10",value:Me&&le.Base64.decode(Me)||""}),st&&a.createElement("div",{style:At},a.createElement("a",{onClick:()=>(0,ae.LR)(lt,Me)},Me)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!st&&a.createElement(je,{className:"mb10",value:qe&&le.Base64.decode(qe)||""}),st&&a.createElement("div",{style:At},a.createElement("a",{onClick:()=>(0,ae.LR)(at,qe)},qe)));break;case ue.h.EXECUTEFAILURE:ut=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!st&&a.createElement(se.Z,{value:tt,style:At}),st&&a.createElement("div",{style:At},a.createElement("a",{onClick:()=>(0,ae.LR)(ct,tt)},tt)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},le.Base64.decode(Ye)));break;case ue.h.COMPILEFAILURE:ut=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!st&&a.createElement(se.Z,{value:tt,style:At}),st&&a.createElement("div",{style:At},a.createElement("a",{onClick:()=>(0,ae.LR)(ct,tt)},tt)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},le.Base64.decode(Ye)));break;case ue.h.PODFAILURE:ut=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ue.h.TIMEOUT:ut=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",ut," ")}function De(Te){const{status:Ke,error_msg:Ye,execute_time:Me,output:tt,input:qe,expected_output:st,is_file:ct,input_file_url:lt,output_file_url:at,expected_output_file_url:ut}=Te;let At=null;switch(Ke){case ue.h.OK:At=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Me,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,le.Base64.decode(tt)));break;case ue.h.NOMATCH:At=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,qe)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",tt&&le.Base64.decode(tt)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",st&&le.Base64.decode(st)));break;case ue.h.EXECUTEFAILURE:At=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},le.Base64.decode(Ye)));break;case ue.h.COMPILEFAILURE:At=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,qe)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},le.Base64.decode(Ye)));break;case ue.h.PODFAILURE:At=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ue.h.TIMEOUT:At=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",At," ")}var xe=({id:Te,is_file:Ke,input:Ye,debuging:Me,submitting:tt,executingMessage:qe,debugResult:st,onChangeInput:ct,onDebugCode:lt,onSubmitCode:at})=>{const[ut,At]=(0,ve.useReducer)(Be,ye),{visible:bt,tabIndex:It}=ut;(0,ve.useEffect)(()=>{At({type:0,payload:!1})},[Te]);function ht(ke){let Ve=ke.target.id;At({type:1,payload:Ve})}function dt(){At({type:0,payload:!bt})}const $e=(0,ve.useMemo)(()=>{if(st){const{status:ke}=st;return a.createElement(a.Fragment,null,De(st))}return null},[st]);function Pe(){At({type:0,payload:!0}),At({type:1,payload:"1"}),lt()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${bt?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(oe.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(pe,{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:Ke?"":Ye,onChange:ct}),rightNode:Me?a.createElement(ie.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):st?$e: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 ${bt?"up":""}`,onClick:dt},bt?a.createElement(ge.Z,null):a.createElement(Ae.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:Me,onClick:Pe},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:tt,disabled:tt,onClick:()=>{At({type:0,payload:!1}),at()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},86723:function(nn,Ht,be){"use strict";be.d(Ht,{h:function(){return ve}});var ve=(Xe=>(Xe[Xe.NOMATCH=-1]="NOMATCH",Xe[Xe.OK=0]="OK",Xe[Xe.TIMEOUT=2]="TIMEOUT",Xe[Xe.PODFAILURE=3]="PODFAILURE",Xe[Xe.COMPILEFAILURE=4]="COMPILEFAILURE",Xe[Xe.EXECUTEFAILURE=5]="EXECUTEFAILURE",Xe[Xe.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",Xe))(ve||{})},24833:function(nn,Ht,be){"use strict";be.d(Ht,{Y2:function(){return Te},ZP:function(){return Ke}});var ve=be(59301),Xe=be(54580),E=be(8591),ge=be(43418),Ae=be(95237),ue=be(5112),le=be(3113),ie=be(24905),se=be(6848),ae=be(92832),oe={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+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJC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v8a+nFMGMaqxnvILiPXktqa1Cl8DJYIY20pNTlePBYhVl5gJSjxQEkMMkHWTeECsG6v1LDT2HGwZcRLEjudj/HUkPd7XiASI1VCVMe8rIDgHKwIxQOY+G4GYe4sVLTARYNMKkiuxGWL8hSRFWVA8FCBWXFIGXFVAeJB/PUYWxACZ66QEYq7tVbK4TIBlV2InGajIlCRE2TCAWFk9Ge2mhBrf9/++Hv4IcsYnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ne=be(47257),z=be.n(ne),a=be(49894),y=be(7660),x=be(1012),b=be(88230),te=be(90853),ee=be(59301),ce=Object.defineProperty,fe=Object.defineProperties,he=Object.getOwnPropertyDescriptors,de=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,ye=Object.prototype.propertyIsEnumerable,me=(Ye,Me,tt)=>Me in Ye?ce(Ye,Me,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Ye[Me]=tt,Ee=(Ye,Me)=>{for(var tt in Me||(Me={}))pe.call(Me,tt)&&me(Ye,tt,Me[tt]);if(de)for(var tt of de(Me))ye.call(Me,tt)&&me(Ye,tt,Me[tt]);return Ye},Be=(Ye,Me)=>fe(Ye,he(Me)),je=(Ye,Me,tt)=>new Promise((qe,st)=>{var ct=ut=>{try{at(tt.next(ut))}catch(At){st(At)}},lt=ut=>{try{at(tt.throw(ut))}catch(At){st(At)}},at=ut=>ut.done?qe(ut.value):Promise.resolve(ut.value).then(ct,lt);at((tt=tt.apply(Ye,Me)).next())});const{Dragger:we}=Xe.default,De=Ye=>{const Me=At=>At&&At.substring(0,At.lastIndexOf("."));for(var tt=[...Ye],qe=0,st=[],ct=0;ct{if(At.forEach(bt=>{let It=bt.name.split(/\.(?=[^\.]+$)/);bt.name=`${It[0]}.${It[1].toLowerCase()}`}),At[0].name.includes(".in"))return At.length===2?At:[At[0],{}];if(At[0].name.includes(".out"))return At.length===2?At.reverse():[{},At[0]]})},xe=({onClose:Ye,onOK:Me,visible:tt,wrapClassName:qe,rootIdentifier:st,multiple:ct=!1,defaultMultipleValue:lt=!0})=>{const[at,ut]=(0,ve.useState)([]),[At,bt]=(0,ve.useState)({}),[It,ht]=(0,ve.useState)(!1),[dt,$e]=(0,ve.useState)(!0),Pe=(0,ve.useRef)([]),ke=(0,ve.useRef)(0),Ve=()=>{Ye()};(0,ve.useEffect)(()=>{Qe()},[]),(0,ve.useEffect)(()=>{tt&&(Pe.current=[],ke.current=0,ut([]),$e(lt))},[tt]);const Qe=()=>je(void 0,null,function*(){try{const St=yield(0,y.ZP)("/api/buckets/get_upload_token_for_big_files",{method:"get"}),wt=JSON.parse((0,a.pe)(St.data));bt(wt)}catch(St){}}),_e=St=>St&&St.substring(0,St.lastIndexOf(".")),Ze=St=>{var wt,Bt;const Nt=_e((wt=St[0])==null?void 0:wt.name)||_e((Bt=St[1])==null?void 0:Bt.name),pt=at.filter(Ft=>_e(Ft.name)!==Nt);Pe.current=[...pt],ut([...pt])},Ue=St=>{if(!dt){const Lt=new FormData;Lt.append("file",St.file),(0,y.ZP)("/api/attachments/get_file_content.json",{method:"post",body:Lt},!0).then(Vt=>{if(Vt.status===0){ke.current=ke.current+1;const en=Pe.current.map(cn=>{var pn;if(cn.name===St.name){const xn=Ee({},cn);return(pn=St==null?void 0:St.name)!=null&&pn.includes(".in")?xn.input=Vt==null?void 0:Vt.content:xn.output=Vt==null?void 0:Vt.content,xn}return cn});if(Pe.current=[...en],ut([...en]),ke.current>0&&ke.current===at.length){ht(!1);let cn=De(en);cn=cn.filter(pn=>{var xn,ur;return!!((xn=pn[0])!=null&&xn.name&&((ur=pn[1])!=null&&ur.name))}),cn=cn.map(pn=>Be(Ee(Ee({},pn[0]),pn[1]),{is_file:!1})),Me(cn),Ye()}}else ht(!1),Ye()});return}const wt=new(z())({endpoint:At.end_point,region:At.region,accessKeyId:At.access_key_id,accessKeySecret:At.access_key_secret,bucket:At.bucket,stsToken:At.security_token}),Bt=St.name,Nt={container_type:"TestSet",file_name:Bt},pt=(0,x.Z)();let Ft=`testsets/${st}/${pt}${Bt.indexOf(".")>-1?"."+Bt.split(".").pop():""}`;st===null&&(Ft=`testsets/${pt}${Bt.indexOf(".")>-1?"."+Bt.split(".").pop():""}`),wt.multipartUpload(Ft,new Blob([St.file],{type:St.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:Bt+""},url:At==null?void 0:At.callback_url,host:At==null?void 0:At.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,y.rz)(Nt)}}).then(function(Lt){if(Lt.data.status===0){ke.current=ke.current+1;const $t=Pe.current.map(Vt=>{var en,cn,pn,xn,ur,Dr,Nn,jn,dn,Ln,er,Ur,Sr,Or,Mr,Nr,Jr;if(Vt.name===((cn=(en=Lt.data)==null?void 0:en.data)==null?void 0:cn.file_name)){const Gn=Ee({},Vt);return(ur=(xn=(pn=Lt.data)==null?void 0:pn.data)==null?void 0:xn.file_name)!=null&&ur.includes(".in")?(Gn.in_object_key=(Nn=(Dr=Lt.data)==null?void 0:Dr.data)==null?void 0:Nn.object,Gn.in_object_size=(dn=(jn=Lt.data)==null?void 0:jn.data)==null?void 0:dn.size,Gn.input=(er=(Ln=Lt.data)==null?void 0:Ln.data)==null?void 0:er.file_name,Gn.in_file=St):(Gn.out_object_key=(Sr=(Ur=Lt.data)==null?void 0:Ur.data)==null?void 0:Sr.object,Gn.out_object_size=(Mr=(Or=Lt.data)==null?void 0:Or.data)==null?void 0:Mr.size,Gn.output=(Jr=(Nr=Lt.data)==null?void 0:Nr.data)==null?void 0:Jr.file_name,Gn.out_file=St),Gn}return Vt});if(Pe.current=[...$t],ut([...$t]),ke.current>0&&ke.current===at.length){ht(!1);let Vt=De($t);Vt=Vt.filter(en=>{var cn,pn;return!!((cn=en[0])!=null&&cn.name&&((pn=en[1])!=null&&pn.name))}),Vt=Vt.map(en=>Be(Ee(Ee({},en[0]),en[1]),{is_file:!0})),Me(Vt),Ye()}}})},Fe=St=>new Promise((wt,Bt)=>{let Nt=0,pt=[];for(let Ft=0;Ft{Nt++,Nt===St.length&&(pt.length?(E.ZP.warning(`${pt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),Bt()):wt(St))}).catch(Lt=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",Lt),Nt++,pt.push(St[Ft].name),Nt===St.length&&(pt.length?(E.ZP.warning(`${pt.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),Bt()):wt(St))})}),Ne=()=>je(void 0,null,function*(){if(at.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Fe(at),ht(!0),De(at).some(wt=>{var Bt,Nt;return!((Bt=wt[0])!=null&&Bt.name&&((Nt=wt[1])!=null&&Nt.name))})){ge.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:()=>je(void 0,null,function*(){at.map(wt=>je(void 0,null,function*(){Ue(wt)}))}),onCancel:()=>{ht(!1)}});return}at.map(wt=>je(void 0,null,function*(){Ue(wt)}))}),nt={name:"file",fileList:at,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:St=>{if(at!=null&&at.some(Bt=>Bt.name===St.name))return E.ZP.info(`${St.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(St.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(St.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 wt={name:St.name,uid:St.uid,file:St,percent:0};return at.push(wt),Pe.current=[...at],ut([...at]),!1}},gt=De(at);return console.log(at,gt,"fileList"),ee.createElement(ge.default,{open:tt,wrapClassName:qe,onOk:Ne,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:It},onCancel:Ve,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},ee.createElement("div",{className:oe.wrap},at.length?ee.createElement("div",null,ee.createElement(Ae.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},ee.createElement("div",{style:{visibility:ct?"visible":"hidden"}},ee.createElement("span",{className:oe.greyText},"\u7528\u4F8B\u7C7B\u578B"),ee.createElement(ue.ZP.Group,{className:`ml20 ${oe.testCaseRadio}`,optionType:"button",value:dt,onChange:St=>$e(St.target.value)},ee.createElement(ue.ZP,{value:!1},"\u6587\u672C"),ee.createElement(ue.ZP,{value:!0},"\u6587\u4EF6"))),ee.createElement(Xe.default,Ee({},nt),ee.createElement(le.ZP,{type:"primary",className:oe.btnS},ee.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),ee.createElement(Te,{data:gt,onRemove:Ze})):ee.createElement("div",{className:`${oe.noData} mb30`},ee.createElement(Xe.default.Dragger,Be(Ee({},nt),{className:oe.dragger}),ee.createElement("img",{src:re,alt:"",className:"mb20"}),ee.createElement("div",null,ee.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),ee.createElement("span",{className:oe.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),ee.createElement("div",{className:oe.text},ee.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),ee.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",ee.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",ee.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",ee.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",ee.createElement("br",null))))},Te=({data:Ye=[],onRemove:Me,width:tt="auto",showScore:qe=!1,disabled:st=!1,inputChange:ct,onEvaluatingChange:lt,onSelectAll:at,checkAll1:ut,checkAll2:At,checkAll3:bt,checkAll4:It,checkAll5:ht,showEvaluatingSetting:dt=!1,className:$e="",isProgramHomework:Pe=!1})=>{const ke={value:"",filename:"",dataUrl:""},[Ve,Qe]=(0,ve.useState)(Ee({},ke)),_e=Fe=>{let Ne=document.createElement("a");document.body.appendChild(Ne);let nt=URL.createObjectURL(Fe.file);Ne.href=nt,Ne.download=Fe.name,Ne.click(),URL.revokeObjectURL(nt),document.body.removeChild(Ne)},Ze=(Fe,Ne)=>{(0,b.LR)(Fe,Ne)},Ue=(Fe,Ne)=>{ge.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:ee.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Me(Fe,Ne)},onCancel:()=>{}})};return Ye.length?ee.createElement("div",{className:$e,style:{width:tt}},ee.createElement("div",{className:`${Pe?oe.headProgram:oe.head}`},dt&&ee.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},ee.createElement(ie.default,{checked:ut,onChange:Fe=>{at(Fe.target.checked,"hidden")}}),ee.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'},ee.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ee.createElement("div",{style:{width:Pe?"25%":"15%"}},"\u7528\u4F8B"),ee.createElement("div",{style:{width:qe?Pe?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),ee.createElement("div",{style:{width:qe?Pe?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),qe&&ee.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),dt&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ie.default,{checked:It,onChange:Fe=>{at(Fe.target.checked,"input_visible")}}),ee.createElement(se.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),dt&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ie.default,{checked:At,onChange:Fe=>{at(Fe.target.checked,"is_invisible")}}),ee.createElement(se.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),dt&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ie.default,{checked:ht,onChange:Fe=>{at(Fe.target.checked,"actual_output_visible")}}),ee.createElement(se.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),dt&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ie.default,{checked:bt,onChange:Fe=>{at(Fe.target.checked,"last_match_rule")}}),ee.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"},ee.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),ee.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),ee.createElement("div",{className:oe.operation,style:Pe?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),ee.createElement("div",{className:oe.listWrapper,style:{boxShadow:Pe?"0px 2px 4px 0px #EAEEF4":"unset"}},Ye.map((Fe,Ne)=>{var nt,gt,St,wt;return ee.createElement("div",{key:Ne,className:oe.list,style:Pe?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},dt&&ee.createElement("div",{style:{width:"15%"}},ee.createElement(ie.default,{checked:!!Fe.hidden,onChange:Bt=>{lt(Bt.target.checked,Ne,"hidden")}})),ee.createElement("div",{style:{width:Pe?"25%":"15%",paddingLeft:Pe?"5px":"0px",paddingRight:Pe?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",Ne+1),ee.createElement("div",{className:oe.info,style:{width:qe?Pe?"20%":"15%":"25%"}},ee.createElement("span",{title:Fe.input||((nt=Fe[0])==null?void 0:nt.name),onClick:()=>je(void 0,null,function*(){let Bt;Fe.input?Fe.input_file_url?Bt=Fe.input_file_url:Bt=Fe.in_file:Bt=Fe[0];let Nt;typeof Bt=="string"?(Nt=yield fetch(Bt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Qe({value:yield Nt.text(),filename:"",dataUrl:Bt})):(Nt=yield(0,b.db)(Bt.file),Qe({value:Nt.text,filename:Bt.name,dataUrl:Nt.link}))})},Fe.input||((gt=Fe[0])==null?void 0:gt.name))),ee.createElement("div",{className:oe.info,style:{width:qe?Pe?"20%":"15%":"25%"}},ee.createElement("span",{title:Fe.output||((St=Fe[1])==null?void 0:St.name),onClick:()=>je(void 0,null,function*(){let Bt;Fe.input?Fe.output_file_url?Bt=Fe.output_file_url:Bt=Fe.out_file:Bt=Fe[1];let Nt;typeof Bt=="string"?(Nt=yield fetch(Bt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Qe({value:yield Nt.text(),filename:"",dataUrl:Bt})):(Nt=yield(0,b.db)(Bt.file),Qe({value:Nt.text,filename:Bt.name,dataUrl:Nt.link}))})},Fe.output||((wt=Fe[1])==null?void 0:wt.name))),qe&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ae.default,{size:"large",addonAfter:Pe?"%":null,disabled:st,style:{width:"80%"},onChange:Bt=>ct(Bt,Ne),value:Fe.score}),!Pe&&ee.createElement("span",null,"\xA0%")),dt&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ie.default,{checked:Fe.input_visible||!1,onChange:Bt=>{lt(Bt.target.checked,Ne,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),dt&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ie.default,{checked:Fe.is_invisible||!1,onChange:Bt=>{lt(Bt.target.checked,Ne,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),dt&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ie.default,{checked:Fe.actual_output_visible||!1,onChange:Bt=>{lt(Bt.target.checked,Ne,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),dt&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ie.default,{checked:Fe.last_match_rule||!1,onChange:Bt=>{lt(Bt.target.checked,Ne,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),ee.createElement("div",{onClick:()=>Ue(Fe,Ne),style:Pe?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},ee.createElement("span",{className:oe.del},"\u5220\u9664")))})),ee.createElement(te.Z,{close:!0,data:Ve.dataUrl,filename:Ve.filename,type:Ve.dataUrl.length?"txt":"",onClose:()=>Qe(Ee({},ke)),monacoEditor:{value:Ve.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):ee.createElement(ee.Fragment,null)};var Ke=xe},52649:function(nn,Ht,be){"use strict";be.d(Ht,{Z:function(){return ne}});var ve=be(59301),Xe=be(8591),E=be(6848),ge=be(71418),Ae=be(95237),ue=be(43604),le=be(58421),ie=be(3113),se=be(64726),ae=be(7660),oe=be(99325),re=(a,y,x)=>new Promise((b,te)=>{var ee=he=>{try{fe(x.next(he))}catch(de){te(de)}},ce=he=>{try{fe(x.throw(he))}catch(de){te(de)}},fe=he=>he.done?b(he.value):Promise.resolve(he.value).then(ee,ce);fe((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[te,ee]=(0,ve.useState)(""),[ce,fe]=(0,ve.useState)(!1);function he(pe){ee(pe)}function de(){if(!te){Xe.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,te),ee("")}return(0,ve.useEffect)(()=>{y!=a&&fe(!1)},[y]),ve.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},ve.createElement(se.Z,{miniToolbar:!0,startInit:y===a,defaultValue:te,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:he,extraUse:b&&ve.createElement(E.Z,{color:"#fff",open:ce,destroyTooltipOnHide:!0,title:z({id:a,isOpen:ce,activeDiscussIndex:y,onChange:he,setIsOpen:fe}),overlayStyle:{maxWidth:600}},ve.createElement("a",{title:ce?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>fe(!ce)},ve.createElement("i",{className:"iconfont icon-dianzan11"})))}),ve.createElement("a",{onClick:de,className:"btn-send"},"\u53D1\u9001"))};const z=a=>{const[y,x]=(0,ve.useState)(!1),[b,te]=(0,ve.useState)([]),[ee,ce]=(0,ve.useState)(1);(0,ve.useEffect)(()=>{a!=null&&a.isOpen?fe():(ce(1),te([]))},[a==null?void 0:a.isOpen]);const fe=()=>re(void 0,null,function*(){x(!0);const he=yield(0,ae.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(he==null?void 0:he.status)==0&&te(he==null?void 0:he.answer),x(!1)});return ve.createElement(ge.Z,{spinning:y},ve.createElement("div",{style:{color:"#000"}},ve.createElement(oe.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[ee-1])||""}),ve.createElement(Ae.Z,{justify:"end",align:"middle"},ve.createElement(ue.Z,null,ve.createElement(le.Z,{simple:!0,current:ee,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:he=>{ce(he)}})),ve.createElement(ue.Z,null,ve.createElement(ie.ZP,{onClick:()=>re(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[ee-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},3404:function(nn,Ht,be){"use strict";be.d(Ht,{CP:function(){return E},_V:function(){return ue}});var ve=be(28209),Xe=be.n(ve);const E={secret:ve.enc.Utf8.parse("0a18e199b87f1a8d"),iv:ve.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=="},ge={exam:E};function Ae(le="",ie="exam"){const{secret:se,iv:ae}=ge[ie];return AES.encrypt(le,se,{iv:ae,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function ue(le="",ie="exam"){const{secret:se,iv:ae}=ge[ie];return ve.AES.decrypt(le,se,{iv:ae,mode:Xe().mode.CBC,padding:Xe().pad.Pkcs7}).toString(ve.enc.Utf8)}},63529:function(nn,Ht,be){"use strict";be.d(Ht,{AD:function(){return De},D9:function(){return tt},Hp:function(){return he},IM:function(){return st},Iy:function(){return pe},KM:function(){return $e},MJ:function(){return de},Ne:function(){return qe},ON:function(){return At},Uj:function(){return ht},VY:function(){return at},YO:function(){return It},YX:function(){return bt},Zn:function(){return a},_g:function(){return ee},_k:function(){return Ye},c6:function(){return je},cr:function(){return y},eV:function(){return we},fi:function(){return x},gh:function(){return Ee},hS:function(){return ct},iA:function(){return b},j6:function(){return ce},je:function(){return Ke},jj:function(){return fe},kS:function(){return ut},o6:function(){return Be},pO:function(){return dt},rQ:function(){return xe},sA:function(){return me},xm:function(){return Me},xo:function(){return lt},y8:function(){return Te},yd:function(){return te}});var ve=be(94811),Xe=be(24459),E=be(88230),ge=be(8591),Ae=be(38446),ue=Object.defineProperty,le=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ae=(Pe,ke,Ve)=>ke in Pe?ue(Pe,ke,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):Pe[ke]=Ve,oe=(Pe,ke)=>{for(var Ve in ke||(ke={}))ie.call(ke,Ve)&&ae(Pe,Ve,ke[Ve]);if(le)for(var Ve of le(ke))se.call(ke,Ve)&&ae(Pe,Ve,ke[Ve]);return Pe},re=(Pe,ke,Ve)=>new Promise((Qe,_e)=>{var Ze=Ne=>{try{Fe(Ve.next(Ne))}catch(nt){_e(nt)}},Ue=Ne=>{try{Fe(Ve.throw(Ne))}catch(nt){_e(nt)}},Fe=Ne=>Ne.done?Qe(Ne.value):Promise.resolve(Ne.value).then(Ze,Ue);Fe((Ve=Ve.apply(Pe,ke)).next())});const ne=()=>{(0,Xe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},z=()=>{(0,Xe.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},a=Pe=>re(void 0,null,function*(){ne(),(yield(0,ve.YR)(oe({},Pe))).status===0&&(yield(0,E.QH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/courses/${Pe.coursesId}/export_couser_info.json`,query:Pe}))),z()}),y=Pe=>re(void 0,null,function*(){const ke=yield(0,ve.yS)(oe({},Pe));if(ke.status===0)ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_member_act_score`);else{if(ke.status===-2)return ke;ke.status===-3&&((0,Xe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_member_act_score`))}}),x=Pe=>re(void 0,null,function*(){const ke=yield(0,ve.W0)(oe({},Pe));if(ke.status===0)ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_score`);else{if(ke.status===-4)return ke;ke.status===-3&&((0,Xe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_score`))}}),b=Pe=>re(void 0,null,function*(){const ke=yield(0,ve.Nl)(oe({},Pe));if(ke.status===0)ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(ke.status===-4)return ke;ke.status===-3&&((0,Xe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_exercise_and_other`))}}),te=Pe=>re(void 0,null,function*(){const ke=yield(0,ve.IU)(oe({},Pe));if(ke.status===0)ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/export_star_user`);else{if(ke.status===-4)return ke;ke.status===-3&&((0,Xe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/export_star_user`))}}),ee=Pe=>re(void 0,null,function*(){const ke=yield(0,ve.td)(oe({},Pe));if(ke.status===0)ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_exercise_and_other`);else{if(ke.status===-2)return ke;if(ke.status===-3)(0,Xe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_exercise_and_other`);else if(ke.status===-4)return ke}}),ce=Pe=>re(void 0,null,function*(){const ke=yield(0,ve.QX)(oe({},Pe));if(ke.status===0)ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_homework`);else{if(ke.status===-4)return ke;ke.status===-3&&((0,Xe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/course_total_homework`))}}),fe=(Pe,ke)=>re(void 0,null,function*(){const Ve=yield(0,ve.o_)(oe({},Pe));Ve.status===0?(ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`)):Ve.status===-3&&((0,Xe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`))}),he=(Pe,ke)=>re(void 0,null,function*(){const Ve=yield(0,ve.ZL)(oe({},Pe));Ve.status===0?(ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`)):Ve.status===-3&&((0,Xe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`))}),de=(Pe,ke)=>re(void 0,null,function*(){const Ve=yield(0,ve.vV)(oe({},Pe));Ve.status===0?(ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`)):Ve.status===-3&&((0,Xe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`))}),pe=(Pe,ke)=>re(void 0,null,function*(){const Ve=yield(0,ve.aP)(oe({},Pe));Ve.status===0?(ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`)):Ve.status===-3&&((0,Xe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/${ke}`))}),ye=Pe=>re(void 0,null,function*(){ne(),(yield exportCourseWorkListAppendix(oe({},Pe))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${Pe.categoryId}/works_list.zip`,query:Pe}))),z()}),me=Pe=>re(void 0,null,function*(){ne(),yield(0,E.QH)("",Ae.Z.API_SERVER+`/api/polls/${Pe.categoryId}/commit_result.xlsx`),z()}),Ee=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/courses/${Pe.coursesId}/attendances/export_xlsx_data.xlsx`,query:Pe}))}),Be=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/courses/${Pe.coursesId}/video_study_statics.xlsx`,query:Pe}))}),je=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/courses/${Pe.coursesId}/export_video_study.xlsx`,query:Pe}))}),we=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/courses/${Pe.coursesId}/export_course_students_info.xlsx`,query:Pe}))}),De=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/school_manages/students.xlsx",query:Pe}))}),xe=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/item_banks/export.xlsx",query:Pe}))}),Te=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:Pe}))}),Ke=Pe=>re(void 0,null,function*(){const ke=yield(0,ve.Uy)(oe({},Pe));ke.status===0?(ge.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/exercise_score,export_exercise_users`)):ke.status===-3&&((0,Xe.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),Xe.history.push(`/classrooms/${Pe.coursesId}/exportlist/exercise_score,export_exercise_users`))}),Ye=Pe=>re(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/export_records/${Pe.id}.xlsx`,query:Pe}))}),Me=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:Pe}))}),tt=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/courses/${Pe==null?void 0:Pe.coursesId}/${Pe.menuKey}_statistic.xlsx?${Pe.checkedList.map(ke=>`course_group_id[]=${ke}`).join("&")}`,query:Pe}))}),qe=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/ec_years/${Pe==null?void 0:Pe.ec_year_id}/ec_training_objectives.xlsx`,query:Pe}))}),st=Pe=>re(void 0,null,function*(){yield(0,E.FH)(Pe==null?void 0:Pe.name,(0,E.NY)({url:Ae.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:Pe}))}),ct=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/ec_years/${Pe==null?void 0:Pe.ec_year_id}/ec_courses.xlsx`,query:Pe}))}),lt=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/ec_years/${Pe==null?void 0:Pe.ec_year_id}/ec_graduation_requirements.xlsx`,query:Pe}))}),at=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:Pe}))}),ut=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:Pe}))}),At=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/examination_banks/${Pe.id}.json`,query:Pe}))}),bt=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/exercises/${Pe.categoryId}.json`,query:Pe}))}),It=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/polls/${Pe==null?void 0:Pe.id}/commit_result.json`,query:Pe}))}),ht=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+"/api/paths/get_task_pass.json",query:Pe}))}),dt=(Pe,ke)=>re(void 0,null,function*(){yield(0,E.FH)(ke||"",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/exercises/${Pe==null?void 0:Pe.exercise_id}/consult_exercise.json`,query:Pe}))}),$e=Pe=>re(void 0,null,function*(){yield(0,E.FH)("",(0,E.NY)({url:Ae.Z.API_SERVER+`/api/competitions/${Pe==null?void 0:Pe.identifier}/competition_commit_records/member_works.xlsx`,query:Pe}))})},20736:function(nn,Ht,be){"use strict";be.d(Ht,{BU:function(){return Xe},Dj:function(){return ve},gH:function(){return E},vp:function(){return ge}});function ve(Ae){try{Ae.mozRequestFullScreen?Ae.mozRequestFullScreen():Ae.webkitRequestFullScreen&&Ae.webkitRequestFullScreen()}catch(ue){console.log(ue,":e")}}function Xe(){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 ge(){var Ae=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ue=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",Ae),window.isFullScreen?window.isFullScreen:Ae!=null}},59579:function(nn,Ht,be){"use strict";be.d(Ht,{U:function(){return se}});var ve=be(59301),Xe=Object.defineProperty,E=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(ae,oe,re)=>oe in ae?Xe(ae,oe,{enumerable:!0,configurable:!0,writable:!0,value:re}):ae[oe]=re,le=(ae,oe)=>{for(var re in oe||(oe={}))ge.call(oe,re)&&ue(ae,re,oe[re]);if(E)for(var re of E(oe))Ae.call(oe,re)&&ue(ae,re,oe[re]);return ae},ie=(ae,oe,re)=>new Promise((ne,z)=>{var a=b=>{try{x(re.next(b))}catch(te){z(te)}},y=b=>{try{x(re.throw(b))}catch(te){z(te)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(a,y);x((re=re.apply(ae,oe)).next())});function se(ae,oe){const[re,ne]=(0,ve.useState)(oe),[z,a]=(0,ve.useState)(!1),[y,x]=(0,ve.useState)();return[re,z,(te,ee=!1)=>ie(this,null,function*(){const ce=ee?oe:le(le({},re),te);a(!0),ne(ce);const fe=yield ae(ce);return a(!1),x(fe),fe}),y]}},39649:function(nn,Ht,be){"use strict";be.d(Ht,{_:function(){return E}});var ve=be(59301),Xe=be(43418);const E=ge=>{var Ae,ue;const le=(0,ve.useRef)([]),ie=()=>{for(const se of le.current)clearTimeout(se);le.current=[]};return(0,ve.useEffect)(()=>{var se,ae,oe,re,ne,z;if(ie(),(se=ge==null?void 0:ge.exercise)!=null&&se.left_time&&((oe=(ae=ge==null?void 0:ge.exercise)==null?void 0:ae.exercise_events)==null?void 0:oe.length)>0){for(const a of(re=ge==null?void 0:ge.exercise)==null?void 0:re.exercise_events)if(((ne=ge==null?void 0:ge.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((z=ge==null?void 0:ge.exercise)==null?void 0:z.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{Xe.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);le.current.push(x)}}},[(Ae=ge==null?void 0:ge.exercise)==null?void 0:Ae.left_time,(ue=ge==null?void 0:ge.exercise)==null?void 0:ue.exercise_events]),ie}},85187:function(nn,Ht,be){"use strict";be.d(Ht,{AL:function(){return ce},Iy:function(){return oe},Qv:function(){return z},ez:function(){return ee},jb:function(){return re}});var ve=be(32834),Xe=be.n(ve),E=be(11690),ge=be.n(E);let Ae=1;function ue(ye,me){const Ee=ye.match(/^(\s+)(?:```)/);if(Ee===null)return me;const Be=Ee[1];return me.split(` `).map(je=>{const we=je.match(/^\s+/);if(we===null)return je;const[De]=we;return De.length>=Be.length?je.slice(Be.length):je}).join(` `)}let le=[],ie=["