From e6f145928c569d8c8cf73902b56ea4ca06c09064 Mon Sep 17 00:00:00 2001 From: autosubmit Date: Tue, 18 Feb 2025 18:07:44 +0800 Subject: [PATCH] Auto Submit --- ...c1ac5e5.async.js => 9410.55112b1c.async.js | 52 +- layouts__SimpleLayouts.1bc5af34.chunk.css | 1 - layouts__SimpleLayouts.39dd2c52.chunk.css | 1 + ...> layouts__SimpleLayouts.711e0d6b.async.js | 102 +- ...Homework__Review__index.46872a6c.chunk.css | 2 +- ...nHomework__Review__index.6022a73f.async.js | 56 +- ...Exercise__Answer__index.463cdbd6.chunk.css | 2 +- ..._Exercise__Answer__index.5e5ccf52.async.js | 134 +-- ...e__ImitateAnswer__index.0823b7d3.chunk.css | 2 +- ..._Exercise__Review__index.9991a19d.async.js | 210 ++-- ...Exercise__Review__index.bbc12584.chunk.css | 2 +- ...omework__Comment__index.3e411b87.chunk.css | 2 +- ...Homework__Comment__index.b0928389.async.js | 190 ++-- ...lem__RecordDetail__index.84ddbabd.async.js | 100 +- ...em__RecordDetail__index.ec3a1307.chunk.css | 2 +- ...s => p__MyProblem__index.2230f636.async.js | 122 +-- ... => p__MyProblem__index.361255c5.chunk.css | 2 +- ...geFromProblemSet__index.49d184e5.chunk.css | 2 +- p__Problemset__index.0a95752d.chunk.css | 1 + p__Problemset__index.e81e3685.chunk.css | 1 - ...ges__EditQuestion__index.6c6d6ea3.async.js | 976 ++++++++++++++++++ ...es__EditQuestion__index.7f92bbc9.chunk.css | 2 +- ...ges__EditQuestion__index.c00e3a93.async.js | 976 ------------------ ...nges__NewPractice__index.6008d6ad.async.js | 50 +- ...ges__NewPractice__index.7992d98c.chunk.css | 2 +- ...nc.js => p__tasks__index.1a80f02d.async.js | 218 ++-- ....css => p__tasks__index.d7a556d6.chunk.css | 2 +- umi.9daa0635.js => umi.d658b001.js | 2 +- 28 files changed, 1607 insertions(+), 1607 deletions(-) rename 9410.5c1ac5e5.async.js => 9410.55112b1c.async.js (85%) delete mode 100644 layouts__SimpleLayouts.1bc5af34.chunk.css create mode 100644 layouts__SimpleLayouts.39dd2c52.chunk.css rename layouts__SimpleLayouts.c0d466f7.async.js => layouts__SimpleLayouts.711e0d6b.async.js (66%) rename p__Classrooms__Lists__CommonHomework__Review__index.1ff3709b.chunk.css => p__Classrooms__Lists__CommonHomework__Review__index.46872a6c.chunk.css (95%) rename p__Classrooms__Lists__CommonHomework__Review__index.f740fe01.async.js => p__Classrooms__Lists__CommonHomework__Review__index.6022a73f.async.js (54%) rename p__Classrooms__Lists__Exercise__Answer__index.7abc7901.chunk.css => p__Classrooms__Lists__Exercise__Answer__index.463cdbd6.chunk.css (93%) rename p__Classrooms__Lists__Exercise__Answer__index.3b1f59cc.async.js => p__Classrooms__Lists__Exercise__Answer__index.5e5ccf52.async.js (65%) rename p__Classrooms__Lists__Exercise__ImitateAnswer__index.13199ddf.chunk.css => p__Classrooms__Lists__Exercise__ImitateAnswer__index.0823b7d3.chunk.css (85%) rename p__Classrooms__Lists__Exercise__Review__index.fe7d6d70.async.js => p__Classrooms__Lists__Exercise__Review__index.9991a19d.async.js (64%) rename p__Classrooms__Lists__Exercise__Review__index.5983ab0d.chunk.css => p__Classrooms__Lists__Exercise__Review__index.bbc12584.chunk.css (62%) rename p__Classrooms__Lists__ProgramHomework__Comment__index.fb3ce784.chunk.css => p__Classrooms__Lists__ProgramHomework__Comment__index.3e411b87.chunk.css (70%) rename p__Classrooms__Lists__ProgramHomework__Comment__index.de1b0383.async.js => p__Classrooms__Lists__ProgramHomework__Comment__index.b0928389.async.js (80%) rename p__MyProblem__RecordDetail__index.e1d0adbd.async.js => p__MyProblem__RecordDetail__index.84ddbabd.async.js (79%) rename p__MyProblem__RecordDetail__index.67cc2785.chunk.css => p__MyProblem__RecordDetail__index.ec3a1307.chunk.css (92%) rename p__MyProblem__index.1007fa0a.async.js => p__MyProblem__index.2230f636.async.js (69%) rename p__MyProblem__index.23233c97.chunk.css => p__MyProblem__index.361255c5.chunk.css (92%) rename p__Paperlibrary__Random__ExchangeFromProblemSet__index.6378ee9f.chunk.css => p__Paperlibrary__Random__ExchangeFromProblemSet__index.49d184e5.chunk.css (55%) create mode 100644 p__Problemset__index.0a95752d.chunk.css delete mode 100644 p__Problemset__index.e81e3685.chunk.css create mode 100644 p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.6c6d6ea3.async.js rename p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.7066c46e.chunk.css => p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.7f92bbc9.chunk.css (75%) delete mode 100644 p__Shixuns__Edit__body__Level__Challenges__EditQuestion__index.c00e3a93.async.js rename p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.80cb42d3.async.js => p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.6008d6ad.async.js (67%) rename p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.caf2d96a.chunk.css => p__Shixuns__Edit__body__Level__Challenges__NewPractice__index.7992d98c.chunk.css (89%) rename p__tasks__index.4f466153.async.js => p__tasks__index.1a80f02d.async.js (71%) rename p__tasks__index.702b989d.chunk.css => p__tasks__index.d7a556d6.chunk.css (78%) rename umi.9daa0635.js => umi.d658b001.js (99%) diff --git a/9410.5c1ac5e5.async.js b/9410.55112b1c.async.js similarity index 85% rename from 9410.5c1ac5e5.async.js rename to 9410.55112b1c.async.js index c4094803fc..939c093bc5 100644 --- a/9410.5c1ac5e5.async.js +++ b/9410.55112b1c.async.js @@ -1,8 +1,8 @@ -(self.webpackChunk=self.webpackChunk||[]).push([[9410],{87169:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ie}});var ye=Se(92413),je=Se(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},pe=E,he=Se(7657),ce=function(se,ae){return je.createElement(he.Z,(0,ye.Z)({},se,{ref:ae,icon:pe}))},oe=je.forwardRef(ce),ie=oe},11570:function(ct,ot){"use strict";ot.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},7850:function(ct,ot){"use strict";ot.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},43219:function(ct,ot){"use strict";ot.Z={modalContent:"modalContent___UXmJC",modalContentLeft:"modalContentLeft___JOFgX",green:"green___rI_w_",textArea:"textArea___OTapv",red:"red___cDswv",row:"row___CE3Y7",html:"html___u9n4r",line:"line___Lh9Lb"}},58323:function(){"use strict"},54318:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ue,se,ae)=>se in ue?je(ue,se,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ue[se]=ae,oe=(ue,se)=>{for(var ae in se||(se={}))pe.call(se,ae)&&ce(ue,ae,se[ae]);if(E)for(var ae of E(se))he.call(se,ae)&&ce(ue,ae,se[ae]);return ue};const ie=ue=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ue),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},71302:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ue,se,ae)=>se in ue?je(ue,se,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ue[se]=ae,oe=(ue,se)=>{for(var ae in se||(se={}))pe.call(se,ae)&&ce(ue,ae,se[ae]);if(E)for(var ae of E(se))he.call(se,ae)&&ce(ue,ae,se[ae]);return ue};const ie=ue=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ue),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},29277:function(){"use strict";function ct(te,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=te,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(ct.prototype,"name",{get:function(){return this._name},set:function(te){if(typeof te!="string"||te==="")throw new Error("Shape name must be a valid string.");this._name=te}}),Object.defineProperty(ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("The default value must be a real number, not: "+te);this._defaultValue=te}}),Object.defineProperty(ct.prototype,"minimum",{get:function(){return this._minimum},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("Minimum must be a real number, not: "+te);this._minimum=te}}),Object.defineProperty(ct.prototype,"maximum",{get:function(){return this._maximum},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("Maximum must be a real number, not: "+te);this._maximum=te}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(te,a){var y=go.Shape._FigureParameters[te];return y?y[a]:null},go.Shape.setFigureParameter=function(te,a,y){if(!(y instanceof ct))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[te];x||(x=[],go.Shape._FigureParameters[te]=x),x[a]=y};var ot=[];function Se(te,a){var y=ot.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function ye(){var te=ot.pop();return te===void 0?new go.Point:te}function je(te){ot.push(te)}function E(te,a,y,x,b,ee,z,le,de){de||(de=new go.Point);var ge=te-y,fe=b-z,me=NaN,be=NaN;if(ge===0)if(fe===0)te===y&&(me=te,be=a);else{var ve=(ee-le)/fe,Pe=ee-ve*b;me=te,be=ve*me+Pe}else if(fe===0){var Ee=(a-x)/ge,Ae=a-Ee*te;me=b,be=Ee*me+Ae}else{var Ee=(a-x)/ge,ve=(ee-le)/fe,Ae=a-Ee*te,Pe=ee-ve*b;me=(Pe-Ae)/(Ee-ve),be=Ee*me+Ae}return de.x=me,de.y=be,de}function pe(te,a,y,x,b,ee,z,le,de,ge,fe,me,be,ve){var Pe=1-de,Ee=de,Ae=te*Pe+y*Ee,Ce=a*Pe+x*Ee,_e=y*Pe+b*Ee,we=x*Pe+ee*Ee,Me=b*Pe+z*Ee,Oe=ee*Pe+le*Ee,Fe=Ae*Pe+_e*Ee,Le=Ce*Pe+we*Ee,Ye=_e*Pe+Me*Ee,He=we*Pe+Oe*Ee,Ge=Fe*Pe+Ye*Ee,Ke=Le*Pe+He*Ee;ge.x=Ae,ge.y=Ce,fe.x=Fe,fe.y=Le,me.x=Ge,me.y=Ke,be.x=Ye,be.y=He,ve.x=Me,ve.y=Oe}var he=new go.Spot(.156,.156),ce=new go.Spot(.844,.844),oe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*oe,ee=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,1,-b,-b)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(te,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(te,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=he,b.spot2=ce,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,oe*a,0,a,(1-oe)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,oe*y,(1-oe)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,oe*y,oe*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-oe)*a,0,0,(1-oe)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+le,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,le,le).close())),ee.spot1=he,ee.spot2=ce,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(te,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(te,a,y){var x=te?te.parameter1:NaN,b=te?te.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var ee=x%360;ee<0&&(ee+=360);var z=b%360,le=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(le,le).add(new go.PathSegment(go.PathSegment.Arc,ee,z,le,le,le,le).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=oe/Math.SQRT2*.5,b=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,ee*y,a,(1-x)*y,(b+x)*a,(ee+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,ee=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,ee=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(te,a,y){var x=te?te.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var ee=a/2,z=y/2,le=Math.atan2(y,a),de=x-Math.min(Math.cos(le)*x/2,ee),ge=x-Math.min(Math.sin(le)*x/2,z),b=new go.Geometry,fe=new go.PathFigure(de,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a-de,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,a-de,y)),fe.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),fe.add(new go.PathSegment(go.PathSegment.Line,de,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,oe*a,0,a,(.5-oe/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+oe/2)*y,oe*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var ee=.2,z=.3,le=0,de=ee*oe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+le)*y,(.5-ee+z)*a,(.5+de+le)*y,(.5-de+z)*a,(.5+ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+le)*y,(.5+de+z)*a,(.5+ee+le)*y,(.5+ee+z)*a,(.5+de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+le)*y,(1-.5+ee+z)*a,(.5-de+le)*y,(.5+de+z)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-de+z)*a,(.5-ee+le)*y,(.5-ee+z+.05)*a,(.5-de+le-.02)*y)),ee=.2,z=0,le=-.3,de=ee*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+le)*y,(.5+de+z)*a,(.5+ee+le)*y,(.5+ee+z)*a,(.5+de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+le)*y,(1-.5+ee+z)*a,(.5-de+le)*y,(.5+de+z)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+le)*y,(.5-de+z)*a,(.5-ee+le)*y,(.5-ee+z)*a,(.5-de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-de+z)*a,(.5+ee+le)*y,(.5-ee+z)*a,(.5+de+le)*y,(.5-de+z)*a,(.5+ee+le)*y)),ee=.2,z=-.3,le=0,de=ee*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+le)*y,(1-.5+ee+z-.05)*a,(.5-de+le-.02)*y,(.5+de+z)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+le)*y,(.5-de+z)*a,(.5-ee+le)*y,(.5-ee+z)*a,(.5-de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+le)*y,(.5-ee+z)*a,(.5+de+le)*y,(.5-de+z)*a,(.5+ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+de+z)*a,(.5+ee+le)*y,(.5+ee+z)*a,(.5+de+le)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var ee=.1,z=.5,le=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+ee)*a,le*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*le,ee*a,ee*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),le=.75,b=new go.PathFigure((z+ee)*a,le*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*le,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(te,a,y){var x=.8535533905932737,b=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,ee,b,ee)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=.5,le=.5,de=new go.PathFigure(z*a,(le-ee)*y);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),ee=.4,b=oe*.4;var ge=ye(),fe=ye(),me=ye(),be=ye();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.42,ge,fe,me,be,be);var ve=ye(),Pe=ye(),Ee=ye();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.58,be,be,Ee,ve,Pe);var Ae=ye(),Ce=ye(),_e=ye();pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.42,Ae,Ce,_e,be,be);var we=ye(),Me=ye(),Oe=ye();return pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.58,be,be,Oe,we,Me),de.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,we.x*a,we.y*y,Me.x*a,Me.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ge.x*a,ge.y*y,fe.x*a,fe.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Oe.x*a,Oe.y*y).close()),de.add(new go.PathSegment(go.PathSegment.Move,_e.x*a,_e.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,ve.x*a,ve.y*y,Pe.x*a,Pe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*a,_e.y*y,Ae.x*a,Ae.y*y,Ce.x*a,Ce.y*y).close()),je(ge),je(fe),je(me),je(be),je(ve),je(Pe),je(Ee),je(Ae),je(Ce),je(_e),je(we),je(Me),je(Oe),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,ee=b+x;return new go.Geometry().add(new go.PathFigure(ee,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(te,a,y){var x=new go.Geometry,b=oe*.4,ee=.4,z=.5,le=.5,de=ye(),ge=ye(),fe=ye(),me=ye(),be=new go.PathFigure((z-ee)*a,le*y,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.44,fe,me,ge,de,de),be.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,me.x*a,me.y*y));var ve=Se(ge.x,ge.y);pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.56,de,de,ge,fe,me);var Pe=Se(ge.x,ge.y);be.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),be.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),ee=.35,b=oe*.35;var Ee=new go.PathFigure(z*a,(le-ee)*y,!1);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y));var Ae=new go.PathFigure((z-ee)*a,le*y,!1);return x.add(Ae),je(de),je(ge),je(fe),je(me),je(ve),je(Pe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(te,a,y){var x=new go.Geometry,b=.375,ee=0,z=-.125,le=b*oe,de=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+le+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-le+z)*y,(.5+le+ee)*a,(.5-b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-le+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+le+z)*y,(.5-le+ee)*a,(.5+b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,z=-.125,le=b*oe;var de=new go.PathFigure((1-.5+b+ee)*a,(.5+z)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+le+z)*y,(.5+le+ee)*a,(.5+b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-le+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-le+z)*y,(.5-le+ee)*a,(.5-b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+le+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-le+z)*y));var de=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);return x.add(de),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(te,a,y){var x=te?te.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(te,a,y){var x=te?te.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(te,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(te,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(te,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=te?te.parameter2:NaN;isNaN(b)&&(b=.3);var ee=(1-x)*a,z=(.5-b/2)*y,le=(.5+b/2)*y,de=new go.Geometry,ge=new go.PathFigure(0,z,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,z)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,le)),ge.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),de.spot1=new go.Spot(0,z/y);var fe=E(0,le/y,1,le/y,ee/a,1,1,.5,ye());return de.spot2=new go.Spot(fe.x,fe.y),je(fe),de}),go.Shape.setFigureParameter("Arrow2",0,new ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=te?te.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var ee=a-x,z=(y-b)/2,le=z+b,de=new go.Geometry,ge=new go.PathFigure(0,z,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,z)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,le)),ge.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),de.spot1=new go.Spot(0,z/y);var fe=E(0,le/y,1,le/y,ee/a,1,1,.5,ye());return de.spot2=new go.Spot(fe.x,fe.y),je(fe),de}),go.Shape.defineFigureGenerator("Chevron",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var de=E(0,.5,.3,0,0,b/y,.1,b/y,ye());return z.spot1=new go.Spot(de.x,de.y),de=E(.7,1,1,.5,0,ee/y,1,ee/y,de),z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,z=ee+x,le=(y-b)/2,de=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,le=0,de=y):(ee=0,z=y,le=0,de=y));var ge=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close());var me=E(0,.5,.3,le/y,0,ee/y,1,ee/y,ye());return ge.spot1=new go.Spot(me.x,me.y),me=E(.7,de/y,1,.5,0,z/y,1,z/y,me),ge.spot2=new go.Spot(me.x,me.y),je(me),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,z=ee+x,le=(y-b)/2,de=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,le=0,de=y):(ee=0,z=y,le=0,de=y));var ge=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close()),ge.spot1=new go.Spot(0,ee/y);var me=E(.7,de/y,1,.5,0,z/y,1,z/y,ye());return ge.spot2=new go.Spot(me.x,me.y),je(me),ge}),go.Shape.setFigureParameter("Pointer",0,new ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=E(.2,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(z.x,z.y),je(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var z=E(0,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(z.x,z.y),je(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,ee=b+x;x>y&&(b=0,ee=y);var z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("SquareArrow",0,new ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var ee=new go.PathFigure(0,.9*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var ee=new go.PathFigure(0,.3*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-oe*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var le=new go.PathFigure(a,x,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-oe*x,(.5+ee)*a,2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-oe*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-oe*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-oe*x));var le=new go.PathFigure(0,y-x,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-oe*x,(.5-ee)*a,y-2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-oe*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-oe*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,oe*x,0));var le=new go.PathFigure(x,0,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+oe*x,0,2*x,(.5-ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+oe*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-oe*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,oe*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var le=new go.PathFigure(a-x,0,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-oe*x,0,a-2*x,(.5-ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-oe*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.25*a,.25*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(te,a,y){var x=new go.Geometry,b=.2,ee=.1,z=oe*b,le=oe*ee,de=.5,ge=.1,fe=new go.PathFigure(de*a,(ge+ee)*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-b)*a,ge*y,(de-z)*a,(ge+ee)*y,(de-b)*a,(ge+le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ee)*y,(de-b)*a,(ge-le)*y,(de-z)*a,(ge-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+b)*a,ge*y,(de+z)*a,(ge-ee)*y,(de+b)*a,(ge-le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ee)*y,(de+b)*a,(ge+le)*y,(de+z)*a,(ge+ee)*y));var me=.05,be=oe*me;de=.05,ge=.25;var ve=new go.PathFigure(.5*a,.2*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),de=.95,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+me)*a,ge*y,(de+be)*a,(ge-me)*y,(de+me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),me=.025,be=oe*me,de=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),me=.05,be=oe*me,de=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),me=.025,be=oe*me,de=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),me=.05,be=oe*me,de=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de-me)*a,(ge-be)*y,(de-be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var ee=new go.PathFigure(.5*a,.5*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var le=new go.PathFigure(a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+ee)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var le=new go.PathFigure(a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var ee=oe*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*y,(.2-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+ee)*a,0,a,(.2-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+ee)*y,(.8+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-ee)*a,y,0,(.8+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var le=new go.PathFigure(0,b*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(.1*a,.4*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.75*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var ee=new go.PathFigure(a,.5*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var le=new go.PathFigure(b*a,0,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),le.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),le.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),x}),go.Shape.defineFigureGenerator("Junction",function(te,a,y){var x=new go.Geometry,b=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,z=oe*.5,le=.5,de=new go.PathFigure(a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,y,a,(le+z)*y,(le+z)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,le*y,(le-z)*a,y,0,(le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,0,0,(le-z)*y,(le-z)*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,a,le*y,(le+z)*a,0,a,(le-z)*y));var ge=new go.PathFigure((ee+b)*a,(ee+b)*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),ge.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(ee+b)*a,ee*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var ee=new go.PathFigure(.1*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+b)*y,(ee+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.7);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var ee=new go.PathFigure(.1*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var ee=new go.PathFigure(.2*a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var le=new go.PathFigure(.5*b*a,b*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(a,ee*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var le=new go.PathFigure(a,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure((1-b)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(b*a,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(a,ee*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var le=new go.PathFigure(a,ee*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var de=new go.PathFigure(.8*a,.75*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(te,a,y){var x=new go.Geometry,b=oe*.1,ee=.1,z=.9,le=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,0,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((z+ee)*a,le*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le-ee)*y,(z+ee)*a,(le-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.4,z=oe*.1,le=.1,de=.9,ge=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var me=new go.PathFigure((de+le)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+le)*y,(de+le)*a,(ge+z)*y,(de+z)*a,(ge+le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a,ge*y,(de-z)*a,(ge+le)*y,(de-le)*a,(ge+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-le)*y,(de-le)*a,(ge-z)*y,(de-z)*a,(ge-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a,ge*y,(de+z)*a,(ge-le)*y,(de+le)*a,(ge-z)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=0,le=.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,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(le-b)*y,.7*a,(le-ee)*y)),b=.1,ee=oe*.1,z=.9,le=.5;var ge=new go.PathFigure((z-b)*a,le*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=0,le=.5,de=new go.PathFigure(0,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee+ee)*a,(le-b)*y,.8*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(le+ee)*y,(z+ee+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=.2,le=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(le-b)*y,.7*a,(le-ee)*y)),b=.1,ee=oe*.1,z=.9,le=.5;var fe=new go.PathFigure((z-b)*a,le*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=.2,le=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.2*a,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee)*a,(le-b)*y,.9*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(te,a,y){var x=new go.Geometry,b=oe*.1,ee=.1,z=.1,le=.5,de=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.3,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.5,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.7,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.9,de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+ee)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=.5,le=.5,de=new go.PathFigure((z-ee)*a,le*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le-ee)*y,(z+ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Move,(z-ee+.1)*a,le*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee-.1)*a,le*y,z*a,(le-ee)*y,z*a,(le+ee)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(te,a,y){var x=new go.Geometry,b=a,ee=y;a=a*.38,y=y*.6;var z=oe*.8,le=.8,de=0,ge=.5,fe=(b-a)/2,me=(ee-y)/2,be=new go.PathFigure(de*a+fe,(ge+le)*y+me,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de-le)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-le)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-le+z*.5)*a+fe,ge*y+me,de*a+fe,(ge-le)*y+me,(de-le+z*.5)*a+fe,(ge-z)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de-le+z*.5)*a+fe,(ge+z)*y+me,de*a+fe,(ge+le)*y+me).close()),z=oe*.4,le=.4,de=.2,ge=.5;var ve=new go.PathFigure(de*a+fe,(ge+le)*y+me,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de-le)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-le)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-le+z*.5)*a+fe,ge*y+me,de*a+fe,(ge-le)*y+me,(de-le+z*.5)*a+fe,(ge-z)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de-le+z*.5)*a+fe,(ge+z)*y+me,de*a+fe,(ge+le)*y+me).close()),z=oe*.2,le=.2,de=.5,ge=.5;var Pe=new go.PathFigure((de-le)*a+fe,ge*y+me,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de-le)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-le)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a+fe,ge*y+me,(de+z)*a+fe,(ge-le)*y+me,(de+le)*a+fe,(ge-z)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de+le)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+le)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),z=oe*.4,le=.4,de=.8,ge=.5;var Ee=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a+fe,ge*y+me,(de+z)*a+fe,(ge-le)*y+me,(de+le)*a+fe,(ge-z)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de+le)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+le)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+le-z*.5)*a+fe,ge*y+me,de*a+fe,(ge+le)*y+me,(de+le-z*.5)*a+fe,(ge+z)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de+le-z*.5)*a+fe,(ge-z)*y+me,de*a+fe,(ge-le)*y+me).close()),z=oe*.8,le=.8,de=1,ge=.5;var Ae=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a+fe,ge*y+me,(de+z)*a+fe,(ge-le)*y+me,(de+le)*a+fe,(ge-z)*y+me)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de+le)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+le)*y+me)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(de+le-z*.5)*a+fe,ge*y+me,de*a+fe,(ge+le)*y+me,(de+le-z*.5)*a+fe,(ge+z)*y+me)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de+le-z*.5)*a+fe,(ge-z)*y+me,de*a+fe,(ge-le)*y+me).close()),x}),go.Shape.defineFigureGenerator("Email",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var ee=new go.PathFigure(.1*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var le=new go.PathFigure(0,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(te,a,y){var x=new go.Geometry,b=oe*.4,ee=.4,z=.5,le=.5,de=ye(),ge=ye(),fe=ye(),me=ye();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.5,de,de,ge,fe,me);var be=Se(ge.x,ge.y),ve=new go.PathFigure(ge.x*a,ge.y*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),pe(z-ee,le,z-ee,le-b,z-b,le-ee,z,le-ee,.5,fe,me,ge,de,de),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),b=oe*.3,ee=.3,pe(z-ee,le,z-ee,le-b,z-b,le-ee,z,le-ee,.5,fe,me,ge,de,de),ve.add(new go.PathSegment(go.PathSegment.Line,ge.x*a,ge.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,me.x*a,me.y*y,fe.x*a,fe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.5,de,de,ge,fe,me),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,me.x*a,me.y*y,fe.x*a,fe.y*y).close());var ve=new go.PathFigure(.45*a,0,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),je(de),je(ge),je(fe),je(me),je(be),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function ee(z,le,de){z.add(new go.PathSegment(go.PathSegment.Move,(.3+le)*a,(.8+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+le)*a,(.5+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+le)*a,(.5+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+le)*a,(.8+de)*y).close())}return ee(b,0,0),ee(b,.4,0),ee(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(te,a,y){var x=new go.Geometry,b=.5,ee=0,z=0,le=b*oe,de=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,fe=1,me=.5,be=.5,ve=0,Pe=new go.PathFigure(de*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,me*y,fe*a,.7*y,fe*a,me*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-le+ee)*y,(.5+le+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-le+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-le+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+le+z)*y,(.5-le+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var ee=new go.PathFigure(.45*a,.73*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,le=.5,de=z,ge=Math.PI/4,fe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),me=fe*.5,be=z,ve=z,Pe=fe*be,Ee=fe*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-be)*a,de*y,(le-(Pe+be)/2)*a,(de+(ve+Ee)/2)*y,(le-be)*a,(de+Ee)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(de-ve)*y,(le-be)*a,(de-Ee)*y,(le-Pe)*a,(de-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+be)*a,de*y,(le+Pe)*a,(de-ve)*y,(le+be)*a,(de-Ee)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(le+be)*a,(de+Ee)*y,(le+(Pe+be)/2)*a,(de+(ve+Ee)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Ae=new go.PathFigure(.2*a,y,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ce=new go.PathFigure(.8*a,y,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.2*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var z=new go.PathFigure(.1*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var ee=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var ee=new go.PathFigure(.475*a,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+ee)*y,(b+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-ee)*a,y,0,(b+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-ee)*y,(b-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+ee)*a,0,a,(b-ee)*y));var le=new go.PathFigure(b*a,0,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),le.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,.15*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var ee=new go.PathFigure(.15*a,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,le=oe*.1,de=.2,ge=.9,fe=new go.PathFigure((de-z)*a,ge*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-z)*y,(de-z)*a,(ge-le)*y,(de-le)*a,(ge-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+z)*a,ge*y,(de+le)*a,(ge-z)*y,(de+z)*a,(ge-le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+z)*y,(de+z)*a,(ge+le)*y,(de+le)*a,(ge+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-z)*a,ge*y,(de-le)*a,(ge+z)*y,(de-z)*a,(ge+le)*y).close()),z=.1,le=oe*.1,de=.8,ge=.9;var me=new go.PathFigure((de-z)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-z)*y,(de-z)*a,(ge-le)*y,(de-le)*a,(ge-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+z)*a,ge*y,(de+le)*a,(ge-z)*y,(de+z)*a,(ge-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+z)*y,(de+z)*a,(ge+le)*y,(de+le)*a,(ge+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-z)*a,ge*y,(de-le)*a,(ge+z)*y,(de-z)*a,(ge+le)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var ee=new go.PathFigure(0,.5*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var le=new go.PathFigure(.5*a,.7*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var de=.1,ge=oe*.1,fe=.1,me=.9,be=new go.PathFigure((fe-de)*a,me*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-de)*y,(fe-de)*a,(me-ge)*y,(fe-ge)*a,(me-de)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,me*y,(fe+ge)*a,(me-de)*y,(fe+de)*a,(me-ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me+de)*y,(fe+de)*a,(me+ge)*y,(fe+ge)*a,(me+de)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe-de)*a,me*y,(fe-ge)*a,(me+de)*y,(fe-de)*a,(me+ge)*y)),de=.1,ge=oe*.1,fe=.4,me=.9;var ve=new go.PathFigure((fe-de)*a,me*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-de)*y,(fe-de)*a,(me-ge)*y,(fe-ge)*a,(me-de)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,me*y,(fe+ge)*a,(me-de)*y,(fe+de)*a,(me-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me+de)*y,(fe+de)*a,(me+ge)*y,(fe+ge)*a,(me+de)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-de)*a,me*y,(fe-ge)*a,(me+de)*y,(fe-de)*a,(me+ge)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var ee=new go.PathFigure(.45*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var fe=.05,me=oe*.05,be=.175,ve=.95,le=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.375,ve=.95,de=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.625,ve=.95,ge=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.825,ve=.95,Pe=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y).close());var Ee=new go.PathFigure(0,y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var le=.05,de=oe*.05,ge=.35,fe=.775,me=new go.PathFigure((ge-le)*a,fe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(fe-le)*y,(ge-le)*a,(fe-de)*y,(ge-de)*a,(fe-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge+le)*a,fe*y,(ge+de)*a,(fe-le)*y,(ge+le)*a,(fe-de)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(fe+le)*y,(ge+le)*a,(fe+de)*y,(ge+de)*a,(fe+le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge-le)*a,fe*y,(ge-de)*a,(fe+le)*y,(ge-le)*a,(fe+de)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(te,a,y){var x=new go.Geometry,b=.3,ee=oe*.3,z=.5,le=.7,de=new go.PathFigure((z-b)*a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y));var ge=new go.PathFigure(0,.7*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var ee=new go.PathFigure(0,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=.5,le=.5,de=new go.PathFigure((z-b)*a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y));var ge=new go.PathFigure(.15*a,.5*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=.5,le=.5,de=new go.PathFigure((z-b)*a,le*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y).close()),b=.05,ee=oe*.05,z=.5,le=.8;var ge=new go.PathFigure((z-b)*a,le*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var ee=new go.PathFigure(0,y*.6,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var ee=new go.PathFigure(.126*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var le=new go.PathFigure(.678*a,.85*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),le.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),le.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var de=new go.PathFigure(.5*a,.1*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),de.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var ee=new go.PathFigure(a*.204,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var le=new go.PathFigure(a*.612,y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),le.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var de=new go.PathFigure(a*.816,y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var ee=new go.PathFigure(a*.055,.07*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var le=new go.PathFigure(a*.055,.18*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),le.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),le.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var de=new go.PathFigure(a*1,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(0,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var le=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var de=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(te,a,y){var x=new go.Geometry,b=8,ee=b*oe,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,ee,ee,0).close());var le=new go.PathFigure(a*.83,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var de=new go.PathFigure(a*.83,y*1,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ge=new go.PathFigure(a*.78,y*.05,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*oe,ee=y*.8,z=new go.Geometry,le=new go.PathFigure(x,0,!0);return z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),le.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),le.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),le.add(new go.PathSegment(go.PathSegment.Line,x,ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),le.add(new go.PathSegment(go.PathSegment.Line,0,x)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var ee=new go.PathFigure(a*1,y*.55,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var ee=new go.PathFigure(a*.1,y*.2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(te,a,y){var x=new go.Geometry,b=15,ee=b*oe,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),ee>1?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var z=new go.PathFigure(a*.4,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var z=new go.PathFigure(a*.5,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var ee=new go.PathFigure(a*.235,y*.28,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},5559:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ct={},ot="5.0",Se={},ye=null,je=!1,E=!1,pe=null,he=!1,ce=null,oe=null,ie=0;ie4?parseFloat(ze):5};ct.setHTML5Codebase=function(ze,ke){oe=ze,He(ze,ke)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(ze,ke){var Ne=parseFloat(ze);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}ce=ze,Ye(ze,ke)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return Se},ct.setFontsCSSURL=function(ze){z=ze},ct.setGiacJSURL=function(ze){},ct.setJNLPFile=function(ze){se=ze},ct.setJNLPBaseDir=function(ze){},ct.inject=function(){function ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ne=Se.id,Ve,qe=!1,rt=0;rt=5)return!0;var ze=ct.getAppletObject();return ze&&typeof ze.recalculateEnvironments=="function"?(ze.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var ze=ct.getAppletObject();return ze&&typeof ze.startAnimation=="function"?(ze.startAnimation(),!0):!1},ct.stopAnimation=function(){var ze=ct.getAppletObject();return ze&&typeof ze.stopAnimation=="function"?(ze.stopAnimation(),!0):!1},ct.getAppletObject=function(){var ze=Se.id!==void 0?Se.id:"ggbApplet";return window[ze]},ct.resize=function(){};var Pe=function(ze,ke,Ne){var Ve=document.createElement("param");Ve.setAttribute("name",ke),Ve.setAttribute("value",Ne),ze.appendChild(Ve)},Ee=function(ze){return ze&&ze!=="false"},Ae=function(ze,ke,Ne){de(te)<=4.2&&(Ne=!0);var Ve=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Ve=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=ke.width,Qe=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(de(te)<=4.4)Ee(ke.showToolBar)&&(ke.height-=7),Ee(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&Ee(ke.showToolBar)&&(ke.width=605,rt=605);else{var Ue=100;(Ee(ke.showToolBar)||Ee(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ue=Ee(ke.showMenuBar)?245:155),rt=5?(ke.appletOnLoad=function($e){var tt=ze.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Te),window.GGBT_wsf_view&&$(window).trigger("resize"),Ze($e)},We||Te.appendChild(at)):qe.appendChild(at),Te.appendChild(qe),We||ze.appendChild(Te),setTimeout(function(){ct.resize()},1)}else{var et=document.createElement("div");et.className="applet_scaler",et.style.position="relative",et.style.display="block",et.appendChild(qe),ze.appendChild(et),ke.appletOnLoad=function($e){ct.resize(),Ze($e)}}function Je($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),Ge("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Ie($e,tt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:$e,params:tt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(st){Je(st.article,st.params)}),html5AppletsToProcess=null)},de(te)<5&&($e.className+=" geogebraweb")):Je($e,tt)}if(Ve){scriptLoadStarted=!0;for(var xe=0;xe0?(Be.remove(),Te.attr("id","fullscreencontent").show(),jQuery(Ze).append(Te),window.dispatchEvent(new Event("resize"))):Ae(Be,ke,!1),window.GGBT_wsf_view.launchFullScreen(Ze)}else ne=Ve,Ae(ze,ke,!1);if(!window.GGBT_wsf_view)for(Qe=0;Qeze/4*3&&(Be=ze/4*3),Ze=Be/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Be),Ue.setAttribute("height",Ze);var Te=(ze-Be)/2,We=(ke-Ze)/2;Ue.style.left=Te+"px",Ue.style.top=We+"px",qe.appendChild(Ue)}}return qe.appendChild(Qe),qe},Fe=function(ze){return ze=ze.toLowerCase(),ze==="html5"||ze==="screenshot"?ze:"html5"},Le=["web","webSimple","web3d","tablet","tablet3d","phone"],Ye=function(ze,ke){if(te=ze,ke){He(te,!0);return}var Ne=!je;if(Ne){var Ve=de(te);!isNaN(Ve)&&Ve<4.4&&(Ne=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var Qe=te.indexOf("//");Qe>0?rt=te:Qe===0?rt=qe+te:rt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Le)if(te.slice(Le[Ue].length*-1)===Le[Ue]||te.slice((Le[Ue].length+1)*-1)===Le[Ue]+"/"){He(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!ye.is3D&&!ye.AV&&!ye.SV&&!ye.CV&&!ye.EV2&&!ye.CP&&!ye.PC&&!ye.DA&&!ye.FI&&!ye.PV&&!Ee(Se.showToolBar)&&!Ee(Se.showMenuBar)&&!Ee(Se.showAlgebraInput)&&!Ee(Se.enableRightClick)&&(!Se.appName||Se.appName=="classic")?rt+="webSimple/":rt+="web3d/",He(rt,!1)},He=function(ze,ke){if(ze.requirejs){ae=ze;return}ze.slice(-1)!=="/"&&(ze+="/"),ae=ze,ke===null&&(ke=ze.indexOf("http")===-1),re=ke,a="web.nocache.js",y=!1;var Ne=ae.split("/");Ne.length>1&&(!ke&&Ne[Ne.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Le.indexOf(Ne[Ne.length-2])>=0&&(a=Ne[Ne.length-2]+".nocache.js")),Ne=ze.split("/"),te=Ne[Ne.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var Ve=parseFloat(te);Ve!==NaN&&Ve<5&&ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ve+" is deprecated. Using version latest instead."),Ye("5.0",ke))},Ge=function(ze,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(ze)};Se.material_id!==void 0?me(Ke):Ke();function Ke(){var ze=ot;ce!==null?ze=ce:parseFloat(ze)<5&&(ze="5.0"),Ye(ze,!1),oe!==null&&He(oe,re),he=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function ot(he,ce){ce!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+ce+","+ce+")",he.style.webkitTransform="scale("+ce+","+ce+")",he.style.maxWidth="initial",he.querySelector(".ggb_preview")!==null&&(he.querySelector(".ggb_preview").style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[0]!==void 0&&(he.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[1]!==void 0&&(he.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(he.style.transform="none",he.style.webkitTransform="none")}function Se(he,ce,oe,ie,ue,se){var ae=null;if(se!=null&&se!="")for(var re=he.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+se+" ")>-1){ae=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,ee=0;if(ae)ne=ae.offsetWidth,te=Math.max(ie?ae.offsetWidth:0,ae.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,te=window.innerHeight,a=window.innerWidth),he){var z=he.getBoundingClientRect();z.left>0&&z.left<=ne&&(ue===void 0||!ue)&&(document.dir==="rtl"?(x=ne-z.width-z.left,b=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var le=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return he&&((oe===void 0||!oe)&&ce>0&&ce+y1&&(se=!0)),ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))ue=ye(he,ce,se,oe,he.scaleContainerClass);else return ie;return se&&(!he.hasOwnProperty("scale")||ie===1)?ue:Math.min(ie,ue)}function E(he){var ce=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=he.getBoundingClientRect(),ue=(ce-ie.width)/2,se=(oe-ie.height)/2;se<0&&(se=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ue<40?he.style.left="40px":he.style.left=ue+"px",he.style.top=se+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(se<40?he.style.top="40px":he.style.top=se+"px",he.style.left=ue+"px")}function pe(he,ce){var oe=he.querySelector(".appletParameters");if(oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ce.id!==oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var ie=je(ce,he);ct()&&oe.setAttribute("data-param-scale",ie);for(var ue=null,se=0;se=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ct){var ot=c[ct];return ot==null?null:ot},r=d,webModule.__errFn=e}function B(){function ct(he){var ce=he.lastIndexOf(rb);ce==-1&&(ce=he.length);var oe=he.indexOf(sb);oe==-1&&(oe=he.length);var ie=he.lastIndexOf(tb,Math.min(oe,ce));return ie>=O?he.substring(O,ie+P):W}function ot(he){if(!he.match(/^\w+:\/\//)){var ce=o.createElement(ub);ce.src=he+vb,he=ct(ce.src)}return he}function Se(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function ye(){for(var he=o.getElementsByTagName(_),ce=O;ceO?he[he.length-P].href:W}function E(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var pe=Se();return pe==W&&(pe=ye()),pe==W&&(pe=je()),pe==W&&E()&&(pe=ct(o.location.href)),pe=ot(pe),pe}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],ot=O,Se=[],ye=[];function je(he){var ce=ye[he](),oe=Se[he];if(ce in oe)return ce;var ie=[];for(var ue in oe)ie[oe[ue]]=ue;throw r&&r(he,ie,ce),null}if(__gwt_isKnownPropertyValue=function(he,ce){return ce in Se[he]},webModule.__getPropMap=function(){var he={};for(var ce in Se)Se.hasOwnProperty(ce)&&(he[ce]=je(ce));return he},webModule.__computePropValue=je,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var pe=E.indexOf(Db);pe!=-1&&(ot=parseInt(E.substring(pe+P),$),E=E.substring(O,pe))}catch(he){}return webModule.__softPermutationId=ot,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},49291:function(ct,ot,Se){"use strict";Se.d(ot,{Ax:function(){return pe},Ds:function(){return he},KI:function(){return oe},SI:function(){return E},f1:function(){return je}});var ye=Se(38446);function je(ie){let ue=!0;if(ie.length>0){for(let se=0;seee in b?ce(b,ee,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[ee]=z,ne=(b,ee)=>{for(var z in ee||(ee={}))se.call(ee,z)&&re(b,z,ee[z]);if(ue)for(var z of ue(ee))ae.call(ee,z)&&re(b,z,ee[z]);return b},te=(b,ee)=>oe(b,ie(ee)),a=(b,ee,z)=>new Promise((le,de)=>{var ge=be=>{try{me(z.next(be))}catch(ve){de(ve)}},fe=be=>{try{me(z.throw(be))}catch(ve){de(ve)}},me=be=>be.done?le(be.value):Promise.resolve(be.value).then(ge,fe);me((z=z.apply(b,ee)).next())}),x=({description:b,code:ee,showData:z={},sendParams:le={},allShow:de=!1})=>{const ge=[{img:Se(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:z==null?void 0:z.ai_exam_question,type:1},{img:Se(68427),name:"\u8BED\u6CD5\u68C0\u67E5",des:"\u68C0\u6D4B\u4EE3\u7801\u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\uFF0C\u63D0\u4F9B\u4FEE\u590D\u5EFA\u8BAE",description:"",query:ee,show:z==null?void 0:z.ai_syntax_check,type:5},{img:Se(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:b,query:ee,show:z==null?void 0:z.ai_code_diagnosis,type:2},{img:Se(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:ee,show:z==null?void 0:z.ai_guidance,type:3}],fe=me=>{const{setChatData:be,setLoading:ve,getData:Pe,clearStatus:Ee,typing:Ae,setImageGenerator:Ce}=me;let _e=ge;return de||(_e=ge.filter(we=>we.show)),ye.createElement("div",{className:`${E.bigTips} mt10`},_e.map((we,Me)=>ye.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Ae){pe.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}const Oe=Date.now();Ce(!1),ve(!0),Ee(),be([{text:we.query,key:Oe,sender:"user",show:!1},{loading:!0,key:Oe,sender:"AI",show:!0}]),Pe("",ne({type:we.type,description:we.description,query:we.query,file_id:"",history:[],is_chat:!1,image_generator:!1},le))}),key:Me,className:E.item},ye.createElement(he.Z,{align:"middle"},ye.createElement("img",{className:"mr10",src:we.img}),ye.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},we.name)),ye.createElement("div",{className:"mt10",style:{color:"#434D6C"}},we.des))))};return ye.createElement(je.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:de?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:fe,showSwitchingModel:!0,showImageGenerator:!0,fetchData:te(ne({},le),{is_chat:!0}),topPercentage:(le==null?void 0:le.source)==="hack"?.52:void 0,headNode:ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"c-grey-333 font22"},ye.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F\u5934\u6B4C\u667A\u80FD\u52A9\u6559\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B\u3002"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},"\u6211\u53EF\u4EE5\u8FD0\u7528\u667A\u80FD\u5BA1\u9898\u7684\u529F\u80FD\uFF0C\u5E2E\u52A9\u60A8\u8F7B\u677E\u7406\u89E3\u5E76\u62C6\u89E3\u5B9E\u8DF5\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u6E05\u6670\u660E\u4E86\u7684\u89E3\u9898\u601D\u8DEF\u3002\u5F53\u60A8\u5728\u7F16\u5199\u4EE3\u7801\u8FC7\u7A0B\u4E2D\u9047\u5230\u95EE\u9898\u65F6\uFF0C\u6211\u53EF\u4EE5\u63D0\u4F9B\u4EE3\u7801\u8BCA\u65AD\u670D\u52A1\uFF0C\u5206\u6790\u60A8\u7684\u4EE3\u7801\u5E76\u7ED9\u51FA\u5177\u4F53\u7684\u4FEE\u6B63\u5EFA\u8BAE\u3002\u5982\u679C\u60A8\u9700\u8981\u8FDB\u4E00\u6B65\u7684\u5E2E\u52A9\uFF0C\u6211\u8FD8\u53EF\u4EE5\u63D0\u4F9B\u8BE6\u7EC6\u7684AI\u6307\u5BFC\uFF0C\u4E3A\u60A8\u91CF\u8EAB\u5B9A\u5236\u53C2\u8003\u7684\u89E3\u51B3\u65B9\u6848\u3002\u671F\u5F85\u4E0E\u60A8\u643A\u624B\u5171\u8FDB\uFF0C\u9AD8\u6548\u3001\u4F18\u8D28\u5730\u5B8C\u6210\u6BCF\u4E00\u9879\u5B9E\u8DF5\u4EFB\u52A1\uFF01"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},5825:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return gn}});var ye=Se(59301),je=Se(8591),E=Se(54580),pe=Se(43418),he=Se(92832),ce=Se(3113),oe=Se(6848),ie=Se(43428),ue=Se(71418),se=Se(92310),ae=Se.n(se),re=Se(19999),ne=Se(77596),te=Se(66422),a=Se(14179),y=Se(56102),x={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},b=Se(35328),ee=Se(30084),z=Se(2878),le=Se(50484),de=Se(59301),ge=Object.defineProperty,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(Ct,Dt,At)=>Dt in Ct?ge(Ct,Dt,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Dt]=At,Pe=(Ct,Dt)=>{for(var At in Dt||(Dt={}))me.call(Dt,At)&&ve(Ct,At,Dt[At]);if(fe)for(var At of fe(Dt))be.call(Dt,At)&&ve(Ct,At,Dt[At]);return Ct},Ee=(Ct,Dt)=>{var At={};for(var tn in Ct)me.call(Ct,tn)&&Dt.indexOf(tn)<0&&(At[tn]=Ct[tn]);if(Ct!=null&&fe)for(var tn of fe(Ct))Dt.indexOf(tn)<0&&be.call(Ct,tn)&&(At[tn]=Ct[tn]);return At},Ae=(Ct,Dt,At)=>new Promise((tn,cn)=>{var ft=Bt=>{try{dt(At.next(Bt))}catch(Qt){cn(Qt)}},ht=Bt=>{try{dt(At.throw(Bt))}catch(Qt){cn(Qt)}},dt=Bt=>Bt.done?tn(Bt.value):Promise.resolve(Bt.value).then(ft,ht);dt((At=At.apply(Ct,Dt)).next())}),_e=({value:Ct,streamingStatus:Dt,onFinish:At,cancelIndex:tn,loadAll:cn})=>{const[ft,ht]=(0,ye.useState)(""),dt=(0,ye.useRef)(Ct),Bt=(0,ye.useRef)(Dt),Qt=(0,ye.useRef)(0),Kt=(0,ye.useRef)(null),Fn=(0,ye.useRef)(null),fn=(0,ye.useRef)(!0),[Un,Gn]=(0,ye.useState)(!1),fr=(0,ye.useRef)(!1);(0,ye.useEffect)(()=>{Bt.current=Dt},[Dt]),(0,ye.useEffect)(()=>{dt.current=Ct},[Ct]),(0,ye.useEffect)(()=>{if(cn){ht(Tt(`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A +(self.webpackChunk=self.webpackChunk||[]).push([[9410],{87169:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ie}});var ye=Se(92413),je=Se(59301),E={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},pe=E,he=Se(7657),ce=function(se,ae){return je.createElement(he.Z,(0,ye.Z)({},se,{ref:ae,icon:pe}))},oe=je.forwardRef(ce),ie=oe},11570:function(ct,ot){"use strict";ot.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},7850:function(ct,ot){"use strict";ot.Z={footer:"footer___bruwa",whiteFooter:"whiteFooter___mR7kn",error:"error___KO0Jg",case:"case___L0pNc","resize-y-bar":"resize-y-bar___NK0gI",unfoldBtn:"unfoldBtn___aMmZw",caseHead:"caseHead___EuMPr",dot:"dot___Iky9k",text:"text___lMSx6",pass:"pass___XjijC",noPass:"noPass___JxpWk",btns:"btns___FPIaK",result:"result___oRj1h",title:"title___IhMSa",left:"left___XlC98",leftNode:"leftNode___NGHgx",right:"right____fIu_",node:"node___MwdH7",elseNode:"elseNode___WjFIg",nameWrap:"nameWrap___bEdbD",scroll:"scroll___ylWYt",scrollBox:"scrollBox___hWkc9",action:"action___xBwDi",whiteCase:"whiteCase___AZiDR",disabled:"disabled___lWQU2",codeHead:"codeHead___l8q5R",navWrap:"navWrap___xdWQe",nav:"nav___JKPVX",active:"active___DTAtT",whiteCodeHead:"whiteCodeHead___wDOny",header:"header___VjNh9",timepiece:"timepiece___yuqJC",btn_edit:"btn_edit___ozzux",whiteHeader:"whiteHeader___REV3m",djs:"djs___v0Ru7",myProblems:"myProblems___DKSbs",whiteMyProblems:"whiteMyProblems___k0QS3",fullMask:"fullMask___QZH1M"}},43219:function(ct,ot){"use strict";ot.Z={modalContent:"modalContent___UXmJC",modalContentLeft:"modalContentLeft___JOFgX",green:"green___rI_w_",textArea:"textArea___OTapv",red:"red___cDswv",row:"row___CE3Y7",html:"html___u9n4r",line:"line___Lh9Lb"}},58323:function(){"use strict"},54318:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ue,se,ae)=>se in ue?je(ue,se,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ue[se]=ae,oe=(ue,se)=>{for(var ae in se||(se={}))pe.call(se,ae)&&ce(ue,ae,se[ae]);if(E)for(var ae of E(se))he.call(se,ae)&&ce(ue,ae,se[ae]);return ue};const ie=ue=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ue),React.createElement("title",null,"\u5360\u7528\u5185\u5B58"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{fillOpacity:.01,fill:"#FFF",d:"M0 0h30v30H0z"}),React.createElement("path",{d:"M6.866 26.928h-1.28a2.561 2.561 0 0 1-2.562-2.561V5.585a2.561 2.561 0 0 1 2.561-2.56h1.28v4.268a2.561 2.561 0 0 0 2.562 2.56h3.842a2.561 2.561 0 0 0 2.56-2.56V3.024h2.915l8.184 8.184v13.159a2.561 2.561 0 0 1-2.561 2.561h-1.28v-5.976c0-.943-.765-1.707-1.708-1.707H8.573c-.943 0-1.707.764-1.707 1.707v5.976Z",fill:"#B6D0FC"}),React.createElement("path",{d:"M8.573 3.024h5.55v4.269a.854.854 0 0 1-.854.853H9.427a.854.854 0 0 1-.854-.853V3.024ZM8.573 26.928v-5.976H21.38v5.976z",fill:"#1890FF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBmaWxsLW9wYWNpdHk9Ii4wMSIgZmlsbD0iI0ZGRiIgZD0iTTAgMGgzMHYzMEgweiIvPjxwYXRoIGQ9Ik02Ljg2NiAyNi45MjhoLTEuMjhhMi41NjEgMi41NjEgMCAwIDEtMi41NjItMi41NjFWNS41ODVhMi41NjEgMi41NjEgMCAwIDEgMi41NjEtMi41NmgxLjI4djQuMjY4YTIuNTYxIDIuNTYxIDAgMCAwIDIuNTYyIDIuNTZoMy44NDJhMi41NjEgMi41NjEgMCAwIDAgMi41Ni0yLjU2VjMuMDI0aDIuOTE1bDguMTg0IDguMTg0djEzLjE1OWEyLjU2MSAyLjU2MSAwIDAgMS0yLjU2MSAyLjU2MWgtMS4yOHYtNS45NzZjMC0uOTQzLS43NjUtMS43MDctMS43MDgtMS43MDdIOC41NzNjLS45NDMgMC0xLjcwNy43NjQtMS43MDcgMS43MDd2NS45NzZaIiBmaWxsPSIjQjZEMEZDIi8+PHBhdGggZD0iTTguNTczIDMuMDI0aDUuNTV2NC4yNjlhLjg1NC44NTQgMCAwIDEtLjg1NC44NTNIOS40MjdhLjg1NC44NTQgMCAwIDEtLjg1NC0uODUzVjMuMDI0Wk04LjU3MyAyNi45Mjh2LTUuOTc2SDIxLjM4djUuOTc2eiIgZmlsbD0iIzE4OTBGRiIvPjwvZz48L3N2Zz4="},71302:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ue,se,ae)=>se in ue?je(ue,se,{enumerable:!0,configurable:!0,writable:!0,value:ae}):ue[se]=ae,oe=(ue,se)=>{for(var ae in se||(se={}))pe.call(se,ae)&&ce(ue,ae,se[ae]);if(E)for(var ae of E(se))he.call(se,ae)&&ce(ue,ae,se[ae]);return ue};const ie=ue=>React.createElement("svg",oe({width:30,height:30,xmlns:"http://www.w3.org/2000/svg"},ue),React.createElement("title",null,"\u8FD0\u884C\u65F6\u95F4"),React.createElement("g",{fillRule:"nonzero",fill:"none"},React.createElement("path",{d:"M30 15c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15C0 6.716 6.716 0 15 0c8.284 0 15 6.716 15 15Z",fill:"#BAFFF0"}),React.createElement("path",{d:"M25.5 15c0 5.8-4.7 10.5-10.5 10.5S4.5 20.8 4.5 15 9.2 4.5 15 4.5 25.5 9.2 25.5 15Z",fill:"#44D7B6"}),React.createElement("path",{d:"M13.5 9a1.5 1.5 0 0 1 1.5 1.5v4.379l3.56 3.56a1.5 1.5 0 0 1-2.12 2.122l-4-4A1.5 1.5 0 0 1 12 15.5v-5A1.5 1.5 0 0 1 13.5 9Z",fill:"#FFF"})));ot.Z="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzAiIGhlaWdodD0iMzAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48cGF0aCBkPSJNMzAgMTVjMCA4LjI4NC02LjcxNiAxNS0xNSAxNS04LjI4NCAwLTE1LTYuNzE2LTE1LTE1QzAgNi43MTYgNi43MTYgMCAxNSAwYzguMjg0IDAgMTUgNi43MTYgMTUgMTVaIiBmaWxsPSIjQkFGRkYwIi8+PHBhdGggZD0iTTI1LjUgMTVjMCA1LjgtNC43IDEwLjUtMTAuNSAxMC41UzQuNSAyMC44IDQuNSAxNSA5LjIgNC41IDE1IDQuNSAyNS41IDkuMiAyNS41IDE1WiIgZmlsbD0iIzQ0RDdCNiIvPjxwYXRoIGQ9Ik0xMy41IDlhMS41IDEuNSAwIDAgMSAxLjUgMS41djQuMzc5bDMuNTYgMy41NmExLjUgMS41IDAgMCAxLTIuMTIgMi4xMjJsLTQtNEExLjUgMS41IDAgMCAxIDEyIDE1LjV2LTVBMS41IDEuNSAwIDAgMSAxMy41IDlaIiBmaWxsPSIjRkZGIi8+PC9nPjwvc3ZnPg=="},29277:function(){"use strict";function ct(te,a,y,x){y===void 0&&(y=0),x===void 0&&(x=1/0),this._name=te,this._defaultValue=a,this._minimum=y,this._maximum=x}Object.defineProperty(ct.prototype,"name",{get:function(){return this._name},set:function(te){if(typeof te!="string"||te==="")throw new Error("Shape name must be a valid string.");this._name=te}}),Object.defineProperty(ct.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("The default value must be a real number, not: "+te);this._defaultValue=te}}),Object.defineProperty(ct.prototype,"minimum",{get:function(){return this._minimum},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("Minimum must be a real number, not: "+te);this._minimum=te}}),Object.defineProperty(ct.prototype,"maximum",{get:function(){return this._maximum},set:function(te){if(typeof te!="number"||isNaN(te))throw new Error("Maximum must be a real number, not: "+te);this._maximum=te}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(te,a){var y=go.Shape._FigureParameters[te];return y?y[a]:null},go.Shape.setFigureParameter=function(te,a,y){if(!(y instanceof ct))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var x=go.Shape._FigureParameters[te];x||(x=[],go.Shape._FigureParameters[te]=x),x[a]=y};var ot=[];function Se(te,a){var y=ot.pop();return y===void 0?new go.Point(te,a):(y.x=te,y.y=a,y)}function ye(){var te=ot.pop();return te===void 0?new go.Point:te}function je(te){ot.push(te)}function E(te,a,y,x,b,ee,z,le,de){de||(de=new go.Point);var ge=te-y,fe=b-z,me=NaN,be=NaN;if(ge===0)if(fe===0)te===y&&(me=te,be=a);else{var ve=(ee-le)/fe,Pe=ee-ve*b;me=te,be=ve*me+Pe}else if(fe===0){var Ee=(a-x)/ge,Ae=a-Ee*te;me=b,be=Ee*me+Ae}else{var Ee=(a-x)/ge,ve=(ee-le)/fe,Ae=a-Ee*te,Pe=ee-ve*b;me=(Pe-Ae)/(Ee-ve),be=Ee*me+Ae}return de.x=me,de.y=be,de}function pe(te,a,y,x,b,ee,z,le,de,ge,fe,me,be,ve){var Pe=1-de,Ee=de,Ae=te*Pe+y*Ee,Ce=a*Pe+x*Ee,_e=y*Pe+b*Ee,we=x*Pe+ee*Ee,Me=b*Pe+z*Ee,Oe=ee*Pe+le*Ee,Fe=Ae*Pe+_e*Ee,Le=Ce*Pe+we*Ee,Ye=_e*Pe+Me*Ee,He=we*Pe+Oe*Ee,Ge=Fe*Pe+Ye*Ee,Ke=Le*Pe+He*Ee;ge.x=Ae,ge.y=Ce,fe.x=Fe,fe.y=Le,me.x=Ge,me.y=Ke,be.x=Ye,be.y=He,ve.x=Me,ve.y=Oe}var he=new go.Spot(.156,.156),ce=new go.Spot(.844,.844),oe=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ct("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*oe,ee=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-x)).add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,x,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,1,-b,-b)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=y/2,x.endX=a,x.endY=y/2,x}),go.Shape.defineFigureGenerator("LineV",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a/2,x.startY=0,x.endX=a/2,x.endY=y,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(te,a,y){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*a,(1-x)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(te,a,y){var x=a/2,b=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=he,b.spot2=ce,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=a,x.endY=y,x}),go.Shape.defineFigureGenerator("Line2",function(te,a,y){var x=new go.Geometry(go.Geometry.Line);return x.startX=a,x.startY=0,x.endX=0,x.endY=y,x}),go.Shape.defineFigureGenerator("Curve1",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,oe*a,0,a,(1-oe)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,oe*y,(1-oe)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,oe*y,oe*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-oe)*a,0,0,(1-oe)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ct("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(x=.5);var b=Math.abs(x)*a;if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(x=a/2);var b=Math.abs(x);if(x===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return x>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+le,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,le,le).close())),ee.spot1=he,ee.spot2=ce,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(te,a,y){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,x*y).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ct("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ct("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(te,a,y){var x=te?te.parameter1:NaN,b=te?te.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var ee=x%360;ee<0&&(ee+=360);var z=b%360,le=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(le,le).add(new go.PathSegment(go.PathSegment.Arc,ee,z,le,le,le,le).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(te,a,y){var x=oe/Math.SQRT2*.5,b=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,ee*y,a,(1-x)*y,(b+x)*a,(ee+x)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,a)/2,ee=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,a)/2,ee=a/2,z=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z-b)).add(new go.PathSegment(go.PathSegment.Line,a,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(te,a,y){var x=te?te.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var ee=a/2,z=y/2,le=Math.atan2(y,a),de=x-Math.min(Math.cos(le)*x/2,ee),ge=x-Math.min(Math.sin(le)*x/2,z),b=new go.Geometry,fe=new go.PathFigure(de,0,!0);return b.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),fe.add(new go.PathSegment(go.PathSegment.Line,a-de,0)),fe.add(new go.PathSegment(go.PathSegment.Line,a,ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,a,y-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,a-de,y)),fe.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),fe.add(new go.PathSegment(go.PathSegment.Line,de,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y-ge)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,0,ge).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ct("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ct("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,(1-x)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*a,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ct("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-x)*a,.25*y,Math.abs(1-x)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,oe*a,0,a,(.5-oe/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+oe/2)*y,oe*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var ee=.2,z=.3,le=0,de=ee*oe;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+le)*y,(.5-ee+z)*a,(.5+de+le)*y,(.5-de+z)*a,(.5+ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+le)*y,(.5+de+z)*a,(.5+ee+le)*y,(.5+ee+z)*a,(.5+de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+le)*y,(1-.5+ee+z)*a,(.5-de+le)*y,(.5+de+z)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-de+z)*a,(.5-ee+le)*y,(.5-ee+z+.05)*a,(.5-de+le-.02)*y)),ee=.2,z=0,le=-.3,de=ee*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+z)*a,(.5+le)*y,(.5+de+z)*a,(.5+ee+le)*y,(.5+ee+z)*a,(.5+de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+le)*y,(1-.5+ee+z)*a,(.5-de+le)*y,(.5+de+z)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+le)*y,(.5-de+z)*a,(.5-ee+le)*y,(.5-ee+z)*a,(.5-de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-de+z)*a,(.5+ee+le)*y,(.5-ee+z)*a,(.5+de+le)*y,(.5-de+z)*a,(.5+ee+le)*y)),ee=.2,z=-.3,le=0,de=ee*oe,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-ee+le)*y,(1-.5+ee+z-.05)*a,(.5-de+le-.02)*y,(.5+de+z)*a,(.5-ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+z)*a,(.5+le)*y,(.5-de+z)*a,(.5-ee+le)*y,(.5-ee+z)*a,(.5-de+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+ee+le)*y,(.5-ee+z)*a,(.5+de+le)*y,(.5-de+z)*a,(.5+ee+le)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+de+z)*a,(.5+ee+le)*y,(.5+ee+z)*a,(.5+de+le)*y).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var ee=.1,z=.5,le=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+ee)*a,le*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,y*le,ee*a,ee*a).close()),b=new go.PathFigure(a*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),le=.75,b=new go.PathFigure((z+ee)*a,le*y,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,y*le,ee*a,ee*a).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(te,a,y){var x=.8535533905932737,b=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,ee,b,ee)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,x*y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,x*a,x*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=.5,le=.5,de=new go.PathFigure(z*a,(le-ee)*y);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),ee=.4,b=oe*.4;var ge=ye(),fe=ye(),me=ye(),be=ye();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.42,ge,fe,me,be,be);var ve=ye(),Pe=ye(),Ee=ye();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.58,be,be,Ee,ve,Pe);var Ae=ye(),Ce=ye(),_e=ye();pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.42,Ae,Ce,_e,be,be);var we=ye(),Me=ye(),Oe=ye();return pe(z,le+ee,z-b,le+ee,z-ee,le+b,z-ee,le,.58,be,be,Oe,we,Me),de.add(new go.PathSegment(go.PathSegment.Move,Oe.x*a,Oe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,we.x*a,we.y*y,Me.x*a,Me.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,me.x*a,me.y*y,ge.x*a,ge.y*y,fe.x*a,fe.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Oe.x*a,Oe.y*y).close()),de.add(new go.PathSegment(go.PathSegment.Move,_e.x*a,_e.y*y)),de.add(new go.PathSegment(go.PathSegment.Line,Ee.x*a,Ee.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,ve.x*a,ve.y*y,Pe.x*a,Pe.y*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,_e.x*a,_e.y*y,Ae.x*a,Ae.y*y,Ce.x*a,Ce.y*y).close()),je(ge),je(fe),je(me),je(be),je(ve),je(Pe),je(Ee),je(Ae),je(Ce),je(_e),je(we),je(Me),je(Oe),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ct("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>a&&(x=a);var b=(a-x)/2,ee=b+x;return new go.Geometry().add(new go.PathFigure(ee,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(te,a,y){var x=new go.Geometry,b=oe*.4,ee=.4,z=.5,le=.5,de=ye(),ge=ye(),fe=ye(),me=ye(),be=new go.PathFigure((z-ee)*a,le*y,!1);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.44,fe,me,ge,de,de),be.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,me.x*a,me.y*y));var ve=Se(ge.x,ge.y);pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.56,de,de,ge,fe,me);var Pe=Se(ge.x,ge.y);be.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*y)),be.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,0)),be.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,.15*y)),be.add(new go.PathSegment(go.PathSegment.Line,(Pe.x*.1+.9)*a,(Pe.y*.1+.05*.9)*y)),be.add(new go.PathSegment(go.PathSegment.Line,Pe.x*a,Pe.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),ee=.35,b=oe*.35;var Ee=new go.PathFigure(z*a,(le-ee)*y,!1);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y));var Ae=new go.PathFigure((z-ee)*a,le*y,!1);return x.add(Ae),je(de),je(ge),je(fe),je(me),je(ve),je(Pe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(te,a,y){var x=new go.Geometry,b=.375,ee=0,z=-.125,le=b*oe,de=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+le+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-le+z)*y,(.5+le+ee)*a,(.5-b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-le+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+le+z)*y,(.5-le+ee)*a,(.5+b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),de.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),de.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,z=-.125,le=b*oe;var de=new go.PathFigure((1-.5+b+ee)*a,(.5+z)*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+z)*y,(.5+b+ee)*a,(.5+le+z)*y,(.5+le+ee)*a,(.5+b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-le+ee)*a,(.5+b+z)*y,(.5-b+ee)*a,(.5+le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-le+z)*y,(.5-le+ee)*a,(.5-b+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+z)*y,(.5+le+ee)*a,(.5-b+z)*y,(1-.5+b+ee)*a,(.5-le+z)*y));var de=new go.PathFigure((.525+ee)*a,(.5+b+z)*y,!1);return x.add(de),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(te,a,y){var x=te?te.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(te,a,y){var x=te?te.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,x*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,x*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(te,a,y){var x=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(te,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(te,a,y){var x=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,x*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*a,x*y,x*a,x*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ct("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ct("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=te?te.parameter2:NaN;isNaN(b)&&(b=.3);var ee=(1-x)*a,z=(.5-b/2)*y,le=(.5+b/2)*y,de=new go.Geometry,ge=new go.PathFigure(0,z,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,z)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,le)),ge.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),de.spot1=new go.Spot(0,z/y);var fe=E(0,le/y,1,le/y,ee/a,1,1,.5,ye());return de.spot2=new go.Spot(fe.x,fe.y),je(fe),de}),go.Shape.setFigureParameter("Arrow2",0,new ct("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ct("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=30),x>a&&(x=a);var b=te?te.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var ee=a-x,z=(y-b)/2,le=z+b,de=new go.Geometry,ge=new go.PathFigure(0,z,!0);de.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee,z)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,0)),ge.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,y)),ge.add(new go.PathSegment(go.PathSegment.Line,ee,le)),ge.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),de.spot1=new go.Spot(0,z/y);var fe=E(0,le/y,1,le/y,ee/a,1,1,.5,ye());return de.spot2=new go.Spot(fe.x,fe.y),je(fe),de}),go.Shape.defineFigureGenerator("Chevron",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ct("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var de=E(0,.5,.3,0,0,b/y,.1,b/y,ye());return z.spot1=new go.Spot(de.x,de.y),de=E(.7,1,1,.5,0,ee/y,1,ee/y,de),z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ct("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ct("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,z=ee+x,le=(y-b)/2,de=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,le=0,de=y):(ee=0,z=y,le=0,de=y));var ge=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close());var me=E(0,.5,.3,le/y,0,ee/y,1,ee/y,ye());return ge.spot1=new go.Spot(me.x,me.y),me=E(.7,de/y,1,.5,0,z/y,1,z/y,me),ge.spot2=new go.Spot(me.x,me.y),je(me),ge}),go.Shape.setFigureParameter("IBeamArrow",0,new ct("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,y)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ct("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ct("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=40);var b=te?te.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-x)/2,z=ee+x,le=(y-b)/2,de=le+b;(x>y||b>y)&&(b>x?(x=x*y/b,ee=(y-x)/2,z=ee+x,le=0,de=y):(ee=0,z=y,le=0,de=y));var ge=new go.Geometry,fe=new go.PathFigure(a,.5*y,!0);ge.add(fe),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,de)),fe.add(new go.PathSegment(go.PathSegment.Line,0,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,le)),fe.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),fe.add(new go.PathSegment(go.PathSegment.Line,.7*a,le).close()),ge.spot1=new go.Spot(0,ee/y);var me=E(.7,de/y,1,.5,0,z/y,1,z/y,ye());return ge.spot2=new go.Spot(me.x,me.y),je(me),ge}),go.Shape.setFigureParameter("Pointer",0,new ct("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=E(.2,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(z.x,z.y),je(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ct("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*a,.75*y,x*a,.25*y).close()),b.spot1=new go.Spot(x,.35);var z=E(0,.65,1,.65,0,1,1,.5,ye());return b.spot2=new go.Spot(z.x,z.y),je(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ct("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*y,ee=(.5+x/2)*y,z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ct("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=50);var b=(y-x)/2,ee=b+x;x>y&&(b=0,ee=y);var z=new go.Geometry,le=new go.PathFigure(a,.5*y,!0);z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,b/y);var de=E(.7,1,1,.5,0,ee/y,1,ee/y,ye());return z.spot2=new go.Spot(de.x,de.y),je(de),z}),go.Shape.setFigureParameter("SquareArrow",0,new ct("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(0,.9*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var ee=new go.PathFigure(0,.9*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var ee=new go.PathFigure(0,.3*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,x,(.5+ee)*a,0,1*a,oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-oe*x,(.5+ee)*a,1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,1*y,0,y-oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var le=new go.PathFigure(a,x,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*x,1*a,2*x-oe*x,(.5+ee)*a,2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-ee)*a,2*x,0,2*x-oe*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(0,y-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,oe*x,(.5-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x,(.5+ee)*a,0,a,oe*x)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-oe*x,(.5+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-x,(.5-ee)*a,y,0,y-oe*x));var le=new go.PathFigure(0,y-x,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*x,0,y-x-oe*x,(.5-ee)*a,y-2*x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,y-x,(.5+ee)*a,y-2*x,a,y-x-oe*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-oe*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,oe*x,0));var le=new go.PathFigure(x,0,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*y,x+oe*x,0,2*x,(.5-ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,y,2*x,(.5+ee)*y,x+oe*x,y)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,ee=oe*.5,z=new go.PathFigure(a-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-oe*x,0,a,(.5-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a,(.5+ee)*y,a-oe*x,y)),z.add(new go.PathSegment(go.PathSegment.Line,x,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,oe*x,y,0,(.5+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-ee)*y,oe*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-x,0));var le=new go.PathFigure(a-x,0,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,a-2*x,.5*y,a-x-oe*x,0,a-2*x,(.5-ee)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,y,a-2*x,(.5+ee)*y,a-x-oe*x,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.25*a,.25*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(te,a,y){var x=new go.Geometry,b=.2,ee=.1,z=oe*b,le=oe*ee,de=.5,ge=.1,fe=new go.PathFigure(de*a,(ge+ee)*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-b)*a,ge*y,(de-z)*a,(ge+ee)*y,(de-b)*a,(ge+le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-ee)*y,(de-b)*a,(ge-le)*y,(de-z)*a,(ge-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+b)*a,ge*y,(de+z)*a,(ge-ee)*y,(de+b)*a,(ge-le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+ee)*y,(de+b)*a,(ge+le)*y,(de+z)*a,(ge+ee)*y));var me=.05,be=oe*me;de=.05,ge=.25;var ve=new go.PathFigure(.5*a,.2*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),de=.95,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+me)*a,ge*y,(de+be)*a,(ge-me)*y,(de+me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),me=.025,be=oe*me,de=.825,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),me=.05,be=oe*me,de=.5,ge=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),me=.025,be=oe*me,de=.175,ge=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de+me)*a,(ge-be)*y,(de+be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-me)*a,ge*y,(de-be)*a,(ge-me)*y,(de-me)*a,(ge-be)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),me=.05,be=oe*me,de=.05,ge=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-me)*y,(de-me)*a,(ge-be)*y,(de-be)*a,(ge-me)*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ct("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(te,a,y){var x=te?te.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,ee=new go.PathFigure(a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x*y)),ee.add(new go.PathSegment(go.PathSegment.Line,x*a,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var ee=new go.PathFigure(.5*a,.5*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("Database",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var le=new go.PathFigure(a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+ee)*y)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.1,z=new go.PathFigure(a,.1*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var le=new go.PathFigure(a,.1*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var ee=oe*.2,z=new go.PathFigure(0,.2*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*y,(.2-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+ee)*a,0,a,(.2-ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+ee)*y,(.8+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-ee)*a,y,0,(.8+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var le=new go.PathFigure(0,b*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(0,b*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),x}),go.Shape.defineFigureGenerator("Document",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),z.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(.1*a,.4*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.75*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var ee=new go.PathFigure(a,.5*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y));var z=new go.PathFigure(a,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var le=new go.PathFigure(b*a,0,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),le.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),le.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),x}),go.Shape.defineFigureGenerator("Junction",function(te,a,y){var x=new go.Geometry,b=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,z=oe*.5,le=.5,de=new go.PathFigure(a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,y,a,(le+z)*y,(le+z)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,le*y,(le-z)*a,y,0,(le+z)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,le*a,0,0,(le-z)*y,(le-z)*a,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,a,le*y,(le+z)*a,0,a,(le-z)*y));var ge=new go.PathFigure((ee+b)*a,(ee+b)*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),ge.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Line,(ee+b)*a,ee*y)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var ee=new go.PathFigure(.1*a,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(.5*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+b)*y,(ee+b)*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.7);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var ee=new go.PathFigure(.1*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var ee=new go.PathFigure(.2*a,.1*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var le=new go.PathFigure(.5*b*a,b*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(a,ee*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var le=new go.PathFigure(a,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(te,a,y){var x=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN,ee=te?te.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure((1-b)*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x}),go.Shape.defineFigureGenerator("Process",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(0,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(b*a,0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var z=new go.PathFigure(b*a,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(te,a,y){var x=new go.Geometry,b=te?te.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=new go.PathFigure(0,0,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=new go.PathFigure(a,ee*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var le=new go.PathFigure(a,ee*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var de=new go.PathFigure(.8*a,.75*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),de.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),x}),go.Shape.defineFigureGenerator("Ground",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),x}),go.Shape.defineFigureGenerator("Inverter",function(te,a,y){var x=new go.Geometry,b=oe*.1,ee=.1,z=.9,le=.5,de=new go.PathFigure(.8*a,.5*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,0,y)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var ge=new go.PathFigure((z+ee)*a,le*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le-ee)*y,(z+ee)*a,(le-b)*y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=oe*.4,z=oe*.1,le=.1,de=.9,ge=.5,fe=new go.PathFigure(.8*a,.5*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,y)),fe.add(new go.PathSegment(go.PathSegment.Line,0,0)),fe.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),fe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var me=new go.PathFigure((de+le)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+le)*y,(de+le)*a,(ge+z)*y,(de+z)*a,(ge+le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a,ge*y,(de-z)*a,(ge+le)*y,(de-le)*a,(ge+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-le)*y,(de-le)*a,(ge-z)*y,(de-z)*a,(ge-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a,ge*y,(de+z)*a,(ge-le)*y,(de+le)*a,(ge-z)*y)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=0,le=.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,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(le-b)*y,.7*a,(le-ee)*y)),b=.1,ee=oe*.1,z=.9,le=.5;var ge=new go.PathFigure((z-b)*a,le*y,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=0,le=.5,de=new go.PathFigure(0,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee+ee)*a,(le-b)*y,.8*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(le+ee)*y,(z+ee+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=.2,le=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.8*a,.5*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(z+ee)*a,(le-b)*y,.7*a,(le-ee)*y)),b=.1,ee=oe*.1,z=.9,le=.5;var fe=new go.PathFigure((z-b)*a,le*y,!0);return x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*b,z=.2,le=.5,de=new go.PathFigure(.1*a,0,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var ge=new go.PathFigure(.2*a,0,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(z+ee)*a,(le-b)*y,.9*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Resistor",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),x}),go.Shape.defineFigureGenerator("Inductor",function(te,a,y){var x=new go.Geometry,b=oe*.1,ee=.1,z=.1,le=.5,de=new go.PathFigure((z-b*.5)*a,y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.3,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.5,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.7,de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,y,(z+ee)*a,0,(z+b)*a,y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,0,(z-b)*a,y,(z-ee)*a,0)),z=.9,de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*a,y,(z+ee)*a,0,(z+b)*a,y)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(te,a,y){var x=new go.Geometry,b=oe*.5,ee=.5,z=.5,le=.5,de=new go.PathFigure((z-ee)*a,le*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-ee)*y,(z-ee)*a,(le-b)*y,(z-b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le-ee)*y,(z+ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Move,(z-ee+.1)*a,le*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee-.1)*a,le*y,z*a,(le-ee)*y,z*a,(le+ee)*y)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("Diode",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(te,a,y){var x=new go.Geometry,b=a,ee=y;a=a*.38,y=y*.6;var z=oe*.8,le=.8,de=0,ge=.5,fe=(b-a)/2,me=(ee-y)/2,be=new go.PathFigure(de*a+fe,(ge+le)*y+me,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de-le)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-le)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,(de-le+z*.5)*a+fe,ge*y+me,de*a+fe,(ge-le)*y+me,(de-le+z*.5)*a+fe,(ge-z)*y+me)),be.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de-le+z*.5)*a+fe,(ge+z)*y+me,de*a+fe,(ge+le)*y+me).close()),z=oe*.4,le=.4,de=.2,ge=.5;var ve=new go.PathFigure(de*a+fe,(ge+le)*y+me,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de-le)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-le)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-le+z*.5)*a+fe,ge*y+me,de*a+fe,(ge-le)*y+me,(de-le+z*.5)*a+fe,(ge-z)*y+me)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de-le+z*.5)*a+fe,(ge+z)*y+me,de*a+fe,(ge+le)*y+me).close()),z=oe*.2,le=.2,de=.5,ge=.5;var Pe=new go.PathFigure((de-le)*a+fe,ge*y+me,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de-le)*a+fe,(ge-z)*y+me,(de-z)*a+fe,(ge-le)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a+fe,ge*y+me,(de+z)*a+fe,(ge-le)*y+me,(de+le)*a+fe,(ge-z)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de+le)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+le)*y+me)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(de-le)*a+fe,ge*y+me,(de-z)*a+fe,(ge+le)*y+me,(de-le)*a+fe,(ge+z)*y+me)),z=oe*.4,le=.4,de=.8,ge=.5;var Ee=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a+fe,ge*y+me,(de+z)*a+fe,(ge-le)*y+me,(de+le)*a+fe,(ge-z)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de+le)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+le)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,(de+le-z*.5)*a+fe,ge*y+me,de*a+fe,(ge+le)*y+me,(de+le-z*.5)*a+fe,(ge+z)*y+me)),Ee.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de+le-z*.5)*a+fe,(ge-z)*y+me,de*a+fe,(ge-le)*y+me).close()),z=oe*.8,le=.8,de=1,ge=.5;var Ae=new go.PathFigure(de*a+fe,(ge-le)*y+me,!0);return x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(de+le)*a+fe,ge*y+me,(de+z)*a+fe,(ge-le)*y+me,(de+le)*a+fe,(ge-z)*y+me)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge+le)*y+me,(de+le)*a+fe,(ge+z)*y+me,(de+z)*a+fe,(ge+le)*y+me)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,(de+le-z*.5)*a+fe,ge*y+me,de*a+fe,(ge+le)*y+me,(de+le-z*.5)*a+fe,(ge+z)*y+me)),Ae.add(new go.PathSegment(go.PathSegment.Bezier,de*a+fe,(ge-le)*y+me,(de+le-z*.5)*a+fe,(ge-z)*y+me,de*a+fe,(ge-le)*y+me).close()),x}),go.Shape.defineFigureGenerator("Email",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,0,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),x}),go.Shape.defineFigureGenerator("Ethernet",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var ee=new go.PathFigure(.1*a,y,!0,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var z=new go.PathFigure(.6*a,y,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var le=new go.PathFigure(0,.5*y,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),le.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),le.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),le.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),x}),go.Shape.defineFigureGenerator("Power",function(te,a,y){var x=new go.Geometry,b=oe*.4,ee=.4,z=.5,le=.5,de=ye(),ge=ye(),fe=ye(),me=ye();pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.5,de,de,ge,fe,me);var be=Se(ge.x,ge.y),ve=new go.PathFigure(ge.x*a,ge.y*y,!0);x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z+ee)*a,(le+b)*y,(z+b)*a,(le+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,(z-b)*a,(le+ee)*y,(z-ee)*a,(le+b)*y)),pe(z-ee,le,z-ee,le-b,z-b,le-ee,z,le-ee,.5,fe,me,ge,de,de),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,fe.x*a,fe.y*y,me.x*a,me.y*y)),b=oe*.3,ee=.3,pe(z-ee,le,z-ee,le-b,z-b,le-ee,z,le-ee,.5,fe,me,ge,de,de),ve.add(new go.PathSegment(go.PathSegment.Line,ge.x*a,ge.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-ee)*a,le*y,me.x*a,me.y*y,fe.x*a,fe.y*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+ee)*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+ee)*a,le*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),pe(z,le-ee,z+b,le-ee,z+ee,le-b,z+ee,le,.5,de,de,ge,fe,me),ve.add(new go.PathSegment(go.PathSegment.Bezier,ge.x*a,ge.y*y,me.x*a,me.y*y,fe.x*a,fe.y*y).close());var ve=new go.PathFigure(.45*a,0,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),je(de),je(ge),je(fe),je(me),je(be),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function ee(z,le,de){z.add(new go.PathSegment(go.PathSegment.Move,(.3+le)*a,(.8+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+le)*a,(.5+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+le)*a,(.5+de)*y)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+le)*a,(.8+de)*y).close())}return ee(b,0,0),ee(b,.4,0),ee(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(te,a,y){var x=new go.Geometry,b=.5,ee=0,z=0,le=b*oe,de=.4*Math.SQRT2/2+.5,ge=.5-.5*Math.SQRT2/2,fe=1,me=.5,be=.5,ve=0,Pe=new go.PathFigure(de*a,(1-ge)*y,!1);return x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,me*y,fe*a,.7*y,fe*a,me*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+ee)*a,(ve+ee)*y,(.5+b+ee)*a,(.5-le+ee)*y,(.5+le+ee)*a,(.5-b+ee)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+z)*y,(.5-le+ee)*a,(.5-b+z)*y,(.5-b+ee)*a,(.5-le+z)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+le+z)*y,(.5-le+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),Pe.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var ee=new go.PathFigure(.45*a,.73*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var z=.5-.285,le=.5,de=z,ge=Math.PI/4,fe=4*(1-Math.cos(ge))/(3*Math.sin(ge)),me=fe*.5,be=z,ve=z,Pe=fe*be,Ee=fe*ve;ee.add(new go.PathSegment(go.PathSegment.Bezier,(le-be)*a,de*y,(le-(Pe+be)/2)*a,(de+(ve+Ee)/2)*y,(le-be)*a,(de+Ee)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(de-ve)*y,(le-be)*a,(de-Ee)*y,(le-Pe)*a,(de-ve)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(le+be)*a,de*y,(le+Pe)*a,(de-ve)*y,(le+be)*a,(de-Ee)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(le+be)*a,(de+Ee)*y,(le+(Pe+be)/2)*a,(de+(ve+Ee)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Ae=new go.PathFigure(.2*a,y,!1);x.add(Ae),Ae.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Ce=new go.PathFigure(.8*a,y,!1);return x.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.2*a,.2*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var ee=new go.PathFigure(a,y,!1);x.add(ee);var z=new go.PathFigure(.1*a,y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Caution",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var ee=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),x}),go.Shape.defineFigureGenerator("Recycle",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var ee=new go.PathFigure(.475*a,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var z=new go.PathFigure(.675*a,.575*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=new go.PathFigure(a,b*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+ee)*y,(b+ee)*a,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-ee)*a,y,0,(b+ee)*y)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-ee)*y,(b-ee)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+ee)*a,0,a,(b-ee)*y));var le=new go.PathFigure(b*a,0,!1);return x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),le.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),le.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),le.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),le.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),x}),go.Shape.defineFigureGenerator("Package",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,.15*y,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(0,.5*y,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),x}),go.Shape.defineFigureGenerator("Component",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var ee=new go.PathFigure(0,.2*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var z=new go.PathFigure(0,.6*y,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var ee=new go.PathFigure(.15*a,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(a,.8*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var z=.1,le=oe*.1,de=.2,ge=.9,fe=new go.PathFigure((de-z)*a,ge*y,!0);x.add(fe),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-z)*y,(de-z)*a,(ge-le)*y,(de-le)*a,(ge-z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de+z)*a,ge*y,(de+le)*a,(ge-z)*y,(de+z)*a,(ge-le)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+z)*y,(de+z)*a,(ge+le)*y,(de+le)*a,(ge+z)*y)),fe.add(new go.PathSegment(go.PathSegment.Bezier,(de-z)*a,ge*y,(de-le)*a,(ge+z)*y,(de-z)*a,(ge+le)*y).close()),z=.1,le=oe*.1,de=.8,ge=.9;var me=new go.PathFigure((de-z)*a,ge*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge-z)*y,(de-z)*a,(ge-le)*y,(de-le)*a,(ge-z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de+z)*a,ge*y,(de+le)*a,(ge-z)*y,(de+z)*a,(ge-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,de*a,(ge+z)*y,(de+z)*a,(ge+le)*y,(de+le)*a,(ge+z)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(de-z)*a,ge*y,(de-le)*a,(ge+z)*y,(de-z)*a,(ge+le)*y).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),x}),go.Shape.defineFigureGenerator("Forklift",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var ee=new go.PathFigure(0,.5*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var z=new go.PathFigure(.5*a,.8*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var le=new go.PathFigure(.5*a,.7*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var de=.1,ge=oe*.1,fe=.1,me=.9,be=new go.PathFigure((fe-de)*a,me*y,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-de)*y,(fe-de)*a,(me-ge)*y,(fe-ge)*a,(me-de)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,me*y,(fe+ge)*a,(me-de)*y,(fe+de)*a,(me-ge)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me+de)*y,(fe+de)*a,(me+ge)*y,(fe+ge)*a,(me+de)*y)),be.add(new go.PathSegment(go.PathSegment.Bezier,(fe-de)*a,me*y,(fe-ge)*a,(me+de)*y,(fe-de)*a,(me+ge)*y)),de=.1,ge=oe*.1,fe=.4,me=.9;var ve=new go.PathFigure((fe-de)*a,me*y,!0);return x.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me-de)*y,(fe-de)*a,(me-ge)*y,(fe-ge)*a,(me-de)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe+de)*a,me*y,(fe+ge)*a,(me-de)*y,(fe+de)*a,(me-ge)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,fe*a,(me+de)*y,(fe+de)*a,(me+ge)*y,(fe+ge)*a,(me+de)*y)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(fe-de)*a,me*y,(fe-ge)*a,(me+de)*y,(fe-de)*a,(me+ge)*y)),x}),go.Shape.defineFigureGenerator("RailShipment",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var ee=new go.PathFigure(.45*a,.7*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var z=new go.PathFigure(.55*a,.4*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var fe=.05,me=oe*.05,be=.175,ve=.95,le=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),le.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.375,ve=.95,de=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.625,ve=.95,ge=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y));var fe=.05,me=oe*.05,be=.825,ve=.95,Pe=new go.PathFigure((be-fe)*a,ve*y,!0);x.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve-fe)*y,(be-fe)*a,(ve-me)*y,(be-me)*a,(ve-fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be+fe)*a,ve*y,(be+me)*a,(ve-fe)*y,(be+fe)*a,(ve-me)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,be*a,(ve+fe)*y,(be+fe)*a,(ve+me)*y,(be+me)*a,(ve+fe)*y)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(be-fe)*a,ve*y,(be-me)*a,(ve+fe)*y,(be-fe)*a,(ve+me)*y).close());var Ee=new go.PathFigure(0,y,!1);return x.add(Ee),Ee.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var z=new go.PathFigure(.15*a,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var le=.05,de=oe*.05,ge=.35,fe=.775,me=new go.PathFigure((ge-le)*a,fe*y,!0);return x.add(me),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(fe-le)*y,(ge-le)*a,(fe-de)*y,(ge-de)*a,(fe-le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge+le)*a,fe*y,(ge+de)*a,(fe-le)*y,(ge+le)*a,(fe-de)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,ge*a,(fe+le)*y,(ge+le)*a,(fe+de)*y,(ge+de)*a,(fe+le)*y)),me.add(new go.PathSegment(go.PathSegment.Bezier,(ge-le)*a,fe*y,(ge-de)*a,(fe+le)*y,(ge-le)*a,(fe+de)*y).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Bookmark",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),x}),go.Shape.defineFigureGenerator("Globe",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),x}),go.Shape.defineFigureGenerator("Wave",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),x}),go.Shape.defineFigureGenerator("Operator",function(te,a,y){var x=new go.Geometry,b=.3,ee=oe*.3,z=.5,le=.7,de=new go.PathFigure((z-b)*a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y));var ge=new go.PathFigure(0,.7*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),x}),go.Shape.defineFigureGenerator("Battery",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var ee=new go.PathFigure(0,.6*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),x}),go.Shape.defineFigureGenerator("Delete",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=.5,le=.5,de=new go.PathFigure((z-b)*a,le*y,!0);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y));var ge=new go.PathFigure(.15*a,.5*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),x}),go.Shape.defineFigureGenerator("Flag",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),x}),go.Shape.defineFigureGenerator("Help",function(te,a,y){var x=new go.Geometry,b=.5,ee=oe*.5,z=.5,le=.5,de=new go.PathFigure((z-b)*a,le*y,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y).close()),b=.05,ee=oe*.05,z=.5,le=.8;var ge=new go.PathFigure((z-b)*a,le*y,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le-b)*y,(z-b)*a,(le-ee)*y,(z-ee)*a,(le-b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*a,le*y,(z+ee)*a,(le-b)*y,(z+b)*a,(le-ee)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(le+b)*y,(z+b)*a,(le+ee)*y,(z+ee)*a,(le+b)*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*a,le*y,(z-ee)*a,(le+b)*y,(z-b)*a,(le+ee)*y).close()),ge.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ge.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),x}),go.Shape.defineFigureGenerator("Location",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),x}),go.Shape.defineFigureGenerator("Unlocked",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),x}),go.Shape.defineFigureGenerator("Gear",function(te,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),x}),go.Shape.defineFigureGenerator("Map",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),x}),go.Shape.defineFigureGenerator("Eject",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var ee=new go.PathFigure(0,y*.6,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var ee=new go.PathFigure(.126*a,.85*y,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var z=new go.PathFigure(.402*a,.85*y,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var le=new go.PathFigure(.678*a,.85*y,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),le.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),le.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var de=new go.PathFigure(.5*a,.1*y,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),de.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,y*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var ee=new go.PathFigure(a*.204,y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var z=new go.PathFigure(a*.408,y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var le=new go.PathFigure(a*.612,y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),le.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),le.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var de=new go.PathFigure(a*.816,y,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var ee=new go.PathFigure(a*.055,.07*y,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var z=new go.PathFigure(a*.055,.13*y,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var le=new go.PathFigure(a*.055,.18*y,!0);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),le.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),le.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var de=new go.PathFigure(a*1,0,!0);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),de.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),de.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),x}),go.Shape.defineFigureGenerator("Key",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(0,0,!1);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var z=new go.PathFigure(a*.11,y*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var le=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),le.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var de=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),de.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(te,a,y){var x=new go.Geometry,b=8,ee=b*oe,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,ee,ee,0).close());var le=new go.PathFigure(a*.83,0,!1);x.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),le.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var de=new go.PathFigure(a*.83,y*1,!1);x.add(de),de.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),de.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var ge=new go.PathFigure(a*.78,y*.05,!1);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),ge.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(te,a,y){var x=te?te.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,a/3),x=Math.min(x,y/3);var b=x*oe,ee=y*.8,z=new go.Geometry,le=new go.PathFigure(x,0,!0);return z.add(le),le.add(new go.PathSegment(go.PathSegment.Line,a-x,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,a,x,a-b,0,a,b)),le.add(new go.PathSegment(go.PathSegment.Line,a,ee-x)),le.add(new go.PathSegment(go.PathSegment.Bezier,a-x,ee,a,ee-b,a-b,ee)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),le.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),le.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),le.add(new go.PathSegment(go.PathSegment.Line,x,ee)),le.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-x,b,ee,0,ee-b)),le.add(new go.PathSegment(go.PathSegment.Line,0,x)),le.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var ee=new go.PathFigure(a*1,y*.55,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(te,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var ee=new go.PathFigure(a*.1,y*.2,!0);x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var z=new go.PathFigure(a*.28,y*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(te,a,y){var x=new go.Geometry,b=15,ee=b*oe,z=new go.PathFigure(a*.62,y*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),z.add(new go.PathSegment(go.PathSegment.Line,b,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),ee>1?(x.spot1=new go.Spot(0,0,ee,ee),x.spot2=new go.Spot(1,1,-ee,-ee)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var z=new go.PathFigure(a*.4,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);x.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var z=new go.PathFigure(a*.5,y*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var ee=new go.PathFigure(a*.235,y*.28,!0);return x.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(te,a,y){var x=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},5559:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var ct={},ot="5.0",Se={},ye=null,je=!1,E=!1,pe=null,he=!1,ce=null,oe=null,ie=0;ie4?parseFloat(ze):5};ct.setHTML5Codebase=function(ze,ke){oe=ze,He(ze,ke)},ct.setJavaCodebase=ct.setJavaCodebaseVersion=ct.isCompiledInstalled=ct.setPreCompiledScriptPath=ct.setPreCompiledResourcePath=function(){},ct.setHTML5CodebaseVersion=function(ze,ke){var Ne=parseFloat(ze);if(Ne!==NaN&&Ne<5){console.log("The GeoGebra HTML5 codebase version "+Ne+" is deprecated. Using version latest instead.");return}ce=ze,Ye(ze,ke)},ct.getHTML5CodebaseVersion=function(){return te},ct.getParameters=function(){return Se},ct.setFontsCSSURL=function(ze){z=ze},ct.setGiacJSURL=function(ze){},ct.setJNLPFile=function(ze){se=ze},ct.setJNLPBaseDir=function(ze){},ct.inject=function(){function ze(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var ke="auto",Ne=Se.id,Ve,qe=!1,rt=0;rt=5)return!0;var ze=ct.getAppletObject();return ze&&typeof ze.recalculateEnvironments=="function"?(ze.recalculateEnvironments(),!0):!1},ct.startAnimation=function(){var ze=ct.getAppletObject();return ze&&typeof ze.startAnimation=="function"?(ze.startAnimation(),!0):!1},ct.stopAnimation=function(){var ze=ct.getAppletObject();return ze&&typeof ze.stopAnimation=="function"?(ze.stopAnimation(),!0):!1},ct.getAppletObject=function(){var ze=Se.id!==void 0?Se.id:"ggbApplet";return window[ze]},ct.resize=function(){};var Pe=function(ze,ke,Ne){var Ve=document.createElement("param");Ve.setAttribute("name",ke),Ve.setAttribute("value",Ne),ze.appendChild(Ve)},Ee=function(ze){return ze&&ze!=="false"},Ae=function(ze,ke,Ne){de(te)<=4.2&&(Ne=!0);var Ve=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==te||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(Ve=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var qe=document.createElement("div");qe.classList.add("appletParameters","notranslate");var rt=ke.width,Qe=ke.height;if(ke.disableAutoScale=ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():ke.disableAutoScale,ke.width!==void 0)if(de(te)<=4.4)Ee(ke.showToolBar)&&(ke.height-=7),Ee(ke.showAlgebraInput)&&(ke.height-=37),ke.width<605&&Ee(ke.showToolBar)&&(ke.width=605,rt=605);else{var Ue=100;(Ee(ke.showToolBar)||Ee(ke.showMenuBar))&&(ke.hasOwnProperty("customToolBar")&&(ke.customToolbar=ke.customToolBar),Ue=Ee(ke.showMenuBar)?245:155),rt=5?(ke.appletOnLoad=function($e){var tt=ze.querySelector(".ggb_preview");tt&&tt.parentNode.removeChild(tt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Te),window.GGBT_wsf_view&&$(window).trigger("resize"),Ze($e)},We||Te.appendChild(at)):qe.appendChild(at),Te.appendChild(qe),We||ze.appendChild(Te),setTimeout(function(){ct.resize()},1)}else{var et=document.createElement("div");et.className="applet_scaler",et.style.position="relative",et.style.display="block",et.appendChild(qe),ze.appendChild(et),ke.appletOnLoad=function($e){ct.resize(),Ze($e)}}function Je($e,tt){tt&&typeof tt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement($e,tt.appletOnLoad):renderGGBElement($e),Ge("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",tt)}function Ie($e,tt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:$e,params:tt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(st){Je(st.article,st.params)}),html5AppletsToProcess=null)},de(te)<5&&($e.className+=" geogebraweb")):Je($e,tt)}if(Ve){scriptLoadStarted=!0;for(var xe=0;xe0?(Be.remove(),Te.attr("id","fullscreencontent").show(),jQuery(Ze).append(Te),window.dispatchEvent(new Event("resize"))):Ae(Be,ke,!1),window.GGBT_wsf_view.launchFullScreen(Ze)}else ne=Ve,Ae(ze,ke,!1);if(!window.GGBT_wsf_view)for(Qe=0;Qeze/4*3&&(Be=ze/4*3),Ze=Be/5.8,Ue.setAttribute("src",b),Ue.setAttribute("width",Be),Ue.setAttribute("height",Ze);var Te=(ze-Be)/2,We=(ke-Ze)/2;Ue.style.left=Te+"px",Ue.style.top=We+"px",qe.appendChild(Ue)}}return qe.appendChild(Qe),qe},Fe=function(ze){return ze=ze.toLowerCase(),ze==="html5"||ze==="screenshot"?ze:"html5"},Le=["web","webSimple","web3d","tablet","tablet3d","phone"],Ye=function(ze,ke){if(te=ze,ke){He(te,!0);return}var Ne=!je;if(Ne){var Ve=de(te);!isNaN(Ve)&&Ve<4.4&&(Ne=!1)}var qe,rt;window.location.protocol.substr(0,4)==="http"?qe=window.location.protocol:qe="http:";var Qe=te.indexOf("//");Qe>0?rt=te:Qe===0?rt=qe+te:rt="https://www.geogebra.org/apps/5.2.814.0/";for(var Ue in Le)if(te.slice(Le[Ue].length*-1)===Le[Ue]||te.slice((Le[Ue].length+1)*-1)===Le[Ue]+"/"){He(rt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ne&&!ye.is3D&&!ye.AV&&!ye.SV&&!ye.CV&&!ye.EV2&&!ye.CP&&!ye.PC&&!ye.DA&&!ye.FI&&!ye.PV&&!Ee(Se.showToolBar)&&!Ee(Se.showMenuBar)&&!Ee(Se.showAlgebraInput)&&!Ee(Se.enableRightClick)&&(!Se.appName||Se.appName=="classic")?rt+="webSimple/":rt+="web3d/",He(rt,!1)},He=function(ze,ke){if(ze.requirejs){ae=ze;return}ze.slice(-1)!=="/"&&(ze+="/"),ae=ze,ke===null&&(ke=ze.indexOf("http")===-1),re=ke,a="web.nocache.js",y=!1;var Ne=ae.split("/");Ne.length>1&&(!ke&&Ne[Ne.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Le.indexOf(Ne[Ne.length-2])>=0&&(a=Ne[Ne.length-2]+".nocache.js")),Ne=ze.split("/"),te=Ne[Ne.length-3],te.substr(0,4)==="test"?te=te.substr(4,1)+"."+te.substr(5,1):(te.substr(0,3)==="war"||te.substr(0,4)==="beta")&&(te="5.0");var Ve=parseFloat(te);Ve!==NaN&&Ve<5&&ze.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Ve+" is deprecated. Using version latest instead."),Ye("5.0",ke))},Ge=function(ze,ke){window.console&&window.console.log&&(!ke||typeof ke.showLogging=="undefined"||ke.showLogging&&ke.showLogging!=="false")&&console.log(ze)};Se.material_id!==void 0?me(Ke):Ke();function Ke(){var ze=ot;ce!==null?ze=ce:parseFloat(ze)<5&&(ze="5.0"),Ye(ze,!1),oe!==null&&He(oe,re),he=!0}return ct},GGBAppletUtils=function(){"use strict";function ct(){return window.GGBT_wsf_edit!==void 0}function ot(he,ce){ce!=1?(he.style.transformOrigin="0% 0% 0px",he.style.webkitTransformOrigin="0% 0% 0px",he.style.transform="scale("+ce+","+ce+")",he.style.webkitTransform="scale("+ce+","+ce+")",he.style.maxWidth="initial",he.querySelector(".ggb_preview")!==null&&(he.querySelector(".ggb_preview").style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[0]!==void 0&&(he.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),he.querySelectorAll(".ggb_preview img")[1]!==void 0&&(he.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(he.style.transform="none",he.style.webkitTransform="none")}function Se(he,ce,oe,ie,ue,se){var ae=null;if(se!=null&&se!="")for(var re=he.parentNode;re!=null;)if((" "+re.className+" ").indexOf(" "+se+" ")>-1){ae=re;break}else re=re.parentNode;var ne=0,te=0,a=0,y=0,x=0,b=0,ee=0;if(ae)ne=ae.offsetWidth,te=Math.max(ie?ae.offsetWidth:0,ae.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ne=Math.min(window.innerWidth,document.documentElement.clientWidth),te=Math.min(window.innerHeight,document.documentElement.clientHeight),a=ne):(ne=window.innerWidth,te=window.innerHeight,a=window.innerWidth),he){var z=he.getBoundingClientRect();z.left>0&&z.left<=ne&&(ue===void 0||!ue)&&(document.dir==="rtl"?(x=ne-z.width-z.left,b=a<=480?10:30):(b=z.left,x=a<=480?10:30),y=b+x)}if(he&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var le=he.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return he&&((oe===void 0||!oe)&&ce>0&&ce+y1&&(se=!0)),ce&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se=!0),!(he.hasOwnProperty("disableAutoScale")&&he.disableAutoScale))ue=ye(he,ce,se,oe,he.scaleContainerClass);else return ie;return se&&(!he.hasOwnProperty("scale")||ie===1)?ue:Math.min(ie,ue)}function E(he){var ce=Math.min(window.innerWidth,document.documentElement.clientWidth),oe=Math.min(window.innerHeight,document.documentElement.clientHeight),ie=he.getBoundingClientRect(),ue=(ce-ie.width)/2,se=(oe-ie.height)/2;se<0&&(se=0),he.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(ue<40?he.style.left="40px":he.style.left=ue+"px",he.style.top=se+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(se<40?he.style.top="40px":he.style.top=se+"px",he.style.left=ue+"px")}function pe(he,ce){var oe=he.querySelector(".appletParameters");if(oe){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ce.id!==oe.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(he)}if(oe.parentElement&&/fullscreen/.test(oe.parentElement.className))return;var ie=je(ce,he);ct()&&oe.setAttribute("data-param-scale",ie);for(var ue=null,se=0;se=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(ct){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ct){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ct){var ot=c[ct];return ot==null?null:ot},r=d,webModule.__errFn=e}function B(){function ct(he){var ce=he.lastIndexOf(rb);ce==-1&&(ce=he.length);var oe=he.indexOf(sb);oe==-1&&(oe=he.length);var ie=he.lastIndexOf(tb,Math.min(oe,ce));return ie>=O?he.substring(O,ie+P):W}function ot(he){if(!he.match(/^\w+:\/\//)){var ce=o.createElement(ub);ce.src=he+vb,he=ct(ce.src)}return he}function Se(){var he=__gwt_getMetaProperty(wb);return he!=null?he:W}function ye(){for(var he=o.getElementsByTagName(_),ce=O;ceO?he[he.length-P].href:W}function E(){var he=o.location;return he.href==he.protocol+zb+he.host+he.pathname+he.search+he.hash}var pe=Se();return pe==W&&(pe=ye()),pe==W&&(pe=je()),pe==W&&E()&&(pe=ct(o.location.href)),pe=ot(pe),pe}function C(ct){return ct.match(/^\//)||ct.match(/^[a-zA-Z]+:\/\//)?ct:webModule.__moduleBase+ct}function D(){var ct=[],ot=O,Se=[],ye=[];function je(he){var ce=ye[he](),oe=Se[he];if(ce in oe)return ce;var ie=[];for(var ue in oe)ie[oe[ue]]=ue;throw r&&r(he,ie,ce),null}if(__gwt_isKnownPropertyValue=function(he,ce){return ce in Se[he]},webModule.__getPropMap=function(){var he={};for(var ce in Se)Se.hasOwnProperty(ce)&&(he[ce]=je(ce));return he},webModule.__computePropValue=je,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var E;try{E=Cb;var pe=E.indexOf(Db);pe!=-1&&(ot=parseInt(E.substring(pe+P),$),E=E.substring(O,pe))}catch(he){}return webModule.__softPermutationId=ot,C(E+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},49291:function(ct,ot,Se){"use strict";Se.d(ot,{Ax:function(){return pe},Ds:function(){return he},KI:function(){return oe},SI:function(){return E},f1:function(){return je}});var ye=Se(38446);function je(ie){let ue=!0;if(ie.length>0){for(let se=0;seee in b?ce(b,ee,{enumerable:!0,configurable:!0,writable:!0,value:z}):b[ee]=z,ne=(b,ee)=>{for(var z in ee||(ee={}))se.call(ee,z)&&re(b,z,ee[z]);if(ue)for(var z of ue(ee))ae.call(ee,z)&&re(b,z,ee[z]);return b},te=(b,ee)=>oe(b,ie(ee)),a=(b,ee,z)=>new Promise((le,de)=>{var ge=be=>{try{me(z.next(be))}catch(ve){de(ve)}},fe=be=>{try{me(z.throw(be))}catch(ve){de(ve)}},me=be=>be.done?le(be.value):Promise.resolve(be.value).then(ge,fe);me((z=z.apply(b,ee)).next())}),x=({description:b,code:ee,showData:z={},sendParams:le={},allShow:de=!1})=>{const ge=[{img:Se(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:b,show:z==null?void 0:z.ai_exam_question,type:1},{img:Se(68427),name:"\u8BED\u6CD5\u68C0\u67E5",des:"\u68C0\u6D4B\u4EE3\u7801\u4E2D\u7684\u8BED\u6CD5\u9519\u8BEF\uFF0C\u63D0\u4F9B\u4FEE\u590D\u5EFA\u8BAE",description:"",query:ee,show:z==null?void 0:z.ai_syntax_check,type:5},{img:Se(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:b,query:ee,show:z==null?void 0:z.ai_code_diagnosis,type:2},{img:Se(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:b,query:ee,show:z==null?void 0:z.ai_guidance,type:3}],fe=me=>{const{setChatData:be,setLoading:ve,getData:Pe,clearStatus:Ee,typing:Ae,setImageGenerator:Ce,renderChatItems:_e}=me;let we=ge;return de||(we=ge.filter(Me=>Me.show)),ye.createElement("div",{className:`${E.bigTips} mt10`},we.map((Me,Oe)=>ye.createElement("div",{onClick:()=>a(void 0,null,function*(){if(Ae){pe.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}Ce(!1),ve(!0),Ee();const Fe=_e(Me.query);Fe[0].show=!1,Fe[1].imageGenerator=!1,be(Fe),Pe("",ne({type:Me.type,description:Me.description,query:Me.query,file_ids:[],history:[],is_chat:!1,image_generator:!1},le))}),key:Oe,className:E.item},ye.createElement(he.Z,{align:"middle"},ye.createElement("img",{className:"mr10",src:Me.img}),ye.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},Me.name)),ye.createElement("div",{className:"mt10",style:{color:"#434D6C"}},Me.des))))};return ye.createElement(je.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:de?!1:!(z!=null&&z.ai_q_and_a),headFunctionNode:fe,showSwitchingModel:!0,showImageGenerator:!0,fetchData:te(ne({},le),{is_chat:!0}),topPercentage:(le==null?void 0:le.source)==="hack"?.52:void 0,headNode:ye.createElement(ye.Fragment,null,ye.createElement("div",{className:"c-grey-333 font22"},ye.createElement("span",{className:"mr5"},"\u{1F44B}"),"\u55E8\uFF0C\u6211\u662F\u5934\u6B4C\u667A\u80FD\u52A9\u6559\uFF0C\u60A8\u7684\u6559\u5B66\u597D\u5E2E\u624B\u3002"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434D6C"}},"\u6211\u53EF\u4EE5\u8FD0\u7528\u667A\u80FD\u5BA1\u9898\u7684\u529F\u80FD\uFF0C\u5E2E\u52A9\u60A8\u8F7B\u677E\u7406\u89E3\u5E76\u62C6\u89E3\u5B9E\u8DF5\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u6E05\u6670\u660E\u4E86\u7684\u89E3\u9898\u601D\u8DEF\u3002\u5F53\u60A8\u5728\u7F16\u5199\u4EE3\u7801\u8FC7\u7A0B\u4E2D\u9047\u5230\u95EE\u9898\u65F6\uFF0C\u6211\u53EF\u4EE5\u63D0\u4F9B\u4EE3\u7801\u8BCA\u65AD\u670D\u52A1\uFF0C\u5206\u6790\u60A8\u7684\u4EE3\u7801\u5E76\u7ED9\u51FA\u5177\u4F53\u7684\u4FEE\u6B63\u5EFA\u8BAE\u3002\u5982\u679C\u60A8\u9700\u8981\u8FDB\u4E00\u6B65\u7684\u5E2E\u52A9\uFF0C\u6211\u8FD8\u53EF\u4EE5\u63D0\u4F9B\u8BE6\u7EC6\u7684AI\u6307\u5BFC\uFF0C\u4E3A\u60A8\u91CF\u8EAB\u5B9A\u5236\u53C2\u8003\u7684\u89E3\u51B3\u65B9\u6848\u3002\u671F\u5F85\u4E0E\u60A8\u643A\u624B\u5171\u8FDB\uFF0C\u9AD8\u6548\u3001\u4F18\u8D28\u5730\u5B8C\u6210\u6BCF\u4E00\u9879\u5B9E\u8DF5\u4EFB\u52A1\uFF01"),ye.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json"})}},5825:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return mn}});var ye=Se(59301),je=Se(8591),E=Se(54580),pe=Se(43418),he=Se(6848),ce=Se(92832),oe=Se(3113),ie=Se(43428),ue=Se(71418),se=Se(92310),ae=Se.n(se),re=Se(19999),ne=Se(77596),te=Se(66422),a=Se(14179),y=Se(56102),x={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},b=Se(35328),ee=Se(30084),z=Se(2878),le=Se(50484),de=Se(59301),ge=Object.defineProperty,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(Ct,Ot,At)=>Ot in Ct?ge(Ct,Ot,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Ot]=At,Pe=(Ct,Ot)=>{for(var At in Ot||(Ot={}))me.call(Ot,At)&&ve(Ct,At,Ot[At]);if(fe)for(var At of fe(Ot))be.call(Ot,At)&&ve(Ct,At,Ot[At]);return Ct},Ee=(Ct,Ot)=>{var At={};for(var tn in Ct)me.call(Ct,tn)&&Ot.indexOf(tn)<0&&(At[tn]=Ct[tn]);if(Ct!=null&&fe)for(var tn of fe(Ct))Ot.indexOf(tn)<0&&be.call(Ct,tn)&&(At[tn]=Ct[tn]);return At},Ae=(Ct,Ot,At)=>new Promise((tn,gn)=>{var dt=jt=>{try{ft(At.next(jt))}catch(Yt){gn(Yt)}},gt=jt=>{try{ft(At.throw(jt))}catch(Yt){gn(Yt)}},ft=jt=>jt.done?tn(jt.value):Promise.resolve(jt.value).then(dt,gt);ft((At=At.apply(Ct,Ot)).next())}),_e=({value:Ct,streamingStatus:Ot,onFinish:At,cancelIndex:tn,loadImage:gn})=>{const[dt,gt]=(0,ye.useState)(""),ft=(0,ye.useRef)(Ct),jt=(0,ye.useRef)(Ot),Yt=(0,ye.useRef)(0),Qt=(0,ye.useRef)(null),jn=(0,ye.useRef)(null),hn=(0,ye.useRef)(!0),[Rn,Wn]=(0,ye.useState)(!1),lr=(0,ye.useRef)(!1);(0,ye.useEffect)(()=>{jt.current=Ot},[Ot]),(0,ye.useEffect)(()=>{ft.current=Ct},[Ct]),(0,ye.useEffect)(()=>{if(gn){gt(Tt(`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A -`+dt.current));return}return Gn(!0),Kt.current=setInterval(zt,70),()=>{clearInterval(Kt.current)}},[]),(0,ye.useEffect)(()=>{Un&&(ht(Tt(dt.current)),clearInterval(Kt.current),Gn(!1),At())},[tn]);const zt=()=>Ae(void 0,null,function*(){const Ut=dt.current[Qt.current];Ut!==void 0?(ht(Pt=>Tt(Pt,Ut)),Qt.current++,clearInterval(Kt.current),Kt.current=setInterval(zt,280/(dt.current.length-Qt.current))):Bt.current===!1&&(ht(Tt(dt.current)),clearInterval(Kt.current),Gn(!1),At())}),Tt=(Ut,Pt="")=>(Ut=Ut+Pt,Ut.split(new RegExp("(```.*?```)","gs")).map(Xt=>Xt.startsWith("```")?Xt:Xt.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$")).join("")),St=()=>{fn.current&&(fn.current=!1,setTimeout(At,500))};return de.createElement(de.Fragment,null,de.createElement("div",{className:`${x.answer} fadeIn animated`,ref:Fn},de.createElement(re.U,{remarkPlugins:[ee.Z],rehypePlugins:[b.Z,te.Z],components:{code(Ut){var Pt=Ut,{node:Lt,inline:Ft,className:Xt,children:nn}=Pt,mn=Ee(Pt,["node","inline","className","children"]);const bn=/language-(\w+)/.exec(Xt||"");return!Ft&&bn?de.createElement("div",{className:x.codeCopy},de.createElement(y.CopyToClipboard,{text:String(nn).replace(/\n$/,""),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},de.createElement("button",null,"\u590D\u5236")),de.createElement(ne.Z,Pe({style:a.Z,language:bn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},mn),String(nn||"").replace(/\n$/,""))):de.createElement("code",Pe({className:Xt},mn),nn)},img({node:Ut}){var Pt;const Lt=(Pt=Ut.properties)==null?void 0:Pt.src;return de.createElement("div",{className:x.imgWrap,onClick:()=>le.Z.publish("preview-image",Lt)},de.createElement("img",{src:Lt,onLoad:St}))}}},`${ft}${Un&&!fr.current?"__":""}`)))},we={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},Me=Se(59301),Oe=(Ct,Dt,At)=>new Promise((tn,cn)=>{var ft=Bt=>{try{dt(At.next(Bt))}catch(Qt){cn(Qt)}},ht=Bt=>{try{dt(At.throw(Bt))}catch(Qt){cn(Qt)}},dt=Bt=>Bt.done?tn(Bt.value):Promise.resolve(Bt.value).then(ft,ht);dt((At=At.apply(Ct,Dt)).next())}),Le=({value:Ct="",streamingStatus:Dt,onFinish:At,cancelIndex:tn,time:cn,loading:ft})=>{const[ht,dt]=(0,ye.useState)(""),[Bt,Qt]=(0,ye.useState)(!0),Kt=(0,ye.useRef)(Ct),Fn=(0,ye.useRef)(Dt),fn=(0,ye.useRef)(0),Un=(0,ye.useRef)(null),[Gn,fr]=(0,ye.useState)(!1),zt=70;(0,ye.useEffect)(()=>{Fn.current=Dt},[Dt]),(0,ye.useEffect)(()=>{Kt.current=Ct},[Ct]),(0,ye.useEffect)(()=>(fr(!0),Un.current=setInterval(Tt,zt),()=>{clearInterval(Un.current)}),[]),(0,ye.useEffect)(()=>{Gn&&(dt(Kt.current),clearInterval(Un.current),fr(!1),At())},[tn]);const Tt=()=>Oe(void 0,null,function*(){const St=Kt.current[fn.current];St!==void 0?(dt(Ut=>Ut+St),fn.current++,clearInterval(Un.current),Un.current=setInterval(Tt,280/(Kt.current.length-fn.current))):Fn.current===!1&&(dt(Kt.current),clearInterval(Un.current),fr(!1),At())});return Me.createElement("div",{className:`${we.reasoning} fadeIn animated`},Me.createElement("div",{className:we.btn,onClick:()=>Qt(!Bt)},Me.createElement("i",{className:"iconfont icon-shendusikao"}),cn?Me.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",cn," \u79D2\uFF09"):Me.createElement("span",null,"\u601D\u8003\u4E2D..."),Bt?Me.createElement("b",{className:"iconfont icon-shouqi6"}):Me.createElement("b",{className:"iconfont icon-zhankai6"})),ft&&Me.createElement(ue.Z,{spinning:!0,className:"mt20"}),Bt&&!ft&&Me.createElement("div",{className:we.content},ht,Gn?Me.createElement("span",{className:"aiBlink"},"__"):""))},Ye={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},He=Se(81327),Ge=Object.defineProperty,Ke=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ne=(Ct,Dt,At)=>Dt in Ct?Ge(Ct,Dt,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Dt]=At,Ve=(Ct,Dt)=>{for(var At in Dt||(Dt={}))ze.call(Dt,At)&&Ne(Ct,At,Dt[At]);if(Ke)for(var At of Ke(Dt))ke.call(Dt,At)&&Ne(Ct,At,Dt[At]);return Ct};const qe=Ct=>React.createElement("svg",Ve({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Ct),React.createElement("path",{d:"M1019.407 620.8 891.834 397.781 946.49 293.12a29.099 29.099 0 0 0 6.4-36.395l-70.187-126.592a30.08 30.08 0 0 0-24.576-13.653H597.519L539.194 14.507a27.35 27.35 0 0 0-20.907-14.55H380.644a29.141 29.141 0 0 0-24.618 14.55v5.546L225.806 243.03H100.923a29.184 29.184 0 0 0-25.515 13.654L3.428 384.085a32.768 32.768 0 0 0 0 29.184L132.836 638.08 74.511 740.053a32.768 32.768 0 0 0 0 29.056l66.517 116.566a29.907 29.907 0 0 0 25.515 14.506H427.15l62.848 109.227A30.08 30.08 0 0 0 512.783 1024H660.41a29.141 29.141 0 0 0 24.576-14.55l128.469-224.853h114.773a31.915 31.915 0 0 0 24.662-15.445l66.474-117.419a28.16 28.16 0 0 0 0-30.976l.043.043zm-161.28 14.592L791.61 512.469 518.287 993.963l-74.752-122.88h-273.28l65.621-119.211h139.392L101.86 272.213h143.062L380.687 30.08l68.352 119.253-70.187 122.88H925.54l-69.205 121.942 137.6 241.194H858.17z",fill:"#605BEC"}),React.createElement("path",{d:"m499.983 699.307 174.379-274.731H324.708z",fill:"#605BEC"}));var rt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Qe=Object.defineProperty,Ue=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Te=(Ct,Dt,At)=>Dt in Ct?Qe(Ct,Dt,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Dt]=At,We=(Ct,Dt)=>{for(var At in Dt||(Dt={}))Be.call(Dt,At)&&Te(Ct,At,Dt[At]);if(Ue)for(var At of Ue(Dt))Ze.call(Dt,At)&&Te(Ct,At,Dt[At]);return Ct};const at=Ct=>React.createElement("svg",We({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Ct),React.createElement("path",{d:"M1364.44 118.705c-14.178-6.695-20.322 6.065-28.593 12.525-2.914 2.048-5.277 4.726-7.64 7.246-20.717 21.268-44.899 35.21-76.643 33.556a152.576 152.576 0 0 0-120.674 45.371c-7.404-41.826-32.06-66.875-69.553-82.865-19.693-8.35-39.543-16.7-53.248-34.737-9.61-12.919-12.288-27.333-17.015-41.512-3.15-8.507-6.144-17.25-16.384-18.668-11.185-1.733-15.517 7.247-19.928 14.73a189.125 189.125 0 0 0-23.552 98.461c1.575 76.88 35.446 138.083 102.636 181.642 7.562 4.963 9.531 9.925 7.09 17.25-4.49 14.967-9.926 29.54-14.81 44.584-2.992 9.61-7.561 11.658-18.274 7.483a309.484 309.484 0 0 1-96.886-63.015c-47.813-44.426-91.057-93.342-144.935-131.702a635.825 635.825 0 0 0-38.36-25.207c-54.982-51.2 7.167-93.262 21.582-98.225 14.966-5.199 5.277-23.158-43.402-22.922-48.68.237-93.184 15.833-149.977 36.628-8.428 3.15-17.092 5.514-25.993 7.326a557.844 557.844 0 0 0-160.768-5.436c-105.157 11.264-189.204 58.92-250.96 140.367-74.2 97.832-91.687 208.975-70.261 325.002 22.449 122.25 87.434 223.468 187.47 302.631 103.582 82 222.917 122.172 359.188 114.452 82.708-4.568 174.79-15.202 278.686-99.485 26.151 12.445 53.642 17.486 99.249 21.267 35.131 3.072 69.002-1.733 95.153-6.931 40.96-8.35 38.203-44.741 23.316-51.437-120.202-53.72-93.814-31.822-117.839-49.624 61.125-69.317 153.206-141.312 189.204-374.706 2.835-18.51.472-30.168 0-45.213-.237-9.137 1.969-12.603 12.918-13.706a240.089 240.089 0 0 0 86.173-25.442c77.982-40.803 109.332-107.914 116.736-188.259 1.103-12.288-.236-24.97-13.705-31.429zM685.45 842.043C569.108 754.215 512.55 725.307 489.157 726.49c-21.82 1.26-17.96 25.206-13.155 40.802 5.042 15.439 11.58 26.073 20.717 39.621 6.301 8.9 10.791 22.213-6.302 32.295-37.494 22.213-102.794-7.561-105.787-8.98-76.012-42.929-139.421-99.564-184.241-176.994a523.894 523.894 0 0 1-72.468-239.93c-1.024-20.56 5.278-27.885 26.703-31.587a272.148 272.148 0 0 1 85.307-2.127c118.942 16.699 220.16 67.741 305.073 148.48 48.443 46.001 85.071 100.982 122.88 154.703 40.173 57.029 83.338 111.458 138.32 155.963 19.376 15.675 34.894 27.569 49.781 36.234-44.74 4.805-119.414 5.829-170.456-32.926zm55.926-344.615c0-5.357 2.757-10.398 7.326-13.47a17.723 17.723 0 0 1 22.134 2.048c3.072 2.915 4.805 7.09 4.805 11.422a16.778 16.778 0 0 1-17.25 16.541 17.33 17.33 0 0 1-12.131-4.883 15.911 15.911 0 0 1-4.884-11.658zm173.529 85.464a104.37 104.37 0 0 1-33.005 8.586 71.444 71.444 0 0 1-44.504-13.548c-15.282-12.288-26.23-19.141-30.72-40.645a89.167 89.167 0 0 1 .787-31.429c3.939-17.487-.393-28.75-13.312-38.912-10.476-8.35-23.71-10.634-38.36-10.634a32.06 32.06 0 0 1-14.179-4.175c-6.144-2.914-11.106-10.24-6.301-19.14a60.18 60.18 0 0 1 10.712-11.265c19.85-10.79 42.693-7.246 63.882.788 19.693 7.798 34.501 21.898 55.926 41.905 21.74 24.183 25.68 30.8 38.125 48.916 9.846 14.179 18.747 28.75 24.89 45.45 3.703 10.397-1.102 18.905-13.941 24.103z",fill:"#4D6BFE"}));var et="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44NjUtMTkuNjkzLTguMzUtMzkuNTQzLTE2LjctNTMuMjQ4LTM0LjczNy05LjYxLTEyLjkxOS0xMi4yODgtMjcuMzMzLTE3LjAxNS00MS41MTItM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uNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Je=Se(59301),xe=({disabled:Ct,value:Dt,onChange:At})=>{const[tn,cn]=(0,ye.useState)(!1),ft=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:rt},{name:"DeepSeek",key:"deepseek-r1",img:et}],ht=ft.find(dt=>dt.key===Dt);return Je.createElement("div",{className:Ye.select},Je.createElement(He.Z,{size:10},Je.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Je.createElement("div",{className:Ye.box,onMouseLeave:()=>cn(!1)},Je.createElement("div",{className:Ye.text,onClick:()=>cn(!0)},Je.createElement("img",{src:ht.img,width:20}),Je.createElement("span",null,ht.name),Je.createElement("b",{className:"iconfont icon-zhankai6"})),tn&&Je.createElement("div",{className:Ye.itemWrap},Je.createElement("aside",null,ft.map(dt=>Je.createElement("div",{key:dt.key,className:`${Ye.item} ${dt.key===Dt?Ye.active:""}`,onClick:Bt=>{Bt.stopPropagation(),At(dt.key),cn(!1)}},Je.createElement("img",{src:dt.img,width:20}),Je.createElement("span",null,dt.name))))))))},De={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",footerContainerSelected:"footerContainerSelected___pGBh3",btnWrp:"btnWrp___mS8l6",inputContainer:"inputContainer___iCQ3u",thinkBtnActive:"thinkBtnActive___Z1xij",full:"full___dZLXo",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",uploadFile:"uploadFile___vZolT",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",file:"file___fxAKb",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2"},Re=Se(7660),Xe=Se(88230),nt={draggableImage:"draggableImage___vcTso"},tt=({src:Ct,onClick:Dt,topPercentage:At=.62})=>{const tn=(0,ye.useRef)(null),cn=(0,ye.useRef)(!1),ft=(0,ye.useRef)(!1),[ht,dt]=(0,ye.useState)(window.innerHeight*At),[Bt,Qt]=(0,ye.useState)(!1),Kt=10;return(0,ye.useEffect)(()=>{if(tn.current){let Fn=function(zt){var Tt;cn.current=!0,fr=zt.pageY,Gn=zt.pageY-(((Tt=tn.current)==null?void 0:Tt.getBoundingClientRect().top)||0),(0,Xe.kk)("none"),document.onselectstart=function(){return!1}},fn=function(){cn.current&&!ft.current&&Dt&&Dt(),cn.current=!1,ft.current=!1,(0,Xe.kk)("auto"),document.onselectstart=null},Un=function(zt){var Tt;if(cn.current){const Ut=zt.pageY-Gn,Pt=window.innerHeight-(((Tt=tn.current)==null?void 0:Tt.offsetHeight)||0)-50,Lt=50;if(!ft.current&&Math.abs(fr-zt.pageY)>Kt&&(ft.current=!0),ft.current){let Ft=Math.max(Lt,Math.min(Ut,Pt));dt(Ft)}}},Gn=0,fr=0;return tn.current.addEventListener("mousedown",Fn),document.addEventListener("mousemove",Un),document.addEventListener("mouseup",fn),()=>{tn.current.removeEventListener("mousedown",Fn),document.removeEventListener("mousemove",Un),document.removeEventListener("mouseup",fn)}}},[Dt]),(0,ye.useEffect)(()=>{const Fn=()=>{dt(window.innerHeight*At)};return window.addEventListener("resize",Fn),()=>{window.removeEventListener("resize",Fn)}},[At]),ye.createElement("div",{className:nt.draggableImage,style:{top:`${ht}px`,display:Bt?"none":"block",cursor:cn.current?"grabbing":"grab"},ref:tn},ye.createElement("img",{src:Ct,width:60,draggable:"false"}),ye.createElement("i",{className:"iconfont icon-tupianguanbi",onMouseUp:Fn=>{Fn.stopPropagation(),Qt(!0)}}))},st="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAYAAACOEfKtAAAAAXNSR0IArs4c6QAAIABJREFUeF6VnQmAnGV9/z/vMffeV3azuRMCSUgCSQggiCBFEE9UvFpqW6utFopa71bx6GHRWq31xKtSFS0eqICV+wwSIJKQkDvZJJvsObOzO/d7PH9/z/O+s5sY2/4XhpmdnXln3u/7/f1+39/xPFj8H39Wr742GRaOXaYs65WWnVhtuc58y7Lmh4oWZYFv2fpIgdxZFtg2oZMgdByU7eA7Npbt6L958rttUXMsQtsCyyawLEI5gC0HMMcCpf8193ILIVT6ZoUhlgqxw5BEoLAD87ulAuxQkZC/h4ogDHBCX79eXivHsfShQizkOJQsFR63FMdVGO6yHfWz1s4FD+za9V+N/ws01v/2otVLzuv36tZHwfpDlN1m2w6W62LLiVpyLhahpQixNRiBxkPAE+BcQtvRj+Veyd8dG99x8CyLIOESuC4qlPcJ6BH48lgOHoMnXzIMIAJA7gUQ/VwQ4obgBgGOgBiGOAiIIY4fEqoQFXoazEQIlrwnuhhKLoB8hgZXPlH/IhdsGmV911HpTxwef3Dkf8Lo9wL40hUvTR0uTfxtiHpPYFk527KxQhfLtbGdhAZJoQiEEChC+V1AsS0sR8AU0ISB8pwLtkPg2niuTaAZaBO4CXwBUL6hMFiA0zdDuuYDfcLyQQJaBJwG0QAo906gcAXMiInCOtuPQQ80gI4GKgYQ/dhSShNbPtDRdwGhsFw+z6JswWdTbV3/sH//3fXTAXlaAIV1qmr9RKnwAmGVsmxsLCxLgLA0eFiOBkyflzDQEWDknB3Qj11CxyVwxGxdlDAvIaZs4dsODcfFd1yU62hw5bgngRhZrkZSgxabcARiIOD5+m8CoO2H2EFAMgg1E1Gefs4Vc1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tjQQNqQfQwmaY808Zz8UXHIlnWpSWRbjv76t5vjbI5uo6OvpWICtLIRxFHqo8oYAPW2FiBXQ0YayppnjTOia6kgMrghTn22yubue5t9+eZSTs86r5N4we9hBASml2tq6+pnvzipsaNnaFXnxuGWWlOWzckKC2Nk1Jbh+au+K8/uk75BgR4l6SfnkljNmnkF/992kIK0hZv3z+8tdPeOvTTuaHBmAUFWCFgrjhPGLDB5MYFIWQg0gGKJq/kVC6AzfWTaqpmf+IdDNuRF66ra3r19fcf+2dnzeT9VWs9B4FINP89sSP3lz1UHtd16SVK9vZvDlNLGaQJ4p0cfzZJa9g6Wk8Q89nnHjYQC754dGYwTBVQ/vw3D83MG/hZmQmiekFsHOjLN+cwczvy6rD9sfOyaO0O8E+bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",ut=Se(38446),pt=Se(86204),vt=Object.defineProperty,mt=(Ct,Dt,At)=>Dt in Ct?vt(Ct,Dt,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Dt]=At,bt=(Ct,Dt,At)=>mt(Ct,typeof Dt!="symbol"?Dt+"":Dt,At),_t=(Ct,Dt,At)=>new Promise((tn,cn)=>{var ft=Bt=>{try{dt(At.next(Bt))}catch(Qt){cn(Qt)}},ht=Bt=>{try{dt(At.throw(Bt))}catch(Qt){cn(Qt)}},dt=Bt=>Bt.done?tn(Bt.value):Promise.resolve(Bt.value).then(ft,ht);dt((At=At.apply(Ct,Dt)).next())});class Mt extends pt.EventEmitter{constructor(Dt,At){super(),bt(this,"url"),bt(this,"body"),bt(this,"fullContent",""),bt(this,"controller",null),this.url=Dt,this.body=At}startStream(){return _t(this,null,function*(){this.controller=new AbortController;const{signal:Dt}=this.controller;try{const At=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Dt});if(!At.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${At.status}`);const tn=At.headers.get("content-type");if(!tn||!tn.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const cn=At.body.getReader(),ft=new TextDecoder("utf-8");for(;;){const{done:ht,value:dt}=yield cn.read();if(ht)break;const Qt=ft.decode(dt,{stream:!0}).split(` -`);for(const Kt of Qt)if(Kt.startsWith("data:")){const Fn=Kt.slice(5).trim();if(Fn==="[DONE]")break;try{const fn=JSON.parse(Fn);fn.data&&this.handleData(fn.data)}catch(fn){console.error("\u89E3\u6790 JSON \u5931\u8D25:",fn)}}}this.emit("done",this.fullContent)}catch(At){At.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",At.message)}})}handleData(Dt){Dt.content&&(this.fullContent+=Dt.content,this.emit("data",{chunk:Dt,full:this.fullContent}))}cancelRequest(){var Dt;(Dt=this.controller)==null||Dt.abort()}}var yt=Mt,wt=Se(58617),xt=Se(32050),ln=Object.defineProperty,Yt=Object.defineProperties,on=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,$t=Object.prototype.hasOwnProperty,Wt=Object.prototype.propertyIsEnumerable,sn=(Ct,Dt,At)=>Dt in Ct?ln(Ct,Dt,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Dt]=At,xn=(Ct,Dt)=>{for(var At in Dt||(Dt={}))$t.call(Dt,At)&&sn(Ct,At,Dt[At]);if(Zt)for(var At of Zt(Dt))Wt.call(Dt,At)&&sn(Ct,At,Dt[At]);return Ct},Sn=(Ct,Dt)=>Yt(Ct,on(Dt)),_n=(Ct,Dt,At)=>new Promise((tn,cn)=>{var ft=Bt=>{try{dt(At.next(Bt))}catch(Qt){cn(Qt)}},ht=Bt=>{try{dt(At.throw(Bt))}catch(Qt){cn(Qt)}},dt=Bt=>Bt.done?tn(Bt.value):Promise.resolve(Bt.value).then(ft,ht);dt((At=At.apply(Ct,Dt)).next())}),gn=({title:Ct="\u5934\u6B4CAI",placeholder:Dt,hideUpload:At,hideInputBox:tn,aiIcon:cn=st,userIcon:ft=it,dragIcon:ht=lt,children:dt,fetchUrl:Bt,fetchData:Qt={},extraAnswerAction:Kt,showDefaultTips:Fn=!0,onOpen:fn,onClose:Un,loadingOption:Gn,showPreference:fr=!1,initMessage:zt,initMessageType:Tt,customRequest:St,visible:Ut,width:Pt=1200,isCheckRestrictNumber:Lt=!1,headNode:Ft,headFunctionNode:Xt,showRedraw:nn,showEdit:mn,promptPropName:bn="prompt",topPercentage:wn,showSwitchingModel:Pn=!1,showImageGenerator:Tn=!1})=>{var On,jt,rr,zn,Yn;const[dn,It]=(0,ye.useState)(!1),[Ht,hn]=(0,ye.useState)("qwen-max"),[Vt,Cn]=(0,ye.useState)([]),[Nn,Hn]=(0,ye.useState)(!1),[Dn,Kn]=(0,ye.useState)([]),[mr,vr]=(0,ye.useState)(""),[Jt,Mr]=(0,ye.useState)(0),[Er,Or]=(0,ye.useState)(!1),[ur,wr]=(0,ye.useState)(null),[yr,br]=(0,ye.useState)(""),Mn=(0,ye.useRef)(),Jn=(0,ye.useRef)(null),lr=(0,ye.useRef)(null),[Zn,gr]=(0,ye.useState)(!1),[ar,_r]=(0,ye.useState)(!1),Cr=(0,ye.useRef)(!1),[or,Ir]=(0,ye.useState)(!1),Ar=(0,ye.useRef)(!1),[Br,kr]=(0,ye.useState)(0),gt=(0,ye.useRef)(null),Ot=(0,ye.useRef)(!1),Et=(0,ye.useRef)(null),[kt,Gt]=(0,ye.useState)(!0),Nt=(0,ye.useRef)(!1),rn=mr==null?void 0:mr.split(` -`).length,qt=Pt-48,an={maxCount:1,showUploadList:!1,withCredentials:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png",beforeUpload:Rt=>{var An,kn,tr,ir;const sr=(ir=(tr=(kn=(An=Rt==null?void 0:Rt.name)==null?void 0:An.split("."))==null?void 0:kn.slice(-1))==null?void 0:tr[0])==null?void 0:ir.toLowerCase(),$n=["doc","docx","md","pdf","txt","jpg","png"].includes(sr);return Rt.size==0?(je.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),E.default.LIST_IGNORE):$n||(je.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u6587\u4EF6"),E.default.LIST_IGNORE)},onChange:({file:Rt})=>{Cn([Rt])},action:`${(On=ut.Z)==null?void 0:On.API_SERVER}/api/intelligent_imports/upload_file.json`};(0,ye.useEffect)(()=>{if(!Dn.length)return;const Rt=Dn[Dn.length-1];Rt!=null&&Rt.loading&&(Mn.current.scrollTop=Mn.current.scrollHeight)},[Dn.length]),(0,ye.useEffect)(()=>{if(!Mn.current||!gt.current)return;const Rt=new IntersectionObserver(([An])=>{Gt(An.isIntersecting)},{root:Mn.current,rootMargin:"70px",threshold:0});return Rt.observe(gt.current),()=>{var An;(An=Rt==null?void 0:Rt.unobserve)==null||An.call(Rt,gt.current)}},[Mn.current,gt.current]),(0,ye.useEffect)(()=>{if(!Zn)return;const Rt=Mn.current,An=Et.current;Ot.current=!1;const kn=()=>{const{scrollTop:ir,scrollHeight:sr,clientHeight:hr}=Rt,$n=ir+hr===sr;Ot.current=!0,$n&&(Ot.current=!1)};Rt.addEventListener("wheel",kn);const tr=new ResizeObserver(()=>{Ot.current||(Rt.scrollTop=Rt.scrollHeight)});return tr.observe(An),()=>{var ir;tr.unobserve(An),(ir=Rt==null?void 0:Rt.removeEventListener)==null||ir.call(Rt,"wheel",kn)}},[Zn]),(0,ye.useEffect)(()=>{typeof Ut=="boolean"&&It(Ut)},[Ut]),(0,ye.useEffect)(()=>{typeof Ut=="boolean"&&It(Ut)},[Ut]),(0,ye.useEffect)(()=>{var Rt;if(Jn.current&&ur!==null){Jn.current.focus();const An=(Rt=Jn.current.resizableTextArea)==null?void 0:Rt.textArea;An&&(An.selectionStart=An.selectionEnd=An.value.length)}},[ur]),(0,ye.useEffect)(()=>{rn<5&&Or(!1)},[rn]),(0,ye.useEffect)(()=>{const Rt=Date.now();dn&&Tt===1&&(Kn([{text:zt,key:Rt,sender:"user",show:!0},{loading:!0,key:Rt,sender:"AI",show:!0}]),Hn(!0),qn(zt)),dn&&Tt===2&&zt&&(Kn([...Dn,{text:zt,key:Rt,sender:"user",show:!0},{loading:!0,key:Rt,sender:"AI",show:!0}]),Hn(!0),qn(zt)),dn&&Tt===3&&(Kn([{text:zt,key:Rt,sender:"user",show:!1},{loading:!0,key:Rt,sender:"AI",show:!0}]),Hn(!0),qn()),dn&&Tt===4&&(zt||Dn.length===0)&&(Kn([...Dn,{text:zt,key:Rt,sender:"user",show:!!Dn.length},{loading:!0,key:Rt,sender:"AI",show:!0}]),Hn(!0),qn(zt)),dn&&Lt&&jn(),dn||un()},[dn]);const un=()=>{var Rt,An;br(""),wr(null),Cn([]),vr(""),(An=(Rt=lr.current)==null?void 0:Rt.cancelRequest)==null||An.call(Rt)},en=()=>{if(fn){fn();return}It(!0)},In=()=>{if(Un){Un();return}It(!1)},En=()=>{Or(!Er)},jn=()=>_n(void 0,null,function*(){const Rt=yield(0,Re.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Rt==null?void 0:Rt.status)===0&&Mr(Rt==null?void 0:Rt.number)}),Bn=()=>{pe.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:ye.createElement("div",null,ye.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ye.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},Xn=Rt=>Rt.reduce((kn,tr)=>{var ir,sr;if(tr.sender==="user"){const hr=Rt.find($n=>$n.key===tr.key&&$n.sender==="AI");hr&&(hr!=null&&hr.text)&&!((sr=(ir=hr==null?void 0:hr.response)==null?void 0:ir.data)!=null&&sr.message)&&kn.push({question:tr.text,answer:hr.text})}return kn},[]),qn=(...Rt)=>_n(void 0,[...Rt],function*(An="",kn={},tr=Dn){if(St&&(yield St({mes:An,setChatData:Kn,fileList:Vt,body:kn,checkNum:jn,setLoading:Hn,bodyChatData:tr,setTyping:gr,setImageGenerator:Ir})),!St){const ir=Vt==null?void 0:Vt.map(vn=>{var Rn;return(Rn=vn==null?void 0:vn.response)==null?void 0:Rn.file_id}),sr=kn.history||Xn(Dn),hr=xn(xn({response_mode:"streaming",model:Ht,thinking_enabled:ar,image_generator:or,file_id:(ir==null?void 0:ir[0])||"",[bn]:An,history:sr},Qt),kn);Cr.current=hr.thinking_enabled,Ar.current=hr.image_generator;const $n=Object.fromEntries(Object.entries(hr).filter(([vn,Rn])=>Rn!==void 0));lr.current=new yt(ut.Z.API_SERVER+Bt,$n),yield new Promise((vn,Rn)=>{let Sr=null,Lr=null;lr.current.on("data",Rr=>{gr(!0);const{chunk:{content:Wr,type:Hr,created:Zr}}=Rr;Hr==="thinking"&&(Sr=Sr||Zr,Kn(Ur=>[...Ur].map((zr,Gr)=>Gr===Ur.length-1?Sn(xn({},zr),{reasoning:(zr.reasoning||"")+Wr,loading:!1,hideAnswer:!0}):zr))),Hr==="text"&&(Lr=Lr||Zr,Kn(Ur=>[...Ur].map((zr,Gr)=>Gr===Ur.length-1?Sn(xn({},zr),{text:(zr.text||"")+Wr,loading:!1,startTime:Sr,endTime:Lr}):zr)))}),lr.current.on("done",()=>{vn()}),lr.current.on("error",()=>{const Rr="\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!",Wr={status:0,data:{message:Rr}};Kn(Hr=>[...Hr].map((Zr,Ur)=>Ur===Hr.length-1?Sn(xn({},Zr),{text:Rr,loading:!1,response:Wr}):Zr)),vn()}),lr.current.on("cancelled",()=>{vn()}),lr.current.startStream()})}Lt&&jn(),Hn(!1)}),xr=Rt=>{vr(Rt.target.value)},Pr=(Rt,An)=>{var kn,tr,ir,sr;const hr=Date.now();if(un(),Hn(!0),Rt==="edit"){const $n=Dn.splice(An),{fileList:vn}=($n==null?void 0:$n[0])||{},Rn=((tr=(kn=vn==null?void 0:vn[0])==null?void 0:kn.response)==null?void 0:tr.file_id)||"",Sr={history:Xn(Dn),file_id:Rn};Kn([...Dn,{text:yr,key:hr,sender:"user",fileList:vn,show:!0},{loading:!0,key:hr,sender:"AI",show:!0}]),qn(yr,Sr,Dn)}if(Rt==="redraw"){const $n=Dn.splice(An-1),{text:vn,fileList:Rn}=($n==null?void 0:$n[0])||{},Sr=((sr=(ir=Rn==null?void 0:Rn[0])==null?void 0:ir.response)==null?void 0:sr.file_id)||"",Lr={history:Xn(Dn),file_id:Sr};Kn([...Dn,{text:vn,key:hr,sender:"user",fileList:Rn,show:!0},{loading:!0,key:hr,sender:"AI",show:!0}]),qn(vn,Lr,Dn)}},nr=()=>{if(mr.trim()!==""){un();const Rt=Date.now();Kn([...Dn,{text:mr,key:Rt,sender:"user",fileList:Vt,show:!0},{loading:!0,key:Rt,sender:"AI",show:!0}]),Hn(!0),qn(mr)}},cr=Rt=>{if(Rt.shiftKey){if(Rt.key==="Enter")return}else if(Rt.key==="Enter"){if(Rt.preventDefault(),pr||Nt.current)return;nr()}},Dr=(Rt,An)=>{var kn,tr,ir;const sr=(kn=Rt==null?void 0:Rt.fileList)==null?void 0:kn[0],hr=An===ur;return ye.createElement("div",{className:De.li,style:{width:qt}},ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:ft})),ye.createElement("div",{className:De.content},sr&&ye.createElement("div",{className:De.file},ye.createElement("img",{src:Se(90034)(`./${((ir=(tr=sr==null?void 0:sr.name)==null?void 0:tr.split("."))==null?void 0:ir.pop())||"txt"}.png`),width:20,className:"mr10"}),ye.createElement("div",{className:"c-black"},ye.createElement("div",null,(0,Xe.tP)(sr==null?void 0:sr.name,20)),ye.createElement("div",null,(0,Xe.RD)(sr==null?void 0:sr.size)))),ye.createElement("div",{className:De.borderBox},hr?ye.createElement(he.default.TextArea,{value:yr,ref:Jn,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:$n=>br($n.target.value)}):ye.createElement("div",{className:De.text},Rt==null?void 0:Rt.text)),hr?ye.createElement("div",{className:De.action},ye.createElement(ce.ZP,{onClick:()=>{br(""),wr(null)},size:"small"},"\u53D6\u6D88"),ye.createElement(ce.ZP,{disabled:!yr.trim(),onClick:()=>Pr("edit",An),type:"primary",size:"small"},"\u786E\u8BA4")):ye.createElement("div",{className:De.action},ye.createElement(y.CopyToClipboard,{text:(Rt==null?void 0:Rt.text)||"",onCopy:()=>je.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(oe.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),mn&&!Nn&&ye.createElement(oe.Z,{title:"\u7F16\u8F91"},ye.createElement("i",{onClick:()=>{wr(An),br((Rt==null?void 0:Rt.text)||"")},className:"iconfont icon-bianji10 font14"})))))},Wn=(Rt,An)=>{const kn=An===Dn.length-1?{ref:Et}:{};return ye.createElement("div",Sn(xn({},kn),{className:De.li,style:{width:qt}}),ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:cn})),ye.createElement("div",{className:De.content},ye.createElement("div",{className:De.borderBox},Rt.loading&&ye.createElement(ye.Fragment,null,Ar.current?ye.createElement("div",{className:De.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",ye.createElement("div",{className:"ai-loading"})):!Cr.current&&ye.createElement("div",null,ye.createElement("div",{className:De.loading},ye.createElement("div",{className:De.dot}),ye.createElement("div",{className:De.dot}),ye.createElement("div",{className:De.dot})),ye.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(Gn==null?void 0:Gn.text)||"\u8BF7\u8010\u5FC3\u7B49\u5F85\uFF0C\u76EE\u524D\u9AD8\u5CF0\u671F\u4F53\u9A8C\u4EBA\u6570\u8FC7\u591A\uFF0C\u6211\u4EEC\u5DF2\u8BB0\u5F55\u4E0B\u60A8\u7684\u9700\u6C42\uFF0C\u7A0D\u540E\u5C06\u81EA\u52A8\u4E3A\u60A8\u751F\u6210\u7B54\u6848\u3002"))),Cr.current&&ye.createElement(Le,{time:Rt==null?void 0:Rt.time,cancelIndex:Br,loading:Rt.loading,streamingStatus:!(Rt!=null&&Rt.text),onFinish:()=>{Kn(tr=>[...tr].map((ir,sr)=>sr===tr.length-1?Sn(xn({},ir),{hideAnswer:!1,time:ir.startTime?ir.endTime-ir.startTime:null}):ir))},value:Rt==null?void 0:Rt.reasoning}),!!(Rt!=null&&Rt.text)&&!Rt.hideAnswer&&ye.createElement(_e,{cancelIndex:Br,streamingStatus:Nn,loadAll:Ar.current,onFinish:()=>{gr(!1)},value:Rt==null?void 0:Rt.text})),ye.createElement("div",{className:De.action},Kt==null?void 0:Kt(Rt),ye.createElement(y.CopyToClipboard,{text:String((Rt==null?void 0:Rt.text)||""),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ye.createElement(oe.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),fr&&ye.createElement(ye.Fragment,null,ye.createElement(oe.Z,{title:"\u559C\u6B22"},ye.createElement("i",{style:Rt!=null&&Rt.like?{color:"#FA8D30"}:{},onClick:()=>dr("like",!(Rt!=null&&Rt.like),An),className:"iconfot icon-yijiejue font15"})),ye.createElement(oe.Z,{title:"\u4E0D\u559C\u6B22"},ye.createElement("i",{style:Rt!=null&&Rt.boring?{color:"#e86d7c"}:{},onClick:()=>dr("boring",!(Rt!=null&&Rt.boring),An),className:"iconfot icon-weijiejuezhengchang font15"}))),nn&&!Nn&&ye.createElement(oe.Z,{title:"\u91CD\u65B0\u751F\u6210"},ye.createElement("i",{onClick:()=>Pr("redraw",An),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},dr=(Rt,An,kn)=>{Kn(tr=>(tr[kn][Rt]=An,An&&(tr[kn][Rt==="like"?"boring":"like"]=!1),[...tr]))},Vn=()=>{var Rt,An;kr(kn=>kn+1),(An=(Rt=lr.current)==null?void 0:Rt.cancelRequest)==null||An.call(Rt),Hn(!1),gr(!1)},pn=Jt>9,er=At||Vt.length>0,pr=!!(Vt!=null&&Vt.length)&&((jt=Vt==null?void 0:Vt[0])==null?void 0:jt.status)!=="done"||Nn||Zn;return ye.createElement("div",null,dt?ye.createElement("div",{onClick:en},dt):ye.createElement(tt,{src:ht,onClick:en,topPercentage:wn}),ye.createElement(ie.Z,{open:dn,width:Pt,extra:Pn&&ye.createElement(xe,{disabled:pr,value:Ht,onChange:Rt=>{_r(!1),Ir(!1),hn(Rt)}}),title:ye.createElement("span",{className:"c-grey-333 font16"},Ct),onClose:In,bodyStyle:{paddingRight:4}},ye.createElement("div",{className:ae()(De.wrap,dn&&"body-overflow-hidden")},ye.createElement("div",{ref:Mn,className:De.chatContainer},Fn&&ye.createElement("div",{className:`${De.li} mb20`,style:{width:qt}},ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:cn})),ye.createElement("div",{className:De.content},ye.createElement("div",{className:De.borderBox},Ft,Xt==null?void 0:Xt({isDisabledNum:pn,checkNumModal:Bn,checkNum:jn,onClose:In,setChatData:Kn,setLoading:Hn,getData:qn,clearStatus:un,typing:Zn,setImageGenerator:Ir})))),Dn==null?void 0:Dn.map((Rt,An)=>ye.createElement(ye.Fragment,{key:Rt.key+An},Rt.show&&ye.createElement(ye.Fragment,null,Rt.sender==="user"&&Dr(Rt,An),Rt.sender==="AI"&&Wn(Rt,An)))),!kt&&ye.createElement("div",{className:De.backBottom,onClick:()=>{Ot.current=!1,Mn.current.scrollTop=Mn.current.scrollHeight}},ye.createElement("i",{className:"iconfont icon-huidaodibu"})),ye.createElement("div",{ref:gt})),!tn&&ye.createElement("div",{className:ae()(De.footerContainer,Er&&De.full,(or||ar||!!Vt.length)&&De.footerContainerSelected)},ye.createElement("div",{className:De.btnWrp},!!Vt.length&&ye.createElement("div",{className:De.uploadFile},((rr=Vt==null?void 0:Vt[0])==null?void 0:rr.status)==="uploading"&&ye.createElement(ue.Z,{indicator:ye.createElement(wt.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),ye.createElement("span",{title:(zn=Vt==null?void 0:Vt[0])==null?void 0:zn.name,className:"mr10"},(0,Xe.tP)((Yn=Vt==null?void 0:Vt[0])==null?void 0:Yn.name,40)),ye.createElement("i",{onClick:()=>Cn([]),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font14"})),Ht==="deepseek-r1"&&ye.createElement("div",{onClick:()=>_r(!ar),className:ae()(De.thinkBtn,ar&&De.thinkBtnActive)},ye.createElement("i",{className:"iconfont icon-shendusikao mr10"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09"),Tn&&Ht==="qwen-max"&&ye.createElement("div",{onClick:()=>Ir(!or),className:ae()(De.thinkBtn,or&&De.thinkBtnActive)},ye.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10"}),"\u56FE\u50CF\u751F\u6210")),ye.createElement(oe.Z,{title:pn&&ye.createElement("div",null,ye.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ye.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},ye.createElement("div",{className:ae()(De.inputContainer,rn>4&&De.lineFour,!!Vt.length&&"pb40",pn&&De.disabledInput)},ye.createElement(E.default,Sn(xn({},an),{className:`${er&&"hide"}`}),ye.createElement(ce.ZP,{className:De.uploadBtn,icon:ye.createElement(xt.Z,{style:{fontSize:18,color:"#FFF"}})})),ye.createElement(he.default.TextArea,{rows:rn>4?4:rn,placeholder:Dt||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:mr,bordered:!1,style:er?{paddingLeft:0,marginLeft:0}:{},onChange:xr,onPressEnter:cr,onCompositionStart:()=>{Nt.current=!0},onCompositionEnd:()=>{Nt.current=!1}}),Zn?ye.createElement("div",{className:`iconfont icon-tingzhihuida ${De.cancelBtn}`,onClick:Vn}):ye.createElement(ce.ZP,{className:(mr==null?void 0:mr.trim())===""?De.sendBtnDisabled:De.sendBtn,icon:ye.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:pr,onClick:nr}),rn>4&&ye.createElement("span",{className:De.fullIcon,onClick:En},Er&&ye.createElement("span",{className:"iconfont icon-shousuo"}),!Er&&ye.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},71400:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Ee},U:function(){return be}});var ye=Se(59301),je=Se(31797),E=Se(43418),pe=Se(1710),he=Se(20736),ce=Se(30897),oe=Se(61186),ie=Se.n(oe),ue={exitFullScreenModalWrapper:"exitFullScreenModalWrapper___aNB9Q",exitFullScreenModal:"exitFullScreenModal___HIMyY",warningIcon:"warningIcon___xEURa",warningText:"warningText___W6NPJ",countdownWrapper:"countdownWrapper___n8g1M",forcedModalWrapper:"forcedModalWrapper___JPMQ2",forcedModalContent:"forcedModalContent___uY5FV",forcedText:"forcedText___C3CrF",screenNumText:"screenNumText___oljHN"},se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2aHST34fTQjDeQqplOfqibsp4/QOqjztXcMczVHPWLvQS4g0IgclH0eDm7HvsBmca/pBvI5/OUVZRRXQ9l1bupqHq9c+NvOuiqXlqAlwA3DBBEe655J71lX2F3T0Q64yjLQFkVuHREqttRXfkYVa2nO3fcrmGs7qhe5CXAHeTyR7eSpmHJvQxWH0dqLJSPgXQjpFuIgTe4ISLT42ia8XKXe+vNRzWahnHwLwHuYID7ERWkWUk540k7yNZDZi6kp0OqHIa2RFT1OSa+/H2u7kP/MYxzflQv8hLgDga4X5Ghi6epYAJpIAtk5kB6JpRlIWqPqBp0THrlP7v6D/37UY2mYRz8S4A7KOBmZNjzdAK4lACXhuwCKJ8KzgOuetAx5cJ/drkPvAS4g5zPlwB3MMA9NSPDQ08/TbkxXAYyx0L55MSHi7ZF5Jxj8nn/4qrf9/Fh3ORH9SIvAe5ggLv17Czttz9FJvIMl4XssZCelAAu3x5Rg2Py+f/q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woL/8d0321TbvzKSI5Z4CW8Gpzby/NrFk89H0N9C9S6shR23b9dUsq+oSKaJcyg7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",re=Se(88230),ne=Se(24459),te=Se(3404),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,de=(Ae,Ce,_e)=>Ce in Ae?y(Ae,Ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Ae[Ce]=_e,ge=(Ae,Ce)=>{for(var _e in Ce||(Ce={}))z.call(Ce,_e)&&de(Ae,_e,Ce[_e]);if(ee)for(var _e of ee(Ce))le.call(Ce,_e)&&de(Ae,_e,Ce[_e]);return Ae},fe=(Ae,Ce)=>x(Ae,b(Ce)),me=(Ae,Ce,_e)=>new Promise((we,Me)=>{var Oe=Ye=>{try{Le(_e.next(Ye))}catch(He){Me(He)}},Fe=Ye=>{try{Le(_e.throw(Ye))}catch(He){Me(He)}},Le=Ye=>Ye.done?we(Ye.value):Promise.resolve(Ye.value).then(Oe,Fe);Le((_e=_e.apply(Ae,Ce)).next())});const be=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ve}=je.default,Pe=({exercise:Ae,socket:Ce,dispatch:_e,onStartScreenshot:we,onCloseScreenshot:Me,handleToDetail:Oe})=>{const[Fe,Le]=E.default.useModal(),Ye=(0,ye.useRef)(),[He,Ge]=(0,ye.useState)(!0),Ke=(0,ye.useRef)(!1),ze=(0,ne.useParams)();(0,ye.useEffect)(()=>{var De,Re,Xe;if(document.addEventListener((0,he.gH)(),Ie,!1),window.addEventListener("blur",et,!1),(De=Ae.exerciseUserInfo)!=null&&De.screen_open&&(0,he.vp)()&&Ge(!1),(Re=Ae.exerciseUserInfo)!=null&&Re.screen_open&&!(0,he.vp)()){(0,re.RG)(" ",!0);const nt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Ae.exerciseUserInfo.screen_sec+3:Ae.exerciseUserInfo.screen_sec+10+1;Ye.current=E.default.info({icon:null,centered:!0,width:444,title:(0,te._V)(te.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,te._V)(te.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},Ae.exerciseUserInfo.screen_num-Ae.exerciseUserInfo.used_screen_num),(0,te._V)(te.CP.recordScreen3)),okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(ve,{onFinish:()=>me(void 0,null,function*(){var $e;const tt=yield Je();($e=Ye.current)==null||$e.destroy(),tt.used_screen_num&&Te(tt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+nt*1e3})),"S\uFF09"),onOk:()=>{var $e;(0,re.RG)(" ",!0),($e=Ye.current)==null||$e.destroy(),Ge(!1),(0,he.Dj)(document.body),document.getElementById("root").addEventListener("click",Ne,!1)}})}return(Xe=Ae.exerciseUserInfo)!=null&&Xe.screen_open&&!(0,he.vp)()||document.getElementById("root").addEventListener("click",Ne,!1),()=>{document.getElementById("root").removeEventListener("click",Ne,!1),document.removeEventListener((0,he.gH)(),Ie,!1),window.removeEventListener("blur",et,!1)}},[]),(0,ye.useEffect)(()=>{setTimeout(()=>{Ae.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Ne,!1),document.removeEventListener((0,he.gH)(),Ie,!1))},500),Ve()},[Ae.actionTabs]),(0,ye.useEffect)(()=>{setTimeout(()=>{Ae.exerciseUserInfo.used_screen_num>Ae.exerciseUserInfo.screen_num&&We()},500)},[Ae.exerciseUserInfo]);const ke=()=>me(void 0,null,function*(){const De=yield Je();setTimeout(()=>{var Re,Xe;(Re=Ye.current)==null||Re.destroy(),Ye.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},De.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(Xe=Ae.exerciseUserInfo)==null?void 0:Xe.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>me(void 0,null,function*(){(0,he.Dj)(document.body)})})},1e3)}),Ne=De=>{!(0,he.vp)()&&De.target.nodeName!=="A"&&De.target.nodeName!=="BUTTON"&&De.target.innerHTML!=="\u786E \u5B9A"&&(0,he.Dj)(document.body)},Ve=()=>me(void 0,null,function*(){const De=yield _e({type:"exercise/getExerciseUserInfo",payload:ge({},ze)});return De==null?void 0:De.data}),qe=De=>me(void 0,null,function*(){var Re;if((Re=Ae.exerciseUserInfo)!=null&&Re.screen_at){const nt=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Xe=yield(0,ce.oy)({id:ze.categoryId});if(Xe!=null&&Xe.is_commit){E.default.destroyAll(),yield rt(),at(!0);return}else Te(De+1)}),rt=()=>me(void 0,null,function*(){var De;const Re=ie()(),Xe=Ae.exerciseUserInfo.screen_sec;if(Be.current.length>0){const nt=Re.format("YYYY-MM-DD HH:mm:ss");let $e=Math.floor(Re.diff(ie()(Be.current[0].start))/1e3);const tt=Be.current.length;$e/Xe>>0>tt&&($e=(tt+1)*Xe-1),yield(0,ce.P8)(ze.categoryId,{exercise_user_id:(De=Ae.exerciseUserInfo)==null?void 0:De.exercise_user_id,time:nt,time_long:$e,count:tt})}Be.current=[]}),Qe=(0,ye.useRef)(0),Ue=(0,ye.useRef)(0),Be=(0,ye.useRef)([]),Ze=(0,ye.useRef)(!1),Te=De=>me(void 0,null,function*(){var Re;Ke.current||(we(),E.default.destroyAll(),Qe.current=ie()().valueOf(),Ze.current=!0,Ye.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:ue.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen8)),content:a.createElement("div",{className:ue.exitFullScreenModal},a.createElement("img",{src:se,alt:"",className:ue.warningIcon}),a.createElement("div",{className:ue.warningText,style:{marginBottom:50,fontWeight:500}},(0,te._V)(te.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,te._V)(te.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,te._V)(te.CP.recordScreen11),a.createElement("span",{className:ue.warningText},((Re=Ae.exerciseUserInfo)==null?void 0:Re.screen_num)+1),(0,te._V)(te.CP.recordScreen12),a.createElement("span",{className:ue.warningText,style:{fontWeight:600}},(0,te._V)(te.CP.recordScreen13)),",",(0,te._V)(te.CP.recordScreen14),a.createElement("span",{className:ue.warningText},De-1),(0,te._V)(te.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ve,{className:ue.countdownWrapper,onFinish:()=>{Ue.current=ie()().valueOf(),Be.current.push({start:Qe.current,end:Ue.current}),qe(De)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Ae.exerciseUserInfo.screen_sec+1)*1e3}),(0,te._V)(te.CP.recordScreen25)),(0,te._V)(te.CP.recordScreen16))),onOk:()=>{(0,re.RG)(" ",!0),rt(),(0,he.Dj)(document.body),Me(),Ye.current.destroy(),Ze.current=!1}}))}),We=()=>me(void 0,null,function*(){E.default.destroyAll(),(yield(0,ce.VL)({categoryId:ze.categoryId,commit_method:1}))&&at()}),at=(De=!1)=>me(void 0,null,function*(){var Re,Xe;if(document.removeEventListener((0,he.gH)(),Ie,!1),(0,he.BU)(),E.default.destroyAll(),Ke.current=!0,De){const nt=yield(0,ce.Yu)(ze.categoryId,{exercise_user_id:(Re=Ae.exerciseUserInfo)==null?void 0:Re.exercise_user_id});Fe.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:ue.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:ue.forcedModalContent},a.createElement("img",{src:ae,alt:""}),a.createElement("div",{className:ue.forcedText},(0,te._V)(te.CP.recordScreen17)),a.createElement("div",{className:ue.screenNumText},(0,te._V)(te.CP.recordScreen18),(Xe=Ae.exerciseUserInfo)==null?void 0:Xe.screen_num,(0,te._V)(te.CP.recordScreen19)),a.createElement(pe.default,{dataSource:nt==null?void 0:nt.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,te._V)(te.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,te._V)(te.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,te._V)(te.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{Me(),Oe()},onOk:()=>{ne.history.push(`/classrooms/${ze.coursesId}/exercisenotice/${ze.categoryId}/users/${ze.login}?isShowApply=true`)}})}else Fe.info({content:a.createElement("div",{className:"tc font16"},(0,te._V)(te.CP.recordScreen23),a.createElement("br",null),(0,te._V)(te.CP.recordScreen24)),onOk:()=>{Oe()}})}),et=De=>{(0,he.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ze.current&&(0,he.BU)()},Je=()=>me(void 0,null,function*(){var De;if((De=Ae.exerciseUserInfo)!=null&&De.screen_at){const nt=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Re=yield(0,ce.oy)({id:ze.categoryId});if(Re!=null&&Re.is_commit){at();return}return yield Ve()}),Ie=()=>me(void 0,null,function*(){var De;if((0,re.RG)(" ",!0),(0,he.vp)()){if((De=Ae.exerciseUserInfo)!=null&&De.screen_at){var Re=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((Re==null?void 0:Re.status)===-6)return}}else if(!Ze.current){var Re=yield(0,ce.ck)(ge({},ze));if((Re==null?void 0:Re.status)===-6)return;const nt=yield Ve();Te(nt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),xe=()=>me(void 0,null,function*(){(0,ce.ck)(ge({},ze));const De=yield Ve();Te(De.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Le)};var Ee=(0,ne.connect)(({exercise:Ae,globalSetting:Ce})=>({globalSetting:Ce,exercise:Ae}))(Pe)},48569:function(ct,ot,Se){"use strict";Se.d(ot,{X:function(){return pe},y:function(){return E}});var ye=Se(59301),je=Se(8591);const E=he=>{(0,ye.useEffect)(()=>{if(he){const ce=ie=>{ie.key==="F12"&&(ie.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},oe=ie=>{ie.preventDefault()};return document.addEventListener("keydown",ce),document.addEventListener("contextmenu",oe),()=>{document.removeEventListener("keydown",ce),document.removeEventListener("contextmenu",oe)}}},[he])},pe=()=>{const[he,ce]=(0,ye.useState)(!1),oe=ie=>{const{keyCode:ue,ctrlKey:se,metaKey:ae,type:re}=ie;(re==="paste"||(ue===67||ue===86)&&(ae||se))&&(je.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ie.preventDefault(),ie.stopPropagation())};return(0,ye.useEffect)(()=>(he&&(window.addEventListener("keydown",oe,!0),window.addEventListener("paste",oe,!0)),()=>{window.removeEventListener("keydown",oe,!0),window.removeEventListener("paste",oe,!0)}),[he]),{setOpenDisableCopyAndPaste:ce,disableCopyAndPaste:he}}},14573:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ae}});var ye=Se(59301),je={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=Se(92310),pe=Se.n(E),he=Se(71418),ce=Se(2859),oe=Se(7660),ie=Se(88230),ue=(re,ne,te)=>new Promise((a,y)=>{var x=z=>{try{ee(te.next(z))}catch(le){y(le)}},b=z=>{try{ee(te.throw(z))}catch(le){y(le)}},ee=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);ee((te=te.apply(re,ne)).next())}),ae=({data:re,className:ne,fullWidth:te,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:ee})=>{const z=(0,ye.useRef)(null),le=(0,ye.useRef)(null),de=(0,ye.useRef)(null),ge=(0,ye.useRef)(null),[fe,me]=(0,ye.useState)(!1),[be,ve]=(0,ye.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ye.useEffect)(()=>{de.current||(de.current=document.createElement("style"),document.head.appendChild(de.current)),re!=null&&re.visible?(document.body.setAttribute("data-custom","y-hidden"),de.current.innerHTML=" html { overflow-y: hidden; }",re!=null&&re.src&&Pe()):(document.body.removeAttribute("data-custom"),de.current&&(document.head.removeChild(de.current),de.current=null))},[re==null?void 0:re.visible]);const Pe=()=>ue(void 0,null,function*(){me(!0),ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const _e=yield(0,ie.ZJ)(re==null?void 0:re.src);z.current.src="",z.current.src=_e,z.current.onload=function(){Ce()},me(!1),ve("")}),Ee=_e=>ue(void 0,null,function*(){me(!0),ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const we=yield(0,oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:re.title,file:_e.dataUrl}});we!=null&&we.id&&!ee?(yield(0,oe.ZP)(`/api/attachments/${re.id}/add_subitem.json`,{method:"post",body:{subitem_id:we==null?void 0:we.id,settings:JSON.stringify(_e.state)}})).status===0&&x():we!=null&&we.id&&x(we),me(!1),ve("")}),Ae=()=>{const _e=document.querySelector('a[href="https://markerjs.com/"]');_e&&_e.parentNode&&(_e.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Me=>{const Oe=document.querySelector(Me.name);Oe&&Oe.setAttribute("title",Me.title)})},Ce=()=>{le.current=new ce.hP(z.current),le.current.targetRoot=ge.current,le.current.addEventListener("render",Ee),le.current.addEventListener("beforeclose",y),b&&(le.current.availableMarkerTypes=le.current.ALL_MARKER_TYPES,le.current.uiStyleSettings.redoButtonVisible=!0,le.current.uiStyleSettings.notesButtonVisible=!0,le.current.uiStyleSettings.zoomButtonVisible=!0,le.current.uiStyleSettings.zoomOutButtonVisible=!0,le.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=le.current.uiStyleSettings,le.current.show(),re!=null&&re.snapshotData&&le.current.restoreState(re.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ae()},300)};return ye.createElement(ye.Fragment,null,(re==null?void 0:re.visible)&&ye.createElement(he.Z,{spinning:fe,tip:be,style:{position:"absolute"}},ye.createElement("div",{ref:ge,className:pe()(je.imageDimensions,ne,te?je.fullWidth:""),style:a},ye.createElement("img",{className:je.img,ref:z}))))}},72714:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(11570),E=Se(48136),pe=Se(46531),he=Se(43418),ce=Se(59301);const oe=(0,ye.forwardRef)(({callback:ie,width:ue,onChange:se,disabled:ae,readOnly:re,type:ne="",value:te="",style:a={}},y)=>{const x=(0,ye.useRef)(),b=(0,ye.useRef)(),[ee,z]=(0,ye.useState)(0),[le,de]=(0,ye.useState)(0),[ge,fe]=(0,ye.useState)(!1),me=()=>{var Ee=document.createElement("div");Ee.innerHTML=x.current.getValue();var Ae=Ee.innerText;return ie&&ie(Ae),Ae};(0,ye.useImperativeHandle)(y,()=>({getData:me}));const be=Ee=>{Ee.preventDefault();const Ae=Ee.clientX-ee,Ce=Ee.clientY-le;document.body.onmousemove=_e=>{let we=_e.clientX-Ae,Me=_e.clientY-Ce;const Oe=document.getElementsByClassName("markdown-popup-form")[0],Fe=window.innerWidth-Oe.offsetWidth,Le=window.innerHeight-Oe.offsetHeight;we=Math.max(0,Math.min(we,Fe)),Me=Math.max(0,Math.min(Me,Le)),ve(_e.clientX,_e.clientY,Ae,Ce)&&(z(we),de(Me))},document.body.onmouseup=function(){document.body.onmousemove=null}},ve=(Ee,Ae,Ce,_e)=>{const we=document.body.clientHeight,Me=document.body.clientWidth;return Ee<20&&Ce>Ee||Ee>Me-20&&CeAe||Ae>we-20&&_e{ge&&setTimeout(()=>{const Ee=document.getElementsByClassName("markdown-popup-form")[0],Ae=window.innerWidth/2-Ee.offsetWidth/2,Ce=window.innerHeight/2-Ee.offsetHeight/2;z(Ae),de(Ce)},0)},[ge]);const Pe=()=>{ae||re||fe(!0)};return ce.createElement("div",{style:a},ce.createElement("div",{style:{width:ue||"100%",position:"relative"},className:`${je.Z.mathFillWrap} ${ae||re?"cursorDefault":""}`,onClick:()=>Pe()},ce.createElement("math-field",{disabled:ae,locale:"zh_cn",class:`${je.Z.mathField} ${ne}`,readOnly:re,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:te?18:14},value:te||""})),ce.createElement(he.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:ee,top:le},title:ce.createElement("div",{style:{cursor:"move"},onMouseDown:be},"\u8F93\u5165\u516C\u5F0F"),open:ge,onOk:()=>{const Ee=b.current.getData();x.current.setValue(Ee),se(Ee),fe(!1)},onCancel:()=>{fe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ce.createElement(pe.Z,{value:te,ref:b,onChange:se,showSaveButton:!1})))});ot.Z=oe},46531:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(95237),E=Se(43604),pe=Se(99313),he=Se(3113),ce=Se(99325),oe=Se(11570),ie=Se(48136),ue=Se(59301);const se=(0,ye.forwardRef)(({callback:ae,showSaveButton:re,value:ne=""},te)=>{const a=(0,ye.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r +`+ft.current));return}return Wn(!0),Qt.current=setInterval(Gt,70),()=>{clearInterval(Qt.current)}},[]),(0,ye.useEffect)(()=>{Rn&&(gt(Tt(ft.current)),clearInterval(Qt.current),Wn(!1),At())},[tn]);const Gt=()=>Ae(void 0,null,function*(){const Ut=ft.current[Yt.current];Ut!==void 0?(gt(Et=>Tt(Et,Ut)),Yt.current++,clearInterval(Qt.current),Qt.current=setInterval(Gt,280/(ft.current.length-Yt.current))):jt.current===!1&&(gt(Tt(ft.current)),clearInterval(Qt.current),Wn(!1),At())}),Tt=(Ut,Et="")=>(Ut=Ut+Et,Ut.split(new RegExp("(```.*?```)","gs")).map($t=>$t.startsWith("```")?$t:$t.replace(/\\\(([\s\S]*?)\\\)/g,"$$$$$1$$$$").replace(/\\\[([\s\S]*?)\\\]/g,"$$$$$1$$$$")).join("")),bt=()=>{hn.current&&(hn.current=!1,setTimeout(At,500))};return de.createElement(de.Fragment,null,de.createElement("div",{className:`${x.answer} fadeIn animated`,ref:jn},de.createElement(re.U,{remarkPlugins:[ee.Z],rehypePlugins:[b.Z,te.Z],components:{code(Ut){var Et=Ut,{node:Lt,inline:Rt,className:$t,children:rn}=Et,vn=Ee(Et,["node","inline","className","children"]);const bn=/language-(\w+)/.exec($t||"");return!Rt&&bn?de.createElement("div",{className:x.codeCopy},de.createElement(y.CopyToClipboard,{text:String(rn).replace(/\n$/,""),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},de.createElement("button",null,"\u590D\u5236")),de.createElement(ne.Z,Pe({style:a.Z,language:bn[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},vn),String(rn||"").replace(/\n$/,""))):de.createElement("code",Pe({className:$t},vn),rn)},img({node:Ut}){var Et;const Lt=(Et=Ut.properties)==null?void 0:Et.src;return de.createElement("div",{className:x.imgWrap,onClick:()=>le.Z.publish("preview-image",Lt)},de.createElement("img",{src:Lt,onLoad:bt}))}}},`${dt}${Rn&&!lr.current?"__":""}`)))},we={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},Me=Se(59301),Oe=(Ct,Ot,At)=>new Promise((tn,gn)=>{var dt=jt=>{try{ft(At.next(jt))}catch(Yt){gn(Yt)}},gt=jt=>{try{ft(At.throw(jt))}catch(Yt){gn(Yt)}},ft=jt=>jt.done?tn(jt.value):Promise.resolve(jt.value).then(dt,gt);ft((At=At.apply(Ct,Ot)).next())}),Le=({value:Ct="",streamingStatus:Ot,onFinish:At,cancelIndex:tn,time:gn,loading:dt})=>{const[gt,ft]=(0,ye.useState)(""),[jt,Yt]=(0,ye.useState)(!0),Qt=(0,ye.useRef)(Ct),jn=(0,ye.useRef)(Ot),hn=(0,ye.useRef)(0),Rn=(0,ye.useRef)(null),[Wn,lr]=(0,ye.useState)(!1),Gt=70;(0,ye.useEffect)(()=>{jn.current=Ot},[Ot]),(0,ye.useEffect)(()=>{Qt.current=Ct},[Ct]),(0,ye.useEffect)(()=>(lr(!0),Rn.current=setInterval(Tt,Gt),()=>{clearInterval(Rn.current)}),[]),(0,ye.useEffect)(()=>{Wn&&(ft(Qt.current),clearInterval(Rn.current),lr(!1),At())},[tn]);const Tt=()=>Oe(void 0,null,function*(){const bt=Qt.current[hn.current];bt!==void 0?(ft(Ut=>Ut+bt),hn.current++,clearInterval(Rn.current),Rn.current=setInterval(Tt,280/(Qt.current.length-hn.current))):jn.current===!1&&(ft(Qt.current),clearInterval(Rn.current),lr(!1),At())});return Me.createElement("div",{className:`${we.reasoning} fadeIn animated`},Me.createElement("div",{className:we.btn,onClick:()=>Yt(!jt)},Me.createElement("i",{className:"iconfont icon-shendusikao"}),gn?Me.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",gn," \u79D2\uFF09"):Me.createElement("span",null,"\u601D\u8003\u4E2D..."),jt?Me.createElement("b",{className:"iconfont icon-shouqi6"}):Me.createElement("b",{className:"iconfont icon-zhankai6"})),dt&&Me.createElement(ue.Z,{spinning:!0,className:"mt20"}),jt&&!dt&&Me.createElement("div",{className:we.content},gt,Wn?Me.createElement("span",{className:"aiBlink"},"__"):""))},Ye={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},He=Se(81327),Ge=Object.defineProperty,Ke=Object.getOwnPropertySymbols,ze=Object.prototype.hasOwnProperty,ke=Object.prototype.propertyIsEnumerable,Ne=(Ct,Ot,At)=>Ot in Ct?Ge(Ct,Ot,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Ot]=At,Ve=(Ct,Ot)=>{for(var At in Ot||(Ot={}))ze.call(Ot,At)&&Ne(Ct,At,Ot[At]);if(Ke)for(var At of Ke(Ot))ke.call(Ot,At)&&Ne(Ct,At,Ot[At]);return Ct};const qe=Ct=>React.createElement("svg",Ve({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Ct),React.createElement("path",{d:"M1019.407 620.8 891.834 397.781 946.49 293.12a29.099 29.099 0 0 0 6.4-36.395l-70.187-126.592a30.08 30.08 0 0 0-24.576-13.653H597.519L539.194 14.507a27.35 27.35 0 0 0-20.907-14.55H380.644a29.141 29.141 0 0 0-24.618 14.55v5.546L225.806 243.03H100.923a29.184 29.184 0 0 0-25.515 13.654L3.428 384.085a32.768 32.768 0 0 0 0 29.184L132.836 638.08 74.511 740.053a32.768 32.768 0 0 0 0 29.056l66.517 116.566a29.907 29.907 0 0 0 25.515 14.506H427.15l62.848 109.227A30.08 30.08 0 0 0 512.783 1024H660.41a29.141 29.141 0 0 0 24.576-14.55l128.469-224.853h114.773a31.915 31.915 0 0 0 24.662-15.445l66.474-117.419a28.16 28.16 0 0 0 0-30.976l.043.043zm-161.28 14.592L791.61 512.469 518.287 993.963l-74.752-122.88h-273.28l65.621-119.211h139.392L101.86 272.213h143.062L380.687 30.08l68.352 119.253-70.187 122.88H925.54l-69.205 121.942 137.6 241.194H858.17z",fill:"#605BEC"}),React.createElement("path",{d:"m499.983 699.307 174.379-274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TDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Qe=Object.defineProperty,Ue=Object.getOwnPropertySymbols,Be=Object.prototype.hasOwnProperty,Ze=Object.prototype.propertyIsEnumerable,Te=(Ct,Ot,At)=>Ot in Ct?Qe(Ct,Ot,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Ot]=At,We=(Ct,Ot)=>{for(var At in Ot||(Ot={}))Be.call(Ot,At)&&Te(Ct,At,Ot[At]);if(Ue)for(var At of Ue(Ot))Ze.call(Ot,At)&&Te(Ct,At,Ot[At]);return Ct};const at=Ct=>React.createElement("svg",We({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Ct),React.createElement("path",{d:"M1364.44 118.705c-14.178-6.695-20.322 6.065-28.593 12.525-2.914 2.048-5.277 4.726-7.64 7.246-20.717 21.268-44.899 35.21-76.643 33.556a152.576 152.576 0 0 0-120.674 45.371c-7.404-41.826-32.06-66.875-69.553-82.865-19.693-8.35-39.543-16.7-53.248-34.737-9.61-12.919-12.288-27.333-17.015-41.512-3.15-8.507-6.144-17.25-16.384-18.668-11.185-1.733-15.517 7.247-19.928 14.73a189.125 189.125 0 0 0-23.552 98.461c1.575 76.88 35.446 138.083 102.636 181.642 7.562 4.963 9.531 9.925 7.09 17.25-4.49 14.967-9.926 29.54-14.81 44.584-2.992 9.61-7.561 11.658-18.274 7.483a309.484 309.484 0 0 1-96.886-63.015c-47.813-44.426-91.057-93.342-144.935-131.702a635.825 635.825 0 0 0-38.36-25.207c-54.982-51.2 7.167-93.262 21.582-98.225 14.966-5.199 5.277-23.158-43.402-22.922-48.68.237-93.184 15.833-149.977 36.628-8.428 3.15-17.092 5.514-25.993 7.326a557.844 557.844 0 0 0-160.768-5.436c-105.157 11.264-189.204 58.92-250.96 140.367-74.2 97.832-91.687 208.975-70.261 325.002 22.449 122.25 87.434 223.468 187.47 302.631 103.582 82 222.917 122.172 359.188 114.452 82.708-4.568 174.79-15.202 278.686-99.485 26.151 12.445 53.642 17.486 99.249 21.267 35.131 3.072 69.002-1.733 95.153-6.931 40.96-8.35 38.203-44.741 23.316-51.437-120.202-53.72-93.814-31.822-117.839-49.624 61.125-69.317 153.206-141.312 189.204-374.706 2.835-18.51.472-30.168 0-45.213-.237-9.137 1.969-12.603 12.918-13.706a240.089 240.089 0 0 0 86.173-25.442c77.982-40.803 109.332-107.914 116.736-188.259 1.103-12.288-.236-24.97-13.705-31.429zM685.45 842.043C569.108 754.215 512.55 725.307 489.157 726.49c-21.82 1.26-17.96 25.206-13.155 40.802 5.042 15.439 11.58 26.073 20.717 39.621 6.301 8.9 10.791 22.213-6.302 32.295-37.494 22.213-102.794-7.561-105.787-8.98-76.012-42.929-139.421-99.564-184.241-176.994a523.894 523.894 0 0 1-72.468-239.93c-1.024-20.56 5.278-27.885 26.703-31.587a272.148 272.148 0 0 1 85.307-2.127c118.942 16.699 220.16 67.741 305.073 148.48 48.443 46.001 85.071 100.982 122.88 154.703 40.173 57.029 83.338 111.458 138.32 155.963 19.376 15.675 34.894 27.569 49.781 36.234-44.74 4.805-119.414 5.829-170.456-32.926zm55.926-344.615c0-5.357 2.757-10.398 7.326-13.47a17.723 17.723 0 0 1 22.134 2.048c3.072 2.915 4.805 7.09 4.805 11.422a16.778 16.778 0 0 1-17.25 16.541 17.33 17.33 0 0 1-12.131-4.883 15.911 15.911 0 0 1-4.884-11.658zm173.529 85.464a104.37 104.37 0 0 1-33.005 8.586 71.444 71.444 0 0 1-44.504-13.548c-15.282-12.288-26.23-19.141-30.72-40.645a89.167 89.167 0 0 1 .787-31.429c3.939-17.487-.393-28.75-13.312-38.912-10.476-8.35-23.71-10.634-38.36-10.634a32.06 32.06 0 0 1-14.179-4.175c-6.144-2.914-11.106-10.24-6.301-19.14a60.18 60.18 0 0 1 10.712-11.265c19.85-10.79 42.693-7.246 63.882.788 19.693 7.798 34.501 21.898 55.926 41.905 21.74 24.183 25.68 30.8 38.125 48.916 9.846 14.179 18.747 28.75 24.89 45.45 3.703 10.397-1.102 18.905-13.941 24.103z",fill:"#4D6BFE"}));var et="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04Mi44NjUtMTkuNjkzLTguMzUtMzkuNTQzLTE2LjctNTMuMjQ4LTM0LjczNy05LjYxLTEyLjkxOS0xMi4yODgtMjcuMzMzLTE3LjAxNS00MS41MTItMy4xNS04LjUwNy02LjE0NC0xNy4yNS0xNi4zODQtMTguNjY4LTExLjE4NS0xLjczMy0xNS41MTcgNy4yNDctMTkuOTI4IDE0LjczYTE4O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IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",Je=Se(59301),xe=({value:Ct,onChange:Ot})=>{const[At,tn]=(0,ye.useState)(!1),gn=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:rt},{name:"DeepSeek",key:"deepseek-r1",img:et}],dt=gn.find(gt=>gt.key===Ct);return Je.createElement("div",{className:Ye.select},Je.createElement(He.Z,{size:10},Je.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),Je.createElement("div",{className:Ye.box,onMouseLeave:()=>tn(!1)},Je.createElement("div",{className:Ye.text,onClick:()=>tn(!0)},Je.createElement("img",{src:dt.img,width:20}),Je.createElement("span",null,dt.name),Je.createElement("b",{className:"iconfont icon-zhankai6"})),At&&Je.createElement("div",{className:Ye.itemWrap},Je.createElement("aside",null,gn.map(gt=>Je.createElement("div",{key:gt.key,className:`${Ye.item} ${gt.key===Ct?Ye.active:""}`,onClick:ft=>{ft.stopPropagation(),Ot(gt.key),tn(!1)}},Je.createElement("img",{src:gt.img,width:20}),Je.createElement("span",null,gt.name))))))))},De={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2"},Re=Se(7660),Xe=Se(88230),nt={draggableImage:"draggableImage___vcTso"},tt=({src:Ct,onClick:Ot,topPercentage:At=.62})=>{const tn=(0,ye.useRef)(null),gn=(0,ye.useRef)(!1),dt=(0,ye.useRef)(!1),[gt,ft]=(0,ye.useState)(window.innerHeight*At),[jt,Yt]=(0,ye.useState)(!1),Qt=10;return(0,ye.useEffect)(()=>{if(tn.current){let jn=function(Gt){var Tt;gn.current=!0,lr=Gt.pageY,Wn=Gt.pageY-(((Tt=tn.current)==null?void 0:Tt.getBoundingClientRect().top)||0),(0,Xe.kk)("none"),document.onselectstart=function(){return!1}},hn=function(){gn.current&&!dt.current&&Ot&&Ot(),gn.current=!1,dt.current=!1,(0,Xe.kk)("auto"),document.onselectstart=null},Rn=function(Gt){var Tt;if(gn.current){const Ut=Gt.pageY-Wn,Et=window.innerHeight-(((Tt=tn.current)==null?void 0:Tt.offsetHeight)||0)-50,Lt=50;if(!dt.current&&Math.abs(lr-Gt.pageY)>Qt&&(dt.current=!0),dt.current){let Rt=Math.max(Lt,Math.min(Ut,Et));ft(Rt)}}},Wn=0,lr=0;return tn.current.addEventListener("mousedown",jn),document.addEventListener("mousemove",Rn),document.addEventListener("mouseup",hn),()=>{tn.current.removeEventListener("mousedown",jn),document.removeEventListener("mousemove",Rn),document.removeEventListener("mouseup",hn)}}},[Ot]),(0,ye.useEffect)(()=>{const jn=()=>{ft(window.innerHeight*At)};return window.addEventListener("resize",jn),()=>{window.removeEventListener("resize",jn)}},[At]),ye.createElement("div",{className:nt.draggableImage,style:{top:`${gt}px`,display:jt?"none":"block",cursor:gn.current?"grabbing":"grab"},ref:tn},ye.createElement("img",{src:Ct,width:60,draggable:"false"}),ye.createElement("i",{className:"iconfont icon-tupianguan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r5N4we9hBASml2tq6+pnvzipsaNnaFXnxuGWWlOWzckKC2Nk1Jbh+au+K8/uk75BgR4l6SfnkljNmnkF/992kIK0hZv3z+8tdPeOvTTuaHBmAUFWCFgrjhPGLDB5MYFIWQg0gGKJq/kVC6AzfWTaqpmf+IdDNuRF66ra3r19fcf+2dnzeT9VWs9B4FINP89sSP3lz1UHtd16SVK9vZvDlNLGaQJ4p0cfzZJa9g6Wk8Q89nnHjYQC754dGYwTBVQ/vw3D83MG/hZmQmiekFsHOjLN+cwczvy6rD9sfOyaO0O8E+bz1NjimYNLIUy1FDb8bCwr6hS39298++tfHhXiKsePbm4CdrzP9csyp+3dat6f52xiKfPqRthzmr5hK3u5CeIJxjcPbUcZx07HcIRMKU9S1iyRsp1s0V1CXqWd6xgWGFVSxoa6cqL6BbO6VFebpNU5IfYvnqFFPLv1PXUb7qDoPOx25+7uZvf0B8e9bfdd5/5aza6E5vaU5evk/JyLHddlysaVrOmoZqDAJUlORy/eXHU1FaSCg3gkhFWT3bZM7y1azt3ki/gjJC0RysYIa059LeGaeqJJ94Ii6H9Kv8NNcovk+uKXvqF8un/N/+CcBu5N24Yb8H9pfF6XOW1M+bUtNYP6yoIGRccPphjBrZT7dBcosjtC2PsnRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",ut=Se(38446),pt=Se(86204),vt=Object.defineProperty,mt=(Ct,Ot,At)=>Ot in Ct?vt(Ct,Ot,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Ot]=At,St=(Ct,Ot,At)=>mt(Ct,typeof Ot!="symbol"?Ot+"":Ot,At),_t=(Ct,Ot,At)=>new Promise((tn,gn)=>{var dt=jt=>{try{ft(At.next(jt))}catch(Yt){gn(Yt)}},gt=jt=>{try{ft(At.throw(jt))}catch(Yt){gn(Yt)}},ft=jt=>jt.done?tn(jt.value):Promise.resolve(jt.value).then(dt,gt);ft((At=At.apply(Ct,Ot)).next())});class Mt extends pt.EventEmitter{constructor(Ot,At){super(),St(this,"url"),St(this,"body"),St(this,"fullContent",""),St(this,"controller",null),this.url=Ot,this.body=At}startStream(){return _t(this,null,function*(){this.controller=new AbortController;const{signal:Ot}=this.controller;try{const At=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:Ot});if(!At.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${At.status}`);const tn=At.headers.get("content-type");if(!tn||!tn.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const gn=At.body.getReader(),dt=new TextDecoder("utf-8");for(;;){const{done:gt,value:ft}=yield gn.read();if(gt)break;const Yt=dt.decode(ft,{stream:!0}).split(` +`);for(const Qt of Yt)if(Qt.startsWith("data:")){const jn=Qt.slice(5).trim();if(jn==="[DONE]")break;try{const hn=JSON.parse(jn);hn.data&&this.handleData(hn.data)}catch(hn){console.error("\u89E3\u6790 JSON \u5931\u8D25:",hn)}}}this.emit("done",this.fullContent)}catch(At){At.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",At.message)}})}handleData(Ot){Ot.content&&(this.fullContent+=Ot.content,this.emit("data",{chunk:Ot,full:this.fullContent}))}cancelRequest(){var Ot;(Ot=this.controller)==null||Ot.abort()}}var yt=Mt,wt=Se(58617),xt=Se(32050),cn=Object.defineProperty,Vt=Object.defineProperties,sn=Object.getOwnPropertyDescriptors,Zt=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,Ht=Object.prototype.propertyIsEnumerable,ln=(Ct,Ot,At)=>Ot in Ct?cn(Ct,Ot,{enumerable:!0,configurable:!0,writable:!0,value:At}):Ct[Ot]=At,Tn=(Ct,Ot)=>{for(var At in Ot||(Ot={}))nn.call(Ot,At)&&ln(Ct,At,Ot[At]);if(Zt)for(var At of Zt(Ot))Ht.call(Ot,At)&&ln(Ct,At,Ot[At]);return Ct},Sn=(Ct,Ot)=>Vt(Ct,sn(Ot)),Ln=(Ct,Ot,At)=>new Promise((tn,gn)=>{var dt=jt=>{try{ft(At.next(jt))}catch(Yt){gn(Yt)}},gt=jt=>{try{ft(At.throw(jt))}catch(Yt){gn(Yt)}},ft=jt=>jt.done?tn(jt.value):Promise.resolve(jt.value).then(dt,gt);ft((At=At.apply(Ct,Ot)).next())}),mn=({title:Ct="\u5934\u6B4CAI",placeholder:Ot,hideUpload:At,hideInputBox:tn,aiIcon:gn=st,userIcon:dt=it,dragIcon:gt=lt,children:ft,fetchUrl:jt,fetchData:Yt={},extraAnswerAction:Qt,showDefaultTips:jn=!0,onOpen:hn,onClose:Rn,loadingOption:Wn,showPreference:lr=!1,initMessage:Gt,customRequest:Tt,visible:bt,width:Ut=1200,isCheckRestrictNumber:Et=!1,headNode:Lt,headFunctionNode:Rt,showRedraw:$t,showEdit:rn,promptPropName:vn="prompt",topPercentage:bn,showSwitchingModel:Cn=!1,showImageGenerator:Pn=!1})=>{var On;const[An,It]=(0,ye.useState)(!1),[qn,Un]=(0,ye.useState)("qwen-max"),[zn,pn]=(0,ye.useState)([]),[Bt,Wt]=(0,ye.useState)(!1),[on,Xt]=(0,ye.useState)([]),[En,Nn]=(0,ye.useState)(""),[$n,Kn]=(0,ye.useState)(0),[ir,Pr]=(0,ye.useState)(!1),[dr,qt]=(0,ye.useState)(null),[_r,Er]=(0,ye.useState)(""),fr=(0,ye.useRef)(),nr=(0,ye.useRef)(null),gr=(0,ye.useRef)(null),[hr,mr]=(0,ye.useState)(!1),[kn,er]=(0,ye.useState)(!1),[ur,Yn]=(0,ye.useState)(!1),[cr,sr]=(0,ye.useState)(0),vr=(0,ye.useRef)(null),yr=(0,ye.useRef)(!1),rr=(0,ye.useRef)(null),[Ir,xr]=(0,ye.useState)(!0),Or=(0,ye.useRef)(!1),Dr=En==null?void 0:En.split(` +`).length,ht=Ut-48,Dt={maxCount:10,showUploadList:!1,withCredentials:!0,fileList:zn,multiple:!0,accept:".doc,.docx,.md,.txt,.pdf,.jpg,.png",beforeUpload:Ft=>{var dn,Kt,_n,In;const Vn=(In=(_n=(Kt=(dn=Ft==null?void 0:Ft.name)==null?void 0:dn.split("."))==null?void 0:Kt.slice(-1))==null?void 0:_n[0])==null?void 0:In.toLowerCase(),Zn=["doc","docx","md","pdf","txt","jpg","png"].includes(Vn);return Ft.size==0?(je.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),E.default.LIST_IGNORE):Zn||(je.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001jpg\u3001png\u6587\u4EF6"),E.default.LIST_IGNORE)},onChange:({fileList:Ft})=>{pn(Ft)},action:`${(On=ut.Z)==null?void 0:On.API_SERVER}/api/intelligent_imports/upload_file.json`};(0,ye.useEffect)(()=>{if(!on.length||!fr.current)return;const Ft=on[on.length-1];Ft!=null&&Ft.loading&&(fr.current.scrollTop=fr.current.scrollHeight)},[on.length]),(0,ye.useEffect)(()=>{if(!fr.current||!vr.current)return;const Ft=new IntersectionObserver(([dn])=>{xr(dn.isIntersecting)},{root:fr.current,rootMargin:"70px",threshold:0});return Ft.observe(vr.current),()=>{vr.current&&Ft.unobserve(vr.current)}},[fr.current,vr.current]),(0,ye.useEffect)(()=>{if(!hr)return;const Ft=fr.current,dn=rr.current;yr.current=!1;const Kt=()=>{const{scrollTop:In,scrollHeight:Vn,clientHeight:Xn}=Ft,Zn=In+Xn===Vn;yr.current=!0,Zn&&(yr.current=!1)};Ft.addEventListener("wheel",Kt);const _n=new ResizeObserver(()=>{yr.current||(Ft.scrollTop=Ft.scrollHeight)});return _n.observe(dn),()=>{var In;_n.unobserve(dn),(In=Ft==null?void 0:Ft.removeEventListener)==null||In.call(Ft,"wheel",Kt)}},[hr]),(0,ye.useEffect)(()=>{typeof bt=="boolean"&&It(bt)},[bt]),(0,ye.useEffect)(()=>{typeof bt=="boolean"&&It(bt)},[bt]),(0,ye.useEffect)(()=>{var Ft;if(nr.current&&dr!==null){nr.current.focus();const dn=(Ft=nr.current.resizableTextArea)==null?void 0:Ft.textArea;dn&&(dn.selectionStart=dn.selectionEnd=dn.value.length)}},[dr]),(0,ye.useEffect)(()=>{Dr<5&&Pr(!1)},[Dr]),(0,ye.useEffect)(()=>{An&&Gt&&(Xt(Pt(Gt)),Wt(!0),Jt(Gt,{history:[]})),An&&Et&&en(),An||kt()},[An]);const Pt=(Ft="",dn=[])=>{const Kt=Date.now();return[{text:Ft,key:Kt,sender:"user",fileList:dn,show:!0},{loading:!0,key:Kt,sender:"AI",show:!0,model:qn,imageGenerator:ur,thinkingEnabled:kn}]},kt=()=>{var Ft,dn;Er(""),qt(null),pn([]),Nn(""),(dn=(Ft=gr.current)==null?void 0:Ft.cancelRequest)==null||dn.call(Ft)},zt=()=>{if(hn){hn({chatData:on,setChatData:Xt,setLoading:Wt,getData:Jt,renderChatItems:Pt});return}It(!0)},Nt=()=>{if(Rn){Rn();return}It(!1)},un=()=>{Pr(!ir)},en=()=>Ln(void 0,null,function*(){const Ft=yield(0,Re.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(Ft==null?void 0:Ft.status)===0&&Kn(Ft==null?void 0:Ft.number)}),an=()=>{pe.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:ye.createElement("div",null,ye.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ye.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},fn=Ft=>Ft.reduce((Kt,_n)=>{var In,Vn;if(_n.sender==="user"){const Xn=Ft.find(Zn=>Zn.key===_n.key&&Zn.sender==="AI");Xn&&(Xn!=null&&Xn.text)&&!((Vn=(In=Xn==null?void 0:Xn.response)==null?void 0:In.data)!=null&&Vn.message)&&Kt.push({question:_n.text,answer:Xn.text})}return Kt},[]),Jt=(...Ft)=>Ln(void 0,[...Ft],function*(dn="",Kt={},_n=on){if(Tt&&(yield Tt({mes:dn,setChatData:Xt,fileList:zn,body:Kt,checkNum:en,setLoading:Wt,bodyChatData:_n,setTyping:mr,setImageGenerator:Yn})),!Tt){const In=zn==null?void 0:zn.map(br=>{var Br;return(Br=br==null?void 0:br.response)==null?void 0:Br.file_id}),Vn=Kt.history||fn(_n),Xn=Tn(Tn({response_mode:"streaming",model:qn,thinking_enabled:kn,image_generator:ur,file_ids:In,history:Vn,[vn]:dn},Yt),Kt),Zn=Object.fromEntries(Object.entries(Xn).filter(([br,Br])=>Br!==void 0));gr.current=new yt(ut.Z.API_SERVER+jt,Zn),yield new Promise((br,Br)=>{let Mr=null,Fr=null;gr.current.on("data",pr=>{mr(!0);const{chunk:{content:xn,type:Gn,created:Sr}}=pr;Gn==="thinking"&&(Mr=Mr||Sr,Xt(Ar=>[...Ar].map((jr,Ur)=>Ur===Ar.length-1?Sn(Tn({},jr),{reasoning:(jr.reasoning||"")+xn,loading:!1,hideAnswer:!0}):jr))),Gn==="text"&&(Fr=Fr||Sr,Xt(Ar=>[...Ar].map((jr,Ur)=>Ur===Ar.length-1?Sn(Tn({},jr),{text:(jr.text||"")+xn,loading:!1,startTime:Mr,endTime:Fr}):jr)))}),gr.current.on("done",()=>{br()}),gr.current.on("error",()=>{const pr="\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!",xn={status:0,data:{message:pr}};Xt(Gn=>[...Gn].map((Sr,Ar)=>Ar===Gn.length-1?Sn(Tn({},Sr),{text:pr,loading:!1,response:xn}):Sr)),br()}),gr.current.on("cancelled",()=>{br()}),gr.current.startStream()})}Et&&en(),Wt(!1)}),Bn=Ft=>{Nn(Ft.target.value)},wn=(Ft,dn)=>{if(kt(),Wt(!0),Ft==="edit"){const Kt=on.splice(dn),{fileList:_n}=(Kt==null?void 0:Kt[0])||{},In=_n.map(Xn=>{var Zn;return(Zn=Xn.response)==null?void 0:Zn.file_id}),Vn={history:fn(on),file_ids:In};Xt([...on,...Pt(_r,_n)]),Jt(_r,Vn,on)}if(Ft==="redraw"){const Kt=on.splice(dn-1),{text:_n,fileList:In}=(Kt==null?void 0:Kt[0])||{},Vn=In.map(Zn=>{var br;return(br=Zn.response)==null?void 0:br.file_id}),Xn={history:fn(on),file_ids:Vn};Xt([...on,...Pt(_n,In)]),Jt(_n,Xn,on)}},Fn=()=>{if(En.trim()!==""){kt(),Wt(!0);const Ft=zn.filter(dn=>dn.status==="done");Xt([...on,...Pt(En,Ft)]),Jt(En)}},Mn=Ft=>{if(Ft.shiftKey){if(Ft.key==="Enter")return}else if(Ft.key==="Enter"){if(Ft.preventDefault(),Lr||Or.current)return;Fn()}},Jn=(Ft,dn)=>{var Kt;const _n=dn===dr;return ye.createElement("div",{className:De.li,style:{width:ht}},ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:dt})),ye.createElement("div",{className:De.content},!!Ft.fileList&&ye.createElement("div",{className:De.fileWrap},(Kt=Ft.fileList)==null?void 0:Kt.map((In,Vn)=>{var Xn,Zn;return ye.createElement("div",{key:Vn,className:De.file},ye.createElement("img",{src:Se(90034)(`./${((Zn=(Xn=In==null?void 0:In.name)==null?void 0:Xn.split("."))==null?void 0:Zn.pop())||"txt"}.png`),width:20,className:"mr10"}),ye.createElement("aside",null,ye.createElement(he.Z,{title:In==null?void 0:In.name},ye.createElement("div",{className:De.fileName},In==null?void 0:In.name)),ye.createElement("div",{className:"c-grey-999 font12"},(0,Xe.RD)(In==null?void 0:In.size))))})),ye.createElement("div",{className:De.borderBox},_n?ye.createElement(ce.default.TextArea,{value:_r,ref:nr,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:In=>Er(In.target.value)}):ye.createElement("div",{className:De.text},Ft==null?void 0:Ft.text)),_n?ye.createElement("div",{className:De.action},ye.createElement(oe.ZP,{onClick:()=>{Er(""),qt(null)},size:"small"},"\u53D6\u6D88"),ye.createElement(oe.ZP,{disabled:!_r.trim(),onClick:()=>wn("edit",dn),type:"primary",size:"small"},"\u786E\u8BA4")):ye.createElement("div",{className:De.action},ye.createElement(y.CopyToClipboard,{text:(Ft==null?void 0:Ft.text)||"",onCopy:()=>je.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(he.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),rn&&!Bt&&ye.createElement(he.Z,{title:"\u7F16\u8F91"},ye.createElement("i",{onClick:()=>{qt(dn),Er((Ft==null?void 0:Ft.text)||"")},className:"iconfont icon-bianji10 font14"})))))},ar=(Ft,dn)=>{const Kt=dn===on.length-1?{ref:rr}:{};return ye.createElement("div",Sn(Tn({},Kt),{className:De.li,style:{width:ht}}),ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:gn})),ye.createElement("div",{className:De.content},ye.createElement("div",{className:De.borderBox},Ft.loading&&ye.createElement(ye.Fragment,null,Ft!=null&&Ft.imageGenerator?ye.createElement("div",{className:De.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",ye.createElement("div",{className:"ai-loading"})):!(Ft!=null&&Ft.thinkingEnabled)&&ye.createElement("div",null,ye.createElement("div",{className:De.loading},ye.createElement("div",{className:De.dot}),ye.createElement("div",{className:De.dot}),ye.createElement("div",{className:De.dot})),ye.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(Wn==null?void 0:Wn.text)||"\u8BF7\u8010\u5FC3\u7B49\u5F85\uFF0C\u76EE\u524D\u9AD8\u5CF0\u671F\u4F53\u9A8C\u4EBA\u6570\u8FC7\u591A\uFF0C\u6211\u4EEC\u5DF2\u8BB0\u5F55\u4E0B\u60A8\u7684\u9700\u6C42\uFF0C\u7A0D\u540E\u5C06\u81EA\u52A8\u4E3A\u60A8\u751F\u6210\u7B54\u6848\u3002"))),(Ft==null?void 0:Ft.thinkingEnabled)&&ye.createElement(Le,{time:Ft==null?void 0:Ft.time,cancelIndex:cr,loading:Ft.loading,streamingStatus:!(Ft!=null&&Ft.text),onFinish:()=>{Xt(_n=>[..._n].map((In,Vn)=>Vn===_n.length-1?Sn(Tn({},In),{hideAnswer:!1,time:In.startTime?In.endTime-In.startTime:null}):In))},value:Ft==null?void 0:Ft.reasoning}),!!(Ft!=null&&Ft.text)&&!Ft.hideAnswer&&ye.createElement(_e,{cancelIndex:cr,streamingStatus:Bt,loadImage:!!(Ft!=null&&Ft.imageGenerator),onFinish:()=>{mr(!1)},value:Ft==null?void 0:Ft.text})),ye.createElement("div",{className:De.action},Qt==null?void 0:Qt(Ft),ye.createElement(y.CopyToClipboard,{text:String((Ft==null?void 0:Ft.text)||""),onCopy:()=>je.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},ye.createElement(he.Z,{title:"\u590D\u5236"},ye.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),lr&&ye.createElement(ye.Fragment,null,ye.createElement(he.Z,{title:"\u559C\u6B22"},ye.createElement("i",{style:Ft!=null&&Ft.like?{color:"#FA8D30"}:{},onClick:()=>wr("like",!(Ft!=null&&Ft.like),dn),className:"iconfot icon-yijiejue font15"})),ye.createElement(he.Z,{title:"\u4E0D\u559C\u6B22"},ye.createElement("i",{style:Ft!=null&&Ft.boring?{color:"#e86d7c"}:{},onClick:()=>wr("boring",!(Ft!=null&&Ft.boring),dn),className:"iconfot icon-weijiejuezhengchang font15"}))),$t&&!Bt&&ye.createElement(he.Z,{title:"\u91CD\u65B0\u751F\u6210"},ye.createElement("i",{onClick:()=>wn("redraw",dn),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},wr=(Ft,dn,Kt)=>{Xt(_n=>(_n[Kt][Ft]=dn,dn&&(_n[Kt][Ft==="like"?"boring":"like"]=!1),[..._n]))},Cr=()=>{var Ft,dn;sr(Kt=>Kt+1),(dn=(Ft=gr.current)==null?void 0:Ft.cancelRequest)==null||dn.call(Ft),Wt(!1),mr(!1)},tr=$n>9,or=At||zn.length>9,Lr=zn.some(Ft=>Ft.status==="uploading")||Bt||hr,Hn=ur||kn||!!zn.length;return ye.createElement("div",null,ft?ye.createElement("div",{onClick:zt},ft):ye.createElement(tt,{src:gt,onClick:zt,topPercentage:bn}),ye.createElement(ie.Z,{open:An,width:Ut,extra:Cn&&ye.createElement(xe,{value:qn,onChange:Ft=>{er(!1),Yn(!1),Un(Ft)}}),title:ye.createElement("span",{className:"c-grey-333 font16"},Ct),onClose:Nt,bodyStyle:{paddingRight:4}},ye.createElement("div",{className:ae()(De.wrap,An&&"body-overflow-hidden")},ye.createElement("div",{ref:fr,className:De.chatContainer},jn&&ye.createElement("div",{className:`${De.li} mb20`,style:{width:ht}},ye.createElement("div",{className:De.avatarIcon},ye.createElement("img",{className:De.img,src:gn})),ye.createElement("div",{className:De.content},ye.createElement("div",{className:De.borderBox},Lt,Rt==null?void 0:Rt({isDisabledNum:tr,checkNumModal:an,checkNum:en,onClose:Nt,setChatData:Xt,setLoading:Wt,getData:Jt,clearStatus:kt,typing:hr,setImageGenerator:Yn,renderChatItems:Pt})))),on==null?void 0:on.map((Ft,dn)=>ye.createElement(ye.Fragment,{key:Ft.key+dn},Ft.show&&ye.createElement(ye.Fragment,null,Ft.sender==="user"&&Jn(Ft,dn),Ft.sender==="AI"&&ar(Ft,dn)))),!Ir&&ye.createElement("div",{className:De.backBottom,onClick:()=>{yr.current=!1,fr.current.scrollTop=fr.current.scrollHeight}},ye.createElement("i",{className:"iconfont icon-huidaodibu"})),ye.createElement("div",{ref:vr})),!tn&&ye.createElement("div",{className:ae()(De.footerContainer,ir&&De.full,Hn&&De.footerContainerSelected)},ye.createElement("div",{className:De.btnWrp},qn==="deepseek-r1"&&ye.createElement("div",{onClick:()=>er(!kn),className:ae()("current",kn&&De.btnActive)},ye.createElement("i",{className:"iconfont icon-shendusikao mr10 font12"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09"),Pn&&qn==="qwen-max"&&ye.createElement("div",{onClick:()=>Yn(!ur),className:ae()("current",ur&&De.btnActive)},ye.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10 font12"}),"\u56FE\u50CF\u751F\u6210"),zn.map(Ft=>ye.createElement("div",{key:Ft.uid},(Ft==null?void 0:Ft.status)==="uploading"&&ye.createElement(ue.Z,{indicator:ye.createElement(wt.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),ye.createElement("span",{title:Ft==null?void 0:Ft.name,className:"mr10"},(0,Xe.Pq)(Ft.name,20)),ye.createElement("i",{onClick:()=>pn(dn=>dn.filter(Kt=>Kt.uid!==Ft.uid)),className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font12"})))),ye.createElement(he.Z,{title:tr&&ye.createElement("div",null,ye.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),ye.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u752810\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},ye.createElement("div",{className:ae()(De.inputContainer,Dr>4&&De.lineFour,tr&&De.disabledInput)},ye.createElement(E.default,Sn(Tn({},Dt),{className:`${or&&"hide"}`}),ye.createElement(oe.ZP,{className:De.uploadBtn,icon:ye.createElement(xt.Z,{style:{fontSize:18,color:"#FFF"}})})),ye.createElement(ce.default.TextArea,{rows:Dr>4?4:Dr,placeholder:Ot||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:En,bordered:!1,style:or?{paddingLeft:0,marginLeft:0}:{},onChange:Bn,onPressEnter:Mn,onCompositionStart:()=>{Or.current=!0},onCompositionEnd:()=>{Or.current=!1}}),hr?ye.createElement("div",{className:`iconfont icon-tingzhihuida ${De.cancelBtn}`,onClick:Cr}):ye.createElement(oe.ZP,{className:(En==null?void 0:En.trim())===""?De.sendBtnDisabled:De.sendBtn,icon:ye.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:Lr,onClick:Fn}),Dr>4&&ye.createElement("span",{className:De.fullIcon,onClick:un},ir&&ye.createElement("span",{className:"iconfont icon-shousuo"}),!ir&&ye.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},71400:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Ee},U:function(){return be}});var ye=Se(59301),je=Se(31797),E=Se(43418),pe=Se(1710),he=Se(20736),ce=Se(30897),oe=Se(61186),ie=Se.n(oe),ue={exitFullScreenModalWrapper:"exitFullScreenModalWrapper___aNB9Q",exitFullScreenModal:"exitFullScreenModal___HIMyY",warningIcon:"warningIcon___xEURa",warningText:"warningText___W6NPJ",countdownWrapper:"countdownWrapper___n8g1M",forcedModalWrapper:"forcedModalWrapper___JPMQ2",forcedModalContent:"forcedModalContent___uY5FV",forcedText:"forcedText___C3CrF",screenNumText:"screenNumText___oljHN"},se="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gts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zr1cIlvqFY85A6p6jkP0ksAvh2SejsQjDAsXWPHihUMFX9IqArYoBKomv7HIoqzjiXVMlwzkoCupHr5Z1ElskhFpz05Dtw3hY5t03ASN08m1TA32MS8gPuMONKLf8Y+vx6fy5//F98kX9HlCXiv6MVDL4Ill+h8mdv2MpgXSNHDCYZYXIJWHfRtRiJvWUqjkgCDqLjjcnK4HJqultkCEVuf9pB8gPcUDak1y5D67ghWimDuWrbrlOfL2k7hviv7s/iPbsQIymAwqW2vt8CTNirxtEymOUsgY85kLOqMTmZJyRi4sifgOjnGUj+7sM9CO2NZVH5WMjVGo3i5fBm85z8EqZVNi37uklJk+iSriU9a4ljNWb2axtq2vU7KxeCOg6guVoRFXn8J8u83sc4wTu2tl7RD9eVrUIxE61FwndxXk7xplljlY2oFkN6o43oyZpAZnuemIdKWWTYFCTAbuOQDk9uD2zoDSocAS/0cRPTjAaw7/rOjJeR1bvOlaAPgdMjdr4St0/FgcIG5YoAtDUb37G1bzrDZX2UNrxIE6TkwoL/8d0321TbvzKSI5Z4CW8Gpzby/NrFk89H0N9C9S6shR23b9dUsq+oSKaJcyg7Wl/tXjVLachi+/gIhz/gBjfH0lKftjF+DBZypz5n7yNYnrZGlVAOWpXpfqt+5XVHVlOOXzYLaes6cp7lsT0KLM6h/2lnqtw8RX/QYumE+Y7XXy6xth/8if6ImB6BgJdpDQ2ujdGnOonKuwunsf2//79VZiDt+futsxb/2re3v1fPQ1TTTant/5lqvbvcZ3dWg/99cOe54/O2Ptf31b2/83OetvD93rpmxapp/vuPXJp9c98j23mXcU3cgy23lQ6qdgowgNPwCCYtZKRJmPlKmFd/M4C19WyTQWCXw/2FPRE8ZCmprAAAAAElFTkSuQmCC",re=Se(88230),ne=Se(24459),te=Se(3404),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,de=(Ae,Ce,_e)=>Ce in Ae?y(Ae,Ce,{enumerable:!0,configurable:!0,writable:!0,value:_e}):Ae[Ce]=_e,ge=(Ae,Ce)=>{for(var _e in Ce||(Ce={}))z.call(Ce,_e)&&de(Ae,_e,Ce[_e]);if(ee)for(var _e of ee(Ce))le.call(Ce,_e)&&de(Ae,_e,Ce[_e]);return Ae},fe=(Ae,Ce)=>x(Ae,b(Ce)),me=(Ae,Ce,_e)=>new Promise((we,Me)=>{var Oe=Ye=>{try{Le(_e.next(Ye))}catch(He){Me(He)}},Fe=Ye=>{try{Le(_e.throw(Ye))}catch(He){Me(He)}},Le=Ye=>Ye.done?we(Ye.value):Promise.resolve(Ye.value).then(Oe,Fe);Le((_e=_e.apply(Ae,Ce)).next())});const be=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:ve}=je.default,Pe=({exercise:Ae,socket:Ce,dispatch:_e,onStartScreenshot:we,onCloseScreenshot:Me,handleToDetail:Oe})=>{const[Fe,Le]=E.default.useModal(),Ye=(0,ye.useRef)(),[He,Ge]=(0,ye.useState)(!0),Ke=(0,ye.useRef)(!1),ze=(0,ne.useParams)();(0,ye.useEffect)(()=>{var De,Re,Xe;if(document.addEventListener((0,he.gH)(),Ie,!1),window.addEventListener("blur",et,!1),(De=Ae.exerciseUserInfo)!=null&&De.screen_open&&(0,he.vp)()&&Ge(!1),(Re=Ae.exerciseUserInfo)!=null&&Re.screen_open&&!(0,he.vp)()){(0,re.RG)(" ",!0);const nt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Ae.exerciseUserInfo.screen_sec+3:Ae.exerciseUserInfo.screen_sec+10+1;Ye.current=E.default.info({icon:null,centered:!0,width:444,title:(0,te._V)(te.CP.recordScreen1),keyboard:!1,content:a.createElement("div",null,(0,te._V)(te.CP.recordScreen2),a.createElement("span",{style:{color:"#FF9849"}},Ae.exerciseUserInfo.screen_num-Ae.exerciseUserInfo.used_screen_num),(0,te._V)(te.CP.recordScreen3)),okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen4),"\uFF08",a.createElement("span",{style:{display:"inline-block"}},a.createElement(ve,{onFinish:()=>me(void 0,null,function*(){var $e;const tt=yield Je();($e=Ye.current)==null||$e.destroy(),tt.used_screen_num&&Te(tt.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+nt*1e3})),"S\uFF09"),onOk:()=>{var $e;(0,re.RG)(" ",!0),($e=Ye.current)==null||$e.destroy(),Ge(!1),(0,he.Dj)(document.body),document.getElementById("root").addEventListener("click",Ne,!1)}})}return(Xe=Ae.exerciseUserInfo)!=null&&Xe.screen_open&&!(0,he.vp)()||document.getElementById("root").addEventListener("click",Ne,!1),()=>{document.getElementById("root").removeEventListener("click",Ne,!1),document.removeEventListener((0,he.gH)(),Ie,!1),window.removeEventListener("blur",et,!1)}},[]),(0,ye.useEffect)(()=>{setTimeout(()=>{Ae.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",Ne,!1),document.removeEventListener((0,he.gH)(),Ie,!1))},500),Ve()},[Ae.actionTabs]),(0,ye.useEffect)(()=>{setTimeout(()=>{Ae.exerciseUserInfo.used_screen_num>Ae.exerciseUserInfo.screen_num&&We()},500)},[Ae.exerciseUserInfo]);const ke=()=>me(void 0,null,function*(){const De=yield Je();setTimeout(()=>{var Re,Xe;(Re=Ye.current)==null||Re.destroy(),Ye.current=E.default.info({okText:a.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:a.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",a.createElement("span",{className:"c-red"},De.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",a.createElement("span",{className:"c-red"},(Xe=Ae.exerciseUserInfo)==null?void 0:Xe.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>me(void 0,null,function*(){(0,he.Dj)(document.body)})})},1e3)}),Ne=De=>{!(0,he.vp)()&&De.target.nodeName!=="A"&&De.target.nodeName!=="BUTTON"&&De.target.innerHTML!=="\u786E \u5B9A"&&(0,he.Dj)(document.body)},Ve=()=>me(void 0,null,function*(){const De=yield _e({type:"exercise/getExerciseUserInfo",payload:ge({},ze)});return De==null?void 0:De.data}),qe=De=>me(void 0,null,function*(){var Re;if((Re=Ae.exerciseUserInfo)!=null&&Re.screen_at){const nt=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Xe=yield(0,ce.oy)({id:ze.categoryId});if(Xe!=null&&Xe.is_commit){E.default.destroyAll(),yield rt(),at(!0);return}else Te(De+1)}),rt=()=>me(void 0,null,function*(){var De;const Re=ie()(),Xe=Ae.exerciseUserInfo.screen_sec;if(Be.current.length>0){const nt=Re.format("YYYY-MM-DD HH:mm:ss");let $e=Math.floor(Re.diff(ie()(Be.current[0].start))/1e3);const tt=Be.current.length;$e/Xe>>0>tt&&($e=(tt+1)*Xe-1),yield(0,ce.P8)(ze.categoryId,{exercise_user_id:(De=Ae.exerciseUserInfo)==null?void 0:De.exercise_user_id,time:nt,time_long:$e,count:tt})}Be.current=[]}),Qe=(0,ye.useRef)(0),Ue=(0,ye.useRef)(0),Be=(0,ye.useRef)([]),Ze=(0,ye.useRef)(!1),Te=De=>me(void 0,null,function*(){var Re;Ke.current||(we(),E.default.destroyAll(),Qe.current=ie()().valueOf(),Ze.current=!0,Ye.current=E.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:ue.exitFullScreenModalWrapper,okText:a.createElement("span",null,(0,te._V)(te.CP.recordScreen8)),content:a.createElement("div",{className:ue.exitFullScreenModal},a.createElement("img",{src:se,alt:"",className:ue.warningIcon}),a.createElement("div",{className:ue.warningText,style:{marginBottom:50,fontWeight:500}},(0,te._V)(te.CP.recordScreen9)),a.createElement("div",{style:{marginBottom:40}},(0,te._V)(te.CP.recordScreen10)),a.createElement("div",{style:{marginBottom:40}},(0,te._V)(te.CP.recordScreen11),a.createElement("span",{className:ue.warningText},((Re=Ae.exerciseUserInfo)==null?void 0:Re.screen_num)+1),(0,te._V)(te.CP.recordScreen12),a.createElement("span",{className:ue.warningText,style:{fontWeight:600}},(0,te._V)(te.CP.recordScreen13)),",",(0,te._V)(te.CP.recordScreen14),a.createElement("span",{className:ue.warningText},De-1),(0,te._V)(te.CP.recordScreen15)),a.createElement("div",null,a.createElement("span",null,a.createElement(ve,{className:ue.countdownWrapper,onFinish:()=>{Ue.current=ie()().valueOf(),Be.current.push({start:Qe.current,end:Ue.current}),qe(De)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Ae.exerciseUserInfo.screen_sec+1)*1e3}),(0,te._V)(te.CP.recordScreen25)),(0,te._V)(te.CP.recordScreen16))),onOk:()=>{(0,re.RG)(" ",!0),rt(),(0,he.Dj)(document.body),Me(),Ye.current.destroy(),Ze.current=!1}}))}),We=()=>me(void 0,null,function*(){E.default.destroyAll(),(yield(0,ce.VL)({categoryId:ze.categoryId,commit_method:1}))&&at()}),at=(De=!1)=>me(void 0,null,function*(){var Re,Xe;if(document.removeEventListener((0,he.gH)(),Ie,!1),(0,he.BU)(),E.default.destroyAll(),Ke.current=!0,De){const nt=yield(0,ce.Yu)(ze.categoryId,{exercise_user_id:(Re=Ae.exerciseUserInfo)==null?void 0:Re.exercise_user_id});Fe.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:ue.forcedModalWrapper,centered:!0,content:a.createElement("div",{className:ue.forcedModalContent},a.createElement("img",{src:ae,alt:""}),a.createElement("div",{className:ue.forcedText},(0,te._V)(te.CP.recordScreen17)),a.createElement("div",{className:ue.screenNumText},(0,te._V)(te.CP.recordScreen18),(Xe=Ae.exerciseUserInfo)==null?void 0:Xe.screen_num,(0,te._V)(te.CP.recordScreen19)),a.createElement(pe.default,{dataSource:nt==null?void 0:nt.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,te._V)(te.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,te._V)(te.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,te._V)(te.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{Me(),Oe()},onOk:()=>{ne.history.push(`/classrooms/${ze.coursesId}/exercisenotice/${ze.categoryId}/users/${ze.login}?isShowApply=true`)}})}else Fe.info({content:a.createElement("div",{className:"tc font16"},(0,te._V)(te.CP.recordScreen23),a.createElement("br",null),(0,te._V)(te.CP.recordScreen24)),onOk:()=>{Oe()}})}),et=De=>{(0,he.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ze.current&&(0,he.BU)()},Je=()=>me(void 0,null,function*(){var De;if((De=Ae.exerciseUserInfo)!=null&&De.screen_at){const nt=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((nt==null?void 0:nt.status)===-6)return}const Re=yield(0,ce.oy)({id:ze.categoryId});if(Re!=null&&Re.is_commit){at();return}return yield Ve()}),Ie=()=>me(void 0,null,function*(){var De;if((0,re.RG)(" ",!0),(0,he.vp)()){if((De=Ae.exerciseUserInfo)!=null&&De.screen_at){var Re=yield(0,ce.ck)(fe(ge({},ze),{reset:!0}));if((Re==null?void 0:Re.status)===-6)return}}else if(!Ze.current){var Re=yield(0,ce.ck)(ge({},ze));if((Re==null?void 0:Re.status)===-6)return;const nt=yield Ve();Te(nt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),xe=()=>me(void 0,null,function*(){(0,ce.ck)(ge({},ze));const De=yield Ve();Te(De.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return a.createElement("div",null,Le)};var Ee=(0,ne.connect)(({exercise:Ae,globalSetting:Ce})=>({globalSetting:Ce,exercise:Ae}))(Pe)},48569:function(ct,ot,Se){"use strict";Se.d(ot,{X:function(){return pe},y:function(){return E}});var ye=Se(59301),je=Se(8591);const E=he=>{(0,ye.useEffect)(()=>{if(he){const ce=ie=>{ie.key==="F12"&&(ie.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},oe=ie=>{ie.preventDefault()};return document.addEventListener("keydown",ce),document.addEventListener("contextmenu",oe),()=>{document.removeEventListener("keydown",ce),document.removeEventListener("contextmenu",oe)}}},[he])},pe=()=>{const[he,ce]=(0,ye.useState)(!1),oe=ie=>{const{keyCode:ue,ctrlKey:se,metaKey:ae,type:re}=ie;(re==="paste"||(ue===67||ue===86)&&(ae||se))&&(je.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),ie.preventDefault(),ie.stopPropagation())};return(0,ye.useEffect)(()=>(he&&(window.addEventListener("keydown",oe,!0),window.addEventListener("paste",oe,!0)),()=>{window.removeEventListener("keydown",oe,!0),window.removeEventListener("paste",oe,!0)}),[he]),{setOpenDisableCopyAndPaste:ce,disableCopyAndPaste:he}}},14573:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ae}});var ye=Se(59301),je={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},E=Se(92310),pe=Se.n(E),he=Se(71418),ce=Se(2859),oe=Se(7660),ie=Se(88230),ue=(re,ne,te)=>new Promise((a,y)=>{var x=z=>{try{ee(te.next(z))}catch(le){y(le)}},b=z=>{try{ee(te.throw(z))}catch(le){y(le)}},ee=z=>z.done?a(z.value):Promise.resolve(z.value).then(x,b);ee((te=te.apply(re,ne)).next())}),ae=({data:re,className:ne,fullWidth:te,style:a={},onClose:y,onOk:x,showFullTools:b,noAssociationId:ee})=>{const z=(0,ye.useRef)(null),le=(0,ye.useRef)(null),de=(0,ye.useRef)(null),ge=(0,ye.useRef)(null),[fe,me]=(0,ye.useState)(!1),[be,ve]=(0,ye.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ye.useEffect)(()=>{de.current||(de.current=document.createElement("style"),document.head.appendChild(de.current)),re!=null&&re.visible?(document.body.setAttribute("data-custom","y-hidden"),de.current.innerHTML=" html { overflow-y: hidden; }",re!=null&&re.src&&Pe()):(document.body.removeAttribute("data-custom"),de.current&&(document.head.removeChild(de.current),de.current=null))},[re==null?void 0:re.visible]);const Pe=()=>ue(void 0,null,function*(){me(!0),ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const _e=yield(0,ie.ZJ)(re==null?void 0:re.src);z.current.src="",z.current.src=_e,z.current.onload=function(){Ce()},me(!1),ve("")}),Ee=_e=>ue(void 0,null,function*(){me(!0),ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const we=yield(0,oe.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:re.title,file:_e.dataUrl}});we!=null&&we.id&&!ee?(yield(0,oe.ZP)(`/api/attachments/${re.id}/add_subitem.json`,{method:"post",body:{subitem_id:we==null?void 0:we.id,settings:JSON.stringify(_e.state)}})).status===0&&x():we!=null&&we.id&&x(we),me(!1),ve("")}),Ae=()=>{const _e=document.querySelector('a[href="https://markerjs.com/"]');_e&&_e.parentNode&&(_e.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Me=>{const Oe=document.querySelector(Me.name);Oe&&Oe.setAttribute("title",Me.title)})},Ce=()=>{le.current=new ce.hP(z.current),le.current.targetRoot=ge.current,le.current.addEventListener("render",Ee),le.current.addEventListener("beforeclose",y),b&&(le.current.availableMarkerTypes=le.current.ALL_MARKER_TYPES,le.current.uiStyleSettings.redoButtonVisible=!0,le.current.uiStyleSettings.notesButtonVisible=!0,le.current.uiStyleSettings.zoomButtonVisible=!0,le.current.uiStyleSettings.zoomOutButtonVisible=!0,le.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=le.current.uiStyleSettings,le.current.show(),re!=null&&re.snapshotData&&le.current.restoreState(re.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ae()},300)};return ye.createElement(ye.Fragment,null,(re==null?void 0:re.visible)&&ye.createElement(he.Z,{spinning:fe,tip:be,style:{position:"absolute"}},ye.createElement("div",{ref:ge,className:pe()(je.imageDimensions,ne,te?je.fullWidth:""),style:a},ye.createElement("img",{className:je.img,ref:z}))))}},72714:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(11570),E=Se(48136),pe=Se(46531),he=Se(43418),ce=Se(59301);const oe=(0,ye.forwardRef)(({callback:ie,width:ue,onChange:se,disabled:ae,readOnly:re,type:ne="",value:te="",style:a={}},y)=>{const x=(0,ye.useRef)(),b=(0,ye.useRef)(),[ee,z]=(0,ye.useState)(0),[le,de]=(0,ye.useState)(0),[ge,fe]=(0,ye.useState)(!1),me=()=>{var Ee=document.createElement("div");Ee.innerHTML=x.current.getValue();var Ae=Ee.innerText;return ie&&ie(Ae),Ae};(0,ye.useImperativeHandle)(y,()=>({getData:me}));const be=Ee=>{Ee.preventDefault();const Ae=Ee.clientX-ee,Ce=Ee.clientY-le;document.body.onmousemove=_e=>{let we=_e.clientX-Ae,Me=_e.clientY-Ce;const Oe=document.getElementsByClassName("markdown-popup-form")[0],Fe=window.innerWidth-Oe.offsetWidth,Le=window.innerHeight-Oe.offsetHeight;we=Math.max(0,Math.min(we,Fe)),Me=Math.max(0,Math.min(Me,Le)),ve(_e.clientX,_e.clientY,Ae,Ce)&&(z(we),de(Me))},document.body.onmouseup=function(){document.body.onmousemove=null}},ve=(Ee,Ae,Ce,_e)=>{const we=document.body.clientHeight,Me=document.body.clientWidth;return Ee<20&&Ce>Ee||Ee>Me-20&&CeAe||Ae>we-20&&_e{ge&&setTimeout(()=>{const Ee=document.getElementsByClassName("markdown-popup-form")[0],Ae=window.innerWidth/2-Ee.offsetWidth/2,Ce=window.innerHeight/2-Ee.offsetHeight/2;z(Ae),de(Ce)},0)},[ge]);const Pe=()=>{ae||re||fe(!0)};return ce.createElement("div",{style:a},ce.createElement("div",{style:{width:ue||"100%",position:"relative"},className:`${je.Z.mathFillWrap} ${ae||re?"cursorDefault":""}`,onClick:()=>Pe()},ce.createElement("math-field",{disabled:ae,locale:"zh_cn",class:`${je.Z.mathField} ${ne}`,readOnly:re,placeholder:"\u8BF7\u8F93\u5165\u516C\u5F0F",ref:x,style:{width:"100%",fontSize:te?18:14},value:te||""})),ce.createElement(he.default,{maskClosable:!1,centered:!0,width:860,style:{position:"absolute",left:ee,top:le},title:ce.createElement("div",{style:{cursor:"move"},onMouseDown:be},"\u8F93\u5165\u516C\u5F0F"),open:ge,onOk:()=>{const Ee=b.current.getData();x.current.setValue(Ee),se(Ee),fe(!1)},onCancel:()=>{fe(!1)},destroyOnClose:!0,className:"markdown-popup-form"},ce.createElement(pe.Z,{value:te,ref:b,onChange:se,showSaveButton:!1})))});ot.Z=oe},46531:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(95237),E=Se(43604),pe=Se(99313),he=Se(3113),ce=Se(99325),oe=Se(11570),ie=Se(48136),ue=Se(59301);const se=(0,ye.forwardRef)(({callback:ae,showSaveButton:re,value:ne=""},te)=>{const a=(0,ye.useRef)(),y=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r @@ -919,7 +919,7 @@ margin-bottom: 16px; }`;return(0,ye.useEffect)(()=>{const Ae=ve.current.attachShadow({mode:"open"});Pe.current=document.createElement("div"),Pe.current.className="markdown-body",Pe.current.innerHTML=be,Ae.appendChild(Pe.current);const Ce=document.createElement("style");return Ce.textContent=Ee,Ae.appendChild(Ce),()=>{Ae.innerHTML=""}},[]),(0,ye.useEffect)(()=>{Pe.current&&(Pe.current.innerHTML=be)},[be]),ae.createElement("div",{ref:ve})},te=Object.defineProperty,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(be,ve,Pe)=>ve in be?te(be,ve,{enumerable:!0,configurable:!0,writable:!0,value:Pe}):be[ve]=Pe,ee=(be,ve)=>{for(var Pe in ve||(ve={}))y.call(ve,Pe)&&b(be,Pe,ve[Pe]);if(a)for(var Pe of a(ve))x.call(ve,Pe)&&b(be,Pe,ve[Pe]);return be};const z="@\u2581\u2581@",le="@\u2581@",de=/]*>/g;function ge(be){let ve=document.createElement("div");return ve.innerHTML=be,ve.childNodes.length===0?"":ve.childNodes[0].nodeValue}const fe=(be,ve)=>{be=be||"";const Pe=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ee=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ae=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ce=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return ve?be.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(Pe,(_e,we,Me,Oe,Fe,Le,Ye)=>{const He=we||Oe||Le,Ge=Me||Fe||Ye||"?";return ce.Z.API_SERVER+"/api/attachments/"+He+Ge+"&t="+(0,oe.Jn)(He,Date.now())+(_e.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(be=be.replace(Ce,(_e,we,Me,Oe,Fe,Le,Ye)=>{const He=we||Oe||Le,Ge=Me||Fe||Ye||"?";return ce.Z.API_SERVER+"/attachments/download/"+He+Ge+"&t="+(0,oe.Jn)(He,Date.now())+(_e.indexOf(")")>-1?")":"&")}).replace(Pe,(_e,we,Me,Oe,Fe,Le,Ye)=>{const He=we||Oe||Le,Ge=Me||Fe||Ye||"?";return ce.Z.API_SERVER+"/api/attachments/"+He+Ge+"&t="+(0,oe.Jn)(He,Date.now())+(_e.indexOf(")")>-1?")":"&")}).replace(Ee,(_e,we,Me,Oe,Fe)=>{const Le=we||Oe,Ye=Me||Fe||"";return'"'+ce.Z.API_SERVER+"/api/attachments/"+Le+Ye+Le+Ye+"&t="+(0,oe.Jn)(Le,Date.now())}).replace(Ae,(_e,we,Me,Oe,Fe)=>{const Le=we||Oe,Ye=Me||Fe||"";return"("+ce.Z.API_SERVER+"/files/uploads/"+Le+Ye+Le+Ye+"&t="+(0,oe.Jn)(Le,Date.now())}).replaceAll('src="(','src="').replaceAll("src='(",'src="').replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` `),be)};var me=({value:be="",className:ve,showTextOnly:Pe,showLines:Ee,style:Ae={},stylesPrev:Ce={},highlightKeywords:_e,showProgramFill:we,isProgramFill:Me,disabledFill:Oe=!1,programFillValue:Fe,onFillChange:Le=Ge=>{},onFillBlur:Ye=()=>{},onFillFocus:He=()=>{}})=>{let Ge=String(be);const[Ke,ze]=(0,ye.useState)(""),[ke,Ne]=(0,ye.useState)("office"),[Ve,qe]=(0,ye.useState)([]),rt=(0,ye.useRef)("a"+(0,ue.Z)()),Qe={},Ue=(Xe,nt,$e)=>{const tt=document.createElement(Xe===le?"input":"textarea");tt.style.width="100%",tt.style.height=Xe===le?"40px":"151px",tt.rows=5,tt.spellcheck=!1,tt.name="edu-program-fill",tt.placeholder="\u8BF7\u8F93\u5165",tt.dataset.id=nt;const st=Object.keys(Qe).length;return Qe[st]=tt,`${tt.outerHTML}`};function Be(Xe){return Xe=Xe.replace(/!\[.*?\]\(.*?\)/g,""),Xe=Xe.replace(/\[.*?\]\(.*?\)/g,""),Xe=Xe.replace(new RegExp("","gs"),""),Xe=Xe.replace(//g,""),Xe=Xe.replace(//g,""),Xe=Xe.replace(new RegExp(".*?<\\/video>","gs"),""),Xe=Xe.replace(new RegExp(".*?<\\/audio>","gs"),""),Xe=Xe.replace(new RegExp(".*?<\\/style>","gs"),""),Xe=Xe.replace(new RegExp(".*?<\\/script>","gs"),""),Xe}const Ze=Xe=>Xe.replace(/([\s\S]+?)<\/style>/gim,function(nt,$e){let tt=$e.replace(/(\n|\r)/g,"").split("}"),st=[];return tt.map(it=>{it!=""&&st.push(`.${rt.current} ${it}`)}),``}),Te=(0,ye.useMemo)(()=>{try{const tt=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,st=/\"\/api\/attachments\/|\"\/attachments\/download\//g,it=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,lt=/\(\/attachments\/download\//g;Ge=Ge.replace(lt,"("+ce.Z.API_SERVER+"/attachments/download/").replace(tt,"("+ce.Z.API_SERVER+"/api/attachments/").replace(st,'"'+ce.Z.API_SERVER+"/api/attachments/").replace(it,'"'+ce.Z.API_SERVER+"/files/uploads/").replaceAll("http://video.educoder","https://video.educoder").replaceAll("http://www.educoder.net/api","https://data.educoder.net/api").replaceAll("https://www.educoder.net/api","https://data.educoder.net/api").replace(/\r\n/g,` -`)}catch(tt){}if(we){let tt=-1;return Ge=Ge.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(st,it,lt){var ut;return++tt,Ue(st,tt,(ut=Fe==null?void 0:Fe[tt])==null?void 0:ut.value.replaceAll("<","<").replaceAll(">",">"))}),`
${Ze(Ge||"")}
`}let Xe=Ze(Ge);Xe=(0,E.ZP)(Xe);const nt=(0,E.ez)();Ge.match(/\[TOC\]/)&&(Xe=Xe.replace("

[TOC]

",(0,E.Qv)()),(0,E.Iy)()),Xe=Xe.replace(/(__special_katext_id_\d+__)/g,(tt,st)=>{const{type:it,expression:lt}=nt[st];return(0,ie.renderToString)(ge(lt)||"",{displayMode:it==="block",throwOnError:!1,output:"html"})}),Xe=Xe.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,E.AL)();const $e=document.createElement("div");if($e.innerHTML=Xe,Pe)return $e.innerText;if(_e){const tt=_e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Je($e,tt),$e.innerHTML}return setTimeout(()=>De(),500),$e.innerHTML},[Ge,_e]);(0,ye.useEffect)(()=>{Ie.current&&Ie.current.querySelectorAll(["input","textarea"]).forEach(nt=>{nt.oninput=We,nt.onblur=at,nt.onfocus=et})},[Ve]),(0,ye.useEffect)(()=>{var Xe,nt,$e,tt,st;if(Fe!=null&&Fe.length)try{const it=Ie.current.querySelectorAll(".edu-program-fill-score"),lt=Ie.current.querySelectorAll('[name="edu-program-fill"]');for(const[ut,pt]of lt.entries())pt.value=((Xe=Fe==null?void 0:Fe[ut])==null?void 0:Xe.value)||"",((nt=Fe==null?void 0:Fe[ut])==null?void 0:nt.type)==="warning"?pt.className="program-fill-warning":(($e=Fe==null?void 0:Fe[ut])==null?void 0:$e.type)==="success"?pt.className="program-fill-success":pt.className="";for(const[ut,pt]of it.entries())pt.innerHTML=(tt=Fe==null?void 0:Fe[ut])!=null&&tt.score?`${(st=Fe==null?void 0:Fe[ut])==null?void 0:st.score}\u5206`:"";qe(Fe)}catch(it){console.log(it,"error")}},[Fe]);const We=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,qe([...Ve]),Le(Ve,Xe.target.dataset.id)},at=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,qe([...Ve]),Ye(Ve,Xe.target.dataset.id)},et=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,qe([...Ve]),He(Ve,Xe.target.dataset.id)};function Je(Xe,nt){return Xe.childNodes.forEach($e=>{var tt;if($e.childNodes.length>0)Je($e,nt);else if($e.nodeName!=="IMG")if($e.innerHTML)$e.innerHTML=(tt=$e.innerHTML)==null?void 0:tt.replace(new RegExp(nt,"gi"),'$&');else{const st=document.createElement("span");st.innerHTML=$e.textContent.replace(new RegExp(nt,"gi"),'$&'),$e.replaceWith(st)}})}const Ie=(0,ye.useRef)();E.jb.WebkitLineClamp=Ee,Ee&&(Ae=ee(ee({},Ae),E.jb));function xe(Xe){let nt=Xe.target;if(nt.tagName.toUpperCase()==="A"){let $e=nt.getAttribute("href");if($e.indexOf("office")>-1)Xe.preventDefault(),ze($e),Ne("office");else if($e.indexOf("application/pdf")>-1)Xe.preventDefault(),ze($e),Ne("pdf");else if($e.indexOf("text/html")>-1)Xe.preventDefault(),ze($e),Ne("html");else if($e.startsWith("#")){Xe.preventDefault();let tt=document.getElementById($e.replace("#",""));tt&&tt.scrollIntoView(!0)}}}const De=()=>{var Xe;const nt=(Xe=Ie.current)==null?void 0:Xe.querySelectorAll("video");nt==null||nt.forEach($e=>{if($e.oncontextmenu=()=>!1,$e.src.indexOf(".m3u8")>-1&&!$e.canPlayType("application/vnd.apple.mpegurl")){if(he.ZP.isSupported()){var tt=new he.ZP;tt.loadSource($e.src),tt.attachMedia($e)}}})};(0,ye.useEffect)(()=>{if(Ie.current&&Te&&Te.match(de)&&window.PR.prettyPrint(),Ie.current)return Ie.current.addEventListener("click",xe),()=>{var Xe;(Xe=Ie.current)==null||Xe.removeEventListener("click",xe),(0,E.AL)(),(0,E.Iy)()}},[Te,Ie.current,xe]),(0,ye.useEffect)(()=>{var Xe;const nt=$e=>{$e.preventDefault(),$e.clipboardData.setData("text",window.getSelection().toString())};return(Xe=Ie.current)==null||Xe.addEventListener("copy",nt),()=>{var $e;($e=Ie.current)==null||$e.removeEventListener("copy",nt)}},[Ie.current]);const Re=Xe=>//i.test(Xe||"");return ye.createElement(ye.Fragment,null,Pe&&ye.createElement("div",{ref:Ie},Te),!Pe&&!Re(Te)&&ye.createElement("div",{ref:Ie,style:ee({},Ae),className:`${ve||""} ${Oe?"disabled-fill":""} markdown-body ${rt.current}`,dangerouslySetInnerHTML:{__html:Te}}),!Pe&&Re(Te)&&ye.createElement(ne,{html:Te}),ye.createElement(se.Z,{close:!0,data:Ke,type:Ke!=null&&Ke.length?ke:"",style:ee({},Ce),onClose:()=>ze("")}))}},7651:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return pe}});var ye=Se(24459),je={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=Se(59301),pe=({message:he,className:ce,children:oe,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${je.idsRingWrapper} ${ce}`},E.createElement("div",{className:je.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),he?E.createElement("p",{style:ie},he):null,oe,E.createElement(ye.Outlet,null))},31582:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return pe}});var ye=Se(59301),je=Se(50484),E=Se(59301),pe=({defaultX:he="40%",leftChild:ce,rightChild:oe,className:ie,hideResize:ue=!1})=>{const[se,ae]=(0,ye.useState)(he),re=(0,ye.useRef)();function ne(){re.current=!0}(0,ye.useEffect)(()=>{function y(b){re.current&&(je.Z.publish("resize-move-bar",b),ae(b.pageX))}function x(){re.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}},[]);const te=typeof se=="number"&&se!==.01?`${se}px`:he,a=`calc(100% - ${ue?"0px":"4px"} - ${te})`;return E.createElement("div",{className:`split-panel-container ${ie}`},E.createElement("section",{style:{width:te,display:se===.01?"none":""}},ce),E.createElement("section",{className:"resize-x-bar",onMouseDown:ne},E.createElement("a",{className:"btn-resize"},E.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},E.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),E.createElement("section",{style:{width:a}},oe))}},75618:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ce}});var ye=Se(59301),je={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=Se(92310),pe=Se.n(E),ce=({className:oe,style:ie={},leftNode:ue,leftTitle:se="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:re="\u8FD0\u884C\u7ED3\u679C"})=>ye.createElement("div",{className:pe()(je.result,oe),style:ie},ye.createElement("div",{className:je.left},ye.createElement("div",{className:je.title},ye.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ye.createElement("span",null,se)),ye.createElement("div",{className:je.leftNode},ue)),ye.createElement("div",{className:je.right},ye.createElement("div",{className:je.title},ye.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ye.createElement("span",null,re)),ye.createElement("div",{className:je.rightNode},ae)))},46942:function(ct,ot,Se){"use strict";var ye=Se(59301);const je=pe=>String(pe).length===1?`0${pe}`:pe,E=({className:pe="",onChange:he,defaultValue:ce=0})=>{const[oe,ie]=(0,ye.useState)(ce);(0,ye.useEffect)(()=>{const re=setTimeout(()=>{ie(oe+1e3)},1e3);return he(oe+1e3),()=>{clearInterval(re)}},[oe]);const ue=parseInt(oe/(60*6e4))||"00",se=parseInt(oe%(60*6e4)/6e4)||"00",ae=parseInt(oe%6e4/1e3)||"00";return ye.createElement("div",{className:pe},je(ue),":",je(se),":",je(ae))};ot.Z=E},49894:function(ct,ot,Se){"use strict";Se.d(ot,{cT:function(){return be},pe:function(){return ge}});var ye=Se(59301),je=Se(54580),E=Se(8591),pe=Se(7660),he=Se(28209),ce=Se.n(he),oe=Se(1012),ie=Se(24459),ue=Se(47257),se=Se.n(ue),ae=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(Pe,Ee,Ae)=>Ee in Pe?ae(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Pe[Ee]=Ae,b=(Pe,Ee)=>{for(var Ae in Ee||(Ee={}))a.call(Ee,Ae)&&x(Pe,Ae,Ee[Ae]);if(te)for(var Ae of te(Ee))y.call(Ee,Ae)&&x(Pe,Ae,Ee[Ae]);return Pe},ee=(Pe,Ee)=>re(Pe,ne(Ee)),z=(Pe,Ee)=>{var Ae={};for(var Ce in Pe)a.call(Pe,Ce)&&Ee.indexOf(Ce)<0&&(Ae[Ce]=Pe[Ce]);if(Pe!=null&&te)for(var Ce of te(Pe))Ee.indexOf(Ce)<0&&y.call(Pe,Ce)&&(Ae[Ce]=Pe[Ce]);return Ae},le=(Pe,Ee,Ae)=>new Promise((Ce,_e)=>{var we=Fe=>{try{Oe(Ae.next(Fe))}catch(Le){_e(Le)}},Me=Fe=>{try{Oe(Ae.throw(Fe))}catch(Le){_e(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,Me);Oe((Ae=Ae.apply(Pe,Ee)).next())});const{Dragger:de}=je.default,ge=Pe=>{const Ee="bf3c199c2470cb477d907b1e0917c17b",Ae="5183666c72eec9e4";var Ce=ce().enc.Utf8.parse(Ee);let _e=ce().enc.Utf8.parse(Ae);var we=ce().AES.decrypt(Pe,Ce,{iv:_e,mode:ce().mode.CBC});return we.toString(ce().enc.Utf8)};let fe;const me=Pe=>le(void 0,[Pe],function*({identifier:Ee,oldFilename:Ae,newFilename:Ce}){var _e,we,Me,Oe,Fe,Le;const Ye=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});Ye.data=JSON.parse(ge(Ye.data));const He=new OSS({endpoint:(_e=Ye==null?void 0:Ye.data)==null?void 0:_e.end_point,region:(we=Ye==null?void 0:Ye.data)==null?void 0:we.region,accessKeyId:(Me=Ye==null?void 0:Ye.data)==null?void 0:Me.access_key_id,accessKeySecret:(Oe=Ye==null?void 0:Ye.data)==null?void 0:Oe.access_key_secret,bucket:(Fe=Ye==null?void 0:Ye.data)==null?void 0:Fe.bucket,stsToken:(Le=Ye==null?void 0:Ye.data)==null?void 0:Le.security_token});return new Promise((Ge,Ke)=>{console.log(11111,`${Ee}/${Ae}`,`${Ee}/${Ce}`,Ye.data),He.copy(`/${Ee}/${Ae}`,`/${Ee}/${Ce}`).then(ze=>{console.log("\u62F7\u8D1D\u6210\u529F",ze)}).catch(ze=>{console.log(ze)})})}),be=(Pe,Ee,Ae)=>le(void 0,null,function*(){var Ce,_e,we,Me,Oe,Fe;Ee.file_name=Pe.name;const Le=yield(0,pe.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",ge(Le.data)),Le.data=JSON.parse(ge(Le.data));const Ye=Pe.name.split(".");Ye.pop();const He=Ee.realFileName?Ye.join(""):(0,oe.Z)(),Ge=new(se())({endpoint:(Ce=Le==null?void 0:Le.data)==null?void 0:Ce.end_point,region:(_e=Le==null?void 0:Le.data)==null?void 0:_e.region,accessKeyId:(we=Le==null?void 0:Le.data)==null?void 0:we.access_key_id,accessKeySecret:(Me=Le==null?void 0:Le.data)==null?void 0:Me.access_key_secret,bucket:(Oe=Le==null?void 0:Le.data)==null?void 0:Oe.bucket,stsToken:(Fe=Le==null?void 0:Le.data)==null?void 0:Fe.security_token});return new Promise((Ke,ze)=>{var ke;Ge.multipartUpload(`${He}`,new Blob([Pe],{type:Pe.type}),ee(b({timeout:200*1e3,partSize:102400},Ae),{callback:{url:(ke=Le==null?void 0:Le.data)==null?void 0:ke.callback_url,host:Le==null?void 0:Le.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,pe.rz)(Ee)}})).then(function(Ne){var Ve;Pe.response=(Ve=Ne.data)==null?void 0:Ve.data,Ke(Ne==null?void 0:Ne.data)}).catch(function(Ne){ze(Ne),console.log("err:",Ne)})})}),ve=Pe=>{var Ee=Pe,{user:Ae,cancelUpload:Ce}=Ee,_e=z(Ee,["user","cancelUpload"]);const[we,Me]=(0,ye.useState)([]);let[Oe,Fe]=(0,ye.useState)();const Le={onRemove:He=>{Me([...we.filter(Ge=>Ge.name!==He.name)]),_e.onChange(we.filter(Ge=>Ge.name!==He.name))},disabled:_e.disabled,multiple:!0,fileList:we==null?void 0:we.map(He=>He.file),customRequest:()=>{},beforeUpload:He=>le(void 0,null,function*(){let Ge=_e.maxSize||1073741824;if(we.filter(Ke=>Ke.name===He.name).length){E.ZP.info(`${He.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(He==null?void 0:He.size)>Ge?(E.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${Ge/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(we.push({name:He.name,file:He}),Me([...we]),_e.onChange(we),!1)})},Ye=(He,Ge)=>le(void 0,null,function*(){var Ke,ze,ke,Ne,Ve,qe;Ge.file_name=He.name;const rt=He.name,Qe=yield(0,pe.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(Qe.data=JSON.parse(ge(Qe.data)),(Qe==null?void 0:Qe.status)!==0){we[we.findIndex(Ze=>Ze.name===rt)].status="error",we[we.findIndex(Ze=>Ze.name===rt)].file.status="error",_e.onChange(we),E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}Oe=new(se())({endpoint:(Ke=Qe==null?void 0:Qe.data)==null?void 0:Ke.end_point,region:(ze=Qe==null?void 0:Qe.data)==null?void 0:ze.region,accessKeyId:(ke=Qe==null?void 0:Qe.data)==null?void 0:ke.access_key_id,accessKeySecret:(Ne=Qe==null?void 0:Qe.data)==null?void 0:Ne.access_key_secret,bucket:(Ve=Qe==null?void 0:Qe.data)==null?void 0:Ve.bucket,stsToken:(qe=Qe==null?void 0:Qe.data)==null?void 0:qe.security_token}),console.log(He,"file"),Fe(Oe);const Ue=He.name.split(".");Ue.pop();const Be=rt.indexOf(".")>-1?Ge.realFileName?Ue.join("."):(0,oe.Z)():rt;return new Promise((Ze,Te)=>{var We;try{Oe.multipartUpload(`${_e.identifier}/${Be}${rt.indexOf(".")>-1?"."+rt.split(".").pop():""}`,new Blob([He.file],{type:He.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(at,et,Je)=>{try{console.log("\u8FDB\u5EA6",at,et,Je);const Ie=we.findIndex(xe=>xe.name===rt);we[Ie].file.percent=at*100,we[Ie].tempCheckpoint=et,Me([...we])}catch(Ie){}},checkpoint:we[we.findIndex(at=>at.name===rt)].tempCheckpoint,callback:{customValue:{id:rt+""},url:(We=Qe==null?void 0:Qe.data)==null?void 0:We.callback_url,host:Qe==null?void 0:Qe.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,pe.rz)(Ge)}}).then(function(at){var et,Je,Ie;const xe=we.findIndex(Re=>Re.name===rt);let De="done";if(((et=at.data)==null?void 0:et.status)===0){He.response=(Je=at.data)==null?void 0:Je.data;const Re=we.findIndex(Xe=>Xe.name===rt);we[Re].status="done",we[Re].file.status="done"}else E.ZP.warning((Ie=at.data)==null?void 0:Ie.message),De="error";we[xe].status=De,we[xe].file.status=De,_e.onChange(we),Ze(at==null?void 0:at.data)}).catch(function(at){we[we.findIndex(et=>et.name===rt)].status="error",we[we.findIndex(et=>et.name===rt)].file.status="error",E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),Me([...we]),_e.onChange(we),Te(at),console.log("err:",at)})}catch(at){}})});return(0,ye.useEffect)(()=>{we.every(He=>He==="done"||He==="error")&&_e.onComplete(we)},[we]),(0,ye.useEffect)(()=>{Ce&&(Oe==null||Oe.cancel())},[Ce]),(0,ye.useEffect)(()=>{_e.uploading&&we.map(He=>le(void 0,null,function*(){var Ge;if((!He.status||He.status==="error")&&!Ce){He.status="uploading",He.file.status="uploading";const Ke=yield Ye(He,{login:(Ge=Ae==null?void 0:Ae.userInfo)==null?void 0:Ge.login,container_type:_e.container_type,container_id:_e.container_id,description:_e.description,realFileName:_e.realFileName})}}))},[_e.uploading]),ye.createElement(de,ee(b({},Le),{height:_e.height,className:_e.className}),ye.createElement("p",{className:"ant-upload-hint"},_e.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};ot.ZP=(0,ie.connect)(({loading:Pe,globalSetting:Ee,user:Ae})=>({globalSetting:Ee,loading:Pe.models.competitions,user:Ae}))(ve)},85469:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return zt}});var ye=Se(59301),je=Se(50484),E=Se(15277),pe=Se(92310),he=Se.n(pe),ce=Se(92413),oe=Se(33708),ie=Se(400),ue=Se(33606),se=Se(39559),ae=Se(37061),re=Se(55468),ne=Se(18929),te=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],a=ye.createContext(null),y=0;function x(Tt,St){var Ut=ye.useState(function(){return y+=1,String(y)}),Pt=(0,ue.Z)(Ut,1),Lt=Pt[0],Ft=ye.useContext(a),Xt={data:St,canPreview:Tt};return ye.useEffect(function(){if(Ft)return Ft.register(Lt,Xt)},[]),ye.useEffect(function(){Ft&&Ft.register(Lt,Xt)},[Tt,St]),Lt}function b(Tt){return new Promise(function(St){var Ut=document.createElement("img");Ut.onerror=function(){return St(!1)},Ut.onload=function(){return St(!0)},Ut.src=Tt})}function ee(Tt){var St=Tt.src,Ut=Tt.isCustomPlaceholder,Pt=Tt.fallback,Lt=(0,ye.useState)(Ut?"loading":"normal"),Ft=(0,ue.Z)(Lt,2),Xt=Ft[0],nn=Ft[1],mn=(0,ye.useRef)(!1),bn=Xt==="error";(0,ye.useEffect)(function(){b(St).then(function(On){On||nn("error")})},[St]),(0,ye.useEffect)(function(){Ut&&!mn.current?nn("loading"):bn&&nn("normal")},[St]);var wn=function(){nn("normal")},Pn=function(jt){mn.current=!1,Xt==="loading"&&jt!=null&&jt.complete&&(jt.naturalWidth||jt.naturalHeight)&&(mn.current=!0,wn())},Tn=bn&&Pt?{src:Pt}:{onLoad:wn,src:St};return[Pn,Tn,Xt]}var z=Se(86923),le=Se(8224),de=Se(10228),ge=Se(48736);function fe(Tt,St,Ut,Pt){var Lt=St+Ut,Ft=(Ut-Pt)/2;if(Ut>Pt){if(St>0)return(0,ie.Z)({},Tt,Ft);if(St<0&&LtPt)return(0,ie.Z)({},Tt,St<0?Ft:-Ft);return{}}function me(Tt,St,Ut,Pt){var Lt=(0,re.g1)(),Ft=Lt.width,Xt=Lt.height,nn=null;return Tt<=Ft&&St<=Xt?nn={x:0,y:0}:(Tt>Ft||St>Xt)&&(nn=(0,oe.Z)((0,oe.Z)({},fe("x",Ut,Tt,Ft)),fe("y",Pt,St,Xt))),nn}var be=Se(13697),ve=Se(16089),Pe={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ee(Tt,St,Ut,Pt){var Lt=(0,ye.useRef)(null),Ft=(0,ye.useRef)([]),Xt=(0,ye.useState)(Pe),nn=(0,ue.Z)(Xt,2),mn=nn[0],bn=nn[1],wn=function(jt){bn(Pe),Pt&&!(0,be.Z)(Pe,mn)&&Pt({transform:Pe,action:jt})},Pn=function(jt,rr){Lt.current===null&&(Ft.current=[],Lt.current=(0,ve.Z)(function(){bn(function(zn){var Yn=zn;return Ft.current.forEach(function(dn){Yn=(0,oe.Z)((0,oe.Z)({},Yn),dn)}),Lt.current=null,Pt==null||Pt({transform:Yn,action:rr}),Yn})})),Ft.current.push((0,oe.Z)((0,oe.Z)({},mn),jt))},Tn=function(jt,rr,zn,Yn){var dn=Tt.current,It=dn.width,Ht=dn.height,hn=dn.offsetWidth,Vt=dn.offsetHeight,Cn=dn.offsetLeft,Nn=dn.offsetTop,Hn=jt,Dn=mn.scale*jt;Dn>Ut?(Hn=Ut/mn.scale,Dn=Ut):Dn1,_r=gr&&dn>=1,Cr=Ee(yr,Cn,Hn,Or),or=Cr.transform,Ir=Cr.resetTransform,Ar=Cr.updateTransform,Br=Cr.dispatchZoomChange,kr=(0,ye.useState)(!0),gt=(0,ue.Z)(kr,2),Ot=gt[0],Et=gt[1],kt=or.rotate,Gt=or.scale,Nt=or.x,rn=or.y,qt=he()((0,ie.Z)({},"".concat(Ut,"-moving"),lr));(0,ye.useEffect)(function(){Ot||Et(!0)},[Ot]);var an=function(){Ir("close")},un=function(){Br(Me+hn,"zoomIn")},en=function(){Br(Me/(Me+hn),"zoomOut")},In=function(){Ar({rotate:kt+90},"rotateRight")},En=function(){Ar({rotate:kt-90},"rotateLeft")},jn=function(){Ar({flipX:!or.flipX},"flipX")},Bn=function(){Ar({flipY:!or.flipY},"flipY")},Xn=function(pn){pn==null||pn.preventDefault(),pn==null||pn.stopPropagation(),zn>0&&(Et(!1),Ir("prev"),ur==null||ur(zn-1,zn))},qn=function(pn){pn==null||pn.preventDefault(),pn==null||pn.stopPropagation(),zn0&&(Rt=Me/Rt),Br(Rt,"wheel",pn.clientX,pn.clientY)}},Dr=function(pn){!bn||!ar||(pn.keyCode===de.Z.LEFT?Xn():pn.keyCode===de.Z.RIGHT&&qn())},Wn=function(pn){bn&&(Gt!==1?Ar({x:0,y:0,scale:1},"doubleClick"):Br(Me+hn,"doubleClick",pn.clientX,pn.clientY))};(0,ye.useEffect)(function(){var Vn,pn,er,pr;if(nn){er=(0,le.Z)(window,"mouseup",xr,!1),pr=(0,le.Z)(window,"mousemove",nr,!1);try{window.top!==window.self&&(Vn=(0,le.Z)(window.top,"mouseup",xr,!1),pn=(0,le.Z)(window.top,"mousemove",nr,!1))}catch(Rt){(0,ge.Kp)(!1,"[rc-image] ".concat(Rt))}}return function(){var Rt,An,kn,tr;(Rt=er)===null||Rt===void 0||Rt.remove(),(An=pr)===null||An===void 0||An.remove(),(kn=Vn)===null||kn===void 0||kn.remove(),(tr=pn)===null||tr===void 0||tr.remove()}},[bn,lr,Nt,rn,kt,nn]),(0,ye.useEffect)(function(){var Vn=(0,le.Z)(window,"keydown",Dr,!1);return function(){Vn.remove()}},[bn,ar,zn]);var dr=ye.createElement(Ye,(0,ce.Z)({},Mr,{width:St.width,height:St.height,imgRef:yr,className:"".concat(Ut,"-img"),alt:Lt,style:{transform:"translate3d(".concat(or.x,"px, ").concat(or.y,"px, 0) scale3d(").concat(or.flipX?"-":"").concat(Gt,", ").concat(or.flipY?"-":"").concat(Gt,", 1) rotate(").concat(kt,"deg)"),transitionDuration:!Ot&&"0s"},fallback:Ft,src:Pt,onWheel:cr,onMouseDown:Pr,onDoubleClick:Wn}));return ye.createElement(ye.Fragment,null,ye.createElement(z.Z,(0,ce.Z)({transitionName:Kn,maskTransitionName:vr,closable:!1,keyboard:!0,prefixCls:Ut,onClose:mn,visible:bn,wrapClassName:qt,rootClassName:Tn,getContainer:jt},wr,{afterClose:an}),ye.createElement("div",{className:"".concat(Ut,"-img-wrapper")},Jt?Jt(dr,(0,oe.Z)({transform:or},gr?{current:zn}:{})):dr)),ye.createElement(we,{visible:bn,transform:or,maskTransitionName:vr,closeIcon:On,getContainer:jt,prefixCls:Ut,rootClassName:Tn,icons:Pn,countRender:It,showSwitch:ar,showProgress:_r,current:zn,count:dn,scale:Gt,minScale:Cn,maxScale:Hn,toolbarRender:Er,onSwitchLeft:Xn,onSwitchRight:qn,onZoomIn:un,onZoomOut:en,onRotateRight:In,onRotateLeft:En,onFlipX:jn,onFlipY:Bn,onClose:mn}))},Ge=He,Ke=Se(26407);function ze(Tt){var St=ye.useState({}),Ut=(0,ue.Z)(St,2),Pt=Ut[0],Lt=Ut[1],Ft=ye.useCallback(function(nn,mn){return Lt(function(bn){return(0,oe.Z)((0,oe.Z)({},bn),{},(0,ie.Z)({},nn,mn))}),function(){Lt(function(bn){var wn=(0,oe.Z)({},bn);return delete wn[nn],wn})}},[]),Xt=ye.useMemo(function(){return Tt?Tt.map(function(nn){if(typeof nn=="string")return{data:{src:nn}};var mn={};return Object.keys(nn).forEach(function(bn){["src"].concat((0,Ke.Z)(te)).includes(bn)&&(mn[bn]=nn[bn])}),{data:mn}}):Object.keys(Pt).reduce(function(nn,mn){var bn=Pt[mn],wn=bn.canPreview,Pn=bn.data;return wn&&nn.push({data:Pn,id:mn}),nn},[])},[Tt,Pt]);return[Xt,Ft]}var ke=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Ne=["src"],Ve=function(St){var Ut,Pt=St.previewPrefixCls,Lt=Pt===void 0?"rc-image-preview":Pt,Ft=St.children,Xt=St.icons,nn=Xt===void 0?{}:Xt,mn=St.items,bn=St.preview,wn=St.fallback,Pn=(0,se.Z)(bn)==="object"?bn:{},Tn=Pn.visible,On=Pn.onVisibleChange,jt=Pn.getContainer,rr=Pn.current,zn=Pn.movable,Yn=Pn.minScale,dn=Pn.maxScale,It=Pn.countRender,Ht=Pn.closeIcon,hn=Pn.onChange,Vt=Pn.onTransform,Cn=Pn.toolbarRender,Nn=Pn.imageRender,Hn=(0,ae.Z)(Pn,ke),Dn=ze(mn),Kn=(0,ue.Z)(Dn,2),mr=Kn[0],vr=Kn[1],Jt=(0,ne.Z)(0,{value:rr}),Mr=(0,ue.Z)(Jt,2),Er=Mr[0],Or=Mr[1],ur=(0,ye.useState)(!1),wr=(0,ue.Z)(ur,2),yr=wr[0],br=wr[1],Mn=((Ut=mr[Er])===null||Ut===void 0?void 0:Ut.data)||{},Jn=Mn.src,lr=(0,ae.Z)(Mn,Ne),Zn=(0,ne.Z)(!!Tn,{value:Tn,onChange:function(kt,Gt){On==null||On(kt,Gt,Er)}}),gr=(0,ue.Z)(Zn,2),ar=gr[0],_r=gr[1],Cr=(0,ye.useState)(null),or=(0,ue.Z)(Cr,2),Ir=or[0],Ar=or[1],Br=ye.useCallback(function(Et,kt,Gt){var Nt=mr.findIndex(function(rn){return rn.id===Et});_r(!0),Ar({x:kt,y:Gt}),Or(Nt<0?0:Nt),br(!0)},[mr]);ye.useEffect(function(){ar?yr||Or(0):br(!1)},[ar]);var kr=function(kt,Gt){Or(kt),hn==null||hn(kt,Gt)},gt=function(){_r(!1),Ar(null)},Ot=ye.useMemo(function(){return{register:vr,onPreview:Br}},[vr,Br]);return ye.createElement(a.Provider,{value:Ot},Ft,ye.createElement(Ge,(0,ce.Z)({"aria-hidden":!ar,movable:zn,visible:ar,prefixCls:Lt,closeIcon:Ht,onClose:gt,mousePosition:Ir,imgCommonProps:lr,src:Jn,fallback:wn,icons:nn,minScale:Yn,maxScale:dn,getContainer:jt,current:Er,count:mr.length,countRender:It,onTransform:Vt,toolbarRender:Cn,imageRender:Nn,onChange:kr},Hn)))},qe=Ve,rt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Qe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Ue=function(St){var Ut=St.src,Pt=St.alt,Lt=St.onPreviewClose,Ft=St.prefixCls,Xt=Ft===void 0?"rc-image":Ft,nn=St.previewPrefixCls,mn=nn===void 0?"".concat(Xt,"-preview"):nn,bn=St.placeholder,wn=St.fallback,Pn=St.width,Tn=St.height,On=St.style,jt=St.preview,rr=jt===void 0?!0:jt,zn=St.className,Yn=St.onClick,dn=St.onError,It=St.wrapperClassName,Ht=St.wrapperStyle,hn=St.rootClassName,Vt=(0,ae.Z)(St,rt),Cn=bn&&bn!==!0,Nn=(0,se.Z)(rr)==="object"?rr:{},Hn=Nn.src,Dn=Nn.visible,Kn=Dn===void 0?void 0:Dn,mr=Nn.onVisibleChange,vr=mr===void 0?Lt:mr,Jt=Nn.getContainer,Mr=Jt===void 0?void 0:Jt,Er=Nn.mask,Or=Nn.maskClassName,ur=Nn.movable,wr=Nn.icons,yr=Nn.scaleStep,br=Nn.minScale,Mn=Nn.maxScale,Jn=Nn.imageRender,lr=Nn.toolbarRender,Zn=(0,ae.Z)(Nn,Qe),gr=Hn!=null?Hn:Ut,ar=(0,ne.Z)(!!Kn,{value:Kn,onChange:vr}),_r=(0,ue.Z)(ar,2),Cr=_r[0],or=_r[1],Ir=ee({src:Ut,isCustomPlaceholder:Cn,fallback:wn}),Ar=(0,ue.Z)(Ir,3),Br=Ar[0],kr=Ar[1],gt=Ar[2],Ot=(0,ye.useState)(null),Et=(0,ue.Z)(Ot,2),kt=Et[0],Gt=Et[1],Nt=(0,ye.useContext)(a),rn=!!rr,qt=function(){or(!1),Gt(null)},an=he()(Xt,It,hn,(0,ie.Z)({},"".concat(Xt,"-error"),gt==="error")),un=(0,ye.useMemo)(function(){var jn={};return te.forEach(function(Bn){St[Bn]!==void 0&&(jn[Bn]=St[Bn])}),jn},te.map(function(jn){return St[jn]})),en=(0,ye.useMemo)(function(){return(0,oe.Z)((0,oe.Z)({},un),{},{src:gr})},[gr,un]),In=x(rn,en),En=function(Bn){var Xn=(0,re.os)(Bn.target),qn=Xn.left,xr=Xn.top;Nt?Nt.onPreview(In,qn,xr):(Gt({x:qn,y:xr}),or(!0)),Yn==null||Yn(Bn)};return ye.createElement(ye.Fragment,null,ye.createElement("div",(0,ce.Z)({},Vt,{className:an,onClick:rn?En:Yn,style:(0,oe.Z)({width:Pn,height:Tn},Ht)}),ye.createElement("img",(0,ce.Z)({},un,{className:he()("".concat(Xt,"-img"),(0,ie.Z)({},"".concat(Xt,"-img-placeholder"),bn===!0),zn),style:(0,oe.Z)({height:Tn},On),ref:Br},kr,{width:Pn,height:Tn,onError:dn})),gt==="loading"&&ye.createElement("div",{"aria-hidden":"true",className:"".concat(Xt,"-placeholder")},bn),Er&&rn&&ye.createElement("div",{className:he()("".concat(Xt,"-mask"),Or),style:{display:(On==null?void 0:On.display)==="none"?"none":void 0}},Er)),!Nt&&rn&&ye.createElement(Ge,(0,ce.Z)({"aria-hidden":!Cr,visible:Cr,prefixCls:mn,onClose:qt,mousePosition:kt,src:gr,alt:Pt,fallback:wn,getContainer:Mr,icons:wr,movable:ur,scaleStep:yr,minScale:br,maxScale:Mn,rootClassName:hn,imageRender:Jn,imgCommonProps:un,toolbarRender:lr},Zn)))};Ue.PreviewGroup=qe,Ue.displayName="Image";var Be=Ue,Ze=Be,Te=Se(62892),We=Se(36355),at=Se(31724),et=Se(99267),Je=Se(33853),Ie=Se(38819),xe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},De=xe,Re=Se(7657),Xe=function(St,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},St,{ref:Ut,icon:De}))},nt=ye.forwardRef(Xe),$e=nt,tt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},st=tt,it=function(St,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},St,{ref:Ut,icon:st}))},lt=ye.forwardRef(it),ut=lt,pt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},vt=pt,mt=function(St,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},St,{ref:Ut,icon:vt}))},bt=ye.forwardRef(mt),_t=bt,Mt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},yt=Mt,wt=function(St,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},St,{ref:Ut,icon:yt}))},xt=ye.forwardRef(wt),ln=xt,Yt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},on=Yt,Zt=function(St,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},St,{ref:Ut,icon:on}))},$t=ye.forwardRef(Zt),Wt=$t,sn=Se(64993),xn=Se(73819),Sn=Se(17313),_n=Se(29878),yn=Se(1950),gn=Se(83116),Ct=Se(37613);const Dt=Tt=>({position:Tt||"absolute",inset:0}),At=Tt=>{const{iconCls:St,motionDurationSlow:Ut,paddingXXS:Pt,marginXXS:Lt,prefixCls:Ft,colorTextLightSolid:Xt}=Tt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:Xt,background:new sn.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Ut}`,[`.${Ft}-mask-info`]:Object.assign(Object.assign({},Sn.vS),{padding:`0 ${Pt}px`,[St]:{marginInlineEnd:Lt,svg:{verticalAlign:"baseline"}}})}},tn=Tt=>{const{previewCls:St,modalMaskBg:Ut,paddingSM:Pt,marginXL:Lt,margin:Ft,paddingLG:Xt,previewOperationColorDisabled:nn,previewOperationHoverColor:mn,motionDurationSlow:bn,iconCls:wn,colorTextLightSolid:Pn}=Tt,Tn=new sn.C(Ut).setAlpha(.1),On=Tn.clone().setAlpha(.2);return{[`${St}-footer`]:{position:"fixed",bottom:Lt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Tt.previewOperationColor},[`${St}-progress`]:{marginBottom:Ft},[`${St}-close`]:{position:"fixed",top:Lt,right:{_skip_check_:!0,value:Lt},display:"flex",color:Pn,backgroundColor:Tn.toRgbString(),borderRadius:"50%",padding:Pt,outline:0,border:0,cursor:"pointer",transition:`all ${bn}`,"&:hover":{backgroundColor:On.toRgbString()},[`& > ${wn}`]:{fontSize:Tt.previewOperationSize}},[`${St}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${Xt}px`,backgroundColor:Tn.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Pt,padding:Pt,cursor:"pointer",transition:`all ${bn}`,userSelect:"none",[`&:not(${St}-operations-operation-disabled):hover > ${wn}`]:{color:mn},"&-disabled":{color:nn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${wn}`]:{fontSize:Tt.previewOperationSize}}}}},cn=Tt=>{const{modalMaskBg:St,iconCls:Ut,previewOperationColorDisabled:Pt,previewCls:Lt,zIndexPopup:Ft,motionDurationSlow:Xt}=Tt,nn=new sn.C(St).setAlpha(.1),mn=nn.clone().setAlpha(.2);return{[`${Lt}-switch-left, ${Lt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Ft+1,display:"flex",alignItems:"center",justifyContent:"center",width:Tt.imagePreviewSwitchSize,height:Tt.imagePreviewSwitchSize,marginTop:-Tt.imagePreviewSwitchSize/2,color:Tt.previewOperationColor,background:nn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${Xt}`,userSelect:"none","&:hover":{background:mn.toRgbString()},"&-disabled":{"&, &:hover":{color:Pt,background:"transparent",cursor:"not-allowed",[`> ${Ut}`]:{cursor:"not-allowed"}}},[`> ${Ut}`]:{fontSize:Tt.previewOperationSize}},[`${Lt}-switch-left`]:{insetInlineStart:Tt.marginSM},[`${Lt}-switch-right`]:{insetInlineEnd:Tt.marginSM}}},ft=Tt=>{const{motionEaseOut:St,previewCls:Ut,motionDurationSlow:Pt,componentCls:Lt}=Tt;return[{[`${Lt}-preview-root`]:{[Ut]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Ut}-body`]:Object.assign(Object.assign({},Dt()),{overflow:"hidden"}),[`${Ut}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Pt} ${St} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Dt()),{transition:`transform ${Pt} ${St} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Ut}-moving`]:{[`${Ut}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Lt}-preview-root`]:{[`${Ut}-wrap`]:{zIndex:Tt.zIndexPopup}}},{[`${Lt}-preview-operations-wrapper`]:{position:"fixed",zIndex:Tt.zIndexPopup+1},"&":[tn(Tt),cn(Tt)]}]},ht=Tt=>{const{componentCls:St}=Tt;return{[St]:{position:"relative",display:"inline-block",[`${St}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${St}-img-placeholder`]:{backgroundColor:Tt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${St}-mask`]:Object.assign({},At(Tt)),[`${St}-mask:hover`]:{opacity:1},[`${St}-placeholder`]:Object.assign({},Dt())}}},dt=Tt=>{const{previewCls:St}=Tt;return{[`${St}-root`]:(0,_n._y)(Tt,"zoom"),"&":(0,yn.J$)(Tt,!0)}};var Bt=(0,gn.Z)("Image",Tt=>{const St=`${Tt.componentCls}-preview`,Ut=(0,Ct.TS)(Tt,{previewCls:St,modalMaskBg:new sn.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Tt.controlHeightLG});return[ht(Ut),ft(Ut),(0,xn.QA)((0,Ct.TS)(Ut,{componentCls:St})),dt(Ut)]},Tt=>({zIndexPopup:Tt.zIndexPopupBase+80,previewOperationColor:new sn.C(Tt.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new sn.C(Tt.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new sn.C(Tt.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Tt.fontSizeIcon*1.5})),Qt=function(Tt,St){var Ut={};for(var Pt in Tt)Object.prototype.hasOwnProperty.call(Tt,Pt)&&St.indexOf(Pt)<0&&(Ut[Pt]=Tt[Pt]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Pt=Object.getOwnPropertySymbols(Tt);Lt{var{previewPrefixCls:St,preview:Ut}=Tt,Pt=Qt(Tt,["previewPrefixCls","preview"]);const{getPrefixCls:Lt}=ye.useContext(We.E_),Ft=Lt("image",St),Xt=`${Ft}-preview`,nn=Lt(),[mn,bn]=Bt(Ft),wn=ye.useMemo(()=>{var Pn;if(Ut===!1)return Ut;const Tn=typeof Ut=="object"?Ut:{},On=he()(bn,(Pn=Tn.rootClassName)!==null&&Pn!==void 0?Pn:"");return Object.assign(Object.assign({},Tn),{transitionName:(0,Te.m)(nn,"zoom",Tn.transitionName),maskTransitionName:(0,Te.m)(nn,"fade",Tn.maskTransitionName),rootClassName:On})},[Ut]);return mn(ye.createElement(Ze.PreviewGroup,Object.assign({preview:wn,previewPrefixCls:Xt,icons:Kt},Pt)))},Un=function(Tt,St){var Ut={};for(var Pt in Tt)Object.prototype.hasOwnProperty.call(Tt,Pt)&&St.indexOf(Pt)<0&&(Ut[Pt]=Tt[Pt]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Pt=Object.getOwnPropertySymbols(Tt);Lt{const{prefixCls:St,preview:Ut,className:Pt,rootClassName:Lt,style:Ft}=Tt,Xt=Un(Tt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:nn,locale:mn=at.Z,getPopupContainer:bn,image:wn}=ye.useContext(We.E_),Pn=nn("image",St),Tn=nn(),On=mn.Image||at.Z.Image,[jt,rr]=Bt(Pn),zn=he()(Lt,rr),Yn=he()(Pt,rr,wn==null?void 0:wn.className),dn=ye.useMemo(()=>{if(Ut===!1)return Ut;const Ht=typeof Ut=="object"?Ut:{},{getContainer:hn}=Ht,Vt=Un(Ht,["getContainer"]);return Object.assign(Object.assign({mask:ye.createElement("div",{className:`${Pn}-mask-info`},ye.createElement(E.Z,null),On==null?void 0:On.preview),icons:Kt},Vt),{getContainer:hn||bn,transitionName:(0,Te.m)(Tn,"zoom",Ht.transitionName),maskTransitionName:(0,Te.m)(Tn,"fade",Ht.maskTransitionName)})},[Ut,On]),It=Object.assign(Object.assign({},wn==null?void 0:wn.style),Ft);return jt(ye.createElement(Ze,Object.assign({prefixCls:Pn,preview:dn,rootClassName:zn,className:Yn,style:It},Xt)))};Gn.PreviewGroup=fn;var fr=Gn,zt=()=>{const[Tt,St]=(0,ye.useState)(""),[Ut,Pt]=(0,ye.useState)(0);let[Lt,Ft]=(0,ye.useState)(),[Xt,nn]=(0,ye.useState)();const[mn,bn]=(0,ye.useState)(!1),wn=(0,ye.useRef)("");(0,ye.useEffect)(()=>je.Z.subscribe("preview-image",hn=>{St(hn),console.log(dn.current),document.body.style.overflow="hidden"}),[]),(0,ye.useEffect)(()=>(document.addEventListener("keydown",Pn),()=>{document.removeEventListener("keydown",Pn)}),[]),(0,ye.useEffect)(()=>{wn.current=Tt},[Tt]);function Pn(Ht){Ht.keyCode==27&&wn.current&&Tn()}function Tn(){document.body.style.overflow="auto",Ft(void 0),nn(void 0),Pt(0),St("")}function On(){Pt(Ut+90)}function jt(){Lt=dn.current.width*1.1,Xt=dn.current.height*1.1,nn(Xt),Ft(Lt)}function rr(){Lt=dn.current.width/1.1,Xt=dn.current.height/1.1,nn(Xt),Ft(Lt)}const zn=(0,ye.useRef)(),Yn=(0,ye.useRef)(),dn=(0,ye.useRef)(),It=Ht=>{(Ht.nativeEvent.target===zn.current||Ht.nativeEvent.target===Yn.current)&&Tn()};return ye.createElement(ye.Fragment,null,Tt?ye.createElement("div",null,ye.createElement("div",{className:"preview-wrp-group",ref:Yn},ye.createElement(fr,{className:"image-preview",src:Tt,style:{display:"none"},preview:{visible:!0,src:Tt,movable:!1,onVisibleChange:Ht=>{St("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},73278:function(ct,ot,Se){"use strict";Se.d(ot,{h:function(){return le}});var ye=Se(59301),je=Se(57809),E=Se(78241),pe=Se(3113),he=Se(89780),ce=Se.n(he),oe=Se(78780),ie=Se(19136),ue=Object.defineProperty,se=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,a=(de,ge,fe)=>ge in de?ue(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):de[ge]=fe,y=(de,ge)=>{for(var fe in ge||(ge={}))ne.call(ge,fe)&&a(de,fe,ge[fe]);if(re)for(var fe of re(ge))te.call(ge,fe)&&a(de,fe,ge[fe]);return de},x=(de,ge)=>se(de,ae(ge));const b=je.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};ot.Z=({callback:de,onCancel:ge})=>{const[fe,me]=(0,ye.useState)("python");function be(Pe){me(z[Pe][1])}function ve(Pe){de(Pe)}return ye.createElement(E.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ve,style:{width:500}}),ye.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ye.createElement(je.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:be},Object.keys(z).map(Pe=>ye.createElement(b,{key:Pe,value:Pe},z[Pe][0])))),ye.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ye.createElement(le,{mode:fe})),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(pe.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function le({value:de,onChange:ge,mode:fe,options:me={}}){const be=(0,ye.useRef)(),[ve,Pe]=(0,ye.useState)();return(0,ye.useEffect)(()=>{if(ve){let Ee=function(Ae){const Ce=Ae.getValue();ge&&ge(Ce)};return ve.on("change",Ee),()=>{ve.off("change",Ee)}}},[ve,ge]),(0,ye.useEffect)(()=>{ve&&ve.setOption("mode",fe)},[ve,fe]),(0,ye.useEffect)(()=>{ve&&(de!==ve.getValue()||de==="")&&setTimeout(()=>{ve.setValue(de||"")},300)},[ve,de]),(0,ye.useEffect)(()=>{if(be.current&&!ve){const Ee=ce().fromTextArea(be.current,y({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));Pe(Ee)}},[be.current,ve]),ye.createElement("div",{className:"my-codemirror-container"},ye.createElement("textarea",{ref:be}))}},64726:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return cn}});var ye=Se(59301),je=Se(89780),E=Se.n(je),pe=Se(76374),he=Se(78780),ce=Se(6313),oe=Se(25717),ie=Se(99498),ue=Se(25419),se=Se(67549),ae=Se(99325),re=({value:ft="",className:ht,showTextOnly:dt,showLines:Bt,style:Qt={}})=>{const Kt=(0,ye.useMemo)(()=>"",[ft]);return ye.createElement(ye.Fragment,null,ye.createElement("div",{dangerouslySetInnerHTML:{__html:Kt}}))},ne=Se(59301),te=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,z=(ft,ht,dt)=>ht in ft?te(ft,ht,{enumerable:!0,configurable:!0,writable:!0,value:dt}):ft[ht]=dt,le=(ft,ht)=>{for(var dt in ht||(ht={}))b.call(ht,dt)&&z(ft,dt,ht[dt]);if(x)for(var dt of x(ht))ee.call(ht,dt)&&z(ft,dt,ht[dt]);return ft},de=(ft,ht)=>a(ft,y(ht));let ge=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function fe({onActionCallback:ft,title:ht,icon:dt,actionName:Bt,className:Qt="",children:Kt}){function Fn(){ft(Bt)}return ne.createElement("a",{title:ht,className:Qt,onClick:Fn},ne.createElement("i",{className:`${dt}`}),Kt)}var me=({watch:ft,showNullButton:ht,showNullProgramButton:dt,onActionCallback:Bt,fullScreen:Qt,insertTemp:Kt,hidetoolBar:Fn,extraUse:fn})=>{const Un=[...ge,{title:`${ft?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ft?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!Fn&&Un.map((Gn,fr)=>ne.createElement("li",{key:fr},Gn.actionName?ne.createElement(fe,de(le({},Gn),{onActionCallback:Bt})):ne.createElement("span",{className:"v-line"}))),ht?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:Bt},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,dt?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:Bt},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:Bt},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Kt&&ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Kt}`,onActionCallback:Bt},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),fn&&ne.createElement("li",null,fn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(fe,{icon:`${Qt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Qt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Bt})))},be=Se(19647),ve=Se(78241),Pe=Se(92832),Ee=Se(3113),Ae=Object.defineProperty,Ce=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Fe=(ft,ht,dt)=>ht in ft?Ae(ft,ht,{enumerable:!0,configurable:!0,writable:!0,value:dt}):ft[ht]=dt,Le=(ft,ht)=>{for(var dt in ht||(ht={}))Me.call(ht,dt)&&Fe(ft,dt,ht[dt]);if(we)for(var dt of we(ht))Oe.call(ht,dt)&&Fe(ft,dt,ht[dt]);return ft},Ye=(ft,ht)=>Ce(ft,_e(ht));const He={labelCol:{span:4},wrapperCol:{span:20}};var Ge=({callback:ft,onCancel:ht})=>{function dt(Bt){ft(Bt)}return ye.createElement(ve.default,Ye(Le({},He),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:dt,style:{width:500}}),ye.createElement(ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ye.createElement(Pe.default,null)),ye.createElement(ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ye.createElement(Pe.default,null)),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Ee.ZP,{type:"ghost",onClick:ht},"\u53D6\u6D88")))},Ke=Se(73278),ze=Se(56030),ke=Se(43418),Ne=Se(95237),Ve=Se(14573),qe=Se(59301),rt=({callback:ft,onCancel:ht})=>{const dt=document.createElement("canvas"),Bt=dt.getContext("2d");dt.width=1e3,dt.height=800,Bt.fillStyle="#ffffff",Bt.fillRect(0,0,dt.width,dt.height);const Qt=dt.toDataURL("image/png");return qe.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},qe.createElement(Ne.Z,{style:{height:"100vh"}},qe.createElement(Ve.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Qt,visible:!0,title:String(Date.now())},onOk:Kt=>{ft({src:Kt.url})},onClose:ht})))},Qe=Se(12378);function Ue(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ue,go.CommandHandler),Ue.prototype.canAlignSelection=function(){var ft=this.diagram;return!(ft===null||ft.isReadOnly||ft.isModelReadOnly||ft.selection.count<2)},Ue.prototype.alignLeft=function(){var ft=this.diagram;ft.startTransaction("aligning left");var ht=1/0;ft.selection.each(function(dt){dt instanceof go.Link||(ht=Math.min(dt.position.x,ht))}),ft.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(ht,dt.position.y))}),ft.commitTransaction("aligning left")},Ue.prototype.alignRight=function(){var ft=this.diagram;ft.startTransaction("aligning right");var ht=-1/0;ft.selection.each(function(dt){if(!(dt instanceof go.Link)){var Bt=dt.actualBounds.x+dt.actualBounds.width;ht=Math.max(Bt,ht)}}),ft.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(ht-dt.actualBounds.width,dt.position.y))}),ft.commitTransaction("aligning right")},Ue.prototype.alignTop=function(){var ft=this.diagram;ft.startTransaction("alignTop");var ht=1/0;ft.selection.each(function(dt){dt instanceof go.Link||(ht=Math.min(dt.position.y,ht))}),ft.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.position.x,ht))}),ft.commitTransaction("alignTop")},Ue.prototype.alignBottom=function(){var ft=this.diagram;ft.startTransaction("aligning bottom");var ht=-1/0;ft.selection.each(function(dt){if(!(dt instanceof go.Link)){var Bt=dt.actualBounds.y+dt.actualBounds.height;ht=Math.max(Bt,ht)}}),ft.selection.each(function(dt){dt instanceof go.Link||dt.move(new go.Point(dt.actualBounds.x,ht-dt.actualBounds.height))}),ft.commitTransaction("aligning bottom")},Ue.prototype.alignCenterX=function(){var ft=this.diagram,ht=ft.selection.first();if(ht){ft.startTransaction("aligning Center X");var dt=ht.actualBounds.x+ht.actualBounds.width/2;ft.selection.each(function(Bt){Bt instanceof go.Link||Bt.move(new go.Point(dt-Bt.actualBounds.width/2,Bt.actualBounds.y))}),ft.commitTransaction("aligning Center X")}},Ue.prototype.alignCenterY=function(){var ft=this.diagram,ht=ft.selection.first();if(ht){ft.startTransaction("aligning Center Y");var dt=ht.actualBounds.y+ht.actualBounds.height/2;ft.selection.each(function(Bt){Bt instanceof go.Link||Bt.move(new go.Point(Bt.actualBounds.x,dt-Bt.actualBounds.height/2))}),ft.commitTransaction("aligning Center Y")}},Ue.prototype.alignColumn=function(ft){var ht=this.diagram;ht.startTransaction("align Column"),ft===void 0&&(ft=0),ft=parseFloat(ft);var dt=new Array;ht.selection.each(function(fn){fn instanceof go.Link||dt.push(fn)});for(var Bt=0;Bt0){for(var fn=Kt.elt(Fn-1);fn!==null&&fn.isTreeExpanded&&!fn.isTreeLeaf;){var Un=this._sortTreeChildrenByY(fn);fn=Un.last()}fn!==null&&ft.select(fn)}else ft.select(Qt)}}else if(dt.key==="Down")if(ht.isTreeExpanded&&!ht.isTreeLeaf){var Bt=this._sortTreeChildrenByY(ht).first();Bt!==null&&ft.select(Bt)}else for(;ht!==null;){var Qt=ht.findTreeParentNode();if(Qt===null)break;var Kt=this._sortTreeChildrenByY(Qt),Fn=Kt.indexOf(ht);if(FnKt.y?1:Qt.xKt.x?1:0}),ht},Ue.prototype.copyToClipboard=function(ft){go.CommandHandler.prototype.copyToClipboard.call(this,ft),this._lastPasteOffset.set(this.pasteOffset)},Ue.prototype.pasteFromClipboard=function(){var ft=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ft,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ft},Object.defineProperty(Ue.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ft){if(ft!=="move"&&ft!=="select"&&ft!=="scroll"&&ft!=="tree"&&ft!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ft);this._arrowKeyBehavior=ft}}),Object.defineProperty(Ue.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ft){if(!(ft instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ft);this._pasteOffset.set(ft)}});var Be=Ue,Ze=Se(29277),Te=Se(43604),We=Se(7660),at={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},et=Se(59301),Je=(ft,ht,dt)=>new Promise((Bt,Qt)=>{var Kt=Un=>{try{fn(dt.next(Un))}catch(Gn){Qt(Gn)}},Fn=Un=>{try{fn(dt.throw(Un))}catch(Gn){Qt(Gn)}},fn=Un=>Un.done?Bt(Un.value):Promise.resolve(Un.value).then(Kt,Fn);fn((dt=dt.apply(ft,ht)).next())});function Ie({onCancel:ft,callback:ht}){let dt=(0,ye.useRef)(),Bt=(0,ye.useRef)(),Qt=(0,ye.useRef)(),Kt=(0,ye.useRef)(!1);const Fn=(0,ye.useRef)(!1),[fn,Un]=(0,ye.useState)(0);function Gn(){const zt=Qe.bx.make,Tt={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"};dt.current=new Qe.S0(Bt.current,{padding:20,grid:zt(Qe.s_,"Grid",zt(Qe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),zt(Qe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:It=>{var Ht=It.diagram.commandHandler.addTopLevelParts(It.diagram.selection,!0);Ht||It.diagram.currentTool.doCancel()},commandHandler:zt(Be),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:It=>{var Ht=It.subject;Ht.location=Ht.location.copy().snapToGridPoint(It.diagram.grid.gridOrigin,It.diagram.grid.gridCellSize),setTimeout(()=>{It.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:It=>{var Ht=It.subject;setTimeout(()=>{It.diagram.commandHandler.editTextBlock()})},LinkRelinked:It=>{var Ht=It.parameter.part;Ht.invalidateConnectedLinks();var hn=It.subject;It.diagram.toolManager.linkingTool.isForwards?hn.toNode.invalidateConnectedLinks():hn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),dt.current.nodeTemplate=zt(Qe.NB,"Auto",{locationSpot:Qe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Qe.$u(120,60),minSize:new Qe.$u(40,40),resizable:!0,resizeCellSize:new Qe.$u(10,10),rotatable:!0},new Qe.KX("location","loc",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),new Qe.KX("desiredSize","size",Qe.$u.parse).makeTwoWay(Qe.$u.stringify),zt(Qe.bn,{name:"SHAPE",fill:Tt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Qe.z6.AllSides,toSpot:Qe.z6.AllSides},new Qe.KX("figure"),new Qe.KX("fill"),new Qe.KX("stroke","borderColor"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),zt(Qe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),zt(Qe.al,{margin:1,textAlign:"center",overflow:Qe.al.OverflowEllipsis,editable:!0},new Qe.KX("text").makeTwoWay(),new Qe.KX("stroke","color"))),dt.current.nodeTemplate.toolTip=zt("ToolTip",zt(Qe.s_,"Vertical",{maxSize:new Qe.$u(200,NaN)},zt(Qe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Qe.KX("text")),zt(Qe.al,{font:"10pt sans-serif",textAlign:"center"},new Qe.KX("text","details"))));function St(It,Ht){var hn=(Vt,Cn)=>{Vt.handled=!0,Vt.diagram.model.commit(Nn=>{var Hn=Cn.part.adornedPart,Dn=new Qe.E9().setRectSpot(Hn.actualBounds,It);Dn.subtract(Hn.location),Dn.scale(2,2),Dn.x+=Math.sign(Dn.x)*130,Dn.y+=Math.sign(Dn.y)*130,Dn.add(Hn.location),Dn.snapToGridPoint(Vt.diagram.grid.gridOrigin,Vt.diagram.grid.gridCellSize);var Kn=Nn.copyNodeData(Hn.data);Nn.setGroupKeyForNodeData(Kn,Nn.getGroupKeyForNodeData(Hn.data)),Nn.addNodeData(Kn);var mr={from:Hn.key,to:Nn.getKeyForNodeData(Kn)};Nn.addLinkData(mr);var vr=Vt.diagram.findNodeForData(Kn);vr.location=Dn,Vt.diagram.select(vr),setTimeout(()=>{Vt.diagram.commandHandler.editTextBlock()},20)})};return zt(Qe.bn,{figure:Ht,alignment:It,alignmentFocus:It.opposite(),width:It.equals(Qe.z6.Top)||It.equals(Qe.z6.Bottom)?25:18,height:It.equals(Qe.z6.Top)||It.equals(Qe.z6.Bottom)?18:25,fill:"orange",stroke:Tt.white,strokeWidth:4,mouseEnter:(Vt,Cn)=>Cn.fill="dodgerblue",mouseLeave:(Vt,Cn)=>Cn.fill="orange",isActionable:!0,click:hn,contextClick:hn})}function Ut(It){return zt(Qe.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Ht,hn)=>hn.fill="dodgerblue",mouseLeave:(Ht,hn)=>hn.fill="orange",click:(Ht,hn)=>{Ht.diagram.commandHandler.showContextMenu(hn.part.adornedPart)}},It||{})}dt.current.nodeTemplate.selectionAdornmentTemplate=zt(Qe.uz,"Spot",zt(Qe.Vm,{padding:10}),St(Qe.z6.Top,"TriangleUp"),St(Qe.z6.Left,"TriangleLeft"),St(Qe.z6.Right,"TriangleRight"),St(Qe.z6.Bottom,"TriangleDown"),Ut({alignment:new Qe.z6(.75,0)}));function Pt(It,Ht){return(hn,Vt)=>{hn.handled=!0,hn.diagram.model.commit(Cn=>{Cn.set(Vt.part.adornedPart.data,It,Ht)})}}function Lt(It,Ht){return Ht||(Ht="color"),zt(Qe.bn,{width:16,height:16,stroke:"lightgray",fill:It,margin:1,background:"transparent",mouseEnter:(hn,Vt)=>Vt.stroke="dodgerblue",mouseLeave:(hn,Vt)=>Vt.stroke="lightgray",click:Pt(Ht,It),contextClick:Pt(Ht,It)})}function Ft(){return[zt("ContextMenuButton",zt(Qe.s_,"Horizontal",Lt(Tt.white,"fill"),Lt(Tt.beige,"fill"),Lt(Tt.extralightblue,"fill"),Lt(Tt.extralightred,"fill"))),zt("ContextMenuButton",zt(Qe.s_,"Horizontal",Lt(Tt.lightgray,"fill"),Lt(Tt.lightgreen,"fill"),Lt(Tt.lightblue,"fill"),Lt(Tt.lightred,"fill")))]}function Xt(){return[zt("ContextMenuButton",zt(Qe.s_,"Horizontal",Lt(Tt.black),Lt(Tt.green),Lt(Tt.blue),Lt(Tt.red))),zt("ContextMenuButton",zt(Qe.s_,"Horizontal",Lt(Tt.white),Lt(Tt.magenta),Lt(Tt.purple),Lt(Tt.orange)))]}function nn(It,Ht){return Ht||(Ht="thickness"),zt(Qe.bn,"LineH",{width:16,height:16,strokeWidth:It,margin:1,background:"transparent",mouseEnter:(hn,Vt)=>Vt.background="dodgerblue",mouseLeave:(hn,Vt)=>Vt.background="transparent",click:Pt(Ht,It),contextClick:Pt(Ht,It)})}function mn(It,Ht){return Ht||(Ht="dash"),zt(Qe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:It,margin:1,background:"transparent",mouseEnter:(hn,Vt)=>Vt.background="dodgerblue",mouseLeave:(hn,Vt)=>Vt.background="transparent",click:Pt(Ht,It),contextClick:Pt(Ht,It)})}function bn(){return[zt("ContextMenuButton",zt(Qe.s_,"Horizontal",nn(1),nn(2),nn(3),nn(4))),zt("ContextMenuButton",zt(Qe.s_,"Horizontal",mn(null),mn([2,4]),mn([4,4])))]}function wn(It,Ht){return Ht||(Ht="figure"),zt(Qe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:It,margin:1,background:"transparent",mouseEnter:(hn,Vt)=>Vt.fill="dodgerblue",mouseLeave:(hn,Vt)=>Vt.fill="lightgray",click:Pt(Ht,It),contextClick:Pt(Ht,It)})}dt.current.nodeTemplate.contextMenu=zt("ContextMenu",zt("ContextMenuButton",zt(Qe.s_,"Horizontal",wn("Rectangle"),wn("RoundedRectangle"),wn("Ellipse"),wn("Diamond"))),zt("ContextMenuButton",zt(Qe.s_,"Horizontal",wn("Parallelogram2"),wn("ManualOperation"),wn("Procedure"),wn("Cylinder1"))),zt("ContextMenuButton",zt(Qe.s_,"Horizontal",wn("Terminator"),wn("CreateRequest"),wn("Document"),wn("TriangleDown"))),Ft(),Xt(),bn()),dt.current.groupTemplate=zt(Qe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Qe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(It,Ht)=>{var hn=Ht.addMembers(Ht.diagram.selection,!0);hn||Ht.diagram.currentTool.doCancel()},avoidable:!1},new Qe.KX("location","loc",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),zt(Qe.s_,"Auto",{name:"BODY"},zt(Qe.bn,{parameter1:10,fill:Tt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Qe.z6.AllSides,toSpot:Qe.z6.AllSides},new Qe.KX("fill"),new Qe.KX("stroke","color"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),zt(Qe.Vm,{background:"transparent",margin:20})),zt(Qe.al,{alignment:Qe.z6.Top,alignmentFocus:Qe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Qe.KX("text"),new Qe.KX("stroke","color"))),dt.current.groupTemplate.selectionAdornmentTemplate=zt(Qe.uz,"Spot",zt(Qe.s_,"Auto",zt(Qe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),zt(Qe.Vm,{margin:1.5})),Ut({alignment:Qe.z6.TopRight,alignmentFocus:Qe.z6.BottomRight})),dt.current.groupTemplate.contextMenu=zt("ContextMenu",Ft(),Xt(),bn()),dt.current.linkTemplate=zt(Qe.rU,{layerName:"Foreground",routing:Qe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Qe.KX("fromSpot","fromSpot",Qe.z6.parse),new Qe.KX("toSpot","toSpot",Qe.z6.parse),new Qe.KX("fromShortLength","dir",It=>It>=1?10:0),new Qe.KX("toShortLength","dir",It=>It>=1?10:0),new Qe.KX("points").makeTwoWay(),zt(Qe.bn,{strokeWidth:2},new Qe.KX("stroke","color"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),zt(Qe.bn,{segmentIndex:0,segmentOffset:new Qe.E9(15,0),segmentOrientation:Qe.rU.OrientAlong,alignmentFocus:Qe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",It=>It===1)),zt(Qe.bn,{segmentIndex:-1,segmentOffset:new Qe.E9(-10,6),segmentOrientation:Qe.rU.OrientPlus90,alignmentFocus:Qe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",It=>It>=1),new Qe.KX("width","thickness",It=>7+3*It),new Qe.KX("height","thickness",It=>7+3*It),new Qe.KX("segmentOffset","thickness",It=>new Qe.E9(-15,4+1.5*It))),zt(Qe.bn,{segmentIndex:0,segmentOffset:new Qe.E9(15,-6),segmentOrientation:Qe.rU.OrientMinus90,alignmentFocus:Qe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",It=>It===2),new Qe.KX("width","thickness",It=>7+3*It),new Qe.KX("height","thickness",It=>7+3*It),new Qe.KX("segmentOffset","thickness",It=>new Qe.E9(-15,4+1.5*It))),zt(Qe.al,{alignmentFocus:new Qe.z6(0,1,-4,0),editable:!0},new Qe.KX("text").makeTwoWay(),new Qe.KX("stroke","color"))),dt.current.linkTemplate.selectionAdornmentTemplate=zt(Qe.uz,zt(Qe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Pn(2)},new Qe.KX("pathPattern","thickness",Pn)),Ut({alignmentFocus:new Qe.z6(0,0,-6,-4)}));function Pn(It){return zt(Qe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(It+4).toString()+" H3"})}function Tn(It){var Ht="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return It===0?Ht="M0 0 M16 16 M0 8 L16 8":It===2&&(Ht="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),zt(Qe.bn,{geometryString:Ht,margin:2,background:"transparent",mouseEnter:(hn,Vt)=>Vt.background="dodgerblue",mouseLeave:(hn,Vt)=>Vt.background="transparent",click:Pt("dir",It),contextClick:Pt("dir",It)})}function On(It){var Ht=(hn,Vt)=>{hn.handled=!0,hn.diagram.model.commit(Cn=>{var Nn=Vt.part.adornedPart;Cn.set(Nn.data,It?"toSpot":"fromSpot",Qe.z6.stringify(Qe.z6.AllSides)),(It?Nn.toNode:Nn.fromNode).invalidateConnectedLinks()})};return zt(Qe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(hn,Vt)=>Vt.background="dodgerblue",mouseLeave:(hn,Vt)=>Vt.background="transparent",click:Ht,contextClick:Ht})}function jt(It,Ht){var hn=0,Vt=Qe.z6.RightSide;It.equals(Qe.z6.Top)?(hn=270,Vt=Qe.z6.TopSide):It.equals(Qe.z6.Left)?(hn=180,Vt=Qe.z6.LeftSide):It.equals(Qe.z6.Bottom)&&(hn=90,Vt=Qe.z6.BottomSide),Ht||(hn-=180);var Cn=(Nn,Hn)=>{Nn.handled=!0,Nn.diagram.model.commit(Dn=>{var Kn=Hn.part.adornedPart;Dn.set(Kn.data,Ht?"toSpot":"fromSpot",Qe.z6.stringify(Vt)),(Ht?Kn.toNode:Kn.fromNode).invalidateConnectedLinks()})};return zt(Qe.bn,{alignment:It,alignmentFocus:It.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:hn,background:"transparent",mouseEnter:(Nn,Hn)=>Hn.background="dodgerblue",mouseLeave:(Nn,Hn)=>Hn.background="transparent",click:Cn,contextClick:Cn})}dt.current.linkTemplate.contextMenu=zt("ContextMenu",Xt(),bn(),zt("ContextMenuButton",zt(Qe.s_,"Horizontal",Tn(0),Tn(1),Tn(2))),zt("ContextMenuButton",zt(Qe.s_,"Horizontal",zt(Qe.s_,"Spot",On(!1),jt(Qe.z6.Top,!1),jt(Qe.z6.Left,!1),jt(Qe.z6.Right,!1),jt(Qe.z6.Bottom,!1)),zt(Qe.s_,"Spot",{margin:new Qe.Zt(0,0,0,2)},On(!0),jt(Qe.z6.Top,!0),jt(Qe.z6.Left,!0),jt(Qe.z6.Right,!0),jt(Qe.z6.Bottom,!0)))));const rr=`{ "class": "GraphLinksModel", +`)}catch(tt){}if(we){let tt=-1;return Ge=Ge.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(st,it,lt){var ut;return++tt,Ue(st,tt,(ut=Fe==null?void 0:Fe[tt])==null?void 0:ut.value.replaceAll("<","<").replaceAll(">",">"))}),`
${Ze(Ge||"")}
`}let Xe=Ze(Ge);Xe=(0,E.ZP)(Xe);const nt=(0,E.ez)();Ge.match(/\[TOC\]/)&&(Xe=Xe.replace("

[TOC]

",(0,E.Qv)()),(0,E.Iy)()),Xe=Xe.replace(/(__special_katext_id_\d+__)/g,(tt,st)=>{const{type:it,expression:lt}=nt[st];return(0,ie.renderToString)(ge(lt)||"",{displayMode:it==="block",throwOnError:!1,output:"html"})}),Xe=Xe.replace(/▁/g,"\u2581\u2581\u2581\u2581\u2581"),(0,E.AL)();const $e=document.createElement("div");if($e.innerHTML=Xe,Pe)return $e.innerText;if(_e){const tt=_e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");return Je($e,tt),$e.innerHTML}return setTimeout(()=>De(),500),$e.innerHTML},[Ge,_e]);(0,ye.useEffect)(()=>{Ie.current&&Ie.current.querySelectorAll(["input","textarea"]).forEach(nt=>{nt.oninput=We,nt.onblur=at,nt.onfocus=et})},[Ve]),(0,ye.useEffect)(()=>{var Xe,nt,$e,tt,st;if(Fe!=null&&Fe.length)try{const it=Ie.current.querySelectorAll(".edu-program-fill-score"),lt=Ie.current.querySelectorAll('[name="edu-program-fill"]');for(const[ut,pt]of lt.entries())pt.value=((Xe=Fe==null?void 0:Fe[ut])==null?void 0:Xe.value)||"",((nt=Fe==null?void 0:Fe[ut])==null?void 0:nt.type)==="warning"?pt.className="program-fill-warning":(($e=Fe==null?void 0:Fe[ut])==null?void 0:$e.type)==="success"?pt.className="program-fill-success":pt.className="";for(const[ut,pt]of it.entries())pt.innerHTML=(tt=Fe==null?void 0:Fe[ut])!=null&&tt.score?`${(st=Fe==null?void 0:Fe[ut])==null?void 0:st.score}\u5206`:"";qe(Fe)}catch(it){console.log(it,"error")}},[Fe]);const We=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,qe([...Ve]),Le(Ve,Xe.target.dataset.id)},at=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,qe([...Ve]),Ye(Ve,Xe.target.dataset.id)},et=Xe=>{Ve[Xe.target.dataset.id]=Ve[Xe.target.dataset.id]||{},Ve[Xe.target.dataset.id].value=Xe.target.value,qe([...Ve]),He(Ve,Xe.target.dataset.id)};function Je(Xe,nt){return Xe.childNodes.forEach($e=>{var tt;if($e.childNodes.length>0)Je($e,nt);else if($e.nodeName!=="IMG")if($e.innerHTML)$e.innerHTML=(tt=$e.innerHTML)==null?void 0:tt.replace(new RegExp(nt,"gi"),'$&');else{const st=document.createElement("span");st.innerHTML=$e.textContent.replace(new RegExp(nt,"gi"),'$&'),$e.replaceWith(st)}})}const Ie=(0,ye.useRef)();E.jb.WebkitLineClamp=Ee,Ee&&(Ae=ee(ee({},Ae),E.jb));function xe(Xe){let nt=Xe.target;if(nt.tagName.toUpperCase()==="A"){let $e=nt.getAttribute("href");if($e.indexOf("office")>-1)Xe.preventDefault(),ze($e),Ne("office");else if($e.indexOf("application/pdf")>-1)Xe.preventDefault(),ze($e),Ne("pdf");else if($e.indexOf("text/html")>-1)Xe.preventDefault(),ze($e),Ne("html");else if($e.startsWith("#")){Xe.preventDefault();let tt=document.getElementById($e.replace("#",""));tt&&tt.scrollIntoView(!0)}}}const De=()=>{var Xe;const nt=(Xe=Ie.current)==null?void 0:Xe.querySelectorAll("video");nt==null||nt.forEach($e=>{if($e.oncontextmenu=()=>!1,$e.src.indexOf(".m3u8")>-1&&!$e.canPlayType("application/vnd.apple.mpegurl")){if(he.ZP.isSupported()){var tt=new he.ZP;tt.loadSource($e.src),tt.attachMedia($e)}}})};(0,ye.useEffect)(()=>{if(Ie.current&&Te&&Te.match(de)&&window.PR.prettyPrint(),Ie.current)return Ie.current.addEventListener("click",xe),()=>{var Xe;(Xe=Ie.current)==null||Xe.removeEventListener("click",xe),(0,E.AL)(),(0,E.Iy)()}},[Te,Ie.current,xe]),(0,ye.useEffect)(()=>{var Xe;const nt=$e=>{$e.preventDefault(),$e.clipboardData.setData("text",window.getSelection().toString())};return(Xe=Ie.current)==null||Xe.addEventListener("copy",nt),()=>{var $e;($e=Ie.current)==null||$e.removeEventListener("copy",nt)}},[Ie.current]);const Re=Xe=>//i.test(Xe||"");return ye.createElement(ye.Fragment,null,Pe&&ye.createElement("div",{ref:Ie},Te),!Pe&&!Re(Te)&&ye.createElement("div",{ref:Ie,style:ee({},Ae),className:`${ve||""} ${Oe?"disabled-fill":""} markdown-body ${rt.current}`,dangerouslySetInnerHTML:{__html:Te}}),!Pe&&Re(Te)&&ye.createElement(ne,{html:Te}),ye.createElement(se.Z,{close:!0,data:Ke,type:Ke!=null&&Ke.length?ke:"",style:ee({},Ce),onClose:()=>ze("")}))}},7651:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return pe}});var ye=Se(24459),je={ldsRing:"ldsRing___mpBZC",idsRingWrapper:"idsRingWrapper___Of9_n",ldsring:"ldsring___o0w2t"},E=Se(59301),pe=({message:he,className:ce,children:oe,style:ie={}})=>E.createElement("div",{className:`custom-spinner ${je.idsRingWrapper} ${ce}`},E.createElement("div",{className:je.ldsRing},E.createElement("div",null),E.createElement("div",null),E.createElement("div",null),E.createElement("div",null)),he?E.createElement("p",{style:ie},he):null,oe,E.createElement(ye.Outlet,null))},31582:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return pe}});var ye=Se(59301),je=Se(50484),E=Se(59301),pe=({defaultX:he="40%",leftChild:ce,rightChild:oe,className:ie,hideResize:ue=!1})=>{const[se,ae]=(0,ye.useState)(he),re=(0,ye.useRef)();function ne(){re.current=!0}(0,ye.useEffect)(()=>{function y(b){re.current&&(je.Z.publish("resize-move-bar",b),ae(b.pageX))}function x(){re.current=!1}return window.addEventListener("mousemove",y),window.addEventListener("mouseup",x),()=>{window.removeEventListener("mousemove",y),window.removeEventListener("mouseup",x)}},[]);const te=typeof se=="number"&&se!==.01?`${se}px`:he,a=`calc(100% - ${ue?"0px":"4px"} - ${te})`;return E.createElement("div",{className:`split-panel-container ${ie}`},E.createElement("section",{style:{width:te,display:se===.01?"none":""}},ce),E.createElement("section",{className:"resize-x-bar",onMouseDown:ne},E.createElement("a",{className:"btn-resize"},E.createElement("svg",{width:"16",height:"13",viewBox:"0 0 16 13"},E.createElement("path",{d:"M12.245 7.53H5.647v1.882h6.598v2.823L16 8.471l-3.755-3.765V7.53zM10.353 4.706H3.755v2.823L0 3.765 3.755 0v2.824h6.598v1.882z"})))),E.createElement("section",{style:{width:a}},oe))}},75618:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ce}});var ye=Se(59301),je={flex_box_center:"flex_box_center___Gc4dd",flex_space_between:"flex_space_between___K2f1v",flex_box_vertical_center:"flex_box_vertical_center___pupRp",flex_box_center_end:"flex_box_center_end___UDLRC",flex_box_column:"flex_box_column___a5uDo",result:"result___gu5zt",title:"title___xrnx2",left:"left___IAxp9",leftNode:"leftNode___HL8fG",right:"right___ZXYmw",rightNode:"rightNode___jYL5_"},E=Se(92310),pe=Se.n(E),ce=({className:oe,style:ie={},leftNode:ue,leftTitle:se="\u81EA\u6D4B\u8F93\u5165",rightNode:ae,rightTitle:re="\u8FD0\u884C\u7ED3\u679C"})=>ye.createElement("div",{className:pe()(je.result,oe),style:ie},ye.createElement("div",{className:je.left},ye.createElement("div",{className:je.title},ye.createElement("i",{style:{color:"#08CF76"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),ye.createElement("span",null,se)),ye.createElement("div",{className:je.leftNode},ue)),ye.createElement("div",{className:je.right},ye.createElement("div",{className:je.title},ye.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),ye.createElement("span",null,re)),ye.createElement("div",{className:je.rightNode},ae)))},46942:function(ct,ot,Se){"use strict";var ye=Se(59301);const je=pe=>String(pe).length===1?`0${pe}`:pe,E=({className:pe="",onChange:he,defaultValue:ce=0})=>{const[oe,ie]=(0,ye.useState)(ce);(0,ye.useEffect)(()=>{const re=setTimeout(()=>{ie(oe+1e3)},1e3);return he(oe+1e3),()=>{clearInterval(re)}},[oe]);const ue=parseInt(oe/(60*6e4))||"00",se=parseInt(oe%(60*6e4)/6e4)||"00",ae=parseInt(oe%6e4/1e3)||"00";return ye.createElement("div",{className:pe},je(ue),":",je(se),":",je(ae))};ot.Z=E},49894:function(ct,ot,Se){"use strict";Se.d(ot,{cT:function(){return be},pe:function(){return ge}});var ye=Se(59301),je=Se(54580),E=Se(8591),pe=Se(7660),he=Se(28209),ce=Se.n(he),oe=Se(1012),ie=Se(24459),ue=Se(47257),se=Se.n(ue),ae=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(Pe,Ee,Ae)=>Ee in Pe?ae(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Pe[Ee]=Ae,b=(Pe,Ee)=>{for(var Ae in Ee||(Ee={}))a.call(Ee,Ae)&&x(Pe,Ae,Ee[Ae]);if(te)for(var Ae of te(Ee))y.call(Ee,Ae)&&x(Pe,Ae,Ee[Ae]);return Pe},ee=(Pe,Ee)=>re(Pe,ne(Ee)),z=(Pe,Ee)=>{var Ae={};for(var Ce in Pe)a.call(Pe,Ce)&&Ee.indexOf(Ce)<0&&(Ae[Ce]=Pe[Ce]);if(Pe!=null&&te)for(var Ce of te(Pe))Ee.indexOf(Ce)<0&&y.call(Pe,Ce)&&(Ae[Ce]=Pe[Ce]);return Ae},le=(Pe,Ee,Ae)=>new Promise((Ce,_e)=>{var we=Fe=>{try{Oe(Ae.next(Fe))}catch(Le){_e(Le)}},Me=Fe=>{try{Oe(Ae.throw(Fe))}catch(Le){_e(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,Me);Oe((Ae=Ae.apply(Pe,Ee)).next())});const{Dragger:de}=je.default,ge=Pe=>{const Ee="bf3c199c2470cb477d907b1e0917c17b",Ae="5183666c72eec9e4";var Ce=ce().enc.Utf8.parse(Ee);let _e=ce().enc.Utf8.parse(Ae);var we=ce().AES.decrypt(Pe,Ce,{iv:_e,mode:ce().mode.CBC});return we.toString(ce().enc.Utf8)};let fe;const me=Pe=>le(void 0,[Pe],function*({identifier:Ee,oldFilename:Ae,newFilename:Ce}){var _e,we,Me,Oe,Fe,Le;const Ye=yield Fetch("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});Ye.data=JSON.parse(ge(Ye.data));const He=new OSS({endpoint:(_e=Ye==null?void 0:Ye.data)==null?void 0:_e.end_point,region:(we=Ye==null?void 0:Ye.data)==null?void 0:we.region,accessKeyId:(Me=Ye==null?void 0:Ye.data)==null?void 0:Me.access_key_id,accessKeySecret:(Oe=Ye==null?void 0:Ye.data)==null?void 0:Oe.access_key_secret,bucket:(Fe=Ye==null?void 0:Ye.data)==null?void 0:Fe.bucket,stsToken:(Le=Ye==null?void 0:Ye.data)==null?void 0:Le.security_token});return new Promise((Ge,Ke)=>{console.log(11111,`${Ee}/${Ae}`,`${Ee}/${Ce}`,Ye.data),He.copy(`/${Ee}/${Ae}`,`/${Ee}/${Ce}`).then(ze=>{console.log("\u62F7\u8D1D\u6210\u529F",ze)}).catch(ze=>{console.log(ze)})})}),be=(Pe,Ee,Ae)=>le(void 0,null,function*(){var Ce,_e,we,Me,Oe,Fe;Ee.file_name=Pe.name;const Le=yield(0,pe.ZP)("/api/buckets/get_upload_token.json",{method:"get"});console.log("decrypt(res.data):",ge(Le.data)),Le.data=JSON.parse(ge(Le.data));const Ye=Pe.name.split(".");Ye.pop();const He=Ee.realFileName?Ye.join(""):(0,oe.Z)(),Ge=new(se())({endpoint:(Ce=Le==null?void 0:Le.data)==null?void 0:Ce.end_point,region:(_e=Le==null?void 0:Le.data)==null?void 0:_e.region,accessKeyId:(we=Le==null?void 0:Le.data)==null?void 0:we.access_key_id,accessKeySecret:(Me=Le==null?void 0:Le.data)==null?void 0:Me.access_key_secret,bucket:(Oe=Le==null?void 0:Le.data)==null?void 0:Oe.bucket,stsToken:(Fe=Le==null?void 0:Le.data)==null?void 0:Fe.security_token});return new Promise((Ke,ze)=>{var ke;Ge.multipartUpload(`${He}`,new Blob([Pe],{type:Pe.type}),ee(b({timeout:200*1e3,partSize:102400},Ae),{callback:{url:(ke=Le==null?void 0:Le.data)==null?void 0:ke.callback_url,host:Le==null?void 0:Le.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,pe.rz)(Ee)}})).then(function(Ne){var Ve;Pe.response=(Ve=Ne.data)==null?void 0:Ve.data,Ke(Ne==null?void 0:Ne.data)}).catch(function(Ne){ze(Ne),console.log("err:",Ne)})})}),ve=Pe=>{var Ee=Pe,{user:Ae,cancelUpload:Ce}=Ee,_e=z(Ee,["user","cancelUpload"]);const[we,Me]=(0,ye.useState)([]);let[Oe,Fe]=(0,ye.useState)();const Le={onRemove:He=>{Me([...we.filter(Ge=>Ge.name!==He.name)]),_e.onChange(we.filter(Ge=>Ge.name!==He.name))},disabled:_e.disabled,multiple:!0,fileList:we==null?void 0:we.map(He=>He.file),customRequest:()=>{},beforeUpload:He=>le(void 0,null,function*(){let Ge=_e.maxSize||1073741824;if(we.filter(Ke=>Ke.name===He.name).length){E.ZP.info(`${He.name}\u5DF2\u5B58\u5728\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9`);return}return(He==null?void 0:He.size)>Ge?(E.ZP.info(`\u6587\u4EF6\u8D85\u8FC7${Ge/1024/1024/1024}GB\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42`),!1):(we.push({name:He.name,file:He}),Me([...we]),_e.onChange(we),!1)})},Ye=(He,Ge)=>le(void 0,null,function*(){var Ke,ze,ke,Ne,Ve,qe;Ge.file_name=He.name;const rt=He.name,Qe=yield(0,pe.ZP)("/api/buckets/get_upload_token_for_big_files.json",{method:"get"});if(Qe.data=JSON.parse(ge(Qe.data)),(Qe==null?void 0:Qe.status)!==0){we[we.findIndex(Ze=>Ze.name===rt)].status="error",we[we.findIndex(Ze=>Ze.name===rt)].file.status="error",_e.onChange(we),E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5");return}Oe=new(se())({endpoint:(Ke=Qe==null?void 0:Qe.data)==null?void 0:Ke.end_point,region:(ze=Qe==null?void 0:Qe.data)==null?void 0:ze.region,accessKeyId:(ke=Qe==null?void 0:Qe.data)==null?void 0:ke.access_key_id,accessKeySecret:(Ne=Qe==null?void 0:Qe.data)==null?void 0:Ne.access_key_secret,bucket:(Ve=Qe==null?void 0:Qe.data)==null?void 0:Ve.bucket,stsToken:(qe=Qe==null?void 0:Qe.data)==null?void 0:qe.security_token}),console.log(He,"file"),Fe(Oe);const Ue=He.name.split(".");Ue.pop();const Be=rt.indexOf(".")>-1?Ge.realFileName?Ue.join("."):(0,oe.Z)():rt;return new Promise((Ze,Te)=>{var We;try{Oe.multipartUpload(`${_e.identifier}/${Be}${rt.indexOf(".")>-1?"."+rt.split(".").pop():""}`,new Blob([He.file],{type:He.file.type}),{timeout:3600*1e3,partSize:1002400,progress:(at,et,Je)=>{try{console.log("\u8FDB\u5EA6",at,et,Je);const Ie=we.findIndex(xe=>xe.name===rt);we[Ie].file.percent=at*100,we[Ie].tempCheckpoint=et,Me([...we])}catch(Ie){}},checkpoint:we[we.findIndex(at=>at.name===rt)].tempCheckpoint,callback:{customValue:{id:rt+""},url:(We=Qe==null?void 0:Qe.data)==null?void 0:We.callback_url,host:Qe==null?void 0:Qe.data.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,pe.rz)(Ge)}}).then(function(at){var et,Je,Ie;const xe=we.findIndex(Re=>Re.name===rt);let De="done";if(((et=at.data)==null?void 0:et.status)===0){He.response=(Je=at.data)==null?void 0:Je.data;const Re=we.findIndex(Xe=>Xe.name===rt);we[Re].status="done",we[Re].file.status="done"}else E.ZP.warning((Ie=at.data)==null?void 0:Ie.message),De="error";we[xe].status=De,we[xe].file.status=De,_e.onChange(we),Ze(at==null?void 0:at.data)}).catch(function(at){we[we.findIndex(et=>et.name===rt)].status="error",we[we.findIndex(et=>et.name===rt)].file.status="error",E.ZP.warning("\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u5C1D\u8BD5"),Me([...we]),_e.onChange(we),Te(at),console.log("err:",at)})}catch(at){}})});return(0,ye.useEffect)(()=>{we.every(He=>He==="done"||He==="error")&&_e.onComplete(we)},[we]),(0,ye.useEffect)(()=>{Ce&&(Oe==null||Oe.cancel())},[Ce]),(0,ye.useEffect)(()=>{_e.uploading&&we.map(He=>le(void 0,null,function*(){var Ge;if((!He.status||He.status==="error")&&!Ce){He.status="uploading",He.file.status="uploading";const Ke=yield Ye(He,{login:(Ge=Ae==null?void 0:Ae.userInfo)==null?void 0:Ge.login,container_type:_e.container_type,container_id:_e.container_id,description:_e.description,realFileName:_e.realFileName})}}))},[_e.uploading]),ye.createElement(de,ee(b({},Le),{height:_e.height,className:_e.className}),ye.createElement("p",{className:"ant-upload-hint"},_e.text||"\u62D6\u62FD\u6587\u4EF6\u6216\u8005\u70B9\u51FB\u4E0A\u4F20"))};ot.ZP=(0,ie.connect)(({loading:Pe,globalSetting:Ee,user:Ae})=>({globalSetting:Ee,loading:Pe.models.competitions,user:Ae}))(ve)},85469:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Gt}});var ye=Se(59301),je=Se(50484),E=Se(15277),pe=Se(92310),he=Se.n(pe),ce=Se(92413),oe=Se(33708),ie=Se(400),ue=Se(33606),se=Se(39559),ae=Se(37061),re=Se(55468),ne=Se(18929),te=["crossOrigin","decoding","draggable","loading","referrerPolicy","sizes","srcSet","useMap","alt"],a=ye.createContext(null),y=0;function x(Tt,bt){var Ut=ye.useState(function(){return y+=1,String(y)}),Et=(0,ue.Z)(Ut,1),Lt=Et[0],Rt=ye.useContext(a),$t={data:bt,canPreview:Tt};return ye.useEffect(function(){if(Rt)return Rt.register(Lt,$t)},[]),ye.useEffect(function(){Rt&&Rt.register(Lt,$t)},[Tt,bt]),Lt}function b(Tt){return new Promise(function(bt){var Ut=document.createElement("img");Ut.onerror=function(){return bt(!1)},Ut.onload=function(){return bt(!0)},Ut.src=Tt})}function ee(Tt){var bt=Tt.src,Ut=Tt.isCustomPlaceholder,Et=Tt.fallback,Lt=(0,ye.useState)(Ut?"loading":"normal"),Rt=(0,ue.Z)(Lt,2),$t=Rt[0],rn=Rt[1],vn=(0,ye.useRef)(!1),bn=$t==="error";(0,ye.useEffect)(function(){b(bt).then(function(An){An||rn("error")})},[bt]),(0,ye.useEffect)(function(){Ut&&!vn.current?rn("loading"):bn&&rn("normal")},[bt]);var Cn=function(){rn("normal")},Pn=function(It){vn.current=!1,$t==="loading"&&It!=null&&It.complete&&(It.naturalWidth||It.naturalHeight)&&(vn.current=!0,Cn())},On=bn&&Et?{src:Et}:{onLoad:Cn,src:bt};return[Pn,On,$t]}var z=Se(86923),le=Se(8224),de=Se(10228),ge=Se(48736);function fe(Tt,bt,Ut,Et){var Lt=bt+Ut,Rt=(Ut-Et)/2;if(Ut>Et){if(bt>0)return(0,ie.Z)({},Tt,Rt);if(bt<0&&LtEt)return(0,ie.Z)({},Tt,bt<0?Rt:-Rt);return{}}function me(Tt,bt,Ut,Et){var Lt=(0,re.g1)(),Rt=Lt.width,$t=Lt.height,rn=null;return Tt<=Rt&&bt<=$t?rn={x:0,y:0}:(Tt>Rt||bt>$t)&&(rn=(0,oe.Z)((0,oe.Z)({},fe("x",Ut,Tt,Rt)),fe("y",Et,bt,$t))),rn}var be=Se(13697),ve=Se(16089),Pe={x:0,y:0,rotate:0,scale:1,flipX:!1,flipY:!1};function Ee(Tt,bt,Ut,Et){var Lt=(0,ye.useRef)(null),Rt=(0,ye.useRef)([]),$t=(0,ye.useState)(Pe),rn=(0,ue.Z)($t,2),vn=rn[0],bn=rn[1],Cn=function(It){bn(Pe),Et&&!(0,be.Z)(Pe,vn)&&Et({transform:Pe,action:It})},Pn=function(It,qn){Lt.current===null&&(Rt.current=[],Lt.current=(0,ve.Z)(function(){bn(function(Un){var zn=Un;return Rt.current.forEach(function(pn){zn=(0,oe.Z)((0,oe.Z)({},zn),pn)}),Lt.current=null,Et==null||Et({transform:zn,action:qn}),zn})})),Rt.current.push((0,oe.Z)((0,oe.Z)({},vn),It))},On=function(It,qn,Un,zn){var pn=Tt.current,Bt=pn.width,Wt=pn.height,on=pn.offsetWidth,Xt=pn.offsetHeight,En=pn.offsetLeft,Nn=pn.offsetTop,$n=It,Kn=vn.scale*It;Kn>Ut?($n=Ut/vn.scale,Kn=Ut):Kn1,vr=cr&&pn>=1,yr=Ee(hr,En,$n,fr),rr=yr.transform,Ir=yr.resetTransform,xr=yr.updateTransform,Or=yr.dispatchZoomChange,Dr=(0,ye.useState)(!0),ht=(0,ue.Z)(Dr,2),Dt=ht[0],Pt=ht[1],kt=rr.rotate,zt=rr.scale,Nt=rr.x,un=rr.y,en=he()((0,ie.Z)({},"".concat(Ut,"-moving"),ur));(0,ye.useEffect)(function(){Dt||Pt(!0)},[Dt]);var an=function(){Ir("close")},fn=function(){Or(Me+on,"zoomIn")},Jt=function(){Or(Me/(Me+on),"zoomOut")},Bn=function(){xr({rotate:kt+90},"rotateRight")},wn=function(){xr({rotate:kt-90},"rotateLeft")},Fn=function(){xr({flipX:!rr.flipX},"flipX")},Mn=function(){xr({flipY:!rr.flipY},"flipY")},Jn=function(Kt){Kt==null||Kt.preventDefault(),Kt==null||Kt.stopPropagation(),Un>0&&(Pt(!1),Ir("prev"),nr==null||nr(Un-1,Un))},ar=function(Kt){Kt==null||Kt.preventDefault(),Kt==null||Kt.stopPropagation(),Un0&&(Vn=Me/Vn),Or(Vn,"wheel",Kt.clientX,Kt.clientY)}},Lr=function(Kt){!bn||!sr||(Kt.keyCode===de.Z.LEFT?Jn():Kt.keyCode===de.Z.RIGHT&&ar())},Hn=function(Kt){bn&&(zt!==1?xr({x:0,y:0,scale:1},"doubleClick"):Or(Me+on,"doubleClick",Kt.clientX,Kt.clientY))};(0,ye.useEffect)(function(){var dn,Kt,_n,In;if(rn){_n=(0,le.Z)(window,"mouseup",wr,!1),In=(0,le.Z)(window,"mousemove",tr,!1);try{window.top!==window.self&&(dn=(0,le.Z)(window.top,"mouseup",wr,!1),Kt=(0,le.Z)(window.top,"mousemove",tr,!1))}catch(Vn){(0,ge.Kp)(!1,"[rc-image] ".concat(Vn))}}return function(){var Vn,Xn,Zn,br;(Vn=_n)===null||Vn===void 0||Vn.remove(),(Xn=In)===null||Xn===void 0||Xn.remove(),(Zn=dn)===null||Zn===void 0||Zn.remove(),(br=Kt)===null||br===void 0||br.remove()}},[bn,ur,Nt,un,kt,rn]),(0,ye.useEffect)(function(){var dn=(0,le.Z)(window,"keydown",Lr,!1);return function(){dn.remove()}},[bn,sr,Un]);var Ft=ye.createElement(Ye,(0,ce.Z)({},_r,{width:bt.width,height:bt.height,imgRef:hr,className:"".concat(Ut,"-img"),alt:Lt,style:{transform:"translate3d(".concat(rr.x,"px, ").concat(rr.y,"px, 0) scale3d(").concat(rr.flipX?"-":"").concat(zt,", ").concat(rr.flipY?"-":"").concat(zt,", 1) rotate(").concat(kt,"deg)"),transitionDuration:!Dt&&"0s"},fallback:Rt,src:Et,onWheel:or,onMouseDown:Cr,onDoubleClick:Hn}));return ye.createElement(ye.Fragment,null,ye.createElement(z.Z,(0,ce.Z)({transitionName:ir,maskTransitionName:dr,closable:!1,keyboard:!0,prefixCls:Ut,onClose:vn,visible:bn,wrapClassName:en,rootClassName:On,getContainer:It},gr,{afterClose:an}),ye.createElement("div",{className:"".concat(Ut,"-img-wrapper")},qt?qt(Ft,(0,oe.Z)({transform:rr},cr?{current:Un}:{})):Ft)),ye.createElement(we,{visible:bn,transform:rr,maskTransitionName:dr,closeIcon:An,getContainer:It,prefixCls:Ut,rootClassName:On,icons:Pn,countRender:Bt,showSwitch:sr,showProgress:vr,current:Un,count:pn,scale:zt,minScale:En,maxScale:$n,toolbarRender:Er,onSwitchLeft:Jn,onSwitchRight:ar,onZoomIn:fn,onZoomOut:Jt,onRotateRight:Bn,onRotateLeft:wn,onFlipX:Fn,onFlipY:Mn,onClose:vn}))},Ge=He,Ke=Se(26407);function ze(Tt){var bt=ye.useState({}),Ut=(0,ue.Z)(bt,2),Et=Ut[0],Lt=Ut[1],Rt=ye.useCallback(function(rn,vn){return Lt(function(bn){return(0,oe.Z)((0,oe.Z)({},bn),{},(0,ie.Z)({},rn,vn))}),function(){Lt(function(bn){var Cn=(0,oe.Z)({},bn);return delete Cn[rn],Cn})}},[]),$t=ye.useMemo(function(){return Tt?Tt.map(function(rn){if(typeof rn=="string")return{data:{src:rn}};var vn={};return Object.keys(rn).forEach(function(bn){["src"].concat((0,Ke.Z)(te)).includes(bn)&&(vn[bn]=rn[bn])}),{data:vn}}):Object.keys(Et).reduce(function(rn,vn){var bn=Et[vn],Cn=bn.canPreview,Pn=bn.data;return Cn&&rn.push({data:Pn,id:vn}),rn},[])},[Tt,Et]);return[$t,Rt]}var ke=["visible","onVisibleChange","getContainer","current","movable","minScale","maxScale","countRender","closeIcon","onChange","onTransform","toolbarRender","imageRender"],Ne=["src"],Ve=function(bt){var Ut,Et=bt.previewPrefixCls,Lt=Et===void 0?"rc-image-preview":Et,Rt=bt.children,$t=bt.icons,rn=$t===void 0?{}:$t,vn=bt.items,bn=bt.preview,Cn=bt.fallback,Pn=(0,se.Z)(bn)==="object"?bn:{},On=Pn.visible,An=Pn.onVisibleChange,It=Pn.getContainer,qn=Pn.current,Un=Pn.movable,zn=Pn.minScale,pn=Pn.maxScale,Bt=Pn.countRender,Wt=Pn.closeIcon,on=Pn.onChange,Xt=Pn.onTransform,En=Pn.toolbarRender,Nn=Pn.imageRender,$n=(0,ae.Z)(Pn,ke),Kn=ze(vn),ir=(0,ue.Z)(Kn,2),Pr=ir[0],dr=ir[1],qt=(0,ne.Z)(0,{value:qn}),_r=(0,ue.Z)(qt,2),Er=_r[0],fr=_r[1],nr=(0,ye.useState)(!1),gr=(0,ue.Z)(nr,2),hr=gr[0],mr=gr[1],kn=((Ut=Pr[Er])===null||Ut===void 0?void 0:Ut.data)||{},er=kn.src,ur=(0,ae.Z)(kn,Ne),Yn=(0,ne.Z)(!!On,{value:On,onChange:function(kt,zt){An==null||An(kt,zt,Er)}}),cr=(0,ue.Z)(Yn,2),sr=cr[0],vr=cr[1],yr=(0,ye.useState)(null),rr=(0,ue.Z)(yr,2),Ir=rr[0],xr=rr[1],Or=ye.useCallback(function(Pt,kt,zt){var Nt=Pr.findIndex(function(un){return un.id===Pt});vr(!0),xr({x:kt,y:zt}),fr(Nt<0?0:Nt),mr(!0)},[Pr]);ye.useEffect(function(){sr?hr||fr(0):mr(!1)},[sr]);var Dr=function(kt,zt){fr(kt),on==null||on(kt,zt)},ht=function(){vr(!1),xr(null)},Dt=ye.useMemo(function(){return{register:dr,onPreview:Or}},[dr,Or]);return ye.createElement(a.Provider,{value:Dt},Rt,ye.createElement(Ge,(0,ce.Z)({"aria-hidden":!sr,movable:Un,visible:sr,prefixCls:Lt,closeIcon:Wt,onClose:ht,mousePosition:Ir,imgCommonProps:ur,src:er,fallback:Cn,icons:rn,minScale:zn,maxScale:pn,getContainer:It,current:Er,count:Pr.length,countRender:Bt,onTransform:Xt,toolbarRender:En,imageRender:Nn,onChange:Dr},$n)))},qe=Ve,rt=["src","alt","onPreviewClose","prefixCls","previewPrefixCls","placeholder","fallback","width","height","style","preview","className","onClick","onError","wrapperClassName","wrapperStyle","rootClassName"],Qe=["src","visible","onVisibleChange","getContainer","mask","maskClassName","movable","icons","scaleStep","minScale","maxScale","imageRender","toolbarRender"],Ue=function(bt){var Ut=bt.src,Et=bt.alt,Lt=bt.onPreviewClose,Rt=bt.prefixCls,$t=Rt===void 0?"rc-image":Rt,rn=bt.previewPrefixCls,vn=rn===void 0?"".concat($t,"-preview"):rn,bn=bt.placeholder,Cn=bt.fallback,Pn=bt.width,On=bt.height,An=bt.style,It=bt.preview,qn=It===void 0?!0:It,Un=bt.className,zn=bt.onClick,pn=bt.onError,Bt=bt.wrapperClassName,Wt=bt.wrapperStyle,on=bt.rootClassName,Xt=(0,ae.Z)(bt,rt),En=bn&&bn!==!0,Nn=(0,se.Z)(qn)==="object"?qn:{},$n=Nn.src,Kn=Nn.visible,ir=Kn===void 0?void 0:Kn,Pr=Nn.onVisibleChange,dr=Pr===void 0?Lt:Pr,qt=Nn.getContainer,_r=qt===void 0?void 0:qt,Er=Nn.mask,fr=Nn.maskClassName,nr=Nn.movable,gr=Nn.icons,hr=Nn.scaleStep,mr=Nn.minScale,kn=Nn.maxScale,er=Nn.imageRender,ur=Nn.toolbarRender,Yn=(0,ae.Z)(Nn,Qe),cr=$n!=null?$n:Ut,sr=(0,ne.Z)(!!ir,{value:ir,onChange:dr}),vr=(0,ue.Z)(sr,2),yr=vr[0],rr=vr[1],Ir=ee({src:Ut,isCustomPlaceholder:En,fallback:Cn}),xr=(0,ue.Z)(Ir,3),Or=xr[0],Dr=xr[1],ht=xr[2],Dt=(0,ye.useState)(null),Pt=(0,ue.Z)(Dt,2),kt=Pt[0],zt=Pt[1],Nt=(0,ye.useContext)(a),un=!!qn,en=function(){rr(!1),zt(null)},an=he()($t,Bt,on,(0,ie.Z)({},"".concat($t,"-error"),ht==="error")),fn=(0,ye.useMemo)(function(){var Fn={};return te.forEach(function(Mn){bt[Mn]!==void 0&&(Fn[Mn]=bt[Mn])}),Fn},te.map(function(Fn){return bt[Fn]})),Jt=(0,ye.useMemo)(function(){return(0,oe.Z)((0,oe.Z)({},fn),{},{src:cr})},[cr,fn]),Bn=x(un,Jt),wn=function(Mn){var Jn=(0,re.os)(Mn.target),ar=Jn.left,wr=Jn.top;Nt?Nt.onPreview(Bn,ar,wr):(zt({x:ar,y:wr}),rr(!0)),zn==null||zn(Mn)};return ye.createElement(ye.Fragment,null,ye.createElement("div",(0,ce.Z)({},Xt,{className:an,onClick:un?wn:zn,style:(0,oe.Z)({width:Pn,height:On},Wt)}),ye.createElement("img",(0,ce.Z)({},fn,{className:he()("".concat($t,"-img"),(0,ie.Z)({},"".concat($t,"-img-placeholder"),bn===!0),Un),style:(0,oe.Z)({height:On},An),ref:Or},Dr,{width:Pn,height:On,onError:pn})),ht==="loading"&&ye.createElement("div",{"aria-hidden":"true",className:"".concat($t,"-placeholder")},bn),Er&&un&&ye.createElement("div",{className:he()("".concat($t,"-mask"),fr),style:{display:(An==null?void 0:An.display)==="none"?"none":void 0}},Er)),!Nt&&un&&ye.createElement(Ge,(0,ce.Z)({"aria-hidden":!yr,visible:yr,prefixCls:vn,onClose:en,mousePosition:kt,src:cr,alt:Et,fallback:Cn,getContainer:_r,icons:gr,movable:nr,scaleStep:hr,minScale:mr,maxScale:kn,rootClassName:on,imageRender:er,imgCommonProps:fn,toolbarRender:ur},Yn)))};Ue.PreviewGroup=qe,Ue.displayName="Image";var Be=Ue,Ze=Be,Te=Se(62892),We=Se(36355),at=Se(31724),et=Se(99267),Je=Se(33853),Ie=Se(38819),xe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z"}},{tag:"path",attrs:{d:"M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z"}}]},name:"rotate-left",theme:"outlined"},De=xe,Re=Se(7657),Xe=function(bt,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},bt,{ref:Ut,icon:De}))},nt=ye.forwardRef(Xe),$e=nt,tt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z"}},{tag:"path",attrs:{d:"M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z"}}]},name:"rotate-right",theme:"outlined"},st=tt,it=function(bt,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},bt,{ref:Ut,icon:st}))},lt=ye.forwardRef(it),ut=lt,pt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"swap",theme:"outlined"},vt=pt,mt=function(bt,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},bt,{ref:Ut,icon:vt}))},St=ye.forwardRef(mt),_t=St,Mt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-in",theme:"outlined"},yt=Mt,wt=function(bt,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},bt,{ref:Ut,icon:yt}))},xt=ye.forwardRef(wt),cn=xt,Vt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z"}}]},name:"zoom-out",theme:"outlined"},sn=Vt,Zt=function(bt,Ut){return ye.createElement(Re.Z,(0,ce.Z)({},bt,{ref:Ut,icon:sn}))},nn=ye.forwardRef(Zt),Ht=nn,ln=Se(64993),Tn=Se(73819),Sn=Se(17313),Ln=Se(29878),yn=Se(1950),mn=Se(83116),Ct=Se(37613);const Ot=Tt=>({position:Tt||"absolute",inset:0}),At=Tt=>{const{iconCls:bt,motionDurationSlow:Ut,paddingXXS:Et,marginXXS:Lt,prefixCls:Rt,colorTextLightSolid:$t}=Tt;return{position:"absolute",inset:0,display:"flex",alignItems:"center",justifyContent:"center",color:$t,background:new ln.C("#000").setAlpha(.5).toRgbString(),cursor:"pointer",opacity:0,transition:`opacity ${Ut}`,[`.${Rt}-mask-info`]:Object.assign(Object.assign({},Sn.vS),{padding:`0 ${Et}px`,[bt]:{marginInlineEnd:Lt,svg:{verticalAlign:"baseline"}}})}},tn=Tt=>{const{previewCls:bt,modalMaskBg:Ut,paddingSM:Et,marginXL:Lt,margin:Rt,paddingLG:$t,previewOperationColorDisabled:rn,previewOperationHoverColor:vn,motionDurationSlow:bn,iconCls:Cn,colorTextLightSolid:Pn}=Tt,On=new ln.C(Ut).setAlpha(.1),An=On.clone().setAlpha(.2);return{[`${bt}-footer`]:{position:"fixed",bottom:Lt,left:{_skip_check_:!0,value:0},width:"100%",display:"flex",flexDirection:"column",alignItems:"center",color:Tt.previewOperationColor},[`${bt}-progress`]:{marginBottom:Rt},[`${bt}-close`]:{position:"fixed",top:Lt,right:{_skip_check_:!0,value:Lt},display:"flex",color:Pn,backgroundColor:On.toRgbString(),borderRadius:"50%",padding:Et,outline:0,border:0,cursor:"pointer",transition:`all ${bn}`,"&:hover":{backgroundColor:An.toRgbString()},[`& > ${Cn}`]:{fontSize:Tt.previewOperationSize}},[`${bt}-operations`]:{display:"flex",alignItems:"center",padding:`0 ${$t}px`,backgroundColor:On.toRgbString(),borderRadius:100,"&-operation":{marginInlineStart:Et,padding:Et,cursor:"pointer",transition:`all ${bn}`,userSelect:"none",[`&:not(${bt}-operations-operation-disabled):hover > ${Cn}`]:{color:vn},"&-disabled":{color:rn,cursor:"not-allowed"},"&:first-of-type":{marginInlineStart:0},[`& > ${Cn}`]:{fontSize:Tt.previewOperationSize}}}}},gn=Tt=>{const{modalMaskBg:bt,iconCls:Ut,previewOperationColorDisabled:Et,previewCls:Lt,zIndexPopup:Rt,motionDurationSlow:$t}=Tt,rn=new ln.C(bt).setAlpha(.1),vn=rn.clone().setAlpha(.2);return{[`${Lt}-switch-left, ${Lt}-switch-right`]:{position:"fixed",insetBlockStart:"50%",zIndex:Rt+1,display:"flex",alignItems:"center",justifyContent:"center",width:Tt.imagePreviewSwitchSize,height:Tt.imagePreviewSwitchSize,marginTop:-Tt.imagePreviewSwitchSize/2,color:Tt.previewOperationColor,background:rn.toRgbString(),borderRadius:"50%",transform:"translateY(-50%)",cursor:"pointer",transition:`all ${$t}`,userSelect:"none","&:hover":{background:vn.toRgbString()},"&-disabled":{"&, &:hover":{color:Et,background:"transparent",cursor:"not-allowed",[`> ${Ut}`]:{cursor:"not-allowed"}}},[`> ${Ut}`]:{fontSize:Tt.previewOperationSize}},[`${Lt}-switch-left`]:{insetInlineStart:Tt.marginSM},[`${Lt}-switch-right`]:{insetInlineEnd:Tt.marginSM}}},dt=Tt=>{const{motionEaseOut:bt,previewCls:Ut,motionDurationSlow:Et,componentCls:Lt}=Tt;return[{[`${Lt}-preview-root`]:{[Ut]:{height:"100%",textAlign:"center",pointerEvents:"none"},[`${Ut}-body`]:Object.assign(Object.assign({},Ot()),{overflow:"hidden"}),[`${Ut}-img`]:{maxWidth:"100%",maxHeight:"70%",verticalAlign:"middle",transform:"scale3d(1, 1, 1)",cursor:"grab",transition:`transform ${Et} ${bt} 0s`,userSelect:"none","&-wrapper":Object.assign(Object.assign({},Ot()),{transition:`transform ${Et} ${bt} 0s`,display:"flex",justifyContent:"center",alignItems:"center","& > *":{pointerEvents:"auto"},"&::before":{display:"inline-block",width:1,height:"50%",marginInlineEnd:-1,content:'""'}})},[`${Ut}-moving`]:{[`${Ut}-preview-img`]:{cursor:"grabbing","&-wrapper":{transitionDuration:"0s"}}}}},{[`${Lt}-preview-root`]:{[`${Ut}-wrap`]:{zIndex:Tt.zIndexPopup}}},{[`${Lt}-preview-operations-wrapper`]:{position:"fixed",zIndex:Tt.zIndexPopup+1},"&":[tn(Tt),gn(Tt)]}]},gt=Tt=>{const{componentCls:bt}=Tt;return{[bt]:{position:"relative",display:"inline-block",[`${bt}-img`]:{width:"100%",height:"auto",verticalAlign:"middle"},[`${bt}-img-placeholder`]:{backgroundColor:Tt.colorBgContainerDisabled,backgroundImage:"url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMTQuNSAyLjVoLTEzQS41LjUgMCAwIDAgMSAzdjEwYS41LjUgMCAwIDAgLjUuNWgxM2EuNS41IDAgMCAwIC41LS41VjNhLjUuNSAwIDAgMC0uNS0uNXpNNS4yODEgNC43NWExIDEgMCAwIDEgMCAyIDEgMSAwIDAgMSAwLTJ6bTguMDMgNi44M2EuMTI3LjEyNyAwIDAgMS0uMDgxLjAzSDIuNzY5YS4xMjUuMTI1IDAgMCAxLS4wOTYtLjIwN2wyLjY2MS0zLjE1NmEuMTI2LjEyNiAwIDAgMSAuMTc3LS4wMTZsLjAxNi4wMTZMNy4wOCAxMC4wOWwyLjQ3LTIuOTNhLjEyNi4xMjYgMCAwIDEgLjE3Ny0uMDE2bC4wMTUuMDE2IDMuNTg4IDQuMjQ0YS4xMjcuMTI3IDAgMCAxLS4wMi4xNzV6IiBmaWxsPSIjOEM4QzhDIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48L3N2Zz4=')",backgroundRepeat:"no-repeat",backgroundPosition:"center center",backgroundSize:"30%"},[`${bt}-mask`]:Object.assign({},At(Tt)),[`${bt}-mask:hover`]:{opacity:1},[`${bt}-placeholder`]:Object.assign({},Ot())}}},ft=Tt=>{const{previewCls:bt}=Tt;return{[`${bt}-root`]:(0,Ln._y)(Tt,"zoom"),"&":(0,yn.J$)(Tt,!0)}};var jt=(0,mn.Z)("Image",Tt=>{const bt=`${Tt.componentCls}-preview`,Ut=(0,Ct.TS)(Tt,{previewCls:bt,modalMaskBg:new ln.C("#000").setAlpha(.45).toRgbString(),imagePreviewSwitchSize:Tt.controlHeightLG});return[gt(Ut),dt(Ut),(0,Tn.QA)((0,Ct.TS)(Ut,{componentCls:bt})),ft(Ut)]},Tt=>({zIndexPopup:Tt.zIndexPopupBase+80,previewOperationColor:new ln.C(Tt.colorTextLightSolid).setAlpha(.65).toRgbString(),previewOperationHoverColor:new ln.C(Tt.colorTextLightSolid).setAlpha(.85).toRgbString(),previewOperationColorDisabled:new ln.C(Tt.colorTextLightSolid).setAlpha(.25).toRgbString(),previewOperationSize:Tt.fontSizeIcon*1.5})),Yt=function(Tt,bt){var Ut={};for(var Et in Tt)Object.prototype.hasOwnProperty.call(Tt,Et)&&bt.indexOf(Et)<0&&(Ut[Et]=Tt[Et]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Et=Object.getOwnPropertySymbols(Tt);Lt{var{previewPrefixCls:bt,preview:Ut}=Tt,Et=Yt(Tt,["previewPrefixCls","preview"]);const{getPrefixCls:Lt}=ye.useContext(We.E_),Rt=Lt("image",bt),$t=`${Rt}-preview`,rn=Lt(),[vn,bn]=jt(Rt),Cn=ye.useMemo(()=>{var Pn;if(Ut===!1)return Ut;const On=typeof Ut=="object"?Ut:{},An=he()(bn,(Pn=On.rootClassName)!==null&&Pn!==void 0?Pn:"");return Object.assign(Object.assign({},On),{transitionName:(0,Te.m)(rn,"zoom",On.transitionName),maskTransitionName:(0,Te.m)(rn,"fade",On.maskTransitionName),rootClassName:An})},[Ut]);return vn(ye.createElement(Ze.PreviewGroup,Object.assign({preview:Cn,previewPrefixCls:$t,icons:Qt},Et)))},Rn=function(Tt,bt){var Ut={};for(var Et in Tt)Object.prototype.hasOwnProperty.call(Tt,Et)&&bt.indexOf(Et)<0&&(Ut[Et]=Tt[Et]);if(Tt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Lt=0,Et=Object.getOwnPropertySymbols(Tt);Lt{const{prefixCls:bt,preview:Ut,className:Et,rootClassName:Lt,style:Rt}=Tt,$t=Rn(Tt,["prefixCls","preview","className","rootClassName","style"]),{getPrefixCls:rn,locale:vn=at.Z,getPopupContainer:bn,image:Cn}=ye.useContext(We.E_),Pn=rn("image",bt),On=rn(),An=vn.Image||at.Z.Image,[It,qn]=jt(Pn),Un=he()(Lt,qn),zn=he()(Et,qn,Cn==null?void 0:Cn.className),pn=ye.useMemo(()=>{if(Ut===!1)return Ut;const Wt=typeof Ut=="object"?Ut:{},{getContainer:on}=Wt,Xt=Rn(Wt,["getContainer"]);return Object.assign(Object.assign({mask:ye.createElement("div",{className:`${Pn}-mask-info`},ye.createElement(E.Z,null),An==null?void 0:An.preview),icons:Qt},Xt),{getContainer:on||bn,transitionName:(0,Te.m)(On,"zoom",Wt.transitionName),maskTransitionName:(0,Te.m)(On,"fade",Wt.maskTransitionName)})},[Ut,An]),Bt=Object.assign(Object.assign({},Cn==null?void 0:Cn.style),Rt);return It(ye.createElement(Ze,Object.assign({prefixCls:Pn,preview:pn,rootClassName:Un,className:zn,style:Bt},$t)))};Wn.PreviewGroup=hn;var lr=Wn,Gt=()=>{const[Tt,bt]=(0,ye.useState)(""),[Ut,Et]=(0,ye.useState)(0);let[Lt,Rt]=(0,ye.useState)(),[$t,rn]=(0,ye.useState)();const[vn,bn]=(0,ye.useState)(!1),Cn=(0,ye.useRef)("");(0,ye.useEffect)(()=>je.Z.subscribe("preview-image",on=>{bt(on),console.log(pn.current),document.body.style.overflow="hidden"}),[]),(0,ye.useEffect)(()=>(document.addEventListener("keydown",Pn),()=>{document.removeEventListener("keydown",Pn)}),[]),(0,ye.useEffect)(()=>{Cn.current=Tt},[Tt]);function Pn(Wt){Wt.keyCode==27&&Cn.current&&On()}function On(){document.body.style.overflow="auto",Rt(void 0),rn(void 0),Et(0),bt("")}function An(){Et(Ut+90)}function It(){Lt=pn.current.width*1.1,$t=pn.current.height*1.1,rn($t),Rt(Lt)}function qn(){Lt=pn.current.width/1.1,$t=pn.current.height/1.1,rn($t),Rt(Lt)}const Un=(0,ye.useRef)(),zn=(0,ye.useRef)(),pn=(0,ye.useRef)(),Bt=Wt=>{(Wt.nativeEvent.target===Un.current||Wt.nativeEvent.target===zn.current)&&On()};return ye.createElement(ye.Fragment,null,Tt?ye.createElement("div",null,ye.createElement("div",{className:"preview-wrp-group",ref:zn},ye.createElement(lr,{className:"image-preview",src:Tt,style:{display:"none"},preview:{visible:!0,src:Tt,movable:!1,onVisibleChange:Wt=>{bt("")}},alt:"\u9884\u89C8\u5927\u56FE"}))):null)}},73278:function(ct,ot,Se){"use strict";Se.d(ot,{h:function(){return le}});var ye=Se(59301),je=Se(57809),E=Se(78241),pe=Se(3113),he=Se(89780),ce=Se.n(he),oe=Se(78780),ie=Se(19136),ue=Object.defineProperty,se=Object.defineProperties,ae=Object.getOwnPropertyDescriptors,re=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,te=Object.prototype.propertyIsEnumerable,a=(de,ge,fe)=>ge in de?ue(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):de[ge]=fe,y=(de,ge)=>{for(var fe in ge||(ge={}))ne.call(ge,fe)&&a(de,fe,ge[fe]);if(re)for(var fe of re(ge))te.call(ge,fe)&&a(de,fe,ge[fe]);return de},x=(de,ge)=>se(de,ae(ge));const b=je.default.Option,ee={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};ot.Z=({callback:de,onCancel:ge})=>{const[fe,me]=(0,ye.useState)("python");function be(Pe){me(z[Pe][1])}function ve(Pe){de(Pe)}return ye.createElement(E.default,x(y({},ee),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ve,style:{width:500}}),ye.createElement(E.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ye.createElement(je.default,{getPopupContainer:Pe=>Pe.parentNode,onChange:be},Object.keys(z).map(Pe=>ye.createElement(b,{key:Pe,value:Pe},z[Pe][0])))),ye.createElement(E.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ye.createElement(le,{mode:fe})),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(pe.ZP,{type:"ghost",onClick:ge},"\u53D6\u6D88")))};function le({value:de,onChange:ge,mode:fe,options:me={}}){const be=(0,ye.useRef)(),[ve,Pe]=(0,ye.useState)();return(0,ye.useEffect)(()=>{if(ve){let Ee=function(Ae){const Ce=Ae.getValue();ge&&ge(Ce)};return ve.on("change",Ee),()=>{ve.off("change",Ee)}}},[ve,ge]),(0,ye.useEffect)(()=>{ve&&ve.setOption("mode",fe)},[ve,fe]),(0,ye.useEffect)(()=>{ve&&(de!==ve.getValue()||de==="")&&setTimeout(()=>{ve.setValue(de||"")},300)},[ve,de]),(0,ye.useEffect)(()=>{if(be.current&&!ve){const Ee=ce().fromTextArea(be.current,y({mode:fe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},me));Pe(Ee)}},[be.current,ve]),ye.createElement("div",{className:"my-codemirror-container"},ye.createElement("textarea",{ref:be}))}},64726:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return gn}});var ye=Se(59301),je=Se(89780),E=Se.n(je),pe=Se(76374),he=Se(78780),ce=Se(6313),oe=Se(25717),ie=Se(99498),ue=Se(25419),se=Se(67549),ae=Se(99325),re=({value:dt="",className:gt,showTextOnly:ft,showLines:jt,style:Yt={}})=>{const Qt=(0,ye.useMemo)(()=>"",[dt]);return ye.createElement(ye.Fragment,null,ye.createElement("div",{dangerouslySetInnerHTML:{__html:Qt}}))},ne=Se(59301),te=Object.defineProperty,a=Object.defineProperties,y=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,z=(dt,gt,ft)=>gt in dt?te(dt,gt,{enumerable:!0,configurable:!0,writable:!0,value:ft}):dt[gt]=ft,le=(dt,gt)=>{for(var ft in gt||(gt={}))b.call(gt,ft)&&z(dt,ft,gt[ft]);if(x)for(var ft of x(gt))ee.call(gt,ft)&&z(dt,ft,gt[ft]);return dt},de=(dt,gt)=>a(dt,y(gt));let ge=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function fe({onActionCallback:dt,title:gt,icon:ft,actionName:jt,className:Yt="",children:Qt}){function jn(){dt(jt)}return ne.createElement("a",{title:gt,className:Yt,onClick:jn},ne.createElement("i",{className:`${ft}`}),Qt)}var me=({watch:dt,showNullButton:gt,showNullProgramButton:ft,onActionCallback:jt,fullScreen:Yt,insertTemp:Qt,hidetoolBar:jn,extraUse:hn})=>{const Rn=[...ge,{title:`${dt?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${dt?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return ne.createElement("ul",{className:"markdown-toolbar-container"},!jn&&Rn.map((Wn,lr)=>ne.createElement("li",{key:lr},Wn.actionName?ne.createElement(fe,de(le({},Wn),{onActionCallback:jt})):ne.createElement("span",{className:"v-line"}))),gt?ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:jt},ne.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,ft?ne.createElement(ne.Fragment,null,ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:jt},ne.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:jt},ne.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Qt&&ne.createElement("li",null,ne.createElement(fe,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Qt}`,onActionCallback:jt},ne.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),hn&&ne.createElement("li",null,hn),ne.createElement("li",{className:"btn-full-screen"},ne.createElement(fe,{icon:`${Yt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Yt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:jt})))},be=Se(19647),ve=Se(78241),Pe=Se(92832),Ee=Se(3113),Ae=Object.defineProperty,Ce=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,we=Object.getOwnPropertySymbols,Me=Object.prototype.hasOwnProperty,Oe=Object.prototype.propertyIsEnumerable,Fe=(dt,gt,ft)=>gt in dt?Ae(dt,gt,{enumerable:!0,configurable:!0,writable:!0,value:ft}):dt[gt]=ft,Le=(dt,gt)=>{for(var ft in gt||(gt={}))Me.call(gt,ft)&&Fe(dt,ft,gt[ft]);if(we)for(var ft of we(gt))Oe.call(gt,ft)&&Fe(dt,ft,gt[ft]);return dt},Ye=(dt,gt)=>Ce(dt,_e(gt));const He={labelCol:{span:4},wrapperCol:{span:20}};var Ge=({callback:dt,onCancel:gt})=>{function ft(jt){dt(jt)}return ye.createElement(ve.default,Ye(Le({},He),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:ft,style:{width:500}}),ye.createElement(ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ye.createElement(Pe.default,null)),ye.createElement(ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ye.createElement(Pe.default,null)),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Ee.ZP,{type:"ghost",onClick:gt},"\u53D6\u6D88")))},Ke=Se(73278),ze=Se(56030),ke=Se(43418),Ne=Se(95237),Ve=Se(14573),qe=Se(59301),rt=({callback:dt,onCancel:gt})=>{const ft=document.createElement("canvas"),jt=ft.getContext("2d");ft.width=1e3,ft.height=800,jt.fillStyle="#ffffff",jt.fillRect(0,0,ft.width,ft.height);const Yt=ft.toDataURL("image/png");return qe.createElement(ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},qe.createElement(Ne.Z,{style:{height:"100vh"}},qe.createElement(Ve.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Yt,visible:!0,title:String(Date.now())},onOk:Qt=>{dt({src:Qt.url})},onClose:gt})))},Qe=Se(12378);function Ue(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(Ue,go.CommandHandler),Ue.prototype.canAlignSelection=function(){var dt=this.diagram;return!(dt===null||dt.isReadOnly||dt.isModelReadOnly||dt.selection.count<2)},Ue.prototype.alignLeft=function(){var dt=this.diagram;dt.startTransaction("aligning left");var gt=1/0;dt.selection.each(function(ft){ft instanceof go.Link||(gt=Math.min(ft.position.x,gt))}),dt.selection.each(function(ft){ft instanceof go.Link||ft.move(new go.Point(gt,ft.position.y))}),dt.commitTransaction("aligning left")},Ue.prototype.alignRight=function(){var dt=this.diagram;dt.startTransaction("aligning right");var gt=-1/0;dt.selection.each(function(ft){if(!(ft instanceof go.Link)){var jt=ft.actualBounds.x+ft.actualBounds.width;gt=Math.max(jt,gt)}}),dt.selection.each(function(ft){ft instanceof go.Link||ft.move(new go.Point(gt-ft.actualBounds.width,ft.position.y))}),dt.commitTransaction("aligning right")},Ue.prototype.alignTop=function(){var dt=this.diagram;dt.startTransaction("alignTop");var gt=1/0;dt.selection.each(function(ft){ft instanceof go.Link||(gt=Math.min(ft.position.y,gt))}),dt.selection.each(function(ft){ft instanceof go.Link||ft.move(new go.Point(ft.position.x,gt))}),dt.commitTransaction("alignTop")},Ue.prototype.alignBottom=function(){var dt=this.diagram;dt.startTransaction("aligning bottom");var gt=-1/0;dt.selection.each(function(ft){if(!(ft instanceof go.Link)){var jt=ft.actualBounds.y+ft.actualBounds.height;gt=Math.max(jt,gt)}}),dt.selection.each(function(ft){ft instanceof go.Link||ft.move(new go.Point(ft.actualBounds.x,gt-ft.actualBounds.height))}),dt.commitTransaction("aligning bottom")},Ue.prototype.alignCenterX=function(){var dt=this.diagram,gt=dt.selection.first();if(gt){dt.startTransaction("aligning Center X");var ft=gt.actualBounds.x+gt.actualBounds.width/2;dt.selection.each(function(jt){jt instanceof go.Link||jt.move(new go.Point(ft-jt.actualBounds.width/2,jt.actualBounds.y))}),dt.commitTransaction("aligning Center X")}},Ue.prototype.alignCenterY=function(){var dt=this.diagram,gt=dt.selection.first();if(gt){dt.startTransaction("aligning Center Y");var ft=gt.actualBounds.y+gt.actualBounds.height/2;dt.selection.each(function(jt){jt instanceof go.Link||jt.move(new go.Point(jt.actualBounds.x,ft-jt.actualBounds.height/2))}),dt.commitTransaction("aligning Center Y")}},Ue.prototype.alignColumn=function(dt){var gt=this.diagram;gt.startTransaction("align Column"),dt===void 0&&(dt=0),dt=parseFloat(dt);var ft=new Array;gt.selection.each(function(hn){hn instanceof go.Link||ft.push(hn)});for(var jt=0;jt0){for(var hn=Qt.elt(jn-1);hn!==null&&hn.isTreeExpanded&&!hn.isTreeLeaf;){var Rn=this._sortTreeChildrenByY(hn);hn=Rn.last()}hn!==null&&dt.select(hn)}else dt.select(Yt)}}else if(ft.key==="Down")if(gt.isTreeExpanded&&!gt.isTreeLeaf){var jt=this._sortTreeChildrenByY(gt).first();jt!==null&&dt.select(jt)}else for(;gt!==null;){var Yt=gt.findTreeParentNode();if(Yt===null)break;var Qt=this._sortTreeChildrenByY(Yt),jn=Qt.indexOf(gt);if(jnQt.y?1:Yt.xQt.x?1:0}),gt},Ue.prototype.copyToClipboard=function(dt){go.CommandHandler.prototype.copyToClipboard.call(this,dt),this._lastPasteOffset.set(this.pasteOffset)},Ue.prototype.pasteFromClipboard=function(){var dt=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(dt,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),dt},Object.defineProperty(Ue.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(dt){if(dt!=="move"&&dt!=="select"&&dt!=="scroll"&&dt!=="tree"&&dt!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+dt);this._arrowKeyBehavior=dt}}),Object.defineProperty(Ue.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(dt){if(!(dt instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+dt);this._pasteOffset.set(dt)}});var Be=Ue,Ze=Se(29277),Te=Se(43604),We=Se(7660),at={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},et=Se(59301),Je=(dt,gt,ft)=>new Promise((jt,Yt)=>{var Qt=Rn=>{try{hn(ft.next(Rn))}catch(Wn){Yt(Wn)}},jn=Rn=>{try{hn(ft.throw(Rn))}catch(Wn){Yt(Wn)}},hn=Rn=>Rn.done?jt(Rn.value):Promise.resolve(Rn.value).then(Qt,jn);hn((ft=ft.apply(dt,gt)).next())});function Ie({onCancel:dt,callback:gt}){let ft=(0,ye.useRef)(),jt=(0,ye.useRef)(),Yt=(0,ye.useRef)(),Qt=(0,ye.useRef)(!1);const jn=(0,ye.useRef)(!1),[hn,Rn]=(0,ye.useState)(0);function Wn(){const Gt=Qe.bx.make,Tt={red:"#ff3333",blue:"#3358ff",green:"#25ad23",magenta:"#d533ff",purple:"#7d33ff",orange:"#ff6233",brown:"#8e571e",white:"#ffffff",black:"#000000",beige:"#fffcd5",extralightblue:"#d5ebff",extralightred:"#f2dfe0",lightblue:"#a5d2fa",lightgray:"#cccccc",lightgreen:"#b3e6b3",lightred:"#fcbbbd"};ft.current=new Qe.S0(jt.current,{padding:20,grid:Gt(Qe.s_,"Grid",Gt(Qe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Gt(Qe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Bt=>{var Wt=Bt.diagram.commandHandler.addTopLevelParts(Bt.diagram.selection,!0);Wt||Bt.diagram.currentTool.doCancel()},commandHandler:Gt(Be),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Bt=>{var Wt=Bt.subject;Wt.location=Wt.location.copy().snapToGridPoint(Bt.diagram.grid.gridOrigin,Bt.diagram.grid.gridCellSize),setTimeout(()=>{Bt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Bt=>{var Wt=Bt.subject;setTimeout(()=>{Bt.diagram.commandHandler.editTextBlock()})},LinkRelinked:Bt=>{var Wt=Bt.parameter.part;Wt.invalidateConnectedLinks();var on=Bt.subject;Bt.diagram.toolManager.linkingTool.isForwards?on.toNode.invalidateConnectedLinks():on.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),ft.current.nodeTemplate=Gt(Qe.NB,"Auto",{locationSpot:Qe.z6.Center,locationObjectName:"SHAPE",desiredSize:new Qe.$u(120,60),minSize:new Qe.$u(40,40),resizable:!0,resizeCellSize:new Qe.$u(10,10),rotatable:!0},new Qe.KX("location","loc",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),new Qe.KX("desiredSize","size",Qe.$u.parse).makeTwoWay(Qe.$u.stringify),Gt(Qe.bn,{name:"SHAPE",fill:Tt.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Qe.z6.AllSides,toSpot:Qe.z6.AllSides},new Qe.KX("figure"),new Qe.KX("fill"),new Qe.KX("stroke","borderColor"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),Gt(Qe.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Gt(Qe.al,{margin:1,textAlign:"center",overflow:Qe.al.OverflowEllipsis,editable:!0},new Qe.KX("text").makeTwoWay(),new Qe.KX("stroke","color"))),ft.current.nodeTemplate.toolTip=Gt("ToolTip",Gt(Qe.s_,"Vertical",{maxSize:new Qe.$u(200,NaN)},Gt(Qe.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Qe.KX("text")),Gt(Qe.al,{font:"10pt sans-serif",textAlign:"center"},new Qe.KX("text","details"))));function bt(Bt,Wt){var on=(Xt,En)=>{Xt.handled=!0,Xt.diagram.model.commit(Nn=>{var $n=En.part.adornedPart,Kn=new Qe.E9().setRectSpot($n.actualBounds,Bt);Kn.subtract($n.location),Kn.scale(2,2),Kn.x+=Math.sign(Kn.x)*130,Kn.y+=Math.sign(Kn.y)*130,Kn.add($n.location),Kn.snapToGridPoint(Xt.diagram.grid.gridOrigin,Xt.diagram.grid.gridCellSize);var ir=Nn.copyNodeData($n.data);Nn.setGroupKeyForNodeData(ir,Nn.getGroupKeyForNodeData($n.data)),Nn.addNodeData(ir);var Pr={from:$n.key,to:Nn.getKeyForNodeData(ir)};Nn.addLinkData(Pr);var dr=Xt.diagram.findNodeForData(ir);dr.location=Kn,Xt.diagram.select(dr),setTimeout(()=>{Xt.diagram.commandHandler.editTextBlock()},20)})};return Gt(Qe.bn,{figure:Wt,alignment:Bt,alignmentFocus:Bt.opposite(),width:Bt.equals(Qe.z6.Top)||Bt.equals(Qe.z6.Bottom)?25:18,height:Bt.equals(Qe.z6.Top)||Bt.equals(Qe.z6.Bottom)?18:25,fill:"orange",stroke:Tt.white,strokeWidth:4,mouseEnter:(Xt,En)=>En.fill="dodgerblue",mouseLeave:(Xt,En)=>En.fill="orange",isActionable:!0,click:on,contextClick:on})}function Ut(Bt){return Gt(Qe.bn,{fill:"orange",stroke:"rgba(0, 0, 0, 0)",strokeWidth:15,background:"transparent",geometryString:"F1 M0 0 b 0 360 -4 0 4 z M10 0 b 0 360 -4 0 4 z M20 0 b 0 360 -4 0 4",isActionable:!0,cursor:"context-menu",mouseEnter:(Wt,on)=>on.fill="dodgerblue",mouseLeave:(Wt,on)=>on.fill="orange",click:(Wt,on)=>{Wt.diagram.commandHandler.showContextMenu(on.part.adornedPart)}},Bt||{})}ft.current.nodeTemplate.selectionAdornmentTemplate=Gt(Qe.uz,"Spot",Gt(Qe.Vm,{padding:10}),bt(Qe.z6.Top,"TriangleUp"),bt(Qe.z6.Left,"TriangleLeft"),bt(Qe.z6.Right,"TriangleRight"),bt(Qe.z6.Bottom,"TriangleDown"),Ut({alignment:new Qe.z6(.75,0)}));function Et(Bt,Wt){return(on,Xt)=>{on.handled=!0,on.diagram.model.commit(En=>{En.set(Xt.part.adornedPart.data,Bt,Wt)})}}function Lt(Bt,Wt){return Wt||(Wt="color"),Gt(Qe.bn,{width:16,height:16,stroke:"lightgray",fill:Bt,margin:1,background:"transparent",mouseEnter:(on,Xt)=>Xt.stroke="dodgerblue",mouseLeave:(on,Xt)=>Xt.stroke="lightgray",click:Et(Wt,Bt),contextClick:Et(Wt,Bt)})}function Rt(){return[Gt("ContextMenuButton",Gt(Qe.s_,"Horizontal",Lt(Tt.white,"fill"),Lt(Tt.beige,"fill"),Lt(Tt.extralightblue,"fill"),Lt(Tt.extralightred,"fill"))),Gt("ContextMenuButton",Gt(Qe.s_,"Horizontal",Lt(Tt.lightgray,"fill"),Lt(Tt.lightgreen,"fill"),Lt(Tt.lightblue,"fill"),Lt(Tt.lightred,"fill")))]}function $t(){return[Gt("ContextMenuButton",Gt(Qe.s_,"Horizontal",Lt(Tt.black),Lt(Tt.green),Lt(Tt.blue),Lt(Tt.red))),Gt("ContextMenuButton",Gt(Qe.s_,"Horizontal",Lt(Tt.white),Lt(Tt.magenta),Lt(Tt.purple),Lt(Tt.orange)))]}function rn(Bt,Wt){return Wt||(Wt="thickness"),Gt(Qe.bn,"LineH",{width:16,height:16,strokeWidth:Bt,margin:1,background:"transparent",mouseEnter:(on,Xt)=>Xt.background="dodgerblue",mouseLeave:(on,Xt)=>Xt.background="transparent",click:Et(Wt,Bt),contextClick:Et(Wt,Bt)})}function vn(Bt,Wt){return Wt||(Wt="dash"),Gt(Qe.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Bt,margin:1,background:"transparent",mouseEnter:(on,Xt)=>Xt.background="dodgerblue",mouseLeave:(on,Xt)=>Xt.background="transparent",click:Et(Wt,Bt),contextClick:Et(Wt,Bt)})}function bn(){return[Gt("ContextMenuButton",Gt(Qe.s_,"Horizontal",rn(1),rn(2),rn(3),rn(4))),Gt("ContextMenuButton",Gt(Qe.s_,"Horizontal",vn(null),vn([2,4]),vn([4,4])))]}function Cn(Bt,Wt){return Wt||(Wt="figure"),Gt(Qe.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Bt,margin:1,background:"transparent",mouseEnter:(on,Xt)=>Xt.fill="dodgerblue",mouseLeave:(on,Xt)=>Xt.fill="lightgray",click:Et(Wt,Bt),contextClick:Et(Wt,Bt)})}ft.current.nodeTemplate.contextMenu=Gt("ContextMenu",Gt("ContextMenuButton",Gt(Qe.s_,"Horizontal",Cn("Rectangle"),Cn("RoundedRectangle"),Cn("Ellipse"),Cn("Diamond"))),Gt("ContextMenuButton",Gt(Qe.s_,"Horizontal",Cn("Parallelogram2"),Cn("ManualOperation"),Cn("Procedure"),Cn("Cylinder1"))),Gt("ContextMenuButton",Gt(Qe.s_,"Horizontal",Cn("Terminator"),Cn("CreateRequest"),Cn("Document"),Cn("TriangleDown"))),Rt(),$t(),bn()),ft.current.groupTemplate=Gt(Qe.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Qe.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Bt,Wt)=>{var on=Wt.addMembers(Wt.diagram.selection,!0);on||Wt.diagram.currentTool.doCancel()},avoidable:!1},new Qe.KX("location","loc",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),Gt(Qe.s_,"Auto",{name:"BODY"},Gt(Qe.bn,{parameter1:10,fill:Tt.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Qe.z6.AllSides,toSpot:Qe.z6.AllSides},new Qe.KX("fill"),new Qe.KX("stroke","color"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),Gt(Qe.Vm,{background:"transparent",margin:20})),Gt(Qe.al,{alignment:Qe.z6.Top,alignmentFocus:Qe.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Qe.KX("text"),new Qe.KX("stroke","color"))),ft.current.groupTemplate.selectionAdornmentTemplate=Gt(Qe.uz,"Spot",Gt(Qe.s_,"Auto",Gt(Qe.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Gt(Qe.Vm,{margin:1.5})),Ut({alignment:Qe.z6.TopRight,alignmentFocus:Qe.z6.BottomRight})),ft.current.groupTemplate.contextMenu=Gt("ContextMenu",Rt(),$t(),bn()),ft.current.linkTemplate=Gt(Qe.rU,{layerName:"Foreground",routing:Qe.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Qe.KX("fromSpot","fromSpot",Qe.z6.parse),new Qe.KX("toSpot","toSpot",Qe.z6.parse),new Qe.KX("fromShortLength","dir",Bt=>Bt>=1?10:0),new Qe.KX("toShortLength","dir",Bt=>Bt>=1?10:0),new Qe.KX("points").makeTwoWay(),Gt(Qe.bn,{strokeWidth:2},new Qe.KX("stroke","color"),new Qe.KX("strokeWidth","thickness"),new Qe.KX("strokeDashArray","dash")),Gt(Qe.bn,{segmentIndex:0,segmentOffset:new Qe.E9(15,0),segmentOrientation:Qe.rU.OrientAlong,alignmentFocus:Qe.z6.Right,figure:"circle",width:10,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",Bt=>Bt===1)),Gt(Qe.bn,{segmentIndex:-1,segmentOffset:new Qe.E9(-10,6),segmentOrientation:Qe.rU.OrientPlus90,alignmentFocus:Qe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",Bt=>Bt>=1),new Qe.KX("width","thickness",Bt=>7+3*Bt),new Qe.KX("height","thickness",Bt=>7+3*Bt),new Qe.KX("segmentOffset","thickness",Bt=>new Qe.E9(-15,4+1.5*Bt))),Gt(Qe.bn,{segmentIndex:0,segmentOffset:new Qe.E9(15,-6),segmentOrientation:Qe.rU.OrientMinus90,alignmentFocus:Qe.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Qe.KX("fill","color"),new Qe.KX("visible","dir",Bt=>Bt===2),new Qe.KX("width","thickness",Bt=>7+3*Bt),new Qe.KX("height","thickness",Bt=>7+3*Bt),new Qe.KX("segmentOffset","thickness",Bt=>new Qe.E9(-15,4+1.5*Bt))),Gt(Qe.al,{alignmentFocus:new Qe.z6(0,1,-4,0),editable:!0},new Qe.KX("text").makeTwoWay(),new Qe.KX("stroke","color"))),ft.current.linkTemplate.selectionAdornmentTemplate=Gt(Qe.uz,Gt(Qe.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:Pn(2)},new Qe.KX("pathPattern","thickness",Pn)),Ut({alignmentFocus:new Qe.z6(0,0,-6,-4)}));function Pn(Bt){return Gt(Qe.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Bt+4).toString()+" H3"})}function On(Bt){var Wt="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Bt===0?Wt="M0 0 M16 16 M0 8 L16 8":Bt===2&&(Wt="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Gt(Qe.bn,{geometryString:Wt,margin:2,background:"transparent",mouseEnter:(on,Xt)=>Xt.background="dodgerblue",mouseLeave:(on,Xt)=>Xt.background="transparent",click:Et("dir",Bt),contextClick:Et("dir",Bt)})}function An(Bt){var Wt=(on,Xt)=>{on.handled=!0,on.diagram.model.commit(En=>{var Nn=Xt.part.adornedPart;En.set(Nn.data,Bt?"toSpot":"fromSpot",Qe.z6.stringify(Qe.z6.AllSides)),(Bt?Nn.toNode:Nn.fromNode).invalidateConnectedLinks()})};return Gt(Qe.bn,{width:12,height:12,fill:"transparent",mouseEnter:(on,Xt)=>Xt.background="dodgerblue",mouseLeave:(on,Xt)=>Xt.background="transparent",click:Wt,contextClick:Wt})}function It(Bt,Wt){var on=0,Xt=Qe.z6.RightSide;Bt.equals(Qe.z6.Top)?(on=270,Xt=Qe.z6.TopSide):Bt.equals(Qe.z6.Left)?(on=180,Xt=Qe.z6.LeftSide):Bt.equals(Qe.z6.Bottom)&&(on=90,Xt=Qe.z6.BottomSide),Wt||(on-=180);var En=(Nn,$n)=>{Nn.handled=!0,Nn.diagram.model.commit(Kn=>{var ir=$n.part.adornedPart;Kn.set(ir.data,Wt?"toSpot":"fromSpot",Qe.z6.stringify(Xt)),(Wt?ir.toNode:ir.fromNode).invalidateConnectedLinks()})};return Gt(Qe.bn,{alignment:Bt,alignmentFocus:Bt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:on,background:"transparent",mouseEnter:(Nn,$n)=>$n.background="dodgerblue",mouseLeave:(Nn,$n)=>$n.background="transparent",click:En,contextClick:En})}ft.current.linkTemplate.contextMenu=Gt("ContextMenu",$t(),bn(),Gt("ContextMenuButton",Gt(Qe.s_,"Horizontal",On(0),On(1),On(2))),Gt("ContextMenuButton",Gt(Qe.s_,"Horizontal",Gt(Qe.s_,"Spot",An(!1),It(Qe.z6.Top,!1),It(Qe.z6.Left,!1),It(Qe.z6.Right,!1),It(Qe.z6.Bottom,!1)),Gt(Qe.s_,"Spot",{margin:new Qe.Zt(0,0,0,2)},An(!0),It(Qe.z6.Top,!0),It(Qe.z6.Left,!0),It(Qe.z6.Right,!0),It(Qe.z6.Bottom,!0)))));const qn=`{ "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"}, @@ -939,18 +939,18 @@ {"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 zn=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function Yn(It){return console.log("shapeName:",It),zn.indexOf(It)>=0}var dn=new Qe.YI(Qt.current,{maxSelectionCount:1,linkTemplate:zt(Qe.rU,{locationSpot:Qe.z6.Center,selectionAdornmentTemplate:zt(Qe.uz,"Link",{locationSpot:Qe.z6.Center},zt(Qe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),zt(Qe.bn,{toArrow:"Standard",stroke:null}))},{routing:Qe.rU.AvoidsNodes,curve:Qe.rU.JumpOver,corner:5,toShortLength:4},new Qe.KX("points"),zt(Qe.bn,{isPanelMain:!0,strokeWidth:2}),zt(Qe.bn,{toArrow:"Standard",stroke:null})),model:new Qe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Qe.bn.getFigureGenerators().toArray().map(It=>({text:"\u672A\u547D\u540D",size:"100 100",figure:It.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return dt.current.addDiagramListener("TextEdited",function(It){var Ht;const hn=It.subject.part;var Vt=(Ht=document.activeElement)==null?void 0:Ht.value;typeof Vt=="string"&&Vt.trim()===""&&dt.current.model.commit(function(Cn){Cn.set(hn.data,"text","\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}),dn.nodeTemplate=zt(Qe.NB,"Auto",{locationSpot:Qe.z6.Center},new Qe.KX("location","location",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),zt(Qe.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 Qe.KX("stroke").makeTwoWay(),new Qe.KX("fill").makeTwoWay(),new Qe.KX("figure")),zt(Qe.al,{margin:new Qe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Qe.$u(16,16),maxSize:new Qe.$u(10,NaN),textAlign:"center",editable:!0},new Qe.KX("key").makeTwoWay())),setTimeout(()=>{dt.current.grid=zt(Qe.s_,"Grid",zt(Qe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),zt(Qe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),dt.current.grid.visible=!0,dt.current.grid.gridCellStroke="darkgray",dt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=dt.current,dt.current}const fr=()=>Je(this,null,function*(){var zt=dt.current.makeImage();const Tt=yield(0,We.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:zt.src}});ht({src:Tt.url})});return(0,ye.useEffect)(()=>(setTimeout(()=>{Gn()},500),Un(fn+1),()=>{dt.current=null}),[]),et.createElement("div",{ref:Fn,className:Kt.current?`${at.maxH60} body-overflow-initial`:"body-overflow-initial"},et.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!fn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:et.createElement(Ne.Z,null,et.createElement(Te.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),et.createElement(Te.Z,{onClick:()=>{var zt,Tt,St=dt.current.selection.first();if(Kt.current=!Kt.current,document.activeElement&&St){let Ut=(Tt=(zt=document.activeElement)==null?void 0:zt.value)==null?void 0:Tt.trim();typeof Ut=="string"&&dt.current.model.commit(function(Pt){Pt.set(St.data,"text",Ut||"\u672A\u547D\u540D"),dt.current.commandHandler.stopCommand()},"increment")}Un(fn+1)}},et.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:ft},et.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:at.flowChartWrp},et.createElement("div",{style:{display:"flex",height:"100%"}},et.createElement("div",{style:{width:"300px",height:"100%"}},et.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),et.createElement("div",{style:{height:"calc(100% - 50px)"},className:at.myPaletteDiv,ref:Qt})),et.createElement("div",{style:{flex:1,position:"relative"}},et.createElement("div",{ref:Bt,style:{height:"80vh"}}))),et.createElement("div",{className:"tr"},et.createElement(Ee.ZP,{size:"large",onClick:fr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var xe=Ie,De=Se(5112),Re=Se(5871);const Xe=De.ZP.Group,nt={margin:"0 8px"};var $e=({callback:ft,onCancel:ht})=>{function dt(Bt){ft(Bt)}return ye.createElement(ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:dt},ye.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ye.createElement("span",{style:nt},"\u5355\u5143\u683C\u6570\uFF1A"),ye.createElement("span",{style:nt},"\u884C\u6570"),ye.createElement(ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ye.createElement(Re.Z,null)),ye.createElement("span",{style:nt},"\u5217\u6570"),ye.createElement(ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ye.createElement(Re.Z,null))),ye.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ye.createElement("span",{style:nt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ye.createElement(ve.default.Item,{name:"align"},ye.createElement(Xe,null,ye.createElement(De.ZP,{value:"default"},ye.createElement("i",{className:"fa fa-align-justify"})),ye.createElement(De.ZP,{value:"left"},ye.createElement("i",{className:"fa fa-align-left"})),ye.createElement(De.ZP,{value:"center"},ye.createElement("i",{className:"fa fa-align-center"})),ye.createElement(De.ZP,{value:"right"},ye.createElement("i",{className:"fa fa-align-right"}))))),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Ee.ZP,{type:"ghost",onClick:ht},"\u53D6\u6D88")))},tt=Se(78673),st=Se(5559),it=Se.n(st),ut=(0,ye.forwardRef)(({use3d:ft,width:ht,height:dt,callback:Bt,showSaveButton:Qt},Kt)=>{const Fn=(0,ye.useRef)(),fn=(0,ye.useRef)(),[Un,Gn]=(0,ye.useState)(!1),fr=(0,ye.useRef)({id:Fn,appName:"graphing",width:ht||1e3,height:dt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ye.useEffect)(()=>{fn.current=new(it())(fr.current,!0),window.onload=function(){fn.current.inject("applet_container")}},[]);const zt=()=>{var Tt=window.ggbApplet.getPNGBase64(1,!0,72);return Bt&&Bt(Tt),Tt};return(0,ye.useEffect)(()=>{fr.current.appName=Un?"3D":"graphing",fn.current.inject("applet_container")},[Un]),(0,ye.useEffect)(()=>{Gn(ft)},[ft]),(0,ye.useImperativeHandle)(Kt,()=>({getImgData:zt})),ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Fn}),ye.createElement(Ne.Z,{align:"middle"},ye.createElement(Te.Z,{flex:1},ye.createElement(tt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Un,onChange:Tt=>Gn(Tt)})),ye.createElement(Te.Z,null,ye.createElement(Ee.ZP,{size:"large",onClick:zt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),pt=Se(46531),vt=Se(8591);const mt="link",bt="upload-image",_t="add-flowchart",Mt="draw-image",yt="add-flowchart",wt="code-block",xt="add-table",ln="------------",Yt={default:ln,left:`:${ln}`,center:`:${ln}:`,right:`${ln}:`};var on=Se(50505);function Zt(){}let $t=0;const Wt=1e4,sn="\u2581",xn="@\u2581\u2581@",Sn="@\u2581@",_n=` +]}`;var Un=["Rectangle","Square","RoundedRectangle","Border","Ellipse","Circle","TriangleRight","TriangleDown","TriangleLeft","TriangleUp","Triangle","Diamond","LineH","LineV","None","BarH","BarV","MinusLine","PlusLine","XLine","LineRight","LineDown","LineLeft","LineUp"];function zn(Bt){return console.log("shapeName:",Bt),Un.indexOf(Bt)>=0}var pn=new Qe.YI(Yt.current,{maxSelectionCount:1,linkTemplate:Gt(Qe.rU,{locationSpot:Qe.z6.Center,selectionAdornmentTemplate:Gt(Qe.uz,"Link",{locationSpot:Qe.z6.Center},Gt(Qe.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Gt(Qe.bn,{toArrow:"Standard",stroke:null}))},{routing:Qe.rU.AvoidsNodes,curve:Qe.rU.JumpOver,corner:5,toShortLength:4},new Qe.KX("points"),Gt(Qe.bn,{isPanelMain:!0,strokeWidth:2}),Gt(Qe.bn,{toArrow:"Standard",stroke:null})),model:new Qe.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Qe.bn.getFigureGenerators().toArray().map(Bt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Bt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return ft.current.addDiagramListener("TextEdited",function(Bt){var Wt;const on=Bt.subject.part;var Xt=(Wt=document.activeElement)==null?void 0:Wt.value;typeof Xt=="string"&&Xt.trim()===""&&ft.current.model.commit(function(En){En.set(on.data,"text","\u672A\u547D\u540D"),ft.current.commandHandler.stopCommand()},"increment")}),pn.nodeTemplate=Gt(Qe.NB,"Auto",{locationSpot:Qe.z6.Center},new Qe.KX("location","location",Qe.E9.parse).makeTwoWay(Qe.E9.stringify),Gt(Qe.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 Qe.KX("stroke").makeTwoWay(),new Qe.KX("fill").makeTwoWay(),new Qe.KX("figure")),Gt(Qe.al,{margin:new Qe.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Qe.$u(16,16),maxSize:new Qe.$u(10,NaN),textAlign:"center",editable:!0},new Qe.KX("key").makeTwoWay())),setTimeout(()=>{ft.current.grid=Gt(Qe.s_,"Grid",Gt(Qe.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Gt(Qe.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),ft.current.grid.visible=!0,ft.current.grid.gridCellStroke="darkgray",ft.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=ft.current,ft.current}const lr=()=>Je(this,null,function*(){var Gt=ft.current.makeImage();const Tt=yield(0,We.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Gt.src}});gt({src:Tt.url})});return(0,ye.useEffect)(()=>(setTimeout(()=>{Wn()},500),Rn(hn+1),()=>{ft.current=null}),[]),et.createElement("div",{ref:jn,className:Qt.current?`${at.maxH60} body-overflow-initial`:"body-overflow-initial"},et.createElement(ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!hn,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:et.createElement(Ne.Z,null,et.createElement(Te.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),et.createElement(Te.Z,{onClick:()=>{var Gt,Tt,bt=ft.current.selection.first();if(Qt.current=!Qt.current,document.activeElement&&bt){let Ut=(Tt=(Gt=document.activeElement)==null?void 0:Gt.value)==null?void 0:Tt.trim();typeof Ut=="string"&&ft.current.model.commit(function(Et){Et.set(bt.data,"text",Ut||"\u672A\u547D\u540D"),ft.current.commandHandler.stopCommand()},"increment")}Rn(hn+1)}},et.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:dt},et.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:at.flowChartWrp},et.createElement("div",{style:{display:"flex",height:"100%"}},et.createElement("div",{style:{width:"300px",height:"100%"}},et.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),et.createElement("div",{style:{height:"calc(100% - 50px)"},className:at.myPaletteDiv,ref:Yt})),et.createElement("div",{style:{flex:1,position:"relative"}},et.createElement("div",{ref:jt,style:{height:"80vh"}}))),et.createElement("div",{className:"tr"},et.createElement(Ee.ZP,{size:"large",onClick:lr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var xe=Ie,De=Se(5112),Re=Se(5871);const Xe=De.ZP.Group,nt={margin:"0 8px"};var $e=({callback:dt,onCancel:gt})=>{function ft(jt){dt(jt)}return ye.createElement(ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:ft},ye.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ye.createElement("span",{style:nt},"\u5355\u5143\u683C\u6570\uFF1A"),ye.createElement("span",{style:nt},"\u884C\u6570"),ye.createElement(ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ye.createElement(Re.Z,null)),ye.createElement("span",{style:nt},"\u5217\u6570"),ye.createElement(ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ye.createElement(Re.Z,null))),ye.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ye.createElement("span",{style:nt},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ye.createElement(ve.default.Item,{name:"align"},ye.createElement(Xe,null,ye.createElement(De.ZP,{value:"default"},ye.createElement("i",{className:"fa fa-align-justify"})),ye.createElement(De.ZP,{value:"left"},ye.createElement("i",{className:"fa fa-align-left"})),ye.createElement(De.ZP,{value:"center"},ye.createElement("i",{className:"fa fa-align-center"})),ye.createElement(De.ZP,{value:"right"},ye.createElement("i",{className:"fa fa-align-right"}))))),ye.createElement("div",{className:"flex-container flex-end"},ye.createElement(Ee.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ye.createElement(Ee.ZP,{type:"ghost",onClick:gt},"\u53D6\u6D88")))},tt=Se(78673),st=Se(5559),it=Se.n(st),ut=(0,ye.forwardRef)(({use3d:dt,width:gt,height:ft,callback:jt,showSaveButton:Yt},Qt)=>{const jn=(0,ye.useRef)(),hn=(0,ye.useRef)(),[Rn,Wn]=(0,ye.useState)(!1),lr=(0,ye.useRef)({id:jn,appName:"graphing",width:gt||1e3,height:ft||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ye.useEffect)(()=>{hn.current=new(it())(lr.current,!0),window.onload=function(){hn.current.inject("applet_container")}},[]);const Gt=()=>{var Tt=window.ggbApplet.getPNGBase64(1,!0,72);return jt&&jt(Tt),Tt};return(0,ye.useEffect)(()=>{lr.current.appName=Rn?"3D":"graphing",hn.current.inject("applet_container")},[Rn]),(0,ye.useEffect)(()=>{Wn(dt)},[dt]),(0,ye.useImperativeHandle)(Qt,()=>({getImgData:Gt})),ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:jn}),ye.createElement(Ne.Z,{align:"middle"},ye.createElement(Te.Z,{flex:1},ye.createElement(tt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Rn,onChange:Tt=>Wn(Tt)})),ye.createElement(Te.Z,null,ye.createElement(Ee.ZP,{size:"large",onClick:Gt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),pt=Se(46531),vt=Se(8591);const mt="link",St="upload-image",_t="add-flowchart",Mt="draw-image",yt="add-flowchart",wt="code-block",xt="add-table",cn="------------",Vt={default:cn,left:`:${cn}`,center:`:${cn}:`,right:`${cn}:`};var sn=Se(50505);function Zt(){}let nn=0;const Ht=1e4,ln="\u2581",Tn="@\u2581\u2581@",Sn="@\u2581@",Ln=` **\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`,yn=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function gn(ft){return/^\d+$/.test(ft)?`${ft}px`:ft}const Dt=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",At={[Dt+"-B"]:"bold",[Dt+"-I"]:"italic"},tn={[mt]:"\u6DFB\u52A0\u94FE\u63A5",[wt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[bt]:"\u6DFB\u52A0\u56FE\u7247",[Mt]:"\u6DFB\u52A0\u753B\u56FE",[_t]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[xt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var cn=({defaultValue:ft="",onChange:ht,width:dt="100%",height:Bt=400,miniToolbar:Qt=!1,isFocus:Kt=!1,watch:Fn,insertTemp:fn,mode:Un="markdown",id:Gn="markdown-editor-id",showResizeBar:fr=!1,noStorage:zt=!1,showNullButton:Tt=!1,showNullProgramButton:St=!1,hidetoolBar:Ut=!1,fullScreen:Pt=!1,onBlur:Lt,onCMBeforeChange:Ft,onFullScreen:Xt,className:nn="",disablePaste:mn=!1,disabled:bn=!1,disabledFill:wn=!1,placeholder:Pn="",values:Tn="",extraUse:On})=>{const[jt,rr]=(0,ye.useState)(null),[zn,Yn]=(0,ye.useState)(ft),[dn,It]=(0,ye.useState)(Fn),[Ht,hn]=(0,ye.useState)(Pt),[Vt,Cn]=(0,ye.useState)(""),[Nn,Hn]=(0,ye.useState)(0),[Dn,Kn]=(0,ye.useState)(Bt),[mr,vr]=(0,ye.useState)(!1),[Jt,Mr]=(0,ye.useState)(0),[Er,Or]=(0,ye.useState)(0),ur=(0,ye.useRef)(),wr=(0,ye.useRef)(),yr=(0,ye.useRef)(),br=(0,ye.useRef)();(0,ye.useEffect)(()=>{const Et=window.scrollY||window.pageYOffset;Yn(Tn),jt==null||jt.setValue(Tn),window.scrollTo(0,Et)},[Tn]),(0,ye.useEffect)(()=>{Xt==null||Xt(Ht)},[Ht]),(0,ye.useEffect)(()=>{if(ur.current){let Et=function(Gt,Nt){var rn;if(mn){Nt.preventDefault();return}const qt=Nt.clipboardData;if(qt){const an=qt.types.toString(),un=qt.items;if(an==="Files"||qt.types.indexOf("Files")>-1){if(Nt.preventDefault(),Un=="stex")return;try{let en=un[1];((rn=un[0])==null?void 0:rn.kind)==="file"&&(en=un[0]);const In=en.getAsFile(),En=In.name.split(".").pop();(0,ze.I)(In,jn=>{var Bn,Xn,qn;jn.id?((Bn=In==null?void 0:In.type)==null?void 0:Bn.indexOf("image"))>-1?kt.replaceSelection(`![,](/api/attachments/${jn.id}?type=${jn.content_type})`):((Xn=In==null?void 0:In.type)==null?void 0:Xn.indexOf("video"))>-1?kt.replaceSelection(``):((qn=In==null?void 0:In.type)==null?void 0:qn.indexOf("pdf"))>-1?kt.replaceSelection(`
${In.name}`):yn.includes(En)?kt.replaceSelection(`${In.name}`):kt.replaceSelection(`[${In.name}](/api/attachments/${jn.id}?type=${jn.content_type})`):(jn==null?void 0:jn.status)===401&&(document.location.href="/user/login")})}catch(en){vt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const kt=E().fromTextArea(ur.current,{mode:Un,lineNumbers:!Qt,lineWrapping:!0,value:ft,autoCloseTags:!0,autoCloseBrackets:!0});return kt.on("keyup",function(Gt,Nt){Nt.keyCode===8&&(Gt.getValue()==""?kt.setOption("placeholder",Pn):kt.setOption("placeholder",null))}),kt.on("keydown",function(Gt,Nt){if(Nt.keyCode===8){var rn=Jn(Gt);rn&&Nt.preventDefault()}}),Kt&&kt.focus(),kt.on("paste",Et),bn&&kt.on("beforeChange",function(Gt,Nt){(Nt.origin==="paste"||Nt.origin==="+input")&&Nt.cancel()}),rr(kt),()=>{kt.off("paste",Et)}}},[]);const Mn=(0,ye.useCallback)(()=>{if(wr.current)try{}catch(Et){console.log(Et,"---- to set md editor body height")}},[Dn,wr,Ht]);(0,ye.useEffect)(()=>{function Et(){let kt=new pe.Z(Gt=>{for(let Nt of Gt)(Nt.target.offsetHeight>0||Nt.target.offsetWidth>0)&&(Mn(),jt.setSize("100%","100%"),jt.refresh())});return kt.observe(ur.current.parentElement),kt}if(jt){const kt=Et();return()=>{var Gt,Nt;(Gt=ur.current)!=null&&Gt.parentElement&&kt.unobserve((Nt=ur.current)==null?void 0:Nt.parentElement)}}},[jt,Mn]),(0,ye.useEffect)(()=>{if(jt){let Et=[];for(const[kt,Gt]of Object.entries(At)){let Nt={[kt]:()=>{lr(Gt)}};Et.push(Nt),jt.addKeyMap(Nt)}return()=>{for(let kt of Et)jt.removeKeyMap(kt)}}},[jt]),(0,ye.useEffect)(()=>{Pt!==Ht&&hn(Pt)},[Pt]),(0,on.Z)(()=>{if(!zt&&Nn>0){let Et=new Date().getTime(),kt=window.sessionStorage.getItem(Gn);Et>=Nn+Wt&&(!kt||kt!==zn)&&(window.sessionStorage.setItem(Gn,zn),vr(!0))}},Wt),(0,ye.useEffect)(()=>{It(Fn)},[jt,Fn]),(0,ye.useEffect)(()=>{jt&&Kt&&jt.focus()},[jt,Kt]),(0,ye.useEffect)(()=>{if(dn&&jt){let Et=function(Gt){let Nt=Gt.target;if(br.current){let rn=Nt.scrollTop/Nt.scrollHeight;br.current.scrollTop=br.current.scrollHeight*rn}};const kt=jt.getScrollerElement();return kt.addEventListener("scroll",Et),()=>{kt.removeEventListener("scroll",Et)}}},[jt,dn]),(0,ye.useEffect)(()=>{if(jt&&Ft){let Et=function(kt,Gt){Ft(kt,Gt)};return jt.on("beforeChange",Et),()=>{jt.off("beforeChange",Et)}}},[jt,Ft]),(0,ye.useEffect)(()=>{if(jt&&Lt){let Et=function(){Lt(jt.getValue())};return jt.on("blur",Et),()=>{jt.off("blur",Et)}}},[jt,Lt]);function Jn(Et,kt){var Gt=Et.getDoc(),Nt=Gt.getCursor(),rn=Gt.getLine(Nt.line),qt=rn.charAt(Nt.ch-1),an=rn.lastIndexOf("@\u2581@",Nt.ch),un=rn.lastIndexOf("@\u2581\u2581@",Nt.ch),en=an>un?an:un,In=an>un?3:4;if(xn.indexOf(qt)===-1)return null;if(console.log("change1:",kt,Et,rn,Nt,en,an,un,qt),en>=0&&Nt.ch-en<5){var En=en+In;return Gt.replaceRange("",{line:Nt.line,ch:en},{line:Nt.line,ch:En}),{line:Nt.line,ch:En}}return null}(0,ye.useEffect)(()=>{if(jt){let Et=function(kt,Gt){const Nt=kt.getValue();Yn(Nt),Hn(new Date().getTime()),kt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ht&&(St?ht(Nt,Ar(Nt)):ht(Nt))};return jt.on("change",Et),()=>{jt.off("change",Et)}}},[jt,ht]),(0,ye.useEffect)(()=>{if(jt)if(ft==null)jt.setValue(""),Yn("");else{const Et=window.scrollY||window.pageYOffset;ft!==jt.getValue()&&(jt.setValue(ft),Yn(ft),jt.setCursor(bn?1:jt.lineCount(),0),window.scrollTo(0,Et))}},[jt,ft]);const lr=(0,ye.useCallback)(Et=>{const kt=jt.getCursor(),Gt=jt.getSelection();let Nt=Gt.split(` -`);switch(Et){case"bold":return jt.replaceSelection("**"+Gt+"**"),Gt===""&&jt.setCursor(kt.line,kt.ch+2),jt.focus();case"italic":return jt.replaceSelection("*"+Gt+"*"),Gt===""&&jt.setCursor(kt.line,kt.ch+1),jt.focus();case"code":return jt.replaceSelection("`"+Gt+"`"),Gt===""&&jt.setCursor(kt.line,kt.ch+1),jt.focus();case"inline-latex":return Cn("inline-latex"),jt.focus();case"latex":return jt.replaceSelection("```latex\n"+Gt+"\n```"),jt.setCursor(kt.line+1,Gt.length+1),jt.focus();case"line-break":return jt.replaceSelection(`
-`),jt.focus();case"list-ul":return Gt===""?jt.replaceSelection("- "+Gt):jt.replaceSelection(Nt.map(rn=>rn===""?"":`- ${rn}`).join(` -`)),jt.focus();case"list-ol":return Gt===""?jt.replaceSelection("1. "+Gt):jt.replaceSelection(Nt.map((rn,qt)=>rn===""?"":`${qt+1}. ${rn}`).join(` -`)),jt.focus();case"add-null-ch":return Gt===""&&jt.setCursor(kt.line,kt.ch),jt.replaceSelection(sn),jt.focus();case"add-signal":return Gt===""&&jt.setCursor(kt.line,kt.ch),jt.replaceSelection(Sn),jt.focus();case"add-multiple":return Gt===""&&jt.setCursor(kt.line,kt.ch),jt.replaceSelection(xn),jt.focus();case"inster-template-1":return Gt===""&&jt.setCursor(kt.line,kt.ch),jt.replaceSelection(_n),jt.focus();case"eraser":return jt.setValue(""),jt.focus();case"trigger-watch":return It(!dn),jt.focus();case"trigger-full-screen":return hn(!Ht),jt.focus();case mt:Cn(mt);return;case wt:Cn(wt);return;case bt:Cn(bt);return;case Mt:Cn(Mt);return;case"maths-latex":Cn("maths-latex");return;case _t:Cn(_t);return;case xt:Cn(xt);return;default:throw new Error}},[jt,dn,Ht]),Zn=(0,ye.useCallback)((Et,kt)=>{var Gt,Nt,rn,qt,an,un;switch(Cn(""),Vt){case mt:const{title:Bn,link:Xn}=Et;return jt.replaceSelection(`[${Bn}](${Xn})`),jt.focus();case wt:const{language:qn,content:xr}=Et;return jt.replaceSelection(["```"+qn,xr,"```"].join(` -`)),jt.focus();case"maths-latex":for(var en=atob(Et),In=new Uint8Array(en.length),En=0;En{er.id?jt.replaceSelection(`![,](/api/attachments/${er.id}?type=${er.content_type})`):(er==null?void 0:er.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":jt.replaceSelection("`$$"+Et+"$$`");break;case bt:case Mt:case yt:const{src:Pr,alt:nr}=Et,cr=kt,Dr=(rn=(Nt=(Gt=cr==null?void 0:cr.name)==null?void 0:Gt.split("."))==null?void 0:Nt.pop)==null?void 0:rn.call(Nt);return((qt=cr==null?void 0:cr.type)==null?void 0:qt.indexOf("image"))>-1||!(cr!=null&&cr.type)?nr?jt.replaceSelection(`![ ${nr} ]( ${Pr} "${nr}" )`):jt.replaceSelection(`![,](${Pr})`):((an=cr==null?void 0:cr.type)==null?void 0:an.indexOf("video"))>-1?jt.replaceSelection(``):((un=cr==null?void 0:cr.type)==null?void 0:un.indexOf("pdf"))>-1?jt.replaceSelection(`${cr.name}`):yn.includes(Dr)?jt.replaceSelection(`${cr.name}`):jt.replaceSelection(`[${cr.name}](${Pr})`),jt.focus();case xt:const{row:Wn,col:dr,align:Vn}=Et;let pn=` -`;for(let er=0;er{switch(Vt){case mt:return ye.createElement(Ge,{callback:Zn,onCancel:ar});case wt:return ye.createElement(Ke.Z,{callback:Zn,onCancel:ar});case bt:return ye.createElement(ze.Z,{callback:Zn,onCancel:ar});case _t:return ye.createElement(xe,{callback:Zn,onCancel:ar});case xt:return ye.createElement($e,{callback:Zn,onCancel:ar});case"maths-latex":return ye.createElement(ut,{showSaveButton:!0,callback:Zn});case"inline-latex":return ye.createElement(pt.Z,{showSaveButton:!0,callback:Zn});default:return null}},[Vt]);function ar(){Cn("")}(0,ye.useEffect)(()=>{if(yr.current){let Et=function(an){rn=!0,qt=an.pageY},kt=function(){rn=!1},Gt=function(an){if(rn){let un=an.pageY-qt;un<0&&(un=0),un>300&&(un=300);let en=Bt+un+"px";Kn(en)}},Nt=yr.current,rn=!1,qt=0;return Nt.addEventListener("mousedown",Et),document.addEventListener("mousemove",Gt),document.addEventListener("mouseup",kt),()=>{Nt.removeEventListener("mousedown",Et),document.removeEventListener("mousemove",Gt),document.removeEventListener("mouseup",kt)}}},[jt,yr]),(0,ye.useEffect)(()=>{Kn(Bt)},[Bt]);const _r=gn(dt),Cr=gn(Dn),or={width:_r,height:Cr},Ir=(0,ye.useMemo)(()=>{if(Nn){let Et=new Date(Nn),kt=Et.getHours(),Gt=Et.getMinutes(),Nt=Et.getSeconds();return kt=kt<10?"0"+kt:kt,Gt=Gt<10?"0"+Gt:Gt,Nt=Nt<10?"0"+Nt:Nt,`${kt}:${Gt}:${Nt}`}return 0},[Nn]),Ar=Et=>{const kt=[];if(St){let Gt=-1;Et=Et.replace(/(@▁▁@|@▁@)/g,function(Nt,rn,qt){kt.push({multiLine:Nt!==Sn})})}return kt};function Br(){window.sessionStorage.removeItem(Gn),vr(!1),Hn(0)}function kr(){vr(!1),Hn(0),jt.setValue(window.sessionStorage.getItem(Gn))}(0,ye.useEffect)(()=>{tn[Vt]&&Vt!==Mt&&Vt!==_t&&setTimeout(()=>{const Et=document.getElementsByClassName("markdown-popup-form")[0],kt=window.innerWidth/2-Et.offsetWidth/2,Gt=window.innerHeight/2-Et.offsetHeight/2;Mr(kt),Or(Gt)},0)},[Vt]);const gt=Et=>{Et.preventDefault();const kt=Et.clientX-Jt,Gt=Et.clientY-Er;document.body.onmousemove=Nt=>{let rn=Nt.clientX-kt,qt=Nt.clientY-Gt;const an=document.getElementsByClassName("markdown-popup-form")[0],un=window.innerWidth-an.offsetWidth,en=window.innerHeight-an.offsetHeight;rn=Math.max(0,Math.min(rn,un)),qt=Math.max(0,Math.min(qt,en)),Ot(Nt.clientX,Nt.clientY,kt,Gt)&&(Mr(rn),Or(qt))},document.body.onmouseup=function(){document.body.onmousemove=null}},Ot=(Et,kt,Gt,Nt)=>{const rn=document.body.clientHeight,qt=document.body.clientWidth;return Et<20&&Gt>Et||Et>qt-20&&Gtkt||kt>rn-20&&Ntfe in ge?ie(ge,fe,{enumerable:!0,configurable:!0,writable:!0,value:me}):ge[fe]=me,a=(ge,fe)=>{for(var me in fe||(fe={}))re.call(fe,me)&&te(ge,me,fe[me]);if(ae)for(var me of ae(fe))ne.call(fe,me)&&te(ge,me,fe[me]);return ge},y=(ge,fe)=>ue(ge,se(fe));const{useForm:x}=ye.default,b={width:280,marginRight:10},ee={labelCol:{span:5},wrapperCol:{span:19}};var z=({callback:ge,onCancel:fe})=>{const[me]=x();let be=(0,ce.useRef)();function ve(Ae){ge(Ae,be.current)}function Pe(Ae,Ce){if(Ae.status===-1){je.ZP.error(Ae.message);return}me.setFieldsValue({src:`/api/attachments/${Ae.id}`,type:Ce.type})}function Ee(Ae){let Ce=Ae.target.files[0];be.current=Ce,de(Ce,Pe)}return oe.createElement(ye.default,y(a({form:me},ee),{className:"upload-image-panel",onFinish:ve,style:{width:470,overflow:"hidden"}}),oe.createElement(ye.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(ye.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},oe.createElement(E.default,{style:b})),oe.createElement(le,{onFileChange:Ee}))),oe.createElement(ye.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},oe.createElement(E.default,{style:{width:264}})),oe.createElement(ye.default.Item,{style:{textAlign:"right"}},oe.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(pe.ZP,{type:"default",onClick:fe},"\u53D6\u6D88")))};function le({onFileChange:ge}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:ge}))}function de(ge,fe){if(!ge)throw new String("\u6CA1\u6709\u6587\u4EF6");let me=new FormData;me.append("editormd-image-file",ge),me.append("file_param_name","editormd-image-file"),me.append("byxhr","true");var be=new window.XMLHttpRequest;be.withCredentials=!0,be.addEventListener("load",function(ve){fe(JSON.parse(ve.target.responseText),ge)},!1),be.addEventListener("error",function(ve){console.error(ve)},!1),be.open("POST",`${he.KI}/api/attachments.json`),be.send(me)}},19647:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return E}});var ye=Se(59301),je=Se(4676);class E extends ye.Component{constructor(he){super(he);const ce=window.document;this.node=ce.createElement("div"),ce.body.appendChild(this.node)}render(){const{children:he}=this.props;return(0,je.createPortal)(he,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},57800:function(ct,ot,Se){"use strict";Se.d(ot,{SV:function(){return Ie},ZP:function(){return Je}});var ye=Se(59301),je=Se(76374);const E={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},pe={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` +\u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,yn=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function mn(dt){return/^\d+$/.test(dt)?`${dt}px`:dt}const Ot=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",At={[Ot+"-B"]:"bold",[Ot+"-I"]:"italic"},tn={[mt]:"\u6DFB\u52A0\u94FE\u63A5",[wt]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[St]:"\u6DFB\u52A0\u56FE\u7247",[Mt]:"\u6DFB\u52A0\u753B\u56FE",[_t]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[xt]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var gn=({defaultValue:dt="",onChange:gt,width:ft="100%",height:jt=400,miniToolbar:Yt=!1,isFocus:Qt=!1,watch:jn,insertTemp:hn,mode:Rn="markdown",id:Wn="markdown-editor-id",showResizeBar:lr=!1,noStorage:Gt=!1,showNullButton:Tt=!1,showNullProgramButton:bt=!1,hidetoolBar:Ut=!1,fullScreen:Et=!1,onBlur:Lt,onCMBeforeChange:Rt,onFullScreen:$t,className:rn="",disablePaste:vn=!1,disabled:bn=!1,disabledFill:Cn=!1,placeholder:Pn="",values:On="",extraUse:An})=>{const[It,qn]=(0,ye.useState)(null),[Un,zn]=(0,ye.useState)(dt),[pn,Bt]=(0,ye.useState)(jn),[Wt,on]=(0,ye.useState)(Et),[Xt,En]=(0,ye.useState)(""),[Nn,$n]=(0,ye.useState)(0),[Kn,ir]=(0,ye.useState)(jt),[Pr,dr]=(0,ye.useState)(!1),[qt,_r]=(0,ye.useState)(0),[Er,fr]=(0,ye.useState)(0),nr=(0,ye.useRef)(),gr=(0,ye.useRef)(),hr=(0,ye.useRef)(),mr=(0,ye.useRef)();(0,ye.useEffect)(()=>{const Pt=window.scrollY||window.pageYOffset;zn(On),It==null||It.setValue(On),window.scrollTo(0,Pt)},[On]),(0,ye.useEffect)(()=>{$t==null||$t(Wt)},[Wt]),(0,ye.useEffect)(()=>{if(nr.current){let Pt=function(zt,Nt){var un;if(vn){Nt.preventDefault();return}const en=Nt.clipboardData;if(en){const an=en.types.toString(),fn=en.items;if(an==="Files"||en.types.indexOf("Files")>-1){if(Nt.preventDefault(),Rn=="stex")return;try{let Jt=fn[1];((un=fn[0])==null?void 0:un.kind)==="file"&&(Jt=fn[0]);const Bn=Jt.getAsFile(),wn=Bn.name.split(".").pop();(0,ze.I)(Bn,Fn=>{var Mn,Jn,ar;Fn.id?((Mn=Bn==null?void 0:Bn.type)==null?void 0:Mn.indexOf("image"))>-1?kt.replaceSelection(`![,](/api/attachments/${Fn.id}?type=${Fn.content_type})`):((Jn=Bn==null?void 0:Bn.type)==null?void 0:Jn.indexOf("video"))>-1?kt.replaceSelection(``):((ar=Bn==null?void 0:Bn.type)==null?void 0:ar.indexOf("pdf"))>-1?kt.replaceSelection(`${Bn.name}`):yn.includes(wn)?kt.replaceSelection(`${Bn.name}`):kt.replaceSelection(`[${Bn.name}](/api/attachments/${Fn.id}?type=${Fn.content_type})`):(Fn==null?void 0:Fn.status)===401&&(document.location.href="/user/login")})}catch(Jt){vt.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const kt=E().fromTextArea(nr.current,{mode:Rn,lineNumbers:!Yt,lineWrapping:!0,value:dt,autoCloseTags:!0,autoCloseBrackets:!0});return kt.on("keyup",function(zt,Nt){Nt.keyCode===8&&(zt.getValue()==""?kt.setOption("placeholder",Pn):kt.setOption("placeholder",null))}),kt.on("keydown",function(zt,Nt){if(Nt.keyCode===8){var un=er(zt);un&&Nt.preventDefault()}}),Qt&&kt.focus(),kt.on("paste",Pt),bn&&kt.on("beforeChange",function(zt,Nt){(Nt.origin==="paste"||Nt.origin==="+input")&&Nt.cancel()}),qn(kt),()=>{kt.off("paste",Pt)}}},[]);const kn=(0,ye.useCallback)(()=>{if(gr.current)try{}catch(Pt){console.log(Pt,"---- to set md editor body height")}},[Kn,gr,Wt]);(0,ye.useEffect)(()=>{function Pt(){let kt=new pe.Z(zt=>{for(let Nt of zt)(Nt.target.offsetHeight>0||Nt.target.offsetWidth>0)&&(kn(),It.setSize("100%","100%"),It.refresh())});return kt.observe(nr.current.parentElement),kt}if(It){const kt=Pt();return()=>{var zt,Nt;(zt=nr.current)!=null&&zt.parentElement&&kt.unobserve((Nt=nr.current)==null?void 0:Nt.parentElement)}}},[It,kn]),(0,ye.useEffect)(()=>{if(It){let Pt=[];for(const[kt,zt]of Object.entries(At)){let Nt={[kt]:()=>{ur(zt)}};Pt.push(Nt),It.addKeyMap(Nt)}return()=>{for(let kt of Pt)It.removeKeyMap(kt)}}},[It]),(0,ye.useEffect)(()=>{Et!==Wt&&on(Et)},[Et]),(0,sn.Z)(()=>{if(!Gt&&Nn>0){let Pt=new Date().getTime(),kt=window.sessionStorage.getItem(Wn);Pt>=Nn+Ht&&(!kt||kt!==Un)&&(window.sessionStorage.setItem(Wn,Un),dr(!0))}},Ht),(0,ye.useEffect)(()=>{Bt(jn)},[It,jn]),(0,ye.useEffect)(()=>{It&&Qt&&It.focus()},[It,Qt]),(0,ye.useEffect)(()=>{if(pn&&It){let Pt=function(zt){let Nt=zt.target;if(mr.current){let un=Nt.scrollTop/Nt.scrollHeight;mr.current.scrollTop=mr.current.scrollHeight*un}};const kt=It.getScrollerElement();return kt.addEventListener("scroll",Pt),()=>{kt.removeEventListener("scroll",Pt)}}},[It,pn]),(0,ye.useEffect)(()=>{if(It&&Rt){let Pt=function(kt,zt){Rt(kt,zt)};return It.on("beforeChange",Pt),()=>{It.off("beforeChange",Pt)}}},[It,Rt]),(0,ye.useEffect)(()=>{if(It&&Lt){let Pt=function(){Lt(It.getValue())};return It.on("blur",Pt),()=>{It.off("blur",Pt)}}},[It,Lt]);function er(Pt,kt){var zt=Pt.getDoc(),Nt=zt.getCursor(),un=zt.getLine(Nt.line),en=un.charAt(Nt.ch-1),an=un.lastIndexOf("@\u2581@",Nt.ch),fn=un.lastIndexOf("@\u2581\u2581@",Nt.ch),Jt=an>fn?an:fn,Bn=an>fn?3:4;if(Tn.indexOf(en)===-1)return null;if(console.log("change1:",kt,Pt,un,Nt,Jt,an,fn,en),Jt>=0&&Nt.ch-Jt<5){var wn=Jt+Bn;return zt.replaceRange("",{line:Nt.line,ch:Jt},{line:Nt.line,ch:wn}),{line:Nt.line,ch:wn}}return null}(0,ye.useEffect)(()=>{if(It){let Pt=function(kt,zt){const Nt=kt.getValue();zn(Nt),$n(new Date().getTime()),kt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),gt&&(bt?gt(Nt,xr(Nt)):gt(Nt))};return It.on("change",Pt),()=>{It.off("change",Pt)}}},[It,gt]),(0,ye.useEffect)(()=>{if(It)if(dt==null)It.setValue(""),zn("");else{const Pt=window.scrollY||window.pageYOffset;dt!==It.getValue()&&(It.setValue(dt),zn(dt),It.setCursor(bn?1:It.lineCount(),0),window.scrollTo(0,Pt))}},[It,dt]);const ur=(0,ye.useCallback)(Pt=>{const kt=It.getCursor(),zt=It.getSelection();let Nt=zt.split(` +`);switch(Pt){case"bold":return It.replaceSelection("**"+zt+"**"),zt===""&&It.setCursor(kt.line,kt.ch+2),It.focus();case"italic":return It.replaceSelection("*"+zt+"*"),zt===""&&It.setCursor(kt.line,kt.ch+1),It.focus();case"code":return It.replaceSelection("`"+zt+"`"),zt===""&&It.setCursor(kt.line,kt.ch+1),It.focus();case"inline-latex":return En("inline-latex"),It.focus();case"latex":return It.replaceSelection("```latex\n"+zt+"\n```"),It.setCursor(kt.line+1,zt.length+1),It.focus();case"line-break":return It.replaceSelection(`
+`),It.focus();case"list-ul":return zt===""?It.replaceSelection("- "+zt):It.replaceSelection(Nt.map(un=>un===""?"":`- ${un}`).join(` +`)),It.focus();case"list-ol":return zt===""?It.replaceSelection("1. "+zt):It.replaceSelection(Nt.map((un,en)=>un===""?"":`${en+1}. ${un}`).join(` +`)),It.focus();case"add-null-ch":return zt===""&&It.setCursor(kt.line,kt.ch),It.replaceSelection(ln),It.focus();case"add-signal":return zt===""&&It.setCursor(kt.line,kt.ch),It.replaceSelection(Sn),It.focus();case"add-multiple":return zt===""&&It.setCursor(kt.line,kt.ch),It.replaceSelection(Tn),It.focus();case"inster-template-1":return zt===""&&It.setCursor(kt.line,kt.ch),It.replaceSelection(Ln),It.focus();case"eraser":return It.setValue(""),It.focus();case"trigger-watch":return Bt(!pn),It.focus();case"trigger-full-screen":return on(!Wt),It.focus();case mt:En(mt);return;case wt:En(wt);return;case St:En(St);return;case Mt:En(Mt);return;case"maths-latex":En("maths-latex");return;case _t:En(_t);return;case xt:En(xt);return;default:throw new Error}},[It,pn,Wt]),Yn=(0,ye.useCallback)((Pt,kt)=>{var zt,Nt,un,en,an,fn;switch(En(""),Xt){case mt:const{title:Mn,link:Jn}=Pt;return It.replaceSelection(`[${Mn}](${Jn})`),It.focus();case wt:const{language:ar,content:wr}=Pt;return It.replaceSelection(["```"+ar,wr,"```"].join(` +`)),It.focus();case"maths-latex":for(var Jt=atob(Pt),Bn=new Uint8Array(Jt.length),wn=0;wn{_n.id?It.replaceSelection(`![,](/api/attachments/${_n.id}?type=${_n.content_type})`):(_n==null?void 0:_n.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":It.replaceSelection("`$$"+Pt+"$$`");break;case St:case Mt:case yt:const{src:Cr,alt:tr}=Pt,or=kt,Lr=(un=(Nt=(zt=or==null?void 0:or.name)==null?void 0:zt.split("."))==null?void 0:Nt.pop)==null?void 0:un.call(Nt);return((en=or==null?void 0:or.type)==null?void 0:en.indexOf("image"))>-1||!(or!=null&&or.type)?tr?It.replaceSelection(`![ ${tr} ]( ${Cr} "${tr}" )`):It.replaceSelection(`![,](${Cr})`):((an=or==null?void 0:or.type)==null?void 0:an.indexOf("video"))>-1?It.replaceSelection(``):((fn=or==null?void 0:or.type)==null?void 0:fn.indexOf("pdf"))>-1?It.replaceSelection(`${or.name}`):yn.includes(Lr)?It.replaceSelection(`${or.name}`):It.replaceSelection(`[${or.name}](${Cr})`),It.focus();case xt:const{row:Hn,col:Ft,align:dn}=Pt;let Kt=` +`;for(let _n=0;_n{switch(Xt){case mt:return ye.createElement(Ge,{callback:Yn,onCancel:sr});case wt:return ye.createElement(Ke.Z,{callback:Yn,onCancel:sr});case St:return ye.createElement(ze.Z,{callback:Yn,onCancel:sr});case _t:return ye.createElement(xe,{callback:Yn,onCancel:sr});case xt:return ye.createElement($e,{callback:Yn,onCancel:sr});case"maths-latex":return ye.createElement(ut,{showSaveButton:!0,callback:Yn});case"inline-latex":return ye.createElement(pt.Z,{showSaveButton:!0,callback:Yn});default:return null}},[Xt]);function sr(){En("")}(0,ye.useEffect)(()=>{if(hr.current){let Pt=function(an){un=!0,en=an.pageY},kt=function(){un=!1},zt=function(an){if(un){let fn=an.pageY-en;fn<0&&(fn=0),fn>300&&(fn=300);let Jt=jt+fn+"px";ir(Jt)}},Nt=hr.current,un=!1,en=0;return Nt.addEventListener("mousedown",Pt),document.addEventListener("mousemove",zt),document.addEventListener("mouseup",kt),()=>{Nt.removeEventListener("mousedown",Pt),document.removeEventListener("mousemove",zt),document.removeEventListener("mouseup",kt)}}},[It,hr]),(0,ye.useEffect)(()=>{ir(jt)},[jt]);const vr=mn(ft),yr=mn(Kn),rr={width:vr,height:yr},Ir=(0,ye.useMemo)(()=>{if(Nn){let Pt=new Date(Nn),kt=Pt.getHours(),zt=Pt.getMinutes(),Nt=Pt.getSeconds();return kt=kt<10?"0"+kt:kt,zt=zt<10?"0"+zt:zt,Nt=Nt<10?"0"+Nt:Nt,`${kt}:${zt}:${Nt}`}return 0},[Nn]),xr=Pt=>{const kt=[];if(bt){let zt=-1;Pt=Pt.replace(/(@▁▁@|@▁@)/g,function(Nt,un,en){kt.push({multiLine:Nt!==Sn})})}return kt};function Or(){window.sessionStorage.removeItem(Wn),dr(!1),$n(0)}function Dr(){dr(!1),$n(0),It.setValue(window.sessionStorage.getItem(Wn))}(0,ye.useEffect)(()=>{tn[Xt]&&Xt!==Mt&&Xt!==_t&&setTimeout(()=>{const Pt=document.getElementsByClassName("markdown-popup-form")[0],kt=window.innerWidth/2-Pt.offsetWidth/2,zt=window.innerHeight/2-Pt.offsetHeight/2;_r(kt),fr(zt)},0)},[Xt]);const ht=Pt=>{Pt.preventDefault();const kt=Pt.clientX-qt,zt=Pt.clientY-Er;document.body.onmousemove=Nt=>{let un=Nt.clientX-kt,en=Nt.clientY-zt;const an=document.getElementsByClassName("markdown-popup-form")[0],fn=window.innerWidth-an.offsetWidth,Jt=window.innerHeight-an.offsetHeight;un=Math.max(0,Math.min(un,fn)),en=Math.max(0,Math.min(en,Jt)),Dt(Nt.clientX,Nt.clientY,kt,zt)&&(_r(un),fr(en))},document.body.onmouseup=function(){document.body.onmousemove=null}},Dt=(Pt,kt,zt,Nt)=>{const un=document.body.clientHeight,en=document.body.clientWidth;return Pt<20&&zt>Pt||Pt>en-20&&ztkt||kt>un-20&&Ntfe in ge?ie(ge,fe,{enumerable:!0,configurable:!0,writable:!0,value:me}):ge[fe]=me,a=(ge,fe)=>{for(var me in fe||(fe={}))re.call(fe,me)&&te(ge,me,fe[me]);if(ae)for(var me of ae(fe))ne.call(fe,me)&&te(ge,me,fe[me]);return ge},y=(ge,fe)=>ue(ge,se(fe));const{useForm:x}=ye.default,b={width:280,marginRight:10},ee={labelCol:{span:5},wrapperCol:{span:19}};var z=({callback:ge,onCancel:fe})=>{const[me]=x();let be=(0,ce.useRef)();function ve(Ae){ge(Ae,be.current)}function Pe(Ae,Ce){if(Ae.status===-1){je.ZP.error(Ae.message);return}me.setFieldsValue({src:`/api/attachments/${Ae.id}`,type:Ce.type})}function Ee(Ae){let Ce=Ae.target.files[0];be.current=Ce,de(Ce,Pe)}return oe.createElement(ye.default,y(a({form:me},ee),{className:"upload-image-panel",onFinish:ve,style:{width:470,overflow:"hidden"}}),oe.createElement(ye.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},oe.createElement("div",{className:"flex-container"},oe.createElement(ye.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},oe.createElement(E.default,{style:b})),oe.createElement(le,{onFileChange:Ee}))),oe.createElement(ye.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},oe.createElement(E.default,{style:{width:264}})),oe.createElement(ye.default.Item,{style:{textAlign:"right"}},oe.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),oe.createElement(pe.ZP,{type:"default",onClick:fe},"\u53D6\u6D88")))};function le({onFileChange:ge}){return oe.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",oe.createElement("input",{type:"file",onChange:ge}))}function de(ge,fe){if(!ge)throw new String("\u6CA1\u6709\u6587\u4EF6");let me=new FormData;me.append("editormd-image-file",ge),me.append("file_param_name","editormd-image-file"),me.append("byxhr","true");var be=new window.XMLHttpRequest;be.withCredentials=!0,be.addEventListener("load",function(ve){fe(JSON.parse(ve.target.responseText),ge)},!1),be.addEventListener("error",function(ve){console.error(ve)},!1),be.open("POST",`${he.KI}/api/attachments.json`),be.send(me)}},19647:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return E}});var ye=Se(59301),je=Se(4676);class E extends ye.Component{constructor(he){super(he);const ce=window.document;this.node=ce.createElement("div"),ce.body.appendChild(this.node)}render(){const{children:he}=this.props;return(0,je.createPortal)(he,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},57800:function(ct,ot,Se){"use strict";Se.d(ot,{SV:function(){return Ie},ZP:function(){return Je}});var ye=Se(59301),je=Se(76374);const E={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},pe={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(` `)},{label:"System.out.println",content:["System.out.println($0)"].join(` `)},{label:"System.out.print",content:["System.out.print($0)"].join(` `)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},he={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` @@ -970,7 +970,7 @@ `)},{label:"include ",content:["#include "].join(` `)}]},ce={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(` `)}]},oe={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(` -`)}]};var ie=Se(7947),ue=Se.n(ie),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(xe,De,Re)=>De in xe?se(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,x=(xe,De)=>{for(var Re in De||(De={}))te.call(De,Re)&&y(xe,Re,De[Re]);if(ne)for(var Re of ne(De))a.call(De,Re)&&y(xe,Re,De[Re]);return xe},b=(xe,De)=>ae(xe,re(De)),ee=(xe,De,Re)=>new Promise((Xe,nt)=>{var $e=it=>{try{st(Re.next(it))}catch(lt){nt(lt)}},tt=it=>{try{st(Re.throw(it))}catch(lt){nt(lt)}},st=it=>it.done?Xe(it.value):Promise.resolve(it.value).then($e,tt);st((Re=Re.apply(xe,De)).next())});const z={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},le=(xe,De)=>De.map(Re=>({label:Re,kind:xe.languages.CompletionItemKind.Keyword,insertText:Re})),de=xe=>Object.keys(z.tables).map(De=>({label:De,kind:xe.languages.CompletionItemKind.Variable,insertText:De})),ge=(xe,De)=>{const Re=z.tables[xe];return Re?Re.map(Xe=>({label:Xe,kind:De.languages.CompletionItemKind.Field,insertText:Xe})):[]};function fe(xe,De,Re,Xe,nt){let $e=De.getWordUntilPosition(Re),tt={startLineNumber:Re.lineNumber,endLineNumber:Re.lineNumber,startColumn:$e.startColumn,endColumn:$e.endColumn},st=Xe.map(it=>({label:it,kind:xe.languages.CompletionItemKind.Keyword,insertText:it,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:tt}));return nt.map(it=>{st.push(b(x({},it),{range:tt}))}),st}var me=xe=>{z.languages.map(nt=>(xe.languages.registerDocumentFormattingEditProvider(nt,{provideDocumentFormattingEdits($e,tt,st){return ee(this,null,function*(){const it=ue()($e.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:$e.getFullModelRange(),text:it}]})}}),nt));const De=he.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Re=ce.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Xe=pe.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet}));xe.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...he.keywords.map(lt=>({label:lt,kind:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...he.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn};return{suggestions:[...E.keywords.map(it=>({label:it,kind:xe.languages.CompletionItemKind.Function,documentation:it,insertText:it,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...pe.keywords.map(lt=>({label:lt,kind:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...pe.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...oe.keywords.map(lt=>({label:lt,kind:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...oe.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...ce.keywords.map(lt=>({label:lt,kind:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...ce.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}})};const be="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ve=Object.defineProperty,Pe=(xe,De,Re)=>De in xe?ve(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,Ee=(xe,De,Re)=>Pe(xe,typeof De!="symbol"?De+"":De,Re);const Ae=class ea{constructor(De,Re,Xe){this.placeholder=De,this.editor=Re,this.monaco=Xe,Re.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return ea.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Ee(Ae,"ID","editor.widget.placeholderHint");var _e=Ae,we=Se(96236),Me=Se(8591),Oe=Se(6848),Fe=Se(89392),Le=Se(50484),Ye=Se(56102),He=Object.defineProperty,Ge=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Ve=(xe,De,Re)=>De in xe?He(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,qe=(xe,De)=>{for(var Re in De||(De={}))ke.call(De,Re)&&Ve(xe,Re,De[Re]);if(ze)for(var Re of ze(De))Ne.call(De,Re)&&Ve(xe,Re,De[Re]);return xe},rt=(xe,De)=>Ge(xe,Ke(De)),Qe=(xe,De)=>{var Re={};for(var Xe in xe)ke.call(xe,Xe)&&De.indexOf(Xe)<0&&(Re[Xe]=xe[Xe]);if(xe!=null&&ze)for(var Xe of ze(xe))De.indexOf(Xe)<0&&Ne.call(xe,Xe)&&(Re[Xe]=xe[Xe]);return Re},Ue=(xe,De,Re)=>new Promise((Xe,nt)=>{var $e=it=>{try{st(Re.next(it))}catch(lt){nt(lt)}},tt=it=>{try{st(Re.throw(it))}catch(lt){nt(lt)}},st=it=>it.done?Xe(it.value):Promise.resolve(it.value).then($e,tt);st((Re=Re.apply(xe,De)).next())});function Be(xe){return/^\d+$/.test(xe)?`${xe}px`:xe}function Ze(){}let Te=!1;const We={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function at(xe=[]){let De=xe;if(Array.isArray(xe)){for(let Re=0;Re{var De=xe,{width:Re="100%",height:Xe="100%",value:nt,language:$e="javascript",style:tt={},options:st={},overrideServices:it={},theme:lt="vs-dark",onEditBlur:ut,isCopy:pt=!1,onSave:vt,autoHeight:mt=!1,forbidCopy:bt=!1,onChange:_t=Ze,editorDidMount:Mt=Ze,onFocus:yt=Ze,onBreakPoint:wt=Ze,breakPointValue:xt=[],filename:ln="educoder.txt",errorLine:Yt,errorContent:on="",highlightLine:Zt,openBreakPoint:$t=!1,placeholder:Wt=""}=De,sn=Qe(De,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const xn=(0,ye.useRef)(),Sn=(0,ye.useRef)({}),_n=(0,ye.useRef)(),yn=(0,ye.useRef)(),gn=(0,ye.useRef)([]),Ct=(0,ye.useRef)(!1),Dt=(0,ye.useRef)(),At=(0,ye.useRef)(),tn=(0,ye.useRef)(!1),[cn,ft]=(0,ye.useState)(!1);function ht(){let Lt;return xn.current&&(Lt=new je.Z(Ft=>{for(let Xt of Ft)(Xt.target.offsetHeight>0||Xt.target.offsetWidth>0)&&Sn.current.instance.layout()}),Lt.observe(xn.current)),Lt}function dt(){Me.ZP.warning({content:decodeURIComponent(be),key:"monaco-editor-tip"})}const Bt=()=>{let Lt=Sn.current.instance;if(nt!=null&&Lt&&cn){const Ft=Lt.getModel();Ft&&nt!==Ft.getValue()&&(Te=!0,Ft.setValue(nt),Lt.layout(),Te=!1)}};(0,ye.useEffect)(()=>{const Lt=Le.Z.subscribe("formatDocument",Ft=>{var Xt;let nn=Sn.current.instance;(Xt=nn==null?void 0:nn.getAction)==null||Xt.call(nn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Ft=>{_t(Ft)},Lt},[]),(0,ye.useEffect)(()=>{var Lt;let Ft=Sn.current.instance;yn.current&&clearTimeout(yn.current),yn.current=setTimeout(()=>{Bt()},500),nt&&(nt!=null&&nt.length)&&((Lt=Ft==null?void 0:Ft.updateOptions)==null||Lt.call(Ft,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(nt.split(/\r\n|\r|\n/g).length))+3,5)}))},[nt,cn,Sn.current]),(0,ye.useEffect)(()=>{if(Yt&&Sn.current&&Sn.current.instance){let Ft=Sn.current.instance;Ft.changeViewZones(function(Xt){var nn=document.createElement("div");nn.style.padding="10px 20px",nn.style.width="calc(100% - 20px)",nn.className="my-error-line-wrp",nn.innerHTML=on,Xt.addZone({afterLineNumber:Yt||11,heightInLines:3,domNode:nn})});var Lt={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}};Ft.addOverlayWidget(Lt),Ft.revealPositionInCenter({lineNumber:20,column:1})}},[Yt,Sn.current,cn]);const Qt=(Lt="",Ft)=>{if(!Lt||Lt.trim()==="")return!0;const nn=Sn.current.instance.getModel().getLineTokens(Ft);let mn=!1;for(let bn=0;bn<2;bn++)nn.getStandardTokenType(bn)===1&&(mn=!0);return mn};(0,ye.useEffect)(()=>{var Lt;const Ft=(Lt=Sn.current)==null?void 0:Lt.instance;if(Ft&&cn&&bt){const Xt=Ft.onDidBlurEditorWidget(()=>{tn.current=!1}),nn=Ft.onDidFocusEditorText(()=>{tn.current=!0});return()=>{Xt.dispose(),nn.dispose()}}},[Sn.current,cn,bt]),(0,ye.useEffect)(()=>{var Lt;if((Lt=Sn.current)!=null&&Lt.instance&&cn&&$t){let Ft=Sn.current.instance,Xt=Ft.getModel();if(!Xt)return;(()=>{var dn;let It=[],Ht=[];const hn=Xt.getAllDecorations();for(let Cn of hn)Cn.options.className==="highlighted-line"&&(It.push((dn=Cn==null?void 0:Cn.range)==null?void 0:dn.startLineNumber),Ht.push(Cn==null?void 0:Cn.id));if(Zt===It[0])return;Xt.deltaDecorations(Ht,[]);const Vt=Xt.getLineCount();Zt&&Zt<=Vt&&(Ft.deltaDecorations([],[{range:new et.Range(Zt,1,Zt,Xt.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Ft.revealLineInCenter(Zt))})();const mn=(dn=!1)=>{var It;let Ht=[],hn=[];const Vt=Xt.getAllDecorations();for(let Cn of Vt)Cn.options.linesDecorationsClassName==="breakpoints-select"&&(Ht.push((It=Cn==null?void 0:Cn.range)==null?void 0:It.startLineNumber),hn.push(Cn==null?void 0:Cn.id));if(dn)return{lines:Ht,ids:hn};wt(Ht)},bn=dn=>Ue(void 0,null,function*(){let It={range:new et.Range(dn,1,dn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield Xt.deltaDecorations([],[It]),mn()}),wn=dn=>Ue(void 0,null,function*(){let It=[];const Ht=Ft.getLineDecorations(dn);for(let hn of Ht)hn.options.linesDecorationsClassName==="breakpoints-select"&&It.push(hn.id);yield Xt.deltaDecorations(It,[]),mn()}),Pn=dn=>{let It=Ft.getLineDecorations(dn);for(let Ht of It)if(Ht.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Fe.isEqual)(xt,mn(!0).lines)){Xt.deltaDecorations(mn(!0).ids,[]);const dn=xt.map(It=>({range:new et.Range(It,1,It,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));Xt.deltaDecorations([],dn)}const Tn=Ft.onDidChangeModelContent(dn=>{let It=Ft.getPosition();if(It){let Ht=It.lineNumber;clearTimeout(At.current),At.current=setTimeout(()=>{Qt(Xt.getLineContent(Ht),Ht)?wn(Ht):Pn(Ht)?(wn(Ht),bn(Ht)):mn()},100)}}),On=Ft.onMouseDown(dn=>{var It,Ht,hn;if(dn.target.detail&&((hn=(Ht=(It=dn.target)==null?void 0:It.element)==null?void 0:Ht.className)!=null&&hn.includes("line-numbers"))){let Vt=dn.target.position.lineNumber;if(Qt(Xt.getLineContent(Vt),Vt))return;Pn(Vt)?wn(Vt):bn(Vt)}}),jt=dn=>{let It={range:new et.Range(dn,1,dn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};gn.current=Ft.deltaDecorations(gn.current,[It])},rr=()=>{gn.current=Ft.deltaDecorations(gn.current,[])},zn=Ft.onMouseMove(dn=>{var It,Ht,hn;if(rr(),dn.target.detail&&((hn=(Ht=(It=dn.target)==null?void 0:It.element)==null?void 0:Ht.className)!=null&&hn.includes("line-numbers"))){let Vt=dn.target.position.lineNumber;if(Qt(Xt.getLineContent(Vt),Vt))return;jt(Vt)}}),Yn=Ft.onMouseLeave(()=>{rr()});return()=>{Tn.dispose(),On.dispose(),zn.dispose(),Yn.dispose()}}},[Sn.current,cn,xt,Zt,$t,$e]),(0,ye.useEffect)(()=>{var Lt;(Lt=Sn.current)!=null&&Lt.instance&&$t&&Sn.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function Kt(){let Lt=Sn.current.instance;if(Lt){const Ft=Lt.getSelection(),Xt=Sn.current.pastePos||{},nn=new et.Range(Xt.startLineNumber||Ft.endLineNumber,Xt.startColumn||Ft.endColumn,Xt.endLineNumber||Ft.endLineNumber,Xt.endColumn||Ft.endColumn);setTimeout(()=>{Lt.executeEdits("",[{range:nn,text:""}])},300)}}function Fn(Lt){(window.navigator.platform.match("Mac")?Lt.metaKey:Lt.ctrlKey)&&Lt.keyCode==83&&(Lt.preventDefault(),vt())}const fn=()=>{if(mt&&Sn.current.instance){const Lt=Sn.current.instance.getContentHeight();Ut(Lt{if(!tn.current)return;const{keyCode:Ft,ctrlKey:Xt,metaKey:nn,target:mn,type:bn}=Lt;return(bn==="paste"||(Ft===67||Ft===86)&&(nn||Xt))&&mn.nodeName==="TEXTAREA"&&(dt(),Lt.preventDefault()),!1};function fr(Lt,Ft){var Xt=window.URL||window.webkitURL||window,nn=new Blob([Ft]),mn=document.createElementNS("http://www.w3.org/1999/xhtml","a");mn.href=Xt.createObjectURL(nn),mn.download=Lt,Un(mn)}(0,ye.useEffect)(()=>{fn()},[fn]),(0,ye.useEffect)(()=>{xn.current&&!cn&&Promise.all([Se.e(8909),Se.e(6894)]).then(Se.bind(Se,71448)).then(Lt=>{try{et=Lt,Sn.current.instance=et.editor.create(xn.current,{value:nt,language:at($e),theme:lt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},it);const Ft=Sn.current.instance;let mn=[...we.BH._menuItems].find(Tn=>Tn[0]._debugName=="EditorContext")[1],bn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],wn=(Tn,On)=>{var jt,rr;let zn=Tn._first;do On.includes((rr=(jt=zn.element)==null?void 0:jt.command)==null?void 0:rr.id)&&Tn._remove(zn);while(zn=zn.next)};if(Mt(Ft,et),setTimeout(()=>{fn(),Sn.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{fr(ln||"educoder.txt",Ft.getValue())}})},500),Sn.current.subscription=Ft.onDidChangeModelContent(Tn=>{Ct.current?clearTimeout(Dt.current):(fn(),_t(Ft.getValue(),Tn)),Dt.current=setTimeout(()=>{Ct.current=!1},500)}),window.Monaco||me(et,at($e)),bt&&(wn(mn,bn),xn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Gn),window.removeEventListener("paste",Gn),window.addEventListener("keydown",Gn),window.addEventListener("paste",Gn)),window.Monaco=et,ut&&Ft.onDidBlurEditorWidget(()=>{ut(Ft.getValue())}),yt&&Ft.onDidFocusEditorText(()=>{yt(Ft.getValue())}),bt)try{Ft.onDidPaste(Tn=>{const On=Ft.getSelection(),jt=Sn.current.pastePos||{},rr=new et.Range(jt.startLineNumber||On.endLineNumber,jt.startColumn||On.endColumn,jt.endLineNumber||On.endLineNumber,jt.endColumn||On.endColumn);Ft.executeEdits("",[{range:Tn.range,text:""}])})}catch(Tn){}let Pn=ht();return Wt&&typeof Wt=="string"&&new _e(Wt,Ft,et),ft(!0),()=>{const Tn=Sn.current.instance;Tn.dispose();const On=Tn.getModel();On&&On.dispose(),Sn.current.subscription&&Sn.current.subscription.dispose(),Pn.unobserve(xn.current)}}catch(Ft){}})},[]),(0,ye.useEffect)(()=>{if(Sn.current.instance&&cn)return document.addEventListener("keydown",Fn,!1),()=>{document.removeEventListener("keydown",Fn)}},[vt,cn]),(0,ye.useEffect)(()=>{let Lt=Sn.current.instance;if(Lt&&cn){let Ft=at($e);et.editor.setModelLanguage(Lt.getModel(),Ft)}},[$e,cn]),(0,ye.useEffect)(()=>{Sn.current.instance&&cn&&et.editor.setTheme(lt)},[lt,cn]),(0,ye.useEffect)(()=>{let Lt=Sn.current.instance;_n.current=st,Lt&&cn&&(Lt.updateOptions(qe({},st)),setTimeout(()=>{Lt.getModel().updateOptions(qe({},st))},200))},[JSON.stringify(st),cn]),(0,ye.useEffect)(()=>{let Lt=Sn.current.instance;Lt&&cn&&Lt.layout()},[Re,Xe,cn]);const[zt,Tt]=(0,ye.useState)(Be(Re)),[St,Ut]=(0,ye.useState)(Be(Xe)),Pt=rt(qe({},tt),{width:zt,height:St,position:"relative"});return ye.createElement("div",{className:"my-monaco-editor",ref:xn,style:Pt},pt&&ye.createElement(Ye.CopyToClipboard,{text:nt,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(Oe.Z,{title:"\u590D\u5236\u4EE3\u7801"},ye.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},ye.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ie({width:xe="100%",height:De="100%",original:Re,modified:Xe,language:nt,options:$e={}}){const tt=(0,ye.useRef)(),[st,it]=(0,ye.useState)(null);function lt(mt){let bt;return tt.current&&(bt=new je.Z(_t=>{for(let Mt of _t)(Mt.target.offsetHeight>0||Mt.target.offsetWidth>0)&&mt.layout()}),bt.observe(tt.current)),bt}(0,ye.useEffect)(()=>(tt.current&&Promise.all([Se.e(8909),Se.e(9404)]).then(Se.bind(Se,2550)).then(mt=>{et=mt;const bt=et.editor.createDiffEditor(tt.current,rt(qe({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},$e),{wordWrap:!0}));it(bt);let _t=lt(bt);return()=>{bt.dispose();const Mt=bt.getModel();Mt&&Mt.dispose(),_t.unobserve(tt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ye.useEffect)(()=>{st&&st.setModel({original:et.editor.createModel(Re,nt),modified:et.editor.createModel(Xe,nt)})},[Re,Xe,nt,st]);const ut=Be(xe),pt=Be(De),vt={width:ut,height:pt};return ye.createElement("div",{className:"my-diff-editor",ref:tt,style:vt})}},34043:function(ct,ot,Se){"use strict";var ye=Se(58323),je=Se(57809),E=Se(78673),pe=Se(59301);const he=je.default.Option;ot.Z=({isTheoretical:ce,onFontSizeChange:oe,cmFontSize:ie,cmCodeMode:ue,autoFormat:se,onCodeModeChange:ae,onTabToSpace:re,onAutoFormat:ne,formatDocument:te,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:ee})=>{const z={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return pe.createElement("div",{className:`tpi-code-setting ${a}`},pe.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),pe.createElement(je.default,{bordered:!1,size:"small",value:ue,onChange:ae},pe.createElement(he,{value:"vs"},"\u767D\u8272\u80CC\u666F"),pe.createElement(he,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),pe.createElement(je.default,{bordered:!1,size:"small",value:ie,onChange:oe},pe.createElement(he,{value:12},"12px"),pe.createElement(he,{value:14},"14px"),pe.createElement(he,{value:16},"16px"),pe.createElement(he,{value:18},"18px"),pe.createElement(he,{value:20},"20px"),pe.createElement(he,{value:22},"22px"))),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"Tab\u8F6C\u6362"),pe.createElement(E.Z,{checked:y,onChange:re})),pe.createElement("div",{className:"file-item",onClick:te},pe.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),pe.createElement("span",null,"Ctrl + S")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),pe.createElement("span",null,"F1 / Alt + F1")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),pe.createElement("span",null,"Ctrl + ]/[")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),pe.createElement("span",null,"Ctrl + Shift + \\")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),pe.createElement("span",null,"Home")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),pe.createElement("span",null,"End"))),x),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),pe.createElement("span",null,z[ee==null?void 0:ee.difficulty])),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),pe.createElement("span",null,b==null?void 0:b.name)),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),pe.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},50505:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return je}});var ye=Se(59301);function je(E,pe){const he=(0,ye.useRef)();(0,ye.useEffect)(()=>{he.current=E}),(0,ye.useEffect)(()=>{function ce(){he.current()}if(pe!==null){let oe=setInterval(ce,pe);return()=>clearInterval(oe)}},[pe])}},38992:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(31797),E=Se(5871),pe=Se(78241),he=Se(43418),ce=Se(71418),oe=Se(1710),ie=Se(92832),ue=Se(95237),se=Se(43604),ae=Se(3113),re=Se(30897),ne=Se(61186),te=Se.n(ne),a=Se(24459),y=Se(88230),x=Se(93261),b=Se(73898),ee=Se(59579),z=Se(59301),le=(me,be,ve)=>new Promise((Pe,Ee)=>{var Ae=we=>{try{_e(ve.next(we))}catch(Me){Ee(Me)}},Ce=we=>{try{_e(ve.throw(we))}catch(Me){Ee(Me)}},_e=we=>we.done?Pe(we.value):Promise.resolve(we.value).then(Ae,Ce);_e((ve=ve.apply(me,be)).next())});const{Countdown:de}=je.default,ge=({value:me,onChange:be,MaxMinutes:ve})=>z.createElement(z.Fragment,null,z.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",z.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",z.createElement("br",null)),z.createElement(E.Z,{value:me,onChange:be,min:0,precision:0,max:ve,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ve}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),fe=({exercise:me,successCb:be,dispatch:ve})=>{var Pe,Ee,Ae,Ce;const _e=(0,a.useParams)(),[we]=pe.default.useForm(),Me=pe.default.useWatch("time",we),[Oe,Fe]=(0,ye.useState)(!1),Le=(0,ye.useRef)(),{actionTabs:Ye}=me,[He,Ge]=(0,ye.useState)(),[,Ke,ze,ke]=(0,ee.U)(re.n7,{id:_e.categoryId}),[,Ne,Ve]=(0,ee.U)(re.Cd,{});(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&(Fe(!1),we.resetFields())},[me.actionTabs.key]);const qe=()=>new Promise(et=>le(void 0,null,function*(){var Je,Ie;return Le.current=yield(0,x.y)({ip_limit:(Je=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Je.ip_limit,ip_bind:(Ie=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ie.ip_bind_type}),et()})),rt=()=>le(void 0,null,function*(){var et,Je,Ie,xe,De;yield we.validateFields();const Re=we.getFieldsValue();if(Fe(!0),(((et=Ye==null?void 0:Ye.exerciseParams)==null?void 0:et.ip_limit)!=="no"||(Je=Ye==null?void 0:Ye.exerciseParams)!=null&&Je.ip_bind_type)&&(yield qe()),(yield(0,re.ZD)((Ie=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ie.id,{exercise_user_id:(xe=Ye==null?void 0:Ye.exerciseParams)==null?void 0:xe.exercise_user_id,unlock_key:Re.unlock_key,time:Re.time,ip:Le.current})).status===0){if(be){ve({type:"exercise/setActionTabs",payload:{}}),be();return}const nt=Ye==null?void 0:Ye.exerciseParams;(0,y.nr)({inner_ip:nt.inner_ip,public_ip:nt.public_ip,open_camera:nt.open_camera,ip_limit:nt.ip_limit,ip_bind:nt.ip_bind,ip_bind_type:nt.ip_bind_type,exercise_tips:nt.exercise_tips,exerciseId:nt.id,screen_open:nt.screen_open,screen_num:nt.screen_num,screen_sec:nt.screen_sec,coursesId:_e.coursesId,login:(De=(0,b.eY)())==null?void 0:De.login,history,identity_verify:nt.identity_verify,open_phone_video_recording:nt.open_phone_video_recording,current_status:nt.current_status}),ve({type:"exercise/setActionTabs",payload:{}})}Fe(!1)}),Qe=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:et=>z.createElement("span",{className:et.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},et)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:et=>z.createElement("span",{className:et.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},et)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ue=((Pe=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((Ee=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ee.errorMessage)=="object";(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&le(void 0,null,function*(){const et=yield Ve(_e);yield ze({}),et.status||Ge(et)})},[me.actionTabs.key]);const{time:Be,end_time:Ze}=(He==null?void 0:He.exercise)||{},Te=ke!=null&&ke.user_end_time?te()(ke==null?void 0:ke.user_end_time).add(1,"minutes"):te()(),We=te()(ke==null?void 0:ke.user_total_end_time)>Te?Math.round(te().duration(te()(ke==null?void 0:ke.user_total_end_time).diff(Te.startOf("minute"))).asMinutes()):0,at=((ke==null?void 0:ke.student_left_minutes)||0)+(Me||0);return z.createElement(z.Fragment,null,z.createElement(he.default,{width:514,centered:!0,closable:!!((Ae=Ye==null?void 0:Ye.exerciseParams)!=null&&Ae.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:me.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ve({type:"exercise/setActionTabs",payload:{}})}},z.createElement(ce.Z,{spinning:Ke||Ne},Ue&&z.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Ue&&z.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Ue&&z.createElement(oe.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ce=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ce.errorMessage)||{}],columns:Qe}),z.createElement("div",{className:""},z.createElement(pe.default,{form:we,layout:"vertical",autoComplete:"off"},z.createElement(pe.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},z.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Be!==-1?z.createElement(z.Fragment,null,z.createElement(pe.default.Item,{name:"time",label:z.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",z.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",te()(ke==null?void 0:ke.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},z.createElement(ge,{MaxMinutes:We})),z.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},Ke||Ne?"--":at),"\u5206\u949F",at!==0&&(ke==null?void 0:ke.user_end_time)&&z.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},te()(ke==null?void 0:ke.user_end_time).add(Me||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):z.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",te()(Ze).format("YYYY-MM-DD HH:mm")))),z.createElement(ue.Z,{justify:"space-between",align:"middle"},z.createElement(se.Z,null),z.createElement(se.Z,null,z.createElement(ae.ZP,{loading:Oe,onClick:rt},"\u8FDB\u5165\u8003\u8BD5"))))))};ot.Z=(0,a.connect)(({exercise:me})=>({exercise:me}))(fe)},47365:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return a}});var ye=Se(59301),je=Se(24459),E=Se(43418),pe=Se(3113),he=Se(71418),ce=Se(5247),oe=Se(70037),ie=Se(57800),ue=Se(24334),se=Se(61186),ae=Se.n(se),re=Se(86723),ne=Se(59301),te=(y,x,b)=>new Promise((ee,z)=>{var le=fe=>{try{ge(b.next(fe))}catch(me){z(me)}},de=fe=>{try{ge(b.throw(fe))}catch(me){z(me)}},ge=fe=>fe.done?ee(fe.value):Promise.resolve(fe.value).then(le,de);ge((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,ee]=(0,ye.useState)(void 0);console.log((0,je.useLocation)(),33);const z=(0,je.useLocation)();(0,ye.useEffect)(()=>{y&&function(){return te(this,null,function*(){const Ge=yield(0,ce.X6)(y);ee(Ge.data)})}()},[y]);const{status:le,created_at:de,code:ge,name:fe,language:me,pass_sets_count:be,set_count:ve,error_msg:Pe,output:Ee,input:Ae,expected_output:Ce,execute_memory:_e,user:we,execute_time:Me,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Ye}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(pe.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(he.Z,{spinning:!b,delay:500},ne.createElement("div",{className:"record-detail-info"},b?ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"record-detail-body"},ne.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),ne.createElement("ul",{className:"record-info"},ne.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",ne.createElement("span",{className:le===0?"c-green":"c-red"},oe.Im[le])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,ae()(de).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,me)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,Me*1e3,"ms")," "),ne.createElement("li",null," ",`${le===re.h.HIDE_COMPILE_STATUS?"--":be} / ${ve} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,oe.gZ)({status:le,error_msg:Pe,execute_time:Me,output:Ee,input:Ae,expected_output:Ce,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Ye}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(ie.ZP,{height:"200px",width:"100%",language:me==null?void 0:me.toLocaleLowerCase(),value:ue.Base64.decode(ge),options:{readOnly:!0}}))):null)))}},21758:function(ct,ot,Se){"use strict";Se.d(ot,{Im:function(){return ve},Y4:function(){return Ee}});var ye=Se(59301),je=Se(92832),E=Se(8591),pe=Se(3113),he=Se(76826),ce=Se(24334),oe=Se.n(ce),ie=Se(7850),ue=Se(7651),se=Se(99325),ae=Se(88230),re=Se(34376),ne=Se.n(re),te=Se(7660),a=Se(24459),y=Se(47365),x=Se(50484),b=Se(5247),ee=Se(50397),z=Se(90853),le=Se(92310),de=Se.n(le),ge=Se(20736),fe=Se(59301),me=(_e,we,Me)=>new Promise((Oe,Fe)=>{var Le=Ge=>{try{He(Me.next(Ge))}catch(Ke){Fe(Ke)}},Ye=Ge=>{try{He(Me.throw(Ge))}catch(Ke){Fe(Ke)}},He=Ge=>Ge.done?Oe(Ge.value):Promise.resolve(Ge.value).then(Le,Ye);He((Me=Me.apply(_e,we)).next())});const{TextArea:be}=je.default,ve={[he.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[he.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[he.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Pe=(_e=>(_e[_e.SET_VISIBLE=0]="SET_VISIBLE",_e[_e.SET_TABINDEX=1]="SET_TABINDEX",_e))(Pe||{});function Ee(_e){const{status:we,error_msg:Me,output:Oe,input:Fe,expected_output:Le,is_file:Ye,input_file_url:He,output_file_url:Ge,expected_output_file_url:Ke,setMonacoValue:ze,setData:ke}=_e,Ne=(0,ye.useRef)(),Ve=(0,ye.useRef)(),qe=(0,ye.useRef)();let rt=null;const Qe={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,ye.useEffect)(()=>{if(Oe&&!Ye&&Ne.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Ne.current);const Be=(0,ae.pp)(ce.Base64.decode(Oe));Ue.write(Be),Ue.setOption("theme",{background:"#1e1e1e"})}if(Fe&&!Ye&&Ve.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Ve.current),Ue.write((0,ae.pp)(Fe)),Ue.setOption("theme",{background:"#1e1e1e"})}if(Le&&!Ye&&qe.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(qe.current),Ue.write((0,ae.pp)(ce.Base64.decode(Le))),Ue.setOption("theme",{background:"#1e1e1e"})}},[Oe]),we){case he.h.NOMATCH:rt=fe.createElement(fe.Fragment,null,fe.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ye&&fe.createElement("div",{ref:Ne}),Ye&&fe.createElement("div",{style:Qe},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ue=yield(0,te.ZP)(Ge,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});ze(Ue),setTimeout(()=>{ke(Ge)},200)})},Oe)),fe.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ye&&fe.createElement("div",{ref:qe}),Ye&&fe.createElement("div",{style:Qe},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ue=yield fetch(Ke,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});ze(yield Ue.text()),setTimeout(()=>{ke(Ke)},200)})},Le)));break;case he.h.EXECUTEFAILURE:rt=fe.createElement(fe.Fragment,null,fe.createElement("div",{style:{border:"1px #F6F7F9 solid"}},fe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ye&&fe.createElement(se.Z,{value:Fe,style:Qe}),Ye&&fe.createElement("div",{style:Qe},fe.createElement("a",{onClick:()=>(0,ae.LR)(He,Fe)},Fe))),fe.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},fe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),fe.createElement("pre",{className:ie.Z.error,style:{color:"#E30000",padding:"0 10px"}},ce.Base64.decode(Me),"111")));break;case he.h.COMPILEFAILURE:rt=fe.createElement(fe.Fragment,null,fe.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),fe.createElement("pre",{className:ie.Z.error},ce.Base64.decode(Me)));break;case he.h.PODFAILURE:rt=fe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:rt=fe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return fe.createElement(fe.Fragment,null," ",rt," ")}function Ae(_e){const{status:we,error_msg:Me,execute_time:Oe,output:Fe,input:Le,expected_output:Ye,is_file:He,input_file_url:Ge,output_file_url:Ke,expected_output_file_url:ze}=_e;let ke=null;switch(we){case he.h.OK:case he.h.NOMATCH:case he.h.EXECUTEFAILURE:case he.h.COMPILEFAILURE:ke=fe.createElement("div",{id:"outputResultRef",className:"h100"});break;case he.h.PODFAILURE:ke=fe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:ke=fe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return fe.createElement(fe.Fragment,null," ",ke," ")}function Ce({value:_e,className:we}){return fe.createElement("span",{className:we},_e)}ot.ZP=({input:_e,is_file:we,debuging:Me,submitting:Oe,executingMessage:Fe,debugResult:Le,onChangeInput:Ye,onDebugCode:He,onSubmitCode:Ge,hack:Ke,user:ze,submitResult:ke,isWhiteTheme:Ne,topDispatch:Ve})=>{const[qe]=(0,a.useSearchParams)(),rt=(0,a.useParams)(),[Qe,Ue]=(0,ye.useState)(!1),[Be,Ze]=(0,ye.useState)(!1),[Te,We]=(0,ye.useState)(1),[at,et]=(0,ye.useState)(!1),[Je,Ie]=(0,ye.useState)(0),[xe,De]=(0,ye.useState)(!1),[Re,Xe]=(0,ye.useState)(""),[nt,$e]=(0,ye.useState)(""),tt=(0,ye.useRef)(),st=(0,ye.useRef)(),it=(0,ye.useRef)(null),lt=(0,ye.useRef)(null),ut=(0,ye.useRef)(null);console.log(ke,"submitResult",rt);const{status:pt,id:vt,input:mt,output:bt,expected_output:_t,is_file:Mt,input_file_url:yt,output_file_url:wt,expected_output_file_url:xt,error_msg:ln,hack_sets:Yt}=ke||{};(0,ye.useEffect)(()=>{pt===0&&(We(1),Ie(0))},[pt,vt]),(0,ye.useEffect)(()=>{me(void 0,null,function*(){var gn;const Ct=yield(0,b.rX)(rt==null?void 0:rt.id,"submit");(Ct==null?void 0:Ct.status)===0&&(Ct!=null&&Ct.data&&((gn=Ct==null?void 0:Ct.data)==null?void 0:gn.status)!==0?(Ve({type:ee.Types.SET_SUBMIT_RESULT,payload:{submitResult:Ct==null?void 0:Ct.data}}),We(2),Ie(320)):(We(1),Ie(0)))})},[rt==null?void 0:rt.id]),(0,ye.useEffect)(()=>{if(tt.current){let yn=function(ht){At=Dt.offsetHeight,tn=!0,cn=ht.pageY,ut.current.style.display="block"},gn=function(){tn=!1,ut.current.style.display="none"},Ct=function(ht){if(tn){on();let dt=cn-ht.pageY,Bt=At+dt;if(Bt<0&&(Bt=0),Bt>window.innerHeight-150&&(Bt=window.innerHeight-150),Te===1){Bt<=34?Ie(0):Ie(Bt);return}console.log(Bt,"resizeH"),Ie(Bt)}};const Dt=it.current;let At=0,tn=!1,cn=0;const ft=document.getElementById("case-y-bar");return ft==null||ft.addEventListener("mousedown",yn),document.addEventListener("mousemove",Ct),document.addEventListener("mouseup",gn),()=>{const ht=document.getElementById("case-y-bar");ht==null||ht.removeEventListener("mousedown",yn),document.removeEventListener("mousemove",Ct),document.removeEventListener("mouseup",gn)}}},[tt,Te]),(0,ye.useEffect)(()=>{const yn=x.Z.subscribe("resize-move-bar",on);if(qe.get("type")!=="exercises")return document.addEventListener((0,ge.gH)(),Wt),()=>{document.removeEventListener((0,ge.gH)(),Wt),yn()}},[]),(0,ye.useEffect)(()=>{});function on(){var yn,gn,Ct,Dt;const At=document.getElementById("outputResultRef");if(At){let tn=At.dataset.text;st.current.reset(),st.current.writeln(tn);const cn=document.getElementById("outputResultRef").offsetWidth-20,ft=((Dt=(Ct=(gn=(yn=st.current)==null?void 0:yn._core)==null?void 0:gn._renderService)==null?void 0:Ct.dimensions)==null?void 0:Dt.actualCellWidth)||10,ht=Math.ceil(cn/ft);st.current.resize(ht,Math.ceil(At.clientHeight/16))}}function Zt(){Ue(!Qe),setTimeout(()=>{on()},300),Ie(Qe?320:window.innerHeight-150)}function $t(){Be?(Ze(!1),(0,ge.BU)()):(Ze(!0),(0,ge.Dj)(lt.current))}const Wt=yn=>{(0,ge.vp)()||Ze(!1)},sn=(0,ye.useMemo)(()=>{if(Le){const{status:yn,output:gn,error_msg:Ct}=Le;return setTimeout(()=>{let Dt="",At=document.getElementById("outputResultRef");gn?Dt=ce.Base64.decode(gn):Ct&&(Dt=ce.Base64.decode(Ct)),st.current=new re.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),st.current.open(At),st.current.onKey(function(tn){var cn;if(tn.domEvent.key.toLocaleUpperCase()==="C"&&tn.domEvent.ctrlKey){tn.domEvent.preventDefault();let ft=(cn=st.current)==null?void 0:cn.getSelection();navigator.clipboard.writeText(ft).then(()=>{})}}),At.dataset.text=Dt,st.current.setOption("convertEol",!0),on()},300),fe.createElement(fe.Fragment,null,Ae(Le))}return null},[Le]);function xn(){var yn,gn;if(!(Ke!=null&&Ke.code)||((yn=Ke==null?void 0:Ke.code)==null?void 0:yn.trim().length)===0){(gn=E.ZP)==null||gn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}We(1),Ie(320),He()}const Sn=yn=>me(void 0,null,function*(){let gn=yield(0,te.ZP)(`/api/problems/${yn}/start.json`,{method:"get",params:{hack_user_id:ze==null?void 0:ze.user_id}});gn&&(window.location.href=`/myproblems/${gn==null?void 0:gn.identifier}${window.location.search}`)});function _n(){Mt?navigator.clipboard.writeText(ce.Base64.decode(ln)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(ce.Base64.decode(bt)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return fe.createElement(ye.Fragment,null,fe.createElement("div",{className:de()(ie.Z.case,Ne&&ie.Z.whiteCase),style:{height:Je},ref:it},fe.createElement("div",{className:ie.Z.fullMask,ref:ut}),fe.createElement("div",{className:ie.Z["resize-y-bar"],id:"case-y-bar",ref:tt,draggable:!1},Te===2&&fe.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Te===1&&(Je<=34?fe.createElement("div",{onClick:()=>{Ie(320)},className:ie.Z.unfoldBtn},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):fe.createElement("div",{onClick:()=>{Ie(0)},className:ie.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),fe.createElement("div",null,fe.createElement("div",{className:ie.Z.caseHead},fe.createElement("div",{className:ie.Z.dot}),fe.createElement("div",{className:ie.Z.text},Te===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Te===2&&!Oe&&typeof pt=="number"&&fe.createElement(fe.Fragment,null,pt===he.h.OK?fe.createElement("div",{className:ie.Z.pass},fe.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):fe.createElement("div",{className:ie.Z.noPass},fe.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),ve[pt])),fe.createElement("div",{className:ie.Z.btns},Te===2&&!Oe&&fe.createElement(fe.Fragment,null,pt!==he.h.OK&&fe.createElement("div",{onClick:_n},fe.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),fe.createElement("div",{onClick:()=>{De(vt)}},fe.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),qe.get("type")!=="exercises"&&fe.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>Zt()},fe.createElement("i",{className:`iconfont icon-${Qe?"suoxiao1":"fangda"}`})))),fe.createElement("div",{style:{display:Te===1?"block":"none"}},Me?fe.createElement(ue.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:Je-34}},fe.createElement("div",{className:ie.Z.result},fe.createElement("div",{className:ie.Z.left},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),fe.createElement("div",{className:ie.Z.leftNode},fe.createElement(be,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:we?"":_e,onChange:Ye}))),fe.createElement("div",{className:ie.Z.right},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),fe.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),fe.createElement("div",{className:ie.Z.node},Le?sn:fe.createElement("p",{style:{color:"#8F96B1"}},"\u8BF7\u5728\u5DE6\u4FA7\u8F93\u5165\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D\uFF0C\u5373\u53EF\u751F\u6210\u4EE3\u7801\u6267\u884C\u7ED3\u679C")))))),fe.createElement("div",{style:{display:Te===2?"block":"none"}},Oe?fe.createElement(ue.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:Je-34,display:"flex",flexDirection:"column",overflow:"hidden"}},fe.createElement("div",{ref:lt,className:ie.Z.elseNode},fe.createElement("div",{className:ie.Z.nameWrap},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),fe.createElement("div",{className:ie.Z.scroll},fe.createElement("pre",{className:ie.Z.scrollBox,style:at?{height:Be?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!Mt&&fe.createElement(Ce,{value:mt}),Mt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const yn=yield fetch(yt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield yn.text()),setTimeout(()=>{Xe(yt)},200)})},mt)),mt&&fe.createElement("div",{className:ie.Z.action},fe.createElement("span",{onClick:()=>et(!at)},at?"\u6536\u8D77":"\u5C55\u5F00"),qe.get("type")!=="exercises"&&fe.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>$t(),className:`iconfont icon-${Be?"suoxiao1":"fangda"}`})))),fe.createElement("div",{className:ie.Z.result,style:{flex:1,overflow:"hidden"}},fe.createElement("div",{className:ie.Z.left},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),fe.createElement("div",{className:ie.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},fe.createElement("pre",null,!Mt&&fe.createElement(Ce,{className:"mb10",value:_t&&ce.Base64.decode(_t)||""}),Mt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const yn=yield fetch(xt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield yn.text()),setTimeout(()=>{Xe(xt)},200)})},_t)))),fe.createElement("div",{className:ie.Z.right},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),fe.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),fe.createElement("div",{className:ie.Z.node,style:{color:pt===he.h.OK?"#2ABD8C":"#FF2C29"}},fe.createElement("pre",null,(pt===4||pt===5)&&fe.createElement(Ce,{className:"mb10",value:ln&&ce.Base64.decode(ln)||""}),pt!=4&&pt!=5&&(Mt?fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const yn=yield(0,te.ZP)(wt,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{$e(yn)}catch(gn){$e("")}setTimeout(()=>{Xe(wt)},200)})},bt):fe.createElement(Ce,{className:"mb10",value:bt&&ce.Base64.decode(bt)||""})))))))))),fe.createElement("div",{className:de()(ie.Z.footer,Ne&&ie.Z.whiteFooter),style:{zIndex:100}},(Ke==null?void 0:Ke.is_program)&&(Ke==null?void 0:Ke.above_question)&&fe.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Sn(Ke==null?void 0:Ke.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Ke==null?void 0:Ke.is_program)&&(Ke==null?void 0:Ke.under_question)&&fe.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Sn(Ke==null?void 0:Ke.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),fe.createElement(pe.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Me||Oe,loading:Me,color:"#2ABD8C",className:"mr10",onClick:xn},"\u8C03\u8BD5\u4EE3\u7801"),qe.get("qtype")!=="8"&&fe.createElement(pe.ZP,{className:ie.Z.disabled,type:"primary",icon:fe.createElement("i",{className:"iconfont icon-bofang1"}),loading:Oe,disabled:Me||Oe,onClick:()=>{var yn,gn;if(!(Ke!=null&&Ke.code)||((yn=Ke==null?void 0:Ke.code)==null?void 0:yn.trim().length)===0){(gn=E.ZP)==null||gn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}We(2),Ie(320),Ge()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),fe.createElement(y.Z,{onClose:De,open:xe}),fe.createElement(z.Z,{close:!0,data:Re,type:Re.length?"txt":"",onClose:()=>Xe(""),monacoEditor:{value:nt,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},50397:function(ct,ot,Se){"use strict";Se.r(ot),Se.d(ot,{Types:function(){return _r},default:function(){return Ar}});var ye=Se(59301),je=Se(24459),E=Se(31797),pe=Se(43418),he=Se(71418),ce=Se(3113),oe=Se(6848),ie=Se(95237),ue=Se(5247),se=Se(30897),ae=Se(20736),re=Se(31582),ne=Se(38446),te=Se(87169),a=Se(43428),y=Se(57800),x=Se(19647),b=Se(90691),ee=Se(34043),z=Se(59301),le=Object.defineProperty,de=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(gt,Ot,Et)=>Ot in gt?le(gt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Et}):gt[Ot]=Et,Pe=(gt,Ot)=>{for(var Et in Ot||(Ot={}))me.call(Ot,Et)&&ve(gt,Et,Ot[Et]);if(fe)for(var Et of fe(Ot))be.call(Ot,Et)&&ve(gt,Et,Ot[Et]);return gt},Ee=(gt,Ot)=>de(gt,ge(Ot));const Ae={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0)};var Ce=(gt=>(gt[gt.set_font_size=0]="set_font_size",gt[gt.set_theme=1]="set_theme",gt[gt.on_tab_to_space=2]="on_tab_to_space",gt[gt.set_show_editor_setting=3]="set_show_editor_setting",gt))(Ce||{});function _e(gt,Ot){switch(Ot.type){case 3:return Ee(Pe({},gt),{showEditorSetting:Ot.payload});case 1:return Ee(Pe({},gt),{theme:Ot.payload});case 0:return Ee(Pe({},gt),{fontSize:Ot.payload});case 2:return Ee(Pe({},gt),{tabToSpace:Ot.payload});default:throw new Error}}var we=({isLoading:gt,value:Ot,onChange:Et,language:kt,onUpdateCode:Gt,ActionBarRender:Nt,setIsWhiteTheme:rn})=>{const[qt,an]=(0,ye.useReducer)(_e,Ae),{theme:un,fontSize:en,showEditorSetting:In,tabToSpace:En}=qt,jn=(0,ye.useRef)(),Bn=(0,ye.useRef)();(0,ye.useEffect)(()=>{rn(un==="vs")},[un]);const Xn={onFontSizeChange:nr=>{an({type:0,payload:nr}),(0,b.t)("cmFontSize",nr)},tabToSpace:En,cmFontSize:en,className:"oj",cmCodeMode:un,onTabToSpace:nr=>{an({type:2,payload:nr}),(0,b.t)("cmTabToSpace",nr)},onCodeModeChange:nr=>{an({type:1,payload:nr}),(0,b.t)("ProgrammingCodeMode",nr)}};function qn(){an({type:3,payload:!1})}function xr(){an({type:3,payload:!0})}const Pr={value:Ot,language:kt,theme:un,options:{fontSize:en,insertSpaces:En},onChange:nr=>{Et(nr),Bn.current=nr,clearTimeout(jn.current),jn.current=setTimeout(()=>{Gt(Bn.current)},1e4)},onEditBlur:nr=>{Bn.current&&Gt(Bn.current)}};return z.createElement(ye.Fragment,null,Nt(xr),z.createElement("div",{style:{flex:1,overflow:"hidden"}},!gt&&z.createElement(y.ZP,Pe({},Pr))),z.createElement(x.Z,null,z.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:In,onClose:qn},z.createElement(ee.Z,Pe({},Xn)))))},Me=Se(60141),Oe=Se(24334),Fe=Se(21758),Le={flex_box_center:"flex_box_center___rM3g8",flex_space_between:"flex_space_between___Oc7SE",flex_box_vertical_center:"flex_box_vertical_center___MnmYE",flex_box_center_end:"flex_box_center_end___QQh83",flex_box_column:"flex_box_column___ZRFbL","left-panel":"left-panel___SKGyd","tab-panel-body":"tab-panel-body___gABdv",b1:"b1___QpbmK","oj-width-input":"oj-width-input___eJQWT","oj-mr":"oj-mr___AxILO","s-navs":"s-navs___FXwOi","bg-white":"bg-white___kbZ6r",active:"active___QGOnZ",list:"list___PXTsq",btns:"btns___F8yZK",drawer:"drawer___xdGaT",tour:"tour___oMkVh"},Ye={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},He=Se(1710),Ge=Se(58421),Ke=Se(58617),ze=Se(47365),ke=Se(61186),Ne=Se.n(ke),Ve=Se(59301);const{Column:qe}=He.default;var rt=({submitResult:gt,submitting:Ot,submitRecords:Et,page:kt,onPageChange:Gt,topicId:Nt})=>{const[rn]=(0,je.useSearchParams)(),{records:qt,records_count:an}=Et||{},[un,en]=(0,ye.useState)(!1),In=rn.get("type")==="1";return Ve.createElement(he.Z,{spinning:Ot,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Ve.createElement(Ke.Z,{style:{fontSize:24},spin:!0})},(qt==null?void 0:qt.length)>0?Ve.createElement(He.default,{dataSource:qt,rowKey:"id",pagination:!1},Ve.createElement(qe,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(En,jn)=>Ve.createElement("span",null," ",Ne()(En).format("YYYY-MM-DD HH:mm:ss"))}),Ve.createElement(qe,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(En,jn)=>{var Bn;return Ve.createElement("span",{className:`${En===0?"c-green":"c-red"} current`,onClick:()=>{en(jn.id)}},(Bn=Fe.Im[En])==null?void 0:Bn.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ve.createElement(qe,{title:`\u6267\u884C\u7528\u65F6 (${In?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:En=>En?In?En:En/1e3:""}),Ve.createElement(qe,{title:`\u5185\u5B58\u6D88\u8017\uFF08${In?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:En=>En?In?En:parseFloat((En/1024).toFixed(2)):""}),Ve.createElement(qe,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Ve.createElement(qe,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(En,jn)=>Ve.createElement("span",{className:"c-light-primary current",onClick:()=>{en(jn.id)}},"\u67E5\u770B")})):Ve.createElement("div",{style:{height:300,width:"100%"}}),Ve.createElement(ze.Z,{onClose:en,open:un}),an>15?Ve.createElement(Ge.Z,{className:Ye.pagination,current:kt,pageSize:15,total:an,onChange:Gt}):null)},Qe=Se(57816),Ue=Se(12563),Be={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Ze=Se(99325),Te=Se(59301);const We={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var at=({hack:gt})=>{const{language:Ot,difficult:Et,time_limit:kt,description:Gt}=gt,[Nt]=(0,je.useSearchParams)(),rn=We[Et];return Te.createElement(Te.Fragment,null,Te.createElement("ul",{className:Be.info},Te.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Te.createElement("b",{className:Be.info_tag},Ot)),Te.createElement("li",null,Te.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",Te.createElement(Ue.default,{color:rn==null?void 0:rn.color},rn==null?void 0:rn.name)),Te.createElement("li",null,Te.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Te.createElement("span",{style:{color:"#333333"}},kt,"\u79D2"))),Nt.get("qtype")==="8"?Te.createElement(Ze.Z,{value:Gt,showProgramFill:!0,className:Be.desc}):Te.createElement(Ze.Z,{value:Gt,className:Be.desc}))},et={},Je=Se(59301),Ie=({hack:gt,current_user:Ot})=>Je.createElement("div",{className:et.answer},gt!=null&>.answer_text?Je.createElement(Ze.Z,{style:{padding:"13px 0"},value:(gt==null?void 0:gt.answer_text)||""}):Je.createElement(Qe.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),xe=Se(50484),De=Se(7660);function Re(gt,Ot){return(0,De.U2)(`/problems/${gt}/comments.json`,{page:Ot,limit:10})}function Xe(gt){return(0,De.v_)(`/discusses/${gt}/plus.json`,{container_type:"Discuss",type:1})}function nt(gt,Ot,Et){return(0,De.v_)(`/problems/${gt}/comments/reply.json`,{comments:{content:Et,parent_id:Ot}})}function $e(gt,Ot){return(0,De.v_)(`/problems/${gt}/comments.json`,{comments:{content:Ot}})}function tt(gt,Ot,Et){return(0,De.v_)(`/problems/${gt}/comments/${Ot}/hidden.json`,Et)}function st(gt,Ot){return(0,De.IV)(`/problems/${gt}/comments/${Ot}`)}var it=Se(52649);function lt({author:gt}){return ye.createElement("a",{href:`/users/${gt.login}`,target:"_blank"},ye.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${gt.image_url}`,width:"50"}))}function ut({data:gt,index:Ot,parentDiscussIndex:Et,user:kt,onSetActionType:Gt}){const{author:Nt,can_delete:rn,content:qt,id:an,time:un}=gt;function en(){Gt({id:an,index:Ot,type:"delete-discuss",parentDiscussIndex:Et,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const In=kt.admin||rn||Nt.user_id===kt.user_id;return ye.createElement("div",{className:"discuss-item-container second-discuss "},ye.createElement(lt,{author:Nt}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${Nt.login}`,target:"_blank"},Nt.name),ye.createElement("span",{className:"grey"},un),ye.createElement("div",{className:"btn-group",style:{marginBottom:0}},In?ye.createElement("a",{onClick:en,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null)),ye.createElement(Ze.Z,{className:"discuss-content",value:qt})))}var pt=({user:gt,data:Ot,index:Et,onPlusDiscuss:kt,onSetActionType:Gt,activeDiscussIndex:Nt,onReplyDiscuss:rn,onSetActiveDiscussIndex:qt})=>{const{content:an,children:un,hidden:en,id:In,praise_count:En,time:jn,user_praise:Bn,can_delete:Xn,author:qn}=Ot;function xr(){qt(In)}function Pr(){kt(In,!Bn,Et)}function nr(){Gt({id:In,index:Et,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function cr(){Gt({id:In,index:Et,params:{hidden:en?"0":"1"},type:"hidden-discuss",message:en?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Dr=gt.admin||gt.user_id===qn.user_id;return ye.createElement("div",{className:"discuss-item-container",key:In},ye.createElement(lt,{author:qn}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${qn.login}`,target:"_blank"}," ",qn.name," "),ye.createElement("span",{className:"grey"},jn)),ye.createElement(Ze.Z,{className:"discuss-content",value:an}),un&&un.length>0?ye.createElement("div",{className:"reply-discuss-container"},un.map((Wn,dr)=>ye.createElement(ut,{key:Wn.id,data:Wn,index:dr,user:gt,onSetActionType:Gt,parentDiscussIndex:Et}))):null,ye.createElement("div",{className:"btn-group"},Dr?ye.createElement("a",{onClick:cr,title:en?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ye.createElement("i",{className:en?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Xn&&(!un||un.length==0)?ye.createElement("a",{onClick:nr,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null,ye.createElement("a",{onClick:xr,title:"\u56DE\u590D"}," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," "),ye.createElement("a",{onClick:Pr,className:Bn?"c-orange":""},ye.createElement("i",{className:Bn?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ye.createElement("span",null,En||""))),ye.createElement(it.Z,{id:In,activeDiscussIndex:Nt,onReplyDiscuss:rn})))},vt=Se(85469),mt={"dis-input-editor-container":"dis-input-editor-container___nKGxx",active:"active___tmt7T","input-mask":"input-mask___epEle","text-area":"text-area___Vry8W","tip-container":"tip-container___plpA3",hide:"hide___kPfyC","md-container":"md-container___u85aq","btn-send":"btn-send___deQ5v"},bt=Se(64726),_t=(gt,Ot,Et)=>new Promise((kt,Gt)=>{var Nt=an=>{try{qt(Et.next(an))}catch(un){Gt(un)}},rn=an=>{try{qt(Et.throw(an))}catch(un){Gt(un)}},qt=an=>an.done?kt(an.value):Promise.resolve(an.value).then(Nt,rn);qt((Et=Et.apply(gt,Ot)).next())}),Mt=({user_praise:gt,praise_count:Ot,praisePlus:Et,onCreateDiscuss:kt,discuss_count:Gt})=>{const[Nt,rn]=(0,ye.useState)(!1),[qt,an]=(0,ye.useState)("");function un(jn){an(jn)}function en(){rn(!0)}function In(){rn(!1)}function En(){return _t(this,null,function*(){kt(qt),an(""),rn(!1)})}return ye.createElement("div",{className:`${mt["dis-input-editor-container"]} ${Nt?mt.active:""} `},ye.createElement("div",{className:Nt?`hide ${mt["text-area"]}`:mt["text-area"]},ye.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:en}),ye.createElement("a",null," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",Gt," "),ye.createElement("a",{className:"c-light-black",onClick:Et,title:gt?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},ye.createElement("i",{className:`mr3 ${gt?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Ot?ye.createElement("span",null,Ot):"")),Nt?ye.createElement("div",{className:mt["input-mask"],onClick:In}):null,ye.createElement("div",{className:Nt?mt["md-container"]:`${mt["md-container"]} hide`},ye.createElement(bt.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:qt,height:240,onChange:un}),ye.createElement("div",{className:mt["tip-container"],onClick:In},ye.createElement("a",{className:mt["btn-send"],onClick:En}," \u53D1\u9001 "))))},yt=Se(59301),wt=Object.defineProperty,xt=Object.defineProperties,ln=Object.getOwnPropertyDescriptors,Yt=Object.getOwnPropertySymbols,on=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,$t=(gt,Ot,Et)=>Ot in gt?wt(gt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Et}):gt[Ot]=Et,Wt=(gt,Ot)=>{for(var Et in Ot||(Ot={}))on.call(Ot,Et)&&$t(gt,Et,Ot[Et]);if(Yt)for(var Et of Yt(Ot))Zt.call(Ot,Et)&&$t(gt,Et,Ot[Et]);return gt},sn=(gt,Ot)=>xt(gt,ln(Ot)),xn=(gt,Ot,Et)=>new Promise((kt,Gt)=>{var Nt=an=>{try{qt(Et.next(an))}catch(un){Gt(un)}},rn=an=>{try{qt(Et.throw(an))}catch(un){Gt(un)}},qt=an=>an.done?kt(an.value):Promise.resolve(an.value).then(Nt,rn);qt((Et=Et.apply(gt,Ot)).next())});const Sn={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var _n=(gt=>(gt[gt.GET_DISCUSSES=0]="GET_DISCUSSES",gt[gt.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",gt[gt.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",gt[gt.PLUS_DISCUSS=3]="PLUS_DISCUSS",gt[gt.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",gt[gt.SET_PAGE=5]="SET_PAGE",gt[gt.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",gt))(_n||{});function yn(gt,Ot){switch(Ot.type){case 6:return sn(Wt({},gt),{loading:!0});case 0:return Wt(Wt({},gt),Ot.payload);case 1:return Wt(Wt({},gt),Ot.payload);case 4:return Wt(Wt({},gt),Ot.payload);case 3:return Wt(Wt({},gt),Ot.payload);case 5:return sn(Wt({},gt),{page:Ot.payload});case 2:return Wt(Wt({},gt),Ot.payload);default:throw new Error}}var gn=({user:gt,identifier:Ot,hack:Et,onTriggerPraise:kt,activeIndex:Gt})=>{const[Nt,rn]=(0,ye.useReducer)(yn,Sn),{loading:qt,page:an,data:un,count:en,actionType:In,activeDiscussIndex:En}=Nt,jn=(0,ye.useCallback)(()=>xn(void 0,null,function*(){rn({type:6});const Wn=yield Re(Ot,an),{comments:dr,disscuss_count:Vn}=Wn;rn({type:0,payload:{data:dr,count:Vn,loading:!1}})}),[an,Ot]);(0,ye.useEffect)(()=>{Gt==="2"&&jn()},[Ot,an,Gt]);function Bn(Wn){rn({type:5,payload:Wn})}function Xn(Wn){rn({type:4,payload:{actionType:Wn}})}function qn(Wn){rn(En===Wn?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Wn}})}function xr(Wn,dr,Vn){return xn(this,null,function*(){try{const pn=yield Xe(Wn);un[Vn].user_praise=dr,un[Vn].praise_count=pn.praise_count,rn({type:3,payload:{data:[...un]}})}catch(pn){console.log(pn)}})}function Pr(){return xn(this,null,function*(){const{id:Wn,params:dr,type:Vn,index:pn,parentDiscussIndex:er}=In;if(Vn==="hidden-discuss"&&(yield tt(Ot,Wn,dr),er?un[er].children[pn].hidden=dr.hidden==1:un[pn].hidden=dr.hidden==1,rn({type:4,payload:{actionType:null,data:[...un]}})),Vn==="delete-discuss"){if(yield st(Ot,Wn),er||er===0){let pr=un[er].children;for(let Rt=pr.length-1;Rt>=0;Rt--)if(pr[Rt].id===Wn){pr.splice(Rt,1);break}un[er].children=pr}else for(let pr=un.length-1;pr>=0;pr--)if(un[pr].id===Wn){un.splice(pr,1);break}rn({type:4,payload:{actionType:null,data:[...un]}})}})}function nr(){rn({type:4,payload:{actionType:null}})}function cr(Wn,dr){return xn(this,null,function*(){try{yield nt(Ot,Wn,dr),jn()}catch(Vn){console.log(Vn)}})}function Dr(Wn){return xn(this,null,function*(){rn({type:6}),yield $e(Ot,Wn),jn()})}return yt.createElement(yt.Fragment,null,yt.createElement("div",{className:"discuss-panel"},un.length===0?yt.createElement(Qe.Z,null):un.map((Wn,dr)=>yt.createElement(pt,{onReplyDiscuss:cr,onPlusDiscuss:xr,onSetActiveDiscussIndex:qn,onSetActionType:Xn,data:Wn,index:dr,user:gt,activeDiscussIndex:En})),en>10?yt.createElement("div",{className:"pagination-container"},yt.createElement(Ge.Z,{showQuickJumper:!0,onChange:Bn,current:an,total:en})):null),yt.createElement(Mt,{user_praise:Et.user_praise,praise_count:Et.praises_count,praisePlus:kt,discuss_count:Et.comments_count,onCreateDiscuss:Dr}),yt.createElement(x.Z,null,yt.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:!!In,onOk:Pr,onCancel:nr},yt.createElement("p",null,In?In.message:"")),yt.createElement(vt.Z,null)))},Ct=Se(57809),Dt=Se(92832),At=Se(65615),tn={},cn=Se(59301),ft=({hack:gt,current_user:Ot})=>cn.createElement("div",{className:tn.answer},gt!=null&>.analysis?cn.createElement(Ze.Z,{style:{padding:"13px 0"},value:(gt==null?void 0:gt.analysis)||""}):cn.createElement(Qe.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_"},dt=Se(36381),Bt=Se(43604),Qt=Se(78241),Kt=Se(5871),Fn=Se(24833),fn=Se(59301);const{TextArea:Un}=Dt.default,{Panel:Gn}=dt.default;var fr=({data:gt,hack:Ot})=>(console.log(gt,Ot,"data"),Ot!=null&&Ot.is_file?fn.createElement(Fn.Y2,{disabled:!0,className:ht.uploadTableWrapper,showScore:!Ot.test_set_score,data:gt,isProgramHomework:!0}):fn.createElement("div",{className:ht.hackSets},gt==null?void 0:gt.map((Et,kt)=>fn.createElement(dt.default,{accordion:!0,bordered:!1,key:kt,defaultActiveKey:kt===0&&Et.id,className:ht.collapseWrapper,expandIcon:({isActive:Gt})=>fn.createElement("i",{className:`iconfont icon-weizhankai ${Gt?ht.open:ht.close}`,style:{fontSize:14,transition:"all .2s"}})},fn.createElement(Gn,{key:Et.id,header:fn.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},fn.createElement(Bt.Z,{className:ht.panelHeader},fn.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",kt+1)),fn.createElement(Bt.Z,{flex:1},fn.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Ot!=null&&Ot.test_set_score)&&fn.createElement(Bt.Z,{className:ht.rateInput},fn.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),fn.createElement("div",null,fn.createElement(Qt.default.Item,{noStyle:!0},fn.createElement(Kt.Z,{value:Et==null?void 0:Et.score,className:ht.baseFormItem,min:0,max:100,disabled:!0}))),fn.createElement("span",{className:"ml10"},"%")))))},fn.createElement(Qt.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},fn.createElement(Un,{readOnly:!0,value:Et==null?void 0:Et.input,rows:4})),fn.createElement(Qt.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},fn.createElement(Un,{readOnly:!0,value:Et==null?void 0:Et.output,rows:4}))))))),zt={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},Tt=Se(59301),Ut=(0,ye.forwardRef)(({data:gt=[]},Ot)=>{var Et;const[kt,Gt]=(0,ye.useState)(),Nt=gt.filter(qt=>qt.show);(0,ye.useEffect)(()=>{Nt.length&&Gt(Nt[0].id)},[gt==null?void 0:gt.length]);const rn=((Et=Nt.find(qt=>qt.id===kt))==null?void 0:Et.element)||null;return(0,ye.useImperativeHandle)(Ot,()=>({setActiveTab:qt=>Gt(qt)})),Tt.createElement("div",{className:zt.tabs},Tt.createElement("div",{className:zt.tabWarp},Nt.map(qt=>Tt.createElement("div",{onClick:()=>Gt(qt.id),className:`${zt.tab} ${qt.id===kt?zt.active:""}`,key:qt.id},qt.name))),Tt.createElement("div",{className:zt.content},rn))}),Pt=Se(59301),Lt=Object.defineProperty,Ft=Object.defineProperties,Xt=Object.getOwnPropertyDescriptors,nn=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,wn=(gt,Ot,Et)=>Ot in gt?Lt(gt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Et}):gt[Ot]=Et,Pn=(gt,Ot)=>{for(var Et in Ot||(Ot={}))mn.call(Ot,Et)&&wn(gt,Et,Ot[Et]);if(nn)for(var Et of nn(Ot))bn.call(Ot,Et)&&wn(gt,Et,Ot[Et]);return gt},Tn=(gt,Ot)=>Ft(gt,Xt(Ot)),On=(gt,Ot,Et)=>new Promise((kt,Gt)=>{var Nt=an=>{try{qt(Et.next(an))}catch(un){Gt(un)}},rn=an=>{try{qt(Et.throw(an))}catch(un){Gt(un)}},qt=an=>an.done?kt(an.value):Promise.resolve(an.value).then(Nt,rn);qt((Et=Et.apply(gt,Ot)).next())});const jt={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},rr={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var zn=({hack:gt,onTriggerPraise:Ot,topicId:Et,page:kt,onPageChange:Gt,user:Nt,current_user:rn,submitRecords:qt,submitting:an,submitResult:un,setActiveIndex:en,hack_sets:In})=>{var En,jn;const[Bn]=(0,je.useSearchParams)(),[Xn,qn]=(0,ye.useState)("0"),xr=(0,je.useLocation)(),[Pr,nr]=(0,ye.useState)(!1),[cr,Dr]=(0,ye.useState)(null),[Wn,dr]=(0,ye.useState)([]),[Vn,pn]=(0,ye.useState)([]),[er,pr]=(0,ye.useState)({page:1,limit:10}),Rt=(0,ye.useRef)(null),An=(0,ye.useRef)(null);console.log(Nt,"user");let[kn,tr]=(0,ye.useState)(Tn(Pn({},(0,je.useParams)()),{page:1,per_page:20,name:""}));(0,ye.useEffect)(()=>{An.current&&(gt==null?void 0:gt.is_close_tips)===!1&&cr===null&&Dr(!0)},[An.current,gt==null?void 0:gt.is_close_tips,cr]);function ir(){return On(this,null,function*(){yield(0,De.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,ye.useEffect)(()=>{en(Xn)},[Xn]);function sr(Rn){return On(this,null,function*(){let Sr=Rn.target.id;if(Sr==="1"){let Lr=yield(0,De.ZP)(`/api/myproblems/${kn.id}/redo_logs.json`,{method:"get",params:Pn({},er)});(Lr==null?void 0:Lr.status)===0&&pn(Lr==null?void 0:Lr.data)}qn(Sr)})}(0,ye.useEffect)(()=>xe.Z.subscribe("to-commit-info",()=>{qn("1"),Rt.current&&Rt.current.setActiveTab("1")}),[]),(0,ye.useEffect)(()=>xe.Z.subscribe("to-reset-info",()=>{sr({target:{id:"1"}}),Rt.current&&Rt.current.setActiveTab("2")}),[]);function hr(){qn("2")}function $n(){return On(this,null,function*(){let Rn=yield(0,De.ZP)("/api/problems/my_hack_list.json",{method:"get",params:Pn({identifier:kn==null?void 0:kn.id},kn)});dr(Rn)})}const vn=[{title:null,description:Pt.createElement("div",null,Pt.createElement("b",{onClick:()=>{Dr(!1),ir(),nr(!0),$n()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),Pt.createElement("div",{className:"c-grey-333 mt10 mb20"},"\u672C\u6B21\u4F5C\u4E1A\u6240\u9700\u5B8C\u6210\u7684\u8BD5\u9898\u90FD\u53EF\u4EE5\u5728\u8FD9\u91CC\u627E\u5230\uFF0C\u5E76\u652F\u6301\u70B9\u51FB\u8BD5\u9898\u8C03\u6574\u5230\u505A\u9898\u9875"),Pt.createElement(ce.ZP,{onClick:()=>{Dr(!1),ir()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>An.current}];return Pt.createElement("div",{className:Le["left-panel"]},Pt.createElement("ul",{className:`${Le["s-navs"]} ${Le["bg-white"]} ${Le.b1}`},(gt==null?void 0:gt.is_program)&&!Bn.get("pageId")&&Pt.createElement(oe.Z,{title:"\u9898\u76EE\u5217\u8868"},Pt.createElement("div",{onClick:()=>{$n(),nr(!0)},className:Le.btns,ref:An,style:cr?{pointerEvents:"none"}:{}},Pt.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Pt.createElement("li",{style:{marginLeft:20}},Pt.createElement("a",{className:Xn==="0"?Le.active:"",id:"0",onClick:sr},"\u9898\u76EE\u63CF\u8FF0")),Pt.createElement("li",null,Pt.createElement("a",{className:Xn==="1"?Le.active:"",id:"1",onClick:sr},"\u64CD\u4F5C\u8BB0\u5F55")),(Bn.get("type")!=="exercises"&&(gt==null?void 0:gt.answer_text_show)||Bn.get("type")!=="exercises"&&(gt==null?void 0:gt.analysis_show))&&Pt.createElement("li",null,Pt.createElement("a",{className:Xn==="4"?Le.active:"",id:"4",onClick:sr},"\u89E3\u7B54\u53C2\u8003")),Bn.get("type")!=="exercises"&&Pt.createElement("li",null,Pt.createElement("a",{className:Xn==="2"?Le.active:"",id:"2",onClick:sr},"\u8BC4\u8BBA")),!!(In!=null&&In.length)&&Bn.get("type")!=="exercises"&&Bn.get("type")!=="1"&&Pt.createElement("li",null,Pt.createElement("a",{className:Xn==="5"?Le.active:"",id:"5",onClick:sr},"\u6D4B\u8BD5\u7528\u4F8B"))),Pt.createElement("div",{className:`${Le["tab-panel-body"]} ${Xn==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Pt.createElement(at,{hack:gt,onTriggerPraise:Ot,toDiscuss:hr})),Pt.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${Xn==="1"?"":"hide"}`},Pt.createElement(Ut,{ref:Rt,data:[{id:"1",show:Bn.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:Pt.createElement(Pt.Fragment,null,qt!=null&&qt.records_count||an?Pt.createElement(rt,{page:kt,onPageChange:Gt,topicId:Et,submitting:an,key:(un==null?void 0:un.id)||1,submitRecords:qt,submitResult:un}):Pt.createElement(Qe.Z,null))},{id:"2",show:Bn.get("type")==="exercises"||(gt==null?void 0:gt.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:Pt.createElement(Pt.Fragment,null,Pt.createElement(He.default,{pagination:!1,dataSource:Vn==null?void 0:Vn.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Rn,Sr,Lr)=>Ne()(Rn).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Rn,Sr,Lr)=>{var Rr;return(Rr=[{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(Wr=>Wr.id===Rn))==null?void 0:Rr.name}}]}),Pt.createElement(Ge.Z,{style:{marginTop:10},current:er.page,total:Vn==null?void 0:Vn.count,hideOnSinglePage:!0,onChange:Rn=>On(void 0,null,function*(){er.page=Rn,pr(er);let Sr=yield(0,De.ZP)(`/api/myproblems/${kn.id}/redo_logs.json`,{method:"get",params:Tn(Pn({},er),{courseId:kn.courseId})});(Sr==null?void 0:Sr.status)===0&&pn(Sr==null?void 0:Sr.data)})}))}]})),Pt.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${Xn==="4"?"":"hide"}`},Pt.createElement(Ut,{data:[{id:"1",show:Bn.get("type")!=="exercises"&&(gt==null?void 0:gt.answer_text_show),name:"\u7B54\u6848",element:Pt.createElement(Pt.Fragment,null,Pt.createElement(Ie,{hack:gt,current_user:rn}))},{id:"2",show:Bn.get("type")!=="exercises"&&(gt==null?void 0:gt.analysis_show),name:"\u89E3\u6790",element:Pt.createElement(Pt.Fragment,null,Pt.createElement(ft,{hack:gt,current_user:rn}))}]})),Pt.createElement("div",{className:`${Le["tab-panel-body"]} ${Xn==="2"?"":"hide"}`,style:{padding:0}},Pt.createElement(gn,{user:Nt,activeIndex:Xn,identifier:gt.identifier,hack:gt,onTriggerPraise:Ot})),Pt.createElement("div",{className:`${Le["tab-panel-body"]} ${Xn==="5"?"":"hide"}`,style:{padding:12}},Pt.createElement(fr,{data:In||[],hack:gt})),Pt.createElement(a.Z,{rootClassName:Le.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>nr(!1),open:Pr},Pt.createElement(ie.Z,null,Pt.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),Pt.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",Wn==null?void 0:Wn.total_count,"\u9898\xA0[\xA0",Wn==null?void 0:Wn.total_score,"\u5206\xA0]\xA0"),!(Nt!=null&&Nt.hack_manager)&&Pt.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Wn==null?void 0:Wn.work_score,"\u5206")),Pt.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Pt.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(Nt!=null&&Nt.hack_manager)&&Pt.createElement(Ct.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Rn=>{kn.page=1,kn.finish_status=Rn,tr(Pn({},kn)),$n()}},Pt.createElement(Ct.default.Option,{value:""},"\u5168\u90E8"),Pt.createElement(Ct.default.Option,{value:0},"\u672A\u5F00\u59CB"),Pt.createElement(Ct.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),Pt.createElement(Ct.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),Pt.createElement(Ct.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Rn=>{kn.page=1,kn.difficult=Rn||null,tr(Pn({},kn)),$n()}},Pt.createElement(Ct.default.Option,{value:0},"\u5168\u90E8"),Pt.createElement(Ct.default.Option,{value:1},"\u7B80\u5355"),Pt.createElement(Ct.default.Option,{value:2},"\u9002\u4E2D"),Pt.createElement(Ct.default.Option,{value:3},"\u56F0\u96BE")),Pt.createElement(Dt.default.Search,{size:"large",onSearch:Rn=>{kn.name=Rn,kn.page=1,tr(Pn({},kn)),$n()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),Pt.createElement("div",{className:Le.list,style:{height:36,background:"#3D445C"}},!(Nt!=null&&Nt.hack_manager)&&Pt.createElement("span",null,"\u72B6\u6001"),Pt.createElement("span",null,"\u5E8F\u53F7"),Pt.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),Pt.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),Pt.createElement("div",{style:{overflow:"auto",flex:1}},(En=Wn==null?void 0:Wn.data)!=null&&En.length?(jn=Wn==null?void 0:Wn.data)==null?void 0:jn.map((Rn,Sr)=>Pt.createElement("div",{onClick:()=>On(void 0,null,function*(){let Lr=yield(0,De.ZP)(`/api/problems/${Rn==null?void 0:Rn.identifier}/start.json`,{method:"get",params:{hack_user_id:Nt==null?void 0:Nt.user_id}});Lr&&(je.history.replace(`/myproblems/${Lr==null?void 0:Lr.identifier}${window.location.search}`),window.location.reload())}),className:`${Le.list} ${Rn!=null&&Rn.checked?Le.active:""}`},!(Nt!=null&&Nt.hack_manager)&&Pt.createElement(Pt.Fragment,null,!(Rn!=null&&Rn.opened)&&Pt.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Rn==null?void 0:Rn.opened)&&!(Rn!=null&&Rn.passed)&&Pt.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Rn==null?void 0:Rn.opened)&&(Rn==null?void 0:Rn.passed)&&Pt.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),Pt.createElement("span",null,(kn.page-1)*20+(Sr+1)),Pt.createElement("span",{style:{flex:1},title:Rn.name},`[${Rn==null?void 0:Rn.score}\u5206]`,"\xA0",Rn.name),Pt.createElement("span",{style:{flexBasis:48,paddingRight:0}},jt[Rn.difficult]))):Pt.createElement(Qe.Z,null)),Pt.createElement(Ge.Z,{current:kn.page,className:"mt20",hideOnSinglePage:!0,total:Wn==null?void 0:Wn.count,pageSize:kn.per_page,onChange:(Rn,Sr)=>{kn.page=Rn,kn.per_page=Sr,$n()}})),Pt.createElement(At.Z,{rootClassName:Le.tour,closeIcon:!1,open:!!cr,steps:vn,gap:{offset:3,radius:2}}))},Yn=Se(62522),dn=Se(93261),It=Se(46942),Ht=Se(38992),hn=Se(39649),Vt=Se(71400),Cn=Se(7850),Nn=Se(92310),Hn=Se.n(Nn),Dn=Se(48569),Kn=Se(18378),mr=Se(54318),vr=Se(71302),Jt=Se(59301),Mr=Object.defineProperty,Er=Object.defineProperties,Or=Object.getOwnPropertyDescriptors,ur=Object.getOwnPropertySymbols,wr=Object.prototype.hasOwnProperty,yr=Object.prototype.propertyIsEnumerable,br=(gt,Ot,Et)=>Ot in gt?Mr(gt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:Et}):gt[Ot]=Et,Mn=(gt,Ot)=>{for(var Et in Ot||(Ot={}))wr.call(Ot,Et)&&br(gt,Et,Ot[Et]);if(ur)for(var Et of ur(Ot))yr.call(Ot,Et)&&br(gt,Et,Ot[Et]);return gt},Jn=(gt,Ot)=>Er(gt,Or(Ot)),lr=(gt,Ot)=>{var Et={};for(var kt in gt)wr.call(gt,kt)&&Ot.indexOf(kt)<0&&(Et[kt]=gt[kt]);if(gt!=null&&ur)for(var kt of ur(gt))Ot.indexOf(kt)<0&&yr.call(gt,kt)&&(Et[kt]=gt[kt]);return Et},Zn=(gt,Ot,Et)=>new Promise((kt,Gt)=>{var Nt=an=>{try{qt(Et.next(an))}catch(un){Gt(un)}},rn=an=>{try{qt(Et.throw(an))}catch(un){Gt(un)}},qt=an=>an.done?kt(an.value):Promise.resolve(an.value).then(Nt,rn);qt((Et=Et.apply(gt,Ot)).next())});const{Countdown:gr}=E.default,ar={Java:"java",C:"c",Python:"py","C++":"c"};var _r=(gt=>(gt[gt.SET_LOADING=0]="SET_LOADING",gt[gt.GET_DATA=1]="GET_DATA",gt[gt.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",gt[gt.SET_DATA=3]="SET_DATA",gt[gt.SET_DEBUGING=4]="SET_DEBUGING",gt[gt.SET_SUBMITING=5]="SET_SUBMITING",gt[gt.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",gt[gt.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",gt[gt.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",gt[gt.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",gt[gt.SET_PAGE=10]="SET_PAGE",gt))(_r||{});function Cr(){return new Date().getTime()}const or={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Ir(gt,Ot){switch(Ot.type){case 1:return Mn(Mn({},gt),Ot.payload);case 3:return Jn(Mn({},gt),{data:Ot.payload});case 0:return Jn(Mn({},gt),{loading:Ot.payload});case 9:return Jn(Mn({},gt),{showNote:Ot.payload});case 4:return Jn(Mn({},gt),{debuging:Ot.payload});case 5:return Jn(Mn({},gt),{submitting:Ot.payload});case 2:return Jn(Mn({},gt),{submitRecords:Ot.payload});case 10:return Jn(Mn({},gt),{submitRecordPage:Ot.payload});case 6:return Jn(Mn({},gt),{executingMessage:Ot.payload});case 7:return Mn(Mn({},gt),Ot.payload);case 8:return Mn(Mn({},gt),Ot.payload);default:throw new Error}}var Ar=({children:gt})=>{var Ot,Et,kt,Gt,Nt;const[rn,qt]=(0,ye.useReducer)(Ir,or),{id:an}=(0,je.useParams)(),un=(0,je.useLocation)(),[en]=(0,je.useSearchParams)(),{loading:In,data:En,debugResult:jn,submitResult:Bn,submitRecords:Xn,submitRecordPage:qn,showNote:xr,debuging:Pr,submitting:nr,executingMessage:cr}=rn,[Dr,Wn]=(0,ye.useState)("#37AD83"),[dr,Vn]=(0,ye.useState)(null),[pn,er]=(0,ye.useState)({}),[pr,Rt]=(0,ye.useState)(!0),[An,kn]=(0,ye.useState)(!1),[tr,ir]=(0,ye.useState)(!1),sr=(0,ye.useRef)(null),hr=(0,ye.useRef)(0),$n=En==null?void 0:En.user,vn=En==null?void 0:En.hack,[Rn,Sr]=(0,ye.useState)(!1),Lr=(0,ye.useRef)(1),Rr=(0,ye.useRef)(!1);(0,Dn.y)(en.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Wr}=(0,Dn.X)(),[Hr,Zr]=(0,ye.useState)(""),Ur=(0,hn._)(pn);(0,ye.useEffect)(()=>{function Ln(){return Zn(this,null,function*(){var Qn,jr,Nr,Qr,Vr;Rt(!0);const Fr=yield(0,ue.fu)(an,{exercise_id:en.get("exercisesId")});if(setTimeout(()=>{Rt(!1)},800),Fr.status!==401){try{Fr.hack.code=Oe.Base64.decode(Fr.hack.code)}catch(Tr){console.log(Tr)}Fr.hack=Jn(Mn({},Fr.hack),{is_program:en.get("type")==="1"}),qt({type:1,payload:{loading:!1,data:Fr}})}if(en.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let Tr;en.get("coursesId")=="coursesId"?Tr=yield(0,se._F)({categoryId:en.get("exercisesId"),login:en.get("login")}):Tr=yield(0,se._B)({categoryId:en.get("exercisesId"),login:en.get("login")}),er(Mn({},Tr)),Wr((Qn=Tr==null?void 0:Tr.exercise)==null?void 0:Qn.forbid_copy),typeof((jr=Tr==null?void 0:Tr.exercise)==null?void 0:jr.left_time)=="number"&&(Vn(Date.now()+((Nr=Tr==null?void 0:Tr.exercise)==null?void 0:Nr.left_time)*1e3),setTimeout(()=>{Wn("red")},(((Qr=Tr==null?void 0:Tr.exercise)==null?void 0:Qr.left_time)-300>0?((Vr=Tr==null?void 0:Tr.exercise)==null?void 0:Vr.left_time)-300:0)*1e3))}})}an&&Ln()},[an]),(0,ye.useEffect)(()=>{var Ln;return en.get("type")==="exercises"&&((Ln=pn==null?void 0:pn.exercise)!=null&&Ln.screen_open)&&(window.removeEventListener("blur",Gr,!1),Vt.U.forEach((Qn,jr)=>{window.addEventListener(Qn,Gr,!1)}),window.addEventListener("blur",Gr,!1),window.focus()),()=>{document.removeEventListener((0,ae.gH)(),Gr)}},[pn]),(0,ye.useEffect)(()=>{Hr==="1"&&an&&vn!=null&&vn.language&&ta()},[an,qn,vn==null?void 0:vn.language,Hr]),(0,ye.useEffect)(()=>(vn!=null&&vn.is_program&&(hr.current=0,sr.current=setInterval(()=>{zr()},15e3)),()=>{clearInterval(sr.current)}),[vn==null?void 0:vn.is_program]);const zr=()=>Zn(void 0,null,function*(){let Ln=yield(0,De.ZP)(`/api/myproblems/${an}/save_long_time.json`,{method:"get",params:{answer_long_time:hr.current}})}),Gr=()=>{Rr.current||(0,ae.BU)(),window.parent.postMessage("backExercise","*")};function ta(){return Zn(this,null,function*(){try{const Ln=yield(0,ue.zO)(an,{limit:15,page:qn,language:vn==null?void 0:vn.language});qt({type:2,payload:Ln})}catch(Ln){console.log(Ln)}})}function na(Ln){qt({type:10,payload:Ln})}function Kr(Ln){return Zn(this,null,function*(){var Qn;let jr;(en.get("ip_limit")==="inner"||en.get("ip_bind_type")==="true")&&(jr=yield(0,dn.y)({ip_limit:en.get("ip_limit"),ip_bind:en.get("ip_bind_type")==="true"}));const Nr=yield(0,ue.n4)(an,{code:Oe.Base64.encode(Ln||vn.code),language:vn==null?void 0:vn.language,exercise_id:en.get("exercisesId"),question_id:en.get("questionId"),ip:jr});return Nr.status===-5&&(0,je.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:Jn(Mn({errorMessage:Nr==null?void 0:Nr.message},(pn==null?void 0:pn.exercise)||{}),{exercise_user_id:(Qn=pn==null?void 0:pn.exercise)==null?void 0:Qn.exercise_user_id,id:en.get("exercisesId")})}}),Nr})}function qr(){return Zn(this,null,function*(){if(Lr.current=2,!nr){qt({type:5,payload:!0});try{xe.Z.publish("to-commit-info");const Ln=yield Kr();if(console.log(Ln,1),Ln.status===0){let Fr=function(){return Zn(this,null,function*(){const{status:Tr,data:Yr}=yield(0,ue.rX)(an,"submit"),Xr=Cr()-Vr>(Nr*Qr+3)*1e3;if(Tr!==0&&!Xr&&setTimeout(Fr,1e3),Xr){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),qt({type:5,payload:!1});return}if(Tr===0){Yr.status===2&&pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(Yr==null?void 0:Yr.status)===0&&en.get("type")==="1"&&ir(!0);const ma=yield(0,ue.zO)(an,{limit:15,page:qn,language:vn==null?void 0:vn.language});qt({type:8,payload:Jn(Mn({},rn),{submitResult:Yr,submitting:!1,submitRecords:ma})})}})},Qn={};if(en.get("type")==="exercises"&&(Qn.extras={exercise_id:en.get("exercisesId"),question_id:en.get("questionId")},(en.get("ip_limit")==="inner"||en.get("ip_bind_type")==="true")&&(Qn.extras.ip=yield(0,dn.y)({ip_limit:en.get("ip_limit"),ip_bind:en.get("ip_bind_type")==="true"}))),(yield(0,ue.bM)(an,Qn)).status===-1&&en.get("exercisesId")){window.parent.location.href=`/classrooms/${en.get("coursesId")}/exercise/${en.get("exercisesId")}/detail`;return}const{time_limit:Nr,test_case_size:Qr}=vn,Vr=Cr();Fr()}else qt({type:5,payload:!1})}catch(Ln){console.log(Ln),qt({type:5,payload:!1})}Sr(!1)}})}function $r(){return Zn(this,null,function*(){Lr.current=1,rn.debuging=!0,qt({type:4,payload:!0});try{if((yield Kr()).status===0){let Vr=function(){return Zn(this,null,function*(){const{status:Fr,message:Tr,data:Yr}=yield(0,ue.rX)(an,"debug"),Xr=Cr()-Qr>(Qn+3)*1e3;if(Fr!==0&&!Xr&&(qt({type:6,payload:Tr}),setTimeout(Vr,1e3)),Xr){pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),qt({type:4,payload:!1}),qt({type:7,payload:Jn(Mn({},rn),{debugResult:{status:2},debuging:!1})});return}Fr===0&&(Yr.status===2&&pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),qt({type:4,payload:!1}),qt({type:7,payload:Jn(Mn({},rn),{debugResult:Yr,debuging:!1})}))})};const{time_limit:Qn}=vn;let jr={input:encodeURIComponent(En.test_case.input)};if(en.get("type")==="exercises"&&(jr.exercise_id=en.get("exercisesId")),(yield(0,ue.MU)(an,jr)).status===-1&&en.get("exercisesId")){window.parent.location.href=`/classrooms/${en.get("coursesId")}/exercise/${en.get("exercisesId")}/detail`;return}const Qr=Cr();Vr()}else qt({type:4,payload:!1})}catch(Ln){console.log(Ln)}finally{}})}function Jr(Ln,Qn){const jr=Qn?{modify_code:!1}:{};qt({type:3,payload:Jn(Mn({},En),{hack:Mn(Jn(Mn({},vn),{code:Ln}),jr)})}),Sr(!0)}const ra=Ln=>Zn(void 0,null,function*(){let Qn=yield(0,De.ZP)(`/api/problems/${vn==null?void 0:vn.identifier}/start.json`,{method:"get",params:{language:Ln==="C++"||Ln==="c++"?encodeURIComponent(Ln):Ln,hack_user_id:$n==null?void 0:$n.user_id}});Qn.status!==-1&&je.history.replace(`/myproblems/${Qn==null?void 0:Qn.identifier}${window.location.search}`)});function aa(Ln){let Qn=Ln.target.value;qt({type:3,payload:Jn(Mn({},En),{test_case:{input:Qn}})})}function oa(){return Zn(this,null,function*(){try{let Ln={};en.get("type")==="exercises"?Ln.exercise_id=en.get("exercisesId"):vn!=null&&vn.homework_common_id&&(Ln.homework_common_id=vn==null?void 0:vn.homework_common_id);const Qn=yield(0,ue.H7)(an,Mn({},Ln));Qn.status===401||(Jr(Oe.Base64.decode(Qn.code)),(en.get("type")==="exercises"||vn!=null&&vn.homework_common_id)&&xe.Z.publish("to-reset-info"))}catch(Ln){console.log(Ln)}})}function ia(){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:Jt.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",Jt.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return Zn(this,null,function*(){const Ln=yield(0,ue.fi)(an);Ln.status===401||Jr(Oe.Base64.decode(Ln.code),!0)})}})}function sa(){qt({type:9,payload:!0})}function la(){qt({type:9,payload:!1})}function ua(Ln){return Zn(this,null,function*(){yield(0,ue.MK)(an,Ln),qt({type:1,payload:{showNote:!1,data:Jn(Mn({},En),{hack:Jn(Mn({},vn),{notes:Ln.notes})})}})})}const ca={hack:vn,isLoading:pr,input:(Ot=En==null?void 0:En.test_case)==null?void 0:Ot.input,is_file:(Et=En==null?void 0:En.test_case)==null?void 0:Et.is_file,language:vn==null?void 0:vn.language,code:vn==null?void 0:vn.code,title:"main."+ar[vn==null?void 0:vn.language],modify_code:vn==null?void 0:vn.modify_code,notes:vn==null?void 0:vn.notes,debugResult:jn,debuging:Pr,submitting:nr,submitResult:Bn,executingMessage:cr,onCancelNote:la,onAddNote:ua,showNote:xr,user:$n,onShowNote:sa,onSubmitCode:qr,onChangeCode:Jr,onChangeInput:aa,onDebugCode:$r,onResetCode:oa,onSyncCode:ia,onUpdateCode:Kr,onChangeLanguage:ra,isWhiteTheme:An,setIsWhiteTheme:kn,topDispatch:qt};function da(){return Zn(this,null,function*(){const{praise_count:Ln}=yield(0,ue.vl)(vn.id,{container_type:"Hack",type:1});let Qn=Jn(Mn({},En),{hack:Jn(Mn({},vn),{praises_count:Ln,user_praise:!vn.user_praise})});qt({type:3,payload:Qn})})}const fa={topicId:an,submitResult:Bn,submitRecords:Xn,submitting:nr,page:qn,onPageChange:na,hack:vn,user:En==null?void 0:En.user,hack_sets:En==null?void 0:En.hack_sets,current_user:En==null?void 0:En.current_user,onTriggerPraise:da,setActiveIndex:Zr};console.log(pn);const ga=()=>en.get("type")==="exercises"?!1:!!(en.get("type")==="1"&&Object.values((vn==null?void 0:vn.homework_extension)||{}).some(Boolean));return Jt.createElement(Jt.Fragment,null,Jt.createElement(he.Z,{spinning:In,delay:500},En?Jt.createElement(Jt.Fragment,null,Jt.createElement("header",{className:Hn()(Cn.Z.header,An&&Cn.Z.whiteHeader)},en.get("type")!=="exercises"&&Jt.createElement("div",null,Jt.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${$n==null?void 0:$n.image_url}`,alt:"user",width:36}),Jt.createElement("span",{style:{color:An?"#333":"#B2BACB",fontSize:16}},$n==null?void 0:$n.name)),en.get("type")==="exercises"&&Jt.createElement("div",null,Jt.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",Jt.createElement("span",{className:"ml10"},(kt=pn==null?void 0:pn.exercise)==null?void 0:kt.user_name)),Jt.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",Jt.createElement("span",{className:"ml10"},(Gt=pn==null?void 0:pn.exercise)==null?void 0:Gt.student_id))),Jt.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},Jt.createElement("div",null,vn.name)),(vn==null?void 0:vn.is_program)&&Jt.createElement(It.Z,{defaultValue:vn==null?void 0:vn.answer_long_time,onChange:Ln=>{hr.current=Ln},className:Cn.Z.timepiece}),$n!=null&&$n.hack_manager?Jt.createElement(je.Link,{className:Cn.Z.btn_edit,to:en.get("type")==="1"?en.get("pageId")?`/problems/newedit/${vn.identifier}?type=1&pageId=${en.get("pageId")}&backUrl=${en.get("backUrl")}`:`/problems/newedit/${vn.identifier}?type=1`:`/problems/newedit/${vn.identifier}`}," ",Jt.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((Nt=pn==null?void 0:pn.exercise)==null?void 0:Nt.left_time)&&Jt.createElement(Jt.Fragment,null,Jt.createElement("span",{style:{color:Dr,marginRight:6},className:`iconfont icon-daojishi ${Cn.Z.djs}`}),Jt.createElement("span",{className:"c-white mr20"},Jt.createElement(gr,{valueStyle:{color:Dr,fontSize:20,fontWeight:500},title:Jt.createElement("span",{style:{color:Dr,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:dr,onFinish:()=>Zn(void 0,null,function*(){const Ln=yield(0,se.VL)({categoryId:en.get("exercisesId"),commit_method:2});if((Ln==null?void 0:Ln.status)===0&&(Kr(),pe.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:Jt.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",Jt.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Zn(void 0,null,function*(){window.parent.location.href=`/classrooms/${en.get("coursesId")}/exercise/${en.get("exercisesId")}/detail`})})),(Ln==null?void 0:Ln.status)===-3){const Qn=parseInt(Ln==null?void 0:Ln.message);Vn(Date.now()+Qn*1e3)}})}))),en.get("type")==="exercises"?Jt.createElement(ce.ZP,{type:"primary",onClick:()=>{const Ln=()=>Zn(void 0,null,function*(){yield Kr(),Sr(!1),Ur(),Rr.current=!0,Gr()});if(!(Xn!=null&&Xn.records_count)||Rn){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:Jt.createElement("div",{style:{color:"#FF0000"}},"\u8BF7\u786E\u8BA4\u4F60\u7684\u7B54\u9898\u5185\u5BB9\u662F\u5426\u8FDB\u884C\u8BC4\u6D4B\u5E76\u63D0\u4EA4\uFF0C\u672A\u8BC4\u6D4B\u5219\u4F1A\u5BFC\u81F4\u8BE5\u9898\u65E0\u6CD5\u83B7\u5F97\u5206\u6570"),onOk:Ln});return}Ln()}},Jt.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):Jt.createElement("span",{onClick:()=>{var Ln;if(en.get("backUrl"))je.history.push(en.get("backUrl"));else if(en.get("type")==="1"){let Qn=(Ln=localStorage.getItem("program_homework"))==null?void 0:Ln.split(",");je.history.push(`/classrooms/${Qn==null?void 0:Qn[0]}/program_homework/${Qn==null?void 0:Qn[1]}/detail`)}else je.history.push("/problemset")}},Jt.createElement(oe.Z,{title:"\u5173\u95ED"},Jt.createElement("i",{style:{color:An?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),Jt.createElement(he.Z,{size:"large",spinning:pr},Jt.createElement(re.Z,{className:Hn()(Cn.Z.myProblems,An&&Cn.Z.whiteMyProblems),leftChild:Jt.createElement(zn,Mn({},fa)),rightChild:Jt.createElement(kr,Mn({},ca))}))):null,Jt.createElement(pe.default,{centered:!0,closable:!1,width:680,footer:null,open:tr,className:"oj-modal"},Jt.createElement("section",{className:"oj-modal-content"},Jt.createElement("div",{className:"oj-modal-head"},Jt.createElement("img",{src:Yn,alt:""}),Jt.createElement("i",{onClick:()=>ir(!1),className:"iconfont icon-guanbi1"})),Jt.createElement("aside",null,Jt.createElement("img",{className:"mr30",src:vr.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",Jt.createElement("span",{style:{color:"#75d6ba",marginRight:100}},Bn==null?void 0:Bn.execute_time,"ms"),"\u4F18\u4E8E",Jt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Bn==null?void 0:Bn.time_better_than)||100,"%"),"\u7684\u7528\u6237"),Jt.createElement("aside",{className:"mb50"},Jt.createElement("img",{src:mr.Z,className:"mr30"}),Jt.createElement("span",{className:"oj-modal-tt"},Jt.createElement("span",null,Jt.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),Jt.createElement("span",{className:"c-light-primary"},Bn==null?void 0:Bn.execute_memory,"kb")),Jt.createElement("span",null,Jt.createElement("span",null))),"\u4F18\u4E8E",Jt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Bn==null?void 0:Bn.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),Jt.createElement("div",{id:"oj-modal-next",onClick:()=>Zn(void 0,null,function*(){var Ln;if(Bn!=null&&Bn.next_identifier){let Qn=yield(0,De.ZP)(`/api/problems/${Bn==null?void 0:Bn.next_identifier}/start.json`,{method:"get",params:{hack_user_id:$n==null?void 0:$n.user_id}});Qn&&(je.history.replace(`/myproblems/${Qn==null?void 0:Qn.identifier}${window.location.search}`),window.location.reload())}else{let Qn=(Ln=localStorage.getItem("program_homework"))==null?void 0:Ln.split(",");je.history.push(`/classrooms/${Qn==null?void 0:Qn[0]}/program_homework/${Qn==null?void 0:Qn[1]}/detail`)}}),className:"oj-modal-btn"},Bn!=null&&Bn.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"))),ga()&&Jt.createElement(Kn.Z,{showData:vn==null?void 0:vn.homework_extension,description:vn==null?void 0:vn.description,code:vn.code,sendParams:{source:"hack"}})),Jt.createElement(Ht.Z,{successCb:()=>{Lr.current===1?$r():qr()}}))};function Br({title:gt,modify_code:Ot,onSyncCode:Et,onShowCodeSetting:kt,onResetCode:Gt,hack:Nt,onChangeLanguage:rn,isWhiteTheme:qt}){var an;const un=()=>{pe.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:Jt.createElement(te.Z,null),content:"\u4F60\u5728\u672C\u6587\u4EF6\u4E2D\u4FEE\u6539\u7684\u5185\u5BB9\u5C06\u4E22\u5931\uFF0C\u662F\u5426\u786E\u5B9A\u91CD\u65B0\u52A0\u8F7D\u521D\u59CB\u4EE3\u7801\uFF1F",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:Gt})},[en]=(0,je.useSearchParams)(),In=en.get("language"),En=jn=>jn==="1"?"c++":jn==="2"?"C++":jn;return(0,ye.useEffect)(()=>{In&&rn(En(In))},[]),(0,ye.useEffect)(()=>{Nt!=null&&Nt.tpm_code_modified&&pe.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:Jt.createElement(te.Z,null),content:Jt.createElement("div",null,Jt.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),Jt.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),Jt.createElement("div",null,"\u8FD8\u672A\u5B8C\u6210\u8BC4\u6D4B\u7684\u4EFB\u52A1\u4EFB\u52A1\u4EE3\u7801\uFF0C\u8BF7\u81EA\u884C\u4FDD\u5B58\uFF01")),centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>Gt()})},[Nt==null?void 0:Nt.language]),console.log(Nt,qt,"hack"),Jt.createElement("div",{className:`${Cn.Z.codeHead} ${qt?Cn.Z.whiteCodeHead:""}`},Jt.createElement("div",{className:Cn.Z.navWrap},(an=Nt==null?void 0:Nt.all_language)==null?void 0:an.map(jn=>Jt.createElement("div",{className:`${Cn.Z.nav} ${jn===(Nt==null?void 0:Nt.language)?Cn.Z.active:""}`,key:jn,onClick:()=>rn(jn)},Jt.createElement(oe.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},Jt.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),Jt.createElement("span",null,jn)))),Jt.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Ot?Jt.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Et},Jt.createElement("img",{src:Me,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,Jt.createElement("a",{onClick:un},Jt.createElement(oe.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},Jt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),Jt.createElement("a",{onClick:kt},Jt.createElement(oe.Z,{title:"\u8BBE\u7F6E"},Jt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function kr(gt){var Ot=gt,{input:Et,is_file:kt,showNote:Gt,onShowNote:Nt,notes:rn,onCancelNote:qt,onAddNote:an,debugResult:un,language:en,debuging:In,submitting:En,executingMessage:jn,code:Bn,onSubmitCode:Xn,onDebugCode:qn,onChangeCode:xr,onChangeInput:Pr,onUpdateCode:nr,user:cr,isLoading:Dr,submitResult:Wn}=Ot,dr=lr(Ot,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function Vn(er){return Jt.createElement(Br,Jn(Mn({},dr),{onShowCodeSetting:er}))}const pn=Mn({input:Et,is_file:kt,debugResult:un,debuging:In,submitting:En,executingMessage:jn,onDebugCode:qn,onChangeCode:xr,onSubmitCode:Xn,onChangeInput:Pr,user:cr,submitResult:Wn},dr);return Jt.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},Jt.createElement(we,{setIsWhiteTheme:dr==null?void 0:dr.setIsWhiteTheme,isLoading:Dr,language:en,value:Bn,onChange:xr,onUpdateCode:nr,ActionBarRender:Vn}),Jt.createElement(Fe.ZP,Mn({},pn)))}},76826:function(ct,ot,Se){"use strict";Se.d(ot,{h:function(){return ye}});var ye=(je=>(je[je.NOMATCH=-1]="NOMATCH",je[je.OK=0]="OK",je[je.TIMEOUT=2]="TIMEOUT",je[je.PODFAILURE=3]="PODFAILURE",je[je.COMPILEFAILURE=4]="COMPILEFAILURE",je[je.EXECUTEFAILURE=5]="EXECUTEFAILURE",je[je.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",je))(ye||{})},5247:function(ct,ot,Se){"use strict";Se.d(ot,{H7:function(){return a},MK:function(){return te},MU:function(){return se},X6:function(){return re},bM:function(){return ue},fi:function(){return y},fu:function(){return ie},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return ae}});var ye=Se(7660),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ee,z,le)=>z in ee?je(ee,z,{enumerable:!0,configurable:!0,writable:!0,value:le}):ee[z]=le,oe=(ee,z)=>{for(var le in z||(z={}))pe.call(z,le)&&ce(ee,le,z[le]);if(E)for(var le of E(z))he.call(z,le)&&ce(ee,le,z[le]);return ee};function ie(ee,z){return(0,ye.U2)(`myproblems/${ee}.json`,oe({hidePopLogin:!0},z||{}))}function ue(ee,z){return(0,ye.v_)(`myproblems/${ee}/code_submit.json`,z)}function se(ee,z){return(0,ye.v_)(`myproblems/${ee}/code_debug.json`,z)}function ae(ee,z){return z.language&&(z.language=encodeURIComponent(z.language)),(0,ye.U2)(`myproblems/${ee}/submit_records.json`,z)}function re(ee){return(0,ye.U2)("myproblems/record_detail.json",{id:ee})}function ne(ee,z){return(0,ye.U2)(`myproblems/${ee}/result.json`,{mode:z})}function te(ee,z){return(0,ye.v_)(`myproblems/${ee}/add_notes.json`,z)}function a(ee,z){return(0,ye.v_)(`myproblems/${ee}/restore_initial_code.json`,z)}function y(ee){return(0,ye.v_)(`myproblems/${ee}/sync_code.json`)}function x(ee,z){return(0,ye.v_)(`myproblems/${ee}/update_code.json`,z)}function b(ee,z){return(0,ye.v_)(`discusses/${ee}/plus.json`,z)}},36391:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se.n(he),oe=Se(43219),ie=Se(99325),ue=Se(24334),se=Se.n(ue),ae=Se(7660),re=Se(5247),ne=Se(21758),te=Se(61186),a=Se.n(te),y=Se(59301),x=Object.defineProperty,b=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ge=(Pe,Ee,Ae)=>Ee in Pe?x(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Pe[Ee]=Ae,fe=(Pe,Ee)=>{for(var Ae in Ee||(Ee={}))le.call(Ee,Ae)&&ge(Pe,Ae,Ee[Ae]);if(z)for(var Ae of z(Ee))de.call(Ee,Ae)&&ge(Pe,Ae,Ee[Ae]);return Pe},me=(Pe,Ee)=>b(Pe,ee(Ee)),be=(Pe,Ee,Ae)=>new Promise((Ce,_e)=>{var we=Fe=>{try{Oe(Ae.next(Fe))}catch(Le){_e(Le)}},Me=Fe=>{try{Oe(Ae.throw(Fe))}catch(Le){_e(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,Me);Oe((Ae=Ae.apply(Pe,Ee)).next())});const ve=({problemset:Pe,dispatch:Ee})=>{var Ae,Ce,_e,we,Me;const[Oe,Fe]=(0,ye.useState)({}),[Le,Ye]=(0,ye.useState)([]),[He,Ge]=(0,ye.useState)(!1),[Ke,ze]=(0,ye.useState)(!1),[ke,Ne]=(0,ye.useState)({}),Ve=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Ue,Be,Ze;if(((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.key)==="BPROGRAM"){const Te=(0,he.cloneDeep)((Be=Pe==null?void 0:Pe.actionTabs)==null?void 0:Be.params);Fe(Te),Ye((Ze=Te==null?void 0:Te.standard_answer)==null?void 0:Ze.map(We=>({value:"",answer:(We==null?void 0:We.answer_text)||[]})))}},[(Ae=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ae.key]);function qe(){return new Date().getTime()}const rt=()=>be(void 0,null,function*(){var Ue,Be,Ze,Te,We;if(Le.some(Je=>(Je==null?void 0:Je.value)==="")&&!He){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(He){const Je=(0,he.cloneDeep)((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.params);Ye([...(Be=Je==null?void 0:Je.standard_answer)==null?void 0:Be.map(Ie=>({value:"",answer:(Ie==null?void 0:Ie.answer_text)||[],type:""}))]),Ge(!He);return}else{let Je=Le==null?void 0:Le.map((Ie,xe)=>me(fe({},Ie),{type:Ie.types}));Ye(Je)}console.log(Le),ze(!0);let at=yield(0,ae.ZP)(`/api/problems/${(Ze=Oe==null?void 0:Oe.program_attr)==null?void 0:Ze.identifier}/start.json`,{method:"get"});const et=yield(0,re.n4)(at==null?void 0:at.identifier,{code:(Te=Oe==null?void 0:Oe.program_attr)==null?void 0:Te.code,language:(We=Oe==null?void 0:Oe.program_attr)==null?void 0:We.language,answers:Le==null?void 0:Le.map(Je=>Je.value)});if((et==null?void 0:et.status)===0){let Ie=function(){return be(this,null,function*(){const{status:xe,message:De,data:Re}=yield(0,re.rX)(at==null?void 0:at.identifier,"submit"),nt=qe()-Je>10*1e3*(Le==null?void 0:Le.length);if(xe!==0&&!nt&&setTimeout(Ie,1e3),nt){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6",content:"\u8BF7\u68C0\u67E5\u7A0B\u5E8F\u4EE3\u7801\u662F\u5426\u5B58\u5728\u6B7B\u5FAA\u73AF"}),ze(!1);return}if(xe===0){ze(!1);let $e=Le==null?void 0:Le.map((tt,st)=>me(fe({},tt),{type:(Re==null?void 0:Re.right_arr[st])===1?"success":"warning"}));Ye($e),Ne(Re),Re.status===2&&(ze(!1),pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}))}})};const Je=qe();yield(0,re.bM)(at==null?void 0:at.identifier,{}),Ie()}else ze(!1);Ge(!He)}),Qe=()=>{Fe({}),Ye([]),Ge(!1),Ee({type:"problemset/setActionTabs",payload:{}})};return y.createElement(y.Fragment,null,y.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:Pe.actionTabs.key==="BPROGRAM",title:"\u8BD5\u9898\u4F53\u9A8C",okText:He?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u4EE3\u7801",cancelText:"\u53D6\u6D88",width:708,onOk:rt,onCancel:Qe,okButtonProps:{loading:Ke}},y.createElement("div",null,y.createElement("div",{className:"c-light-primary mb5 font16"},"\u7A0B\u5E8F\u586B\u7A7A\u9898"),y.createElement(ie.Z,{value:(Ce=Oe==null?void 0:Oe.program_attr)==null?void 0:Ce.description}),((_e=Oe==null?void 0:Oe.program_attr)==null?void 0:_e.code)&&y.createElement(ie.Z,{showProgramFill:!0,onFillChange:Ue=>{let Be=Ue==null?void 0:Ue.map((Ze,Te)=>fe({},Ze));Ye(Be)},programFillValue:Le,value:ue.Base64.decode((we=Oe==null?void 0:Oe.program_attr)==null?void 0:we.code)}),He&&y.createElement(ye.Fragment,null,y.createElement("div",{className:oe.Z.line}),(Me=Oe==null?void 0:Oe.standard_answer)==null?void 0:Me.map((Ue,Be)=>y.createElement("div",{className:"c-grey-333 mb5",style:{display:"flex",alignItems:"baseline"}},y.createElement("b",null,"\u586B\u7A7A",Be+1,"\u7B54\u6848:\xA0"),y.createElement("pre",null,(Ue==null?void 0:Ue.answer_text)||""))),y.createElement("div",{className:"c-grey-333 mb10"},y.createElement("b",null,"\u89E3\u6790:\xA0"),(Oe==null?void 0:Oe.analysis)||"\u6682\u65E0\u89E3\u6790")))),(ke==null?void 0:ke.id)&&ke.status!==2&&y.createElement(pe.default,{open:(ke==null?void 0:ke.id)&&ke.status!==2,title:"\u8FD0\u884C\u7ED3\u679C",width:1100,footer:!1,onOk:()=>{Ne({})},onCancel:()=>{Ne({})}},y.createElement("div",{style:{maxHeight:600,overflow:"auto",marginBottom:15}},y.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",fontSize:14}},y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u72B6\u6001"),y.createElement("span",{style:{marginLeft:12,color:ke.status!==0&&"#E30000"}},ne.Im[ke.status])),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u63D0\u4EA4\u65F6\u95F4"),y.createElement("span",{style:{marginLeft:12}},a()(ke.created_at).format("YYYY-MM-DD HH:mm:ss"))),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u8BED\u8A00"),y.createElement("span",{style:{marginLeft:12}},ke.language)),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u6267\u884C\u7528\u65F6"),y.createElement("span",{style:{marginLeft:12}},ke.execute_time,"ms"))),y.createElement(ne.Y4,fe({},ke)))))};ot.Z=(0,je.connect)(({problemset:Pe})=>({problemset:Pe}))(ve)},95380:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Mt}});var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se(99325),oe=Se(5112),ie=Se(3113),ue=Se(28103),se=Se(43219),ae=Se(59301),re=Object.defineProperty,ne=Object.defineProperties,te=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(yt,wt,xt)=>wt in yt?re(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):yt[wt]=xt,ee=(yt,wt)=>{for(var xt in wt||(wt={}))y.call(wt,xt)&&b(yt,xt,wt[xt]);if(a)for(var xt of a(wt))x.call(wt,xt)&&b(yt,xt,wt[xt]);return yt},z=(yt,wt)=>ne(yt,te(wt)),le=(yt,wt,xt)=>new Promise((ln,Yt)=>{var on=Wt=>{try{$t(xt.next(Wt))}catch(sn){Yt(sn)}},Zt=Wt=>{try{$t(xt.throw(Wt))}catch(sn){Yt(sn)}},$t=Wt=>Wt.done?ln(Wt.value):Promise.resolve(Wt.value).then(on,Zt);$t((xt=xt.apply(yt,wt)).next())});const de=({problemset:yt,dispatch:wt,showdiv:xt,data:ln})=>{const[Yt,on]=(0,ye.useState)([]),[Zt,$t]=(0,ye.useState)(!1),Wt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var _n;((_n=Object.keys(ln))==null?void 0:_n.length)>0&&on(ln.choices)},[ln]);const sn=()=>le(void 0,null,function*(){if(!Yt.some(_n=>_n==null?void 0:_n.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Zt){const _n=(0,he.cloneDeep)(ln);on(_n.choices)}$t(!Zt)}),xn=(_n,yn)=>{console.log(_n.target.checked);const gn=Yt.map((Ct,Dt)=>z(ee({},Ct),{checked:Dt===yn?_n.target.checked:!1}));on(gn)},Sn=()=>{on([]),$t(!1),wt({type:"problemset/setActionTabs",payload:{}})};return ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),ae.createElement(ce.Z,{value:ln==null?void 0:ln.name}),Yt==null?void 0:Yt.map((_n,yn)=>{const{is_answer:gn,checked:Ct,choice_text:Dt}=_n;let At="";return Zt&&gn&&(At=se.Z.green),Zt&&!gn&&Ct&&(At=se.Z.red),ae.createElement("div",{key:yn,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${At}`},ae.createElement(oe.ZP,{onChange:tn=>xn(tn,yn),checked:Ct}),ae.createElement("span",null,Wt[yn],".\xA0"),ae.createElement(ce.Z,{className:se.Z.html,value:Dt}),Zt&&gn&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!gn&&Ct&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Zt&&ae.createElement(ye.Fragment,null,ae.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Wt[Yt.findIndex(_n=>_n.is_answer)]),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(ln==null?void 0:ln.analysis)||"\u6682\u65E0\u89E3\u6790"))),ae.createElement("div",{style:{textAlign:"end",marginTop:10}},ae.createElement(ie.ZP,{type:"primary",onClick:()=>{sn()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&&ae.createElement(ue.Z,null))};var ge=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(de),fe=Se(92832),me=Se(72714),be=Se(59301),ve=Object.defineProperty,Pe=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,we=(yt,wt,xt)=>wt in yt?ve(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):yt[wt]=xt,Me=(yt,wt)=>{for(var xt in wt||(wt={}))Ce.call(wt,xt)&&we(yt,xt,wt[xt]);if(Ae)for(var xt of Ae(wt))_e.call(wt,xt)&&we(yt,xt,wt[xt]);return yt},Oe=(yt,wt)=>Pe(yt,Ee(wt)),Fe=(yt,wt,xt)=>new Promise((ln,Yt)=>{var on=Wt=>{try{$t(xt.next(Wt))}catch(sn){Yt(sn)}},Zt=Wt=>{try{$t(xt.throw(Wt))}catch(sn){Yt(sn)}},$t=Wt=>Wt.done?ln(Wt.value):Promise.resolve(Wt.value).then(on,Zt);$t((xt=xt.apply(yt,wt)).next())});const Le=({problemset:yt,datas:wt,showdiv:xt,dispatch:ln})=>{var Yt;const[on,Zt]=(0,ye.useState)({}),[$t,Wt]=(0,ye.useState)([]),[sn,xn]=(0,ye.useState)(!1),Sn=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Ct;if(Object.keys(wt)){const Dt=(0,he.cloneDeep)(wt);Zt(Dt),Wt((Ct=Dt==null?void 0:Dt.standard_answer)==null?void 0:Ct.map(At=>Me({value:"",answer:(At==null?void 0:At.answer_text)||[]},At)))}},[wt]);const _n=()=>Fe(void 0,null,function*(){var Ct;if($t.some(Dt=>(Dt==null?void 0:Dt.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(sn){const Dt=(0,he.cloneDeep)(wt);Wt((Ct=Dt==null?void 0:Dt.standard_answer)==null?void 0:Ct.map(At=>Me({value:"",answer:(At==null?void 0:At.answer_text)||[]},At)))}xn(!sn)}),yn=(Ct,Dt)=>{const At=$t.map((tn,cn)=>Oe(Me({},tn),{value:cn===Dt?Ct.target.value:tn.value}));Wt(At)},gn=()=>{Zt({}),Wt([]),xn(!1),ln({type:"problemset/setActionTabs",payload:{}})};return be.createElement("div",null,be.createElement("div",{className:"c-light-primary mb5 font16"},"\u586B\u7A7A\u9898"),be.createElement(ce.Z,{value:on==null?void 0:on.name}),$t==null?void 0:$t.map((Ct,Dt)=>{const{value:At,answer:tn}=Ct;let cn="";return sn&&(tn!=null&&tn.includes(At))&&(cn=se.Z.green),sn&&!(tn!=null&&tn.includes(At))&&(cn=se.Z.red),be.createElement("div",{key:Dt,style:{pointerEvents:sn?"none":"auto",marginTop:10},className:`${se.Z.row} ${cn}`},be.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Dt+1,"\u7B54\u6848:"),(Ct==null?void 0:Ct.model)===1?be.createElement(fe.default.TextArea,{className:se.Z.textArea,style:{width:610,marginRight:10},onChange:ft=>yn(ft,Dt),value:At}):be.createElement(me.Z,{value:At,onChange:ft=>{const ht=$t.map((dt,Bt)=>Oe(Me({},dt),{value:Bt===Dt?ft:dt.value}));Wt(ht)}}),sn&&(tn==null?void 0:tn.includes(At))&&be.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),sn&&!(tn!=null&&tn.includes(At))&&be.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),sn&&be.createElement(ye.Fragment,null,be.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},(Yt=on==null?void 0:on.standard_answer)==null?void 0:Yt.map((Ct,Dt)=>{var At,tn;return be.createElement("div",{className:"c-grey-333 mb5"},be.createElement("b",null,"\u586B\u7A7A",Dt+1,"\u7B54\u6848:\xA0"),(Ct==null?void 0:Ct.model)===1?((At=Ct==null?void 0:Ct.answer_text)==null?void 0:At.join("\u3001"))||"":be.createElement(me.Z,{value:(tn=Ct==null?void 0:Ct.answer_text)==null?void 0:tn.join("\u3001"),disabled:!0}))}),be.createElement("div",{className:"c-grey-333 mb10"},be.createElement("b",null,"\u89E3\u6790:\xA0"),(on==null?void 0:on.analysis)||"\u6682\u65E0\u89E3\u6790"))),be.createElement("div",{style:{textAlign:"end",marginTop:10}},be.createElement(ie.ZP,{type:"primary",onClick:()=>{_n()}},sn?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&&be.createElement(ue.Z,null))};var Ye=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(Le),He=Se(59301),Ge=Object.defineProperty,Ke=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,qe=(yt,wt,xt)=>wt in yt?Ge(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):yt[wt]=xt,rt=(yt,wt)=>{for(var xt in wt||(wt={}))Ne.call(wt,xt)&&qe(yt,xt,wt[xt]);if(ke)for(var xt of ke(wt))Ve.call(wt,xt)&&qe(yt,xt,wt[xt]);return yt},Qe=(yt,wt)=>Ke(yt,ze(wt)),Ue=(yt,wt,xt)=>new Promise((ln,Yt)=>{var on=Wt=>{try{$t(xt.next(Wt))}catch(sn){Yt(sn)}},Zt=Wt=>{try{$t(xt.throw(Wt))}catch(sn){Yt(sn)}},$t=Wt=>Wt.done?ln(Wt.value):Promise.resolve(Wt.value).then(on,Zt);$t((xt=xt.apply(yt,wt)).next())});const Be=({problemset:yt,datas:wt,showdiv:xt,dispatch:ln})=>{var Yt;const[on,Zt]=(0,ye.useState)({}),[$t,Wt]=(0,ye.useState)([]),[sn,xn]=(0,ye.useState)(!1),Sn=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{if(Object.keys(wt)){const Ct=(0,he.cloneDeep)(wt);Zt(Ct),Wt(Ct.choices)}},[wt]);const _n=()=>Ue(void 0,null,function*(){if(!$t.some(Ct=>Ct==null?void 0:Ct.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(sn){const Ct=(0,he.cloneDeep)(wt);Wt(Ct.choices)}xn(!sn)}),yn=(Ct,Dt)=>{console.log(Ct.target.checked);const At=$t.map((tn,cn)=>Qe(rt({},tn),{checked:cn===Dt?Ct.target.checked:!1}));Wt(At)},gn=()=>{Zt({}),Wt([]),xn(!1),ln({type:"problemset/setActionTabs",payload:{}})};return He.createElement("div",null,He.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),He.createElement(ce.Z,{value:on==null?void 0:on.name}),$t==null?void 0:$t.map((Ct,Dt)=>{const{is_answer:At,checked:tn,choice_text:cn}=Ct;let ft="";return sn&&At&&(ft=se.Z.green),sn&&!At&&tn&&(ft=se.Z.red),He.createElement("div",{key:Dt,style:{pointerEvents:sn?"none":"auto"},className:`${se.Z.row} ${ft}`},He.createElement(oe.ZP,{onChange:ht=>yn(ht,Dt),checked:tn}),He.createElement(ce.Z,{className:se.Z.html,value:cn}),sn&&At&&He.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),sn&&!At&&tn&&He.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),sn&&He.createElement(ye.Fragment,null,He.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},He.createElement("div",{className:"c-grey-333 mb5"},He.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(Yt=$t.find(Ct=>Ct.is_answer))==null?void 0:Yt.choice_text),He.createElement("div",{className:"c-grey-333 mb10"},He.createElement("b",null,"\u89E3\u6790:\xA0"),(on==null?void 0:on.analysis)||"\u6682\u65E0\u89E3\u6790"))),He.createElement("div",{style:{textAlign:"end",marginTop:10}},He.createElement(ie.ZP,{type:"primary",onClick:()=>{_n()}},sn?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&&He.createElement(ue.Z,null))};var Ze=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(Be),Te=Se(24905),We=Se(59301),at=Object.defineProperty,et=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Re=(yt,wt,xt)=>wt in yt?at(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):yt[wt]=xt,Xe=(yt,wt)=>{for(var xt in wt||(wt={}))xe.call(wt,xt)&&Re(yt,xt,wt[xt]);if(Ie)for(var xt of Ie(wt))De.call(wt,xt)&&Re(yt,xt,wt[xt]);return yt},nt=(yt,wt)=>et(yt,Je(wt)),$e=(yt,wt,xt)=>new Promise((ln,Yt)=>{var on=Wt=>{try{$t(xt.next(Wt))}catch(sn){Yt(sn)}},Zt=Wt=>{try{$t(xt.throw(Wt))}catch(sn){Yt(sn)}},$t=Wt=>Wt.done?ln(Wt.value):Promise.resolve(Wt.value).then(on,Zt);$t((xt=xt.apply(yt,wt)).next())});const tt=({problemset:yt,data:wt,showdiv:xt,dispatch:ln})=>{const[Yt,on]=(0,ye.useState)([]),[Zt,$t]=(0,ye.useState)(!1),Wt=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var _n;((_n=Object.keys(wt))==null?void 0:_n.length)>0&&on(wt.choices)},[wt]);const sn=()=>$e(void 0,null,function*(){if(!Yt.some(_n=>_n==null?void 0:_n.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Zt){const _n=(0,he.cloneDeep)(wt);on(_n.choices)}$t(!Zt)}),xn=(_n,yn)=>{console.log(_n.target.checked);const gn=Yt.map((Ct,Dt)=>nt(Xe({},Ct),{checked:Dt===yn?_n.target.checked:Ct.checked}));on(gn)},Sn=()=>{let _n="";return Yt.forEach((yn,gn)=>{yn.is_answer&&(_n=_n+Wt[gn])}),_n};return We.createElement("div",null,We.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),We.createElement(ce.Z,{value:wt==null?void 0:wt.name}),Yt==null?void 0:Yt.map((_n,yn)=>{const{is_answer:gn,checked:Ct,choice_text:Dt}=_n;let At="";return Zt&&gn&&(At=se.Z.green),Zt&&!gn&&Ct&&(At=se.Z.red),We.createElement("div",{key:yn,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${At}`},We.createElement(Te.default,{style:{padding:3},onChange:tn=>xn(tn,yn),checked:Ct}),We.createElement("span",null,Wt[yn],".\xA0"),We.createElement(ce.Z,{className:se.Z.html,value:Dt}),Zt&&gn&&We.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!gn&&Ct&&We.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Zt&&We.createElement(ye.Fragment,null,We.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},We.createElement("div",{className:"c-grey-333 mb5"},We.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Sn()),We.createElement("div",{className:"c-grey-333 mb10"},We.createElement("b",null,"\u89E3\u6790:\xA0"),(wt==null?void 0:wt.analysis)||"\u6682\u65E0\u89E3\u6790"))),We.createElement("div",{style:{textAlign:"end",marginTop:10}},We.createElement(ie.ZP,{type:"primary",onClick:()=>{sn()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&&We.createElement(ue.Z,null))};var st=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(tt),it=Se(64726),lt=Se(59301),ut=(yt,wt,xt)=>new Promise((ln,Yt)=>{var on=Wt=>{try{$t(xt.next(Wt))}catch(sn){Yt(sn)}},Zt=Wt=>{try{$t(xt.throw(Wt))}catch(sn){Yt(sn)}},$t=Wt=>Wt.done?ln(Wt.value):Promise.resolve(Wt.value).then(on,Zt);$t((xt=xt.apply(yt,wt)).next())});const pt=({problemset:yt,dispatch:wt,showdiv:xt,datas:ln})=>{var Yt,on,Zt;const[$t,Wt]=(0,ye.useState)({}),[sn,xn]=(0,ye.useState)(!1),[Sn,_n]=(0,ye.useState)(!0),[yn,gn]=(0,ye.useState)("");(0,ye.useEffect)(()=>{if(Object.keys(ln)){const At=(0,he.cloneDeep)(ln);Wt(At)}},[ln]);const Ct=()=>ut(void 0,null,function*(){if(!yn){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}sn&&gn(""),xn(!sn)}),Dt=()=>{Wt({}),_n(!0),xn(!1),gn(""),wt({type:"problemset/setActionTabs",payload:{}})};return lt.createElement("div",null,lt.createElement("div",{className:"c-light-primary mb5 font16"},"\u7B80\u7B54\u9898"),lt.createElement(ce.Z,{value:$t==null?void 0:$t.name,style:{marginBottom:10}}),Sn?lt.createElement("div",{style:{border:"1px solid #f1f1f1",padding:10},onClick:()=>{_n(!1)}}," \u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54"):lt.createElement(it.Z,{defaultValue:yn,onChange:At=>{gn(At)}}),sn&<.createElement(ye.Fragment,null,lt.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},lt.createElement("span",{style:{color:"#5F6368"}},"\u53C2\u8003\u7B54\u6848\uFF1A"),lt.createElement("br",null),((Yt=$t==null?void 0:$t.answer_texts)==null?void 0:Yt[0])||"\u6682\u65E0\u53C2\u8003\u7B54\u6848",((on=$t==null?void 0:$t.keywords)==null?void 0:on.length)>0&<.createElement("div",{style:{marginTop:10,marginBottom:10}},lt.createElement("span",{style:{color:"#5F6368"}},"\u5173\u952E\u8BCD\uFF1A"),(Zt=$t==null?void 0:$t.keywords)==null?void 0:Zt.map(At=>{var tn,cn,ft;return((tn=At==null?void 0:At.keyword)==null?void 0:tn.length)>1?((cn=At==null?void 0:At.keyword)==null?void 0:cn.join("\u6216"))+"\uFF1B":((ft=At==null?void 0:At.keyword)==null?void 0:ft[0])+"\uFF1B"})),lt.createElement("div",{style:{color:"#5F6368"}},lt.createElement("b",null,"\u89E3\u6790:"),lt.createElement("br",null),($t==null?void 0:$t.analysis)||"\u6682\u65E0\u89E3\u6790"))),lt.createElement("div",{style:{textAlign:"end",marginTop:10}},lt.createElement(ie.ZP,{type:"primary",onClick:()=>{Ct()}},sn?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&<.createElement(ue.Z,null))};var vt=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(pt),mt=Se(59301),bt=(yt,wt,xt)=>new Promise((ln,Yt)=>{var on=Wt=>{try{$t(xt.next(Wt))}catch(sn){Yt(sn)}},Zt=Wt=>{try{$t(xt.throw(Wt))}catch(sn){Yt(sn)}},$t=Wt=>Wt.done?ln(Wt.value):Promise.resolve(Wt.value).then(on,Zt);$t((xt=xt.apply(yt,wt)).next())});const _t=({problemset:yt,dispatch:wt})=>{var xt,ln;const[Yt,on]=(0,ye.useState)({}),[Zt,$t]=(0,ye.useState)(!1),[Wt,sn]=(0,ye.useState)(!0),[xn,Sn]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var gn,Ct;if(((gn=yt==null?void 0:yt.actionTabs)==null?void 0:gn.key)==="COMBINATION"){const Dt=(0,he.cloneDeep)((Ct=yt==null?void 0:yt.actionTabs)==null?void 0:Ct.params);on(Dt)}},[(xt=yt==null?void 0:yt.actionTabs)==null?void 0:xt.key]);const _n=()=>bt(void 0,null,function*(){if(!xn){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}$t(!Zt)}),yn=()=>{on({}),sn(!0),$t(!1),Sn(""),wt({type:"problemset/setActionTabs",payload:{}})};return mt.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:yt.actionTabs.key==="COMBINATION",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",footer:!1,width:708,bodyStyle:{maxHeight:600,overflow:"auto"},onOk:_n,onCancel:yn},mt.createElement("div",null,mt.createElement("div",{className:"c-light-primary mb5 font16"},"\u7EC4\u5408\u9898"),mt.createElement(ce.Z,{value:Yt==null?void 0:Yt.name,style:{marginBottom:10}}),(ln=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:ln.map((gn,Ct)=>{var Dt,At,tn,cn,ft;if((gn==null?void 0:gn.item_type)==="SINGLE")return mt.createElement(ge,{data:gn,showdiv:((Dt=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:Dt.length)-1===Ct});if((gn==null?void 0:gn.item_type)==="MULTIPLE")return mt.createElement(st,{data:gn,showdiv:((At=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:At.length)-1===Ct});if((gn==null?void 0:gn.item_type)==="JUDGMENT")return mt.createElement(Ze,{datas:gn,showdiv:((tn=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:tn.length)-1===Ct});if((gn==null?void 0:gn.item_type)==="COMPLETION")return mt.createElement(Ye,{datas:gn,showdiv:((cn=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:cn.length)-1===Ct});if((gn==null?void 0:gn.item_type)==="SUBJECTIVE")return mt.createElement(vt,{datas:gn,showdiv:((ft=Yt==null?void 0:Yt.sub_item_banks)==null?void 0:ft.length)-1===Ct})})))};var Mt=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(_t)},74517:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(92832),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Se(72714),ae=Se(59301),re=Object.defineProperty,ne=Object.defineProperties,te=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ge,fe,me)=>fe in ge?re(ge,fe,{enumerable:!0,configurable:!0,writable:!0,value:me}):ge[fe]=me,ee=(ge,fe)=>{for(var me in fe||(fe={}))y.call(fe,me)&&b(ge,me,fe[me]);if(a)for(var me of a(fe))x.call(fe,me)&&b(ge,me,fe[me]);return ge},z=(ge,fe)=>ne(ge,te(fe)),le=(ge,fe,me)=>new Promise((be,ve)=>{var Pe=Ce=>{try{Ae(me.next(Ce))}catch(_e){ve(_e)}},Ee=Ce=>{try{Ae(me.throw(Ce))}catch(_e){ve(_e)}},Ae=Ce=>Ce.done?be(Ce.value):Promise.resolve(Ce.value).then(Pe,Ee);Ae((me=me.apply(ge,fe)).next())});const de=({problemset:ge,dispatch:fe})=>{var me,be;const[ve,Pe]=(0,ye.useState)({}),[Ee,Ae]=(0,ye.useState)([]),[Ce,_e]=(0,ye.useState)(!1),we=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Le,Ye,He;if(((Le=ge==null?void 0:ge.actionTabs)==null?void 0:Le.key)==="COMPLETION"){const Ge=(0,ce.cloneDeep)((Ye=ge==null?void 0:ge.actionTabs)==null?void 0:Ye.params);Pe(Ge),Ae((He=Ge==null?void 0:Ge.standard_answer)==null?void 0:He.map(Ke=>ee({value:"",answer:(Ke==null?void 0:Ke.answer_text)||[]},Ke)))}},[(me=ge==null?void 0:ge.actionTabs)==null?void 0:me.key]);const Me=()=>le(void 0,null,function*(){var Le,Ye;if(Ee.some(He=>(He==null?void 0:He.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ce){const He=(0,ce.cloneDeep)((Le=ge==null?void 0:ge.actionTabs)==null?void 0:Le.params);Ae((Ye=He==null?void 0:He.standard_answer)==null?void 0:Ye.map(Ge=>ee({value:"",answer:(Ge==null?void 0:Ge.answer_text)||[]},Ge)))}_e(!Ce)}),Oe=(Le,Ye)=>{const He=Ee.map((Ge,Ke)=>z(ee({},Ge),{value:Ke===Ye?Le.target.value:Ge.value}));Ae(He)},Fe=()=>{Pe({}),Ae([]),_e(!1),fe({type:"problemset/setActionTabs",payload:{}})};return ae.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:ge.actionTabs.key==="COMPLETION",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ce?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Me,onCancel:Fe},ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u586B\u7A7A\u9898"),ae.createElement(ue.Z,{value:ve==null?void 0:ve.name}),Ee==null?void 0:Ee.map((Le,Ye)=>{const{value:He,answer:Ge}=Le;let Ke="";return Ce&&(Ge!=null&&Ge.includes(He))&&(Ke=ie.Z.green),Ce&&!(Ge!=null&&Ge.includes(He))&&(Ke=ie.Z.red),ae.createElement("div",{key:Ye,style:{pointerEvents:Ce?"none":"auto",marginTop:10},className:`${ie.Z.row} ${Ke}`},ae.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Ye+1,"\u7B54\u6848:"),(Le==null?void 0:Le.model)===1?ae.createElement(he.default.TextArea,{className:ie.Z.textArea,style:{width:610,marginRight:10},onChange:ze=>Oe(ze,Ye),value:He}):ae.createElement(se.Z,{value:He,onChange:ze=>{const ke=Ee.map((Ne,Ve)=>z(ee({},Ne),{value:Ve===Ye?ze:Ne.value}));Ae(ke)}}),Ce&&(Ge==null?void 0:Ge.includes(He))&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ce&&!(Ge!=null&&Ge.includes(He))&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ce&&ae.createElement(ye.Fragment,null,ae.createElement("div",{className:ie.Z.line}),(be=ve==null?void 0:ve.standard_answer)==null?void 0:be.map((Le,Ye)=>{var He,Ge;return ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u586B\u7A7A",Ye+1,"\u7B54\u6848:\xA0"),(Le==null?void 0:Le.model)===1?((He=Le==null?void 0:Le.answer_text)==null?void 0:He.join("\u3001"))||"":ae.createElement(se.Z,{value:(Ge=Le==null?void 0:Le.answer_text)==null?void 0:Ge.join("\u3001"),disabled:!0}))}),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(ve==null?void 0:ve.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:ge})=>({problemset:ge}))(de)},64634:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(5112),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(le,de,ge)=>de in le?se(le,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):le[de]=ge,x=(le,de)=>{for(var ge in de||(de={}))te.call(de,ge)&&y(le,ge,de[ge]);if(ne)for(var ge of ne(de))a.call(de,ge)&&y(le,ge,de[ge]);return le},b=(le,de)=>ae(le,re(de)),ee=(le,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(le,de)).next())});const z=({problemset:le,dispatch:de})=>{var ge,fe;const[me,be]=(0,ye.useState)({}),[ve,Pe]=(0,ye.useState)([]),[Ee,Ae]=(0,ye.useState)(!1),Ce=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.key)==="JUDGMENT"){const Le=(0,ce.cloneDeep)((Fe=le==null?void 0:le.actionTabs)==null?void 0:Fe.params);be(Le),Pe(Le.choices)}},[(ge=le==null?void 0:le.actionTabs)==null?void 0:ge.key]);const _e=()=>ee(void 0,null,function*(){var Oe;if(!ve.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ee){const Fe=(0,ce.cloneDeep)((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.params);Pe(Fe.choices)}Ae(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Ye,He)=>b(x({},Ye),{checked:He===Fe?Oe.target.checked:!1}));Pe(Le)},Me=()=>{be({}),Pe([]),Ae(!1),de({type:"problemset/setActionTabs",payload:{}})};return ye.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:le.actionTabs.key==="JUDGMENT",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ee?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:_e,onCancel:Me},ye.createElement("div",null,ye.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),ye.createElement(ue.Z,{value:me==null?void 0:me.name}),ve==null?void 0:ve.map((Oe,Fe)=>{const{is_answer:Le,checked:Ye,choice_text:He}=Oe;let Ge="";return Ee&&Le&&(Ge=ie.Z.green),Ee&&!Le&&Ye&&(Ge=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${Ge}`},ye.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Ye}),ye.createElement(ue.Z,{className:ie.Z.html,value:He}),Ee&&Le&&ye.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ee&&!Le&&Ye&&ye.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ee&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:ie.Z.line}),ye.createElement("div",{className:"c-grey-333 mb5"},ye.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(fe=ve.find(Oe=>Oe.is_answer))==null?void 0:fe.choice_text),ye.createElement("div",{className:"c-grey-333 mb10"},ye.createElement("b",null,"\u89E3\u6790:\xA0"),(me==null?void 0:me.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:le})=>({problemset:le}))(z)},41808:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(24905),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(le,de,ge)=>de in le?se(le,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):le[de]=ge,x=(le,de)=>{for(var ge in de||(de={}))te.call(de,ge)&&y(le,ge,de[ge]);if(ne)for(var ge of ne(de))a.call(de,ge)&&y(le,ge,de[ge]);return le},b=(le,de)=>ae(le,re(de)),ee=(le,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(le,de)).next())});const z=({problemset:le,dispatch:de})=>{var ge;const[fe,me]=(0,ye.useState)({}),[be,ve]=(0,ye.useState)([]),[Pe,Ee]=(0,ye.useState)(!1),Ae=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.key)==="MULTIPLE"){const Le=(0,ce.cloneDeep)((Fe=le==null?void 0:le.actionTabs)==null?void 0:Fe.params);me(Le),ve(Le.choices)}},[(ge=le==null?void 0:le.actionTabs)==null?void 0:ge.key]);const Ce=()=>ee(void 0,null,function*(){var Oe;if(!be.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Pe){const Fe=(0,ce.cloneDeep)((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.params);ve(Fe.choices)}Ee(!Pe)}),_e=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=be.map((Ye,He)=>b(x({},Ye),{checked:He===Fe?Oe.target.checked:Ye.checked}));ve(Le)},we=()=>{me({}),ve([]),Ee(!1),de({type:"problemset/setActionTabs",payload:{}})},Me=()=>{let Oe="";return be.forEach((Fe,Le)=>{Fe.is_answer&&(Oe=Oe+Ae[Le])}),Oe};return ye.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:le.actionTabs.key==="MULTIPLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Pe?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Ce,onCancel:we},ye.createElement("div",null,ye.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),ye.createElement(ue.Z,{value:fe==null?void 0:fe.name}),be==null?void 0:be.map((Oe,Fe)=>{const{is_answer:Le,checked:Ye,choice_text:He}=Oe;let Ge="";return Pe&&Le&&(Ge=ie.Z.green),Pe&&!Le&&Ye&&(Ge=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Pe?"none":"auto"},className:`${ie.Z.row} ${Ge}`},ye.createElement(he.default,{style:{padding:3},onChange:Ke=>_e(Ke,Fe),checked:Ye}),ye.createElement("span",null,Ae[Fe],".\xA0"),ye.createElement(ue.Z,{className:ie.Z.html,value:He}),Pe&&Le&&ye.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Pe&&!Le&&Ye&&ye.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Pe&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:ie.Z.line}),ye.createElement("div",{className:"c-grey-333 mb5"},ye.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Me()),ye.createElement("div",{className:"c-grey-333 mb10"},ye.createElement("b",null,"\u89E3\u6790:\xA0"),(fe==null?void 0:fe.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:le})=>({problemset:le}))(z)},49417:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(5112),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Se(59301),ae=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(de,ge,fe)=>ge in de?ae(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):de[ge]=fe,b=(de,ge)=>{for(var fe in ge||(ge={}))a.call(ge,fe)&&x(de,fe,ge[fe]);if(te)for(var fe of te(ge))y.call(ge,fe)&&x(de,fe,ge[fe]);return de},ee=(de,ge)=>re(de,ne(ge)),z=(de,ge,fe)=>new Promise((me,be)=>{var ve=Ae=>{try{Ee(fe.next(Ae))}catch(Ce){be(Ce)}},Pe=Ae=>{try{Ee(fe.throw(Ae))}catch(Ce){be(Ce)}},Ee=Ae=>Ae.done?me(Ae.value):Promise.resolve(Ae.value).then(ve,Pe);Ee((fe=fe.apply(de,ge)).next())});const le=({problemset:de,dispatch:ge})=>{var fe;const[me,be]=(0,ye.useState)({}),[ve,Pe]=(0,ye.useState)([]),[Ee,Ae]=(0,ye.useState)(!1),Ce=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=de==null?void 0:de.actionTabs)==null?void 0:Oe.key)==="SINGLE"){const Le=(0,ce.cloneDeep)((Fe=de==null?void 0:de.actionTabs)==null?void 0:Fe.params);be(Le),Pe(Le.choices)}},[(fe=de==null?void 0:de.actionTabs)==null?void 0:fe.key]);const _e=()=>z(void 0,null,function*(){var Oe;if(!ve.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ee){const Fe=(0,ce.cloneDeep)((Oe=de==null?void 0:de.actionTabs)==null?void 0:Oe.params);Pe(Fe.choices)}Ae(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Ye,He)=>ee(b({},Ye),{checked:He===Fe?Oe.target.checked:!1}));Pe(Le)},Me=()=>{be({}),Pe([]),Ae(!1),ge({type:"problemset/setActionTabs",payload:{}})};return se.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:de.actionTabs.key==="SINGLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ee?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:_e,onCancel:Me},se.createElement("div",null,se.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),se.createElement(ue.Z,{value:me==null?void 0:me.name}),ve==null?void 0:ve.map((Oe,Fe)=>{const{is_answer:Le,checked:Ye,choice_text:He}=Oe;let Ge="";return Ee&&Le&&(Ge=ie.Z.green),Ee&&!Le&&Ye&&(Ge=ie.Z.red),se.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${Ge}`},se.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Ye}),se.createElement("span",null,Ce[Fe],".\xA0"),se.createElement(ue.Z,{className:ie.Z.html,value:He}),Ee&&Le&&se.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ee&&!Le&&Ye&&se.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ee&&se.createElement(ye.Fragment,null,se.createElement("div",{className:ie.Z.line}),se.createElement("div",{className:"c-grey-333 mb5"},se.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Ce[ve.findIndex(Oe=>Oe.is_answer)]),se.createElement("div",{className:"c-grey-333 mb10"},se.createElement("b",null,"\u89E3\u6790:\xA0"),(me==null?void 0:me.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:de})=>({problemset:de}))(le)},35503:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se.n(he),oe=Se(43219),ie=Se(99325),ue=Se(64726),se=Se(59301),ae=(ne,te,a)=>new Promise((y,x)=>{var b=le=>{try{z(a.next(le))}catch(de){x(de)}},ee=le=>{try{z(a.throw(le))}catch(de){x(de)}},z=le=>le.done?y(le.value):Promise.resolve(le.value).then(b,ee);z((a=a.apply(ne,te)).next())});const re=({problemset:ne,dispatch:te})=>{var a,y,x,b,ee;const[z,le]=(0,ye.useState)({}),[de,ge]=(0,ye.useState)(!1),[fe,me]=(0,ye.useState)(!0),[be,ve]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var Ae,Ce;if(((Ae=ne==null?void 0:ne.actionTabs)==null?void 0:Ae.key)==="SUBJECTIVE"){const _e=(0,he.cloneDeep)((Ce=ne==null?void 0:ne.actionTabs)==null?void 0:Ce.params);le(_e)}},[(a=ne==null?void 0:ne.actionTabs)==null?void 0:a.key]);const Pe=()=>ae(void 0,null,function*(){if(!be){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}de&&ve(""),ge(!de)}),Ee=()=>{le({}),me(!0),ge(!1),ve(""),te({type:"problemset/setActionTabs",payload:{}})};return console.log("----",de),se.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:ne.actionTabs.key==="SUBJECTIVE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:de?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:800,onOk:Pe,bodyStyle:{maxHeight:600,overflow:"auto"},onCancel:Ee},se.createElement("div",null,se.createElement("div",{className:"c-light-primary mb5 font16"},"\u7B80\u7B54\u9898"),se.createElement(ie.Z,{value:z==null?void 0:z.name,style:{marginBottom:10,color:"#5f6368"}}),fe?se.createElement("div",{style:{border:"1px solid #f1f1f1",padding:10},onClick:()=>{me(!1)}}," \u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54"):se.createElement(ue.Z,{height:160,defaultValue:be,onChange:Ae=>{ve(Ae)}}),de&&se.createElement(ye.Fragment,null,se.createElement("div",{className:oe.Z.line}),se.createElement("span",{style:{color:"#5F6368"}},"\u53C2\u8003\u7B54\u6848\uFF1A"),se.createElement("div",{style:{marginTop:10}},((y=z==null?void 0:z.answer_texts)==null?void 0:y[0])||"\u6682\u65E0\u53C2\u8003\u7B54\u6848"),((x=z==null?void 0:z.keywords)==null?void 0:x.length)>0&&se.createElement("div",{style:{marginTop:10,marginBottom:10}},se.createElement("span",{style:{color:"#5F6368"}},"\u5173\u952E\u8BCD\uFF1A"),(b=z==null?void 0:z.keywords)==null?void 0:b.map(Ae=>{var Ce,_e,we;return((Ce=Ae==null?void 0:Ae.keyword)==null?void 0:Ce.length)>1?((_e=Ae==null?void 0:Ae.keyword)==null?void 0:_e.join("\u6216"))+"\uFF1B":((we=Ae==null?void 0:Ae.keyword)==null?void 0:we[0])+"\uFF1B"})),se.createElement("div",{style:{color:"#5F6368",marginTop:((ee=z==null?void 0:z.keywords)==null?void 0:ee.length)<=0?20:10}},se.createElement("b",null,"\u89E3\u6790:")),se.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(z==null?void 0:z.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:ne})=>({problemset:ne}))(re)},96401:function(ct,ot,Se){"use strict";Se.d(ot,{N:function(){return z},Z:function(){return le}});var ye=Se(59301),je=Se(99325),E=Se(5112),pe=Se(6848),he=Se(95237),ce=Se(43604),oe=Se(24905),ie=Se(20834),ue=Se(38854),se={flex_box_center:"flex_box_center___K3pXk",flex_space_between:"flex_space_between___JNXiy",flex_box_vertical_center:"flex_box_vertical_center___lX_K7",flex_box_center_end:"flex_box_center_end___ESJAL",flex_box_column:"flex_box_column___nMTYm",line:"line___cNtUM",b1:"b1___xIRxk",b2:"b2___N5uit",list:"list___SBMGo",title:"title___zQP91",tr:"tr___uaxLL",itemDetail:"itemDetail___Ye51x",answerWrapper:"answerWrapper___WJAPa",decoration:"decoration___fOLFB",row:"row___FvSRM",typeRow:"typeRow___qpDsw",type:"type___a8Bs6",typeName:"typeName___EfvMr",typeIcon:"typeIcon___XnhBc",unpublished:"unpublished___h3A34",private:"private___Ok_kP",public:"public___V5_HF",reviewFlag:"reviewFlag___MWDMc",typeRightAction:"typeRightAction___zwJ4e",actionLink:"actionLink___XxdsL",actionIcon:"actionIcon___YoZs8",topicTitle:"topicTitle___TXfB_",topicTitleContent:"topicTitleContent___MceUW",judgmentContent:"judgmentContent___Adte7",programContent:"programContent___R8AFa",otherContent:"otherContent___CNAVC",combinationContent:"combinationContent___NWKpD",con:"con___MJkTE",otherContentItem:"otherContentItem___sXGMT",otehrContentHtml:"otehrContentHtml___MKkjT",difficultyRow:"difficultyRow___E6YVK",updateTimeRow:"updateTimeRow___MPFJY",updateTimeWrap:"updateTimeWrap___iIz5W",updateTimeContent:"updateTimeContent___CpqJg",programLanguage:"programLanguage___lku0d",updateTimeRowAction:"updateTimeRowAction___Y6grB",bottomAction:"bottomAction___sQwM3",borderColorBlue:"borderColorBlue___vZe0j",borderColorRed:"borderColorRed___GPm9E",borderColorFFF:"borderColorFFF___izaeA",borderColorGray:"borderColorGray___WdIyN",selectIcon:"selectIcon___I35Ch",colorGreen:"colorGreen___yFw84",parseAnswerBorder:"parseAnswerBorder___tmhXi",answer:"answer___c9YYj",answerHtml:"answerHtml___sp4Xx",parse:"parse___Lif5r",parseText:"parseText___KMhnK",parseAnswer:"parseAnswer___aFs0o",parseAnswerHtml:"parseAnswerHtml___AfP6o",actionBar:"actionBar___Q6e1E",know:"know___EtJbV",menu:"menu___ODbWA",bottom:"bottom___yLg8j",textBtn:"textBtn___p8TrW"},ae=Se(73898),re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACMgAAAA6CAYAAABPwffJAAAAAXNSR0IArs4c6QAAH35JREFUeF7t3Q2MZWV9x/H/c849d17uzL6y7K4M76xLNIAKoiBQak0oRgsiYKyxUEq0LwZLYmqa0hqtpi8xodam1daKRFtbRITYBmlspRBBAXmRaHddsCyO7Bsssztzd2buveec5jl37jC7bN155l7OL7P3ewmZfTnn+Z37+f9nsjn3n+c4W8JrfHx8bGam9ZfNZutif3q1Wrl3YKDyB2NjY+NLWC74FHV+8AVzQlcC6nqr87vC4+RgAXW91fnBYJyAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACpr6/r86nBcoVUNdbnV+uNmnqevcy34WW84knto0513giz22NWef03P9qb27Vs846a9MrOiSjzg/14vjuBNT1Vud3p8fZoQLqeqvzQ704HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBMzU9/fV+fRAuQLqeqvzy9UmTV3vXucHD8g88shj/2zm3ttoNOa7wZmzJEnMnPvqOeec9euvZJuo81/J98baLxdQ11udT0+UK6Cutzq/XG3SEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBA4OgTU9/fV+UdHFZfPu1DXW52/fCp1dFyput69zg8ekLnvvu8+l+e28XDldM52XHTRW171SpZanf9KvjfWfrmAut7qfHqiXAF1vdX55WqThgACCCCAAAIIIIAAAggggAACCCCAAAIIIIDA0SGgvr+vzj86qrh83oW63ur85VOpo+NK1fXudX7wgMy3v31vnue5NZtNc84sz9sPWkqq1aLCb3vbxcFrhrSGOj/kWjm2ewF1vdX53QuyQoiAut7q/BArjkUAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAIG2gPr+vjqfPihXQF1vdX652qSp693r/OBhlrvu+ve8PRiTmx+N6QzJtFsjt8sue0fwmiFtpc4PuVaO7V5AXW91fveCrBAioK63Oj/EimMRQAAB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ACCCCAAAIIIIAAAggggAACCCCAAAIIINAWUN/fV+fTB+UKqOutzi9XmzR1vXudHzzM8qEP3ZC3mi3Lbe65SvM94axaTeyzn/1M8JohbaXOD7lWju1eQF1vdX73gqwQIqCutzo/xIpjEUAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAoC2gvr+vzqcPyhVQ11udX642aep69zo/eJjluuuuf2kyxv/KrzD3Nc9zu+WWfwxeM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7z//dfkzUbjoP1j/COX/KOWqtWqffnLtwavGdJW6vyQa+XY7gXU9Vbndy/ICiEC6nqr80OsOBYBBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQTaAur7++p8+qBcAXW91fnlapOmrnev84OHWa644sp8fsuY+X7obCrj7I47bg9eM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7zjHb+Wt1rNYseY9is359z8DjLf/OZdwWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWSy65NG82m0UnNJuN4muSJMVX/4ilb33r7uA1Q9pKnR9yrRzbvYC63ur87gVZIURAXW91fogVxyKAAAIIIIAAAggggAACCCCAAAIIIIAAAggggEBbQH1/X51PH5QroK63Or9cbdLU9e51fvAwy4UXXpT73WP8kIxzZv43fgeZJKkWu8ncf/99wWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWN73pzXmr1SoGYzo7yfgdZPyQTKVSse9//3vBa4a0lTo/5Fo5tnsBdb3V+d0LskKIgLre6vwQK45FAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQACBtoD6/r46nz4oV0Bdb3V+udqkqevd6/zgYZazzz4nbzQaxXBMsXuM74liB5mk2EXm0UcfCV4zpK3U+SHXyrHdC6jrrc7vXpAVQgTU9Vbnh1hxLAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCLQF1Pf31fn0QbkC6nqr88vVJk1d717nBw+zbN58et7ZOabZbPjpGKtWE/OPXapWq7Zly/8ErxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/ODh1lOOeXUYkCmMyRjls8Px/gBmaeffip4zZC2UueHXCvHdi+grrc6v3tBVggRUNdbnR9ixbEIIIAAAggggAACCCCAAAIIIIAAAggggAACCCDQFlDf31fn0wflCqjrrc4vV5s0db17nR88zOIv4MCBujUafkimYa7zeKVKYsO1mv30p08HrxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/MXNcyS57m75557Vq9atfbCq656951+95h6fWp+F5kkqVqtVrMkSexrX/v65RMTL9x/ySWXvOicy3vRMur8XrwH1li8gLre6vzFS3FkLwTU9Vbn98KQNRBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQ6DcB9f19dX6/1Vv9ftX1Vuer/fstX13vVzL//x2Q8aG+0HfffXd1zbp1v3rssSe8rzay4opzXrc5rtfr1mo1bWpqqthBZnh42DpDMo88vjWtT+2/Y/fuZ/9p754937r00ksbfp3QYRl1fr81ufr9quutzlf791u+ut7q/H6rN+8XAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAIFeCKjv76vze2HIGosXUNdbnb94KY7shYC63mXlH3ZAphN+7733Dqw5ZsONGzae9Ie55aMe9o2vP714tJIfkvE7yZi5YueYzg4yDz+2pfB35iZ37njmz/ZPPP+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vIqPP7rdnV71ddb3W+2r/f8tX1Vuf3W715vwgggAACCCCAAAIIIIAAAggggAACCCCAAAII9EJAfX9fnd8LQ9ZYvIC63ur8xUtxZC8E1PVW5i8ckInMLN761M/+YuWqtb/fGY7ZvXunfeHzf21xHFujMWNbtmwthmOKV95+XtLcnIxVk6q9evMmGxgYsjRN7foP3mDHHrth/ph9Ey/81ebTjv+omaULd5HpTAep8nvRRKyxeAF1vdX5i5fiyF4IqOutzu+FIWsggAACCCCAAAIIIIAAAggggAACCCCAAAIIINBvAur7++r8fqu3+v2q663OV/v3W7663sp8t2A6J37ooR+OverEE2+pxMkv5Zkffsnt3v+6x3705GOWZZkdODBlW7duKwZiGg0/JFOMx8w/Zsn/+aZNp1mtNup3jLHXnvF6u/itlxSPWHKRWStt/vdz27f/5rnnnjk+NyTjF/Avv4gk/9BHPfVb85f9fuk31+n5sun7Mo9+o9/6svF50wgggAACCCCAAAIIIIAAAggggAACCCCAAAJdCfD5Ap8vdNVAgSfTb/RbYMt0dXjf99vC6Zz77ntw8+mvOesbae5OzX0fZpnd/q9ftqmpSZua2metZtOeeeZZm56ents1xhWPW2rvIONscHDQTjrpBKskiY2MrLSRkVG78j3v989XMpc7i13+9JYfP/Guiy46b2tnF5m56hW71yjyGZDp6vsn+GT6jR/wwU3TxQn0G/3WRftwKgIIIIAAAggggAACCCCAAAIIIIAAAggggECfCvD5Ap8vlNn69Bv9Rr+VN5/S2UEmesYs2fPw4284/uTN/2FZXsssszxzdvttXzLnnL3w/K5iGGbHjp02NVW3RmN2buMXX67cqtWqjYyM2MaNG4rdY9asPbb483dfda25KLfIIrPI1Z956keXbHjzOT84ycxvQZN1BmRU+QzIlPntZr6H/DgV/VYue9+m0W/8g6Jvm583jgACCCCAAAIIIIAAAggggAACCCCAAAIIILBkAT5f4POFJTfPEk6k3+i3JbTNkk/p+36bA4jHxy3Z/txD55x2ypl3Z3lWy/PMbyBjd//bbRZFse3e9VzxmKVWq1XsIpOmaTEw419+gMYPxZx88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AAAIIIIAAAggggAACMgH1/X11vgy+T4PV9Vbn92nZZW9bXW9V/vyAjJc/5CL8428qA3ssnh2wanWmnjQrUdJqumQ4GozrrcmKa7j2I5qqeV6rjLYOZDNpJcmbSStrNgZrzYFZa8yus3TMzA/HFI9VOtxwTKfq6nxZ9/VpsLre6vw+Lbvsbavrrc6XwROMAAIIIIAAAggggAACCCCAAAIIIIAAAggggMAyFlDf31fnL+PSLctLV9dbnb8si7aML1pdb0X+QQMyvnaHXIT/e//IpUqlYlGSWKUeT8Zx3UVx7IrdYzqvNM3TtJZntXQ0bTat1WpZtnHjwYMxv2g4prOOOn8Z9++yvHR1vdX5y7Joy/ii1fVW5y/j0nHpCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgjIBNT399X5Mvg+DVbXW53fp2WXvW11vcvOf9mAjJefuwj/y84jl6LOr8fHLYpjc1FU/N38K8ssT1PLx8Ze2ilm4a4xxWLO+R1kjvhS5x/xAjmgpwLqeqvze4rJYkcUUNdbnX9EIA5AAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQACBlwmo7++r82mJcgXU9Vbnl6tNmrreZeYfdkDGt8CCi/C/7QzKHPrrQ7uleITS3B8u/PWih2M6C6rz+TYoV0Bdb3V+udqkqeutzqcDEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAIFxAfX9fnR8uxhndCKjrrc7vxo5zwwXU9S4r//8dkFlIdsjFdP7q0HNftjvMYneMOVJ51PlHuj7+vrcC6nqr83uryWpHElDXW51/JB/+HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBF4uoL6/r86nJ8oVUNdbnV+uNmnqer+S+f8HabRiLm3R4IUAAAAASUVORK5CYII=",ne=Se(24334),te=Se(72714),a=Se(88230),y=Se(50484);const x=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],b=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ee=({data:de,selectIds:ge,onSelectCheckBox:fe=()=>{},showCheckbox:me=!0})=>{var be,ve,Pe;const[Ee,Ae]=(0,ye.useState)(!1),Ce=()=>{var Oe,Fe;return de.item_type==="JUDGMENT"?ye.createElement("div",{className:se.judgmentContent},de.choices.map((Le,Ye)=>ye.createElement(E.ZP,{key:Ye,disabled:!0},Le.choice_text))):de.item_type==="PROGRAM"?ye.createElement("div",{className:se.programContent},ye.createElement(je.Z,{value:(Oe=de.program_attr)==null?void 0:Oe.description})):de.item_type==="COMBINATION"?ye.createElement("div",{className:se.combinationContent},(Fe=de==null?void 0:de.sub_item_banks)==null?void 0:Fe.map((Le,Ye)=>{var He,Ge,Ke,ze,ke,Ne;const Ve=`(\u9898\u76EE${Ye+1}-${(Le==null?void 0:Le.item_type)=="SINGLE"?"\u5355\u9009\u9898":(Le==null?void 0:Le.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":(Le==null?void 0:Le.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":(Le==null?void 0:Le.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898"}) `;return ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{marginTop:10,marginBottom:10}},ye.createElement(je.Z,{value:Ve+Le.name})),((Le==null?void 0:Le.item_type)=="SINGLE"||(Le==null?void 0:Le.item_type)=="MULTIPLE")&&Le.choices.map((qe,rt)=>ye.createElement("div",{key:rt,className:se.otherContentItem},ye.createElement("p",null,x[rt]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:qe.choice_text}))),(Le==null?void 0:Le.item_type)=="JUDGMENT"&&ye.createElement("div",{style:{display:"flex",marginBottom:10}},Le.choices.map((qe,rt)=>ye.createElement(E.ZP,{key:rt,disabled:!0},qe.choice_text))),ye.createElement("div",{className:se.con},(Le==null?void 0:Le.item_type)=="SINGLE"&&ye.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",b==null?void 0:b[(He=Le==null?void 0:Le.choices)==null?void 0:He.findIndex(qe=>qe==null?void 0:qe.is_answer)]," "),(Le==null?void 0:Le.item_type)=="COMPLETION"&&((Ge=Le==null?void 0:Le.standard_answer)==null?void 0:Ge.map((qe,rt)=>{var Qe;return ye.createElement("div",{key:rt,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${qe.position}\uFF09\uFF1A${(Qe=qe==null?void 0:qe.answer_text)==null?void 0:Qe.join("\u3001")}`)})),(Le==null?void 0:Le.item_type)=="MULTIPLE"&&ye.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",(Ke=Le==null?void 0:Le.choices)==null?void 0:Ke.map((qe,rt)=>{if(qe!=null&&qe.is_answer)return(b==null?void 0:b[rt])+" "})," "),(Le==null?void 0:Le.item_type)=="JUDGMENT"&&ye.createElement("div",null,"\u7B54\u6848\uFF1A",(ke=(ze=Le==null?void 0:Le.choices)==null?void 0:ze.find(qe=>qe.is_answer))==null?void 0:ke.choice_text),(Le==null?void 0:Le.item_type)=="SUBJECTIVE"&&ye.createElement("div",null,"\u7B54\u6848\uFF1A",(Ne=Le==null?void 0:Le.answer_texts)==null?void 0:Ne[0]),ye.createElement("div",null,ye.createElement("span",null,"\u89E3\u6790\uFF1A"),ye.createElement(je.Z,{className:se.parseAnswerHtml,value:Le.analysis||"\u6682\u65E0\u89E3\u6790"})),ye.createElement("div",null,ye.createElement("span",null,"\u77E5\u8BC6\u70B9\uFF1A"),ye.createElement(pe.Z,{title:(de==null?void 0:de.tag_discipline)||"--"},ye.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(de==null?void 0:de.tag_discipline)||"--")))))})):ye.createElement("div",{className:se.otherContent},de.choices.map((Le,Ye)=>ye.createElement("div",{key:Ye,className:se.otherContentItem},ye.createElement("p",null,x[Ye]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:Le.choice_text}))))},_e=()=>{var Oe;if((de==null?void 0:de.item_type)!=="BPROGRAM")return ye.createElement("div",null,(Oe=de.standard_answer)==null?void 0:Oe.map((Fe,Le)=>{var Ye,He;return ye.createElement("div",{key:Le,className:se.answerHtml},(Fe==null?void 0:Fe.model)===1?`\u7B54\u6848\uFF08\u586B\u7A7A${Fe.position}\uFF09\uFF1A${(Ye=Fe==null?void 0:Fe.answer_text)==null?void 0:Ye.join("\u3001")}`:ye.createElement("div",{style:{display:"flex",alignItems:"center"}},ye.createElement("span",{style:{minWidth:110}},"\u7B54\u6848\uFF08\u586B\u7A7A",Fe.position,"\uFF09\uFF1A"),ye.createElement(te.Z,{value:(He=Fe==null?void 0:Fe.answer_text)==null?void 0:He.join("\u3001"),readOnly:!0})))}))},we=()=>{var Oe,Fe,Le,Ye,He,Ge;const Ke={SUBJECTIVE:(Oe=de.answer_texts)==null?void 0:Oe[0],JUDGMENT:(Le=(Fe=de.choices)==null?void 0:Fe.find(Ue=>Ue.is_answer))==null?void 0:Le.choice_text},ze=de.choices.map(Ue=>Ue.is_answer).findIndex(Ue=>Ue),ke=ze>-1?b[ze]:"";let Ne="";de.choices.map((Ue,Be)=>{Ue.is_answer&&(Ne+=b[Be])});const Ve=Ke[de.item_type];let qe=((Ye=de==null?void 0:de.program_attr)==null?void 0:Ye.code)||"";try{qe=ne.Base64.decode(((He=de==null?void 0:de.program_attr)==null?void 0:He.code)||"")}catch(Ue){}const rt={SINGLE:ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`\u7B54\u6848\uFF1A${ke||"\u65E0"}`}))),MULTIPLE:ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`\u7B54\u6848\uFF1A${Ne||"\u65E0"}`}))),COMPLETION:_e(),BPROGRAM:ye.createElement("div",null,ye.createElement(je.Z,{className:se.answerHtml,showProgramFill:!0,value:qe}),(Ge=de.standard_answer)==null?void 0:Ge.map((Ue,Be)=>ye.createElement("div",{key:Be,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${Ue.position}\uFF09\uFF1A${Ue==null?void 0:Ue.answer_text}`)))},Qe=ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`${Ve||"\u65E0"}`})));return rt[de.item_type]||Qe},Me=Oe=>{let Fe=[...ge];Oe.target.checked?Fe.push(de.id):Fe=Fe.filter(Le=>Le!==de.id),fe(Fe)};return ye.createElement("div",{className:se.itemWrap},ye.createElement("div",{className:se.list},me&&ye.createElement(oe.default,{className:"mr10",onChange:Me,checked:ge.includes(de.id)}),ye.createElement("div",{onClick:()=>Ae(!Ee),className:se.title},ye.createElement(je.Z,{key:1,showLines:1,showTextOnly:!0,className:se.topicTitleContent,value:(de==null?void 0:de.item_type)==="BPROGRAM"?(be=de==null?void 0:de.program_attr)==null?void 0:be.description:de.name})),ye.createElement("div",{onClick:()=>Ae(!Ee),className:se.tr},ye.createElement("i",{style:{transform:Ee?"scale(0.5) rotate(-180deg)":"scale(0.5) rotate(0deg)"},className:"iconfont icon-zhankai4"}))),ye.createElement("aside",{style:Ee?{display:"block"}:{display:"none"},className:se.itemDetail},ye.createElement("div",{style:{marginBottom:44}},ye.createElement(je.Z,{key:2,className:se.topicTitleContent,value:(de==null?void 0:de.item_type)==="BPROGRAM"?(ve=de==null?void 0:de.program_attr)==null?void 0:ve.description:de.name}),ye.createElement("div",{className:`${se.row} mt15`},Ce()),ye.createElement("div",{className:se.row},ye.createElement("div",{className:se.updateTimeRow},ye.createElement("div",{className:se.updateTimeWrap},de.item_type==="PROGRAM"&&ye.createElement("p",{className:se.programLanguage},"\u7F16\u7A0B\u8BED\u8A00\uFF1A",(Pe=de==null?void 0:de.languages)==null?void 0:Pe.join("/")))))),de.item_type!=="COMBINATION"&&ye.createElement("div",{className:se.answerWrapper},ye.createElement("img",{src:re,alt:"",className:se.decoration}),ye.createElement("div",{className:se.answer},we()),ye.createElement("div",{className:se.parse},ye.createElement("div",{className:se.parseText},"\u89E3\u6790\uFF1A"),ye.createElement("div",{className:se.parseAnswer},de.analysis?ye.createElement(je.Z,{className:se.parseAnswerHtml,value:de.analysis}):"\u6682\u65E0\u89E3\u6790")),ye.createElement("div",{className:se.parse},ye.createElement("div",{className:se.parseText},"\u77E5\u8BC6\u70B9\uFF1A"),ye.createElement(pe.Z,{title:(de==null?void 0:de.tag_discipline)||"--"},ye.createElement("div",{className:se.parseAnswer,style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(de==null?void 0:de.tag_discipline)||"--"))))))},z=({SubjectShare:de,isProblemset:ge,data:fe,user:me,page:be,activeTabsKey:ve,onPublicReview:Pe=()=>{},onStartExperience:Ee=()=>{},onSetPrivate:Ae=()=>{},onCorrection:Ce=()=>{},onChangeTag:_e=()=>{},onCollect:we=()=>{},onSetPublic:Me=()=>{},onDelete:Oe=()=>{},onCancel:Fe=()=>{},onSelect:Le=()=>{},onMoveTo:Ye=()=>{},addProblemset:He=()=>{},onSetShare:Ge=()=>{},onCancelShare:Ke=()=>{},onPublish:ze=()=>{},onCancelPublish:ke=()=>{}})=>{var Ne,Ve,qe,rt,Qe,Ue,Be,Ze,Te,We,at,et,Je,Ie,xe;const De=fe.item_type==="PROGRAM"?`/problems/newedit/${(Ne=fe.program_attr)==null?void 0:Ne.identifier}?tabs_key=${ve}&page=${be}`:fe.item_type==="BPROGRAM"?`/problemset/edit/${(Ve=fe.program_attr)==null?void 0:Ve.identifier}?type=1&tabs_key=${ve}&page=${be}`:`/problemset/edit/${fe.id}?tabs_key=${ve}&page=${be}`,Re=ve==="0"&&!fe.public&&!fe.apply&&(fe.item_type==="PROGRAM"&&((qe=fe.program_attr)==null?void 0:qe.status)!==0||fe.item_type!=="PROGRAM"),Xe=[{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{y.Z.publish("model-change-problem",fe)}},"\u4EE5\u9898\u6362\u9898"),key:"14",show:(0,ae.$O)()&&["SINGLE","MULTIPLE","JUDGMENT","COMPLETION","SUBJECTIVE"].includes(fe.item_type)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{var st;return ke((st=fe==null?void 0:fe.program_attr)==null?void 0:st.identifier)}},"\u64A4\u9500\u53D1\u5E03"),key:"0",show:(ve==="0"||ve==="3")&&fe.item_type==="PROGRAM"&&((rt=fe.program_attr)==null?void 0:rt.status)!==0&&!fe.public&&((Qe=fe.author)==null?void 0:Qe.login)===((Ue=me.userInfo)==null?void 0:Ue.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Ye(fe.id)},"\u79FB\u52A8\u5230"),key:"1",show:ve==="0"},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{fe.is_share?Ke(fe.id):Ge(fe.id)}},"\u5171\u4EAB"),key:"3",show:ve==="0"&&de},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Me(fe)},"\u516C\u5F00"),key:"4",show:Re},{label:ye.createElement("a",{className:se.reviewFlag,onClick:Pe},"\u516C\u5F00\u5BA1\u6838\u4E2D"),key:"5",show:ve==="0"&&!fe.public&&fe.apply&&(fe.item_type==="PROGRAM"&&fe.program_attr.status!==0||fe.item_type!=="PROGRAM")},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Ae(fe.id)},"\u64A4\u9500\u516C\u5F00"),key:"6",show:(ve==="0"||ve==="1")&&fe.public&&((Be=fe.author)==null?void 0:Be.login)===((Ze=me.userInfo)==null?void 0:Ze.login)||ve==="1"&&(0,ae.ag)()},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>we(fe.id,fe.is_collected)},"\u53D6\u6D88\u6536\u85CF"),key:"7",show:ve==="2"},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{var st;return ze((st=fe==null?void 0:fe.program_attr)==null?void 0:st.identifier)}},"\u53D1\u5E03"),key:"8",show:(ve==="0"||ve==="3")&&fe.item_type==="PROGRAM"&&((Te=fe.program_attr)==null?void 0:Te.status)===0&&!fe.public&&((We=fe.author)==null?void 0:We.login)===((at=me.userInfo)==null?void 0:at.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>we(fe.id,fe.is_collected)},fe.is_collected?"\u53D6\u6D88\u6536\u85CF":"\u6536\u85CF"),key:"9",show:(ve==="1"||ve==="3")&&!(0,ae.ag)()&&!(0,ae.JA)()&&((et=fe.author)==null?void 0:et.login)!==((Je=me.userInfo)==null?void 0:Je.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Ce(fe.id)},"\u7EA0\u9519"),key:"10",show:ve!=="0"&&!(0,ae.ag)()&&!(0,ae.JA)()},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>_e(fe)},"\u4FEE\u6539\u77E5\u8BC6\u70B9"),key:"15",show:ve==="0"||ve==="3"&&(fe==null?void 0:fe.edit_item_bank)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Oe(fe.id)},"\u5220\u9664"),key:"11",show:ve==="0"&&!fe.public||ve==="1"&&(0,ae.ag)()&&((Ie=fe.author)==null?void 0:Ie.login)!==((xe=me.userInfo)==null?void 0:xe.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>He(fe.id)},"\u52A0\u5165\u6211\u7684\u9898\u5E93"),key:"12",show:ve==="1"||ve==="3"}].filter(st=>st.show),nt=ye.createElement(ie.default,{forceSubMenuRender:!0,className:se.menu,items:Xe}),$e=ye.createElement(ie.default,{forceSubMenuRender:!0,className:se.menu},ye.createElement(ie.default.Item,{key:"10"},ye.createElement("a",{className:se.actionLink,onClick:()=>Ce(fe.id)},"\u7EA0\u9519"))),tt=ve!=="0"&&!(0,ae.ag)()&&!(0,ae.JA)();return ye.createElement(ye.Fragment,null,ge?ye.createElement(ye.Fragment,null,(ve==="0"||ve==="3"&&(fe==null?void 0:fe.edit_item_bank))&&!fe.public&&ye.createElement("span",{className:se.textBtn,style:{cursor:"pointer"},onClick:()=>{(0,a.xg)(De);const st=document.getElementById(fe.id),it=window.pageYOffset||document.documentElement.scrollTop;localStorage.setItem("problemsetid",st.getBoundingClientRect().top+it+"")}},ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})),ye.createElement("i",{className:"iconfont icon-bianji10 font14 mr5"}),"\u7F16\u8F91"),ye.createElement("span",{className:se.textBtn,style:{cursor:"pointer"},onClick:()=>Ee(fe)},ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})),ye.createElement("i",{className:"iconfont icon-tiyan font14 mr5"}),"\u4F53\u9A8C",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2}))),Xe.length>0&&ye.createElement(ue.Z,{dropdownRender:()=>nt},ye.createElement("span",{style:{cursor:"default",width:"105px"},onClick:st=>st.preventDefault()},ye.createElement("span",{className:se.textBtn},ye.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})))))):tt?ye.createElement(ue.Z,{className:"ml40",dropdownRender:()=>$e},ye.createElement("span",{style:{cursor:"default",width:"105px"},onClick:st=>st.preventDefault()},ye.createElement("span",{className:se.textBtn},ye.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2}))))):ye.createElement("span",null))};var le=ee},70037:function(ct,ot,Se){"use strict";Se.d(ot,{Im:function(){return ve},ZP:function(){return we},gZ:function(){return Ce}});var ye=Se(59301),je=Se(92832),E=Se(3113),pe=Se(84105),he=Se(87395),ce=Se(86723),oe=Se(24334),ie=Se(7651),ue=Se(99325),se=Se(88230),ae=Se(75618),re=Se(34376),ne=Se(92310),te=Se.n(ne),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,de=(Me,Oe,Fe)=>Oe in Me?y(Me,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Me[Oe]=Fe,ge=(Me,Oe)=>{for(var Fe in Oe||(Oe={}))z.call(Oe,Fe)&&de(Me,Fe,Oe[Fe]);if(ee)for(var Fe of ee(Oe))le.call(Oe,Fe)&&de(Me,Fe,Oe[Fe]);return Me},fe=(Me,Oe)=>x(Me,b(Oe));const{TextArea:me}=je.default,be={visible:!1,tabIndex:"0"},ve={[ce.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[ce.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[ce.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Pe=(Me=>(Me[Me.SET_VISIBLE=0]="SET_VISIBLE",Me[Me.SET_TABINDEX=1]="SET_TABINDEX",Me))(Pe||{});function Ee(Me,Oe){switch(Oe.type){case 0:return fe(ge({},Me),{visible:Oe.payload});case 1:return fe(ge({},Me),{tabIndex:Oe.payload});default:throw new Error}}function Ae({value:Me,className:Oe}){const[Fe,Le]=(0,ye.useState)(!1),Ye=(0,ye.useRef)(),He=(0,ye.useRef)();return(0,ye.useEffect)(()=>{Fe&&(He.current.reset(),He.current.write((0,se.pp)(Me||"")))},[Me,Fe]),(0,ye.useEffect)(()=>{var Ge,Ke,ze,ke;if(Ye.current){He.current=new re.Terminal({fontSize:14,disableStdin:!0}),He.current.open(Ye.current);const Ne=Ye.current.offsetWidth-14,Ve=((ke=(ze=(Ke=(Ge=He.current)==null?void 0:Ge._core)==null?void 0:Ke._renderService)==null?void 0:ze.dimensions)==null?void 0:ke.actualCellWidth)||9.5,qe=Math.ceil(Ne/Ve);He.current.resize(qe,8),Le(!0)}},[]),a.createElement("div",{ref:Ye,className:te()("XtermText-valueRef",Oe)})}function Ce(Me){const{status:Oe,error_msg:Fe,output:Le,input:Ye,expected_output:He,is_file:Ge,input_file_url:Ke,output_file_url:ze,expected_output_file_url:ke}=Me;let Ne=null;const Ve={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Oe){case ce.h.NOMATCH:Ne=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:Ye}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Ye)},Ye)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:Le&&oe.Base64.decode(Le)||""}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(ze,Le)},Le)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:He&&oe.Base64.decode(He)||""}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(ke,He)},He)));break;case ce.h.EXECUTEFAILURE:Ne=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ge&&a.createElement(ue.Z,{value:Ye,style:Ve}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Ye)},Ye)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.COMPILEFAILURE:Ne=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ge&&a.createElement(ue.Z,{value:Ye,style:Ve}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Ye)},Ye)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.PODFAILURE:Ne=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ce.h.TIMEOUT:Ne=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ne," ")}function _e(Me){const{status:Oe,error_msg:Fe,execute_time:Le,output:Ye,input:He,expected_output:Ge,is_file:Ke,input_file_url:ze,output_file_url:ke,expected_output_file_url:Ne}=Me;let Ve=null;switch(Oe){case ce.h.OK:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Le,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,oe.Base64.decode(Ye)));break;case ce.h.NOMATCH:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",Ye&&oe.Base64.decode(Ye)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Ge&&oe.Base64.decode(Ge)));break;case ce.h.EXECUTEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.COMPILEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.PODFAILURE:Ve=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ce.h.TIMEOUT:Ve=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ve," ")}var we=({id:Me,is_file:Oe,input:Fe,debuging:Le,submitting:Ye,executingMessage:He,debugResult:Ge,onChangeInput:Ke,onDebugCode:ze,onSubmitCode:ke})=>{const[Ne,Ve]=(0,ye.useReducer)(Ee,be),{visible:qe,tabIndex:rt}=Ne;(0,ye.useEffect)(()=>{Ve({type:0,payload:!1})},[Me]);function Qe(Te){let We=Te.target.id;Ve({type:1,payload:We})}function Ue(){Ve({type:0,payload:!qe})}const Be=(0,ye.useMemo)(()=>{if(Ge){const{status:Te}=Ge;return a.createElement(a.Fragment,null,_e(Ge))}return null},[Ge]);function Ze(){Ve({type:0,payload:!0}),Ve({type:1,payload:"1"}),ze()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${qe?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(ae.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(me,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:Oe?"":Fe,onChange:Ke}),rightNode:Le?a.createElement(ie.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):Ge?Be:a.createElement("p",{style:{color:"#536879"}},"\u8BF7\u586B\u5199\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D")})),a.createElement("a",{className:`btn-collapse ${qe?"up":""}`,onClick:Ue},qe?a.createElement(pe.Z,null):a.createElement(he.Z,null)),a.createElement("footer",{className:"footer"},a.createElement("span",{style:{visibility:"hidden"}},"\u63A7\u5236\u53F0"),a.createElement("div",{className:"flex-container"},a.createElement(E.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost"},"\u4E0A\u4E00\u9898"),a.createElement(E.ZP,{id:"oj-next",className:"btn-blue",type:"ghost"},"\u4E0B\u4E00\u9898"),a.createElement(E.ZP,{className:"btn-green",type:"ghost",loading:Le,onClick:Ze},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:Ye,disabled:Ye,onClick:()=>{Ve({type:0,payload:!1}),ke()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},86723:function(ct,ot,Se){"use strict";Se.d(ot,{h:function(){return ye}});var ye=(je=>(je[je.NOMATCH=-1]="NOMATCH",je[je.OK=0]="OK",je[je.TIMEOUT=2]="TIMEOUT",je[je.PODFAILURE=3]="PODFAILURE",je[je.COMPILEFAILURE=4]="COMPILEFAILURE",je[je.EXECUTEFAILURE=5]="EXECUTEFAILURE",je[je.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",je))(ye||{})},24833:function(ct,ot,Se){"use strict";Se.d(ot,{Y2:function(){return Me},ZP:function(){return Oe}});var ye=Se(59301),je=Se(54580),E=Se(8591),pe=Se(43418),he=Se(95237),ce=Se(5112),oe=Se(3113),ie=Se(24905),ue=Se(6848),se=Se(92832),ae={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf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YnuxK7Atn3EAJ/VTnDEEVdgZgiM9yFUqACO2lSDGJnmL3teWrpI+OAmA8f9a0i4xB/bTHFITafkwEyfYkjjwiIyTWjx2MFdmEc32O/ThQrZhWIzSDjK0qxHmhtB8S0OmMxroLbx5ujtZp6HA/8OSerKXK9sYFYPW37GrkiwCYhq1ViS5fYXprMWSBm0jZVQVfZPm5aiV2A7HAxlqpMVY49DAaI2fFKX6SVq6/lgjepxC5gxlmZvoRbjwiIWXFKU5wbwuu07M0hNh/6U5VpSrt7sQAxCy5pirEBwDY7E7unMzDTlIE3sQAx1fYoCq4RvJpWYtfyAzNFCfkRChBTaYuioBrDSxXETsEAM0UJGgIQU2WHkmCG8X2KpMR3HkutqMmZWEzwAC1GpaptgFhVeU0NvgvD+FsTuJbqqYXYMkiA1iThgVgT2dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ne=Se(47257),te=Se.n(ne),a=Se(49894),y=Se(7660),x=Se(1012),b=Se(88230),ee=Se(90853),z=Se(59301),le=Object.defineProperty,de=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(Fe,Le,Ye)=>Le in Fe?le(Fe,Le,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Fe[Le]=Ye,Pe=(Fe,Le)=>{for(var Ye in Le||(Le={}))me.call(Le,Ye)&&ve(Fe,Ye,Le[Ye]);if(fe)for(var Ye of fe(Le))be.call(Le,Ye)&&ve(Fe,Ye,Le[Ye]);return Fe},Ee=(Fe,Le)=>de(Fe,ge(Le)),Ae=(Fe,Le,Ye)=>new Promise((He,Ge)=>{var Ke=Ne=>{try{ke(Ye.next(Ne))}catch(Ve){Ge(Ve)}},ze=Ne=>{try{ke(Ye.throw(Ne))}catch(Ve){Ge(Ve)}},ke=Ne=>Ne.done?He(Ne.value):Promise.resolve(Ne.value).then(Ke,ze);ke((Ye=Ye.apply(Fe,Le)).next())});const{Dragger:Ce}=je.default,_e=Fe=>{const Le=Ve=>Ve&&Ve.substring(0,Ve.lastIndexOf("."));for(var Ye=[...Fe],He=0,Ge=[],Ke=0;Ke{if(Ve.forEach(qe=>{let rt=qe.name.split(/\.(?=[^\.]+$)/);qe.name=`${rt[0]}.${rt[1].toLowerCase()}`}),Ve[0].name.includes(".in"))return Ve.length===2?Ve:[Ve[0],{}];if(Ve[0].name.includes(".out"))return Ve.length===2?Ve.reverse():[{},Ve[0]]})},we=({onClose:Fe,onOK:Le,visible:Ye,wrapClassName:He,rootIdentifier:Ge,multiple:Ke=!1,defaultMultipleValue:ze=!0})=>{const[ke,Ne]=(0,ye.useState)([]),[Ve,qe]=(0,ye.useState)({}),[rt,Qe]=(0,ye.useState)(!1),[Ue,Be]=(0,ye.useState)(!0),Ze=(0,ye.useRef)([]),Te=(0,ye.useRef)(0),We=()=>{Fe()};(0,ye.useEffect)(()=>{at()},[]),(0,ye.useEffect)(()=>{Ye&&(Ze.current=[],Te.current=0,Ne([]),Be(ze))},[Ye]);const at=()=>Ae(void 0,null,function*(){try{const nt=yield(0,y.ZP)("/api/buckets/get_upload_token_for_big_files",{method:"get"}),$e=JSON.parse((0,a.pe)(nt.data));qe($e)}catch(nt){}}),et=nt=>nt&&nt.substring(0,nt.lastIndexOf(".")),Je=nt=>{var $e,tt;const st=et(($e=nt[0])==null?void 0:$e.name)||et((tt=nt[1])==null?void 0:tt.name),it=ke.filter(lt=>et(lt.name)!==st);Ze.current=[...it],Ne([...it])},Ie=nt=>{if(!Ue){const ut=new FormData;ut.append("file",nt.file),(0,y.ZP)("/api/attachments/get_file_content.json",{method:"post",body:ut},!0).then(vt=>{if(vt.status===0){Te.current=Te.current+1;const mt=Ze.current.map(bt=>{var _t;if(bt.name===nt.name){const Mt=Pe({},bt);return(_t=nt==null?void 0:nt.name)!=null&&_t.includes(".in")?Mt.input=vt==null?void 0:vt.content:Mt.output=vt==null?void 0:vt.content,Mt}return bt});if(Ze.current=[...mt],Ne([...mt]),Te.current>0&&Te.current===ke.length){Qe(!1);let bt=_e(mt);bt=bt.filter(_t=>{var Mt,yt;return!!((Mt=_t[0])!=null&&Mt.name&&((yt=_t[1])!=null&&yt.name))}),bt=bt.map(_t=>Ee(Pe(Pe({},_t[0]),_t[1]),{is_file:!1})),Le(bt),Fe()}}else Qe(!1),Fe()});return}const $e=new(te())({endpoint:Ve.end_point,region:Ve.region,accessKeyId:Ve.access_key_id,accessKeySecret:Ve.access_key_secret,bucket:Ve.bucket,stsToken:Ve.security_token}),tt=nt.name,st={container_type:"TestSet",file_name:tt},it=(0,x.Z)();let lt=`testsets/${Ge}/${it}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`;Ge===null&&(lt=`testsets/${it}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`),$e.multipartUpload(lt,new Blob([nt.file],{type:nt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:tt+""},url:Ve==null?void 0:Ve.callback_url,host:Ve==null?void 0:Ve.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,y.rz)(st)}}).then(function(ut){if(ut.data.status===0){Te.current=Te.current+1;const pt=Ze.current.map(vt=>{var mt,bt,_t,Mt,yt,wt,xt,ln,Yt,on,Zt,$t,Wt,sn,xn,Sn,_n;if(vt.name===((bt=(mt=ut.data)==null?void 0:mt.data)==null?void 0:bt.file_name)){const yn=Pe({},vt);return(yt=(Mt=(_t=ut.data)==null?void 0:_t.data)==null?void 0:Mt.file_name)!=null&&yt.includes(".in")?(yn.in_object_key=(xt=(wt=ut.data)==null?void 0:wt.data)==null?void 0:xt.object,yn.in_object_size=(Yt=(ln=ut.data)==null?void 0:ln.data)==null?void 0:Yt.size,yn.input=(Zt=(on=ut.data)==null?void 0:on.data)==null?void 0:Zt.file_name,yn.in_file=nt):(yn.out_object_key=(Wt=($t=ut.data)==null?void 0:$t.data)==null?void 0:Wt.object,yn.out_object_size=(xn=(sn=ut.data)==null?void 0:sn.data)==null?void 0:xn.size,yn.output=(_n=(Sn=ut.data)==null?void 0:Sn.data)==null?void 0:_n.file_name,yn.out_file=nt),yn}return vt});if(Ze.current=[...pt],Ne([...pt]),Te.current>0&&Te.current===ke.length){Qe(!1);let vt=_e(pt);vt=vt.filter(mt=>{var bt,_t;return!!((bt=mt[0])!=null&&bt.name&&((_t=mt[1])!=null&&_t.name))}),vt=vt.map(mt=>Ee(Pe(Pe({},mt[0]),mt[1]),{is_file:!0})),Le(vt),Fe()}}})},xe=nt=>new Promise(($e,tt)=>{let st=0,it=[];for(let lt=0;lt{st++,st===nt.length&&(it.length?(E.ZP.warning(`${it.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),tt()):$e(nt))}).catch(ut=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",ut),st++,it.push(nt[lt].name),st===nt.length&&(it.length?(E.ZP.warning(`${it.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),tt()):$e(nt))})}),De=()=>Ae(void 0,null,function*(){if(ke.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield xe(ke),Qe(!0),_e(ke).some($e=>{var tt,st;return!((tt=$e[0])!=null&&tt.name&&((st=$e[1])!=null&&st.name))})){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Ae(void 0,null,function*(){ke.map($e=>Ae(void 0,null,function*(){Ie($e)}))}),onCancel:()=>{Qe(!1)}});return}ke.map($e=>Ae(void 0,null,function*(){Ie($e)}))}),Re={name:"file",fileList:ke,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:nt=>{if(ke!=null&&ke.some(tt=>tt.name===nt.name))return E.ZP.info(`${nt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(nt.size/1024/1024>100)return E.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(nt.name))return E.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const $e={name:nt.name,uid:nt.uid,file:nt,percent:0};return ke.push($e),Ze.current=[...ke],Ne([...ke]),!1}},Xe=_e(ke);return console.log(ke,Xe,"fileList"),z.createElement(pe.default,{open:Ye,wrapClassName:He,onOk:De,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:rt},onCancel:We,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ae.wrap},ke.length?z.createElement("div",null,z.createElement(he.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Ke?"visible":"hidden"}},z.createElement("span",{className:ae.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(ce.ZP.Group,{className:`ml20 ${ae.testCaseRadio}`,optionType:"button",value:Ue,onChange:nt=>Be(nt.target.value)},z.createElement(ce.ZP,{value:!1},"\u6587\u672C"),z.createElement(ce.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(je.default,Pe({},Re),z.createElement(oe.ZP,{type:"primary",className:ae.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(Me,{data:Xe,onRemove:Je})):z.createElement("div",{className:`${ae.noData} mb30`},z.createElement(je.default.Dragger,Ee(Pe({},Re),{className:ae.dragger}),z.createElement("img",{src:re,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:ae.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ae.text},z.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),z.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",z.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",z.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",z.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",z.createElement("br",null))))},Me=({data:Fe=[],onRemove:Le,width:Ye="auto",showScore:He=!1,disabled:Ge=!1,inputChange:Ke,onEvaluatingChange:ze,onSelectAll:ke,checkAll1:Ne,checkAll2:Ve,checkAll3:qe,checkAll4:rt,checkAll5:Qe,showEvaluatingSetting:Ue=!1,className:Be="",isProgramHomework:Ze=!1})=>{const Te={value:"",filename:"",dataUrl:""},[We,at]=(0,ye.useState)(Pe({},Te)),et=xe=>{let De=document.createElement("a");document.body.appendChild(De);let Re=URL.createObjectURL(xe.file);De.href=Re,De.download=xe.name,De.click(),URL.revokeObjectURL(Re),document.body.removeChild(De)},Je=(xe,De)=>{(0,b.LR)(xe,De)},Ie=(xe,De)=>{pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Le(xe,De)},onCancel:()=>{}})};return Fe.length?z.createElement("div",{className:Be,style:{width:Ye}},z.createElement("div",{className:`${Ze?ae.headProgram:ae.head}`},Ue&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ne,onChange:xe=>{ke(xe.target.checked,"hidden")}}),z.createElement(ue.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:Ze?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:He?Ze?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:He?Ze?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),He&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:rt,onChange:xe=>{ke(xe.target.checked,"input_visible")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ve,onChange:xe=>{ke(xe.target.checked,"is_invisible")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Qe,onChange:xe=>{ke(xe.target.checked,"actual_output_visible")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:qe,onChange:xe=>{ke(xe.target.checked,"last_match_rule")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:ae.operation,style:Ze?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ae.listWrapper,style:{boxShadow:Ze?"0px 2px 4px 0px #EAEEF4":"unset"}},Fe.map((xe,De)=>{var Re,Xe,nt,$e;return z.createElement("div",{key:De,className:ae.list,style:Ze?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Ue&&z.createElement("div",{style:{width:"15%"}},z.createElement(ie.default,{checked:!!xe.hidden,onChange:tt=>{ze(tt.target.checked,De,"hidden")}})),z.createElement("div",{style:{width:Ze?"25%":"15%",paddingLeft:Ze?"5px":"0px",paddingRight:Ze?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",De+1),z.createElement("div",{className:ae.info,style:{width:He?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:xe.input||((Re=xe[0])==null?void 0:Re.name),onClick:()=>Ae(void 0,null,function*(){let tt;xe.input?xe.input_file_url?tt=xe.input_file_url:tt=xe.in_file:tt=xe[0];let st;typeof tt=="string"?(st=yield fetch(tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),at({value:yield st.text(),filename:"",dataUrl:tt})):(st=yield(0,b.db)(tt.file),at({value:st.text,filename:tt.name,dataUrl:st.link}))})},xe.input||((Xe=xe[0])==null?void 0:Xe.name))),z.createElement("div",{className:ae.info,style:{width:He?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:xe.output||((nt=xe[1])==null?void 0:nt.name),onClick:()=>Ae(void 0,null,function*(){let tt;xe.input?xe.output_file_url?tt=xe.output_file_url:tt=xe.out_file:tt=xe[1];let st;typeof tt=="string"?(st=yield fetch(tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),at({value:yield st.text(),filename:"",dataUrl:tt})):(st=yield(0,b.db)(tt.file),at({value:st.text,filename:tt.name,dataUrl:st.link}))})},xe.output||(($e=xe[1])==null?void 0:$e.name))),He&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{size:"large",addonAfter:Ze?"%":null,disabled:Ge,style:{width:"80%"},onChange:tt=>Ke(tt,De),value:xe.score}),!Ze&&z.createElement("span",null,"\xA0%")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.input_visible||!1,onChange:tt=>{ze(tt.target.checked,De,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.is_invisible||!1,onChange:tt=>{ze(tt.target.checked,De,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.actual_output_visible||!1,onChange:tt=>{ze(tt.target.checked,De,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.last_match_rule||!1,onChange:tt=>{ze(tt.target.checked,De,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>Ie(xe,De),style:Ze?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ae.del},"\u5220\u9664")))})),z.createElement(ee.Z,{close:!0,data:We.dataUrl,filename:We.filename,type:We.dataUrl.length?"txt":"",onClose:()=>at(Pe({},Te)),monacoEditor:{value:We.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Oe=we},52649:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ne}});var ye=Se(59301),je=Se(8591),E=Se(6848),pe=Se(71418),he=Se(95237),ce=Se(43604),oe=Se(58421),ie=Se(3113),ue=Se(64726),se=Se(7660),ae=Se(99325),re=(a,y,x)=>new Promise((b,ee)=>{var z=ge=>{try{de(x.next(ge))}catch(fe){ee(fe)}},le=ge=>{try{de(x.throw(ge))}catch(fe){ee(fe)}},de=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(z,le);de((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[ee,z]=(0,ye.useState)(""),[le,de]=(0,ye.useState)(!1);function ge(me){z(me)}function fe(){if(!ee){je.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,ee),z("")}return(0,ye.useEffect)(()=>{y!=a&&de(!1)},[y]),ye.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},ye.createElement(ue.Z,{miniToolbar:!0,startInit:y===a,defaultValue:ee,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:ge,extraUse:b&&ye.createElement(E.Z,{color:"#fff",open:le,destroyTooltipOnHide:!0,title:te({id:a,isOpen:le,activeDiscussIndex:y,onChange:ge,setIsOpen:de}),overlayStyle:{maxWidth:600}},ye.createElement("a",{title:le?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>de(!le)},ye.createElement("i",{className:"iconfont icon-dianzan11"})))}),ye.createElement("a",{onClick:fe,className:"btn-send"},"\u53D1\u9001"))};const te=a=>{const[y,x]=(0,ye.useState)(!1),[b,ee]=(0,ye.useState)([]),[z,le]=(0,ye.useState)(1);(0,ye.useEffect)(()=>{a!=null&&a.isOpen?de():(le(1),ee([]))},[a==null?void 0:a.isOpen]);const de=()=>re(void 0,null,function*(){x(!0);const ge=yield(0,se.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(ge==null?void 0:ge.status)==0&&ee(ge==null?void 0:ge.answer),x(!1)});return ye.createElement(pe.Z,{spinning:y},ye.createElement("div",{style:{color:"#000"}},ye.createElement(ae.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[z-1])||""}),ye.createElement(he.Z,{justify:"end",align:"middle"},ye.createElement(ce.Z,null,ye.createElement(oe.Z,{simple:!0,current:z,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:ge=>{le(ge)}})),ye.createElement(ce.Z,null,ye.createElement(ie.ZP,{onClick:()=>re(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[z-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},3404:function(ct,ot,Se){"use strict";Se.d(ot,{CP:function(){return E},_V:function(){return ce}});var ye=Se(28209),je=Se.n(ye);const E={secret:ye.enc.Utf8.parse("0a18e199b87f1a8d"),iv:ye.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},pe={exam:E};function he(oe="",ie="exam"){const{secret:ue,iv:se}=pe[ie];return AES.encrypt(oe,ue,{iv:se,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function ce(oe="",ie="exam"){const{secret:ue,iv:se}=pe[ie];return ye.AES.decrypt(oe,ue,{iv:se,mode:je().mode.CBC,padding:je().pad.Pkcs7}).toString(ye.enc.Utf8)}},20736:function(ct,ot,Se){"use strict";Se.d(ot,{BU:function(){return je},Dj:function(){return ye},gH:function(){return E},vp:function(){return pe}});function ye(he){try{he.mozRequestFullScreen?he.mozRequestFullScreen():he.webkitRequestFullScreen&&he.webkitRequestFullScreen()}catch(ce){console.log(ce,":e")}}function je(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function pe(){var he=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ce=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",he),window.isFullScreen?window.isFullScreen:he!=null}},59579:function(ct,ot,Se){"use strict";Se.d(ot,{U:function(){return ue}});var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(se,ae,re)=>ae in se?je(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:re}):se[ae]=re,oe=(se,ae)=>{for(var re in ae||(ae={}))pe.call(ae,re)&&ce(se,re,ae[re]);if(E)for(var re of E(ae))he.call(ae,re)&&ce(se,re,ae[re]);return se},ie=(se,ae,re)=>new Promise((ne,te)=>{var a=b=>{try{x(re.next(b))}catch(ee){te(ee)}},y=b=>{try{x(re.throw(b))}catch(ee){te(ee)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(a,y);x((re=re.apply(se,ae)).next())});function ue(se,ae){const[re,ne]=(0,ye.useState)(ae),[te,a]=(0,ye.useState)(!1),[y,x]=(0,ye.useState)();return[re,te,(ee,z=!1)=>ie(this,null,function*(){const le=z?ae:oe(oe({},re),ee);a(!0),ne(le);const de=yield se(le);return a(!1),x(de),de}),y]}},39649:function(ct,ot,Se){"use strict";Se.d(ot,{_:function(){return E}});var ye=Se(59301),je=Se(43418);const E=pe=>{var he,ce;const oe=(0,ye.useRef)([]),ie=()=>{for(const ue of oe.current)clearTimeout(ue);oe.current=[]};return(0,ye.useEffect)(()=>{var ue,se,ae,re,ne,te;if(ie(),(ue=pe==null?void 0:pe.exercise)!=null&&ue.left_time&&((ae=(se=pe==null?void 0:pe.exercise)==null?void 0:se.exercise_events)==null?void 0:ae.length)>0){for(const a of(re=pe==null?void 0:pe.exercise)==null?void 0:re.exercise_events)if(((ne=pe==null?void 0:pe.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((te=pe==null?void 0:pe.exercise)==null?void 0:te.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{je.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);oe.current.push(x)}}},[(he=pe==null?void 0:pe.exercise)==null?void 0:he.left_time,(ce=pe==null?void 0:pe.exercise)==null?void 0:ce.exercise_events]),ie}},85187:function(ct,ot,Se){"use strict";Se.d(ot,{AL:function(){return le},Iy:function(){return ae},Qv:function(){return te},ez:function(){return z},jb:function(){return re}});var ye=Se(32834),je=Se.n(ye),E=Se(11690),pe=Se.n(E);let he=1;function ce(be,ve){const Pe=be.match(/^(\s+)(?:```)/);if(Pe===null)return ve;const Ee=Pe[1];return ve.split(` +`)}]};var ie=Se(7947),ue=Se.n(ie),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(xe,De,Re)=>De in xe?se(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,x=(xe,De)=>{for(var Re in De||(De={}))te.call(De,Re)&&y(xe,Re,De[Re]);if(ne)for(var Re of ne(De))a.call(De,Re)&&y(xe,Re,De[Re]);return xe},b=(xe,De)=>ae(xe,re(De)),ee=(xe,De,Re)=>new Promise((Xe,nt)=>{var $e=it=>{try{st(Re.next(it))}catch(lt){nt(lt)}},tt=it=>{try{st(Re.throw(it))}catch(lt){nt(lt)}},st=it=>it.done?Xe(it.value):Promise.resolve(it.value).then($e,tt);st((Re=Re.apply(xe,De)).next())});const z={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},le=(xe,De)=>De.map(Re=>({label:Re,kind:xe.languages.CompletionItemKind.Keyword,insertText:Re})),de=xe=>Object.keys(z.tables).map(De=>({label:De,kind:xe.languages.CompletionItemKind.Variable,insertText:De})),ge=(xe,De)=>{const Re=z.tables[xe];return Re?Re.map(Xe=>({label:Xe,kind:De.languages.CompletionItemKind.Field,insertText:Xe})):[]};function fe(xe,De,Re,Xe,nt){let $e=De.getWordUntilPosition(Re),tt={startLineNumber:Re.lineNumber,endLineNumber:Re.lineNumber,startColumn:$e.startColumn,endColumn:$e.endColumn},st=Xe.map(it=>({label:it,kind:xe.languages.CompletionItemKind.Keyword,insertText:it,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:tt}));return nt.map(it=>{st.push(b(x({},it),{range:tt}))}),st}var me=xe=>{z.languages.map(nt=>(xe.languages.registerDocumentFormattingEditProvider(nt,{provideDocumentFormattingEdits($e,tt,st){return ee(this,null,function*(){const it=ue()($e.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:$e.getFullModelRange(),text:it}]})}}),nt));const De=he.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Re=ce.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Xe=pe.quickKey.map(nt=>({label:nt.label,kind:xe.languages.CompletionItemKind.Method,insertText:nt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet}));xe.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...he.keywords.map(lt=>({label:lt,kind:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...he.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn};return{suggestions:[...E.keywords.map(it=>({label:it,kind:xe.languages.CompletionItemKind.Function,documentation:it,insertText:it,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...pe.keywords.map(lt=>({label:lt,kind:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...pe.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...oe.keywords.map(lt=>({label:lt,kind:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...oe.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}}),xe.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(nt,$e){var tt=nt.getWordUntilPosition($e),st={startLineNumber:$e.lineNumber,endLineNumber:$e.lineNumber,startColumn:tt.startColumn,endColumn:tt.endColumn},it=nt.getLineContent($e.lineNumber).substring(tt.startColumn-2,tt.endColumn);return{suggestions:[...ce.keywords.map(lt=>({label:lt,kind:xe.languages.CompletionItemKind.Function,documentation:lt,insertText:lt,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st})),...ce.quickKey.map(lt=>({label:lt.label,kind:xe.languages.CompletionItemKind.Function,documentation:lt.content,insertText:it.startsWith("#")?lt.content.replace(/#/,""):lt.content,insertTextRules:xe.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:st}))]}}})};const be="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var ve=Object.defineProperty,Pe=(xe,De,Re)=>De in xe?ve(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,Ee=(xe,De,Re)=>Pe(xe,typeof De!="symbol"?De+"":De,Re);const Ae=class Jr{constructor(De,Re,Xe){this.placeholder=De,this.editor=Re,this.monaco=Xe,Re.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return Jr.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};Ee(Ae,"ID","editor.widget.placeholderHint");var _e=Ae,we=Se(96236),Me=Se(8591),Oe=Se(6848),Fe=Se(89392),Le=Se(50484),Ye=Se(56102),He=Object.defineProperty,Ge=Object.defineProperties,Ke=Object.getOwnPropertyDescriptors,ze=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Ne=Object.prototype.propertyIsEnumerable,Ve=(xe,De,Re)=>De in xe?He(xe,De,{enumerable:!0,configurable:!0,writable:!0,value:Re}):xe[De]=Re,qe=(xe,De)=>{for(var Re in De||(De={}))ke.call(De,Re)&&Ve(xe,Re,De[Re]);if(ze)for(var Re of ze(De))Ne.call(De,Re)&&Ve(xe,Re,De[Re]);return xe},rt=(xe,De)=>Ge(xe,Ke(De)),Qe=(xe,De)=>{var Re={};for(var Xe in xe)ke.call(xe,Xe)&&De.indexOf(Xe)<0&&(Re[Xe]=xe[Xe]);if(xe!=null&&ze)for(var Xe of ze(xe))De.indexOf(Xe)<0&&Ne.call(xe,Xe)&&(Re[Xe]=xe[Xe]);return Re},Ue=(xe,De,Re)=>new Promise((Xe,nt)=>{var $e=it=>{try{st(Re.next(it))}catch(lt){nt(lt)}},tt=it=>{try{st(Re.throw(it))}catch(lt){nt(lt)}},st=it=>it.done?Xe(it.value):Promise.resolve(it.value).then($e,tt);st((Re=Re.apply(xe,De)).next())});function Be(xe){return/^\d+$/.test(xe)?`${xe}px`:xe}function Ze(){}let Te=!1;const We={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function at(xe=[]){let De=xe;if(Array.isArray(xe)){for(let Re=0;Re{var De=xe,{width:Re="100%",height:Xe="100%",value:nt,language:$e="javascript",style:tt={},options:st={},overrideServices:it={},theme:lt="vs-dark",onEditBlur:ut,isCopy:pt=!1,onSave:vt,autoHeight:mt=!1,forbidCopy:St=!1,onChange:_t=Ze,editorDidMount:Mt=Ze,onFocus:yt=Ze,onBreakPoint:wt=Ze,breakPointValue:xt=[],filename:cn="educoder.txt",errorLine:Vt,errorContent:sn="",highlightLine:Zt,openBreakPoint:nn=!1,placeholder:Ht=""}=De,ln=Qe(De,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const Tn=(0,ye.useRef)(),Sn=(0,ye.useRef)({}),Ln=(0,ye.useRef)(),yn=(0,ye.useRef)(),mn=(0,ye.useRef)([]),Ct=(0,ye.useRef)(!1),Ot=(0,ye.useRef)(),At=(0,ye.useRef)(),tn=(0,ye.useRef)(!1),[gn,dt]=(0,ye.useState)(!1);function gt(){let Lt;return Tn.current&&(Lt=new je.Z(Rt=>{for(let $t of Rt)($t.target.offsetHeight>0||$t.target.offsetWidth>0)&&Sn.current.instance.layout()}),Lt.observe(Tn.current)),Lt}function ft(){Me.ZP.warning({content:decodeURIComponent(be),key:"monaco-editor-tip"})}const jt=()=>{let Lt=Sn.current.instance;if(nt!=null&&Lt&&gn){const Rt=Lt.getModel();Rt&&nt!==Rt.getValue()&&(Te=!0,Rt.setValue(nt),Lt.layout(),Te=!1)}};(0,ye.useEffect)(()=>{const Lt=Le.Z.subscribe("formatDocument",Rt=>{var $t;let rn=Sn.current.instance;($t=rn==null?void 0:rn.getAction)==null||$t.call(rn,"editor.action.formatDocument").run()});return window.updateMonacoValue=Rt=>{_t(Rt)},Lt},[]),(0,ye.useEffect)(()=>{var Lt;let Rt=Sn.current.instance;yn.current&&clearTimeout(yn.current),yn.current=setTimeout(()=>{jt()},500),nt&&(nt!=null&&nt.length)&&((Lt=Rt==null?void 0:Rt.updateOptions)==null||Lt.call(Rt,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(nt.split(/\r\n|\r|\n/g).length))+3,5)}))},[nt,gn,Sn.current]),(0,ye.useEffect)(()=>{if(Vt&&Sn.current&&Sn.current.instance){let Rt=Sn.current.instance;Rt.changeViewZones(function($t){var rn=document.createElement("div");rn.style.padding="10px 20px",rn.style.width="calc(100% - 20px)",rn.className="my-error-line-wrp",rn.innerHTML=sn,$t.addZone({afterLineNumber:Vt||11,heightInLines:3,domNode:rn})});var Lt={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Rt.addOverlayWidget(Lt),Rt.revealPositionInCenter({lineNumber:20,column:1})}},[Vt,Sn.current,gn]);const Yt=(Lt="",Rt)=>{if(!Lt||Lt.trim()==="")return!0;const rn=Sn.current.instance.getModel().getLineTokens(Rt);let vn=!1;for(let bn=0;bn<2;bn++)rn.getStandardTokenType(bn)===1&&(vn=!0);return vn};(0,ye.useEffect)(()=>{var Lt;const Rt=(Lt=Sn.current)==null?void 0:Lt.instance;if(Rt&&gn&&St){const $t=Rt.onDidBlurEditorWidget(()=>{tn.current=!1}),rn=Rt.onDidFocusEditorText(()=>{tn.current=!0});return()=>{$t.dispose(),rn.dispose()}}},[Sn.current,gn,St]),(0,ye.useEffect)(()=>{var Lt;if((Lt=Sn.current)!=null&&Lt.instance&&gn&&nn){let Rt=Sn.current.instance,$t=Rt.getModel();if(!$t)return;(()=>{var pn;let Bt=[],Wt=[];const on=$t.getAllDecorations();for(let En of on)En.options.className==="highlighted-line"&&(Bt.push((pn=En==null?void 0:En.range)==null?void 0:pn.startLineNumber),Wt.push(En==null?void 0:En.id));if(Zt===Bt[0])return;$t.deltaDecorations(Wt,[]);const Xt=$t.getLineCount();Zt&&Zt<=Xt&&(Rt.deltaDecorations([],[{range:new et.Range(Zt,1,Zt,$t.getLineMaxColumn(Zt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Rt.revealLineInCenter(Zt))})();const vn=(pn=!1)=>{var Bt;let Wt=[],on=[];const Xt=$t.getAllDecorations();for(let En of Xt)En.options.linesDecorationsClassName==="breakpoints-select"&&(Wt.push((Bt=En==null?void 0:En.range)==null?void 0:Bt.startLineNumber),on.push(En==null?void 0:En.id));if(pn)return{lines:Wt,ids:on};wt(Wt)},bn=pn=>Ue(void 0,null,function*(){let Bt={range:new et.Range(pn,1,pn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield $t.deltaDecorations([],[Bt]),vn()}),Cn=pn=>Ue(void 0,null,function*(){let Bt=[];const Wt=Rt.getLineDecorations(pn);for(let on of Wt)on.options.linesDecorationsClassName==="breakpoints-select"&&Bt.push(on.id);yield $t.deltaDecorations(Bt,[]),vn()}),Pn=pn=>{let Bt=Rt.getLineDecorations(pn);for(let Wt of Bt)if(Wt.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,Fe.isEqual)(xt,vn(!0).lines)){$t.deltaDecorations(vn(!0).ids,[]);const pn=xt.map(Bt=>({range:new et.Range(Bt,1,Bt,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));$t.deltaDecorations([],pn)}const On=Rt.onDidChangeModelContent(pn=>{let Bt=Rt.getPosition();if(Bt){let Wt=Bt.lineNumber;clearTimeout(At.current),At.current=setTimeout(()=>{Yt($t.getLineContent(Wt),Wt)?Cn(Wt):Pn(Wt)?(Cn(Wt),bn(Wt)):vn()},100)}}),An=Rt.onMouseDown(pn=>{var Bt,Wt,on;if(pn.target.detail&&((on=(Wt=(Bt=pn.target)==null?void 0:Bt.element)==null?void 0:Wt.className)!=null&&on.includes("line-numbers"))){let Xt=pn.target.position.lineNumber;if(Yt($t.getLineContent(Xt),Xt))return;Pn(Xt)?Cn(Xt):bn(Xt)}}),It=pn=>{let Bt={range:new et.Range(pn,1,pn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};mn.current=Rt.deltaDecorations(mn.current,[Bt])},qn=()=>{mn.current=Rt.deltaDecorations(mn.current,[])},Un=Rt.onMouseMove(pn=>{var Bt,Wt,on;if(qn(),pn.target.detail&&((on=(Wt=(Bt=pn.target)==null?void 0:Bt.element)==null?void 0:Wt.className)!=null&&on.includes("line-numbers"))){let Xt=pn.target.position.lineNumber;if(Yt($t.getLineContent(Xt),Xt))return;It(Xt)}}),zn=Rt.onMouseLeave(()=>{qn()});return()=>{On.dispose(),An.dispose(),Un.dispose(),zn.dispose()}}},[Sn.current,gn,xt,Zt,nn,$e]),(0,ye.useEffect)(()=>{var Lt;(Lt=Sn.current)!=null&&Lt.instance&&nn&&Sn.current.instance.setPosition({lineNumber:0,column:0})},[Zt]);function Qt(){let Lt=Sn.current.instance;if(Lt){const Rt=Lt.getSelection(),$t=Sn.current.pastePos||{},rn=new et.Range($t.startLineNumber||Rt.endLineNumber,$t.startColumn||Rt.endColumn,$t.endLineNumber||Rt.endLineNumber,$t.endColumn||Rt.endColumn);setTimeout(()=>{Lt.executeEdits("",[{range:rn,text:""}])},300)}}function jn(Lt){(window.navigator.platform.match("Mac")?Lt.metaKey:Lt.ctrlKey)&&Lt.keyCode==83&&(Lt.preventDefault(),vt())}const hn=()=>{if(mt&&Sn.current.instance){const Lt=Sn.current.instance.getContentHeight();Ut(Lt{if(!tn.current)return;const{keyCode:Rt,ctrlKey:$t,metaKey:rn,target:vn,type:bn}=Lt;return(bn==="paste"||(Rt===67||Rt===86)&&(rn||$t))&&vn.nodeName==="TEXTAREA"&&(ft(),Lt.preventDefault()),!1};function lr(Lt,Rt){var $t=window.URL||window.webkitURL||window,rn=new Blob([Rt]),vn=document.createElementNS("http://www.w3.org/1999/xhtml","a");vn.href=$t.createObjectURL(rn),vn.download=Lt,Rn(vn)}(0,ye.useEffect)(()=>{hn()},[hn]),(0,ye.useEffect)(()=>{Tn.current&&!gn&&Promise.all([Se.e(8909),Se.e(6894)]).then(Se.bind(Se,71448)).then(Lt=>{try{et=Lt,Sn.current.instance=et.editor.create(Tn.current,{value:nt,language:at($e),theme:lt,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},it);const Rt=Sn.current.instance;let vn=[...we.BH._menuItems].find(On=>On[0]._debugName=="EditorContext")[1],bn=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],Cn=(On,An)=>{var It,qn;let Un=On._first;do An.includes((qn=(It=Un.element)==null?void 0:It.command)==null?void 0:qn.id)&&On._remove(Un);while(Un=Un.next)};if(Mt(Rt,et),setTimeout(()=>{hn(),Sn.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{lr(cn||"educoder.txt",Rt.getValue())}})},500),Sn.current.subscription=Rt.onDidChangeModelContent(On=>{Ct.current?clearTimeout(Ot.current):(hn(),_t(Rt.getValue(),On)),Ot.current=setTimeout(()=>{Ct.current=!1},500)}),window.Monaco||me(et,at($e)),St&&(Cn(vn,bn),Tn.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Wn),window.removeEventListener("paste",Wn),window.addEventListener("keydown",Wn),window.addEventListener("paste",Wn)),window.Monaco=et,ut&&Rt.onDidBlurEditorWidget(()=>{ut(Rt.getValue())}),yt&&Rt.onDidFocusEditorText(()=>{yt(Rt.getValue())}),St)try{Rt.onDidPaste(On=>{const An=Rt.getSelection(),It=Sn.current.pastePos||{},qn=new et.Range(It.startLineNumber||An.endLineNumber,It.startColumn||An.endColumn,It.endLineNumber||An.endLineNumber,It.endColumn||An.endColumn);Rt.executeEdits("",[{range:On.range,text:""}])})}catch(On){}let Pn=gt();return Ht&&typeof Ht=="string"&&new _e(Ht,Rt,et),dt(!0),()=>{const On=Sn.current.instance;On.dispose();const An=On.getModel();An&&An.dispose(),Sn.current.subscription&&Sn.current.subscription.dispose(),Pn.unobserve(Tn.current)}}catch(Rt){}})},[]),(0,ye.useEffect)(()=>{if(Sn.current.instance&&gn)return document.addEventListener("keydown",jn,!1),()=>{document.removeEventListener("keydown",jn)}},[vt,gn]),(0,ye.useEffect)(()=>{let Lt=Sn.current.instance;if(Lt&&gn){let Rt=at($e);et.editor.setModelLanguage(Lt.getModel(),Rt)}},[$e,gn]),(0,ye.useEffect)(()=>{Sn.current.instance&&gn&&et.editor.setTheme(lt)},[lt,gn]),(0,ye.useEffect)(()=>{let Lt=Sn.current.instance;Ln.current=st,Lt&&gn&&(Lt.updateOptions(qe({},st)),setTimeout(()=>{Lt.getModel().updateOptions(qe({},st))},200))},[JSON.stringify(st),gn]),(0,ye.useEffect)(()=>{let Lt=Sn.current.instance;Lt&&gn&&Lt.layout()},[Re,Xe,gn]);const[Gt,Tt]=(0,ye.useState)(Be(Re)),[bt,Ut]=(0,ye.useState)(Be(Xe)),Et=rt(qe({},tt),{width:Gt,height:bt,position:"relative"});return ye.createElement("div",{className:"my-monaco-editor",ref:Tn,style:Et},pt&&ye.createElement(Ye.CopyToClipboard,{text:nt,onCopy:()=>Me.ZP.success("\u590D\u5236\u6210\u529F")},ye.createElement(Oe.Z,{title:"\u590D\u5236\u4EE3\u7801"},ye.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},ye.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function Ie({width:xe="100%",height:De="100%",original:Re,modified:Xe,language:nt,options:$e={}}){const tt=(0,ye.useRef)(),[st,it]=(0,ye.useState)(null);function lt(mt){let St;return tt.current&&(St=new je.Z(_t=>{for(let Mt of _t)(Mt.target.offsetHeight>0||Mt.target.offsetWidth>0)&&mt.layout()}),St.observe(tt.current)),St}(0,ye.useEffect)(()=>(tt.current&&Promise.all([Se.e(8909),Se.e(9404)]).then(Se.bind(Se,2550)).then(mt=>{et=mt;const St=et.editor.createDiffEditor(tt.current,rt(qe({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},$e),{wordWrap:!0}));it(St);let _t=lt(St);return()=>{St.dispose();const Mt=St.getModel();Mt&&Mt.dispose(),_t.unobserve(tt.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,ye.useEffect)(()=>{st&&st.setModel({original:et.editor.createModel(Re,nt),modified:et.editor.createModel(Xe,nt)})},[Re,Xe,nt,st]);const ut=Be(xe),pt=Be(De),vt={width:ut,height:pt};return ye.createElement("div",{className:"my-diff-editor",ref:tt,style:vt})}},34043:function(ct,ot,Se){"use strict";var ye=Se(58323),je=Se(57809),E=Se(78673),pe=Se(59301);const he=je.default.Option;ot.Z=({isTheoretical:ce,onFontSizeChange:oe,cmFontSize:ie,cmCodeMode:ue,autoFormat:se,onCodeModeChange:ae,onTabToSpace:re,onAutoFormat:ne,formatDocument:te,className:a="",tabToSpace:y,children:x,code_editor:b,challenge:ee})=>{const z={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return pe.createElement("div",{className:`tpi-code-setting ${a}`},pe.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),pe.createElement(je.default,{bordered:!1,size:"small",value:ue,onChange:ae},pe.createElement(he,{value:"vs"},"\u767D\u8272\u80CC\u666F"),pe.createElement(he,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),pe.createElement(je.default,{bordered:!1,size:"small",value:ie,onChange:oe},pe.createElement(he,{value:12},"12px"),pe.createElement(he,{value:14},"14px"),pe.createElement(he,{value:16},"16px"),pe.createElement(he,{value:18},"18px"),pe.createElement(he,{value:20},"20px"),pe.createElement(he,{value:22},"22px"))),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"Tab\u8F6C\u6362"),pe.createElement(E.Z,{checked:y,onChange:re})),pe.createElement("div",{className:"file-item",onClick:te},pe.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),pe.createElement("span",null,"Ctrl + S")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),pe.createElement("span",null,"F1 / Alt + F1")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),pe.createElement("span",null,"Ctrl + ]/[")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),pe.createElement("span",null,"Ctrl + Shift + \\")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),pe.createElement("span",null,"Home")),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),pe.createElement("span",null,"End"))),x),!ce&&pe.createElement(pe.Fragment,null,pe.createElement("h3",null,"\u5FEB\u6377\u952E"),pe.createElement("section",null,pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),pe.createElement("span",null,z[ee==null?void 0:ee.difficulty])),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),pe.createElement("span",null,b==null?void 0:b.name)),pe.createElement("div",{className:"file-item"},pe.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),pe.createElement("span",null,b!=null&&b.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},50505:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return je}});var ye=Se(59301);function je(E,pe){const he=(0,ye.useRef)();(0,ye.useEffect)(()=>{he.current=E}),(0,ye.useEffect)(()=>{function ce(){he.current()}if(pe!==null){let oe=setInterval(ce,pe);return()=>clearInterval(oe)}},[pe])}},38992:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(31797),E=Se(5871),pe=Se(78241),he=Se(43418),ce=Se(71418),oe=Se(1710),ie=Se(92832),ue=Se(95237),se=Se(43604),ae=Se(3113),re=Se(30897),ne=Se(61186),te=Se.n(ne),a=Se(24459),y=Se(88230),x=Se(93261),b=Se(73898),ee=Se(59579),z=Se(59301),le=(me,be,ve)=>new Promise((Pe,Ee)=>{var Ae=we=>{try{_e(ve.next(we))}catch(Me){Ee(Me)}},Ce=we=>{try{_e(ve.throw(we))}catch(Me){Ee(Me)}},_e=we=>we.done?Pe(we.value):Promise.resolve(we.value).then(Ae,Ce);_e((ve=ve.apply(me,be)).next())});const{Countdown:de}=je.default,ge=({value:me,onChange:be,MaxMinutes:ve})=>z.createElement(z.Fragment,null,z.createElement("div",{className:"p10 mb20",style:{background:"#F6F7F9"}},"1.\u53EA\u6709\u5F53\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u665A\u4E8E\u5B66\u751F\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u65F6\uFF0C\u624D\u652F\u6301\u5BF9\u5B66\u751F\u8FDB\u884C\u5EF6\u65F6\u64CD\u4F5C\uFF1B",z.createElement("br",null),"2.\u6BCF\u4E2A\u5B66\u751F\u7684\u6700\u5927\u53EF\u5EF6\u65F6\u65F6\u95F4=\u8003\u8BD5\u622A\u6B62\u65F6\u95F4-\u5B66\u751F\u5F53\u524D\u7684\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\u3002",z.createElement("br",null)),z.createElement(E.Z,{value:me,onChange:be,min:0,precision:0,max:ve,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${ve}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),fe=({exercise:me,successCb:be,dispatch:ve})=>{var Pe,Ee,Ae,Ce;const _e=(0,a.useParams)(),[we]=pe.default.useForm(),Me=pe.default.useWatch("time",we),[Oe,Fe]=(0,ye.useState)(!1),Le=(0,ye.useRef)(),{actionTabs:Ye}=me,[He,Ge]=(0,ye.useState)(),[,Ke,ze,ke]=(0,ee.U)(re.n7,{id:_e.categoryId}),[,Ne,Ve]=(0,ee.U)(re.Cd,{});(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&(Fe(!1),we.resetFields())},[me.actionTabs.key]);const qe=()=>new Promise(et=>le(void 0,null,function*(){var Je,Ie;return Le.current=yield(0,x.y)({ip_limit:(Je=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Je.ip_limit,ip_bind:(Ie=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ie.ip_bind_type}),et()})),rt=()=>le(void 0,null,function*(){var et,Je,Ie,xe,De;yield we.validateFields();const Re=we.getFieldsValue();if(Fe(!0),(((et=Ye==null?void 0:Ye.exerciseParams)==null?void 0:et.ip_limit)!=="no"||(Je=Ye==null?void 0:Ye.exerciseParams)!=null&&Je.ip_bind_type)&&(yield qe()),(yield(0,re.ZD)((Ie=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ie.id,{exercise_user_id:(xe=Ye==null?void 0:Ye.exerciseParams)==null?void 0:xe.exercise_user_id,unlock_key:Re.unlock_key,time:Re.time,ip:Le.current})).status===0){if(be){ve({type:"exercise/setActionTabs",payload:{}}),be();return}const nt=Ye==null?void 0:Ye.exerciseParams;(0,y.nr)({inner_ip:nt.inner_ip,public_ip:nt.public_ip,open_camera:nt.open_camera,ip_limit:nt.ip_limit,ip_bind:nt.ip_bind,ip_bind_type:nt.ip_bind_type,exercise_tips:nt.exercise_tips,exerciseId:nt.id,screen_open:nt.screen_open,screen_num:nt.screen_num,screen_sec:nt.screen_sec,coursesId:_e.coursesId,login:(De=(0,b.eY)())==null?void 0:De.login,history,identity_verify:nt.identity_verify,open_phone_video_recording:nt.open_phone_video_recording,current_status:nt.current_status}),ve({type:"exercise/setActionTabs",payload:{}})}Fe(!1)}),Qe=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:et=>z.createElement("span",{className:et.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},et)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:et=>z.createElement("span",{className:et.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},et)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],Ue=((Pe=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Pe.errorMessage)&&typeof((Ee=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ee.errorMessage)=="object";(0,ye.useEffect)(()=>{me.actionTabs.key==="student-unlock"&&le(void 0,null,function*(){const et=yield Ve(_e);yield ze({}),et.status||Ge(et)})},[me.actionTabs.key]);const{time:Be,end_time:Ze}=(He==null?void 0:He.exercise)||{},Te=ke!=null&&ke.user_end_time?te()(ke==null?void 0:ke.user_end_time).add(1,"minutes"):te()(),We=te()(ke==null?void 0:ke.user_total_end_time)>Te?Math.round(te().duration(te()(ke==null?void 0:ke.user_total_end_time).diff(Te.startOf("minute"))).asMinutes()):0,at=((ke==null?void 0:ke.student_left_minutes)||0)+(Me||0);return z.createElement(z.Fragment,null,z.createElement(he.default,{width:514,centered:!0,closable:!!((Ae=Ye==null?void 0:Ye.exerciseParams)!=null&&Ae.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:me.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{ve({type:"exercise/setActionTabs",payload:{}})}},z.createElement(ce.Z,{spinning:Ke||Ne},Ue&&z.createElement("div",{style:{marginBottom:16}},"\u8BE5\u8D26\u53F7\u5DF2\u7ECF\u5B58\u5728\u5F02\u5E38\u60C5\u51B5\uFF0C\u82E5\u975E\u672C\u4EBA\u64CD\u4F5C\uFF0C\u8BF7\u8054\u7CFB\u76D1\u8003\u8001\u5E08\u8BF4\u660E\u60C5\u51B5\u3002 "),!Ue&&z.createElement("div",{style:{marginBottom:16}},"\u7CFB\u7EDF\u68C0\u6D4B\u5230\u60A8\u5728\u8003\u8BD5\u65F6\u4E2D\u9014\u9000\u51FA\uFF0C\u73B0\u5DF2\u5C06\u8003\u8BD5\u9501\u5B9A\u3002\u5982\u9700\u7EE7\u7EED\u8FDB\u884C\u8003\u8BD5\uFF0C \u8BF7\u5C3D\u5FEB\u8054\u7CFB\u8BFE\u5802\u8001\u5E08\u8FDB\u884C\u89E3\u9501\uFF01"),Ue&&z.createElement(oe.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Ce=Ye==null?void 0:Ye.exerciseParams)==null?void 0:Ce.errorMessage)||{}],columns:Qe}),z.createElement("div",{className:""},z.createElement(pe.default,{form:we,layout:"vertical",autoComplete:"off"},z.createElement(pe.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},z.createElement(ie.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),Be!==-1?z.createElement(z.Fragment,null,z.createElement(pe.default.Item,{name:"time",label:z.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",z.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",te()(ke==null?void 0:ke.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},z.createElement(ge,{MaxMinutes:We})),z.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},Ke||Ne?"--":at),"\u5206\u949F",at!==0&&(ke==null?void 0:ke.user_end_time)&&z.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",z.createElement("span",{className:"ml5"},te()(ke==null?void 0:ke.user_end_time).add(Me||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):z.createElement("span",{style:{color:"#F6A53B"}}," \u5F53\u524D\u8003\u8BD5\u672A\u9650\u5236\u8003\u751F\u7B54\u9898\u65F6\u957F\uFF0C\u8003\u8BD5\u622A\u6B62\u65F6\u95F4\u4E3A ",te()(Ze).format("YYYY-MM-DD HH:mm")))),z.createElement(ue.Z,{justify:"space-between",align:"middle"},z.createElement(se.Z,null),z.createElement(se.Z,null,z.createElement(ae.ZP,{loading:Oe,onClick:rt},"\u8FDB\u5165\u8003\u8BD5"))))))};ot.Z=(0,a.connect)(({exercise:me})=>({exercise:me}))(fe)},47365:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return a}});var ye=Se(59301),je=Se(24459),E=Se(43418),pe=Se(3113),he=Se(71418),ce=Se(5247),oe=Se(70037),ie=Se(57800),ue=Se(24334),se=Se(61186),ae=Se.n(se),re=Se(86723),ne=Se(59301),te=(y,x,b)=>new Promise((ee,z)=>{var le=fe=>{try{ge(b.next(fe))}catch(me){z(me)}},de=fe=>{try{ge(b.throw(fe))}catch(me){z(me)}},ge=fe=>fe.done?ee(fe.value):Promise.resolve(fe.value).then(le,de);ge((b=b.apply(y,x)).next())}),a=({open:y,onClose:x})=>{const[b,ee]=(0,ye.useState)(void 0);console.log((0,je.useLocation)(),33);const z=(0,je.useLocation)();(0,ye.useEffect)(()=>{y&&function(){return te(this,null,function*(){const Ge=yield(0,ce.X6)(y);ee(Ge.data)})}()},[y]);const{status:le,created_at:de,code:ge,name:fe,language:me,pass_sets_count:be,set_count:ve,error_msg:Pe,output:Ee,input:Ae,expected_output:Ce,execute_memory:_e,user:we,execute_time:Me,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Ye}=b||{};return ne.createElement(E.default,{open:y,width:1e3,onCancel:()=>x(!1),footer:ne.createElement(pe.ZP,{type:"primary",onClick:()=>x(!1)},"\u5173\u95ED"),centered:!0},ne.createElement(he.Z,{spinning:!b,delay:500},ne.createElement("div",{className:"record-detail-info"},b?ne.createElement(ne.Fragment,null,ne.createElement("div",{className:"record-detail-body"},ne.createElement("h2",null," \u63D0\u4EA4\u8BB0\u5F55 "),ne.createElement("ul",{className:"record-info"},ne.createElement("li",null," \u8BC4\u6D4B\u7ED3\u679C\uFF1A",ne.createElement("span",{className:le===0?"c-green":"c-red"},oe.Im[le])," "),ne.createElement("li",null," \u63D0\u4EA4\u65F6\u95F4\uFF1A",ne.createElement("span",null,ae()(de).format("YYYY-MM-DD HH:mm:ss"))," "),ne.createElement("li",null," \u8BED\u8A00\uFF1A",ne.createElement("span",null,me)," "),ne.createElement("li",null," \u6267\u884C\u7528\u65F6\uFF1A",ne.createElement("span",null,Me*1e3,"ms")," "),ne.createElement("li",null," ",`${le===re.h.HIDE_COMPILE_STATUS?"--":be} / ${ve} \u4E2A\u901A\u8FC7\u7684\u6D4B\u8BD5\u7528\u4F8B`," ")),(0,oe.gZ)({status:le,error_msg:Pe,execute_time:Me,output:Ee,input:Ae,expected_output:Ce,input_file_url:Oe,output_file_url:Fe,is_file:Le,expected_output_file_url:Ye}),ne.createElement("h2",null," \u63D0\u4EA4\u7684\u5185\u5BB9 "),ne.createElement(ie.ZP,{height:"200px",width:"100%",language:me==null?void 0:me.toLocaleLowerCase(),value:ue.Base64.decode(ge),options:{readOnly:!0}}))):null)))}},21758:function(ct,ot,Se){"use strict";Se.d(ot,{Im:function(){return ve},Y4:function(){return Ee}});var ye=Se(59301),je=Se(92832),E=Se(8591),pe=Se(3113),he=Se(76826),ce=Se(24334),oe=Se.n(ce),ie=Se(7850),ue=Se(7651),se=Se(99325),ae=Se(88230),re=Se(34376),ne=Se.n(re),te=Se(7660),a=Se(24459),y=Se(47365),x=Se(50484),b=Se(5247),ee=Se(50397),z=Se(90853),le=Se(92310),de=Se.n(le),ge=Se(20736),fe=Se(59301),me=(_e,we,Me)=>new Promise((Oe,Fe)=>{var Le=Ge=>{try{He(Me.next(Ge))}catch(Ke){Fe(Ke)}},Ye=Ge=>{try{He(Me.throw(Ge))}catch(Ke){Fe(Ke)}},He=Ge=>Ge.done?Oe(Ge.value):Promise.resolve(Ge.value).then(Le,Ye);He((Me=Me.apply(_e,we)).next())});const{TextArea:be}=je.default,ve={[he.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[he.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[he.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Pe=(_e=>(_e[_e.SET_VISIBLE=0]="SET_VISIBLE",_e[_e.SET_TABINDEX=1]="SET_TABINDEX",_e))(Pe||{});function Ee(_e){const{status:we,error_msg:Me,output:Oe,input:Fe,expected_output:Le,is_file:Ye,input_file_url:He,output_file_url:Ge,expected_output_file_url:Ke,setMonacoValue:ze,setData:ke}=_e,Ne=(0,ye.useRef)(),Ve=(0,ye.useRef)(),qe=(0,ye.useRef)();let rt=null;const Qe={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch((0,ye.useEffect)(()=>{if(Oe&&!Ye&&Ne.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Ne.current);const Be=(0,ae.pp)(ce.Base64.decode(Oe));Ue.write(Be),Ue.setOption("theme",{background:"#1e1e1e"})}if(Fe&&!Ye&&Ve.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(Ve.current),Ue.write((0,ae.pp)(Fe)),Ue.setOption("theme",{background:"#1e1e1e"})}if(Le&&!Ye&&qe.current){const Ue=new re.Terminal({fontSize:14,letterSpacing:1,cols:83,rows:10});Ue.open(qe.current),Ue.write((0,ae.pp)(ce.Base64.decode(Le))),Ue.setOption("theme",{background:"#1e1e1e"})}},[Oe]),we){case he.h.NOMATCH:rt=fe.createElement(fe.Fragment,null,fe.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ye&&fe.createElement("div",{ref:Ne}),Ye&&fe.createElement("div",{style:Qe},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ue=yield(0,te.ZP)(Ge,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});ze(Ue),setTimeout(()=>{ke(Ge)},200)})},Oe)),fe.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ye&&fe.createElement("div",{ref:qe}),Ye&&fe.createElement("div",{style:Qe},fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(this,null,function*(){const Ue=yield fetch(Ke,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});ze(yield Ue.text()),setTimeout(()=>{ke(Ke)},200)})},Le)));break;case he.h.EXECUTEFAILURE:rt=fe.createElement(fe.Fragment,null,fe.createElement("div",{style:{border:"1px #F6F7F9 solid"}},fe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ye&&fe.createElement(se.Z,{value:Fe,style:Qe}),Ye&&fe.createElement("div",{style:Qe},fe.createElement("a",{onClick:()=>(0,ae.LR)(He,Fe)},Fe))),fe.createElement("div",{style:{border:"1px #F6F7F9 solid",marginTop:"10px"}},fe.createElement("p",{style:{width:"100%",height:40,background:"#F6F7F9",lineHeight:"40px",color:"#666666",paddingLeft:"12px"}},"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),fe.createElement("pre",{className:ie.Z.error,style:{color:"#E30000",padding:"0 10px"}},ce.Base64.decode(Me),"111")));break;case he.h.COMPILEFAILURE:rt=fe.createElement(fe.Fragment,null,fe.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),fe.createElement("pre",{className:ie.Z.error},ce.Base64.decode(Me)));break;case he.h.PODFAILURE:rt=fe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:rt=fe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return fe.createElement(fe.Fragment,null," ",rt," ")}function Ae(_e){const{status:we,error_msg:Me,execute_time:Oe,output:Fe,input:Le,expected_output:Ye,is_file:He,input_file_url:Ge,output_file_url:Ke,expected_output_file_url:ze}=_e;let ke=null;switch(we){case he.h.OK:case he.h.NOMATCH:case he.h.EXECUTEFAILURE:case he.h.COMPILEFAILURE:ke=fe.createElement("div",{id:"outputResultRef",className:"h100"});break;case he.h.PODFAILURE:ke=fe.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case he.h.TIMEOUT:ke=fe.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return fe.createElement(fe.Fragment,null," ",ke," ")}function Ce({value:_e,className:we}){return fe.createElement("span",{className:we},_e)}ot.ZP=({input:_e,is_file:we,debuging:Me,submitting:Oe,executingMessage:Fe,debugResult:Le,onChangeInput:Ye,onDebugCode:He,onSubmitCode:Ge,hack:Ke,user:ze,submitResult:ke,isWhiteTheme:Ne,topDispatch:Ve})=>{const[qe]=(0,a.useSearchParams)(),rt=(0,a.useParams)(),[Qe,Ue]=(0,ye.useState)(!1),[Be,Ze]=(0,ye.useState)(!1),[Te,We]=(0,ye.useState)(1),[at,et]=(0,ye.useState)(!1),[Je,Ie]=(0,ye.useState)(0),[xe,De]=(0,ye.useState)(!1),[Re,Xe]=(0,ye.useState)(""),[nt,$e]=(0,ye.useState)(""),tt=(0,ye.useRef)(),st=(0,ye.useRef)(),it=(0,ye.useRef)(null),lt=(0,ye.useRef)(null),ut=(0,ye.useRef)(null);console.log(ke,"submitResult",rt);const{status:pt,id:vt,input:mt,output:St,expected_output:_t,is_file:Mt,input_file_url:yt,output_file_url:wt,expected_output_file_url:xt,error_msg:cn,hack_sets:Vt}=ke||{};(0,ye.useEffect)(()=>{pt===0&&(We(1),Ie(0))},[pt,vt]),(0,ye.useEffect)(()=>{me(void 0,null,function*(){var mn;const Ct=yield(0,b.rX)(rt==null?void 0:rt.id,"submit");(Ct==null?void 0:Ct.status)===0&&(Ct!=null&&Ct.data&&((mn=Ct==null?void 0:Ct.data)==null?void 0:mn.status)!==0?(Ve({type:ee.Types.SET_SUBMIT_RESULT,payload:{submitResult:Ct==null?void 0:Ct.data}}),We(2),Ie(320)):(We(1),Ie(0)))})},[rt==null?void 0:rt.id]),(0,ye.useEffect)(()=>{if(tt.current){let yn=function(gt){At=Ot.offsetHeight,tn=!0,gn=gt.pageY,ut.current.style.display="block"},mn=function(){tn=!1,ut.current.style.display="none"},Ct=function(gt){if(tn){sn();let ft=gn-gt.pageY,jt=At+ft;if(jt<0&&(jt=0),jt>window.innerHeight-150&&(jt=window.innerHeight-150),Te===1){jt<=34?Ie(0):Ie(jt);return}console.log(jt,"resizeH"),Ie(jt)}};const Ot=it.current;let At=0,tn=!1,gn=0;const dt=document.getElementById("case-y-bar");return dt==null||dt.addEventListener("mousedown",yn),document.addEventListener("mousemove",Ct),document.addEventListener("mouseup",mn),()=>{const gt=document.getElementById("case-y-bar");gt==null||gt.removeEventListener("mousedown",yn),document.removeEventListener("mousemove",Ct),document.removeEventListener("mouseup",mn)}}},[tt,Te]),(0,ye.useEffect)(()=>{const yn=x.Z.subscribe("resize-move-bar",sn);if(qe.get("type")!=="exercises")return document.addEventListener((0,ge.gH)(),Ht),()=>{document.removeEventListener((0,ge.gH)(),Ht),yn()}},[]),(0,ye.useEffect)(()=>{});function sn(){var yn,mn,Ct,Ot;const At=document.getElementById("outputResultRef");if(At){let tn=At.dataset.text;st.current.reset(),st.current.writeln(tn);const gn=document.getElementById("outputResultRef").offsetWidth-20,dt=((Ot=(Ct=(mn=(yn=st.current)==null?void 0:yn._core)==null?void 0:mn._renderService)==null?void 0:Ct.dimensions)==null?void 0:Ot.actualCellWidth)||10,gt=Math.ceil(gn/dt);st.current.resize(gt,Math.ceil(At.clientHeight/16))}}function Zt(){Ue(!Qe),setTimeout(()=>{sn()},300),Ie(Qe?320:window.innerHeight-150)}function nn(){Be?(Ze(!1),(0,ge.BU)()):(Ze(!0),(0,ge.Dj)(lt.current))}const Ht=yn=>{(0,ge.vp)()||Ze(!1)},ln=(0,ye.useMemo)(()=>{if(Le){const{status:yn,output:mn,error_msg:Ct}=Le;return setTimeout(()=>{let Ot="",At=document.getElementById("outputResultRef");mn?Ot=ce.Base64.decode(mn):Ct&&(Ot=ce.Base64.decode(Ct)),st.current=new re.Terminal({fontSize:14,theme:{background:"#181e2e",cursor:"transparent"},rendererType:"dom"}),st.current.open(At),st.current.onKey(function(tn){var gn;if(tn.domEvent.key.toLocaleUpperCase()==="C"&&tn.domEvent.ctrlKey){tn.domEvent.preventDefault();let dt=(gn=st.current)==null?void 0:gn.getSelection();navigator.clipboard.writeText(dt).then(()=>{})}}),At.dataset.text=Ot,st.current.setOption("convertEol",!0),sn()},300),fe.createElement(fe.Fragment,null,Ae(Le))}return null},[Le]);function Tn(){var yn,mn;if(!(Ke!=null&&Ke.code)||((yn=Ke==null?void 0:Ke.code)==null?void 0:yn.trim().length)===0){(mn=E.ZP)==null||mn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}We(1),Ie(320),He()}const Sn=yn=>me(void 0,null,function*(){let mn=yield(0,te.ZP)(`/api/problems/${yn}/start.json`,{method:"get",params:{hack_user_id:ze==null?void 0:ze.user_id}});mn&&(window.location.href=`/myproblems/${mn==null?void 0:mn.identifier}${window.location.search}`)});function Ln(){Mt?navigator.clipboard.writeText(ce.Base64.decode(cn)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")}):navigator.clipboard.writeText(ce.Base64.decode(St)).then(()=>{E.ZP.success("\u590D\u5236\u9519\u8BEF\u4FE1\u606F\u6210\u529F")})}return fe.createElement(ye.Fragment,null,fe.createElement("div",{className:de()(ie.Z.case,Ne&&ie.Z.whiteCase),style:{height:Je},ref:it},fe.createElement("div",{className:ie.Z.fullMask,ref:ut}),fe.createElement("div",{className:ie.Z["resize-y-bar"],id:"case-y-bar",ref:tt,draggable:!1},Te===2&&fe.createElement("i",{className:"iconfont icon-guangbiao",draggable:!1})),Te===1&&(Je<=34?fe.createElement("div",{onClick:()=>{Ie(320)},className:ie.Z.unfoldBtn},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-zhankai9 ml10 font12"})):fe.createElement("div",{onClick:()=>{Ie(0)},className:ie.Z.unfoldBtn,style:{borderRadius:"0px 0px 8px 8px",top:0}},"\u63A7\u5236\u53F0",fe.createElement("i",{className:"iconfont icon-shouqi8 ml10 font12"}))),fe.createElement("div",null,fe.createElement("div",{className:ie.Z.caseHead},fe.createElement("div",{className:ie.Z.dot}),fe.createElement("div",{className:ie.Z.text},Te===1?"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C":"\u8BC4\u6D4B\u7ED3\u679C"),Te===2&&!Oe&&typeof pt=="number"&&fe.createElement(fe.Fragment,null,pt===he.h.OK?fe.createElement("div",{className:ie.Z.pass},fe.createElement("i",{className:"iconfont icon-tongguo font14 mr5"}),"\u8BC4\u6D4B\u901A\u8FC7"):fe.createElement("div",{className:ie.Z.noPass},fe.createElement("i",{className:"iconfont icon-jinggao-3 font14 mr5"}),ve[pt])),fe.createElement("div",{className:ie.Z.btns},Te===2&&!Oe&&fe.createElement(fe.Fragment,null,pt!==he.h.OK&&fe.createElement("div",{onClick:Ln},fe.createElement("i",{className:"iconfont icon-fuzhi8"}),"\u590D\u5236\u9519\u8BEF\u4FE1\u606F"),fe.createElement("div",{onClick:()=>{De(vt)}},fe.createElement("i",{className:"iconfont icon-danceng-xinjianwenjian"}),"\u663E\u793A\u8BE6\u60C5")),qe.get("type")!=="exercises"&&fe.createElement("div",{title:"\u5C55\u5F00/\u6536\u7F29",onClick:()=>Zt()},fe.createElement("i",{className:`iconfont icon-${Qe?"suoxiao1":"fangda"}`})))),fe.createElement("div",{style:{display:Te===1?"block":"none"}},Me?fe.createElement(ue.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:Je-34}},fe.createElement("div",{className:ie.Z.result},fe.createElement("div",{className:ie.Z.left},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B")),fe.createElement("div",{className:ie.Z.leftNode},fe.createElement(be,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:we?"":_e,onChange:Ye}))),fe.createElement("div",{className:ie.Z.right},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),fe.createElement("span",null,"\u4EE3\u7801\u6267\u884C\u7ED3\u679C")),fe.createElement("div",{className:ie.Z.node},Le?ln:fe.createElement("p",{style:{color:"#8F96B1"}},"\u8BF7\u5728\u5DE6\u4FA7\u8F93\u5165\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D\uFF0C\u5373\u53EF\u751F\u6210\u4EE3\u7801\u6267\u884C\u7ED3\u679C")))))),fe.createElement("div",{style:{display:Te===2?"block":"none"}},Oe?fe.createElement(ue.Z,{style:{color:"#1976d2"},message:"\u670D\u52A1\u542F\u52A8\u4E2D..."}):fe.createElement("div",{style:{height:Je-34,display:"flex",flexDirection:"column",overflow:"hidden"}},fe.createElement("div",{ref:lt,className:ie.Z.elseNode},fe.createElement("div",{className:ie.Z.nameWrap},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u5B9E\u9645\u8F93\u5165")),fe.createElement("div",{className:ie.Z.scroll},fe.createElement("pre",{className:ie.Z.scrollBox,style:at?{height:Be?"calc(100vh - 20px)":200}:{height:24,overflow:"hidden"}},!Mt&&fe.createElement(Ce,{value:mt}),Mt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const yn=yield fetch(yt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield yn.text()),setTimeout(()=>{Xe(yt)},200)})},mt)),mt&&fe.createElement("div",{className:ie.Z.action},fe.createElement("span",{onClick:()=>et(!at)},at?"\u6536\u8D77":"\u5C55\u5F00"),qe.get("type")!=="exercises"&&fe.createElement("i",{title:"\u5168\u5C4F/\u9000\u51FA\u5168\u5C4F",onClick:()=>nn(),className:`iconfont icon-${Be?"suoxiao1":"fangda"}`})))),fe.createElement("div",{className:ie.Z.result,style:{flex:1,overflow:"hidden"}},fe.createElement("div",{className:ie.Z.left},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00FA95"},className:"iconfont iconfont icon-zidingyiceshiyongli font14 mr5"}),fe.createElement("span",null,"\u9884\u671F\u8F93\u51FA")),fe.createElement("div",{className:ie.Z.node,style:{background:"#1B2333",color:"#2ABD8C"}},fe.createElement("pre",null,!Mt&&fe.createElement(Ce,{className:"mb10",value:_t&&ce.Base64.decode(_t)||""}),Mt&&fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const yn=yield fetch(xt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}});$e(yield yn.text()),setTimeout(()=>{Xe(xt)},200)})},_t)))),fe.createElement("div",{className:ie.Z.right},fe.createElement("div",{className:ie.Z.title},fe.createElement("i",{style:{color:"#00DFFF"},className:"iconfont iconfont icon-daimazhihangjieguo font14 mr5"}),fe.createElement("span",null,"\u5B9E\u9645\u8F93\u51FA")),fe.createElement("div",{className:ie.Z.node,style:{color:pt===he.h.OK?"#2ABD8C":"#FF2C29"}},fe.createElement("pre",null,(pt===4||pt===5)&&fe.createElement(Ce,{className:"mb10",value:cn&&ce.Base64.decode(cn)||""}),pt!=4&&pt!=5&&(Mt?fe.createElement("a",{style:{fontSize:"16px"},onClick:()=>me(void 0,null,function*(){const yn=yield(0,te.ZP)(wt,{method:"Get",headers:{"Content-Type":"application/xml",Accept:"*/*"}});try{$e(yn)}catch(mn){$e("")}setTimeout(()=>{Xe(wt)},200)})},St):fe.createElement(Ce,{className:"mb10",value:St&&ce.Base64.decode(St)||""})))))))))),fe.createElement("div",{className:de()(ie.Z.footer,Ne&&ie.Z.whiteFooter),style:{zIndex:100}},(Ke==null?void 0:Ke.is_program)&&(Ke==null?void 0:Ke.above_question)&&fe.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Sn(Ke==null?void 0:Ke.above_question),id:"oj-prev",ghost:!0},"\u4E0A\u4E00\u9898"),(Ke==null?void 0:Ke.is_program)&&(Ke==null?void 0:Ke.under_question)&&fe.createElement(pe.ZP,{className:"mr10",type:"primary",onClick:()=>Sn(Ke==null?void 0:Ke.under_question),id:"oj-next",ghost:!0},"\u4E0B\u4E00\u9898"),fe.createElement(pe.ZP,{style:{border:"1px solid #2ABD8C",color:"#2ABD8C"},ghost:!0,disabled:Me||Oe,loading:Me,color:"#2ABD8C",className:"mr10",onClick:Tn},"\u8C03\u8BD5\u4EE3\u7801"),qe.get("qtype")!=="8"&&fe.createElement(pe.ZP,{className:ie.Z.disabled,type:"primary",icon:fe.createElement("i",{className:"iconfont icon-bofang1"}),loading:Oe,disabled:Me||Oe,onClick:()=>{var yn,mn;if(!(Ke!=null&&Ke.code)||((yn=Ke==null?void 0:Ke.code)==null?void 0:yn.trim().length)===0){(mn=E.ZP)==null||mn.warning("\u4EE3\u7801\u4E0D\u80FD\u4E3A\u7A7A\uFF0C\u8BF7\u5148\u7F16\u5199\u4EE3\u7801\u540E\uFF0C\u518D\u8FDB\u884C\u8BC4\u6D4B\uFF01");return}We(2),Ie(320),Ge()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4")),fe.createElement(y.Z,{onClose:De,open:xe}),fe.createElement(z.Z,{close:!0,data:Re,type:Re.length?"txt":"",onClose:()=>Xe(""),monacoEditor:{value:nt,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}}))}},50397:function(ct,ot,Se){"use strict";Se.r(ot),Se.d(ot,{Types:function(){return vr},default:function(){return xr}});var ye=Se(59301),je=Se(24459),E=Se(31797),pe=Se(43418),he=Se(71418),ce=Se(3113),oe=Se(6848),ie=Se(95237),ue=Se(5247),se=Se(30897),ae=Se(20736),re=Se(31582),ne=Se(38446),te=Se(87169),a=Se(43428),y=Se(57800),x=Se(19647),b=Se(90691),ee=Se(34043),z=Se(59301),le=Object.defineProperty,de=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(ht,Dt,Pt)=>Dt in ht?le(ht,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):ht[Dt]=Pt,Pe=(ht,Dt)=>{for(var Pt in Dt||(Dt={}))me.call(Dt,Pt)&&ve(ht,Pt,Dt[Pt]);if(fe)for(var Pt of fe(Dt))be.call(Dt,Pt)&&ve(ht,Pt,Dt[Pt]);return ht},Ee=(ht,Dt)=>de(ht,ge(Dt));const Ae={theme:(0,b.G)("ProgrammingCodeMode","vs-dark"),fontSize:(0,b.G)("cmFontSize",14),showEditorSetting:!1,tabToSpace:(0,b.G)("cmTabToSpace",!0)};var Ce=(ht=>(ht[ht.set_font_size=0]="set_font_size",ht[ht.set_theme=1]="set_theme",ht[ht.on_tab_to_space=2]="on_tab_to_space",ht[ht.set_show_editor_setting=3]="set_show_editor_setting",ht))(Ce||{});function _e(ht,Dt){switch(Dt.type){case 3:return Ee(Pe({},ht),{showEditorSetting:Dt.payload});case 1:return Ee(Pe({},ht),{theme:Dt.payload});case 0:return Ee(Pe({},ht),{fontSize:Dt.payload});case 2:return Ee(Pe({},ht),{tabToSpace:Dt.payload});default:throw new Error}}var we=({isLoading:ht,value:Dt,onChange:Pt,language:kt,onUpdateCode:zt,ActionBarRender:Nt,setIsWhiteTheme:un})=>{const[en,an]=(0,ye.useReducer)(_e,Ae),{theme:fn,fontSize:Jt,showEditorSetting:Bn,tabToSpace:wn}=en,Fn=(0,ye.useRef)(),Mn=(0,ye.useRef)();(0,ye.useEffect)(()=>{un(fn==="vs")},[fn]);const Jn={onFontSizeChange:tr=>{an({type:0,payload:tr}),(0,b.t)("cmFontSize",tr)},tabToSpace:wn,cmFontSize:Jt,className:"oj",cmCodeMode:fn,onTabToSpace:tr=>{an({type:2,payload:tr}),(0,b.t)("cmTabToSpace",tr)},onCodeModeChange:tr=>{an({type:1,payload:tr}),(0,b.t)("ProgrammingCodeMode",tr)}};function ar(){an({type:3,payload:!1})}function wr(){an({type:3,payload:!0})}const Cr={value:Dt,language:kt,theme:fn,options:{fontSize:Jt,insertSpaces:wn},onChange:tr=>{Pt(tr),Mn.current=tr,clearTimeout(Fn.current),Fn.current=setTimeout(()=>{zt(Mn.current)},1e4)},onEditBlur:tr=>{Mn.current&&zt(Mn.current)}};return z.createElement(ye.Fragment,null,Nt(wr),z.createElement("div",{style:{flex:1,overflow:"hidden"}},!ht&&z.createElement(y.ZP,Pe({},Cr))),z.createElement(x.Z,null,z.createElement(a.Z,{rootClassName:"oj",title:null,placement:"right",closable:!1,open:Bn,onClose:ar},z.createElement(ee.Z,Pe({},Jn)))))},Me=Se(60141),Oe=Se(24334),Fe=Se(21758),Le={flex_box_center:"flex_box_center___rM3g8",flex_space_between:"flex_space_between___Oc7SE",flex_box_vertical_center:"flex_box_vertical_center___MnmYE",flex_box_center_end:"flex_box_center_end___QQh83",flex_box_column:"flex_box_column___ZRFbL","left-panel":"left-panel___SKGyd","tab-panel-body":"tab-panel-body___gABdv",b1:"b1___QpbmK","oj-width-input":"oj-width-input___eJQWT","oj-mr":"oj-mr___AxILO","s-navs":"s-navs___FXwOi","bg-white":"bg-white___kbZ6r",active:"active___QGOnZ",list:"list___PXTsq",btns:"btns___F8yZK",drawer:"drawer___xdGaT",tour:"tour___oMkVh"},Ye={pagination:"pagination___yDAjZ",info:"info___ATmsa",wrap:"wrap____KX19"},He=Se(1710),Ge=Se(58421),Ke=Se(58617),ze=Se(47365),ke=Se(61186),Ne=Se.n(ke),Ve=Se(59301);const{Column:qe}=He.default;var rt=({submitResult:ht,submitting:Dt,submitRecords:Pt,page:kt,onPageChange:zt,topicId:Nt})=>{const[un]=(0,je.useSearchParams)(),{records:en,records_count:an}=Pt||{},[fn,Jt]=(0,ye.useState)(!1),Bn=un.get("type")==="1";return Ve.createElement(he.Z,{spinning:Dt,tip:"\u8BC4\u6D4B\u4E2D...",indicator:Ve.createElement(Ke.Z,{style:{fontSize:24},spin:!0})},(en==null?void 0:en.length)>0?Ve.createElement(He.default,{dataSource:en,rowKey:"id",pagination:!1},Ve.createElement(qe,{title:"\u63D0\u4EA4\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(wn,Fn)=>Ve.createElement("span",null," ",Ne()(wn).format("YYYY-MM-DD HH:mm:ss"))}),Ve.createElement(qe,{title:"\u8BC4\u6D4B\u7ED3\u679C",dataIndex:"status",key:"status",render:(wn,Fn)=>{var Mn;return Ve.createElement("span",{className:`${wn===0?"c-green":"c-red"} current`,onClick:()=>{Jt(Fn.id)}},(Mn=Fe.Im[wn])==null?void 0:Mn.replace("\u8C03\u8BD5","\u8BC4\u6D4B"))}}),Ve.createElement(qe,{title:`\u6267\u884C\u7528\u65F6 (${Bn?"MS":"S"})`,dataIndex:"execute_time",key:"execute_time",render:wn=>wn?Bn?wn:wn/1e3:""}),Ve.createElement(qe,{title:`\u5185\u5B58\u6D88\u8017\uFF08${Bn?"KB":"MB"}\uFF09`,dataIndex:"execute_memory",key:"execute_memory",render:wn=>wn?Bn?wn:parseFloat((wn/1024).toFixed(2)):""}),Ve.createElement(qe,{title:"\u8BED\u8A00",dataIndex:"language",key:"language"}),Ve.createElement(qe,{title:"\u64CD\u4F5C",dataIndex:"status",key:"status",render:(wn,Fn)=>Ve.createElement("span",{className:"c-light-primary current",onClick:()=>{Jt(Fn.id)}},"\u67E5\u770B")})):Ve.createElement("div",{style:{height:300,width:"100%"}}),Ve.createElement(ze.Z,{onClose:Jt,open:fn}),an>15?Ve.createElement(Ge.Z,{className:Ye.pagination,current:kt,pageSize:15,total:an,onChange:zt}):null)},Qe=Se(57816),Ue=Se(12563),Be={desc:"desc___iOAgd",info:"info___GPALq",info_tag:"info_tag___CFEn8"},Ze=Se(99325),Te=Se(59301);const We={1:{name:"\u7B80\u5355",color:"#52c41a"},2:{name:"\u4E2D\u7B49",color:"#faad14"},3:{name:"\u56F0\u96BE",color:"#f5222d"}};var at=({hack:ht})=>{const{language:Dt,difficult:Pt,time_limit:kt,description:zt}=ht,[Nt]=(0,je.useSearchParams)(),un=We[Pt];return Te.createElement(Te.Fragment,null,Te.createElement("ul",{className:Be.info},Te.createElement("li",null,"\u7F16\u7A0B\u8BED\u8A00\xA0\xA0",Te.createElement("b",{className:Be.info_tag},Dt)),Te.createElement("li",null,Te.createElement("span",{className:"ml20"},"\u96BE\u5EA6"),"\xA0\xA0",Te.createElement(Ue.default,{color:un==null?void 0:un.color},un==null?void 0:un.name)),Te.createElement("li",null,Te.createElement("span",{className:"ml20"},"\u5355\u4E2A\u6D4B\u8BD5\u96C6\u8BC4\u6D4B\u65F6\u957F\u9650\u5236"),"\xA0\xA0",Te.createElement("span",{style:{color:"#333333"}},kt,"\u79D2"))),Nt.get("qtype")==="8"?Te.createElement(Ze.Z,{value:zt,showProgramFill:!0,className:Be.desc}):Te.createElement(Ze.Z,{value:zt,className:Be.desc}))},et={},Je=Se(59301),Ie=({hack:ht,current_user:Dt})=>Je.createElement("div",{className:et.answer},ht!=null&&ht.answer_text?Je.createElement(Ze.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.answer_text)||""}):Je.createElement(Qe.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u53C2\u8003\u7B54\u6848~"})),xe=Se(50484),De=Se(7660);function Re(ht,Dt){return(0,De.U2)(`/problems/${ht}/comments.json`,{page:Dt,limit:10})}function Xe(ht){return(0,De.v_)(`/discusses/${ht}/plus.json`,{container_type:"Discuss",type:1})}function nt(ht,Dt,Pt){return(0,De.v_)(`/problems/${ht}/comments/reply.json`,{comments:{content:Pt,parent_id:Dt}})}function $e(ht,Dt){return(0,De.v_)(`/problems/${ht}/comments.json`,{comments:{content:Dt}})}function tt(ht,Dt,Pt){return(0,De.v_)(`/problems/${ht}/comments/${Dt}/hidden.json`,Pt)}function st(ht,Dt){return(0,De.IV)(`/problems/${ht}/comments/${Dt}`)}var it=Se(52649);function lt({author:ht}){return ye.createElement("a",{href:`/users/${ht.login}`,target:"_blank"},ye.createElement("img",{alt:"\u7528\u6237\u5934\u50CF",height:"50",style:{borderRadius:"50%"},src:`${ne.Z.IMG_SERVER}/images/${ht.image_url}`,width:"50"}))}function ut({data:ht,index:Dt,parentDiscussIndex:Pt,user:kt,onSetActionType:zt}){const{author:Nt,can_delete:un,content:en,id:an,time:fn}=ht;function Jt(){zt({id:an,index:Dt,type:"delete-discuss",parentDiscussIndex:Pt,message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}const Bn=kt.admin||un||Nt.user_id===kt.user_id;return ye.createElement("div",{className:"discuss-item-container second-discuss "},ye.createElement(lt,{author:Nt}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${Nt.login}`,target:"_blank"},Nt.name),ye.createElement("span",{className:"grey"},fn),ye.createElement("div",{className:"btn-group",style:{marginBottom:0}},Bn?ye.createElement("a",{onClick:Jt,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null)),ye.createElement(Ze.Z,{className:"discuss-content",value:en})))}var pt=({user:ht,data:Dt,index:Pt,onPlusDiscuss:kt,onSetActionType:zt,activeDiscussIndex:Nt,onReplyDiscuss:un,onSetActiveDiscussIndex:en})=>{const{content:an,children:fn,hidden:Jt,id:Bn,praise_count:wn,time:Fn,user_praise:Mn,can_delete:Jn,author:ar}=Dt;function wr(){en(Bn)}function Cr(){kt(Bn,!Mn,Pt)}function tr(){zt({id:Bn,index:Pt,type:"delete-discuss",message:"\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u6761\u56DE\u590D\u5417"})}function or(){zt({id:Bn,index:Pt,params:{hidden:Jt?"0":"1"},type:"hidden-discuss",message:Jt?"\u786E\u5B9A\u8981\u53D6\u6D88\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417":"\u786E\u5B9A\u8981\u9690\u85CF\u8BE5\u6761\u56DE\u590D\u5417"})}const Lr=ht.admin||ht.user_id===ar.user_id;return ye.createElement("div",{className:"discuss-item-container",key:Bn},ye.createElement(lt,{author:ar}),ye.createElement("section",null,ye.createElement("div",{className:"discuss-info"},ye.createElement("a",{href:`/users/${ar.login}`,target:"_blank"}," ",ar.name," "),ye.createElement("span",{className:"grey"},Fn)),ye.createElement(Ze.Z,{className:"discuss-content",value:an}),fn&&fn.length>0?ye.createElement("div",{className:"reply-discuss-container"},fn.map((Hn,Ft)=>ye.createElement(ut,{key:Hn.id,data:Hn,index:Ft,user:ht,onSetActionType:zt,parentDiscussIndex:Pt}))):null,ye.createElement("div",{className:"btn-group"},Lr?ye.createElement("a",{onClick:or,title:Jt?"\u53D6\u6D88\u9690\u85CF":"\u9690\u85CF\u8BC4\u8BBA"},ye.createElement("i",{className:Jt?"iconfont icon-yincangbiyan":"fa fa-eye"})):null,Jn&&(!fn||fn.length==0)?ye.createElement("a",{onClick:tr,title:"\u5220\u9664"},ye.createElement("i",{className:"iconfont icon-shanchu"})):null,ye.createElement("a",{onClick:wr,title:"\u56DE\u590D"}," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," "),ye.createElement("a",{onClick:Cr,className:Mn?"c-orange":""},ye.createElement("i",{className:Mn?"iconfont icon-dianzan mr3":"iconfont icon-dianzan-xian mr3 "}),ye.createElement("span",null,wn||""))),ye.createElement(it.Z,{id:Bn,activeDiscussIndex:Nt,onReplyDiscuss:un})))},vt=Se(85469),mt={"dis-input-editor-container":"dis-input-editor-container___nKGxx",active:"active___tmt7T","input-mask":"input-mask___epEle","text-area":"text-area___Vry8W","tip-container":"tip-container___plpA3",hide:"hide___kPfyC","md-container":"md-container___u85aq","btn-send":"btn-send___deQ5v"},St=Se(64726),_t=(ht,Dt,Pt)=>new Promise((kt,zt)=>{var Nt=an=>{try{en(Pt.next(an))}catch(fn){zt(fn)}},un=an=>{try{en(Pt.throw(an))}catch(fn){zt(fn)}},en=an=>an.done?kt(an.value):Promise.resolve(an.value).then(Nt,un);en((Pt=Pt.apply(ht,Dt)).next())}),Mt=({user_praise:ht,praise_count:Dt,praisePlus:Pt,onCreateDiscuss:kt,discuss_count:zt})=>{const[Nt,un]=(0,ye.useState)(!1),[en,an]=(0,ye.useState)("");function fn(Fn){an(Fn)}function Jt(){un(!0)}function Bn(){un(!1)}function wn(){return _t(this,null,function*(){kt(en),an(""),un(!1)})}return ye.createElement("div",{className:`${mt["dis-input-editor-container"]} ${Nt?mt.active:""} `},ye.createElement("div",{className:Nt?`hide ${mt["text-area"]}`:mt["text-area"]},ye.createElement("input",{placeholder:"\u8BF4\u70B9\u4EC0\u4E48",onClick:Jt}),ye.createElement("a",null," ",ye.createElement("i",{className:"iconfont icon-huifu1"})," \xA0 \xA0",zt," "),ye.createElement("a",{className:"c-light-black",onClick:Pt,title:ht?"\u53D6\u6D88\u70B9\u8D5E":"\u70B9\u8D5E"},ye.createElement("i",{className:`mr3 ${ht?"iconfont icon-dianzan c-orange":"iconfont icon-dianzan-xian"} `}),Dt?ye.createElement("span",null,Dt):"")),Nt?ye.createElement("div",{className:mt["input-mask"],onClick:Bn}):null,ye.createElement("div",{className:Nt?mt["md-container"]:`${mt["md-container"]} hide`},ye.createElement(St.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:en,height:240,onChange:fn}),ye.createElement("div",{className:mt["tip-container"],onClick:Bn},ye.createElement("a",{className:mt["btn-send"],onClick:wn}," \u53D1\u9001 "))))},yt=Se(59301),wt=Object.defineProperty,xt=Object.defineProperties,cn=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,Zt=Object.prototype.propertyIsEnumerable,nn=(ht,Dt,Pt)=>Dt in ht?wt(ht,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):ht[Dt]=Pt,Ht=(ht,Dt)=>{for(var Pt in Dt||(Dt={}))sn.call(Dt,Pt)&&nn(ht,Pt,Dt[Pt]);if(Vt)for(var Pt of Vt(Dt))Zt.call(Dt,Pt)&&nn(ht,Pt,Dt[Pt]);return ht},ln=(ht,Dt)=>xt(ht,cn(Dt)),Tn=(ht,Dt,Pt)=>new Promise((kt,zt)=>{var Nt=an=>{try{en(Pt.next(an))}catch(fn){zt(fn)}},un=an=>{try{en(Pt.throw(an))}catch(fn){zt(fn)}},en=an=>an.done?kt(an.value):Promise.resolve(an.value).then(Nt,un);en((Pt=Pt.apply(ht,Dt)).next())});const Sn={loading:!1,page:1,data:[],count:0,actionType:null,activeDiscussIndex:null};var Ln=(ht=>(ht[ht.GET_DISCUSSES=0]="GET_DISCUSSES",ht[ht.TOP_OR_DOWN_DISCUSS=1]="TOP_OR_DOWN_DISCUSS",ht[ht.ACTIVE_DISCUSS_INDEX=2]="ACTIVE_DISCUSS_INDEX",ht[ht.PLUS_DISCUSS=3]="PLUS_DISCUSS",ht[ht.SET_ACTION_TYPE=4]="SET_ACTION_TYPE",ht[ht.SET_PAGE=5]="SET_PAGE",ht[ht.SHOW_DISCUSSES_LOADING=6]="SHOW_DISCUSSES_LOADING",ht))(Ln||{});function yn(ht,Dt){switch(Dt.type){case 6:return ln(Ht({},ht),{loading:!0});case 0:return Ht(Ht({},ht),Dt.payload);case 1:return Ht(Ht({},ht),Dt.payload);case 4:return Ht(Ht({},ht),Dt.payload);case 3:return Ht(Ht({},ht),Dt.payload);case 5:return ln(Ht({},ht),{page:Dt.payload});case 2:return Ht(Ht({},ht),Dt.payload);default:throw new Error}}var mn=({user:ht,identifier:Dt,hack:Pt,onTriggerPraise:kt,activeIndex:zt})=>{const[Nt,un]=(0,ye.useReducer)(yn,Sn),{loading:en,page:an,data:fn,count:Jt,actionType:Bn,activeDiscussIndex:wn}=Nt,Fn=(0,ye.useCallback)(()=>Tn(void 0,null,function*(){un({type:6});const Hn=yield Re(Dt,an),{comments:Ft,disscuss_count:dn}=Hn;un({type:0,payload:{data:Ft,count:dn,loading:!1}})}),[an,Dt]);(0,ye.useEffect)(()=>{zt==="2"&&Fn()},[Dt,an,zt]);function Mn(Hn){un({type:5,payload:Hn})}function Jn(Hn){un({type:4,payload:{actionType:Hn}})}function ar(Hn){un(wn===Hn?{type:2,payload:{activeDiscussIndex:null}}:{type:2,payload:{activeDiscussIndex:Hn}})}function wr(Hn,Ft,dn){return Tn(this,null,function*(){try{const Kt=yield Xe(Hn);fn[dn].user_praise=Ft,fn[dn].praise_count=Kt.praise_count,un({type:3,payload:{data:[...fn]}})}catch(Kt){console.log(Kt)}})}function Cr(){return Tn(this,null,function*(){const{id:Hn,params:Ft,type:dn,index:Kt,parentDiscussIndex:_n}=Bn;if(dn==="hidden-discuss"&&(yield tt(Dt,Hn,Ft),_n?fn[_n].children[Kt].hidden=Ft.hidden==1:fn[Kt].hidden=Ft.hidden==1,un({type:4,payload:{actionType:null,data:[...fn]}})),dn==="delete-discuss"){if(yield st(Dt,Hn),_n||_n===0){let In=fn[_n].children;for(let Vn=In.length-1;Vn>=0;Vn--)if(In[Vn].id===Hn){In.splice(Vn,1);break}fn[_n].children=In}else for(let In=fn.length-1;In>=0;In--)if(fn[In].id===Hn){fn.splice(In,1);break}un({type:4,payload:{actionType:null,data:[...fn]}})}})}function tr(){un({type:4,payload:{actionType:null}})}function or(Hn,Ft){return Tn(this,null,function*(){try{yield nt(Dt,Hn,Ft),Fn()}catch(dn){console.log(dn)}})}function Lr(Hn){return Tn(this,null,function*(){un({type:6}),yield $e(Dt,Hn),Fn()})}return yt.createElement(yt.Fragment,null,yt.createElement("div",{className:"discuss-panel"},fn.length===0?yt.createElement(Qe.Z,null):fn.map((Hn,Ft)=>yt.createElement(pt,{onReplyDiscuss:or,onPlusDiscuss:wr,onSetActiveDiscussIndex:ar,onSetActionType:Jn,data:Hn,index:Ft,user:ht,activeDiscussIndex:wn})),Jt>10?yt.createElement("div",{className:"pagination-container"},yt.createElement(Ge.Z,{showQuickJumper:!0,onChange:Mn,current:an,total:Jt})):null),yt.createElement(Mt,{user_praise:Pt.user_praise,praise_count:Pt.praises_count,praisePlus:kt,discuss_count:Pt.comments_count,onCreateDiscuss:Lr}),yt.createElement(x.Z,null,yt.createElement(pe.default,{centered:!0,title:"\u63D0\u793A",open:!!Bn,onOk:Cr,onCancel:tr},yt.createElement("p",null,Bn?Bn.message:"")),yt.createElement(vt.Z,null)))},Ct=Se(57809),Ot=Se(92832),At=Se(65615),tn={},gn=Se(59301),dt=({hack:ht,current_user:Dt})=>gn.createElement("div",{className:tn.answer},ht!=null&&ht.analysis?gn.createElement(Ze.Z,{style:{padding:"13px 0"},value:(ht==null?void 0:ht.analysis)||""}):gn.createElement(Qe.Z,{customText:"\u6682\u672A\u8BBE\u7F6E\u9898\u76EE\u89E3\u6790~"})),gt={hackSets:"hackSets___tw75g",collapseWrapper:"collapseWrapper___TteKi",panelHeader:"panelHeader___Y_Xjq",rateInput:"rateInput___y1qUi",open:"open___xrixP",close:"close___jb6D2",uploadTableWrapper:"uploadTableWrapper___U9Tz_"},ft=Se(36381),jt=Se(43604),Yt=Se(78241),Qt=Se(5871),jn=Se(24833),hn=Se(59301);const{TextArea:Rn}=Ot.default,{Panel:Wn}=ft.default;var lr=({data:ht,hack:Dt})=>(console.log(ht,Dt,"data"),Dt!=null&&Dt.is_file?hn.createElement(jn.Y2,{disabled:!0,className:gt.uploadTableWrapper,showScore:!Dt.test_set_score,data:ht,isProgramHomework:!0}):hn.createElement("div",{className:gt.hackSets},ht==null?void 0:ht.map((Pt,kt)=>hn.createElement(ft.default,{accordion:!0,bordered:!1,key:kt,defaultActiveKey:kt===0&&Pt.id,className:gt.collapseWrapper,expandIcon:({isActive:zt})=>hn.createElement("i",{className:`iconfont icon-weizhankai ${zt?gt.open:gt.close}`,style:{fontSize:14,transition:"all .2s"}})},hn.createElement(Wn,{key:Pt.id,header:hn.createElement(ie.Z,{align:"middle",justify:"space-between",wrap:!1},hn.createElement(jt.Z,{className:gt.panelHeader},hn.createElement("span",null,"\u6D4B\u8BD5\u7528\u4F8B",kt+1)),hn.createElement(jt.Z,{flex:1},hn.createElement(ie.Z,{align:"middle",justify:"end",wrap:!1},!(Dt!=null&&Dt.test_set_score)&&hn.createElement(jt.Z,{className:gt.rateInput},hn.createElement("span",{className:"mr20"},"\u8BC4\u5206\u5360\u6BD4"),hn.createElement("div",null,hn.createElement(Yt.default.Item,{noStyle:!0},hn.createElement(Qt.Z,{value:Pt==null?void 0:Pt.score,className:gt.baseFormItem,min:0,max:100,disabled:!0}))),hn.createElement("span",{className:"ml10"},"%")))))},hn.createElement(Yt.default.Item,{label:"\u8F93\u5165",labelCol:{span:24}},hn.createElement(Rn,{readOnly:!0,value:Pt==null?void 0:Pt.input,rows:4})),hn.createElement(Yt.default.Item,{label:"\u8F93\u51FA",labelCol:{span:24}},hn.createElement(Rn,{readOnly:!0,value:Pt==null?void 0:Pt.output,rows:4}))))))),Gt={tabs:"tabs___p2jIb",tabWarp:"tabWarp___mt05L",tab:"tab___IYGdQ",active:"active___fQMlP",content:"content___GWVJY"},Tt=Se(59301),Ut=(0,ye.forwardRef)(({data:ht=[]},Dt)=>{var Pt;const[kt,zt]=(0,ye.useState)(),Nt=ht.filter(en=>en.show);(0,ye.useEffect)(()=>{Nt.length&&zt(Nt[0].id)},[ht==null?void 0:ht.length]);const un=((Pt=Nt.find(en=>en.id===kt))==null?void 0:Pt.element)||null;return(0,ye.useImperativeHandle)(Dt,()=>({setActiveTab:en=>zt(en)})),Tt.createElement("div",{className:Gt.tabs},Tt.createElement("div",{className:Gt.tabWarp},Nt.map(en=>Tt.createElement("div",{onClick:()=>zt(en.id),className:`${Gt.tab} ${en.id===kt?Gt.active:""}`,key:en.id},en.name))),Tt.createElement("div",{className:Gt.content},un))}),Et=Se(59301),Lt=Object.defineProperty,Rt=Object.defineProperties,$t=Object.getOwnPropertyDescriptors,rn=Object.getOwnPropertySymbols,vn=Object.prototype.hasOwnProperty,bn=Object.prototype.propertyIsEnumerable,Cn=(ht,Dt,Pt)=>Dt in ht?Lt(ht,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):ht[Dt]=Pt,Pn=(ht,Dt)=>{for(var Pt in Dt||(Dt={}))vn.call(Dt,Pt)&&Cn(ht,Pt,Dt[Pt]);if(rn)for(var Pt of rn(Dt))bn.call(Dt,Pt)&&Cn(ht,Pt,Dt[Pt]);return ht},On=(ht,Dt)=>Rt(ht,$t(Dt)),An=(ht,Dt,Pt)=>new Promise((kt,zt)=>{var Nt=an=>{try{en(Pt.next(an))}catch(fn){zt(fn)}},un=an=>{try{en(Pt.throw(an))}catch(fn){zt(fn)}},en=an=>an.done?kt(an.value):Promise.resolve(an.value).then(Nt,un);en((Pt=Pt.apply(ht,Dt)).next())});const It={1:"\u7B80\u5355",2:"\u9002\u4E2D",3:"\u56F0\u96BE"},qn={1:"#2fa34f",2:"#0152d9",3:"#fa6400"};var Un=({hack:ht,onTriggerPraise:Dt,topicId:Pt,page:kt,onPageChange:zt,user:Nt,current_user:un,submitRecords:en,submitting:an,submitResult:fn,setActiveIndex:Jt,hack_sets:Bn})=>{var wn,Fn;const[Mn]=(0,je.useSearchParams)(),[Jn,ar]=(0,ye.useState)("0"),wr=(0,je.useLocation)(),[Cr,tr]=(0,ye.useState)(!1),[or,Lr]=(0,ye.useState)(null),[Hn,Ft]=(0,ye.useState)([]),[dn,Kt]=(0,ye.useState)([]),[_n,In]=(0,ye.useState)({page:1,limit:10}),Vn=(0,ye.useRef)(null),Xn=(0,ye.useRef)(null);console.log(Nt,"user");let[Zn,br]=(0,ye.useState)(On(Pn({},(0,je.useParams)()),{page:1,per_page:20,name:""}));(0,ye.useEffect)(()=>{Xn.current&&(ht==null?void 0:ht.is_close_tips)===!1&&or===null&&Lr(!0)},[Xn.current,ht==null?void 0:ht.is_close_tips,or]);function Br(){return An(this,null,function*(){yield(0,De.ZP)("/api/users/close_tips.json",{method:"post"})})}(0,ye.useEffect)(()=>{Jt(Jn)},[Jn]);function Mr(Gn){return An(this,null,function*(){let Sr=Gn.target.id;if(Sr==="1"){let Ar=yield(0,De.ZP)(`/api/myproblems/${Zn.id}/redo_logs.json`,{method:"get",params:Pn({},_n)});(Ar==null?void 0:Ar.status)===0&&Kt(Ar==null?void 0:Ar.data)}ar(Sr)})}(0,ye.useEffect)(()=>xe.Z.subscribe("to-commit-info",()=>{ar("1"),Vn.current&&Vn.current.setActiveTab("1")}),[]),(0,ye.useEffect)(()=>xe.Z.subscribe("to-reset-info",()=>{Mr({target:{id:"1"}}),Vn.current&&Vn.current.setActiveTab("2")}),[]);function Fr(){ar("2")}function pr(){return An(this,null,function*(){let Gn=yield(0,De.ZP)("/api/problems/my_hack_list.json",{method:"get",params:Pn({identifier:Zn==null?void 0:Zn.id},Zn)});Ft(Gn)})}const xn=[{title:null,description:Et.createElement("div",null,Et.createElement("b",{onClick:()=>{Lr(!1),Br(),tr(!0),pr()},className:"c-light-primary font16 current"},"\u67E5\u770B\u9898\u76EE\u5217\u8868\u5165\u53E3"),Et.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"),Et.createElement(ce.ZP,{onClick:()=>{Lr(!1),Br()},style:{padding:"2px 29px",height:30,float:"right"},type:"primary"},"\u77E5\u9053\u4E86")),target:()=>Xn.current}];return Et.createElement("div",{className:Le["left-panel"]},Et.createElement("ul",{className:`${Le["s-navs"]} ${Le["bg-white"]} ${Le.b1}`},(ht==null?void 0:ht.is_program)&&!Mn.get("pageId")&&Et.createElement(oe.Z,{title:"\u9898\u76EE\u5217\u8868"},Et.createElement("div",{onClick:()=>{pr(),tr(!0)},className:Le.btns,ref:Xn,style:or?{pointerEvents:"none"}:{}},Et.createElement("i",{className:"iconfont icon-yidongdaomulu1 font14 c-white"}))),Et.createElement("li",{style:{marginLeft:20}},Et.createElement("a",{className:Jn==="0"?Le.active:"",id:"0",onClick:Mr},"\u9898\u76EE\u63CF\u8FF0")),Et.createElement("li",null,Et.createElement("a",{className:Jn==="1"?Le.active:"",id:"1",onClick:Mr},"\u64CD\u4F5C\u8BB0\u5F55")),(Mn.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show)||Mn.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show))&&Et.createElement("li",null,Et.createElement("a",{className:Jn==="4"?Le.active:"",id:"4",onClick:Mr},"\u89E3\u7B54\u53C2\u8003")),Mn.get("type")!=="exercises"&&Et.createElement("li",null,Et.createElement("a",{className:Jn==="2"?Le.active:"",id:"2",onClick:Mr},"\u8BC4\u8BBA")),!!(Bn!=null&&Bn.length)&&Mn.get("type")!=="exercises"&&Mn.get("type")!=="1"&&Et.createElement("li",null,Et.createElement("a",{className:Jn==="5"?Le.active:"",id:"5",onClick:Mr},"\u6D4B\u8BD5\u7528\u4F8B"))),Et.createElement("div",{className:`${Le["tab-panel-body"]} ${Jn==="0"?"":"hide"}`,style:{borderRight:"1px #dddddd solid",padding:0}},Et.createElement(at,{hack:ht,onTriggerPraise:Dt,toDiscuss:Fr})),Et.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${Jn==="1"?"":"hide"}`},Et.createElement(Ut,{ref:Vn,data:[{id:"1",show:Mn.get("qtype")!=="8",name:"\u63D0\u4EA4\u8BB0\u5F55",element:Et.createElement(Et.Fragment,null,en!=null&&en.records_count||an?Et.createElement(rt,{page:kt,onPageChange:zt,topicId:Pt,submitting:an,key:(fn==null?void 0:fn.id)||1,submitRecords:en,submitResult:fn}):Et.createElement(Qe.Z,null))},{id:"2",show:Mn.get("type")==="exercises"||(ht==null?void 0:ht.homework_common_id),name:"\u91CD\u7F6E\u8BB0\u5F55",element:Et.createElement(Et.Fragment,null,Et.createElement(He.default,{pagination:!1,dataSource:dn==null?void 0:dn.list,columns:[{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801\u65F6\u95F4",dataIndex:"created_at",render:(Gn,Sr,Ar)=>Ne()(Gn).format("YYYY-MM-DD HH:mm:ss")},{title:"\u64CD\u4F5C",dataIndex:"redo_type",render:(Gn,Sr,Ar)=>{var jr;return(jr=[{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(Ur=>Ur.id===Gn))==null?void 0:jr.name}}]}),Et.createElement(Ge.Z,{style:{marginTop:10},current:_n.page,total:dn==null?void 0:dn.count,hideOnSinglePage:!0,onChange:Gn=>An(void 0,null,function*(){_n.page=Gn,In(_n);let Sr=yield(0,De.ZP)(`/api/myproblems/${Zn.id}/redo_logs.json`,{method:"get",params:On(Pn({},_n),{courseId:Zn.courseId})});(Sr==null?void 0:Sr.status)===0&&Kt(Sr==null?void 0:Sr.data)})}))}]})),Et.createElement("div",{style:{padding:"12px"},className:`${Le["tab-panel-body"]} ${Jn==="4"?"":"hide"}`},Et.createElement(Ut,{data:[{id:"1",show:Mn.get("type")!=="exercises"&&(ht==null?void 0:ht.answer_text_show),name:"\u7B54\u6848",element:Et.createElement(Et.Fragment,null,Et.createElement(Ie,{hack:ht,current_user:un}))},{id:"2",show:Mn.get("type")!=="exercises"&&(ht==null?void 0:ht.analysis_show),name:"\u89E3\u6790",element:Et.createElement(Et.Fragment,null,Et.createElement(dt,{hack:ht,current_user:un}))}]})),Et.createElement("div",{className:`${Le["tab-panel-body"]} ${Jn==="2"?"":"hide"}`,style:{padding:0}},Et.createElement(mn,{user:Nt,activeIndex:Jn,identifier:ht.identifier,hack:ht,onTriggerPraise:Dt})),Et.createElement("div",{className:`${Le["tab-panel-body"]} ${Jn==="5"?"":"hide"}`,style:{padding:12}},Et.createElement(lr,{data:Bn||[],hack:ht})),Et.createElement(a.Z,{rootClassName:Le.drawer,closable:!1,title:null,bodyStyle:{background:"#1B2333",padding:25,display:"flex",flexDirection:"column"},footer:null,width:500,placement:"left",onClose:()=>tr(!1),open:Cr},Et.createElement(ie.Z,null,Et.createElement("b",{style:{color:"#008CFF",fontWeight:500,lineHeight:"19px"},className:"font16"},"\u9898\u76EE\u5217\u8868"),Et.createElement("span",{style:{color:"#FA8D30",fontWeight:500},className:"font12 ml10"},"\u5171",Hn==null?void 0:Hn.total_count,"\u9898\xA0[\xA0",Hn==null?void 0:Hn.total_score,"\u5206\xA0]\xA0"),!(Nt!=null&&Nt.hack_manager)&&Et.createElement("span",{style:{color:"#FA8D30",fontWeight:500,marginLeft:"auto"},className:"font12"},"\u6211\u7684\u5F97\u5206\xA0:\xA0",Hn==null?void 0:Hn.work_score,"\u5206")),Et.createElement("div",{style:{height:1,background:"#1C313F",marginTop:12}}),Et.createElement(ie.Z,{align:"middle",className:"mt10 mb10"},!(Nt!=null&&Nt.hack_manager)&&Et.createElement(Ct.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u901A\u8FC7\u60C5\u51B5",onChange:Gn=>{Zn.page=1,Zn.finish_status=Gn,br(Pn({},Zn)),pr()}},Et.createElement(Ct.default.Option,{value:""},"\u5168\u90E8"),Et.createElement(Ct.default.Option,{value:0},"\u672A\u5F00\u59CB"),Et.createElement(Ct.default.Option,{value:1},"\u8FDB\u884C\u4E2D"),Et.createElement(Ct.default.Option,{value:2},"\u5DF2\u5B8C\u6210")),Et.createElement(Ct.default,{size:"large",className:"mr10",style:{width:104},placeholder:"\u9898\u76EE\u96BE\u5EA6",onChange:Gn=>{Zn.page=1,Zn.difficult=Gn||null,br(Pn({},Zn)),pr()}},Et.createElement(Ct.default.Option,{value:0},"\u5168\u90E8"),Et.createElement(Ct.default.Option,{value:1},"\u7B80\u5355"),Et.createElement(Ct.default.Option,{value:2},"\u9002\u4E2D"),Et.createElement(Ct.default.Option,{value:3},"\u56F0\u96BE")),Et.createElement(Ot.default.Search,{size:"large",onSearch:Gn=>{Zn.name=Gn,Zn.page=1,br(Pn({},Zn)),pr()},style:{flex:1},placeholder:"\u8BF7\u8F93\u5165\u9898\u76EE\u540D\u79F0\u8FDB\u884C\u641C\u7D22"})),Et.createElement("div",{className:Le.list,style:{height:36,background:"#3D445C"}},!(Nt!=null&&Nt.hack_manager)&&Et.createElement("span",null,"\u72B6\u6001"),Et.createElement("span",null,"\u5E8F\u53F7"),Et.createElement("span",{style:{flex:1}},"\u9898\u76EE\u540D\u79F0"),Et.createElement("span",{style:{flexBasis:48,paddingRight:0}},"\u96BE\u5EA6")),Et.createElement("div",{style:{overflow:"auto",flex:1}},(wn=Hn==null?void 0:Hn.data)!=null&&wn.length?(Fn=Hn==null?void 0:Hn.data)==null?void 0:Fn.map((Gn,Sr)=>Et.createElement("div",{onClick:()=>An(void 0,null,function*(){let Ar=yield(0,De.ZP)(`/api/problems/${Gn==null?void 0:Gn.identifier}/start.json`,{method:"get",params:{hack_user_id:Nt==null?void 0:Nt.user_id}});Ar&&(je.history.replace(`/myproblems/${Ar==null?void 0:Ar.identifier}${window.location.search}`),window.location.reload())}),className:`${Le.list} ${Gn!=null&&Gn.checked?Le.active:""}`},!(Nt!=null&&Nt.hack_manager)&&Et.createElement(Et.Fragment,null,!(Gn!=null&&Gn.opened)&&Et.createElement("span",{style:{color:"#E02020"}},"\u672A\u5F00\u59CB"),(Gn==null?void 0:Gn.opened)&&!(Gn!=null&&Gn.passed)&&Et.createElement("span",{style:{color:"#FA6400"}},"\u8FDB\u884C\u4E2D"),(Gn==null?void 0:Gn.opened)&&(Gn==null?void 0:Gn.passed)&&Et.createElement("span",{style:{color:"#24C074"}},"\u5DF2\u5B8C\u6210")),Et.createElement("span",null,(Zn.page-1)*20+(Sr+1)),Et.createElement("span",{style:{flex:1},title:Gn.name},`[${Gn==null?void 0:Gn.score}\u5206]`,"\xA0",Gn.name),Et.createElement("span",{style:{flexBasis:48,paddingRight:0}},It[Gn.difficult]))):Et.createElement(Qe.Z,null)),Et.createElement(Ge.Z,{current:Zn.page,className:"mt20",hideOnSinglePage:!0,total:Hn==null?void 0:Hn.count,pageSize:Zn.per_page,onChange:(Gn,Sr)=>{Zn.page=Gn,Zn.per_page=Sr,pr()}})),Et.createElement(At.Z,{rootClassName:Le.tour,closeIcon:!1,open:!!or,steps:xn,gap:{offset:3,radius:2}}))},zn=Se(62522),pn=Se(93261),Bt=Se(46942),Wt=Se(38992),on=Se(39649),Xt=Se(71400),En=Se(7850),Nn=Se(92310),$n=Se.n(Nn),Kn=Se(48569),ir=Se(18378),Pr=Se(54318),dr=Se(71302),qt=Se(59301),_r=Object.defineProperty,Er=Object.defineProperties,fr=Object.getOwnPropertyDescriptors,nr=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,hr=Object.prototype.propertyIsEnumerable,mr=(ht,Dt,Pt)=>Dt in ht?_r(ht,Dt,{enumerable:!0,configurable:!0,writable:!0,value:Pt}):ht[Dt]=Pt,kn=(ht,Dt)=>{for(var Pt in Dt||(Dt={}))gr.call(Dt,Pt)&&mr(ht,Pt,Dt[Pt]);if(nr)for(var Pt of nr(Dt))hr.call(Dt,Pt)&&mr(ht,Pt,Dt[Pt]);return ht},er=(ht,Dt)=>Er(ht,fr(Dt)),ur=(ht,Dt)=>{var Pt={};for(var kt in ht)gr.call(ht,kt)&&Dt.indexOf(kt)<0&&(Pt[kt]=ht[kt]);if(ht!=null&&nr)for(var kt of nr(ht))Dt.indexOf(kt)<0&&hr.call(ht,kt)&&(Pt[kt]=ht[kt]);return Pt},Yn=(ht,Dt,Pt)=>new Promise((kt,zt)=>{var Nt=an=>{try{en(Pt.next(an))}catch(fn){zt(fn)}},un=an=>{try{en(Pt.throw(an))}catch(fn){zt(fn)}},en=an=>an.done?kt(an.value):Promise.resolve(an.value).then(Nt,un);en((Pt=Pt.apply(ht,Dt)).next())});const{Countdown:cr}=E.default,sr={Java:"java",C:"c",Python:"py","C++":"c"};var vr=(ht=>(ht[ht.SET_LOADING=0]="SET_LOADING",ht[ht.GET_DATA=1]="GET_DATA",ht[ht.GET_SUBMIT_RECORDS=2]="GET_SUBMIT_RECORDS",ht[ht.SET_DATA=3]="SET_DATA",ht[ht.SET_DEBUGING=4]="SET_DEBUGING",ht[ht.SET_SUBMITING=5]="SET_SUBMITING",ht[ht.SET_EXECUTE_MESSAGE=6]="SET_EXECUTE_MESSAGE",ht[ht.SET_EXECUTE_RESULT=7]="SET_EXECUTE_RESULT",ht[ht.SET_SUBMIT_RESULT=8]="SET_SUBMIT_RESULT",ht[ht.SET_SHOW_NOTE=9]="SET_SHOW_NOTE",ht[ht.SET_PAGE=10]="SET_PAGE",ht))(vr||{});function yr(){return new Date().getTime()}const rr={loading:!0,data:void 0,showNote:!1,debugResult:void 0,submitResult:void 0,debuging:!1,submitting:!1,submitRecords:void 0,submitRecordPage:1,executingMessage:""};function Ir(ht,Dt){switch(Dt.type){case 1:return kn(kn({},ht),Dt.payload);case 3:return er(kn({},ht),{data:Dt.payload});case 0:return er(kn({},ht),{loading:Dt.payload});case 9:return er(kn({},ht),{showNote:Dt.payload});case 4:return er(kn({},ht),{debuging:Dt.payload});case 5:return er(kn({},ht),{submitting:Dt.payload});case 2:return er(kn({},ht),{submitRecords:Dt.payload});case 10:return er(kn({},ht),{submitRecordPage:Dt.payload});case 6:return er(kn({},ht),{executingMessage:Dt.payload});case 7:return kn(kn({},ht),Dt.payload);case 8:return kn(kn({},ht),Dt.payload);default:throw new Error}}var xr=({children:ht})=>{var Dt,Pt,kt,zt,Nt;const[un,en]=(0,ye.useReducer)(Ir,rr),{id:an}=(0,je.useParams)(),fn=(0,je.useLocation)(),[Jt]=(0,je.useSearchParams)(),{loading:Bn,data:wn,debugResult:Fn,submitResult:Mn,submitRecords:Jn,submitRecordPage:ar,showNote:wr,debuging:Cr,submitting:tr,executingMessage:or}=un,[Lr,Hn]=(0,ye.useState)("#37AD83"),[Ft,dn]=(0,ye.useState)(null),[Kt,_n]=(0,ye.useState)({}),[In,Vn]=(0,ye.useState)(!0),[Xn,Zn]=(0,ye.useState)(!1),[br,Br]=(0,ye.useState)(!1),Mr=(0,ye.useRef)(null),Fr=(0,ye.useRef)(0),pr=wn==null?void 0:wn.user,xn=wn==null?void 0:wn.hack,[Gn,Sr]=(0,ye.useState)(!1),Ar=(0,ye.useRef)(1),jr=(0,ye.useRef)(!1);(0,Kn.y)(Jt.get("type")==="exercises");const{setOpenDisableCopyAndPaste:Ur}=(0,Kn.X)(),[Qr,qr]=(0,ye.useState)(""),$r=(0,on._)(Kt);(0,ye.useEffect)(()=>{function Dn(){return Yn(this,null,function*(){var Qn,kr,Nr,Wr,zr;Vn(!0);const Rr=yield(0,ue.fu)(an,{exercise_id:Jt.get("exercisesId")});if(setTimeout(()=>{Vn(!1)},800),Rr.status!==401){try{Rr.hack.code=Oe.Base64.decode(Rr.hack.code)}catch(Tr){console.log(Tr)}Rr.hack=er(kn({},Rr.hack),{is_program:Jt.get("type")==="1"}),en({type:1,payload:{loading:!1,data:Rr}})}if(Jt.get("type")==="exercises"){if(window.self===window.top){window.top.location.href="/";return}let Tr;Jt.get("coursesId")=="coursesId"?Tr=yield(0,se._F)({categoryId:Jt.get("exercisesId"),login:Jt.get("login")}):Tr=yield(0,se._B)({categoryId:Jt.get("exercisesId"),login:Jt.get("login")}),_n(kn({},Tr)),Ur((Qn=Tr==null?void 0:Tr.exercise)==null?void 0:Qn.forbid_copy),typeof((kr=Tr==null?void 0:Tr.exercise)==null?void 0:kr.left_time)=="number"&&(dn(Date.now()+((Nr=Tr==null?void 0:Tr.exercise)==null?void 0:Nr.left_time)*1e3),setTimeout(()=>{Hn("red")},(((Wr=Tr==null?void 0:Tr.exercise)==null?void 0:Wr.left_time)-300>0?((zr=Tr==null?void 0:Tr.exercise)==null?void 0:zr.left_time)-300:0)*1e3))}})}an&&Dn()},[an]),(0,ye.useEffect)(()=>{var Dn;return Jt.get("type")==="exercises"&&((Dn=Kt==null?void 0:Kt.exercise)!=null&&Dn.screen_open)&&(window.removeEventListener("blur",Hr,!1),Xt.U.forEach((Qn,kr)=>{window.addEventListener(Qn,Hr,!1)}),window.addEventListener("blur",Hr,!1),window.focus()),()=>{document.removeEventListener((0,ae.gH)(),Hr)}},[Kt]),(0,ye.useEffect)(()=>{Qr==="1"&&an&&xn!=null&&xn.language&&ta()},[an,ar,xn==null?void 0:xn.language,Qr]),(0,ye.useEffect)(()=>(xn!=null&&xn.is_program&&(Fr.current=0,Mr.current=setInterval(()=>{ea()},15e3)),()=>{clearInterval(Mr.current)}),[xn==null?void 0:xn.is_program]);const ea=()=>Yn(void 0,null,function*(){let Dn=yield(0,De.ZP)(`/api/myproblems/${an}/save_long_time.json`,{method:"get",params:{answer_long_time:Fr.current}})}),Hr=()=>{jr.current||(0,ae.BU)(),window.parent.postMessage("backExercise","*")};function ta(){return Yn(this,null,function*(){try{const Dn=yield(0,ue.zO)(an,{limit:15,page:ar,language:xn==null?void 0:xn.language});en({type:2,payload:Dn})}catch(Dn){console.log(Dn)}})}function na(Dn){en({type:10,payload:Dn})}function Zr(Dn){return Yn(this,null,function*(){var Qn;let kr;(Jt.get("ip_limit")==="inner"||Jt.get("ip_bind_type")==="true")&&(kr=yield(0,pn.y)({ip_limit:Jt.get("ip_limit"),ip_bind:Jt.get("ip_bind_type")==="true"}));const Nr=yield(0,ue.n4)(an,{code:Oe.Base64.encode(Dn||xn.code),language:xn==null?void 0:xn.language,exercise_id:Jt.get("exercisesId"),question_id:Jt.get("questionId"),ip:kr});return Nr.status===-5&&(0,je.getDvaApp)()._store.dispatch({type:"exercise/setActionTabs",payload:{key:"student-unlock",exerciseParams:er(kn({errorMessage:Nr==null?void 0:Nr.message},(Kt==null?void 0:Kt.exercise)||{}),{exercise_user_id:(Qn=Kt==null?void 0:Kt.exercise)==null?void 0:Qn.exercise_user_id,id:Jt.get("exercisesId")})}}),Nr})}function Kr(){return Yn(this,null,function*(){if(Ar.current=2,!tr){en({type:5,payload:!0});try{xe.Z.publish("to-commit-info");const Dn=yield Zr();if(console.log(Dn,1),Dn.status===0){let Rr=function(){return Yn(this,null,function*(){const{status:Tr,data:Gr}=yield(0,ue.rX)(an,"submit"),Vr=yr()-zr>(Nr*Wr+3)*1e3;if(Tr!==0&&!Vr&&setTimeout(Rr,1e3),Vr){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),en({type:5,payload:!1});return}if(Tr===0){Gr.status===2&&pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8BC4\u6D4B\u4EE3\u7801\u8D85\u65F6"}),(Gr==null?void 0:Gr.status)===0&&Jt.get("type")==="1"&&Br(!0);const ma=yield(0,ue.zO)(an,{limit:15,page:ar,language:xn==null?void 0:xn.language});en({type:8,payload:er(kn({},un),{submitResult:Gr,submitting:!1,submitRecords:ma})})}})},Qn={};if(Jt.get("type")==="exercises"&&(Qn.extras={exercise_id:Jt.get("exercisesId"),question_id:Jt.get("questionId")},(Jt.get("ip_limit")==="inner"||Jt.get("ip_bind_type")==="true")&&(Qn.extras.ip=yield(0,pn.y)({ip_limit:Jt.get("ip_limit"),ip_bind:Jt.get("ip_bind_type")==="true"}))),(yield(0,ue.bM)(an,Qn)).status===-1&&Jt.get("exercisesId")){window.parent.location.href=`/classrooms/${Jt.get("coursesId")}/exercise/${Jt.get("exercisesId")}/detail`;return}const{time_limit:Nr,test_case_size:Wr}=xn,zr=yr();Rr()}else en({type:5,payload:!1})}catch(Dn){console.log(Dn),en({type:5,payload:!1})}Sr(!1)}})}function Xr(){return Yn(this,null,function*(){Ar.current=1,un.debuging=!0,en({type:4,payload:!0});try{if((yield Zr()).status===0){let zr=function(){return Yn(this,null,function*(){const{status:Rr,message:Tr,data:Gr}=yield(0,ue.rX)(an,"debug"),Vr=yr()-Wr>(Qn+3)*1e3;if(Rr!==0&&!Vr&&(en({type:6,payload:Tr}),setTimeout(zr,1e3)),Vr){pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),en({type:4,payload:!1}),en({type:7,payload:er(kn({},un),{debugResult:{status:2},debuging:!1})});return}Rr===0&&(Gr.status===2&&pe.default.error({title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u5566",content:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}),en({type:4,payload:!1}),en({type:7,payload:er(kn({},un),{debugResult:Gr,debuging:!1})}))})};const{time_limit:Qn}=xn;let kr={input:encodeURIComponent(wn.test_case.input)};if(Jt.get("type")==="exercises"&&(kr.exercise_id=Jt.get("exercisesId")),(yield(0,ue.MU)(an,kr)).status===-1&&Jt.get("exercisesId")){window.parent.location.href=`/classrooms/${Jt.get("coursesId")}/exercise/${Jt.get("exercisesId")}/detail`;return}const Wr=yr();zr()}else en({type:4,payload:!1})}catch(Dn){console.log(Dn)}finally{}})}function Yr(Dn,Qn){const kr=Qn?{modify_code:!1}:{};en({type:3,payload:er(kn({},wn),{hack:kn(er(kn({},xn),{code:Dn}),kr)})}),Sr(!0)}const ra=Dn=>Yn(void 0,null,function*(){let Qn=yield(0,De.ZP)(`/api/problems/${xn==null?void 0:xn.identifier}/start.json`,{method:"get",params:{language:Dn==="C++"||Dn==="c++"?encodeURIComponent(Dn):Dn,hack_user_id:pr==null?void 0:pr.user_id}});Qn.status!==-1&&je.history.replace(`/myproblems/${Qn==null?void 0:Qn.identifier}${window.location.search}`)});function aa(Dn){let Qn=Dn.target.value;en({type:3,payload:er(kn({},wn),{test_case:{input:Qn}})})}function oa(){return Yn(this,null,function*(){try{let Dn={};Jt.get("type")==="exercises"?Dn.exercise_id=Jt.get("exercisesId"):xn!=null&&xn.homework_common_id&&(Dn.homework_common_id=xn==null?void 0:xn.homework_common_id);const Qn=yield(0,ue.H7)(an,kn({},Dn));Qn.status===401||(Yr(Oe.Base64.decode(Qn.code)),(Jt.get("type")==="exercises"||xn!=null&&xn.homework_common_id)&&xe.Z.publish("to-reset-info"))}catch(Dn){console.log(Dn)}})}function ia(){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:qt.createElement("p",null,"\u521D\u59CB\u4EE3\u7801\u6709\u4FEE\u6539\uFF0C\u66F4\u65B0\u540E\u5C06\u8986\u76D6\u73B0\u6709\u4EE3\u7801\u54E6~ ",qt.createElement("br",null),"\u8BF7\u5C06\u60A8\u7F16\u8F91\u7684\u4EE3\u7801\u4FDD\u5B58\u81F3\u672C\u5730\uFF0C\u4EE5\u9632\u4E22\u5931"),onOk(){return Yn(this,null,function*(){const Dn=yield(0,ue.fi)(an);Dn.status===401||Yr(Oe.Base64.decode(Dn.code),!0)})}})}function sa(){en({type:9,payload:!0})}function la(){en({type:9,payload:!1})}function ua(Dn){return Yn(this,null,function*(){yield(0,ue.MK)(an,Dn),en({type:1,payload:{showNote:!1,data:er(kn({},wn),{hack:er(kn({},xn),{notes:Dn.notes})})}})})}const ca={hack:xn,isLoading:In,input:(Dt=wn==null?void 0:wn.test_case)==null?void 0:Dt.input,is_file:(Pt=wn==null?void 0:wn.test_case)==null?void 0:Pt.is_file,language:xn==null?void 0:xn.language,code:xn==null?void 0:xn.code,title:"main."+sr[xn==null?void 0:xn.language],modify_code:xn==null?void 0:xn.modify_code,notes:xn==null?void 0:xn.notes,debugResult:Fn,debuging:Cr,submitting:tr,submitResult:Mn,executingMessage:or,onCancelNote:la,onAddNote:ua,showNote:wr,user:pr,onShowNote:sa,onSubmitCode:Kr,onChangeCode:Yr,onChangeInput:aa,onDebugCode:Xr,onResetCode:oa,onSyncCode:ia,onUpdateCode:Zr,onChangeLanguage:ra,isWhiteTheme:Xn,setIsWhiteTheme:Zn,topDispatch:en};function da(){return Yn(this,null,function*(){const{praise_count:Dn}=yield(0,ue.vl)(xn.id,{container_type:"Hack",type:1});let Qn=er(kn({},wn),{hack:er(kn({},xn),{praises_count:Dn,user_praise:!xn.user_praise})});en({type:3,payload:Qn})})}const fa={topicId:an,submitResult:Mn,submitRecords:Jn,submitting:tr,page:ar,onPageChange:na,hack:xn,user:wn==null?void 0:wn.user,hack_sets:wn==null?void 0:wn.hack_sets,current_user:wn==null?void 0:wn.current_user,onTriggerPraise:da,setActiveIndex:qr};console.log(Kt);const ga=()=>Jt.get("type")==="exercises"?!1:!!(Jt.get("type")==="1"&&Object.values((xn==null?void 0:xn.homework_extension)||{}).some(Boolean));return qt.createElement(qt.Fragment,null,qt.createElement(he.Z,{spinning:Bn,delay:500},wn?qt.createElement(qt.Fragment,null,qt.createElement("header",{className:$n()(En.Z.header,Xn&&En.Z.whiteHeader)},Jt.get("type")!=="exercises"&&qt.createElement("div",null,qt.createElement("img",{src:`${ne.Z.IMG_SERVER}/images/${pr==null?void 0:pr.image_url}`,alt:"user",width:36}),qt.createElement("span",{style:{color:Xn?"#333":"#B2BACB",fontSize:16}},pr==null?void 0:pr.name)),Jt.get("type")==="exercises"&&qt.createElement("div",null,qt.createElement("div",{className:"exercise_user_info"},"\u59D3\u540D",qt.createElement("span",{className:"ml10"},(kt=Kt==null?void 0:Kt.exercise)==null?void 0:kt.user_name)),qt.createElement("div",{className:"exercise_user_info ml30"},"\u5B66\u53F7",qt.createElement("span",{className:"ml10"},(zt=Kt==null?void 0:Kt.exercise)==null?void 0:zt.student_id))),qt.createElement("h2",{className:"flex-wrp flex_box_column flex_box_center"},qt.createElement("div",null,xn.name)),(xn==null?void 0:xn.is_program)&&qt.createElement(Bt.Z,{defaultValue:xn==null?void 0:xn.answer_long_time,onChange:Dn=>{Fr.current=Dn},className:En.Z.timepiece}),pr!=null&&pr.hack_manager?qt.createElement(je.Link,{className:En.Z.btn_edit,to:Jt.get("type")==="1"?Jt.get("pageId")?`/problems/newedit/${xn.identifier}?type=1&pageId=${Jt.get("pageId")}&backUrl=${Jt.get("backUrl")}`:`/problems/newedit/${xn.identifier}?type=1`:`/problems/newedit/${xn.identifier}`}," ",qt.createElement("i",{className:"iconfont icon-bianji13 font14 mr5"})," \u7F16\u8F91"):null,((Nt=Kt==null?void 0:Kt.exercise)==null?void 0:Nt.left_time)&&qt.createElement(qt.Fragment,null,qt.createElement("span",{style:{color:Lr,marginRight:6},className:`iconfont icon-daojishi ${En.Z.djs}`}),qt.createElement("span",{className:"c-white mr20"},qt.createElement(cr,{valueStyle:{color:Lr,fontSize:20,fontWeight:500},title:qt.createElement("span",{style:{color:Lr,fontSize:14,marginRight:10},className:"time"},"\u5269\u4F59\u7B54\u9898\u65F6\u957F"),value:Ft,onFinish:()=>Yn(void 0,null,function*(){const Dn=yield(0,se.VL)({categoryId:Jt.get("exercisesId"),commit_method:2});if((Dn==null?void 0:Dn.status)===0&&(Zr(),pe.default.info({width:530,title:"\u63D0\u793A",centered:!0,okText:"\u786E\u5B9A",content:qt.createElement("div",{className:"tc font16"},"\u7B54\u9898\u7ED3\u675F\u4E86\uFF0C\u7CFB\u7EDF\u5DF2\u81EA\u52A8\u63D0\u4EA4\u8BD5\u5377",qt.createElement("br",null),"\u4E0D\u80FD\u518D\u4FEE\u6539\u7B54\u9898"),onOk:()=>Yn(void 0,null,function*(){window.parent.location.href=`/classrooms/${Jt.get("coursesId")}/exercise/${Jt.get("exercisesId")}/detail`})})),(Dn==null?void 0:Dn.status)===-3){const Qn=parseInt(Dn==null?void 0:Dn.message);dn(Date.now()+Qn*1e3)}})}))),Jt.get("type")==="exercises"?qt.createElement(ce.ZP,{type:"primary",onClick:()=>{const Dn=()=>Yn(void 0,null,function*(){yield Zr(),Sr(!1),$r(),jr.current=!0,Hr()});if(!(Jn!=null&&Jn.records_count)||Gn){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",icon:null,title:"\u63D0\u793A",content:qt.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:Dn});return}Dn()}},qt.createElement("span",{className:"iconfont icon-yiguanbi mr5 font14"})," \u8FD4\u56DE\u8BD5\u5377"):qt.createElement("span",{onClick:()=>{var Dn;if(Jt.get("backUrl"))je.history.push(Jt.get("backUrl"));else if(Jt.get("type")==="1"){let Qn=(Dn=localStorage.getItem("program_homework"))==null?void 0:Dn.split(",");je.history.push(`/classrooms/${Qn==null?void 0:Qn[0]}/program_homework/${Qn==null?void 0:Qn[1]}/detail`)}else je.history.push("/problemset")}},qt.createElement(oe.Z,{title:"\u5173\u95ED"},qt.createElement("i",{style:{color:Xn?"#8D929F":"#fff"},className:"iconfont icon-fanhuishijuan font16 "})))),qt.createElement(he.Z,{size:"large",spinning:In},qt.createElement(re.Z,{className:$n()(En.Z.myProblems,Xn&&En.Z.whiteMyProblems),leftChild:qt.createElement(Un,kn({},fa)),rightChild:qt.createElement(Dr,kn({},ca))}))):null,qt.createElement(pe.default,{centered:!0,closable:!1,width:680,footer:null,open:br,className:"oj-modal"},qt.createElement("section",{className:"oj-modal-content"},qt.createElement("div",{className:"oj-modal-head"},qt.createElement("img",{src:zn,alt:""}),qt.createElement("i",{onClick:()=>Br(!1),className:"iconfont icon-guanbi1"})),qt.createElement("aside",null,qt.createElement("img",{className:"mr30",src:dr.Z}),"\u8FD0\u884C\u65F6\u95F4:\xA0",qt.createElement("span",{style:{color:"#75d6ba",marginRight:100}},Mn==null?void 0:Mn.execute_time,"ms"),"\u4F18\u4E8E",qt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Mn==null?void 0:Mn.time_better_than)||100,"%"),"\u7684\u7528\u6237"),qt.createElement("aside",{className:"mb50"},qt.createElement("img",{src:Pr.Z,className:"mr30"}),qt.createElement("span",{className:"oj-modal-tt"},qt.createElement("span",null,qt.createElement("span",null,"\u5360\u7528\u5185\u5B58:\xA0"),qt.createElement("span",{className:"c-light-primary"},Mn==null?void 0:Mn.execute_memory,"kb")),qt.createElement("span",null,qt.createElement("span",null))),"\u4F18\u4E8E",qt.createElement("span",{style:{color:"#f3b087",margin:"0 5px"}},(Mn==null?void 0:Mn.memory_better_than)||100,"%"),"\u7684\u7528\u6237"),qt.createElement("div",{id:"oj-modal-next",onClick:()=>Yn(void 0,null,function*(){var Dn;if(Mn!=null&&Mn.next_identifier){let Qn=yield(0,De.ZP)(`/api/problems/${Mn==null?void 0:Mn.next_identifier}/start.json`,{method:"get",params:{hack_user_id:pr==null?void 0:pr.user_id}});Qn&&(je.history.replace(`/myproblems/${Qn==null?void 0:Qn.identifier}${window.location.search}`),window.location.reload())}else{let Qn=(Dn=localStorage.getItem("program_homework"))==null?void 0:Dn.split(",");je.history.push(`/classrooms/${Qn==null?void 0:Qn[0]}/program_homework/${Qn==null?void 0:Qn[1]}/detail`)}}),className:"oj-modal-btn"},Mn!=null&&Mn.next_identifier?"\u8FDB\u5165\u4E0B\u4E00\u9898":"\u56DE\u5230\u4F5C\u4E1A\u8BE6\u60C5\u9875"))),ga()&&qt.createElement(ir.Z,{showData:xn==null?void 0:xn.homework_extension,description:xn==null?void 0:xn.description,code:xn.code,sendParams:{source:"hack"}})),qt.createElement(Wt.Z,{successCb:()=>{Ar.current===1?Xr():Kr()}}))};function Or({title:ht,modify_code:Dt,onSyncCode:Pt,onShowCodeSetting:kt,onResetCode:zt,hack:Nt,onChangeLanguage:un,isWhiteTheme:en}){var an;const fn=()=>{pe.default.confirm({title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801",icon:qt.createElement(te.Z,null),content:"\u4F60\u5728\u672C\u6587\u4EF6\u4E2D\u4FEE\u6539\u7684\u5185\u5BB9\u5C06\u4E22\u5931\uFF0C\u662F\u5426\u786E\u5B9A\u91CD\u65B0\u52A0\u8F7D\u521D\u59CB\u4EE3\u7801\uFF1F",centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:zt})},[Jt]=(0,je.useSearchParams)(),Bn=Jt.get("language"),wn=Fn=>Fn==="1"?"c++":Fn==="2"?"C++":Fn;return(0,ye.useEffect)(()=>{Bn&&un(wn(Bn))},[]),(0,ye.useEffect)(()=>{Nt!=null&&Nt.tpm_code_modified&&pe.default.confirm({title:"\u66F4\u65B0\u521D\u59CB\u4EE3\u7801",icon:qt.createElement(te.Z,null),content:qt.createElement("div",null,qt.createElement("div",null,"\u7F16\u7A0B\u9898\u7684\u521D\u59CB\u4EE3\u7801\u5185\u5BB9\u6709\u66F4\u65B0,"),qt.createElement("div",null,"\u66F4\u65B0\u64CD\u4F5C\u5C06\u4FDD\u7559\u5DF2\u5B8C\u6210\u7684\u8BC4\u6D4B\u8BB0\u5F55\u548C\u6210\u7EE9,"),qt.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:()=>zt()})},[Nt==null?void 0:Nt.language]),console.log(Nt,en,"hack"),qt.createElement("div",{className:`${En.Z.codeHead} ${en?En.Z.whiteCodeHead:""}`},qt.createElement("div",{className:En.Z.navWrap},(an=Nt==null?void 0:Nt.all_language)==null?void 0:an.map(Fn=>qt.createElement("div",{className:`${En.Z.nav} ${Fn===(Nt==null?void 0:Nt.language)?En.Z.active:""}`,key:Fn,onClick:()=>un(Fn)},qt.createElement(oe.Z,{title:"\u7F16\u7A0B\u8BED\u8A00"},qt.createElement("i",{className:"iconfont icon-bianchengyuyan1"})),qt.createElement("span",null,Fn)))),qt.createElement(ie.Z,{align:"middle",style:{marginLeft:"auto"}},Dt?qt.createElement("a",{title:"\u66F4\u65B0\u901A\u77E5",onClick:Pt},qt.createElement("img",{src:Me,alt:"notice",style:{height:13,transform:"translateY(-2px)"}})):null,qt.createElement("a",{onClick:fn},qt.createElement(oe.Z,{title:"\u6062\u590D\u521D\u59CB\u4EE3\u7801"},qt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-huifuchushihuashezhi mr15"}))),qt.createElement("a",{onClick:kt},qt.createElement(oe.Z,{title:"\u8BBE\u7F6E"},qt.createElement("i",{style:{color:"#8D929F"},className:"iconfont icon-shezhi8 font14 mr15"})))))}function Dr(ht){var Dt=ht,{input:Pt,is_file:kt,showNote:zt,onShowNote:Nt,notes:un,onCancelNote:en,onAddNote:an,debugResult:fn,language:Jt,debuging:Bn,submitting:wn,executingMessage:Fn,code:Mn,onSubmitCode:Jn,onDebugCode:ar,onChangeCode:wr,onChangeInput:Cr,onUpdateCode:tr,user:or,isLoading:Lr,submitResult:Hn}=Dt,Ft=ur(Dt,["input","is_file","showNote","onShowNote","notes","onCancelNote","onAddNote","debugResult","language","debuging","submitting","executingMessage","code","onSubmitCode","onDebugCode","onChangeCode","onChangeInput","onUpdateCode","user","isLoading","submitResult"]);function dn(_n){return qt.createElement(Or,er(kn({},Ft),{onShowCodeSetting:_n}))}const Kt=kn({input:Pt,is_file:kt,debugResult:fn,debuging:Bn,submitting:wn,executingMessage:Fn,onDebugCode:ar,onChangeCode:wr,onSubmitCode:Jn,onChangeInput:Cr,user:or,submitResult:Hn},Ft);return qt.createElement("div",{style:{display:"flex",flexDirection:"column",height:"100%",background:"#1B2333"}},qt.createElement(we,{setIsWhiteTheme:Ft==null?void 0:Ft.setIsWhiteTheme,isLoading:Lr,language:Jt,value:Mn,onChange:wr,onUpdateCode:tr,ActionBarRender:dn}),qt.createElement(Fe.ZP,kn({},Kt)))}},76826:function(ct,ot,Se){"use strict";Se.d(ot,{h:function(){return ye}});var ye=(je=>(je[je.NOMATCH=-1]="NOMATCH",je[je.OK=0]="OK",je[je.TIMEOUT=2]="TIMEOUT",je[je.PODFAILURE=3]="PODFAILURE",je[je.COMPILEFAILURE=4]="COMPILEFAILURE",je[je.EXECUTEFAILURE=5]="EXECUTEFAILURE",je[je.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",je))(ye||{})},5247:function(ct,ot,Se){"use strict";Se.d(ot,{H7:function(){return a},MK:function(){return te},MU:function(){return se},X6:function(){return re},bM:function(){return ue},fi:function(){return y},fu:function(){return ie},n4:function(){return x},rX:function(){return ne},vl:function(){return b},zO:function(){return ae}});var ye=Se(7660),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(ee,z,le)=>z in ee?je(ee,z,{enumerable:!0,configurable:!0,writable:!0,value:le}):ee[z]=le,oe=(ee,z)=>{for(var le in z||(z={}))pe.call(z,le)&&ce(ee,le,z[le]);if(E)for(var le of E(z))he.call(z,le)&&ce(ee,le,z[le]);return ee};function ie(ee,z){return(0,ye.U2)(`myproblems/${ee}.json`,oe({hidePopLogin:!0},z||{}))}function ue(ee,z){return(0,ye.v_)(`myproblems/${ee}/code_submit.json`,z)}function se(ee,z){return(0,ye.v_)(`myproblems/${ee}/code_debug.json`,z)}function ae(ee,z){return z.language&&(z.language=encodeURIComponent(z.language)),(0,ye.U2)(`myproblems/${ee}/submit_records.json`,z)}function re(ee){return(0,ye.U2)("myproblems/record_detail.json",{id:ee})}function ne(ee,z){return(0,ye.U2)(`myproblems/${ee}/result.json`,{mode:z})}function te(ee,z){return(0,ye.v_)(`myproblems/${ee}/add_notes.json`,z)}function a(ee,z){return(0,ye.v_)(`myproblems/${ee}/restore_initial_code.json`,z)}function y(ee){return(0,ye.v_)(`myproblems/${ee}/sync_code.json`)}function x(ee,z){return(0,ye.v_)(`myproblems/${ee}/update_code.json`,z)}function b(ee,z){return(0,ye.v_)(`discusses/${ee}/plus.json`,z)}},36391:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se.n(he),oe=Se(43219),ie=Se(99325),ue=Se(24334),se=Se.n(ue),ae=Se(7660),re=Se(5247),ne=Se(21758),te=Se(61186),a=Se.n(te),y=Se(59301),x=Object.defineProperty,b=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertySymbols,le=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,ge=(Pe,Ee,Ae)=>Ee in Pe?x(Pe,Ee,{enumerable:!0,configurable:!0,writable:!0,value:Ae}):Pe[Ee]=Ae,fe=(Pe,Ee)=>{for(var Ae in Ee||(Ee={}))le.call(Ee,Ae)&&ge(Pe,Ae,Ee[Ae]);if(z)for(var Ae of z(Ee))de.call(Ee,Ae)&&ge(Pe,Ae,Ee[Ae]);return Pe},me=(Pe,Ee)=>b(Pe,ee(Ee)),be=(Pe,Ee,Ae)=>new Promise((Ce,_e)=>{var we=Fe=>{try{Oe(Ae.next(Fe))}catch(Le){_e(Le)}},Me=Fe=>{try{Oe(Ae.throw(Fe))}catch(Le){_e(Le)}},Oe=Fe=>Fe.done?Ce(Fe.value):Promise.resolve(Fe.value).then(we,Me);Oe((Ae=Ae.apply(Pe,Ee)).next())});const ve=({problemset:Pe,dispatch:Ee})=>{var Ae,Ce,_e,we,Me;const[Oe,Fe]=(0,ye.useState)({}),[Le,Ye]=(0,ye.useState)([]),[He,Ge]=(0,ye.useState)(!1),[Ke,ze]=(0,ye.useState)(!1),[ke,Ne]=(0,ye.useState)({}),Ve=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Ue,Be,Ze;if(((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.key)==="BPROGRAM"){const Te=(0,he.cloneDeep)((Be=Pe==null?void 0:Pe.actionTabs)==null?void 0:Be.params);Fe(Te),Ye((Ze=Te==null?void 0:Te.standard_answer)==null?void 0:Ze.map(We=>({value:"",answer:(We==null?void 0:We.answer_text)||[]})))}},[(Ae=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ae.key]);function qe(){return new Date().getTime()}const rt=()=>be(void 0,null,function*(){var Ue,Be,Ze,Te,We;if(Le.some(Je=>(Je==null?void 0:Je.value)==="")&&!He){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(He){const Je=(0,he.cloneDeep)((Ue=Pe==null?void 0:Pe.actionTabs)==null?void 0:Ue.params);Ye([...(Be=Je==null?void 0:Je.standard_answer)==null?void 0:Be.map(Ie=>({value:"",answer:(Ie==null?void 0:Ie.answer_text)||[],type:""}))]),Ge(!He);return}else{let Je=Le==null?void 0:Le.map((Ie,xe)=>me(fe({},Ie),{type:Ie.types}));Ye(Je)}console.log(Le),ze(!0);let at=yield(0,ae.ZP)(`/api/problems/${(Ze=Oe==null?void 0:Oe.program_attr)==null?void 0:Ze.identifier}/start.json`,{method:"get"});const et=yield(0,re.n4)(at==null?void 0:at.identifier,{code:(Te=Oe==null?void 0:Oe.program_attr)==null?void 0:Te.code,language:(We=Oe==null?void 0:Oe.program_attr)==null?void 0:We.language,answers:Le==null?void 0:Le.map(Je=>Je.value)});if((et==null?void 0:et.status)===0){let Ie=function(){return be(this,null,function*(){const{status:xe,message:De,data:Re}=yield(0,re.rX)(at==null?void 0:at.identifier,"submit"),nt=qe()-Je>10*1e3*(Le==null?void 0:Le.length);if(xe!==0&&!nt&&setTimeout(Ie,1e3),nt){pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6",content:"\u8BF7\u68C0\u67E5\u7A0B\u5E8F\u4EE3\u7801\u662F\u5426\u5B58\u5728\u6B7B\u5FAA\u73AF"}),ze(!1);return}if(xe===0){ze(!1);let $e=Le==null?void 0:Le.map((tt,st)=>me(fe({},tt),{type:(Re==null?void 0:Re.right_arr[st])===1?"success":"warning"}));Ye($e),Ne(Re),Re.status===2&&(ze(!1),pe.default.error({centered:!0,okText:"\u77E5\u9053\u5566",title:"\u8C03\u8BD5\u4EE3\u7801\u8D85\u65F6"}))}})};const Je=qe();yield(0,re.bM)(at==null?void 0:at.identifier,{}),Ie()}else ze(!1);Ge(!He)}),Qe=()=>{Fe({}),Ye([]),Ge(!1),Ee({type:"problemset/setActionTabs",payload:{}})};return y.createElement(y.Fragment,null,y.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:Pe.actionTabs.key==="BPROGRAM",title:"\u8BD5\u9898\u4F53\u9A8C",okText:He?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u4EE3\u7801",cancelText:"\u53D6\u6D88",width:708,onOk:rt,onCancel:Qe,okButtonProps:{loading:Ke}},y.createElement("div",null,y.createElement("div",{className:"c-light-primary mb5 font16"},"\u7A0B\u5E8F\u586B\u7A7A\u9898"),y.createElement(ie.Z,{value:(Ce=Oe==null?void 0:Oe.program_attr)==null?void 0:Ce.description}),((_e=Oe==null?void 0:Oe.program_attr)==null?void 0:_e.code)&&y.createElement(ie.Z,{showProgramFill:!0,onFillChange:Ue=>{let Be=Ue==null?void 0:Ue.map((Ze,Te)=>fe({},Ze));Ye(Be)},programFillValue:Le,value:ue.Base64.decode((we=Oe==null?void 0:Oe.program_attr)==null?void 0:we.code)}),He&&y.createElement(ye.Fragment,null,y.createElement("div",{className:oe.Z.line}),(Me=Oe==null?void 0:Oe.standard_answer)==null?void 0:Me.map((Ue,Be)=>y.createElement("div",{className:"c-grey-333 mb5",style:{display:"flex",alignItems:"baseline"}},y.createElement("b",null,"\u586B\u7A7A",Be+1,"\u7B54\u6848:\xA0"),y.createElement("pre",null,(Ue==null?void 0:Ue.answer_text)||""))),y.createElement("div",{className:"c-grey-333 mb10"},y.createElement("b",null,"\u89E3\u6790:\xA0"),(Oe==null?void 0:Oe.analysis)||"\u6682\u65E0\u89E3\u6790")))),(ke==null?void 0:ke.id)&&ke.status!==2&&y.createElement(pe.default,{open:(ke==null?void 0:ke.id)&&ke.status!==2,title:"\u8FD0\u884C\u7ED3\u679C",width:1100,footer:!1,onOk:()=>{Ne({})},onCancel:()=>{Ne({})}},y.createElement("div",{style:{maxHeight:600,overflow:"auto",marginBottom:15}},y.createElement("div",{style:{marginBottom:20,display:"flex",justifyContent:"space-between",fontSize:14}},y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u72B6\u6001"),y.createElement("span",{style:{marginLeft:12,color:ke.status!==0&&"#E30000"}},ne.Im[ke.status])),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u63D0\u4EA4\u65F6\u95F4"),y.createElement("span",{style:{marginLeft:12}},a()(ke.created_at).format("YYYY-MM-DD HH:mm:ss"))),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u8BED\u8A00"),y.createElement("span",{style:{marginLeft:12}},ke.language)),y.createElement("div",null,y.createElement("span",{style:{color:"#666666"}},"\u6267\u884C\u7528\u65F6"),y.createElement("span",{style:{marginLeft:12}},ke.execute_time,"ms"))),y.createElement(ne.Y4,fe({},ke)))))};ot.Z=(0,je.connect)(({problemset:Pe})=>({problemset:Pe}))(ve)},95380:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return Mt}});var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se(99325),oe=Se(5112),ie=Se(3113),ue=Se(28103),se=Se(43219),ae=Se(59301),re=Object.defineProperty,ne=Object.defineProperties,te=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(yt,wt,xt)=>wt in yt?re(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):yt[wt]=xt,ee=(yt,wt)=>{for(var xt in wt||(wt={}))y.call(wt,xt)&&b(yt,xt,wt[xt]);if(a)for(var xt of a(wt))x.call(wt,xt)&&b(yt,xt,wt[xt]);return yt},z=(yt,wt)=>ne(yt,te(wt)),le=(yt,wt,xt)=>new Promise((cn,Vt)=>{var sn=Ht=>{try{nn(xt.next(Ht))}catch(ln){Vt(ln)}},Zt=Ht=>{try{nn(xt.throw(Ht))}catch(ln){Vt(ln)}},nn=Ht=>Ht.done?cn(Ht.value):Promise.resolve(Ht.value).then(sn,Zt);nn((xt=xt.apply(yt,wt)).next())});const de=({problemset:yt,dispatch:wt,showdiv:xt,data:cn})=>{const[Vt,sn]=(0,ye.useState)([]),[Zt,nn]=(0,ye.useState)(!1),Ht=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Ln;((Ln=Object.keys(cn))==null?void 0:Ln.length)>0&&sn(cn.choices)},[cn]);const ln=()=>le(void 0,null,function*(){if(!Vt.some(Ln=>Ln==null?void 0:Ln.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Zt){const Ln=(0,he.cloneDeep)(cn);sn(Ln.choices)}nn(!Zt)}),Tn=(Ln,yn)=>{console.log(Ln.target.checked);const mn=Vt.map((Ct,Ot)=>z(ee({},Ct),{checked:Ot===yn?Ln.target.checked:!1}));sn(mn)},Sn=()=>{sn([]),nn(!1),wt({type:"problemset/setActionTabs",payload:{}})};return ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),ae.createElement(ce.Z,{value:cn==null?void 0:cn.name}),Vt==null?void 0:Vt.map((Ln,yn)=>{const{is_answer:mn,checked:Ct,choice_text:Ot}=Ln;let At="";return Zt&&mn&&(At=se.Z.green),Zt&&!mn&&Ct&&(At=se.Z.red),ae.createElement("div",{key:yn,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${At}`},ae.createElement(oe.ZP,{onChange:tn=>Tn(tn,yn),checked:Ct}),ae.createElement("span",null,Ht[yn],".\xA0"),ae.createElement(ce.Z,{className:se.Z.html,value:Ot}),Zt&&mn&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!mn&&Ct&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Zt&&ae.createElement(ye.Fragment,null,ae.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Ht[Vt.findIndex(Ln=>Ln.is_answer)]),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(cn==null?void 0:cn.analysis)||"\u6682\u65E0\u89E3\u6790"))),ae.createElement("div",{style:{textAlign:"end",marginTop:10}},ae.createElement(ie.ZP,{type:"primary",onClick:()=>{ln()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&&ae.createElement(ue.Z,null))};var ge=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(de),fe=Se(92832),me=Se(72714),be=Se(59301),ve=Object.defineProperty,Pe=Object.defineProperties,Ee=Object.getOwnPropertyDescriptors,Ae=Object.getOwnPropertySymbols,Ce=Object.prototype.hasOwnProperty,_e=Object.prototype.propertyIsEnumerable,we=(yt,wt,xt)=>wt in yt?ve(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):yt[wt]=xt,Me=(yt,wt)=>{for(var xt in wt||(wt={}))Ce.call(wt,xt)&&we(yt,xt,wt[xt]);if(Ae)for(var xt of Ae(wt))_e.call(wt,xt)&&we(yt,xt,wt[xt]);return yt},Oe=(yt,wt)=>Pe(yt,Ee(wt)),Fe=(yt,wt,xt)=>new Promise((cn,Vt)=>{var sn=Ht=>{try{nn(xt.next(Ht))}catch(ln){Vt(ln)}},Zt=Ht=>{try{nn(xt.throw(Ht))}catch(ln){Vt(ln)}},nn=Ht=>Ht.done?cn(Ht.value):Promise.resolve(Ht.value).then(sn,Zt);nn((xt=xt.apply(yt,wt)).next())});const Le=({problemset:yt,datas:wt,showdiv:xt,dispatch:cn})=>{var Vt;const[sn,Zt]=(0,ye.useState)({}),[nn,Ht]=(0,ye.useState)([]),[ln,Tn]=(0,ye.useState)(!1),Sn=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Ct;if(Object.keys(wt)){const Ot=(0,he.cloneDeep)(wt);Zt(Ot),Ht((Ct=Ot==null?void 0:Ot.standard_answer)==null?void 0:Ct.map(At=>Me({value:"",answer:(At==null?void 0:At.answer_text)||[]},At)))}},[wt]);const Ln=()=>Fe(void 0,null,function*(){var Ct;if(nn.some(Ot=>(Ot==null?void 0:Ot.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(ln){const Ot=(0,he.cloneDeep)(wt);Ht((Ct=Ot==null?void 0:Ot.standard_answer)==null?void 0:Ct.map(At=>Me({value:"",answer:(At==null?void 0:At.answer_text)||[]},At)))}Tn(!ln)}),yn=(Ct,Ot)=>{const At=nn.map((tn,gn)=>Oe(Me({},tn),{value:gn===Ot?Ct.target.value:tn.value}));Ht(At)},mn=()=>{Zt({}),Ht([]),Tn(!1),cn({type:"problemset/setActionTabs",payload:{}})};return be.createElement("div",null,be.createElement("div",{className:"c-light-primary mb5 font16"},"\u586B\u7A7A\u9898"),be.createElement(ce.Z,{value:sn==null?void 0:sn.name}),nn==null?void 0:nn.map((Ct,Ot)=>{const{value:At,answer:tn}=Ct;let gn="";return ln&&(tn!=null&&tn.includes(At))&&(gn=se.Z.green),ln&&!(tn!=null&&tn.includes(At))&&(gn=se.Z.red),be.createElement("div",{key:Ot,style:{pointerEvents:ln?"none":"auto",marginTop:10},className:`${se.Z.row} ${gn}`},be.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Ot+1,"\u7B54\u6848:"),(Ct==null?void 0:Ct.model)===1?be.createElement(fe.default.TextArea,{className:se.Z.textArea,style:{width:610,marginRight:10},onChange:dt=>yn(dt,Ot),value:At}):be.createElement(me.Z,{value:At,onChange:dt=>{const gt=nn.map((ft,jt)=>Oe(Me({},ft),{value:jt===Ot?dt:ft.value}));Ht(gt)}}),ln&&(tn==null?void 0:tn.includes(At))&&be.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),ln&&!(tn!=null&&tn.includes(At))&&be.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),ln&&be.createElement(ye.Fragment,null,be.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},(Vt=sn==null?void 0:sn.standard_answer)==null?void 0:Vt.map((Ct,Ot)=>{var At,tn;return be.createElement("div",{className:"c-grey-333 mb5"},be.createElement("b",null,"\u586B\u7A7A",Ot+1,"\u7B54\u6848:\xA0"),(Ct==null?void 0:Ct.model)===1?((At=Ct==null?void 0:Ct.answer_text)==null?void 0:At.join("\u3001"))||"":be.createElement(me.Z,{value:(tn=Ct==null?void 0:Ct.answer_text)==null?void 0:tn.join("\u3001"),disabled:!0}))}),be.createElement("div",{className:"c-grey-333 mb10"},be.createElement("b",null,"\u89E3\u6790:\xA0"),(sn==null?void 0:sn.analysis)||"\u6682\u65E0\u89E3\u6790"))),be.createElement("div",{style:{textAlign:"end",marginTop:10}},be.createElement(ie.ZP,{type:"primary",onClick:()=>{Ln()}},ln?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&&be.createElement(ue.Z,null))};var Ye=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(Le),He=Se(59301),Ge=Object.defineProperty,Ke=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ve=Object.prototype.propertyIsEnumerable,qe=(yt,wt,xt)=>wt in yt?Ge(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):yt[wt]=xt,rt=(yt,wt)=>{for(var xt in wt||(wt={}))Ne.call(wt,xt)&&qe(yt,xt,wt[xt]);if(ke)for(var xt of ke(wt))Ve.call(wt,xt)&&qe(yt,xt,wt[xt]);return yt},Qe=(yt,wt)=>Ke(yt,ze(wt)),Ue=(yt,wt,xt)=>new Promise((cn,Vt)=>{var sn=Ht=>{try{nn(xt.next(Ht))}catch(ln){Vt(ln)}},Zt=Ht=>{try{nn(xt.throw(Ht))}catch(ln){Vt(ln)}},nn=Ht=>Ht.done?cn(Ht.value):Promise.resolve(Ht.value).then(sn,Zt);nn((xt=xt.apply(yt,wt)).next())});const Be=({problemset:yt,datas:wt,showdiv:xt,dispatch:cn})=>{var Vt;const[sn,Zt]=(0,ye.useState)({}),[nn,Ht]=(0,ye.useState)([]),[ln,Tn]=(0,ye.useState)(!1),Sn=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{if(Object.keys(wt)){const Ct=(0,he.cloneDeep)(wt);Zt(Ct),Ht(Ct.choices)}},[wt]);const Ln=()=>Ue(void 0,null,function*(){if(!nn.some(Ct=>Ct==null?void 0:Ct.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(ln){const Ct=(0,he.cloneDeep)(wt);Ht(Ct.choices)}Tn(!ln)}),yn=(Ct,Ot)=>{console.log(Ct.target.checked);const At=nn.map((tn,gn)=>Qe(rt({},tn),{checked:gn===Ot?Ct.target.checked:!1}));Ht(At)},mn=()=>{Zt({}),Ht([]),Tn(!1),cn({type:"problemset/setActionTabs",payload:{}})};return He.createElement("div",null,He.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),He.createElement(ce.Z,{value:sn==null?void 0:sn.name}),nn==null?void 0:nn.map((Ct,Ot)=>{const{is_answer:At,checked:tn,choice_text:gn}=Ct;let dt="";return ln&&At&&(dt=se.Z.green),ln&&!At&&tn&&(dt=se.Z.red),He.createElement("div",{key:Ot,style:{pointerEvents:ln?"none":"auto"},className:`${se.Z.row} ${dt}`},He.createElement(oe.ZP,{onChange:gt=>yn(gt,Ot),checked:tn}),He.createElement(ce.Z,{className:se.Z.html,value:gn}),ln&&At&&He.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),ln&&!At&&tn&&He.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),ln&&He.createElement(ye.Fragment,null,He.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},He.createElement("div",{className:"c-grey-333 mb5"},He.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(Vt=nn.find(Ct=>Ct.is_answer))==null?void 0:Vt.choice_text),He.createElement("div",{className:"c-grey-333 mb10"},He.createElement("b",null,"\u89E3\u6790:\xA0"),(sn==null?void 0:sn.analysis)||"\u6682\u65E0\u89E3\u6790"))),He.createElement("div",{style:{textAlign:"end",marginTop:10}},He.createElement(ie.ZP,{type:"primary",onClick:()=>{Ln()}},ln?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&&He.createElement(ue.Z,null))};var Ze=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(Be),Te=Se(24905),We=Se(59301),at=Object.defineProperty,et=Object.defineProperties,Je=Object.getOwnPropertyDescriptors,Ie=Object.getOwnPropertySymbols,xe=Object.prototype.hasOwnProperty,De=Object.prototype.propertyIsEnumerable,Re=(yt,wt,xt)=>wt in yt?at(yt,wt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):yt[wt]=xt,Xe=(yt,wt)=>{for(var xt in wt||(wt={}))xe.call(wt,xt)&&Re(yt,xt,wt[xt]);if(Ie)for(var xt of Ie(wt))De.call(wt,xt)&&Re(yt,xt,wt[xt]);return yt},nt=(yt,wt)=>et(yt,Je(wt)),$e=(yt,wt,xt)=>new Promise((cn,Vt)=>{var sn=Ht=>{try{nn(xt.next(Ht))}catch(ln){Vt(ln)}},Zt=Ht=>{try{nn(xt.throw(Ht))}catch(ln){Vt(ln)}},nn=Ht=>Ht.done?cn(Ht.value):Promise.resolve(Ht.value).then(sn,Zt);nn((xt=xt.apply(yt,wt)).next())});const tt=({problemset:yt,data:wt,showdiv:xt,dispatch:cn})=>{const[Vt,sn]=(0,ye.useState)([]),[Zt,nn]=(0,ye.useState)(!1),Ht=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Ln;((Ln=Object.keys(wt))==null?void 0:Ln.length)>0&&sn(wt.choices)},[wt]);const ln=()=>$e(void 0,null,function*(){if(!Vt.some(Ln=>Ln==null?void 0:Ln.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Zt){const Ln=(0,he.cloneDeep)(wt);sn(Ln.choices)}nn(!Zt)}),Tn=(Ln,yn)=>{console.log(Ln.target.checked);const mn=Vt.map((Ct,Ot)=>nt(Xe({},Ct),{checked:Ot===yn?Ln.target.checked:Ct.checked}));sn(mn)},Sn=()=>{let Ln="";return Vt.forEach((yn,mn)=>{yn.is_answer&&(Ln=Ln+Ht[mn])}),Ln};return We.createElement("div",null,We.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),We.createElement(ce.Z,{value:wt==null?void 0:wt.name}),Vt==null?void 0:Vt.map((Ln,yn)=>{const{is_answer:mn,checked:Ct,choice_text:Ot}=Ln;let At="";return Zt&&mn&&(At=se.Z.green),Zt&&!mn&&Ct&&(At=se.Z.red),We.createElement("div",{key:yn,style:{pointerEvents:Zt?"none":"auto"},className:`${se.Z.row} ${At}`},We.createElement(Te.default,{style:{padding:3},onChange:tn=>Tn(tn,yn),checked:Ct}),We.createElement("span",null,Ht[yn],".\xA0"),We.createElement(ce.Z,{className:se.Z.html,value:Ot}),Zt&&mn&&We.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Zt&&!mn&&Ct&&We.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Zt&&We.createElement(ye.Fragment,null,We.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},We.createElement("div",{className:"c-grey-333 mb5"},We.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Sn()),We.createElement("div",{className:"c-grey-333 mb10"},We.createElement("b",null,"\u89E3\u6790:\xA0"),(wt==null?void 0:wt.analysis)||"\u6682\u65E0\u89E3\u6790"))),We.createElement("div",{style:{textAlign:"end",marginTop:10}},We.createElement(ie.ZP,{type:"primary",onClick:()=>{ln()}},Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&&We.createElement(ue.Z,null))};var st=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(tt),it=Se(64726),lt=Se(59301),ut=(yt,wt,xt)=>new Promise((cn,Vt)=>{var sn=Ht=>{try{nn(xt.next(Ht))}catch(ln){Vt(ln)}},Zt=Ht=>{try{nn(xt.throw(Ht))}catch(ln){Vt(ln)}},nn=Ht=>Ht.done?cn(Ht.value):Promise.resolve(Ht.value).then(sn,Zt);nn((xt=xt.apply(yt,wt)).next())});const pt=({problemset:yt,dispatch:wt,showdiv:xt,datas:cn})=>{var Vt,sn,Zt;const[nn,Ht]=(0,ye.useState)({}),[ln,Tn]=(0,ye.useState)(!1),[Sn,Ln]=(0,ye.useState)(!0),[yn,mn]=(0,ye.useState)("");(0,ye.useEffect)(()=>{if(Object.keys(cn)){const At=(0,he.cloneDeep)(cn);Ht(At)}},[cn]);const Ct=()=>ut(void 0,null,function*(){if(!yn){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}ln&&mn(""),Tn(!ln)}),Ot=()=>{Ht({}),Ln(!0),Tn(!1),mn(""),wt({type:"problemset/setActionTabs",payload:{}})};return lt.createElement("div",null,lt.createElement("div",{className:"c-light-primary mb5 font16"},"\u7B80\u7B54\u9898"),lt.createElement(ce.Z,{value:nn==null?void 0:nn.name,style:{marginBottom:10}}),Sn?lt.createElement("div",{style:{border:"1px solid #f1f1f1",padding:10},onClick:()=>{Ln(!1)}}," \u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54"):lt.createElement(it.Z,{defaultValue:yn,onChange:At=>{mn(At)}}),ln&<.createElement(ye.Fragment,null,lt.createElement("div",{style:{background:"#F6F7F9",padding:10,marginTop:10}},lt.createElement("span",{style:{color:"#5F6368"}},"\u53C2\u8003\u7B54\u6848\uFF1A"),lt.createElement("br",null),((Vt=nn==null?void 0:nn.answer_texts)==null?void 0:Vt[0])||"\u6682\u65E0\u53C2\u8003\u7B54\u6848",((sn=nn==null?void 0:nn.keywords)==null?void 0:sn.length)>0&<.createElement("div",{style:{marginTop:10,marginBottom:10}},lt.createElement("span",{style:{color:"#5F6368"}},"\u5173\u952E\u8BCD\uFF1A"),(Zt=nn==null?void 0:nn.keywords)==null?void 0:Zt.map(At=>{var tn,gn,dt;return((tn=At==null?void 0:At.keyword)==null?void 0:tn.length)>1?((gn=At==null?void 0:At.keyword)==null?void 0:gn.join("\u6216"))+"\uFF1B":((dt=At==null?void 0:At.keyword)==null?void 0:dt[0])+"\uFF1B"})),lt.createElement("div",{style:{color:"#5F6368"}},lt.createElement("b",null,"\u89E3\u6790:"),lt.createElement("br",null),(nn==null?void 0:nn.analysis)||"\u6682\u65E0\u89E3\u6790"))),lt.createElement("div",{style:{textAlign:"end",marginTop:10}},lt.createElement(ie.ZP,{type:"primary",onClick:()=>{Ct()}},ln?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848")),!xt&<.createElement(ue.Z,null))};var vt=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(pt),mt=Se(59301),St=(yt,wt,xt)=>new Promise((cn,Vt)=>{var sn=Ht=>{try{nn(xt.next(Ht))}catch(ln){Vt(ln)}},Zt=Ht=>{try{nn(xt.throw(Ht))}catch(ln){Vt(ln)}},nn=Ht=>Ht.done?cn(Ht.value):Promise.resolve(Ht.value).then(sn,Zt);nn((xt=xt.apply(yt,wt)).next())});const _t=({problemset:yt,dispatch:wt})=>{var xt,cn;const[Vt,sn]=(0,ye.useState)({}),[Zt,nn]=(0,ye.useState)(!1),[Ht,ln]=(0,ye.useState)(!0),[Tn,Sn]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var mn,Ct;if(((mn=yt==null?void 0:yt.actionTabs)==null?void 0:mn.key)==="COMBINATION"){const Ot=(0,he.cloneDeep)((Ct=yt==null?void 0:yt.actionTabs)==null?void 0:Ct.params);sn(Ot)}},[(xt=yt==null?void 0:yt.actionTabs)==null?void 0:xt.key]);const Ln=()=>St(void 0,null,function*(){if(!Tn){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}nn(!Zt)}),yn=()=>{sn({}),ln(!0),nn(!1),Sn(""),wt({type:"problemset/setActionTabs",payload:{}})};return mt.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:yt.actionTabs.key==="COMBINATION",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Zt?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",footer:!1,width:708,bodyStyle:{maxHeight:600,overflow:"auto"},onOk:Ln,onCancel:yn},mt.createElement("div",null,mt.createElement("div",{className:"c-light-primary mb5 font16"},"\u7EC4\u5408\u9898"),mt.createElement(ce.Z,{value:Vt==null?void 0:Vt.name,style:{marginBottom:10}}),(cn=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:cn.map((mn,Ct)=>{var Ot,At,tn,gn,dt;if((mn==null?void 0:mn.item_type)==="SINGLE")return mt.createElement(ge,{data:mn,showdiv:((Ot=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:Ot.length)-1===Ct});if((mn==null?void 0:mn.item_type)==="MULTIPLE")return mt.createElement(st,{data:mn,showdiv:((At=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:At.length)-1===Ct});if((mn==null?void 0:mn.item_type)==="JUDGMENT")return mt.createElement(Ze,{datas:mn,showdiv:((tn=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:tn.length)-1===Ct});if((mn==null?void 0:mn.item_type)==="COMPLETION")return mt.createElement(Ye,{datas:mn,showdiv:((gn=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:gn.length)-1===Ct});if((mn==null?void 0:mn.item_type)==="SUBJECTIVE")return mt.createElement(vt,{datas:mn,showdiv:((dt=Vt==null?void 0:Vt.sub_item_banks)==null?void 0:dt.length)-1===Ct})})))};var Mt=(0,je.connect)(({problemset:yt})=>({problemset:yt}))(_t)},74517:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(92832),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Se(72714),ae=Se(59301),re=Object.defineProperty,ne=Object.defineProperties,te=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(ge,fe,me)=>fe in ge?re(ge,fe,{enumerable:!0,configurable:!0,writable:!0,value:me}):ge[fe]=me,ee=(ge,fe)=>{for(var me in fe||(fe={}))y.call(fe,me)&&b(ge,me,fe[me]);if(a)for(var me of a(fe))x.call(fe,me)&&b(ge,me,fe[me]);return ge},z=(ge,fe)=>ne(ge,te(fe)),le=(ge,fe,me)=>new Promise((be,ve)=>{var Pe=Ce=>{try{Ae(me.next(Ce))}catch(_e){ve(_e)}},Ee=Ce=>{try{Ae(me.throw(Ce))}catch(_e){ve(_e)}},Ae=Ce=>Ce.done?be(Ce.value):Promise.resolve(Ce.value).then(Pe,Ee);Ae((me=me.apply(ge,fe)).next())});const de=({problemset:ge,dispatch:fe})=>{var me,be;const[ve,Pe]=(0,ye.useState)({}),[Ee,Ae]=(0,ye.useState)([]),[Ce,_e]=(0,ye.useState)(!1),we=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Le,Ye,He;if(((Le=ge==null?void 0:ge.actionTabs)==null?void 0:Le.key)==="COMPLETION"){const Ge=(0,ce.cloneDeep)((Ye=ge==null?void 0:ge.actionTabs)==null?void 0:Ye.params);Pe(Ge),Ae((He=Ge==null?void 0:Ge.standard_answer)==null?void 0:He.map(Ke=>ee({value:"",answer:(Ke==null?void 0:Ke.answer_text)||[]},Ke)))}},[(me=ge==null?void 0:ge.actionTabs)==null?void 0:me.key]);const Me=()=>le(void 0,null,function*(){var Le,Ye;if(Ee.some(He=>(He==null?void 0:He.value)==="")){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ce){const He=(0,ce.cloneDeep)((Le=ge==null?void 0:ge.actionTabs)==null?void 0:Le.params);Ae((Ye=He==null?void 0:He.standard_answer)==null?void 0:Ye.map(Ge=>ee({value:"",answer:(Ge==null?void 0:Ge.answer_text)||[]},Ge)))}_e(!Ce)}),Oe=(Le,Ye)=>{const He=Ee.map((Ge,Ke)=>z(ee({},Ge),{value:Ke===Ye?Le.target.value:Ge.value}));Ae(He)},Fe=()=>{Pe({}),Ae([]),_e(!1),fe({type:"problemset/setActionTabs",payload:{}})};return ae.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:ge.actionTabs.key==="COMPLETION",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ce?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Me,onCancel:Fe},ae.createElement("div",null,ae.createElement("div",{className:"c-light-primary mb5 font16"},"\u586B\u7A7A\u9898"),ae.createElement(ue.Z,{value:ve==null?void 0:ve.name}),Ee==null?void 0:Ee.map((Le,Ye)=>{const{value:He,answer:Ge}=Le;let Ke="";return Ce&&(Ge!=null&&Ge.includes(He))&&(Ke=ie.Z.green),Ce&&!(Ge!=null&&Ge.includes(He))&&(Ke=ie.Z.red),ae.createElement("div",{key:Ye,style:{pointerEvents:Ce?"none":"auto",marginTop:10},className:`${ie.Z.row} ${Ke}`},ae.createElement("div",{style:{minWidth:80}},"\u586B\u7A7A",Ye+1,"\u7B54\u6848:"),(Le==null?void 0:Le.model)===1?ae.createElement(he.default.TextArea,{className:ie.Z.textArea,style:{width:610,marginRight:10},onChange:ze=>Oe(ze,Ye),value:He}):ae.createElement(se.Z,{value:He,onChange:ze=>{const ke=Ee.map((Ne,Ve)=>z(ee({},Ne),{value:Ve===Ye?ze:Ne.value}));Ae(ke)}}),Ce&&(Ge==null?void 0:Ge.includes(He))&&ae.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ce&&!(Ge!=null&&Ge.includes(He))&&ae.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ce&&ae.createElement(ye.Fragment,null,ae.createElement("div",{className:ie.Z.line}),(be=ve==null?void 0:ve.standard_answer)==null?void 0:be.map((Le,Ye)=>{var He,Ge;return ae.createElement("div",{className:"c-grey-333 mb5"},ae.createElement("b",null,"\u586B\u7A7A",Ye+1,"\u7B54\u6848:\xA0"),(Le==null?void 0:Le.model)===1?((He=Le==null?void 0:Le.answer_text)==null?void 0:He.join("\u3001"))||"":ae.createElement(se.Z,{value:(Ge=Le==null?void 0:Le.answer_text)==null?void 0:Ge.join("\u3001"),disabled:!0}))}),ae.createElement("div",{className:"c-grey-333 mb10"},ae.createElement("b",null,"\u89E3\u6790:\xA0"),(ve==null?void 0:ve.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:ge})=>({problemset:ge}))(de)},64634:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(5112),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(le,de,ge)=>de in le?se(le,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):le[de]=ge,x=(le,de)=>{for(var ge in de||(de={}))te.call(de,ge)&&y(le,ge,de[ge]);if(ne)for(var ge of ne(de))a.call(de,ge)&&y(le,ge,de[ge]);return le},b=(le,de)=>ae(le,re(de)),ee=(le,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(le,de)).next())});const z=({problemset:le,dispatch:de})=>{var ge,fe;const[me,be]=(0,ye.useState)({}),[ve,Pe]=(0,ye.useState)([]),[Ee,Ae]=(0,ye.useState)(!1),Ce=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.key)==="JUDGMENT"){const Le=(0,ce.cloneDeep)((Fe=le==null?void 0:le.actionTabs)==null?void 0:Fe.params);be(Le),Pe(Le.choices)}},[(ge=le==null?void 0:le.actionTabs)==null?void 0:ge.key]);const _e=()=>ee(void 0,null,function*(){var Oe;if(!ve.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ee){const Fe=(0,ce.cloneDeep)((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.params);Pe(Fe.choices)}Ae(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Ye,He)=>b(x({},Ye),{checked:He===Fe?Oe.target.checked:!1}));Pe(Le)},Me=()=>{be({}),Pe([]),Ae(!1),de({type:"problemset/setActionTabs",payload:{}})};return ye.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:le.actionTabs.key==="JUDGMENT",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ee?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:_e,onCancel:Me},ye.createElement("div",null,ye.createElement("div",{className:"c-light-primary mb5 font16"},"\u5224\u65AD\u9898"),ye.createElement(ue.Z,{value:me==null?void 0:me.name}),ve==null?void 0:ve.map((Oe,Fe)=>{const{is_answer:Le,checked:Ye,choice_text:He}=Oe;let Ge="";return Ee&&Le&&(Ge=ie.Z.green),Ee&&!Le&&Ye&&(Ge=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${Ge}`},ye.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Ye}),ye.createElement(ue.Z,{className:ie.Z.html,value:He}),Ee&&Le&&ye.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ee&&!Le&&Ye&&ye.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ee&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:ie.Z.line}),ye.createElement("div",{className:"c-grey-333 mb5"},ye.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),(fe=ve.find(Oe=>Oe.is_answer))==null?void 0:fe.choice_text),ye.createElement("div",{className:"c-grey-333 mb10"},ye.createElement("b",null,"\u89E3\u6790:\xA0"),(me==null?void 0:me.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:le})=>({problemset:le}))(z)},41808:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(24905),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Object.defineProperty,ae=Object.defineProperties,re=Object.getOwnPropertyDescriptors,ne=Object.getOwnPropertySymbols,te=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(le,de,ge)=>de in le?se(le,de,{enumerable:!0,configurable:!0,writable:!0,value:ge}):le[de]=ge,x=(le,de)=>{for(var ge in de||(de={}))te.call(de,ge)&&y(le,ge,de[ge]);if(ne)for(var ge of ne(de))a.call(de,ge)&&y(le,ge,de[ge]);return le},b=(le,de)=>ae(le,re(de)),ee=(le,de,ge)=>new Promise((fe,me)=>{var be=Ee=>{try{Pe(ge.next(Ee))}catch(Ae){me(Ae)}},ve=Ee=>{try{Pe(ge.throw(Ee))}catch(Ae){me(Ae)}},Pe=Ee=>Ee.done?fe(Ee.value):Promise.resolve(Ee.value).then(be,ve);Pe((ge=ge.apply(le,de)).next())});const z=({problemset:le,dispatch:de})=>{var ge;const[fe,me]=(0,ye.useState)({}),[be,ve]=(0,ye.useState)([]),[Pe,Ee]=(0,ye.useState)(!1),Ae=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.key)==="MULTIPLE"){const Le=(0,ce.cloneDeep)((Fe=le==null?void 0:le.actionTabs)==null?void 0:Fe.params);me(Le),ve(Le.choices)}},[(ge=le==null?void 0:le.actionTabs)==null?void 0:ge.key]);const Ce=()=>ee(void 0,null,function*(){var Oe;if(!be.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Pe){const Fe=(0,ce.cloneDeep)((Oe=le==null?void 0:le.actionTabs)==null?void 0:Oe.params);ve(Fe.choices)}Ee(!Pe)}),_e=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=be.map((Ye,He)=>b(x({},Ye),{checked:He===Fe?Oe.target.checked:Ye.checked}));ve(Le)},we=()=>{me({}),ve([]),Ee(!1),de({type:"problemset/setActionTabs",payload:{}})},Me=()=>{let Oe="";return be.forEach((Fe,Le)=>{Fe.is_answer&&(Oe=Oe+Ae[Le])}),Oe};return ye.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:le.actionTabs.key==="MULTIPLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Pe?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:Ce,onCancel:we},ye.createElement("div",null,ye.createElement("div",{className:"c-light-primary mb5 font16"},"\u591A\u9009\u9898"),ye.createElement(ue.Z,{value:fe==null?void 0:fe.name}),be==null?void 0:be.map((Oe,Fe)=>{const{is_answer:Le,checked:Ye,choice_text:He}=Oe;let Ge="";return Pe&&Le&&(Ge=ie.Z.green),Pe&&!Le&&Ye&&(Ge=ie.Z.red),ye.createElement("div",{key:Fe,style:{pointerEvents:Pe?"none":"auto"},className:`${ie.Z.row} ${Ge}`},ye.createElement(he.default,{style:{padding:3},onChange:Ke=>_e(Ke,Fe),checked:Ye}),ye.createElement("span",null,Ae[Fe],".\xA0"),ye.createElement(ue.Z,{className:ie.Z.html,value:He}),Pe&&Le&&ye.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Pe&&!Le&&Ye&&ye.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Pe&&ye.createElement(ye.Fragment,null,ye.createElement("div",{className:ie.Z.line}),ye.createElement("div",{className:"c-grey-333 mb5"},ye.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Me()),ye.createElement("div",{className:"c-grey-333 mb10"},ye.createElement("b",null,"\u89E3\u6790:\xA0"),(fe==null?void 0:fe.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:le})=>({problemset:le}))(z)},49417:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(5112),ce=Se(89392),oe=Se.n(ce),ie=Se(43219),ue=Se(99325),se=Se(59301),ae=Object.defineProperty,re=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,y=Object.prototype.propertyIsEnumerable,x=(de,ge,fe)=>ge in de?ae(de,ge,{enumerable:!0,configurable:!0,writable:!0,value:fe}):de[ge]=fe,b=(de,ge)=>{for(var fe in ge||(ge={}))a.call(ge,fe)&&x(de,fe,ge[fe]);if(te)for(var fe of te(ge))y.call(ge,fe)&&x(de,fe,ge[fe]);return de},ee=(de,ge)=>re(de,ne(ge)),z=(de,ge,fe)=>new Promise((me,be)=>{var ve=Ae=>{try{Ee(fe.next(Ae))}catch(Ce){be(Ce)}},Pe=Ae=>{try{Ee(fe.throw(Ae))}catch(Ce){be(Ce)}},Ee=Ae=>Ae.done?me(Ae.value):Promise.resolve(Ae.value).then(ve,Pe);Ee((fe=fe.apply(de,ge)).next())});const le=({problemset:de,dispatch:ge})=>{var fe;const[me,be]=(0,ye.useState)({}),[ve,Pe]=(0,ye.useState)([]),[Ee,Ae]=(0,ye.useState)(!1),Ce=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"];(0,ye.useEffect)(()=>{var Oe,Fe;if(((Oe=de==null?void 0:de.actionTabs)==null?void 0:Oe.key)==="SINGLE"){const Le=(0,ce.cloneDeep)((Fe=de==null?void 0:de.actionTabs)==null?void 0:Fe.params);be(Le),Pe(Le.choices)}},[(fe=de==null?void 0:de.actionTabs)==null?void 0:fe.key]);const _e=()=>z(void 0,null,function*(){var Oe;if(!ve.some(Fe=>Fe==null?void 0:Fe.checked)){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}if(Ee){const Fe=(0,ce.cloneDeep)((Oe=de==null?void 0:de.actionTabs)==null?void 0:Oe.params);Pe(Fe.choices)}Ae(!Ee)}),we=(Oe,Fe)=>{console.log(Oe.target.checked);const Le=ve.map((Ye,He)=>ee(b({},Ye),{checked:He===Fe?Oe.target.checked:!1}));Pe(Le)},Me=()=>{be({}),Pe([]),Ae(!1),ge({type:"problemset/setActionTabs",payload:{}})};return se.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:de.actionTabs.key==="SINGLE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:Ee?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:708,onOk:_e,onCancel:Me},se.createElement("div",null,se.createElement("div",{className:"c-light-primary mb5 font16"},"\u5355\u9009\u9898"),se.createElement(ue.Z,{value:me==null?void 0:me.name}),ve==null?void 0:ve.map((Oe,Fe)=>{const{is_answer:Le,checked:Ye,choice_text:He}=Oe;let Ge="";return Ee&&Le&&(Ge=ie.Z.green),Ee&&!Le&&Ye&&(Ge=ie.Z.red),se.createElement("div",{key:Fe,style:{pointerEvents:Ee?"none":"auto"},className:`${ie.Z.row} ${Ge}`},se.createElement(he.ZP,{onChange:Ke=>we(Ke,Fe),checked:Ye}),se.createElement("span",null,Ce[Fe],".\xA0"),se.createElement(ue.Z,{className:ie.Z.html,value:He}),Ee&&Le&&se.createElement("span",{style:{paddingTop:4},className:"iconfont icon-duigou1 font16"}),Ee&&!Le&&Ye&&se.createElement("span",{style:{fontWeight:600,paddingTop:5},className:"iconfont icon-guanbi font16"}))}),Ee&&se.createElement(ye.Fragment,null,se.createElement("div",{className:ie.Z.line}),se.createElement("div",{className:"c-grey-333 mb5"},se.createElement("b",null,"\u6B63\u786E\u7B54\u6848:\xA0"),Ce[ve.findIndex(Oe=>Oe.is_answer)]),se.createElement("div",{className:"c-grey-333 mb10"},se.createElement("b",null,"\u89E3\u6790:\xA0"),(me==null?void 0:me.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:de})=>({problemset:de}))(le)},35503:function(ct,ot,Se){"use strict";var ye=Se(59301),je=Se(24459),E=Se(8591),pe=Se(43418),he=Se(89392),ce=Se.n(he),oe=Se(43219),ie=Se(99325),ue=Se(64726),se=Se(59301),ae=(ne,te,a)=>new Promise((y,x)=>{var b=le=>{try{z(a.next(le))}catch(de){x(de)}},ee=le=>{try{z(a.throw(le))}catch(de){x(de)}},z=le=>le.done?y(le.value):Promise.resolve(le.value).then(b,ee);z((a=a.apply(ne,te)).next())});const re=({problemset:ne,dispatch:te})=>{var a,y,x,b,ee;const[z,le]=(0,ye.useState)({}),[de,ge]=(0,ye.useState)(!1),[fe,me]=(0,ye.useState)(!0),[be,ve]=(0,ye.useState)("");(0,ye.useEffect)(()=>{var Ae,Ce;if(((Ae=ne==null?void 0:ne.actionTabs)==null?void 0:Ae.key)==="SUBJECTIVE"){const _e=(0,he.cloneDeep)((Ce=ne==null?void 0:ne.actionTabs)==null?void 0:Ce.params);le(_e)}},[(a=ne==null?void 0:ne.actionTabs)==null?void 0:a.key]);const Pe=()=>ae(void 0,null,function*(){if(!be){E.ZP.warning("\u8BF7\u60A8\u4F5C\u7B54\u540E\u518D\u63D0\u4EA4");return}de&&ve(""),ge(!de)}),Ee=()=>{le({}),me(!0),ge(!1),ve(""),te({type:"problemset/setActionTabs",payload:{}})};return console.log("----",de),se.createElement(pe.default,{centered:!0,destroyOnClose:!0,open:ne.actionTabs.key==="SUBJECTIVE",title:"\u8BD5\u9898\u4F53\u9A8C",okText:de?"\u91CD\u65B0\u7B54\u9898":"\u63D0\u4EA4\u7B54\u6848",cancelText:"\u53D6\u6D88",width:800,onOk:Pe,bodyStyle:{maxHeight:600,overflow:"auto"},onCancel:Ee},se.createElement("div",null,se.createElement("div",{className:"c-light-primary mb5 font16"},"\u7B80\u7B54\u9898"),se.createElement(ie.Z,{value:z==null?void 0:z.name,style:{marginBottom:10,color:"#5f6368"}}),fe?se.createElement("div",{style:{border:"1px solid #f1f1f1",padding:10},onClick:()=>{me(!1)}}," \u70B9\u51FB\u5F00\u59CB\u4F5C\u7B54"):se.createElement(ue.Z,{height:160,defaultValue:be,onChange:Ae=>{ve(Ae)}}),de&&se.createElement(ye.Fragment,null,se.createElement("div",{className:oe.Z.line}),se.createElement("span",{style:{color:"#5F6368"}},"\u53C2\u8003\u7B54\u6848\uFF1A"),se.createElement("div",{style:{marginTop:10}},((y=z==null?void 0:z.answer_texts)==null?void 0:y[0])||"\u6682\u65E0\u53C2\u8003\u7B54\u6848"),((x=z==null?void 0:z.keywords)==null?void 0:x.length)>0&&se.createElement("div",{style:{marginTop:10,marginBottom:10}},se.createElement("span",{style:{color:"#5F6368"}},"\u5173\u952E\u8BCD\uFF1A"),(b=z==null?void 0:z.keywords)==null?void 0:b.map(Ae=>{var Ce,_e,we;return((Ce=Ae==null?void 0:Ae.keyword)==null?void 0:Ce.length)>1?((_e=Ae==null?void 0:Ae.keyword)==null?void 0:_e.join("\u6216"))+"\uFF1B":((we=Ae==null?void 0:Ae.keyword)==null?void 0:we[0])+"\uFF1B"})),se.createElement("div",{style:{color:"#5F6368",marginTop:((ee=z==null?void 0:z.keywords)==null?void 0:ee.length)<=0?20:10}},se.createElement("b",null,"\u89E3\u6790:")),se.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(z==null?void 0:z.analysis)||"\u6682\u65E0\u89E3\u6790"))))};ot.Z=(0,je.connect)(({problemset:ne})=>({problemset:ne}))(re)},96401:function(ct,ot,Se){"use strict";Se.d(ot,{N:function(){return z},Z:function(){return le}});var ye=Se(59301),je=Se(99325),E=Se(5112),pe=Se(6848),he=Se(95237),ce=Se(43604),oe=Se(24905),ie=Se(20834),ue=Se(38854),se={flex_box_center:"flex_box_center___K3pXk",flex_space_between:"flex_space_between___JNXiy",flex_box_vertical_center:"flex_box_vertical_center___lX_K7",flex_box_center_end:"flex_box_center_end___ESJAL",flex_box_column:"flex_box_column___nMTYm",line:"line___cNtUM",b1:"b1___xIRxk",b2:"b2___N5uit",list:"list___SBMGo",title:"title___zQP91",tr:"tr___uaxLL",itemDetail:"itemDetail___Ye51x",answerWrapper:"answerWrapper___WJAPa",decoration:"decoration___fOLFB",row:"row___FvSRM",typeRow:"typeRow___qpDsw",type:"type___a8Bs6",typeName:"typeName___EfvMr",typeIcon:"typeIcon___XnhBc",unpublished:"unpublished___h3A34",private:"private___Ok_kP",public:"public___V5_HF",reviewFlag:"reviewFlag___MWDMc",typeRightAction:"typeRightAction___zwJ4e",actionLink:"actionLink___XxdsL",actionIcon:"actionIcon___YoZs8",topicTitle:"topicTitle___TXfB_",topicTitleContent:"topicTitleContent___MceUW",judgmentContent:"judgmentContent___Adte7",programContent:"programContent___R8AFa",otherContent:"otherContent___CNAVC",combinationContent:"combinationContent___NWKpD",con:"con___MJkTE",otherContentItem:"otherContentItem___sXGMT",otehrContentHtml:"otehrContentHtml___MKkjT",difficultyRow:"difficultyRow___E6YVK",updateTimeRow:"updateTimeRow___MPFJY",updateTimeWrap:"updateTimeWrap___iIz5W",updateTimeContent:"updateTimeContent___CpqJg",programLanguage:"programLanguage___lku0d",updateTimeRowAction:"updateTimeRowAction___Y6grB",bottomAction:"bottomAction___sQwM3",borderColorBlue:"borderColorBlue___vZe0j",borderColorRed:"borderColorRed___GPm9E",borderColorFFF:"borderColorFFF___izaeA",borderColorGray:"borderColorGray___WdIyN",selectIcon:"selectIcon___I35Ch",colorGreen:"colorGreen___yFw84",parseAnswerBorder:"parseAnswerBorder___tmhXi",answer:"answer___c9YYj",answerHtml:"answerHtml___sp4Xx",parse:"parse___Lif5r",parseText:"parseText___KMhnK",parseAnswer:"parseAnswer___aFs0o",parseAnswerHtml:"parseAnswerHtml___AfP6o",actionBar:"actionBar___Q6e1E",know:"know___EtJbV",menu:"menu___ODbWA",bottom:"bottom___yLg8j",textBtn:"textBtn___p8TrW"},ae=Se(73898),re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACMgAAAA6CAYAAABPwffJAAAAAXNSR0IArs4c6QAAH35JREFUeF7t3Q2MZWV9x/H/c849d17uzL6y7K4M76xLNIAKoiBQak0oRgsiYKyxUEq0LwZLYmqa0hqtpi8xodam1daKRFtbRITYBmlspRBBAXmRaHddsCyO7Bsssztzd2buveec5jl37jC7bN155l7OL7P3ewmZfTnn+Z37+f9nsjn3n+c4W8JrfHx8bGam9ZfNZutif3q1Wrl3YKDyB2NjY+NLWC74FHV+8AVzQlcC6nqr87vC4+RgAXW91fnBYJyAAAIIIIAAAggggAACCCCAAAIIIIAAAggggAACpr6/r86nBcoVUNdbnV+uNmnqevcy34WW84knto0513giz22NWef03P9qb27Vs846a9MrOiSjzg/14vjuBNT1Vud3p8fZoQLqeqvzQ704HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBMzU9/fV+fRAuQLqeqvzy9UmTV3vXucHD8g88shj/2zm3ttoNOa7wZmzJEnMnPvqOeec9euvZJuo81/J98baLxdQ11udT0+UK6Cutzq/XG3SEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBA4OgTU9/fV+UdHFZfPu1DXW52/fCp1dFyput69zg8ekLnvvu8+l+e28XDldM52XHTRW171SpZanf9KvjfWfrmAut7qfHqiXAF1vdX55WqThgACCCCAAAIIIIAAAggggAACCCCAAAIIIIDA0SGgvr+vzj86qrh83oW63ur85VOpo+NK1fXudX7wgMy3v31vnue5NZtNc84sz9sPWkqq1aLCb3vbxcFrhrSGOj/kWjm2ewF1vdX53QuyQoiAut7q/BArjkUAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAIG2gPr+vjqfPihXQF1vdX652qSp693r/OBhlrvu+ve8PRiTmx+N6QzJtFsjt8sue0fwmiFtpc4PuVaO7V5AXW91fveCrBAioK63Oj/EimMRQAABBBBAAAEEEEAAAQQQQAABBBBAAAEEEECgLaC+v6/Opw/KFVDXW51frjZp6nr3Oj94mOX22+/0kzHWbDaK3WP8yw/JJElSDMxceeXlwWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWW2/9Smcsptgx5qVdZNq/vuaa9wWvGdJW6vyQa+XY7gXU9Vbndy/ICiEC6nqr80OsOBYBBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQTaAur7++p8+qBcAXW91fnlapOmrnev84OHWb7whVvyZrN5UCf4xy055yxJqnb99dcGrxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBA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AAQTaAur7++p8+qBcAXW91fnlapOmrnev84OHWa644sp8fsuY+X7obCrj7I47bg9eM6St1Pkh18qx3Quo663O716QFUIE1PVW54dYcSwCCCCAAAIIIIAAAggggAACCCCAAAIIIIAAAgi0BdT399X59EG5Aup6q/PL1SZNXe9e5wcPs7zjHb+Wt1rNYseY9is359z8DjLf/OZdwWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWSy65NG82m0UnNJuN4muSJMVX/4ilb33r7uA1Q9pKnR9yrRzbvYC63ur87gVZIURAXW91fogVxyKAAAIIIIAAAggggAACCCCAAAIIIIAAAggggEBbQH1/X51PH5QroK63Or9cbdLU9e51fvAwy4UXXpT73WP8kIxzZv43fgeZJKkWu8ncf/99wWuGtJU6P+RaObZ7AXW91fndC7JCiIC63ur8ECuORQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEEAAgbaA+v6+Op8+KFdAXW91frnapKnr3ev84GGWN73pzXmr1SoGYzo7yfgdZPyQTKVSse9//3vBa4a0lTo/5Fo5tnsBdb3V+d0LskKIgLre6vwQK45FAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQACBtoD6/r46nz4oV0Bdb3V+udqkqevd6/zgYZazzz4nbzQaxXBMsXuM74liB5mk2EXm0UcfCV4zpK3U+SHXyrHdC6jrrc7vXpAVQgTU9Vbnh1hxLAIIIIAAAggggAACCCCAAAIIIIAAAggggAACCLQF1Pf31fn0QbkC6nqr88vVJk1d717nBw+zbN58et7ZOabZbPjpGKtWE/OPXapWq7Zly/8ErxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/ODh1lOOeXUYkCmMyRjls8Px/gBmaeffip4zZC2UueHXCvHdi+grrc6v3tBVggRUNdbnR9ixbEIIIAAAggggAACCCCAAAIIIIAAAggggAACCCDQFlDf31fn0wflCqjrrc4vV5s0db17nR88zOIv4MCBujUafkimYa7zeKVKYsO1mv30p08HrxnSVur8kGvl2O4F1PVW53cvyAohAup6q/NDrDgWAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEE2gLq+/vqfPqgXAF1vdX55WqTpq53r/MXNcyS57m75557Vq9atfbCq656951+95h6fWp+F5kkqVqtVrMkSexrX/v65RMTL9x/ySWXvOicy3vRMur8XrwH1li8gLre6vzFS3FkLwTU9Vbn98KQNRBAAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQ6DcB9f19dX6/1Vv9ftX1Vuer/fstX13vVzL//x2Q8aG+0HfffXd1zbp1v3rssSe8rzay4opzXrc5rtfr1mo1bWpqqthBZnh42DpDMo88vjWtT+2/Y/fuZ/9p754937r00ksbfp3QYRl1fr81ufr9quutzlf791u+ut7q/H6rN+8XAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAAIFeCKjv76vze2HIGosXUNdbnb94KY7shYC63mXlH3ZAphN+7733Dqw5ZsONGzae9Ie55aMe9o2vP714tJIfkvE7yZi5YueYzg4yDz+2pfB35iZ37njmz/ZPPP+5Cy64YKL4s0XuKKPO70UDscbiBdT1VucvXoojeyGgrrc6vxeGrIEAAggggAACCCCAAAIIIIAAAggggAACCCCAQL8JqO/vq/P7rd7q96uutzpf7d9v+ep6l5n/sgGZuXD34IMPrhpZsfrP12886beyLI98Ezhndv65ZxSDMX5Ixn/NcysGZKrVavH1gYeeLP7Mv6LIZbuf2/7Fycm9N5x33nmzZpYfaUhGnd9vza5+v+p6q/PV/v2Wr663Or/f6s37RQABBBBAAAEEEEAAAQQQQAABBBBAAAEEEECgFwLq+/vq/F4YssbiBdT1VucvXoojeyGgrnfZ+QcNyCwIHxhdufbGdRtO+NPcD8f4o+amXi6+4Ozi8UqNRntAxr/845Wq1aT4+p37H2nXwU/T5GYuctmenc/+8eS+F24+0pCMOr8XDcQaixdQ11udv3gpjuyFgLre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jk+NyTjF/Avv4gk/9BHPfVb85f9fuk31+n5sun7Mo9+o9/6svF50wgggAACCCCAAAIIIIAAAggggAACCCCAAAJdCfD5Ap8vdNVAgSfTb/RbYMt0dXjf99vC6Zz77ntw8+mvOesbae5OzX0fZpnd/q9ftqmpSZua2metZtOeeeZZm56ents1xhWPW2rvIONscHDQTjrpBKskiY2MrLSRkVG78j3v989XMpc7i13+9JYfP/Guiy46b2tnF5m56hW71yjyGZDp6vsn+GT6jR/wwU3TxQn0G/3WRftwKgIIIIAAAggggAACCCCAAAIIIIAAAggggECfCvD5Ap8vlNn69Bv9Rr+VN5/S2UEmesYs2fPw4284/uTN/2FZXsssszxzdvttXzLnnL3w/K5iGGbHjp02NVW3RmN2buMXX67cqtWqjYyM2MaNG4rdY9asPbb483dfda25KLfIIrPI1Z956keXbHjzOT84ycxvQZN1BmRU+QzIlPntZr6H/DgV/VYue9+m0W/8g6Jvm583jgACCCCAAAIIIIAAAggggAACCCCAAAIIILBkAT5f4POFJTfPEk6k3+i3JbTNkk/p+36bA4jHxy3Z/txD55x2ypl3Z3lWy/PMbyBjd//bbRZFse3e9VzxmKVWq1XsIpOmaTEw419+gMYPxZx88olWqVSK36/fcFxxzNvfebXfQMaciyxyUX3rTx59+yknnP/w2FgxIJPOVU6Wz4DMkr93lnQi/cYP+CU1zhJPot/otyW2DqchgAACCCCAAAIIIIAAAggggAACCCCAAAII9LEAny/w+UKZ7U+/0W/0W3nzKZ0dZCo7dlgyPv74a4874dW35VF+kmX+8Umpfe+737FGs1HsINOYnSlq44dkdu7cbfV6vRiGGR4etg0bjrU4jou/HxgcsrXHrLdqUrU3v+WXzbnYLMrNZe6Znz/7k6vHxl73o40biwGZ1lyxZfkMyJT57Ta/g4ys3vRbufVWp839g4J+UxeCfAQQQAABBBBAAAEEEEAAAQQQQAABBBBAAAEElpEAny8wsFBmu9Jv9Bv9Vt58ih+Qicws3rXLqnv2bD111THHfi6Kquf53WP8DjH/+/SWYjhmdna6+LqY19q16606M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Of9mAjJefuwj/y84jl6LOr8fHLYpjc1FU/N38K8ssT1PLx8Ze2ilm4a4xxWLO+R1kjvhS5x/xAjmgpwLqeqvze4rJYkcUUNdbnX9EIA5AAAEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQACBlwmo7++r82mJcgXU9Vbnl6tNmrreZeYfdkDGt8CCi/C/7QzKHPrrQ7uleITS3B8u/PWih2M6C6rz+TYoV0Bdb3V+udqkqeutzqcDEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBBBAIFxAfX9fnR8uxhndCKjrrc7vxo5zwwXU9S4r//8dkFlIdsjFdP7q0HNftjvMYneMOVJ51PlHuj7+vrcC6nqr83uryWpHElDXW51/JB/+HgEEEEAAAQQQQAABBBBAAAEEEEAAAQQQQAABBF4uoL6/r86nJ8oVUNdbnV+uNmnqer+S+f8HabRiLm3R4IUAAAAASUVORK5CYII=",ne=Se(24334),te=Se(72714),a=Se(88230),y=Se(50484);const x=["A\uFF0E","B\uFF0E","C\uFF0E","D\uFF0E","E\uFF0E","F\uFF0E","G\uFF0E","H\uFF0E","I\uFF0E","J\uFF0E","K\uFF0E","L\uFF0E","M\uFF0E","N\uFF0E","O\uFF0E","P\uFF0E","Q\uFF0E","R\uFF0E","S\uFF0E","T\uFF0E","U\uFF0E","V\uFF0E","W\uFF0E","X\uFF0E","Y\uFF0E","Z\uFF0E"],b=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],ee=({data:de,selectIds:ge,onSelectCheckBox:fe=()=>{},showCheckbox:me=!0})=>{var be,ve,Pe;const[Ee,Ae]=(0,ye.useState)(!1),Ce=()=>{var Oe,Fe;return de.item_type==="JUDGMENT"?ye.createElement("div",{className:se.judgmentContent},de.choices.map((Le,Ye)=>ye.createElement(E.ZP,{key:Ye,disabled:!0},Le.choice_text))):de.item_type==="PROGRAM"?ye.createElement("div",{className:se.programContent},ye.createElement(je.Z,{value:(Oe=de.program_attr)==null?void 0:Oe.description})):de.item_type==="COMBINATION"?ye.createElement("div",{className:se.combinationContent},(Fe=de==null?void 0:de.sub_item_banks)==null?void 0:Fe.map((Le,Ye)=>{var He,Ge,Ke,ze,ke,Ne;const Ve=`(\u9898\u76EE${Ye+1}-${(Le==null?void 0:Le.item_type)=="SINGLE"?"\u5355\u9009\u9898":(Le==null?void 0:Le.item_type)=="MULTIPLE"?"\u591A\u9009\u9898":(Le==null?void 0:Le.item_type)=="COMPLETION"?"\u586B\u7A7A\u9898":(Le==null?void 0:Le.item_type)=="JUDGMENT"?"\u5224\u65AD\u9898":"\u7B80\u7B54\u9898"}) `;return ye.createElement(ye.Fragment,null,ye.createElement("div",{style:{marginTop:10,marginBottom:10}},ye.createElement(je.Z,{value:Ve+Le.name})),((Le==null?void 0:Le.item_type)=="SINGLE"||(Le==null?void 0:Le.item_type)=="MULTIPLE")&&Le.choices.map((qe,rt)=>ye.createElement("div",{key:rt,className:se.otherContentItem},ye.createElement("p",null,x[rt]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:qe.choice_text}))),(Le==null?void 0:Le.item_type)=="JUDGMENT"&&ye.createElement("div",{style:{display:"flex",marginBottom:10}},Le.choices.map((qe,rt)=>ye.createElement(E.ZP,{key:rt,disabled:!0},qe.choice_text))),ye.createElement("div",{className:se.con},(Le==null?void 0:Le.item_type)=="SINGLE"&&ye.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",b==null?void 0:b[(He=Le==null?void 0:Le.choices)==null?void 0:He.findIndex(qe=>qe==null?void 0:qe.is_answer)]," "),(Le==null?void 0:Le.item_type)=="COMPLETION"&&((Ge=Le==null?void 0:Le.standard_answer)==null?void 0:Ge.map((qe,rt)=>{var Qe;return ye.createElement("div",{key:rt,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${qe.position}\uFF09\uFF1A${(Qe=qe==null?void 0:qe.answer_text)==null?void 0:Qe.join("\u3001")}`)})),(Le==null?void 0:Le.item_type)=="MULTIPLE"&&ye.createElement("b",{className:"c-grey-333 font14"}," \u7B54\u6848\uFF1A",(Ke=Le==null?void 0:Le.choices)==null?void 0:Ke.map((qe,rt)=>{if(qe!=null&&qe.is_answer)return(b==null?void 0:b[rt])+" "})," "),(Le==null?void 0:Le.item_type)=="JUDGMENT"&&ye.createElement("div",null,"\u7B54\u6848\uFF1A",(ke=(ze=Le==null?void 0:Le.choices)==null?void 0:ze.find(qe=>qe.is_answer))==null?void 0:ke.choice_text),(Le==null?void 0:Le.item_type)=="SUBJECTIVE"&&ye.createElement("div",null,"\u7B54\u6848\uFF1A",(Ne=Le==null?void 0:Le.answer_texts)==null?void 0:Ne[0]),ye.createElement("div",null,ye.createElement("span",null,"\u89E3\u6790\uFF1A"),ye.createElement(je.Z,{className:se.parseAnswerHtml,value:Le.analysis||"\u6682\u65E0\u89E3\u6790"})),ye.createElement("div",null,ye.createElement("span",null,"\u77E5\u8BC6\u70B9\uFF1A"),ye.createElement(pe.Z,{title:(de==null?void 0:de.tag_discipline)||"--"},ye.createElement("span",{style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(de==null?void 0:de.tag_discipline)||"--")))))})):ye.createElement("div",{className:se.otherContent},de.choices.map((Le,Ye)=>ye.createElement("div",{key:Ye,className:se.otherContentItem},ye.createElement("p",null,x[Ye]),ye.createElement(je.Z,{className:se.otehrContentHtml,value:Le.choice_text}))))},_e=()=>{var Oe;if((de==null?void 0:de.item_type)!=="BPROGRAM")return ye.createElement("div",null,(Oe=de.standard_answer)==null?void 0:Oe.map((Fe,Le)=>{var Ye,He;return ye.createElement("div",{key:Le,className:se.answerHtml},(Fe==null?void 0:Fe.model)===1?`\u7B54\u6848\uFF08\u586B\u7A7A${Fe.position}\uFF09\uFF1A${(Ye=Fe==null?void 0:Fe.answer_text)==null?void 0:Ye.join("\u3001")}`:ye.createElement("div",{style:{display:"flex",alignItems:"center"}},ye.createElement("span",{style:{minWidth:110}},"\u7B54\u6848\uFF08\u586B\u7A7A",Fe.position,"\uFF09\uFF1A"),ye.createElement(te.Z,{value:(He=Fe==null?void 0:Fe.answer_text)==null?void 0:He.join("\u3001"),readOnly:!0})))}))},we=()=>{var Oe,Fe,Le,Ye,He,Ge;const Ke={SUBJECTIVE:(Oe=de.answer_texts)==null?void 0:Oe[0],JUDGMENT:(Le=(Fe=de.choices)==null?void 0:Fe.find(Ue=>Ue.is_answer))==null?void 0:Le.choice_text},ze=de.choices.map(Ue=>Ue.is_answer).findIndex(Ue=>Ue),ke=ze>-1?b[ze]:"";let Ne="";de.choices.map((Ue,Be)=>{Ue.is_answer&&(Ne+=b[Be])});const Ve=Ke[de.item_type];let qe=((Ye=de==null?void 0:de.program_attr)==null?void 0:Ye.code)||"";try{qe=ne.Base64.decode(((He=de==null?void 0:de.program_attr)==null?void 0:He.code)||"")}catch(Ue){}const rt={SINGLE:ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`\u7B54\u6848\uFF1A${ke||"\u65E0"}`}))),MULTIPLE:ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`\u7B54\u6848\uFF1A${Ne||"\u65E0"}`}))),COMPLETION:_e(),BPROGRAM:ye.createElement("div",null,ye.createElement(je.Z,{className:se.answerHtml,showProgramFill:!0,value:qe}),(Ge=de.standard_answer)==null?void 0:Ge.map((Ue,Be)=>ye.createElement("div",{key:Be,className:se.answerHtml},`\u7B54\u6848\uFF08\u586B\u7A7A${Ue.position}\uFF09\uFF1A${Ue==null?void 0:Ue.answer_text}`)))},Qe=ye.createElement(he.Z,null,ye.createElement(ce.Z,{className:"mt3"},"\u7B54\u6848\uFF1A"),ye.createElement(ce.Z,{flex:1},ye.createElement(je.Z,{className:se.answerHtml,value:`${Ve||"\u65E0"}`})));return rt[de.item_type]||Qe},Me=Oe=>{let Fe=[...ge];Oe.target.checked?Fe.push(de.id):Fe=Fe.filter(Le=>Le!==de.id),fe(Fe)};return ye.createElement("div",{className:se.itemWrap},ye.createElement("div",{className:se.list},me&&ye.createElement(oe.default,{className:"mr10",onChange:Me,checked:ge.includes(de.id)}),ye.createElement("div",{onClick:()=>Ae(!Ee),className:se.title},ye.createElement(je.Z,{key:1,showLines:1,showTextOnly:!0,className:se.topicTitleContent,value:(de==null?void 0:de.item_type)==="BPROGRAM"?(be=de==null?void 0:de.program_attr)==null?void 0:be.description:de.name})),ye.createElement("div",{onClick:()=>Ae(!Ee),className:se.tr},ye.createElement("i",{style:{transform:Ee?"scale(0.5) rotate(-180deg)":"scale(0.5) rotate(0deg)"},className:"iconfont icon-zhankai4"}))),ye.createElement("aside",{style:Ee?{display:"block"}:{display:"none"},className:se.itemDetail},ye.createElement("div",{style:{marginBottom:44}},ye.createElement(je.Z,{key:2,className:se.topicTitleContent,value:(de==null?void 0:de.item_type)==="BPROGRAM"?(ve=de==null?void 0:de.program_attr)==null?void 0:ve.description:de.name}),ye.createElement("div",{className:`${se.row} mt15`},Ce()),ye.createElement("div",{className:se.row},ye.createElement("div",{className:se.updateTimeRow},ye.createElement("div",{className:se.updateTimeWrap},de.item_type==="PROGRAM"&&ye.createElement("p",{className:se.programLanguage},"\u7F16\u7A0B\u8BED\u8A00\uFF1A",(Pe=de==null?void 0:de.languages)==null?void 0:Pe.join("/")))))),de.item_type!=="COMBINATION"&&ye.createElement("div",{className:se.answerWrapper},ye.createElement("img",{src:re,alt:"",className:se.decoration}),ye.createElement("div",{className:se.answer},we()),ye.createElement("div",{className:se.parse},ye.createElement("div",{className:se.parseText},"\u89E3\u6790\uFF1A"),ye.createElement("div",{className:se.parseAnswer},de.analysis?ye.createElement(je.Z,{className:se.parseAnswerHtml,value:de.analysis}):"\u6682\u65E0\u89E3\u6790")),ye.createElement("div",{className:se.parse},ye.createElement("div",{className:se.parseText},"\u77E5\u8BC6\u70B9\uFF1A"),ye.createElement(pe.Z,{title:(de==null?void 0:de.tag_discipline)||"--"},ye.createElement("div",{className:se.parseAnswer,style:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}},(de==null?void 0:de.tag_discipline)||"--"))))))},z=({SubjectShare:de,isProblemset:ge,data:fe,user:me,page:be,activeTabsKey:ve,onPublicReview:Pe=()=>{},onStartExperience:Ee=()=>{},onSetPrivate:Ae=()=>{},onCorrection:Ce=()=>{},onChangeTag:_e=()=>{},onCollect:we=()=>{},onSetPublic:Me=()=>{},onDelete:Oe=()=>{},onCancel:Fe=()=>{},onSelect:Le=()=>{},onMoveTo:Ye=()=>{},addProblemset:He=()=>{},onSetShare:Ge=()=>{},onCancelShare:Ke=()=>{},onPublish:ze=()=>{},onCancelPublish:ke=()=>{}})=>{var Ne,Ve,qe,rt,Qe,Ue,Be,Ze,Te,We,at,et,Je,Ie,xe;const De=fe.item_type==="PROGRAM"?`/problems/newedit/${(Ne=fe.program_attr)==null?void 0:Ne.identifier}?tabs_key=${ve}&page=${be}`:fe.item_type==="BPROGRAM"?`/problemset/edit/${(Ve=fe.program_attr)==null?void 0:Ve.identifier}?type=1&tabs_key=${ve}&page=${be}`:`/problemset/edit/${fe.id}?tabs_key=${ve}&page=${be}`,Re=ve==="0"&&!fe.public&&!fe.apply&&(fe.item_type==="PROGRAM"&&((qe=fe.program_attr)==null?void 0:qe.status)!==0||fe.item_type!=="PROGRAM"),Xe=[{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{y.Z.publish("model-change-problem",fe)}},"\u4EE5\u9898\u6362\u9898"),key:"14",show:(0,ae.$O)()&&["SINGLE","MULTIPLE","JUDGMENT","COMPLETION","SUBJECTIVE"].includes(fe.item_type)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{var st;return ke((st=fe==null?void 0:fe.program_attr)==null?void 0:st.identifier)}},"\u64A4\u9500\u53D1\u5E03"),key:"0",show:(ve==="0"||ve==="3")&&fe.item_type==="PROGRAM"&&((rt=fe.program_attr)==null?void 0:rt.status)!==0&&!fe.public&&((Qe=fe.author)==null?void 0:Qe.login)===((Ue=me.userInfo)==null?void 0:Ue.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Ye(fe.id)},"\u79FB\u52A8\u5230"),key:"1",show:ve==="0"},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{fe.is_share?Ke(fe.id):Ge(fe.id)}},"\u5171\u4EAB"),key:"3",show:ve==="0"&&de},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Me(fe)},"\u516C\u5F00"),key:"4",show:Re},{label:ye.createElement("a",{className:se.reviewFlag,onClick:Pe},"\u516C\u5F00\u5BA1\u6838\u4E2D"),key:"5",show:ve==="0"&&!fe.public&&fe.apply&&(fe.item_type==="PROGRAM"&&fe.program_attr.status!==0||fe.item_type!=="PROGRAM")},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Ae(fe.id)},"\u64A4\u9500\u516C\u5F00"),key:"6",show:(ve==="0"||ve==="1")&&fe.public&&((Be=fe.author)==null?void 0:Be.login)===((Ze=me.userInfo)==null?void 0:Ze.login)||ve==="1"&&(0,ae.ag)()},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>we(fe.id,fe.is_collected)},"\u53D6\u6D88\u6536\u85CF"),key:"7",show:ve==="2"},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>{var st;return ze((st=fe==null?void 0:fe.program_attr)==null?void 0:st.identifier)}},"\u53D1\u5E03"),key:"8",show:(ve==="0"||ve==="3")&&fe.item_type==="PROGRAM"&&((Te=fe.program_attr)==null?void 0:Te.status)===0&&!fe.public&&((We=fe.author)==null?void 0:We.login)===((at=me.userInfo)==null?void 0:at.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>we(fe.id,fe.is_collected)},fe.is_collected?"\u53D6\u6D88\u6536\u85CF":"\u6536\u85CF"),key:"9",show:(ve==="1"||ve==="3")&&!(0,ae.ag)()&&!(0,ae.JA)()&&((et=fe.author)==null?void 0:et.login)!==((Je=me.userInfo)==null?void 0:Je.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Ce(fe.id)},"\u7EA0\u9519"),key:"10",show:ve!=="0"&&!(0,ae.ag)()&&!(0,ae.JA)()},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>_e(fe)},"\u4FEE\u6539\u77E5\u8BC6\u70B9"),key:"15",show:ve==="0"||ve==="3"&&(fe==null?void 0:fe.edit_item_bank)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>Oe(fe.id)},"\u5220\u9664"),key:"11",show:ve==="0"&&!fe.public||ve==="1"&&(0,ae.ag)()&&((Ie=fe.author)==null?void 0:Ie.login)!==((xe=me.userInfo)==null?void 0:xe.login)},{label:ye.createElement("a",{className:se.actionLink,onClick:()=>He(fe.id)},"\u52A0\u5165\u6211\u7684\u9898\u5E93"),key:"12",show:ve==="1"||ve==="3"}].filter(st=>st.show),nt=ye.createElement(ie.default,{forceSubMenuRender:!0,className:se.menu,items:Xe}),$e=ye.createElement(ie.default,{forceSubMenuRender:!0,className:se.menu},ye.createElement(ie.default.Item,{key:"10"},ye.createElement("a",{className:se.actionLink,onClick:()=>Ce(fe.id)},"\u7EA0\u9519"))),tt=ve!=="0"&&!(0,ae.ag)()&&!(0,ae.JA)();return ye.createElement(ye.Fragment,null,ge?ye.createElement(ye.Fragment,null,(ve==="0"||ve==="3"&&(fe==null?void 0:fe.edit_item_bank))&&!fe.public&&ye.createElement("span",{className:se.textBtn,style:{cursor:"pointer"},onClick:()=>{(0,a.xg)(De);const st=document.getElementById(fe.id),it=window.pageYOffset||document.documentElement.scrollTop;localStorage.setItem("problemsetid",st.getBoundingClientRect().top+it+"")}},ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})),ye.createElement("i",{className:"iconfont icon-bianji10 font14 mr5"}),"\u7F16\u8F91"),ye.createElement("span",{className:se.textBtn,style:{cursor:"pointer"},onClick:()=>Ee(fe)},ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})),ye.createElement("i",{className:"iconfont icon-tiyan font14 mr5"}),"\u4F53\u9A8C",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2}))),Xe.length>0&&ye.createElement(ue.Z,{dropdownRender:()=>nt},ye.createElement("span",{style:{cursor:"default",width:"105px"},onClick:st=>st.preventDefault()},ye.createElement("span",{className:se.textBtn},ye.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2})))))):tt?ye.createElement(ue.Z,{className:"ml40",dropdownRender:()=>$e},ye.createElement("span",{style:{cursor:"default",width:"105px"},onClick:st=>st.preventDefault()},ye.createElement("span",{className:se.textBtn},ye.createElement("i",{className:"iconfont icon-gengduo5 font14 mr5"}),"\u66F4\u591A",ye.createElement("div",{className:se.line},ye.createElement("b",{className:se.b1}),ye.createElement("b",{className:se.b2}))))):ye.createElement("span",null))};var le=ee},70037:function(ct,ot,Se){"use strict";Se.d(ot,{Im:function(){return ve},ZP:function(){return we},gZ:function(){return Ce}});var ye=Se(59301),je=Se(92832),E=Se(3113),pe=Se(84105),he=Se(87395),ce=Se(86723),oe=Se(24334),ie=Se(7651),ue=Se(99325),se=Se(88230),ae=Se(75618),re=Se(34376),ne=Se(92310),te=Se.n(ne),a=Se(59301),y=Object.defineProperty,x=Object.defineProperties,b=Object.getOwnPropertyDescriptors,ee=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,le=Object.prototype.propertyIsEnumerable,de=(Me,Oe,Fe)=>Oe in Me?y(Me,Oe,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):Me[Oe]=Fe,ge=(Me,Oe)=>{for(var Fe in Oe||(Oe={}))z.call(Oe,Fe)&&de(Me,Fe,Oe[Fe]);if(ee)for(var Fe of ee(Oe))le.call(Oe,Fe)&&de(Me,Fe,Oe[Fe]);return Me},fe=(Me,Oe)=>x(Me,b(Oe));const{TextArea:me}=je.default,be={visible:!1,tabIndex:"0"},ve={[ce.h.HIDE_COMPILE_STATUS]:"\u6682\u4E0D\u652F\u6301\u67E5\u770B",[ce.h.NOMATCH]:"\u6D4B\u8BD5\u7528\u4F8B\u7ED3\u679C\u4E0D\u5339\u914D",[ce.h.OK]:"\u8C03\u8BD5\u901A\u8FC7",2:"\u8C03\u8BD5\u8D85\u65F6",3:"\u8C03\u8BD5pod\u5931\u8D25",4:"\u7F16\u8BD1\u5931\u8D25",5:"\u6267\u884C\u5931\u8D25"};var Pe=(Me=>(Me[Me.SET_VISIBLE=0]="SET_VISIBLE",Me[Me.SET_TABINDEX=1]="SET_TABINDEX",Me))(Pe||{});function Ee(Me,Oe){switch(Oe.type){case 0:return fe(ge({},Me),{visible:Oe.payload});case 1:return fe(ge({},Me),{tabIndex:Oe.payload});default:throw new Error}}function Ae({value:Me,className:Oe}){const[Fe,Le]=(0,ye.useState)(!1),Ye=(0,ye.useRef)(),He=(0,ye.useRef)();return(0,ye.useEffect)(()=>{Fe&&(He.current.reset(),He.current.write((0,se.pp)(Me||"")))},[Me,Fe]),(0,ye.useEffect)(()=>{var Ge,Ke,ze,ke;if(Ye.current){He.current=new re.Terminal({fontSize:14,disableStdin:!0}),He.current.open(Ye.current);const Ne=Ye.current.offsetWidth-14,Ve=((ke=(ze=(Ke=(Ge=He.current)==null?void 0:Ge._core)==null?void 0:Ke._renderService)==null?void 0:ze.dimensions)==null?void 0:ke.actualCellWidth)||9.5,qe=Math.ceil(Ne/Ve);He.current.resize(qe,8),Le(!0)}},[]),a.createElement("div",{ref:Ye,className:te()("XtermText-valueRef",Oe)})}function Ce(Me){const{status:Oe,error_msg:Fe,output:Le,input:Ye,expected_output:He,is_file:Ge,input_file_url:Ke,output_file_url:ze,expected_output_file_url:ke}=Me;let Ne=null;const Ve={minHeight:150,marginBottom:10,paddingLeft:24,background:"#070f19",color:"#fff"};switch(Oe){case ce.h.NOMATCH:Ne=a.createElement(a.Fragment,null,a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u5165\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:Ye}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Ye)},Ye)),a.createElement("p",{className:"c-red"},"\u5B9E\u9645\u8F93\u51FA\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:Le&&oe.Base64.decode(Le)||""}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(ze,Le)},Le)),a.createElement("p",{className:"c-red"},"\u9884\u671F\u8F93\u51FA\uFF1A"),!Ge&&a.createElement(Ae,{className:"mb10",value:He&&oe.Base64.decode(He)||""}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(ke,He)},He)));break;case ce.h.EXECUTEFAILURE:Ne=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ge&&a.createElement(ue.Z,{value:Ye,style:Ve}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Ye)},Ye)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.COMPILEFAILURE:Ne=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A"),!Ge&&a.createElement(ue.Z,{value:Ye,style:Ve}),Ge&&a.createElement("div",{style:Ve},a.createElement("a",{onClick:()=>(0,se.LR)(Ke,Ye)},Ye)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.PODFAILURE:Ne=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ce.h.TIMEOUT:Ne=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ne," ")}function _e(Me){const{status:Oe,error_msg:Fe,execute_time:Le,output:Ye,input:He,expected_output:Ge,is_file:Ke,input_file_url:ze,output_file_url:ke,expected_output_file_url:Ne}=Me;let Ve=null;switch(Oe){case ce.h.OK:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6267\u884C\u7528\u65F6\uFF1A",Le,"\u79D2"),a.createElement("p",null,"\u6267\u884C\u7ED3\u679C\uFF1A"),a.createElement("pre",null,oe.Base64.decode(Ye)));break;case ce.h.NOMATCH:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u8F93\u51FA\uFF1A",Ye&&oe.Base64.decode(Ye)),a.createElement("p",null,"\u9884\u671F\u8F93\u51FA\uFF1A",Ge&&oe.Base64.decode(Ge)));break;case ce.h.EXECUTEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.COMPILEFAILURE:Ve=a.createElement(a.Fragment,null,a.createElement("p",null,"\u6700\u540E\u6267\u884C\u7684\u8F93\u5165\uFF1A",a.createElement("pre",null,He)),a.createElement("p",null,"\u6267\u884C\u51FA\u9519\u4FE1\u606F\uFF1A"),a.createElement("pre",{className:"error"},oe.Base64.decode(Fe)));break;case ce.h.PODFAILURE:Ve=a.createElement("p",null,"\u521B\u5EFApod\u5931\u8D25\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break;case ce.h.TIMEOUT:Ve=a.createElement("p",null,"\u8BC4\u6D4B\u8D85\u65F6\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5");break}return a.createElement(a.Fragment,null," ",Ve," ")}var we=({id:Me,is_file:Oe,input:Fe,debuging:Le,submitting:Ye,executingMessage:He,debugResult:Ge,onChangeInput:Ke,onDebugCode:ze,onSubmitCode:ke})=>{const[Ne,Ve]=(0,ye.useReducer)(Ee,be),{visible:qe,tabIndex:rt}=Ne;(0,ye.useEffect)(()=>{Ve({type:0,payload:!1})},[Me]);function Qe(Te){let We=Te.target.id;Ve({type:1,payload:We})}function Ue(){Ve({type:0,payload:!qe})}const Be=(0,ye.useMemo)(()=>{if(Ge){const{status:Te}=Ge;return a.createElement(a.Fragment,null,_e(Ge))}return null},[Ge]);function Ze(){Ve({type:0,payload:!0}),Ve({type:1,payload:"1"}),ze()}return a.createElement("div",{className:"test-case-panel"},a.createElement("div",{className:`test-case-panel-body ${qe?"active":""}`},a.createElement("ul",{className:"s-navs"},a.createElement("li",null,a.createElement("a",{className:"active"},"\u8C03\u8BD5\u4EE3\u7801\u7ED3\u679C"))),a.createElement(ae.Z,{leftTitle:"\u81EA\u5B9A\u4E49\u6D4B\u8BD5\u7528\u4F8B",rightTitle:"\u4EE3\u7801\u6267\u884C\u7ED3\u679C",style:{height:240},leftNode:a.createElement(me,{placeholder:"\u8BF7\u8F93\u5165\u81EA\u6D4B\u7528\u4F8B\uFF08\u5982\u679C\u672A\u586B\u5199\uFF0C\u9996\u6B21\u81EA\u6D4B\u8FD0\u884C\u65F6\uFF0C\u7CFB\u7EDF\u4F1A\u81EA\u52A8\u586B\u5145\u7B2C\u4E00\u4E2A\u975E\u9690\u85CF\u7684\u6587\u672C\u7C7B\u578B\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF09",value:Oe?"":Fe,onChange:Ke}),rightNode:Le?a.createElement(ie.Z,{message:"\u4EE3\u7801\u6267\u884C\u4E2D..."}):Ge?Be:a.createElement("p",{style:{color:"#536879"}},"\u8BF7\u586B\u5199\u6D4B\u8BD5\u7528\u4F8B\u7684\u8F93\u5165\u503C\uFF0C\u70B9\u51FB\u201C\u8C03\u8BD5\u4EE3\u7801\u201D")})),a.createElement("a",{className:`btn-collapse ${qe?"up":""}`,onClick:Ue},qe?a.createElement(pe.Z,null):a.createElement(he.Z,null)),a.createElement("footer",{className:"footer"},a.createElement("span",{style:{visibility:"hidden"}},"\u63A7\u5236\u53F0"),a.createElement("div",{className:"flex-container"},a.createElement(E.ZP,{id:"oj-prev",className:"btn-blue",type:"ghost"},"\u4E0A\u4E00\u9898"),a.createElement(E.ZP,{id:"oj-next",className:"btn-blue",type:"ghost"},"\u4E0B\u4E00\u9898"),a.createElement(E.ZP,{className:"btn-green",type:"ghost",loading:Le,onClick:Ze},"\u8C03\u8BD5\u4EE3\u7801"),a.createElement(E.ZP,{type:"primary",className:"custom-ant-disabled",loading:Ye,disabled:Ye,onClick:()=>{Ve({type:0,payload:!1}),ke()}},"\u8BC4\u6D4B\u5E76\u63D0\u4EA4"))))}},86723:function(ct,ot,Se){"use strict";Se.d(ot,{h:function(){return ye}});var ye=(je=>(je[je.NOMATCH=-1]="NOMATCH",je[je.OK=0]="OK",je[je.TIMEOUT=2]="TIMEOUT",je[je.PODFAILURE=3]="PODFAILURE",je[je.COMPILEFAILURE=4]="COMPILEFAILURE",je[je.EXECUTEFAILURE=5]="EXECUTEFAILURE",je[je.HIDE_COMPILE_STATUS=11]="HIDE_COMPILE_STATUS",je))(ye||{})},24833:function(ct,ot,Se){"use strict";Se.d(ot,{Y2:function(){return Me},ZP:function(){return Oe}});var ye=Se(59301),je=Se(54580),E=Se(8591),pe=Se(43418),he=Se(95237),ce=Se(5112),oe=Se(3113),ie=Se(24905),ue=Se(6848),se=Se(92832),ae={wrap:"wrap___MkYbQ",colorBlue:"colorBlue___onjbP",repeatedName:"repeatedName___nbqnE",text:"text___xvutp",greyText:"greyText___dihvZ",noData:"noData___LxOJA",dragger:"dragger___y7F4A",uploadText:"uploadText___Et3KS",btnS:"btnS___k1e6j",testCaseRadio:"testCaseRadio___q1wXT",head:"head___s4Eix",operation:"operation___JCAVh",headProgram:"headProgram___uWA_M",listWrapper:"listWrapper___xW3b4",list:"list___dCbd6",del:"del___abNho",info:"info___J1Wmf"},re="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAATEAAADICAYAAACAj9YNAAAAAXNSR0IArs4c6QAAD59JREFUeF7tnet527gShsFUZFeQpJN1GkncyG46iVJBVFG4D6mLKYmSMLgQM4NXf855NrgMvm/8egBC9BD4oIBhBV7++fPlHP6n8PH/p/84Dp8XS7v8txB2N8sext/h7+G/73++3v67YZ08hz54Xhxr86fAy7c/P+ZVHQB1DaYaCz7AbBzfgVsNefPHBGL5GjJCRQUW0PpecRrp0DugJpWsXnsgVk9bRk5QQCm0nq1khhpb0Gcy1fl3IFZHV0YVKDCfa03nWeOgqdoSrODc9Lz1BGgp8qX1AWJputGrgAJz1bXd2VaBiEVDUJ2J5EpvDMTStaNnogJHeFmvuiSrB2gStYRtgZhQMJqnKWD0rCttsfd7AbPSioYQgFgFURnyQwHnW8ZUq4FZqnIr/YBYQTEZ6lKBDreNshQYxvf9v6+He298khUAYsnS0fGeAsBLmBvj+JWnmULNFs2BWLp29LxSYL4qMczXJLa4Se9Nf7aYiY4CsUTh6MbWsUoOsMUUywrExJLRYakAW8cq+UBVJpAViAnEoinV16Y5QFUWJTcQi5KJRtcKUIFtlBOA7KnQQOypRDS42D5yeN8iIdhePlAdiLVISaNzUn01No6rGKsGALHGeWllegCmxCm2lzdGADEluak5DACmzB1AdmEIEFOWn9rCAWDaHDnGA8jOxgAxpTmqIayXt/0vbt9rcOJODIBsFgaIKc7RlqFRgbVUXzA3IANignTppikAM2Z15yCjEjOWr7XDBWC1Fa40fscgA2KVcsrisADMomuLmDsFGRAznrelwj++Rmc6yOdjWYEOL8QCMcsJWyh2AFZISCXD7P976ernuqvFKskxVWEAMFV2lAmms20lECuTNmZH4S6YWeseB94RyIC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dVMqhpc5iB2A7T5kcR852z68NaMOnkPxOroqnXUGVrhb9iV/m5j7QWbqMSeiTBXatPnU/gSxuHzSntA90zE238HYnLNWvTYXU26lusfbSZQnT4GgbUm8P/6C+VmwqlgeQAAAABJRU5ErkJggg==",ne=Se(47257),te=Se.n(ne),a=Se(49894),y=Se(7660),x=Se(1012),b=Se(88230),ee=Se(90853),z=Se(59301),le=Object.defineProperty,de=Object.defineProperties,ge=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,be=Object.prototype.propertyIsEnumerable,ve=(Fe,Le,Ye)=>Le in Fe?le(Fe,Le,{enumerable:!0,configurable:!0,writable:!0,value:Ye}):Fe[Le]=Ye,Pe=(Fe,Le)=>{for(var Ye in Le||(Le={}))me.call(Le,Ye)&&ve(Fe,Ye,Le[Ye]);if(fe)for(var Ye of fe(Le))be.call(Le,Ye)&&ve(Fe,Ye,Le[Ye]);return Fe},Ee=(Fe,Le)=>de(Fe,ge(Le)),Ae=(Fe,Le,Ye)=>new Promise((He,Ge)=>{var Ke=Ne=>{try{ke(Ye.next(Ne))}catch(Ve){Ge(Ve)}},ze=Ne=>{try{ke(Ye.throw(Ne))}catch(Ve){Ge(Ve)}},ke=Ne=>Ne.done?He(Ne.value):Promise.resolve(Ne.value).then(Ke,ze);ke((Ye=Ye.apply(Fe,Le)).next())});const{Dragger:Ce}=je.default,_e=Fe=>{const Le=Ve=>Ve&&Ve.substring(0,Ve.lastIndexOf("."));for(var Ye=[...Fe],He=0,Ge=[],Ke=0;Ke{if(Ve.forEach(qe=>{let rt=qe.name.split(/\.(?=[^\.]+$)/);qe.name=`${rt[0]}.${rt[1].toLowerCase()}`}),Ve[0].name.includes(".in"))return Ve.length===2?Ve:[Ve[0],{}];if(Ve[0].name.includes(".out"))return Ve.length===2?Ve.reverse():[{},Ve[0]]})},we=({onClose:Fe,onOK:Le,visible:Ye,wrapClassName:He,rootIdentifier:Ge,multiple:Ke=!1,defaultMultipleValue:ze=!0})=>{const[ke,Ne]=(0,ye.useState)([]),[Ve,qe]=(0,ye.useState)({}),[rt,Qe]=(0,ye.useState)(!1),[Ue,Be]=(0,ye.useState)(!0),Ze=(0,ye.useRef)([]),Te=(0,ye.useRef)(0),We=()=>{Fe()};(0,ye.useEffect)(()=>{at()},[]),(0,ye.useEffect)(()=>{Ye&&(Ze.current=[],Te.current=0,Ne([]),Be(ze))},[Ye]);const at=()=>Ae(void 0,null,function*(){try{const nt=yield(0,y.ZP)("/api/buckets/get_upload_token_for_big_files",{method:"get"}),$e=JSON.parse((0,a.pe)(nt.data));qe($e)}catch(nt){}}),et=nt=>nt&&nt.substring(0,nt.lastIndexOf(".")),Je=nt=>{var $e,tt;const st=et(($e=nt[0])==null?void 0:$e.name)||et((tt=nt[1])==null?void 0:tt.name),it=ke.filter(lt=>et(lt.name)!==st);Ze.current=[...it],Ne([...it])},Ie=nt=>{if(!Ue){const ut=new FormData;ut.append("file",nt.file),(0,y.ZP)("/api/attachments/get_file_content.json",{method:"post",body:ut},!0).then(vt=>{if(vt.status===0){Te.current=Te.current+1;const mt=Ze.current.map(St=>{var _t;if(St.name===nt.name){const Mt=Pe({},St);return(_t=nt==null?void 0:nt.name)!=null&&_t.includes(".in")?Mt.input=vt==null?void 0:vt.content:Mt.output=vt==null?void 0:vt.content,Mt}return St});if(Ze.current=[...mt],Ne([...mt]),Te.current>0&&Te.current===ke.length){Qe(!1);let St=_e(mt);St=St.filter(_t=>{var Mt,yt;return!!((Mt=_t[0])!=null&&Mt.name&&((yt=_t[1])!=null&&yt.name))}),St=St.map(_t=>Ee(Pe(Pe({},_t[0]),_t[1]),{is_file:!1})),Le(St),Fe()}}else Qe(!1),Fe()});return}const $e=new(te())({endpoint:Ve.end_point,region:Ve.region,accessKeyId:Ve.access_key_id,accessKeySecret:Ve.access_key_secret,bucket:Ve.bucket,stsToken:Ve.security_token}),tt=nt.name,st={container_type:"TestSet",file_name:tt},it=(0,x.Z)();let lt=`testsets/${Ge}/${it}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`;Ge===null&&(lt=`testsets/${it}${tt.indexOf(".")>-1?"."+tt.split(".").pop():""}`),$e.multipartUpload(lt,new Blob([nt.file],{type:nt.file.type}),{timeout:3600*1e3,partSize:1002400,callback:{customValue:{id:tt+""},url:Ve==null?void 0:Ve.callback_url,host:Ve==null?void 0:Ve.bucket_host,body:"bucket=${bucket}&object=${object}&etag=${etag}&size=${size}&mimeType=${mimeType}&my_var=${x:my_var}&"+(0,y.rz)(st)}}).then(function(ut){if(ut.data.status===0){Te.current=Te.current+1;const pt=Ze.current.map(vt=>{var mt,St,_t,Mt,yt,wt,xt,cn,Vt,sn,Zt,nn,Ht,ln,Tn,Sn,Ln;if(vt.name===((St=(mt=ut.data)==null?void 0:mt.data)==null?void 0:St.file_name)){const yn=Pe({},vt);return(yt=(Mt=(_t=ut.data)==null?void 0:_t.data)==null?void 0:Mt.file_name)!=null&&yt.includes(".in")?(yn.in_object_key=(xt=(wt=ut.data)==null?void 0:wt.data)==null?void 0:xt.object,yn.in_object_size=(Vt=(cn=ut.data)==null?void 0:cn.data)==null?void 0:Vt.size,yn.input=(Zt=(sn=ut.data)==null?void 0:sn.data)==null?void 0:Zt.file_name,yn.in_file=nt):(yn.out_object_key=(Ht=(nn=ut.data)==null?void 0:nn.data)==null?void 0:Ht.object,yn.out_object_size=(Tn=(ln=ut.data)==null?void 0:ln.data)==null?void 0:Tn.size,yn.output=(Ln=(Sn=ut.data)==null?void 0:Sn.data)==null?void 0:Ln.file_name,yn.out_file=nt),yn}return vt});if(Ze.current=[...pt],Ne([...pt]),Te.current>0&&Te.current===ke.length){Qe(!1);let vt=_e(pt);vt=vt.filter(mt=>{var St,_t;return!!((St=mt[0])!=null&&St.name&&((_t=mt[1])!=null&&_t.name))}),vt=vt.map(mt=>Ee(Pe(Pe({},mt[0]),mt[1]),{is_file:!0})),Le(vt),Fe()}}})},xe=nt=>new Promise(($e,tt)=>{let st=0,it=[];for(let lt=0;lt{st++,st===nt.length&&(it.length?(E.ZP.warning(`${it.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),tt()):$e(nt))}).catch(ut=>{console.log("\u9519\u8BEF\u4FE1\u606F\uFF1A",ut),st++,it.push(nt[lt].name),st===nt.length&&(it.length?(E.ZP.warning(`${it.join("\uFF0C")}\u6587\u4EF6\u5DF2\u635F\u574F\u6216\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u5220\u9664\u540E\u91CD\u65B0\u4E0A\u4F20\uFF01`),tt()):$e(nt))})}),De=()=>Ae(void 0,null,function*(){if(ke.length===0){E.ZP.warning("\u8BF7\u9009\u62E9\u4E0A\u4F20\u6587\u4EF6");return}if(yield xe(ke),Qe(!0),_e(ke).some($e=>{var tt,st;return!((tt=$e[0])!=null&&tt.name&&((st=$e[1])!=null&&st.name))})){pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u4E0A\u4F20\u7684\u6D4B\u8BD5\u7528\u4F8B\u4E2D\u5B58\u5728\u672A\u914D\u5BF9\u7684\u6587\u4EF6\uFF0C\u8BF7\u786E\u8BA4\u662F\u5426\u4EC5\u4FDD\u5B58\u5DF2\u914D\u5BF9\u7684\u6D4B\u8BD5\u7528\u4F8B\uFF1F",onOk:()=>Ae(void 0,null,function*(){ke.map($e=>Ae(void 0,null,function*(){Ie($e)}))}),onCancel:()=>{Qe(!1)}});return}ke.map($e=>Ae(void 0,null,function*(){Ie($e)}))}),Re={name:"file",fileList:ke,multiple:!0,accept:".in, .out",showUploadList:!1,beforeUpload:nt=>{if(ke!=null&&ke.some(tt=>tt.name===nt.name))return E.ZP.info(`${nt.name}\u6587\u4EF6\u5DF2\u5B58\u5728`),!1;if(nt.size/1024/1024>100)return E.ZP.info("\u6587\u4EF6\u8D85\u8FC7100M\uFF0C\u4E0D\u7B26\u5408\u4E0A\u4F20\u8981\u6C42"),!1;if(!/\.(in|out|IN|OUT)$/.test(nt.name))return E.ZP.warning("\u8F93\u5165\u6587\u4EF6\u53EA\u80FD\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6"),!1;const $e={name:nt.name,uid:nt.uid,file:nt,percent:0};return ke.push($e),Ze.current=[...ke],Ne([...ke]),!1}},Xe=_e(ke);return console.log(ke,Xe,"fileList"),z.createElement(pe.default,{open:Ye,wrapClassName:He,onOk:De,centered:!0,okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",okButtonProps:{loading:rt},onCancel:We,width:730,title:"\u6279\u91CF\u4E0A\u4F20\u6D4B\u8BD5\u7528\u4F8B"},z.createElement("div",{className:ae.wrap},ke.length?z.createElement("div",null,z.createElement(he.Z,{justify:"space-between",align:"middle",style:{marginBottom:40}},z.createElement("div",{style:{visibility:Ke?"visible":"hidden"}},z.createElement("span",{className:ae.greyText},"\u7528\u4F8B\u7C7B\u578B"),z.createElement(ce.ZP.Group,{className:`ml20 ${ae.testCaseRadio}`,optionType:"button",value:Ue,onChange:nt=>Be(nt.target.value)},z.createElement(ce.ZP,{value:!1},"\u6587\u672C"),z.createElement(ce.ZP,{value:!0},"\u6587\u4EF6"))),z.createElement(je.default,Pe({},Re),z.createElement(oe.ZP,{type:"primary",className:ae.btnS},z.createElement("i",{className:"iconfont icon-shangchuan2"}),"\u4E0A\u4F20\u6587\u4EF6"))),z.createElement(Me,{data:Xe,onRemove:Je})):z.createElement("div",{className:`${ae.noData} mb30`},z.createElement(je.default.Dragger,Ee(Pe({},Re),{className:ae.dragger}),z.createElement("img",{src:re,alt:"",className:"mb20"}),z.createElement("div",null,z.createElement("span",null,"\u62D6\u62FD\u6587\u4EF6\u6216"),z.createElement("span",{className:ae.uploadText},"\u70B9\u51FB\u6B64\u5904\u4E0A\u4F20")))),z.createElement("div",{className:ae.text},z.createElement("span",{style:{color:"#FA6400"}},"\u63D0\u793A"),z.createElement("br",null),"1\u3001\u6587\u4EF6\u5FC5\u987B\u4E0A\u4F20.in\u548C.out\u7C7B\u578B\u7684\u6587\u672C\u6587\u4EF6\u3002",z.createElement("br",null),"2\u3001\u4E0A\u4F20\u7684\u6587\u4EF6\u7F16\u7801\u4EC5\u652F\u6301UTF-8\uFF0C\u5426\u5219\u53EF\u80FD\u4F1A\u51FA\u73B0\u6587\u672C\u4E71\u7801\u3002",z.createElement("br",null),"3\u3001\u8F93\u5165\u8F93\u51FA\u6587\u4EF6\u9700\u6587\u4EF6\u540D\u79F0\u4E00\u4E00\u5BF9\u5E94\uFF0C\u672A\u5BF9\u5E94\u65F6\uFF0C\u5C06\u65E0\u6CD5\u4E0A\u4F20\u3002",z.createElement("br",null),"4\u3001\u5355\u4E2A\u4E0A\u4F20\u6587\u4EF6\u4E0D\u80FD\u8D85\u8FC7100MB\uFF0C\u8D85\u8FC7\u65F6\u53EF\u4EE5\u5206\u6279\u6B21\u4E0A\u4F20\u3002",z.createElement("br",null))))},Me=({data:Fe=[],onRemove:Le,width:Ye="auto",showScore:He=!1,disabled:Ge=!1,inputChange:Ke,onEvaluatingChange:ze,onSelectAll:ke,checkAll1:Ne,checkAll2:Ve,checkAll3:qe,checkAll4:rt,checkAll5:Qe,showEvaluatingSetting:Ue=!1,className:Be="",isProgramHomework:Ze=!1})=>{const Te={value:"",filename:"",dataUrl:""},[We,at]=(0,ye.useState)(Pe({},Te)),et=xe=>{let De=document.createElement("a");document.body.appendChild(De);let Re=URL.createObjectURL(xe.file);De.href=Re,De.download=xe.name,De.click(),URL.revokeObjectURL(Re),document.body.removeChild(De)},Je=(xe,De)=>{(0,b.LR)(xe,De)},Ie=(xe,De)=>{pe.default.confirm({centered:!0,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:z.createElement("div",{className:"tc font16"},"\u8BF7\u786E\u8BA4\u662F\u5426\u5220\u9664\u8BE5\u6D4B\u8BD5\u7528\u4F8B?"),onOk:()=>{Le(xe,De)},onCancel:()=>{}})};return Fe.length?z.createElement("div",{className:Be,style:{width:Ye}},z.createElement("div",{className:`${Ze?ae.headProgram:ae.head}`},Ue&&z.createElement("div",{style:{width:"15%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ne,onChange:xe=>{ke(xe.target.checked,"hidden")}}),z.createElement(ue.Z,{title:'\u9690\u85CF\u6D4B\u8BD5\u96C6\u53EF\u4EE5\u9632\u6B62\u5B66\u751F\u901A\u8FC7"print"\u7B49\u624B\u6BB5\u76F4\u63A5\u901A\u5173'},z.createElement("span",{style:{marginLeft:"8px"}},"\u9690\u85CF"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{style:{width:Ze?"25%":"15%"}},"\u7528\u4F8B"),z.createElement("div",{style:{width:He?Ze?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u5165"),z.createElement("div",{style:{width:He?Ze?"20%":"15%":"25%",padding:"0 12px"}},"\u8F93\u51FA"),He&&z.createElement("div",{style:{width:"20%"}},"\u5F97\u5206\u6BD4\u4F8B"),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:rt,onChange:xe=>{ke(xe.target.checked,"input_visible")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u8F93\u5165\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u8F93\u5165"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Ve,onChange:xe=>{ke(xe.target.checked,"is_invisible")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u9884\u671F\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u9884\u671F\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:Qe,onChange:xe=>{ke(xe.target.checked,"actual_output_visible")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u5BF9\u5B66\u5458\u59CB\u7EC8\u4E0D\u53EF\u89C1"},z.createElement("span",{style:{marginLeft:"8px"}},"\u5B9E\u9645\u8F93\u51FA"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),Ue&&z.createElement("div",{style:{width:"20%",display:"flex",alignItems:"center"}},z.createElement(ie.default,{checked:qe,onChange:xe=>{ke(xe.target.checked,"last_match_rule")}}),z.createElement(ue.Z,{title:"\u52FE\u9009\u540E\uFF0C\u5B9E\u9645\u8F93\u51FA\u4E0E\u9884\u671F\u8F93\u51FA\u6700\u540E\u4E00\u884C\u76F8\u540C\u5373\u53EF\u901A\u5173"},z.createElement("span",{style:{marginLeft:"8px"}},"\u7279\u6B8A\u5224\u5B9A"),z.createElement("i",{className:"ml5 font14 iconfont icon-xiaowenhao1"}))),z.createElement("div",{className:ae.operation,style:Ze?{flex:1,textAlign:"right"}:{width:"10%"}},"\u64CD\u4F5C")),z.createElement("div",{className:ae.listWrapper,style:{boxShadow:Ze?"0px 2px 4px 0px #EAEEF4":"unset"}},Fe.map((xe,De)=>{var Re,Xe,nt,$e;return z.createElement("div",{key:De,className:ae.list,style:Ze?{marginBottom:"0px",height:"66px",borderBottom:"1px solid #F6F7F8"}:{}},Ue&&z.createElement("div",{style:{width:"15%"}},z.createElement(ie.default,{checked:!!xe.hidden,onChange:tt=>{ze(tt.target.checked,De,"hidden")}})),z.createElement("div",{style:{width:Ze?"25%":"15%",paddingLeft:Ze?"5px":"0px",paddingRight:Ze?"5px":"0px"}},"\u6D4B\u8BD5\u7528\u4F8B",De+1),z.createElement("div",{className:ae.info,style:{width:He?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:xe.input||((Re=xe[0])==null?void 0:Re.name),onClick:()=>Ae(void 0,null,function*(){let tt;xe.input?xe.input_file_url?tt=xe.input_file_url:tt=xe.in_file:tt=xe[0];let st;typeof tt=="string"?(st=yield fetch(tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),at({value:yield st.text(),filename:"",dataUrl:tt})):(st=yield(0,b.db)(tt.file),at({value:st.text,filename:tt.name,dataUrl:st.link}))})},xe.input||((Xe=xe[0])==null?void 0:Xe.name))),z.createElement("div",{className:ae.info,style:{width:He?Ze?"20%":"15%":"25%"}},z.createElement("span",{title:xe.output||((nt=xe[1])==null?void 0:nt.name),onClick:()=>Ae(void 0,null,function*(){let tt;xe.input?xe.output_file_url?tt=xe.output_file_url:tt=xe.out_file:tt=xe[1];let st;typeof tt=="string"?(st=yield fetch(tt,{method:"Get",headers:{"Content-Type":"application/octet-stream",Accept:"*/*"}}),at({value:yield st.text(),filename:"",dataUrl:tt})):(st=yield(0,b.db)(tt.file),at({value:st.text,filename:tt.name,dataUrl:st.link}))})},xe.output||(($e=xe[1])==null?void 0:$e.name))),He&&z.createElement("div",{style:{width:"20%"}},z.createElement(se.default,{size:"large",addonAfter:Ze?"%":null,disabled:Ge,style:{width:"80%"},onChange:tt=>Ke(tt,De),value:xe.score}),!Ze&&z.createElement("span",null,"\xA0%")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.input_visible||!1,onChange:tt=>{ze(tt.target.checked,De,"input_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.is_invisible||!1,onChange:tt=>{ze(tt.target.checked,De,"is_invisible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.actual_output_visible||!1,onChange:tt=>{ze(tt.target.checked,De,"actual_output_visible")},className:"font14"},"\u5BF9\u5B66\u5458\u4E0D\u53EF\u89C1")),Ue&&z.createElement("div",{style:{width:"20%"}},z.createElement(ie.default,{checked:xe.last_match_rule||!1,onChange:tt=>{ze(tt.target.checked,De,"last_match_rule")},className:"font14"},"\u672B\u5C3E\u5339\u914D")),z.createElement("div",{onClick:()=>Ie(xe,De),style:Ze?{flex:1,textAlign:"right",paddingLeft:"5px",paddingRight:"5px"}:{width:"10%",textAlign:"center"}},z.createElement("span",{className:ae.del},"\u5220\u9664")))})),z.createElement(ee.Z,{close:!0,data:We.dataUrl,filename:We.filename,type:We.dataUrl.length?"txt":"",onClose:()=>at(Pe({},Te)),monacoEditor:{value:We.value,language:"txt",onChange:()=>{},options:{fontSize:14,readOnly:!0,minimap:{enabled:!1}}}})):z.createElement(z.Fragment,null)};var Oe=we},52649:function(ct,ot,Se){"use strict";Se.d(ot,{Z:function(){return ne}});var ye=Se(59301),je=Se(8591),E=Se(6848),pe=Se(71418),he=Se(95237),ce=Se(43604),oe=Se(58421),ie=Se(3113),ue=Se(64726),se=Se(7660),ae=Se(99325),re=(a,y,x)=>new Promise((b,ee)=>{var z=ge=>{try{de(x.next(ge))}catch(fe){ee(fe)}},le=ge=>{try{de(x.throw(ge))}catch(fe){ee(fe)}},de=ge=>ge.done?b(ge.value):Promise.resolve(ge.value).then(z,le);de((x=x.apply(a,y)).next())}),ne=({id:a,activeDiscussIndex:y,onReplyDiscuss:x,adminOrOperator:b})=>{const[ee,z]=(0,ye.useState)(""),[le,de]=(0,ye.useState)(!1);function ge(me){z(me)}function fe(){if(!ee){je.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}x(a,ee),z("")}return(0,ye.useEffect)(()=>{y!=a&&de(!1)},[y]),ye.createElement("div",{key:a,className:"discuss-item-editor",style:{display:y===a?"block":"none",width:"100%"}},ye.createElement(ue.Z,{miniToolbar:!0,startInit:y===a,defaultValue:ee,id:a,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:ge,extraUse:b&&ye.createElement(E.Z,{color:"#fff",open:le,destroyTooltipOnHide:!0,title:te({id:a,isOpen:le,activeDiscussIndex:y,onChange:ge,setIsOpen:de}),overlayStyle:{maxWidth:600}},ye.createElement("a",{title:le?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>de(!le)},ye.createElement("i",{className:"iconfont icon-dianzan11"})))}),ye.createElement("a",{onClick:fe,className:"btn-send"},"\u53D1\u9001"))};const te=a=>{const[y,x]=(0,ye.useState)(!1),[b,ee]=(0,ye.useState)([]),[z,le]=(0,ye.useState)(1);(0,ye.useEffect)(()=>{a!=null&&a.isOpen?de():(le(1),ee([]))},[a==null?void 0:a.isOpen]);const de=()=>re(void 0,null,function*(){x(!0);const ge=yield(0,se.ZP)(`/api/discusses/${a==null?void 0:a.id}/recommend_answer.json`,{method:"get"});(ge==null?void 0:ge.status)==0&&ee(ge==null?void 0:ge.answer),x(!1)});return ye.createElement(pe.Z,{spinning:y},ye.createElement("div",{style:{color:"#000"}},ye.createElement(ae.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(b==null?void 0:b[z-1])||""}),ye.createElement(he.Z,{justify:"end",align:"middle"},ye.createElement(ce.Z,null,ye.createElement(oe.Z,{simple:!0,current:z,pageSize:1,total:(b==null?void 0:b.length)||0,onChange:ge=>{le(ge)}})),ye.createElement(ce.Z,null,ye.createElement(ie.ZP,{onClick:()=>re(void 0,null,function*(){a==null||a.onChange(b==null?void 0:b[z-1]),a==null||a.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},3404:function(ct,ot,Se){"use strict";Se.d(ot,{CP:function(){return E},_V:function(){return ce}});var ye=Se(28209),je=Se.n(ye);const E={secret:ye.enc.Utf8.parse("0a18e199b87f1a8d"),iv:ye.enc.Utf8.parse("6e7b11a2d8475a3c"),recordScreen1:"8Cl7udD6KTt8HPYOZOopZQ==",recordScreen2:"2OizCBkuJOsBhw8rNenXhYCv3XTIsgM5YB4rOmXz7tSksBaXYYyAirzxs7TSR1vRsyWPVAt4owje5yiTfFsxAA==",recordScreen3:"neJjLaAaeW/dFCOx/cRGopZHNvjZTB0x8p9/TcYCsAGn0mWINwybT7VQlqzmJ55DjVgOrmi/iclg/G6uBGjm/Q==",recordScreen4:"SGYXWA9MzSO+02aOU0lf0g==",recordScreen5:"oCICX8dGCYMnb+4d1CTCTQ==",recordScreen6:"5MlFeP+Uwb/T5ADmGmB6NpaUgOJy3MlJ4WpA38wds8U=",recordScreen7:"TEQF1ezPIxvVVMQNJ08HIiHpj1mXdcVt5qmr6+ALw8Y=",recordScreen8:"9a9QOkgLXlgDq14d3ZEWzA==",recordScreen9:"O0prHhH+rDoUVnpw8acqwRQvRL7fh32v1bLyv4qv71U=",recordScreen10:"nfkbhFR34HkBQLpjlbNkk3FgEdBomIsnFLVgHA1RZVBeN/H3vWJpt0re6w4cjtaKmIkNgpJhxaFgyEkcJ7Z99GCAgC0CgxaaXNQNiDmz2MygiesZVZ9laQvHFQhZehEEaFKUozvNVQMkRw0MV0eoPg==",recordScreen11:"jarJWElZmu7HFZnjOTPwNx44FImKQVf8Bx2Jrm74G44=",recordScreen12:"e7Q/zr1KcI3oVpnQ3JeDgA==",recordScreen13:"pm38jjAC3l2p/JR8E3kDWg==",recordScreen14:"/mTQurqh9htD7+PNrTooMJgdPOE914grpIKomFnikk8=",recordScreen15:"bEPsKA+wwGyQEDShAMuQmQ==",recordScreen16:"uitMDSXWhi/tOOfbtHNmyNh8e9PCLJ0naA02kzBCOD/mdg+1g9ScswIEDpdHuE1l",recordScreen17:"4+bY5u3lx+VxRA/PjP/r3Tl9C0SmKM8CRtCpmkAJq+M=",recordScreen18:"L3Tz5XdvbIAqzHw/XxJnmrx8R+v3cPrYaho0/yDug6M=",recordScreen19:"bo+SiWR7f4uhJXP1wk3oQxBEFmQdbpZPV1in12O3jaj14CuNU2kP2g2MKMTFmRqE12Di4jS3RKzRI14yWpi6Zw==",recordScreen20:"9zp6SENXwO+8GNr4+g+xIzt6s/Gf38ukabRJjhQhQoY=",recordScreen21:"9zp6SENXwO+8GNr4+g+xIy36f4lSwnfFtW0weuO6Gj8=",recordScreen22:"JrbzlyV7pBS7Yw/W1geouw==",recordScreen23:"HBRPVLqnAH9kbzQ7clr8JsTgjT3nCOaP6D+q1lrMX0T6z7vU1Nh5XljgB+Qw/Hs8",recordScreen24:"bq3vruZCtCaGLs7egAWDrgXjmyW8iQX5L+nEwqCeguM=",recordScreen25:"CjveXk9FHEWiBbhwyVRzPQ==",recordScreen26:"FxZnr4aTDDJTcRMUEb3SfA==",answer1:"YXOzThjf+mcj1OALSFqA8A==",answer2:"iyOS4uLz85NAsAWdMjWs6A==",answer3:"cnZErv6FfE02OBkLzlWAeDAW3+ysEYfgoPhcC707e9kJN3PHMP7E05NC7nRf5ESWhemykQ0Y+JYQAd1PGsIJVIZFsA7OlceUwyOfid7oTeg=",answer4:"xXjNeCMbPG5xznAfVbSmjvHn/2xVBArzvsRXJZVk7yY=",answer5:"8Cl7udD6KTt8HPYOZOopZQ==",answer6:"r4qWdIzOZoUDAHIC6Rkiz3KJVZoKCNj9MmeR76VANv90Zyj57hrKtRcOipt3SZUPfZlt17GKyBf504lj5ROxVg==",answer7:"t1d0b8j3bdsJoH9adhzqOQ==",answer8:"0TBptfONacS/9JDvt/q9BO9S0+Jv0m1glMCiAQweO4E=",answer9:"2DA7p8Fws9TWo+O5djurjrORgQjZjMrKtuIbjfCoAI8ZpLy4+sq9PFZuua40lLxjTVb7vhKqm6exT5/R19YdjnUTh6Kyt+6Px8xr6JnEHVw=",answer10:"xcjM1HNI8s6ckETto63Gq83vw68ATty2i534hkfjKAa+izWStVVH5fvCEpQxd8rYYki3IW9Qy0NU8cLJsHQXWOsYtYD70yB44qG5j3fnlDahQUcsDWEBXzx2NlAp6x5R",answer11:"0/t7yKZD1CFg6kerAPJksqJATDsJMtkB06datFVfwac=",answer12:"SJ4yd9DEs9YHnGhybPplEg=="},pe={exam:E};function he(oe="",ie="exam"){const{secret:ue,iv:se}=pe[ie];return AES.encrypt(oe,ue,{iv:se,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function ce(oe="",ie="exam"){const{secret:ue,iv:se}=pe[ie];return ye.AES.decrypt(oe,ue,{iv:se,mode:je().mode.CBC,padding:je().pad.Pkcs7}).toString(ye.enc.Utf8)}},20736:function(ct,ot,Se){"use strict";Se.d(ot,{BU:function(){return je},Dj:function(){return ye},gH:function(){return E},vp:function(){return pe}});function ye(he){try{he.mozRequestFullScreen?he.mozRequestFullScreen():he.webkitRequestFullScreen&&he.webkitRequestFullScreen()}catch(ce){console.log(ce,":e")}}function je(){window.top.document.webkitExitFullscreen?window.top.document.webkitExitFullscreen():document.exitFullscreen?window.top.document.exitFullscreen():document.msExitFullscreen?window.top.document.msExitFullscreen():document.mozCancelFullScreen&&window.top.document.mozCancelFullScreen()}const E=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function pe(){var he=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,ce=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",he),window.isFullScreen?window.isFullScreen:he!=null}},59579:function(ct,ot,Se){"use strict";Se.d(ot,{U:function(){return ue}});var ye=Se(59301),je=Object.defineProperty,E=Object.getOwnPropertySymbols,pe=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,ce=(se,ae,re)=>ae in se?je(se,ae,{enumerable:!0,configurable:!0,writable:!0,value:re}):se[ae]=re,oe=(se,ae)=>{for(var re in ae||(ae={}))pe.call(ae,re)&&ce(se,re,ae[re]);if(E)for(var re of E(ae))he.call(ae,re)&&ce(se,re,ae[re]);return se},ie=(se,ae,re)=>new Promise((ne,te)=>{var a=b=>{try{x(re.next(b))}catch(ee){te(ee)}},y=b=>{try{x(re.throw(b))}catch(ee){te(ee)}},x=b=>b.done?ne(b.value):Promise.resolve(b.value).then(a,y);x((re=re.apply(se,ae)).next())});function ue(se,ae){const[re,ne]=(0,ye.useState)(ae),[te,a]=(0,ye.useState)(!1),[y,x]=(0,ye.useState)();return[re,te,(ee,z=!1)=>ie(this,null,function*(){const le=z?ae:oe(oe({},re),ee);a(!0),ne(le);const de=yield se(le);return a(!1),x(de),de}),y]}},39649:function(ct,ot,Se){"use strict";Se.d(ot,{_:function(){return E}});var ye=Se(59301),je=Se(43418);const E=pe=>{var he,ce;const oe=(0,ye.useRef)([]),ie=()=>{for(const ue of oe.current)clearTimeout(ue);oe.current=[]};return(0,ye.useEffect)(()=>{var ue,se,ae,re,ne,te;if(ie(),(ue=pe==null?void 0:pe.exercise)!=null&&ue.left_time&&((ae=(se=pe==null?void 0:pe.exercise)==null?void 0:se.exercise_events)==null?void 0:ae.length)>0){for(const a of(re=pe==null?void 0:pe.exercise)==null?void 0:re.exercise_events)if(((ne=pe==null?void 0:pe.exercise)==null?void 0:ne.left_time)>(a==null?void 0:a.reminder_time)*60){let y=(((te=pe==null?void 0:pe.exercise)==null?void 0:te.left_time)-(a==null?void 0:a.reminder_time)*60)*1e3;y=y>2147483647?2147483647:y;const x=setTimeout(()=>{je.default.info({content:`${a==null?void 0:a.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},y);oe.current.push(x)}}},[(he=pe==null?void 0:pe.exercise)==null?void 0:he.left_time,(ce=pe==null?void 0:pe.exercise)==null?void 0:ce.exercise_events]),ie}},85187:function(ct,ot,Se){"use strict";Se.d(ot,{AL:function(){return le},Iy:function(){return ae},Qv:function(){return te},ez:function(){return z},jb:function(){return re}});var ye=Se(32834),je=Se.n(ye),E=Se(11690),pe=Se.n(E);let he=1;function ce(be,ve){const Pe=be.match(/^(\s+)(?:```)/);if(Pe===null)return ve;const Ee=Pe[1];return ve.split(` `).map(Ae=>{const Ce=Ae.match(/^\s+/);if(Ce===null)return Ae;const[_e]=Ce;return _e.length>=Ee.length?Ae.slice(Ee.length):Ae}).join(` `)}let oe=[],ie=["