(self.webpackChunk=self.webpackChunk||[]).push([[2862],{33463:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return re}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ae,Te){return te.createElement(Fe.Z,(0,ee.Z)({},Ae,{ref:Te,icon:De}))},re=te.forwardRef(Le)},28575:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return re}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ae,Te){return te.createElement(Fe.Z,(0,ee.Z)({},Ae,{ref:Te,icon:De}))},re=te.forwardRef(Le)},84249:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return re}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ae,Te){return te.createElement(Fe.Z,(0,ee.Z)({},Ae,{ref:Te,icon:De}))},re=te.forwardRef(Le)},81893:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return re}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ae,Te){return te.createElement(Fe.Z,(0,ee.Z)({},Ae,{ref:Te,icon:De}))},re=te.forwardRef(Le)},90674:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return re}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 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:"download",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ae,Te){return te.createElement(Fe.Z,(0,ee.Z)({},Ae,{ref:Te,icon:De}))},re=te.forwardRef(Le)},73148:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return re}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ae,Te){return te.createElement(Fe.Z,(0,ee.Z)({},Ae,{ref:Te,icon:De}))},re=te.forwardRef(Le)},56747:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return re}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ae,Te){return te.createElement(Fe.Z,(0,ee.Z)({},Ae,{ref:Te,icon:De}))},re=te.forwardRef(Le)},50881:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return re}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ae,Te){return te.createElement(Fe.Z,(0,ee.Z)({},Ae,{ref:Te,icon:De}))},re=te.forwardRef(Le)},22751:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return re}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ae,Te){return te.createElement(Fe.Z,(0,ee.Z)({},Ae,{ref:Te,icon:De}))},re=te.forwardRef(Le)},34182:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return re}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ae,Te){return te.createElement(Fe.Z,(0,ee.Z)({},Ae,{ref:Te,icon:De}))},re=te.forwardRef(Le)},74664:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return re}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ae,Te){return te.createElement(Fe.Z,(0,ee.Z)({},Ae,{ref:Te,icon:De}))},re=te.forwardRef(Le)},91034:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return re}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ae,Te){return te.createElement(Fe.Z,(0,ee.Z)({},Ae,{ref:Te,icon:De}))},re=te.forwardRef(Le)},71736:function(Ve,mt){"use strict";mt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},45954:function(){"use strict"},18023:function(){"use strict";function Ve(se,y,a,b){a===void 0&&(a=0),b===void 0&&(b=1/0),this._name=se,this._defaultValue=y,this._minimum=a,this._maximum=b}Object.defineProperty(Ve.prototype,"name",{get:function(){return this._name},set:function(se){if(typeof se!="string"||se==="")throw new Error("Shape name must be a valid string.");this._name=se}}),Object.defineProperty(Ve.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("The default value must be a real number, not: "+se);this._defaultValue=se}}),Object.defineProperty(Ve.prototype,"minimum",{get:function(){return this._minimum},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("Minimum must be a real number, not: "+se);this._minimum=se}}),Object.defineProperty(Ve.prototype,"maximum",{get:function(){return this._maximum},set:function(se){if(typeof se!="number"||isNaN(se))throw new Error("Maximum must be a real number, not: "+se);this._maximum=se}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(se,y){var a=go.Shape._FigureParameters[se];return a?a[y]:null},go.Shape.setFigureParameter=function(se,y,a){if(!(a instanceof Ve))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValuea.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var b=go.Shape._FigureParameters[se];b||(b=[],go.Shape._FigureParameters[se]=b),b[y]=a};var mt=[];function ne(se,y){var a=mt.pop();return a===void 0?new go.Point(se,y):(a.x=se,a.y=y,a)}function ee(){var se=mt.pop();return se===void 0?new go.Point:se}function te(se){mt.push(se)}function be(se,y,a,b,E,x,z,ae,oe){oe||(oe=new go.Point);var le=se-a,de=E-z,ce=NaN,Se=NaN;if(le===0)if(de===0)se===a&&(ce=se,Se=y);else{var ve=(x-ae)/de,Ce=x-ve*E;ce=se,Se=ve*ce+Ce}else if(de===0){var pe=(y-b)/le,At=y-pe*se;ce=E,Se=pe*ce+At}else{var pe=(y-b)/le,ve=(x-ae)/de,At=y-pe*se,Ce=x-ve*E;ce=(Ce-At)/(pe-ve),Se=pe*ce+At}return oe.x=ce,oe.y=Se,oe}function De(se,y,a,b,E,x,z,ae,oe,le,de,ce,Se,ve){var Ce=1-oe,pe=oe,At=se*Ce+a*pe,st=y*Ce+b*pe,Vt=a*Ce+E*pe,et=b*Ce+x*pe,gt=E*Ce+z*pe,It=x*Ce+ae*pe,Zt=At*Ce+Vt*pe,Ht=st*Ce+et*pe,Ke=Vt*Ce+gt*pe,ht=et*Ce+It*pe,vn=Zt*Ce+Ke*pe,Nt=Ht*Ce+ht*pe;le.x=At,le.y=st,de.x=Zt,de.y=Ht,ce.x=vn,ce.y=Nt,Se.x=Ke,Se.y=ht,ve.x=gt,ve.y=It}var Fe=new go.Spot(.156,.156),Le=new go.Spot(.844,.844),re=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new Ve("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(se,y,a){var b=se?se.parameter1:NaN;(isNaN(b)||b<0)&&(b=5),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*re,x=new go.Geometry().add(new go.PathFigure(b,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)).add(new go.PathSegment(go.PathSegment.Line,y,a-b)).add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()));return E>1&&(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(se,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=a/2,b.endX=y,b.endY=a/2,b}),go.Shape.defineFigureGenerator("LineV",function(se,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y/2,b.startY=0,b.endX=y/2,b.endY=a,b}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(se,y,a){var b=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(b*y,(1-b)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(se,y,a){var b=y/2,E=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close()));return E.spot1=Fe,E.spot2=Le,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Line1",function(se,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}),go.Shape.defineFigureGenerator("Line2",function(se,y,a){var b=new go.Geometry(go.Geometry.Line);return b.startX=y,b.startY=0,b.endX=0,b.endY=a,b}),go.Shape.defineFigureGenerator("Curve1",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,re*y,0,y,(1-re)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,re*a,(1-re)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,re*a,re*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-re)*y,0,0,(1-re)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new Ve("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)?b=.1:b<-1?b=-1:b>1&&(b=1);var E=Math.abs(b)*y;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(b=y);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),E.5&&(b=.5);var E=Math.abs(b)*y;if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(b=y/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())),Ey&&(b=y/2);var E=Math.abs(b);if(b===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}else{var x=new go.Geometry;return b>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-E,a)).add(new go.PathSegment(go.PathSegment.Line,E,a).close())):x.add(new go.PathFigure(E,0).add(new go.PathSegment(go.PathSegment.Line,y-E,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),E0&&(z.add(new go.PathSegment(go.PathSegment.Move,y/2+ae,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,E,E,ae,ae).close())),x.spot1=Fe,x.spot2=Le,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(se,y,a){var b=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(b*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,b*a).close())).setSpots(b/2,b/2,1-b/2,1-b/2)}),go.Shape.setFigureParameter("Pie",0,new Ve("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new Ve("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(se,y,a){var b=se?se.parameter1:NaN,E=se?se.parameter2:NaN;isNaN(b)&&(b=0),isNaN(E)&&(E=315);var x=b%360;x<0&&(x+=360);var z=E%360,ae=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(ae,ae).add(new go.PathSegment(go.PathSegment.Arc,x,z,ae,ae,ae,ae).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(se,y,a){var b=re/Math.SQRT2*.5,E=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,E*y,x*a,y,(1-b)*a,(E+b)*y,(x+b)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new Ve("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(se,y,a){var b=se?se.parameter1:NaN;(isNaN(b)||b<0)&&(b=30);var E=Math.min(b,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThinCross",0,new Ve("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(se,y,a){var b=se?se.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=Math.min(b,y)/2,x=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(x-E,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+E,0)).add(new go.PathSegment(go.PathSegment.Line,x+E,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z-E)).add(new go.PathSegment(go.PathSegment.Line,y,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,z+E)).add(new go.PathSegment(go.PathSegment.Line,x+E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,a)).add(new go.PathSegment(go.PathSegment.Line,x-E,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z+E)).add(new go.PathSegment(go.PathSegment.Line,0,z-E)).add(new go.PathSegment(go.PathSegment.Line,x-E,z-E).close()))}),go.Shape.setFigureParameter("ThickX",0,new Ve("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(se,y,a){var b=se?se.parameter1:NaN;if((isNaN(b)||b<0)&&(b=30),y===0||a===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var x=y/2,z=a/2,ae=Math.atan2(a,y),oe=b-Math.min(Math.cos(ae)*b/2,x),le=b-Math.min(Math.sin(ae)*b/2,z),E=new go.Geometry,de=new go.PathFigure(oe,0,!0);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Line,x,.2*a)),de.add(new go.PathSegment(go.PathSegment.Line,y-oe,0)),de.add(new go.PathSegment(go.PathSegment.Line,y,le)),de.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,y,a-le)),de.add(new go.PathSegment(go.PathSegment.Line,y-oe,a)),de.add(new go.PathSegment(go.PathSegment.Line,x,.8*a)),de.add(new go.PathSegment(go.PathSegment.Line,oe,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,a-le)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,0,le).close()),E}}),go.Shape.setFigureParameter("ThinX",0,new Ve("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(se,y,a){var b=se?se.parameter1:NaN;(isNaN(b)||b<0)&&(b=10);var E=new go.Geometry,x=new go.PathFigure(.1*y,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),E}),go.Shape.setFigureParameter("SquareIBeam",0,new Ve("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+b/2)*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,(1-b)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-b/2)*y,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*a).close()),E}),go.Shape.setFigureParameter("RoundedIBeam",0,new Ve("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.5);var E=new go.Geometry,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-b)*y,.25*a,Math.abs(1-b)*y,.75*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E}),go.Shape.defineFigureGenerator("HalfEllipse",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,re*y,0,y,(.5-re/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+re/2)*a,re*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.4*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var x=.2,z=.3,ae=0,oe=x*re;return E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ae)*a,(.5-x+z)*y,(.5+oe+ae)*a,(.5-oe+z)*y,(.5+x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ae)*a,(.5+oe+z)*y,(.5+x+ae)*a,(.5+x+z)*y,(.5+oe+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ae)*a,(1-.5+x+z)*y,(.5-oe+ae)*a,(.5+oe+z)*y,(.5-x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-oe+z)*y,(.5-x+ae)*a,(.5-x+z+.05)*y,(.5-oe+ae-.02)*a)),x=.2,z=0,ae=-.3,oe=x*re,E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*y,(.5+ae)*a,(.5+oe+z)*y,(.5+x+ae)*a,(.5+x+z)*y,(.5+oe+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ae)*a,(1-.5+x+z)*y,(.5-oe+ae)*a,(.5+oe+z)*y,(.5-x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ae)*a,(.5-oe+z)*y,(.5-x+ae)*a,(.5-x+z)*y,(.5-oe+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+z)*y,(.5+x+ae)*a,(.5-x+z)*y,(.5+oe+ae)*a,(.5-oe+z)*y,(.5+x+ae)*a)),x=.2,z=-.3,ae=0,oe=x*re,E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-x+ae)*a,(1-.5+x+z-.05)*y,(.5-oe+ae-.02)*a,(.5+oe+z)*y,(.5-x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*y,(.5+ae)*a,(.5-oe+z)*y,(.5-x+ae)*a,(.5-x+z)*y,(.5-oe+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+x+ae)*a,(.5-x+z)*y,(.5+oe+ae)*a,(.5-oe+z)*y,(.5+x+ae)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+oe+z)*y,(.5+x+ae)*a,(.5+x+z)*y,(.5+oe+ae)*a).close()),b.setSpots(.06,.33,.93,.68),b}),go.Shape.defineFigureGenerator("YinYang",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),E.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var x=.1,z=.5,ae=.25;return E.add(new go.PathSegment(go.PathSegment.Move,(z+x)*y,ae*a)),E.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,a*ae,x*y,x*y).close()),E=new go.PathFigure(y*.5,0,!1),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),ae=.75,E=new go.PathFigure((z+x)*y,ae*a,!0),b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*ae,x*y,x*y).close()),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Peace",function(se,y,a){var b=.8535533905932737,E=.5*y,x=.5*a;return new go.Geometry().add(new go.PathFigure(E,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,E,x,E,x)).add(new go.PathSegment(go.PathSegment.Line,E,a)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,b*a)).add(new go.PathSegment(go.PathSegment.Move,E,x)).add(new go.PathSegment(go.PathSegment.Line,b*y,b*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(se,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=.5,ae=.5,oe=new go.PathFigure(z*y,(ae-x)*a);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),x=.4,E=re*.4;var le=ee(),de=ee(),ce=ee(),Se=ee();De(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.42,le,de,ce,Se,Se);var ve=ee(),Ce=ee(),pe=ee();De(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.58,Se,Se,pe,ve,Ce);var At=ee(),st=ee(),Vt=ee();De(z,ae+x,z-E,ae+x,z-x,ae+E,z-x,ae,.42,At,st,Vt,Se,Se);var et=ee(),gt=ee(),It=ee();return De(z,ae+x,z-E,ae+x,z-x,ae+E,z-x,ae,.58,Se,Se,It,et,gt),oe.add(new go.PathSegment(go.PathSegment.Move,It.x*y,It.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,et.x*y,et.y*a,gt.x*y,gt.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z-x)*y,(ae-E)*a,(z-E)*y,(ae-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ce.x*y,ce.y*a,le.x*y,le.y*a,de.x*y,de.y*a)),oe.add(new go.PathSegment(go.PathSegment.Line,It.x*y,It.y*a).close()),oe.add(new go.PathSegment(go.PathSegment.Move,Vt.x*y,Vt.y*a)),oe.add(new go.PathSegment(go.PathSegment.Line,pe.x*y,pe.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,ve.x*y,ve.y*a,Ce.x*y,Ce.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Vt.x*y,Vt.y*a,At.x*y,At.y*a,st.x*y,st.y*a).close()),te(le),te(de),te(ce),te(Se),te(ve),te(Ce),te(pe),te(At),te(st),te(Vt),te(et),te(gt),te(It),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Fragile",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new Ve("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(se,y,a){var b=se?se.parameter1:NaN;(isNaN(b)||b<0)&&(b=30),b>y&&(b=y);var E=(y-b)/2,x=E+b;return new go.Geometry().add(new go.PathFigure(x,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,E,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(se,y,a){var b=new go.Geometry,E=re*.4,x=.4,z=.5,ae=.5,oe=ee(),le=ee(),de=ee(),ce=ee(),Se=new go.PathFigure((z-x)*y,ae*a,!1);b.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z-x)*y,(ae-E)*a,(z-E)*y,(ae-x)*a)),De(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.44,de,ce,le,oe,oe),Se.add(new go.PathSegment(go.PathSegment.Bezier,le.x*y,le.y*a,de.x*y,de.y*a,ce.x*y,ce.y*a));var ve=ne(le.x,le.y);De(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.56,oe,oe,le,de,ce);var Ce=ne(le.x,le.y);Se.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*y,ve.y*.1*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*y,ve.y*.1*a)),Se.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Se.add(new go.PathSegment(go.PathSegment.Line,y,0)),Se.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Se.add(new go.PathSegment(go.PathSegment.Line,(Ce.x*.1+.9)*y,.15*a)),Se.add(new go.PathSegment(go.PathSegment.Line,(Ce.x*.1+.9)*y,(Ce.y*.1+.05*.9)*a)),Se.add(new go.PathSegment(go.PathSegment.Line,Ce.x*y,Ce.y*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,de.x*y,de.y*a,ce.x*y,ce.y*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae+x)*a,(z-x)*y,(ae+E)*a)),x=.35,E=re*.35;var pe=new go.PathFigure(z*y,(ae-x)*a,!1);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a));var At=new go.PathFigure((z-x)*y,ae*a,!1);return b.add(At),te(oe),te(le),te(de),te(ce),te(ve),te(Ce),b.spot1=new go.Spot(.202,.257),b.spot2=new go.Spot(.792,.739),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("GenderFemale",function(se,y,a){var b=new go.Geometry,E=.375,x=0,z=-.125,ae=E*re,oe=new go.PathFigure((.525+x)*y,(.5+E+z)*a,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*y,(.5+z)*a,(.5+ae+x)*y,(.5+E+z)*a,(.5+E+x)*y,(.5+ae+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-E+z)*a,(1-.5+E+x)*y,(.5-ae+z)*a,(.5+ae+x)*y,(.5-E+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ae+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ae+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*y,(.5+E+z)*a,(.5-E+x)*y,(.5+ae+z)*a,(.5-ae+x)*y,(.5+E+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),E=.325,x=0,z=-.125,ae=E*re;var oe=new go.PathFigure((1-.5+E+x)*y,(.5+z)*a,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5+E+z)*a,(.5+E+x)*y,(.5+ae+z)*a,(.5+ae+x)*y,(.5+E+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ae+x)*y,(.5+E+z)*a,(.5-E+x)*y,(.5+ae+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ae+z)*a,(.5-ae+x)*y,(.5-E+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+x)*y,(.5+z)*a,(.5+ae+x)*y,(.5-E+z)*a,(1-.5+E+x)*y,(.5-ae+z)*a));var oe=new go.PathFigure((.525+x)*y,(.5+E+z)*a,!1);return b.add(oe),b.spot1=new go.Spot(.232,.136),b.spot2=new go.Spot(.682,.611),b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicImplies",function(se,y,a){var b=se?se.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(se,y,a){var b=se?se.parameter1:NaN;return isNaN(b)&&(b=.2),new go.Geometry().add(new go.PathFigure((1-b)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,b*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,b*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(se,y,a){var b=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("LogicTruth",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(se,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,b*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(se,y,a){var b=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,b*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,b*y,b*a,b*y,b*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new Ve("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new Ve("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.3);var E=se?se.parameter2:NaN;isNaN(E)&&(E=.3);var x=(1-b)*y,z=(.5-E/2)*a,ae=(.5+E/2)*a,oe=new go.Geometry,le=new go.PathFigure(0,z,!0);oe.add(le),le.add(new go.PathSegment(go.PathSegment.Line,x,z)),le.add(new go.PathSegment(go.PathSegment.Line,x,0)),le.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,x,a)),le.add(new go.PathSegment(go.PathSegment.Line,x,ae)),le.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),oe.spot1=new go.Spot(0,z/a);var de=be(0,ae/a,1,ae/a,x/y,1,1,.5,ee());return oe.spot2=new go.Spot(de.x,de.y),te(de),oe}),go.Shape.setFigureParameter("Arrow2",0,new Ve("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new Ve("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=30),b>y&&(b=y);var E=se?se.parameter2:NaN;isNaN(E)&&(E=30),E=Math.min(E,a/2);var x=y-b,z=(a-E)/2,ae=z+E,oe=new go.Geometry,le=new go.PathFigure(0,z,!0);oe.add(le),le.add(new go.PathSegment(go.PathSegment.Line,x,z)),le.add(new go.PathSegment(go.PathSegment.Line,x,0)),le.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),le.add(new go.PathSegment(go.PathSegment.Line,x,a)),le.add(new go.PathSegment(go.PathSegment.Line,x,ae)),le.add(new go.PathSegment(go.PathSegment.Line,0,ae).close()),oe.spot1=new go.Spot(0,z/a);var de=be(0,ae/a,1,ae/a,x/y,1,1,.5,ee());return oe.spot2=new go.Spot(de.x,de.y),te(de),oe}),go.Shape.defineFigureGenerator("Chevron",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("DoubleArrow",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),b}),go.Shape.setFigureParameter("DoubleEndArrow",0,new Ve("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var oe=be(0,.5,.3,0,0,E/a,.1,E/a,ee());return z.spot1=new go.Spot(oe.x,oe.y),oe=be(.7,1,1,.5,0,x/a,1,x/a,oe),z.spot2=new go.Spot(oe.x,oe.y),te(oe),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new Ve("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new Ve("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=40);var E=se?se.parameter2:NaN;isNaN(E)&&(E=100);var x=(a-b)/2,z=x+b,ae=(a-E)/2,oe=ae+E;(b>a||E>a)&&(E>b?(b=b*a/E,x=(a-b)/2,z=x+b,ae=0,oe=a):(x=0,z=a,ae=0,oe=a));var le=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);le.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,oe)),de.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.3*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close());var ce=be(0,.5,.3,ae/a,0,x/a,1,x/a,ee());return le.spot1=new go.Spot(ce.x,ce.y),ce=be(.7,oe/a,1,.5,0,z/a,1,z/a,ce),le.spot2=new go.Spot(ce.x,ce.y),te(ce),le}),go.Shape.setFigureParameter("IBeamArrow",0,new Ve("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.3);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(0,E/a);var oe=be(.7,1,1,.5,0,x/a,1,x/a,ee());return z.spot2=new go.Spot(oe.x,oe.y),te(oe),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new Ve("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new Ve("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=40);var E=se?se.parameter2:NaN;isNaN(E)&&(E=100);var x=(a-b)/2,z=x+b,ae=(a-E)/2,oe=ae+E;(b>a||E>a)&&(E>b?(b=b*a/E,x=(a-b)/2,z=x+b,ae=0,oe=a):(x=0,z=a,ae=0,oe=a));var le=new go.Geometry,de=new go.PathFigure(y,.5*a,!0);le.add(de),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,oe)),de.add(new go.PathSegment(go.PathSegment.Line,0,oe)),de.add(new go.PathSegment(go.PathSegment.Line,0,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,ae)),de.add(new go.PathSegment(go.PathSegment.Line,.2*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),de.add(new go.PathSegment(go.PathSegment.Line,.7*y,ae).close()),le.spot1=new go.Spot(0,x/a);var ce=be(.7,oe/a,1,.5,0,z/a,1,z/a,ee());return le.spot2=new go.Spot(ce.x,ce.y),te(ce),le}),go.Shape.setFigureParameter("Pointer",0,new Ve("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),E.spot1=new go.Spot(b,.35);var z=be(.2,.65,1,.65,0,1,1,.5,ee());return E.spot2=new go.Spot(z.x,z.y),te(z),E}),go.Shape.setFigureParameter("RoundedPointer",0,new Ve("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.3);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,b*y,.75*a,b*y,.25*a).close()),E.spot1=new go.Spot(b,.35);var z=be(0,.65,1,.65,0,1,1,.5,ee());return E.spot2=new go.Spot(z.x,z.y),te(z),E}),go.Shape.setFigureParameter("SplitEndArrow",0,new Ve("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.4);var E=(.5-b/2)*a,x=(.5+b/2)*a,z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,.3);var oe=be(.7,1,1,.5,0,x/a,1,x/a,ee());return z.spot2=new go.Spot(oe.x,oe.y),te(oe),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new Ve("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=50);var E=(a-b)/2,x=E+b;b>a&&(E=0,x=a);var z=new go.Geometry,ae=new go.PathFigure(y,.5*a,!0);z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,x)),ae.add(new go.PathSegment(go.PathSegment.Line,0,x)),ae.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,0,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,E/a);var oe=be(.7,1,1,.5,0,x/a,1,x/a,ee());return z.spot2=new go.Spot(oe.x,oe.y),te(oe),z}),go.Shape.setFigureParameter("SquareArrow",0,new Ve("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.Geometry,x=new go.PathFigure(y,.5*a,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(b,1),E}),go.Shape.defineFigureGenerator("Cone1",function(se,y,a){var b=new go.Geometry,E=re*.5,x=re*.1,z=new go.PathFigure(0,.9*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a).close()),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.97),b}),go.Shape.defineFigureGenerator("Cone2",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.9*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var x=new go.PathFigure(0,.9*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.82),b}),go.Shape.defineFigureGenerator("Cube1",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.5,.85),b}),go.Shape.defineFigureGenerator("Cube2",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.3*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var x=new go.PathFigure(0,.3*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(.7,1),b}),go.Shape.defineFigureGenerator("Cylinder1",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=re*.5,z=new go.PathFigure(0,b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,re*b,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,b,(.5+x)*y,0,1*y,re*b)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-re*b,(.5+x)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*y,1*a,0,a-re*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b));var ae=new go.PathFigure(y,b,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*b,1*y,2*b-re*b,(.5+x)*y,2*b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,b,(.5-x)*y,2*b,0,2*b-re*b)),E.spot1=new go.Spot(0,0,0,2*b),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder2",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,a/3);var E=new go.Geometry,x=re*.5,z=new go.PathFigure(0,a-b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,re*b,(.5-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,b,(.5+x)*y,0,y,re*b)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-re*b,(.5+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,(.5-x)*y,a,0,a-re*b));var ae=new go.PathFigure(0,a-b,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*b,0,a-b-re*b,(.5-x)*y,a-2*b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,a-b,(.5+x)*y,a-2*b,y,a-b-re*b)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,0,-2*b),E}),go.Shape.defineFigureGenerator("Cylinder3",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=re*.5,z=new go.PathFigure(b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-re*b,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+x)*a,y-re*b,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,re*b,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,re*b,0));var ae=new go.PathFigure(b,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,2*b,.5*a,b+re*b,0,2*b,(.5-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,b,a,2*b,(.5+x)*a,b+re*b,a)),E.spot1=new go.Spot(0,0,2*b,0),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Cylinder4",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=5),b=Math.min(b,y/3);var E=new go.Geometry,x=re*.5,z=new go.PathFigure(y-b,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-re*b,0,y,(.5-x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,(.5+x)*a,y-re*b,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,re*b,a,0,(.5+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,(.5-x)*a,re*b,0)),z.add(new go.PathSegment(go.PathSegment.Line,y-b,0));var ae=new go.PathFigure(y-b,0,!1);return E.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-2*b,.5*a,y-b-re*b,0,y-2*b,(.5-x)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y-2*b,(.5+x)*a,y-b-re*b,a)),E.spot1=new go.Spot(0,0),E.spot2=new go.Spot(1,1,-2*b,0),E}),go.Shape.defineFigureGenerator("Prism1",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,.25*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.25*y,.25*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.408,.172),b.spot2=new go.Spot(.833,.662),b}),go.Shape.defineFigureGenerator("Prism2",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),b.spot1=new go.Spot(.25,.5),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("Pyramid1",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var x=new go.PathFigure(.5*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Pyramid2",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var x=new go.PathFigure(.5*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),x.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.spot1=new go.Spot(.25,.367),b.spot2=new go.Spot(.75,.875),b}),go.Shape.defineFigureGenerator("Actor",function(se,y,a){var b=new go.Geometry,E=.2,x=.1,z=re*E,ae=re*x,oe=.5,le=.1,de=new go.PathFigure(oe*y,(le+x)*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe-E)*y,le*a,(oe-z)*y,(le+x)*a,(oe-E)*y,(le+ae)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-x)*a,(oe-E)*y,(le-ae)*a,(oe-z)*y,(le-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe+E)*y,le*a,(oe+z)*y,(le-x)*a,(oe+E)*y,(le-ae)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le+x)*a,(oe+E)*y,(le+ae)*a,(oe+z)*y,(le+x)*a));var ce=.05,Se=re*ce;oe=.05,le=.25;var ve=new go.PathFigure(.5*y,.2*a,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),oe=.95,le=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ce)*y,le*a,(oe+Se)*y,(le-ce)*a,(oe+ce)*y,(le-Se)*a)),ve.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),ce=.025,Se=re*ce,oe=.825,le=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-ce)*a,(oe+ce)*y,(le-Se)*a,(oe+Se)*y,(le-ce)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ce)*y,le*a,(oe-Se)*y,(le-ce)*a,(oe-ce)*y,(le-Se)*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),ce=.05,Se=re*ce,oe=.5,le=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-ce)*a,(oe+ce)*y,(le-Se)*a,(oe+Se)*y,(le-ce)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ce)*y,le*a,(oe-Se)*y,(le-ce)*a,(oe-ce)*y,(le-Se)*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),ce=.025,Se=re*ce,oe=.175,le=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-ce)*a,(oe+ce)*y,(le-Se)*a,(oe+Se)*y,(le-ce)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ce)*y,le*a,(oe-Se)*y,(le-ce)*a,(oe-ce)*y,(le-Se)*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),ce=.05,Se=re*ce,oe=.05,le=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-ce)*a,(oe-ce)*y,(le-Se)*a,(oe-Se)*y,(le-ce)*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.spot1=new go.Spot(.2,.2),b.spot2=new go.Spot(.8,.65),b}),go.Shape.setFigureParameter("Card",0,new Ve("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(se,y,a){var b=se?se.parameter1:NaN;isNaN(b)&&(b=.2);var E=new go.Geometry,x=new go.PathFigure(y,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),x.add(new go.PathSegment(go.PathSegment.Line,b*y,0).close()),E.spot1=new go.Spot(0,b),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Collate",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var x=new go.PathFigure(.5*y,.5*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,.25),b}),go.Shape.defineFigureGenerator("CreateRequest",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,E*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("Database",function(se,y,a){var b=new go.Geometry,E=re*.5,x=re*.1,z=new go.PathFigure(y,.1*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-x)*a));var ae=new go.PathFigure(y,.1*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+E)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+E)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+x)*a,(.5+E)*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-E)*y,.4*a,0,(.3+x)*a)),b.spot1=new go.Spot(0,.4),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("DataStorage",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),b.spot1=new go.Spot(.226,0),b.spot2=new go.Spot(.81,1),b}),go.Shape.defineFigureGenerator("DiskStorage",function(se,y,a){var b=new go.Geometry,E=re*.5,x=re*.1,z=new go.PathFigure(y,.1*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+x)*a,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-E)*y,a,0,(.9+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-x)*a,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+E)*y,0,y,(.1-x)*a));var ae=new go.PathFigure(y,.1*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+x)*a,(.5+E)*y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-E)*y,.2*a,0,(.1+x)*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+x)*a,(.5+E)*y,.3*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-E)*y,.3*a,0,(.2+x)*a)),b.spot1=new go.Spot(0,.3),b.spot2=new go.Spot(1,.9),b}),go.Shape.defineFigureGenerator("Display",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),b.spot1=new go.Spot(.25,0),b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("DividedEvent",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)?E=.2:E<.15&&(E=.15);var x=re*.2,z=new go.PathFigure(0,.2*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-x)*a,(.2-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+x)*y,0,y,(.2-x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+x)*a,(.8+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-x)*y,a,0,(.8+x)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var ae=new go.PathFigure(0,E*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("DividedProcess",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;(isNaN(E)||E<.1)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,E*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),b}),go.Shape.defineFigureGenerator("Document",function(se,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("ExternalOrganization",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;(isNaN(E)||E<.2)&&(E=.2);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-E)*a)),b}),go.Shape.defineFigureGenerator("ExternalProcess",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(.1*y,.4*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("File",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(.75*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Interrupt",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var x=new go.PathFigure(y,.5*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,a));var z=new go.PathFigure(y,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("InternalStorage",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN,x=se?se.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var ae=new go.PathFigure(E*y,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,x*a)),ae.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),b}),go.Shape.defineFigureGenerator("Junction",function(se,y,a){var b=new go.Geometry,E=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=re*.5,ae=.5,oe=new go.PathFigure(y,ae*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,a,y,(ae+z)*a,(ae+z)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,ae*a,(ae-z)*y,a,0,(ae+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,0,0,(ae-z)*a,(ae-z)*y,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,ae*a,(ae+z)*y,0,y,(ae-z)*a));var le=new go.PathFigure((x+E)*y,(x+E)*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)),le.add(new go.PathSegment(go.PathSegment.Move,x*y,(x+E)*a)),le.add(new go.PathSegment(go.PathSegment.Line,(x+E)*y,x*a)),b}),go.Shape.defineFigureGenerator("LinedDocument",function(se,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var x=new go.PathFigure(.1*y,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),b.spot1=new go.Spot(.1,0),b.spot2=new go.Spot(1,.6),b}),go.Shape.defineFigureGenerator("LoopLimit",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MagneticTape",function(se,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=new go.PathFigure(.5*y,a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*y,.9*a,y,(x+E)*a,(x+E)*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.8),b}),go.Shape.defineFigureGenerator("ManualInput",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),b.spot1=new go.Spot(0,.25),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("MessageFromUser",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.7);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("MicroformProcessing",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,E*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("MicroformRecording",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("MultiDocument",function(se,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var x=new go.PathFigure(.1*y,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.8,.77),b}),go.Shape.defineFigureGenerator("MultiProcess",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.1*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var x=new go.PathFigure(.2*y,.1*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),x.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.spot1=new go.Spot(0,.2),b.spot2=new go.Spot(.8,1),b}),go.Shape.defineFigureGenerator("OfflineStorage",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var x=1-E,z=new go.PathFigure(0,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var ae=new go.PathFigure(.5*E*y,E*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,(1-.5*E)*y,E*a)),b}),go.Shape.defineFigureGenerator("OffPageConnector",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.75,1),b}),go.Shape.defineFigureGenerator("Or",function(se,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=new go.PathFigure(y,x*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+E)*a,(x+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a));var ae=new go.PathFigure(y,.5*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b}),go.Shape.defineFigureGenerator("PaperTape",function(se,y,a){var b=new go.Geometry;a=a/.8;var E=new go.PathFigure(0,.7*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),b.spot1=new go.Spot(0,.49),b.spot2=new go.Spot(1,.75),b}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN,x=se?se.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN,x=se?se.parameter2:NaN;isNaN(E)&&(E=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Procedure",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure((1-E)*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,E*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b}),go.Shape.defineFigureGenerator("Process",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Sort",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var x=new go.PathFigure(0,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.5),b}),go.Shape.defineFigureGenerator("Start",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.25);var x=new go.PathFigure(E*y,0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var z=new go.PathFigure(E*y,0,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,E*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),b.spot1=new go.Spot(E,0),b.spot2=new go.Spot(1-E,1),b}),go.Shape.defineFigureGenerator("Terminator",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.25*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),b.spot1=new go.Spot(.23,0),b.spot2=new go.Spot(.77,1),b}),go.Shape.defineFigureGenerator("TransmittalTape",function(se,y,a){var b=new go.Geometry,E=se?se.parameter1:NaN;isNaN(E)&&(E=.1);var x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-E)*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*a).close()),b.spot1=go.Spot.TopLeft,b}),go.Shape.defineFigureGenerator("AndGate",function(se,y,a){var b=new go.Geometry,E=re*.5,x=new go.PathFigure(0,0,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+E)*y,0,y,(.5-E)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+E)*a,(.5+E)*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(.55,1),b}),go.Shape.defineFigureGenerator("Buffer",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Clock",function(se,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=new go.PathFigure(y,x*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,a,y,(x+E)*a,(x+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*a,(x-E)*y,a,0,(x+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*y,0,0,(x-E)*a,(x-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x*a,(x+E)*y,0,y,(x-E)*a));var ae=new go.PathFigure(y,x*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,x*a));var oe=new go.PathFigure(.8*y,.75*a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),b}),go.Shape.defineFigureGenerator("Ground",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b}),go.Shape.defineFigureGenerator("Inverter",function(se,y,a){var b=new go.Geometry,E=re*.1,x=.1,z=.9,ae=.5,oe=new go.PathFigure(.8*y,.5*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var le=new go.PathFigure((z+x)*y,ae*a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae+x)*a,(z-x)*y,(ae+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z-x)*y,(ae-E)*a,(z-E)*y,(ae-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae-x)*a,(z+x)*y,(ae-E)*a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.4,.75),b}),go.Shape.defineFigureGenerator("NandGate",function(se,y,a){var b=new go.Geometry,E=re*.5,x=re*.4,z=re*.1,ae=.1,oe=.9,le=.5,de=new go.PathFigure(.8*y,.5*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+x)*a,(.4+E)*y,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,a)),de.add(new go.PathSegment(go.PathSegment.Line,0,0)),de.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),de.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+E)*y,0,.8*y,(.5-x)*a));var ce=new go.PathFigure((oe+ae)*y,le*a,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le+ae)*a,(oe+ae)*y,(le+z)*a,(oe+z)*y,(le+ae)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ae)*y,le*a,(oe-z)*y,(le+ae)*a,(oe-ae)*y,(le+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-ae)*a,(oe-ae)*y,(le-z)*a,(oe-z)*y,(le-ae)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ae)*y,le*a,(oe+z)*y,(le-ae)*a,(oe+ae)*y,(le-z)*a)),b.spot1=new go.Spot(0,.05),b.spot2=new go.Spot(.55,.95),b}),go.Shape.defineFigureGenerator("NorGate",function(se,y,a){var b=new go.Geometry,E=.5,x=re*E,z=0,ae=.5,oe=new go.PathFigure(.8*y,.5*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ae-E)*a,.7*y,(ae-x)*a)),E=.1,x=re*.1,z=.9,ae=.5;var le=new go.PathFigure((z-E)*y,ae*a,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.6,.75),b}),go.Shape.defineFigureGenerator("OrGate",function(se,y,a){var b=new go.Geometry,E=.5,x=re*E,z=0,ae=.5,oe=new go.PathFigure(0,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x+x)*y,(ae-E)*a,.8*y,(ae-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(ae+x)*a,(z+x+x)*y,(ae+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),b.spot1=new go.Spot(.2,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("XnorGate",function(se,y,a){var b=new go.Geometry,E=.5,x=re*E,z=.2,ae=.5,oe=new go.PathFigure(.1*y,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var le=new go.PathFigure(.8*y,.5*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+x)*y,(ae-E)*a,.7*y,(ae-x)*a)),E=.1,x=re*.1,z=.9,ae=.5;var de=new go.PathFigure((z-E)*y,ae*a,!0);return b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.65,.75),b}),go.Shape.defineFigureGenerator("XorGate",function(se,y,a){var b=new go.Geometry,E=.5,x=re*E,z=.2,ae=.5,oe=new go.PathFigure(.1*y,0,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var le=new go.PathFigure(.2*y,0,!0);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+x)*y,(ae-E)*a,.9*y,(ae-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),b.spot1=new go.Spot(.4,.25),b.spot2=new go.Spot(.8,.75),b}),go.Shape.defineFigureGenerator("Capacitor",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("Resistor",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b}),go.Shape.defineFigureGenerator("Inductor",function(se,y,a){var b=new go.Geometry,E=re*.1,x=.1,z=.1,ae=.5,oe=new go.PathFigure((z-E*.5)*y,a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+x)*y,0,(z+E)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,0,(z-E)*y,a,(z-x)*y,0)),z=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E*.5)*y,a,(z+x)*y,0,(z+E)*y,a)),b}),go.Shape.defineFigureGenerator("ACvoltageSource",function(se,y,a){var b=new go.Geometry,E=re*.5,x=.5,z=.5,ae=.5,oe=new go.PathFigure((z-x)*y,ae*a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-x)*a,(z-x)*y,(ae-E)*a,(z-E)*y,(ae-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae-x)*a,(z+x)*y,(ae-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae+x)*a,(z-x)*y,(ae+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*y,ae*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*y,ae*a,z*y,(ae-x)*a,z*y,(ae+x)*a)),b}),go.Shape.defineFigureGenerator("DCvoltageSource",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("Diode",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.spot1=new go.Spot(0,.25),b.spot2=new go.Spot(.5,.75),b}),go.Shape.defineFigureGenerator("Wifi",function(se,y,a){var b=new go.Geometry,E=y,x=a;y=y*.38,a=a*.6;var z=re*.8,ae=.8,oe=0,le=.5,de=(E-y)/2,ce=(x-a)/2,Se=new go.PathFigure(oe*y+de,(le+ae)*a+ce,!0);b.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ae)*y+de,le*a+ce,(oe-z)*y+de,(le+ae)*a+ce,(oe-ae)*y+de,(le+z)*a+ce)),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+de,(le-ae)*a+ce,(oe-ae)*y+de,(le-z)*a+ce,(oe-z)*y+de,(le-ae)*a+ce)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ae+z*.5)*y+de,le*a+ce,oe*y+de,(le-ae)*a+ce,(oe-ae+z*.5)*y+de,(le-z)*a+ce)),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+de,(le+ae)*a+ce,(oe-ae+z*.5)*y+de,(le+z)*a+ce,oe*y+de,(le+ae)*a+ce).close()),z=re*.4,ae=.4,oe=.2,le=.5;var ve=new go.PathFigure(oe*y+de,(le+ae)*a+ce,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ae)*y+de,le*a+ce,(oe-z)*y+de,(le+ae)*a+ce,(oe-ae)*y+de,(le+z)*a+ce)),ve.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+de,(le-ae)*a+ce,(oe-ae)*y+de,(le-z)*a+ce,(oe-z)*y+de,(le-ae)*a+ce)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ae+z*.5)*y+de,le*a+ce,oe*y+de,(le-ae)*a+ce,(oe-ae+z*.5)*y+de,(le-z)*a+ce)),ve.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+de,(le+ae)*a+ce,(oe-ae+z*.5)*y+de,(le+z)*a+ce,oe*y+de,(le+ae)*a+ce).close()),z=re*.2,ae=.2,oe=.5,le=.5;var Ce=new go.PathFigure((oe-ae)*y+de,le*a+ce,!0);b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+de,(le-ae)*a+ce,(oe-ae)*y+de,(le-z)*a+ce,(oe-z)*y+de,(le-ae)*a+ce)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ae)*y+de,le*a+ce,(oe+z)*y+de,(le-ae)*a+ce,(oe+ae)*y+de,(le-z)*a+ce)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+de,(le+ae)*a+ce,(oe+ae)*y+de,(le+z)*a+ce,(oe+z)*y+de,(le+ae)*a+ce)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ae)*y+de,le*a+ce,(oe-z)*y+de,(le+ae)*a+ce,(oe-ae)*y+de,(le+z)*a+ce)),z=re*.4,ae=.4,oe=.8,le=.5;var pe=new go.PathFigure(oe*y+de,(le-ae)*a+ce,!0);b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ae)*y+de,le*a+ce,(oe+z)*y+de,(le-ae)*a+ce,(oe+ae)*y+de,(le-z)*a+ce)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+de,(le+ae)*a+ce,(oe+ae)*y+de,(le+z)*a+ce,(oe+z)*y+de,(le+ae)*a+ce)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ae-z*.5)*y+de,le*a+ce,oe*y+de,(le+ae)*a+ce,(oe+ae-z*.5)*y+de,(le+z)*a+ce)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+de,(le-ae)*a+ce,(oe+ae-z*.5)*y+de,(le-z)*a+ce,oe*y+de,(le-ae)*a+ce).close()),z=re*.8,ae=.8,oe=1,le=.5;var At=new go.PathFigure(oe*y+de,(le-ae)*a+ce,!0);return b.add(At),At.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ae)*y+de,le*a+ce,(oe+z)*y+de,(le-ae)*a+ce,(oe+ae)*y+de,(le-z)*a+ce)),At.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+de,(le+ae)*a+ce,(oe+ae)*y+de,(le+z)*a+ce,(oe+z)*y+de,(le+ae)*a+ce)),At.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ae-z*.5)*y+de,le*a+ce,oe*y+de,(le+ae)*a+ce,(oe+ae-z*.5)*y+de,(le+z)*a+ce)),At.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+de,(le-ae)*a+ce,(oe+ae-z*.5)*y+de,(le-z)*a+ce,oe*y+de,(le-ae)*a+ce).close()),b}),go.Shape.defineFigureGenerator("Email",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Move,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),b}),go.Shape.defineFigureGenerator("Ethernet",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.35*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var x=new go.PathFigure(.1*y,a,!0,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.6*y,a,!0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var ae=new go.PathFigure(0,.5*a,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),ae.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),b}),go.Shape.defineFigureGenerator("Power",function(se,y,a){var b=new go.Geometry,E=re*.4,x=.4,z=.5,ae=.5,oe=ee(),le=ee(),de=ee(),ce=ee();De(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.5,oe,oe,le,de,ce);var Se=ne(le.x,le.y),ve=new go.PathFigure(le.x*y,le.y*a,!0);b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,de.x*y,de.y*a,ce.x*y,ce.y*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z+x)*y,(ae+E)*a,(z+E)*y,(ae+x)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,(z-E)*y,(ae+x)*a,(z-x)*y,(ae+E)*a)),De(z-x,ae,z-x,ae-E,z-E,ae-x,z,ae-x,.5,de,ce,le,oe,oe),ve.add(new go.PathSegment(go.PathSegment.Bezier,le.x*y,le.y*a,de.x*y,de.y*a,ce.x*y,ce.y*a)),E=re*.3,x=.3,De(z-x,ae,z-x,ae-E,z-E,ae-x,z,ae-x,.5,de,ce,le,oe,oe),ve.add(new go.PathSegment(go.PathSegment.Line,le.x*y,le.y*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*y,ae*a,ce.x*y,ce.y*a,de.x*y,de.y*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+x)*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*y,ae*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),De(z,ae-x,z+E,ae-x,z+x,ae-E,z+x,ae,.5,oe,oe,le,de,ce),ve.add(new go.PathSegment(go.PathSegment.Bezier,le.x*y,le.y*a,ce.x*y,ce.y*a,de.x*y,de.y*a).close());var ve=new go.PathFigure(.45*y,0,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),te(oe),te(le),te(de),te(ce),te(Se),b.spot1=new go.Spot(.25,.45),b.spot2=new go.Spot(.75,.8),b}),go.Shape.defineFigureGenerator("Fallout",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a/2,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function x(z,ae,oe){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ae)*y,(.8+oe)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ae)*y,(.5+oe)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ae)*y,(.5+oe)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ae)*y,(.8+oe)*a).close())}return x(E,0,0),x(E,.4,0),x(E,.2,-.3),b}),go.Shape.defineFigureGenerator("IrritationHazard",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),b.spot1=new go.Spot(.3,.3),b.spot2=new go.Spot(.7,.7),b}),go.Shape.defineFigureGenerator("ElectricalHazard",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.37*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),E.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),E.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),b}),go.Shape.defineFigureGenerator("FireHazard",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),b.spot1=new go.Spot(.07,.445),b.spot2=new go.Spot(.884,.958),b}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(se,y,a){var b=new go.Geometry,E=.5,x=0,z=0,ae=E*re,oe=.4*Math.SQRT2/2+.5,le=.5-.5*Math.SQRT2/2,de=1,ce=.5,Se=.5,ve=0,Ce=new go.PathFigure(oe*y,(1-le)*a,!1);return b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,de*y,ce*a,de*y,.7*a,de*y,ce*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(Se+x)*y,(ve+x)*a,(.5+E+x)*y,(.5-ae+x)*a,(.5+ae+x)*y,(.5-E+x)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+x)*y,(.5+z)*a,(.5-ae+x)*y,(.5-E+z)*a,(.5-E+x)*y,(.5-ae+z)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*y,.9*a,(.5-E+x)*y,(.5+ae+z)*a,(.5-ae+x)*y,.9*a)),Ce.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*y,.8*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*y,.9*a)),Ce.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*y,.95*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),b}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(y,a,!1);b.add(x);var z=new go.PathFigure(0,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),b}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),b}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var E=new go.PathFigure(0,.2*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.7*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var x=new go.PathFigure(.45*y,.73*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),x.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),x.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),b}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(.335*y,(1-.555)*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),x.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var z=.5-.285,ae=.5,oe=z,le=Math.PI/4,de=4*(1-Math.cos(le))/(3*Math.sin(le)),ce=de*.5,Se=z,ve=z,Ce=de*Se,pe=de*ve;x.add(new go.PathSegment(go.PathSegment.Bezier,(ae-Se)*y,oe*a,(ae-(Ce+Se)/2)*y,(oe+(ve+pe)/2)*a,(ae-Se)*y,(oe+pe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,ae*y,(oe-ve)*a,(ae-Se)*y,(oe-pe)*a,(ae-Ce)*y,(oe-ve)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ae+Se)*y,oe*a,(ae+Ce)*y,(oe-ve)*a,(ae+Se)*y,(oe-pe)*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(ae+Se)*y,(oe+pe)*a,(ae+(Ce+Se)/2)*y,(oe+(ve+pe)/2)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),x.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var At=new go.PathFigure(.2*y,a,!1);b.add(At),At.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var st=new go.PathFigure(.8*y,a,!1);return b.add(st),st.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var x=new go.PathFigure(.2*y,.2*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),b}),go.Shape.defineFigureGenerator("BpmnEventError",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E);var x=new go.PathFigure(y,a,!1);b.add(x);var z=new go.PathFigure(.1*y,a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Caution",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.05*y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var x=.05;return E.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*y,.875*a)),E.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,x*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),b}),go.Shape.defineFigureGenerator("Recycle",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.45*y,.95*a,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),E.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),E.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var x=new go.PathFigure(.475*y,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),x.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),x.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var z=new go.PathFigure(.675*y,.575*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),z.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),b}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(se,y,a){var b=new go.Geometry,E=.5,x=re*.5,z=new go.PathFigure(y,E*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+x)*a,(E+x)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-x)*y,a,0,(E+x)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-x)*a,(E-x)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+x)*y,0,y,(E-x)*a));var ae=new go.PathFigure(E*y,0,!1);return b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,.15*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,a)),ae.add(new go.PathSegment(go.PathSegment.Line,E*y,.85*a)),ae.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.15*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Move,y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.85*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),ae.add(new go.PathSegment(go.PathSegment.Move,E*y,E*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),b}),go.Shape.defineFigureGenerator("Package",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.15*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var x=new go.PathFigure(0,.15*a,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),b.spot1=new go.Spot(0,.1),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Class",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(0,.5*a,!1);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),b}),go.Shape.defineFigureGenerator("Component",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var x=new go.PathFigure(0,.2*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),x.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var z=new go.PathFigure(0,.6*a,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),b}),go.Shape.defineFigureGenerator("Boat Shipment",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.15*y,.6*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var x=new go.PathFigure(.15*y,.6*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b}),go.Shape.defineFigureGenerator("Customer/Supplier",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Workcell",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b}),go.Shape.defineFigureGenerator("Supermarket",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),b}),go.Shape.defineFigureGenerator("TruckShipment",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(y,.8*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var z=.1,ae=re*.1,oe=.2,le=.9,de=new go.PathFigure((oe-z)*y,le*a,!0);b.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-z)*a,(oe-z)*y,(le-ae)*a,(oe-ae)*y,(le-z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe+z)*y,le*a,(oe+ae)*y,(le-z)*a,(oe+z)*y,(le-ae)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le+z)*a,(oe+z)*y,(le+ae)*a,(oe+ae)*y,(le+z)*a)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe-z)*y,le*a,(oe-ae)*y,(le+z)*a,(oe-z)*y,(le+ae)*a).close()),z=.1,ae=re*.1,oe=.8,le=.9;var ce=new go.PathFigure((oe-z)*y,le*a,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le-z)*a,(oe-z)*y,(le-ae)*a,(oe-ae)*y,(le-z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe+z)*y,le*a,(oe+ae)*y,(le-z)*a,(oe+z)*y,(le-ae)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(le+z)*a,(oe+z)*y,(le+ae)*a,(oe+ae)*y,(le+z)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(oe-z)*y,le*a,(oe-ae)*y,(le+z)*a,(oe-z)*y,(le+ae)*a).close()),b}),go.Shape.defineFigureGenerator("KanbanPost",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.2*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b}),go.Shape.defineFigureGenerator("Forklift",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.5*y,.8*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var ae=new go.PathFigure(.5*y,.7*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var oe=.1,le=re*.1,de=.1,ce=.9,Se=new go.PathFigure((de-oe)*y,ce*a,!0);b.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ce-oe)*a,(de-oe)*y,(ce-le)*a,(de-le)*y,(ce-oe)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de+oe)*y,ce*a,(de+le)*y,(ce-oe)*a,(de+oe)*y,(ce-le)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ce+oe)*a,(de+oe)*y,(ce+le)*a,(de+le)*y,(ce+oe)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(de-oe)*y,ce*a,(de-le)*y,(ce+oe)*a,(de-oe)*y,(ce+le)*a)),oe=.1,le=re*.1,de=.4,ce=.9;var ve=new go.PathFigure((de-oe)*y,ce*a,!0);return b.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ce-oe)*a,(de-oe)*y,(ce-le)*a,(de-le)*y,(ce-oe)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de+oe)*y,ce*a,(de+le)*y,(ce-oe)*a,(de+oe)*y,(ce-le)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,de*y,(ce+oe)*a,(de+oe)*y,(ce+le)*a,(de+le)*y,(ce+oe)*a)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(de-oe)*y,ce*a,(de-le)*y,(ce+oe)*a,(de-oe)*y,(ce+le)*a)),b}),go.Shape.defineFigureGenerator("RailShipment",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.1*y,.4*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var x=new go.PathFigure(.45*y,.7*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var z=new go.PathFigure(.55*y,.4*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var de=.05,ce=re*.05,Se=.175,ve=.95,ae=new go.PathFigure((Se-de)*y,ve*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Bezier,Se*y,(ve-de)*a,(Se-de)*y,(ve-ce)*a,(Se-ce)*y,(ve-de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Se+de)*y,ve*a,(Se+ce)*y,(ve-de)*a,(Se+de)*y,(ve-ce)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,Se*y,(ve+de)*a,(Se+de)*y,(ve+ce)*a,(Se+ce)*y,(ve+de)*a)),ae.add(new go.PathSegment(go.PathSegment.Bezier,(Se-de)*y,ve*a,(Se-ce)*y,(ve+de)*a,(Se-de)*y,(ve+ce)*a));var de=.05,ce=re*.05,Se=.375,ve=.95,oe=new go.PathFigure((Se-de)*y,ve*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,Se*y,(ve-de)*a,(Se-de)*y,(ve-ce)*a,(Se-ce)*y,(ve-de)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Se+de)*y,ve*a,(Se+ce)*y,(ve-de)*a,(Se+de)*y,(ve-ce)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Se*y,(ve+de)*a,(Se+de)*y,(ve+ce)*a,(Se+ce)*y,(ve+de)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Se-de)*y,ve*a,(Se-ce)*y,(ve+de)*a,(Se-de)*y,(ve+ce)*a));var de=.05,ce=re*.05,Se=.625,ve=.95,le=new go.PathFigure((Se-de)*y,ve*a,!0);b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,Se*y,(ve-de)*a,(Se-de)*y,(ve-ce)*a,(Se-ce)*y,(ve-de)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Se+de)*y,ve*a,(Se+ce)*y,(ve-de)*a,(Se+de)*y,(ve-ce)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,Se*y,(ve+de)*a,(Se+de)*y,(ve+ce)*a,(Se+ce)*y,(ve+de)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(Se-de)*y,ve*a,(Se-ce)*y,(ve+de)*a,(Se-de)*y,(ve+ce)*a));var de=.05,ce=re*.05,Se=.825,ve=.95,Ce=new go.PathFigure((Se-de)*y,ve*a,!0);b.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,Se*y,(ve-de)*a,(Se-de)*y,(ve-ce)*a,(Se-ce)*y,(ve-de)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(Se+de)*y,ve*a,(Se+ce)*y,(ve-de)*a,(Se+de)*y,(ve-ce)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,Se*y,(ve+de)*a,(Se+de)*y,(ve+ce)*a,(Se+ce)*y,(ve+de)*a)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(Se-de)*y,ve*a,(Se-ce)*y,(ve+de)*a,(Se-de)*y,(ve+ce)*a).close());var pe=new go.PathFigure(0,a,!1);return b.add(pe),pe.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),b}),go.Shape.defineFigureGenerator("Warehouse",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(.15*y,a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var ae=.05,oe=re*.05,le=.35,de=.775,ce=new go.PathFigure((le-ae)*y,de*a,!0);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(de-ae)*a,(le-ae)*y,(de-oe)*a,(le-oe)*y,(de-ae)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(le+ae)*y,de*a,(le+oe)*y,(de-ae)*a,(le+ae)*y,(de-oe)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,le*y,(de+ae)*a,(le+ae)*y,(de+oe)*a,(le+oe)*y,(de+ae)*a)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(le-ae)*y,de*a,(le-oe)*y,(de+ae)*a,(le-ae)*y,(de+oe)*a).close()),b}),go.Shape.defineFigureGenerator("ControlCenter",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),b}),go.Shape.defineFigureGenerator("Bluetooth",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.75*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),b}),go.Shape.defineFigureGenerator("Bookmark",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),b}),go.Shape.defineFigureGenerator("Globe",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),b}),go.Shape.defineFigureGenerator("Wave",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.25*a,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),b}),go.Shape.defineFigureGenerator("Operator",function(se,y,a){var b=new go.Geometry,E=.3,x=re*.3,z=.5,ae=.7,oe=new go.PathFigure((z-E)*y,ae*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a));var le=new go.PathFigure(0,.7*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),b}),go.Shape.defineFigureGenerator("TripleFanBlades",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.5*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),b}),go.Shape.defineFigureGenerator("CentrifugalPump",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),b}),go.Shape.defineFigureGenerator("Battery",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var x=new go.PathFigure(0,.6*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),x.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b}),go.Shape.defineFigureGenerator("Delete",function(se,y,a){var b=new go.Geometry,E=.5,x=re*.5,z=.5,ae=.5,oe=new go.PathFigure((z-E)*y,ae*a,!0);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a));var le=new go.PathFigure(.15*y,.5*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),b}),go.Shape.defineFigureGenerator("Flag",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.1*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),b}),go.Shape.defineFigureGenerator("Help",function(se,y,a){var b=new go.Geometry,E=.5,x=re*.5,z=.5,ae=.5,oe=new go.PathFigure((z-E)*y,ae*a,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a).close()),E=.05,x=re*.05,z=.5,ae=.8;var le=new go.PathFigure((z-E)*y,ae*a,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae-E)*a,(z-E)*y,(ae-x)*a,(z-x)*y,(ae-E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,ae*a,(z+x)*y,(ae-E)*a,(z+E)*y,(ae-x)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(ae+E)*a,(z+E)*y,(ae+x)*a,(z+x)*y,(ae+E)*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,ae*a,(z-x)*y,(ae+E)*a,(z-E)*y,(ae+x)*a).close()),le.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),le.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),le.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),b}),go.Shape.defineFigureGenerator("Location",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),b}),go.Shape.defineFigureGenerator("Unlocked",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var x=new go.PathFigure(.2*y,.5*a,!1);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),x.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),b}),go.Shape.defineFigureGenerator("Gear",function(se,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),b}),go.Shape.defineFigureGenerator("Map",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,.2*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),E.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b}),go.Shape.defineFigureGenerator("Eject",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var x=new go.PathFigure(0,a*.6,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),x.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),b}),go.Shape.defineFigureGenerator("Pencil",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),E.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var x=new go.PathFigure(.126*y,.85*a,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),x.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var z=new go.PathFigure(.402*y,.85*a,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var ae=new go.PathFigure(.678*y,.85*a,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),ae.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var oe=new go.PathFigure(.5*y,.1*a,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),b}),go.Shape.defineFigureGenerator("Staircase",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),b}),go.Shape.defineFigureGenerator("5Bars",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,a*1,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var x=new go.PathFigure(y*.204,a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var z=new go.PathFigure(y*.408,a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var ae=new go.PathFigure(y*.612,a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),ae.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var oe=new go.PathFigure(y*.816,a,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),b}),go.Shape.defineFigureGenerator("PC",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var x=new go.PathFigure(y*.055,.07*a,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),x.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var z=new go.PathFigure(y*.055,.13*a,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var ae=new go.PathFigure(y*.055,.18*a,!0);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var oe=new go.PathFigure(y*1,0,!0);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),b}),go.Shape.defineFigureGenerator("Plane",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(.55*y,a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),b}),go.Shape.defineFigureGenerator("Key",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*1,a*.5,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),E.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),E.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),E.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),b}),go.Shape.defineFigureGenerator("FilmTape",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(0,0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),E.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var x=new go.PathFigure(0,0,!1);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),x.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(y*.11,a*.1,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),z.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var ae=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),ae.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var oe=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),b}),go.Shape.defineFigureGenerator("FloppyDisk",function(se,y,a){var b=new go.Geometry,E=8,x=E*re,z=new go.PathFigure(E,0,!1);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,x,x,0).close());var ae=new go.PathFigure(y*.83,0,!1);b.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var oe=new go.PathFigure(y*.83,a*1,!1);b.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var le=new go.PathFigure(y*.78,a*.05,!1);return b.add(le),le.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),le.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),le.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),b}),go.Shape.defineFigureGenerator("SpeechBubble",function(se,y,a){var b=se?se.parameter1:NaN;(isNaN(b)||b<0)&&(b=15),b=Math.min(b,y/3),b=Math.min(b,a/3);var E=b*re,x=a*.8,z=new go.Geometry,ae=new go.PathFigure(b,0,!0);return z.add(ae),ae.add(new go.PathSegment(go.PathSegment.Line,y-b,0)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y,b,y-E,0,y,E)),ae.add(new go.PathSegment(go.PathSegment.Line,y,x-b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,y-b,x,y,x-E,y-E,x)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,x)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),ae.add(new go.PathSegment(go.PathSegment.Line,y*.55,x)),ae.add(new go.PathSegment(go.PathSegment.Line,b,x)),ae.add(new go.PathSegment(go.PathSegment.Bezier,0,x-b,E,x,0,x-E)),ae.add(new go.PathSegment(go.PathSegment.Line,0,b)),ae.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close()),E>1?(z.spot1=new go.Spot(0,0,E,E),z.spot2=new go.Spot(1,.8,-E,-E)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.45,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var x=new go.PathFigure(y*1,a*.55,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),x.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),x.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),x.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),b}),go.Shape.defineFigureGenerator("Windows",function(se,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*.1,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var x=new go.PathFigure(y*.1,a*.2,!0);b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),x.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),x.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var z=new go.PathFigure(y*.28,a*.37,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),z.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),b}),go.Shape.defineFigureGenerator("Beaker",function(se,y,a){var b=new go.Geometry,E=15,x=E*re,z=new go.PathFigure(y*.62,a*.475,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-E,a,y,a-x,y-x,a)),z.add(new go.PathSegment(go.PathSegment.Line,E,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-E,x,a,0,a-x)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),z.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),x>1?(b.spot1=new go.Spot(0,0,x,x),b.spot2=new go.Spot(1,1,-x,-x)):(b.spot1=go.Spot.TopLeft,b.spot2=go.Spot.BottomRight),b}),go.Shape.defineFigureGenerator("Download",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.4,a*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),z.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),b}),go.Shape.defineFigureGenerator("Bin",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;return E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close()),b}),go.Shape.defineFigureGenerator("Upload",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*0,a*1,!0);b.add(E);var x=.1/.3;E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-x))),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-x)).close());var z=new go.PathFigure(y*.5,a*0,!0);return b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),b}),go.Shape.defineFigureGenerator("EmptyDrink",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),b}),go.Shape.defineFigureGenerator("Drink",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.15,a*0,!1);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var x=new go.PathFigure(y*.235,a*.28,!0);return b.add(x),x.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),x.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),x.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),b}),go.Shape.defineFigureGenerator("4Arrows",function(se,y,a){var b=new go.Geometry,E=new go.PathFigure(y*.5,a*0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),E.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),E.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),E.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),b}),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")},61016: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 Ve={},mt="5.0",ne={},ee=null,te=!1,be=!1,De=null,Fe=!1,Le=null,re=null,je=0;je4?parseFloat(He):5};Ve.setHTML5Codebase=function(He,Ft){re=He,ht(He,Ft)},Ve.setJavaCodebase=Ve.setJavaCodebaseVersion=Ve.isCompiledInstalled=Ve.setPreCompiledScriptPath=Ve.setPreCompiledResourcePath=function(){},Ve.setHTML5CodebaseVersion=function(He,Ft){var vt=parseFloat(He);if(vt!==NaN&&vt<5){console.log("The GeoGebra HTML5 codebase version "+vt+" is deprecated. Using version latest instead.");return}Le=He,Ke(He,Ft)},Ve.getHTML5CodebaseVersion=function(){return se},Ve.getParameters=function(){return ne},Ve.setFontsCSSURL=function(He){z=He},Ve.setGiacJSURL=function(He){},Ve.setJNLPFile=function(He){Te=He},Ve.setJNLPBaseDir=function(He){},Ve.inject=function(){function He(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ft="auto",vt=ne.id,Zn,Rt=!1,Pn=0;Pn=5)return!0;var He=Ve.getAppletObject();return He&&typeof He.recalculateEnvironments=="function"?(He.recalculateEnvironments(),!0):!1},Ve.startAnimation=function(){var He=Ve.getAppletObject();return He&&typeof He.startAnimation=="function"?(He.startAnimation(),!0):!1},Ve.stopAnimation=function(){var He=Ve.getAppletObject();return He&&typeof He.stopAnimation=="function"?(He.stopAnimation(),!0):!1},Ve.getAppletObject=function(){var He=ne.id!==void 0?ne.id:"ggbApplet";return window[He]},Ve.resize=function(){};var Ce=function(He,Ft,vt){var Zn=document.createElement("param");Zn.setAttribute("name",Ft),Zn.setAttribute("value",vt),He.appendChild(Zn)},pe=function(He){return He&&He!=="false"},At=function(He,Ft,vt){oe(se)<=4.2&&(vt=!0);var Zn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==se||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Zn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Rt=document.createElement("div");Rt.classList.add("appletParameters","notranslate");var Pn=Ft.width,Be=Ft.height;if(Ft.disableAutoScale=Ft.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ft.disableAutoScale,Ft.width!==void 0)if(oe(se)<=4.4)pe(Ft.showToolBar)&&(Ft.height-=7),pe(Ft.showAlgebraInput)&&(Ft.height-=37),Ft.width<605&&pe(Ft.showToolBar)&&(Ft.width=605,Pn=605);else{var jt=100;(pe(Ft.showToolBar)||pe(Ft.showMenuBar))&&(Ft.hasOwnProperty("customToolBar")&&(Ft.customToolbar=Ft.customToolBar),jt=pe(Ft.showMenuBar)?245:155),Pn=5?(Ft.appletOnLoad=function(Gn){var ye=He.querySelector(".ggb_preview");ye&&ye.parentNode.removeChild(ye),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(cn),window.GGBT_wsf_view&&$(window).trigger("resize"),oa(Gn)},zt||cn.appendChild(Ne)):Rt.appendChild(Ne),cn.appendChild(Rt),zt||He.appendChild(cn),setTimeout(function(){Ve.resize()},1)}else{var we=document.createElement("div");we.className="applet_scaler",we.style.position="relative",we.style.display="block",we.appendChild(Rt),He.appendChild(we),Ft.appletOnLoad=function(Gn){Ve.resize(),oa(Gn)}}function Me(Gn,ye){ye&&typeof ye.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Gn,ye.appletOnLoad):renderGGBElement(Gn),vn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",ye)}function Xe(Gn,ye){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Gn,params:ye}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ye){Me(Ye.article,Ye.params)}),html5AppletsToProcess=null)},oe(se)<5&&(Gn.className+=" geogebraweb")):Me(Gn,ye)}if(Zn){scriptLoadStarted=!0;for(var ct=0;ct0?(Tn.remove(),cn.attr("id","fullscreencontent").show(),jQuery(oa).append(cn),window.dispatchEvent(new Event("resize"))):At(Tn,Ft,!1),window.GGBT_wsf_view.launchFullScreen(oa)}else Pe=Zn,At(He,Ft,!1);if(!window.GGBT_wsf_view)for(Be=0;BeHe/4*3&&(Tn=He/4*3),oa=Tn/5.8,jt.setAttribute("src",E),jt.setAttribute("width",Tn),jt.setAttribute("height",oa);var cn=(He-Tn)/2,zt=(Ft-oa)/2;jt.style.left=cn+"px",jt.style.top=zt+"px",Rt.appendChild(jt)}}return Rt.appendChild(Be),Rt},Zt=function(He){return He=He.toLowerCase(),He==="html5"||He==="screenshot"?He:"html5"},Ht=["web","webSimple","web3d","tablet","tablet3d","phone"],Ke=function(He,Ft){if(se=He,Ft){ht(se,!0);return}var vt=!te;if(vt){var Zn=oe(se);!isNaN(Zn)&&Zn<4.4&&(vt=!1)}var Rt,Pn;window.location.protocol.substr(0,4)==="http"?Rt=window.location.protocol:Rt="http:";var Be=se.indexOf("//");Be>0?Pn=se:Be===0?Pn=Rt+se:Pn="https://www.geogebra.org/apps/5.2.814.0/";for(var jt in Ht)if(se.slice(Ht[jt].length*-1)===Ht[jt]||se.slice((Ht[jt].length+1)*-1)===Ht[jt]+"/"){ht(Pn,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&vt&&!ee.is3D&&!ee.AV&&!ee.SV&&!ee.CV&&!ee.EV2&&!ee.CP&&!ee.PC&&!ee.DA&&!ee.FI&&!ee.PV&&!pe(ne.showToolBar)&&!pe(ne.showMenuBar)&&!pe(ne.showAlgebraInput)&&!pe(ne.enableRightClick)&&(!ne.appName||ne.appName=="classic")?Pn+="webSimple/":Pn+="web3d/",ht(Pn,!1)},ht=function(He,Ft){if(He.requirejs){ze=He;return}He.slice(-1)!=="/"&&(He+="/"),ze=He,Ft===null&&(Ft=He.indexOf("http")===-1),ke=Ft,y="web.nocache.js",a=!1;var vt=ze.split("/");vt.length>1&&(!Ft&&vt[vt.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Ht.indexOf(vt[vt.length-2])>=0&&(y=vt[vt.length-2]+".nocache.js")),vt=He.split("/"),se=vt[vt.length-3],se.substr(0,4)==="test"?se=se.substr(4,1)+"."+se.substr(5,1):(se.substr(0,3)==="war"||se.substr(0,4)==="beta")&&(se="5.0");var Zn=parseFloat(se);Zn!==NaN&&Zn<5&&He.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Zn+" is deprecated. Using version latest instead."),Ke("5.0",Ft))},vn=function(He,Ft){window.console&&window.console.log&&(!Ft||typeof Ft.showLogging=="undefined"||Ft.showLogging&&Ft.showLogging!=="false")&&console.log(He)};ne.material_id!==void 0?ce(Nt):Nt();function Nt(){var He=mt;Le!==null?He=Le:parseFloat(He)<5&&(He="5.0"),Ke(He,!1),re!==null&&ht(re,ke),Fe=!0}return Ve},GGBAppletUtils=function(){"use strict";function Ve(){return window.GGBT_wsf_edit!==void 0}function mt(Fe,Le){Le!=1?(Fe.style.transformOrigin="0% 0% 0px",Fe.style.webkitTransformOrigin="0% 0% 0px",Fe.style.transform="scale("+Le+","+Le+")",Fe.style.webkitTransform="scale("+Le+","+Le+")",Fe.style.maxWidth="initial",Fe.querySelector(".ggb_preview")!==null&&(Fe.querySelector(".ggb_preview").style.maxWidth="initial"),Fe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Fe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Fe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Fe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Fe.style.transform="none",Fe.style.webkitTransform="none")}function ne(Fe,Le,re,je,Ae,Te){var ze=null;if(Te!=null&&Te!="")for(var ke=Fe.parentNode;ke!=null;)if((" "+ke.className+" ").indexOf(" "+Te+" ")>-1){ze=ke;break}else ke=ke.parentNode;var Pe=0,se=0,y=0,a=0,b=0,E=0,x=0;if(ze)Pe=ze.offsetWidth,se=Math.max(je?ze.offsetWidth:0,ze.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Pe=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),y=Pe):(Pe=window.innerWidth,se=window.innerHeight,y=window.innerWidth),Fe){var z=Fe.getBoundingClientRect();z.left>0&&z.left<=Pe&&(Ae===void 0||!Ae)&&(document.dir==="rtl"?(b=Pe-z.width-z.left,E=y<=480?10:30):(E=z.left,b=y<=480?10:30),a=E+b)}if(Fe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ae=Fe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,x=40)}}return Fe&&((re===void 0||!re)&&Le>0&&Le+a1&&(Te=!0)),Le&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Te=!0),!(Fe.hasOwnProperty("disableAutoScale")&&Fe.disableAutoScale))Ae=ee(Fe,Le,Te,re,Fe.scaleContainerClass);else return je;return Te&&(!Fe.hasOwnProperty("scale")||je===1)?Ae:Math.min(je,Ae)}function be(Fe){var Le=Math.min(window.innerWidth,document.documentElement.clientWidth),re=Math.min(window.innerHeight,document.documentElement.clientHeight),je=Fe.getBoundingClientRect(),Ae=(Le-je.width)/2,Te=(re-je.height)/2;Te<0&&(Te=0),Fe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ae<40?Fe.style.left="40px":Fe.style.left=Ae+"px",Fe.style.top=Te+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Te<40?Fe.style.top="40px":Fe.style.top=Te+"px",Fe.style.left=Ae+"px")}function De(Fe,Le){var re=Fe.querySelector(".appletParameters");if(re){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Le.id!==re.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Fe)}if(re.parentElement&&/fullscreen/.test(re.parentElement.className))return;var je=te(Le,Fe);Ve()&&re.setAttribute("data-param-scale",je);for(var Ae=null,Te=0;Te=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(Ve){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(Ve){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(Ve){var mt=c[Ve];return mt==null?null:mt},r=d,webModule.__errFn=e}function B(){function Ve(Fe){var Le=Fe.lastIndexOf(rb);Le==-1&&(Le=Fe.length);var re=Fe.indexOf(sb);re==-1&&(re=Fe.length);var je=Fe.lastIndexOf(tb,Math.min(re,Le));return je>=O?Fe.substring(O,je+P):W}function mt(Fe){if(!Fe.match(/^\w+:\/\//)){var Le=o.createElement(ub);Le.src=Fe+vb,Fe=Ve(Le.src)}return Fe}function ne(){var Fe=__gwt_getMetaProperty(wb);return Fe!=null?Fe:W}function ee(){for(var Fe=o.getElementsByTagName(_),Le=O;LeO?Fe[Fe.length-P].href:W}function be(){var Fe=o.location;return Fe.href==Fe.protocol+zb+Fe.host+Fe.pathname+Fe.search+Fe.hash}var De=ne();return De==W&&(De=ee()),De==W&&(De=te()),De==W&&be()&&(De=Ve(o.location.href)),De=mt(De),De}function C(Ve){return Ve.match(/^\//)||Ve.match(/^[a-zA-Z]+:\/\//)?Ve:webModule.__moduleBase+Ve}function D(){var Ve=[],mt=O,ne=[],ee=[];function te(Fe){var Le=ee[Fe](),re=ne[Fe];if(Le in re)return Le;var je=[];for(var Ae in re)je[re[Ae]]=Ae;throw r&&r(Fe,je,Le),null}if(__gwt_isKnownPropertyValue=function(Fe,Le){return Le in ne[Fe]},webModule.__getPropMap=function(){var Fe={};for(var Le in ne)ne.hasOwnProperty(Le)&&(Fe[Le]=te(Le));return Fe},webModule.__computePropValue=te,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var be;try{be=Cb;var De=be.indexOf(Db);De!=-1&&(mt=parseInt(be.substring(De+P),$),be=be.substring(O,De))}catch(Fe){}return webModule.__softPermutationId=mt,C(be+Eb)}function F(){n.__gwt_stylesLoaded||(n.__gwt_stylesLoaded={})}A(),webModule.__moduleBase=window.ENV==="build"?"/react/build/js/mathematicalGraphics/"+name+"/":"/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})()},15476:function(Ve,mt,ne){"use strict";ne.d(mt,{Ax:function(){return De},Ds:function(){return Fe},KI:function(){return re},SI:function(){return be},f1:function(){return te}});var ee=ne(11320);function te(je){let Ae=!0;if(je.length>0){for(let Te=0;Tea in y?be(y,a,{enumerable:!0,configurable:!0,writable:!0,value:b}):y[a]=b,Te=(y,a)=>{for(var b in a||(a={}))re.call(a,b)&&Ae(y,b,a[b]);if(Le)for(var b of Le(a))je.call(a,b)&&Ae(y,b,a[b]);return y},ze=(y,a)=>De(y,Fe(a)),ke=(y,a)=>{var b={};for(var E in y)re.call(y,E)&&a.indexOf(E)<0&&(b[E]=y[E]);if(y!=null&&Le)for(var E of Le(y))a.indexOf(E)<0&&je.call(y,E)&&(b[E]=y[E]);return b},Pe=(y,a,b)=>new Promise((E,x)=>{var z=le=>{try{oe(b.next(le))}catch(de){x(de)}},ae=le=>{try{oe(b.throw(le))}catch(de){x(de)}},oe=le=>le.done?E(le.value):Promise.resolve(le.value).then(z,ae);oe((b=b.apply(y,a)).next())});const se=y=>{var a=y,{children:b}=a,E=ke(a,["children"]);const[x,z]=(0,te.useState)(!1);return te.createElement(ee.ZP,ze(Te({},E),{loading:x,onClick:ae=>Pe(void 0,null,function*(){try{z(!0),yield E.onClick(ae),z(!1)}catch(oe){console.error(oe),z(!1)}})}),b)}},63205:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return ze}});var ee=ne(67294),te={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},be=ne(94184),De=ne.n(be),Fe=ne(57953),Le=ne(15979),re=ne(33170),je=ne(28706),Ae=(ke,Pe,se)=>new Promise((y,a)=>{var b=z=>{try{x(se.next(z))}catch(ae){a(ae)}},E=z=>{try{x(se.throw(z))}catch(ae){a(ae)}},x=z=>z.done?y(z.value):Promise.resolve(z.value).then(b,E);x((se=se.apply(ke,Pe)).next())}),ze=({data:ke,className:Pe,fullWidth:se,style:y={},onClose:a,onOk:b,showFullTools:E,noAssociationId:x})=>{const z=(0,ee.useRef)(null),ae=(0,ee.useRef)(null),oe=(0,ee.useRef)(null),le=(0,ee.useRef)(null),[de,ce]=(0,ee.useState)(!1),[Se,ve]=(0,ee.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ee.useEffect)(()=>{oe.current||(oe.current=document.createElement("style"),document.head.appendChild(oe.current)),ke!=null&&ke.visible?(document.body.setAttribute("data-custom","y-hidden"),oe.current.innerHTML=" html { overflow-y: hidden; }",ke!=null&&ke.src&&Ce()):(document.body.removeAttribute("data-custom"),oe.current&&(document.head.removeChild(oe.current),oe.current=null))},[ke==null?void 0:ke.visible]);const Ce=()=>Ae(void 0,null,function*(){ce(!0),ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const et=yield(0,je.ZJ)(ke==null?void 0:ke.src);z.current.src="",z.current.src=et,z.current.onload=function(){Vt()},ce(!1),ve("")}),pe=()=>{document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",a()},At=et=>Ae(void 0,null,function*(){ce(!0),ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const gt=yield(0,re.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:ke.title,file:et.dataUrl}});gt!=null&>.id&&!x?(yield(0,re.ZP)(`/api/attachments/${ke.id}/add_subitem.json`,{method:"post",body:{subitem_id:gt==null?void 0:gt.id,settings:JSON.stringify(et.state)}})).status===0&&b():gt!=null&>.id&&b(gt),document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",ce(!1),ve("")}),st=()=>{const et=document.querySelector('a[href="https://markerjs.com/"]');et&&et.parentNode&&(et.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(It=>{const Zt=document.querySelector(It.name);Zt&&Zt.setAttribute("title",It.title)})},Vt=()=>{ae.current=new Le.hP(z.current),ae.current.targetRoot=le.current,ae.current.addEventListener("render",At),ae.current.addEventListener("beforeclose",pe),E&&(ae.current.availableMarkerTypes=ae.current.ALL_MARKER_TYPES,ae.current.uiStyleSettings.redoButtonVisible=!0,ae.current.uiStyleSettings.notesButtonVisible=!0,ae.current.uiStyleSettings.zoomButtonVisible=!0,ae.current.uiStyleSettings.zoomOutButtonVisible=!0,ae.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ae.current.uiStyleSettings,ae.current.show(),ke!=null&&ke.snapshotData&&ae.current.restoreState(ke.snapshotData),setTimeout(()=>{window.scrollTo(0,0),st()},300)};return ee.createElement(ee.Fragment,null,(ke==null?void 0:ke.visible)&&ee.createElement(Fe.Z,{spinning:de,tip:Se,style:{position:"absolute"}},ee.createElement("div",{ref:le,className:De()(te.imageDimensions,Pe,se?te.fullWidth:""),style:y},ee.createElement("img",{className:te.img,ref:z}))))}},36527:function(Ve,mt,ne){"use strict";var ee=ne(67294),te=ne(71230),be=ne(15746),De=ne(66368),Fe=ne(71577),Le=ne(85725),re=ne(71736),je=ne(84279),Ae=ne(67294);const Te=(0,ee.forwardRef)(({callback:ze,showSaveButton:ke,value:Pe=""},se)=>{const y=(0,ee.useRef)(),a=[{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 "}]}]}],b=[{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}`}]}]}],E=ae=>{y.current.setValue(y.current.getValue()+" "+ae.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ae.createElement(te.Z,{className:re.Z.lists,gutter:[10,10]},a.map((ae,oe)=>Ae.createElement(be.Z,{flex:"110px",className:re.Z.item},Ae.createElement("div",null,Ae.createElement(Le.Z,{value:`$$${ae.value}$$`}),ae.name),Ae.createElement("div",{className:re.Z.children},ae.children.map((le,de)=>Ae.createElement("div",{key:de},Ae.createElement("h1",null,le.name),Ae.createElement(te.Z,{gutter:[10,10]},le.data.map((ce,Se)=>Ae.createElement(be.Z,{key:Se,onClick:()=>E(ce),className:re.Z.diamond},Ae.createElement(Le.Z,{value:"`$$"+ce.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ae.createElement(te.Z,{className:re.Z.lists,gutter:[10,10]},b.map((ae,oe)=>Ae.createElement(be.Z,{flex:"110px",className:re.Z.item},Ae.createElement("div",null,Ae.createElement(Le.Z,{value:"`$$"+ae.value+"$$`"}),ae.name),Ae.createElement("div",{className:re.Z.children},ae.children.map((le,de)=>Ae.createElement("div",{key:de},le.name&&Ae.createElement("h1",null,le.name),Ae.createElement(te.Z,{gutter:[10,10]},le.data.map((ce,Se)=>Ae.createElement(be.Z,{key:Se,onClick:()=>E(ce),className:re.Z.diamond},Ae.createElement(Le.Z,{value:"`$$"+ce.value+"$$`"}))))))))))}],z=()=>{var ae=document.createElement("div");ae.innerHTML=y.current.getValue();var oe=ae.innerText;return ze&&ze(oe),oe};return(0,ee.useImperativeHandle)(se,()=>({getData:z})),Ae.createElement("div",{className:re.Z.mathWrap},Ae.createElement(De.default,{defaultActiveKey:"1",items:x}),Ae.createElement("math-field",{locale:"zh_cn",className:re.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},Pe||""),ke&&Ae.createElement("div",{className:re.Z.button},Ae.createElement(Fe.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});mt.Z=Te},57444:function(Ve,mt,ne){"use strict";ne.d(mt,{h:function(){return ae}});var ee=ne(67294),te=ne(11713),be=ne(22150),De=ne(71577),Fe=ne(4631),Le=ne.n(Fe),re=ne(71749),je=ne(30483),Ae=Object.defineProperty,Te=Object.defineProperties,ze=Object.getOwnPropertyDescriptors,ke=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,y=(oe,le,de)=>le in oe?Ae(oe,le,{enumerable:!0,configurable:!0,writable:!0,value:de}):oe[le]=de,a=(oe,le)=>{for(var de in le||(le={}))Pe.call(le,de)&&y(oe,de,le[de]);if(ke)for(var de of ke(le))se.call(le,de)&&y(oe,de,le[de]);return oe},b=(oe,le)=>Te(oe,ze(le));const E=te.default.Option,x={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};mt.Z=({callback:oe,onCancel:le})=>{const[de,ce]=(0,ee.useState)("python");function Se(Ce){ce(z[Ce][1])}function ve(Ce){oe(Ce)}return ee.createElement(be.default,b(a({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ve,style:{width:500}}),ee.createElement(be.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ee.createElement(te.default,{getPopupContainer:Ce=>Ce.parentNode,onChange:Se},Object.keys(z).map(Ce=>ee.createElement(E,{key:Ce,value:Ce},z[Ce][0])))),ee.createElement(be.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ee.createElement(ae,{mode:de})),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(De.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(De.ZP,{type:"ghost",onClick:le},"\u53D6\u6D88")))};function ae({value:oe,onChange:le,mode:de,options:ce={}}){const Se=(0,ee.useRef)(),[ve,Ce]=(0,ee.useState)();return(0,ee.useEffect)(()=>{if(ve){let pe=function(At){const st=At.getValue();le&&le(st)};return ve.on("change",pe),()=>{ve.off("change",pe)}}},[ve,le]),(0,ee.useEffect)(()=>{ve&&ve.setOption("mode",de)},[ve,de]),(0,ee.useEffect)(()=>{ve&&(oe!==ve.getValue()||oe==="")&&setTimeout(()=>{ve.setValue(oe||"")},300)},[ve,oe]),(0,ee.useEffect)(()=>{if(Se.current&&!ve){const pe=Le().fromTextArea(Se.current,a({mode:de,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},ce));Ce(pe)}},[Se.current,ve]),ee.createElement("div",{className:"my-codemirror-container"},ee.createElement("textarea",{ref:Se}))}},35567:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return xn}});var ee=ne(67294),te=ne(4631),be=ne.n(te),De=ne(91033),Fe=ne(71749),Le=ne(57341),re=ne(82801),je=ne(88386),Ae=ne(49047),Te=ne(80785),ze=ne(85725),ke=({value:Ze="",className:ot,showTextOnly:We,showLines:Gt,style:pn={}})=>{const Wn=(0,ee.useMemo)(()=>"",[Ze]);return ee.createElement(ee.Fragment,null,ee.createElement("div",{dangerouslySetInnerHTML:{__html:Wn}}))},Pe=ne(67294),se=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(Ze,ot,We)=>ot in Ze?se(Ze,ot,{enumerable:!0,configurable:!0,writable:!0,value:We}):Ze[ot]=We,ae=(Ze,ot)=>{for(var We in ot||(ot={}))E.call(ot,We)&&z(Ze,We,ot[We]);if(b)for(var We of b(ot))x.call(ot,We)&&z(Ze,We,ot[We]);return Ze},oe=(Ze,ot)=>y(Ze,a(ot));let le=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function de({onActionCallback:Ze,title:ot,icon:We,actionName:Gt,className:pn="",children:Wn}){function Ia(){Ze(Gt)}return Pe.createElement("a",{title:ot,className:pn,onClick:Ia},Pe.createElement("i",{className:`${We}`}),Wn)}var ce=({watch:Ze,showNullButton:ot,showNullProgramButton:We,onActionCallback:Gt,fullScreen:pn,insertTemp:Wn,hidetoolBar:Ia,extraUse:ta})=>{const Ka=[...le,{title:`${Ze?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${Ze?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return Pe.createElement("ul",{className:"markdown-toolbar-container"},!Ia&&Ka.map((Xa,co)=>Pe.createElement("li",{key:co},Xa.actionName?Pe.createElement(de,oe(ae({},Xa),{onActionCallback:Gt})):Pe.createElement("span",{className:"v-line"}))),ot?Pe.createElement("li",null,Pe.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:Gt},Pe.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,We?Pe.createElement(Pe.Fragment,null,Pe.createElement("li",null,Pe.createElement(de,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:Gt},Pe.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),Pe.createElement("li",null,Pe.createElement(de,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:Gt},Pe.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Wn&&Pe.createElement("li",null,Pe.createElement(de,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Wn}`,onActionCallback:Gt},Pe.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ta&&Pe.createElement("li",null,ta),Pe.createElement("li",{className:"btn-full-screen"},Pe.createElement(de,{icon:`${pn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:pn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:Gt})))},Se=ne(76621),ve=ne(22150),Ce=ne(69677),pe=ne(71577),At=Object.defineProperty,st=Object.defineProperties,Vt=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,gt=Object.prototype.hasOwnProperty,It=Object.prototype.propertyIsEnumerable,Zt=(Ze,ot,We)=>ot in Ze?At(Ze,ot,{enumerable:!0,configurable:!0,writable:!0,value:We}):Ze[ot]=We,Ht=(Ze,ot)=>{for(var We in ot||(ot={}))gt.call(ot,We)&&Zt(Ze,We,ot[We]);if(et)for(var We of et(ot))It.call(ot,We)&&Zt(Ze,We,ot[We]);return Ze},Ke=(Ze,ot)=>st(Ze,Vt(ot));const ht={labelCol:{span:4},wrapperCol:{span:20}};var vn=({callback:Ze,onCancel:ot})=>{function We(Gt){Ze(Gt)}return ee.createElement(ve.default,Ke(Ht({},ht),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:We,style:{width:500}}),ee.createElement(ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ee.createElement(Ce.default,null)),ee.createElement(ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ee.createElement(Ce.default,null)),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(pe.ZP,{type:"ghost",onClick:ot},"\u53D6\u6D88")))},Nt=ne(57444),He=ne(70859),Ft=ne(14446),vt=ne(71230),Zn=ne(63205),Rt=ne(67294),Pn=({callback:Ze,onCancel:ot})=>{const We=document.createElement("canvas"),Gt=We.getContext("2d");We.width=1e3,We.height=800,Gt.fillStyle="#ffffff",Gt.fillRect(0,0,We.width,We.height);const pn=We.toDataURL("image/png");return Rt.createElement(Ft.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Rt.createElement(vt.Z,{style:{height:"100vh"}},Rt.createElement(Zn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:pn,visible:!0,title:String(Date.now())},onOk:Wn=>{Ze({src:Wn.url})},onClose:ot})))},Be=ne(23495);function jt(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(jt,go.CommandHandler),jt.prototype.canAlignSelection=function(){var Ze=this.diagram;return!(Ze===null||Ze.isReadOnly||Ze.isModelReadOnly||Ze.selection.count<2)},jt.prototype.alignLeft=function(){var Ze=this.diagram;Ze.startTransaction("aligning left");var ot=1/0;Ze.selection.each(function(We){We instanceof go.Link||(ot=Math.min(We.position.x,ot))}),Ze.selection.each(function(We){We instanceof go.Link||We.move(new go.Point(ot,We.position.y))}),Ze.commitTransaction("aligning left")},jt.prototype.alignRight=function(){var Ze=this.diagram;Ze.startTransaction("aligning right");var ot=-1/0;Ze.selection.each(function(We){if(!(We instanceof go.Link)){var Gt=We.actualBounds.x+We.actualBounds.width;ot=Math.max(Gt,ot)}}),Ze.selection.each(function(We){We instanceof go.Link||We.move(new go.Point(ot-We.actualBounds.width,We.position.y))}),Ze.commitTransaction("aligning right")},jt.prototype.alignTop=function(){var Ze=this.diagram;Ze.startTransaction("alignTop");var ot=1/0;Ze.selection.each(function(We){We instanceof go.Link||(ot=Math.min(We.position.y,ot))}),Ze.selection.each(function(We){We instanceof go.Link||We.move(new go.Point(We.position.x,ot))}),Ze.commitTransaction("alignTop")},jt.prototype.alignBottom=function(){var Ze=this.diagram;Ze.startTransaction("aligning bottom");var ot=-1/0;Ze.selection.each(function(We){if(!(We instanceof go.Link)){var Gt=We.actualBounds.y+We.actualBounds.height;ot=Math.max(Gt,ot)}}),Ze.selection.each(function(We){We instanceof go.Link||We.move(new go.Point(We.actualBounds.x,ot-We.actualBounds.height))}),Ze.commitTransaction("aligning bottom")},jt.prototype.alignCenterX=function(){var Ze=this.diagram,ot=Ze.selection.first();if(ot){Ze.startTransaction("aligning Center X");var We=ot.actualBounds.x+ot.actualBounds.width/2;Ze.selection.each(function(Gt){Gt instanceof go.Link||Gt.move(new go.Point(We-Gt.actualBounds.width/2,Gt.actualBounds.y))}),Ze.commitTransaction("aligning Center X")}},jt.prototype.alignCenterY=function(){var Ze=this.diagram,ot=Ze.selection.first();if(ot){Ze.startTransaction("aligning Center Y");var We=ot.actualBounds.y+ot.actualBounds.height/2;Ze.selection.each(function(Gt){Gt instanceof go.Link||Gt.move(new go.Point(Gt.actualBounds.x,We-Gt.actualBounds.height/2))}),Ze.commitTransaction("aligning Center Y")}},jt.prototype.alignColumn=function(Ze){var ot=this.diagram;ot.startTransaction("align Column"),Ze===void 0&&(Ze=0),Ze=parseFloat(Ze);var We=new Array;ot.selection.each(function(ta){ta instanceof go.Link||We.push(ta)});for(var Gt=0;Gt0){for(var ta=Wn.elt(Ia-1);ta!==null&&ta.isTreeExpanded&&!ta.isTreeLeaf;){var Ka=this._sortTreeChildrenByY(ta);ta=Ka.last()}ta!==null&&Ze.select(ta)}else Ze.select(pn)}}else if(We.key==="Down")if(ot.isTreeExpanded&&!ot.isTreeLeaf){var Gt=this._sortTreeChildrenByY(ot).first();Gt!==null&&Ze.select(Gt)}else for(;ot!==null;){var pn=ot.findTreeParentNode();if(pn===null)break;var Wn=this._sortTreeChildrenByY(pn),Ia=Wn.indexOf(ot);if(IaWn.y?1:pn.xWn.x?1:0}),ot},jt.prototype.copyToClipboard=function(Ze){go.CommandHandler.prototype.copyToClipboard.call(this,Ze),this._lastPasteOffset.set(this.pasteOffset)},jt.prototype.pasteFromClipboard=function(){var Ze=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ze,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ze},Object.defineProperty(jt.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ze){if(Ze!=="move"&&Ze!=="select"&&Ze!=="scroll"&&Ze!=="tree"&&Ze!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ze);this._arrowKeyBehavior=Ze}}),Object.defineProperty(jt.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ze){if(!(Ze instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ze);this._pasteOffset.set(Ze)}});var Tn=jt,oa=ne(18023),cn=ne(15746),zt=ne(33170),Ne={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},we=ne(67294),Me=(Ze,ot,We)=>new Promise((Gt,pn)=>{var Wn=Ka=>{try{ta(We.next(Ka))}catch(Xa){pn(Xa)}},Ia=Ka=>{try{ta(We.throw(Ka))}catch(Xa){pn(Xa)}},ta=Ka=>Ka.done?Gt(Ka.value):Promise.resolve(Ka.value).then(Wn,Ia);ta((We=We.apply(Ze,ot)).next())});function Xe({onCancel:Ze,callback:ot}){let We=(0,ee.useRef)(),Gt=(0,ee.useRef)(),pn=(0,ee.useRef)(),Wn=(0,ee.useRef)(!1);const Ia=(0,ee.useRef)(!1),[ta,Ka]=(0,ee.useState)(0);function Xa(){const Sn=Be.bx.make,Hn={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"};We.current=new Be.S0(Gt.current,{padding:20,grid:Sn(Be.s_,"Grid",Sn(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Sn(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:on=>{var In=on.diagram.commandHandler.addTopLevelParts(on.diagram.selection,!0);In||on.diagram.currentTool.doCancel()},commandHandler:Sn(Tn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:on=>{var In=on.subject;In.location=In.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 In=on.subject;setTimeout(()=>{on.diagram.commandHandler.editTextBlock()})},LinkRelinked:on=>{var In=on.parameter.part;In.invalidateConnectedLinks();var Dn=on.subject;on.diagram.toolManager.linkingTool.isForwards?Dn.toNode.invalidateConnectedLinks():Dn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),We.current.nodeTemplate=Sn(Be.NB,"Auto",{locationSpot:Be.z6.Center,locationObjectName:"SHAPE",desiredSize:new Be.$u(120,60),minSize:new Be.$u(40,40),resizable:!0,resizeCellSize:new Be.$u(10,10),rotatable:!0},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),new Be.KX("desiredSize","size",Be.$u.parse).makeTwoWay(Be.$u.stringify),Sn(Be.bn,{name:"SHAPE",fill:Hn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("figure"),new Be.KX("fill"),new Be.KX("stroke","borderColor"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),Sn(Be.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Sn(Be.al,{margin:1,textAlign:"center",overflow:Be.al.OverflowEllipsis,editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),We.current.nodeTemplate.toolTip=Sn("ToolTip",Sn(Be.s_,"Vertical",{maxSize:new Be.$u(200,NaN)},Sn(Be.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Be.KX("text")),Sn(Be.al,{font:"10pt sans-serif",textAlign:"center"},new Be.KX("text","details"))));function Qe(on,In){var Dn=(Bn,ka)=>{Bn.handled=!0,Bn.diagram.model.commit(ca=>{var ro=ka.part.adornedPart,fo=new Be.E9().setRectSpot(ro.actualBounds,on);fo.subtract(ro.location),fo.scale(2,2),fo.x+=Math.sign(fo.x)*130,fo.y+=Math.sign(fo.y)*130,fo.add(ro.location),fo.snapToGridPoint(Bn.diagram.grid.gridOrigin,Bn.diagram.grid.gridCellSize);var io=ca.copyNodeData(ro.data);ca.setGroupKeyForNodeData(io,ca.getGroupKeyForNodeData(ro.data)),ca.addNodeData(io);var Yo={from:ro.key,to:ca.getKeyForNodeData(io)};ca.addLinkData(Yo);var wo=Bn.diagram.findNodeForData(io);wo.location=fo,Bn.diagram.select(wo),setTimeout(()=>{Bn.diagram.commandHandler.editTextBlock()},20)})};return Sn(Be.bn,{figure:In,alignment:on,alignmentFocus:on.opposite(),width:on.equals(Be.z6.Top)||on.equals(Be.z6.Bottom)?25:18,height:on.equals(Be.z6.Top)||on.equals(Be.z6.Bottom)?18:25,fill:"orange",stroke:Hn.white,strokeWidth:4,mouseEnter:(Bn,ka)=>ka.fill="dodgerblue",mouseLeave:(Bn,ka)=>ka.fill="orange",isActionable:!0,click:Dn,contextClick:Dn})}function Ot(on){return Sn(Be.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:(In,Dn)=>Dn.fill="dodgerblue",mouseLeave:(In,Dn)=>Dn.fill="orange",click:(In,Dn)=>{In.diagram.commandHandler.showContextMenu(Dn.part.adornedPart)}},on||{})}We.current.nodeTemplate.selectionAdornmentTemplate=Sn(Be.uz,"Spot",Sn(Be.Vm,{padding:10}),Qe(Be.z6.Top,"TriangleUp"),Qe(Be.z6.Left,"TriangleLeft"),Qe(Be.z6.Right,"TriangleRight"),Qe(Be.z6.Bottom,"TriangleDown"),Ot({alignment:new Be.z6(.75,0)}));function ft(on,In){return(Dn,Bn)=>{Dn.handled=!0,Dn.diagram.model.commit(ka=>{ka.set(Bn.part.adornedPart.data,on,In)})}}function Tt(on,In){return In||(In="color"),Sn(Be.bn,{width:16,height:16,stroke:"lightgray",fill:on,margin:1,background:"transparent",mouseEnter:(Dn,Bn)=>Bn.stroke="dodgerblue",mouseLeave:(Dn,Bn)=>Bn.stroke="lightgray",click:ft(In,on),contextClick:ft(In,on)})}function en(){return[Sn("ContextMenuButton",Sn(Be.s_,"Horizontal",Tt(Hn.white,"fill"),Tt(Hn.beige,"fill"),Tt(Hn.extralightblue,"fill"),Tt(Hn.extralightred,"fill"))),Sn("ContextMenuButton",Sn(Be.s_,"Horizontal",Tt(Hn.lightgray,"fill"),Tt(Hn.lightgreen,"fill"),Tt(Hn.lightblue,"fill"),Tt(Hn.lightred,"fill")))]}function xt(){return[Sn("ContextMenuButton",Sn(Be.s_,"Horizontal",Tt(Hn.black),Tt(Hn.green),Tt(Hn.blue),Tt(Hn.red))),Sn("ContextMenuButton",Sn(Be.s_,"Horizontal",Tt(Hn.white),Tt(Hn.magenta),Tt(Hn.purple),Tt(Hn.orange)))]}function an(on,In){return In||(In="thickness"),Sn(Be.bn,"LineH",{width:16,height:16,strokeWidth:on,margin:1,background:"transparent",mouseEnter:(Dn,Bn)=>Bn.background="dodgerblue",mouseLeave:(Dn,Bn)=>Bn.background="transparent",click:ft(In,on),contextClick:ft(In,on)})}function kt(on,In){return In||(In="dash"),Sn(Be.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:on,margin:1,background:"transparent",mouseEnter:(Dn,Bn)=>Bn.background="dodgerblue",mouseLeave:(Dn,Bn)=>Bn.background="transparent",click:ft(In,on),contextClick:ft(In,on)})}function Kn(){return[Sn("ContextMenuButton",Sn(Be.s_,"Horizontal",an(1),an(2),an(3),an(4))),Sn("ContextMenuButton",Sn(Be.s_,"Horizontal",kt(null),kt([2,4]),kt([4,4])))]}function $n(on,In){return In||(In="figure"),Sn(Be.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:on,margin:1,background:"transparent",mouseEnter:(Dn,Bn)=>Bn.fill="dodgerblue",mouseLeave:(Dn,Bn)=>Bn.fill="lightgray",click:ft(In,on),contextClick:ft(In,on)})}We.current.nodeTemplate.contextMenu=Sn("ContextMenu",Sn("ContextMenuButton",Sn(Be.s_,"Horizontal",$n("Rectangle"),$n("RoundedRectangle"),$n("Ellipse"),$n("Diamond"))),Sn("ContextMenuButton",Sn(Be.s_,"Horizontal",$n("Parallelogram2"),$n("ManualOperation"),$n("Procedure"),$n("Cylinder1"))),Sn("ContextMenuButton",Sn(Be.s_,"Horizontal",$n("Terminator"),$n("CreateRequest"),$n("Document"),$n("TriangleDown"))),en(),xt(),Kn()),We.current.groupTemplate=Sn(Be.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Be.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(on,In)=>{var Dn=In.addMembers(In.diagram.selection,!0);Dn||In.diagram.currentTool.doCancel()},avoidable:!1},new Be.KX("location","loc",Be.E9.parse).makeTwoWay(Be.E9.stringify),Sn(Be.s_,"Auto",{name:"BODY"},Sn(Be.bn,{parameter1:10,fill:Hn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Be.z6.AllSides,toSpot:Be.z6.AllSides},new Be.KX("fill"),new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),Sn(Be.Vm,{background:"transparent",margin:20})),Sn(Be.al,{alignment:Be.z6.Top,alignmentFocus:Be.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Be.KX("text"),new Be.KX("stroke","color"))),We.current.groupTemplate.selectionAdornmentTemplate=Sn(Be.uz,"Spot",Sn(Be.s_,"Auto",Sn(Be.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Sn(Be.Vm,{margin:1.5})),Ot({alignment:Be.z6.TopRight,alignmentFocus:Be.z6.BottomRight})),We.current.groupTemplate.contextMenu=Sn("ContextMenu",en(),xt(),Kn()),We.current.linkTemplate=Sn(Be.rU,{layerName:"Foreground",routing:Be.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Be.KX("fromSpot","fromSpot",Be.z6.parse),new Be.KX("toSpot","toSpot",Be.z6.parse),new Be.KX("fromShortLength","dir",on=>on>=1?10:0),new Be.KX("toShortLength","dir",on=>on>=1?10:0),new Be.KX("points").makeTwoWay(),Sn(Be.bn,{strokeWidth:2},new Be.KX("stroke","color"),new Be.KX("strokeWidth","thickness"),new Be.KX("strokeDashArray","dash")),Sn(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,0),segmentOrientation:Be.rU.OrientAlong,alignmentFocus:Be.z6.Right,figure:"circle",width:10,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",on=>on===1)),Sn(Be.bn,{segmentIndex:-1,segmentOffset:new Be.E9(-10,6),segmentOrientation:Be.rU.OrientPlus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",on=>on>=1),new Be.KX("width","thickness",on=>7+3*on),new Be.KX("height","thickness",on=>7+3*on),new Be.KX("segmentOffset","thickness",on=>new Be.E9(-15,4+1.5*on))),Sn(Be.bn,{segmentIndex:0,segmentOffset:new Be.E9(15,-6),segmentOrientation:Be.rU.OrientMinus90,alignmentFocus:Be.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Be.KX("fill","color"),new Be.KX("visible","dir",on=>on===2),new Be.KX("width","thickness",on=>7+3*on),new Be.KX("height","thickness",on=>7+3*on),new Be.KX("segmentOffset","thickness",on=>new Be.E9(-15,4+1.5*on))),Sn(Be.al,{alignmentFocus:new Be.z6(0,1,-4,0),editable:!0},new Be.KX("text").makeTwoWay(),new Be.KX("stroke","color"))),We.current.linkTemplate.selectionAdornmentTemplate=Sn(Be.uz,Sn(Be.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:ba(2)},new Be.KX("pathPattern","thickness",ba)),Ot({alignmentFocus:new Be.z6(0,0,-6,-4)}));function ba(on){return Sn(Be.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(on+4).toString()+" H3"})}function za(on){var In="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return on===0?In="M0 0 M16 16 M0 8 L16 8":on===2&&(In="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Sn(Be.bn,{geometryString:In,margin:2,background:"transparent",mouseEnter:(Dn,Bn)=>Bn.background="dodgerblue",mouseLeave:(Dn,Bn)=>Bn.background="transparent",click:ft("dir",on),contextClick:ft("dir",on)})}function Ya(on){var In=(Dn,Bn)=>{Dn.handled=!0,Dn.diagram.model.commit(ka=>{var ca=Bn.part.adornedPart;ka.set(ca.data,on?"toSpot":"fromSpot",Be.z6.stringify(Be.z6.AllSides)),(on?ca.toNode:ca.fromNode).invalidateConnectedLinks()})};return Sn(Be.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Dn,Bn)=>Bn.background="dodgerblue",mouseLeave:(Dn,Bn)=>Bn.background="transparent",click:In,contextClick:In})}function eo(on,In){var Dn=0,Bn=Be.z6.RightSide;on.equals(Be.z6.Top)?(Dn=270,Bn=Be.z6.TopSide):on.equals(Be.z6.Left)?(Dn=180,Bn=Be.z6.LeftSide):on.equals(Be.z6.Bottom)&&(Dn=90,Bn=Be.z6.BottomSide),In||(Dn-=180);var ka=(ca,ro)=>{ca.handled=!0,ca.diagram.model.commit(fo=>{var io=ro.part.adornedPart;fo.set(io.data,In?"toSpot":"fromSpot",Be.z6.stringify(Bn)),(In?io.toNode:io.fromNode).invalidateConnectedLinks()})};return Sn(Be.bn,{alignment:on,alignmentFocus:on.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Dn,background:"transparent",mouseEnter:(ca,ro)=>ro.background="dodgerblue",mouseLeave:(ca,ro)=>ro.background="transparent",click:ka,contextClick:ka})}We.current.linkTemplate.contextMenu=Sn("ContextMenu",xt(),Kn(),Sn("ContextMenuButton",Sn(Be.s_,"Horizontal",za(0),za(1),za(2))),Sn("ContextMenuButton",Sn(Be.s_,"Horizontal",Sn(Be.s_,"Spot",Ya(!1),eo(Be.z6.Top,!1),eo(Be.z6.Left,!1),eo(Be.z6.Right,!1),eo(Be.z6.Bottom,!1)),Sn(Be.s_,"Spot",{margin:new Be.Zt(0,0,0,2)},Ya(!0),eo(Be.z6.Top,!0),eo(Be.z6.Left,!0),eo(Be.z6.Right,!0),eo(Be.z6.Bottom,!0)))));const Lo=`{ "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 tn=["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 Za(on){return console.log("shapeName:",on),tn.indexOf(on)>=0}var mo=new Be.YI(pn.current,{maxSelectionCount:1,linkTemplate:Sn(Be.rU,{locationSpot:Be.z6.Center,selectionAdornmentTemplate:Sn(Be.uz,"Link",{locationSpot:Be.z6.Center},Sn(Be.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Sn(Be.bn,{toArrow:"Standard",stroke:null}))},{routing:Be.rU.AvoidsNodes,curve:Be.rU.JumpOver,corner:5,toShortLength:4},new Be.KX("points"),Sn(Be.bn,{isPanelMain:!0,strokeWidth:2}),Sn(Be.bn,{toArrow:"Standard",stroke:null})),model:new Be.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Be.bn.getFigureGenerators().toArray().map(on=>({text:"\u672A\u547D\u540D",size:"100 100",figure:on.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return We.current.addDiagramListener("TextEdited",function(on){var In;const Dn=on.subject.part;var Bn=(In=document.activeElement)==null?void 0:In.value;typeof Bn=="string"&&Bn.trim()===""&&We.current.model.commit(function(ka){ka.set(Dn.data,"text","\u672A\u547D\u540D"),We.current.commandHandler.stopCommand()},"increment")}),mo.nodeTemplate=Sn(Be.NB,"Auto",{locationSpot:Be.z6.Center},new Be.KX("location","location",Be.E9.parse).makeTwoWay(Be.E9.stringify),Sn(Be.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 Be.KX("stroke").makeTwoWay(),new Be.KX("fill").makeTwoWay(),new Be.KX("figure")),Sn(Be.al,{margin:new Be.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Be.$u(16,16),maxSize:new Be.$u(10,NaN),textAlign:"center",editable:!0},new Be.KX("key").makeTwoWay())),setTimeout(()=>{We.current.grid=Sn(Be.s_,"Grid",Sn(Be.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Sn(Be.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),We.current.grid.visible=!0,We.current.grid.gridCellStroke="darkgray",We.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=We.current,We.current}const co=()=>Me(this,null,function*(){var Sn=We.current.makeImage();const Hn=yield(0,zt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Sn.src}});ot({src:Hn.url})});return(0,ee.useEffect)(()=>(setTimeout(()=>{Xa()},500),Ka(ta+1),()=>{We.current=null}),[]),we.createElement("div",{ref:Ia,className:Wn.current?`${Ne.maxH60} body-overflow-initial`:"body-overflow-initial"},we.createElement(Ft.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ta,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:we.createElement(vt.Z,null,we.createElement(cn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),we.createElement(cn.Z,{onClick:()=>{var Sn,Hn,Qe=We.current.selection.first();if(Wn.current=!Wn.current,document.activeElement&&Qe){let Ot=(Hn=(Sn=document.activeElement)==null?void 0:Sn.value)==null?void 0:Hn.trim();typeof Ot=="string"&&We.current.model.commit(function(ft){ft.set(Qe.data,"text",Ot||"\u672A\u547D\u540D"),We.current.commandHandler.stopCommand()},"increment")}Ka(ta+1)}},we.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:Ze},we.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ne.flowChartWrp},we.createElement("div",{style:{display:"flex",height:"100%"}},we.createElement("div",{style:{width:"300px",height:"100%"}},we.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),we.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ne.myPaletteDiv,ref:pn})),we.createElement("div",{style:{flex:1,position:"relative"}},we.createElement("div",{ref:Gt,style:{height:"80vh"}}))),we.createElement("div",{className:"tr"},we.createElement(pe.ZP,{size:"large",onClick:co,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var ct=Xe,Bt=ne(78045),un=ne(31795);const rn=Bt.ZP.Group,ln={margin:"0 8px"};var Gn=({callback:Ze,onCancel:ot})=>{function We(Gt){Ze(Gt)}return ee.createElement(ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:We},ee.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ee.createElement("span",{style:ln},"\u5355\u5143\u683C\u6570\uFF1A"),ee.createElement("span",{style:ln},"\u884C\u6570"),ee.createElement(ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ee.createElement(un.Z,null)),ee.createElement("span",{style:ln},"\u5217\u6570"),ee.createElement(ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ee.createElement(un.Z,null))),ee.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ee.createElement("span",{style:ln},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ee.createElement(ve.default.Item,{name:"align"},ee.createElement(rn,null,ee.createElement(Bt.ZP,{value:"default"},ee.createElement("i",{className:"fa fa-align-justify"})),ee.createElement(Bt.ZP,{value:"left"},ee.createElement("i",{className:"fa fa-align-left"})),ee.createElement(Bt.ZP,{value:"center"},ee.createElement("i",{className:"fa fa-align-center"})),ee.createElement(Bt.ZP,{value:"right"},ee.createElement("i",{className:"fa fa-align-right"}))))),ee.createElement("div",{className:"flex-container flex-end"},ee.createElement(pe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ee.createElement(pe.ZP,{type:"ghost",onClick:ot},"\u53D6\u6D88")))},ye=ne(47897),Ye=ne(61016),An=ne.n(Ye),Ue=(0,ee.forwardRef)(({use3d:Ze,width:ot,height:We,callback:Gt,showSaveButton:pn},Wn)=>{const Ia=(0,ee.useRef)(),ta=(0,ee.useRef)(),[Ka,Xa]=(0,ee.useState)(!1),co=(0,ee.useRef)({id:Ia,appName:"graphing",width:ot||1e3,height:We||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ee.useEffect)(()=>{ta.current=new(An())(co.current,!0),window.onload=function(){ta.current.inject("applet_container")}},[]);const Sn=()=>{var Hn=window.ggbApplet.getPNGBase64(1,!0,72);return Gt&&Gt(Hn),Hn};return(0,ee.useEffect)(()=>{co.current.appName=Ka?"3D":"graphing",ta.current.inject("applet_container")},[Ka]),(0,ee.useEffect)(()=>{Xa(Ze)},[Ze]),(0,ee.useImperativeHandle)(Wn,()=>({getImgData:Sn})),ee.createElement(ee.Fragment,null,ee.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Ia}),ee.createElement(vt.Z,{align:"middle"},ee.createElement(cn.Z,{flex:1},ee.createElement(ye.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Ka,onChange:Hn=>Xa(Hn)})),ee.createElement(cn.Z,null,ee.createElement(pe.ZP,{size:"large",onClick:Sn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),$t=ne(36527),Re=ne(25934),$e=ne(2453);const Pt="link",yt="upload-image",Mt="add-flowchart",sn="draw-image",Nn="add-flowchart",yn="code-block",hn="add-table",ia="------------",qn={default:ia,left:`:${ia}`,center:`:${ia}:`,right:`${ia}:`};var Fn=ne(99914),Ea=(Ze,ot,We)=>new Promise((Gt,pn)=>{var Wn=Ka=>{try{ta(We.next(Ka))}catch(Xa){pn(Xa)}},Ia=Ka=>{try{ta(We.throw(Ka))}catch(Xa){pn(Xa)}},ta=Ka=>Ka.done?Gt(Ka.value):Promise.resolve(Ka.value).then(Wn,Ia);ta((We=We.apply(Ze,ot)).next())});function ra(){}let _a=0;const ja=1e4,Na="\u2581",Aa="@\u2581\u2581@",qt="@\u2581@",bt=` **\u6A21\u677F\u6807\u9898** \u6A21\u677F\u6B63\u6587\u5185\u5BB9\uFF0C\u53EF\u8F93\u5165\u6587\u672C\u5185\u5BB9\u548C\u7C98\u8D34\u56FE\u7247\u7B49\u64CD\u4F5C`,gn=["pptm","pptx","ppt","pot","pps","ppa","potx","ppsx","ppam","pptm","potm","ppsm","doc","docx","dot","dotx","docm","dotm","xls","xlsx","csv","xlt","xla","xltx","xlsm","xltm","xlam","xlsb"];function aa(Ze){return/^\d+$/.test(Ze)?`${Ze}px`:Ze}const Oa=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",ao={[Oa+"-B"]:"bold",[Oa+"-I"]:"italic"},$a={[Pt]:"\u6DFB\u52A0\u94FE\u63A5",[yn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[yt]:"\u6DFB\u52A0\u56FE\u7247",[sn]:"\u6DFB\u52A0\u753B\u56FE",[Mt]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[hn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var xn=({defaultValue:Ze="",onChange:ot,width:We="100%",height:Gt=400,miniToolbar:pn=!1,isFocus:Wn=!1,watch:Ia,insertTemp:ta,mode:Ka="markdown",id:Xa="markdown-editor-id",showResizeBar:co=!1,noStorage:Sn=!1,showNullButton:Hn=!1,showNullProgramButton:Qe=!1,hidetoolBar:Ot=!1,fullScreen:ft=!1,onBlur:Tt,onCMBeforeChange:en,onFullScreen:xt,className:an="",disablePaste:kt=!1,disabled:Kn=!1,disabledFill:$n=!1,placeholder:ba="",values:za="",extraUse:Ya,isShowTool:eo=!0,disableImageUpload:Lo=!1})=>{const[tn,Za]=(0,ee.useState)(null),[mo,on]=(0,ee.useState)(Ze),[In,Dn]=(0,ee.useState)(Ia),[Bn,ka]=(0,ee.useState)(ft),[ca,ro]=(0,ee.useState)(""),[fo,io]=(0,ee.useState)(0),[Yo,wo]=(0,ee.useState)(Gt),[Qo,Oo]=(0,ee.useState)(!1),Ga=(0,ee.useRef)((0,Re.Z)()),xo=(0,ee.useRef)(!1),Wo=(0,ee.useRef)(),[Xo,qo]=(0,ee.useState)(0),[Jo,zo]=(0,ee.useState)(0),No=(0,ee.useRef)(),Da=(0,ee.useRef)(),tt=(0,ee.useRef)(),lt=(0,ee.useRef)(),wt=()=>Ea(void 0,null,function*(){var Xt;const Dt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Ga.current}});(Xt=Dt==null?void 0:Dt.attachments)!=null&&Xt.length&&(console.log("cm:",tn,No),Dt.attachments.map(Et=>{Et.content_type.indexOf("image")>-1?tn.replaceSelection(`![,](/api/attachments/${Et.id}?type=${Et.content_type})`):Et.content_type.indexOf("video")>-1?tn.replaceSelection(``):Et.content_type.indexOf("pdf")>-1?tn.replaceSelection(`${Et.name}`):tn.replaceSelection(`[${Et.name}](${ENV.API_SERVER}/api/attachments/${Et.id}?type=${Et.content_type})`)}))});(0,ee.useEffect)(()=>{const Xt=window.scrollY||window.pageYOffset;on(za),tn==null||tn.setValue(za),window.scrollTo(0,Xt)},[za]),(0,ee.useEffect)(()=>{xt==null||xt(Bn)},[Bn]),(0,ee.useEffect)(()=>{if(No.current){let Xt=function(Et,Jt){var Wt,ga;if(kt){Jt.preventDefault();return}const da=Jt.clipboardData;if(da){const Kt=da.types.toString(),zn=da.items;if(Kt==="Files"||da.types.indexOf("Files")>-1){if(Jt.preventDefault(),Ka=="stex")return;try{let Yn=zn[1];((Wt=zn[0])==null?void 0:Wt.kind)==="file"&&(Yn=zn[0]);const Mn=Yn.getAsFile(),la=Mn.name.split(".").pop();if(Lo&&((ga=Mn==null?void 0:Mn.type)==null?void 0:ga.indexOf("image"))>-1)return!0;(0,He.I)(Mn,wa=>{var Qa,po,rt;wa.id?((Qa=Mn==null?void 0:Mn.type)==null?void 0:Qa.indexOf("image"))>-1?Dt.replaceSelection(``):((po=Mn==null?void 0:Mn.type)==null?void 0:po.indexOf("video"))>-1?Dt.replaceSelection(``):((rt=Mn==null?void 0:Mn.type)==null?void 0:rt.indexOf("pdf"))>-1?Dt.replaceSelection(`${Mn.name}`):gn.includes(la)?Dt.replaceSelection(`${Mn.name}`):Dt.replaceSelection(`[${Mn.name}](/api/attachments/${wa.id}?type=${wa.content_type})`):(wa==null?void 0:wa.status)===401&&($e.ZP.warning((wa==null?void 0:wa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Yn){$e.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Dt=be().fromTextArea(No.current,{mode:Ka,lineNumbers:!pn,lineWrapping:!0,value:Ze,autoCloseTags:!Qe,autoCloseBrackets:!0});return Dt.on("keyup",function(Et,Jt){Jt.keyCode===8&&(Et.getValue()==""?Dt.setOption("placeholder",ba):Dt.setOption("placeholder",null))}),Dt.on("keydown",function(Et,Jt){if(Jt.keyCode===8){var Wt=Ct(Et);Wt&&Jt.preventDefault()}}),Wn&&Dt.focus(),Dt.on("paste",Xt),Dt.on("dragleave",function(Et,Jt){Da.current.classList.remove("mouse-hover-md")}),Kn&&Dt.on("beforeChange",function(Et,Jt){(Jt.origin==="paste"||Jt.origin==="+input")&&Jt.cancel()}),Za(Dt),()=>{Dt.off("paste",Xt)}}},[]);const he=(0,ee.useCallback)(()=>{if(Da.current)try{}catch(Xt){console.log(Xt,"---- to set md editor body height")}},[Yo,Da,Bn]);(0,ee.useEffect)(()=>{function Xt(){let Dt=new De.Z(Et=>{for(let Jt of Et)(Jt.target.offsetHeight>0||Jt.target.offsetWidth>0)&&(he(),tn.setSize("100%","100%"),tn.refresh())});return Dt.observe(No.current.parentElement),Dt}if(tn){const Dt=Xt();return()=>{var Et,Jt;(Et=No.current)!=null&&Et.parentElement&&Dt.unobserve((Jt=No.current)==null?void 0:Jt.parentElement)}}},[tn,he]),(0,ee.useEffect)(()=>{if(tn){let Xt=[];for(const[Dt,Et]of Object.entries(ao)){let Jt={[Dt]:()=>{dn(Et)}};Xt.push(Jt),tn.addKeyMap(Jt)}return Wo.current=setInterval(()=>{xo.current&&wt()},4e3),()=>{clearInterval(Wo.current);for(let Dt of Xt)tn.removeKeyMap(Dt)}}},[tn]),(0,ee.useEffect)(()=>{ft!==Bn&&ka(ft)},[ft]),(0,Fn.Z)(()=>{if(!Sn&&fo>0){let Xt=new Date().getTime(),Dt=window.sessionStorage.getItem(Xa);Xt>=fo+ja&&(!Dt||Dt!==mo)&&(window.sessionStorage.setItem(Xa,mo),Oo(!0))}},ja),(0,ee.useEffect)(()=>{Dn(Ia)},[tn,Ia]),(0,ee.useEffect)(()=>{tn&&Wn&&tn.focus()},[tn,Wn]),(0,ee.useEffect)(()=>{if(In&&tn){let Xt=function(Et){let Jt=Et.target;if(lt.current){let Wt=Jt.scrollTop/Jt.scrollHeight;lt.current.scrollTop=lt.current.scrollHeight*Wt}};const Dt=tn.getScrollerElement();return Dt.addEventListener("scroll",Xt),()=>{Dt.removeEventListener("scroll",Xt)}}},[tn,In]),(0,ee.useEffect)(()=>{if(tn&&en){let Xt=function(Dt,Et){en(Dt,Et)};return tn.on("beforeChange",Xt),()=>{tn.off("beforeChange",Xt)}}},[tn,en]),(0,ee.useEffect)(()=>{if(tn&&Tt){let Xt=function(){Tt(tn.getValue())};return tn.on("blur",Xt),()=>{tn.off("blur",Xt)}}},[tn,Tt]);function Ct(Xt,Dt){var Et=Xt.getDoc(),Jt=Et.getCursor(),Wt=Et.getLine(Jt.line),ga=Wt.charAt(Jt.ch-1),da=Wt.lastIndexOf("@\u2581@",Jt.ch),Kt=Wt.lastIndexOf("@\u2581\u2581@",Jt.ch),zn=da>Kt?da:Kt,Yn=da>Kt?3:4;if(Aa.indexOf(ga)===-1)return null;if(console.log("change1:",Dt,Xt,Wt,Jt,zn,da,Kt,ga),zn>=0&&Jt.ch-zn<5){var Mn=zn+Yn;return Et.replaceRange("",{line:Jt.line,ch:zn},{line:Jt.line,ch:Mn}),{line:Jt.line,ch:Mn}}return null}(0,ee.useEffect)(()=>{if(tn){let Xt=function(Dt,Et){const Jt=Dt.getValue();on(Jt),io(new Date().getTime()),Dt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),ot&&(Qe?ot(Jt,Xn(Jt)):ot(Jt))};return tn.on("change",Xt),()=>{tn.off("change",Xt)}}},[tn,ot]),(0,ee.useEffect)(()=>{if(tn)if(Ze==null)tn.setValue(""),on("");else{const Xt=window.scrollY||window.pageYOffset;Ze!==tn.getValue()&&(tn.setValue(Ze),on(Ze),tn.setCursor(Kn?1:tn.lineCount(),0),window.scrollTo(0,Xt))}},[tn,Ze]);const dn=(0,ee.useCallback)(Xt=>{const Dt=tn.getCursor(),Et=tn.getSelection();let Jt=Et.split(` `);switch(Xt){case"bold":return tn.replaceSelection("**"+Et+"**"),Et===""&&tn.setCursor(Dt.line,Dt.ch+2),tn.focus();case"italic":return tn.replaceSelection("*"+Et+"*"),Et===""&&tn.setCursor(Dt.line,Dt.ch+1),tn.focus();case"code":return tn.replaceSelection("`"+Et+"`"),Et===""&&tn.setCursor(Dt.line,Dt.ch+1),tn.focus();case"inline-latex":return ro("inline-latex"),tn.focus();case"latex":return tn.replaceSelection("```latex\n"+Et+"\n```"),tn.setCursor(Dt.line+1,Et.length+1),tn.focus();case"line-break":return tn.replaceSelection(`
`),tn.focus();case"list-ul":return Et===""?tn.replaceSelection("- "+Et):tn.replaceSelection(Jt.map(Wt=>Wt===""?"":`- ${Wt}`).join(` `)),tn.focus();case"list-ol":return Et===""?tn.replaceSelection("1. "+Et):tn.replaceSelection(Jt.map((Wt,ga)=>Wt===""?"":`${ga+1}. ${Wt}`).join(` `)),tn.focus();case"add-null-ch":return Et===""&&tn.setCursor(Dt.line,Dt.ch),tn.replaceSelection(Na),tn.focus();case"add-signal":return Et===""&&tn.setCursor(Dt.line,Dt.ch),tn.replaceSelection(qt),tn.focus();case"add-multiple":return Et===""&&tn.setCursor(Dt.line,Dt.ch),tn.replaceSelection(Aa),tn.focus();case"inster-template-1":return Et===""&&tn.setCursor(Dt.line,Dt.ch),tn.replaceSelection(bt),tn.focus();case"eraser":return tn.setValue(""),tn.focus();case"trigger-watch":return Dn(!In),tn.focus();case"trigger-full-screen":return ka(!Bn),tn.focus();case Pt:ro(Pt);return;case yn:ro(yn);return;case yt:ro(yt);return;case sn:ro(sn);return;case"maths-latex":ro("maths-latex");return;case Mt:ro(Mt);return;case hn:ro(hn);return;default:throw new Error}},[tn,In,Bn]),nn=(0,ee.useCallback)((Xt,Dt)=>{var Et,Jt,Wt,ga,da,Kt;if(ro(""),!(Lo&&ca==yt))switch(ca){case Pt:const{title:wa,link:Qa}=Xt;return tn.replaceSelection(`[${wa}](${Qa})`),tn.focus();case yn:const{language:po,content:rt}=Xt;return tn.replaceSelection(["```"+po,rt,"```"].join(` `)),tn.focus();case"maths-latex":for(var zn=atob(Xt),Yn=new Uint8Array(zn.length),Mn=0;Mn{Un.id?tn.replaceSelection(`![,](/api/attachments/${Un.id}?type=${Un.content_type})`):(Un==null?void 0:Un.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":tn.replaceSelection("`$$"+Xt+"$$`");break;case yt:case sn:case Nn:const{src:at,alt:dt}=Xt,Oe=Dt,me=(Wt=(Jt=(Et=Oe==null?void 0:Oe.name)==null?void 0:Et.split("."))==null?void 0:Jt.pop)==null?void 0:Wt.call(Jt);return((ga=Oe==null?void 0:Oe.type)==null?void 0:ga.indexOf("image"))>-1||!(Oe!=null&&Oe.type)?Oe.align||Oe.width?tn.replaceSelection(`

${dt||

`):tn.replaceSelection(`${dt||`):((da=Oe==null?void 0:Oe.type)==null?void 0:da.indexOf("video"))>-1?tn.replaceSelection(``):((Kt=Oe==null?void 0:Oe.type)==null?void 0:Kt.indexOf("pdf"))>-1?tn.replaceSelection(`${Oe.name}`):gn.includes(me)?tn.replaceSelection(`${Oe.name}`):tn.replaceSelection(`[${Oe.name}](${at})`),tn.focus();case hn:const{row:Ie,col:it,align:Cn}=Xt;let jn=` `;for(let Un=0;Un{switch(ca){case Pt:return ee.createElement(vn,{callback:nn,onCancel:nt});case yn:return ee.createElement(Nt.Z,{callback:nn,onCancel:nt});case yt:return ee.createElement(He.Z,{callback:nn,onCancel:nt});case Mt:return ee.createElement(ct,{callback:nn,onCancel:nt});case hn:return ee.createElement(Gn,{callback:nn,onCancel:nt});case"maths-latex":return ee.createElement(Ue,{showSaveButton:!0,callback:nn});case"inline-latex":return ee.createElement($t.Z,{showSaveButton:!0,callback:nn});default:return null}},[ca]);function nt(){ro("")}(0,ee.useEffect)(()=>{if(tt.current){let Xt=function(da){Wt=!0,ga=da.pageY},Dt=function(){Wt=!1},Et=function(da){if(Wt){let Kt=da.pageY-ga;Kt<0&&(Kt=0),Kt>300&&(Kt=300);let zn=Gt+Kt+"px";wo(zn)}},Jt=tt.current,Wt=!1,ga=0;return Jt.addEventListener("mousedown",Xt),document.addEventListener("mousemove",Et),document.addEventListener("mouseup",Dt),()=>{Jt.removeEventListener("mousedown",Xt),document.removeEventListener("mousemove",Et),document.removeEventListener("mouseup",Dt)}}},[tn,tt]),(0,ee.useEffect)(()=>{wo(Gt)},[Gt]);const St=aa(We),mn=aa(Yo),On={width:St,height:mn},ea=(0,ee.useMemo)(()=>{if(fo){let Xt=new Date(fo),Dt=Xt.getHours(),Et=Xt.getMinutes(),Jt=Xt.getSeconds();return Dt=Dt<10?"0"+Dt:Dt,Et=Et<10?"0"+Et:Et,Jt=Jt<10?"0"+Jt:Jt,`${Dt}:${Et}:${Jt}`}return 0},[fo]),Xn=Xt=>{const Dt=[];if(Qe){let Et=-1;Xt=Xt.replace(/(@▁▁@|@▁@)/g,function(Jt,Wt,ga){Dt.push({multiLine:Jt!==qt})})}return Dt};function _n(){window.sessionStorage.removeItem(Xa),Oo(!1),io(0)}function va(){Oo(!1),io(0),tn.setValue(window.sessionStorage.getItem(Xa))}(0,ee.useEffect)(()=>{$a[ca]&&ca!==sn&&ca!==Mt&&setTimeout(()=>{const Xt=document.getElementsByClassName("markdown-popup-form")[0],Dt=window.innerWidth/2-Xt.offsetWidth/2,Et=window.innerHeight/2-Xt.offsetHeight/2;qo(Dt),zo(Et)},0)},[ca]);const Ca=Xt=>{Xt.preventDefault();const Dt=Xt.clientX-Xo,Et=Xt.clientY-Jo;document.body.onmousemove=Jt=>{let Wt=Jt.clientX-Dt,ga=Jt.clientY-Et;const da=document.getElementsByClassName("markdown-popup-form")[0],Kt=window.innerWidth-da.offsetWidth,zn=window.innerHeight-da.offsetHeight;Wt=Math.max(0,Math.min(Wt,Kt)),ga=Math.max(0,Math.min(ga,zn)),En(Jt.clientX,Jt.clientY,Dt,Et)&&(qo(Wt),zo(ga))},document.body.onmouseup=function(){document.body.onmousemove=null}},En=(Xt,Dt,Et,Jt)=>{const Wt=document.body.clientHeight,ga=document.body.clientWidth;return Xt<20&&Et>Xt||Xt>ga-20&&EtDt||Dt>Wt-20&&JtCe in ve?ke(ve,Ce,{enumerable:!0,configurable:!0,writable:!0,value:pe}):ve[Ce]=pe,x=(ve,Ce)=>{for(var pe in Ce||(Ce={}))a.call(Ce,pe)&&E(ve,pe,Ce[pe]);if(y)for(var pe of y(Ce))b.call(Ce,pe)&&E(ve,pe,Ce[pe]);return ve},z=(ve,Ce)=>Pe(ve,se(Ce));const{useForm:ae}=ee.default,oe={width:280,marginRight:10},le={labelCol:{span:5},wrapperCol:{span:19}};var de=({callback:ve,onCancel:Ce})=>{const[pe]=ae();let At=(0,Ae.useRef)();function st(gt){At.current.width=pe.getFieldValue("width"),At.current.align=pe.getFieldValue("align"),ve(gt,At.current)}function Vt(gt,It){if(gt.status===-1){te.ZP.error(gt.message);return}pe.setFieldsValue({src:`/api/attachments/${gt.id}`,type:It.type})}function et(gt){let It=gt.target.files[0];At.current=It,Se(It,Vt)}return ze.createElement(ee.default,z(x({form:pe},le),{className:"upload-image-panel",onFinish:st,style:{width:470,overflow:"hidden"}}),ze.createElement(ee.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},ze.createElement("div",{className:"flex-container"},ze.createElement(ee.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},ze.createElement(be.default,{style:oe})),ze.createElement(ce,{onFileChange:et}))),ze.createElement(ee.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},ze.createElement(be.default,{style:{width:264}})),ze.createElement(ee.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},ze.createElement(De.Z,null,ze.createElement(ee.default.Item,{name:"width",style:{margin:0}},ze.createElement(Fe.Z,{style:{width:264}})),ze.createElement("span",{className:"ml8"},"%"))),ze.createElement(ee.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},ze.createElement(Le.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),ze.createElement("aside",null,ze.createElement(ee.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},ze.createElement(re.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ze.createElement(re.ZP,{type:"default",onClick:Ce},"\u53D6\u6D88"))))};function ce({onFileChange:ve}){return ze.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",ze.createElement("input",{type:"file",onChange:ve}))}function Se(ve,Ce){if(!ve)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Te.bg)())throw te.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let pe=new FormData;pe.append("editormd-image-file",ve),pe.append("file_param_name","editormd-image-file"),pe.append("byxhr","true");var At=new window.XMLHttpRequest;At.withCredentials=!0,At.addEventListener("load",function(st){Ce(JSON.parse(st.target.responseText),ve)},!1),At.addEventListener("error",function(st){console.error(st)},!1),At.open("POST",`${je.KI}/api/attachments.json`),At.send(pe)}},76621:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return be}});var ee=ne(67294),te=ne(73935);class be extends ee.Component{constructor(Fe){super(Fe);const Le=window.document;this.node=Le.createElement("div"),Le.body.appendChild(this.node)}render(){const{children:Fe}=this.props;return(0,te.createPortal)(Fe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},5476:function(Ve,mt,ne){"use strict";ne.d(mt,{i:function(){return le},Z:function(){return ce}});var ee={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},te=ne(57953),be=ne(83062),De=ne(38703),Fe=ne(94184),Le=ne.n(Fe),re=ne(28706),je=ne(26194),Ae=ne(52262),Te=ne(79005),ze=ne(20345),ke=ne(77882),Pe=ne(31081),se=ne(75309),y=ne(71979),a=ne(47558),b=ne(60345),E=ne(66832),x=ne(96593),z=ne(19664),ae=ne(91833),oe=ne(67294);const le=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Te,swimg:ze},{name:"101\u8BA1\u5212",ptimg:ke,swimg:Pe},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:se,swimg:y},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:a,swimg:b},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:E,swimg:x},{name:"\u519B\u961F\u4E00\u6D41",ptimg:z,swimg:ae}];var ce=({className:Se,dataSource:ve=[],col:Ce=4,right:pe,bottom:At=23,precision:st=0,wrapWidth:Vt=1200,trackEventItems:et,loading:gt,onRemove:It=()=>{},isCurrent:Zt=!0,showAlias:Ht=!1,showProgress:Ke=!1})=>{const ht=Math.floor((Vt-(Ce-1)*pe)/Ce),vn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Nt=>(window.ENV==="build"&&(Nt.ptimg=`/react/build${Nt.ptimg}`,Nt.swimg=`/react/build${Nt.swimg}`),Nt));return oe.createElement(te.Z,{spinning:gt},oe.createElement("div",{className:Le()(ee.list,Se)},!!(ve!=null&&ve.length)&&(ve==null?void 0:ve.map((Nt,He)=>{var Ft,vt,Zn,Rt,Pn,Be;const{name:jt,id:Tn,identifier:oa,featured:cn,school_name:zt,image_url:Ne,excellent:we,is_plan:Me}=Nt;return oe.createElement("div",{key:Tn,className:Zt&&Ke?ee.wrapisCurrent:ee.wrap,style:{width:ht,marginRight:(1+He)%Ce===0?0:pe+st,marginBottom:At}},oe.createElement("a",{className:ee.li,onClick:Xe=>{Xe.preventDefault(),Xe.stopPropagation(),et&&(0,re.L9)([et]),(0,re.xg)(`/paths/${oa}`)}},oe.createElement("div",{className:ee.img},oe.createElement("img",{className:ee.cover,src:`${Ne}`}),Zt&&(0,Ae.bg)()&&(Nt==null?void 0:Nt.studying)&&oe.createElement("div",{className:`${ee.movebq} user-path-items`,onClick:Xe=>{Xe.stopPropagation(),It(Nt)}},oe.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),oe.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Ft=Nt==null?void 0:Nt.subject_tags)==null?void 0:Ft.map((Xe,ct)=>{var Bt,un;if(ct===0){const ln=(Bt=vn.find(Gn=>Gn.name==Xe))==null?void 0:Bt.swimg;return oe.createElement("img",{className:ee.sign,src:ln,style:{left:"-4px"}})}const rn=(un=vn.find(ln=>ln.name==Xe))==null?void 0:un.ptimg;return oe.createElement("img",{className:ee.sign,src:rn,style:{left:`${48+52*(ct-1)+2*ct}px`}})}),oe.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Nt==null?void 0:Nt.excellent)&&oe.createElement("div",{className:ee.bq},"\u5F00\u653E\u8BFE\u7A0B"))),oe.createElement("div",{className:ee.name},oe.createElement(be.Z,{title:Ht&&(Nt!=null&&Nt.excellent_alias_name)?oe.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${jt}`,oe.createElement("br",null),oe.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Nt==null?void 0:Nt.excellent_alias_name}`)):jt},oe.createElement("span",{className:ee.e},Ht&&(Nt==null?void 0:Nt.excellent_alias_name)||jt))),Zt&&Ke&&((vt=Nt==null?void 0:Nt.progress)==null?void 0:vt.all_score)!=0&&oe.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},oe.createElement(De.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((Zn=Nt==null?void 0:Nt.progress)==null?void 0:Zn.my_score)/((Rt=Nt==null?void 0:Nt.progress)==null?void 0:Rt.all_score)*100).toFixed(),showInfo:!1}),"\u5DF2\u5B8C\u6210 ",(Pn=Nt==null?void 0:Nt.progress)==null?void 0:Pn.my_score,"/",(Be=Nt==null?void 0:Nt.progress)==null?void 0:Be.all_score),(!Zt||!Ke)&&oe.createElement("div",{className:ee.tags},oe.createElement("div",null,oe.createElement(be.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},oe.createElement("span",null,oe.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),oe.createElement("span",null,Nt.stages_count))),oe.createElement(be.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},oe.createElement("span",null,oe.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),oe.createElement("span",null,Nt.members_count)))))))})),!ve.length&&oe.createElement(je.Z,null)))}},80150:function(Ve,mt,ne){"use strict";ne.d(mt,{jL:function(){return Fe},w9:function(){return aa},vv:function(){return We},dN:function(){return $a},QD:function(){return Oo},cQ:function(){return ct.Z},vg:function(){return Na},Oz:function(){return qn},op:function(){return ro},O5:function(){return mn},_b:function(){return Jo},t7:function(){return At},tT:function(){return et},Gi:function(){return Ot},YG:function(){return Ia},Ed:function(){return Hn},kT:function(){return Xa},qp:function(){return b},Um:function(){return le},K3:function(){return z},vr:function(){return Wo},qE:function(){return Yo},Je:function(){return Zt},wb:function(){return Be},rC:function(){return Xe},lB:function(){return oa},cq:function(){return kt},kO:function(){return za},tp:function(){return Se},Si:function(){return Xn},k8:function(){return po},Du:function(){return Jt}});var ee=ne(67294),te={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},be="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlB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rsXbdS/WD0L72ZThfA4NrqiLIdlMGSfjtBYn1Nx9HH1wDQ7Nj9v6/zGB3S5HWCvUlFfvWiGWMYFQpQzzXSoAfxlWD1w0X1y33tPEkyy33CPk6/TBx8yF7f05pDjuIrOzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Fe=({dataSource:rt=[],img:at,imgWidth:dt=346,title:Oe,sunTitle:me,bannerExtraContent:Ie})=>ee.createElement("div",{className:te.banner},ee.createElement("div",{className:te.content},ee.createElement("aside",null,ee.createElement("p",null,ee.createElement("b",null,Oe),ee.createElement("span",null,me)),rt.length>0&&ee.createElement("div",{className:te.btns},rt.map((it,Cn)=>ee.createElement("div",{key:Cn,onClick:it.click},it.name,it.sign?ee.createElement("img",{src:be,width:39}):null))),Ie),at&&ee.createElement("img",{style:{marginTop:33,marginRight:38},src:at,width:dt}))),Le={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},re=ne(94184),je=ne.n(re),Ae=ne(96486),Te=Object.defineProperty,ze=Object.getOwnPropertySymbols,ke=Object.prototype.hasOwnProperty,Pe=Object.prototype.propertyIsEnumerable,se=(rt,at,dt)=>at in rt?Te(rt,at,{enumerable:!0,configurable:!0,writable:!0,value:dt}):rt[at]=dt,y=(rt,at)=>{for(var dt in at||(at={}))ke.call(at,dt)&&se(rt,dt,at[dt]);if(ze)for(var dt of ze(at))Pe.call(at,dt)&&se(rt,dt,at[dt]);return rt},b=({dataSource:rt=[],value:at,onChange:dt,onTitleChange:Oe,className:me,title:Ie,titleWidth:it=41,style:Cn={},fontColor:jn="#6A7283",showCount:Un,classNameActive:na,styleItem:Ut={}})=>{const[Ln,Ua]=(0,ee.useState)(0),[to,Ta]=(0,ee.useState)(!1),Sa=(0,ee.useRef)(null),Eo=(0,ee.useRef)(null);return(0,ee.useEffect)(()=>{var lo;rt.length!==0&&(((lo=Sa==null?void 0:Sa.current)==null?void 0:lo.clientHeight)>97?Ua(1):Ua(0)),rt.length===0&&Ua(0),Ta(!1)},[rt]),ee.createElement("div",{className:je()(Le.row,me),style:Cn},ee.createElement("div",{onClick:(0,Ae.throttle)(()=>Oe==null?void 0:Oe(),2e3),style:{width:it,marginTop:to?12:4},className:`${Le.title} ${Oe?"current":""}`},Ie),ee.createElement("div",{className:to?`${Le.tagsWrap} ${Le.tagsBorderWrap}`:Le.tagsWrap},ee.createElement("div",{className:Le.bar,ref:Eo,style:Ln>0?{height:Ln===1?97:"auto",overflow:Ln===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ee.createElement("div",{className:Le.tag,ref:Sa},rt==null?void 0:rt.map(lo=>ee.createElement("span",{onClick:()=>dt(lo.id),key:lo.id,style:y(y({color:jn},Ut),(lo==null?void 0:lo.style)||{}),className:at===lo.id?je()(na||Le.active,lo.classNameActive):""},ee.createElement("span",{title:lo.name,className:Le.name},lo.name),!!Un&&ee.createElement("span",{className:Le.num},lo.count))))),!!Ln&&ee.createElement(ee.Fragment,null,Ln===1?ee.createElement("div",{onClick:()=>{var lo;Ua(2),((lo=Sa==null?void 0:Sa.current)==null?void 0:lo.clientHeight)>245?Ta(!0):Ta(!1)},className:Le.action},"\u5C55\u5F00",ee.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ee.createElement("div",{onClick:()=>{Eo.current.scrollTop=0,Ua(1),Ta(!1)},className:Le.action},"\u6536\u8D77",ee.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},E={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},z=({dataSource:rt=[],value:at,onChange:dt,onTitleChange:Oe,className:me,title:Ie,titleWidth:it=41,style:Cn={},fontColor:jn="#6A7283",showCount:Un,expand:na=!0})=>{const[Ut,Ln]=(0,ee.useState)(0),[Ua,to]=(0,ee.useState)(!1),Ta=(0,ee.useRef)(null),Sa=(0,ee.useRef)(null),[Eo,lo]=(0,ee.useState)(na);return ee.createElement("div",{className:je()(E.row,me),style:Cn},ee.createElement("div",{className:"flex item-center justify-between"},ee.createElement("div",{onClick:(0,Ae.throttle)(()=>Oe==null?void 0:Oe(),2e3),style:{width:it,marginTop:Ua?12:4},className:`${E.title} ${Oe?"current":""}`},Ie),ee.createElement("i",{className:`iconfont ${Eo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Eo?8:10},onClick:()=>lo(!Eo)})),Eo&&ee.createElement("div",{className:Ua?`${E.tagsWrap} ${E.tagsBorderWrap}`:E.tagsWrap},ee.createElement("div",{className:E.fenge}),ee.createElement("div",{className:E.bar,ref:Sa},ee.createElement("div",{className:E.tag,ref:Ta},rt==null?void 0:rt.map(Do=>ee.createElement("span",{onClick:()=>dt(Do.id),key:Do.id,style:{color:jn},className:at===Do.id?E.active:""},ee.createElement("span",{title:Do.name,className:E.name},Do.name),!!Un&&ee.createElement("span",{className:E.num},Do.count)))))))},ae={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},le=({dataSource:rt=[],value:at,onChange:dt,onTitleChange:Oe,className:me,title:Ie,titleWidth:it=41,style:Cn={},fontColor:jn="#fff",showCount:Un,expand:na=!0})=>{const[Ut,Ln]=(0,ee.useState)(0),[Ua,to]=(0,ee.useState)(!1),Ta=(0,ee.useRef)(null),Sa=(0,ee.useRef)(null),[Eo,lo]=(0,ee.useState)(na);return ee.createElement("div",{className:je()(ae.row,me),style:Cn},ee.createElement("div",{className:"flex item-center justify-between"},ee.createElement("div",{onClick:(0,Ae.throttle)(()=>Oe==null?void 0:Oe(),2e3),style:{width:it},className:`${ae.title} ${Oe?"current":""}`},Ie),ee.createElement("i",{className:`iconfont ${Eo?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Eo?"#00DDC7":"#037F74",fontSize:Eo?10:12},onClick:()=>lo(!Eo)})),Eo&&ee.createElement("div",{className:Ua?`${ae.tagsWrap} ${ae.tagsBorderWrap}`:ae.tagsWrap},ee.createElement("div",{className:ae.bar,ref:Sa},ee.createElement("div",{className:ae.tag,ref:Ta},rt==null?void 0:rt.map(Do=>ee.createElement("span",{onClick:()=>dt(Do.id),key:Do.id,style:{color:jn},className:at===Do.id?ae.active:""},ee.createElement("span",{title:Do.name,className:ae.name},Do.name),!!Un&&ee.createElement("span",{className:ae.num},Do.count)))))))},de={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},Se=({dataSource:rt=[],value:at,onChange:dt,className:Oe,style:me={}})=>ee.createElement("div",{style:me,className:je()(de.tabs,Oe)},rt.map(Ie=>ee.createElement("span",{onClick:()=>dt(Ie.id),className:at===Ie.id?de.active:"",key:Ie.id},Ie.name))),ve={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},Ce=ne(69677),At=({dataSource:rt=[],value:at="",onChange:dt,onInputChange:Oe=()=>{},className:me,style:Ie={},placeholder:it,allowClear:Cn=!1})=>{var jn;const[Un,na]=(0,ee.useState)(""),[Ut,Ln]=(0,ee.useState)("");(0,ee.useEffect)(()=>{var Ta;let Sa=at;(Ta=JSON.stringify(at))!=null&&Ta.includes("{")&&(na(at.id),Sa=at.value||"");try{Ln(decodeURIComponent(Sa||""))}catch(Eo){Ln(decodeURIComponent(Sa||""))}},[at]);const Ua=()=>{dt(encodeURIComponent(Ut),Un||null)},to=Ta=>{Ta!==Un&&(na(Ta),dt(encodeURIComponent(Ut),Ta))};return ee.createElement("div",{className:je()(ve.input,me),style:Ie},!!rt.length&&ee.createElement("div",{className:ve.dropdown},ee.createElement("div",{className:ve.text},(jn=rt.find(Ta=>Ta.id===Un))==null?void 0:jn.name,ee.createElement("i",{className:"iconfont icon-zhankai4"}),ee.createElement("b",{className:ve.b1}),ee.createElement("b",{className:ve.b2})),ee.createElement("div",{className:ve.menu},rt.map((Ta,Sa)=>ee.createElement("div",{key:Sa,onClick:()=>to(Ta.id)},Ta.name)))),ee.createElement(Ce.default,{onPressEnter:Ua,value:Ut,onChange:Ta=>{Ln(Ta.target.value),Oe(encodeURIComponent(Ta.target.value),Un||null)},bordered:!1,placeholder:it}),ee.createElement("i",{onClick:Ua,className:"iconfont icon-sousuo9 font14 pl10 current"}))},st={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},et=({dataSource:rt=[],value:at="",onChange:dt,onInputChange:Oe=()=>{},className:me,style:Ie={},placeholder:it,allowClear:Cn=!1})=>{var jn;const[Un,na]=(0,ee.useState)(""),[Ut,Ln]=(0,ee.useState)("");(0,ee.useEffect)(()=>{var Ta;let Sa=at;(Ta=JSON.stringify(at))!=null&&Ta.includes("{")&&(na(at.id),Sa=at.value||"");try{Ln(decodeURIComponent(Sa||""))}catch(Eo){Ln(decodeURIComponent(Sa||""))}},[at]);const Ua=()=>{dt(encodeURIComponent(Ut),Un||null)},to=Ta=>{Ta!==Un&&(na(Ta),dt(encodeURIComponent(Ut),Ta))};return ee.createElement("div",{className:je()(st.input,me),style:Ie},!!rt.length&&ee.createElement("div",{className:st.dropdown},ee.createElement("div",{className:st.text},(jn=rt.find(Ta=>Ta.id===Un))==null?void 0:jn.name,ee.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ee.createElement("div",{className:st.menu},rt.map((Ta,Sa)=>ee.createElement("div",{key:Sa,onClick:()=>to(Ta.id)},Ta.name)))),ee.createElement(Ce.default,{onPressEnter:Ua,value:Ut,onChange:Ta=>{Ln(Ta.target.value),Oe(encodeURIComponent(Ta.target.value),Un||null)},bordered:!1,placeholder:it}),ee.createElement("i",{onClick:Ua,className:"iconfont icon-sousuo9 font14 pl10 current"}))},gt={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Zt=({value:rt,onChange:at,className:dt,total:Oe,pageSize:me,style:Ie={}})=>{const it=rt<2,Cn=rt>=Math.ceil(Oe/me);return Oe<=me?ee.createElement(ee.Fragment,null):ee.createElement("div",{className:je()(gt.quickPager,dt),style:Ie},ee.createElement("div",{onClick:()=>{it||at(rt-1,"prev")},className:it?gt.disabled:""},"\u4E0A\u4E00\u9875"),ee.createElement("div",{onClick:()=>{Cn||at(rt+1,"next")},className:Cn?gt.disabled:""},"\u4E0B\u4E00\u9875"))},Ht={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Ke=ne(57953),ht=ne(83062),vn=ne(12604),Nt=ne(11320),He=ne(28706),Ft=ne(96908),vt=ne(57177),Zn=ne(81378),Rt=ne(26194),Be=({className:rt,dataSource:at=[],col:dt=4,right:Oe,bottom:me=23,precision:Ie=0,wrapWidth:it=1200,trackEventItems:Cn,loading:jn})=>{const Un=Math.floor((it-(dt-1)*Oe)/dt);return ee.createElement(Ke.Z,{spinning:jn},ee.createElement("div",{className:je()(Ht.list,rt)},!!at.length&&at.map((na,Ut)=>{const{name:Ln,id:Ua,identifier:to,power:Ta,cover_image_id:Sa,pic:Eo}=na;return ee.createElement("div",{className:Ht.wrap,key:Ua,style:{width:Un,marginRight:(1+Ut)%dt===0?0:Oe+Ie,marginBottom:me}},ee.createElement("a",{target:"_blank",href:`/shixuns/${to}/challenges`,className:Ht.li,onClick:lo=>{lo.preventDefault(),Cn&&(0,He.L9)([Cn]),Ta&&(0,He.xg)(`/shixuns/${to}/challenges`)}},ee.createElement("div",{className:Ht.img},ee.createElement("img",{className:Ht.cover,src:`${Eo}`}),na.is_jupyter&&ee.createElement("img",{className:Ht.sign,src:Ft}),na.is_jupyter_lab&&ee.createElement("img",{className:Ht.sign,src:vt}),na.is_unity_3d&&ee.createElement("img",{className:Ht.sign,src:Zn})),ee.createElement("div",{className:Ht.name},ee.createElement(ht.Z,{title:Ln||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ee.createElement("span",{className:Ht.e},Ln||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ee.createElement("div",{className:Ht.tags},ee.createElement(ht.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ee.createElement("span",null,na.challenges_count))),!!na.myshixuns_count&&ee.createElement(ht.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ee.createElement("span",null,na.myshixuns_count))),ee.createElement(ht.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ee.createElement("span",null,ee.createElement("span",null,na.level))),ee.createElement("div",{className:Ht.rate},ee.createElement(vn.Z,{allowHalf:!0,disabled:!0,defaultValue:na.score_info}),ee.createElement("span",null,"\xA0",na.score_info?`${na.score_info}\u5206`:"5\u5206")))),!Ta&&ee.createElement("div",{className:Ht.lockWrap},ee.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ee.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!at.length&&ee.createElement(Rt.Z,null)))},jt={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},oa=({className:rt,dataSource:at=[],col:dt=4,right:Oe,bottom:me=23,precision:Ie=0,wrapWidth:it=1200,wrapClassName:Cn,trackEventItems:jn,loading:Un})=>{const na=Math.floor((it-(dt-1)*Oe)/dt);return ee.createElement(Ke.Z,{spinning:Un},ee.createElement("div",{className:je()(jt.list,rt)},!!at.length&&at.map((Ut,Ln)=>{const{name:Ua,id:to,identifier:Ta,power:Sa,cover_image_id:Eo,pic:lo}=Ut;return ee.createElement("div",{className:je()(jt.wrap,Cn),key:to,style:{width:na,marginRight:(1+Ln)%dt===0?0:Oe+Ie,marginBottom:me}},ee.createElement("a",{target:"_blank",href:`/shixuns/${Ta}/challenges`,className:jt.li,onClick:Do=>{Do.preventDefault(),jn&&(0,He.L9)([jn]),Sa&&(0,He.xg)(`/shixuns/${Ta}/challenges`)}},ee.createElement("img",{src:ne(79633),className:jt.titleBg}),ee.createElement("div",{className:jt.name},ee.createElement(ht.Z,{title:Ua||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ee.createElement("span",{className:jt.e},Ua||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ee.createElement("div",{style:{padding:"14px",paddingBottom:0}},ee.createElement("div",{className:jt.img},ee.createElement("img",{className:jt.cover,src:Eo?`${Nt.Z.API_SERVER}/api/attachments/${Eo}`:`${Nt.Z.IMG_SERVER+lo}`}),Ut.is_jupyter&&ee.createElement("div",{className:jt.bq},"Jupyter"),Ut.is_jupyter_lab&&ee.createElement("div",{className:jt.bq},"JupyterLab"),Ut.is_unity_3d&&ee.createElement("div",{className:jt.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ee.createElement("div",{className:"mt20 flex item-center justify-between"},ee.createElement("div",null,ee.createElement("span",{className:jt.text},"\u5B66\u4E60\u4EBA\u6570"),ee.createElement("span",{className:jt.value},Ut.myshixuns_count)),ee.createElement("div",null,ee.createElement("span",{className:jt.text},"\u56F0\u96BE\u7B49\u7EA7"),ee.createElement("span",{className:jt.value},Ut.level))),ee.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ee.createElement("div",null,ee.createElement("span",{className:jt.text},"\u5173\u5361\u6570"),ee.createElement("span",{className:jt.value},Ut.challenges_count)),ee.createElement("div",{className:jt.rate},ee.createElement(vn.Z,{allowHalf:!0,disabled:!0,defaultValue:Ut.score_info}),ee.createElement("span",{className:jt.value,style:{color:"#FF9C00"}},"\xA0",Ut.score_info?`${Ut.score_info}\u5206`:"5\u5206"))))),!Sa&&ee.createElement("div",{className:jt.lockWrap},ee.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ee.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!at.length&&ee.createElement(Rt.Z,null)))},cn={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},zt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsHIieiHjkVDlhpuavbkU7ThE9wtjQLMbTosyF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Ow1WNCt0bSUh82FZXHgD3cwM81VxbAT10yNWlQm+6vceupKuTQTJ7J7ZYGZE9AHZtHzy1XViBSn0B1Hpnr5jlziZh642WV7V6AOzCBniqurYCnWhDodZ2upGtliXA9l3Y9r75dx4Au7YHntourkChLhOdDjxzPV1wKl8oxpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Xe=({className:rt,dataSource:at=[],col:dt=4,right:Oe,bottom:me=23,precision:Ie=0,wrapWidth:it=1200,trackEventItems:Cn,loading:jn,wrapClassName:Un,imgClassName:na})=>{const Ut=Math.floor((it-(dt-1)*Oe)/dt);return ee.createElement(Ke.Z,{spinning:jn},ee.createElement("div",{className:je()(cn.list,rt)},!!at.length&&at.map((Ln,Ua)=>{const{name:to,id:Ta,identifier:Sa,power:Eo,cover_image_id:lo,pic:Do}=Ln;return ee.createElement("div",{className:je()(cn.wrap,Un),key:Ta,style:{width:Ut,marginRight:(1+Ua)%dt===0?0:Oe+Ie,marginBottom:me}},ee.createElement("a",{target:"_blank",href:`/shixuns/${Sa}/challenges`,className:cn.li,onClick:Po=>{Po.preventDefault(),Cn&&(0,He.L9)([Cn]),Eo&&(0,He.xg)(`/shixuns/${Sa}/challenges`)}},ee.createElement("div",{className:je()(cn.img,na)},ee.createElement("img",{className:cn.cover,src:lo?`${Nt.Z.API_SERVER}/api/attachments/${lo}`:`${Nt.Z.IMG_SERVER+Do}`}),Ln.is_jupyter&&ee.createElement("img",{className:cn.sign,src:zt}),Ln.is_jupyter_lab&&ee.createElement("img",{className:cn.sign,src:Ne}),Ln.is_unity_3d&&ee.createElement("img",{className:cn.sign,src:we})),ee.createElement("div",{className:cn.name},ee.createElement(ht.Z,{title:to||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ee.createElement("span",{className:cn.e},to||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ee.createElement("div",{className:cn.tags},ee.createElement(ht.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ee.createElement("span",null,Ln.challenges_count))),!!Ln.myshixuns_count&&ee.createElement(ht.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ee.createElement("span",null,ee.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ee.createElement("span",null,Ln.myshixuns_count))),ee.createElement(ht.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ee.createElement("span",null,ee.createElement("span",null,Ln.level))),ee.createElement("div",{className:cn.rate},ee.createElement(vn.Z,{allowHalf:!0,disabled:!0,defaultValue:Ln.score_info}),ee.createElement("span",null,"\xA0",Ln.score_info?`${Ln.score_info}\u5206`:"5\u5206")))),!Eo&&ee.createElement("div",{className:cn.lockWrap},ee.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ee.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!at.length&&ee.createElement(Rt.Z,null)))},ct=ne(5476),Bt={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},un=ne(79005),rn=ne(20345),ln=ne(77882),Gn=ne(31081),ye=ne(75309),Ye=ne(71979),An=ne(47558),fn=ne(60345),Ue=ne(66832),$t=ne(96593),Re=ne(19664),$e=ne(91833),Pt=Object.defineProperty,yt=Object.getOwnPropertySymbols,Mt=Object.prototype.hasOwnProperty,sn=Object.prototype.propertyIsEnumerable,Nn=(rt,at,dt)=>at in rt?Pt(rt,at,{enumerable:!0,configurable:!0,writable:!0,value:dt}):rt[at]=dt,yn=(rt,at)=>{for(var dt in at||(at={}))Mt.call(at,dt)&&Nn(rt,dt,at[dt]);if(yt)for(var dt of yt(at))sn.call(at,dt)&&Nn(rt,dt,at[dt]);return rt};const hn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:un,swimg:rn},{name:"101\u8BA1\u5212",ptimg:ln,swimg:Gn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ye,swimg:Ye},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:An,swimg:fn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Ue,swimg:$t},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Re,swimg:$e}];var qn=({className:rt,dataSource:at=[],col:dt=4,right:Oe,bottom:me=23,precision:Ie=0,wrapWidth:it=1200,trackEventItems:Cn,loading:jn,wrapClassName:Un,imgClassName:na,isArrow:Ut=!1,imgStyle:Ln={}})=>{const Ua=Math.floor((it-(dt-1)*Oe)/dt),[to,Ta]=(0,ee.useState)(),[Sa,Eo]=(0,ee.useState)(),lo=Po=>Ta(Po),Do=()=>Ta(-1);return ee.createElement(Ke.Z,{spinning:jn},ee.createElement("div",{className:je()(Bt.list,rt)},!!(at!=null&&at.length)&&(at==null?void 0:at.map((Po,Mo)=>{var _o;const{name:Lr,id:kr,identifier:jo,featured:xr,school_name:ir,image_url:Pr,excellent:br,is_plan:yr}=Po;return ee.createElement("div",{key:kr,className:je()(Bt.wrap,Un),style:{width:Ua,marginRight:(1+Mo)%dt===0?0:Oe+Ie,marginBottom:me}},ee.createElement("a",{target:"_blank",href:`/paths/${jo}`,className:Bt.li,onClick:Cr=>{Cr.preventDefault(),Cn&&(0,He.L9)([Cn]),(0,He.xg)(`/paths/${jo}`)}},ee.createElement("img",{src:ne(39057),className:Bt.titleBg}),ee.createElement("div",{className:Bt.name},ee.createElement(ht.Z,{title:Lr},ee.createElement("span",{className:Bt.e,style:{color:Ut&&to===Mo?"#145DFF":"#000000"},onMouseEnter:()=>{lo(Mo)},onMouseLeave:Do},Lr))),ee.createElement("div",{style:{padding:"14px",paddingBottom:0}},ee.createElement("div",{className:je()(Bt.img,na)},ee.createElement("img",{className:Bt.cover,style:yn({},Ln),src:`${Nt.Z.IMG_SERVER+Pr}`}),(_o=Po==null?void 0:Po.subject_tags)==null?void 0:_o.map((Cr,mr)=>{var wr,Yr;if(mr===0){const Qr=(wr=hn.find(ui=>ui.name==Cr))==null?void 0:wr.swimg;return ee.createElement("img",{className:Bt.sign,src:Qr,style:{left:"-4px"}})}const si=(Yr=hn.find(Qr=>Qr.name==Cr))==null?void 0:Yr.ptimg;return ee.createElement("img",{className:Bt.sign,src:si,style:{left:`${48+52*(mr-1)+2*mr}px`}})}),ee.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Po==null?void 0:Po.excellent)&&ee.createElement("div",{className:Bt.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ee.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ee.createElement("div",null,ee.createElement("span",{className:Bt.text},"\u7AE0\u8282\u6570"),ee.createElement("span",{className:Bt.value},Po.stages_count)),ee.createElement("div",null,ee.createElement("span",{className:Bt.text},"\u5B66\u4E60\u4EBA\u6570"),ee.createElement("span",{className:Bt.value},Po.members_count))))))})),!at.length&&ee.createElement(Rt.Z,null)))},Fn={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},Ea=ne(52262),ra=ne(67294);const _a=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:un,swimg:rn},{name:"101\u8BA1\u5212",ptimg:ln,swimg:Gn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:ye,swimg:Ye},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:An,swimg:fn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Ue,swimg:$t},{name:"\u519B\u961F\u4E00\u6D41",ptimg:Re,swimg:$e}];var Na=({className:rt,dataSource:at=[],col:dt=4,right:Oe,bottom:me=23,precision:Ie=0,wrapWidth:it=1200,trackEventItems:Cn,loading:jn,onRemove:Un=()=>{},isCurrent:na=!0,showAlias:Ut=!1,wrapClassName:Ln,imgClassName:Ua})=>{const to=Math.floor((it-(dt-1)*Oe)/dt),Ta=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Sa=>(window.ENV==="build"&&(Sa.ptimg=`/react/build${Sa.ptimg}`,Sa.swimg=`/react/build${Sa.swimg}`),Sa));return ra.createElement(Ke.Z,{spinning:jn},ra.createElement("div",{className:je()(Fn.list,rt)},!!(at!=null&&at.length)&&(at==null?void 0:at.map((Sa,Eo)=>{var lo;const{name:Do,id:Po,identifier:Mo,featured:_o,school_name:Lr,image_url:kr,excellent:jo,is_plan:xr}=Sa;return ra.createElement("div",{key:Po,className:je()(Fn.wrap,Ln),style:{width:to,marginRight:(1+Eo)%dt===0?0:Oe+Ie,marginBottom:me}},ra.createElement("a",{className:Fn.li,onClick:ir=>{ir.preventDefault(),ir.stopPropagation(),Cn&&(0,He.L9)([Cn]),(0,He.xg)(`/paths/${Mo}`)}},ra.createElement("div",{className:je()(Fn.img,Ua)},ra.createElement("img",{className:Fn.cover,src:`${Nt.Z.IMG_SERVER+kr}`}),na&&(0,Ea.bg)()&&(Sa==null?void 0:Sa.studying)&&ra.createElement("div",{className:`${Fn.movebq} user-path-items`,onClick:ir=>{ir.stopPropagation(),Un(Sa)}},ra.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),ra.createElement("span",{className:"c-red"},"\u79FB\u9664")),(lo=Sa==null?void 0:Sa.subject_tags)==null?void 0:lo.map((ir,Pr)=>{var br,yr;if(Pr===0){const mr=(br=Ta.find(wr=>wr.name==ir))==null?void 0:br.swimg;return ra.createElement("img",{className:Fn.sign,src:mr,style:{left:"-4px"}})}const Cr=(yr=Ta.find(mr=>mr.name==ir))==null?void 0:yr.ptimg;return ra.createElement("img",{className:Fn.sign,src:Cr,style:{left:`${48+52*(Pr-1)+2*Pr}px`}})}),ra.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(Sa==null?void 0:Sa.excellent)&&ra.createElement("div",{className:Fn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ra.createElement("div",{className:Fn.name},ra.createElement(ht.Z,{title:Ut&&(Sa!=null&&Sa.excellent_alias_name)?ra.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Do}`,ra.createElement("br",null),ra.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Sa==null?void 0:Sa.excellent_alias_name}`)):Do},ra.createElement("span",{className:Fn.e},Ut&&(Sa==null?void 0:Sa.excellent_alias_name)||Do))),ra.createElement("div",{className:Fn.tags},ra.createElement("div",null,ra.createElement(ht.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},ra.createElement("span",null,ra.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),ra.createElement("span",null,Sa.stages_count))),ra.createElement(ht.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ra.createElement("span",null,ra.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),ra.createElement("span",null,Sa.members_count)))))))})),!at.length&&ra.createElement(Rt.Z,null)))},Aa={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},qt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIU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kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",bt=ne(67294),aa=({className:rt,dataSource:at=[],col:dt=4,right:Oe,bottom:me=23,precision:Ie=0,wrapWidth:it=1200,trackEventItems:Cn,loading:jn})=>{const Un=Math.floor((it-(dt-1)*Oe)/dt);return bt.createElement(Ke.Z,{spinning:jn},bt.createElement("div",{className:je()(Aa.list,rt)},!!at.length&&at.map((na,Ut)=>{const{subject_identifier:Ln,id:Ua,identifier:to,power:Ta}=na,Sa=na.is_public!=0&&na.is_public;return bt.createElement("div",{className:Aa.wrap,key:Ua,style:{width:Un,marginRight:(1+Ut)%dt===0?0:Oe+Ie,marginBottom:me}},bt.createElement("a",{className:Aa.li,onClick:Eo=>{Eo.preventDefault(),Cn&&(0,He.L9)([Cn]),(0,He.xg)(na.first_category_url)}},bt.createElement("div",{className:Aa.top},bt.createElement(ht.Z,{title:na.name},bt.createElement("div",{className:Aa.name},na.name)),bt.createElement("img",{className:Aa.img,src:Nt.Z.IMG_SERVER+"/images/"+na.avatar_url}),bt.createElement("div",{className:Aa.text,title:na.creator},na.creator),Ln&&bt.createElement("div",{className:Aa.btns},bt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),bt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Sa&&bt.createElement("div",{className:Aa.sign},"\u516C\u5F00")),bt.createElement("div",{className:Aa.bottom},na.visits>0&&bt.createElement(ht.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},bt.createElement("span",null,bt.createElement("i",{className:"iconfont icon-liulanyan"}),bt.createElement("span",null,na.visits))),na.course_members_count>0&&bt.createElement(ht.Z,{title:"\u6210\u5458",placement:"bottom"},bt.createElement("span",null,bt.createElement("i",{className:"iconfont icon-chengyuan"}),na.course_members_count)),na.tasks_count>0&&bt.createElement(ht.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},bt.createElement("span",null,bt.createElement("i",{className:"iconfont icon-zuoye"}),na.tasks_count)),na.is_end?bt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):bt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!na.is_accessible&&bt.createElement("div",{className:Aa.lockWrap},bt.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),bt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!at.length&&bt.createElement(Rt.Z,null)))},Vn={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Oa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3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OxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",$a=({className:rt,dataSource:at=[],col:dt=4,right:Oe,bottom:me=23,precision:Ie=0,wrapWidth:it=1200,wrapClassName:Cn,trackEventItems:jn,loading:Un})=>{const na=Math.floor((it-(dt-1)*Oe)/dt);return ee.createElement(Ke.Z,{spinning:Un},ee.createElement("div",{className:je()(Vn.list,rt)},!!at.length&&at.map((Ut,Ln)=>{const{subject_identifier:Ua,id:to,identifier:Ta,power:Sa}=Ut,Eo=Ut.is_public!=0&&Ut.is_public;return ee.createElement("div",{className:je()(`${Vn.wrap} ${Ut.is_accessible?"":Vn.warpStyle}`,Cn),key:to,style:{width:na,marginRight:(1+Ln)%dt===0?0:Oe+Ie,marginBottom:me}},ee.createElement("a",{className:Vn.li,onClick:lo=>{lo.preventDefault(),jn&&(0,He.L9)([jn]),(0,He.xg)(Ut.first_category_url)}},ee.createElement("div",{className:Vn.creator},ee.createElement("img",{className:Vn.img,src:Nt.Z.IMG_SERVER+"/images/"+Ut.avatar_url}),ee.createElement("div",{className:Vn.text,title:Ut.creator},Ut.creator)),ee.createElement("div",{className:Vn.top},ee.createElement(ht.Z,{title:Ut.name},ee.createElement("div",{className:Vn.name},Ut.name)),Eo&&ee.createElement("div",{className:Vn.sign},"\u516C\u5F00")),ee.createElement("div",{className:Vn.middle},ee.createElement("div",{className:Vn.row,style:{marginBottom:6}},ee.createElement("div",null,ee.createElement("span",{className:Vn.text},"\u8BBF\u95EE\u91CF"),ee.createElement("span",{className:Vn.value},(Ut==null?void 0:Ut.visits)||0)),ee.createElement("div",null,ee.createElement("span",{className:Vn.text},"\u6210\u5458"),ee.createElement("span",{className:Vn.value},(Ut==null?void 0:Ut.course_members_count)||0))),ee.createElement("div",{className:Vn.row},ee.createElement("div",null,ee.createElement("span",{className:Vn.text,style:{width:42}},"\u4F5C",ee.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ee.createElement("span",{className:Vn.value},(Ut==null?void 0:Ut.tasks_count)||0)),ee.createElement("div",null,ee.createElement("span",{className:Vn.text},"\u72B6\u6001"),Ut.is_end?ee.createElement("span",{className:Vn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ee.createElement("span",{className:Vn.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Ua&&ee.createElement("div",{className:Vn.btns},ee.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ee.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ut.is_accessible&&ee.createElement("div",{className:Vn.lockWrap},ee.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ee.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!at.length&&ee.createElement(Rt.Z,null)))},xn={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},Ze="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POv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H3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",We=({className:rt,dataSource:at=[],col:dt=4,right:Oe,bottom:me=23,precision:Ie=0,wrapWidth:it=1200,wrapClassName:Cn,trackEventItems:jn,loading:Un})=>{const na=Math.floor((it-(dt-1)*Oe)/dt);return ee.createElement(Ke.Z,{spinning:Un},ee.createElement("div",{className:je()(xn.list,rt)},!!at.length&&at.map((Ut,Ln)=>{const{subject_identifier:Ua,id:to,identifier:Ta,power:Sa}=Ut,Eo=Ut.is_public!=0&&Ut.is_public;return ee.createElement("div",{className:je()(`${xn.wrap} ${Ut.is_accessible?"":xn.warpStyle}`,Cn),key:to,style:{width:na,marginRight:(1+Ln)%dt===0?0:Oe+Ie,marginBottom:me}},ee.createElement("a",{className:xn.li,onClick:lo=>{lo.preventDefault(),jn&&(0,He.L9)([jn]),(0,He.xg)(Ut.first_category_url)}},ee.createElement("div",{className:xn.creator},ee.createElement("img",{className:xn.img,src:Nt.Z.IMG_SERVER+"/images/"+Ut.avatar_url}),ee.createElement("div",{className:xn.text,title:Ut.creator},Ut.creator)),ee.createElement("div",{className:xn.top},ee.createElement(ht.Z,{title:Ut.name},ee.createElement("div",{className:xn.name},Ut.name)),Eo&&ee.createElement("div",{className:xn.sign})),ee.createElement("div",{className:xn.middle},ee.createElement("div",{className:xn.row,style:{marginBottom:6}},ee.createElement("div",null,ee.createElement("span",{className:xn.text},"\u8BBF\u95EE\u91CF"),ee.createElement("span",{className:xn.value},(Ut==null?void 0:Ut.visits)||0)),ee.createElement("div",null,ee.createElement("span",{className:xn.text},"\u6210\u5458"),ee.createElement("span",{className:xn.value},(Ut==null?void 0:Ut.course_members_count)||0))),ee.createElement("div",{className:xn.row},ee.createElement("div",null,ee.createElement("span",{className:xn.text,style:{width:42}},"\u4F5C",ee.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ee.createElement("span",{className:xn.value},(Ut==null?void 0:Ut.tasks_count)||0)),ee.createElement("div",null,ee.createElement("span",{className:xn.text},"\u72B6\u6001"),Ut.is_end?ee.createElement("span",{className:xn.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ee.createElement("span",{className:xn.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Ua&&ee.createElement("div",{className:xn.btns},ee.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ee.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!Ut.is_accessible&&ee.createElement("div",{className:xn.lockWrap},ee.createElement("img",{src:`${Nt.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ee.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!at.length&&ee.createElement(Rt.Z,null)))},Gt={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},pn=ne(35973),Ia=({dataSource:rt=[],value:at,onChange:dt,className:Oe,style:me={},tabBarExtraContent:Ie})=>ee.createElement("div",{className:je()(Gt.tabs,Oe),style:me},ee.createElement("div",{className:Gt.tabsWrap},rt.map((it,Cn)=>ee.createElement("aside",{className:Gt.tab,onClick:()=>{dt(it.id),it.link&&pn.history.push(it.link)},key:Cn},ee.createElement("div",{className:at===it.id?Gt.active:""},it.name),(it==null?void 0:it.resetCount)==null&&(it==null?void 0:it.total)!==void 0&&ee.createElement("span",null,"\uFF08",it==null?void 0:it.total,"\uFF09"),(it==null?void 0:it.resetCount)!==void 0&&(it==null?void 0:it.total)!==void 0&&ee.createElement(ht.Z,{title:(it==null?void 0:it.tip)!=null?it==null?void 0:it.tip:""},ee.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ee.createElement("span",{style:{color:"#000"}},it==null?void 0:it.resetCount),"/",ee.createElement("span",null,it==null?void 0:it.total),"\uFF09"))))),ee.createElement("div",{className:Gt.tabBar},Ie)),ta={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Xa=({dataSource:rt=[],value:at,onChange:dt,className:Oe,style:me={},tabBarExtraContent:Ie})=>ee.createElement("div",{className:je()(ta.tabs,Oe),style:me},ee.createElement("div",{className:ta.tabsWrap},rt.map((it,Cn)=>ee.createElement("aside",{className:ta.tab,onClick:()=>{dt(it.id),it.link&&pn.history.push(it.link)},key:Cn},ee.createElement("div",{className:at===it.id?ta.active:""},it.name),(it==null?void 0:it.resetCount)==null&&(it==null?void 0:it.total)!==void 0&&ee.createElement("span",null,"\uFF08",it==null?void 0:it.total,"\uFF09"),(it==null?void 0:it.resetCount)!==void 0&&(it==null?void 0:it.total)!==void 0&&ee.createElement(ht.Z,{title:(it==null?void 0:it.tip)!=null?it==null?void 0:it.tip:""},ee.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ee.createElement("span",{style:{color:"#000"}},it==null?void 0:it.resetCount),"/",ee.createElement("span",null,it==null?void 0:it.total),"\uFF09"))))),ee.createElement("div",{className:ta.tabBar},Ie)),co={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},Hn=({dataSource:rt=[],value:at,onChange:dt,className:Oe,style:me={},tabBarExtraContent:Ie})=>ee.createElement("div",{className:je()(co.tabs,Oe),style:me},ee.createElement("div",{className:co.tabsWrap},rt.map((it,Cn)=>ee.createElement("aside",{className:`${co.tab} ${at===it.id?co.active:""}`,onClick:()=>{dt(it.id),it.link&&pn.history.push(it.link)},key:Cn},ee.createElement("div",null,it.name),(it==null?void 0:it.resetCount)==null&&(it==null?void 0:it.total)!==void 0&&ee.createElement("span",null,"\uFF08",it==null?void 0:it.total,"\uFF09"),(it==null?void 0:it.resetCount)!==void 0&&(it==null?void 0:it.total)!==void 0&&ee.createElement(ht.Z,{title:(it==null?void 0:it.tip)!=null?it==null?void 0:it.tip:""},ee.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ee.createElement("span",{style:{color:"#000"}},it==null?void 0:it.resetCount),"/",ee.createElement("span",null,it==null?void 0:it.total),"\uFF09"))))),ee.createElement("div",{className:co.tabBar},Ie)),Ot=({className:rt,style:at={},children:dt})=>ee.createElement("div",{className:je()(rt),style:at},dt),ft={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Tt=ne(85418),en=ne(68508);const xt=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var kt=({sortValue:rt,dropValue:at,className:dt,onSort:Oe,onDrop:me,dataSource:Ie=xt})=>{var it;return ee.createElement("div",{className:je()(ft.orderWrap,dt)},ee.createElement(Tt.Z,{dropdownRender:()=>ee.createElement(en.default,null,Ie.map((Cn,jn)=>ee.createElement(en.default.Item,{key:jn,onClick:()=>me(Cn.id)},Cn.name)))},ee.createElement("span",{className:ft.orderTextWrap},(it=Ie.find(Cn=>at===Cn.id))==null?void 0:it.name)),ee.createElement("span",{className:ft.orderIconWrap},ee.createElement("span",{className:ft.orderAsc},ee.createElement("i",{className:rt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${ft.cursorPointer} ${ft.active}`:`iconfont icon-sanjiaoxing-up font12 ${ft.cursorPointer}`,onClick:()=>Oe(rt==="asc"?"desc":"asc")})),ee.createElement("span",{className:ft.orderDesc},ee.createElement("i",{className:rt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${ft.cursorPointer} ${ft.active}`:`iconfont icon-sanjiaoxing-down font12 ${ft.cursorPointer}`,onClick:()=>Oe(rt==="asc"?"desc":"asc")}))))},Kn={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const $n=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var za=({sortValue:rt,dropValue:at,className:dt,onSort:Oe,onDrop:me,dataSource:Ie=$n})=>{var it;return ee.createElement("div",{className:je()(Kn.orderWrap,dt)},ee.createElement(Tt.Z,{dropdownRender:()=>ee.createElement(en.default,null,Ie.map((Cn,jn)=>ee.createElement(en.default.Item,{key:jn,onClick:()=>me(Cn.id)},Cn.name)))},ee.createElement("span",{className:Kn.orderTextWrap},(it=Ie.find(Cn=>at===Cn.id))==null?void 0:it.name)),ee.createElement("span",{className:Kn.orderIconWrap},ee.createElement("span",{className:Kn.orderAsc},ee.createElement("i",{className:rt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Kn.cursorPointer} ${Kn.active}`:`iconfont icon-sanjiaoxing-up font12 ${Kn.cursorPointer}`,onClick:()=>Oe(rt==="asc"?"desc":"asc")})),ee.createElement("span",{className:Kn.orderDesc},ee.createElement("i",{className:rt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Kn.cursorPointer} ${Kn.active}`:`iconfont icon-sanjiaoxing-down font12 ${Kn.cursorPointer}`,onClick:()=>Oe(rt==="asc"?"desc":"asc")}))))},Ya={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},eo=ne(71577),Lo=ne(52810),tn=Object.defineProperty,Za=Object.getOwnPropertySymbols,mo=Object.prototype.hasOwnProperty,on=Object.prototype.propertyIsEnumerable,In=(rt,at,dt)=>at in rt?tn(rt,at,{enumerable:!0,configurable:!0,writable:!0,value:dt}):rt[at]=dt,Dn=(rt,at)=>{for(var dt in at||(at={}))mo.call(at,dt)&&In(rt,dt,at[dt]);if(Za)for(var dt of Za(at))on.call(at,dt)&&In(rt,dt,at[dt]);return rt},Bn=(rt,at)=>{var dt={};for(var Oe in rt)mo.call(rt,Oe)&&at.indexOf(Oe)<0&&(dt[Oe]=rt[Oe]);if(rt!=null&&Za)for(var Oe of Za(rt))at.indexOf(Oe)<0&&on.call(rt,Oe)&&(dt[Oe]=rt[Oe]);return dt},ka=(rt,at,dt)=>new Promise((Oe,me)=>{var Ie=jn=>{try{Cn(dt.next(jn))}catch(Un){me(Un)}},it=jn=>{try{Cn(dt.throw(jn))}catch(Un){me(Un)}},Cn=jn=>jn.done?Oe(jn.value):Promise.resolve(jn.value).then(Ie,it);Cn((dt=dt.apply(rt,at)).next())}),ro=rt=>{var at=rt,{className:dt,style:Oe,children:me,loading:Ie=!1,openLoading:it,onClick:Cn=()=>{},size:jn="middle",shape:Un="round",theme:na}=at,Ut=Bn(at,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[Ln,Ua]=(0,ee.useState)(!1),to=(0,ee.useMemo)(()=>{switch(na){case Lo.Fy.THEMEONE:return Ya.ThemeOne;case Lo.Fy.DEFAULT:default:return Ya.btn}},[na]);return ee.createElement(eo.ZP,Dn({onClick:(0,Ae.throttle)(Ta=>ka(void 0,null,function*(){it&&Ua(!0);try{yield Cn(Ta)}catch(Sa){console.log("error",Sa)}it&&Ua(!1)}),2e3,{leading:!0,trailing:!1}),className:je()(to,Ya[`${jn}-${Un}`],dt),style:Oe,size:jn,shape:Un,loading:Ln||Ie},Ut),me)},fo={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Yo=({className:rt,style:at,children:dt=null,onClick:Oe,title:me})=>ee.createElement("div",{className:je()(fo.head,rt),style:at},ee.createElement("span",{className:"primary-hover",onClick:Oe},ee.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ee.createElement("b",{title:me},me),ee.createElement("div",{className:fo.node},dt)),wo={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Oo=({confirmShow:rt=!0,confirmTitle:at,confirmClick:dt,cancelShow:Oe=!0,cancelTitle:me,cancelClick:Ie,className:it,style:Cn,confirmLoading:jn=!1})=>ee.createElement("div",{className:je()(wo.btns,it),style:Cn},rt&&ee.createElement(eo.ZP,{loading:jn,onClick:dt,type:"primary",className:wo.confirm},at),Oe&&ee.createElement(eo.ZP,{onClick:Ie,className:wo.cancel},me)),Ga={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},Wo=({className:rt,style:at={},LeftContent:dt,children:Oe,RightContent:me})=>ee.createElement("div",{className:je()(Ga.fixedBottom,rt),style:at},ee.createElement("div",{className:Ga.wrap},ee.createElement("div",{className:Ga.left},dt),ee.createElement("div",{className:Ga.center},Oe),ee.createElement("div",{className:Ga.right},me))),Xo={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},Jo=({className:rt,style:at={},dataSource:dt=[]})=>ee.createElement("div",{className:je()(Xo.crumbs,rt),style:at},dt.map((Oe,me)=>mepn.history.push(Oe.path)},Oe.name):ee.createElement("span",null,Oe.name),ee.createElement("span",null,"\xA0",">","\xA0")):ee.createElement("span",{key:me,style:{color:"#5F6368"}},Oe.name))),zo=ne(55054),No=Object.defineProperty,Da=Object.defineProperties,tt=Object.getOwnPropertyDescriptors,lt=Object.getOwnPropertySymbols,wt=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,Ct=(rt,at,dt)=>at in rt?No(rt,at,{enumerable:!0,configurable:!0,writable:!0,value:dt}):rt[at]=dt,dn=(rt,at)=>{for(var dt in at||(at={}))wt.call(at,dt)&&Ct(rt,dt,at[dt]);if(lt)for(var dt of lt(at))he.call(at,dt)&&Ct(rt,dt,at[dt]);return rt},nn=(rt,at)=>Da(rt,tt(at)),qe=(rt,at)=>{var dt={};for(var Oe in rt)wt.call(rt,Oe)&&at.indexOf(Oe)<0&&(dt[Oe]=rt[Oe]);if(rt!=null&<)for(var Oe of lt(rt))at.indexOf(Oe)<0&&he.call(rt,Oe)&&(dt[Oe]=rt[Oe]);return dt};const{Countdown:nt}=zo.default;var mn=rt=>{var at=rt,{onChange:dt}=at,Oe=qe(at,["onChange"]);const[me,Ie]=(0,ee.useState)(null);(0,ee.useEffect)(()=>{typeof me=="number"&&me>=0&&dt(me)},[me]);const it=Cn=>{const jn=Math.floor(Cn/1e3);Ie(jn)};return ee.createElement(nt,nn(dn({},Oe),{onChange:it}))},On={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},Xn=({DataProps:rt,className:at,style:dt={}})=>{var Oe;return ee.createElement("div",{className:je()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",On.ClassRoomItem,at),style:dt,onClick:()=>{(0,He.xg)(rt==null?void 0:rt.first_category_url)}},ee.createElement("div",{className:"flex flex-col item-center"},ee.createElement("img",{src:`${(Oe=Nt.Z)==null?void 0:Oe.IMG_SERVER}/images/${rt==null?void 0:rt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(rt==null?void 0:rt.subject_identifier)&&ee.createElement("div",{className:"mt-40px"},ee.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},"\u5F00\u653E\u8BFE\u7A0B"),ee.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},"\u5F00\u653E\u8BFE\u5802"))),ee.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ee.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(rt!=null&&rt.is_public)&&ee.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},"\u516C\u5F00"),ee.createElement("span",{className:je()("text-16px font-medium",On.TitleDom)},rt==null?void 0:rt.name)),ee.createElement("div",{className:"c-grey-333 font-medium"},rt==null?void 0:rt.creator),ee.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",rt==null?void 0:rt.course_members_count),ee.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ee.createElement("div",null,"\u4F5C\u4E1A\uFF1A",rt==null?void 0:rt.tasks_count),rt!=null&&rt.is_end?ee.createElement("div",{style:{color:"#5F6A95"}},"\u5DF2\u7ED3\u675F"):ee.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},_n=Object.defineProperty,va=Object.getOwnPropertySymbols,Ca=Object.prototype.hasOwnProperty,En=Object.prototype.propertyIsEnumerable,Xt=(rt,at,dt)=>at in rt?_n(rt,at,{enumerable:!0,configurable:!0,writable:!0,value:dt}):rt[at]=dt,Dt=(rt,at)=>{for(var dt in at||(at={}))Ca.call(at,dt)&&Xt(rt,dt,at[dt]);if(va)for(var dt of va(at))En.call(at,dt)&&Xt(rt,dt,at[dt]);return rt},Jt=({DataProps:rt=[],selectValue:at,onChange:dt,className:Oe,style:me={},extra:Ie,classNameItem:it,styleItem:Cn={},barHidden:jn})=>{const[Un,na]=(0,ee.useState)();return(0,ee.useEffect)(()=>{na(Array.isArray(at)?at:[at])},[at]),ee.createElement("div",{className:je()("flex px-20px py-10px gap-40px",Oe),style:Dt({borderBottom:"1px solid #D3F0FF"},me)},rt==null?void 0:rt.map(Ut=>ee.createElement("div",{key:Ut==null?void 0:Ut.id,className:je()("flex item-center justify-center current c-grey-333 text-16 relative",it,Ut==null?void 0:Ut.className),style:Dt(Dt({color:Un!=null&&Un.includes(Ut==null?void 0:Ut.id)?"#1890FF":"",minWidth:88},Cn),(Ut==null?void 0:Ut.style)||{}),onClick:Ln=>{dt==null||dt({domEvent:Ln,item:Ut}),Ut!=null&&Ut.link&&pn.history.push(Ut==null?void 0:Ut.link)}},Ut==null?void 0:Ut.name,!jn&&(Un==null?void 0:Un.includes(Ut==null?void 0:Ut.id))&&ee.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ee.createElement("div",{className:"ml-auto"},Ie))},Wt=Object.defineProperty,ga=Object.defineProperties,da=Object.getOwnPropertyDescriptors,Kt=Object.getOwnPropertySymbols,zn=Object.prototype.hasOwnProperty,Yn=Object.prototype.propertyIsEnumerable,Mn=(rt,at,dt)=>at in rt?Wt(rt,at,{enumerable:!0,configurable:!0,writable:!0,value:dt}):rt[at]=dt,la=(rt,at)=>{for(var dt in at||(at={}))zn.call(at,dt)&&Mn(rt,dt,at[dt]);if(Kt)for(var dt of Kt(at))Yn.call(at,dt)&&Mn(rt,dt,at[dt]);return rt},wa=(rt,at)=>ga(rt,da(at)),po=({value:rt,onChange:at,onInputChange:dt,className:Oe,style:me={},InputProps:Ie})=>{const[it,Cn]=(0,ee.useState)(rt);return ee.createElement("div",{className:je()("flex item-center rounded-full px-10px py-2px",Oe),style:la({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},me)},ee.createElement(Ce.default,wa(la({bordered:!1},Ie),{onChange:jn=>{Cn(jn.target.value),dt==null||dt(encodeURIComponent(jn.target.value))},onPressEnter:jn=>{at==null||at({domEvent:jn,item:{value:it}})}})),ee.createElement("img",{className:"h-22px current",src:ne(25365),height:22,onClick:jn=>{at==null||at({domEvent:jn,item:{value:it}})}}))}},99914:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return te}});var ee=ne(67294);function te(be,De){const Fe=(0,ee.useRef)();(0,ee.useEffect)(()=>{Fe.current=be}),(0,ee.useEffect)(()=>{function Le(){Fe.current()}if(De!==null){let re=setInterval(Le,De);return()=>clearInterval(re)}},[De])}},25374:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return Fe}});var ee=ne(67294),te={label:"label___CZ1_z",left:"left___ZKFRV",right:"right___zVTRn",error:"error___oNJNo"},be=ne(83062),Fe=({name:Le,tooltipTitle:re,children:je,required:Ae,errorKey:Te,errorValue:ze,errorName:ke,errorStyle:Pe={},nameWidth:se=112,align:y="center",contentStyle:a={}})=>ee.createElement(ee.Fragment,null,ee.createElement("div",{className:te.label,style:{alignItems:y}},ee.createElement("div",{className:te.left,style:{width:se}},Ae&&ee.createElement("span",null,"*"),ee.createElement("div",null,Le),!!re&&ee.createElement(be.Z,{title:re},ee.createElement("i",{className:"iconfont icon-xiaowenhao2"}))),ee.createElement("div",{className:te.right,style:a},je,ke&&ze===Te&&ee.createElement("div",{className:te.error,style:Pe},ke))))},9916:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return x}});var ee=ne(67294),te=ne(35973),be=ne(69677),De=ne(22150),Fe=ne(14446),Le=ne(2453),re=ne(59810),je=ne(71577),Ae=ne(11320),Te=ne(55351),ze={flexRow:"flexRow___JBN3B",flexColumn:"flexColumn___zXgFj",formWrap:"formWrap___aNgan",upload:"upload___yGdLQ",color0152d9:"color0152d9___zzEpS",colorCCC:"colorCCC___k4Dxq",footerWrap:"footerWrap___WrUZd",qrCode:"qrCode___GPwSg",a1:"a1___R6etl",code:"code___fCL_L",group:"group___n7tgy",groupNumber:"groupNumber___tw7hA",a2:"a2___GGjDE"},ke=Object.getOwnPropertySymbols,Pe=Object.prototype.hasOwnProperty,se=Object.prototype.propertyIsEnumerable,y=(z,ae)=>{var oe={};for(var le in z)Pe.call(z,le)&&ae.indexOf(le)<0&&(oe[le]=z[le]);if(z!=null&&ke)for(var le of ke(z))ae.indexOf(le)<0&&se.call(z,le)&&(oe[le]=z[le]);return oe},a=(z,ae,oe)=>new Promise((le,de)=>{var ce=Ce=>{try{ve(oe.next(Ce))}catch(pe){de(pe)}},Se=Ce=>{try{ve(oe.throw(Ce))}catch(pe){de(pe)}},ve=Ce=>Ce.done?le(Ce.value):Promise.resolve(Ce.value).then(ce,Se);ve((oe=oe.apply(z,ae)).next())});const b=be.default.TextArea,E=z=>{var ae=z,{newShixuns:oe,globalSetting:le,loading:de,dispatch:ce}=ae,Se=y(ae,["newShixuns","globalSetting","loading","dispatch"]);const[ve]=De.default.useForm(),[Ce,pe]=(0,ee.useState)([]),At=It=>{["uploading","done","removed"].includes(It.file.status)&&pe(It.fileList)},st=It=>{var Zt;if(!It.percent||It.percent==100){const Ht=(Zt=It.response)==null?void 0:Zt.id;return Fe.default.confirm({centered:!0,title:"\u786E\u5B9A\u8981\u5220\u9664\u8FD9\u4E2A\u9644\u4EF6\u5417?",okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",onOk:()=>a(void 0,null,function*(){(yield ce({type:"newShixuns/deleteAttachment",payload:{id:Ht}}))&&pe(Ce.filter(ht=>{var vn;return((vn=ht.response)==null?void 0:vn.id)!==Ht}))})}),!1}},Vt=It=>Ce.length?!1:It.size/1024/1024>50?(Le.ZP.info("\u6587\u4EF6\u5927\u5C0F\u5FC5\u987B\u5C0F\u4E8E50MB"),!1):!0,et=It=>a(void 0,null,function*(){var Zt,Ht;const{language:Ke,env:ht,mode:vn,code:Nt}=It||{},He=yield ce({type:"newShixuns/applyShixunMirror",payload:{language:Ke,runtime:ht,run_method:vn,attachment_id:(Ht=(Zt=Ce==null?void 0:Ce[0])==null?void 0:Zt.response)==null?void 0:Ht.id}});ce({type:"newShixuns/setActionTabs",payload:{}}),He&&Le.ZP.success("\u65B0\u5EFA\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u7B49\u5F85\u7BA1\u7406\u5458\u5BA1\u6838\u3002")}),gt=()=>{ve.resetFields(),pe([])};return ee.createElement(Fe.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,open:oe.actionTabs.key==="NewShixuns-Apply",title:"\u7533\u8BF7\u65B0\u5EFA",width:"1000px",footer:null,afterClose:gt},ee.createElement("section",{className:ze.qrCode},ee.createElement("aside",{className:ze.a1},ee.createElement("div",{className:ze.code},ee.createElement("img",{width:120,height:120,src:Te,alt:"\u4E8C\u7EF4\u7801"})),ee.createElement("div",{className:ze.group},"\u5B9E\u9A8C\u73AF\u5883\u7533\u8BF7QQ\u7FA4"),ee.createElement("div",{className:ze.groupNumber},"\u7FA4\u53F7\uFF1A740157011")),ee.createElement("aside",{className:ze.a2},"\u5C0A\u656C\u7684\u8001\u5E08/\u540C\u5B66\u60A8\u597D\uFF0C",ee.createElement("br",null),"\u5982\u679C\u60A8\u60F3\u65B0\u5EFA\u5B9E\u9A8C\u73AF\u5883\uFF0C\u53EF\u4EE5\u626B\u63CF\u5DE6\u4FA7\u4E8C\u7EF4\u7801\u8FDB\u7FA4\uFF0C\u76F4\u63A5\u5411\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u7533\u8BF7\u54E6~ \u4E5F\u53EF\u4EE5\u63D0\u4EA4\u4E0B\u9762\u7684\u8868\u5355\u7533\u8BF7\uFF0C\u6211\u4EEC\u7684\u5DE5\u4F5C\u4EBA\u5458\u6536\u5230\u7533\u8BF7\u4FE1\u606F\u5C06\u4F1A\u7B2C\u4E00\u65F6\u95F4\u8054\u7CFB\u60A8\uFF01")),ee.createElement(De.default,{className:ze.formWrap,form:ve,labelCol:{span:4},wrapperCol:{span:20},onFinish:et},ee.createElement(De.default.Item,{label:"\u8BED\u8A00\uFF1A",name:"language",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00"}]},ee.createElement(b,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48\u8BED\u8A00\uFF1A\u793A\u4F8B\uFF1APython",rows:4})),ee.createElement(De.default.Item,{label:"\u7CFB\u7EDF\u73AF\u5883\uFF1A",name:"env",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u8BED\u8A00\u7CFB\u7EDF\u73AF\u5883"}]},ee.createElement(b,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u662F\u57FA\u4E8E\u4EC0\u4E48linux\u7CFB\u7EDF\u73AF\u5883,\u4EE3\u7801\u8FD0\u884C\u73AF\u5883",rows:4})),ee.createElement(De.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F\uFF1A",name:"mode",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F"}]},ee.createElement(b,{placeholder:"\u8BF7\u586B\u5199\u8BE5\u955C\u50CF\u4E2D\u6D4B\u8BD5\u4EE3\u7801\u8FD0\u884C\u65B9\u5F0F",rows:4})),ee.createElement(De.default.Item,{label:"\u6D4B\u8BD5\u4EE3\u7801\uFF1A",name:"code",rules:[{required:!0,message:"\u8BF7\u4E0A\u4F20\u9644\u4EF6"}]},ee.createElement("div",{className:ze.upload},ee.createElement(re.default,{fileList:Ce,action:`${Ae.Z.API_SERVER}/api/attachments.json?client_key=6d57f8c3dd186c5ada392546ace9620a`,onChange:At,onRemove:st,beforeUpload:Vt,withCredentials:!0},ee.createElement("span",{className:`${ze.color0152d9} current`},"\u4E0A\u4F20\u9644\u4EF6"),ee.createElement("span",{className:`${ze.colorCCC} ml10`},"(\u5355\u4E2A\u6587\u4EF650M\u4EE5\u5185)")))),ee.createElement("div",{className:ze.footerWrap},ee.createElement(De.default.Item,null,ee.createElement(je.ZP,{className:"mr5",size:"middle",onClick:()=>{ce({type:"newShixuns/setActionTabs",payload:{}})}},"\u53D6\u6D88"),ee.createElement(je.ZP,{size:"middle",type:"primary",htmlType:"submit",loading:de["newShixuns/applyShixunMirror"]},"\u4FDD\u5B58")))))};var x=(0,te.connect)(({newShixuns:z,loading:ae,globalSetting:oe})=>({newShixuns:z,globalSetting:oe,loading:ae.effects}))(E)},81780:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return oe}});var ee=ne(67294),te=ne(22150),be=ne(2453),De=ne(14446),Fe=ne(69677),Le=ne(71577),re=ne(33170),je=ne(35567),Ae={errorTip:"errorTip___yZItq",btns:"btns___kcUDL",confirm:"confirm___EXVbh",cancel:"cancel___vQdUc",formWrap:"formWrap___diWab"},Te=ne(60580),ze=Object.defineProperty,ke=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(le,de,ce)=>de in le?ze(le,de,{enumerable:!0,configurable:!0,writable:!0,value:ce}):le[de]=ce,E=(le,de)=>{for(var ce in de||(de={}))y.call(de,ce)&&b(le,ce,de[ce]);if(se)for(var ce of se(de))a.call(de,ce)&&b(le,ce,de[ce]);return le},x=(le,de)=>ke(le,Pe(de)),z=(le,de,ce)=>new Promise((Se,ve)=>{var Ce=st=>{try{At(ce.next(st))}catch(Vt){ve(Vt)}},pe=st=>{try{At(ce.throw(st))}catch(Vt){ve(Vt)}},At=st=>st.done?Se(st.value):Promise.resolve(st.value).then(Ce,pe);At((ce=ce.apply(le,de)).next())}),oe=({visible:le,mirrorId:de,setVisible:ce,getData:Se})=>{const[ve]=te.default.useForm(),[Ce,pe]=(0,ee.useState)({}),[At,st]=(0,ee.useState)(""),[Vt,et]=(0,ee.useState)(!1);(0,ee.useEffect)(()=>{de!=null&&le&>()},[de,le]);const gt=()=>z(void 0,null,function*(){const Ke=yield(0,re.ZP)(`/api/user_mirrors/${de}.json`,{method:"get"});(Ke==null?void 0:Ke.status)===0&&(ve.setFieldsValue(E({},Ke==null?void 0:Ke.data)),pe(E({},Ke==null?void 0:Ke.data)))}),It=()=>{ce(!1),pe({}),ve.setFieldsValue({})},Zt=()=>z(void 0,null,function*(){et(!0);const Ke=E({},yield ve.validateFields());(yield(0,re.ZP)(`/api/user_mirrors/${de}.json`,{method:"put",body:{type_name:Ke==null?void 0:Ke.type_name,description:Ke==null?void 0:Ke.description}})).status===0&&(be.ZP.success("\u4FEE\u6539\u6210\u529F"),Se()),et(!1),ce(!1)}),Ht=Ke=>z(void 0,null,function*(){const ht=yield(0,re.ZP)("/api/user_mirrors/check_mirror_name.json",{method:"post",body:{type_name:Ke,id:de}});return(ht==null?void 0:ht.status)===0?{state:!1}:{state:!0,msg:ht==null?void 0:ht.message}});return ee.createElement(De.default,{centered:!0,width:1200,title:"\u4FEE\u6539\u955C\u50CF\u4FE1\u606F",maskClosable:!1,open:le,destroyOnClose:!0,footer:null,onCancel:It},ee.createElement(te.default,{style:{marginTop:20},form:ve,scrollToFirstError:!0,layout:"horizontal",className:Ae.formWrap},ee.createElement(te.default.Item,{label:"\u955C\u50CF\u540D\u79F0",name:"type_name",colon:!1,className:Ae.errorTip,rules:[{required:!0,message:""},{validator:(Ke,ht)=>z(void 0,null,function*(){const vn=yield Ht(ht);return(vn==null?void 0:vn.state)===!0?Promise.reject(vn==null?void 0:vn.msg):Promise.resolve()})}]},ee.createElement(Fe.default,{size:"large",maxLength:60,placeholder:"\u8BF7\u8F93\u5165\u955C\u50CF\u540D\u79F0"})),ee.createElement(te.default.Item,{label:"\u955C\u50CF\u63CF\u8FF0",name:"description",colon:!1},ee.createElement(je.Z,{watch:!0,height:300,placeholder:"",defaultValue:Ce==null?void 0:Ce.description,onChange:Ke=>{ve.setFieldsValue(x(E({},ve.getFieldsValue()),{description:Ke})),pe(x(E({},Ce),{description:Ke}))},onBlur:Ke=>{ve.setFieldsValue(x(E({},ve.getFieldsValue()),{description:Ke})),pe(x(E({},Ce),{description:Ke}))}}))),ee.createElement("div",{className:Ae.btns},ee.createElement(Le.ZP,{onClick:It,className:Ae.cancel},"\u53D6\u6D88 "),ee.createElement(Te.Z,{type:"primary",className:Ae.confirm,onClick:()=>z(void 0,null,function*(){yield Zt()})},"\u786E\u5B9A")))}},97584:function(Ve,mt,ne){"use strict";ne.r(mt),ne.d(mt,{default:function(){return Aa}});var ee=ne(52810),te=ne(67294),be=ne(35973),De=ne(55054),Fe=ne(11713),Le=ne(2453),re=ne(15746),je=ne(55241),Ae=ne(68508),Te=ne(83062),ze=ne(57953),ke=ne(71230),Pe=ne(71577),se=ne(9430),y=ne(28452),a=ne(14446),b=ne(84567),E=ne(45954),x=ne(85725),z={auditModal:"auditModal___RBZv1",modalbtn:"modalbtn___FliJo"},oe=({value:qt,visible:bt,setVisible:gn})=>te.createElement(a.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:bt,title:"\u9A73\u56DE\u539F\u56E0",wrapClassName:z.auditModal,footer:null,onCancel:()=>gn(!1)},te.createElement(x.Z,{value:qt}),te.createElement(Pe.ZP,{className:z.btn,onClick:()=>gn(!1),type:"primary"},"\u6211\u77E5\u9053\u4E86")),le=ne(33170),de={flex_box_center:"flex_box_center___cRRGk",flex_space_between:"flex_space_between___DckQs",flex_box_vertical_center:"flex_box_vertical_center___IJP6X",flex_box_center_end:"flex_box_center_end___vCftz",flex_box_column:"flex_box_column___ML5vq",wrap:"wrap____U8oZ",rightBar:"rightBar___rHmY3",doc:"doc___UF8ms",create_button:"create_button___X31VI",create_disabled:"create_disabled___wfIK8",note:"note___pHbAA",noteTip:"noteTip___BILh7",countDown:"countDown____IvIZ",red:"red___tb6MS",cpuWrap:"cpuWrap___f1GVj",activebtn:"activebtn___NAeFf",btn:"btn___pgvih",activeTab:"activeTab___jXtg0",tab:"tab___bUdfs",footBtnWrap:"footBtnWrap___JBSba"},ce=ne(80150),Se=ne(27484),ve=ne.n(Se),Ce=ne(28706),pe=ne(26194),At=ne(9916),st=ne(81780),Vt=ne(25374),et=ne(60580),gt=Object.defineProperty,It=Object.defineProperties,Zt=Object.getOwnPropertyDescriptors,Ht=Object.getOwnPropertySymbols,Ke=Object.prototype.hasOwnProperty,ht=Object.prototype.propertyIsEnumerable,vn=(qt,bt,gn)=>bt in qt?gt(qt,bt,{enumerable:!0,configurable:!0,writable:!0,value:gn}):qt[bt]=gn,Nt=(qt,bt)=>{for(var gn in bt||(bt={}))Ke.call(bt,gn)&&vn(qt,gn,bt[gn]);if(Ht)for(var gn of Ht(bt))ht.call(bt,gn)&&vn(qt,gn,bt[gn]);return qt},He=(qt,bt)=>It(qt,Zt(bt)),Ft=(qt,bt)=>{var gn={};for(var aa in qt)Ke.call(qt,aa)&&bt.indexOf(aa)<0&&(gn[aa]=qt[aa]);if(qt!=null&&Ht)for(var aa of Ht(qt))bt.indexOf(aa)<0&&ht.call(qt,aa)&&(gn[aa]=qt[aa]);return gn},vt=(qt,bt,gn)=>new Promise((aa,Vn)=>{var Oa=xn=>{try{$a(gn.next(xn))}catch(Ze){Vn(Ze)}},ao=xn=>{try{$a(gn.throw(xn))}catch(Ze){Vn(Ze)}},$a=xn=>xn.done?aa(xn.value):Promise.resolve(xn.value).then(Oa,ao);$a((gn=gn.apply(qt,bt)).next())});const{Countdown:Zn}=De.default,{Option:Rt}=Fe.default,Pn=qt=>{var bt=qt,{user:gn,newShixuns:aa,classroomList:Vn,globalSetting:Oa,loading:ao,dispatch:$a}=bt,xn=Ft(bt,["user","newShixuns","classroomList","globalSetting","loading","dispatch"]),Ze,ot;const We=3,[Gt]=(0,be.useSearchParams)(),[pn,Wn]=(0,te.useState)(!1),[Ia,ta]=(0,te.useState)(!1),[Ka,Xa]=(0,te.useState)(!1),[co,Sn]=(0,te.useState)(),[Hn,Qe]=(0,te.useState)(parseInt(Gt.get("status"))||0),{username:Ot}=(0,be.useParams)(),[ft,Tt]=(0,te.useState)(""),[en,xt]=(0,te.useState)([]),[an,kt]=(0,te.useState)(0),[Kn,$n]=(0,te.useState)(),[ba,za]=(0,te.useState)(),[Ya,eo]=(0,te.useState)(),[Lo,tn]=(0,te.useState)(),[Za,mo]=(0,te.useState)(!1),[on,In]=(0,te.useState)([]),Dn=(0,be.useParams)(),[Bn,ka]=(0,te.useState)(!1),[ca,ro]=(0,te.useState)(0),[fo,io]=(0,te.useState)(!1),[Yo,wo]=(0,te.useState)(!1),[Qo,Oo]=(0,te.useState)(!1),[Ga,xo]=(0,te.useState)({}),[Wo,Xo]=(0,te.useState)(0),[qo,Jo]=(0,te.useState)(0),[zo,No]=(0,te.useState)(!1),[Da,tt]=(0,te.useState)([]),[lt,wt]=(0,te.useState)([]),[he,Ct]=(0,te.useState)(!1),[dn,nn]=(0,te.useState)(!1),[qe,nt]=(0,te.useState)(),[St,mn]=(0,te.useState)(),[On,ea]=(0,te.useState)([]),[Xn,_n]=(0,te.useState)(!1),[va,Ca]=(0,te.useState)(),[En,Xt]=(0,te.useState)(!0),[Dt,Et]=(0,te.useState)(!1);let Jt=(0,te.useRef)();const[Wt,ga]=(0,te.useState)({page:1,per_page:10,keywords:"",tab_type:"customize"}),da=[{id:0,name:"\u81EA\u5B9A\u4E49\u955C\u50CF",type:"customize",total:ba,resetCount:Ya,tip:Lo},{id:1,name:"\u5171\u4EAB\u955C\u50CF",type:"share"}];(0,te.useEffect)(()=>{Kt()},[Hn]),(0,te.useEffect)(()=>{document.title="\u5B9E\u9A8C\u955C\u50CF"},[location==null?void 0:location.pathname]);const Kt=()=>vt(void 0,null,function*(){var me,Ie,it,Cn,jn,Un,na,Ut;mo(!0);const Ln=yield(0,le.ZP)("/api/user_mirrors.json",{method:"get",params:He(Nt({},Wt),{tab_type:(me=da[Hn])==null?void 0:me.type,account_id:Ot})});Ln.status===0&&(xt((Ie=Ln==null?void 0:Ln.data)==null?void 0:Ie.list),kt((it=Ln==null?void 0:Ln.data)==null?void 0:it.count),In((Cn=Ln==null?void 0:Ln.data)==null?void 0:Cn.user_mirror_ids),Wt.tab_type==="customize"&&((jn=Ln==null?void 0:Ln.data)==null?void 0:jn.max_count)!==-1&&(eo((Un=Ln==null?void 0:Ln.data)==null?void 0:Un.total),za(We),$n((na=Ln==null?void 0:Ln.data)==null?void 0:na.total),tn(`\u955C\u50CF\u4E0A\u9650${We}\uFF0C\u5DF2\u7528${(Ut=Ln==null?void 0:Ln.data)==null?void 0:Ut.total}`))),mo(!1)});(0,te.useEffect)(()=>{Qo===!0&&zn()},[Qo]);const zn=()=>vt(void 0,null,function*(){const me=yield(0,le.ZP)("/api/user_mirrors/other_info.json",{method:"get"});me.status===0&&xo(me==null?void 0:me.data)}),Yn=(me,Ie)=>vt(void 0,null,function*(){var it;const Cn=yield(0,le.ZP)(`/api/user_mirrors/${me}/check.json`,{method:"get"});(Cn==null?void 0:Cn.status)===0&&(((it=Cn==null?void 0:Cn.data)==null?void 0:it.exist)===0?Oo(!0):(Oo(!1),Ie?be.history.push(`/shixuns/new/${me}/imagepreview?operation=update_image`):be.history.push(`/shixuns/new/${me}/imagepreview`)))});(0,te.useEffect)(()=>(on.length>0&&(Jt.current=setInterval(()=>vt(void 0,null,function*(){var me,Ie,it,Cn,jn;const Un=yield(0,le.ZP)("/api/user_mirrors/polling_update_status.json",{method:"post",body:{user_mirror_ids:on}});if(Un.status===0)if(((Ie=(me=Un==null?void 0:Un.data)==null?void 0:me.user_mirror_ids)==null?void 0:Ie.length)>0){if(((Cn=(it=Un==null?void 0:Un.data)==null?void 0:it.update_datas)==null?void 0:Cn.length)>0){const na=en==null?void 0:en.map(Ut=>{var Ln,Ua;return(Ua=(Ln=Un==null?void 0:Un.data)==null?void 0:Ln.update_datas)==null||Ua.map(to=>{Ut.id===to.id&&(Ut.status=to.status)}),Ut});xt(na),In((jn=Un==null?void 0:Un.data)==null?void 0:jn.user_mirror_ids)}}else In([]),Kt(),clearInterval(Jt.current)}),5e3)),()=>{clearInterval(Jt.current)}),[on,en]);const Mn=me=>vt(void 0,null,function*(){var Ie;const it=yield(0,le.ZP)(`/api/user_mirrors/${me}/error_tips.json`,{method:"get"});(it==null?void 0:it.status)===0&&(ea((Ie=it==null?void 0:it.data)==null?void 0:Ie.user_mirror_logs),mn(!0))}),la=me=>vt(void 0,null,function*(){var Ie;const it=yield(0,le.ZP)(`/api/user_mirrors/${me}/check_is_can_delete.json`,{method:"get"});(it==null?void 0:it.status)===0&&(ro((Ie=it==null?void 0:it.data)==null?void 0:Ie.shixun_size),ka(!0))}),wa=(me,Ie)=>{Wt.page=1,Wt.keywords=me,ga(Nt({},Wt)),Kt()},Qa=me=>{Wt.keywords=me,ga(Nt({},Wt))},po=()=>vt(void 0,null,function*(){var me;const Ie=yield(0,le.ZP)("/api/teach_group_shares.json",{method:"get"});(Ie==null?void 0:Ie.status)===0&&(tt(Ie==null?void 0:Ie.groups),((me=Ie==null?void 0:Ie.groups)==null?void 0:me.length)>0?No(!0):Le.ZP.info("\u6682\u65E0\u5171\u4EAB\u6570\u636E"))}),rt=me=>vt(void 0,null,function*(){const Ie=yield(0,le.ZP)(`/api/user_mirrors/${me}/check_is_making_end.json`,{method:"get"});(Ie==null?void 0:Ie.status)===0?be.history.push(`/shixuns/new/${me}/imagepreview?operation=create_image`):Kt()}),at=me=>(me==null?void 0:me.status)===2&&[-1,0,1,2,3].includes(me==null?void 0:me.publish_status)?te.createElement(te.Fragment,null,te.createElement(re.Z,null,te.createElement(je.Z,{placement:"bottomLeft",content:te.createElement(Ae.default,null,te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(me==null?void 0:me.id),Xt(!1),Yn(me==null?void 0:me.id,!1)}},"\u8FD0\u884C\u955C\u50CF")),te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{(0,Ce.xg)(`/shixuns/new?tab=${Number(Hn)+1}&mirror=${me==null?void 0:me.mirror_repository_id}`)}},"\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE")),[-1,0].includes(me==null?void 0:me.publish_status)&&te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(me==null?void 0:me.id),io(!0)}},"\u7533\u8BF7\u516C\u5F00")),(me==null?void 0:me.publish_status)===3&&te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(me==null?void 0:me.id),nn(!0)}},"\u91CD\u65B0\u7533\u8BF7")),[2,3].includes(me==null?void 0:me.publish_status)&&te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(me==null?void 0:me.id),Ct(!0)}},"\u64A4\u9500\u7533\u8BF7")),te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(me==null?void 0:me.id),wo(!0)}},"\u4FEE\u6539\u955C\u50CF\u4FE1\u606F")),[-1,0,3].includes(me==null?void 0:me.publish_status)&&te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>vt(void 0,null,function*(){nt(me==null?void 0:me.id),Xt(!0),yield Yn(me==null?void 0:me.id,!0)})},"\u66F4\u65B0\u955C\u50CF")),te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>vt(void 0,null,function*(){nt(me==null?void 0:me.id),wt(me==null?void 0:me.share_group_ids),yield po()})},"\u5171\u4EAB\u955C\u50CF")),[-1,0,3].includes(me==null?void 0:me.publish_status)&&te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>vt(void 0,null,function*(){nt(me==null?void 0:me.id),yield la(me==null?void 0:me.id)})},"\u5220\u9664")))},"\u66F4\u591A",te.createElement("i",{className:"iconfont icon-sanjiaoxing-down font14 ",style:{marginLeft:"4px"}})))):(me==null?void 0:me.status)===0?te.createElement(te.Fragment,null,(me==null?void 0:me.is_making_end)===!0&&te.createElement(re.Z,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"#165DFF",height:22},onClick:()=>vt(void 0,null,function*(){nt(me==null?void 0:me.id),yield la(me==null?void 0:me.id)})},"\u5220\u9664")),(me==null?void 0:me.is_making_end)===!1&&te.createElement(re.Z,null,te.createElement(je.Z,{placement:"bottomLeft",content:te.createElement(Ae.default,null,te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>vt(void 0,null,function*(){yield rt(me==null?void 0:me.id)})},"\u5236\u4F5C\u955C\u50CF")),te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>vt(void 0,null,function*(){nt(me==null?void 0:me.id),yield la(me==null?void 0:me.id)})},"\u5220\u9664")))},"\u66F4\u591A",te.createElement("i",{className:"iconfont icon-sanjiaoxing-down font14 ",style:{marginLeft:"4px"}})))):te.createElement(te.Fragment,null),dt=[{title:"\u955C\u50CF\u540D\u79F0",dataIndex:"type_name",key:"type_name",ellipsis:!0,width:120,render:(me,Ie)=>te.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/${Ie==null?void 0:Ie.id}/detail?status=${Hn}`)}},me)},{title:"\u521B\u5EFA\u65B9\u5F0F",dataIndex:"create_method",key:"create_method",width:80,render:(me,Ie,it)=>me===1?"\u5728\u7EBF\u521B\u5EFA":"\u5BFC\u5165",ellipsis:!0},{title:"\u57FA\u7840\u73AF\u5883/\u955C\u50CF\u6587\u4EF6",dataIndex:"base_mirror",ellipsis:!0,align:"left",key:"base_mirror",width:110,render:(me,Ie,it)=>te.createElement("span",{style:{color:"#666"}},me)},{title:"\u7C7B\u578B",dataIndex:"mirror_type_cn",align:"left",ellipsis:!0,width:120,key:"mirror_type_cn",render:(me,Ie,it)=>(me==null?void 0:me.length)>1?me.join("\u3001"):me[0]},{title:"\u4FDD\u5B58\u72B6\u6001",dataIndex:"status",align:"left",key:"status",ellipsis:!0,width:90,render:(me,Ie,it)=>te.createElement(te.Fragment,null,me===0&&te.createElement("span",null,te.createElement("span",{style:{color:"#5F6368"}},"\u5236\u4F5C\u4E2D"),(Ie==null?void 0:Ie.is_making_end)===!1?te.createElement("i",{className:"iconfont icon-shijian1 ml5",style:{color:"#165DFF",fontSize:14}}):te.createElement(Te.Z,{title:"\u5269\u4F59\u5236\u4F5C\u65F6\u957F\u4E3A\u96F6\uFF0C\u4E0D\u80FD\u518D\u8FDB\u5165\u955C\u50CF\u5236\u4F5C\u9875\u9762\u3002"},te.createElement("i",{className:"iconfont icon-shijian1 ml5",style:{color:"#E30000",fontSize:14}}))),me===1&&te.createElement("span",null,te.createElement("span",{style:{color:"#165DFF",marginRight:5}},"\u4FDD\u5B58\u4E2D"),te.createElement(ze.Z,{size:"small"})),me===2&&te.createElement("span",null,te.createElement("span",{style:{color:"#00B187"}},"\u5B8C\u6210"),(Ie==null?void 0:Ie.has_error_tips)&&Hn===0&&te.createElement("i",{className:"iconfont icon-tishi4 current ml5 c-light-primary",style:{color:"#FF8C29",fontSize:14},onClick:()=>{Mn(Ie==null?void 0:Ie.id)}})),me===3&&te.createElement("span",{style:{color:"#E30000"}},"\u5931\u8D25"))},{title:"\u516C\u5F00\u72B6\u6001",dataIndex:"publish_status",align:"left",key:"publish_status",ellipsis:!0,width:80,render:(me,Ie,it)=>te.createElement("span",null,me===0&&"\u672A\u516C\u5F00",me===-1&&"\u672A\u516C\u5F00",me===1&&"\u5DF2\u516C\u5F00",me===2&&"\u5BA1\u6838\u4E2D",me===3&&te.createElement(te.Fragment,null,"\u9A73\u56DE",Hn===0&&te.createElement("i",{onClick:()=>{nt(Ie==null?void 0:Ie.id),_n(!0),Ca(Ie==null?void 0:Ie.remark)},className:"iconfont icon-tishi4 ml5 ",style:{color:"#FF8C29",cursor:"pointer",fontSize:14}})))},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_at",align:"left",key:"created_at",ellipsis:!0,render:(me,Ie,it)=>te.createElement("span",{style:{color:"#666"}},ve()(me).format("YYYY-MM-DD HH:mm:ss"))},{title:"\u64CD\u4F5C",dataIndex:"action",align:"right",key:"action",width:Hn===0?140:170,render:(me,Ie,it)=>{if(Hn===0)return te.createElement(ke.Z,{style:{cursor:"pointer",color:"#165DFF"},gutter:[8,0],justify:"end"},te.createElement(re.Z,{onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/${Ie==null?void 0:Ie.id}/detail?status=${Hn}`)}},"\u8BE6\u60C5"),(Ie==null?void 0:Ie.status)===1&&te.createElement(re.Z,null),(Ie==null?void 0:Ie.status)===3&&te.createElement(re.Z,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"#165DFF",height:22},onClick:()=>vt(void 0,null,function*(){nt(Ie==null?void 0:Ie.id),yield la(Ie==null?void 0:Ie.id)})},"\u5220\u9664")),at(Ie));if(Hn===1)return te.createElement(ke.Z,{style:{cursor:"pointer",color:"#165DFF"},gutter:[8,0],justify:"end"},te.createElement(re.Z,{onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/${Ie==null?void 0:Ie.id}/detail?status=${Hn}`)}},"\u8BE6\u60C5"),(Ie==null?void 0:Ie.status)===2&&te.createElement(re.Z,null,te.createElement(je.Z,{placement:"bottomLeft",content:te.createElement(Ae.default,null,te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(Ie==null?void 0:Ie.id),Xt(!1),Yn(Ie==null?void 0:Ie.id,!1)}},"\u8FD0\u884C\u955C\u50CF")),te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{(0,Ce.xg)(`/shixuns/new?tab=${Number(Hn)+1}&mirror=${Ie==null?void 0:Ie.mirror_repository_id}`)}},"\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE")))},"\u66F4\u591A",te.createElement("i",{className:"iconfont icon-sanjiaoxing-down font14 ",style:{marginLeft:"4px"}}))))}}],Oe=[{title:"\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(me,Ie,it)=>te.createElement("span",{style:{color:"#666"}},ve()(me).format("YYYY-MM-DD HH:mm:ss"))},{title:"\u64CD\u4F5C",dataIndex:"operation",key:"operation",render:(me,Ie,it)=>te.createElement("span",{style:{color:"#000"}},"\u66F4\u65B0\u955C\u50CF")},{title:"\u72B6\u6001",dataIndex:"status",align:"right",key:"status",render:(me,Ie,it)=>te.createElement("span",{style:{color:"#E30000"}},"\u5931\u8D25")}];return te.createElement("div",{className:de.wrap},te.createElement(ce.YG,{value:Hn,onChange:me=>{var Ie;(Ie=window.location.href.toString())!=null&&Ie.includes("status")?(0,Ce.jz)("status",me):window.history.replaceState(null,"",window.location.href.indexOf("?")>-1?window.location.href+`&status=${me}`:`?status=${me}`),Qe(me),Wt.tab_type=da[Number(me)].type,Wt.page=1,ga(Nt({},Wt))},dataSource:da,tabBarExtraContent:te.createElement("div",{className:de.rightBar},te.createElement(Te.Z,{title:"",className:de.doc},te.createElement("span",{onClick:()=>{(0,Ce.xg)("https://www.educoder.net/forums/37006")}},te.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}),te.createElement("span",{style:{paddingLeft:4}},"\u5E2E\u52A9\u6587\u6863"))),te.createElement(ce.t7,{style:{width:220,marginLeft:"40px",marginRight:"20px"},value:{value:Wt.keywords},onChange:wa,onInputChange:Qa,placeholder:"\u8BF7\u8F93\u5165\u955C\u50CF\u540D\u79F0\u641C\u7D22"}),te.createElement(Te.Z,{title:Kn>=We?"\u6700\u591A\u53EF\u521B\u5EFA3\u4E2A\u5B9E\u9A8C\u955C\u50CF":""},te.createElement(Pe.ZP,{disabled:Kn>=We,className:Kn>=We?de.create_disabled:de.create_button,type:Kn>=We?"default":"primary",onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/add`)}},"\u521B\u5EFA\u955C\u50CF")),te.createElement(ce.op,{shape:"default",size:"middle",style:{borderRadius:"2px",marginTop:"3px"},onClick:()=>{$a({type:"newShixuns/setActionTabs",payload:{key:"NewShixuns-Apply"}})}},"\u7533\u8BF7\u65B0\u5EFA"))}),te.createElement("div",{style:{paddingBottom:10}},Hn==0&&te.createElement("div",{className:de.note},te.createElement("p",{style:{paddingLeft:20,paddingBottom:8,color:"#FF9D18"}},te.createElement("i",{className:"iconfont icon-tishi7"}),te.createElement("span",{style:{paddingLeft:10}},"\u6E29\u99A8\u63D0\u793A")),te.createElement("p",{style:{paddingLeft:42,color:"#666",fontSize:12}},te.createElement("p",null,"1.\u521B\u5EFA\u955C\u50CF\u9700\u8981\u7B26\u5408\u5E73\u53F0\u7684\u89C4\u8303\u6807\u51C6\uFF0C\u64CD\u4F5C\u6307\u5357\u53C2\u89C1",te.createElement("a",{target:"_blank",href:"https://www.educoder.net/forums/37006"},"\u5E2E\u52A9\u6587\u6863"),"\u3002"),te.createElement("p",null,"2.\u652F\u6301\u4E24\u79CD\u521B\u5EFA\u65B9\u5F0F\uFF1A\u4F7F\u7528\u57FA\u7840\u955C\u50CF\u5728\u7EBF\u521B\u5EFA\u3001\u5BFC\u5165\u672C\u5730\u955C\u50CF\u3002"),te.createElement("p",null,"3.\u5BFC\u5165\u955C\u50CF\u76EE\u524D\u53EA\u652F\u6301\u5927\u5C0F\u57285G\u4EE5\u5185\u7684\u955C\u50CF\uFF0C\u4EC5\u652F\u6301\u4E0A\u4F20gz\u3001bz2\u3001tar\u3001tar.gz\u3001tar.bz2\u683C\u5F0F\u955C\u50CF\u6587\u4EF6\u3002"),te.createElement("p",null,"4.\u81EA\u5B9A\u4E49\u7684\u955C\u50CF\uFF0C\u53EF\u4EE5\u7528\u6765\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE\u3002"),te.createElement("p",null,"5.\u652F\u6301\u5C06\u955C\u50CF\u5171\u4EAB\u7ED9\u6559\u7814\u56E2\u961F\u8FDB\u884C\u4F7F\u7528\u3002"),te.createElement("p",null,"6.\u652F\u6301\u5C06\u955C\u50CF\u516C\u5F00\uFF0C\u8D21\u732E\u7ED9\u5E73\u53F0\u6240\u6709\u4EBA\u8FDB\u884C\u4F7F\u7528\u3002"))),an===0?te.createElement(pe.Z,{customText:"\u6682\u65E0\u6570\u636E"}):te.createElement(ce.Gi,{style:{marginTop:20}},te.createElement(ze.Z,{spinning:Za},te.createElement(se.default,{dataSource:en,columns:dt,pagination:!1}))),an!=0&&te.createElement(ke.Z,{className:"mt20 mb20",wrap:!1,align:"middle",justify:"end"},te.createElement(re.Z,null,te.createElement(y.Z,{showSizeChanger:!0,showQuickJumper:!0,current:Wt.page,pageSize:Wt.per_page,onShowSizeChange:(me,Ie)=>{Wt.per_page=Ie,Wt.page=1,ga(Nt({},Wt)),Kt()},onChange:me=>{Wt.page=me,ga(Nt({},Wt)),Kt()},total:an})))),te.createElement("div",null,te.createElement(a.default,{centered:!0,title:"\u9A73\u56DE\u539F\u56E0",open:Xn,maskClosable:!1,footer:null,destroyOnClose:!0,onCancel:()=>{_n(!1)}},te.createElement("div",{style:{maxHeight:300,overflowY:"auto"}},va),te.createElement("div",{className:de.footBtnWrap},te.createElement(Pe.ZP,{size:"middle",style:{marginRight:20},onClick:()=>{_n(!1),Ct(!0)},type:"primary"},"\u64A4\u9500\u7533\u8BF7"),te.createElement(Pe.ZP,{size:"middle",onClick:()=>{_n(!1),nn(!0)},type:"primary"},"\u91CD\u65B0\u7533\u8BF7"))),te.createElement(a.default,{centered:!0,title:"\u5F02\u5E38\u63D0\u793A",open:St,maskClosable:!1,footer:null,destroyOnClose:!0,onCancel:()=>{mn(!1)}},te.createElement(se.default,{style:{maxHeight:300,overflowY:"auto",marginBottom:20},dataSource:On,columns:Oe,pagination:!1})),te.createElement(a.default,{centered:!0,title:"\u91CD\u65B0\u7533\u8BF7\u516C\u5F00",open:dn,maskClosable:!1,confirmLoading:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{nn(!1)},onOk:()=>vt(void 0,null,function*(){Et(!0),(yield(0,le.ZP)(`/api/user_mirrors/${qe}/apply_public.json`,{method:"post"})).status===0&&(Le.ZP.success("\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85"),Kt()),Et(!1),nn(!1)})},te.createElement("div",null,"\u91CD\u65B0\u7533\u8BF7\u516C\u5F00\u524D\uFF0C\u8BF7\u6839\u636E\u9A73\u56DE\u539F\u56E0\u4FEE\u6539\u955C\u50CF\uFF0C\u7136\u540E\u518D\u7533\u8BF7\u3002\u4F60\u786E\u5B9A\u8981\u91CD\u65B0\u7533\u8BF7\u516C\u5F00\u5417\uFF1F")),te.createElement(a.default,{centered:!0,title:"\u64A4\u9500\u7533\u8BF7\u516C\u5F00",open:he,maskClosable:!1,confirmLoading:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{Ct(!1)},onOk:()=>vt(void 0,null,function*(){Et(!0),(yield(0,le.ZP)(`/api/user_mirrors/${qe}/revoke_apply.json`,{method:"post"})).status===0&&(Le.ZP.success("\u64A4\u9500\u6210\u529F"),Kt()),Et(!1),Ct(!1)})},te.createElement("div",null,"\u64A4\u9500\u7533\u8BF7\u516C\u5F00\u540E\uFF0C\u955C\u50CF\u56DE\u5230\u3010\u672A\u516C\u5F00\u3011\u72B6\u6001\u3002\u540E\u7EED\u5982\u6709\u9700\u8981\uFF0C\u53EF\u4EE5\u518D\u6B21\u7533\u8BF7\u516C\u5F00\u3002\u4F60\u786E\u5B9A\u8981\u64A4\u9500\u7533\u8BF7\u516C\u5F00\u5417\uFF1F")),te.createElement(a.default,{centered:!0,width:518,title:"\u5171\u4EAB\u955C\u50CF",open:zo,maskClosable:!1,confirmLoading:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",className:de.modal,destroyOnClose:!0,onCancel:()=>{wt([]),No(!1)},onOk:()=>vt(void 0,null,function*(){Et(!0),(yield(0,le.ZP)("/api/teach_group_shares.json",{method:"post",body:{ids:[qe],clazz:"UserMirror",group_ids:lt}})).status===0&&(Le.ZP.success("\u5171\u4EAB\u6210\u529F"),Kt()),Et(!1),No(!1)})},te.createElement("div",{style:{marginBottom:"30px",backgroundColor:"rgba(255,157,24,0.1)",width:"468px",height:"42px",lineHeight:"42px"}},te.createElement("i",{className:"iconfont icon-tishi4",style:{color:"#FF9D18",paddingLeft:20}}),te.createElement("span",{style:{paddingLeft:"6px",color:"#FF9D18"}},"\u8BE5\u955C\u50CF\u4EC5\u5171\u4EAB\u7ED9\u9009\u4E2D\u7684\u6559\u7814\u56E2\u961F\uFF0C\u53D6\u6D88\u9009\u4E2D\u5E76\u786E\u5B9A\u5373\u53EF\u64A4\u9500\u5171\u4EAB\u3002")),te.createElement("div",{style:{maxHeight:"260px",overflowY:"auto"}},te.createElement(b.default.Group,{defaultValue:lt,value:lt,style:{flexDirection:"column"},onChange:me=>{wt(me)}},Da==null?void 0:Da.map(me=>te.createElement(b.default,{checked:!!lt.some(Ie=>Ie===me.group_id),style:{marginBottom:14},value:me.group_id},me.name))))),te.createElement(st.Z,{visible:Yo,setVisible:wo,mirrorId:qe,getData:Kt}),te.createElement(a.default,{centered:!0,title:"\u7533\u8BF7\u516C\u5F00",open:fo,maskClosable:!1,confirmLoading:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{io(!1)},onOk:()=>vt(void 0,null,function*(){Et(!0),(yield(0,le.ZP)(`/api/user_mirrors/${qe}/apply_public.json`,{method:"post"})).status===0&&(Le.ZP.success("\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85"),Kt()),Et(!1),io(!1)})},te.createElement("div",{className:de.noteTip},te.createElement("p",null,"1.\u7533\u8BF7\u516C\u5F00\u524D\uFF0C\u8BF7\u4FDD\u8BC1\u955C\u50CF\u662F\u53EF\u8FD0\u884C\u7684\uFF0C\u5E76\u68C0\u67E5\u8BE5\u5B9E\u9A8C\u955C\u50CF\u662F\u5426\u7B26\u5408\u5E73\u53F0\u7684\u89C4\u8303\u6807\u51C6\u3002"),te.createElement("p",null,"2.\u516C\u5F00\u7684\u955C\u50CF\u5C06\u8D21\u732E\u7ED9\u5E73\u53F0\u6240\u6709\u4EBA\u8FDB\u884C\u4F7F\u7528\uFF0C\u82E5\u4EC5\u672C\u4EBA\u6559\u5B66\u4F7F\u7528\u5219\u65E0\u9700\u7533\u8BF7\u516C\u5F00\u3002"),te.createElement("p",null,"3.\u516C\u5F00\u955C\u50CF\u9700\u7ECF\u8FC7\u5E73\u53F0\u6807\u51C6\u5316\u5BA1\u6838\uFF0C\u5BA1\u6838\u5468\u671F\u4E3A1-2\u5929\u3002"),te.createElement("p",null,"\u4F60\u786E\u5B9A\u8981\u7533\u8BF7\u516C\u5F00\u5417\uFF1F"))),te.createElement(a.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:Qo,maskClosable:!1,confirmLoading:Dt,title:"\u9009\u62E9\u8FD0\u884C\u73AF\u5883",width:"558px",okText:"\u786E\u5B9A",wrapClassName:de.auditModal,onCancel:()=>{Xo(0),Jo(0),Oo(!1)},onOk:()=>vt(void 0,null,function*(){var me;Et(!0);const Ie=yield(0,le.ZP)(`/api/user_mirrors/${qe}/running_image.json`,{method:"post",body:{cpu_memory_limit:Ga==null?void 0:Ga.cpu_memory_limit_config[Number(Wo)],time_limit:(me=Ga==null?void 0:Ga.time_limit_config[Number(qo)])==null?void 0:me.value}});(Ie==null?void 0:Ie.status)===0&&(En?be.history.push(`/shixuns/new/${qe}/imagepreview?operation=update_image`):be.history.push(`/shixuns/new/${qe}/imagepreview`)),Et(!1),Oo(!1)})},te.createElement("div",{style:{paddingTop:20}},En&&te.createElement("div",{style:{marginBottom:"30px",backgroundColor:"rgba(255,157,24,0.1)",height:"42px",lineHeight:"42px"}},te.createElement("i",{className:"iconfont icon-tishi4",style:{color:"#FF9D18",paddingLeft:20}}),te.createElement("span",{style:{paddingLeft:"6px",color:"#FF9D18"}},"\u66F4\u65B0\u955C\u50CF\u540E\uFF0C\u539F\u6765\u7684\u955C\u50CF\u5C06\u88AB\u8986\u76D6\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u76F8\u5173\u7684\u5B9E\u8DF5\u9879\u76EE\u3002")),te.createElement(Vt.Z,{required:!0,name:"\u914D\u7F6E",align:"center",nameWidth:60},te.createElement("div",{className:de.cpuWrap},(Ze=Ga==null?void 0:Ga.cpu_memory_limit_config)==null?void 0:Ze.map((me,Ie)=>te.createElement("div",{className:Wo===Ie?de.activebtn:de.btn,onClick:()=>Xo(Ie)},te.createElement("div",null,me),Wo===Ie?te.createElement("div",null,te.createElement("i",{className:"iconfont icon-xuanzhong9",style:{paddingRight:12}})):"")))),te.createElement(Vt.Z,{required:!0,name:"\u65F6\u957F",align:"center",nameWidth:60},(ot=Ga==null?void 0:Ga.time_limit_config)==null?void 0:ot.map((me,Ie)=>te.createElement("span",{className:qo===Ie?de.activeTab:de.tab,onClick:()=>Jo(Ie)},me.name))))),te.createElement(a.default,{centered:!0,title:"\u5220\u9664\u955C\u50CF",maskClosable:!1,confirmLoading:Dt,open:Bn,okText:ca>0?"\u6211\u77E5\u9053\u4E86":"\u786E\u5B9A",cancelText:ca>0?"":"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{ka(!1)},onOk:()=>vt(void 0,null,function*(){if(Et(!0),ca>0){ka(!1);return}(yield(0,le.ZP)(`/api/user_mirrors/${qe}.json`,{method:"delete"})).status===0&&(Le.ZP.success("\u5220\u9664\u6210\u529F"),Kt()),Et(!1),ka(!1)})},ca>0?te.createElement("div",null,te.createElement("div",null,"\u8BE5\u955C\u50CF\u5DF2\u88AB ",ca," \u4E2A\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\uFF0C\u4E0D\u5141\u8BB8\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\u3002"),te.createElement("div",{style:{color:"#165DFF",marginTop:20,cursor:"pointer"},onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/${qe}/detail?status=${Hn}`),ka(!1)}},te.createElement("span",{style:{paddingRight:"4"}},"\u67E5\u770B\u76F8\u5173\u5B9E\u8DF5\u9879\u76EE"),te.createElement("i",{className:"iconfont icon-you"}))):te.createElement("div",null,"\u955C\u50CF\u5220\u9664\u4E4B\u540E\u4E0D\u53EF\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u955C\u50CF\u5417\uFF1F"))),te.createElement(oe,{value:ft,visible:Ka,setVisible:Xa}),te.createElement(At.Z,null))};var Be=(0,be.connect)(({user:qt,newShixuns:bt,classroomList:gn,loading:aa,globalSetting:Vn})=>({user:qt,newShixuns:bt,classroomList:gn,globalSetting:Vn,loading:aa.models.classroomList}))(Pn),jt={auditModal:"auditModal____kHCo",modalbtn:"modalbtn___pMgYK"},oa=({value:qt,visible:bt,setVisible:gn})=>te.createElement(a.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:bt,title:"\u9A73\u56DE\u539F\u56E0",wrapClassName:jt.auditModal,footer:null,onCancel:()=>gn(!1)},te.createElement(x.Z,{value:qt}),te.createElement(Pe.ZP,{className:jt.btn,onClick:()=>gn(!1),type:"primary"},"\u6211\u77E5\u9053\u4E86")),cn={flex_box_center:"flex_box_center___Re4zL",flex_space_between:"flex_space_between___qre0_",flex_box_vertical_center:"flex_box_vertical_center___z1Qdu",flex_box_center_end:"flex_box_center_end___tIv89",flex_box_column:"flex_box_column___cuOmo",wrap:"wrap___aOAeg",rightBar:"rightBar___qElWE",doc:"doc___sZPvk",create_button:"create_button___LN4pi",create_disabled:"create_disabled___YrbFW",note:"note___OCWpb",noteTip:"noteTip___AWf0X",countDown:"countDown___TYDXA",red:"red___TJD4s",cpuWrap:"cpuWrap___fA4aq",activebtn:"activebtn___ZvVm9",btn:"btn___ZkmBx",activeTab:"activeTab___G8Irk",tab:"tab___VT5YD",footBtnWrap:"footBtnWrap___i6M4p"},zt=ne(87281),Ne=Object.defineProperty,we=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Xe=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,Bt=Object.prototype.propertyIsEnumerable,un=(qt,bt,gn)=>bt in qt?Ne(qt,bt,{enumerable:!0,configurable:!0,writable:!0,value:gn}):qt[bt]=gn,rn=(qt,bt)=>{for(var gn in bt||(bt={}))ct.call(bt,gn)&&un(qt,gn,bt[gn]);if(Xe)for(var gn of Xe(bt))Bt.call(bt,gn)&&un(qt,gn,bt[gn]);return qt},ln=(qt,bt)=>we(qt,Me(bt)),Gn=(qt,bt)=>{var gn={};for(var aa in qt)ct.call(qt,aa)&&bt.indexOf(aa)<0&&(gn[aa]=qt[aa]);if(qt!=null&&Xe)for(var aa of Xe(qt))bt.indexOf(aa)<0&&Bt.call(qt,aa)&&(gn[aa]=qt[aa]);return gn},ye=(qt,bt,gn)=>new Promise((aa,Vn)=>{var Oa=xn=>{try{$a(gn.next(xn))}catch(Ze){Vn(Ze)}},ao=xn=>{try{$a(gn.throw(xn))}catch(Ze){Vn(Ze)}},$a=xn=>xn.done?aa(xn.value):Promise.resolve(xn.value).then(Oa,ao);$a((gn=gn.apply(qt,bt)).next())});const{Countdown:Ye}=De.default,{Option:An}=Fe.default,fn=qt=>{var bt=qt,{user:gn,newShixuns:aa,classroomList:Vn,globalSetting:Oa,loading:ao,dispatch:$a}=bt,xn=Gn(bt,["user","newShixuns","classroomList","globalSetting","loading","dispatch"]),Ze,ot;const We=3,[Gt]=(0,be.useSearchParams)(),[pn,Wn]=(0,te.useState)(!1),[Ia,ta]=(0,te.useState)(!1),[Ka,Xa]=(0,te.useState)(!1),[co,Sn]=(0,te.useState)(),[Hn,Qe]=(0,te.useState)(parseInt(Gt.get("status"))||0),{username:Ot}=(0,be.useParams)(),[ft,Tt]=(0,te.useState)(""),[en,xt]=(0,te.useState)([]),[an,kt]=(0,te.useState)(0),[Kn,$n]=(0,te.useState)(),[ba,za]=(0,te.useState)(),[Ya,eo]=(0,te.useState)(),[Lo,tn]=(0,te.useState)(),[Za,mo]=(0,te.useState)(!1),[on,In]=(0,te.useState)([]),Dn=(0,be.useParams)(),[Bn,ka]=(0,te.useState)(!1),[ca,ro]=(0,te.useState)(0),[fo,io]=(0,te.useState)(!1),[Yo,wo]=(0,te.useState)(!1),[Qo,Oo]=(0,te.useState)(!1),[Ga,xo]=(0,te.useState)({}),[Wo,Xo]=(0,te.useState)(0),[qo,Jo]=(0,te.useState)(0),[zo,No]=(0,te.useState)(!1),[Da,tt]=(0,te.useState)([]),[lt,wt]=(0,te.useState)([]),[he,Ct]=(0,te.useState)(!1),[dn,nn]=(0,te.useState)(!1),[qe,nt]=(0,te.useState)(),[St,mn]=(0,te.useState)(),[On,ea]=(0,te.useState)([]),[Xn,_n]=(0,te.useState)(!1),[va,Ca]=(0,te.useState)(),[En,Xt]=(0,te.useState)(!0),[Dt,Et]=(0,te.useState)(!1);let Jt=(0,te.useRef)();const[Wt,ga]=(0,te.useState)({page:1,per_page:10,keywords:"",tab_type:"customize"}),da=[{id:0,name:"\u81EA\u5B9A\u4E49\u955C\u50CF",type:"customize",total:ba,resetCount:Ya,tip:Lo},{id:1,name:"\u5171\u4EAB\u955C\u50CF",type:"share"}];(0,te.useEffect)(()=>{Kt()},[Hn]),(0,te.useEffect)(()=>{document.title="\u5B9E\u9A8C\u955C\u50CF"},[location==null?void 0:location.pathname]);const Kt=()=>ye(void 0,null,function*(){var me,Ie,it,Cn,jn,Un,na,Ut;mo(!0);const Ln=yield(0,le.ZP)("/api/user_mirrors.json",{method:"get",params:ln(rn({},Wt),{tab_type:(me=da[Hn])==null?void 0:me.type,account_id:Ot})});Ln.status===0&&(xt((Ie=Ln==null?void 0:Ln.data)==null?void 0:Ie.list),kt((it=Ln==null?void 0:Ln.data)==null?void 0:it.count),In((Cn=Ln==null?void 0:Ln.data)==null?void 0:Cn.user_mirror_ids),Wt.tab_type==="customize"&&((jn=Ln==null?void 0:Ln.data)==null?void 0:jn.max_count)!==-1&&(eo((Un=Ln==null?void 0:Ln.data)==null?void 0:Un.total),za(We),$n((na=Ln==null?void 0:Ln.data)==null?void 0:na.total),tn(`\u955C\u50CF\u4E0A\u9650${We}\uFF0C\u5DF2\u7528${(Ut=Ln==null?void 0:Ln.data)==null?void 0:Ut.total}`))),mo(!1)});(0,te.useEffect)(()=>{Qo===!0&&zn()},[Qo]);const zn=()=>ye(void 0,null,function*(){const me=yield(0,le.ZP)("/api/user_mirrors/other_info.json",{method:"get"});me.status===0&&xo(me==null?void 0:me.data)}),Yn=(me,Ie)=>ye(void 0,null,function*(){var it;const Cn=yield(0,le.ZP)(`/api/user_mirrors/${me}/check.json`,{method:"get"});(Cn==null?void 0:Cn.status)===0&&(((it=Cn==null?void 0:Cn.data)==null?void 0:it.exist)===0?Oo(!0):(Oo(!1),Ie?be.history.push(`/shixuns/new/${me}/imagepreview?operation=update_image`):be.history.push(`/shixuns/new/${me}/imagepreview`)))});(0,te.useEffect)(()=>(on.length>0&&(Jt.current=setInterval(()=>ye(void 0,null,function*(){var me,Ie,it,Cn,jn;const Un=yield(0,le.ZP)("/api/user_mirrors/polling_update_status.json",{method:"post",body:{user_mirror_ids:on}});if(Un.status===0)if(((Ie=(me=Un==null?void 0:Un.data)==null?void 0:me.user_mirror_ids)==null?void 0:Ie.length)>0){if(((Cn=(it=Un==null?void 0:Un.data)==null?void 0:it.update_datas)==null?void 0:Cn.length)>0){const na=en==null?void 0:en.map(Ut=>{var Ln,Ua;return(Ua=(Ln=Un==null?void 0:Un.data)==null?void 0:Ln.update_datas)==null||Ua.map(to=>{Ut.id===to.id&&(Ut.status=to.status)}),Ut});xt(na),In((jn=Un==null?void 0:Un.data)==null?void 0:jn.user_mirror_ids)}}else In([]),Kt(),clearInterval(Jt.current)}),5e3)),()=>{clearInterval(Jt.current)}),[on,en]);const Mn=me=>ye(void 0,null,function*(){var Ie;const it=yield(0,le.ZP)(`/api/user_mirrors/${me}/error_tips.json`,{method:"get"});(it==null?void 0:it.status)===0&&(ea((Ie=it==null?void 0:it.data)==null?void 0:Ie.user_mirror_logs),mn(!0))}),la=me=>ye(void 0,null,function*(){var Ie;const it=yield(0,le.ZP)(`/api/user_mirrors/${me}/check_is_can_delete.json`,{method:"get"});(it==null?void 0:it.status)===0&&(ro((Ie=it==null?void 0:it.data)==null?void 0:Ie.shixun_size),ka(!0))}),wa=({item:{value:me}})=>{Wt.page=1,Wt.keywords=me,ga(rn({},Wt)),Kt()},Qa=me=>{Wt.keywords=me,ga(rn({},Wt))},po=()=>ye(void 0,null,function*(){var me;const Ie=yield(0,le.ZP)("/api/teach_group_shares.json",{method:"get"});(Ie==null?void 0:Ie.status)===0&&(tt(Ie==null?void 0:Ie.groups),((me=Ie==null?void 0:Ie.groups)==null?void 0:me.length)>0?No(!0):Le.ZP.info("\u6682\u65E0\u5171\u4EAB\u6570\u636E"))}),rt=me=>ye(void 0,null,function*(){const Ie=yield(0,le.ZP)(`/api/user_mirrors/${me}/check_is_making_end.json`,{method:"get"});(Ie==null?void 0:Ie.status)===0?be.history.push(`/shixuns/new/${me}/imagepreview?operation=create_image`):Kt()}),at=me=>(me==null?void 0:me.status)===2&&[-1,0,1,2,3].includes(me==null?void 0:me.publish_status)?te.createElement(te.Fragment,null,te.createElement(re.Z,null,te.createElement(je.Z,{placement:"bottomLeft",content:te.createElement(Ae.default,null,te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(me==null?void 0:me.id),Xt(!1),Yn(me==null?void 0:me.id,!1)}},"\u8FD0\u884C\u955C\u50CF")),te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{(0,Ce.xg)(`/shixuns/new?tab=${Number(Hn)+1}&mirror=${me==null?void 0:me.mirror_repository_id}`)}},"\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE")),[-1,0].includes(me==null?void 0:me.publish_status)&&te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(me==null?void 0:me.id),io(!0)}},"\u7533\u8BF7\u516C\u5F00")),(me==null?void 0:me.publish_status)===3&&te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(me==null?void 0:me.id),nn(!0)}},"\u91CD\u65B0\u7533\u8BF7")),[2,3].includes(me==null?void 0:me.publish_status)&&te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(me==null?void 0:me.id),Ct(!0)}},"\u64A4\u9500\u7533\u8BF7")),te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(me==null?void 0:me.id),wo(!0)}},"\u4FEE\u6539\u955C\u50CF\u4FE1\u606F")),[-1,0,3].includes(me==null?void 0:me.publish_status)&&te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>ye(void 0,null,function*(){nt(me==null?void 0:me.id),Xt(!0),yield Yn(me==null?void 0:me.id,!0)})},"\u66F4\u65B0\u955C\u50CF")),te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>ye(void 0,null,function*(){nt(me==null?void 0:me.id),wt(me==null?void 0:me.share_group_ids),yield po()})},"\u5171\u4EAB\u955C\u50CF")),[-1,0,3].includes(me==null?void 0:me.publish_status)&&te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>ye(void 0,null,function*(){nt(me==null?void 0:me.id),yield la(me==null?void 0:me.id)})},"\u5220\u9664")))},"\u66F4\u591A",te.createElement("i",{className:"iconfont icon-sanjiaoxing-down font14 ",style:{marginLeft:"4px"}})))):(me==null?void 0:me.status)===0?te.createElement(te.Fragment,null,(me==null?void 0:me.is_making_end)===!0&&te.createElement(re.Z,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"#165DFF",height:22},onClick:()=>ye(void 0,null,function*(){nt(me==null?void 0:me.id),yield la(me==null?void 0:me.id)})},"\u5220\u9664")),(me==null?void 0:me.is_making_end)===!1&&te.createElement(re.Z,null,te.createElement(je.Z,{placement:"bottomLeft",content:te.createElement(Ae.default,null,te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>ye(void 0,null,function*(){yield rt(me==null?void 0:me.id)})},"\u5236\u4F5C\u955C\u50CF")),te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>ye(void 0,null,function*(){nt(me==null?void 0:me.id),yield la(me==null?void 0:me.id)})},"\u5220\u9664")))},"\u66F4\u591A",te.createElement("i",{className:"iconfont icon-sanjiaoxing-down font14 ",style:{marginLeft:"4px"}})))):te.createElement(te.Fragment,null),dt=[{title:"\u955C\u50CF\u540D\u79F0",dataIndex:"type_name",key:"type_name",ellipsis:!0,width:120,render:(me,Ie)=>te.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/${Ie==null?void 0:Ie.id}/detail?status=${Hn}`)}},me)},{title:"\u521B\u5EFA\u65B9\u5F0F",dataIndex:"create_method",key:"create_method",width:80,render:(me,Ie,it)=>me===1?"\u5728\u7EBF\u521B\u5EFA":"\u5BFC\u5165",ellipsis:!0},{title:"\u57FA\u7840\u73AF\u5883/\u955C\u50CF\u6587\u4EF6",dataIndex:"base_mirror",ellipsis:!0,align:"left",key:"base_mirror",width:110,render:(me,Ie,it)=>te.createElement("span",{style:{color:"#666"}},me)},{title:"\u7C7B\u578B",dataIndex:"mirror_type_cn",align:"left",ellipsis:!0,width:120,key:"mirror_type_cn",render:(me,Ie,it)=>(me==null?void 0:me.length)>1?me.join("\u3001"):me[0]},{title:"\u4FDD\u5B58\u72B6\u6001",dataIndex:"status",align:"left",key:"status",ellipsis:!0,width:90,render:(me,Ie,it)=>te.createElement(te.Fragment,null,me===0&&te.createElement("span",null,te.createElement("span",{style:{color:"#5F6368"}},"\u5236\u4F5C\u4E2D"),(Ie==null?void 0:Ie.is_making_end)===!1?te.createElement("i",{className:"iconfont icon-shijian1 ml5",style:{color:"#165DFF",fontSize:14}}):te.createElement(Te.Z,{title:"\u5269\u4F59\u5236\u4F5C\u65F6\u957F\u4E3A\u96F6\uFF0C\u4E0D\u80FD\u518D\u8FDB\u5165\u955C\u50CF\u5236\u4F5C\u9875\u9762\u3002"},te.createElement("i",{className:"iconfont icon-shijian1 ml5",style:{color:"#E30000",fontSize:14}}))),me===1&&te.createElement("span",null,te.createElement("span",{style:{color:"#165DFF",marginRight:5}},"\u4FDD\u5B58\u4E2D"),te.createElement(ze.Z,{size:"small"})),me===2&&te.createElement("span",null,te.createElement("span",{style:{color:"#00B187"}},"\u5B8C\u6210"),(Ie==null?void 0:Ie.has_error_tips)&&Hn===0&&te.createElement("i",{className:"iconfont icon-tishi4 current ml5 c-light-primary",style:{color:"#FF8C29",fontSize:14},onClick:()=>{Mn(Ie==null?void 0:Ie.id)}})),me===3&&te.createElement("span",{style:{color:"#E30000"}},"\u5931\u8D25"))},{title:"\u516C\u5F00\u72B6\u6001",dataIndex:"publish_status",align:"left",key:"publish_status",ellipsis:!0,width:80,render:(me,Ie,it)=>te.createElement("span",null,me===0&&"\u672A\u516C\u5F00",me===-1&&"\u672A\u516C\u5F00",me===1&&"\u5DF2\u516C\u5F00",me===2&&"\u5BA1\u6838\u4E2D",me===3&&te.createElement(te.Fragment,null,"\u9A73\u56DE",Hn===0&&te.createElement("i",{onClick:()=>{nt(Ie==null?void 0:Ie.id),_n(!0),Ca(Ie==null?void 0:Ie.remark)},className:"iconfont icon-tishi4 ml5 ",style:{color:"#FF8C29",cursor:"pointer",fontSize:14}})))},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_at",align:"left",key:"created_at",ellipsis:!0,render:(me,Ie,it)=>te.createElement("span",{style:{color:"#666"}},ve()(me).format("YYYY-MM-DD HH:mm:ss"))},{title:"\u64CD\u4F5C",dataIndex:"action",align:"right",key:"action",width:Hn===0?140:170,render:(me,Ie,it)=>{if(Hn===0)return te.createElement(ke.Z,{style:{cursor:"pointer",color:"#165DFF"},gutter:[8,0],justify:"end"},te.createElement(re.Z,{onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/${Ie==null?void 0:Ie.id}/detail?status=${Hn}`)}},"\u8BE6\u60C5"),(Ie==null?void 0:Ie.status)===1&&te.createElement(re.Z,null),(Ie==null?void 0:Ie.status)===3&&te.createElement(re.Z,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"#165DFF",height:22},onClick:()=>ye(void 0,null,function*(){nt(Ie==null?void 0:Ie.id),yield la(Ie==null?void 0:Ie.id)})},"\u5220\u9664")),at(Ie));if(Hn===1)return te.createElement(ke.Z,{style:{cursor:"pointer",color:"#165DFF"},gutter:[8,0],justify:"end"},te.createElement(re.Z,{onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/${Ie==null?void 0:Ie.id}/detail?status=${Hn}`)}},"\u8BE6\u60C5"),(Ie==null?void 0:Ie.status)===2&&te.createElement(re.Z,null,te.createElement(je.Z,{placement:"bottomLeft",content:te.createElement(Ae.default,null,te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(Ie==null?void 0:Ie.id),Xt(!1),Yn(Ie==null?void 0:Ie.id,!1)}},"\u8FD0\u884C\u955C\u50CF")),te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{(0,Ce.xg)(`/shixuns/new?tab=${Number(Hn)+1}&mirror=${Ie==null?void 0:Ie.mirror_repository_id}`)}},"\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE")))},"\u66F4\u591A",te.createElement("i",{className:"iconfont icon-sanjiaoxing-down font14 ",style:{marginLeft:"4px"}}))))}}],Oe=[{title:"\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(me,Ie,it)=>te.createElement("span",{style:{color:"#666"}},ve()(me).format("YYYY-MM-DD HH:mm:ss"))},{title:"\u64CD\u4F5C",dataIndex:"operation",key:"operation",render:(me,Ie,it)=>te.createElement("span",{style:{color:"#000"}},"\u66F4\u65B0\u955C\u50CF")},{title:"\u72B6\u6001",dataIndex:"status",align:"right",key:"status",render:(me,Ie,it)=>te.createElement("span",{style:{color:"#E30000"}},"\u5931\u8D25")}];return te.createElement("div",null,te.createElement(ce.Du,{selectValue:Hn,onChange:({item:{id:me}})=>{var Ie;(Ie=window.location.href.toString())!=null&&Ie.includes("status")?(0,Ce.jz)("status",me):window.history.replaceState(null,"",window.location.href.indexOf("?")>-1?window.location.href+`&status=${me}`:`?status=${me}`),Qe(me),Wt.tab_type=da[Number(me)].type,Wt.page=1,ga(rn({},Wt))},DataProps:da,extra:te.createElement("div",{className:cn.rightBar},te.createElement(ce.k8,{style:{width:220,marginLeft:"40px",marginRight:"20px"},value:Wt.keywords,onChange:wa,onInputChange:Qa,InputProps:{placeholder:"\u8BF7\u8F93\u5165\u955C\u50CF\u540D\u79F0\u641C\u7D22"}}),te.createElement(Te.Z,{title:Kn>=We?"\u6700\u591A\u53EF\u521B\u5EFA3\u4E2A\u5B9E\u9A8C\u955C\u50CF":""},te.createElement(Pe.ZP,{disabled:Kn>=We,className:Kn>=We?cn.create_disabled:cn.create_button,type:Kn>=We?"default":"primary",onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/add`)}},"\u521B\u5EFA\u955C\u50CF")),te.createElement(ce.op,{theme:ee.Fy.THEMEONE,shape:"default",style:{borderRadius:"2px"},onClick:()=>{$a({type:"newShixuns/setActionTabs",payload:{key:"NewShixuns-Apply"}})}},"\u7533\u8BF7\u65B0\u5EFA"))}),te.createElement("div",{className:"px-20px",style:{paddingBottom:10}},Hn==0&&te.createElement("div",{className:cn.note},te.createElement("p",{style:{paddingLeft:20,paddingBottom:8,color:"#FF9D18"}},te.createElement("i",{className:"iconfont icon-tishi7"}),te.createElement("span",{style:{paddingLeft:10}},"\u6E29\u99A8\u63D0\u793A")),te.createElement("p",{style:{paddingLeft:42,color:"#666",fontSize:12}},te.createElement("p",null,"1.\u521B\u5EFA\u955C\u50CF\u9700\u8981\u7B26\u5408\u5E73\u53F0\u7684\u89C4\u8303\u6807\u51C6\u3002"),te.createElement("p",null,"2.\u652F\u6301\u4E24\u79CD\u521B\u5EFA\u65B9\u5F0F\uFF1A\u4F7F\u7528\u57FA\u7840\u955C\u50CF\u5728\u7EBF\u521B\u5EFA\u3001\u5BFC\u5165\u672C\u5730\u955C\u50CF\u3002"),te.createElement("p",null,"3.\u5BFC\u5165\u955C\u50CF\u76EE\u524D\u53EA\u652F\u6301\u5927\u5C0F\u57285G\u4EE5\u5185\u7684\u955C\u50CF\uFF0C\u4EC5\u652F\u6301\u4E0A\u4F20gz\u3001bz2\u3001tar\u3001tar.gz\u3001tar.bz2\u683C\u5F0F\u955C\u50CF\u6587\u4EF6\u3002"),te.createElement("p",null,"4.\u81EA\u5B9A\u4E49\u7684\u955C\u50CF\uFF0C\u53EF\u4EE5\u7528\u6765\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE\u3002"),te.createElement("p",null,"5.\u652F\u6301\u5C06\u955C\u50CF\u5171\u4EAB\u7ED9\u6559\u7814\u56E2\u961F\u8FDB\u884C\u4F7F\u7528\u3002"),te.createElement("p",null,"6.\u652F\u6301\u5C06\u955C\u50CF\u516C\u5F00\uFF0C\u8D21\u732E\u7ED9\u5E73\u53F0\u6240\u6709\u4EBA\u8FDB\u884C\u4F7F\u7528\u3002"))),an===0?te.createElement(pe.Z,{customText:"\u6682\u65E0\u6570\u636E"}):te.createElement(ce.Gi,{style:{marginTop:20}},te.createElement(ze.Z,{spinning:Za},te.createElement(se.default,{dataSource:en,columns:dt,pagination:!1}))),an!=0&&te.createElement(ke.Z,{className:"mt20 mb20",wrap:!1,align:"middle",justify:"end"},te.createElement(re.Z,null,te.createElement(y.Z,{showSizeChanger:!0,showQuickJumper:!0,current:Wt.page,pageSize:Wt.per_page,onShowSizeChange:(me,Ie)=>{Wt.per_page=Ie,Wt.page=1,ga(rn({},Wt)),Kt()},onChange:me=>{Wt.page=me,ga(rn({},Wt)),Kt()},total:an})))),te.createElement("div",null,te.createElement(a.default,{centered:!0,title:"\u9A73\u56DE\u539F\u56E0",open:Xn,maskClosable:!1,footer:null,destroyOnClose:!0,onCancel:()=>{_n(!1)}},te.createElement("div",{style:{maxHeight:300,overflowY:"auto"}},va),te.createElement("div",{className:cn.footBtnWrap},te.createElement(Pe.ZP,{size:"middle",style:{marginRight:20},onClick:()=>{_n(!1),Ct(!0)},type:"primary"},"\u64A4\u9500\u7533\u8BF7"),te.createElement(Pe.ZP,{size:"middle",onClick:()=>{_n(!1),nn(!0)},type:"primary"},"\u91CD\u65B0\u7533\u8BF7"))),te.createElement(a.default,{centered:!0,title:"\u5F02\u5E38\u63D0\u793A",open:St,maskClosable:!1,footer:null,destroyOnClose:!0,onCancel:()=>{mn(!1)}},te.createElement(se.default,{style:{maxHeight:300,overflowY:"auto",marginBottom:20},dataSource:On,columns:Oe,pagination:!1})),te.createElement(a.default,{centered:!0,title:"\u91CD\u65B0\u7533\u8BF7\u516C\u5F00",open:dn,maskClosable:!1,confirmLoading:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{nn(!1)},onOk:()=>ye(void 0,null,function*(){Et(!0),(yield(0,le.ZP)(`/api/user_mirrors/${qe}/apply_public.json`,{method:"post"})).status===0&&(Le.ZP.success("\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85"),Kt()),Et(!1),nn(!1)})},te.createElement("div",null,"\u91CD\u65B0\u7533\u8BF7\u516C\u5F00\u524D\uFF0C\u8BF7\u6839\u636E\u9A73\u56DE\u539F\u56E0\u4FEE\u6539\u955C\u50CF\uFF0C\u7136\u540E\u518D\u7533\u8BF7\u3002\u4F60\u786E\u5B9A\u8981\u91CD\u65B0\u7533\u8BF7\u516C\u5F00\u5417\uFF1F")),te.createElement(a.default,{centered:!0,title:"\u64A4\u9500\u7533\u8BF7\u516C\u5F00",open:he,maskClosable:!1,confirmLoading:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{Ct(!1)},onOk:()=>ye(void 0,null,function*(){Et(!0),(yield(0,le.ZP)(`/api/user_mirrors/${qe}/revoke_apply.json`,{method:"post"})).status===0&&(Le.ZP.success("\u64A4\u9500\u6210\u529F"),Kt()),Et(!1),Ct(!1)})},te.createElement("div",null,"\u64A4\u9500\u7533\u8BF7\u516C\u5F00\u540E\uFF0C\u955C\u50CF\u56DE\u5230\u3010\u672A\u516C\u5F00\u3011\u72B6\u6001\u3002\u540E\u7EED\u5982\u6709\u9700\u8981\uFF0C\u53EF\u4EE5\u518D\u6B21\u7533\u8BF7\u516C\u5F00\u3002\u4F60\u786E\u5B9A\u8981\u64A4\u9500\u7533\u8BF7\u516C\u5F00\u5417\uFF1F")),te.createElement(a.default,{centered:!0,width:518,title:"\u5171\u4EAB\u955C\u50CF",open:zo,maskClosable:!1,confirmLoading:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",className:cn.modal,destroyOnClose:!0,onCancel:()=>{wt([]),No(!1)},onOk:()=>ye(void 0,null,function*(){Et(!0),(yield(0,le.ZP)("/api/teach_group_shares.json",{method:"post",body:{ids:[qe],clazz:"UserMirror",group_ids:lt}})).status===0&&(Le.ZP.success("\u5171\u4EAB\u6210\u529F"),Kt()),Et(!1),No(!1)})},te.createElement("div",{style:{marginBottom:"30px",backgroundColor:"rgba(255,157,24,0.1)",width:"468px",height:"42px",lineHeight:"42px"}},te.createElement("i",{className:"iconfont icon-tishi4",style:{color:"#FF9D18",paddingLeft:20}}),te.createElement("span",{style:{paddingLeft:"6px",color:"#FF9D18"}},"\u8BE5\u955C\u50CF\u4EC5\u5171\u4EAB\u7ED9\u9009\u4E2D\u7684\u6559\u7814\u56E2\u961F\uFF0C\u53D6\u6D88\u9009\u4E2D\u5E76\u786E\u5B9A\u5373\u53EF\u64A4\u9500\u5171\u4EAB\u3002")),te.createElement("div",{style:{maxHeight:"260px",overflowY:"auto"}},te.createElement(b.default.Group,{defaultValue:lt,value:lt,style:{flexDirection:"column"},onChange:me=>{wt(me)}},Da==null?void 0:Da.map(me=>te.createElement(b.default,{checked:!!lt.some(Ie=>Ie===me.group_id),style:{marginBottom:14},value:me.group_id},me.name))))),te.createElement(zt.Z,{visible:Yo,setVisible:wo,mirrorId:qe,getData:Kt}),te.createElement(a.default,{centered:!0,title:"\u7533\u8BF7\u516C\u5F00",open:fo,maskClosable:!1,confirmLoading:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{io(!1)},onOk:()=>ye(void 0,null,function*(){Et(!0),(yield(0,le.ZP)(`/api/user_mirrors/${qe}/apply_public.json`,{method:"post"})).status===0&&(Le.ZP.success("\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85"),Kt()),Et(!1),io(!1)})},te.createElement("div",{className:cn.noteTip},te.createElement("p",null,"1.\u7533\u8BF7\u516C\u5F00\u524D\uFF0C\u8BF7\u4FDD\u8BC1\u955C\u50CF\u662F\u53EF\u8FD0\u884C\u7684\uFF0C\u5E76\u68C0\u67E5\u8BE5\u5B9E\u9A8C\u955C\u50CF\u662F\u5426\u7B26\u5408\u5E73\u53F0\u7684\u89C4\u8303\u6807\u51C6\u3002"),te.createElement("p",null,"2.\u516C\u5F00\u7684\u955C\u50CF\u5C06\u8D21\u732E\u7ED9\u5E73\u53F0\u6240\u6709\u4EBA\u8FDB\u884C\u4F7F\u7528\uFF0C\u82E5\u4EC5\u672C\u4EBA\u6559\u5B66\u4F7F\u7528\u5219\u65E0\u9700\u7533\u8BF7\u516C\u5F00\u3002"),te.createElement("p",null,"3.\u516C\u5F00\u955C\u50CF\u9700\u7ECF\u8FC7\u5E73\u53F0\u6807\u51C6\u5316\u5BA1\u6838\uFF0C\u5BA1\u6838\u5468\u671F\u4E3A1-2\u5929\u3002"),te.createElement("p",null,"\u4F60\u786E\u5B9A\u8981\u7533\u8BF7\u516C\u5F00\u5417\uFF1F"))),te.createElement(a.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:Qo,maskClosable:!1,confirmLoading:Dt,title:"\u9009\u62E9\u8FD0\u884C\u73AF\u5883",width:"558px",okText:"\u786E\u5B9A",wrapClassName:cn.auditModal,onCancel:()=>{Xo(0),Jo(0),Oo(!1)},onOk:()=>ye(void 0,null,function*(){var me;Et(!0);const Ie=yield(0,le.ZP)(`/api/user_mirrors/${qe}/running_image.json`,{method:"post",body:{cpu_memory_limit:Ga==null?void 0:Ga.cpu_memory_limit_config[Number(Wo)],time_limit:(me=Ga==null?void 0:Ga.time_limit_config[Number(qo)])==null?void 0:me.value}});(Ie==null?void 0:Ie.status)===0&&(En?be.history.push(`/shixuns/new/${qe}/imagepreview?operation=update_image`):be.history.push(`/shixuns/new/${qe}/imagepreview`)),Et(!1),Oo(!1)})},te.createElement("div",{style:{paddingTop:20}},En&&te.createElement("div",{style:{marginBottom:"30px",backgroundColor:"rgba(255,157,24,0.1)",height:"42px",lineHeight:"42px"}},te.createElement("i",{className:"iconfont icon-tishi4",style:{color:"#FF9D18",paddingLeft:20}}),te.createElement("span",{style:{paddingLeft:"6px",color:"#FF9D18"}},"\u66F4\u65B0\u955C\u50CF\u540E\uFF0C\u539F\u6765\u7684\u955C\u50CF\u5C06\u88AB\u8986\u76D6\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u76F8\u5173\u7684\u5B9E\u8DF5\u9879\u76EE\u3002")),te.createElement(Vt.Z,{required:!0,name:"\u914D\u7F6E",align:"center",nameWidth:60},te.createElement("div",{className:cn.cpuWrap},(Ze=Ga==null?void 0:Ga.cpu_memory_limit_config)==null?void 0:Ze.map((me,Ie)=>te.createElement("div",{className:Wo===Ie?cn.activebtn:cn.btn,onClick:()=>Xo(Ie)},te.createElement("div",null,me),Wo===Ie?te.createElement("div",null,te.createElement("i",{className:"iconfont icon-xuanzhong9",style:{paddingRight:12}})):"")))),te.createElement(Vt.Z,{required:!0,name:"\u65F6\u957F",align:"center",nameWidth:60},(ot=Ga==null?void 0:Ga.time_limit_config)==null?void 0:ot.map((me,Ie)=>te.createElement("span",{className:qo===Ie?cn.activeTab:cn.tab,onClick:()=>Jo(Ie)},me.name))))),te.createElement(a.default,{centered:!0,title:"\u5220\u9664\u955C\u50CF",maskClosable:!1,confirmLoading:Dt,open:Bn,okText:ca>0?"\u6211\u77E5\u9053\u4E86":"\u786E\u5B9A",cancelText:ca>0?"":"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{ka(!1)},onOk:()=>ye(void 0,null,function*(){if(Et(!0),ca>0){ka(!1);return}(yield(0,le.ZP)(`/api/user_mirrors/${qe}.json`,{method:"delete"})).status===0&&(Le.ZP.success("\u5220\u9664\u6210\u529F"),Kt()),Et(!1),ka(!1)})},ca>0?te.createElement("div",null,te.createElement("div",null,"\u8BE5\u955C\u50CF\u5DF2\u88AB ",ca," \u4E2A\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\uFF0C\u4E0D\u5141\u8BB8\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\u3002"),te.createElement("div",{style:{color:"#165DFF",marginTop:20,cursor:"pointer"},onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/${qe}/detail?status=${Hn}`),ka(!1)}},te.createElement("span",{style:{paddingRight:"4"}},"\u67E5\u770B\u76F8\u5173\u5B9E\u8DF5\u9879\u76EE"),te.createElement("i",{className:"iconfont icon-you"}))):te.createElement("div",null,"\u955C\u50CF\u5220\u9664\u4E4B\u540E\u4E0D\u53EF\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u955C\u50CF\u5417\uFF1F"))),te.createElement(oa,{value:ft,visible:Ka,setVisible:Xa}),te.createElement(At.Z,null))};var Ue=(0,be.connect)(({user:qt,newShixuns:bt,classroomList:gn,loading:aa,globalSetting:Vn})=>({user:qt,newShixuns:bt,classroomList:gn,globalSetting:Vn,loading:aa.models.classroomList}))(fn),$t=ne(11320),Re={flex_box_center:"flex_box_center___DWuCq",flex_space_between:"flex_space_between___fhFHS",flex_box_vertical_center:"flex_box_vertical_center___speUG",flex_box_center_end:"flex_box_center_end___nP2ha",flex_box_column:"flex_box_column___xCExJ",wrap:"wrap___NhMHf",rightBar:"rightBar___u9LyY",doc:"doc___vO_2j",create_button:"create_button___vxJd8",create_disabled:"create_disabled___NwTyn",note:"note___jtH5f",noteTip:"noteTip___Gzwke",countDown:"countDown___TSvu8",red:"red___dnc7f",cpuWrap:"cpuWrap___TK0_G",activebtn:"activebtn___g9qWC",btn:"btn___RVAyC",activeTab:"activeTab___mGPqC",tab:"tab___E0XUE",footBtnWrap:"footBtnWrap___Evegt"},$e=Object.defineProperty,Pt=Object.defineProperties,yt=Object.getOwnPropertyDescriptors,Mt=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,Nn=Object.prototype.propertyIsEnumerable,yn=(qt,bt,gn)=>bt in qt?$e(qt,bt,{enumerable:!0,configurable:!0,writable:!0,value:gn}):qt[bt]=gn,hn=(qt,bt)=>{for(var gn in bt||(bt={}))sn.call(bt,gn)&&yn(qt,gn,bt[gn]);if(Mt)for(var gn of Mt(bt))Nn.call(bt,gn)&&yn(qt,gn,bt[gn]);return qt},ia=(qt,bt)=>Pt(qt,yt(bt)),qn=(qt,bt)=>{var gn={};for(var aa in qt)sn.call(qt,aa)&&bt.indexOf(aa)<0&&(gn[aa]=qt[aa]);if(qt!=null&&Mt)for(var aa of Mt(qt))bt.indexOf(aa)<0&&Nn.call(qt,aa)&&(gn[aa]=qt[aa]);return gn},Fn=(qt,bt,gn)=>new Promise((aa,Vn)=>{var Oa=xn=>{try{$a(gn.next(xn))}catch(Ze){Vn(Ze)}},ao=xn=>{try{$a(gn.throw(xn))}catch(Ze){Vn(Ze)}},$a=xn=>xn.done?aa(xn.value):Promise.resolve(xn.value).then(Oa,ao);$a((gn=gn.apply(qt,bt)).next())});const{Countdown:Ea}=De.default,{Option:ra}=Fe.default,_a=qt=>{var bt=qt,{user:gn,newShixuns:aa,classroomList:Vn,globalSetting:Oa,loading:ao,dispatch:$a}=bt,xn=qn(bt,["user","newShixuns","classroomList","globalSetting","loading","dispatch"]),Ze,ot;const We=3,[Gt]=(0,be.useSearchParams)(),[pn,Wn]=(0,te.useState)(!1),[Ia,ta]=(0,te.useState)(!1),[Ka,Xa]=(0,te.useState)(!1),[co,Sn]=(0,te.useState)(),[Hn,Qe]=(0,te.useState)(parseInt(Gt.get("status"))||0),{username:Ot}=(0,be.useParams)(),[ft,Tt]=(0,te.useState)(""),[en,xt]=(0,te.useState)([]),[an,kt]=(0,te.useState)(0),[Kn,$n]=(0,te.useState)(),[ba,za]=(0,te.useState)(),[Ya,eo]=(0,te.useState)(),[Lo,tn]=(0,te.useState)(),[Za,mo]=(0,te.useState)(!1),[on,In]=(0,te.useState)([]),Dn=(0,be.useParams)(),[Bn,ka]=(0,te.useState)(!1),[ca,ro]=(0,te.useState)(0),[fo,io]=(0,te.useState)(!1),[Yo,wo]=(0,te.useState)(!1),[Qo,Oo]=(0,te.useState)(!1),[Ga,xo]=(0,te.useState)({}),[Wo,Xo]=(0,te.useState)(0),[qo,Jo]=(0,te.useState)(0),[zo,No]=(0,te.useState)(!1),[Da,tt]=(0,te.useState)([]),[lt,wt]=(0,te.useState)([]),[he,Ct]=(0,te.useState)(!1),[dn,nn]=(0,te.useState)(!1),[qe,nt]=(0,te.useState)(),[St,mn]=(0,te.useState)(),[On,ea]=(0,te.useState)([]),[Xn,_n]=(0,te.useState)(!1),[va,Ca]=(0,te.useState)(),[En,Xt]=(0,te.useState)(!0),[Dt,Et]=(0,te.useState)(!1);let Jt=(0,te.useRef)();const[Wt,ga]=(0,te.useState)({page:1,per_page:10,keywords:"",tab_type:"customize"}),da=[{id:0,name:"\u81EA\u5B9A\u4E49\u955C\u50CF",type:"customize",total:ba,resetCount:Ya,tip:Lo},{id:1,name:"\u5171\u4EAB\u955C\u50CF",type:"share"}];(0,te.useEffect)(()=>{Kt()},[Hn]),(0,te.useEffect)(()=>{document.title="\u5B9E\u9A8C\u955C\u50CF"},[location==null?void 0:location.pathname]);const Kt=()=>Fn(void 0,null,function*(){var Oe,me,Ie,it,Cn,jn,Un,na;mo(!0);const Ut=yield(0,le.ZP)("/api/user_mirrors.json",{method:"get",params:ia(hn({},Wt),{tab_type:(Oe=da[Hn])==null?void 0:Oe.type,account_id:Ot})});Ut.status===0&&(xt((me=Ut==null?void 0:Ut.data)==null?void 0:me.list),kt((Ie=Ut==null?void 0:Ut.data)==null?void 0:Ie.count),In((it=Ut==null?void 0:Ut.data)==null?void 0:it.user_mirror_ids),Wt.tab_type==="customize"&&((Cn=Ut==null?void 0:Ut.data)==null?void 0:Cn.max_count)!==-1&&(eo((jn=Ut==null?void 0:Ut.data)==null?void 0:jn.total),za(We),$n((Un=Ut==null?void 0:Ut.data)==null?void 0:Un.total),tn(`\u955C\u50CF\u4E0A\u9650${We}\uFF0C\u5DF2\u7528${(na=Ut==null?void 0:Ut.data)==null?void 0:na.total}`))),mo(!1)});(0,te.useEffect)(()=>{Qo===!0&&zn()},[Qo]);const zn=()=>Fn(void 0,null,function*(){const Oe=yield(0,le.ZP)("/api/user_mirrors/other_info.json",{method:"get"});Oe.status===0&&xo(Oe==null?void 0:Oe.data)}),Yn=(Oe,me)=>Fn(void 0,null,function*(){var Ie;const it=yield(0,le.ZP)(`/api/user_mirrors/${Oe}/check.json`,{method:"get"});(it==null?void 0:it.status)===0&&(((Ie=it==null?void 0:it.data)==null?void 0:Ie.exist)===0?Oo(!0):(Oo(!1),me?be.history.push(`/shixuns/new/${Oe}/imagepreview?operation=update_image`):be.history.push(`/shixuns/new/${Oe}/imagepreview`)))});(0,te.useEffect)(()=>(on.length>0&&(Jt.current=setInterval(()=>Fn(void 0,null,function*(){var Oe,me,Ie,it,Cn;const jn=yield(0,le.ZP)("/api/user_mirrors/polling_update_status.json",{method:"post",body:{user_mirror_ids:on}});if(jn.status===0)if(((me=(Oe=jn==null?void 0:jn.data)==null?void 0:Oe.user_mirror_ids)==null?void 0:me.length)>0){if(((it=(Ie=jn==null?void 0:jn.data)==null?void 0:Ie.update_datas)==null?void 0:it.length)>0){const Un=en==null?void 0:en.map(na=>{var Ut,Ln;return(Ln=(Ut=jn==null?void 0:jn.data)==null?void 0:Ut.update_datas)==null||Ln.map(Ua=>{na.id===Ua.id&&(na.status=Ua.status)}),na});xt(Un),In((Cn=jn==null?void 0:jn.data)==null?void 0:Cn.user_mirror_ids)}}else In([]),Kt(),clearInterval(Jt.current)}),5e3)),()=>{clearInterval(Jt.current)}),[on,en]);const Mn=Oe=>Fn(void 0,null,function*(){var me;const Ie=yield(0,le.ZP)(`/api/user_mirrors/${Oe}/error_tips.json`,{method:"get"});(Ie==null?void 0:Ie.status)===0&&(ea((me=Ie==null?void 0:Ie.data)==null?void 0:me.user_mirror_logs),mn(!0))}),la=Oe=>Fn(void 0,null,function*(){var me;const Ie=yield(0,le.ZP)(`/api/user_mirrors/${Oe}/check_is_can_delete.json`,{method:"get"});(Ie==null?void 0:Ie.status)===0&&(ro((me=Ie==null?void 0:Ie.data)==null?void 0:me.shixun_size),ka(!0))}),wa=(Oe,me)=>{Wt.page=1,Wt.keywords=Oe,ga(hn({},Wt)),Kt()},Qa=()=>Fn(void 0,null,function*(){var Oe;const me=yield(0,le.ZP)("/api/teach_group_shares.json",{method:"get"});(me==null?void 0:me.status)===0&&(tt(me==null?void 0:me.groups),((Oe=me==null?void 0:me.groups)==null?void 0:Oe.length)>0?No(!0):Le.ZP.info("\u6682\u65E0\u5171\u4EAB\u6570\u636E"))}),po=Oe=>Fn(void 0,null,function*(){const me=yield(0,le.ZP)(`/api/user_mirrors/${Oe}/check_is_making_end.json`,{method:"get"});(me==null?void 0:me.status)===0?be.history.push(`/shixuns/new/${Oe}/imagepreview?operation=create_image`):Kt()}),rt=Oe=>(Oe==null?void 0:Oe.status)===2&&[-1,0,1,2,3].includes(Oe==null?void 0:Oe.publish_status)?te.createElement(te.Fragment,null,te.createElement(re.Z,null,te.createElement(je.Z,{placement:"bottomLeft",content:te.createElement(Ae.default,null,te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(Oe==null?void 0:Oe.id),Xt(!1),Yn(Oe==null?void 0:Oe.id,!1)}},"\u8FD0\u884C\u955C\u50CF")),te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{(0,Ce.xg)(`/shixuns/new?tab=${Number(Hn)+1}&mirror=${Oe==null?void 0:Oe.mirror_repository_id}`)}},"\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE")),[-1,0].includes(Oe==null?void 0:Oe.publish_status)&&te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(Oe==null?void 0:Oe.id),io(!0)}},"\u7533\u8BF7\u516C\u5F00")),(Oe==null?void 0:Oe.publish_status)===3&&te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(Oe==null?void 0:Oe.id),nn(!0)}},"\u91CD\u65B0\u7533\u8BF7")),[2,3].includes(Oe==null?void 0:Oe.publish_status)&&te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(Oe==null?void 0:Oe.id),Ct(!0)}},"\u64A4\u9500\u7533\u8BF7")),te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(Oe==null?void 0:Oe.id),wo(!0)}},"\u4FEE\u6539\u955C\u50CF\u4FE1\u606F")),[-1,0,3].includes(Oe==null?void 0:Oe.publish_status)&&te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>Fn(void 0,null,function*(){nt(Oe==null?void 0:Oe.id),Xt(!0),yield Yn(Oe==null?void 0:Oe.id,!0)})},"\u66F4\u65B0\u955C\u50CF")),te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>Fn(void 0,null,function*(){nt(Oe==null?void 0:Oe.id),wt(Oe==null?void 0:Oe.share_group_ids),yield Qa()})},"\u5171\u4EAB\u955C\u50CF")),[-1,0,3].includes(Oe==null?void 0:Oe.publish_status)&&te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>Fn(void 0,null,function*(){nt(Oe==null?void 0:Oe.id),yield la(Oe==null?void 0:Oe.id)})},"\u5220\u9664")))},"\u66F4\u591A",te.createElement("i",{className:"iconfont icon-sanjiaoxing-down font14 ",style:{marginLeft:"4px"}})))):(Oe==null?void 0:Oe.status)===0?te.createElement(te.Fragment,null,(Oe==null?void 0:Oe.is_making_end)===!0&&te.createElement(re.Z,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"#165DFF",height:22},onClick:()=>Fn(void 0,null,function*(){nt(Oe==null?void 0:Oe.id),yield la(Oe==null?void 0:Oe.id)})},"\u5220\u9664")),(Oe==null?void 0:Oe.is_making_end)===!1&&te.createElement(re.Z,null,te.createElement(je.Z,{placement:"bottomLeft",content:te.createElement(Ae.default,null,te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>Fn(void 0,null,function*(){yield po(Oe==null?void 0:Oe.id)})},"\u5236\u4F5C\u955C\u50CF")),te.createElement(Ae.default.Item,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"rgba(0, 0, 0, 0.88)"},onClick:()=>Fn(void 0,null,function*(){nt(Oe==null?void 0:Oe.id),yield la(Oe==null?void 0:Oe.id)})},"\u5220\u9664")))},"\u66F4\u591A",te.createElement("i",{className:"iconfont icon-sanjiaoxing-down font14 ",style:{marginLeft:"4px"}})))):te.createElement(te.Fragment,null),at=[{title:"\u955C\u50CF\u540D\u79F0",dataIndex:"type_name",key:"type_name",ellipsis:!0,width:120,render:(Oe,me)=>te.createElement("span",{style:{color:"#165DFF",cursor:"pointer"},onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/${me==null?void 0:me.id}/detail?status=${Hn}`)}},Oe)},{title:"\u521B\u5EFA\u65B9\u5F0F",dataIndex:"create_method",key:"create_method",width:80,render:(Oe,me,Ie)=>Oe===1?"\u5728\u7EBF\u521B\u5EFA":"\u5BFC\u5165",ellipsis:!0},{title:"\u57FA\u7840\u73AF\u5883/\u955C\u50CF\u6587\u4EF6",dataIndex:"base_mirror",ellipsis:!0,align:"left",key:"base_mirror",width:110,render:(Oe,me,Ie)=>te.createElement("span",{style:{color:"#666"}},Oe)},{title:"\u7C7B\u578B",dataIndex:"mirror_type_cn",align:"left",ellipsis:!0,width:120,key:"mirror_type_cn",render:(Oe,me,Ie)=>(Oe==null?void 0:Oe.length)>1?Oe.join("\u3001"):Oe[0]},{title:"\u4FDD\u5B58\u72B6\u6001",dataIndex:"status",align:"left",key:"status",ellipsis:!0,width:90,render:(Oe,me,Ie)=>te.createElement(te.Fragment,null,Oe===0&&te.createElement("span",null,te.createElement("span",{style:{color:"#5F6368"}},"\u5236\u4F5C\u4E2D"),(me==null?void 0:me.is_making_end)===!1?te.createElement("i",{className:"iconfont icon-shijian1 ml5",style:{color:"#165DFF",fontSize:14}}):te.createElement(Te.Z,{title:"\u5269\u4F59\u5236\u4F5C\u65F6\u957F\u4E3A\u96F6\uFF0C\u4E0D\u80FD\u518D\u8FDB\u5165\u955C\u50CF\u5236\u4F5C\u9875\u9762\u3002"},te.createElement("i",{className:"iconfont icon-shijian1 ml5",style:{color:"#E30000",fontSize:14}}))),Oe===1&&te.createElement("span",null,te.createElement("span",{style:{color:"#165DFF",marginRight:5}},"\u4FDD\u5B58\u4E2D"),te.createElement(ze.Z,{size:"small"})),Oe===2&&te.createElement("span",null,te.createElement("span",{style:{color:"#00B187"}},"\u5B8C\u6210"),(me==null?void 0:me.has_error_tips)&&Hn===0&&te.createElement("i",{className:"iconfont icon-tishi4 current ml5 c-light-primary",style:{color:"#FF8C29",fontSize:14},onClick:()=>{Mn(me==null?void 0:me.id)}})),Oe===3&&te.createElement("span",{style:{color:"#E30000"}},"\u5931\u8D25"))},{title:"\u516C\u5F00\u72B6\u6001",dataIndex:"publish_status",align:"left",key:"publish_status",ellipsis:!0,width:80,render:(Oe,me,Ie)=>te.createElement("span",null,Oe===0&&"\u672A\u516C\u5F00",Oe===-1&&"\u672A\u516C\u5F00",Oe===1&&"\u5DF2\u516C\u5F00",Oe===2&&"\u5BA1\u6838\u4E2D",Oe===3&&te.createElement(te.Fragment,null,"\u9A73\u56DE",Hn===0&&te.createElement("i",{onClick:()=>{nt(me==null?void 0:me.id),_n(!0),Ca(me==null?void 0:me.remark)},className:"iconfont icon-tishi4 ml5 ",style:{color:"#FF8C29",cursor:"pointer",fontSize:14}})))},{title:"\u521B\u5EFA\u65F6\u95F4",dataIndex:"created_at",align:"left",key:"created_at",ellipsis:!0,render:(Oe,me,Ie)=>te.createElement("span",{style:{color:"#666"}},ve()(Oe).format("YYYY-MM-DD HH:mm:ss"))},{title:"\u64CD\u4F5C",dataIndex:"action",align:"right",key:"action",width:Hn===0?140:170,render:(Oe,me,Ie)=>{if(Hn===0)return te.createElement(ke.Z,{style:{cursor:"pointer",color:"#165DFF"},gutter:[8,0],justify:"end"},te.createElement(re.Z,{onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/${me==null?void 0:me.id}/detail?status=${Hn}`)}},"\u8BE6\u60C5"),(me==null?void 0:me.status)===1&&te.createElement(re.Z,null),(me==null?void 0:me.status)===3&&te.createElement(re.Z,null,te.createElement(et.Z,{type:"link",style:{whiteSpace:"nowrap",padding:0,color:"#165DFF",height:22},onClick:()=>Fn(void 0,null,function*(){nt(me==null?void 0:me.id),yield la(me==null?void 0:me.id)})},"\u5220\u9664")),rt(me));if(Hn===1)return te.createElement(ke.Z,{style:{cursor:"pointer",color:"#165DFF"},gutter:[8,0],justify:"end"},te.createElement(re.Z,{onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/${me==null?void 0:me.id}/detail?status=${Hn}`)}},"\u8BE6\u60C5"),(me==null?void 0:me.status)===2&&te.createElement(re.Z,null,te.createElement(je.Z,{placement:"bottomLeft",content:te.createElement(Ae.default,null,te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{nt(me==null?void 0:me.id),Xt(!1),Yn(me==null?void 0:me.id,!1)}},"\u8FD0\u884C\u955C\u50CF")),te.createElement(Ae.default.Item,null,te.createElement("a",{onClick:()=>{(0,Ce.xg)(`/shixuns/new?tab=${Number(Hn)+1}&mirror=${me==null?void 0:me.mirror_repository_id}`)}},"\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE")))},"\u66F4\u591A",te.createElement("i",{className:"iconfont icon-sanjiaoxing-down font14 ",style:{marginLeft:"4px"}}))))}}],dt=[{title:"\u65F6\u95F4",dataIndex:"created_at",key:"created_at",render:(Oe,me,Ie)=>te.createElement("span",{style:{color:"#666"}},ve()(Oe).format("YYYY-MM-DD HH:mm:ss"))},{title:"\u64CD\u4F5C",dataIndex:"operation",key:"operation",render:(Oe,me,Ie)=>te.createElement("span",{style:{color:"#000"}},"\u66F4\u65B0\u955C\u50CF")},{title:"\u72B6\u6001",dataIndex:"status",align:"right",key:"status",render:(Oe,me,Ie)=>te.createElement("span",{style:{color:"#E30000"}},"\u5931\u8D25")}];return te.createElement("div",{className:Re.wrap},te.createElement(ce.kT,{value:Hn,onChange:Oe=>{var me;(me=window.location.href.toString())!=null&&me.includes("status")?(0,Ce.jz)("status",Oe):window.history.replaceState(null,"",window.location.href.indexOf("?")>-1?window.location.href+`&status=${Oe}`:`?status=${Oe}`),Qe(Oe),Wt.tab_type=da[Number(Oe)].type,Wt.page=1,ga(hn({},Wt))},dataSource:da,tabBarExtraContent:te.createElement("div",{className:Re.rightBar},te.createElement(Te.Z,{title:"",className:Re.doc},te.createElement("span",{onClick:()=>{(0,Ce.xg)(`${$t.Z.API_SERVER}/pdf/\u81EA\u5B9A\u4E49\u955C\u50CF\u64CD\u4F5C\u5E2E\u52A9\u6587\u6863.pdf`)}},te.createElement("i",{className:"iconfont icon-a-wenhaobeifen2"}),te.createElement("span",{style:{paddingLeft:4}},"\u5E2E\u52A9\u6587\u6863"))),te.createElement(ce.t7,{style:{width:220,marginLeft:"40px",marginRight:"20px",background:"#FFFFFF",border:"1px solid #D8E7FA",borderRadius:"8px"},value:{value:Wt.keywords},onChange:wa,placeholder:"\u8BF7\u8F93\u5165\u955C\u50CF\u540D\u79F0\u641C\u7D22"}),te.createElement(Te.Z,{title:Kn>=We?"\u6700\u591A\u53EF\u521B\u5EFA3\u4E2A\u5B9E\u9A8C\u955C\u50CF":""},te.createElement(Pe.ZP,{disabled:Kn>=We,className:Kn>=We?Re.create_disabled:Re.create_button,type:Kn>=We?"default":"primary",onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/add`)}},"\u521B\u5EFA\u955C\u50CF")),te.createElement(ce.op,{shape:"default",size:"middle",style:{borderRadius:"2px",marginTop:"3px"},onClick:()=>{$a({type:"newShixuns/setActionTabs",payload:{key:"NewShixuns-Apply"}})}},"\u7533\u8BF7\u65B0\u5EFA"))}),te.createElement("div",{style:{paddingBottom:10,marginTop:20}},Hn==0&&te.createElement("div",{className:Re.note},te.createElement("p",{style:{paddingLeft:20,paddingBottom:8,color:"#FF9D18"}},te.createElement("i",{className:"iconfont icon-tishi7"}),te.createElement("span",{style:{paddingLeft:10}},"\u6E29\u99A8\u63D0\u793A")),te.createElement("p",{style:{paddingLeft:42,color:"#666",fontSize:12}},te.createElement("p",null,"1.\u521B\u5EFA\u955C\u50CF\u9700\u8981\u7B26\u5408\u5E73\u53F0\u7684\u89C4\u8303\u6807\u51C6\uFF0C\u64CD\u4F5C\u6307\u5357\u53C2\u89C1",te.createElement("a",{target:"_blank",href:`${$t.Z.API_SERVER}/pdf/\u81EA\u5B9A\u4E49\u955C\u50CF\u64CD\u4F5C\u5E2E\u52A9\u6587\u6863.pdf`},"\u5E2E\u52A9\u6587\u6863"),"\u3002"),te.createElement("p",null,"2.\u652F\u6301\u4E24\u79CD\u521B\u5EFA\u65B9\u5F0F\uFF1A\u4F7F\u7528\u57FA\u7840\u955C\u50CF\u5728\u7EBF\u521B\u5EFA\u3001\u5BFC\u5165\u672C\u5730\u955C\u50CF\u3002"),te.createElement("p",null,"3.\u5BFC\u5165\u955C\u50CF\u76EE\u524D\u53EA\u652F\u6301\u5927\u5C0F\u57285G\u4EE5\u5185\u7684\u955C\u50CF\uFF0C\u4EC5\u652F\u6301\u4E0A\u4F20gz\u3001bz2\u3001tar\u3001tar.gz\u3001tar.bz2\u683C\u5F0F\u955C\u50CF\u6587\u4EF6\u3002"),te.createElement("p",null,"4.\u81EA\u5B9A\u4E49\u7684\u955C\u50CF\uFF0C\u53EF\u4EE5\u7528\u6765\u521B\u5EFA\u5B9E\u8DF5\u9879\u76EE\u3002"),te.createElement("p",null,"5.\u652F\u6301\u5C06\u955C\u50CF\u5171\u4EAB\u7ED9\u6559\u7814\u56E2\u961F\u8FDB\u884C\u4F7F\u7528\u3002"),te.createElement("p",null,"6.\u652F\u6301\u5C06\u955C\u50CF\u516C\u5F00\uFF0C\u8D21\u732E\u7ED9\u5E73\u53F0\u6240\u6709\u4EBA\u8FDB\u884C\u4F7F\u7528\u3002"))),an===0?te.createElement(pe.Z,{customText:"\u6682\u65E0\u6570\u636E"}):te.createElement(ce.Gi,{style:{marginTop:20}},te.createElement(ze.Z,{spinning:Za},te.createElement(se.default,{dataSource:en,columns:at,pagination:!1}))),an!=0&&te.createElement(ke.Z,{className:"mt20 mb20",wrap:!1,align:"middle",justify:"end"},te.createElement(re.Z,null,te.createElement(y.Z,{showSizeChanger:!0,showQuickJumper:!0,current:Wt.page,pageSize:Wt.per_page,onShowSizeChange:(Oe,me)=>{Wt.per_page=me,Wt.page=1,ga(hn({},Wt)),Kt()},onChange:Oe=>{Wt.page=Oe,ga(hn({},Wt)),Kt()},total:an})))),te.createElement("div",null,te.createElement(a.default,{centered:!0,title:"\u9A73\u56DE\u539F\u56E0",open:Xn,maskClosable:!1,footer:null,destroyOnClose:!0,onCancel:()=>{_n(!1)}},te.createElement("div",{style:{maxHeight:300,overflowY:"auto"}},va),te.createElement("div",{className:Re.footBtnWrap},te.createElement(Pe.ZP,{size:"middle",style:{marginRight:20},onClick:()=>{_n(!1),Ct(!0)},type:"primary"},"\u64A4\u9500\u7533\u8BF7"),te.createElement(Pe.ZP,{size:"middle",onClick:()=>{_n(!1),nn(!0)},type:"primary"},"\u91CD\u65B0\u7533\u8BF7"))),te.createElement(a.default,{centered:!0,title:"\u5F02\u5E38\u63D0\u793A",open:St,maskClosable:!1,footer:null,destroyOnClose:!0,onCancel:()=>{mn(!1)}},te.createElement(se.default,{style:{maxHeight:300,overflowY:"auto",marginBottom:20},dataSource:On,columns:dt,pagination:!1})),te.createElement(a.default,{centered:!0,title:"\u91CD\u65B0\u7533\u8BF7\u516C\u5F00",open:dn,maskClosable:!1,confirmLoading:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{nn(!1)},onOk:()=>Fn(void 0,null,function*(){Et(!0),(yield(0,le.ZP)(`/api/user_mirrors/${qe}/apply_public.json`,{method:"post"})).status===0&&(Le.ZP.success("\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85"),Kt()),Et(!1),nn(!1)})},te.createElement("div",null,"\u91CD\u65B0\u7533\u8BF7\u516C\u5F00\u524D\uFF0C\u8BF7\u6839\u636E\u9A73\u56DE\u539F\u56E0\u4FEE\u6539\u955C\u50CF\uFF0C\u7136\u540E\u518D\u7533\u8BF7\u3002\u4F60\u786E\u5B9A\u8981\u91CD\u65B0\u7533\u8BF7\u516C\u5F00\u5417\uFF1F")),te.createElement(a.default,{centered:!0,title:"\u64A4\u9500\u7533\u8BF7\u516C\u5F00",open:he,maskClosable:!1,confirmLoading:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{Ct(!1)},onOk:()=>Fn(void 0,null,function*(){Et(!0),(yield(0,le.ZP)(`/api/user_mirrors/${qe}/revoke_apply.json`,{method:"post"})).status===0&&(Le.ZP.success("\u64A4\u9500\u6210\u529F"),Kt()),Et(!1),Ct(!1)})},te.createElement("div",null,"\u64A4\u9500\u7533\u8BF7\u516C\u5F00\u540E\uFF0C\u955C\u50CF\u56DE\u5230\u3010\u672A\u516C\u5F00\u3011\u72B6\u6001\u3002\u540E\u7EED\u5982\u6709\u9700\u8981\uFF0C\u53EF\u4EE5\u518D\u6B21\u7533\u8BF7\u516C\u5F00\u3002\u4F60\u786E\u5B9A\u8981\u64A4\u9500\u7533\u8BF7\u516C\u5F00\u5417\uFF1F")),te.createElement(a.default,{centered:!0,width:518,title:"\u5171\u4EAB\u955C\u50CF",open:zo,maskClosable:!1,confirmLoading:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",className:Re.modal,destroyOnClose:!0,onCancel:()=>{wt([]),No(!1)},onOk:()=>Fn(void 0,null,function*(){Et(!0),(yield(0,le.ZP)("/api/teach_group_shares.json",{method:"post",body:{ids:[qe],clazz:"UserMirror",group_ids:lt}})).status===0&&(Le.ZP.success("\u5171\u4EAB\u6210\u529F"),Kt()),Et(!1),No(!1)})},te.createElement("div",{style:{marginBottom:"30px",backgroundColor:"rgba(255,157,24,0.1)",width:"468px",height:"42px",lineHeight:"42px"}},te.createElement("i",{className:"iconfont icon-tishi4",style:{color:"#FF9D18",paddingLeft:20}}),te.createElement("span",{style:{paddingLeft:"6px",color:"#FF9D18"}},"\u8BE5\u955C\u50CF\u4EC5\u5171\u4EAB\u7ED9\u9009\u4E2D\u7684\u6559\u7814\u56E2\u961F\uFF0C\u53D6\u6D88\u9009\u4E2D\u5E76\u786E\u5B9A\u5373\u53EF\u64A4\u9500\u5171\u4EAB\u3002")),te.createElement("div",{style:{maxHeight:"260px",overflowY:"auto"}},te.createElement(b.default.Group,{defaultValue:lt,value:lt,style:{flexDirection:"column"},onChange:Oe=>{wt(Oe)}},Da==null?void 0:Da.map(Oe=>te.createElement(b.default,{checked:!!lt.some(me=>me===Oe.group_id),style:{marginBottom:14},value:Oe.group_id},Oe.name))))),te.createElement(st.Z,{visible:Yo,setVisible:wo,mirrorId:qe,getData:Kt}),te.createElement(a.default,{centered:!0,title:"\u7533\u8BF7\u516C\u5F00",open:fo,maskClosable:!1,confirmLoading:Dt,okText:"\u786E\u5B9A",cancelText:"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{io(!1)},onOk:()=>Fn(void 0,null,function*(){Et(!0),(yield(0,le.ZP)(`/api/user_mirrors/${qe}/apply_public.json`,{method:"post"})).status===0&&(Le.ZP.success("\u7533\u8BF7\u5DF2\u63D0\u4EA4\uFF0C\u8BF7\u8010\u5FC3\u7B49\u5F85"),Kt()),Et(!1),io(!1)})},te.createElement("div",{className:Re.noteTip},te.createElement("p",null,"1.\u7533\u8BF7\u516C\u5F00\u524D\uFF0C\u8BF7\u4FDD\u8BC1\u955C\u50CF\u662F\u53EF\u8FD0\u884C\u7684\uFF0C\u5E76\u68C0\u67E5\u8BE5\u5B9E\u9A8C\u955C\u50CF\u662F\u5426\u7B26\u5408\u5E73\u53F0\u7684\u89C4\u8303\u6807\u51C6\u3002"),te.createElement("p",null,"2.\u516C\u5F00\u7684\u955C\u50CF\u5C06\u8D21\u732E\u7ED9\u5E73\u53F0\u6240\u6709\u4EBA\u8FDB\u884C\u4F7F\u7528\uFF0C\u82E5\u4EC5\u672C\u4EBA\u6559\u5B66\u4F7F\u7528\u5219\u65E0\u9700\u7533\u8BF7\u516C\u5F00\u3002"),te.createElement("p",null,"3.\u516C\u5F00\u955C\u50CF\u9700\u7ECF\u8FC7\u5E73\u53F0\u6807\u51C6\u5316\u5BA1\u6838\uFF0C\u5BA1\u6838\u5468\u671F\u4E3A1-2\u5929\u3002"),te.createElement("p",null,"\u4F60\u786E\u5B9A\u8981\u7533\u8BF7\u516C\u5F00\u5417\uFF1F"))),te.createElement(a.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:Qo,maskClosable:!1,confirmLoading:Dt,title:"\u9009\u62E9\u8FD0\u884C\u73AF\u5883",width:"558px",okText:"\u786E\u5B9A",wrapClassName:Re.auditModal,onCancel:()=>{Xo(0),Jo(0),Oo(!1)},onOk:()=>Fn(void 0,null,function*(){var Oe;Et(!0);const me=yield(0,le.ZP)(`/api/user_mirrors/${qe}/running_image.json`,{method:"post",body:{cpu_memory_limit:Ga==null?void 0:Ga.cpu_memory_limit_config[Number(Wo)],time_limit:(Oe=Ga==null?void 0:Ga.time_limit_config[Number(qo)])==null?void 0:Oe.value}});(me==null?void 0:me.status)===0&&(En?be.history.push(`/shixuns/new/${qe}/imagepreview?operation=update_image`):be.history.push(`/shixuns/new/${qe}/imagepreview`)),Et(!1),Oo(!1)})},te.createElement("div",{style:{paddingTop:20}},En&&te.createElement("div",{style:{marginBottom:"30px",backgroundColor:"rgba(255,157,24,0.1)",height:"42px",lineHeight:"42px"}},te.createElement("i",{className:"iconfont icon-tishi4",style:{color:"#FF9D18",paddingLeft:20}}),te.createElement("span",{style:{paddingLeft:"6px",color:"#FF9D18"}},"\u66F4\u65B0\u955C\u50CF\u540E\uFF0C\u539F\u6765\u7684\u955C\u50CF\u5C06\u88AB\u8986\u76D6\uFF0C\u53EF\u80FD\u4F1A\u5F71\u54CD\u76F8\u5173\u7684\u5B9E\u8DF5\u9879\u76EE\u3002")),te.createElement(Vt.Z,{required:!0,name:"\u914D\u7F6E",align:"center",nameWidth:60},te.createElement("div",{className:Re.cpuWrap},(Ze=Ga==null?void 0:Ga.cpu_memory_limit_config)==null?void 0:Ze.map((Oe,me)=>te.createElement("div",{className:Wo===me?Re.activebtn:Re.btn,onClick:()=>Xo(me)},te.createElement("div",null,Oe),Wo===me?te.createElement("div",null,te.createElement("i",{className:"iconfont icon-xuanzhong9",style:{paddingRight:12}})):"")))),te.createElement(Vt.Z,{required:!0,name:"\u65F6\u957F",align:"center",nameWidth:60},(ot=Ga==null?void 0:Ga.time_limit_config)==null?void 0:ot.map((Oe,me)=>te.createElement("span",{className:qo===me?Re.activeTab:Re.tab,onClick:()=>Jo(me)},Oe.name))))),te.createElement(a.default,{centered:!0,title:"\u5220\u9664\u955C\u50CF",maskClosable:!1,confirmLoading:Dt,open:Bn,okText:ca>0?"\u6211\u77E5\u9053\u4E86":"\u786E\u5B9A",cancelText:ca>0?"":"\u53D6\u6D88",destroyOnClose:!0,onCancel:()=>{ka(!1)},onOk:()=>Fn(void 0,null,function*(){if(Et(!0),ca>0){ka(!1);return}(yield(0,le.ZP)(`/api/user_mirrors/${qe}.json`,{method:"delete"})).status===0&&(Le.ZP.success("\u5220\u9664\u6210\u529F"),Kt()),Et(!1),ka(!1)})},ca>0?te.createElement("div",null,te.createElement("div",null,"\u8BE5\u955C\u50CF\u5DF2\u88AB ",ca," \u4E2A\u5B9E\u8DF5\u9879\u76EE\u4F7F\u7528\uFF0C\u4E0D\u5141\u8BB8\u8FDB\u884C\u5220\u9664\u64CD\u4F5C\u3002"),te.createElement("div",{style:{color:"#165DFF",marginTop:20,cursor:"pointer"},onClick:()=>{be.history.push(`/users/${Dn==null?void 0:Dn.username}/experiment-img/${qe}/detail?status=${Hn}`),ka(!1)}},te.createElement("span",{style:{paddingRight:"4"}},"\u67E5\u770B\u76F8\u5173\u5B9E\u8DF5\u9879\u76EE"),te.createElement("i",{className:"iconfont icon-you"}))):te.createElement("div",null,"\u955C\u50CF\u5220\u9664\u4E4B\u540E\u4E0D\u53EF\u6062\u590D\uFF0C\u786E\u5B9A\u8981\u5220\u9664\u8BE5\u955C\u50CF\u5417\uFF1F"))),te.createElement(oe,{value:ft,visible:Ka,setVisible:Xa}),te.createElement(At.Z,null))};var ja=(0,be.connect)(({user:qt,newShixuns:bt,classroomList:gn,loading:aa,globalSetting:Vn})=>({user:qt,newShixuns:bt,classroomList:gn,globalSetting:Vn,loading:aa.models.classroomList}))(_a);const Na=({globalSetting:qt})=>{var bt;switch(Number((bt=qt==null?void 0:qt.setting)==null?void 0:bt.theme)){case ee.Fy.THEMEONE:return te.createElement(Ue,null);case ee.Fy.THEMETWO:return te.createElement(ja,null);case ee.Fy.DEFAULT:default:return te.createElement(Be,null)}};var Aa=(0,be.connect)(({globalSetting:qt})=>({globalSetting:qt}))(Na)},87281:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return oe}});var ee=ne(67294),te=ne(22150),be=ne(2453),De=ne(14446),Fe=ne(69677),Le=ne(71577),re=ne(33170),je=ne(35567),Ae={errorTip:"errorTip___A7o3U",btns:"btns___TNmPX",confirm:"confirm___J5V2N",cancel:"cancel___Rb_ks",formWrap:"formWrap___vL_Qc"},Te=ne(60580),ze=Object.defineProperty,ke=Object.defineProperties,Pe=Object.getOwnPropertyDescriptors,se=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,b=(le,de,ce)=>de in le?ze(le,de,{enumerable:!0,configurable:!0,writable:!0,value:ce}):le[de]=ce,E=(le,de)=>{for(var ce in de||(de={}))y.call(de,ce)&&b(le,ce,de[ce]);if(se)for(var ce of se(de))a.call(de,ce)&&b(le,ce,de[ce]);return le},x=(le,de)=>ke(le,Pe(de)),z=(le,de,ce)=>new Promise((Se,ve)=>{var Ce=st=>{try{At(ce.next(st))}catch(Vt){ve(Vt)}},pe=st=>{try{At(ce.throw(st))}catch(Vt){ve(Vt)}},At=st=>st.done?Se(st.value):Promise.resolve(st.value).then(Ce,pe);At((ce=ce.apply(le,de)).next())}),oe=({visible:le,mirrorId:de,setVisible:ce,getData:Se})=>{const[ve]=te.default.useForm(),[Ce,pe]=(0,ee.useState)({}),[At,st]=(0,ee.useState)(""),[Vt,et]=(0,ee.useState)(!1);(0,ee.useEffect)(()=>{de!=null&&le&>()},[de,le]);const gt=()=>z(void 0,null,function*(){const Ke=yield(0,re.ZP)(`/api/user_mirrors/${de}.json`,{method:"get"});(Ke==null?void 0:Ke.status)===0&&(ve.setFieldsValue(E({},Ke==null?void 0:Ke.data)),pe(E({},Ke==null?void 0:Ke.data)))}),It=()=>{ce(!1),pe({}),ve.setFieldsValue({})},Zt=()=>z(void 0,null,function*(){et(!0);const Ke=E({},yield ve.validateFields());(yield(0,re.ZP)(`/api/user_mirrors/${de}.json`,{method:"put",body:{type_name:Ke==null?void 0:Ke.type_name,description:Ke==null?void 0:Ke.description}})).status===0&&(be.ZP.success("\u4FEE\u6539\u6210\u529F"),Se()),et(!1),ce(!1)}),Ht=Ke=>z(void 0,null,function*(){const ht=yield(0,re.ZP)("/api/user_mirrors/check_mirror_name.json",{method:"post",body:{type_name:Ke,id:de}});return(ht==null?void 0:ht.status)===0?{state:!1}:{state:!0,msg:ht==null?void 0:ht.message}});return ee.createElement(De.default,{centered:!0,width:1200,title:"\u4FEE\u6539\u955C\u50CF\u4FE1\u606F",maskClosable:!1,open:le,destroyOnClose:!0,footer:null,onCancel:It},ee.createElement(te.default,{style:{marginTop:20},form:ve,scrollToFirstError:!0,layout:"horizontal",className:Ae.formWrap},ee.createElement(te.default.Item,{label:"\u955C\u50CF\u540D\u79F0",name:"type_name",colon:!1,className:Ae.errorTip,rules:[{required:!0,message:""},{validator:(Ke,ht)=>z(void 0,null,function*(){const vn=yield Ht(ht);return(vn==null?void 0:vn.state)===!0?Promise.reject(vn==null?void 0:vn.msg):Promise.resolve()})}]},ee.createElement(Fe.default,{size:"large",maxLength:60,placeholder:"\u8BF7\u8F93\u5165\u955C\u50CF\u540D\u79F0"})),ee.createElement(te.default.Item,{label:"\u955C\u50CF\u63CF\u8FF0",name:"description",colon:!1},ee.createElement(je.Z,{watch:!0,height:300,placeholder:"",defaultValue:Ce==null?void 0:Ce.description,onChange:Ke=>{ve.setFieldsValue(x(E({},ve.getFieldsValue()),{description:Ke})),pe(x(E({},Ce),{description:Ke}))},onBlur:Ke=>{ve.setFieldsValue(x(E({},ve.getFieldsValue()),{description:Ke})),pe(x(E({},Ce),{description:Ke}))}}))),ee.createElement("div",{className:Ae.btns},ee.createElement(Le.ZP,{onClick:It,className:Ae.cancel},"\u53D6\u6D88 "),ee.createElement(Te.Z,{type:"primary",className:Ae.confirm,onClick:()=>z(void 0,null,function*(){yield Zt()})},"\u786E\u5B9A")))}},38780:function(Ve,mt){"use strict";function ne(){const ee=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let te=1;te{const Fe=be[De];Fe!==void 0&&(ee[De]=Fe)})}return ee}mt.Z=ne},81643:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return ee}});const ee=te=>te?typeof te=="function"?te():te:null},66367:function(Ve,mt,ne){"use strict";ne.d(mt,{F:function(){return ee},Z:function(){return te}});function ee(be){return be!=null&&be===be.window}function te(be,De){var Fe,Le;if(typeof window=="undefined")return 0;const re=De?"scrollTop":"scrollLeft";let je=0;return ee(be)?je=be[De?"pageYOffset":"pageXOffset"]:be instanceof Document?je=be.documentElement[re]:(be instanceof HTMLElement||be)&&(je=be[re]),be&&!ee(be)&&typeof je!="number"&&(je=(Le=((Fe=be.ownerDocument)!==null&&Fe!==void 0?Fe:be).documentElement)===null||Le===void 0?void 0:Le[re]),je}},57838:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return te}});var ee=ne(67294);function te(){const[,be]=ee.useReducer(De=>De+1,0);return be}},58375:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return De}});var ee=ne(96523);function te(Fe,Le,re,je){const Ae=re-Le;return Fe/=je/2,Fe<1?Ae/2*Fe*Fe*Fe+Le:Ae/2*((Fe-=2)*Fe*Fe+2)+Le}var be=ne(66367);function De(Fe){let Le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:re=()=>window,callback:je,duration:Ae=450}=Le,Te=re(),ze=(0,be.Z)(Te,!0),ke=Date.now(),Pe=()=>{const y=Date.now()-ke,a=te(y>Ae?Ae:y,ze,Fe,Ae);(0,be.F)(Te)?Te.scrollTo(window.pageXOffset,a):Te instanceof Document||Te.constructor.name==="HTMLDocument"?Te.documentElement.scrollTop=a:Te.scrollTop=a,y{var ve;const{prefixCls:Ce,className:pe,rootClassName:At,children:st,indeterminate:Vt=!1,style:et,onMouseEnter:gt,onMouseLeave:It,skipGroup:Zt=!1,disabled:Ht}=ce,Ke=Pe(ce,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:ht,direction:vn,checkbox:Nt}=De.useContext(Fe.E_),He=De.useContext(Ae),{isFormItemInput:Ft}=De.useContext(re.aM),vt=De.useContext(Le.Z),Zn=(ve=(He==null?void 0:He.disabled)||Ht)!==null&&ve!==void 0?ve:vt,Rt=De.useRef(Ke.value);De.useEffect(()=>{He==null||He.registerValue(Ke.value)},[]),De.useEffect(()=>{if(!Zt)return Ke.value!==Rt.current&&(He==null||He.cancelValue(Rt.current),He==null||He.registerValue(Ke.value),Rt.current=Ke.value),()=>He==null?void 0:He.cancelValue(Ke.value)},[Ke.value]);const Pn=ht("checkbox",Ce),[Be,jt]=(0,Te.ZP)(Pn),Tn=Object.assign({},Ke);He&&!Zt&&(Tn.onChange=function(){Ke.onChange&&Ke.onChange.apply(Ke,arguments),He.toggleOption&&He.toggleOption({label:st,value:Ke.value})},Tn.name=He.name,Tn.checked=He.value.includes(Ke.value));const oa=te()(`${Pn}-wrapper`,{[`${Pn}-rtl`]:vn==="rtl",[`${Pn}-wrapper-checked`]:Tn.checked,[`${Pn}-wrapper-disabled`]:Zn,[`${Pn}-wrapper-in-form-item`]:Ft},Nt==null?void 0:Nt.className,pe,At,jt),cn=te()({[`${Pn}-indeterminate`]:Vt},ke.A,jt),zt=Vt?"mixed":void 0;return Be(De.createElement(ze.Z,{component:"Checkbox",disabled:Zn},De.createElement("label",{className:oa,style:Object.assign(Object.assign({},Nt==null?void 0:Nt.style),et),onMouseEnter:gt,onMouseLeave:It},De.createElement(be.Z,Object.assign({"aria-checked":zt},Tn,{prefixCls:Pn,className:cn,disabled:Zn,ref:Se})),st!==void 0&&De.createElement("span",null,st))))};var a=De.forwardRef(se),b=ne(74902),E=ne(10366),x=function(ce,Se){var ve={};for(var Ce in ce)Object.prototype.hasOwnProperty.call(ce,Ce)&&Se.indexOf(Ce)<0&&(ve[Ce]=ce[Ce]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pe=0,Ce=Object.getOwnPropertySymbols(ce);pe{const{defaultValue:ve,children:Ce,options:pe=[],prefixCls:At,className:st,rootClassName:Vt,style:et,onChange:gt}=ce,It=x(ce,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:Zt,direction:Ht}=De.useContext(Fe.E_),[Ke,ht]=De.useState(It.value||ve||[]),[vn,Nt]=De.useState([]);De.useEffect(()=>{"value"in It&&ht(It.value||[])},[It.value]);const He=De.useMemo(()=>pe.map(Ne=>typeof Ne=="string"||typeof Ne=="number"?{label:Ne,value:Ne}:Ne),[pe]),Ft=Ne=>{Nt(we=>we.filter(Me=>Me!==Ne))},vt=Ne=>{Nt(we=>[].concat((0,b.Z)(we),[Ne]))},Zn=Ne=>{const we=Ke.indexOf(Ne.value),Me=(0,b.Z)(Ke);we===-1?Me.push(Ne.value):Me.splice(we,1),"value"in It||ht(Me),gt==null||gt(Me.filter(Xe=>vn.includes(Xe)).sort((Xe,ct)=>{const Bt=He.findIndex(rn=>rn.value===Xe),un=He.findIndex(rn=>rn.value===ct);return Bt-un}))},Rt=Zt("checkbox",At),Pn=`${Rt}-group`,[Be,jt]=(0,Te.ZP)(Rt),Tn=(0,E.Z)(It,["value","disabled"]),oa=pe.length?He.map(Ne=>De.createElement(a,{prefixCls:Rt,key:Ne.value.toString(),disabled:"disabled"in Ne?Ne.disabled:It.disabled,value:Ne.value,checked:Ke.includes(Ne.value),onChange:Ne.onChange,className:`${Pn}-item`,style:Ne.style,title:Ne.title},Ne.label)):Ce,cn={toggleOption:Zn,value:Ke,disabled:It.disabled,name:It.name,registerValue:vt,cancelValue:Ft},zt=te()(Pn,{[`${Pn}-rtl`]:Ht==="rtl"},st,Vt,jt);return Be(De.createElement("div",Object.assign({className:zt,style:et},Tn,{ref:Se}),De.createElement(Ae.Provider,{value:cn},oa)))},ae=De.forwardRef(z);var oe=De.memo(ae);const le=a;le.Group=oe,le.__ANT_CHECKBOX=!0;var de=le},63185:function(Ve,mt,ne){"use strict";ne.d(mt,{C2:function(){return Fe}});var ee=ne(14747),te=ne(45503),be=ne(67968);const De=Le=>{const{checkboxCls:re}=Le,je=`${re}-wrapper`;return[{[`${re}-group`]:Object.assign(Object.assign({},(0,ee.Wf)(Le)),{display:"inline-flex",flexWrap:"wrap",columnGap:Le.marginXS,[`> ${Le.antCls}-row`]:{flex:1}}),[je]:Object.assign(Object.assign({},(0,ee.Wf)(Le)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${je}`]:{marginInlineStart:0},[`&${je}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[re]:Object.assign(Object.assign({},(0,ee.Wf)(Le)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Le.borderRadiusSM,alignSelf:"center",[`${re}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${re}-inner`]:Object.assign({},(0,ee.oN)(Le))},[`${re}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Le.checkboxSize,height:Le.checkboxSize,direction:"ltr",backgroundColor:Le.colorBgContainer,border:`${Le.lineWidth}px ${Le.lineType} ${Le.colorBorder}`,borderRadius:Le.borderRadiusSM,borderCollapse:"separate",transition:`all ${Le.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Le.checkboxSize/14*5,height:Le.checkboxSize/14*8,border:`${Le.lineWidthBold}px solid ${Le.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Le.motionDurationFast} ${Le.motionEaseInBack}, opacity ${Le.motionDurationFast}`}},"& + span":{paddingInlineStart:Le.paddingXS,paddingInlineEnd:Le.paddingXS}})},{[` ${je}:not(${je}-disabled), ${re}:not(${re}-disabled) `]:{[`&:hover ${re}-inner`]:{borderColor:Le.colorPrimary}},[`${je}:not(${je}-disabled)`]:{[`&:hover ${re}-checked:not(${re}-disabled) ${re}-inner`]:{backgroundColor:Le.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${re}-checked:not(${re}-disabled):after`]:{borderColor:Le.colorPrimaryHover}}},{[`${re}-checked`]:{[`${re}-inner`]:{backgroundColor:Le.colorPrimary,borderColor:Le.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Le.motionDurationMid} ${Le.motionEaseOutBack} ${Le.motionDurationFast}`}}},[` ${je}-checked:not(${je}-disabled), ${re}-checked:not(${re}-disabled) `]:{[`&:hover ${re}-inner`]:{backgroundColor:Le.colorPrimaryHover,borderColor:"transparent"}}},{[re]:{"&-indeterminate":{[`${re}-inner`]:{backgroundColor:Le.colorBgContainer,borderColor:Le.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Le.fontSizeLG/2,height:Le.fontSizeLG/2,backgroundColor:Le.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${je}-disabled`]:{cursor:"not-allowed"},[`${re}-disabled`]:{[`&, ${re}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${re}-inner`]:{background:Le.colorBgContainerDisabled,borderColor:Le.colorBorder,"&:after":{borderColor:Le.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Le.colorTextDisabled},[`&${re}-indeterminate ${re}-inner::after`]:{background:Le.colorTextDisabled}}}]};function Fe(Le,re){const je=(0,te.TS)(re,{checkboxCls:`.${Le}`,checkboxSize:re.controlInteractiveSize});return[De(je)]}mt.ZP=(0,be.Z)("Checkbox",(Le,re)=>{let{prefixCls:je}=re;return[Fe(je,Le)]})},35874:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return we}});var ee=ne(67294),te=ne(91034),be=ne(94184),De=ne.n(be),Fe=ne(87462),Le=ne(4942),re=ne(97685),je=ne(45987),Ae=ne(62709),Te=ne(71002),ze=ne(12060);function ke(Me,Xe,ct){var Bt=React.useRef({});return(!("value"in Bt.current)||ct(Bt.current.condition,Xe))&&(Bt.current.value=Me(),Bt.current.condition=Xe),Bt.current.value}function Pe(Me,Xe){typeof Me=="function"?Me(Xe):(0,Te.Z)(Me)==="object"&&Me&&"current"in Me&&(Me.current=Xe)}function se(){for(var Me=arguments.length,Xe=new Array(Me),ct=0;ct=b.F1&&ct<=b.F12)return!1;switch(ct){case b.ALT:case b.CAPS_LOCK:case b.CONTEXT_MENU:case b.CTRL:case b.DOWN:case b.END:case b.ESC:case b.HOME:case b.INSERT:case b.LEFT:case b.MAC_FF_META:case b.META:case b.NUMLOCK:case b.NUM_CENTER:case b.PAGE_DOWN:case b.PAGE_UP:case b.PAUSE:case b.PRINT_SCREEN:case b.RIGHT:case b.SHIFT:case b.UP:case b.WIN_KEY:case b.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Xe){if(Xe>=b.ZERO&&Xe<=b.NINE||Xe>=b.NUM_ZERO&&Xe<=b.NUM_MULTIPLY||Xe>=b.A&&Xe<=b.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Xe===0)return!0;switch(Xe){case b.SPACE:case b.QUESTION_MARK:case b.NUM_PLUS:case b.NUM_MINUS:case b.NUM_PERIOD:case b.NUM_DIVISION:case b.SEMICOLON:case b.DASH:case b.EQUALS:case b.COMMA:case b.PERIOD:case b.SLASH:case b.APOSTROPHE:case b.SINGLE_QUOTE:case b.OPEN_SQUARE_BRACKET:case b.BACKSLASH:case b.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},E=b,x=function(Xe){return+setTimeout(Xe,16)},z=function(Xe){return clearTimeout(Xe)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(x=function(Xe){return window.requestAnimationFrame(Xe)},z=function(Xe){return window.cancelAnimationFrame(Xe)});var ae=0,oe=new Map;function le(Me){oe.delete(Me)}var de=function(Xe){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ae+=1;var Bt=ae;function un(rn){if(rn===0)le(Bt),Xe();else{var ln=x(function(){un(rn-1)});oe.set(Bt,ln)}}return un(ct),Bt};de.cancel=function(Me){var Xe=oe.get(Me);return le(Xe),z(Xe)};var ce=de,Se=E.ESC,ve=E.TAB;function Ce(Me){var Xe=Me.visible,ct=Me.triggerRef,Bt=Me.onVisibleChange,un=Me.autoFocus,rn=Me.overlayRef,ln=ee.useRef(!1),Gn=function(){if(Xe){var fn,Ue;(fn=ct.current)===null||fn===void 0||(Ue=fn.focus)===null||Ue===void 0||Ue.call(fn),Bt==null||Bt(!1)}},ye=function(){var fn;return(fn=rn.current)!==null&&fn!==void 0&&fn.focus?(rn.current.focus(),ln.current=!0,!0):!1},Ye=function(fn){switch(fn.keyCode){case Se:Gn();break;case ve:{var Ue=!1;ln.current||(Ue=ye()),Ue?fn.preventDefault():Gn();break}}};ee.useEffect(function(){return Xe?(window.addEventListener("keydown",Ye),un&&ce(ye,3),function(){window.removeEventListener("keydown",Ye),ln.current=!1}):function(){ln.current=!1}},[Xe])}var pe=(0,ee.forwardRef)(function(Me,Xe){var ct=Me.overlay,Bt=Me.arrow,un=Me.prefixCls,rn=(0,ee.useMemo)(function(){var Gn;return typeof ct=="function"?Gn=ct():Gn=ct,Gn},[ct]),ln=se(Xe,rn==null?void 0:rn.ref);return ee.createElement(ee.Fragment,null,Bt&&ee.createElement("div",{className:"".concat(un,"-arrow")}),ee.cloneElement(rn,{ref:a(rn)?ln:void 0}))}),At=pe,st={adjustX:1,adjustY:1},Vt=[0,0],et={topLeft:{points:["bl","tl"],overflow:st,offset:[0,-4],targetOffset:Vt},top:{points:["bc","tc"],overflow:st,offset:[0,-4],targetOffset:Vt},topRight:{points:["br","tr"],overflow:st,offset:[0,-4],targetOffset:Vt},bottomLeft:{points:["tl","bl"],overflow:st,offset:[0,4],targetOffset:Vt},bottom:{points:["tc","bc"],overflow:st,offset:[0,4],targetOffset:Vt},bottomRight:{points:["tr","br"],overflow:st,offset:[0,4],targetOffset:Vt}},gt=et,It=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Zt(Me,Xe){var ct,Bt=Me.arrow,un=Bt===void 0?!1:Bt,rn=Me.prefixCls,ln=rn===void 0?"rc-dropdown":rn,Gn=Me.transitionName,ye=Me.animation,Ye=Me.align,An=Me.placement,fn=An===void 0?"bottomLeft":An,Ue=Me.placements,$t=Ue===void 0?gt:Ue,Re=Me.getPopupContainer,$e=Me.showAction,Pt=Me.hideAction,yt=Me.overlayClassName,Mt=Me.overlayStyle,sn=Me.visible,Nn=Me.trigger,yn=Nn===void 0?["hover"]:Nn,hn=Me.autoFocus,ia=Me.overlay,qn=Me.children,Fn=Me.onVisibleChange,Ea=(0,je.Z)(Me,It),ra=ee.useState(),_a=(0,re.Z)(ra,2),ja=_a[0],Na=_a[1],Aa="visible"in Me?sn:ja,qt=ee.useRef(null),bt=ee.useRef(null),gn=ee.useRef(null);ee.useImperativeHandle(Xe,function(){return qt.current});var aa=function(Gt){Na(Gt),Fn==null||Fn(Gt)};Ce({visible:Aa,triggerRef:gn,onVisibleChange:aa,autoFocus:hn,overlayRef:bt});var Vn=function(Gt){var pn=Me.onOverlayClick;Na(!1),pn&&pn(Gt)},Oa=function(){return ee.createElement(At,{ref:bt,overlay:ia,prefixCls:ln,arrow:un})},ao=function(){return typeof ia=="function"?Oa:Oa()},$a=function(){var Gt=Me.minOverlayWidthMatchTrigger,pn=Me.alignPoint;return"minOverlayWidthMatchTrigger"in Me?Gt:!pn},xn=function(){var Gt=Me.openClassName;return Gt!==void 0?Gt:"".concat(ln,"-open")},Ze=ee.cloneElement(qn,{className:De()((ct=qn.props)===null||ct===void 0?void 0:ct.className,Aa&&xn()),ref:a(qn)?se(gn,qn.ref):void 0}),ot=Pt;return!ot&&yn.indexOf("contextMenu")!==-1&&(ot=["click"]),ee.createElement(Ae.Z,(0,Fe.Z)({builtinPlacements:$t},Ea,{prefixCls:ln,ref:qt,popupClassName:De()(yt,(0,Le.Z)({},"".concat(ln,"-show-arrow"),un)),popupStyle:Mt,action:yn,showAction:$e,hideAction:ot,popupPlacement:fn,popupAlign:Ye,popupTransitionName:Gn,popupAnimation:ye,popupVisible:Aa,stretch:$a()?"minWidth":"",popup:ao(),onPopupVisibleChange:aa,onPopupClick:Vn,getPopupContainer:Re}),Ze)}var Ht=ee.forwardRef(Zt),Ke=Ht,ht=ne(60276),vn=ne(5663),Nt=ne(10366),He=ne(80636),Ft=ne(8745),vt=ne(96159),Zn=ne(53124),Rt=ne(68508),Pn=ne(76529),Be=ne(46605),jt=ne(66748);const Tn=null,oa=Me=>{const{menu:Xe,arrow:ct,prefixCls:Bt,children:un,trigger:rn,disabled:ln,dropdownRender:Gn,getPopupContainer:ye,overlayClassName:Ye,rootClassName:An,open:fn,onOpenChange:Ue,visible:$t,onVisibleChange:Re,mouseEnterDelay:$e=.15,mouseLeaveDelay:Pt=.1,autoAdjustOverflow:yt=!0,placement:Mt="",overlay:sn,transitionName:Nn}=Me,{getPopupContainer:yn,getPrefixCls:hn,direction:ia}=ee.useContext(Zn.E_),qn=ee.useMemo(()=>{const Ze=hn();return Nn!==void 0?Nn:Mt.includes("top")?`${Ze}-slide-down`:`${Ze}-slide-up`},[hn,Mt,Nn]),Fn=ee.useMemo(()=>Mt?Mt.includes("Center")?Mt.slice(0,Mt.indexOf("Center")):Mt:ia==="rtl"?"bottomRight":"bottomLeft",[Mt,ia]),Ea=hn("dropdown",Bt),[ra,_a]=(0,jt.Z)(Ea),[,ja]=(0,Be.Z)(),Na=ee.Children.only(un),Aa=(0,vt.Tm)(Na,{className:De()(`${Ea}-trigger`,{[`${Ea}-rtl`]:ia==="rtl"},Na.props.className),disabled:ln}),qt=ln?[]:rn;let bt;qt&&qt.includes("contextMenu")&&(bt=!0);const[gn,aa]=(0,vn.Z)(!1,{value:fn!=null?fn:$t}),Vn=(0,ht.useEvent)(Ze=>{Ue==null||Ue(Ze),Re==null||Re(Ze),aa(Ze)}),Oa=De()(Ye,An,_a,{[`${Ea}-rtl`]:ia==="rtl"}),ao=(0,He.Z)({arrowPointAtCenter:typeof ct=="object"&&ct.pointAtCenter,autoAdjustOverflow:yt,offset:ja.marginXXS,arrowWidth:ct?ja.sizePopupArrow:0,borderRadius:ja.borderRadius}),$a=ee.useCallback(()=>{aa(!1)},[]),xn=()=>{let Ze;return Xe!=null&&Xe.items?Ze=ee.createElement(Rt.default,Object.assign({},Xe)):typeof sn=="function"?Ze=sn():Ze=sn,Gn&&(Ze=Gn(Ze)),Ze=ee.Children.only(typeof Ze=="string"?ee.createElement("span",null,Ze):Ze),ee.createElement(Pn.J,{prefixCls:`${Ea}-menu`,expandIcon:ee.createElement("span",{className:`${Ea}-menu-submenu-arrow`},ee.createElement(te.Z,{className:`${Ea}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:$a,validator:ot=>{let{mode:We}=ot}},Ze)};return ra(ee.createElement(Ke,Object.assign({alignPoint:bt},(0,Nt.Z)(Me,["rootClassName"]),{mouseEnterDelay:$e,mouseLeaveDelay:Pt,visible:gn,builtinPlacements:ao,arrow:!!ct,overlayClassName:Oa,prefixCls:Ea,getPopupContainer:ye||yn,transitionName:qn,trigger:qt,overlay:xn,placement:Fn,onVisibleChange:Vn}),Aa))};function cn(Me){return Object.assign(Object.assign({},Me),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const zt=(0,Ft.Z)(oa,"dropdown",Me=>Me,cn),Ne=Me=>ee.createElement(zt,Object.assign({},Me),ee.createElement("span",null));oa._InternalPanelDoNotUseOrYouWillBeFired=Ne;var we=oa},85418:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return y}});var ee=ne(35874),te=ne(94184),be=ne.n(te),De=ne(67294),Fe=ne(25877),Le=ne(71577),re=ne(53124),je=ne(93421),Ae=ne(4173),Te=ne(66748),ze=function(a,b){var E={};for(var x in a)Object.prototype.hasOwnProperty.call(a,x)&&b.indexOf(x)<0&&(E[x]=a[x]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,x=Object.getOwnPropertySymbols(a);z{const{getPopupContainer:b,getPrefixCls:E,direction:x}=De.useContext(re.E_),{prefixCls:z,type:ae="default",danger:oe,disabled:le,loading:de,onClick:ce,htmlType:Se,children:ve,className:Ce,menu:pe,arrow:At,autoFocus:st,overlay:Vt,trigger:et,align:gt,open:It,onOpenChange:Zt,placement:Ht,getPopupContainer:Ke,href:ht,icon:vn=De.createElement(Fe.Z,null),title:Nt,buttonsRender:He=ln=>ln,mouseEnterDelay:Ft,mouseLeaveDelay:vt,overlayClassName:Zn,overlayStyle:Rt,destroyPopupOnHide:Pn,dropdownRender:Be}=a,jt=ze(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Tn=E("dropdown",z),oa=`${Tn}-button`,[cn,zt]=(0,Te.Z)(Tn),Ne={menu:pe,arrow:At,autoFocus:st,align:gt,disabled:le,trigger:le?[]:et,onOpenChange:Zt,getPopupContainer:Ke||b,mouseEnterDelay:Ft,mouseLeaveDelay:vt,overlayClassName:Zn,overlayStyle:Rt,destroyPopupOnHide:Pn,dropdownRender:Be},{compactSize:we,compactItemClassnames:Me}=(0,Ae.ri)(Tn,x),Xe=be()(oa,Me,Ce,zt);"overlay"in a&&(Ne.overlay=Vt),"open"in a&&(Ne.open=It),"placement"in a?Ne.placement=Ht:Ne.placement=x==="rtl"?"bottomLeft":"bottomRight";const ct=De.createElement(Le.ZP,{type:ae,danger:oe,disabled:le,loading:de,onClick:ce,htmlType:Se,href:ht,title:Nt},ve),Bt=De.createElement(Le.ZP,{type:ae,danger:oe,icon:vn}),[un,rn]=He([ct,Bt]);return cn(De.createElement(je.Z.Compact,Object.assign({className:Xe,size:we,block:!0},jt),un,De.createElement(ee.Z,Object.assign({},Ne),rn)))};ke.__ANT_BUTTON=!0;var Pe=ke;const se=ee.Z;se.Button=Pe;var y=se},66748:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return ze}});var ee=ne(14747),te=ne(67771),be=ne(33297),De=ne(50438),Fe=ne(97414),Le=ne(67968),re=ne(45503),Ae=ke=>{const{componentCls:Pe,menuCls:se,colorError:y,colorTextLightSolid:a}=ke,b=`${se}-item`;return{[`${Pe}, ${Pe}-menu-submenu`]:{[`${se} ${b}`]:{[`&${b}-danger:not(${b}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const Te=ke=>{const{componentCls:Pe,menuCls:se,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:b,antCls:E,iconCls:x,motionDurationMid:z,dropdownPaddingVertical:ae,fontSize:oe,dropdownEdgeChildPadding:le,colorTextDisabled:de,fontSizeIcon:ce,controlPaddingHorizontal:Se,colorBgElevated:ve}=ke;return[{[Pe]:Object.assign(Object.assign({},(0,ee.Wf)(ke)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+b/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${x}-down, & > ${E}-btn-icon > ${x}-down`]:{fontSize:ce}},[`${Pe}-wrap`]:{position:"relative",[`${E}-btn > ${x}-down`]:{fontSize:ce},[`${x}-down::before`]:{transition:`transform ${z}`}},[`${Pe}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${Pe}-placement-bottomLeft, &${E}-slide-down-appear${E}-slide-down-appear-active${Pe}-placement-bottomLeft, &${E}-slide-down-enter${E}-slide-down-enter-active${Pe}-placement-bottom, &${E}-slide-down-appear${E}-slide-down-appear-active${Pe}-placement-bottom, &${E}-slide-down-enter${E}-slide-down-enter-active${Pe}-placement-bottomRight, &${E}-slide-down-appear${E}-slide-down-appear-active${Pe}-placement-bottomRight`]:{animationName:te.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${Pe}-placement-topLeft, &${E}-slide-up-appear${E}-slide-up-appear-active${Pe}-placement-topLeft, &${E}-slide-up-enter${E}-slide-up-enter-active${Pe}-placement-top, &${E}-slide-up-appear${E}-slide-up-appear-active${Pe}-placement-top, &${E}-slide-up-enter${E}-slide-up-enter-active${Pe}-placement-topRight, &${E}-slide-up-appear${E}-slide-up-appear-active${Pe}-placement-topRight`]:{animationName:te.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${Pe}-placement-bottomLeft, &${E}-slide-down-leave${E}-slide-down-leave-active${Pe}-placement-bottom, &${E}-slide-down-leave${E}-slide-down-leave-active${Pe}-placement-bottomRight`]:{animationName:te.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${Pe}-placement-topLeft, &${E}-slide-up-leave${E}-slide-up-leave-active${Pe}-placement-top, &${E}-slide-up-leave${E}-slide-up-leave-active${Pe}-placement-topRight`]:{animationName:te.ly}})},(0,Fe.ZP)(ke,{colorBg:ve,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Pe} ${se}`]:{position:"relative",margin:0},[`${se}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Pe}, ${Pe}-menu-submenu`]:{[se]:Object.assign(Object.assign({padding:le,listStyleType:"none",backgroundColor:ve,backgroundClip:"padding-box",borderRadius:ke.borderRadiusLG,outline:"none",boxShadow:ke.boxShadowSecondary},(0,ee.Qy)(ke)),{[`${se}-item-group-title`]:{padding:`${ae}px ${Se}px`,color:ke.colorTextDescription,transition:`all ${z}`},[`${se}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${se}-item-icon`]:{minWidth:oe,marginInlineEnd:ke.marginXS,fontSize:ke.fontSizeSM},[`${se}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${se}-item, ${se}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ae}px ${Se}px`,color:ke.colorText,fontWeight:"normal",fontSize:oe,lineHeight:ke.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:ke.borderRadiusSM,"&:hover, &-active":{backgroundColor:ke.controlItemBgHover}},(0,ee.Qy)(ke)),{"&-selected":{color:ke.colorPrimary,backgroundColor:ke.controlItemBgActive,"&:hover, &-active":{backgroundColor:ke.controlItemBgActiveHover}},"&-disabled":{color:de,cursor:"not-allowed","&:hover":{color:de,backgroundColor:ve,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${ke.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:ke.colorSplit},[`${Pe}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:ke.paddingXS,[`${Pe}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:ke.colorTextDescription,fontSize:ce,fontStyle:"normal"}}}),[`${se}-item-group-list`]:{margin:`0 ${ke.marginXS}px`,padding:0,listStyle:"none"},[`${se}-submenu-title`]:{paddingInlineEnd:Se+ke.fontSizeSM},[`${se}-submenu-vertical`]:{position:"relative"},[`${se}-submenu${se}-submenu-disabled ${Pe}-menu-submenu-title`]:{[`&, ${Pe}-menu-submenu-arrow-icon`]:{color:de,backgroundColor:ve,cursor:"not-allowed"}},[`${se}-submenu-selected ${Pe}-menu-submenu-title`]:{color:ke.colorPrimary}})}},[(0,te.oN)(ke,"slide-up"),(0,te.oN)(ke,"slide-down"),(0,be.Fm)(ke,"move-up"),(0,be.Fm)(ke,"move-down"),(0,De._y)(ke,"zoom-big")]]};var ze=(0,Le.Z)("Dropdown",(ke,Pe)=>{let{rootPrefixCls:se}=Pe;const{marginXXS:y,sizePopupArrow:a,controlHeight:b,fontSize:E,lineHeight:x,paddingXXS:z,componentCls:ae,borderRadiusLG:oe}=ke,le=(b-E*x)/2,{dropdownArrowOffset:de}=(0,Fe.fS)({contentRadius:oe}),ce=(0,re.TS)(ke,{menuCls:`${ae}-menu`,rootPrefixCls:se,dropdownArrowDistance:a/2+y,dropdownArrowOffset:de,dropdownPaddingVertical:le,dropdownEdgeChildPadding:z});return[Te(ce),Ae(ce)]},ke=>({zIndexPopup:ke.zIndexPopupBase+50}))},25378:function(Ve,mt,ne){"use strict";var ee=ne(67294),te=ne(14075),be=ne(57838),De=ne(74443);function Fe(){let Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const re=(0,ee.useRef)({}),je=(0,be.Z)(),Ae=(0,De.ZP)();return(0,te.Z)(()=>{const Te=Ae.subscribe(ze=>{re.current=ze,Le&&je()});return()=>Ae.unsubscribe(Te)},[]),re.current}mt.Z=Fe},71322:function(Ve,mt,ne){"use strict";ne.d(mt,{D:function(){return x},Z:function(){return oe}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"},De=be,Fe=ne(74643),Le=function(de,ce){return te.createElement(Fe.Z,(0,ee.Z)({},de,{ref:ce,icon:De}))},re=te.forwardRef(Le),je=ne(22751),Ae=ne(91034),Te=ne(94184),ze=ne.n(Te),ke=ne(10366),se=le=>!isNaN(parseFloat(le))&&isFinite(le),y=ne(53124),a=ne(84321),b=function(le,de){var ce={};for(var Se in le)Object.prototype.hasOwnProperty.call(le,Se)&&de.indexOf(Se)<0&&(ce[Se]=le[Se]);if(le!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Se=Object.getOwnPropertySymbols(le);ve{let le=0;return function(){let de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return le+=1,`${de}${le}`}})();var oe=te.forwardRef((le,de)=>{const{prefixCls:ce,className:Se,trigger:ve,children:Ce,defaultCollapsed:pe=!1,theme:At="dark",style:st={},collapsible:Vt=!1,reverseArrow:et=!1,width:gt=200,collapsedWidth:It=80,zeroWidthTriggerStyle:Zt,breakpoint:Ht,onCollapse:Ke,onBreakpoint:ht}=le,vn=b(le,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:Nt}=(0,te.useContext)(a.Gs),[He,Ft]=(0,te.useState)("collapsed"in le?le.collapsed:pe),[vt,Zn]=(0,te.useState)(!1);(0,te.useEffect)(()=>{"collapsed"in le&&Ft(le.collapsed)},[le.collapsed]);const Rt=(cn,zt)=>{"collapsed"in le||Ft(cn),Ke==null||Ke(cn,zt)},Pn=(0,te.useRef)();Pn.current=cn=>{Zn(cn.matches),ht==null||ht(cn.matches),He!==cn.matches&&Rt(cn.matches,"responsive")},(0,te.useEffect)(()=>{function cn(Ne){return Pn.current(Ne)}let zt;if(typeof window!="undefined"){const{matchMedia:Ne}=window;if(Ne&&Ht&&Ht in E){zt=Ne(`(max-width: ${E[Ht]})`);try{zt.addEventListener("change",cn)}catch(we){zt.addListener(cn)}cn(zt)}}return()=>{try{zt==null||zt.removeEventListener("change",cn)}catch(Ne){zt==null||zt.removeListener(cn)}}},[Ht]),(0,te.useEffect)(()=>{const cn=z("ant-sider-");return Nt.addSider(cn),()=>Nt.removeSider(cn)},[]);const Be=()=>{Rt(!He,"clickTrigger")},{getPrefixCls:jt}=(0,te.useContext)(y.E_),Tn=()=>{const cn=jt("layout-sider",ce),zt=(0,ke.Z)(vn,["collapsed"]),Ne=He?It:gt,we=se(Ne)?`${Ne}px`:String(Ne),Me=parseFloat(String(It||0))===0?te.createElement("span",{onClick:Be,className:ze()(`${cn}-zero-width-trigger`,`${cn}-zero-width-trigger-${et?"right":"left"}`),style:Zt},ve||te.createElement(re,null)):null,Bt={expanded:et?te.createElement(Ae.Z,null):te.createElement(je.Z,null),collapsed:et?te.createElement(je.Z,null):te.createElement(Ae.Z,null)}[He?"collapsed":"expanded"],un=ve!==null?Me||te.createElement("div",{className:`${cn}-trigger`,onClick:Be,style:{width:we}},ve||Bt):null,rn=Object.assign(Object.assign({},st),{flex:`0 0 ${we}`,maxWidth:we,minWidth:we,width:we}),ln=ze()(cn,`${cn}-${At}`,{[`${cn}-collapsed`]:!!He,[`${cn}-has-trigger`]:Vt&&ve!==null&&!Me,[`${cn}-below`]:!!vt,[`${cn}-zero-width`]:parseFloat(we)===0},Se);return te.createElement("aside",Object.assign({className:ln},zt,{style:rn,ref:de}),te.createElement("div",{className:`${cn}-children`},Ce),Vt||vt&&Me?un:null)},oa=te.useMemo(()=>({siderCollapsed:He}),[He]);return te.createElement(x.Provider,{value:oa},Tn())})},84321:function(Ve,mt,ne){"use strict";ne.d(mt,{VY:function(){return z},$_:function(){return x},h4:function(){return E},Gs:function(){return Pe},ZP:function(){return ae}});var ee=ne(74902),te=ne(94184),be=ne.n(te),De=ne(10366),Fe=ne(67294),Le=ne(53124),re=ne(67968),Ae=oe=>{const{componentCls:le,bodyBg:de,lightSiderBg:ce,lightTriggerBg:Se,lightTriggerColor:ve}=oe;return{[`${le}-sider-light`]:{background:ce,[`${le}-sider-trigger`]:{color:ve,background:Se},[`${le}-sider-zero-width-trigger`]:{color:ve,background:Se,border:`1px solid ${de}`,borderInlineStart:0}}}};const Te=oe=>{const{antCls:le,componentCls:de,colorText:ce,triggerColor:Se,footerBg:ve,triggerBg:Ce,headerHeight:pe,headerPadding:At,headerColor:st,footerPadding:Vt,triggerHeight:et,zeroTriggerHeight:gt,zeroTriggerWidth:It,motionDurationMid:Zt,motionDurationSlow:Ht,fontSize:Ke,borderRadius:ht,bodyBg:vn,headerBg:Nt,siderBg:He}=oe;return{[de]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:vn,"&, *":{boxSizing:"border-box"},[`&${de}-has-sider`]:{flexDirection:"row",[`> ${de}, > ${de}-content`]:{width:0}},[`${de}-header, &${de}-footer`]:{flex:"0 0 auto"},[`${de}-sider`]:{position:"relative",minWidth:0,background:He,transition:`all ${Zt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${le}-menu${le}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:et},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:et,color:Se,lineHeight:`${et}px`,textAlign:"center",background:Ce,cursor:"pointer",transition:`all ${Zt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:pe,insetInlineEnd:-It,zIndex:1,width:It,height:gt,color:Se,fontSize:oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:He,borderStartStartRadius:0,borderStartEndRadius:ht,borderEndEndRadius:ht,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Ht} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Ht}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-It,borderStartStartRadius:ht,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:ht}}}}},Ae(oe)),{"&-rtl":{direction:"rtl"}}),[`${de}-header`]:{height:pe,padding:At,color:st,lineHeight:`${pe}px`,background:Nt,[`${le}-menu`]:{lineHeight:"inherit"}},[`${de}-footer`]:{padding:Vt,color:ce,fontSize:Ke,background:ve},[`${de}-content`]:{flex:"auto",minHeight:0}}};var ze=(0,re.Z)("Layout",oe=>[Te(oe)],oe=>{const{colorBgLayout:le,controlHeight:de,controlHeightLG:ce,colorText:Se,controlHeightSM:ve,marginXXS:Ce,colorTextLightSolid:pe,colorBgContainer:At}=oe,st=ce*1.25;return{colorBgHeader:"#001529",colorBgBody:le,colorBgTrigger:"#002140",bodyBg:le,headerBg:"#001529",headerHeight:de*2,headerPadding:`0 ${st}px`,headerColor:Se,footerPadding:`${ve}px ${st}px`,footerBg:le,siderBg:"#001529",triggerHeight:ce+Ce*2,triggerBg:"#002140",triggerColor:pe,zeroTriggerWidth:ce,zeroTriggerHeight:ce,lightSiderBg:At,lightTriggerBg:At,lightTriggerColor:Se}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),ke=function(oe,le){var de={};for(var ce in oe)Object.prototype.hasOwnProperty.call(oe,ce)&&le.indexOf(ce)<0&&(de[ce]=oe[ce]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,ce=Object.getOwnPropertySymbols(oe);Senull,removeSider:()=>null}});function se(oe){let{suffixCls:le,tagName:de,displayName:ce}=oe;return Se=>Fe.forwardRef((Ce,pe)=>Fe.createElement(Se,Object.assign({ref:pe,suffixCls:le,tagName:de},Ce)))}const y=Fe.forwardRef((oe,le)=>{const{prefixCls:de,suffixCls:ce,className:Se,tagName:ve}=oe,Ce=ke(oe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:pe}=Fe.useContext(Le.E_),At=pe("layout",de),[st,Vt]=ze(At),et=ce?`${At}-${ce}`:At;return st(Fe.createElement(ve,Object.assign({className:be()(de||et,Se,Vt),ref:le},Ce)))}),a=Fe.forwardRef((oe,le)=>{const{direction:de}=Fe.useContext(Le.E_),[ce,Se]=Fe.useState([]),{prefixCls:ve,className:Ce,rootClassName:pe,children:At,hasSider:st,tagName:Vt,style:et}=oe,gt=ke(oe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),It=(0,De.Z)(gt,["suffixCls"]),{getPrefixCls:Zt,layout:Ht}=Fe.useContext(Le.E_),Ke=Zt("layout",ve),[ht,vn]=ze(Ke),Nt=be()(Ke,{[`${Ke}-has-sider`]:typeof st=="boolean"?st:ce.length>0,[`${Ke}-rtl`]:de==="rtl"},Ht==null?void 0:Ht.className,Ce,pe,vn),He=Fe.useMemo(()=>({siderHook:{addSider:Ft=>{Se(vt=>[].concat((0,ee.Z)(vt),[Ft]))},removeSider:Ft=>{Se(vt=>vt.filter(Zn=>Zn!==Ft))}}}),[]);return ht(Fe.createElement(Pe.Provider,{value:He},Fe.createElement(Vt,Object.assign({ref:le,className:Nt,style:Object.assign(Object.assign({},Ht==null?void 0:Ht.style),et)},It),At)))}),b=se({tagName:"div",displayName:"Layout"})(a),E=se({suffixCls:"header",tagName:"header",displayName:"Header"})(y),x=se({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),z=se({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var ae=b},76529:function(Ve,mt,ne){"use strict";ne.d(mt,{J:function(){return Le}});var ee=ne(67294),te=ne(4173),be=ne(60276),De=function(re,je){var Ae={};for(var Te in re)Object.prototype.hasOwnProperty.call(re,Te)&&je.indexOf(Te)<0&&(Ae[Te]=re[Te]);if(re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ze=0,Te=Object.getOwnPropertySymbols(re);ze{const{children:Ae}=re,Te=De(re,["children"]),ze=ee.useContext(Fe),ke=ee.useMemo(()=>Object.assign(Object.assign({},ze),Te),[ze,Te.prefixCls,Te.mode,Te.selectable]);return ee.createElement(Fe.Provider,{value:ke},ee.createElement(te.BR,null,(0,be.supportNodeRef)(Ae)?ee.cloneElement(Ae,{ref:je}):Ae))});mt.Z=Fe},68508:function(Ve,mt,ne){"use strict";ne.d(mt,{default:function(){return cn}});var ee=ne(78595),te=ne(67294),be=ne(71322),De=ne(94184),Fe=ne.n(De),Le=ne(53124),re=function(zt,Ne){var we={};for(var Me in zt)Object.prototype.hasOwnProperty.call(zt,Me)&&Ne.indexOf(Me)<0&&(we[Me]=zt[Me]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Me=Object.getOwnPropertySymbols(zt);Xe{const{prefixCls:Ne,className:we,dashed:Me}=zt,Xe=re(zt,["prefixCls","className","dashed"]),{getPrefixCls:ct}=te.useContext(Le.E_),Bt=ct("menu",Ne),un=Fe()({[`${Bt}-item-divider-dashed`]:!!Me},we);return te.createElement(ee.iz,Object.assign({className:un},Xe))},Te=ne(37419),ze=ne(10366),ke=ne(83062),Pe=ne(96159),y=(0,te.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),b=zt=>{var Ne;const{className:we,children:Me,icon:Xe,title:ct,danger:Bt}=zt,{prefixCls:un,firstLevel:rn,direction:ln,disableMenuItemTitleTooltip:Gn,inlineCollapsed:ye}=te.useContext(y),Ye=$e=>{const Pt=te.createElement("span",{className:`${un}-title-content`},Me);return(!Xe||(0,Pe.l$)(Me)&&Me.type==="span")&&Me&&$e&&rn&&typeof Me=="string"?te.createElement("div",{className:`${un}-inline-collapsed-noicon`},Me.charAt(0)):Pt},{siderCollapsed:An}=te.useContext(be.D);let fn=ct;typeof ct=="undefined"?fn=rn?Me:"":ct===!1&&(fn="");const Ue={title:fn};!An&&!ye&&(Ue.title=null,Ue.open=!1);const $t=(0,Te.Z)(Me).length;let Re=te.createElement(ee.ck,Object.assign({},(0,ze.Z)(zt,["title","icon","danger"]),{className:Fe()({[`${un}-item-danger`]:Bt,[`${un}-item-only-child`]:(Xe?$t+1:$t)===1},we),title:typeof ct=="string"?ct:void 0}),(0,Pe.Tm)(Xe,{className:Fe()((0,Pe.l$)(Xe)?(Ne=Xe.props)===null||Ne===void 0?void 0:Ne.className:"",`${un}-item-icon`)}),Ye(ye));return Gn||(Re=te.createElement(ke.Z,Object.assign({},Ue,{placement:ln==="rtl"?"left":"right",overlayClassName:`${un}-inline-collapsed-tooltip`}),Re)),Re},x=zt=>{var Ne;const{popupClassName:we,icon:Me,title:Xe,theme:ct}=zt,Bt=te.useContext(y),{prefixCls:un,inlineCollapsed:rn,theme:ln}=Bt,Gn=(0,ee.Xl)();let ye;if(!Me)ye=rn&&!Gn.length&&Xe&&typeof Xe=="string"?te.createElement("div",{className:`${un}-inline-collapsed-noicon`},Xe.charAt(0)):te.createElement("span",{className:`${un}-title-content`},Xe);else{const An=(0,Pe.l$)(Xe)&&Xe.type==="span";ye=te.createElement(te.Fragment,null,(0,Pe.Tm)(Me,{className:Fe()((0,Pe.l$)(Me)?(Ne=Me.props)===null||Ne===void 0?void 0:Ne.className:"",`${un}-item-icon`)}),An?Xe:te.createElement("span",{className:`${un}-title-content`},Xe))}const Ye=te.useMemo(()=>Object.assign(Object.assign({},Bt),{firstLevel:!1}),[Bt]);return te.createElement(y.Provider,{value:Ye},te.createElement(ee.Wd,Object.assign({},(0,ze.Z)(zt,["icon"]),{title:ye,popupClassName:Fe()(un,we,`${un}-${ct||ln}`)})))},z=ne(25877),ae=ne(60276),oe=ne(33603),le=ne(76529),de=function(zt,Ne){var we={};for(var Me in zt)Object.prototype.hasOwnProperty.call(zt,Me)&&Ne.indexOf(Me)<0&&(we[Me]=zt[Me]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Me=Object.getOwnPropertySymbols(zt);Xe{if(Ne&&typeof Ne=="object"){const Me=Ne,{label:Xe,children:ct,key:Bt,type:un}=Me,rn=de(Me,["label","children","key","type"]),ln=Bt!=null?Bt:`tmp-${we}`;return ct||un==="group"?un==="group"?te.createElement(ee.BW,Object.assign({key:ln},rn,{title:Xe}),ce(ct)):te.createElement(x,Object.assign({key:ln},rn,{title:Xe}),ce(ct)):un==="divider"?te.createElement(Ae,Object.assign({key:ln},rn)):te.createElement(b,Object.assign({key:ln},rn),Xe)}return null}).filter(Ne=>Ne)}function Se(zt){return te.useMemo(()=>zt&&ce(zt),[zt])}var ve=ne(84780),Ce=ne(14747),pe=ne(33507),At=ne(67771),st=ne(50438),Vt=ne(67968),et=ne(45503),It=zt=>{const{componentCls:Ne,motionDurationSlow:we,horizontalLineHeight:Me,colorSplit:Xe,lineWidth:ct,lineType:Bt,itemPaddingInline:un}=zt;return{[`${Ne}-horizontal`]:{lineHeight:Me,border:0,borderBottom:`${ct}px ${Bt} ${Xe}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ne}-item, ${Ne}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:un},[`> ${Ne}-item:hover, > ${Ne}-item-active, > ${Ne}-submenu ${Ne}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ne}-item, ${Ne}-submenu-title`]:{transition:[`border-color ${we}`,`background ${we}`].join(",")},[`${Ne}-submenu-arrow`]:{display:"none"}}}},Ht=zt=>{let{componentCls:Ne,menuArrowOffset:we}=zt;return{[`${Ne}-rtl`]:{direction:"rtl"},[`${Ne}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ne}-rtl${Ne}-vertical, ${Ne}-submenu-rtl ${Ne}-vertical`]:{[`${Ne}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${we})`},"&::after":{transform:`rotate(45deg) translateY(${we})`}}}}};const Ke=zt=>Object.assign({},(0,Ce.oN)(zt));var vn=(zt,Ne)=>{const{componentCls:we,itemColor:Me,itemSelectedColor:Xe,groupTitleColor:ct,itemBg:Bt,subMenuItemBg:un,itemSelectedBg:rn,activeBarHeight:ln,activeBarWidth:Gn,activeBarBorderWidth:ye,motionDurationSlow:Ye,motionEaseInOut:An,motionEaseOut:fn,itemPaddingInline:Ue,motionDurationMid:$t,itemHoverColor:Re,lineType:$e,colorSplit:Pt,itemDisabledColor:yt,dangerItemColor:Mt,dangerItemHoverColor:sn,dangerItemSelectedColor:Nn,dangerItemActiveBg:yn,dangerItemSelectedBg:hn,itemHoverBg:ia,itemActiveBg:qn,menuSubMenuBg:Fn,horizontalItemSelectedColor:Ea,horizontalItemSelectedBg:ra,horizontalItemBorderRadius:_a,horizontalItemHoverBg:ja,popupBg:Na}=zt;return{[`${we}-${Ne}, ${we}-${Ne} > ${we}`]:{color:Me,background:Bt,[`&${we}-root:focus-visible`]:Object.assign({},Ke(zt)),[`${we}-item-group-title`]:{color:ct},[`${we}-submenu-selected`]:{[`> ${we}-submenu-title`]:{color:Xe}},[`${we}-item-disabled, ${we}-submenu-disabled`]:{color:`${yt} !important`},[`${we}-item:not(${we}-item-selected):not(${we}-submenu-selected)`]:{[`&:hover, > ${we}-submenu-title:hover`]:{color:Re}},[`&:not(${we}-horizontal)`]:{[`${we}-item:not(${we}-item-selected)`]:{"&:hover":{backgroundColor:ia},"&:active":{backgroundColor:qn}},[`${we}-submenu-title`]:{"&:hover":{backgroundColor:ia},"&:active":{backgroundColor:qn}}},[`${we}-item-danger`]:{color:Mt,[`&${we}-item:hover`]:{[`&:not(${we}-item-selected):not(${we}-submenu-selected)`]:{color:sn}},[`&${we}-item:active`]:{background:yn}},[`${we}-item a`]:{"&, &:hover":{color:"inherit"}},[`${we}-item-selected`]:{color:Xe,[`&${we}-item-danger`]:{color:Nn},"a, a:hover":{color:"inherit"}},[`& ${we}-item-selected`]:{backgroundColor:rn,[`&${we}-item-danger`]:{backgroundColor:hn}},[`${we}-item, ${we}-submenu-title`]:{[`&:not(${we}-item-disabled):focus-visible`]:Object.assign({},Ke(zt))},[`&${we}-submenu > ${we}`]:{backgroundColor:Fn},[`&${we}-popup > ${we}`]:{backgroundColor:Na},[`&${we}-horizontal`]:Object.assign(Object.assign({},Ne==="dark"?{borderBottom:0}:{}),{[`> ${we}-item, > ${we}-submenu`]:{top:ye,marginTop:-ye,marginBottom:0,borderRadius:_a,"&::after":{position:"absolute",insetInline:Ue,bottom:0,borderBottom:`${ln}px solid transparent`,transition:`border-color ${Ye} ${An}`,content:'""'},"&:hover, &-active, &-open":{background:ja,"&::after":{borderBottomWidth:ln,borderBottomColor:Ea}},"&-selected":{color:Ea,backgroundColor:ra,"&:hover":{backgroundColor:ra},"&::after":{borderBottomWidth:ln,borderBottomColor:Ea}}}}),[`&${we}-root`]:{[`&${we}-inline, &${we}-vertical`]:{borderInlineEnd:`${ye}px ${$e} ${Pt}`}},[`&${we}-inline`]:{[`${we}-sub${we}-inline`]:{background:un},[`${we}-item, ${we}-submenu-title`]:ye&&Gn?{width:`calc(100% + ${ye}px)`}:{},[`${we}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Gn}px solid ${Xe}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${$t} ${fn}`,`opacity ${$t} ${fn}`].join(","),content:'""'},[`&${we}-item-danger`]:{"&::after":{borderInlineEndColor:Nn}}},[`${we}-selected, ${we}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${$t} ${An}`,`opacity ${$t} ${An}`].join(",")}}}}}};const Nt=zt=>{const{componentCls:Ne,itemHeight:we,itemMarginInline:Me,padding:Xe,menuArrowSize:ct,marginXS:Bt,itemMarginBlock:un}=zt,rn=Xe+ct+Bt;return{[`${Ne}-item`]:{position:"relative",overflow:"hidden"},[`${Ne}-item, ${Ne}-submenu-title`]:{height:we,lineHeight:`${we}px`,paddingInline:Xe,overflow:"hidden",textOverflow:"ellipsis",marginInline:Me,marginBlock:un,width:`calc(100% - ${Me*2}px)`},[`> ${Ne}-item, > ${Ne}-submenu > ${Ne}-submenu-title`]:{height:we,lineHeight:`${we}px`},[`${Ne}-item-group-list ${Ne}-submenu-title, ${Ne}-submenu-title`]:{paddingInlineEnd:rn}}};var Ft=zt=>{const{componentCls:Ne,iconCls:we,itemHeight:Me,colorTextLightSolid:Xe,dropdownWidth:ct,controlHeightLG:Bt,motionDurationMid:un,motionEaseOut:rn,paddingXL:ln,itemMarginInline:Gn,fontSizeLG:ye,motionDurationSlow:Ye,paddingXS:An,boxShadowSecondary:fn,collapsedWidth:Ue,collapsedIconSize:$t}=zt,Re={height:Me,lineHeight:`${Me}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ne]:{"&-inline, &-vertical":Object.assign({[`&${Ne}-root`]:{boxShadow:"none"}},Nt(zt))},[`${Ne}-submenu-popup`]:{[`${Ne}-vertical`]:Object.assign(Object.assign({},Nt(zt)),{boxShadow:fn})}},{[`${Ne}-submenu-popup ${Ne}-vertical${Ne}-sub`]:{minWidth:ct,maxHeight:`calc(100vh - ${Bt*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ne}-inline`]:{width:"100%",[`&${Ne}-root`]:{[`${Ne}-item, ${Ne}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ye}`,`background ${Ye}`,`padding ${un} ${rn}`].join(","),[`> ${Ne}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ne}-sub${Ne}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ne}-submenu > ${Ne}-submenu-title`]:Re,[`& ${Ne}-item-group-title`]:{paddingInlineStart:ln}},[`${Ne}-item`]:Re}},{[`${Ne}-inline-collapsed`]:{width:Ue,[`&${Ne}-root`]:{[`${Ne}-item, ${Ne}-submenu ${Ne}-submenu-title`]:{[`> ${Ne}-inline-collapsed-noicon`]:{fontSize:ye,textAlign:"center"}}},[`> ${Ne}-item, > ${Ne}-item-group > ${Ne}-item-group-list > ${Ne}-item, > ${Ne}-item-group > ${Ne}-item-group-list > ${Ne}-submenu > ${Ne}-submenu-title, > ${Ne}-submenu > ${Ne}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${ye/2}px - ${Gn}px)`,textOverflow:"clip",[` ${Ne}-submenu-arrow, ${Ne}-submenu-expand-icon `]:{opacity:0},[`${Ne}-item-icon, ${we}`]:{margin:0,fontSize:$t,lineHeight:`${Me}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ne}-item-icon, ${we}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ne}-item-icon, ${we}`]:{display:"none"},"a, a:hover":{color:Xe}},[`${Ne}-item-group-title`]:Object.assign(Object.assign({},Ce.vS),{paddingInline:An})}}]};const vt=zt=>{const{componentCls:Ne,motionDurationSlow:we,motionDurationMid:Me,motionEaseInOut:Xe,motionEaseOut:ct,iconCls:Bt,iconSize:un,iconMarginInlineEnd:rn}=zt;return{[`${Ne}-item, ${Ne}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${we}`,`background ${we}`,`padding ${we} ${Xe}`].join(","),[`${Ne}-item-icon, ${Bt}`]:{minWidth:un,fontSize:un,transition:[`font-size ${Me} ${ct}`,`margin ${we} ${Xe}`,`color ${we}`].join(","),"+ span":{marginInlineStart:rn,opacity:1,transition:[`opacity ${we} ${Xe}`,`margin ${we}`,`color ${we}`].join(",")}},[`${Ne}-item-icon`]:Object.assign({},(0,Ce.Ro)()),[`&${Ne}-item-only-child`]:{[`> ${Bt}, > ${Ne}-item-icon`]:{marginInlineEnd:0}}},[`${Ne}-item-disabled, ${Ne}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ne}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Zn=zt=>{const{componentCls:Ne,motionDurationSlow:we,motionEaseInOut:Me,borderRadius:Xe,menuArrowSize:ct,menuArrowOffset:Bt}=zt;return{[`${Ne}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:zt.margin,width:ct,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${we} ${Me}, opacity ${we}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:ct*.6,height:ct*.15,backgroundColor:"currentcolor",borderRadius:Xe,transition:[`background ${we} ${Me}`,`transform ${we} ${Me}`,`top ${we} ${Me}`,`color ${we} ${Me}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Bt})`},"&::after":{transform:`rotate(-45deg) translateY(${Bt})`}}}}},Rt=zt=>{const{antCls:Ne,componentCls:we,fontSize:Me,motionDurationSlow:Xe,motionDurationMid:ct,motionEaseInOut:Bt,paddingXS:un,padding:rn,colorSplit:ln,lineWidth:Gn,zIndexPopup:ye,borderRadiusLG:Ye,subMenuItemBorderRadius:An,menuArrowSize:fn,menuArrowOffset:Ue,lineType:$t,menuPanelMaskInset:Re,groupTitleLineHeight:$e,groupTitleFontSize:Pt}=zt;return[{"":{[`${we}`]:Object.assign(Object.assign({},(0,Ce.dF)()),{"&-hidden":{display:"none"}})},[`${we}-submenu-hidden`]:{display:"none"}},{[we]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ce.Wf)(zt)),(0,Ce.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Me,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Xe} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${we}-item`]:{flex:"none"}},[`${we}-item, ${we}-submenu, ${we}-submenu-title`]:{borderRadius:zt.itemBorderRadius},[`${we}-item-group-title`]:{padding:`${un}px ${rn}px`,fontSize:Pt,lineHeight:$e,transition:`all ${Xe}`},[`&-horizontal ${we}-submenu`]:{transition:[`border-color ${Xe} ${Bt}`,`background ${Xe} ${Bt}`].join(",")},[`${we}-submenu, ${we}-submenu-inline`]:{transition:[`border-color ${Xe} ${Bt}`,`background ${Xe} ${Bt}`,`padding ${ct} ${Bt}`].join(",")},[`${we}-submenu ${we}-sub`]:{cursor:"initial",transition:[`background ${Xe} ${Bt}`,`padding ${Xe} ${Bt}`].join(",")},[`${we}-title-content`]:{transition:`color ${Xe}`},[`${we}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${we}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:ln,borderStyle:$t,borderWidth:0,borderTopWidth:Gn,marginBlock:Gn,padding:0,"&-dashed":{borderStyle:"dashed"}}}),vt(zt)),{[`${we}-item-group`]:{[`${we}-item-group-list`]:{margin:0,padding:0,[`${we}-item, ${we}-submenu-title`]:{paddingInline:`${Me*2}px ${rn}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:ye,borderRadius:Ye,boxShadow:"none",transformOrigin:"0 0",[`&${we}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Re}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Re},"\n &-placement-leftTop,\n &-placement-bottomRight,\n ":{transformOrigin:"100% 0"},"\n &-placement-leftBottom,\n &-placement-topRight,\n ":{transformOrigin:"100% 100%"},"\n &-placement-rightBottom,\n &-placement-topLeft,\n ":{transformOrigin:"0 100%"},"\n &-placement-bottomLeft,\n &-placement-rightTop,\n ":{transformOrigin:"0 0"},"\n &-placement-leftTop,\n &-placement-leftBottom\n ":{paddingInlineEnd:zt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:zt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:zt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:zt.paddingXS},[`> ${we}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ye},vt(zt)),Zn(zt)),{[`${we}-item, ${we}-submenu > ${we}-submenu-title`]:{borderRadius:An},[`${we}-submenu-title::after`]:{transition:`transform ${Xe} ${Bt}`}})}}),Zn(zt)),{[`&-inline-collapsed ${we}-submenu-arrow, &-inline ${we}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Ue})`},"&::after":{transform:`rotate(45deg) translateX(-${Ue})`}},[`${we}-submenu-open${we}-submenu-inline > ${we}-submenu-title > ${we}-submenu-arrow`]:{transform:`translateY(-${fn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Ue})`},"&::before":{transform:`rotate(45deg) translateX(${Ue})`}}})},{[`${Ne}-layout-header`]:{[we]:{lineHeight:"inherit"}}}]};var Pn=(zt,Ne)=>(0,Vt.Z)("Menu",Me=>{if(Ne===!1)return[];const{colorBgElevated:Xe,colorPrimary:ct,colorTextLightSolid:Bt,controlHeightLG:un,fontSize:rn,darkItemColor:ln,darkDangerItemColor:Gn,darkItemBg:ye,darkSubMenuItemBg:Ye,darkItemSelectedColor:An,darkItemSelectedBg:fn,darkDangerItemSelectedBg:Ue,darkItemHoverBg:$t,darkGroupTitleColor:Re,darkItemHoverColor:$e,darkItemDisabledColor:Pt,darkDangerItemHoverColor:yt,darkDangerItemSelectedColor:Mt,darkDangerItemActiveBg:sn}=Me,Nn=rn/7*5,yn=(0,et.TS)(Me,{menuArrowSize:Nn,menuHorizontalHeight:un*1.15,menuArrowOffset:`${Nn*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Xe}),hn=(0,et.TS)(yn,{itemColor:ln,itemHoverColor:$e,groupTitleColor:Re,itemSelectedColor:An,itemBg:ye,popupBg:ye,subMenuItemBg:Ye,itemActiveBg:"transparent",itemSelectedBg:fn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:$t,itemDisabledColor:Pt,dangerItemColor:Gn,dangerItemHoverColor:yt,dangerItemSelectedColor:Mt,dangerItemActiveBg:sn,dangerItemSelectedBg:Ue,menuSubMenuBg:Ye,horizontalItemSelectedColor:Bt,horizontalItemSelectedBg:ct});return[Rt(yn),It(yn),Ft(yn),vn(yn,"light"),vn(hn,"dark"),Ht(yn),(0,pe.Z)(yn),(0,At.oN)(yn,"slide-up"),(0,At.oN)(yn,"slide-down"),(0,st._y)(yn,"zoom-big")]},Me=>{const{colorPrimary:Xe,colorError:ct,colorTextDisabled:Bt,colorErrorBg:un,colorText:rn,colorTextDescription:ln,colorBgContainer:Gn,colorFillAlter:ye,colorFillContent:Ye,lineWidth:An,lineWidthBold:fn,controlItemBgActive:Ue,colorBgTextHover:$t,controlHeightLG:Re,lineHeight:$e,colorBgElevated:Pt,marginXXS:yt,padding:Mt,fontSize:sn,controlHeightSM:Nn,fontSizeLG:yn,colorTextLightSolid:hn,colorErrorHover:ia}=Me,qn=new ve.C(hn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Me.zIndexPopupBase+50,radiusItem:Me.borderRadiusLG,itemBorderRadius:Me.borderRadiusLG,radiusSubMenuItem:Me.borderRadiusSM,subMenuItemBorderRadius:Me.borderRadiusSM,colorItemText:rn,itemColor:rn,colorItemTextHover:rn,itemHoverColor:rn,colorItemTextHoverHorizontal:Xe,horizontalItemHoverColor:Xe,colorGroupTitle:ln,groupTitleColor:ln,colorItemTextSelected:Xe,itemSelectedColor:Xe,colorItemTextSelectedHorizontal:Xe,horizontalItemSelectedColor:Xe,colorItemBg:Gn,itemBg:Gn,colorItemBgHover:$t,itemHoverBg:$t,colorItemBgActive:Ye,itemActiveBg:Ue,colorSubItemBg:ye,subMenuItemBg:ye,colorItemBgSelected:Ue,itemSelectedBg:Ue,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:fn,activeBarHeight:fn,colorActiveBarBorderSize:An,activeBarBorderWidth:An,colorItemTextDisabled:Bt,itemDisabledColor:Bt,colorDangerItemText:ct,dangerItemColor:ct,colorDangerItemTextHover:ct,dangerItemHoverColor:ct,colorDangerItemTextSelected:ct,dangerItemSelectedColor:ct,colorDangerItemBgActive:un,dangerItemActiveBg:un,colorDangerItemBgSelected:un,dangerItemSelectedBg:un,itemMarginInline:Me.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Re,groupTitleLineHeight:$e,collapsedWidth:Re*2,popupBg:Pt,itemMarginBlock:yt,itemPaddingInline:Mt,horizontalLineHeight:`${Re*1.15}px`,iconSize:sn,iconMarginInlineEnd:Nn-sn,collapsedIconSize:yn,groupTitleFontSize:sn,darkItemDisabledColor:new ve.C(hn).setAlpha(.25).toRgbString(),darkItemColor:qn,darkDangerItemColor:ct,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:hn,darkItemSelectedBg:Xe,darkDangerItemSelectedBg:ct,darkItemHoverBg:"transparent",darkGroupTitleColor:qn,darkItemHoverColor:hn,darkDangerItemHoverColor:ia,darkDangerItemSelectedColor:hn,darkDangerItemActiveBg:ct}},{deprecatedTokens:[["colorGroupTitle","groupTitleColor"],["radiusItem","itemBorderRadius"],["radiusSubMenuItem","subMenuItemBorderRadius"],["colorItemText","itemColor"],["colorItemTextHover","itemHoverColor"],["colorItemTextHoverHorizontal","horizontalItemHoverColor"],["colorItemTextSelected","itemSelectedColor"],["colorItemTextSelectedHorizontal","horizontalItemSelectedColor"],["colorItemTextDisabled","itemDisabledColor"],["colorDangerItemText","dangerItemColor"],["colorDangerItemTextHover","dangerItemHoverColor"],["colorDangerItemTextSelected","dangerItemSelectedColor"],["colorDangerItemBgActive","dangerItemActiveBg"],["colorDangerItemBgSelected","dangerItemSelectedBg"],["colorItemBg","itemBg"],["colorItemBgHover","itemHoverBg"],["colorSubItemBg","subMenuItemBg"],["colorItemBgActive","itemActiveBg"],["colorItemBgSelectedHorizontal","horizontalItemSelectedBg"],["colorActiveBarWidth","activeBarWidth"],["colorActiveBarHeight","activeBarHeight"],["colorActiveBarBorderSize","activeBarBorderWidth"],["colorItemBgSelected","itemSelectedBg"]]})(zt),Be=function(zt,Ne){var we={};for(var Me in zt)Object.prototype.hasOwnProperty.call(zt,Me)&&Ne.indexOf(Me)<0&&(we[Me]=zt[Me]);if(zt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Xe=0,Me=Object.getOwnPropertySymbols(zt);Xe{var we,Me;const Xe=te.useContext(le.Z),ct=Xe||{},{getPrefixCls:Bt,getPopupContainer:un,direction:rn,menu:ln}=te.useContext(Le.E_),Gn=Bt(),{prefixCls:ye,className:Ye,style:An,theme:fn="light",expandIcon:Ue,_internalDisableMenuItemTitleTooltip:$t,inlineCollapsed:Re,siderCollapsed:$e,items:Pt,children:yt,rootClassName:Mt,mode:sn,selectable:Nn,onClick:yn,overflowedIndicatorPopupClassName:hn}=zt,ia=Be(zt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),qn=(0,ze.Z)(ia,["collapsedWidth"]),Fn=Se(Pt)||yt;(we=ct.validator)===null||we===void 0||we.call(ct,{mode:sn});const Ea=(0,ae.useEvent)(function(){var Oa;yn==null||yn.apply(void 0,arguments),(Oa=ct.onClick)===null||Oa===void 0||Oa.call(ct)}),ra=ct.mode||sn,_a=Nn!=null?Nn:ct.selectable,ja=te.useMemo(()=>$e!==void 0?$e:Re,[Re,$e]),Na={horizontal:{motionName:`${Gn}-slide-up`},inline:(0,oe.Z)(Gn),other:{motionName:`${Gn}-zoom-big`}},Aa=Bt("menu",ye||ct.prefixCls),[qt,bt]=Pn(Aa,!Xe),gn=Fe()(`${Aa}-${fn}`,ln==null?void 0:ln.className,Ye);let aa;if(typeof Ue=="function")aa=Ue;else if(Ue===null||Ue===!1)aa=null;else if(ct.expandIcon===null||ct.expandIcon===!1)aa=null;else{const Oa=Ue!=null?Ue:ct.expandIcon;aa=(0,Pe.Tm)(Oa,{className:Fe()(`${Aa}-submenu-expand-icon`,(0,Pe.l$)(Oa)?(Me=Oa.props)===null||Me===void 0?void 0:Me.className:"")})}const Vn=te.useMemo(()=>({prefixCls:Aa,inlineCollapsed:ja||!1,direction:rn,firstLevel:!0,theme:fn,mode:ra,disableMenuItemTitleTooltip:$t}),[Aa,ja,rn,$t,fn]);return qt(te.createElement(le.Z.Provider,{value:null},te.createElement(y.Provider,{value:Vn},te.createElement(ee.ZP,Object.assign({getPopupContainer:un,overflowedIndicator:te.createElement(z.Z,null),overflowedIndicatorPopupClassName:Fe()(Aa,`${Aa}-${fn}`,hn),mode:ra,selectable:_a,onClick:Ea},qn,{inlineCollapsed:ja,style:Object.assign(Object.assign({},ln==null?void 0:ln.style),An),className:gn,prefixCls:Aa,direction:rn,defaultMotions:Na,expandIcon:aa,ref:Ne,rootClassName:Fe()(Mt,bt)}),Fn))))});const oa=(0,te.forwardRef)((zt,Ne)=>{const we=(0,te.useRef)(null),Me=te.useContext(be.D);return(0,te.useImperativeHandle)(Ne,()=>({menu:we.current,focus:Xe=>{var ct;(ct=we.current)===null||ct===void 0||ct.focus(Xe)}})),te.createElement(Tn,Object.assign({ref:we},zt,Me))});oa.Item=b,oa.SubMenu=x,oa.Divider=Ae,oa.ItemGroup=ee.BW;var cn=oa},28452:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return Gn}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},De=be,Fe=ne(74643),Le=function(Ye,An){return te.createElement(Fe.Z,(0,ee.Z)({},Ye,{ref:An,icon:De}))},re=te.forwardRef(Le),je=ne(81893),Ae=ne(22751),Te=ne(91034),ze=ne(94184),ke=ne.n(ze),Pe=ne(4942),se=ne(1413),y=ne(15671),a=ne(43144),b=ne(60136),E=ne(51630),x=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge charSet checked classID className colSpan cols content contentEditable contextMenu controls coords crossOrigin data dateTime default defer dir disabled download draggable encType form formAction formEncType formMethod formNoValidate formTarget frameBorder headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media mediaGroup method min minLength multiple muted name noValidate nonce open optimum pattern placeholder poster preload radioGroup readOnly rel required reversed role rowSpan rows sandbox scope scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc srcLang srcSet start step style summary tabIndex target title type useMap value width wmode wrap`,z=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ae="".concat(x," ").concat(z).split(/[\s\n]+/),oe="aria-",le="data-";function de(ye,Ye){return ye.indexOf(Ye)===0}function ce(ye){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,An;Ye===!1?An={aria:!0,data:!0,attr:!0}:Ye===!0?An={aria:!0}:An=(0,se.Z)({},Ye);var fn={};return Object.keys(ye).forEach(function(Ue){(An.aria&&(Ue==="role"||de(Ue,oe))||An.data&&de(Ue,le)||An.attr&&ae.includes(Ue))&&(fn[Ue]=ye[Ue])}),fn}var Se={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},ve=Se,Ce=ne(81626),pe=function(ye){(0,b.Z)(An,ye);var Ye=(0,E.Z)(An);function An(){var fn;(0,y.Z)(this,An);for(var Ue=arguments.length,$t=new Array(Ue),Re=0;Re=0||$e.relatedTarget.className.indexOf("".concat(sn,"-item"))>=0))&&Mt(fn.getValidValue()))},fn.go=function($e){var Pt=fn.state.goInputText;Pt!==""&&($e.keyCode===ve.ENTER||$e.type==="click")&&(fn.setState({goInputText:""}),fn.props.quickGo(fn.getValidValue()))},fn}return(0,a.Z)(An,[{key:"getPageSizeOptions",value:function(){var Ue=this.props,$t=Ue.pageSize,Re=Ue.pageSizeOptions;return Re.some(function($e){return $e.toString()===$t.toString()})?Re:Re.concat([$t.toString()]).sort(function($e,Pt){var yt=Number.isNaN(Number($e))?0:Number($e),Mt=Number.isNaN(Number(Pt))?0:Number(Pt);return yt-Mt})}},{key:"render",value:function(){var Ue=this,$t=this.props,Re=$t.pageSize,$e=$t.locale,Pt=$t.rootPrefixCls,yt=$t.changeSize,Mt=$t.quickGo,sn=$t.goButton,Nn=$t.selectComponentClass,yn=$t.buildOptionText,hn=$t.selectPrefixCls,ia=$t.disabled,qn=this.state.goInputText,Fn="".concat(Pt,"-options"),Ea=Nn,ra=null,_a=null,ja=null;if(!yt&&!Mt)return null;var Na=this.getPageSizeOptions();if(yt&&Ea){var Aa=Na.map(function(qt,bt){return te.createElement(Ea.Option,{key:bt,value:qt.toString()},(yn||Ue.buildOptionText)(qt))});ra=te.createElement(Ea,{disabled:ia,prefixCls:hn,showSearch:!1,className:"".concat(Fn,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(Re||Na[0]).toString(),onChange:this.changeSize,getPopupContainer:function(bt){return bt.parentNode},"aria-label":$e.page_size,defaultOpen:!1},Aa)}return Mt&&(sn&&(ja=typeof sn=="boolean"?te.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:ia,className:"".concat(Fn,"-quick-jumper-button")},$e.jump_to_confirm):te.createElement("span",{onClick:this.go,onKeyUp:this.go},sn)),_a=te.createElement("div",{className:"".concat(Fn,"-quick-jumper")},$e.jump_to,te.createElement("input",{disabled:ia,type:"text",value:qn,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":$e.page}),$e.page,ja)),te.createElement("li",{className:"".concat(Fn)},ra,_a)}}]),An}(te.Component);pe.defaultProps={pageSizeOptions:["10","20","50","100"]};var At=pe,st=function(Ye){var An,fn=Ye.rootPrefixCls,Ue=Ye.page,$t=Ye.active,Re=Ye.className,$e=Ye.showTitle,Pt=Ye.onClick,yt=Ye.onKeyPress,Mt=Ye.itemRender,sn="".concat(fn,"-item"),Nn=ke()(sn,"".concat(sn,"-").concat(Ue),(An={},(0,Pe.Z)(An,"".concat(sn,"-active"),$t),(0,Pe.Z)(An,"".concat(sn,"-disabled"),!Ue),(0,Pe.Z)(An,Ye.className,Re),An)),yn=function(){Pt(Ue)},hn=function(Fn){yt(Fn,Pt,Ue)},ia=Mt(Ue,"page",te.createElement("a",{rel:"nofollow"},Ue));return ia?te.createElement("li",{title:$e?Ue.toString():null,className:Nn,onClick:yn,onKeyPress:hn,tabIndex:0},ia):null},Vt=st;function et(){}function gt(ye){var Ye=Number(ye);return typeof Ye=="number"&&!Number.isNaN(Ye)&&isFinite(Ye)&&Math.floor(Ye)===Ye}var It=function(Ye,An,fn){return fn};function Zt(ye,Ye,An){var fn=typeof ye=="undefined"?Ye.pageSize:ye;return Math.floor((An.total-1)/fn)+1}var Ht=function(ye){(0,b.Z)(An,ye);var Ye=(0,E.Z)(An);function An(fn){var Ue;(0,y.Z)(this,An),Ue=Ye.call(this,fn),Ue.paginationNode=te.createRef(),Ue.getJumpPrevPage=function(){return Math.max(1,Ue.state.current-(Ue.props.showLessItems?3:5))},Ue.getJumpNextPage=function(){return Math.min(Zt(void 0,Ue.state,Ue.props),Ue.state.current+(Ue.props.showLessItems?3:5))},Ue.getItemIcon=function(yt,Mt){var sn=Ue.props.prefixCls,Nn=yt||te.createElement("button",{type:"button","aria-label":Mt,className:"".concat(sn,"-item-link")});return typeof yt=="function"&&(Nn=te.createElement(yt,(0,se.Z)({},Ue.props))),Nn},Ue.isValid=function(yt){var Mt=Ue.props.total;return gt(yt)&&yt!==Ue.state.current&>(Mt)&&Mt>0},Ue.shouldDisplayQuickJumper=function(){var yt=Ue.props,Mt=yt.showQuickJumper,sn=yt.total,Nn=Ue.state.pageSize;return sn<=Nn?!1:Mt},Ue.handleKeyDown=function(yt){(yt.keyCode===ve.ARROW_UP||yt.keyCode===ve.ARROW_DOWN)&&yt.preventDefault()},Ue.handleKeyUp=function(yt){var Mt=Ue.getValidValue(yt),sn=Ue.state.currentInputValue;Mt!==sn&&Ue.setState({currentInputValue:Mt}),yt.keyCode===ve.ENTER?Ue.handleChange(Mt):yt.keyCode===ve.ARROW_UP?Ue.handleChange(Mt-1):yt.keyCode===ve.ARROW_DOWN&&Ue.handleChange(Mt+1)},Ue.handleBlur=function(yt){var Mt=Ue.getValidValue(yt);Ue.handleChange(Mt)},Ue.changePageSize=function(yt){var Mt=Ue.state.current,sn=Zt(yt,Ue.state,Ue.props);Mt=Mt>sn?sn:Mt,sn===0&&(Mt=Ue.state.current),typeof yt=="number"&&("pageSize"in Ue.props||Ue.setState({pageSize:yt}),"current"in Ue.props||Ue.setState({current:Mt,currentInputValue:Mt})),Ue.props.onShowSizeChange(Mt,yt),"onChange"in Ue.props&&Ue.props.onChange&&Ue.props.onChange(Mt,yt)},Ue.handleChange=function(yt){var Mt=Ue.props,sn=Mt.disabled,Nn=Mt.onChange,yn=Ue.state,hn=yn.pageSize,ia=yn.current,qn=yn.currentInputValue;if(Ue.isValid(yt)&&!sn){var Fn=Zt(void 0,Ue.state,Ue.props),Ea=yt;return yt>Fn?Ea=Fn:yt<1&&(Ea=1),"current"in Ue.props||Ue.setState({current:Ea}),Ea!==qn&&Ue.setState({currentInputValue:Ea}),Nn(Ea,hn),Ea}return ia},Ue.prev=function(){Ue.hasPrev()&&Ue.handleChange(Ue.state.current-1)},Ue.next=function(){Ue.hasNext()&&Ue.handleChange(Ue.state.current+1)},Ue.jumpPrev=function(){Ue.handleChange(Ue.getJumpPrevPage())},Ue.jumpNext=function(){Ue.handleChange(Ue.getJumpNextPage())},Ue.hasPrev=function(){return Ue.state.current>1},Ue.hasNext=function(){return Ue.state.current2?sn-2:0),yn=2;yn=Re?Pt=Re:Pt=Number($t),Pt}},{key:"getShowSizeChanger",value:function(){var Ue=this.props,$t=Ue.showSizeChanger,Re=Ue.total,$e=Ue.totalBoundaryShowSizeChanger;return typeof $t!="undefined"?$t:Re>$e}},{key:"render",value:function(){var Ue=this.props,$t=Ue.prefixCls,Re=Ue.className,$e=Ue.style,Pt=Ue.disabled,yt=Ue.hideOnSinglePage,Mt=Ue.total,sn=Ue.locale,Nn=Ue.showQuickJumper,yn=Ue.showLessItems,hn=Ue.showTitle,ia=Ue.showTotal,qn=Ue.simple,Fn=Ue.itemRender,Ea=Ue.showPrevNextJumpers,ra=Ue.jumpPrevIcon,_a=Ue.jumpNextIcon,ja=Ue.selectComponentClass,Na=Ue.selectPrefixCls,Aa=Ue.pageSizeOptions,qt=this.state,bt=qt.current,gn=qt.pageSize,aa=qt.currentInputValue;if(yt===!0&&Mt<=gn)return null;var Vn=Zt(void 0,this.state,this.props),Oa=[],ao=null,$a=null,xn=null,Ze=null,ot=null,We=Nn&&Nn.goButton,Gt=yn?1:2,pn=bt-1>0?bt-1:0,Wn=bt+1Mt?Mt:bt*gn]));if(qn){We&&(typeof We=="boolean"?ot=te.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},sn.jump_to_confirm):ot=te.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},We),ot=te.createElement("li",{title:hn?"".concat(sn.jump_to).concat(bt,"/").concat(Vn):null,className:"".concat($t,"-simple-pager")},ot));var Ka=this.renderPrev(pn);return te.createElement("ul",(0,ee.Z)({className:ke()($t,"".concat($t,"-simple"),(0,Pe.Z)({},"".concat($t,"-disabled"),Pt),Re),style:$e,ref:this.paginationNode},Ia),ta,Ka?te.createElement("li",{title:hn?sn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:ke()("".concat($t,"-prev"),(0,Pe.Z)({},"".concat($t,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Ka):null,te.createElement("li",{title:hn?"".concat(bt,"/").concat(Vn):null,className:"".concat($t,"-simple-pager")},te.createElement("input",{type:"text",value:aa,disabled:Pt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),te.createElement("span",{className:"".concat($t,"-slash")},"/"),Vn),te.createElement("li",{title:hn?sn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:ke()("".concat($t,"-next"),(0,Pe.Z)({},"".concat($t,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Wn)),ot)}if(Vn<=3+Gt*2){var Xa={locale:sn,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:hn,itemRender:Fn};Vn||Oa.push(te.createElement(Vt,(0,ee.Z)({},Xa,{key:"noPager",page:1,className:"".concat($t,"-item-disabled")})));for(var co=1;co<=Vn;co+=1){var Sn=bt===co;Oa.push(te.createElement(Vt,(0,ee.Z)({},Xa,{key:co,page:co,active:Sn})))}}else{var Hn=yn?sn.prev_3:sn.prev_5,Qe=yn?sn.next_3:sn.next_5,Ot=Fn(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(ra,"prev page")),ft=Fn(this.getJumpNextPage(),"jump-next",this.getItemIcon(_a,"next page"));Ea&&(ao=Ot?te.createElement("li",{title:hn?Hn:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:ke()("".concat($t,"-jump-prev"),(0,Pe.Z)({},"".concat($t,"-jump-prev-custom-icon"),!!ra))},Ot):null,$a=ft?te.createElement("li",{title:hn?Qe:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:ke()("".concat($t,"-jump-next"),(0,Pe.Z)({},"".concat($t,"-jump-next-custom-icon"),!!_a))},ft):null),Ze=te.createElement(Vt,{locale:sn,last:!0,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Vn,page:Vn,active:!1,showTitle:hn,itemRender:Fn}),xn=te.createElement(Vt,{locale:sn,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:hn,itemRender:Fn});var Tt=Math.max(1,bt-Gt),en=Math.min(bt+Gt,Vn);bt-1<=Gt&&(en=1+Gt*2),Vn-bt<=Gt&&(Tt=Vn-Gt*2);for(var xt=Tt;xt<=en;xt+=1){var an=bt===xt;Oa.push(te.createElement(Vt,{locale:sn,rootPrefixCls:$t,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:xt,page:xt,active:an,showTitle:hn,itemRender:Fn}))}bt-1>=Gt*2&&bt!==3&&(Oa[0]=(0,te.cloneElement)(Oa[0],{className:"".concat($t,"-item-after-jump-prev")}),Oa.unshift(ao)),Vn-bt>=Gt*2&&bt!==Vn-2&&(Oa[Oa.length-1]=(0,te.cloneElement)(Oa[Oa.length-1],{className:"".concat($t,"-item-before-jump-next")}),Oa.push($a)),Tt!==1&&Oa.unshift(xn),en!==Vn&&Oa.push(Ze)}var kt=!this.hasPrev()||!Vn,Kn=!this.hasNext()||!Vn,$n=this.renderPrev(pn),ba=this.renderNext(Wn);return te.createElement("ul",(0,ee.Z)({className:ke()($t,Re,(0,Pe.Z)({},"".concat($t,"-disabled"),Pt)),style:$e,ref:this.paginationNode},Ia),ta,$n?te.createElement("li",{title:hn?sn.prev_page:null,onClick:this.prev,tabIndex:kt?null:0,onKeyPress:this.runIfEnterPrev,className:ke()("".concat($t,"-prev"),(0,Pe.Z)({},"".concat($t,"-disabled"),kt)),"aria-disabled":kt},$n):null,Oa,ba?te.createElement("li",{title:hn?sn.next_page:null,onClick:this.next,tabIndex:Kn?null:0,onKeyPress:this.runIfEnterNext,className:ke()("".concat($t,"-next"),(0,Pe.Z)({},"".concat($t,"-disabled"),Kn)),"aria-disabled":Kn},ba):null,te.createElement(At,{disabled:Pt,locale:sn,rootPrefixCls:$t,selectComponentClass:ja,selectPrefixCls:Na,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:bt,pageSize:gn,pageSizeOptions:Aa,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:We}))}}],[{key:"getDerivedStateFromProps",value:function(Ue,$t){var Re={};if("current"in Ue&&(Re.current=Ue.current,Ue.current!==$t.current&&(Re.currentInputValue=Re.current)),"pageSize"in Ue&&Ue.pageSize!==$t.pageSize){var $e=$t.current,Pt=Zt(Ue.pageSize,$t,Ue);$e=$e>Pt?Pt:$e,"current"in Ue||(Re.current=$e,Re.currentInputValue=$e),Re.pageSize=Ue.pageSize}return Re}}]),An}(te.Component);Ht.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:et,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:et,locale:Ce.Z,style:{},itemRender:It,totalBoundaryShowSizeChanger:50};var Ke=Ht,ht=ne(62906),vn=ne(53124),Nt=ne(98675),He=ne(25378),Ft=ne(10110),vt=ne(11713);const Zn=ye=>te.createElement(vt.default,Object.assign({},ye,{showSearch:!0,size:"small"})),Rt=ye=>te.createElement(vt.default,Object.assign({},ye,{showSearch:!0,size:"middle"}));Zn.Option=vt.default.Option,Rt.Option=vt.default.Option;var Pn=ne(47673),Be=ne(14747),jt=ne(67968),Tn=ne(45503);const oa=ye=>{const{componentCls:Ye}=ye;return{[`${Ye}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ye}-item-link`]:{color:ye.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ye}-item-link`]:{color:ye.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ye}-disabled`]:{cursor:"not-allowed",[`${Ye}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:ye.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:ye.colorBorder,backgroundColor:ye.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:ye.itemActiveBgDisabled},a:{color:ye.itemActiveColorDisabled}}},[`${Ye}-item-link`]:{color:ye.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ye}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ye}-simple-pager`]:{color:ye.colorTextDisabled},[`${Ye}-jump-prev, ${Ye}-jump-next`]:{[`${Ye}-item-link-icon`]:{opacity:0},[`${Ye}-item-ellipsis`]:{opacity:1}}},[`&${Ye}-simple`]:{[`${Ye}-prev, ${Ye}-next`]:{[`&${Ye}-disabled ${Ye}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},cn=ye=>{const{componentCls:Ye}=ye;return{[`&${Ye}-mini ${Ye}-total-text, &${Ye}-mini ${Ye}-simple-pager`]:{height:ye.itemSizeSM,lineHeight:`${ye.itemSizeSM}px`},[`&${Ye}-mini ${Ye}-item`]:{minWidth:ye.itemSizeSM,height:ye.itemSizeSM,margin:0,lineHeight:`${ye.itemSizeSM-2}px`},[`&${Ye}-mini:not(${Ye}-disabled) ${Ye}-item:not(${Ye}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:ye.colorBgTextHover},"&:active":{backgroundColor:ye.colorBgTextActive}},[`&${Ye}-mini ${Ye}-prev, &${Ye}-mini ${Ye}-next`]:{minWidth:ye.itemSizeSM,height:ye.itemSizeSM,margin:0,lineHeight:`${ye.itemSizeSM}px`},[`&${Ye}-mini:not(${Ye}-disabled)`]:{[`${Ye}-prev, ${Ye}-next`]:{[`&:hover ${Ye}-item-link`]:{backgroundColor:ye.colorBgTextHover},[`&:active ${Ye}-item-link`]:{backgroundColor:ye.colorBgTextActive},[`&${Ye}-disabled:hover ${Ye}-item-link`]:{backgroundColor:"transparent"}}},[` &${Ye}-mini ${Ye}-prev ${Ye}-item-link, &${Ye}-mini ${Ye}-next ${Ye}-item-link `]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:ye.itemSizeSM,lineHeight:`${ye.itemSizeSM}px`}},[`&${Ye}-mini ${Ye}-jump-prev, &${Ye}-mini ${Ye}-jump-next`]:{height:ye.itemSizeSM,marginInlineEnd:0,lineHeight:`${ye.itemSizeSM}px`},[`&${Ye}-mini ${Ye}-options`]:{marginInlineStart:ye.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:ye.miniOptionsSizeChangerTop},"&-quick-jumper":{height:ye.itemSizeSM,lineHeight:`${ye.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,Pn.x0)(ye)),{width:ye.paginationMiniQuickJumperInputWidth,height:ye.controlHeightSM})}}}},zt=ye=>{const{componentCls:Ye}=ye;return{[` &${Ye}-simple ${Ye}-prev, &${Ye}-simple ${Ye}-next `]:{height:ye.itemSizeSM,lineHeight:`${ye.itemSizeSM}px`,verticalAlign:"top",[`${Ye}-item-link`]:{height:ye.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:ye.colorBgTextHover},"&:active":{backgroundColor:ye.colorBgTextActive},"&::after":{height:ye.itemSizeSM,lineHeight:`${ye.itemSizeSM}px`}}},[`&${Ye}-simple ${Ye}-simple-pager`]:{display:"inline-block",height:ye.itemSizeSM,marginInlineEnd:ye.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:ye.marginXS,padding:`0 ${ye.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:ye.itemInputBg,border:`${ye.lineWidth}px ${ye.lineType} ${ye.colorBorder}`,borderRadius:ye.borderRadius,outline:"none",transition:`border-color ${ye.motionDurationMid}`,color:"inherit","&:hover":{borderColor:ye.colorPrimary},"&:focus":{borderColor:ye.colorPrimaryHover,boxShadow:`${ye.inputOutlineOffset}px 0 ${ye.controlOutlineWidth}px ${ye.controlOutline}`},"&[disabled]":{color:ye.colorTextDisabled,backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,cursor:"not-allowed"}}}}},Ne=ye=>{const{componentCls:Ye}=ye;return{[`${Ye}-jump-prev, ${Ye}-jump-next`]:{outline:0,[`${Ye}-item-container`]:{position:"relative",[`${Ye}-item-link-icon`]:{color:ye.colorPrimary,fontSize:ye.fontSizeSM,opacity:0,transition:`all ${ye.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ye}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:ye.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:ye.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:ye.paginationEllipsisTextIndent,opacity:1,transition:`all ${ye.motionDurationMid}`}},"&:hover":{[`${Ye}-item-link-icon`]:{opacity:1},[`${Ye}-item-ellipsis`]:{opacity:0}}},[` ${Ye}-prev, ${Ye}-jump-prev, ${Ye}-jump-next `]:{marginInlineEnd:ye.marginXS},[` ${Ye}-prev, ${Ye}-next, ${Ye}-jump-prev, ${Ye}-jump-next `]:{display:"inline-block",minWidth:ye.itemSize,height:ye.itemSize,color:ye.colorText,fontFamily:ye.fontFamily,lineHeight:`${ye.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:ye.borderRadius,cursor:"pointer",transition:`all ${ye.motionDurationMid}`},[`${Ye}-prev, ${Ye}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:ye.colorText,cursor:"pointer",userSelect:"none"},[`${Ye}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:ye.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${ye.lineWidth}px ${ye.lineType} transparent`,borderRadius:ye.borderRadius,outline:"none",transition:`all ${ye.motionDurationMid}`},[`&:hover ${Ye}-item-link`]:{backgroundColor:ye.colorBgTextHover},[`&:active ${Ye}-item-link`]:{backgroundColor:ye.colorBgTextActive},[`&${Ye}-disabled:hover`]:{[`${Ye}-item-link`]:{backgroundColor:"transparent"}}},[`${Ye}-slash`]:{marginInlineEnd:ye.paginationSlashMarginInlineEnd,marginInlineStart:ye.paginationSlashMarginInlineStart},[`${Ye}-options`]:{display:"inline-block",marginInlineStart:ye.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:ye.controlHeight,marginInlineStart:ye.marginXS,lineHeight:`${ye.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,Pn.ik)(ye)),{width:ye.controlHeightLG*1.25,height:ye.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:ye.marginXS,marginInlineEnd:ye.marginXS})}}}},we=ye=>{const{componentCls:Ye}=ye;return{[`${Ye}-item`]:{display:"inline-block",minWidth:ye.itemSize,height:ye.itemSize,marginInlineEnd:ye.marginXS,fontFamily:ye.fontFamily,lineHeight:`${ye.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${ye.lineWidth}px ${ye.lineType} transparent`,borderRadius:ye.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${ye.paginationItemPaddingInline}px`,color:ye.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ye}-item-active)`]:{"&:hover":{transition:`all ${ye.motionDurationMid}`,backgroundColor:ye.colorBgTextHover},"&:active":{backgroundColor:ye.colorBgTextActive}},"&-active":{fontWeight:ye.fontWeightStrong,backgroundColor:ye.itemActiveBg,borderColor:ye.colorPrimary,a:{color:ye.colorPrimary},"&:hover":{borderColor:ye.colorPrimaryHover},"&:hover a":{color:ye.colorPrimaryHover}}}}},Me=ye=>{const{componentCls:Ye}=ye;return{[Ye]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Be.Wf)(ye)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ye}-total-text`]:{display:"inline-block",height:ye.itemSize,marginInlineEnd:ye.marginXS,lineHeight:`${ye.itemSize-2}px`,verticalAlign:"middle"}}),we(ye)),Ne(ye)),zt(ye)),cn(ye)),oa(ye)),{[`@media only screen and (max-width: ${ye.screenLG}px)`]:{[`${Ye}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${ye.screenSM}px)`]:{[`${Ye}-options`]:{display:"none"}}}),[`&${ye.componentCls}-rtl`]:{direction:"rtl"}}},Xe=ye=>{const{componentCls:Ye}=ye;return{[`${Ye}${Ye}-disabled:not(${Ye}-mini)`]:{"&, &:hover":{[`${Ye}-item-link`]:{borderColor:ye.colorBorder}},"&:focus-visible":{[`${Ye}-item-link`]:{borderColor:ye.colorBorder}},[`${Ye}-item, ${Ye}-item-link`]:{backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,[`&:hover:not(${Ye}-item-active)`]:{backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,a:{color:ye.colorTextDisabled}},[`&${Ye}-item-active`]:{backgroundColor:ye.itemActiveBgDisabled}},[`${Ye}-prev, ${Ye}-next`]:{"&:hover button":{backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder,color:ye.colorTextDisabled},[`${Ye}-item-link`]:{backgroundColor:ye.colorBgContainerDisabled,borderColor:ye.colorBorder}}},[`${Ye}:not(${Ye}-mini)`]:{[`${Ye}-prev, ${Ye}-next`]:{"&:hover button":{borderColor:ye.colorPrimaryHover,backgroundColor:ye.itemBg},[`${Ye}-item-link`]:{backgroundColor:ye.itemLinkBg,borderColor:ye.colorBorder},[`&:hover ${Ye}-item-link`]:{borderColor:ye.colorPrimary,backgroundColor:ye.itemBg,color:ye.colorPrimary},[`&${Ye}-disabled`]:{[`${Ye}-item-link`]:{borderColor:ye.colorBorder,color:ye.colorTextDisabled}}},[`${Ye}-item`]:{backgroundColor:ye.itemBg,border:`${ye.lineWidth}px ${ye.lineType} ${ye.colorBorder}`,[`&:hover:not(${Ye}-item-active)`]:{borderColor:ye.colorPrimary,backgroundColor:ye.itemBg,a:{color:ye.colorPrimary}},"&-active":{borderColor:ye.colorPrimary}}}}},ct=ye=>{const{componentCls:Ye}=ye;return{[`${Ye}:not(${Ye}-disabled)`]:{[`${Ye}-item`]:Object.assign({},(0,Be.Qy)(ye)),[`${Ye}-jump-prev, ${Ye}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ye}-item-link-icon`]:{opacity:1},[`${Ye}-item-ellipsis`]:{opacity:0}},(0,Be.oN)(ye))},[`${Ye}-prev, ${Ye}-next`]:{[`&:focus-visible ${Ye}-item-link`]:Object.assign({},(0,Be.oN)(ye))}}}};var Bt=(0,jt.Z)("Pagination",ye=>{const Ye=(0,Tn.TS)(ye,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:ye.marginXXS/2,paginationMiniQuickJumperInputWidth:ye.controlHeightLG*1.1,paginationItemPaddingInline:ye.marginXXS*1.5,paginationEllipsisLetterSpacing:ye.marginXXS/2,paginationSlashMarginInlineStart:ye.marginXXS,paginationSlashMarginInlineEnd:ye.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,Pn.e5)(ye),(0,Pn.TM)(ye));return[Me(Ye),ct(Ye),ye.wireframe&&Xe(Ye)]},ye=>({itemBg:ye.colorBgContainer,itemSize:ye.controlHeight,itemSizeSM:ye.controlHeightSM,itemActiveBg:ye.colorBgContainer,itemLinkBg:ye.colorBgContainer,itemActiveColorDisabled:ye.colorTextDisabled,itemActiveBgDisabled:ye.controlItemBgActiveDisabled,itemInputBg:ye.colorBgContainer,miniOptionsSizeChangerTop:0})),un=function(ye,Ye){var An={};for(var fn in ye)Object.prototype.hasOwnProperty.call(ye,fn)&&Ye.indexOf(fn)<0&&(An[fn]=ye[fn]);if(ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,fn=Object.getOwnPropertySymbols(ye);Ue{const{prefixCls:Ye,selectPrefixCls:An,className:fn,rootClassName:Ue,style:$t,size:Re,locale:$e,selectComponentClass:Pt,responsive:yt,showSizeChanger:Mt}=ye,sn=un(ye,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Nn}=(0,He.Z)(yt),{getPrefixCls:yn,direction:hn,pagination:ia={}}=te.useContext(vn.E_),qn=yn("pagination",Ye),[Fn,Ea]=Bt(qn),ra=Mt!=null?Mt:ia.showSizeChanger,_a=te.useMemo(()=>{const Vn=te.createElement("span",{className:`${qn}-item-ellipsis`},"\u2022\u2022\u2022"),Oa=te.createElement("button",{className:`${qn}-item-link`,type:"button",tabIndex:-1},hn==="rtl"?te.createElement(Te.Z,null):te.createElement(Ae.Z,null)),ao=te.createElement("button",{className:`${qn}-item-link`,type:"button",tabIndex:-1},hn==="rtl"?te.createElement(Ae.Z,null):te.createElement(Te.Z,null)),$a=te.createElement("a",{className:`${qn}-item-link`},te.createElement("div",{className:`${qn}-item-container`},hn==="rtl"?te.createElement(je.Z,{className:`${qn}-item-link-icon`}):te.createElement(re,{className:`${qn}-item-link-icon`}),Vn)),xn=te.createElement("a",{className:`${qn}-item-link`},te.createElement("div",{className:`${qn}-item-container`},hn==="rtl"?te.createElement(re,{className:`${qn}-item-link-icon`}):te.createElement(je.Z,{className:`${qn}-item-link-icon`}),Vn));return{prevIcon:Oa,nextIcon:ao,jumpPrevIcon:$a,jumpNextIcon:xn}},[hn,qn]),[ja]=(0,Ft.Z)("Pagination",ht.Z),Na=Object.assign(Object.assign({},ja),$e),Aa=(0,Nt.Z)(Re),qt=Aa==="small"||!!(Nn&&!Aa&&yt),bt=yn("select",An),gn=ke()({[`${qn}-mini`]:qt,[`${qn}-rtl`]:hn==="rtl"},ia==null?void 0:ia.className,fn,Ue,Ea),aa=Object.assign(Object.assign({},ia==null?void 0:ia.style),$t);return Fn(te.createElement(Ke,Object.assign({},_a,sn,{style:aa,prefixCls:qn,selectPrefixCls:bt,className:gn,selectComponentClass:Pt||(qt?Zn:Rt),locale:Na,showSizeChanger:ra})))},Gn=ln},66330:function(Ve,mt,ne){"use strict";ne.d(mt,{t5:function(){return Te}});var ee=ne(94184),te=ne.n(ee),be=ne(92419),De=ne(67294),Fe=ne(53124),Le=ne(81643),re=ne(20136),je=function(ke,Pe){var se={};for(var y in ke)Object.prototype.hasOwnProperty.call(ke,y)&&Pe.indexOf(y)<0&&(se[y]=ke[y]);if(ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,y=Object.getOwnPropertySymbols(ke);a{if(!(!Pe&&!se))return De.createElement(De.Fragment,null,Pe&&De.createElement("div",{className:`${ke}-title`},(0,Le.Z)(Pe)),De.createElement("div",{className:`${ke}-inner-content`},(0,Le.Z)(se)))},Te=ke=>{const{hashId:Pe,prefixCls:se,className:y,style:a,placement:b="top",title:E,content:x,children:z}=ke;return De.createElement("div",{className:te()(Pe,se,`${se}-pure`,`${se}-placement-${b}`,y),style:a},De.createElement("div",{className:`${se}-arrow`}),De.createElement(be.G,Object.assign({},ke,{className:Pe,prefixCls:se}),z||Ae(se,E,x)))},ze=ke=>{const{prefixCls:Pe}=ke,se=je(ke,["prefixCls"]),{getPrefixCls:y}=De.useContext(Fe.E_),a=y("popover",Pe),[b,E]=(0,re.Z)(a);return b(De.createElement(Te,Object.assign({},se,{prefixCls:a,hashId:E})))};mt.ZP=ze},55241:function(Ve,mt,ne){"use strict";var ee=ne(94184),te=ne.n(ee),be=ne(67294),De=ne(81643),Fe=ne(33603),Le=ne(53124),re=ne(83062),je=ne(66330),Ae=ne(20136),Te=function(Pe,se){var y={};for(var a in Pe)Object.prototype.hasOwnProperty.call(Pe,a)&&se.indexOf(a)<0&&(y[a]=Pe[a]);if(Pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var b=0,a=Object.getOwnPropertySymbols(Pe);b{let{title:se,content:y,prefixCls:a}=Pe;return be.createElement(be.Fragment,null,se&&be.createElement("div",{className:`${a}-title`},(0,De.Z)(se)),be.createElement("div",{className:`${a}-inner-content`},(0,De.Z)(y)))},ke=be.forwardRef((Pe,se)=>{const{prefixCls:y,title:a,content:b,overlayClassName:E,placement:x="top",trigger:z="hover",mouseEnterDelay:ae=.1,mouseLeaveDelay:oe=.1,overlayStyle:le={}}=Pe,de=Te(Pe,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:ce}=be.useContext(Le.E_),Se=ce("popover",y),[ve,Ce]=(0,Ae.Z)(Se),pe=ce(),At=te()(E,Ce);return ve(be.createElement(re.Z,Object.assign({placement:x,trigger:z,mouseEnterDelay:ae,mouseLeaveDelay:oe,overlayStyle:le},de,{prefixCls:Se,overlayClassName:At,ref:se,overlay:a||b?be.createElement(ze,{prefixCls:Se,title:a,content:b}):null,transitionName:(0,Fe.m)(pe,"zoom-big",de.transitionName),"data-popover-inject":!0})))});ke._InternalPanelDoNotUseOrYouWillBeFired=je.ZP,mt.Z=ke},20136:function(Ve,mt,ne){"use strict";var ee=ne(14747),te=ne(50438),be=ne(97414),De=ne(8796),Fe=ne(67968),Le=ne(45503);const re=Te=>{const{componentCls:ze,popoverColor:ke,minWidth:Pe,fontWeightStrong:se,popoverPadding:y,boxShadowSecondary:a,colorTextHeading:b,borderRadiusLG:E,zIndexPopup:x,marginXS:z,colorBgElevated:ae,popoverBg:oe}=Te;return[{[ze]:Object.assign(Object.assign({},(0,ee.Wf)(Te)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:x,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ae,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${ze}-content`]:{position:"relative"},[`${ze}-inner`]:{backgroundColor:oe,backgroundClip:"padding-box",borderRadius:E,boxShadow:a,padding:y},[`${ze}-title`]:{minWidth:Pe,marginBottom:z,color:b,fontWeight:se},[`${ze}-inner-content`]:{color:ke}})},(0,be.ZP)(Te,{colorBg:"var(--antd-arrow-background-color)"}),{[`${ze}-pure`]:{position:"relative",maxWidth:"none",margin:Te.sizePopupArrow,display:"inline-block",[`${ze}-content`]:{display:"inline-block"}}}]},je=Te=>{const{componentCls:ze}=Te;return{[ze]:De.i.map(ke=>{const Pe=Te[`${ke}6`];return{[`&${ze}-${ke}`]:{"--antd-arrow-background-color":Pe,[`${ze}-inner`]:{backgroundColor:Pe},[`${ze}-arrow`]:{background:"transparent"}}}})}},Ae=Te=>{const{componentCls:ze,lineWidth:ke,lineType:Pe,colorSplit:se,paddingSM:y,controlHeight:a,fontSize:b,lineHeight:E,padding:x}=Te,z=a-Math.round(b*E),ae=z/2,oe=z/2-ke,le=x;return{[ze]:{[`${ze}-inner`]:{padding:0},[`${ze}-title`]:{margin:0,padding:`${ae}px ${le}px ${oe}px`,borderBottom:`${ke}px ${Pe} ${se}`},[`${ze}-inner-content`]:{padding:`${y}px ${le}px`}}}};mt.Z=(0,Fe.Z)("Popover",Te=>{const{colorBgElevated:ze,colorText:ke,wireframe:Pe}=Te,se=(0,Le.TS)(Te,{popoverPadding:12,popoverBg:ze,popoverColor:ke});return[re(se),je(se),Pe&&Ae(se),(0,te._y)(se,"zoom-big")]},Te=>({width:177,minWidth:177,zIndexPopup:Te.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return $t}});var ee=ne(67294),te=ne(87725),be=ne(18299),De=ne(16646),Fe=ne(73475),Le=ne(94184),re=ne.n(Le),je=ne(10366),Ae=ne(53124),Te=ne(87462),ze=ne(1413),ke=ne(45987),Pe={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},se=function(){var $e=(0,ee.useRef)([]),Pt=(0,ee.useRef)(null);return(0,ee.useEffect)(function(){var yt=Date.now(),Mt=!1;$e.current.forEach(function(sn){if(sn){Mt=!0;var Nn=sn.style;Nn.transitionDuration=".3s, .3s, .3s, .06s",Pt.current&&yt-Pt.current<100&&(Nn.transitionDuration="0s, 0s")}}),Mt&&(Pt.current=Date.now())}),$e.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function($e){var Pt=(0,ze.Z)((0,ze.Z)({},Pe),$e),yt=Pt.className,Mt=Pt.percent,sn=Pt.prefixCls,Nn=Pt.strokeColor,yn=Pt.strokeLinecap,hn=Pt.strokeWidth,ia=Pt.style,qn=Pt.trailColor,Fn=Pt.trailWidth,Ea=Pt.transition,ra=(0,ke.Z)(Pt,y);delete ra.gapPosition;var _a=Array.isArray(Mt)?Mt:[Mt],ja=Array.isArray(Nn)?Nn:[Nn],Na=se(),Aa=hn/2,qt=100-hn/2,bt="M ".concat(yn==="round"?Aa:0,",").concat(Aa,` L `).concat(yn==="round"?qt:100,",").concat(Aa),gn="0 0 100 ".concat(hn),aa=0;return ee.createElement("svg",(0,Te.Z)({className:re()("".concat(sn,"-line"),yt),viewBox:gn,preserveAspectRatio:"none",style:ia},ra),ee.createElement("path",{className:"".concat(sn,"-line-trail"),d:bt,strokeLinecap:yn,stroke:qn,strokeWidth:Fn||hn,fillOpacity:"0"}),_a.map(function(Vn,Oa){var ao=1;switch(yn){case"round":ao=1-hn/100;break;case"square":ao=1-hn/2/100;break;default:ao=1;break}var $a={strokeDasharray:"".concat(Vn*ao,"px, 100px"),strokeDashoffset:"-".concat(aa,"px"),transition:Ea||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},xn=ja[Oa]||ja[ja.length-1];return aa+=Vn,ee.createElement("path",{key:Oa,className:"".concat(sn,"-line-path"),d:bt,strokeLinecap:yn,stroke:xn,strokeWidth:hn,fillOpacity:"0",ref:function(ot){Na[Oa]=ot},style:$a})}))},b=a,E=ne(71002),x=ne(97685),z=ne(98924),ae=0,oe=(0,z.Z)();function le(){var Re;return oe?(Re=ae,ae+=1):Re="TEST_OR_SSR",Re}var de=function(Re){var $e=ee.useState(),Pt=(0,x.Z)($e,2),yt=Pt[0],Mt=Pt[1];return ee.useEffect(function(){Mt("rc_progress_".concat(le()))},[]),Re||yt},ce=function($e){var Pt=$e.bg,yt=$e.children;return ee.createElement("div",{style:{width:"100%",height:"100%",background:Pt}},yt)};function Se(Re,$e){return Object.keys(Re).map(function(Pt){var yt=parseFloat(Pt),Mt="".concat(Math.floor(yt*$e),"%");return"".concat(Re[Pt]," ").concat(Mt)})}var ve=ee.forwardRef(function(Re,$e){var Pt=Re.prefixCls,yt=Re.color,Mt=Re.gradientId,sn=Re.radius,Nn=Re.style,yn=Re.ptg,hn=Re.strokeLinecap,ia=Re.strokeWidth,qn=Re.size,Fn=Re.gapDegree,Ea=yt&&(0,E.Z)(yt)==="object",ra=Ea?"#FFF":void 0,_a=qn/2,ja=ee.createElement("circle",{className:"".concat(Pt,"-circle-path"),r:sn,cx:_a,cy:_a,stroke:ra,strokeLinecap:hn,strokeWidth:ia,opacity:yn===0?0:1,style:Nn,ref:$e});if(!Ea)return ja;var Na="".concat(Mt,"-conic"),Aa=Fn?"".concat(180+Fn/2,"deg"):"0deg",qt=Se(yt,(360-Fn)/360),bt=Se(yt,1),gn="conic-gradient(from ".concat(Aa,", ").concat(qt.join(", "),")"),aa="linear-gradient(to ".concat(Fn?"bottom":"top",", ").concat(bt.join(", "),")");return ee.createElement(ee.Fragment,null,ee.createElement("mask",{id:Na},ja),ee.createElement("foreignObject",{x:0,y:0,width:qn,height:qn,mask:"url(#".concat(Na,")")},ee.createElement(ce,{bg:aa},ee.createElement(ce,{bg:gn}))))}),Ce=ve,pe=100,At=function($e,Pt,yt,Mt,sn,Nn,yn,hn,ia,qn){var Fn=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Ea=yt/100*360*((360-Nn)/360),ra=Nn===0?0:{bottom:0,top:180,left:90,right:-90}[yn],_a=(100-Mt)/100*Pt;ia==="round"&&Mt!==100&&(_a+=qn/2,_a>=Pt&&(_a=Pt-.01));var ja=pe/2;return{stroke:typeof hn=="string"?hn:void 0,strokeDasharray:"".concat(Pt,"px ").concat($e),strokeDashoffset:_a+Fn,transform:"rotate(".concat(sn+Ea+ra,"deg)"),transformOrigin:"".concat(ja,"px ").concat(ja,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},st=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Vt(Re){var $e=Re!=null?Re:[];return Array.isArray($e)?$e:[$e]}var et=function($e){var Pt=(0,ze.Z)((0,ze.Z)({},Pe),$e),yt=Pt.id,Mt=Pt.prefixCls,sn=Pt.steps,Nn=Pt.strokeWidth,yn=Pt.trailWidth,hn=Pt.gapDegree,ia=hn===void 0?0:hn,qn=Pt.gapPosition,Fn=Pt.trailColor,Ea=Pt.strokeLinecap,ra=Pt.style,_a=Pt.className,ja=Pt.strokeColor,Na=Pt.percent,Aa=(0,ke.Z)(Pt,st),qt=pe/2,bt=de(yt),gn="".concat(bt,"-gradient"),aa=qt-Nn/2,Vn=Math.PI*2*aa,Oa=ia>0?90+ia/2:-90,ao=Vn*((360-ia)/360),$a=(0,E.Z)(sn)==="object"?sn:{count:sn,space:2},xn=$a.count,Ze=$a.space,ot=Vt(Na),We=Vt(ja),Gt=We.find(function(co){return co&&(0,E.Z)(co)==="object"}),pn=Gt&&(0,E.Z)(Gt)==="object",Wn=pn?"butt":Ea,Ia=At(Vn,ao,0,100,Oa,ia,qn,Fn,Wn,Nn),ta=se(),Ka=function(){var Sn=0;return ot.map(function(Hn,Qe){var Ot=We[Qe]||We[We.length-1],ft=At(Vn,ao,Sn,Hn,Oa,ia,qn,Ot,Wn,Nn);return Sn+=Hn,ee.createElement(Ce,{key:Qe,color:Ot,ptg:Hn,radius:aa,prefixCls:Mt,gradientId:gn,style:ft,strokeLinecap:Wn,strokeWidth:Nn,gapDegree:ia,ref:function(en){ta[Qe]=en},size:pe})}).reverse()},Xa=function(){var Sn=Math.round(xn*(ot[0]/100)),Hn=100/xn,Qe=0;return new Array(xn).fill(null).map(function(Ot,ft){var Tt=ft<=Sn-1?We[0]:Fn,en=Tt&&(0,E.Z)(Tt)==="object"?"url(#".concat(gn,")"):void 0,xt=At(Vn,ao,Qe,Hn,Oa,ia,qn,Tt,"butt",Nn,Ze);return Qe+=(ao-xt.strokeDashoffset+Ze)*100/ao,ee.createElement("circle",{key:ft,className:"".concat(Mt,"-circle-path"),r:aa,cx:qt,cy:qt,stroke:en,strokeWidth:Nn,opacity:1,style:xt,ref:function(kt){ta[ft]=kt}})})};return ee.createElement("svg",(0,Te.Z)({className:re()("".concat(Mt,"-circle"),_a),viewBox:"0 0 ".concat(pe," ").concat(pe),style:ra,id:yt,role:"presentation"},Aa),!xn&&ee.createElement("circle",{className:"".concat(Mt,"-circle-trail"),r:aa,cx:qt,cy:qt,stroke:Fn,strokeLinecap:Wn,strokeWidth:yn||Nn,style:Ia}),xn?Xa():Ka())},gt=et,It={Line:b,Circle:gt},Zt=ne(83062),Ht=ne(47448);function Ke(Re){return!Re||Re<0?0:Re>100?100:Re}function ht(Re){let{success:$e,successPercent:Pt}=Re,yt=Pt;return $e&&"progress"in $e&&(yt=$e.progress),$e&&"percent"in $e&&(yt=$e.percent),yt}const vn=Re=>{let{percent:$e,success:Pt,successPercent:yt}=Re;const Mt=Ke(ht({success:Pt,successPercent:yt}));return[Mt,Ke(Ke($e)-Mt)]},Nt=Re=>{let{success:$e={},strokeColor:Pt}=Re;const{strokeColor:yt}=$e;return[yt||Ht.presetPrimaryColors.green,Pt||null]},He=(Re,$e,Pt)=>{var yt,Mt,sn,Nn;let yn=-1,hn=-1;if($e==="step"){const ia=Pt.steps,qn=Pt.strokeWidth;typeof Re=="string"||typeof Re=="undefined"?(yn=Re==="small"?2:14,hn=qn!=null?qn:8):typeof Re=="number"?[yn,hn]=[Re,Re]:[yn=14,hn=8]=Re,yn*=ia}else if($e==="line"){const ia=Pt==null?void 0:Pt.strokeWidth;typeof Re=="string"||typeof Re=="undefined"?hn=ia||(Re==="small"?6:8):typeof Re=="number"?[yn,hn]=[Re,Re]:[yn=-1,hn=8]=Re}else($e==="circle"||$e==="dashboard")&&(typeof Re=="string"||typeof Re=="undefined"?[yn,hn]=Re==="small"?[60,60]:[120,120]:typeof Re=="number"?[yn,hn]=[Re,Re]:(yn=(Mt=(yt=Re[0])!==null&&yt!==void 0?yt:Re[1])!==null&&Mt!==void 0?Mt:120,hn=(Nn=(sn=Re[0])!==null&&sn!==void 0?sn:Re[1])!==null&&Nn!==void 0?Nn:120));return[yn,hn]},Ft=3,vt=Re=>Ft/Re*100;var Rt=Re=>{const{prefixCls:$e,trailColor:Pt=null,strokeLinecap:yt="round",gapPosition:Mt,gapDegree:sn,width:Nn=120,type:yn,children:hn,success:ia,size:qn=Nn}=Re,[Fn,Ea]=He(qn,"circle");let{strokeWidth:ra}=Re;ra===void 0&&(ra=Math.max(vt(Fn),6));const _a={width:Fn,height:Ea,fontSize:Fn*.15+6},ja=ee.useMemo(()=>{if(sn||sn===0)return sn;if(yn==="dashboard")return 75},[sn,yn]),Na=Mt||yn==="dashboard"&&"bottom"||void 0,Aa=Object.prototype.toString.call(Re.strokeColor)==="[object Object]",qt=Nt({success:ia,strokeColor:Re.strokeColor}),bt=re()(`${$e}-inner`,{[`${$e}-circle-gradient`]:Aa}),gn=ee.createElement(gt,{percent:vn(Re),strokeWidth:ra,trailWidth:ra,strokeColor:qt,strokeLinecap:yt,trailColor:Pt,prefixCls:$e,gapDegree:ja,gapPosition:Na});return ee.createElement("div",{className:bt,style:_a},Fn<=20?ee.createElement(Zt.Z,{title:hn},ee.createElement("span",null,gn)):ee.createElement(ee.Fragment,null,gn,hn))},Pn=function(Re,$e){var Pt={};for(var yt in Re)Object.prototype.hasOwnProperty.call(Re,yt)&&$e.indexOf(yt)<0&&(Pt[yt]=Re[yt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,yt=Object.getOwnPropertySymbols(Re);Mt{let $e=[];return Object.keys(Re).forEach(Pt=>{const yt=parseFloat(Pt.replace(/%/g,""));isNaN(yt)||$e.push({key:yt,value:Re[Pt]})}),$e=$e.sort((Pt,yt)=>Pt.key-yt.key),$e.map(Pt=>{let{key:yt,value:Mt}=Pt;return`${Mt} ${yt}%`}).join(", ")},jt=(Re,$e)=>{const{from:Pt=Ht.presetPrimaryColors.blue,to:yt=Ht.presetPrimaryColors.blue,direction:Mt=$e==="rtl"?"to left":"to right"}=Re,sn=Pn(Re,["from","to","direction"]);if(Object.keys(sn).length!==0){const Nn=Be(sn);return{backgroundImage:`linear-gradient(${Mt}, ${Nn})`}}return{backgroundImage:`linear-gradient(${Mt}, ${Pt}, ${yt})`}};var oa=Re=>{const{prefixCls:$e,direction:Pt,percent:yt,size:Mt,strokeWidth:sn,strokeColor:Nn,strokeLinecap:yn="round",children:hn,trailColor:ia=null,success:qn}=Re,Fn=Nn&&typeof Nn!="string"?jt(Nn,Pt):{backgroundColor:Nn},Ea=yn==="square"||yn==="butt"?0:void 0,ra={backgroundColor:ia||void 0,borderRadius:Ea},_a=Mt!=null?Mt:[-1,sn||(Mt==="small"?6:8)],[ja,Na]=He(_a,"line",{strokeWidth:sn}),Aa=Object.assign({width:`${Ke(yt)}%`,height:Na,borderRadius:Ea},Fn),qt=ht(Re),bt={width:`${Ke(qt)}%`,height:Na,borderRadius:Ea,backgroundColor:qn==null?void 0:qn.strokeColor},gn={width:ja<0?"100%":ja,height:Na};return ee.createElement(ee.Fragment,null,ee.createElement("div",{className:`${$e}-outer`,style:gn},ee.createElement("div",{className:`${$e}-inner`,style:ra},ee.createElement("div",{className:`${$e}-bg`,style:Aa}),qt!==void 0?ee.createElement("div",{className:`${$e}-success-bg`,style:bt}):null)),hn)},zt=Re=>{const{size:$e,steps:Pt,percent:yt=0,strokeWidth:Mt=8,strokeColor:sn,trailColor:Nn=null,prefixCls:yn,children:hn}=Re,ia=Math.round(Pt*(yt/100)),qn=$e==="small"?2:14,Fn=$e!=null?$e:[qn,Mt],[Ea,ra]=He(Fn,"step",{steps:Pt,strokeWidth:Mt}),_a=Ea/Pt,ja=new Array(Pt);for(let Na=0;Na{const $e=Re?"100%":"-100%";return new Ne.Keyframes(`antProgress${Re?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${$e}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${$e}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Bt=Re=>{const{componentCls:$e,iconCls:Pt}=Re;return{[$e]:Object.assign(Object.assign({},(0,we.Wf)(Re)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:Re.fontSize,marginInlineEnd:Re.marginXS,marginBottom:Re.marginXS},[`${$e}-outer`]:{display:"inline-block",width:"100%"},[`&${$e}-show-info`]:{[`${$e}-outer`]:{marginInlineEnd:`calc(-2em - ${Re.marginXS}px)`,paddingInlineEnd:`calc(2em + ${Re.paddingXS}px)`}},[`${$e}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:Re.remainingColor,borderRadius:Re.lineBorderRadius},[`${$e}-inner:not(${$e}-circle-gradient)`]:{[`${$e}-circle-path`]:{stroke:Re.defaultColor}},[`${$e}-success-bg, ${$e}-bg`]:{position:"relative",backgroundColor:Re.defaultColor,borderRadius:Re.lineBorderRadius,transition:`all ${Re.motionDurationSlow} ${Re.motionEaseInOutCirc}`},[`${$e}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:Re.colorSuccess},[`${$e}-text`]:{display:"inline-block",width:"2em",marginInlineStart:Re.marginXS,color:Re.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Pt]:{fontSize:Re.fontSize}},[`&${$e}-status-active`]:{[`${$e}-bg::before`]:{position:"absolute",inset:0,backgroundColor:Re.colorBgContainer,borderRadius:Re.lineBorderRadius,opacity:0,animationName:ct(),animationDuration:Re.progressActiveMotionDuration,animationTimingFunction:Re.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${$e}-rtl${$e}-status-active`]:{[`${$e}-bg::before`]:{animationName:ct(!0)}},[`&${$e}-status-exception`]:{[`${$e}-bg`]:{backgroundColor:Re.colorError},[`${$e}-text`]:{color:Re.colorError}},[`&${$e}-status-exception ${$e}-inner:not(${$e}-circle-gradient)`]:{[`${$e}-circle-path`]:{stroke:Re.colorError}},[`&${$e}-status-success`]:{[`${$e}-bg`]:{backgroundColor:Re.colorSuccess},[`${$e}-text`]:{color:Re.colorSuccess}},[`&${$e}-status-success ${$e}-inner:not(${$e}-circle-gradient)`]:{[`${$e}-circle-path`]:{stroke:Re.colorSuccess}}})}},un=Re=>{const{componentCls:$e,iconCls:Pt}=Re;return{[$e]:{[`${$e}-circle-trail`]:{stroke:Re.remainingColor},[`&${$e}-circle ${$e}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${$e}-circle ${$e}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:Re.circleTextColor,fontSize:Re.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Pt]:{fontSize:`${Re.fontSize/Re.fontSizeSM}em`}},[`${$e}-circle&-status-exception`]:{[`${$e}-text`]:{color:Re.colorError}},[`${$e}-circle&-status-success`]:{[`${$e}-text`]:{color:Re.colorSuccess}}},[`${$e}-inline-circle`]:{lineHeight:1,[`${$e}-inner`]:{verticalAlign:"bottom"}}}},rn=Re=>{const{componentCls:$e}=Re;return{[$e]:{[`${$e}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:Re.progressStepMinWidth,marginInlineEnd:Re.progressStepMarginInlineEnd,backgroundColor:Re.remainingColor,transition:`all ${Re.motionDurationSlow}`,"&-active":{backgroundColor:Re.defaultColor}}}}}},ln=Re=>{const{componentCls:$e,iconCls:Pt}=Re;return{[$e]:{[`${$e}-small&-line, ${$e}-small&-line ${$e}-text ${Pt}`]:{fontSize:Re.fontSizeSM}}}};var Gn=(0,Me.Z)("Progress",Re=>{const $e=Re.marginXXS/2,Pt=(0,Xe.TS)(Re,{progressStepMarginInlineEnd:$e,progressStepMinWidth:$e,progressActiveMotionDuration:"2.4s"});return[Bt(Pt),un(Pt),rn(Pt),ln(Pt)]},Re=>({circleTextColor:Re.colorText,defaultColor:Re.colorInfo,remainingColor:Re.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),ye=function(Re,$e){var Pt={};for(var yt in Re)Object.prototype.hasOwnProperty.call(Re,yt)&&$e.indexOf(yt)<0&&(Pt[yt]=Re[yt]);if(Re!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Mt=0,yt=Object.getOwnPropertySymbols(Re);Mt{const{prefixCls:Pt,className:yt,rootClassName:Mt,steps:sn,strokeColor:Nn,percent:yn=0,size:hn="default",showInfo:ia=!0,type:qn="line",status:Fn,format:Ea,style:ra}=Re,_a=ye(Re,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),ja=ee.useMemo(()=>{var ot,We;const Gt=ht(Re);return parseInt(Gt!==void 0?(ot=Gt!=null?Gt:0)===null||ot===void 0?void 0:ot.toString():(We=yn!=null?yn:0)===null||We===void 0?void 0:We.toString(),10)},[yn,Re.success,Re.successPercent]),Na=ee.useMemo(()=>!An.includes(Fn)&&ja>=100?"success":Fn||"normal",[Fn,ja]),{getPrefixCls:Aa,direction:qt,progress:bt}=ee.useContext(Ae.E_),gn=Aa("progress",Pt),[aa,Vn]=Gn(gn),Oa=ee.useMemo(()=>{if(!ia)return null;const ot=ht(Re);let We;const Gt=Ea||(Wn=>`${Wn}%`),pn=qn==="line";return Ea||Na!=="exception"&&Na!=="success"?We=Gt(Ke(yn),Ke(ot)):Na==="exception"?We=pn?ee.createElement(De.Z,null):ee.createElement(Fe.Z,null):Na==="success"&&(We=pn?ee.createElement(te.Z,null):ee.createElement(be.Z,null)),ee.createElement("span",{className:`${gn}-text`,title:typeof We=="string"?We:void 0},We)},[ia,yn,ja,Na,qn,gn,Ea]),ao=Array.isArray(Nn)?Nn[0]:Nn,$a=typeof Nn=="string"||Array.isArray(Nn)?Nn:void 0;let xn;qn==="line"?xn=sn?ee.createElement(zt,Object.assign({},Re,{strokeColor:$a,prefixCls:gn,steps:sn}),Oa):ee.createElement(oa,Object.assign({},Re,{strokeColor:ao,prefixCls:gn,direction:qt}),Oa):(qn==="circle"||qn==="dashboard")&&(xn=ee.createElement(Rt,Object.assign({},Re,{strokeColor:ao,prefixCls:gn,progressStatus:Na}),Oa));const Ze=re()(gn,`${gn}-status-${Na}`,`${gn}-${qn==="dashboard"&&"circle"||sn&&"steps"||qn}`,{[`${gn}-inline-circle`]:qn==="circle"&&He(hn,"circle")[0]<=20,[`${gn}-show-info`]:ia,[`${gn}-${hn}`]:typeof hn=="string",[`${gn}-rtl`]:qt==="rtl"},bt==null?void 0:bt.className,yt,Mt,Vn);return aa(ee.createElement("div",Object.assign({ref:$e,style:Object.assign(Object.assign({},bt==null?void 0:bt.style),ra),className:Ze,role:"progressbar","aria-valuenow":ja},(0,je.Z)(_a,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),xn))}),$t=Ue},12604:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return Ht}});var ee=ne(87462),te=ne(67294),be={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},De=be,Fe=ne(74643),Le=function(ht,vn){return te.createElement(Fe.Z,(0,ee.Z)({},ht,{ref:vn,icon:De}))},re=te.forwardRef(Le),je=ne(94184),Ae=ne.n(je),Te=ne(4942),ze=ne(97685),ke=ne(45987),Pe=ne(21770),se=ne(15105),y=ne(64217);function a(Ke,ht){var vn=Ke.disabled,Nt=Ke.prefixCls,He=Ke.character,Ft=Ke.characterRender,vt=Ke.index,Zn=Ke.count,Rt=Ke.value,Pn=Ke.allowHalf,Be=Ke.focused,jt=Ke.onHover,Tn=Ke.onClick,oa=function(Bt){jt(Bt,vt)},cn=function(Bt){Tn(Bt,vt)},zt=function(Bt){Bt.keyCode===se.Z.ENTER&&Tn(Bt,vt)},Ne=vt+1,we=new Set([Nt]);Rt===0&&vt===0&&Be?we.add("".concat(Nt,"-focused")):Pn&&Rt+.5>=Ne&&Rtvt?"true":"false","aria-posinset":vt+1,"aria-setsize":Zn,tabIndex:vn?-1:0},te.createElement("div",{className:"".concat(Nt,"-first")},Me),te.createElement("div",{className:"".concat(Nt,"-second")},Me)));return Ft&&(Xe=Ft(Xe,Ke)),Xe}var b=te.forwardRef(a);function E(){var Ke=te.useRef({});function ht(Nt){return Ke.current[Nt]}function vn(Nt){return function(He){Ke.current[Nt]=He}}return[ht,vn]}function x(Ke){var ht=Ke.pageXOffset,vn="scrollLeft";if(typeof ht!="number"){var Nt=Ke.document;ht=Nt.documentElement[vn],typeof ht!="number"&&(ht=Nt.body[vn])}return ht}function z(Ke){var ht,vn,Nt=Ke.ownerDocument,He=Nt.body,Ft=Nt&&Nt.documentElement,vt=Ke.getBoundingClientRect();return ht=vt.left,vn=vt.top,ht-=Ft.clientLeft||He.clientLeft||0,vn-=Ft.clientTop||He.clientTop||0,{left:ht,top:vn}}function ae(Ke){var ht=z(Ke),vn=Ke.ownerDocument,Nt=vn.defaultView||vn.parentWindow;return ht.left+=x(Nt),ht.left}var oe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function le(Ke,ht){var vn,Nt=Ke.prefixCls,He=Nt===void 0?"rc-rate":Nt,Ft=Ke.className,vt=Ke.defaultValue,Zn=Ke.value,Rt=Ke.count,Pn=Rt===void 0?5:Rt,Be=Ke.allowHalf,jt=Be===void 0?!1:Be,Tn=Ke.allowClear,oa=Tn===void 0?!0:Tn,cn=Ke.character,zt=cn===void 0?"\u2605":cn,Ne=Ke.characterRender,we=Ke.disabled,Me=Ke.direction,Xe=Me===void 0?"ltr":Me,ct=Ke.tabIndex,Bt=ct===void 0?0:ct,un=Ke.autoFocus,rn=Ke.onHoverChange,ln=Ke.onChange,Gn=Ke.onFocus,ye=Ke.onBlur,Ye=Ke.onKeyDown,An=Ke.onMouseLeave,fn=(0,ke.Z)(Ke,oe),Ue=E(),$t=(0,ze.Z)(Ue,2),Re=$t[0],$e=$t[1],Pt=te.useRef(null),yt=function(){if(!we){var pn;(pn=Pt.current)===null||pn===void 0||pn.focus()}};te.useImperativeHandle(ht,function(){return{focus:yt,blur:function(){if(!we){var pn;(pn=Pt.current)===null||pn===void 0||pn.blur()}}}});var Mt=(0,Pe.Z)(vt||0,{value:Zn}),sn=(0,ze.Z)(Mt,2),Nn=sn[0],yn=sn[1],hn=(0,Pe.Z)(null),ia=(0,ze.Z)(hn,2),qn=ia[0],Fn=ia[1],Ea=function(pn,Wn){var Ia=Xe==="rtl",ta=pn+1;if(jt){var Ka=Re(pn),Xa=ae(Ka),co=Ka.clientWidth;(Ia&&Wn-Xa>co/2||!Ia&&Wn-Xa0&&!Ia||Wn===se.Z.RIGHT&&ta>0&&Ia?(jt?ta-=.5:ta-=1,ra(ta),pn.preventDefault()):Wn===se.Z.LEFT&&ta{const{componentCls:ht}=Ke;return{[`${ht}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ke.marginXS},"> div":{transition:`all ${Ke.motionDurationMid}, outline 0s`,"&:hover":{transform:Ke.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ke.lineWidth}px dashed ${Ke.starColor}`,transform:Ke.starHoverScale}},"&-first, &-second":{color:Ke.starBg,transition:`all ${Ke.motionDurationMid}`,userSelect:"none",[Ke.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${ht}-star-first, &-half ${ht}-star-second`]:{opacity:1},[`&-half ${ht}-star-first, &-full ${ht}-star-second`]:{color:"inherit"}}}},Vt=Ke=>({[`&-rtl${Ke.componentCls}`]:{direction:"rtl"}}),et=Ke=>{const{componentCls:ht}=Ke;return{[ht]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ce.Wf)(Ke)),{display:"inline-block",margin:0,padding:0,color:Ke.starColor,fontSize:Ke.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${ht} ${ht}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),st(Ke)),{[`+ ${ht}-text`]:{display:"inline-block",marginInlineStart:Ke.marginXS,fontSize:Ke.fontSize}}),Vt(Ke))}};var gt=(0,pe.Z)("Rate",Ke=>{const ht=(0,At.TS)(Ke,{});return[et(ht)]},Ke=>({starColor:Ke.yellow6,starSize:Ke.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ke.colorFillContent})),It=function(Ke,ht){var vn={};for(var Nt in Ke)Object.prototype.hasOwnProperty.call(Ke,Nt)&&ht.indexOf(Nt)<0&&(vn[Nt]=Ke[Nt]);if(Ke!=null&&typeof Object.getOwnPropertySymbols=="function")for(var He=0,Nt=Object.getOwnPropertySymbols(Ke);He{const{prefixCls:vn,className:Nt,rootClassName:He,style:Ft,tooltips:vt,character:Zn=te.createElement(re,null)}=Ke,Rt=It(Ke,["prefixCls","className","rootClassName","style","tooltips","character"]),Pn=(we,Me)=>{let{index:Xe}=Me;return vt?te.createElement(ve.Z,{title:vt[Xe]},we):we},{getPrefixCls:Be,direction:jt,rate:Tn}=te.useContext(Se.E_),oa=Be("rate",vn),[cn,zt]=gt(oa),Ne=Object.assign(Object.assign({},Tn==null?void 0:Tn.style),Ft);return cn(te.createElement(ce,Object.assign({ref:ht,character:Zn,characterRender:Pn},Rt,{className:Ae()(Nt,He,zt,Tn==null?void 0:Tn.className),style:Ne,prefixCls:oa,direction:jt})))})},46303:function(Ve,mt,ne){"use strict";ne.d(mt,{Z:function(){return zt}});var ee=ne(94184),te=ne.n(ee),be=ne(67294),De=ne(53124),Fe=ne(10366),re=Ne=>{const{prefixCls:we,className:Me,style:Xe,size:ct,shape:Bt}=Ne,un=te()({[`${we}-lg`]:ct==="large",[`${we}-sm`]:ct==="small"}),rn=te()({[`${we}-circle`]:Bt==="circle",[`${we}-square`]:Bt==="square",[`${we}-round`]:Bt==="round"}),ln=be.useMemo(()=>typeof ct=="number"?{width:ct,height:ct,lineHeight:`${ct}px`}:{},[ct]);return be.createElement("span",{className:te()(we,un,rn,Me),style:Object.assign(Object.assign({},ln),Xe)})},je=ne(45930),Ae=ne(67968),Te=ne(45503);const ze=new je.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),ke=Ne=>({height:Ne,lineHeight:`${Ne}px`}),Pe=Ne=>Object.assign({width:Ne},ke(Ne)),se=Ne=>({background:Ne.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:ze,animationDuration:Ne.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=Ne=>Object.assign({width:Ne*5,minWidth:Ne*5},ke(Ne)),a=Ne=>{const{skeletonAvatarCls:we,gradientFromColor:Me,controlHeight:Xe,controlHeightLG:ct,controlHeightSM:Bt}=Ne;return{[`${we}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Me},Pe(Xe)),[`${we}${we}-circle`]:{borderRadius:"50%"},[`${we}${we}-lg`]:Object.assign({},Pe(ct)),[`${we}${we}-sm`]:Object.assign({},Pe(Bt))}},b=Ne=>{const{controlHeight:we,borderRadiusSM:Me,skeletonInputCls:Xe,controlHeightLG:ct,controlHeightSM:Bt,gradientFromColor:un}=Ne;return{[`${Xe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:un,borderRadius:Me},y(we)),[`${Xe}-lg`]:Object.assign({},y(ct)),[`${Xe}-sm`]:Object.assign({},y(Bt))}},E=Ne=>Object.assign({width:Ne},ke(Ne)),x=Ne=>{const{skeletonImageCls:we,imageSizeBase:Me,gradientFromColor:Xe,borderRadiusSM:ct}=Ne;return{[`${we}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Xe,borderRadius:ct},E(Me*2)),{[`${we}-path`]:{fill:"#bfbfbf"},[`${we}-svg`]:Object.assign(Object.assign({},E(Me)),{maxWidth:Me*4,maxHeight:Me*4}),[`${we}-svg${we}-svg-circle`]:{borderRadius:"50%"}}),[`${we}${we}-circle`]:{borderRadius:"50%"}}},z=(Ne,we,Me)=>{const{skeletonButtonCls:Xe}=Ne;return{[`${Me}${Xe}-circle`]:{width:we,minWidth:we,borderRadius:"50%"},[`${Me}${Xe}-round`]:{borderRadius:we}}},ae=Ne=>Object.assign({width:Ne*2,minWidth:Ne*2},ke(Ne)),oe=Ne=>{const{borderRadiusSM:we,skeletonButtonCls:Me,controlHeight:Xe,controlHeightLG:ct,controlHeightSM:Bt,gradientFromColor:un}=Ne;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${Me}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:un,borderRadius:we,width:Xe*2,minWidth:Xe*2},ae(Xe))},z(Ne,Xe,Me)),{[`${Me}-lg`]:Object.assign({},ae(ct))}),z(Ne,ct,`${Me}-lg`)),{[`${Me}-sm`]:Object.assign({},ae(Bt))}),z(Ne,Bt,`${Me}-sm`))},le=Ne=>{const{componentCls:we,skeletonAvatarCls:Me,skeletonTitleCls:Xe,skeletonParagraphCls:ct,skeletonButtonCls:Bt,skeletonInputCls:un,skeletonImageCls:rn,controlHeight:ln,controlHeightLG:Gn,controlHeightSM:ye,gradientFromColor:Ye,padding:An,marginSM:fn,borderRadius:Ue,titleHeight:$t,blockRadius:Re,paragraphLiHeight:$e,controlHeightXS:Pt,paragraphMarginTop:yt}=Ne;return{[`${we}`]:{display:"table",width:"100%",[`${we}-header`]:{display:"table-cell",paddingInlineEnd:An,verticalAlign:"top",[`${Me}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ye},Pe(ln)),[`${Me}-circle`]:{borderRadius:"50%"},[`${Me}-lg`]:Object.assign({},Pe(Gn)),[`${Me}-sm`]:Object.assign({},Pe(ye))},[`${we}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Xe}`]:{width:"100%",height:$t,background:Ye,borderRadius:Re,[`+ ${ct}`]:{marginBlockStart:ye}},[`${ct}`]:{padding:0,"> li":{width:"100%",height:$e,listStyle:"none",background:Ye,borderRadius:Re,"+ li":{marginBlockStart:Pt}}},[`${ct}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${we}-content`]:{[`${Xe}, ${ct} > li`]:{borderRadius:Ue}}},[`${we}-with-avatar ${we}-content`]:{[`${Xe}`]:{marginBlockStart:fn,[`+ ${ct}`]:{marginBlockStart:yt}}},[`${we}${we}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},oe(Ne)),a(Ne)),b(Ne)),x(Ne)),[`${we}${we}-block`]:{width:"100%",[`${Bt}`]:{width:"100%"},[`${un}`]:{width:"100%"}},[`${we}${we}-active`]:{[` ${Xe}, ${ct} > li, ${Me}, ${Bt}, ${un}, ${rn} `]:Object.assign({},se(Ne))}}};var de=(0,Ae.Z)("Skeleton",Ne=>{const{componentCls:we}=Ne,Me=(0,Te.TS)(Ne,{skeletonAvatarCls:`${we}-avatar`,skeletonTitleCls:`${we}-title`,skeletonParagraphCls:`${we}-paragraph`,skeletonButtonCls:`${we}-button`,skeletonInputCls:`${we}-input`,skeletonImageCls:`${we}-image`,imageSizeBase:Ne.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ne.gradientFromColor} 25%, ${Ne.gradientToColor} 37%, ${Ne.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[le(Me)]},Ne=>{const{colorFillContent:we,colorFill:Me}=Ne,Xe=we,ct=Me;return{color:Xe,colorGradientEnd:ct,gradientFromColor:Xe,gradientToColor:ct,titleHeight:Ne.controlHeight/2,blockRadius:Ne.borderRadiusSM,paragraphMarginTop:Ne.marginLG+Ne.marginXXS,paragraphLiHeight:Ne.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Se=Ne=>{const{prefixCls:we,className:Me,rootClassName:Xe,active:ct,shape:Bt="circle",size:un="default"}=Ne,{getPrefixCls:rn}=be.useContext(De.E_),ln=rn("skeleton",we),[Gn,ye]=de(ln),Ye=(0,Fe.Z)(Ne,["prefixCls","className"]),An=te()(ln,`${ln}-element`,{[`${ln}-active`]:ct},Me,Xe,ye);return Gn(be.createElement("div",{className:An},be.createElement(re,Object.assign({prefixCls:`${ln}-avatar`,shape:Bt,size:un},Ye))))},Ce=Ne=>{const{prefixCls:we,className:Me,rootClassName:Xe,active:ct,block:Bt=!1,size:un="default"}=Ne,{getPrefixCls:rn}=be.useContext(De.E_),ln=rn("skeleton",we),[Gn,ye]=de(ln),Ye=(0,Fe.Z)(Ne,["prefixCls"]),An=te()(ln,`${ln}-element`,{[`${ln}-active`]:ct,[`${ln}-block`]:Bt},Me,Xe,ye);return Gn(be.createElement("div",{className:An},be.createElement(re,Object.assign({prefixCls:`${ln}-button`,size:un},Ye))))};const pe="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var st=Ne=>{const{prefixCls:we,className:Me,rootClassName:Xe,style:ct,active:Bt}=Ne,{getPrefixCls:un}=be.useContext(De.E_),rn=un("skeleton",we),[ln,Gn]=de(rn),ye=te()(rn,`${rn}-element`,{[`${rn}-active`]:Bt},Me,Xe,Gn);return ln(be.createElement("div",{className:ye},be.createElement("div",{className:te()(`${rn}-image`,Me),style:ct},be.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${rn}-image-svg`},be.createElement("path",{d:pe,className:`${rn}-image-path`})))))},et=Ne=>{const{prefixCls:we,className:Me,rootClassName:Xe,active:ct,block:Bt,size:un="default"}=Ne,{getPrefixCls:rn}=be.useContext(De.E_),ln=rn("skeleton",we),[Gn,ye]=de(ln),Ye=(0,Fe.Z)(Ne,["prefixCls"]),An=te()(ln,`${ln}-element`,{[`${ln}-active`]:ct,[`${ln}-block`]:Bt},Me,Xe,ye);return Gn(be.createElement("div",{className:An},be.createElement(re,Object.assign({prefixCls:`${ln}-input`,size:un},Ye))))},gt=ne(87462),It={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Zt=It,Ht=ne(74643),Ke=function(we,Me){return be.createElement(Ht.Z,(0,gt.Z)({},we,{ref:Me,icon:Zt}))},ht=be.forwardRef(Ke),Nt=Ne=>{const{prefixCls:we,className:Me,rootClassName:Xe,style:ct,active:Bt,children:un}=Ne,{getPrefixCls:rn}=be.useContext(De.E_),ln=rn("skeleton",we),[Gn,ye]=de(ln),Ye=te()(ln,`${ln}-element`,{[`${ln}-active`]:Bt},ye,Me,Xe),An=un!=null?un:be.createElement(ht,null);return Gn(be.createElement("div",{className:Ye},be.createElement("div",{className:te()(`${ln}-image`,Me),style:ct},An)))},He=ne(74902),vt=Ne=>{const we=rn=>{const{width:ln,rows:Gn=2}=Ne;if(Array.isArray(ln))return ln[rn];if(Gn-1===rn)return ln},{prefixCls:Me,className:Xe,style:ct,rows:Bt}=Ne,un=(0,He.Z)(Array(Bt)).map((rn,ln)=>be.createElement("li",{key:ln,style:{width:we(ln)}}));return be.createElement("ul",{className:te()(Me,Xe),style:ct},un)},Rt=Ne=>{let{prefixCls:we,className:Me,width:Xe,style:ct}=Ne;return be.createElement("h3",{className:te()(we,Me),style:Object.assign({width:Xe},ct)})};function Pn(Ne){return Ne&&typeof Ne=="object"?Ne:{}}function Be(Ne,we){return Ne&&!we?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function jt(Ne,we){return!Ne&&we?{width:"38%"}:Ne&&we?{width:"50%"}:{}}function Tn(Ne,we){const Me={};return(!Ne||!we)&&(Me.width="61%"),!Ne&&we?Me.rows=3:Me.rows=2,Me}const oa=Ne=>{const{prefixCls:we,loading:Me,className:Xe,rootClassName:ct,style:Bt,children:un,avatar:rn=!1,title:ln=!0,paragraph:Gn=!0,active:ye,round:Ye}=Ne,{getPrefixCls:An,direction:fn,skeleton:Ue}=be.useContext(De.E_),$t=An("skeleton",we),[Re,$e]=de($t);if(Me||!("loading"in Ne)){const Pt=!!rn,yt=!!ln,Mt=!!Gn;let sn;if(Pt){const hn=Object.assign(Object.assign({prefixCls:`${$t}-avatar`},Be(yt,Mt)),Pn(rn));sn=be.createElement("div",{className:`${$t}-header`},be.createElement(re,Object.assign({},hn)))}let Nn;if(yt||Mt){let hn;if(yt){const qn=Object.assign(Object.assign({prefixCls:`${$t}-title`},jt(Pt,Mt)),Pn(ln));hn=be.createElement(Rt,Object.assign({},qn))}let ia;if(Mt){const qn=Object.assign(Object.assign({prefixCls:`${$t}-paragraph`},Tn(Pt,yt)),Pn(Gn));ia=be.createElement(vt,Object.assign({},qn))}Nn=be.createElement("div",{className:`${$t}-content`},hn,ia)}const yn=te()($t,{[`${$t}-with-avatar`]:Pt,[`${$t}-active`]:ye,[`${$t}-rtl`]:fn==="rtl",[`${$t}-round`]:Ye},Ue==null?void 0:Ue.className,Xe,ct,$e);return Re(be.createElement("div",{className:yn,style:Object.assign(Object.assign({},Ue==null?void 0:Ue.style),Bt)},sn,Nn))}return typeof un!="undefined"?un:null};oa.Button=Ce,oa.Avatar=Se,oa.Input=et,oa.Image=st,oa.Node=Nt;var cn=oa,zt=cn},55054:function(Ve,mt,ne){"use strict";ne.d(mt,{default:function(){return de}});var ee=ne(67294),te=ne(57838),be=ne(96159),De=ne(94184),Fe=ne.n(De),Le=ne(53124),re=ne(46303),Ae=ce=>{const{value:Se,formatter:ve,precision:Ce,decimalSeparator:pe,groupSeparator:At="",prefixCls:st}=ce;let Vt;if(typeof ve=="function")Vt=ve(Se);else{const et=String(Se),gt=et.match(/^(-?)(\d*)(\.(\d+))?$/);if(!gt||et==="-")Vt=et;else{const It=gt[1];let Zt=gt[2]||"0",Ht=gt[4]||"";Zt=Zt.replace(/\B(?=(\d{3})+(?!\d))/g,At),typeof Ce=="number"&&(Ht=Ht.padEnd(Ce,"0").slice(0,Ce>0?Ce:0)),Ht&&(Ht=`${pe}${Ht}`),Vt=[ee.createElement("span",{key:"int",className:`${st}-content-value-int`},It,Zt),Ht&&ee.createElement("span",{key:"decimal",className:`${st}-content-value-decimal`},Ht)]}}return ee.createElement("span",{className:`${st}-content-value`},Vt)},Te=ne(14747),ze=ne(67968),ke=ne(45503);const Pe=ce=>{const{componentCls:Se,marginXXS:ve,padding:Ce,colorTextDescription:pe,titleFontSize:At,colorTextHeading:st,contentFontSize:Vt,fontFamily:et}=ce;return{[`${Se}`]:Object.assign(Object.assign({},(0,Te.Wf)(ce)),{[`${Se}-title`]:{marginBottom:ve,color:pe,fontSize:At},[`${Se}-skeleton`]:{paddingTop:Ce},[`${Se}-content`]:{color:st,fontSize:Vt,fontFamily:et,[`${Se}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Se}-content-prefix, ${Se}-content-suffix`]:{display:"inline-block"},[`${Se}-content-prefix`]:{marginInlineEnd:ve},[`${Se}-content-suffix`]:{marginInlineStart:ve}}})}};var se=(0,ze.Z)("Statistic",ce=>{const Se=(0,ke.TS)(ce,{});return[Pe(Se)]},ce=>{const{fontSizeHeading3:Se,fontSize:ve}=ce;return{titleFontSize:ve,contentFontSize:Se}}),a=ce=>{const{prefixCls:Se,className:ve,rootClassName:Ce,style:pe,valueStyle:At,value:st=0,title:Vt,valueRender:et,prefix:gt,suffix:It,loading:Zt=!1,onMouseEnter:Ht,onMouseLeave:Ke,decimalSeparator:ht=".",groupSeparator:vn=","}=ce,{getPrefixCls:Nt,direction:He,statistic:Ft}=ee.useContext(Le.E_),vt=Nt("statistic",Se),[Zn,Rt]=se(vt),Pn=ee.createElement(Ae,Object.assign({decimalSeparator:ht,groupSeparator:vn,prefixCls:vt},ce,{value:st})),Be=Fe()(vt,{[`${vt}-rtl`]:He==="rtl"},Ft==null?void 0:Ft.className,ve,Ce,Rt);return Zn(ee.createElement("div",{className:Be,style:Object.assign(Object.assign({},Ft==null?void 0:Ft.style),pe),onMouseEnter:Ht,onMouseLeave:Ke},Vt&&ee.createElement("div",{className:`${vt}-title`},Vt),ee.createElement(re.Z,{paragraph:!1,loading:Zt,className:`${vt}-skeleton`},ee.createElement("div",{style:At,className:`${vt}-content`},gt&&ee.createElement("span",{className:`${vt}-content-prefix`},gt),et?et(Pn):Pn,It&&ee.createElement("span",{className:`${vt}-content-suffix`},It)))))};const b=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function E(ce,Se){let ve=ce;const Ce=/\[[^\]]*]/g,pe=(Se.match(Ce)||[]).map(et=>et.slice(1,-1)),At=Se.replace(Ce,"[]"),st=b.reduce((et,gt)=>{let[It,Zt]=gt;if(et.includes(It)){const Ht=Math.floor(ve/Zt);return ve-=Ht*Zt,et.replace(new RegExp(`${It}+`,"g"),Ke=>{const ht=Ke.length;return Ht.toString().padStart(ht,"0")})}return et},At);let Vt=0;return st.replace(Ce,()=>{const et=pe[Vt];return Vt+=1,et})}function x(ce,Se){const{format:ve=""}=Se,Ce=new Date(ce).getTime(),pe=Date.now(),At=Math.max(Ce-pe,0);return E(At,ve)}const z=1e3/30;function ae(ce){return new Date(ce).getTime()}const oe=ce=>{const{value:Se,format:ve="HH:mm:ss",onChange:Ce,onFinish:pe}=ce,At=(0,te.Z)(),st=ee.useRef(null),Vt=()=>{pe==null||pe(),st.current&&(clearInterval(st.current),st.current=null)},et=()=>{const Zt=ae(Se);Zt>=Date.now()&&(st.current=setInterval(()=>{At(),Ce==null||Ce(Zt-Date.now()),Zt(et(),()=>{st.current&&(clearInterval(st.current),st.current=null)}),[Se]);const gt=(Zt,Ht)=>x(Zt,Object.assign(Object.assign({},Ht),{format:ve})),It=Zt=>(0,be.Tm)(Zt,{title:void 0});return ee.createElement(a,Object.assign({},ce,{valueRender:It,formatter:gt}))};var le=ee.memo(oe);a.Countdown=le;var de=a},49867:function(Ve,mt,ne){"use strict";ne.d(mt,{N:function(){return ee}});const ee=te=>({color:te.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${te.motionDurationSlow}`,"&:focus, &:hover":{color:te.colorLinkHover},"&:active":{color:te.colorLinkActive}})},9430:function(Ve,mt,ne){"use strict";ne.d(mt,{default:function(){return ws}});var ee={},te="rc-table-internal-hook",be=ne(97685),De=ne(66680),Fe=ne(8410),Le=ne(91881),re=ne(67294),je=ne(73935);function Ae(ie){var ue=re.createContext(void 0),ge=function(Ee){var xe=Ee.value,Ge=Ee.children,_e=re.useRef(xe);_e.current=xe;var Je=re.useState(function(){return{getValue:function(){return _e.current},listeners:new Set}}),ut=(0,be.Z)(Je,1),Lt=ut[0];return(0,Fe.Z)(function(){(0,je.unstable_batchedUpdates)(function(){Lt.listeners.forEach(function(pt){pt(xe)})})},[xe]),re.createElement(ue.Provider,{value:Lt},Ge)};return{Context:ue,Provider:ge,defaultValue:ie}}function Te(ie,ue){var ge=(0,De.Z)(typeof ue=="function"?ue:function(pt){if(ue===void 0)return pt;if(!Array.isArray(ue))return pt[ue];var Qt={};return ue.forEach(function(Yt){Qt[Yt]=pt[Yt]}),Qt}),fe=re.useContext(ie==null?void 0:ie.Context),Ee=fe||{},xe=Ee.listeners,Ge=Ee.getValue,_e=re.useRef();_e.current=ge(fe?Ge():ie==null?void 0:ie.defaultValue);var Je=re.useState({}),ut=(0,be.Z)(Je,2),Lt=ut[1];return(0,Fe.Z)(function(){if(!fe)return;function pt(Qt){var Yt=ge(Qt);(0,Le.Z)(_e.current,Yt,!0)||Lt({})}return xe.add(pt),function(){xe.delete(pt)}},[fe]),_e.current}var ze=ne(87462),ke=ne(42550);function Pe(){var ie=re.createContext(null);function ue(){return re.useContext(ie)}function ge(Ee,xe){var Ge=(0,ke.Yr)(Ee),_e=function(ut,Lt){var pt=Ge?{ref:Lt}:{},Qt=re.useRef(0),Yt=re.useRef(ut),_t=ue();return _t!==null?re.createElement(Ee,(0,ze.Z)({},ut,pt)):((!xe||xe(Yt.current,ut))&&(Qt.current+=1),Yt.current=ut,re.createElement(ie.Provider,{value:Qt.current},re.createElement(Ee,(0,ze.Z)({},ut,pt))))};return Ge?re.forwardRef(_e):_e}function fe(Ee,xe){var Ge=(0,ke.Yr)(Ee),_e=function(ut,Lt){var pt=Ge?{ref:Lt}:{};return ue(),re.createElement(Ee,(0,ze.Z)({},ut,pt))};return Ge?re.memo(re.forwardRef(_e),xe):re.memo(_e,xe)}return{makeImmutable:ge,responseImmutable:fe,useImmutableMark:ue}}var se=Pe(),y=se.makeImmutable,a=se.responseImmutable,b=se.useImmutableMark,E=Pe(),x=E.makeImmutable,z=E.responseImmutable,ae=E.useImmutableMark,oe=Ae(),le=oe;function de(ie,ue){var ge=re.useRef(0);ge.current+=1;var fe=re.useRef(ie),Ee=[];Object.keys(ie||{}).map(function(Ge){var _e;(ie==null?void 0:ie[Ge])!==((_e=fe.current)===null||_e===void 0?void 0:_e[Ge])&&Ee.push(Ge)}),fe.current=ie;var xe=re.useRef([]);return Ee.length&&(xe.current=Ee),re.useDebugValue(ge.current),re.useDebugValue(xe.current.join(", ")),ue&&console.log("".concat(ue,":"),ge.current,xe.current),ge.current}var ce=null,Se=re.memo(function(){var ie=de();return re.createElement("h1",null,"Render Times: ",ie)});Se.displayName="RenderBlock";var ve=ne(71002),Ce=ne(1413),pe=ne(4942),At=ne(94184),st=ne.n(At);function Vt(ie,ue,ge){var fe=re.useRef({});return(!("value"in fe.current)||ge(fe.current.condition,ue))&&(fe.current.value=ie(),fe.current.condition=ue),fe.current.value}var et={},gt=[],It=function(ue){gt.push(ue)};function Zt(ie,ue){if(0)var ge}function Ht(ie,ue){if(0)var ge}function Ke(){et={}}function ht(ie,ue,ge){!ue&&!et[ge]&&(ie(!1,ge),et[ge]=!0)}function vn(ie,ue){ht(Zt,ie,ue)}function Nt(ie,ue){ht(Ht,ie,ue)}vn.preMessage=It,vn.resetWarned=Ke,vn.noteOnce=Nt;var He=vn;function Ft(ie,ue){var ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,fe=new Set;function Ee(xe,Ge){var _e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,Je=fe.has(xe);if(He(!Je,"Warning: There may be circular references"),Je)return!1;if(xe===Ge)return!0;if(ge&&_e>1)return!1;fe.add(xe);var ut=_e+1;if(Array.isArray(xe)){if(!Array.isArray(Ge)||xe.length!==Ge.length)return!1;for(var Lt=0;Lt=ge}function we(ie,ue){return Te(le,function(ge){var fe=Ne(ie,ue||1,ge.hoverStartRow,ge.hoverEndRow);return[fe,ge.onHover]})}var Me=function(ue){var ge=ue.ellipsis,fe=ue.rowType,Ee=ue.children,xe,Ge=ge===!0?{showTitle:!0}:ge;return Ge&&(Ge.showTitle||fe==="header")&&(typeof Ee=="string"||typeof Ee=="number"?xe=Ee.toString():re.isValidElement(Ee)&&typeof Ee.props.children=="string"&&(xe=Ee.props.children)),xe};function Xe(ie){var ue,ge,fe,Ee,xe,Ge,_e,Je,ut=ie.component,Lt=ie.children,pt=ie.ellipsis,Qt=ie.scope,Yt=ie.prefixCls,_t=ie.className,Rn=ie.align,bn=ie.record,kn=ie.render,wn=ie.dataIndex,Qn=ie.renderIndex,ha=ie.shouldCellUpdate,xa=ie.index,fa=ie.rowType,Ha=ie.colSpan,Ja=ie.rowSpan,sa=ie.fixLeft,pa=ie.fixRight,ua=ie.firstFixLeft,Jn=ie.lastFixLeft,ma=ie.firstFixRight,Ra=ie.lastFixRight,no=ie.appendNode,Va=ie.additionalProps,Fa=Va===void 0?{}:Va,oo=ie.isSticky,so="".concat(Yt,"-cell"),To=Te(le,["supportSticky","allColumnsFixedLeft"]),yo=To.supportSticky,Uo=To.allColumnsFixedLeft,Vo=zt(bn,wn,Qn,Lt,kn,ha),qa=(0,be.Z)(Vo,2),$o=qa[0],bo=qa[1],ko={},Ro=typeof sa=="number"&&yo,fr=typeof pa=="number"&&yo;Ro&&(ko.position="sticky",ko.left=sa),fr&&(ko.position="sticky",ko.right=pa);var Ma=(ue=(ge=(fe=bo==null?void 0:bo.colSpan)!==null&&fe!==void 0?fe:Fa.colSpan)!==null&&ge!==void 0?ge:Ha)!==null&&ue!==void 0?ue:1,La=(Ee=(xe=(Ge=bo==null?void 0:bo.rowSpan)!==null&&Ge!==void 0?Ge:Fa.rowSpan)!==null&&xe!==void 0?xe:Ja)!==null&&Ee!==void 0?Ee:1,Ba=we(xa,La),Pa=(0,be.Z)(Ba,2),Co=Pa[0],ya=Pa[1],Wa=function(tr){var pr;bn&&ya(xa,xa+La-1),Fa==null||(pr=Fa.onMouseEnter)===null||pr===void 0||pr.call(Fa,tr)},ho=function(tr){var pr;bn&&ya(-1,-1),Fa==null||(pr=Fa.onMouseLeave)===null||pr===void 0||pr.call(Fa,tr)};if(Ma===0||La===0)return null;var vo=(_e=Fa.title)!==null&&_e!==void 0?_e:Me({rowType:fa,ellipsis:pt,children:$o}),sr=st()(so,_t,(Je={},(0,pe.Z)(Je,"".concat(so,"-fix-left"),Ro&&yo),(0,pe.Z)(Je,"".concat(so,"-fix-left-first"),ua&&yo),(0,pe.Z)(Je,"".concat(so,"-fix-left-last"),Jn&&yo),(0,pe.Z)(Je,"".concat(so,"-fix-left-all"),Jn&&Uo&&yo),(0,pe.Z)(Je,"".concat(so,"-fix-right"),fr&&yo),(0,pe.Z)(Je,"".concat(so,"-fix-right-first"),ma&&yo),(0,pe.Z)(Je,"".concat(so,"-fix-right-last"),Ra&&yo),(0,pe.Z)(Je,"".concat(so,"-ellipsis"),pt),(0,pe.Z)(Je,"".concat(so,"-with-append"),no),(0,pe.Z)(Je,"".concat(so,"-fix-sticky"),(Ro||fr)&&oo&&yo),(0,pe.Z)(Je,"".concat(so,"-row-hover"),!bo&&Co),Je),Fa.className,bo==null?void 0:bo.className),rr={};Rn&&(rr.textAlign=Rn);var Nr=(0,Ce.Z)((0,Ce.Z)((0,Ce.Z)((0,Ce.Z)({},ko),Fa.style),rr),bo==null?void 0:bo.style),er=$o;return(0,ve.Z)(er)==="object"&&!Array.isArray(er)&&!re.isValidElement(er)&&(er=null),pt&&(Jn||ma)&&(er=re.createElement("span",{className:"".concat(so,"-content")},er)),re.createElement(ut,(0,ze.Z)({},bo,Fa,{className:sr,style:Nr,title:vo,scope:Qt,onMouseEnter:Wa,onMouseLeave:ho,colSpan:Ma!==1?Ma:null,rowSpan:La!==1?La:null}),no,er)}var ct=re.memo(Xe);function Bt(ie,ue,ge,fe,Ee,xe){var Ge=ge[ie]||{},_e=ge[ue]||{},Je,ut;Ge.fixed==="left"?Je=fe.left[Ee==="rtl"?ue:ie]:_e.fixed==="right"&&(ut=fe.right[Ee==="rtl"?ie:ue]);var Lt=!1,pt=!1,Qt=!1,Yt=!1,_t=ge[ue+1],Rn=ge[ie-1],bn=!(xe!=null&&xe.children);if(Ee==="rtl"){if(Je!==void 0){var kn=Rn&&Rn.fixed==="left";Yt=!kn&&bn}else if(ut!==void 0){var wn=_t&&_t.fixed==="right";Qt=!wn&&bn}}else if(Je!==void 0){var Qn=_t&&_t.fixed==="left";Lt=!Qn&&bn}else if(ut!==void 0){var ha=Rn&&Rn.fixed==="right";pt=!ha&&bn}return{fixLeft:Je,fixRight:ut,lastFixLeft:Lt,firstFixRight:pt,lastFixRight:Qt,firstFixLeft:Yt,isSticky:fe.isSticky}}var un=re.createContext({}),rn=un;function ln(ie){var ue=ie.className,ge=ie.index,fe=ie.children,Ee=ie.colSpan,xe=Ee===void 0?1:Ee,Ge=ie.rowSpan,_e=ie.align,Je=Te(le,["prefixCls","direction"]),ut=Je.prefixCls,Lt=Je.direction,pt=re.useContext(rn),Qt=pt.scrollColumnIndex,Yt=pt.stickyOffsets,_t=pt.flattenColumns,Rn=pt.columns,bn=ge+xe-1,kn=bn+1===Qt?xe+1:xe,wn=Bt(ge,ge+kn-1,_t,Yt,Lt,Rn==null?void 0:Rn[ge]);return re.createElement(ct,(0,ze.Z)({className:ue,index:ge,component:"td",prefixCls:ut,record:null,dataIndex:null,align:_e,colSpan:kn,rowSpan:Ge,render:function(){return fe}},wn))}var Gn=ne(45987),ye=["children"];function Ye(ie){var ue=ie.children,ge=(0,Gn.Z)(ie,ye);return re.createElement("tr",ge,ue)}function An(ie){var ue=ie.children;return ue}An.Row=Ye,An.Cell=ln;var fn=An;function Ue(ie){var ue=ie.children,ge=ie.stickyOffsets,fe=ie.flattenColumns,Ee=ie.columns,xe=Te(le,"prefixCls"),Ge=fe.length-1,_e=fe[Ge],Je=re.useMemo(function(){return{stickyOffsets:ge,flattenColumns:fe,scrollColumnIndex:_e!=null&&_e.scrollbar?Ge:null,columns:Ee}},[_e,fe,Ge,ge,Ee]);return re.createElement(rn.Provider,{value:Je},re.createElement("tfoot",{className:"".concat(xe,"-summary")},ue))}var $t=z(Ue),Re=fn;function $e(ie){var ue=re.useRef();ue.current=ie;var ge=re.useCallback(function(){for(var fe,Ee=arguments.length,xe=new Array(Ee),Ge=0;Ge3&&arguments[3]!==void 0?arguments[3]:!1;return ue.length&&fe&&ge===void 0&&!get(ie,ue.slice(0,-1))?ie:Na(ie,ue,ge,fe)}function qt(ie){return _typeof(ie)==="object"&&ie!==null&&Object.getPrototypeOf(ie)===Object.prototype}function bt(ie){return Array.isArray(ie)?[]:{}}var gn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function aa(){for(var ie=arguments.length,ue=new Array(ie),ge=0;ge