(self.webpackChunk=self.webpackChunk||[]).push([[9886],{87169:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{Z:function(){return vt}});var Ft=Rt(72308),ie=Rt(59301),rt={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"},kt=rt,Ct=Rt(7657),St=function(xt,dt){return ie.createElement(Ct.Z,(0,Ft.Z)({},xt,{ref:dt,icon:kt}))},pt=ie.forwardRef(St),vt=pt},32050:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{Z:function(){return vt}});var Ft=Rt(72308),ie=Rt(59301),rt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},kt=rt,Ct=Rt(7657),St=function(xt,dt){return ie.createElement(Ct.Z,(0,Ft.Z)({},xt,{ref:dt,icon:kt}))},pt=ie.forwardRef(St),vt=pt},37036:function(){"use strict"},88010:function(tn,Ke){"use strict";Ke.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},38476:function(){"use strict"},74413:function(){"use strict";function tn(lt,E,z,ot){z===void 0&&(z=0),ot===void 0&&(ot=1/0),this._name=lt,this._defaultValue=E,this._minimum=z,this._maximum=ot}Object.defineProperty(tn.prototype,"name",{get:function(){return this._name},set:function(lt){if(typeof lt!="string"||lt==="")throw new Error("Shape name must be a valid string.");this._name=lt}}),Object.defineProperty(tn.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(lt){if(typeof lt!="number"||isNaN(lt))throw new Error("The default value must be a real number, not: "+lt);this._defaultValue=lt}}),Object.defineProperty(tn.prototype,"minimum",{get:function(){return this._minimum},set:function(lt){if(typeof lt!="number"||isNaN(lt))throw new Error("Minimum must be a real number, not: "+lt);this._minimum=lt}}),Object.defineProperty(tn.prototype,"maximum",{get:function(){return this._maximum},set:function(lt){if(typeof lt!="number"||isNaN(lt))throw new Error("Maximum must be a real number, not: "+lt);this._maximum=lt}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(lt,E){var z=go.Shape._FigureParameters[lt];return z?z[E]:null},go.Shape.setFigureParameter=function(lt,E,z){if(!(z instanceof tn))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+z);if(z.defaultValuez.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+z.defaultValue);var ot=go.Shape._FigureParameters[lt];ot||(ot=[],go.Shape._FigureParameters[lt]=ot),ot[E]=z};var Ke=[];function Rt(lt,E){var z=Ke.pop();return z===void 0?new go.Point(lt,E):(z.x=lt,z.y=E,z)}function Ft(){var lt=Ke.pop();return lt===void 0?new go.Point:lt}function ie(lt){Ke.push(lt)}function rt(lt,E,z,ot,it,at,ut,wt,Et){Et||(Et=new go.Point);var At=lt-z,_t=it-ut,Mt=NaN,jt=NaN;if(At===0)if(_t===0)lt===z&&(Mt=lt,jt=E);else{var Lt=(at-wt)/_t,It=at-Lt*it;Mt=lt,jt=Lt*Mt+It}else if(_t===0){var Ut=(E-ot)/At,Xt=E-Ut*lt;Mt=it,jt=Ut*Mt+Xt}else{var Ut=(E-ot)/At,Lt=(at-wt)/_t,Xt=E-Ut*lt,It=at-Lt*it;Mt=(It-Xt)/(Ut-Lt),jt=Ut*Mt+Xt}return Et.x=Mt,Et.y=jt,Et}function kt(lt,E,z,ot,it,at,ut,wt,Et,At,_t,Mt,jt,Lt){var It=1-Et,Ut=Et,Xt=lt*It+z*Ut,Gt=E*It+ot*Ut,Yt=z*It+it*Ut,Ht=ot*It+at*Ut,ne=it*It+ut*Ut,ae=at*It+wt*Ut,ve=Xt*It+Yt*Ut,Kt=Gt*It+Ht*Ut,re=Yt*It+ne*Ut,we=Ht*It+ae*Ut,Me=ve*It+re*Ut,ke=Kt*It+we*Ut;At.x=Xt,At.y=Gt,_t.x=ve,_t.y=Kt,Mt.x=Me,Mt.y=ke,jt.x=re,jt.y=we,Lt.x=ne,Lt.y=ae}var Ct=new go.Spot(.156,.156),St=new go.Spot(.844,.844),pt=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new tn("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(lt,E,z){var ot=lt?lt.parameter1:NaN;(isNaN(ot)||ot<0)&&(ot=5),ot=Math.min(ot,E/3),ot=Math.min(ot,z/3);var it=ot*pt,at=new go.Geometry().add(new go.PathFigure(ot,0,!0).add(new go.PathSegment(go.PathSegment.Line,E-ot,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,ot,E-it,0,E,it)).add(new go.PathSegment(go.PathSegment.Line,E,z-ot)).add(new go.PathSegment(go.PathSegment.Bezier,E-ot,z,E,z-it,E-it,z)).add(new go.PathSegment(go.PathSegment.Line,ot,z)).add(new go.PathSegment(go.PathSegment.Bezier,0,z-ot,it,z,0,z-it)).add(new go.PathSegment(go.PathSegment.Line,0,ot)).add(new go.PathSegment(go.PathSegment.Bezier,ot,0,0,it,it,0).close()));return it>1&&(at.spot1=new go.Spot(0,0,it,it),at.spot2=new go.Spot(1,1,-it,-it)),at}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,.5*z)).add(new go.PathSegment(go.PathSegment.Line,0,z).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,z).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(E,z).add(new go.PathSegment(go.PathSegment.Line,0,.5*z)).add(new go.PathSegment(go.PathSegment.Line,E,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(E,z).add(new go.PathSegment(go.PathSegment.Line,0,z)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(.5*E,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*z)).add(new go.PathSegment(go.PathSegment.Line,.5*E,z)).add(new go.PathSegment(go.PathSegment.Line,E,.5*z).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(lt,E,z){var ot=new go.Geometry(go.Geometry.Line);return ot.startX=0,ot.startY=z/2,ot.endX=E,ot.endY=z/2,ot}),go.Shape.defineFigureGenerator("LineV",function(lt,E,z){var ot=new go.Geometry(go.Geometry.Line);return ot.startX=E/2,ot.startY=0,ot.endX=E/2,ot.endY=z,ot}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,z/2,!1).add(new go.PathSegment(go.PathSegment.Line,E,z/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,z)))}),go.Shape.defineFigureGenerator("XLine",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,z,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,z)))}),go.Shape.defineFigureGenerator("LineRight",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(.25*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*z)).add(new go.PathSegment(go.PathSegment.Line,.25*E,z)))}),go.Shape.defineFigureGenerator("LineDown",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,.25*z,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.75*z)).add(new go.PathSegment(go.PathSegment.Line,E,.25*z)))}),go.Shape.defineFigureGenerator("LineLeft",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(.75*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*z)).add(new go.PathSegment(go.PathSegment.Line,.75*E,z)))}),go.Shape.defineFigureGenerator("LineUp",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,.75*z,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,.25*z)).add(new go.PathSegment(go.PathSegment.Line,E,.75*z)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(lt,E,z){var ot=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(ot*E,(1-ot)*z,!1).add(new go.PathSegment(go.PathSegment.Line,(1-ot)*E,ot*z)).add(new go.PathSegment(go.PathSegment.Move,ot*E,ot*z)).add(new go.PathSegment(go.PathSegment.Line,(1-ot)*E,(1-ot)*z)).add(new go.PathSegment(go.PathSegment.Move,0,z/2)).add(new go.PathSegment(go.PathSegment.Line,E,z/2)).add(new go.PathSegment(go.PathSegment.Move,E/2,0)).add(new go.PathSegment(go.PathSegment.Line,E/2,z)))}),go.Shape.defineFigureGenerator("CircleLine",function(lt,E,z){var ot=E/2,it=new go.Geometry().add(new go.PathFigure(E,E/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,ot,ot,ot,ot).close()));return it.spot1=Ct,it.spot2=St,it.defaultStretch=go.GraphObject.Uniform,it}),go.Shape.defineFigureGenerator("Line1",function(lt,E,z){var ot=new go.Geometry(go.Geometry.Line);return ot.startX=0,ot.startY=0,ot.endX=E,ot.endY=z,ot}),go.Shape.defineFigureGenerator("Line2",function(lt,E,z){var ot=new go.Geometry(go.Geometry.Line);return ot.startX=E,ot.startY=0,ot.endX=0,ot.endY=z,ot}),go.Shape.defineFigureGenerator("Curve1",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,z,pt*E,0,E,(1-pt)*z)))}),go.Shape.defineFigureGenerator("Curve2",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,E,z,0,pt*z,(1-pt)*E,z)))}),go.Shape.defineFigureGenerator("Curve3",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,z,E,pt*z,pt*E,z)))}),go.Shape.defineFigureGenerator("Curve4",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,z,(1-pt)*E,0,0,(1-pt)*z)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,z)).add(new go.PathSegment(go.PathSegment.Line,0,z).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,z)).add(new go.PathSegment(go.PathSegment.Line,0,z).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,0,z).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,z).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new tn("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)?ot=.1:ot<-1?ot=-1:ot>1&&(ot=1);var it=Math.abs(ot)*E;if(ot===0){var at=new go.Geometry(go.Geometry.Rectangle);return at.startX=0,at.startY=0,at.endX=E,at.endY=z,at}else{var at=new go.Geometry;return ot>0?at.add(new go.PathFigure(it,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-it,z)).add(new go.PathSegment(go.PathSegment.Line,0,z).close())):at.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-it,0)).add(new go.PathSegment(go.PathSegment.Line,E,z)).add(new go.PathSegment(go.PathSegment.Line,it,z).close())),itE&&(ot=E);var it=Math.abs(ot);if(ot===0){var at=new go.Geometry(go.Geometry.Rectangle);return at.startX=0,at.startY=0,at.endX=E,at.endY=z,at}else{var at=new go.Geometry;return ot>0?at.add(new go.PathFigure(it,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-it,z)).add(new go.PathSegment(go.PathSegment.Line,0,z).close())):at.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E-it,0)).add(new go.PathSegment(go.PathSegment.Line,E,z)).add(new go.PathSegment(go.PathSegment.Line,it,z).close())),it.5&&(ot=.5);var it=Math.abs(ot)*E;if(ot===0){var at=new go.Geometry(go.Geometry.Rectangle);return at.startX=0,at.startY=0,at.endX=E,at.endY=z,at}else{var at=new go.Geometry;return ot>0?at.add(new go.PathFigure(it,0).add(new go.PathSegment(go.PathSegment.Line,E-it,0)).add(new go.PathSegment(go.PathSegment.Line,E,z)).add(new go.PathSegment(go.PathSegment.Line,0,z).close())):at.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-it,z)).add(new go.PathSegment(go.PathSegment.Line,it,z).close())),itE&&(ot=E/2);var it=Math.abs(ot);if(ot===0){var at=new go.Geometry(go.Geometry.Rectangle);return at.startX=0,at.startY=0,at.endX=E,at.endY=z,at}else{var at=new go.Geometry;return ot>0?at.add(new go.PathFigure(it,0).add(new go.PathSegment(go.PathSegment.Line,E-it,0)).add(new go.PathSegment(go.PathSegment.Line,E,z)).add(new go.PathSegment(go.PathSegment.Line,0,z).close())):at.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-it,z)).add(new go.PathSegment(go.PathSegment.Line,it,z).close())),itE&&(ot=E/2);var it=Math.abs(ot);if(ot===0){var at=new go.Geometry(go.Geometry.Rectangle);return at.startX=0,at.startY=0,at.endX=E,at.endY=z,at}else{var at=new go.Geometry;return ot>0?at.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E-it,z)).add(new go.PathSegment(go.PathSegment.Line,it,z).close())):at.add(new go.PathFigure(it,0).add(new go.PathSegment(go.PathSegment.Line,E-it,0)).add(new go.PathSegment(go.PathSegment.Line,E,z)).add(new go.PathSegment(go.PathSegment.Line,0,z).close())),it0&&(ut.add(new go.PathSegment(go.PathSegment.Move,E/2+wt,E/2)),ut.add(new go.PathSegment(go.PathSegment.Arc,0,-360,it,it,wt,wt).close())),at.spot1=Ct,at.spot2=St,at.defaultStretch=go.GraphObject.Uniform,at}),go.Shape.defineFigureGenerator("Cloud",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(.08034461*E,.1944299*z,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*E,.05349299*z,-.09239631*E,.07836421*z,.1406031*E,-.0542823*z)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*E,.074219*z,.2450511*E,-.00697547*z,.3776197*E,-.01112067*z)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*E,.07004196*z,.4539471*E,0,.6066018*E,-.02526587*z)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*E,.08370865*z,.6914277*E,-.01904177*z,.8921095*E,-.01220843*z)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*E,.3194596*z,1.036446*E,.04105738*z,1.020377*E,.3022052*z)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*E,.562044*z,1.04448*E,.360238*z,.992256*E,.5219009*z)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*E,.8217117*z,1.032337*E,.5771781*z,1.018411*E,.8120651*z)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*E,.9156953*z,1.028411*E,.9571472*z,.8556702*E,1.052487*z)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*E,.9310455*z,.7431877*E,1.009325*z,.5624123*E,1.021761*z)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*E,.9344623*z,.4820677*E,1.031761*z,.3030112*E,1.002796*z)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.870098*z,.2329994*E,1.01518*z,.03213784*E,1.01518*z)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*E,.6545475*z,-.02812061*E,.9032597*z,-.01205169*E,.6835638*z)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*E,.4265613*z,-.01812061*E,.6089503*z,-.00606892*E,.4555777*z)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*E,.1944299*z,-.01606892*E,.3892545*z,-.01205169*E,.1944299*z))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(lt,E,z){var ot=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(ot*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-ot)*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,ot*z)).add(new go.PathSegment(go.PathSegment.Line,E,(1-ot)*z)).add(new go.PathSegment(go.PathSegment.Line,(1-ot)*E,z)).add(new go.PathSegment(go.PathSegment.Line,ot*E,z)).add(new go.PathSegment(go.PathSegment.Line,0,(1-ot)*z)).add(new go.PathSegment(go.PathSegment.Line,0,ot*z).close())).setSpots(ot/2,ot/2,1-ot/2,1-ot/2)}),go.Shape.setFigureParameter("Pie",0,new tn("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new tn("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(lt,E,z){var ot=lt?lt.parameter1:NaN,it=lt?lt.parameter2:NaN;isNaN(ot)&&(ot=0),isNaN(it)&&(it=315);var at=ot%360;at<0&&(at+=360);var ut=it%360,wt=Math.min(E,z)/2;return new go.Geometry().add(new go.PathFigure(wt,wt).add(new go.PathSegment(go.PathSegment.Arc,at,ut,wt,wt,wt,wt).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(lt,E,z){var ot=pt/Math.SQRT2*.5,it=Math.SQRT2/2,at=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(E,z,!0).add(new go.PathSegment(go.PathSegment.Bezier,it*E,at*z,E,(1-ot)*z,(it+ot)*E,(at+ot)*z)).add(new go.PathSegment(go.PathSegment.Line,0,z).close()))}),go.Shape.setFigureParameter("ThickCross",0,new tn("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(lt,E,z){var ot=lt?lt.parameter1:NaN;(isNaN(ot)||ot<0)&&(ot=30);var it=Math.min(ot,E)/2,at=E/2,ut=z/2;return new go.Geometry().add(new go.PathFigure(at-it,0,!0).add(new go.PathSegment(go.PathSegment.Line,at+it,0)).add(new go.PathSegment(go.PathSegment.Line,at+it,ut-it)).add(new go.PathSegment(go.PathSegment.Line,E,ut-it)).add(new go.PathSegment(go.PathSegment.Line,E,ut+it)).add(new go.PathSegment(go.PathSegment.Line,at+it,ut+it)).add(new go.PathSegment(go.PathSegment.Line,at+it,z)).add(new go.PathSegment(go.PathSegment.Line,at-it,z)).add(new go.PathSegment(go.PathSegment.Line,at-it,ut+it)).add(new go.PathSegment(go.PathSegment.Line,0,ut+it)).add(new go.PathSegment(go.PathSegment.Line,0,ut-it)).add(new go.PathSegment(go.PathSegment.Line,at-it,ut-it).close()))}),go.Shape.setFigureParameter("ThinCross",0,new tn("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(lt,E,z){var ot=lt?lt.parameter1:NaN;(isNaN(ot)||ot<0)&&(ot=10);var it=Math.min(ot,E)/2,at=E/2,ut=z/2;return new go.Geometry().add(new go.PathFigure(at-it,0,!0).add(new go.PathSegment(go.PathSegment.Line,at+it,0)).add(new go.PathSegment(go.PathSegment.Line,at+it,ut-it)).add(new go.PathSegment(go.PathSegment.Line,E,ut-it)).add(new go.PathSegment(go.PathSegment.Line,E,ut+it)).add(new go.PathSegment(go.PathSegment.Line,at+it,ut+it)).add(new go.PathSegment(go.PathSegment.Line,at+it,z)).add(new go.PathSegment(go.PathSegment.Line,at-it,z)).add(new go.PathSegment(go.PathSegment.Line,at-it,ut+it)).add(new go.PathSegment(go.PathSegment.Line,0,ut+it)).add(new go.PathSegment(go.PathSegment.Line,0,ut-it)).add(new go.PathSegment(go.PathSegment.Line,at-it,ut-it).close()))}),go.Shape.setFigureParameter("ThickX",0,new tn("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(lt,E,z){var ot=lt?lt.parameter1:NaN;if((isNaN(ot)||ot<0)&&(ot=30),E===0||z===0){var it=new go.Geometry(go.Geometry.Rectangle);return it.startX=0,it.startY=0,it.endX=E,it.endY=z,it}else{var at=E/2,ut=z/2,wt=Math.atan2(z,E),Et=ot-Math.min(Math.cos(wt)*ot/2,at),At=ot-Math.min(Math.sin(wt)*ot/2,ut),it=new go.Geometry,_t=new go.PathFigure(Et,0,!0);return it.add(_t),_t.add(new go.PathSegment(go.PathSegment.Line,at,.2*z)),_t.add(new go.PathSegment(go.PathSegment.Line,E-Et,0)),_t.add(new go.PathSegment(go.PathSegment.Line,E,At)),_t.add(new go.PathSegment(go.PathSegment.Line,.8*E,ut)),_t.add(new go.PathSegment(go.PathSegment.Line,E,z-At)),_t.add(new go.PathSegment(go.PathSegment.Line,E-Et,z)),_t.add(new go.PathSegment(go.PathSegment.Line,at,.8*z)),_t.add(new go.PathSegment(go.PathSegment.Line,Et,z)),_t.add(new go.PathSegment(go.PathSegment.Line,0,z-At)),_t.add(new go.PathSegment(go.PathSegment.Line,.2*E,ut)),_t.add(new go.PathSegment(go.PathSegment.Line,0,At).close()),it}}),go.Shape.setFigureParameter("ThinX",0,new tn("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(lt,E,z){var ot=lt?lt.parameter1:NaN;(isNaN(ot)||ot<0)&&(ot=10);var it=new go.Geometry,at=new go.PathFigure(.1*E,0,!0);return it.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*z)),at.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),at.add(new go.PathSegment(go.PathSegment.Line,E,.1*z)),at.add(new go.PathSegment(go.PathSegment.Line,.6*E,.5*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,.9*z)),at.add(new go.PathSegment(go.PathSegment.Line,.9*E,z)),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*z)),at.add(new go.PathSegment(go.PathSegment.Line,.1*E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,.9*z)),at.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*z)),at.add(new go.PathSegment(go.PathSegment.Line,0,.1*z).close()),it}),go.Shape.setFigureParameter("SquareIBeam",0,new tn("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=.2);var it=new go.Geometry,at=new go.PathFigure(0,0,!0);return it.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,0)),at.add(new go.PathSegment(go.PathSegment.Line,E,ot*z)),at.add(new go.PathSegment(go.PathSegment.Line,(.5+ot/2)*E,ot*z)),at.add(new go.PathSegment(go.PathSegment.Line,(.5+ot/2)*E,(1-ot)*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,(1-ot)*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,(1-ot)*z)),at.add(new go.PathSegment(go.PathSegment.Line,(.5-ot/2)*E,(1-ot)*z)),at.add(new go.PathSegment(go.PathSegment.Line,(.5-ot/2)*E,ot*z)),at.add(new go.PathSegment(go.PathSegment.Line,0,ot*z).close()),it}),go.Shape.setFigureParameter("RoundedIBeam",0,new tn("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=.5);var it=new go.Geometry,at=new go.PathFigure(0,0,!0);return it.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,0)),at.add(new go.PathSegment(go.PathSegment.Bezier,E,z,Math.abs(1-ot)*E,.25*z,Math.abs(1-ot)*E,.75*z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z)),at.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ot*E,.75*z,ot*E,.25*z).close()),it}),go.Shape.defineFigureGenerator("HalfEllipse",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*z,pt*E,0,E,(.5-pt/2)*z)).add(new go.PathSegment(go.PathSegment.Bezier,0,z,E,(.5+pt/2)*z,pt*E,z).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,z,E,0,E,z)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*E,.75*z,.5*E,.25*z).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(.5*E,z,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*z,.1*E,.8*z,0,.5*z)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*z,0,0,.45*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,E,.3*z,.55*E,0,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,z,E,.5*z,.9*E,.8*z).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(.5*E,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*E,.01*z)).add(new go.PathSegment(go.PathSegment.Bezier,E,.5*z,.6*E,.2*z,E,.25*z)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.7*z,E,.8*z,.6*E,.8*z)).add(new go.PathSegment(go.PathSegment.Bezier,.75*E,z,.5*E,.75*z,.55*E,.95*z)).add(new go.PathSegment(go.PathSegment.Line,.25*E,z)).add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.7*z,.45*E,.95*z,.5*E,.75*z)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*z,.4*E,.8*z,0,.8*z)).add(new go.PathSegment(go.PathSegment.Bezier,.49*E,.01*z,0,.25*z,.4*E,.2*z).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.4*E,.6*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Bezier,.15*E,z,.5*E,.75*z,.45*E,.95*z)),it.add(new go.PathSegment(go.PathSegment.Line,.85*E,z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.6*z,.55*E,.95*z,.5*E,.75*z));var at=.2,ut=.3,wt=0,Et=at*pt;return it.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ut)*E,(.5+at+wt)*z,(.5-at+ut)*E,(.5+Et+wt)*z,(.5-Et+ut)*E,(.5+at+wt)*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+at+ut)*E,(.5+wt)*z,(.5+Et+ut)*E,(.5+at+wt)*z,(.5+at+ut)*E,(.5+Et+wt)*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ut)*E,(.5-at+wt)*z,(1-.5+at+ut)*E,(.5-Et+wt)*z,(.5+Et+ut)*E,(.5-at+wt)*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.65*E,.36771243*z,(.5-Et+ut)*E,(.5-at+wt)*z,(.5-at+ut+.05)*E,(.5-Et+wt-.02)*z)),at=.2,ut=0,wt=-.3,Et=at*pt,it.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+at+ut)*E,(.5+wt)*z,(.5+Et+ut)*E,(.5+at+wt)*z,(.5+at+ut)*E,(.5+Et+wt)*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ut)*E,(.5-at+wt)*z,(1-.5+at+ut)*E,(.5-Et+wt)*z,(.5+Et+ut)*E,(.5-at+wt)*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,(.5-at+ut)*E,(.5+wt)*z,(.5-Et+ut)*E,(.5-at+wt)*z,(.5-at+ut)*E,(.5-Et+wt)*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,(.5-Et+ut)*E,(.5+at+wt)*z,(.5-at+ut)*E,(.5+Et+wt)*z,(.5-Et+ut)*E,(.5+at+wt)*z)),at=.2,ut=-.3,wt=0,Et=at*pt,it.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ut)*E,(.5-at+wt)*z,(1-.5+at+ut-.05)*E,(.5-Et+wt-.02)*z,(.5+Et+ut)*E,(.5-at+wt)*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,(.5-at+ut)*E,(.5+wt)*z,(.5-Et+ut)*E,(.5-at+wt)*z,(.5-at+ut)*E,(.5-Et+wt)*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ut)*E,(.5+at+wt)*z,(.5-at+ut)*E,(.5+Et+wt)*z,(.5-Et+ut)*E,(.5+at+wt)*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.6*z,(.5+Et+ut)*E,(.5+at+wt)*z,(.5+at+ut)*E,(.5+Et+wt)*z).close()),ot.setSpots(.06,.33,.93,.68),ot}),go.Shape.defineFigureGenerator("YinYang",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E*.5,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*.5,E*.5,E*.5,E*.5)),it.add(new go.PathSegment(go.PathSegment.Arc,90,-180,E*.5,E*.75,E*.25,E*.25)),it.add(new go.PathSegment(go.PathSegment.Arc,90,180,E*.5,E*.25,E*.25,E*.25));var at=.1,ut=.5,wt=.25;return it.add(new go.PathSegment(go.PathSegment.Move,(ut+at)*E,wt*z)),it.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E*ut,z*wt,at*E,at*E).close()),it=new go.PathFigure(E*.5,0,!1),ot.add(it),it.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*.5,E*.5,E*.5,E*.5)),wt=.75,it=new go.PathFigure((ut+at)*E,wt*z,!0),ot.add(it),it.add(new go.PathSegment(go.PathSegment.Arc,0,360,E*ut,z*wt,at*E,at*E).close()),ot.defaultStretch=go.GraphObject.Uniform,ot}),go.Shape.defineFigureGenerator("Peace",function(lt,E,z){var ot=.8535533905932737,it=.5*E,at=.5*z;return new go.Geometry().add(new go.PathFigure(it,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,it,at,it,at)).add(new go.PathSegment(go.PathSegment.Line,it,z)).add(new go.PathSegment(go.PathSegment.Move,it,at)).add(new go.PathSegment(go.PathSegment.Line,(1-ot)*E,ot*z)).add(new go.PathSegment(go.PathSegment.Move,it,at)).add(new go.PathSegment(go.PathSegment.Line,ot*E,ot*z)))}),go.Shape.defineFigureGenerator("NotAllowed",function(lt,E,z){var ot=new go.Geometry,it=pt*.5,at=.5,ut=.5,wt=.5,Et=new go.PathFigure(ut*E,(wt-at)*z);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut-at)*E,wt*z,(ut-it)*E,(wt-at)*z,(ut-at)*E,(wt-it)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+at)*z,(ut-at)*E,(wt+it)*z,(ut-it)*E,(wt+at)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at)*E,wt*z,(ut+it)*E,(wt+at)*z,(ut+at)*E,(wt+it)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt-at)*z,(ut+at)*E,(wt-it)*z,(ut+it)*E,(wt-at)*z)),at=.4,it=pt*.4;var At=Ft(),_t=Ft(),Mt=Ft(),jt=Ft();kt(ut,wt-at,ut+it,wt-at,ut+at,wt-it,ut+at,wt,.42,At,_t,Mt,jt,jt);var Lt=Ft(),It=Ft(),Ut=Ft();kt(ut,wt-at,ut+it,wt-at,ut+at,wt-it,ut+at,wt,.58,jt,jt,Ut,Lt,It);var Xt=Ft(),Gt=Ft(),Yt=Ft();kt(ut,wt+at,ut-it,wt+at,ut-at,wt+it,ut-at,wt,.42,Xt,Gt,Yt,jt,jt);var Ht=Ft(),ne=Ft(),ae=Ft();return kt(ut,wt+at,ut-it,wt+at,ut-at,wt+it,ut-at,wt,.58,jt,jt,ae,Ht,ne),Et.add(new go.PathSegment(go.PathSegment.Move,ae.x*E,ae.y*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut-at)*E,wt*z,Ht.x*E,Ht.y*z,ne.x*E,ne.y*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt-at)*z,(ut-at)*E,(wt-it)*z,(ut-it)*E,(wt-at)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,Mt.x*E,Mt.y*z,At.x*E,At.y*z,_t.x*E,_t.y*z)),Et.add(new go.PathSegment(go.PathSegment.Line,ae.x*E,ae.y*z).close()),Et.add(new go.PathSegment(go.PathSegment.Move,Yt.x*E,Yt.y*z)),Et.add(new go.PathSegment(go.PathSegment.Line,Ut.x*E,Ut.y*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at)*E,wt*z,Lt.x*E,Lt.y*z,It.x*E,It.y*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+at)*z,(ut+at)*E,(wt+it)*z,(ut+it)*E,(wt+at)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,Yt.x*E,Yt.y*z,Xt.x*E,Xt.y*z,Gt.x*E,Gt.y*z).close()),ie(At),ie(_t),ie(Mt),ie(jt),ie(Lt),ie(It),ie(Ut),ie(Xt),ie(Gt),ie(Yt),ie(Ht),ie(ne),ie(ae),ot.defaultStretch=go.GraphObject.Uniform,ot}),go.Shape.defineFigureGenerator("Fragile",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*E,0)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.15*z)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.25*z)).add(new go.PathSegment(go.PathSegment.Line,.29*E,.33*z)).add(new go.PathSegment(go.PathSegment.Line,.35*E,.25*z)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.15*z)).add(new go.PathSegment(go.PathSegment.Line,.4*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.5*z,E,.25*z,.75*E,.5*z)).add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*z)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.9*z)).add(new go.PathSegment(go.PathSegment.Line,.7*E,z)).add(new go.PathSegment(go.PathSegment.Line,.3*E,z)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.9*z)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*z)).add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*z)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.5*z,0,.25*z).close()))}),go.Shape.setFigureParameter("HourGlass",0,new tn("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(lt,E,z){var ot=lt?lt.parameter1:NaN;(isNaN(ot)||ot<0)&&(ot=30),ot>E&&(ot=E);var it=(E-ot)/2,at=it+ot;return new go.Geometry().add(new go.PathFigure(at,.5*z).add(new go.PathSegment(go.PathSegment.Line,E,z)).add(new go.PathSegment(go.PathSegment.Line,0,z)).add(new go.PathSegment(go.PathSegment.Line,it,.5*z)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,E,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,.55*z).add(new go.PathSegment(go.PathSegment.Line,.6*E,0)).add(new go.PathSegment(go.PathSegment.Line,.3*E,.45*z)).add(new go.PathSegment(go.PathSegment.Line,E,.45*z)).add(new go.PathSegment(go.PathSegment.Line,.4*E,z)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.55*z).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(lt,E,z){var ot=new go.Geometry,it=pt*.4,at=.4,ut=.5,wt=.5,Et=Ft(),At=Ft(),_t=Ft(),Mt=Ft(),jt=new go.PathFigure((ut-at)*E,wt*z,!1);ot.add(jt),jt.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt-at)*z,(ut-at)*E,(wt-it)*z,(ut-it)*E,(wt-at)*z)),kt(ut,wt-at,ut+it,wt-at,ut+at,wt-it,ut+at,wt,.44,_t,Mt,At,Et,Et),jt.add(new go.PathSegment(go.PathSegment.Bezier,At.x*E,At.y*z,_t.x*E,_t.y*z,Mt.x*E,Mt.y*z));var Lt=Rt(At.x,At.y);kt(ut,wt-at,ut+it,wt-at,ut+at,wt-it,ut+at,wt,.56,Et,Et,At,_t,Mt);var It=Rt(At.x,At.y);jt.add(new go.PathSegment(go.PathSegment.Line,(Lt.x*.1+.95*.9)*E,Lt.y*.1*z)),jt.add(new go.PathSegment(go.PathSegment.Line,.85*E,Lt.y*.1*z)),jt.add(new go.PathSegment(go.PathSegment.Line,.85*E,0)),jt.add(new go.PathSegment(go.PathSegment.Line,E,0)),jt.add(new go.PathSegment(go.PathSegment.Line,E,.15*z)),jt.add(new go.PathSegment(go.PathSegment.Line,(It.x*.1+.9)*E,.15*z)),jt.add(new go.PathSegment(go.PathSegment.Line,(It.x*.1+.9)*E,(It.y*.1+.05*.9)*z)),jt.add(new go.PathSegment(go.PathSegment.Line,It.x*E,It.y*z)),jt.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at)*E,wt*z,_t.x*E,_t.y*z,Mt.x*E,Mt.y*z)),jt.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+at)*z,(ut+at)*E,(wt+it)*z,(ut+it)*E,(wt+at)*z)),jt.add(new go.PathSegment(go.PathSegment.Bezier,(ut-at)*E,wt*z,(ut-it)*E,(wt+at)*z,(ut-at)*E,(wt+it)*z)),at=.35,it=pt*.35;var Ut=new go.PathFigure(ut*E,(wt-at)*z,!1);ot.add(Ut),Ut.add(new go.PathSegment(go.PathSegment.Bezier,(ut-at)*E,wt*z,(ut-it)*E,(wt-at)*z,(ut-at)*E,(wt-it)*z)),Ut.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+at)*z,(ut-at)*E,(wt+it)*z,(ut-it)*E,(wt+at)*z)),Ut.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at)*E,wt*z,(ut+it)*E,(wt+at)*z,(ut+at)*E,(wt+it)*z)),Ut.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt-at)*z,(ut+at)*E,(wt-it)*z,(ut+it)*E,(wt-at)*z));var Xt=new go.PathFigure((ut-at)*E,wt*z,!1);return ot.add(Xt),ie(Et),ie(At),ie(_t),ie(Mt),ie(Lt),ie(It),ot.spot1=new go.Spot(.202,.257),ot.spot2=new go.Spot(.792,.739),ot.defaultStretch=go.GraphObject.Uniform,ot}),go.Shape.defineFigureGenerator("GenderFemale",function(lt,E,z){var ot=new go.Geometry,it=.375,at=0,ut=-.125,wt=it*pt,Et=new go.PathFigure((.525+at)*E,(.5+it+ut)*z,!1);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+it+at)*E,(.5+ut)*z,(.5+wt+at)*E,(.5+it+ut)*z,(.5+it+at)*E,(.5+wt+ut)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(.5+at)*E,(.5-it+ut)*z,(1-.5+it+at)*E,(.5-wt+ut)*z,(.5+wt+at)*E,(.5-it+ut)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(.5-it+at)*E,(.5+ut)*z,(.5-wt+at)*E,(.5-it+ut)*z,(.5-it+at)*E,(.5-wt+ut)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(.475+at)*E,(.5+it+ut)*z,(.5-it+at)*E,(.5+wt+ut)*z,(.5-wt+at)*E,(.5+it+ut)*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.475*E,.85*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.425*E,.85*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.425*E,.9*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.475*E,.9*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.475*E,z)),Et.add(new go.PathSegment(go.PathSegment.Line,.525*E,z)),Et.add(new go.PathSegment(go.PathSegment.Line,.525*E,.9*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.575*E,.9*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.575*E,.85*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*z).close()),it=.325,at=0,ut=-.125,wt=it*pt;var Et=new go.PathFigure((1-.5+it+at)*E,(.5+ut)*z,!1);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,(.5+at)*E,(.5+it+ut)*z,(.5+it+at)*E,(.5+wt+ut)*z,(.5+wt+at)*E,(.5+it+ut)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(.5-it+at)*E,(.5+ut)*z,(.5-wt+at)*E,(.5+it+ut)*z,(.5-it+at)*E,(.5+wt+ut)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(.5+at)*E,(.5-it+ut)*z,(.5-it+at)*E,(.5-wt+ut)*z,(.5-wt+at)*E,(.5-it+ut)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+it+at)*E,(.5+ut)*z,(.5+wt+at)*E,(.5-it+ut)*z,(1-.5+it+at)*E,(.5-wt+ut)*z));var Et=new go.PathFigure((.525+at)*E,(.5+it+ut)*z,!1);return ot.add(Et),ot.spot1=new go.Spot(.232,.136),ot.spot2=new go.Spot(.682,.611),ot.defaultStretch=go.GraphObject.Uniform,ot}),go.Shape.defineFigureGenerator("LogicImplies",function(lt,E,z){var ot=lt?lt.parameter1:NaN;return isNaN(ot)&&(ot=.2),new go.Geometry().add(new go.PathFigure((1-ot)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*z)).add(new go.PathSegment(go.PathSegment.Line,(1-ot)*E,z)).add(new go.PathSegment(go.PathSegment.Move,0,.5*z)).add(new go.PathSegment(go.PathSegment.Line,E,.5*z))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(lt,E,z){var ot=lt?lt.parameter1:NaN;return isNaN(ot)&&(ot=.2),new go.Geometry().add(new go.PathFigure((1-ot)*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,.5*z)).add(new go.PathSegment(go.PathSegment.Line,(1-ot)*E,z)).add(new go.PathSegment(go.PathSegment.Move,0,.5*z)).add(new go.PathSegment(go.PathSegment.Line,E,.5*z)).add(new go.PathSegment(go.PathSegment.Move,ot*E,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*z)).add(new go.PathSegment(go.PathSegment.Line,ot*E,z))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,z)))}),go.Shape.defineFigureGenerator("LogicAnd",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,z,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,E,z))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,z)).add(new go.PathSegment(go.PathSegment.Line,E,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(lt,E,z){var ot=new go.Geometry().add(new go.PathFigure(.5*E,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,z)).add(new go.PathSegment(go.PathSegment.Move,0,.5*z)).add(new go.PathSegment(go.PathSegment.Line,E,.5*z)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*E,.5*z,.5*E,.5*z)));return ot.defaultStretch=go.GraphObject.Uniform,ot}),go.Shape.defineFigureGenerator("LogicTruth",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.5*E,0)).add(new go.PathSegment(go.PathSegment.Line,.5*E,z)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,z,!1).add(new go.PathSegment(go.PathSegment.Line,E,z)).add(new go.PathSegment(go.PathSegment.Move,.5*E,z)).add(new go.PathSegment(go.PathSegment.Line,.5*E,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,.5*z)).add(new go.PathSegment(go.PathSegment.Line,0,.5*z)).add(new go.PathSegment(go.PathSegment.Move,E,.5*z)).add(new go.PathSegment(go.PathSegment.Line,E,z)).add(new go.PathSegment(go.PathSegment.Line,0,z)))}),go.Shape.defineFigureGenerator("LogicForAll",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*E,z)).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*z)).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*z))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*z)).add(new go.PathSegment(go.PathSegment.Line,E,.5*z)).add(new go.PathSegment(go.PathSegment.Move,0,z)).add(new go.PathSegment(go.PathSegment.Line,E,z))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(lt,E,z){var ot=.5;return new go.Geometry().add(new go.PathFigure(0,z,!1).add(new go.PathSegment(go.PathSegment.Line,0,ot*z)).add(new go.PathSegment(go.PathSegment.Arc,180,180,ot*E,ot*z,ot*E,ot*z)).add(new go.PathSegment(go.PathSegment.Line,E,z))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(lt,E,z){var ot=.5;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Line,E,ot*z)).add(new go.PathSegment(go.PathSegment.Arc,0,180,ot*E,ot*z,ot*E,ot*z)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new tn("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new tn("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=.3);var it=lt?lt.parameter2:NaN;isNaN(it)&&(it=.3);var at=(1-ot)*E,ut=(.5-it/2)*z,wt=(.5+it/2)*z,Et=new go.Geometry,At=new go.PathFigure(0,ut,!0);Et.add(At),At.add(new go.PathSegment(go.PathSegment.Line,at,ut)),At.add(new go.PathSegment(go.PathSegment.Line,at,0)),At.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),At.add(new go.PathSegment(go.PathSegment.Line,at,z)),At.add(new go.PathSegment(go.PathSegment.Line,at,wt)),At.add(new go.PathSegment(go.PathSegment.Line,0,wt).close()),Et.spot1=new go.Spot(0,ut/z);var _t=rt(0,wt/z,1,wt/z,at/E,1,1,.5,Ft());return Et.spot2=new go.Spot(_t.x,_t.y),ie(_t),Et}),go.Shape.setFigureParameter("Arrow2",0,new tn("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new tn("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=30),ot>E&&(ot=E);var it=lt?lt.parameter2:NaN;isNaN(it)&&(it=30),it=Math.min(it,z/2);var at=E-ot,ut=(z-it)/2,wt=ut+it,Et=new go.Geometry,At=new go.PathFigure(0,ut,!0);Et.add(At),At.add(new go.PathSegment(go.PathSegment.Line,at,ut)),At.add(new go.PathSegment(go.PathSegment.Line,at,0)),At.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),At.add(new go.PathSegment(go.PathSegment.Line,at,z)),At.add(new go.PathSegment(go.PathSegment.Line,at,wt)),At.add(new go.PathSegment(go.PathSegment.Line,0,wt).close()),Et.spot1=new go.Spot(0,ut/z);var _t=rt(0,wt/z,1,wt/z,at/E,1,1,.5,Ft());return Et.spot2=new go.Spot(_t.x,_t.y),ie(_t),Et}),go.Shape.defineFigureGenerator("Chevron",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*z).close()),ot}),go.Shape.defineFigureGenerator("DoubleArrow",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.3*E,.214*z)),it.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,1*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.3*E,1*z)),it.add(new go.PathSegment(go.PathSegment.Line,.3*E,.786*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,1*z).close()),ot}),go.Shape.setFigureParameter("DoubleEndArrow",0,new tn("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=.3);var it=(.5-ot/2)*z,at=(.5+ot/2)*z,ut=new go.Geometry,wt=new go.PathFigure(E,.5*z,!0);ut.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,at)),wt.add(new go.PathSegment(go.PathSegment.Line,.3*E,at)),wt.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),wt.add(new go.PathSegment(go.PathSegment.Line,0,.5*z)),wt.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),wt.add(new go.PathSegment(go.PathSegment.Line,.3*E,it)),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,it)),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close());var Et=rt(0,.5,.3,0,0,it/z,.1,it/z,Ft());return ut.spot1=new go.Spot(Et.x,Et.y),Et=rt(.7,1,1,.5,0,at/z,1,at/z,Et),ut.spot2=new go.Spot(Et.x,Et.y),ie(Et),ut}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new tn("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new tn("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=40);var it=lt?lt.parameter2:NaN;isNaN(it)&&(it=100);var at=(z-ot)/2,ut=at+ot,wt=(z-it)/2,Et=wt+it;(ot>z||it>z)&&(it>ot?(ot=ot*z/it,at=(z-ot)/2,ut=at+ot,wt=0,Et=z):(at=0,ut=z,wt=0,Et=z));var At=new go.Geometry,_t=new go.PathFigure(E,.5*z,!0);At.add(_t),_t.add(new go.PathSegment(go.PathSegment.Line,.7*E,Et)),_t.add(new go.PathSegment(go.PathSegment.Line,.7*E,ut)),_t.add(new go.PathSegment(go.PathSegment.Line,.3*E,ut)),_t.add(new go.PathSegment(go.PathSegment.Line,.3*E,Et)),_t.add(new go.PathSegment(go.PathSegment.Line,0,.5*z)),_t.add(new go.PathSegment(go.PathSegment.Line,.3*E,wt)),_t.add(new go.PathSegment(go.PathSegment.Line,.3*E,at)),_t.add(new go.PathSegment(go.PathSegment.Line,.7*E,at)),_t.add(new go.PathSegment(go.PathSegment.Line,.7*E,wt).close());var Mt=rt(0,.5,.3,wt/z,0,at/z,1,at/z,Ft());return At.spot1=new go.Spot(Mt.x,Mt.y),Mt=rt(.7,Et/z,1,.5,0,ut/z,1,ut/z,Mt),At.spot2=new go.Spot(Mt.x,Mt.y),ie(Mt),At}),go.Shape.setFigureParameter("IBeamArrow",0,new tn("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=.3);var it=(.5-ot/2)*z,at=(.5+ot/2)*z,ut=new go.Geometry,wt=new go.PathFigure(E,.5*z,!0);ut.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,at)),wt.add(new go.PathSegment(go.PathSegment.Line,.2*E,at)),wt.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),wt.add(new go.PathSegment(go.PathSegment.Line,0,z)),wt.add(new go.PathSegment(go.PathSegment.Line,0,0)),wt.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),wt.add(new go.PathSegment(go.PathSegment.Line,.2*E,it)),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,it)),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ut.spot1=new go.Spot(0,it/z);var Et=rt(.7,1,1,.5,0,at/z,1,at/z,Ft());return ut.spot2=new go.Spot(Et.x,Et.y),ie(Et),ut}),go.Shape.setFigureParameter("IBeamArrow2",0,new tn("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new tn("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=40);var it=lt?lt.parameter2:NaN;isNaN(it)&&(it=100);var at=(z-ot)/2,ut=at+ot,wt=(z-it)/2,Et=wt+it;(ot>z||it>z)&&(it>ot?(ot=ot*z/it,at=(z-ot)/2,ut=at+ot,wt=0,Et=z):(at=0,ut=z,wt=0,Et=z));var At=new go.Geometry,_t=new go.PathFigure(E,.5*z,!0);At.add(_t),_t.add(new go.PathSegment(go.PathSegment.Line,.7*E,Et)),_t.add(new go.PathSegment(go.PathSegment.Line,.7*E,ut)),_t.add(new go.PathSegment(go.PathSegment.Line,.2*E,ut)),_t.add(new go.PathSegment(go.PathSegment.Line,.2*E,Et)),_t.add(new go.PathSegment(go.PathSegment.Line,0,Et)),_t.add(new go.PathSegment(go.PathSegment.Line,0,wt)),_t.add(new go.PathSegment(go.PathSegment.Line,.2*E,wt)),_t.add(new go.PathSegment(go.PathSegment.Line,.2*E,at)),_t.add(new go.PathSegment(go.PathSegment.Line,.7*E,at)),_t.add(new go.PathSegment(go.PathSegment.Line,.7*E,wt).close()),At.spot1=new go.Spot(0,at/z);var Mt=rt(.7,Et/z,1,.5,0,ut/z,1,ut/z,Ft());return At.spot2=new go.Spot(Mt.x,Mt.y),ie(Mt),At}),go.Shape.setFigureParameter("Pointer",0,new tn("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=.1);var it=new go.Geometry,at=new go.PathFigure(E,.5*z,!0);it.add(at),at.add(new go.PathSegment(go.PathSegment.Line,0,z)),at.add(new go.PathSegment(go.PathSegment.Line,ot*E,.5*z)),at.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),it.spot1=new go.Spot(ot,.35);var ut=rt(.2,.65,1,.65,0,1,1,.5,Ft());return it.spot2=new go.Spot(ut.x,ut.y),ie(ut),it}),go.Shape.setFigureParameter("RoundedPointer",0,new tn("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=.3);var it=new go.Geometry,at=new go.PathFigure(E,.5*z,!0);it.add(at),at.add(new go.PathSegment(go.PathSegment.Line,0,z)),at.add(new go.PathSegment(go.PathSegment.Bezier,0,0,ot*E,.75*z,ot*E,.25*z).close()),it.spot1=new go.Spot(ot,.35);var ut=rt(0,.65,1,.65,0,1,1,.5,Ft());return it.spot2=new go.Spot(ut.x,ut.y),ie(ut),it}),go.Shape.setFigureParameter("SplitEndArrow",0,new tn("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=.4);var it=(.5-ot/2)*z,at=(.5+ot/2)*z,ut=new go.Geometry,wt=new go.PathFigure(E,.5*z,!0);ut.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,at)),wt.add(new go.PathSegment(go.PathSegment.Line,0,at)),wt.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*z)),wt.add(new go.PathSegment(go.PathSegment.Line,0,it)),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,it)),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ut.spot1=new go.Spot(.2,.3);var Et=rt(.7,1,1,.5,0,at/z,1,at/z,Ft());return ut.spot2=new go.Spot(Et.x,Et.y),ie(Et),ut}),go.Shape.setFigureParameter("SplitEndArrow2",0,new tn("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=50);var it=(z-ot)/2,at=it+ot;ot>z&&(it=0,at=z);var ut=new go.Geometry,wt=new go.PathFigure(E,.5*z,!0);ut.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,at)),wt.add(new go.PathSegment(go.PathSegment.Line,0,at)),wt.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*z)),wt.add(new go.PathSegment(go.PathSegment.Line,0,it)),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,it)),wt.add(new go.PathSegment(go.PathSegment.Line,.7*E,0).close()),ut.spot1=new go.Spot(.2,it/z);var Et=rt(.7,1,1,.5,0,at/z,1,at/z,Ft());return ut.spot2=new go.Spot(Et.x,Et.y),ie(Et),ut}),go.Shape.setFigureParameter("SquareArrow",0,new tn("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=.7);var it=new go.Geometry,at=new go.PathFigure(E,.5*z,!0);return it.add(at),at.add(new go.PathSegment(go.PathSegment.Line,ot*E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,0)),at.add(new go.PathSegment(go.PathSegment.Line,ot*E,0).close()),it.spot1=go.Spot.TopLeft,it.spot2=new go.Spot(ot,1),it}),go.Shape.defineFigureGenerator("Cone1",function(lt,E,z){var ot=new go.Geometry,it=pt*.5,at=pt*.1,ut=new go.PathFigure(0,.9*z,!0);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ut.add(new go.PathSegment(go.PathSegment.Line,E,.9*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,z,E,(.9+at)*z,(.5+it)*E,z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*z,(.5-it)*E,z,0,(.9+at)*z).close()),ot.spot1=new go.Spot(.25,.5),ot.spot2=new go.Spot(.75,.97),ot}),go.Shape.defineFigureGenerator("Cone2",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.9*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*z,(1-.85/.9)*E,z,.85/.9*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,0,.9*z).close());var at=new go.PathFigure(0,.9*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Bezier,E,.9*z,(1-.85/.9)*E,.8*z,.85/.9*E,.8*z)),ot.spot1=new go.Spot(.25,.5),ot.spot2=new go.Spot(.75,.82),ot}),go.Shape.defineFigureGenerator("Cube1",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.5*E,z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,.85*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.15*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,0,.15*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.85*z).close());var at=new go.PathFigure(.5*E,z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*z)),at.add(new go.PathSegment(go.PathSegment.Line,0,.15*z)),at.add(new go.PathSegment(go.PathSegment.Move,.5*E,.3*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,.15*z)),ot.spot1=new go.Spot(0,.3),ot.spot2=new go.Spot(.5,.85),ot}),go.Shape.defineFigureGenerator("Cube2",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.3*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.7*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.3*E,0).close());var at=new go.PathFigure(0,.3*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.7*E,.3*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,0)),at.add(new go.PathSegment(go.PathSegment.Move,.7*E,.3*z)),at.add(new go.PathSegment(go.PathSegment.Line,.7*E,z)),ot.spot1=new go.Spot(0,.3),ot.spot2=new go.Spot(.7,1),ot}),go.Shape.defineFigureGenerator("Cylinder1",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=5),ot=Math.min(ot,z/3);var it=new go.Geometry,at=pt*.5,ut=new go.PathFigure(0,ot,!0);it.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,pt*ot,(.5-at)*E,0)),ut.add(new go.PathSegment(go.PathSegment.Bezier,1*E,ot,(.5+at)*E,0,1*E,pt*ot)),ut.add(new go.PathSegment(go.PathSegment.Line,E,z-ot)),ut.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,1*z,1*E,z-pt*ot,(.5+at)*E,1*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,z-ot,(.5-at)*E,1*z,0,z-pt*ot)),ut.add(new go.PathSegment(go.PathSegment.Line,0,ot));var wt=new go.PathFigure(E,ot,!1);return it.add(wt),wt.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,2*ot,1*E,2*ot-pt*ot,(.5+at)*E,2*ot)),wt.add(new go.PathSegment(go.PathSegment.Bezier,0,ot,(.5-at)*E,2*ot,0,2*ot-pt*ot)),it.spot1=new go.Spot(0,0,0,2*ot),it.spot2=new go.Spot(1,1),it}),go.Shape.defineFigureGenerator("Cylinder2",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=5),ot=Math.min(ot,z/3);var it=new go.Geometry,at=pt*.5,ut=new go.PathFigure(0,z-ot,!0);it.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,0,ot)),ut.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,pt*ot,(.5-at)*E,0)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E,ot,(.5+at)*E,0,E,pt*ot)),ut.add(new go.PathSegment(go.PathSegment.Line,E,z-ot)),ut.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,z,E,z-pt*ot,(.5+at)*E,z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,z-ot,(.5-at)*E,z,0,z-pt*ot));var wt=new go.PathFigure(0,z-ot,!1);return it.add(wt),wt.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,z-2*ot,0,z-ot-pt*ot,(.5-at)*E,z-2*ot)),wt.add(new go.PathSegment(go.PathSegment.Bezier,E,z-ot,(.5+at)*E,z-2*ot,E,z-ot-pt*ot)),it.spot1=new go.Spot(0,0),it.spot2=new go.Spot(1,1,0,-2*ot),it}),go.Shape.defineFigureGenerator("Cylinder3",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=5),ot=Math.min(ot,E/3);var it=new go.Geometry,at=pt*.5,ut=new go.PathFigure(ot,0,!0);it.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E-ot,0)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*z,E-pt*ot,0,E,(.5-at)*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E-ot,z,E,(.5+at)*z,E-pt*ot,z)),ut.add(new go.PathSegment(go.PathSegment.Line,ot,z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*z,pt*ot,z,0,(.5+at)*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,ot,0,0,(.5-at)*z,pt*ot,0));var wt=new go.PathFigure(ot,0,!1);return it.add(wt),wt.add(new go.PathSegment(go.PathSegment.Bezier,2*ot,.5*z,ot+pt*ot,0,2*ot,(.5-at)*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,ot,z,2*ot,(.5+at)*z,ot+pt*ot,z)),it.spot1=new go.Spot(0,0,2*ot,0),it.spot2=new go.Spot(1,1),it}),go.Shape.defineFigureGenerator("Cylinder4",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=5),ot=Math.min(ot,E/3);var it=new go.Geometry,at=pt*.5,ut=new go.PathFigure(E-ot,0,!0);it.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*z,E-pt*ot,0,E,(.5-at)*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E-ot,z,E,(.5+at)*z,E-pt*ot,z)),ut.add(new go.PathSegment(go.PathSegment.Line,ot,z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*z,pt*ot,z,0,(.5+at)*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,ot,0,0,(.5-at)*z,pt*ot,0)),ut.add(new go.PathSegment(go.PathSegment.Line,E-ot,0));var wt=new go.PathFigure(E-ot,0,!1);return it.add(wt),wt.add(new go.PathSegment(go.PathSegment.Bezier,E-2*ot,.5*z,E-ot-pt*ot,0,E-2*ot,(.5-at)*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,E-ot,z,E-2*ot,(.5+at)*z,E-ot-pt*ot,z)),it.spot1=new go.Spot(0,0),it.spot2=new go.Spot(1,1,-2*ot,0),it}),go.Shape.defineFigureGenerator("Prism1",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.25*E,.25*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z).close());var at=new go.PathFigure(.25*E,.25*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),ot.spot1=new go.Spot(.408,.172),ot.spot2=new go.Spot(.833,.662),ot}),go.Shape.defineFigureGenerator("Prism2",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.25*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.25*z)),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z).close());var at=new go.PathFigure(0,z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,.25*z)),at.add(new go.PathSegment(go.PathSegment.Move,0,.25*z)),at.add(new go.PathSegment(go.PathSegment.Line,.25*E,.5*z)),ot.spot1=new go.Spot(.25,.5),ot.spot2=new go.Spot(.75,.75),ot}),go.Shape.defineFigureGenerator("Pyramid1",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.5*E,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,.75*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.75*z).close());var at=new go.PathFigure(.5*E,0,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),ot.spot1=new go.Spot(.25,.367),ot.spot2=new go.Spot(.75,.875),ot}),go.Shape.defineFigureGenerator("Pyramid2",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.5*E,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,.85*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.85*z).close());var at=new go.PathFigure(.5*E,0,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*z)),at.add(new go.PathSegment(go.PathSegment.Line,0,.85*z)),at.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,.85*z)),ot.spot1=new go.Spot(.25,.367),ot.spot2=new go.Spot(.75,.875),ot}),go.Shape.defineFigureGenerator("Actor",function(lt,E,z){var ot=new go.Geometry,it=.2,at=.1,ut=pt*it,wt=pt*at,Et=.5,At=.1,_t=new go.PathFigure(Et*E,(At+at)*z,!0);ot.add(_t),_t.add(new go.PathSegment(go.PathSegment.Bezier,(Et-it)*E,At*z,(Et-ut)*E,(At+at)*z,(Et-it)*E,(At+wt)*z)),_t.add(new go.PathSegment(go.PathSegment.Bezier,Et*E,(At-at)*z,(Et-it)*E,(At-wt)*z,(Et-ut)*E,(At-at)*z)),_t.add(new go.PathSegment(go.PathSegment.Bezier,(Et+it)*E,At*z,(Et+ut)*E,(At-at)*z,(Et+it)*E,(At-wt)*z)),_t.add(new go.PathSegment(go.PathSegment.Bezier,Et*E,(At+at)*z,(Et+it)*E,(At+wt)*z,(Et+ut)*E,(At+at)*z));var Mt=.05,jt=pt*Mt;Et=.05,At=.25;var Lt=new go.PathFigure(.5*E,.2*z,!0);return ot.add(Lt),Lt.add(new go.PathSegment(go.PathSegment.Line,.95*E,.2*z)),Et=.95,At=.25,Lt.add(new go.PathSegment(go.PathSegment.Bezier,(Et+Mt)*E,At*z,(Et+jt)*E,(At-Mt)*z,(Et+Mt)*E,(At-jt)*z)),Lt.add(new go.PathSegment(go.PathSegment.Line,E,.6*z)),Lt.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*z)),Lt.add(new go.PathSegment(go.PathSegment.Line,.85*E,.35*z)),Mt=.025,jt=pt*Mt,Et=.825,At=.35,Lt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E,(At-Mt)*z,(Et+Mt)*E,(At-jt)*z,(Et+jt)*E,(At-Mt)*z)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,(Et-Mt)*E,At*z,(Et-jt)*E,(At-Mt)*z,(Et-Mt)*E,(At-jt)*z)),Lt.add(new go.PathSegment(go.PathSegment.Line,.8*E,z)),Lt.add(new go.PathSegment(go.PathSegment.Line,.55*E,z)),Lt.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*z)),Mt=.05,jt=pt*Mt,Et=.5,At=.7,Lt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E,(At-Mt)*z,(Et+Mt)*E,(At-jt)*z,(Et+jt)*E,(At-Mt)*z)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,(Et-Mt)*E,At*z,(Et-jt)*E,(At-Mt)*z,(Et-Mt)*E,(At-jt)*z)),Lt.add(new go.PathSegment(go.PathSegment.Line,.45*E,z)),Lt.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),Lt.add(new go.PathSegment(go.PathSegment.Line,.2*E,.35*z)),Mt=.025,jt=pt*Mt,Et=.175,At=.35,Lt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E,(At-Mt)*z,(Et+Mt)*E,(At-jt)*z,(Et+jt)*E,(At-Mt)*z)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,(Et-Mt)*E,At*z,(Et-jt)*E,(At-Mt)*z,(Et-Mt)*E,(At-jt)*z)),Lt.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*z)),Lt.add(new go.PathSegment(go.PathSegment.Line,0,.6*z)),Lt.add(new go.PathSegment(go.PathSegment.Line,0,.25*z)),Mt=.05,jt=pt*Mt,Et=.05,At=.25,Lt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E,(At-Mt)*z,(Et-Mt)*E,(At-jt)*z,(Et-jt)*E,(At-Mt)*z)),Lt.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*z)),ot.spot1=new go.Spot(.2,.2),ot.spot2=new go.Spot(.8,.65),ot}),go.Shape.setFigureParameter("Card",0,new tn("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(lt,E,z){var ot=lt?lt.parameter1:NaN;isNaN(ot)&&(ot=.2);var it=new go.Geometry,at=new go.PathFigure(E,0,!0);return it.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,ot*z)),at.add(new go.PathSegment(go.PathSegment.Line,ot*E,0).close()),it.spot1=new go.Spot(0,ot),it.spot2=go.Spot.BottomRight,it}),go.Shape.defineFigureGenerator("Collate",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.5*E,.5*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*z));var at=new go.PathFigure(.5*E,.5*z,!0);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z)),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*z)),ot.spot1=new go.Spot(.25,0),ot.spot2=new go.Spot(.75,.25),ot}),go.Shape.defineFigureGenerator("CreateRequest",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN;isNaN(it)&&(it=.1);var at=new go.PathFigure(0,0,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,0)),at.add(new go.PathSegment(go.PathSegment.Line,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z).close());var ut=new go.PathFigure(0,it*z,!1);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E,it*z)),ut.add(new go.PathSegment(go.PathSegment.Move,0,(1-it)*z)),ut.add(new go.PathSegment(go.PathSegment.Line,E,(1-it)*z)),ot}),go.Shape.defineFigureGenerator("Database",function(lt,E,z){var ot=new go.Geometry,it=pt*.5,at=pt*.1,ut=new go.PathFigure(E,.1*z,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E,.9*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,z,E,(.9+at)*z,(.5+it)*E,z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*z,(.5-it)*E,z,0,(.9+at)*z)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.1*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-at)*z,(.5-it)*E,0)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*z,(.5+it)*E,0,E,(.1-at)*z));var wt=new go.PathFigure(E,.1*z,!1);return ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*z,E,(.1+at)*z,(.5+it)*E,.2*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*z,(.5-it)*E,.2*z,0,(.1+at)*z)),wt.add(new go.PathSegment(go.PathSegment.Move,E,.2*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*z,E,(.2+at)*z,(.5+it)*E,.3*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*z,(.5-it)*E,.3*z,0,(.2+at)*z)),wt.add(new go.PathSegment(go.PathSegment.Move,E,.3*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.4*z,E,(.3+at)*z,(.5+it)*E,.4*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*z,(.5-it)*E,.4*z,0,(.3+at)*z)),ot.spot1=new go.Spot(0,.4),ot.spot2=new go.Spot(1,.9),ot}),go.Shape.defineFigureGenerator("DataStorage",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),it.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,z,E,0,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.9*z,.25*E,.1*z).close()),ot.spot1=new go.Spot(.226,0),ot.spot2=new go.Spot(.81,1),ot}),go.Shape.defineFigureGenerator("DiskStorage",function(lt,E,z){var ot=new go.Geometry,it=pt*.5,at=pt*.1,ut=new go.PathFigure(E,.1*z,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E,.9*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,z,E,(.9+at)*z,(.5+it)*E,z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*z,(.5-it)*E,z,0,(.9+at)*z)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.1*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,(.1-at)*z,(.5-it)*E,0)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*z,(.5+it)*E,0,E,(.1-at)*z));var wt=new go.PathFigure(E,.1*z,!1);return ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*z,E,(.1+at)*z,(.5+it)*E,.2*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*z,(.5-it)*E,.2*z,0,(.1+at)*z)),wt.add(new go.PathSegment(go.PathSegment.Move,E,.2*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.3*z,E,(.2+at)*z,(.5+it)*E,.3*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*z,(.5-it)*E,.3*z,0,(.2+at)*z)),ot.spot1=new go.Spot(0,.3),ot.spot2=new go.Spot(1,.9),ot}),go.Shape.defineFigureGenerator("Display",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.25*E,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),it.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,z,E,0,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.25*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.5*z).close()),ot.spot1=new go.Spot(.25,0),ot.spot2=new go.Spot(.75,1),ot}),go.Shape.defineFigureGenerator("DividedEvent",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN;isNaN(it)?it=.2:it<.15&&(it=.15);var at=pt*.2,ut=new go.PathFigure(0,.2*z,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,0,(.2-at)*z,(.2-at)*E,0)),ut.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E,.2*z,(.8+at)*E,0,E,(.2-at)*z)),ut.add(new go.PathSegment(go.PathSegment.Line,E,.8*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,z,E,(.8+at)*z,(.8+at)*E,z)),ut.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*z,(.2-at)*E,z,0,(.8+at)*z)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.2*z));var wt=new go.PathFigure(0,it*z,!1);return ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,E,it*z)),ot}),go.Shape.defineFigureGenerator("DividedProcess",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN;(isNaN(it)||it<.1)&&(it=.1);var at=new go.PathFigure(0,0,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,0)),at.add(new go.PathSegment(go.PathSegment.Line,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z).close());var ut=new go.PathFigure(0,it*z,!1);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E,it*z)),ot}),go.Shape.defineFigureGenerator("Document",function(lt,E,z){var ot=new go.Geometry;z=z/.8;var it=new go.PathFigure(0,.7*z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.7*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*z,.5*E,.4*z,.5*E,z).close()),ot.spot1=go.Spot.TopLeft,ot.spot2=new go.Spot(1,.6),ot}),go.Shape.defineFigureGenerator("ExternalOrganization",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN;(isNaN(it)||it<.2)&&(it=.2);var at=new go.PathFigure(0,0,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,0)),at.add(new go.PathSegment(go.PathSegment.Line,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z).close());var ut=new go.PathFigure(it*E,0,!1);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,0,it*z)),ut.add(new go.PathSegment(go.PathSegment.Move,E,it*z)),ut.add(new go.PathSegment(go.PathSegment.Line,(1-it)*E,0)),ut.add(new go.PathSegment(go.PathSegment.Move,0,(1-it)*z)),ut.add(new go.PathSegment(go.PathSegment.Line,it*E,z)),ut.add(new go.PathSegment(go.PathSegment.Move,(1-it)*E,z)),ut.add(new go.PathSegment(go.PathSegment.Line,E,(1-it)*z)),ot}),go.Shape.defineFigureGenerator("ExternalProcess",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.5*E,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.5*z).close());var at=new go.PathFigure(.1*E,.4*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*z)),at.add(new go.PathSegment(go.PathSegment.Move,.9*E,.6*z)),at.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*z)),at.add(new go.PathSegment(go.PathSegment.Move,.6*E,.1*z)),at.add(new go.PathSegment(go.PathSegment.Line,.4*E,.1*z)),at.add(new go.PathSegment(go.PathSegment.Move,.4*E,.9*z)),at.add(new go.PathSegment(go.PathSegment.Line,.6*E,.9*z)),ot.spot1=new go.Spot(.25,.25),ot.spot2=new go.Spot(.75,.75),ot}),go.Shape.defineFigureGenerator("File",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.25*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z).close());var at=new go.PathFigure(.75*E,0,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,.25*z)),ot.spot1=new go.Spot(0,.25),ot.spot2=go.Spot.BottomRight,ot}),go.Shape.defineFigureGenerator("Interrupt",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E,.5*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z));var at=new go.PathFigure(E,.5*z,!1);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,z));var ut=new go.PathFigure(E,.5*z,!1);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E,0)),ot.spot1=new go.Spot(0,.25),ot.spot2=new go.Spot(.5,.75),ot}),go.Shape.defineFigureGenerator("InternalStorage",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN,at=lt?lt.parameter2:NaN;isNaN(it)&&(it=.1),isNaN(at)&&(at=.1);var ut=new go.PathFigure(0,0,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E,0)),ut.add(new go.PathSegment(go.PathSegment.Line,E,z)),ut.add(new go.PathSegment(go.PathSegment.Line,0,z).close());var wt=new go.PathFigure(it*E,0,!1);return ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,it*E,z)),wt.add(new go.PathSegment(go.PathSegment.Move,0,at*z)),wt.add(new go.PathSegment(go.PathSegment.Line,E,at*z)),ot}),go.Shape.defineFigureGenerator("Junction",function(lt,E,z){var ot=new go.Geometry,it=1/Math.SQRT2,at=(1-1/Math.SQRT2)/2,ut=pt*.5,wt=.5,Et=new go.PathFigure(E,wt*z,!0);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,wt*E,z,E,(wt+ut)*z,(wt+ut)*E,z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,0,wt*z,(wt-ut)*E,z,0,(wt+ut)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,wt*E,0,0,(wt-ut)*z,(wt-ut)*E,0)),Et.add(new go.PathSegment(go.PathSegment.Bezier,E,wt*z,(wt+ut)*E,0,E,(wt-ut)*z));var At=new go.PathFigure((at+it)*E,(at+it)*z,!1);return ot.add(At),At.add(new go.PathSegment(go.PathSegment.Line,at*E,at*z)),At.add(new go.PathSegment(go.PathSegment.Move,at*E,(at+it)*z)),At.add(new go.PathSegment(go.PathSegment.Line,(at+it)*E,at*z)),ot}),go.Shape.defineFigureGenerator("LinedDocument",function(lt,E,z){var ot=new go.Geometry;z=z/.8;var it=new go.PathFigure(0,.7*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.7*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*z,.5*E,.4*z,.5*E,z).close());var at=new go.PathFigure(.1*E,0,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.1*E,.75*z)),ot.spot1=new go.Spot(.1,0),ot.spot2=new go.Spot(1,.6),ot}),go.Shape.defineFigureGenerator("LoopLimit",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,.25*z)),it.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.25*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z).close()),ot.spot1=new go.Spot(0,.25),ot.spot2=go.Spot.BottomRight,ot}),go.Shape.defineFigureGenerator("MagneticTape",function(lt,E,z){var ot=new go.Geometry,it=pt*.5,at=.5,ut=new go.PathFigure(.5*E,z,!0);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,at*z,(at-it)*E,z,0,(at+it)*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,at*E,0,0,(at-it)*z,(at-it)*E,0)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E,at*z,(at+it)*E,0,E,(at-it)*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,(at+.1)*E,.9*z,E,(at+it)*z,(at+it)*E,.9*z)),ut.add(new go.PathSegment(go.PathSegment.Line,E,.9*z)),ut.add(new go.PathSegment(go.PathSegment.Line,E,z)),ut.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),ot.spot1=new go.Spot(.15,.15),ot.spot2=new go.Spot(.85,.8),ot}),go.Shape.defineFigureGenerator("ManualInput",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.25*z).close()),ot.spot1=new go.Spot(0,.25),ot.spot2=go.Spot.BottomRight,ot}),go.Shape.defineFigureGenerator("MessageFromUser",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN;isNaN(it)&&(it=.7);var at=new go.PathFigure(0,0,!0);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,0)),at.add(new go.PathSegment(go.PathSegment.Line,it*E,.5*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z).close()),ot.spot1=go.Spot.TopLeft,ot}),go.Shape.defineFigureGenerator("MicroformProcessing",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN;isNaN(it)&&(it=.25);var at=new go.PathFigure(0,0,!0);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,it*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,0)),at.add(new go.PathSegment(go.PathSegment.Line,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,(1-it)*z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z).close()),ot}),go.Shape.defineFigureGenerator("MicroformRecording",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,.25*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.15*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.85*z)),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,.75*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z).close()),ot.spot1=new go.Spot(0,.25),ot.spot2=new go.Spot(1,.75),ot}),go.Shape.defineFigureGenerator("MultiDocument",function(lt,E,z){var ot=new go.Geometry;z=z/.8;var it=new go.PathFigure(E,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.44*z,.96*E,.47*z,.93*E,.45*z)),it.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.54*z,.86*E,.57*z,.83*E,.55*z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,.7*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*z,.4*E,.4*z,.4*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,.1*E,.1*z)),it.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*z)),it.add(new go.PathSegment(go.PathSegment.Line,.2*E,0).close());var at=new go.PathFigure(.1*E,.2*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*z)),at.add(new go.PathSegment(go.PathSegment.Line,.8*E,.54*z)),at.add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*z)),at.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*z)),at.add(new go.PathSegment(go.PathSegment.Line,.9*E,.44*z)),ot.spot1=new go.Spot(0,.25),ot.spot2=new go.Spot(.8,.77),ot}),go.Shape.defineFigureGenerator("MultiProcess",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.1*E,.1*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*z)),it.add(new go.PathSegment(go.PathSegment.Line,.2*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*z).close());var at=new go.PathFigure(.2*E,.1*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.9*E,.1*z)),at.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*z)),at.add(new go.PathSegment(go.PathSegment.Move,.1*E,.2*z)),at.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*z)),at.add(new go.PathSegment(go.PathSegment.Line,.8*E,.9*z)),ot.spot1=new go.Spot(0,.2),ot.spot2=new go.Spot(.8,1),ot}),go.Shape.defineFigureGenerator("OfflineStorage",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN;isNaN(it)&&(it=.1);var at=1-it,ut=new go.PathFigure(0,0,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E,0)),ut.add(new go.PathSegment(go.PathSegment.Line,.5*E,z).close());var wt=new go.PathFigure(.5*it*E,it*z,!1);return ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,(1-.5*it)*E,it*z)),ot}),go.Shape.defineFigureGenerator("OffPageConnector",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z).close()),ot.spot1=go.Spot.TopLeft,ot.spot2=new go.Spot(.75,1),ot}),go.Shape.defineFigureGenerator("Or",function(lt,E,z){var ot=new go.Geometry,it=pt*.5,at=.5,ut=new go.PathFigure(E,at*z,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,at*E,z,E,(at+it)*z,(at+it)*E,z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,at*z,(at-it)*E,z,0,(at+it)*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,at*E,0,0,(at-it)*z,(at-it)*E,0)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E,at*z,(at+it)*E,0,E,(at-it)*z));var wt=new go.PathFigure(E,.5*z,!1);return ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,0,.5*z)),wt.add(new go.PathSegment(go.PathSegment.Move,.5*E,z)),wt.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ot}),go.Shape.defineFigureGenerator("PaperTape",function(lt,E,z){var ot=new go.Geometry;z=z/.8;var it=new go.PathFigure(0,.7*z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,.3*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,E,.3*z,.5*E,.6*z,.5*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.7*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*z,.5*E,.4*z,.5*E,z).close()),ot.spot1=new go.Spot(0,.49),ot.spot2=new go.Spot(1,.75),ot}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN,at=lt?lt.parameter2:NaN;isNaN(it)&&(it=.1),isNaN(at)&&(at=.3);var ut=new go.PathFigure(0,0,!0);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E,0)),ut.add(new go.PathSegment(go.PathSegment.Line,(1-at)*E,.5*z)),ut.add(new go.PathSegment(go.PathSegment.Line,E,z)),ut.add(new go.PathSegment(go.PathSegment.Line,0,z).close()),ot}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN,at=lt?lt.parameter2:NaN;isNaN(it)&&(it=.1),isNaN(at)&&(at=.3);var ut=new go.PathFigure(0,0,!0);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,(1-at)*E,0)),ut.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),ut.add(new go.PathSegment(go.PathSegment.Line,(1-at)*E,z)),ut.add(new go.PathSegment(go.PathSegment.Line,0,z).close()),ot}),go.Shape.defineFigureGenerator("Procedure",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN;isNaN(it)&&(it=.1);var at=new go.PathFigure(0,0,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,0)),at.add(new go.PathSegment(go.PathSegment.Line,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z).close());var ut=new go.PathFigure((1-it)*E,0,!1);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,(1-it)*E,z)),ut.add(new go.PathSegment(go.PathSegment.Move,it*E,0)),ut.add(new go.PathSegment(go.PathSegment.Line,it*E,z)),ot}),go.Shape.defineFigureGenerator("Process",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN;isNaN(it)&&(it=.1);var at=new go.PathFigure(0,0,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,0)),at.add(new go.PathSegment(go.PathSegment.Line,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z).close());var ut=new go.PathFigure(it*E,0,!1);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,it*E,z)),ot.spot2=go.Spot.BottomRight,ot}),go.Shape.defineFigureGenerator("Sort",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.5*E,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.5*z).close());var at=new go.PathFigure(0,.5*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),ot.spot1=new go.Spot(.25,.25),ot.spot2=new go.Spot(.75,.5),ot}),go.Shape.defineFigureGenerator("Start",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN;isNaN(it)&&(it=.25);var at=new go.PathFigure(it*E,0,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*z,.25*E,.5*z)),at.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*z,.25*E,.5*z));var ut=new go.PathFigure(it*E,0,!1);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,it*E,z)),ut.add(new go.PathSegment(go.PathSegment.Move,(1-it)*E,0)),ut.add(new go.PathSegment(go.PathSegment.Line,(1-it)*E,z)),ot.spot1=new go.Spot(it,0),ot.spot2=new go.Spot(1-it,1),ot}),go.Shape.defineFigureGenerator("Terminator",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.25*E,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*E,.5*z,.25*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*E,.5*z,.25*E,.5*z)),ot.spot1=new go.Spot(.23,0),ot.spot2=new go.Spot(.77,1),ot}),go.Shape.defineFigureGenerator("TransmittalTape",function(lt,E,z){var ot=new go.Geometry,it=lt?lt.parameter1:NaN;isNaN(it)&&(it=.1);var at=new go.PathFigure(0,0,!0);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,0)),at.add(new go.PathSegment(go.PathSegment.Line,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,.75*E,(1-it)*z)),at.add(new go.PathSegment(go.PathSegment.Line,0,(1-it)*z).close()),ot.spot1=go.Spot.TopLeft,ot}),go.Shape.defineFigureGenerator("AndGate",function(lt,E,z){var ot=new go.Geometry,it=pt*.5,at=new go.PathFigure(0,0,!0);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),at.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*z,(.5+it)*E,0,E,(.5-it)*z)),at.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,z,E,(.5+it)*z,(.5+it)*E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z).close()),ot.spot1=go.Spot.TopLeft,ot.spot2=new go.Spot(.55,1),ot}),go.Shape.defineFigureGenerator("Buffer",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z).close()),ot.spot1=new go.Spot(0,.25),ot.spot2=new go.Spot(.5,.75),ot}),go.Shape.defineFigureGenerator("Clock",function(lt,E,z){var ot=new go.Geometry,it=pt*.5,at=.5,ut=new go.PathFigure(E,at*z,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,at*E,z,E,(at+it)*z,(at+it)*E,z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,at*z,(at-it)*E,z,0,(at+it)*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,at*E,0,0,(at-it)*z,(at-it)*E,0)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E,at*z,(at+it)*E,0,E,(at-it)*z));var wt=new go.PathFigure(E,at*z,!1);ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,E,at*z));var Et=new go.PathFigure(.8*E,.75*z,!1);return ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Line,.8*E,.25*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.6*E,.25*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.6*E,.75*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.4*E,.75*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.4*E,.25*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.2*E,.25*z)),Et.add(new go.PathSegment(go.PathSegment.Line,.2*E,.75*z)),ot}),go.Shape.defineFigureGenerator("Ground",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.5*E,0,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*z)),it.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*z)),it.add(new go.PathSegment(go.PathSegment.Move,.3*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,.7*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Move,.4*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.6*E,z)),ot}),go.Shape.defineFigureGenerator("Inverter",function(lt,E,z){var ot=new go.Geometry,it=pt*.1,at=.1,ut=.9,wt=.5,Et=new go.PathFigure(.8*E,.5*z,!0);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Line,0,z)),Et.add(new go.PathSegment(go.PathSegment.Line,0,0)),Et.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*z));var At=new go.PathFigure((ut+at)*E,wt*z,!0);return ot.add(At),At.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+at)*z,(ut+at)*E,(wt+it)*z,(ut+it)*E,(wt+at)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,(ut-at)*E,wt*z,(ut-it)*E,(wt+at)*z,(ut-at)*E,(wt+it)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt-at)*z,(ut-at)*E,(wt-it)*z,(ut-it)*E,(wt-at)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at)*E,wt*z,(ut+it)*E,(wt-at)*z,(ut+at)*E,(wt-it)*z)),ot.spot1=new go.Spot(0,.25),ot.spot2=new go.Spot(.4,.75),ot}),go.Shape.defineFigureGenerator("NandGate",function(lt,E,z){var ot=new go.Geometry,it=pt*.5,at=pt*.4,ut=pt*.1,wt=.1,Et=.9,At=.5,_t=new go.PathFigure(.8*E,.5*z,!0);ot.add(_t),_t.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,z,.8*E,(.5+at)*z,(.4+it)*E,z)),_t.add(new go.PathSegment(go.PathSegment.Line,0,z)),_t.add(new go.PathSegment(go.PathSegment.Line,0,0)),_t.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),_t.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*z,(.4+it)*E,0,.8*E,(.5-at)*z));var Mt=new go.PathFigure((Et+wt)*E,At*z,!0);return ot.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E,(At+wt)*z,(Et+wt)*E,(At+ut)*z,(Et+ut)*E,(At+wt)*z)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(Et-wt)*E,At*z,(Et-ut)*E,(At+wt)*z,(Et-wt)*E,(At+ut)*z)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E,(At-wt)*z,(Et-wt)*E,(At-ut)*z,(Et-ut)*E,(At-wt)*z)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(Et+wt)*E,At*z,(Et+ut)*E,(At-wt)*z,(Et+wt)*E,(At-ut)*z)),ot.spot1=new go.Spot(0,.05),ot.spot2=new go.Spot(.55,.95),ot}),go.Shape.defineFigureGenerator("NorGate",function(lt,E,z){var ot=new go.Geometry,it=.5,at=pt*it,ut=0,wt=.5,Et=new go.PathFigure(.8*E,.5*z,!0);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,0,z,.7*E,(wt+at)*z,(ut+at)*E,(wt+it)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*z,.25*E,.25*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*z,(ut+at)*E,(wt-it)*z,.7*E,(wt-at)*z)),it=.1,at=pt*.1,ut=.9,wt=.5;var At=new go.PathFigure((ut-it)*E,wt*z,!0);return ot.add(At),At.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt-it)*z,(ut-it)*E,(wt-at)*z,(ut-at)*E,(wt-it)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,(ut+it)*E,wt*z,(ut+at)*E,(wt-it)*z,(ut+it)*E,(wt-at)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+it)*z,(ut+it)*E,(wt+at)*z,(ut+at)*E,(wt+it)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,(ut-it)*E,wt*z,(ut-at)*E,(wt+it)*z,(ut-it)*E,(wt+at)*z)),ot.spot1=new go.Spot(.2,.25),ot.spot2=new go.Spot(.6,.75),ot}),go.Shape.defineFigureGenerator("OrGate",function(lt,E,z){var ot=new go.Geometry,it=.5,at=pt*it,ut=0,wt=.5,Et=new go.PathFigure(0,0,!0);return ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*z,(ut+at+at)*E,(wt-it)*z,.8*E,(wt-at)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,0,z,.8*E,(wt+at)*z,(ut+at+at)*E,(wt+it)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*E,.75*z,.25*E,.25*z).close()),ot.spot1=new go.Spot(.2,.25),ot.spot2=new go.Spot(.75,.75),ot}),go.Shape.defineFigureGenerator("XnorGate",function(lt,E,z){var ot=new go.Geometry,it=.5,at=pt*it,ut=.2,wt=.5,Et=new go.PathFigure(.1*E,0,!1);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,z,.35*E,.25*z,.35*E,.75*z));var At=new go.PathFigure(.8*E,.5*z,!0);ot.add(At),At.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,z,.7*E,(wt+at)*z,(ut+at)*E,(wt+it)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*z,.45*E,.25*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.5*z,(ut+at)*E,(wt-it)*z,.7*E,(wt-at)*z)),it=.1,at=pt*.1,ut=.9,wt=.5;var _t=new go.PathFigure((ut-it)*E,wt*z,!0);return ot.add(_t),_t.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt-it)*z,(ut-it)*E,(wt-at)*z,(ut-at)*E,(wt-it)*z)),_t.add(new go.PathSegment(go.PathSegment.Bezier,(ut+it)*E,wt*z,(ut+at)*E,(wt-it)*z,(ut+it)*E,(wt-at)*z)),_t.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+it)*z,(ut+it)*E,(wt+at)*z,(ut+at)*E,(wt+it)*z)),_t.add(new go.PathSegment(go.PathSegment.Bezier,(ut-it)*E,wt*z,(ut-at)*E,(wt+it)*z,(ut-it)*E,(wt+at)*z)),ot.spot1=new go.Spot(.4,.25),ot.spot2=new go.Spot(.65,.75),ot}),go.Shape.defineFigureGenerator("XorGate",function(lt,E,z){var ot=new go.Geometry,it=.5,at=pt*it,ut=.2,wt=.5,Et=new go.PathFigure(.1*E,0,!1);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,z,.35*E,.25*z,.35*E,.75*z));var At=new go.PathFigure(.2*E,0,!0);return ot.add(At),At.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*z,(ut+at)*E,(wt-it)*z,.9*E,(wt-at)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,z,.9*E,(wt+at)*z,(ut+at)*E,(wt+it)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,.2*E,0,.45*E,.75*z,.45*E,.25*z).close()),ot.spot1=new go.Spot(.4,.25),ot.spot2=new go.Spot(.8,.75),ot}),go.Shape.defineFigureGenerator("Capacitor",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Move,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),ot}),go.Shape.defineFigureGenerator("Resistor",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.5*z,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.3*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.4*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.6*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*z)),ot}),go.Shape.defineFigureGenerator("Inductor",function(lt,E,z){var ot=new go.Geometry,it=pt*.1,at=.1,ut=.1,wt=.5,Et=new go.PathFigure((ut-it*.5)*E,z,!1);return ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at)*E,0,(ut-it)*E,z,(ut-at)*E,0)),ut=.3,Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,z,(ut+at)*E,0,(ut+it)*E,z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at)*E,0,(ut-it)*E,z,(ut-at)*E,0)),ut=.5,Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,z,(ut+at)*E,0,(ut+it)*E,z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at)*E,0,(ut-it)*E,z,(ut-at)*E,0)),ut=.7,Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,z,(ut+at)*E,0,(ut+it)*E,z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at)*E,0,(ut-it)*E,z,(ut-at)*E,0)),ut=.9,Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut+it*.5)*E,z,(ut+at)*E,0,(ut+it)*E,z)),ot}),go.Shape.defineFigureGenerator("ACvoltageSource",function(lt,E,z){var ot=new go.Geometry,it=pt*.5,at=.5,ut=.5,wt=.5,Et=new go.PathFigure((ut-at)*E,wt*z,!1);return ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt-at)*z,(ut-at)*E,(wt-it)*z,(ut-it)*E,(wt-at)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at)*E,wt*z,(ut+it)*E,(wt-at)*z,(ut+at)*E,(wt-it)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+at)*z,(ut+at)*E,(wt+it)*z,(ut+it)*E,(wt+at)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut-at)*E,wt*z,(ut-it)*E,(wt+at)*z,(ut-at)*E,(wt+it)*z)),Et.add(new go.PathSegment(go.PathSegment.Move,(ut-at+.1)*E,wt*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at-.1)*E,wt*z,ut*E,(wt-at)*z,ut*E,(wt+at)*z)),ot}),go.Shape.defineFigureGenerator("DCvoltageSource",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.75*z,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,.25*z)),it.add(new go.PathSegment(go.PathSegment.Move,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),ot}),go.Shape.defineFigureGenerator("Diode",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E,0,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),ot.spot1=new go.Spot(0,.25),ot.spot2=new go.Spot(.5,.75),ot}),go.Shape.defineFigureGenerator("Wifi",function(lt,E,z){var ot=new go.Geometry,it=E,at=z;E=E*.38,z=z*.6;var ut=pt*.8,wt=.8,Et=0,At=.5,_t=(it-E)/2,Mt=(at-z)/2,jt=new go.PathFigure(Et*E+_t,(At+wt)*z+Mt,!0);ot.add(jt),jt.add(new go.PathSegment(go.PathSegment.Bezier,(Et-wt)*E+_t,At*z+Mt,(Et-ut)*E+_t,(At+wt)*z+Mt,(Et-wt)*E+_t,(At+ut)*z+Mt)),jt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E+_t,(At-wt)*z+Mt,(Et-wt)*E+_t,(At-ut)*z+Mt,(Et-ut)*E+_t,(At-wt)*z+Mt)),jt.add(new go.PathSegment(go.PathSegment.Bezier,(Et-wt+ut*.5)*E+_t,At*z+Mt,Et*E+_t,(At-wt)*z+Mt,(Et-wt+ut*.5)*E+_t,(At-ut)*z+Mt)),jt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E+_t,(At+wt)*z+Mt,(Et-wt+ut*.5)*E+_t,(At+ut)*z+Mt,Et*E+_t,(At+wt)*z+Mt).close()),ut=pt*.4,wt=.4,Et=.2,At=.5;var Lt=new go.PathFigure(Et*E+_t,(At+wt)*z+Mt,!0);ot.add(Lt),Lt.add(new go.PathSegment(go.PathSegment.Bezier,(Et-wt)*E+_t,At*z+Mt,(Et-ut)*E+_t,(At+wt)*z+Mt,(Et-wt)*E+_t,(At+ut)*z+Mt)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E+_t,(At-wt)*z+Mt,(Et-wt)*E+_t,(At-ut)*z+Mt,(Et-ut)*E+_t,(At-wt)*z+Mt)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,(Et-wt+ut*.5)*E+_t,At*z+Mt,Et*E+_t,(At-wt)*z+Mt,(Et-wt+ut*.5)*E+_t,(At-ut)*z+Mt)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E+_t,(At+wt)*z+Mt,(Et-wt+ut*.5)*E+_t,(At+ut)*z+Mt,Et*E+_t,(At+wt)*z+Mt).close()),ut=pt*.2,wt=.2,Et=.5,At=.5;var It=new go.PathFigure((Et-wt)*E+_t,At*z+Mt,!0);ot.add(It),It.add(new go.PathSegment(go.PathSegment.Bezier,Et*E+_t,(At-wt)*z+Mt,(Et-wt)*E+_t,(At-ut)*z+Mt,(Et-ut)*E+_t,(At-wt)*z+Mt)),It.add(new go.PathSegment(go.PathSegment.Bezier,(Et+wt)*E+_t,At*z+Mt,(Et+ut)*E+_t,(At-wt)*z+Mt,(Et+wt)*E+_t,(At-ut)*z+Mt)),It.add(new go.PathSegment(go.PathSegment.Bezier,Et*E+_t,(At+wt)*z+Mt,(Et+wt)*E+_t,(At+ut)*z+Mt,(Et+ut)*E+_t,(At+wt)*z+Mt)),It.add(new go.PathSegment(go.PathSegment.Bezier,(Et-wt)*E+_t,At*z+Mt,(Et-ut)*E+_t,(At+wt)*z+Mt,(Et-wt)*E+_t,(At+ut)*z+Mt)),ut=pt*.4,wt=.4,Et=.8,At=.5;var Ut=new go.PathFigure(Et*E+_t,(At-wt)*z+Mt,!0);ot.add(Ut),Ut.add(new go.PathSegment(go.PathSegment.Bezier,(Et+wt)*E+_t,At*z+Mt,(Et+ut)*E+_t,(At-wt)*z+Mt,(Et+wt)*E+_t,(At-ut)*z+Mt)),Ut.add(new go.PathSegment(go.PathSegment.Bezier,Et*E+_t,(At+wt)*z+Mt,(Et+wt)*E+_t,(At+ut)*z+Mt,(Et+ut)*E+_t,(At+wt)*z+Mt)),Ut.add(new go.PathSegment(go.PathSegment.Bezier,(Et+wt-ut*.5)*E+_t,At*z+Mt,Et*E+_t,(At+wt)*z+Mt,(Et+wt-ut*.5)*E+_t,(At+ut)*z+Mt)),Ut.add(new go.PathSegment(go.PathSegment.Bezier,Et*E+_t,(At-wt)*z+Mt,(Et+wt-ut*.5)*E+_t,(At-ut)*z+Mt,Et*E+_t,(At-wt)*z+Mt).close()),ut=pt*.8,wt=.8,Et=1,At=.5;var Xt=new go.PathFigure(Et*E+_t,(At-wt)*z+Mt,!0);return ot.add(Xt),Xt.add(new go.PathSegment(go.PathSegment.Bezier,(Et+wt)*E+_t,At*z+Mt,(Et+ut)*E+_t,(At-wt)*z+Mt,(Et+wt)*E+_t,(At-ut)*z+Mt)),Xt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E+_t,(At+wt)*z+Mt,(Et+wt)*E+_t,(At+ut)*z+Mt,(Et+ut)*E+_t,(At+wt)*z+Mt)),Xt.add(new go.PathSegment(go.PathSegment.Bezier,(Et+wt-ut*.5)*E+_t,At*z+Mt,Et*E+_t,(At+wt)*z+Mt,(Et+wt-ut*.5)*E+_t,(At+ut)*z+Mt)),Xt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E+_t,(At-wt)*z+Mt,(Et+wt-ut*.5)*E+_t,(At-ut)*z+Mt,Et*E+_t,(At-wt)*z+Mt).close()),ot}),go.Shape.defineFigureGenerator("Email",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var at=new go.PathFigure(0,0,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,0)),at.add(new go.PathSegment(go.PathSegment.Move,0,z)),at.add(new go.PathSegment(go.PathSegment.Line,.45*E,.54*z)),at.add(new go.PathSegment(go.PathSegment.Move,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,.55*E,.54*z)),ot}),go.Shape.defineFigureGenerator("Ethernet",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.35*E,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.65*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*z)),it.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*z)),it.add(new go.PathSegment(go.PathSegment.Line,.35*E,0).close());var at=new go.PathFigure(.1*E,z,!0,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.4*E,z)),at.add(new go.PathSegment(go.PathSegment.Line,.4*E,.6*z)),at.add(new go.PathSegment(go.PathSegment.Line,.1*E,.6*z)),at.add(new go.PathSegment(go.PathSegment.Line,.1*E,z).close());var ut=new go.PathFigure(.6*E,z,!0,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.9*E,z)),ut.add(new go.PathSegment(go.PathSegment.Line,.9*E,.6*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.6*E,.6*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.6*E,z).close());var wt=new go.PathFigure(0,.5*z,!1);return ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),wt.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*z)),wt.add(new go.PathSegment(go.PathSegment.Line,.5*E,.4*z)),wt.add(new go.PathSegment(go.PathSegment.Move,.75*E,.5*z)),wt.add(new go.PathSegment(go.PathSegment.Line,.75*E,.6*z)),wt.add(new go.PathSegment(go.PathSegment.Move,.25*E,.5*z)),wt.add(new go.PathSegment(go.PathSegment.Line,.25*E,.6*z)),ot}),go.Shape.defineFigureGenerator("Power",function(lt,E,z){var ot=new go.Geometry,it=pt*.4,at=.4,ut=.5,wt=.5,Et=Ft(),At=Ft(),_t=Ft(),Mt=Ft();kt(ut,wt-at,ut+it,wt-at,ut+at,wt-it,ut+at,wt,.5,Et,Et,At,_t,Mt);var jt=Rt(At.x,At.y),Lt=new go.PathFigure(At.x*E,At.y*z,!0);ot.add(Lt),Lt.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at)*E,wt*z,_t.x*E,_t.y*z,Mt.x*E,Mt.y*z)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+at)*z,(ut+at)*E,(wt+it)*z,(ut+it)*E,(wt+at)*z)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,(ut-at)*E,wt*z,(ut-it)*E,(wt+at)*z,(ut-at)*E,(wt+it)*z)),kt(ut-at,wt,ut-at,wt-it,ut-it,wt-at,ut,wt-at,.5,_t,Mt,At,Et,Et),Lt.add(new go.PathSegment(go.PathSegment.Bezier,At.x*E,At.y*z,_t.x*E,_t.y*z,Mt.x*E,Mt.y*z)),it=pt*.3,at=.3,kt(ut-at,wt,ut-at,wt-it,ut-it,wt-at,ut,wt-at,.5,_t,Mt,At,Et,Et),Lt.add(new go.PathSegment(go.PathSegment.Line,At.x*E,At.y*z)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,(ut-at)*E,wt*z,Mt.x*E,Mt.y*z,_t.x*E,_t.y*z)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+at)*z,(ut-at)*E,(wt+it)*z,(ut-it)*E,(wt+at)*z)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,(ut+at)*E,wt*z,(ut+it)*E,(wt+at)*z,(ut+at)*E,(wt+it)*z)),kt(ut,wt-at,ut+it,wt-at,ut+at,wt-it,ut+at,wt,.5,Et,Et,At,_t,Mt),Lt.add(new go.PathSegment(go.PathSegment.Bezier,At.x*E,At.y*z,Mt.x*E,Mt.y*z,_t.x*E,_t.y*z).close());var Lt=new go.PathFigure(.45*E,0,!0);return ot.add(Lt),Lt.add(new go.PathSegment(go.PathSegment.Line,.45*E,.5*z)),Lt.add(new go.PathSegment(go.PathSegment.Line,.55*E,.5*z)),Lt.add(new go.PathSegment(go.PathSegment.Line,.55*E,0).close()),ie(Et),ie(At),ie(_t),ie(Mt),ie(jt),ot.spot1=new go.Spot(.25,.45),ot.spot2=new go.Spot(.75,.8),ot}),go.Shape.defineFigureGenerator("Fallout",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,z/2,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Arc,180,360,E/2,z/2,E/2,z/2));function at(ut,wt,Et){ut.add(new go.PathSegment(go.PathSegment.Move,(.3+wt)*E,(.8+Et)*z)),ut.add(new go.PathSegment(go.PathSegment.Line,(.5+wt)*E,(.5+Et)*z)),ut.add(new go.PathSegment(go.PathSegment.Line,(.1+wt)*E,(.5+Et)*z)),ut.add(new go.PathSegment(go.PathSegment.Line,(.3+wt)*E,(.8+Et)*z).close())}return at(it,0,0),at(it,.4,0),at(it,.2,-.3),ot}),go.Shape.defineFigureGenerator("IrritationHazard",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.2*E,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.3*z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,.7*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.7*z)),it.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,.3*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.2*z).close()),ot.spot1=new go.Spot(.3,.3),ot.spot2=new go.Spot(.7,.7),ot}),go.Shape.defineFigureGenerator("ElectricalHazard",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.37*E,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.11*z)),it.add(new go.PathSegment(go.PathSegment.Line,.77*E,.04*z)),it.add(new go.PathSegment(go.PathSegment.Line,.33*E,.49*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.37*z)),it.add(new go.PathSegment(go.PathSegment.Line,.63*E,.86*z)),it.add(new go.PathSegment(go.PathSegment.Line,.77*E,.91*z)),it.add(new go.PathSegment(go.PathSegment.Line,.34*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.34*E,.78*z)),it.add(new go.PathSegment(go.PathSegment.Line,.44*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,.65*E,.56*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.68*z).close()),ot}),go.Shape.defineFigureGenerator("FireHazard",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.1*E,z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Bezier,.29*E,0,-.25*E,.63*z,.45*E,.44*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.51*E,.42*z,.48*E,.17*z,.54*E,.35*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.59*E,.18*z,.59*E,.29*z,.58*E,.28*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.75*E,.6*z,.8*E,.34*z,.88*E,.43*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.88*E,.31*z,.87*E,.48*z,.88*E,.43*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,z,1.17*E,.76*z,.82*E,.8*z).close()),ot.spot1=new go.Spot(.07,.445),ot.spot2=new go.Spot(.884,.958),ot}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(lt,E,z){var ot=new go.Geometry,it=.5,at=0,ut=0,wt=it*pt,Et=.4*Math.SQRT2/2+.5,At=.5-.5*Math.SQRT2/2,_t=1,Mt=.5,jt=.5,Lt=0,It=new go.PathFigure(Et*E,(1-At)*z,!1);return ot.add(It),It.add(new go.PathSegment(go.PathSegment.Bezier,_t*E,Mt*z,_t*E,.7*z,_t*E,Mt*z)),It.add(new go.PathSegment(go.PathSegment.Bezier,(jt+at)*E,(Lt+at)*z,(.5+it+at)*E,(.5-wt+at)*z,(.5+wt+at)*E,(.5-it+at)*z)),It.add(new go.PathSegment(go.PathSegment.Bezier,(.5-it+at)*E,(.5+ut)*z,(.5-wt+at)*E,(.5-it+ut)*z,(.5-it+at)*E,(.5-wt+ut)*z)),It.add(new go.PathSegment(go.PathSegment.Bezier,(.35+at)*E,.9*z,(.5-it+at)*E,(.5+wt+ut)*z,(.5-wt+at)*E,.9*z)),It.add(new go.PathSegment(go.PathSegment.Move,(.25+at)*E,.8*z)),It.add(new go.PathSegment(go.PathSegment.Line,(.35+at)*E,.9*z)),It.add(new go.PathSegment(go.PathSegment.Line,(.2+at)*E,.95*z)),ot}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Move,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),ot}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Move,0,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Move,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),ot}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!1);ot.add(it);var at=new go.PathFigure(E,z,!1);ot.add(at);var ut=new go.PathFigure(0,.5*z,!1);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*z,.2*E,.35*z,.3*E,.35*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*z,.7*E,.65*z,.8*E,.65*z)),ot}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.5*z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z).close()),ot}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.2*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.8*z).close());var it=new go.PathFigure(0,.2*z,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.2*z)),ot}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.7*E,z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.3*E,z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,0,.6*E,.5*z,0,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.7*E,0)),it.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,z,.4*E,.5*z,E,.5*z).close());var at=new go.PathFigure(.45*E,.73*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.7*E,.73*z)),at.add(new go.PathSegment(go.PathSegment.Move,.38*E,.5*z)),at.add(new go.PathSegment(go.PathSegment.Line,.63*E,.5*z)),at.add(new go.PathSegment(go.PathSegment.Move,.31*E,.27*z)),at.add(new go.PathSegment(go.PathSegment.Line,.56*E,.27*z)),ot}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!1);ot.add(it);var at=new go.PathFigure(.335*E,(1-.555)*z,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*z)),at.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*z)),at.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*z)),at.add(new go.PathSegment(go.PathSegment.Bezier,E,.68*z,(1-.12)*E,.46*z,(1-.02)*E,.54*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,z)),at.add(new go.PathSegment(go.PathSegment.Line,0,.68*z)),at.add(new go.PathSegment(go.PathSegment.Bezier,.335*E,(1-.555)*z,.02*E,.54*z,.12*E,.46*z)),at.add(new go.PathSegment(go.PathSegment.Line,.365*E,(1-.595)*z));var ut=.5-.285,wt=.5,Et=ut,At=Math.PI/4,_t=4*(1-Math.cos(At))/(3*Math.sin(At)),Mt=_t*.5,jt=ut,Lt=ut,It=_t*jt,Ut=_t*Lt;at.add(new go.PathSegment(go.PathSegment.Bezier,(wt-jt)*E,Et*z,(wt-(It+jt)/2)*E,(Et+(Lt+Ut)/2)*z,(wt-jt)*E,(Et+Ut)*z)),at.add(new go.PathSegment(go.PathSegment.Bezier,wt*E,(Et-Lt)*z,(wt-jt)*E,(Et-Ut)*z,(wt-It)*E,(Et-Lt)*z)),at.add(new go.PathSegment(go.PathSegment.Bezier,(wt+jt)*E,Et*z,(wt+It)*E,(Et-Lt)*z,(wt+jt)*E,(Et-Ut)*z)),at.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*E,(1-.595)*z,(wt+jt)*E,(Et+Ut)*z,(wt+(It+jt)/2)*E,(Et+(Lt+Ut)/2)*z)),at.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*E,(1-.595)*z)),at.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.555)*z)),at.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*E,(1-.405)*z)),at.add(new go.PathSegment(go.PathSegment.Line,.335*E,(1-.405)*z));var Xt=new go.PathFigure(.2*E,z,!1);ot.add(Xt),Xt.add(new go.PathSegment(go.PathSegment.Line,.2*E,.8*z));var Gt=new go.PathFigure(.8*E,z,!1);return ot.add(Gt),Gt.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*z)),ot}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.1*E,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.9*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.1*E,z).close());var at=new go.PathFigure(.2*E,.2*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*z)),at.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*z)),at.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*z)),at.add(new go.PathSegment(go.PathSegment.Move,.2*E,.6*z)),at.add(new go.PathSegment(go.PathSegment.Line,.8*E,.6*z)),at.add(new go.PathSegment(go.PathSegment.Move,.2*E,.8*z)),at.add(new go.PathSegment(go.PathSegment.Line,.8*E,.8*z)),ot}),go.Shape.defineFigureGenerator("BpmnEventError",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.66*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.66*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.33*E,.5*z).close()),ot}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!1);ot.add(it);var at=new go.PathFigure(E,z,!1);ot.add(at);var ut=new go.PathFigure(.1*E,z,!0);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),ut.add(new go.PathSegment(go.PathSegment.Line,.9*E,z)),ut.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*z).close()),ot}),go.Shape.defineFigureGenerator("Caution",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.05*E,z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.8*z,0,z,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,.45*E,.1*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.55*E,.1*z,.5*E,0,.5*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.95*E,.9*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,z,E,z,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.05*E,z));var at=.05;return it.add(new go.PathSegment(go.PathSegment.Move,(.5-at)*E,.875*z)),it.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*E,.875*z,at*E,at*z)),it.add(new go.PathSegment(go.PathSegment.Move,.5*E,.75*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.325*z,.575*E,.725*z,.625*E,.375*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.75*z,.375*E,.375*z,.425*E,.725*z)),ot}),go.Shape.defineFigureGenerator("Recycle",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.45*E,.95*z,!1);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.2*E,.95*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.185*E,.85*z,.17*E,.95*z,.15*E,.9*z)),it.add(new go.PathSegment(go.PathSegment.Line,.235*E,.75*z)),it.add(new go.PathSegment(go.PathSegment.Line,.3*E,.625*z)),it.add(new go.PathSegment(go.PathSegment.Line,.35*E,.65*z)),it.add(new go.PathSegment(go.PathSegment.Line,.275*E,.45*z)),it.add(new go.PathSegment(go.PathSegment.Line,.05*E,.45*z)),it.add(new go.PathSegment(go.PathSegment.Line,.1*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.05*E,.575*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.1875*E,.95*z,0,.675*z,0,.7*z)),it.add(new go.PathSegment(go.PathSegment.Move,.45*E,.95*z)),it.add(new go.PathSegment(go.PathSegment.Line,.45*E,.775*z)),it.add(new go.PathSegment(go.PathSegment.Line,.22*E,.775*z));var at=new go.PathFigure(.475*E,.2*z,!1);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.4*E,.4*z)),at.add(new go.PathSegment(go.PathSegment.Line,.225*E,.3*z)),at.add(new go.PathSegment(go.PathSegment.Line,.275*E,.175*z)),at.add(new go.PathSegment(go.PathSegment.Line,.325*E,.05*z)),at.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,.05*z,.35*E,0,.375*E,0)),at.add(new go.PathSegment(go.PathSegment.Line,.575*E,.375*z)),at.add(new go.PathSegment(go.PathSegment.Line,.525*E,.4*z)),at.add(new go.PathSegment(go.PathSegment.Line,.75*E,.475*z)),at.add(new go.PathSegment(go.PathSegment.Line,.85*E,.315*z)),at.add(new go.PathSegment(go.PathSegment.Line,.8*E,.32*z)),at.add(new go.PathSegment(go.PathSegment.Line,.65*E,.05*z)),at.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,0,.65*E,.05*z,.625*E,0)),at.add(new go.PathSegment(go.PathSegment.Line,.38*E,.0105*z));var ut=new go.PathFigure(.675*E,.575*z,!1);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.875*E,.525*z)),ut.add(new go.PathSegment(go.PathSegment.Line,E,.775*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,.85*E,.95*z,E,.8*z,E,.85*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.65*E,.95*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.65*E,z)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*E,.85*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.65*E,.725*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.65*E,.775*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.7*E,.775*z)),ut.add(new go.PathSegment(go.PathSegment.Line,E,.775*z)),ut.add(new go.PathSegment(go.PathSegment.Move,.675*E,.575*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.775*E,.775*z)),ot}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(lt,E,z){var ot=new go.Geometry,it=.5,at=pt*.5,ut=new go.PathFigure(E,it*z,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Bezier,it*E,z,E,(it+at)*z,(it+at)*E,z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,it*z,(it-at)*E,z,0,(it+at)*z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,it*E,0,0,(it-at)*z,(it-at)*E,0)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E,it*z,(it+at)*E,0,E,(it-at)*z));var wt=new go.PathFigure(it*E,0,!1);return ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,it*E,.15*z)),wt.add(new go.PathSegment(go.PathSegment.Move,it*E,z)),wt.add(new go.PathSegment(go.PathSegment.Line,it*E,.85*z)),wt.add(new go.PathSegment(go.PathSegment.Move,0,it*z)),wt.add(new go.PathSegment(go.PathSegment.Line,.15*E,it*z)),wt.add(new go.PathSegment(go.PathSegment.Move,E,it*z)),wt.add(new go.PathSegment(go.PathSegment.Line,.85*E,it*z)),wt.add(new go.PathSegment(go.PathSegment.Move,it*E,it*z)),wt.add(new go.PathSegment(go.PathSegment.Line,.58*E,.1*z)),wt.add(new go.PathSegment(go.PathSegment.Move,it*E,it*z)),wt.add(new go.PathSegment(go.PathSegment.Line,.78*E,.54*z)),ot}),go.Shape.defineFigureGenerator("Package",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.15*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,.15*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z).close());var at=new go.PathFigure(0,.15*z,!0);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,0,0)),at.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),at.add(new go.PathSegment(go.PathSegment.Line,.65*E,.15*z).close()),ot.spot1=new go.Spot(0,.1),ot.spot2=new go.Spot(1,1),ot}),go.Shape.defineFigureGenerator("Class",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var at=new go.PathFigure(0,.2*z,!1);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,.2*z).close());var ut=new go.PathFigure(0,.5*z,!1);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E,.5*z).close()),ot}),go.Shape.defineFigureGenerator("Component",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E,z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.15*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.15*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z).close());var at=new go.PathFigure(0,.2*z,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.45*E,.2*z)),at.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*z)),at.add(new go.PathSegment(go.PathSegment.Line,0,.4*z)),at.add(new go.PathSegment(go.PathSegment.Line,0,.2*z).close());var ut=new go.PathFigure(0,.6*z,!0);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.45*E,.6*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.45*E,.8*z)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.8*z)),ut.add(new go.PathSegment(go.PathSegment.Line,0,.6*z).close()),ot}),go.Shape.defineFigureGenerator("Boat Shipment",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.15*E,.6*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,.15*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.85*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.15*E,.6*z));var at=new go.PathFigure(.15*E,.6*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.85*E,.6*z)),ot}),go.Shape.defineFigureGenerator("Customer/Supplier",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E,z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.66*E,.33*z)),it.add(new go.PathSegment(go.PathSegment.Line,.66*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.33*E,.33*z)),it.add(new go.PathSegment(go.PathSegment.Line,.33*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,0,.33*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z).close()),ot}),go.Shape.defineFigureGenerator("Workcell",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.65*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.65*E,.4*z)),it.add(new go.PathSegment(go.PathSegment.Line,.35*E,.4*z)),it.add(new go.PathSegment(go.PathSegment.Line,.35*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z).close()),ot}),go.Shape.defineFigureGenerator("Supermarket",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.33*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.33*z)),it.add(new go.PathSegment(go.PathSegment.Move,E,.33*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.66*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.66*z)),it.add(new go.PathSegment(go.PathSegment.Move,E,.66*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),ot}),go.Shape.defineFigureGenerator("TruckShipment",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var at=new go.PathFigure(E,.8*z,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,.4*z)),at.add(new go.PathSegment(go.PathSegment.Line,.6*E,.4*z)),at.add(new go.PathSegment(go.PathSegment.Line,.6*E,.8*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,.8*z).close());var ut=.1,wt=pt*.1,Et=.2,At=.9,_t=new go.PathFigure((Et-ut)*E,At*z,!0);ot.add(_t),_t.add(new go.PathSegment(go.PathSegment.Bezier,Et*E,(At-ut)*z,(Et-ut)*E,(At-wt)*z,(Et-wt)*E,(At-ut)*z)),_t.add(new go.PathSegment(go.PathSegment.Bezier,(Et+ut)*E,At*z,(Et+wt)*E,(At-ut)*z,(Et+ut)*E,(At-wt)*z)),_t.add(new go.PathSegment(go.PathSegment.Bezier,Et*E,(At+ut)*z,(Et+ut)*E,(At+wt)*z,(Et+wt)*E,(At+ut)*z)),_t.add(new go.PathSegment(go.PathSegment.Bezier,(Et-ut)*E,At*z,(Et-wt)*E,(At+ut)*z,(Et-ut)*E,(At+wt)*z).close()),ut=.1,wt=pt*.1,Et=.8,At=.9;var Mt=new go.PathFigure((Et-ut)*E,At*z,!0);return ot.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E,(At-ut)*z,(Et-ut)*E,(At-wt)*z,(Et-wt)*E,(At-ut)*z)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(Et+ut)*E,At*z,(Et+wt)*E,(At-ut)*z,(Et+ut)*E,(At-wt)*z)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,Et*E,(At+ut)*z,(Et+ut)*E,(At+wt)*z,(Et+wt)*E,(At+ut)*z)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(Et-ut)*E,At*z,(Et-wt)*E,(At+ut)*z,(Et-ut)*E,(At+wt)*z).close()),ot}),go.Shape.defineFigureGenerator("KanbanPost",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.2*E,0,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.2*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,0)),it.add(new go.PathSegment(go.PathSegment.Move,.5*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.2*E,z)),it.add(new go.PathSegment(go.PathSegment.Move,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,z)),ot}),go.Shape.defineFigureGenerator("Forklift",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,0,0));var at=new go.PathFigure(0,.5*z,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,0,.8*z)),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*z)),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*z)),at.add(new go.PathSegment(go.PathSegment.Line,0,.5*z));var ut=new go.PathFigure(.5*E,.8*z,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.5*E,.1*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*E,.1*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*E,.8*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.5*E,.8*z));var wt=new go.PathFigure(.5*E,.7*z,!1);ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,E,.7*z));var Et=.1,At=pt*.1,_t=.1,Mt=.9,jt=new go.PathFigure((_t-Et)*E,Mt*z,!0);ot.add(jt),jt.add(new go.PathSegment(go.PathSegment.Bezier,_t*E,(Mt-Et)*z,(_t-Et)*E,(Mt-At)*z,(_t-At)*E,(Mt-Et)*z)),jt.add(new go.PathSegment(go.PathSegment.Bezier,(_t+Et)*E,Mt*z,(_t+At)*E,(Mt-Et)*z,(_t+Et)*E,(Mt-At)*z)),jt.add(new go.PathSegment(go.PathSegment.Bezier,_t*E,(Mt+Et)*z,(_t+Et)*E,(Mt+At)*z,(_t+At)*E,(Mt+Et)*z)),jt.add(new go.PathSegment(go.PathSegment.Bezier,(_t-Et)*E,Mt*z,(_t-At)*E,(Mt+Et)*z,(_t-Et)*E,(Mt+At)*z)),Et=.1,At=pt*.1,_t=.4,Mt=.9;var Lt=new go.PathFigure((_t-Et)*E,Mt*z,!0);return ot.add(Lt),Lt.add(new go.PathSegment(go.PathSegment.Bezier,_t*E,(Mt-Et)*z,(_t-Et)*E,(Mt-At)*z,(_t-At)*E,(Mt-Et)*z)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,(_t+Et)*E,Mt*z,(_t+At)*E,(Mt-Et)*z,(_t+Et)*E,(Mt-At)*z)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,_t*E,(Mt+Et)*z,(_t+Et)*E,(Mt+At)*z,(_t+At)*E,(Mt+Et)*z)),Lt.add(new go.PathSegment(go.PathSegment.Bezier,(_t-Et)*E,Mt*z,(_t-At)*E,(Mt+Et)*z,(_t-Et)*E,(Mt+At)*z)),ot}),go.Shape.defineFigureGenerator("RailShipment",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.1*E,.4*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.45*E,.4*z)),it.add(new go.PathSegment(go.PathSegment.Line,.45*E,.9*z)),it.add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*z)),it.add(new go.PathSegment(go.PathSegment.Line,.1*E,.4*z).close());var at=new go.PathFigure(.45*E,.7*z,!1);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.55*E,.7*z));var ut=new go.PathFigure(.55*E,.4*z,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.9*E,.9*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*E,.9*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.55*E,.4*z).close());var _t=.05,Mt=pt*.05,jt=.175,Lt=.95,wt=new go.PathFigure((jt-_t)*E,Lt*z,!0);ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Bezier,jt*E,(Lt-_t)*z,(jt-_t)*E,(Lt-Mt)*z,(jt-Mt)*E,(Lt-_t)*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,(jt+_t)*E,Lt*z,(jt+Mt)*E,(Lt-_t)*z,(jt+_t)*E,(Lt-Mt)*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,jt*E,(Lt+_t)*z,(jt+_t)*E,(Lt+Mt)*z,(jt+Mt)*E,(Lt+_t)*z)),wt.add(new go.PathSegment(go.PathSegment.Bezier,(jt-_t)*E,Lt*z,(jt-Mt)*E,(Lt+_t)*z,(jt-_t)*E,(Lt+Mt)*z));var _t=.05,Mt=pt*.05,jt=.375,Lt=.95,Et=new go.PathFigure((jt-_t)*E,Lt*z,!0);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,jt*E,(Lt-_t)*z,(jt-_t)*E,(Lt-Mt)*z,(jt-Mt)*E,(Lt-_t)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(jt+_t)*E,Lt*z,(jt+Mt)*E,(Lt-_t)*z,(jt+_t)*E,(Lt-Mt)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,jt*E,(Lt+_t)*z,(jt+_t)*E,(Lt+Mt)*z,(jt+Mt)*E,(Lt+_t)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(jt-_t)*E,Lt*z,(jt-Mt)*E,(Lt+_t)*z,(jt-_t)*E,(Lt+Mt)*z));var _t=.05,Mt=pt*.05,jt=.625,Lt=.95,At=new go.PathFigure((jt-_t)*E,Lt*z,!0);ot.add(At),At.add(new go.PathSegment(go.PathSegment.Bezier,jt*E,(Lt-_t)*z,(jt-_t)*E,(Lt-Mt)*z,(jt-Mt)*E,(Lt-_t)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,(jt+_t)*E,Lt*z,(jt+Mt)*E,(Lt-_t)*z,(jt+_t)*E,(Lt-Mt)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,jt*E,(Lt+_t)*z,(jt+_t)*E,(Lt+Mt)*z,(jt+Mt)*E,(Lt+_t)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,(jt-_t)*E,Lt*z,(jt-Mt)*E,(Lt+_t)*z,(jt-_t)*E,(Lt+Mt)*z));var _t=.05,Mt=pt*.05,jt=.825,Lt=.95,It=new go.PathFigure((jt-_t)*E,Lt*z,!0);ot.add(It),It.add(new go.PathSegment(go.PathSegment.Bezier,jt*E,(Lt-_t)*z,(jt-_t)*E,(Lt-Mt)*z,(jt-Mt)*E,(Lt-_t)*z)),It.add(new go.PathSegment(go.PathSegment.Bezier,(jt+_t)*E,Lt*z,(jt+Mt)*E,(Lt-_t)*z,(jt+_t)*E,(Lt-Mt)*z)),It.add(new go.PathSegment(go.PathSegment.Bezier,jt*E,(Lt+_t)*z,(jt+_t)*E,(Lt+Mt)*z,(jt+Mt)*E,(Lt+_t)*z)),It.add(new go.PathSegment(go.PathSegment.Bezier,(jt-_t)*E,Lt*z,(jt-Mt)*E,(Lt+_t)*z,(jt-_t)*E,(Lt+Mt)*z).close());var Ut=new go.PathFigure(0,z,!1);return ot.add(Ut),Ut.add(new go.PathSegment(go.PathSegment.Line,E,z).close()),ot}),go.Shape.defineFigureGenerator("Warehouse",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var at=new go.PathFigure(0,.2*z,!1);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,.2*z).close());var ut=new go.PathFigure(.15*E,z,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.15*E,.5*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.4*E,.5*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.4*E,z)),ut.add(new go.PathSegment(go.PathSegment.Line,.15*E,z).close());var wt=.05,Et=pt*.05,At=.35,_t=.775,Mt=new go.PathFigure((At-wt)*E,_t*z,!0);return ot.add(Mt),Mt.add(new go.PathSegment(go.PathSegment.Bezier,At*E,(_t-wt)*z,(At-wt)*E,(_t-Et)*z,(At-Et)*E,(_t-wt)*z)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(At+wt)*E,_t*z,(At+Et)*E,(_t-wt)*z,(At+wt)*E,(_t-Et)*z)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,At*E,(_t+wt)*z,(At+wt)*E,(_t+Et)*z,(At+Et)*E,(_t+wt)*z)),Mt.add(new go.PathSegment(go.PathSegment.Bezier,(At-wt)*E,_t*z,(At-Et)*E,(_t+wt)*z,(At-wt)*E,(_t+Et)*z).close()),ot}),go.Shape.defineFigureGenerator("ControlCenter",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,.1*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,.1*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.9*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Move,.1*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*z).close()),ot}),go.Shape.defineFigureGenerator("Bluetooth",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.75*z,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,.75*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.25*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.75*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.25*z)),ot}),go.Shape.defineFigureGenerator("Bookmark",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,0,0)),it.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*z)),it.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*z)),ot}),go.Shape.defineFigureGenerator("Bookmark",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),it.add(new go.PathSegment(go.PathSegment.Line,0,0)),it.add(new go.PathSegment(go.PathSegment.Move,.2*E,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,.2*z)),it.add(new go.PathSegment(go.PathSegment.Move,.2*E,.4*z)),it.add(new go.PathSegment(go.PathSegment.Line,.8*E,.4*z)),ot}),go.Shape.defineFigureGenerator("Globe",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.5*E,0,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Move,0,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Move,.5*E,0)),it.add(new go.PathSegment(go.PathSegment.Bezier,E,.5*z,.75*E,0,E,.25*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,z,E,.75*z,.75*E,z)),it.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*z,.25*E,z,0,.75*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,0,.25*z,.25*E,0)),it.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,z,.15*E,.25*z,.15*E,.75*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.85*E,.75*z,.85*E,.25*z)),it.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.15*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.15*z,.35*E,.3*z,.65*E,.3*z)),it.add(new go.PathSegment(go.PathSegment.Move,.1675*E,.85*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.8325*E,.85*z,.35*E,.7*z,.65*E,.7*z)),ot}),go.Shape.defineFigureGenerator("Wave",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.25*z,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.25*z,.1*E,0,.2*E,0)),it.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.25*z,.425*E,.5*z,.575*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,E,.25*z,.8*E,0,.9*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.75*z)),it.add(new go.PathSegment(go.PathSegment.Move,0,.25*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.75*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.75*z,.1*E,.5*z,.2*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.7*E,.75*z,.425*E,z,.575*E,z)),it.add(new go.PathSegment(go.PathSegment.Bezier,E,.75*z,.8*E,.5*z,.9*E,.5*z)),ot}),go.Shape.defineFigureGenerator("Operator",function(lt,E,z){var ot=new go.Geometry,it=.3,at=pt*.3,ut=.5,wt=.7,Et=new go.PathFigure((ut-it)*E,wt*z,!0);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt-it)*z,(ut-it)*E,(wt-at)*z,(ut-at)*E,(wt-it)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut+it)*E,wt*z,(ut+at)*E,(wt-it)*z,(ut+it)*E,(wt-at)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+it)*z,(ut+it)*E,(wt+at)*z,(ut+at)*E,(wt+it)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut-it)*E,wt*z,(ut-at)*E,(wt+it)*z,(ut-it)*E,(wt+at)*z));var At=new go.PathFigure(0,.7*z,!1);return ot.add(At),At.add(new go.PathSegment(go.PathSegment.Bezier,E,.7*z,0,0,E,0)),ot}),go.Shape.defineFigureGenerator("TripleFanBlades",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.5*E,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*z,.65*E,.3*z,.65*E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.35*E,.5*z,.35*E,.3*z)),it.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,0,z,.3*E,.6*z,.1*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*z,.2*E,z,.35*E,.95*z)),it.add(new go.PathSegment(go.PathSegment.Move,.5*E,.65*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,E,z,.7*E,.6*z,.9*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.65*z,.8*E,z,.65*E,.95*z)),ot}),go.Shape.defineFigureGenerator("CentrifugalPump",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E,0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),it.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*z,0,.075*z,0,.5*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.4*E,z,0,z,.4*E,z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.4*z,.8*E,z,.85*E,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.4*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,0)),ot}),go.Shape.defineFigureGenerator("Battery",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,.1*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.1*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Move,.4*E,.1*z)),it.add(new go.PathSegment(go.PathSegment.Line,.4*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.6*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.6*E,.1*z));var at=new go.PathFigure(0,.6*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Move,0,.4*z)),at.add(new go.PathSegment(go.PathSegment.Line,E,.4*z)),ot}),go.Shape.defineFigureGenerator("Delete",function(lt,E,z){var ot=new go.Geometry,it=.5,at=pt*.5,ut=.5,wt=.5,Et=new go.PathFigure((ut-it)*E,wt*z,!0);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt-it)*z,(ut-it)*E,(wt-at)*z,(ut-at)*E,(wt-it)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut+it)*E,wt*z,(ut+at)*E,(wt-it)*z,(ut+it)*E,(wt-at)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+it)*z,(ut+it)*E,(wt+at)*z,(ut+at)*E,(wt+it)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut-it)*E,wt*z,(ut-at)*E,(wt+it)*z,(ut-it)*E,(wt+at)*z));var At=new go.PathFigure(.15*E,.5*z,!1);return ot.add(At),At.add(new go.PathSegment(go.PathSegment.Line,.85*E,.5*z)),ot}),go.Shape.defineFigureGenerator("Flag",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.1*z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Move,0,.1*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.1*z,.15*E,0,.35*E,0)),it.add(new go.PathSegment(go.PathSegment.Bezier,E,.1*z,.65*E,.2*z,.85*E,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.5*z,.85*E,.6*z,.65*E,.6*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*z,.35*E,.4*z,.15*E,.4*z).close()),ot}),go.Shape.defineFigureGenerator("Help",function(lt,E,z){var ot=new go.Geometry,it=.5,at=pt*.5,ut=.5,wt=.5,Et=new go.PathFigure((ut-it)*E,wt*z,!1);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt-it)*z,(ut-it)*E,(wt-at)*z,(ut-at)*E,(wt-it)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut+it)*E,wt*z,(ut+at)*E,(wt-it)*z,(ut+it)*E,(wt-at)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+it)*z,(ut+it)*E,(wt+at)*z,(ut+at)*E,(wt+it)*z)),Et.add(new go.PathSegment(go.PathSegment.Bezier,(ut-it)*E,wt*z,(ut-at)*E,(wt+it)*z,(ut-it)*E,(wt+at)*z).close()),it=.05,at=pt*.05,ut=.5,wt=.8;var At=new go.PathFigure((ut-it)*E,wt*z,!1);return ot.add(At),At.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt-it)*z,(ut-it)*E,(wt-at)*z,(ut-at)*E,(wt-it)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,(ut+it)*E,wt*z,(ut+at)*E,(wt-it)*z,(ut+it)*E,(wt-at)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,ut*E,(wt+it)*z,(ut+it)*E,(wt+at)*z,(ut+at)*E,(wt+it)*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,(ut-it)*E,wt*z,(ut-at)*E,(wt+it)*z,(ut-it)*E,(wt+at)*z).close()),At.add(new go.PathSegment(go.PathSegment.Move,.5*E,.7*z)),At.add(new go.PathSegment(go.PathSegment.Line,.5*E,.5*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,.5*E,.2*z,.75*E,.475*z,.75*E,.225*z)),At.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.35*z,.4*E,.2*z,.3*E,.25*z)),ot}),go.Shape.defineFigureGenerator("Location",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(.5*E,z,!0).add(new go.PathSegment(go.PathSegment.Line,.75*E,.5*z)).add(new go.PathSegment(go.PathSegment.Bezier,.5*E,0,.975*E,.025*z,.5*E,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*E,.5*z,.5*E,0,.025*E,.025*z).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*z)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*E,.3*z,.1*E,.1*z).close()))}),go.Shape.defineFigureGenerator("Lock",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.5*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.5*z));var at=new go.PathFigure(.2*E,.5*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*z)),at.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*z)),at.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*z,.25*E,0,.75*E,0)),at.add(new go.PathSegment(go.PathSegment.Line,.8*E,.5*z)),at.add(new go.PathSegment(go.PathSegment.Line,.8*E,.3*z)),ot}),go.Shape.defineFigureGenerator("Unlocked",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.5*z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,.5*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.5*z));var at=new go.PathFigure(.2*E,.5*z,!1);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Move,.2*E,.5*z)),at.add(new go.PathSegment(go.PathSegment.Line,.2*E,.3*z)),at.add(new go.PathSegment(go.PathSegment.Bezier,.8*E,.3*z,.25*E,0,.75*E,0)),at.add(new go.PathSegment(go.PathSegment.Line,.8*E,.35*z)),ot}),go.Shape.defineFigureGenerator("Gear",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(.9375*E,.56246875*z,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.4375*z)).add(new go.PathSegment(go.PathSegment.Line,.80621875*E,.4375*z)).add(new go.PathSegment(go.PathSegment.Bezier,.763*E,.3316875*z,.79840625*E,.39915625*z,.7834375*E,.3635*z)).add(new go.PathSegment(go.PathSegment.Line,.8566875*E,.23796875*z)).add(new go.PathSegment(go.PathSegment.Line,.76825*E,.14959375*z)).add(new go.PathSegment(go.PathSegment.Line,.67596875*E,.24184375*z)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*E,.19378125*z,.64228125*E,.2188125*z,.603875*E,.2021875*z)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.0625*z)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.0625*z)).add(new go.PathSegment(go.PathSegment.Line,.4375*E,.19378125*z)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*E,.239375*z,.39759375*E,.20190625*z,.36053125*E,.2176875*z)).add(new go.PathSegment(go.PathSegment.Line,.2379375*E,.14959375*z)).add(new go.PathSegment(go.PathSegment.Line,.14953125*E,.2379375*z)).add(new go.PathSegment(go.PathSegment.Line,.23934375*E,.3278125*z)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*E,.4375*z,.21765625*E,.36059375*z,.201875*E,.397625*z)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.4375*z)).add(new go.PathSegment(go.PathSegment.Line,.0625*E,.5625*z)).add(new go.PathSegment(go.PathSegment.Line,.1938125*E,.5625*z)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*E,.67596875*z,.20221875*E,.603875*z,.21884375*E,.64228125*z)).add(new go.PathSegment(go.PathSegment.Line,.1495625*E,.76825*z)).add(new go.PathSegment(go.PathSegment.Line,.238*E,.8566875*z)).add(new go.PathSegment(go.PathSegment.Line,.3316875*E,.76296875*z)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*E,.80621875*z,.36353125*E,.78340625*z,.3991875*E,.79840625*z)).add(new go.PathSegment(go.PathSegment.Line,.43753125*E,.9375*z)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.9375*z)).add(new go.PathSegment(go.PathSegment.Line,.5625*E,.80621875*z)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*E,.760625*z,.602375*E,.79809375*z,.63946875*E,.78234375*z)).add(new go.PathSegment(go.PathSegment.Line,.76828125*E,.8566875*z)).add(new go.PathSegment(go.PathSegment.Line,.85671875*E,.76825*z)).add(new go.PathSegment(go.PathSegment.Line,.76065625*E,.67221875*z)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*E,.56246875*z,.78234375*E,.63940625*z,.798125*E,.602375*z)).add(new go.PathSegment(go.PathSegment.Line,.9375*E,.56246875*z).close()).add(new go.PathSegment(go.PathSegment.Move,.5*E,.6*z)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*E,.5*z,.1*E,.1*z).close()))}),go.Shape.defineFigureGenerator("Hand",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.5*z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Bezier,.1*E,.3*z,0,.375*z,.05*E,.325*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.45*E,.075*z,.3*E,.225*z,.4*E,.175*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.525*E,.075*z,.46*E,.05*z,.525*E,.05*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.3*E,.4*z,.525*E,.275*z,.475*E,.325*z)),it.add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.55*z,E,.4*z,E,.55*z)),it.add(new go.PathSegment(go.PathSegment.Line,.425*E,.55*z)),it.add(new go.PathSegment(go.PathSegment.Line,.6*E,.55*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.6*E,.7*z,.675*E,.55*z,.675*E,.7*z)),it.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*z)),it.add(new go.PathSegment(go.PathSegment.Line,.575*E,.7*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.575*E,.85*z,.65*E,.7*z,.65*E,.85*z)),it.add(new go.PathSegment(go.PathSegment.Line,.4*E,.85*z)),it.add(new go.PathSegment(go.PathSegment.Line,.525*E,.85*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.535*E,z,.61*E,.85*z,.61*E,z)),it.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*z,.435*E,z,0,z).close()),ot}),go.Shape.defineFigureGenerator("Map",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,.2*z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.25*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,E,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,z).close()),it.add(new go.PathSegment(go.PathSegment.Move,.25*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.25*E,.8*z)),it.add(new go.PathSegment(go.PathSegment.Move,.5*E,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z)),it.add(new go.PathSegment(go.PathSegment.Move,.75*E,0)),it.add(new go.PathSegment(go.PathSegment.Line,.75*E,.8*z)),ot}),go.Shape.defineFigureGenerator("Eject",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,z,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E,z)),it.add(new go.PathSegment(go.PathSegment.Line,E,z*.7)),it.add(new go.PathSegment(go.PathSegment.Line,0,z*.7).close());var at=new go.PathFigure(0,z*.6,!0);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E,.6*z)),at.add(new go.PathSegment(go.PathSegment.Line,.5*E,0).close()),ot}),go.Shape.defineFigureGenerator("Pencil",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*E,.1*z)).add(new go.PathSegment(go.PathSegment.Line,E,.9*z)).add(new go.PathSegment(go.PathSegment.Line,.9*E,z)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.2*z).close()))}),go.Shape.defineFigureGenerator("Building",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E*1,z*1,!1);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,0,z*.85)),it.add(new go.PathSegment(go.PathSegment.Line,.046*E,z*.85)),it.add(new go.PathSegment(go.PathSegment.Line,.046*E,z*.45)),it.add(new go.PathSegment(go.PathSegment.Line,0,z*.45)),it.add(new go.PathSegment(go.PathSegment.Line,0,z*.3)),it.add(new go.PathSegment(go.PathSegment.Line,.046*E,z*.3)),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,z*0)),it.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,z*.3)),it.add(new go.PathSegment(go.PathSegment.Line,E,z*.3)),it.add(new go.PathSegment(go.PathSegment.Line,E,z*.45)),it.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,z*.45)),it.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*E,z*.85)),it.add(new go.PathSegment(go.PathSegment.Line,E,z*.85).close());var at=new go.PathFigure(.126*E,.85*z,!1);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,.126*E,.45*z)),at.add(new go.PathSegment(go.PathSegment.Line,.322*E,.45*z)),at.add(new go.PathSegment(go.PathSegment.Line,.322*E,.85*z).close());var ut=new go.PathFigure(.402*E,.85*z,!1);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,.402*E,.45*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.598*E,.45*z)),ut.add(new go.PathSegment(go.PathSegment.Line,.598*E,.85*z).close());var wt=new go.PathFigure(.678*E,.85*z,!1);ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,.678*E,.45*z)),wt.add(new go.PathSegment(go.PathSegment.Line,.874*E,.45*z)),wt.add(new go.PathSegment(go.PathSegment.Line,.874*E,.85*z).close());var Et=new go.PathFigure(.5*E,.1*z,!1);return ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*E,.3*z)),Et.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*E,.3*z).close()),ot}),go.Shape.defineFigureGenerator("Staircase",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,z*1,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E*.2,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*.2,z*.8)),it.add(new go.PathSegment(go.PathSegment.Line,E*.4,z*.8)),it.add(new go.PathSegment(go.PathSegment.Line,E*.4,z*.6)),it.add(new go.PathSegment(go.PathSegment.Line,E*.6,z*.6)),it.add(new go.PathSegment(go.PathSegment.Line,E*.6,z*.4)),it.add(new go.PathSegment(go.PathSegment.Line,E*.8,z*.4)),it.add(new go.PathSegment(go.PathSegment.Line,E*.8,z*.2)),it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*.2)),it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*.15)),it.add(new go.PathSegment(go.PathSegment.Line,E*.75,z*.15)),it.add(new go.PathSegment(go.PathSegment.Line,E*.75,z*.35)),it.add(new go.PathSegment(go.PathSegment.Line,E*.55,z*.35)),it.add(new go.PathSegment(go.PathSegment.Line,E*.55,z*.55)),it.add(new go.PathSegment(go.PathSegment.Line,E*.35,z*.55)),it.add(new go.PathSegment(go.PathSegment.Line,E*.35,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.15,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.15,z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,0,z*.95).close()),ot}),go.Shape.defineFigureGenerator("5Bars",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,z*1,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E*.184,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*.184,z*(1-.184)).close());var at=new go.PathFigure(E*.204,z,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E*.204,z*(1-.184))),at.add(new go.PathSegment(go.PathSegment.Line,E*.388,z*(1-.184*2))),at.add(new go.PathSegment(go.PathSegment.Line,E*.388,z*1).close());var ut=new go.PathFigure(E*.408,z,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E*.408,z*(1-.184*2))),ut.add(new go.PathSegment(go.PathSegment.Line,E*.592,z*(1-.184*3))),ut.add(new go.PathSegment(go.PathSegment.Line,E*.592,z*1).close());var wt=new go.PathFigure(E*.612,z,!0);ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,E*.612,z*(1-.184*3))),wt.add(new go.PathSegment(go.PathSegment.Line,E*.796,z*(1-.184*4))),wt.add(new go.PathSegment(go.PathSegment.Line,E*.796,z*1).close());var Et=new go.PathFigure(E*.816,z,!0);return ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Line,E*.816,z*(1-.184*4))),Et.add(new go.PathSegment(go.PathSegment.Line,E*1,z*(1-.184*5))),Et.add(new go.PathSegment(go.PathSegment.Line,E*1,z*1).close()),ot}),go.Shape.defineFigureGenerator("PC",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,0,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*.3,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*.3,0).close());var at=new go.PathFigure(E*.055,.07*z,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E*.245,z*.07)),at.add(new go.PathSegment(go.PathSegment.Line,E*.245,z*.1)),at.add(new go.PathSegment(go.PathSegment.Line,E*.055,z*.1).close());var ut=new go.PathFigure(E*.055,.13*z,!0);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E*.245,z*.13)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.245,z*.16)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.055,z*.16).close());var wt=new go.PathFigure(E*.055,.18*z,!0);ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,E*.245,z*.18)),wt.add(new go.PathSegment(go.PathSegment.Line,E*.245,z*.21)),wt.add(new go.PathSegment(go.PathSegment.Line,E*.055,z*.21).close());var Et=new go.PathFigure(E*1,0,!0);return ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Line,E*.4,0)),Et.add(new go.PathSegment(go.PathSegment.Line,E*.4,z*.65)),Et.add(new go.PathSegment(go.PathSegment.Line,E*1,z*.65).close()),ot}),go.Shape.defineFigureGenerator("Plane",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(.55*E,z,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,.4*E,.7*z)),it.add(new go.PathSegment(go.PathSegment.Line,.1*E,.475*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.35*E,.525*z,0,.4*z,.225*E,.45*z)),it.add(new go.PathSegment(go.PathSegment.Line,.4*E,.475*z)),it.add(new go.PathSegment(go.PathSegment.Line,.15*E,.35*z)),it.add(new go.PathSegment(go.PathSegment.Line,.2*E,.325*z)),it.add(new go.PathSegment(go.PathSegment.Line,.6*E,.325*z)),it.add(new go.PathSegment(go.PathSegment.Line,.85*E,.1*z)),it.add(new go.PathSegment(go.PathSegment.Bezier,.9*E,.2*z,.975*E,0,E,.08*z)),it.add(new go.PathSegment(go.PathSegment.Line,.7*E,.45*z)),it.add(new go.PathSegment(go.PathSegment.Line,.6*E,.95*z)),it.add(new go.PathSegment(go.PathSegment.Line,.55*E,z).close()),ot}),go.Shape.defineFigureGenerator("Key",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E*1,z*.5,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E*.9,.4*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.5,.4*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.5,.35*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.45,.35*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.3,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.15,.2*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.35*z)),it.add(new go.PathSegment(go.PathSegment.Line,0,.65*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.15,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.3,.8*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.45,.65*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.5,.65*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.5,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.6,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.65,.55*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.7,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.75,.55*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.8,.6*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.85,.575*z)),it.add(new go.PathSegment(go.PathSegment.Line,E*.9,.6*z).close()),it.add(new go.PathSegment(go.PathSegment.Move,.17*E,.425*z)),it.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*E,.5*z,.075*E,.075*z).close()),ot}),go.Shape.defineFigureGenerator("FilmTape",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(0,0,!1);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Arc,270,180,E*0,E*.3,E*.055)),it.add(new go.PathSegment(go.PathSegment.Line,0,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*.08,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*.08,z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*1),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*2),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*3),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*4),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*5),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*6),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*7),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*8),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*9),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*10),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*11),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*12),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*13),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*14),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),z*.95)),it.add(new go.PathSegment(go.PathSegment.Line,E*(.08+.056*15),z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*1));var at=new go.PathFigure(0,0,!1);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E*1,z*0)),at.add(new go.PathSegment(go.PathSegment.Arc,270,-180,E*1,E*.3,E*.055)),at.add(new go.PathSegment(go.PathSegment.Line,E*1,z*1));var ut=new go.PathFigure(E*.11,z*.1,!1);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),z*.1)),ut.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*0),z*.8)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.11,z*.8).close());var wt=new go.PathFigure(E*(.11+.24133333*1+.028*1),z*.1,!1);ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),z*.1)),wt.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*1),z*.8)),wt.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*1+.028*1),z*.8).close());var Et=new go.PathFigure(E*(.11+.24133333*2+.028*2),z*.1,!1);return ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),z*.1)),Et.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*3+.028*2),z*.8)),Et.add(new go.PathSegment(go.PathSegment.Line,E*(.11+.24133333*2+.028*2),z*.8).close()),ot}),go.Shape.defineFigureGenerator("FloppyDisk",function(lt,E,z){var ot=new go.Geometry,it=8,at=it*pt,ut=new go.PathFigure(it,0,!1);ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E*.86,0)),ut.add(new go.PathSegment(go.PathSegment.Line,E*1,z*.14)),ut.add(new go.PathSegment(go.PathSegment.Line,E,z-it)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E-it,z,E,z-at,E-at,z)),ut.add(new go.PathSegment(go.PathSegment.Line,it,z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,z-it,at,z,0,z-at)),ut.add(new go.PathSegment(go.PathSegment.Line,0,it)),ut.add(new go.PathSegment(go.PathSegment.Bezier,it,0,0,at,at,0).close());var wt=new go.PathFigure(E*.83,0,!1);ot.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,E*.83,z*.3)),wt.add(new go.PathSegment(go.PathSegment.Line,E*.17,z*.3)),wt.add(new go.PathSegment(go.PathSegment.Line,E*.17,z*0).close());var Et=new go.PathFigure(E*.83,z*1,!1);ot.add(Et),Et.add(new go.PathSegment(go.PathSegment.Line,E*.83,z*.5)),Et.add(new go.PathSegment(go.PathSegment.Line,E*.17,z*.5)),Et.add(new go.PathSegment(go.PathSegment.Line,E*.17,z*1).close());var At=new go.PathFigure(E*.78,z*.05,!1);return ot.add(At),At.add(new go.PathSegment(go.PathSegment.Line,E*.66,z*.05)),At.add(new go.PathSegment(go.PathSegment.Line,E*.66,z*.25)),At.add(new go.PathSegment(go.PathSegment.Line,E*.78,z*.25).close()),ot}),go.Shape.defineFigureGenerator("SpeechBubble",function(lt,E,z){var ot=lt?lt.parameter1:NaN;(isNaN(ot)||ot<0)&&(ot=15),ot=Math.min(ot,E/3),ot=Math.min(ot,z/3);var it=ot*pt,at=z*.8,ut=new go.Geometry,wt=new go.PathFigure(ot,0,!0);return ut.add(wt),wt.add(new go.PathSegment(go.PathSegment.Line,E-ot,0)),wt.add(new go.PathSegment(go.PathSegment.Bezier,E,ot,E-it,0,E,it)),wt.add(new go.PathSegment(go.PathSegment.Line,E,at-ot)),wt.add(new go.PathSegment(go.PathSegment.Bezier,E-ot,at,E,at-it,E-it,at)),wt.add(new go.PathSegment(go.PathSegment.Line,E*.7,at)),wt.add(new go.PathSegment(go.PathSegment.Line,E*.7,z)),wt.add(new go.PathSegment(go.PathSegment.Line,E*.55,at)),wt.add(new go.PathSegment(go.PathSegment.Line,ot,at)),wt.add(new go.PathSegment(go.PathSegment.Bezier,0,at-ot,it,at,0,at-it)),wt.add(new go.PathSegment(go.PathSegment.Line,0,ot)),wt.add(new go.PathSegment(go.PathSegment.Bezier,ot,0,0,it,it,0).close()),it>1?(ut.spot1=new go.Spot(0,0,it,it),ut.spot2=new go.Spot(1,.8,-it,-it)):(ut.spot1=go.Spot.TopLeft,ut.spot2=new go.Spot(1,.8)),ut}),go.Shape.defineFigureGenerator("Repeat",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E*0,z*.45,!0);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E*.25,z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*.5,z*.45)),it.add(new go.PathSegment(go.PathSegment.Line,E*.3,z*.45)),it.add(new go.PathSegment(go.PathSegment.Line,E*.3,z*.9)),it.add(new go.PathSegment(go.PathSegment.Line,E*.6,z*.9)),it.add(new go.PathSegment(go.PathSegment.Line,E*.65,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*.2,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*.2,z*.45).close());var at=new go.PathFigure(E*1,z*.55,!0);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E*.75,z*1)),at.add(new go.PathSegment(go.PathSegment.Line,E*.5,z*.55)),at.add(new go.PathSegment(go.PathSegment.Line,E*.7,z*.55)),at.add(new go.PathSegment(go.PathSegment.Line,E*.7,z*.1)),at.add(new go.PathSegment(go.PathSegment.Line,E*.4,z*.1)),at.add(new go.PathSegment(go.PathSegment.Line,E*.35,z*0)),at.add(new go.PathSegment(go.PathSegment.Line,E*.8,z*0)),at.add(new go.PathSegment(go.PathSegment.Line,E*.8,z*.55).close()),ot}),go.Shape.defineFigureGenerator("Windows",function(lt,E,z){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,E,0)).add(new go.PathSegment(go.PathSegment.Line,E,z)).add(new go.PathSegment(go.PathSegment.Line,0,z).close()).add(new go.PathSegment(go.PathSegment.Move,.4*E,.4*z)).add(new go.PathSegment(go.PathSegment.Line,.4*E,.8*z)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.8*z)).add(new go.PathSegment(go.PathSegment.Line,.9*E,.4*z).close()).add(new go.PathSegment(go.PathSegment.Move,.2*E,.1*z)).add(new go.PathSegment(go.PathSegment.Line,.2*E,.6*z)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.6*z)).add(new go.PathSegment(go.PathSegment.Line,.7*E,.1*z).close()).add(new go.PathSegment(go.PathSegment.Move,.1*E,.6*z)).add(new go.PathSegment(go.PathSegment.Line,.1*E,.9*z)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.9*z)).add(new go.PathSegment(go.PathSegment.Line,.5*E,.6*z).close()))}),go.Shape.defineFigureGenerator("Terminal",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E*0,z*.1,!1);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*.1)),it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*.9)),it.add(new go.PathSegment(go.PathSegment.Line,E*0,z*.9).close());var at=new go.PathFigure(E*.1,z*.2,!0);ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E*.1,z*.25)),at.add(new go.PathSegment(go.PathSegment.Line,E*.22,z*.285)),at.add(new go.PathSegment(go.PathSegment.Line,E*.1,z*.32)),at.add(new go.PathSegment(go.PathSegment.Line,E*.1,z*.37)),at.add(new go.PathSegment(go.PathSegment.Line,E*.275,z*.32)),at.add(new go.PathSegment(go.PathSegment.Line,E*.275,z*.25).close());var ut=new go.PathFigure(E*.28,z*.37,!0);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E*.45,z*.37)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.45,z*.41)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.28,z*.41).close()),ot}),go.Shape.defineFigureGenerator("Beaker",function(lt,E,z){var ot=new go.Geometry,it=15,at=it*pt,ut=new go.PathFigure(E*.62,z*.475,!0);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E,z-it)),ut.add(new go.PathSegment(go.PathSegment.Bezier,E-it,z,E,z-at,E-at,z)),ut.add(new go.PathSegment(go.PathSegment.Line,it,z)),ut.add(new go.PathSegment(go.PathSegment.Bezier,0,z-it,at,z,0,z-at)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.38,z*.475)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.38,z*.03)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.36,z*0)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.64,z*0)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.62,z*.03).close()),at>1?(ot.spot1=new go.Spot(0,0,at,at),ot.spot2=new go.Spot(1,1,-at,-at)):(ot.spot1=go.Spot.TopLeft,ot.spot2=go.Spot.BottomRight),ot}),go.Shape.defineFigureGenerator("Download",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E*0,z*1,!0);ot.add(it);var at=.1/.3;it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*.8,z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*.66,z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*.66,z*.055)),it.add(new go.PathSegment(go.PathSegment.Line,E*.755,z*.055)),it.add(new go.PathSegment(go.PathSegment.Line,E*.93,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*.64,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*.61,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.5,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.39,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.36,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*.07,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),z*.055)),it.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),z*.055)),it.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*0,z*(1-at)).close());var ut=new go.PathFigure(E*.4,z*0,!0);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E*.4,z*.44)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.26,z*.44)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.5,z*.66)),ut.add(new go.PathSegment(go.PathSegment.Line,E*(1-.26),z*.44)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.6,z*.44)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.6,z*0).close()),ot}),go.Shape.defineFigureGenerator("Bin",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E*0,z*1,!0);ot.add(it);var at=.1/.3;return it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*.8,z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*.66,z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*.66,z*.055)),it.add(new go.PathSegment(go.PathSegment.Line,E*.755,z*.055)),it.add(new go.PathSegment(go.PathSegment.Line,E*.93,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*.64,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*.61,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.5,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.39,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.36,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*.07,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),z*.055)),it.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),z*.055)),it.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*0,z*(1-at)).close()),ot}),go.Shape.defineFigureGenerator("Upload",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E*0,z*1,!0);ot.add(it);var at=.1/.3;it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*.8,z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*.66,z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*.66,z*.055)),it.add(new go.PathSegment(go.PathSegment.Line,E*.755,z*.055)),it.add(new go.PathSegment(go.PathSegment.Line,E*.93,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*.64,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*.61,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.5,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.39,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.36,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*.07,z*(1-at))),it.add(new go.PathSegment(go.PathSegment.Line,E*(1-.755),z*.055)),it.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),z*.055)),it.add(new go.PathSegment(go.PathSegment.Line,E*(1-.66),z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*(1-.8),z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*0,z*(1-at)).close());var ut=new go.PathFigure(E*.5,z*0,!0);return ot.add(ut),ut.add(new go.PathSegment(go.PathSegment.Line,E*.26,z*.25)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.4,z*.25)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.4,z*.63)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.6,z*.63)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.6,z*.25)),ut.add(new go.PathSegment(go.PathSegment.Line,E*.74,z*.25).close()),ot}),go.Shape.defineFigureGenerator("EmptyDrink",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E*.15,z*0,!1);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E*.85,z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*.7,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*.3,z*1).close()),ot}),go.Shape.defineFigureGenerator("Drink",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E*.15,z*0,!1);ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E*.85,z*0)),it.add(new go.PathSegment(go.PathSegment.Line,E*.7,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*.3,z*1).close());var at=new go.PathFigure(E*.235,z*.28,!0);return ot.add(at),at.add(new go.PathSegment(go.PathSegment.Line,E*.765,z*.28)),at.add(new go.PathSegment(go.PathSegment.Line,E*.655,z*.97)),at.add(new go.PathSegment(go.PathSegment.Line,E*.345,z*.97).close()),ot}),go.Shape.defineFigureGenerator("4Arrows",function(lt,E,z){var ot=new go.Geometry,it=new go.PathFigure(E*.5,z*0,!0);return ot.add(it),it.add(new go.PathSegment(go.PathSegment.Line,E*.65,z*.25)),it.add(new go.PathSegment(go.PathSegment.Line,E*.55,z*.25)),it.add(new go.PathSegment(go.PathSegment.Line,E*.55,z*.45)),it.add(new go.PathSegment(go.PathSegment.Line,E*.75,z*.45)),it.add(new go.PathSegment(go.PathSegment.Line,E*.75,z*.35)),it.add(new go.PathSegment(go.PathSegment.Line,E*1,z*.5)),it.add(new go.PathSegment(go.PathSegment.Line,E*.75,z*.65)),it.add(new go.PathSegment(go.PathSegment.Line,E*.75,z*.55)),it.add(new go.PathSegment(go.PathSegment.Line,E*.55,z*.55)),it.add(new go.PathSegment(go.PathSegment.Line,E*.55,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.65,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.5,z*1)),it.add(new go.PathSegment(go.PathSegment.Line,E*.35,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.45,z*.75)),it.add(new go.PathSegment(go.PathSegment.Line,E*.45,z*.55)),it.add(new go.PathSegment(go.PathSegment.Line,E*.25,z*.55)),it.add(new go.PathSegment(go.PathSegment.Line,E*.25,z*.65)),it.add(new go.PathSegment(go.PathSegment.Line,E*0,z*.5)),it.add(new go.PathSegment(go.PathSegment.Line,E*.25,z*.35)),it.add(new go.PathSegment(go.PathSegment.Line,E*.25,z*.45)),it.add(new go.PathSegment(go.PathSegment.Line,E*.45,z*.45)),it.add(new go.PathSegment(go.PathSegment.Line,E*.45,z*.25)),it.add(new go.PathSegment(go.PathSegment.Line,E*.35,z*.25).close()),ot}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},80727:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_ARRAY__,__WEBPACK_AMD_DEFINE_RESULT__;(function(){if(typeof window.GGBApplet=="function"){console.warn("deployggb.js was loaded twice");return}var isRenderGGBElementEnabled=!1,scriptLoadStarted=!1,html5AppletsToProcess=null,ggbHTML5LoadedCodebaseIsWebSimple=!1,ggbHTML5LoadedCodebaseVersion=null,ggbHTML5LoadedScript=null,GGBApplet=function(){"use strict";for(var tn={},Ke="5.0",Rt={},Ft=null,ie=!1,rt=!1,kt=null,Ct=!1,St=null,pt=null,vt=0;vt4?parseFloat(me):5};tn.setHTML5Codebase=function(me,fe){pt=me,we(me,fe)},tn.setJavaCodebase=tn.setJavaCodebaseVersion=tn.isCompiledInstalled=tn.setPreCompiledScriptPath=tn.setPreCompiledResourcePath=function(){},tn.setHTML5CodebaseVersion=function(me,fe){var pe=parseFloat(me);if(pe!==NaN&&pe<5){console.log("The GeoGebra HTML5 codebase version "+pe+" is deprecated. Using version latest instead.");return}St=me,re(me,fe)},tn.getHTML5CodebaseVersion=function(){return lt},tn.getParameters=function(){return Rt},tn.setFontsCSSURL=function(me){ut=me},tn.setGiacJSURL=function(me){},tn.setJNLPFile=function(me){xt=me},tn.setJNLPBaseDir=function(me){},tn.inject=function(){function me(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var fe="auto",pe=Rt.id,_e,je=!1,He=0;He=5)return!0;var me=tn.getAppletObject();return me&&typeof me.recalculateEnvironments=="function"?(me.recalculateEnvironments(),!0):!1},tn.startAnimation=function(){var me=tn.getAppletObject();return me&&typeof me.startAnimation=="function"?(me.startAnimation(),!0):!1},tn.stopAnimation=function(){var me=tn.getAppletObject();return me&&typeof me.stopAnimation=="function"?(me.stopAnimation(),!0):!1},tn.getAppletObject=function(){var me=Rt.id!==void 0?Rt.id:"ggbApplet";return window[me]},tn.resize=function(){};var It=function(me,fe,pe){var _e=document.createElement("param");_e.setAttribute("name",fe),_e.setAttribute("value",pe),me.appendChild(_e)},Ut=function(me){return me&&me!=="false"},Xt=function(me,fe,pe){Et(lt)<=4.2&&(pe=!0);var _e=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==lt||ggbHTML5LoadedCodebaseIsWebSimple&&!z)&&(_e=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var je=document.createElement("div");je.classList.add("appletParameters","notranslate");var He=fe.width,Se=fe.height;if(fe.disableAutoScale=fe.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():fe.disableAutoScale,fe.width!==void 0)if(Et(lt)<=4.4)Ut(fe.showToolBar)&&(fe.height-=7),Ut(fe.showAlgebraInput)&&(fe.height-=37),fe.width<605&&Ut(fe.showToolBar)&&(fe.width=605,He=605);else{var xe=100;(Ut(fe.showToolBar)||Ut(fe.showMenuBar))&&(fe.hasOwnProperty("customToolBar")&&(fe.customToolbar=fe.customToolBar),xe=Ut(fe.showMenuBar)?245:155),He=5?(fe.appletOnLoad=function(Bt){var te=me.querySelector(".ggb_preview");te&&te.parentNode.removeChild(te),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(se),window.GGBT_wsf_view&&$(window).trigger("resize"),Ne(Bt)},Ae||se.appendChild(Xe)):je.appendChild(Xe),se.appendChild(je),Ae||me.appendChild(se),setTimeout(function(){tn.resize()},1)}else{var Be=document.createElement("div");Be.className="applet_scaler",Be.style.position="relative",Be.style.display="block",Be.appendChild(je),me.appendChild(Be),fe.appletOnLoad=function(Bt){tn.resize(),Ne(Bt)}}function Te(Bt,te){te&&typeof te.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Bt,te.appletOnLoad):renderGGBElement(Bt),Me("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",te)}function ue(Bt,te){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Bt,params:te}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(ge){Te(ge.article,ge.params)}),html5AppletsToProcess=null)},Et(lt)<5&&(Bt.className+=" geogebraweb")):Te(Bt,te)}if(_e){scriptLoadStarted=!0;for(var $t=0;$t0?(le.remove(),se.attr("id","fullscreencontent").show(),jQuery(Ne).append(se),window.dispatchEvent(new Event("resize"))):Xt(le,fe,!1),window.GGBT_wsf_view.launchFullScreen(Ne)}else ct=_e,Xt(me,fe,!1);if(!window.GGBT_wsf_view)for(Se=0;Seme/4*3&&(le=me/4*3),Ne=le/5.8,xe.setAttribute("src",it),xe.setAttribute("width",le),xe.setAttribute("height",Ne);var se=(me-le)/2,Ae=(fe-Ne)/2;xe.style.left=se+"px",xe.style.top=Ae+"px",je.appendChild(xe)}}return je.appendChild(Se),je},ve=function(me){return me=me.toLowerCase(),me==="html5"||me==="screenshot"?me:"html5"},Kt=["web","webSimple","web3d","tablet","tablet3d","phone"],re=function(me,fe){if(lt=me,fe){we(lt,!0);return}var pe=!ie;if(pe){var _e=Et(lt);!isNaN(_e)&&_e<4.4&&(pe=!1)}var je,He;window.location.protocol.substr(0,4)==="http"?je=window.location.protocol:je="http:";var Se=lt.indexOf("//");Se>0?He=lt:Se===0?He=je+lt:He="https://www.geogebra.org/apps/5.2.814.0/";for(var xe in Kt)if(lt.slice(Kt[xe].length*-1)===Kt[xe]||lt.slice((Kt[xe].length+1)*-1)===Kt[xe]+"/"){we(He,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&pe&&!Ft.is3D&&!Ft.AV&&!Ft.SV&&!Ft.CV&&!Ft.EV2&&!Ft.CP&&!Ft.PC&&!Ft.DA&&!Ft.FI&&!Ft.PV&&!Ut(Rt.showToolBar)&&!Ut(Rt.showMenuBar)&&!Ut(Rt.showAlgebraInput)&&!Ut(Rt.enableRightClick)&&(!Rt.appName||Rt.appName=="classic")?He+="webSimple/":He+="web3d/",we(He,!1)},we=function(me,fe){if(me.requirejs){dt=me;return}me.slice(-1)!=="/"&&(me+="/"),dt=me,fe===null&&(fe=me.indexOf("http")===-1),ft=fe,E="web.nocache.js",z=!1;var pe=dt.split("/");pe.length>1&&(!fe&&pe[pe.length-2]==="webSimple"?(E="webSimple.nocache.js",z=!0):Kt.indexOf(pe[pe.length-2])>=0&&(E=pe[pe.length-2]+".nocache.js")),pe=me.split("/"),lt=pe[pe.length-3],lt.substr(0,4)==="test"?lt=lt.substr(4,1)+"."+lt.substr(5,1):(lt.substr(0,3)==="war"||lt.substr(0,4)==="beta")&&(lt="5.0");var _e=parseFloat(lt);_e!==NaN&&_e<5&&me.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+_e+" is deprecated. Using version latest instead."),re("5.0",fe))},Me=function(me,fe){window.console&&window.console.log&&(!fe||typeof fe.showLogging=="undefined"||fe.showLogging&&fe.showLogging!=="false")&&console.log(me)};Rt.material_id!==void 0?Mt(ke):ke();function ke(){var me=Ke;St!==null?me=St:parseFloat(me)<5&&(me="5.0"),re(me,!1),pt!==null&&we(pt,ft),Ct=!0}return tn},GGBAppletUtils=function(){"use strict";function tn(){return window.GGBT_wsf_edit!==void 0}function Ke(Ct,St){St!=1?(Ct.style.transformOrigin="0% 0% 0px",Ct.style.webkitTransformOrigin="0% 0% 0px",Ct.style.transform="scale("+St+","+St+")",Ct.style.webkitTransform="scale("+St+","+St+")",Ct.style.maxWidth="initial",Ct.querySelector(".ggb_preview")!==null&&(Ct.querySelector(".ggb_preview").style.maxWidth="initial"),Ct.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Ct.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Ct.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Ct.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Ct.style.transform="none",Ct.style.webkitTransform="none")}function Rt(Ct,St,pt,vt,yt,xt){var dt=null;if(xt!=null&&xt!="")for(var ft=Ct.parentNode;ft!=null;)if((" "+ft.className+" ").indexOf(" "+xt+" ")>-1){dt=ft;break}else ft=ft.parentNode;var ct=0,lt=0,E=0,z=0,ot=0,it=0,at=0;if(dt)ct=dt.offsetWidth,lt=Math.max(vt?dt.offsetWidth:0,dt.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(ct=Math.min(window.innerWidth,document.documentElement.clientWidth),lt=Math.min(window.innerHeight,document.documentElement.clientHeight),E=ct):(ct=window.innerWidth,lt=window.innerHeight,E=window.innerWidth),Ct){var ut=Ct.getBoundingClientRect();ut.left>0&&ut.left<=ct&&(yt===void 0||!yt)&&(document.dir==="rtl"?(ot=ct-ut.width-ut.left,it=E<=480?10:30):(it=ut.left,ot=E<=480?10:30),z=it+ot)}if(Ct&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var wt=Ct.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(z=40,at=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(z=0,at=40)}}return Ct&&((pt===void 0||!pt)&&St>0&&St+z1&&(xt=!0)),St&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(xt=!0),!(Ct.hasOwnProperty("disableAutoScale")&&Ct.disableAutoScale))yt=Ft(Ct,St,xt,pt,Ct.scaleContainerClass);else return vt;return xt&&(!Ct.hasOwnProperty("scale")||vt===1)?yt:Math.min(vt,yt)}function rt(Ct){var St=Math.min(window.innerWidth,document.documentElement.clientWidth),pt=Math.min(window.innerHeight,document.documentElement.clientHeight),vt=Ct.getBoundingClientRect(),yt=(St-vt.width)/2,xt=(pt-vt.height)/2;xt<0&&(xt=0),Ct.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(yt<40?Ct.style.left="40px":Ct.style.left=yt+"px",Ct.style.top=xt+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(xt<40?Ct.style.top="40px":Ct.style.top=xt+"px",Ct.style.left=yt+"px")}function kt(Ct,St){var pt=Ct.querySelector(".appletParameters");if(pt){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(St.id!==pt.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Ct)}if(pt.parentElement&&/fullscreen/.test(pt.parentElement.className))return;var vt=ie(St,Ct);tn()&&pt.setAttribute("data-param-scale",vt);for(var yt=null,xt=0;xt=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(tn){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(tn){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(tn){var Ke=c[tn];return Ke==null?null:Ke},r=d,webModule.__errFn=e}function B(){function tn(Ct){var St=Ct.lastIndexOf(rb);St==-1&&(St=Ct.length);var pt=Ct.indexOf(sb);pt==-1&&(pt=Ct.length);var vt=Ct.lastIndexOf(tb,Math.min(pt,St));return vt>=O?Ct.substring(O,vt+P):W}function Ke(Ct){if(!Ct.match(/^\w+:\/\//)){var St=o.createElement(ub);St.src=Ct+vb,Ct=tn(St.src)}return Ct}function Rt(){var Ct=__gwt_getMetaProperty(wb);return Ct!=null?Ct:W}function Ft(){for(var Ct=o.getElementsByTagName(_),St=O;StO?Ct[Ct.length-P].href:W}function rt(){var Ct=o.location;return Ct.href==Ct.protocol+zb+Ct.host+Ct.pathname+Ct.search+Ct.hash}var kt=Rt();return kt==W&&(kt=Ft()),kt==W&&(kt=ie()),kt==W&&rt()&&(kt=tn(o.location.href)),kt=Ke(kt),kt}function C(tn){return tn.match(/^\//)||tn.match(/^[a-zA-Z]+:\/\//)?tn:webModule.__moduleBase+tn}function D(){var tn=[],Ke=O,Rt=[],Ft=[];function ie(Ct){var St=Ft[Ct](),pt=Rt[Ct];if(St in pt)return St;var vt=[];for(var yt in pt)vt[pt[yt]]=yt;throw r&&r(Ct,vt,St),null}if(__gwt_isKnownPropertyValue=function(Ct,St){return St in Rt[Ct]},webModule.__getPropMap=function(){var Ct={};for(var St in Rt)Rt.hasOwnProperty(St)&&(Ct[St]=ie(St));return Ct},webModule.__computePropValue=ie,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var rt;try{rt=Cb;var kt=rt.indexOf(Db);kt!=-1&&(Ke=parseInt(rt.substring(kt+P),$),rt=rt.substring(O,kt))}catch(Ct){}return webModule.__softPermutationId=Ke,C(rt+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase="/js/mathematicalGraphics/"+name+"/",s[L].moduleBase=webModule.__moduleBase;var G=D();return F(),w(G),!0}return webModule},typeof window.web3d!="function"&&(window.web3d=GGBAppletUtils.makeModule("web3d","A18F540516513B1292CA7CEF2F6AFC7E")),typeof window.webSimple!="function"&&(window.webSimple=GGBAppletUtils.makeModule("webSimple","96B09BF1B436BF53F0DF54116700F16A")),window.GGBApplet=GGBApplet})()},77903:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{Ax:function(){return kt},Ds:function(){return Ct},KI:function(){return pt},SI:function(){return rt},f1:function(){return ie}});var Ft=Rt(3294);function ie(vt){let yt=!0;if(vt.length>0){for(let xt=0;xtyt in vt?rt(vt,yt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):vt[yt]=xt,Ct=(vt,yt,xt)=>kt(vt,typeof yt!="symbol"?yt+"":yt,xt),St=(vt,yt,xt)=>new Promise((dt,ft)=>{var ct=z=>{try{E(xt.next(z))}catch(ot){ft(ot)}},lt=z=>{try{E(xt.throw(z))}catch(ot){ft(ot)}},E=z=>z.done?dt(z.value):Promise.resolve(z.value).then(ct,lt);E((xt=xt.apply(vt,yt)).next())});class pt extends Ft.EventEmitter{constructor(yt,xt){super(),Ct(this,"url"),Ct(this,"body"),Ct(this,"fullContent",""),Ct(this,"controller",null),this.url=yt,this.body=xt}startStream(){return St(this,null,function*(){this.controller=new AbortController;const{signal:yt}=this.controller;try{const xt=yield fetch(this.url,{method:"POST",headers:{"Content-Type":"application/json; charset=utf-8"},credentials:"include",body:JSON.stringify(this.body),signal:yt});if(!xt.ok)throw new Error(`\u8BF7\u6C42\u5931\u8D25: ${xt.status}`);const dt=xt.headers.get("content-type");if(!dt)throw new Error("\u54CD\u5E94\u5934\u7F3A\u5C11 content-type");if(dt.includes("application/json")){const lt=yield xt.json();this.emit("error",lt);return}if(!dt.includes("text/event-stream"))throw new Error("\u54CD\u5E94\u6570\u636E\u683C\u5F0F\u9519\u8BEF");const ft=xt.body.getReader(),ct=new TextDecoder("utf-8");for(;;){const{done:lt,value:E}=yield ft.read();if(lt)break;const ot=ct.decode(E,{stream:!0}).split(` `);for(const it of ot)if(it.startsWith("data:")){const at=it.slice(5).trim();if(at==="[DONE]")break;try{const ut=JSON.parse(at);ut.data&&this.handleData(ut.data)}catch(ut){console.error("\u89E3\u6790 JSON \u5931\u8D25:",ut)}}}this.emit("done",this.fullContent)}catch(xt){xt.name==="AbortError"?this.emit("cancelled",this.fullContent):this.emit("error",xt.message)}})}handleData(yt){yt.content&&(this.fullContent+=yt.content,this.emit("data",{chunk:yt,full:this.fullContent}))}cancelRequest(){var yt;(yt=this.controller)==null||yt.abort()}}Ke.Z=pt},43276:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{Z:function(){return Et}});var Ft=Rt(59301),ie=Rt(72719),rt=Rt(77596),kt=Rt(93772),Ct=Rt(14179),St=Rt(56102),pt={answer:"answer___UngkO",imgWrap:"imgWrap___ORTRf",codeCopy:"codeCopy___re8vm"},vt=Rt(8591),yt=Rt(11611),xt=Rt(35328),dt=Rt(30084),ft=Rt(10787),ct=Rt(50304),lt=Object.defineProperty,E=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,it=(At,_t,Mt)=>_t in At?lt(At,_t,{enumerable:!0,configurable:!0,writable:!0,value:Mt}):At[_t]=Mt,at=(At,_t)=>{for(var Mt in _t||(_t={}))z.call(_t,Mt)&&it(At,Mt,_t[Mt]);if(E)for(var Mt of E(_t))ot.call(_t,Mt)&&it(At,Mt,_t[Mt]);return At},ut=(At,_t)=>{var Mt={};for(var jt in At)z.call(At,jt)&&_t.indexOf(jt)<0&&(Mt[jt]=At[jt]);if(At!=null&&E)for(var jt of E(At))_t.indexOf(jt)<0&&ot.call(At,jt)&&(Mt[jt]=At[jt]);return Mt},Et=({onFinish:At,value:_t,streamingStatus:Mt,cancelIndex:jt,loadImage:Lt})=>{const[It,Ut]=(0,Ft.useState)(""),[Xt,Gt]=(0,Ft.useState)(0),[Yt,Ht]=(0,Ft.useState)(!1),ne=Kt=>Kt.replace(/`(\$\$.*?\$\$)`/g,"$1").replace(/\$\$([\s\S]*?)\$\$/g,(re,we)=>`$$${we.trim()}$$`).replace(/\\\(([\s\S]*?)\\\)/g,'$$$$$1$$$$').replace(/\\\[([\s\S]*?)\\\]/g,'$$$$$1$$$$').replace(/_{2,}/g,"`$&`"),ae=()=>{Ht(!0),At==null||At()};return(0,Ft.useEffect)(()=>{const Kt=Lt?`\u8FD9\u662F\u6839\u636E\u60A8\u7684\u63CF\u8FF0\u751F\u6210\u7684\u56FE\u7247\uFF1A ${_t}`:_t,re=ne(Kt);if(!Yt)if(Lt||!Mt||jt>0){Ut(re),Gt(re.length),(!Mt||jt>0)&&!Lt&&ae();return}else if(Xt{Ut(re.slice(0,Xt+2)),Gt(ke=>ke+2)},we>10?Math.max(500/(we/2),20):50);return()=>clearInterval(Me)}else Mt||ae()},[_t,Mt,jt,Lt,Xt]),(0,Ft.useMemo)(()=>Ft.createElement("section",{className:`${pt.answer} fadeIn animated edu_md`},Ft.createElement(ie.UG,{remarkPlugins:[dt.Z,ft.Z],rehypePlugins:[xt.Z,kt.Z],components:{code(Kt){var re=Kt,{node:we,inline:Me,className:ke,children:me}=re,fe=ut(re,["node","inline","className","children"]);const pe=/language-(\w+)/.exec(ke||""),_e=String(me).trim();return Me||!pe?Ft.createElement("code",at({className:ke},fe),me):Ft.createElement("code",{className:pt.codeCopy,"data-text":`\`\`\`${pe?pe[1]:""} ${me} \`\`\``},Ft.createElement(St.CopyToClipboard,{text:_e,onCopy:()=>vt.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},Ft.createElement("button",null,"\u590D\u5236")),Ft.createElement(rt.Z,at({style:Ct.Z,language:pe[1],PreTag:"div",showLineNumbers:!0,lineNumberStyle:{minWidth:"40px"}},fe),_e))},img({node:Kt}){var re;const we=(re=Kt.properties)==null?void 0:re.src;return Ft.createElement(yt.Z,{src:we,width:320,"data-text":we,onLoad:()=>Lt&&setTimeout(()=>ae(),500)})}}},Yt?It:`${It}__`)),[It])}},31707:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{Z:function(){return it}});var Ft=Rt(59301),ie=Rt(19909),rt={bigTips:"bigTips___uPRW3",item:"item___KMGDu"},kt=Rt(8591),Ct=Rt(95237),St=Rt(99064),pt=Object.defineProperty,vt=Object.defineProperties,yt=Object.getOwnPropertyDescriptors,xt=Object.getOwnPropertySymbols,dt=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,ct=(at,ut,wt)=>ut in at?pt(at,ut,{enumerable:!0,configurable:!0,writable:!0,value:wt}):at[ut]=wt,lt=(at,ut)=>{for(var wt in ut||(ut={}))dt.call(ut,wt)&&ct(at,wt,ut[wt]);if(xt)for(var wt of xt(ut))ft.call(ut,wt)&&ct(at,wt,ut[wt]);return at},E=(at,ut)=>vt(at,yt(ut)),z=(at,ut,wt)=>new Promise((Et,At)=>{var _t=Lt=>{try{jt(wt.next(Lt))}catch(It){At(It)}},Mt=Lt=>{try{jt(wt.throw(Lt))}catch(It){At(It)}},jt=Lt=>Lt.done?Et(Lt.value):Promise.resolve(Lt.value).then(_t,Mt);jt((wt=wt.apply(at,ut)).next())}),it=({description:at,code:ut,showData:wt={},sendParams:Et={},allShow:At=!1,draggableExtraNode:_t})=>{const Mt=[{img:Rt(58427),name:"\u667A\u80FD\u5BA1\u9898",des:"\u5FEB\u901F\u667A\u80FD\u62C6\u89E3\u4EFB\u52A1\uFF0C\u63D0\u4F9B\u89E3\u9898\u601D\u8DEF",description:"",query:at,show:wt==null?void 0:wt.ai_exam_question,type:1},{img:Rt(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:ut,show:wt==null?void 0:wt.ai_syntax_check,type:5},{img:Rt(2195),name:"\u4EE3\u7801\u8BCA\u65AD",des:"\u7CFB\u7EDF\u667A\u80FD\u4EE3\u7801\u5206\u6790\uFF0C\u63D0\u4F9B\u4FEE\u6B63\u5EFA\u8BAE",description:at,query:ut,show:wt==null?void 0:wt.ai_code_diagnosis,type:2},{img:Rt(62849),name:"AI\u8F85\u5BFC",des:"\u4E3A\u5B66\u751F\u63D0\u4F9B\u4E2A\u6027\u5316\u667A\u80FD\u5B66\u4E60\u8F85\u5BFC",description:at,query:ut,show:wt==null?void 0:wt.ai_guidance,type:3},{img:Rt(9515),name:"\u4EE3\u7801\u8BC4\u4EF7",des:"\u4ECE\u591A\u4E2A\u7EF4\u5EA6\u5BF9\u4EE3\u7801\u8FDB\u884C\u8BC4\u4EF7\uFF0C\u4E86\u89E3\u4EE3\u7801\u7F3A\u9677",description:at,query:ut,show:wt==null?void 0:wt.ai_code_evaluation,type:9},{img:Rt(43214),name:"\u4EE3\u7801\u4F18\u5316",des:"\u5BF9\u4EE3\u7801\u8FDB\u884C\u667A\u80FD\u4F18\u5316\uFF0C\u5E2E\u52A9\u63D0\u5347\u4EE3\u7801\u8D28\u91CF",description:at,query:ut,show:wt==null?void 0:wt.ai_code_optimization,type:7},{img:Rt(54269),name:"\u4EE3\u7801\u6CE8\u91CA",des:"\u81EA\u52A8\u5BF9\u5DF2\u6709\u4EE3\u7801\u6DFB\u52A0\u6CE8\u91CA\uFF0C\u8282\u7701\u4EE3\u7801\u7F16\u5199\u65F6\u95F4",description:at,query:ut,show:wt==null?void 0:wt.ai_code_comment,type:8}],jt=It=>{const{setChatData:Ut,setLoading:Xt,getData:Gt,clearStatus:Yt,typing:Ht,setImageGenerator:ne,renderChatItems:ae,setSceneAwareness:ve}=It;let Kt=Mt;return At||(Kt=Mt.filter(re=>re.show)),Ft.createElement("div",{className:`${rt.bigTips} mt10`},Kt.map((re,we)=>Ft.createElement("div",{onClick:()=>z(void 0,null,function*(){if(Ht){kt.ZP.warning("\u8BF7\u7B49\u5F85\u4EFB\u52A1\u5B8C\u6210");return}ve(!1),ne(!1),Xt(!0),Yt();const Me=ae(re.query);Me[0].show=!1,Me[1].imageGenerator=!1,Ut(Me),Gt("",E(lt({type:re.type,description:re.description,query:re.query,file_ids:[],history:[],is_chat:!1,image_generator:!1,scene_awareness:!1},Et),{prompt:wt==null?void 0:wt.ai_code_evaluation_promote}))}),key:we,className:rt.item},Ft.createElement(Ct.Z,{align:"middle"},Ft.createElement("img",{className:"mr10",src:re.img}),Ft.createElement("span",{style:{color:"#232B40",fontSize:16,fontWeight:600}},re.name)),Ft.createElement("div",{className:"mt10",style:{color:"#434D6C"}},re.des))))},Lt=It=>z(void 0,[It],function*({type:Ut,value:Xt,index:Gt,identifier:Yt,objectIndex:Ht}){const ne={index:Ht,identifier:Yt};if(Ut==="like"&&(yield(0,St.ZP)("/api/course_qna_records/like.json",{method:"post",body:ne})).status!==0||Ut==="dislike"&&(yield(0,St.ZP)("/api/course_qna_records/dislike.json",{method:"post",body:ne})).status!==0)return Promise.reject()});return Ft.createElement(ie.Z,{title:"\u667A\u80FD\u52A9\u6559",hideInputBox:At?!1:!(wt!=null&&wt.ai_q_and_a),headFunctionNode:jt,showSwitchingModel:!0,showImageGenerator:!0,showSceneAwareness:!0,fetchData:E(lt({},Et),{is_chat:!0}),topPercentage:(Et==null?void 0:Et.source)==="hack"?.52:void 0,headNode:Ft.createElement(Ft.Fragment,null,Ft.createElement("div",{className:"c-grey-333 font22"},Ft.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"),Ft.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"),Ft.createElement("div",{className:"font16 mt20",style:{color:"#434d6c"}},"\u5FEB\u6765\u8BD5\u4E00\u4E0B\u5427\uFF5E")),fetchUrl:"/api/stream/intelligent_imports/chat_messages.json",draggableExtraNode:_t})}},19909:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{Z:function(){return Ie}});var Ft=Rt(59301),ie=Rt(8591),rt=Rt(54580),kt=Rt(43418),Ct=Rt(6848),St=Rt(92832),pt=Rt(3113),vt=Rt(71418),yt=Rt(64165),xt=Rt(14478),dt=Rt(43428),ft=Rt(38854),ct=Rt(92310),lt=Rt.n(ct),E=Rt(43276),z={reasoning:"reasoning___S0mKl",btn:"btn____CIJG",content:"content___CIAh9"},ot=Rt(59301),it=(Ue,Je,Ze)=>new Promise((nn,fn)=>{var An=ii=>{try{Dn(Ze.next(ii))}catch(mi){fn(mi)}},En=ii=>{try{Dn(Ze.throw(ii))}catch(mi){fn(mi)}},Dn=ii=>ii.done?nn(ii.value):Promise.resolve(ii.value).then(An,En);Dn((Ze=Ze.apply(Ue,Je)).next())}),ut=({value:Ue="",streamingStatus:Je,onFinish:Ze,cancelIndex:nn,time:fn,loading:An,loadAll:En})=>{const[Dn,ii]=(0,Ft.useState)(""),[mi,Ti]=(0,Ft.useState)(!0),Oi=(0,Ft.useRef)(Ue),ki=(0,Ft.useRef)(Je),pi=(0,Ft.useRef)(0),Bi=(0,Ft.useRef)(null),[Or,yr]=(0,Ft.useState)(!1),lr=70;(0,Ft.useEffect)(()=>{ki.current=Je},[Je]),(0,Ft.useEffect)(()=>{Oi.current=Ue},[Ue]),(0,Ft.useEffect)(()=>{if(!Je){ii(Oi.current);return}return yr(!0),Bi.current=setInterval(Si,lr),()=>{clearInterval(Bi.current)}},[]),(0,Ft.useEffect)(()=>{Or&&(ii(Oi.current),clearInterval(Bi.current),yr(!1),Ze())},[nn]);const Si=()=>it(void 0,null,function*(){const ee=Oi.current[pi.current];ee!==void 0?(ii(Ds=>Ds+ee),pi.current++,clearInterval(Bi.current),Bi.current=setInterval(Si,280/(Oi.current.length-pi.current))):ki.current===!1&&(ii(Oi.current),clearInterval(Bi.current),yr(!1),Ze())});return ot.createElement("div",{className:`${z.reasoning} fadeIn animated`},ot.createElement("div",{className:z.btn,onClick:()=>Ti(!mi)},ot.createElement("i",{className:"iconfont icon-shendusikao"}),fn?ot.createElement("span",null,"\u5DF2\u6DF1\u5EA6\u601D\u8003\uFF08\u7528\u65F6 ",fn," \u79D2\uFF09"):ot.createElement("span",null,"\u601D\u8003\u4E2D..."),mi?ot.createElement("b",{className:"iconfont icon-shouqi6"}):ot.createElement("b",{className:"iconfont icon-zhankai6"})),An&&ot.createElement(vt.Z,{spinning:!0,className:"mt20"}),mi&&!An&&ot.createElement("div",{className:z.content},Dn,Or?ot.createElement("span",{className:"aiBlink"},"__"):""))},wt={select:"select___Kt_GE",box:"box___S5_ly",text:"text___dtZDv",itemWrap:"itemWrap___xmw7x",item:"item___io6Bx",active:"active___nHRTI"},Et=Rt(81327),At=Object.defineProperty,_t=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,jt=Object.prototype.propertyIsEnumerable,Lt=(Ue,Je,Ze)=>Je in Ue?At(Ue,Je,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):Ue[Je]=Ze,It=(Ue,Je)=>{for(var Ze in Je||(Je={}))Mt.call(Je,Ze)&&Lt(Ue,Ze,Je[Ze]);if(_t)for(var Ze of _t(Je))jt.call(Je,Ze)&&Lt(Ue,Ze,Je[Ze]);return Ue};const Ut=Ue=>React.createElement("svg",It({className:"logo1_svg__icon",viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:200,height:200},Ue),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 Xt="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDEwMjQgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjAwIiBoZWlnaHQ9IjIwMCI+PHBhdGggZD0iTTEwMTkuNDA3IDYyMC44IDg5MS44MzQgMzk3Ljc4MSA5NDYuNDkgMjkzLjEyYTI5LjA5OSAyOS4wOTkgMCAwIDAgNi40LTM2LjM5NWwtNzAuMTg3LTEyNi41OTJhMzAuMDggMzAuMDggMCAwIDAtMjQuNTc2LTEzLjY1M0g1OTcuNTE5TDUzOS4xOTQgMTQuNTA3YTI3LjM1IDI3LjM1IDAgMCAwLTIwLjkwNy0xNC41NUgzODAuNjQ0YTI5LjE0MSAyOS4xNDEgMCAwIDAtMjQuNjE4IDE0LjU1djUuNTQ2TDIyNS44MDYgMjQzLjAzSDEwMC45MjNhMjkuMTg0IDI5LjE4NCAwIDAgMC0yNS41MTUgMTMuNjU0TDMuNDI4IDM4NC4wODVhMzIuNzY4IDMyLjc2OCAwIDAgMCAwIDI5LjE4NEwxMzIuODM2IDYzOC4wOCA3NC41MTEgNzQwLjA1M2EzMi43NjggMzIuNzY4IDAgMCAwIDAgMjkuMDU2bDY2LjUxNyAxMTYuNTY2YTI5LjkwNyAyOS45MDcgMCAwIDAgMjUuNTE1IDE0LjUwNkg0MjcuMTVsNjIuODQ4IDEwOS4yMjdBMzAuMDggMzAuMDggMCAwIDAgNTEyLjc4MyAxMDI0SDY2MC40MWEyOS4xNDEgMjkuMTQxIDAgMCAwIDI0LjU3Ni0xNC41NWwxMjguNDY5LTIyNC44NTNoMTE0Ljc3M2EzMS45MTUgMzEuOTE1IDAgMCAwIDI0LjY2Mi0xNS40NDVsNjYuNDc0LTExNy40MTlhMjguMTYgMjguMTYgMCAwIDAgMC0zMC45NzZsLjA0My4wNDN6bS0xNjEuMjggMTQuNTkyTDc5MS42MSA1MTIuNDY5IDUxOC4yODcgOTkzLjk2M2wtNzQuNzUyLTEyMi44OGgtMjczLjI4bDY1LjYyMS0xMTkuMjExaDEzOS4zOTJMMTAxLjg2IDI3Mi4yMTNoMTQzLjA2MkwzODAuNjg3IDMwLjA4bDY4LjM1MiAxMTkuMjUzLTcwLjE4NyAxMjIuODhIOTI1LjU0bC02OS4yMDUgMTIxLjk0MiAxMzcuNiAyNDEuMTk0SDg1OC4xN3oiIGZpbGw9IiM2MDVCRUMiLz48cGF0aCBkPSJtNDk5Ljk4MyA2OTkuMzA3IDE3NC4zNzktMjc0LjczMUgzMjQuNzA4eiIgZmlsbD0iIzYwNUJFQyIvPjwvc3ZnPg==",Gt=Object.defineProperty,Yt=Object.getOwnPropertySymbols,Ht=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,ae=(Ue,Je,Ze)=>Je in Ue?Gt(Ue,Je,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):Ue[Je]=Ze,ve=(Ue,Je)=>{for(var Ze in Je||(Je={}))Ht.call(Je,Ze)&&ae(Ue,Ze,Je[Ze]);if(Yt)for(var Ze of Yt(Je))ne.call(Je,Ze)&&ae(Ue,Ze,Je[Ze]);return Ue};const Kt=Ue=>React.createElement("svg",ve({className:"logo2_svg__icon",viewBox:"0 0 1417 1024",xmlns:"http://www.w3.org/2000/svg",width:276.758,height:200},Ue),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 re="data:image/svg+xml;base64,PHN2ZyBjbGFzcz0iaWNvbiIgdmlld0JveD0iMCAwIDE0MTcgMTAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB3aWR0aD0iMjc2Ljc1OCIgaGVpZ2h0PSIyMDAiPjxwYXRoIGQ9Ik0xMzY0LjQ0IDExOC43MDVjLTE0LjE3OC02LjY5NS0yMC4zMjIgNi4wNjUtMjguNTkzIDEyLjUyNS0yLjkxNCAyLjA0OC01LjI3NyA0LjcyNi03LjY0IDcuMjQ2LTIwLjcxNyAyMS4yNjgtNDQuODk5IDM1LjIxLTc2LjY0MyAzMy41NTZhMTUyLjU3NiAxNTIuNTc2IDAgMCAwLTEyMC42NzQgNDUuMzcxYy03LjQwNC00MS44MjYtMzIuMDYtNjYuODc1LTY5LjU1My04M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E0YTYwLjE4IDYwLjE4IDAgMCAxIDEwLjcxMi0xMS4yNjVjMTkuODUtMTAuNzkgNDIuNjkzLTcuMjQ2IDYzLjg4Mi43ODggMTkuNjkzIDcuNzk4IDM0LjUwMSAyMS44OTggNTUuOTI2IDQxLjkwNSAyMS43NCAyNC4xODMgMjUuNjggMzAuOCAzOC4xMjUgNDguOTE2IDkuODQ2IDE0LjE3OSAxOC43NDcgMjguNzUgMjQuODkgNDUuNDUgMy43MDMgMTAuMzk3LTEuMTAyIDE4LjkwNS0xMy45NDEgMjQuMTAzeiIgZmlsbD0iIzRENkJGRSIvPjwvc3ZnPg==",we=Rt(59301),ke=({value:Ue,onChange:Je})=>{const[Ze,nn]=(0,Ft.useState)(!1),fn=[{name:"\u901A\u4E49\u5343\u95EE",key:"qwen-max",img:Xt},{name:"DeepSeek R1-671B",key:"deepseek-r1",img:re}],An=fn.find(En=>En.key===Ue);return we.createElement("div",{className:wt.select},we.createElement(Et.Z,{size:10},we.createElement("span",{className:"c-grey-333 font16"},"\u6A21\u578B"),we.createElement("div",{className:wt.box,onMouseLeave:()=>nn(!1)},we.createElement("div",{className:wt.text,onClick:()=>nn(!0)},we.createElement("img",{src:An.img,width:20}),we.createElement("span",null,An.name),we.createElement("b",{className:"iconfont icon-zhankai6"})),Ze&&we.createElement("div",{className:wt.itemWrap},we.createElement("aside",null,fn.map(En=>we.createElement("div",{key:En.key,className:`${wt.item} ${En.key===Ue?wt.active:""}`,onClick:Dn=>{Dn.stopPropagation(),Je(En.key),nn(!1)}},we.createElement("img",{src:En.img,width:20}),we.createElement("span",null,En.name))))))))},me={loadingPic:"loadingPic___y2kKZ",loading:"loading___UEUk1",dot:"dot___TYXFV","dot-fade":"dot-fade___KWn1a",wrap:"wrap___nU3cS",chatContainer:"chatContainer___PNe3Q",footerContainer:"footerContainer___hQATV",btnWrp:"btnWrp___mS8l6",btn:"btn___3za5U",btnActive:"btnActive____jzfb",inputContainer:"inputContainer___iCQ3u",uploadBtn:"uploadBtn___OHHJF",sendBtn:"sendBtn___ktaQl",sendBtnDisabled:"sendBtnDisabled___DVncF",cancelBtn:"cancelBtn___bzMDI",lineFour:"lineFour___Lhbz5",fullIcon:"fullIcon___YWXTV",footerContainerSelected:"footerContainerSelected___pGBh3",full:"full___dZLXo",li:"li___PjMV3",avatarIcon:"avatarIcon___ztGQ3",img:"img___wZqEA",content:"content___OlYYG",borderBox:"borderBox___tjHwt",text:"text___yWTCV",fileWrap:"fileWrap___IX778",file:"file___fxAKb",fileName:"fileName___RA8nu",source:"source___nkLC0",action:"action___I2zGy",disabledInput:"disabledInput___Buork",backBottom:"backBottom___SMuL2",head:"head___v8Eom",headBtn:"headBtn___IS7xR",menuWarp:"menuWarp___G6yj0",menu:"menu___M8VWP",menuText:"menuText___gRpb5",menuDel:"menuDel___eH_wg",active:"active___KWwPV"},fe=Rt(99064),pe=Rt(955),_e={draggableImage:"draggableImage___vcTso",img:"img___xAyno",close:"close___WUtfj"},He=({src:Ue,onClick:Je,topPercentage:Ze=.62,draggableExtraNode:nn})=>{const fn=(0,Ft.useRef)(null),An=(0,Ft.useRef)(!1),En=(0,Ft.useRef)(!1),[Dn,ii]=(0,Ft.useState)(window.innerHeight*Ze),[mi,Ti]=(0,Ft.useState)(!1),Oi=10;return(0,Ft.useEffect)(()=>{if(fn.current){let ki=function(lr){var Si;An.current=!0,yr=lr.pageY,Or=lr.pageY-(((Si=fn.current)==null?void 0:Si.getBoundingClientRect().top)||0),(0,pe.kk)("none"),document.onselectstart=function(){return!1}},pi=function(){An.current&&!En.current&&Je&&Je(),An.current=!1,En.current=!1,(0,pe.kk)("auto"),document.onselectstart=null},Bi=function(lr){var Si;if(An.current){const Ds=lr.pageY-Or,mr=window.innerHeight-(((Si=fn.current)==null?void 0:Si.offsetHeight)||0)-50,ms=50;if(!En.current&&Math.abs(yr-lr.pageY)>Oi&&(En.current=!0),En.current){let Xs=Math.max(ms,Math.min(Ds,mr));ii(Xs)}}},Or=0,yr=0;return fn.current.addEventListener("mousedown",ki),document.addEventListener("mousemove",Bi),document.addEventListener("mouseup",pi),()=>{var lr,Si;(Si=(lr=fn==null?void 0:fn.current)==null?void 0:lr.removeEventListener)==null||Si.call(lr,"mousedown",ki),document.removeEventListener("mousemove",Bi),document.removeEventListener("mouseup",pi)}}},[Je]),(0,Ft.useEffect)(()=>{const ki=()=>{ii(window.innerHeight*Ze)};return window.addEventListener("resize",ki),()=>{window.removeEventListener("resize",ki)}},[Ze]),Ft.createElement("div",{className:_e.draggableImage,style:{top:`${Dn}px`,display:mi?"none":"block",cursor:An.current?"grabbing":"grab"},ref:fn},nn,Ft.createElement("img",{className:_e.img,src:Ue,width:60,draggable:"false"}),Ft.createElement("i",{className:`iconfont icon-tupianguanbi ${_e.close}`,onMouseUp:ki=>{ki.stopPropagation(),Ti(!0)}}))},Se="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/IhdsGmV911HpTxwef3Dkf8Lo9wL40hUvTR0uTfxtiHpPYFk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nRBnNUNDdiik5I+BeREQnpsMZm2VQt7vcR+PRoJPC1mtc2/mZv///ojj90punz2WfN/nntvQHFezmRXpPcdP3bIqIL8whGWF6xc+04oL7kqQ2Pfpu5omAZThNY6GWuV4waWOp6xcGg0UDPtuWn/lj/j+X+Lbso4jJUfOwAAAABJRU5ErkJggg==",Ne=Rt(3294),se=Rt(56102),Ae=Rt(24544),Xe=Rt(58617),Be=Rt(32050),Te=Object.defineProperty,ue=Object.defineProperties,$t=Object.getOwnPropertyDescriptors,he=Object.getOwnPropertySymbols,ye=Object.prototype.hasOwnProperty,Qt=Object.prototype.propertyIsEnumerable,Wt=(Ue,Je,Ze)=>Je in Ue?Te(Ue,Je,{enumerable:!0,configurable:!0,writable:!0,value:Ze}):Ue[Je]=Ze,Bt=(Ue,Je)=>{for(var Ze in Je||(Je={}))ye.call(Je,Ze)&&Wt(Ue,Ze,Je[Ze]);if(he)for(var Ze of he(Je))Qt.call(Je,Ze)&&Wt(Ue,Ze,Je[Ze]);return Ue},te=(Ue,Je)=>ue(Ue,$t(Je)),ge=(Ue,Je,Ze)=>new Promise((nn,fn)=>{var An=ii=>{try{Dn(Ze.next(ii))}catch(mi){fn(mi)}},En=ii=>{try{Dn(Ze.throw(ii))}catch(mi){fn(mi)}},Dn=ii=>ii.done?nn(ii.value):Promise.resolve(ii.value).then(An,En);Dn((Ze=Ze.apply(Ue,Je)).next())}),Ie=({title:Ue="\u5934\u6B4CAI",placeholder:Je,hideUpload:Ze,hideInputBox:nn,aiIcon:fn=Se,userIcon:An=xe,dragIcon:En=le,children:Dn,fetchUrl:ii,fetchData:mi={},extraAnswerAction:Ti,showDefaultTips:Oi=!0,onOpen:ki,onClose:pi,loadingOption:Bi,showPreference:Or=!1,initMessage:yr,customRequest:lr,visible:Si,width:ee=1200,isCheckRestrictNumber:Ds=!1,headNode:mr,headFunctionNode:ms,showRedraw:Xs,showEdit:Do,promptPropName:Oo="prompt",topPercentage:Gr,showSwitchingModel:sa=!1,showImageGenerator:dn=!1,showLookHistory:en=!1,fetchListObject:qe,customPreference:zn,customDataNode:Jn,showAddSession:hi,historyId:bn,draggableExtraNode:Bn,drawerExtraNode:Xi,menuExtraFunctionNode:dr,showSceneAwareness:ir=!1})=>{var We,Nn;const[ti,pr]=(0,Ft.useState)(!1),[on,Cn]=(0,Ft.useState)("qwen-max"),[xi,Zi]=(0,Ft.useState)([]),[Wi,oi]=(0,Ft.useState)([]),[ri,Zn]=(0,Ft.useState)(!1),[ur,Yr]=(0,Ft.useState)(!1),[br,mn]=(0,Ft.useState)(!1),[er,cr]=(0,Ft.useState)([]),[Mi,sn]=(0,Ft.useState)(""),[On,Qn]=(0,Ft.useState)(0),[si,ei]=(0,Ft.useState)(void 0),[Li,hr]=(0,Ft.useState)(!1),[Vi,Yi]=(0,Ft.useState)(null),[fr,vn]=(0,Ft.useState)(""),Qi=(0,Ft.useRef)(),gn=(0,Ft.useRef)(null),qi=(0,Ft.useRef)(null),[Io,Kr]=(0,Ft.useState)(!1),[Zo,Xr]=(0,Ft.useState)(!1),[Ri,Cr]=(0,Ft.useState)(!1),[ba,uo]=(0,Ft.useState)(!1),[Rn,Ee]=(0,Ft.useState)(0),jo=(0,Ft.useRef)(null),Qo=(0,Ft.useRef)(!1),Tl=(0,Ft.useRef)(null),[Pa,_l]=(0,Ft.useState)(void 0),[bu,ec]=(0,Ft.useState)(!0),[nc,Er]=(0,Ft.useState)(ee-28),[Zr,aa]=(0,Ft.useState)(!1),[vi,qn]=(0,Ft.useState)(!0),[xn,ai]=(0,Ft.useState)([]),zi=(0,Ft.useRef)([]),jr=(0,Ft.useRef)(null),Qr=(0,Ft.useRef)(null),Ur=(0,Ft.useRef)(!1),mo=nc-22,Jr=Mi==null?void 0:Mi.split(` `).length,{onAdd:Ca,onGetList:Is,onListClick:Ol,onListDelete:$e,onListDealData:Es}=qe||{},Pu=50,Ba=10,Cu={maxCount:Pu,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:xi,multiple:!0,accept:".doc,.docx,.md,.txt,.pdf,.xlsx,.xls",beforeUpload:yn=>ge(void 0,null,function*(){var ci,Ei,Ii,rr;const ji=(rr=(Ii=(Ei=(ci=yn==null?void 0:yn.name)==null?void 0:ci.split("."))==null?void 0:Ei.slice(-1))==null?void 0:Ii[0])==null?void 0:rr.toLowerCase(),Nr=["doc","docx","md","pdf","txt","xlsx","xls"].includes(ji);return yn.size==0?(ie.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),rt.default.LIST_IGNORE):Nr?yn.size/1024/1024>100?(ie.ZP.warning("\u4E0A\u4F20\u7684\u6587\u4EF6\u5927\u5C0F\u9650\u5236100MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),rt.default.LIST_IGNORE):!0:(ie.ZP.warning("\u76EE\u524D\u652F\u6301txt\u3001md\u3001doc\u3001docx\u3001pdf\u3001xlsx\u3001xls\u6587\u4EF6"),rt.default.LIST_IGNORE)}),onChange:({fileList:yn})=>{Zi(yn)},action:`${(We=Ne.Z)==null?void 0:We.API_SERVER}/api/intelligent_imports/upload_file.json`},qr={maxCount:Ba,showUploadList:!1,withCredentials:!0,openFileDialogOnClick:!1,fileList:Wi,multiple:!0,accept:".jpg,.png,",beforeUpload:yn=>{var ci,Ei,Ii,rr;const ji=(rr=(Ii=(Ei=(ci=yn==null?void 0:yn.name)==null?void 0:ci.split("."))==null?void 0:Ei.slice(-1))==null?void 0:Ii[0])==null?void 0:rr.toLowerCase(),Nr=["jpg","png"].includes(ji);return yn.size==0?(ie.ZP.warning("\u6587\u4EF6\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A"),rt.default.LIST_IGNORE):Nr?yn.size/1024/1024>10?(ie.ZP.warning("\u4E0A\u4F20\u7684\u56FE\u7247\u5927\u5C0F\u9650\u523610MB\uFF0C\u8BF7\u68C0\u67E5\u540E\u91CD\u65B0\u4E0A\u4F20"),rt.default.LIST_IGNORE):!0:(ie.ZP.warning("\u76EE\u524D\u652F\u6301jpg\u3001png"),rt.default.LIST_IGNORE)},onChange:({fileList:yn})=>{oi(yn)},action:`${(Nn=Ne.Z)==null?void 0:Nn.API_SERVER}/api/ai/generals/update_file.json`};(0,Ft.useEffect)(()=>{if(!er.length||!Qi.current)return;const yn=er[er.length-1];yn!=null&&yn.loading&&(Qi.current.scrollTop=Qi.current.scrollHeight)},[er.length]),(0,Ft.useEffect)(()=>{if(!Qi.current||!jo.current)return;const yn=new IntersectionObserver(([ci])=>{ec(ci.isIntersecting)},{root:Qi.current,rootMargin:"70px",threshold:0});return yn.observe(jo.current),()=>{jo.current&&yn.unobserve(jo.current)}},[Qi.current,jo.current]),(0,Ft.useEffect)(()=>{if(!Io)return;const yn=Qi.current,ci=Tl.current;Qo.current=!1;let Ei=yn.scrollTop;const Ii=()=>{const{scrollTop:ji,scrollHeight:Ir,clientHeight:Nr}=yn;ji>Ei?ji+Nr>=Ir-50&&(yn.scrollTop=yn.scrollHeight,Qo.current=!1):ji{Qo.current||(yn.scrollTop=yn.scrollHeight)});return rr.observe(ci),()=>{var ji;rr.unobserve(ci),(ji=yn==null?void 0:yn.removeEventListener)==null||ji.call(yn,"scroll",Ii)}},[Io]),(0,Ft.useEffect)(()=>{!Io&&zi.current.length&&(cr([...er,...zi.current]),zi.current=[])},[Io]),(0,Ft.useEffect)(()=>{if(!Qi.current)return;const yn=new ResizeObserver(()=>{Er(Qi.current.offsetWidth)});return yn.observe(Qi.current),()=>{Qi.current&&yn.unobserve(Qi.current)}},[Qi.current]),(0,Ft.useEffect)(()=>{typeof Si=="boolean"&&pr(Si)},[Si]),(0,Ft.useEffect)(()=>{var yn;if(gn.current&&Vi!==null){gn.current.focus();const ci=(yn=gn.current.resizableTextArea)==null?void 0:yn.textArea;ci&&(ci.selectionStart=ci.selectionEnd=ci.value.length)}},[Vi]),(0,Ft.useEffect)(()=>{Jr<5&&hr(!1)},[Jr]),(0,Ft.useEffect)(()=>{ti&&yr&&(cr($a(yr)),Zn(!0),Yn(yr,{history:[]})),ti&&(Jo(),bn?jl(bn):hi&&!Pa&&Zs()),ti||tl()},[ti]);const $a=(yn="",ci=[],Ei=[])=>{const Ii=Date.now();return[{text:yn,key:Ii,sender:"user",fileList:ci,imageList:Ei,show:!0},{loading:!0,key:Ii,sender:"AI",show:!0,model:on,imageGenerator:Ri,thinkingEnabled:Zo}]},tl=()=>{vn(""),Yi(null),Zi([]),oi([]),sn("")},xr=()=>{if(ki){ki({chatData:er,setChatData:cr,setLoading:Zn,getData:Yn,renderChatItems:$a,handleAdd:Zs,identifier:Pa});return}pr(!0)},Eo=()=>{if(qn(!0),pi){pi();return}pr(!1)},Eu=()=>{hr(!Li)},Jo=()=>ge(void 0,null,function*(){if(!Ds)return;const yn=yield(0,fe.ZP)("/api/intelligent_imports/check_number.json",{method:"get"});(yn==null?void 0:yn.status)===0&&(yn==null?void 0:yn.total_number)!==-1&&(Qn((yn==null?void 0:yn.total_number)-(yn==null?void 0:yn.remaining_number)),ei(yn==null?void 0:yn.total_number))}),ch=()=>{kt.default.info({title:"\u63D0\u793A",icon:null,okText:"\u6211\u77E5\u9053\u4E86",width:510,centered:!0,content:Ft.createElement("div",null,Ft.createElement("div",{style:{color:"#FA6400"}},"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),Ft.createElement("div",{className:"c-grey-333 mt5"},"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F\u7528",si,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))})},la=yn=>yn.reduce((Ei,Ii)=>{if(Ii.sender==="user"){const rr=yn.find(ji=>ji.key===Ii.key&&ji.sender==="AI");rr&&(rr!=null&&rr.text)&&!(rr!=null&&rr.error)&&Ei.push({question:Ii.text,answer:rr.text})}return Ei},[]),Yn=(...yn)=>ge(void 0,[...yn],function*(ci="",Ei={},Ii=er){if(lr&&(yield lr({mes:ci,setChatData:cr,fileList:xi,body:Ei,checkNum:Jo,setLoading:Zn,bodyChatData:Ii,setTyping:Kr,setImageGenerator:Cr,renderChatItems:$a})),!lr){const rr=xi==null?void 0:xi.map(bo=>{var Ms;return(Ms=bo==null?void 0:bo.response)==null?void 0:Ms.file_id}),ji=Wi==null?void 0:Wi.map(bo=>{var Ms;return(Ms=bo==null?void 0:bo.response)==null?void 0:Ms.data}),Ir=Ei.history||la(Ii),Nr=Bt(Bt({identifier:Pa,response_mode:"streaming",model:on,scene_awareness:ba,thinking_enabled:Zo,image_generator:Ri,file_ids:rr,image_list:ji,history:Ir,[Oo]:ci},mi),Ei),$o=Object.fromEntries(Object.entries(Nr).filter(([bo,Ms])=>Ms!==void 0));qi.current=new Ae.Z(Ne.Z.API_SERVER+ii,$o),yield new Promise((bo,Ms)=>{let oo=null,rc=null;qi.current.on("data",dh=>{Kr(!0);const{chunk:{content:vl,type:nl,created:Fo,msg:vs}}=dh,Ao=vs==="error";nl==="thinking"&&(oo=oo||Fo,cr(Po=>[...Po].map((il,tu)=>tu===Po.length-1?te(Bt({},il),{reasoning:(il.reasoning||"")+vl,loading:!1,hideAnswer:!0,error:Ao}):il))),nl==="text"&&(rc=rc||Fo,cr(Po=>[...Po].map((il,tu)=>tu===Po.length-1?te(Bt({},il),{text:(il.text||"")+vl,loading:!1,startTime:oo,endTime:rc,error:Ao}):il)))}),qi.current.on("done",()=>{bo()}),qi.current.on("error",()=>{const dh="\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!";cr(vl=>[...vl].map((nl,Fo)=>Fo===vl.length-1?te(Bt({},nl),{text:dh,loading:!1,error:!0}):nl)),bo()}),qi.current.on("cancelled",()=>{bo()}),qi.current.startStream()})}Jo(),Zn(!1)}),If=yn=>{sn(yn.target.value)},ic=(yn,ci)=>{if(tl(),Zn(!0),yn==="edit"){zi.current=er.slice(ci+2);const Ei=er.splice(ci),{fileList:Ii,imageList:rr}=(Ei==null?void 0:Ei[0])||{},ji=Ii.map($o=>{var bo;return(bo=$o.response)==null?void 0:bo.file_id}),Ir=rr.map($o=>{var bo;return(bo=$o.response)==null?void 0:bo.data}),Nr={history:la(er),file_ids:ji,image_list:Ir,edit:!0};cr([...er,...$a(fr,Ii,rr)]),Yn(fr,Nr,er)}if(yn==="redraw"){zi.current=er.slice(ci+1);const Ei=er.splice(ci-1),{text:Ii,fileList:rr,imageList:ji}=(Ei==null?void 0:Ei[0])||{},Ir=rr.map(bo=>{var Ms;return(Ms=bo.response)==null?void 0:Ms.file_id}),Nr=ji.map(bo=>{var Ms;return(Ms=bo.response)==null?void 0:Ms.data}),$o={history:la(er),file_ids:Ir,image_list:Nr,edit:!0};cr([...er,...$a(Ii,rr,ji)]),Yn(Ii,$o,er)}},Ra=()=>{if(Mi.trim()!==""){tl(),Zn(!0);const yn=xi.filter(Ei=>Ei.status==="done"),ci=Wi.filter(Ei=>Ei.status==="done");cr([...er,...$a(Mi,yn,ci)]),Yn(Mi)}},Gc=yn=>{if(yn.shiftKey){if(yn.key==="Enter")return}else if(yn.key==="Enter"){if(yn.preventDefault(),gl||Ur.current)return;Ra()}},Uc=(yn,ci)=>{let Ei=!1;Do===!0?Ei=!0:Do==="last"&&(Ei=er.reduce((Ir,Nr,$o)=>Nr.sender==="user"?$o:Ir,-1)===ci);const Ii=ci===Vi,rr=[...(yn==null?void 0:yn.fileList)||[],...(yn==null?void 0:yn.imageList)||[]];return Ft.createElement("div",{className:me.li,style:{width:mo}},Ft.createElement("div",{className:me.avatarIcon},Ft.createElement("img",{className:me.img,src:An})),Ft.createElement("div",{className:me.content},!!(rr!=null&&rr.length)&&Ft.createElement("div",{className:me.fileWrap},rr==null?void 0:rr.map((ji,Ir)=>{var Nr,$o;return Ft.createElement("div",{key:Ir,className:me.file},Ft.createElement("img",{src:Rt(90034)(`./${(($o=(Nr=ji==null?void 0:ji.name)==null?void 0:Nr.split("."))==null?void 0:$o.pop())||"txt"}.png`),width:20,className:"mr10"}),Ft.createElement("aside",null,Ft.createElement(Ct.Z,{title:ji==null?void 0:ji.name},Ft.createElement("div",{className:me.fileName},ji==null?void 0:ji.name)),Ft.createElement("div",{className:"c-grey-999 font12"},(0,pe.RD)(ji==null?void 0:ji.size))))})),Ft.createElement("div",{className:me.borderBox},Ii?Ft.createElement(St.default.TextArea,{value:fr,ref:gn,autoSize:!0,placeholder:"\u8BF7\u8F93\u5165",bordered:!1,onChange:ji=>vn(ji.target.value)}):Ft.createElement("div",{className:me.text},yn==null?void 0:yn.text)),Ii?Ft.createElement("div",{className:me.action},Ft.createElement(pt.ZP,{onClick:()=>{vn(""),Yi(null)},size:"small"},"\u53D6\u6D88"),Ft.createElement(pt.ZP,{disabled:!fr.trim(),onClick:()=>ic("edit",ci),type:"primary",size:"small"},"\u786E\u8BA4")):Ft.createElement("div",{className:me.action},Ft.createElement(se.CopyToClipboard,{text:(yn==null?void 0:yn.text)||"",onCopy:()=>ie.ZP.success("\u590D\u5236\u6210\u529F")},Ft.createElement(Ct.Z,{title:"\u590D\u5236"},Ft.createElement("i",{className:"iconfont icon-fuzhi8 font13"}))),Ei&&!ri&&Ft.createElement(Ct.Z,{title:"\u7F16\u8F91"},Ft.createElement("i",{onClick:()=>{Yi(ci),vn((yn==null?void 0:yn.text)||"")},className:"iconfont icon-bianji10 font14"})))))},jn=(yn,ci)=>{let Ei=!1;Xs===!0?Ei=!0:Xs==="last"&&(Ei=er.reduce((ji,Ir,Nr)=>Ir.sender==="AI"?Nr:ji,-1)===ci);let Ii="";return yn!=null&&yn.source?Ii=yn==null?void 0:yn.source:(yn==null?void 0:yn.model)==="deepseek-r1"?Ii="\u7531deepseek\u751F\u6210":(yn==null?void 0:yn.model)==="qwen-max"&&(Ii="\u7531\u901A\u4E49\u5343\u95EE\u751F\u6210"),Ft.createElement("div",{className:me.li,style:{width:mo}},Ft.createElement("div",{className:me.avatarIcon},Ft.createElement("img",{className:me.img,src:fn})),Ft.createElement("div",{className:me.content},Ft.createElement("div",{className:me.borderBox},yn.loading&&Ft.createElement(Ft.Fragment,null,yn!=null&&yn.imageGenerator?Ft.createElement("div",{className:me.loadingPic},"\u6B63\u5728\u751F\u6210\u4E2D",Ft.createElement("div",{className:"ai-loading"})):!(yn!=null&&yn.thinkingEnabled)&&Ft.createElement("div",null,Ft.createElement("div",{className:me.loading},Ft.createElement("div",{className:me.dot}),Ft.createElement("div",{className:me.dot}),Ft.createElement("div",{className:me.dot})),Ft.createElement("div",{style:{marginTop:10,color:"#9096A3"}},(Bi==null?void 0:Bi.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"))),(yn==null?void 0:yn.thinkingEnabled)&&Ft.createElement(ut,{time:yn==null?void 0:yn.time,cancelIndex:Rn,loading:yn.loading,streamingStatus:!(yn!=null&&yn.text),onFinish:()=>{Ee(0),cr(rr=>[...rr].map((ji,Ir)=>Ir===rr.length-1?te(Bt({},ji),{hideAnswer:!1,time:ji.startTime?ji.endTime-ji.startTime:null}):ji))},value:yn==null?void 0:yn.reasoning}),!!(yn!=null&&yn.text)&&!yn.hideAnswer&&Ft.createElement(E.Z,{cancelIndex:Rn,streamingStatus:ri,loadImage:!!(yn!=null&&yn.imageGenerator),onFinish:()=>ge(void 0,null,function*(){Ee(0),setTimeout(()=>Kr(!1),0)}),value:yn==null?void 0:yn.text})),!!(yn!=null&&yn.text)&&Ii&&Ft.createElement("div",{className:me.source},Ii),Ft.createElement("div",{className:me.action},Ti==null?void 0:Ti(yn,ci,{onMenuClick:jl}),Ft.createElement(se.CopyToClipboard,{text:String((yn==null?void 0:yn.text)||""),onCopy:()=>ie.ZP.success({content:"\u590D\u5236\u6210\u529F",key:"copy"})},Ft.createElement(Ct.Z,{title:"\u590D\u5236"},Ft.createElement("i",{className:"iconfot icon-fuzhi8 font13"}))),Or&&!ri&&Ft.createElement(Ft.Fragment,null,Ft.createElement(Ct.Z,{title:"\u559C\u6B22"},Ft.createElement("i",{style:yn!=null&&yn.like?{color:"#FA8D30"}:{},onClick:()=>$r("like",!(yn!=null&&yn.like),ci),className:"iconfot icon-yijiejue font15"})),Ft.createElement(Ct.Z,{title:"\u4E0D\u559C\u6B22"},Ft.createElement("i",{style:yn!=null&&yn.dislike?{color:"#e86d7c"}:{},onClick:()=>$r("dislike",!(yn!=null&&yn.dislike),ci),className:"iconfot icon-weijiejuezhengchang font15"}))),Ei&&!ri&&Ft.createElement(Ct.Z,{title:"\u91CD\u65B0\u751F\u6210"},Ft.createElement("i",{onClick:()=>ic("redraw",ci),className:"iconfot icon-gengxin-genghuan-tihuan"})))))},$r=(yn,ci,Ei)=>ge(void 0,null,function*(){if(zn){const Ii=er.slice(0,Ei+1),ji=la(Ii).length;yield zn({type:yn,value:ci,index:Ei,identifier:Pa,objectIndex:ji})}cr(Ii=>(Ii[Ei][yn]=ci,ci&&(Ii[Ei][yn==="like"?"dislike":"like"]=!1),[...Ii]))}),vo=()=>{var yn,ci;Ee(1),(ci=(yn=qi.current)==null?void 0:yn.cancelRequest)==null||ci.call(yn),Zn(!1),Kr(!1)},Zs=()=>ge(void 0,null,function*(){var yn,ci,Ei;(ci=(yn=qi.current)==null?void 0:yn.cancelRequest)==null||ci.call(yn),tl(),cr([]),Zn(!0);const Ii=yield Ca();(Ii==null?void 0:Ii.status)===0&&_l((Ei=Ii==null?void 0:Ii.data)==null?void 0:Ei.identifier),Zn(!1),Kr(!1)}),$l=()=>ge(void 0,null,function*(){var yn;mn(!0);const ci=yield Is();(ci==null?void 0:ci.status)===0&&ai(((yn=ci==null?void 0:ci.data)==null?void 0:yn.list)||[]),mn(!1)}),jl=(...yn)=>ge(void 0,[...yn],function*(ci=Pa){var Ei,Ii,rr,ji;(Ii=(Ei=qi.current)==null?void 0:Ei.cancelRequest)==null||Ii.call(Ei),tl(),Yr(!0);const Ir=yield Ol(ci);if(Ir.status===0){const Nr=Es(((rr=Ir==null?void 0:Ir.data)==null?void 0:rr.messages)||[]);cr(Nr),Yr(!1),_l((ji=Ir==null?void 0:Ir.data)==null?void 0:ji.identifier);return}cr([]),Yr(!1)}),wi=(yn,ci)=>ge(void 0,null,function*(){(yield $e(yn)).status===0&&(ie.ZP.success("\u5220\u9664\u6210\u529F"),ci===Pa&&Zs(),$l())}),fh=()=>Ft.createElement("div",{className:me.menuWarp},Ft.createElement("h4",null,"\u5386\u53F2\u5BF9\u8BDD"),Ft.createElement(vt.Z,{spinning:br},!xn.length&&Ft.createElement(yt.Z,{style:{width:250,paddingBottom:30},image:yt.Z.PRESENTED_IMAGE_SIMPLE}),!!xn.length&&Ft.createElement("div",{className:me.menu},xn.map(function(yn,ci){return Ft.createElement("aside",{className:lt()(Pa===yn.identifier&&me.active),key:yn.id,onClick:()=>jl(yn.id)},Ft.createElement("div",{className:me.menuText},Ft.createElement(Ct.Z,{title:yn==null?void 0:yn.question},Ft.createElement("span",null,yn==null?void 0:yn.question)),dr&&dr(yn)),Ft.createElement("div",{className:me.menuDel,onClick:Ei=>Ei.stopPropagation()},Ft.createElement(xt.Z,{title:"\u63D0\u793A",description:"\u4F60\u786E\u5B9A\u8981\u5220\u9664\u672C\u6761\u5BF9\u8BDD\u5417\uFF1F",onConfirm:()=>wi(yn.id,yn.identifier),okText:"\u786E\u8BA4",zIndex:1100,cancelText:"\u53D6\u6D88"},Ft.createElement("i",{className:"iconfont icon-shanchu14 delete-hover font14"}))))})))),el=yn=>{if(yn==="file"){if(Wi.length){kt.default.confirm({centered:!0,icon:null,okText:"\u786E\u8BA4\u8986\u76D6",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5DF2\u5B58\u5728\u56FE\u7247\uFF0C\u4E0A\u4F20\u6587\u4EF6\u540E\u56FE\u7247\u5C06\u4F1A\u88AB\u8986\u76D6?",onOk:()=>{oi([]),jr.current.upload.uploader.fileInput.click()}});return}jr.current.upload.uploader.fileInput.click()}if(yn==="image"){if(xi.length){kt.default.confirm({centered:!0,icon:null,okText:"\u786E\u8BA4\u8986\u76D6",cancelText:"\u53D6\u6D88",title:"\u63D0\u793A",content:"\u5DF2\u5B58\u5728\u6587\u4EF6\uFF0C\u4E0A\u4F20\u56FE\u7247\u540E\u6587\u4EF6\u5C06\u4F1A\u88AB\u8986\u76D6?",onOk:()=>{Zi([]),Qr.current.upload.uploader.fileInput.click()}});return}Qr.current.upload.uploader.fileInput.click()}},Fs=[{key:"file",disabled:xi.length>=Pu,label:Ft.createElement(Ct.Z,{placement:"right",title:Ft.createElement("div",null,Ft.createElement("b",null,"\u4E0A\u4F20\u9644\u4EF6\uFF08\u4EC5\u8BC6\u522B\u6587\u5B57\uFF09"),Ft.createElement("div",null,"\u6700\u591A 50 \u4E2A\uFF0C\u6BCF\u4E2A 100 MB\uFF0C\u652F\u6301\u5404\u7C7B\u578B\u6587\u6863"))},Ft.createElement("span",null,Ft.createElement("i",{className:"iconfont icon-fujian3 font14 mr5"}),"\u4E0A\u4F20\u6587\u6863"))},on!=="deepseek-r1"&&{key:"image",disabled:Wi.length>=Ba,label:Ft.createElement(Ct.Z,{placement:"right",title:"\u652F\u6301\u4E0D\u8D85\u8FC710M\u7684PNG/JPG\u56FE\u7247\uFF0C\u6700\u591A10\u4E2A"},Ft.createElement("span",null,Ft.createElement("i",{className:"iconfont icon-tupianshangchuan font14 mr5"}),"\u4E0A\u4F20\u56FE\u7247"))}].filter(Boolean),qo=[...xi,...Wi],gl=qo.some(yn=>yn.status==="uploading")||ri||Io,ml=On>=si,As=Ze||xi.length>=Pu||Wi.length>=Ba,Ea=Ri||Zo||ba||!!qo.length;return console.log(qo,"fileAndImageList"),Ft.createElement("div",null,Dn?Ft.createElement("div",{onClick:xr},Dn):Ft.createElement(He,{draggableExtraNode:Bn,src:En,onClick:xr,topPercentage:Gr}),Ft.createElement(dt.Z,{open:ti,width:Zr?"100%":ee,afterOpenChange:yn=>{yn&&qn(!1)},push:!1,contentWrapperStyle:vi?{}:{transition:"none"},extra:Ft.createElement("div",{className:me.head},Xi,sa&&Ft.createElement(ke,{value:on,onChange:yn=>{Xr(!1),Cr(!1),Cn(yn),oi([]),Zi([])}}),en&&Ft.createElement(Ft.Fragment,null,Ft.createElement(ft.Z,{dropdownRender:fh,onOpenChange:yn=>{yn&&$l()},placement:"bottomLeft",arrow:!0},Ft.createElement("div",{className:me.headBtn},Ft.createElement("i",{className:"icon-lishiduihua1 font14 mr10"}),"\u5386\u53F2\u5BF9\u8BDD"))),hi&&Ft.createElement(Ft.Fragment,null,Ft.createElement("div",{className:me.headBtn,onClick:Zs},Ft.createElement("i",{className:"icon-xinjianduihua font14 mr10"}),"\u65B0\u5EFA\u5BF9\u8BDD")),Ft.createElement(Ct.Z,{title:Zr?"\u9000\u51FA\u5168\u5C4F":"\u5168\u5C4F"},Ft.createElement("div",{className:me.headBtn,style:{padding:"0 12px"},onClick:()=>aa(!Zr)},Zr&&Ft.createElement("i",{className:"iconfont icon-tuichuquanping3"}),!Zr&&Ft.createElement("i",{className:"iconfont icon-quanping4"})))),title:Ft.createElement("span",{className:"c-grey-333 font16"},Ue),onClose:Eo,bodyStyle:{paddingRight:4}},Ft.createElement("div",{className:lt()(me.wrap,ti&&"body-overflow-hidden")},Ft.createElement("div",{ref:Qi,className:me.chatContainer},Oi&&Ft.createElement("div",{className:`${me.li} mb20`,style:{width:mo}},Ft.createElement("div",{className:me.avatarIcon},Ft.createElement("img",{className:me.img,src:fn})),Ft.createElement("div",{className:me.content},Ft.createElement("div",{className:me.borderBox},mr,ms==null?void 0:ms({isDisabledNum:ml,checkNumModal:ch,checkNum:Jo,onClose:Eo,setChatData:cr,setLoading:Zn,getData:Yn,clearStatus:tl,typing:Io,setImageGenerator:Cr,renderChatItems:$a,setSceneAwareness:uo})))),Ft.createElement("div",{ref:Tl},Ft.createElement(vt.Z,{spinning:ur,className:"mt20"},er==null?void 0:er.map((yn,ci)=>Ft.createElement(Ft.Fragment,{key:yn.key+ci},yn.show&&Ft.createElement(Ft.Fragment,null,yn.sender==="user"&&Uc(yn,ci),yn.sender==="AI"&&jn(yn,ci),Jn&&!["AI","user"].includes(yn.sender)&&Jn(yn,ci,{width:mo})))))),!bu&&Ft.createElement("div",{className:me.backBottom,onClick:()=>{Qi.current.scrollTop=Qi.current.scrollHeight}},Ft.createElement("i",{className:"iconfont icon-huidaodibu"})),Ft.createElement("div",{ref:jo})),!nn&&Ft.createElement("div",{className:lt()(me.footerContainer,Li&&me.full,Ea&&me.footerContainerSelected)},Ft.createElement("div",{className:me.btnWrp},ir&&Ft.createElement(Ct.Z,{title:"\u667A\u80FD\u611F\u77E5\u5F53\u524D\u60C5\u5883\uFF0C\u63D0\u4F9B\u9488\u5BF9\u6027\u89E3\u7B54"},Ft.createElement("div",{onClick:()=>uo(!ba),className:lt()(me.btn,ba&&me.btnActive)},Ft.createElement("i",{className:"iconfont icon-changjingganzhi mr10 font12"}),"\u573A\u666F\u611F\u77E5")),on==="deepseek-r1"&&Ft.createElement(Ct.Z,{title:"\u8C03\u7528\u65B0\u6A21\u578B DeepSeek-R1\uFF0C\u89E3\u51B3\u63A8\u7406\u95EE\u9898"},Ft.createElement("div",{onClick:()=>Xr(!Zo),className:lt()(me.btn,Zo&&me.btnActive)},Ft.createElement("i",{className:"iconfont icon-shendusikao mr10 font12"}),"\u6DF1\u5EA6\u601D\u8003\uFF08R1\uFF09")),dn&&on==="qwen-max"&&Ft.createElement("div",{onClick:()=>Cr(!Ri),className:lt()(me.btn,Ri&&me.btnActive)},Ft.createElement("i",{className:"iconfont icon-shangchuantupian2 mr10 font12"}),"\u56FE\u50CF\u751F\u6210"),qo.map(yn=>Ft.createElement("div",{key:yn.uid},(yn==null?void 0:yn.status)==="uploading"&&Ft.createElement(vt.Z,{indicator:Ft.createElement(Xe.Z,{spin:!0}),className:"mr10",size:"small",spinning:!0}),Ft.createElement("span",{title:yn==null?void 0:yn.name,className:"mr10"},(0,pe.Pq)(yn.name,20)),Ft.createElement("i",{onClick:()=>{Zi(ci=>ci.filter(Ei=>Ei.uid!==yn.uid)),oi(ci=>ci.filter(Ei=>Ei.uid!==yn.uid))},className:"iconfont current icon-shanchu15 delete-hover c-red-ee4 font12"})))),Ft.createElement(Ct.Z,{title:ml&&Ft.createElement("div",null,Ft.createElement("div",null,"\u60A8\u5DF2\u8FBE\u5230\u667A\u80FD\u52A9\u6559\u7684\u4F7F\u7528\u6B21\u6570"),Ft.createElement("div",null,"\u667A\u80FD\u52A9\u6559\u6BCF\u5929\u9650\u5236\u4F7F",si,"\u6B21\uFF0C\u8BF7\u660E\u5929\u518D\u8BD5\u3002"))},Ft.createElement("div",{className:lt()(me.inputContainer,Jr>4&&me.lineFour,ml&&me.disabledInput)},Ft.createElement(rt.default,Bt({ref:jr},Cu)),Ft.createElement(rt.default,Bt({ref:Qr},qr)),Ft.createElement(ft.Z,{className:`${As&&"hide"}`,menu:{items:Fs,onClick:yn=>el(yn.key)},placement:"top"},Ft.createElement(pt.ZP,{className:me.uploadBtn,icon:Ft.createElement(Be.Z,{style:{fontSize:18,color:"#FFF"}})})),Ft.createElement(St.default.TextArea,{rows:Jr>4?4:Jr,placeholder:Je||"\u5728\u8FD9\u91CC\u8F93\u5165\u4F60\u95EE\u9898\u5427,Shift+Enter\u6362\u884C\uFF5E",value:Mi,bordered:!1,style:As?{paddingLeft:0,marginLeft:0}:{},onChange:If,onPressEnter:Gc,onCompositionStart:()=>{Ur.current=!0},onCompositionEnd:()=>{Ur.current=!1}}),Io?Ft.createElement(Ct.Z,{title:"\u505C\u6B62\u751F\u6210"},Ft.createElement("div",{className:`iconfont icon-tingzhihuida ${me.cancelBtn}`,onClick:vo})):Ft.createElement(pt.ZP,{className:(Mi==null?void 0:Mi.trim())===""?me.sendBtnDisabled:me.sendBtn,icon:Ft.createElement("i",{className:"iconfont icon-fasong2 c-white"}),disabled:gl,onClick:Ra}),Jr>4&&Ft.createElement("span",{className:me.fullIcon,onClick:Eu},Li&&Ft.createElement("span",{className:"iconfont icon-shousuo"}),!Li&&Ft.createElement("span",{className:"iconfont icon-zhankai"}))))))))}},67054:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{Z:function(){return Ut},U:function(){return jt}});var Ft=Rt(59301),ie=Rt(31797),rt=Rt(43418),kt=Rt(1710),Ct=Rt(4901),St=Rt(94941),pt=Rt(61186),vt=Rt.n(pt),yt={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"},xt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACwCAYAAAD61gcAAAAAAXNSR0IArs4c6QAAIABJREFUeF7tnQd4XHeZ7n9/zUgzkkZdsiX3XmM7xWlONYE0AsuyEMizwAKbDcuFAMvCXvbuEpwsZeksBNilLZBLKIGQUC+EVEKSTYN0O8W9W26SrK4593nP+X/jvyd2LCeOZMbR88gjz5w59T3v933vV47jpZ+XzsAIngE3gtsqiU3tiaJxFYNMzufZk6ngEZyLSuLARuggXgLcME90FN2aHST34fTQjDeQqplOfqibsp4/QOqjztXcMczVHPWLvQS4g0IgclH0eDm7HvsBmca/pBvI5/OUVZRRXQ9l1bupqHq9c+NvOuiqXlqAlwA3DBBEe655J71lX2F3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dv2MpgXSNHDCYZYXIJWHfRtRiJvWUqjkgCDqLjjcnK4HJqultkCEVuf9pB8gPcUDak1y5D67ghWimDuWrbrlOfL2k7hviv7s/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",ft=Rt(955),ct=Rt(89070),lt=Rt(37518),E=Rt(59301),z=Object.defineProperty,ot=Object.defineProperties,it=Object.getOwnPropertyDescriptors,at=Object.getOwnPropertySymbols,ut=Object.prototype.hasOwnProperty,wt=Object.prototype.propertyIsEnumerable,Et=(Xt,Gt,Yt)=>Gt in Xt?z(Xt,Gt,{enumerable:!0,configurable:!0,writable:!0,value:Yt}):Xt[Gt]=Yt,At=(Xt,Gt)=>{for(var Yt in Gt||(Gt={}))ut.call(Gt,Yt)&&Et(Xt,Yt,Gt[Yt]);if(at)for(var Yt of at(Gt))wt.call(Gt,Yt)&&Et(Xt,Yt,Gt[Yt]);return Xt},_t=(Xt,Gt)=>ot(Xt,it(Gt)),Mt=(Xt,Gt,Yt)=>new Promise((Ht,ne)=>{var ae=re=>{try{Kt(Yt.next(re))}catch(we){ne(we)}},ve=re=>{try{Kt(Yt.throw(re))}catch(we){ne(we)}},Kt=re=>re.done?Ht(re.value):Promise.resolve(re.value).then(ae,ve);Kt((Yt=Yt.apply(Xt,Gt)).next())});const jt=["fullscreenchange","msfullscreenchange","webkitfullscreenchange","mozfullscreenchange"],{Countdown:Lt}=ie.default,It=({exercise:Xt,socket:Gt,dispatch:Yt,onStartScreenshot:Ht,onCloseScreenshot:ne,handleToDetail:ae})=>{const[ve,Kt]=rt.default.useModal(),re=(0,Ft.useRef)(),[we,Me]=(0,Ft.useState)(!0),ke=(0,Ft.useRef)(!1),me=(0,ct.useParams)();(0,Ft.useEffect)(()=>{var he,ye,Qt;if(document.addEventListener((0,Ct.gH)(),ue,!1),window.addEventListener("blur",Be,!1),(he=Xt.exerciseUserInfo)!=null&&he.screen_open&&(0,Ct.vp)()&&Me(!1),(ye=Xt.exerciseUserInfo)!=null&&ye.screen_open&&!(0,Ct.vp)()){(0,ft.RG)(" ",!0);const Wt=document.domain==="kepukehuan.educoder.net"?30:localStorage.getItem("Refresh")==="1"?Xt.exerciseUserInfo.screen_sec+3:Xt.exerciseUserInfo.screen_sec+10+1;re.current=rt.default.info({icon:null,centered:!0,width:444,title:(0,lt._V)(lt.CP.recordScreen1),keyboard:!1,content:E.createElement("div",null,(0,lt._V)(lt.CP.recordScreen2),E.createElement("span",{style:{color:"#FF9849"}},Xt.exerciseUserInfo.screen_num-Xt.exerciseUserInfo.used_screen_num),(0,lt._V)(lt.CP.recordScreen3)),okText:E.createElement("span",null,(0,lt._V)(lt.CP.recordScreen4),"\uFF08",E.createElement("span",{style:{display:"inline-block"}},E.createElement(Lt,{onFinish:()=>Mt(void 0,null,function*(){var Bt;const te=yield Te();(Bt=re.current)==null||Bt.destroy(),te.used_screen_num&&se(te.used_screen_num+1)}),valueStyle:{fontSize:14,lineHeight:1.4,color:"#FFF",display:"inline-block"},format:"ss",value:Date.now()+Wt*1e3})),"S\uFF09"),onOk:()=>{var Bt;(0,ft.RG)(" ",!0),(Bt=re.current)==null||Bt.destroy(),Me(!1),(0,Ct.Dj)(document.body),document.getElementById("root").addEventListener("click",pe,!1)}})}return(Qt=Xt.exerciseUserInfo)!=null&&Qt.screen_open&&!(0,Ct.vp)()||document.getElementById("root").addEventListener("click",pe,!1),()=>{document.getElementById("root").removeEventListener("click",pe,!1),document.removeEventListener((0,Ct.gH)(),ue,!1),window.removeEventListener("blur",Be,!1)}},[]),(0,Ft.useEffect)(()=>{setTimeout(()=>{Xt.actionTabs.removeEventListenerExitScreen&&(document.getElementById("root").removeEventListener("click",pe,!1),document.removeEventListener((0,Ct.gH)(),ue,!1))},500),_e()},[Xt.actionTabs]),(0,Ft.useEffect)(()=>{setTimeout(()=>{Xt.exerciseUserInfo.used_screen_num>Xt.exerciseUserInfo.screen_num&&Ae()},500)},[Xt.exerciseUserInfo]);const fe=()=>Mt(void 0,null,function*(){const he=yield Te();setTimeout(()=>{var ye,Qt;(ye=re.current)==null||ye.destroy(),re.current=rt.default.info({okText:E.createElement("span",null,"\u56DE\u5230\u8003\u8BD5"),content:E.createElement("div",null,"\u60A8\u5DF2\u5207\u5C4F",E.createElement("span",{className:"c-red"},he.used_screen_num),"\u6B21\uFF0C\u5207\u5C4F\u8D85\u8FC7",E.createElement("span",{className:"c-red"},(Qt=Xt.exerciseUserInfo)==null?void 0:Qt.screen_num),"\u6B21\u5C06\u5F3A\u5236\u4EA4\u5377"),onOk:()=>Mt(void 0,null,function*(){(0,Ct.Dj)(document.body)})})},1e3)}),pe=he=>{!(0,Ct.vp)()&&he.target.nodeName!=="A"&&he.target.nodeName!=="BUTTON"&&he.target.innerHTML!=="\u786E \u5B9A"&&(0,Ct.Dj)(document.body)},_e=()=>Mt(void 0,null,function*(){const he=yield Yt({type:"exercise/getExerciseUserInfo",payload:At({},me)});return he==null?void 0:he.data}),je=he=>Mt(void 0,null,function*(){var ye;if((ye=Xt.exerciseUserInfo)!=null&&ye.screen_at){const Wt=yield(0,St.ck)(_t(At({},me),{reset:!0}));if((Wt==null?void 0:Wt.status)===-6)return}const Qt=yield(0,St.oy)({id:me.categoryId});if(Qt!=null&&Qt.is_commit){rt.default.destroyAll(),yield He(),Xe(!0);return}else se(he+1)}),He=()=>Mt(void 0,null,function*(){var he;const ye=vt()(),Qt=Xt.exerciseUserInfo.screen_sec;if(le.current.length>0){const Wt=ye.format("YYYY-MM-DD HH:mm:ss");let Bt=Math.floor(ye.diff(vt()(le.current[0].start))/1e3);const te=le.current.length;Bt/Qt>>0>te&&(Bt=(te+1)*Qt-1),yield(0,St.P8)(me.categoryId,{exercise_user_id:(he=Xt.exerciseUserInfo)==null?void 0:he.exercise_user_id,time:Wt,time_long:Bt,count:te})}le.current=[]}),Se=(0,Ft.useRef)(0),xe=(0,Ft.useRef)(0),le=(0,Ft.useRef)([]),Ne=(0,Ft.useRef)(!1),se=he=>Mt(void 0,null,function*(){var ye;ke.current||(Ht(),rt.default.destroyAll(),Se.current=vt()().valueOf(),Ne.current=!0,re.current=rt.default.info({icon:null,maskClosable:!1,width:1080,keyboard:!1,centered:!0,className:yt.exitFullScreenModalWrapper,okText:E.createElement("span",null,(0,lt._V)(lt.CP.recordScreen8)),content:E.createElement("div",{className:yt.exitFullScreenModal},E.createElement("img",{src:xt,alt:"",className:yt.warningIcon}),E.createElement("div",{className:yt.warningText,style:{marginBottom:50,fontWeight:500}},(0,lt._V)(lt.CP.recordScreen9)),E.createElement("div",{style:{marginBottom:40}},(0,lt._V)(lt.CP.recordScreen10)),E.createElement("div",{style:{marginBottom:40}},(0,lt._V)(lt.CP.recordScreen11),E.createElement("span",{className:yt.warningText},((ye=Xt.exerciseUserInfo)==null?void 0:ye.screen_num)+1),(0,lt._V)(lt.CP.recordScreen12),E.createElement("span",{className:yt.warningText,style:{fontWeight:600}},(0,lt._V)(lt.CP.recordScreen13)),",",(0,lt._V)(lt.CP.recordScreen14),E.createElement("span",{className:yt.warningText},he-1),(0,lt._V)(lt.CP.recordScreen15)),E.createElement("div",null,E.createElement("span",null,E.createElement(Lt,{className:yt.countdownWrapper,onFinish:()=>{xe.current=vt()().valueOf(),le.current.push({start:Se.current,end:xe.current}),je(he)},valueStyle:{fontSize:30,color:"#165DFF"},format:"ss",value:Date.now()+(Xt.exerciseUserInfo.screen_sec+1)*1e3}),(0,lt._V)(lt.CP.recordScreen25)),(0,lt._V)(lt.CP.recordScreen16))),onOk:()=>{(0,ft.RG)(" ",!0),He(),(0,Ct.Dj)(document.body),ne(),re.current.destroy(),Ne.current=!1}}))}),Ae=()=>Mt(void 0,null,function*(){rt.default.destroyAll(),(yield(0,St.VL)({categoryId:me.categoryId,commit_method:1}))&&Xe()}),Xe=(he=!1)=>Mt(void 0,null,function*(){var ye,Qt;if(document.removeEventListener((0,Ct.gH)(),ue,!1),(0,Ct.BU)(),rt.default.destroyAll(),ke.current=!0,he){const Wt=yield(0,St.Yu)(me.categoryId,{exercise_user_id:(ye=Xt.exerciseUserInfo)==null?void 0:ye.exercise_user_id});ve.confirm({icon:null,closable:!1,maskClosable:!1,okText:"\u7533\u8BF7\u7EE7\u7EED\u8003\u8BD5",cancelText:"\u8FD4\u56DE",width:616,className:yt.forcedModalWrapper,centered:!0,content:E.createElement("div",{className:yt.forcedModalContent},E.createElement("img",{src:dt,alt:""}),E.createElement("div",{className:yt.forcedText},(0,lt._V)(lt.CP.recordScreen17)),E.createElement("div",{className:yt.screenNumText},(0,lt._V)(lt.CP.recordScreen18),(Qt=Xt.exerciseUserInfo)==null?void 0:Qt.screen_num,(0,lt._V)(lt.CP.recordScreen19)),E.createElement(kt.default,{dataSource:Wt==null?void 0:Wt.data,pagination:!1,rowKey:"time",bordered:!0,columns:[{title:(0,lt._V)(lt.CP.recordScreen20),align:"center",dataIndex:"time"},{title:(0,lt._V)(lt.CP.recordScreen21),align:"center",dataIndex:"time_long"},{title:(0,lt._V)(lt.CP.recordScreen22),align:"center",dataIndex:"count"}]})),onCancel:()=>{ne(),ae()},onOk:()=>{ct.history.push(`/classrooms/${me.coursesId}/exercisenotice/${me.categoryId}/users/${me.login}?isShowApply=true`)}})}else ve.info({content:E.createElement("div",{className:"tc font16"},(0,lt._V)(lt.CP.recordScreen23),E.createElement("br",null),(0,lt._V)(lt.CP.recordScreen24)),onOk:()=>{ae()}})}),Be=he=>{(0,Ct.vp)()&&document.getElementById("iframeShixuns").style.display=="none"&&!Ne.current&&(0,Ct.BU)()},Te=()=>Mt(void 0,null,function*(){var he;if((he=Xt.exerciseUserInfo)!=null&&he.screen_at){const Wt=yield(0,St.ck)(_t(At({},me),{reset:!0}));if((Wt==null?void 0:Wt.status)===-6)return}const ye=yield(0,St.oy)({id:me.categoryId});if(ye!=null&&ye.is_commit){Xe();return}return yield _e()}),ue=()=>Mt(void 0,null,function*(){var he;if((0,ft.RG)(" ",!0),(0,Ct.vp)()){if((he=Xt.exerciseUserInfo)!=null&&he.screen_at){var ye=yield(0,St.ck)(_t(At({},me),{reset:!0}));if((ye==null?void 0:ye.status)===-6)return}}else if(!Ne.current){var ye=yield(0,St.ck)(At({},me));if((ye==null?void 0:ye.status)===-6)return;const Wt=yield _e();se(Wt.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")}}),$t=()=>Mt(void 0,null,function*(){(0,St.ck)(At({},me));const he=yield _e();se(he.used_screen_num+1),window.frames.length!=parent.frames.length&&window.parent.postMessage("backExercise","*")});return E.createElement("div",null,Kt)};var Ut=(0,ct.connect)(({exercise:Xt,globalSetting:Gt})=>({globalSetting:Gt,exercise:Xt}))(It)},23960:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{X:function(){return kt},y:function(){return rt}});var Ft=Rt(59301),ie=Rt(8591);const rt=Ct=>{(0,Ft.useEffect)(()=>{if(Ct){const St=vt=>{vt.key==="F12"&&(vt.preventDefault(),console.log("F12\u88AB\u7981\u7528"))},pt=vt=>{vt.preventDefault()};return document.addEventListener("keydown",St),document.addEventListener("contextmenu",pt),()=>{document.removeEventListener("keydown",St),document.removeEventListener("contextmenu",pt)}}},[Ct])},kt=()=>{const[Ct,St]=(0,Ft.useState)(!1),pt=vt=>{const{keyCode:yt,ctrlKey:xt,metaKey:dt,type:ft}=vt;(ft==="paste"||(yt===67||yt===86)&&(dt||xt))&&(ie.ZP.warning("\u8001\u5E08\u5DF2\u8BBE\u7F6E\u7B54\u9898\u65F6\u4E0D\u5141\u8BB8\u8FDB\u884C\u590D\u5236\u7C98\u8D34"),vt.preventDefault(),vt.stopPropagation())};return(0,Ft.useEffect)(()=>(Ct&&(window.addEventListener("keydown",pt,!0),window.addEventListener("paste",pt,!0)),()=>{window.removeEventListener("keydown",pt,!0),window.removeEventListener("paste",pt,!0)}),[Ct]),{setOpenDisableCopyAndPaste:St,disableCopyAndPaste:Ct}}},16406:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{Z:function(){return ye}});var Ft=Rt(59301),ie={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},rt=Rt(92310),kt=Rt.n(rt),Ct=Rt(71418);var St=function(Qt,Wt){return(St=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Bt,te){Bt.__proto__=te}||function(Bt,te){for(var ge in te)Object.prototype.hasOwnProperty.call(te,ge)&&(Bt[ge]=te[ge])})(Qt,Wt)};function pt(Qt,Wt){function Bt(){this.constructor=Qt}St(Qt,Wt),Qt.prototype=Wt===null?Object.create(Wt):(Bt.prototype=Wt.prototype,new Bt)}function vt(Qt,Wt,Bt,te){return new(Bt||(Bt=Promise))(function(ge,Jt){function Ie(Ze){try{Je(te.next(Ze))}catch(nn){Jt(nn)}}function Ue(Ze){try{Je(te.throw(Ze))}catch(nn){Jt(nn)}}function Je(Ze){var nn;Ze.done?ge(Ze.value):(nn=Ze.value,nn instanceof Bt?nn:new Bt(function(fn){fn(nn)})).then(Ie,Ue)}Je((te=te.apply(Qt,Wt||[])).next())})}function yt(Qt,Wt){var Bt,te,ge,Jt,Ie={label:0,sent:function(){if(1&ge[0])throw ge[1];return ge[1]},trys:[],ops:[]};return Jt={next:Ue(0),throw:Ue(1),return:Ue(2)},typeof Symbol=="function"&&(Jt[Symbol.iterator]=function(){return this}),Jt;function Ue(Je){return function(Ze){return function(nn){if(Bt)throw new TypeError("Generator is already executing.");for(;Ie;)try{if(Bt=1,te&&(ge=2&nn[0]?te.return:nn[0]?te.throw||((ge=te.return)&&ge.call(te),0):te.next)&&!(ge=ge.call(te,nn[1])).done)return ge;switch(te=0,ge&&(nn=[2&nn[0],ge.value]),nn[0]){case 0:case 1:ge=nn;break;case 4:return Ie.label++,{value:nn[1],done:!1};case 5:Ie.label++,te=nn[1],nn=[0];continue;case 7:nn=Ie.ops.pop(),Ie.trys.pop();continue;default:if(ge=Ie.trys,!((ge=ge.length>0&&ge[ge.length-1])||nn[0]!==6&&nn[0]!==2)){Ie=0;continue}if(nn[0]===3&&(!ge||nn[1]>ge[0]&&nn[1]',"select"),this.addActionButton(te,'',"delete"),this.uiStyleSettings.clearButtonVisible&&this.addActionButton(te,'',"clear"),this.uiStyleSettings.undoButtonVisible&&this.addActionButton(te,'',"undo"),this.uiStyleSettings.redoButtonVisible&&this.addActionButton(te,'',"redo"),this.uiStyleSettings.zoomButtonVisible&&this.addActionButton(te,'',"zoom"),this.uiStyleSettings.zoomButtonVisible&&this.uiStyleSettings.zoomOutButtonVisible&&this.addActionButton(te,'',"zoom-out"),this.uiStyleSettings.notesButtonVisible&&this.addActionButton(te,'',"notes"),this.markerButtonBlock=document.createElement("div"),this.markerButtonBlock.className=this.toolbarBlockStyleClass.name,this.markerButtonBlock.style.flexGrow="2",this.markerButtonBlock.style.textAlign="center",this.uiContainer.appendChild(this.markerButtonBlock),this.markerButtonOverflowBlock=document.createElement("div"),this.markerButtonOverflowBlock.className=this.toolbarOverflowBlockStyleClass.name+" "+(this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName?this.uiStyleSettings.toolbarOverflowBlockStyleColorsClassName:this.toolbarOverflowBlockStyleColorsClass.name),this.markerButtonOverflowBlock.style.display="none",this.uiContainer.appendChild(this.markerButtonOverflowBlock),this.markerItems&&(this.markerItems.forEach(function(Jt){var Ie=document.createElement("div");Ie.className=""+Bt.toolbarButtonStyleClass.name,Ie.setAttribute("data-type-name",Jt.typeName),Ie.innerHTML=Jt.icon,Ie.addEventListener("click",function(){Bt.markerToolbarButtonClicked(Ie,Jt)}),Bt.buttons.push(Ie),Bt.markerButtons.push(Ie)}),this.overflowButton=document.createElement("div"),this.overflowButton.className=this.toolbarButtonStyleClass.name+" "+(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name),this.overflowButton.innerHTML='',this.overflowButton.addEventListener("click",this.overflowButtonClicked),this.markerButtonBlock.appendChild(this.overflowButton));var ge=document.createElement("div");ge.className=this.toolbarBlockStyleClass.name,ge.style.whiteSpace="nowrap",ge.style.display=this.uiStyleSettings.resultButtonBlockVisible!==!1?"":"none",this.uiContainer.appendChild(ge),this.addActionButton(ge,'',"render"),this.addActionButton(ge,'',"close"),this.markerjsContainer.appendChild(this.uiContainer),this.setSelectMode(),this.setCurrentMarker(),this.adjustLayout()},Qt.prototype.addButtonClickListener=function(Wt){this.buttonClickListeners.push(Wt)},Qt.prototype.removeButtonClickListener=function(Wt){this.buttonClickListeners.indexOf(Wt)>-1&&this.buttonClickListeners.splice(this.buttonClickListeners.indexOf(Wt),1)},Qt.prototype.setSelectMode=function(){this.resetButtonStyles(),this.setActiveButton(this.buttons[0])},Qt.prototype.adjustLayout=function(){if(this.markerButtons&&this.markerButtons.length>0){var Wt=Math.floor(this.markerButtonBlock.clientWidth/this.uiStyleSettings.toolbarHeight)-1;this.markerButtonBlock.innerHTML="",this.markerButtonOverflowBlock.innerHTML="";for(var Bt=0;Bt0&&this.buttonClickListeners.forEach(function(te){return te("marker",Bt)}),this.markerButtonOverflowBlock.style.display="none"},Qt.prototype.actionToolbarButtonClicked=function(Wt,Bt){this.buttonClickListeners&&this.buttonClickListeners.length>0&&this.buttonClickListeners.forEach(function(te){return te("action",Bt)}),this.markerButtonOverflowBlock.style.display="none",this.setActiveButton(this.buttons[0])},Qt.prototype.setActiveButton=function(Wt){this.resetButtonStyles(),Wt.className=Wt.className.replace(this.uiStyleSettings.toolbarButtonStyleColorsClassName?this.uiStyleSettings.toolbarButtonStyleColorsClassName:this.toolbarButtonStyleColorsClass.name,"").trim(),Wt.className+=" "+(this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName?this.uiStyleSettings.toolbarActiveButtonStyleColorsClassName:this.toolbarActiveButtonStyleColorsClass.name)},Qt.prototype.setActiveMarkerButton=function(Wt){var Bt=this.markerButtons.find(function(te){return te.getAttribute("data-type-name")===Wt});Bt&&this.setActiveButton(Bt)},Qt.prototype.setCurrentMarker=function(Wt){var Bt=this;this.currentMarker=Wt,this.buttons.filter(function(te){return/delete|notes/.test(te.getAttribute("data-action"))}).forEach(function(te){Bt.currentMarker===void 0?(te.style.fillOpacity="0.4",te.style.pointerEvents="none"):(te.style.fillOpacity="1",te.style.pointerEvents="all")})},Qt}(),at=function(){function Qt(Wt,Bt,te,ge){this.panels=[],this.panelButtons=[],this.markerjsContainer=Wt,this.displayMode=Bt,this.uiStyleSettings=te,this.styles=ge,this.panelButtonClick=this.panelButtonClick.bind(this),this.addStyles()}return Qt.prototype.addStyles=function(){var Wt;this.toolboxStyleClass=this.styles.addClass(new ot("toolbox",` width: 100%; flex-shrink: 0; display: flex; flex-direction: column; font-family: sans-serif; `+(this.displayMode==="popup"?"height:"+2.5*this.uiStyleSettings.toolbarHeight+"px;":"")+` box-sizing: content-box; `+(this.displayMode==="popup"?"background-color: "+this.uiStyleSettings.canvasBackgroundColor+";":"")+` `+(this.displayMode==="inline"?"border-bottom-left-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+` `+(this.displayMode==="inline"?"border-bottom-right-radius: "+Math.round(this.uiStyleSettings.toolbarHeight/10)+"px;":"")+` overflow: hidden; `)),this.toolboxStyleColorsClass=this.styles.addClass(new ot("toolbox_colors",` color: `+this.uiStyleSettings.toolboxColor+`; `));var Bt=this.uiStyleSettings.toolbarHeight/4;this.toolboxButtonRowStyleClass=this.styles.addClass(new ot("toolbox-button-row",` display: flex; cursor: default; box-sizing: content-box; `)),this.toolboxButtonRowStyleColorsClass=this.styles.addClass(new ot("toolbox-button-row_colors",` background-color: `+this.uiStyleSettings.toolbarBackgroundColor+`; `)),this.toolboxPanelRowStyleClass=this.styles.addClass(new ot("toolbox-panel-row",` display: flex; `+(this.displayMode==="inline"?"position: absolute;":"")+` `+(this.displayMode==="inline"?"bottom: "+this.uiStyleSettings.toolbarHeight+"px;":"")+` cursor: default; height: `+1.5*this.uiStyleSettings.toolbarHeight+`px; `+(this.displayMode==="inline"?"width: 100%;":"")+` box-sizing: content-box; `)),this.toolboxPanelRowStyleColorsClass=this.styles.addClass(new ot("toolbox-panel-row_colors",` background-color: `+((Wt=this.uiStyleSettings.toolboxBackgroundColor)!==null&&Wt!==void 0?Wt:this.uiStyleSettings.toolbarBackgroundHoverColor)+`; `)),this.toolboxButtonStyleClass=this.styles.addClass(new ot("toolbox_button",` display: inline-block; width: `+(this.uiStyleSettings.toolbarHeight-2*Bt)+`px; height: `+(this.uiStyleSettings.toolbarHeight-2*Bt)+`px; padding: `+Bt+`px; box-sizing: content-box; `)),this.toolboxButtonStyleColorsClass=this.styles.addClass(new ot("toolbox-button_colors",` fill: `+this.uiStyleSettings.toolbarColor+`; `)),this.toolboxActiveButtonStyleColorsClass=this.styles.addClass(new ot("toolbox-active-button_colors",` background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+`; fill: `+this.uiStyleSettings.toolbarColor+`; `)),this.styles.addRule(new z("."+this.toolboxButtonStyleColorsClass.name+":hover",` background-color: `+this.uiStyleSettings.toolbarBackgroundHoverColor+` `)),this.styles.addRule(new z("."+this.toolboxButtonStyleClass.name+" svg",` height: `+this.uiStyleSettings.toolbarHeight/2+`px; `))},Qt.prototype.show=function(Wt){var Bt;this.uiContainer=document.createElement("div"),this.uiContainer.style.visibility=Wt,this.uiContainer.className=this.toolboxStyleClass.name+" "+((Bt=this.uiStyleSettings.toolboxStyleColorsClassName)!==null&&Bt!==void 0?Bt:this.toolboxStyleColorsClass.name),this.markerjsContainer.appendChild(this.uiContainer)},Qt.prototype.setPanelButtons=function(Wt){var Bt,te,ge=this;this.panels=Wt,this.uiContainer!==void 0&&(this.uiContainer.innerHTML="",this.panelRow=document.createElement("div"),this.panelRow.className=this.toolboxPanelRowStyleClass.name+" "+((Bt=this.uiStyleSettings.toolboxPanelRowStyleColorsClassName)!==null&&Bt!==void 0?Bt:this.toolboxPanelRowStyleColorsClass.name),this.uiContainer.appendChild(this.panelRow),this.buttonRow=document.createElement("div"),this.buttonRow.className=this.toolboxButtonRowStyleClass.name+" "+((te=this.uiStyleSettings.toolboxButtonRowStyleColorsClassName)!==null&&te!==void 0?te:this.toolboxButtonRowStyleColorsClass.name)+" ",this.uiContainer.appendChild(this.buttonRow),this.panelButtons.splice(0),this.panels.forEach(function(Jt){var Ie;Jt.uiStyleSettings=ge.uiStyleSettings;var Ue=document.createElement("div");Ue.className=ge.toolboxButtonStyleClass.name+" "+((Ie=ge.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Ie!==void 0?Ie:ge.toolboxButtonStyleColorsClass.name),Ue.innerHTML=Jt.icon,Ue.title=Jt.title,Ue.addEventListener("click",function(){ge.panelButtonClick(Jt)}),ge.panelButtons.push(Ue),ge.buttonRow.appendChild(Ue)}),this.displayMode==="inline"?this.panelRow.style.display="none":this.panelRow.style.visibility="hidden")},Qt.prototype.panelButtonClick=function(Wt){var Bt=this,te=-1;if(Wt!==this.activePanel){te=this.panels.indexOf(Wt),this.panelRow.innerHTML="";var ge=Wt.getUi();ge.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.panelRow.appendChild(ge),this.panelRow.style.display="flex",this.panelRow.style.visibility="visible",this.panelRow.className=this.panelRow.className.replace(this.styles.fadeOutAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeInAnimationClassName,this.activePanel=Wt}else this.activePanel=void 0,this.panelRow.className=this.panelRow.className.replace(this.styles.fadeInAnimationClassName,""),this.panelRow.className+=" "+this.styles.fadeOutAnimationClassName,setTimeout(function(){Bt.displayMode==="inline"?Bt.panelRow.style.display="none":Bt.panelRow.style.visibility="hidden"},200);this.panelButtons.forEach(function(Jt,Ie){var Ue,Je;Jt.className=Bt.toolboxButtonStyleClass.name+" "+(Ie===te?""+((Ue=Bt.uiStyleSettings.toolboxActiveButtonStyleColorsClassName)!==null&&Ue!==void 0?Ue:Bt.toolboxActiveButtonStyleColorsClass.name):""+((Je=Bt.uiStyleSettings.toolboxButtonStyleColorsClassName)!==null&&Je!==void 0?Je:Bt.toolboxButtonStyleColorsClass.name))})},Qt}(),ut=function(Qt,Wt){this.title=Qt,this.icon=Wt},wt=function(Qt){function Wt(Bt,te,ge,Jt){var Ie=Qt.call(this,Bt,Jt||'')||this;return Ie.colors=[],Ie.addTransparent=!1,Ie.colorBoxes=[],Ie.colors=te,Ie.currentColor=ge,Ie.setCurrentColor=Ie.setCurrentColor.bind(Ie),Ie.getColorBox=Ie.getColorBox.bind(Ie),Ie}return pt(Wt,Qt),Wt.prototype.getUi=function(){var Bt=this,te=document.createElement("div");return te.style.overflow="hidden",te.style.whiteSpace="nowrap",this.colors.forEach(function(ge){var Jt=Bt.getColorBox(ge);te.appendChild(Jt),Bt.colorBoxes.push(Jt)}),te},Wt.prototype.getColorBox=function(Bt){var te=this,ge=this.uiStyleSettings.toolbarHeight/4,Jt=this.uiStyleSettings.toolbarHeight-ge,Ie=document.createElement("div");Ie.style.display="inline-block",Ie.style.boxSizing="content-box",Ie.style.width=Jt-2+"px",Ie.style.height=Jt-2+"px",Ie.style.padding="1px",Ie.style.marginRight="2px",Ie.style.marginBottom="2px",Ie.style.borderWidth="2px",Ie.style.borderStyle="solid",Ie.style.borderRadius=(Jt+2)/2+"px",Ie.style.borderColor=Bt===this.currentColor?this.uiStyleSettings.toolboxAccentColor:"transparent",Ie.addEventListener("click",function(){te.setCurrentColor(Bt,Ie)});var Ue=document.createElement("div");return Ue.style.display="inline-block",Ue.style.width=Jt-2+"px",Ue.style.height=Jt-2+"px",Ue.style.backgroundColor=Bt,Ue.style.borderRadius=Jt/2+"px",Bt==="transparent"&&(Ue.style.fill=this.uiStyleSettings.toolboxAccentColor,Ue.innerHTML=` `),Ie.appendChild(Ue),Ie},Wt.prototype.setCurrentColor=function(Bt,te){var ge=this;this.currentColor=Bt,this.colorBoxes.forEach(function(Jt){Jt.style.borderColor=Jt===te?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onColorChanged&&this.onColorChanged(Bt)},Wt}(ut),Et=function(){function Qt(Wt,Bt,te){this._state="new",this._isSelected=!1,this._container=Wt,this._overlayContainer=Bt,this.globalSettings=te,this.stateChanged=this.stateChanged.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this)}return Object.defineProperty(Qt.prototype,"typeName",{get:function(){return Object.getPrototypeOf(this).constructor.typeName},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"container",{get:function(){return this._container},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"overlayContainer",{get:function(){return this._overlayContainer},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"state",{get:function(){return this._state},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"toolboxPanels",{get:function(){return[]},enumerable:!1,configurable:!0}),Qt.prototype.ownsTarget=function(Wt){return!1},Object.defineProperty(Qt.prototype,"isSelected",{get:function(){return this._isSelected},enumerable:!1,configurable:!0}),Qt.prototype.select=function(){this.container.style.cursor="move",this._isSelected=!0,this.manipulationStartState=this.getState()},Qt.prototype.deselect=function(){this.container.style.cursor="default",this._isSelected=!1,this.stateChanged()},Qt.prototype.pointerDown=function(Wt,Bt){},Qt.prototype.dblClick=function(Wt,Bt){},Qt.prototype.manipulate=function(Wt){},Qt.prototype.pointerUp=function(Wt){this.stateChanged()},Qt.prototype.dispose=function(){},Qt.prototype.addMarkerVisualToContainer=function(Wt){this.container.childNodes.length>0?this.container.insertBefore(Wt,this.container.childNodes[0]):this.container.appendChild(Wt)},Qt.prototype.getState=function(){return{typeName:Qt.typeName,state:this.state,notes:this.notes}},Qt.prototype.restoreState=function(Wt){this._state=Wt.state,this.notes=Wt.notes},Qt.prototype.scale=function(Wt,Bt){},Qt.prototype.colorChanged=function(Wt){this.onColorChanged&&this.onColorChanged(Wt),this.stateChanged()},Qt.prototype.fillColorChanged=function(Wt){this.onFillColorChanged&&this.onFillColorChanged(Wt),this.stateChanged()},Qt.prototype.stateChanged=function(){if(this.onStateChanged&&this.state!=="creating"&&this.state!=="new"){var Wt=this.getState();this.manipulationStartState!==void 0&&(this.manipulationStartState.state="select"),Wt.state="select",JSON.stringify(this.manipulationStartState)!=JSON.stringify(Wt)&&this.onStateChanged(this)}},Qt.typeName="MarkerBase",Qt}(),At=function(){function Qt(){this.findGripByVisual=this.findGripByVisual.bind(this)}return Qt.prototype.findGripByVisual=function(Wt){return this.topLeft.ownsTarget(Wt)?this.topLeft:this.topCenter.ownsTarget(Wt)?this.topCenter:this.topRight.ownsTarget(Wt)?this.topRight:this.centerLeft.ownsTarget(Wt)?this.centerLeft:this.centerRight.ownsTarget(Wt)?this.centerRight:this.bottomLeft.ownsTarget(Wt)?this.bottomLeft:this.bottomCenter.ownsTarget(Wt)?this.bottomCenter:this.bottomRight.ownsTarget(Wt)?this.bottomRight:void 0},Qt}(),_t=function(){function Qt(){this.GRIP_SIZE=10,this.visual=dt.createGroup(),this.visual.appendChild(dt.createCircle(1.5*this.GRIP_SIZE,[["fill","transparent"]])),this.visual.appendChild(dt.createCircle(this.GRIP_SIZE,[["fill","#cccccc"],["fill-opacity","0.7"],["stroke","#333333"],["stroke-width","2"],["stroke-opacity","0.7"]]))}return Qt.prototype.ownsTarget=function(Wt){return Wt===this.visual||Wt===this.visual.childNodes[0]||Wt===this.visual.childNodes[1]},Qt}(),Mt=function(){function Qt(){}return Qt.toITransformMatrix=function(Wt){return{a:Wt.a,b:Wt.b,c:Wt.c,d:Wt.d,e:Wt.e,f:Wt.f}},Qt.toSVGMatrix=function(Wt,Bt){return Wt.a=Bt.a,Wt.b=Bt.b,Wt.c=Bt.c,Wt.d=Bt.d,Wt.e=Bt.e,Wt.f=Bt.f,Wt},Qt}(),jt=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.left=0,Jt.top=0,Jt.width=0,Jt.height=0,Jt.defaultSize={x:50,y:20},Jt.offsetX=0,Jt.offsetY=0,Jt.rotationAngle=0,Jt.CB_DISTANCE=10,Jt._suppressMarkerCreateEvent=!1,Jt.container.transform.baseVal.appendItem(dt.createTransform()),Jt.setupControlBox(),Jt}return pt(Wt,Qt),Object.defineProperty(Wt.prototype,"centerX",{get:function(){return this.left+this.width/2},enumerable:!1,configurable:!0}),Object.defineProperty(Wt.prototype,"centerY",{get:function(){return this.top+this.height/2},enumerable:!1,configurable:!0}),Object.defineProperty(Wt.prototype,"visual",{get:function(){return this._visual},set:function(Bt){this._visual=Bt;var te=dt.createTransform();this._visual.transform.baseVal.appendItem(te)},enumerable:!1,configurable:!0}),Wt.prototype.ownsTarget=function(Bt){return!!Qt.prototype.ownsTarget.call(this,Bt)||!!(this.controlGrips.findGripByVisual(Bt)!==void 0||this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(Bt))},Wt.prototype.pointerDown=function(Bt,te){Qt.prototype.pointerDown.call(this,Bt,te),this.state==="new"&&(this.left=Bt.x,this.top=Bt.y),this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.manipulationStartWidth=this.width,this.manipulationStartHeight=this.height;var ge=this.unrotatePoint(Bt);if(this.manipulationStartX=ge.x,this.manipulationStartY=ge.y,this.offsetX=ge.x-this.left,this.offsetY=ge.y-this.top,this.state!=="new")if(this.select(),this.activeGrip=this.controlGrips.findGripByVisual(te),this.activeGrip!==void 0)this._state="resize";else if(this.rotatorGrip!==void 0&&this.rotatorGrip.ownsTarget(te)){this.activeGrip=this.rotatorGrip;var Jt=this.rotatePoint({x:this.centerX,y:this.centerY});this.left=Jt.x-this.width/2,this.top=Jt.y-this.height/2,this.moveVisual({x:this.left,y:this.top});var Ie=this.container.transform.baseVal.getItem(0);Ie.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Ie,0),this.adjustControlBox(),this._state="rotate"}else this._state="move"},Wt.prototype.pointerUp=function(Bt){var te=this.state;Qt.prototype.pointerUp.call(this,Bt),this.state==="creating"&&this.width<10&&this.height<10?(this.width=this.defaultSize.x,this.height=this.defaultSize.y):this.manipulate(Bt),this._state="select",te==="creating"&&this.onMarkerCreated&&this._suppressMarkerCreateEvent===!1&&this.onMarkerCreated(this)},Wt.prototype.moveVisual=function(Bt){this.visual.style.transform="translate("+Bt.x+"px, "+Bt.y+"px)"},Wt.prototype.manipulate=function(Bt){var te=this.unrotatePoint(Bt);this.state==="creating"?this.resize(Bt):this.state==="move"?(this.left=this.manipulationStartLeft+(te.x-this.manipulationStartLeft)-this.offsetX,this.top=this.manipulationStartTop+(te.y-this.manipulationStartTop)-this.offsetY,this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()):this.state==="resize"?this.resize(te):this.state==="rotate"&&this.rotate(Bt)},Wt.prototype.resize=function(Bt){var te=this.manipulationStartLeft,ge=this.manipulationStartWidth,Jt=this.manipulationStartTop,Ie=this.manipulationStartHeight;switch(this.activeGrip){case this.controlGrips.bottomLeft:case this.controlGrips.centerLeft:case this.controlGrips.topLeft:te=this.manipulationStartLeft+Bt.x-this.manipulationStartX,ge=this.manipulationStartWidth+this.manipulationStartLeft-te;break;case this.controlGrips.bottomRight:case this.controlGrips.centerRight:case this.controlGrips.topRight:case void 0:ge=this.manipulationStartWidth+Bt.x-this.manipulationStartX}switch(this.activeGrip){case this.controlGrips.topCenter:case this.controlGrips.topLeft:case this.controlGrips.topRight:Jt=this.manipulationStartTop+Bt.y-this.manipulationStartY,Ie=this.manipulationStartHeight+this.manipulationStartTop-Jt;break;case this.controlGrips.bottomCenter:case this.controlGrips.bottomLeft:case this.controlGrips.bottomRight:case void 0:Ie=this.manipulationStartHeight+Bt.y-this.manipulationStartY}ge>=0?(this.left=te,this.width=ge):(this.left=te+ge,this.width=-ge),Ie>=0?(this.top=Jt,this.height=Ie):(this.top=Jt+Ie,this.height=-Ie),this.setSize()},Wt.prototype.setSize=function(){this.moveVisual({x:this.left,y:this.top}),this.adjustControlBox()},Wt.prototype.rotate=function(Bt){if(Math.abs(Bt.x-this.centerX)>.1){var te=Math.sign(Bt.x-this.centerX);this.rotationAngle=180*Math.atan((Bt.y-this.centerY)/(Bt.x-this.centerX))/Math.PI+90*te,this.applyRotation()}},Wt.prototype.applyRotation=function(){var Bt=this.container.transform.baseVal.getItem(0);Bt.setRotate(this.rotationAngle,this.centerX,this.centerY),this.container.transform.baseVal.replaceItem(Bt,0)},Wt.prototype.rotatePoint=function(Bt){if(this.rotationAngle===0)return Bt;var te=this.container.getCTM(),ge=dt.createPoint(Bt.x,Bt.y);return{x:(ge=ge.matrixTransform(te)).x,y:ge.y}},Wt.prototype.unrotatePoint=function(Bt){if(this.rotationAngle===0)return Bt;var te=this.container.getCTM();te=te.inverse();var ge=dt.createPoint(Bt.x,Bt.y);return{x:(ge=ge.matrixTransform(te)).x,y:ge.y}},Wt.prototype.select=function(){Qt.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},Wt.prototype.deselect=function(){Qt.prototype.deselect.call(this),this.controlBox.style.display="none"},Wt.prototype.setupControlBox=function(){this.controlBox=dt.createGroup();var Bt=dt.createTransform();Bt.setTranslate(-this.CB_DISTANCE/2,-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.appendItem(Bt),this.container.appendChild(this.controlBox),this.controlRect=dt.createRect(this.width+this.CB_DISTANCE,this.height+this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"],["fill","transparent"],["pointer-events","none"]]),this.controlBox.appendChild(this.controlRect),this.globalSettings.disableRotation!==!0&&(this.rotatorGripLine=dt.createLine((this.width+2*this.CB_DISTANCE)/2,this.top-this.CB_DISTANCE,(this.width+2*this.CB_DISTANCE)/2,this.top-3*this.CB_DISTANCE,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.appendChild(this.rotatorGripLine)),this.controlGrips=new At,this.addControlGrips(),this.controlBox.style.display="none"},Wt.prototype.adjustControlBox=function(){var Bt=this.controlBox.transform.baseVal.getItem(0);Bt.setTranslate(this.left-this.CB_DISTANCE/2,this.top-this.CB_DISTANCE/2),this.controlBox.transform.baseVal.replaceItem(Bt,0),this.controlRect.setAttribute("width",(this.width+this.CB_DISTANCE).toString()),this.controlRect.setAttribute("height",(this.height+this.CB_DISTANCE).toString()),this.rotatorGripLine!==void 0&&(this.rotatorGripLine.setAttribute("x1",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y1",(-this.CB_DISTANCE/2).toString()),this.rotatorGripLine.setAttribute("x2",((this.width+this.CB_DISTANCE)/2).toString()),this.rotatorGripLine.setAttribute("y2",(3*-this.CB_DISTANCE).toString())),this.positionGrips()},Wt.prototype.addControlGrips=function(){this.controlGrips.topLeft=this.createGrip(),this.controlGrips.topCenter=this.createGrip(),this.controlGrips.topRight=this.createGrip(),this.controlGrips.centerLeft=this.createGrip(),this.controlGrips.centerRight=this.createGrip(),this.controlGrips.bottomLeft=this.createGrip(),this.controlGrips.bottomCenter=this.createGrip(),this.controlGrips.bottomRight=this.createGrip(),this.globalSettings.disableRotation!==!0&&(this.rotatorGrip=this.createGrip()),this.positionGrips()},Wt.prototype.createGrip=function(){var Bt=new _t;return Bt.visual.transform.baseVal.appendItem(dt.createTransform()),this.controlBox.appendChild(Bt.visual),Bt},Wt.prototype.positionGrips=function(){var Bt=this.controlGrips.topLeft.GRIP_SIZE,te=-Bt/2,ge=te,Jt=(this.width+this.CB_DISTANCE)/2-Bt/2,Ie=(this.height+this.CB_DISTANCE)/2-Bt/2,Ue=this.height+this.CB_DISTANCE-Bt/2,Je=this.width+this.CB_DISTANCE-Bt/2;this.positionGrip(this.controlGrips.topLeft.visual,te,ge),this.positionGrip(this.controlGrips.topCenter.visual,Jt,ge),this.positionGrip(this.controlGrips.topRight.visual,Je,ge),this.positionGrip(this.controlGrips.centerLeft.visual,te,Ie),this.positionGrip(this.controlGrips.centerRight.visual,Je,Ie),this.positionGrip(this.controlGrips.bottomLeft.visual,te,Ue),this.positionGrip(this.controlGrips.bottomCenter.visual,Jt,Ue),this.positionGrip(this.controlGrips.bottomRight.visual,Je,Ue),this.rotatorGrip!==void 0&&this.positionGrip(this.rotatorGrip.visual,Jt,ge-3*this.CB_DISTANCE)},Wt.prototype.positionGrip=function(Bt,te,ge){var Jt=Bt.transform.baseVal.getItem(0);Jt.setTranslate(te,ge),Bt.transform.baseVal.replaceItem(Jt,0)},Wt.prototype.hideControlBox=function(){this.controlBox.style.display="none"},Wt.prototype.showControlBox=function(){this.controlBox.style.display=""},Wt.prototype.getState=function(){return Object.assign({left:this.left,top:this.top,width:this.width,height:this.height,rotationAngle:this.rotationAngle,visualTransformMatrix:Mt.toITransformMatrix(this.visual.transform.baseVal.getItem(0).matrix),containerTransformMatrix:Mt.toITransformMatrix(this.container.transform.baseVal.getItem(0).matrix)},Qt.prototype.getState.call(this))},Wt.prototype.restoreState=function(Bt){Qt.prototype.restoreState.call(this,Bt);var te=Bt;this.left=te.left,this.top=te.top,this.width=te.width,this.height=te.height,this.rotationAngle=te.rotationAngle,this.visual.transform.baseVal.getItem(0).setMatrix(Mt.toSVGMatrix(this.visual.transform.baseVal.getItem(0).matrix,te.visualTransformMatrix)),this.container.transform.baseVal.getItem(0).setMatrix(Mt.toSVGMatrix(this.container.transform.baseVal.getItem(0).matrix,te.containerTransformMatrix))},Wt.prototype.scale=function(Bt,te){Qt.prototype.scale.call(this,Bt,te);var ge=this.rotatePoint({x:this.left,y:this.top}),Jt=this.unrotatePoint({x:ge.x*Bt,y:ge.y*te});this.left=Jt.x,this.top=Jt.y,this.width=this.width*Bt,this.height=this.height*te,this.adjustControlBox()},Wt}(Et),Lt=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.fillColor="transparent",Jt.strokeColor="transparent",Jt.strokeWidth=0,Jt.strokeDasharray="",Jt.opacity=1,Jt.setStrokeColor=Jt.setStrokeColor.bind(Jt),Jt.setFillColor=Jt.setFillColor.bind(Jt),Jt.setStrokeWidth=Jt.setStrokeWidth.bind(Jt),Jt.setStrokeDasharray=Jt.setStrokeDasharray.bind(Jt),Jt.createVisual=Jt.createVisual.bind(Jt),Jt}return pt(Wt,Qt),Wt.prototype.ownsTarget=function(Bt){return!(!Qt.prototype.ownsTarget.call(this,Bt)&&Bt!==this.visual)},Wt.prototype.createVisual=function(){this.visual=dt.createRect(1,1,[["fill",this.fillColor],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray],["opacity",this.opacity.toString()]]),this.addMarkerVisualToContainer(this.visual)},Wt.prototype.pointerDown=function(Bt,te){Qt.prototype.pointerDown.call(this,Bt,te),this.state==="new"&&(this.createVisual(),this.moveVisual(Bt),this._state="creating")},Wt.prototype.manipulate=function(Bt){Qt.prototype.manipulate.call(this,Bt)},Wt.prototype.resize=function(Bt){Qt.prototype.resize.call(this,Bt),this.setSize()},Wt.prototype.setSize=function(){Qt.prototype.setSize.call(this),dt.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]])},Wt.prototype.pointerUp=function(Bt){Qt.prototype.pointerUp.call(this,Bt),this.setSize()},Wt.prototype.setStrokeColor=function(Bt){this.strokeColor=Bt,this.visual&&dt.setAttributes(this.visual,[["stroke",this.strokeColor]]),this.colorChanged(Bt),this.stateChanged()},Wt.prototype.setFillColor=function(Bt){this.fillColor=Bt,this.visual&&dt.setAttributes(this.visual,[["fill",this.fillColor]]),this.stateChanged()},Wt.prototype.setStrokeWidth=function(Bt){this.strokeWidth=Bt,this.visual&&dt.setAttributes(this.visual,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Wt.prototype.setStrokeDasharray=function(Bt){this.strokeDasharray=Bt,this.visual&&dt.setAttributes(this.visual,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Wt.prototype.getState=function(){return Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:this.opacity},Qt.prototype.getState.call(this))},Wt.prototype.restoreState=function(Bt){var te=Bt;this.fillColor=te.fillColor,this.strokeColor=te.strokeColor,this.strokeWidth=te.strokeWidth,this.strokeDasharray=te.strokeDasharray,this.opacity=te.opacity,this.createVisual(),Qt.prototype.restoreState.call(this,Bt),this.setSize()},Wt.prototype.scale=function(Bt,te){Qt.prototype.scale.call(this,Bt,te),this.setSize()},Wt.title="Rectangle marker",Wt}(jt),It=function(Qt){function Wt(Bt,te,ge,Jt){var Ie=Qt.call(this,Bt,Jt||'')||this;return Ie.widths=[],Ie.widthBoxes=[],Ie.widths=te,Ie.currentWidth=ge,Ie.setCurrentWidth=Ie.setCurrentWidth.bind(Ie),Ie}return pt(Wt,Qt),Wt.prototype.getUi=function(){var Bt=this,te=document.createElement("div");return te.style.display="flex",te.style.overflow="hidden",te.style.flexGrow="2",this.widths.forEach(function(ge){var Jt=document.createElement("div");Jt.style.display="flex",Jt.style.flexGrow="2",Jt.style.alignItems="center",Jt.style.justifyContent="space-between",Jt.style.padding="5px",Jt.style.borderWidth="2px",Jt.style.borderStyle="solid",Jt.style.borderColor=ge===Bt.currentWidth?Bt.uiStyleSettings.toolboxAccentColor:"transparent",Jt.addEventListener("click",function(){Bt.setCurrentWidth(ge,Jt)}),te.appendChild(Jt);var Ie=document.createElement("div");Ie.innerText=ge.toString(),Ie.style.marginRight="5px",Jt.appendChild(Ie);var Ue=document.createElement("div");Ue.style.minHeight="20px",Ue.style.flexGrow="2",Ue.style.display="flex",Ue.style.alignItems="center";var Je=document.createElement("hr");Je.style.minWidth="20px",Je.style.border="0px",Je.style.borderTop=ge+"px solid "+Bt.uiStyleSettings.toolboxColor,Je.style.flexGrow="2",Ue.appendChild(Je),Jt.appendChild(Ue),Bt.widthBoxes.push(Jt)}),te},Wt.prototype.setCurrentWidth=function(Bt,te){var ge=this;this.currentWidth=Bt,this.widthBoxes.forEach(function(Jt){Jt.style.borderColor=Jt===te?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onWidthChanged&&this.onWidthChanged(this.currentWidth)},Wt}(ut),Ut=function(Qt){function Wt(Bt,te,ge,Jt){var Ie=Qt.call(this,Bt,Jt||'')||this;return Ie.styles=[],Ie.styleBoxes=[],Ie.styles=te,Ie.currentStyle=ge,Ie.setCurrentStyle=Ie.setCurrentStyle.bind(Ie),Ie}return pt(Wt,Qt),Wt.prototype.getUi=function(){var Bt=this,te=document.createElement("div");return te.style.display="flex",te.style.overflow="hidden",te.style.flexGrow="2",this.styles.forEach(function(ge){var Jt=document.createElement("div");Jt.style.display="flex",Jt.style.alignItems="center",Jt.style.justifyContent="space-between",Jt.style.padding="5px",Jt.style.borderWidth="2px",Jt.style.borderStyle="solid",Jt.style.overflow="hidden",Jt.style.maxWidth=100/Bt.styles.length-5+"%",Jt.style.borderColor=ge===Bt.currentStyle?Bt.uiStyleSettings.toolboxAccentColor:"transparent",Jt.addEventListener("click",function(){Bt.setCurrentStyle(ge,Jt)}),te.appendChild(Jt);var Ie=document.createElement("div");Ie.style.minHeight="20px",Ie.style.flexGrow="2",Ie.style.overflow="hidden";var Ue=` `;Ie.innerHTML=Ue,Jt.appendChild(Ie),Bt.styleBoxes.push(Jt)}),te},Wt.prototype.setCurrentStyle=function(Bt,te){var ge=this;this.currentStyle=Bt,this.styleBoxes.forEach(function(Jt){Jt.style.borderColor=Jt===te?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onStyleChanged&&this.onStyleChanged(this.currentStyle)},Wt}(ut),Xt=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.strokeColor=ge.defaultColor,Jt.strokeWidth=ge.defaultStrokeWidth,Jt.strokeDasharray=ge.defaultStrokeDasharray,Jt.strokePanel=new wt("Line color",ge.defaultColorSet,ge.defaultColor),Jt.strokePanel.onColorChanged=Jt.setStrokeColor,Jt.strokeWidthPanel=new It("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),Jt.strokeWidthPanel.onWidthChanged=Jt.setStrokeWidth,Jt.strokeStylePanel=new Ut("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),Jt.strokeStylePanel.onStyleChanged=Jt.setStrokeDasharray,Jt}return pt(Wt,Qt),Object.defineProperty(Wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Wt.prototype.getState=function(){var Bt=Qt.prototype.getState.call(this);return Bt.typeName=Wt.typeName,Bt},Wt.typeName="FrameMarker",Wt.title="Frame marker",Wt.icon='',Wt}(Lt),Gt=function(){this.defaultColorSet=["#EF4444","#10B981","#2563EB","#FFFF00","#7C3AED","#F472B6","#000000","#FFFFFF"],this.defaultColor=this.defaultColorSet[0],this.defaultFillColor=this.defaultColorSet[0],this.defaultStrokeColor=this.defaultColorSet[7],this.defaultHighlightColor=this.defaultColorSet[3],this.defaultStrokeWidth=3,this.defaultStrokeDasharray="",this.defaultHighlightOpacity=.5,this.defaultFontFamily="Helvetica, Arial, sans-serif",this.defaultStrokeWidths=[1,2,3,5,10],this.defaultStrokeDasharrays=["","3","12 3","9 6 3 6"],this.defaultOpacitySteps=[.1,.25,.5,.75,1],this.displayMode="inline",this.defaultFontFamilies=['Times, "Times New Roman", serif',"Helvetica, Arial, sans-serif",'Courier, "Courier New", monospace',"cursive","fantasy"],this.popupMargin=30,this.newFreehandMarkerOnPointerUp=!1,this.defaultColorsFollowCurrentColors=!1,this.freehandPixelRatio=1,this.disableRotation=!1,this.defaultCaptionFontSize="1rem",this.defaultCaptionText="Text"},Yt=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.x1=0,Jt.y1=0,Jt.x2=0,Jt.y2=0,Jt.defaultLength=50,Jt.manipulationStartX=0,Jt.manipulationStartY=0,Jt.manipulationStartX1=0,Jt.manipulationStartY1=0,Jt.manipulationStartX2=0,Jt.manipulationStartY2=0,Jt.setupControlBox(),Jt}return pt(Wt,Qt),Wt.prototype.ownsTarget=function(Bt){return!!Qt.prototype.ownsTarget.call(this,Bt)||!(!this.grip1.ownsTarget(Bt)&&!this.grip2.ownsTarget(Bt))},Wt.prototype.pointerDown=function(Bt,te){Qt.prototype.pointerDown.call(this,Bt,te),this.manipulationStartX=Bt.x,this.manipulationStartY=Bt.y,this.state==="new"&&(this.x1=Bt.x,this.y1=Bt.y,this.x2=Bt.x,this.y2=Bt.y),this.manipulationStartX1=this.x1,this.manipulationStartY1=this.y1,this.manipulationStartX2=this.x2,this.manipulationStartY2=this.y2,this.state!=="new"&&(this.select(),this.grip1.ownsTarget(te)?this.activeGrip=this.grip1:this.grip2.ownsTarget(te)?this.activeGrip=this.grip2:this.activeGrip=void 0,this.activeGrip?this._state="resize":this._state="move")},Wt.prototype.pointerUp=function(Bt){var te=this.state;Qt.prototype.pointerUp.call(this,Bt),this.state==="creating"&&Math.abs(this.x1-this.x2)<10&&Math.abs(this.y1-this.y2)<10?(this.x2=this.x1+this.defaultLength,this.adjustVisual(),this.adjustControlBox()):this.manipulate(Bt),this._state="select",te==="creating"&&this.onMarkerCreated&&this.onMarkerCreated(this)},Wt.prototype.adjustVisual=function(){},Wt.prototype.manipulate=function(Bt){this.state==="creating"?this.resize(Bt):this.state==="move"?(this.x1=this.manipulationStartX1+Bt.x-this.manipulationStartX,this.y1=this.manipulationStartY1+Bt.y-this.manipulationStartY,this.x2=this.manipulationStartX2+Bt.x-this.manipulationStartX,this.y2=this.manipulationStartY2+Bt.y-this.manipulationStartY,this.adjustVisual(),this.adjustControlBox()):this.state==="resize"&&this.resize(Bt)},Wt.prototype.resize=function(Bt){switch(this.activeGrip){case this.grip1:this.x1=Bt.x,this.y1=Bt.y;break;case this.grip2:case void 0:this.x2=Bt.x,this.y2=Bt.y}this.adjustVisual(),this.adjustControlBox()},Wt.prototype.select=function(){Qt.prototype.select.call(this),this.adjustControlBox(),this.controlBox.style.display=""},Wt.prototype.deselect=function(){Qt.prototype.deselect.call(this),this.controlBox.style.display="none"},Wt.prototype.setupControlBox=function(){this.controlBox=dt.createGroup(),this.container.appendChild(this.controlBox),this.addControlGrips(),this.controlBox.style.display="none"},Wt.prototype.adjustControlBox=function(){this.positionGrips()},Wt.prototype.addControlGrips=function(){this.grip1=this.createGrip(),this.grip2=this.createGrip(),this.positionGrips()},Wt.prototype.createGrip=function(){var Bt=new _t;return Bt.visual.transform.baseVal.appendItem(dt.createTransform()),this.controlBox.appendChild(Bt.visual),Bt},Wt.prototype.positionGrips=function(){var Bt=this.grip1.GRIP_SIZE;this.positionGrip(this.grip1.visual,this.x1-Bt/2,this.y1-Bt/2),this.positionGrip(this.grip2.visual,this.x2-Bt/2,this.y2-Bt/2)},Wt.prototype.positionGrip=function(Bt,te,ge){var Jt=Bt.transform.baseVal.getItem(0);Jt.setTranslate(te,ge),Bt.transform.baseVal.replaceItem(Jt,0)},Wt.prototype.getState=function(){return Object.assign({x1:this.x1,y1:this.y1,x2:this.x2,y2:this.y2},Qt.prototype.getState.call(this))},Wt.prototype.restoreState=function(Bt){Qt.prototype.restoreState.call(this,Bt);var te=Bt;this.x1=te.x1,this.y1=te.y1,this.x2=te.x2,this.y2=te.y2},Wt.prototype.scale=function(Bt,te){Qt.prototype.scale.call(this,Bt,te),this.x1=this.x1*Bt,this.y1=this.y1*te,this.x2=this.x2*Bt,this.y2=this.y2*te,this.adjustVisual(),this.adjustControlBox()},Wt}(Et),Ht=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.strokeColor="transparent",Jt.strokeWidth=0,Jt.strokeDasharray="",Jt.setStrokeColor=Jt.setStrokeColor.bind(Jt),Jt.setStrokeWidth=Jt.setStrokeWidth.bind(Jt),Jt.setStrokeDasharray=Jt.setStrokeDasharray.bind(Jt),Jt.strokeColor=ge.defaultColor,Jt.strokeWidth=ge.defaultStrokeWidth,Jt.strokeDasharray=ge.defaultStrokeDasharray,Jt.strokePanel=new wt("Line color",ge.defaultColorSet,ge.defaultColor),Jt.strokePanel.onColorChanged=Jt.setStrokeColor,Jt.strokeWidthPanel=new It("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),Jt.strokeWidthPanel.onWidthChanged=Jt.setStrokeWidth,Jt.strokeStylePanel=new Ut("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),Jt.strokeStylePanel.onStyleChanged=Jt.setStrokeDasharray,Jt}return pt(Wt,Qt),Wt.prototype.ownsTarget=function(Bt){return!(!Qt.prototype.ownsTarget.call(this,Bt)&&Bt!==this.visual&&Bt!==this.selectorLine&&Bt!==this.visibleLine)},Wt.prototype.createVisual=function(){this.visual=dt.createGroup(),this.selectorLine=dt.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()]]),this.visibleLine=dt.createLine(this.x1,this.y1,this.x2,this.y2,[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()]]),this.visual.appendChild(this.selectorLine),this.visual.appendChild(this.visibleLine),this.addMarkerVisualToContainer(this.visual)},Wt.prototype.pointerDown=function(Bt,te){Qt.prototype.pointerDown.call(this,Bt,te),this.state==="new"&&(this.createVisual(),this.adjustVisual(),this._state="creating")},Wt.prototype.adjustVisual=function(){this.selectorLine&&this.visibleLine&&(this.selectorLine.setAttribute("x1",this.x1.toString()),this.selectorLine.setAttribute("y1",this.y1.toString()),this.selectorLine.setAttribute("x2",this.x2.toString()),this.selectorLine.setAttribute("y2",this.y2.toString()),this.visibleLine.setAttribute("x1",this.x1.toString()),this.visibleLine.setAttribute("y1",this.y1.toString()),this.visibleLine.setAttribute("x2",this.x2.toString()),this.visibleLine.setAttribute("y2",this.y2.toString()),dt.setAttributes(this.visibleLine,[["stroke",this.strokeColor]]),dt.setAttributes(this.visibleLine,[["stroke-width",this.strokeWidth.toString()]]),dt.setAttributes(this.visibleLine,[["stroke-dasharray",this.strokeDasharray.toString()]]))},Wt.prototype.setStrokeColor=function(Bt){this.strokeColor=Bt,this.adjustVisual(),this.colorChanged(Bt)},Wt.prototype.setStrokeWidth=function(Bt){this.strokeWidth=Bt,this.adjustVisual()},Wt.prototype.setStrokeDasharray=function(Bt){this.strokeDasharray=Bt,this.adjustVisual(),this.stateChanged()},Object.defineProperty(Wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Wt.prototype.getState=function(){var Bt=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray},Qt.prototype.getState.call(this));return Bt.typeName=Wt.typeName,Bt},Wt.prototype.restoreState=function(Bt){Qt.prototype.restoreState.call(this,Bt);var te=Bt;this.strokeColor=te.strokeColor,this.strokeWidth=te.strokeWidth,this.strokeDasharray=te.strokeDasharray,this.createVisual(),this.adjustVisual()},Wt.typeName="LineMarker",Wt.title="Line marker",Wt.icon='',Wt}(Yt),ne=function(Qt){function Wt(Bt,te,ge,Jt){var Ie=Qt.call(this,Bt,Jt||'')||this;return Ie.fonts=[],Ie.fontBoxes=[],Ie.fonts=te,Ie.currentFont=ge,Ie.setCurrentFont=Ie.setCurrentFont.bind(Ie),Ie}return pt(Wt,Qt),Wt.prototype.getUi=function(){var Bt=this,te=document.createElement("div");return te.style.overflow="hidden",te.style.flexGrow="2",this.fonts.forEach(function(ge){var Jt=document.createElement("div");Jt.style.display="inline-block",Jt.style.alignItems="center",Jt.style.justifyContent="space-between",Jt.style.padding="5px",Jt.style.borderWidth="2px",Jt.style.borderStyle="solid",Jt.style.overflow="hidden",Jt.style.maxWidth=100/Bt.fonts.length-5+"%",Jt.style.borderColor=ge===Bt.currentFont?Bt.uiStyleSettings.toolboxAccentColor:"transparent",Jt.addEventListener("click",function(){Bt.setCurrentFont(ge,Jt)}),te.appendChild(Jt);var Ie=document.createElement("div");Ie.style.display="flex",Ie.style.minHeight="20px",Ie.style.flexGrow="2",Ie.style.fontFamily=ge,Ie.style.overflow="hidden";var Ue=document.createElement("div");Ue.style.whiteSpace="nowrap",Ue.style.overflow="hidden",Ue.style.textOverflow="ellipsis",Ue.innerHTML="The quick brown fox jumps over the lazy dog",Ie.appendChild(Ue),Jt.appendChild(Ie),Bt.fontBoxes.push(Jt)}),te},Wt.prototype.setCurrentFont=function(Bt,te){var ge=this;this.currentFont=Bt,this.fontBoxes.forEach(function(Jt){Jt.style.borderColor=Jt===te?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onFontChanged&&this.onFontChanged(this.currentFont)},Wt}(ut),ae=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.color="transparent",Jt.padding=5,Jt.DEFAULT_TEXT="\u8BF7\u8F93\u5165\u6587\u672C",Jt.text=Jt.DEFAULT_TEXT,Jt.isMoved=!1,Jt.color=ge.defaultColor,Jt.fontFamily=ge.defaultFontFamily,Jt.defaultSize={x:100,y:30},Jt.setColor=Jt.setColor.bind(Jt),Jt.setFont=Jt.setFont.bind(Jt),Jt.renderText=Jt.renderText.bind(Jt),Jt.sizeText=Jt.sizeText.bind(Jt),Jt.textEditDivClicked=Jt.textEditDivClicked.bind(Jt),Jt.showTextEditor=Jt.showTextEditor.bind(Jt),Jt.setSize=Jt.setSize.bind(Jt),Jt.positionTextEditor=Jt.positionTextEditor.bind(Jt),Jt.colorPanel=new wt("Color",ge.defaultColorSet,ge.defaultColor),Jt.colorPanel.onColorChanged=Jt.setColor,Jt.fontFamilyPanel=new ne("Font",ge.defaultFontFamilies,ge.defaultFontFamily),Jt.fontFamilyPanel.onFontChanged=Jt.setFont,Jt}return pt(Wt,Qt),Wt.prototype.ownsTarget=function(Bt){if(Qt.prototype.ownsTarget.call(this,Bt)||Bt===this.visual||Bt===this.textElement||Bt===this.bgRectangle)return!0;var te=!1;return this.textElement.childNodes.forEach(function(ge){ge===Bt&&(te=!0)}),te},Wt.prototype.createVisual=function(){this.visual=dt.createGroup(),this.bgRectangle=dt.createRect(1,1,[["fill","transparent"]]),this.visual.appendChild(this.bgRectangle),this.textElement=dt.createText([["fill",this.color],["font-family",this.fontFamily],["font-size","16px"],["x","0"],["y","0"]]),this.textElement.transform.baseVal.appendItem(dt.createTransform()),this.textElement.transform.baseVal.appendItem(dt.createTransform()),this.visual.appendChild(this.textElement),this.addMarkerVisualToContainer(this.visual),this.renderText()},Wt.prototype.pointerDown=function(Bt,te){Qt.prototype.pointerDown.call(this,Bt,te),this.isMoved=!1,this.pointerDownPoint=Bt,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(Bt),this._state="creating")},Wt.prototype.renderText=function(){var Bt=this;if(this.textElement){for(;this.textElement.lastChild;)this.textElement.removeChild(this.textElement.lastChild);this.text.split(/\r\n|[\n\v\f\r\x85\u2028\u2029]/).forEach(function(te){Bt.textElement.appendChild(dt.createTSpan(te.trim()===""?" ":te.trim(),[["x","0"],["dy","1.2em"]]))}),setTimeout(this.sizeText,10)}},Wt.prototype.getTextScale=function(){var Bt=this.textElement.getBBox(),te=1;if(Bt.width>0&&Bt.height>0){var ge=(1*this.width-this.width*this.padding*2/100)/Bt.width,Jt=(1*this.height-this.height*this.padding*2/100)/Bt.height;te=Math.min(ge,Jt)}return te},Wt.prototype.getTextPosition=function(Bt){var te=this.textElement.getBBox(),ge=0,Jt=0;return te.width>0&&te.height>0&&(ge=(this.width-te.width*Bt)/2,Jt=this.height/2-te.height*Bt/2),{x:ge,y:Jt}},Wt.prototype.sizeText=function(){var Bt=this.textElement.getBBox(),te=this.getTextScale(),ge=this.getTextPosition(te);ge.y-=Bt.y*te,navigator.userAgent.indexOf("Edge/")>-1?this.textElement.style.transform="translate("+ge.x+"px, "+ge.y+"px) scale("+te+", "+te+")":(this.textElement.transform.baseVal.getItem(0).setTranslate(ge.x,ge.y),this.textElement.transform.baseVal.getItem(1).setScale(te,te))},Wt.prototype.manipulate=function(Bt){Qt.prototype.manipulate.call(this,Bt),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(Bt.x-this.pointerDownPoint.x)>5||Math.abs(Bt.y-this.pointerDownPoint.y)>5)},Wt.prototype.resize=function(Bt){Qt.prototype.resize.call(this,Bt),this.isMoved=!0,this.setSize(),this.sizeText()},Wt.prototype.setSize=function(){Qt.prototype.setSize.call(this),this.visual&&this.bgRectangle&&(dt.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),dt.setAttributes(this.bgRectangle,[["width",this.width.toString()],["height",this.height.toString()]]))},Wt.prototype.pointerUp=function(Bt){var te=this.state;te==="creating"&&(this._suppressMarkerCreateEvent=!0),Qt.prototype.pointerUp.call(this,Bt),this.setSize(),(te==="creating"||!this.isMoved&&Date.now()-this.pointerDownTimestamp>500)&&this.showTextEditor(),this.pointerDownPoint=void 0},Wt.prototype.showTextEditor=function(){var Bt=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditor=document.createElement("div"),this.textEditor.style.position="absolute",this.textEditor.style.fontFamily=this.fontFamily,this.textEditor.style.lineHeight="1em",this.textEditor.innerText=this.text,this.textEditor.contentEditable="true",this.textEditor.style.color=this.color,this.textEditor.style.whiteSpace="pre",this.positionTextEditor(),this.textEditor.addEventListener("pointerup",function(te){te.stopPropagation()}),this.textEditor.addEventListener("input",function(){for(var te=Number.parseFloat(Bt.textEditor.style.fontSize);Bt.textEditor.clientWidth>=Number.parseInt(Bt.textEditor.style.maxWidth)&&te>.9;)te-=.1,Bt.textEditor.style.fontSize=Math.max(te,.9)+"em"}),this.textEditor.addEventListener("keyup",function(te){te.cancelBubble=!0}),this.textEditor.addEventListener("paste",function(te){if(te.clipboardData){var ge=te.clipboardData.getData("text"),Jt=window.getSelection();if(!Jt.rangeCount)return!1;Jt.deleteFromDocument(),Jt.getRangeAt(0).insertNode(document.createTextNode(ge)),te.preventDefault()}}),this.textEditDiv.addEventListener("pointerup",function(){Bt.textEditDivClicked(Bt.textEditor.innerText)}),this.textEditDiv.appendChild(this.textEditor),this.overlayContainer.appendChild(this.textEditDiv),this.hideVisual(),this.textEditor.focus(),document.execCommand("selectAll")},Wt.prototype.positionTextEditor=function(){if(this.state==="edit")if(this.textEditor===void 0)this.showTextEditor();else{this.textElement.style.display="";var Bt=this.getTextScale(),te=this.rotatePoint({x:this.left+this.width/2,y:this.top+this.height/2}),ge=this.textElement.getBBox(),Jt={x:ge.width*Bt,y:ge.height*Bt};te.x-=Jt.x/2,te.y-=Jt.y/2,this.textEditor.style.top=te.y+"px",this.textEditor.style.left=te.x+"px",this.textEditor.style.maxWidth=this.overlayContainer.offsetWidth-te.x+"px",this.textEditor.style.fontSize=Math.max(16*Bt,12)+"px",this.textElement.style.display="none"}},Wt.prototype.textEditDivClicked=function(Bt){this.text=Bt.trim(),this.overlayContainer.innerHTML="",this.renderText(),this.showVisual(),this._suppressMarkerCreateEvent&&(this._suppressMarkerCreateEvent=!1,this.onMarkerCreated&&this.onMarkerCreated(this)),this.stateChanged()},Wt.prototype.select=function(){Qt.prototype.select.call(this),this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText)},Wt.prototype.deselect=function(){this.state==="edit"&&this.textEditDivClicked(this.textEditor.innerText),Qt.prototype.deselect.call(this)},Wt.prototype.dblClick=function(Bt,te){Qt.prototype.dblClick.call(this,Bt,te),this.showTextEditor()},Wt.prototype.setColor=function(Bt){this.textElement&&dt.setAttributes(this.textElement,[["fill",Bt]]),this.color=Bt,this.textEditor&&(this.textEditor.style.color=this.color),this.colorChanged(Bt)},Wt.prototype.setFont=function(Bt){this.textElement&&dt.setAttributes(this.textElement,[["font-family",Bt]]),this.fontFamily=Bt,this.textEditor&&(this.textEditor.style.fontFamily=this.fontFamily),this.renderText(),this.stateChanged()},Wt.prototype.hideVisual=function(){this.textElement.style.display="none",this.hideControlBox()},Wt.prototype.showVisual=function(){this.state==="edit"&&(this._state="select"),this.textElement.style.display="",this.showControlBox()},Object.defineProperty(Wt.prototype,"toolboxPanels",{get:function(){return[this.colorPanel,this.fontFamilyPanel]},enumerable:!1,configurable:!0}),Wt.prototype.getState=function(){var Bt=Object.assign({color:this.color,fontFamily:this.fontFamily,padding:this.padding,text:this.text},Qt.prototype.getState.call(this));return Bt.typeName=Wt.typeName,Bt},Wt.prototype.restoreState=function(Bt){var te=Bt;this.color=te.color,this.fontFamily=te.fontFamily,this.padding=te.padding,this.text=te.text,this.createVisual(),Qt.prototype.restoreState.call(this,Bt),this.setSize()},Wt.prototype.scale=function(Bt,te){Qt.prototype.scale.call(this,Bt,te),this.setSize(),this.sizeText(),this.positionTextEditor()},Wt.typeName="TextMarker",Wt.title="Text marker",Wt.icon='',Wt}(jt),ve=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.color="transparent",Jt.lineWidth=3,Jt.drawing=!1,Jt.pixelRatio=1,Jt.color=ge.defaultColor,Jt.lineWidth=ge.defaultStrokeWidth,Jt.pixelRatio=ge.freehandPixelRatio,Jt.setColor=Jt.setColor.bind(Jt),Jt.addCanvas=Jt.addCanvas.bind(Jt),Jt.finishCreation=Jt.finishCreation.bind(Jt),Jt.setLineWidth=Jt.setLineWidth.bind(Jt),Jt.colorPanel=new wt("Color",ge.defaultColorSet,ge.defaultColor),Jt.colorPanel.onColorChanged=Jt.setColor,Jt.lineWidthPanel=new It("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),Jt.lineWidthPanel.onWidthChanged=Jt.setLineWidth,Jt}return pt(Wt,Qt),Wt.prototype.ownsTarget=function(Bt){return!(!Qt.prototype.ownsTarget.call(this,Bt)&&Bt!==this.visual&&Bt!==this.drawingImage)},Wt.prototype.createVisual=function(){this.visual=dt.createGroup(),this.drawingImage=dt.createImage(),this.visual.appendChild(this.drawingImage);var Bt=dt.createTransform();this.visual.transform.baseVal.appendItem(Bt),this.addMarkerVisualToContainer(this.visual)},Wt.prototype.pointerDown=function(Bt,te){this.state==="new"&&(this.addCanvas(),this.createVisual(),this._state="creating"),this.state==="creating"?(this.canvasContext.strokeStyle=this.color,this.canvasContext.lineWidth=this.lineWidth,this.canvasContext.beginPath(),this.canvasContext.moveTo(Bt.x,Bt.y),this.drawing=!0):Qt.prototype.pointerDown.call(this,Bt,te)},Wt.prototype.manipulate=function(Bt){this.state==="creating"?this.drawing&&(this.canvasContext.lineTo(Bt.x,Bt.y),this.canvasContext.stroke()):Qt.prototype.manipulate.call(this,Bt)},Wt.prototype.resize=function(Bt){Qt.prototype.resize.call(this,Bt),dt.setAttributes(this.visual,[["width",this.width.toString()],["height",this.height.toString()]]),dt.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]])},Wt.prototype.pointerUp=function(Bt){this._state==="creating"?this.drawing&&(this.canvasContext.closePath(),this.drawing=!1,this.globalSettings.newFreehandMarkerOnPointerUp&&this.finishCreation()):Qt.prototype.pointerUp.call(this,Bt)},Wt.prototype.addCanvas=function(){this.overlayContainer.innerHTML="",this.canvasElement=document.createElement("canvas"),this.canvasElement.width=this.overlayContainer.clientWidth*this.pixelRatio,this.canvasElement.height=this.overlayContainer.clientHeight*this.pixelRatio,this.canvasContext=this.canvasElement.getContext("2d"),this.canvasContext.scale(this.pixelRatio,this.pixelRatio),this.overlayContainer.appendChild(this.canvasElement)},Wt.prototype.select=function(){this.state==="creating"&&this.finishCreation(),Qt.prototype.select.call(this)},Wt.prototype.deselect=function(){this.state==="creating"&&this.finishCreation(),Qt.prototype.deselect.call(this)},Wt.prototype.finishCreation=function(){for(var Bt=this.canvasContext.getImageData(0,0,this.canvasElement.width,this.canvasElement.height),te=[this.canvasElement.width+1,this.canvasElement.height+1,-1,-1],ge=te[0],Jt=te[1],Ie=te[2],Ue=te[3],Je=!1,Ze=0;Ze0&&(Je=!0,ZeUe&&(Ue=Ze),nn>Ie&&(Ie=nn));if(Je){this.left=ge/this.pixelRatio,this.top=Jt/this.pixelRatio,this.width=(Ie-ge)/this.pixelRatio,this.height=(Ue-Jt)/this.pixelRatio;var fn=document.createElement("canvas");fn.width=Ie-ge,fn.height=Ue-Jt,fn.getContext("2d").putImageData(this.canvasContext.getImageData(ge,Jt,Ie-ge,Ue-Jt),0,0),this.drawingImgUrl=fn.toDataURL("image/png"),this.setDrawingImage(),this._state="select",this.onMarkerCreated&&this.onMarkerCreated(this)}this.overlayContainer.innerHTML=""},Wt.prototype.setDrawingImage=function(){dt.setAttributes(this.drawingImage,[["width",this.width.toString()],["height",this.height.toString()]]),dt.setAttributes(this.drawingImage,[["href",this.drawingImgUrl]]),this.moveVisual({x:this.left,y:this.top})},Wt.prototype.setColor=function(Bt){this.color=Bt,this.colorChanged(Bt)},Wt.prototype.setLineWidth=function(Bt){this.lineWidth=Bt},Object.defineProperty(Wt.prototype,"toolboxPanels",{get:function(){return this.state==="new"||this.state==="creating"?[this.colorPanel,this.lineWidthPanel]:[]},enumerable:!1,configurable:!0}),Wt.prototype.getState=function(){var Bt=Object.assign({drawingImgUrl:this.drawingImgUrl},Qt.prototype.getState.call(this));return Bt.typeName=Wt.typeName,Bt},Wt.prototype.restoreState=function(Bt){this.createVisual(),Qt.prototype.restoreState.call(this,Bt),this.drawingImgUrl=Bt.drawingImgUrl,this.setDrawingImage()},Wt.prototype.scale=function(Bt,te){Qt.prototype.scale.call(this,Bt,te),this.setDrawingImage()},Wt.typeName="FreehandMarker",Wt.title="Freehand marker",Wt.icon='',Wt}(jt),Kt=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,ge||'')||this;return Jt.typeBoxes=[],Jt.currentType=te,Jt.setCurrentType=Jt.setCurrentType.bind(Jt),Jt}return pt(Wt,Qt),Wt.prototype.getUi=function(){var Bt=this,te=document.createElement("div");te.style.display="flex",te.style.overflow="hidden",te.style.flexGrow="2";for(var ge=function(Ue){var Je="both";switch(Ue){case 0:Je="both";break;case 1:Je="start";break;case 2:Je="end";break;case 3:Je="none"}var Ze=document.createElement("div");if(Ze.style.display="flex",Ze.style.flexGrow="2",Ze.style.alignItems="center",Ze.style.justifyContent="space-between",Ze.style.padding="5px",Ze.style.borderWidth="2px",Ze.style.borderStyle="solid",Ze.style.borderColor=Je===Jt.currentType?Jt.uiStyleSettings.toolboxAccentColor:"transparent",Ze.addEventListener("click",function(){Bt.setCurrentType(Je,Ze)}),te.appendChild(Ze),Je==="both"||Je==="start"){var nn=document.createElement("div");nn.style.display="flex",nn.style.alignItems="center",nn.style.minHeight="20px",nn.innerHTML=` `,nn.style.marginLeft="5px",Ze.appendChild(nn)}var fn=document.createElement("div");fn.style.display="flex",fn.style.alignItems="center",fn.style.minHeight="20px",fn.style.flexGrow="2";var An=document.createElement("hr");if(An.style.minWidth="20px",An.style.border="0px",An.style.borderTop="3px solid "+(Jt.uiStyleSettings!==void 0?Jt.uiStyleSettings.toolboxColor:"#eeeeee"),An.style.flexGrow="2",fn.appendChild(An),Ze.appendChild(fn),Je==="both"||Je==="end"){var En=document.createElement("div");En.style.display="flex",En.style.alignItems="center",En.style.minHeight="20px",En.innerHTML=` `,En.style.marginRight="5px",Ze.appendChild(En)}Jt.typeBoxes.push(Ze)},Jt=this,Ie=0;Ie<4;Ie++)ge(Ie);return te},Wt.prototype.setCurrentType=function(Bt,te){var ge=this;this.currentType=Bt,this.typeBoxes.forEach(function(Jt){Jt.style.borderColor=Jt===te?ge.uiStyleSettings!==void 0?ge.uiStyleSettings.toolboxAccentColor:"#3080c3":"transparent"}),this.onArrowTypeChanged&&this.onArrowTypeChanged(this.currentType)},Wt}(ut),re=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.arrowType="end",Jt.arrowBaseHeight=10,Jt.arrowBaseWidth=10,Jt.getArrowPoints=Jt.getArrowPoints.bind(Jt),Jt.setArrowType=Jt.setArrowType.bind(Jt),Jt.arrowTypePanel=new Kt("Arrow type","end"),Jt.arrowTypePanel.onArrowTypeChanged=Jt.setArrowType,Jt}return pt(Wt,Qt),Wt.prototype.ownsTarget=function(Bt){return!(!Qt.prototype.ownsTarget.call(this,Bt)&&Bt!==this.arrow1&&Bt!==this.arrow2)},Wt.prototype.getArrowPoints=function(Bt,te){var ge=this.arrowBaseWidth+2*this.strokeWidth,Jt=this.arrowBaseHeight+2*this.strokeWidth;return Bt-ge/2+","+(te+Jt/2)+" "+Bt+","+(te-Jt/2)+" "+(Bt+ge/2)+","+(te+Jt/2)},Wt.prototype.createTips=function(){this.arrow1=dt.createPolygon(this.getArrowPoints(this.x1,this.y1),[["fill",this.strokeColor]]),this.arrow1.transform.baseVal.appendItem(dt.createTransform()),this.visual.appendChild(this.arrow1),this.arrow2=dt.createPolygon(this.getArrowPoints(this.x2,this.y2),[["fill",this.strokeColor]]),this.arrow2.transform.baseVal.appendItem(dt.createTransform()),this.visual.appendChild(this.arrow2)},Wt.prototype.pointerDown=function(Bt,te){Qt.prototype.pointerDown.call(this,Bt,te),this.state==="creating"&&this.createTips()},Wt.prototype.adjustVisual=function(){if(Qt.prototype.adjustVisual.call(this),this.arrow1&&this.arrow2){this.arrow1.style.display=this.arrowType==="both"||this.arrowType==="start"?"":"none",this.arrow2.style.display=this.arrowType==="both"||this.arrowType==="end"?"":"none",dt.setAttributes(this.arrow1,[["points",this.getArrowPoints(this.x1,this.y1)],["fill",this.strokeColor]]),dt.setAttributes(this.arrow2,[["points",this.getArrowPoints(this.x2,this.y2)],["fill",this.strokeColor]]);var Bt=0;Math.abs(this.x1-this.x2)>.1&&(Bt=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2));var te=this.arrow1.transform.baseVal.getItem(0);te.setRotate(Bt,this.x1,this.y1),this.arrow1.transform.baseVal.replaceItem(te,0);var ge=this.arrow2.transform.baseVal.getItem(0);ge.setRotate(Bt+180,this.x2,this.y2),this.arrow2.transform.baseVal.replaceItem(ge,0)}},Wt.prototype.setArrowType=function(Bt){this.arrowType=Bt,this.adjustVisual(),this.stateChanged()},Object.defineProperty(Wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel,this.arrowTypePanel]},enumerable:!1,configurable:!0}),Wt.prototype.getState=function(){var Bt=Object.assign({arrowType:this.arrowType},Qt.prototype.getState.call(this));return Bt.typeName=Wt.typeName,Bt},Wt.prototype.restoreState=function(Bt){Qt.prototype.restoreState.call(this,Bt);var te=Bt;this.arrowType=te.arrowType,this.createTips(),this.adjustVisual()},Wt.typeName="ArrowMarker",Wt.title="Arrow marker",Wt.icon='',Wt}(Ht),we=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.fillColor=ge.defaultFillColor,Jt.strokeWidth=0,Jt.fillPanel=new wt("Color",ge.defaultColorSet,ge.defaultFillColor),Jt.fillPanel.onColorChanged=Jt.setFillColor,Jt}return pt(Wt,Qt),Object.defineProperty(Wt.prototype,"toolboxPanels",{get:function(){return[this.fillPanel]},enumerable:!1,configurable:!0}),Wt.prototype.getState=function(){var Bt=Qt.prototype.getState.call(this);return Bt.typeName=Wt.typeName,Bt},Wt.typeName="CoverMarker",Wt.title="Cover marker",Wt.icon='',Wt}(Lt),Me=function(Qt){function Wt(Bt,te,ge,Jt){var Ie=Qt.call(this,Bt,Jt||'')||this;return Ie.opacities=[],Ie.opacityBoxes=[],Ie.opacities=te,Ie.currentOpacity=ge,Ie.setCurrentOpacity=Ie.setCurrentOpacity.bind(Ie),Ie}return pt(Wt,Qt),Wt.prototype.getUi=function(){var Bt=this,te=document.createElement("div");return te.style.display="flex",te.style.overflow="hidden",te.style.flexGrow="2",te.style.justifyContent="space-between",this.opacities.forEach(function(ge){var Jt=document.createElement("div");Jt.style.display="flex",Jt.style.alignItems="center",Jt.style.justifyContent="center",Jt.style.padding="5px",Jt.style.borderWidth="2px",Jt.style.borderStyle="solid",Jt.style.borderColor=ge===Bt.currentOpacity?Bt.uiStyleSettings.toolboxAccentColor:"transparent",Jt.addEventListener("click",function(){Bt.setCurrentOpacity(ge,Jt)}),te.appendChild(Jt);var Ie=document.createElement("div");Ie.innerText=100*ge+"%",Jt.appendChild(Ie),Bt.opacityBoxes.push(Jt)}),te},Wt.prototype.setCurrentOpacity=function(Bt,te){var ge=this;this.currentOpacity=Bt,this.opacityBoxes.forEach(function(Jt){Jt.style.borderColor=Jt===te?ge.uiStyleSettings.toolboxAccentColor:"transparent"}),this.onOpacityChanged&&this.onOpacityChanged(this.currentOpacity)},Wt}(ut),ke=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.setOpacity=Jt.setOpacity.bind(Jt),Jt.fillColor=ge.defaultHighlightColor,Jt.strokeWidth=0,Jt.opacity=ge.defaultHighlightOpacity,Jt.fillPanel=new wt("Color",ge.defaultColorSet,Jt.fillColor),Jt.fillPanel.onColorChanged=Jt.setFillColor,Jt.opacityPanel=new Me("Opacity",ge.defaultOpacitySteps,Jt.opacity),Jt.opacityPanel.onOpacityChanged=Jt.setOpacity,Jt}return pt(Wt,Qt),Wt.prototype.setOpacity=function(Bt){this.opacity=Bt,this.visual&&dt.setAttributes(this.visual,[["opacity",this.opacity.toString()]]),this.stateChanged()},Object.defineProperty(Wt.prototype,"toolboxPanels",{get:function(){return[this.fillPanel,this.opacityPanel]},enumerable:!1,configurable:!0}),Wt.prototype.getState=function(){var Bt=Qt.prototype.getState.call(this);return Bt.typeName=Wt.typeName,Bt},Wt.typeName="HighlightMarker",Wt.title="Highlight marker",Wt.icon='',Wt}(we),me='',fe='',pe=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.bgColor="transparent",Jt.tipPosition={x:0,y:0},Jt.tipBase1Position={x:0,y:0},Jt.tipBase2Position={x:0,y:0},Jt.tipMoving=!1,Jt.color=ge.defaultStrokeColor,Jt.bgColor=ge.defaultFillColor,Jt.fontFamily=ge.defaultFontFamily,Jt.defaultSize={x:100,y:30},Jt.setBgColor=Jt.setBgColor.bind(Jt),Jt.getTipPoints=Jt.getTipPoints.bind(Jt),Jt.positionTip=Jt.positionTip.bind(Jt),Jt.setTipPoints=Jt.setTipPoints.bind(Jt),Jt.colorPanel=new wt("Text color",ge.defaultColorSet,Jt.color,me),Jt.colorPanel.onColorChanged=Jt.setColor,Jt.bgColorPanel=new wt("Fill color",ge.defaultColorSet,Jt.bgColor,fe),Jt.bgColorPanel.onColorChanged=Jt.setBgColor,Jt.fontFamilyPanel=new ne("Font",ge.defaultFontFamilies,ge.defaultFontFamily),Jt.fontFamilyPanel.onFontChanged=Jt.setFont,Jt.tipGrip=new _t,Jt.tipGrip.visual.transform.baseVal.appendItem(dt.createTransform()),Jt.controlBox.appendChild(Jt.tipGrip.visual),Jt}return pt(Wt,Qt),Wt.prototype.ownsTarget=function(Bt){return Qt.prototype.ownsTarget.call(this,Bt)||this.tipGrip.ownsTarget(Bt)||this.tip===Bt},Wt.prototype.createTip=function(){dt.setAttributes(this.bgRectangle,[["fill",this.bgColor],["rx","10px"]]),this.tip=dt.createPolygon(this.getTipPoints(),[["fill",this.bgColor]]),this.visual.appendChild(this.tip)},Wt.prototype.pointerDown=function(Bt,te){this.state==="new"&&Qt.prototype.pointerDown.call(this,Bt,te),this.state==="creating"?this.createTip():this.tipGrip.ownsTarget(te)?(this.manipulationStartLeft=this.left,this.manipulationStartTop=this.top,this.tipMoving=!0):Qt.prototype.pointerDown.call(this,Bt,te)},Wt.prototype.pointerUp=function(Bt){if(this.tipMoving)this.tipMoving=!1,this.isMoved=!0,Qt.prototype.pointerUp.call(this,Bt);else{var te=this.state==="creating";Qt.prototype.pointerUp.call(this,Bt),this.setTipPoints(te),this.positionTip()}},Wt.prototype.manipulate=function(Bt){if(this.tipMoving){var te=this.unrotatePoint(Bt);this.tipPosition={x:te.x-this.manipulationStartLeft,y:te.y-this.manipulationStartTop},this.positionTip()}else Qt.prototype.manipulate.call(this,Bt)},Wt.prototype.setBgColor=function(Bt){this.bgRectangle&&this.tip&&(dt.setAttributes(this.bgRectangle,[["fill",Bt]]),dt.setAttributes(this.tip,[["fill",Bt]])),this.bgColor=Bt,this.fillColorChanged(Bt)},Wt.prototype.getTipPoints=function(){return this.setTipPoints(this.state==="creating"),this.tipBase1Position.x+","+this.tipBase1Position.y+" "+this.tipBase2Position.x+","+this.tipBase2Position.y+" "+this.tipPosition.x+","+this.tipPosition.y},Wt.prototype.setTipPoints=function(Bt){Bt===void 0&&(Bt=!1);var te=Math.min(this.height/2,15),ge=this.height/5;Bt&&(this.tipPosition={x:te+ge/2,y:this.height+20});var Jt=Math.atan(this.height/2/(this.width/2));this.tipPosition.x=this.width/2&&this.tipPosition.y=this.width/2&&this.tipPosition.y>=this.height/2?Jt.1)){var Bt=180*Math.atan((this.y2-this.y1)/(this.x2-this.x1))/Math.PI+90*Math.sign(this.x1-this.x2),te=this.tip1.transform.baseVal.getItem(0);te.setRotate(Bt,this.x1,this.y1),this.tip1.transform.baseVal.replaceItem(te,0);var ge=this.tip2.transform.baseVal.getItem(0);ge.setRotate(Bt+180,this.x2,this.y2),this.tip2.transform.baseVal.replaceItem(ge,0)}},Object.defineProperty(Wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Wt.prototype.getState=function(){var Bt=Qt.prototype.getState.call(this);return Bt.typeName=Wt.typeName,Bt},Wt.prototype.restoreState=function(Bt){Qt.prototype.restoreState.call(this,Bt),this.createTips(),this.adjustVisual()},Wt.typeName="MeasurementMarker",Wt.title="Measurement marker",Wt.icon='',Wt}(Ht),He=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.strokePanel.colors=ge.defaultColorSet,Jt.fillColor="transparent",Jt}return pt(Wt,Qt),Object.defineProperty(Wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Wt.prototype.getState=function(){var Bt=Qt.prototype.getState.call(this);return Bt.typeName=Wt.typeName,Bt},Wt.typeName="EllipseFrameMarker",Wt.title="Ellipse frame marker",Wt.icon='',Wt}(_e),Se=function(){function Qt(){this.undoStack=[],this.redoStack=[]}return Object.defineProperty(Qt.prototype,"isUndoPossible",{get:function(){return this.undoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"isRedoPossible",{get:function(){return this.redoStack.length>0},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"undoStepCount",{get:function(){return this.undoStack.length},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"redoStepCount",{get:function(){return this.redoStack.length},enumerable:!1,configurable:!0}),Qt.prototype.addUndoStep=function(Wt){this.undoStack.length!==0&&JSON.stringify(this.undoStack[this.undoStack.length-1])===JSON.stringify(Wt)||(this.undoStack.push(Wt),JSON.stringify(this.lastRedoStep)!==JSON.stringify(Wt)&&this.redoStack.splice(0,this.redoStack.length))},Qt.prototype.replaceLastUndoStep=function(Wt){this.undoStack.length>0&&(this.undoStack[this.undoStack.length-1]=Wt)},Qt.prototype.getLastUndoStep=function(){return this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0},Qt.prototype.undo=function(){if(this.undoStack.length>1){var Wt=this.undoStack.pop();return Wt!==void 0&&this.redoStack.push(Wt),this.undoStack.length>0?this.undoStack[this.undoStack.length-1]:void 0}},Qt.prototype.redo=function(){return this.lastRedoStep=this.redoStack.pop(),this.lastRedoStep},Qt}(),xe=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.strokeColor="transparent",Jt.strokeWidth=0,Jt.strokeDasharray="",Jt.curveX=0,Jt.curveY=0,Jt.manipulationStartCurveX=0,Jt.manipulationStartCurveY=0,Jt.setStrokeColor=Jt.setStrokeColor.bind(Jt),Jt.setStrokeWidth=Jt.setStrokeWidth.bind(Jt),Jt.setStrokeDasharray=Jt.setStrokeDasharray.bind(Jt),Jt.positionGrips=Jt.positionGrips.bind(Jt),Jt.addControlGrips=Jt.addControlGrips.bind(Jt),Jt.adjustVisual=Jt.adjustVisual.bind(Jt),Jt.setupControlBox=Jt.setupControlBox.bind(Jt),Jt.resize=Jt.resize.bind(Jt),Jt.strokeColor=ge.defaultColor,Jt.strokeWidth=ge.defaultStrokeWidth,Jt.strokeDasharray=ge.defaultStrokeDasharray,Jt.strokePanel=new wt("Line color",ge.defaultColorSet,ge.defaultColor),Jt.strokePanel.onColorChanged=Jt.setStrokeColor,Jt.strokeWidthPanel=new It("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),Jt.strokeWidthPanel.onWidthChanged=Jt.setStrokeWidth,Jt.strokeStylePanel=new Ut("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),Jt.strokeStylePanel.onStyleChanged=Jt.setStrokeDasharray,Jt}return pt(Wt,Qt),Wt.prototype.ownsTarget=function(Bt){return!(!Qt.prototype.ownsTarget.call(this,Bt)&&Bt!==this.visual&&Bt!==this.selectorCurve&&Bt!==this.visibleCurve&&!this.curveGrip.ownsTarget(Bt))},Wt.prototype.getPathD=function(){return"M "+this.x1+" "+this.y1+" Q "+this.curveX+" "+this.curveY+", "+this.x2+" "+this.y2},Wt.prototype.createVisual=function(){this.visual=dt.createGroup(),this.selectorCurve=dt.createPath(this.getPathD(),[["stroke","transparent"],["stroke-width",(this.strokeWidth+10).toString()],["fill","transparent"]]),this.visibleCurve=dt.createPath(this.getPathD(),[["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["fill","transparent"]]),this.visual.appendChild(this.selectorCurve),this.visual.appendChild(this.visibleCurve),this.addMarkerVisualToContainer(this.visual)},Wt.prototype.pointerDown=function(Bt,te){Qt.prototype.pointerDown.call(this,Bt,te),this.manipulationStartCurveX=this.curveX,this.manipulationStartCurveY=this.curveY,this.state==="new"&&(this.curveX=Bt.x,this.curveY=Bt.y),this.state==="new"?(this.createVisual(),this.adjustVisual(),this._state="creating"):this.curveGrip.ownsTarget(te)&&(this.activeGrip=this.curveGrip,this._state="resize")},Wt.prototype.adjustVisual=function(){this.selectorCurve&&this.visibleCurve&&(this.selectorCurve.setAttribute("d",this.getPathD()),this.visibleCurve.setAttribute("d",this.getPathD()),dt.setAttributes(this.visibleCurve,[["stroke",this.strokeColor]]),dt.setAttributes(this.visibleCurve,[["stroke-width",this.strokeWidth.toString()]]),dt.setAttributes(this.visibleCurve,[["stroke-dasharray",this.strokeDasharray.toString()]]))},Wt.prototype.setupControlBox=function(){Qt.prototype.setupControlBox.call(this),this.curveControlLine1=dt.createLine(this.x1,this.y1,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.curveControlLine2=dt.createLine(this.x2,this.y2,this.curveX,this.curveY,[["stroke","black"],["stroke-width","1"],["stroke-opacity","0.5"],["stroke-dasharray","3, 2"]]),this.controlBox.insertBefore(this.curveControlLine1,this.controlBox.firstChild),this.controlBox.insertBefore(this.curveControlLine2,this.controlBox.firstChild)},Wt.prototype.addControlGrips=function(){this.curveGrip=this.createGrip(),this.curveX=0,this.curveY=0,Qt.prototype.addControlGrips.call(this)},Wt.prototype.positionGrips=function(){Qt.prototype.positionGrips.call(this);var Bt=this.curveGrip.GRIP_SIZE;this.positionGrip(this.curveGrip.visual,this.curveX-Bt/2,this.curveY-Bt/2),this.curveControlLine1&&this.curveControlLine2&&(this.curveControlLine1.setAttribute("x1",this.x1.toString()),this.curveControlLine1.setAttribute("y1",this.y1.toString()),this.curveControlLine1.setAttribute("x2",this.curveX.toString()),this.curveControlLine1.setAttribute("y2",this.curveY.toString()),this.curveControlLine2.setAttribute("x1",this.x2.toString()),this.curveControlLine2.setAttribute("y1",this.y2.toString()),this.curveControlLine2.setAttribute("x2",this.curveX.toString()),this.curveControlLine2.setAttribute("y2",this.curveY.toString()))},Wt.prototype.manipulate=function(Bt){this.state==="move"&&(this.curveX=this.manipulationStartCurveX+Bt.x-this.manipulationStartX,this.curveY=this.manipulationStartCurveY+Bt.y-this.manipulationStartY),Qt.prototype.manipulate.call(this,Bt)},Wt.prototype.resize=function(Bt){this.activeGrip===this.curveGrip&&(this.curveX=Bt.x,this.curveY=Bt.y),Qt.prototype.resize.call(this,Bt),this.state==="creating"&&(this.curveX=this.x1+(this.x2-this.x1)/2,this.curveY=this.y1+(this.y2-this.y1)/2)},Wt.prototype.setStrokeColor=function(Bt){this.strokeColor=Bt,this.adjustVisual(),this.colorChanged(Bt)},Wt.prototype.setStrokeWidth=function(Bt){this.strokeWidth=Bt,this.adjustVisual()},Wt.prototype.setStrokeDasharray=function(Bt){this.strokeDasharray=Bt,this.adjustVisual()},Wt.prototype.scale=function(Bt,te){this.curveX=this.curveX*Bt,this.curveY=this.curveY*te,Qt.prototype.scale.call(this,Bt,te)},Object.defineProperty(Wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.strokeWidthPanel,this.strokeStylePanel]},enumerable:!1,configurable:!0}),Wt.prototype.getState=function(){var Bt=Object.assign({strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,curveX:this.curveX,curveY:this.curveY},Qt.prototype.getState.call(this));return Bt.typeName=Wt.typeName,Bt},Wt.prototype.restoreState=function(Bt){Qt.prototype.restoreState.call(this,Bt);var te=Bt;this.strokeColor=te.strokeColor,this.strokeWidth=te.strokeWidth,this.strokeDasharray=te.strokeDasharray,this.curveX=te.curveX,this.curveY=te.curveY,this.createVisual(),this.adjustVisual()},Wt.typeName="CurveMarker",Wt.title="Curve marker",Wt.icon='',Wt}(Yt),le=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,te,ge)||this;return Jt.fillColor="transparent",Jt.strokeColor="transparent",Jt.strokeWidth=0,Jt.strokeDasharray="",Jt.textColor="transparent",Jt.fontSize="1rem",Jt.isMoved=!1,Jt.captionText="Caption",Jt.PADDING=5,Jt.captionBoxWidth=0,Jt.captionBoxHeight=0,Jt.strokeColor=ge.defaultColor,Jt.strokeWidth=ge.defaultStrokeWidth,Jt.strokeDasharray=ge.defaultStrokeDasharray,Jt.fillColor=ge.defaultFillColor,Jt.textColor=ge.defaultStrokeColor,Jt.fontFamily=ge.defaultFontFamily,Jt.fontSize=ge.defaultCaptionFontSize,Jt.captionText=ge.defaultCaptionText,Jt.setStrokeColor=Jt.setStrokeColor.bind(Jt),Jt.setFillColor=Jt.setFillColor.bind(Jt),Jt.setStrokeWidth=Jt.setStrokeWidth.bind(Jt),Jt.setStrokeDasharray=Jt.setStrokeDasharray.bind(Jt),Jt.createVisual=Jt.createVisual.bind(Jt),Jt.sizeCaption=Jt.sizeCaption.bind(Jt),Jt.setCaptionText=Jt.setCaptionText.bind(Jt),Jt.showTextEditor=Jt.showTextEditor.bind(Jt),Jt.positionTextEditor=Jt.positionTextEditor.bind(Jt),Jt.finishTextEditing=Jt.finishTextEditing.bind(Jt),Jt.setFont=Jt.setFont.bind(Jt),Jt.setTextColor=Jt.setTextColor.bind(Jt),Jt.strokePanel=new wt("Line color",xt(ge.defaultColorSet,["transparent"]),Jt.strokeColor),Jt.strokePanel.onColorChanged=Jt.setStrokeColor,Jt.fillPanel=new wt("Fill color",xt(ge.defaultColorSet,["transparent"]),Jt.fillColor,fe),Jt.fillPanel.onColorChanged=Jt.setFillColor,Jt.strokeWidthPanel=new It("Line width",ge.defaultStrokeWidths,ge.defaultStrokeWidth),Jt.strokeWidthPanel.onWidthChanged=Jt.setStrokeWidth,Jt.strokeStylePanel=new Ut("Line style",ge.defaultStrokeDasharrays,ge.defaultStrokeDasharray),Jt.strokeStylePanel.onStyleChanged=Jt.setStrokeDasharray,Jt.fontFamilyPanel=new ne("Font",ge.defaultFontFamilies,ge.defaultFontFamily),Jt.fontFamilyPanel.onFontChanged=Jt.setFont,Jt.textColorPanel=new wt("Text color",ge.defaultColorSet,Jt.textColor,me),Jt.textColorPanel.onColorChanged=Jt.setTextColor,Jt}return pt(Wt,Qt),Wt.prototype.ownsTarget=function(Bt){return!(!Qt.prototype.ownsTarget.call(this,Bt)&&Bt!==this.visual&&Bt!==this.frame&&Bt!==this.captionBg&&Bt!==this.captionElement)},Wt.prototype.createVisual=function(){this.visual=dt.createGroup(),this.addMarkerVisualToContainer(this.visual),this.captionBg=dt.createRect(1,1,[["fill",this.fillColor]]),this.visual.appendChild(this.captionBg),this.captionElement=dt.createText([["fill",this.textColor],["font-family",this.fontFamily]]),this.captionElement.style.fontSize=this.fontSize,this.captionElement.style.textAnchor="start",this.captionElement.style.dominantBaseline="text-before-edge",this.captionElement.textContent=this.captionText,this.visual.appendChild(this.captionElement),this.frame=dt.createRect(this.width,this.height,[["fill","transparent"],["stroke",this.strokeColor],["stroke-width",this.strokeWidth.toString()],["stroke-dasharray",this.strokeDasharray]]),this.visual.appendChild(this.frame),this.sizeCaption()},Wt.prototype.setCaptionText=function(Bt){this.captionText=Bt,this.captionElement.textContent=this.captionText,this.sizeCaption()},Wt.prototype.pointerDown=function(Bt,te){Qt.prototype.pointerDown.call(this,Bt,te),this.isMoved=!1,this.pointerDownPoint=Bt,this.pointerDownTimestamp=Date.now(),this.state==="new"&&(this.createVisual(),this.moveVisual(Bt),this._state="creating")},Wt.prototype.manipulate=function(Bt){Qt.prototype.manipulate.call(this,Bt),this.pointerDownPoint!==void 0&&(this.isMoved=Math.abs(Bt.x-this.pointerDownPoint.x)>5||Math.abs(Bt.y-this.pointerDownPoint.y)>5)},Wt.prototype.resize=function(Bt){Qt.prototype.resize.call(this,Bt),this.setSize()},Wt.prototype.sizeCaption=function(){var Bt=this.captionElement.getBBox();this.captionText.trim()!==""?(this.captionBoxWidth=Bt.width+2*this.PADDING,this.captionBoxHeight=Bt.height+2*this.PADDING):(this.captionBoxWidth=0,this.captionBoxHeight=0),dt.setAttributes(this.captionBg,[["width",this.captionBoxWidth.toString()],["height",this.captionBoxHeight.toString()],["clip-path","path('M0,0 H"+this.width+" V"+this.height+" H"+-this.width+" Z')"]]),dt.setAttributes(this.captionElement,[["x",this.PADDING.toString()],["y",this.PADDING.toString()],["clip-path","path('M0,0 H"+(this.width-this.PADDING)+" V"+this.height+" H"+(-this.width-this.PADDING)+" Z')"]])},Wt.prototype.showTextEditor=function(){var Bt=this;this._state="edit",this.overlayContainer.innerHTML="",this.textEditDiv=document.createElement("div"),this.textEditDiv.style.flexGrow="2",this.textEditDiv.style.alignItems="center",this.textEditDiv.style.justifyContent="center",this.textEditDiv.style.pointerEvents="auto",this.textEditDiv.style.overflow="hidden",this.textEditBox=document.createElement("input"),this.textEditBox.style.position="absolute",this.textEditBox.style.width=this.width+"px",this.captionBoxHeight>0&&(this.textEditBox.style.height=this.captionBoxHeight+"px"),this.textEditBox.style.fontSize=this.fontSize,this.textEditBox.style.fontFamily=this.fontFamily,this.textEditBox.style.backgroundColor=this.fillColor,this.textEditBox.style.color=this.textColor,this.textEditBox.style.borderWidth="0",this.textEditBox.setAttribute("value",this.captionText),this.textEditBox.select(),this.textEditDiv.appendChild(this.textEditBox),this.overlayContainer.appendChild(this.textEditDiv),this.textEditBox.addEventListener("pointerup",function(te){te.stopPropagation()}),this.textEditBox.addEventListener("keypress",function(te){te.key==="Enter"&&Bt.finishTextEditing(Bt.textEditBox.value)}),this.textEditBox.addEventListener("keyup",function(te){te.cancelBubble=!0}),this.textEditBox.addEventListener("blur",function(){Bt.finishTextEditing(Bt.textEditBox.value)}),this.textEditDiv.addEventListener("pointerup",function(){Bt.finishTextEditing(Bt.textEditBox.value)}),this.positionTextEditor(),this.textEditBox.focus()},Wt.prototype.positionTextEditor=function(){this.state==="edit"&&(this.textEditBox===void 0?this.showTextEditor():(this.textEditBox.style.left=this.left+"px",this.textEditBox.style.top=this.top+"px",this.textEditBox.style.transform="rotate("+this.rotationAngle+"deg)",this.textEditBox.style.transformOrigin=this.width/2+"px "+this.height/2+"px"))},Wt.prototype.finishTextEditing=function(Bt){this.setCaptionText(Bt.trim()),this.overlayContainer.innerHTML="",this.stateChanged()},Wt.prototype.setFont=function(Bt){this.captionElement&&dt.setAttributes(this.captionElement,[["font-family",Bt]]),this.fontFamily=Bt,this.textEditBox&&(this.textEditBox.style.fontFamily=this.fontFamily),this.sizeCaption(),this.stateChanged()},Wt.prototype.setTextColor=function(Bt){this.captionElement&&dt.setAttributes(this.captionElement,[["fill",Bt]]),this.textColor=Bt,this.textEditBox&&(this.textEditBox.style.color=this.textColor),this.stateChanged()},Wt.prototype.setSize=function(){Qt.prototype.setSize.call(this),dt.setAttributes(this.frame,[["width",this.width.toString()],["height",this.height.toString()]]),this.sizeCaption()},Wt.prototype.pointerUp=function(Bt){Qt.prototype.pointerUp.call(this,Bt),this.setSize(),!this.isMoved&&Date.now()-this.pointerDownTimestamp>500&&this.showTextEditor(),this.pointerDownPoint=void 0},Wt.prototype.dblClick=function(Bt,te){Qt.prototype.dblClick.call(this,Bt,te),this.showTextEditor()},Wt.prototype.setStrokeColor=function(Bt){this.strokeColor=Bt,this.frame&&dt.setAttributes(this.frame,[["stroke",this.strokeColor]]),this.colorChanged(Bt),this.stateChanged()},Wt.prototype.setFillColor=function(Bt){this.fillColor=Bt,this.captionBg&&dt.setAttributes(this.captionBg,[["fill",this.fillColor]]),this.fillColorChanged(Bt),this.stateChanged()},Wt.prototype.setStrokeWidth=function(Bt){this.strokeWidth=Bt,this.frame&&dt.setAttributes(this.frame,[["stroke-width",this.strokeWidth.toString()]]),this.stateChanged()},Wt.prototype.setStrokeDasharray=function(Bt){this.strokeDasharray=Bt,this.frame&&dt.setAttributes(this.frame,[["stroke-dasharray",this.strokeDasharray]]),this.stateChanged()},Object.defineProperty(Wt.prototype,"toolboxPanels",{get:function(){return[this.strokePanel,this.fillPanel,this.strokeWidthPanel,this.strokeStylePanel,this.fontFamilyPanel,this.textColorPanel]},enumerable:!1,configurable:!0}),Wt.prototype.getState=function(){var Bt=Object.assign({fillColor:this.fillColor,strokeColor:this.strokeColor,strokeWidth:this.strokeWidth,strokeDasharray:this.strokeDasharray,opacity:1,textColor:this.textColor,fontFamily:this.fontFamily,fontSize:this.fontSize,captionText:this.captionText},Qt.prototype.getState.call(this));return Bt.typeName=this.typeName,Bt},Wt.prototype.restoreState=function(Bt){var te=Bt;this.fillColor=te.fillColor,this.strokeColor=te.strokeColor,this.strokeWidth=te.strokeWidth,this.strokeDasharray=te.strokeDasharray,this.textColor=te.textColor,this.fontFamily=te.fontFamily,this.captionText=te.captionText,this.fontSize=te.fontSize,this.createVisual(),Qt.prototype.restoreState.call(this,Bt),this.setSize()},Wt.prototype.scale=function(Bt,te){Qt.prototype.scale.call(this,Bt,te),this.setSize()},Wt.typeName="CaptionFrameMarker",Wt.title="Caption frame marker",Wt.icon='',Wt}(jt),Ne=function(){function Qt(Wt,Bt){Bt===void 0&&(Bt=!1),this.cancelable=!1,this._defaultPrevented=!1,this.markerArea=Wt,this.cancelable=Bt}return Object.defineProperty(Qt.prototype,"defaultPrevented",{get:function(){return this._defaultPrevented},enumerable:!1,configurable:!0}),Qt.prototype.preventDefault=function(){this._defaultPrevented=!0},Qt}(),se=function(Qt){function Wt(Bt,te,ge){var Jt=Qt.call(this,Bt,!1)||this;return Jt.dataUrl=te,Jt.state=ge,Jt}return pt(Wt,Qt),Wt}(Ne),Ae=function(Qt){function Wt(Bt,te,ge){ge===void 0&&(ge=!1);var Jt=Qt.call(this,Bt,ge)||this;return Jt.marker=te,Jt}return pt(Wt,Qt),Wt}(Ne),Xe=function(){function Qt(){this.render=[],this.beforeclose=[],this.close=[],this.show=[],this.restorestate=[],this.statechange=[],this.markerselect=[],this.markerdeselect=[],this.markercreating=[],this.markercreate=[],this.markerbeforedelete=[],this.markerdelete=[],this.markerchange=[],this.focus=[],this.blur=[]}return Qt.prototype.addEventListener=function(Wt,Bt){this[Wt].push(Bt)},Qt.prototype.removeEventListener=function(Wt,Bt){var te=this[Wt].indexOf(Bt);te>-1&&this[Wt].splice(te,1)},Qt}(),Be=function(){function Qt(Wt){this.touchPoints=0,this._availableMarkerTypes=this.DEFAULT_MARKER_TYPES,this.mode="select",this.markers=[],this.isDragging=!1,this.renderEventListeners=[],this.closeEventListeners=[],this.settings=new Gt,this._isOpen=!1,this.undoRedoManager=new Se,this.renderAtNaturalSize=!1,this.renderImageType="image/png",this.renderMarkersOnly=!1,this.zoomSteps=[1,1.5,2,4],this._zoomLevel=1,this._isResizing=!1,this.prevPanPoint={x:0,y:0},this.eventListeners=new Xe,this._silentRenderMode=!1,this._isFocused=!1,this._instanceNo=Qt.instanceCounter++,this.styles=new E(this.instanceNo),this.uiStyleSettings=this.styles.settings,this.target=Wt,this.targetRoot=document.body,this.width=Wt.clientWidth,this.height=Wt.clientHeight,this.styles.removeStyleSheet(),this.open=this.open.bind(this),this.setTopLeft=this.setTopLeft.bind(this),this.toolbarButtonClicked=this.toolbarButtonClicked.bind(this),this.createNewMarker=this.createNewMarker.bind(this),this.addNewMarker=this.addNewMarker.bind(this),this.markerCreated=this.markerCreated.bind(this),this.setCurrentMarker=this.setCurrentMarker.bind(this),this.onPointerDown=this.onPointerDown.bind(this),this.onDblClick=this.onDblClick.bind(this),this.onPointerMove=this.onPointerMove.bind(this),this.onPointerUp=this.onPointerUp.bind(this),this.onPointerOut=this.onPointerOut.bind(this),this.onKeyUp=this.onKeyUp.bind(this),this.overrideOverflow=this.overrideOverflow.bind(this),this.restoreOverflow=this.restoreOverflow.bind(this),this.close=this.close.bind(this),this.closeUI=this.closeUI.bind(this),this.addCloseEventListener=this.addCloseEventListener.bind(this),this.removeCloseEventListener=this.removeCloseEventListener.bind(this),this.addRenderEventListener=this.addRenderEventListener.bind(this),this.removeRenderEventListener=this.removeRenderEventListener.bind(this),this.clientToLocalCoordinates=this.clientToLocalCoordinates.bind(this),this.onWindowResize=this.onWindowResize.bind(this),this.deleteSelectedMarker=this.deleteSelectedMarker.bind(this),this.setWindowHeight=this.setWindowHeight.bind(this),this.removeMarker=this.removeMarker.bind(this),this.colorChanged=this.colorChanged.bind(this),this.fillColorChanged=this.fillColorChanged.bind(this),this.onPopupTargetResize=this.onPopupTargetResize.bind(this),this.showNotesEditor=this.showNotesEditor.bind(this),this.hideNotesEditor=this.hideNotesEditor.bind(this),this.stepZoom=this.stepZoom.bind(this),this.focus=this.focus.bind(this),this.blur=this.blur.bind(this),this.markerStateChanged=this.markerStateChanged.bind(this),this.switchToSelectMode=this.switchToSelectMode.bind(this),this.addDefs=this.addDefs.bind(this),this.addDefsToImage=this.addDefsToImage.bind(this)}return Object.defineProperty(Qt.prototype,"ALL_MARKER_TYPES",{get:function(){return[Xt,ve,re,ae,He,_e,ke,pe,je,we,Ht,xe,le]},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"DEFAULT_MARKER_TYPES",{get:function(){return[Xt,ve,re,ae,_e,ke,pe]},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"BASIC_MARKER_TYPES",{get:function(){return[Xt,ve,re,ae,ke]},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"availableMarkerTypes",{get:function(){return this._availableMarkerTypes},set:function(Wt){var Bt=this;this._availableMarkerTypes.splice(0),Wt.forEach(function(te){if(typeof te=="string"){var ge=Bt.ALL_MARKER_TYPES.find(function(Jt){return Jt.typeName===te});ge!==void 0&&Bt._availableMarkerTypes.push(ge)}else Bt._availableMarkerTypes.push(te)})},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"currentMarker",{get:function(){return this._currentMarker},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"isOpen",{get:function(){return this._isOpen},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"isUndoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isUndoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"isRedoPossible",{get:function(){return!(!this.undoRedoManager||!this.undoRedoManager.isRedoPossible)},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"zoomLevel",{get:function(){return this._zoomLevel},set:function(Wt){this._zoomLevel=Wt,this.editorCanvas&&this.contentDiv&&(this.editorCanvas.style.transform="scale("+this._zoomLevel+")",this.contentDiv.scrollTo({left:(this.editorCanvas.clientWidth*this._zoomLevel-this.contentDiv.clientWidth)/2,top:(this.editorCanvas.clientHeight*this._zoomLevel-this.contentDiv.clientHeight)/2}))},enumerable:!1,configurable:!0}),Object.defineProperty(Qt.prototype,"instanceNo",{get:function(){return this._instanceNo},enumerable:!1,configurable:!0}),Qt.prototype.open=function(){this.setupResizeObserver(),this.setEditingTarget(),this.setTopLeft(),this.initMarkerCanvas(),this.initOverlay(),this.attachEvents(),this.settings.displayMode==="popup"&&this.onPopupTargetResize(),ft.isLicensed||this.addLogo(),this._isOpen=!0,this._isFocused=!0},Qt.prototype.show=function(){var Wt=this;this.styles.styleSheetRoot===void 0&<.styleSheetRoot!==void 0&&(this.styles.styleSheetRoot=lt.styleSheetRoot),this.setWindowHeight(),this.showUI(),this.open(),this.eventListeners.show.forEach(function(Bt){return Bt(new Ne(Wt))})},Qt.prototype.render=function(){return vt(this,void 0,void 0,function(){var Wt;return yt(this,function(Bt){switch(Bt.label){case 0:return this.setCurrentMarker(),(Wt=new ct).naturalSize=this.renderAtNaturalSize,Wt.imageType=this.renderImageType,Wt.imageQuality=this.renderImageQuality,Wt.markersOnly=this.renderMarkersOnly,Wt.width=this.renderWidth,Wt.height=this.renderHeight,[4,Wt.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 1:return Bt.sent(),[4,Wt.rasterize(this.target instanceof HTMLImageElement?this.target:null,this.markerImage,this.renderTarget)];case 2:return[2,Bt.sent()]}})})},Qt.prototype.close=function(Wt){var Bt=this;if(Wt===void 0&&(Wt=!1),this.isOpen){var te=!1;Wt||this.eventListeners.beforeclose.forEach(function(ge){var Jt=new Ne(Bt,!0);ge(Jt),Jt.defaultPrevented&&(te=!0)}),te||(this.coverDiv&&this.closeUI(),this.targetObserver&&(this.targetObserver.unobserve(this.target),this.targetObserver.unobserve(this.editorCanvas)),this.settings.displayMode==="popup"&&window.removeEventListener("resize",this.setWindowHeight),this.eventListeners.close.forEach(function(ge){return ge(new Ne(Bt))}),this.detachEvents(),this._isOpen=!1)}},Qt.prototype.addMarkersToToolbar=function(){for(var Wt,Bt=[],te=0;tethis.editorCanvas.clientHeight?this.editorCanvas.clientHeight*Wt:this.editorCanvas.clientWidth,te=Bt',Wt.title="Powered by marker.js",Wt.style.display="grid",Wt.style.alignItems="center",Wt.style.justifyItems="center",Wt.style.padding="3px",Wt.style.width="20px",Wt.style.height="20px",this.logoUI.appendChild(Wt),this.editorCanvas.appendChild(this.logoUI),this.logoUI.style.position="absolute",this.logoUI.style.pointerEvents="all",this.positionLogo()},Qt.prototype.positionLogo=function(){this.logoUI&&(this.uiStyleSettings.logoPosition!=="right"?this.logoUI.style.left=this.markerImageHolder.offsetLeft+10+"px":this.logoUI.style.left=this.markerImageHolder.offsetLeft+this.markerImageHolder.offsetWidth-this.logoUI.clientWidth-10+"px",this.logoUI.style.top=this.markerImageHolder.offsetTop+this.markerImageHolder.offsetHeight-this.logoUI.clientHeight-10+"px")},Qt.prototype.overrideOverflow=function(){this.scrollXState=window.scrollX,this.scrollYState=window.scrollY,this.bodyOverflowState=document.body.style.overflow,window.scroll({top:0,left:0}),document.body.style.overflow="hidden"},Qt.prototype.restoreOverflow=function(){document.body.style.overflow=this.bodyOverflowState,window.scroll({top:this.scrollYState,left:this.scrollXState})},Qt.prototype.showUI=function(){switch(this.settings.displayMode==="popup"&&this.overrideOverflow(),this.coverDiv=document.createElement("div"),this.coverDiv.style.visibility=this._silentRenderMode?"hidden":"visible",this.coverDiv.className=this.styles.classNamePrefixBase+" "+this.styles.classNamePrefix,this.coverDiv.style.fontSize="16px",this.coverDiv.style.userSelect="none",this.settings.displayMode){case"inline":this.coverDiv.style.position="absolute";var Wt=this.settings.uiOffsetTop!==void 0?this.target.offsetTop+this.settings.uiOffsetTop:this.target.offsetTop>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=Wt+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px",this.coverDiv.style.width=this.target.offsetWidth.toString()+"px",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"5";break;case"popup":this.coverDiv.style.position="absolute",this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=window.innerHeight+"px",this.coverDiv.style.backgroundColor="rgba(0, 0, 0, 0.75)",this.coverDiv.style.zIndex=this.uiStyleSettings.zIndex!==void 0?this.uiStyleSettings.zIndex:"1000",this.coverDiv.style.display="flex"}this.targetRoot.appendChild(this.coverDiv),this.uiDiv=document.createElement("div"),this.uiDiv.style.display="flex",this.uiDiv.style.flexDirection="column",this.uiDiv.style.flexGrow="2",this.uiDiv.style.margin=this.settings.displayMode==="popup"?this.settings.popupMargin+"px":"0px",this.uiDiv.style.border="0px",this.coverDiv.appendChild(this.uiDiv),this.toolbar=new it(this.uiDiv,this.settings.displayMode,this._availableMarkerTypes,this.uiStyleSettings,this.styles),this.toolbar.addButtonClickListener(this.toolbarButtonClicked),this.toolbar.show(this._silentRenderMode||this.uiStyleSettings.hideToolbar?"hidden":"visible"),this.contentDiv=document.createElement("div"),this.contentDiv.style.display="flex",this.contentDiv.style.flexDirection="row",this.contentDiv.style.flexGrow="2",this.contentDiv.style.flexShrink="1",this.settings.displayMode==="popup"&&(this.contentDiv.style.backgroundColor=this.uiStyleSettings.canvasBackgroundColor,this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.uiStyleSettings.toolbarHeight+"px",this.contentDiv.style.maxWidth="calc(100vw - "+2*this.settings.popupMargin+"px)"),this.contentDiv.style.overflow="auto",this.uiDiv.appendChild(this.contentDiv),this.editorCanvas=document.createElement("div"),this.editorCanvas.style.flexGrow="2",this.editorCanvas.style.flexShrink="1",this.editorCanvas.style.position="relative",this.editorCanvas.style.overflow="hidden",this.editorCanvas.style.display="flex",this.settings.displayMode==="popup"&&(this.editorCanvas.style.alignItems="center",this.editorCanvas.style.justifyContent="center"),this.editorCanvas.style.pointerEvents="none",this.editorCanvas.style.transformOrigin="left top",this.editorCanvas.style.transform="scale("+this.zoomLevel+")",this.contentDiv.appendChild(this.editorCanvas),this.editingTarget=this.target instanceof HTMLImageElement?document.createElement("img"):document.createElement("canvas"),this.settings.uiOffsetTop===void 0&&this.target.offsetTop-1&&this.markers.splice(this.markers.indexOf(Wt),1),Wt.dispose()},Qt.prototype.switchToSelectMode=function(){this.mode="select",this.hideNotesEditor(),this._currentMarker!==void 0&&(this._currentMarker.state!=="new"?this._currentMarker.select():(this.removeMarker(this._currentMarker),this.setCurrentMarker(),this.markerImage.style.cursor="default"),this.addUndoStep())},Qt.prototype.toolbarButtonClicked=function(Wt,Bt){if(Wt==="marker"&&Bt!==void 0)this.createNewMarker(Bt);else if(Wt==="action")switch(Bt){case"select":this.switchToSelectMode(),this.switchToSelectMode();break;case"delete":this.deleteSelectedMarker();break;case"clear":this.clear();break;case"undo":this.undo();break;case"redo":this.redo();break;case"zoom":this.stepZoom();break;case"zoom-out":this.zoomLevel=1;break;case"notes":this.notesArea===void 0?(this.switchToSelectMode(),this.zoomLevel=1,this.showNotesEditor()):this.switchToSelectMode();break;case"close":this.close();break;case"render":this.switchToSelectMode(),this.startRenderAndClose()}},Qt.prototype.deleteSelectedMarker=function(){var Wt=this;if(this._currentMarker!==void 0){var Bt=!1;if(this.eventListeners.markerbeforedelete.forEach(function(ge){var Jt=new Ae(Wt,Wt._currentMarker,!0);ge(Jt),Jt.defaultPrevented&&(Bt=!0)}),!Bt){var te=this._currentMarker;this._currentMarker.dispose(),this.markerImage.removeChild(this._currentMarker.container),this.markers.splice(this.markers.indexOf(this._currentMarker),1),this.setCurrentMarker(),this.addUndoStep(),this.eventListeners.markerdelete.forEach(function(ge){return ge(new Ae(Wt,te))})}}},Qt.prototype.clear=function(){var Wt=this,Bt=!1;if(this.markers.length>0&&(this.eventListeners.markerbeforedelete.forEach(function(Ie){var Ue=new Ae(Wt,void 0,!0);Ie(Ue),Ue.defaultPrevented&&(Bt=!0)}),!Bt)){this.setCurrentMarker();for(var te=function(Ie){var Ue=ge.markers[Ie];ge.setCurrentMarker(ge.markers[Ie]),ge._currentMarker.dispose(),ge.markerImage.removeChild(ge._currentMarker.container),ge.markers.splice(ge.markers.indexOf(ge._currentMarker),1),ge.eventListeners.markerdelete.forEach(function(Je){return Je(new Ae(Wt,Ue))})},ge=this,Jt=this.markers.length-1;Jt>=0;Jt--)te(Jt);this.addUndoStep()}},Object.defineProperty(Qt.prototype,"isNotesAreaOpen",{get:function(){return this.notesArea!==void 0},enumerable:!1,configurable:!0}),Qt.prototype.showNotesEditor=function(){var Wt;this._currentMarker!==void 0&&(this.overlayContainer.innerHTML="",this.notesArea=document.createElement("textarea"),this.notesArea.className=this.uiStyleSettings.notesAreaStyleClassName,this.notesArea.style.pointerEvents="auto",this.notesArea.style.alignSelf="stretch",this.notesArea.style.width="100%",this.notesArea.style.margin=this.uiStyleSettings.toolbarHeight/4+"px",this.notesArea.value=(Wt=this._currentMarker.notes)!==null&&Wt!==void 0?Wt:"",this.overlayContainer.appendChild(this.notesArea))},Qt.prototype.hideNotesEditor=function(){this.isNotesAreaOpen&&(this._currentMarker!==void 0&&(this._currentMarker.notes=this.notesArea.value.trim()!==""?this.notesArea.value:void 0),this.overlayContainer.removeChild(this.notesArea),this.notesArea=void 0)},Qt.prototype.selectLastMarker=function(){this.markers.length>0?this.setCurrentMarker(this.markers[this.markers.length-1]):this.setCurrentMarker()},Qt.prototype.addUndoStep=function(){var Wt=this;if(this._currentMarker===void 0||this._currentMarker.state!=="edit"){var Bt=this.getState(),te=this.undoRedoManager.getLastUndoStep();if(!te||te.width===Bt.width&&te.height===Bt.height){var ge=this.undoRedoManager.undoStepCount;this.undoRedoManager.addUndoStep(Bt),ge1&&this.panTo({x:Wt.clientX,y:Wt.clientY}))},Qt.prototype.onPointerUp=function(Wt){this.touchPoints>0&&this.touchPoints--,this.touchPoints===0&&this.isDragging&&this._currentMarker!==void 0&&this._currentMarker.pointerUp(this.clientToLocalCoordinates(Wt.clientX,Wt.clientY)),this.isDragging=!1,this.addUndoStep()},Qt.prototype.onPointerOut=function(){this.touchPoints>0&&this.touchPoints--},Qt.prototype.onKeyUp=function(Wt){this._currentMarker===void 0||this.notesArea!==void 0||Wt.key!=="Delete"&&Wt.key!=="Backspace"||this.deleteSelectedMarker()},Qt.prototype.clientToLocalCoordinates=function(Wt,Bt){var te=this.markerImage.getBoundingClientRect();return{x:(Wt-te.left)/this.zoomLevel,y:(Bt-te.top)/this.zoomLevel}},Qt.prototype.onWindowResize=function(){this.positionUI()},Qt.prototype.positionUI=function(){switch(this.setTopLeft(),this.settings.displayMode){case"inline":var Wt=this.target.getClientRects().item(0).y>this.styles.settings.toolbarHeight?this.target.offsetTop-this.styles.settings.toolbarHeight:0;this.coverDiv.style.top=Wt+"px",this.coverDiv.style.left=this.target.offsetLeft.toString()+"px";break;case"popup":this.coverDiv.style.top="0px",this.coverDiv.style.left="0px",this.coverDiv.style.width="100vw",this.coverDiv.style.height=this.windowHeight+"px",this.contentDiv.style.maxHeight=this.windowHeight-2*this.settings.popupMargin-3.5*this.styles.settings.toolbarHeight+"px"}this.positionMarkerImage(),this.positionLogo()},Qt.prototype.addLicenseKey=function(Wt){ft.addKey(Wt)},Qt.prototype.addEventListener=function(Wt,Bt){this.eventListeners.addEventListener(Wt,Bt)},Qt.prototype.removeEventListener=function(Wt,Bt){this.eventListeners.removeEventListener(Wt,Bt)},Qt.prototype.renderState=function(Wt){this._silentRenderMode=!0,this.settings.displayMode="inline",this.isOpen||this.show(),this.restoreState(Wt),this.startRenderAndClose(),this._silentRenderMode=!1},Object.defineProperty(Qt.prototype,"isFocused",{get:function(){return this._isFocused},enumerable:!1,configurable:!0}),Qt.prototype.focus=function(){var Wt=this;this._isFocused||(this.attachWindowEvents(),this._isFocused=!0,this._previousCurrentMarker!==void 0&&this.setCurrentMarker(this._previousCurrentMarker),this.eventListeners.focus.forEach(function(Bt){return Bt(new Ne(Wt))}))},Qt.prototype.blur=function(){var Wt=this;this._isFocused&&(this.detachWindowEvents(),this._isFocused=!1,this._previousCurrentMarker=this._currentMarker,this.setCurrentMarker(),this.eventListeners.blur.forEach(function(Bt){return Bt(new Ne(Wt))}))},Qt.instanceCounter=0,Qt}(),Te=Rt(99064),ue=Rt(955),$t=(Qt,Wt,Bt)=>new Promise((te,ge)=>{var Jt=Je=>{try{Ue(Bt.next(Je))}catch(Ze){ge(Ze)}},Ie=Je=>{try{Ue(Bt.throw(Je))}catch(Ze){ge(Ze)}},Ue=Je=>Je.done?te(Je.value):Promise.resolve(Je.value).then(Jt,Ie);Ue((Bt=Bt.apply(Qt,Wt)).next())}),ye=({data:Qt,className:Wt,fullWidth:Bt,style:te={},onClose:ge,onOk:Jt,showFullTools:Ie,noAssociationId:Ue})=>{const Je=(0,Ft.useRef)(null),Ze=(0,Ft.useRef)(null),nn=(0,Ft.useRef)(null),fn=(0,Ft.useRef)(null),[An,En]=(0,Ft.useState)(!1),[Dn,ii]=(0,Ft.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,Ft.useEffect)(()=>(nn.current||(nn.current=document.createElement("style"),document.head.appendChild(nn.current)),Qt!=null&&Qt.visible?(document.body.setAttribute("data-custom","y-hidden"),nn.current.innerHTML=" html { overflow-y: hidden; }",Qt!=null&&Qt.src&&mi()):(document.body.removeAttribute("data-custom"),nn.current&&(document.head.removeChild(nn.current),nn.current=null)),()=>{document.body.removeAttribute("data-custom"),nn.current&&(document.head.removeChild(nn.current),nn.current=null)}),[Qt==null?void 0:Qt.visible]);const mi=()=>$t(void 0,null,function*(){En(!0),ii("\u6B63\u5728\u52A0\u8F7D\u4E2D");const pi=yield(0,ue.ZJ)(Qt==null?void 0:Qt.src);Je.current.src="",Je.current.src=pi,Je.current.onload=function(){ki()},En(!1),ii("")}),Ti=pi=>$t(void 0,null,function*(){En(!0),ii("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Bi=yield(0,Te.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Qt.title,file:pi.dataUrl}});Bi!=null&&Bi.id&&!Ue?(yield(0,Te.ZP)(`/api/attachments/${Qt.id}/add_subitem.json`,{method:"post",body:{subitem_id:Bi==null?void 0:Bi.id,settings:JSON.stringify(pi.state)}})).status===0&&Jt():Bi!=null&&Bi.id&&Jt(Bi),En(!1),ii("")}),Oi=()=>{const pi=document.querySelector('a[href="https://markerjs.com/"]');pi&&pi.parentNode&&(pi.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(Or=>{const yr=document.querySelector(Or.name);yr&&yr.setAttribute("title",Or.title)})},ki=()=>{Ze.current=new Be(Je.current),Ze.current.targetRoot=fn.current,Ze.current.addEventListener("render",Ti),Ze.current.addEventListener("beforeclose",ge),Ie&&(Ze.current.availableMarkerTypes=Ze.current.ALL_MARKER_TYPES,Ze.current.uiStyleSettings.redoButtonVisible=!0,Ze.current.uiStyleSettings.notesButtonVisible=!0,Ze.current.uiStyleSettings.zoomButtonVisible=!0,Ze.current.uiStyleSettings.zoomOutButtonVisible=!0,Ze.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Ze.current.uiStyleSettings,Ze.current.show(),Qt!=null&&Qt.snapshotData&&Ze.current.restoreState(Qt.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Oi()},300)};return Ft.createElement(Ft.Fragment,null,(Qt==null?void 0:Qt.visible)&&Ft.createElement(Ct.Z,{spinning:An,tip:Dn,style:{position:"absolute",width:"100vw"}},Ft.createElement("div",{ref:fn,className:kt()(ie.imageDimensions,Wt,Bt?ie.fullWidth:""),style:te},Ft.createElement("img",{className:ie.img,ref:Je}))))}},41588:function(tn,Ke,Rt){"use strict";var Ft=Rt(59301),ie=Rt(95237),rt=Rt(43604),kt=Rt(99313),Ct=Rt(3113),St=Rt(85149),pt=Rt(88010),vt=Rt(48136),yt=Rt(59301);const xt=(0,Ft.forwardRef)(({callback:dt,showSaveButton:ft,value:ct=""},lt)=>{const E=(0,Ft.useRef)(),z=[{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 "}]}]}],ot=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r x=a + r\\text{cos}\\theta \\ \r y=b + r\\text{sin}\\theta \r \\end{matrix}\\right. `},{value:`\\begin{array}{l} \r \\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r \\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\left\\{\\begin{matrix} \r \\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r \\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r \\end{matrix}\\right. \r \\end{array} `},{value:`\\begin{array}{l} \r a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r \\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r \\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r \\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r \\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r \\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r a \\perp \\alpha \\ \r b \\perp \\alpha \r \\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r \\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r a \\parallel \\partial ,b \\parallel \\partial \r \\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r a \\perp m,a \\perp n \r \\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r \\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r a^{2}+b^{2}=c^{2} \r \\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r \\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r \\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r \\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r \\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r a,b \\in R^{+} \\ \r \\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r a,b \\in R \\ \r \\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r \\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r \\end{array}`},{value:`\\begin{array}{c} \r H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r \\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r \\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r \\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r \\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r P \\left( \\emptyset \\right) =0 \\\\ \r P \\left( S \\right) =1 \r \\end{array}`},{value:`\\begin{array}{c} \r \\forall A \\in S \\\\ \r P \\left( A \\right) \\ge 0 \r \\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r \\end{array}`},{value:`\\begin{array}{c} \r P_{n}=n! \\\\ \r A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r \\end{array}`}]}]}],it=wt=>{E.current.setValue(E.current.getValue()+" "+wt.value+" ")},at=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:yt.createElement(ie.Z,{className:pt.Z.lists,gutter:[10,10]},z.map((wt,Et)=>yt.createElement(rt.Z,{flex:"110px",className:pt.Z.item},yt.createElement("div",null,yt.createElement(St.Z,{value:`$$${wt.value}$$`}),wt.name),yt.createElement("div",{className:pt.Z.children},wt.children.map((At,_t)=>yt.createElement("div",{key:_t},yt.createElement("h1",null,At.name),yt.createElement(ie.Z,{gutter:[10,10]},At.data.map((Mt,jt)=>yt.createElement(rt.Z,{key:jt,onClick:()=>it(Mt),className:pt.Z.diamond},yt.createElement(St.Z,{value:"`$$"+Mt.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:yt.createElement(ie.Z,{className:pt.Z.lists,gutter:[10,10]},ot.map((wt,Et)=>yt.createElement(rt.Z,{flex:"110px",className:pt.Z.item},yt.createElement("div",null,yt.createElement(St.Z,{value:"`$$"+wt.value+"$$`"}),wt.name),yt.createElement("div",{className:pt.Z.children},wt.children.map((At,_t)=>yt.createElement("div",{key:_t},At.name&&yt.createElement("h1",null,At.name),yt.createElement(ie.Z,{gutter:[10,10]},At.data.map((Mt,jt)=>yt.createElement(rt.Z,{key:jt,onClick:()=>it(Mt),className:pt.Z.diamond},yt.createElement(St.Z,{value:"`$$"+Mt.value+"$$`"}))))))))))}],ut=()=>{var wt=document.createElement("div");wt.innerHTML=E.current.getValue();var Et=wt.innerText;return dt&&dt(Et),Et};return(0,Ft.useImperativeHandle)(lt,()=>({getData:ut})),yt.createElement("div",{className:pt.Z.mathWrap},yt.createElement(kt.default,{defaultActiveKey:"1",items:at}),yt.createElement("math-field",{locale:"zh_cn",className:pt.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:E,style:{width:800,marginTop:30,fontSize:18}},ct||""),ft&&yt.createElement("div",{className:pt.Z.button},yt.createElement(Ct.ZP,{size:"large",onClick:ut,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});Ke.Z=xt},8797:function(tn,Ke,Rt){"use strict";var Ft=Rt(59301),ie=Rt(93314),rt=Rt(3113),kt=Object.defineProperty,Ct=Object.defineProperties,St=Object.getOwnPropertyDescriptors,pt=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,yt=Object.prototype.propertyIsEnumerable,xt=(lt,E,z)=>E in lt?kt(lt,E,{enumerable:!0,configurable:!0,writable:!0,value:z}):lt[E]=z,dt=(lt,E)=>{for(var z in E||(E={}))vt.call(E,z)&&xt(lt,z,E[z]);if(pt)for(var z of pt(E))yt.call(E,z)&&xt(lt,z,E[z]);return lt},ft=(lt,E)=>Ct(lt,St(E));const ct=({img:lt,buttonProps:E={},styles:z={},customText:ot,ButtonText:it,ButtonClick:at,Buttonclass:ut,ButtonTwo:wt,imgStyles:Et,loading:At=!1,className:_t=""})=>Ft.createElement("section",{className:`tc animated fadeIn ${_t}`,style:dt({color:"#999",margin:"100px auto",visibility:At?"hidden":"visible"},z)},Ft.createElement("img",{src:lt||ie,style:ft(dt({},Et),{pointerEvents:"none",userSelect:"none"})}),Ft.createElement("p",{className:"mt20 font14"},ot||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),it&&Ft.createElement(rt.ZP,dt({className:ut,onClick:at},E),it),wt&&wt);Ke.Z=ct},23210:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{Z:function(){return ut}});var Ft=Rt(59301),ie={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},rt=Rt(3113),kt=Rt(70557),Ct=Rt(23954),St=Rt(6848),pt=Rt(955),vt=Rt(94941),yt=Rt(8797),xt=Rt(3294),dt=Rt(19381),ft=Rt(59301),ct=Object.defineProperty,lt=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,z=Object.prototype.propertyIsEnumerable,ot=(wt,Et,At)=>Et in wt?ct(wt,Et,{enumerable:!0,configurable:!0,writable:!0,value:At}):wt[Et]=At,it=(wt,Et)=>{for(var At in Et||(Et={}))E.call(Et,At)&&ot(wt,At,Et[At]);if(lt)for(var At of lt(Et))z.call(Et,At)&&ot(wt,At,Et[At]);return wt},at=(wt,Et,At)=>new Promise((_t,Mt)=>{var jt=Ut=>{try{It(At.next(Ut))}catch(Xt){Mt(Xt)}},Lt=Ut=>{try{It(At.throw(Ut))}catch(Xt){Mt(Xt)}},It=Ut=>Ut.done?_t(Ut.value):Promise.resolve(Ut.value).then(jt,Lt);It((At=At.apply(wt,Et)).next())}),ut=({editOffice:wt="view",data:Et,theme:At,type:_t,filename:Mt,monacoEditor:jt,className:Lt,style:It,close:Ut,onClose:Xt,hasMask:Gt,disabledDownload:Yt,onImgDimensions:Ht,showNodata:ne,recordInfo:ae})=>{const[ve,Kt]=(0,Ft.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[re,we]=(0,Ft.useState)(""),[Me,ke]=(0,Ft.useState)(),me=window.ENV==="build"?"/react/build":"",fe=location.host.startsWith("localhost")?xt.Z.PROXY_SERVER:xt.Z.API_SERVER,_e=10*(1024*1024),je=(0,Ft.useRef)();Et!=null&&Et.startsWith("/api")&&_t!=="txt"&&(Et=xt.Z.API_SERVER+Et);const He=Ne=>Ne.substring(Ne.lastIndexOf("/")+1).split(".").pop();Mt&&jt&&(jt.filename=Mt),(0,Ft.useEffect)(()=>{var Ne,se;const Ae=(se=(Ne=document.cookie)==null?void 0:Ne.replace(/\s/g,""))==null?void 0:se.split(";");Ae==null||Ae.map(Xe=>{let Be=Xe.split("=");Be[0]==="_educoder_session"&&we(Be[1])})},[]),(0,Ft.useEffect)(()=>{_t==="office"&&(Et.indexOf("bigfilescdn.")>-1||Et.indexOf("bigfiles1")>-1?ke({url:Et,fileType:He(Et),model:Et.indexOf("model=edit")?"edit":"view"}):Se())},[_t,Et]);const Se=()=>at(void 0,null,function*(){console.log("data:",Et);let Ne=Et;Et.startsWith("http")||(Ne=location.origin+Ne);let se=new URL(Ne).pathname.split("/").pop();const Ae=yield(0,vt.gJ)({attachment_id:se});Ae.url=fe+Ae.url,ke(Ae)}),xe=()=>{if(Et.startsWith("http")||Et.startsWith("blob:")){le();return}(0,pt.Sv)(Mt||"educoder",Et,Mt)},le=()=>{ae&&(0,dt.fc)({id:ae==null?void 0:ae.id,watch_type:1,course_id:ae==null?void 0:ae.course_id}),(0,pt.Nd)(Mt||"educoder",decodeURIComponent(Et))};return ft.createElement("div",{style:it({},It||{}),className:`${Gt&&ie.bgBlack} ${_t?ie.wrp:"hide"}`},Ut&&ft.createElement("div",{className:ie.close,ref:je},!!Ht&&ft.createElement(St.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>je.current},ft.createElement("span",{onClick:()=>{Xt(),Ht()}},ft.createElement("i",{className:"icon-yulanpizhu"}))),!Yt&&ft.createElement(St.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>je.current},ft.createElement("span",{onClick:le},ft.createElement("i",{className:"icon-quxiaozhiding"}))),ft.createElement(St.Z,{title:"\u5173\u95ED",getPopupContainer:()=>je.current},ft.createElement("span",{className:"",onClick:Xt},ft.createElement("i",{className:"icon-guanbi1"})))),ft.createElement("div",{className:`${ie[Lt]} ${Lt} ${ie.monaco} ${_t==="txt"?"show":"hide"}`},_t==="txt"&&ft.createElement(ft.Fragment,null,ft.createElement(Ct.ZP,it({},jt)))),_t==="audio"&&ft.createElement("audio",{src:`${(Et==null?void 0:Et.indexOf("http://"))>-1||(Et==null?void 0:Et.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${Et}`,autoPlay:!0}),_t==="video"&&ft.createElement(ft.Fragment,null,(Et==null?void 0:Et.indexOf("http"))>-1?ft.createElement("video",{controls:!0,src:`${Et}`,autoPlay:!0}):ft.createElement("video",{controls:!0,src:`data:video/mp4;base64,${Et}`,autoPlay:!0})),_t==="office"&&Me&&ft.createElement("iframe",{src:`${me}/office.html?key=${Me.key}&url=${btoa(Me.url)}&callbackUrl=${fe+(Me.callbackUrl||"")}&fileType=${Me.fileType}&title=${Me.title||""}&model=${wt}&officeServer=${xt.Z.ONLYOFFICE}&disabledDownload=${!!Yt}`}),_t==="html"&&ft.createElement("iframe",{src:Et+"&disposition=inline"}),_t==="pdf"&&ft.createElement("iframe",{src:`${me}/js/pdfview/index.html?filename=${Mt||"educoder.pdf"}&url=${encodeURIComponent(Et)}&disabledDownload=${!!Yt}`}),_t==="image"&&ft.createElement("img",{src:`${(Et==null?void 0:Et.indexOf("http://"))>-1||(Et==null?void 0:Et.indexOf("https://"))>-1?"":"data:image/png;base64,"}${Et}`}),(_t==="other"||_t==="download")&&ft.createElement(ft.Fragment,null,ne?ft.createElement(yt.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:ft.createElement(rt.ZP,{icon:ft.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:xe,disabled:Yt},"\u4E0B\u8F7D")}):ft.createElement(rt.ZP,{type:"primary",size:"middle",onClick:xe,disabled:Yt},ft.createElement(kt.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},85149:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{z:function(){return _t},Z:function(){return Mt}});var Ft=Rt(59301),ie=Rt(50304),rt=Rt(24768),kt=Rt(64018),Ct=Rt(65157),St=Rt(3294),pt=Rt(955),vt=Rt(15342),yt=Rt(1012),xt=Rt(23210),dt=Rt(59301),ct=({html:jt})=>{const Lt=(0,Ft.useRef)(null),It=(0,Ft.useRef)(null),Ut=`.markdown-body p { margin: 0 0 16px 0 !important; line-height: 28px; white-space: pre-wrap; } ol, ul, li { list-style-type: none } ol, ul, dl { margin-bottom: 0px; } .markdown-body { -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; color: #333; overflow: hidden; font-family: "Microsoft YaHei", Helvetica, "Meiryo UI", "Malgun Gothic", "Segoe UI", "Trebuchet MS", "Monaco", monospace, Tahoma, STXihei, "\u534E\u6587\u7EC6\u9ED1", STHeiti, "Helvetica Neue", "Droid Sans", "wenquanyi micro hei", FreeSans, Arimo, Arial, SimSun, "\u5B8B\u4F53", Heiti, "\u9ED1\u4F53", sans-serif; word-break: break-word; font-size: 16px; line-height: 1.6; white-space: normal; word-wrap: break-word; position: relative; } .markdown-body ul>li { list-style-type: disc; } .markdown-body ol>li { list-style-type: decimal; } .markdown-body a { background: transparent; } .markdown-body a:active, .markdown-body a:hover { outline: 0; } .markdown-body strong { font-weight: bold; } .markdown-body h1 { font-size: 2em; margin: 0.67em 0; } .markdown-body img { border: 0; } .markdown-body hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } .markdown-body pre { overflow: auto; } .markdown-body code, .markdown-body kbd, .markdown-body pre { font-family: "Meiryo UI", "YaHei Consolas Hybrid", Consolas, "Malgun Gothic", "Segoe UI", "Trebuchet MS", Helvetica, monospace, monospace; font-size: 1em; } .markdown-body input { color: inherit; font: inherit; margin: 0; } .markdown-body html input[disabled] { cursor: default; } .markdown-body input { line-height: normal; } .markdown-body input[type="checkbox"] { -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } .markdown-body table { border-collapse: collapse; border-spacing: 0; } .markdown-body td, .markdown-body th { padding: 0; } .markdown-body * { -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body input { font: 13px/1.4 Helvetica, arial, freesans, clean, sans-serif, "Segoe UI Emoji", "Segoe UI Symbol"; } .markdown-body a { color: #4183c4; text-decoration: none; } .markdown-body a:hover, .markdown-body a:active { text-decoration: underline; } .markdown-body hr { height: 0; margin: 15px 0; overflow: hidden; background: transparent; border: 0; border-bottom: 1px solid #ddd; } .markdown-body hr:before { display: table; content: ""; } .markdown-body hr:after { display: table; clear: both; content: ""; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { margin-top: 15px; margin-bottom: 15px; line-height: 1.1; } .markdown-body h1 { font-size: 30px; } .markdown-body h2 { font-size: 21px; } .markdown-body h3 { font-size: 16px; } .markdown-body h4 { font-size: 14px; } .markdown-body h5 { font-size: 12px; } .markdown-body h6 { font-size: 11px; } .markdown-body blockquote { margin: 0; } .markdown-body ul, .markdown-body ol { padding: 0; margin-top: 0; margin-bottom: 0; } ul.linenums, ol.linenums { padding: 16px 0 0 36px !important; } .markdown-body ul, .markdown-body ol { padding-left: 2em; } .markdown-body ol ol, .markdown-body ul ol { list-style-type: lower-roman; } .markdown-body ul ul ol, .markdown-body ul ol ol, .markdown-body ol ul ol, .markdown-body ol ol ol { list-style-type: lower-alpha; } .markdown-body dd { margin-left: 0; } .markdown-body code { font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; } .markdown-body pre { margin-top: 0; margin-bottom: 0; font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace; } .markdown-body .octicon { font: normal normal 16px octicons-anchor; line-height: 1; display: inline-block; text-decoration: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .markdown-body .octicon-link:before { content: '\f05c'; } .markdown-body>*:first-child { margin-top: 0 !important; } .markdown-body>*:last-child { margin-bottom: 0 !important; } .markdown-body .anchor { position: absolute; top: 0; left: 0; display: block; padding-right: 6px; padding-left: 30px; margin-left: -30px; } .markdown-body .anchor:focus { outline: none; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { position: relative; margin-top: 1em; margin-bottom: 16px; font-weight: bold; line-height: 1.4; } .markdown-body h1 .octicon-link, .markdown-body h2 .octicon-link, .markdown-body h3 .octicon-link, .markdown-body h4 .octicon-link, .markdown-body h5 .octicon-link, .markdown-body h6 .octicon-link { display: none; color: #000; vertical-align: middle; } .markdown-body h1:hover .anchor, .markdown-body h2:hover .anchor, .markdown-body h3:hover .anchor, .markdown-body h4:hover .anchor, .markdown-body h5:hover .anchor, .markdown-body h6:hover .anchor { padding-left: 8px; margin-left: -30px; text-decoration: none; } .markdown-body h1:hover .anchor .octicon-link, .markdown-body h2:hover .anchor .octicon-link, .markdown-body h3:hover .anchor .octicon-link, .markdown-body h4:hover .anchor .octicon-link, .markdown-body h5:hover .anchor .octicon-link, .markdown-body h6:hover .anchor .octicon-link { display: inline-block; } .markdown-body h1 { padding-bottom: 0.3em; font-size: 2.25em; line-height: 1.2; border-bottom: 1px solid #eee; } .markdown-body h1 .anchor { line-height: 1; } .markdown-body h2 { padding-bottom: 0.3em; font-size: 1.75em; line-height: 1.225; border-bottom: 1px solid #eee; } .markdown-body h2 .anchor { line-height: 1; } .markdown-body h3 { font-size: 1.5em; line-height: 1.43; } .markdown-body h3 .anchor { line-height: 1.2; } .markdown-body h4 { font-size: 1.25em; } .markdown-body h4 .anchor { line-height: 1.2; } .markdown-body h5 { font-size: 1em; } .markdown-body h5 .anchor { line-height: 1.1; } .markdown-body h6 { font-size: 1em; color: #777; } .markdown-body h6 .anchor { line-height: 1.1; } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; } .markdown-body ul ul, .markdown-body ul ol, .markdown-body ol ol, .markdown-body ol ul { margin-top: 0; margin-bottom: 0; } .markdown-body li>p { margin-top: 16px; } .markdown-body dl { padding: 0; } .markdown-body dl dt { padding: 0; margin-top: 16px; font-size: 1em; font-style: italic; font-weight: bold; } .markdown-body dl dd { padding: 0 16px; margin-bottom: 16px; } .markdown-body blockquote { padding: 0 15px; color: #777; border-left: 4px solid #ddd; } .markdown-body blockquote> :first-child { margin-top: 0; } .markdown-body blockquote> :last-child { margin-bottom: 0; } .markdown-body table { display: block; width: 100%; overflow: auto; word-break: normal; word-break: keep-all; } .markdown-body table th { font-weight: bold; text-align: revert; } .markdown-body table th, .markdown-body table td { padding: 6px 13px; border: 1px solid #ddd; } .markdown-body table tr { background-color: #fff; border-top: 1px solid #ccc; } .markdown-body table tr:nth-child(2n) { background-color: #f8f8f8; } .markdown-body img { max-width: 100%; -moz-box-sizing: border-box; box-sizing: border-box; } .markdown-body code { padding: 0; padding-top: 0.2em; padding-bottom: 0.2em; margin: 0; font-size: 85%; background-color: rgba(0, 0, 0, 0.04); border-radius: 3px; } .markdown-body code:has(.katex) { background-color: transparent; } .markdown-body code:before, .markdown-body code:after { letter-spacing: -0.2em; content: "\\00a0"; } .markdown-body pre>code { padding: 0; margin: 0; font-size: 100%; word-break: normal; white-space: pre; background: transparent; border: 0; } .markdown-body .highlight { margin-bottom: 16px; } .markdown-body .highlight pre, .markdown-body pre { padding: 16px; overflow: auto; font-size: 85%; line-height: 1.45; background-color: #f7f7f7; border-radius: 3px; } .markdown-body .highlight pre { margin-bottom: 0; word-break: normal; } .markdown-body pre { word-wrap: normal; } .markdown-body pre code { display: inline; max-width: initial; padding: 0; margin: 0; overflow: initial; line-height: inherit; word-wrap: normal; background-color: transparent; border: 0; } .markdown-body pre code:before, .markdown-body pre code:after { content: normal; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font-size: 11px; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .pl-c { color: #969896; } .markdown-body .pl-c1, .markdown-body .pl-mdh, .markdown-body .pl-mm, .markdown-body .pl-mp, .markdown-body .pl-mr, .markdown-body .pl-s1 .pl-v, .markdown-body .pl-s3, .markdown-body .pl-sc, .markdown-body .pl-sv { color: #0086b3; } .markdown-body .pl-e, .markdown-body .pl-en { color: #795da3; } .markdown-body .pl-s1 .pl-s2, .markdown-body .pl-smi, .markdown-body .pl-smp, .markdown-body .pl-stj, .markdown-body .pl-vo, .markdown-body .pl-vpf { color: #333; } .markdown-body .pl-ent { color: #63a35c; } .markdown-body .pl-k, .markdown-body .pl-s, .markdown-body .pl-st { color: #a71d5d; } .markdown-body .pl-pds, .markdown-body .pl-s1, .markdown-body .pl-s1 .pl-pse .pl-s2, .markdown-body .pl-sr, .markdown-body .pl-sr .pl-cce, .markdown-body .pl-sr .pl-sra, .markdown-body .pl-sr .pl-sre, .markdown-body .pl-src { color: #df5000; } .markdown-body .pl-mo, .markdown-body .pl-v { color: #1d3e81; } .markdown-body .pl-id { color: #b52a1d; } .markdown-body .pl-ii { background-color: #b52a1d; color: #f8f8f8; } .markdown-body .pl-sr .pl-cce { color: #63a35c; font-weight: bold; } .markdown-body .pl-ml { color: #693a17; } .markdown-body .pl-mh, .markdown-body .pl-mh .pl-en, .markdown-body .pl-ms { color: #1d3e81; font-weight: bold; } .markdown-body .pl-mq { color: #008080; } .markdown-body .pl-mi { color: #333; font-style: italic; } .markdown-body .pl-mb { color: #333; font-weight: bold; } .markdown-body .pl-md, .markdown-body .pl-mdhf { background-color: #ffecec; color: #bd2c00; } .markdown-body .pl-mdht, .markdown-body .pl-mi1 { background-color: #eaffea; color: #55a532; } .markdown-body .pl-mdr { color: #795da3; font-weight: bold; } .markdown-body kbd { display: inline-block; padding: 3px 5px; font: 11px Consolas, "Liberation Mono", Menlo, Courier, monospace; line-height: 10px; color: #555; vertical-align: middle; background-color: #fcfcfc; border: solid 1px #ccc; border-bottom-color: #bbb; border-radius: 3px; box-shadow: inset 0 -1px 0 #bbb; } .markdown-body .task-list-item { list-style-type: none; } .markdown-body .task-list-item+.task-list-item { margin-top: 3px; } .markdown-body .task-list-item input { float: left; margin: 0.3em 0 0.25em -1.6em; vertical-align: middle; } .markdown-body :checked+.radio-label { z-index: 1; position: relative; border-color: #4183c4; } /*! Pretty printing styles. Used with prettify.js. */ /* SPAN elements with the classes below are added by prettyprint. */ .pln { color: #000 } /* plain text */ @media screen { .str { color: #080 } /* string content */ .kwd { color: #008 } /* a keyword */ .com { color: #800 } /* a comment */ .typ { color: #606 } /* a type name */ .lit { color: #066 } /* a literal value */ /* punctuation, lisp open bracket, lisp close bracket */ .pun, .opn, .clo { color: #660 } .tag { color: #008 } /* a markup tag name */ .atn { color: #606 } /* a markup attribute name */ .atv { color: #080 } /* a markup attribute value */ .dec, .var { color: #606 } /* a declaration; a variable name */ .fun { color: red } /* a function name */ } /* Use higher contrast and text-weight for printable form. */ @media print, projection { .str { color: #060 } .kwd { color: #006; font-weight: bold } .com { color: #600; font-style: italic } .typ { color: #404; font-weight: bold } .lit { color: #044 } .pun, .opn, .clo { color: #440 } .tag { color: #006; font-weight: bold } .atn { color: #404 } .atv { color: #060 } } /* Put a border around prettyprinted code snippets. */ pre.prettyprint { padding: 2px; /* border: 1px solid #888 */ } /* Specify class=linenums on a pre to get line numbering */ ol.linenums { margin-top: 0; margin-bottom: 0 } /* IE indents via margin-left */ li.L0, li.L1, li.L2, li.L3, li.L5, li.L6, li.L7, li.L8 { list-style-type: none } /* Alternate shading for lines */ li.L1, li.L3, li.L5, li.L7, li.L9 { background: #eee } .markdown-body p, .markdown-body blockquote, .markdown-body ul, .markdown-body ol, .markdown-body dl, .markdown-body table, .markdown-body pre { margin-top: 0; margin-bottom: 16px; }`;return(0,Ft.useEffect)(()=>{const Xt=Lt.current.attachShadow({mode:"open"});It.current=document.createElement("div"),It.current.className="markdown-body",It.current.innerHTML=jt,Xt.appendChild(It.current);const Gt=document.createElement("style");return Gt.textContent=Ut,Xt.appendChild(Gt),()=>{Xt.innerHTML=""}},[]),(0,Ft.useEffect)(()=>{It.current&&(It.current.innerHTML=jt)},[jt]),dt.createElement("div",{ref:Lt})},lt=Object.defineProperty,E=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ot=Object.prototype.propertyIsEnumerable,it=(jt,Lt,It)=>Lt in jt?lt(jt,Lt,{enumerable:!0,configurable:!0,writable:!0,value:It}):jt[Lt]=It,at=(jt,Lt)=>{for(var It in Lt||(Lt={}))z.call(Lt,It)&&it(jt,It,Lt[It]);if(E)for(var It of E(Lt))ot.call(Lt,It)&&it(jt,It,Lt[It]);return jt};const ut="@\u2581\u2581@",wt="@\u2581@",Et=/]*>/g;function At(jt){let Lt=document.createElement("div");return Lt.innerHTML=jt,Lt.childNodes.length===0?"":Lt.childNodes[0].nodeValue}const _t=(jt,Lt)=>{jt=jt||"";const It=/(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?\)|(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Ut=/\"(?:https?:\/\/[^\/]+)?\/api\/attachments\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Xt=/\(\s+(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?|\"(?:https?:\/\/[^\/]+)?\/files\/uploads\/([A-Za-z0-9+/=]+)(\?.*?)?\//g,Gt=/(?:https?:\/\/[^\/]+)?\/attachments\/download\/([A-Za-z0-9+/=]+)(\?.*?)?\//g;return Lt?jt.replaceAll("https://www.educoder.net","").replaceAll("https://www-cdn.educoder.net","").replaceAll("//api/attachments","/api/attachments").replace(It,(Yt,Ht,ne,ae,ve,Kt,re)=>{const we=Ht||ae||Kt,Me=ne||ve||re||"?";return St.Z.API_SERVER+"/api/attachments/"+we+Me+"&t="+(0,pt.Jn)(we,Date.now())+(Yt.indexOf(")")>-1?")":"&")}).replaceAll('src="(','src="').replaceAll("src='(",'src="'):(jt=jt.replace(Gt,(Yt,Ht,ne,ae,ve,Kt,re)=>{const we=Ht||ae||Kt,Me=ne||ve||re||"?";return St.Z.API_SERVER+"/attachments/download/"+we+Me+"&t="+(0,pt.Jn)(we,Date.now())+(Yt.indexOf(")")>-1?")":"&")}).replace(It,(Yt,Ht,ne,ae,ve,Kt,re)=>{const we=Ht||ae||Kt,Me=ne||ve||re||"?";return St.Z.API_SERVER+"/api/attachments/"+we+Me+"&t="+(0,pt.Jn)(we,Date.now())+(Yt.indexOf(")")>-1?")":"&")}).replace(Ut,(Yt,Ht,ne,ae,ve)=>{const Kt=Ht||ae,re=ne||ve||"";return'"'+St.Z.API_SERVER+"/api/attachments/"+Kt+re+Kt+re+"&t="+(0,pt.Jn)(Kt,Date.now())}).replace(Xt,(Yt,Ht,ne,ae,ve)=>{const Kt=Ht||ae,re=ne||ve||"";return"("+St.Z.API_SERVER+"/files/uploads/"+Kt+re+Kt+re+"&t="+(0,pt.Jn)(Kt,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,` `),jt)};var Mt=({value:jt="",className:Lt,showTextOnly:It,showLines:Ut,style:Xt={},stylesPrev:Gt={},highlightKeywords:Yt,showProgramFill:Ht,isProgramFill:ne,disabledFill:ae=!1,programFillValue:ve,onFillChange:Kt=Me=>{},onFillBlur:re=()=>{},onFillFocus:we=()=>{}})=>{let Me=String(jt);const[ke,me]=(0,Ft.useState)(""),[fe,pe]=(0,Ft.useState)("office"),[_e,je]=(0,Ft.useState)([]),He=(0,Ft.useRef)("a"+(0,yt.Z)()),Se={},xe=(Qt,Wt,Bt)=>{const te=document.createElement(Qt===wt?"input":"textarea");te.style.width="100%",te.style.height=Qt===wt?"40px":"151px",te.rows=5,te.spellcheck=!1,te.name="edu-program-fill",te.placeholder="\u8BF7\u8F93\u5165",te.dataset.id=Wt;const ge=Object.keys(Se).length;return Se[ge]=te,`${te.outerHTML}`};function le(Qt){return Qt=Qt.replace(/!\[.*?\]\(.*?\)/g,""),Qt=Qt.replace(/\[.*?\]\(.*?\)/g,""),Qt=Qt.replace(new RegExp("","gs"),""),Qt=Qt.replace(//g,""),Qt=Qt.replace(//g,""),Qt=Qt.replace(new RegExp(".*?<\\/video>","gs"),""),Qt=Qt.replace(new RegExp(".*?<\\/audio>","gs"),""),Qt=Qt.replace(new RegExp(".*?<\\/style>","gs"),""),Qt=Qt.replace(new RegExp(".*?<\\/script>","gs"),""),Qt}const Ne=Qt=>Qt.replace(/([\s\S]+?)<\/style>/gim,function(Wt,Bt){let te=Bt.replace(/(\n|\r)/g,"").split("}"),ge=[];return te.map(Jt=>{Jt!=""&&ge.push(`.${He.current} ${Jt}`)}),``}),se=(0,Ft.useMemo)(()=>{try{const te=/\(\s+\/api\/attachments\/|\(\/api\/attachments\//g,ge=/\"\/api\/attachments\/|\"\/attachments\/download\//g,Jt=/\(\s+\/files\/uploads\/|\"\/files\/uploads\//g,Ie=/\(\/attachments\/download\//g;Me=Me.replace(Ie,"("+St.Z.API_SERVER+"/attachments/download/").replace(te,"("+St.Z.API_SERVER+"/api/attachments/").replace(ge,'"'+St.Z.API_SERVER+"/api/attachments/").replace(Jt,'"'+St.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(te){}if(Ht){let te=-1;return Me=Me.replaceAll("<","<").replaceAll(">",">").replace(/(@▁▁@|@▁@)/g,function(ge,Jt,Ie){var Ue;return++te,xe(ge,te,(Ue=ve==null?void 0:ve[te])==null?void 0:Ue.value.replaceAll("<","<").replaceAll(">",">"))}),`
${Ne(Me||"")}
`}let Qt=Ne(Me);Qt=(0,rt.ZP)(Qt);const Wt=(0,rt.ez)();Me.match(/\[TOC\]/)&&(Qt=Qt.replace("

[TOC]

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

${Cu||

`):mn.replaceSelection(`${Cu||`):((Qr=qr==null?void 0:qr.type)==null?void 0:Qr.indexOf("video"))>-1?mn.replaceSelection(``):((Ur=qr==null?void 0:qr.type)==null?void 0:Ur.indexOf("pdf"))>-1?mn.replaceSelection(`${qr.name}`):mr.includes($a)?mn.replaceSelection(`${qr.name}`):mn.replaceSelection(`[${qr.name}](${Ba})`),mn.focus();case Ti:const{row:tl,col:xr,align:Eo}=vi;let Eu=` `;for(let Jo=0;Jo{switch(ei){case fn:return Ft.createElement(Me,{callback:Ee,onCancel:Qo});case mi:return Ft.createElement(ke.Z,{callback:Ee,onCancel:Qo});case An:return Ft.createElement(me.Z,{callback:Ee,onCancel:Qo});case En:return Ft.createElement(he,{callback:Ee,onCancel:Qo});case Ti:return Ft.createElement(te,{callback:Ee,onCancel:Qo});case"maths-latex":return Ft.createElement(Je,{showSaveButton:!0,callback:Ee});case"inline-latex":return Ft.createElement(Ze.Z,{showSaveButton:!0,callback:Ee});default:return null}},[ei]);function Qo(){Li("")}(0,Ft.useEffect)(()=>{if(Ri.current){let vi=function(Qr){zi=!0,jr=Qr.pageY},qn=function(){zi=!1},xn=function(Qr){if(zi){let Ur=Qr.pageY-jr;Ur<0&&(Ur=0),Ur>300&&(Ur=300);let mo=zn+Ur+"px";fr(mo)}},ai=Ri.current,zi=!1,jr=0;return ai.addEventListener("mousedown",vi),document.addEventListener("mousemove",xn),document.addEventListener("mouseup",qn),()=>{ai.removeEventListener("mousedown",vi),document.removeEventListener("mousemove",xn),document.removeEventListener("mouseup",qn)}}},[mn,Ri]),(0,Ft.useEffect)(()=>{fr(zn)},[zn]);const Tl=ms(qe),Pa=ms(Yi),_l={width:Tl,height:Pa},bu=(0,Ft.useMemo)(()=>{if(hr){let vi=new Date(hr),qn=vi.getHours(),xn=vi.getMinutes(),ai=vi.getSeconds();return qn=qn<10?"0"+qn:qn,xn=xn<10?"0"+xn:xn,ai=ai<10?"0"+ai:ai,`${qn}:${xn}:${ai}`}return 0},[hr]),ec=vi=>{const qn=[];if(ti){let xn=-1;vi=vi.replace(/(@▁▁@|@▁@)/g,function(ai,zi,jr){qn.push({multiLine:ai!==ee})})}return qn};function nc(){window.sessionStorage.removeItem(dr),Qi(!1),Vi(0)}function Er(){Qi(!1),Vi(0),mn.setValue(window.sessionStorage.getItem(dr))}(0,Ft.useEffect)(()=>{Gr[ei]&&ei!==Dn&&ei!==En&&setTimeout(()=>{const vi=document.getElementsByClassName("markdown-popup-form")[0],qn=window.innerWidth/2-vi.offsetWidth/2,xn=window.innerHeight/2-vi.offsetHeight/2;qi(qn),Kr(xn)},0)},[ei]);const Zr=vi=>{vi.preventDefault();const qn=vi.clientX-gn,xn=vi.clientY-Io;document.body.onmousemove=ai=>{let zi=ai.clientX-qn,jr=ai.clientY-xn;const Qr=document.getElementsByClassName("markdown-popup-form")[0],Ur=window.innerWidth-Qr.offsetWidth,mo=window.innerHeight-Qr.offsetHeight;zi=Math.max(0,Math.min(zi,Ur)),jr=Math.max(0,Math.min(jr,mo)),aa(ai.clientX,ai.clientY,qn,xn)&&(qi(zi),Kr(jr))},document.body.onmouseup=function(){document.body.onmousemove=null}},aa=(vi,qn,xn,ai)=>{const zi=document.body.clientHeight,jr=document.body.clientWidth;return vi<20&&xn>vi||vi>jr-20&&xnqn||qn>zi-20&&aiLt in jt?dt(jt,Lt,{enumerable:!0,configurable:!0,writable:!0,value:It}):jt[Lt]=It,it=(jt,Lt)=>{for(var It in Lt||(Lt={}))E.call(Lt,It)&&ot(jt,It,Lt[It]);if(lt)for(var It of lt(Lt))z.call(Lt,It)&&ot(jt,It,Lt[It]);return jt},at=(jt,Lt)=>ft(jt,ct(Lt));const{useForm:ut}=Ft.default,wt={width:280,marginRight:10},Et={labelCol:{span:5},wrapperCol:{span:19}};var At=({callback:jt,onCancel:Lt})=>{const[It]=ut();let Ut=(0,yt.useRef)();function Xt(Ht){Ut.current.width=It.getFieldValue("width"),Ut.current.align=It.getFieldValue("align"),jt(Ht,Ut.current)}function Gt(Ht,ne){if(Ht.status===-1){ie.ZP.error(Ht.message);return}It.setFieldsValue({src:`/api/attachments/${Ht.id}`,type:ne.type})}function Yt(Ht){let ne=Ht.target.files[0];Ut.current=ne,Mt(ne,Gt)}return xt.createElement(Ft.default,at(it({form:It},Et),{className:"upload-image-panel",onFinish:Xt,style:{width:470,overflow:"hidden"}}),xt.createElement(Ft.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},xt.createElement("div",{className:"flex-container"},xt.createElement(Ft.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u56FE\u7247\u5730\u5740"}]},xt.createElement(rt.default,{style:wt})),xt.createElement(_t,{onFileChange:Yt}))),xt.createElement(Ft.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},xt.createElement(rt.default,{style:{width:264}})),xt.createElement(Ft.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},xt.createElement(kt.Z,null,xt.createElement(Ft.default.Item,{name:"width",style:{margin:0}},xt.createElement(Ct.Z,{style:{width:264}})),xt.createElement("span",{className:"ml8"},"%"))),xt.createElement(Ft.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},xt.createElement(St.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),xt.createElement("aside",null,xt.createElement(Ft.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},xt.createElement(pt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),xt.createElement(pt.ZP,{type:"default",onClick:Lt},"\u53D6\u6D88"))))};function _t({onFileChange:jt}){return xt.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",xt.createElement("input",{type:"file",onChange:jt}))}function Mt(jt,Lt){if(!jt)throw new String("\u6CA1\u6709\u6587\u4EF6");let It=new FormData;It.append("editormd-image-file",jt),It.append("file_param_name","editormd-image-file"),It.append("byxhr","true");var Ut=new window.XMLHttpRequest;Ut.withCredentials=!0,Ut.addEventListener("load",function(Xt){Lt(JSON.parse(Xt.target.responseText),jt)},!1),Ut.addEventListener("error",function(Xt){console.error(Xt)},!1),Ut.open("POST",`${vt.KI}/api/attachments.json`),Ut.send(It)}},79346:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{Z:function(){return rt}});var Ft=Rt(59301),ie=Rt(4676);class rt extends Ft.Component{constructor(Ct){super(Ct);const St=window.document;this.node=St.createElement("div"),St.body.appendChild(this.node)}render(){const{children:Ct}=this.props;return(0,ie.createPortal)(Ct,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},23954:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{SV:function(){return ue},ZP:function(){return Te}});var Ft=Rt(59301),ie=Rt(76374);const rt={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"]},kt={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"]},Ct={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(` `)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(` `)},{label:"if",content:["if () {"," $0","}"].join(` `)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(` `)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(` `)},{label:"using namespace std;",content:["using namespace std;"].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)},{label:"include ",content:["#include "].join(` `)}]},St={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(` `)}]},pt={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 vt=Rt(53184),yt=Rt.n(vt),xt=Object.defineProperty,dt=Object.defineProperties,ft=Object.getOwnPropertyDescriptors,ct=Object.getOwnPropertySymbols,lt=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=($t,he,ye)=>he in $t?xt($t,he,{enumerable:!0,configurable:!0,writable:!0,value:ye}):$t[he]=ye,ot=($t,he)=>{for(var ye in he||(he={}))lt.call(he,ye)&&z($t,ye,he[ye]);if(ct)for(var ye of ct(he))E.call(he,ye)&&z($t,ye,he[ye]);return $t},it=($t,he)=>dt($t,ft(he)),at=($t,he,ye)=>new Promise((Qt,Wt)=>{var Bt=Jt=>{try{ge(ye.next(Jt))}catch(Ie){Wt(Ie)}},te=Jt=>{try{ge(ye.throw(Jt))}catch(Ie){Wt(Ie)}},ge=Jt=>Jt.done?Qt(Jt.value):Promise.resolve(Jt.value).then(Bt,te);ge((ye=ye.apply($t,he)).next())});const ut={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"]}},wt=($t,he)=>he.map(ye=>({label:ye,kind:$t.languages.CompletionItemKind.Keyword,insertText:ye})),Et=$t=>Object.keys(ut.tables).map(he=>({label:he,kind:$t.languages.CompletionItemKind.Variable,insertText:he})),At=($t,he)=>{const ye=ut.tables[$t];return ye?ye.map(Qt=>({label:Qt,kind:he.languages.CompletionItemKind.Field,insertText:Qt})):[]};function _t($t,he,ye,Qt,Wt){let Bt=he.getWordUntilPosition(ye),te={startLineNumber:ye.lineNumber,endLineNumber:ye.lineNumber,startColumn:Bt.startColumn,endColumn:Bt.endColumn},ge=Qt.map(Jt=>({label:Jt,kind:$t.languages.CompletionItemKind.Keyword,insertText:Jt,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:te}));return Wt.map(Jt=>{ge.push(it(ot({},Jt),{range:te}))}),ge}var Mt=$t=>{ut.languages.map(Wt=>($t.languages.registerDocumentFormattingEditProvider(Wt,{provideDocumentFormattingEdits(Bt,te,ge){return at(this,null,function*(){const Jt=yt()(Bt.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:Bt.getFullModelRange(),text:Jt}]})}}),Wt));const he=Ct.quickKey.map(Wt=>({label:Wt.label,kind:$t.languages.CompletionItemKind.Method,insertText:Wt.content,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet})),ye=St.quickKey.map(Wt=>({label:Wt.label,kind:$t.languages.CompletionItemKind.Method,insertText:Wt.content,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet})),Qt=kt.quickKey.map(Wt=>({label:Wt.label,kind:$t.languages.CompletionItemKind.Method,insertText:Wt.content,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet}));$t.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(Wt,Bt){var te=Wt.getWordUntilPosition(Bt),ge={startLineNumber:Bt.lineNumber,endLineNumber:Bt.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},Jt=Wt.getLineContent(Bt.lineNumber).substring(te.startColumn-2,te.endColumn);return{suggestions:[...Ct.keywords.map(Ie=>({label:Ie,kind:$t.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ge})),...Ct.quickKey.map(Ie=>({label:Ie.label,kind:$t.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:Jt.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ge}))]}}}),$t.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(Wt,Bt){var te=Wt.getWordUntilPosition(Bt),ge={startLineNumber:Bt.lineNumber,endLineNumber:Bt.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn};return{suggestions:[...rt.keywords.map(Jt=>({label:Jt,kind:$t.languages.CompletionItemKind.Function,documentation:Jt,insertText:Jt,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ge}))]}}}),$t.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(Wt,Bt){var te=Wt.getWordUntilPosition(Bt),ge={startLineNumber:Bt.lineNumber,endLineNumber:Bt.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},Jt=Wt.getLineContent(Bt.lineNumber).substring(te.startColumn-2,te.endColumn);return{suggestions:[...kt.keywords.map(Ie=>({label:Ie,kind:$t.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ge})),...kt.quickKey.map(Ie=>({label:Ie.label,kind:$t.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:Jt.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ge}))]}}}),$t.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(Wt,Bt){var te=Wt.getWordUntilPosition(Bt),ge={startLineNumber:Bt.lineNumber,endLineNumber:Bt.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},Jt=Wt.getLineContent(Bt.lineNumber).substring(te.startColumn-2,te.endColumn);return{suggestions:[...pt.keywords.map(Ie=>({label:Ie,kind:$t.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ge})),...pt.quickKey.map(Ie=>({label:Ie.label,kind:$t.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:Jt.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ge}))]}}}),$t.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(Wt,Bt){var te=Wt.getWordUntilPosition(Bt),ge={startLineNumber:Bt.lineNumber,endLineNumber:Bt.lineNumber,startColumn:te.startColumn,endColumn:te.endColumn},Jt=Wt.getLineContent(Bt.lineNumber).substring(te.startColumn-2,te.endColumn);return{suggestions:[...St.keywords.map(Ie=>({label:Ie,kind:$t.languages.CompletionItemKind.Function,documentation:Ie,insertText:Ie,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ge})),...St.quickKey.map(Ie=>({label:Ie.label,kind:$t.languages.CompletionItemKind.Function,documentation:Ie.content,insertText:Jt.startsWith("#")?Ie.content.replace(/#/,""):Ie.content,insertTextRules:$t.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ge}))]}}})};const jt="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var Lt=Object.defineProperty,It=($t,he,ye)=>he in $t?Lt($t,he,{enumerable:!0,configurable:!0,writable:!0,value:ye}):$t[he]=ye,Ut=($t,he,ye)=>It($t,typeof he!="symbol"?he+"":he,ye);const Xt=class mw{constructor(he,ye,Qt){this.placeholder=he,this.editor=ye,this.monaco=Qt,ye.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return mw.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)}};Ut(Xt,"ID","editor.widget.placeholderHint");var Yt=Xt,Ht=Rt(96236),ne=Rt(8591),ae=Rt(6848),ve=Rt(89392),Kt=Rt(34604),re=Rt(56102),we=Object.defineProperty,Me=Object.defineProperties,ke=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,fe=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,_e=($t,he,ye)=>he in $t?we($t,he,{enumerable:!0,configurable:!0,writable:!0,value:ye}):$t[he]=ye,je=($t,he)=>{for(var ye in he||(he={}))fe.call(he,ye)&&_e($t,ye,he[ye]);if(me)for(var ye of me(he))pe.call(he,ye)&&_e($t,ye,he[ye]);return $t},He=($t,he)=>Me($t,ke(he)),Se=($t,he)=>{var ye={};for(var Qt in $t)fe.call($t,Qt)&&he.indexOf(Qt)<0&&(ye[Qt]=$t[Qt]);if($t!=null&&me)for(var Qt of me($t))he.indexOf(Qt)<0&&pe.call($t,Qt)&&(ye[Qt]=$t[Qt]);return ye},xe=($t,he,ye)=>new Promise((Qt,Wt)=>{var Bt=Jt=>{try{ge(ye.next(Jt))}catch(Ie){Wt(Ie)}},te=Jt=>{try{ge(ye.throw(Jt))}catch(Ie){Wt(Ie)}},ge=Jt=>Jt.done?Qt(Jt.value):Promise.resolve(Jt.value).then(Bt,te);ge((ye=ye.apply($t,he)).next())});function le($t){return/^\d+$/.test($t)?`${$t}px`:$t}function Ne(){}let se=!1;const Ae={"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 Xe($t=[]){let he=$t;if(Array.isArray($t)){for(let ye=0;ye<$t.length;ye++){let Qt=Ae[$t[ye]];if(Qt)return Qt}return he[0]}return Ae[he]||he}let Be=null;var Te=$t=>{var he=$t,{width:ye="100%",height:Qt="100%",value:Wt,language:Bt="javascript",style:te={},options:ge={},overrideServices:Jt={},theme:Ie="vs-dark",onEditBlur:Ue,isCopy:Je=!1,onSave:Ze,autoHeight:nn=!1,forbidCopy:fn=!1,onChange:An=Ne,editorDidMount:En=Ne,onFocus:Dn=Ne,onBreakPoint:ii=Ne,breakPointValue:mi=[],filename:Ti="educoder.txt",errorLine:Oi,errorContent:ki="",highlightLine:pi,openBreakPoint:Bi=!1,placeholder:Or=""}=he,yr=Se(he,["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 lr=(0,Ft.useRef)(),Si=(0,Ft.useRef)({}),ee=(0,Ft.useRef)(),Ds=(0,Ft.useRef)(),mr=(0,Ft.useRef)([]),ms=(0,Ft.useRef)(!1),Xs=(0,Ft.useRef)(),Do=(0,Ft.useRef)(),Oo=(0,Ft.useRef)(!1),[Gr,sa]=(0,Ft.useState)(!1);function dn(){let on;return lr.current&&(on=new ie.Z(Cn=>{for(let xi of Cn)(xi.target.offsetHeight>0||xi.target.offsetWidth>0)&&Si.current.instance.layout()}),on.observe(lr.current)),on}function en(){ne.ZP.warning({content:decodeURIComponent(jt),key:"monaco-editor-tip"})}const qe=()=>{let on=Si.current.instance;if(Wt!=null&&on&&Gr){const Cn=on.getModel();Cn&&Wt!==Cn.getValue()&&(se=!0,Cn.setValue(Wt),on.layout(),se=!1)}};(0,Ft.useEffect)(()=>{const on=Kt.Z.subscribe("formatDocument",Cn=>{var xi;let Zi=Si.current.instance;(xi=Zi==null?void 0:Zi.getAction)==null||xi.call(Zi,"editor.action.formatDocument").run()});return window.updateMonacoValue=Cn=>{An(Cn)},on},[]),(0,Ft.useEffect)(()=>{var on;let Cn=Si.current.instance;Ds.current&&clearTimeout(Ds.current),Ds.current=setTimeout(()=>{qe()},500),Wt&&(Wt!=null&&Wt.length)&&((on=Cn==null?void 0:Cn.updateOptions)==null||on.call(Cn,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(Wt.split(/\r\n|\r|\n/g).length))+3,5)}))},[Wt,Gr,Si.current]),(0,Ft.useEffect)(()=>{if(Oi&&Si.current&&Si.current.instance){let Cn=Si.current.instance;Cn.changeViewZones(function(xi){var Zi=document.createElement("div");Zi.style.padding="10px 20px",Zi.style.width="calc(100% - 20px)",Zi.className="my-error-line-wrp",Zi.innerHTML=ki,xi.addZone({afterLineNumber:Oi||11,heightInLines:3,domNode:Zi})});var on={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}};Cn.addOverlayWidget(on),Cn.revealPositionInCenter({lineNumber:20,column:1})}},[Oi,Si.current,Gr]);const zn=(on="",Cn)=>{if(!on||on.trim()==="")return!0;const Zi=Si.current.instance.getModel().getLineTokens(Cn);let Wi=!1;for(let oi=0;oi<2;oi++)Zi.getStandardTokenType(oi)===1&&(Wi=!0);return Wi};(0,Ft.useEffect)(()=>{var on;const Cn=(on=Si.current)==null?void 0:on.instance;if(Cn&&Gr&&fn){const xi=Cn.onDidBlurEditorWidget(()=>{Oo.current=!1}),Zi=Cn.onDidFocusEditorText(()=>{Oo.current=!0});return()=>{xi.dispose(),Zi.dispose()}}},[Si.current,Gr,fn]),(0,Ft.useEffect)(()=>{var on;if((on=Si.current)!=null&&on.instance&&Gr&&Bi){let Cn=Si.current.instance,xi=Cn.getModel();if(!xi)return;(()=>{var Mi;let sn=[],On=[];const Qn=xi.getAllDecorations();for(let ei of Qn)ei.options.className==="highlighted-line"&&(sn.push((Mi=ei==null?void 0:ei.range)==null?void 0:Mi.startLineNumber),On.push(ei==null?void 0:ei.id));if(pi===sn[0])return;xi.deltaDecorations(On,[]);const si=xi.getLineCount();pi&&pi<=si&&(Cn.deltaDecorations([],[{range:new Be.Range(pi,1,pi,xi.getLineMaxColumn(pi)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Cn.revealLineInCenter(pi))})();const Wi=(Mi=!1)=>{var sn;let On=[],Qn=[];const si=xi.getAllDecorations();for(let ei of si)ei.options.linesDecorationsClassName==="breakpoints-select"&&(On.push((sn=ei==null?void 0:ei.range)==null?void 0:sn.startLineNumber),Qn.push(ei==null?void 0:ei.id));if(Mi)return{lines:On,ids:Qn};ii(On)},oi=Mi=>xe(void 0,null,function*(){let sn={range:new Be.Range(Mi,1,Mi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield xi.deltaDecorations([],[sn]),Wi()}),ri=Mi=>xe(void 0,null,function*(){let sn=[];const On=Cn.getLineDecorations(Mi);for(let Qn of On)Qn.options.linesDecorationsClassName==="breakpoints-select"&&sn.push(Qn.id);yield xi.deltaDecorations(sn,[]),Wi()}),Zn=Mi=>{let sn=Cn.getLineDecorations(Mi);for(let On of sn)if(On.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,ve.isEqual)(mi,Wi(!0).lines)){xi.deltaDecorations(Wi(!0).ids,[]);const Mi=mi.map(sn=>({range:new Be.Range(sn,1,sn,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));xi.deltaDecorations([],Mi)}const ur=Cn.onDidChangeModelContent(Mi=>{let sn=Cn.getPosition();if(sn){let On=sn.lineNumber;clearTimeout(Do.current),Do.current=setTimeout(()=>{zn(xi.getLineContent(On),On)?ri(On):Zn(On)?(ri(On),oi(On)):Wi()},100)}}),Yr=Cn.onMouseDown(Mi=>{var sn,On,Qn;if(Mi.target.detail&&((Qn=(On=(sn=Mi.target)==null?void 0:sn.element)==null?void 0:On.className)!=null&&Qn.includes("line-numbers"))){let si=Mi.target.position.lineNumber;if(zn(xi.getLineContent(si),si))return;Zn(si)?ri(si):oi(si)}}),br=Mi=>{let sn={range:new Be.Range(Mi,1,Mi,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};mr.current=Cn.deltaDecorations(mr.current,[sn])},mn=()=>{mr.current=Cn.deltaDecorations(mr.current,[])},er=Cn.onMouseMove(Mi=>{var sn,On,Qn;if(mn(),Mi.target.detail&&((Qn=(On=(sn=Mi.target)==null?void 0:sn.element)==null?void 0:On.className)!=null&&Qn.includes("line-numbers"))){let si=Mi.target.position.lineNumber;if(zn(xi.getLineContent(si),si))return;br(si)}}),cr=Cn.onMouseLeave(()=>{mn()});return()=>{ur.dispose(),Yr.dispose(),er.dispose(),cr.dispose()}}},[Si.current,Gr,mi,pi,Bi,Bt]),(0,Ft.useEffect)(()=>{var on;(on=Si.current)!=null&&on.instance&&Bi&&Si.current.instance.setPosition({lineNumber:0,column:0})},[pi]);function Jn(){let on=Si.current.instance;if(on){const Cn=on.getSelection(),xi=Si.current.pastePos||{},Zi=new Be.Range(xi.startLineNumber||Cn.endLineNumber,xi.startColumn||Cn.endColumn,xi.endLineNumber||Cn.endLineNumber,xi.endColumn||Cn.endColumn);setTimeout(()=>{on.executeEdits("",[{range:Zi,text:""}])},300)}}function hi(on){(window.navigator.platform.match("Mac")?on.metaKey:on.ctrlKey)&&on.keyCode==83&&(on.preventDefault(),Ze())}const bn=()=>{if(nn&&Si.current.instance){const on=Si.current.instance.getContentHeight();ti(on{if(!Oo.current)return;const{keyCode:Cn,ctrlKey:xi,metaKey:Zi,target:Wi,type:oi}=on;return(oi==="paste"||(Cn===67||Cn===86)&&(Zi||xi))&&Wi.nodeName==="TEXTAREA"&&(en(),on.preventDefault()),!1};function dr(on,Cn){var xi=window.URL||window.webkitURL||window,Zi=new Blob([Cn]),Wi=document.createElementNS("http://www.w3.org/1999/xhtml","a");Wi.href=xi.createObjectURL(Zi),Wi.download=on,Bn(Wi)}(0,Ft.useEffect)(()=>{bn()},[bn]),(0,Ft.useEffect)(()=>{lr.current&&!Gr&&Promise.all([Rt.e(8909),Rt.e(3267)]).then(Rt.bind(Rt,71448)).then(on=>{try{Be=on,Si.current.instance=Be.editor.create(lr.current,{value:Wt,language:Xe(Bt),theme:Ie,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},Jt);const Cn=Si.current.instance;let Wi=[...Ht.BH._menuItems].find(ur=>ur[0]._debugName=="EditorContext")[1],oi=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],ri=(ur,Yr)=>{var br,mn;let er=ur._first;do Yr.includes((mn=(br=er.element)==null?void 0:br.command)==null?void 0:mn.id)&&ur._remove(er);while(er=er.next)};if(En(Cn,Be),setTimeout(()=>{bn(),Si.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{dr(Ti||"educoder.txt",Cn.getValue())}})},500),Si.current.subscription=Cn.onDidChangeModelContent(ur=>{ms.current?clearTimeout(Xs.current):(bn(),An(Cn.getValue(),ur)),Xs.current=setTimeout(()=>{ms.current=!1},500)}),window.Monaco||Mt(Be,Xe(Bt)),fn&&(ri(Wi,oi),lr.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",Xi),window.removeEventListener("paste",Xi),window.addEventListener("keydown",Xi),window.addEventListener("paste",Xi)),window.Monaco=Be,Ue&&Cn.onDidBlurEditorWidget(()=>{Ue(Cn.getValue())}),Dn&&Cn.onDidFocusEditorText(()=>{Dn(Cn.getValue())}),fn)try{Cn.onDidPaste(ur=>{const Yr=Cn.getSelection(),br=Si.current.pastePos||{},mn=new Be.Range(br.startLineNumber||Yr.endLineNumber,br.startColumn||Yr.endColumn,br.endLineNumber||Yr.endLineNumber,br.endColumn||Yr.endColumn);Cn.executeEdits("",[{range:ur.range,text:""}])})}catch(ur){}let Zn=dn();return Or&&typeof Or=="string"&&new Yt(Or,Cn,Be),sa(!0),()=>{const ur=Si.current.instance;ur.dispose();const Yr=ur.getModel();Yr&&Yr.dispose(),Si.current.subscription&&Si.current.subscription.dispose(),Zn.unobserve(lr.current)}}catch(Cn){}})},[]),(0,Ft.useEffect)(()=>{if(Si.current.instance&&Gr)return document.addEventListener("keydown",hi,!1),()=>{document.removeEventListener("keydown",hi)}},[Ze,Gr]),(0,Ft.useEffect)(()=>{let on=Si.current.instance;if(on&&Gr){let Cn=Xe(Bt);Be.editor.setModelLanguage(on.getModel(),Cn)}},[Bt,Gr]),(0,Ft.useEffect)(()=>{Si.current.instance&&Gr&&Be.editor.setTheme(Ie)},[Ie,Gr]),(0,Ft.useEffect)(()=>{let on=Si.current.instance;ee.current=ge,on&&Gr&&(on.updateOptions(je({},ge)),setTimeout(()=>{on.getModel().updateOptions(je({},ge))},200))},[JSON.stringify(ge),Gr]),(0,Ft.useEffect)(()=>{let on=Si.current.instance;on&&Gr&&on.layout()},[ye,Qt,Gr]);const[ir,We]=(0,Ft.useState)(le(ye)),[Nn,ti]=(0,Ft.useState)(le(Qt)),pr=He(je({},te),{width:ir,height:Nn,position:"relative"});return Ft.createElement("div",{className:"my-monaco-editor",ref:lr,style:pr},Je&&Ft.createElement(re.CopyToClipboard,{text:Wt,onCopy:()=>ne.ZP.success("\u590D\u5236\u6210\u529F")},Ft.createElement(ae.Z,{title:"\u590D\u5236\u4EE3\u7801"},Ft.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},Ft.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function ue({width:$t="100%",height:he="100%",original:ye,modified:Qt,language:Wt,options:Bt={}}){const te=(0,Ft.useRef)(),[ge,Jt]=(0,Ft.useState)(null);function Ie(nn){let fn;return te.current&&(fn=new ie.Z(An=>{for(let En of An)(En.target.offsetHeight>0||En.target.offsetWidth>0)&&nn.layout()}),fn.observe(te.current)),fn}(0,Ft.useEffect)(()=>(te.current&&Promise.all([Rt.e(8909),Rt.e(9404)]).then(Rt.bind(Rt,2550)).then(nn=>{Be=nn;const fn=Be.editor.createDiffEditor(te.current,He(je({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},Bt),{wordWrap:!0}));Jt(fn);let An=Ie(fn);return()=>{fn.dispose();const En=fn.getModel();En&&En.dispose(),An.unobserve(te.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,Ft.useEffect)(()=>{ge&&ge.setModel({original:Be.editor.createModel(ye,Wt),modified:Be.editor.createModel(Qt,Wt)})},[ye,Qt,Wt,ge]);const Ue=le($t),Je=le(he),Ze={width:Ue,height:Je};return Ft.createElement("div",{className:"my-diff-editor",ref:te,style:Ze})}},16869:function(tn,Ke,Rt){"use strict";var Ft=Rt(38476),ie=Rt(57809),rt=Rt(78673),kt=Rt(59301);const Ct=ie.default.Option;Ke.Z=({isTheoretical:St,onFontSizeChange:pt,cmFontSize:vt,cmCodeMode:yt,autoFormat:xt,onCodeModeChange:dt,onTabToSpace:ft,onAutoFormat:ct,formatDocument:lt,className:E="",tabToSpace:z,children:ot,code_editor:it,challenge:at})=>{const ut={1:"\u7B80\u5355",2:"\u4E2D\u7B49",3:"\u56F0\u96BE"};return kt.createElement("div",{className:`tpi-code-setting ${E}`},kt.createElement("h3",null,"\u4EE3\u7801\u683C\u5F0F"),kt.createElement("section",null,kt.createElement("div",{className:"file-item"},kt.createElement("b",null,"\u663E\u793A\u6A21\u5F0F"),kt.createElement(ie.default,{bordered:!1,size:"small",value:yt,onChange:dt},kt.createElement(Ct,{value:"vs"},"\u767D\u8272\u80CC\u666F"),kt.createElement(Ct,{value:"vs-dark"},"\u9ED1\u8272\u80CC\u666F"))),!St&&kt.createElement(kt.Fragment,null,kt.createElement("div",{className:"file-item"},kt.createElement("b",null,"\u5B57\u4F53\u5927\u5C0F"),kt.createElement(ie.default,{bordered:!1,size:"small",value:vt,onChange:pt},kt.createElement(Ct,{value:12},"12px"),kt.createElement(Ct,{value:14},"14px"),kt.createElement(Ct,{value:16},"16px"),kt.createElement(Ct,{value:18},"18px"),kt.createElement(Ct,{value:20},"20px"),kt.createElement(Ct,{value:22},"22px"))),kt.createElement("div",{className:"file-item"},kt.createElement("b",null,"Tab\u8F6C\u6362"),kt.createElement(rt.Z,{checked:z,onChange:ft})),kt.createElement("div",{className:"file-item",onClick:lt},kt.createElement("b",{style:{cursor:"pointer"}},"\u683C\u5F0F\u5316\u4EE3\u7801")))),!St&&kt.createElement(kt.Fragment,null,kt.createElement("h3",null,"\u5FEB\u6377\u952E"),kt.createElement("section",null,kt.createElement("div",{className:"file-item"},kt.createElement("b",null,"\u4FDD\u5B58\u4EE3\u7801"),kt.createElement("span",null,"Ctrl + S")),kt.createElement("div",{className:"file-item"},kt.createElement("b",null,"\u5524\u51FA\u5FEB\u6377\u952E\u5217\u8868"),kt.createElement("span",null,"F1 / Alt + F1")),kt.createElement("div",{className:"file-item"},kt.createElement("b",null,"\u5DE6\u53F3\u7F29\u8FDB"),kt.createElement("span",null,"Ctrl + ]/[")),kt.createElement("div",{className:"file-item"},kt.createElement("b",null,"\u8DF3\u5230\u5339\u914D\u7684\u62EC\u53F7"),kt.createElement("span",null,"Ctrl + Shift + \\")),kt.createElement("div",{className:"file-item"},kt.createElement("b",null,"\u8F6C\u5230\u884C\u9996"),kt.createElement("span",null,"Home")),kt.createElement("div",{className:"file-item"},kt.createElement("b",null,"\u8F6C\u5230\u884C\u5C3E"),kt.createElement("span",null,"End"))),ot),!St&&kt.createElement(kt.Fragment,null,kt.createElement("h3",null,"\u5FEB\u6377\u952E"),kt.createElement("section",null,kt.createElement("div",{className:"file-item"},kt.createElement("b",null,"\u5B9E\u8BAD\u96BE\u6613\u5EA6"),kt.createElement("span",null,ut[at==null?void 0:at.difficulty])),kt.createElement("div",{className:"file-item"},kt.createElement("b",null,"\u5B9E\u9A8C\u73AF\u5883"),kt.createElement("span",null,it==null?void 0:it.name)),kt.createElement("div",{className:"file-item"},kt.createElement("b",null,"\u5B9E\u9A8C\u5BB9\u5668\u7F51\u7EDC"),kt.createElement("span",null,it!=null&&it.close_internet?"\u5173\u95ED\u5916\u7F51":"\u5F00\u542F\u5916\u7F51")))))}},58856:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{Z:function(){return ie}});var Ft=Rt(59301);function ie(rt,kt){const Ct=(0,Ft.useRef)();(0,Ft.useEffect)(()=>{Ct.current=rt}),(0,Ft.useEffect)(()=>{function St(){Ct.current()}if(kt!==null){let pt=setInterval(St,kt);return()=>clearInterval(pt)}},[kt])}},31947:function(tn,Ke,Rt){"use strict";var Ft=Rt(59301),ie=Rt(31797),rt=Rt(5871),kt=Rt(78241),Ct=Rt(43418),St=Rt(71418),pt=Rt(1710),vt=Rt(92832),yt=Rt(95237),xt=Rt(43604),dt=Rt(3113),ft=Rt(94941),ct=Rt(61186),lt=Rt.n(ct),E=Rt(89070),z=Rt(955),ot=Rt(16209),it=Rt(24065),at=Rt(83312),ut=Rt(59301),wt=(Mt,jt,Lt)=>new Promise((It,Ut)=>{var Xt=Ht=>{try{Yt(Lt.next(Ht))}catch(ne){Ut(ne)}},Gt=Ht=>{try{Yt(Lt.throw(Ht))}catch(ne){Ut(ne)}},Yt=Ht=>Ht.done?It(Ht.value):Promise.resolve(Ht.value).then(Xt,Gt);Yt((Lt=Lt.apply(Mt,jt)).next())});const{Countdown:Et}=ie.default,At=({value:Mt,onChange:jt,MaxMinutes:Lt})=>ut.createElement(ut.Fragment,null,ut.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",ut.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",ut.createElement("br",null)),ut.createElement(rt.Z,{value:Mt,onChange:jt,min:0,precision:0,max:Lt,style:{width:"100%"},placeholder:`\u6700\u5927\u53EF\u5EF6\u957F\u65F6\u95F4\u4E3A${Lt}\u5206\u949F\uFF0C\u5728\u5B66\u751F\u5269\u4F59\u65F6\u95F4\u57FA\u7840\u4E0A\u5EF6\u65F6`,addonAfter:"\u5206\u949F"})),_t=({exercise:Mt,successCb:jt,dispatch:Lt})=>{var It,Ut,Xt,Gt;const Yt=(0,E.useParams)(),[Ht]=kt.default.useForm(),ne=kt.default.useWatch("time",Ht),[ae,ve]=(0,Ft.useState)(!1),Kt=(0,Ft.useRef)(),{actionTabs:re}=Mt,[we,Me]=(0,Ft.useState)(),[,ke,me,fe]=(0,at.U)(ft.n7,{id:Yt.categoryId}),[,pe,_e]=(0,at.U)(ft.Cd,{});(0,Ft.useEffect)(()=>{Mt.actionTabs.key==="student-unlock"&&(ve(!1),Ht.resetFields())},[Mt.actionTabs.key]);const je=()=>new Promise(Be=>wt(void 0,null,function*(){var Te,ue;return Kt.current=yield(0,ot.y)({ip_limit:(Te=re==null?void 0:re.exerciseParams)==null?void 0:Te.ip_limit,ip_bind:(ue=re==null?void 0:re.exerciseParams)==null?void 0:ue.ip_bind_type}),Be()})),He=()=>wt(void 0,null,function*(){var Be,Te,ue,$t,he;yield Ht.validateFields();const ye=Ht.getFieldsValue();if(ve(!0),(((Be=re==null?void 0:re.exerciseParams)==null?void 0:Be.ip_limit)!=="no"||(Te=re==null?void 0:re.exerciseParams)!=null&&Te.ip_bind_type)&&(yield je()),(yield(0,ft.ZD)((ue=re==null?void 0:re.exerciseParams)==null?void 0:ue.id,{exercise_user_id:($t=re==null?void 0:re.exerciseParams)==null?void 0:$t.exercise_user_id,unlock_key:ye.unlock_key,time:ye.time,ip:Kt.current})).status===0){if(jt){Lt({type:"exercise/setActionTabs",payload:{}}),jt();return}const Wt=re==null?void 0:re.exerciseParams;(0,z.nr)({inner_ip:Wt.inner_ip,public_ip:Wt.public_ip,open_camera:Wt.open_camera,ip_limit:Wt.ip_limit,ip_bind:Wt.ip_bind,ip_bind_type:Wt.ip_bind_type,exercise_tips:Wt.exercise_tips,exerciseId:Wt.id,screen_open:Wt.screen_open,screen_num:Wt.screen_num,screen_sec:Wt.screen_sec,coursesId:Yt.coursesId,login:(he=(0,it.eY)())==null?void 0:he.login,history,identity_verify:Wt.identity_verify,open_phone_video_recording:Wt.open_phone_video_recording,current_status:Wt.current_status}),Lt({type:"exercise/setActionTabs",payload:{}})}ve(!1)}),Se=[{title:"IP\u5730\u5740",dataIndex:"ip",key:"ip",render:Be=>ut.createElement("span",{className:Be.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Be)},{title:"\u6D4F\u89C8\u5668",dataIndex:"browser",key:"browser",render:Be=>ut.createElement("span",{className:Be.indexOf("\u5F02\u5E38")>-1?"c-red":"c-green"},Be)},{title:"\u4E0A\u6B21\u767B\u5F55\u65F6\u95F4",dataIndex:"last_login_time",key:"last_login_time"}],xe=((It=re==null?void 0:re.exerciseParams)==null?void 0:It.errorMessage)&&typeof((Ut=re==null?void 0:re.exerciseParams)==null?void 0:Ut.errorMessage)=="object";(0,Ft.useEffect)(()=>{Mt.actionTabs.key==="student-unlock"&&wt(void 0,null,function*(){const Be=yield _e(Yt);yield me({}),Be.status||Me(Be)})},[Mt.actionTabs.key]);const{time:le,end_time:Ne}=(we==null?void 0:we.exercise)||{},se=fe!=null&&fe.user_end_time?lt()(fe==null?void 0:fe.user_end_time).add(1,"minutes"):lt()(),Ae=lt()(fe==null?void 0:fe.user_total_end_time)>se?Math.round(lt().duration(lt()(fe==null?void 0:fe.user_total_end_time).diff(se.startOf("minute"))).asMinutes()):0,Xe=((fe==null?void 0:fe.student_left_minutes)||0)+(ne||0);return ut.createElement(ut.Fragment,null,ut.createElement(Ct.default,{width:514,centered:!0,closable:!!((Xt=re==null?void 0:re.exerciseParams)!=null&&Xt.unlockClose),maskClosable:!1,keyboard:!1,maskStyle:{background:"#000"},title:"\u63D0\u793A",open:Mt.actionTabs.key==="student-unlock",footer:null,onCancel:()=>{Lt({type:"exercise/setActionTabs",payload:{}})}},ut.createElement(St.Z,{spinning:ke||pe},xe&&ut.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 "),!xe&&ut.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"),xe&&ut.createElement(pt.default,{className:"mb20",pagination:{hideOnSinglePage:!0},dataSource:[((Gt=re==null?void 0:re.exerciseParams)==null?void 0:Gt.errorMessage)||{}],columns:Se}),ut.createElement("div",{className:""},ut.createElement(kt.default,{form:Ht,layout:"vertical",autoComplete:"off"},ut.createElement(kt.default.Item,{label:"\u8003\u8BD5\u89E3\u9501\u7801",name:"unlock_key",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801"}]},ut.createElement(vt.default.Password,{autoComplete:"off",placeholder:"\u8BF7\u8F93\u5165\u8003\u8BD5\u89E3\u9501\u7801",visibilityToggle:!1})),le!==-1?ut.createElement(ut.Fragment,null,ut.createElement(kt.default.Item,{name:"time",label:ut.createElement("span",null,"\u5EF6\u957F\u65F6\u95F4\uFF08",ut.createElement("span",{style:{color:"#9096A3"}},"\u5F53\u524D\u8003\u8BD5\u622A\u6B62\u65F6\u95F4",lt()(fe==null?void 0:fe.user_total_end_time).format("YYYY-MM-DD HH:mm")),"\uFF09")},ut.createElement(At,{MaxMinutes:Ae})),ut.createElement("div",{className:"mb20",style:{color:"#FA6400"}},"\u8BE5\u5B66\u751F\u5269\u4F59\u8003\u8BD5\u65F6\u95F4\uFF1A",ut.createElement("span",{className:"ml5"},ke||pe?"--":Xe),"\u5206\u949F",Xe!==0&&(fe==null?void 0:fe.user_end_time)&&ut.createElement("span",null,"\uFF0C\u4EA4\u5377\u622A\u6B62\u65F6\u95F4\uFF1A",ut.createElement("span",{className:"ml5"},lt()(fe==null?void 0:fe.user_end_time).add(ne||0,"m").format("YYYY-MM-DD HH:mm:ss"))))):ut.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 ",lt()(Ne).format("YYYY-MM-DD HH:mm")))),ut.createElement(yt.Z,{justify:"space-between",align:"middle"},ut.createElement(xt.Z,null),ut.createElement(xt.Z,null,ut.createElement(dt.ZP,{loading:ae,onClick:He},"\u8FDB\u5165\u8003\u8BD5"))))))};Ke.Z=(0,E.connect)(({exercise:Mt})=>({exercise:Mt}))(_t)},34362:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{Z:function(){return ct}});var Ft=Rt(59301),ie=Rt(8591),rt=Rt(6848),kt=Rt(71418),Ct=Rt(95237),St=Rt(43604),pt=Rt(58421),vt=Rt(3113),yt=Rt(12290),xt=Rt(99064),dt=Rt(85149),ft=(E,z,ot)=>new Promise((it,at)=>{var ut=At=>{try{Et(ot.next(At))}catch(_t){at(_t)}},wt=At=>{try{Et(ot.throw(At))}catch(_t){at(_t)}},Et=At=>At.done?it(At.value):Promise.resolve(At.value).then(ut,wt);Et((ot=ot.apply(E,z)).next())}),ct=({id:E,activeDiscussIndex:z,onReplyDiscuss:ot,adminOrOperator:it})=>{const[at,ut]=(0,Ft.useState)(""),[wt,Et]=(0,Ft.useState)(!1);function At(Mt){ut(Mt)}function _t(){if(!at){ie.ZP.info("\u56DE\u590D\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A!");return}ot(E,at),ut("")}return(0,Ft.useEffect)(()=>{z!=E&&Et(!1)},[z]),Ft.createElement("div",{key:E,className:"discuss-item-editor",style:{display:z===E?"block":"none",width:"100%"}},Ft.createElement(yt.Z,{miniToolbar:!0,startInit:z===E,defaultValue:at,id:E,noStorage:!0,watch:!1,height:155,placeholder:"\u6211\u8981\u56DE\u590D",showResizeBar:!0,onChange:At,extraUse:it&&Ft.createElement(rt.Z,{color:"#fff",open:wt,destroyTooltipOnHide:!0,title:lt({id:E,isOpen:wt,activeDiscussIndex:z,onChange:At,setIsOpen:Et}),overlayStyle:{maxWidth:600}},Ft.createElement("a",{title:wt?"\u5173\u95ED\u63A8\u8350":"\u6253\u5F00\u63A8\u8350",onClick:()=>Et(!wt)},Ft.createElement("i",{className:"iconfont icon-dianzan11"})))}),Ft.createElement("a",{onClick:_t,className:"btn-send"},"\u53D1\u9001"))};const lt=E=>{const[z,ot]=(0,Ft.useState)(!1),[it,at]=(0,Ft.useState)([]),[ut,wt]=(0,Ft.useState)(1);(0,Ft.useEffect)(()=>{E!=null&&E.isOpen?Et():(wt(1),at([]))},[E==null?void 0:E.isOpen]);const Et=()=>ft(void 0,null,function*(){ot(!0);const At=yield(0,xt.ZP)(`/api/discusses/${E==null?void 0:E.id}/recommend_answer.json`,{method:"get"});(At==null?void 0:At.status)==0&&at(At==null?void 0:At.answer),ot(!1)});return Ft.createElement(kt.Z,{spinning:z},Ft.createElement("div",{style:{color:"#000"}},Ft.createElement(dt.Z,{className:"font14",style:{maxHeight:500,overflow:"auto"},value:(it==null?void 0:it[ut-1])||""}),Ft.createElement(Ct.Z,{justify:"end",align:"middle"},Ft.createElement(St.Z,null,Ft.createElement(pt.Z,{simple:!0,current:ut,pageSize:1,total:(it==null?void 0:it.length)||0,onChange:At=>{wt(At)}})),Ft.createElement(St.Z,null,Ft.createElement(vt.ZP,{onClick:()=>ft(void 0,null,function*(){E==null||E.onChange(it==null?void 0:it[ut-1]),E==null||E.setIsOpen(!1)})},"\u586B\u5165\u6587\u672C\u6846")))))}},37518:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{CP:function(){return rt},_V:function(){return St}});var Ft=Rt(28209),ie=Rt.n(Ft);const rt={secret:Ft.enc.Utf8.parse("0a18e199b87f1a8d"),iv:Ft.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=="},kt={exam:rt};function Ct(pt="",vt="exam"){const{secret:yt,iv:xt}=kt[vt];return AES.encrypt(pt,yt,{iv:xt,mode:CryptoJS.mode.CBC,padding:CryptoJS.pad.Pkcs7}).toString()}function St(pt="",vt="exam"){const{secret:yt,iv:xt}=kt[vt];return Ft.AES.decrypt(pt,yt,{iv:xt,mode:ie().mode.CBC,padding:ie().pad.Pkcs7}).toString(Ft.enc.Utf8)}},4901:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{BU:function(){return ie},Dj:function(){return Ft},gH:function(){return rt},vp:function(){return kt}});function Ft(Ct){try{Ct.mozRequestFullScreen?Ct.mozRequestFullScreen():Ct.webkitRequestFullScreen&&Ct.webkitRequestFullScreen()}catch(St){console.log(St,":e")}}function ie(){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 rt=()=>{if(document.webkitExitFullscreen)return"webkitfullscreenchange";if(document.exitFullscreen)return"fullscreenchange";if(document.msExitFullscreen)return"msfullscreenchange";if(document.mozCancelFullScreen)return"mozfullscreenchange"};function kt(){var Ct=window.top.document.fullscreenElement||window.top.document.mozFullscreenElement||window.top.document.webkitFullscreenElement,St=document.fullscreenEnabled||document.mozFullscreenEnabled||document.webkitFullscreenEnabled;return console.log("fullscreenElement",Ct),window.isFullScreen?window.isFullScreen:Ct!=null}},83312:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{U:function(){return yt}});var Ft=Rt(59301),ie=Object.defineProperty,rt=Object.getOwnPropertySymbols,kt=Object.prototype.hasOwnProperty,Ct=Object.prototype.propertyIsEnumerable,St=(xt,dt,ft)=>dt in xt?ie(xt,dt,{enumerable:!0,configurable:!0,writable:!0,value:ft}):xt[dt]=ft,pt=(xt,dt)=>{for(var ft in dt||(dt={}))kt.call(dt,ft)&&St(xt,ft,dt[ft]);if(rt)for(var ft of rt(dt))Ct.call(dt,ft)&&St(xt,ft,dt[ft]);return xt},vt=(xt,dt,ft)=>new Promise((ct,lt)=>{var E=it=>{try{ot(ft.next(it))}catch(at){lt(at)}},z=it=>{try{ot(ft.throw(it))}catch(at){lt(at)}},ot=it=>it.done?ct(it.value):Promise.resolve(it.value).then(E,z);ot((ft=ft.apply(xt,dt)).next())});function yt(xt,dt){const[ft,ct]=(0,Ft.useState)(dt),[lt,E]=(0,Ft.useState)(!1),[z,ot]=(0,Ft.useState)();return[ft,lt,(at,ut=!1)=>vt(this,null,function*(){const wt=ut?dt:pt(pt({},ft),at);E(!0),ct(wt);const Et=yield xt(wt);return E(!1),ot(Et),Et}),z,ot]}},85219:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{_:function(){return rt}});var Ft=Rt(59301),ie=Rt(43418);const rt=kt=>{var Ct,St;const pt=(0,Ft.useRef)([]),vt=()=>{for(const yt of pt.current)clearTimeout(yt);pt.current=[]};return(0,Ft.useEffect)(()=>{var yt,xt,dt,ft,ct,lt;if(vt(),(yt=kt==null?void 0:kt.exercise)!=null&&yt.left_time&&((dt=(xt=kt==null?void 0:kt.exercise)==null?void 0:xt.exercise_events)==null?void 0:dt.length)>0){for(const E of(ft=kt==null?void 0:kt.exercise)==null?void 0:ft.exercise_events)if(((ct=kt==null?void 0:kt.exercise)==null?void 0:ct.left_time)>(E==null?void 0:E.reminder_time)*60){let z=(((lt=kt==null?void 0:kt.exercise)==null?void 0:lt.left_time)-(E==null?void 0:E.reminder_time)*60)*1e3;z=z>2147483647?2147483647:z;const ot=setTimeout(()=>{ie.default.info({content:`${E==null?void 0:E.reminder_content}`,icon:null,title:"\u63D0\u793A",centered:!0,okText:"\u77E5\u9053\u4E86"})},z);pt.current.push(ot)}}},[(Ct=kt==null?void 0:kt.exercise)==null?void 0:Ct.left_time,(St=kt==null?void 0:kt.exercise)==null?void 0:St.exercise_events]),vt}},24768:function(tn,Ke,Rt){"use strict";Rt.d(Ke,{AL:function(){return wt},Iy:function(){return dt},Qv:function(){return lt},ez:function(){return ut},jb:function(){return ft}});var Ft=Rt(32834),ie=Rt.n(Ft),rt=Rt(11690),kt=Rt.n(rt);let Ct=1;function St(jt,Lt){const It=jt.match(/^(\s+)(?:```)/);if(It===null)return Lt;const Ut=It[1];return Lt.split(` `).map(Xt=>{const Gt=Xt.match(/^\s+/);if(Gt===null)return Xt;const[Yt]=Gt;return Yt.length>=Ut.length?Xt.slice(Ut.length):Xt}).join(` `)}let pt=[],vt=["