You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NewEduCoderBuild/p__Classrooms__Lists__Gradu...

175 lines
482 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[3317],{22751:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return ce}});var ge=re(87462),ie=re(67294),Ve={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"},qe=Ve,pe=re(74643),Oe=function(Ee,Ne){return ie.createElement(pe.Z,(0,ge.Z)({},Ee,{ref:Ne,icon:qe}))},ce=ie.forwardRef(Oe)},91034:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return ce}});var ge=re(87462),ie=re(67294),Ve={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"},qe=Ve,pe=re(74643),Oe=function(Ee,Ne){return ie.createElement(pe.Z,(0,ge.Z)({},Ee,{ref:Ne,icon:qe}))},ce=ie.forwardRef(Oe)},71736:function(ke,ut){"use strict";ut.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},18023:function(){"use strict";function ke(ne,a,b,E){b===void 0&&(b=0),E===void 0&&(E=1/0),this._name=ne,this._defaultValue=a,this._minimum=b,this._maximum=E}Object.defineProperty(ke.prototype,"name",{get:function(){return this._name},set:function(ne){if(typeof ne!="string"||ne==="")throw new Error("Shape name must be a valid string.");this._name=ne}}),Object.defineProperty(ke.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("The default value must be a real number, not: "+ne);this._defaultValue=ne}}),Object.defineProperty(ke.prototype,"minimum",{get:function(){return this._minimum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Minimum must be a real number, not: "+ne);this._minimum=ne}}),Object.defineProperty(ke.prototype,"maximum",{get:function(){return this._maximum},set:function(ne){if(typeof ne!="number"||isNaN(ne))throw new Error("Maximum must be a real number, not: "+ne);this._maximum=ne}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ne,a){var b=go.Shape._FigureParameters[ne];return b?b[a]:null},go.Shape.setFigureParameter=function(ne,a,b){if(!(b instanceof ke))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+b);if(b.defaultValue<b.minimum||b.defaultValue>b.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+b.defaultValue);var E=go.Shape._FigureParameters[ne];E||(E=[],go.Shape._FigureParameters[ne]=E),E[a]=b};var ut=[];function re(ne,a){var b=ut.pop();return b===void 0?new go.Point(ne,a):(b.x=ne,b.y=a,b)}function ge(){var ne=ut.pop();return ne===void 0?new go.Point:ne}function ie(ne){ut.push(ne)}function Ve(ne,a,b,E,y,x,z,ee,te){te||(te=new go.Point);var oe=ne-b,le=y-z,de=NaN,Pe=NaN;if(oe===0)if(le===0)ne===b&&(de=ne,Pe=a);else{var ve=(x-ee)/le,se=x-ve*y;de=ne,Pe=ve*de+se}else if(le===0){var Ie=(a-E)/oe,Ye=a-Ie*ne;de=y,Pe=Ie*de+Ye}else{var Ie=(a-E)/oe,ve=(x-ee)/le,Ye=a-Ie*ne,se=x-ve*y;de=(se-Ye)/(Ie-ve),Pe=Ie*de+Ye}return te.x=de,te.y=Pe,te}function qe(ne,a,b,E,y,x,z,ee,te,oe,le,de,Pe,ve){var se=1-te,Ie=te,Ye=ne*se+b*Ie,Te=a*se+E*Ie,be=b*se+y*Ie,me=E*se+x*Ie,Ge=y*se+z*Ie,He=x*se+ee*Ie,je=Ye*se+be*Ie,et=Te*se+me*Ie,Ft=be*se+Ge*Ie,vt=me*se+He*Ie,Mt=je*se+Ft*Ie,hn=et*se+vt*Ie;oe.x=Ye,oe.y=Te,le.x=je,le.y=et,de.x=Mt,de.y=hn,Pe.x=Ft,Pe.y=vt,ve.x=Ge,ve.y=He}var pe=new go.Spot(.156,.156),Oe=new go.Spot(.844,.844),ce=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ke("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ne,a,b){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=5),E=Math.min(E,a/3),E=Math.min(E,b/3);var y=E*ce,x=new go.Geometry().add(new go.PathFigure(E,0,!0).add(new go.PathSegment(go.PathSegment.Line,a-E,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,E,a-y,0,a,y)).add(new go.PathSegment(go.PathSegment.Line,a,b-E)).add(new go.PathSegment(go.PathSegment.Bezier,a-E,b,a,b-y,a-y,b)).add(new go.PathSegment(go.PathSegment.Line,E,b)).add(new go.PathSegment(go.PathSegment.Bezier,0,b-E,y,b,0,b-y)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,y,y,0).close()));return y>1&&(x.spot1=new go.Spot(0,0,y,y),x.spot2=new go.Spot(1,1,-y,-y)),x}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*b)).add(new go.PathSegment(go.PathSegment.Line,0,b).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,b).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(a,b).add(new go.PathSegment(go.PathSegment.Line,0,.5*b)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(a,b).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*b)).add(new go.PathSegment(go.PathSegment.Line,.5*a,b)).add(new go.PathSegment(go.PathSegment.Line,a,.5*b).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ne,a,b){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=b/2,E.endX=a,E.endY=b/2,E}),go.Shape.defineFigureGenerator("LineV",function(ne,a,b){var E=new go.Geometry(go.Geometry.Line);return E.startX=a/2,E.startY=0,E.endX=a/2,E.endY=b,E}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,b/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,b/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,b)))}),go.Shape.defineFigureGenerator("XLine",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,b,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,b)))}),go.Shape.defineFigureGenerator("LineRight",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*b)).add(new go.PathSegment(go.PathSegment.Line,.25*a,b)))}),go.Shape.defineFigureGenerator("LineDown",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,.25*b,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*b)).add(new go.PathSegment(go.PathSegment.Line,a,.25*b)))}),go.Shape.defineFigureGenerator("LineLeft",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*b)).add(new go.PathSegment(go.PathSegment.Line,.75*a,b)))}),go.Shape.defineFigureGenerator("LineUp",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,.75*b,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*b)).add(new go.PathSegment(go.PathSegment.Line,a,.75*b)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ne,a,b){var E=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(E*a,(1-E)*b,!1).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,E*b)).add(new go.PathSegment(go.PathSegment.Move,E*a,E*b)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,(1-E)*b)).add(new go.PathSegment(go.PathSegment.Move,0,b/2)).add(new go.PathSegment(go.PathSegment.Line,a,b/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,b)))}),go.Shape.defineFigureGenerator("CircleLine",function(ne,a,b){var E=a/2,y=new go.Geometry().add(new go.PathFigure(a,a/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,E,E,E,E).close()));return y.spot1=pe,y.spot2=Oe,y.defaultStretch=go.GraphObject.Uniform,y}),go.Shape.defineFigureGenerator("Line1",function(ne,a,b){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=0,E.endX=a,E.endY=b,E}),go.Shape.defineFigureGenerator("Line2",function(ne,a,b){var E=new go.Geometry(go.Geometry.Line);return E.startX=a,E.startY=0,E.endX=0,E.endY=b,E}),go.Shape.defineFigureGenerator("Curve1",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,b,ce*a,0,a,(1-ce)*b)))}),go.Shape.defineFigureGenerator("Curve2",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,b,0,ce*b,(1-ce)*a,b)))}),go.Shape.defineFigureGenerator("Curve3",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,b,a,ce*b,ce*a,b)))}),go.Shape.defineFigureGenerator("Curve4",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,b,(1-ce)*a,0,0,(1-ce)*b)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,b)).add(new go.PathSegment(go.PathSegment.Line,0,b).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,b)).add(new go.PathSegment(go.PathSegment.Line,0,b).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,b).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ke("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)?E=.1:E<-1?E=-1:E>1&&(E=1);var y=Math.abs(E)*a;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=b,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,b)).add(new go.PathSegment(go.PathSegment.Line,0,b).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,b)).add(new go.PathSegment(go.PathSegment.Line,y,b).close())),y<a/2&&x.setSpots(y/a,0,(a-y)/a,1),x}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new ke("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)?E=10:E<-a?E=-a:E>a&&(E=a);var y=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=b,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,b)).add(new go.PathSegment(go.PathSegment.Line,0,b).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,b)).add(new go.PathSegment(go.PathSegment.Line,y,b).close())),y<a/2&&x.setSpots(y/a,0,(a-y)/a,1),x}}),go.Shape.setFigureParameter("Trapezoid1",0,new ke("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)?E=.2:E<.5?E=-.5:E>.5&&(E=.5);var y=Math.abs(E)*a;if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=b,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,b)).add(new go.PathSegment(go.PathSegment.Line,0,b).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,b)).add(new go.PathSegment(go.PathSegment.Line,y,b).close())),y<a/2&&x.setSpots(y/a,0,(a-y)/a,1),x}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new ke("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)?E=20:E<-a?E=-a/2:E>a&&(E=a/2);var y=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=b,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,b)).add(new go.PathSegment(go.PathSegment.Line,0,b).close())):x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,b)).add(new go.PathSegment(go.PathSegment.Line,y,b).close())),y<a/2&&x.setSpots(y/a,0,(a-y)/a,1),x}}),go.Shape.setFigureParameter("ManualOperation",0,new ke("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)?E=10:E<-a?E=-a/2:E>a&&(E=a/2);var y=Math.abs(E);if(E===0){var x=new go.Geometry(go.Geometry.Rectangle);return x.startX=0,x.startY=0,x.endX=a,x.endY=b,x}else{var x=new go.Geometry;return E>0?x.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-y,b)).add(new go.PathSegment(go.PathSegment.Line,y,b).close())):x.add(new go.PathFigure(y,0).add(new go.PathSegment(go.PathSegment.Line,a-y,0)).add(new go.PathSegment(go.PathSegment.Line,a,b)).add(new go.PathSegment(go.PathSegment.Line,0,b).close())),y<a/2&&x.setSpots(y/a,0,(a-y)/a,1),x}});var _e=[];function Ee(){var ne=_e.pop();return ne===void 0?[]:ne}function Ne(ne){ne.length=0,_e.push(ne)}function we(ne){for(var a=Ee(),b=.5,E=.5,y=Math.PI*1.5,x=0,z=0;z<ne;z++)x=2*Math.PI/ne*z+y,a[z]=new go.Point(E+b*Math.cos(x),E+b*Math.sin(x));return a.push(a[0]),a}function Le(ne){var a=De(ne),b=Ee();b[0]=a[0];for(var E=1,y=1;E<a.length;E+=2,y+=3)b[y]=a[E],b[y+1]=a[E],b[y+2]=a[E+1];return Ne(a),b}function De(ne){for(var a=we(ne),b=Ee(),E=Math.floor(a.length/2),y=a.length-1,x=ne%2===0?2:1,z=0;z<y;z++){var ee=a[z],te=a[z+1],oe=a[(E+z-1)%y],le=a[(E+z+x)%y];b[z*2]=ee,b[z*2+1]=Ve(ee.x,ee.y,oe.x,oe.y,te.x,te.y,le.x,le.y,new go.Point)}return b[b.length]=b[0],Ne(a),b}go.Shape.defineFigureGenerator("Pentagon",function(ne,a,b){var E=we(5),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<5;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.2,.22),y.spot2=new go.Spot(.8,.9),y}),go.Shape.defineFigureGenerator("Hexagon",function(ne,a,b){var E=we(6),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<6;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.07,.25),y.spot2=new go.Spot(.93,.75),y}),go.Shape.defineFigureGenerator("Heptagon",function(ne,a,b){var E=we(7),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<7;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.2,.15),y.spot2=new go.Spot(.8,.85),y}),go.Shape.defineFigureGenerator("Octagon",function(ne,a,b){var E=we(8),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<8;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.15,.15),y.spot2=new go.Spot(.85,.85),y}),go.Shape.defineFigureGenerator("Nonagon",function(ne,a,b){var E=we(9),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<9;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.17,.13),y.spot2=new go.Spot(.82,.82),y}),go.Shape.defineFigureGenerator("Decagon",function(ne,a,b){var E=we(10),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<10;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("Dodecagon",function(ne,a,b){var E=we(12),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<12;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.16,.16),y.spot2=new go.Spot(.84,.84),y}),go.Shape.defineFigureGenerator("FivePointedStar",function(ne,a,b){var E=De(5),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<10;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.266,.333),y.spot2=new go.Spot(.733,.733),y}),go.Shape.defineFigureGenerator("SixPointedStar",function(ne,a,b){var E=De(6),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<12;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.17,.25),y.spot2=new go.Spot(.83,.75),y}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ne,a,b){var E=De(7),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<14;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("EightPointedStar",function(ne,a,b){var E=De(8),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<16;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.25,.25),y.spot2=new go.Spot(.75,.75),y}),go.Shape.defineFigureGenerator("NinePointedStar",function(ne,a,b){var E=De(9),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<18;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.666),y}),go.Shape.defineFigureGenerator("TenPointedStar",function(ne,a,b){var E=De(10),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<20;z++)x.add(new go.PathSegment(go.PathSegment.Line,E[z].x*a,E[z].y*b));return x.add(new go.PathSegment(go.PathSegment.Line,E[0].x*a,E[0].y*b).close()),Ne(E),y.spot1=new go.Spot(.281,.261),y.spot2=new go.Spot(.723,.748),y}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ne,a,b){var E=Le(5),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<E.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,E[z+2].x*a,E[z+2].y*b,E[z].x*a,E[z].y*b,E[z+1].x*a,E[z+1].y*b));return x.segments.last().close(),Ne(E),y.spot1=new go.Spot(.222,.277),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ne,a,b){var E=Le(6),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<E.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,E[z+2].x*a,E[z+2].y*b,E[z].x*a,E[z].y*b,E[z+1].x*a,E[z+1].y*b));return x.segments.last().close(),Ne(E),y.spot1=new go.Spot(.17,.222),y.spot2=new go.Spot(.833,.777),y}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ne,a,b){var E=Le(7),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<E.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,E[z+2].x*a,E[z+2].y*b,E[z].x*a,E[z].y*b,E[z+1].x*a,E[z+1].y*b));return x.segments.last().close(),Ne(E),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ne,a,b){var E=Le(8),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<E.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,E[z+2].x*a,E[z+2].y*b,E[z].x*a,E[z].y*b,E[z+1].x*a,E[z+1].y*b));return x.segments.last().close(),Ne(E),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ne,a,b){var E=Le(9),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<E.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,E[z+2].x*a,E[z+2].y*b,E[z].x*a,E[z].y*b,E[z+1].x*a,E[z+1].y*b));return x.segments.last().close(),Ne(E),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ne,a,b){var E=Le(10),y=new go.Geometry,x=new go.PathFigure(E[0].x*a,E[0].y*b,!0);y.add(x);for(var z=1;z<E.length;z+=3)x.add(new go.PathSegment(go.PathSegment.Bezier,E[z+2].x*a,E[z+2].y*b,E[z].x*a,E[z].y*b,E[z+1].x*a,E[z+1].y*b));return x.segments.last().close(),Ne(E),y.spot1=new go.Spot(.222,.222),y.spot2=new go.Spot(.777,.777),y}),go.Shape.setFigureParameter("FramedRectangle",0,new ke("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new ke("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ne,a,b){var E=ne?ne.parameter1:NaN,y=ne?ne.parameter2:NaN;isNaN(E)&&(E=8),isNaN(y)&&(y=8);var x=new go.Geometry,z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b).close()),E<a/2&&y<b/2&&(z.add(new go.PathSegment(go.PathSegment.Move,E,y)),z.add(new go.PathSegment(go.PathSegment.Line,E,b-y)),z.add(new go.PathSegment(go.PathSegment.Line,a-E,b-y)),z.add(new go.PathSegment(go.PathSegment.Line,a-E,y).close())),x.setSpots(0,0,1,1,E,y,-E,-y),x}),go.Shape.setFigureParameter("Ring",0,new ke("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ne,a,b){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=8);var y=a/2,x=new go.Geometry,z=new go.PathFigure(a,a/2,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,0,360,y,y,y,y).close());var ee=Math.max(y-E,0);return ee>0&&(z.add(new go.PathSegment(go.PathSegment.Move,a/2+ee,a/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y,y,ee,ee).close())),x.spot1=pe,x.spot2=Oe,x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Cloud",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*b,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*b,-.09239631*a,.07836421*b,.1406031*a,-.0542823*b)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*b,.2450511*a,-.00697547*b,.3776197*a,-.01112067*b)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*b,.4539471*a,0,.6066018*a,-.02526587*b)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*b,.6914277*a,-.01904177*b,.8921095*a,-.01220843*b)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*b,1.036446*a,.04105738*b,1.020377*a,.3022052*b)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*b,1.04448*a,.360238*b,.992256*a,.5219009*b)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*b,1.032337*a,.5771781*b,1.018411*a,.8120651*b)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*b,1.028411*a,.9571472*b,.8556702*a,1.052487*b)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*b,.7431877*a,1.009325*b,.5624123*a,1.021761*b)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*b,.4820677*a,1.031761*b,.3030112*a,1.002796*b)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*b,.2329994*a,1.01518*b,.03213784*a,1.01518*b)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*b,-.02812061*a,.9032597*b,-.01205169*a,.6835638*b)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*b,-.01812061*a,.6089503*b,-.00606892*a,.4555777*b)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*b,-.01606892*a,.3892545*b,-.01205169*a,.1944299*b))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ne,a,b){var E=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(E*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,E*b)).add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*b)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,b)).add(new go.PathSegment(go.PathSegment.Line,E*a,b)).add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*b)).add(new go.PathSegment(go.PathSegment.Line,0,E*b).close())).setSpots(E/2,E/2,1-E/2,1-E/2)}),go.Shape.setFigureParameter("Pie",0,new ke("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ke("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ne,a,b){var E=ne?ne.parameter1:NaN,y=ne?ne.parameter2:NaN;isNaN(E)&&(E=0),isNaN(y)&&(y=315);var x=E%360;x<0&&(x+=360);var z=y%360,ee=Math.min(a,b)/2;return new go.Geometry().add(new go.PathFigure(ee,ee).add(new go.PathSegment(go.PathSegment.Arc,x,z,ee,ee,ee,ee).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ne,a,b){var E=ce/Math.SQRT2*.5,y=Math.SQRT2/2,x=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,b,!0).add(new go.PathSegment(go.PathSegment.Bezier,y*a,x*b,a,(1-E)*b,(y+E)*a,(x+E)*b)).add(new go.PathSegment(go.PathSegment.Line,0,b).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ke("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ne,a,b){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=30);var y=Math.min(E,a)/2,x=a/2,z=b/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,b)).add(new go.PathSegment(go.PathSegment.Line,x-y,b)).add(new go.PathSegment(go.PathSegment.Line,x-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,z-y).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ke("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ne,a,b){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var y=Math.min(E,a)/2,x=a/2,z=b/2;return new go.Geometry().add(new go.PathFigure(x-y,0,!0).add(new go.PathSegment(go.PathSegment.Line,x+y,0)).add(new go.PathSegment(go.PathSegment.Line,x+y,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z-y)).add(new go.PathSegment(go.PathSegment.Line,a,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,z+y)).add(new go.PathSegment(go.PathSegment.Line,x+y,b)).add(new go.PathSegment(go.PathSegment.Line,x-y,b)).add(new go.PathSegment(go.PathSegment.Line,x-y,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z+y)).add(new go.PathSegment(go.PathSegment.Line,0,z-y)).add(new go.PathSegment(go.PathSegment.Line,x-y,z-y).close()))}),go.Shape.setFigureParameter("ThickX",0,new ke("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ne,a,b){var E=ne?ne.parameter1:NaN;if((isNaN(E)||E<0)&&(E=30),a===0||b===0){var y=new go.Geometry(go.Geometry.Rectangle);return y.startX=0,y.startY=0,y.endX=a,y.endY=b,y}else{var x=a/2,z=b/2,ee=Math.atan2(b,a),te=E-Math.min(Math.cos(ee)*E/2,x),oe=E-Math.min(Math.sin(ee)*E/2,z),y=new go.Geometry,le=new go.PathFigure(te,0,!0);return y.add(le),le.add(new go.PathSegment(go.PathSegment.Line,x,.2*b)),le.add(new go.PathSegment(go.PathSegment.Line,a-te,0)),le.add(new go.PathSegment(go.PathSegment.Line,a,oe)),le.add(new go.PathSegment(go.PathSegment.Line,.8*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,a,b-oe)),le.add(new go.PathSegment(go.PathSegment.Line,a-te,b)),le.add(new go.PathSegment(go.PathSegment.Line,x,.8*b)),le.add(new go.PathSegment(go.PathSegment.Line,te,b)),le.add(new go.PathSegment(go.PathSegment.Line,0,b-oe)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,0,oe).close()),y}}),go.Shape.setFigureParameter("ThinX",0,new ke("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ne,a,b){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var y=new go.Geometry,x=new go.PathFigure(.1*a,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*b)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,.1*b)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,.9*b)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,b)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*b)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,.9*b)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*b)),x.add(new go.PathSegment(go.PathSegment.Line,0,.1*b).close()),y}),go.Shape.setFigureParameter("SquareIBeam",0,new ke("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.2);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,E*b)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*a,E*b)),x.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*a,(1-E)*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*b)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*a,(1-E)*b)),x.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*a,E*b)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*b).close()),y}),go.Shape.setFigureParameter("RoundedIBeam",0,new ke("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.5);var y=new go.Geometry,x=new go.PathFigure(0,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,b,Math.abs(1-E)*a,.25*b,Math.abs(1-E)*a,.75*b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*a,.75*b,E*a,.25*b).close()),y}),go.Shape.defineFigureGenerator("HalfEllipse",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*b,ce*a,0,a,(.5-ce/2)*b)).add(new go.PathSegment(go.PathSegment.Bezier,0,b,a,(.5+ce/2)*b,ce*a,b).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,b,a,0,a,b)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*b,.5*a,.25*b).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(.5*a,b,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*b,.1*a,.8*b,0,.5*b)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*b,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*b,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,b,a,.5*b,.9*a,.8*b).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*b)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*b,.6*a,.2*b,a,.25*b)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*b,a,.8*b,.6*a,.8*b)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,b,.5*a,.75*b,.55*a,.95*b)).add(new go.PathSegment(go.PathSegment.Line,.25*a,b)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*b,.45*a,.95*b,.5*a,.75*b)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*b,.4*a,.8*b,0,.8*b)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*b,0,.25*b,.4*a,.2*b).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.4*a,.6*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,b,.5*a,.75*b,.45*a,.95*b)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*b,.55*a,.95*b,.5*a,.75*b));var x=.2,z=.3,ee=0,te=x*ce;return y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+ee)*b,(.5-x+z)*a,(.5+te+ee)*b,(.5-te+z)*a,(.5+x+ee)*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+ee)*b,(.5+te+z)*a,(.5+x+ee)*b,(.5+x+z)*a,(.5+te+ee)*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*b,(1-.5+x+z)*a,(.5-te+ee)*b,(.5+te+z)*a,(.5-x+ee)*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*b,(.5-te+z)*a,(.5-x+ee)*b,(.5-x+z+.05)*a,(.5-te+ee-.02)*b)),x=.2,z=0,ee=-.3,te=x*ce,y.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+x+z)*a,(.5+ee)*b,(.5+te+z)*a,(.5+x+ee)*b,(.5+x+z)*a,(.5+te+ee)*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*b,(1-.5+x+z)*a,(.5-te+ee)*b,(.5+te+z)*a,(.5-x+ee)*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+ee)*b,(.5-te+z)*a,(.5-x+ee)*b,(.5-x+z)*a,(.5-te+ee)*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-te+z)*a,(.5+x+ee)*b,(.5-x+z)*a,(.5+te+ee)*b,(.5-te+z)*a,(.5+x+ee)*b)),x=.2,z=-.3,ee=0,te=x*ce,y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5-x+ee)*b,(1-.5+x+z-.05)*a,(.5-te+ee-.02)*b,(.5+te+z)*a,(.5-x+ee)*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5-x+z)*a,(.5+ee)*b,(.5-te+z)*a,(.5-x+ee)*b,(.5-x+z)*a,(.5-te+ee)*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*a,(.5+x+ee)*b,(.5-x+z)*a,(.5+te+ee)*b,(.5-te+z)*a,(.5+x+ee)*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*b,(.5+te+z)*a,(.5+x+ee)*b,(.5+x+z)*a,(.5+te+ee)*b).close()),E.setSpots(.06,.33,.93,.68),E}),go.Shape.defineFigureGenerator("YinYang",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a*.5,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),y.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var x=.1,z=.5,ee=.25;return y.add(new go.PathSegment(go.PathSegment.Move,(z+x)*a,ee*b)),y.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*z,b*ee,x*a,x*a).close()),y=new go.PathFigure(a*.5,0,!1),E.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ee=.75,y=new go.PathFigure((z+x)*a,ee*b,!0),E.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*z,b*ee,x*a,x*a).close()),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Peace",function(ne,a,b){var E=.8535533905932737,y=.5*a,x=.5*b;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,y,x,y,x)).add(new go.PathSegment(go.PathSegment.Line,y,b)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,E*b)).add(new go.PathSegment(go.PathSegment.Move,y,x)).add(new go.PathSegment(go.PathSegment.Line,E*a,E*b)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ne,a,b){var E=new go.Geometry,y=ce*.5,x=.5,z=.5,ee=.5,te=new go.PathFigure(z*a,(ee-x)*b);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*b,(z-y)*a,(ee-x)*b,(z-x)*a,(ee-y)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*b,(z-x)*a,(ee+y)*b,(z-y)*a,(ee+x)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*b,(z+y)*a,(ee+x)*b,(z+x)*a,(ee+y)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*b,(z+x)*a,(ee-y)*b,(z+y)*a,(ee-x)*b)),x=.4,y=ce*.4;var oe=ge(),le=ge(),de=ge(),Pe=ge();qe(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.42,oe,le,de,Pe,Pe);var ve=ge(),se=ge(),Ie=ge();qe(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.58,Pe,Pe,Ie,ve,se);var Ye=ge(),Te=ge(),be=ge();qe(z,ee+x,z-y,ee+x,z-x,ee+y,z-x,ee,.42,Ye,Te,be,Pe,Pe);var me=ge(),Ge=ge(),He=ge();return qe(z,ee+x,z-y,ee+x,z-x,ee+y,z-x,ee,.58,Pe,Pe,He,me,Ge),te.add(new go.PathSegment(go.PathSegment.Move,He.x*a,He.y*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*b,me.x*a,me.y*b,Ge.x*a,Ge.y*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*b,(z-x)*a,(ee-y)*b,(z-y)*a,(ee-x)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,de.x*a,de.y*b,oe.x*a,oe.y*b,le.x*a,le.y*b)),te.add(new go.PathSegment(go.PathSegment.Line,He.x*a,He.y*b).close()),te.add(new go.PathSegment(go.PathSegment.Move,be.x*a,be.y*b)),te.add(new go.PathSegment(go.PathSegment.Line,Ie.x*a,Ie.y*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*b,ve.x*a,ve.y*b,se.x*a,se.y*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*b,(z+x)*a,(ee+y)*b,(z+y)*a,(ee+x)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,be.x*a,be.y*b,Ye.x*a,Ye.y*b,Te.x*a,Te.y*b).close()),ie(oe),ie(le),ie(de),ie(Pe),ie(ve),ie(se),ie(Ie),ie(Ye),ie(Te),ie(be),ie(me),ie(Ge),ie(He),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Fragile",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*b)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*b)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*b)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*b)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*b)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*b,a,.25*b,.75*a,.5*b)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*b)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*b)).add(new go.PathSegment(go.PathSegment.Line,.7*a,b)).add(new go.PathSegment(go.PathSegment.Line,.3*a,b)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*b)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*b)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*b)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*b,0,.25*b).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ke("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ne,a,b){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=30),E>a&&(E=a);var y=(a-E)/2,x=y+E;return new go.Geometry().add(new go.PathFigure(x,.5*b).add(new go.PathSegment(go.PathSegment.Line,a,b)).add(new go.PathSegment(go.PathSegment.Line,0,b)).add(new go.PathSegment(go.PathSegment.Line,y,.5*b)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,.55*b).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*b)).add(new go.PathSegment(go.PathSegment.Line,a,.45*b)).add(new go.PathSegment(go.PathSegment.Line,.4*a,b)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*b).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ne,a,b){var E=new go.Geometry,y=ce*.4,x=.4,z=.5,ee=.5,te=ge(),oe=ge(),le=ge(),de=ge(),Pe=new go.PathFigure((z-x)*a,ee*b,!1);E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*b,(z-x)*a,(ee-y)*b,(z-y)*a,(ee-x)*b)),qe(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.44,le,de,oe,te,te),Pe.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*b,le.x*a,le.y*b,de.x*a,de.y*b));var ve=re(oe.x,oe.y);qe(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.56,te,te,oe,le,de);var se=re(oe.x,oe.y);Pe.add(new go.PathSegment(go.PathSegment.Line,(ve.x*.1+.95*.9)*a,ve.y*.1*b)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,ve.y*.1*b)),Pe.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,a,0)),Pe.add(new go.PathSegment(go.PathSegment.Line,a,.15*b)),Pe.add(new go.PathSegment(go.PathSegment.Line,(se.x*.1+.9)*a,.15*b)),Pe.add(new go.PathSegment(go.PathSegment.Line,(se.x*.1+.9)*a,(se.y*.1+.05*.9)*b)),Pe.add(new go.PathSegment(go.PathSegment.Line,se.x*a,se.y*b)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*b,le.x*a,le.y*b,de.x*a,de.y*b)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*b,(z+x)*a,(ee+y)*b,(z+y)*a,(ee+x)*b)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*b,(z-y)*a,(ee+x)*b,(z-x)*a,(ee+y)*b)),x=.35,y=ce*.35;var Ie=new go.PathFigure(z*a,(ee-x)*b,!1);E.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*b,(z-y)*a,(ee-x)*b,(z-x)*a,(ee-y)*b)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*b,(z-x)*a,(ee+y)*b,(z-y)*a,(ee+x)*b)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*b,(z+y)*a,(ee+x)*b,(z+x)*a,(ee+y)*b)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*b,(z+x)*a,(ee-y)*b,(z+y)*a,(ee-x)*b));var Ye=new go.PathFigure((z-x)*a,ee*b,!1);return E.add(Ye),ie(te),ie(oe),ie(le),ie(de),ie(ve),ie(se),E.spot1=new go.Spot(.202,.257),E.spot2=new go.Spot(.792,.739),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("GenderFemale",function(ne,a,b){var E=new go.Geometry,y=.375,x=0,z=-.125,ee=y*ce,te=new go.PathFigure((.525+x)*a,(.5+y+z)*b,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*a,(.5+z)*b,(.5+ee+x)*a,(.5+y+z)*b,(.5+y+x)*a,(.5+ee+z)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-y+z)*b,(1-.5+y+x)*a,(.5-ee+z)*b,(.5+ee+x)*a,(.5-y+z)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*b,(.5-ee+x)*a,(.5-y+z)*b,(.5-y+x)*a,(.5-ee+z)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.475+x)*a,(.5+y+z)*b,(.5-y+x)*a,(.5+ee+z)*b,(.5-ee+x)*a,(.5+y+z)*b)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*b)),te.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*b)),te.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*b)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*b)),te.add(new go.PathSegment(go.PathSegment.Line,.475*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,b)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*b)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*b)),te.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*b)),te.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*b).close()),y=.325,x=0,z=-.125,ee=y*ce;var te=new go.PathFigure((1-.5+y+x)*a,(.5+z)*b,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5+y+z)*b,(.5+y+x)*a,(.5+ee+z)*b,(.5+ee+x)*a,(.5+y+z)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*b,(.5-ee+x)*a,(.5+y+z)*b,(.5-y+x)*a,(.5+ee+z)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(.5+x)*a,(.5-y+z)*b,(.5-y+x)*a,(.5-ee+z)*b,(.5-ee+x)*a,(.5-y+z)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+y+x)*a,(.5+z)*b,(.5+ee+x)*a,(.5-y+z)*b,(1-.5+y+x)*a,(.5-ee+z)*b));var te=new go.PathFigure((.525+x)*a,(.5+y+z)*b,!1);return E.add(te),E.spot1=new go.Spot(.232,.136),E.spot2=new go.Spot(.682,.611),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicImplies",function(ne,a,b){var E=ne?ne.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*b)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,b)).add(new go.PathSegment(go.PathSegment.Move,0,.5*b)).add(new go.PathSegment(go.PathSegment.Line,a,.5*b))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ne,a,b){var E=ne?ne.parameter1:NaN;return isNaN(E)&&(E=.2),new go.Geometry().add(new go.PathFigure((1-E)*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,.5*b)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,b)).add(new go.PathSegment(go.PathSegment.Move,0,.5*b)).add(new go.PathSegment(go.PathSegment.Line,a,.5*b)).add(new go.PathSegment(go.PathSegment.Move,E*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*b)).add(new go.PathSegment(go.PathSegment.Line,E*a,b))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,b,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,b)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ne,a,b){var E=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,b)).add(new go.PathSegment(go.PathSegment.Move,0,.5*b)).add(new go.PathSegment(go.PathSegment.Line,a,.5*b)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*b,.5*a,.5*b)));return E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicTruth",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,b)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,b,!1).add(new go.PathSegment(go.PathSegment.Line,a,b)).add(new go.PathSegment(go.PathSegment.Move,.5*a,b)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*b)).add(new go.PathSegment(go.PathSegment.Line,0,.5*b)).add(new go.PathSegment(go.PathSegment.Move,a,.5*b)).add(new go.PathSegment(go.PathSegment.Line,a,b)).add(new go.PathSegment(go.PathSegment.Line,0,b)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,b)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*b)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*b))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*b)).add(new go.PathSegment(go.PathSegment.Line,a,.5*b)).add(new go.PathSegment(go.PathSegment.Move,0,b)).add(new go.PathSegment(go.PathSegment.Line,a,b))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ne,a,b){var E=.5;return new go.Geometry().add(new go.PathFigure(0,b,!1).add(new go.PathSegment(go.PathSegment.Line,0,E*b)).add(new go.PathSegment(go.PathSegment.Arc,180,180,E*a,E*b,E*a,E*b)).add(new go.PathSegment(go.PathSegment.Line,a,b))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ne,a,b){var E=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,E*b)).add(new go.PathSegment(go.PathSegment.Arc,0,180,E*a,E*b,E*a,E*b)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ke("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ke("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.3);var y=ne?ne.parameter2:NaN;isNaN(y)&&(y=.3);var x=(1-E)*a,z=(.5-y/2)*b,ee=(.5+y/2)*b,te=new go.Geometry,oe=new go.PathFigure(0,z,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),oe.add(new go.PathSegment(go.PathSegment.Line,x,b)),oe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),te.spot1=new go.Spot(0,z/b);var le=Ve(0,ee/b,1,ee/b,x/a,1,1,.5,ge());return te.spot2=new go.Spot(le.x,le.y),ie(le),te}),go.Shape.setFigureParameter("Arrow2",0,new ke("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ke("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=30),E>a&&(E=a);var y=ne?ne.parameter2:NaN;isNaN(y)&&(y=30),y=Math.min(y,b/2);var x=a-E,z=(b-y)/2,ee=z+y,te=new go.Geometry,oe=new go.PathFigure(0,z,!0);te.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x,z)),oe.add(new go.PathSegment(go.PathSegment.Line,x,0)),oe.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),oe.add(new go.PathSegment(go.PathSegment.Line,x,b)),oe.add(new go.PathSegment(go.PathSegment.Line,x,ee)),oe.add(new go.PathSegment(go.PathSegment.Line,0,ee).close()),te.spot1=new go.Spot(0,z/b);var le=Ve(0,ee/b,1,ee/b,x/a,1,1,.5,ge());return te.spot2=new go.Spot(le.x,le.y),ie(le),te}),go.Shape.defineFigureGenerator("Chevron",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*b).close()),E}),go.Shape.defineFigureGenerator("DoubleArrow",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*b)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*b)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,1*b).close()),E}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ke("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.3);var y=(.5-E/2)*b,x=(.5+E/2)*b,z=new go.Geometry,ee=new go.PathFigure(a,.5*b,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*b)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var te=Ve(0,.5,.3,0,0,y/b,.1,y/b,ge());return z.spot1=new go.Spot(te.x,te.y),te=Ve(.7,1,1,.5,0,x/b,1,x/b,te),z.spot2=new go.Spot(te.x,te.y),ie(te),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ke("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ke("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=40);var y=ne?ne.parameter2:NaN;isNaN(y)&&(y=100);var x=(b-E)/2,z=x+E,ee=(b-y)/2,te=ee+y;(E>b||y>b)&&(y>E?(E=E*b/y,x=(b-E)/2,z=x+E,ee=0,te=b):(x=0,z=b,ee=0,te=b));var oe=new go.Geometry,le=new go.PathFigure(a,.5*b,!0);oe.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,0,.5*b)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.3*a,x)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close());var de=Ve(0,.5,.3,ee/b,0,x/b,1,x/b,ge());return oe.spot1=new go.Spot(de.x,de.y),de=Ve(.7,te/b,1,.5,0,z/b,1,z/b,de),oe.spot2=new go.Spot(de.x,de.y),ie(de),oe}),go.Shape.setFigureParameter("IBeamArrow",0,new ke("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.3);var y=(.5-E/2)*b,x=(.5+E/2)*b,z=new go.Geometry,ee=new go.PathFigure(a,.5*b,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(0,y/b);var te=Ve(.7,1,1,.5,0,x/b,1,x/b,ge());return z.spot2=new go.Spot(te.x,te.y),ie(te),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ke("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ke("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=40);var y=ne?ne.parameter2:NaN;isNaN(y)&&(y=100);var x=(b-E)/2,z=x+E,ee=(b-y)/2,te=ee+y;(E>b||y>b)&&(y>E?(E=E*b/y,x=(b-E)/2,z=x+E,ee=0,te=b):(x=0,z=b,ee=0,te=b));var oe=new go.Geometry,le=new go.PathFigure(a,.5*b,!0);oe.add(le),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,z)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,te)),le.add(new go.PathSegment(go.PathSegment.Line,0,te)),le.add(new go.PathSegment(go.PathSegment.Line,0,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),le.add(new go.PathSegment(go.PathSegment.Line,.2*a,x)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),le.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee).close()),oe.spot1=new go.Spot(0,x/b);var de=Ve(.7,te/b,1,.5,0,z/b,1,z/b,ge());return oe.spot2=new go.Spot(de.x,de.y),ie(de),oe}),go.Shape.setFigureParameter("Pointer",0,new ke("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.1);var y=new go.Geometry,x=new go.PathFigure(a,.5*b,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,b)),x.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*b)),x.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),y.spot1=new go.Spot(E,.35);var z=Ve(.2,.65,1,.65,0,1,1,.5,ge());return y.spot2=new go.Spot(z.x,z.y),ie(z),y}),go.Shape.setFigureParameter("RoundedPointer",0,new ke("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.3);var y=new go.Geometry,x=new go.PathFigure(a,.5*b,!0);y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,b)),x.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*a,.75*b,E*a,.25*b).close()),y.spot1=new go.Spot(E,.35);var z=Ve(0,.65,1,.65,0,1,1,.5,ge());return y.spot2=new go.Spot(z.x,z.y),ie(z),y}),go.Shape.setFigureParameter("SplitEndArrow",0,new ke("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.4);var y=(.5-E/2)*b,x=(.5+E/2)*b,z=new go.Geometry,ee=new go.PathFigure(a,.5*b,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,.3);var te=Ve(.7,1,1,.5,0,x/b,1,x/b,ge());return z.spot2=new go.Spot(te.x,te.y),ie(te),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ke("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=50);var y=(b-E)/2,x=y+E;E>b&&(y=0,x=b);var z=new go.Geometry,ee=new go.PathFigure(a,.5*b,!0);z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,x)),ee.add(new go.PathSegment(go.PathSegment.Line,0,x)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*b)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),z.spot1=new go.Spot(.2,y/b);var te=Ve(.7,1,1,.5,0,x/b,1,x/b,ge());return z.spot2=new go.Spot(te.x,te.y),ie(te),z}),go.Shape.setFigureParameter("SquareArrow",0,new ke("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.7);var y=new go.Geometry,x=new go.PathFigure(a,.5*b,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,E*a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,E*a,0).close()),y.spot1=go.Spot.TopLeft,y.spot2=new go.Spot(E,1),y}),go.Shape.defineFigureGenerator("Cone1",function(ne,a,b){var E=new go.Geometry,y=ce*.5,x=ce*.1,z=new go.PathFigure(0,.9*b,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,b,a,(.9+x)*b,(.5+y)*a,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*b,(.5-y)*a,b,0,(.9+x)*b).close()),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.97),E}),go.Shape.defineFigureGenerator("Cone2",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.9*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*b,(1-.85/.9)*a,b,.85/.9*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.9*b).close());var x=new go.PathFigure(0,.9*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*b,(1-.85/.9)*a,.8*b,.85/.9*a,.8*b)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.82),E}),go.Shape.defineFigureGenerator("Cube1",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.5*a,b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.15*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*b).close());var x=new go.PathFigure(.5*a,b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*b)),x.add(new go.PathSegment(go.PathSegment.Line,0,.15*b)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,.15*b)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.5,.85),E}),go.Shape.defineFigureGenerator("Cube2",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.3*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var x=new go.PathFigure(0,.3*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*b)),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.7,1),E}),go.Shape.defineFigureGenerator("Cylinder1",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,b/3);var y=new go.Geometry,x=ce*.5,z=new go.PathFigure(0,E,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ce*E,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*a,E,(.5+x)*a,0,1*a,ce*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,b-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*b,1*a,b-ce*E,(.5+x)*a,1*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b-E,(.5-x)*a,1*b,0,b-ce*E)),z.add(new go.PathSegment(go.PathSegment.Line,0,E));var ee=new go.PathFigure(a,E,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*E,1*a,2*E-ce*E,(.5+x)*a,2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,E,(.5-x)*a,2*E,0,2*E-ce*E)),y.spot1=new go.Spot(0,0,0,2*E),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder2",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,b/3);var y=new go.Geometry,x=ce*.5,z=new go.PathFigure(0,b-E,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,ce*E,(.5-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,E,(.5+x)*a,0,a,ce*E)),z.add(new go.PathSegment(go.PathSegment.Line,a,b-E)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,b,a,b-ce*E,(.5+x)*a,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b-E,(.5-x)*a,b,0,b-ce*E));var ee=new go.PathFigure(0,b-E,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,b-2*E,0,b-E-ce*E,(.5-x)*a,b-2*E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,b-E,(.5+x)*a,b-2*E,a,b-E-ce*E)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,0,-2*E),y}),go.Shape.defineFigureGenerator("Cylinder3",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var y=new go.Geometry,x=ce*.5,z=new go.PathFigure(E,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a-E,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*b,a-ce*E,0,a,(.5-x)*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-E,b,a,(.5+x)*b,a-ce*E,b)),z.add(new go.PathSegment(go.PathSegment.Line,E,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*b,ce*E,b,0,(.5+x)*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*b,ce*E,0));var ee=new go.PathFigure(E,0,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,2*E,.5*b,E+ce*E,0,2*E,(.5-x)*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,b,2*E,(.5+x)*b,E+ce*E,b)),y.spot1=new go.Spot(0,0,2*E,0),y.spot2=new go.Spot(1,1),y}),go.Shape.defineFigureGenerator("Cylinder4",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var y=new go.Geometry,x=ce*.5,z=new go.PathFigure(a-E,0,!0);y.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*b,a-ce*E,0,a,(.5-x)*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-E,b,a,(.5+x)*b,a-ce*E,b)),z.add(new go.PathSegment(go.PathSegment.Line,E,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*b,ce*E,b,0,(.5+x)*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-x)*b,ce*E,0)),z.add(new go.PathSegment(go.PathSegment.Line,a-E,0));var ee=new go.PathFigure(a-E,0,!1);return y.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-2*E,.5*b,a-E-ce*E,0,a-2*E,(.5-x)*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,b,a-2*E,(.5+x)*b,a-E-ce*E,b)),y.spot1=new go.Spot(0,0),y.spot2=new go.Spot(1,1,-2*E,0),y}),go.Shape.defineFigureGenerator("Prism1",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.25*a,.25*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b).close());var x=new go.PathFigure(.25*a,.25*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),E.spot1=new go.Spot(.408,.172),E.spot2=new go.Spot(.833,.662),E}),go.Shape.defineFigureGenerator("Prism2",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.25*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*b)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b).close());var x=new go.PathFigure(0,b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*b)),x.add(new go.PathSegment(go.PathSegment.Move,0,.25*b)),x.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*b)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("Pyramid1",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*b).close());var x=new go.PathFigure(.5*a,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Pyramid2",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.85*b).close());var x=new go.PathFigure(.5*a,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*b)),x.add(new go.PathSegment(go.PathSegment.Line,0,.85*b)),x.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,.85*b)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Actor",function(ne,a,b){var E=new go.Geometry,y=.2,x=.1,z=ce*y,ee=ce*x,te=.5,oe=.1,le=new go.PathFigure(te*a,(oe+x)*b,!0);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-y)*a,oe*b,(te-z)*a,(oe+x)*b,(te-y)*a,(oe+ee)*b)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-x)*b,(te-y)*a,(oe-ee)*b,(te-z)*a,(oe-x)*b)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+y)*a,oe*b,(te+z)*a,(oe-x)*b,(te+y)*a,(oe-ee)*b)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe+x)*b,(te+y)*a,(oe+ee)*b,(te+z)*a,(oe+x)*b));var de=.05,Pe=ce*de;te=.05,oe=.25;var ve=new go.PathFigure(.5*a,.2*b,!0);return E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*b)),te=.95,oe=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,(te+de)*a,oe*b,(te+Pe)*a,(oe-de)*b,(te+de)*a,(oe-Pe)*b)),ve.add(new go.PathSegment(go.PathSegment.Line,a,.6*b)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*b)),ve.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*b)),de=.025,Pe=ce*de,te=.825,oe=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-de)*b,(te+de)*a,(oe-Pe)*b,(te+Pe)*a,(oe-de)*b)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-de)*a,oe*b,(te-Pe)*a,(oe-de)*b,(te-de)*a,(oe-Pe)*b)),ve.add(new go.PathSegment(go.PathSegment.Line,.8*a,b)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,b)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*b)),de=.05,Pe=ce*de,te=.5,oe=.7,ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-de)*b,(te+de)*a,(oe-Pe)*b,(te+Pe)*a,(oe-de)*b)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-de)*a,oe*b,(te-Pe)*a,(oe-de)*b,(te-de)*a,(oe-Pe)*b)),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,b)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ve.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*b)),de=.025,Pe=ce*de,te=.175,oe=.35,ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-de)*b,(te+de)*a,(oe-Pe)*b,(te+Pe)*a,(oe-de)*b)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-de)*a,oe*b,(te-Pe)*a,(oe-de)*b,(te-de)*a,(oe-Pe)*b)),ve.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*b)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.6*b)),ve.add(new go.PathSegment(go.PathSegment.Line,0,.25*b)),de=.05,Pe=ce*de,te=.05,oe=.25,ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-de)*b,(te-de)*a,(oe-Pe)*b,(te-Pe)*a,(oe-de)*b)),ve.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*b)),E.spot1=new go.Spot(.2,.2),E.spot2=new go.Spot(.8,.65),E}),go.Shape.setFigureParameter("Card",0,new ke("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ne,a,b){var E=ne?ne.parameter1:NaN;isNaN(E)&&(E=.2);var y=new go.Geometry,x=new go.PathFigure(a,0,!0);return y.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,E*b)),x.add(new go.PathSegment(go.PathSegment.Line,E*a,0).close()),y.spot1=new go.Spot(0,E),y.spot2=go.Spot.BottomRight,y}),go.Shape.defineFigureGenerator("Collate",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.5*a,.5*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*b));var x=new go.PathFigure(.5*a,.5*b,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*b)),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,.25),E}),go.Shape.defineFigureGenerator("CreateRequest",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b).close());var z=new go.PathFigure(0,y*b,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*b)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*b)),E}),go.Shape.defineFigureGenerator("Database",function(ne,a,b){var E=new go.Geometry,y=ce*.5,x=ce*.1,z=new go.PathFigure(a,.1*b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,b,a,(.9+x)*b,(.5+y)*a,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*b,(.5-y)*a,b,0,(.9+x)*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*b,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*b,(.5+y)*a,0,a,(.1-x)*b));var ee=new go.PathFigure(a,.1*b,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*b,a,(.1+x)*b,(.5+y)*a,.2*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*b,(.5-y)*a,.2*b,0,(.1+x)*b)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*b,a,(.2+x)*b,(.5+y)*a,.3*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*b,(.5-y)*a,.3*b,0,(.2+x)*b)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.3*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*b,a,(.3+x)*b,(.5+y)*a,.4*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*b,(.5-y)*a,.4*b,0,(.3+x)*b)),E.spot1=new go.Spot(0,.4),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("DataStorage",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,b,a,0,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*b,.25*a,.1*b).close()),E.spot1=new go.Spot(.226,0),E.spot2=new go.Spot(.81,1),E}),go.Shape.defineFigureGenerator("DiskStorage",function(ne,a,b){var E=new go.Geometry,y=ce*.5,x=ce*.1,z=new go.PathFigure(a,.1*b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,b,a,(.9+x)*b,(.5+y)*a,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*b,(.5-y)*a,b,0,(.9+x)*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-x)*b,(.5-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*b,(.5+y)*a,0,a,(.1-x)*b));var ee=new go.PathFigure(a,.1*b,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*b,a,(.1+x)*b,(.5+y)*a,.2*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*b,(.5-y)*a,.2*b,0,(.1+x)*b)),ee.add(new go.PathSegment(go.PathSegment.Move,a,.2*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*b,a,(.2+x)*b,(.5+y)*a,.3*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*b,(.5-y)*a,.3*b,0,(.2+x)*b)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("Display",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,b,a,0,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*b).close()),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("DividedEvent",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN;isNaN(y)?y=.2:y<.15&&(y=.15);var x=ce*.2,z=new go.PathFigure(0,.2*b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-x)*b,(.2-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*b,(.8+x)*a,0,a,(.2-x)*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,.8*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,b,a,(.8+x)*b,(.8+x)*a,b)),z.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*b,(.2-x)*a,b,0,(.8+x)*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*b));var ee=new go.PathFigure(0,y*b,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y*b)),E}),go.Shape.defineFigureGenerator("DividedProcess",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN;(isNaN(y)||y<.1)&&(y=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b).close());var z=new go.PathFigure(0,y*b,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,y*b)),E}),go.Shape.defineFigureGenerator("Document",function(ne,a,b){var E=new go.Geometry;b=b/.8;var y=new go.PathFigure(0,.7*b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*b,.5*a,.4*b,.5*a,b).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN;(isNaN(y)||y<.2)&&(y=.2);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b).close());var z=new go.PathFigure(y*a,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,y*b)),z.add(new go.PathSegment(go.PathSegment.Move,a,y*b)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-y)*b)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,b)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,b)),z.add(new go.PathSegment(go.PathSegment.Line,a,(1-y)*b)),E}),go.Shape.defineFigureGenerator("ExternalProcess",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*b).close());var x=new go.PathFigure(.1*a,.4*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*b)),x.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*b)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*b)),x.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*b)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*b)),x.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*b)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*b)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("File",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b).close());var x=new go.PathFigure(.75*a,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,.25*b)),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Interrupt",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a,.5*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b));var x=new go.PathFigure(a,.5*b,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,b));var z=new go.PathFigure(a,.5*b,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("InternalStorage",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN,x=ne?ne.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.1);var z=new go.PathFigure(0,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b).close());var ee=new go.PathFigure(y*a,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,b)),ee.add(new go.PathSegment(go.PathSegment.Move,0,x*b)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*b)),E}),go.Shape.defineFigureGenerator("Junction",function(ne,a,b){var E=new go.Geometry,y=1/Math.SQRT2,x=(1-1/Math.SQRT2)/2,z=ce*.5,ee=.5,te=new go.PathFigure(a,ee*b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,b,a,(ee+z)*b,(ee+z)*a,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*b,(ee-z)*a,b,0,(ee+z)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-z)*b,(ee-z)*a,0)),te.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*b,(ee+z)*a,0,a,(ee-z)*b));var oe=new go.PathFigure((x+y)*a,(x+y)*b,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,x*a,x*b)),oe.add(new go.PathSegment(go.PathSegment.Move,x*a,(x+y)*b)),oe.add(new go.PathSegment(go.PathSegment.Line,(x+y)*a,x*b)),E}),go.Shape.defineFigureGenerator("LinedDocument",function(ne,a,b){var E=new go.Geometry;b=b/.8;var y=new go.PathFigure(0,.7*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*b,.5*a,.4*b,.5*a,b).close());var x=new go.PathFigure(.1*a,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*b)),E.spot1=new go.Spot(.1,0),E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("LoopLimit",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*b)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MagneticTape",function(ne,a,b){var E=new go.Geometry,y=ce*.5,x=.5,z=new go.PathFigure(.5*a,b,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*b,(x-y)*a,b,0,(x+y)*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*b,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*b,(x+y)*a,0,a,(x-y)*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,(x+.1)*a,.9*b,a,(x+y)*b,(x+y)*a,.9*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,.9*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,b)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.8),E}),go.Shape.defineFigureGenerator("ManualInput",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*b).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MessageFromUser",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN;isNaN(y)&&(y=.7);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,y*a,.5*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-y)*b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b).close()),E}),go.Shape.defineFigureGenerator("MicroformRecording",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.85*b)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("MultiDocument",function(ne,a,b){var E=new go.Geometry;b=b/.8;var y=new go.PathFigure(a,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*b,.96*a,.47*b,.93*a,.45*b)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*b,.86*a,.57*b,.83*a,.55*b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*b,.4*a,.4*b,.4*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*b)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*b)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var x=new go.PathFigure(.1*a,.2*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*b)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*b)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*b)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*b)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*b)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.8,.77),E}),go.Shape.defineFigureGenerator("MultiProcess",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.1*a,.1*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*b)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*b).close());var x=new go.PathFigure(.2*a,.1*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*b)),x.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*b)),x.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*b)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*b)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*b)),E.spot1=new go.Spot(0,.2),E.spot2=new go.Spot(.8,1),E}),go.Shape.defineFigureGenerator("OfflineStorage",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN;isNaN(y)&&(y=.1);var x=1-y,z=new go.PathFigure(0,0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,b).close());var ee=new go.PathFigure(.5*y*a,y*b,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.5*y)*a,y*b)),E}),go.Shape.defineFigureGenerator("OffPageConnector",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("Or",function(ne,a,b){var E=new go.Geometry,y=ce*.5,x=.5,z=new go.PathFigure(a,x*b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,b,a,(x+y)*b,(x+y)*a,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*b,(x-y)*a,b,0,(x+y)*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*b,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*b,(x+y)*a,0,a,(x-y)*b));var ee=new go.PathFigure(a,.5*b,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*b)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E}),go.Shape.defineFigureGenerator("PaperTape",function(ne,a,b){var E=new go.Geometry;b=b/.8;var y=new go.PathFigure(0,.7*b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.3*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*b,.5*a,.6*b,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.7*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*b,.5*a,.4*b,.5*a,b).close()),E.spot1=new go.Spot(0,.49),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN,x=ne?ne.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,.5*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b).close()),E}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN,x=ne?ne.parameter2:NaN;isNaN(y)&&(y=.1),isNaN(x)&&(x=.3);var z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),z.add(new go.PathSegment(go.PathSegment.Line,(1-x)*a,b)),z.add(new go.PathSegment(go.PathSegment.Line,0,b).close()),E}),go.Shape.defineFigureGenerator("Procedure",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b).close());var z=new go.PathFigure((1-y)*a,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,b)),z.add(new go.PathSegment(go.PathSegment.Move,y*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*a,b)),E}),go.Shape.defineFigureGenerator("Process",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b).close());var z=new go.PathFigure(y*a,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,b)),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Sort",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*b).close());var x=new go.PathFigure(0,.5*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.5),E}),go.Shape.defineFigureGenerator("Start",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN;isNaN(y)&&(y=.25);var x=new go.PathFigure(y*a,0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*b,.25*a,.5*b)),x.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*b,.25*a,.5*b));var z=new go.PathFigure(y*a,0,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*a,b)),z.add(new go.PathSegment(go.PathSegment.Move,(1-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-y)*a,b)),E.spot1=new go.Spot(y,0),E.spot2=new go.Spot(1-y,1),E}),go.Shape.defineFigureGenerator("Terminator",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.25*a,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*b,.25*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*b,.25*a,.5*b)),E.spot1=new go.Spot(.23,0),E.spot2=new go.Spot(.77,1),E}),go.Shape.defineFigureGenerator("TransmittalTape",function(ne,a,b){var E=new go.Geometry,y=ne?ne.parameter1:NaN;isNaN(y)&&(y=.1);var x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Line,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-y)*b)),x.add(new go.PathSegment(go.PathSegment.Line,0,(1-y)*b).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("AndGate",function(ne,a,b){var E=new go.Geometry,y=ce*.5,x=new go.PathFigure(0,0,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*b,(.5+y)*a,0,a,(.5-y)*b)),x.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,b,a,(.5+y)*b,(.5+y)*a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.55,1),E}),go.Shape.defineFigureGenerator("Buffer",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Clock",function(ne,a,b){var E=new go.Geometry,y=ce*.5,x=.5,z=new go.PathFigure(a,x*b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,b,a,(x+y)*b,(x+y)*a,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,x*b,(x-y)*a,b,0,(x+y)*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,x*a,0,0,(x-y)*b,(x-y)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,x*b,(x+y)*a,0,a,(x-y)*b));var ee=new go.PathFigure(a,x*b,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,x*b));var te=new go.PathFigure(.8*a,.75*b,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*b)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*b)),te.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*b)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*b)),te.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*b)),te.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*b)),E}),go.Shape.defineFigureGenerator("Ground",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*b)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*b)),y.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,b)),E}),go.Shape.defineFigureGenerator("Inverter",function(ne,a,b){var E=new go.Geometry,y=ce*.1,x=.1,z=.9,ee=.5,te=new go.PathFigure(.8*a,.5*b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,0,b)),te.add(new go.PathSegment(go.PathSegment.Line,0,0)),te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*b));var oe=new go.PathFigure((z+x)*a,ee*b,!0);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*b,(z+x)*a,(ee+y)*b,(z+y)*a,(ee+x)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*b,(z-y)*a,(ee+x)*b,(z-x)*a,(ee+y)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*b,(z-x)*a,(ee-y)*b,(z-y)*a,(ee-x)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*b,(z+y)*a,(ee-x)*b,(z+x)*a,(ee-y)*b)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.4,.75),E}),go.Shape.defineFigureGenerator("NandGate",function(ne,a,b){var E=new go.Geometry,y=ce*.5,x=ce*.4,z=ce*.1,ee=.1,te=.9,oe=.5,le=new go.PathFigure(.8*a,.5*b,!0);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,b,.8*a,(.5+x)*b,(.4+y)*a,b)),le.add(new go.PathSegment(go.PathSegment.Line,0,b)),le.add(new go.PathSegment(go.PathSegment.Line,0,0)),le.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),le.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*b,(.4+y)*a,0,.8*a,(.5-x)*b));var de=new go.PathFigure((te+ee)*a,oe*b,!0);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe+ee)*b,(te+ee)*a,(oe+z)*b,(te+z)*a,(oe+ee)*b)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a,oe*b,(te-z)*a,(oe+ee)*b,(te-ee)*a,(oe+z)*b)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-ee)*b,(te-ee)*a,(oe-z)*b,(te-z)*a,(oe-ee)*b)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a,oe*b,(te+z)*a,(oe-ee)*b,(te+ee)*a,(oe-z)*b)),E.spot1=new go.Spot(0,.05),E.spot2=new go.Spot(.55,.95),E}),go.Shape.defineFigureGenerator("NorGate",function(ne,a,b){var E=new go.Geometry,y=.5,x=ce*y,z=0,ee=.5,te=new go.PathFigure(.8*a,.5*b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b,.7*a,(ee+x)*b,(z+x)*a,(ee+y)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*b,.25*a,.25*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*b,(z+x)*a,(ee-y)*b,.7*a,(ee-x)*b)),y=.1,x=ce*.1,z=.9,ee=.5;var oe=new go.PathFigure((z-y)*a,ee*b,!0);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*b,(z-y)*a,(ee-x)*b,(z-x)*a,(ee-y)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*b,(z+x)*a,(ee-y)*b,(z+y)*a,(ee-x)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*b,(z+y)*a,(ee+x)*b,(z+x)*a,(ee+y)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*b,(z-x)*a,(ee+y)*b,(z-y)*a,(ee+x)*b)),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.6,.75),E}),go.Shape.defineFigureGenerator("OrGate",function(ne,a,b){var E=new go.Geometry,y=.5,x=ce*y,z=0,ee=.5,te=new go.PathFigure(0,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*b,(z+x+x)*a,(ee-y)*b,.8*a,(ee-x)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,b,.8*a,(ee+x)*b,(z+x+x)*a,(ee+y)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*b,.25*a,.25*b).close()),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("XnorGate",function(ne,a,b){var E=new go.Geometry,y=.5,x=ce*y,z=.2,ee=.5,te=new go.PathFigure(.1*a,0,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,b,.35*a,.25*b,.35*a,.75*b));var oe=new go.PathFigure(.8*a,.5*b,!0);E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,b,.7*a,(ee+x)*b,(z+x)*a,(ee+y)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*b,.45*a,.25*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*b,(z+x)*a,(ee-y)*b,.7*a,(ee-x)*b)),y=.1,x=ce*.1,z=.9,ee=.5;var le=new go.PathFigure((z-y)*a,ee*b,!0);return E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*b,(z-y)*a,(ee-x)*b,(z-x)*a,(ee-y)*b)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*b,(z+x)*a,(ee-y)*b,(z+y)*a,(ee-x)*b)),le.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*b,(z+y)*a,(ee+x)*b,(z+x)*a,(ee+y)*b)),le.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*b,(z-x)*a,(ee+y)*b,(z-y)*a,(ee+x)*b)),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.65,.75),E}),go.Shape.defineFigureGenerator("XorGate",function(ne,a,b){var E=new go.Geometry,y=.5,x=ce*y,z=.2,ee=.5,te=new go.PathFigure(.1*a,0,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,b,.35*a,.25*b,.35*a,.75*b));var oe=new go.PathFigure(.2*a,0,!0);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*b,(z+x)*a,(ee-y)*b,.9*a,(ee-x)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,b,.9*a,(ee+x)*b,(z+x)*a,(ee+y)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*b,.45*a,.25*b).close()),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.8,.75),E}),go.Shape.defineFigureGenerator("Capacitor",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),E}),go.Shape.defineFigureGenerator("Resistor",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.5*b,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*b)),E}),go.Shape.defineFigureGenerator("Inductor",function(ne,a,b){var E=new go.Geometry,y=ce*.1,x=.1,z=.1,ee=.5,te=new go.PathFigure((z-y*.5)*a,b,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,b,(z-x)*a,0)),z=.3,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,b,(z+x)*a,0,(z+y)*a,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,b,(z-x)*a,0)),z=.5,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,b,(z+x)*a,0,(z+y)*a,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,b,(z-x)*a,0)),z=.7,te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,b,(z+x)*a,0,(z+y)*a,b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,0,(z-y)*a,b,(z-x)*a,0)),z=.9,te.add(new go.PathSegment(go.PathSegment.Bezier,(z+y*.5)*a,b,(z+x)*a,0,(z+y)*a,b)),E}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ne,a,b){var E=new go.Geometry,y=ce*.5,x=.5,z=.5,ee=.5,te=new go.PathFigure((z-x)*a,ee*b,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-x)*b,(z-x)*a,(ee-y)*b,(z-y)*a,(ee-x)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*b,(z+y)*a,(ee-x)*b,(z+x)*a,(ee-y)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*b,(z+x)*a,(ee+y)*b,(z+y)*a,(ee+x)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*b,(z-y)*a,(ee+x)*b,(z-x)*a,(ee+y)*b)),te.add(new go.PathSegment(go.PathSegment.Move,(z-x+.1)*a,ee*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+x-.1)*a,ee*b,z*a,(ee-x)*b,z*a,(ee+x)*b)),E}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.75*b,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*b)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),E}),go.Shape.defineFigureGenerator("Diode",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a,0,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Wifi",function(ne,a,b){var E=new go.Geometry,y=a,x=b;a=a*.38,b=b*.6;var z=ce*.8,ee=.8,te=0,oe=.5,le=(y-a)/2,de=(x-b)/2,Pe=new go.PathFigure(te*a+le,(oe+ee)*b+de,!0);E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+le,oe*b+de,(te-z)*a+le,(oe+ee)*b+de,(te-ee)*a+le,(oe+z)*b+de)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a+le,(oe-ee)*b+de,(te-ee)*a+le,(oe-z)*b+de,(te-z)*a+le,(oe-ee)*b+de)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee+z*.5)*a+le,oe*b+de,te*a+le,(oe-ee)*b+de,(te-ee+z*.5)*a+le,(oe-z)*b+de)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,te*a+le,(oe+ee)*b+de,(te-ee+z*.5)*a+le,(oe+z)*b+de,te*a+le,(oe+ee)*b+de).close()),z=ce*.4,ee=.4,te=.2,oe=.5;var ve=new go.PathFigure(te*a+le,(oe+ee)*b+de,!0);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+le,oe*b+de,(te-z)*a+le,(oe+ee)*b+de,(te-ee)*a+le,(oe+z)*b+de)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a+le,(oe-ee)*b+de,(te-ee)*a+le,(oe-z)*b+de,(te-z)*a+le,(oe-ee)*b+de)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee+z*.5)*a+le,oe*b+de,te*a+le,(oe-ee)*b+de,(te-ee+z*.5)*a+le,(oe-z)*b+de)),ve.add(new go.PathSegment(go.PathSegment.Bezier,te*a+le,(oe+ee)*b+de,(te-ee+z*.5)*a+le,(oe+z)*b+de,te*a+le,(oe+ee)*b+de).close()),z=ce*.2,ee=.2,te=.5,oe=.5;var se=new go.PathFigure((te-ee)*a+le,oe*b+de,!0);E.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,te*a+le,(oe-ee)*b+de,(te-ee)*a+le,(oe-z)*b+de,(te-z)*a+le,(oe-ee)*b+de)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+le,oe*b+de,(te+z)*a+le,(oe-ee)*b+de,(te+ee)*a+le,(oe-z)*b+de)),se.add(new go.PathSegment(go.PathSegment.Bezier,te*a+le,(oe+ee)*b+de,(te+ee)*a+le,(oe+z)*b+de,(te+z)*a+le,(oe+ee)*b+de)),se.add(new go.PathSegment(go.PathSegment.Bezier,(te-ee)*a+le,oe*b+de,(te-z)*a+le,(oe+ee)*b+de,(te-ee)*a+le,(oe+z)*b+de)),z=ce*.4,ee=.4,te=.8,oe=.5;var Ie=new go.PathFigure(te*a+le,(oe-ee)*b+de,!0);E.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+le,oe*b+de,(te+z)*a+le,(oe-ee)*b+de,(te+ee)*a+le,(oe-z)*b+de)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,te*a+le,(oe+ee)*b+de,(te+ee)*a+le,(oe+z)*b+de,(te+z)*a+le,(oe+ee)*b+de)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-z*.5)*a+le,oe*b+de,te*a+le,(oe+ee)*b+de,(te+ee-z*.5)*a+le,(oe+z)*b+de)),Ie.add(new go.PathSegment(go.PathSegment.Bezier,te*a+le,(oe-ee)*b+de,(te+ee-z*.5)*a+le,(oe-z)*b+de,te*a+le,(oe-ee)*b+de).close()),z=ce*.8,ee=.8,te=1,oe=.5;var Ye=new go.PathFigure(te*a+le,(oe-ee)*b+de,!0);return E.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee)*a+le,oe*b+de,(te+z)*a+le,(oe-ee)*b+de,(te+ee)*a+le,(oe-z)*b+de)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a+le,(oe+ee)*b+de,(te+ee)*a+le,(oe+z)*b+de,(te+z)*a+le,(oe+ee)*b+de)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,(te+ee-z*.5)*a+le,oe*b+de,te*a+le,(oe+ee)*b+de,(te+ee-z*.5)*a+le,(oe+z)*b+de)),Ye.add(new go.PathSegment(go.PathSegment.Bezier,te*a+le,(oe-ee)*b+de,(te+ee-z*.5)*a+le,(oe-z)*b+de,te*a+le,(oe-ee)*b+de).close()),E}),go.Shape.defineFigureGenerator("Email",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,0,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,0)),x.add(new go.PathSegment(go.PathSegment.Move,0,b)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*b)),x.add(new go.PathSegment(go.PathSegment.Move,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*b)),E}),go.Shape.defineFigureGenerator("Ethernet",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.35*a,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*b)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*b)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var x=new go.PathFigure(.1*a,b,!0,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,b)),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*b)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*b)),x.add(new go.PathSegment(go.PathSegment.Line,.1*a,b).close());var z=new go.PathFigure(.6*a,b,!0,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,b)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*b)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*b)),z.add(new go.PathSegment(go.PathSegment.Line,.6*a,b).close());var ee=new go.PathFigure(0,.5*b,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*b)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*b)),ee.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*b)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*b)),ee.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*b)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*b)),E}),go.Shape.defineFigureGenerator("Power",function(ne,a,b){var E=new go.Geometry,y=ce*.4,x=.4,z=.5,ee=.5,te=ge(),oe=ge(),le=ge(),de=ge();qe(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.5,te,te,oe,le,de);var Pe=re(oe.x,oe.y),ve=new go.PathFigure(oe.x*a,oe.y*b,!0);E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*b,le.x*a,le.y*b,de.x*a,de.y*b)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*b,(z+x)*a,(ee+y)*b,(z+y)*a,(ee+x)*b)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*b,(z-y)*a,(ee+x)*b,(z-x)*a,(ee+y)*b)),qe(z-x,ee,z-x,ee-y,z-y,ee-x,z,ee-x,.5,le,de,oe,te,te),ve.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*b,le.x*a,le.y*b,de.x*a,de.y*b)),y=ce*.3,x=.3,qe(z-x,ee,z-x,ee-y,z-y,ee-x,z,ee-x,.5,le,de,oe,te,te),ve.add(new go.PathSegment(go.PathSegment.Line,oe.x*a,oe.y*b)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z-x)*a,ee*b,de.x*a,de.y*b,le.x*a,le.y*b)),ve.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+x)*b,(z-x)*a,(ee+y)*b,(z-y)*a,(ee+x)*b)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(z+x)*a,ee*b,(z+y)*a,(ee+x)*b,(z+x)*a,(ee+y)*b)),qe(z,ee-x,z+y,ee-x,z+x,ee-y,z+x,ee,.5,te,te,oe,le,de),ve.add(new go.PathSegment(go.PathSegment.Bezier,oe.x*a,oe.y*b,de.x*a,de.y*b,le.x*a,le.y*b).close());var ve=new go.PathFigure(.45*a,0,!0);return E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*b)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*b)),ve.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),ie(te),ie(oe),ie(le),ie(de),ie(Pe),E.spot1=new go.Spot(.25,.45),E.spot2=new go.Spot(.75,.8),E}),go.Shape.defineFigureGenerator("Fallout",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,b/2,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,b/2,a/2,b/2));function x(z,ee,te){z.add(new go.PathSegment(go.PathSegment.Move,(.3+ee)*a,(.8+te)*b)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+ee)*a,(.5+te)*b)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+ee)*a,(.5+te)*b)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+ee)*a,(.8+te)*b).close())}return x(y,0,0),x(y,.4,0),x(y,.2,-.3),E}),go.Shape.defineFigureGenerator("IrritationHazard",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.2*a,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*b)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.2*b).close()),E.spot1=new go.Spot(.3,.3),E.spot2=new go.Spot(.7,.7),E}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.37*a,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*b)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*b)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.37*b)),y.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*b)),y.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*b)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*b)),y.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.68*b).close()),E}),go.Shape.defineFigureGenerator("FireHazard",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.1*a,b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*b,.45*a,.44*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*b,.48*a,.17*b,.54*a,.35*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*b,.59*a,.29*b,.58*a,.28*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*b,.8*a,.34*b,.88*a,.43*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*b,.87*a,.48*b,.88*a,.43*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,b,1.17*a,.76*b,.82*a,.8*b).close()),E.spot1=new go.Spot(.07,.445),E.spot2=new go.Spot(.884,.958),E}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ne,a,b){var E=new go.Geometry,y=.5,x=0,z=0,ee=y*ce,te=.4*Math.SQRT2/2+.5,oe=.5-.5*Math.SQRT2/2,le=1,de=.5,Pe=.5,ve=0,se=new go.PathFigure(te*a,(1-oe)*b,!1);return E.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,le*a,de*b,le*a,.7*b,le*a,de*b)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+x)*a,(ve+x)*b,(.5+y+x)*a,(.5-ee+x)*b,(.5+ee+x)*a,(.5-y+x)*b)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.5-y+x)*a,(.5+z)*b,(.5-ee+x)*a,(.5-y+z)*b,(.5-y+x)*a,(.5-ee+z)*b)),se.add(new go.PathSegment(go.PathSegment.Bezier,(.35+x)*a,.9*b,(.5-y+x)*a,(.5+ee+z)*b,(.5-ee+x)*a,.9*b)),se.add(new go.PathSegment(go.PathSegment.Move,(.25+x)*a,.8*b)),se.add(new go.PathSegment(go.PathSegment.Line,(.35+x)*a,.9*b)),se.add(new go.PathSegment(go.PathSegment.Line,(.2+x)*a,.95*b)),E}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Move,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),E}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Move,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),E}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!1);E.add(y);var x=new go.PathFigure(a,b,!1);E.add(x);var z=new go.PathFigure(0,.5*b,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*b,.2*a,.35*b,.3*a,.35*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*b,.7*a,.65*b,.8*a,.65*b)),E}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.5*b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b).close()),E}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.2*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*b).close());var y=new go.PathFigure(0,.2*b,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*b)),E}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.7*a,b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*b,0,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,b,.4*a,.5*b,a,.5*b).close());var x=new go.PathFigure(.45*a,.73*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*b)),x.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*b)),x.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*b)),x.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*b)),x.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*b)),E}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!1);E.add(y);var x=new go.PathFigure(.335*a,(1-.555)*b,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*b)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*b)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*b)),x.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*b,(1-.12)*a,.46*b,(1-.02)*a,.54*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,b)),x.add(new go.PathSegment(go.PathSegment.Line,0,.68*b)),x.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*b,.02*a,.54*b,.12*a,.46*b)),x.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*b));var z=.5-.285,ee=.5,te=z,oe=Math.PI/4,le=4*(1-Math.cos(oe))/(3*Math.sin(oe)),de=le*.5,Pe=z,ve=z,se=le*Pe,Ie=le*ve;x.add(new go.PathSegment(go.PathSegment.Bezier,(ee-Pe)*a,te*b,(ee-(se+Pe)/2)*a,(te+(ve+Ie)/2)*b,(ee-Pe)*a,(te+Ie)*b)),x.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,(te-ve)*b,(ee-Pe)*a,(te-Ie)*b,(ee-se)*a,(te-ve)*b)),x.add(new go.PathSegment(go.PathSegment.Bezier,(ee+Pe)*a,te*b,(ee+se)*a,(te-ve)*b,(ee+Pe)*a,(te-Ie)*b)),x.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*b,(ee+Pe)*a,(te+Ie)*b,(ee+(se+Pe)/2)*a,(te+(ve+Ie)/2)*b)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*b)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*b)),x.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*b)),x.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*b));var Ye=new go.PathFigure(.2*a,b,!1);E.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*b));var Te=new go.PathFigure(.8*a,b,!1);return E.add(Te),Te.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*b)),E}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.1*a,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,b).close());var x=new go.PathFigure(.2*a,.2*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*b)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*b)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*b)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*b)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*b)),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*b)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*b)),E}),go.Shape.defineFigureGenerator("BpmnEventError",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*b).close()),E}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!1);E.add(y);var x=new go.PathFigure(a,b,!1);E.add(x);var z=new go.PathFigure(.1*a,b,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,b)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*b).close()),E}),go.Shape.defineFigureGenerator("Caution",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.05*a,b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*b,0,b,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*b,.5*a,0,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,b,a,b,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,b));var x=.05;return y.add(new go.PathSegment(go.PathSegment.Move,(.5-x)*a,.875*b)),y.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*b,x*a,x*b)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*b,.575*a,.725*b,.625*a,.375*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*b,.375*a,.375*b,.425*a,.725*b)),E}),go.Shape.defineFigureGenerator("Recycle",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.45*a,.95*b,!1);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*b,.17*a,.95*b,.15*a,.9*b)),y.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*b)),y.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*b)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*b)),y.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*b)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*b)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*b,0,.675*b,0,.7*b)),y.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*b)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*b)),y.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*b));var x=new go.PathFigure(.475*a,.2*b,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*b)),x.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*b)),x.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*b)),x.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*b)),x.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*b,.35*a,0,.375*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*b)),x.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*b)),x.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*b)),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*b)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*b)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*b)),x.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*b,.625*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*b));var z=new go.PathFigure(.675*a,.575*b,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*b,a,.8*b,a,.85*b)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*b)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,b)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*b)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*b)),z.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*b)),z.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*b)),z.add(new go.PathSegment(go.PathSegment.Line,a,.775*b)),z.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*b)),z.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*b)),E}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ne,a,b){var E=new go.Geometry,y=.5,x=ce*.5,z=new go.PathFigure(a,y*b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,b,a,(y+x)*b,(y+x)*a,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,y*b,(y-x)*a,b,0,(y+x)*b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y*a,0,0,(y-x)*b,(y-x)*a,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,a,y*b,(y+x)*a,0,a,(y-x)*b));var ee=new go.PathFigure(y*a,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,.15*b)),ee.add(new go.PathSegment(go.PathSegment.Move,y*a,b)),ee.add(new go.PathSegment(go.PathSegment.Line,y*a,.85*b)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y*b)),ee.add(new go.PathSegment(go.PathSegment.Line,.15*a,y*b)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y*b)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,y*b)),ee.add(new go.PathSegment(go.PathSegment.Move,y*a,y*b)),ee.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*b)),ee.add(new go.PathSegment(go.PathSegment.Move,y*a,y*b)),ee.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*b)),E}),go.Shape.defineFigureGenerator("Package",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.15*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,.15*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b).close());var x=new go.PathFigure(0,.15*b,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,0)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*b).close()),E.spot1=new go.Spot(0,.1),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Class",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*b,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*b).close());var z=new go.PathFigure(0,.5*b,!1);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,.5*b).close()),E}),go.Shape.defineFigureGenerator("Component",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a,b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b).close());var x=new go.PathFigure(0,.2*b,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*b)),x.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*b)),x.add(new go.PathSegment(go.PathSegment.Line,0,.4*b)),x.add(new go.PathSegment(go.PathSegment.Line,0,.2*b).close());var z=new go.PathFigure(0,.6*b,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*b)),z.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*b)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*b).close()),E}),go.Shape.defineFigureGenerator("Boat Shipment",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.15*a,.6*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*b));var x=new go.PathFigure(.15*a,.6*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*b)),E}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a,b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*b)),y.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*b)),y.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b).close()),E}),go.Shape.defineFigureGenerator("Workcell",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*b)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*b)),y.add(new go.PathSegment(go.PathSegment.Line,.35*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b).close()),E}),go.Shape.defineFigureGenerator("Supermarket",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.33*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.33*b)),y.add(new go.PathSegment(go.PathSegment.Move,a,.33*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.66*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.66*b)),y.add(new go.PathSegment(go.PathSegment.Move,a,.66*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),E}),go.Shape.defineFigureGenerator("TruckShipment",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(a,.8*b,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*b)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*b)),x.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,.8*b).close());var z=.1,ee=ce*.1,te=.2,oe=.9,le=new go.PathFigure((te-z)*a,oe*b,!0);E.add(le),le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-z)*b,(te-z)*a,(oe-ee)*b,(te-ee)*a,(oe-z)*b)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,oe*b,(te+ee)*a,(oe-z)*b,(te+z)*a,(oe-ee)*b)),le.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe+z)*b,(te+z)*a,(oe+ee)*b,(te+ee)*a,(oe+z)*b)),le.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,oe*b,(te-ee)*a,(oe+z)*b,(te-z)*a,(oe+ee)*b).close()),z=.1,ee=ce*.1,te=.8,oe=.9;var de=new go.PathFigure((te-z)*a,oe*b,!0);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe-z)*b,(te-z)*a,(oe-ee)*b,(te-ee)*a,(oe-z)*b)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te+z)*a,oe*b,(te+ee)*a,(oe-z)*b,(te+z)*a,(oe-ee)*b)),de.add(new go.PathSegment(go.PathSegment.Bezier,te*a,(oe+z)*b,(te+z)*a,(oe+ee)*b,(te+ee)*a,(oe+z)*b)),de.add(new go.PathSegment(go.PathSegment.Bezier,(te-z)*a,oe*b,(te-ee)*a,(oe+z)*b,(te-z)*a,(oe+ee)*b).close()),E}),go.Shape.defineFigureGenerator("KanbanPost",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.2*a,0,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,b)),E}),go.Shape.defineFigureGenerator("Forklift",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0));var x=new go.PathFigure(0,.5*b,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,0,.8*b)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*b)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*b)),x.add(new go.PathSegment(go.PathSegment.Line,0,.5*b));var z=new go.PathFigure(.5*a,.8*b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*b)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*b)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*b)),z.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*b));var ee=new go.PathFigure(.5*a,.7*b,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.7*b));var te=.1,oe=ce*.1,le=.1,de=.9,Pe=new go.PathFigure((le-te)*a,de*b,!0);E.add(Pe),Pe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(de-te)*b,(le-te)*a,(de-oe)*b,(le-oe)*a,(de-te)*b)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(le+te)*a,de*b,(le+oe)*a,(de-te)*b,(le+te)*a,(de-oe)*b)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(de+te)*b,(le+te)*a,(de+oe)*b,(le+oe)*a,(de+te)*b)),Pe.add(new go.PathSegment(go.PathSegment.Bezier,(le-te)*a,de*b,(le-oe)*a,(de+te)*b,(le-te)*a,(de+oe)*b)),te=.1,oe=ce*.1,le=.4,de=.9;var ve=new go.PathFigure((le-te)*a,de*b,!0);return E.add(ve),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(de-te)*b,(le-te)*a,(de-oe)*b,(le-oe)*a,(de-te)*b)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le+te)*a,de*b,(le+oe)*a,(de-te)*b,(le+te)*a,(de-oe)*b)),ve.add(new go.PathSegment(go.PathSegment.Bezier,le*a,(de+te)*b,(le+te)*a,(de+oe)*b,(le+oe)*a,(de+te)*b)),ve.add(new go.PathSegment(go.PathSegment.Bezier,(le-te)*a,de*b,(le-oe)*a,(de+te)*b,(le-te)*a,(de+oe)*b)),E}),go.Shape.defineFigureGenerator("RailShipment",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.1*a,.4*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*b)),y.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*b)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*b)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*b).close());var x=new go.PathFigure(.45*a,.7*b,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*b));var z=new go.PathFigure(.55*a,.4*b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*b)),z.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*b)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*b)),z.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*b).close());var le=.05,de=ce*.05,Pe=.175,ve=.95,ee=new go.PathFigure((Pe-le)*a,ve*b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,Pe*a,(ve-le)*b,(Pe-le)*a,(ve-de)*b,(Pe-de)*a,(ve-le)*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+le)*a,ve*b,(Pe+de)*a,(ve-le)*b,(Pe+le)*a,(ve-de)*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,Pe*a,(ve+le)*b,(Pe+le)*a,(ve+de)*b,(Pe+de)*a,(ve+le)*b)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-le)*a,ve*b,(Pe-de)*a,(ve+le)*b,(Pe-le)*a,(ve+de)*b));var le=.05,de=ce*.05,Pe=.375,ve=.95,te=new go.PathFigure((Pe-le)*a,ve*b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,Pe*a,(ve-le)*b,(Pe-le)*a,(ve-de)*b,(Pe-de)*a,(ve-le)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+le)*a,ve*b,(Pe+de)*a,(ve-le)*b,(Pe+le)*a,(ve-de)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,Pe*a,(ve+le)*b,(Pe+le)*a,(ve+de)*b,(Pe+de)*a,(ve+le)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-le)*a,ve*b,(Pe-de)*a,(ve+le)*b,(Pe-le)*a,(ve+de)*b));var le=.05,de=ce*.05,Pe=.625,ve=.95,oe=new go.PathFigure((Pe-le)*a,ve*b,!0);E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,Pe*a,(ve-le)*b,(Pe-le)*a,(ve-de)*b,(Pe-de)*a,(ve-le)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+le)*a,ve*b,(Pe+de)*a,(ve-le)*b,(Pe+le)*a,(ve-de)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Pe*a,(ve+le)*b,(Pe+le)*a,(ve+de)*b,(Pe+de)*a,(ve+le)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-le)*a,ve*b,(Pe-de)*a,(ve+le)*b,(Pe-le)*a,(ve+de)*b));var le=.05,de=ce*.05,Pe=.825,ve=.95,se=new go.PathFigure((Pe-le)*a,ve*b,!0);E.add(se),se.add(new go.PathSegment(go.PathSegment.Bezier,Pe*a,(ve-le)*b,(Pe-le)*a,(ve-de)*b,(Pe-de)*a,(ve-le)*b)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Pe+le)*a,ve*b,(Pe+de)*a,(ve-le)*b,(Pe+le)*a,(ve-de)*b)),se.add(new go.PathSegment(go.PathSegment.Bezier,Pe*a,(ve+le)*b,(Pe+le)*a,(ve+de)*b,(Pe+de)*a,(ve+le)*b)),se.add(new go.PathSegment(go.PathSegment.Bezier,(Pe-le)*a,ve*b,(Pe-de)*a,(ve+le)*b,(Pe-le)*a,(ve+de)*b).close());var Ie=new go.PathFigure(0,b,!1);return E.add(Ie),Ie.add(new go.PathSegment(go.PathSegment.Line,a,b).close()),E}),go.Shape.defineFigureGenerator("Warehouse",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var x=new go.PathFigure(0,.2*b,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.2*b).close());var z=new go.PathFigure(.15*a,b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*b)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*b)),z.add(new go.PathSegment(go.PathSegment.Line,.4*a,b)),z.add(new go.PathSegment(go.PathSegment.Line,.15*a,b).close());var ee=.05,te=ce*.05,oe=.35,le=.775,de=new go.PathFigure((oe-ee)*a,le*b,!0);return E.add(de),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(le-ee)*b,(oe-ee)*a,(le-te)*b,(oe-te)*a,(le-ee)*b)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe+ee)*a,le*b,(oe+te)*a,(le-ee)*b,(oe+ee)*a,(le-te)*b)),de.add(new go.PathSegment(go.PathSegment.Bezier,oe*a,(le+ee)*b,(oe+ee)*a,(le+te)*b,(oe+te)*a,(le+ee)*b)),de.add(new go.PathSegment(go.PathSegment.Bezier,(oe-ee)*a,le*b,(oe-te)*a,(le+ee)*b,(oe-ee)*a,(le+te)*b).close()),E}),go.Shape.defineFigureGenerator("ControlCenter",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*b).close()),E}),go.Shape.defineFigureGenerator("Bluetooth",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.75*b,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.25*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.25*b)),E}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*b)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*b)),E}),go.Shape.defineFigureGenerator("Bookmark",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),y.add(new go.PathSegment(go.PathSegment.Line,0,0)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*b)),y.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*b)),y.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*b)),E}),go.Shape.defineFigureGenerator("Globe",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.5*a,0,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Move,0,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*b,.75*a,0,a,.25*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,b,a,.75*b,.75*a,b)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*b,.25*a,b,0,.75*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*b,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,b,.15*a,.25*b,.15*a,.75*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*b,.85*a,.25*b)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*b,.35*a,.3*b,.65*a,.3*b)),y.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*b,.35*a,.7*b,.65*a,.7*b)),E}),go.Shape.defineFigureGenerator("Wave",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.25*b,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*b,.1*a,0,.2*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*b,.425*a,.5*b,.575*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*b,.8*a,0,.9*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.75*b)),y.add(new go.PathSegment(go.PathSegment.Move,0,.25*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.75*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*b,.1*a,.5*b,.2*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*b,.425*a,b,.575*a,b)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*b,.8*a,.5*b,.9*a,.5*b)),E}),go.Shape.defineFigureGenerator("Operator",function(ne,a,b){var E=new go.Geometry,y=.3,x=ce*.3,z=.5,ee=.7,te=new go.PathFigure((z-y)*a,ee*b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*b,(z-y)*a,(ee-x)*b,(z-x)*a,(ee-y)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*b,(z+x)*a,(ee-y)*b,(z+y)*a,(ee-x)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*b,(z+y)*a,(ee+x)*b,(z+x)*a,(ee+y)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*b,(z-x)*a,(ee+y)*b,(z-y)*a,(ee+x)*b));var oe=new go.PathFigure(0,.7*b,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*b,0,0,a,0)),E}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.5*a,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*b,.65*a,.3*b,.65*a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*b,.35*a,.3*b)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,b,.3*a,.6*b,.1*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*b,.2*a,b,.35*a,.95*b)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,b,.7*a,.6*b,.9*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*b,.8*a,b,.65*a,.95*b)),E}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a,0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*b,0,.075*b,0,.5*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,b,0,b,.4*a,b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*b,.8*a,b,.85*a,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.4*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,0)),E}),go.Shape.defineFigureGenerator("Battery",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,.1*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.1*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*b)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*b));var x=new go.PathFigure(0,.6*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,0,.4*b)),x.add(new go.PathSegment(go.PathSegment.Line,a,.4*b)),E}),go.Shape.defineFigureGenerator("Delete",function(ne,a,b){var E=new go.Geometry,y=.5,x=ce*.5,z=.5,ee=.5,te=new go.PathFigure((z-y)*a,ee*b,!0);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*b,(z-y)*a,(ee-x)*b,(z-x)*a,(ee-y)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*b,(z+x)*a,(ee-y)*b,(z+y)*a,(ee-x)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*b,(z+y)*a,(ee+x)*b,(z+x)*a,(ee+y)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*b,(z-x)*a,(ee+y)*b,(z-y)*a,(ee+x)*b));var oe=new go.PathFigure(.15*a,.5*b,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*b)),E}),go.Shape.defineFigureGenerator("Flag",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.1*b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Move,0,.1*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*b,.15*a,0,.35*a,0)),y.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*b,.65*a,.2*b,.85*a,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*b,.85*a,.6*b,.65*a,.6*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*b,.35*a,.4*b,.15*a,.4*b).close()),E}),go.Shape.defineFigureGenerator("Help",function(ne,a,b){var E=new go.Geometry,y=.5,x=ce*.5,z=.5,ee=.5,te=new go.PathFigure((z-y)*a,ee*b,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*b,(z-y)*a,(ee-x)*b,(z-x)*a,(ee-y)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*b,(z+x)*a,(ee-y)*b,(z+y)*a,(ee-x)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*b,(z+y)*a,(ee+x)*b,(z+x)*a,(ee+y)*b)),te.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*b,(z-x)*a,(ee+y)*b,(z-y)*a,(ee+x)*b).close()),y=.05,x=ce*.05,z=.5,ee=.8;var oe=new go.PathFigure((z-y)*a,ee*b,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee-y)*b,(z-y)*a,(ee-x)*b,(z-x)*a,(ee-y)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+y)*a,ee*b,(z+x)*a,(ee-y)*b,(z+y)*a,(ee-x)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*a,(ee+y)*b,(z+y)*a,(ee+x)*b,(z+x)*a,(ee+y)*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-y)*a,ee*b,(z-x)*a,(ee+y)*b,(z-y)*a,(ee+x)*b).close()),oe.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*b)),oe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*b,.75*a,.475*b,.75*a,.225*b)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*b,.4*a,.2*b,.3*a,.25*b)),E}),go.Shape.defineFigureGenerator("Location",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(.5*a,b,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*b)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*b,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*b,.5*a,0,.025*a,.025*b).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*b)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*b,.1*a,.1*b).close()))}),go.Shape.defineFigureGenerator("Lock",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.5*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*b));var x=new go.PathFigure(.2*a,.5*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*b)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*b)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*b,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*b)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*b)),E}),go.Shape.defineFigureGenerator("Unlocked",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.5*b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,.5*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.5*b));var x=new go.PathFigure(.2*a,.5*b,!1);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*b)),x.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*b)),x.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*b,.25*a,0,.75*a,0)),x.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*b)),E}),go.Shape.defineFigureGenerator("Gear",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*b,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*b)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*b)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*b,.79840625*a,.39915625*b,.7834375*a,.3635*b)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*b)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*b)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*b)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*b,.64228125*a,.2188125*b,.603875*a,.2021875*b)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*b)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*b)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*b)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*b,.39759375*a,.20190625*b,.36053125*a,.2176875*b)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*b)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*b)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*b)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*b,.21765625*a,.36059375*b,.201875*a,.397625*b)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*b)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*b)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*b)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*b,.20221875*a,.603875*b,.21884375*a,.64228125*b)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*b)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*b)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*b)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*b,.36353125*a,.78340625*b,.3991875*a,.79840625*b)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*b)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*b)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*b)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*b,.602375*a,.79809375*b,.63946875*a,.78234375*b)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*b)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*b)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*b)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*b,.78234375*a,.63940625*b,.798125*a,.602375*b)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*b).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*b)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*b,.1*a,.1*b).close()))}),go.Shape.defineFigureGenerator("Hand",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.5*b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*b,0,.375*b,.05*a,.325*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*b,.3*a,.225*b,.4*a,.175*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*b,.46*a,.05*b,.525*a,.05*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*b,.525*a,.275*b,.475*a,.325*b)),y.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*b,a,.4*b,a,.55*b)),y.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*b)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*b,.675*a,.55*b,.675*a,.7*b)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*b)),y.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*b,.65*a,.7*b,.65*a,.85*b)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*b)),y.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,b,.61*a,.85*b,.61*a,b)),y.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*b,.435*a,b,0,b).close()),E}),go.Shape.defineFigureGenerator("Map",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,.2*b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,a,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,b).close()),y.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*b)),y.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b)),y.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),y.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*b)),E}),go.Shape.defineFigureGenerator("Eject",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,b,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a,b)),y.add(new go.PathSegment(go.PathSegment.Line,a,b*.7)),y.add(new go.PathSegment(go.PathSegment.Line,0,b*.7).close());var x=new go.PathFigure(0,b*.6,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a,.6*b)),x.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),E}),go.Shape.defineFigureGenerator("Pencil",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*b)).add(new go.PathSegment(go.PathSegment.Line,a,.9*b)).add(new go.PathSegment(go.PathSegment.Line,.9*a,b)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*b).close()))}),go.Shape.defineFigureGenerator("Building",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a*1,b*1,!1);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,0,b*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,b*.85)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,b*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,b*.45)),y.add(new go.PathSegment(go.PathSegment.Line,0,b*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.046*a,b*.3)),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*0)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,b*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,b*.3)),y.add(new go.PathSegment(go.PathSegment.Line,a,b*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,b*.45)),y.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,b*.85)),y.add(new go.PathSegment(go.PathSegment.Line,a,b*.85).close());var x=new go.PathFigure(.126*a,.85*b,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*b)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*b)),x.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*b).close());var z=new go.PathFigure(.402*a,.85*b,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*b)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*b)),z.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*b).close());var ee=new go.PathFigure(.678*a,.85*b,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*b)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*b)),ee.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*b).close());var te=new go.PathFigure(.5*a,.1*b,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*b)),te.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*b).close()),E}),go.Shape.defineFigureGenerator("Staircase",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,b*1,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,b*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,b*.8)),y.add(new go.PathSegment(go.PathSegment.Line,a*.4,b*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,b*.6)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,b*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,b*.4)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,b*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*.2)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,b*.15)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,b*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,b*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,b*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,b*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,0,b*.95).close()),E}),go.Shape.defineFigureGenerator("5Bars",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,b*1,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.184,b*(1-.184)).close());var x=new go.PathFigure(a*.204,b,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.204,b*(1-.184))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,b*(1-.184*2))),x.add(new go.PathSegment(go.PathSegment.Line,a*.388,b*1).close());var z=new go.PathFigure(a*.408,b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.408,b*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,b*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,a*.592,b*1).close());var ee=new go.PathFigure(a*.612,b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.612,b*(1-.184*3))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,b*(1-.184*4))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.796,b*1).close());var te=new go.PathFigure(a*.816,b,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.816,b*(1-.184*4))),te.add(new go.PathSegment(go.PathSegment.Line,a*1,b*(1-.184*5))),te.add(new go.PathSegment(go.PathSegment.Line,a*1,b*1).close()),E}),go.Shape.defineFigureGenerator("PC",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,0,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var x=new go.PathFigure(a*.055,.07*b,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,b*.07)),x.add(new go.PathSegment(go.PathSegment.Line,a*.245,b*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.055,b*.1).close());var z=new go.PathFigure(a*.055,.13*b,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,b*.13)),z.add(new go.PathSegment(go.PathSegment.Line,a*.245,b*.16)),z.add(new go.PathSegment(go.PathSegment.Line,a*.055,b*.16).close());var ee=new go.PathFigure(a*.055,.18*b,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,b*.18)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,b*.21)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,b*.21).close());var te=new go.PathFigure(a*1,0,!0);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),te.add(new go.PathSegment(go.PathSegment.Line,a*.4,b*.65)),te.add(new go.PathSegment(go.PathSegment.Line,a*1,b*.65).close()),E}),go.Shape.defineFigureGenerator("Plane",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(.55*a,b,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*b)),y.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*b,0,.4*b,.225*a,.45*b)),y.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*b)),y.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*b)),y.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*b)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*b)),y.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*b)),y.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*b,.975*a,0,a,.08*b)),y.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*b)),y.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*b)),y.add(new go.PathSegment(go.PathSegment.Line,.55*a,b).close()),E}),go.Shape.defineFigureGenerator("Key",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a*1,b*.5,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.35*b)),y.add(new go.PathSegment(go.PathSegment.Line,0,.65*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*b)),y.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*b).close()),y.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*b)),y.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*b,.075*a,.075*b).close()),E}),go.Shape.defineFigureGenerator("FilmTape",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(0,0,!1);E.add(y),y.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),y.add(new go.PathSegment(go.PathSegment.Line,0,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.08,b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),b*.95)),y.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*1));var x=new go.PathFigure(0,0,!1);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*1,b*0)),x.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),x.add(new go.PathSegment(go.PathSegment.Line,a*1,b*1));var z=new go.PathFigure(a*.11,b*.1,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),b*.1)),z.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),b*.8)),z.add(new go.PathSegment(go.PathSegment.Line,a*.11,b*.8).close());var ee=new go.PathFigure(a*(.11+.24133333*1+.028*1),b*.1,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),b*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),b*.8)),ee.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),b*.8).close());var te=new go.PathFigure(a*(.11+.24133333*2+.028*2),b*.1,!1);return E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),b*.1)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),b*.8)),te.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),b*.8).close()),E}),go.Shape.defineFigureGenerator("FloppyDisk",function(ne,a,b){var E=new go.Geometry,y=8,x=y*ce,z=new go.PathFigure(y,0,!1);E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,a*1,b*.14)),z.add(new go.PathSegment(go.PathSegment.Line,a,b-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,b,a,b-x,a-x,b)),z.add(new go.PathSegment(go.PathSegment.Line,y,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b-y,x,b,0,b-x)),z.add(new go.PathSegment(go.PathSegment.Line,0,y)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,0,0,x,x,0).close());var ee=new go.PathFigure(a*.83,0,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.83,b*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,b*.3)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.17,b*0).close());var te=new go.PathFigure(a*.83,b*1,!1);E.add(te),te.add(new go.PathSegment(go.PathSegment.Line,a*.83,b*.5)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,b*.5)),te.add(new go.PathSegment(go.PathSegment.Line,a*.17,b*1).close());var oe=new go.PathFigure(a*.78,b*.05,!1);return E.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,b*.05)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.66,b*.25)),oe.add(new go.PathSegment(go.PathSegment.Line,a*.78,b*.25).close()),E}),go.Shape.defineFigureGenerator("SpeechBubble",function(ne,a,b){var E=ne?ne.parameter1:NaN;(isNaN(E)||E<0)&&(E=15),E=Math.min(E,a/3),E=Math.min(E,b/3);var y=E*ce,x=b*.8,z=new go.Geometry,ee=new go.PathFigure(E,0,!0);return z.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a-E,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,E,a-y,0,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,x-E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a-E,x,a,x-y,a-y,x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,x)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,b)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.55,x)),ee.add(new go.PathSegment(go.PathSegment.Line,E,x)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,x-E,y,x,0,x-y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E)),ee.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,y,y,0).close()),y>1?(z.spot1=new go.Spot(0,0,y,y),z.spot2=new go.Spot(1,.8,-y,-y)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a*0,b*.45,!0);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,b*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,b*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,b*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.6,b*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.2,b*.45).close());var x=new go.PathFigure(a*1,b*.55,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.75,b*1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.5,b*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,b*.55)),x.add(new go.PathSegment(go.PathSegment.Line,a*.7,b*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.4,b*.1)),x.add(new go.PathSegment(go.PathSegment.Line,a*.35,b*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,b*0)),x.add(new go.PathSegment(go.PathSegment.Line,a*.8,b*.55).close()),E}),go.Shape.defineFigureGenerator("Windows",function(ne,a,b){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,b)).add(new go.PathSegment(go.PathSegment.Line,0,b).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*b)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*b)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*b)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*b).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*b)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*b)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*b)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*b).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*b)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*b)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*b)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*b).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a*0,b*.1,!1);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*.1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*.9)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,b*.9).close());var x=new go.PathFigure(a*.1,b*.2,!0);E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,b*.25)),x.add(new go.PathSegment(go.PathSegment.Line,a*.22,b*.285)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,b*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.1,b*.37)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,b*.32)),x.add(new go.PathSegment(go.PathSegment.Line,a*.275,b*.25).close());var z=new go.PathFigure(a*.28,b*.37,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,b*.37)),z.add(new go.PathSegment(go.PathSegment.Line,a*.45,b*.41)),z.add(new go.PathSegment(go.PathSegment.Line,a*.28,b*.41).close()),E}),go.Shape.defineFigureGenerator("Beaker",function(ne,a,b){var E=new go.Geometry,y=15,x=y*ce,z=new go.PathFigure(a*.62,b*.475,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a,b-y)),z.add(new go.PathSegment(go.PathSegment.Bezier,a-y,b,a,b-x,a-x,b)),z.add(new go.PathSegment(go.PathSegment.Line,y,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b-y,x,b,0,b-x)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,b*.475)),z.add(new go.PathSegment(go.PathSegment.Line,a*.38,b*.03)),z.add(new go.PathSegment(go.PathSegment.Line,a*.36,b*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.64,b*0)),z.add(new go.PathSegment(go.PathSegment.Line,a*.62,b*.03).close()),x>1?(E.spot1=new go.Spot(0,0,x,x),E.spot2=new go.Spot(1,1,-x,-x)):(E.spot1=go.Spot.TopLeft,E.spot2=go.Spot.BottomRight),E}),go.Shape.defineFigureGenerator("Download",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a*0,b*1,!0);E.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,b*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,b*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),b*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),b*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,b*(1-x)).close());var z=new go.PathFigure(a*.4,b*0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,b*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,b*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.5,b*.66)),z.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),b*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,b*.44)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,b*0).close()),E}),go.Shape.defineFigureGenerator("Bin",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a*0,b*1,!0);E.add(y);var x=.1/.3;return y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,b*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,b*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),b*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),b*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,b*(1-x)).close()),E}),go.Shape.defineFigureGenerator("Upload",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a*0,b*1,!0);E.add(y);var x=.1/.3;y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.8,b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.66,b*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.755,b*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*.93,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.64,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.61,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.39,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.36,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*.07,b*(1-x))),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),b*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),b*.055)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,b*(1-x)).close());var z=new go.PathFigure(a*.5,b*0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,a*.26,b*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,b*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.4,b*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,b*.63)),z.add(new go.PathSegment(go.PathSegment.Line,a*.6,b*.25)),z.add(new go.PathSegment(go.PathSegment.Line,a*.74,b*.25).close()),E}),go.Shape.defineFigureGenerator("EmptyDrink",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a*.15,b*0,!1);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,b*1).close()),E}),go.Shape.defineFigureGenerator("Drink",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a*.15,b*0,!1);E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.85,b*0)),y.add(new go.PathSegment(go.PathSegment.Line,a*.7,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.3,b*1).close());var x=new go.PathFigure(a*.235,b*.28,!0);return E.add(x),x.add(new go.PathSegment(go.PathSegment.Line,a*.765,b*.28)),x.add(new go.PathSegment(go.PathSegment.Line,a*.655,b*.97)),x.add(new go.PathSegment(go.PathSegment.Line,a*.345,b*.97).close()),E}),go.Shape.defineFigureGenerator("4Arrows",function(ne,a,b){var E=new go.Geometry,y=new go.PathFigure(a*.5,b*0,!0);return E.add(y),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,b*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,b*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,b*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,b*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,b*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*1,b*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,b*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*.75,b*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,b*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.55,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.65,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.5,b*1)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,b*.75)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,b*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,b*.55)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,b*.65)),y.add(new go.PathSegment(go.PathSegment.Line,a*0,b*.5)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,b*.35)),y.add(new go.PathSegment(go.PathSegment.Line,a*.25,b*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,b*.45)),y.add(new go.PathSegment(go.PathSegment.Line,a*.45,b*.25)),y.add(new go.PathSegment(go.PathSegment.Line,a*.35,b*.25).close()),E}),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 ke={},ut="5.0",re={},ge=null,ie=!1,Ve=!1,qe=null,pe=!1,Oe=null,ce=null,_e=0;_e<arguments.length;_e++){var Ee=arguments[_e];if(Ee!==null)switch(typeof Ee){case"number":ut=Ee.toFixed(1);break;case"string":Ee.match(new RegExp("^[0-9]\\.[0-9]+$"))?ut=Ee:qe=Ee;break;case"object":typeof Ee.is3D!="undefined"?ge=Ee:re=Ee;break;case"boolean":ie=Ee,Ve=!0;break}}ge===null&&(ge={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},re.material_id!==void 0&&!Ve&&(ie=!0)),qe!==null&&re.id===void 0&&(re.id=qe);var Ne="",we="",Le=!1,De=null,ne=null,a=null,b=!1,E=null,y=null,x=null,z=null,ee=null;re.height!==void 0&&(re.height=Math.round(re.height)),re.width!==void 0&&(re.width=Math.round(re.width));var te=function($e){return parseFloat($e)>4?parseFloat($e):5};ke.setHTML5Codebase=function($e,Ke){ce=$e,vt($e,Ke)},ke.setJavaCodebase=ke.setJavaCodebaseVersion=ke.isCompiledInstalled=ke.setPreCompiledScriptPath=ke.setPreCompiledResourcePath=function(){},ke.setHTML5CodebaseVersion=function($e,Ke){var nt=parseFloat($e);if(nt!==NaN&&nt<5){console.log("The GeoGebra HTML5 codebase version "+nt+" is deprecated. Using version latest instead.");return}Oe=$e,Ft($e,Ke)},ke.getHTML5CodebaseVersion=function(){return ne},ke.getParameters=function(){return re},ke.setFontsCSSURL=function($e){z=$e},ke.setGiacJSURL=function($e){},ke.setJNLPFile=function($e){Ne=$e},ke.setJNLPBaseDir=function($e){},ke.inject=function(){function $e(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ke="auto",nt=re.id,Nt,Je=!1,Bt=0;Bt<arguments.length;Bt++){var he=arguments[Bt];typeof he=="string"?(he=he.toLowerCase(),he.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ke=he:nt=arguments[Bt]):typeof he=="boolean"?Je=he:he instanceof HTMLElement&&(Nt=he)}it();function it(){if(!pe){setTimeout(it,200);return}Ke=je(Ke);var Tt=Nt||document.getElementById(nt);if(!Tt){console.log("possibly bug on ajax loading? ");return}if(ke.removeExistingApplet(Tt,!1),re.width===void 0&&Tt.clientWidth&&(re.width=Tt.clientWidth),re.height===void 0&&Tt.clientHeight&&(re.height=Tt.clientHeight),!(re.width&&re.height)&&Ke==="html5"&&(delete re.width,delete re.height),De=Ke,Ke==="screenshot")Te(Tt,re);else{var an=!1;re.hasOwnProperty("playButton")&&re.playButton||re.hasOwnProperty("clickToLoad")&&re.clickToLoad?an=!0:re.hasOwnProperty("playButtonAutoDecide")&&re.playButtonAutoDecide&&(an=(!oe()||$e())&&le()),an?(De="screenshot",me(Tt,re,Je,Ke)):Ye(Tt,re,Je)}}};function oe(){try{return window.self!==window.top}catch($e){return!0}}function le(){return re.hasOwnProperty("screenshotGenerator")&&re.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}ke.getViews=function(){return ge},ke.isJavaInstalled=function(){return!1};var de=function($e){var Ke=function(Bt){var he=JSON.parse(Bt),it=function(at){return at.type=="G"||at.type=="E"},Tt=he.elements?he.elements.filter(it)[0]:he;if(!Tt||!Tt.url){nt();return}re.fileName=Tt.url,Pe(Tt.settings||{}),ge.is3D=!0;var an="https://www.geogebra.org/images/";ke.setPreviewImage(E||Tt.previewUrl,an+"GeoGebra_loading.png",an+"applet_play.png"),$e()},nt=function(){re.onError&&re.onError(),Mt("Error: Fetching material (id "+re.material_id+") failed.",re)},Nt=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",Je="/materials/"+re.material_id+"?scope=basic";ve("https://"+Nt+"/api/proxy.php?path="+encodeURIComponent(Je),Ke,nt)};function Pe($e){var Ke=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(nt){$e[nt]=!!$e[nt]}),Ke.forEach(function(nt){re[nt]===void 0&&$e[nt]!==void 0&&(re[nt]=$e[nt])}),re.showToolBarHelp===void 0&&(re.showToolBarHelp=re.showToolBar)}function ve($e,Ke,nt){var Nt=new XMLHttpRequest;Nt.open("GET",$e),Nt.onload=function(){Ke(Nt.responseText)},Nt.onerror=nt,Nt.send()}ke.isHTML5Installed=function(){return!0},ke.getLoadedAppletType=function(){return De},ke.setPreviewImage=function($e,Ke,nt){E=$e,y=Ke,x=nt},ke.removeExistingApplet=function($e,Ke){var nt;typeof $e=="string"&&($e=document.getElementById($e)),De=null;var Nt=null;for(nt=0;nt<$e.childNodes.length;nt++){var Je=$e.childNodes[nt],Bt=Je.className;Bt==="applet_screenshot"?Ke?(Je.style.display="block",De="screenshot"):Je.style.display="none":Bt!=="applet_scaler prerender"&&($e.removeChild(Je),Nt=Bt&&Bt.indexOf("appletParameters")!=-1?Je.id:null,nt--)}var he=re.id!==void 0?re.id:Nt,it=window[he];it&&typeof it.getBase64=="function"&&(it.remove(),window[he]=null)},ke.refreshHitPoints=function(){if(te(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var $e=ke.getAppletObject();return $e&&typeof $e.recalculateEnvironments=="function"?($e.recalculateEnvironments(),!0):!1},ke.startAnimation=function(){var $e=ke.getAppletObject();return $e&&typeof $e.startAnimation=="function"?($e.startAnimation(),!0):!1},ke.stopAnimation=function(){var $e=ke.getAppletObject();return $e&&typeof $e.stopAnimation=="function"?($e.stopAnimation(),!0):!1},ke.getAppletObject=function(){var $e=re.id!==void 0?re.id:"ggbApplet";return window[$e]},ke.resize=function(){};var se=function($e,Ke,nt){var Nt=document.createElement("param");Nt.setAttribute("name",Ke),Nt.setAttribute("value",nt),$e.appendChild(Nt)},Ie=function($e){return $e&&$e!=="false"},Ye=function($e,Ke,nt){te(ne)<=4.2&&(nt=!0);var Nt=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ne||ggbHTML5LoadedCodebaseIsWebSimple&&!b)&&(Nt=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Je=document.createElement("div");Je.classList.add("appletParameters","notranslate");var Bt=Ke.width,he=Ke.height;if(Ke.disableAutoScale=Ke.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ke.disableAutoScale,Ke.width!==void 0)if(te(ne)<=4.4)Ie(Ke.showToolBar)&&(Ke.height-=7),Ie(Ke.showAlgebraInput)&&(Ke.height-=37),Ke.width<605&&Ie(Ke.showToolBar)&&(Ke.width=605,Bt=605);else{var it=100;(Ie(Ke.showToolBar)||Ie(Ke.showMenuBar))&&(Ke.hasOwnProperty("customToolBar")&&(Ke.customToolbar=Ke.customToolBar),it=Ie(Ke.showMenuBar)?245:155),Bt<it&&(Ke.width=it,Bt=it)}Je.style.border="none",Je.style.display="inline-block";for(var Tt in Ke)Ke.hasOwnProperty(Tt)&&Tt!=="appletOnLoad"&&Je.setAttribute("data-param-"+Tt,Ke[Tt]);z&&Je.setAttribute("data-param-fontscssurl",z),ke.resize=function(){GGBAppletUtils.responsiveResize($e,Ke)},window.addEventListener("resize",function(Wt){ke.resize()});var an=typeof Ke.appletOnLoad=="function"?Ke.appletOnLoad:function(){};if(!nt&&Ke.width!==void 0){Ke.hasOwnProperty("showSplash")||Je.setAttribute("data-param-showSplash","false");var at=$e.querySelector(".applet_scaler.prerender"),We=at!==null;if(We)var Ze=at.querySelector(".ggb_preview");else{var Ze=He(Bt,he,Ke.borderColor,!1);at=document.createElement("div"),at.className="applet_scaler",at.style.position="relative",at.style.display="block",at.style.width=Bt+"px",at.style.height=he+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(at,"66%"),te(ne)>=5?(Ke.appletOnLoad=function(Wt){var Qt=$e.querySelector(".ggb_preview");Qt&&Qt.parentNode.removeChild(Qt),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(at),window.GGBT_wsf_view&&$(window).trigger("resize"),an(Wt)},We||at.appendChild(Ze)):Je.appendChild(Ze),at.appendChild(Je),We||$e.appendChild(at),setTimeout(function(){ke.resize()},1)}else{var xe=document.createElement("div");xe.className="applet_scaler",xe.style.position="relative",xe.style.display="block",xe.appendChild(Je),$e.appendChild(xe),Ke.appletOnLoad=function(Wt){ke.resize(),an(Wt)}}function Be(Wt,Qt){Qt&&typeof Qt.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Wt,Qt.appletOnLoad):renderGGBElement(Wt),Mt("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Qt)}function Re(Wt,Qt){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Wt,params:Qt}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Fn){Be(Fn.article,Fn.params)}),html5AppletsToProcess=null)},te(ne)<5&&(Wt.className+=" geogebraweb")):Be(Wt,Qt)}if(Nt){scriptLoadStarted=!0;for(var Qe=0;Qe<Je.childNodes.length;Qe++){var mt=Je.childNodes[Qe].tagName;mt==="TABLE"&&(Je.removeChild(Je.childNodes[Qe]),Qe--)}if(ggbHTML5LoadedScript!==null){var Et=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Et!=null&&Et.parentNode.removeChild(Et)}var Ct=document.createElement("script"),$t=function(){Re(Je,Ke)};Ct.src=we+a,ggbHTML5LoadedCodebaseIsWebSimple=b,ggbHTML5LoadedCodebaseVersion=ne,ggbHTML5LoadedScript=Ct.src,Mt("GeoGebra HTML5 codebase loaded: '"+we+"'.",Ke),!ce&&(!Oe||Oe=="5.0")?(b?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),$t()):we.requirejs?__webpack_require__.e(12).then(function(){var Wt=[__webpack_require__(12)];$t.apply(null,Wt)}.bind(this)).catch(__webpack_require__.oe):(Ct.onload=$t,$e.appendChild(Ct))}else Re(Je,Ke);Ke.height=he,Ke.width=Bt},Te=function($e,Ke,nt){var Nt=He(Ke.width,Ke.height,Ke.borderColor,nt),Je=document.createElement("div");Je.style.position="relative",Je.style.display="block",Je.style.width=Ke.width+"px",Je.style.height=Ke.height+"px",Je.className="applet_screenshot applet_scaler"+(nt?" applet_screenshot_play":""),Je.appendChild(Nt);var Bt=GGBAppletUtils.getScale(Ke,$e,nt);nt?($e.appendChild(Ge()),window.GGBT_wsf_view||($e.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Je,"66%"),$e.appendChild(Je),Bt!==1&&!isNaN(Bt)&&(GGBAppletUtils.scaleElement(Je,Bt),Je.style.width=Ke.width+"px",Je.style.height=Ke.height+"px",Je.parentNode.style.width=Ke.width*Bt+"px",Je.parentNode.style.height=Ke.height*Bt+"px"),ke.resize=function(){be($e,Nt,Je,nt)},window.addEventListener("resize",function(he){ke.resize()}),ke.resize()};function be($e,Ke,nt,Nt){if($e.contains(Ke)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if($e.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition($e)}var Je=GGBAppletUtils.getScale(re,$e,Nt);nt.parentNode!==null&&(!isNaN(Je)&&Je!==1?(GGBAppletUtils.scaleElement(nt,Je),nt.parentNode.style.width=re.width*Je+"px",nt.parentNode.style.height=re.height*Je+"px"):(GGBAppletUtils.scaleElement(nt,1),nt.parentNode.style.width=re.width+"px",nt.parentNode.style.height=re.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter($e),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}ke.onExitFullscreen=function($e,Ke){Ke.appendChild($e)};var me=function($e,Ke,nt,Nt){Te($e,Ke,!0);for(var Je=function(){var it=[];for(he=0;he<$e.childNodes.length;he++)it.push($e.childNodes[he]);if(window.GGBT_wsf_view){var Tt=window.GGBT_wsf_view.renderFullScreen($e,Ke.id),an=document.getElementById("fullscreencontainer"),at=jQuery($e).find(".fullscreencontent");at.length>0?(Tt.remove(),at.attr("id","fullscreencontent").show(),jQuery(an).append(at),window.dispatchEvent(new Event("resize"))):Ye(Tt,Ke,!1),window.GGBT_wsf_view.launchFullScreen(an)}else De=Nt,Ye($e,Ke,!1);if(!window.GGBT_wsf_view)for(he=0;he<it.length;he++)$e.removeChild(it[he])},Bt=$e.getElementsByClassName("ggb_preview_play"),he=0;he<Bt.length;he++)Bt[he].addEventListener("click",Je,!1),Bt[he].addEventListener("ontouchstart",Je,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload($e),le()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},Ge=function(){var $e=document.createElement("div");if($e.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Ke='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',nt=document.createElement("style");nt.styleSheet?nt.styleSheet.cssText=Ke:nt.appendChild(document.createTextNode(Ke)),document.getElementsByTagName("head")[0].appendChild(nt)}return $e},He=function($e,Ke,nt,Nt){var Je=document.createElement("div");Je.className="ggb_preview",Je.style.position="absolute",Je.style.zIndex="90",Je.style.width=$e-2+"px",Je.style.height=Ke-2+"px",Je.style.top="0px",Je.style.left="0px",Je.style.overflow="hidden",Je.style.backgroundColor="white";var Bt="lightgrey";nt!==void 0&&(nt==="none"?Bt="transparent":Bt=nt),Je.style.border="1px solid "+Bt;var he=document.createElement("img");if(he.style.position="relative",he.style.zIndex="1000",he.style.top="-1px",he.style.left="-1px",E!==null&&he.setAttribute("src",E),he.style.opacity=.7,y!==null){var it,Tt,an;if(!Nt){it=document.createElement("img"),it.style.position="absolute",it.style.zIndex="1001",it.style.opacity=1,he.style.opacity=.3,Tt=360,Tt>$e/4*3&&(Tt=$e/4*3),an=Tt/5.8,it.setAttribute("src",y),it.setAttribute("width",Tt),it.setAttribute("height",an);var at=($e-Tt)/2,We=(Ke-an)/2;it.style.left=at+"px",it.style.top=We+"px",Je.appendChild(it)}}return Je.appendChild(he),Je},je=function($e){return $e=$e.toLowerCase(),$e==="html5"||$e==="screenshot"?$e:"html5"},et=["web","webSimple","web3d","tablet","tablet3d","phone"],Ft=function($e,Ke){if(ne=$e,Ke){vt(ne,!0);return}var nt=!ie;if(nt){var Nt=te(ne);!isNaN(Nt)&&Nt<4.4&&(nt=!1)}var Je,Bt;window.location.protocol.substr(0,4)==="http"?Je=window.location.protocol:Je="http:";var he=ne.indexOf("//");he>0?Bt=ne:he===0?Bt=Je+ne:Bt="https://www.geogebra.org/apps/5.2.814.0/";for(var it in et)if(ne.slice(et[it].length*-1)===et[it]||ne.slice((et[it].length+1)*-1)===et[it]+"/"){vt(Bt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&nt&&!ge.is3D&&!ge.AV&&!ge.SV&&!ge.CV&&!ge.EV2&&!ge.CP&&!ge.PC&&!ge.DA&&!ge.FI&&!ge.PV&&!Ie(re.showToolBar)&&!Ie(re.showMenuBar)&&!Ie(re.showAlgebraInput)&&!Ie(re.enableRightClick)&&(!re.appName||re.appName=="classic")?Bt+="webSimple/":Bt+="web3d/",vt(Bt,!1)},vt=function($e,Ke){if($e.requirejs){we=$e;return}$e.slice(-1)!=="/"&&($e+="/"),we=$e,Ke===null&&(Ke=$e.indexOf("http")===-1),Le=Ke,a="web.nocache.js",b=!1;var nt=we.split("/");nt.length>1&&(!Ke&&nt[nt.length-2]==="webSimple"?(a="webSimple.nocache.js",b=!0):et.indexOf(nt[nt.length-2])>=0&&(a=nt[nt.length-2]+".nocache.js")),nt=$e.split("/"),ne=nt[nt.length-3],ne.substr(0,4)==="test"?ne=ne.substr(4,1)+"."+ne.substr(5,1):(ne.substr(0,3)==="war"||ne.substr(0,4)==="beta")&&(ne="5.0");var Nt=parseFloat(ne);Nt!==NaN&&Nt<5&&$e.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Nt+" is deprecated. Using version latest instead."),Ft("5.0",Ke))},Mt=function($e,Ke){window.console&&window.console.log&&(!Ke||typeof Ke.showLogging=="undefined"||Ke.showLogging&&Ke.showLogging!=="false")&&console.log($e)};re.material_id!==void 0?de(hn):hn();function hn(){var $e=ut;Oe!==null?$e=Oe:parseFloat($e)<5&&($e="5.0"),Ft($e,!1),ce!==null&&vt(ce,Le),pe=!0}return ke},GGBAppletUtils=function(){"use strict";function ke(){return window.GGBT_wsf_edit!==void 0}function ut(pe,Oe){Oe!=1?(pe.style.transformOrigin="0% 0% 0px",pe.style.webkitTransformOrigin="0% 0% 0px",pe.style.transform="scale("+Oe+","+Oe+")",pe.style.webkitTransform="scale("+Oe+","+Oe+")",pe.style.maxWidth="initial",pe.querySelector(".ggb_preview")!==null&&(pe.querySelector(".ggb_preview").style.maxWidth="initial"),pe.querySelectorAll(".ggb_preview img")[0]!==void 0&&(pe.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),pe.querySelectorAll(".ggb_preview img")[1]!==void 0&&(pe.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(pe.style.transform="none",pe.style.webkitTransform="none")}function re(pe,Oe,ce,_e,Ee,Ne){var we=null;if(Ne!=null&&Ne!="")for(var Le=pe.parentNode;Le!=null;)if((" "+Le.className+" ").indexOf(" "+Ne+" ")>-1){we=Le;break}else Le=Le.parentNode;var De=0,ne=0,a=0,b=0,E=0,y=0,x=0;if(we)De=we.offsetWidth,ne=Math.max(_e?we.offsetWidth:0,we.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(De=Math.min(window.innerWidth,document.documentElement.clientWidth),ne=Math.min(window.innerHeight,document.documentElement.clientHeight),a=De):(De=window.innerWidth,ne=window.innerHeight,a=window.innerWidth),pe){var z=pe.getBoundingClientRect();z.left>0&&z.left<=De&&(Ee===void 0||!Ee)&&(document.dir==="rtl"?(E=De-z.width-z.left,y=a<=480?10:30):(y=z.left,E=a<=480?10:30),b=y+E)}if(pe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ee=pe.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(b=40,x=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(b=0,x=40)}}return pe&&((ce===void 0||!ce)&&Oe>0&&Oe+b<De?De=Oe:De-=b,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ce===void 0||!ce)&&(ne-=x)),{width:De,height:ne}}function ge(pe,Oe,ce,_e,Ee){if(pe.isScreenshoGenerator)return 1;var Ne=_e!==void 0&&_e,we=pe.noScaleMargin!=null&&pe.noScaleMargin,Le=function(ee){return ee&&ee!=="false"},De=Le(pe.autoHeight),ne=re(Oe,pe.width,ce,De,Ne&&window.GGBT_wsf_view||we,Ee),a=parseInt(ne.width),b=pe.width,E=pe.height;if(b===void 0){var y=Oe.querySelector(".appletParameters");y&&(b=y.offsetWidth,E=y.offsetHeight)}var x=a/b,z=Ne?1:ne.height/E;return ce!==void 0&&!ce&&(x=Math.min(1,x),z=Math.min(1,z)),Math.min(x,z)}function ie(pe,Oe,ce){var _e=1,Ee,Ne=!1;if(pe.hasOwnProperty("allowUpscale")&&(Ne=pe.allowUpscale),pe.hasOwnProperty("scale")&&(_e=parseFloat(pe.scale),(isNaN(_e)||_e===null||_e===0)&&(_e=1),_e>1&&(Ne=!0)),Oe&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(Ne=!0),!(pe.hasOwnProperty("disableAutoScale")&&pe.disableAutoScale))Ee=ge(pe,Oe,Ne,ce,pe.scaleContainerClass);else return _e;return Ne&&(!pe.hasOwnProperty("scale")||_e===1)?Ee:Math.min(_e,Ee)}function Ve(pe){var Oe=Math.min(window.innerWidth,document.documentElement.clientWidth),ce=Math.min(window.innerHeight,document.documentElement.clientHeight),_e=pe.getBoundingClientRect(),Ee=(Oe-_e.width)/2,Ne=(ce-_e.height)/2;Ne<0&&(Ne=0),pe.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ee<40?pe.style.left="40px":pe.style.left=Ee+"px",pe.style.top=Ne+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(Ne<40?pe.style.top="40px":pe.style.top=Ne+"px",pe.style.left=Ee+"px")}function qe(pe,Oe){var ce=pe.querySelector(".appletParameters");if(ce){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Oe.id!==ce.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(pe)}if(ce.parentElement&&/fullscreen/.test(ce.parentElement.className))return;var _e=ie(Oe,pe);ke()&&ce.setAttribute("data-param-scale",_e);for(var Ee=null,Ne=0;Ne<pe.childNodes.length;Ne++)if(pe.childNodes[Ne].className!==void 0&&pe.childNodes[Ne].className.match(/^applet_scaler/)){Ee=pe.childNodes[Ne];break}if(Ee!==null&&Ee.querySelector(".noscale")!==null)return;var we=Oe.id!==void 0?Oe.id:"ggbApplet",Le=window[we];(Le==null||!Le.recalculateEnvironments)&&Ee!==null&&!Ee.className.match(/fullscreen/)&&(Ee.parentNode.style.transform="",!isNaN(_e)&&_e!==1?(Ee.parentNode.style.width=Oe.width*_e+"px",Ee.parentNode.style.height=Oe.height*_e+"px",ut(Ee,_e)):(ut(Ee,1),Ee.parentNode.style.width=Oe.width+"px",Ee.parentNode.style.height=Oe.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Ve(pe),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(ce).parents(".content-added-content"))}}return{responsiveResize:qe,isFlexibleWorksheetEditor:ke,positionCenter:Ve,getScale:ie,scaleElement:ut}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var ke=n.location.search;return ke.indexOf(J)!=-1||ke.indexOf(K)!=-1}function q(ke,ut){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(ke){var ut=s[L].bindings;s[L].bindings=function(){for(var re=ut?ut():{},ge=ke[webModule.__softPermutationId],ie=O;ie<ge.length;ie++){var Ve=ge[ie];re[Ve[O]]=Ve[P]}return re}};var t;function u(){return v(),t}function v(){if(!t){var ke=o.createElement(Q);if(ke.id=L,ke.style.cssText=R+S,ke.tabIndex=-1,o.body.appendChild(ke),t=ke.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var ut=document.compatMode==U?V:W;t.write(ut+X),t.close()}}}function w(ke){function ut(ge){function ie(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Ve=ie();if(Ve){ge();return}function qe(){if(!Ve){if(!ie())return;Ve=!0,ge(),o.removeEventListener&&o.removeEventListener(Z,qe,!1),pe&&clearInterval(pe)}}o.addEventListener&&o.addEventListener(Z,qe,!1);var pe=setInterval(function(){qe()},$)}function re(ge){var ie=u(),Ve=ie.body,qe=ie.createElement(_);qe.language=ab,qe.crossOrigin=W,qe.src=ge,webModule.__errFn&&(qe.onerror=function(){webModule.__errFn(L,new Error(bb+ge))}),Ve.appendChild(qe)}ut(function(){re(ke)})}webModule.__startLoadingFragment=function(ke){return C(ke)},webModule.__installRunAsyncCode=function(ke){var ut=u(),re=ut.body,ge=ut.createElement(_);ge.language=ab,ge.text=ke,re.appendChild(ge),re.removeChild(ge)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=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(ke){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ke){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ke){var ut=c[ke];return ut==null?null:ut},r=d,webModule.__errFn=e}function B(){function ke(pe){var Oe=pe.lastIndexOf(rb);Oe==-1&&(Oe=pe.length);var ce=pe.indexOf(sb);ce==-1&&(ce=pe.length);var _e=pe.lastIndexOf(tb,Math.min(ce,Oe));return _e>=O?pe.substring(O,_e+P):W}function ut(pe){if(!pe.match(/^\w+:\/\//)){var Oe=o.createElement(ub);Oe.src=pe+vb,pe=ke(Oe.src)}return pe}function re(){var pe=__gwt_getMetaProperty(wb);return pe!=null?pe:W}function ge(){for(var pe=o.getElementsByTagName(_),Oe=O;Oe<pe.length;++Oe)if(pe[Oe].src.indexOf(xb)!=-1)return ke(pe[Oe].src);return W}function ie(){var pe=o.getElementsByTagName(yb);return pe.length>O?pe[pe.length-P].href:W}function Ve(){var pe=o.location;return pe.href==pe.protocol+zb+pe.host+pe.pathname+pe.search+pe.hash}var qe=re();return qe==W&&(qe=ge()),qe==W&&(qe=ie()),qe==W&&Ve()&&(qe=ke(o.location.href)),qe=ut(qe),qe}function C(ke){return ke.match(/^\//)||ke.match(/^[a-zA-Z]+:\/\//)?ke:webModule.__moduleBase+ke}function D(){var ke=[],ut=O,re=[],ge=[];function ie(pe){var Oe=ge[pe](),ce=re[pe];if(Oe in ce)return Oe;var _e=[];for(var Ee in ce)_e[ce[Ee]]=Ee;throw r&&r(pe,_e,Oe),null}if(__gwt_isKnownPropertyValue=function(pe,Oe){return Oe in re[pe]},webModule.__getPropMap=function(){var pe={};for(var Oe in re)re.hasOwnProperty(Oe)&&(pe[Oe]=ie(Oe));return pe},webModule.__computePropValue=ie,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ve;try{Ve=Cb;var qe=Ve.indexOf(Db);qe!=-1&&(ut=parseInt(Ve.substring(qe+P),$),Ve=Ve.substring(O,qe))}catch(pe){}return webModule.__softPermutationId=ut,C(Ve+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(ke,ut,re){"use strict";re.d(ut,{Ax:function(){return qe},Ds:function(){return pe},KI:function(){return ce},SI:function(){return Ve},f1:function(){return ie}});var ge=re(11320);function ie(_e){let Ee=!0;if(_e.length>0){for(let Ne=0;Ne<_e.length;Ne++)if(_e[Ne].compile_success==0||!_e[Ne].compile_success){Ee=!1;break}}else Ee=!1;return Ee}function Ve(_e,Ee=""){let Ne=[];for(let we=0;we<_e.length;we++){let Le=_e[we],De=Ee?`${Ee}/${Le.name}`:`${Le.name}`;Ne.push({title:Le.name,type:Le.type,isLeaf:Le.type!=="tree",key:De})}return Ne}function qe(_e,Ee,Ne){for(let we=0;we<_e.length;we++){let Le=_e[we];if(Le.key===Ee){Le.children=Ne;break}Le.children&&qe(Le.children,Ee,Ne)}return _e}function pe(_e,Ee,Ne){let we;return function(){let Le=this,De=arguments,ne=function(){we=null,Ne||_e.apply(Le,De)},a=Ne&&!we;clearTimeout(we),we=setTimeout(ne,Ee),a&&_e.apply(Le,De)}}const Oe=!0,ce=ge.Z.API_SERVER},63205:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return we}});var ge=re(67294),ie={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ve=re(94184),qe=re.n(Ve),pe=re(57953),Oe=re(15979),ce=re(33170),_e=re(28706),Ee=(Le,De,ne)=>new Promise((a,b)=>{var E=z=>{try{x(ne.next(z))}catch(ee){b(ee)}},y=z=>{try{x(ne.throw(z))}catch(ee){b(ee)}},x=z=>z.done?a(z.value):Promise.resolve(z.value).then(E,y);x((ne=ne.apply(Le,De)).next())}),we=({data:Le,className:De,fullWidth:ne,style:a={},onClose:b,onOk:E,showFullTools:y,noAssociationId:x})=>{const z=(0,ge.useRef)(null),ee=(0,ge.useRef)(null),te=(0,ge.useRef)(null),oe=(0,ge.useRef)(null),[le,de]=(0,ge.useState)(!1),[Pe,ve]=(0,ge.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ge.useEffect)(()=>{te.current||(te.current=document.createElement("style"),document.head.appendChild(te.current)),Le!=null&&Le.visible?(document.body.setAttribute("data-custom","y-hidden"),te.current.innerHTML=" html { overflow-y: hidden; }",Le!=null&&Le.src&&se()):(document.body.removeAttribute("data-custom"),te.current&&(document.head.removeChild(te.current),te.current=null))},[Le==null?void 0:Le.visible]);const se=()=>Ee(void 0,null,function*(){de(!0),ve("\u6B63\u5728\u52A0\u8F7D\u4E2D");const me=yield(0,_e.ZJ)(Le==null?void 0:Le.src);z.current.src="",z.current.src=me,z.current.onload=function(){be()},de(!1),ve("")}),Ie=()=>{document.body.removeAttribute("data-custom"),te.current.innerHTML=" ",b()},Ye=me=>Ee(void 0,null,function*(){de(!0),ve("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Ge=yield(0,ce.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Le.title,file:me.dataUrl}});Ge!=null&&Ge.id&&!x?(yield(0,ce.ZP)(`/api/attachments/${Le.id}/add_subitem.json`,{method:"post",body:{subitem_id:Ge==null?void 0:Ge.id,settings:JSON.stringify(me.state)}})).status===0&&E():Ge!=null&&Ge.id&&E(Ge),document.body.removeAttribute("data-custom"),te.current.innerHTML=" ",de(!1),ve("")}),Te=()=>{const me=document.querySelector('a[href="https://markerjs.com/"]');me&&me.parentNode&&(me.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(He=>{const je=document.querySelector(He.name);je&&je.setAttribute("title",He.title)})},be=()=>{ee.current=new Oe.hP(z.current),ee.current.targetRoot=oe.current,ee.current.addEventListener("render",Ye),ee.current.addEventListener("beforeclose",Ie),y&&(ee.current.availableMarkerTypes=ee.current.ALL_MARKER_TYPES,ee.current.uiStyleSettings.redoButtonVisible=!0,ee.current.uiStyleSettings.notesButtonVisible=!0,ee.current.uiStyleSettings.zoomButtonVisible=!0,ee.current.uiStyleSettings.zoomOutButtonVisible=!0,ee.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=ee.current.uiStyleSettings,ee.current.show(),Le!=null&&Le.snapshotData&&ee.current.restoreState(Le.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Te()},300)};return ge.createElement(ge.Fragment,null,(Le==null?void 0:Le.visible)&&ge.createElement(pe.Z,{spinning:le,tip:Pe,style:{position:"absolute"}},ge.createElement("div",{ref:oe,className:qe()(ie.imageDimensions,De,ne?ie.fullWidth:""),style:a},ge.createElement("img",{className:ie.img,ref:z}))))}},36527:function(ke,ut,re){"use strict";var ge=re(67294),ie=re(71230),Ve=re(15746),qe=re(66368),pe=re(71577),Oe=re(85725),ce=re(71736),_e=re(84279),Ee=re(67294);const Ne=(0,ge.forwardRef)(({callback:we,showSaveButton:Le,value:De=""},ne)=>{const a=(0,ge.useRef)(),b=[{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 "}]}]}],E=[{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}`}]}]}],y=ee=>{a.current.setValue(a.current.getValue()+" "+ee.value+" ")},x=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:Ee.createElement(ie.Z,{className:ce.Z.lists,gutter:[10,10]},b.map((ee,te)=>Ee.createElement(Ve.Z,{flex:"110px",className:ce.Z.item},Ee.createElement("div",null,Ee.createElement(Oe.Z,{value:`$$${ee.value}$$`}),ee.name),Ee.createElement("div",{className:ce.Z.children},ee.children.map((oe,le)=>Ee.createElement("div",{key:le},Ee.createElement("h1",null,oe.name),Ee.createElement(ie.Z,{gutter:[10,10]},oe.data.map((de,Pe)=>Ee.createElement(Ve.Z,{key:Pe,onClick:()=>y(de),className:ce.Z.diamond},Ee.createElement(Oe.Z,{value:"`$$"+de.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:Ee.createElement(ie.Z,{className:ce.Z.lists,gutter:[10,10]},E.map((ee,te)=>Ee.createElement(Ve.Z,{flex:"110px",className:ce.Z.item},Ee.createElement("div",null,Ee.createElement(Oe.Z,{value:"`$$"+ee.value+"$$`"}),ee.name),Ee.createElement("div",{className:ce.Z.children},ee.children.map((oe,le)=>Ee.createElement("div",{key:le},oe.name&&Ee.createElement("h1",null,oe.name),Ee.createElement(ie.Z,{gutter:[10,10]},oe.data.map((de,Pe)=>Ee.createElement(Ve.Z,{key:Pe,onClick:()=>y(de),className:ce.Z.diamond},Ee.createElement(Oe.Z,{value:"`$$"+de.value+"$$`"}))))))))))}],z=()=>{var ee=document.createElement("div");ee.innerHTML=a.current.getValue();var te=ee.innerText;return we&&we(te),te};return(0,ge.useImperativeHandle)(ne,()=>({getData:z})),Ee.createElement("div",{className:ce.Z.mathWrap},Ee.createElement(qe.default,{defaultActiveKey:"1",items:x}),Ee.createElement("math-field",{locale:"zh_cn",className:ce.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:a,style:{width:800,marginTop:30,fontSize:18}},De||""),Le&&Ee.createElement("div",{className:ce.Z.button},Ee.createElement(pe.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});ut.Z=Ne},57444:function(ke,ut,re){"use strict";re.d(ut,{h:function(){return ee}});var ge=re(67294),ie=re(11713),Ve=re(22150),qe=re(71577),pe=re(4631),Oe=re.n(pe),ce=re(71749),_e=re(30483),Ee=Object.defineProperty,Ne=Object.defineProperties,we=Object.getOwnPropertyDescriptors,Le=Object.getOwnPropertySymbols,De=Object.prototype.hasOwnProperty,ne=Object.prototype.propertyIsEnumerable,a=(te,oe,le)=>oe in te?Ee(te,oe,{enumerable:!0,configurable:!0,writable:!0,value:le}):te[oe]=le,b=(te,oe)=>{for(var le in oe||(oe={}))De.call(oe,le)&&a(te,le,oe[le]);if(Le)for(var le of Le(oe))ne.call(oe,le)&&a(te,le,oe[le]);return te},E=(te,oe)=>Ne(te,we(oe));const y=ie.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"]};ut.Z=({callback:te,onCancel:oe})=>{const[le,de]=(0,ge.useState)("python");function Pe(se){de(z[se][1])}function ve(se){te(se)}return ge.createElement(Ve.default,E(b({},x),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ve,style:{width:500}}),ge.createElement(Ve.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ge.createElement(ie.default,{getPopupContainer:se=>se.parentNode,onChange:Pe},Object.keys(z).map(se=>ge.createElement(y,{key:se,value:se},z[se][0])))),ge.createElement(Ve.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ge.createElement(ee,{mode:le})),ge.createElement("div",{className:"flex-container flex-end"},ge.createElement(qe.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ge.createElement(qe.ZP,{type:"ghost",onClick:oe},"\u53D6\u6D88")))};function ee({value:te,onChange:oe,mode:le,options:de={}}){const Pe=(0,ge.useRef)(),[ve,se]=(0,ge.useState)();return(0,ge.useEffect)(()=>{if(ve){let Ie=function(Ye){const Te=Ye.getValue();oe&&oe(Te)};return ve.on("change",Ie),()=>{ve.off("change",Ie)}}},[ve,oe]),(0,ge.useEffect)(()=>{ve&&ve.setOption("mode",le)},[ve,le]),(0,ge.useEffect)(()=>{ve&&(te!==ve.getValue()||te==="")&&setTimeout(()=>{ve.setValue(te||"")},300)},[ve,te]),(0,ge.useEffect)(()=>{if(Pe.current&&!ve){const Ie=Oe().fromTextArea(Pe.current,b({mode:le,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},de));se(Ie)}},[Pe.current,ve]),ge.createElement("div",{className:"my-codemirror-container"},ge.createElement("textarea",{ref:Pe}))}},35567:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return jo}});var ge=re(67294),ie=re(4631),Ve=re.n(ie),qe=re(91033),pe=re(71749),Oe=re(57341),ce=re(82801),_e=re(88386),Ee=re(49047),Ne=re(80785),we=re(85725),Le=({value:ye="",className:Me,showTextOnly:Fe,showLines:ct,style:Gt={}})=>{const jt=(0,ge.useMemo)(()=>"",[ye]);return ge.createElement(ge.Fragment,null,ge.createElement("div",{dangerouslySetInnerHTML:{__html:jt}}))},De=re(67294),ne=Object.defineProperty,a=Object.defineProperties,b=Object.getOwnPropertyDescriptors,E=Object.getOwnPropertySymbols,y=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,z=(ye,Me,Fe)=>Me in ye?ne(ye,Me,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):ye[Me]=Fe,ee=(ye,Me)=>{for(var Fe in Me||(Me={}))y.call(Me,Fe)&&z(ye,Fe,Me[Fe]);if(E)for(var Fe of E(Me))x.call(Me,Fe)&&z(ye,Fe,Me[Fe]);return ye},te=(ye,Me)=>a(ye,b(Me));let oe=[{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 le({onActionCallback:ye,title:Me,icon:Fe,actionName:ct,className:Gt="",children:jt}){function Hn(){ye(ct)}return De.createElement("a",{title:Me,className:Gt,onClick:Hn},De.createElement("i",{className:`${Fe}`}),jt)}var de=({watch:ye,showNullButton:Me,showNullProgramButton:Fe,onActionCallback:ct,fullScreen:Gt,insertTemp:jt,hidetoolBar:Hn,extraUse:Ln})=>{const An=[...oe,{title:`${ye?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${ye?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return De.createElement("ul",{className:"markdown-toolbar-container"},!Hn&&An.map((qn,no)=>De.createElement("li",{key:no},qn.actionName?De.createElement(le,te(ee({},qn),{onActionCallback:ct})):De.createElement("span",{className:"v-line"}))),Me?De.createElement("li",null,De.createElement(le,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:ct},De.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Fe?De.createElement(De.Fragment,null,De.createElement("li",null,De.createElement(le,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:ct},De.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),De.createElement("li",null,De.createElement(le,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:ct},De.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,jt&&De.createElement("li",null,De.createElement(le,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${jt}`,onActionCallback:ct},De.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),Ln&&De.createElement("li",null,Ln),De.createElement("li",{className:"btn-full-screen"},De.createElement(le,{icon:`${Gt?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:Gt?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:ct})))},Pe=re(76621),ve=re(22150),se=re(69677),Ie=re(71577),Ye=Object.defineProperty,Te=Object.defineProperties,be=Object.getOwnPropertyDescriptors,me=Object.getOwnPropertySymbols,Ge=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,je=(ye,Me,Fe)=>Me in ye?Ye(ye,Me,{enumerable:!0,configurable:!0,writable:!0,value:Fe}):ye[Me]=Fe,et=(ye,Me)=>{for(var Fe in Me||(Me={}))Ge.call(Me,Fe)&&je(ye,Fe,Me[Fe]);if(me)for(var Fe of me(Me))He.call(Me,Fe)&&je(ye,Fe,Me[Fe]);return ye},Ft=(ye,Me)=>Te(ye,be(Me));const vt={labelCol:{span:4},wrapperCol:{span:20}};var Mt=({callback:ye,onCancel:Me})=>{function Fe(ct){ye(ct)}return ge.createElement(ve.default,Ft(et({},vt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Fe,style:{width:500}}),ge.createElement(ve.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ge.createElement(se.default,null)),ge.createElement(ve.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ge.createElement(se.default,null)),ge.createElement("div",{className:"flex-container flex-end"},ge.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ge.createElement(Ie.ZP,{type:"ghost",onClick:Me},"\u53D6\u6D88")))},hn=re(57444),$e=re(70859),Ke=re(14446),nt=re(71230),Nt=re(63205),Je=re(67294),Bt=({callback:ye,onCancel:Me})=>{const Fe=document.createElement("canvas"),ct=Fe.getContext("2d");Fe.width=1e3,Fe.height=800,ct.fillStyle="#ffffff",ct.fillRect(0,0,Fe.width,Fe.height);const Gt=Fe.toDataURL("image/png");return Je.createElement(Ke.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Je.createElement(nt.Z,{style:{height:"100vh"}},Je.createElement(Nt.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:Gt,visible:!0,title:String(Date.now())},onOk:jt=>{ye({src:jt.url})},onClose:Me})))},he=re(23495);function it(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(it,go.CommandHandler),it.prototype.canAlignSelection=function(){var ye=this.diagram;return!(ye===null||ye.isReadOnly||ye.isModelReadOnly||ye.selection.count<2)},it.prototype.alignLeft=function(){var ye=this.diagram;ye.startTransaction("aligning left");var Me=1/0;ye.selection.each(function(Fe){Fe instanceof go.Link||(Me=Math.min(Fe.position.x,Me))}),ye.selection.each(function(Fe){Fe instanceof go.Link||Fe.move(new go.Point(Me,Fe.position.y))}),ye.commitTransaction("aligning left")},it.prototype.alignRight=function(){var ye=this.diagram;ye.startTransaction("aligning right");var Me=-1/0;ye.selection.each(function(Fe){if(!(Fe instanceof go.Link)){var ct=Fe.actualBounds.x+Fe.actualBounds.width;Me=Math.max(ct,Me)}}),ye.selection.each(function(Fe){Fe instanceof go.Link||Fe.move(new go.Point(Me-Fe.actualBounds.width,Fe.position.y))}),ye.commitTransaction("aligning right")},it.prototype.alignTop=function(){var ye=this.diagram;ye.startTransaction("alignTop");var Me=1/0;ye.selection.each(function(Fe){Fe instanceof go.Link||(Me=Math.min(Fe.position.y,Me))}),ye.selection.each(function(Fe){Fe instanceof go.Link||Fe.move(new go.Point(Fe.position.x,Me))}),ye.commitTransaction("alignTop")},it.prototype.alignBottom=function(){var ye=this.diagram;ye.startTransaction("aligning bottom");var Me=-1/0;ye.selection.each(function(Fe){if(!(Fe instanceof go.Link)){var ct=Fe.actualBounds.y+Fe.actualBounds.height;Me=Math.max(ct,Me)}}),ye.selection.each(function(Fe){Fe instanceof go.Link||Fe.move(new go.Point(Fe.actualBounds.x,Me-Fe.actualBounds.height))}),ye.commitTransaction("aligning bottom")},it.prototype.alignCenterX=function(){var ye=this.diagram,Me=ye.selection.first();if(Me){ye.startTransaction("aligning Center X");var Fe=Me.actualBounds.x+Me.actualBounds.width/2;ye.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(Fe-ct.actualBounds.width/2,ct.actualBounds.y))}),ye.commitTransaction("aligning Center X")}},it.prototype.alignCenterY=function(){var ye=this.diagram,Me=ye.selection.first();if(Me){ye.startTransaction("aligning Center Y");var Fe=Me.actualBounds.y+Me.actualBounds.height/2;ye.selection.each(function(ct){ct instanceof go.Link||ct.move(new go.Point(ct.actualBounds.x,Fe-ct.actualBounds.height/2))}),ye.commitTransaction("aligning Center Y")}},it.prototype.alignColumn=function(ye){var Me=this.diagram;Me.startTransaction("align Column"),ye===void 0&&(ye=0),ye=parseFloat(ye);var Fe=new Array;Me.selection.each(function(Ln){Ln instanceof go.Link||Fe.push(Ln)});for(var ct=0;ct<Fe.length-1;ct++){var Gt=Fe[ct],jt=Gt.actualBounds.y+Gt.actualBounds.height+ye,Hn=Fe[ct+1];Hn.move(new go.Point(Gt.actualBounds.x,jt))}Me.commitTransaction("align Column")},it.prototype.alignRow=function(ye){ye===void 0&&(ye=0),ye=parseFloat(ye);var Me=this.diagram;Me.startTransaction("align Row");var Fe=new Array;Me.selection.each(function(Ln){Ln instanceof go.Link||Fe.push(Ln)});for(var ct=0;ct<Fe.length-1;ct++){var Gt=Fe[ct],jt=Gt.actualBounds.x+Gt.actualBounds.width+ye,Hn=Fe[ct+1];Hn.move(new go.Point(jt,Gt.actualBounds.y))}Me.commitTransaction("align Row")},it.prototype.canRotate=function(ye){var Me=this.diagram;return!(Me===null||Me.isReadOnly||Me.isModelReadOnly||Me.selection.count<1)},it.prototype.rotate=function(ye){ye===void 0&&(ye=90);var Me=this.diagram;Me.startTransaction("rotate "+ye.toString());var Me=this.diagram;Me.selection.each(function(Fe){Fe instanceof go.Link||Fe instanceof go.Group||(Fe.angle+=ye)}),Me.commitTransaction("rotate "+ye.toString())},it.prototype.pullToFront=function(){var ye=this.diagram;ye.startTransaction("pullToFront");var Me=new go.Map;ye.selection.each(function(Fe){Me.set(Fe.layer,0)}),Me.iteratorKeys.each(function(Fe){var ct=0;Fe.parts.each(function(Gt){if(!Gt.isSelected){var jt=Gt.zOrder;isNaN(jt)?Gt.zOrder=0:ct=Math.max(ct,jt)}}),Me.set(Fe,ct)}),ye.selection.each(function(Fe){it._assignZOrder(Fe,Me.get(Fe.layer)+1)}),ye.commitTransaction("pullToFront")},it.prototype.pushToBack=function(){var ye=this.diagram;ye.startTransaction("pushToBack");var Me=new go.Map;ye.selection.each(function(Fe){Me.set(Fe.layer,0)}),Me.iteratorKeys.each(function(Fe){var ct=0;Fe.parts.each(function(Gt){if(!Gt.isSelected){var jt=Gt.zOrder;isNaN(jt)?Gt.zOrder=0:ct=Math.min(ct,jt)}}),Me.set(Fe,ct)}),ye.selection.each(function(Fe){it._assignZOrder(Fe,Me.get(Fe.layer)-1-it._findGroupDepth(Fe))}),ye.commitTransaction("pushToBack")},it._assignZOrder=function(ye,Me,Fe){Fe===void 0&&(Fe=ye),ye.layer===Fe.layer&&(ye.zOrder=Me),ye instanceof go.Group&&ye.memberParts.each(function(ct){it._assignZOrder(ct,Me+1,Fe)})},it._findGroupDepth=function(ye){if(ye instanceof go.Group){var Me=0;return ye.memberParts.each(function(Fe){Me=Math.max(Me,it._findGroupDepth(Fe))}),Me+1}else return 0},it.prototype.doKeyDown=function(){var ye=this.diagram;if(ye!==null){var Me=ye.lastInput;if(Me.key==="Up"||Me.key==="Down"||Me.key==="Left"||Me.key==="Right"){var Fe=this.arrowKeyBehavior;if(Fe==="none")return;if(Fe==="select"){this._arrowKeySelect();return}else if(Fe==="move"){this._arrowKeyMove();return}else if(Fe==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},it.prototype._getAllParts=function(){var ye=new Array;return this.diagram.nodes.each(function(Me){ye.push(Me)}),this.diagram.parts.each(function(Me){ye.push(Me)}),ye},it.prototype._arrowKeyMove=function(){var ye=this.diagram,Me=ye.lastInput,Fe=0,ct=0;if(Me.control||Me.meta)Fe=1,ct=1;else if(ye.grid!==null){var Gt=ye.grid.gridCellSize;ct=Gt.width,Fe=Gt.height}ye.startTransaction("arrowKeyMove"),ye.selection.each(function(jt){Me.key==="Up"?jt.move(new go.Point(jt.actualBounds.x,jt.actualBounds.y-Fe)):Me.key==="Down"?jt.move(new go.Point(jt.actualBounds.x,jt.actualBounds.y+Fe)):Me.key==="Left"?jt.move(new go.Point(jt.actualBounds.x-ct,jt.actualBounds.y)):Me.key==="Right"&&jt.move(new go.Point(jt.actualBounds.x+ct,jt.actualBounds.y))}),ye.commitTransaction("arrowKeyMove")},it.prototype._arrowKeySelect=function(){var ye=this.diagram,Me=ye.lastInput,Fe=null;Me.key==="Up"?Fe=this._findNearestPartTowards(270):Me.key==="Down"?Fe=this._findNearestPartTowards(90):Me.key==="Left"?Fe=this._findNearestPartTowards(180):Me.key==="Right"&&(Fe=this._findNearestPartTowards(0)),Fe!==null&&(Me.shift?Fe.isSelected=!0:Me.control||Me.meta?Fe.isSelected=!Fe.isSelected:ye.select(Fe))},it.prototype._findNearestPartTowards=function(ye){var Me=this.diagram.selection.first();if(Me===null)return null;for(var Fe=Me.actualBounds.center,ct=this._getAllParts(),Gt=1/0,jt=Me,Hn=0;Hn<ct.length;Hn++){var Ln=ct[Hn];if(Ln!==Me&&Ln.canSelect()){var An=Ln.actualBounds.center,qn=Fe.directionPoint(An),no=this._angleCloseness(qn,ye);if(no<=45){var lt=Fe.distanceSquaredPoint(An);lt*=1+Math.sin(no*Math.PI/180),lt<Gt&&(Gt=lt,jt=Ln)}}}return jt},it.prototype._angleCloseness=function(ye,Me){return Math.min(Math.abs(Me-ye),Math.min(Math.abs(Me+360-ye),Math.abs(Me-360-ye)))},it.prototype._arrowKeyTree=function(){var ye=this.diagram,Me=ye.selection.first();if(Me instanceof go.Node){var Fe=ye.lastInput;if(Fe.key==="Right"){if(!Me.isTreeLeaf)if(!Me.isTreeExpanded)ye.commandHandler.canExpandTree(Me)&&ye.commandHandler.expandTree(Me);else{var ct=this._sortTreeChildrenByY(Me).first();ct!==null&&ye.select(ct)}}else if(Fe.key==="Left")if(!Me.isTreeLeaf&&Me.isTreeExpanded)ye.commandHandler.canCollapseTree(Me)&&ye.commandHandler.collapseTree(Me);else{var Gt=Me.findTreeParentNode();Gt!==null&&ye.select(Gt)}else if(Fe.key==="Up"){var Gt=Me.findTreeParentNode();if(Gt!==null){var jt=this._sortTreeChildrenByY(Gt),Hn=jt.indexOf(Me);if(Hn>0){for(var Ln=jt.elt(Hn-1);Ln!==null&&Ln.isTreeExpanded&&!Ln.isTreeLeaf;){var An=this._sortTreeChildrenByY(Ln);Ln=An.last()}Ln!==null&&ye.select(Ln)}else ye.select(Gt)}}else if(Fe.key==="Down")if(Me.isTreeExpanded&&!Me.isTreeLeaf){var ct=this._sortTreeChildrenByY(Me).first();ct!==null&&ye.select(ct)}else for(;Me!==null;){var Gt=Me.findTreeParentNode();if(Gt===null)break;var jt=this._sortTreeChildrenByY(Gt),Hn=jt.indexOf(Me);if(Hn<jt.length-1){ye.select(jt.elt(Hn+1));break}else Me=Gt}var qn=ye.selection.first();qn!==null&&ye.scrollToRect(qn.actualBounds)}},it.prototype._sortTreeChildrenByY=function(ye){var Me=new go.List().addAll(ye.findTreeChildrenNodes());return Me.sort(function(Fe,ct){var Gt=Fe.location,jt=ct.location;return Gt.y<jt.y?-1:Gt.y>jt.y?1:Gt.x<jt.x?-1:Gt.x>jt.x?1:0}),Me},it.prototype.copyToClipboard=function(ye){go.CommandHandler.prototype.copyToClipboard.call(this,ye),this._lastPasteOffset.set(this.pasteOffset)},it.prototype.pasteFromClipboard=function(){var ye=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(ye,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),ye},Object.defineProperty(it.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(ye){if(ye!=="move"&&ye!=="select"&&ye!=="scroll"&&ye!=="tree"&&ye!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+ye);this._arrowKeyBehavior=ye}}),Object.defineProperty(it.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(ye){if(!(ye instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+ye);this._pasteOffset.set(ye)}});var Tt=it,an=re(18023),at=re(15746),We=re(33170),Ze={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},xe=re(67294),Be=(ye,Me,Fe)=>new Promise((ct,Gt)=>{var jt=An=>{try{Ln(Fe.next(An))}catch(qn){Gt(qn)}},Hn=An=>{try{Ln(Fe.throw(An))}catch(qn){Gt(qn)}},Ln=An=>An.done?ct(An.value):Promise.resolve(An.value).then(jt,Hn);Ln((Fe=Fe.apply(ye,Me)).next())});function Re({onCancel:ye,callback:Me}){let Fe=(0,ge.useRef)(),ct=(0,ge.useRef)(),Gt=(0,ge.useRef)(),jt=(0,ge.useRef)(!1);const Hn=(0,ge.useRef)(!1),[Ln,An]=(0,ge.useState)(0);function qn(){const lt=he.bx.make,zn={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"};Fe.current=new he.S0(ct.current,{padding:20,grid:lt(he.s_,"Grid",lt(he.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),lt(he.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:dt=>{var Rt=dt.diagram.commandHandler.addTopLevelParts(dt.diagram.selection,!0);Rt||dt.diagram.currentTool.doCancel()},commandHandler:lt(Tt),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:dt=>{var Rt=dt.subject;Rt.location=Rt.location.copy().snapToGridPoint(dt.diagram.grid.gridOrigin,dt.diagram.grid.gridCellSize),setTimeout(()=>{dt.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:dt=>{var Rt=dt.subject;setTimeout(()=>{dt.diagram.commandHandler.editTextBlock()})},LinkRelinked:dt=>{var Rt=dt.parameter.part;Rt.invalidateConnectedLinks();var bn=dt.subject;dt.diagram.toolManager.linkingTool.isForwards?bn.toNode.invalidateConnectedLinks():bn.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Fe.current.nodeTemplate=lt(he.NB,"Auto",{locationSpot:he.z6.Center,locationObjectName:"SHAPE",desiredSize:new he.$u(120,60),minSize:new he.$u(40,40),resizable:!0,resizeCellSize:new he.$u(10,10),rotatable:!0},new he.KX("location","loc",he.E9.parse).makeTwoWay(he.E9.stringify),new he.KX("desiredSize","size",he.$u.parse).makeTwoWay(he.$u.stringify),lt(he.bn,{name:"SHAPE",fill:zn.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:he.z6.AllSides,toSpot:he.z6.AllSides},new he.KX("figure"),new he.KX("fill"),new he.KX("stroke","borderColor"),new he.KX("strokeWidth","thickness"),new he.KX("strokeDashArray","dash")),lt(he.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),lt(he.al,{margin:1,textAlign:"center",overflow:he.al.OverflowEllipsis,editable:!0},new he.KX("text").makeTwoWay(),new he.KX("stroke","color"))),Fe.current.nodeTemplate.toolTip=lt("ToolTip",lt(he.s_,"Vertical",{maxSize:new he.$u(200,NaN)},lt(he.al,{font:"bold 10pt sans-serif",textAlign:"center"},new he.KX("text")),lt(he.al,{font:"10pt sans-serif",textAlign:"center"},new he.KX("text","details"))));function Va(dt,Rt){var bn=(Xt,Da)=>{Xt.handled=!0,Xt.diagram.model.commit(Mn=>{var da=Da.part.adornedPart,xa=new he.E9().setRectSpot(da.actualBounds,dt);xa.subtract(da.location),xa.scale(2,2),xa.x+=Math.sign(xa.x)*130,xa.y+=Math.sign(xa.y)*130,xa.add(da.location),xa.snapToGridPoint(Xt.diagram.grid.gridOrigin,Xt.diagram.grid.gridCellSize);var Ua=Mn.copyNodeData(da.data);Mn.setGroupKeyForNodeData(Ua,Mn.getGroupKeyForNodeData(da.data)),Mn.addNodeData(Ua);var Ro={from:da.key,to:Mn.getKeyForNodeData(Ua)};Mn.addLinkData(Ro);var Vo=Xt.diagram.findNodeForData(Ua);Vo.location=xa,Xt.diagram.select(Vo),setTimeout(()=>{Xt.diagram.commandHandler.editTextBlock()},20)})};return lt(he.bn,{figure:Rt,alignment:dt,alignmentFocus:dt.opposite(),width:dt.equals(he.z6.Top)||dt.equals(he.z6.Bottom)?25:18,height:dt.equals(he.z6.Top)||dt.equals(he.z6.Bottom)?18:25,fill:"orange",stroke:zn.white,strokeWidth:4,mouseEnter:(Xt,Da)=>Da.fill="dodgerblue",mouseLeave:(Xt,Da)=>Da.fill="orange",isActionable:!0,click:bn,contextClick:bn})}function uo(dt){return lt(he.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:(Rt,bn)=>bn.fill="dodgerblue",mouseLeave:(Rt,bn)=>bn.fill="orange",click:(Rt,bn)=>{Rt.diagram.commandHandler.showContextMenu(bn.part.adornedPart)}},dt||{})}Fe.current.nodeTemplate.selectionAdornmentTemplate=lt(he.uz,"Spot",lt(he.Vm,{padding:10}),Va(he.z6.Top,"TriangleUp"),Va(he.z6.Left,"TriangleLeft"),Va(he.z6.Right,"TriangleRight"),Va(he.z6.Bottom,"TriangleDown"),uo({alignment:new he.z6(.75,0)}));function Ba(dt,Rt){return(bn,Xt)=>{bn.handled=!0,bn.diagram.model.commit(Da=>{Da.set(Xt.part.adornedPart.data,dt,Rt)})}}function Sa(dt,Rt){return Rt||(Rt="color"),lt(he.bn,{width:16,height:16,stroke:"lightgray",fill:dt,margin:1,background:"transparent",mouseEnter:(bn,Xt)=>Xt.stroke="dodgerblue",mouseLeave:(bn,Xt)=>Xt.stroke="lightgray",click:Ba(Rt,dt),contextClick:Ba(Rt,dt)})}function Ao(){return[lt("ContextMenuButton",lt(he.s_,"Horizontal",Sa(zn.white,"fill"),Sa(zn.beige,"fill"),Sa(zn.extralightblue,"fill"),Sa(zn.extralightred,"fill"))),lt("ContextMenuButton",lt(he.s_,"Horizontal",Sa(zn.lightgray,"fill"),Sa(zn.lightgreen,"fill"),Sa(zn.lightblue,"fill"),Sa(zn.lightred,"fill")))]}function Mo(){return[lt("ContextMenuButton",lt(he.s_,"Horizontal",Sa(zn.black),Sa(zn.green),Sa(zn.blue),Sa(zn.red))),lt("ContextMenuButton",lt(he.s_,"Horizontal",Sa(zn.white),Sa(zn.magenta),Sa(zn.purple),Sa(zn.orange)))]}function Io(dt,Rt){return Rt||(Rt="thickness"),lt(he.bn,"LineH",{width:16,height:16,strokeWidth:dt,margin:1,background:"transparent",mouseEnter:(bn,Xt)=>Xt.background="dodgerblue",mouseLeave:(bn,Xt)=>Xt.background="transparent",click:Ba(Rt,dt),contextClick:Ba(Rt,dt)})}function To(dt,Rt){return Rt||(Rt="dash"),lt(he.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:dt,margin:1,background:"transparent",mouseEnter:(bn,Xt)=>Xt.background="dodgerblue",mouseLeave:(bn,Xt)=>Xt.background="transparent",click:Ba(Rt,dt),contextClick:Ba(Rt,dt)})}function Go(){return[lt("ContextMenuButton",lt(he.s_,"Horizontal",Io(1),Io(2),Io(3),Io(4))),lt("ContextMenuButton",lt(he.s_,"Horizontal",To(null),To([2,4]),To([4,4])))]}function _a(dt,Rt){return Rt||(Rt="figure"),lt(he.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:dt,margin:1,background:"transparent",mouseEnter:(bn,Xt)=>Xt.fill="dodgerblue",mouseLeave:(bn,Xt)=>Xt.fill="lightgray",click:Ba(Rt,dt),contextClick:Ba(Rt,dt)})}Fe.current.nodeTemplate.contextMenu=lt("ContextMenu",lt("ContextMenuButton",lt(he.s_,"Horizontal",_a("Rectangle"),_a("RoundedRectangle"),_a("Ellipse"),_a("Diamond"))),lt("ContextMenuButton",lt(he.s_,"Horizontal",_a("Parallelogram2"),_a("ManualOperation"),_a("Procedure"),_a("Cylinder1"))),lt("ContextMenuButton",lt(he.s_,"Horizontal",_a("Terminator"),_a("CreateRequest"),_a("Document"),_a("TriangleDown"))),Ao(),Mo(),Go()),Fe.current.groupTemplate=lt(he.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:he.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(dt,Rt)=>{var bn=Rt.addMembers(Rt.diagram.selection,!0);bn||Rt.diagram.currentTool.doCancel()},avoidable:!1},new he.KX("location","loc",he.E9.parse).makeTwoWay(he.E9.stringify),lt(he.s_,"Auto",{name:"BODY"},lt(he.bn,{parameter1:10,fill:zn.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:he.z6.AllSides,toSpot:he.z6.AllSides},new he.KX("fill"),new he.KX("stroke","color"),new he.KX("strokeWidth","thickness"),new he.KX("strokeDashArray","dash")),lt(he.Vm,{background:"transparent",margin:20})),lt(he.al,{alignment:he.z6.Top,alignmentFocus:he.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new he.KX("text"),new he.KX("stroke","color"))),Fe.current.groupTemplate.selectionAdornmentTemplate=lt(he.uz,"Spot",lt(he.s_,"Auto",lt(he.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),lt(he.Vm,{margin:1.5})),uo({alignment:he.z6.TopRight,alignmentFocus:he.z6.BottomRight})),Fe.current.groupTemplate.contextMenu=lt("ContextMenu",Ao(),Mo(),Go()),Fe.current.linkTemplate=lt(he.rU,{layerName:"Foreground",routing:he.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new he.KX("fromSpot","fromSpot",he.z6.parse),new he.KX("toSpot","toSpot",he.z6.parse),new he.KX("fromShortLength","dir",dt=>dt>=1?10:0),new he.KX("toShortLength","dir",dt=>dt>=1?10:0),new he.KX("points").makeTwoWay(),lt(he.bn,{strokeWidth:2},new he.KX("stroke","color"),new he.KX("strokeWidth","thickness"),new he.KX("strokeDashArray","dash")),lt(he.bn,{segmentIndex:0,segmentOffset:new he.E9(15,0),segmentOrientation:he.rU.OrientAlong,alignmentFocus:he.z6.Right,figure:"circle",width:10,strokeWidth:0},new he.KX("fill","color"),new he.KX("visible","dir",dt=>dt===1)),lt(he.bn,{segmentIndex:-1,segmentOffset:new he.E9(-10,6),segmentOrientation:he.rU.OrientPlus90,alignmentFocus:he.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new he.KX("fill","color"),new he.KX("visible","dir",dt=>dt>=1),new he.KX("width","thickness",dt=>7+3*dt),new he.KX("height","thickness",dt=>7+3*dt),new he.KX("segmentOffset","thickness",dt=>new he.E9(-15,4+1.5*dt))),lt(he.bn,{segmentIndex:0,segmentOffset:new he.E9(15,-6),segmentOrientation:he.rU.OrientMinus90,alignmentFocus:he.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new he.KX("fill","color"),new he.KX("visible","dir",dt=>dt===2),new he.KX("width","thickness",dt=>7+3*dt),new he.KX("height","thickness",dt=>7+3*dt),new he.KX("segmentOffset","thickness",dt=>new he.E9(-15,4+1.5*dt))),lt(he.al,{alignmentFocus:new he.z6(0,1,-4,0),editable:!0},new he.KX("text").makeTwoWay(),new he.KX("stroke","color"))),Fe.current.linkTemplate.selectionAdornmentTemplate=lt(he.uz,lt(he.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:$o(2)},new he.KX("pathPattern","thickness",$o)),uo({alignmentFocus:new he.z6(0,0,-6,-4)}));function $o(dt){return lt(he.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(dt+4).toString()+" H3"})}function po(dt){var Rt="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return dt===0?Rt="M0 0 M16 16 M0 8 L16 8":dt===2&&(Rt="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),lt(he.bn,{geometryString:Rt,margin:2,background:"transparent",mouseEnter:(bn,Xt)=>Xt.background="dodgerblue",mouseLeave:(bn,Xt)=>Xt.background="transparent",click:Ba("dir",dt),contextClick:Ba("dir",dt)})}function Yo(dt){var Rt=(bn,Xt)=>{bn.handled=!0,bn.diagram.model.commit(Da=>{var Mn=Xt.part.adornedPart;Da.set(Mn.data,dt?"toSpot":"fromSpot",he.z6.stringify(he.z6.AllSides)),(dt?Mn.toNode:Mn.fromNode).invalidateConnectedLinks()})};return lt(he.bn,{width:12,height:12,fill:"transparent",mouseEnter:(bn,Xt)=>Xt.background="dodgerblue",mouseLeave:(bn,Xt)=>Xt.background="transparent",click:Rt,contextClick:Rt})}function Ya(dt,Rt){var bn=0,Xt=he.z6.RightSide;dt.equals(he.z6.Top)?(bn=270,Xt=he.z6.TopSide):dt.equals(he.z6.Left)?(bn=180,Xt=he.z6.LeftSide):dt.equals(he.z6.Bottom)&&(bn=90,Xt=he.z6.BottomSide),Rt||(bn-=180);var Da=(Mn,da)=>{Mn.handled=!0,Mn.diagram.model.commit(xa=>{var Ua=da.part.adornedPart;xa.set(Ua.data,Rt?"toSpot":"fromSpot",he.z6.stringify(Xt)),(Rt?Ua.toNode:Ua.fromNode).invalidateConnectedLinks()})};return lt(he.bn,{alignment:dt,alignmentFocus:dt.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:bn,background:"transparent",mouseEnter:(Mn,da)=>da.background="dodgerblue",mouseLeave:(Mn,da)=>da.background="transparent",click:Da,contextClick:Da})}Fe.current.linkTemplate.contextMenu=lt("ContextMenu",Mo(),Go(),lt("ContextMenuButton",lt(he.s_,"Horizontal",po(0),po(1),po(2))),lt("ContextMenuButton",lt(he.s_,"Horizontal",lt(he.s_,"Spot",Yo(!1),Ya(he.z6.Top,!1),Ya(he.z6.Left,!1),Ya(he.z6.Right,!1),Ya(he.z6.Bottom,!1)),lt(he.s_,"Spot",{margin:new he.Zt(0,0,0,2)},Yo(!0),Ya(he.z6.Top,!0),Ya(he.z6.Left,!0),Ya(he.z6.Right,!0),Ya(he.z6.Bottom,!0)))));const Qo=`{ "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 ot=["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 cr(dt){return console.log("shapeName:",dt),ot.indexOf(dt)>=0}var bo=new he.YI(Gt.current,{maxSelectionCount:1,linkTemplate:lt(he.rU,{locationSpot:he.z6.Center,selectionAdornmentTemplate:lt(he.uz,"Link",{locationSpot:he.z6.Center},lt(he.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),lt(he.bn,{toArrow:"Standard",stroke:null}))},{routing:he.rU.AvoidsNodes,curve:he.rU.JumpOver,corner:5,toShortLength:4},new he.KX("points"),lt(he.bn,{isPanelMain:!0,strokeWidth:2}),lt(he.bn,{toArrow:"Standard",stroke:null})),model:new he.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...he.bn.getFigureGenerators().toArray().map(dt=>({text:"\u672A\u547D\u540D",size:"100 100",figure:dt.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Fe.current.addDiagramListener("TextEdited",function(dt){var Rt;const bn=dt.subject.part;var Xt=(Rt=document.activeElement)==null?void 0:Rt.value;typeof Xt=="string"&&Xt.trim()===""&&Fe.current.model.commit(function(Da){Da.set(bn.data,"text","\u672A\u547D\u540D"),Fe.current.commandHandler.stopCommand()},"increment")}),bo.nodeTemplate=lt(he.NB,"Auto",{locationSpot:he.z6.Center},new he.KX("location","location",he.E9.parse).makeTwoWay(he.E9.stringify),lt(he.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 he.KX("stroke").makeTwoWay(),new he.KX("fill").makeTwoWay(),new he.KX("figure")),lt(he.al,{margin:new he.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new he.$u(16,16),maxSize:new he.$u(10,NaN),textAlign:"center",editable:!0},new he.KX("key").makeTwoWay())),setTimeout(()=>{Fe.current.grid=lt(he.s_,"Grid",lt(he.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),lt(he.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Fe.current.grid.visible=!0,Fe.current.grid.gridCellStroke="darkgray",Fe.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Fe.current,Fe.current}const no=()=>Be(this,null,function*(){var lt=Fe.current.makeImage();const zn=yield(0,We.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:lt.src}});Me({src:zn.url})});return(0,ge.useEffect)(()=>(setTimeout(()=>{qn()},500),An(Ln+1),()=>{Fe.current=null}),[]),xe.createElement("div",{ref:Hn,className:jt.current?`${Ze.maxH60} body-overflow-initial`:"body-overflow-initial"},xe.createElement(Ke.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!Ln,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:xe.createElement(nt.Z,null,xe.createElement(at.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),xe.createElement(at.Z,{onClick:()=>{var lt,zn,Va=Fe.current.selection.first();if(jt.current=!jt.current,document.activeElement&&Va){let uo=(zn=(lt=document.activeElement)==null?void 0:lt.value)==null?void 0:zn.trim();typeof uo=="string"&&Fe.current.model.commit(function(Ba){Ba.set(Va.data,"text",uo||"\u672A\u547D\u540D"),Fe.current.commandHandler.stopCommand()},"increment")}An(Ln+1)}},xe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:ye},xe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ze.flowChartWrp},xe.createElement("div",{style:{display:"flex",height:"100%"}},xe.createElement("div",{style:{width:"300px",height:"100%"}},xe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),xe.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ze.myPaletteDiv,ref:Gt})),xe.createElement("div",{style:{flex:1,position:"relative"}},xe.createElement("div",{ref:ct,style:{height:"80vh"}}))),xe.createElement("div",{className:"tr"},xe.createElement(Ie.ZP,{size:"large",onClick:no,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var Qe=Re,mt=re(78045),Et=re(31795);const Ct=mt.ZP.Group,$t={margin:"0 8px"};var Wt=({callback:ye,onCancel:Me})=>{function Fe(ct){ye(ct)}return ge.createElement(ve.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Fe},ge.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ge.createElement("span",{style:$t},"\u5355\u5143\u683C\u6570\uFF1A"),ge.createElement("span",{style:$t},"\u884C\u6570"),ge.createElement(ve.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ge.createElement(Et.Z,null)),ge.createElement("span",{style:$t},"\u5217\u6570"),ge.createElement(ve.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ge.createElement(Et.Z,null))),ge.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ge.createElement("span",{style:$t},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ge.createElement(ve.default.Item,{name:"align"},ge.createElement(Ct,null,ge.createElement(mt.ZP,{value:"default"},ge.createElement("i",{className:"fa fa-align-justify"})),ge.createElement(mt.ZP,{value:"left"},ge.createElement("i",{className:"fa fa-align-left"})),ge.createElement(mt.ZP,{value:"center"},ge.createElement("i",{className:"fa fa-align-center"})),ge.createElement(mt.ZP,{value:"right"},ge.createElement("i",{className:"fa fa-align-right"}))))),ge.createElement("div",{className:"flex-container flex-end"},ge.createElement(Ie.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ge.createElement(Ie.ZP,{type:"ghost",onClick:Me},"\u53D6\u6D88")))},Qt=re(47897),Fn=re(61016),Gn=re.n(Fn),Sn=(0,ge.forwardRef)(({use3d:ye,width:Me,height:Fe,callback:ct,showSaveButton:Gt},jt)=>{const Hn=(0,ge.useRef)(),Ln=(0,ge.useRef)(),[An,qn]=(0,ge.useState)(!1),no=(0,ge.useRef)({id:Hn,appName:"graphing",width:Me||1e3,height:Fe||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ge.useEffect)(()=>{Ln.current=new(Gn())(no.current,!0),window.onload=function(){Ln.current.inject("applet_container")}},[]);const lt=()=>{var zn=window.ggbApplet.getPNGBase64(1,!0,72);return ct&&ct(zn),zn};return(0,ge.useEffect)(()=>{no.current.appName=An?"3D":"graphing",Ln.current.inject("applet_container")},[An]),(0,ge.useEffect)(()=>{qn(ye)},[ye]),(0,ge.useImperativeHandle)(jt,()=>({getImgData:lt})),ge.createElement(ge.Fragment,null,ge.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:Hn}),ge.createElement(nt.Z,{align:"middle"},ge.createElement(at.Z,{flex:1},ge.createElement(Qt.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:An,onChange:zn=>qn(zn)})),ge.createElement(at.Z,null,ge.createElement(Ie.ZP,{size:"large",onClick:lt,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),Zn=re(36527),Tn=re(25934),Jn=re(2453);const ta="link",ma="upload-image",jn="add-flowchart",na="draw-image",aa="add-flowchart",$n="code-block",la="add-table",va="------------",Ma={default:va,left:`:${va}`,center:`:${va}:`,right:`${va}:`};var eo=re(99914),Pa=(ye,Me,Fe)=>new Promise((ct,Gt)=>{var jt=An=>{try{Ln(Fe.next(An))}catch(qn){Gt(qn)}},Hn=An=>{try{Ln(Fe.throw(An))}catch(qn){Gt(qn)}},Ln=An=>An.done?ct(An.value):Promise.resolve(An.value).then(jt,Hn);Ln((Fe=Fe.apply(ye,Me)).next())});function io(){}let co=0;const Ta=1e4,Xa="\u2581",Fa="@\u2581\u2581@",to="@\u2581@",ja=`
**\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`,mo=["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 ka(ye){return/^\d+$/.test(ye)?`${ye}px`:ye}const Ia=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Oo={[Ia+"-B"]:"bold",[Ia+"-I"]:"italic"},Po={[ta]:"\u6DFB\u52A0\u94FE\u63A5",[$n]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[ma]:"\u6DFB\u52A0\u56FE\u7247",[na]:"\u6DFB\u52A0\u753B\u56FE",[jn]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[la]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var jo=({defaultValue:ye="",onChange:Me,width:Fe="100%",height:ct=400,miniToolbar:Gt=!1,isFocus:jt=!1,watch:Hn,insertTemp:Ln,mode:An="markdown",id:qn="markdown-editor-id",showResizeBar:no=!1,noStorage:lt=!1,showNullButton:zn=!1,showNullProgramButton:Va=!1,hidetoolBar:uo=!1,fullScreen:Ba=!1,onBlur:Sa,onCMBeforeChange:Ao,onFullScreen:Mo,className:Io="",disablePaste:To=!1,disabled:Go=!1,disabledFill:_a=!1,placeholder:$o="",values:po="",extraUse:Yo,isShowTool:Ya=!0,disableImageUpload:Qo=!1})=>{const[ot,cr]=(0,ge.useState)(null),[bo,dt]=(0,ge.useState)(ye),[Rt,bn]=(0,ge.useState)(Hn),[Xt,Da]=(0,ge.useState)(Ba),[Mn,da]=(0,ge.useState)(""),[xa,Ua]=(0,ge.useState)(0),[Ro,Vo]=(0,ge.useState)(ct),[Tr,rr]=(0,ge.useState)(!1),mr=(0,ge.useRef)((0,Tn.Z)()),Lr=(0,ge.useRef)(!1),ir=(0,ge.useRef)(),[gr,fr]=(0,ge.useState)(0),[ur,Sr]=(0,ge.useState)(0),Eo=(0,ge.useRef)(),Jo=(0,ge.useRef)(),qo=(0,ge.useRef)(),Uo=(0,ge.useRef)(),wr=()=>Pa(void 0,null,function*(){var Ot;const ht=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:mr.current}});(Ot=ht==null?void 0:ht.attachments)!=null&&Ot.length&&(console.log("cm:",ot,Eo),ht.attachments.map(bt=>{bt.content_type.indexOf("image")>-1?ot.replaceSelection(`![,](/api/attachments/${bt.id}?type=${bt.content_type})`):bt.content_type.indexOf("video")>-1?ot.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):bt.content_type.indexOf("pdf")>-1?ot.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${bt.id}?type=${bt.content_type}&disposition=inline" target="_blank">${bt.name}</a>`):ot.replaceSelection(`[${bt.name}](${ENV.API_SERVER}/api/attachments/${bt.id}?type=${bt.content_type})`)}))});(0,ge.useEffect)(()=>{const Ot=window.scrollY||window.pageYOffset;dt(po),ot==null||ot.setValue(po),window.scrollTo(0,Ot)},[po]),(0,ge.useEffect)(()=>{Mo==null||Mo(Xt)},[Xt]),(0,ge.useEffect)(()=>{if(Eo.current){let Ot=function(bt,Dt){var kn,oa;if(To){Dt.preventDefault();return}const ra=Dt.clipboardData;if(ra){const Na=ra.types.toString(),Oa=ra.items;if(Na==="Files"||ra.types.indexOf("Files")>-1){if(Dt.preventDefault(),An=="stex")return;try{let yo=Oa[1];((kn=Oa[0])==null?void 0:kn.kind)==="file"&&(yo=Oa[0]);const ia=yo.getAsFile(),er=ia.name.split(".").pop();if(Qo&&((oa=ia==null?void 0:ia.type)==null?void 0:oa.indexOf("image"))>-1)return!0;(0,$e.I)(ia,Ga=>{var Za,fo,tr;Ga.id?((Za=ia==null?void 0:ia.type)==null?void 0:Za.indexOf("image"))>-1?ht.replaceSelection(`<img width="100%" src="/api/attachments/${Ga.id}?type=${Ga.content_type})" alt="" />`):((fo=ia==null?void 0:ia.type)==null?void 0:fo.indexOf("video"))>-1?ht.replaceSelection(`<video width="100%" controls src="/api/attachments/${Ga.id}"></video>`):((tr=ia==null?void 0:ia.type)==null?void 0:tr.indexOf("pdf"))>-1?ht.replaceSelection(`<a href="/api/attachments/${Ga.id}?type=${ia.type}&disposition=inline" target="_blank">${ia.name}</a>`):mo.includes(er)?ht.replaceSelection(`<a href="/api/attachments/${Ga.id}?type=office&disposition=inline" target="_blank">${ia.name}</a>`):ht.replaceSelection(`[${ia.name}](/api/attachments/${Ga.id}?type=${Ga.content_type})`):(Ga==null?void 0:Ga.status)===401&&(Jn.ZP.warning((Ga==null?void 0:Ga.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(yo){Jn.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const ht=Ve().fromTextArea(Eo.current,{mode:An,lineNumbers:!Gt,lineWrapping:!0,value:ye,autoCloseTags:!Va,autoCloseBrackets:!0});return ht.on("keyup",function(bt,Dt){Dt.keyCode===8&&(bt.getValue()==""?ht.setOption("placeholder",$o):ht.setOption("placeholder",null))}),ht.on("keydown",function(bt,Dt){if(Dt.keyCode===8){var kn=vr(bt);kn&&Dt.preventDefault()}}),jt&&ht.focus(),ht.on("paste",Ot),ht.on("dragleave",function(bt,Dt){Jo.current.classList.remove("mouse-hover-md")}),Go&&ht.on("beforeChange",function(bt,Dt){(Dt.origin==="paste"||Dt.origin==="+input")&&Dt.cancel()}),cr(ht),()=>{ht.off("paste",Ot)}}},[]);const hr=(0,ge.useCallback)(()=>{if(Jo.current)try{}catch(Ot){console.log(Ot,"---- to set md editor body height")}},[Ro,Jo,Xt]);(0,ge.useEffect)(()=>{function Ot(){let ht=new qe.Z(bt=>{for(let Dt of bt)(Dt.target.offsetHeight>0||Dt.target.offsetWidth>0)&&(hr(),ot.setSize("100%","100%"),ot.refresh())});return ht.observe(Eo.current.parentElement),ht}if(ot){const ht=Ot();return()=>{var bt,Dt;(bt=Eo.current)!=null&&bt.parentElement&&ht.unobserve((Dt=Eo.current)==null?void 0:Dt.parentElement)}}},[ot,hr]),(0,ge.useEffect)(()=>{if(ot){let Ot=[];for(const[ht,bt]of Object.entries(Oo)){let Dt={[ht]:()=>{Pr(bt)}};Ot.push(Dt),ot.addKeyMap(Dt)}return ir.current=setInterval(()=>{Lr.current&&wr()},4e3),()=>{clearInterval(ir.current);for(let ht of Ot)ot.removeKeyMap(ht)}}},[ot]),(0,ge.useEffect)(()=>{Ba!==Xt&&Da(Ba)},[Ba]),(0,eo.Z)(()=>{if(!lt&&xa>0){let Ot=new Date().getTime(),ht=window.sessionStorage.getItem(qn);Ot>=xa+Ta&&(!ht||ht!==bo)&&(window.sessionStorage.setItem(qn,bo),rr(!0))}},Ta),(0,ge.useEffect)(()=>{bn(Hn)},[ot,Hn]),(0,ge.useEffect)(()=>{ot&&jt&&ot.focus()},[ot,jt]),(0,ge.useEffect)(()=>{if(Rt&&ot){let Ot=function(bt){let Dt=bt.target;if(Uo.current){let kn=Dt.scrollTop/Dt.scrollHeight;Uo.current.scrollTop=Uo.current.scrollHeight*kn}};const ht=ot.getScrollerElement();return ht.addEventListener("scroll",Ot),()=>{ht.removeEventListener("scroll",Ot)}}},[ot,Rt]),(0,ge.useEffect)(()=>{if(ot&&Ao){let Ot=function(ht,bt){Ao(ht,bt)};return ot.on("beforeChange",Ot),()=>{ot.off("beforeChange",Ot)}}},[ot,Ao]),(0,ge.useEffect)(()=>{if(ot&&Sa){let Ot=function(){Sa(ot.getValue())};return ot.on("blur",Ot),()=>{ot.off("blur",Ot)}}},[ot,Sa]);function vr(Ot,ht){var bt=Ot.getDoc(),Dt=bt.getCursor(),kn=bt.getLine(Dt.line),oa=kn.charAt(Dt.ch-1),ra=kn.lastIndexOf("@\u2581@",Dt.ch),Na=kn.lastIndexOf("@\u2581\u2581@",Dt.ch),Oa=ra>Na?ra:Na,yo=ra>Na?3:4;if(Fa.indexOf(oa)===-1)return null;if(console.log("change1:",ht,Ot,kn,Dt,Oa,ra,Na,oa),Oa>=0&&Dt.ch-Oa<5){var ia=Oa+yo;return bt.replaceRange("",{line:Dt.line,ch:Oa},{line:Dt.line,ch:ia}),{line:Dt.line,ch:ia}}return null}(0,ge.useEffect)(()=>{if(ot){let Ot=function(ht,bt){const Dt=ht.getValue();dt(Dt),Ua(new Date().getTime()),ht.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),Me&&(Va?Me(Dt,Dr(Dt)):Me(Dt))};return ot.on("change",Ot),()=>{ot.off("change",Ot)}}},[ot,Me]),(0,ge.useEffect)(()=>{if(ot)if(ye==null)ot.setValue(""),dt("");else{const Ot=window.scrollY||window.pageYOffset;ye!==ot.getValue()&&(ot.setValue(ye),dt(ye),ot.setCursor(Go?1:ot.lineCount(),0),window.scrollTo(0,Ot))}},[ot,ye]);const Pr=(0,ge.useCallback)(Ot=>{const ht=ot.getCursor(),bt=ot.getSelection();let Dt=bt.split(`
`);switch(Ot){case"bold":return ot.replaceSelection("**"+bt+"**"),bt===""&&ot.setCursor(ht.line,ht.ch+2),ot.focus();case"italic":return ot.replaceSelection("*"+bt+"*"),bt===""&&ot.setCursor(ht.line,ht.ch+1),ot.focus();case"code":return ot.replaceSelection("`"+bt+"`"),bt===""&&ot.setCursor(ht.line,ht.ch+1),ot.focus();case"inline-latex":return da("inline-latex"),ot.focus();case"latex":return ot.replaceSelection("```latex\n"+bt+"\n```"),ot.setCursor(ht.line+1,bt.length+1),ot.focus();case"line-break":return ot.replaceSelection(`<br/>
`),ot.focus();case"list-ul":return bt===""?ot.replaceSelection("- "+bt):ot.replaceSelection(Dt.map(kn=>kn===""?"":`- ${kn}`).join(`
`)),ot.focus();case"list-ol":return bt===""?ot.replaceSelection("1. "+bt):ot.replaceSelection(Dt.map((kn,oa)=>kn===""?"":`${oa+1}. ${kn}`).join(`
`)),ot.focus();case"add-null-ch":return bt===""&&ot.setCursor(ht.line,ht.ch),ot.replaceSelection(Xa),ot.focus();case"add-signal":return bt===""&&ot.setCursor(ht.line,ht.ch),ot.replaceSelection(to),ot.focus();case"add-multiple":return bt===""&&ot.setCursor(ht.line,ht.ch),ot.replaceSelection(Fa),ot.focus();case"inster-template-1":return bt===""&&ot.setCursor(ht.line,ht.ch),ot.replaceSelection(ja),ot.focus();case"eraser":return ot.setValue(""),ot.focus();case"trigger-watch":return bn(!Rt),ot.focus();case"trigger-full-screen":return Da(!Xt),ot.focus();case ta:da(ta);return;case $n:da($n);return;case ma:da(ma);return;case na:da(na);return;case"maths-latex":da("maths-latex");return;case jn:da(jn);return;case la:da(la);return;default:throw new Error}},[ot,Rt,Xt]),lo=(0,ge.useCallback)((Ot,ht)=>{var bt,Dt,kn,oa,ra,Na;if(da(""),!(Qo&&Mn==ma))switch(Mn){case ta:const{title:Ga,link:Za}=Ot;return ot.replaceSelection(`[${Ga}](${Za})`),ot.focus();case $n:const{language:fo,content:tr}=Ot;return ot.replaceSelection(["```"+fo,tr,"```"].join(`
`)),ot.focus();case"maths-latex":for(var Oa=atob(Ot),yo=new Uint8Array(Oa.length),ia=0;ia<Oa.length;ia++)yo[ia]=Oa.charCodeAt(ia);var er=new Blob([yo],{type:"image/png"});(0,$e.I)(er,so=>{so.id?ot.replaceSelection(`![,](/api/attachments/${so.id}?type=${so.content_type})`):(so==null?void 0:so.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":ot.replaceSelection("`$$"+Ot+"$$`");break;case ma:case na:case aa:const{src:zo,alt:ko}=Ot,pa=ht,pr=(kn=(Dt=(bt=pa==null?void 0:pa.name)==null?void 0:bt.split("."))==null?void 0:Dt.pop)==null?void 0:kn.call(Dt);return((oa=pa==null?void 0:pa.type)==null?void 0:oa.indexOf("image"))>-1||!(pa!=null&&pa.type)?pa.align||pa.width?ot.replaceSelection(`<p style="text-align:${pa.align||"initial"}"><img width="${pa.width?pa.width+"%":"initial"}" src="${zo}" alt="${ko||""}" /></p>`):ot.replaceSelection(`<img width="100%" src="${zo}" alt="${ko||""}" />`):((ra=pa==null?void 0:pa.type)==null?void 0:ra.indexOf("video"))>-1?ot.replaceSelection(`<video width="100%" controls src="${zo}"></video>`):((Na=pa==null?void 0:pa.type)==null?void 0:Na.indexOf("pdf"))>-1?ot.replaceSelection(`<a href="${zo}?type=${pa.type}&disposition=inline" target="_blank">${pa.name}</a>`):mo.includes(pr)?ot.replaceSelection(`<a href="${zo}?type=office&disposition=inline" target="_blank">${pa.name}</a>`):ot.replaceSelection(`[${pa.name}](${zo})`),ot.focus();case la:const{row:br,col:_o,align:Nr}=Ot;let lr=`
`;for(let so=0;so<br;so++){let yr=[],nr=[];for(let Er=0;Er<_o;Er++)so===1&&nr.push(Ma[Nr]),yr.push(" ");so===1&&(lr+=`| ${nr.join(" | ")} |
`),lr+=`| ${yr.join(_o===1?"":" | ")} |
`}return ot.replaceSelection(lr+`
`),ot.focus();default:throw new Error}},[ot,Mn,Qo]),Fr=(0,ge.useMemo)(()=>{switch(Mn){case ta:return ge.createElement(Mt,{callback:lo,onCancel:Co});case $n:return ge.createElement(hn.Z,{callback:lo,onCancel:Co});case ma:return ge.createElement($e.Z,{callback:lo,onCancel:Co});case jn:return ge.createElement(Qe,{callback:lo,onCancel:Co});case la:return ge.createElement(Wt,{callback:lo,onCancel:Co});case"maths-latex":return ge.createElement(Sn,{showSaveButton:!0,callback:lo});case"inline-latex":return ge.createElement(Zn.Z,{showSaveButton:!0,callback:lo});default:return null}},[Mn]);function Co(){da("")}(0,ge.useEffect)(()=>{if(qo.current){let Ot=function(ra){kn=!0,oa=ra.pageY},ht=function(){kn=!1},bt=function(ra){if(kn){let Na=ra.pageY-oa;Na<0&&(Na=0),Na>300&&(Na=300);let Oa=ct+Na+"px";Vo(Oa)}},Dt=qo.current,kn=!1,oa=0;return Dt.addEventListener("mousedown",Ot),document.addEventListener("mousemove",bt),document.addEventListener("mouseup",ht),()=>{Dt.removeEventListener("mousedown",Ot),document.removeEventListener("mousemove",bt),document.removeEventListener("mouseup",ht)}}},[ot,qo]),(0,ge.useEffect)(()=>{Vo(ct)},[ct]);const Gr=ka(Fe),$r=ka(Ro),Br={width:Gr,height:$r},Rr=(0,ge.useMemo)(()=>{if(xa){let Ot=new Date(xa),ht=Ot.getHours(),bt=Ot.getMinutes(),Dt=Ot.getSeconds();return ht=ht<10?"0"+ht:ht,bt=bt<10?"0"+bt:bt,Dt=Dt<10?"0"+Dt:Dt,`${ht}:${bt}:${Dt}`}return 0},[xa]),Dr=Ot=>{const ht=[];if(Va){let bt=-1;Ot=Ot.replace(/(@▁▁@|@▁@)/g,function(Dt,kn,oa){ht.push({multiLine:Dt!==to})})}return ht};function zr(){window.sessionStorage.removeItem(qn),rr(!1),Ua(0)}function xr(){rr(!1),Ua(0),ot.setValue(window.sessionStorage.getItem(qn))}(0,ge.useEffect)(()=>{Po[Mn]&&Mn!==na&&Mn!==jn&&setTimeout(()=>{const Ot=document.getElementsByClassName("markdown-popup-form")[0],ht=window.innerWidth/2-Ot.offsetWidth/2,bt=window.innerHeight/2-Ot.offsetHeight/2;fr(ht),Sr(bt)},0)},[Mn]);const kr=Ot=>{Ot.preventDefault();const ht=Ot.clientX-gr,bt=Ot.clientY-ur;document.body.onmousemove=Dt=>{let kn=Dt.clientX-ht,oa=Dt.clientY-bt;const ra=document.getElementsByClassName("markdown-popup-form")[0],Na=window.innerWidth-ra.offsetWidth,Oa=window.innerHeight-ra.offsetHeight;kn=Math.max(0,Math.min(kn,Na)),oa=Math.max(0,Math.min(oa,Oa)),_r(Dt.clientX,Dt.clientY,ht,bt)&&(fr(kn),Sr(oa))},document.body.onmouseup=function(){document.body.onmousemove=null}},_r=(Ot,ht,bt,Dt)=>{const kn=document.body.clientHeight,oa=document.body.clientWidth;return Ot<20&&bt>Ot||Ot>oa-20&&bt<Ot||ht<20&&Dt>ht||ht>kn-20&&Dt<ht?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ge.createElement(ge.Fragment,null,ge.createElement("div",{className:"markdown-editor-wrapper",ref:Jo},ge.createElement("div",{className:`markdown-editor-container ${Io} ${Rt?"on-preview":""} ${Gt?"mini":""} ${Xt?"full-screen":""}`,style:Br},Ya&&ge.createElement(de,{insertTemp:Ln,watch:Rt,fullScreen:Xt,showNullButton:zn,showNullProgramButton:Va,onActionCallback:Pr,hidetoolBar:uo,extraUse:Yo}),ge.createElement("div",{className:"markdown-editor-body"},ge.createElement("div",{className:"codemirror-container"},ge.createElement("textarea",{ref:Eo,placeholder:$o})),Rt?ge.createElement("div",{ref:Uo,className:"preview-container"},An==="stex"&&ge.createElement(Le,{value:bo}),An!=="stex"&&ge.createElement(we.Z,{disabledFill:_a,showProgramFill:Va,value:bo})):null))),no?ge.createElement("a",{ref:qo,className:"editor-resize"}):null,Mn===na&&ge.createElement(Bt,{callback:lo,onCancel:Co}),Mn===jn&&ge.createElement(Qe,{callback:lo,onCancel:Co}),ge.createElement(Pe.Z,null,Po[Mn]&&Mn!==na&&Mn!==jn?ge.createElement(Ke.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:gr,top:ur},title:ge.createElement("div",{style:{cursor:"move"},onMouseDown:kr},Po[Mn]),open:!0,onCancel:Co,footer:null,destroyOnClose:!0,width:Mn===jn?"1200px":null,height:Mn===jn?"80vh":null,className:"markdown-popup-form"},Fr):null))}},70859:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return le},I:function(){return Pe}});var ge=re(22150),ie=re(2453),Ve=re(69677),qe=re(93421),pe=re(31795),Oe=re(78045),ce=re(71577),_e=re(15476),Ee=re(67294),Ne=re(52262),we=re(67294),Le=Object.defineProperty,De=Object.defineProperties,ne=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,y=(ve,se,Ie)=>se in ve?Le(ve,se,{enumerable:!0,configurable:!0,writable:!0,value:Ie}):ve[se]=Ie,x=(ve,se)=>{for(var Ie in se||(se={}))b.call(se,Ie)&&y(ve,Ie,se[Ie]);if(a)for(var Ie of a(se))E.call(se,Ie)&&y(ve,Ie,se[Ie]);return ve},z=(ve,se)=>De(ve,ne(se));const{useForm:ee}=ge.default,te={width:280,marginRight:10},oe={labelCol:{span:5},wrapperCol:{span:19}};var le=({callback:ve,onCancel:se})=>{const[Ie]=ee();let Ye=(0,Ee.useRef)();function Te(Ge){Ye.current.width=Ie.getFieldValue("width"),Ye.current.align=Ie.getFieldValue("align"),ve(Ge,Ye.current)}function be(Ge,He){if(Ge.status===-1){ie.ZP.error(Ge.message);return}Ie.setFieldsValue({src:`/api/attachments/${Ge.id}`,type:He.type})}function me(Ge){let He=Ge.target.files[0];Ye.current=He,Pe(He,be)}return we.createElement(ge.default,z(x({form:Ie},oe),{className:"upload-image-panel",onFinish:Te,style:{width:470,overflow:"hidden"}}),we.createElement(ge.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},we.createElement("div",{className:"flex-container"},we.createElement(ge.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},we.createElement(Ve.default,{style:te})),we.createElement(de,{onFileChange:me}))),we.createElement(ge.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},we.createElement(Ve.default,{style:{width:264}})),we.createElement(ge.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},we.createElement(qe.Z,null,we.createElement(ge.default.Item,{name:"width",style:{margin:0}},we.createElement(pe.Z,{style:{width:264}})),we.createElement("span",{className:"ml8"},"%"))),we.createElement(ge.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},we.createElement(Oe.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"}]})),we.createElement("aside",null,we.createElement(ge.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},we.createElement(ce.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),we.createElement(ce.ZP,{type:"default",onClick:se},"\u53D6\u6D88"))))};function de({onFileChange:ve}){return we.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",we.createElement("input",{type:"file",onChange:ve}))}function Pe(ve,se){if(!ve)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,Ne.bg)())throw ie.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Ie=new FormData;Ie.append("editormd-image-file",ve),Ie.append("file_param_name","editormd-image-file"),Ie.append("byxhr","true");var Ye=new window.XMLHttpRequest;Ye.withCredentials=!0,Ye.addEventListener("load",function(Te){se(JSON.parse(Te.target.responseText),ve)},!1),Ye.addEventListener("error",function(Te){console.error(Te)},!1),Ye.open("POST",`${_e.KI}/api/attachments.json`),Ye.send(Ie)}},76621:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return Ve}});var ge=re(67294),ie=re(73935);class Ve extends ge.Component{constructor(pe){super(pe);const Oe=window.document;this.node=Oe.createElement("div"),Oe.body.appendChild(this.node)}render(){const{children:pe}=this.props;return(0,ie.createPortal)(pe,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},99914:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return ie}});var ge=re(67294);function ie(Ve,qe){const pe=(0,ge.useRef)();(0,ge.useEffect)(()=>{pe.current=Ve}),(0,ge.useEffect)(()=>{function Oe(){pe.current()}if(qe!==null){let ce=setInterval(Oe,qe);return()=>clearInterval(ce)}},[qe])}},6469:function(ke,ut,re){"use strict";re.r(ut),re.d(ut,{default:function(){return Ye}});var ge=re(67294),ie=re(35567),Ve=re(35973),qe=re(68508),pe=re(97183),Oe=re(22150),ce=re(2453),_e=re(85673),Ee=re(71230),Ne=re(15746),we=re(11713),Le=re(69677),De=re(96074),ne=re(85546),a=re(71577),b=re(70757),E={flex_box_center:"flex_box_center___JefHi",flex_space_between:"flex_space_between___N1h0l",flex_box_vertical_center:"flex_box_vertical_center___Mtb4t",flex_box_center_end:"flex_box_center_end___F6G6K",flex_box_column:"flex_box_column___JldFX",bg:"bg___Hgook",title:"title____XaYs",titleLeft:"titleLeft___xe0PB",titleRight:"titleRight___wML5g",btns:"btns___l22_n"},y=Object.defineProperty,x=Object.getOwnPropertySymbols,z=Object.prototype.hasOwnProperty,ee=Object.prototype.propertyIsEnumerable,te=(Te,be,me)=>be in Te?y(Te,be,{enumerable:!0,configurable:!0,writable:!0,value:me}):Te[be]=me,oe=(Te,be)=>{for(var me in be||(be={}))z.call(be,me)&&te(Te,me,be[me]);if(x)for(var me of x(be))ee.call(be,me)&&te(Te,me,be[me]);return Te},le=(Te,be)=>{var me={};for(var Ge in Te)z.call(Te,Ge)&&be.indexOf(Ge)<0&&(me[Ge]=Te[Ge]);if(Te!=null&&x)for(var Ge of x(Te))be.indexOf(Ge)<0&&ee.call(Te,Ge)&&(me[Ge]=Te[Ge]);return me},de=(Te,be,me)=>new Promise((Ge,He)=>{var je=vt=>{try{Ft(me.next(vt))}catch(Mt){He(Mt)}},et=vt=>{try{Ft(me.throw(vt))}catch(Mt){He(Mt)}},Ft=vt=>vt.done?Ge(vt.value):Promise.resolve(vt.value).then(je,et);Ft((me=me.apply(Te,be)).next())});const{SubMenu:Pe}=qe.default,{Content:ve,Sider:se}=pe.default,Ie=Te=>{var be=Te,{graduation:me,globalSetting:Ge,loading:He,user:je,dispatch:et}=be,Ft=le(be,["graduation","globalSetting","loading","user","dispatch"]),vt,Mt,hn,$e,Ke,nt,Nt;const Je=(0,Ve.useParams)(),Bt=(0,Ve.useLocation)(),{userInfo:he}=je,[it]=Oe.default.useForm(),{addTopicData:Tt}=me,an=()=>de(void 0,null,function*(){const at=it.getFieldsValue(),We=oe({},at);We.city&&(We.province=We.city[0],We.city=We.city[1]);const Ze=yield et({type:"graduation/addTopic",payload:{coursesId:Je.coursesId,attachment_ids:[],graduation_topic:We}});Ze.status?ce.ZP.error(Ze.message):Ve.history.push(`/classrooms/${Je.coursesId}/graduation_topics/${Je.categoryId}`)});return(0,ge.useEffect)(()=>{et({type:"graduation/addTopicDefaultData",payload:oe({},Je)})},[Je.coursesId]),ge.createElement("section",{className:"edu-container"},ge.createElement("section",{className:"animated fadeIn"},ge.createElement("aside",{className:"mt10"},he&&ge.createElement(_e.Z,{separator:">"},ge.createElement(_e.Z.Item,null,ge.createElement(Ve.Link,{to:`${he.first_category_url}`},(vt=he==null?void 0:he.course)==null?void 0:vt.course_name)),ge.createElement(_e.Z.Item,null,ge.createElement(Ve.Link,{to:`/classrooms/${Je.coursesId}/graduation_topics/${Je.categoryId}`},"\u6BD5\u8BBE\u9009\u9898")),ge.createElement(_e.Z.Item,null,"\u65B0\u5EFA"))),ge.createElement("aside",{className:[E.title,"mt20"].join(" ")},ge.createElement(Ee.Z,{style:{width:"100%"}},ge.createElement(Ne.Z,{flex:"1"},ge.createElement("strong",{className:"font20 ml5"},"\u65B0\u5EFA\u6BD5\u8BBE\u9009\u9898")),ge.createElement(Ne.Z,null,ge.createElement(Ve.Link,{className:"font16 c-light-black",to:`/classrooms/${Je.coursesId}/exercise`},"\u8FD4\u56DE"))))),ge.createElement("section",{className:[E.bg,"pt30","pl30","pr30","pb30","mt20"].join(" ")},ge.createElement(Oe.default,{layout:"vertical",form:it,scrollToFirstError:!0,onFinish:at=>de(void 0,null,function*(){an()})},ge.createElement(Oe.default.Item,{name:"tea_id",label:"\u6307\u5BFC\u8001\u5E08\uFF1A",rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u6307\u5BFC\u8001\u5E08"}]},ge.createElement(we.default,{size:"middle",placeholder:"\u8BF7\u9009\u62E9\u6307\u5BFC\u8001\u5E08",style:{width:200}},(Mt=Tt.teacher_list)==null?void 0:Mt.map(function(at,We){return ge.createElement(we.default.Option,{value:at.id,key:We},at.name)}))),ge.createElement(Oe.default.Item,{name:"name",label:"\u9009\u9898\u540D\u79F0\uFF1A",rules:[{required:!0,message:"\u8BF7\u586B\u5199\u8BD5\u5377\u6807\u9898"}]},ge.createElement(Le.default,{maxLength:60,size:"middle",placeholder:"\u8BD5\u5377\u6807\u9898\uFF0C\u6700\u5927\u9650\u523660\u4E2A\u5B57\u7B26"})),ge.createElement(De.Z,null),ge.createElement(Oe.default.Item,{label:"\u9009\u9898\u7B80\u4ECB",name:"description",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5185\u5BB9"}]},ge.createElement(ie.Z,{watch:!0,placeholder:"\u8BF7\u7B80\u8981\u8BF4\u660E\u9009\u9898\u5185\u5BB9\uFF0C\u6700\u5927\u9650\u52365000\u4E2A\u5B57\u7B26"})),ge.createElement(Ee.Z,{gutter:[20,0]},ge.createElement(Ne.Z,{flex:"1"},ge.createElement(Oe.default.Item,{name:"topic_type"},ge.createElement(we.default,{size:"middle",placeholder:"\u8BF7\u9009\u62E9\u9009\u9898\u7C7B\u578B"},(hn=Tt.topic_type)==null?void 0:hn.map(function(at,We){return ge.createElement(we.default.Option,{value:at.id,key:We},at.name)})))),ge.createElement(Ne.Z,{flex:"1"},ge.createElement(Oe.default.Item,{name:"topic_source"},ge.createElement(we.default,{size:"middle",placeholder:"\u8BF7\u9009\u62E9\u9009\u9898\u6765\u6E90"},($e=Tt.topic_source)==null?void 0:$e.map(function(at,We){return ge.createElement(we.default.Option,{value:at.id,key:We},at.name)})))),ge.createElement(Ne.Z,{flex:"1"},ge.createElement(Oe.default.Item,{name:"topic_property_first"},ge.createElement(we.default,{size:"middle",placeholder:"\u8BF7\u9009\u62E9\u9009\u9898\u6027\u8D281"},(Ke=Tt.topic_property_first)==null?void 0:Ke.map(function(at,We){return ge.createElement(we.default.Option,{value:at.id,key:We},at.name)})))),ge.createElement(Ne.Z,{flex:"1"},ge.createElement(Oe.default.Item,{name:"topic_property_second"},ge.createElement(we.default,{size:"middle",placeholder:"\u8BF7\u9009\u62E9\u9009\u9898\u6027\u8D282"},(nt=Tt.topic_property_second)==null?void 0:nt.map(function(at,We){return ge.createElement(we.default.Option,{value:at.id,key:We},at.name)})))),ge.createElement(Ne.Z,{flex:"150px"})),ge.createElement(De.Z,null),ge.createElement(Oe.default.Item,{name:"source_unit",label:"\u9009\u9898\u6765\u6E90\u5355\u4F4D\uFF1A"},ge.createElement(Le.default,{width:"200",size:"middle",style:{width:200},placeholder:"\u8BF7\u586B\u5199\u6765\u6E90\u5355\u4F4D"})),ge.createElement(Oe.default.Item,{name:"topic_repeat",label:"\u9009\u9898\u91CD\u590D\u60C5\u51B5\uFF1A"},ge.createElement(we.default,{size:"middle",placeholder:"\u8BF7\u9009\u62E9\u91CD\u590D\u60C5\u51B5",style:{width:200}},(Nt=Tt.topic_repeat)==null?void 0:Nt.map(function(at,We){return ge.createElement(we.default.Option,{value:at.id,key:We},at.name)}))),ge.createElement(Oe.default.Item,{name:"city",label:"\u8C03\u7814\u6216\u5B9E\u4E60\u5730\u70B9\uFF1A"},ge.createElement(ne.Z,{size:"middle",style:{width:200},options:b.P,placeholder:"\u8BF7\u9009\u62E9\u6240\u5728\u5730"})))),ge.createElement("aside",{className:E.btns},ge.createElement(a.ZP,{type:"primary",onClick:()=>{it.submit()}},"\u4FDD\u5B58"),ge.createElement(Ve.Link,{to:`/classrooms/${Je.coursesId}/graduation_topics/${Je.categoryId}`},"\u53D6\u6D88")))};var Ye=(0,Ve.connect)(({graduation:Te,loading:be,user:me,globalSetting:Ge})=>({graduation:Te,globalSetting:Ge,user:me,loading:be.effects}))(Ie)},70757:function(ke,ut,re){"use strict";re.d(ut,{P:function(){return ge}});const ge=[{value:"\u5317\u4EAC",label:"\u5317\u4EAC",children:[{value:"\u4E1C\u57CE",label:"\u4E1C\u57CE"},{value:"\u897F\u57CE",label:"\u897F\u57CE"},{value:"\u671D\u9633",label:"\u671D\u9633"},{value:"\u4E30\u53F0",label:"\u4E30\u53F0"},{value:"\u77F3\u666F\u5C71",label:"\u77F3\u666F\u5C71"},{value:"\u6D77\u6DC0",label:"\u6D77\u6DC0"},{value:"\u95E8\u5934\u6C9F",label:"\u95E8\u5934\u6C9F"},{value:"\u623F\u5C71",label:"\u623F\u5C71"},{value:"\u901A\u5DDE",label:"\u901A\u5DDE"},{value:"\u987A\u4E49",label:"\u987A\u4E49"},{value:"\u660C\u5E73",label:"\u660C\u5E73"},{value:"\u5927\u5174",label:"\u5927\u5174"},{value:"\u5E73\u8C37",label:"\u5E73\u8C37"},{value:"\u6000\u67D4",label:"\u6000\u67D4"},{value:"\u5BC6\u4E91",label:"\u5BC6\u4E91"},{value:"\u5EF6\u5E86",label:"\u5EF6\u5E86"}]},{value:"\u4E0A\u6D77",label:"\u4E0A\u6D77",children:[{value:"\u5D07\u660E",label:"\u5D07\u660E"},{value:"\u9EC4\u6D66",label:"\u9EC4\u6D66"},{value:"\u5362\u6E7E",label:"\u5362\u6E7E"},{value:"\u5F90\u6C47",label:"\u5F90\u6C47"},{value:"\u957F\u5B81",label:"\u957F\u5B81"},{value:"\u9759\u5B89",label:"\u9759\u5B89"},{value:"\u666E\u9640",label:"\u666E\u9640"},{value:"\u95F8\u5317",label:"\u95F8\u5317"},{value:"\u8679\u53E3",label:"\u8679\u53E3"},{value:"\u6768\u6D66",label:"\u6768\u6D66"},{value:"\u95F5\u884C",label:"\u95F5\u884C"},{value:"\u5B9D\u5C71",label:"\u5B9D\u5C71"},{value:"\u5609\u5B9A",label:"\u5609\u5B9A"},{value:"\u6D66\u4E1C",label:"\u6D66\u4E1C"},{value:"\u91D1\u5C71",label:"\u91D1\u5C71"},{value:"\u677E\u6C5F",label:"\u677E\u6C5F"},{value:"\u9752\u6D66",label:"\u9752\u6D66"},{value:"\u5357\u6C47",label:"\u5357\u6C47"},{value:"\u5949\u8D24",label:"\u5949\u8D24"}]},{value:"\u5E7F\u4E1C",label:"\u5E7F\u4E1C",children:[{value:"\u5E7F\u5DDE",label:"\u5E7F\u5DDE"},{value:"\u6DF1\u5733",label:"\u6DF1\u5733"},{value:"\u73E0\u6D77",label:"\u73E0\u6D77"},{value:"\u4E1C\u839E",label:"\u4E1C\u839E"},{value:"\u4E2D\u5C71",label:"\u4E2D\u5C71"},{value:"\u4F5B\u5C71",label:"\u4F5B\u5C71"},{value:"\u60E0\u5DDE",label:"\u60E0\u5DDE"},{value:"\u6CB3\u6E90",label:"\u6CB3\u6E90"},{value:"\u6F6E\u5DDE",label:"\u6F6E\u5DDE"},{value:"\u6C5F\u95E8",label:"\u6C5F\u95E8"},{value:"\u63ED\u9633",label:"\u63ED\u9633"},{value:"\u8302\u540D",label:"\u8302\u540D"},{value:"\u6885\u5DDE",label:"\u6885\u5DDE"},{value:"\u6E05\u8FDC",label:"\u6E05\u8FDC"},{value:"\u6C55\u5934",label:"\u6C55\u5934"},{value:"\u6C55\u5C3E",label:"\u6C55\u5C3E"},{value:"\u97F6\u5173",label:"\u97F6\u5173"},{value:"\u987A\u5FB7",label:"\u987A\u5FB7"},{value:"\u9633\u6C5F",label:"\u9633\u6C5F"},{value:"\u4E91\u6D6E",label:"\u4E91\u6D6E"},{value:"\u6E5B\u6C5F",label:"\u6E5B\u6C5F"},{value:"\u8087\u5E86",label:"\u8087\u5E86"}]},{value:"\u6C5F\u82CF",label:"\u6C5F\u82CF",children:[{value:"\u5357\u4EAC",label:"\u5357\u4EAC"},{value:"\u5E38\u719F",label:"\u5E38\u719F"},{value:"\u5E38\u5DDE",label:"\u5E38\u5DDE"},{value:"\u6D77\u95E8",label:"\u6D77\u95E8"},{value:"\u6DEE\u5B89",label:"\u6DEE\u5B89"},{value:"\u6C5F\u90FD",label:"\u6C5F\u90FD"},{value:"\u6C5F\u9634",label:"\u6C5F\u9634"},{value:"\u6606\u5C71",label:"\u6606\u5C71"},{value:"\u8FDE\u4E91\u6E2F",label:"\u8FDE\u4E91\u6E2F"},{value:"\u5357\u901A",label:"\u5357\u901A"},{value:"\u542F\u4E1C",label:"\u542F\u4E1C"},{value:"\u6CAD\u9633",label:"\u6CAD\u9633"},{value:"\u5BBF\u8FC1",label:"\u5BBF\u8FC1"},{value:"\u82CF\u5DDE",label:"\u82CF\u5DDE"},{value:"\u592A\u4ED3",label:"\u592A\u4ED3"},{value:"\u6CF0\u5DDE",label:"\u6CF0\u5DDE"},{value:"\u540C\u91CC",label:"\u540C\u91CC"},{value:"\u65E0\u9521",label:"\u65E0\u9521"},{value:"\u5F90\u5DDE",label:"\u5F90\u5DDE"},{value:"\u76D0\u57CE",label:"\u76D0\u57CE"},{value:"\u626C\u5DDE",label:"\u626C\u5DDE"},{value:"\u5B9C\u5174",label:"\u5B9C\u5174"},{value:"\u4EEA\u5F81",label:"\u4EEA\u5F81"},{value:"\u5F20\u5BB6\u6E2F",label:"\u5F20\u5BB6\u6E2F"},{value:"\u9547\u6C5F",label:"\u9547\u6C5F"}]},{value:"\u91CD\u5E86",label:"\u91CD\u5E86",children:[{value:"\u4E07\u5DDE",label:"\u4E07\u5DDE"},{value:"\u6DAA\u9675",label:"\u6DAA\u9675"},{value:"\u6E1D\u4E2D",label:"\u6E1D\u4E2D"},{value:"\u5927\u6E21\u53E3",label:"\u5927\u6E21\u53E3"},{value:"\u6C5F\u5317",label:"\u6C5F\u5317"},{value:"\u6C99\u576A\u575D",label:"\u6C99\u576A\u575D"},{value:"\u4E5D\u9F99\u5761",label:"\u4E5D\u9F99\u5761"},{value:"\u5357\u5CB8",label:"\u5357\u5CB8"},{value:"\u5317\u789A",label:"\u5317\u789A"},{value:"\u4E07\u76DB",label:"\u4E07\u76DB"},{value:"\u53CC\u6322",label:"\u53CC\u6322"},{value:"\u6E1D\u5317",label:"\u6E1D\u5317"},{value:"\u5DF4\u5357",label:"\u5DF4\u5357"},{value:"\u9ED4\u6C5F",label:"\u9ED4\u6C5F"},{value:"\u957F\u5BFF",label:"\u957F\u5BFF"},{value:"\u7DA6\u6C5F",label:"\u7DA6\u6C5F"},{value:"\u6F7C\u5357",label:"\u6F7C\u5357"},{value:"\u94DC\u6881",label:"\u94DC\u6881"},{value:"\u5927\u8DB3",label:"\u5927\u8DB3"},{value:"\u8363\u660C",label:"\u8363\u660C"},{value:"\u58C1\u5C71",label:"\u58C1\u5C71"},{value:"\u6881\u5E73",label:"\u6881\u5E73"},{value:"\u57CE\u53E3",label:"\u57CE\u53E3"},{value:"\u4E30\u90FD",label:"\u4E30\u90FD"},{value:"\u57AB\u6C5F",label:"\u57AB\u6C5F"},{value:"\u6B66\u9686",label:"\u6B66\u9686"},{value:"\u5FE0\u53BF",label:"\u5FE0\u53BF"},{value:"\u5F00\u53BF",label:"\u5F00\u53BF"},{value:"\u4E91\u9633",label:"\u4E91\u9633"},{value:"\u5949\u8282",label:"\u5949\u8282"},{value:"\u5DEB\u5C71",label:"\u5DEB\u5C71"},{value:"\u5DEB\u6EAA",label:"\u5DEB\u6EAA"},{value:"\u77F3\u67F1",label:"\u77F3\u67F1"},{value:"\u79C0\u5C71",label:"\u79C0\u5C71"},{value:"\u9149\u9633",label:"\u9149\u9633"},{value:"\u5F6D\u6C34",label:"\u5F6D\u6C34"},{value:"\u6C5F\u6D25",label:"\u6C5F\u6D25"},{value:"\u5408\u5DDD",label:"\u5408\u5DDD"},{value:"\u6C38\u5DDD",label:"\u6C38\u5DDD"},{value:"\u5357\u5DDD",label:"\u5357\u5DDD"}]},{value:"\u5B89\u5FBD",label:"\u5B89\u5FBD",children:[{value:"\u5408\u80A5",label:"\u5408\u80A5"},{value:"\u5B89\u5E86",label:"\u5B89\u5E86"},{value:"\u868C\u57E0",label:"\u868C\u57E0"},{value:"\u4EB3\u5DDE",label:"\u4EB3\u5DDE"},{value:"\u5DE2\u6E56",label:"\u5DE2\u6E56"},{value:"\u6EC1\u5DDE",label:"\u6EC1\u5DDE"},{value:"\u961C\u9633",label:"\u961C\u9633"},{value:"\u8D35\u6C60",label:"\u8D35\u6C60"},{value:"\u6DEE\u5317",label:"\u6DEE\u5317"},{value:"\u6DEE\u5316",label:"\u6DEE\u5316"},{value:"\u6DEE\u5357",label:"\u6DEE\u5357"},{value:"\u9EC4\u5C71",label:"\u9EC4\u5C71"},{value:"\u4E5D\u534E\u5C71",label:"\u4E5D\u534E\u5C71"},{value:"\u516D\u5B89",label:"\u516D\u5B89"},{value:"\u9A6C\u978D\u5C71",label:"\u9A6C\u978D\u5C71"},{value:"\u5BBF\u5DDE",label:"\u5BBF\u5DDE"},{value:"\u94DC\u9675",label:"\u94DC\u9675"},{value:"\u5C6F\u6EAA",label:"\u5C6F\u6EAA"},{value:"\u829C\u6E56",label:"\u829C\u6E56"},{value:"\u5BA3\u57CE",label:"\u5BA3\u57CE"}]},{value:"\u798F\u5EFA",label:"\u798F\u5EFA",children:[{value:"\u798F\u5DDE",label:"\u798F\u5DDE"},{value:"\u53A6\u95E8",label:"\u53A6\u95E8"},{value:"\u6CC9\u5DDE",label:"\u6CC9\u5DDE"},{value:"\u6F33\u5DDE",label:"\u6F33\u5DDE"},{value:"\u9F99\u5CA9",label:"\u9F99\u5CA9"},{value:"\u5357\u5E73",label:"\u5357\u5E73"},{value:"\u5B81\u5FB7",label:"\u5B81\u5FB7"},{value:"\u8386\u7530",label:"\u8386\u7530"},{value:"\u4E09\u660E",label:"\u4E09\u660E"}]},{value:"\u7518\u8083",label:"\u7518\u8083",children:[{value:"\u5170\u5DDE",label:"\u5170\u5DDE"},{value:"\u5609\u5CEA\u5173",label:"\u5609\u5CEA\u5173"},{value:"\u767D\u94F6",label:"\u767D\u94F6"},{value:"\u5B9A\u897F",label:"\u5B9A\u897F"},{value:"\u6566\u714C",label:"\u6566\u714C"},{value:"\u7518\u5357",label:"\u7518\u5357"},{value:"\u91D1\u660C",label:"\u91D1\u660C"},{value:"\u9152\u6CC9",label:"\u9152\u6CC9"},{value:"\u4E34\u590F",label:"\u4E34\u590F"},{value:"\u5E73\u51C9",label:"\u5E73\u51C9"},{value:"\u5929\u6C34",label:"\u5929\u6C34"},{value:"\u9647\u5357",label:"\u9647\u5357"},{value:"\u6B66\u5A01",label:"\u6B66\u5A01"},{value:"\u897F\u5CF0",label:"\u897F\u5CF0"},{value:"\u5F20\u6396",label:"\u5F20\u6396"}]},{value:"\u5E7F\u897F",label:"\u5E7F\u897F",children:[{value:"\u5357\u5B81",label:"\u5357\u5B81"},{value:"\u6765\u5BBE",label:"\u6765\u5BBE"},{value:"\u767E\u8272",label:"\u767E\u8272"},{value:"\u5317\u6D77",label:"\u5317\u6D77"},{value:"\u6842\u6797",label:"\u6842\u6797"},{value:"\u9632\u57CE\u6E2F",label:"\u9632\u57CE\u6E2F"},{value:"\u8D35\u6E2F",label:"\u8D35\u6E2F"},{value:"\u6CB3\u6C60",label:"\u6CB3\u6C60"},{value:"\u8D3A\u5DDE",label:"\u8D3A\u5DDE"},{value:"\u67F3\u5DDE",label:"\u67F3\u5DDE"},{value:"\u94A6\u5DDE",label:"\u94A6\u5DDE"},{value:"\u68A7\u5DDE",label:"\u68A7\u5DDE"},{value:"\u7389\u6797",label:"\u7389\u6797"}]},{value:"\u8D35\u5DDE",label:"\u8D35\u5DDE",children:[{value:"\u8D35\u9633",label:"\u8D35\u9633"},{value:"\u5B89\u987A",label:"\u5B89\u987A"},{value:"\u6BD5\u8282",label:"\u6BD5\u8282"},{value:"\u90FD\u5300",label:"\u90FD\u5300"},{value:"\u51EF\u91CC",label:"\u51EF\u91CC"},{value:"\u516D\u76D8\u6C34",label:"\u516D\u76D8\u6C34"},{value:"\u94DC\u4EC1",label:"\u94DC\u4EC1"},{value:"\u5174\u4E49",label:"\u5174\u4E49"},{value:"\u7389\u5C4F",label:"\u7389\u5C4F"},{value:"\u9075\u4E49",label:"\u9075\u4E49"}]},{value:"\u6D77\u5357",label:"\u6D77\u5357",children:[{value:"\u6D77\u53E3",label:"\u6D77\u53E3"},{value:"\u510B\u53BF",label:"\u510B\u53BF"},{value:"\u9675\u6C34",label:"\u9675\u6C34"},{value:"\u743C\u6D77",label:"\u743C\u6D77"},{value:"\u4E09\u4E9A",label:"\u4E09\u4E9A"},{value:"\u901A\u4EC0",label:"\u901A\u4EC0"},{value:"\u4E07\u5B81",label:"\u4E07\u5B81"}]},{value:"\u6CB3\u5317",label:"\u6CB3\u5317",children:[{value:"\u77F3\u5BB6\u5E84",label:"\u77F3\u5BB6\u5E84"},{value:"\u4FDD\u5B9A",label:"\u4FDD\u5B9A"},{value:"\u5317\u6234\u6CB3",label:"\u5317\u6234\u6CB3"},{value:"\u6CA7\u5DDE",label:"\u6CA7\u5DDE"},{value:"\u627F\u5FB7",label:"\u627F\u5FB7"},{value:"\u4E30\u6DA6",label:"\u4E30\u6DA6"},{value:"\u90AF\u90F8",label:"\u90AF\u90F8"},{value:"\u8861\u6C34",label:"\u8861\u6C34"},{value:"\u5ECA\u574A",label:"\u5ECA\u574A"},{value:"\u5357\u6234\u6CB3",label:"\u5357\u6234\u6CB3"},{value:"\u79E6\u7687\u5C9B",label:"\u79E6\u7687\u5C9B"},{value:"\u5510\u5C71",label:"\u5510\u5C71"},{value:"\u65B0\u57CE",label:"\u65B0\u57CE"},{value:"\u90A2\u53F0",label:"\u90A2\u53F0"},{value:"\u5F20\u5BB6\u53E3",label:"\u5F20\u5BB6\u53E3"}]},{value:"\u9ED1\u9F99\u6C5F",label:"\u9ED1\u9F99\u6C5F",children:[{value:"\u54C8\u5C14\u6EE8",label:"\u54C8\u5C14\u6EE8"},{value:"\u5317\u5B89",label:"\u5317\u5B89"},{value:"\u5927\u5E86",label:"\u5927\u5E86"},{value:"\u5927\u5174\u5B89\u5CAD",label:"\u5927\u5174\u5B89\u5CAD"},{value:"\u9E64\u5C97",label:"\u9E64\u5C97"},{value:"\u9ED1\u6CB3",label:"\u9ED1\u6CB3"},{value:"\u4F73\u6728\u65AF",label:"\u4F73\u6728\u65AF"},{value:"\u9E21\u897F",label:"\u9E21\u897F"},{value:"\u7261\u4E39\u6C5F",label:"\u7261\u4E39\u6C5F"},{value:"\u9F50\u9F50\u54C8\u5C14",label:"\u9F50\u9F50\u54C8\u5C14"},{value:"\u4E03\u53F0\u6CB3",label:"\u4E03\u53F0\u6CB3"},{value:"\u53CC\u9E2D\u5C71",label:"\u53CC\u9E2D\u5C71"},{value:"\u7EE5\u5316",label:"\u7EE5\u5316"},{value:"\u4F0A\u6625",label:"\u4F0A\u6625"}]},{value:"\u6CB3\u5357",label:"\u6CB3\u5357",children:[{value:"\u90D1\u5DDE",label:"\u90D1\u5DDE"},{value:"\u5B89\u9633",label:"\u5B89\u9633"},{value:"\u9E64\u58C1",label:"\u9E64\u58C1"},{value:"\u6F62\u5DDD",label:"\u6F62\u5DDD"},{value:"\u7126\u4F5C",label:"\u7126\u4F5C"},{value:"\u6D4E\u6E90",label:"\u6D4E\u6E90"},{value:"\u5F00\u5C01",label:"\u5F00\u5C01"},{value:"\u6F2F\u6CB3",label:"\u6F2F\u6CB3"},{value:"\u6D1B\u9633",label:"\u6D1B\u9633"},{value:"\u5357\u9633",label:"\u5357\u9633"},{value:"\u5E73\u9876\u5C71",label:"\u5E73\u9876\u5C71"},{value:"\u6FEE\u9633",label:"\u6FEE\u9633"},{value:"\u4E09\u95E8\u5CE1",label:"\u4E09\u95E8\u5CE1"},{value:"\u5546\u4E18",label:"\u5546\u4E18"},{value:"\u65B0\u4E61",label:"\u65B0\u4E61"},{value:"\u4FE1\u9633",label:"\u4FE1\u9633"},{value:"\u8BB8\u660C",label:"\u8BB8\u660C"},{value:"\u5468\u53E3",label:"\u5468\u53E3"},{value:"\u9A7B\u9A6C\u5E97",label:"\u9A7B\u9A6C\u5E97"}]},{value:"\u9999\u6E2F",label:"\u9999\u6E2F",children:[{value:"\u9999\u6E2F",label:"\u9999\u6E2F"},{value:"\u4E5D\u9F99",label:"\u4E5D\u9F99"},{value:"\u65B0\u754C",label:"\u65B0\u754C"}]},{value:"\u6E56\u5317",label:"\u6E56\u5317",children:[{value:"\u6B66\u6C49",label:"\u6B66\u6C49"},{value:"\u5929\u95E8",label:"\u5929\u95E8"},{value:"\u6069\u65BD",label:"\u6069\u65BD"},{value:"\u9102\u5DDE",label:"\u9102\u5DDE"},{value:"\u9EC4\u5188",label:"\u9EC4\u5188"},{value:"\u9EC4\u77F3",label:"\u9EC4\u77F3"},{value:"\u8346\u95E8",label:"\u8346\u95E8"},{value:"\u8346\u5DDE",label:"\u8346\u5DDE"},{value:"\u6F5C\u6C5F",label:"\u6F5C\u6C5F"},{value:"\u5341\u5830",label:"\u5341\u5830"},{value:"\u968F\u5DDE",label:"\u968F\u5DDE"},{value:"\u6B66\u7A74",label:"\u6B66\u7A74"},{value:"\u4ED9\u6843",label:"\u4ED9\u6843"},{value:"\u54B8\u5B81",label:"\u54B8\u5B81"},{value:"\u8944\u9633",label:"\u8944\u9633"},{value:"\u8944\u6A0A",label:"\u8944\u6A0A"},{value:"\u5B5D\u611F",label:"\u5B5D\u611F"},{value:"\u5B9C\u660C",label:"\u5B9C\u660C"}]},{value:"\u6E56\u5357",label:"\u6E56\u5357",children:[{value:"\u957F\u6C99",label:"\u957F\u6C99"},{value:"\u5E38\u5FB7",label:"\u5E38\u5FB7"},{value:"\u90F4\u5DDE",label:"\u90F4\u5DDE"},{value:"\u8861\u9633",label:"\u8861\u9633"},{value:"\u6000\u5316",label:"\u6000\u5316"},{value:"\u5409\u9996",label:"\u5409\u9996"},{value:"\u5A04\u5E95",label:"\u5A04\u5E95"},{value:"\u90B5\u9633",label:"\u90B5\u9633"},{value:"\u6E58\u6F6D",label:"\u6E58\u6F6D"},{value:"\u76CA\u9633",label:"\u76CA\u9633"},{value:"\u5CB3\u9633",label:"\u5CB3\u9633"},{value:"\u6C38\u5DDE",label:"\u6C38\u5DDE"},{value:"\u5F20\u5BB6\u754C",label:"\u5F20\u5BB6\u754C"},{value:"\u682A\u6D32",label:"\u682A\u6D32"}]},{value:"\u6C5F\u897F",label:"\u6C5F\u897F",children:[{value:"\u5357\u660C",label:"\u5357\u660C"},{value:"\u629A\u5DDE",label:"\u629A\u5DDE"},{value:"\u8D63\u5DDE",label:"\u8D63\u5DDE"},{value:"\u5409\u5B89",label:"\u5409\u5B89"},{value:"\u666F\u5FB7\u9547",label:"\u666F\u5FB7\u9547"},{value:"\u4E95\u5188\u5C71",label:"\u4E95\u5188\u5C71"},{value:"\u4E5D\u6C5F",label:"\u4E5D\u6C5F"},{value:"\u5E90\u5C71",label:"\u5E90\u5C71"},{value:"\u840D\u4E61",label:"\u840D\u4E61"},{value:"\u4E0A\u9976",label:"\u4E0A\u9976"},{value:"\u65B0\u4F59",label:"\u65B0\u4F59"},{value:"\u5B9C\u6625",label:"\u5B9C\u6625"},{value:"\u9E70\u6F6D",label:"\u9E70\u6F6D"}]},{value:"\u5409\u6797",label:"\u5409\u6797",children:[{value:"\u957F\u6625",label:"\u957F\u6625"},{value:"\u5409\u6797",label:"\u5409\u6797"},{value:"\u767D\u57CE",label:"\u767D\u57CE"},{value:"\u767D\u5C71",label:"\u767D\u5C71"},{value:"\u73F2\u6625",label:"\u73F2\u6625"},{value:"\u8FBD\u6E90",label:"\u8FBD\u6E90"},{value:"\u6885\u6CB3",label:"\u6885\u6CB3"},{value:"\u56DB\u5E73",label:"\u56DB\u5E73"},{value:"\u677E\u539F",label:"\u677E\u539F"},{value:"\u901A\u5316",label:"\u901A\u5316"},{value:"\u5EF6\u5409",label:"\u5EF6\u5409"}]},{value:"\u8FBD\u5B81",label:"\u8FBD\u5B81",children:[{value:"\u6C88\u9633",label:"\u6C88\u9633"},{value:"\u978D\u5C71",label:"\u978D\u5C71"},{value:"\u672C\u6EAA",label:"\u672C\u6EAA"},{value:"\u671D\u9633",label:"\u671D\u9633"},{value:"\u5927\u8FDE",label:"\u5927\u8FDE"},{value:"\u4E39\u4E1C",label:"\u4E39\u4E1C"},{value:"\u629A\u987A",label:"\u629A\u987A"},{value:"\u961C\u65B0",label:"\u961C\u65B0"},{value:"\u846B\u82A6\u5C9B",label:"\u846B\u82A6\u5C9B"},{value:"\u9526\u5DDE",label:"\u9526\u5DDE"},{value:"\u8FBD\u9633",label:"\u8FBD\u9633"},{value:"\u76D8\u9526",label:"\u76D8\u9526"},{value:"\u94C1\u5CAD",label:"\u94C1\u5CAD"},{value:"\u8425\u53E3",label:"\u8425\u53E3"}]},{value:"\u6FB3\u95E8",label:"\u6FB3\u95E8",children:[{value:"\u6FB3\u95E8",label:"\u6FB3\u95E8"}]},{value:"\u5185\u8499\u53E4",label:"\u5185\u8499\u53E4",children:[{value:"\u547C\u548C\u6D69\u7279",label:"\u547C\u548C\u6D69\u7279"},{value:"\u963F\u62C9\u5584\u76DF",label:"\u963F\u62C9\u5584\u76DF"},{value:"\u5305\u5934",label:"\u5305\u5934"},{value:"\u8D64\u5CF0",label:"\u8D64\u5CF0"},{value:"\u4E1C\u80DC",label:"\u4E1C\u80DC"},{value:"\u6D77\u62C9\u5C14",label:"\u6D77\u62C9\u5C14"},{value:"\u96C6\u5B81",label:"\u96C6\u5B81"},{value:"\u4E34\u6CB3",label:"\u4E34\u6CB3"},{value:"\u901A\u8FBD",label:"\u901A\u8FBD"},{value:"\u4E4C\u6D77",label:"\u4E4C\u6D77"},{value:"\u4E4C\u5170\u6D69\u7279",label:"\u4E4C\u5170\u6D69\u7279"},{value:"\u9521\u6797\u6D69\u7279",label:"\u9521\u6797\u6D69\u7279"}]},{value:"\u5B81\u590F",label:"\u5B81\u590F",children:[{value:"\u94F6\u5DDD",label:"\u94F6\u5DDD"},{value:"\u56FA\u6E90",label:"\u56FA\u6E90"},{value:"\u77F3\u5634\u5C71",label:"\u77F3\u5634\u5C71"},{value:"\u5434\u5FE0",label:"\u5434\u5FE0"}]},{value:"\u9752\u6D77",label:"\u9752\u6D77",children:[{value:"\u897F\u5B81",label:"\u897F\u5B81"},{value:"\u5FB7\u4EE4\u54C8",label:"\u5FB7\u4EE4\u54C8"},{value:"\u683C\u5C14\u6728",label:"\u683C\u5C14\u6728"},{value:"\u5171\u548C",label:"\u5171\u548C"},{value:"\u6D77\u4E1C",label:"\u6D77\u4E1C"},{value:"\u6D77\u664F",label:"\u6D77\u664F"},{value:"\u739B\u6C81",label:"\u739B\u6C81"},{value:"\u540C\u4EC1",label:"\u540C\u4EC1"},{value:"\u7389\u6811",label:"\u7389\u6811"}]},{value:"\u5C71\u4E1C",label:"\u5C71\u4E1C",children:[{value:"\u6D4E\u5357",label:"\u6D4E\u5357"},{value:"\u6EE8\u5DDE",label:"\u6EE8\u5DDE"},{value:"\u5156\u5DDE",label:"\u5156\u5DDE"},{value:"\u5FB7\u5DDE",label:"\u5FB7\u5DDE"},{value:"\u4E1C\u8425",label:"\u4E1C\u8425"},{value:"\u83CF\u6CFD",label:"\u83CF\u6CFD"},{value:"\u6D4E\u5B81",label:"\u6D4E\u5B81"},{value:"\u83B1\u829C",label:"\u83B1\u829C"},{value:"\u804A\u57CE",label:"\u804A\u57CE"},{value:"\u4E34\u6C82",label:"\u4E34\u6C82"},{value:"\u84EC\u83B1",label:"\u84EC\u83B1"},{value:"\u9752\u5C9B",label:"\u9752\u5C9B"},{value:"\u66F2\u961C",label:"\u66F2\u961C"},{value:"\u65E5\u7167",label:"\u65E5\u7167"},{value:"\u6CF0\u5B89",label:"\u6CF0\u5B89"},{value:"\u6F4D\u574A",label:"\u6F4D\u574A"},{value:"\u5A01\u6D77",label:"\u5A01\u6D77"},{value:"\u70DF\u53F0",label:"\u70DF\u53F0"},{value:"\u67A3\u5E84",label:"\u67A3\u5E84"},{value:"\u6DC4\u535A",label:"\u6DC4\u535A"}]},{value:"\u5C71\u897F",label:"\u5C71\u897F",children:[{value:"\u592A\u539F",label:"\u592A\u539F"},{value:"\u5415\u6881",label:"\u5415\u6881"},{value:"\u957F\u6CBB",label:"\u957F\u6CBB"},{value:"\u5927\u540C",label:"\u5927\u540C"},{value:"\u5019\u9A6C",label:"\u5019\u9A6C"},{value:"\u664B\u57CE",label:"\u664B\u57CE"},{value:"\u79BB\u77F3",label:"\u79BB\u77F3"},{value:"\u4E34\u6C7E",label:"\u4E34\u6C7E"},{value:"\u5B81\u6B66",label:"\u5B81\u6B66"},{value:"\u6714\u5DDE",label:"\u6714\u5DDE"},{value:"\u5FFB\u5DDE",label:"\u5FFB\u5DDE"},{value:"\u9633\u6CC9",label:"\u9633\u6CC9"},{value:"\u6986\u6B21",label:"\u6986\u6B21"},{value:"\u664B\u4E2D",label:"\u664B\u4E2D"},{value:"\u8FD0\u57CE",label:"\u8FD0\u57CE"}]},{value:"\u9655\u897F",label:"\u9655\u897F",children:[{value:"\u897F\u5B89",label:"\u897F\u5B89"},{value:"\u5B89\u5EB7",label:"\u5B89\u5EB7"},{value:"\u5B9D\u9E21",label:"\u5B9D\u9E21"},{value:"\u6C49\u4E2D",label:"\u6C49\u4E2D"},{value:"\u6E2D\u5357",label:"\u6E2D\u5357"},{value:"\u5546\u5DDE",label:"\u5546\u5DDE"},{value:"\u7EE5\u5FB7",label:"\u7EE5\u5FB7"},{value:"\u94DC\u5DDD",label:"\u94DC\u5DDD"},{value:"\u54B8\u9633",label:"\u54B8\u9633"},{value:"\u5EF6\u5B89",label:"\u5EF6\u5B89"},{value:"\u6986\u6797",label:"\u6986\u6797"}]},{value:"\u56DB\u5DDD",label:"\u56DB\u5DDD",children:[{value:"\u6210\u90FD",label:"\u6210\u90FD"},{value:"\u5DF4\u4E2D",label:"\u5DF4\u4E2D"},{value:"\u8FBE\u5DDD",label:"\u8FBE\u5DDD"},{value:"\u5FB7\u9633",label:"\u5FB7\u9633"},{value:"\u90FD\u6C5F\u5830",label:"\u90FD\u6C5F\u5830"},{value:"\u5CE8\u7709\u5C71",label:"\u5CE8\u7709\u5C71"},{value:"\u6DAA\u9675",label:"\u6DAA\u9675"},{value:"\u5E7F\u5B89",label:"\u5E7F\u5B89"},{value:"\u5E7F\u5143",label:"\u5E7F\u5143"},{value:"\u4E5D\u5BE8\u6C9F",label:"\u4E5D\u5BE8\u6C9F"},{value:"\u5EB7\u5B9A",label:"\u5EB7\u5B9A"},{value:"\u4E50\u5C71",label:"\u4E50\u5C71"},{value:"\u6CF8\u5DDE",label:"\u6CF8\u5DDE"},{value:"\u9A6C\u5C14\u5EB7",label:"\u9A6C\u5C14\u5EB7"},{value:"\u7EF5\u9633",label:"\u7EF5\u9633"},{value:"\u7709\u5C71",label:"\u7709\u5C71"},{value:"\u5357\u5145",label:"\u5357\u5145"},{value:"\u5185\u6C5F",label:"\u5185\u6C5F"},{value:"\u6500\u679D\u82B1",label:"\u6500\u679D\u82B1"},{value:"\u9042\u5B81",label:"\u9042\u5B81"},{value:"\u6C76\u5DDD",label:"\u6C76\u5DDD"},{value:"\u897F\u660C",label:"\u897F\u660C"},{value:"\u96C5\u5B89",label:"\u96C5\u5B89"},{value:"\u5B9C\u5BBE",label:"\u5B9C\u5BBE"},{value:"\u81EA\u8D21",label:"\u81EA\u8D21"},{value:"\u8D44\u9633",label:"\u8D44\u9633"}]},{value:"\u53F0\u6E7E",label:"\u53F0\u6E7E",children:[{value:"\u53F0\u5317",label:"\u53F0\u5317"},{value:"\u57FA\u9686",label:"\u57FA\u9686"},{value:"\u53F0\u5357",label:"\u53F0\u5357"},{value:"\u53F0\u4E2D",label:"\u53F0\u4E2D"},{value:"\u9AD8\u96C4",label:"\u9AD8\u96C4"},{value:"\u5C4F\u4E1C",label:"\u5C4F\u4E1C"},{value:"\u5357\u6295",label:"\u5357\u6295"},{value:"\u4E91\u6797",label:"\u4E91\u6797"},{value:"\u65B0\u7AF9",label:"\u65B0\u7AF9"},{value:"\u5F70\u5316",label:"\u5F70\u5316"},{value:"\u82D7\u6817",label:"\u82D7\u6817"},{value:"\u5609\u4E49",label:"\u5609\u4E49"},{value:"\u6843\u56ED",label:"\u6843\u56ED"},{value:"\u5B9C\u5170",label:"\u5B9C\u5170"},{value:"\u53F0\u4E1C",label:"\u53F0\u4E1C"},{value:"\u91D1\u95E8",label:"\u91D1\u95E8"},{value:"\u9A6C\u7956",label:"\u9A6C\u7956"},{value:"\u6F8E\u6E56",label:"\u6F8E\u6E56"}]},{value:"\u5929\u6D25",label:"\u5929\u6D25",children:[{value:"\u5929\u6D25",label:"\u5929\u6D25"},{value:"\u548C\u5E73",label:"\u548C\u5E73"},{value:"\u4E1C\u4E3D",label:"\u4E1C\u4E3D"},{value:"\u6CB3\u4E1C",label:"\u6CB3\u4E1C"},{value:"\u897F\u9752",label:"\u897F\u9752"},{value:"\u6CB3\u897F",label:"\u6CB3\u897F"},{value:"\u6D25\u5357",label:"\u6D25\u5357"},{value:"\u5357\u5F00",label:"\u5357\u5F00"},{value:"\u5317\u8FB0",label:"\u5317\u8FB0"},{value:"\u6CB3\u5317",label:"\u6CB3\u5317"},{value:"\u6B66\u6E05",label:"\u6B66\u6E05"},{value:"\u7EA2\u6322",label:"\u7EA2\u6322"},{value:"\u5858\u6CBD",label:"\u5858\u6CBD"},{value:"\u6C49\u6CBD",label:"\u6C49\u6CBD"},{value:"\u5927\u6E2F",label:"\u5927\u6E2F"},{value:"\u5B81\u6CB3",label:"\u5B81\u6CB3"},{value:"\u9759\u6D77",label:"\u9759\u6D77"},{value:"\u5B9D\u577B",label:"\u5B9D\u577B"},{value:"\u84DF\u53BF",label:"\u84DF\u53BF"}]},{value:"\u65B0\u7586",label:"\u65B0\u7586",children:[{value:"\u4E4C\u9C81\u6728\u9F50",label:"\u4E4C\u9C81\u6728\u9F50"},{value:"\u963F\u514B\u82CF",label:"\u963F\u514B\u82CF"},{value:"\u963F\u52D2\u6CF0",label:"\u963F\u52D2\u6CF0"},{value:"\u963F\u56FE\u4EC0",label:"\u963F\u56FE\u4EC0"},{value:"\u535A\u4E50",label:"\u535A\u4E50"},{value:"\u660C\u5409",label:"\u660C\u5409"},{value:"\u4E1C\u5C71",label:"\u4E1C\u5C71"},{value:"\u54C8\u5BC6",label:"\u54C8\u5BC6"},{value:"\u548C\u7530",label:"\u548C\u7530"},{value:"\u5580\u4EC0",label:"\u5580\u4EC0"},{value:"\u514B\u62C9\u739B\u4F9D",label:"\u514B\u62C9\u739B\u4F9D"},{value:"\u5E93\u8F66",label:"\u5E93\u8F66"},{value:"\u5E93\u5C14\u52D2",label:"\u5E93\u5C14\u52D2"},{value:"\u594E\u5C6F",label:"\u594E\u5C6F"},{value:"\u77F3\u6CB3\u5B50",label:"\u77F3\u6CB3\u5B50"},{value:"\u5854\u57CE",label:"\u5854\u57CE"},{value:"\u5410\u9C81\u756A",label:"\u5410\u9C81\u756A"},{value:"\u4F0A\u5B81",label:"\u4F0A\u5B81"}]},{value:"\u897F\u85CF",label:"\u897F\u85CF",children:[{value:"\u62C9\u8428",label:"\u62C9\u8428"},{value:"\u963F\u91CC",label:"\u963F\u91CC"},{value:"\u660C\u90FD",label:"\u660C\u90FD"},{value:"\u6797\u829D",label:"\u6797\u829D"},{value:"\u90A3\u66F2",label:"\u90A3\u66F2"},{value:"\u65E5\u5580\u5219",label:"\u65E5\u5580\u5219"},{value:"\u5C71\u5357",label:"\u5C71\u5357"}]},{value:"\u4E91\u5357",label:"\u4E91\u5357",children:[{value:"\u6606\u660E",label:"\u6606\u660E"},{value:"\u5927\u7406",label:"\u5927\u7406"},{value:"\u4FDD\u5C71",label:"\u4FDD\u5C71"},{value:"\u695A\u96C4",label:"\u695A\u96C4"},{value:"\u5927\u7406",label:"\u5927\u7406"},{value:"\u4E1C\u5DDD",label:"\u4E1C\u5DDD"},{value:"\u4E2A\u65E7",label:"\u4E2A\u65E7"},{value:"\u666F\u6D2A",label:"\u666F\u6D2A"},{value:"\u5F00\u8FDC",label:"\u5F00\u8FDC"},{value:"\u4E34\u6CA7",label:"\u4E34\u6CA7"},{value:"\u4E3D\u6C5F",label:"\u4E3D\u6C5F"},{value:"\u516D\u5E93",label:"\u516D\u5E93"},{value:"\u6F5E\u897F",label:"\u6F5E\u897F"},{value:"\u66F2\u9756",label:"\u66F2\u9756"},{value:"\u601D\u8305",label:"\u601D\u8305"},{value:"\u6587\u5C71",label:"\u6587\u5C71"},{value:"\u897F\u53CC\u7248\u7EB3",label:"\u897F\u53CC\u7248\u7EB3"},{value:"\u7389\u6EAA",label:"\u7389\u6EAA"},{value:"\u4E2D\u7538",label:"\u4E2D\u7538"},{value:"\u662D\u901A",label:"\u662D\u901A"}]},{value:"\u6D59\u6C5F",label:"\u6D59\u6C5F",children:[{value:"\u676D\u5DDE",label:"\u676D\u5DDE"},{value:"\u6E29\u5DDE",label:"\u6E29\u5DDE"},{value:"\u5B89\u5409",label:"\u5B89\u5409"},{value:"\u6148\u6EAA",label:"\u6148\u6EAA"},{value:"\u5B9A\u6D77",label:"\u5B9A\u6D77"},{value:"\u5949\u5316",label:"\u5949\u5316"},{value:"\u6D77\u76D0",label:"\u6D77\u76D0"},{value:"\u9EC4\u5CA9",label:"\u9EC4\u5CA9"},{value:"\u6E56\u5DDE",label:"\u6E56\u5DDE"},{value:"\u5609\u5174",label:"\u5609\u5174"},{value:"\u91D1\u534E",label:"\u91D1\u534E"},{value:"\u4E34\u5B89",label:"\u4E34\u5B89"},{value:"\u4E34\u6D77",label:"\u4E34\u6D77"},{value:"\u4E3D\u6C34",label:"\u4E3D\u6C34"},{value:"\u5B81\u6CE2",label:"\u5B81\u6CE2"},{value:"\u74EF\u6D77",label:"\u74EF\u6D77"},{value:"\u5E73\u6E56",label:"\u5E73\u6E56"},{value:"\u5343\u5C9B\u6E56",label:"\u5343\u5C9B\u6E56"},{value:"\u8862\u5DDE",label:"\u8862\u5DDE"},{value:"\u6C5F\u5C71",label:"\u6C5F\u5C71"},{value:"\u745E\u5B89",label:"\u745E\u5B89"},{value:"\u7ECD\u5174",label:"\u7ECD\u5174"},{value:"\u5D4A\u5DDE",label:"\u5D4A\u5DDE"},{value:"\u53F0\u5DDE",label:"\u53F0\u5DDE"},{value:"\u6E29\u5CAD",label:"\u6E29\u5CAD"},{value:"\u4F59\u59DA",label:"\u4F59\u59DA"},{value:"\u821F\u5C71",label:"\u821F\u5C71"}]},{value:"\u6D77\u5916",label:"\u6D77\u5916",children:[{value:"\u7F8E\u56FD",label:"\u7F8E\u56FD"},{value:"\u65E5\u672C",label:"\u65E5\u672C"},{value:"\u82F1\u56FD",label:"\u82F1\u56FD"},{value:"\u6CD5\u56FD",label:"\u6CD5\u56FD"},{value:"\u5FB7\u56FD",label:"\u5FB7\u56FD"},{value:"\u5176\u4ED6",label:"\u5176\u4ED6"}]}]},85673:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return be}});var ge=re(94184),ie=re.n(ge),Ve=re(37419),qe=re(1337),pe=re(67294),Oe=re(96159),ce=re(53124),_e=re(42922),Ee=re(35874);const Ne=me=>{let{children:Ge}=me;const{getPrefixCls:He}=pe.useContext(ce.E_),je=He("breadcrumb");return pe.createElement("li",{className:`${je}-separator`,"aria-hidden":"true"},Ge===""?Ge:Ge||"/")};Ne.__ANT_BREADCRUMB_SEPARATOR=!0;var we=Ne,Le=function(me,Ge){var He={};for(var je in me)Object.prototype.hasOwnProperty.call(me,je)&&Ge.indexOf(je)<0&&(He[je]=me[je]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,je=Object.getOwnPropertySymbols(me);et<je.length;et++)Ge.indexOf(je[et])<0&&Object.prototype.propertyIsEnumerable.call(me,je[et])&&(He[je[et]]=me[je[et]]);return He};function De(me,Ge){if(me.title===void 0||me.title===null)return null;const He=Object.keys(Ge).join("|");return typeof me.title=="object"?me.title:String(me.title).replace(new RegExp(`:(${He})`,"g"),(je,et)=>Ge[et]||je)}function ne(me,Ge,He,je){if(He==null)return null;const{className:et,onClick:Ft}=Ge,vt=Le(Ge,["className","onClick"]),Mt=Object.assign(Object.assign({},(0,qe.Z)(vt,{data:!0,aria:!0})),{onClick:Ft});return je!==void 0?pe.createElement("a",Object.assign({},Mt,{className:ie()(`${me}-link`,et),href:je}),He):pe.createElement("span",Object.assign({},Mt,{className:ie()(`${me}-link`,et)}),He)}function a(me,Ge){return(je,et,Ft,vt,Mt)=>{if(Ge)return Ge(je,et,Ft,vt);const hn=De(je,et);return ne(me,je,hn,Mt)}}var b=function(me,Ge){var He={};for(var je in me)Object.prototype.hasOwnProperty.call(me,je)&&Ge.indexOf(je)<0&&(He[je]=me[je]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,je=Object.getOwnPropertySymbols(me);et<je.length;et++)Ge.indexOf(je[et])<0&&Object.prototype.propertyIsEnumerable.call(me,je[et])&&(He[je[et]]=me[je[et]]);return He};const E=me=>{const{prefixCls:Ge,separator:He="/",children:je,menu:et,overlay:Ft,dropdownProps:vt,href:Mt}=me,$e=(Ke=>{if(et||Ft){const nt=Object.assign({},vt);if(et){const Nt=et||{},{items:Je}=Nt,Bt=b(Nt,["items"]);nt.menu=Object.assign(Object.assign({},Bt),{items:Je==null?void 0:Je.map((he,it)=>{var{key:Tt,title:an,label:at,path:We}=he,Ze=b(he,["key","title","label","path"]);let xe=at!=null?at:an;return We&&(xe=pe.createElement("a",{href:`${Mt}${We}`},xe)),Object.assign(Object.assign({},Ze),{key:Tt!=null?Tt:it,label:xe})})})}else Ft&&(nt.overlay=Ft);return pe.createElement(Ee.Z,Object.assign({placement:"bottom"},nt),pe.createElement("span",{className:`${Ge}-overlay-link`},Ke,pe.createElement(_e.Z,null)))}return Ke})(je);return $e!=null?pe.createElement(pe.Fragment,null,pe.createElement("li",null,$e),He&&pe.createElement(we,null,He)):null},y=me=>{const{prefixCls:Ge,children:He,href:je}=me,et=b(me,["prefixCls","children","href"]),{getPrefixCls:Ft}=pe.useContext(ce.E_),vt=Ft("breadcrumb",Ge);return pe.createElement(E,Object.assign({},et,{prefixCls:vt}),ne(vt,et,He,je))};y.__ANT_BREADCRUMB_ITEM=!0;var x=y,z=re(14747),ee=re(67968),te=re(45503);const oe=me=>{const{componentCls:Ge,iconCls:He}=me;return{[Ge]:Object.assign(Object.assign({},(0,z.Wf)(me)),{color:me.itemColor,fontSize:me.fontSize,[He]:{fontSize:me.iconFontSize},ol:{display:"flex",flexWrap:"wrap",margin:0,padding:0,listStyle:"none"},a:Object.assign({color:me.linkColor,transition:`color ${me.motionDurationMid}`,padding:`0 ${me.paddingXXS}px`,borderRadius:me.borderRadiusSM,height:me.lineHeight*me.fontSize,display:"inline-block",marginInline:-me.marginXXS,"&:hover":{color:me.linkHoverColor,backgroundColor:me.colorBgTextHover}},(0,z.Qy)(me)),"li:last-child":{color:me.lastItemColor},[`${Ge}-separator`]:{marginInline:me.separatorMargin,color:me.separatorColor},[`${Ge}-link`]:{[`
> ${He} + span,
> ${He} + a
`]:{marginInlineStart:me.marginXXS}},[`${Ge}-overlay-link`]:{borderRadius:me.borderRadiusSM,height:me.lineHeight*me.fontSize,display:"inline-block",padding:`0 ${me.paddingXXS}px`,marginInline:-me.marginXXS,[`> ${He}`]:{marginInlineStart:me.marginXXS,fontSize:me.fontSizeIcon},"&:hover":{color:me.linkHoverColor,backgroundColor:me.colorBgTextHover,a:{color:me.linkHoverColor}},a:{"&:hover":{backgroundColor:"transparent"}}},[`&${me.componentCls}-rtl`]:{direction:"rtl"}})}};var le=(0,ee.Z)("Breadcrumb",me=>{const Ge=(0,te.TS)(me,{});return[oe(Ge)]},me=>({itemColor:me.colorTextDescription,lastItemColor:me.colorText,iconFontSize:me.fontSize,linkColor:me.colorTextDescription,linkHoverColor:me.colorText,separatorColor:me.colorTextDescription,separatorMargin:me.marginXS})),de=function(me,Ge){var He={};for(var je in me)Object.prototype.hasOwnProperty.call(me,je)&&Ge.indexOf(je)<0&&(He[je]=me[je]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,je=Object.getOwnPropertySymbols(me);et<je.length;et++)Ge.indexOf(je[et])<0&&Object.prototype.propertyIsEnumerable.call(me,je[et])&&(He[je[et]]=me[je[et]]);return He};function Pe(me){const{breadcrumbName:Ge,children:He}=me,je=de(me,["breadcrumbName","children"]),et=Object.assign({title:Ge},je);return He&&(et.menu={items:He.map(Ft=>{var{breadcrumbName:vt}=Ft,Mt=de(Ft,["breadcrumbName"]);return Object.assign(Object.assign({},Mt),{title:vt})})}),et}function ve(me,Ge){return(0,pe.useMemo)(()=>me||(Ge?Ge.map(Pe):null),[me,Ge])}var se=function(me,Ge){var He={};for(var je in me)Object.prototype.hasOwnProperty.call(me,je)&&Ge.indexOf(je)<0&&(He[je]=me[je]);if(me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var et=0,je=Object.getOwnPropertySymbols(me);et<je.length;et++)Ge.indexOf(je[et])<0&&Object.prototype.propertyIsEnumerable.call(me,je[et])&&(He[je[et]]=me[je[et]]);return He};const Ie=(me,Ge)=>{if(Ge===void 0)return Ge;let He=(Ge||"").replace(/^\//,"");return Object.keys(me).forEach(je=>{He=He.replace(`:${je}`,me[je])}),He},Ye=me=>{const{prefixCls:Ge,separator:He="/",style:je,className:et,rootClassName:Ft,routes:vt,items:Mt,children:hn,itemRender:$e,params:Ke={}}=me,nt=se(me,["prefixCls","separator","style","className","rootClassName","routes","items","children","itemRender","params"]),{getPrefixCls:Nt,direction:Je,breadcrumb:Bt}=pe.useContext(ce.E_);let he;const it=Nt("breadcrumb",Ge),[Tt,an]=le(it),at=ve(Mt,vt),We=a(it,$e);if(at&&at.length>0){const Be=[],Re=Mt||vt;he=at.map((Qe,mt)=>{const{path:Et,key:Ct,type:$t,menu:Wt,overlay:Qt,onClick:Fn,className:Gn,separator:pn,dropdownProps:Sn}=Qe,Zn=Ie(Ke,Et);Zn!==void 0&&Be.push(Zn);const Tn=Ct!=null?Ct:mt;if($t==="separator")return pe.createElement(we,{key:Tn},pn);const Jn={},ta=mt===at.length-1;Wt?Jn.menu=Wt:Qt&&(Jn.overlay=Qt);let{href:ma}=Qe;return Be.length&&Zn!==void 0&&(ma=`#/${Be.join("/")}`),pe.createElement(E,Object.assign({key:Tn},Jn,(0,qe.Z)(Qe,{data:!0,aria:!0}),{className:Gn,dropdownProps:Sn,href:ma,separator:ta?"":He,onClick:Fn,prefixCls:it}),We(Qe,Ke,Re,Be,ma))})}else if(hn){const Be=(0,Ve.Z)(hn).length;he=(0,Ve.Z)(hn).map((Re,Qe)=>{if(!Re)return Re;const mt=Qe===Be-1;return(0,Oe.Tm)(Re,{separator:mt?"":He,key:Qe})})}const Ze=ie()(it,Bt==null?void 0:Bt.className,{[`${it}-rtl`]:Je==="rtl"},et,Ft,an),xe=Object.assign(Object.assign({},Bt==null?void 0:Bt.style),je);return Tt(pe.createElement("nav",Object.assign({className:Ze,style:xe},nt),pe.createElement("ol",null,he)))};Ye.Item=x,Ye.Separator=we;var Te=Ye,be=Te},85546:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return Zi}});var ge=re(74902),ie=re(67294),Ve=re(22751),qe=re(3407),pe=re(91034),Oe=re(94184),ce=re.n(Oe),_e=re(87462),Ee=re(97685),Ne=re(45987),we=re(4942),Le=re(1413),De=re(71002);function ne(ae){var ue=ie.useRef();ue.current=ae;var fe=ie.useCallback(function(){for(var Se,Ce=arguments.length,Ae=new Array(Ce),ze=0;ze<Ce;ze++)Ae[ze]=arguments[ze];return(Se=ue.current)===null||Se===void 0?void 0:Se.call.apply(Se,[ue].concat(Ae))},[]);return fe}function a(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var b=a()?ie.useLayoutEffect:ie.useEffect,E=b,y=function(ue,fe){var Se=ie.useRef(!0);b(function(){if(!Se.current)return ue()},fe),b(function(){return Se.current=!1,function(){Se.current=!0}},[])};function x(ae){var ue=ie.useRef(!1),fe=ie.useState(ae),Se=(0,Ee.Z)(fe,2),Ce=Se[0],Ae=Se[1];ie.useEffect(function(){return ue.current=!1,function(){ue.current=!0}},[]);function ze(Ue,Xe){Xe&&ue.current||Ae(Ue)}return[Ce,ze]}function z(ae){return ae!==void 0}function ee(ae,ue){var fe=ue||{},Se=fe.defaultValue,Ce=fe.value,Ae=fe.onChange,ze=fe.postState,Ue=x(function(){return z(Ce)?Ce:z(Se)?typeof Se=="function"?Se():Se:typeof ae=="function"?ae():ae}),Xe=(0,Ee.Z)(Ue,2),tt=Xe[0],St=Xe[1],gt=Ce!==void 0?Ce:tt,Pt=ze?ze(gt):gt,rt=ne(Ae),ft=x([gt]),Lt=(0,Ee.Z)(ft,2),yt=Lt[0],It=Lt[1];y(function(){var _t=yt[0];tt!==_t&&rt(tt,_t)},[yt]),y(function(){z(Ce)||St(Ce)},[Ce]);var At=ne(function(_t,Zt){St(_t,Zt),It([gt],Zt)});return[Pt,At]}var te={};function oe(ae,ue){}function le(ae,ue){}function de(){te={}}function Pe(ae,ue,fe){!ue&&!te[fe]&&(ae(!1,fe),te[fe]=!0)}function ve(ae,ue){Pe(oe,ae,ue)}function se(ae,ue){Pe(le,ae,ue)}var Ie=ve,Ye=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var ae=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(ae)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(ae==null?void 0:ae.substr(0,4))},Te={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(ue){var fe=ue.keyCode;if(ue.altKey&&!ue.ctrlKey||ue.metaKey||fe>=Te.F1&&fe<=Te.F12)return!1;switch(fe){case Te.ALT:case Te.CAPS_LOCK:case Te.CONTEXT_MENU:case Te.CTRL:case Te.DOWN:case Te.END:case Te.ESC:case Te.HOME:case Te.INSERT:case Te.LEFT:case Te.MAC_FF_META:case Te.META:case Te.NUMLOCK:case Te.NUM_CENTER:case Te.PAGE_DOWN:case Te.PAGE_UP:case Te.PAUSE:case Te.PRINT_SCREEN:case Te.RIGHT:case Te.SHIFT:case Te.UP:case Te.WIN_KEY:case Te.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ue){if(ue>=Te.ZERO&&ue<=Te.NINE||ue>=Te.NUM_ZERO&&ue<=Te.NUM_MULTIPLY||ue>=Te.A&&ue<=Te.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ue===0)return!0;switch(ue){case Te.SPACE:case Te.QUESTION_MARK:case Te.NUM_PLUS:case Te.NUM_MINUS:case Te.NUM_PERIOD:case Te.NUM_DIVISION:case Te.SEMICOLON:case Te.DASH:case Te.EQUALS:case Te.COMMA:case Te.PERIOD:case Te.SLASH:case Te.APOSTROPHE:case Te.SINGLE_QUOTE:case Te.OPEN_SQUARE_BRACKET:case Te.BACKSLASH:case Te.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},be=Te,me=re(16357);function Ge(ae,ue,fe){var Se=ie.useRef({});return(!("value"in Se.current)||fe(Se.current.condition,ue))&&(Se.current.value=ae(),Se.current.condition=ue),Se.current.value}function He(ae,ue){typeof ae=="function"?ae(ue):(0,De.Z)(ae)==="object"&&ae&&"current"in ae&&(ae.current=ue)}function je(){for(var ae=arguments.length,ue=new Array(ae),fe=0;fe<ae;fe++)ue[fe]=arguments[fe];var Se=ue.filter(function(Ce){return Ce});return Se.length<=1?Se[0]:function(Ce){ue.forEach(function(Ae){He(Ae,Ce)})}}function et(){for(var ae=arguments.length,ue=new Array(ae),fe=0;fe<ae;fe++)ue[fe]=arguments[fe];return Ge(function(){return je.apply(void 0,ue)},ue,function(Se,Ce){return Se.length===Ce.length&&Se.every(function(Ae,ze){return Ae===Ce[ze]})})}function Ft(ae){var ue,fe,Se=isMemo(ae)?ae.type.type:ae.type;return!(typeof Se=="function"&&!((ue=Se.prototype)!==null&&ue!==void 0&&ue.render)||typeof ae=="function"&&!((fe=ae.prototype)!==null&&fe!==void 0&&fe.render))}var vt=function(ue){var fe=ue.className,Se=ue.customizeIcon,Ce=ue.customizeIconProps,Ae=ue.onMouseDown,ze=ue.onClick,Ue=ue.children,Xe;return typeof Se=="function"?Xe=Se(Ce):Xe=Se,ie.createElement("span",{className:fe,onMouseDown:function(St){St.preventDefault(),Ae&&Ae(St)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:ze,"aria-hidden":!0},Xe!==void 0?Xe:ie.createElement("span",{className:ce()(fe.split(/\s+/).map(function(tt){return"".concat(tt,"-icon")}))},Ue))},Mt=vt;function hn(ae,ue,fe,Se,Ce){var Ae=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,ze=arguments.length>6?arguments[6]:void 0,Ue=arguments.length>7?arguments[7]:void 0,Xe=ie.useMemo(function(){if((0,De.Z)(Se)==="object")return Se.clearIcon;if(Ce)return Ce},[Se,Ce]),tt=ie.useMemo(function(){return!!(!Ae&&Se&&(fe.length||ze)&&!(Ue==="combobox"&&ze===""))},[Se,Ae,fe.length,ze,Ue]);return{allowClear:tt,clearIcon:ie.createElement(Mt,{className:"".concat(ae,"-clear"),onMouseDown:ue,customizeIcon:Xe},"\xD7")}}var $e=ie.createContext(null);function Ke(){return ie.useContext($e)}function nt(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,ue=ie.useState(!1),fe=(0,Ee.Z)(ue,2),Se=fe[0],Ce=fe[1],Ae=ie.useRef(null),ze=function(){window.clearTimeout(Ae.current)};ie.useEffect(function(){return ze},[]);var Ue=function(tt,St){ze(),Ae.current=window.setTimeout(function(){Ce(tt),St&&St()},ae)};return[Se,Ue,ze]}function Nt(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,ue=ie.useRef(null),fe=ie.useRef(null);ie.useEffect(function(){return function(){window.clearTimeout(fe.current)}},[]);function Se(Ce){(Ce||ue.current===null)&&(ue.current=Ce),window.clearTimeout(fe.current),fe.current=window.setTimeout(function(){ue.current=null},ae)}return[function(){return ue.current},Se]}function Je(ae,ue,fe,Se){var Ce=ie.useRef(null);Ce.current={open:ue,triggerOpen:fe,customizedTrigger:Se},ie.useEffect(function(){function Ae(ze){var Ue;if(!((Ue=Ce.current)!==null&&Ue!==void 0&&Ue.customizedTrigger)){var Xe=ze.target;Xe.shadowRoot&&ze.composed&&(Xe=ze.composedPath()[0]||Xe),Ce.current.open&&ae().filter(function(tt){return tt}).every(function(tt){return!tt.contains(Xe)&&tt!==Xe})&&Ce.current.triggerOpen(!1)}}return window.addEventListener("mousedown",Ae),function(){return window.removeEventListener("mousedown",Ae)}},[])}var Bt=`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`,he=`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`,it="".concat(Bt," ").concat(he).split(/[\s\n]+/),Tt="aria-",an="data-";function at(ae,ue){return ae.indexOf(ue)===0}function We(ae){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,fe;ue===!1?fe={aria:!0,data:!0,attr:!0}:ue===!0?fe={aria:!0}:fe=(0,Le.Z)({},ue);var Se={};return Object.keys(ae).forEach(function(Ce){(fe.aria&&(Ce==="role"||at(Ce,Tt))||fe.data&&at(Ce,an)||fe.attr&&it.includes(Ce))&&(Se[Ce]=ae[Ce])}),Se}var Ze=re(48555);function xe(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Be=xe()?ie.useLayoutEffect:ie.useEffect,Re=function(ue,fe){var Se=ie.useRef(!0);Be(function(){return ue(Se.current)},fe),Be(function(){return Se.current=!1,function(){Se.current=!0}},[])},Qe=function(ue,fe){Re(function(Se){if(!Se)return ue()},fe)},mt=Re,Et=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],Ct=void 0;function $t(ae,ue){var fe=ae.prefixCls,Se=ae.invalidate,Ce=ae.item,Ae=ae.renderItem,ze=ae.responsive,Ue=ae.responsiveDisabled,Xe=ae.registerSize,tt=ae.itemKey,St=ae.className,gt=ae.style,Pt=ae.children,rt=ae.display,ft=ae.order,Lt=ae.component,yt=Lt===void 0?"div":Lt,It=(0,Ne.Z)(ae,Et),At=ze&&!rt;function _t(Ut){Xe(tt,Ut)}ie.useEffect(function(){return function(){_t(null)}},[]);var Zt=Ae&&Ce!==Ct?Ae(Ce):Pt,on;Se||(on={opacity:At?0:1,height:At?0:Ct,overflowY:At?"hidden":Ct,order:ze?ft:Ct,pointerEvents:At?"none":Ct,position:At?"absolute":Ct});var wt={};At&&(wt["aria-hidden"]=!0);var Vt=ie.createElement(yt,(0,_e.Z)({className:ce()(!Se&&fe,St),style:(0,Le.Z)((0,Le.Z)({},on),gt)},wt,It,{ref:ue}),Zt);return ze&&(Vt=ie.createElement(Ze.Z,{onResize:function(pt){var zt=pt.offsetWidth;_t(zt)},disabled:Ue},Vt)),Vt}var Wt=ie.forwardRef($t);Wt.displayName="Item";var Qt=Wt;function Fn(ae){var ue=ie.useRef();ue.current=ae;var fe=ie.useCallback(function(){for(var Se,Ce=arguments.length,Ae=new Array(Ce),ze=0;ze<Ce;ze++)Ae[ze]=arguments[ze];return(Se=ue.current)===null||Se===void 0?void 0:Se.call.apply(Se,[ue].concat(Ae))},[]);return fe}var Gn=re(73935),pn=function(ue){return+setTimeout(ue,16)},Sn=function(ue){return clearTimeout(ue)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(pn=function(ue){return window.requestAnimationFrame(ue)},Sn=function(ue){return window.cancelAnimationFrame(ue)});var Zn=0,Tn=new Map;function Jn(ae){Tn.delete(ae)}var ta=function(ue){var fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Zn+=1;var Se=Zn;function Ce(Ae){if(Ae===0)Jn(Se),ue();else{var ze=pn(function(){Ce(Ae-1)});Tn.set(Se,ze)}}return Ce(fe),Se};ta.cancel=function(ae){var ue=Tn.get(ae);return Jn(ue),Sn(ue)};var ma=ta;function jn(ae){if(typeof MessageChannel=="undefined")ma(ae);else{var ue=new MessageChannel;ue.port1.onmessage=function(){return ae()},ue.port2.postMessage(void 0)}}function na(){var ae=ie.useRef(null),ue=function(Se){ae.current||(ae.current=[],jn(function(){(0,Gn.unstable_batchedUpdates)(function(){ae.current.forEach(function(Ce){Ce()}),ae.current=null})})),ae.current.push(Se)};return ue}function aa(ae,ue){var fe=ie.useState(ue),Se=(0,Ee.Z)(fe,2),Ce=Se[0],Ae=Se[1],ze=Fn(function(Ue){ae(function(){Ae(Ue)})});return[Ce,ze]}var $n=ie.createContext(null),la=["component"],va=["className"],Ma=["className"],eo=function(ue,fe){var Se=ie.useContext($n);if(!Se){var Ce=ue.component,Ae=Ce===void 0?"div":Ce,ze=(0,Ne.Z)(ue,la);return ie.createElement(Ae,(0,_e.Z)({},ze,{ref:fe}))}var Ue=Se.className,Xe=(0,Ne.Z)(Se,va),tt=ue.className,St=(0,Ne.Z)(ue,Ma);return ie.createElement($n.Provider,{value:null},ie.createElement(Qt,(0,_e.Z)({ref:fe,className:ce()(Ue,tt)},Xe,St)))},Pa=ie.forwardRef(eo);Pa.displayName="RawItem";var io=Pa,co=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],Ta="responsive",Xa="invalidate";function Fa(ae){return"+ ".concat(ae.length," ...")}function to(ae,ue){var fe=ae.prefixCls,Se=fe===void 0?"rc-overflow":fe,Ce=ae.data,Ae=Ce===void 0?[]:Ce,ze=ae.renderItem,Ue=ae.renderRawItem,Xe=ae.itemKey,tt=ae.itemWidth,St=tt===void 0?10:tt,gt=ae.ssr,Pt=ae.style,rt=ae.className,ft=ae.maxCount,Lt=ae.renderRest,yt=ae.renderRawRest,It=ae.suffix,At=ae.component,_t=At===void 0?"div":At,Zt=ae.itemComponent,on=ae.onVisibleChange,wt=(0,Ne.Z)(ae,co),Vt=gt==="full",Ut=na(),pt=aa(Ut,null),zt=(0,Ee.Z)(pt,2),Ht=zt[0],En=zt[1],mn=Ht||0,un=aa(Ut,new Map),fn=(0,Ee.Z)(un,2),nn=fn[0],Yt=fn[1],tn=aa(Ut,0),ln=(0,Ee.Z)(tn,2),Un=ln[0],Cn=ln[1],Xn=aa(Ut,0),ha=(0,Ee.Z)(Xn,2),dn=ha[0],On=ha[1],_n=aa(Ut,0),rn=(0,Ee.Z)(_n,2),Kt=rn[0],qt=rn[1],wn=(0,ie.useState)(null),yn=(0,Ee.Z)(wn,2),Bn=yn[0],vn=yn[1],cn=(0,ie.useState)(null),en=(0,Ee.Z)(cn,2),Pn=en[0],Nn=en[1],xn=ie.useMemo(function(){return Pn===null&&Vt?Number.MAX_SAFE_INTEGER:Pn||0},[Pn,Ht]),Wn=(0,ie.useState)(!1),ga=(0,Ee.Z)(Wn,2),Kn=ga[0],ba=ga[1],ya="".concat(Se,"-item"),$a=Math.max(Un,dn),ua=ft===Ta,Vn=Ae.length&&ua,Ea=ft===Xa,sa=Vn||typeof ft=="number"&&Ae.length>ft,fa=(0,ie.useMemo)(function(){var gn=Ae;return Vn?Ht===null&&Vt?gn=Ae:gn=Ae.slice(0,Math.min(Ae.length,mn/St)):typeof ft=="number"&&(gn=Ae.slice(0,ft)),gn},[Ae,St,Ht,ft,Vn]),Ca=(0,ie.useMemo)(function(){return Vn?Ae.slice(xn+1):Ae.slice(fa.length)},[Ae,fa,Vn,xn]),Aa=(0,ie.useCallback)(function(gn,st){var xt;return typeof Xe=="function"?Xe(gn):(xt=Xe&&(gn==null?void 0:gn[Xe]))!==null&&xt!==void 0?xt:st},[Xe]),ao=(0,ie.useCallback)(ze||function(gn){return gn},[ze]);function oo(gn,st,xt){Pn===gn&&(st===void 0||st===Bn)||(Nn(gn),xt||(ba(gn<Ae.length-1),on==null||on(gn)),st!==void 0&&vn(st))}function wo(gn,st){En(st.clientWidth)}function So(gn,st){Yt(function(xt){var kt=new Map(xt);return st===null?kt.delete(gn):kt.set(gn,st),kt})}function Qa(gn,st){On(st),Cn(dn)}function Fo(gn,st){qt(st)}function Ha(gn){return nn.get(Aa(fa[gn],gn))}mt(function(){if(mn&&typeof $a=="number"&&fa){var gn=Kt,st=fa.length,xt=st-1;if(!st){oo(0,null);return}for(var kt=0;kt<st;kt+=1){var Jt=Ha(kt);if(Vt&&(Jt=Jt||0),Jt===void 0){oo(kt-1,void 0,!0);break}if(gn+=Jt,xt===0&&gn<=mn||kt===xt-1&&gn+Ha(xt)<=mn){oo(xt,null);break}else if(gn+$a>mn){oo(kt-1,gn-Jt-Kt+dn);break}}It&&Ha(0)+Kt>mn&&vn(null)}},[mn,nn,dn,Kt,Aa,fa]);var Bo=Kn&&!!Ca.length,Do={};Bn!==null&&Vn&&(Do={position:"absolute",left:Bn,top:0});var Yn={prefixCls:ya,responsive:Vn,component:Zt,invalidate:Ea},Rn=Ue?function(gn,st){var xt=Aa(gn,st);return ie.createElement($n.Provider,{key:xt,value:(0,Le.Z)((0,Le.Z)({},Yn),{},{order:st,item:gn,itemKey:xt,registerSize:So,display:st<=xn})},Ue(gn,st))}:function(gn,st){var xt=Aa(gn,st);return ie.createElement(Qt,(0,_e.Z)({},Yn,{order:st,key:xt,item:gn,renderItem:ao,itemKey:xt,registerSize:So,display:st<=xn}))},ca,Ra={order:Bo?xn:Number.MAX_SAFE_INTEGER,className:"".concat(ya,"-rest"),registerSize:Qa,display:Bo};if(yt)yt&&(ca=ie.createElement($n.Provider,{value:(0,Le.Z)((0,Le.Z)({},Yn),Ra)},yt(Ca)));else{var La=Lt||Fa;ca=ie.createElement(Qt,(0,_e.Z)({},Yn,Ra),typeof La=="function"?La(Ca):La)}var Ja=ie.createElement(_t,(0,_e.Z)({className:ce()(!Ea&&Se,rt),style:Pt,ref:ue},wt),fa.map(Rn),sa?ca:null,It&&ie.createElement(Qt,(0,_e.Z)({},Yn,{responsive:ua,responsiveDisabled:!Vn,order:xn,className:"".concat(ya,"-suffix"),registerSize:Fo,display:!0,style:Do}),It));return ua&&(Ja=ie.createElement(Ze.Z,{onResize:wo,disabled:!Vn},Ja)),Ja}var ja=ie.forwardRef(to);ja.displayName="Overflow",ja.Item=io,ja.RESPONSIVE=Ta,ja.INVALIDATE=Xa;var mo=ja,ka=mo,No=function(ue,fe){var Se,Ce,Ae=ue.prefixCls,ze=ue.id,Ue=ue.inputElement,Xe=ue.disabled,tt=ue.tabIndex,St=ue.autoFocus,gt=ue.autoComplete,Pt=ue.editable,rt=ue.activeDescendantId,ft=ue.value,Lt=ue.maxLength,yt=ue.onKeyDown,It=ue.onMouseDown,At=ue.onChange,_t=ue.onPaste,Zt=ue.onCompositionStart,on=ue.onCompositionEnd,wt=ue.open,Vt=ue.attrs,Ut=Ue||ie.createElement("input",null),pt=Ut,zt=pt.ref,Ht=pt.props,En=Ht.onKeyDown,mn=Ht.onChange,un=Ht.onMouseDown,fn=Ht.onCompositionStart,nn=Ht.onCompositionEnd,Yt=Ht.style;return"maxLength"in Ut.props,Ut=ie.cloneElement(Ut,(0,Le.Z)((0,Le.Z)((0,Le.Z)({type:"search"},Ht),{},{id:ze,ref:je(fe,zt),disabled:Xe,tabIndex:tt,autoComplete:gt||"off",autoFocus:St,className:ce()("".concat(Ae,"-selection-search-input"),(Se=Ut)===null||Se===void 0||(Ce=Se.props)===null||Ce===void 0?void 0:Ce.className),role:"combobox","aria-label":"Search","aria-expanded":wt||!1,"aria-haspopup":"listbox","aria-owns":"".concat(ze,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(ze,"_list"),"aria-activedescendant":wt?rt:void 0},Vt),{},{value:Pt?ft:"",maxLength:Lt,readOnly:!Pt,unselectable:Pt?null:"on",style:(0,Le.Z)((0,Le.Z)({},Yt),{},{opacity:Pt?null:0}),onKeyDown:function(ln){yt(ln),En&&En(ln)},onMouseDown:function(ln){It(ln),un&&un(ln)},onChange:function(ln){At(ln),mn&&mn(ln)},onCompositionStart:function(ln){Zt(ln),fn&&fn(ln)},onCompositionEnd:function(ln){on(ln),nn&&nn(ln)},onPaste:_t})),Ut},Ia=ie.forwardRef(No);Ia.displayName="Input";var Oo=Ia;function Po(ae){return Array.isArray(ae)?ae:ae!==void 0?[ae]:[]}var jo=typeof window!="undefined"&&window.document&&window.document.documentElement,ye=jo;function Me(ae){return ae!=null}function Fe(ae){return!ae&&ae!==0}function ct(ae){return["string","number"].includes((0,De.Z)(ae))}function Gt(ae){var ue=void 0;return ae&&(ct(ae.title)?ue=ae.title.toString():ct(ae.label)&&(ue=ae.label.toString())),ue}function jt(ae,ue){ye?ie.useLayoutEffect(ae,ue):ie.useEffect(ae,ue)}function Hn(ae){var ue;return(ue=ae.key)!==null&&ue!==void 0?ue:ae.value}var Ln=function(ue){ue.preventDefault(),ue.stopPropagation()},An=function(ue){var fe=ue.id,Se=ue.prefixCls,Ce=ue.values,Ae=ue.open,ze=ue.searchValue,Ue=ue.autoClearSearchValue,Xe=ue.inputRef,tt=ue.placeholder,St=ue.disabled,gt=ue.mode,Pt=ue.showSearch,rt=ue.autoFocus,ft=ue.autoComplete,Lt=ue.activeDescendantId,yt=ue.tabIndex,It=ue.removeIcon,At=ue.maxTagCount,_t=ue.maxTagTextLength,Zt=ue.maxTagPlaceholder,on=Zt===void 0?function(vn){return"+ ".concat(vn.length," ...")}:Zt,wt=ue.tagRender,Vt=ue.onToggleOpen,Ut=ue.onRemove,pt=ue.onInputChange,zt=ue.onInputPaste,Ht=ue.onInputKeyDown,En=ue.onInputMouseDown,mn=ue.onInputCompositionStart,un=ue.onInputCompositionEnd,fn=ie.useRef(null),nn=(0,ie.useState)(0),Yt=(0,Ee.Z)(nn,2),tn=Yt[0],ln=Yt[1],Un=(0,ie.useState)(!1),Cn=(0,Ee.Z)(Un,2),Xn=Cn[0],ha=Cn[1],dn="".concat(Se,"-selection"),On=Ae||gt==="multiple"&&Ue===!1||gt==="tags"?ze:"",_n=gt==="tags"||gt==="multiple"&&Ue===!1||Pt&&(Ae||Xn);jt(function(){ln(fn.current.scrollWidth)},[On]);function rn(vn,cn,en,Pn,Nn){return ie.createElement("span",{className:ce()("".concat(dn,"-item"),(0,we.Z)({},"".concat(dn,"-item-disabled"),en)),title:Gt(vn)},ie.createElement("span",{className:"".concat(dn,"-item-content")},cn),Pn&&ie.createElement(Mt,{className:"".concat(dn,"-item-remove"),onMouseDown:Ln,onClick:Nn,customizeIcon:It},"\xD7"))}function Kt(vn,cn,en,Pn,Nn){var xn=function(ga){Ln(ga),Vt(!Ae)};return ie.createElement("span",{onMouseDown:xn},wt({label:cn,value:vn,disabled:en,closable:Pn,onClose:Nn}))}function qt(vn){var cn=vn.disabled,en=vn.label,Pn=vn.value,Nn=!St&&!cn,xn=en;if(typeof _t=="number"&&(typeof en=="string"||typeof en=="number")){var Wn=String(xn);Wn.length>_t&&(xn="".concat(Wn.slice(0,_t),"..."))}var ga=function(ba){ba&&ba.stopPropagation(),Ut(vn)};return typeof wt=="function"?Kt(Pn,xn,cn,Nn,ga):rn(vn,xn,cn,Nn,ga)}function wn(vn){var cn=typeof on=="function"?on(vn):on;return rn({title:cn},cn,!1)}var yn=ie.createElement("div",{className:"".concat(dn,"-search"),style:{width:tn},onFocus:function(){ha(!0)},onBlur:function(){ha(!1)}},ie.createElement(Oo,{ref:Xe,open:Ae,prefixCls:Se,id:fe,inputElement:null,disabled:St,autoFocus:rt,autoComplete:ft,editable:_n,activeDescendantId:Lt,value:On,onKeyDown:Ht,onMouseDown:En,onChange:pt,onPaste:zt,onCompositionStart:mn,onCompositionEnd:un,tabIndex:yt,attrs:We(ue,!0)}),ie.createElement("span",{ref:fn,className:"".concat(dn,"-search-mirror"),"aria-hidden":!0},On,"\xA0")),Bn=ie.createElement(ka,{prefixCls:"".concat(dn,"-overflow"),data:Ce,renderItem:qt,renderRest:wn,suffix:yn,itemKey:Hn,maxCount:At});return ie.createElement(ie.Fragment,null,Bn,!Ce.length&&!On&&ie.createElement("span",{className:"".concat(dn,"-placeholder")},tt))},qn=An,no=function(ue){var fe=ue.inputElement,Se=ue.prefixCls,Ce=ue.id,Ae=ue.inputRef,ze=ue.disabled,Ue=ue.autoFocus,Xe=ue.autoComplete,tt=ue.activeDescendantId,St=ue.mode,gt=ue.open,Pt=ue.values,rt=ue.placeholder,ft=ue.tabIndex,Lt=ue.showSearch,yt=ue.searchValue,It=ue.activeValue,At=ue.maxLength,_t=ue.onInputKeyDown,Zt=ue.onInputMouseDown,on=ue.onInputChange,wt=ue.onInputPaste,Vt=ue.onInputCompositionStart,Ut=ue.onInputCompositionEnd,pt=ue.title,zt=ie.useState(!1),Ht=(0,Ee.Z)(zt,2),En=Ht[0],mn=Ht[1],un=St==="combobox",fn=un||Lt,nn=Pt[0],Yt=yt||"";un&&It&&!En&&(Yt=It),ie.useEffect(function(){un&&mn(!1)},[un,It]);var tn=St!=="combobox"&&!gt&&!Lt?!1:!!Yt,ln=pt===void 0?Gt(nn):pt,Un=function(){if(nn)return null;var Xn=tn?{visibility:"hidden"}:void 0;return ie.createElement("span",{className:"".concat(Se,"-selection-placeholder"),style:Xn},rt)};return ie.createElement(ie.Fragment,null,ie.createElement("span",{className:"".concat(Se,"-selection-search")},ie.createElement(Oo,{ref:Ae,prefixCls:Se,id:Ce,open:gt,inputElement:fe,disabled:ze,autoFocus:Ue,autoComplete:Xe,editable:fn,activeDescendantId:tt,value:Yt,onKeyDown:_t,onMouseDown:Zt,onChange:function(Xn){mn(!0),on(Xn)},onPaste:wt,onCompositionStart:Vt,onCompositionEnd:Ut,tabIndex:ft,attrs:We(ue,!0),maxLength:un?At:void 0})),!un&&nn?ie.createElement("span",{className:"".concat(Se,"-selection-item"),title:ln,style:tn?{visibility:"hidden"}:void 0},nn.label):null,Un())},lt=no;function zn(ae){return![be.ESC,be.SHIFT,be.BACKSPACE,be.TAB,be.WIN_KEY,be.ALT,be.META,be.WIN_KEY_RIGHT,be.CTRL,be.SEMICOLON,be.EQUALS,be.CAPS_LOCK,be.CONTEXT_MENU,be.F1,be.F2,be.F3,be.F4,be.F5,be.F6,be.F7,be.F8,be.F9,be.F10,be.F11,be.F12].includes(ae)}var Va=function(ue,fe){var Se=(0,ie.useRef)(null),Ce=(0,ie.useRef)(!1),Ae=ue.prefixCls,ze=ue.open,Ue=ue.mode,Xe=ue.showSearch,tt=ue.tokenWithEnter,St=ue.autoClearSearchValue,gt=ue.onSearch,Pt=ue.onSearchSubmit,rt=ue.onToggleOpen,ft=ue.onInputKeyDown,Lt=ue.domRef;ie.useImperativeHandle(fe,function(){return{focus:function(){Se.current.focus()},blur:function(){Se.current.blur()}}});var yt=Nt(0),It=(0,Ee.Z)(yt,2),At=It[0],_t=It[1],Zt=function(Yt){var tn=Yt.which;(tn===be.UP||tn===be.DOWN)&&Yt.preventDefault(),ft&&ft(Yt),tn===be.ENTER&&Ue==="tags"&&!Ce.current&&!ze&&(Pt==null||Pt(Yt.target.value)),zn(tn)&&rt(!0)},on=function(){_t(!0)},wt=(0,ie.useRef)(null),Vt=function(Yt){gt(Yt,!0,Ce.current)!==!1&&rt(!0)},Ut=function(){Ce.current=!0},pt=function(Yt){Ce.current=!1,Ue!=="combobox"&&Vt(Yt.target.value)},zt=function(Yt){var tn=Yt.target.value;if(tt&&wt.current&&/[\r\n]/.test(wt.current)){var ln=wt.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");tn=tn.replace(ln,wt.current)}wt.current=null,Vt(tn)},Ht=function(Yt){var tn=Yt.clipboardData,ln=tn.getData("text");wt.current=ln},En=function(Yt){var tn=Yt.target;if(tn!==Se.current){var ln=document.body.style.msTouchAction!==void 0;ln?setTimeout(function(){Se.current.focus()}):Se.current.focus()}},mn=function(Yt){var tn=At();Yt.target!==Se.current&&!tn&&Ue!=="combobox"&&Yt.preventDefault(),(Ue!=="combobox"&&(!Xe||!tn)||!ze)&&(ze&&St!==!1&&gt("",!0,!1),rt())},un={inputRef:Se,onInputKeyDown:Zt,onInputMouseDown:on,onInputChange:zt,onInputPaste:Ht,onInputCompositionStart:Ut,onInputCompositionEnd:pt},fn=Ue==="multiple"||Ue==="tags"?ie.createElement(qn,(0,_e.Z)({},ue,un)):ie.createElement(lt,(0,_e.Z)({},ue,un));return ie.createElement("div",{ref:Lt,className:"".concat(Ae,"-selector"),onClick:En,onMouseDown:mn},fn)},uo=ie.forwardRef(Va);uo.displayName="Selector";var Ba=uo,Sa=re(62709),Ao=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Mo=function(ue){var fe=ue===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:fe,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:fe,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:fe,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:fe,adjustY:1},htmlRegion:"scroll"}}},Io=function(ue,fe){var Se=ue.prefixCls,Ce=ue.disabled,Ae=ue.visible,ze=ue.children,Ue=ue.popupElement,Xe=ue.animation,tt=ue.transitionName,St=ue.dropdownStyle,gt=ue.dropdownClassName,Pt=ue.direction,rt=Pt===void 0?"ltr":Pt,ft=ue.placement,Lt=ue.builtinPlacements,yt=ue.dropdownMatchSelectWidth,It=ue.dropdownRender,At=ue.dropdownAlign,_t=ue.getPopupContainer,Zt=ue.empty,on=ue.getTriggerDOMNode,wt=ue.onPopupVisibleChange,Vt=ue.onPopupMouseEnter,Ut=(0,Ne.Z)(ue,Ao),pt="".concat(Se,"-dropdown"),zt=Ue;It&&(zt=It(Ue));var Ht=ie.useMemo(function(){return Lt||Mo(yt)},[Lt,yt]),En=Xe?"".concat(pt,"-").concat(Xe):tt,mn=typeof yt=="number",un=ie.useMemo(function(){return mn?null:yt===!1?"minWidth":"width"},[yt,mn]),fn=St;mn&&(fn=(0,Le.Z)((0,Le.Z)({},fn),{},{width:yt}));var nn=ie.useRef(null);return ie.useImperativeHandle(fe,function(){return{getPopupElement:function(){return nn.current}}}),ie.createElement(Sa.Z,(0,_e.Z)({},Ut,{showAction:wt?["click"]:[],hideAction:wt?["click"]:[],popupPlacement:ft||(rt==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:Ht,prefixCls:pt,popupTransitionName:En,popup:ie.createElement("div",{ref:nn,onMouseEnter:Vt},zt),stretch:un,popupAlign:At,popupVisible:Ae,getPopupContainer:_t,popupClassName:ce()(gt,(0,we.Z)({},"".concat(pt,"-empty"),Zt)),popupStyle:fn,getTriggerDOMNode:on,onPopupVisibleChange:wt}),ze)},To=ie.forwardRef(Io);To.displayName="SelectTrigger";var Go=To,_a=re(84506);function $o(ae,ue){var fe=ae.key,Se;return"value"in ae&&(Se=ae.value),fe!=null?fe:Se!==void 0?Se:"rc-index-key-".concat(ue)}function po(ae,ue){var fe=ae||{},Se=fe.label,Ce=fe.value,Ae=fe.options,ze=fe.groupLabel,Ue=Se||(ue?"children":"label");return{label:Ue,value:Ce||"value",options:Ae||"options",groupLabel:ze||Ue}}function Yo(ae){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fe=ue.fieldNames,Se=ue.childrenAsData,Ce=[],Ae=po(fe,!1),ze=Ae.label,Ue=Ae.value,Xe=Ae.options,tt=Ae.groupLabel;function St(gt,Pt){gt.forEach(function(rt){if(Pt||!(Xe in rt)){var ft=rt[Ue];Ce.push({key:$o(rt,Ce.length),groupOption:Pt,data:rt,label:rt[ze],value:ft})}else{var Lt=rt[tt];Lt===void 0&&Se&&(Lt=rt.label),Ce.push({key:$o(rt,Ce.length),group:!0,data:rt,label:Lt}),St(rt[Xe],!0)}})}return St(ae,!1),Ce}function Ya(ae){var ue=(0,Le.Z)({},ae);return"props"in ue||Object.defineProperty(ue,"props",{get:function(){return Ie(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),ue}}),ue}function Qo(ae,ue){if(!ue||!ue.length)return null;var fe=!1;function Se(Ae,ze){var Ue=(0,_a.Z)(ze),Xe=Ue[0],tt=Ue.slice(1);if(!Xe)return[Ae];var St=Ae.split(Xe);return fe=fe||St.length>1,St.reduce(function(gt,Pt){return[].concat((0,ge.Z)(gt),(0,ge.Z)(Se(Pt,tt)))},[]).filter(function(gt){return gt})}var Ce=Se(ae,ue);return fe?Ce:null}var ot=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],cr=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function bo(ae){return ae==="tags"||ae==="multiple"}var dt=ie.forwardRef(function(ae,ue){var fe,Se,Ce=ae.id,Ae=ae.prefixCls,ze=ae.className,Ue=ae.showSearch,Xe=ae.tagRender,tt=ae.direction,St=ae.omitDomProps,gt=ae.displayValues,Pt=ae.onDisplayValuesChange,rt=ae.emptyOptions,ft=ae.notFoundContent,Lt=ft===void 0?"Not Found":ft,yt=ae.onClear,It=ae.mode,At=ae.disabled,_t=ae.loading,Zt=ae.getInputElement,on=ae.getRawInputElement,wt=ae.open,Vt=ae.defaultOpen,Ut=ae.onDropdownVisibleChange,pt=ae.activeValue,zt=ae.onActiveValueChange,Ht=ae.activeDescendantId,En=ae.searchValue,mn=ae.autoClearSearchValue,un=ae.onSearch,fn=ae.onSearchSplit,nn=ae.tokenSeparators,Yt=ae.allowClear,tn=ae.suffixIcon,ln=ae.clearIcon,Un=ae.OptionList,Cn=ae.animation,Xn=ae.transitionName,ha=ae.dropdownStyle,dn=ae.dropdownClassName,On=ae.dropdownMatchSelectWidth,_n=ae.dropdownRender,rn=ae.dropdownAlign,Kt=ae.placement,qt=ae.builtinPlacements,wn=ae.getPopupContainer,yn=ae.showAction,Bn=yn===void 0?[]:yn,vn=ae.onFocus,cn=ae.onBlur,en=ae.onKeyUp,Pn=ae.onKeyDown,Nn=ae.onMouseDown,xn=(0,Ne.Z)(ae,ot),Wn=bo(It),ga=(Ue!==void 0?Ue:Wn)||It==="combobox",Kn=(0,Le.Z)({},xn);cr.forEach(function(In){delete Kn[In]}),St==null||St.forEach(function(In){delete Kn[In]});var ba=ie.useState(!1),ya=(0,Ee.Z)(ba,2),$a=ya[0],ua=ya[1];ie.useEffect(function(){ua(Ye())},[]);var Vn=ie.useRef(null),Ea=ie.useRef(null),sa=ie.useRef(null),fa=ie.useRef(null),Ca=ie.useRef(null),Aa=nt(),ao=(0,Ee.Z)(Aa,3),oo=ao[0],wo=ao[1],So=ao[2];ie.useImperativeHandle(ue,function(){var In,Dn;return{focus:(In=fa.current)===null||In===void 0?void 0:In.focus,blur:(Dn=fa.current)===null||Dn===void 0?void 0:Dn.blur,scrollTo:function(qa){var wa;return(wa=Ca.current)===null||wa===void 0?void 0:wa.scrollTo(qa)}}});var Qa=ie.useMemo(function(){var In;if(It!=="combobox")return En;var Dn=(In=gt[0])===null||In===void 0?void 0:In.value;return typeof Dn=="string"||typeof Dn=="number"?String(Dn):""},[En,It,gt]),Fo=It==="combobox"&&typeof Zt=="function"&&Zt()||null,Ha=typeof on=="function"&&on(),Bo=et(Ea,Ha==null||(fe=Ha.props)===null||fe===void 0?void 0:fe.ref),Do=ie.useState(!1),Yn=(0,Ee.Z)(Do,2),Rn=Yn[0],ca=Yn[1];E(function(){ca(!0)},[]);var Ra=ee(!1,{defaultValue:Vt,value:wt}),La=(0,Ee.Z)(Ra,2),Ja=La[0],gn=La[1],st=Rn?Ja:!1,xt=!Lt&&rt;(At||xt&&st&&It==="combobox")&&(st=!1);var kt=xt?!1:st,Jt=ie.useCallback(function(In){var Dn=In!==void 0?In:!st;At||(gn(Dn),st!==Dn&&(Ut==null||Ut(Dn)))},[At,st,gn,Ut]),Qn=ie.useMemo(function(){return(nn||[]).some(function(In){return[`
`,`\r
`].includes(In)})},[nn]),ea=function(Dn,Wa,qa){var wa=!0,ro=Dn;zt==null||zt(null);var vo=qa?null:Qo(Dn,nn);return It!=="combobox"&&vo&&(ro="",fn==null||fn(vo),Jt(!1),wa=!1),un&&Qa!==ro&&un(ro,{source:Wa?"typing":"effect"}),wa},ho=function(Dn){!Dn||!Dn.trim()||un(Dn,{source:"submit"})};ie.useEffect(function(){!st&&!Wn&&It!=="combobox"&&ea("",!1,!1)},[st]),ie.useEffect(function(){Ja&&At&&gn(!1),At&&wo(!1)},[At]);var Ka=Nt(),Zo=(0,Ee.Z)(Ka,2),za=Zo[0],Ho=Zo[1],Cr=function(Dn){var Wa=za(),qa=Dn.which;if(qa===be.ENTER&&(It!=="combobox"&&Dn.preventDefault(),st||Jt(!0)),Ho(!!Qa),qa===be.BACKSPACE&&!Wa&&Wn&&!Qa&&gt.length){for(var wa=(0,ge.Z)(gt),ro=null,vo=wa.length-1;vo>=0;vo-=1){var sr=wa[vo];if(!sr.disabled){wa.splice(vo,1),ro=sr;break}}ro&&Pt(wa,{type:"remove",values:[ro]})}for(var Ko=arguments.length,or=new Array(Ko>1?Ko-1:0),Wo=1;Wo<Ko;Wo++)or[Wo-1]=arguments[Wo];if(st&&Ca.current){var ei;(ei=Ca.current).onKeyDown.apply(ei,[Dn].concat(or))}Pn==null||Pn.apply(void 0,[Dn].concat(or))},Mr=function(Dn){for(var Wa=arguments.length,qa=new Array(Wa>1?Wa-1:0),wa=1;wa<Wa;wa++)qa[wa-1]=arguments[wa];if(st&&Ca.current){var ro;(ro=Ca.current).onKeyUp.apply(ro,[Dn].concat(qa))}en==null||en.apply(void 0,[Dn].concat(qa))},Ur=function(Dn){var Wa=gt.filter(function(qa){return qa!==Dn});Pt(Wa,{type:"remove",values:[Dn]})},Xo=ie.useRef(!1),xo=function(){wo(!0),At||(vn&&!Xo.current&&vn.apply(void 0,arguments),Bn.includes("focus")&&Jt(!0)),Xo.current=!0},Hi=function(){wo(!1,function(){Xo.current=!1,Jt(!1)}),!At&&(Qa&&(It==="tags"?un(Qa,{source:"submit"}):It==="multiple"&&un("",{source:"blur"})),cn&&cn.apply(void 0,arguments))},ar=[];ie.useEffect(function(){return function(){ar.forEach(function(In){return clearTimeout(In)}),ar.splice(0,ar.length)}},[]);var Ki=function(Dn){var Wa,qa=Dn.target,wa=(Wa=sa.current)===null||Wa===void 0?void 0:Wa.getPopupElement();if(wa&&wa.contains(qa)){var ro=setTimeout(function(){var or=ar.indexOf(ro);if(or!==-1&&ar.splice(or,1),So(),!$a&&!wa.contains(document.activeElement)){var Wo;(Wo=fa.current)===null||Wo===void 0||Wo.focus()}});ar.push(ro)}for(var vo=arguments.length,sr=new Array(vo>1?vo-1:0),Ko=1;Ko<vo;Ko++)sr[Ko-1]=arguments[Ko];Nn==null||Nn.apply(void 0,[Dn].concat(sr))},Wi=ie.useState({}),ji=(0,Ee.Z)(Wi,2),Vi=ji[1];function Ui(){Vi({})}var Xr;Ha&&(Xr=function(Dn){Jt(Dn)}),Je(function(){var In;return[Vn.current,(In=sa.current)===null||In===void 0?void 0:In.getPopupElement()]},kt,Jt,!!Ha);var Xi=ie.useMemo(function(){return(0,Le.Z)((0,Le.Z)({},ae),{},{notFoundContent:Lt,open:st,triggerOpen:kt,id:Ce,showSearch:ga,multiple:Wn,toggleOpen:Jt})},[ae,Lt,kt,st,Ce,ga,Wn,Jt]),Yr=!!tn||_t,Qr;Yr&&(Qr=ie.createElement(Mt,{className:ce()("".concat(Ae,"-arrow"),(0,we.Z)({},"".concat(Ae,"-arrow-loading"),_t)),customizeIcon:tn,customizeIconProps:{loading:_t,searchValue:Qa,open:st,focused:oo,showSearch:ga}}));var Yi=function(){var Dn;yt==null||yt(),(Dn=fa.current)===null||Dn===void 0||Dn.focus(),Pt([],{type:"clear",values:gt}),ea("",!1,!1)},Jr=hn(Ae,Yi,gt,Yt,ln,At,Qa,It),Qi=Jr.allowClear,Ji=Jr.clearIcon,qi=ie.createElement(Un,{ref:Ca}),eg=ce()(Ae,ze,(Se={},(0,we.Z)(Se,"".concat(Ae,"-focused"),oo),(0,we.Z)(Se,"".concat(Ae,"-multiple"),Wn),(0,we.Z)(Se,"".concat(Ae,"-single"),!Wn),(0,we.Z)(Se,"".concat(Ae,"-allow-clear"),Yt),(0,we.Z)(Se,"".concat(Ae,"-show-arrow"),Yr),(0,we.Z)(Se,"".concat(Ae,"-disabled"),At),(0,we.Z)(Se,"".concat(Ae,"-loading"),_t),(0,we.Z)(Se,"".concat(Ae,"-open"),st),(0,we.Z)(Se,"".concat(Ae,"-customize-input"),Fo),(0,we.Z)(Se,"".concat(Ae,"-show-search"),ga),Se)),qr=ie.createElement(Go,{ref:sa,disabled:At,prefixCls:Ae,visible:kt,popupElement:qi,animation:Cn,transitionName:Xn,dropdownStyle:ha,dropdownClassName:dn,direction:tt,dropdownMatchSelectWidth:On,dropdownRender:_n,dropdownAlign:rn,placement:Kt,builtinPlacements:qt,getPopupContainer:wn,empty:rt,getTriggerDOMNode:function(){return Ea.current},onPopupVisibleChange:Xr,onPopupMouseEnter:Ui},Ha?ie.cloneElement(Ha,{ref:Bo}):ie.createElement(Ba,(0,_e.Z)({},ae,{domRef:Ea,prefixCls:Ae,inputElement:Fo,ref:fa,id:Ce,showSearch:ga,autoClearSearchValue:mn,mode:It,activeDescendantId:Ht,tagRender:Xe,values:gt,open:st,onToggleOpen:Jt,activeValue:pt,searchValue:Qa,onSearch:ea,onSearchSubmit:ho,onRemove:Ur,tokenWithEnter:Qn}))),Ir;return Ha?Ir=qr:Ir=ie.createElement("div",(0,_e.Z)({className:eg},Kn,{ref:Vn,onMouseDown:Ki,onKeyDown:Cr,onKeyUp:Mr,onFocus:xo,onBlur:Hi}),oo&&!st&&ie.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(gt.map(function(In){var Dn=In.label,Wa=In.value;return["number","string"].includes((0,De.Z)(Dn))?Dn:Wa}).join(", "))),qr,Qr,Qi&&Ji),ie.createElement($e.Provider,{value:Xi},Ir)}),Rt=dt,bn=function(ae,ue){var fe=ie.useRef({values:new Map,options:new Map}),Se=ie.useMemo(function(){var Ae=fe.current,ze=Ae.values,Ue=Ae.options,Xe=ae.map(function(gt){if(gt.label===void 0){var Pt;return(0,Le.Z)((0,Le.Z)({},gt),{},{label:(Pt=ze.get(gt.value))===null||Pt===void 0?void 0:Pt.label})}return gt}),tt=new Map,St=new Map;return Xe.forEach(function(gt){tt.set(gt.value,gt),St.set(gt.value,ue.get(gt.value)||Ue.get(gt.value))}),fe.current.values=tt,fe.current.options=St,Xe},[ae,ue]),Ce=ie.useCallback(function(Ae){return ue.get(Ae)||fe.current.options.get(Ae)},[ue]);return[Se,Ce]};function Xt(ae,ue){return Po(ae).join("").toUpperCase().includes(ue)}var Da=function(ae,ue,fe,Se,Ce){return ie.useMemo(function(){if(!fe||Se===!1)return ae;var Ae=ue.options,ze=ue.label,Ue=ue.value,Xe=[],tt=typeof Se=="function",St=fe.toUpperCase(),gt=tt?Se:function(rt,ft){return Ce?Xt(ft[Ce],St):ft[Ae]?Xt(ft[ze!=="children"?ze:"label"],St):Xt(ft[Ue],St)},Pt=tt?function(rt){return Ya(rt)}:function(rt){return rt};return ae.forEach(function(rt){if(rt[Ae]){var ft=gt(fe,Pt(rt));if(ft)Xe.push(rt);else{var Lt=rt[Ae].filter(function(yt){return gt(fe,Pt(yt))});Lt.length&&Xe.push((0,Le.Z)((0,Le.Z)({},rt),{},(0,we.Z)({},Ae,Lt)))}return}gt(fe,Pt(rt))&&Xe.push(rt)}),Xe},[ae,Se,Ce,fe,ue])},Mn=0,da=a();function xa(){var ae;return da?(ae=Mn,Mn+=1):ae="TEST_OR_SSR",ae}function Ua(ae){var ue=ie.useState(),fe=(0,Ee.Z)(ue,2),Se=fe[0],Ce=fe[1];return ie.useEffect(function(){Ce("rc_select_".concat(xa()))},[]),ae||Se}function Ro(ae){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},fe=[];return ie.Children.forEach(ae,function(Se){Se==null&&!ue.keepEmpty||(Array.isArray(Se)?fe=fe.concat(Ro(Se)):(0,me.isFragment)(Se)&&Se.props?fe=fe.concat(Ro(Se.props.children,ue)):fe.push(Se))}),fe}var Vo=["children","value"],Tr=["children"];function rr(ae){var ue=ae,fe=ue.key,Se=ue.props,Ce=Se.children,Ae=Se.value,ze=(0,Ne.Z)(Se,Vo);return(0,Le.Z)({key:fe,value:Ae!==void 0?Ae:fe,children:Ce},ze)}function mr(ae){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return Ro(ae).map(function(fe,Se){if(!ie.isValidElement(fe)||!fe.type)return null;var Ce=fe,Ae=Ce.type.isSelectOptGroup,ze=Ce.key,Ue=Ce.props,Xe=Ue.children,tt=(0,Ne.Z)(Ue,Tr);return ue||!Ae?rr(fe):(0,Le.Z)((0,Le.Z)({key:"__RC_SELECT_GRP__".concat(ze===null?Se:ze,"__"),label:ze},tt),{},{options:mr(Xe)})}).filter(function(fe){return fe})}function Lr(ae,ue,fe,Se,Ce){return ie.useMemo(function(){var Ae=ae,ze=!ae;ze&&(Ae=mr(ue));var Ue=new Map,Xe=new Map,tt=function(Pt,rt,ft){ft&&typeof ft=="string"&&Pt.set(rt[ft],rt)};function St(gt){for(var Pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,rt=0;rt<gt.length;rt+=1){var ft=gt[rt];!ft[fe.options]||Pt?(Ue.set(ft[fe.value],ft),tt(Xe,ft,fe.label),tt(Xe,ft,Se),tt(Xe,ft,Ce)):St(ft[fe.options],!0)}}return St(Ae),{options:Ae,valueOptions:Ue,labelOptions:Xe}},[ae,ue,fe,Se,Ce])}function ir(ae){var ue=ie.useRef();ue.current=ae;var fe=ie.useCallback(function(){return ue.current.apply(ue,arguments)},[]);return fe}var gr=function(){return null};gr.isSelectOptGroup=!0;var fr=gr,ur=function(){return null};ur.isSelectOption=!0;var Sr=ur;function Eo(ae,ue){var fe=(0,Le.Z)({},ae);return Array.isArray(ue)&&ue.forEach(function(Se){delete fe[Se]}),fe}var Jo=re(73299),qo=ie.createContext(null),Uo=qo;function wr(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var hr=["disabled","title","children","style","className"];function vr(ae){return typeof ae=="string"||typeof ae=="number"}var Pr=function(ue,fe){var Se=Ke(),Ce=Se.prefixCls,Ae=Se.id,ze=Se.open,Ue=Se.multiple,Xe=Se.mode,tt=Se.searchValue,St=Se.toggleOpen,gt=Se.notFoundContent,Pt=Se.onPopupScroll,rt=ie.useContext(Uo),ft=rt.flattenOptions,Lt=rt.onActiveValue,yt=rt.defaultActiveFirstOption,It=rt.onSelect,At=rt.menuItemSelectedIcon,_t=rt.rawValues,Zt=rt.fieldNames,on=rt.virtual,wt=rt.direction,Vt=rt.listHeight,Ut=rt.listItemHeight,pt="".concat(Ce,"-item"),zt=Ge(function(){return ft},[ze,ft],function(rn,Kt){return Kt[0]&&rn[1]!==Kt[1]}),Ht=ie.useRef(null),En=function(Kt){Kt.preventDefault()},mn=function(Kt){Ht.current&&Ht.current.scrollTo(typeof Kt=="number"?{index:Kt}:Kt)},un=function(Kt){for(var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,wn=zt.length,yn=0;yn<wn;yn+=1){var Bn=(Kt+yn*qt+wn)%wn,vn=zt[Bn],cn=vn.group,en=vn.data;if(!cn&&!en.disabled)return Bn}return-1},fn=ie.useState(function(){return un(0)}),nn=(0,Ee.Z)(fn,2),Yt=nn[0],tn=nn[1],ln=function(Kt){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;tn(Kt);var wn={source:qt?"keyboard":"mouse"},yn=zt[Kt];if(!yn){Lt(null,-1,wn);return}Lt(yn.value,Kt,wn)};(0,ie.useEffect)(function(){ln(yt!==!1?un(0):-1)},[zt.length,tt]);var Un=ie.useCallback(function(rn){return _t.has(rn)&&Xe!=="combobox"},[Xe,(0,ge.Z)(_t).toString(),_t.size]);(0,ie.useEffect)(function(){var rn=setTimeout(function(){if(!Ue&&ze&&_t.size===1){var qt=Array.from(_t)[0],wn=zt.findIndex(function(yn){var Bn=yn.data;return Bn.value===qt});wn!==-1&&(ln(wn),mn(wn))}});if(ze){var Kt;(Kt=Ht.current)===null||Kt===void 0||Kt.scrollTo(void 0)}return function(){return clearTimeout(rn)}},[ze,tt,ft.length]);var Cn=function(Kt){Kt!==void 0&&It(Kt,{selected:!_t.has(Kt)}),Ue||St(!1)};if(ie.useImperativeHandle(fe,function(){return{onKeyDown:function(Kt){var qt=Kt.which,wn=Kt.ctrlKey;switch(qt){case be.N:case be.P:case be.UP:case be.DOWN:{var yn=0;if(qt===be.UP?yn=-1:qt===be.DOWN?yn=1:wr()&&wn&&(qt===be.N?yn=1:qt===be.P&&(yn=-1)),yn!==0){var Bn=un(Yt+yn,yn);mn(Bn),ln(Bn,!0)}break}case be.ENTER:{var vn=zt[Yt];vn&&!vn.data.disabled?Cn(vn.value):Cn(void 0),ze&&Kt.preventDefault();break}case be.ESC:St(!1),ze&&Kt.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Kt){mn(Kt)}}}),zt.length===0)return ie.createElement("div",{role:"listbox",id:"".concat(Ae,"_list"),className:"".concat(pt,"-empty"),onMouseDown:En},gt);var Xn=Object.keys(Zt).map(function(rn){return Zt[rn]}),ha=function(Kt){return Kt.label};function dn(rn,Kt){var qt=rn.group;return{role:qt?"presentation":"option",id:"".concat(Ae,"_list_").concat(Kt)}}var On=function(Kt){var qt=zt[Kt];if(!qt)return null;var wn=qt.data||{},yn=wn.value,Bn=qt.group,vn=We(wn,!0),cn=ha(qt);return qt?ie.createElement("div",(0,_e.Z)({"aria-label":typeof cn=="string"&&!Bn?cn:null},vn,{key:Kt},dn(qt,Kt),{"aria-selected":Un(yn)}),yn):null},_n={role:"listbox",id:"".concat(Ae,"_list")};return ie.createElement(ie.Fragment,null,on&&ie.createElement("div",(0,_e.Z)({},_n,{style:{height:0,width:0,overflow:"hidden"}}),On(Yt-1),On(Yt),On(Yt+1)),ie.createElement(Jo.Z,{itemKey:"key",ref:Ht,data:zt,height:Vt,itemHeight:Ut,fullHeight:!1,onMouseDown:En,onScroll:Pt,virtual:on,direction:wt,innerProps:on?null:_n},function(rn,Kt){var qt,wn=rn.group,yn=rn.groupOption,Bn=rn.data,vn=rn.label,cn=rn.value,en=Bn.key;if(wn){var Pn,Nn=(Pn=Bn.title)!==null&&Pn!==void 0?Pn:vr(vn)?vn.toString():void 0;return ie.createElement("div",{className:ce()(pt,"".concat(pt,"-group")),title:Nn},vn!==void 0?vn:en)}var xn=Bn.disabled,Wn=Bn.title,ga=Bn.children,Kn=Bn.style,ba=Bn.className,ya=(0,Ne.Z)(Bn,hr),$a=Eo(ya,Xn),ua=Un(cn),Vn="".concat(pt,"-option"),Ea=ce()(pt,Vn,ba,(qt={},(0,we.Z)(qt,"".concat(Vn,"-grouped"),yn),(0,we.Z)(qt,"".concat(Vn,"-active"),Yt===Kt&&!xn),(0,we.Z)(qt,"".concat(Vn,"-disabled"),xn),(0,we.Z)(qt,"".concat(Vn,"-selected"),ua),qt)),sa=ha(rn),fa=!At||typeof At=="function"||ua,Ca=typeof sa=="number"?sa:sa||cn,Aa=vr(Ca)?Ca.toString():void 0;return Wn!==void 0&&(Aa=Wn),ie.createElement("div",(0,_e.Z)({},We($a),on?{}:dn(rn,Kt),{"aria-selected":ua,className:Ea,title:Aa,onMouseMove:function(){Yt===Kt||xn||ln(Kt)},onClick:function(){xn||Cn(cn)},style:Kn}),ie.createElement("div",{className:"".concat(Vn,"-content")},Ca),ie.isValidElement(At)||ua,fa&&ie.createElement(Mt,{className:"".concat(pt,"-option-state"),customizeIcon:At,customizeIconProps:{isSelected:ua}},ua?"\u2713":null))}))},lo=ie.forwardRef(Pr);lo.displayName="OptionList";var Fr=lo;function Co(ae){var ue=ae.mode,fe=ae.options,Se=ae.children,Ce=ae.backfill,Ae=ae.allowClear,ze=ae.placeholder,Ue=ae.getInputElement,Xe=ae.showSearch,tt=ae.onSearch,St=ae.defaultOpen,gt=ae.autoFocus,Pt=ae.labelInValue,rt=ae.value,ft=ae.inputValue,Lt=ae.optionLabelProp,yt=isMultiple(ue),It=Xe!==void 0?Xe:yt||ue==="combobox",At=fe||convertChildrenToData(Se);if(warning(ue!=="tags"||At.every(function(wt){return!wt.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),ue==="tags"||ue==="combobox"){var _t=At.some(function(wt){return wt.options?wt.options.some(function(Vt){return typeof("value"in Vt?Vt.value:Vt.key)=="number"}):typeof("value"in wt?wt.value:wt.key)=="number"});warning(!_t,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(ue!=="combobox"||!Lt,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(ue==="combobox"||!Ce,"`backfill` only works with `combobox` mode."),warning(ue==="combobox"||!Ue,"`getInputElement` only work with `combobox` mode."),noteOnce(ue!=="combobox"||!Ue||!Ae||!ze,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),tt&&!It&&ue!=="combobox"&&ue!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!St||gt,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),rt!=null){var Zt=toArray(rt);warning(!Pt||Zt.every(function(wt){return _typeof(wt)==="object"&&("key"in wt||"value"in wt)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!yt||Array.isArray(rt),"`value` should be array when `mode` is `multiple` or `tags`")}if(Se){var on=null;toNodeArray(Se).some(function(wt){if(!React.isValidElement(wt)||!wt.type)return!1;var Vt=wt,Ut=Vt.type;if(Ut.isSelectOption)return!1;if(Ut.isSelectOptGroup){var pt=toNodeArray(wt.props.children).every(function(zt){return!React.isValidElement(zt)||!wt.type||zt.type.isSelectOption?!0:(on=zt.type,!1)});return!pt}return on=Ut,!0}),on&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(on.displayName||on.name||on,"`.")),warning(ft===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function Gr(ae,ue){if(ae){var fe=function Se(Ce){for(var Ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ze=0;ze<Ce.length;ze++){var Ue=Ce[ze];if(Ue[ue==null?void 0:ue.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!Ae&&Array.isArray(Ue[ue==null?void 0:ue.options])&&Se(Ue[ue==null?void 0:ue.options],!0))break}};fe(ae)}}var $r=null,Br=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Rr=["inputValue"];function Dr(ae){return!ae||(0,De.Z)(ae)!=="object"}var zr=ie.forwardRef(function(ae,ue){var fe=ae.id,Se=ae.mode,Ce=ae.prefixCls,Ae=Ce===void 0?"rc-select":Ce,ze=ae.backfill,Ue=ae.fieldNames,Xe=ae.inputValue,tt=ae.searchValue,St=ae.onSearch,gt=ae.autoClearSearchValue,Pt=gt===void 0?!0:gt,rt=ae.onSelect,ft=ae.onDeselect,Lt=ae.dropdownMatchSelectWidth,yt=Lt===void 0?!0:Lt,It=ae.filterOption,At=ae.filterSort,_t=ae.optionFilterProp,Zt=ae.optionLabelProp,on=ae.options,wt=ae.children,Vt=ae.defaultActiveFirstOption,Ut=ae.menuItemSelectedIcon,pt=ae.virtual,zt=ae.direction,Ht=ae.listHeight,En=Ht===void 0?200:Ht,mn=ae.listItemHeight,un=mn===void 0?20:mn,fn=ae.value,nn=ae.defaultValue,Yt=ae.labelInValue,tn=ae.onChange,ln=(0,Ne.Z)(ae,Br),Un=Ua(fe),Cn=bo(Se),Xn=!!(!on&&wt),ha=ie.useMemo(function(){return It===void 0&&Se==="combobox"?!1:It},[It,Se]),dn=ie.useMemo(function(){return po(Ue,Xn)},[JSON.stringify(Ue),Xn]),On=ee("",{value:tt!==void 0?tt:Xe,postState:function(xt){return xt||""}}),_n=(0,Ee.Z)(On,2),rn=_n[0],Kt=_n[1],qt=Lr(on,wt,dn,_t,Zt),wn=qt.valueOptions,yn=qt.labelOptions,Bn=qt.options,vn=ie.useCallback(function(st){var xt=Po(st);return xt.map(function(kt){var Jt,Qn,ea,ho,Ka;if(Dr(kt))Jt=kt;else{var Zo;ea=kt.key,Qn=kt.label,Jt=(Zo=kt.value)!==null&&Zo!==void 0?Zo:ea}var za=wn.get(Jt);if(za){var Ho;if(Qn===void 0&&(Qn=za==null?void 0:za[Zt||dn.label]),ea===void 0&&(ea=(Ho=za==null?void 0:za.key)!==null&&Ho!==void 0?Ho:Jt),ho=za==null?void 0:za.disabled,Ka=za==null?void 0:za.title,0)var Cr}return{label:Qn,value:Jt,key:ea,disabled:ho,title:Ka}})},[dn,Zt,wn]),cn=ee(nn,{value:fn}),en=(0,Ee.Z)(cn,2),Pn=en[0],Nn=en[1],xn=ie.useMemo(function(){var st,xt=vn(Pn);return Se==="combobox"&&Fe((st=xt[0])===null||st===void 0?void 0:st.value)?[]:xt},[Pn,vn,Se]),Wn=bn(xn,wn),ga=(0,Ee.Z)(Wn,2),Kn=ga[0],ba=ga[1],ya=ie.useMemo(function(){if(!Se&&Kn.length===1){var st=Kn[0];if(st.value===null&&(st.label===null||st.label===void 0))return[]}return Kn.map(function(xt){var kt;return(0,Le.Z)((0,Le.Z)({},xt),{},{label:(kt=xt.label)!==null&&kt!==void 0?kt:xt.value})})},[Se,Kn]),$a=ie.useMemo(function(){return new Set(Kn.map(function(st){return st.value}))},[Kn]);ie.useEffect(function(){if(Se==="combobox"){var st,xt=(st=Kn[0])===null||st===void 0?void 0:st.value;Kt(Me(xt)?String(xt):"")}},[Kn]);var ua=ir(function(st,xt){var kt,Jt=xt!=null?xt:st;return kt={},(0,we.Z)(kt,dn.value,st),(0,we.Z)(kt,dn.label,Jt),kt}),Vn=ie.useMemo(function(){if(Se!=="tags")return Bn;var st=(0,ge.Z)(Bn),xt=function(Jt){return wn.has(Jt)};return(0,ge.Z)(Kn).sort(function(kt,Jt){return kt.value<Jt.value?-1:1}).forEach(function(kt){var Jt=kt.value;xt(Jt)||st.push(ua(Jt,kt.label))}),st},[ua,Bn,wn,Kn,Se]),Ea=Da(Vn,dn,rn,ha,_t),sa=ie.useMemo(function(){return Se!=="tags"||!rn||Ea.some(function(st){return st[_t||"value"]===rn})||Ea.some(function(st){return st[dn.value]===rn})?Ea:[ua(rn)].concat((0,ge.Z)(Ea))},[ua,_t,Se,Ea,rn,dn]),fa=ie.useMemo(function(){return At?(0,ge.Z)(sa).sort(function(st,xt){return At(st,xt)}):sa},[sa,At]),Ca=ie.useMemo(function(){return Yo(fa,{fieldNames:dn,childrenAsData:Xn})},[fa,dn,Xn]),Aa=function(xt){var kt=vn(xt);if(Nn(kt),tn&&(kt.length!==Kn.length||kt.some(function(ea,ho){var Ka;return((Ka=Kn[ho])===null||Ka===void 0?void 0:Ka.value)!==(ea==null?void 0:ea.value)}))){var Jt=Yt?kt:kt.map(function(ea){return ea.value}),Qn=kt.map(function(ea){return Ya(ba(ea.value))});tn(Cn?Jt:Jt[0],Cn?Qn:Qn[0])}},ao=ie.useState(null),oo=(0,Ee.Z)(ao,2),wo=oo[0],So=oo[1],Qa=ie.useState(0),Fo=(0,Ee.Z)(Qa,2),Ha=Fo[0],Bo=Fo[1],Do=Vt!==void 0?Vt:Se!=="combobox",Yn=ie.useCallback(function(st,xt){var kt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},Jt=kt.source,Qn=Jt===void 0?"keyboard":Jt;Bo(xt),ze&&Se==="combobox"&&st!==null&&Qn==="keyboard"&&So(String(st))},[ze,Se]),Rn=function(xt,kt,Jt){var Qn=function(){var Xo,xo=ba(xt);return[Yt?{label:xo==null?void 0:xo[dn.label],value:xt,key:(Xo=xo==null?void 0:xo.key)!==null&&Xo!==void 0?Xo:xt}:xt,Ya(xo)]};if(kt&&rt){var ea=Qn(),ho=(0,Ee.Z)(ea,2),Ka=ho[0],Zo=ho[1];rt(Ka,Zo)}else if(!kt&&ft&&Jt!=="clear"){var za=Qn(),Ho=(0,Ee.Z)(za,2),Cr=Ho[0],Mr=Ho[1];ft(Cr,Mr)}},ca=ir(function(st,xt){var kt,Jt=Cn?xt.selected:!0;Jt?kt=Cn?[].concat((0,ge.Z)(Kn),[st]):[st]:kt=Kn.filter(function(Qn){return Qn.value!==st}),Aa(kt),Rn(st,Jt),Se==="combobox"?So(""):(!bo||Pt)&&(Kt(""),So(""))}),Ra=function(xt,kt){Aa(xt);var Jt=kt.type,Qn=kt.values;(Jt==="remove"||Jt==="clear")&&Qn.forEach(function(ea){Rn(ea.value,!1,Jt)})},La=function(xt,kt){if(Kt(xt),So(null),kt.source==="submit"){var Jt=(xt||"").trim();if(Jt){var Qn=Array.from(new Set([].concat((0,ge.Z)($a),[Jt])));Aa(Qn),Rn(Jt,!0),Kt("")}return}kt.source!=="blur"&&(Se==="combobox"&&Aa(xt),St==null||St(xt))},Ja=function(xt){var kt=xt;Se!=="tags"&&(kt=xt.map(function(Qn){var ea=yn.get(Qn);return ea==null?void 0:ea.value}).filter(function(Qn){return Qn!==void 0}));var Jt=Array.from(new Set([].concat((0,ge.Z)($a),(0,ge.Z)(kt))));Aa(Jt),Jt.forEach(function(Qn){Rn(Qn,!0)})},gn=ie.useMemo(function(){var st=pt!==!1&&yt!==!1;return(0,Le.Z)((0,Le.Z)({},qt),{},{flattenOptions:Ca,onActiveValue:Yn,defaultActiveFirstOption:Do,onSelect:ca,menuItemSelectedIcon:Ut,rawValues:$a,fieldNames:dn,virtual:st,direction:zt,listHeight:En,listItemHeight:un,childrenAsData:Xn})},[qt,Ca,Yn,Do,ca,Ut,$a,dn,pt,yt,En,un,Xn]);return ie.createElement(Uo.Provider,{value:gn},ie.createElement(Rt,(0,_e.Z)({},ln,{id:Un,prefixCls:Ae,ref:ue,omitDomProps:Rr,mode:Se,displayValues:ya,onDisplayValuesChange:Ra,direction:zt,searchValue:rn,onSearch:La,autoClearSearchValue:Pt,onSearchSplit:Ja,dropdownMatchSelectWidth:yt,OptionList:Fr,emptyOptions:!Ca.length,activeValue:wo,activeDescendantId:"".concat(Un,"_list_").concat(Ha)})))}),xr=zr;xr.Option=Sr,xr.OptGroup=fr;var kr=null,_r=null,Ot=re(17341);function ht(ae){var ue=ie.useRef(!1),fe=ie.useState(ae),Se=(0,Ee.Z)(fe,2),Ce=Se[0],Ae=Se[1];ie.useEffect(function(){return ue.current=!1,function(){ue.current=!0}},[]);function ze(Ue,Xe){Xe&&ue.current||Ae(Ue)}return[Ce,ze]}function bt(ae){return ae!==void 0}function Dt(ae,ue){var fe=ue||{},Se=fe.defaultValue,Ce=fe.value,Ae=fe.onChange,ze=fe.postState,Ue=ht(function(){return bt(Ce)?Ce:bt(Se)?typeof Se=="function"?Se():Se:typeof ae=="function"?ae():ae}),Xe=(0,Ee.Z)(Ue,2),tt=Xe[0],St=Xe[1],gt=Ce!==void 0?Ce:tt,Pt=ze?ze(gt):gt,rt=Fn(Ae),ft=ht([gt]),Lt=(0,Ee.Z)(ft,2),yt=Lt[0],It=Lt[1];Qe(function(){var _t=yt[0];tt!==_t&&rt(tt,_t)},[yt]),Qe(function(){bt(Ce)||St(Ce)},[Ce]);var At=Fn(function(_t,Zt){St(_t,Zt),It([gt],Zt)});return[Pt,At]}var kn=ie.createContext(null),oa=kn,ra="__rc_cascader_search_mark__",Na=function(ue,fe,Se){var Ce=Se.label;return fe.some(function(Ae){return String(Ae[Ce]).toLowerCase().includes(ue.toLowerCase())})},Oa=function(ue,fe,Se,Ce){return fe.map(function(Ae){return Ae[Ce.label]}).join(" / ")},yo=function(ae,ue,fe,Se,Ce,Ae){var ze=Ce.filter,Ue=ze===void 0?Na:ze,Xe=Ce.render,tt=Xe===void 0?Oa:Xe,St=Ce.limit,gt=St===void 0?50:St,Pt=Ce.sort;return ie.useMemo(function(){var rt=[];if(!ae)return[];function ft(Lt,yt){var It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Lt.forEach(function(At){if(!(!Pt&&gt!==!1&&gt>0&&rt.length>=gt)){var _t=[].concat((0,ge.Z)(yt),[At]),Zt=At[fe.children],on=It||At.disabled;if((!Zt||Zt.length===0||Ae)&&Ue(ae,_t,{label:fe.label})){var wt;rt.push((0,Le.Z)((0,Le.Z)({},At),{},(wt={disabled:on},(0,we.Z)(wt,fe.label,tt(ae,_t,Se,fe)),(0,we.Z)(wt,ra,_t),(0,we.Z)(wt,fe.children,void 0),wt)))}Zt&&ft(At[fe.children],_t,on)}})}return ft(ue,[]),Pt&&rt.sort(function(Lt,yt){return Pt(Lt[ra],yt[ra],ae,fe)}),gt!==!1&&gt>0?rt.slice(0,gt):rt},[ae,ue,fe,Se,tt,Ae,Ue,Pt,gt])},ia="__RC_CASCADER_SPLIT__",er="SHOW_PARENT",Ga="SHOW_CHILD";function Za(ae){return ae.join(ia)}function fo(ae){return ae.map(Za)}function tr(ae){return ae.split(ia)}function zo(ae){var ue=ae||{},fe=ue.label,Se=ue.value,Ce=ue.children,Ae=Se||"value";return{label:fe||"label",value:Ae,key:Ae,children:Ce||"children"}}function ko(ae,ue){var fe,Se;return(fe=ae.isLeaf)!==null&&fe!==void 0?fe:!((Se=ae[ue.children])!==null&&Se!==void 0&&Se.length)}function pa(ae){var ue=ae.parentElement;if(ue){var fe=ae.offsetTop-ue.offsetTop;fe-ue.scrollTop<0?ue.scrollTo({top:fe}):fe+ae.offsetHeight-ue.scrollTop>ue.offsetHeight&&ue.scrollTo({top:fe+ae.offsetHeight-ue.offsetHeight})}}function pr(ae,ue){return ae.map(function(fe){var Se;return(Se=fe[ra])===null||Se===void 0?void 0:Se.map(function(Ce){return Ce[ue.value]})})}function br(ae,ue,fe){var Se=new Set(ae),Ce=ue();return ae.filter(function(Ae){var ze=Ce[Ae],Ue=ze?ze.parent:null,Xe=ze?ze.children:null;return ze&&ze.node.disabled?!0:fe===Ga?!(Xe&&Xe.some(function(tt){return tt.key&&Se.has(tt.key)})):!(Ue&&!Ue.node.disabled&&Se.has(Ue.key))})}function _o(ae,ue,fe){for(var Se=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Ce=ue,Ae=[],ze=function(){var tt,St,gt,Pt=ae[Ue],rt=(tt=Ce)===null||tt===void 0?void 0:tt.findIndex(function(Lt){var yt=Lt[fe.value];return Se?String(yt)===String(Pt):yt===Pt}),ft=rt!==-1?(St=Ce)===null||St===void 0?void 0:St[rt]:null;Ae.push({value:(gt=ft==null?void 0:ft[fe.value])!==null&&gt!==void 0?gt:Pt,index:rt,option:ft}),Ce=ft==null?void 0:ft[fe.children]},Ue=0;Ue<ae.length;Ue+=1)ze();return Ae}var Nr=function(ae,ue,fe,Se,Ce){return ie.useMemo(function(){var Ae=Ce||function(ze){var Ue=Se?ze.slice(-1):ze,Xe=" / ";return Ue.every(function(tt){return["string","number"].includes((0,De.Z)(tt))})?Ue.join(Xe):Ue.reduce(function(tt,St,gt){var Pt=ie.isValidElement(St)?ie.cloneElement(St,{key:gt}):St;return gt===0?[Pt]:[].concat((0,ge.Z)(tt),[Xe,Pt])},[])};return ae.map(function(ze){var Ue,Xe,tt=_o(ze,ue,fe),St=Ae(tt.map(function(Pt){var rt,ft=Pt.option,Lt=Pt.value;return(rt=ft==null?void 0:ft[fe.label])!==null&&rt!==void 0?rt:Lt}),tt.map(function(Pt){var rt=Pt.option;return rt})),gt=Za(ze);return{label:St,value:gt,key:gt,valueCells:ze,disabled:(Ue=tt[tt.length-1])===null||Ue===void 0||(Xe=Ue.option)===null||Xe===void 0?void 0:Xe.disabled}})},[ae,ue,fe,Ce,Se])},lr=re(1089),so=function(ae,ue){var fe=ie.useRef({options:null,info:null}),Se=ie.useCallback(function(){return fe.current.options!==ae&&(fe.current.options=ae,fe.current.info=(0,lr.I8)(ae,{fieldNames:ue,initWrapper:function(Ae){return(0,Le.Z)((0,Le.Z)({},Ae),{},{pathKeyEntities:{}})},processEntity:function(Ae,ze){var Ue=Ae.nodes.map(function(Xe){return Xe[ue.value]}).join(ia);ze.pathKeyEntities[Ue]=Ae,Ae.key=Ue}})),fe.current.info.pathKeyEntities},[ue,ae]);return Se},yr=function(ae,ue){return ie.useCallback(function(fe){var Se=[],Ce=[];return fe.forEach(function(Ae){var ze=_o(Ae,ae,ue);ze.every(function(Ue){return Ue.option})?Ce.push(Ae):Se.push(Ae)}),[Ce,Se]},[ae,ue])},nr={},Er=[],ti=function(ue){Er.push(ue)};function ni(ae,ue){if(0)var fe}function ai(ae,ue){if(0)var fe}function oi(){nr={}}function Zr(ae,ue,fe){!ue&&!nr[fe]&&(ae(!1,fe),nr[fe]=!0)}function Or(ae,ue){Zr(ni,ae,ue)}function ri(ae,ue){Zr(ai,ae,ue)}Or.preMessage=ti,Or.resetWarned=oi,Or.noteOnce=ri;var tg=null;function ii(ae){return ie.useMemo(function(){if(!ae)return[!1,{}];var ue={matchInputWidth:!0,limit:50};return ae&&(0,De.Z)(ae)==="object"&&(ue=(0,Le.Z)((0,Le.Z)({},ue),ae)),ue.limit<=0&&delete ue.limit,[!0,ue]},[ae])}var gi=ie.memo(function(ae){var ue=ae.children;return ue},function(ae,ue){return!ue.open}),ui=gi;function li(ae){var ue,fe=ae.prefixCls,Se=ae.checked,Ce=ae.halfChecked,Ae=ae.disabled,ze=ae.onClick,Ue=ae.disableCheckbox,Xe=ie.useContext(oa),tt=Xe.checkable,St=typeof tt!="boolean"?tt:null;return ie.createElement("span",{className:ce()("".concat(fe),(ue={},(0,we.Z)(ue,"".concat(fe,"-checked"),Se),(0,we.Z)(ue,"".concat(fe,"-indeterminate"),!Se&&Ce),(0,we.Z)(ue,"".concat(fe,"-disabled"),Ae||Ue),ue)),onClick:ze},St)}var Hr="__cascader_fix_label__";function di(ae){var ue=ae.prefixCls,fe=ae.multiple,Se=ae.options,Ce=ae.activeValue,Ae=ae.prevValuePath,ze=ae.onToggleOpen,Ue=ae.onSelect,Xe=ae.onActive,tt=ae.checkedSet,St=ae.halfCheckedSet,gt=ae.loadingKeys,Pt=ae.isSelectable,rt=ae.searchValue,ft="".concat(ue,"-menu"),Lt="".concat(ue,"-menu-item"),yt=ie.useContext(oa),It=yt.fieldNames,At=yt.changeOnSelect,_t=yt.expandTrigger,Zt=yt.expandIcon,on=yt.loadingIcon,wt=yt.dropdownMenuColumnStyle,Vt=_t==="hover",Ut=ie.useMemo(function(){return Se.map(function(pt){var zt,Ht=pt.disabled,En=pt.disableCheckbox,mn=pt[ra],un=(zt=pt[Hr])!==null&&zt!==void 0?zt:pt[It.label],fn=pt[It.value],nn=ko(pt,It),Yt=mn?mn.map(function(Xn){return Xn[It.value]}):[].concat((0,ge.Z)(Ae),[fn]),tn=Za(Yt),ln=gt.includes(tn),Un=tt.has(tn),Cn=St.has(tn);return{disabled:Ht,label:un,value:fn,isLeaf:nn,isLoading:ln,checked:Un,halfChecked:Cn,option:pt,disableCheckbox:En,fullPath:Yt,fullPathKey:tn}})},[Se,tt,It,St,gt,Ae]);return ie.createElement("ul",{className:ft,role:"menu"},Ut.map(function(pt){var zt,Ht=pt.disabled,En=pt.label,mn=pt.value,un=pt.isLeaf,fn=pt.isLoading,nn=pt.checked,Yt=pt.halfChecked,tn=pt.option,ln=pt.fullPath,Un=pt.fullPathKey,Cn=pt.disableCheckbox,Xn=function(){if(!(Ht||rt)){var _n=(0,ge.Z)(ln);Vt&&un&&_n.pop(),Xe(_n)}},ha=function(){Pt(tn)&&Ue(ln,un)},dn;return typeof tn.title=="string"?dn=tn.title:typeof En=="string"&&(dn=En),ie.createElement("li",{key:Un,className:ce()(Lt,(zt={},(0,we.Z)(zt,"".concat(Lt,"-expand"),!un),(0,we.Z)(zt,"".concat(Lt,"-active"),Ce===mn||Ce===Un),(0,we.Z)(zt,"".concat(Lt,"-disabled"),Ht),(0,we.Z)(zt,"".concat(Lt,"-loading"),fn),zt)),style:wt,role:"menuitemcheckbox",title:dn,"aria-checked":nn,"data-path-key":Un,onClick:function(){Xn(),!Cn&&(!fe||un)&&ha()},onDoubleClick:function(){At&&ze(!1)},onMouseEnter:function(){Vt&&Xn()},onMouseDown:function(_n){_n.preventDefault()}},fe&&ie.createElement(li,{prefixCls:"".concat(ue,"-checkbox"),checked:nn,halfChecked:Yt,disabled:Ht||Cn,disableCheckbox:Cn,onClick:function(_n){Cn||(_n.stopPropagation(),ha())}}),ie.createElement("div",{className:"".concat(Lt,"-content")},En),!fn&&Zt&&!un&&ie.createElement("div",{className:"".concat(Lt,"-expand-icon")},Zt),fn&&on&&ie.createElement("div",{className:"".concat(Lt,"-loading-icon")},on))}))}var si=function(){var ae=Ke(),ue=ae.multiple,fe=ae.open,Se=ie.useContext(oa),Ce=Se.values,Ae=ie.useState([]),ze=(0,Ee.Z)(Ae,2),Ue=ze[0],Xe=ze[1];return ie.useEffect(function(){if(fe&&!ue){var tt=Ce[0];Xe(tt||[])}},[fe]),[Ue,Xe]},sn={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(ue){var fe=ue.keyCode;if(ue.altKey&&!ue.ctrlKey||ue.metaKey||fe>=sn.F1&&fe<=sn.F12)return!1;switch(fe){case sn.ALT:case sn.CAPS_LOCK:case sn.CONTEXT_MENU:case sn.CTRL:case sn.DOWN:case sn.END:case sn.ESC:case sn.HOME:case sn.INSERT:case sn.LEFT:case sn.MAC_FF_META:case sn.META:case sn.NUMLOCK:case sn.NUM_CENTER:case sn.PAGE_DOWN:case sn.PAGE_UP:case sn.PAUSE:case sn.PRINT_SCREEN:case sn.RIGHT:case sn.SHIFT:case sn.UP:case sn.WIN_KEY:case sn.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(ue){if(ue>=sn.ZERO&&ue<=sn.NINE||ue>=sn.NUM_ZERO&&ue<=sn.NUM_MULTIPLY||ue>=sn.A&&ue<=sn.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&ue===0)return!0;switch(ue){case sn.SPACE:case sn.QUESTION_MARK:case sn.NUM_PLUS:case sn.NUM_MINUS:case sn.NUM_PERIOD:case sn.NUM_DIVISION:case sn.SEMICOLON:case sn.DASH:case sn.EQUALS:case sn.COMMA:case sn.PERIOD:case sn.SLASH:case sn.APOSTROPHE:case sn.SINGLE_QUOTE:case sn.OPEN_SQUARE_BRACKET:case sn.BACKSLASH:case sn.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},Lo=sn,ci=function(ae,ue,fe,Se,Ce,Ae){var ze=Ke(),Ue=ze.direction,Xe=ze.searchValue,tt=ze.toggleOpen,St=ze.open,gt=Ue==="rtl",Pt=ie.useMemo(function(){for(var wt=-1,Vt=ue,Ut=[],pt=[],zt=Se.length,Ht=pr(ue,fe),En=function(tn){var ln=Vt.findIndex(function(Un,Cn){return(Ht[Cn]?Za(Ht[Cn]):Un[fe.value])===Se[tn]});if(ln===-1)return"break";wt=ln,Ut.push(wt),pt.push(Se[tn]),Vt=Vt[wt][fe.children]},mn=0;mn<zt&&Vt;mn+=1){var un=En(mn);if(un==="break")break}for(var fn=ue,nn=0;nn<Ut.length-1;nn+=1)fn=fn[Ut[nn]][fe.children];return[pt,wt,fn,Ht]},[Se,fe,ue]),rt=(0,Ee.Z)(Pt,4),ft=rt[0],Lt=rt[1],yt=rt[2],It=rt[3],At=function(Vt){Ce(Vt)},_t=function(Vt){var Ut=yt.length,pt=Lt;pt===-1&&Vt<0&&(pt=Ut);for(var zt=0;zt<Ut;zt+=1){pt=(pt+Vt+Ut)%Ut;var Ht=yt[pt];if(Ht&&!Ht.disabled){var En=ft.slice(0,-1).concat(It[pt]?Za(It[pt]):Ht[fe.value]);At(En);return}}},Zt=function(){if(ft.length>1){var Vt=ft.slice(0,-1);At(Vt)}else tt(!1)},on=function(){var Vt,Ut=((Vt=yt[Lt])===null||Vt===void 0?void 0:Vt[fe.children])||[],pt=Ut.find(function(Ht){return!Ht.disabled});if(pt){var zt=[].concat((0,ge.Z)(ft),[pt[fe.value]]);At(zt)}};ie.useImperativeHandle(ae,function(){return{onKeyDown:function(Vt){var Ut=Vt.which;switch(Ut){case Lo.UP:case Lo.DOWN:{var pt=0;Ut===Lo.UP?pt=-1:Ut===Lo.DOWN&&(pt=1),pt!==0&&_t(pt);break}case Lo.LEFT:{if(Xe)break;gt?on():Zt();break}case Lo.RIGHT:{if(Xe)break;gt?Zt():on();break}case Lo.BACKSPACE:{Xe||Zt();break}case Lo.ENTER:{if(ft.length){var zt=yt[Lt],Ht=(zt==null?void 0:zt[ra])||[];Ht.length?Ae(Ht.map(function(En){return En[fe.value]}),Ht[Ht.length-1]):Ae(ft,yt[Lt])}break}case Lo.ESC:tt(!1),St&&Vt.stopPropagation()}},onKeyUp:function(){}}})},mi=ie.forwardRef(function(ae,ue){var fe,Se,Ce,Ae,ze=Ke(),Ue=ze.prefixCls,Xe=ze.multiple,tt=ze.searchValue,St=ze.toggleOpen,gt=ze.notFoundContent,Pt=ze.direction,rt=ze.open,ft=ie.useRef(),Lt=Pt==="rtl",yt=ie.useContext(oa),It=yt.options,At=yt.values,_t=yt.halfValues,Zt=yt.fieldNames,on=yt.changeOnSelect,wt=yt.onSelect,Vt=yt.searchOptions,Ut=yt.dropdownPrefixCls,pt=yt.loadData,zt=yt.expandTrigger,Ht=Ut||Ue,En=ie.useState([]),mn=(0,Ee.Z)(En,2),un=mn[0],fn=mn[1],nn=function(en){if(!(!pt||tt)){var Pn=_o(en,It,Zt),Nn=Pn.map(function(ga){var Kn=ga.option;return Kn}),xn=Nn[Nn.length-1];if(xn&&!ko(xn,Zt)){var Wn=Za(en);fn(function(ga){return[].concat((0,ge.Z)(ga),[Wn])}),pt(Nn)}}};ie.useEffect(function(){un.length&&un.forEach(function(cn){var en=tr(cn),Pn=_o(en,It,Zt,!0).map(function(xn){var Wn=xn.option;return Wn}),Nn=Pn[Pn.length-1];(!Nn||Nn[Zt.children]||ko(Nn,Zt))&&fn(function(xn){return xn.filter(function(Wn){return Wn!==cn})})})},[It,un,Zt]);var Yt=ie.useMemo(function(){return new Set(fo(At))},[At]),tn=ie.useMemo(function(){return new Set(fo(_t))},[_t]),ln=si(),Un=(0,Ee.Z)(ln,2),Cn=Un[0],Xn=Un[1],ha=function(en){Xn(en),nn(en)},dn=function(en){var Pn=en.disabled,Nn=ko(en,Zt);return!Pn&&(Nn||on||Xe)},On=function(en,Pn){var Nn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;wt(en),!Xe&&(Pn||on&&(zt==="hover"||Nn))&&St(!1)},_n=ie.useMemo(function(){return tt?Vt:It},[tt,Vt,It]),rn=ie.useMemo(function(){for(var cn=[{options:_n}],en=_n,Pn=pr(en,Zt),Nn=function(){var Kn=Cn[xn],ba=en.find(function($a,ua){return(Pn[ua]?Za(Pn[ua]):$a[Zt.value])===Kn}),ya=ba==null?void 0:ba[Zt.children];if(!(ya!=null&&ya.length))return"break";en=ya,cn.push({options:ya})},xn=0;xn<Cn.length;xn+=1){var Wn=Nn();if(Wn==="break")break}return cn},[_n,Cn,Zt]),Kt=function(en,Pn){dn(Pn)&&On(en,ko(Pn,Zt),!0)};ci(ue,_n,Zt,Cn,ha,Kt),ie.useEffect(function(){for(var cn=0;cn<Cn.length;cn+=1){var en,Pn=Cn.slice(0,cn+1),Nn=Za(Pn),xn=(en=ft.current)===null||en===void 0?void 0:en.querySelector('li[data-path-key="'.concat(Nn.replace(/\\{0,2}"/g,'\\"'),'"]'));xn&&pa(xn)}},[Cn]);var qt=!((fe=rn[0])!==null&&fe!==void 0&&(Se=fe.options)!==null&&Se!==void 0&&Se.length),wn=[(Ce={},(0,we.Z)(Ce,Zt.value,"__EMPTY__"),(0,we.Z)(Ce,Hr,gt),(0,we.Z)(Ce,"disabled",!0),Ce)],yn=(0,Le.Z)((0,Le.Z)({},ae),{},{multiple:!qt&&Xe,onSelect:On,onActive:ha,onToggleOpen:St,checkedSet:Yt,halfCheckedSet:tn,loadingKeys:un,isSelectable:dn}),Bn=qt?[{options:wn}]:rn,vn=Bn.map(function(cn,en){var Pn=Cn.slice(0,en),Nn=Cn[en];return ie.createElement(di,(0,_e.Z)({key:en},yn,{searchValue:tt,prefixCls:Ht,options:cn.options,prevValuePath:Pn,activeValue:Nn}))});return ie.createElement(ui,{open:rt},ie.createElement("div",{className:ce()("".concat(Ht,"-menus"),(Ae={},(0,we.Z)(Ae,"".concat(Ht,"-menu-empty"),qt),(0,we.Z)(Ae,"".concat(Ht,"-rtl"),Lt),Ae)),ref:ft},vn))}),fi=mi;function ng(ae){var ue=ae.onPopupVisibleChange,fe=ae.popupVisible,Se=ae.popupClassName,Ce=ae.popupPlacement;warning(!ue,"`onPopupVisibleChange` is deprecated. Please use `onDropdownVisibleChange` instead."),warning(fe===void 0,"`popupVisible` is deprecated. Please use `open` instead."),warning(Se===void 0,"`popupClassName` is deprecated. Please use `dropdownClassName` instead."),warning(Ce===void 0,"`popupPlacement` is deprecated. Please use `placement` instead.")}function ag(ae,ue){if(ae){var fe=function Se(Ce){for(var Ae=0;Ae<Ce.length;Ae++){var ze=Ce[Ae];if(ze[ue==null?void 0:ue.value]===null)return warning(!1,"`value` in Cascader options should not be `null`."),!0;if(Array.isArray(ze[ue==null?void 0:ue.children])&&Se(ze[ue==null?void 0:ue.children]))return!0}};fe(ae)}}var og=null,Si=["id","prefixCls","fieldNames","defaultValue","value","changeOnSelect","onChange","displayRender","checkable","autoClearSearchValue","searchValue","onSearch","showSearch","expandTrigger","options","dropdownPrefixCls","loadData","popupVisible","open","popupClassName","dropdownClassName","dropdownMenuColumnStyle","popupPlacement","placement","onDropdownVisibleChange","onPopupVisibleChange","expandIcon","loadingIcon","children","dropdownMatchSelectWidth","showCheckedStrategy"];function hi(ae){return Array.isArray(ae)&&Array.isArray(ae[0])}function Kr(ae){return ae?hi(ae)?ae:(ae.length===0?[]:[ae]).map(function(ue){return Array.isArray(ue)?ue:[ue]}):[]}var Ar=ie.forwardRef(function(ae,ue){var fe=ae.id,Se=ae.prefixCls,Ce=Se===void 0?"rc-cascader":Se,Ae=ae.fieldNames,ze=ae.defaultValue,Ue=ae.value,Xe=ae.changeOnSelect,tt=ae.onChange,St=ae.displayRender,gt=ae.checkable,Pt=ae.autoClearSearchValue,rt=Pt===void 0?!0:Pt,ft=ae.searchValue,Lt=ae.onSearch,yt=ae.showSearch,It=ae.expandTrigger,At=ae.options,_t=ae.dropdownPrefixCls,Zt=ae.loadData,on=ae.popupVisible,wt=ae.open,Vt=ae.popupClassName,Ut=ae.dropdownClassName,pt=ae.dropdownMenuColumnStyle,zt=ae.popupPlacement,Ht=ae.placement,En=ae.onDropdownVisibleChange,mn=ae.onPopupVisibleChange,un=ae.expandIcon,fn=un===void 0?">":un,nn=ae.loadingIcon,Yt=ae.children,tn=ae.dropdownMatchSelectWidth,ln=tn===void 0?!1:tn,Un=ae.showCheckedStrategy,Cn=Un===void 0?er:Un,Xn=(0,Ne.Z)(ae,Si),ha=Ua(fe),dn=!!gt,On=Dt(ze,{value:Ue,postState:Kr}),_n=(0,Ee.Z)(On,2),rn=_n[0],Kt=_n[1],qt=ie.useMemo(function(){return zo(Ae)},[JSON.stringify(Ae)]),wn=ie.useMemo(function(){return At||[]},[At]),yn=so(wn,qt),Bn=ie.useCallback(function(Yn){var Rn=yn();return Yn.map(function(ca){var Ra=Rn[ca].nodes;return Ra.map(function(La){return La[qt.value]})})},[yn,qt]),vn=Dt("",{value:ft,postState:function(Rn){return Rn||""}}),cn=(0,Ee.Z)(vn,2),en=cn[0],Pn=cn[1],Nn=function(Rn,ca){Pn(Rn),ca.source!=="blur"&&Lt&&Lt(Rn)},xn=ii(yt),Wn=(0,Ee.Z)(xn,2),ga=Wn[0],Kn=Wn[1],ba=yo(en,wn,qt,_t||Ce,Kn,Xe),ya=yr(wn,qt),$a=ie.useMemo(function(){var Yn=ya(rn),Rn=(0,Ee.Z)(Yn,2),ca=Rn[0],Ra=Rn[1];if(!dn||!rn.length)return[ca,[],Ra];var La=fo(ca),Ja=yn(),gn=(0,Ot.S)(La,!0,Ja),st=gn.checkedKeys,xt=gn.halfCheckedKeys;return[Bn(st),Bn(xt),Ra]},[dn,rn,yn,Bn,ya]),ua=(0,Ee.Z)($a,3),Vn=ua[0],Ea=ua[1],sa=ua[2],fa=ie.useMemo(function(){var Yn=fo(Vn),Rn=br(Yn,yn,Cn);return[].concat((0,ge.Z)(sa),(0,ge.Z)(Bn(Rn)))},[Vn,yn,Bn,sa,Cn]),Ca=Nr(fa,wn,qt,dn,St),Aa=Fn(function(Yn){if(Kt(Yn),tt){var Rn=Kr(Yn),ca=Rn.map(function(Ja){return _o(Ja,wn,qt).map(function(gn){return gn.option})}),Ra=dn?Rn:Rn[0],La=dn?ca:ca[0];tt(Ra,La)}}),ao=Fn(function(Yn){if((!dn||rt)&&Pn(""),!dn)Aa(Yn);else{var Rn=Za(Yn),ca=fo(Vn),Ra=fo(Ea),La=ca.includes(Rn),Ja=sa.some(function(Ka){return Za(Ka)===Rn}),gn=Vn,st=sa;if(Ja&&!La)st=sa.filter(function(Ka){return Za(Ka)!==Rn});else{var xt=La?ca.filter(function(Ka){return Ka!==Rn}):[].concat((0,ge.Z)(ca),[Rn]),kt=yn(),Jt;if(La){var Qn=(0,Ot.S)(xt,{checked:!1,halfCheckedKeys:Ra},kt);Jt=Qn.checkedKeys}else{var ea=(0,Ot.S)(xt,!0,kt);Jt=ea.checkedKeys}var ho=br(Jt,yn,Cn);gn=Bn(ho)}Aa([].concat((0,ge.Z)(st),(0,ge.Z)(gn)))}}),oo=function(Rn,ca){if(ca.type==="clear"){Aa([]);return}var Ra=ca.values[0],La=Ra.valueCells;ao(La)},wo=wt!==void 0?wt:on,So=Ut||Vt,Qa=Ht||zt,Fo=function(Rn){En==null||En(Rn),mn==null||mn(Rn)},Ha=ie.useMemo(function(){return{options:wn,fieldNames:qt,values:Vn,halfValues:Ea,changeOnSelect:Xe,onSelect:ao,checkable:gt,searchOptions:ba,dropdownPrefixCls:_t,loadData:Zt,expandTrigger:It,expandIcon:fn,loadingIcon:nn,dropdownMenuColumnStyle:pt}},[wn,qt,Vn,Ea,Xe,ao,gt,ba,_t,Zt,It,fn,nn,pt]),Bo=!(en?ba:wn).length,Do=en&&Kn.matchInputWidth||Bo?{}:{minWidth:"auto"};return ie.createElement(oa.Provider,{value:Ha},ie.createElement(Rt,(0,_e.Z)({},Xn,{ref:ue,id:ha,prefixCls:Ce,autoClearSearchValue:rt,dropdownMatchSelectWidth:ln,dropdownStyle:Do,displayValues:Ca,onDisplayValuesChange:oo,mode:dn?"multiple":void 0,searchValue:en,onSearch:Nn,showSearch:ga,OptionList:fi,emptyOptions:Bo,open:wo,dropdownClassName:So,placement:Qa,onDropdownVisibleChange:Fo,getRawInputElement:function(){return Yt}})))});Ar.SHOW_PARENT=er,Ar.SHOW_CHILD=Ga;var vi=Ar,Wr=vi,Pi=re(10366),jr=re(33603),pi=re(8745),Vr=re(9708),bi=re(53124),yi=re(88258),Ei=re(98866),Ci=re(98675),Li=re(65223),wi=re(87244),Fi=re(13458),Bi=re(78642),Di=re(46163),xi=re(4173),Ni=re(63185),Oi=re(14747),Ai=re(80110),Mi=re(67968);const Ii=ae=>{const{prefixCls:ue,componentCls:fe,antCls:Se}=ae,Ce=`${fe}-menu-item`,Ae=`
&${Ce}-expand ${Ce}-expand-icon,
${Ce}-loading-icon
`;return[{[fe]:{width:ae.controlWidth}},{[`${fe}-dropdown`]:[(0,Ni.C2)(`${ue}-checkbox`,ae),{[`&${Se}-select-dropdown`]:{padding:0}},{[fe]:{"&-checkbox":{top:0,marginInlineEnd:ae.paddingXS},"&-menus":{display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[`&${fe}-menu-empty`]:{[`${fe}-menu`]:{width:"100%",height:"auto",[Ce]:{color:ae.colorTextDisabled}}}},"&-menu":{flexGrow:1,minWidth:ae.controlItemWidth,height:ae.dropdownHeight,margin:0,padding:ae.menuPadding,overflow:"auto",verticalAlign:"top",listStyle:"none","-ms-overflow-style":"-ms-autohiding-scrollbar","&:not(:last-child)":{borderInlineEnd:`${ae.lineWidth}px ${ae.lineType} ${ae.colorSplit}`},"&-item":Object.assign(Object.assign({},Oi.vS),{display:"flex",flexWrap:"nowrap",alignItems:"center",padding:ae.optionPadding,lineHeight:ae.lineHeight,cursor:"pointer",transition:`all ${ae.motionDurationMid}`,borderRadius:ae.borderRadiusSM,"&:hover":{background:ae.controlItemBgHover},"&-disabled":{color:ae.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"},[Ae]:{color:ae.colorTextDisabled}},[`&-active:not(${Ce}-disabled)`]:{"&, &:hover":{fontWeight:ae.optionSelectedFontWeight,backgroundColor:ae.optionSelectedBg}},"&-content":{flex:"auto"},[Ae]:{marginInlineStart:ae.paddingXXS,color:ae.colorTextDescription,fontSize:ae.fontSizeIcon},"&-keyword":{color:ae.colorHighlight}})}}}]},{[`${fe}-dropdown-rtl`]:{direction:"rtl"}},(0,Ai.c)(ae)]};var Ti=(0,Mi.Z)("Cascader",ae=>[Ii(ae)],ae=>{const ue=Math.round((ae.controlHeight-ae.fontSize*ae.lineHeight)/2);return{controlWidth:184,controlItemWidth:111,dropdownHeight:180,optionSelectedBg:ae.controlItemBgActive,optionSelectedFontWeight:ae.fontWeightStrong,optionPadding:`${ue}px ${ae.paddingSM}px`,menuPadding:ae.paddingXXS}}),Gi=function(ae,ue){var fe={};for(var Se in ae)Object.prototype.hasOwnProperty.call(ae,Se)&&ue.indexOf(Se)<0&&(fe[Se]=ae[Se]);if(ae!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ce=0,Se=Object.getOwnPropertySymbols(ae);Ce<Se.length;Ce++)ue.indexOf(Se[Ce])<0&&Object.prototype.propertyIsEnumerable.call(ae,Se[Ce])&&(fe[Se[Ce]]=ae[Se[Ce]]);return fe};const{SHOW_CHILD:$i,SHOW_PARENT:Ri}=Wr;function zi(ae,ue,fe){const Se=ae.toLowerCase().split(ue).reduce((ze,Ue,Xe)=>Xe===0?[Ue]:[].concat((0,ge.Z)(ze),[ue,Ue]),[]),Ce=[];let Ae=0;return Se.forEach((ze,Ue)=>{const Xe=Ae+ze.length;let tt=ae.slice(Ae,Xe);Ae=Xe,Ue%2===1&&(tt=ie.createElement("span",{className:`${fe}-menu-item-keyword`,key:`separator-${Ue}`},tt)),Ce.push(tt)}),Ce}const ki=(ae,ue,fe,Se)=>{const Ce=[],Ae=ae.toLowerCase();return ue.forEach((ze,Ue)=>{Ue!==0&&Ce.push(" / ");let Xe=ze[Se.label];const tt=typeof Xe;(tt==="string"||tt==="number")&&(Xe=zi(String(Xe),Ae,fe)),Ce.push(Xe)}),Ce},dr=ie.forwardRef((ae,ue)=>{const{prefixCls:fe,size:Se,disabled:Ce,className:Ae,rootClassName:ze,multiple:Ue,bordered:Xe=!0,transitionName:tt,choiceTransitionName:St="",popupClassName:gt,dropdownClassName:Pt,expandIcon:rt,placement:ft,showSearch:Lt,allowClear:yt=!0,notFoundContent:It,direction:At,getPopupContainer:_t,status:Zt,showArrow:on,builtinPlacements:wt,style:Vt}=ae,Ut=Gi(ae,["prefixCls","size","disabled","className","rootClassName","multiple","bordered","transitionName","choiceTransitionName","popupClassName","dropdownClassName","expandIcon","placement","showSearch","allowClear","notFoundContent","direction","getPopupContainer","status","showArrow","builtinPlacements","style"]),pt=(0,Pi.Z)(Ut,["suffixIcon"]),{getPopupContainer:zt,getPrefixCls:Ht,renderEmpty:En,direction:mn,popupOverflow:un,cascader:fn}=ie.useContext(bi.E_),nn=At||mn,Yt=nn==="rtl",{status:tn,hasFeedback:ln,isFormItemInput:Un,feedbackIcon:Cn}=ie.useContext(Li.aM),Xn=(0,Vr.F)(tn,Zt),ha=It||(En==null?void 0:En("Cascader"))||ie.createElement(yi.Z,{componentName:"Cascader"}),dn=Ht(),On=Ht("select",fe),_n=Ht("cascader",fe),[rn,Kt]=(0,wi.Z)(On),[qt]=Ti(_n),{compactSize:wn,compactItemClassnames:yn}=(0,xi.ri)(On,At),Bn=ce()(gt||Pt,`${_n}-dropdown`,{[`${_n}-dropdown-rtl`]:nn==="rtl"},ze,Kt),vn=ie.useMemo(()=>{if(!Lt)return Lt;let sa={render:ki};return typeof Lt=="object"&&(sa=Object.assign(Object.assign({},sa),Lt)),sa},[Lt]),cn=(0,Ci.Z)(sa=>{var fa;return(fa=Se!=null?Se:wn)!==null&&fa!==void 0?fa:sa}),en=ie.useContext(Ei.Z),Pn=Ce!=null?Ce:en;let Nn=rt;rt||(Nn=Yt?ie.createElement(Ve.Z,null):ie.createElement(pe.Z,null));const xn=ie.createElement("span",{className:`${On}-menu-item-loading-icon`},ie.createElement(qe.Z,{spin:!0})),Wn=ie.useMemo(()=>Ue?ie.createElement("span",{className:`${_n}-checkbox-inner`}):!1,[Ue]),ga=(0,Bi.Z)(ae.suffixIcon,on),{suffixIcon:Kn,removeIcon:ba,clearIcon:ya}=(0,Di.Z)(Object.assign(Object.assign({},ae),{hasFeedback:ln,feedbackIcon:Cn,showSuffixIcon:ga,multiple:Ue,prefixCls:On,componentName:"Cascader"})),$a=ie.useMemo(()=>ft!==void 0?ft:Yt?"bottomRight":"bottomLeft",[ft,Yt]),ua=(0,Fi.Z)(wt,un),Vn=yt===!0?{clearIcon:ya}:yt,Ea=ie.createElement(Wr,Object.assign({prefixCls:On,className:ce()(!fe&&_n,{[`${On}-lg`]:cn==="large",[`${On}-sm`]:cn==="small",[`${On}-rtl`]:Yt,[`${On}-borderless`]:!Xe,[`${On}-in-form-item`]:Un},(0,Vr.Z)(On,Xn,ln),yn,fn==null?void 0:fn.className,Ae,ze,Kt),disabled:Pn,style:Object.assign(Object.assign({},fn==null?void 0:fn.style),Vt)},pt,{builtinPlacements:ua,direction:nn,placement:$a,notFoundContent:ha,allowClear:Vn,showSearch:vn,expandIcon:Nn,suffixIcon:Kn,removeIcon:ba,loadingIcon:xn,checkable:Wn,dropdownClassName:Bn,dropdownPrefixCls:fe||_n,choiceTransitionName:(0,jr.m)(dn,"",St),transitionName:(0,jr.m)(dn,"slide-up",tt),getPopupContainer:_t||zt,ref:ue}));return qt(rn(Ea))}),_i=(0,pi.Z)(dr);dr.SHOW_PARENT=Ri,dr.SHOW_CHILD=$i,dr._InternalPanelDoNotUseOrYouWillBeFired=_i;var Zi=dr},63185:function(ke,ut,re){"use strict";re.d(ut,{C2:function(){return pe}});var ge=re(14747),ie=re(45503),Ve=re(67968);const qe=Oe=>{const{checkboxCls:ce}=Oe,_e=`${ce}-wrapper`;return[{[`${ce}-group`]:Object.assign(Object.assign({},(0,ge.Wf)(Oe)),{display:"inline-flex",flexWrap:"wrap",columnGap:Oe.marginXS,[`> ${Oe.antCls}-row`]:{flex:1}}),[_e]:Object.assign(Object.assign({},(0,ge.Wf)(Oe)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${_e}`]:{marginInlineStart:0},[`&${_e}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[ce]:Object.assign(Object.assign({},(0,ge.Wf)(Oe)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:Oe.borderRadiusSM,alignSelf:"center",[`${ce}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${ce}-inner`]:Object.assign({},(0,ge.oN)(Oe))},[`${ce}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:Oe.checkboxSize,height:Oe.checkboxSize,direction:"ltr",backgroundColor:Oe.colorBgContainer,border:`${Oe.lineWidth}px ${Oe.lineType} ${Oe.colorBorder}`,borderRadius:Oe.borderRadiusSM,borderCollapse:"separate",transition:`all ${Oe.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:Oe.checkboxSize/14*5,height:Oe.checkboxSize/14*8,border:`${Oe.lineWidthBold}px solid ${Oe.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${Oe.motionDurationFast} ${Oe.motionEaseInBack}, opacity ${Oe.motionDurationFast}`}},"& + span":{paddingInlineStart:Oe.paddingXS,paddingInlineEnd:Oe.paddingXS}})},{[`
${_e}:not(${_e}-disabled),
${ce}:not(${ce}-disabled)
`]:{[`&:hover ${ce}-inner`]:{borderColor:Oe.colorPrimary}},[`${_e}:not(${_e}-disabled)`]:{[`&:hover ${ce}-checked:not(${ce}-disabled) ${ce}-inner`]:{backgroundColor:Oe.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${ce}-checked:not(${ce}-disabled):after`]:{borderColor:Oe.colorPrimaryHover}}},{[`${ce}-checked`]:{[`${ce}-inner`]:{backgroundColor:Oe.colorPrimary,borderColor:Oe.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${Oe.motionDurationMid} ${Oe.motionEaseOutBack} ${Oe.motionDurationFast}`}}},[`
${_e}-checked:not(${_e}-disabled),
${ce}-checked:not(${ce}-disabled)
`]:{[`&:hover ${ce}-inner`]:{backgroundColor:Oe.colorPrimaryHover,borderColor:"transparent"}}},{[ce]:{"&-indeterminate":{[`${ce}-inner`]:{backgroundColor:Oe.colorBgContainer,borderColor:Oe.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:Oe.fontSizeLG/2,height:Oe.fontSizeLG/2,backgroundColor:Oe.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${_e}-disabled`]:{cursor:"not-allowed"},[`${ce}-disabled`]:{[`&, ${ce}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${ce}-inner`]:{background:Oe.colorBgContainerDisabled,borderColor:Oe.colorBorder,"&:after":{borderColor:Oe.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:Oe.colorTextDisabled},[`&${ce}-indeterminate ${ce}-inner::after`]:{background:Oe.colorTextDisabled}}}]};function pe(Oe,ce){const _e=(0,ie.TS)(ce,{checkboxCls:`.${Oe}`,checkboxSize:ce.controlInteractiveSize});return[qe(_e)]}ut.ZP=(0,Ve.Z)("Checkbox",(Oe,ce)=>{let{prefixCls:_e}=ce;return[pe(_e,Oe)]})},96074:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return Le}});var ge=re(94184),ie=re.n(ge),Ve=re(67294),qe=re(53124),pe=re(14747),Oe=re(67968),ce=re(45503);const _e=De=>{const{componentCls:ne,sizePaddingEdgeHorizontal:a,colorSplit:b,lineWidth:E,textPaddingInline:y,orientationMargin:x,verticalMarginInline:z}=De;return{[ne]:Object.assign(Object.assign({},(0,pe.Wf)(De)),{borderBlockStart:`${E}px solid ${b}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${E}px solid ${b}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${De.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ne}-with-text`]:{display:"flex",alignItems:"center",margin:`${De.dividerHorizontalWithTextGutterMargin}px 0`,color:De.colorTextHeading,fontWeight:500,fontSize:De.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${b}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${E}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ne}-with-text-left`]:{"&::before":{width:`${x*100}%`},"&::after":{width:`${100-x*100}%`}},[`&-horizontal${ne}-with-text-right`]:{"&::before":{width:`${100-x*100}%`},"&::after":{width:`${x*100}%`}},[`${ne}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:y},"&-dashed":{background:"none",borderColor:b,borderStyle:"dashed",borderWidth:`${E}px 0 0`},[`&-horizontal${ne}-with-text${ne}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ne}-dashed`]:{borderInlineStartWidth:E,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ne}-with-text`]:{color:De.colorText,fontWeight:"normal",fontSize:De.fontSize},[`&-horizontal${ne}-with-text-left${ne}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ne}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${ne}-with-text-right${ne}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ne}-inner-text`]:{paddingInlineEnd:a}}})}};var Ee=(0,Oe.Z)("Divider",De=>{const ne=(0,ce.TS)(De,{dividerHorizontalWithTextGutterMargin:De.margin,dividerHorizontalGutterMargin:De.marginLG,sizePaddingEdgeHorizontal:0});return[_e(ne)]},De=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:De.marginXS})),Ne=function(De,ne){var a={};for(var b in De)Object.prototype.hasOwnProperty.call(De,b)&&ne.indexOf(b)<0&&(a[b]=De[b]);if(De!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,b=Object.getOwnPropertySymbols(De);E<b.length;E++)ne.indexOf(b[E])<0&&Object.prototype.propertyIsEnumerable.call(De,b[E])&&(a[b[E]]=De[b[E]]);return a},Le=De=>{const{getPrefixCls:ne,direction:a,divider:b}=Ve.useContext(qe.E_),{prefixCls:E,type:y="horizontal",orientation:x="center",orientationMargin:z,className:ee,rootClassName:te,children:oe,dashed:le,plain:de,style:Pe}=De,ve=Ne(De,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),se=ne("divider",E),[Ie,Ye]=Ee(se),Te=x.length>0?`-${x}`:x,be=!!oe,me=x==="left"&&z!=null,Ge=x==="right"&&z!=null,He=ie()(se,b==null?void 0:b.className,Ye,`${se}-${y}`,{[`${se}-with-text`]:be,[`${se}-with-text${Te}`]:be,[`${se}-dashed`]:!!le,[`${se}-plain`]:!!de,[`${se}-rtl`]:a==="rtl",[`${se}-no-default-orientation-margin-left`]:me,[`${se}-no-default-orientation-margin-right`]:Ge},ee,te),je=Ve.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),et=Object.assign(Object.assign({},me&&{marginLeft:je}),Ge&&{marginRight:je});return Ie(Ve.createElement("div",Object.assign({className:He,style:Object.assign(Object.assign({},b==null?void 0:b.style),Pe)},ve,{role:"separator"}),oe&&y!=="vertical"&&Ve.createElement("span",{className:`${se}-inner-text`,style:et},oe)))}},35874:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return xe}});var ge=re(67294),ie=re(91034),Ve=re(94184),qe=re.n(Ve),pe=re(87462),Oe=re(4942),ce=re(97685),_e=re(45987),Ee=re(62709),Ne=re(71002),we=re(12060);function Le(Be,Re,Qe){var mt=React.useRef({});return(!("value"in mt.current)||Qe(mt.current.condition,Re))&&(mt.current.value=Be(),mt.current.condition=Re),mt.current.value}function De(Be,Re){typeof Be=="function"?Be(Re):(0,Ne.Z)(Be)==="object"&&Be&&"current"in Be&&(Be.current=Re)}function ne(){for(var Be=arguments.length,Re=new Array(Be),Qe=0;Qe<Be;Qe++)Re[Qe]=arguments[Qe];var mt=Re.filter(function(Et){return Et});return mt.length<=1?mt[0]:function(Et){Re.forEach(function(Ct){De(Ct,Et)})}}function a(){for(var Be=arguments.length,Re=new Array(Be),Qe=0;Qe<Be;Qe++)Re[Qe]=arguments[Qe];return useMemo(function(){return ne.apply(void 0,Re)},Re,function(mt,Et){return mt.length===Et.length&&mt.every(function(Ct,$t){return Ct===Et[$t]})})}function b(Be){var Re,Qe,mt=(0,we.isMemo)(Be)?Be.type.type:Be.type;return!(typeof mt=="function"&&!((Re=mt.prototype)!==null&&Re!==void 0&&Re.render)||typeof Be=="function"&&!((Qe=Be.prototype)!==null&&Qe!==void 0&&Qe.render))}var E={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Re){var Qe=Re.keyCode;if(Re.altKey&&!Re.ctrlKey||Re.metaKey||Qe>=E.F1&&Qe<=E.F12)return!1;switch(Qe){case E.ALT:case E.CAPS_LOCK:case E.CONTEXT_MENU:case E.CTRL:case E.DOWN:case E.END:case E.ESC:case E.HOME:case E.INSERT:case E.LEFT:case E.MAC_FF_META:case E.META:case E.NUMLOCK:case E.NUM_CENTER:case E.PAGE_DOWN:case E.PAGE_UP:case E.PAUSE:case E.PRINT_SCREEN:case E.RIGHT:case E.SHIFT:case E.UP:case E.WIN_KEY:case E.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Re){if(Re>=E.ZERO&&Re<=E.NINE||Re>=E.NUM_ZERO&&Re<=E.NUM_MULTIPLY||Re>=E.A&&Re<=E.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Re===0)return!0;switch(Re){case E.SPACE:case E.QUESTION_MARK:case E.NUM_PLUS:case E.NUM_MINUS:case E.NUM_PERIOD:case E.NUM_DIVISION:case E.SEMICOLON:case E.DASH:case E.EQUALS:case E.COMMA:case E.PERIOD:case E.SLASH:case E.APOSTROPHE:case E.SINGLE_QUOTE:case E.OPEN_SQUARE_BRACKET:case E.BACKSLASH:case E.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},y=E,x=function(Re){return+setTimeout(Re,16)},z=function(Re){return clearTimeout(Re)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(x=function(Re){return window.requestAnimationFrame(Re)},z=function(Re){return window.cancelAnimationFrame(Re)});var ee=0,te=new Map;function oe(Be){te.delete(Be)}var le=function(Re){var Qe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ee+=1;var mt=ee;function Et(Ct){if(Ct===0)oe(mt),Re();else{var $t=x(function(){Et(Ct-1)});te.set(mt,$t)}}return Et(Qe),mt};le.cancel=function(Be){var Re=te.get(Be);return oe(Re),z(Re)};var de=le,Pe=y.ESC,ve=y.TAB;function se(Be){var Re=Be.visible,Qe=Be.triggerRef,mt=Be.onVisibleChange,Et=Be.autoFocus,Ct=Be.overlayRef,$t=ge.useRef(!1),Wt=function(){if(Re){var pn,Sn;(pn=Qe.current)===null||pn===void 0||(Sn=pn.focus)===null||Sn===void 0||Sn.call(pn),mt==null||mt(!1)}},Qt=function(){var pn;return(pn=Ct.current)!==null&&pn!==void 0&&pn.focus?(Ct.current.focus(),$t.current=!0,!0):!1},Fn=function(pn){switch(pn.keyCode){case Pe:Wt();break;case ve:{var Sn=!1;$t.current||(Sn=Qt()),Sn?pn.preventDefault():Wt();break}}};ge.useEffect(function(){return Re?(window.addEventListener("keydown",Fn),Et&&de(Qt,3),function(){window.removeEventListener("keydown",Fn),$t.current=!1}):function(){$t.current=!1}},[Re])}var Ie=(0,ge.forwardRef)(function(Be,Re){var Qe=Be.overlay,mt=Be.arrow,Et=Be.prefixCls,Ct=(0,ge.useMemo)(function(){var Wt;return typeof Qe=="function"?Wt=Qe():Wt=Qe,Wt},[Qe]),$t=ne(Re,Ct==null?void 0:Ct.ref);return ge.createElement(ge.Fragment,null,mt&&ge.createElement("div",{className:"".concat(Et,"-arrow")}),ge.cloneElement(Ct,{ref:b(Ct)?$t:void 0}))}),Ye=Ie,Te={adjustX:1,adjustY:1},be=[0,0],me={topLeft:{points:["bl","tl"],overflow:Te,offset:[0,-4],targetOffset:be},top:{points:["bc","tc"],overflow:Te,offset:[0,-4],targetOffset:be},topRight:{points:["br","tr"],overflow:Te,offset:[0,-4],targetOffset:be},bottomLeft:{points:["tl","bl"],overflow:Te,offset:[0,4],targetOffset:be},bottom:{points:["tc","bc"],overflow:Te,offset:[0,4],targetOffset:be},bottomRight:{points:["tr","br"],overflow:Te,offset:[0,4],targetOffset:be}},Ge=me,He=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function je(Be,Re){var Qe,mt=Be.arrow,Et=mt===void 0?!1:mt,Ct=Be.prefixCls,$t=Ct===void 0?"rc-dropdown":Ct,Wt=Be.transitionName,Qt=Be.animation,Fn=Be.align,Gn=Be.placement,pn=Gn===void 0?"bottomLeft":Gn,Sn=Be.placements,Zn=Sn===void 0?Ge:Sn,Tn=Be.getPopupContainer,Jn=Be.showAction,ta=Be.hideAction,ma=Be.overlayClassName,jn=Be.overlayStyle,na=Be.visible,aa=Be.trigger,$n=aa===void 0?["hover"]:aa,la=Be.autoFocus,va=Be.overlay,Ma=Be.children,eo=Be.onVisibleChange,Pa=(0,_e.Z)(Be,He),io=ge.useState(),co=(0,ce.Z)(io,2),Ta=co[0],Xa=co[1],Fa="visible"in Be?na:Ta,to=ge.useRef(null),ja=ge.useRef(null),mo=ge.useRef(null);ge.useImperativeHandle(Re,function(){return to.current});var ka=function(ct){Xa(ct),eo==null||eo(ct)};se({visible:Fa,triggerRef:mo,onVisibleChange:ka,autoFocus:la,overlayRef:ja});var No=function(ct){var Gt=Be.onOverlayClick;Xa(!1),Gt&&Gt(ct)},Ia=function(){return ge.createElement(Ye,{ref:ja,overlay:va,prefixCls:$t,arrow:Et})},Oo=function(){return typeof va=="function"?Ia:Ia()},Po=function(){var ct=Be.minOverlayWidthMatchTrigger,Gt=Be.alignPoint;return"minOverlayWidthMatchTrigger"in Be?ct:!Gt},jo=function(){var ct=Be.openClassName;return ct!==void 0?ct:"".concat($t,"-open")},ye=ge.cloneElement(Ma,{className:qe()((Qe=Ma.props)===null||Qe===void 0?void 0:Qe.className,Fa&&jo()),ref:b(Ma)?ne(mo,Ma.ref):void 0}),Me=ta;return!Me&&$n.indexOf("contextMenu")!==-1&&(Me=["click"]),ge.createElement(Ee.Z,(0,pe.Z)({builtinPlacements:Zn},Pa,{prefixCls:$t,ref:to,popupClassName:qe()(ma,(0,Oe.Z)({},"".concat($t,"-show-arrow"),Et)),popupStyle:jn,action:$n,showAction:Jn,hideAction:Me,popupPlacement:pn,popupAlign:Fn,popupTransitionName:Wt,popupAnimation:Qt,popupVisible:Fa,stretch:Po()?"minWidth":"",popup:Oo(),onPopupVisibleChange:ka,onPopupClick:No,getPopupContainer:Tn}),ye)}var et=ge.forwardRef(je),Ft=et,vt=re(60276),Mt=re(5663),hn=re(10366),$e=re(80636),Ke=re(8745),nt=re(96159),Nt=re(53124),Je=re(68508),Bt=re(76529),he=re(46605),it=re(66748);const Tt=null,an=Be=>{const{menu:Re,arrow:Qe,prefixCls:mt,children:Et,trigger:Ct,disabled:$t,dropdownRender:Wt,getPopupContainer:Qt,overlayClassName:Fn,rootClassName:Gn,open:pn,onOpenChange:Sn,visible:Zn,onVisibleChange:Tn,mouseEnterDelay:Jn=.15,mouseLeaveDelay:ta=.1,autoAdjustOverflow:ma=!0,placement:jn="",overlay:na,transitionName:aa}=Be,{getPopupContainer:$n,getPrefixCls:la,direction:va}=ge.useContext(Nt.E_),Ma=ge.useMemo(()=>{const ye=la();return aa!==void 0?aa:jn.includes("top")?`${ye}-slide-down`:`${ye}-slide-up`},[la,jn,aa]),eo=ge.useMemo(()=>jn?jn.includes("Center")?jn.slice(0,jn.indexOf("Center")):jn:va==="rtl"?"bottomRight":"bottomLeft",[jn,va]),Pa=la("dropdown",mt),[io,co]=(0,it.Z)(Pa),[,Ta]=(0,he.Z)(),Xa=ge.Children.only(Et),Fa=(0,nt.Tm)(Xa,{className:qe()(`${Pa}-trigger`,{[`${Pa}-rtl`]:va==="rtl"},Xa.props.className),disabled:$t}),to=$t?[]:Ct;let ja;to&&to.includes("contextMenu")&&(ja=!0);const[mo,ka]=(0,Mt.Z)(!1,{value:pn!=null?pn:Zn}),No=(0,vt.useEvent)(ye=>{Sn==null||Sn(ye),Tn==null||Tn(ye),ka(ye)}),Ia=qe()(Fn,Gn,co,{[`${Pa}-rtl`]:va==="rtl"}),Oo=(0,$e.Z)({arrowPointAtCenter:typeof Qe=="object"&&Qe.pointAtCenter,autoAdjustOverflow:ma,offset:Ta.marginXXS,arrowWidth:Qe?Ta.sizePopupArrow:0,borderRadius:Ta.borderRadius}),Po=ge.useCallback(()=>{ka(!1)},[]),jo=()=>{let ye;return Re!=null&&Re.items?ye=ge.createElement(Je.default,Object.assign({},Re)):typeof na=="function"?ye=na():ye=na,Wt&&(ye=Wt(ye)),ye=ge.Children.only(typeof ye=="string"?ge.createElement("span",null,ye):ye),ge.createElement(Bt.J,{prefixCls:`${Pa}-menu`,expandIcon:ge.createElement("span",{className:`${Pa}-menu-submenu-arrow`},ge.createElement(ie.Z,{className:`${Pa}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Po,validator:Me=>{let{mode:Fe}=Me}},ye)};return io(ge.createElement(Ft,Object.assign({alignPoint:ja},(0,hn.Z)(Be,["rootClassName"]),{mouseEnterDelay:Jn,mouseLeaveDelay:ta,visible:mo,builtinPlacements:Oo,arrow:!!Qe,overlayClassName:Ia,prefixCls:Pa,getPopupContainer:Qt||$n,transitionName:Ma,trigger:to,overlay:jo,placement:eo,onVisibleChange:No}),Fa))};function at(Be){return Object.assign(Object.assign({},Be),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const We=(0,Ke.Z)(an,"dropdown",Be=>Be,at),Ze=Be=>ge.createElement(We,Object.assign({},Be),ge.createElement("span",null));an._InternalPanelDoNotUseOrYouWillBeFired=Ze;var xe=an},66748:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return we}});var ge=re(14747),ie=re(67771),Ve=re(33297),qe=re(50438),pe=re(97414),Oe=re(67968),ce=re(45503),Ee=Le=>{const{componentCls:De,menuCls:ne,colorError:a,colorTextLightSolid:b}=Le,E=`${ne}-item`;return{[`${De}, ${De}-menu-submenu`]:{[`${ne} ${E}`]:{[`&${E}-danger:not(${E}-disabled)`]:{color:a,"&:hover":{color:b,backgroundColor:a}}}}}};const Ne=Le=>{const{componentCls:De,menuCls:ne,zIndexPopup:a,dropdownArrowDistance:b,sizePopupArrow:E,antCls:y,iconCls:x,motionDurationMid:z,dropdownPaddingVertical:ee,fontSize:te,dropdownEdgeChildPadding:oe,colorTextDisabled:le,fontSizeIcon:de,controlPaddingHorizontal:Pe,colorBgElevated:ve}=Le;return[{[De]:Object.assign(Object.assign({},(0,ge.Wf)(Le)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-b+E/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${y}-btn`]:{[`& > ${x}-down, & > ${y}-btn-icon > ${x}-down`]:{fontSize:de}},[`${De}-wrap`]:{position:"relative",[`${y}-btn > ${x}-down`]:{fontSize:de},[`${x}-down::before`]:{transition:`transform ${z}`}},[`${De}-wrap-open`]:{[`${x}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${y}-slide-down-enter${y}-slide-down-enter-active${De}-placement-bottomLeft,
&${y}-slide-down-appear${y}-slide-down-appear-active${De}-placement-bottomLeft,
&${y}-slide-down-enter${y}-slide-down-enter-active${De}-placement-bottom,
&${y}-slide-down-appear${y}-slide-down-appear-active${De}-placement-bottom,
&${y}-slide-down-enter${y}-slide-down-enter-active${De}-placement-bottomRight,
&${y}-slide-down-appear${y}-slide-down-appear-active${De}-placement-bottomRight`]:{animationName:ie.fJ},[`&${y}-slide-up-enter${y}-slide-up-enter-active${De}-placement-topLeft,
&${y}-slide-up-appear${y}-slide-up-appear-active${De}-placement-topLeft,
&${y}-slide-up-enter${y}-slide-up-enter-active${De}-placement-top,
&${y}-slide-up-appear${y}-slide-up-appear-active${De}-placement-top,
&${y}-slide-up-enter${y}-slide-up-enter-active${De}-placement-topRight,
&${y}-slide-up-appear${y}-slide-up-appear-active${De}-placement-topRight`]:{animationName:ie.Qt},[`&${y}-slide-down-leave${y}-slide-down-leave-active${De}-placement-bottomLeft,
&${y}-slide-down-leave${y}-slide-down-leave-active${De}-placement-bottom,
&${y}-slide-down-leave${y}-slide-down-leave-active${De}-placement-bottomRight`]:{animationName:ie.Uw},[`&${y}-slide-up-leave${y}-slide-up-leave-active${De}-placement-topLeft,
&${y}-slide-up-leave${y}-slide-up-leave-active${De}-placement-top,
&${y}-slide-up-leave${y}-slide-up-leave-active${De}-placement-topRight`]:{animationName:ie.ly}})},(0,pe.ZP)(Le,{colorBg:ve,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${De} ${ne}`]:{position:"relative",margin:0},[`${ne}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${De}, ${De}-menu-submenu`]:{[ne]:Object.assign(Object.assign({padding:oe,listStyleType:"none",backgroundColor:ve,backgroundClip:"padding-box",borderRadius:Le.borderRadiusLG,outline:"none",boxShadow:Le.boxShadowSecondary},(0,ge.Qy)(Le)),{[`${ne}-item-group-title`]:{padding:`${ee}px ${Pe}px`,color:Le.colorTextDescription,transition:`all ${z}`},[`${ne}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ne}-item-icon`]:{minWidth:te,marginInlineEnd:Le.marginXS,fontSize:Le.fontSizeSM},[`${ne}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ne}-item, ${ne}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ee}px ${Pe}px`,color:Le.colorText,fontWeight:"normal",fontSize:te,lineHeight:Le.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:Le.borderRadiusSM,"&:hover, &-active":{backgroundColor:Le.controlItemBgHover}},(0,ge.Qy)(Le)),{"&-selected":{color:Le.colorPrimary,backgroundColor:Le.controlItemBgActive,"&:hover, &-active":{backgroundColor:Le.controlItemBgActiveHover}},"&-disabled":{color:le,cursor:"not-allowed","&:hover":{color:le,backgroundColor:ve,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Le.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Le.colorSplit},[`${De}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Le.paddingXS,[`${De}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Le.colorTextDescription,fontSize:de,fontStyle:"normal"}}}),[`${ne}-item-group-list`]:{margin:`0 ${Le.marginXS}px`,padding:0,listStyle:"none"},[`${ne}-submenu-title`]:{paddingInlineEnd:Pe+Le.fontSizeSM},[`${ne}-submenu-vertical`]:{position:"relative"},[`${ne}-submenu${ne}-submenu-disabled ${De}-menu-submenu-title`]:{[`&, ${De}-menu-submenu-arrow-icon`]:{color:le,backgroundColor:ve,cursor:"not-allowed"}},[`${ne}-submenu-selected ${De}-menu-submenu-title`]:{color:Le.colorPrimary}})}},[(0,ie.oN)(Le,"slide-up"),(0,ie.oN)(Le,"slide-down"),(0,Ve.Fm)(Le,"move-up"),(0,Ve.Fm)(Le,"move-down"),(0,qe._y)(Le,"zoom-big")]]};var we=(0,Oe.Z)("Dropdown",(Le,De)=>{let{rootPrefixCls:ne}=De;const{marginXXS:a,sizePopupArrow:b,controlHeight:E,fontSize:y,lineHeight:x,paddingXXS:z,componentCls:ee,borderRadiusLG:te}=Le,oe=(E-y*x)/2,{dropdownArrowOffset:le}=(0,pe.fS)({contentRadius:te}),de=(0,ce.TS)(Le,{menuCls:`${ee}-menu`,rootPrefixCls:ne,dropdownArrowDistance:b/2+a,dropdownArrowOffset:le,dropdownPaddingVertical:oe,dropdownEdgeChildPadding:z});return[Ne(de),Ee(de)]},Le=>({zIndexPopup:Le.zIndexPopupBase+50}))},71322:function(ke,ut,re){"use strict";re.d(ut,{D:function(){return x},Z:function(){return te}});var ge=re(87462),ie=re(67294),Ve={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"},qe=Ve,pe=re(74643),Oe=function(le,de){return ie.createElement(pe.Z,(0,ge.Z)({},le,{ref:de,icon:qe}))},ce=ie.forwardRef(Oe),_e=re(22751),Ee=re(91034),Ne=re(94184),we=re.n(Ne),Le=re(10366),ne=oe=>!isNaN(parseFloat(oe))&&isFinite(oe),a=re(53124),b=re(84321),E=function(oe,le){var de={};for(var Pe in oe)Object.prototype.hasOwnProperty.call(oe,Pe)&&le.indexOf(Pe)<0&&(de[Pe]=oe[Pe]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,Pe=Object.getOwnPropertySymbols(oe);ve<Pe.length;ve++)le.indexOf(Pe[ve])<0&&Object.prototype.propertyIsEnumerable.call(oe,Pe[ve])&&(de[Pe[ve]]=oe[Pe[ve]]);return de};const y={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},x=ie.createContext({}),z=(()=>{let oe=0;return function(){let le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return oe+=1,`${le}${oe}`}})();var te=ie.forwardRef((oe,le)=>{const{prefixCls:de,className:Pe,trigger:ve,children:se,defaultCollapsed:Ie=!1,theme:Ye="dark",style:Te={},collapsible:be=!1,reverseArrow:me=!1,width:Ge=200,collapsedWidth:He=80,zeroWidthTriggerStyle:je,breakpoint:et,onCollapse:Ft,onBreakpoint:vt}=oe,Mt=E(oe,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:hn}=(0,ie.useContext)(b.Gs),[$e,Ke]=(0,ie.useState)("collapsed"in oe?oe.collapsed:Ie),[nt,Nt]=(0,ie.useState)(!1);(0,ie.useEffect)(()=>{"collapsed"in oe&&Ke(oe.collapsed)},[oe.collapsed]);const Je=(at,We)=>{"collapsed"in oe||Ke(at),Ft==null||Ft(at,We)},Bt=(0,ie.useRef)();Bt.current=at=>{Nt(at.matches),vt==null||vt(at.matches),$e!==at.matches&&Je(at.matches,"responsive")},(0,ie.useEffect)(()=>{function at(Ze){return Bt.current(Ze)}let We;if(typeof window!="undefined"){const{matchMedia:Ze}=window;if(Ze&&et&&et in y){We=Ze(`(max-width: ${y[et]})`);try{We.addEventListener("change",at)}catch(xe){We.addListener(at)}at(We)}}return()=>{try{We==null||We.removeEventListener("change",at)}catch(Ze){We==null||We.removeListener(at)}}},[et]),(0,ie.useEffect)(()=>{const at=z("ant-sider-");return hn.addSider(at),()=>hn.removeSider(at)},[]);const he=()=>{Je(!$e,"clickTrigger")},{getPrefixCls:it}=(0,ie.useContext)(a.E_),Tt=()=>{const at=it("layout-sider",de),We=(0,Le.Z)(Mt,["collapsed"]),Ze=$e?He:Ge,xe=ne(Ze)?`${Ze}px`:String(Ze),Be=parseFloat(String(He||0))===0?ie.createElement("span",{onClick:he,className:we()(`${at}-zero-width-trigger`,`${at}-zero-width-trigger-${me?"right":"left"}`),style:je},ve||ie.createElement(ce,null)):null,mt={expanded:me?ie.createElement(Ee.Z,null):ie.createElement(_e.Z,null),collapsed:me?ie.createElement(_e.Z,null):ie.createElement(Ee.Z,null)}[$e?"collapsed":"expanded"],Et=ve!==null?Be||ie.createElement("div",{className:`${at}-trigger`,onClick:he,style:{width:xe}},ve||mt):null,Ct=Object.assign(Object.assign({},Te),{flex:`0 0 ${xe}`,maxWidth:xe,minWidth:xe,width:xe}),$t=we()(at,`${at}-${Ye}`,{[`${at}-collapsed`]:!!$e,[`${at}-has-trigger`]:be&&ve!==null&&!Be,[`${at}-below`]:!!nt,[`${at}-zero-width`]:parseFloat(xe)===0},Pe);return ie.createElement("aside",Object.assign({className:$t},We,{style:Ct,ref:le}),ie.createElement("div",{className:`${at}-children`},se),be||nt&&Be?Et:null)},an=ie.useMemo(()=>({siderCollapsed:$e}),[$e]);return ie.createElement(x.Provider,{value:an},Tt())})},97183:function(ke,ut,re){"use strict";var ge=re(84321),ie=re(71322);const Ve=ge.ZP;Ve.Header=ge.h4,Ve.Footer=ge.$_,Ve.Content=ge.VY,Ve.Sider=ie.Z,ut.default=Ve},84321:function(ke,ut,re){"use strict";re.d(ut,{VY:function(){return z},$_:function(){return x},h4:function(){return y},Gs:function(){return De},ZP:function(){return ee}});var ge=re(74902),ie=re(94184),Ve=re.n(ie),qe=re(10366),pe=re(67294),Oe=re(53124),ce=re(67968),Ee=te=>{const{componentCls:oe,bodyBg:le,lightSiderBg:de,lightTriggerBg:Pe,lightTriggerColor:ve}=te;return{[`${oe}-sider-light`]:{background:de,[`${oe}-sider-trigger`]:{color:ve,background:Pe},[`${oe}-sider-zero-width-trigger`]:{color:ve,background:Pe,border:`1px solid ${le}`,borderInlineStart:0}}}};const Ne=te=>{const{antCls:oe,componentCls:le,colorText:de,triggerColor:Pe,footerBg:ve,triggerBg:se,headerHeight:Ie,headerPadding:Ye,headerColor:Te,footerPadding:be,triggerHeight:me,zeroTriggerHeight:Ge,zeroTriggerWidth:He,motionDurationMid:je,motionDurationSlow:et,fontSize:Ft,borderRadius:vt,bodyBg:Mt,headerBg:hn,siderBg:$e}=te;return{[le]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:Mt,"&, *":{boxSizing:"border-box"},[`&${le}-has-sider`]:{flexDirection:"row",[`> ${le}, > ${le}-content`]:{width:0}},[`${le}-header, &${le}-footer`]:{flex:"0 0 auto"},[`${le}-sider`]:{position:"relative",minWidth:0,background:$e,transition:`all ${je}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${oe}-menu${oe}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:me},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:me,color:Pe,lineHeight:`${me}px`,textAlign:"center",background:se,cursor:"pointer",transition:`all ${je}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Ie,insetInlineEnd:-He,zIndex:1,width:He,height:Ge,color:Pe,fontSize:te.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:$e,borderStartStartRadius:0,borderStartEndRadius:vt,borderEndEndRadius:vt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${et} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${et}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-He,borderStartStartRadius:vt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:vt}}}}},Ee(te)),{"&-rtl":{direction:"rtl"}}),[`${le}-header`]:{height:Ie,padding:Ye,color:Te,lineHeight:`${Ie}px`,background:hn,[`${oe}-menu`]:{lineHeight:"inherit"}},[`${le}-footer`]:{padding:be,color:de,fontSize:Ft,background:ve},[`${le}-content`]:{flex:"auto",minHeight:0}}};var we=(0,ce.Z)("Layout",te=>[Ne(te)],te=>{const{colorBgLayout:oe,controlHeight:le,controlHeightLG:de,colorText:Pe,controlHeightSM:ve,marginXXS:se,colorTextLightSolid:Ie,colorBgContainer:Ye}=te,Te=de*1.25;return{colorBgHeader:"#001529",colorBgBody:oe,colorBgTrigger:"#002140",bodyBg:oe,headerBg:"#001529",headerHeight:le*2,headerPadding:`0 ${Te}px`,headerColor:Pe,footerPadding:`${ve}px ${Te}px`,footerBg:oe,siderBg:"#001529",triggerHeight:de+se*2,triggerBg:"#002140",triggerColor:Ie,zeroTriggerWidth:de,zeroTriggerHeight:de,lightSiderBg:Ye,lightTriggerBg:Ye,lightTriggerColor:Pe}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Le=function(te,oe){var le={};for(var de in te)Object.prototype.hasOwnProperty.call(te,de)&&oe.indexOf(de)<0&&(le[de]=te[de]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Pe=0,de=Object.getOwnPropertySymbols(te);Pe<de.length;Pe++)oe.indexOf(de[Pe])<0&&Object.prototype.propertyIsEnumerable.call(te,de[Pe])&&(le[de[Pe]]=te[de[Pe]]);return le};const De=pe.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ne(te){let{suffixCls:oe,tagName:le,displayName:de}=te;return Pe=>pe.forwardRef((se,Ie)=>pe.createElement(Pe,Object.assign({ref:Ie,suffixCls:oe,tagName:le},se)))}const a=pe.forwardRef((te,oe)=>{const{prefixCls:le,suffixCls:de,className:Pe,tagName:ve}=te,se=Le(te,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Ie}=pe.useContext(Oe.E_),Ye=Ie("layout",le),[Te,be]=we(Ye),me=de?`${Ye}-${de}`:Ye;return Te(pe.createElement(ve,Object.assign({className:Ve()(le||me,Pe,be),ref:oe},se)))}),b=pe.forwardRef((te,oe)=>{const{direction:le}=pe.useContext(Oe.E_),[de,Pe]=pe.useState([]),{prefixCls:ve,className:se,rootClassName:Ie,children:Ye,hasSider:Te,tagName:be,style:me}=te,Ge=Le(te,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),He=(0,qe.Z)(Ge,["suffixCls"]),{getPrefixCls:je,layout:et}=pe.useContext(Oe.E_),Ft=je("layout",ve),[vt,Mt]=we(Ft),hn=Ve()(Ft,{[`${Ft}-has-sider`]:typeof Te=="boolean"?Te:de.length>0,[`${Ft}-rtl`]:le==="rtl"},et==null?void 0:et.className,se,Ie,Mt),$e=pe.useMemo(()=>({siderHook:{addSider:Ke=>{Pe(nt=>[].concat((0,ge.Z)(nt),[Ke]))},removeSider:Ke=>{Pe(nt=>nt.filter(Nt=>Nt!==Ke))}}}),[]);return vt(pe.createElement(De.Provider,{value:$e},pe.createElement(be,Object.assign({ref:oe,className:hn,style:Object.assign(Object.assign({},et==null?void 0:et.style),me)},He),Ye)))}),E=ne({tagName:"div",displayName:"Layout"})(b),y=ne({suffixCls:"header",tagName:"header",displayName:"Header"})(a),x=ne({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),z=ne({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ee=E},76529:function(ke,ut,re){"use strict";re.d(ut,{J:function(){return Oe}});var ge=re(67294),ie=re(4173),Ve=re(60276),qe=function(ce,_e){var Ee={};for(var Ne in ce)Object.prototype.hasOwnProperty.call(ce,Ne)&&_e.indexOf(Ne)<0&&(Ee[Ne]=ce[Ne]);if(ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var we=0,Ne=Object.getOwnPropertySymbols(ce);we<Ne.length;we++)_e.indexOf(Ne[we])<0&&Object.prototype.propertyIsEnumerable.call(ce,Ne[we])&&(Ee[Ne[we]]=ce[Ne[we]]);return Ee};const pe=ge.createContext(null),Oe=ge.forwardRef((ce,_e)=>{const{children:Ee}=ce,Ne=qe(ce,["children"]),we=ge.useContext(pe),Le=ge.useMemo(()=>Object.assign(Object.assign({},we),Ne),[we,Ne.prefixCls,Ne.mode,Ne.selectable]);return ge.createElement(pe.Provider,{value:Le},ge.createElement(ie.BR,null,(0,Ve.supportNodeRef)(Ee)?ge.cloneElement(Ee,{ref:_e}):Ee))});ut.Z=pe},68508:function(ke,ut,re){"use strict";re.d(ut,{default:function(){return at}});var ge=re(78595),ie=re(67294),Ve=re(71322),qe=re(94184),pe=re.n(qe),Oe=re(53124),ce=function(We,Ze){var xe={};for(var Be in We)Object.prototype.hasOwnProperty.call(We,Be)&&Ze.indexOf(Be)<0&&(xe[Be]=We[Be]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Be=Object.getOwnPropertySymbols(We);Re<Be.length;Re++)Ze.indexOf(Be[Re])<0&&Object.prototype.propertyIsEnumerable.call(We,Be[Re])&&(xe[Be[Re]]=We[Be[Re]]);return xe},Ee=We=>{const{prefixCls:Ze,className:xe,dashed:Be}=We,Re=ce(We,["prefixCls","className","dashed"]),{getPrefixCls:Qe}=ie.useContext(Oe.E_),mt=Qe("menu",Ze),Et=pe()({[`${mt}-item-divider-dashed`]:!!Be},xe);return ie.createElement(ge.iz,Object.assign({className:Et},Re))},Ne=re(37419),we=re(10366),Le=re(83062),De=re(96159),a=(0,ie.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=We=>{var Ze;const{className:xe,children:Be,icon:Re,title:Qe,danger:mt}=We,{prefixCls:Et,firstLevel:Ct,direction:$t,disableMenuItemTitleTooltip:Wt,inlineCollapsed:Qt}=ie.useContext(a),Fn=Jn=>{const ta=ie.createElement("span",{className:`${Et}-title-content`},Be);return(!Re||(0,De.l$)(Be)&&Be.type==="span")&&Be&&Jn&&Ct&&typeof Be=="string"?ie.createElement("div",{className:`${Et}-inline-collapsed-noicon`},Be.charAt(0)):ta},{siderCollapsed:Gn}=ie.useContext(Ve.D);let pn=Qe;typeof Qe=="undefined"?pn=Ct?Be:"":Qe===!1&&(pn="");const Sn={title:pn};!Gn&&!Qt&&(Sn.title=null,Sn.open=!1);const Zn=(0,Ne.Z)(Be).length;let Tn=ie.createElement(ge.ck,Object.assign({},(0,we.Z)(We,["title","icon","danger"]),{className:pe()({[`${Et}-item-danger`]:mt,[`${Et}-item-only-child`]:(Re?Zn+1:Zn)===1},xe),title:typeof Qe=="string"?Qe:void 0}),(0,De.Tm)(Re,{className:pe()((0,De.l$)(Re)?(Ze=Re.props)===null||Ze===void 0?void 0:Ze.className:"",`${Et}-item-icon`)}),Fn(Qt));return Wt||(Tn=ie.createElement(Le.Z,Object.assign({},Sn,{placement:$t==="rtl"?"left":"right",overlayClassName:`${Et}-inline-collapsed-tooltip`}),Tn)),Tn},x=We=>{var Ze;const{popupClassName:xe,icon:Be,title:Re,theme:Qe}=We,mt=ie.useContext(a),{prefixCls:Et,inlineCollapsed:Ct,theme:$t}=mt,Wt=(0,ge.Xl)();let Qt;if(!Be)Qt=Ct&&!Wt.length&&Re&&typeof Re=="string"?ie.createElement("div",{className:`${Et}-inline-collapsed-noicon`},Re.charAt(0)):ie.createElement("span",{className:`${Et}-title-content`},Re);else{const Gn=(0,De.l$)(Re)&&Re.type==="span";Qt=ie.createElement(ie.Fragment,null,(0,De.Tm)(Be,{className:pe()((0,De.l$)(Be)?(Ze=Be.props)===null||Ze===void 0?void 0:Ze.className:"",`${Et}-item-icon`)}),Gn?Re:ie.createElement("span",{className:`${Et}-title-content`},Re))}const Fn=ie.useMemo(()=>Object.assign(Object.assign({},mt),{firstLevel:!1}),[mt]);return ie.createElement(a.Provider,{value:Fn},ie.createElement(ge.Wd,Object.assign({},(0,we.Z)(We,["icon"]),{title:Qt,popupClassName:pe()(Et,xe,`${Et}-${Qe||$t}`)})))},z=re(25877),ee=re(60276),te=re(33603),oe=re(76529),le=function(We,Ze){var xe={};for(var Be in We)Object.prototype.hasOwnProperty.call(We,Be)&&Ze.indexOf(Be)<0&&(xe[Be]=We[Be]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Be=Object.getOwnPropertySymbols(We);Re<Be.length;Re++)Ze.indexOf(Be[Re])<0&&Object.prototype.propertyIsEnumerable.call(We,Be[Re])&&(xe[Be[Re]]=We[Be[Re]]);return xe};function de(We){return(We||[]).map((Ze,xe)=>{if(Ze&&typeof Ze=="object"){const Be=Ze,{label:Re,children:Qe,key:mt,type:Et}=Be,Ct=le(Be,["label","children","key","type"]),$t=mt!=null?mt:`tmp-${xe}`;return Qe||Et==="group"?Et==="group"?ie.createElement(ge.BW,Object.assign({key:$t},Ct,{title:Re}),de(Qe)):ie.createElement(x,Object.assign({key:$t},Ct,{title:Re}),de(Qe)):Et==="divider"?ie.createElement(Ee,Object.assign({key:$t},Ct)):ie.createElement(E,Object.assign({key:$t},Ct),Re)}return null}).filter(Ze=>Ze)}function Pe(We){return ie.useMemo(()=>We&&de(We),[We])}var ve=re(84780),se=re(14747),Ie=re(33507),Ye=re(67771),Te=re(50438),be=re(67968),me=re(45503),He=We=>{const{componentCls:Ze,motionDurationSlow:xe,horizontalLineHeight:Be,colorSplit:Re,lineWidth:Qe,lineType:mt,itemPaddingInline:Et}=We;return{[`${Ze}-horizontal`]:{lineHeight:Be,border:0,borderBottom:`${Qe}px ${mt} ${Re}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ze}-item, ${Ze}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Et},[`> ${Ze}-item:hover,
> ${Ze}-item-active,
> ${Ze}-submenu ${Ze}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ze}-item, ${Ze}-submenu-title`]:{transition:[`border-color ${xe}`,`background ${xe}`].join(",")},[`${Ze}-submenu-arrow`]:{display:"none"}}}},et=We=>{let{componentCls:Ze,menuArrowOffset:xe}=We;return{[`${Ze}-rtl`]:{direction:"rtl"},[`${Ze}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ze}-rtl${Ze}-vertical,
${Ze}-submenu-rtl ${Ze}-vertical`]:{[`${Ze}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${xe})`},"&::after":{transform:`rotate(45deg) translateY(${xe})`}}}}};const Ft=We=>Object.assign({},(0,se.oN)(We));var Mt=(We,Ze)=>{const{componentCls:xe,itemColor:Be,itemSelectedColor:Re,groupTitleColor:Qe,itemBg:mt,subMenuItemBg:Et,itemSelectedBg:Ct,activeBarHeight:$t,activeBarWidth:Wt,activeBarBorderWidth:Qt,motionDurationSlow:Fn,motionEaseInOut:Gn,motionEaseOut:pn,itemPaddingInline:Sn,motionDurationMid:Zn,itemHoverColor:Tn,lineType:Jn,colorSplit:ta,itemDisabledColor:ma,dangerItemColor:jn,dangerItemHoverColor:na,dangerItemSelectedColor:aa,dangerItemActiveBg:$n,dangerItemSelectedBg:la,itemHoverBg:va,itemActiveBg:Ma,menuSubMenuBg:eo,horizontalItemSelectedColor:Pa,horizontalItemSelectedBg:io,horizontalItemBorderRadius:co,horizontalItemHoverBg:Ta,popupBg:Xa}=We;return{[`${xe}-${Ze}, ${xe}-${Ze} > ${xe}`]:{color:Be,background:mt,[`&${xe}-root:focus-visible`]:Object.assign({},Ft(We)),[`${xe}-item-group-title`]:{color:Qe},[`${xe}-submenu-selected`]:{[`> ${xe}-submenu-title`]:{color:Re}},[`${xe}-item-disabled, ${xe}-submenu-disabled`]:{color:`${ma} !important`},[`${xe}-item:not(${xe}-item-selected):not(${xe}-submenu-selected)`]:{[`&:hover, > ${xe}-submenu-title:hover`]:{color:Tn}},[`&:not(${xe}-horizontal)`]:{[`${xe}-item:not(${xe}-item-selected)`]:{"&:hover":{backgroundColor:va},"&:active":{backgroundColor:Ma}},[`${xe}-submenu-title`]:{"&:hover":{backgroundColor:va},"&:active":{backgroundColor:Ma}}},[`${xe}-item-danger`]:{color:jn,[`&${xe}-item:hover`]:{[`&:not(${xe}-item-selected):not(${xe}-submenu-selected)`]:{color:na}},[`&${xe}-item:active`]:{background:$n}},[`${xe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${xe}-item-selected`]:{color:Re,[`&${xe}-item-danger`]:{color:aa},"a, a:hover":{color:"inherit"}},[`& ${xe}-item-selected`]:{backgroundColor:Ct,[`&${xe}-item-danger`]:{backgroundColor:la}},[`${xe}-item, ${xe}-submenu-title`]:{[`&:not(${xe}-item-disabled):focus-visible`]:Object.assign({},Ft(We))},[`&${xe}-submenu > ${xe}`]:{backgroundColor:eo},[`&${xe}-popup > ${xe}`]:{backgroundColor:Xa},[`&${xe}-horizontal`]:Object.assign(Object.assign({},Ze==="dark"?{borderBottom:0}:{}),{[`> ${xe}-item, > ${xe}-submenu`]:{top:Qt,marginTop:-Qt,marginBottom:0,borderRadius:co,"&::after":{position:"absolute",insetInline:Sn,bottom:0,borderBottom:`${$t}px solid transparent`,transition:`border-color ${Fn} ${Gn}`,content:'""'},"&:hover, &-active, &-open":{background:Ta,"&::after":{borderBottomWidth:$t,borderBottomColor:Pa}},"&-selected":{color:Pa,backgroundColor:io,"&:hover":{backgroundColor:io},"&::after":{borderBottomWidth:$t,borderBottomColor:Pa}}}}),[`&${xe}-root`]:{[`&${xe}-inline, &${xe}-vertical`]:{borderInlineEnd:`${Qt}px ${Jn} ${ta}`}},[`&${xe}-inline`]:{[`${xe}-sub${xe}-inline`]:{background:Et},[`${xe}-item, ${xe}-submenu-title`]:Qt&&Wt?{width:`calc(100% + ${Qt}px)`}:{},[`${xe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Wt}px solid ${Re}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Zn} ${pn}`,`opacity ${Zn} ${pn}`].join(","),content:'""'},[`&${xe}-item-danger`]:{"&::after":{borderInlineEndColor:aa}}},[`${xe}-selected, ${xe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Zn} ${Gn}`,`opacity ${Zn} ${Gn}`].join(",")}}}}}};const hn=We=>{const{componentCls:Ze,itemHeight:xe,itemMarginInline:Be,padding:Re,menuArrowSize:Qe,marginXS:mt,itemMarginBlock:Et}=We,Ct=Re+Qe+mt;return{[`${Ze}-item`]:{position:"relative",overflow:"hidden"},[`${Ze}-item, ${Ze}-submenu-title`]:{height:xe,lineHeight:`${xe}px`,paddingInline:Re,overflow:"hidden",textOverflow:"ellipsis",marginInline:Be,marginBlock:Et,width:`calc(100% - ${Be*2}px)`},[`> ${Ze}-item,
> ${Ze}-submenu > ${Ze}-submenu-title`]:{height:xe,lineHeight:`${xe}px`},[`${Ze}-item-group-list ${Ze}-submenu-title,
${Ze}-submenu-title`]:{paddingInlineEnd:Ct}}};var Ke=We=>{const{componentCls:Ze,iconCls:xe,itemHeight:Be,colorTextLightSolid:Re,dropdownWidth:Qe,controlHeightLG:mt,motionDurationMid:Et,motionEaseOut:Ct,paddingXL:$t,itemMarginInline:Wt,fontSizeLG:Qt,motionDurationSlow:Fn,paddingXS:Gn,boxShadowSecondary:pn,collapsedWidth:Sn,collapsedIconSize:Zn}=We,Tn={height:Be,lineHeight:`${Be}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ze]:{"&-inline, &-vertical":Object.assign({[`&${Ze}-root`]:{boxShadow:"none"}},hn(We))},[`${Ze}-submenu-popup`]:{[`${Ze}-vertical`]:Object.assign(Object.assign({},hn(We)),{boxShadow:pn})}},{[`${Ze}-submenu-popup ${Ze}-vertical${Ze}-sub`]:{minWidth:Qe,maxHeight:`calc(100vh - ${mt*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ze}-inline`]:{width:"100%",[`&${Ze}-root`]:{[`${Ze}-item, ${Ze}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Fn}`,`background ${Fn}`,`padding ${Et} ${Ct}`].join(","),[`> ${Ze}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ze}-sub${Ze}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ze}-submenu > ${Ze}-submenu-title`]:Tn,[`& ${Ze}-item-group-title`]:{paddingInlineStart:$t}},[`${Ze}-item`]:Tn}},{[`${Ze}-inline-collapsed`]:{width:Sn,[`&${Ze}-root`]:{[`${Ze}-item, ${Ze}-submenu ${Ze}-submenu-title`]:{[`> ${Ze}-inline-collapsed-noicon`]:{fontSize:Qt,textAlign:"center"}}},[`> ${Ze}-item,
> ${Ze}-item-group > ${Ze}-item-group-list > ${Ze}-item,
> ${Ze}-item-group > ${Ze}-item-group-list > ${Ze}-submenu > ${Ze}-submenu-title,
> ${Ze}-submenu > ${Ze}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Qt/2}px - ${Wt}px)`,textOverflow:"clip",[`
${Ze}-submenu-arrow,
${Ze}-submenu-expand-icon
`]:{opacity:0},[`${Ze}-item-icon, ${xe}`]:{margin:0,fontSize:Zn,lineHeight:`${Be}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ze}-item-icon, ${xe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ze}-item-icon, ${xe}`]:{display:"none"},"a, a:hover":{color:Re}},[`${Ze}-item-group-title`]:Object.assign(Object.assign({},se.vS),{paddingInline:Gn})}}]};const nt=We=>{const{componentCls:Ze,motionDurationSlow:xe,motionDurationMid:Be,motionEaseInOut:Re,motionEaseOut:Qe,iconCls:mt,iconSize:Et,iconMarginInlineEnd:Ct}=We;return{[`${Ze}-item, ${Ze}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${xe}`,`background ${xe}`,`padding ${xe} ${Re}`].join(","),[`${Ze}-item-icon, ${mt}`]:{minWidth:Et,fontSize:Et,transition:[`font-size ${Be} ${Qe}`,`margin ${xe} ${Re}`,`color ${xe}`].join(","),"+ span":{marginInlineStart:Ct,opacity:1,transition:[`opacity ${xe} ${Re}`,`margin ${xe}`,`color ${xe}`].join(",")}},[`${Ze}-item-icon`]:Object.assign({},(0,se.Ro)()),[`&${Ze}-item-only-child`]:{[`> ${mt}, > ${Ze}-item-icon`]:{marginInlineEnd:0}}},[`${Ze}-item-disabled, ${Ze}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ze}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Nt=We=>{const{componentCls:Ze,motionDurationSlow:xe,motionEaseInOut:Be,borderRadius:Re,menuArrowSize:Qe,menuArrowOffset:mt}=We;return{[`${Ze}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:We.margin,width:Qe,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${xe} ${Be}, opacity ${xe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Qe*.6,height:Qe*.15,backgroundColor:"currentcolor",borderRadius:Re,transition:[`background ${xe} ${Be}`,`transform ${xe} ${Be}`,`top ${xe} ${Be}`,`color ${xe} ${Be}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${mt})`},"&::after":{transform:`rotate(-45deg) translateY(${mt})`}}}}},Je=We=>{const{antCls:Ze,componentCls:xe,fontSize:Be,motionDurationSlow:Re,motionDurationMid:Qe,motionEaseInOut:mt,paddingXS:Et,padding:Ct,colorSplit:$t,lineWidth:Wt,zIndexPopup:Qt,borderRadiusLG:Fn,subMenuItemBorderRadius:Gn,menuArrowSize:pn,menuArrowOffset:Sn,lineType:Zn,menuPanelMaskInset:Tn,groupTitleLineHeight:Jn,groupTitleFontSize:ta}=We;return[{"":{[`${xe}`]:Object.assign(Object.assign({},(0,se.dF)()),{"&-hidden":{display:"none"}})},[`${xe}-submenu-hidden`]:{display:"none"}},{[xe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,se.Wf)(We)),(0,se.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:Be,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Re} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${xe}-item`]:{flex:"none"}},[`${xe}-item, ${xe}-submenu, ${xe}-submenu-title`]:{borderRadius:We.itemBorderRadius},[`${xe}-item-group-title`]:{padding:`${Et}px ${Ct}px`,fontSize:ta,lineHeight:Jn,transition:`all ${Re}`},[`&-horizontal ${xe}-submenu`]:{transition:[`border-color ${Re} ${mt}`,`background ${Re} ${mt}`].join(",")},[`${xe}-submenu, ${xe}-submenu-inline`]:{transition:[`border-color ${Re} ${mt}`,`background ${Re} ${mt}`,`padding ${Qe} ${mt}`].join(",")},[`${xe}-submenu ${xe}-sub`]:{cursor:"initial",transition:[`background ${Re} ${mt}`,`padding ${Re} ${mt}`].join(",")},[`${xe}-title-content`]:{transition:`color ${Re}`},[`${xe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${xe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:$t,borderStyle:Zn,borderWidth:0,borderTopWidth:Wt,marginBlock:Wt,padding:0,"&-dashed":{borderStyle:"dashed"}}}),nt(We)),{[`${xe}-item-group`]:{[`${xe}-item-group-list`]:{margin:0,padding:0,[`${xe}-item, ${xe}-submenu-title`]:{paddingInline:`${Be*2}px ${Ct}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Qt,borderRadius:Fn,boxShadow:"none",transformOrigin:"0 0",[`&${xe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${Tn}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:Tn},"\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:We.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:We.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:We.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:We.paddingXS},[`> ${xe}`]:Object.assign(Object.assign(Object.assign({borderRadius:Fn},nt(We)),Nt(We)),{[`${xe}-item, ${xe}-submenu > ${xe}-submenu-title`]:{borderRadius:Gn},[`${xe}-submenu-title::after`]:{transition:`transform ${Re} ${mt}`}})}}),Nt(We)),{[`&-inline-collapsed ${xe}-submenu-arrow,
&-inline ${xe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${Sn})`},"&::after":{transform:`rotate(45deg) translateX(-${Sn})`}},[`${xe}-submenu-open${xe}-submenu-inline > ${xe}-submenu-title > ${xe}-submenu-arrow`]:{transform:`translateY(-${pn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${Sn})`},"&::before":{transform:`rotate(45deg) translateX(${Sn})`}}})},{[`${Ze}-layout-header`]:{[xe]:{lineHeight:"inherit"}}}]};var Bt=(We,Ze)=>(0,be.Z)("Menu",Be=>{if(Ze===!1)return[];const{colorBgElevated:Re,colorPrimary:Qe,colorTextLightSolid:mt,controlHeightLG:Et,fontSize:Ct,darkItemColor:$t,darkDangerItemColor:Wt,darkItemBg:Qt,darkSubMenuItemBg:Fn,darkItemSelectedColor:Gn,darkItemSelectedBg:pn,darkDangerItemSelectedBg:Sn,darkItemHoverBg:Zn,darkGroupTitleColor:Tn,darkItemHoverColor:Jn,darkItemDisabledColor:ta,darkDangerItemHoverColor:ma,darkDangerItemSelectedColor:jn,darkDangerItemActiveBg:na}=Be,aa=Ct/7*5,$n=(0,me.TS)(Be,{menuArrowSize:aa,menuHorizontalHeight:Et*1.15,menuArrowOffset:`${aa*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Re}),la=(0,me.TS)($n,{itemColor:$t,itemHoverColor:Jn,groupTitleColor:Tn,itemSelectedColor:Gn,itemBg:Qt,popupBg:Qt,subMenuItemBg:Fn,itemActiveBg:"transparent",itemSelectedBg:pn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Zn,itemDisabledColor:ta,dangerItemColor:Wt,dangerItemHoverColor:ma,dangerItemSelectedColor:jn,dangerItemActiveBg:na,dangerItemSelectedBg:Sn,menuSubMenuBg:Fn,horizontalItemSelectedColor:mt,horizontalItemSelectedBg:Qe});return[Je($n),He($n),Ke($n),Mt($n,"light"),Mt(la,"dark"),et($n),(0,Ie.Z)($n),(0,Ye.oN)($n,"slide-up"),(0,Ye.oN)($n,"slide-down"),(0,Te._y)($n,"zoom-big")]},Be=>{const{colorPrimary:Re,colorError:Qe,colorTextDisabled:mt,colorErrorBg:Et,colorText:Ct,colorTextDescription:$t,colorBgContainer:Wt,colorFillAlter:Qt,colorFillContent:Fn,lineWidth:Gn,lineWidthBold:pn,controlItemBgActive:Sn,colorBgTextHover:Zn,controlHeightLG:Tn,lineHeight:Jn,colorBgElevated:ta,marginXXS:ma,padding:jn,fontSize:na,controlHeightSM:aa,fontSizeLG:$n,colorTextLightSolid:la,colorErrorHover:va}=Be,Ma=new ve.C(la).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:Be.zIndexPopupBase+50,radiusItem:Be.borderRadiusLG,itemBorderRadius:Be.borderRadiusLG,radiusSubMenuItem:Be.borderRadiusSM,subMenuItemBorderRadius:Be.borderRadiusSM,colorItemText:Ct,itemColor:Ct,colorItemTextHover:Ct,itemHoverColor:Ct,colorItemTextHoverHorizontal:Re,horizontalItemHoverColor:Re,colorGroupTitle:$t,groupTitleColor:$t,colorItemTextSelected:Re,itemSelectedColor:Re,colorItemTextSelectedHorizontal:Re,horizontalItemSelectedColor:Re,colorItemBg:Wt,itemBg:Wt,colorItemBgHover:Zn,itemHoverBg:Zn,colorItemBgActive:Fn,itemActiveBg:Sn,colorSubItemBg:Qt,subMenuItemBg:Qt,colorItemBgSelected:Sn,itemSelectedBg:Sn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:pn,activeBarHeight:pn,colorActiveBarBorderSize:Gn,activeBarBorderWidth:Gn,colorItemTextDisabled:mt,itemDisabledColor:mt,colorDangerItemText:Qe,dangerItemColor:Qe,colorDangerItemTextHover:Qe,dangerItemHoverColor:Qe,colorDangerItemTextSelected:Qe,dangerItemSelectedColor:Qe,colorDangerItemBgActive:Et,dangerItemActiveBg:Et,colorDangerItemBgSelected:Et,dangerItemSelectedBg:Et,itemMarginInline:Be.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:Tn,groupTitleLineHeight:Jn,collapsedWidth:Tn*2,popupBg:ta,itemMarginBlock:ma,itemPaddingInline:jn,horizontalLineHeight:`${Tn*1.15}px`,iconSize:na,iconMarginInlineEnd:aa-na,collapsedIconSize:$n,groupTitleFontSize:na,darkItemDisabledColor:new ve.C(la).setAlpha(.25).toRgbString(),darkItemColor:Ma,darkDangerItemColor:Qe,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:la,darkItemSelectedBg:Re,darkDangerItemSelectedBg:Qe,darkItemHoverBg:"transparent",darkGroupTitleColor:Ma,darkItemHoverColor:la,darkDangerItemHoverColor:va,darkDangerItemSelectedColor:la,darkDangerItemActiveBg:Qe}},{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"]]})(We),he=function(We,Ze){var xe={};for(var Be in We)Object.prototype.hasOwnProperty.call(We,Be)&&Ze.indexOf(Be)<0&&(xe[Be]=We[Be]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Re=0,Be=Object.getOwnPropertySymbols(We);Re<Be.length;Re++)Ze.indexOf(Be[Re])<0&&Object.prototype.propertyIsEnumerable.call(We,Be[Re])&&(xe[Be[Re]]=We[Be[Re]]);return xe},Tt=(0,ie.forwardRef)((We,Ze)=>{var xe,Be;const Re=ie.useContext(oe.Z),Qe=Re||{},{getPrefixCls:mt,getPopupContainer:Et,direction:Ct,menu:$t}=ie.useContext(Oe.E_),Wt=mt(),{prefixCls:Qt,className:Fn,style:Gn,theme:pn="light",expandIcon:Sn,_internalDisableMenuItemTitleTooltip:Zn,inlineCollapsed:Tn,siderCollapsed:Jn,items:ta,children:ma,rootClassName:jn,mode:na,selectable:aa,onClick:$n,overflowedIndicatorPopupClassName:la}=We,va=he(We,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Ma=(0,we.Z)(va,["collapsedWidth"]),eo=Pe(ta)||ma;(xe=Qe.validator)===null||xe===void 0||xe.call(Qe,{mode:na});const Pa=(0,ee.useEvent)(function(){var Ia;$n==null||$n.apply(void 0,arguments),(Ia=Qe.onClick)===null||Ia===void 0||Ia.call(Qe)}),io=Qe.mode||na,co=aa!=null?aa:Qe.selectable,Ta=ie.useMemo(()=>Jn!==void 0?Jn:Tn,[Tn,Jn]),Xa={horizontal:{motionName:`${Wt}-slide-up`},inline:(0,te.Z)(Wt),other:{motionName:`${Wt}-zoom-big`}},Fa=mt("menu",Qt||Qe.prefixCls),[to,ja]=Bt(Fa,!Re),mo=pe()(`${Fa}-${pn}`,$t==null?void 0:$t.className,Fn);let ka;if(typeof Sn=="function")ka=Sn;else if(Sn===null||Sn===!1)ka=null;else if(Qe.expandIcon===null||Qe.expandIcon===!1)ka=null;else{const Ia=Sn!=null?Sn:Qe.expandIcon;ka=(0,De.Tm)(Ia,{className:pe()(`${Fa}-submenu-expand-icon`,(0,De.l$)(Ia)?(Be=Ia.props)===null||Be===void 0?void 0:Be.className:"")})}const No=ie.useMemo(()=>({prefixCls:Fa,inlineCollapsed:Ta||!1,direction:Ct,firstLevel:!0,theme:pn,mode:io,disableMenuItemTitleTooltip:Zn}),[Fa,Ta,Ct,Zn,pn]);return to(ie.createElement(oe.Z.Provider,{value:null},ie.createElement(a.Provider,{value:No},ie.createElement(ge.ZP,Object.assign({getPopupContainer:Et,overflowedIndicator:ie.createElement(z.Z,null),overflowedIndicatorPopupClassName:pe()(Fa,`${Fa}-${pn}`,la),mode:io,selectable:co,onClick:Pa},Ma,{inlineCollapsed:Ta,style:Object.assign(Object.assign({},$t==null?void 0:$t.style),Gn),className:mo,prefixCls:Fa,direction:Ct,defaultMotions:Xa,expandIcon:ka,ref:Ze,rootClassName:pe()(jn,ja)}),eo))))});const an=(0,ie.forwardRef)((We,Ze)=>{const xe=(0,ie.useRef)(null),Be=ie.useContext(Ve.D);return(0,ie.useImperativeHandle)(Ze,()=>({menu:xe.current,focus:Re=>{var Qe;(Qe=xe.current)===null||Qe===void 0||Qe.focus(Re)}})),ie.createElement(Tt,Object.assign({ref:xe},We,Be))});an.Item=E,an.SubMenu=x,an.Divider=Ee,an.ItemGroup=ge.BW;var at=an},72665:function(ke,ut){"use strict";var re;var ge=typeof Symbol=="function"&&Symbol.for,ie=ge?Symbol.for("react.element"):60103,Ve=ge?Symbol.for("react.portal"):60106,qe=ge?Symbol.for("react.fragment"):60107,pe=ge?Symbol.for("react.strict_mode"):60108,Oe=ge?Symbol.for("react.profiler"):60114,ce=ge?Symbol.for("react.provider"):60109,_e=ge?Symbol.for("react.context"):60110,Ee=ge?Symbol.for("react.async_mode"):60111,Ne=ge?Symbol.for("react.concurrent_mode"):60111,we=ge?Symbol.for("react.forward_ref"):60112,Le=ge?Symbol.for("react.suspense"):60113,De=ge?Symbol.for("react.suspense_list"):60120,ne=ge?Symbol.for("react.memo"):60115,a=ge?Symbol.for("react.lazy"):60116,b=ge?Symbol.for("react.block"):60121,E=ge?Symbol.for("react.fundamental"):60117,y=ge?Symbol.for("react.responder"):60118,x=ge?Symbol.for("react.scope"):60119;function z(te){if(typeof te=="object"&&te!==null){var oe=te.$$typeof;switch(oe){case ie:switch(te=te.type,te){case Ee:case Ne:case qe:case Oe:case pe:case Le:return te;default:switch(te=te&&te.$$typeof,te){case _e:case we:case a:case ne:case ce:return te;default:return oe}}case Ve:return oe}}}function ee(te){return z(te)===Ne}re=Ee,re=Ne,re=_e,re=ce,re=ie,re=we,re=qe,re=a,re=ne,re=Ve,re=Oe,re=pe,re=Le,re=function(te){return ee(te)||z(te)===Ee},re=ee,re=function(te){return z(te)===_e},re=function(te){return z(te)===ce},re=function(te){return typeof te=="object"&&te!==null&&te.$$typeof===ie},re=function(te){return z(te)===we},re=function(te){return z(te)===qe},re=function(te){return z(te)===a},ut.isMemo=function(te){return z(te)===ne},re=function(te){return z(te)===Ve},re=function(te){return z(te)===Oe},re=function(te){return z(te)===pe},re=function(te){return z(te)===Le},re=function(te){return typeof te=="string"||typeof te=="function"||te===qe||te===Ne||te===Oe||te===pe||te===Le||te===De||typeof te=="object"&&te!==null&&(te.$$typeof===a||te.$$typeof===ne||te.$$typeof===ce||te.$$typeof===_e||te.$$typeof===we||te.$$typeof===E||te.$$typeof===y||te.$$typeof===x||te.$$typeof===b)},re=z},12060:function(ke,ut,re){"use strict";ke.exports=re(72665)},42767:function(ke,ut){"use strict";var re;var ge=typeof Symbol=="function"&&Symbol.for,ie=ge?Symbol.for("react.element"):60103,Ve=ge?Symbol.for("react.portal"):60106,qe=ge?Symbol.for("react.fragment"):60107,pe=ge?Symbol.for("react.strict_mode"):60108,Oe=ge?Symbol.for("react.profiler"):60114,ce=ge?Symbol.for("react.provider"):60109,_e=ge?Symbol.for("react.context"):60110,Ee=ge?Symbol.for("react.async_mode"):60111,Ne=ge?Symbol.for("react.concurrent_mode"):60111,we=ge?Symbol.for("react.forward_ref"):60112,Le=ge?Symbol.for("react.suspense"):60113,De=ge?Symbol.for("react.suspense_list"):60120,ne=ge?Symbol.for("react.memo"):60115,a=ge?Symbol.for("react.lazy"):60116,b=ge?Symbol.for("react.block"):60121,E=ge?Symbol.for("react.fundamental"):60117,y=ge?Symbol.for("react.responder"):60118,x=ge?Symbol.for("react.scope"):60119;function z(te){if(typeof te=="object"&&te!==null){var oe=te.$$typeof;switch(oe){case ie:switch(te=te.type,te){case Ee:case Ne:case qe:case Oe:case pe:case Le:return te;default:switch(te=te&&te.$$typeof,te){case _e:case we:case a:case ne:case ce:return te;default:return oe}}case Ve:return oe}}}function ee(te){return z(te)===Ne}re=Ee,re=Ne,re=_e,re=ce,re=ie,re=we,re=qe,re=a,re=ne,re=Ve,re=Oe,re=pe,re=Le,re=function(te){return ee(te)||z(te)===Ee},re=ee,re=function(te){return z(te)===_e},re=function(te){return z(te)===ce},re=function(te){return typeof te=="object"&&te!==null&&te.$$typeof===ie},re=function(te){return z(te)===we},ut.isFragment=function(te){return z(te)===qe},re=function(te){return z(te)===a},re=function(te){return z(te)===ne},re=function(te){return z(te)===Ve},re=function(te){return z(te)===Oe},re=function(te){return z(te)===pe},re=function(te){return z(te)===Le},re=function(te){return typeof te=="string"||typeof te=="function"||te===qe||te===Ne||te===Oe||te===pe||te===Le||te===De||typeof te=="object"&&te!==null&&(te.$$typeof===a||te.$$typeof===ne||te.$$typeof===ce||te.$$typeof===_e||te.$$typeof===we||te.$$typeof===E||te.$$typeof===y||te.$$typeof===x||te.$$typeof===b)},re=z},16357:function(ke,ut,re){"use strict";ke.exports=re(42767)},86128:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return le}});var ge=re(87462),ie=re(4942),Ve=re(45987),qe=re(1413),pe=re(15671),Oe=re(43144),ce=re(97326),_e=re(60136),Ee=re(51630),Ne=re(67294),we=re(94184),Le=re.n(we),De=re(64217),ne=re(27822),a=function(Pe){for(var ve=Pe.prefixCls,se=Pe.level,Ie=Pe.isStart,Ye=Pe.isEnd,Te="".concat(ve,"-indent-unit"),be=[],me=0;me<se;me+=1){var Ge;be.push(Ne.createElement("span",{key:me,className:Le()(Te,(Ge={},(0,ie.Z)(Ge,"".concat(Te,"-start"),Ie[me]),(0,ie.Z)(Ge,"".concat(Te,"-end"),Ye[me]),Ge))}))}return Ne.createElement("span",{"aria-hidden":"true",className:"".concat(ve,"-indent")},be)},b=Ne.memo(a),E=re(1089),y=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],x="open",z="close",ee="---",te=function(de){(0,_e.Z)(ve,de);var Pe=(0,Ee.Z)(ve);function ve(){var se;(0,pe.Z)(this,ve);for(var Ie=arguments.length,Ye=new Array(Ie),Te=0;Te<Ie;Te++)Ye[Te]=arguments[Te];return se=Pe.call.apply(Pe,[this].concat(Ye)),se.state={dragNodeHighlight:!1},se.selectHandle=void 0,se.onSelectorClick=function(be){var me=se.props.context.onNodeClick;me(be,(0,E.F)(se.props)),se.isSelectable()?se.onSelect(be):se.onCheck(be)},se.onSelectorDoubleClick=function(be){var me=se.props.context.onNodeDoubleClick;me(be,(0,E.F)(se.props))},se.onSelect=function(be){if(!se.isDisabled()){var me=se.props.context.onNodeSelect;be.preventDefault(),me(be,(0,E.F)(se.props))}},se.onCheck=function(be){if(!se.isDisabled()){var me=se.props,Ge=me.disableCheckbox,He=me.checked,je=se.props.context.onNodeCheck;if(!(!se.isCheckable()||Ge)){be.preventDefault();var et=!He;je(be,(0,E.F)(se.props),et)}}},se.onMouseEnter=function(be){var me=se.props.context.onNodeMouseEnter;me(be,(0,E.F)(se.props))},se.onMouseLeave=function(be){var me=se.props.context.onNodeMouseLeave;me(be,(0,E.F)(se.props))},se.onContextMenu=function(be){var me=se.props.context.onNodeContextMenu;me(be,(0,E.F)(se.props))},se.onDragStart=function(be){var me=se.props.context.onNodeDragStart;be.stopPropagation(),se.setState({dragNodeHighlight:!0}),me(be,(0,ce.Z)(se));try{be.dataTransfer.setData("text/plain","")}catch(Ge){}},se.onDragEnter=function(be){var me=se.props.context.onNodeDragEnter;be.preventDefault(),be.stopPropagation(),me(be,(0,ce.Z)(se))},se.onDragOver=function(be){var me=se.props.context.onNodeDragOver;be.preventDefault(),be.stopPropagation(),me(be,(0,ce.Z)(se))},se.onDragLeave=function(be){var me=se.props.context.onNodeDragLeave;be.stopPropagation(),me(be,(0,ce.Z)(se))},se.onDragEnd=function(be){var me=se.props.context.onNodeDragEnd;be.stopPropagation(),se.setState({dragNodeHighlight:!1}),me(be,(0,ce.Z)(se))},se.onDrop=function(be){var me=se.props.context.onNodeDrop;be.preventDefault(),be.stopPropagation(),se.setState({dragNodeHighlight:!1}),me(be,(0,ce.Z)(se))},se.onExpand=function(be){var me=se.props,Ge=me.loading,He=me.context.onNodeExpand;Ge||He(be,(0,E.F)(se.props))},se.setSelectHandle=function(be){se.selectHandle=be},se.getNodeState=function(){var be=se.props.expanded;return se.isLeaf()?null:be?x:z},se.hasChildren=function(){var be=se.props.eventKey,me=se.props.context.keyEntities,Ge=me[be]||{},He=Ge.children;return!!(He||[]).length},se.isLeaf=function(){var be=se.props,me=be.isLeaf,Ge=be.loaded,He=se.props.context.loadData,je=se.hasChildren();return me===!1?!1:me||!He&&!je||He&&Ge&&!je},se.isDisabled=function(){var be=se.props.disabled,me=se.props.context.disabled;return!!(me||be)},se.isCheckable=function(){var be=se.props.checkable,me=se.props.context.checkable;return!me||be===!1?!1:me},se.syncLoadData=function(be){var me=be.expanded,Ge=be.loading,He=be.loaded,je=se.props.context,et=je.loadData,Ft=je.onNodeLoad;Ge||et&&me&&!se.isLeaf()&&!se.hasChildren()&&!He&&Ft((0,E.F)(se.props))},se.isDraggable=function(){var be=se.props,me=be.data,Ge=be.context.draggable;return!!(Ge&&(!Ge.nodeDraggable||Ge.nodeDraggable(me)))},se.renderDragHandler=function(){var be=se.props.context,me=be.draggable,Ge=be.prefixCls;return me!=null&&me.icon?Ne.createElement("span",{className:"".concat(Ge,"-draggable-icon")},me.icon):null},se.renderSwitcherIconDom=function(be){var me=se.props.switcherIcon,Ge=se.props.context.switcherIcon,He=me||Ge;return typeof He=="function"?He((0,qe.Z)((0,qe.Z)({},se.props),{},{isLeaf:be})):He},se.renderSwitcher=function(){var be=se.props.expanded,me=se.props.context.prefixCls;if(se.isLeaf()){var Ge=se.renderSwitcherIconDom(!0);return Ge!==!1?Ne.createElement("span",{className:Le()("".concat(me,"-switcher"),"".concat(me,"-switcher-noop"))},Ge):null}var He=Le()("".concat(me,"-switcher"),"".concat(me,"-switcher_").concat(be?x:z)),je=se.renderSwitcherIconDom(!1);return je!==!1?Ne.createElement("span",{onClick:se.onExpand,className:He},je):null},se.renderCheckbox=function(){var be=se.props,me=be.checked,Ge=be.halfChecked,He=be.disableCheckbox,je=se.props.context.prefixCls,et=se.isDisabled(),Ft=se.isCheckable();if(!Ft)return null;var vt=typeof Ft!="boolean"?Ft:null;return Ne.createElement("span",{className:Le()("".concat(je,"-checkbox"),me&&"".concat(je,"-checkbox-checked"),!me&&Ge&&"".concat(je,"-checkbox-indeterminate"),(et||He)&&"".concat(je,"-checkbox-disabled")),onClick:se.onCheck},vt)},se.renderIcon=function(){var be=se.props.loading,me=se.props.context.prefixCls;return Ne.createElement("span",{className:Le()("".concat(me,"-iconEle"),"".concat(me,"-icon__").concat(se.getNodeState()||"docu"),be&&"".concat(me,"-icon_loading"))})},se.renderSelector=function(){var be=se.state.dragNodeHighlight,me=se.props,Ge=me.title,He=Ge===void 0?ee:Ge,je=me.selected,et=me.icon,Ft=me.loading,vt=me.data,Mt=se.props.context,hn=Mt.prefixCls,$e=Mt.showIcon,Ke=Mt.icon,nt=Mt.loadData,Nt=Mt.titleRender,Je=se.isDisabled(),Bt="".concat(hn,"-node-content-wrapper"),he;if($e){var it=et||Ke;he=it?Ne.createElement("span",{className:Le()("".concat(hn,"-iconEle"),"".concat(hn,"-icon__customize"))},typeof it=="function"?it(se.props):it):se.renderIcon()}else nt&&Ft&&(he=se.renderIcon());var Tt;typeof He=="function"?Tt=He(vt):Nt?Tt=Nt(vt):Tt=He;var an=Ne.createElement("span",{className:"".concat(hn,"-title")},Tt);return Ne.createElement("span",{ref:se.setSelectHandle,title:typeof He=="string"?He:"",className:Le()("".concat(Bt),"".concat(Bt,"-").concat(se.getNodeState()||"normal"),!Je&&(je||be)&&"".concat(hn,"-node-selected")),onMouseEnter:se.onMouseEnter,onMouseLeave:se.onMouseLeave,onContextMenu:se.onContextMenu,onClick:se.onSelectorClick,onDoubleClick:se.onSelectorDoubleClick},he,an,se.renderDropIndicator())},se.renderDropIndicator=function(){var be=se.props,me=be.disabled,Ge=be.eventKey,He=se.props.context,je=He.draggable,et=He.dropLevelOffset,Ft=He.dropPosition,vt=He.prefixCls,Mt=He.indent,hn=He.dropIndicatorRender,$e=He.dragOverNodeKey,Ke=He.direction,nt=!!je,Nt=!me&&nt&&$e===Ge;return Nt?hn({dropPosition:Ft,dropLevelOffset:et,indent:Mt,prefixCls:vt,direction:Ke}):null},se}return(0,Oe.Z)(ve,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var Ie=this.props.selectable,Ye=this.props.context.selectable;return typeof Ie=="boolean"?Ie:Ye}},{key:"render",value:function(){var Ie,Ye=this.props,Te=Ye.eventKey,be=Ye.className,me=Ye.style,Ge=Ye.dragOver,He=Ye.dragOverGapTop,je=Ye.dragOverGapBottom,et=Ye.isLeaf,Ft=Ye.isStart,vt=Ye.isEnd,Mt=Ye.expanded,hn=Ye.selected,$e=Ye.checked,Ke=Ye.halfChecked,nt=Ye.loading,Nt=Ye.domRef,Je=Ye.active,Bt=Ye.data,he=Ye.onMouseMove,it=Ye.selectable,Tt=(0,Ve.Z)(Ye,y),an=this.props.context,at=an.prefixCls,We=an.filterTreeNode,Ze=an.keyEntities,xe=an.dropContainerKey,Be=an.dropTargetKey,Re=an.draggingNodeKey,Qe=this.isDisabled(),mt=(0,De.Z)(Tt,{aria:!0,data:!0}),Et=Ze[Te]||{},Ct=Et.level,$t=vt[vt.length-1],Wt=this.isDraggable(),Qt=!Qe&&Wt,Fn=Re===Te,Gn=it!==void 0?{"aria-selected":!!it}:void 0;return Ne.createElement("div",(0,ge.Z)({ref:Nt,className:Le()(be,"".concat(at,"-treenode"),(Ie={},(0,ie.Z)(Ie,"".concat(at,"-treenode-disabled"),Qe),(0,ie.Z)(Ie,"".concat(at,"-treenode-switcher-").concat(Mt?"open":"close"),!et),(0,ie.Z)(Ie,"".concat(at,"-treenode-checkbox-checked"),$e),(0,ie.Z)(Ie,"".concat(at,"-treenode-checkbox-indeterminate"),Ke),(0,ie.Z)(Ie,"".concat(at,"-treenode-selected"),hn),(0,ie.Z)(Ie,"".concat(at,"-treenode-loading"),nt),(0,ie.Z)(Ie,"".concat(at,"-treenode-active"),Je),(0,ie.Z)(Ie,"".concat(at,"-treenode-leaf-last"),$t),(0,ie.Z)(Ie,"".concat(at,"-treenode-draggable"),Wt),(0,ie.Z)(Ie,"dragging",Fn),(0,ie.Z)(Ie,"drop-target",Be===Te),(0,ie.Z)(Ie,"drop-container",xe===Te),(0,ie.Z)(Ie,"drag-over",!Qe&&Ge),(0,ie.Z)(Ie,"drag-over-gap-top",!Qe&&He),(0,ie.Z)(Ie,"drag-over-gap-bottom",!Qe&&je),(0,ie.Z)(Ie,"filter-node",We&&We((0,E.F)(this.props))),Ie)),style:me,draggable:Qt,"aria-grabbed":Fn,onDragStart:Qt?this.onDragStart:void 0,onDragEnter:Wt?this.onDragEnter:void 0,onDragOver:Wt?this.onDragOver:void 0,onDragLeave:Wt?this.onDragLeave:void 0,onDrop:Wt?this.onDrop:void 0,onDragEnd:Wt?this.onDragEnd:void 0,onMouseMove:he},Gn,mt),Ne.createElement(b,{prefixCls:at,level:Ct,isStart:Ft,isEnd:vt}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),ve}(Ne.Component),oe=function(Pe){return Ne.createElement(ne.k.Consumer,null,function(ve){return Ne.createElement(te,(0,ge.Z)({},Pe,{context:ve}))})};oe.displayName="TreeNode",oe.isTreeNode=1;var le=oe},27822:function(ke,ut,re){"use strict";re.d(ut,{k:function(){return ie}});var ge=re(67294),ie=ge.createContext(null)},10225:function(ke,ut,re){"use strict";re.d(ut,{BT:function(){return b},Ds:function(){return we},E6:function(){return x},L0:function(){return _e},OM:function(){return a},_5:function(){return ce},bt:function(){return Ne},r7:function(){return z},wA:function(){return Le},yx:function(){return Ee}});var ge=re(74902),ie=re(71002),Ve=re(67294),qe=re(80334),pe=re(86128),Oe=null;function ce(ee,te){if(!ee)return[];var oe=ee.slice(),le=oe.indexOf(te);return le>=0&&oe.splice(le,1),oe}function _e(ee,te){var oe=(ee||[]).slice();return oe.indexOf(te)===-1&&oe.push(te),oe}function Ee(ee){return ee.split("-")}function Ne(ee,te){return"".concat(ee,"-").concat(te)}function we(ee){return ee&&ee.type&&ee.type.isTreeNode}function Le(ee,te){var oe=[],le=te[ee];function de(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Pe.forEach(function(ve){var se=ve.key,Ie=ve.children;oe.push(se),de(Ie)})}return de(le.children),oe}function De(ee){if(ee.parent){var te=Ee(ee.pos);return Number(te[te.length-1])===ee.parent.children.length-1}return!1}function ne(ee){var te=Ee(ee.pos);return Number(te[te.length-1])===0}function a(ee,te,oe,le,de,Pe,ve,se,Ie,Ye){var Te,be=ee.clientX,me=ee.clientY,Ge=ee.target.getBoundingClientRect(),He=Ge.top,je=Ge.height,et=(Ye==="rtl"?-1:1)*(((de==null?void 0:de.x)||0)-be),Ft=(et-12)/le,vt=se[oe.props.eventKey];if(me<He+je/2){var Mt=ve.findIndex(function(at){return at.key===vt.key}),hn=Mt<=0?0:Mt-1,$e=ve[hn].key;vt=se[$e]}var Ke=vt.key,nt=vt,Nt=vt.key,Je=0,Bt=0;if(!Ie.includes(Ke))for(var he=0;he<Ft&&De(vt);he+=1)vt=vt.parent,Bt+=1;var it=te.props.data,Tt=vt.node,an=!0;return ne(vt)&&vt.level===0&&me<He+je/2&&Pe({dragNode:it,dropNode:Tt,dropPosition:-1})&&vt.key===oe.props.eventKey?Je=-1:(nt.children||[]).length&&Ie.includes(Nt)?Pe({dragNode:it,dropNode:Tt,dropPosition:0})?Je=0:an=!1:Bt===0?Ft>-1.5?Pe({dragNode:it,dropNode:Tt,dropPosition:1})?Je=1:an=!1:Pe({dragNode:it,dropNode:Tt,dropPosition:0})?Je=0:Pe({dragNode:it,dropNode:Tt,dropPosition:1})?Je=1:an=!1:Pe({dragNode:it,dropNode:Tt,dropPosition:1})?Je=1:an=!1,{dropPosition:Je,dropLevelOffset:Bt,dropTargetKey:vt.key,dropTargetPos:vt.pos,dragOverNodeKey:Nt,dropContainerKey:Je===0?null:((Te=vt.parent)===null||Te===void 0?void 0:Te.key)||null,dropAllowed:an}}function b(ee,te){if(ee){var oe=te.multiple;return oe?ee.slice():ee.length?[ee[0]]:ee}}var E=function(te){return te};function y(ee,te){if(!ee)return[];var oe=te||{},le=oe.processProps,de=le===void 0?E:le,Pe=Array.isArray(ee)?ee:[ee];return Pe.map(function(ve){var se=ve.children,Ie=_objectWithoutProperties(ve,Oe),Ye=y(se,te);return React.createElement(TreeNode,_extends({key:Ie.key},de(Ie)),Ye)})}function x(ee){if(!ee)return null;var te;if(Array.isArray(ee))te={checkedKeys:ee,halfCheckedKeys:void 0};else if((0,ie.Z)(ee)==="object")te={checkedKeys:ee.checked||void 0,halfCheckedKeys:ee.halfChecked||void 0};else return(0,qe.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return te}function z(ee,te){var oe=new Set;function le(de){if(!oe.has(de)){var Pe=te[de];if(Pe){oe.add(de);var ve=Pe.parent,se=Pe.node;se.disabled||ve&&le(ve.key)}}}return(ee||[]).forEach(function(de){le(de)}),(0,ge.Z)(oe)}},17341:function(ke,ut,re){"use strict";re.d(ut,{S:function(){return Oe}});var ge=re(80334);function ie(ce,_e){var Ee=new Set;return ce.forEach(function(Ne){_e.has(Ne)||Ee.add(Ne)}),Ee}function Ve(ce){var _e=ce||{},Ee=_e.disabled,Ne=_e.disableCheckbox,we=_e.checkable;return!!(Ee||Ne)||we===!1}function qe(ce,_e,Ee,Ne){for(var we=new Set(ce),Le=new Set,De=0;De<=Ee;De+=1){var ne=_e.get(De)||new Set;ne.forEach(function(y){var x=y.key,z=y.node,ee=y.children,te=ee===void 0?[]:ee;we.has(x)&&!Ne(z)&&te.filter(function(oe){return!Ne(oe.node)}).forEach(function(oe){we.add(oe.key)})})}for(var a=new Set,b=Ee;b>=0;b-=1){var E=_e.get(b)||new Set;E.forEach(function(y){var x=y.parent,z=y.node;if(!(Ne(z)||!y.parent||a.has(y.parent.key))){if(Ne(y.parent.node)){a.add(x.key);return}var ee=!0,te=!1;(x.children||[]).filter(function(oe){return!Ne(oe.node)}).forEach(function(oe){var le=oe.key,de=we.has(le);ee&&!de&&(ee=!1),!te&&(de||Le.has(le))&&(te=!0)}),ee&&we.add(x.key),te&&Le.add(x.key),a.add(x.key)}})}return{checkedKeys:Array.from(we),halfCheckedKeys:Array.from(ie(Le,we))}}function pe(ce,_e,Ee,Ne,we){for(var Le=new Set(ce),De=new Set(_e),ne=0;ne<=Ne;ne+=1){var a=Ee.get(ne)||new Set;a.forEach(function(x){var z=x.key,ee=x.node,te=x.children,oe=te===void 0?[]:te;!Le.has(z)&&!De.has(z)&&!we(ee)&&oe.filter(function(le){return!we(le.node)}).forEach(function(le){Le.delete(le.key)})})}De=new Set;for(var b=new Set,E=Ne;E>=0;E-=1){var y=Ee.get(E)||new Set;y.forEach(function(x){var z=x.parent,ee=x.node;if(!(we(ee)||!x.parent||b.has(x.parent.key))){if(we(x.parent.node)){b.add(z.key);return}var te=!0,oe=!1;(z.children||[]).filter(function(le){return!we(le.node)}).forEach(function(le){var de=le.key,Pe=Le.has(de);te&&!Pe&&(te=!1),!oe&&(Pe||De.has(de))&&(oe=!0)}),te||Le.delete(z.key),oe&&De.add(z.key),b.add(z.key)}})}return{checkedKeys:Array.from(Le),halfCheckedKeys:Array.from(ie(De,Le))}}function Oe(ce,_e,Ee,Ne){var we=[],Le;Ne?Le=Ne:Le=Ve;var De=new Set(ce.filter(function(E){var y=!!Ee[E];return y||we.push(E),y})),ne=new Map,a=0;Object.keys(Ee).forEach(function(E){var y=Ee[E],x=y.level,z=ne.get(x);z||(z=new Set,ne.set(x,z)),z.add(y),a=Math.max(a,x)}),(0,ge.ZP)(!we.length,"Tree missing follow keys: ".concat(we.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var b;return _e===!0?b=qe(De,ne,a,Le):b=pe(De,_e.halfCheckedKeys,ne,a,Le),b}},1089:function(ke,ut,re){"use strict";re.d(ut,{F:function(){return y},H8:function(){return E},I8:function(){return b},km:function(){return Ne},oH:function(){return ne},w$:function(){return we},zn:function(){return De}});var ge=re(71002),ie=re(74902),Ve=re(1413),qe=re(45987),pe=re(98423),Oe=re(50344),ce=re(80334),_e=re(10225),Ee=["children"];function Ne(x,z){return x!=null?x:z}function we(x){var z=x||{},ee=z.title,te=z._title,oe=z.key,le=z.children,de=ee||"title";return{title:de,_title:te||[de],key:oe||"key",children:le||"children"}}function Le(x,z){var ee=new Map;function te(oe){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(oe||[]).forEach(function(de){var Pe=de[z.key],ve=de[z.children];warning(Pe!=null,"Tree node must have a certain key: [".concat(le).concat(Pe,"]"));var se=String(Pe);warning(!ee.has(se)||Pe===null||Pe===void 0,"Same 'key' exist in the Tree: ".concat(se)),ee.set(se,!0),te(ve,"".concat(le).concat(se," > "))})}te(x)}function De(x){function z(ee){var te=(0,Oe.Z)(ee);return te.map(function(oe){if(!(0,_e.Ds)(oe))return(0,ce.ZP)(!oe,"Tree/TreeNode can only accept TreeNode as children."),null;var le=oe.key,de=oe.props,Pe=de.children,ve=(0,qe.Z)(de,Ee),se=(0,Ve.Z)({key:le},ve),Ie=z(Pe);return Ie.length&&(se.children=Ie),se}).filter(function(oe){return oe})}return z(x)}function ne(x,z,ee){var te=we(ee),oe=te._title,le=te.key,de=te.children,Pe=new Set(z===!0?[]:z),ve=[];function se(Ie){var Ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return Ie.map(function(Te,be){for(var me=(0,_e.bt)(Ye?Ye.pos:"0",be),Ge=Ne(Te[le],me),He,je=0;je<oe.length;je+=1){var et=oe[je];if(Te[et]!==void 0){He=Te[et];break}}var Ft=(0,Ve.Z)((0,Ve.Z)({},(0,pe.Z)(Te,[].concat((0,ie.Z)(oe),[le,de]))),{},{title:He,key:Ge,parent:Ye,pos:me,children:null,data:Te,isStart:[].concat((0,ie.Z)(Ye?Ye.isStart:[]),[be===0]),isEnd:[].concat((0,ie.Z)(Ye?Ye.isEnd:[]),[be===Ie.length-1])});return ve.push(Ft),z===!0||Pe.has(Ge)?Ft.children=se(Te[de]||[],Ft):Ft.children=[],Ft})}return se(x),ve}function a(x,z,ee){var te={};(0,ge.Z)(ee)==="object"?te=ee:te={externalGetKey:ee},te=te||{};var oe=te,le=oe.childrenPropName,de=oe.externalGetKey,Pe=oe.fieldNames,ve=we(Pe),se=ve.key,Ie=ve.children,Ye=le||Ie,Te;de?typeof de=="string"?Te=function(Ge){return Ge[de]}:typeof de=="function"&&(Te=function(Ge){return de(Ge)}):Te=function(Ge,He){return Ne(Ge[se],He)};function be(me,Ge,He,je){var et=me?me[Ye]:x,Ft=me?(0,_e.bt)(He.pos,Ge):"0",vt=me?[].concat((0,ie.Z)(je),[me]):[];if(me){var Mt=Te(me,Ft),hn={node:me,index:Ge,pos:Ft,key:Mt,parentPos:He.node?He.pos:null,level:He.level+1,nodes:vt};z(hn)}et&&et.forEach(function($e,Ke){be($e,Ke,{node:me,pos:Ft,level:He?He.level+1:-1},vt)})}be(null)}function b(x){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ee=z.initWrapper,te=z.processEntity,oe=z.onProcessFinished,le=z.externalGetKey,de=z.childrenPropName,Pe=z.fieldNames,ve=arguments.length>2?arguments[2]:void 0,se=le||ve,Ie={},Ye={},Te={posEntities:Ie,keyEntities:Ye};return ee&&(Te=ee(Te)||Te),a(x,function(be){var me=be.node,Ge=be.index,He=be.pos,je=be.key,et=be.parentPos,Ft=be.level,vt=be.nodes,Mt={node:me,nodes:vt,index:Ge,key:je,pos:He,level:Ft},hn=Ne(je,He);Ie[He]=Mt,Ye[hn]=Mt,Mt.parent=Ie[et],Mt.parent&&(Mt.parent.children=Mt.parent.children||[],Mt.parent.children.push(Mt)),te&&te(Mt,Te)},{externalGetKey:se,childrenPropName:de,fieldNames:Pe}),oe&&oe(Te),Te}function E(x,z){var ee=z.expandedKeys,te=z.selectedKeys,oe=z.loadedKeys,le=z.loadingKeys,de=z.checkedKeys,Pe=z.halfCheckedKeys,ve=z.dragOverNodeKey,se=z.dropPosition,Ie=z.keyEntities,Ye=Ie[x],Te={eventKey:x,expanded:ee.indexOf(x)!==-1,selected:te.indexOf(x)!==-1,loaded:oe.indexOf(x)!==-1,loading:le.indexOf(x)!==-1,checked:de.indexOf(x)!==-1,halfChecked:Pe.indexOf(x)!==-1,pos:String(Ye?Ye.pos:""),dragOver:ve===x&&se===0,dragOverGapTop:ve===x&&se===-1,dragOverGapBottom:ve===x&&se===1};return Te}function y(x){var z=x.data,ee=x.expanded,te=x.selected,oe=x.checked,le=x.loaded,de=x.loading,Pe=x.halfChecked,ve=x.dragOver,se=x.dragOverGapTop,Ie=x.dragOverGapBottom,Ye=x.pos,Te=x.active,be=x.eventKey,me=(0,Ve.Z)((0,Ve.Z)({},z),{},{expanded:ee,selected:te,checked:oe,loaded:le,loading:de,halfChecked:Pe,dragOver:ve,dragOverGapTop:se,dragOverGapBottom:Ie,pos:Ye,active:Te,key:be});return"props"in me||Object.defineProperty(me,"props",{get:function(){return(0,ce.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),x}}),me}},64217:function(ke,ut,re){"use strict";re.d(ut,{Z:function(){return _e}});var ge=re(1413),ie=`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`,Ve=`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`,qe="".concat(ie," ").concat(Ve).split(/[\s\n]+/),pe="aria-",Oe="data-";function ce(Ee,Ne){return Ee.indexOf(Ne)===0}function _e(Ee){var Ne=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,we;Ne===!1?we={aria:!0,data:!0,attr:!0}:Ne===!0?we={aria:!0}:we=(0,ge.Z)({},Ne);var Le={};return Object.keys(Ee).forEach(function(De){(we.aria&&(De==="role"||ce(De,pe))||we.data&&ce(De,Oe)||we.attr&&qe.includes(De))&&(Le[De]=Ee[De])}),Le}}}]);