(self.webpackChunk=self.webpackChunk||[]).push([[2884,6270],{27812:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ae}});var ye=be(96663),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"},pe=E,Ae=be(7657),ue=function(ie,oe){return Xe.createElement(Ae.Z,(0,ye.Z)({},ie,{ref:oe,icon:pe}))},le=Xe.forwardRef(ue),ae=le},67921:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ae}});var ye=be(96663),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"},pe=E,Ae=be(7657),ue=function(ie,oe){return Xe.createElement(Ae.Z,(0,ye.Z)({},ie,{ref:oe,icon:pe}))},le=Xe.forwardRef(ue),ae=le},87169:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ae}});var ye=be(96663),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"},pe=E,Ae=be(7657),ue=function(ie,oe){return Xe.createElement(Ae.Z,(0,ye.Z)({},ie,{ref:oe,icon:pe}))},le=Xe.forwardRef(ue),ae=le},95869:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ae}});var ye=be(96663),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"},pe=E,Ae=be(7657),ue=function(ie,oe){return Xe.createElement(Ae.Z,(0,ye.Z)({},ie,{ref:oe,icon:pe}))},le=Xe.forwardRef(ue),ae=le},88010:function(en,zt){"use strict";zt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},61293:function(en,zt){"use strict";zt.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},38476:function(){"use strict"},39775:function(en,zt,be){"use strict";var ye=be(59301),Xe=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(se,ie,oe)=>ie in se?Xe(se,ie,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ie]=oe,le=(se,ie)=>{for(var oe in ie||(ie={}))pe.call(ie,oe)&&ue(se,oe,ie[oe]);if(E)for(var oe of E(ie))Ae.call(ie,oe)&&ue(se,oe,ie[oe]);return se};const ae=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"})));zt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},93450:function(en,zt,be){"use strict";var ye=be(59301),Xe=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(se,ie,oe)=>ie in se?Xe(se,ie,{enumerable:!0,configurable:!0,writable:!0,value:oe}):se[ie]=oe,le=(se,ie)=>{for(var oe in ie||(ie={}))pe.call(ie,oe)&&ue(se,oe,ie[oe]);if(E)for(var oe of E(ie))Ae.call(ie,oe)&&ue(se,oe,ie[oe]);return se};const ae=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"})));zt.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},74413:function(){"use strict";function en(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(en.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(en.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(en.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(en.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 en))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 zt=[];function be(z,a){var y=zt.pop();return y===void 0?new go.Point(z,a):(y.x=z,y.y=a,y)}function ye(){var z=zt.pop();return z===void 0?new go.Point:z}function Xe(z){zt.push(z)}function E(z,a,y,x,b,te,ee,ce,de){de||(de=new go.Point);var he=z-y,fe=b-ee,ge=NaN,ve=NaN;if(he===0)if(fe===0)z===y&&(ge=z,ve=a);else{var me=(te-ce)/fe,Be=te-me*b;ge=z,ve=me*ge+Be}else if(fe===0){var Se=(a-x)/he,Te=a-Se*z;ge=b,ve=Se*ge+Te}else{var Se=(a-x)/he,me=(te-ce)/fe,Te=a-Se*z,Be=te-me*b;ge=(Be-Te)/(Se-me),ve=Se*ge+Te}return de.x=ge,de.y=ve,de}function pe(z,a,y,x,b,te,ee,ce,de,he,fe,ge,ve,me){var Be=1-de,Se=de,Te=z*Be+y*Se,we=a*Be+x*Se,je=y*Be+b*Se,xe=x*Be+te*Se,Oe=b*Be+ee*Se,ze=te*Be+ce*Se,Ze=Te*Be+je*Se,Me=we*Be+xe*Se,tt=je*Be+Oe*Se,qe=xe*Be+ze*Se,lt=Ze*Be+tt*Se,ct=Me*Be+qe*Se;he.x=Te,he.y=we,fe.x=Ze,fe.y=Me,ge.x=lt,ge.y=ct,ve.x=tt,ve.y=qe,me.x=Oe,me.y=ze}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 en("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 en("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 en("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new en("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 en("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 en("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 en("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),de=x-Math.min(Math.cos(ce)*x/2,te),he=x-Math.min(Math.sin(ce)*x/2,ee),b=new go.Geometry,fe=new go.PathFigure(de,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,te,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a-de,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,he)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,a,y-he)),fe.add(new go.PathSegment(go.PathSegment.Line,a-de,y)),fe.add(new go.PathSegment(go.PathSegment.Line,te,.8*y)),fe.add(new go.PathSegment(go.PathSegment.Line,de,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y-he)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,0,he).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new en("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 en("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 en("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,de=te*le;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+de+ce)*y,(.5-de+ee)*a,(.5+te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ee)*a,(.5+ce)*y,(.5+de+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+de+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee)*a,(.5-de+ce)*y,(.5+de+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-de+ee)*a,(.5-te+ce)*y,(.5-te+ee+.05)*a,(.5-de+ce-.02)*y)),te=.2,ee=0,ce=-.3,de=te*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+te+ee)*a,(.5+ce)*y,(.5+de+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+de+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee)*a,(.5-de+ce)*y,(.5+de+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ee)*a,(.5+ce)*y,(.5-de+ee)*a,(.5-te+ce)*y,(.5-te+ee)*a,(.5-de+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-de+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+de+ce)*y,(.5-de+ee)*a,(.5+te+ce)*y)),te=.2,ee=-.3,ce=0,de=te*le,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-te+ce)*y,(1-.5+te+ee-.05)*a,(.5-de+ce-.02)*y,(.5+de+ee)*a,(.5-te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+ee)*a,(.5+ce)*y,(.5-de+ee)*a,(.5-te+ce)*y,(.5-te+ee)*a,(.5-de+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+te+ce)*y,(.5-te+ee)*a,(.5+de+ce)*y,(.5-de+ee)*a,(.5+te+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+de+ee)*a,(.5+te+ce)*y,(.5+te+ee)*a,(.5+de+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,de=new go.PathFigure(ee*a,(ce-te)*y);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),de.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=ye(),fe=ye(),ge=ye(),ve=ye();pe(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.42,he,fe,ge,ve,ve);var me=ye(),Be=ye(),Se=ye();pe(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.58,ve,ve,Se,me,Be);var Te=ye(),we=ye(),je=ye();pe(ee,ce+te,ee-b,ce+te,ee-te,ce+b,ee-te,ce,.42,Te,we,je,ve,ve);var xe=ye(),Oe=ye(),ze=ye();return pe(ee,ce+te,ee-b,ce+te,ee-te,ce+b,ee-te,ce,.58,ve,ve,ze,xe,Oe),de.add(new go.PathSegment(go.PathSegment.Move,ze.x*a,ze.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,xe.x*a,xe.y*y,Oe.x*a,Oe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,he.x*a,he.y*y,fe.x*a,fe.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,ze.x*a,ze.y*y).close()),de.add(new go.PathSegment(go.PathSegment.Move,je.x*a,je.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Se.x*a,Se.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,me.x*a,me.y*y,Be.x*a,Be.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,je.x*a,je.y*y,Te.x*a,Te.y*y,we.x*a,we.y*y).close()),Xe(he),Xe(fe),Xe(ge),Xe(ve),Xe(me),Xe(Be),Xe(Se),Xe(Te),Xe(we),Xe(je),Xe(xe),Xe(Oe),Xe(ze),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 en("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,de=ye(),he=ye(),fe=ye(),ge=ye(),ve=new go.PathFigure((ee-te)*a,ce*y,!1);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),pe(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.44,fe,ge,he,de,de),ve.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,fe.x*a,fe.y*y,ge.x*a,ge.y*y));var me=be(he.x,he.y);pe(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.56,de,de,he,fe,ge);var Be=be(he.x,he.y);ve.add(new go.PathSegment(go.PathSegment.Line,(me.x*.1+.95*.9)*a,me.y*.1*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,me.y*.1*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,0)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(Be.x*.1+.9)*a,.15*y)),ve.add(new go.PathSegment(go.PathSegment.Line,(Be.x*.1+.9)*a,(Be.y*.1+.05*.9)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,Be.x*a,Be.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,fe.x*a,fe.y*y,ge.x*a,ge.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),ve.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 Se=new go.PathFigure(ee*a,(ce-te)*y,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce-te)*y,(ee-te)*a,(ce-b)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee-te)*a,(ce+b)*y,(ee-b)*a,(ce+te)*y)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),Se.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 Te=new go.PathFigure((ee-te)*a,ce*y,!1);return x.add(Te),Xe(de),Xe(he),Xe(fe),Xe(ge),Xe(me),Xe(Be),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,de=new go.PathFigure((.525+te)*a,(.5+b+ee)*y,!1);x.add(de),de.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)),de.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)),de.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)),de.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)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,te=0,ee=-.125,ce=b*le;var de=new go.PathFigure((1-.5+b+te)*a,(.5+ee)*y,!1);x.add(de),de.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)),de.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)),de.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)),de.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 de=new go.PathFigure((.525+te)*a,(.5+b+ee)*y,!1);return x.add(de),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(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 en("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new en("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,de=new go.Geometry,he=new go.PathFigure(0,ee,!0);de.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()),de.spot1=new go.Spot(0,ee/y);var fe=E(0,ce/y,1,ce/y,te/a,1,1,.5,ye());return de.spot2=new go.Spot(fe.x,fe.y),Xe(fe),de}),go.Shape.setFigureParameter("Arrow2",0,new en("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new en("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,de=new go.Geometry,he=new go.PathFigure(0,ee,!0);de.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()),de.spot1=new go.Spot(0,ee/y);var fe=E(0,ce/y,1,ce/y,te/a,1,1,.5,ye());return de.spot2=new go.Spot(fe.x,fe.y),Xe(fe),de}),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 en("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 de=E(0,.5,.3,0,0,b/y,.1,b/y,ye());return ee.spot1=new go.Spot(de.x,de.y),de=E(.7,1,1,.5,0,te/y,1,te/y,de),ee.spot2=new go.Spot(de.x,de.y),Xe(de),ee}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new en("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new en("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,de=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,te=(y-x)/2,ee=te+x,ce=0,de=y):(te=0,ee=y,ce=0,de=y));var he=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);he.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var ge=E(0,.5,.3,ce/y,0,te/y,1,te/y,ye());return he.spot1=new go.Spot(ge.x,ge.y),ge=E(.7,de/y,1,.5,0,ee/y,1,ee/y,ge),he.spot2=new go.Spot(ge.x,ge.y),Xe(ge),he}),go.Shape.setFigureParameter("IBeamArrow",0,new en("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 de=E(.7,1,1,.5,0,te/y,1,te/y,ye());return ee.spot2=new go.Spot(de.x,de.y),Xe(de),ee}),go.Shape.setFigureParameter("IBeamArrow2",0,new en("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new en("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,de=ce+b;(x>y||b>y)&&(b>x?(x=x*y/b,te=(y-x)/2,ee=te+x,ce=0,de=y):(te=0,ee=y,ce=0,de=y));var he=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);he.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ce)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),he.spot1=new go.Spot(0,te/y);var ge=E(.7,de/y,1,.5,0,ee/y,1,ee/y,ye());return he.spot2=new go.Spot(ge.x,ge.y),Xe(ge),he}),go.Shape.setFigureParameter("Pointer",0,new en("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,ye());return b.spot2=new go.Spot(ee.x,ee.y),Xe(ee),b}),go.Shape.setFigureParameter("RoundedPointer",0,new en("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,ye());return b.spot2=new go.Spot(ee.x,ee.y),Xe(ee),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new en("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 de=E(.7,1,1,.5,0,te/y,1,te/y,ye());return ee.spot2=new go.Spot(de.x,de.y),Xe(de),ee}),go.Shape.setFigureParameter("SplitEndArrow2",0,new en("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 de=E(.7,1,1,.5,0,te/y,1,te/y,ye());return ee.spot2=new go.Spot(de.x,de.y),Xe(de),ee}),go.Shape.setFigureParameter("SquareArrow",0,new en("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,de=.5,he=.1,fe=new go.PathFigure(de*a,(he+te)*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-b)*a,he*y,(de-ee)*a,(he+te)*y,(de-b)*a,(he+ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(he-te)*y,(de-b)*a,(he-ce)*y,(de-ee)*a,(he-te)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+b)*a,he*y,(de+ee)*a,(he-te)*y,(de+b)*a,(he-ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(he+te)*y,(de+b)*a,(he+ce)*y,(de+ee)*a,(he+te)*y));var ge=.05,ve=le*ge;de=.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)),de=.95,he=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,(de+ge)*a,he*y,(de+ve)*a,(he-ge)*y,(de+ge)*a,(he-ve)*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)),ge=.025,ve=le*ge,de=.825,he=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(he-ge)*y,(de+ge)*a,(he-ve)*y,(de+ve)*a,(he-ge)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-ge)*a,he*y,(de-ve)*a,(he-ge)*y,(de-ge)*a,(he-ve)*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)),ge=.05,ve=le*ge,de=.5,he=.7,me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(he-ge)*y,(de+ge)*a,(he-ve)*y,(de+ve)*a,(he-ge)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-ge)*a,he*y,(de-ve)*a,(he-ge)*y,(de-ge)*a,(he-ve)*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)),ge=.025,ve=le*ge,de=.175,he=.35,me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(he-ge)*y,(de+ge)*a,(he-ve)*y,(de+ve)*a,(he-ge)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-ge)*a,he*y,(de-ve)*a,(he-ge)*y,(de-ge)*a,(he-ve)*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)),ge=.05,ve=le*ge,de=.05,he=.25,me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(he-ge)*y,(de-ge)*a,(he-ve)*y,(de-ve)*a,(he-ge)*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 en("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,de=new go.PathFigure(a,ce*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+ee)*y,(ce+ee)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-ee)*a,y,0,(ce+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-ee)*y,(ce-ee)*a,0)),de.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 de=new go.PathFigure(.8*a,.75*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(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,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,0,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var 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,de=.9,he=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+te)*y,(.4+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-te)*y));var ge=new go.PathFigure((de+ce)*a,he*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(he+ce)*y,(de+ce)*a,(he+ee)*y,(de+ee)*a,(he+ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(de-ce)*a,he*y,(de-ee)*a,(he+ce)*y,(de-ce)*a,(he+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(he-ce)*y,(de-ce)*a,(he-ee)*y,(de-ee)*a,(he-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(de+ce)*a,he*y,(de+ee)*a,(he-ce)*y,(de+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,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+te)*y,(ee+te)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(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,de=new go.PathFigure(0,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ee+te+te)*a,(ce-b)*y,.8*a,(ce-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+te)*y,(ee+te+te)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(z,a,y){var x=new go.Geometry,b=.5,te=le*b,ee=.2,ce=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var 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 fe=new go.PathFigure((ee-b)*a,ce*y,!0);return 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)),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,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var 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,de=new go.PathFigure((ee-b*.5)*a,y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.3,de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.5,de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.7,de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,(ee+te)*a,0,(ee+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,0,(ee-b)*a,y,(ee-te)*a,0)),ee=.9,de.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,de=new go.PathFigure((ee-te)*a,ce*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce-te)*y,(ee-te)*a,(ce-b)*y,(ee-b)*a,(ce-te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee+te)*a,ce*y,(ee+b)*a,(ce-te)*y,(ee+te)*a,(ce-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(ce+te)*y,(ee+te)*a,(ce+b)*y,(ee+b)*a,(ce+te)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ee-te)*a,ce*y,(ee-b)*a,(ce+te)*y,(ee-te)*a,(ce+b)*y)),de.add(new go.PathSegment(go.PathSegment.Move,(ee-te+.1)*a,ce*y)),de.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,de=0,he=.5,fe=(b-a)/2,ge=(te-y)/2,ve=new go.PathFigure(de*a+fe,(he+ce)*y+ge,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-ce)*a+fe,he*y+ge,(de-ee)*a+fe,(he+ce)*y+ge,(de-ce)*a+fe,(he+ee)*y+ge)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(he-ce)*y+ge,(de-ce)*a+fe,(he-ee)*y+ge,(de-ee)*a+fe,(he-ce)*y+ge)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-ce+ee*.5)*a+fe,he*y+ge,de*a+fe,(he-ce)*y+ge,(de-ce+ee*.5)*a+fe,(he-ee)*y+ge)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(he+ce)*y+ge,(de-ce+ee*.5)*a+fe,(he+ee)*y+ge,de*a+fe,(he+ce)*y+ge).close()),ee=le*.4,ce=.4,de=.2,he=.5;var me=new go.PathFigure(de*a+fe,(he+ce)*y+ge,!0);x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-ce)*a+fe,he*y+ge,(de-ee)*a+fe,(he+ce)*y+ge,(de-ce)*a+fe,(he+ee)*y+ge)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(he-ce)*y+ge,(de-ce)*a+fe,(he-ee)*y+ge,(de-ee)*a+fe,(he-ce)*y+ge)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-ce+ee*.5)*a+fe,he*y+ge,de*a+fe,(he-ce)*y+ge,(de-ce+ee*.5)*a+fe,(he-ee)*y+ge)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(he+ce)*y+ge,(de-ce+ee*.5)*a+fe,(he+ee)*y+ge,de*a+fe,(he+ce)*y+ge).close()),ee=le*.2,ce=.2,de=.5,he=.5;var Be=new go.PathFigure((de-ce)*a+fe,he*y+ge,!0);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(he-ce)*y+ge,(de-ce)*a+fe,(he-ee)*y+ge,(de-ee)*a+fe,(he-ce)*y+ge)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(de+ce)*a+fe,he*y+ge,(de+ee)*a+fe,(he-ce)*y+ge,(de+ce)*a+fe,(he-ee)*y+ge)),Be.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(he+ce)*y+ge,(de+ce)*a+fe,(he+ee)*y+ge,(de+ee)*a+fe,(he+ce)*y+ge)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(de-ce)*a+fe,he*y+ge,(de-ee)*a+fe,(he+ce)*y+ge,(de-ce)*a+fe,(he+ee)*y+ge)),ee=le*.4,ce=.4,de=.8,he=.5;var Se=new go.PathFigure(de*a+fe,(he-ce)*y+ge,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de+ce)*a+fe,he*y+ge,(de+ee)*a+fe,(he-ce)*y+ge,(de+ce)*a+fe,(he-ee)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(he+ce)*y+ge,(de+ce)*a+fe,(he+ee)*y+ge,(de+ee)*a+fe,(he+ce)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de+ce-ee*.5)*a+fe,he*y+ge,de*a+fe,(he+ce)*y+ge,(de+ce-ee*.5)*a+fe,(he+ee)*y+ge)),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(he-ce)*y+ge,(de+ce-ee*.5)*a+fe,(he-ee)*y+ge,de*a+fe,(he-ce)*y+ge).close()),ee=le*.8,ce=.8,de=1,he=.5;var Te=new go.PathFigure(de*a+fe,(he-ce)*y+ge,!0);return x.add(Te),Te.add(new go.PathSegment(go.PathSegment.Bezier,(de+ce)*a+fe,he*y+ge,(de+ee)*a+fe,(he-ce)*y+ge,(de+ce)*a+fe,(he-ee)*y+ge)),Te.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(he+ce)*y+ge,(de+ce)*a+fe,(he+ee)*y+ge,(de+ee)*a+fe,(he+ce)*y+ge)),Te.add(new go.PathSegment(go.PathSegment.Bezier,(de+ce-ee*.5)*a+fe,he*y+ge,de*a+fe,(he+ce)*y+ge,(de+ce-ee*.5)*a+fe,(he+ee)*y+ge)),Te.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(he-ce)*y+ge,(de+ce-ee*.5)*a+fe,(he-ee)*y+ge,de*a+fe,(he-ce)*y+ge).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,de=ye(),he=ye(),fe=ye(),ge=ye();pe(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.5,de,de,he,fe,ge);var ve=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,fe.x*a,fe.y*y,ge.x*a,ge.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)),pe(ee-te,ce,ee-te,ce-b,ee-b,ce-te,ee,ce-te,.5,fe,ge,he,de,de),me.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,fe.x*a,fe.y*y,ge.x*a,ge.y*y)),b=le*.3,te=.3,pe(ee-te,ce,ee-te,ce-b,ee-b,ce-te,ee,ce-te,.5,fe,ge,he,de,de),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,ge.x*a,ge.y*y,fe.x*a,fe.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)),pe(ee,ce-te,ee+b,ce-te,ee+te,ce-b,ee+te,ce,.5,de,de,he,fe,ge),me.add(new go.PathSegment(go.PathSegment.Bezier,he.x*a,he.y*y,ge.x*a,ge.y*y,fe.x*a,fe.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(de),Xe(he),Xe(fe),Xe(ge),Xe(ve),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,de){ee.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+de)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+de)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+de)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+de)*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,de=.4*Math.SQRT2/2+.5,he=.5-.5*Math.SQRT2/2,fe=1,ge=.5,ve=.5,me=0,Be=new go.PathFigure(de*a,(1-he)*y,!1);return x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,ge*y,fe*a,.7*y,fe*a,ge*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ve+te)*a,(me+te)*y,(.5+b+te)*a,(.5-ce+te)*y,(.5+ce+te)*a,(.5-b+te)*y)),Be.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)),Be.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)),Be.add(new go.PathSegment(go.PathSegment.Move,(.25+te)*a,.8*y)),Be.add(new go.PathSegment(go.PathSegment.Line,(.35+te)*a,.9*y)),Be.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,de=ee,he=Math.PI/4,fe=4*(1-Math.cos(he))/(3*Math.sin(he)),ge=fe*.5,ve=ee,me=ee,Be=fe*ve,Se=fe*me;te.add(new go.PathSegment(go.PathSegment.Bezier,(ce-ve)*a,de*y,(ce-(Be+ve)/2)*a,(de+(me+Se)/2)*y,(ce-ve)*a,(de+Se)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(de-me)*y,(ce-ve)*a,(de-Se)*y,(ce-Be)*a,(de-me)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(ce+ve)*a,de*y,(ce+Be)*a,(de-me)*y,(ce+ve)*a,(de-Se)*y)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+ve)*a,(de+Se)*y,(ce+(Be+ve)/2)*a,(de+(me+Se)/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 Te=new go.PathFigure(.2*a,y,!1);x.add(Te),Te.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,de=.2,he=.9,fe=new go.PathFigure((de-ee)*a,he*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(he-ee)*y,(de-ee)*a,(he-ce)*y,(de-ce)*a,(he-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+ee)*a,he*y,(de+ce)*a,(he-ee)*y,(de+ee)*a,(he-ce)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(he+ee)*y,(de+ee)*a,(he+ce)*y,(de+ce)*a,(he+ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-ee)*a,he*y,(de-ce)*a,(he+ee)*y,(de-ee)*a,(he+ce)*y).close()),ee=.1,ce=le*.1,de=.8,he=.9;var ge=new go.PathFigure((de-ee)*a,he*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(he-ee)*y,(de-ee)*a,(he-ce)*y,(de-ce)*a,(he-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(de+ee)*a,he*y,(de+ce)*a,(he-ee)*y,(de+ee)*a,(he-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(he+ee)*y,(de+ee)*a,(he+ce)*y,(de+ce)*a,(he+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(de-ee)*a,he*y,(de-ce)*a,(he+ee)*y,(de-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 de=.1,he=le*.1,fe=.1,ge=.9,ve=new go.PathFigure((fe-de)*a,ge*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-de)*y,(fe-de)*a,(ge-he)*y,(fe-he)*a,(ge-de)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,ge*y,(fe+he)*a,(ge-de)*y,(fe+de)*a,(ge-he)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+de)*y,(fe+de)*a,(ge+he)*y,(fe+he)*a,(ge+de)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-de)*a,ge*y,(fe-he)*a,(ge+de)*y,(fe-de)*a,(ge+he)*y)),de=.1,he=le*.1,fe=.4,ge=.9;var me=new go.PathFigure((fe-de)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge-de)*y,(fe-de)*a,(ge-he)*y,(fe-he)*a,(ge-de)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,ge*y,(fe+he)*a,(ge-de)*y,(fe+de)*a,(ge-he)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(ge+de)*y,(fe+de)*a,(ge+he)*y,(fe+he)*a,(ge+de)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(fe-de)*a,ge*y,(fe-he)*a,(ge+de)*y,(fe-de)*a,(ge+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 fe=.05,ge=le*.05,ve=.175,me=.95,ce=new go.PathFigure((ve-fe)*a,me*y,!0);x.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-fe)*y,(ve-fe)*a,(me-ge)*y,(ve-ge)*a,(me-fe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ve+fe)*a,me*y,(ve+ge)*a,(me-fe)*y,(ve+fe)*a,(me-ge)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+fe)*y,(ve+fe)*a,(me+ge)*y,(ve+ge)*a,(me+fe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(ve-fe)*a,me*y,(ve-ge)*a,(me+fe)*y,(ve-fe)*a,(me+ge)*y));var fe=.05,ge=le*.05,ve=.375,me=.95,de=new go.PathFigure((ve-fe)*a,me*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-fe)*y,(ve-fe)*a,(me-ge)*y,(ve-ge)*a,(me-fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ve+fe)*a,me*y,(ve+ge)*a,(me-fe)*y,(ve+fe)*a,(me-ge)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+fe)*y,(ve+fe)*a,(me+ge)*y,(ve+ge)*a,(me+fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(ve-fe)*a,me*y,(ve-ge)*a,(me+fe)*y,(ve-fe)*a,(me+ge)*y));var fe=.05,ge=le*.05,ve=.625,me=.95,he=new go.PathFigure((ve-fe)*a,me*y,!0);x.add(he),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-fe)*y,(ve-fe)*a,(me-ge)*y,(ve-ge)*a,(me-fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve+fe)*a,me*y,(ve+ge)*a,(me-fe)*y,(ve+fe)*a,(me-ge)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+fe)*y,(ve+fe)*a,(me+ge)*y,(ve+ge)*a,(me+fe)*y)),he.add(new go.PathSegment(go.PathSegment.Bezier,(ve-fe)*a,me*y,(ve-ge)*a,(me+fe)*y,(ve-fe)*a,(me+ge)*y));var fe=.05,ge=le*.05,ve=.825,me=.95,Be=new go.PathFigure((ve-fe)*a,me*y,!0);x.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me-fe)*y,(ve-fe)*a,(me-ge)*y,(ve-ge)*a,(me-fe)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ve+fe)*a,me*y,(ve+ge)*a,(me-fe)*y,(ve+fe)*a,(me-ge)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ve*a,(me+fe)*y,(ve+fe)*a,(me+ge)*y,(ve+ge)*a,(me+fe)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ve-fe)*a,me*y,(ve-ge)*a,(me+fe)*y,(ve-fe)*a,(me+ge)*y).close());var Se=new go.PathFigure(0,y,!1);return x.add(Se),Se.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,de=le*.05,he=.35,fe=.775,ge=new go.PathFigure((he-ce)*a,fe*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(fe-ce)*y,(he-ce)*a,(fe-de)*y,(he-de)*a,(fe-ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(he+ce)*a,fe*y,(he+de)*a,(fe-ce)*y,(he+ce)*a,(fe-de)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,he*a,(fe+ce)*y,(he+ce)*a,(fe+de)*y,(he+de)*a,(fe+ce)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(he-ce)*a,fe*y,(he-de)*a,(fe+ce)*y,(he-ce)*a,(fe+de)*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,de=new go.PathFigure((ee-b)*a,ce*y,!0);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));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,de=new go.PathFigure((ee-b)*a,ce*y,!0);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));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,de=new go.PathFigure((ee-b)*a,ce*y,!1);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).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 de=new go.PathFigure(.5*a,.1*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),de.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(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 de=new go.PathFigure(a*.816,y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(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 de=new go.PathFigure(a*1,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(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 de=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(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 de=new go.PathFigure(a*.83,y*1,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var 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")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var en={},zt="5.0",be={},ye=null,Xe=!1,E=!1,pe=null,Ae=!1,ue=null,le=null,ae=0;ae4?parseFloat(nt):5};en.setHTML5Codebase=function(nt,at){le=nt,qe(nt,at)},en.setJavaCodebase=en.setJavaCodebaseVersion=en.isCompiledInstalled=en.setPreCompiledScriptPath=en.setPreCompiledResourcePath=function(){},en.setHTML5CodebaseVersion=function(nt,at){var ut=parseFloat(nt);if(ut!==NaN&&ut<5){console.log("The GeoGebra HTML5 codebase version "+ut+" is deprecated. Using version latest instead.");return}ue=nt,tt(nt,at)},en.getHTML5CodebaseVersion=function(){return z},en.getParameters=function(){return be},en.setFontsCSSURL=function(nt){ee=nt},en.setGiacJSURL=function(nt){},en.setJNLPFile=function(nt){ie=nt},en.setJNLPBaseDir=function(nt){},en.inject=function(){function nt(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var at="auto",ut=be.id,At,wt=!1,It=0;It=5)return!0;var nt=en.getAppletObject();return nt&&typeof nt.recalculateEnvironments=="function"?(nt.recalculateEnvironments(),!0):!1},en.startAnimation=function(){var nt=en.getAppletObject();return nt&&typeof nt.startAnimation=="function"?(nt.startAnimation(),!0):!1},en.stopAnimation=function(){var nt=en.getAppletObject();return nt&&typeof nt.stopAnimation=="function"?(nt.stopAnimation(),!0):!1},en.getAppletObject=function(){var nt=be.id!==void 0?be.id:"ggbApplet";return window[nt]},en.resize=function(){};var Be=function(nt,at,ut){var At=document.createElement("param");At.setAttribute("name",at),At.setAttribute("value",ut),nt.appendChild(At)},Se=function(nt){return nt&&nt!=="false"},Te=function(nt,at,ut){de(z)<=4.2&&(ut=!0);var At=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==z||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(At=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var wt=document.createElement("div");wt.classList.add("appletParameters","notranslate");var It=at.width,gt=at.height;if(at.disableAutoScale=at.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():at.disableAutoScale,at.width!==void 0)if(de(z)<=4.4)Se(at.showToolBar)&&(at.height-=7),Se(at.showAlgebraInput)&&(at.height-=37),at.width<605&&Se(at.showToolBar)&&(at.width=605,It=605);else{var ft=100;(Se(at.showToolBar)||Se(at.showMenuBar))&&(at.hasOwnProperty("customToolBar")&&(at.customToolbar=at.customToolBar),ft=Se(at.showMenuBar)?245:155),It=5?(at.appletOnLoad=function(bt){var Bt=nt.querySelector(".ggb_preview");Bt&&Bt.parentNode.removeChild(Bt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(ke),window.GGBT_wsf_view&&$(window).trigger("resize"),Pe(bt)},Ve||ke.appendChild(Qe)):wt.appendChild(Qe),ke.appendChild(wt),Ve||nt.appendChild(ke),setTimeout(function(){en.resize()},1)}else{var De=document.createElement("div");De.className="applet_scaler",De.style.position="relative",De.style.display="block",De.appendChild(wt),nt.appendChild(De),at.appletOnLoad=function(bt){en.resize(),Pe(bt)}}function Ye(bt,Bt){Bt&&typeof Bt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(bt,Bt.appletOnLoad):renderGGBElement(bt),lt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Bt)}function Ue(bt,Bt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:bt,params:Bt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Mt){Ye(Mt.article,Mt.params)}),html5AppletsToProcess=null)},de(z)<5&&(bt.className+=" geogebraweb")):Ye(bt,Bt)}if(At){scriptLoadStarted=!0;for(var Ie=0;Ie0?($e.remove(),ke.attr("id","fullscreencontent").show(),jQuery(Pe).append(ke),window.dispatchEvent(new Event("resize"))):Te($e,at,!1),window.GGBT_wsf_view.launchFullScreen(Pe)}else ne=At,Te(nt,at,!1);if(!window.GGBT_wsf_view)for(gt=0;gtnt/4*3&&($e=nt/4*3),Pe=$e/5.8,ft.setAttribute("src",b),ft.setAttribute("width",$e),ft.setAttribute("height",Pe);var ke=(nt-$e)/2,Ve=(at-Pe)/2;ft.style.left=ke+"px",ft.style.top=Ve+"px",wt.appendChild(ft)}}return wt.appendChild(gt),wt},Ze=function(nt){return nt=nt.toLowerCase(),nt==="html5"||nt==="screenshot"?nt:"html5"},Me=["web","webSimple","web3d","tablet","tablet3d","phone"],tt=function(nt,at){if(z=nt,at){qe(z,!0);return}var ut=!Xe;if(ut){var At=de(z);!isNaN(At)&&At<4.4&&(ut=!1)}var wt,It;window.location.protocol.substr(0,4)==="http"?wt=window.location.protocol:wt="http:";var gt=z.indexOf("//");gt>0?It=z:gt===0?It=wt+z:It="https://www.geogebra.org/apps/5.2.814.0/";for(var ft in Me)if(z.slice(Me[ft].length*-1)===Me[ft]||z.slice((Me[ft].length+1)*-1)===Me[ft]+"/"){qe(It,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&ut&&!ye.is3D&&!ye.AV&&!ye.SV&&!ye.CV&&!ye.EV2&&!ye.CP&&!ye.PC&&!ye.DA&&!ye.FI&&!ye.PV&&!Se(be.showToolBar)&&!Se(be.showMenuBar)&&!Se(be.showAlgebraInput)&&!Se(be.enableRightClick)&&(!be.appName||be.appName=="classic")?It+="webSimple/":It+="web3d/",qe(It,!1)},qe=function(nt,at){if(nt.requirejs){oe=nt;return}nt.slice(-1)!=="/"&&(nt+="/"),oe=nt,at===null&&(at=nt.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=nt.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&&nt.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+At+" is deprecated. Using version latest instead."),tt("5.0",at))},lt=function(nt,at){window.console&&window.console.log&&(!at||typeof at.showLogging=="undefined"||at.showLogging&&at.showLogging!=="false")&&console.log(nt)};be.material_id!==void 0?ge(ct):ct();function ct(){var nt=zt;ue!==null?nt=ue:parseFloat(nt)<5&&(nt="5.0"),tt(nt,!1),le!==null&&qe(le,re),Ae=!0}return en},GGBAppletUtils=function(){"use strict";function en(){return window.GGBT_wsf_edit!==void 0}function zt(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,ae,se,ie){var oe=null;if(ie!=null&&ie!="")for(var re=Ae.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+ie+" ")>-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(ae?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&&(ie=!0)),ue&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ie=!0),!(Ae.hasOwnProperty("disableAutoScale")&&Ae.disableAutoScale))se=ye(Ae,ue,ie,le,Ae.scaleContainerClass);else return ae;return ie&&(!Ae.hasOwnProperty("scale")||ae===1)?se:Math.min(ae,se)}function E(Ae){var ue=Math.min(window.innerWidth,document.documentElement.clientWidth),le=Math.min(window.innerHeight,document.documentElement.clientHeight),ae=Ae.getBoundingClientRect(),se=(ue-ae.width)/2,ie=(le-ae.height)/2;ie<0&&(ie=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=ie+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ie<40?Ae.style.top="40px":Ae.style.top=ie+"px",Ae.style.left=se+"px")}function pe(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 ae=Xe(ue,Ae);en()&&le.setAttribute("data-param-scale",ae);for(var se=null,ie=0;ie=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(en){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(en){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(en){var zt=c[en];return zt==null?null:zt},r=d,webModule.__errFn=e}function B(){function en(Ae){var ue=Ae.lastIndexOf(rb);ue==-1&&(ue=Ae.length);var le=Ae.indexOf(sb);le==-1&&(le=Ae.length);var ae=Ae.lastIndexOf(tb,Math.min(le,ue));return ae>=O?Ae.substring(O,ae+P):W}function zt(Ae){if(!Ae.match(/^\w+:\/\//)){var ue=o.createElement(ub);ue.src=Ae+vb,Ae=en(ue.src)}return Ae}function be(){var Ae=__gwt_getMetaProperty(wb);return Ae!=null?Ae:W}function ye(){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 pe=be();return pe==W&&(pe=ye()),pe==W&&(pe=Xe()),pe==W&&E()&&(pe=en(o.location.href)),pe=zt(pe),pe}function C(en){return en.match(/^\//)||en.match(/^[a-zA-Z]+:\/\//)?en:webModule.__moduleBase+en}function D(){var en=[],zt=O,be=[],ye=[];function Xe(Ae){var ue=ye[Ae](),le=be[Ae];if(ue in le)return ue;var ae=[];for(var se in le)ae[le[se]]=se;throw r&&r(Ae,ae,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 pe=E.indexOf(Db);pe!=-1&&(zt=parseInt(E.substring(pe+P),$),E=E.substring(O,pe))}catch(Ae){}return webModule.__softPermutationId=zt,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(en,zt,be){"use strict";be.d(zt,{Ax:function(){return pe},Ds:function(){return Ae},KI:function(){return le},SI:function(){return E},f1:function(){return Xe}});var ye=be(3294);function Xe(ae){let se=!0;if(ae.length>0){for(let ie=0;iese in ae?E(ae,se,{enumerable:!0,configurable:!0,writable:!0,value:ie}):ae[se]=ie,Ae=(ae,se,ie)=>pe(ae,typeof se!="symbol"?se+"":se,ie),ue=(ae,se,ie)=>new Promise((oe,re)=>{var ne=y=>{try{a(ie.next(y))}catch(x){re(x)}},z=y=>{try{a(ie.throw(y))}catch(x){re(x)}},a=y=>y.done?oe(y.value):Promise.resolve(y.value).then(ne,z);a((ie=ie.apply(ae,se)).next())});class le extends ye.EventEmitter{constructor(se,ie){super(),Ae(this,"url"),Ae(this,"body"),Ae(this,"fullContent",""),Ae(this,"controller",null),this.url=se,this.body=ie}startStream(){return ue(this,null,function*(){this.controller=new AbortController;const{signal:se}=this.controller;try{const ie=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:se});if(!ie.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${ie.status}`);const oe=ie.headers.get("content-type");if(!oe)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(oe.includes("application/json")){const z=yield ie.json();this.emit("error",z);return}if(!oe.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const re=ie.body.getReader(),ne=new TextDecoder("utf-8");for(;;){const{done:z,value:a}=yield re.read();if(z)break;const x=ne.decode(a,{stream:!0}).split(` `);for(const b of x)if(b.startsWith("data:")){const te=b.slice(5).trim();if(te==="[DONE]")break;try{const ee=JSON.parse(te);ee.data&&this.handleData(ee.data)}catch(ee){console.error("\u89E3\u6790 JSON \u5931\u8D25:",ee)}}}this.emit("done",this.fullContent)}catch(ie){ie.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",ie.message)}})}handleData(se){se.content&&(this.fullContent+=se.content,this.emit("data",{chunk:se,full:this.fullContent}))}cancelRequest(){var se;(se=this.controller)==null||se.abort()}}zt.Z=le},43276:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return de}});var ye=be(59301),Xe=be(72719),E=be(77596),pe=be(93772),Ae=be(14179),ue=be(56102),le={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},ae=be(8591),se=be(11611),ie=be(35328),oe=be(30084),re=be(10787),ne=be(50304),z=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(he,fe,ge)=>fe in he?z(he,fe,{enumerable:!0,configurable:!0,writable:!0,value:ge}):he[fe]=ge,te=(he,fe)=>{for(var ge in fe||(fe={}))y.call(fe,ge)&&b(he,ge,fe[ge]);if(a)for(var ge of a(fe))x.call(fe,ge)&&b(he,ge,fe[ge]);return he},ee=(he,fe)=>{var ge={};for(var ve in he)y.call(he,ve)&&fe.indexOf(ve)<0&&(ge[ve]=he[ve]);if(he!=null&&a)for(var ve of a(he))fe.indexOf(ve)<0&&x.call(he,ve)&&(ge[ve]=he[ve]);return ge},de=({onFinish:he,value:fe,streamingStatus:ge,cancelIndex:ve,loadImage:me})=>{const[Be,Se]=(0,ye.useState)(""),[Te,we]=(0,ye.useState)(0),[je,xe]=(0,ye.useState)(!1),Oe=Me=>Me.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$").replace(/`(\$\$.*?\$\$)`/g,"$$$$$1$$$$").replace(/______/g,"`______`"),ze=()=>{xe(!0),he==null||he()};return(0,ye.useEffect)(()=>{const Me=me?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${fe}`:fe,tt=Oe(Me);if(!je)if(me||!ge||ve>0){Se(tt),we(tt.length),(!ge||ve>0)&&!me&&ze();return}else if(Te{Se(tt.slice(0,Te+2)),we(ct=>ct+2)},qe>10?Math.max(500/(qe/2),20):50);return()=>clearInterval(lt)}else ge||ze()},[fe,ge,ve,me,Te]),(0,ye.useMemo)(()=>ye.createElement("section",{className:`${le.answer} fadeIn animated`},ye.createElement(Xe.UG,{remarkPlugins:[oe.Z,re.Z],rehypePlugins:[ie.Z,pe.Z],components:{code(Me){var tt=Me,{node:qe,inline:lt,className:ct,children:nt}=tt,at=ee(tt,["node","inline","className","children"]);const ut=/language-(\w+)/.exec(ct||""),At=String(nt).trim();return lt||!ut?ye.createElement("code",te({className:ct},at),nt):ye.createElement("code",{className:le.codeCopy,"data-text":`\`\`\`${ut?ut[1]:""} ${nt} \`\`\``},ye.createElement(ue.CopyToClipboard,{text:At,onCopy:()=>ae.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ye.createElement("button",null,"\u590D\u5236")),ye.createElement(E.Z,te({style:Ae.Z,language:ut[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},at),At))},img({node:Me}){var tt;const qe=(tt=Me.properties)==null?void 0:tt.src;return ye.createElement(se.Z,{src:qe,width:320,"data-text":qe,onLoad:()=>me&&setTimeout(()=>ze(),500)})},span(Me){var tt=Me,{node:qe,className:lt,children:ct}=tt,nt=ee(tt,["node","className","children"]);if(lt!=null&<.includes("katex")){const at=qe.children.map(ut=>ut.value||"").join("");return ye.createElement("span",te({className:lt,"data-text":`$$ ${at||""} $$`},nt),ct)}return ye.createElement("span",te({className:lt},nt),ct)}}},je?Be:`${Be}__`)),[Be])}},31707:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return x}});var ye=be(59301),Xe=be(19909),E={bigTips:"bigTips___uPRW3",item:"item___KMGDu"},pe=be(8591),Ae=be(95237),ue=Object.defineProperty,le=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,ie=Object.prototype.hasOwnProperty,oe=Object.prototype.propertyIsEnumerable,re=(b,te,ee)=>te 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={}))ie.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,ae(te)),a=(b,te,ee)=>new Promise((ce,de)=>{var he=ve=>{try{ge(ee.next(ve))}catch(me){de(me)}},fe=ve=>{try{ge(ee.throw(ve))}catch(me){de(me)}},ge=ve=>ve.done?ce(ve.value):Promise.resolve(ve.value).then(he,fe);ge((ee=ee.apply(b,te)).next())}),x=({description:b,code:te,showData:ee={},sendParams:ce={},allShow:de=!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}],fe=ge=>{const{setChatData:ve,setLoading:me,getData:Be,clearStatus:Se,typing:Te,setImageGenerator:we,renderChatItems:je,setSceneAwareness:xe}=ge;let Oe=he;return de||(Oe=he.filter(ze=>ze.show)),ye.createElement("div",{className:`${E.bigTips} mt10`},Oe.map((ze,Ze)=>ye.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Te){pe.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}xe(!1),we(!1),me(!0),Se();const Me=je(ze.query);Me[0].show=!1,Me[1].imageGenerator=!1,ve(Me),Be("",ne({type:ze.type,description:ze.description,query:ze.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},ce))}),key:Ze,className:E.item},ye.createElement(Ae.Z,{align:"middle"},ye.createElement("img",{className:"mr10",src:ze.img}),ye.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},ze.name)),ye.createElement("div",{className:"mt10",style:{color:"#434D6C"}},ze.des))))};return ye.createElement(Xe.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:de?!1:!(ee!=null&&ee.ai_q_and_a),headFunctionNode:fe,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:z(ne({},ce),{is_chat:!0}),topPercentage:(ce==null?void 0:ce.source)==="hack"?.52:void 0,headNode:ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"c-grey-333 font22"},ye.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F\u5934\u6B4C\u667A\u80FD\u52A9\u6559\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B\u3002"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},"\u6211\u53EF\u4EE5\u8FD0\u7528\u667A\u80FD\u5BA1\u9898\u7684\u529F\u80FD\uFF0C\u5E2E\u52A9\u60A8\u8F7B\u677E\u7406\u89E3\u5E76\u62C6\u89E3\u5B9E\u8DF5\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u6E05\u6670\u660E\u4E86\u7684\u89E3\u9898\u601D\u8DEF\u3002\u5F53\u60A8\u5728\u7F16\u5199\u4EE3\u7801\u8FC7\u7A0B\u4E2D\u9047\u5230\u95EE\u9898\u65F6\uFF0C\u6211\u53EF\u4EE5\u63D0\u4F9B\u4EE3\u7801\u8BCA\u65AD\u670D\u52A1\uFF0C\u5206\u6790\u60A8\u7684\u4EE3\u7801\u5E76\u7ED9\u51FA\u5177\u4F53\u7684\u4FEE\u6B63\u5EFA\u8BAE\u3002\u5982\u679C\u60A8\u9700\u8981\u8FDB\u4E00\u6B65\u7684\u5E2E\u52A9\uFF0C\u6211\u8FD8\u53EF\u4EE5\u63D0\u4F9B\u8BE6\u7EC6\u7684AI\u6307\u5BFC\uFF0C\u4E3A\u60A8\u91CF\u8EAB\u5B9A\u5236\u53C2\u8003\u7684\u89E3\u51B3\u65B9\u6848\u3002\u671F\u5F85\u4E0E\u60A8\u643A\u624B\u5171\u8FDB\uFF0C\u9AD8\u6548\u3001\u4F18\u8D28\u5730\u5B8C\u6210\u6BCF\u4E00\u9879\u5B9E\u8DF5\u4EFB\u52A1\uFF01"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},19909:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return Lt}});var ye=be(59301),Xe=be(8591),E=be(54580),pe=be(43418),Ae=be(6848),ue=be(92832),le=be(3113),ae=be(71418),se=be(64165),ie=be(14478),oe=be(43428),re=be(38854),ne=be(92310),z=be.n(ne),a=be(43276),y={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},x=be(59301),b=(xt,Wt,Ut)=>new Promise((Xt,on)=>{var dn=er=>{try{Mn(Ut.next(er))}catch(Fn){on(Fn)}},bn=er=>{try{Mn(Ut.throw(er))}catch(Fn){on(Fn)}},Mn=er=>er.done?Xt(er.value):Promise.resolve(er.value).then(dn,bn);Mn((Ut=Ut.apply(xt,Wt)).next())}),ee=({value:xt="",streamingStatus:Wt,onFinish:Ut,cancelIndex:Xt,time:on,loading:dn,loadAll:bn})=>{const[Mn,er]=(0,ye.useState)(""),[Fn,Dn]=(0,ye.useState)(!0),An=(0,ye.useRef)(xt),En=(0,ye.useRef)(Wt),kn=(0,ye.useRef)(0),br=(0,ye.useRef)(null),[vr,xr]=(0,ye.useState)(!1),ur=70;(0,ye.useEffect)(()=>{En.current=Wt},[Wt]),(0,ye.useEffect)(()=>{An.current=xt},[xt]),(0,ye.useEffect)(()=>{if(!Wt){er(An.current);return}return xr(!0),br.current=setInterval(cr,ur),()=>{clearInterval(br.current)}},[]),(0,ye.useEffect)(()=>{vr&&(er(An.current),clearInterval(br.current),xr(!1),Ut())},[Xt]);const cr=()=>b(void 0,null,function*(){const Qr=An.current[kn.current];Qr!==void 0?(er(Ur=>Ur+Qr),kn.current++,clearInterval(br.current),br.current=setInterval(cr,280/(An.current.length-kn.current))):En.current===!1&&(er(An.current),clearInterval(br.current),xr(!1),Ut())});return x.createElement("div",{className:`${y.reasoning} fadeIn animated`},x.createElement("div",{className:y.btn,onClick:()=>Dn(!Fn)},x.createElement("i",{className:"iconfont icon-shendusikao"}),on?x.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",on," \u79D2\uFF09"):x.createElement("span",null,"\u601D\u8003\u4E2D..."),Fn?x.createElement("b",{className:"iconfont icon-shouqi6"}):x.createElement("b",{className:"iconfont icon-zhankai6"})),dn&&x.createElement(ae.Z,{spinning:!0,className:"mt20"}),Fn&&!dn&&x.createElement("div",{className:y.content},Mn,vr?x.createElement("span",{className:"aiBlink"},"__"):""))},ce={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},de=be(81327),he=Object.defineProperty,fe=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,me=(xt,Wt,Ut)=>Wt in xt?he(xt,Wt,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):xt[Wt]=Ut,Be=(xt,Wt)=>{for(var Ut in Wt||(Wt={}))ge.call(Wt,Ut)&&me(xt,Ut,Wt[Ut]);if(fe)for(var Ut of fe(Wt))ve.call(Wt,Ut)&&me(xt,Ut,Wt[Ut]);return xt};const Se=xt=>React.createElement("svg",Be({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},xt),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 Te="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ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!0,configurable:!0,writable:!0,value:Ut}):xt[Wt]=Ut,Ze=(xt,Wt)=>{for(var Ut in Wt||(Wt={}))xe.call(Wt,Ut)&&ze(xt,Ut,Wt[Ut]);if(je)for(var Ut of je(Wt))Oe.call(Wt,Ut)&&ze(xt,Ut,Wt[Ut]);return xt};const Me=xt=>React.createElement("svg",Ze({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},xt),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 tt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM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AxMDQuMzcgMCAwIDEtMzMuMDA1IDguNTg2IDcxLjQ0NCA3MS40NDQgMCAwIDEtNDQuNTA0LTEzLjU0OGMtMTUuMjgyLTEyLjI4OC0yNi4yMy0xOS4xNDEtMzAuNzItNDAuNjQ1YTg5LjE2NyA4OS4xNjcgMCAwIDEgLjc4Ny0zMS40MjljMy45MzktMTcuNDg3LS4zOTMtMjguNzUtMTMuMzEyLTM4LjkxMi0xMC40NzYtOC4zNS0yMy43MS0xMC42MzQtMzguMzYtMTAuNjM0YTMyLjA2IDMyLjA2IDAgMCAxLTE0LjE3OS00LjE3NWMtNi4xNDQtMi45MTQtMTEuMTA2LTEwLjI0LTYuMzAxLTE5LjE0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",qe=be(59301),ct=({value:xt,onChange:Wt})=>{const[Ut,Xt]=(0,ye.useState)(!1),on=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:Te},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:tt}],dn=on.find(bn=>bn.key===xt);return qe.createElement("div",{className:ce.select},qe.createElement(de.Z,{size:10},qe.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),qe.createElement("div",{className:ce.box,onMouseLeave:()=>Xt(!1)},qe.createElement("div",{className:ce.text,onClick:()=>Xt(!0)},qe.createElement("img",{src:dn.img,width:20}),qe.createElement("span",null,dn.name),qe.createElement("b",{className:"iconfont icon-zhankai6"})),Ut&&qe.createElement("div",{className:ce.itemWrap},qe.createElement("aside",null,on.map(bn=>qe.createElement("div",{key:bn.key,className:`${ce.item} ${bn.key===xt?ce.active:""}`,onClick:Mn=>{Mn.stopPropagation(),Wt(bn.key),Xt(!1)}},qe.createElement("img",{src:bn.img,width:20}),qe.createElement("span",null,bn.name))))))))},nt={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},at=be(99064),ut=be(955),At={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},It=({src:xt,onClick:Wt,topPercentage:Ut=.62,draggableExtraNode:Xt})=>{const on=(0,ye.useRef)(null),dn=(0,ye.useRef)(!1),bn=(0,ye.useRef)(!1),[Mn,er]=(0,ye.useState)(window.innerHeight*Ut),[Fn,Dn]=(0,ye.useState)(!1),An=10;return(0,ye.useEffect)(()=>{if(on.current){let En=function(ur){var cr;dn.current=!0,xr=ur.pageY,vr=ur.pageY-(((cr=on.current)==null?void 0:cr.getBoundingClientRect().top)||0),(0,ut.kk)("none"),document.onselectstart=function(){return!1}},kn=function(){dn.current&&!bn.current&&Wt&&Wt(),dn.current=!1,bn.current=!1,(0,ut.kk)("auto"),document.onselectstart=null},br=function(ur){var cr;if(dn.current){const Ur=ur.pageY-vr,Hr=window.innerHeight-(((cr=on.current)==null?void 0:cr.offsetHeight)||0)-50,di=50;if(!bn.current&&Math.abs(xr-ur.pageY)>An&&(bn.current=!0),bn.current){let aa=Math.max(di,Math.min(Ur,Hr));er(aa)}}},vr=0,xr=0;return on.current.addEventListener("mousedown",En),document.addEventListener("mousemove",br),document.addEventListener("mouseup",kn),()=>{var ur,cr;(cr=(ur=on==null?void 0:on.current)==null?void 0:ur.removeEventListener)==null||cr.call(ur,"mousedown",En),document.removeEventListener("mousemove",br),document.removeEventListener("mouseup",kn)}}},[Wt]),(0,ye.useEffect)(()=>{const En=()=>{er(window.innerHeight*Ut)};return window.addEventListener("resize",En),()=>{window.removeEventListener("resize",En)}},[Ut]),ye.createElement("div",{className:At.draggableImage,style:{top:`${Mn}px`,display:Fn?"none":"block",cursor:dn.current?"grabbing":"grab"},ref:on},Xt,ye.createElement("img",{className:At.img,src:xt,width:60,draggable:"false"}),ye.createElement("i",{className:`iconfont icon-tupianguanbi ${At.close}`,onMouseUp:En=>{En.stopPropagation(),Dn(!0)}}))},gt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIg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bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",Pe=be(3294),ke=be(56102),Ve=be(24544),Qe=be(58617),De=be(32050),Ye=Object.defineProperty,Ue=Object.defineProperties,Ie=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,St=(xt,Wt,Ut)=>Wt in xt?Ye(xt,Wt,{enumerable:!0,configurable:!0,writable:!0,value:Ut}):xt[Wt]=Ut,bt=(xt,Wt)=>{for(var Ut in Wt||(Wt={}))rt.call(Wt,Ut)&&St(xt,Ut,Wt[Ut]);if(Ne)for(var Ut of Ne(Wt))ht.call(Wt,Ut)&&St(xt,Ut,Wt[Ut]);return xt},Bt=(xt,Wt)=>Ue(xt,Ie(Wt)),Mt=(xt,Wt,Ut)=>new Promise((Xt,on)=>{var dn=er=>{try{Mn(Ut.next(er))}catch(Fn){on(Fn)}},bn=er=>{try{Mn(Ut.throw(er))}catch(Fn){on(Fn)}},Mn=er=>er.done?Xt(er.value):Promise.resolve(er.value).then(dn,bn);Mn((Ut=Ut.apply(xt,Wt)).next())}),Lt=({title:xt="\u5934\u6B4CAI",placeholder:Wt,hideUpload:Ut,hideInputBox:Xt,aiIcon:on=gt,userIcon:dn=ft,dragIcon:bn=$e,children:Mn,fetchUrl:er,fetchData:Fn={},extraAnswerAction:Dn,showDefaultTips:An=!0,onOpen:En,onClose:kn,loadingOption:br,showPreference:vr=!1,initMessage:xr,customRequest:ur,visible:cr,width:Qr=1200,isCheckRestrictNumber:Ur=!1,headNode:Hr,headFunctionNode:di,showRedraw:aa,showEdit:Oi,promptPropName:xi="prompt",topPercentage:Xn,showSwitchingModel:Lr=!1,showImageGenerator:Ht=!1,showLookHistory:nn=!1,fetchListObject:cn,customPreference:tr,customDataNode:Jn,showAddSession:Un,historyId:Br,draggableExtraNode:ri,drawerExtraNode:Mr,menuExtraFunctionNode:zr,showSceneAwareness:_i=!1})=>{var ar;const[Gr,Fi]=(0,ye.useState)(!1),[ir,Rr]=(0,ye.useState)("qwen-max"),[jr,Si]=(0,ye.useState)([]),[Hi,Ji]=(0,ye.useState)(!1),[Na,ba]=(0,ye.useState)(!1),[fa,Ti]=(0,ye.useState)(!1),[Gn,zi]=(0,ye.useState)([]),[qn,oa]=(0,ye.useState)(""),[no,Gi]=(0,ye.useState)(0),[ji,Pr]=(0,ye.useState)(void 0),[Yr,Ei]=(0,ye.useState)(!1),[Wr,wa]=(0,ye.useState)(null),[ca,Wa]=(0,ye.useState)(""),Sa=(0,ye.useRef)(),yi=(0,ye.useRef)(null),vo=(0,ye.useRef)(null),[sr,Ci]=(0,ye.useState)(!1),[qi,or]=(0,ye.useState)(!1),[Nr,fi]=(0,ye.useState)(!1),[hi,Qa]=(0,ye.useState)(!1),[Mi,Ba]=(0,ye.useState)(0),Ia=(0,ye.useRef)(null),Yi=(0,ye.useRef)(!1),ra=(0,ye.useRef)(null),[Ta,Ha]=(0,ye.useState)(void 0),[Ho,ps]=(0,ye.useState)(!0),[_o,fs]=(0,ye.useState)(Qr-28),[Ko,ml]=(0,ye.useState)(!1),[pn,Hn]=(0,ye.useState)(!0),[Fr,dr]=(0,ye.useState)([]),Ar=(0,ye.useRef)([]),pr=(0,ye.useRef)(!1),wr=_o-22,Dr=qn==null?void 0:qn.split(` `).length,{onAdd:Or,onGetList:$r,onListClick:Kn,onListDelete:ii,onListDealData:li}=cn||{},Ki={maxCount:10,showUploadList:!1,withCredentials:!0,fileList:jr,multiple:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png,.xlsx,.xls",beforeUpload:On=>{var oi,Li,ci,ki;const Ca=(ki=(ci=(Li=(oi=On==null?void 0:On.name)==null?void 0:oi.split("."))==null?void 0:Li.slice(-1))==null?void 0:ci[0])==null?void 0:ki.toLowerCase(),Ka=["doc","docx","md","pdf","txt","jpg","png","xlsx","xls"].includes(Ca);return On.size==0?(Xe.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),E.default.LIST_IGNORE):Ka||(Xe.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u3001xlsx\u3001xls\u6587\u4EF6"),E.default.LIST_IGNORE)},onChange:({fileList:On})=>{Si(On)},action:`${(ar=Pe.Z)==null?void 0:ar.API_SERVER}/api/intelligent_imports/upload_file.json`};(0,ye.useEffect)(()=>{if(!Gn.length||!Sa.current)return;const On=Gn[Gn.length-1];On!=null&&On.loading&&(Sa.current.scrollTop=Sa.current.scrollHeight)},[Gn.length]),(0,ye.useEffect)(()=>{if(!Sa.current||!Ia.current)return;const On=new IntersectionObserver(([oi])=>{ps(oi.isIntersecting)},{root:Sa.current,rootMargin:"70px",threshold:0});return On.observe(Ia.current),()=>{Ia.current&&On.unobserve(Ia.current)}},[Sa.current,Ia.current]),(0,ye.useEffect)(()=>{if(!sr)return;const On=Sa.current,oi=ra.current;Yi.current=!1;const Li=()=>{const{scrollTop:ki,scrollHeight:Ca,clientHeight:sa}=On,Ka=ki+sa===Ca;Yi.current=!0,Ka&&(Yi.current=!1)};On.addEventListener("wheel",Li);const ci=new ResizeObserver(()=>{Yi.current||(On.scrollTop=On.scrollHeight)});return ci.observe(oi),()=>{var ki;ci.unobserve(oi),(ki=On==null?void 0:On.removeEventListener)==null||ki.call(On,"wheel",Li)}},[sr]),(0,ye.useEffect)(()=>{!sr&&Ar.current.length&&(zi([...Gn,...Ar.current]),Ar.current=[])},[sr]),(0,ye.useEffect)(()=>{if(!Sa.current)return;const On=new ResizeObserver(()=>{fs(Sa.current.offsetWidth)});return On.observe(Sa.current),()=>{Sa.current&&On.unobserve(Sa.current)}},[Sa.current]),(0,ye.useEffect)(()=>{typeof cr=="boolean"&&Fi(cr)},[cr]),(0,ye.useEffect)(()=>{var On;if(yi.current&&Wr!==null){yi.current.focus();const oi=(On=yi.current.resizableTextArea)==null?void 0:On.textArea;oi&&(oi.selectionStart=oi.selectionEnd=oi.value.length)}},[Wr]),(0,ye.useEffect)(()=>{Dr<5&&Ei(!1)},[Dr]),(0,ye.useEffect)(()=>{Gr&&xr&&(zi(ui(xr)),Ji(!0),Wi(xr,{history:[]})),Gr&&(Zi(),Br?rs(Br):Un&&!Ta&&Es()),Gr||Jr()},[Gr]);const ui=(On="",oi=[])=>{const Li=Date.now();return[{text:On,key:Li,sender:"user",fileList:oi,show:!0},{loading:!0,key:Li,sender:"AI",show:!0,model:ir,imageGenerator:Nr,thinkingEnabled:qi}]},Jr=()=>{Wa(""),wa(null),Si([]),oa("")},Ea=()=>{if(En){En({chatData:Gn,setChatData:zi,setLoading:Ji,getData:Wi,renderChatItems:ui,handleAdd:Es,identifier:Ta});return}Fi(!0)},Ma=()=>{if(Hn(!0),kn){kn();return}Fi(!1)},zo=()=>{Ei(!Yr)},Zi=()=>Mt(void 0,null,function*(){if(!Ur)return;const On=yield(0,at.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(On==null?void 0:On.status)===0&&(On==null?void 0:On.total_number)!==-1&&(Gi((On==null?void 0:On.total_number)-(On==null?void 0:On.remaining_number)),Pr(On==null?void 0:On.total_number))}),jo=()=>{pe.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:ye.createElement("div",null,ye.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ye.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u7528",ji,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},pa=On=>On.reduce((Li,ci)=>{if(ci.sender==="user"){const ki=On.find(Ca=>Ca.key===ci.key&&Ca.sender==="AI");ki&&(ki!=null&&ki.text)&&!(ki!=null&&ki.error)&&Li.push({question:ci.text,answer:ki.text})}return Li},[]),Wi=(...On)=>Mt(void 0,[...On],function*(oi="",Li={},ci=Gn){if(ur&&(yield ur({mes:oi,setChatData:zi,fileList:jr,body:Li,checkNum:Zi,setLoading:Ji,bodyChatData:ci,setTyping:Ci,setImageGenerator:fi})),!ur){const ki=jr==null?void 0:jr.map(za=>{var oo;return(oo=za==null?void 0:za.response)==null?void 0:oo.file_id}),Ca=Li.history||pa(ci),sa=bt(bt({identifier:Ta,response_mode:"streaming",model:ir,scene_awareness:hi,thinking_enabled:qi,image_generator:Nr,file_ids:ki,history:Ca,[xi]:oi},Fn),Li),Ka=Object.fromEntries(Object.entries(sa).filter(([za,oo])=>oo!==void 0));vo.current=new Ve.Z(Pe.Z.API_SERVER+er,Ka),yield new Promise((za,oo)=>{let Oo=null,Zr=null;vo.current.on("data",el=>{Ci(!0);const{chunk:{content:so,type:Cs,created:Xo,msg:tl}}=el,ka=tl==="error";Cs==="thinking"&&(Oo=Oo||Xo,zi(Qs=>[...Qs].map((Ps,nl)=>nl===Qs.length-1?Bt(bt({},Ps),{reasoning:(Ps.reasoning||"")+so,loading:!1,hideAnswer:!0,error:ka}):Ps))),Cs==="text"&&(Zr=Zr||Xo,zi(Qs=>[...Qs].map((Ps,nl)=>nl===Qs.length-1?Bt(bt({},Ps),{text:(Ps.text||"")+so,loading:!1,startTime:Oo,endTime:Zr,error:ka}):Ps)))}),vo.current.on("done",()=>{za()}),vo.current.on("error",()=>{const el="\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!";zi(so=>[...so].map((Cs,Xo)=>Xo===so.length-1?Bt(bt({},Cs),{text:el,loading:!1,error:!0}):Cs)),za()}),vo.current.on("cancelled",()=>{za()}),vo.current.startStream()})}Zi(),Ji(!1)}),$i=On=>{oa(On.target.value)},ta=(On,oi)=>{if(Jr(),Ji(!0),On==="edit"){Ar.current=Gn.slice(oi+2);const Li=Gn.splice(oi),{fileList:ci}=(Li==null?void 0:Li[0])||{},ki=ci.map(sa=>{var Ka;return(Ka=sa.response)==null?void 0:Ka.file_id}),Ca={history:pa(Gn),file_ids:ki,edit:!0};zi([...Gn,...ui(ca,ci)]),Wi(ca,Ca,Gn)}if(On==="redraw"){Ar.current=Gn.slice(oi+1);const Li=Gn.splice(oi-1),{text:ci,fileList:ki}=(Li==null?void 0:Li[0])||{},Ca=ki.map(Ka=>{var za;return(za=Ka.response)==null?void 0:za.file_id}),sa={history:pa(Gn),file_ids:Ca,edit:!0};zi([...Gn,...ui(ci,ki)]),Wi(ci,sa,Gn)}},Qi=()=>{if(qn.trim()!==""){Jr(),Ji(!0);const On=jr.filter(oi=>oi.status==="done");zi([...Gn,...ui(qn,On)]),Wi(qn)}},co=On=>{if(On.shiftKey){if(On.key==="Enter")return}else if(On.key==="Enter"){if(On.preventDefault(),ao||pr.current)return;Qi()}},Za=(On,oi)=>{var Li,ci;let ki=!1;Oi===!0?ki=!0:Oi==="last"&&(ki=Gn.reduce((Ka,za,oo)=>za.sender==="user"?oo:Ka,-1)===oi);const Ca=oi===Wr;return ye.createElement("div",{className:nt.li,style:{width:wr}},ye.createElement("div",{className:nt.avatarIcon},ye.createElement("img",{className:nt.img,src:dn})),ye.createElement("div",{className:nt.content},!!((Li=On==null?void 0:On.fileList)!=null&&Li.length)&&ye.createElement("div",{className:nt.fileWrap},(ci=On.fileList)==null?void 0:ci.map((sa,Ka)=>{var za,oo;return ye.createElement("div",{key:Ka,className:nt.file},ye.createElement("img",{src:be(90034)(`./${((oo=(za=sa==null?void 0:sa.name)==null?void 0:za.split("."))==null?void 0:oo.pop())||"txt"}.png`),width:20,className:"mr10"}),ye.createElement("aside",null,ye.createElement(Ae.Z,{title:sa==null?void 0:sa.name},ye.createElement("div",{className:nt.fileName},sa==null?void 0:sa.name)),ye.createElement("div",{className:"c-grey-999 font12"},(0,ut.RD)(sa==null?void 0:sa.size))))})),ye.createElement("div",{className:nt.borderBox},Ca?ye.createElement(ue.default.TextArea,{value:ca,ref:yi,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:sa=>Wa(sa.target.value)}):ye.createElement("div",{className:nt.text},On==null?void 0:On.text)),Ca?ye.createElement("div",{className:nt.action},ye.createElement(le.ZP,{onClick:()=>{Wa(""),wa(null)},size:"small"},"\u53D6\u6D88"),ye.createElement(le.ZP,{disabled:!ca.trim(),onClick:()=>ta("edit",oi),type:"primary",size:"small"},"\u786E\u8BA4")):ye.createElement("div",{className:nt.action},ye.createElement(ke.CopyToClipboard,{text:(On==null?void 0:On.text)||"",onCopy:()=>Xe.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(Ae.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),ki&&!Hi&&ye.createElement(Ae.Z,{title:"\u7F16\u8F91"},ye.createElement("i",{onClick:()=>{wa(oi),Wa((On==null?void 0:On.text)||"")},className:"iconfont icon-bianji10 font14"})))))},So=(On,oi)=>{let Li=!1;aa===!0?Li=!0:aa==="last"&&(Li=Gn.reduce((Ca,sa,Ka)=>sa.sender==="AI"?Ka:Ca,-1)===oi);let ci="";return On!=null&&On.source?ci=On==null?void 0:On.source:(On==null?void 0:On.model)==="deepseek-r1"?ci="\u7531deepseek\u751F\u6210":(On==null?void 0:On.model)==="qwen-max"&&(ci="\u7531\u901A\u4E49\u5343\u95EE\u751F\u6210"),ye.createElement("div",{className:nt.li,style:{width:wr}},ye.createElement("div",{className:nt.avatarIcon},ye.createElement("img",{className:nt.img,src:on})),ye.createElement("div",{className:nt.content},ye.createElement("div",{className:nt.borderBox},On.loading&&ye.createElement(ye.Fragment,null,On!=null&&On.imageGenerator?ye.createElement("div",{className:nt.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",ye.createElement("div",{className:"ai-loading"})):!(On!=null&&On.thinkingEnabled)&&ye.createElement("div",null,ye.createElement("div",{className:nt.loading},ye.createElement("div",{className:nt.dot}),ye.createElement("div",{className:nt.dot}),ye.createElement("div",{className:nt.dot})),ye.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(br==null?void 0:br.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"))),(On==null?void 0:On.thinkingEnabled)&&ye.createElement(ee,{time:On==null?void 0:On.time,cancelIndex:Mi,loading:On.loading,streamingStatus:!(On!=null&&On.text),onFinish:()=>{Ba(0),zi(ki=>[...ki].map((Ca,sa)=>sa===ki.length-1?Bt(bt({},Ca),{hideAnswer:!1,time:Ca.startTime?Ca.endTime-Ca.startTime:null}):Ca))},value:On==null?void 0:On.reasoning}),!!(On!=null&&On.text)&&!On.hideAnswer&&ye.createElement(a.Z,{cancelIndex:Mi,streamingStatus:Hi,loadImage:!!(On!=null&&On.imageGenerator),onFinish:()=>Mt(void 0,null,function*(){Ba(0),setTimeout(()=>Ci(!1),0)}),value:On==null?void 0:On.text})),!!(On!=null&&On.text)&&ci&&ye.createElement("div",{className:nt.source},ci),ye.createElement("div",{className:nt.action},Dn==null?void 0:Dn(On,oi,{onMenuClick:rs}),ye.createElement(ke.CopyToClipboard,{text:String((On==null?void 0:On.text)||""),onCopy:()=>Xe.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ye.createElement(Ae.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),vr&&!Hi&&ye.createElement(ye.Fragment,null,ye.createElement(Ae.Z,{title:"\u559C\u6B22"},ye.createElement("i",{style:On!=null&&On.like?{color:"#FA8D30"}:{},onClick:()=>Ao("like",!(On!=null&&On.like),oi),className:"iconfot icon-yijiejue font15"})),ye.createElement(Ae.Z,{title:"\u4E0D\u559C\u6B22"},ye.createElement("i",{style:On!=null&&On.dislike?{color:"#e86d7c"}:{},onClick:()=>Ao("dislike",!(On!=null&&On.dislike),oi),className:"iconfot icon-weijiejuezhengchang font15"}))),Li&&!Hi&&ye.createElement(Ae.Z,{title:"\u91CD\u65B0\u751F\u6210"},ye.createElement("i",{onClick:()=>ta("redraw",oi),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},Ao=(On,oi,Li)=>Mt(void 0,null,function*(){if(tr){const ci=Gn.slice(0,Li+1),Ca=pa(ci).length;yield tr({type:On,value:oi,index:Li,identifier:Ta,objectIndex:Ca})}zi(ci=>(ci[Li][On]=oi,oi&&(ci[Li][On==="like"?"dislike":"like"]=!1),[...ci]))}),Xa=()=>{var On,oi;Ba(1),(oi=(On=vo.current)==null?void 0:On.cancelRequest)==null||oi.call(On),Ji(!1),Ci(!1)},Es=()=>Mt(void 0,null,function*(){var On,oi,Li;(oi=(On=vo.current)==null?void 0:On.cancelRequest)==null||oi.call(On),Jr(),zi([]),Ji(!0);const ci=yield Or();(ci==null?void 0:ci.status)===0&&Ha((Li=ci==null?void 0:ci.data)==null?void 0:Li.identifier),Ji(!1),Ci(!1)}),Js=()=>Mt(void 0,null,function*(){var On;Ti(!0);const oi=yield $r();(oi==null?void 0:oi.status)===0&&dr(((On=oi==null?void 0:oi.data)==null?void 0:On.list)||[]),Ti(!1)}),rs=(...On)=>Mt(void 0,[...On],function*(oi=Ta){var Li,ci,ki,Ca;(ci=(Li=vo.current)==null?void 0:Li.cancelRequest)==null||ci.call(Li),Jr(),ba(!0);const sa=yield Kn(oi);if(sa.status===0){const Ka=li(((ki=sa==null?void 0:sa.data)==null?void 0:ki.messages)||[]);zi(Ka),ba(!1),Ha((Ca=sa==null?void 0:sa.data)==null?void 0:Ca.identifier);return}zi([]),ba(!1)}),$s=(On,oi)=>Mt(void 0,null,function*(){(yield ii(On)).status===0&&(Xe.ZP.success("\u5220\u9664\u6210\u529F"),oi===Ta&&Es(),Js())}),fo=()=>ye.createElement("div",{className:nt.menuWarp},ye.createElement("h4",null,"\u5386\u53F2\u5BF9\u8BDD"),ye.createElement(ae.Z,{spinning:fa},!Fr.length&&ye.createElement(se.Z,{style:{width:250,paddingBottom:30},image:se.Z.PRESENTED_IMAGE_SIMPLE}),!!Fr.length&&ye.createElement("div",{className:nt.menu},Fr.map(function(On,oi){return ye.createElement("aside",{className:z()(Ta===On.identifier&&nt.active),key:On.id,onClick:()=>rs(On.id)},ye.createElement("div",{className:nt.menuText},ye.createElement(Ae.Z,{title:On==null?void 0:On.question},ye.createElement("span",null,On==null?void 0:On.question)),zr&&zr(On)),ye.createElement("div",{className:nt.menuDel,onClick:Li=>Li.stopPropagation()},ye.createElement(ie.Z,{title:"\u63D0\u793A",description:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u672C\u6761\u5BF9\u8BDD\u5417\uFF1F",onConfirm:()=>$s(On.id,On.identifier),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88"},ye.createElement("i",{className:"iconfont icon-shanchu14 delete-hover font14"}))))})))),pi=no>=ji,ea=Ut||jr.length>9,ao=jr.some(On=>On.status==="uploading")||Hi||sr,Ja=Nr||qi||hi||!!jr.length;return ye.createElement("div",null,Mn?ye.createElement("div",{onClick:Ea},Mn):ye.createElement(It,{draggableExtraNode:ri,src:bn,onClick:Ea,topPercentage:Xn}),ye.createElement(oe.Z,{open:Gr,width:Ko?"100%":Qr,afterOpenChange:On=>{On&&Hn(!1)},contentWrapperStyle:pn?{}:{transition:"none"},extra:ye.createElement("div",{className:nt.head},Mr,Lr&&ye.createElement(ct,{value:ir,onChange:On=>{or(!1),fi(!1),Rr(On)}}),nn&&ye.createElement(ye.Fragment,null,ye.createElement(re.Z,{dropdownRender:fo,onOpenChange:On=>{On&&Js()},placement:"bottomLeft",arrow:!0},ye.createElement("div",{className:nt.headBtn},ye.createElement("i",{className:"icon-lishiduihua1 font14 mr10"}),"\u5386\u53F2\u5BF9\u8BDD"))),Un&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:nt.headBtn,onClick:Es},ye.createElement("i",{className:"icon-xinjianduihua font14 mr10"}),"\u65B0\u5EFA\u5BF9\u8BDD")),ye.createElement(Ae.Z,{title:Ko?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F"},ye.createElement("div",{className:nt.headBtn,style:{padding:"0 12px"},onClick:()=>ml(!Ko)},Ko&&ye.createElement("i",{className:"iconfont icon-tuichuquanping3"}),!Ko&&ye.createElement("i",{className:"iconfont icon-quanping4"})))),title:ye.createElement("span",{className:"c-grey-333 font16"},xt),onClose:Ma,bodyStyle:{paddingRight:4}},ye.createElement("div",{className:z()(nt.wrap,Gr&&"body-overflow-hidden")},ye.createElement("div",{ref:Sa,className:nt.chatContainer},An&&ye.createElement("div",{className:`${nt.li} mb20`,style:{width:wr}},ye.createElement("div",{className:nt.avatarIcon},ye.createElement("img",{className:nt.img,src:on})),ye.createElement("div",{className:nt.content},ye.createElement("div",{className:nt.borderBox},Hr,di==null?void 0:di({isDisabledNum:pi,checkNumModal:jo,checkNum:Zi,onClose:Ma,setChatData:zi,setLoading:Ji,getData:Wi,clearStatus:Jr,typing:sr,setImageGenerator:fi,renderChatItems:ui,setSceneAwareness:Qa})))),ye.createElement("div",{ref:ra},ye.createElement(ae.Z,{spinning:Na,className:"mt20"},Gn==null?void 0:Gn.map((On,oi)=>ye.createElement(ye.Fragment,{key:On.key+oi},On.show&&ye.createElement(ye.Fragment,null,On.sender==="user"&&Za(On,oi),On.sender==="AI"&&So(On,oi),Jn&&!["AI","user"].includes(On.sender)&&Jn(On,oi,{width:wr})))))),!Ho&&ye.createElement("div",{className:nt.backBottom,onClick:()=>{Yi.current=!1,Sa.current.scrollTop=Sa.current.scrollHeight}},ye.createElement("i",{className:"iconfont icon-huidaodibu"})),ye.createElement("div",{ref:Ia})),!Xt&&ye.createElement("div",{className:z()(nt.footerContainer,Yr&&nt.full,Ja&&nt.footerContainerSelected)},ye.createElement("div",{className:nt.btnWrp},_i&&ye.createElement(Ae.Z,{title:"\u667A\u80FD\u611F\u77E5\u5F53\u524D\u60C5\u5883\uFF0C\u63D0\u4F9B\u9488\u5BF9\u6027\u89E3\u7B54"},ye.createElement("div",{onClick:()=>Qa(!hi),className:z()(nt.btn,hi&&nt.btnActive)},ye.createElement("i",{className:"iconfont icon-changjingganzhi mr10 font12"}),"\u573A\u666F\u611F\u77E5")),ir==="deepseek-r1"&&ye.createElement(Ae.Z,{title:"\u8C03\u7528\u65B0\u6A21\u578B DeepSeek-R1\uFF0C\u89E3\u51B3\u63A8\u7406\u95EE\u9898"},ye.createElement("div",{onClick:()=>or(!qi),className:z()(nt.btn,qi&&nt.btnActive)},ye.createElement("i",{className:"iconfont icon-shendusikao mr10 font12"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),Ht&&ir==="qwen-max"&&ye.createElement("div",{onClick:()=>fi(!Nr),className:z()(nt.btn,Nr&&nt.btnActive)},ye.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10 font12"}),"\u56FE\u50CF\u751F\u6210"),jr.map(On=>ye.createElement("div",{key:On.uid},(On==null?void 0:On.status)==="uploading"&&ye.createElement(ae.Z,{indicator:ye.createElement(Qe.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),ye.createElement("span",{title:On==null?void 0:On.name,className:"mr10"},(0,ut.Pq)(On.name,20)),ye.createElement("i",{onClick:()=>Si(oi=>oi.filter(Li=>Li.uid!==On.uid)),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font12"})))),ye.createElement(Ae.Z,{title:pi&&ye.createElement("div",null,ye.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ye.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F",ji,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},ye.createElement("div",{className:z()(nt.inputContainer,Dr>4&&nt.lineFour,pi&&nt.disabledInput)},ye.createElement(E.default,Bt(bt({},Ki),{className:`${ea&&"hide"}`}),ye.createElement(le.ZP,{className:nt.uploadBtn,icon:ye.createElement(De.Z,{style:{fontSize:18,color:"#FFF"}})})),ye.createElement(ue.default.TextArea,{rows:Dr>4?4:Dr,placeholder:Wt||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:qn,bordered:!1,style:ea?{paddingLeft:0,marginLeft:0}:{},onChange:$i,onPressEnter:co,onCompositionStart:()=>{pr.current=!0},onCompositionEnd:()=>{pr.current=!1}}),sr?ye.createElement(Ae.Z,{title:"\u505C\u6B62\u751F\u6210"},ye.createElement("div",{className:`iconfont icon-tingzhihuida ${nt.cancelBtn}`,onClick:Xa})):ye.createElement(le.ZP,{className:(qn==null?void 0:qn.trim())===""?nt.sendBtnDisabled:nt.sendBtn,icon:ye.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:ao,onClick:Qi}),Dr>4&&ye.createElement("span",{className:nt.fullIcon,onClick:zo},Yr&&ye.createElement("span",{className:"iconfont icon-shousuo"}),!Yr&&ye.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},67054:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return Se},U:function(){return ve}});var ye=be(59301),Xe=be(31797),E=be(43418),pe=be(1710),Ae=be(4901),ue=be(94941),le=be(61186),ae=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"},ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2aHST34fTQjDeQqplOfqibsp4/QOqjztXcMczVHPWLvQS4g0IgclH0eDm7HvsBmca/pBvI5/OUVZRRXQ9l1bupqHq9c+NvOuiqXlqAlwA3DBBEe655J71lX2F3T0Q64yjLQFkVuHREqttRXfkYVa2nO3fcrmGs7qhe5CXAHeTyR7eSpmHJvQxWH0dqLJSPgXQjpFuIgTe4ISLT42ia8XKXe+vNRzWahnHwLwHuYID7ERW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xtEymOUsgY85kLOqMTmZJyRi4sifgOjnGUj+7sM9CO2NZVH5WMjVGo3i5fBm85z8EqZVNi37uklJk+iSriU9a4ljNWb2axtq2vU7KxeCOg6guVoRFXn8J8u83sc4wTu2tl7RD9eVrUIxE61FwndxXk7xplljlY2oFkN6o43oyZpAZnuemIdKWWTYFCTAbuOQDk9uD2zoDSocAS/0cRPTjAaw7/rOjJeR1bvOlaAPgdMjdr4St0/FgcIG5YoAtDUb37G1bzrDZX2UNrxIE6TkwoL/8d0321TbvzKSI5Z4CW8Gpzby/NrFk89H0N9C9S6shR23b9dUsq+oSKaJcyg7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",re=be(955),ne=be(89070),z=be(37518),a=be(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,de=(Te,we,je)=>we in Te?y(Te,we,{enumerable:!0,configurable:!0,writable:!0,value:je}):Te[we]=je,he=(Te,we)=>{for(var je in we||(we={}))ee.call(we,je)&&de(Te,je,we[je]);if(te)for(var je of te(we))ce.call(we,je)&&de(Te,je,we[je]);return Te},fe=(Te,we)=>x(Te,b(we)),ge=(Te,we,je)=>new Promise((xe,Oe)=>{var ze=tt=>{try{Me(je.next(tt))}catch(qe){Oe(qe)}},Ze=tt=>{try{Me(je.throw(tt))}catch(qe){Oe(qe)}},Me=tt=>tt.done?xe(tt.value):Promise.resolve(tt.value).then(ze,Ze);Me((je=je.apply(Te,we)).next())});const ve=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:me}=Xe.default,Be=({exercise:Te,socket:we,dispatch:je,onStartScreenshot:xe,onCloseScreenshot:Oe,handleToDetail:ze})=>{const[Ze,Me]=E.default.useModal(),tt=(0,ye.useRef)(),[qe,lt]=(0,ye.useState)(!0),ct=(0,ye.useRef)(!1),nt=(0,ne.useParams)();(0,ye.useEffect)(()=>{var Ne,rt,ht;if(document.addEventListener((0,Ae.gH)(),Ue,!1),window.addEventListener("blur",De,!1),(Ne=Te.exerciseUserInfo)!=null&&Ne.screen_open&&(0,Ae.vp)()&<(!1),(rt=Te.exerciseUserInfo)!=null&&rt.screen_open&&!(0,Ae.vp)()){(0,re.RG)(" ",!0);const St=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Te.exerciseUserInfo.screen_sec+3:Te.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"}},Te.exerciseUserInfo.screen_num-Te.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:()=>ge(void 0,null,function*(){var bt;const Bt=yield Ye();(bt=tt.current)==null||bt.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 bt;(0,re.RG)(" ",!0),(bt=tt.current)==null||bt.destroy(),lt(!1),(0,Ae.Dj)(document.body),document.getElementById("root").addEventListener("click",ut,!1)}})}return(ht=Te.exerciseUserInfo)!=null&&ht.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",De,!1)}},[]),(0,ye.useEffect)(()=>{setTimeout(()=>{Te.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",ut,!1),document.removeEventListener((0,Ae.gH)(),Ue,!1))},500),At()},[Te.actionTabs]),(0,ye.useEffect)(()=>{setTimeout(()=>{Te.exerciseUserInfo.used_screen_num>Te.exerciseUserInfo.screen_num&&Ve()},500)},[Te.exerciseUserInfo]);const at=()=>ge(void 0,null,function*(){const Ne=yield Ye();setTimeout(()=>{var rt,ht;(rt=tt.current)==null||rt.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"},(ht=Te.exerciseUserInfo)==null?void 0:ht.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>ge(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=()=>ge(void 0,null,function*(){const Ne=yield je({type:"exercise/getExerciseUserInfo",payload:he({},nt)});return Ne==null?void 0:Ne.data}),wt=Ne=>ge(void 0,null,function*(){var rt;if((rt=Te.exerciseUserInfo)!=null&&rt.screen_at){const St=yield(0,ue.ck)(fe(he({},nt),{reset:!0}));if((St==null?void 0:St.status)===-6)return}const ht=yield(0,ue.oy)({id:nt.categoryId});if(ht!=null&&ht.is_commit){E.default.destroyAll(),yield It(),Qe(!0);return}else ke(Ne+1)}),It=()=>ge(void 0,null,function*(){var Ne;const rt=ae()(),ht=Te.exerciseUserInfo.screen_sec;if($e.current.length>0){const St=rt.format("YYYY-MM-DD HH:mm:ss");let bt=Math.floor(rt.diff(ae()($e.current[0].start))/1e3);const Bt=$e.current.length;bt/ht>>0>Bt&&(bt=(Bt+1)*ht-1),yield(0,ue.P8)(nt.categoryId,{exercise_user_id:(Ne=Te.exerciseUserInfo)==null?void 0:Ne.exercise_user_id,time:St,time_long:bt,count:Bt})}$e.current=[]}),gt=(0,ye.useRef)(0),ft=(0,ye.useRef)(0),$e=(0,ye.useRef)([]),Pe=(0,ye.useRef)(!1),ke=Ne=>ge(void 0,null,function*(){var rt;ct.current||(xe(),E.default.destroyAll(),gt.current=ae()().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:ie,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},((rt=Te.exerciseUserInfo)==null?void 0:rt.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:()=>{ft.current=ae()().valueOf(),$e.current.push({start:gt.current,end:ft.current}),wt(Ne)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Te.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),Oe(),tt.current.destroy(),Pe.current=!1}}))}),Ve=()=>ge(void 0,null,function*(){E.default.destroyAll(),(yield(0,ue.VL)({categoryId:nt.categoryId,commit_method:1}))&&Qe()}),Qe=(Ne=!1)=>ge(void 0,null,function*(){var rt,ht;if(document.removeEventListener((0,Ae.gH)(),Ue,!1),(0,Ae.BU)(),E.default.destroyAll(),ct.current=!0,Ne){const St=yield(0,ue.Yu)(nt.categoryId,{exercise_user_id:(rt=Te.exerciseUserInfo)==null?void 0:rt.exercise_user_id});Ze.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),(ht=Te.exerciseUserInfo)==null?void 0:ht.screen_num,(0,z._V)(z.CP.recordScreen19)),a.createElement(pe.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:()=>{Oe(),ze()},onOk:()=>{ne.history.push(`/classrooms/${nt.coursesId}/exercisenotice/${nt.categoryId}/users/${nt.login}?isShowApply=true`)}})}else Ze.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:()=>{ze()}})}),De=Ne=>{(0,Ae.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Pe.current&&(0,Ae.BU)()},Ye=()=>ge(void 0,null,function*(){var Ne;if((Ne=Te.exerciseUserInfo)!=null&&Ne.screen_at){const St=yield(0,ue.ck)(fe(he({},nt),{reset:!0}));if((St==null?void 0:St.status)===-6)return}const rt=yield(0,ue.oy)({id:nt.categoryId});if(rt!=null&&rt.is_commit){Qe();return}return yield At()}),Ue=()=>ge(void 0,null,function*(){var Ne;if((0,re.RG)(" ",!0),(0,Ae.vp)()){if((Ne=Te.exerciseUserInfo)!=null&&Ne.screen_at){var rt=yield(0,ue.ck)(fe(he({},nt),{reset:!0}));if((rt==null?void 0:rt.status)===-6)return}}else if(!Pe.current){var rt=yield(0,ue.ck)(he({},nt));if((rt==null?void 0:rt.status)===-6)return;const St=yield At();ke(St.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),Ie=()=>ge(void 0,null,function*(){(0,ue.ck)(he({},nt));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 Se=(0,ne.connect)(({exercise:Te,globalSetting:we})=>({globalSetting:we,exercise:Te}))(Be)},23960:function(en,zt,be){"use strict";be.d(zt,{X:function(){return pe},y:function(){return E}});var ye=be(59301),Xe=be(8591);const E=Ae=>{(0,ye.useEffect)(()=>{if(Ae){const ue=ae=>{ae.key==="F12"&&(ae.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},le=ae=>{ae.preventDefault()};return document.addEventListener("keydown",ue),document.addEventListener("contextmenu",le),()=>{document.removeEventListener("keydown",ue),document.removeEventListener("contextmenu",le)}}},[Ae])},pe=()=>{const[Ae,ue]=(0,ye.useState)(!1),le=ae=>{const{keyCode:se,ctrlKey:ie,metaKey:oe,type:re}=ae;(re==="paste"||(se===67||se===86)&&(oe||ie))&&(Xe.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ae.preventDefault(),ae.stopPropagation())};return(0,ye.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}}},73524:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return oe}});var ye=be(59301),Xe={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=be(92310),pe=be.n(E),Ae=be(71418),ue=be(2859),le=be(99064),ae=be(955),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,ye.useRef)(null),ce=(0,ye.useRef)(null),de=(0,ye.useRef)(null),he=(0,ye.useRef)(null),[fe,ge]=(0,ye.useState)(!1),[ve,me]=(0,ye.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ye.useEffect)(()=>(de.current||(de.current=document.createElement("style"),document.head.appendChild(de.current)),re!=null&&re.visible?(document.body.setAttribute("data-custom","y-hidden"),de.current.innerHTML=" html { overflow-y: hidden; }",re!=null&&re.src&&Be()):(document.body.removeAttribute("data-custom"),de.current&&(document.head.removeChild(de.current),de.current=null)),()=>{document.body.removeAttribute("data-custom"),de.current&&(document.head.removeChild(de.current),de.current=null)}),[re==null?void 0:re.visible]);const Be=()=>se(void 0,null,function*(){ge(!0),me("\u6B63\u5728\u52A0\u8F7D\u4E2D");const je=yield(0,ae.ZJ)(re==null?void 0:re.src);ee.current.src="",ee.current.src=je,ee.current.onload=function(){we()},ge(!1),me("")}),Se=je=>se(void 0,null,function*(){ge(!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:je.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(je.state)}})).status===0&&x():xe!=null&&xe.id&&x(xe),ge(!1),me("")}),Te=()=>{const je=document.querySelector('a[href="https://markerjs.com/"]');je&&je.parentNode&&(je.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(Oe=>{const ze=document.querySelector(Oe.name);ze&&ze.setAttribute("title",Oe.title)})},we=()=>{ce.current=new ue.hP(ee.current),ce.current.targetRoot=he.current,ce.current.addEventListener("render",Se),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),Te()},300)};return ye.createElement(ye.Fragment,null,(re==null?void 0:re.visible)&&ye.createElement(Ae.Z,{spinning:fe,tip:ve,style:{position:"absolute",width:"100vw"}},ye.createElement("div",{ref:he,className:pe()(Xe.imageDimensions,ne,z?Xe.fullWidth:""),style:a},ye.createElement("img",{className:Xe.img,ref:ee}))))}},41588:function(en,zt,be){"use strict";var ye=be(59301),Xe=be(95237),E=be(43604),pe=be(99313),Ae=be(3113),ue=be(85149),le=be(88010),ae=be(48136),se=be(59301);const ie=(0,ye.forwardRef)(({callback:oe,showSaveButton:re,value:ne=""},z)=>{const a=(0,ye.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],b=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,de)=>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,fe)=>se.createElement("div",{key:fe},se.createElement("h1",null,he.name),se.createElement(Xe.Z,{gutter:[10,10]},he.data.map((ge,ve)=>se.createElement(E.Z,{key:ve,onClick:()=>b(ge),className:le.Z.diamond},se.createElement(ue.Z,{value:"`$$"+ge.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:se.createElement(Xe.Z,{className:le.Z.lists,gutter:[10,10]},x.map((ce,de)=>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,fe)=>se.createElement("div",{key:fe},he.name&&se.createElement("h1",null,he.name),se.createElement(Xe.Z,{gutter:[10,10]},he.data.map((ge,ve)=>se.createElement(E.Z,{key:ve,onClick:()=>b(ge),className:le.Z.diamond},se.createElement(ue.Z,{value:"`$$"+ge.value+"$$`"}))))))))))}],ee=()=>{var ce=document.createElement("div");ce.innerHTML=a.current.getValue();var de=ce.innerText;return oe&&oe(de),de};return(0,ye.useImperativeHandle)(z,()=>({getData:ee})),se.createElement("div",{className:le.Z.mathWrap},se.createElement(pe.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")))});zt.Z=ie},8797:function(en,zt,be){"use strict";var ye=be(59301),Xe=be(93314),E=be(3113),pe=Object.defineProperty,Ae=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,le=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ie=(z,a,y)=>a in z?pe(z,a,{enumerable:!0,configurable:!0,writable:!0,value:y}):z[a]=y,oe=(z,a)=>{for(var y in a||(a={}))ae.call(a,y)&&ie(z,y,a[y]);if(le)for(var y of le(a))se.call(a,y)&&ie(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:de,loading:he=!1})=>ye.createElement("section",{className:"tc animated fadeIn",style:oe(oe({},{color:"#999",margin:"100px auto",visibility:he?"hidden":"visible"}),y)},ye.createElement("img",{src:z||Xe,style:re(oe({},de),{pointerEvents:"none",userSelect:"none"})}),ye.createElement("p",{className:"mt20 font14"},x||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),b&&ye.createElement(E.ZP,oe({className:ee,onClick:te},a),b),ce&&ce);zt.Z=ne},23210:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ee}});var ye=be(59301),Xe={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},E=be(3113),pe=be(70557),Ae=be(23954),ue=be(6848),le=be(955),ae=be(94941),se=be(8797),ie=be(3294),oe=be(19381),re=be(59301),ne=Object.defineProperty,z=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(ce,de,he)=>de in ce?ne(ce,de,{enumerable:!0,configurable:!0,writable:!0,value:he}):ce[de]=he,b=(ce,de)=>{for(var he in de||(de={}))a.call(de,he)&&x(ce,he,de[he]);if(z)for(var he of z(de))y.call(de,he)&&x(ce,he,de[he]);return ce},te=(ce,de,he)=>new Promise((fe,ge)=>{var ve=Se=>{try{Be(he.next(Se))}catch(Te){ge(Te)}},me=Se=>{try{Be(he.throw(Se))}catch(Te){ge(Te)}},Be=Se=>Se.done?fe(Se.value):Promise.resolve(Se.value).then(ve,me);Be((he=he.apply(ce,de)).next())}),ee=({editOffice:ce="view",data:de,theme:he,type:fe,filename:ge,monacoEditor:ve,className:me,style:Be,close:Se,onClose:Te,hasMask:we,disabledDownload:je,onImgDimensions:xe,showNodata:Oe,recordInfo:ze})=>{const[Ze,Me]=(0,ye.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,ye.useState)(""),[lt,ct]=(0,ye.useState)(),nt=window.ENV==="build"?"/react/build":"",at=location.host.startsWith("localhost")?ie.Z.PROXY_SERVER:ie.Z.API_SERVER,At=10*(1024*1024),wt=(0,ye.useRef)();de!=null&&de.startsWith("/api")&&fe!=="txt"&&(de=ie.Z.API_SERVER+de);const It=Pe=>Pe.substring(Pe.lastIndexOf("/")+1).split(".").pop();ge&&ve&&(ve.filename=ge),(0,ye.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 De=Qe.split("=");De[0]==="_educoder_session"&&qe(De[1])})},[]),(0,ye.useEffect)(()=>{fe==="office"&&(de.indexOf("bigfilescdn.")>-1||de.indexOf("bigfiles1")>-1?ct({url:de,fileType:It(de),model:de.indexOf("model=edit")?"edit":"view"}):gt())},[fe,de]);const gt=()=>te(void 0,null,function*(){console.log("data:",de);let Pe=de;de.startsWith("http")||(Pe=location.origin+Pe);let ke=new URL(Pe).pathname.split("/").pop();const Ve=yield(0,ae.gJ)({attachment_id:ke});Ve.url=at+Ve.url,ct(Ve)}),ft=()=>{if(de.startsWith("http")||de.startsWith("blob:")){$e();return}(0,le.Sv)(ge||"educoder",de,ge)},$e=()=>{ze&&(0,oe.fc)({id:ze==null?void 0:ze.id,watch_type:1,course_id:ze==null?void 0:ze.course_id}),(0,le.Nd)(ge||"educoder",decodeURIComponent(de))};return re.createElement("div",{style:b({},Be||{}),className:`${we&&Xe.bgBlack} ${fe?Xe.wrp:"hide"}`},Se&&re.createElement("div",{className:Xe.close,ref:wt},!!xe&&re.createElement(ue.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>wt.current},re.createElement("span",{onClick:()=>{Te(),xe()}},re.createElement("i",{className:"icon-yulanpizhu"}))),!je&&re.createElement(ue.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>wt.current},re.createElement("span",{onClick:$e},re.createElement("i",{className:"icon-quxiaozhiding"}))),re.createElement(ue.Z,{title:"\u5173\u95ED",getPopupContainer:()=>wt.current},re.createElement("span",{className:"",onClick:Te},re.createElement("i",{className:"icon-guanbi1"})))),re.createElement("div",{className:`${Xe[me]} ${me} ${Xe.monaco} ${fe==="txt"?"show":"hide"}`},fe==="txt"&&re.createElement(re.Fragment,null,re.createElement(Ae.ZP,b({},ve)))),fe==="audio"&&re.createElement("audio",{src:`${(de==null?void 0:de.indexOf("http://"))>-1||(de==null?void 0:de.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${de}`,autoPlay:!0}),fe==="video"&&re.createElement(re.Fragment,null,(de==null?void 0:de.indexOf("http"))>-1?re.createElement("video",{controls:!0,src:`${de}`,autoPlay:!0}):re.createElement("video",{controls:!0,src:`data:video/mp4;base64,${de}`,autoPlay:!0})),fe==="office"&<&&re.createElement("iframe",{src:`${nt}/office.html?key=${lt.key}&url=${btoa(lt.url)}&callbackUrl=${at+(lt.callbackUrl||"")}&fileType=${lt.fileType}&title=${lt.title||""}&model=${ce}&officeServer=${ie.Z.ONLYOFFICE}&disabledDownload=${!!je}`}),fe==="html"&&re.createElement("iframe",{src:de+"&disposition=inline"}),fe==="pdf"&&re.createElement("iframe",{src:`${nt}/js/pdfview/index.html?filename=${ge||"educoder.pdf"}&url=${encodeURIComponent(de)}&disabledDownload=${!!je}`}),fe==="image"&&re.createElement("img",{src:`${(de==null?void 0:de.indexOf("http://"))>-1||(de==null?void 0:de.indexOf("https://"))>-1?"":"data:image/png;base64,"}${de}`}),(fe==="other"||fe==="download")&&re.createElement(re.Fragment,null,Oe?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:ft,disabled:je},"\u4E0B\u8F7D")}):re.createElement(E.ZP,{type:"primary",size:"middle",onClick:ft,disabled:je},re.createElement(pe.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(en,zt,be){"use strict";be.d(zt,{z:function(){return fe},Z:function(){return ge}});var ye=be(59301),Xe=be(50304),E=be(24768),pe=be(64018),Ae=be(40846),ue=be(3294),le=be(955),ae=be(15342),se=be(1012),ie=be(23210),oe=be(59301),ne=({html:ve})=>{const me=(0,ye.useRef)(null),Be=(0,ye.useRef)(null),Se=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; } ol, ul, li { list-style-type: none } ol, ul, dl { margin-bottom: 0px; } .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #333; overflow: hidden; font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif; word-break: break-word; font-size: 16px; line-height: 1.6; white-space: normal; word-wrap: break-word; position: relative; } .markdown-body ul>li { list-style-type: disc; } .markdown-body ol>li { list-style-type: decimal; } .markdown-body a { background: transparent; } .markdown-body a:active, .markdown-body a:hover { outline: 0; } .markdown-body strong { font-weight: bold; } .markdown-body h1 { font-size: 2em; margin: 0.67em 0; } .markdown-body img { border: 0; } .markdown-body hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } .markdown-body pre { overflow: auto; } .markdown-body code, .markdown-body kbd, .markdown-body pre { font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace; font-size: 1em; } .markdown-body input { color: inherit; font: inherit; margin: 0; } .markdown-body html input[disabled] { cursor: default; } .markdown-body input { line-height: normal; } .markdown-body input[type="checkbox"] { -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } .markdown-body table { border-collapse: collapse; border-spacing: 0; } .markdown-body td, .markdown-body th { padding: 0; } .markdown-body * { -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body input { font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; } .markdown-body a { color: #4183c4; text-decoration: none; } .markdown-body a:hover, .markdown-body a:active { text-decoration: underline; } .markdown-body hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #ddd; } .markdown-body hr:before { display: table; content: ""; } .markdown-body hr:after { display: table; clear: both; content: ""; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin-top: 15px; margin-bottom: 15px; line-height: 1.1; } .markdown-body h1 { font-size: 30px; } .markdown-body h2 { font-size: 21px; } .markdown-body h3 { font-size: 16px; } .markdown-body h4 { font-size: 14px; } .markdown-body h5 { font-size: 12px; } .markdown-body h6 { font-size: 11px; } .markdown-body blockquote { margin: 0; } .markdown-body ul, .markdown-body ol { padding: 0; margin-top: 0; margin-bottom: 0; } ul.linenums, ol.linenums { padding: 16px 0 0 36px !important; } .markdown-body ul, .markdown-body ol { padding-left: 2em; } .markdown-body ol ol, .markdown-body ul ol { list-style-type: lower-roman; } .markdown-body ul ul ol, .markdown-body ul ol ol, .markdown-body ol ul ol, .markdown-body ol ol ol { list-style-type: lower-alpha; } .markdown-body dd { margin-left: 0; } .markdown-body code { font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } .markdown-body pre { margin-top: 0; margin-bottom: 0; font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; } .markdown-body .octicon { font: normal normal 16px octicons-anchor; line-height: 1; display: inline-block; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .markdown-body .octicon-link:before { content: '\f05c'; } .markdown-body>*:first-child { margin-top: 0 !important; } .markdown-body>*:last-child { margin-bottom: 0 !important; } .markdown-body .anchor { position: absolute; top: 0; left: 0; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; } .markdown-body .anchor:focus { outline: none; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; } .markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link { display: none; color: #000; vertical-align: middle; } .markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; } .markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link { display: inline-block; } .markdown-body h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom: 1px solid #eee; } .markdown-body h1 .anchor { line-height: 1; } .markdown-body h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom: 1px solid #eee; } .markdown-body h2 .anchor { line-height: 1; } .markdown-body h3 { font-size: 1.5em; line-height: 1.43; } .markdown-body h3 .anchor { line-height: 1.2; } .markdown-body h4 { font-size: 1.25em; } .markdown-body h4 .anchor { line-height: 1.2; } .markdown-body h5 { font-size: 1em; } .markdown-body h5 .anchor { line-height: 1.1; } .markdown-body h6 { font-size: 1em; color: #777; } .markdown-body h6 .anchor { line-height: 1.1; } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; } .markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul { margin-top: 0; margin-bottom: 0; } .markdown-body li>p { margin-top: 16px; } .markdown-body dl { padding: 0; } .markdown-body dl dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; } .markdown-body dl dd { padding: 0 16px; margin-bottom: 16px; } .markdown-body blockquote { padding: 0 15px; color: #777; border-left: 4px solid #ddd; } .markdown-body blockquote> :first-child { margin-top: 0; } .markdown-body blockquote> :last-child { margin-bottom: 0; } .markdown-body table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; } .markdown-body table th { font-weight: bold; text-align: revert; } .markdown-body table th, .markdown-body table td { padding: 6px 13px; border: 1px solid #ddd; } .markdown-body table tr { background-color: #fff; border-top: 1px solid #ccc; } .markdown-body table tr:nth-child(2n) { background-color: #f8f8f8; } .markdown-body img { max-width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body code { padding: 0; padding-top: 0.2em; padding-bottom: 0.2em; margin: 0; font-size: 85%; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; } .markdown-body code:has(.katex) { background-color: transparent; } .markdown-body code:before, .markdown-body code:after { letter-spacing: -0.2em; content: "\\00a0"; } .markdown-body pre>code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } .markdown-body .highlight { margin-bottom: 16px; } .markdown-body .highlight pre, .markdown-body pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border-radius: 3px; } .markdown-body .highlight pre { margin-bottom: 0; word-break: normal; } .markdown-body pre { word-wrap: normal; } .markdown-body pre code { display: inline; max-width: initial; padding: 0; margin: 0; overflow: initial; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } .markdown-body pre code:before, .markdown-body pre code:after { content: normal; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .pl-c { color: #969896; } .markdown-body .pl-c1, .markdown-body .pl-mdh, .markdown-body .pl-mm, .markdown-body .pl-mp, .markdown-body .pl-mr, .markdown-body .pl-s1 .pl-v, .markdown-body .pl-s3, .markdown-body .pl-sc, .markdown-body .pl-sv { color: #0086b3; } .markdown-body .pl-e, .markdown-body .pl-en { color: #795da3; } .markdown-body .pl-s1 .pl-s2, .markdown-body .pl-smi, .markdown-body .pl-smp, .markdown-body .pl-stj, .markdown-body .pl-vo, .markdown-body .pl-vpf { color: #333; } .markdown-body .pl-ent { color: #63a35c; } .markdown-body .pl-k, .markdown-body .pl-s, .markdown-body .pl-st { color: #a71d5d; } .markdown-body .pl-pds, .markdown-body .pl-s1, .markdown-body .pl-s1 .pl-pse .pl-s2, .markdown-body .pl-sr, .markdown-body .pl-sr .pl-cce, .markdown-body .pl-sr .pl-sra, .markdown-body .pl-sr .pl-sre, .markdown-body .pl-src { color: #df5000; } .markdown-body .pl-mo, .markdown-body .pl-v { color: #1d3e81; } .markdown-body .pl-id { color: #b52a1d; } .markdown-body .pl-ii { background-color: #b52a1d; color: #f8f8f8; } .markdown-body .pl-sr .pl-cce { color: #63a35c; font-weight: bold; } .markdown-body .pl-ml { color: #693a17; } .markdown-body .pl-mh, .markdown-body .pl-mh .pl-en, .markdown-body .pl-ms { color: #1d3e81; font-weight: bold; } .markdown-body .pl-mq { color: #008080; } .markdown-body .pl-mi { color: #333; font-style: italic; } .markdown-body .pl-mb { color: #333; font-weight: bold; } .markdown-body .pl-md, .markdown-body .pl-mdhf { background-color: #ffecec; color: #bd2c00; } .markdown-body .pl-mdht, .markdown-body .pl-mi1 { background-color: #eaffea; color: #55a532; } .markdown-body .pl-mdr { color: #795da3; font-weight: bold; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .task-list-item { list-style-type: none; } .markdown-body .task-list-item+.task-list-item { margin-top: 3px; } .markdown-body .task-list-item input { float: left; margin: 0.3em 0 0.25em -1.6em; vertical-align: middle; } .markdown-body :checked+.radio-label { z-index: 1; position: relative; border-color: #4183c4; } /*! Pretty printing styles. Used with prettify.js. */ /* SPAN elements with the classes below are added by prettyprint. */ .pln { color: #000 } /* plain text */ @media screen { .str { color: #080 } /* string content */ .kwd { color: #008 } /* a keyword */ .com { color: #800 } /* a comment */ .typ { color: #606 } /* a type name */ .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ .pun, .opn, .clo { color: #660 } .tag { color: #008 } /* a markup tag name */ .atn { color: #606 } /* a markup attribute name */ .atv { color: #080 } /* a markup attribute value */ .dec, .var { color: #606 } /* a declaration; a variable name */ .fun { color: red } /* a function name */ } /* Use higher contrast and text-weight for printable form. */ @media print, projection { .str { color: #060 } .kwd { color: #006; font-weight: bold } .com { color: #600; font-style: italic } .typ { color: #404; font-weight: bold } .lit { color: #044 } .pun, .opn, .clo { color: #440 } .tag { color: #006; font-weight: bold } .atn { color: #404 } .atv { color: #060 } } /* Put a border around prettyprinted code snippets. */ pre.prettyprint { padding: 2px; /* border: 1px solid #888 */ } /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: none } /* Alternate shading for lines */ li.L1, li.L3, li.L5, li.L7, li.L9 { background: #eee } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; }`;return(0,ye.useEffect)(()=>{const Te=me.current.attachShadow({mode:"open"});Be.current=document.createElement("div"),Be.current.className="markdown-body",Be.current.innerHTML=ve,Te.appendChild(Be.current);const we=document.createElement("style");return we.textContent=Se,Te.appendChild(we),()=>{Te.innerHTML=""}},[]),(0,ye.useEffect)(()=>{Be.current&&(Be.current.innerHTML=ve)},[ve]),oe.createElement("div",{ref:me})},z=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ve,me,Be)=>me in ve?z(ve,me,{enumerable:!0,configurable:!0,writable:!0,value:Be}):ve[me]=Be,te=(ve,me)=>{for(var Be in me||(me={}))y.call(me,Be)&&b(ve,Be,me[Be]);if(a)for(var Be of a(me))x.call(me,Be)&&b(ve,Be,me[Be]);return ve};const ee="@\u2581\u2581@",ce="@\u2581@",de=/]*>/g;function he(ve){let me=document.createElement("div");return me.innerHTML=ve,me.childNodes.length===0?"":me.childNodes[0].nodeValue}const fe=(ve,me)=>{ve=ve||"";const Be=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Se=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Te=/\(\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?ve.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Be,(je,xe,Oe,ze,Ze,Me,tt)=>{const qe=xe||ze||Me,lt=Oe||Ze||tt||"?";return ue.Z.API_SERVER+"/api/attachments/"+qe+lt+"&t="+(0,le.Jn)(qe,Date.now())+(je.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(ve=ve.replace(we,(je,xe,Oe,ze,Ze,Me,tt)=>{const qe=xe||ze||Me,lt=Oe||Ze||tt||"?";return ue.Z.API_SERVER+"/attachments/download/"+qe+lt+"&t="+(0,le.Jn)(qe,Date.now())+(je.indexOf(")")>-1?")":"&")}).replace(Be,(je,xe,Oe,ze,Ze,Me,tt)=>{const qe=xe||ze||Me,lt=Oe||Ze||tt||"?";return ue.Z.API_SERVER+"/api/attachments/"+qe+lt+"&t="+(0,le.Jn)(qe,Date.now())+(je.indexOf(")")>-1?")":"&")}).replace(Se,(je,xe,Oe,ze,Ze)=>{const Me=xe||ze,tt=Oe||Ze||"";return'"'+ue.Z.API_SERVER+"/api/attachments/"+Me+tt+Me+tt+"&t="+(0,le.Jn)(Me,Date.now())}).replace(Te,(je,xe,Oe,ze,Ze)=>{const Me=xe||ze,tt=Oe||Ze||"";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,` `),ve)};var ge=({value:ve="",className:me,showTextOnly:Be,showLines:Se,style:Te={},stylesPrev:we={},highlightKeywords:je,showProgramFill:xe,isProgramFill:Oe,disabledFill:ze=!1,programFillValue:Ze,onFillChange:Me=lt=>{},onFillBlur:tt=()=>{},onFillFocus:qe=()=>{}})=>{let lt=String(ve);const[ct,nt]=(0,ye.useState)(""),[at,ut]=(0,ye.useState)("office"),[At,wt]=(0,ye.useState)([]),It=(0,ye.useRef)("a"+(0,se.Z)()),gt={},ft=(ht,St,bt)=>{const Bt=document.createElement(ht===ce?"input":"textarea");Bt.style.width="100%",Bt.style.height=ht===ce?"40px":"151px",Bt.rows=5,Bt.spellcheck=!1,Bt.name="edu-program-fill",Bt.placeholder="\u8BF7\u8F93\u5165",Bt.dataset.id=St;const Mt=Object.keys(gt).length;return gt[Mt]=Bt,`${Bt.outerHTML}`};function $e(ht){return ht=ht.replace(/!\[.*?\]\(.*?\)/g,""),ht=ht.replace(/\[.*?\]\(.*?\)/g,""),ht=ht.replace(new RegExp("","gs"),""),ht=ht.replace(//g,""),ht=ht.replace(//g,""),ht=ht.replace(new RegExp(".*?<\\/video>","gs"),""),ht=ht.replace(new RegExp(".*?<\\/audio>","gs"),""),ht=ht.replace(new RegExp(".*?<\\/style>","gs"),""),ht=ht.replace(new RegExp(".*?<\\/script>","gs"),""),ht}const Pe=ht=>ht.replace(/([\s\S]+?)<\/style>/gim,function(St,bt){let Bt=bt.replace(/(\n|\r)/g,"").split("}"),Mt=[];return Bt.map(pt=>{pt!=""&&Mt.push(`.${It.current} ${pt}`)}),``}),ke=(0,ye.useMemo)(()=>{try{const Bt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,Mt=/\"\/api\/attachments\/|\"\/attachments\/download\//g,pt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Lt=/\(\/attachments\/download\//g;lt=lt.replace(Lt,"("+ue.Z.API_SERVER+"/attachments/download/").replace(Bt,"("+ue.Z.API_SERVER+"/api/attachments/").replace(Mt,'"'+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 lt=lt.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(Mt,pt,Lt){var xt;return++Bt,ft(Mt,Bt,(xt=Ze==null?void 0:Ze[Bt])==null?void 0:xt.value.replaceAll("<","<").replaceAll(">",">"))}),`
${Pe(lt||"")}
`}let ht=Pe(lt);ht=(0,E.ZP)(ht);const St=(0,E.ez)();lt.match(/\[TOC\]/)&&(ht=ht.replace("

[TOC]

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

${jo||

`):qn.replaceSelection(`${jo||`):(($r=pa==null?void 0:pa.type)==null?void 0:$r.indexOf("video"))>-1?qn.replaceSelection(``):((Kn=pa==null?void 0:pa.type)==null?void 0:Kn.indexOf("pdf"))>-1?qn.replaceSelection(`${pa.name}`):Hr.includes(Wi)?qn.replaceSelection(`${pa.name}`):qn.replaceSelection(`[${pa.name}](${Zi})`),qn.focus();case Dn:const{row:$i,col:ta,align:Qi}=dr;let co=` `;for(let Za=0;Za<$i;Za++){let So=[],Ao=[];for(let Xa=0;Xa{switch(Wr){case on:return ye.createElement(lt,{callback:ra,onCancel:Ha});case Fn:return ye.createElement(ct.Z,{callback:ra,onCancel:Ha});case dn:return ye.createElement(nt.Z,{callback:ra,onCancel:Ha});case bn:return ye.createElement(Ne,{callback:ra,onCancel:Ha});case Dn:return ye.createElement(Bt,{callback:ra,onCancel:Ha});case"maths-latex":return ye.createElement(Wt,{showSaveButton:!0,callback:ra});case"inline-latex":return ye.createElement(Ut.Z,{showSaveButton:!0,callback:ra});default:return null}},[Wr]);function Ha(){wa("")}(0,ye.useEffect)(()=>{if(Qa.current){let dr=function($r){Dr=!0,Or=$r.pageY},Ar=function(){Dr=!1},pr=function($r){if(Dr){let Kn=$r.pageY-Or;Kn<0&&(Kn=0),Kn>300&&(Kn=300);let ii=tr+Kn+"px";yi(ii)}},wr=Qa.current,Dr=!1,Or=0;return wr.addEventListener("mousedown",dr),document.addEventListener("mousemove",pr),document.addEventListener("mouseup",Ar),()=>{wr.removeEventListener("mousedown",dr),document.removeEventListener("mousemove",pr),document.removeEventListener("mouseup",Ar)}}},[qn,Qa]),(0,ye.useEffect)(()=>{yi(tr)},[tr]);const Ho=di(cn),ps=di(Sa),_o={width:Ho,height:ps},fs=(0,ye.useMemo)(()=>{if(ca){let dr=new Date(ca),Ar=dr.getHours(),pr=dr.getMinutes(),wr=dr.getSeconds();return Ar=Ar<10?"0"+Ar:Ar,pr=pr<10?"0"+pr:pr,wr=wr<10?"0"+wr:wr,`${Ar}:${pr}:${wr}`}return 0},[ca]),Ko=dr=>{const Ar=[];if(Fi){let pr=-1;dr=dr.replace(/(@▁▁@|@▁@)/g,function(wr,Dr,Or){Ar.push({multiLine:wr!==Qr})})}return Ar};function ml(){window.sessionStorage.removeItem(zr),sr(!1),Wa(0)}function pn(){sr(!1),Wa(0),qn.setValue(window.sessionStorage.getItem(zr))}(0,ye.useEffect)(()=>{Xn[Wr]&&Wr!==Mn&&Wr!==bn&&setTimeout(()=>{const dr=document.getElementsByClassName("markdown-popup-form")[0],Ar=window.innerWidth/2-dr.offsetWidth/2,pr=window.innerHeight/2-dr.offsetHeight/2;qi(Ar),Nr(pr)},0)},[Wr]);const Hn=dr=>{dr.preventDefault();const Ar=dr.clientX-Ci,pr=dr.clientY-or;document.body.onmousemove=wr=>{let Dr=wr.clientX-Ar,Or=wr.clientY-pr;const $r=document.getElementsByClassName("markdown-popup-form")[0],Kn=window.innerWidth-$r.offsetWidth,ii=window.innerHeight-$r.offsetHeight;Dr=Math.max(0,Math.min(Dr,Kn)),Or=Math.max(0,Math.min(Or,ii)),Fr(wr.clientX,wr.clientY,Ar,pr)&&(qi(Dr),Nr(Or))},document.body.onmouseup=function(){document.body.onmousemove=null}},Fr=(dr,Ar,pr,wr)=>{const Dr=document.body.clientHeight,Or=document.body.clientWidth;return dr<20&&pr>dr||dr>Or-20&&prAr||Ar>Dr-20&&wrme in ve?oe(ve,me,{enumerable:!0,configurable:!0,writable:!0,value:Be}):ve[me]=Be,b=(ve,me)=>{for(var Be in me||(me={}))a.call(me,Be)&&x(ve,Be,me[Be]);if(z)for(var Be of z(me))y.call(me,Be)&&x(ve,Be,me[Be]);return ve},te=(ve,me)=>re(ve,ne(me));const{useForm:ee}=ye.default,ce={width:280,marginRight:10},de={labelCol:{span:5},wrapperCol:{span:19}};var he=({callback:ve,onCancel:me})=>{const[Be]=ee();let Se=(0,se.useRef)();function Te(xe){Se.current.width=Be.getFieldValue("width"),Se.current.align=Be.getFieldValue("align"),ve(xe,Se.current)}function we(xe,Oe){if(xe.status===-1){Xe.ZP.error(xe.message);return}Be.setFieldsValue({src:`/api/attachments/${xe.id}`,type:Oe.type})}function je(xe){let Oe=xe.target.files[0];Se.current=Oe,ge(Oe,we)}return ie.createElement(ye.default,te(b({form:Be},de),{className:"upload-image-panel",onFinish:Te,style:{width:470,overflow:"hidden"}}),ie.createElement(ye.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ie.createElement("div",{className:"flex-container"},ie.createElement(ye.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},ie.createElement(E.default,{style:ce})),ie.createElement(fe,{onFileChange:je}))),ie.createElement(ye.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ie.createElement(E.default,{style:{width:264}})),ie.createElement(ye.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ie.createElement(pe.Z,null,ie.createElement(ye.default.Item,{name:"width",style:{margin:0}},ie.createElement(Ae.Z,{style:{width:264}})),ie.createElement("span",{className:"ml8"},"%"))),ie.createElement(ye.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ie.createElement(ue.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ie.createElement("aside",null,ie.createElement(ye.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ie.createElement(le.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ie.createElement(le.ZP,{type:"default",onClick:me},"\u53D6\u6D88"))))};function fe({onFileChange:ve}){return ie.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ie.createElement("input",{type:"file",onChange:ve}))}function ge(ve,me){if(!ve)throw new String("\u6CA1\u6709\u6587\u4EF6");let Be=new FormData;Be.append("editormd-image-file",ve),Be.append("file_param_name","editormd-image-file"),Be.append("byxhr","true");var Se=new window.XMLHttpRequest;Se.withCredentials=!0,Se.addEventListener("load",function(Te){me(JSON.parse(Te.target.responseText),ve)},!1),Se.addEventListener("error",function(Te){console.error(Te)},!1),Se.open("POST",`${ae.KI}/api/attachments.json`),Se.send(Be)}},79346:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return E}});var ye=be(59301),Xe=be(4676);class E extends ye.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)}}},23954:function(en,zt,be){"use strict";be.d(zt,{SV:function(){return Ue},ZP:function(){return Ye}});var ye=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"]},pe={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},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 ae=be(53184),se=be.n(ae),ie=Object.defineProperty,oe=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(Ie,Ne,rt)=>Ne in Ie?ie(Ie,Ne,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Ie[Ne]=rt,x=(Ie,Ne)=>{for(var rt in Ne||(Ne={}))z.call(Ne,rt)&&y(Ie,rt,Ne[rt]);if(ne)for(var rt of ne(Ne))a.call(Ne,rt)&&y(Ie,rt,Ne[rt]);return Ie},b=(Ie,Ne)=>oe(Ie,re(Ne)),te=(Ie,Ne,rt)=>new Promise((ht,St)=>{var bt=pt=>{try{Mt(rt.next(pt))}catch(Lt){St(Lt)}},Bt=pt=>{try{Mt(rt.throw(pt))}catch(Lt){St(Lt)}},Mt=pt=>pt.done?ht(pt.value):Promise.resolve(pt.value).then(bt,Bt);Mt((rt=rt.apply(Ie,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=(Ie,Ne)=>Ne.map(rt=>({label:rt,kind:Ie.languages.CompletionItemKind.Keyword,insertText:rt})),de=Ie=>Object.keys(ee.tables).map(Ne=>({label:Ne,kind:Ie.languages.CompletionItemKind.Variable,insertText:Ne})),he=(Ie,Ne)=>{const rt=ee.tables[Ie];return rt?rt.map(ht=>({label:ht,kind:Ne.languages.CompletionItemKind.Field,insertText:ht})):[]};function fe(Ie,Ne,rt,ht,St){let bt=Ne.getWordUntilPosition(rt),Bt={startLineNumber:rt.lineNumber,endLineNumber:rt.lineNumber,startColumn:bt.startColumn,endColumn:bt.endColumn},Mt=ht.map(pt=>({label:pt,kind:Ie.languages.CompletionItemKind.Keyword,insertText:pt,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Bt}));return St.map(pt=>{Mt.push(b(x({},pt),{range:Bt}))}),Mt}var ge=Ie=>{ee.languages.map(St=>(Ie.languages.registerDocumentFormattingEditProvider(St,{provideDocumentFormattingEdits(bt,Bt,Mt){return te(this,null,function*(){const pt=se()(bt.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:bt.getFullModelRange(),text:pt}]})}}),St));const Ne=Ae.quickKey.map(St=>({label:St.label,kind:Ie.languages.CompletionItemKind.Method,insertText:St.content,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet})),rt=ue.quickKey.map(St=>({label:St.label,kind:Ie.languages.CompletionItemKind.Method,insertText:St.content,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet})),ht=pe.quickKey.map(St=>({label:St.label,kind:Ie.languages.CompletionItemKind.Method,insertText:St.content,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet}));Ie.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(St,bt){var Bt=St.getWordUntilPosition(bt),Mt={startLineNumber:bt.lineNumber,endLineNumber:bt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},pt=St.getLineContent(bt.lineNumber).substring(Bt.startColumn-2,Bt.endColumn);return{suggestions:[...Ae.keywords.map(Lt=>({label:Lt,kind:Ie.languages.CompletionItemKind.Function,documentation:Lt,insertText:Lt,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Mt})),...Ae.quickKey.map(Lt=>({label:Lt.label,kind:Ie.languages.CompletionItemKind.Function,documentation:Lt.content,insertText:pt.startsWith("#")?Lt.content.replace(/#/,""):Lt.content,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Mt}))]}}}),Ie.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(St,bt){var Bt=St.getWordUntilPosition(bt),Mt={startLineNumber:bt.lineNumber,endLineNumber:bt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn};return{suggestions:[...E.keywords.map(pt=>({label:pt,kind:Ie.languages.CompletionItemKind.Function,documentation:pt,insertText:pt,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Mt}))]}}}),Ie.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(St,bt){var Bt=St.getWordUntilPosition(bt),Mt={startLineNumber:bt.lineNumber,endLineNumber:bt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},pt=St.getLineContent(bt.lineNumber).substring(Bt.startColumn-2,Bt.endColumn);return{suggestions:[...pe.keywords.map(Lt=>({label:Lt,kind:Ie.languages.CompletionItemKind.Function,documentation:Lt,insertText:Lt,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Mt})),...pe.quickKey.map(Lt=>({label:Lt.label,kind:Ie.languages.CompletionItemKind.Function,documentation:Lt.content,insertText:pt.startsWith("#")?Lt.content.replace(/#/,""):Lt.content,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Mt}))]}}}),Ie.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(St,bt){var Bt=St.getWordUntilPosition(bt),Mt={startLineNumber:bt.lineNumber,endLineNumber:bt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},pt=St.getLineContent(bt.lineNumber).substring(Bt.startColumn-2,Bt.endColumn);return{suggestions:[...le.keywords.map(Lt=>({label:Lt,kind:Ie.languages.CompletionItemKind.Function,documentation:Lt,insertText:Lt,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Mt})),...le.quickKey.map(Lt=>({label:Lt.label,kind:Ie.languages.CompletionItemKind.Function,documentation:Lt.content,insertText:pt.startsWith("#")?Lt.content.replace(/#/,""):Lt.content,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Mt}))]}}}),Ie.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(St,bt){var Bt=St.getWordUntilPosition(bt),Mt={startLineNumber:bt.lineNumber,endLineNumber:bt.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},pt=St.getLineContent(bt.lineNumber).substring(Bt.startColumn-2,Bt.endColumn);return{suggestions:[...ue.keywords.map(Lt=>({label:Lt,kind:Ie.languages.CompletionItemKind.Function,documentation:Lt,insertText:Lt,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Mt})),...ue.quickKey.map(Lt=>({label:Lt.label,kind:Ie.languages.CompletionItemKind.Function,documentation:Lt.content,insertText:pt.startsWith("#")?Lt.content.replace(/#/,""):Lt.content,insertTextRules:Ie.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Mt}))]}}})};const ve="\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,Be=(Ie,Ne,rt)=>Ne in Ie?me(Ie,Ne,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Ie[Ne]=rt,Se=(Ie,Ne,rt)=>Be(Ie,typeof Ne!="symbol"?Ne+"":Ne,rt);const Te=class Hd{constructor(Ne,rt,ht){this.placeholder=Ne,this.editor=rt,this.monaco=ht,rt.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Hd.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)}};Se(Te,"ID","editor.widget.placeholderHint");var je=Te,xe=be(96236),Oe=be(8591),ze=be(6848),Ze=be(89392),Me=be(34604),tt=be(56102),qe=Object.defineProperty,lt=Object.defineProperties,ct=Object.getOwnPropertyDescriptors,nt=Object.getOwnPropertySymbols,at=Object.prototype.hasOwnProperty,ut=Object.prototype.propertyIsEnumerable,At=(Ie,Ne,rt)=>Ne in Ie?qe(Ie,Ne,{enumerable:!0,configurable:!0,writable:!0,value:rt}):Ie[Ne]=rt,wt=(Ie,Ne)=>{for(var rt in Ne||(Ne={}))at.call(Ne,rt)&&At(Ie,rt,Ne[rt]);if(nt)for(var rt of nt(Ne))ut.call(Ne,rt)&&At(Ie,rt,Ne[rt]);return Ie},It=(Ie,Ne)=>lt(Ie,ct(Ne)),gt=(Ie,Ne)=>{var rt={};for(var ht in Ie)at.call(Ie,ht)&&Ne.indexOf(ht)<0&&(rt[ht]=Ie[ht]);if(Ie!=null&&nt)for(var ht of nt(Ie))Ne.indexOf(ht)<0&&ut.call(Ie,ht)&&(rt[ht]=Ie[ht]);return rt},ft=(Ie,Ne,rt)=>new Promise((ht,St)=>{var bt=pt=>{try{Mt(rt.next(pt))}catch(Lt){St(Lt)}},Bt=pt=>{try{Mt(rt.throw(pt))}catch(Lt){St(Lt)}},Mt=pt=>pt.done?ht(pt.value):Promise.resolve(pt.value).then(bt,Bt);Mt((rt=rt.apply(Ie,Ne)).next())});function $e(Ie){return/^\d+$/.test(Ie)?`${Ie}px`:Ie}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(Ie=[]){let Ne=Ie;if(Array.isArray(Ie)){for(let rt=0;rt{var Ne=Ie,{width:rt="100%",height:ht="100%",value:St,language:bt="javascript",style:Bt={},options:Mt={},overrideServices:pt={},theme:Lt="vs-dark",onEditBlur:xt,isCopy:Wt=!1,onSave:Ut,autoHeight:Xt=!1,forbidCopy:on=!1,onChange:dn=Pe,editorDidMount:bn=Pe,onFocus:Mn=Pe,onBreakPoint:er=Pe,breakPointValue:Fn=[],filename:Dn="educoder.txt",errorLine:An,errorContent:En="",highlightLine:kn,openBreakPoint:br=!1,placeholder:vr=""}=Ne,xr=gt(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 ur=(0,ye.useRef)(),cr=(0,ye.useRef)({}),Qr=(0,ye.useRef)(),Ur=(0,ye.useRef)(),Hr=(0,ye.useRef)([]),di=(0,ye.useRef)(!1),aa=(0,ye.useRef)(),Oi=(0,ye.useRef)(),xi=(0,ye.useRef)(!1),[Xn,Lr]=(0,ye.useState)(!1);function Ht(){let Rr;return ur.current&&(Rr=new Xe.Z(jr=>{for(let Si of jr)(Si.target.offsetHeight>0||Si.target.offsetWidth>0)&&cr.current.instance.layout()}),Rr.observe(ur.current)),Rr}function nn(){Oe.ZP.warning({content:decodeURIComponent(ve),key:"monaco-editor-tip"})}const cn=()=>{let Rr=cr.current.instance;if(St!=null&&Rr&&Xn){const jr=Rr.getModel();jr&&St!==jr.getValue()&&(ke=!0,jr.setValue(St),Rr.layout(),ke=!1)}};(0,ye.useEffect)(()=>{const Rr=Me.Z.subscribe("formatDocument",jr=>{var Si;let Hi=cr.current.instance;(Si=Hi==null?void 0:Hi.getAction)==null||Si.call(Hi,"editor.action.formatDocument").run()});return window.updateMonacoValue=jr=>{dn(jr)},Rr},[]),(0,ye.useEffect)(()=>{var Rr;let jr=cr.current.instance;Ur.current&&clearTimeout(Ur.current),Ur.current=setTimeout(()=>{cn()},500),St&&(St!=null&&St.length)&&((Rr=jr==null?void 0:jr.updateOptions)==null||Rr.call(jr,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(St.split(/\r\n|\r|\n/g).length))+3,5)}))},[St,Xn,cr.current]),(0,ye.useEffect)(()=>{if(An&&cr.current&&cr.current.instance){let jr=cr.current.instance;jr.changeViewZones(function(Si){var Hi=document.createElement("div");Hi.style.padding="10px 20px",Hi.style.width="calc(100% - 20px)",Hi.className="my-error-line-wrp",Hi.innerHTML=En,Si.addZone({afterLineNumber:An||11,heightInLines:3,domNode:Hi})});var Rr={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}};jr.addOverlayWidget(Rr),jr.revealPositionInCenter({lineNumber:20,column:1})}},[An,cr.current,Xn]);const tr=(Rr="",jr)=>{if(!Rr||Rr.trim()==="")return!0;const Hi=cr.current.instance.getModel().getLineTokens(jr);let Ji=!1;for(let Na=0;Na<2;Na++)Hi.getStandardTokenType(Na)===1&&(Ji=!0);return Ji};(0,ye.useEffect)(()=>{var Rr;const jr=(Rr=cr.current)==null?void 0:Rr.instance;if(jr&&Xn&&on){const Si=jr.onDidBlurEditorWidget(()=>{xi.current=!1}),Hi=jr.onDidFocusEditorText(()=>{xi.current=!0});return()=>{Si.dispose(),Hi.dispose()}}},[cr.current,Xn,on]),(0,ye.useEffect)(()=>{var Rr;if((Rr=cr.current)!=null&&Rr.instance&&Xn&&br){let jr=cr.current.instance,Si=jr.getModel();if(!Si)return;(()=>{var Gi;let ji=[],Pr=[];const Yr=Si.getAllDecorations();for(let Wr of Yr)Wr.options.className==="highlighted-line"&&(ji.push((Gi=Wr==null?void 0:Wr.range)==null?void 0:Gi.startLineNumber),Pr.push(Wr==null?void 0:Wr.id));if(kn===ji[0])return;Si.deltaDecorations(Pr,[]);const Ei=Si.getLineCount();kn&&kn<=Ei&&(jr.deltaDecorations([],[{range:new De.Range(kn,1,kn,Si.getLineMaxColumn(kn)),options:{isWholeLine:!0,className:"highlighted-line"}}]),jr.revealLineInCenter(kn))})();const Ji=(Gi=!1)=>{var ji;let Pr=[],Yr=[];const Ei=Si.getAllDecorations();for(let Wr of Ei)Wr.options.linesDecorationsClassName==="breakpoints-select"&&(Pr.push((ji=Wr==null?void 0:Wr.range)==null?void 0:ji.startLineNumber),Yr.push(Wr==null?void 0:Wr.id));if(Gi)return{lines:Pr,ids:Yr};er(Pr)},Na=Gi=>ft(void 0,null,function*(){let ji={range:new De.Range(Gi,1,Gi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Si.deltaDecorations([],[ji]),Ji()}),ba=Gi=>ft(void 0,null,function*(){let ji=[];const Pr=jr.getLineDecorations(Gi);for(let Yr of Pr)Yr.options.linesDecorationsClassName==="breakpoints-select"&&ji.push(Yr.id);yield Si.deltaDecorations(ji,[]),Ji()}),fa=Gi=>{let ji=jr.getLineDecorations(Gi);for(let Pr of ji)if(Pr.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Ze.isEqual)(Fn,Ji(!0).lines)){Si.deltaDecorations(Ji(!0).ids,[]);const Gi=Fn.map(ji=>({range:new De.Range(ji,1,ji,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Si.deltaDecorations([],Gi)}const Ti=jr.onDidChangeModelContent(Gi=>{let ji=jr.getPosition();if(ji){let Pr=ji.lineNumber;clearTimeout(Oi.current),Oi.current=setTimeout(()=>{tr(Si.getLineContent(Pr),Pr)?ba(Pr):fa(Pr)?(ba(Pr),Na(Pr)):Ji()},100)}}),Gn=jr.onMouseDown(Gi=>{var ji,Pr,Yr;if(Gi.target.detail&&((Yr=(Pr=(ji=Gi.target)==null?void 0:ji.element)==null?void 0:Pr.className)!=null&&Yr.includes("line-numbers"))){let Ei=Gi.target.position.lineNumber;if(tr(Si.getLineContent(Ei),Ei))return;fa(Ei)?ba(Ei):Na(Ei)}}),zi=Gi=>{let ji={range:new De.Range(Gi,1,Gi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};Hr.current=jr.deltaDecorations(Hr.current,[ji])},qn=()=>{Hr.current=jr.deltaDecorations(Hr.current,[])},oa=jr.onMouseMove(Gi=>{var ji,Pr,Yr;if(qn(),Gi.target.detail&&((Yr=(Pr=(ji=Gi.target)==null?void 0:ji.element)==null?void 0:Pr.className)!=null&&Yr.includes("line-numbers"))){let Ei=Gi.target.position.lineNumber;if(tr(Si.getLineContent(Ei),Ei))return;zi(Ei)}}),no=jr.onMouseLeave(()=>{qn()});return()=>{Ti.dispose(),Gn.dispose(),oa.dispose(),no.dispose()}}},[cr.current,Xn,Fn,kn,br,bt]),(0,ye.useEffect)(()=>{var Rr;(Rr=cr.current)!=null&&Rr.instance&&br&&cr.current.instance.setPosition({lineNumber:0,column:0})},[kn]);function Jn(){let Rr=cr.current.instance;if(Rr){const jr=Rr.getSelection(),Si=cr.current.pastePos||{},Hi=new De.Range(Si.startLineNumber||jr.endLineNumber,Si.startColumn||jr.endColumn,Si.endLineNumber||jr.endLineNumber,Si.endColumn||jr.endColumn);setTimeout(()=>{Rr.executeEdits("",[{range:Hi,text:""}])},300)}}function Un(Rr){(window.navigator.platform.match("Mac")?Rr.metaKey:Rr.ctrlKey)&&Rr.keyCode==83&&(Rr.preventDefault(),Ut())}const Br=()=>{if(Xt&&cr.current.instance){const Rr=cr.current.instance.getContentHeight();Fi(Rr{if(!xi.current)return;const{keyCode:jr,ctrlKey:Si,metaKey:Hi,target:Ji,type:Na}=Rr;return(Na==="paste"||(jr===67||jr===86)&&(Hi||Si))&&Ji.nodeName==="TEXTAREA"&&(nn(),Rr.preventDefault()),!1};function zr(Rr,jr){var Si=window.URL||window.webkitURL||window,Hi=new Blob([jr]),Ji=document.createElementNS("http://www.w3.org/1999/xhtml","a");Ji.href=Si.createObjectURL(Hi),Ji.download=Rr,ri(Ji)}(0,ye.useEffect)(()=>{Br()},[Br]),(0,ye.useEffect)(()=>{ur.current&&!Xn&&Promise.all([be.e(8909),be.e(3267)]).then(be.bind(be,71448)).then(Rr=>{try{De=Rr,cr.current.instance=De.editor.create(ur.current,{value:St,language:Qe(bt),theme:Lt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},pt);const jr=cr.current.instance;let Ji=[...xe.BH._menuItems].find(Ti=>Ti[0]._debugName=="EditorContext")[1],Na=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],ba=(Ti,Gn)=>{var zi,qn;let oa=Ti._first;do Gn.includes((qn=(zi=oa.element)==null?void 0:zi.command)==null?void 0:qn.id)&&Ti._remove(oa);while(oa=oa.next)};if(bn(jr,De),setTimeout(()=>{Br(),cr.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{zr(Dn||"educoder.txt",jr.getValue())}})},500),cr.current.subscription=jr.onDidChangeModelContent(Ti=>{di.current?clearTimeout(aa.current):(Br(),dn(jr.getValue(),Ti)),aa.current=setTimeout(()=>{di.current=!1},500)}),window.Monaco||ge(De,Qe(bt)),on&&(ba(Ji,Na),ur.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Mr),window.removeEventListener("paste",Mr),window.addEventListener("keydown",Mr),window.addEventListener("paste",Mr)),window.Monaco=De,xt&&jr.onDidBlurEditorWidget(()=>{xt(jr.getValue())}),Mn&&jr.onDidFocusEditorText(()=>{Mn(jr.getValue())}),on)try{jr.onDidPaste(Ti=>{const Gn=jr.getSelection(),zi=cr.current.pastePos||{},qn=new De.Range(zi.startLineNumber||Gn.endLineNumber,zi.startColumn||Gn.endColumn,zi.endLineNumber||Gn.endLineNumber,zi.endColumn||Gn.endColumn);jr.executeEdits("",[{range:Ti.range,text:""}])})}catch(Ti){}let fa=Ht();return vr&&typeof vr=="string"&&new je(vr,jr,De),Lr(!0),()=>{const Ti=cr.current.instance;Ti.dispose();const Gn=Ti.getModel();Gn&&Gn.dispose(),cr.current.subscription&&cr.current.subscription.dispose(),fa.unobserve(ur.current)}}catch(jr){}})},[]),(0,ye.useEffect)(()=>{if(cr.current.instance&&Xn)return document.addEventListener("keydown",Un,!1),()=>{document.removeEventListener("keydown",Un)}},[Ut,Xn]),(0,ye.useEffect)(()=>{let Rr=cr.current.instance;if(Rr&&Xn){let jr=Qe(bt);De.editor.setModelLanguage(Rr.getModel(),jr)}},[bt,Xn]),(0,ye.useEffect)(()=>{cr.current.instance&&Xn&&De.editor.setTheme(Lt)},[Lt,Xn]),(0,ye.useEffect)(()=>{let Rr=cr.current.instance;Qr.current=Mt,Rr&&Xn&&(Rr.updateOptions(wt({},Mt)),setTimeout(()=>{Rr.getModel().updateOptions(wt({},Mt))},200))},[JSON.stringify(Mt),Xn]),(0,ye.useEffect)(()=>{let Rr=cr.current.instance;Rr&&Xn&&Rr.layout()},[rt,ht,Xn]);const[_i,ar]=(0,ye.useState)($e(rt)),[Gr,Fi]=(0,ye.useState)($e(ht)),ir=It(wt({},Bt),{width:_i,height:Gr,position:"relative"});return ye.createElement("div",{className:"my-monaco-editor",ref:ur,style:ir},Wt&&ye.createElement(tt.CopyToClipboard,{text:St,onCopy:()=>Oe.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(ze.Z,{title:"\u590D\u5236\u4EE3\u7801"},ye.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},ye.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ue({width:Ie="100%",height:Ne="100%",original:rt,modified:ht,language:St,options:bt={}}){const Bt=(0,ye.useRef)(),[Mt,pt]=(0,ye.useState)(null);function Lt(Xt){let on;return Bt.current&&(on=new Xe.Z(dn=>{for(let bn of dn)(bn.target.offsetHeight>0||bn.target.offsetWidth>0)&&Xt.layout()}),on.observe(Bt.current)),on}(0,ye.useEffect)(()=>(Bt.current&&Promise.all([be.e(8909),be.e(9404)]).then(be.bind(be,2550)).then(Xt=>{De=Xt;const on=De.editor.createDiffEditor(Bt.current,It(wt({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},bt),{wordWrap:!0}));pt(on);let dn=Lt(on);return()=>{on.dispose();const bn=on.getModel();bn&&bn.dispose(),dn.unobserve(Bt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ye.useEffect)(()=>{Mt&&Mt.setModel({original:De.editor.createModel(rt,St),modified:De.editor.createModel(ht,St)})},[rt,ht,St,Mt]);const xt=$e(Ie),Wt=$e(Ne),Ut={width:xt,height:Wt};return ye.createElement("div",{className:"my-diff-editor",ref:Bt,style:Ut})}},16869:function(en,zt,be){"use strict";var ye=be(38476),Xe=be(57809),E=be(78673),pe=be(59301);const Ae=Xe.default.Option;zt.Z=({isTheoretical:ue,onFontSizeChange:le,cmFontSize:ae,cmCodeMode:se,autoFormat:ie,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 pe.createElement("div",{className:`tpi-code-setting ${a}`},pe.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),pe.createElement(Xe.default,{bordered:!1,size:"small",value:se,onChange:oe},pe.createElement(Ae,{value:"vs"},"\u767D\u8272\u80CC\u666F"),pe.createElement(Ae,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!ue&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),pe.createElement(Xe.default,{bordered:!1,size:"small",value:ae,onChange:le},pe.createElement(Ae,{value:12},"12px"),pe.createElement(Ae,{value:14},"14px"),pe.createElement(Ae,{value:16},"16px"),pe.createElement(Ae,{value:18},"18px"),pe.createElement(Ae,{value:20},"20px"),pe.createElement(Ae,{value:22},"22px"))),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"Tab\u8F6C\u6362"),pe.createElement(E.Z,{checked:y,onChange:re})),pe.createElement("div",{className:"file-item",onClick:z},pe.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!ue&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),pe.createElement("span",null,"Ctrl + S")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),pe.createElement("span",null,"F1 / Alt + F1")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),pe.createElement("span",null,"Ctrl + ]/[")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),pe.createElement("span",null,"Ctrl + Shift + \\")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),pe.createElement("span",null,"Home")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),pe.createElement("span",null,"End"))),x),!ue&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),pe.createElement("span",null,ee[te==null?void 0:te.difficulty])),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),pe.createElement("span",null,b==null?void 0:b.name)),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),pe.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},85057:function(en,zt,be){"use strict";be.d(zt,{jL:function(){return Ae},w9:function(){return at},QD:function(){return dn},cQ:function(){return tt},op:function(){return Lt},O5:function(){return xi},_b:function(){return An},t7:function(){return b},Gi:function(){return ft},YG:function(){return It},qp:function(){return oe},vr:function(){return er},qE:function(){return Ut},Je:function(){return ce},wb:function(){return xe},cq:function(){return De},tp:function(){return z}});var ye=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+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/Kj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zuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Ae=({dataSource:Xn=[],img:Lr,imgWidth:Ht=346,title:nn,sunTitle:cn,bannerExtraContent:tr})=>ye.createElement("div",{className:Xe.banner},ye.createElement("div",{className:Xe.content},ye.createElement("aside",null,ye.createElement("p",null,ye.createElement("b",null,nn),ye.createElement("span",null,cn)),Xn.length>0&&ye.createElement("div",{className:Xe.btns},Xn.map((Jn,Un)=>ye.createElement("div",{key:Un,onClick:Jn.click},Jn.name,Jn.sign?ye.createElement("img",{src:E,width:39}):null))),tr),Lr&&ye.createElement("img",{style:{marginTop:33,marginRight:38},src:Lr,width:Ht}))),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),ae=be.n(le),se=be(89392),oe=({dataSource:Xn=[],value:Lr,onChange:Ht,onTitleChange:nn,className:cn,title:tr,titleWidth:Jn=41,style:Un={},fontColor:Br="#6A7283",showCount:ri})=>{const[Mr,zr]=(0,ye.useState)(0),[_i,ar]=(0,ye.useState)(!1),Gr=(0,ye.useRef)(null),Fi=(0,ye.useRef)(null);return(0,ye.useEffect)(()=>{var ir;Xn.length!==0&&(((ir=Gr==null?void 0:Gr.current)==null?void 0:ir.clientHeight)>97?zr(1):zr(0)),Xn.length===0&&zr(0),ar(!1)},[Xn]),ye.createElement("div",{className:ae()(ue.row,cn),style:Un},ye.createElement("div",{onClick:(0,se.throttle)(()=>nn==null?void 0:nn(),2e3),style:{width:Jn,marginTop:_i?12:4},className:`${ue.title} ${nn?"current":""}`},tr),ye.createElement("div",{className:_i?`${ue.tagsWrap} ${ue.tagsBorderWrap}`:ue.tagsWrap},ye.createElement("div",{className:ue.bar,ref:Fi,style:Mr>0?{height:Mr===1?97:"auto",overflow:Mr===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ye.createElement("div",{className:ue.tag,ref:Gr},Xn==null?void 0:Xn.map(ir=>ye.createElement("span",{onClick:()=>Ht(ir.id),key:ir.id,style:{color:Br},className:Lr===ir.id?ue.active:""},ye.createElement("span",{title:ir.name,className:ue.name},ir.name),!!ri&&ye.createElement("span",{className:ue.num},ir.count))))),!!Mr&&ye.createElement(ye.Fragment,null,Mr===1?ye.createElement("div",{onClick:()=>{var ir;zr(2),((ir=Gr==null?void 0:Gr.current)==null?void 0:ir.clientHeight)>245?ar(!0):ar(!1)},className:ue.action},"\u5C55\u5F00",ye.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ye.createElement("div",{onClick:()=>{Fi.current.scrollTop=0,zr(1),ar(!1)},className:ue.action},"\u6536\u8D77",ye.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:Xn=[],value:Lr,onChange:Ht,className:nn,style:cn={}})=>ye.createElement("div",{style:cn,className:ae()(re.tabs,nn)},Xn.map(tr=>ye.createElement("span",{onClick:()=>Ht(tr.id),className:Lr===tr.id?re.active:"",key:tr.id},tr.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:Xn=[],value:Lr="",onChange:Ht,onInputChange:nn=()=>{},className:cn,style:tr={},placeholder:Jn,allowClear:Un=!1})=>{var Br;const[ri,Mr]=(0,ye.useState)(""),[zr,_i]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var Fi;let ir=Lr;(Fi=JSON.stringify(Lr))!=null&&Fi.includes("{")&&(Mr(Lr.id),ir=Lr.value||"");try{_i(decodeURIComponent(ir||""))}catch(Rr){_i(decodeURIComponent(ir||""))}},[Lr]);const ar=()=>{Ht(encodeURIComponent(zr),ri||null)},Gr=Fi=>{Fi!==ri&&(Mr(Fi),Ht(encodeURIComponent(zr),Fi))};return ye.createElement("div",{className:ae()(a.input,cn),style:tr},!!Xn.length&&ye.createElement("div",{className:a.dropdown},ye.createElement("div",{className:a.text},(Br=Xn.find(Fi=>Fi.id===ri))==null?void 0:Br.name,ye.createElement("i",{className:"iconfont icon-zhankai4"}),ye.createElement("b",{className:a.b1}),ye.createElement("b",{className:a.b2})),ye.createElement("div",{className:a.menu},Xn.map((Fi,ir)=>ye.createElement("div",{key:ir,onClick:()=>Gr(Fi.id)},Fi.name)))),ye.createElement(y.default,{onPressEnter:ar,value:zr,onChange:Fi=>{_i(Fi.target.value),nn(encodeURIComponent(Fi.target.value),ri||null)},bordered:!1,placeholder:Jn}),ye.createElement("i",{onClick:ar,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:Xn,onChange:Lr,className:Ht,total:nn,pageSize:cn,style:tr={}})=>{const Jn=Xn<2,Un=Xn>=Math.ceil(nn/cn);return nn<=cn?ye.createElement(ye.Fragment,null):ye.createElement("div",{className:ae()(te.quickPager,Ht),style:tr},ye.createElement("div",{onClick:()=>{Jn||Lr(Xn-1,"prev")},className:Jn?te.disabled:""},"\u4E0A\u4E00\u9875"),ye.createElement("div",{onClick:()=>{Un||Lr(Xn+1,"next")},className:Un?te.disabled:""},"\u4E0B\u4E00\u9875"))},de={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),fe=be(6848),ge=be(13570),ve=be(3294),me=be(955),Be=be(96908),Se=be(57177),Te=be(81378),we=be(8797),xe=({className:Xn,dataSource:Lr=[],col:Ht=4,right:nn,bottom:cn=23,precision:tr=0,wrapWidth:Jn=1200,trackEventItems:Un,loading:Br})=>{const ri=Math.floor((Jn-(Ht-1)*nn)/Ht);return ye.createElement(he.Z,{spinning:Br},ye.createElement("div",{className:ae()(de.list,Xn)},!!Lr.length&&Lr.map((Mr,zr)=>{const{name:_i,id:ar,identifier:Gr,power:Fi,cover_image_id:ir,pic:Rr}=Mr;return ye.createElement("div",{className:de.wrap,key:ar,style:{width:ri,marginRight:(1+zr)%Ht===0?0:nn+tr,marginBottom:cn}},ye.createElement("a",{target:"_blank",href:`/shixuns/${Gr}/challenges`,className:de.li,onClick:jr=>{jr.preventDefault(),Un&&(0,me.L9)([Un]),Fi&&(0,me.xg)(`/shixuns/${Gr}/challenges`)}},ye.createElement("div",{className:de.img},ye.createElement("img",{className:de.cover,src:`${Rr}`}),Mr.is_jupyter&&ye.createElement("img",{className:de.sign,src:Be}),Mr.is_jupyter_lab&&ye.createElement("img",{className:de.sign,src:Se}),Mr.is_unity_3d&&ye.createElement("img",{className:de.sign,src:Te})),ye.createElement("div",{className:de.name},ye.createElement(fe.Z,{title:_i||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ye.createElement("span",{className:de.e},_i||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ye.createElement("div",{className:de.tags},ye.createElement(fe.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ye.createElement("span",null,ye.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ye.createElement("span",null,Mr.challenges_count))),!!Mr.myshixuns_count&&ye.createElement(fe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ye.createElement("span",null,ye.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ye.createElement("span",null,Mr.myshixuns_count))),ye.createElement(fe.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ye.createElement("span",null,ye.createElement("span",null,Mr.level))),ye.createElement("div",{className:de.rate},ye.createElement(ge.Z,{allowHalf:!0,disabled:!0,defaultValue:Mr.score_info}),ye.createElement("span",null,"\xA0",Mr.score_info?`${Mr.score_info}\u5206`:"5\u5206")))),!Fi&&ye.createElement("div",{className:de.lockWrap},ye.createElement("img",{src:`${ve.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ye.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Lr.length&&ye.createElement(we.Z,null)))},Oe={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"},ze=be(24065),Ze=be(59301),tt=({className:Xn,dataSource:Lr=[],col:Ht=4,right:nn,bottom:cn=23,precision:tr=0,wrapWidth:Jn=1200,trackEventItems:Un,loading:Br,onRemove:ri=()=>{},isCurrent:Mr=!0,showAlias:zr=!1})=>{const _i=Math.floor((Jn-(Ht-1)*nn)/Ht),ar=[{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 Ze.createElement(he.Z,{spinning:Br},Ze.createElement("div",{className:ae()(Oe.list,Xn)},!!(Lr!=null&&Lr.length)&&(Lr==null?void 0:Lr.map((Gr,Fi)=>{var ir;const{name:Rr,id:jr,identifier:Si,featured:Hi,school_name:Ji,image_url:Na,excellent:ba,is_plan:fa}=Gr;return Ze.createElement("div",{key:jr,className:Oe.wrap,style:{width:_i,marginRight:(1+Fi)%Ht===0?0:nn+tr,marginBottom:cn}},Ze.createElement("a",{className:Oe.li,onClick:Ti=>{Ti.preventDefault(),Ti.stopPropagation(),Un&&(0,me.L9)([Un]),(0,me.xg)(`/paths/${Si}`)}},Ze.createElement("div",{className:Oe.img},Ze.createElement("img",{className:Oe.cover,src:`${Na}`}),Mr&&(0,ze.bg)()&&(Gr==null?void 0:Gr.studying)&&Ze.createElement("div",{className:`${Oe.movebq} user-path-items`,onClick:Ti=>{Ti.stopPropagation(),ri(Gr)}},Ze.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Ze.createElement("span",{className:"c-red"},"\u79FB\u9664")),(ir=Gr==null?void 0:Gr.subject_tags)==null?void 0:ir.map((Ti,Gn)=>{var zi,qn;if(Gn===0){const no=(zi=ar.find(Gi=>Gi.name==Ti))==null?void 0:zi.swimg;return Ze.createElement("img",{className:Oe.sign,src:no,style:{left:"-4px"}})}const oa=(qn=ar.find(no=>no.name==Ti))==null?void 0:qn.ptimg;return Ze.createElement("img",{className:Oe.sign,src:oa,style:{left:`${48+52*(Gn-1)+2*Gn}px`}})}),Ze.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Gr==null?void 0:Gr.excellent)&&Ze.createElement("div",{className:Oe.bq},"\u5F00\u653E\u8BFE\u7A0B"))),Ze.createElement("div",{className:Oe.name},Ze.createElement(fe.Z,{title:zr&&(Gr!=null&&Gr.excellent_alias_name)?Ze.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Rr}`,Ze.createElement("br",null),Ze.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Gr==null?void 0:Gr.excellent_alias_name}`)):Rr},Ze.createElement("span",{className:Oe.e},zr&&(Gr==null?void 0:Gr.excellent_alias_name)||Rr))),Ze.createElement(fe.Z,{title:`\u53D1\u5E03\u5355\u4F4D\uFF1A${Ji}`},Ze.createElement("div",{className:Oe.unit},Ze.createElement("i",{className:"iconfont icon-danwei1 font14 mr3"}),Ji)),Ze.createElement("div",{className:Oe.tags},Ze.createElement("div",null,Ze.createElement(fe.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},Ze.createElement("span",null,Ze.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ze.createElement("span",null,Gr.stages_count))),Ze.createElement(fe.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},Ze.createElement("span",null,Ze.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ze.createElement("span",null,Gr.members_count)))))))})),!Lr.length&&Ze.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___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},lt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmW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uQmCC",ct=be(59301),at=({className:Xn,dataSource:Lr=[],col:Ht=4,right:nn,bottom:cn=23,precision:tr=0,wrapWidth:Jn=1200,trackEventItems:Un,loading:Br,handleVery:ri=()=>!0})=>{const Mr=Math.floor((Jn-(Ht-1)*nn)/Ht);return ct.createElement(he.Z,{spinning:Br},ct.createElement("div",{className:ae()(qe.list,Xn)},!!Lr.length&&Lr.map((zr,_i)=>{const{subject_identifier:ar,id:Gr,identifier:Fi,power:ir}=zr,Rr=zr.is_public!=0&&zr.is_public;return ct.createElement("div",{className:qe.wrap,key:Gr,style:{width:Mr,marginRight:(1+_i)%Ht===0?0:nn+tr,marginBottom:cn}},ct.createElement("a",{className:qe.li,onClick:jr=>{jr.preventDefault(),ri(zr==null?void 0:zr.first_category_url)&&(Un&&(0,me.L9)([Un]),(0,me.xg)(zr.first_category_url))}},ct.createElement("div",{className:qe.top},ct.createElement(fe.Z,{title:zr.name},ct.createElement("div",{className:qe.name},zr.name)),ct.createElement("img",{className:qe.img,src:ve.Z.IMG_SERVER+"/images/"+zr.avatar_url}),ct.createElement("div",{className:qe.text,title:zr.creator},zr.creator),ar&&ct.createElement("div",{className:qe.btns},ct.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ct.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Rr&&ct.createElement("div",{className:qe.sign},"\u516C\u5F00")),ct.createElement("div",{className:qe.bottom},zr.visits>0&&ct.createElement(fe.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},ct.createElement("span",null,ct.createElement("i",{className:"iconfont icon-liulanyan"}),ct.createElement("span",null,zr.visits))),zr.course_members_count>0&&ct.createElement(fe.Z,{title:"\u6210\u5458",placement:"bottom"},ct.createElement("span",null,ct.createElement("i",{className:"iconfont icon-chengyuan"}),zr.course_members_count)),zr.tasks_count>0&&ct.createElement(fe.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},ct.createElement("span",null,ct.createElement("i",{className:"iconfont icon-zuoye"}),zr.tasks_count)),zr.is_end?ct.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):ct.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!zr.is_accessible&&ct.createElement("div",{className:qe.lockWrap},ct.createElement("img",{src:`${ve.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")))}),!Lr.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(89070),It=({dataSource:Xn=[],value:Lr,onChange:Ht,className:nn,style:cn={},tabBarExtraContent:tr})=>ye.createElement("div",{className:ae()(ut.tabs,nn),style:cn},ye.createElement("div",{className:ut.tabsWrap},Xn.map((Jn,Un)=>!(Jn!=null&&Jn.hide)&&ye.createElement("aside",{className:ut.tab,onClick:()=>{Ht(Jn.id),Jn.link&&At.history.push(Jn.link)},key:Un},ye.createElement("div",{className:Lr===Jn.id?ut.active:""},Jn.name),(Jn==null?void 0:Jn.resetCount)==null&&(Jn==null?void 0:Jn.total)!==void 0&&ye.createElement("span",null,"\uFF08",Jn==null?void 0:Jn.total,"\uFF09"),(Jn==null?void 0:Jn.resetCount)!==void 0&&(Jn==null?void 0:Jn.total)!==void 0&&ye.createElement(fe.Z,{title:(Jn==null?void 0:Jn.tip)!=null?Jn==null?void 0:Jn.tip:""},ye.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ye.createElement("span",{style:{color:"#000"}},Jn==null?void 0:Jn.resetCount),"/",ye.createElement("span",null,Jn==null?void 0:Jn.total),"\uFF09"))))),ye.createElement("div",{className:ut.tabBar},tr)),ft=({className:Xn,style:Lr={},children:Ht})=>ye.createElement("div",{className:ae()(Xn),style:Lr},Ht),$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 De=({sortValue:Xn,dropValue:Lr,className:Ht,onSort:nn,onDrop:cn,dataSource:tr=Ve})=>{var Jn;return ye.createElement("div",{className:ae()($e.orderWrap,Ht)},ye.createElement(Pe.Z,{dropdownRender:()=>ye.createElement(ke.default,null,tr.map((Un,Br)=>ye.createElement(ke.default.Item,{key:Br,onClick:()=>cn(Un.id)},Un.name)))},ye.createElement("span",{className:$e.orderTextWrap},(Jn=tr.find(Un=>Lr===Un.id))==null?void 0:Jn.name)),ye.createElement("span",{className:$e.orderIconWrap},ye.createElement("span",{className:$e.orderAsc},ye.createElement("i",{className:Xn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${$e.cursorPointer} ${$e.active}`:`iconfont icon-sanjiaoxing-up font12 ${$e.cursorPointer}`,onClick:()=>nn(Xn==="asc"?"desc":"asc")})),ye.createElement("span",{className:$e.orderDesc},ye.createElement("i",{className:Xn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${$e.cursorPointer} ${$e.active}`:`iconfont icon-sanjiaoxing-down font12 ${$e.cursorPointer}`,onClick:()=>nn(Xn==="asc"?"desc":"asc")}))))},Ye={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),Ie=Object.defineProperty,Ne=Object.getOwnPropertySymbols,rt=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,St=(Xn,Lr,Ht)=>Lr in Xn?Ie(Xn,Lr,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[Lr]=Ht,bt=(Xn,Lr)=>{for(var Ht in Lr||(Lr={}))rt.call(Lr,Ht)&&St(Xn,Ht,Lr[Ht]);if(Ne)for(var Ht of Ne(Lr))ht.call(Lr,Ht)&&St(Xn,Ht,Lr[Ht]);return Xn},Bt=(Xn,Lr)=>{var Ht={};for(var nn in Xn)rt.call(Xn,nn)&&Lr.indexOf(nn)<0&&(Ht[nn]=Xn[nn]);if(Xn!=null&&Ne)for(var nn of Ne(Xn))Lr.indexOf(nn)<0&&ht.call(Xn,nn)&&(Ht[nn]=Xn[nn]);return Ht},Mt=(Xn,Lr,Ht)=>new Promise((nn,cn)=>{var tr=Br=>{try{Un(Ht.next(Br))}catch(ri){cn(ri)}},Jn=Br=>{try{Un(Ht.throw(Br))}catch(ri){cn(ri)}},Un=Br=>Br.done?nn(Br.value):Promise.resolve(Br.value).then(tr,Jn);Un((Ht=Ht.apply(Xn,Lr)).next())}),Lt=Xn=>{var Lr=Xn,{className:Ht,style:nn,children:cn,loading:tr=!1,openLoading:Jn,onClick:Un=()=>{},size:Br="middle",shape:ri="round"}=Lr,Mr=Bt(Lr,["className","style","children","loading","openLoading","onClick","size","shape"]);const[zr,_i]=(0,ye.useState)(!1);return ye.createElement(Ue.ZP,bt({onClick:(0,se.throttle)(ar=>Mt(void 0,null,function*(){Jn&&_i(!0);try{yield Un(ar)}catch(Gr){console.log("error",Gr)}Jn&&_i(!1)}),2e3,{leading:!0,trailing:!1}),className:ae()(Ye.btn,Ye[`${Br}-${ri}`],Ht),style:nn,size:Br,shape:ri,loading:zr||tr},Mr),cn)},xt={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"},Ut=({className:Xn,style:Lr,children:Ht=null,onClick:nn,title:cn})=>ye.createElement("div",{className:ae()(xt.head,Xn),style:Lr},ye.createElement("span",{className:"primary-hover",onClick:nn},ye.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ye.createElement("b",{title:cn},cn),ye.createElement("div",{className:xt.node},Ht)),Xt={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"},dn=({confirmShow:Xn=!0,confirmTitle:Lr,confirmClick:Ht,cancelShow:nn=!0,cancelTitle:cn,cancelClick:tr,className:Jn,style:Un,confirmLoading:Br=!1})=>ye.createElement("div",{className:ae()(Xt.btns,Jn),style:Un},Xn&&ye.createElement(Ue.ZP,{loading:Br,onClick:Ht,type:"primary",className:Xt.confirm},Lr),nn&&ye.createElement(Ue.ZP,{onClick:tr,className:Xt.cancel},cn)),bn={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"},er=({className:Xn,style:Lr={},LeftContent:Ht,children:nn,RightContent:cn})=>ye.createElement("div",{className:ae()(bn.fixedBottom,Xn),style:Lr},ye.createElement("div",{className:bn.wrap},ye.createElement("div",{className:bn.left},Ht),ye.createElement("div",{className:bn.center},nn),ye.createElement("div",{className:bn.right},cn))),Fn={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"},An=({className:Xn,style:Lr={},dataSource:Ht=[]})=>ye.createElement("div",{className:ae()(Fn.crumbs,Xn),style:Lr},Ht.map((nn,cn)=>cnAt.history.push(nn.path)},nn.name):ye.createElement("span",null,nn.name),ye.createElement("span",null,"\xA0",">","\xA0")):ye.createElement("span",{key:cn,style:{color:"#5F6368"}},nn.name))),En=be(31797),kn=Object.defineProperty,br=Object.defineProperties,vr=Object.getOwnPropertyDescriptors,xr=Object.getOwnPropertySymbols,ur=Object.prototype.hasOwnProperty,cr=Object.prototype.propertyIsEnumerable,Qr=(Xn,Lr,Ht)=>Lr in Xn?kn(Xn,Lr,{enumerable:!0,configurable:!0,writable:!0,value:Ht}):Xn[Lr]=Ht,Ur=(Xn,Lr)=>{for(var Ht in Lr||(Lr={}))ur.call(Lr,Ht)&&Qr(Xn,Ht,Lr[Ht]);if(xr)for(var Ht of xr(Lr))cr.call(Lr,Ht)&&Qr(Xn,Ht,Lr[Ht]);return Xn},Hr=(Xn,Lr)=>br(Xn,vr(Lr)),di=(Xn,Lr)=>{var Ht={};for(var nn in Xn)ur.call(Xn,nn)&&Lr.indexOf(nn)<0&&(Ht[nn]=Xn[nn]);if(Xn!=null&&xr)for(var nn of xr(Xn))Lr.indexOf(nn)<0&&cr.call(Xn,nn)&&(Ht[nn]=Xn[nn]);return Ht};const{Countdown:aa}=En.default;var xi=Xn=>{var Lr=Xn,{onChange:Ht}=Lr,nn=di(Lr,["onChange"]);const[cn,tr]=(0,ye.useState)(null);(0,ye.useEffect)(()=>{typeof cn=="number"&&cn>=0&&Ht(cn)},[cn]);const Jn=Un=>{const Br=Math.floor(Un/1e3);tr(Br)};return ye.createElement(aa,Hr(Ur({},nn),{onChange:Jn}))}},58856:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return Xe}});var ye=be(59301);function Xe(E,pe){const Ae=(0,ye.useRef)();(0,ye.useEffect)(()=>{Ae.current=E}),(0,ye.useEffect)(()=>{function ue(){Ae.current()}if(pe!==null){let le=setInterval(ue,pe);return()=>clearInterval(le)}},[pe])}},31947:function(en,zt,be){"use strict";var ye=be(59301),Xe=be(31797),E=be(5871),pe=be(78241),Ae=be(43418),ue=be(71418),le=be(1710),ae=be(92832),se=be(95237),ie=be(43604),oe=be(3113),re=be(94941),ne=be(61186),z=be.n(ne),a=be(89070),y=be(955),x=be(16209),b=be(24065),te=be(83312),ee=be(59301),ce=(ge,ve,me)=>new Promise((Be,Se)=>{var Te=xe=>{try{je(me.next(xe))}catch(Oe){Se(Oe)}},we=xe=>{try{je(me.throw(xe))}catch(Oe){Se(Oe)}},je=xe=>xe.done?Be(xe.value):Promise.resolve(xe.value).then(Te,we);je((me=me.apply(ge,ve)).next())});const{Countdown:de}=Xe.default,he=({value:ge,onChange:ve,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:ge,onChange:ve,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"})),fe=({exercise:ge,successCb:ve,dispatch:me})=>{var Be,Se,Te,we;const je=(0,a.useParams)(),[xe]=pe.default.useForm(),Oe=pe.default.useWatch("time",xe),[ze,Ze]=(0,ye.useState)(!1),Me=(0,ye.useRef)(),{actionTabs:tt}=ge,[qe,lt]=(0,ye.useState)(),[,ct,nt,at]=(0,te.U)(re.n7,{id:je.categoryId}),[,ut,At]=(0,te.U)(re.Cd,{});(0,ye.useEffect)(()=>{ge.actionTabs.key==="student-unlock"&&(Ze(!1),xe.resetFields())},[ge.actionTabs.key]);const wt=()=>new Promise(De=>ce(void 0,null,function*(){var Ye,Ue;return Me.current=yield(0,x.y)({ip_limit:(Ye=tt==null?void 0:tt.exerciseParams)==null?void 0:Ye.ip_limit,ip_bind:(Ue=tt==null?void 0:tt.exerciseParams)==null?void 0:Ue.ip_bind_type}),De()})),It=()=>ce(void 0,null,function*(){var De,Ye,Ue,Ie,Ne;yield xe.validateFields();const rt=xe.getFieldsValue();if(Ze(!0),(((De=tt==null?void 0:tt.exerciseParams)==null?void 0:De.ip_limit)!=="no"||(Ye=tt==null?void 0:tt.exerciseParams)!=null&&Ye.ip_bind_type)&&(yield wt()),(yield(0,re.ZD)((Ue=tt==null?void 0:tt.exerciseParams)==null?void 0:Ue.id,{exercise_user_id:(Ie=tt==null?void 0:tt.exerciseParams)==null?void 0:Ie.exercise_user_id,unlock_key:rt.unlock_key,time:rt.time,ip:Me.current})).status===0){if(ve){me({type:"exercise/setActionTabs",payload:{}}),ve();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:je.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:{}})}Ze(!1)}),gt=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:De=>ee.createElement("span",{className:De.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},De)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:De=>ee.createElement("span",{className:De.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},De)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],ft=((Be=tt==null?void 0:tt.exerciseParams)==null?void 0:Be.errorMessage)&&typeof((Se=tt==null?void 0:tt.exerciseParams)==null?void 0:Se.errorMessage)=="object";(0,ye.useEffect)(()=>{ge.actionTabs.key==="student-unlock"&&ce(void 0,null,function*(){const De=yield At(je);yield nt({}),De.status||lt(De)})},[ge.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)+(Oe||0);return ee.createElement(ee.Fragment,null,ee.createElement(Ae.default,{width:514,centered:!0,closable:!!((Te=tt==null?void 0:tt.exerciseParams)!=null&&Te.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:ge.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{me({type:"exercise/setActionTabs",payload:{}})}},ee.createElement(ue.Z,{spinning:ct||ut},ft&&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 "),!ft&&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"),ft&&ee.createElement(le.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((we=tt==null?void 0:tt.exerciseParams)==null?void 0:we.errorMessage)||{}],columns:gt}),ee.createElement("div",{className:""},ee.createElement(pe.default,{form:xe,layout:"vertical",autoComplete:"off"},ee.createElement(pe.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},ee.createElement(ae.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),$e!==-1?ee.createElement(ee.Fragment,null,ee.createElement(pe.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(Oe||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(ie.Z,null),ee.createElement(ie.Z,null,ee.createElement(oe.ZP,{loading:ze,onClick:It},"\u8FDB\u5165\u8003\u8BD5"))))))};zt.Z=(0,a.connect)(({exercise:ge})=>({exercise:ge}))(fe)},63764:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ze}});var ye=be(59301),Xe=be(5112),E=be(3113),pe=be(8591),Ae=be(43418),ue=be(5871),le=be(95237),ae=be(43604),se=be(28103),ie=be(23954),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(24065),ne=be(24334),z=be(99064),a=be(89070),y=be(85149),x=be(36708),b=be(87169),te=be(26227),ee=be(59301),ce=Object.defineProperty,de=Object.defineProperties,he=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,me=(Ze,Me,tt)=>Me in Ze?ce(Ze,Me,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Ze[Me]=tt,Be=(Ze,Me)=>{for(var tt in Me||(Me={}))ge.call(Me,tt)&&me(Ze,tt,Me[tt]);if(fe)for(var tt of fe(Me))ve.call(Me,tt)&&me(Ze,tt,Me[tt]);return Ze},Se=(Ze,Me)=>de(Ze,he(Me)),Te=(Ze,Me,tt)=>new Promise((qe,lt)=>{var ct=ut=>{try{at(tt.next(ut))}catch(At){lt(At)}},nt=ut=>{try{at(tt.throw(ut))}catch(At){lt(At)}},at=ut=>ut.done?qe(ut.value):Promise.resolve(ut.value).then(ct,nt);at((tt=tt.apply(Ze,Me)).next())});const we={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1,enableSplitViewResizing:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1};var je=(Ze=>(Ze[Ze.SET_PATH=0]="SET_PATH",Ze[Ze.GET_PASSED_CONTENT=1]="GET_PASSED_CONTENT",Ze))(je||{});function xe(Ze,Me){switch(Me.type){case 0:return Se(Be({},Ze),{selectedPath:Me.payload});case 1:return Se(Be({},Ze),{passedContent:Me.payload});default:throw new Error}}var ze=({language:Ze,dispatch:Me,shixunWorkReport:tt,v:qe,languages:lt,classroomList:ct,autoHeight:nt,diff_code_count:at,data:ut})=>{const[At,wt]=(0,ye.useState)(lt==null?void 0:lt[0]),It=(0,a.useParams)();return(0,ye.useEffect)(()=>{wt(lt==null?void 0:lt[0])},[]),(0,ye.useEffect)(()=>{var gt;wt((gt=lt==null?void 0:lt.filter(ft=>ft.language===(At==null?void 0:At.language)))==null?void 0:gt[0])},[lt]),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")),(lt==null?void 0:lt.length)>1&&ee.createElement(Xe.ZP.Group,{defaultValue:Ze,style:{marginLeft:10},onChange:gt=>{var ft;qe.language=gt.target.value,wt((ft=lt==null?void 0:lt.filter($e=>$e.language===gt.target.value))==null?void 0:ft[0])}},lt==null?void 0:lt.map(gt=>ee.createElement(Xe.ZP,{value:gt==null?void 0:gt.language},gt==null?void 0:gt.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 gt,ft;if(!((ft=(gt=ct.AssistantObject)==null?void 0:gt.hack)!=null&&ft.can_appraise)&&(0,re.Rm)()){pe.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:()=>Te(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&&(pe.ZP.success("\u8C03\u5206\u6210\u529F"),Me({type:"shixunHomeworks/setActionTabs",payload:{}}),Me({type:"shixunHomeworks/getShixunWorkReports",payload:Be({},It)}))}),cancelText:"\u53D6\u6D88"})},type:"primary"},"\u8C03\u5206"),(0,re.GJ)()&&tt!="shixunWorkReport"&&ee.createElement(E.ZP,{onClick:()=>{var gt;if(!((gt=ct.AssistantObject.hack)!=null&>.can_appraise)&&(0,re.Rm)()){pe.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:Be({},tt)}}})}},"\u70B9\u8BC4\u4EE3\u7801"))),ee.createElement(ie.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:nt,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(ae.Z,{flex:1},ee.createElement("h1",{className:oe.title},"\u70B9\u8BC4\u5185\u5BB9")),ee.createElement(ae.Z,{className:"pr30"},(0,re.GJ)()&&ee.createElement(E.ZP,{onClick:()=>Te(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 Te(this,null,function*(){(yield(0,x.gZ)({comment_id:At==null?void 0:At.comment_id,homeworkId:It.homeworkId,type:"hack"})).status===0&&(pe.ZP.success("\u5220\u9664\u6210\u529F"),Me({type:"shixunHomeworks/getShixunWorkReports",payload:Be({},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}))))}},11091:function(en,zt,be){"use strict";be.r(zt),be.d(zt,{default:function(){return Bt}});var ye=be(59301),Xe=be(86129),E=be.n(Xe),pe=be(89070),Ae=be(43418),ue=be(61621),le=be(66104),ae=be(95237),se=be(43604),ie=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(3294),te=be(24065),ee=be(955),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"},de=be(63764),he=be(99064),fe=be(24334),ge=be(61186),ve=be.n(ge),me=be(23954),Be=be(87001);const Se=({shixunHomeworks:Mt,autoHeight:pt,classroomList:Lt,user:xt,dispatch:Wt})=>{const{shixunWorkReport:Ut}=Mt,{stage_list:Xt,work_id:on}=Ut,dn=(0,pe.useParams)(),bn=(0,te.GJ)(),[Mn,er]=(0,ye.useState)(),Fn={selectOnLineNumbers:!0,readOnly:!0,minimap:{enabled:!1},scrollBeyondLastLine:!1},Dn=kn=>kn==="c++"?1:kn==="C++"?2:kn;function An(kn,br){return(0,he.U2)(`student_works/${on}/rep_passed_content.json`,{path:br,game_id:kn})}const En=(0,ee.qZ)(5,Ut.hack);return ye.createElement(ye.Fragment,null,En==null?void 0:En.map(function(kn,br){return ye.createElement("div",{key:br},kn.map(function(vr,xr){var ur,cr,Qr;return ye.createElement("aside",{className:"pl30 pr30",key:xr},ye.createElement("div",{className:`${ce.shixunTitle} mt10`},ye.createElement("div",{style:{display:"flex",width:"100%"}},ye.createElement("span",{className:"fa fa-code "}),ye.createElement("strong",{style:{flex:1},className:"c-black"},"\u7B2C",br*5+xr+1,"\u9898 ",vr.name),vr.is_finish&&ye.createElement("a",{style:{marginLeft:20},onClick:Ur=>{Ur.preventDefault(),window.open(`${vr==null?void 0:vr.url}&language=${Dn(vr.language)}`),localStorage.setItem("program_homework",[dn.coursesId,dn.categoryId])}},"\u67E5\u770B\u7B54\u9898\u8BE6\u60C5",">>"),!vr.is_finish&&vr.final_submit_languages.length>0&&ye.createElement("a",{style:{marginLeft:20},onClick:Ur=>{Ur.preventDefault(),window.open(`${vr==null?void 0:vr.url}&language=${Dn(vr.final_submit_languages[0].language)}`),localStorage.setItem("program_homework",[dn.coursesId,dn.categoryId])}},"\u67E5\u770B\u7B54\u9898\u8BE6\u60C5",">>"))),ye.createElement("div",{className:"font16 mt10"},vr.is_finish?ye.createElement("aside",{className:ce.shixunWrp},ye.createElement(de.Z,{classroomList:Lt,user:xt,v:vr,shixunWorkReport:Ut,dispatch:Wt,autoHeight:pt,languages:vr.languages,language:vr.language,game_id:vr.id,data:fe.Base64.decode(vr.code),diff_code_count:vr.diff_code_count,onPathChange:An})):vr.final_submit_languages.length>0&&ye.createElement("aside",{className:ce.shixunWrp},ye.createElement(de.Z,{classroomList:Lt,user:xt,v:vr,shixunWorkReport:Ut,dispatch:Wt,autoHeight:pt,languages:vr.final_submit_languages,language:vr.final_submit_languages[0].language,game_id:vr.id,data:fe.Base64.decode(vr.final_submit_languages[0].code),diff_code_count:vr.diff_code_count,onPathChange:An}))),ye.createElement("aside",{className:"mt10 font16"},(ur=vr.history)!=null&&ur.length?ye.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:(Ur,Hr)=>ye.createElement("span",null,Hr!=null&&Hr.created_at?ve()(Hr==null?void 0:Hr.created_at).format("YYYY-MM-DD HH:mm"):"--")},{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",align:"center",render:(Ur,Hr)=>{var di;return ye.createElement("span",{className:Ur===0?"c-green":"c-red"},((di=Be.Im[Ur])==null?void 0:di.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))||"--")}},((Qr=(cr=vr==null?void 0:vr.history)==null?void 0:cr[0])==null?void 0:Qr.show_code)&&{title:"\u64CD\u4F5C",align:"center",dataIndex:"code",key:"code",width:100,render:(Ur,Hr)=>ye.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:ye.createElement("div",{className:"mb10"},ye.createElement(me.ZP,{height:300,language:"python",theme:"vs-light",value:Hr!=null&&Hr.code?fe.Base64.decode(Hr==null?void 0:Hr.code):"",autoHeight:pt,options:Fn}))})}},"\u67E5\u770B\u4EE3\u7801")}].filter(Ur=>!!Ur),pagination:{hideOnSinglePage:!0},dataSource:vr.history}):"\u672C\u5173\u65E0\u8BC4\u6D4B\u8BB0\u5F55"))}))}))};var Te=(0,pe.connect)(({shixunHomeworks:Mt,loading:pt,globalSetting:Lt,classroomList:xt,user:Wt})=>({shixunHomeworks:Mt,globalSetting:Lt,loading:pt.effects,classroomList:xt,user:Wt}))(Se),we=be(78241),je=be(92832),xe=be(30917),Oe=be(59301),ze=Object.defineProperty,Ze=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,tt=Object.prototype.propertyIsEnumerable,qe=(Mt,pt,Lt)=>pt in Mt?ze(Mt,pt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Mt[pt]=Lt,lt=(Mt,pt)=>{for(var Lt in pt||(pt={}))Me.call(pt,Lt)&&qe(Mt,Lt,pt[Lt]);if(Ze)for(var Lt of Ze(pt))tt.call(pt,Lt)&&qe(Mt,Lt,pt[Lt]);return Mt},ct=(Mt,pt)=>{var Lt={};for(var xt in Mt)Me.call(Mt,xt)&&pt.indexOf(xt)<0&&(Lt[xt]=Mt[xt]);if(Mt!=null&&Ze)for(var xt of Ze(Mt))pt.indexOf(xt)<0&&tt.call(Mt,xt)&&(Lt[xt]=Mt[xt]);return Lt},nt=(Mt,pt,Lt)=>new Promise((xt,Wt)=>{var Ut=dn=>{try{on(Lt.next(dn))}catch(bn){Wt(bn)}},Xt=dn=>{try{on(Lt.throw(dn))}catch(bn){Wt(bn)}},on=dn=>dn.done?xt(dn.value):Promise.resolve(dn.value).then(Ut,Xt);on((Lt=Lt.apply(Mt,pt)).next())});const at=Mt=>{var pt=Mt,{shixunHomeworks:Lt,dispatch:xt}=pt,Wt=ct(pt,["shixunHomeworks","dispatch"]),Ut,Xt,on;const dn=(0,pe.useParams)(),[bn,Mn]=(0,ye.useState)(!1),[er]=we.default.useForm(),[Fn,Dn]=Ae.default.useModal(),[An,En]=(0,ye.useState)(!1),[kn,br]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{var xr,ur,cr,Qr,Ur,Hr;Lt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&(Lt.actionTabs.selectArrs.type==="1"?er.setFieldsValue({comment:Lt.actionTabs.selectArrs.v.comment,hidden_comment:Lt.actionTabs.selectArrs.v.hidden_comment}):er.setFieldsValue({comment:(cr=(ur=(xr=Lt.actionTabs.selectArrs)==null?void 0:xr.data)==null?void 0:ur.data)==null?void 0:cr.work_comment,hidden_comment:(Hr=(Ur=(Qr=Lt.actionTabs.selectArrs)==null?void 0:Qr.data)==null?void 0:Ur.data)==null?void 0:Hr.work_comment_hidden}))},[Lt.actionTabs.key]);const vr=()=>nt(void 0,null,function*(){var xr,ur,cr,Qr;const Ur=er.getFieldValue();let Hr=Lt.actionTabs.selectArrs.type==="1"?`/api/problems/${Lt.actionTabs.selectArrs.v.identifier}/hack_comment.json`:`/api/student_works/${dn.homeworkId}/shixun_work_comment.json`;(yield(0,he.ZP)(Hr,{method:"post",body:{hidden_comment:Ur.hidden_comment,comment:Ur.comment,language:(xr=Lt.actionTabs.selectArrs)==null?void 0:xr.language,user_id:(Qr=(cr=(ur=Lt.actionTabs.selectArrs)==null?void 0:ur.data)==null?void 0:cr.data)==null?void 0:Qr.user_id}})).status===0&&(oe.ZP.success("\u8BC4\u9605\u6210\u529F"),er.resetFields(),xt({type:"shixunHomeworks/setActionTabs",payload:{}}),xt({type:"shixunHomeworks/getShixunWorkReports",payload:lt({},dn)}))});return Oe.createElement(Oe.Fragment,null,Dn,Oe.createElement(Ae.default,{centered:!0,title:Oe.createElement("span",null,((Ut=Lt.actionTabs.selectArrs)==null?void 0:Ut.type)==="1"?"\u70B9\u8BC4\u4EE3\u7801":"\u66F4\u6539\u70B9\u8BC4",((Xt=Lt.actionTabs.selectArrs)==null?void 0:Xt.language)&&Oe.createElement("span",{style:{marginLeft:10,fontSize:14}},"\u4F7F\u7528\u8BED\u8A00\uFF1A",(on=Lt.actionTabs.selectArrs)==null?void 0:on.language)),open:Lt.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>nt(void 0,null,function*(){const xr=er.getFieldValue();JSON.stringify(xr)==="{}"||xr.hidden_comment===""&&xr.comment===""?Mn(!0):vr()}),onCancel:()=>{xt({type:"shixunHomeworks/setActionTabs",payload:{}})}},Oe.createElement(we.default,{form:er,onChange:()=>{bn&&Mn(!1)}},Oe.createElement(ae.Z,{wrap:!1,align:"middle",justify:"space-between"},Oe.createElement(se.Z,null,Oe.createElement("div",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Oe.createElement(se.Z,null,Oe.createElement(xe.Z,{isShowComponent:(0,te.G5)(),ModalProps:{open:An,onCancel:()=>{En(!1)}},onDataSelect:(xr,ur)=>nt(void 0,[xr,ur],function*(cr,{node:Qr}){const Ur=()=>{er.setFieldsValue({comment:Qr==null?void 0:Qr.value}),En(!1)};if(er.getFieldValue("comment")){Fn.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:Ur});return}Ur()})},Oe.createElement(ie.ZP,{style:{padding:0,height:"auto"},icon:Oe.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:xr=>{En(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Oe.createElement(we.default.Item,{name:"comment"},Oe.createElement(je.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),Oe.createElement(ae.Z,{wrap:!1,align:"middle",justify:"space-between"},Oe.createElement(se.Z,null,Oe.createElement("div",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1")),Oe.createElement(se.Z,null,Oe.createElement(xe.Z,{isShowComponent:(0,te.G5)(),ModalProps:{open:kn,onCancel:()=>{br(!1)}},onDataSelect:(xr,ur)=>nt(void 0,[xr,ur],function*(cr,{node:Qr}){const Ur=()=>{er.setFieldsValue({hidden_comment:Qr==null?void 0:Qr.value}),br(!1)};if(er.getFieldValue("hidden_comment")){Fn.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:Ur});return}Ur()})},Oe.createElement(ie.ZP,{style:{padding:0,height:"auto"},icon:Oe.createElement("i",{className:"iconfont icon-changyongpingyu"}),type:"link",onClick:xr=>{br(!0)}},"\u5E38\u7528\u8BC4\u8BED")))),Oe.createElement(we.default.Item,{name:"hidden_comment"},Oe.createElement(je.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),bn&&Oe.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var ut=(0,pe.connect)(({shixunHomeworks:Mt})=>({shixunHomeworks:Mt}))(at),At=be(16938),wt=be(85149),It=be(36708),gt=be(44164),ft=be.n(gt),$e=be(83992),Pe=be(59301),ke=Object.defineProperty,Ve=Object.defineProperties,Qe=Object.getOwnPropertyDescriptors,De=Object.getOwnPropertySymbols,Ye=Object.prototype.hasOwnProperty,Ue=Object.prototype.propertyIsEnumerable,Ie=(Mt,pt,Lt)=>pt in Mt?ke(Mt,pt,{enumerable:!0,configurable:!0,writable:!0,value:Lt}):Mt[pt]=Lt,Ne=(Mt,pt)=>{for(var Lt in pt||(pt={}))Ye.call(pt,Lt)&&Ie(Mt,Lt,pt[Lt]);if(De)for(var Lt of De(pt))Ue.call(pt,Lt)&&Ie(Mt,Lt,pt[Lt]);return Mt},rt=(Mt,pt)=>Ve(Mt,Qe(pt)),ht=(Mt,pt)=>{var Lt={};for(var xt in Mt)Ye.call(Mt,xt)&&pt.indexOf(xt)<0&&(Lt[xt]=Mt[xt]);if(Mt!=null&&De)for(var xt of De(Mt))pt.indexOf(xt)<0&&Ue.call(Mt,xt)&&(Lt[xt]=Mt[xt]);return Lt},St=(Mt,pt,Lt)=>new Promise((xt,Wt)=>{var Ut=dn=>{try{on(Lt.next(dn))}catch(bn){Wt(bn)}},Xt=dn=>{try{on(Lt.throw(dn))}catch(bn){Wt(bn)}},on=dn=>dn.done?xt(dn.value):Promise.resolve(dn.value).then(Ut,Xt);on((Lt=Lt.apply(Mt,pt)).next())});const bt=Mt=>{var pt=Mt,{shixunHomeworks:Lt,globalSetting:xt,loading:Wt,classroomList:Ut,dispatch:Xt}=pt,on=ht(pt,["shixunHomeworks","globalSetting","loading","classroomList","dispatch"]),dn,bn,Mn,er,Fn,Dn,An,En,kn,br,vr,xr,ur,cr,Qr,Ur,Hr,di,aa,Oi,xi,Xn,Lr,Ht,nn,cn,tr,Jn,Un,Br,ri;const[Mr,zr]=(0,ye.useState)(Ne({},(0,pe.useParams)())),_i=(0,pe.useParams)(),ar=(0,pe.useLocation)(),[]=(0,ye.useState)([]),[Gr,Fi]=(0,ye.useState)({last:!1}),[ir,Rr]=(0,ye.useState)({last:!1}),jr=(0,ye.useRef)(),Si=(0,ye.useRef)(),[Hi,Ji]=(0,ye.useState)(!1),[Na,ba]=(0,ye.useState)(!1),[fa,Ti]=(0,ye.useState)(!1),{shixunWorkReport:Gn}=Lt,[zi,qn]=(0,ye.useState)(new(E())),[oa,no]=(0,ye.useState)([]),[Gi,ji]=(0,ye.useState)(!1),[Pr,Yr]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>(Xt({type:"globalSetting/footerToggle",payload:!1}),Xt({type:"classroomList/getAssistantPermissions",payload:{course_id:Mr.coursesId}}),()=>{Xt({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ye.useEffect)(()=>{Lt.actionTabs.key==="\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A"&&oa.length>0&&!Na&&setTimeout(()=>{Wa("all")},800)},[oa,Na]),(0,ye.useEffect)(()=>{zr(Ne({},_i))},[ar.pathname]);const Ei=()=>{document.body.scrollIntoView()};function Wr(){return St(this,null,function*(){var Ci,qi,or,Nr;const fi=JSON.parse(sessionStorage.all_student_works_params||"{}"),hi=yield Xt({type:"shixunHomeworks/getAllStudentWorks",payload:Ne(Ne({},Mr),fi)});no(hi.all_student_works);const Qa=(Ci=hi.all_student_works)==null?void 0:Ci.map(Mi=>String(Mi.student_work_id)).indexOf(Mr.homeworkId);Qa===((qi=hi.all_student_works)==null?void 0:qi.length)-1?Fi({last:!0}):Fi((or=hi.all_student_works)==null?void 0:or[Qa+1]),Rr(Qa===0?{last:!0}:(Nr=hi.all_student_works)==null?void 0:Nr[Qa-1])})}const wa=()=>{document.querySelectorAll("canvas").forEach(Ci=>{(!Ci.clientWidth||!Ci.clientHeight)&&Ci.remove()})},ca=()=>{jr.current.offsetHeight>62e3?Ti(!1):Ti(!0)},Wa=Ci=>St(void 0,null,function*(){var qi,or,Nr,fi;let hi=0,Qa;Qa=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"},hi+1),"/",Ci!=="all"?1:oa==null?void 0:oa.length,Pe.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3"),maskClosable:!1,className:ce.modal,onOk:()=>{}});const Mi={margin:[0,0],filename:`${(qi=Gn==null?void 0:Gn.data)==null?void 0:qi.user_name}.pdf`,html2canvas:{useCORS:!0,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"landscape"}};function Ba(){return St(this,null,function*(){const Ia=yield Xt({type:"shixunHomeworks/getShixunWorkReports",payload:rt(Ne({},Mr),{homeworkId:oa[hi].student_work_id,user_id:oa[hi].user_id,id:Mr.categoryId})});Ei(),hi++,setTimeout(()=>St(this,null,function*(){var Yi,ra;wa();const Ta=zi.folder(`${(Yi=Ia==null?void 0:Ia.data)==null?void 0:Yi.user_name}`),Ha=document.querySelector("#export-all").children;let Ho=ft()();for(let _o=0;_oSt(this,null,function*(){_o{var Ko;const ml=ps.folder(`\u7B2C${fs+1}\u5173-${_o.name}-${_o.id}`);(Ko=_o==null?void 0:_o.languages)==null||Ko.map(pn=>{ml.file(`${pn.language}.txt`,fe.Base64.decode(pn==null?void 0:pn.code))})}),Qa.update({content:Pe.createElement("div",null,"\u5F53\u524D\u8FDB\u5EA6: ",Pe.createElement("span",{className:"c-blue"},hi),"/",oa==null?void 0:oa.length,Pe.createElement("br",null),"\u8BF7\u52FF\u5173\u95ED\u6D4F\u89C8\u5668\u7A97\u53E3")}),hi==(oa==null?void 0:oa.length)?(Qa.destroy(),Sa()):Ba()}),2200)})}if(Ci!=="all"||(oa==null?void 0:oa.length)<2){wa(),Ei();const Ia=Si.current.children;let Yi=ft()();const ra=zi.folder(`${(or=Gn==null?void 0:Gn.data)==null?void 0:or.user_name}`);for(let Ha=0;HaSt(void 0,null,function*(){Ha{var ps;const _o=Ta.folder(`\u7B2C${Ho+1}\u5173-${Ha.name}-${Ha.id}`);(ps=Ha==null?void 0:Ha.languages)==null||ps.map(fs=>{_o.file(`${fs.language}.txt`,fe.Base64.decode(fs==null?void 0:fs.code))})}),Qa.destroy(),Sa();return}else Ba()}),Sa=()=>{zi.generateAsync({type:"blob"}).then(function(Ci){const qi=document.createElement("a");qi.href=window.URL.createObjectURL(Ci),qi.download=Gn.category.course_name+".zip",document.body.appendChild(qi);const or=document.createEvent("MouseEvents");or.initEvent("click",!1,!1),qi.dispatchEvent(or),document.body.removeChild(qi),qn(new(E()))}),Ti(!1)};(0,ye.useEffect)(()=>{yi()},[Mr.homeworkId]);const yi=()=>St(void 0,null,function*(){ba(!0),yield Xt({type:"shixunHomeworks/getShixunWorkReports",payload:Ne({},Mr)}),ba(!1),(0,te.GJ)()&&Wr()}),vo=[{title:"\u9898\u53F7",dataIndex:"name",render:(Ci,qi,or)=>or+1},{title:"\u9898\u76EE\u540D\u79F0",dataIndex:"name",ellipsis:!0,width:"30%"},{title:"\u5B8C\u6210\u65F6\u95F4",dataIndex:"finish_time",width:"200px",render:(Ci,qi,or)=>{var Nr,fi;return Pe.createElement("div",null,Pe.createElement("p",null,Ci||"- -"),(fi=(Nr=qi==null?void 0:qi.subitem)==null?void 0:Nr.map(hi=>hi.finish_time))==null?void 0:fi.map(hi=>Pe.createElement("p",null,hi||"- -")))}},{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"submit_count",render:(Ci,qi,or)=>{var Nr,fi;return Pe.createElement("div",null,Pe.createElement("p",null,Ci||"- -"),(fi=(Nr=qi==null?void 0:qi.subitem)==null?void 0:Nr.map(hi=>hi.submit_count))==null?void 0:fi.map(hi=>Pe.createElement("p",null,hi||"- -")))}},{title:"\u8FD0\u884C\u65F6\u95F4\uFF08ms\uFF09",dataIndex:"run_time",render:(Ci,qi,or)=>{var Nr,fi;return Pe.createElement("div",null,Pe.createElement("p",null,Ci||"- -"),(fi=(Nr=qi==null?void 0:qi.subitem)==null?void 0:Nr.map(hi=>hi.run_time))==null?void 0:fi.map(hi=>Pe.createElement("p",null,hi||"- -")))}},{title:"\u5185\u5B58\uFF08kb\uFF09",dataIndex:"memory",render:(Ci,qi,or)=>{var Nr,fi;return Pe.createElement("div",null,Pe.createElement("p",null,Ci||"- -"),(fi=(Nr=qi==null?void 0:qi.subitem)==null?void 0:Nr.map(hi=>hi.memory))==null?void 0:fi.map(hi=>Pe.createElement("p",null,hi||"- -")))}},{title:"\u4F7F\u7528\u8BED\u8A00",dataIndex:"language",render:(Ci,qi,or)=>{var Nr,fi;return Pe.createElement("div",null,Pe.createElement("p",null,Ci||"- -"),(fi=(Nr=qi==null?void 0:qi.subitem)==null?void 0:Nr.map(hi=>hi.language))==null?void 0:fi.map(hi=>Pe.createElement("p",null,hi||"- -")))}},{title:"\u5F97\u5206",dataIndex:"score",render:(Ci,qi,or)=>Pe.createElement("div",null,Pe.createElement("p",null,Ci||"- -"))},{title:"\u6392\u540D",dataIndex:"rank",render:(Ci,qi,or)=>{var Nr,fi;return Pe.createElement("div",null,Pe.createElement("p",null,Ci||"- -"),(fi=(Nr=qi==null?void 0:qi.subitem)==null?void 0:Nr.map(hi=>hi.rank))==null?void 0:fi.map(hi=>Pe.createElement("p",null,hi||"- -")))}}],sr=Ci=>{Xt({type:"shixunHomeworks/setActionTabs",payload:{key:"",type:2}}),setTimeout(()=>{Ci==="next"?pe.history.push(`/classrooms/${Mr.coursesId}/program_homework/${Mr.categoryId}/${Gr==null?void 0:Gr.student_work_id}/${Gr==null?void 0:Gr.user_id}/comment`):pe.history.push(`/classrooms/${Mr.coursesId}/program_homework/${Mr.categoryId}/${ir==null?void 0:ir.student_work_id}/${ir==null?void 0:ir.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:Na,active:!0,avatar:{size:40},paragraph:{rows:5}},Pe.createElement("div",{className:"edu-container"},((dn=Gn==null?void 0:Gn.category)==null?void 0:dn.course_id)&&Pe.createElement("section",{className:"animated fadeIn"},Pe.createElement("aside",{className:""},(Gn==null?void 0:Gn.category)&&Pe.createElement(le.Z,{separator:">"},Pe.createElement(le.Z.Item,null,Pe.createElement(pe.Link,{to:`/classrooms/${(bn=Gn==null?void 0:Gn.category)==null?void 0:bn.course_id}/program_homework`},(Mn=Gn==null?void 0:Gn.category)==null?void 0:Mn.course_name)),Pe.createElement(le.Z.Item,null,Pe.createElement(pe.Link,{to:`/classrooms/${(er=Gn==null?void 0:Gn.category)==null?void 0:er.course_id}/program_homework`},Gn.category.category_name)),Pe.createElement(le.Z.Item,null,Pe.createElement(pe.Link,{to:`/classrooms/${(Fn=Gn==null?void 0:Gn.category)==null?void 0:Fn.course_id}/program_homework/${Mr==null?void 0:Mr.categoryId}/detail`},"\u4F5C\u4E1A\u8BE6\u60C5")),Pe.createElement(le.Z.Item,null,(Dn=Gn==null?void 0:Gn.data)==null?void 0:Dn.user_name))),Pe.createElement("aside",{className:[ce.title1,"mt20"].join(" ")},Pe.createElement(ae.Z,{align:"middle"},Pe.createElement(se.Z,{flex:1},Pe.createElement(pe.Link,{to:`/classrooms/${Mr.coursesId}/program_homework/${Mr==null?void 0:Mr.categoryId}/detail`},Pe.createElement(z.Z,{className:"font16 c-black"})),Pe.createElement("strong",{className:"font20 ml5"},(An=Gn==null?void 0:Gn.category)==null?void 0:An.homework_name),Pe.createElement(ee.VV,{temporary:!0,status:Gn.homework_status})),Pe.createElement(se.Z,{className:ce.title1_right},Pe.createElement(ie.ZP,{className:"ml10",onClick:()=>{var Ci;if((0,te.Rm)()&&!((Ci=Ut.AssistantObject.hack)!=null&&Ci.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}Wa("")},loading:Hi},Pe.createElement("span",{className:"iconfont icon-daochu mr5"}),"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A"),(0,te.GJ)()&&(oa==null?void 0:oa.length)>1&&Pe.createElement(ie.ZP,{className:"ml10",onClick:()=>{var Ci;if((0,te.Rm)()&&!((Ci=Ut.AssistantObject.hack)!=null&&Ci.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}Wa("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:jr},Pe.createElement("div",{id:"export-all",ref:Si},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(ie.ZP,{className:"mr20",type:"primary",onClick:()=>{Xt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Gn.user_id,data:Ne({},Gn)}}})}},Pe.createElement(a.Z,null),(En=Gn==null?void 0:Gn.data)!=null&&En.has_comment?"\u66F4\u6539\u70B9\u8BC4":"\u70B9\u8BC4\u4F5C\u4E1A"))),Pe.createElement(re.Z,{style:{marginTop:0}}),Pe.createElement(ae.Z,{className:"pl30 pr30"},Pe.createElement(se.Z,null,Pe.createElement("img",{className:ce.userPic,src:`${b.Z.IMG_SERVER}/images/${(kn=Gn==null?void 0:Gn.data)==null?void 0:kn.image_url}`,alt:(br=Gn==null?void 0:Gn.data)==null?void 0:br.username})),Pe.createElement(se.Z,null,Pe.createElement("span",{className:"font16 ml40"},(vr=Gn==null?void 0:Gn.data)==null?void 0:vr.user_name),Pe.createElement(ee.UQ,{status:(xr=Gn==null?void 0:Gn.data)==null?void 0:xr.compelete_status}),Pe.createElement("ul",{className:ce.userInfo},Pe.createElement("li",null,"\u5B66\u53F7\uFF1A",((ur=Gn==null?void 0:Gn.data)==null?void 0:ur.student_id)||"--"),Pe.createElement("li",null,"\u5206\u73ED\uFF1A",((cr=Gn==null?void 0:Gn.data)==null?void 0:cr.course_group)||"--"),Pe.createElement("br",null),Pe.createElement("li",null,"\u622A\u6B62\u524D\u5B8C\u6210\u5237\u9898\uFF1A",Pe.createElement("span",{className:"c-red"},(Qr=Gn==null?void 0:Gn.data)==null?void 0:Qr.finish_do)),Pe.createElement("li",null,"\u6700\u65B0\u5B8C\u6210\u5237\u9898\uFF1A",Pe.createElement("span",{className:"c-red"},((Ur=Gn==null?void 0:Gn.data)==null?void 0:Ur.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"},(Gn==null?void 0:Gn.data)&&((Hr=Gn==null?void 0:Gn.data)==null?void 0:Hr.finish_time))),Pe.createElement("li",null,Pe.createElement("strong",null,"\u5B8C\u6210\u65F6\u957F",Pe.createElement("i",{onClick:Ci=>{Ci.stopPropagation(),Ci.preventDefault(),Yr(!0)},style:{marginLeft:4,display:"none",color:"#145DFF",fontSize:16,cursor:"pointer"},className:"iconfont icon-tishixiaowenhao"})),Pe.createElement("div",{className:"c-light-black mt20"},(di=Gn==null?void 0:Gn.data)==null?void 0:di.finish_time_long)),Pe.createElement("li",null,Pe.createElement("strong",null,"\u8BC4\u6D4B\u6B21\u6570"),Pe.createElement("div",{className:"mt20"},(aa=Gn==null?void 0:Gn.data)==null?void 0:aa.submit_count)),Pe.createElement("li",null,Pe.createElement("strong",null,"\u901A\u8FC7\u7387"),Pe.createElement("div",{className:"mt20"},Pe.createElement("span",null,((Oi=Gn==null?void 0:Gn.data)==null?void 0:Oi.pass_rate)||"- -"))),Pe.createElement("li",null,Pe.createElement("strong",null,"\u5F97\u5206"),Pe.createElement("div",{className:"mt20"},Pe.createElement($e.n,{value:(xi=Gn==null?void 0:Gn.data)==null?void 0:xi.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"},(Xn=Gn==null?void 0:Gn.data)==null?void 0:Xn.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"},(Lr=Gn==null?void 0:Gn.data)==null?void 0:Lr.class_rank))))),Pe.createElement(re.Z,{style:{margin:0}}),(((Ht=Gn==null?void 0:Gn.data)==null?void 0:Ht.work_comment_hidden)||((nn=Gn==null?void 0:Gn.data)==null?void 0:nn.work_comment))&&Pe.createElement("div",null,Pe.createElement(ae.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(ie.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 Ci;(yield(0,It.gZ)({comment_id:(Ci=Gn==null?void 0:Gn.data)==null?void 0:Ci.comment_id,homeworkId:Mr.homeworkId})).status===0&&(oe.ZP.success("\u5220\u9664\u6210\u529F"),Xt({type:"shixunHomeworks/getShixunWorkReports",payload:Ne({},Mr)}))})}})})},Pe.createElement(x.Z,null),"\u5220\u9664"))),Pe.createElement(re.Z,{style:{margin:0}}),((cn=Gn==null?void 0:Gn.data)==null?void 0:cn.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(wt.Z,{value:(tr=Gn==null?void 0:Gn.data)==null?void 0:tr.work_comment})),((Jn=Gn==null?void 0:Gn.data)==null?void 0:Jn.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(wt.Z,{value:(Un=Gn==null?void 0:Gn.data)==null?void 0:Un.work_comment_hidden}))),Pe.createElement("h1",{className:ce.title},"\u9636\u6BB5\u6210\u7EE9"),Pe.createElement("aside",{className:"pl30 pr30"},Pe.createElement(ne.default,{dataSource:Gn==null?void 0:Gn.hack,pagination:!1,columns:vo})),((Br=Gn==null?void 0:Gn.data)==null?void 0:Br.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(wt.Z,{value:(ri=Gn==null?void 0:Gn.data)==null?void 0:ri.work_description}))),Pe.createElement("h1",{className:ce.title},"\u5237\u9898\u8BE6\u60C5")),Pe.createElement(Te,{autoHeight:fa}))),(0,te.GJ)()&&Pe.createElement("aside",{className:`${ce.footerBar} ${Hi?ce.footerBarStatic:""}`},Pe.createElement("aside",{className:"edu-container"},Pe.createElement(ae.Z,{align:"middle"},Pe.createElement(se.Z,{flex:"1"},Pe.createElement(pe.Link,{className:ce.exitComment,to:`/classrooms/${Mr.coursesId}/program_homework/${Mr.categoryId}/detail`},"\u8FD4\u56DE\u5217\u8868")),Pe.createElement(se.Z,{flex:"1",className:"tr"},Pe.createElement(ie.ZP,{type:"default",disabled:ir==null?void 0:ir.last,onClick:()=>sr()},"\u4E0A\u4E00\u4E2A"),Pe.createElement(ie.ZP,{type:"default",style:{marginLeft:"20px",marginRight:"20px"},disabled:Gr==null?void 0:Gr.last,onClick:()=>sr("next")},"\u4E0B\u4E00\u4E2A"),(0,te.GJ)()&&Pe.createElement(ie.ZP,{type:"primary",onClick:()=>St(void 0,null,function*(){var Ci;if(!((Ci=Ut.AssistantObject.hack)!=null&&Ci.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}Xt({type:"shixunHomeworks/setActionTabs",payload:{key:"\u66F4\u6539\u70B9\u8BC4",selectArrs:{myshixun_identifier:Gn.user_id,data:Ne({},Gn)}}})})},"\u70B9\u8BC4\u4F5C\u4E1A"))))))),Pe.createElement(ut,null),Pe.createElement(At.Z,null),Pe.createElement(Ae.default,{open:Gi,width:860,centered:!0,onCancel:()=>{ji(!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:Pr,title:"\u5B9E\u8BAD\u603B\u8017\u65F6\u8BF4\u660E",centered:!0,footer:null,onCancel:()=>{Yr(!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,pe.connect)(({shixunHomeworks:Mt,loading:pt,globalSetting:Lt,classroomList:xt})=>({shixunHomeworks:Mt,globalSetting:Lt,loading:pt.effects,classroomList:xt}))(bt)},16938:function(en,zt,be){"use strict";var ye=be(59301),Xe=be(43418),E=be(8591),pe=be(99064),Ae=be(89070),ue=Object.defineProperty,le=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ie=(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={}))ae.call(y,x)&&ie(a,x,y[x]);if(le)for(var x of le(y))se.call(y,x)&&ie(a,x,y[x]);return a},re=(a,y)=>{var x={};for(var b in a)ae.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{de(x.next(he))}catch(fe){te(fe)}},ce=he=>{try{de(x.throw(he))}catch(fe){te(fe)}},de=he=>he.done?b(he.value):Promise.resolve(he.value).then(ee,ce);de((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 ye.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,pe.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:{}})}},ye.createElement("p",null,"\u8BE5\u4F5C\u4E1A\u5C06\u88AB\u6253\u56DE\u91CD\u505A\uFF0C\u5B66\u751F\u5B9E\u8BAD\u8BB0\u5F55\u5C06\u88AB\u6E05\u7A7A!"),ye.createElement("p",null,"\u786E\u5B9A\u6253\u56DE?"))};zt.Z=(0,Ae.connect)(({shixunHomeworks:a})=>({shixunHomeworks:a}))(z)},83992:function(en,zt,be){"use strict";be.d(zt,{n:function(){return bn},Z:function(){return er}});var ye=be(59301),Xe=be(78241),E=be(8591),pe=be(6848),Ae=be(43418),ue=be(20834),le=be(24905),ae=be(95237),se=be(43604),ie=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(8797),de=be(955),he=be(16938),fe=be(96512),ge=be(99064),ve=be(89070),me=Object.defineProperty,Be=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,Te=Object.prototype.propertyIsEnumerable,we=(Fn,Dn,An)=>Dn in Fn?me(Fn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:An}):Fn[Dn]=An,je=(Fn,Dn)=>{for(var An in Dn||(Dn={}))Se.call(Dn,An)&&we(Fn,An,Dn[An]);if(Be)for(var An of Be(Dn))Te.call(Dn,An)&&we(Fn,An,Dn[An]);return Fn},xe=(Fn,Dn)=>{var An={};for(var En in Fn)Se.call(Fn,En)&&Dn.indexOf(En)<0&&(An[En]=Fn[En]);if(Fn!=null&&Be)for(var En of Be(Fn))Dn.indexOf(En)<0&&Te.call(Fn,En)&&(An[En]=Fn[En]);return An},Oe=(Fn,Dn,An)=>new Promise((En,kn)=>{var br=ur=>{try{xr(An.next(ur))}catch(cr){kn(cr)}},vr=ur=>{try{xr(An.throw(ur))}catch(cr){kn(cr)}},xr=ur=>ur.done?En(ur.value):Promise.resolve(ur.value).then(br,vr);xr((An=An.apply(Fn,Dn)).next())});const ze=Fn=>{var Dn=Fn,{shixunHomeworks:An,dispatch:En}=Dn,kn=xe(Dn,["shixunHomeworks","dispatch"]);const br=(0,ve.useParams)(),[vr,xr]=(0,ye.useState)(!0),[ur,cr]=(0,ye.useState)(!1),[Qr]=Xe.default.useForm(),Ur=()=>Oe(void 0,null,function*(){const Hr=Qr.getFieldValue();(yield(0,ge.ZP)(`/api/homework_commons/${br.categoryId}/batch_comment.json`,{method:"post",body:{student_work_ids:[...An.actionTabs.selectArrs],cover_all:vr,hidden_comment:Hr.hidden_comment,comment:Hr.comment}})).status===0&&(E.ZP.success("\u8BC4\u9605\u6210\u529F"),Qr.resetFields(),En({type:"shixunHomeworks/setActionTabs",payload:{}}),En({type:"shixunHomeworks/getWorkList",payload:je({},An.actionTabs.params)}))});return ye.createElement(ye.Fragment,null,ye.createElement(Ae.default,{centered:!0,title:"\u4E00\u952E\u70B9\u8BC4",open:An.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Oe(void 0,null,function*(){const Hr=Qr.getFieldValue();JSON.stringify(Hr)==="{}"||Hr.hidden_comment===""&&Hr.comment===""?cr(!0):An.workList.partial_comment?En({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",selectArrs:An.actionTabs.selectArrs,params:An.actionTabs.params}}):Ur()}),onCancel:()=>{En({type:"shixunHomeworks/setActionTabs",payload:{}})}},ye.createElement(Xe.default,{form:Qr,onChange:()=>{ur&&cr(!1)}},ye.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ye.createElement(Xe.default.Item,{name:"comment"},ye.createElement(ie.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),ye.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ye.createElement(Xe.default.Item,{name:"hidden_comment"},ye.createElement(ie.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),ur&&ye.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")),ye.createElement(Ae.default,{centered:!0,title:ye.createElement("span",null,ye.createElement(fe.Z,{className:"c-orange mr20"}),"\u63D0\u793A"),open:An.actionTabs.key==="\u4E00\u952E\u70B9\u8BC4\u786E\u8BA4",okText:"\u786E\u5B9A\u70B9\u8BC4",cancelText:"\u653E\u5F03\u70B9\u8BC4",onOk:()=>{Ur()},onCancel:()=>{En({type:"shixunHomeworks/setActionTabs",payload:{}})},width:400},ye.createElement("div",{className:"tc"},ye.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"),ye.createElement("p",null,ye.createElement(z.ZP.Group,{onChange:Hr=>{xr(Hr.target.value)},value:vr},ye.createElement(z.ZP,{value:!0},"\u8986\u76D6\u5DF2\u6709\u70B9\u8BC4"),ye.createElement(z.ZP,{value:!1},"\u8DF3\u8FC7\u5DF2\u6709\u70B9\u8BC4"))))))};var Ze=(0,ve.connect)(({shixunHomeworks:Fn})=>({shixunHomeworks:Fn}))(ze),Me=be(36708),tt=be(24065),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"},lt=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,nt=Object.prototype.propertyIsEnumerable,at=(Fn,Dn)=>{var An={};for(var En in Fn)ct.call(Fn,En)&&Dn.indexOf(En)<0&&(An[En]=Fn[En]);if(Fn!=null&<)for(var En of lt(Fn))Dn.indexOf(En)<0&&nt.call(Fn,En)&&(An[En]=Fn[En]);return An},ut=(Fn,Dn,An)=>new Promise((En,kn)=>{var br=ur=>{try{xr(An.next(ur))}catch(cr){kn(cr)}},vr=ur=>{try{xr(An.throw(ur))}catch(cr){kn(cr)}},xr=ur=>ur.done?En(ur.value):Promise.resolve(ur.value).then(br,vr);xr((An=An.apply(Fn,Dn)).next())});const At=Fn=>{var Dn=Fn,{shixunHomeworks:An,dispatch:En}=Dn,kn=at(Dn,["shixunHomeworks","dispatch"]),br,vr,xr,ur;const cr=(0,ve.useParams)(),[Qr,Ur]=(0,ye.useState)(!1),[Hr,di]=(0,ye.useState)((vr=(br=An.actionTabs.selectArrs)==null?void 0:br.data)==null?void 0:vr.name),[aa]=Xe.default.useForm();(0,ye.useEffect)(()=>{var xi,Xn,Lr,Ht,nn,cn;An.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4"&&aa.setFieldsValue({comment:(Xn=(xi=An.actionTabs.selectArrs)==null?void 0:xi.data)==null?void 0:Xn.work_comment,hidden_comment:(Ht=(Lr=An.actionTabs.selectArrs)==null?void 0:Lr.data)==null?void 0:Ht.work_comment_hidden}),di((cn=(nn=An.actionTabs.selectArrs)==null?void 0:nn.data)==null?void 0:cn.name)},[An.actionTabs.key]);const Oi=()=>ut(void 0,null,function*(){var xi,Xn;const Lr=aa.getFieldValue();if((yield(0,ge.ZP)(`/api/student_works/${(Xn=(xi=An.actionTabs.selectArrs)==null?void 0:xi.data)==null?void 0:Xn.homeworkId}/shixun_work_comment.json`,{method:"post",body:{hidden_comment:Lr.hidden_comment,comment:Lr.comment}})).status===0)return E.ZP.success("\u8BC4\u9605\u6210\u529F"),aa.resetFields(),En({type:"shixunHomeworks/setActionTabs",payload:{}}),En({type:"shixunHomeworks/getWorkList",payload:cr})});return ye.createElement(ye.Fragment,null,ye.createElement(Ae.default,{centered:!0,title:(ur=(xr=An.actionTabs.selectArrs)==null?void 0:xr.data)!=null&&ur.work_comment_hidden?"\u66F4\u6539"+Hr+"\u70B9\u8BC4":Hr+"\u70B9\u8BC4",open:An.actionTabs.key==="\u66F4\u6539\u70B9\u8BC4",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>ut(void 0,null,function*(){const xi=aa.getFieldValue();JSON.stringify(xi)==="{}"||xi.hidden_comment===""&&xi.comment===""?Ur(!0):Oi()}),onCancel:()=>{En({type:"shixunHomeworks/setActionTabs",payload:{}})}},ye.createElement(Xe.default,{form:aa,onChange:()=>{Qr&&Ur(!1)}},ye.createElement("p",null,"\u5B66\u751F\u548C\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ye.createElement(Xe.default.Item,{name:"comment"},ye.createElement(ie.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8})),ye.createElement("p",null,"\u4EC5\u8BFE\u5802\u8001\u5E08\u53EF\u89C1"),ye.createElement(Xe.default.Item,{name:"hidden_comment"},ye.createElement(ie.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u8BC4\u9605\u5185\u5BB9",rows:8}))),Qr&&ye.createElement("p",{className:"c-red"},"\u8BC4\u9605\u5185\u5BB9\u81F3\u5C11\u6709\u4E00\u4E2A\u4E0D\u4E3A\u7A7A")))};var wt=(0,ve.connect)(({shixunHomeworks:Fn})=>({shixunHomeworks:Fn}))(At),It=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,$e=(Fn,Dn)=>{var An={};for(var En in Fn)gt.call(Fn,En)&&Dn.indexOf(En)<0&&(An[En]=Fn[En]);if(Fn!=null&&It)for(var En of It(Fn))Dn.indexOf(En)<0&&ft.call(Fn,En)&&(An[En]=Fn[En]);return An},Pe=(Fn,Dn,An)=>new Promise((En,kn)=>{var br=ur=>{try{xr(An.next(ur))}catch(cr){kn(cr)}},vr=ur=>{try{xr(An.throw(ur))}catch(cr){kn(cr)}},xr=ur=>ur.done?En(ur.value):Promise.resolve(ur.value).then(br,vr);xr((An=An.apply(Fn,Dn)).next())});const ke=Fn=>{var Dn=Fn,{shixunHomeworks:An,dispatch:En}=Dn,kn=$e(Dn,["shixunHomeworks","dispatch"]);const br=(0,ve.useParams)(),[vr,xr]=(0,ye.useState)([]),[ur,cr]=(0,ye.useState)([]);(0,ye.useEffect)(()=>{An.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B"&&Qr()},[An.actionTabs.key]);function Qr(){return Pe(this,null,function*(){const Hr=yield(0,ge.ZP)(`/api/homework_commons/${br.categoryId}/code_quality_analyses/group_list.json`,{method:"GET",params:{page:1,limit:200}});xr(Hr)})}const Ur=[{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 ye.createElement(ye.Fragment,null,ye.createElement(Ae.default,{centered:!0,title:"\u4EE3\u7801\u8D28\u91CF\u8BC4\u5206",open:An.actionTabs.key==="\u8D28\u91CF\u68C0\u6D4B",width:700,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Pe(void 0,null,function*(){const Hr=yield(0,ge.ZP)(`/api/homework_commons/${br.categoryId}/code_quality_analyses.json`,{method:"POST",body:{group_ids:ur}});(Hr==null?void 0:Hr.status)===0&&(ve.history.replace(`/classrooms/${br.coursesId}/shixun_homework/${br.categoryId}/detail?tabs=4`),window.location.reload(),En({type:"shixunHomeworks/setActionTabs",payload:{}}),cr([]))}),onCancel:()=>{cr([]),En({type:"shixunHomeworks/setActionTabs",payload:{}})}},ye.createElement(ne.default,{rowSelection:{type:"checkbox",onChange:(Hr,di)=>{cr([...Hr])},selectedRowKeys:ur,getCheckboxProps:Hr=>({disabled:Hr.status==="\u8FDB\u884C\u4E2D"||Hr.works_count===0})},rowKey:Hr=>Hr.key||Hr.id,scroll:{y:300},pagination:!1,columns:Ur,dataSource:vr==null?void 0:vr.group_list})))};var Ve=(0,ve.connect)(({shixunHomeworks:Fn})=>({shixunHomeworks:Fn}))(ke),Qe=be(12290),De=be(78297),Ye=be(46474),Ue=Object.defineProperty,Ie=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,rt=Object.prototype.propertyIsEnumerable,ht=(Fn,Dn,An)=>Dn in Fn?Ue(Fn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:An}):Fn[Dn]=An,St=(Fn,Dn)=>{for(var An in Dn||(Dn={}))Ne.call(Dn,An)&&ht(Fn,An,Dn[An]);if(Ie)for(var An of Ie(Dn))rt.call(Dn,An)&&ht(Fn,An,Dn[An]);return Fn},bt=(Fn,Dn,An)=>new Promise((En,kn)=>{var br=ur=>{try{xr(An.next(ur))}catch(cr){kn(cr)}},vr=ur=>{try{xr(An.throw(ur))}catch(cr){kn(cr)}},xr=ur=>ur.done?En(ur.value):Promise.resolve(ur.value).then(br,vr);xr((An=An.apply(Fn,Dn)).next())});const Bt=({shixunHomeworks:Fn,dispatch:Dn,isShow:An,setIsShow:En,item:kn,coursesId:br,categoryId:vr})=>{const[xr,ur]=(0,ye.useState)({page:1,limit:10}),[cr,Qr]=(0,ye.useState)([]),[Ur,Hr]=(0,ye.useState)(!1);(0,ye.useEffect)(()=>{An&&di()},[An]);function di(){return bt(this,null,function*(){Hr(!0);const Oi=yield(0,ge.ZP)(`/api/student_works/${kn.id}/game_details.json`,{method:"get",params:St({},xr)});Hr(!1),Oi.status===0&&Qr(Oi==null?void 0:Oi.data)})}const aa=[{title:"\u5E8F\u53F7",dataIndex:"number",width:50,fixed:"left",ellipsis:!0,render:(Oi,xi,Xn)=>ye.createElement("span",{style:{color:"#000"}},xr.limit*(xr.page-1)+Xn+1)},{title:"\u4EFB\u52A1\u540D\u79F0",dataIndex:"name",key:"name",ellipsis:!0,render:(Oi,xi,Xn)=>ye.createElement("span",{style:{color:"#000"}},Oi)},{title:"\u901A\u5173\u8BE6\u60C5",dataIndex:"complete_status",key:"complete_status",ellipsis:!0,width:100,render:(Oi,xi,Xn)=>ye.createElement("span",null,Oi==0?"\u672A\u901A\u5173":Oi==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:(Oi,xi,Xn)=>ye.createElement("span",{style:{color:"#333"}},Oi)},{title:"\u5B9E\u8BAD\u8017\u65F6",dataIndex:"time_consuming",key:"time_consuming",width:120,ellipsis:!0,render:(Oi,xi,Xn)=>ye.createElement("span",{style:{color:"#333"}},Oi)}];return ye.createElement(ye.Fragment,null,ye.createElement(Ae.default,{centered:!0,title:"\u901A\u5173\u60C5\u51B5",open:An,width:700,footer:null,maskClosable:!1,onCancel:()=>{xr.page=1,xr.limit=10,ur(St({},xr)),En(!1)}},ye.createElement("div",{style:{display:"flex",justifyContent:"flex-start",alignItems:"center",marginBottom:"20px"}},ye.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},ye.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u751F\u59D3\u540D"),ye.createElement("span",{title:kn==null?void 0:kn.user_name,style:{color:"#232B40"}},kn==null?void 0:kn.user_name)),ye.createElement("div",{style:{marginLeft:"50px",marginRight:"50px",maxWidth:"180px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},ye.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u5B66\u53F7"),ye.createElement("span",{title:kn==null?void 0:kn.student_id,style:{color:"#232B40"}},(kn==null?void 0:kn.student_id)||"--")),ye.createElement("div",{style:{maxWidth:"200px",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden",WebkitLineClamp:1}},ye.createElement("span",{style:{color:"#666",marginRight:"10px"}},"\u73ED\u7EA7"),ye.createElement("span",{title:kn==null?void 0:kn.group_name,style:{color:"#232B40"}},(kn==null?void 0:kn.group_name)||"--"))),ye.createElement(ne.default,{scroll:{y:380},columns:aa,loading:Ur,style:{marginBottom:xr.limit>(cr==null?void 0:cr.count)?"16px":"0"},dataSource:cr.games,pagination:{size:"default",showQuickJumper:!0,showSizeChanger:!0,pageSizeOptions:["10","15","50","100","200"],hideOnSinglePage:!0,pageSize:xr.limit,current:xr.page,position:["bottomRight"],onChange:(Oi,xi)=>{xr.page=Oi,xr.limit=xi,ur(St({},xr)),di()},total:cr==null?void 0:cr.count,showTotal:(Oi,xi)=>ye.createElement("span",null,"\u5171",ye.createElement("span",{style:{color:"#165DFF"}}," ",Oi," "),"\u6761\u6570\u636E")}})))};var Mt=(0,ve.connect)(({shixunHomeworks:Fn})=>({shixunHomeworks:Fn}))(Bt),pt=be(59301),Lt=Object.defineProperty,xt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,Ut=Object.prototype.propertyIsEnumerable,Xt=(Fn,Dn,An)=>Dn in Fn?Lt(Fn,Dn,{enumerable:!0,configurable:!0,writable:!0,value:An}):Fn[Dn]=An,on=(Fn,Dn)=>{for(var An in Dn||(Dn={}))Wt.call(Dn,An)&&Xt(Fn,An,Dn[An]);if(xt)for(var An of xt(Dn))Ut.call(Dn,An)&&Xt(Fn,An,Dn[An]);return Fn},dn=(Fn,Dn,An)=>new Promise((En,kn)=>{var br=ur=>{try{xr(An.next(ur))}catch(cr){kn(cr)}},vr=ur=>{try{xr(An.throw(ur))}catch(cr){kn(cr)}},xr=ur=>ur.done?En(ur.value):Promise.resolve(ur.value).then(br,vr);xr((An=An.apply(Fn,Dn)).next())});const bn=({value:Fn,placeholder:Dn=""})=>{if(Fn==null||Fn==="")return pt.createElement("span",null,Dn);{const An=Number(Fn);if(An>=80)return pt.createElement("span",{style:{color:"#009C0F"}},An);if(An<80&&An>=60)return pt.createElement("span",{style:{color:"#FA6400"}},An);if(An<60)return pt.createElement("span",{style:{color:"#E30000"}},An)}},Mn=({shixunHomeworks:Fn,classroomList:Dn,loading:An,dispatch:En,setExportParams:kn,user:br})=>{var vr,xr,ur,cr,Qr,Ur,Hr,di,aa,Oi,xi,Xn;const Lr=(0,ve.useParams)(),[Ht,nn]=(0,ye.useState)(on(on({},{page:1,limit:20,order:"work_score",b_order:"desc"}),Lr)),[cn]=Xe.default.useForm(),[tr,Jn]=(0,ye.useState)(),[Un,Br]=(0,ye.useState)({}),[ri,Mr]=(0,ye.useState)([]),[zr,_i]=(0,ye.useState)(!1),[ar,Gr]=(0,ye.useState)([]),[Fi,ir]=(0,ye.useState)(!1),[Rr,jr]=(0,ye.useState)(),[Si,Hi]=(0,ye.useState)(1),[Ji,Na]=(0,ye.useState)(),[ba,fa]=(0,ye.useState)(),[Ti,Gn]=(0,ye.useState)(),[zi,qn]=(0,ye.useState)(),[oa,no]=(0,ye.useState)(),[Gi,ji]=(0,ye.useState)(!1),[Pr,Yr]=(0,ye.useState)(!1),[Ei,Wr]=(0,ye.useState)(),wa=(0,ve.useLocation)();(0,ye.useEffect)(()=>(ca(),()=>{Br([]),Mr([])}),[Ht.coursesId]),(0,ye.useEffect)(()=>{var or;const Nr=JSON.parse(JSON.stringify(Fn.workList));!((or=Nr==null?void 0:Nr.student_works)!=null&&or.length)&&(Nr!=null&&Nr.id)?(Nr.student_works=[on({},Nr)],Br(Nr)):(Nr!=null&&Nr.id&&Mr([on(on({},Nr),{number:"\u6211"})]),Br(on({},Nr)))},[Fn.workList]);const ca=or=>(kn(on({},Ht)),En({type:"shixunHomeworks/getWorkList",payload:Ht}));(0,ye.useEffect)(()=>{En({type:"user/getUserInfo",payload:{course_id:Ht.coursesId}})},[]);const Wa=()=>dn(void 0,null,function*(){const or=yield(0,Me.Uc)({categoryId:Lr.categoryId});Jn(or==null?void 0:or.update_score)}),Sa=()=>dn(void 0,null,function*(){En({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6210\u7EE9\u8BA1\u7B97\u4E2D\uFF0C\u8BF7\u7A0D\u5019..."}});const or=yield(0,Me.Vs)({categoryId:Lr.categoryId});En({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}}),(or==null?void 0:or.status)===0&&(E.ZP.success(or==null?void 0:or.message),ca())}),yi=()=>{Ht.page=1;const or=Object.assign({},cn.getFieldsValue());delete Ht.course_group,delete Ht.teacher_comment,Object.keys(or).map(function(Nr){var fi;switch(Nr){case"task_status":or[Nr].includes("all")||!or[Nr].length?(delete Ht.work_status,cn.setFieldsValue({task_status:"all"})):(Ht.work_status=or[Nr],cn.setFieldsValue({task_status:Ht.work_status}));break;case"course_group_info":or[Nr].includes("all")||!or[Nr].length?(delete Ht.course_group,cn.setFieldsValue({course_group_info:"all"})):(Ht.course_group=or[Nr],cn.setFieldsValue({course_group_info:Ht.course_group}));break;case"teacher_comment":or[Nr].includes("all")||!or[Nr].length?(delete Ht.teacher_comment,cn.setFieldsValue({teacher_comment:"all"})):(Ht.teacher_comment=((fi=or[Nr])==null?void 0:fi.length)===1?Number(or[Nr][0]):"",cn.setFieldsValue({teacher_comment:or[Nr]}));break}}),ca()};(0,ye.useEffect)(()=>{document.getElementById("divhe")&&document.getElementById("divhe").scrollHeight>47&&(no(47),ji(!0))},[document.getElementById("divhe")]);const vo=(or,Nr)=>{Ht.page=or,Ht.limit=20,ca()};function sr(){Hi(1),Na(""),fa(""),Gn(""),qn(""),Gr([])}const Ci=[{title:"\u5E8F\u53F7",dataIndex:"number",align:"center",width:50,fixed:"left",ellipsis:!0,render:(or,Nr,fi)=>Ht.limit*(Ht.page-1)+fi+1},{title:"\u59D3\u540D",dataIndex:"user_name",align:"center",width:110,fixed:"left",ellipsis:!0,render:or=>pt.createElement(pe.Z,{placement:"bottomLeft",title:or},pt.createElement("span",{className:"current"},or))},!(0,tt.Jd)()&&{title:"\u5B66\u53F7",dataIndex:"student_id",align:"center",sorter:!0,fixed:"left",width:100,ellipsis:!0,showSorterTooltip:!1,sortOrder:Ht.order==="student_id"?Ht.b_order==="desc"?"descend":"ascend":null,render:or=>pt.createElement(pe.Z,{placement:"bottomLeft",title:or||"--"},pt.createElement("span",{className:"current"},or||"--"))},{title:"\u5206\u73ED",dataIndex:"group_name",align:"center",width:100,fixed:"left",ellipsis:!0,render:(or,Nr)=>or?pt.createElement(pe.Z,{placement:"bottom",title:or},pt.createElement("span",{className:"current"},or)):"--"},{title:"\u4F5C\u4E1A\u72B6\u6001",dataIndex:"work_status",align:"center",width:94,ellipsis:!0,fixed:"left",sorter:!0,showSorterTooltip:!1,sortOrder:Ht.order==="work_status"?Ht.b_order==="desc"?"descend":"ascend":null,render:or=>pt.createElement(de.lC,{status:or})},{title:"\u5B8C\u6210\u65F6\u95F4",align:"center",dataIndex:"achieve_time",ellipsis:!0,sorter:!0,sortOrder:Ht.order==="achieve_time"?Ht.b_order==="desc"?"descend":"ascend":null,render:(or,Nr)=>pt.createElement(pe.Z,{placement:"bottomLeft",title:or},pt.createElement("span",{className:"current"},or))},{title:"\u901A\u8FC7\u60C5\u51B5",align:"center",dataIndex:"achieve_info",ellipsis:!0,render:(or,Nr)=>pt.createElement("span",{onClick:fi=>{var hi;fi.stopPropagation(),(hi=Un.homework_status)!=null&&hi.includes("\u5BFC\u5165")&&(Wr(Nr),Yr(!0))}},or||"- -")},{title:"\u6700\u7EC8\u6210\u7EE9",align:"center",dataIndex:"score",ellipsis:!0,sorter:!0,sortOrder:Ht.order==="work_score"?Ht.b_order==="desc"?"descend":"ascend":null,render:(or,Nr)=>pt.createElement(pe.Z,{title:pt.createElement(pt.Fragment,null,pt.createElement("div",null,"\u8BD5\u9898\u5F97\u5206\uFF1A",(Nr==null?void 0:Nr.late_final_score)||0),pt.createElement("div",null,"\u8865\u4EA4\u6263\u5206\uFF1A",(Nr==null?void 0:Nr.late_penalty)||0),pt.createElement("div",null,"\u6700\u7EC8\u6210\u7EE9\uFF1A",(Nr==null?void 0:Nr.score)||0))},bn({value:or,placeholder:"- -"}))},{title:"\u5B8C\u6210\u65F6\u957F",dataIndex:"achieve_time_long",align:"center",sorter:!0,ellipsis:!0,sortOrder:Ht.order==="achieve_time_long"?Ht.b_order==="desc"?"descend":"ascend":null,render:(or,Nr)=>or&&or!="--"?pt.createElement(pe.Z,{placement:"bottom",title:or},pt.createElement("span",{className:"current"},or)):"--"},((vr=Un.homework_status)==null?void 0:vr.includes("\u5BFC\u5165"))&&{title:"\u8BC4\u6D4B\u6B21\u6570",dataIndex:"sum_evaluate_count",align:"center"},!((xr=Un.homework_status)!=null&&xr.includes("\u5BFC\u5165"))&&{title:pt.createElement("span",null,"\u8BC4\u9605\u72B6\u6001"),align:"center",dataIndex:"has_comment",fixed:"right",ellipsis:!0,render:or=>or?"\u5DF2\u8BC4\u9605":"\u672A\u8BC4\u9605"},{title:"\u64CD\u4F5C",dataInex:"action",align:"center",fixed:"right",ellipsis:!0,className:"workListTable",render:(or,Nr)=>{var fi;return(fi=Un.homework_status)!=null&&fi.includes("\u5BFC\u5165")?(0,tt.GJ)()?pt.createElement("a",{onClick:hi=>{hi.stopPropagation(),En({type:"classroomList/setActionTabs",payload:{key:"\u4FEE\u6539\u6210\u7EE9",id:Nr==null?void 0:Nr.id,type:"normal"}})}},"\u4FEE\u6539\u6210\u7EE9"):pt.createElement("a",{onClick:hi=>{hi.stopPropagation(),Wr(Nr),Yr(!0)}},"\u67E5\u770B"):(0,tt.dE)()?pt.createElement("div",null,(0,de.JL)(Nr==null?void 0:Nr.work_status)==="\u672A\u5F00\u542F"?pt.createElement("span",null,"--"):pt.createElement("a",{onClick:hi=>{var Qa;if(hi.stopPropagation(),(0,tt.Rm)()&&!((Qa=Dn.AssistantObject.hack)!=null&&Qa.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/${Ht.coursesId}/program_homework/${Ht.categoryId}/${Nr.id}/${Nr.user_id}/comment`,"_blank")}},"\u67E5\u770B")):pt.createElement("a",{target:"_blank",onClick:hi=>{var Qa,Mi;if(hi.stopPropagation(),(0,tt.Rm)()&&!((Qa=Dn.AssistantObject.hack)!=null&&Qa.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((Mi=br.userInfo)!=null&&Mi.professional_certification)window.open(`/classrooms/${Ht.coursesId}/program_homework/${Ht.categoryId}/${Nr.id}/${Nr.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,de.xg)("/account/certification")}}),!1}},"\u67E5\u770B\u4F5C\u4E1A")}}].filter(or=>!!or),qi=()=>{var or,Nr;return pt.createElement(ue.default,null,pt.createElement(ue.default.Item,{onClick:()=>{var fi;if((0,tt.Rm)()&&!((fi=Dn.AssistantObject.hack)!=null&&fi.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}En({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u5B66\u751F\u6210\u7EE9",course_groups:Un==null?void 0:Un.course_group_info,fn:()=>{(0,De.Iy)(JSON.parse(sessionStorage.all_student_works_params),"hack_work_list")}}})},key:"1"},"\u5B66\u751F\u6210\u7EE9"),(0,tt.GJ)()&&((or=Un==null?void 0:Un.student_works)==null?void 0:or.length)>0&&!((Nr=Un==null?void 0:Un.homework_status)!=null&&Nr.includes("\u5BFC\u5165"))&&pt.createElement(ue.default.Item,{key:"3",onClick:()=>{var fi;if((0,tt.Rm)()&&!((fi=Dn.AssistantObject.hack)!=null&&fi.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}En({type:"classroomList/setActionTabs",payload:{key:"\u9009\u62E9\u73ED\u7EA7",title:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",course_groups:Un==null?void 0:Un.course_group_info,fn:()=>{var hi,Qa,Mi,Ba;En({type:"shixunHomeworks/setActionTabs",payload:{key:"\u5BFC\u51FA\u7F16\u7A0B\u62A5\u544A",type:2}}),localStorage.setItem("dowolders","1"),ve.history.push(`/classrooms/${Ht==null?void 0:Ht.coursesId}/program_homework/${Ht.categoryId}/${(Qa=(hi=Un==null?void 0:Un.student_works)==null?void 0:hi[0])==null?void 0:Qa.id}/${(Ba=(Mi=Un==null?void 0:Un.student_works)==null?void 0:Mi[0])==null?void 0:Ba.user_id}/comment`)}}})}},"\u7F16\u7A0B\u62A5\u544A"),pt.createElement(ue.default.Item,{key:"2",onClick:()=>{var fi;if((0,tt.Rm)()&&!((fi=Dn.AssistantObject.hack)!=null&&fi.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}ve.history.push(`/classrooms/${Ht.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`},((ur=Un.homework_status)==null?void 0:ur.includes("\u672A\u53D1\u5E03"))&&pt.createElement(ce.Z,null),!((cr=Un.homework_status)!=null&&cr.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 ",Un==null?void 0:Un.publish_time),pt.createElement("span",{className:"ml5"},"\u622A\u6B62\u65F6\u95F4 ",Un==null?void 0:Un.end_time),pt.createElement("span",{className:"ml5"},"\u8865\u4EA4\u65F6\u95F4 ",(Un==null?void 0:Un.late_time)||"- -")),(0,tt.GJ)()&&pt.createElement(pt.Fragment,null,pt.createElement(Xe.default,{form:cn,onChange:yi,initialValues:{task_status:"all",course_group_info:"all",teacher_comment:"all"}},((Qr=Un.task_status)==null?void 0:Qr.length)>0&&pt.createElement(Xe.default.Item,{name:"task_status"},pt.createElement(le.default.Group,{value:[],style:{width:"100%"}},pt.createElement(ae.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"},Un.task_status&&Un.task_status.map((or,Nr)=>pt.createElement(le.default,{name:"task_status",value:or.id},or.name,"(",or.count,")")))))),((Ur=Un.course_group_info)==null?void 0:Ur.length)>0&&pt.createElement(Xe.default.Item,{name:"course_group_info"},pt.createElement(le.default.Group,{style:{width:"100%"}},pt.createElement(ae.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:oa+"px",overflow:"hidden"}},(Hr=Un.course_group_info)==null?void 0:Hr.map((or,Nr)=>pt.createElement(le.default,{value:or.course_group_id},or.group_group_name,"(",or.count,")"))),Gi&&pt.createElement("span",{onClick:()=>{let or=document.getElementById("divhe").scrollHeight;oa>47?no(47):no(or)},style:{color:"rgb(76, 172, 255)",cursor:"pointer",alignItems:"flex-end",display:"flex"}},oa===47?"\u5C55\u5F00":"\u6536\u8D77",oa===47?pt.createElement(x.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}):pt.createElement(b.Z,{style:{marginBottom:"3px",marginLeft:"2px"}}))))),((di=Un.teacher_comment)==null?void 0:di.length)>0&&pt.createElement(Xe.default.Item,{name:"teacher_comment"},pt.createElement(le.default.Group,{style:{width:"100%"}},pt.createElement(ae.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"},Un.teacher_comment&&Un.teacher_comment.map((or,Nr)=>pt.createElement(le.default,{value:String(or.id)},or.name,"(",or.count,")"))))))),pt.createElement(ae.Z,{align:"middle"},pt.createElement(se.Z,{flex:"1"},pt.createElement(ae.Z,{align:"middle"},pt.createElement(se.Z,null,pt.createElement(ie.default.Search,{allowClear:!0,placeholder:"\u8BF7\u8F93\u5165\u59D3\u540D\u6216\u8005\u5B66\u53F7\u641C\u7D22",onSearch:or=>{Ht.search=or.trim(),Ht.page=1,ca()},style:{width:240}})),pt.createElement(se.Z,null,pt.createElement("span",{className:"ml5"},pt.createElement("span",{className:"c-red"},Un.work_count),"\u4E2A\u68C0\u7D22\u7ED3\u679C\uFF08",Un.work_count,"\u4E2A\u5B66\u751F\uFF09")))),pt.createElement(se.Z,null,(0,tt.GJ)()&&!((aa=Un.homework_status)!=null&&aa.includes("\u5BFC\u5165"))&&pt.createElement(oe.ZP,{className:"ml10",onClick:()=>{En({type:"shixunHomeworks/setActionTabs",payload:{key:"\u4EE3\u7801\u67E5\u91CD",selectArrs:Un.student_works.map(or=>or.id),params:Ht}})}},pt.createElement("span",{className:`${qe.tr1} iconfont icon-daimachazhong`}),"\u4EE3\u7801\u67E5\u91CD"),(0,tt.GJ)()&&!((Oi=Un.homework_status)!=null&&Oi.includes("\u5BFC\u5165"))&&pt.createElement(oe.ZP,{className:"ml10",onClick:Sa},pt.createElement("i",{className:"iconfont icon-gengxinchengji font14 pr5"}),"\u66F4\u65B0\u6210\u7EE9"),(0,tt.GJ)()&&pt.createElement(re.Z,{dropdownRender:qi,className:"ml10"},pt.createElement(oe.ZP,null,pt.createElement(te.Z,null),"\u5BFC\u51FA",pt.createElement(ee.Z,null)))))),pt.createElement(ae.Z,{style:{justifyContent:"end",marginTop:"5px"}},(0,tt.GJ)()&&tr&&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:An["shixunHomeworks/getWorkList"],pagination:!1,style:{cursor:"pointer"},onRow:or=>({onClick:Nr=>{var fi,hi;if(!((fi=Un.homework_status)!=null&&fi.includes("\u5BFC\u5165"))){if((0,tt.Rm)()&&!((hi=Dn.AssistantObject.hack)!=null&&hi.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,Ye.O5)()&&window.open(`/classrooms/${Ht.coursesId}/program_homework/${Ht.categoryId}/${or.id}/${or.user_id}/comment`,"_blank")}}}),scroll:{x:1200},dataSource:Un.student_works,columns:Ci,onChange:(or,Nr,fi)=>{fi.field&&(Ht.order=fi.field==="score"?"work_score":fi.field),fi.order||(Ht.b_order="asc"),fi.order==="ascend"&&(Ht.b_order="asc"),fi.order==="descend"&&(Ht.b_order="desc"),fi.order||(Ht.b_order="asc"),ca()}}),pt.createElement(Ze,null),pt.createElement(wt,null),pt.createElement(he.Z,null)),pt.createElement(Ae.default,{title:"\u4E00\u952E\u6253\u56DE\u91CD\u505A",open:zr,centered:!0,destroyOnClose:!0,forceRender:!0,width:700,onOk:()=>dn(void 0,null,function*(){if(Si===2){if(ar.length<=0){E.ZP.info("\u8BF7\u9009\u62E9\u4F5C\u4E1A\u72B6\u6001");return}if(!zi){E.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let or=yield(0,ge.ZP)(`/api/homework_commons/${Ht.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Ht.categoryId,comment:zi,status:ar}});or.status===0&&(jr(or),_i(!1),ir(!0))}else{if(!(Ti===0||ba===0)){if(!Ti){E.ZP.info("\u6700\u4F4E\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}if(!ba){E.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u4E3A\u7A7A");return}}if(Ti>ba){E.ZP.info("\u6700\u9AD8\u5206\u4E0D\u80FD\u5927\u4E8E\u6700\u4F4E\u5206");return}if(!zi){E.ZP.info("\u8BC4\u8BED\u4E0D\u80FD\u4E3A\u7A7A");return}let or=yield(0,ge.ZP)(`/api/homework_commons/${Ht.categoryId}/confirm_redo_modal.json`,{method:"post",body:{id:Ht.categoryId,comment:zi,min_score:Ti,max_score:ba}});or.status===0&&(jr(or),_i(!1),ir(!0))}}),onCancel:()=>{_i(!1),sr()}},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:Si,onChange:or=>{Hi(or.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"))),Si===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:Ti,onChange:or=>Gn(or),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:ba,onChange:or=>fa(or),style:{width:"100px"}})),Si===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:or=>{Gr([...or])},style:{width:"100%"}},(xi=Un.task_status)==null?void 0:xi.map((or,Nr)=>pt.createElement(le.default,{name:"task_status",value:or.id},or.name,"(",or.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:or=>qn(or),placeholder:"\u8BF7\u586B\u5199\u8BC4\u8BED"}))))),pt.createElement(Ae.default,{open:Fi,title:"\u6253\u56DE\u786E\u8BA4",onOk:()=>dn(void 0,null,function*(){Si===2?(yield(0,ge.ZP)(`/api/homework_commons/${Ht.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Ht.categoryId,comment:zi,status:ar}})).status===0&&(E.ZP.info("\u6253\u56DE\u6210\u529F"),sr(),ca(),ir(!1)):(yield(0,ge.ZP)(`/api/homework_commons/${Ht.categoryId}/batch_redo_modal.json`,{method:"post",body:{id:Ht.categoryId,comment:zi,min_score:Ti,max_score:ba}})).status===0&&(E.ZP.info("\u6253\u56DE\u6210\u529F"),sr(),ca(),ir(!1))}),onCancel:()=>{sr(),ir(!1)}},pt.createElement("div",{style:{padding:"32px"}},Si===1&&pt.createElement("span",null,"\u786E\u8BA4\u5C06\u6210\u7EE9\u5728",Ti,"-",ba,"\u7684\u5B66\u751F\u8FDB\u884C\u6253\u56DE\u91CD\u505A\u5417\uFF1F"),Si===2&&pt.createElement("span",null,"\u786E\u8BA4\u5C06\u4F5C\u4E1A\u72B6\u6001\u4E3A",((Xn=Un.task_status)==null?void 0:Xn.filter(or=>ar==null?void 0:ar.includes(or.id)).map(or=>or.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",Rr==null?void 0:Rr.count,"\u540D\u5B66\u751F")))),pt.createElement(Ve,null),pt.createElement(Mt,{isShow:Pr,setIsShow:Yr,item:Ei,coursesId:Ht.coursesId,categoryId:Ht.categoryId}),pt.createElement("aside",{className:"tc mb50 mt30"},pt.createElement(y.Z,{showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,onChange:vo,current:Ht.page||1,defaultPageSize:20,total:Un.work_count})))};var er=(0,ve.connect)(({shixunHomeworks:Fn,classroomList:Dn,loading:An,user:En})=>({shixunHomeworks:Fn,classroomList:Dn,loading:An.effects,user:En}))(Mn)},8394:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return a}});var ye=be(59301),Xe=be(89070),E=be(43418),pe=be(3113),Ae=be(71418),ue=be(88264),le=be(25555),ae=be(23954),se=be(24334),ie=be(61186),oe=be.n(ie),re=be(35106),ne=be(59301),z=(y,x,b)=>new Promise((te,ee)=>{var ce=fe=>{try{he(b.next(fe))}catch(ge){ee(ge)}},de=fe=>{try{he(b.throw(fe))}catch(ge){ee(ge)}},he=fe=>fe.done?te(fe.value):Promise.resolve(fe.value).then(ce,de);he((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,te]=(0,ye.useState)(void 0);console.log((0,Xe.useLocation)(),33);const ee=(0,Xe.useLocation)();(0,ye.useEffect)(()=>{y&&function(){return z(this,null,function*(){const lt=yield(0,ue.X6)(y);te(lt.data)})}()},[y]);const{status:ce,created_at:de,code:he,name:fe,language:ge,pass_sets_count:ve,set_count:me,error_msg:Be,output:Se,input:Te,expected_output:we,execute_memory:je,user:xe,execute_time:Oe,input_file_url:ze,output_file_url:Ze,is_file:Me,expected_output_file_url:tt}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(pe.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(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()(de).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,ge)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,Oe*1e3,"ms")," "),ne.createElement("li",null," ",`${ce===re.h.HIDE_COMPILE_STATUS?"--":ve} / ${me} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,le.gZ)({status:ce,error_msg:Be,execute_time:Oe,output:Se,input:Te,expected_output:we,input_file_url:ze,output_file_url:Ze,is_file:Me,expected_output_file_url:tt}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(ae.ZP,{height:"200px",width:"100%",language:ge==null?void 0:ge.toLocaleLowerCase(),value:se.Base64.decode(he),options:{readOnly:!0}}))):null)))}},87001:function(en,zt,be){"use strict";be.d(zt,{Im:function(){return me},Y4:function(){return Se}});var ye=be(59301),Xe=be(92832),E=be(8591),pe=be(3113),Ae=be(74440),ue=be(24334),le=be.n(ue),ae=be(61293),se=be(33538),ie=be(85149),oe=be(955),re=be(34376),ne=be.n(re),z=be(99064),a=be(89070),y=be(8394),x=be(34604),b=be(88264),te=be(34587),ee=be(23210),ce=be(92310),de=be.n(ce),he=be(4901),fe=be(59301),ge=(je,xe,Oe)=>new Promise((ze,Ze)=>{var Me=lt=>{try{qe(Oe.next(lt))}catch(ct){Ze(ct)}},tt=lt=>{try{qe(Oe.throw(lt))}catch(ct){Ze(ct)}},qe=lt=>lt.done?ze(lt.value):Promise.resolve(lt.value).then(Me,tt);qe((Oe=Oe.apply(je,xe)).next())});const{TextArea:ve}=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 Be=(je=>(je[je.SET_VISIBLE=0]="SET_VISIBLE",je[je.SET_TABINDEX=1]="SET_TABINDEX",je))(Be||{});function Se(je){const{status:xe,error_msg:Oe,output:ze,input:Ze,expected_output:Me,is_file:tt,input_file_url:qe,output_file_url:lt,expected_output_file_url:ct,setMonacoValue:nt,setData:at}=je,ut=(0,ye.useRef)(),At=(0,ye.useRef)(),wt=(0,ye.useRef)();let It=null;const gt={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,ye.useEffect)(()=>{if(ze&&!tt&&ut.current){const ft=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});ft.open(ut.current);const $e=(0,oe.pp)(ue.Base64.decode(ze));ft.write($e),ft.setOption("theme",{background:"#1e1e1e"})}if(Ze&&!tt&&At.current){const ft=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});ft.open(At.current),ft.write((0,oe.pp)(Ze)),ft.setOption("theme",{background:"#1e1e1e"})}if(Me&&!tt&&wt.current){const ft=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});ft.open(wt.current),ft.write((0,oe.pp)(ue.Base64.decode(Me))),ft.setOption("theme",{background:"#1e1e1e"})}},[ze]),xe){case Ae.h.NOMATCH:It=fe.createElement(fe.Fragment,null,fe.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!tt&&fe.createElement("div",{ref:ut}),tt&&fe.createElement("div",{style:gt},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>ge(this,null,function*(){const ft=yield(0,z.ZP)(lt,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});nt(ft),setTimeout(()=>{at(lt)},200)})},ze)),fe.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!tt&&fe.createElement("div",{ref:wt}),tt&&fe.createElement("div",{style:gt},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>ge(this,null,function*(){const ft=yield fetch(ct,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});nt(yield ft.text()),setTimeout(()=>{at(ct)},200)})},Me)));break;case Ae.h.EXECUTEFAILURE:It=fe.createElement(fe.Fragment,null,fe.createElement("div",{style:{border:"1px #F6F7F9 solid"}},fe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!tt&&fe.createElement(ie.Z,{value:Ze,style:gt}),tt&&fe.createElement("div",{style:gt},fe.createElement("a",{onClick:()=>(0,oe.LR)(qe,Ze)},Ze))),fe.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},fe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),fe.createElement("pre",{className:ae.Z.error,style:{color:"#E30000",padding:"0 10px"}},ue.Base64.decode(Oe),"111")));break;case Ae.h.COMPILEFAILURE:It=fe.createElement(fe.Fragment,null,fe.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),fe.createElement("pre",{className:ae.Z.error},ue.Base64.decode(Oe)));break;case Ae.h.PODFAILURE:It=fe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case Ae.h.TIMEOUT:It=fe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return fe.createElement(fe.Fragment,null," ",It," ")}function Te(je){const{status:xe,error_msg:Oe,execute_time:ze,output:Ze,input:Me,expected_output:tt,is_file:qe,input_file_url:lt,output_file_url:ct,expected_output_file_url:nt}=je;let at=null;switch(xe){case Ae.h.OK:case Ae.h.NOMATCH:case Ae.h.EXECUTEFAILURE:case Ae.h.COMPILEFAILURE:at=fe.createElement("div",{id:"outputResultRef",className:"h100"});break;case Ae.h.PODFAILURE:at=fe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case Ae.h.TIMEOUT:at=fe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return fe.createElement(fe.Fragment,null," ",at," ")}function we({value:je,className:xe}){return fe.createElement("span",{className:xe},je)}zt.ZP=({input:je,is_file:xe,debuging:Oe,submitting:ze,executingMessage:Ze,debugResult:Me,onChangeInput:tt,onDebugCode:qe,onSubmitCode:lt,hack:ct,user:nt,submitResult:at,isWhiteTheme:ut,topDispatch:At})=>{const[wt]=(0,a.useSearchParams)(),It=(0,a.useParams)(),[gt,ft]=(0,ye.useState)(!1),[$e,Pe]=(0,ye.useState)(!1),[ke,Ve]=(0,ye.useState)(1),[Qe,De]=(0,ye.useState)(!1),[Ye,Ue]=(0,ye.useState)(0),[Ie,Ne]=(0,ye.useState)(!1),[rt,ht]=(0,ye.useState)(""),[St,bt]=(0,ye.useState)(""),Bt=(0,ye.useRef)(),Mt=(0,ye.useRef)(),pt=(0,ye.useRef)(null),Lt=(0,ye.useRef)(null),xt=(0,ye.useRef)(null);console.log(at,"submitResult",It);const{status:Wt,id:Ut,input:Xt,output:on,expected_output:dn,is_file:bn,input_file_url:Mn,output_file_url:er,expected_output_file_url:Fn,error_msg:Dn,hack_sets:An}=at||{};(0,ye.useEffect)(()=>{Wt===0&&(Ve(1),Ue(0))},[Wt,Ut]),(0,ye.useEffect)(()=>{ge(void 0,null,function*(){var Hr;const di=yield(0,b.rX)(It==null?void 0:It.id,"submit");(di==null?void 0:di.status)===0&&(di!=null&&di.data&&((Hr=di==null?void 0:di.data)==null?void 0:Hr.status)!==0?(At({type:te.Types.SET_SUBMIT_RESULT,payload:{submitResult:di==null?void 0:di.data}}),Ve(2),Ue(320)):(Ve(1),Ue(0)))})},[It==null?void 0:It.id]),(0,ye.useEffect)(()=>{if(Bt.current){let Ur=function(Ht){Oi=aa.offsetHeight,xi=!0,Xn=Ht.pageY,xt.current.style.display="block"},Hr=function(){xi=!1,xt.current.style.display="none"},di=function(Ht){if(xi){En();let nn=Xn-Ht.pageY,cn=Oi+nn;if(cn<0&&(cn=0),cn>window.innerHeight-150&&(cn=window.innerHeight-150),ke===1){cn<=34?Ue(0):Ue(cn);return}console.log(cn,"resizeH"),Ue(cn)}};const aa=pt.current;let Oi=0,xi=!1,Xn=0;const Lr=document.getElementById("case-y-bar");return Lr==null||Lr.addEventListener("mousedown",Ur),document.addEventListener("mousemove",di),document.addEventListener("mouseup",Hr),()=>{const Ht=document.getElementById("case-y-bar");Ht==null||Ht.removeEventListener("mousedown",Ur),document.removeEventListener("mousemove",di),document.removeEventListener("mouseup",Hr)}}},[Bt,ke]),(0,ye.useEffect)(()=>{const Ur=x.Z.subscribe("resize-move-bar",En);if(wt.get("type")!=="exercises")return document.addEventListener((0,he.gH)(),vr),()=>{document.removeEventListener((0,he.gH)(),vr),Ur()}},[]),(0,ye.useEffect)(()=>{});function En(){var Ur,Hr,di,aa;const Oi=document.getElementById("outputResultRef");if(Oi){let xi=Oi.dataset.text;Mt.current.reset(),Mt.current.writeln(xi);const Xn=document.getElementById("outputResultRef").offsetWidth-20,Lr=((aa=(di=(Hr=(Ur=Mt.current)==null?void 0:Ur._core)==null?void 0:Hr._renderService)==null?void 0:di.dimensions)==null?void 0:aa.actualCellWidth)||10,Ht=Math.ceil(Xn/Lr);Mt.current.resize(Ht,Math.ceil(Oi.clientHeight/16))}}function kn(){ft(!gt),setTimeout(()=>{En()},300),Ue(gt?320:window.innerHeight-150)}function br(){$e?(Pe(!1),(0,he.BU)()):(Pe(!0),(0,he.Dj)(Lt.current))}const vr=Ur=>{(0,he.vp)()||Pe(!1)},xr=(0,ye.useMemo)(()=>{if(Me){const{status:Ur,output:Hr,error_msg:di}=Me;return setTimeout(()=>{let aa="",Oi=document.getElementById("outputResultRef");Hr?aa=ue.Base64.decode(Hr):di&&(aa=ue.Base64.decode(di)),Mt.current=new re.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),Mt.current.open(Oi),Mt.current.onKey(function(xi){var Xn;if(xi.domEvent.key.toLocaleUpperCase()==="C"&&xi.domEvent.ctrlKey){xi.domEvent.preventDefault();let Lr=(Xn=Mt.current)==null?void 0:Xn.getSelection();navigator.clipboard.writeText(Lr).then(()=>{})}}),Oi.dataset.text=aa,Mt.current.setOption("convertEol",!0),En()},300),fe.createElement(fe.Fragment,null,Te(Me))}return null},[Me]);function ur(){var Ur,Hr;if(!(ct!=null&&ct.code)||((Ur=ct==null?void 0:ct.code)==null?void 0:Ur.trim().length)===0){(Hr=E.ZP)==null||Hr.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 cr=Ur=>ge(void 0,null,function*(){let Hr=yield(0,z.ZP)(`/api/problems/${Ur}/start.json`,{method:"get",params:{hack_user_id:nt==null?void 0:nt.user_id}});Hr&&(window.location.href=`/myproblems/${Hr==null?void 0:Hr.identifier}${window.location.search}`)});function Qr(){bn?navigator.clipboard.writeText(ue.Base64.decode(Dn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(ue.Base64.decode(on)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return fe.createElement(ye.Fragment,null,fe.createElement("div",{className:de()(ae.Z.case,ut&&ae.Z.whiteCase),style:{height:Ye},ref:pt},fe.createElement("div",{className:ae.Z.fullMask,ref:xt}),fe.createElement("div",{className:ae.Z["resize-y-bar"],id:"case-y-bar",ref:Bt,draggable:!1},ke===2&&fe.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),ke===1&&(Ye<=34?fe.createElement("div",{onClick:()=>{Ue(320)},className:ae.Z.unfoldBtn},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):fe.createElement("div",{onClick:()=>{Ue(0)},className:ae.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),fe.createElement("div",null,fe.createElement("div",{className:ae.Z.caseHead},fe.createElement("div",{className:ae.Z.dot}),fe.createElement("div",{className:ae.Z.text},ke===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),ke===2&&!ze&&typeof Wt=="number"&&fe.createElement(fe.Fragment,null,Wt===Ae.h.OK?fe.createElement("div",{className:ae.Z.pass},fe.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):fe.createElement("div",{className:ae.Z.noPass},fe.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),me[Wt])),fe.createElement("div",{className:ae.Z.btns},ke===2&&!ze&&fe.createElement(fe.Fragment,null,Wt!==Ae.h.OK&&fe.createElement("div",{onClick:Qr},fe.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),fe.createElement("div",{onClick:()=>{Ne(Ut)}},fe.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),wt.get("type")!=="exercises"&&fe.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>kn()},fe.createElement("i",{className:`iconfont icon-${gt?"suoxiao1":"fangda"}`})))),fe.createElement("div",{style:{display:ke===1?"block":"none"}},Oe?fe.createElement(se.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:Ye-34}},fe.createElement("div",{className:ae.Z.result},fe.createElement("div",{className:ae.Z.left},fe.createElement("div",{className:ae.Z.title},fe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),fe.createElement("div",{className:ae.Z.leftNode},fe.createElement(ve,{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?"":je,onChange:tt}))),fe.createElement("div",{className:ae.Z.right},fe.createElement("div",{className:ae.Z.title},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),fe.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),fe.createElement("div",{className:ae.Z.node},Me?xr:fe.createElement("p",{style:{color:"#8F96B1"}},"\u8BF7\u5728\u5DE6\u4FA7\u8F93\u5165\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D\uFF0C\u5373\u53EF\u751F\u6210\u4EE3\u7801\u6267\u884C\u7ED3\u679C")))))),fe.createElement("div",{style:{display:ke===2?"block":"none"}},ze?fe.createElement(se.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:Ye-34,display:"flex",flexDirection:"column",overflow:"hidden"}},fe.createElement("div",{ref:Lt,className:ae.Z.elseNode},fe.createElement("div",{className:ae.Z.nameWrap},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),fe.createElement("div",{className:ae.Z.scroll},fe.createElement("pre",{className:ae.Z.scrollBox,style:Qe?{height:$e?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!bn&&fe.createElement(we,{value:Xt}),bn&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>ge(void 0,null,function*(){const Ur=yield fetch(Mn,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});bt(yield Ur.text()),setTimeout(()=>{ht(Mn)},200)})},Xt)),Xt&&fe.createElement("div",{className:ae.Z.action},fe.createElement("span",{onClick:()=>De(!Qe)},Qe?"\u6536\u8D77":"\u5C55\u5F00"),wt.get("type")!=="exercises"&&fe.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>br(),className:`iconfont icon-${$e?"suoxiao1":"fangda"}`})))),fe.createElement("div",{className:ae.Z.result,style:{flex:1,overflow:"hidden"}},fe.createElement("div",{className:ae.Z.left},fe.createElement("div",{className:ae.Z.title},fe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),fe.createElement("div",{className:ae.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},fe.createElement("pre",null,!bn&&fe.createElement(we,{className:"mb10",value:dn&&ue.Base64.decode(dn)||""}),bn&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>ge(void 0,null,function*(){const Ur=yield fetch(Fn,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});bt(yield Ur.text()),setTimeout(()=>{ht(Fn)},200)})},dn)))),fe.createElement("div",{className:ae.Z.right},fe.createElement("div",{className:ae.Z.title},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),fe.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),fe.createElement("div",{className:ae.Z.node,style:{color:Wt===Ae.h.OK?"#2ABD8C":"#FF2C29"}},fe.createElement("pre",null,(Wt===4||Wt===5)&&fe.createElement(we,{className:"mb10",value:Dn&&ue.Base64.decode(Dn)||""}),Wt!=4&&Wt!=5&&(bn?fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>ge(void 0,null,function*(){const Ur=yield(0,z.ZP)(er,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{bt(Ur)}catch(Hr){bt("")}setTimeout(()=>{ht(er)},200)})},on):fe.createElement(we,{className:"mb10",value:on&&ue.Base64.decode(on)||""})))))))))),fe.createElement("div",{className:de()(ae.Z.footer,ut&&ae.Z.whiteFooter),style:{zIndex:100}},(ct==null?void 0:ct.is_program)&&(ct==null?void 0:ct.above_question)&&fe.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>cr(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)&&fe.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>cr(ct==null?void 0:ct.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),fe.createElement(pe.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Oe||ze,loading:Oe,color:"#2ABD8C",className:"mr10",onClick:ur},"\u8C03\u8BD5\u4EE3\u7801"),wt.get("qtype")!=="8"&&fe.createElement(pe.ZP,{className:ae.Z.disabled,type:"primary",icon:fe.createElement("i",{className:"iconfont icon-bofang1"}),loading:ze,disabled:Oe||ze,onClick:()=>{var Ur,Hr;if(!(ct!=null&&ct.code)||((Ur=ct==null?void 0:ct.code)==null?void 0:Ur.trim().length)===0){(Hr=E.ZP)==null||Hr.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),lt()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),fe.createElement(y.Z,{onClose:Ne,open:Ie}),fe.createElement(ee.Z,{close:!0,data:rt,type:rt.length?"txt":"",onClose:()=>ht(""),monacoEditor:{value:St,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},34587:function(en,zt,be){"use strict";be.r(zt),be.d(zt,{Types:function(){return Ha},default:function(){return fs}});var ye=be(59301),Xe=be(89070),E=be(31797),pe=be(43418),Ae=be(71418),ue=be(3113),le=be(6848),ae=be(95237),se=be(88264),ie=be(94941),oe=be(4901),re=be(17064),ne=be(3294),z=be(87169),a=be(43428),y=be(23954),x=be(79346),b=be(16479),te=be(16869),ee=be(59301),ce=Object.defineProperty,de=Object.defineProperties,he=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,me=(pn,Hn,Fr)=>Hn in pn?ce(pn,Hn,{enumerable:!0,configurable:!0,writable:!0,value:Fr}):pn[Hn]=Fr,Be=(pn,Hn)=>{for(var Fr in Hn||(Hn={}))ge.call(Hn,Fr)&&me(pn,Fr,Hn[Fr]);if(fe)for(var Fr of fe(Hn))ve.call(Hn,Fr)&&me(pn,Fr,Hn[Fr]);return pn},Se=(pn,Hn)=>de(pn,he(Hn));const Te={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0)};var we=(pn=>(pn[pn.set_font_size=0]="set_font_size",pn[pn.set_theme=1]="set_theme",pn[pn.on_tab_to_space=2]="on_tab_to_space",pn[pn.set_show_editor_setting=3]="set_show_editor_setting",pn))(we||{});function je(pn,Hn){switch(Hn.type){case 3:return Se(Be({},pn),{showEditorSetting:Hn.payload});case 1:return Se(Be({},pn),{theme:Hn.payload});case 0:return Se(Be({},pn),{fontSize:Hn.payload});case 2:return Se(Be({},pn),{tabToSpace:Hn.payload});default:throw new Error}}var xe=({isLoading:pn,value:Hn,onChange:Fr,language:dr,onUpdateCode:Ar,ActionBarRender:pr,setIsWhiteTheme:wr})=>{const[Dr,Or]=(0,ye.useReducer)(je,Te),{theme:$r,fontSize:Kn,showEditorSetting:ii,tabToSpace:li}=Dr,Ki=(0,ye.useRef)(),ui=(0,ye.useRef)();(0,ye.useEffect)(()=>{wr($r==="vs")},[$r]);const Jr={onFontSizeChange:Zi=>{Or({type:0,payload:Zi}),(0,b.t)("cmFontSize",Zi)},tabToSpace:li,cmFontSize:Kn,className:"oj",cmCodeMode:$r,onTabToSpace:Zi=>{Or({type:2,payload:Zi}),(0,b.t)("cmTabToSpace",Zi)},onCodeModeChange:Zi=>{Or({type:1,payload:Zi}),(0,b.t)("ProgrammingCodeMode",Zi)}};function Ea(){Or({type:3,payload:!1})}function Ma(){Or({type:3,payload:!0})}const zo={value:Hn,language:dr,theme:$r,options:{fontSize:Kn,insertSpaces:li},onChange:Zi=>{Fr(Zi),ui.current=Zi,clearTimeout(Ki.current),Ki.current=setTimeout(()=>{Ar(ui.current)},1e4)},onEditBlur:Zi=>{ui.current&&Ar(ui.current)}};return ee.createElement(ye.Fragment,null,pr(Ma),ee.createElement("div",{style:{flex:1,overflow:"hidden"}},!pn&&ee.createElement(y.ZP,Be({},zo))),ee.createElement(x.Z,null,ee.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:ii,onClose:Ea},ee.createElement(te.Z,Be({},Jr)))))},Oe=be(60141),ze=be(24334),Ze=be(87001),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),lt=be(58421),ct=be(58617),nt=be(8394),at=be(61186),ut=be.n(at),At=be(59301);const{Column:wt}=qe.default;var It=({submitResult:pn,submitting:Hn,submitRecords:Fr,page:dr,onPageChange:Ar,topicId:pr})=>{const[wr]=(0,Xe.useSearchParams)(),{records:Dr,records_count:Or}=Fr||{},[$r,Kn]=(0,ye.useState)(!1),ii=wr.get("type")==="1";return At.createElement(Ae.Z,{spinning:Hn,tip:"\u8BC4\u6D4B\u4E2D...",indicator:At.createElement(ct.Z,{style:{fontSize:24},spin:!0})},(Dr==null?void 0:Dr.length)>0?At.createElement(qe.default,{dataSource:Dr,rowKey:"id",pagination:!1},At.createElement(wt,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(li,Ki)=>At.createElement("span",null," ",ut()(li).format("YYYY-MM-DD HH:mm:ss"))}),At.createElement(wt,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(li,Ki)=>{var ui;return At.createElement("span",{className:`${li===0?"c-green":"c-red"} current`,onClick:()=>{Kn(Ki.id)}},(ui=Ze.Im[li])==null?void 0:ui.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),At.createElement(wt,{title:`\u6267\u884C\u7528\u65F6 (${ii?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:li=>li?ii?li:li/1e3:""}),At.createElement(wt,{title:`\u5185\u5B58\u6D88\u8017\uFF08${ii?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:li=>li?ii?li:parseFloat((li/1024).toFixed(2)):""}),At.createElement(wt,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),At.createElement(wt,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(li,Ki)=>At.createElement("span",{className:"c-light-primary current",onClick:()=>{Kn(Ki.id)}},"\u67E5\u770B")})):At.createElement("div",{style:{height:300,width:"100%"}}),At.createElement(nt.Z,{onClose:Kn,open:$r}),Or>15?At.createElement(lt.Z,{className:tt.pagination,current:dr,pageSize:15,total:Or,onChange:Ar}):null)},gt=be(8797),ft=be(12563),$e={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Pe=be(85149),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:pn})=>{const{language:Hn,difficult:Fr,time_limit:dr,description:Ar}=pn,[pr]=(0,Xe.useSearchParams)(),wr=Ve[Fr];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},Hn)),ke.createElement("li",null,ke.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",ke.createElement(ft.default,{color:wr==null?void 0:wr.color},wr==null?void 0:wr.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"}},dr,"\u79D2"))),pr.get("qtype")==="8"?ke.createElement(Pe.Z,{value:Ar,showProgramFill:!0,className:$e.desc}):ke.createElement(Pe.Z,{value:Ar,className:$e.desc}))},De={},Ye=be(59301),Ue=({hack:pn,current_user:Hn})=>Ye.createElement("div",{className:De.answer},pn!=null&&pn.answer_text?Ye.createElement(Pe.Z,{style:{padding:"13px 0"},value:(pn==null?void 0:pn.answer_text)||""}):Ye.createElement(gt.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),Ie=be(34604),Ne=be(99064);function rt(pn,Hn){return(0,Ne.U2)(`/problems/${pn}/comments.json`,{page:Hn,limit:10})}function ht(pn){return(0,Ne.v_)(`/discusses/${pn}/plus.json`,{container_type:"Discuss",type:1})}function St(pn,Hn,Fr){return(0,Ne.v_)(`/problems/${pn}/comments/reply.json`,{comments:{content:Fr,parent_id:Hn}})}function bt(pn,Hn){return(0,Ne.v_)(`/problems/${pn}/comments.json`,{comments:{content:Hn}})}function Bt(pn,Hn,Fr){return(0,Ne.v_)(`/problems/${pn}/comments/${Hn}/hidden.json`,Fr)}function Mt(pn,Hn){return(0,Ne.IV)(`/problems/${pn}/comments/${Hn}`)}var pt=be(34362);function Lt({author:pn}){return ye.createElement("a",{href:`/users/${pn.login}`,target:"_blank"},ye.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${pn.image_url}`,width:"50"}))}function xt({data:pn,index:Hn,parentDiscussIndex:Fr,user:dr,onSetActionType:Ar}){const{author:pr,can_delete:wr,content:Dr,id:Or,time:$r}=pn;function Kn(){Ar({id:Or,index:Hn,type:"delete-discuss",parentDiscussIndex:Fr,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const ii=dr.admin||wr||pr.user_id===dr.user_id;return ye.createElement("div",{className:"discuss-item-container second-discuss "},ye.createElement(Lt,{author:pr}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${pr.login}`,target:"_blank"},pr.name),ye.createElement("span",{className:"grey"},$r),ye.createElement("div",{className:"btn-group",style:{marginBottom:0}},ii?ye.createElement("a",{onClick:Kn,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null)),ye.createElement(Pe.Z,{className:"discuss-content",value:Dr})))}var Wt=({user:pn,data:Hn,index:Fr,onPlusDiscuss:dr,onSetActionType:Ar,activeDiscussIndex:pr,onReplyDiscuss:wr,onSetActiveDiscussIndex:Dr})=>{const{content:Or,children:$r,hidden:Kn,id:ii,praise_count:li,time:Ki,user_praise:ui,can_delete:Jr,author:Ea}=Hn;function Ma(){Dr(ii)}function zo(){dr(ii,!ui,Fr)}function Zi(){Ar({id:ii,index:Fr,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function jo(){Ar({id:ii,index:Fr,params:{hidden:Kn?"0":"1"},type:"hidden-discuss",message:Kn?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const pa=pn.admin||pn.user_id===Ea.user_id;return ye.createElement("div",{className:"discuss-item-container",key:ii},ye.createElement(Lt,{author:Ea}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${Ea.login}`,target:"_blank"}," ",Ea.name," "),ye.createElement("span",{className:"grey"},Ki)),ye.createElement(Pe.Z,{className:"discuss-content",value:Or}),$r&&$r.length>0?ye.createElement("div",{className:"reply-discuss-container"},$r.map((Wi,$i)=>ye.createElement(xt,{key:Wi.id,data:Wi,index:$i,user:pn,onSetActionType:Ar,parentDiscussIndex:Fr}))):null,ye.createElement("div",{className:"btn-group"},pa?ye.createElement("a",{onClick:jo,title:Kn?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ye.createElement("i",{className:Kn?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Jr&&(!$r||$r.length==0)?ye.createElement("a",{onClick:Zi,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null,ye.createElement("a",{onClick:Ma,title:"\u56DE\u590D"}," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," "),ye.createElement("a",{onClick:zo,className:ui?"c-orange":""},ye.createElement("i",{className:ui?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ye.createElement("span",null,li||""))),ye.createElement(pt.Z,{id:ii,activeDiscussIndex:pr,onReplyDiscuss:wr})))},Ut=be(61398),Xt={"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"},on=be(12290),dn=(pn,Hn,Fr)=>new Promise((dr,Ar)=>{var pr=Or=>{try{Dr(Fr.next(Or))}catch($r){Ar($r)}},wr=Or=>{try{Dr(Fr.throw(Or))}catch($r){Ar($r)}},Dr=Or=>Or.done?dr(Or.value):Promise.resolve(Or.value).then(pr,wr);Dr((Fr=Fr.apply(pn,Hn)).next())}),bn=({user_praise:pn,praise_count:Hn,praisePlus:Fr,onCreateDiscuss:dr,discuss_count:Ar})=>{const[pr,wr]=(0,ye.useState)(!1),[Dr,Or]=(0,ye.useState)("");function $r(Ki){Or(Ki)}function Kn(){wr(!0)}function ii(){wr(!1)}function li(){return dn(this,null,function*(){dr(Dr),Or(""),wr(!1)})}return ye.createElement("div",{className:`${Xt["dis-input-editor-container"]} ${pr?Xt.active:""} `},ye.createElement("div",{className:pr?`hide ${Xt["text-area"]}`:Xt["text-area"]},ye.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:Kn}),ye.createElement("a",null," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Ar," "),ye.createElement("a",{className:"c-light-black",onClick:Fr,title:pn?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},ye.createElement("i",{className:`mr3 ${pn?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Hn?ye.createElement("span",null,Hn):"")),pr?ye.createElement("div",{className:Xt["input-mask"],onClick:ii}):null,ye.createElement("div",{className:pr?Xt["md-container"]:`${Xt["md-container"]} hide`},ye.createElement(on.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:Dr,height:240,onChange:$r}),ye.createElement("div",{className:Xt["tip-container"],onClick:ii},ye.createElement("a",{className:Xt["btn-send"],onClick:li}," \u53D1\u9001 "))))},Mn=be(59301),er=Object.defineProperty,Fn=Object.defineProperties,Dn=Object.getOwnPropertyDescriptors,An=Object.getOwnPropertySymbols,En=Object.prototype.hasOwnProperty,kn=Object.prototype.propertyIsEnumerable,br=(pn,Hn,Fr)=>Hn in pn?er(pn,Hn,{enumerable:!0,configurable:!0,writable:!0,value:Fr}):pn[Hn]=Fr,vr=(pn,Hn)=>{for(var Fr in Hn||(Hn={}))En.call(Hn,Fr)&&br(pn,Fr,Hn[Fr]);if(An)for(var Fr of An(Hn))kn.call(Hn,Fr)&&br(pn,Fr,Hn[Fr]);return pn},xr=(pn,Hn)=>Fn(pn,Dn(Hn)),ur=(pn,Hn,Fr)=>new Promise((dr,Ar)=>{var pr=Or=>{try{Dr(Fr.next(Or))}catch($r){Ar($r)}},wr=Or=>{try{Dr(Fr.throw(Or))}catch($r){Ar($r)}},Dr=Or=>Or.done?dr(Or.value):Promise.resolve(Or.value).then(pr,wr);Dr((Fr=Fr.apply(pn,Hn)).next())});const cr={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var Qr=(pn=>(pn[pn.GET_DISCUSSES=0]="GET_DISCUSSES",pn[pn.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",pn[pn.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",pn[pn.PLUS_DISCUSS=3]="PLUS_DISCUSS",pn[pn.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",pn[pn.SET_PAGE=5]="SET_PAGE",pn[pn.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",pn))(Qr||{});function Ur(pn,Hn){switch(Hn.type){case 6:return xr(vr({},pn),{loading:!0});case 0:return vr(vr({},pn),Hn.payload);case 1:return vr(vr({},pn),Hn.payload);case 4:return vr(vr({},pn),Hn.payload);case 3:return vr(vr({},pn),Hn.payload);case 5:return xr(vr({},pn),{page:Hn.payload});case 2:return vr(vr({},pn),Hn.payload);default:throw new Error}}var Hr=({user:pn,identifier:Hn,hack:Fr,onTriggerPraise:dr,activeIndex:Ar})=>{const[pr,wr]=(0,ye.useReducer)(Ur,cr),{loading:Dr,page:Or,data:$r,count:Kn,actionType:ii,activeDiscussIndex:li}=pr,Ki=(0,ye.useCallback)(()=>ur(void 0,null,function*(){wr({type:6});const Wi=yield rt(Hn,Or),{comments:$i,disscuss_count:ta}=Wi;wr({type:0,payload:{data:$i,count:ta,loading:!1}})}),[Or,Hn]);(0,ye.useEffect)(()=>{Ar==="2"&&Ki()},[Hn,Or,Ar]);function ui(Wi){wr({type:5,payload:Wi})}function Jr(Wi){wr({type:4,payload:{actionType:Wi}})}function Ea(Wi){wr(li===Wi?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Wi}})}function Ma(Wi,$i,ta){return ur(this,null,function*(){try{const Qi=yield ht(Wi);$r[ta].user_praise=$i,$r[ta].praise_count=Qi.praise_count,wr({type:3,payload:{data:[...$r]}})}catch(Qi){console.log(Qi)}})}function zo(){return ur(this,null,function*(){const{id:Wi,params:$i,type:ta,index:Qi,parentDiscussIndex:co}=ii;if(ta==="hidden-discuss"&&(yield Bt(Hn,Wi,$i),co?$r[co].children[Qi].hidden=$i.hidden==1:$r[Qi].hidden=$i.hidden==1,wr({type:4,payload:{actionType:null,data:[...$r]}})),ta==="delete-discuss"){if(yield Mt(Hn,Wi),co||co===0){let Za=$r[co].children;for(let So=Za.length-1;So>=0;So--)if(Za[So].id===Wi){Za.splice(So,1);break}$r[co].children=Za}else for(let Za=$r.length-1;Za>=0;Za--)if($r[Za].id===Wi){$r.splice(Za,1);break}wr({type:4,payload:{actionType:null,data:[...$r]}})}})}function Zi(){wr({type:4,payload:{actionType:null}})}function jo(Wi,$i){return ur(this,null,function*(){try{yield St(Hn,Wi,$i),Ki()}catch(ta){console.log(ta)}})}function pa(Wi){return ur(this,null,function*(){wr({type:6}),yield bt(Hn,Wi),Ki()})}return Mn.createElement(Mn.Fragment,null,Mn.createElement("div",{className:"discuss-panel"},$r.length===0?Mn.createElement(gt.Z,null):$r.map((Wi,$i)=>Mn.createElement(Wt,{onReplyDiscuss:jo,onPlusDiscuss:Ma,onSetActiveDiscussIndex:Ea,onSetActionType:Jr,data:Wi,index:$i,user:pn,activeDiscussIndex:li})),Kn>10?Mn.createElement("div",{className:"pagination-container"},Mn.createElement(lt.Z,{showQuickJumper:!0,onChange:ui,current:Or,total:Kn})):null),Mn.createElement(bn,{user_praise:Fr.user_praise,praise_count:Fr.praises_count,praisePlus:dr,discuss_count:Fr.comments_count,onCreateDiscuss:pa}),Mn.createElement(x.Z,null,Mn.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:!!ii,onOk:zo,onCancel:Zi},Mn.createElement("p",null,ii?ii.message:"")),Mn.createElement(Ut.Z,null)))},di=be(57809),aa=be(92832),Oi=be(65615),xi={},Xn=be(59301),Lr=({hack:pn,current_user:Hn})=>Xn.createElement("div",{className:xi.answer},pn!=null&&pn.analysis?Xn.createElement(Pe.Z,{style:{padding:"13px 0"},value:(pn==null?void 0:pn.analysis)||""}):Xn.createElement(gt.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),Ht={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},nn=be(36381),cn=be(43604),tr=be(78241),Jn=be(5871),Un=be(72161),Br=be(59301);const{TextArea:ri}=aa.default,{Panel:Mr}=nn.default;var zr=({data:pn,hack:Hn})=>(console.log(pn,Hn,"data"),Hn!=null&&Hn.is_file?Br.createElement(Un.Y2,{disabled:!0,className:Ht.uploadTableWrapper,showScore:!Hn.test_set_score,data:pn,isProgramHomework:!0}):Br.createElement("div",{className:Ht.hackSets},pn==null?void 0:pn.map((Fr,dr)=>Br.createElement(nn.default,{accordion:!0,bordered:!1,key:dr,defaultActiveKey:dr===0&&Fr.id,className:Ht.collapseWrapper,expandIcon:({isActive:Ar})=>Br.createElement("i",{className:`iconfont icon-weizhankai ${Ar?Ht.open:Ht.close}`,style:{fontSize:14,transition:"all .2s"}})},Br.createElement(Mr,{key:Fr.id,header:Br.createElement(ae.Z,{align:"middle",justify:"space-between",wrap:!1},Br.createElement(cn.Z,{className:Ht.panelHeader},Br.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",dr+1)),Br.createElement(cn.Z,{flex:1},Br.createElement(ae.Z,{align:"middle",justify:"end",wrap:!1},!(Hn!=null&&Hn.test_set_score)&&Br.createElement(cn.Z,{className:Ht.rateInput},Br.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),Br.createElement("div",null,Br.createElement(tr.default.Item,{noStyle:!0},Br.createElement(Jn.Z,{value:Fr==null?void 0:Fr.score,className:Ht.baseFormItem,min:0,max:100,disabled:!0}))),Br.createElement("span",{className:"ml10"},"%")))))},Br.createElement(tr.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},Br.createElement(ri,{readOnly:!0,value:Fr==null?void 0:Fr.input,rows:4})),Br.createElement(tr.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},Br.createElement(ri,{readOnly:!0,value:Fr==null?void 0:Fr.output,rows:4}))))))),_i={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},ar=be(59301),Fi=(0,ye.forwardRef)(({data:pn=[]},Hn)=>{var Fr;const[dr,Ar]=(0,ye.useState)(),pr=pn.filter(Dr=>Dr.show);(0,ye.useEffect)(()=>{pr.length&&Ar(pr[0].id)},[pn==null?void 0:pn.length]);const wr=((Fr=pr.find(Dr=>Dr.id===dr))==null?void 0:Fr.element)||null;return(0,ye.useImperativeHandle)(Hn,()=>({setActiveTab:Dr=>Ar(Dr)})),ar.createElement("div",{className:_i.tabs},ar.createElement("div",{className:_i.tabWarp},pr.map(Dr=>ar.createElement("div",{onClick:()=>Ar(Dr.id),className:`${_i.tab} ${Dr.id===dr?_i.active:""}`,key:Dr.id},Dr.name))),ar.createElement("div",{className:_i.content},wr))}),ir=be(59301),Rr=Object.defineProperty,jr=Object.defineProperties,Si=Object.getOwnPropertyDescriptors,Hi=Object.getOwnPropertySymbols,Ji=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable,ba=(pn,Hn,Fr)=>Hn in pn?Rr(pn,Hn,{enumerable:!0,configurable:!0,writable:!0,value:Fr}):pn[Hn]=Fr,fa=(pn,Hn)=>{for(var Fr in Hn||(Hn={}))Ji.call(Hn,Fr)&&ba(pn,Fr,Hn[Fr]);if(Hi)for(var Fr of Hi(Hn))Na.call(Hn,Fr)&&ba(pn,Fr,Hn[Fr]);return pn},Ti=(pn,Hn)=>jr(pn,Si(Hn)),Gn=(pn,Hn,Fr)=>new Promise((dr,Ar)=>{var pr=Or=>{try{Dr(Fr.next(Or))}catch($r){Ar($r)}},wr=Or=>{try{Dr(Fr.throw(Or))}catch($r){Ar($r)}},Dr=Or=>Or.done?dr(Or.value):Promise.resolve(Or.value).then(pr,wr);Dr((Fr=Fr.apply(pn,Hn)).next())});const zi={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},qn={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var oa=({hack:pn,onTriggerPraise:Hn,topicId:Fr,page:dr,onPageChange:Ar,user:pr,current_user:wr,submitRecords:Dr,submitting:Or,submitResult:$r,setActiveIndex:Kn,hack_sets:ii})=>{var li,Ki;const[ui]=(0,Xe.useSearchParams)(),[Jr,Ea]=(0,ye.useState)("0"),Ma=(0,Xe.useLocation)(),[zo,Zi]=(0,ye.useState)(!1),[jo,pa]=(0,ye.useState)(null),[Wi,$i]=(0,ye.useState)([]),[ta,Qi]=(0,ye.useState)([]),[co,Za]=(0,ye.useState)({page:1,limit:10}),So=(0,ye.useRef)(null),Ao=(0,ye.useRef)(null);console.log(pr,"user");let[Xa,Es]=(0,ye.useState)(Ti(fa({},(0,Xe.useParams)()),{page:1,per_page:20,name:""}));(0,ye.useEffect)(()=>{Ao.current&&(pn==null?void 0:pn.is_close_tips)===!1&&jo===null&&pa(!0)},[Ao.current,pn==null?void 0:pn.is_close_tips,jo]);function Js(){return Gn(this,null,function*(){yield(0,Ne.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,ye.useEffect)(()=>{Kn(Jr)},[Jr]);function rs(ea){return Gn(this,null,function*(){let ao=ea.target.id;if(ao==="1"){let Ja=yield(0,Ne.ZP)(`/api/myproblems/${Xa.id}/redo_logs.json`,{method:"get",params:fa({},co)});(Ja==null?void 0:Ja.status)===0&&Qi(Ja==null?void 0:Ja.data)}Ea(ao)})}(0,ye.useEffect)(()=>Ie.Z.subscribe("to-commit-info",()=>{Ea("1"),So.current&&So.current.setActiveTab("1")}),[]),(0,ye.useEffect)(()=>Ie.Z.subscribe("to-reset-info",()=>{rs({target:{id:"1"}}),So.current&&So.current.setActiveTab("2")}),[]);function $s(){Ea("2")}function fo(){return Gn(this,null,function*(){let ea=yield(0,Ne.ZP)("/api/problems/my_hack_list.json",{method:"get",params:fa({identifier:Xa==null?void 0:Xa.id},Xa)});$i(ea)})}const pi=[{title:null,description:ir.createElement("div",null,ir.createElement("b",{onClick:()=>{pa(!1),Js(),Zi(!0),fo()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),ir.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"),ir.createElement(ue.ZP,{onClick:()=>{pa(!1),Js()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>Ao.current}];return ir.createElement("div",{className:Me["left-panel"]},ir.createElement("ul",{className:`${Me["s-navs"]} ${Me["bg-white"]} ${Me.b1}`},(pn==null?void 0:pn.is_program)&&!ui.get("pageId")&&ir.createElement(le.Z,{title:"\u9898\u76EE\u5217\u8868"},ir.createElement("div",{onClick:()=>{fo(),Zi(!0)},className:Me.btns,ref:Ao,style:jo?{pointerEvents:"none"}:{}},ir.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),ir.createElement("li",{style:{marginLeft:20}},ir.createElement("a",{className:Jr==="0"?Me.active:"",id:"0",onClick:rs},"\u9898\u76EE\u63CF\u8FF0")),ir.createElement("li",null,ir.createElement("a",{className:Jr==="1"?Me.active:"",id:"1",onClick:rs},"\u64CD\u4F5C\u8BB0\u5F55")),(ui.get("type")!=="exercises"&&(pn==null?void 0:pn.answer_text_show)||ui.get("type")!=="exercises"&&(pn==null?void 0:pn.analysis_show))&&ir.createElement("li",null,ir.createElement("a",{className:Jr==="4"?Me.active:"",id:"4",onClick:rs},"\u89E3\u7B54\u53C2\u8003")),ui.get("type")!=="exercises"&&ir.createElement("li",null,ir.createElement("a",{className:Jr==="2"?Me.active:"",id:"2",onClick:rs},"\u8BC4\u8BBA")),!!(ii!=null&&ii.length)&&ui.get("type")!=="exercises"&&ui.get("type")!=="1"&&ir.createElement("li",null,ir.createElement("a",{className:Jr==="5"?Me.active:"",id:"5",onClick:rs},"\u6D4B\u8BD5\u7528\u4F8B"))),ir.createElement("div",{className:`${Me["tab-panel-body"]} ${Jr==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},ir.createElement(Qe,{hack:pn,onTriggerPraise:Hn,toDiscuss:$s})),ir.createElement("div",{style:{padding:"12px"},className:`${Me["tab-panel-body"]} ${Jr==="1"?"":"hide"}`},ir.createElement(Fi,{ref:So,data:[{id:"1",show:ui.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:ir.createElement(ir.Fragment,null,Dr!=null&&Dr.records_count||Or?ir.createElement(It,{page:dr,onPageChange:Ar,topicId:Fr,submitting:Or,key:($r==null?void 0:$r.id)||1,submitRecords:Dr,submitResult:$r}):ir.createElement(gt.Z,null))},{id:"2",show:ui.get("type")==="exercises"||(pn==null?void 0:pn.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:ir.createElement(ir.Fragment,null,ir.createElement(qe.default,{pagination:!1,dataSource:ta==null?void 0:ta.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(ea,ao,Ja)=>ut()(ea).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(ea,ao,Ja)=>{var On;return(On=[{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(oi=>oi.id===ea))==null?void 0:On.name}}]}),ir.createElement(lt.Z,{style:{marginTop:10},current:co.page,total:ta==null?void 0:ta.count,hideOnSinglePage:!0,onChange:ea=>Gn(void 0,null,function*(){co.page=ea,Za(co);let ao=yield(0,Ne.ZP)(`/api/myproblems/${Xa.id}/redo_logs.json`,{method:"get",params:Ti(fa({},co),{courseId:Xa.courseId})});(ao==null?void 0:ao.status)===0&&Qi(ao==null?void 0:ao.data)})}))}]})),ir.createElement("div",{style:{padding:"12px"},className:`${Me["tab-panel-body"]} ${Jr==="4"?"":"hide"}`},ir.createElement(Fi,{data:[{id:"1",show:ui.get("type")!=="exercises"&&(pn==null?void 0:pn.answer_text_show),name:"\u7B54\u6848",element:ir.createElement(ir.Fragment,null,ir.createElement(Ue,{hack:pn,current_user:wr}))},{id:"2",show:ui.get("type")!=="exercises"&&(pn==null?void 0:pn.analysis_show),name:"\u89E3\u6790",element:ir.createElement(ir.Fragment,null,ir.createElement(Lr,{hack:pn,current_user:wr}))}]})),ir.createElement("div",{className:`${Me["tab-panel-body"]} ${Jr==="2"?"":"hide"}`,style:{padding:0}},ir.createElement(Hr,{user:pr,activeIndex:Jr,identifier:pn.identifier,hack:pn,onTriggerPraise:Hn})),ir.createElement("div",{className:`${Me["tab-panel-body"]} ${Jr==="5"?"":"hide"}`,style:{padding:12}},ir.createElement(zr,{data:ii||[],hack:pn})),ir.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:()=>Zi(!1),open:zo},ir.createElement(ae.Z,null,ir.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),ir.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",Wi==null?void 0:Wi.total_count,"\u9898\xA0[\xA0",Wi==null?void 0:Wi.total_score,"\u5206\xA0]\xA0"),!(pr!=null&&pr.hack_manager)&&ir.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Wi==null?void 0:Wi.work_score,"\u5206")),ir.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),ir.createElement(ae.Z,{align:"middle",className:"mt10 mb10"},!(pr!=null&&pr.hack_manager)&&ir.createElement(di.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:ea=>{Xa.page=1,Xa.finish_status=ea,Es(fa({},Xa)),fo()}},ir.createElement(di.default.Option,{value:""},"\u5168\u90E8"),ir.createElement(di.default.Option,{value:0},"\u672A\u5F00\u59CB"),ir.createElement(di.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),ir.createElement(di.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),ir.createElement(di.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:ea=>{Xa.page=1,Xa.difficult=ea||null,Es(fa({},Xa)),fo()}},ir.createElement(di.default.Option,{value:0},"\u5168\u90E8"),ir.createElement(di.default.Option,{value:1},"\u7B80\u5355"),ir.createElement(di.default.Option,{value:2},"\u9002\u4E2D"),ir.createElement(di.default.Option,{value:3},"\u56F0\u96BE")),ir.createElement(aa.default.Search,{size:"large",onSearch:ea=>{Xa.name=ea,Xa.page=1,Es(fa({},Xa)),fo()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),ir.createElement("div",{className:Me.list,style:{height:36,background:"#3D445C"}},!(pr!=null&&pr.hack_manager)&&ir.createElement("span",null,"\u72B6\u6001"),ir.createElement("span",null,"\u5E8F\u53F7"),ir.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),ir.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),ir.createElement("div",{style:{overflow:"auto",flex:1}},(li=Wi==null?void 0:Wi.data)!=null&&li.length?(Ki=Wi==null?void 0:Wi.data)==null?void 0:Ki.map((ea,ao)=>ir.createElement("div",{onClick:()=>Gn(void 0,null,function*(){let Ja=yield(0,Ne.ZP)(`/api/problems/${ea==null?void 0:ea.identifier}/start.json`,{method:"get",params:{hack_user_id:pr==null?void 0:pr.user_id}});Ja&&(Xe.history.replace(`/myproblems/${Ja==null?void 0:Ja.identifier}${window.location.search}`),window.location.reload())}),className:`${Me.list} ${ea!=null&&ea.checked?Me.active:""}`},!(pr!=null&&pr.hack_manager)&&ir.createElement(ir.Fragment,null,!(ea!=null&&ea.opened)&&ir.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(ea==null?void 0:ea.opened)&&!(ea!=null&&ea.passed)&&ir.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(ea==null?void 0:ea.opened)&&(ea==null?void 0:ea.passed)&&ir.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),ir.createElement("span",null,(Xa.page-1)*20+(ao+1)),ir.createElement("span",{style:{flex:1},title:ea.name},`[${ea==null?void 0:ea.score}\u5206]`,"\xA0",ea.name),ir.createElement("span",{style:{flexBasis:48,paddingRight:0}},zi[ea.difficult]))):ir.createElement(gt.Z,null)),ir.createElement(lt.Z,{current:Xa.page,className:"mt20",hideOnSinglePage:!0,total:Wi==null?void 0:Wi.count,pageSize:Xa.per_page,onChange:(ea,ao)=>{Xa.page=ea,Xa.per_page=ao,fo()}})),ir.createElement(Oi.Z,{rootClassName:Me.tour,closeIcon:!1,open:!!jo,steps:pi,gap:{offset:3,radius:2}}))},no=be(62522),Gi=be(16209),ji=be(19105),Pr=be(31947),Yr=be(85219),Ei=be(67054),Wr=be(61293),wa=be(92310),ca=be.n(wa),Wa=be(23960),Sa=be(31707),yi=be(39775),vo=be(93450),sr=be(59301),Ci=Object.defineProperty,qi=Object.defineProperties,or=Object.getOwnPropertyDescriptors,Nr=Object.getOwnPropertySymbols,fi=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,Qa=(pn,Hn,Fr)=>Hn in pn?Ci(pn,Hn,{enumerable:!0,configurable:!0,writable:!0,value:Fr}):pn[Hn]=Fr,Mi=(pn,Hn)=>{for(var Fr in Hn||(Hn={}))fi.call(Hn,Fr)&&Qa(pn,Fr,Hn[Fr]);if(Nr)for(var Fr of Nr(Hn))hi.call(Hn,Fr)&&Qa(pn,Fr,Hn[Fr]);return pn},Ba=(pn,Hn)=>qi(pn,or(Hn)),Ia=(pn,Hn)=>{var Fr={};for(var dr in pn)fi.call(pn,dr)&&Hn.indexOf(dr)<0&&(Fr[dr]=pn[dr]);if(pn!=null&&Nr)for(var dr of Nr(pn))Hn.indexOf(dr)<0&&hi.call(pn,dr)&&(Fr[dr]=pn[dr]);return Fr},Yi=(pn,Hn,Fr)=>new Promise((dr,Ar)=>{var pr=Or=>{try{Dr(Fr.next(Or))}catch($r){Ar($r)}},wr=Or=>{try{Dr(Fr.throw(Or))}catch($r){Ar($r)}},Dr=Or=>Or.done?dr(Or.value):Promise.resolve(Or.value).then(pr,wr);Dr((Fr=Fr.apply(pn,Hn)).next())});const{Countdown:ra}=E.default,Ta={Java:"java",C:"c",Python:"py","C++":"c"};var Ha=(pn=>(pn[pn.SET_LOADING=0]="SET_LOADING",pn[pn.GET_DATA=1]="GET_DATA",pn[pn.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",pn[pn.SET_DATA=3]="SET_DATA",pn[pn.SET_DEBUGING=4]="SET_DEBUGING",pn[pn.SET_SUBMITING=5]="SET_SUBMITING",pn[pn.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",pn[pn.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",pn[pn.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",pn[pn.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",pn[pn.SET_PAGE=10]="SET_PAGE",pn))(Ha||{});function Ho(){return new Date().getTime()}const ps={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function _o(pn,Hn){switch(Hn.type){case 1:return Mi(Mi({},pn),Hn.payload);case 3:return Ba(Mi({},pn),{data:Hn.payload});case 0:return Ba(Mi({},pn),{loading:Hn.payload});case 9:return Ba(Mi({},pn),{showNote:Hn.payload});case 4:return Ba(Mi({},pn),{debuging:Hn.payload});case 5:return Ba(Mi({},pn),{submitting:Hn.payload});case 2:return Ba(Mi({},pn),{submitRecords:Hn.payload});case 10:return Ba(Mi({},pn),{submitRecordPage:Hn.payload});case 6:return Ba(Mi({},pn),{executingMessage:Hn.payload});case 7:return Mi(Mi({},pn),Hn.payload);case 8:return Mi(Mi({},pn),Hn.payload);default:throw new Error}}var fs=({children:pn})=>{var Hn,Fr,dr,Ar,pr;const[wr,Dr]=(0,ye.useReducer)(_o,ps),{id:Or}=(0,Xe.useParams)(),$r=(0,Xe.useLocation)(),[Kn]=(0,Xe.useSearchParams)(),{loading:ii,data:li,debugResult:Ki,submitResult:ui,submitRecords:Jr,submitRecordPage:Ea,showNote:Ma,debuging:zo,submitting:Zi,executingMessage:jo}=wr,[pa,Wi]=(0,ye.useState)("#37AD83"),[$i,ta]=(0,ye.useState)(null),[Qi,co]=(0,ye.useState)({}),[Za,So]=(0,ye.useState)(!0),[Ao,Xa]=(0,ye.useState)(!1),[Es,Js]=(0,ye.useState)(!1),rs=(0,ye.useRef)(null),$s=(0,ye.useRef)(0),fo=li==null?void 0:li.user,pi=li==null?void 0:li.hack,[ea,ao]=(0,ye.useState)(!1),Ja=(0,ye.useRef)(1),On=(0,ye.useRef)(!1);(0,Wa.y)(Kn.get("type")==="exercises");const{setOpenDisableCopyAndPaste:oi}=(0,Wa.X)(),[Li,ci]=(0,ye.useState)(""),ki=(0,Yr._)(Qi);(0,ye.useEffect)(()=>{function Pi(){return Yi(this,null,function*(){var Ui,Bo,To,lo,Mo;So(!0);const Jo=yield(0,se.fu)(Or,{exercise_id:Kn.get("exercisesId")});if(setTimeout(()=>{So(!1)},800),Jo.status!==401){try{Jo.hack.code=ze.Base64.decode(Jo.hack.code)}catch(ho){console.log(ho)}Jo.hack=Ba(Mi({},Jo.hack),{is_program:Kn.get("type")==="1"}),Dr({type:1,payload:{loading:!1,data:Jo}})}if(Kn.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let ho;Kn.get("coursesId")=="coursesId"?ho=yield(0,ie._F)({categoryId:Kn.get("exercisesId"),login:Kn.get("login")}):ho=yield(0,ie._B)({categoryId:Kn.get("exercisesId"),login:Kn.get("login")}),co(Mi({},ho)),oi((Ui=ho==null?void 0:ho.exercise)==null?void 0:Ui.forbid_copy),typeof((Bo=ho==null?void 0:ho.exercise)==null?void 0:Bo.left_time)=="number"&&(ta(Date.now()+((To=ho==null?void 0:ho.exercise)==null?void 0:To.left_time)*1e3),setTimeout(()=>{Wi("red")},(((lo=ho==null?void 0:ho.exercise)==null?void 0:lo.left_time)-300>0?((Mo=ho==null?void 0:ho.exercise)==null?void 0:Mo.left_time)-300:0)*1e3))}})}Or&&Pi()},[Or]),(0,ye.useEffect)(()=>{var Pi;return Kn.get("type")==="exercises"&&((Pi=Qi==null?void 0:Qi.exercise)!=null&&Pi.screen_open)&&(window.removeEventListener("blur",sa,!1),Ei.U.forEach((Ui,Bo)=>{window.addEventListener(Ui,sa,!1)}),window.addEventListener("blur",sa,!1),window.focus()),()=>{document.removeEventListener((0,oe.gH)(),sa)}},[Qi]),(0,ye.useEffect)(()=>{Li==="1"&&Or&&pi!=null&&pi.language&&Ka()},[Or,Ea,pi==null?void 0:pi.language,Li]),(0,ye.useEffect)(()=>(pi!=null&&pi.is_program&&($s.current=0,rs.current=setInterval(()=>{Ca()},15e3)),()=>{clearInterval(rs.current)}),[pi==null?void 0:pi.is_program]);const Ca=()=>Yi(void 0,null,function*(){let Pi=yield(0,Ne.ZP)(`/api/myproblems/${Or}/save_long_time.json`,{method:"get",params:{answer_long_time:$s.current}})}),sa=()=>{On.current||(0,oe.BU)(),window.parent.postMessage("backExercise","*")};function Ka(){return Yi(this,null,function*(){try{const Pi=yield(0,se.zO)(Or,{limit:15,page:Ea,language:pi==null?void 0:pi.language});Dr({type:2,payload:Pi})}catch(Pi){console.log(Pi)}})}function za(Pi){Dr({type:10,payload:Pi})}function oo(Pi){return Yi(this,null,function*(){var Ui;let Bo;(Kn.get("ip_limit")==="inner"||Kn.get("ip_bind_type")==="true")&&(Bo=yield(0,Gi.y)({ip_limit:Kn.get("ip_limit"),ip_bind:Kn.get("ip_bind_type")==="true"}));const To=yield(0,se.n4)(Or,{code:ze.Base64.encode(Pi||pi.code),language:pi==null?void 0:pi.language,exercise_id:Kn.get("exercisesId"),question_id:Kn.get("questionId"),ip:Bo});return To.status===-5&&(0,Xe.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:Ba(Mi({errorMessage:To==null?void 0:To.message},(Qi==null?void 0:Qi.exercise)||{}),{exercise_user_id:(Ui=Qi==null?void 0:Qi.exercise)==null?void 0:Ui.exercise_user_id,id:Kn.get("exercisesId")})}}),To})}function Oo(){return Yi(this,null,function*(){if(Ja.current=2,!Zi){Dr({type:5,payload:!0});try{Ie.Z.publish("to-commit-info");const Pi=yield oo();if(console.log(Pi,1),Pi.status===0){let Jo=function(){return Yi(this,null,function*(){const{status:ho,data:ms}=yield(0,se.rX)(Or,"submit"),rl=Ho()-Mo>(To*lo+3)*1e3;if(ho!==0&&!rl&&setTimeout(Jo,1e3),rl){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),Dr({type:5,payload:!1});return}if(ho===0){ms.status===2&&pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(ms==null?void 0:ms.status)===0&&Kn.get("type")==="1"&&Js(!0);const Nl=yield(0,se.zO)(Or,{limit:15,page:Ea,language:pi==null?void 0:pi.language});Dr({type:8,payload:Ba(Mi({},wr),{submitResult:ms,submitting:!1,submitRecords:Nl})})}})},Ui={};if(Kn.get("type")==="exercises"&&(Ui.extras={exercise_id:Kn.get("exercisesId"),question_id:Kn.get("questionId")},(Kn.get("ip_limit")==="inner"||Kn.get("ip_bind_type")==="true")&&(Ui.extras.ip=yield(0,Gi.y)({ip_limit:Kn.get("ip_limit"),ip_bind:Kn.get("ip_bind_type")==="true"}))),(yield(0,se.bM)(Or,Ui)).status===-1&&Kn.get("exercisesId")){window.parent.location.href=`/classrooms/${Kn.get("coursesId")}/exercise/${Kn.get("exercisesId")}/detail`;return}const{time_limit:To,test_case_size:lo}=pi,Mo=Ho();Jo()}else Dr({type:5,payload:!1})}catch(Pi){console.log(Pi),Dr({type:5,payload:!1})}ao(!1)}})}function Zr(){return Yi(this,null,function*(){Ja.current=1,wr.debuging=!0,Dr({type:4,payload:!0});try{if((yield oo()).status===0){let Mo=function(){return Yi(this,null,function*(){const{status:Jo,message:ho,data:ms}=yield(0,se.rX)(Or,"debug"),rl=Ho()-lo>(Ui+3)*1e3;if(Jo!==0&&!rl&&(Dr({type:6,payload:ho}),setTimeout(Mo,1e3)),rl){pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Dr({type:4,payload:!1}),Dr({type:7,payload:Ba(Mi({},wr),{debugResult:{status:2},debuging:!1})});return}Jo===0&&(ms.status===2&&pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),Dr({type:4,payload:!1}),Dr({type:7,payload:Ba(Mi({},wr),{debugResult:ms,debuging:!1})}))})};const{time_limit:Ui}=pi;let Bo={input:encodeURIComponent(li.test_case.input)};if(Kn.get("type")==="exercises"&&(Bo.exercise_id=Kn.get("exercisesId")),(yield(0,se.MU)(Or,Bo)).status===-1&&Kn.get("exercisesId")){window.parent.location.href=`/classrooms/${Kn.get("coursesId")}/exercise/${Kn.get("exercisesId")}/detail`;return}const lo=Ho();Mo()}else Dr({type:4,payload:!1})}catch(Pi){console.log(Pi)}finally{}})}function el(Pi,Ui){const Bo=Ui?{modify_code:!1}:{};Dr({type:3,payload:Ba(Mi({},li),{hack:Mi(Ba(Mi({},pi),{code:Pi}),Bo)})}),ao(!0)}const so=Pi=>Yi(void 0,null,function*(){let Ui=yield(0,Ne.ZP)(`/api/problems/${pi==null?void 0:pi.identifier}/start.json`,{method:"get",params:{language:Pi==="C++"||Pi==="c++"?encodeURIComponent(Pi):Pi,hack_user_id:fo==null?void 0:fo.user_id}});Ui.status!==-1&&Xe.history.replace(`/myproblems/${Ui==null?void 0:Ui.identifier}${window.location.search}`)});function Cs(Pi){let Ui=Pi.target.value;Dr({type:3,payload:Ba(Mi({},li),{test_case:{input:Ui}})})}function Xo(){return Yi(this,null,function*(){try{let Pi={};Kn.get("type")==="exercises"?Pi.exercise_id=Kn.get("exercisesId"):pi!=null&&pi.homework_common_id&&(Pi.homework_common_id=pi==null?void 0:pi.homework_common_id);const Ui=yield(0,se.H7)(Or,Mi({},Pi));Ui.status===401||(el(ze.Base64.decode(Ui.code)),(Kn.get("type")==="exercises"||pi!=null&&pi.homework_common_id)&&Ie.Z.publish("to-reset-info"))}catch(Pi){console.log(Pi)}})}function tl(){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:sr.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",sr.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return Yi(this,null,function*(){const Pi=yield(0,se.fi)(Or);Pi.status===401||el(ze.Base64.decode(Pi.code),!0)})}})}function ka(){Dr({type:9,payload:!0})}function Qs(){Dr({type:9,payload:!1})}function Ps(Pi){return Yi(this,null,function*(){yield(0,se.MK)(Or,Pi),Dr({type:1,payload:{showNote:!1,data:Ba(Mi({},li),{hack:Ba(Mi({},pi),{notes:Pi.notes})})}})})}const nl={hack:pi,isLoading:Za,input:(Hn=li==null?void 0:li.test_case)==null?void 0:Hn.input,is_file:(Fr=li==null?void 0:li.test_case)==null?void 0:Fr.is_file,language:pi==null?void 0:pi.language,code:pi==null?void 0:pi.code,title:"main."+Ta[pi==null?void 0:pi.language],modify_code:pi==null?void 0:pi.modify_code,notes:pi==null?void 0:pi.notes,debugResult:Ki,debuging:zo,submitting:Zi,submitResult:ui,executingMessage:jo,onCancelNote:Qs,onAddNote:Ps,showNote:Ma,user:fo,onShowNote:ka,onSubmitCode:Oo,onChangeCode:el,onChangeInput:Cs,onDebugCode:Zr,onResetCode:Xo,onSyncCode:tl,onUpdateCode:oo,onChangeLanguage:so,isWhiteTheme:Ao,setIsWhiteTheme:Xa,topDispatch:Dr};function Ku(){return Yi(this,null,function*(){const{praise_count:Pi}=yield(0,se.vl)(pi.id,{container_type:"Hack",type:1});let Ui=Ba(Mi({},li),{hack:Ba(Mi({},pi),{praises_count:Pi,user_praise:!pi.user_praise})});Dr({type:3,payload:Ui})})}const vu={topicId:Or,submitResult:ui,submitRecords:Jr,submitting:Zi,page:Ea,onPageChange:za,hack:pi,user:li==null?void 0:li.user,hack_sets:li==null?void 0:li.hack_sets,current_user:li==null?void 0:li.current_user,onTriggerPraise:Ku,setActiveIndex:ci};console.log(Qi);const Vu=()=>Kn.get("type")==="exercises"?!1:!!(Kn.get("type")==="1"&&Object.values((pi==null?void 0:pi.homework_extension)||{}).some(Boolean));return sr.createElement(sr.Fragment,null,sr.createElement(Ae.Z,{spinning:ii,delay:500},li?sr.createElement(sr.Fragment,null,sr.createElement("header",{className:ca()(Wr.Z.header,Ao&&Wr.Z.whiteHeader)},Kn.get("type")!=="exercises"&&sr.createElement("div",null,sr.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${fo==null?void 0:fo.image_url}`,alt:"user",width:36}),sr.createElement("span",{style:{color:Ao?"#333":"#B2BACB",fontSize:16}},fo==null?void 0:fo.name)),Kn.get("type")==="exercises"&&sr.createElement("div",null,sr.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",sr.createElement("span",{className:"ml10"},(dr=Qi==null?void 0:Qi.exercise)==null?void 0:dr.user_name)),sr.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",sr.createElement("span",{className:"ml10"},(Ar=Qi==null?void 0:Qi.exercise)==null?void 0:Ar.student_id))),sr.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},sr.createElement("div",null,pi.name)),(pi==null?void 0:pi.is_program)&&sr.createElement(ji.Z,{defaultValue:pi==null?void 0:pi.answer_long_time,onChange:Pi=>{$s.current=Pi},className:Wr.Z.timepiece}),fo!=null&&fo.hack_manager?sr.createElement(Xe.Link,{className:Wr.Z.btn_edit,to:Kn.get("type")==="1"?Kn.get("pageId")?`/problems/newedit/${pi.identifier}?type=1&pageId=${Kn.get("pageId")}&backUrl=${Kn.get("backUrl")}`:`/problems/newedit/${pi.identifier}?type=1`:`/problems/newedit/${pi.identifier}`}," ",sr.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((pr=Qi==null?void 0:Qi.exercise)==null?void 0:pr.left_time)&&sr.createElement(sr.Fragment,null,sr.createElement("span",{style:{color:pa,marginRight:6},className:`iconfont icon-daojishi ${Wr.Z.djs}`}),sr.createElement("span",{className:"c-white mr20"},sr.createElement(ra,{valueStyle:{color:pa,fontSize:20,fontWeight:500},title:sr.createElement("span",{style:{color:pa,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:$i,onFinish:()=>Yi(void 0,null,function*(){const Pi=yield(0,ie.VL)({categoryId:Kn.get("exercisesId"),commit_method:2});if((Pi==null?void 0:Pi.status)===0&&(oo(),pe.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:sr.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",sr.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Yi(void 0,null,function*(){window.parent.location.href=`/classrooms/${Kn.get("coursesId")}/exercise/${Kn.get("exercisesId")}/detail`})})),(Pi==null?void 0:Pi.status)===-3){const Ui=parseInt(Pi==null?void 0:Pi.message);ta(Date.now()+Ui*1e3)}})}))),Kn.get("type")==="exercises"?sr.createElement(ue.ZP,{type:"primary",onClick:()=>{const Pi=()=>Yi(void 0,null,function*(){yield oo(),ao(!1),ki(),On.current=!0,sa()});if(!(Jr!=null&&Jr.records_count)||ea){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:sr.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:Pi});return}Pi()}},sr.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):sr.createElement("span",{onClick:()=>{var Pi;if(Kn.get("backUrl"))Xe.history.push(Kn.get("backUrl"));else if(Kn.get("type")==="1"){let Ui=(Pi=localStorage.getItem("program_homework"))==null?void 0:Pi.split(",");Xe.history.push(`/classrooms/${Ui==null?void 0:Ui[0]}/program_homework/${Ui==null?void 0:Ui[1]}/detail`)}else Xe.history.push("/problemset")}},sr.createElement(le.Z,{title:"\u5173\u95ED"},sr.createElement("i",{style:{color:Ao?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),sr.createElement(Ae.Z,{size:"large",spinning:Za},sr.createElement(re.Z,{className:ca()(Wr.Z.myProblems,Ao&&Wr.Z.whiteMyProblems),leftChild:sr.createElement(oa,Mi({},vu)),rightChild:sr.createElement(ml,Mi({},nl))}))):null,sr.createElement(pe.default,{centered:!0,closable:!1,width:680,footer:null,open:Es,className:"oj-modal"},sr.createElement("section",{className:"oj-modal-content"},sr.createElement("div",{className:"oj-modal-head"},sr.createElement("img",{src:no,alt:""}),sr.createElement("i",{onClick:()=>Js(!1),className:"iconfont icon-guanbi1"})),sr.createElement("aside",null,sr.createElement("img",{className:"mr30",src:vo.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",sr.createElement("span",{style:{color:"#75d6ba",marginRight:100}},ui==null?void 0:ui.execute_time,"ms"),"\u4F18\u4E8E",sr.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(ui==null?void 0:ui.time_better_than)||100,"%"),"\u7684\u7528\u6237"),sr.createElement("aside",{className:"mb50"},sr.createElement("img",{src:yi.Z,className:"mr30"}),sr.createElement("span",{className:"oj-modal-tt"},sr.createElement("span",null,sr.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),sr.createElement("span",{className:"c-light-primary"},ui==null?void 0:ui.execute_memory,"kb")),sr.createElement("span",null,sr.createElement("span",null))),"\u4F18\u4E8E",sr.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(ui==null?void 0:ui.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),sr.createElement("div",{id:"oj-modal-next",onClick:()=>Yi(void 0,null,function*(){var Pi;if(ui!=null&&ui.next_identifier){let Ui=yield(0,Ne.ZP)(`/api/problems/${ui==null?void 0:ui.next_identifier}/start.json`,{method:"get",params:{hack_user_id:fo==null?void 0:fo.user_id}});Ui&&(Xe.history.replace(`/myproblems/${Ui==null?void 0:Ui.identifier}${window.location.search}`),window.location.reload())}else{let Ui=(Pi=localStorage.getItem("program_homework"))==null?void 0:Pi.split(",");Xe.history.push(`/classrooms/${Ui==null?void 0:Ui[0]}/program_homework/${Ui==null?void 0:Ui[1]}/detail`)}}),className:"oj-modal-btn"},ui!=null&&ui.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"))),Vu()&&sr.createElement(Sa.Z,{showData:pi==null?void 0:pi.homework_extension,description:pi==null?void 0:pi.description,code:pi.code,sendParams:{source:"hack",hack_id:Or}})),sr.createElement(Pr.Z,{successCb:()=>{Ja.current===1?Zr():Oo()}}))};function Ko({title:pn,modify_code:Hn,onSyncCode:Fr,onShowCodeSetting:dr,onResetCode:Ar,hack:pr,onChangeLanguage:wr,isWhiteTheme:Dr}){var Or;const $r=()=>{pe.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:sr.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:Ar})},[Kn]=(0,Xe.useSearchParams)(),ii=Kn.get("language"),li=Ki=>Ki==="1"?"c++":Ki==="2"?"C++":Ki;return(0,ye.useEffect)(()=>{ii&&wr(li(ii))},[]),(0,ye.useEffect)(()=>{pr!=null&&pr.tpm_code_modified&&pe.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:sr.createElement(z.Z,null),content:sr.createElement("div",null,sr.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),sr.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),sr.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:()=>Ar()})},[pr==null?void 0:pr.language]),console.log(pr,Dr,"hack"),sr.createElement("div",{className:`${Wr.Z.codeHead} ${Dr?Wr.Z.whiteCodeHead:""}`},sr.createElement("div",{className:Wr.Z.navWrap},(Or=pr==null?void 0:pr.all_language)==null?void 0:Or.map(Ki=>sr.createElement("div",{className:`${Wr.Z.nav} ${Ki===(pr==null?void 0:pr.language)?Wr.Z.active:""}`,key:Ki,onClick:()=>wr(Ki)},sr.createElement(le.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},sr.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),sr.createElement("span",null,Ki)))),sr.createElement(ae.Z,{align:"middle",style:{marginLeft:"auto"}},Hn?sr.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Fr},sr.createElement("img",{src:Oe,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,sr.createElement("a",{onClick:$r},sr.createElement(le.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},sr.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),sr.createElement("a",{onClick:dr},sr.createElement(le.Z,{title:"\u8BBE\u7F6E"},sr.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function ml(pn){var Hn=pn,{input:Fr,is_file:dr,showNote:Ar,onShowNote:pr,notes:wr,onCancelNote:Dr,onAddNote:Or,debugResult:$r,language:Kn,debuging:ii,submitting:li,executingMessage:Ki,code:ui,onSubmitCode:Jr,onDebugCode:Ea,onChangeCode:Ma,onChangeInput:zo,onUpdateCode:Zi,user:jo,isLoading:pa,submitResult:Wi}=Hn,$i=Ia(Hn,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function ta(co){return sr.createElement(Ko,Ba(Mi({},$i),{onShowCodeSetting:co}))}const Qi=Mi({input:Fr,is_file:dr,debugResult:$r,debuging:ii,submitting:li,executingMessage:Ki,onDebugCode:Ea,onChangeCode:Ma,onSubmitCode:Jr,onChangeInput:zo,user:jo,submitResult:Wi},$i);return sr.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},sr.createElement(xe,{setIsWhiteTheme:$i==null?void 0:$i.setIsWhiteTheme,isLoading:pa,language:Kn,value:ui,onChange:Ma,onUpdateCode:Zi,ActionBarRender:ta}),sr.createElement(Ze.ZP,Mi({},Qi)))}},74440:function(en,zt,be){"use strict";be.d(zt,{h:function(){return ye}});var ye=(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))(ye||{})},88264:function(en,zt,be){"use strict";be.d(zt,{H7:function(){return a},MK:function(){return z},MU:function(){return ie},X6:function(){return re},bM:function(){return se},fi:function(){return y},fu:function(){return ae},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return oe}});var ye=be(99064),Xe=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=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={}))pe.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 ae(te,ee){return(0,ye.U2)(`myproblems/${te}.json`,le({hidePopLogin:!0},ee||{}))}function se(te,ee){return(0,ye.v_)(`myproblems/${te}/code_submit.json`,ee)}function ie(te,ee){return(0,ye.v_)(`myproblems/${te}/code_debug.json`,ee)}function oe(te,ee){return ee.language&&(ee.language=encodeURIComponent(ee.language)),(0,ye.U2)(`myproblems/${te}/submit_records.json`,ee)}function re(te){return(0,ye.U2)("myproblems/record_detail.json",{id:te})}function ne(te,ee){return(0,ye.U2)(`myproblems/${te}/result.json`,{mode:ee})}function z(te,ee){return(0,ye.v_)(`myproblems/${te}/add_notes.json`,ee)}function a(te,ee){return(0,ye.v_)(`myproblems/${te}/restore_initial_code.json`,ee)}function y(te){return(0,ye.v_)(`myproblems/${te}/sync_code.json`)}function x(te,ee){return(0,ye.v_)(`myproblems/${te}/update_code.json`,ee)}function b(te,ee){return(0,ye.v_)(`discusses/${te}/plus.json`,ee)}},25555:function(en,zt,be){"use strict";be.d(zt,{Im:function(){return me},ZP:function(){return xe},gZ:function(){return we}});var ye=be(59301),Xe=be(92832),E=be(3113),pe=be(84105),Ae=be(87395),ue=be(35106),le=be(24334),ae=be(33538),se=be(85149),ie=be(955),oe=be(13787),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,de=(Oe,ze,Ze)=>ze in Oe?y(Oe,ze,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):Oe[ze]=Ze,he=(Oe,ze)=>{for(var Ze in ze||(ze={}))ee.call(ze,Ze)&&de(Oe,Ze,ze[Ze]);if(te)for(var Ze of te(ze))ce.call(ze,Ze)&&de(Oe,Ze,ze[Ze]);return Oe},fe=(Oe,ze)=>x(Oe,b(ze));const{TextArea:ge}=Xe.default,ve={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 Be=(Oe=>(Oe[Oe.SET_VISIBLE=0]="SET_VISIBLE",Oe[Oe.SET_TABINDEX=1]="SET_TABINDEX",Oe))(Be||{});function Se(Oe,ze){switch(ze.type){case 0:return fe(he({},Oe),{visible:ze.payload});case 1:return fe(he({},Oe),{tabIndex:ze.payload});default:throw new Error}}function Te({value:Oe,className:ze}){const[Ze,Me]=(0,ye.useState)(!1),tt=(0,ye.useRef)(),qe=(0,ye.useRef)();return(0,ye.useEffect)(()=>{Ze&&(qe.current.reset(),qe.current.write((0,ie.pp)(Oe||"")))},[Oe,Ze]),(0,ye.useEffect)(()=>{var lt,ct,nt,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=(nt=(ct=(lt=qe.current)==null?void 0:lt._core)==null?void 0:ct._renderService)==null?void 0:nt.dimensions)==null?void 0:at.actualCellWidth)||9.5,wt=Math.ceil(ut/At);qe.current.resize(wt,8),Me(!0)}},[]),a.createElement("div",{ref:tt,className:z()("XtermText-valueRef",ze)})}function we(Oe){const{status:ze,error_msg:Ze,output:Me,input:tt,expected_output:qe,is_file:lt,input_file_url:ct,output_file_url:nt,expected_output_file_url:at}=Oe;let ut=null;const At={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(ze){case ue.h.NOMATCH:ut=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!lt&&a.createElement(Te,{className:"mb10",value:tt}),lt&&a.createElement("div",{style:At},a.createElement("a",{onClick:()=>(0,ie.LR)(ct,tt)},tt)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!lt&&a.createElement(Te,{className:"mb10",value:Me&&le.Base64.decode(Me)||""}),lt&&a.createElement("div",{style:At},a.createElement("a",{onClick:()=>(0,ie.LR)(nt,Me)},Me)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!lt&&a.createElement(Te,{className:"mb10",value:qe&&le.Base64.decode(qe)||""}),lt&&a.createElement("div",{style:At},a.createElement("a",{onClick:()=>(0,ie.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"),!lt&&a.createElement(se.Z,{value:tt,style:At}),lt&&a.createElement("div",{style:At},a.createElement("a",{onClick:()=>(0,ie.LR)(ct,tt)},tt)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},le.Base64.decode(Ze)));break;case ue.h.COMPILEFAILURE:ut=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!lt&&a.createElement(se.Z,{value:tt,style:At}),lt&&a.createElement("div",{style:At},a.createElement("a",{onClick:()=>(0,ie.LR)(ct,tt)},tt)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},le.Base64.decode(Ze)));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 je(Oe){const{status:ze,error_msg:Ze,execute_time:Me,output:tt,input:qe,expected_output:lt,is_file:ct,input_file_url:nt,output_file_url:at,expected_output_file_url:ut}=Oe;let At=null;switch(ze){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",lt&&le.Base64.decode(lt)));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(Ze)));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(Ze)));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:Oe,is_file:ze,input:Ze,debuging:Me,submitting:tt,executingMessage:qe,debugResult:lt,onChangeInput:ct,onDebugCode:nt,onSubmitCode:at})=>{const[ut,At]=(0,ye.useReducer)(Se,ve),{visible:wt,tabIndex:It}=ut;(0,ye.useEffect)(()=>{At({type:0,payload:!1})},[Oe]);function gt(ke){let Ve=ke.target.id;At({type:1,payload:Ve})}function ft(){At({type:0,payload:!wt})}const $e=(0,ye.useMemo)(()=>{if(lt){const{status:ke}=lt;return a.createElement(a.Fragment,null,je(lt))}return null},[lt]);function Pe(){At({type:0,payload:!0}),At({type:1,payload:"1"}),nt()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${wt?"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(ge,{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:ze?"":Ze,onChange:ct}),rightNode:Me?a.createElement(ae.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):lt?$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 ${wt?"up":""}`,onClick:ft},wt?a.createElement(pe.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"))))}},35106:function(en,zt,be){"use strict";be.d(zt,{h:function(){return ye}});var ye=(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))(ye||{})},72161:function(en,zt,be){"use strict";be.d(zt,{Y2:function(){return Oe},ZP:function(){return ze}});var ye=be(59301),Xe=be(54580),E=be(8591),pe=be(43418),Ae=be(95237),ue=be(5112),le=be(3113),ae=be(24905),se=be(6848),ie=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+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJRtcKUIFtlBOA7KnQQOypRDS42D5yeN8iIdhePlAdiLVISaNzUn01No6rGKsGALHGeWllegCmxCm2lzdGADEluak5DACmzB1AdmEIEFOWn9rCAWDaHDnGA8jOxgAxpTmqIayXt/0vbt9rcOJODIBsFgaIKc7RlqFRgbVUXzA3IANignTppikAM2Z15yCjEjOWr7XDBWC1Fa40fscgA2KVcsrisADMomuLmDsFGRAznrelwj++Rmc6yOdjWYEOL8QCMcsJWyh2AFZISCXD7P976ernuqvFKskxVWEAMFV2lAmms20lECuTNmZH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MkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ne=be(47257),z=be.n(ne),a=be(81939),y=be(99064),x=be(1012),b=be(955),te=be(23210),ee=be(59301),ce=Object.defineProperty,de=Object.defineProperties,he=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,ge=Object.prototype.hasOwnProperty,ve=Object.prototype.propertyIsEnumerable,me=(Ze,Me,tt)=>Me in Ze?ce(Ze,Me,{enumerable:!0,configurable:!0,writable:!0,value:tt}):Ze[Me]=tt,Be=(Ze,Me)=>{for(var tt in Me||(Me={}))ge.call(Me,tt)&&me(Ze,tt,Me[tt]);if(fe)for(var tt of fe(Me))ve.call(Me,tt)&&me(Ze,tt,Me[tt]);return Ze},Se=(Ze,Me)=>de(Ze,he(Me)),Te=(Ze,Me,tt)=>new Promise((qe,lt)=>{var ct=ut=>{try{at(tt.next(ut))}catch(At){lt(At)}},nt=ut=>{try{at(tt.throw(ut))}catch(At){lt(At)}},at=ut=>ut.done?qe(ut.value):Promise.resolve(ut.value).then(ct,nt);at((tt=tt.apply(Ze,Me)).next())});const{Dragger:we}=Xe.default,je=Ze=>{const Me=At=>At&&At.substring(0,At.lastIndexOf("."));for(var tt=[...Ze],qe=0,lt=[],ct=0;ct{if(At.forEach(wt=>{let It=wt.name.split(/\.(?=[^\.]+$)/);wt.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:Ze,onOK:Me,visible:tt,wrapClassName:qe,rootIdentifier:lt,multiple:ct=!1,defaultMultipleValue:nt=!0})=>{const[at,ut]=(0,ye.useState)([]),[At,wt]=(0,ye.useState)({}),[It,gt]=(0,ye.useState)(!1),[ft,$e]=(0,ye.useState)(!0),Pe=(0,ye.useRef)([]),ke=(0,ye.useRef)(0),Ve=()=>{Ze()};(0,ye.useEffect)(()=>{Qe()},[]),(0,ye.useEffect)(()=>{tt&&(Pe.current=[],ke.current=0,ut([]),$e(nt))},[tt]);const Qe=()=>Te(void 0,null,function*(){try{const St=yield(0,y.ZP)("/api/buckets/get_upload_token_for_big_files",{method:"get"}),bt=JSON.parse((0,a.pe)(St.data));wt(bt)}catch(St){}}),De=St=>St&&St.substring(0,St.lastIndexOf(".")),Ye=St=>{var bt,Bt;const Mt=De((bt=St[0])==null?void 0:bt.name)||De((Bt=St[1])==null?void 0:Bt.name),pt=at.filter(Lt=>De(Lt.name)!==Mt);Pe.current=[...pt],ut([...pt])},Ue=St=>{if(!ft){const xt=new FormData;xt.append("file",St.file),(0,y.ZP)("/api/attachments/get_file_content.json",{method:"post",body:xt},!0).then(Ut=>{if(Ut.status===0){ke.current=ke.current+1;const Xt=Pe.current.map(on=>{var dn;if(on.name===St.name){const bn=Be({},on);return(dn=St==null?void 0:St.name)!=null&&dn.includes(".in")?bn.input=Ut==null?void 0:Ut.content:bn.output=Ut==null?void 0:Ut.content,bn}return on});if(Pe.current=[...Xt],ut([...Xt]),ke.current>0&&ke.current===at.length){gt(!1);let on=je(Xt);on=on.filter(dn=>{var bn,Mn;return!!((bn=dn[0])!=null&&bn.name&&((Mn=dn[1])!=null&&Mn.name))}),on=on.map(dn=>Se(Be(Be({},dn[0]),dn[1]),{is_file:!1})),Me(on),Ze()}}else gt(!1),Ze()});return}const bt=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,Mt={container_type:"TestSet",file_name:Bt},pt=(0,x.Z)();let Lt=`testsets/${lt}/${pt}${Bt.indexOf(".")>-1?"."+Bt.split(".").pop():""}`;lt===null&&(Lt=`testsets/${pt}${Bt.indexOf(".")>-1?"."+Bt.split(".").pop():""}`),bt.multipartUpload(Lt,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)(Mt)}}).then(function(xt){if(xt.data.status===0){ke.current=ke.current+1;const Wt=Pe.current.map(Ut=>{var Xt,on,dn,bn,Mn,er,Fn,Dn,An,En,kn,br,vr,xr,ur,cr,Qr;if(Ut.name===((on=(Xt=xt.data)==null?void 0:Xt.data)==null?void 0:on.file_name)){const Ur=Be({},Ut);return(Mn=(bn=(dn=xt.data)==null?void 0:dn.data)==null?void 0:bn.file_name)!=null&&Mn.includes(".in")?(Ur.in_object_key=(Fn=(er=xt.data)==null?void 0:er.data)==null?void 0:Fn.object,Ur.in_object_size=(An=(Dn=xt.data)==null?void 0:Dn.data)==null?void 0:An.size,Ur.input=(kn=(En=xt.data)==null?void 0:En.data)==null?void 0:kn.file_name,Ur.in_file=St):(Ur.out_object_key=(vr=(br=xt.data)==null?void 0:br.data)==null?void 0:vr.object,Ur.out_object_size=(ur=(xr=xt.data)==null?void 0:xr.data)==null?void 0:ur.size,Ur.output=(Qr=(cr=xt.data)==null?void 0:cr.data)==null?void 0:Qr.file_name,Ur.out_file=St),Ur}return Ut});if(Pe.current=[...Wt],ut([...Wt]),ke.current>0&&ke.current===at.length){gt(!1);let Ut=je(Wt);Ut=Ut.filter(Xt=>{var on,dn;return!!((on=Xt[0])!=null&&on.name&&((dn=Xt[1])!=null&&dn.name))}),Ut=Ut.map(Xt=>Se(Be(Be({},Xt[0]),Xt[1]),{is_file:!0})),Me(Ut),Ze()}}})},Ie=St=>new Promise((bt,Bt)=>{let Mt=0,pt=[];for(let Lt=0;Lt{Mt++,Mt===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()):bt(St))}).catch(xt=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",xt),Mt++,pt.push(St[Lt].name),Mt===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()):bt(St))})}),Ne=()=>Te(void 0,null,function*(){if(at.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield Ie(at),gt(!0),je(at).some(bt=>{var Bt,Mt;return!((Bt=bt[0])!=null&&Bt.name&&((Mt=bt[1])!=null&&Mt.name))})){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Te(void 0,null,function*(){at.map(bt=>Te(void 0,null,function*(){Ue(bt)}))}),onCancel:()=>{gt(!1)}});return}at.map(bt=>Te(void 0,null,function*(){Ue(bt)}))}),rt={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 bt={name:St.name,uid:St.uid,file:St,percent:0};return at.push(bt),Pe.current=[...at],ut([...at]),!1}},ht=je(at);return console.log(at,ht,"fileList"),ee.createElement(pe.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:ft,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,Be({},rt),ee.createElement(le.ZP,{type:"primary",className:oe.btnS},ee.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),ee.createElement(Oe,{data:ht,onRemove:Ye})):ee.createElement("div",{className:`${oe.noData} mb30`},ee.createElement(Xe.default.Dragger,Se(Be({},rt),{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))))},Oe=({data:Ze=[],onRemove:Me,width:tt="auto",showScore:qe=!1,disabled:lt=!1,inputChange:ct,onEvaluatingChange:nt,onSelectAll:at,checkAll1:ut,checkAll2:At,checkAll3:wt,checkAll4:It,checkAll5:gt,showEvaluatingSetting:ft=!1,className:$e="",isProgramHomework:Pe=!1})=>{const ke={value:"",filename:"",dataUrl:""},[Ve,Qe]=(0,ye.useState)(Be({},ke)),De=Ie=>{let Ne=document.createElement("a");document.body.appendChild(Ne);let rt=URL.createObjectURL(Ie.file);Ne.href=rt,Ne.download=Ie.name,Ne.click(),URL.revokeObjectURL(rt),document.body.removeChild(Ne)},Ye=(Ie,Ne)=>{(0,b.LR)(Ie,Ne)},Ue=(Ie,Ne)=>{pe.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(Ie,Ne)},onCancel:()=>{}})};return Ze.length?ee.createElement("div",{className:$e,style:{width:tt}},ee.createElement("div",{className:`${Pe?oe.headProgram:oe.head}`},ft&&ee.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},ee.createElement(ae.default,{checked:ut,onChange:Ie=>{at(Ie.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"),ft&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ae.default,{checked:It,onChange:Ie=>{at(Ie.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"}))),ft&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ae.default,{checked:At,onChange:Ie=>{at(Ie.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"}))),ft&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ae.default,{checked:gt,onChange:Ie=>{at(Ie.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"}))),ft&&ee.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},ee.createElement(ae.default,{checked:wt,onChange:Ie=>{at(Ie.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"}},Ze.map((Ie,Ne)=>{var rt,ht,St,bt;return ee.createElement("div",{key:Ne,className:oe.list,style:Pe?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},ft&&ee.createElement("div",{style:{width:"15%"}},ee.createElement(ae.default,{checked:!!Ie.hidden,onChange:Bt=>{nt(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:Ie.input||((rt=Ie[0])==null?void 0:rt.name),onClick:()=>Te(void 0,null,function*(){let Bt;Ie.input?Ie.input_file_url?Bt=Ie.input_file_url:Bt=Ie.in_file:Bt=Ie[0];let Mt;typeof Bt=="string"?(Mt=yield fetch(Bt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Qe({value:yield Mt.text(),filename:"",dataUrl:Bt})):(Mt=yield(0,b.db)(Bt.file),Qe({value:Mt.text,filename:Bt.name,dataUrl:Mt.link}))})},Ie.input||((ht=Ie[0])==null?void 0:ht.name))),ee.createElement("div",{className:oe.info,style:{width:qe?Pe?"20%":"15%":"25%"}},ee.createElement("span",{title:Ie.output||((St=Ie[1])==null?void 0:St.name),onClick:()=>Te(void 0,null,function*(){let Bt;Ie.input?Ie.output_file_url?Bt=Ie.output_file_url:Bt=Ie.out_file:Bt=Ie[1];let Mt;typeof Bt=="string"?(Mt=yield fetch(Bt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),Qe({value:yield Mt.text(),filename:"",dataUrl:Bt})):(Mt=yield(0,b.db)(Bt.file),Qe({value:Mt.text,filename:Bt.name,dataUrl:Mt.link}))})},Ie.output||((bt=Ie[1])==null?void 0:bt.name))),qe&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ie.default,{size:"large",addonAfter:Pe?"%":null,disabled:lt,style:{width:"80%"},onChange:Bt=>ct(Bt,Ne),value:Ie.score}),!Pe&&ee.createElement("span",null,"\xA0%")),ft&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ae.default,{checked:Ie.input_visible||!1,onChange:Bt=>{nt(Bt.target.checked,Ne,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ft&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ae.default,{checked:Ie.is_invisible||!1,onChange:Bt=>{nt(Bt.target.checked,Ne,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ft&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ae.default,{checked:Ie.actual_output_visible||!1,onChange:Bt=>{nt(Bt.target.checked,Ne,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),ft&&ee.createElement("div",{style:{width:"20%"}},ee.createElement(ae.default,{checked:Ie.last_match_rule||!1,onChange:Bt=>{nt(Bt.target.checked,Ne,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),ee.createElement("div",{onClick:()=>Ue(Ie,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(Be({},ke)),monacoEditor:{value:Ve.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):ee.createElement(ee.Fragment,null)};var ze=xe},34362:function(en,zt,be){"use strict";be.d(zt,{Z:function(){return ne}});var ye=be(59301),Xe=be(8591),E=be(6848),pe=be(71418),Ae=be(95237),ue=be(43604),le=be(58421),ae=be(3113),se=be(12290),ie=be(99064),oe=be(85149),re=(a,y,x)=>new Promise((b,te)=>{var ee=he=>{try{de(x.next(he))}catch(fe){te(fe)}},ce=he=>{try{de(x.throw(he))}catch(fe){te(fe)}},de=he=>he.done?b(he.value):Promise.resolve(he.value).then(ee,ce);de((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[te,ee]=(0,ye.useState)(""),[ce,de]=(0,ye.useState)(!1);function he(ge){ee(ge)}function fe(){if(!te){Xe.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,te),ee("")}return(0,ye.useEffect)(()=>{y!=a&&de(!1)},[y]),ye.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},ye.createElement(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&&ye.createElement(E.Z,{color:"#fff",open:ce,destroyTooltipOnHide:!0,title:z({id:a,isOpen:ce,activeDiscussIndex:y,onChange:he,setIsOpen:de}),overlayStyle:{maxWidth:600}},ye.createElement("a",{title:ce?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>de(!ce)},ye.createElement("i",{className:"iconfont icon-dianzan11"})))}),ye.createElement("a",{onClick:fe,className:"btn-send"},"\u53D1\u9001"))};const z=a=>{const[y,x]=(0,ye.useState)(!1),[b,te]=(0,ye.useState)([]),[ee,ce]=(0,ye.useState)(1);(0,ye.useEffect)(()=>{a!=null&&a.isOpen?de():(ce(1),te([]))},[a==null?void 0:a.isOpen]);const de=()=>re(void 0,null,function*(){x(!0);const he=yield(0,ie.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 ye.createElement(pe.Z,{spinning:y},ye.createElement("div",{style:{color:"#000"}},ye.createElement(oe.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[ee-1])||""}),ye.createElement(Ae.Z,{justify:"end",align:"middle"},ye.createElement(ue.Z,null,ye.createElement(le.Z,{simple:!0,current:ee,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:he=>{ce(he)}})),ye.createElement(ue.Z,null,ye.createElement(ae.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")))))}},37518:function(en,zt,be){"use strict";be.d(zt,{CP:function(){return E},_V:function(){return ue}});var ye=be(28209),Xe=be.n(ye);const E={secret:ye.enc.Utf8.parse("0a18e199b87f1a8d"),iv:ye.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},pe={exam:E};function Ae(le="",ae="exam"){const{secret:se,iv:ie}=pe[ae];return AES.encrypt(le,se,{iv:ie,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function ue(le="",ae="exam"){const{secret:se,iv:ie}=pe[ae];return ye.AES.decrypt(le,se,{iv:ie,mode:Xe().mode.CBC,padding:Xe().pad.Pkcs7}).toString(ye.enc.Utf8)}},78297:function(en,zt,be){"use strict";be.d(zt,{AD:function(){return je},D9:function(){return tt},Hp:function(){return he},IM:function(){return lt},Iy:function(){return ge},KM:function(){return $e},MJ:function(){return fe},Ne:function(){return qe},ON:function(){return At},Uj:function(){return gt},VY:function(){return at},YO:function(){return It},YX:function(){return wt},Zn:function(){return a},_g:function(){return ee},_k:function(){return Ze},c6:function(){return Te},cr:function(){return y},eV:function(){return we},fi:function(){return x},gh:function(){return Be},hS:function(){return ct},iA:function(){return b},j6:function(){return ce},je:function(){return ze},jj:function(){return de},kS:function(){return ut},o6:function(){return Se},pO:function(){return ft},rQ:function(){return xe},sA:function(){return me},xm:function(){return Me},xo:function(){return nt},y8:function(){return Oe},yd:function(){return te}});var ye=be(92365),Xe=be(89070),E=be(955),pe=be(8591),Ae=be(3294),ue=Object.defineProperty,le=Object.getOwnPropertySymbols,ae=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,ie=(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={}))ae.call(ke,Ve)&&ie(Pe,Ve,ke[Ve]);if(le)for(var Ve of le(ke))se.call(ke,Ve)&&ie(Pe,Ve,ke[Ve]);return Pe},re=(Pe,ke,Ve)=>new Promise((Qe,De)=>{var Ye=Ne=>{try{Ie(Ve.next(Ne))}catch(rt){De(rt)}},Ue=Ne=>{try{Ie(Ve.throw(Ne))}catch(rt){De(rt)}},Ie=Ne=>Ne.done?Qe(Ne.value):Promise.resolve(Ne.value).then(Ye,Ue);Ie((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,ye.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,ye.yS)(oe({},Pe));if(ke.status===0)pe.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,ye.W0)(oe({},Pe));if(ke.status===0)pe.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,ye.Nl)(oe({},Pe));if(ke.status===0)pe.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,ye.IU)(oe({},Pe));if(ke.status===0)pe.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,ye.td)(oe({},Pe));if(ke.status===0)pe.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,ye.QX)(oe({},Pe));if(ke.status===0)pe.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`))}}),de=(Pe,ke)=>re(void 0,null,function*(){const Ve=yield(0,ye.o_)(oe({},Pe));Ve.status===0?(pe.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,ye.ZL)(oe({},Pe));Ve.status===0?(pe.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}`))}),fe=(Pe,ke)=>re(void 0,null,function*(){const Ve=yield(0,ye.vV)(oe({},Pe));Ve.status===0?(pe.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}`))}),ge=(Pe,ke)=>re(void 0,null,function*(){const Ve=yield(0,ye.aP)(oe({},Pe));Ve.status===0?(pe.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}`))}),ve=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()}),Be=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}))}),Se=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}))}),Te=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}))}),je=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}))}),Oe=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}))}),ze=Pe=>re(void 0,null,function*(){const ke=yield(0,ye.Uy)(oe({},Pe));ke.status===0?(pe.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`))}),Ze=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}))}),lt=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}))}),nt=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}))}),wt=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}))}),gt=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}))}),ft=(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}))})},4901:function(en,zt,be){"use strict";be.d(zt,{BU:function(){return Xe},Dj:function(){return ye},gH:function(){return E},vp:function(){return pe}});function ye(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 pe(){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}},83312:function(en,zt,be){"use strict";be.d(zt,{U:function(){return se}});var ye=be(59301),Xe=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ue=(ie,oe,re)=>oe in ie?Xe(ie,oe,{enumerable:!0,configurable:!0,writable:!0,value:re}):ie[oe]=re,le=(ie,oe)=>{for(var re in oe||(oe={}))pe.call(oe,re)&&ue(ie,re,oe[re]);if(E)for(var re of E(oe))Ae.call(oe,re)&&ue(ie,re,oe[re]);return ie},ae=(ie,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(ie,oe)).next())});function se(ie,oe){const[re,ne]=(0,ye.useState)(oe),[z,a]=(0,ye.useState)(!1),[y,x]=(0,ye.useState)();return[re,z,(te,ee=!1)=>ae(this,null,function*(){const ce=ee?oe:le(le({},re),te);a(!0),ne(ce);const de=yield ie(ce);return a(!1),x(de),de}),y,x]}},85219:function(en,zt,be){"use strict";be.d(zt,{_:function(){return E}});var ye=be(59301),Xe=be(43418);const E=pe=>{var Ae,ue;const le=(0,ye.useRef)([]),ae=()=>{for(const se of le.current)clearTimeout(se);le.current=[]};return(0,ye.useEffect)(()=>{var se,ie,oe,re,ne,z;if(ae(),(se=pe==null?void 0:pe.exercise)!=null&&se.left_time&&((oe=(ie=pe==null?void 0:pe.exercise)==null?void 0:ie.exercise_events)==null?void 0:oe.length)>0){for(const a of(re=pe==null?void 0:pe.exercise)==null?void 0:re.exercise_events)if(((ne=pe==null?void 0:pe.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((z=pe==null?void 0:pe.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=pe==null?void 0:pe.exercise)==null?void 0:Ae.left_time,(ue=pe==null?void 0:pe.exercise)==null?void 0:ue.exercise_events]),ae}},24768:function(en,zt,be){"use strict";be.d(zt,{AL:function(){return ce},Iy:function(){return oe},Qv:function(){return z},ez:function(){return ee},jb:function(){return re}});var ye=be(32834),Xe=be.n(ye),E=be(11690),pe=be.n(E);let Ae=1;function ue(ve,me){const Be=ve.match(/^(\s+)(?:```)/);if(Be===null)return me;const Se=Be[1];return me.split(` `).map(Te=>{const we=Te.match(/^\s+/);if(we===null)return Te;const[je]=we;return je.length>=Se.length?Te.slice(Se.length):Te}).join(` `)}let le=[],ae=["