(self.webpackChunk=self.webpackChunk||[]).push([[67],{22751:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return vt}});var ue=Fe(87462),ft=Fe(67294),qt={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"},tn=qt,bt=Fe(74643),nn=function(Ze,ve){return ft.createElement(bt.Z,(0,ue.Z)({},Ze,{ref:ve,icon:tn}))},vt=ft.forwardRef(nn)},91034:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return vt}});var ue=Fe(87462),ft=Fe(67294),qt={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"},tn=qt,bt=Fe(74643),nn=function(Ze,ve){return ft.createElement(bt.Z,(0,ue.Z)({},Ze,{ref:ve,icon:tn}))},vt=ft.forwardRef(nn)},71736:function(kt,tA){"use strict";tA.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},39132:function(kt,tA){"use strict";tA.Z={flex_box_center:"flex_box_center___vG4eV",flex_space_between:"flex_space_between___qVVxe",flex_box_vertical_center:"flex_box_vertical_center___P8Z8s",flex_box_center_end:"flex_box_center_end___VMme3",flex_box_column:"flex_box_column___VMHwm",dropdownmenus:"dropdownmenus___oVzoj",popupClassNames:"popupClassNames___OcZq7",selectdown:"selectdown___mmcA8"}},18023:function(){"use strict";function kt(he,a,y,E){y===void 0&&(y=0),E===void 0&&(E=1/0),this._name=he,this._defaultValue=a,this._minimum=y,this._maximum=E}Object.defineProperty(kt.prototype,"name",{get:function(){return this._name},set:function(he){if(typeof he!="string"||he==="")throw new Error("Shape name must be a valid string.");this._name=he}}),Object.defineProperty(kt.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(he){if(typeof he!="number"||isNaN(he))throw new Error("The default value must be a real number, not: "+he);this._defaultValue=he}}),Object.defineProperty(kt.prototype,"minimum",{get:function(){return this._minimum},set:function(he){if(typeof he!="number"||isNaN(he))throw new Error("Minimum must be a real number, not: "+he);this._minimum=he}}),Object.defineProperty(kt.prototype,"maximum",{get:function(){return this._maximum},set:function(he){if(typeof he!="number"||isNaN(he))throw new Error("Maximum must be a real number, not: "+he);this._maximum=he}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(he,a){var y=go.Shape._FigureParameters[he];return y?y[a]:null},go.Shape.setFigureParameter=function(he,a,y){if(!(y instanceof kt))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+y);if(y.defaultValuey.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+y.defaultValue);var E=go.Shape._FigureParameters[he];E||(E=[],go.Shape._FigureParameters[he]=E),E[a]=y};var tA=[];function Fe(he,a){var y=tA.pop();return y===void 0?new go.Point(he,a):(y.x=he,y.y=a,y)}function ue(){var he=tA.pop();return he===void 0?new go.Point:he}function ft(he){tA.push(he)}function qt(he,a,y,E,b,ee,ie,ce,Be){Be||(Be=new go.Point);var Ce=he-y,Ue=b-ie,Oe=NaN,tt=NaN;if(Ce===0)if(Ue===0)he===y&&(Oe=he,tt=a);else{var qe=(ee-ce)/Ue,ht=ee-qe*b;Oe=he,tt=qe*Oe+ht}else if(Ue===0){var St=(a-E)/Ce,Tt=a-St*he;Oe=b,tt=St*Oe+Tt}else{var St=(a-E)/Ce,qe=(ee-ce)/Ue,Tt=a-St*he,ht=ee-qe*b;Oe=(ht-Tt)/(St-qe),tt=St*Oe+Tt}return Be.x=Oe,Be.y=tt,Be}function tn(he,a,y,E,b,ee,ie,ce,Be,Ce,Ue,Oe,tt,qe){var ht=1-Be,St=Be,Tt=he*ht+y*St,Kt=a*ht+E*St,an=y*ht+b*St,Nn=E*ht+ee*St,un=b*ht+ie*St,zt=ee*ht+ce*St,Jt=Tt*ht+an*St,Pt=Kt*ht+Nn*St,Ye=an*ht+un*St,Wt=Nn*ht+zt*St,en=Jt*ht+Ye*St,$n=Pt*ht+Wt*St;Ce.x=Tt,Ce.y=Kt,Ue.x=Jt,Ue.y=Pt,Oe.x=en,Oe.y=$n,tt.x=Ye,tt.y=Wt,qe.x=un,qe.y=zt}var bt=new go.Spot(.156,.156),nn=new go.Spot(.844,.844),vt=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new kt("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(he,a,y){var E=he?he.parameter1:NaN;(isNaN(E)||E<0)&&(E=5),E=Math.min(E,a/3),E=Math.min(E,y/3);var b=E*vt,ee=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-b,0,a,b)).add(new go.PathSegment(go.PathSegment.Line,a,y-E)).add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,y-b,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,E,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,b,y,0,y-b)).add(new go.PathSegment(go.PathSegment.Line,0,E)).add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()));return b>1&&(ee.spot1=new go.Spot(0,0,b,b),ee.spot2=new go.Spot(1,1,-b,-b)),ee}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(he,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(he,a,y){return new go.Geometry().add(new go.PathFigure(a,y).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(he,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(he,a,y){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=y/2,E.endX=a,E.endY=y/2,E}),go.Shape.defineFigureGenerator("LineV",function(he,a,y){var E=new go.Geometry(go.Geometry.Line);return E.startX=a/2,E.startY=0,E.endX=a/2,E.endY=y,E}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,y/2,!1).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("XLine",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LineRight",function(he,a,y){return new go.Geometry().add(new go.PathFigure(.25*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)))}),go.Shape.defineFigureGenerator("LineDown",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,.25*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Line,a,.25*y)))}),go.Shape.defineFigureGenerator("LineLeft",function(he,a,y){return new go.Geometry().add(new go.PathFigure(.75*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,y)))}),go.Shape.defineFigureGenerator("LineUp",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,.75*y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,a,.75*y)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(he,a,y){var E=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(E*a,(1-E)*y,!1).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,E*y)).add(new go.PathSegment(go.PathSegment.Move,E*a,E*y)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,(1-E)*y)).add(new go.PathSegment(go.PathSegment.Move,0,y/2)).add(new go.PathSegment(go.PathSegment.Line,a,y/2)).add(new go.PathSegment(go.PathSegment.Move,a/2,0)).add(new go.PathSegment(go.PathSegment.Line,a/2,y)))}),go.Shape.defineFigureGenerator("CircleLine",function(he,a,y){var E=a/2,b=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 b.spot1=bt,b.spot2=nn,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(he,a,y){var E=new go.Geometry(go.Geometry.Line);return E.startX=0,E.startY=0,E.endX=a,E.endY=y,E}),go.Shape.defineFigureGenerator("Line2",function(he,a,y){var E=new go.Geometry(go.Geometry.Line);return E.startX=a,E.startY=0,E.endX=0,E.endY=y,E}),go.Shape.defineFigureGenerator("Curve1",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,vt*a,0,a,(1-vt)*y)))}),go.Shape.defineFigureGenerator("Curve2",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,a,y,0,vt*y,(1-vt)*a,y)))}),go.Shape.defineFigureGenerator("Curve3",function(he,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,vt*y,vt*a,y)))}),go.Shape.defineFigureGenerator("Curve4",function(he,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,y,(1-vt)*a,0,0,(1-vt)*y)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(he,a,y){return new go.Geometry().add(new go.PathFigure(a,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new kt("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)?E=.1:E<-1?E=-1:E>1&&(E=1);var b=Math.abs(E)*a;if(E===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return E>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(E=a);var b=Math.abs(E);if(E===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return E>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),b.5&&(E=.5);var b=Math.abs(E)*a;if(E===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return E>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(E=a/2);var b=Math.abs(E);if(E===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return E>0?ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())):ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())),ba&&(E=a/2);var b=Math.abs(E);if(E===0){var ee=new go.Geometry(go.Geometry.Rectangle);return ee.startX=0,ee.startY=0,ee.endX=a,ee.endY=y,ee}else{var ee=new go.Geometry;return E>0?ee.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a-b,y)).add(new go.PathSegment(go.PathSegment.Line,b,y).close())):ee.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,a-b,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close())),b0&&(ie.add(new go.PathSegment(go.PathSegment.Move,a/2+ce,a/2)),ie.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,ce,ce).close())),ee.spot1=bt,ee.spot2=nn,ee.defaultStretch=go.GraphObject.Uniform,ee}),go.Shape.defineFigureGenerator("Cloud",function(he,a,y){return new go.Geometry().add(new go.PathFigure(.08034461*a,.1944299*y,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*a,.05349299*y,-.09239631*a,.07836421*y,.1406031*a,-.0542823*y)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*a,.074219*y,.2450511*a,-.00697547*y,.3776197*a,-.01112067*y)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*a,.07004196*y,.4539471*a,0,.6066018*a,-.02526587*y)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*a,.08370865*y,.6914277*a,-.01904177*y,.8921095*a,-.01220843*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*a,.3194596*y,1.036446*a,.04105738*y,1.020377*a,.3022052*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*a,.562044*y,1.04448*a,.360238*y,.992256*a,.5219009*y)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*a,.8217117*y,1.032337*a,.5771781*y,1.018411*a,.8120651*y)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*a,.9156953*y,1.028411*a,.9571472*y,.8556702*a,1.052487*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*a,.9310455*y,.7431877*a,1.009325*y,.5624123*a,1.021761*y)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*a,.9344623*y,.4820677*a,1.031761*y,.3030112*a,1.002796*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.870098*y,.2329994*a,1.01518*y,.03213784*a,1.01518*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*a,.6545475*y,-.02812061*a,.9032597*y,-.01205169*a,.6835638*y)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*a,.4265613*y,-.01812061*a,.6089503*y,-.00606892*a,.4555777*y)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*a,.1944299*y,-.01606892*a,.3892545*y,-.01205169*a,.1944299*y))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(he,a,y){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*y)).add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)).add(new go.PathSegment(go.PathSegment.Line,E*a,y)).add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y)).add(new go.PathSegment(go.PathSegment.Line,0,E*y).close())).setSpots(E/2,E/2,1-E/2,1-E/2)}),go.Shape.setFigureParameter("Pie",0,new kt("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new kt("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(he,a,y){var E=he?he.parameter1:NaN,b=he?he.parameter2:NaN;isNaN(E)&&(E=0),isNaN(b)&&(b=315);var ee=E%360;ee<0&&(ee+=360);var ie=b%360,ce=Math.min(a,y)/2;return new go.Geometry().add(new go.PathFigure(ce,ce).add(new go.PathSegment(go.PathSegment.Arc,ee,ie,ce,ce,ce,ce).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(he,a,y){var E=vt/Math.SQRT2*.5,b=Math.SQRT2/2,ee=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*a,ee*y,a,(1-E)*y,(b+E)*a,(ee+E)*y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()))}),go.Shape.setFigureParameter("ThickCross",0,new kt("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(he,a,y){var E=he?he.parameter1:NaN;(isNaN(E)||E<0)&&(E=30);var b=Math.min(E,a)/2,ee=a/2,ie=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,ie-b)).add(new go.PathSegment(go.PathSegment.Line,a,ie-b)).add(new go.PathSegment(go.PathSegment.Line,a,ie+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,ie+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,ie+b)).add(new go.PathSegment(go.PathSegment.Line,0,ie+b)).add(new go.PathSegment(go.PathSegment.Line,0,ie-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,ie-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new kt("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(he,a,y){var E=he?he.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=Math.min(E,a)/2,ee=a/2,ie=y/2;return new go.Geometry().add(new go.PathFigure(ee-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,ee+b,0)).add(new go.PathSegment(go.PathSegment.Line,ee+b,ie-b)).add(new go.PathSegment(go.PathSegment.Line,a,ie-b)).add(new go.PathSegment(go.PathSegment.Line,a,ie+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,ie+b)).add(new go.PathSegment(go.PathSegment.Line,ee+b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,y)).add(new go.PathSegment(go.PathSegment.Line,ee-b,ie+b)).add(new go.PathSegment(go.PathSegment.Line,0,ie+b)).add(new go.PathSegment(go.PathSegment.Line,0,ie-b)).add(new go.PathSegment(go.PathSegment.Line,ee-b,ie-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new kt("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(he,a,y){var E=he?he.parameter1:NaN;if((isNaN(E)||E<0)&&(E=30),a===0||y===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=a,b.endY=y,b}else{var ee=a/2,ie=y/2,ce=Math.atan2(y,a),Be=E-Math.min(Math.cos(ce)*E/2,ee),Ce=E-Math.min(Math.sin(ce)*E/2,ie),b=new go.Geometry,Ue=new go.PathFigure(Be,0,!0);return b.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,ee,.2*y)),Ue.add(new go.PathSegment(go.PathSegment.Line,a-Be,0)),Ue.add(new go.PathSegment(go.PathSegment.Line,a,Ce)),Ue.add(new go.PathSegment(go.PathSegment.Line,.8*a,ie)),Ue.add(new go.PathSegment(go.PathSegment.Line,a,y-Ce)),Ue.add(new go.PathSegment(go.PathSegment.Line,a-Be,y)),Ue.add(new go.PathSegment(go.PathSegment.Line,ee,.8*y)),Ue.add(new go.PathSegment(go.PathSegment.Line,Be,y)),Ue.add(new go.PathSegment(go.PathSegment.Line,0,y-Ce)),Ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ie)),Ue.add(new go.PathSegment(go.PathSegment.Line,0,Ce).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new kt("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(he,a,y){var E=he?he.parameter1:NaN;(isNaN(E)||E<0)&&(E=10);var b=new go.Geometry,ee=new go.PathFigure(.1*a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.1*y).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new kt("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5+E/2)*a,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*a,(1-E)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(.5-E/2)*a,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E*y).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new kt("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=.5);var b=new go.Geometry,ee=new go.PathFigure(0,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,y,Math.abs(1-E)*a,.25*y,Math.abs(1-E)*a,.75*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*a,.75*y,E*a,.25*y).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,vt*a,0,a,(.5-vt/2)*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,(.5+vt/2)*y,vt*a,y).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,y,a,0,a,y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*a,.75*y,.5*a,.25*y).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(he,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,.1*a,.8*y,0,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,0,0,.45*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.55*a,0,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.5*y,.9*a,.8*y).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(he,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*a,.01*y)).add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.6*a,.2*y,a,.25*y)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.7*y,a,.8*y,.6*a,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,.5*a,.75*y,.55*a,.95*y)).add(new go.PathSegment(go.PathSegment.Line,.25*a,y)).add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.7*y,.45*a,.95*y,.5*a,.75*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.4*a,.8*y,0,.8*y)).add(new go.PathSegment(go.PathSegment.Bezier,.49*a,.01*y,0,.25*y,.4*a,.2*y).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.4*a,.6*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*a,y,.5*a,.75*y,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.6*y,.55*a,.95*y,.5*a,.75*y));var ee=.2,ie=.3,ce=0,Be=ee*vt;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ie)*a,(.5+ee+ce)*y,(.5-ee+ie)*a,(.5+Be+ce)*y,(.5-Be+ie)*a,(.5+ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+ie)*a,(.5+ce)*y,(.5+Be+ie)*a,(.5+ee+ce)*y,(.5+ee+ie)*a,(.5+Be+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ie)*a,(.5-ee+ce)*y,(1-.5+ee+ie)*a,(.5-Be+ce)*y,(.5+Be+ie)*a,(.5-ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*a,.36771243*y,(.5-Be+ie)*a,(.5-ee+ce)*y,(.5-ee+ie+.05)*a,(.5-Be+ce-.02)*y)),ee=.2,ie=0,ce=-.3,Be=ee*vt,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+ee+ie)*a,(.5+ce)*y,(.5+Be+ie)*a,(.5+ee+ce)*y,(.5+ee+ie)*a,(.5+Be+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ie)*a,(.5-ee+ce)*y,(1-.5+ee+ie)*a,(.5-Be+ce)*y,(.5+Be+ie)*a,(.5-ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+ie)*a,(.5+ce)*y,(.5-Be+ie)*a,(.5-ee+ce)*y,(.5-ee+ie)*a,(.5-Be+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-Be+ie)*a,(.5+ee+ce)*y,(.5-ee+ie)*a,(.5+Be+ce)*y,(.5-Be+ie)*a,(.5+ee+ce)*y)),ee=.2,ie=-.3,ce=0,Be=ee*vt,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ie)*a,(.5-ee+ce)*y,(1-.5+ee+ie-.05)*a,(.5-Be+ce-.02)*y,(.5+Be+ie)*a,(.5-ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-ee+ie)*a,(.5+ce)*y,(.5-Be+ie)*a,(.5-ee+ce)*y,(.5-ee+ie)*a,(.5-Be+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ie)*a,(.5+ee+ce)*y,(.5-ee+ie)*a,(.5+Be+ce)*y,(.5-Be+ie)*a,(.5+ee+ce)*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.6*y,(.5+Be+ie)*a,(.5+ee+ce)*y,(.5+ee+ie)*a,(.5+Be+ce)*y).close()),E.setSpots(.06,.33,.93,.68),E}),go.Shape.defineFigureGenerator("YinYang",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a*.5,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*.5,a*.5,a*.5,a*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,a*.5,a*.75,a*.25,a*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,a*.5,a*.25,a*.25,a*.25));var ee=.1,ie=.5,ce=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(ie+ee)*a,ce*y)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,a*ie,y*ce,ee*a,ee*a).close()),b=new go.PathFigure(a*.5,0,!1),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*.5,a*.5,a*.5,a*.5)),ce=.75,b=new go.PathFigure((ie+ee)*a,ce*y,!0),E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,a*ie,y*ce,ee*a,ee*a).close()),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Peace",function(he,a,y){var E=.8535533905932737,b=.5*a,ee=.5*y;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,ee,b,ee)).add(new go.PathSegment(go.PathSegment.Line,b,y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,E*y)).add(new go.PathSegment(go.PathSegment.Move,b,ee)).add(new go.PathSegment(go.PathSegment.Line,E*a,E*y)))}),go.Shape.defineFigureGenerator("NotAllowed",function(he,a,y){var E=new go.Geometry,b=vt*.5,ee=.5,ie=.5,ce=.5,Be=new go.PathFigure(ie*a,(ce-ee)*y);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ee)*a,ce*y,(ie-b)*a,(ce-ee)*y,(ie-ee)*a,(ce-b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+ee)*y,(ie-ee)*a,(ce+b)*y,(ie-b)*a,(ce+ee)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee)*a,ce*y,(ie+b)*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce-ee)*y,(ie+ee)*a,(ce-b)*y,(ie+b)*a,(ce-ee)*y)),ee=.4,b=vt*.4;var Ce=ue(),Ue=ue(),Oe=ue(),tt=ue();tn(ie,ce-ee,ie+b,ce-ee,ie+ee,ce-b,ie+ee,ce,.42,Ce,Ue,Oe,tt,tt);var qe=ue(),ht=ue(),St=ue();tn(ie,ce-ee,ie+b,ce-ee,ie+ee,ce-b,ie+ee,ce,.58,tt,tt,St,qe,ht);var Tt=ue(),Kt=ue(),an=ue();tn(ie,ce+ee,ie-b,ce+ee,ie-ee,ce+b,ie-ee,ce,.42,Tt,Kt,an,tt,tt);var Nn=ue(),un=ue(),zt=ue();return tn(ie,ce+ee,ie-b,ce+ee,ie-ee,ce+b,ie-ee,ce,.58,tt,tt,zt,Nn,un),Be.add(new go.PathSegment(go.PathSegment.Move,zt.x*a,zt.y*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ee)*a,ce*y,Nn.x*a,Nn.y*y,un.x*a,un.y*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce-ee)*y,(ie-ee)*a,(ce-b)*y,(ie-b)*a,(ce-ee)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,Oe.x*a,Oe.y*y,Ce.x*a,Ce.y*y,Ue.x*a,Ue.y*y)),Be.add(new go.PathSegment(go.PathSegment.Line,zt.x*a,zt.y*y).close()),Be.add(new go.PathSegment(go.PathSegment.Move,an.x*a,an.y*y)),Be.add(new go.PathSegment(go.PathSegment.Line,St.x*a,St.y*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee)*a,ce*y,qe.x*a,qe.y*y,ht.x*a,ht.y*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y,(ie+b)*a,(ce+ee)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,an.x*a,an.y*y,Tt.x*a,Tt.y*y,Kt.x*a,Kt.y*y).close()),ft(Ce),ft(Ue),ft(Oe),ft(tt),ft(qe),ft(ht),ft(St),ft(Tt),ft(Kt),ft(an),ft(Nn),ft(un),ft(zt),E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Fragile",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*a,0)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.29*a,.33*y)).add(new go.PathSegment(go.PathSegment.Line,.35*a,.25*y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.15*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.5*y,a,.25*y,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,y)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.5*y,0,.25*y).close()))}),go.Shape.setFigureParameter("HourGlass",0,new kt("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(he,a,y){var E=he?he.parameter1:NaN;(isNaN(E)||E<0)&&(E=30),E>a&&(E=a);var b=(a-E)/2,ee=b+E;return new go.Geometry().add(new go.PathFigure(ee,.5*y).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)).add(new go.PathSegment(go.PathSegment.Line,b,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,a,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,.55*y).add(new go.PathSegment(go.PathSegment.Line,.6*a,0)).add(new go.PathSegment(go.PathSegment.Line,.3*a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,a,.45*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.55*y).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(he,a,y){var E=new go.Geometry,b=vt*.4,ee=.4,ie=.5,ce=.5,Be=ue(),Ce=ue(),Ue=ue(),Oe=ue(),tt=new go.PathFigure((ie-ee)*a,ce*y,!1);E.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce-ee)*y,(ie-ee)*a,(ce-b)*y,(ie-b)*a,(ce-ee)*y)),tn(ie,ce-ee,ie+b,ce-ee,ie+ee,ce-b,ie+ee,ce,.44,Ue,Oe,Ce,Be,Be),tt.add(new go.PathSegment(go.PathSegment.Bezier,Ce.x*a,Ce.y*y,Ue.x*a,Ue.y*y,Oe.x*a,Oe.y*y));var qe=Fe(Ce.x,Ce.y);tn(ie,ce-ee,ie+b,ce-ee,ie+ee,ce-b,ie+ee,ce,.56,Be,Be,Ce,Ue,Oe);var ht=Fe(Ce.x,Ce.y);tt.add(new go.PathSegment(go.PathSegment.Line,(qe.x*.1+.95*.9)*a,qe.y*.1*y)),tt.add(new go.PathSegment(go.PathSegment.Line,.85*a,qe.y*.1*y)),tt.add(new go.PathSegment(go.PathSegment.Line,.85*a,0)),tt.add(new go.PathSegment(go.PathSegment.Line,a,0)),tt.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),tt.add(new go.PathSegment(go.PathSegment.Line,(ht.x*.1+.9)*a,.15*y)),tt.add(new go.PathSegment(go.PathSegment.Line,(ht.x*.1+.9)*a,(ht.y*.1+.05*.9)*y)),tt.add(new go.PathSegment(go.PathSegment.Line,ht.x*a,ht.y*y)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee)*a,ce*y,Ue.x*a,Ue.y*y,Oe.x*a,Oe.y*y)),tt.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y,(ie+b)*a,(ce+ee)*y)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ee)*a,ce*y,(ie-b)*a,(ce+ee)*y,(ie-ee)*a,(ce+b)*y)),ee=.35,b=vt*.35;var St=new go.PathFigure(ie*a,(ce-ee)*y,!1);E.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ee)*a,ce*y,(ie-b)*a,(ce-ee)*y,(ie-ee)*a,(ce-b)*y)),St.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+ee)*y,(ie-ee)*a,(ce+b)*y,(ie-b)*a,(ce+ee)*y)),St.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee)*a,ce*y,(ie+b)*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y)),St.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce-ee)*y,(ie+ee)*a,(ce-b)*y,(ie+b)*a,(ce-ee)*y));var Tt=new go.PathFigure((ie-ee)*a,ce*y,!1);return E.add(Tt),ft(Be),ft(Ce),ft(Ue),ft(Oe),ft(qe),ft(ht),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(he,a,y){var E=new go.Geometry,b=.375,ee=0,ie=-.125,ce=b*vt,Be=new go.PathFigure((.525+ee)*a,(.5+b+ie)*y,!1);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+ie)*y,(.5+ce+ee)*a,(.5+b+ie)*y,(.5+b+ee)*a,(.5+ce+ie)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+ie)*y,(1-.5+b+ee)*a,(.5-ce+ie)*y,(.5+ce+ee)*a,(.5-b+ie)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+ie)*y,(.5-ce+ee)*a,(.5-b+ie)*y,(.5-b+ee)*a,(.5-ce+ie)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(.475+ee)*a,(.5+b+ie)*y,(.5-b+ee)*a,(.5+ce+ie)*y,(.5-ce+ee)*a,(.5+b+ie)*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.475*a,.85*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.425*a,.85*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.425*a,.9*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.475*a,.9*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.475*a,y)),Be.add(new go.PathSegment(go.PathSegment.Line,.525*a,y)),Be.add(new go.PathSegment(go.PathSegment.Line,.525*a,.9*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.575*a,.9*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.575*a,.85*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y).close()),b=.325,ee=0,ie=-.125,ce=b*vt;var Be=new go.PathFigure((1-.5+b+ee)*a,(.5+ie)*y,!1);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5+b+ie)*y,(.5+b+ee)*a,(.5+ce+ie)*y,(.5+ce+ee)*a,(.5+b+ie)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+ie)*y,(.5-ce+ee)*a,(.5+b+ie)*y,(.5-b+ee)*a,(.5+ce+ie)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(.5+ee)*a,(.5-b+ie)*y,(.5-b+ee)*a,(.5-ce+ie)*y,(.5-ce+ee)*a,(.5-b+ie)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+ee)*a,(.5+ie)*y,(.5+ce+ee)*a,(.5-b+ie)*y,(1-.5+b+ee)*a,(.5-ce+ie)*y));var Be=new go.PathFigure((.525+ee)*a,(.5+b+ie)*y,!1);return E.add(Be),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(he,a,y){var E=he?he.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*y)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(he,a,y){var E=he?he.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*y)).add(new go.PathSegment(go.PathSegment.Line,(1-E)*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,E*a,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,E*a,y))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)))}),go.Shape.defineFigureGenerator("LogicAnd",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(he,a,y){var E=new go.Geometry().add(new go.PathFigure(.5*a,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*a,.5*y,.5*a,.5*y)));return E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("LogicTruth",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.5*a,0)).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Move,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,0,.5*y)).add(new go.PathSegment(go.PathSegment.Move,a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y)))}),go.Shape.defineFigureGenerator("LogicForAll",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*a,y)).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*y)).add(new go.PathSegment(go.PathSegment.Line,a,.5*y)).add(new go.PathSegment(go.PathSegment.Move,0,y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(he,a,y){var E=.5;return new go.Geometry().add(new go.PathFigure(0,y,!1).add(new go.PathSegment(go.PathSegment.Line,0,E*y)).add(new go.PathSegment(go.PathSegment.Arc,180,180,E*a,E*y,E*a,E*y)).add(new go.PathSegment(go.PathSegment.Line,a,y))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(he,a,y){var E=.5;return new go.Geometry().add(new go.PathFigure(a,0,!1).add(new go.PathSegment(go.PathSegment.Line,a,E*y)).add(new go.PathSegment(go.PathSegment.Arc,0,180,E*a,E*y,E*a,E*y)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new kt("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new kt("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=.3);var b=he?he.parameter2:NaN;isNaN(b)&&(b=.3);var ee=(1-E)*a,ie=(.5-b/2)*y,ce=(.5+b/2)*y,Be=new go.Geometry,Ce=new go.PathFigure(0,ie,!0);Be.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,ee,ie)),Ce.add(new go.PathSegment(go.PathSegment.Line,ee,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,ee,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,ee,ce)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),Be.spot1=new go.Spot(0,ie/y);var Ue=qt(0,ce/y,1,ce/y,ee/a,1,1,.5,ue());return Be.spot2=new go.Spot(Ue.x,Ue.y),ft(Ue),Be}),go.Shape.setFigureParameter("Arrow2",0,new kt("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new kt("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=30),E>a&&(E=a);var b=he?he.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,y/2);var ee=a-E,ie=(y-b)/2,ce=ie+b,Be=new go.Geometry,Ce=new go.PathFigure(0,ie,!0);Be.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,ee,ie)),Ce.add(new go.PathSegment(go.PathSegment.Line,ee,0)),Ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,ee,y)),Ce.add(new go.PathSegment(go.PathSegment.Line,ee,ce)),Ce.add(new go.PathSegment(go.PathSegment.Line,0,ce).close()),Be.spot1=new go.Spot(0,ie/y);var Ue=qt(0,ce/y,1,ce/y,ee/a,1,1,.5,ue());return Be.spot2=new go.Spot(Ue.x,Ue.y),ft(Ue),Be}),go.Shape.defineFigureGenerator("Chevron",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),E}),go.Shape.defineFigureGenerator("DoubleArrow",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.214*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.786*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*y).close()),E}),go.Shape.setFigureParameter("DoubleEndArrow",0,new kt("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*y,ee=(.5+E/2)*y,ie=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.3*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close());var Be=qt(0,.5,.3,0,0,b/y,.1,b/y,ue());return ie.spot1=new go.Spot(Be.x,Be.y),Be=qt(.7,1,1,.5,0,ee/y,1,ee/y,Be),ie.spot2=new go.Spot(Be.x,Be.y),ft(Be),ie}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new kt("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new kt("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=40);var b=he?he.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-E)/2,ie=ee+E,ce=(y-b)/2,Be=ce+b;(E>y||b>y)&&(b>E?(E=E*y/b,ee=(y-E)/2,ie=ee+E,ce=0,Be=y):(ee=0,ie=y,ce=0,Be=y));var Ce=new go.Geometry,Ue=new go.PathFigure(a,.5*y,!0);Ce.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,Be)),Ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ie)),Ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ie)),Ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,Be)),Ue.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),Ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ce)),Ue.add(new go.PathSegment(go.PathSegment.Line,.3*a,ee)),Ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),Ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close());var Oe=qt(0,.5,.3,ce/y,0,ee/y,1,ee/y,ue());return Ce.spot1=new go.Spot(Oe.x,Oe.y),Oe=qt(.7,Be/y,1,.5,0,ie/y,1,ie/y,Oe),Ce.spot2=new go.Spot(Oe.x,Oe.y),ft(Oe),Ce}),go.Shape.setFigureParameter("IBeamArrow",0,new kt("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=.3);var b=(.5-E/2)*y,ee=(.5+E/2)*y,ie=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ie.spot1=new go.Spot(0,b/y);var Be=qt(.7,1,1,.5,0,ee/y,1,ee/y,ue());return ie.spot2=new go.Spot(Be.x,Be.y),ft(Be),ie}),go.Shape.setFigureParameter("IBeamArrow2",0,new kt("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new kt("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=40);var b=he?he.parameter2:NaN;isNaN(b)&&(b=100);var ee=(y-E)/2,ie=ee+E,ce=(y-b)/2,Be=ce+b;(E>y||b>y)&&(b>E?(E=E*y/b,ee=(y-E)/2,ie=ee+E,ce=0,Be=y):(ee=0,ie=y,ce=0,Be=y));var Ce=new go.Geometry,Ue=new go.PathFigure(a,.5*y,!0);Ce.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,Be)),Ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ie)),Ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ie)),Ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,Be)),Ue.add(new go.PathSegment(go.PathSegment.Line,0,Be)),Ue.add(new go.PathSegment(go.PathSegment.Line,0,ce)),Ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ce)),Ue.add(new go.PathSegment(go.PathSegment.Line,.2*a,ee)),Ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),Ue.add(new go.PathSegment(go.PathSegment.Line,.7*a,ce).close()),Ce.spot1=new go.Spot(0,ee/y);var Oe=qt(.7,Be/y,1,.5,0,ie/y,1,ie/y,ue());return Ce.spot2=new go.Spot(Oe.x,Oe.y),ft(Oe),Ce}),go.Shape.setFigureParameter("Pointer",0,new kt("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=.1);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(E,.35);var ie=qt(.2,.65,1,.65,0,1,1,.5,ue());return b.spot2=new go.Spot(ie.x,ie.y),ft(ie),b}),go.Shape.setFigureParameter("RoundedPointer",0,new kt("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=.3);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,0,0,E*a,.75*y,E*a,.25*y).close()),b.spot1=new go.Spot(E,.35);var ie=qt(0,.65,1,.65,0,1,1,.5,ue());return b.spot2=new go.Spot(ie.x,ie.y),ft(ie),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new kt("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=.4);var b=(.5-E/2)*y,ee=(.5+E/2)*y,ie=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ie.spot1=new go.Spot(.2,.3);var Be=qt(.7,1,1,.5,0,ee/y,1,ee/y,ue());return ie.spot2=new go.Spot(Be.x,Be.y),ft(Be),ie}),go.Shape.setFigureParameter("SplitEndArrow2",0,new kt("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=50);var b=(y-E)/2,ee=b+E;E>y&&(b=0,ee=y);var ie=new go.Geometry,ce=new go.PathFigure(a,.5*y,!0);ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,0,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,0,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,.7*a,0).close()),ie.spot1=new go.Spot(.2,b/y);var Be=qt(.7,1,1,.5,0,ee/y,1,ee/y,ue());return ie.spot2=new go.Spot(Be.x,Be.y),ft(Be),ie}),go.Shape.setFigureParameter("SquareArrow",0,new kt("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=.7);var b=new go.Geometry,ee=new go.PathFigure(a,.5*y,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(E,1),b}),go.Shape.defineFigureGenerator("Cone1",function(he,a,y){var E=new go.Geometry,b=vt*.5,ee=vt*.1,ie=new go.PathFigure(0,.9*y,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y).close()),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.97),E}),go.Shape.defineFigureGenerator("Cone2",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.9*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,y,.85/.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*y).close());var ee=new go.PathFigure(0,.9*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.9*y,(1-.85/.9)*a,.8*y,.85/.9*a,.8*y)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.82),E}),go.Shape.defineFigureGenerator("Cube1",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.15*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.5,.85),E}),go.Shape.defineFigureGenerator("Cube2",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.3*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0).close());var ee=new go.PathFigure(0,.3*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,.7*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,y)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(.7,1),E}),go.Shape.defineFigureGenerator("Cylinder1",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,ee=vt*.5,ie=new go.PathFigure(0,E,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,vt*E,(.5-ee)*a,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,1*a,E,(.5+ee)*a,0,1*a,vt*E)),ie.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,1*y,1*a,y-vt*E,(.5+ee)*a,1*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,(.5-ee)*a,1*y,0,y-vt*E)),ie.add(new go.PathSegment(go.PathSegment.Line,0,E));var ce=new go.PathFigure(a,E,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,2*E,1*a,2*E-vt*E,(.5+ee)*a,2*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,E,(.5-ee)*a,2*E,0,2*E-vt*E)),b.spot1=new go.Spot(0,0,0,2*E),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,y/3);var b=new go.Geometry,ee=vt*.5,ie=new go.PathFigure(0,y-E,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,0,E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,vt*E,(.5-ee)*a,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,E,(.5+ee)*a,0,a,vt*E)),ie.add(new go.PathSegment(go.PathSegment.Line,a,y-E)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,y-vt*E,(.5+ee)*a,y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,y-E,(.5-ee)*a,y,0,y-vt*E));var ce=new go.PathFigure(0,y-E,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y-2*E,0,y-E-vt*E,(.5-ee)*a,y-2*E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,y-E,(.5+ee)*a,y-2*E,a,y-E-vt*E)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*E),b}),go.Shape.defineFigureGenerator("Cylinder3",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,ee=vt*.5,ie=new go.PathFigure(E,0,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a-E,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-vt*E,0,a,(.5-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,(.5+ee)*y,a-vt*E,y)),ie.add(new go.PathSegment(go.PathSegment.Line,E,y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,vt*E,y,0,(.5+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-ee)*y,vt*E,0));var ce=new go.PathFigure(E,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,2*E,.5*y,E+vt*E,0,2*E,(.5-ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,E,y,2*E,(.5+ee)*y,E+vt*E,y)),b.spot1=new go.Spot(0,0,2*E,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=5),E=Math.min(E,a/3);var b=new go.Geometry,ee=vt*.5,ie=new go.PathFigure(a-E,0,!0);b.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,a-vt*E,0,a,(.5-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a,(.5+ee)*y,a-vt*E,y)),ie.add(new go.PathSegment(go.PathSegment.Line,E,y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,vt*E,y,0,(.5+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,(.5-ee)*y,vt*E,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a-E,0));var ce=new go.PathFigure(a-E,0,!1);return b.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-2*E,.5*y,a-E-vt*E,0,a-2*E,(.5-ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-E,y,a-2*E,(.5+ee)*y,a-E-vt*E,y)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*E,0),b}),go.Shape.defineFigureGenerator("Prism1",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.25*a,.25*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.25*a,.25*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.spot1=new go.Spot(.408,.172),E.spot2=new go.Spot(.833,.662),E}),go.Shape.defineFigureGenerator("Prism2",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.25*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.25*a,.5*y)),E.spot1=new go.Spot(.25,.5),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("Pyramid1",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y).close());var ee=new go.PathFigure(.5*a,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Pyramid2",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*y).close());var ee=new go.PathFigure(.5*a,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.85*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),E.spot1=new go.Spot(.25,.367),E.spot2=new go.Spot(.75,.875),E}),go.Shape.defineFigureGenerator("Actor",function(he,a,y){var E=new go.Geometry,b=.2,ee=.1,ie=vt*b,ce=vt*ee,Be=.5,Ce=.1,Ue=new go.PathFigure(Be*a,(Ce+ee)*y,!0);E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Be-b)*a,Ce*y,(Be-ie)*a,(Ce+ee)*y,(Be-b)*a,(Ce+ce)*y)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(Ce-ee)*y,(Be-b)*a,(Ce-ce)*y,(Be-ie)*a,(Ce-ee)*y)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Be+b)*a,Ce*y,(Be+ie)*a,(Ce-ee)*y,(Be+b)*a,(Ce-ce)*y)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(Ce+ee)*y,(Be+b)*a,(Ce+ce)*y,(Be+ie)*a,(Ce+ee)*y));var Oe=.05,tt=vt*Oe;Be=.05,Ce=.25;var qe=new go.PathFigure(.5*a,.2*y,!0);return E.add(qe),qe.add(new go.PathSegment(go.PathSegment.Line,.95*a,.2*y)),Be=.95,Ce=.25,qe.add(new go.PathSegment(go.PathSegment.Bezier,(Be+Oe)*a,Ce*y,(Be+tt)*a,(Ce-Oe)*y,(Be+Oe)*a,(Ce-tt)*y)),qe.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),qe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),qe.add(new go.PathSegment(go.PathSegment.Line,.85*a,.35*y)),Oe=.025,tt=vt*Oe,Be=.825,Ce=.35,qe.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(Ce-Oe)*y,(Be+Oe)*a,(Ce-tt)*y,(Be+tt)*a,(Ce-Oe)*y)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(Be-Oe)*a,Ce*y,(Be-tt)*a,(Ce-Oe)*y,(Be-Oe)*a,(Ce-tt)*y)),qe.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),qe.add(new go.PathSegment(go.PathSegment.Line,.55*a,y)),qe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y)),Oe=.05,tt=vt*Oe,Be=.5,Ce=.7,qe.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(Ce-Oe)*y,(Be+Oe)*a,(Ce-tt)*y,(Be+tt)*a,(Ce-Oe)*y)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(Be-Oe)*a,Ce*y,(Be-tt)*a,(Ce-Oe)*y,(Be-Oe)*a,(Ce-tt)*y)),qe.add(new go.PathSegment(go.PathSegment.Line,.45*a,y)),qe.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),qe.add(new go.PathSegment(go.PathSegment.Line,.2*a,.35*y)),Oe=.025,tt=vt*Oe,Be=.175,Ce=.35,qe.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(Ce-Oe)*y,(Be+Oe)*a,(Ce-tt)*y,(Be+tt)*a,(Ce-Oe)*y)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(Be-Oe)*a,Ce*y,(Be-tt)*a,(Ce-Oe)*y,(Be-Oe)*a,(Ce-tt)*y)),qe.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),qe.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),qe.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),Oe=.05,tt=vt*Oe,Be=.05,Ce=.25,qe.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(Ce-Oe)*y,(Be-Oe)*a,(Ce-tt)*y,(Be-tt)*a,(Ce-Oe)*y)),qe.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),E.spot1=new go.Spot(.2,.2),E.spot2=new go.Spot(.8,.65),E}),go.Shape.setFigureParameter("Card",0,new kt("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(he,a,y){var E=he?he.parameter1:NaN;isNaN(E)&&(E=.2);var b=new go.Geometry,ee=new go.PathFigure(a,0,!0);return b.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,E*y)),ee.add(new go.PathSegment(go.PathSegment.Line,E*a,0).close()),b.spot1=new go.Spot(0,E),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,.5*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y));var ee=new go.PathFigure(.5*a,.5*y,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,.25),E}),go.Shape.defineFigureGenerator("CreateRequest",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ie=new go.PathFigure(0,b*y,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),ie.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ie.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),E}),go.Shape.defineFigureGenerator("Database",function(he,a,y){var E=new go.Geometry,b=vt*.5,ee=vt*.1,ie=new go.PathFigure(a,.1*y,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var ce=new go.PathFigure(a,.1*y,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.4*y,a,(.3+ee)*y,(.5+b)*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*y,(.5-b)*a,.4*y,0,(.3+ee)*y)),E.spot1=new go.Spot(0,.4),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("DataStorage",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.9*y,.25*a,.1*y).close()),E.spot1=new go.Spot(.226,0),E.spot2=new go.Spot(.81,1),E}),go.Shape.defineFigureGenerator("DiskStorage",function(he,a,y){var E=new go.Geometry,b=vt*.5,ee=vt*.1,ie=new go.PathFigure(a,.1*y,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.9+ee)*y,(.5+b)*a,y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,(.5-b)*a,y,0,(.9+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,(.1-ee)*y,(.5-b)*a,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,(.5+b)*a,0,a,(.1-ee)*y));var ce=new go.PathFigure(a,.1*y,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,a,(.1+ee)*y,(.5+b)*a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*y,(.5-b)*a,.2*y,0,(.1+ee)*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,.2*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.3*y,a,(.2+ee)*y,(.5+b)*a,.3*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*y,(.5-b)*a,.3*y,0,(.2+ee)*y)),E.spot1=new go.Spot(0,.3),E.spot2=new go.Spot(1,.9),E}),go.Shape.defineFigureGenerator("Display",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,y,a,0,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close()),E.spot1=new go.Spot(.25,0),E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("DividedEvent",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var ee=vt*.2,ie=new go.PathFigure(0,.2*y,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,0,(.2-ee)*y,(.2-ee)*a,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.2*y,(.8+ee)*a,0,a,(.2-ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,y,a,(.8+ee)*y,(.8+ee)*a,y)),ie.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*y,(.2-ee)*a,y,0,(.8+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Line,0,.2*y));var ce=new go.PathFigure(0,b*y,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),E}),go.Shape.defineFigureGenerator("DividedProcess",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var ee=new go.PathFigure(0,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ie=new go.PathFigure(0,b*y,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a,b*y)),E}),go.Shape.defineFigureGenerator("Document",function(he,a,y){var E=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("ExternalOrganization",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var ee=new go.PathFigure(0,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ie=new go.PathFigure(b*a,0,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,0,b*y)),ie.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,0)),ie.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*y)),ie.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ie.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,y)),ie.add(new go.PathSegment(go.PathSegment.Line,a,(1-b)*y)),E}),go.Shape.defineFigureGenerator("ExternalProcess",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(.1*a,.4*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.9*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.6*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.4*a,.9*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.9*y)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("File",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(.75*a,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Interrupt",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a,.5*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y));var ee=new go.PathFigure(a,.5*y,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,y));var ie=new go.PathFigure(a,.5*y,!1);return E.add(ie),ie.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(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN,ee=he?he.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.1);var ie=new go.PathFigure(0,0,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a,y)),ie.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ce=new go.PathFigure(b*a,0,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,ee*y)),ce.add(new go.PathSegment(go.PathSegment.Line,a,ee*y)),E}),go.Shape.defineFigureGenerator("Junction",function(he,a,y){var E=new go.Geometry,b=1/Math.SQRT2,ee=(1-1/Math.SQRT2)/2,ie=vt*.5,ce=.5,Be=new go.PathFigure(a,ce*y,!0);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,y,a,(ce+ie)*y,(ce+ie)*a,y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,0,ce*y,(ce-ie)*a,y,0,(ce+ie)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,0,0,(ce-ie)*y,(ce-ie)*a,0)),Be.add(new go.PathSegment(go.PathSegment.Bezier,a,ce*y,(ce+ie)*a,0,a,(ce-ie)*y));var Ce=new go.PathFigure((ee+b)*a,(ee+b)*y,!1);return E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,ee*a,ee*y)),Ce.add(new go.PathSegment(go.PathSegment.Move,ee*a,(ee+b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,(ee+b)*a,ee*y)),E}),go.Shape.defineFigureGenerator("LinedDocument",function(he,a,y){var E=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close());var ee=new go.PathFigure(.1*a,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.75*y)),E.spot1=new go.Spot(.1,0),E.spot2=new go.Spot(1,.6),E}),go.Shape.defineFigureGenerator("LoopLimit",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MagneticTape",function(he,a,y){var E=new go.Geometry,b=vt*.5,ee=.5,ie=new go.PathFigure(.5*a,y,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,(ee+.1)*a,.9*y,a,(ee+b)*y,(ee+b)*a,.9*y)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.9*y)),ie.add(new go.PathSegment(go.PathSegment.Line,a,y)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),E.spot1=new go.Spot(.15,.15),E.spot2=new go.Spot(.85,.8),E}),go.Shape.defineFigureGenerator("ManualInput",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y).close()),E.spot1=new go.Spot(0,.25),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("MessageFromUser",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN;isNaN(b)&&(b=.7);var ee=new go.PathFigure(0,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,b*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("MicroformProcessing",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(0,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,b*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E}),go.Shape.defineFigureGenerator("MicroformRecording",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("MultiDocument",function(he,a,y){var E=new go.Geometry;y=y/.8;var b=new go.PathFigure(a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.44*y,.96*a,.47*y,.93*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.54*y,.86*a,.57*y,.83*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.4*a,.4*y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0).close());var ee=new go.PathFigure(.1*a,.2*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.44*y)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.8,.77),E}),go.Shape.defineFigureGenerator("MultiProcess",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.1*a,.1*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close());var ee=new go.PathFigure(.2*a,.1*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.1*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.1*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.9*y)),E.spot1=new go.Spot(0,.2),E.spot2=new go.Spot(.8,1),E}),go.Shape.defineFigureGenerator("OfflineStorage",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN;isNaN(b)&&(b=.1);var ee=1-b,ie=new go.PathFigure(0,0,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close());var ce=new go.PathFigure(.5*b*a,b*y,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*a,b*y)),E}),go.Shape.defineFigureGenerator("OffPageConnector",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.75,1),E}),go.Shape.defineFigureGenerator("Or",function(he,a,y){var E=new go.Geometry,b=vt*.5,ee=.5,ie=new go.PathFigure(a,ee*y,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var ce=new go.PathFigure(a,.5*y,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),E}),go.Shape.defineFigureGenerator("PaperTape",function(he,a,y){var E=new go.Geometry;y=y/.8;var b=new go.PathFigure(0,.7*y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.3*y,.5*a,.6*y,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*y,.5*a,.4*y,.5*a,y).close()),E.spot1=new go.Spot(0,.49),E.spot2=new go.Spot(1,.75),E}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN,ee=he?he.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var ie=new go.PathFigure(0,0,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a,0)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,.5*y)),ie.add(new go.PathSegment(go.PathSegment.Line,a,y)),ie.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN,ee=he?he.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(ee)&&(ee=.3);var ie=new go.PathFigure(0,0,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-ee)*a,y)),ie.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E}),go.Shape.defineFigureGenerator("Procedure",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ie=new go.PathFigure((1-b)*a,0,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),ie.add(new go.PathSegment(go.PathSegment.Move,b*a,0)),ie.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),E}),go.Shape.defineFigureGenerator("Process",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ie=new go.PathFigure(b*a,0,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),E.spot2=go.Spot.BottomRight,E}),go.Shape.defineFigureGenerator("Sort",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y).close());var ee=new go.PathFigure(0,.5*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),E.spot1=new go.Spot(.25,.25),E.spot2=new go.Spot(.75,.5),E}),go.Shape.defineFigureGenerator("Start",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN;isNaN(b)&&(b=.25);var ee=new go.PathFigure(b*a,0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y));var ie=new go.PathFigure(b*a,0,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,b*a,y)),ie.add(new go.PathSegment(go.PathSegment.Move,(1-b)*a,0)),ie.add(new go.PathSegment(go.PathSegment.Line,(1-b)*a,y)),E.spot1=new go.Spot(b,0),E.spot2=new go.Spot(1-b,1),E}),go.Shape.defineFigureGenerator("Terminator",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.25*a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*a,.5*y,.25*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*a,.5*y,.25*a,.5*y)),E.spot1=new go.Spot(.23,0),E.spot2=new go.Spot(.77,1),E}),go.Shape.defineFigureGenerator("TransmittalTape",function(he,a,y){var E=new go.Geometry,b=he?he.parameter1:NaN;isNaN(b)&&(b=.1);var ee=new go.PathFigure(0,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,(1-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*y).close()),E.spot1=go.Spot.TopLeft,E}),go.Shape.defineFigureGenerator("AndGate",function(he,a,y){var E=new go.Geometry,b=vt*.5,ee=new go.PathFigure(0,0,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(.5+b)*a,0,a,(.5-b)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,(.5+b)*y,(.5+b)*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.spot1=go.Spot.TopLeft,E.spot2=new go.Spot(.55,1),E}),go.Shape.defineFigureGenerator("Buffer",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Clock",function(he,a,y){var E=new go.Geometry,b=vt*.5,ee=.5,ie=new go.PathFigure(a,ee*y,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,y,a,(ee+b)*y,(ee+b)*a,y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,ee*y,(ee-b)*a,y,0,(ee+b)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,ee*a,0,0,(ee-b)*y,(ee-b)*a,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,ee*y,(ee+b)*a,0,a,(ee-b)*y));var ce=new go.PathFigure(a,ee*y,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,ee*y));var Be=new go.PathFigure(.8*a,.75*y,!1);return E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,.8*a,.25*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.6*a,.25*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.6*a,.75*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.4*a,.75*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.4*a,.25*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.2*a,.25*y)),Be.add(new go.PathSegment(go.PathSegment.Line,.2*a,.75*y)),E}),go.Shape.defineFigureGenerator("Ground",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Move,.3*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),E}),go.Shape.defineFigureGenerator("Inverter",function(he,a,y){var E=new go.Geometry,b=vt*.1,ee=.1,ie=.9,ce=.5,Be=new go.PathFigure(.8*a,.5*y,!0);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,0,y)),Be.add(new go.PathSegment(go.PathSegment.Line,0,0)),Be.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y));var Ce=new go.PathFigure((ie+ee)*a,ce*y,!0);return E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y,(ie+b)*a,(ce+ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ee)*a,ce*y,(ie-b)*a,(ce+ee)*y,(ie-ee)*a,(ce+b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce-ee)*y,(ie-ee)*a,(ce-b)*y,(ie-b)*a,(ce-ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee)*a,ce*y,(ie+b)*a,(ce-ee)*y,(ie+ee)*a,(ce-b)*y)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.4,.75),E}),go.Shape.defineFigureGenerator("NandGate",function(he,a,y){var E=new go.Geometry,b=vt*.5,ee=vt*.4,ie=vt*.1,ce=.1,Be=.9,Ce=.5,Ue=new go.PathFigure(.8*a,.5*y,!0);E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,.8*a,(.5+ee)*y,(.4+b)*a,y)),Ue.add(new go.PathSegment(go.PathSegment.Line,0,y)),Ue.add(new go.PathSegment(go.PathSegment.Line,0,0)),Ue.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(.4+b)*a,0,.8*a,(.5-ee)*y));var Oe=new go.PathFigure((Be+ce)*a,Ce*y,!0);return E.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(Ce+ce)*y,(Be+ce)*a,(Ce+ie)*y,(Be+ie)*a,(Ce+ce)*y)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ce)*a,Ce*y,(Be-ie)*a,(Ce+ce)*y,(Be-ce)*a,(Ce+ie)*y)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(Ce-ce)*y,(Be-ce)*a,(Ce-ie)*y,(Be-ie)*a,(Ce-ce)*y)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ce)*a,Ce*y,(Be+ie)*a,(Ce-ce)*y,(Be+ce)*a,(Ce-ie)*y)),E.spot1=new go.Spot(0,.05),E.spot2=new go.Spot(.55,.95),E}),go.Shape.defineFigureGenerator("NorGate",function(he,a,y){var E=new go.Geometry,b=.5,ee=vt*b,ie=0,ce=.5,Be=new go.PathFigure(.8*a,.5*y,!0);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.7*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ie+ee)*a,(ce-b)*y,.7*a,(ce-ee)*y)),b=.1,ee=vt*.1,ie=.9,ce=.5;var Ce=new go.PathFigure((ie-b)*a,ce*y,!0);return E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce-b)*y,(ie-b)*a,(ce-ee)*y,(ie-ee)*a,(ce-b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie+b)*a,ce*y,(ie+ee)*a,(ce-b)*y,(ie+b)*a,(ce-ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+b)*y,(ie+b)*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie-b)*a,ce*y,(ie-ee)*a,(ce+b)*y,(ie-b)*a,(ce+ee)*y)),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.6,.75),E}),go.Shape.defineFigureGenerator("OrGate",function(he,a,y){var E=new go.Geometry,b=.5,ee=vt*b,ie=0,ce=.5,Be=new go.PathFigure(0,0,!0);return E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ie+ee+ee)*a,(ce-b)*y,.8*a,(ce-ee)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.8*a,(ce+ee)*y,(ie+ee+ee)*a,(ce+b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*a,.75*y,.25*a,.25*y).close()),E.spot1=new go.Spot(.2,.25),E.spot2=new go.Spot(.75,.75),E}),go.Shape.defineFigureGenerator("XnorGate",function(he,a,y){var E=new go.Geometry,b=.5,ee=vt*b,ie=.2,ce=.5,Be=new go.PathFigure(.1*a,0,!1);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var Ce=new go.PathFigure(.8*a,.5*y,!0);E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.7*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.5*y,(ie+ee)*a,(ce-b)*y,.7*a,(ce-ee)*y)),b=.1,ee=vt*.1,ie=.9,ce=.5;var Ue=new go.PathFigure((ie-b)*a,ce*y,!0);return E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce-b)*y,(ie-b)*a,(ce-ee)*y,(ie-ee)*a,(ce-b)*y)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ie+b)*a,ce*y,(ie+ee)*a,(ce-b)*y,(ie+b)*a,(ce-ee)*y)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+b)*y,(ie+b)*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(ie-b)*a,ce*y,(ie-ee)*a,(ce+b)*y,(ie-b)*a,(ce+ee)*y)),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.65,.75),E}),go.Shape.defineFigureGenerator("XorGate",function(he,a,y){var E=new go.Geometry,b=.5,ee=vt*b,ie=.2,ce=.5,Be=new go.PathFigure(.1*a,0,!1);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,y,.35*a,.25*y,.35*a,.75*y));var Ce=new go.PathFigure(.2*a,0,!0);return E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,(ie+ee)*a,(ce-b)*y,.9*a,(ce-ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,y,.9*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.2*a,0,.45*a,.75*y,.45*a,.25*y).close()),E.spot1=new go.Spot(.4,.25),E.spot2=new go.Spot(.8,.75),E}),go.Shape.defineFigureGenerator("Capacitor",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),E}),go.Shape.defineFigureGenerator("Resistor",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),E}),go.Shape.defineFigureGenerator("Inductor",function(he,a,y){var E=new go.Geometry,b=vt*.1,ee=.1,ie=.1,ce=.5,Be=new go.PathFigure((ie-b*.5)*a,y,!1);return E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee)*a,0,(ie-b)*a,y,(ie-ee)*a,0)),ie=.3,Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,y,(ie+ee)*a,0,(ie+b)*a,y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee)*a,0,(ie-b)*a,y,(ie-ee)*a,0)),ie=.5,Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,y,(ie+ee)*a,0,(ie+b)*a,y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee)*a,0,(ie-b)*a,y,(ie-ee)*a,0)),ie=.7,Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,y,(ie+ee)*a,0,(ie+b)*a,y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee)*a,0,(ie-b)*a,y,(ie-ee)*a,0)),ie=.9,Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+b*.5)*a,y,(ie+ee)*a,0,(ie+b)*a,y)),E}),go.Shape.defineFigureGenerator("ACvoltageSource",function(he,a,y){var E=new go.Geometry,b=vt*.5,ee=.5,ie=.5,ce=.5,Be=new go.PathFigure((ie-ee)*a,ce*y,!1);return E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce-ee)*y,(ie-ee)*a,(ce-b)*y,(ie-b)*a,(ce-ee)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee)*a,ce*y,(ie+b)*a,(ce-ee)*y,(ie+ee)*a,(ce-b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y,(ie+b)*a,(ce+ee)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ee)*a,ce*y,(ie-b)*a,(ce+ee)*y,(ie-ee)*a,(ce+b)*y)),Be.add(new go.PathSegment(go.PathSegment.Move,(ie-ee+.1)*a,ce*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee-.1)*a,ce*y,ie*a,(ce-ee)*y,ie*a,(ce+ee)*y)),E}),go.Shape.defineFigureGenerator("DCvoltageSource",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),E}),go.Shape.defineFigureGenerator("Diode",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),E.spot1=new go.Spot(0,.25),E.spot2=new go.Spot(.5,.75),E}),go.Shape.defineFigureGenerator("Wifi",function(he,a,y){var E=new go.Geometry,b=a,ee=y;a=a*.38,y=y*.6;var ie=vt*.8,ce=.8,Be=0,Ce=.5,Ue=(b-a)/2,Oe=(ee-y)/2,tt=new go.PathFigure(Be*a+Ue,(Ce+ce)*y+Oe,!0);E.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ce)*a+Ue,Ce*y+Oe,(Be-ie)*a+Ue,(Ce+ce)*y+Oe,(Be-ce)*a+Ue,(Ce+ie)*y+Oe)),tt.add(new go.PathSegment(go.PathSegment.Bezier,Be*a+Ue,(Ce-ce)*y+Oe,(Be-ce)*a+Ue,(Ce-ie)*y+Oe,(Be-ie)*a+Ue,(Ce-ce)*y+Oe)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ce+ie*.5)*a+Ue,Ce*y+Oe,Be*a+Ue,(Ce-ce)*y+Oe,(Be-ce+ie*.5)*a+Ue,(Ce-ie)*y+Oe)),tt.add(new go.PathSegment(go.PathSegment.Bezier,Be*a+Ue,(Ce+ce)*y+Oe,(Be-ce+ie*.5)*a+Ue,(Ce+ie)*y+Oe,Be*a+Ue,(Ce+ce)*y+Oe).close()),ie=vt*.4,ce=.4,Be=.2,Ce=.5;var qe=new go.PathFigure(Be*a+Ue,(Ce+ce)*y+Oe,!0);E.add(qe),qe.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ce)*a+Ue,Ce*y+Oe,(Be-ie)*a+Ue,(Ce+ce)*y+Oe,(Be-ce)*a+Ue,(Ce+ie)*y+Oe)),qe.add(new go.PathSegment(go.PathSegment.Bezier,Be*a+Ue,(Ce-ce)*y+Oe,(Be-ce)*a+Ue,(Ce-ie)*y+Oe,(Be-ie)*a+Ue,(Ce-ce)*y+Oe)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ce+ie*.5)*a+Ue,Ce*y+Oe,Be*a+Ue,(Ce-ce)*y+Oe,(Be-ce+ie*.5)*a+Ue,(Ce-ie)*y+Oe)),qe.add(new go.PathSegment(go.PathSegment.Bezier,Be*a+Ue,(Ce+ce)*y+Oe,(Be-ce+ie*.5)*a+Ue,(Ce+ie)*y+Oe,Be*a+Ue,(Ce+ce)*y+Oe).close()),ie=vt*.2,ce=.2,Be=.5,Ce=.5;var ht=new go.PathFigure((Be-ce)*a+Ue,Ce*y+Oe,!0);E.add(ht),ht.add(new go.PathSegment(go.PathSegment.Bezier,Be*a+Ue,(Ce-ce)*y+Oe,(Be-ce)*a+Ue,(Ce-ie)*y+Oe,(Be-ie)*a+Ue,(Ce-ce)*y+Oe)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ce)*a+Ue,Ce*y+Oe,(Be+ie)*a+Ue,(Ce-ce)*y+Oe,(Be+ce)*a+Ue,(Ce-ie)*y+Oe)),ht.add(new go.PathSegment(go.PathSegment.Bezier,Be*a+Ue,(Ce+ce)*y+Oe,(Be+ce)*a+Ue,(Ce+ie)*y+Oe,(Be+ie)*a+Ue,(Ce+ce)*y+Oe)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ce)*a+Ue,Ce*y+Oe,(Be-ie)*a+Ue,(Ce+ce)*y+Oe,(Be-ce)*a+Ue,(Ce+ie)*y+Oe)),ie=vt*.4,ce=.4,Be=.8,Ce=.5;var St=new go.PathFigure(Be*a+Ue,(Ce-ce)*y+Oe,!0);E.add(St),St.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ce)*a+Ue,Ce*y+Oe,(Be+ie)*a+Ue,(Ce-ce)*y+Oe,(Be+ce)*a+Ue,(Ce-ie)*y+Oe)),St.add(new go.PathSegment(go.PathSegment.Bezier,Be*a+Ue,(Ce+ce)*y+Oe,(Be+ce)*a+Ue,(Ce+ie)*y+Oe,(Be+ie)*a+Ue,(Ce+ce)*y+Oe)),St.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ce-ie*.5)*a+Ue,Ce*y+Oe,Be*a+Ue,(Ce+ce)*y+Oe,(Be+ce-ie*.5)*a+Ue,(Ce+ie)*y+Oe)),St.add(new go.PathSegment(go.PathSegment.Bezier,Be*a+Ue,(Ce-ce)*y+Oe,(Be+ce-ie*.5)*a+Ue,(Ce-ie)*y+Oe,Be*a+Ue,(Ce-ce)*y+Oe).close()),ie=vt*.8,ce=.8,Be=1,Ce=.5;var Tt=new go.PathFigure(Be*a+Ue,(Ce-ce)*y+Oe,!0);return E.add(Tt),Tt.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ce)*a+Ue,Ce*y+Oe,(Be+ie)*a+Ue,(Ce-ce)*y+Oe,(Be+ce)*a+Ue,(Ce-ie)*y+Oe)),Tt.add(new go.PathSegment(go.PathSegment.Bezier,Be*a+Ue,(Ce+ce)*y+Oe,(Be+ce)*a+Ue,(Ce+ie)*y+Oe,(Be+ie)*a+Ue,(Ce+ce)*y+Oe)),Tt.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ce-ie*.5)*a+Ue,Ce*y+Oe,Be*a+Ue,(Ce+ce)*y+Oe,(Be+ce-ie*.5)*a+Ue,(Ce+ie)*y+Oe)),Tt.add(new go.PathSegment(go.PathSegment.Bezier,Be*a+Ue,(Ce-ce)*y+Oe,(Be+ce-ie*.5)*a+Ue,(Ce-ie)*y+Oe,Be*a+Ue,(Ce-ce)*y+Oe).close()),E}),go.Shape.defineFigureGenerator("Email",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,0,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,0)),ee.add(new go.PathSegment(go.PathSegment.Move,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Move,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.54*y)),E}),go.Shape.defineFigureGenerator("Ethernet",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.35*a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,0).close());var ee=new go.PathFigure(.1*a,y,!0,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ie=new go.PathFigure(.6*a,y,!0,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ie.add(new go.PathSegment(go.PathSegment.Line,.9*a,.6*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*a,.6*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.6*a,y).close());var ce=new go.PathFigure(0,.5*y,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.4*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.75*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.75*a,.6*y)),ce.add(new go.PathSegment(go.PathSegment.Move,.25*a,.5*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.25*a,.6*y)),E}),go.Shape.defineFigureGenerator("Power",function(he,a,y){var E=new go.Geometry,b=vt*.4,ee=.4,ie=.5,ce=.5,Be=ue(),Ce=ue(),Ue=ue(),Oe=ue();tn(ie,ce-ee,ie+b,ce-ee,ie+ee,ce-b,ie+ee,ce,.5,Be,Be,Ce,Ue,Oe);var tt=Fe(Ce.x,Ce.y),qe=new go.PathFigure(Ce.x*a,Ce.y*y,!0);E.add(qe),qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee)*a,ce*y,Ue.x*a,Ue.y*y,Oe.x*a,Oe.y*y)),qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y,(ie+b)*a,(ce+ee)*y)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ee)*a,ce*y,(ie-b)*a,(ce+ee)*y,(ie-ee)*a,(ce+b)*y)),tn(ie-ee,ce,ie-ee,ce-b,ie-b,ce-ee,ie,ce-ee,.5,Ue,Oe,Ce,Be,Be),qe.add(new go.PathSegment(go.PathSegment.Bezier,Ce.x*a,Ce.y*y,Ue.x*a,Ue.y*y,Oe.x*a,Oe.y*y)),b=vt*.3,ee=.3,tn(ie-ee,ce,ie-ee,ce-b,ie-b,ce-ee,ie,ce-ee,.5,Ue,Oe,Ce,Be,Be),qe.add(new go.PathSegment(go.PathSegment.Line,Ce.x*a,Ce.y*y)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie-ee)*a,ce*y,Oe.x*a,Oe.y*y,Ue.x*a,Ue.y*y)),qe.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+ee)*y,(ie-ee)*a,(ce+b)*y,(ie-b)*a,(ce+ee)*y)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(ie+ee)*a,ce*y,(ie+b)*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y)),tn(ie,ce-ee,ie+b,ce-ee,ie+ee,ce-b,ie+ee,ce,.5,Be,Be,Ce,Ue,Oe),qe.add(new go.PathSegment(go.PathSegment.Bezier,Ce.x*a,Ce.y*y,Oe.x*a,Oe.y*y,Ue.x*a,Ue.y*y).close());var qe=new go.PathFigure(.45*a,0,!0);return E.add(qe),qe.add(new go.PathSegment(go.PathSegment.Line,.45*a,.5*y)),qe.add(new go.PathSegment(go.PathSegment.Line,.55*a,.5*y)),qe.add(new go.PathSegment(go.PathSegment.Line,.55*a,0).close()),ft(Be),ft(Ce),ft(Ue),ft(Oe),ft(tt),E.spot1=new go.Spot(.25,.45),E.spot2=new go.Spot(.75,.8),E}),go.Shape.defineFigureGenerator("Fallout",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y/2,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,a/2,y/2,a/2,y/2));function ee(ie,ce,Be){ie.add(new go.PathSegment(go.PathSegment.Move,(.3+ce)*a,(.8+Be)*y)),ie.add(new go.PathSegment(go.PathSegment.Line,(.5+ce)*a,(.5+Be)*y)),ie.add(new go.PathSegment(go.PathSegment.Line,(.1+ce)*a,(.5+Be)*y)),ie.add(new go.PathSegment(go.PathSegment.Line,(.3+ce)*a,(.8+Be)*y).close())}return ee(b,0,0),ee(b,.4,0),ee(b,.2,-.3),E}),go.Shape.defineFigureGenerator("IrritationHazard",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.2*a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close()),E.spot1=new go.Spot(.3,.3),E.spot2=new go.Spot(.7,.7),E}),go.Shape.defineFigureGenerator("ElectricalHazard",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.37*a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.11*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.04*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.49*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.37*y)),b.add(new go.PathSegment(go.PathSegment.Line,.63*a,.86*y)),b.add(new go.PathSegment(go.PathSegment.Line,.77*a,.91*y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.34*a,.78*y)),b.add(new go.PathSegment(go.PathSegment.Line,.44*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.56*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*y).close()),E}),go.Shape.defineFigureGenerator("FireHazard",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.1*a,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*a,0,-.25*a,.63*y,.45*a,.44*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*a,.42*y,.48*a,.17*y,.54*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*a,.18*y,.59*a,.29*y,.58*a,.28*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*a,.6*y,.8*a,.34*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*a,.31*y,.87*a,.48*y,.88*a,.43*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,1.17*a,.76*y,.82*a,.8*y).close()),E.spot1=new go.Spot(.07,.445),E.spot2=new go.Spot(.884,.958),E}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(he,a,y){var E=new go.Geometry,b=.5,ee=0,ie=0,ce=b*vt,Be=.4*Math.SQRT2/2+.5,Ce=.5-.5*Math.SQRT2/2,Ue=1,Oe=.5,tt=.5,qe=0,ht=new go.PathFigure(Be*a,(1-Ce)*y,!1);return E.add(ht),ht.add(new go.PathSegment(go.PathSegment.Bezier,Ue*a,Oe*y,Ue*a,.7*y,Ue*a,Oe*y)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(tt+ee)*a,(qe+ee)*y,(.5+b+ee)*a,(.5-ce+ee)*y,(.5+ce+ee)*a,(.5-b+ee)*y)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+ee)*a,(.5+ie)*y,(.5-ce+ee)*a,(.5-b+ie)*y,(.5-b+ee)*a,(.5-ce+ie)*y)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(.35+ee)*a,.9*y,(.5-b+ee)*a,(.5+ce+ie)*y,(.5-ce+ee)*a,.9*y)),ht.add(new go.PathSegment(go.PathSegment.Move,(.25+ee)*a,.8*y)),ht.add(new go.PathSegment(go.PathSegment.Line,(.35+ee)*a,.9*y)),ht.add(new go.PathSegment(go.PathSegment.Line,(.2+ee)*a,.95*y)),E}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),E}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),E}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var ee=new go.PathFigure(a,y,!1);E.add(ee);var ie=new go.PathFigure(0,.5*y,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.2*a,.35*y,.3*a,.35*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.7*a,.65*y,.8*a,.65*y)),E}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y).close()),E}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y).close());var b=new go.PathFigure(0,.2*y,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),E}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.7*a,y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,0,.6*a,.5*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,y,.4*a,.5*y,a,.5*y).close());var ee=new go.PathFigure(.45*a,.73*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.7*a,.73*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.38*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.63*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.31*a,.27*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.56*a,.27*y)),E}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var ee=new go.PathFigure(.335*a,(1-.555)*y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,a,.68*y,(1-.12)*a,.46*y,(1-.02)*a,.54*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.68*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.335*a,(1-.555)*y,.02*a,.54*y,.12*a,.46*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.365*a,(1-.595)*y));var ie=.5-.285,ce=.5,Be=ie,Ce=Math.PI/4,Ue=4*(1-Math.cos(Ce))/(3*Math.sin(Ce)),Oe=Ue*.5,tt=ie,qe=ie,ht=Ue*tt,St=Ue*qe;ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce-tt)*a,Be*y,(ce-(ht+tt)/2)*a,(Be+(qe+St)/2)*y,(ce-tt)*a,(Be+St)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,ce*a,(Be-qe)*y,(ce-tt)*a,(Be-St)*y,(ce-ht)*a,(Be-qe)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(ce+tt)*a,Be*y,(ce+ht)*a,(Be-qe)*y,(ce+tt)*a,(Be-St)*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*a,(1-.595)*y,(ce+tt)*a,(Be+St)*y,(ce+(ht+tt)/2)*a,(Be+(qe+St)/2)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*a,(1-.595)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.555)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*a,(1-.405)*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.335*a,(1-.405)*y));var Tt=new go.PathFigure(.2*a,y,!1);E.add(Tt),Tt.add(new go.PathSegment(go.PathSegment.Line,.2*a,.8*y));var Kt=new go.PathFigure(.8*a,y,!1);return E.add(Kt),Kt.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),E}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.1*a,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,y).close());var ee=new go.PathFigure(.2*a,.2*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.8*y)),E}),go.Shape.defineFigureGenerator("BpmnEventError",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.5*y).close()),E}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b);var ee=new go.PathFigure(a,y,!1);E.add(ee);var ie=new go.PathFigure(.1*a,y,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),ie.add(new go.PathSegment(go.PathSegment.Line,.9*a,y)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y).close()),E}),go.Shape.defineFigureGenerator("Caution",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.05*a,y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.8*y,0,y,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*a,.1*y,.5*a,0,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,y,a,y,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,y));var ee=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-ee)*a,.875*y)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*a,.875*y,ee*a,ee*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.325*y,.575*a,.725*y,.625*a,.375*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.75*y,.375*a,.375*y,.425*a,.725*y)),E}),go.Shape.defineFigureGenerator("Recycle",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.45*a,.95*y,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*a,.85*y,.17*a,.95*y,.15*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.235*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,.3*a,.625*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,.275*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.05*a,.575*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*a,.95*y,0,.675*y,0,.7*y)),b.add(new go.PathSegment(go.PathSegment.Move,.45*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.775*y)),b.add(new go.PathSegment(go.PathSegment.Line,.22*a,.775*y));var ee=new go.PathFigure(.475*a,.2*y,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.4*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.225*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.275*a,.175*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.325*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,.05*y,.35*a,0,.375*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.575*a,.375*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.525*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.75*a,.475*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.315*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.32*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.05*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,0,.65*a,.05*y,.625*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.38*a,.0105*y));var ie=new go.PathFigure(.675*a,.575*y,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.875*a,.525*y)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,.85*a,.95*y,a,.8*y,a,.85*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.65*a,.95*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),ie.add(new go.PathSegment(go.PathSegment.Line,.55*a,.85*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.65*a,.725*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.65*a,.775*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.7*a,.775*y)),ie.add(new go.PathSegment(go.PathSegment.Line,a,.775*y)),ie.add(new go.PathSegment(go.PathSegment.Move,.675*a,.575*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.775*a,.775*y)),E}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(he,a,y){var E=new go.Geometry,b=.5,ee=vt*.5,ie=new go.PathFigure(a,b*y,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Bezier,b*a,y,a,(b+ee)*y,(b+ee)*a,y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,b*y,(b-ee)*a,y,0,(b+ee)*y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,b*a,0,0,(b-ee)*y,(b-ee)*a,0)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a,b*y,(b+ee)*a,0,a,(b-ee)*y));var ce=new go.PathFigure(b*a,0,!1);return E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.15*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,y)),ce.add(new go.PathSegment(go.PathSegment.Line,b*a,.85*y)),ce.add(new go.PathSegment(go.PathSegment.Move,0,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.15*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.58*a,.1*y)),ce.add(new go.PathSegment(go.PathSegment.Move,b*a,b*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.78*a,.54*y)),E}),go.Shape.defineFigureGenerator("Package",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.15*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close());var ee=new go.PathFigure(0,.15*y,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.65*a,.15*y).close()),E.spot1=new go.Spot(0,.1),E.spot2=new go.Spot(1,1),E}),go.Shape.defineFigureGenerator("Class",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ie=new go.PathFigure(0,.5*y,!1);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a,.5*y).close()),E}),go.Shape.defineFigureGenerator("Component",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a,y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close());var ee=new go.PathFigure(0,.2*y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.2*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.2*y).close());var ie=new go.PathFigure(0,.6*y,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.45*a,.6*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.45*a,.8*y)),ie.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ie.add(new go.PathSegment(go.PathSegment.Line,0,.6*y).close()),E}),go.Shape.defineFigureGenerator("Boat Shipment",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.15*a,.6*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.6*y));var ee=new go.PathFigure(.15*a,.6*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.85*a,.6*y)),E}),go.Shape.defineFigureGenerator("Customer/Supplier",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.66*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,.33*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),E}),go.Shape.defineFigureGenerator("Workcell",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.65*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.35*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),E}),go.Shape.defineFigureGenerator("Supermarket",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.33*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*y)),b.add(new go.PathSegment(go.PathSegment.Move,a,.66*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),E}),go.Shape.defineFigureGenerator("TruckShipment",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(a,.8*y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.6*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.8*y).close());var ie=.1,ce=vt*.1,Be=.2,Ce=.9,Ue=new go.PathFigure((Be-ie)*a,Ce*y,!0);E.add(Ue),Ue.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(Ce-ie)*y,(Be-ie)*a,(Ce-ce)*y,(Be-ce)*a,(Ce-ie)*y)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ie)*a,Ce*y,(Be+ce)*a,(Ce-ie)*y,(Be+ie)*a,(Ce-ce)*y)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(Ce+ie)*y,(Be+ie)*a,(Ce+ce)*y,(Be+ce)*a,(Ce+ie)*y)),Ue.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ie)*a,Ce*y,(Be-ce)*a,(Ce+ie)*y,(Be-ie)*a,(Ce+ce)*y).close()),ie=.1,ce=vt*.1,Be=.8,Ce=.9;var Oe=new go.PathFigure((Be-ie)*a,Ce*y,!0);return E.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(Ce-ie)*y,(Be-ie)*a,(Ce-ce)*y,(Be-ce)*a,(Ce-ie)*y)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(Be+ie)*a,Ce*y,(Be+ce)*a,(Ce-ie)*y,(Be+ie)*a,(Ce-ce)*y)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,Be*a,(Ce+ie)*y,(Be+ie)*a,(Ce+ce)*y,(Be+ce)*a,(Ce+ie)*y)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(Be-ie)*a,Ce*y,(Be-ce)*a,(Ce+ie)*y,(Be-ie)*a,(Ce+ce)*y).close()),E}),go.Shape.defineFigureGenerator("KanbanPost",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.2*a,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,y)),E}),go.Shape.defineFigureGenerator("Forklift",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var ee=new go.PathFigure(0,.5*y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ie=new go.PathFigure(.5*a,.8*y,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.5*a,.1*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.55*a,.1*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.55*a,.8*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.5*a,.8*y));var ce=new go.PathFigure(.5*a,.7*y,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a,.7*y));var Be=.1,Ce=vt*.1,Ue=.1,Oe=.9,tt=new go.PathFigure((Ue-Be)*a,Oe*y,!0);E.add(tt),tt.add(new go.PathSegment(go.PathSegment.Bezier,Ue*a,(Oe-Be)*y,(Ue-Be)*a,(Oe-Ce)*y,(Ue-Ce)*a,(Oe-Be)*y)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(Ue+Be)*a,Oe*y,(Ue+Ce)*a,(Oe-Be)*y,(Ue+Be)*a,(Oe-Ce)*y)),tt.add(new go.PathSegment(go.PathSegment.Bezier,Ue*a,(Oe+Be)*y,(Ue+Be)*a,(Oe+Ce)*y,(Ue+Ce)*a,(Oe+Be)*y)),tt.add(new go.PathSegment(go.PathSegment.Bezier,(Ue-Be)*a,Oe*y,(Ue-Ce)*a,(Oe+Be)*y,(Ue-Be)*a,(Oe+Ce)*y)),Be=.1,Ce=vt*.1,Ue=.4,Oe=.9;var qe=new go.PathFigure((Ue-Be)*a,Oe*y,!0);return E.add(qe),qe.add(new go.PathSegment(go.PathSegment.Bezier,Ue*a,(Oe-Be)*y,(Ue-Be)*a,(Oe-Ce)*y,(Ue-Ce)*a,(Oe-Be)*y)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(Ue+Be)*a,Oe*y,(Ue+Ce)*a,(Oe-Be)*y,(Ue+Be)*a,(Oe-Ce)*y)),qe.add(new go.PathSegment(go.PathSegment.Bezier,Ue*a,(Oe+Be)*y,(Ue+Be)*a,(Oe+Ce)*y,(Ue+Ce)*a,(Oe+Be)*y)),qe.add(new go.PathSegment(go.PathSegment.Bezier,(Ue-Be)*a,Oe*y,(Ue-Ce)*a,(Oe+Be)*y,(Ue-Be)*a,(Oe+Ce)*y)),E}),go.Shape.defineFigureGenerator("RailShipment",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.1*a,.4*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.45*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.4*y).close());var ee=new go.PathFigure(.45*a,.7*y,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.55*a,.7*y));var ie=new go.PathFigure(.55*a,.4*y,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.9*a,.9*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.55*a,.9*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.55*a,.4*y).close());var Ue=.05,Oe=vt*.05,tt=.175,qe=.95,ce=new go.PathFigure((tt-Ue)*a,qe*y,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Bezier,tt*a,(qe-Ue)*y,(tt-Ue)*a,(qe-Oe)*y,(tt-Oe)*a,(qe-Ue)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(tt+Ue)*a,qe*y,(tt+Oe)*a,(qe-Ue)*y,(tt+Ue)*a,(qe-Oe)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,tt*a,(qe+Ue)*y,(tt+Ue)*a,(qe+Oe)*y,(tt+Oe)*a,(qe+Ue)*y)),ce.add(new go.PathSegment(go.PathSegment.Bezier,(tt-Ue)*a,qe*y,(tt-Oe)*a,(qe+Ue)*y,(tt-Ue)*a,(qe+Oe)*y));var Ue=.05,Oe=vt*.05,tt=.375,qe=.95,Be=new go.PathFigure((tt-Ue)*a,qe*y,!0);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,tt*a,(qe-Ue)*y,(tt-Ue)*a,(qe-Oe)*y,(tt-Oe)*a,(qe-Ue)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(tt+Ue)*a,qe*y,(tt+Oe)*a,(qe-Ue)*y,(tt+Ue)*a,(qe-Oe)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,tt*a,(qe+Ue)*y,(tt+Ue)*a,(qe+Oe)*y,(tt+Oe)*a,(qe+Ue)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(tt-Ue)*a,qe*y,(tt-Oe)*a,(qe+Ue)*y,(tt-Ue)*a,(qe+Oe)*y));var Ue=.05,Oe=vt*.05,tt=.625,qe=.95,Ce=new go.PathFigure((tt-Ue)*a,qe*y,!0);E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,tt*a,(qe-Ue)*y,(tt-Ue)*a,(qe-Oe)*y,(tt-Oe)*a,(qe-Ue)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(tt+Ue)*a,qe*y,(tt+Oe)*a,(qe-Ue)*y,(tt+Ue)*a,(qe-Oe)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,tt*a,(qe+Ue)*y,(tt+Ue)*a,(qe+Oe)*y,(tt+Oe)*a,(qe+Ue)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(tt-Ue)*a,qe*y,(tt-Oe)*a,(qe+Ue)*y,(tt-Ue)*a,(qe+Oe)*y));var Ue=.05,Oe=vt*.05,tt=.825,qe=.95,ht=new go.PathFigure((tt-Ue)*a,qe*y,!0);E.add(ht),ht.add(new go.PathSegment(go.PathSegment.Bezier,tt*a,(qe-Ue)*y,(tt-Ue)*a,(qe-Oe)*y,(tt-Oe)*a,(qe-Ue)*y)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(tt+Ue)*a,qe*y,(tt+Oe)*a,(qe-Ue)*y,(tt+Ue)*a,(qe-Oe)*y)),ht.add(new go.PathSegment(go.PathSegment.Bezier,tt*a,(qe+Ue)*y,(tt+Ue)*a,(qe+Oe)*y,(tt+Oe)*a,(qe+Ue)*y)),ht.add(new go.PathSegment(go.PathSegment.Bezier,(tt-Ue)*a,qe*y,(tt-Oe)*a,(qe+Ue)*y,(tt-Ue)*a,(qe+Oe)*y).close());var St=new go.PathFigure(0,y,!1);return E.add(St),St.add(new go.PathSegment(go.PathSegment.Line,a,y).close()),E}),go.Shape.defineFigureGenerator("Warehouse",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var ee=new go.PathFigure(0,.2*y,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.2*y).close());var ie=new go.PathFigure(.15*a,y,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.15*a,.5*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*a,.5*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.4*a,y)),ie.add(new go.PathSegment(go.PathSegment.Line,.15*a,y).close());var ce=.05,Be=vt*.05,Ce=.35,Ue=.775,Oe=new go.PathFigure((Ce-ce)*a,Ue*y,!0);return E.add(Oe),Oe.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(Ue-ce)*y,(Ce-ce)*a,(Ue-Be)*y,(Ce-Be)*a,(Ue-ce)*y)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ce+ce)*a,Ue*y,(Ce+Be)*a,(Ue-ce)*y,(Ce+ce)*a,(Ue-Be)*y)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,Ce*a,(Ue+ce)*y,(Ce+ce)*a,(Ue+Be)*y,(Ce+Be)*a,(Ue+ce)*y)),Oe.add(new go.PathSegment(go.PathSegment.Bezier,(Ce-ce)*a,Ue*y,(Ce-Be)*a,(Ue+ce)*y,(Ce-ce)*a,(Ue+Be)*y).close()),E}),go.Shape.defineFigureGenerator("ControlCenter",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y).close()),E}),go.Shape.defineFigureGenerator("Bluetooth",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.75*y,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*y)),E}),go.Shape.defineFigureGenerator("Bookmark",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),E}),go.Shape.defineFigureGenerator("Bookmark",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Move,.2*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,.8*a,.4*y)),E}),go.Shape.defineFigureGenerator("Globe",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.5*y,.75*a,0,a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,a,.75*y,.75*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.25*a,y,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,0,.25*y,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,y,.15*a,.25*y,.15*a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.85*a,.75*y,.85*a,.25*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.15*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.15*y,.35*a,.3*y,.65*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*a,.85*y,.35*a,.7*y,.65*a,.7*y)),E}),go.Shape.defineFigureGenerator("Wave",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.25*y,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.25*y,.1*a,0,.2*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.25*y,.425*a,.5*y,.575*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.25*y,.8*a,0,.9*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.75*y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.75*y,.1*a,.5*y,.2*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*a,.75*y,.425*a,y,.575*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.75*y,.8*a,.5*y,.9*a,.5*y)),E}),go.Shape.defineFigureGenerator("Operator",function(he,a,y){var E=new go.Geometry,b=.3,ee=vt*.3,ie=.5,ce=.7,Be=new go.PathFigure((ie-b)*a,ce*y,!0);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce-b)*y,(ie-b)*a,(ce-ee)*y,(ie-ee)*a,(ce-b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+b)*a,ce*y,(ie+ee)*a,(ce-b)*y,(ie+b)*a,(ce-ee)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+b)*y,(ie+b)*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-b)*a,ce*y,(ie-ee)*a,(ce+b)*y,(ie-b)*a,(ce+ee)*y));var Ce=new go.PathFigure(0,.7*y,!1);return E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,a,.7*y,0,0,a,0)),E}),go.Shape.defineFigureGenerator("TripleFanBlades",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.5*a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.65*a,.3*y,.65*a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.35*a,.5*y,.35*a,.3*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,y,.3*a,.6*y,.1*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.2*a,y,.35*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.65*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,y,.7*a,.6*y,.9*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.65*y,.8*a,y,.65*a,.95*y)),E}),go.Shape.defineFigureGenerator("CentrifugalPump",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a,0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,0,.075*y,0,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*a,y,0,y,.4*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.4*y,.8*a,y,.85*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,0)),E}),go.Shape.defineFigureGenerator("Battery",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,.4*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.1*y));var ee=new go.PathFigure(0,.6*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,0,.4*y)),ee.add(new go.PathSegment(go.PathSegment.Line,a,.4*y)),E}),go.Shape.defineFigureGenerator("Delete",function(he,a,y){var E=new go.Geometry,b=.5,ee=vt*.5,ie=.5,ce=.5,Be=new go.PathFigure((ie-b)*a,ce*y,!0);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce-b)*y,(ie-b)*a,(ce-ee)*y,(ie-ee)*a,(ce-b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+b)*a,ce*y,(ie+ee)*a,(ce-b)*y,(ie+b)*a,(ce-ee)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+b)*y,(ie+b)*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-b)*a,ce*y,(ie-ee)*a,(ce+b)*y,(ie-b)*a,(ce+ee)*y));var Ce=new go.PathFigure(.15*a,.5*y,!1);return E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,.85*a,.5*y)),E}),go.Shape.defineFigureGenerator("Flag",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.1*y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.1*y,.15*a,0,.35*a,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,a,.1*y,.65*a,.2*y,.85*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.5*y,.85*a,.6*y,.65*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*y,.35*a,.4*y,.15*a,.4*y).close()),E}),go.Shape.defineFigureGenerator("Help",function(he,a,y){var E=new go.Geometry,b=.5,ee=vt*.5,ie=.5,ce=.5,Be=new go.PathFigure((ie-b)*a,ce*y,!1);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce-b)*y,(ie-b)*a,(ce-ee)*y,(ie-ee)*a,(ce-b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie+b)*a,ce*y,(ie+ee)*a,(ce-b)*y,(ie+b)*a,(ce-ee)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+b)*y,(ie+b)*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y)),Be.add(new go.PathSegment(go.PathSegment.Bezier,(ie-b)*a,ce*y,(ie-ee)*a,(ce+b)*y,(ie-b)*a,(ce+ee)*y).close()),b=.05,ee=vt*.05,ie=.5,ce=.8;var Ce=new go.PathFigure((ie-b)*a,ce*y,!1);return E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce-b)*y,(ie-b)*a,(ce-ee)*y,(ie-ee)*a,(ce-b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie+b)*a,ce*y,(ie+ee)*a,(ce-b)*y,(ie+b)*a,(ce-ee)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,ie*a,(ce+b)*y,(ie+b)*a,(ce+ee)*y,(ie+ee)*a,(ce+b)*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,(ie-b)*a,ce*y,(ie-ee)*a,(ce+b)*y,(ie-b)*a,(ce+ee)*y).close()),Ce.add(new go.PathSegment(go.PathSegment.Move,.5*a,.7*y)),Ce.add(new go.PathSegment(go.PathSegment.Line,.5*a,.5*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.5*a,.2*y,.75*a,.475*y,.75*a,.225*y)),Ce.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.35*y,.4*a,.2*y,.3*a,.25*y)),E}),go.Shape.defineFigureGenerator("Location",function(he,a,y){return new go.Geometry().add(new go.PathFigure(.5*a,y,!0).add(new go.PathSegment(go.PathSegment.Line,.75*a,.5*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5*a,0,.975*a,.025*y,.5*a,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*a,.5*y,.5*a,0,.025*a,.025*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*a,.3*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Lock",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.3*y)),E}),go.Shape.defineFigureGenerator("Unlocked",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,.5*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*y));var ee=new go.PathFigure(.2*a,.5*y,!1);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Move,.2*a,.5*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.2*a,.3*y)),ee.add(new go.PathSegment(go.PathSegment.Bezier,.8*a,.3*y,.25*a,0,.75*a,0)),ee.add(new go.PathSegment(go.PathSegment.Line,.8*a,.35*y)),E}),go.Shape.defineFigureGenerator("Gear",function(he,a,y){return new go.Geometry().add(new go.PathFigure(.9375*a,.56246875*y,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.80621875*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.763*a,.3316875*y,.79840625*a,.39915625*y,.7834375*a,.3635*y)).add(new go.PathSegment(go.PathSegment.Line,.8566875*a,.23796875*y)).add(new go.PathSegment(go.PathSegment.Line,.76825*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.67596875*a,.24184375*y)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*a,.19378125*y,.64228125*a,.2188125*y,.603875*a,.2021875*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.0625*y)).add(new go.PathSegment(go.PathSegment.Line,.4375*a,.19378125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*a,.239375*y,.39759375*a,.20190625*y,.36053125*a,.2176875*y)).add(new go.PathSegment(go.PathSegment.Line,.2379375*a,.14959375*y)).add(new go.PathSegment(go.PathSegment.Line,.14953125*a,.2379375*y)).add(new go.PathSegment(go.PathSegment.Line,.23934375*a,.3278125*y)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*a,.4375*y,.21765625*a,.36059375*y,.201875*a,.397625*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.4375*y)).add(new go.PathSegment(go.PathSegment.Line,.0625*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Line,.1938125*a,.5625*y)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*a,.67596875*y,.20221875*a,.603875*y,.21884375*a,.64228125*y)).add(new go.PathSegment(go.PathSegment.Line,.1495625*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.238*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.3316875*a,.76296875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*a,.80621875*y,.36353125*a,.78340625*y,.3991875*a,.79840625*y)).add(new go.PathSegment(go.PathSegment.Line,.43753125*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.9375*y)).add(new go.PathSegment(go.PathSegment.Line,.5625*a,.80621875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*a,.760625*y,.602375*a,.79809375*y,.63946875*a,.78234375*y)).add(new go.PathSegment(go.PathSegment.Line,.76828125*a,.8566875*y)).add(new go.PathSegment(go.PathSegment.Line,.85671875*a,.76825*y)).add(new go.PathSegment(go.PathSegment.Line,.76065625*a,.67221875*y)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*a,.56246875*y,.78234375*a,.63940625*y,.798125*a,.602375*y)).add(new go.PathSegment(go.PathSegment.Line,.9375*a,.56246875*y).close()).add(new go.PathSegment(go.PathSegment.Move,.5*a,.6*y)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*a,.5*y,.1*a,.1*y).close()))}),go.Shape.defineFigureGenerator("Hand",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.5*y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*a,.3*y,0,.375*y,.05*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*a,.075*y,.3*a,.225*y,.4*a,.175*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*a,.075*y,.46*a,.05*y,.525*a,.05*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*a,.4*y,.525*a,.275*y,.475*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.55*y,a,.4*y,a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.425*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.55*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*a,.7*y,.675*a,.55*y,.675*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.575*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*a,.85*y,.65*a,.7*y,.65*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Line,.525*a,.85*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*a,y,.61*a,.85*y,.61*a,y)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*y,.435*a,y,0,y).close()),E}),go.Shape.defineFigureGenerator("Map",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,.2*y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*a,.8*y)),b.add(new go.PathSegment(go.PathSegment.Move,.5*a,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y)),b.add(new go.PathSegment(go.PathSegment.Move,.75*a,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*a,.8*y)),E}),go.Shape.defineFigureGenerator("Eject",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a,y)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.7).close());var ee=new go.PathFigure(0,y*.6,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a,.6*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.5*a,0).close()),E}),go.Shape.defineFigureGenerator("Pencil",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.2*y).close()))}),go.Shape.defineFigureGenerator("Building",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a*1,y*1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.3)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*a,y*.85)),b.add(new go.PathSegment(go.PathSegment.Line,a,y*.85).close());var ee=new go.PathFigure(.126*a,.85*y,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,.126*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.45*y)),ee.add(new go.PathSegment(go.PathSegment.Line,.322*a,.85*y).close());var ie=new go.PathFigure(.402*a,.85*y,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,.402*a,.45*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.598*a,.45*y)),ie.add(new go.PathSegment(go.PathSegment.Line,.598*a,.85*y).close());var ce=new go.PathFigure(.678*a,.85*y,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,.678*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.45*y)),ce.add(new go.PathSegment(go.PathSegment.Line,.874*a,.85*y).close());var Be=new go.PathFigure(.5*a,.1*y,!1);return E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*a,.3*y)),Be.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*a,.3*y).close()),E}),go.Shape.defineFigureGenerator("Staircase",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y*1,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.8)),b.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.6)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.4)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.2)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.15)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*.95).close()),E}),go.Shape.defineFigureGenerator("5Bars",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,y*1,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.184,y*(1-.184)).close());var ee=new go.PathFigure(a*.204,y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.204,y*(1-.184))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*(1-.184*2))),ee.add(new go.PathSegment(go.PathSegment.Line,a*.388,y*1).close());var ie=new go.PathFigure(a*.408,y,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a*.408,y*(1-.184*2))),ie.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*(1-.184*3))),ie.add(new go.PathSegment(go.PathSegment.Line,a*.592,y*1).close());var ce=new go.PathFigure(a*.612,y,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.612,y*(1-.184*3))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*(1-.184*4))),ce.add(new go.PathSegment(go.PathSegment.Line,a*.796,y*1).close());var Be=new go.PathFigure(a*.816,y,!0);return E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,a*.816,y*(1-.184*4))),Be.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-.184*5))),Be.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1).close()),E}),go.Shape.defineFigureGenerator("PC",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,0).close());var ee=new go.PathFigure(a*.055,.07*y,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.07)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.1).close());var ie=new go.PathFigure(a*.055,.13*y,!0);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.13)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.16)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.16).close());var ce=new go.PathFigure(a*.055,.18*y,!0);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.18)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.245,y*.21)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.055,y*.21).close());var Be=new go.PathFigure(a*1,0,!0);return E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,a*.4,0)),Be.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.65)),Be.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.65).close()),E}),go.Shape.defineFigureGenerator("Plane",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(.55*a,y,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.7*y)),b.add(new go.PathSegment(go.PathSegment.Line,.1*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*a,.525*y,0,.4*y,.225*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.4*a,.475*y)),b.add(new go.PathSegment(go.PathSegment.Line,.15*a,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,.2*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.325*y)),b.add(new go.PathSegment(go.PathSegment.Line,.85*a,.1*y)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*a,.2*y,.975*a,0,a,.08*y)),b.add(new go.PathSegment(go.PathSegment.Line,.7*a,.45*y)),b.add(new go.PathSegment(go.PathSegment.Line,.6*a,.95*y)),b.add(new go.PathSegment(go.PathSegment.Line,.55*a,y).close()),E}),go.Shape.defineFigureGenerator("Key",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a*1,y*.5,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.4*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.2*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*y)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.15,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,.8*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.65*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,.55*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,.6*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,.575*y)),b.add(new go.PathSegment(go.PathSegment.Line,a*.9,.6*y).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*a,.425*y)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*a,.5*y,.075*a,.075*y).close()),E}),go.Shape.defineFigureGenerator("FilmTape",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(0,0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,a*0,a*.3,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.08,y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*1),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*2),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*3),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*4),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*5),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*6),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*7),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*8),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*9),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*10),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*11),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*12),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*13),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*14),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*.95)),b.add(new go.PathSegment(go.PathSegment.Line,a*(.08+.056*15),y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ee=new go.PathFigure(0,0,!1);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*0)),ee.add(new go.PathSegment(go.PathSegment.Arc,270,-180,a*1,a*.3,a*.055)),ee.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1));var ie=new go.PathFigure(a*.11,y*.1,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.1)),ie.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*0),y*.8)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.11,y*.8).close());var ce=new go.PathFigure(a*(.11+.24133333*1+.028*1),y*.1,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.1)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*1),y*.8)),ce.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*1+.028*1),y*.8).close());var Be=new go.PathFigure(a*(.11+.24133333*2+.028*2),y*.1,!1);return E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.1)),Be.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*3+.028*2),y*.8)),Be.add(new go.PathSegment(go.PathSegment.Line,a*(.11+.24133333*2+.028*2),y*.8).close()),E}),go.Shape.defineFigureGenerator("FloppyDisk",function(he,a,y){var E=new go.Geometry,b=8,ee=b*vt,ie=new go.PathFigure(b,0,!1);E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a*.86,0)),ie.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.14)),ie.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),ie.add(new go.PathSegment(go.PathSegment.Line,b,y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),ie.add(new go.PathSegment(go.PathSegment.Line,0,b)),ie.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,ee,ee,0).close());var ce=new go.PathFigure(a*.83,0,!1);E.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.3)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*0).close());var Be=new go.PathFigure(a*.83,y*1,!1);E.add(Be),Be.add(new go.PathSegment(go.PathSegment.Line,a*.83,y*.5)),Be.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*.5)),Be.add(new go.PathSegment(go.PathSegment.Line,a*.17,y*1).close());var Ce=new go.PathFigure(a*.78,y*.05,!1);return E.add(Ce),Ce.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.05)),Ce.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.25)),Ce.add(new go.PathSegment(go.PathSegment.Line,a*.78,y*.25).close()),E}),go.Shape.defineFigureGenerator("SpeechBubble",function(he,a,y){var E=he?he.parameter1:NaN;(isNaN(E)||E<0)&&(E=15),E=Math.min(E,a/3),E=Math.min(E,y/3);var b=E*vt,ee=y*.8,ie=new go.Geometry,ce=new go.PathFigure(E,0,!0);return ie.add(ce),ce.add(new go.PathSegment(go.PathSegment.Line,a-E,0)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a,E,a-b,0,a,b)),ce.add(new go.PathSegment(go.PathSegment.Line,a,ee-E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,a-E,ee,a,ee-b,a-b,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.7,y)),ce.add(new go.PathSegment(go.PathSegment.Line,a*.55,ee)),ce.add(new go.PathSegment(go.PathSegment.Line,E,ee)),ce.add(new go.PathSegment(go.PathSegment.Bezier,0,ee-E,b,ee,0,ee-b)),ce.add(new go.PathSegment(go.PathSegment.Line,0,E)),ce.add(new go.PathSegment(go.PathSegment.Bezier,E,0,0,b,b,0).close()),b>1?(ie.spot1=new go.Spot(0,0,b,b),ie.spot2=new go.Spot(1,.8,-b,-b)):(ie.spot1=go.Spot.TopLeft,ie.spot2=new go.Spot(1,.8)),ie}),go.Shape.defineFigureGenerator("Repeat",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*.45,!0);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.2,y*.45).close());var ee=new go.PathFigure(a*1,y*.55,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.55)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.1)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*.55).close()),E}),go.Shape.defineFigureGenerator("Windows",function(he,a,y){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,a,0)).add(new go.PathSegment(go.PathSegment.Line,a,y)).add(new go.PathSegment(go.PathSegment.Line,0,y).close()).add(new go.PathSegment(go.PathSegment.Move,.4*a,.4*y)).add(new go.PathSegment(go.PathSegment.Line,.4*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.8*y)).add(new go.PathSegment(go.PathSegment.Line,.9*a,.4*y).close()).add(new go.PathSegment(go.PathSegment.Move,.2*a,.1*y)).add(new go.PathSegment(go.PathSegment.Line,.2*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.7*a,.1*y).close()).add(new go.PathSegment(go.PathSegment.Move,.1*a,.6*y)).add(new go.PathSegment(go.PathSegment.Line,.1*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.9*y)).add(new go.PathSegment(go.PathSegment.Line,.5*a,.6*y).close()))}),go.Shape.defineFigureGenerator("Terminal",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*.1,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.9)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.9).close());var ee=new go.PathFigure(a*.1,y*.2,!0);E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.25)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.22,y*.285)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.1,y*.37)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.32)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.275,y*.25).close());var ie=new go.PathFigure(a*.28,y*.37,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.37)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.41)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.28,y*.41).close()),E}),go.Shape.defineFigureGenerator("Beaker",function(he,a,y){var E=new go.Geometry,b=15,ee=b*vt,ie=new go.PathFigure(a*.62,y*.475,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a,y-b)),ie.add(new go.PathSegment(go.PathSegment.Bezier,a-b,y,a,y-ee,a-ee,y)),ie.add(new go.PathSegment(go.PathSegment.Line,b,y)),ie.add(new go.PathSegment(go.PathSegment.Bezier,0,y-b,ee,y,0,y-ee)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.475)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.38,y*.03)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*0)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*0)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.62,y*.03).close()),ee>1?(E.spot1=new go.Spot(0,0,ee,ee),E.spot2=new go.Spot(1,1,-ee,-ee)):(E.spot1=go.Spot.TopLeft,E.spot2=go.Spot.BottomRight),E}),go.Shape.defineFigureGenerator("Download",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);E.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var ie=new go.PathFigure(a*.4,y*0,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.44)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.44)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.66)),ie.add(new go.PathSegment(go.PathSegment.Line,a*(1-.26),y*.44)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.44)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*0).close()),E}),go.Shape.defineFigureGenerator("Bin",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);E.add(b);var ee=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close()),E}),go.Shape.defineFigureGenerator("Upload",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a*0,y*1,!0);E.add(b);var ee=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.8,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.66,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.755,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*.93,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.64,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.61,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.39,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.36,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*.07,y*(1-ee))),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.755),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.66),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*(1-.8),y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*(1-ee)).close());var ie=new go.PathFigure(a*.5,y*0,!0);return E.add(ie),ie.add(new go.PathSegment(go.PathSegment.Line,a*.26,y*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.4,y*.63)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.63)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.6,y*.25)),ie.add(new go.PathSegment(go.PathSegment.Line,a*.74,y*.25).close()),E}),go.Shape.defineFigureGenerator("EmptyDrink",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close()),E}),go.Shape.defineFigureGenerator("Drink",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a*.15,y*0,!1);E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.85,y*0)),b.add(new go.PathSegment(go.PathSegment.Line,a*.7,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.3,y*1).close());var ee=new go.PathFigure(a*.235,y*.28,!0);return E.add(ee),ee.add(new go.PathSegment(go.PathSegment.Line,a*.765,y*.28)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.655,y*.97)),ee.add(new go.PathSegment(go.PathSegment.Line,a*.345,y*.97).close()),E}),go.Shape.defineFigureGenerator("4Arrows",function(he,a,y){var E=new go.Geometry,b=new go.PathFigure(a*.5,y*0,!0);return E.add(b),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*1,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*.75,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.55,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.65,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.5,y*1)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.75)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.55)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.65)),b.add(new go.PathSegment(go.PathSegment.Line,a*0,y*.5)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.35)),b.add(new go.PathSegment(go.PathSegment.Line,a*.25,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.45)),b.add(new go.PathSegment(go.PathSegment.Line,a*.45,y*.25)),b.add(new go.PathSegment(go.PathSegment.Line,a*.35,y*.25).close()),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 kt={},tA="5.0",Fe={},ue=null,ft=!1,qt=!1,tn=null,bt=!1,nn=null,vt=null,De=0;De4?parseFloat(Ft):5};kt.setHTML5Codebase=function(Ft,Et){vt=Ft,Wt(Ft,Et)},kt.setJavaCodebase=kt.setJavaCodebaseVersion=kt.isCompiledInstalled=kt.setPreCompiledScriptPath=kt.setPreCompiledResourcePath=function(){},kt.setHTML5CodebaseVersion=function(Ft,Et){var on=parseFloat(Ft);if(on!==NaN&&on<5){console.log("The GeoGebra HTML5 codebase version "+on+" is deprecated. Using version latest instead.");return}nn=Ft,Ye(Ft,Et)},kt.getHTML5CodebaseVersion=function(){return he},kt.getParameters=function(){return Fe},kt.setFontsCSSURL=function(Ft){ie=Ft},kt.setGiacJSURL=function(Ft){},kt.setJNLPFile=function(Ft){ve=Ft},kt.setJNLPBaseDir=function(Ft){},kt.inject=function(){function Ft(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Et="auto",on=Fe.id,nA,Qn=!1,AA=0;AA=5)return!0;var Ft=kt.getAppletObject();return Ft&&typeof Ft.recalculateEnvironments=="function"?(Ft.recalculateEnvironments(),!0):!1},kt.startAnimation=function(){var Ft=kt.getAppletObject();return Ft&&typeof Ft.startAnimation=="function"?(Ft.startAnimation(),!0):!1},kt.stopAnimation=function(){var Ft=kt.getAppletObject();return Ft&&typeof Ft.stopAnimation=="function"?(Ft.stopAnimation(),!0):!1},kt.getAppletObject=function(){var Ft=Fe.id!==void 0?Fe.id:"ggbApplet";return window[Ft]},kt.resize=function(){};var ht=function(Ft,Et,on){var nA=document.createElement("param");nA.setAttribute("name",Et),nA.setAttribute("value",on),Ft.appendChild(nA)},St=function(Ft){return Ft&&Ft!=="false"},Tt=function(Ft,Et,on){Be(he)<=4.2&&(on=!0);var nA=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==he||ggbHTML5LoadedCodebaseIsWebSimple&&!y)&&(nA=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var Qn=document.createElement("div");Qn.classList.add("appletParameters","notranslate");var AA=Et.width,Ve=Et.height;if(Et.disableAutoScale=Et.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Et.disableAutoScale,Et.width!==void 0)if(Be(he)<=4.4)St(Et.showToolBar)&&(Et.height-=7),St(Et.showAlgebraInput)&&(Et.height-=37),Et.width<605&&St(Et.showToolBar)&&(Et.width=605,AA=605);else{var An=100;(St(Et.showToolBar)||St(Et.showMenuBar))&&(Et.hasOwnProperty("customToolBar")&&(Et.customToolbar=Et.customToolBar),An=St(Et.showMenuBar)?245:155),AA=5?(Et.appletOnLoad=function(rA){var qn=Ft.querySelector(".ggb_preview");qn&&qn.parentNode.removeChild(qn),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Kn),window.GGBT_wsf_view&&$(window).trigger("resize"),iA(rA)},_t||Kn.appendChild(rt)):Qn.appendChild(rt),Kn.appendChild(Qn),_t||Ft.appendChild(Kn),setTimeout(function(){kt.resize()},1)}else{var _e=document.createElement("div");_e.className="applet_scaler",_e.style.position="relative",_e.style.display="block",_e.appendChild(Qn),Ft.appendChild(_e),Et.appletOnLoad=function(rA){kt.resize(),iA(rA)}}function At(rA,qn){qn&&typeof qn.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(rA,qn.appletOnLoad):renderGGBElement(rA),en("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",qn)}function pt(rA,qn){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:rA,params:qn}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(hA){At(hA.article,hA.params)}),html5AppletsToProcess=null)},Be(he)<5&&(rA.className+=" geogebraweb")):At(rA,qn)}if(nA){scriptLoadStarted=!0;for(var Gt=0;Gt0?(Sn.remove(),Kn.attr("id","fullscreencontent").show(),jQuery(iA).append(Kn),window.dispatchEvent(new Event("resize"))):Tt(Sn,Et,!1),window.GGBT_wsf_view.launchFullScreen(iA)}else Ne=nA,Tt(Ft,Et,!1);if(!window.GGBT_wsf_view)for(Ve=0;VeFt/4*3&&(Sn=Ft/4*3),iA=Sn/5.8,An.setAttribute("src",b),An.setAttribute("width",Sn),An.setAttribute("height",iA);var Kn=(Ft-Sn)/2,_t=(Et-iA)/2;An.style.left=Kn+"px",An.style.top=_t+"px",Qn.appendChild(An)}}return Qn.appendChild(Ve),Qn},Jt=function(Ft){return Ft=Ft.toLowerCase(),Ft==="html5"||Ft==="screenshot"?Ft:"html5"},Pt=["web","webSimple","web3d","tablet","tablet3d","phone"],Ye=function(Ft,Et){if(he=Ft,Et){Wt(he,!0);return}var on=!ft;if(on){var nA=Be(he);!isNaN(nA)&&nA<4.4&&(on=!1)}var Qn,AA;window.location.protocol.substr(0,4)==="http"?Qn=window.location.protocol:Qn="http:";var Ve=he.indexOf("//");Ve>0?AA=he:Ve===0?AA=Qn+he:AA="https://www.geogebra.org/apps/5.2.814.0/";for(var An in Pt)if(he.slice(Pt[An].length*-1)===Pt[An]||he.slice((Pt[An].length+1)*-1)===Pt[An]+"/"){Wt(AA,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&on&&!ue.is3D&&!ue.AV&&!ue.SV&&!ue.CV&&!ue.EV2&&!ue.CP&&!ue.PC&&!ue.DA&&!ue.FI&&!ue.PV&&!St(Fe.showToolBar)&&!St(Fe.showMenuBar)&&!St(Fe.showAlgebraInput)&&!St(Fe.enableRightClick)&&(!Fe.appName||Fe.appName=="classic")?AA+="webSimple/":AA+="web3d/",Wt(AA,!1)},Wt=function(Ft,Et){if(Ft.requirejs){Ke=Ft;return}Ft.slice(-1)!=="/"&&(Ft+="/"),Ke=Ft,Et===null&&(Et=Ft.indexOf("http")===-1),Me=Et,a="web.nocache.js",y=!1;var on=Ke.split("/");on.length>1&&(!Et&&on[on.length-2]==="webSimple"?(a="webSimple.nocache.js",y=!0):Pt.indexOf(on[on.length-2])>=0&&(a=on[on.length-2]+".nocache.js")),on=Ft.split("/"),he=on[on.length-3],he.substr(0,4)==="test"?he=he.substr(4,1)+"."+he.substr(5,1):(he.substr(0,3)==="war"||he.substr(0,4)==="beta")&&(he="5.0");var nA=parseFloat(he);nA!==NaN&&nA<5&&Ft.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+nA+" is deprecated. Using version latest instead."),Ye("5.0",Et))},en=function(Ft,Et){window.console&&window.console.log&&(!Et||typeof Et.showLogging=="undefined"||Et.showLogging&&Et.showLogging!=="false")&&console.log(Ft)};Fe.material_id!==void 0?Oe($n):$n();function $n(){var Ft=tA;nn!==null?Ft=nn:parseFloat(Ft)<5&&(Ft="5.0"),Ye(Ft,!1),vt!==null&&Wt(vt,Me),bt=!0}return kt},GGBAppletUtils=function(){"use strict";function kt(){return window.GGBT_wsf_edit!==void 0}function tA(bt,nn){nn!=1?(bt.style.transformOrigin="0% 0% 0px",bt.style.webkitTransformOrigin="0% 0% 0px",bt.style.transform="scale("+nn+","+nn+")",bt.style.webkitTransform="scale("+nn+","+nn+")",bt.style.maxWidth="initial",bt.querySelector(".ggb_preview")!==null&&(bt.querySelector(".ggb_preview").style.maxWidth="initial"),bt.querySelectorAll(".ggb_preview img")[0]!==void 0&&(bt.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),bt.querySelectorAll(".ggb_preview img")[1]!==void 0&&(bt.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(bt.style.transform="none",bt.style.webkitTransform="none")}function Fe(bt,nn,vt,De,Ze,ve){var Ke=null;if(ve!=null&&ve!="")for(var Me=bt.parentNode;Me!=null;)if((" "+Me.className+" ").indexOf(" "+ve+" ")>-1){Ke=Me;break}else Me=Me.parentNode;var Ne=0,he=0,a=0,y=0,E=0,b=0,ee=0;if(Ke)Ne=Ke.offsetWidth,he=Math.max(De?Ke.offsetWidth:0,Ke.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(Ne=Math.min(window.innerWidth,document.documentElement.clientWidth),he=Math.min(window.innerHeight,document.documentElement.clientHeight),a=Ne):(Ne=window.innerWidth,he=window.innerHeight,a=window.innerWidth),bt){var ie=bt.getBoundingClientRect();ie.left>0&&ie.left<=Ne&&(Ze===void 0||!Ze)&&(document.dir==="rtl"?(E=Ne-ie.width-ie.left,b=a<=480?10:30):(b=ie.left,E=a<=480?10:30),y=b+E)}if(bt&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var ce=bt.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(y=40,ee=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(y=0,ee=40)}}return bt&&((vt===void 0||!vt)&&nn>0&&nn+y1&&(ve=!0)),nn&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(ve=!0),!(bt.hasOwnProperty("disableAutoScale")&&bt.disableAutoScale))Ze=ue(bt,nn,ve,vt,bt.scaleContainerClass);else return De;return ve&&(!bt.hasOwnProperty("scale")||De===1)?Ze:Math.min(De,Ze)}function qt(bt){var nn=Math.min(window.innerWidth,document.documentElement.clientWidth),vt=Math.min(window.innerHeight,document.documentElement.clientHeight),De=bt.getBoundingClientRect(),Ze=(nn-De.width)/2,ve=(vt-De.height)/2;ve<0&&(ve=0),bt.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(Ze<40?bt.style.left="40px":bt.style.left=Ze+"px",bt.style.top=ve+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(ve<40?bt.style.top="40px":bt.style.top=ve+"px",bt.style.left=Ze+"px")}function tn(bt,nn){var vt=bt.querySelector(".appletParameters");if(vt){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(nn.id!==vt.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(bt)}if(vt.parentElement&&/fullscreen/.test(vt.parentElement.className))return;var De=ft(nn,bt);kt()&&vt.setAttribute("data-param-scale",De);for(var Ze=null,ve=0;ve=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(kt){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(kt){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(kt){var tA=c[kt];return tA==null?null:tA},r=d,webModule.__errFn=e}function B(){function kt(bt){var nn=bt.lastIndexOf(rb);nn==-1&&(nn=bt.length);var vt=bt.indexOf(sb);vt==-1&&(vt=bt.length);var De=bt.lastIndexOf(tb,Math.min(vt,nn));return De>=O?bt.substring(O,De+P):W}function tA(bt){if(!bt.match(/^\w+:\/\//)){var nn=o.createElement(ub);nn.src=bt+vb,bt=kt(nn.src)}return bt}function Fe(){var bt=__gwt_getMetaProperty(wb);return bt!=null?bt:W}function ue(){for(var bt=o.getElementsByTagName(_),nn=O;nnO?bt[bt.length-P].href:W}function qt(){var bt=o.location;return bt.href==bt.protocol+zb+bt.host+bt.pathname+bt.search+bt.hash}var tn=Fe();return tn==W&&(tn=ue()),tn==W&&(tn=ft()),tn==W&&qt()&&(tn=kt(o.location.href)),tn=tA(tn),tn}function C(kt){return kt.match(/^\//)||kt.match(/^[a-zA-Z]+:\/\//)?kt:webModule.__moduleBase+kt}function D(){var kt=[],tA=O,Fe=[],ue=[];function ft(bt){var nn=ue[bt](),vt=Fe[bt];if(nn in vt)return nn;var De=[];for(var Ze in vt)De[vt[Ze]]=Ze;throw r&&r(bt,De,nn),null}if(__gwt_isKnownPropertyValue=function(bt,nn){return nn in Fe[bt]},webModule.__getPropMap=function(){var bt={};for(var nn in Fe)Fe.hasOwnProperty(nn)&&(bt[nn]=ft(nn));return bt},webModule.__computePropValue=ft,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var qt;try{qt=Cb;var tn=qt.indexOf(Db);tn!=-1&&(tA=parseInt(qt.substring(tn+P),$),qt=qt.substring(O,tn))}catch(bt){}return webModule.__softPermutationId=tA,C(qt+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(kt,tA,Fe){"use strict";Fe.d(tA,{Ax:function(){return tn},Ds:function(){return bt},KI:function(){return vt},SI:function(){return qt},f1:function(){return ft}});var ue=Fe(11320);function ft(De){let Ze=!0;if(De.length>0){for(let ve=0;venew Promise((y,E)=>{var b=ce=>{try{ie(a.next(ce))}catch(Be){E(Be)}},ee=ce=>{try{ie(a.throw(ce))}catch(Be){E(Be)}},ie=ce=>ce.done?y(ce.value):Promise.resolve(ce.value).then(b,ee);ie((a=a.apply(Ne,he)).next())}),Me=({data:Ne,className:he,fullWidth:a,style:y={},onClose:E,onOk:b,showFullTools:ee,noAssociationId:ie})=>{const ce=(0,Ze.useIntl)(),Be=(0,ue.useRef)(null),Ce=(0,ue.useRef)(null),Ue=(0,ue.useRef)(null),Oe=(0,ue.useRef)(null),[tt,qe]=(0,ue.useState)(!1),[ht,St]=(0,ue.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ue.useEffect)(()=>{Ue.current||(Ue.current=document.createElement("style"),document.head.appendChild(Ue.current)),Ne!=null&&Ne.visible?(document.body.setAttribute("data-custom","y-hidden"),Ue.current.innerHTML=" html { overflow-y: hidden; }",Ne!=null&&Ne.src&&Tt()):(document.body.removeAttribute("data-custom"),Ue.current&&(document.head.removeChild(Ue.current),Ue.current=null))},[Ne==null?void 0:Ne.visible]);const Tt=()=>ve(void 0,null,function*(){qe(!0),St("\u6B63\u5728\u52A0\u8F7D\u4E2D");const zt=yield(0,De.ZJ)(Ne==null?void 0:Ne.src);Be.current.src="",Be.current.src=zt,Be.current.onload=function(){un()},qe(!1),St("")}),Kt=()=>{document.body.removeAttribute("data-custom"),Ue.current.innerHTML=" ",E()},an=zt=>ve(void 0,null,function*(){qe(!0),St("\u6B63\u5728\u4FDD\u5B58\u4E2D");const Jt=yield(0,vt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Ne.title,file:zt.dataUrl}});Jt!=null&&Jt.id&&!ie?(yield(0,vt.ZP)(`/api/attachments/${Ne.id}/add_subitem.json`,{method:"post",body:{subitem_id:Jt==null?void 0:Jt.id,settings:JSON.stringify(zt.state)}})).status===0&&b():Jt!=null&&Jt.id&&b(Jt),document.body.removeAttribute("data-custom"),Ue.current.innerHTML=" ",qe(!1),St("")}),Nn=()=>{const zt=document.querySelector('a[href="https://markerjs.com/"]');zt&&zt.parentNode&&(zt.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:ce.formatMessage({id:"shixuns.text",defaultMessage:"\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:ce.formatMessage({id:"classroomClassroomExperiments.save",defaultMessage:"\u4FDD\u5B58"})},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(Pt=>{const Ye=document.querySelector(Pt.name);Ye&&Ye.setAttribute("title",Pt.title)})},un=()=>{Ce.current=new nn.hP(Be.current),Ce.current.targetRoot=Oe.current,Ce.current.addEventListener("render",an),Ce.current.addEventListener("beforeclose",Kt),ee&&(Ce.current.availableMarkerTypes=Ce.current.ALL_MARKER_TYPES,Ce.current.uiStyleSettings.redoButtonVisible=!0,Ce.current.uiStyleSettings.notesButtonVisible=!0,Ce.current.uiStyleSettings.zoomButtonVisible=!0,Ce.current.uiStyleSettings.zoomOutButtonVisible=!0,Ce.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=Ce.current.uiStyleSettings,Ce.current.show(),Ne!=null&&Ne.snapshotData&&Ce.current.restoreState(Ne.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Nn()},300)};return ue.createElement(ue.Fragment,null,(Ne==null?void 0:Ne.visible)&&ue.createElement(bt.Z,{spinning:tt,tip:ht,style:{position:"absolute"}},ue.createElement("div",{ref:Oe,className:tn()(ft.imageDimensions,he,a?ft.fullWidth:""),style:y},ue.createElement("img",{className:ft.img,ref:Be}))))}},36527:function(kt,tA,Fe){"use strict";var ue=Fe(67294),ft=Fe(71230),qt=Fe(15746),tn=Fe(66368),bt=Fe(71577),nn=Fe(85725),vt=Fe(71736),De=Fe(84279),Ze=Fe(35973),ve=Fe(67294);const Ke=(0,ue.forwardRef)(({callback:Me,showSaveButton:Ne,value:he=""},a)=>{const y=(0,ue.useRef)(),E=(0,Ze.useIntl)(),b=[{name:E.formatMessage({id:"markdownEditor.fractionsScores",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.rootsSuperscripts",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.limitsLogarithms",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.trigonometricFunctions",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.integralOperations",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.largeOperations",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.bracketsRounding",defaultMessage:"\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 "}]}]}],ee=[{name:E.formatMessage({id:"markdownEditor.algebra",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.geometry",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.inequalities",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.integrals",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.trigonometry",defaultMessage:"\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:E.formatMessage({id:"markdownEditor.statistics",defaultMessage:"\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}`}]}]}],ie=Ce=>{y.current.setValue(y.current.getValue()+" "+Ce.value+" ")},ce=[{key:"1",label:E.formatMessage({id:"markdownEditor.quickTemplates",defaultMessage:"\u5FEB\u6377\u6A21\u677F"}),children:ve.createElement(ft.Z,{className:vt.Z.lists,gutter:[10,10]},b.map((Ce,Ue)=>ve.createElement(qt.Z,{flex:"110px",className:vt.Z.item},ve.createElement("div",null,ve.createElement(nn.Z,{value:`$$${Ce.value}$$`}),Ce.name),ve.createElement("div",{className:vt.Z.children},Ce.children.map((Oe,tt)=>ve.createElement("div",{key:tt},ve.createElement("h1",null,Oe.name),ve.createElement(ft.Z,{gutter:[10,10]},Oe.data.map((qe,ht)=>ve.createElement(qt.Z,{key:ht,onClick:()=>ie(qe),className:vt.Z.diamond},ve.createElement(nn.Z,{value:"`$$"+qe.value+"$$`"}))))))))))},{key:"2",label:E.formatMessage({id:"markdownEditor.formulaTemplates",defaultMessage:"\u516C\u5F0F\u6A21\u677F"}),children:ve.createElement(ft.Z,{className:vt.Z.lists,gutter:[10,10]},ee.map((Ce,Ue)=>ve.createElement(qt.Z,{flex:"110px",className:vt.Z.item},ve.createElement("div",null,ve.createElement(nn.Z,{value:"`$$"+Ce.value+"$$`"}),Ce.name),ve.createElement("div",{className:vt.Z.children},Ce.children.map((Oe,tt)=>ve.createElement("div",{key:tt},Oe.name&&ve.createElement("h1",null,Oe.name),ve.createElement(ft.Z,{gutter:[10,10]},Oe.data.map((qe,ht)=>ve.createElement(qt.Z,{key:ht,onClick:()=>ie(qe),className:vt.Z.diamond},ve.createElement(nn.Z,{value:"`$$"+qe.value+"$$`"}))))))))))}],Be=()=>{var Ce=document.createElement("div");Ce.innerHTML=y.current.getValue();var Ue=Ce.innerText;return Me&&Me(Ue),Ue};return(0,ue.useImperativeHandle)(a,()=>({getData:Be})),ve.createElement("div",{className:vt.Z.mathWrap},ve.createElement(tn.default,{defaultActiveKey:"1",items:ce}),ve.createElement("math-field",{locale:"zh_cn",className:vt.Z.mathField,placeholder:E.formatMessage({id:"markdownEditor.pleaseOpenKeyboardEnterFormula",defaultMessage:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F"}),ref:y,style:{width:800,marginTop:30,fontSize:18}},he||""),Ne&&ve.createElement("div",{className:vt.Z.button},ve.createElement(bt.ZP,{size:"large",onClick:Be,style:{zIndex:8,marginTop:10},type:"primary"},E.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))});tA.Z=Ke},57444:function(kt,tA,Fe){"use strict";Fe.d(tA,{h:function(){return Be}});var ue=Fe(67294),ft=Fe(11713),qt=Fe(22150),tn=Fe(71577),bt=Fe(4631),nn=Fe.n(bt),vt=Fe(71749),De=Fe(30483),Ze=Fe(35973),ve=Object.defineProperty,Ke=Object.defineProperties,Me=Object.getOwnPropertyDescriptors,Ne=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable,y=(Ce,Ue,Oe)=>Ue in Ce?ve(Ce,Ue,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):Ce[Ue]=Oe,E=(Ce,Ue)=>{for(var Oe in Ue||(Ue={}))he.call(Ue,Oe)&&y(Ce,Oe,Ue[Oe]);if(Ne)for(var Oe of Ne(Ue))a.call(Ue,Oe)&&y(Ce,Oe,Ue[Oe]);return Ce},b=(Ce,Ue)=>Ke(Ce,Me(Ue));const ee=ft.default.Option,ie={labelCol:{span:4},wrapperCol:{span:20}},ce={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"]};tA.Z=({callback:Ce,onCancel:Ue})=>{const[Oe,tt]=(0,ue.useState)("python");function qe(Tt){tt(ce[Tt][1])}function ht(Tt){Ce(Tt)}const St=(0,Ze.useIntl)();return ue.createElement(qt.default,b(E({},ie),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:ht,style:{width:500}}),ue.createElement(qt.default.Item,{label:St.formatMessage({id:"markdownEditor.codeLanguage",defaultMessage:"\u4EE3\u7801\u8BED\u8A00"}),name:"language"},ue.createElement(ft.default,{getPopupContainer:Tt=>Tt.parentNode,onChange:qe},Object.keys(ce).map(Tt=>ue.createElement(ee,{key:Tt,value:Tt},ce[Tt][0])))),ue.createElement(qt.default.Item,{label:St.formatMessage({id:"markdownEditor.codeContent",defaultMessage:"\u4EE3\u7801\u5185\u5BB9"}),name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ue.createElement(Be,{mode:Oe})),ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(tn.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},St.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),ue.createElement(tn.ZP,{type:"ghost",onClick:Ue},St.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))};function Be({value:Ce,onChange:Ue,mode:Oe,options:tt={}}){const qe=(0,ue.useRef)(),[ht,St]=(0,ue.useState)();return(0,ue.useEffect)(()=>{if(ht){let Tt=function(Kt){const an=Kt.getValue();Ue&&Ue(an)};return ht.on("change",Tt),()=>{ht.off("change",Tt)}}},[ht,Ue]),(0,ue.useEffect)(()=>{ht&&ht.setOption("mode",Oe)},[ht,Oe]),(0,ue.useEffect)(()=>{ht&&(Ce!==ht.getValue()||Ce==="")&&setTimeout(()=>{ht.setValue(Ce||"")},300)},[ht,Ce]),(0,ue.useEffect)(()=>{if(qe.current&&!ht){const Tt=nn().fromTextArea(qe.current,E({mode:Oe,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},tt));St(Tt)}},[qe.current,ht]),ue.createElement("div",{className:"my-codemirror-container"},ue.createElement("textarea",{ref:qe}))}},35567:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return Ha}});var ue=Fe(67294),ft=Fe(4631),qt=Fe.n(ft),tn=Fe(91033),bt=Fe(71749),nn=Fe(57341),vt=Fe(82801),De=Fe(88386),Ze=Fe(49047),ve=Fe(80785),Ke=Fe(85725),Me=({value:Ut="",className:yt,showTextOnly:Nt,showLines:kn,style:aA={}})=>{const _n=(0,ue.useMemo)(()=>"",[Ut]);return ue.createElement(ue.Fragment,null,ue.createElement("div",{dangerouslySetInnerHTML:{__html:_n}}))},Ne=Fe(35973),he=Fe(67294),a=Object.defineProperty,y=Object.defineProperties,E=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,ee=Object.prototype.hasOwnProperty,ie=Object.prototype.propertyIsEnumerable,ce=(Ut,yt,Nt)=>yt in Ut?a(Ut,yt,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):Ut[yt]=Nt,Be=(Ut,yt)=>{for(var Nt in yt||(yt={}))ee.call(yt,Nt)&&ce(Ut,Nt,yt[Nt]);if(b)for(var Nt of b(yt))ie.call(yt,Nt)&&ce(Ut,Nt,yt[Nt]);return Ut},Ce=(Ut,yt)=>y(Ut,E(yt));function Ue({onActionCallback:Ut,title:yt,icon:Nt,actionName:kn,className:aA="",children:_n}){function ir(){Ut(kn)}return he.createElement("a",{title:yt,className:aA,onClick:ir},he.createElement("i",{className:`${Nt}`}),_n)}var Oe=({watch:Ut,showNullButton:yt,showNullProgramButton:Nt,onActionCallback:kn,fullScreen:aA,insertTemp:_n,hidetoolBar:ir,extraUse:qA})=>{const Vt=(0,Ne.useIntl)(),Pr=[...[{title:Vt.formatMessage({id:"markdownEditor.bold",defaultMessage:"\u7C97\u4F53"}),icon:"md-iconfont icon-bold",actionName:"bold"},{title:Vt.formatMessage({id:"markdownEditor.italic",defaultMessage:"\u659C\u4F53"}),icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:Vt.formatMessage({id:"markdownEditor.unorderedList",defaultMessage:"\u65E0\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:Vt.formatMessage({id:"markdownEditor.orderedList",defaultMessage:"\u6709\u5E8F\u5217\u8868"}),icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:Vt.formatMessage({id:"markdownEditor.inlineCode",defaultMessage:"\u884C\u5185\u4EE3\u7801"}),icon:"md-iconfont icon-code",actionName:"code"},{title:Vt.formatMessage({id:"markdownEditor.codeBlockMultiLanguage",defaultMessage:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09"}),icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:Vt.formatMessage({id:"markdownEditor.link",defaultMessage:"\u94FE\u63A5"}),icon:"md-iconfont icon-link",actionName:"link"},"|",{title:Vt.formatMessage({id:"markdownEditor.inlineFormula",defaultMessage:"\u884C\u5185\u516C\u5F0F"}),icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:Vt.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:Vt.formatMessage({id:"markdownEditor.multiLineFormula",defaultMessage:"\u591A\u884C\u516C\u5F0F"}),icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:Vt.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:Vt.formatMessage({id:"markdownEditor.insertDrawing",defaultMessage:"\u63D2\u5165\u753B\u56FE"}),icon:"iconfont icon-sheji",actionName:"draw-image"},{title:Vt.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:Vt.formatMessage({id:"markdownEditor.table",defaultMessage:"\u8868\u683C"}),icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:Vt.formatMessage({id:"markdownEditor.lineBreak",defaultMessage:"\u6362\u884C"}),icon:"md-iconfont icon-minus",actionName:"line-break"},{title:Vt.formatMessage({id:"markdownEditor.clear",defaultMessage:"\u6E05\u7A7A"}),icon:"md-iconfont icon-eraser",actionName:"eraser"}],{title:`${Ut?Vt.formatMessage({id:"markdownEditor.disableRealTimePreview",defaultMessage:"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8"}):Vt.formatMessage({id:"markdownEditor.enableRealTimePreview",defaultMessage:"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"})}`,icon:`${Ut?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return he.createElement("ul",{className:"markdown-toolbar-container"},!ir&&Pr.map((dr,Hn)=>he.createElement("li",{key:Hn},dr.actionName?he.createElement(Ue,Ce(Be({},dr),{onActionCallback:kn})):he.createElement("span",{className:"v-line"}))),yt?he.createElement("li",null,he.createElement(Ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:kn},he.createElement("span",{className:"fill-tip"},Vt.formatMessage({id:"questionBankAddQuestion.clickToInsertBlank",defaultMessage:"\u70B9\u51FB\u63D2\u5165"}),"\b",Vt.formatMessage({id:"questionBankAddQuestion.blank",defaultMessage:"\u586B\u7A7A\u9879"})))):null,Nt?he.createElement(he.Fragment,null,he.createElement("li",null,he.createElement(Ue,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:kn},he.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),he.createElement("li",null,he.createElement(Ue,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:kn},he.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,_n&&he.createElement("li",null,he.createElement(Ue,{icon:"md-iconfont icon-edit",className:"btn-null",title:Vt.formatMessage({id:"onlineCourses.insertTemplate",defaultMessage:"\u63D2\u5165\u6A21\u677F"}),actionName:`inster-template-${_n}`,onActionCallback:kn},he.createElement("span",{className:"fill-tip"},Vt.formatMessage({id:"onlineCourses.insertTemplate",defaultMessage:"\u63D2\u5165\u6A21\u677F"})))),qA&&he.createElement("li",null,qA),he.createElement("li",{className:"btn-full-screen"},he.createElement(Ue,{icon:`${aA?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:aA?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:kn})))},tt=Fe(76621),qe=Fe(22150),ht=Fe(69677),St=Fe(71577),Tt=Object.defineProperty,Kt=Object.defineProperties,an=Object.getOwnPropertyDescriptors,Nn=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,Jt=(Ut,yt,Nt)=>yt in Ut?Tt(Ut,yt,{enumerable:!0,configurable:!0,writable:!0,value:Nt}):Ut[yt]=Nt,Pt=(Ut,yt)=>{for(var Nt in yt||(yt={}))un.call(yt,Nt)&&Jt(Ut,Nt,yt[Nt]);if(Nn)for(var Nt of Nn(yt))zt.call(yt,Nt)&&Jt(Ut,Nt,yt[Nt]);return Ut},Ye=(Ut,yt)=>Kt(Ut,an(yt));const Wt={labelCol:{span:4},wrapperCol:{span:20}};var en=({callback:Ut,onCancel:yt})=>{function Nt(aA){Ut(aA)}const kn=(0,Ne.useIntl)();return ue.createElement(qe.default,Ye(Pt({},Wt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Nt,style:{width:500}}),ue.createElement(qe.default.Item,{label:kn.formatMessage({id:"markdownEditor.linkAddress",defaultMessage:"\u94FE\u63A5\u5730\u5740"}),name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ue.createElement(ht.default,null)),ue.createElement(qe.default.Item,{label:kn.formatMessage({id:"markdownEditor.linkTitle",defaultMessage:"\u94FE\u63A5\u6807\u9898"}),name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ue.createElement(ht.default,null)),ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(St.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},kn.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),ue.createElement(St.ZP,{type:"ghost",onClick:yt},kn.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},$n=Fe(57444),Ft=Fe(70859),Et=Fe(14446),on=Fe(71230),nA=Fe(63205),Qn=Fe(67294),AA=({callback:Ut,onCancel:yt})=>{const Nt=document.createElement("canvas"),kn=Nt.getContext("2d");Nt.width=1e3,Nt.height=800,kn.fillStyle="#ffffff",kn.fillRect(0,0,Nt.width,Nt.height);const aA=Nt.toDataURL("image/png");return Qn.createElement(Et.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},Qn.createElement(on.Z,{style:{height:"100vh"}},Qn.createElement(nA.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:aA,visible:!0,title:String(Date.now())},onOk:_n=>{Ut({src:_n.url})},onClose:yt})))},Ve=Fe(23495);function An(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(An,go.CommandHandler),An.prototype.canAlignSelection=function(){var Ut=this.diagram;return!(Ut===null||Ut.isReadOnly||Ut.isModelReadOnly||Ut.selection.count<2)},An.prototype.alignLeft=function(){var Ut=this.diagram;Ut.startTransaction("aligning left");var yt=1/0;Ut.selection.each(function(Nt){Nt instanceof go.Link||(yt=Math.min(Nt.position.x,yt))}),Ut.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(yt,Nt.position.y))}),Ut.commitTransaction("aligning left")},An.prototype.alignRight=function(){var Ut=this.diagram;Ut.startTransaction("aligning right");var yt=-1/0;Ut.selection.each(function(Nt){if(!(Nt instanceof go.Link)){var kn=Nt.actualBounds.x+Nt.actualBounds.width;yt=Math.max(kn,yt)}}),Ut.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(yt-Nt.actualBounds.width,Nt.position.y))}),Ut.commitTransaction("aligning right")},An.prototype.alignTop=function(){var Ut=this.diagram;Ut.startTransaction("alignTop");var yt=1/0;Ut.selection.each(function(Nt){Nt instanceof go.Link||(yt=Math.min(Nt.position.y,yt))}),Ut.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(Nt.position.x,yt))}),Ut.commitTransaction("alignTop")},An.prototype.alignBottom=function(){var Ut=this.diagram;Ut.startTransaction("aligning bottom");var yt=-1/0;Ut.selection.each(function(Nt){if(!(Nt instanceof go.Link)){var kn=Nt.actualBounds.y+Nt.actualBounds.height;yt=Math.max(kn,yt)}}),Ut.selection.each(function(Nt){Nt instanceof go.Link||Nt.move(new go.Point(Nt.actualBounds.x,yt-Nt.actualBounds.height))}),Ut.commitTransaction("aligning bottom")},An.prototype.alignCenterX=function(){var Ut=this.diagram,yt=Ut.selection.first();if(yt){Ut.startTransaction("aligning Center X");var Nt=yt.actualBounds.x+yt.actualBounds.width/2;Ut.selection.each(function(kn){kn instanceof go.Link||kn.move(new go.Point(Nt-kn.actualBounds.width/2,kn.actualBounds.y))}),Ut.commitTransaction("aligning Center X")}},An.prototype.alignCenterY=function(){var Ut=this.diagram,yt=Ut.selection.first();if(yt){Ut.startTransaction("aligning Center Y");var Nt=yt.actualBounds.y+yt.actualBounds.height/2;Ut.selection.each(function(kn){kn instanceof go.Link||kn.move(new go.Point(kn.actualBounds.x,Nt-kn.actualBounds.height/2))}),Ut.commitTransaction("aligning Center Y")}},An.prototype.alignColumn=function(Ut){var yt=this.diagram;yt.startTransaction("align Column"),Ut===void 0&&(Ut=0),Ut=parseFloat(Ut);var Nt=new Array;yt.selection.each(function(qA){qA instanceof go.Link||Nt.push(qA)});for(var kn=0;kn0){for(var qA=_n.elt(ir-1);qA!==null&&qA.isTreeExpanded&&!qA.isTreeLeaf;){var Vt=this._sortTreeChildrenByY(qA);qA=Vt.last()}qA!==null&&Ut.select(qA)}else Ut.select(aA)}}else if(Nt.key==="Down")if(yt.isTreeExpanded&&!yt.isTreeLeaf){var kn=this._sortTreeChildrenByY(yt).first();kn!==null&&Ut.select(kn)}else for(;yt!==null;){var aA=yt.findTreeParentNode();if(aA===null)break;var _n=this._sortTreeChildrenByY(aA),ir=_n.indexOf(yt);if(ir<_n.length-1){Ut.select(_n.elt(ir+1));break}else yt=aA}var OA=Ut.selection.first();OA!==null&&Ut.scrollToRect(OA.actualBounds)}},An.prototype._sortTreeChildrenByY=function(Ut){var yt=new go.List().addAll(Ut.findTreeChildrenNodes());return yt.sort(function(Nt,kn){var aA=Nt.location,_n=kn.location;return aA.y<_n.y?-1:aA.y>_n.y?1:aA.x<_n.x?-1:aA.x>_n.x?1:0}),yt},An.prototype.copyToClipboard=function(Ut){go.CommandHandler.prototype.copyToClipboard.call(this,Ut),this._lastPasteOffset.set(this.pasteOffset)},An.prototype.pasteFromClipboard=function(){var Ut=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(Ut,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),Ut},Object.defineProperty(An.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(Ut){if(Ut!=="move"&&Ut!=="select"&&Ut!=="scroll"&&Ut!=="tree"&&Ut!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+Ut);this._arrowKeyBehavior=Ut}}),Object.defineProperty(An.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(Ut){if(!(Ut instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+Ut);this._pasteOffset.set(Ut)}});var Sn=An,iA=Fe(18023),Kn=Fe(15746),_t=Fe(33170),rt={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},_e=Fe(67294),At=(Ut,yt,Nt)=>new Promise((kn,aA)=>{var _n=Vt=>{try{qA(Nt.next(Vt))}catch(OA){aA(OA)}},ir=Vt=>{try{qA(Nt.throw(Vt))}catch(OA){aA(OA)}},qA=Vt=>Vt.done?kn(Vt.value):Promise.resolve(Vt.value).then(_n,ir);qA((Nt=Nt.apply(Ut,yt)).next())});function pt({onCancel:Ut,callback:yt}){let Nt=(0,ue.useRef)(),kn=(0,ue.useRef)(),aA=(0,ue.useRef)(),_n=(0,ue.useRef)(!1);const ir=(0,ue.useRef)(!1),[qA,Vt]=(0,ue.useState)(0);function OA(){const Hn=Ve.bx.make,_A={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"};Nt.current=new Ve.S0(kn.current,{padding:20,grid:Hn(Ve.s_,"Grid",Hn(Ve.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Hn(Ve.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:Vn=>{var FA=Vn.diagram.commandHandler.addTopLevelParts(Vn.diagram.selection,!0);FA||Vn.diagram.currentTool.doCancel()},commandHandler:Hn(Sn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:Vn=>{var FA=Vn.subject;FA.location=FA.location.copy().snapToGridPoint(Vn.diagram.grid.gridOrigin,Vn.diagram.grid.gridCellSize),setTimeout(()=>{Vn.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:Vn=>{var FA=Vn.subject;setTimeout(()=>{Vn.diagram.commandHandler.editTextBlock()})},LinkRelinked:Vn=>{var FA=Vn.parameter.part;FA.invalidateConnectedLinks();var tr=Vn.subject;Vn.diagram.toolManager.linkingTool.isForwards?tr.toNode.invalidateConnectedLinks():tr.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Nt.current.nodeTemplate=Hn(Ve.NB,"Auto",{locationSpot:Ve.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ve.$u(120,60),minSize:new Ve.$u(40,40),resizable:!0,resizeCellSize:new Ve.$u(10,10),rotatable:!0},new Ve.KX("location","loc",Ve.E9.parse).makeTwoWay(Ve.E9.stringify),new Ve.KX("desiredSize","size",Ve.$u.parse).makeTwoWay(Ve.$u.stringify),Hn(Ve.bn,{name:"SHAPE",fill:_A.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ve.z6.AllSides,toSpot:Ve.z6.AllSides},new Ve.KX("figure"),new Ve.KX("fill"),new Ve.KX("stroke","borderColor"),new Ve.KX("strokeWidth","thickness"),new Ve.KX("strokeDashArray","dash")),Hn(Ve.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Hn(Ve.al,{margin:1,textAlign:"center",overflow:Ve.al.OverflowEllipsis,editable:!0},new Ve.KX("text").makeTwoWay(),new Ve.KX("stroke","color"))),Nt.current.nodeTemplate.toolTip=Hn("ToolTip",Hn(Ve.s_,"Vertical",{maxSize:new Ve.$u(200,NaN)},Hn(Ve.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ve.KX("text")),Hn(Ve.al,{font:"10pt sans-serif",textAlign:"center"},new Ve.KX("text","details"))));function wa(Vn,FA){var tr=($A,Ea)=>{$A.handled=!0,$A.diagram.model.commit(La=>{var za=Ea.part.adornedPart,Xa=new Ve.E9().setRectSpot(za.actualBounds,Vn);Xa.subtract(za.location),Xa.scale(2,2),Xa.x+=Math.sign(Xa.x)*130,Xa.y+=Math.sign(Xa.y)*130,Xa.add(za.location),Xa.snapToGridPoint($A.diagram.grid.gridOrigin,$A.diagram.grid.gridCellSize);var Qo=La.copyNodeData(za.data);La.setGroupKeyForNodeData(Qo,La.getGroupKeyForNodeData(za.data)),La.addNodeData(Qo);var Wa={from:za.key,to:La.getKeyForNodeData(Qo)};La.addLinkData(Wa);var Co=$A.diagram.findNodeForData(Qo);Co.location=Xa,$A.diagram.select(Co),setTimeout(()=>{$A.diagram.commandHandler.editTextBlock()},20)})};return Hn(Ve.bn,{figure:FA,alignment:Vn,alignmentFocus:Vn.opposite(),width:Vn.equals(Ve.z6.Top)||Vn.equals(Ve.z6.Bottom)?25:18,height:Vn.equals(Ve.z6.Top)||Vn.equals(Ve.z6.Bottom)?18:25,fill:"orange",stroke:_A.white,strokeWidth:4,mouseEnter:($A,Ea)=>Ea.fill="dodgerblue",mouseLeave:($A,Ea)=>Ea.fill="orange",isActionable:!0,click:tr,contextClick:tr})}function Oa(Vn){return Hn(Ve.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:(FA,tr)=>tr.fill="dodgerblue",mouseLeave:(FA,tr)=>tr.fill="orange",click:(FA,tr)=>{FA.diagram.commandHandler.showContextMenu(tr.part.adornedPart)}},Vn||{})}Nt.current.nodeTemplate.selectionAdornmentTemplate=Hn(Ve.uz,"Spot",Hn(Ve.Vm,{padding:10}),wa(Ve.z6.Top,"TriangleUp"),wa(Ve.z6.Left,"TriangleLeft"),wa(Ve.z6.Right,"TriangleRight"),wa(Ve.z6.Bottom,"TriangleDown"),Oa({alignment:new Ve.z6(.75,0)}));function Rr(Vn,FA){return(tr,$A)=>{tr.handled=!0,tr.diagram.model.commit(Ea=>{Ea.set($A.part.adornedPart.data,Vn,FA)})}}function Jr(Vn,FA){return FA||(FA="color"),Hn(Ve.bn,{width:16,height:16,stroke:"lightgray",fill:Vn,margin:1,background:"transparent",mouseEnter:(tr,$A)=>$A.stroke="dodgerblue",mouseLeave:(tr,$A)=>$A.stroke="lightgray",click:Rr(FA,Vn),contextClick:Rr(FA,Vn)})}function zA(){return[Hn("ContextMenuButton",Hn(Ve.s_,"Horizontal",Jr(_A.white,"fill"),Jr(_A.beige,"fill"),Jr(_A.extralightblue,"fill"),Jr(_A.extralightred,"fill"))),Hn("ContextMenuButton",Hn(Ve.s_,"Horizontal",Jr(_A.lightgray,"fill"),Jr(_A.lightgreen,"fill"),Jr(_A.lightblue,"fill"),Jr(_A.lightred,"fill")))]}function Go(){return[Hn("ContextMenuButton",Hn(Ve.s_,"Horizontal",Jr(_A.black),Jr(_A.green),Jr(_A.blue),Jr(_A.red))),Hn("ContextMenuButton",Hn(Ve.s_,"Horizontal",Jr(_A.white),Jr(_A.magenta),Jr(_A.purple),Jr(_A.orange)))]}function Hr(Vn,FA){return FA||(FA="thickness"),Hn(Ve.bn,"LineH",{width:16,height:16,strokeWidth:Vn,margin:1,background:"transparent",mouseEnter:(tr,$A)=>$A.background="dodgerblue",mouseLeave:(tr,$A)=>$A.background="transparent",click:Rr(FA,Vn),contextClick:Rr(FA,Vn)})}function Ca(Vn,FA){return FA||(FA="dash"),Hn(Ve.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:Vn,margin:1,background:"transparent",mouseEnter:(tr,$A)=>$A.background="dodgerblue",mouseLeave:(tr,$A)=>$A.background="transparent",click:Rr(FA,Vn),contextClick:Rr(FA,Vn)})}function Ko(){return[Hn("ContextMenuButton",Hn(Ve.s_,"Horizontal",Hr(1),Hr(2),Hr(3),Hr(4))),Hn("ContextMenuButton",Hn(Ve.s_,"Horizontal",Ca(null),Ca([2,4]),Ca([4,4])))]}function ba(Vn,FA){return FA||(FA="figure"),Hn(Ve.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:Vn,margin:1,background:"transparent",mouseEnter:(tr,$A)=>$A.fill="dodgerblue",mouseLeave:(tr,$A)=>$A.fill="lightgray",click:Rr(FA,Vn),contextClick:Rr(FA,Vn)})}Nt.current.nodeTemplate.contextMenu=Hn("ContextMenu",Hn("ContextMenuButton",Hn(Ve.s_,"Horizontal",ba("Rectangle"),ba("RoundedRectangle"),ba("Ellipse"),ba("Diamond"))),Hn("ContextMenuButton",Hn(Ve.s_,"Horizontal",ba("Parallelogram2"),ba("ManualOperation"),ba("Procedure"),ba("Cylinder1"))),Hn("ContextMenuButton",Hn(Ve.s_,"Horizontal",ba("Terminator"),ba("CreateRequest"),ba("Document"),ba("TriangleDown"))),zA(),Go(),Ko()),Nt.current.groupTemplate=Hn(Ve.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ve.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(Vn,FA)=>{var tr=FA.addMembers(FA.diagram.selection,!0);tr||FA.diagram.currentTool.doCancel()},avoidable:!1},new Ve.KX("location","loc",Ve.E9.parse).makeTwoWay(Ve.E9.stringify),Hn(Ve.s_,"Auto",{name:"BODY"},Hn(Ve.bn,{parameter1:10,fill:_A.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ve.z6.AllSides,toSpot:Ve.z6.AllSides},new Ve.KX("fill"),new Ve.KX("stroke","color"),new Ve.KX("strokeWidth","thickness"),new Ve.KX("strokeDashArray","dash")),Hn(Ve.Vm,{background:"transparent",margin:20})),Hn(Ve.al,{alignment:Ve.z6.Top,alignmentFocus:Ve.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ve.KX("text"),new Ve.KX("stroke","color"))),Nt.current.groupTemplate.selectionAdornmentTemplate=Hn(Ve.uz,"Spot",Hn(Ve.s_,"Auto",Hn(Ve.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Hn(Ve.Vm,{margin:1.5})),Oa({alignment:Ve.z6.TopRight,alignmentFocus:Ve.z6.BottomRight})),Nt.current.groupTemplate.contextMenu=Hn("ContextMenu",zA(),Go(),Ko()),Nt.current.linkTemplate=Hn(Ve.rU,{layerName:"Foreground",routing:Ve.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ve.KX("fromSpot","fromSpot",Ve.z6.parse),new Ve.KX("toSpot","toSpot",Ve.z6.parse),new Ve.KX("fromShortLength","dir",Vn=>Vn>=1?10:0),new Ve.KX("toShortLength","dir",Vn=>Vn>=1?10:0),new Ve.KX("points").makeTwoWay(),Hn(Ve.bn,{strokeWidth:2},new Ve.KX("stroke","color"),new Ve.KX("strokeWidth","thickness"),new Ve.KX("strokeDashArray","dash")),Hn(Ve.bn,{segmentIndex:0,segmentOffset:new Ve.E9(15,0),segmentOrientation:Ve.rU.OrientAlong,alignmentFocus:Ve.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ve.KX("fill","color"),new Ve.KX("visible","dir",Vn=>Vn===1)),Hn(Ve.bn,{segmentIndex:-1,segmentOffset:new Ve.E9(-10,6),segmentOrientation:Ve.rU.OrientPlus90,alignmentFocus:Ve.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ve.KX("fill","color"),new Ve.KX("visible","dir",Vn=>Vn>=1),new Ve.KX("width","thickness",Vn=>7+3*Vn),new Ve.KX("height","thickness",Vn=>7+3*Vn),new Ve.KX("segmentOffset","thickness",Vn=>new Ve.E9(-15,4+1.5*Vn))),Hn(Ve.bn,{segmentIndex:0,segmentOffset:new Ve.E9(15,-6),segmentOrientation:Ve.rU.OrientMinus90,alignmentFocus:Ve.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ve.KX("fill","color"),new Ve.KX("visible","dir",Vn=>Vn===2),new Ve.KX("width","thickness",Vn=>7+3*Vn),new Ve.KX("height","thickness",Vn=>7+3*Vn),new Ve.KX("segmentOffset","thickness",Vn=>new Ve.E9(-15,4+1.5*Vn))),Hn(Ve.al,{alignmentFocus:new Ve.z6(0,1,-4,0),editable:!0},new Ve.KX("text").makeTwoWay(),new Ve.KX("stroke","color"))),Nt.current.linkTemplate.selectionAdornmentTemplate=Hn(Ve.uz,Hn(Ve.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:$a(2)},new Ve.KX("pathPattern","thickness",$a)),Oa({alignmentFocus:new Ve.z6(0,0,-6,-4)}));function $a(Vn){return Hn(Ve.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(Vn+4).toString()+" H3"})}function zo(Vn){var FA="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return Vn===0?FA="M0 0 M16 16 M0 8 L16 8":Vn===2&&(FA="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Hn(Ve.bn,{geometryString:FA,margin:2,background:"transparent",mouseEnter:(tr,$A)=>$A.background="dodgerblue",mouseLeave:(tr,$A)=>$A.background="transparent",click:Rr("dir",Vn),contextClick:Rr("dir",Vn)})}function Dn(Vn){var FA=(tr,$A)=>{tr.handled=!0,tr.diagram.model.commit(Ea=>{var La=$A.part.adornedPart;Ea.set(La.data,Vn?"toSpot":"fromSpot",Ve.z6.stringify(Ve.z6.AllSides)),(Vn?La.toNode:La.fromNode).invalidateConnectedLinks()})};return Hn(Ve.bn,{width:12,height:12,fill:"transparent",mouseEnter:(tr,$A)=>$A.background="dodgerblue",mouseLeave:(tr,$A)=>$A.background="transparent",click:FA,contextClick:FA})}function so(Vn,FA){var tr=0,$A=Ve.z6.RightSide;Vn.equals(Ve.z6.Top)?(tr=270,$A=Ve.z6.TopSide):Vn.equals(Ve.z6.Left)?(tr=180,$A=Ve.z6.LeftSide):Vn.equals(Ve.z6.Bottom)&&(tr=90,$A=Ve.z6.BottomSide),FA||(tr-=180);var Ea=(La,za)=>{La.handled=!0,La.diagram.model.commit(Xa=>{var Qo=za.part.adornedPart;Xa.set(Qo.data,FA?"toSpot":"fromSpot",Ve.z6.stringify($A)),(FA?Qo.toNode:Qo.fromNode).invalidateConnectedLinks()})};return Hn(Ve.bn,{alignment:Vn,alignmentFocus:Vn.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:tr,background:"transparent",mouseEnter:(La,za)=>za.background="dodgerblue",mouseLeave:(La,za)=>za.background="transparent",click:Ea,contextClick:Ea})}Nt.current.linkTemplate.contextMenu=Hn("ContextMenu",Go(),Ko(),Hn("ContextMenuButton",Hn(Ve.s_,"Horizontal",zo(0),zo(1),zo(2))),Hn("ContextMenuButton",Hn(Ve.s_,"Horizontal",Hn(Ve.s_,"Spot",Dn(!1),so(Ve.z6.Top,!1),so(Ve.z6.Left,!1),so(Ve.z6.Right,!1),so(Ve.z6.Bottom,!1)),Hn(Ve.s_,"Spot",{margin:new Ve.Zt(0,0,0,2)},Dn(!0),so(Ve.z6.Top,!0),so(Ve.z6.Left,!0),so(Ve.z6.Right,!0),so(Ve.z6.Bottom,!0)))));const ci=`{ "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 lo=["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 ia(Vn){return console.log("shapeName:",Vn),lo.indexOf(Vn)>=0}var Fa=new Ve.YI(aA.current,{maxSelectionCount:1,linkTemplate:Hn(Ve.rU,{locationSpot:Ve.z6.Center,selectionAdornmentTemplate:Hn(Ve.uz,"Link",{locationSpot:Ve.z6.Center},Hn(Ve.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Hn(Ve.bn,{toArrow:"Standard",stroke:null}))},{routing:Ve.rU.AvoidsNodes,curve:Ve.rU.JumpOver,corner:5,toShortLength:4},new Ve.KX("points"),Hn(Ve.bn,{isPanelMain:!0,strokeWidth:2}),Hn(Ve.bn,{toArrow:"Standard",stroke:null})),model:new Ve.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ve.bn.getFigureGenerators().toArray().map(Vn=>({text:"\u672A\u547D\u540D",size:"100 100",figure:Vn.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Nt.current.addDiagramListener("TextEdited",function(Vn){var FA;const tr=Vn.subject.part;var $A=(FA=document.activeElement)==null?void 0:FA.value;typeof $A=="string"&&$A.trim()===""&&Nt.current.model.commit(function(Ea){Ea.set(tr.data,"text","\u672A\u547D\u540D"),Nt.current.commandHandler.stopCommand()},"increment")}),Fa.nodeTemplate=Hn(Ve.NB,"Auto",{locationSpot:Ve.z6.Center},new Ve.KX("location","location",Ve.E9.parse).makeTwoWay(Ve.E9.stringify),Hn(Ve.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 Ve.KX("stroke").makeTwoWay(),new Ve.KX("fill").makeTwoWay(),new Ve.KX("figure")),Hn(Ve.al,{margin:new Ve.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ve.$u(16,16),maxSize:new Ve.$u(10,NaN),textAlign:"center",editable:!0},new Ve.KX("key").makeTwoWay())),setTimeout(()=>{Nt.current.grid=Hn(Ve.s_,"Grid",Hn(Ve.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Hn(Ve.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Nt.current.grid.visible=!0,Nt.current.grid.gridCellStroke="darkgray",Nt.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Nt.current,Nt.current}const Pr=()=>At(this,null,function*(){var Hn=Nt.current.makeImage();const _A=yield(0,_t.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Hn.src}});yt({src:_A.url})});(0,ue.useEffect)(()=>(setTimeout(()=>{OA()},500),Vt(qA+1),()=>{Nt.current=null}),[]);const dr=(0,Ne.useIntl)();return _e.createElement("div",{ref:ir,className:_n.current?`${rt.maxH60} body-overflow-initial`:"body-overflow-initial"},_e.createElement(Et.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!qA,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:_e.createElement(on.Z,null,_e.createElement(Kn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),_e.createElement(Kn.Z,{onClick:()=>{var Hn,_A,wa=Nt.current.selection.first();if(_n.current=!_n.current,document.activeElement&&wa){let Oa=(_A=(Hn=document.activeElement)==null?void 0:Hn.value)==null?void 0:_A.trim();typeof Oa=="string"&&Nt.current.model.commit(function(Rr){Rr.set(wa.data,"text",Oa||"\u672A\u547D\u540D"),Nt.current.commandHandler.stopCommand()},"increment")}Vt(qA+1)}},_e.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},dr.formatMessage({id:"shixuns.expand",defaultMessage:"\u5C55\u5F00"})," /",dr.formatMessage({id:"shixuns.collapse",defaultMessage:"\u6536\u8D77"})))),onCancel:Ut},_e.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:rt.flowChartWrp},_e.createElement("div",{style:{display:"flex",height:"100%"}},_e.createElement("div",{style:{width:"300px",height:"100%"}},_e.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),_e.createElement("div",{style:{height:"calc(100% - 50px)"},className:rt.myPaletteDiv,ref:aA})),_e.createElement("div",{style:{flex:1,position:"relative"}},_e.createElement("div",{ref:kn,style:{height:"80vh"}}))),_e.createElement("div",{className:"tr"},_e.createElement(St.ZP,{size:"large",onClick:Pr,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},dr.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"}))))))}var Gt=pt,ln=Fe(78045),pn=Fe(31795);const Cn=ln.ZP.Group,In={margin:"0 8px"};var rA=({callback:Ut,onCancel:yt})=>{function Nt(aA){Ut(aA)}const kn=(0,Ne.useIntl)();return ue.createElement(qe.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Nt},ue.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ue.createElement("span",{style:In},kn.formatMessage({id:"markdownEditor.numberOfCells",defaultMessage:"\u5355\u5143\u683C\u6570"}),"\uFF1A"),ue.createElement("span",{style:In},kn.formatMessage({id:"markdownEditor.numberOfRows",defaultMessage:"\u884C\u6570"})),ue.createElement(qe.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ue.createElement(pn.Z,null)),ue.createElement("span",{style:In},kn.formatMessage({id:"markdownEditor.numberOfColumns",defaultMessage:"\u5217\u6570"})),ue.createElement(qe.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ue.createElement(pn.Z,null))),ue.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ue.createElement("span",{style:In},kn.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),"\uFF1A"),ue.createElement(qe.default.Item,{name:"align"},ue.createElement(Cn,null,ue.createElement(ln.ZP,{value:"default"},ue.createElement("i",{className:"fa fa-align-justify"})),ue.createElement(ln.ZP,{value:"left"},ue.createElement("i",{className:"fa fa-align-left"})),ue.createElement(ln.ZP,{value:"center"},ue.createElement("i",{className:"fa fa-align-center"})),ue.createElement(ln.ZP,{value:"right"},ue.createElement("i",{className:"fa fa-align-right"}))))),ue.createElement("div",{className:"flex-container flex-end"},ue.createElement(St.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},kn.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),ue.createElement(St.ZP,{type:"ghost",onClick:yt},kn.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"}))))},qn=Fe(47897),hA=Fe(61016),Qt=Fe.n(hA),cn=(0,ue.forwardRef)(({use3d:Ut,width:yt,height:Nt,callback:kn,showSaveButton:aA},_n)=>{const ir=(0,ue.useRef)(),qA=(0,ue.useRef)(),Vt=(0,Ne.useIntl)(),[OA,Pr]=(0,ue.useState)(!1),dr=(0,ue.useRef)({id:ir,appName:"graphing",width:yt||1e3,height:Nt||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ue.useEffect)(()=>{qA.current=new(Qt())(dr.current,!0),window.onload=function(){qA.current.inject("applet_container")}},[]);const Hn=()=>{var _A=window.ggbApplet.getPNGBase64(1,!0,72);return kn&&kn(_A),_A};return(0,ue.useEffect)(()=>{dr.current.appName=OA?"3D":"graphing",qA.current.inject("applet_container")},[OA]),(0,ue.useEffect)(()=>{Pr(Ut)},[Ut]),(0,ue.useImperativeHandle)(_n,()=>({getImgData:Hn})),ue.createElement(ue.Fragment,null,ue.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ir}),ue.createElement(on.Z,{align:"middle"},ue.createElement(Kn.Z,{flex:1},ue.createElement(qn.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:Vt.formatMessage({id:"markdownEditor.enable3DImage",defaultMessage:"\u5F00\u542F3D\u56FE\u50CF"}),checked:OA,onChange:_A=>Pr(_A)})),ue.createElement(Kn.Z,null,ue.createElement(St.ZP,{size:"large",onClick:Hn,style:{zIndex:8,marginTop:10},type:"primary"},Vt.formatMessage({id:"markdownEditor.saveToEditor",defaultMessage:"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"})))))}),Ln=Fe(36527),ct=Fe(25934),It=Fe(2453);const rn="link",Yn="upload-image",Jn="add-flowchart",wA="draw-image",pA="add-flowchart",uA="code-block",Xn="add-table",Mn="------------",Fn={default:Mn,left:`:${Mn}`,center:`:${Mn}:`,right:`${Mn}:`};var dA=Fe(99914),lA=(Ut,yt,Nt)=>new Promise((kn,aA)=>{var _n=Vt=>{try{qA(Nt.next(Vt))}catch(OA){aA(OA)}},ir=Vt=>{try{qA(Nt.throw(Vt))}catch(OA){aA(OA)}},qA=Vt=>Vt.done?kn(Vt.value):Promise.resolve(Vt.value).then(_n,ir);qA((Nt=Nt.apply(Ut,yt)).next())});function rr(){}let kA=0;const cr=1e4,gr="\u2581",SA="@\u2581\u2581@",sr="@\u2581@",Dr=` **\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`,PA=["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 Nr(Ut){return/^\d+$/.test(Ut)?`${Ut}px`:Ut}const ZA=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Ba={[ZA+"-B"]:"bold",[ZA+"-I"]:"italic"};var Ha=({defaultValue:Ut="",onChange:yt,width:Nt="100%",height:kn=400,miniToolbar:aA=!1,isFocus:_n=!1,watch:ir,insertTemp:qA,mode:Vt="markdown",id:OA="markdown-editor-id",showResizeBar:Pr=!1,noStorage:dr=!1,showNullButton:Hn=!1,showNullProgramButton:_A=!1,hidetoolBar:wa=!1,fullScreen:Oa=!1,onBlur:Rr,onCMBeforeChange:Jr,onFullScreen:zA,className:Go="",disablePaste:Hr=!1,disabled:Ca=!1,disabledFill:Ko=!1,placeholder:ba="",values:$a="",extraUse:zo})=>{const[Dn,so]=(0,ue.useState)(null),[ci,lo]=(0,ue.useState)(Ut),[ia,Fa]=(0,ue.useState)(ir),[Vn,FA]=(0,ue.useState)(Oa),[tr,$A]=(0,ue.useState)(""),[Ea,La]=(0,ue.useState)(0),[za,Xa]=(0,ue.useState)(kn),[Qo,Wa]=(0,ue.useState)(!1),Co=(0,ue.useRef)((0,ct.Z)()),Ts=(0,ue.useRef)(!1),bo=(0,ue.useRef)(),[Ni,di]=(0,ue.useState)(0),[fi,Rs]=(0,ue.useState)(0),eo=(0,ue.useRef)(),Io=(0,ue.useRef)(),ar=(0,ue.useRef)(),aa=(0,ue.useRef)(),uo=()=>lA(void 0,null,function*(){var GA;const cA=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:Co.current}});(GA=cA==null?void 0:cA.attachments)!=null&&GA.length&&(console.log("cm:",Dn,eo),cA.attachments.map(CA=>{CA.content_type.indexOf("image")>-1?Dn.replaceSelection(`![,](/api/attachments/${CA.id}?type=${CA.content_type})`):CA.content_type.indexOf("video")>-1?Dn.replaceSelection(``):CA.content_type.indexOf("pdf")>-1?Dn.replaceSelection(`${CA.name}`):Dn.replaceSelection(`[${CA.name}](${ENV.API_SERVER}/api/attachments/${CA.id}?type=${CA.content_type})`)}))});(0,ue.useEffect)(()=>{const GA=window.scrollY||window.pageYOffset;lo($a),Dn==null||Dn.setValue($a),window.scrollTo(0,GA)},[$a]),(0,ue.useEffect)(()=>{zA==null||zA(Vn)},[Vn]),(0,ue.useEffect)(()=>{if(eo.current){let GA=function(CA,HA){var Tr;if(Hr){HA.preventDefault();return}const kr=HA.clipboardData;if(kr){const Xr=kr.types.toString(),da=kr.items;if(Xr==="Files"||kr.types.indexOf("Files")>-1){if(HA.preventDefault(),Vt=="stex")return;try{let Ma=da[1];((Tr=da[0])==null?void 0:Tr.kind)==="file"&&(Ma=da[0]);const _r=Ma.getAsFile(),Va=_r.name.split(".").pop();(0,Ft.I)(_r,Sa=>{var No,mi,pa;Sa.id?((No=_r==null?void 0:_r.type)==null?void 0:No.indexOf("image"))>-1?cA.replaceSelection(``):((mi=_r==null?void 0:_r.type)==null?void 0:mi.indexOf("video"))>-1?cA.replaceSelection(``):((pa=_r==null?void 0:_r.type)==null?void 0:pa.indexOf("pdf"))>-1?cA.replaceSelection(`${_r.name}`):PA.includes(Va)?cA.replaceSelection(`${_r.name}`):cA.replaceSelection(`[${_r.name}](/api/attachments/${Sa.id}?type=${Sa.content_type})`):(Sa==null?void 0:Sa.status)===401&&(It.ZP.warning((Sa==null?void 0:Sa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(Ma){It.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const cA=qt().fromTextArea(eo.current,{mode:Vt,lineNumbers:!aA,lineWrapping:!0,value:Ut,autoCloseTags:!_A,autoCloseBrackets:!0});return cA.on("keyup",function(CA,HA){HA.keyCode===8&&(CA.getValue()==""?cA.setOption("placeholder",ba):cA.setOption("placeholder",null))}),cA.on("keydown",function(CA,HA){if(HA.keyCode===8){var Tr=ni(CA);Tr&&HA.preventDefault()}}),_n&&cA.focus(),cA.on("paste",GA),cA.on("dragleave",function(CA,HA){Io.current.classList.remove("mouse-hover-md")}),Ca&&cA.on("beforeChange",function(CA,HA){(HA.origin==="paste"||HA.origin==="+input")&&HA.cancel()}),so(cA),()=>{cA.off("paste",GA)}}},[]);const co=(0,ue.useCallback)(()=>{if(Io.current)try{}catch(GA){console.log(GA,"---- to set md editor body height")}},[za,Io,Vn]);(0,ue.useEffect)(()=>{function GA(){let cA=new tn.Z(CA=>{for(let HA of CA)(HA.target.offsetHeight>0||HA.target.offsetWidth>0)&&(co(),Dn.setSize("100%","100%"),Dn.refresh())});return cA.observe(eo.current.parentElement),cA}if(Dn){const cA=GA();return()=>{var CA,HA;(CA=eo.current)!=null&&CA.parentElement&&cA.unobserve((HA=eo.current)==null?void 0:HA.parentElement)}}},[Dn,co]),(0,ue.useEffect)(()=>{if(Dn){let GA=[];for(const[cA,CA]of Object.entries(Ba)){let HA={[cA]:()=>{fr(CA)}};GA.push(HA),Dn.addKeyMap(HA)}return bo.current=setInterval(()=>{Ts.current&&uo()},4e3),()=>{clearInterval(bo.current);for(let cA of GA)Dn.removeKeyMap(cA)}}},[Dn]),(0,ue.useEffect)(()=>{Oa!==Vn&&FA(Oa)},[Oa]),(0,dA.Z)(()=>{if(!dr&&Ea>0){let GA=new Date().getTime(),cA=window.sessionStorage.getItem(OA);GA>=Ea+cr&&(!cA||cA!==ci)&&(window.sessionStorage.setItem(OA,ci),Wa(!0))}},cr),(0,ue.useEffect)(()=>{Fa(ir)},[Dn,ir]),(0,ue.useEffect)(()=>{Dn&&_n&&Dn.focus()},[Dn,_n]),(0,ue.useEffect)(()=>{if(ia&&Dn){let GA=function(CA){let HA=CA.target;if(aa.current){let Tr=HA.scrollTop/HA.scrollHeight;aa.current.scrollTop=aa.current.scrollHeight*Tr}};const cA=Dn.getScrollerElement();return cA.addEventListener("scroll",GA),()=>{cA.removeEventListener("scroll",GA)}}},[Dn,ia]),(0,ue.useEffect)(()=>{if(Dn&&Jr){let GA=function(cA,CA){Jr(cA,CA)};return Dn.on("beforeChange",GA),()=>{Dn.off("beforeChange",GA)}}},[Dn,Jr]),(0,ue.useEffect)(()=>{if(Dn&&Rr){let GA=function(){Rr(Dn.getValue())};return Dn.on("blur",GA),()=>{Dn.off("blur",GA)}}},[Dn,Rr]);function ni(GA,cA){var CA=GA.getDoc(),HA=CA.getCursor(),Tr=CA.getLine(HA.line),kr=Tr.charAt(HA.ch-1),Xr=Tr.lastIndexOf("@\u2581@",HA.ch),da=Tr.lastIndexOf("@\u2581\u2581@",HA.ch),Ma=Xr>da?Xr:da,_r=Xr>da?3:4;if(SA.indexOf(kr)===-1)return null;if(console.log("change1:",cA,GA,Tr,HA,Ma,Xr,da,kr),Ma>=0&&HA.ch-Ma<5){var Va=Ma+_r;return CA.replaceRange("",{line:HA.line,ch:Ma},{line:HA.line,ch:Va}),{line:HA.line,ch:Va}}return null}(0,ue.useEffect)(()=>{if(Dn){let GA=function(cA,CA){const HA=cA.getValue();lo(HA),La(new Date().getTime()),cA.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),yt&&(_A?yt(HA,ha(HA)):yt(HA))};return Dn.on("change",GA),()=>{Dn.off("change",GA)}}},[Dn,yt]),(0,ue.useEffect)(()=>{if(Dn)if(Ut==null)Dn.setValue(""),lo("");else{const GA=window.scrollY||window.pageYOffset;Ut!==Dn.getValue()&&(Dn.setValue(Ut),lo(Ut),Dn.setCursor(Ca?1:Dn.lineCount(),0),window.scrollTo(0,GA))}},[Dn,Ut]);const fr=(0,ue.useCallback)(GA=>{const cA=Dn.getCursor(),CA=Dn.getSelection();let HA=CA.split(` `);switch(GA){case"bold":return Dn.replaceSelection("**"+CA+"**"),CA===""&&Dn.setCursor(cA.line,cA.ch+2),Dn.focus();case"italic":return Dn.replaceSelection("*"+CA+"*"),CA===""&&Dn.setCursor(cA.line,cA.ch+1),Dn.focus();case"code":return Dn.replaceSelection("`"+CA+"`"),CA===""&&Dn.setCursor(cA.line,cA.ch+1),Dn.focus();case"inline-latex":return $A("inline-latex"),Dn.focus();case"latex":return Dn.replaceSelection("```latex\n"+CA+"\n```"),Dn.setCursor(cA.line+1,CA.length+1),Dn.focus();case"line-break":return Dn.replaceSelection(`
`),Dn.focus();case"list-ul":return CA===""?Dn.replaceSelection("- "+CA):Dn.replaceSelection(HA.map(Tr=>Tr===""?"":`- ${Tr}`).join(` `)),Dn.focus();case"list-ol":return CA===""?Dn.replaceSelection("1. "+CA):Dn.replaceSelection(HA.map((Tr,kr)=>Tr===""?"":`${kr+1}. ${Tr}`).join(` `)),Dn.focus();case"add-null-ch":return CA===""&&Dn.setCursor(cA.line,cA.ch),Dn.replaceSelection(gr),Dn.focus();case"add-signal":return CA===""&&Dn.setCursor(cA.line,cA.ch),Dn.replaceSelection(sr),Dn.focus();case"add-multiple":return CA===""&&Dn.setCursor(cA.line,cA.ch),Dn.replaceSelection(SA),Dn.focus();case"inster-template-1":return CA===""&&Dn.setCursor(cA.line,cA.ch),Dn.replaceSelection(Dr),Dn.focus();case"eraser":return Dn.setValue(""),Dn.focus();case"trigger-watch":return Fa(!ia),Dn.focus();case"trigger-full-screen":return FA(!Vn),Dn.focus();case rn:$A(rn);return;case uA:$A(uA);return;case Yn:$A(Yn);return;case wA:$A(wA);return;case"maths-latex":$A("maths-latex");return;case Jn:$A(Jn);return;case Xn:$A(Xn);return;default:throw new Error}},[Dn,ia,Vn]),Ga=(0,ue.useCallback)((GA,cA)=>{var CA,HA,Tr,kr,Xr,da;switch($A(""),tr){case rn:const{title:No,link:mi}=GA;return Dn.replaceSelection(`[${No}](${mi})`),Dn.focus();case uA:const{language:pa,content:Xt}=GA;return Dn.replaceSelection(["```"+pa,Xt,"```"].join(` `)),Dn.focus();case"maths-latex":for(var Ma=atob(GA),_r=new Uint8Array(Ma.length),Va=0;Va{xA.id?Dn.replaceSelection(`![,](/api/attachments/${xA.id}?type=${xA.content_type})`):(xA==null?void 0:xA.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":Dn.replaceSelection("`$$"+GA+"$$`");break;case Yn:case wA:case pA:const{src:Ot,alt:$t}=GA,En=cA,BA=(Tr=(HA=(CA=En==null?void 0:En.name)==null?void 0:CA.split("."))==null?void 0:HA.pop)==null?void 0:Tr.call(HA);return((kr=En==null?void 0:En.type)==null?void 0:kr.indexOf("image"))>-1||!(En!=null&&En.type)?En.align||En.width?Dn.replaceSelection(`

${$t||

`):Dn.replaceSelection(`${$t||`):((Xr=En==null?void 0:En.type)==null?void 0:Xr.indexOf("video"))>-1?Dn.replaceSelection(``):((da=En==null?void 0:En.type)==null?void 0:da.indexOf("pdf"))>-1?Dn.replaceSelection(`${En.name}`):PA.includes(BA)?Dn.replaceSelection(`${En.name}`):Dn.replaceSelection(`[${En.name}](${Ot})`),Dn.focus();case Xn:const{row:IA,col:Rt,align:YA}=GA;let WA=` `;for(let xA=0;xA{switch(tr){case rn:return ue.createElement(en,{callback:Ga,onCancel:Wo});case uA:return ue.createElement($n.Z,{callback:Ga,onCancel:Wo});case Yn:return ue.createElement(Ft.Z,{callback:Ga,onCancel:Wo});case Jn:return ue.createElement(Gt,{callback:Ga,onCancel:Wo});case Xn:return ue.createElement(rA,{callback:Ga,onCancel:Wo});case"maths-latex":return ue.createElement(cn,{showSaveButton:!0,callback:Ga});case"inline-latex":return ue.createElement(Ln.Z,{showSaveButton:!0,callback:Ga});default:return null}},[tr]);function Wo(){$A("")}(0,ue.useEffect)(()=>{if(ar.current){let GA=function(Xr){Tr=!0,kr=Xr.pageY},cA=function(){Tr=!1},CA=function(Xr){if(Tr){let da=Xr.pageY-kr;da<0&&(da=0),da>300&&(da=300);let Ma=kn+da+"px";Xa(Ma)}},HA=ar.current,Tr=!1,kr=0;return HA.addEventListener("mousedown",GA),document.addEventListener("mousemove",CA),document.addEventListener("mouseup",cA),()=>{HA.removeEventListener("mousedown",GA),document.removeEventListener("mousemove",CA),document.removeEventListener("mouseup",cA)}}},[Dn,ar]),(0,ue.useEffect)(()=>{Xa(kn)},[kn]);const Fo=Nr(Nt),ks=Nr(za),yl={width:Fo,height:ks},ql=(0,ue.useMemo)(()=>{if(Ea){let GA=new Date(Ea),cA=GA.getHours(),CA=GA.getMinutes(),HA=GA.getSeconds();return cA=cA<10?"0"+cA:cA,CA=CA<10?"0"+CA:CA,HA=HA<10?"0"+HA:HA,`${cA}:${CA}:${HA}`}return 0},[Ea]),ha=GA=>{const cA=[];if(_A){let CA=-1;GA=GA.replace(/(@▁▁@|@▁@)/g,function(HA,Tr,kr){cA.push({multiLine:HA!==sr})})}return cA};function jr(){window.sessionStorage.removeItem(OA),Wa(!1),La(0)}function xa(){Wa(!1),La(0),Dn.setValue(window.sessionStorage.getItem(OA))}const Uo=(0,Ne.useIntl)(),as={[rn]:"\u6DFB\u52A0\u94FE\u63A5",[uA]:Uo.formatMessage({id:"markdownEditor.addCodeBlock",defaultMessage:"\u6DFB\u52A0\u4EE3\u7801\u5757"}),[Yn]:Uo.formatMessage({id:"markdownEditor.addImage",defaultMessage:"\u6DFB\u52A0\u56FE\u7247"}),[wA]:"\u6DFB\u52A0\u753B\u56FE",[Jn]:Uo.formatMessage({id:"markdownEditor.insertFlowchart",defaultMessage:"\u63D2\u5165\u6D41\u7A0B\u56FE"}),[Xn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":Uo.formatMessage({id:"markdownEditor.mathImage",defaultMessage:"\u6570\u5B66\u56FE\u50CF"}),"inline-latex":Uo.formatMessage({id:"markdownEditor.latexFormula",defaultMessage:"LATEX\u516C\u5F0F"})};(0,ue.useEffect)(()=>{as[tr]&&tr!==wA&&tr!==Jn&&setTimeout(()=>{const GA=document.getElementsByClassName("markdown-popup-form")[0],cA=window.innerWidth/2-GA.offsetWidth/2,CA=window.innerHeight/2-GA.offsetHeight/2;di(cA),Rs(CA)},0)},[tr]);const vs=GA=>{GA.preventDefault();const cA=GA.clientX-Ni,CA=GA.clientY-fi;document.body.onmousemove=HA=>{let Tr=HA.clientX-cA,kr=HA.clientY-CA;const Xr=document.getElementsByClassName("markdown-popup-form")[0],da=window.innerWidth-Xr.offsetWidth,Ma=window.innerHeight-Xr.offsetHeight;Tr=Math.max(0,Math.min(Tr,da)),kr=Math.max(0,Math.min(kr,Ma)),os(HA.clientX,HA.clientY,cA,CA)&&(di(Tr),Rs(kr))},document.body.onmouseup=function(){document.body.onmousemove=null}},os=(GA,cA,CA,HA)=>{const Tr=document.body.clientHeight,kr=document.body.clientWidth;return GA<20&&CA>GA||GA>kr-20&&CAcA||cA>Tr-20&&HASt in ht?Ne(ht,St,{enumerable:!0,configurable:!0,writable:!0,value:Tt}):ht[St]=Tt,ie=(ht,St)=>{for(var Tt in St||(St={}))E.call(St,Tt)&&ee(ht,Tt,St[Tt]);if(y)for(var Tt of y(St))b.call(St,Tt)&&ee(ht,Tt,St[Tt]);return ht},ce=(ht,St)=>he(ht,a(St));const{useForm:Be}=ue.default,Ce={width:280,marginRight:10},Ue={labelCol:{span:5},wrapperCol:{span:19}};var Oe=({callback:ht,onCancel:St})=>{const[Tt]=Be();let Kt=(0,Ze.useRef)();const an=(0,Ke.useIntl)();function Nn(Jt){Kt.current.width=Tt.getFieldValue("width"),Kt.current.align=Tt.getFieldValue("align"),ht(Jt,Kt.current)}function un(Jt,Pt){if(Jt.status===-1){ft.ZP.error(Jt.message);return}Tt.setFieldsValue({src:`/api/attachments/${Jt.id}`,type:Pt.type})}function zt(Jt){let Pt=Jt.target.files[0];Kt.current=Pt,qe(Pt,un)}return Me.createElement(ue.default,ce(ie({form:Tt},Ue),{className:"upload-image-panel",onFinish:Nn,style:{width:470,overflow:"hidden"}}),Me.createElement(ue.default.Item,{label:an.formatMessage({id:"markdownEditor.imageAddress",defaultMessage:"\u56FE\u7247\u5730\u5740"}),required:!0},Me.createElement("div",{className:"flex-container"},Me.createElement(ue.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},Me.createElement(qt.default,{style:Ce})),Me.createElement(tt,{onFileChange:zt}))),Me.createElement(ue.default.Item,{label:an.formatMessage({id:"markdownEditor.imageDescription",defaultMessage:"\u56FE\u7247\u63CF\u8FF0"}),name:"alt"},Me.createElement(qt.default,{style:{width:264}})),Me.createElement(ue.default.Item,{label:an.formatMessage({id:"markdownEditor.imageWidth",defaultMessage:"\u56FE\u7247\u5BBD\u5EA6"}),name:"width"},Me.createElement(tn.Z,null,Me.createElement(ue.default.Item,{name:"width",style:{margin:0}},Me.createElement(bt.Z,{style:{width:264}})),Me.createElement("span",{className:"ml8"},"%"))),Me.createElement(ue.default.Item,{label:an.formatMessage({id:"markdownEditor.alignment",defaultMessage:"\u5BF9\u9F50\u65B9\u5F0F"}),name:"align"},Me.createElement(nn.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:an.formatMessage({id:"markdownEditor.leftAlign",defaultMessage:"\u5DE6\u5BF9\u9F50"})},{value:"center",label:an.formatMessage({id:"markdownEditor.centerAlign",defaultMessage:"\u5C45\u4E2D\u5BF9\u9F50"})},{value:"right",label:an.formatMessage({id:"markdownEditor.rightAlign",defaultMessage:"\u53F3\u5BF9\u9F50"})}]})),Me.createElement("aside",null,Me.createElement(ue.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},Me.createElement(vt.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},an.formatMessage({id:"markdownEditor.confirm",defaultMessage:"\u786E\u5B9A"})),Me.createElement(vt.ZP,{type:"default",onClick:St},an.formatMessage({id:"markdownEditor.cancel",defaultMessage:"\u53D6\u6D88"})))))};function tt({onFileChange:ht}){return Me.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",Me.createElement("input",{type:"file",onChange:ht}))}function qe(ht,St){if(!ht)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,ve.bg)())throw ft.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Tt=new FormData;Tt.append("editormd-image-file",ht),Tt.append("file_param_name","editormd-image-file"),Tt.append("byxhr","true");var Kt=new window.XMLHttpRequest;Kt.withCredentials=!0,Kt.addEventListener("load",function(an){St(JSON.parse(an.target.responseText),ht)},!1),Kt.addEventListener("error",function(an){console.error(an)},!1),Kt.open("POST",`${De.KI}/api/attachments.json`),Kt.send(Tt)}},76621:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return qt}});var ue=Fe(67294),ft=Fe(73935);class qt extends ue.Component{constructor(bt){super(bt);const nn=window.document;this.node=nn.createElement("div"),nn.body.appendChild(this.node)}render(){const{children:bt}=this.props;return(0,ft.createPortal)(bt,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},5476:function(kt,tA,Fe){"use strict";Fe.d(tA,{i:function(){return Ue},Z:function(){return tt}});var ue={flex_box_center:"flex_box_center___AQ53o",flex_space_between:"flex_space_between___i2aIa",flex_box_vertical_center:"flex_box_vertical_center___sPEKB",flex_box_center_end:"flex_box_center_end___GhSSH",flex_box_column:"flex_box_column___R9_Hb",list:"list___jb2Ay",wrap:"wrap___VsQDr",lockWrap:"lockWrap___g1k1T",li:"li___IxCLC",cover:"cover___Mu8wr",img:"img___IpFLA",movebq:"movebq___mF7wt",bq:"bq___Bil0T",sign:"sign___DXJ4d",name:"name___l7FoJ",e:"e___pXQUG",unit:"unit___wCIFR",tags:"tags___w_Mil",tag1:"tag1___dxm7r",tag2:"tag2___llZkf",wrapisCurrent:"wrapisCurrent___qIfQT"},ft=Fe(57953),qt=Fe(83062),tn=Fe(38703),bt=Fe(94184),nn=Fe.n(bt),vt=Fe(28706),De=Fe(26194),Ze=Fe(52262),ve=Fe(35973),Ke=Fe(79005),Me=Fe(20345),Ne=Fe(77882),he=Fe(31081),a=Fe(75309),y=Fe(71979),E=Fe(47558),b=Fe(60345),ee=Fe(66832),ie=Fe(96593),ce=Fe(19664),Be=Fe(91833),Ce=Fe(67294);const Ue=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Ke,swimg:Me},{name:"101\u8BA1\u5212",ptimg:Ne,swimg:he},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:a,swimg:y},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:E,swimg:b},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:ee,swimg:ie},{name:"\u519B\u961F\u4E00\u6D41",ptimg:ce,swimg:Be}];var tt=({className:qe,dataSource:ht=[],col:St=4,right:Tt,bottom:Kt=23,precision:an=0,wrapWidth:Nn=1200,trackEventItems:un,loading:zt,onRemove:Jt=()=>{},isCurrent:Pt=!0,showAlias:Ye=!1,showProgress:Wt=!1})=>{const en=(0,ve.useIntl)(),$n=Math.floor((Nn-(St-1)*Tt)/St),Ft=[{name:en.formatMessage({id:"shixuns.recommendSelfStudy",defaultMessage:"\u63A8\u8350\u81EA\u5B66"}),ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:en.formatMessage({id:"shixuns.plan101",defaultMessage:"101\u8BA1\u5212"}),ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:en.formatMessage({id:"shixuns.nationalFirstClass",defaultMessage:"\u56FD\u5BB6\u4E00\u6D41"}),ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:en.formatMessage({id:"shixuns.provincialFirstClass",defaultMessage:"\u7701\u7EA7\u4E00\u6D41"}),ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:en.formatMessage({id:"shixuns.premiumCourse",defaultMessage:"\u7CBE\u54C1\u8BFE\u7A0B"}),ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:en.formatMessage({id:"shixuns.topMilitary",defaultMessage:"\u519B\u961F\u4E00\u6D41"}),ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:en.formatMessage({id:"shixuns.newTypeTextbook",defaultMessage:"\u65B0\u578B\u6559\u6750"}),ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(Et=>(window.ENV==="build"&&(Et.ptimg=`/react/build${Et.ptimg}`,Et.swimg=`/react/build${Et.swimg}`),Et));return Ce.createElement(ft.Z,{spinning:zt},Ce.createElement("div",{className:nn()(ue.list,qe)},!!(ht!=null&&ht.length)&&(ht==null?void 0:ht.map((Et,on)=>{var nA,Qn,AA,Ve,An,Sn;const{name:iA,id:Kn,identifier:_t,featured:rt,school_name:_e,image_url:At,excellent:pt,is_plan:Gt}=Et;return Ce.createElement("div",{key:Kn,className:Pt&&Wt?ue.wrapisCurrent:ue.wrap,style:{width:$n,marginRight:(1+on)%St===0?0:Tt+an,marginBottom:Kt}},Ce.createElement("a",{className:ue.li,onClick:ln=>{ln.preventDefault(),ln.stopPropagation(),un&&(0,vt.L9)([un]),(0,vt.xg)(`/paths/${_t}`)}},Ce.createElement("div",{className:ue.img},Ce.createElement("img",{className:ue.cover,src:`${At}`}),Pt&&(0,Ze.bg)()&&(Et==null?void 0:Et.studying)&&Ce.createElement("div",{className:`${ue.movebq} user-path-items`,onClick:ln=>{ln.stopPropagation(),Jt(Et)}},Ce.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),Ce.createElement("span",{className:"c-red"},en.formatMessage({id:"classrooms.remove",defaultMessage:"\u79FB\u9664"}))),(nA=Et==null?void 0:Et.subject_tags)==null?void 0:nA.map((ln,pn)=>{var Cn,In;if(pn===0){const qn=(Cn=Ft.find(hA=>hA.name==ln))==null?void 0:Cn.swimg;return Ce.createElement("img",{className:ue.sign,src:qn,style:{left:"-4px"}})}const rA=(In=Ft.find(qn=>qn.name==ln))==null?void 0:In.ptimg;return Ce.createElement("img",{className:ue.sign,src:rA,style:{left:`${48+52*(pn-1)+2*pn}px`}})}),Ce.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(Et==null?void 0:Et.excellent)&&Ce.createElement("div",{className:ue.bq},en.formatMessage({id:"paths.openCourse1",defaultMessage:"\u5F00\u653E\u8BFE\u7A0B"})))),Ce.createElement("div",{className:ue.name},Ce.createElement(qt.Z,{title:Ye&&(Et!=null&&Et.excellent_alias_name)?Ce.createElement("span",null,`${en.formatMessage({id:"paths.originalCourseName",defaultMessage:"\u8BFE\u7A0B\u539F\u540D"})}\uFF1A${iA}`,Ce.createElement("br",null),Ce.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${Et==null?void 0:Et.excellent_alias_name}`)):iA},Ce.createElement("span",{className:ue.e},Ye&&(Et==null?void 0:Et.excellent_alias_name)||iA))),Pt&&Wt&&((Qn=Et==null?void 0:Et.progress)==null?void 0:Qn.all_score)!=0&&Ce.createElement("div",{style:{padding:"0px 10px",color:"#333",marginTop:10}},Ce.createElement(tn.Z,{strokeColor:"#44d7b6",gap:"small",percent:(((AA=Et==null?void 0:Et.progress)==null?void 0:AA.my_score)/((Ve=Et==null?void 0:Et.progress)==null?void 0:Ve.all_score)*100).toFixed(),showInfo:!1}),en.formatMessage({id:"shixuns.completed",defaultMessage:"\u5DF2\u5B8C\u6210"})," ",(An=Et==null?void 0:Et.progress)==null?void 0:An.my_score,"/",(Sn=Et==null?void 0:Et.progress)==null?void 0:Sn.all_score),(!Pt||!Wt)&&Ce.createElement("div",{className:ue.tags},Ce.createElement("div",null,Ce.createElement(qt.Z,{placement:"bottom",title:en.formatMessage({id:"paths.chapterCount",defaultMessage:"\u7AE0\u8282\u6570"})},Ce.createElement("span",null,Ce.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),Ce.createElement("span",null,Et.stages_count))),Ce.createElement(qt.Z,{placement:"bottom",title:en.formatMessage({id:"paths.numberOfLearners",defaultMessage:"\u5B66\u4E60\u4EBA\u6570"})},Ce.createElement("span",null,Ce.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),Ce.createElement("span",null,Et.members_count)))))))})),!ht.length&&Ce.createElement(De.Z,null)))}},80150:function(kt,tA,Fe){"use strict";Fe.d(tA,{jL:function(){return bt},w9:function(){return Gr},vv:function(){return aA},dN:function(){return Ut},QD:function(){return Ts},cQ:function(){return ln.Z},vg:function(){return SA},Oz:function(){return dA},op:function(){return La},O5:function(){return ql},_b:function(){return eo},t7:function(){return Kt},tT:function(){return un},Gi:function(){return Oa},YG:function(){return qA},Ed:function(){return _A},kT:function(){return Pr},qp:function(){return b},Um:function(){return Ue},K3:function(){return ce},vr:function(){return di},qE:function(){return Qo},Je:function(){return Pt},wb:function(){return An},rC:function(){return Gt},lB:function(){return Kn},cq:function(){return Hr},kO:function(){return $a},tp:function(){return qe},Si:function(){return xa},k8:function(){return pa},Du:function(){return HA}});var ue=Fe(67294),ft={flex_box_center:"flex_box_center___NeSU8",flex_space_between:"flex_space_between___ImTGl",flex_box_vertical_center:"flex_box_vertical_center___BtRd9",flex_box_center_end:"flex_box_center_end___qcLe3",flex_box_column:"flex_box_column___Ze_3q",banner:"banner___PoUBO",content:"content___XoDjy",btns:"btns___Pb35j"},qt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/KjV3femB7ebRxfE3DbRnW/k8c3LQvv5yCjOFVVqhgCyNnJmAhoxyOFasz1OeCM2lLTJryI4BQQUn1RAhI24Lc1dBjc2K6Nnv2edfP+sLvIvergxqb0vpHA1fk8lre9xBZpZsYKU9sMYiDvAHKaqU4HuANcZrIpcILiezRdo7z0aUw3BoJYI4gELAeI/bjZmBq9+PGNd5x/+unHua8U4KsKbriujxUSV9gW+rwg9WPTfpHgpEgUQgAFJwU6LSDwjSxA8F2jslSBBJaZKwVGJRv1pSAJLyQ8qlwLOA4Q1us31Z58+OTj3rX/E68E3qsGbmhK/6Nt40oIFMJwZ5URFh/cZoGgHQKODeSsaUEiA5iSy6IqY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jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",bt=({dataSource:Xt=[],img:Ot,imgWidth:$t=346,title:En,sunTitle:BA,bannerExtraContent:IA})=>ue.createElement("div",{className:ft.banner},ue.createElement("div",{className:ft.content},ue.createElement("aside",null,ue.createElement("p",null,ue.createElement("b",null,En),ue.createElement("span",null,BA)),Xt.length>0&&ue.createElement("div",{className:ft.btns},Xt.map((Rt,YA)=>ue.createElement("div",{key:YA,onClick:Rt.click},Rt.name,Rt.sign?ue.createElement("img",{src:qt,width:39}):null))),IA),Ot&&ue.createElement("img",{style:{marginTop:33,marginRight:38},src:Ot,width:$t}))),nn={flex_box_center:"flex_box_center___hG6RI",flex_space_between:"flex_space_between___ss3Fh",flex_box_vertical_center:"flex_box_vertical_center___K80p9",flex_box_center_end:"flex_box_center_end___qmXX3",flex_box_column:"flex_box_column___GFV8F",row:"row___aXJjm",title:"title___HUKL0",tagsWrap:"tagsWrap___XB2W3",action:"action___VdHb1",bar:"bar___t1kKC",tag:"tag___V7Eft",name:"name___Hk1Ip",num:"num___xQpcH",active:"active___XryTX",tagsBorderWrap:"tagsBorderWrap___OMxjs"},vt=Fe(94184),De=Fe.n(vt),Ze=Fe(96486),ve=Fe(35973),Ke=Object.defineProperty,Me=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,he=Object.prototype.propertyIsEnumerable,a=(Xt,Ot,$t)=>Ot in Xt?Ke(Xt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Xt[Ot]=$t,y=(Xt,Ot)=>{for(var $t in Ot||(Ot={}))Ne.call(Ot,$t)&&a(Xt,$t,Ot[$t]);if(Me)for(var $t of Me(Ot))he.call(Ot,$t)&&a(Xt,$t,Ot[$t]);return Xt},b=({dataSource:Xt=[],value:Ot,onChange:$t,onTitleChange:En,className:BA,title:IA,titleWidth:Rt=41,style:YA={},fontColor:WA="#6A7283",showCount:xA,classNameActive:xr,styleItem:jn={}})=>{const mr=(0,ve.useIntl)(),[Qr,Kr]=(0,ue.useState)(0),[nr,er]=(0,ue.useState)(!1),Ir=(0,ue.useRef)(null),Zr=(0,ue.useRef)(null);return(0,ue.useEffect)(()=>{var NA;Xt.length!==0&&(((NA=Ir==null?void 0:Ir.current)==null?void 0:NA.clientHeight)>97?Kr(1):Kr(0)),Xt.length===0&&Kr(0),er(!1)},[Xt]),ue.createElement("div",{className:De()(nn.row,BA),style:YA},ue.createElement("div",{onClick:(0,Ze.throttle)(()=>En==null?void 0:En(),2e3),style:{width:Rt,marginTop:nr?12:4},className:`${nn.title} ${En?"current":""}`},IA),ue.createElement("div",{className:nr?`${nn.tagsWrap} ${nn.tagsBorderWrap}`:nn.tagsWrap},ue.createElement("div",{className:nn.bar,ref:Zr,style:Qr>0?{height:Qr===1?97:"auto",overflow:Qr===1?"hidden":"auto",paddingRight:70}:{paddingRight:0}},ue.createElement("div",{className:nn.tag,ref:Ir},Xt==null?void 0:Xt.map(NA=>ue.createElement("span",{onClick:()=>$t(NA.id),key:NA.id,style:y(y({color:WA},jn),(NA==null?void 0:NA.style)||{}),className:Ot===NA.id?De()(xr||nn.active,NA.classNameActive):""},ue.createElement("span",{title:NA.name,className:nn.name},NA.name),!!xA&&ue.createElement("span",{className:nn.num},NA.count))))),!!Qr&&ue.createElement(ue.Fragment,null,Qr===1?ue.createElement("div",{onClick:()=>{var NA;Kr(2),((NA=Ir==null?void 0:Ir.current)==null?void 0:NA.clientHeight)>245?er(!0):er(!1)},className:nn.action},mr.formatMessage({id:"shixuns.expand",defaultMessage:"\u5C55\u5F00"}),ue.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ue.createElement("div",{onClick:()=>{Zr.current.scrollTop=0,Kr(1),er(!1)},className:nn.action},mr.formatMessage({id:"shixuns.collapse",defaultMessage:"\u6536\u8D77"}),ue.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},ee={flex_box_center:"flex_box_center___HDG9F",flex_space_between:"flex_space_between___KhP6Z",flex_box_vertical_center:"flex_box_vertical_center___ZlFcA",flex_box_center_end:"flex_box_center_end___o7d_z",flex_box_column:"flex_box_column___ULJgZ",row:"row___Skft7",title:"title___KP2uZ",fenge:"fenge___yM8ys",tagsWrap:"tagsWrap___XcmUd",action:"action___y7wAl",bar:"bar___gdtOz",tag:"tag___PL8Db",name:"name___gsqnj",num:"num___sRnLB",active:"active___yNnAU",tagsBorderWrap:"tagsBorderWrap___BKCHD"},ce=({dataSource:Xt=[],value:Ot,onChange:$t,onTitleChange:En,className:BA,title:IA,titleWidth:Rt=41,style:YA={},fontColor:WA="#6A7283",showCount:xA,expand:xr=!0})=>{const[jn,mr]=(0,ue.useState)(0),[Qr,Kr]=(0,ue.useState)(!1),nr=(0,ue.useRef)(null),er=(0,ue.useRef)(null),[Ir,Zr]=(0,ue.useState)(xr);return ue.createElement("div",{className:De()(ee.row,BA),style:YA},ue.createElement("div",{className:"flex item-center justify-between"},ue.createElement("div",{onClick:(0,Ze.throttle)(()=>En==null?void 0:En(),2e3),style:{width:Rt,marginTop:Qr?12:4},className:`${ee.title} ${En?"current":""}`},IA),ue.createElement("i",{className:`iconfont ${Ir?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:"#727C95",fontSize:Ir?8:10},onClick:()=>Zr(!Ir)})),Ir&&ue.createElement("div",{className:Qr?`${ee.tagsWrap} ${ee.tagsBorderWrap}`:ee.tagsWrap},ue.createElement("div",{className:ee.fenge}),ue.createElement("div",{className:ee.bar,ref:er},ue.createElement("div",{className:ee.tag,ref:nr},Xt==null?void 0:Xt.map(NA=>ue.createElement("span",{onClick:()=>$t(NA.id),key:NA.id,style:{color:WA},className:Ot===NA.id?ee.active:""},ue.createElement("span",{title:NA.name,className:ee.name},NA.name),!!xA&&ue.createElement("span",{className:ee.num},NA.count)))))))},Be={flex_box_center:"flex_box_center___kXy2O",flex_space_between:"flex_space_between___EKVqf",flex_box_vertical_center:"flex_box_vertical_center___KJzcw",flex_box_center_end:"flex_box_center_end___V4Nm9",flex_box_column:"flex_box_column___g6Cee",row:"row___pqtGl",title:"title___eewYd",tagsWrap:"tagsWrap___AWV66",action:"action___Toj3O",bar:"bar___NZVtB",tag:"tag___z872k",name:"name___m2dAl",num:"num___EhDNX",active:"active___GSjsu",tagsBorderWrap:"tagsBorderWrap___VoQL3"},Ue=({dataSource:Xt=[],value:Ot,onChange:$t,onTitleChange:En,className:BA,title:IA,titleWidth:Rt=41,style:YA={},fontColor:WA="#fff",showCount:xA,expand:xr=!0})=>{const[jn,mr]=(0,ue.useState)(0),[Qr,Kr]=(0,ue.useState)(!1),nr=(0,ue.useRef)(null),er=(0,ue.useRef)(null),[Ir,Zr]=(0,ue.useState)(xr);return ue.createElement("div",{className:De()(Be.row,BA),style:YA},ue.createElement("div",{className:"flex item-center justify-between"},ue.createElement("div",{onClick:(0,Ze.throttle)(()=>En==null?void 0:En(),2e3),style:{width:Rt},className:`${Be.title} ${En?"current":""}`},IA),ue.createElement("i",{className:`iconfont ${Ir?"icon-yizhankai":"icon-weizhankai"} current`,style:{color:Ir?"#00DDC7":"#037F74",fontSize:Ir?10:12},onClick:()=>Zr(!Ir)})),Ir&&ue.createElement("div",{className:Qr?`${Be.tagsWrap} ${Be.tagsBorderWrap}`:Be.tagsWrap},ue.createElement("div",{className:Be.bar,ref:er},ue.createElement("div",{className:Be.tag,ref:nr},Xt==null?void 0:Xt.map(NA=>ue.createElement("span",{onClick:()=>$t(NA.id),key:NA.id,style:{color:WA},className:Ot===NA.id?Be.active:""},ue.createElement("span",{title:NA.name,className:Be.name},NA.name),!!xA&&ue.createElement("span",{className:Be.num},NA.count)))))))},Oe={flex_box_center:"flex_box_center___aK2n3",flex_space_between:"flex_space_between___HX0Oh",flex_box_vertical_center:"flex_box_vertical_center___LJOJr",flex_box_center_end:"flex_box_center_end___SCakF",flex_box_column:"flex_box_column___AYv4m",tabs:"tabs___GTqPV",active:"active___F26E8"},qe=({dataSource:Xt=[],value:Ot,onChange:$t,className:En,style:BA={}})=>ue.createElement("div",{style:BA,className:De()(Oe.tabs,En)},Xt.map(IA=>ue.createElement("span",{onClick:()=>$t(IA.id),className:Ot===IA.id?Oe.active:"",key:IA.id},IA.name))),ht={flex_box_center:"flex_box_center___yX6Oa",flex_space_between:"flex_space_between___t7oqF",flex_box_vertical_center:"flex_box_vertical_center___dEIHy",flex_box_center_end:"flex_box_center_end___taQDF",flex_box_column:"flex_box_column___xY_Lr",input:"input___PW2zI",dropdown:"dropdown___vSy8B",menu:"menu___NiyBu",text:"text___Grueu",b1:"b1___ZKryM",b2:"b2___aKyGa"},St=Fe(69677),Kt=({dataSource:Xt=[],value:Ot="",onChange:$t,onInputChange:En=()=>{},className:BA,style:IA={},placeholder:Rt,allowClear:YA=!1})=>{var WA;const[xA,xr]=(0,ue.useState)(""),[jn,mr]=(0,ue.useState)("");(0,ue.useEffect)(()=>{var nr;let er=Ot;(nr=JSON.stringify(Ot))!=null&&nr.includes("{")&&(xr(Ot.id),er=Ot.value||"");try{mr(decodeURIComponent(er||""))}catch(Ir){mr(decodeURIComponent(er||""))}},[Ot]);const Qr=()=>{$t(encodeURIComponent(jn),xA||null)},Kr=nr=>{nr!==xA&&(xr(nr),$t(encodeURIComponent(jn),nr))};return ue.createElement("div",{className:De()(ht.input,BA),style:IA},!!Xt.length&&ue.createElement("div",{className:ht.dropdown},ue.createElement("div",{className:ht.text},(WA=Xt.find(nr=>nr.id===xA))==null?void 0:WA.name,ue.createElement("i",{className:"iconfont icon-zhankai4"}),ue.createElement("b",{className:ht.b1}),ue.createElement("b",{className:ht.b2})),ue.createElement("div",{className:ht.menu},Xt.map((nr,er)=>ue.createElement("div",{key:er,onClick:()=>Kr(nr.id)},nr.name)))),ue.createElement(St.default,{onPressEnter:Qr,value:jn,onChange:nr=>{mr(nr.target.value),En(encodeURIComponent(nr.target.value),xA||null)},bordered:!1,placeholder:Rt}),ue.createElement("i",{onClick:Qr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},an={flex_box_center:"flex_box_center___pVsOk",flex_space_between:"flex_space_between___bQwBe",flex_box_vertical_center:"flex_box_vertical_center___gdKht",flex_box_center_end:"flex_box_center_end___wJuEm",flex_box_column:"flex_box_column___F50s0",input:"input___f7GZE",dropdown:"dropdown___oJkxW",menu:"menu___RplGU",text:"text___EgRKl"},un=({dataSource:Xt=[],value:Ot="",onChange:$t,onInputChange:En=()=>{},className:BA,style:IA={},placeholder:Rt,allowClear:YA=!1})=>{var WA;const[xA,xr]=(0,ue.useState)(""),[jn,mr]=(0,ue.useState)("");(0,ue.useEffect)(()=>{var nr;let er=Ot;(nr=JSON.stringify(Ot))!=null&&nr.includes("{")&&(xr(Ot.id),er=Ot.value||"");try{mr(decodeURIComponent(er||""))}catch(Ir){mr(decodeURIComponent(er||""))}},[Ot]);const Qr=()=>{$t(encodeURIComponent(jn),xA||null)},Kr=nr=>{nr!==xA&&(xr(nr),$t(encodeURIComponent(jn),nr))};return ue.createElement("div",{className:De()(an.input,BA),style:IA},!!Xt.length&&ue.createElement("div",{className:an.dropdown},ue.createElement("div",{className:an.text},(WA=Xt.find(nr=>nr.id===xA))==null?void 0:WA.name,ue.createElement("i",{className:"iconfont icon-zhankai4 ml5"})),ue.createElement("div",{className:an.menu},Xt.map((nr,er)=>ue.createElement("div",{key:er,onClick:()=>Kr(nr.id)},nr.name)))),ue.createElement(St.default,{onPressEnter:Qr,value:jn,onChange:nr=>{mr(nr.target.value),En(encodeURIComponent(nr.target.value),xA||null)},bordered:!1,placeholder:Rt}),ue.createElement("i",{onClick:Qr,className:"iconfont icon-sousuo9 font14 pl10 current"}))},zt={flex_box_center:"flex_box_center___tol8o",flex_space_between:"flex_space_between___Z235C",flex_box_vertical_center:"flex_box_vertical_center___Wq1sZ",flex_box_center_end:"flex_box_center_end___LLxom",flex_box_column:"flex_box_column___DbMSN",quickPager:"quickPager___GM30J",disabled:"disabled___Ozc8I"},Pt=({value:Xt,onChange:Ot,className:$t,total:En,pageSize:BA,style:IA={}})=>{const Rt=(0,ve.useIntl)(),YA=Xt<2,WA=Xt>=Math.ceil(En/BA);return En<=BA?ue.createElement(ue.Fragment,null):ue.createElement("div",{className:De()(zt.quickPager,$t),style:IA},ue.createElement("div",{onClick:()=>{YA||Ot(Xt-1,"prev")},className:YA?zt.disabled:""},Rt.formatMessage({id:"shixuns.previousPage"})),ue.createElement("div",{onClick:()=>{WA||Ot(Xt+1,"next")},className:WA?zt.disabled:""},Rt.formatMessage({id:"shixuns.nextPage"})))},Ye={flex_box_center:"flex_box_center___FO7TP",flex_space_between:"flex_space_between___LotYx",flex_box_vertical_center:"flex_box_vertical_center___bWdaw",flex_box_center_end:"flex_box_center_end___mVJ1o",flex_box_column:"flex_box_column___M83Mm",list:"list___oOsiS",wrap:"wrap___G6T7F",lockWrap:"lockWrap___Rl79E",li:"li___oZZ7l",cover:"cover___b2bYW",img:"img___IQX7w",sign:"sign___HkT6C",name:"name___SsJx8",e:"e___TMqq0",tags:"tags___bcjyo",rate:"rate___YACg7"},Wt=Fe(57953),en=Fe(83062),$n=Fe(12604),Ft=Fe(11320),Et=Fe(28706),on=Fe(96908),nA=Fe(57177),Qn=Fe(81378),AA=Fe(26194),An=({className:Xt,dataSource:Ot=[],col:$t=4,right:En,bottom:BA=23,precision:IA=0,wrapWidth:Rt=1200,trackEventItems:YA,loading:WA})=>{const xA=(0,ve.useIntl)(),xr=Math.floor((Rt-($t-1)*En)/$t);return ue.createElement(Wt.Z,{spinning:WA},ue.createElement("div",{className:De()(Ye.list,Xt)},!!Ot.length&&Ot.map((jn,mr)=>{const{name:Qr,id:Kr,identifier:nr,power:er,cover_image_id:Ir,pic:Zr}=jn;return ue.createElement("div",{className:Ye.wrap,key:Kr,style:{width:xr,marginRight:(1+mr)%$t===0?0:En+IA,marginBottom:BA}},ue.createElement("a",{target:"_blank",href:`/shixuns/${nr}/challenges`,className:Ye.li,onClick:NA=>{NA.preventDefault(),YA&&(0,Et.L9)([YA]),er&&(0,Et.xg)(`/shixuns/${nr}/challenges`)}},ue.createElement("div",{className:Ye.img},ue.createElement("img",{className:Ye.cover,src:`${Zr}`}),jn.is_jupyter&&ue.createElement("img",{className:Ye.sign,src:on}),jn.is_jupyter_lab&&ue.createElement("img",{className:Ye.sign,src:nA}),jn.is_unity_3d&&ue.createElement("img",{className:Ye.sign,src:Qn})),ue.createElement("div",{className:Ye.name},ue.createElement(en.Z,{title:Qr||xA.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})},ue.createElement("span",{className:Ye.e},Qr||xA.formatMessage({id:"shixuns.practicalProjectNameNotFilled"})))),ue.createElement("div",{className:Ye.tags},ue.createElement(en.Z,{placement:"bottom",title:xA.formatMessage({id:"shixuns.numberOfLevels",defaultMessage:"\u5173\u5361\u6570"})},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ue.createElement("span",null,jn.challenges_count))),!!jn.myshixuns_count&&ue.createElement(en.Z,{placement:"bottom",title:xA.formatMessage({id:"shixuns.numberOfLearners"})},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ue.createElement("span",null,jn.myshixuns_count))),ue.createElement(en.Z,{placement:"bottom",title:xA.formatMessage({id:"shixuns.difficultyCoefficient",defaultMessage:"\u96BE\u5EA6\u7B49\u7EA7"})},ue.createElement("span",null,ue.createElement("span",null,(0,Et.Mr)(xA,jn.level)))),ue.createElement("div",{className:Ye.rate},ue.createElement($n.Z,{allowHalf:!0,disabled:!0,defaultValue:jn.score_info}),ue.createElement("span",null,"\xA0",jn.score_info?`${jn.score_info}${xA.formatMessage({id:"shixuns.minute",defaultMessage:"\u5206"})}`:"5"+xA.formatMessage({id:"shixuns.minute",defaultMessage:"\u5206"}))))),!er&&ue.createElement("div",{className:Ye.lockWrap},ue.createElement("img",{src:`${Ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ue.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ot.length&&ue.createElement(AA.Z,null)))},Sn={flex_box_center:"flex_box_center___KD0ZB",flex_space_between:"flex_space_between___rMep5",flex_box_vertical_center:"flex_box_vertical_center___jD3Po",flex_box_center_end:"flex_box_center_end___RbohB",flex_box_column:"flex_box_column___GmzUj",list:"list___dlUtq",wrap:"wrap___LYbIZ",lockWrap:"lockWrap___U7Ajb",li:"li___bsnqy",img:"img___yQ3UM",cover:"cover___KP0L8",bq:"bq___DtmL1",sign:"sign___TZ9Wq",titleBg:"titleBg___tnX0O",name:"name___OGYeq",e:"e___zxiB9",text:"text____ZmZX",value:"value___WPLok",rate:"rate___iOr7E"},Kn=({className:Xt,dataSource:Ot=[],col:$t=4,right:En,bottom:BA=23,precision:IA=0,wrapWidth:Rt=1200,wrapClassName:YA,trackEventItems:WA,loading:xA})=>{const xr=Math.floor((Rt-($t-1)*En)/$t);return ue.createElement(Wt.Z,{spinning:xA},ue.createElement("div",{className:De()(Sn.list,Xt)},!!Ot.length&&Ot.map((jn,mr)=>{const{name:Qr,id:Kr,identifier:nr,power:er,cover_image_id:Ir,pic:Zr}=jn;return ue.createElement("div",{className:De()(Sn.wrap,YA),key:Kr,style:{width:xr,marginRight:(1+mr)%$t===0?0:En+IA,marginBottom:BA}},ue.createElement("a",{target:"_blank",href:`/shixuns/${nr}/challenges`,className:Sn.li,onClick:NA=>{NA.preventDefault(),WA&&(0,Et.L9)([WA]),er&&(0,Et.xg)(`/shixuns/${nr}/challenges`)}},ue.createElement("img",{src:Fe(79633),className:Sn.titleBg}),ue.createElement("div",{className:Sn.name},ue.createElement(en.Z,{title:Qr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ue.createElement("span",{className:Sn.e},Qr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ue.createElement("div",{style:{padding:"14px",paddingBottom:0}},ue.createElement("div",{className:Sn.img},ue.createElement("img",{className:Sn.cover,src:Ir?`${Ft.Z.API_SERVER}/api/attachments/${Ir}`:`${Ft.Z.IMG_SERVER+Zr}`}),jn.is_jupyter&&ue.createElement("div",{className:Sn.bq},"Jupyter"),jn.is_jupyter_lab&&ue.createElement("div",{className:Sn.bq},"JupyterLab"),jn.is_unity_3d&&ue.createElement("div",{className:Sn.bq,style:{background:"linear-gradient(rgba(90, 167, 237, 0.8) 0%, rgba(79, 29, 189, 0.8) 100%)"}},"\u865A\u62DF\u4EFF\u771F")),ue.createElement("div",{className:"mt20 flex item-center justify-between"},ue.createElement("div",null,ue.createElement("span",{className:Sn.text},"\u5B66\u4E60\u4EBA\u6570"),ue.createElement("span",{className:Sn.value},jn.myshixuns_count)),ue.createElement("div",null,ue.createElement("span",{className:Sn.text},"\u56F0\u96BE\u7B49\u7EA7"),ue.createElement("span",{className:Sn.value},jn.level))),ue.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ue.createElement("div",null,ue.createElement("span",{className:Sn.text},"\u5173\u5361\u6570"),ue.createElement("span",{className:Sn.value},jn.challenges_count)),ue.createElement("div",{className:Sn.rate},ue.createElement($n.Z,{allowHalf:!0,disabled:!0,defaultValue:jn.score_info}),ue.createElement("span",{className:Sn.value,style:{color:"#FF9C00"}},"\xA0",jn.score_info?`${jn.score_info}\u5206`:"5\u5206"))))),!er&&ue.createElement("div",{className:Sn.lockWrap},ue.createElement("img",{src:`${Ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ue.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ot.length&&ue.createElement(AA.Z,null)))},_t={flex_box_center:"flex_box_center___MoMqv",flex_space_between:"flex_space_between___G_1Pa",flex_box_vertical_center:"flex_box_vertical_center___vHNpc",flex_box_center_end:"flex_box_center_end___dt_Dx",flex_box_column:"flex_box_column___gK3h_",list:"list___GYKT6",wrap:"wrap___uLNQf",lockWrap:"lockWrap___lZQo7",li:"li___X7Rkc",img:"img___bih4x",cover:"cover___UiMEf",sign:"sign___WPSew",name:"name___ZLjiX",e:"e___tB29O",tags:"tags___a3FKn",rate:"rate___dh30H"},rt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAAA8CAYAAADogBFvAAAAAXNSR0IArs4c6QAADzxJREFUeF7tnQl4VcUVx3/3JSEBARFEFllcQAMJuKDUD7FqtVbFtUqtS6ufS1soxaW1Si0KBaFVWy2ittqqdQ9xpYq4tLgVFWUThYQlJIEkkJXs63u333lzL+/mrfeF9/KSeM/35Xv3zZw5c+bM/83MOTN3ouGQY4EuZAGtC+niqOJYAAeQDgi6lAU0fUayHqCR5gJXEriS/T6TICkZNOMzIN/gFx7/8vvLiFxDtpfP4G2Xb5Ej6SaPKddav6mPtb5g9e/PF9nSvmTVlpD1S36Sr63WOj1ukD/d+PR+b1NpAekmj5Gve8Dd5lc2ivK4G2lzV4K7Eo/8eSrQ3ZW424rw6J/ST1utTb2jtkuhLAplwgDS7BDj09txdgFqgsjCbwVOKMCYAPH+IAzABIDf8qPYz+OygMus0+8HFQDmYDpaypj1mp+m/qKbgMoKQO+zxwIyCzhNPhOIQQFrAas/uK3l5dlt/SEY9bbn0ZsrS1obynfXNJQXFTeUbPugua5utQZrM7PZHgU2EsIaHJAJUcWp1JYFklKgVx/fX0oqpPSBgw6BASOh/xAlxgC+u6WJqh0bqdi2nrb66gI0sjQXL2W8xHpb9XUykwPITjZ43KuTpcnBw2HA4TBwFBw81Dt66+42aoq2U7FjAw0Ve8R52KxpLB6v86KWjTvuetmswAGkTUN1W7aDBsHIieiHjkVDlhpuavbkU7ThE9wtjQLMbTosyFzGc5pGoD/RyQ13ANnJBk9YdSm9YVg6+tB0NC2ZtqZ6dn/1P+rKirwqaRqrknVuSM9mZ8J0FD2CetmJ1MipO74WkPXn0VOg72CvY1ZRuJU9uRvQPW4ZLes0jdszlvG3+CoRWroDyERZPtH1Dk1HH56B5vHQ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xpn/Fp0HwC5ugKe6ayvQbGhAuc75SwY5cB8lIfFeoVcPgF1bf09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII=",Gt=({className:Xt,dataSource:Ot=[],col:$t=4,right:En,bottom:BA=23,precision:IA=0,wrapWidth:Rt=1200,trackEventItems:YA,loading:WA,wrapClassName:xA,imgClassName:xr})=>{const jn=Math.floor((Rt-($t-1)*En)/$t);return ue.createElement(Wt.Z,{spinning:WA},ue.createElement("div",{className:De()(_t.list,Xt)},!!Ot.length&&Ot.map((mr,Qr)=>{const{name:Kr,id:nr,identifier:er,power:Ir,cover_image_id:Zr,pic:NA}=mr;return ue.createElement("div",{className:De()(_t.wrap,xA),key:nr,style:{width:jn,marginRight:(1+Qr)%$t===0?0:En+IA,marginBottom:BA}},ue.createElement("a",{target:"_blank",href:`/shixuns/${er}/challenges`,className:_t.li,onClick:Eo=>{Eo.preventDefault(),YA&&(0,Et.L9)([YA]),Ir&&(0,Et.xg)(`/shixuns/${er}/challenges`)}},ue.createElement("div",{className:De()(_t.img,xr)},ue.createElement("img",{className:_t.cover,src:Zr?`${Ft.Z.API_SERVER}/api/attachments/${Zr}`:`${Ft.Z.IMG_SERVER+NA}`}),mr.is_jupyter&&ue.createElement("img",{className:_t.sign,src:rt}),mr.is_jupyter_lab&&ue.createElement("img",{className:_t.sign,src:_e}),mr.is_unity_3d&&ue.createElement("img",{className:_t.sign,src:At})),ue.createElement("div",{className:_t.name},ue.createElement(en.Z,{title:Kr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ue.createElement("span",{className:_t.e},Kr||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ue.createElement("div",{className:_t.tags},ue.createElement(en.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ue.createElement("span",null,mr.challenges_count))),!!mr.myshixuns_count&&ue.createElement(en.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ue.createElement("span",null,ue.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ue.createElement("span",null,mr.myshixuns_count))),ue.createElement(en.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ue.createElement("span",null,ue.createElement("span",null,mr.level))),ue.createElement("div",{className:_t.rate},ue.createElement($n.Z,{allowHalf:!0,disabled:!0,defaultValue:mr.score_info}),ue.createElement("span",null,"\xA0",mr.score_info?`${mr.score_info}\u5206`:"5\u5206")))),!Ir&&ue.createElement("div",{className:_t.lockWrap},ue.createElement("img",{src:`${Ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ue.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!Ot.length&&ue.createElement(AA.Z,null)))},ln=Fe(5476),pn={flex_box_center:"flex_box_center___vu9yi",flex_space_between:"flex_space_between___LwoH7",flex_box_vertical_center:"flex_box_vertical_center___pUG0J",flex_box_center_end:"flex_box_center_end___xWI9t",flex_box_column:"flex_box_column___Mr5rB",list:"list___zE1wj",wrap:"wrap___5HG1h",lockWrap:"lockWrap___zziwX",li:"li___aNI2z",img:"img___adfIp",cover:"cover___G1cj9",bq:"bq___hpdTt",sign:"sign___kHAha",titleBg:"titleBg___S1VlI",name:"name___zsjxM",e:"e___fd1jW",text:"text___b9Tdy",value:"value___ZASRv",unit:"unit___sMNBQ",tags:"tags___KbL1d",tag1:"tag1___c9ebE",tag2:"tag2___bxczv"},Cn=Fe(79005),In=Fe(20345),rA=Fe(77882),qn=Fe(31081),hA=Fe(75309),Qt=Fe(71979),vn=Fe(47558),cn=Fe(60345),Ln=Fe(66832),ct=Fe(96593),It=Fe(19664),rn=Fe(91833),Yn=Object.defineProperty,Jn=Object.getOwnPropertySymbols,wA=Object.prototype.hasOwnProperty,pA=Object.prototype.propertyIsEnumerable,uA=(Xt,Ot,$t)=>Ot in Xt?Yn(Xt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Xt[Ot]=$t,Xn=(Xt,Ot)=>{for(var $t in Ot||(Ot={}))wA.call(Ot,$t)&&uA(Xt,$t,Ot[$t]);if(Jn)for(var $t of Jn(Ot))pA.call(Ot,$t)&&uA(Xt,$t,Ot[$t]);return Xt};const Mn=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Cn,swimg:In},{name:"101\u8BA1\u5212",ptimg:rA,swimg:qn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:hA,swimg:Qt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:vn,swimg:cn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Ln,swimg:ct},{name:"\u519B\u961F\u4E00\u6D41",ptimg:It,swimg:rn}];var dA=({className:Xt,dataSource:Ot=[],col:$t=4,right:En,bottom:BA=23,precision:IA=0,wrapWidth:Rt=1200,trackEventItems:YA,loading:WA,wrapClassName:xA,imgClassName:xr,isArrow:jn=!1,imgStyle:mr={}})=>{const Qr=Math.floor((Rt-($t-1)*En)/$t),[Kr,nr]=(0,ue.useState)(),[er,Ir]=(0,ue.useState)(),Zr=Eo=>nr(Eo),NA=()=>nr(-1);return ue.createElement(Wt.Z,{spinning:WA},ue.createElement("div",{className:De()(pn.list,Xt)},!!(Ot!=null&&Ot.length)&&(Ot==null?void 0:Ot.map((Eo,Di)=>{var Gs;const{name:ji,id:Ao,identifier:Ks,featured:hi,school_name:$r,image_url:Vo,excellent:Qa,is_plan:is}=Eo;return ue.createElement("div",{key:Ao,className:De()(pn.wrap,xA),style:{width:Qr,marginRight:(1+Di)%$t===0?0:En+IA,marginBottom:BA}},ue.createElement("a",{target:"_blank",href:`/paths/${Ks}`,className:pn.li,onClick:fo=>{fo.preventDefault(),YA&&(0,Et.L9)([YA]),(0,Et.xg)(`/paths/${Ks}`)}},ue.createElement("img",{src:Fe(39057),className:pn.titleBg}),ue.createElement("div",{className:pn.name},ue.createElement(en.Z,{title:ji},ue.createElement("span",{className:pn.e,style:{color:jn&&Kr===Di?"#145DFF":"#000000"},onMouseEnter:()=>{Zr(Di)},onMouseLeave:NA},ji))),ue.createElement("div",{style:{padding:"14px",paddingBottom:0}},ue.createElement("div",{className:De()(pn.img,xr)},ue.createElement("img",{className:pn.cover,style:Xn({},mr),src:`${Ft.Z.IMG_SERVER+Vo}`}),(Gs=Eo==null?void 0:Eo.subject_tags)==null?void 0:Gs.map((fo,Do)=>{var ea,Cl;if(Do===0){const ss=(ea=Mn.find(jo=>jo.name==fo))==null?void 0:ea.swimg;return ue.createElement("img",{className:pn.sign,src:ss,style:{left:"-4px"}})}const bl=(Cl=Mn.find(ss=>ss.name==fo))==null?void 0:Cl.ptimg;return ue.createElement("img",{className:pn.sign,src:bl,style:{left:`${48+52*(Do-1)+2*Do}px`}})}),ue.createElement("div",{style:{position:"absolute",right:"4px",bottom:"4px"}},(Eo==null?void 0:Eo.excellent)&&ue.createElement("div",{className:pn.bq},"\u5F00\u653E\u8BFE\u7A0B"))),ue.createElement("div",{className:"mt10 mb10 flex item-center justify-between"},ue.createElement("div",null,ue.createElement("span",{className:pn.text},"\u7AE0\u8282\u6570"),ue.createElement("span",{className:pn.value},Eo.stages_count)),ue.createElement("div",null,ue.createElement("span",{className:pn.text},"\u5B66\u4E60\u4EBA\u6570"),ue.createElement("span",{className:pn.value},Eo.members_count))))))})),!Ot.length&&ue.createElement(AA.Z,null)))},lA={flex_box_center:"flex_box_center___o6B0Z",flex_space_between:"flex_space_between___Uz22Q",flex_box_vertical_center:"flex_box_vertical_center___nWLOj",flex_box_center_end:"flex_box_center_end___eqMdD",flex_box_column:"flex_box_column___ypdJv",list:"list___qA19p",wrap:"wrap___YaRtD",lockWrap:"lockWrap___Cle7R",li:"li___Hpfsl",img:"img___li1Ky",cover:"cover___iuyl5",bq:"bq___BpHtR",sign:"sign___ajRAC",titleBg:"titleBg___h8Qq7",name:"name___mAV5m",e:"e___YPSD7",text:"text___nDpTk",value:"value___guywy",unit:"unit___aTzYz",tags:"tags___X1lul",tag1:"tag1___AHRAc",tag2:"tag2___Pska6"},rr=Fe(52262),kA=Fe(67294);const cr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:Cn,swimg:In},{name:"101\u8BA1\u5212",ptimg:rA,swimg:qn},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:hA,swimg:Qt},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:vn,swimg:cn},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:Ln,swimg:ct},{name:"\u519B\u961F\u4E00\u6D41",ptimg:It,swimg:rn}];var SA=({className:Xt,dataSource:Ot=[],col:$t=4,right:En,bottom:BA=23,precision:IA=0,wrapWidth:Rt=1200,trackEventItems:YA,loading:WA,onRemove:xA=()=>{},isCurrent:xr=!0,showAlias:jn=!1,wrapClassName:mr,imgClassName:Qr})=>{const Kr=Math.floor((Rt-($t-1)*En)/$t),nr=[{name:"\u63A8\u8350\u81EA\u5B66",ptimg:"/images/tjzx.png",swimg:"/images/sw_tjzx.png"},{name:"101\u8BA1\u5212",ptimg:"/images/jh.png",swimg:"/images/sw_jh.png"},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:"/images/gjyl.png",swimg:"/images/sw_gjyl.png"},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:"/images/sjyl.png",swimg:"/images/sw_sjyl.png"},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:"/images/jpkc.png",swimg:"/images/sw_jpkc.png"},{name:"\u519B\u961F\u4E00\u6D41",ptimg:"/images/jdyl.png",swimg:"/images/sw_jdyl.png"},{name:"\u65B0\u578B\u6559\u6750",ptimg:"/images/xxjc.png",swimg:"/images/sw_xxjc.png"}].map(er=>(window.ENV==="build"&&(er.ptimg=`/react/build${er.ptimg}`,er.swimg=`/react/build${er.swimg}`),er));return kA.createElement(Wt.Z,{spinning:WA},kA.createElement("div",{className:De()(lA.list,Xt)},!!(Ot!=null&&Ot.length)&&(Ot==null?void 0:Ot.map((er,Ir)=>{var Zr;const{name:NA,id:Eo,identifier:Di,featured:Gs,school_name:ji,image_url:Ao,excellent:Ks,is_plan:hi}=er;return kA.createElement("div",{key:Eo,className:De()(lA.wrap,mr),style:{width:Kr,marginRight:(1+Ir)%$t===0?0:En+IA,marginBottom:BA}},kA.createElement("a",{className:lA.li,onClick:$r=>{$r.preventDefault(),$r.stopPropagation(),YA&&(0,Et.L9)([YA]),(0,Et.xg)(`/paths/${Di}`)}},kA.createElement("div",{className:De()(lA.img,Qr)},kA.createElement("img",{className:lA.cover,src:`${Ft.Z.IMG_SERVER+Ao}`}),xr&&(0,rr.bg)()&&(er==null?void 0:er.studying)&&kA.createElement("div",{className:`${lA.movebq} user-path-items`,onClick:$r=>{$r.stopPropagation(),xA(er)}},kA.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),kA.createElement("span",{className:"c-red"},"\u79FB\u9664")),(Zr=er==null?void 0:er.subject_tags)==null?void 0:Zr.map(($r,Vo)=>{var Qa,is;if(Vo===0){const Do=(Qa=nr.find(ea=>ea.name==$r))==null?void 0:Qa.swimg;return kA.createElement("img",{className:lA.sign,src:Do,style:{left:"-4px"}})}const fo=(is=nr.find(Do=>Do.name==$r))==null?void 0:is.ptimg;return kA.createElement("img",{className:lA.sign,src:fo,style:{left:`${48+52*(Vo-1)+2*Vo}px`}})}),kA.createElement("div",{style:{position:"absolute",bottom:"10px",right:"10px"}},(er==null?void 0:er.excellent)&&kA.createElement("div",{className:lA.bq},"\u5F00\u653E\u8BFE\u7A0B"))),kA.createElement("div",{className:lA.name},kA.createElement(en.Z,{title:jn&&(er!=null&&er.excellent_alias_name)?kA.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${NA}`,kA.createElement("br",null),kA.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${er==null?void 0:er.excellent_alias_name}`)):NA},kA.createElement("span",{className:lA.e},jn&&(er==null?void 0:er.excellent_alias_name)||NA))),kA.createElement("div",{className:lA.tags},kA.createElement("div",null,kA.createElement(en.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},kA.createElement("span",null,kA.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),kA.createElement("span",null,er.stages_count))),kA.createElement(en.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},kA.createElement("span",null,kA.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),kA.createElement("span",null,er.members_count)))))))})),!Ot.length&&kA.createElement(AA.Z,null)))},sr={flex_box_center:"flex_box_center___eMcr7",flex_space_between:"flex_space_between___HcNca",flex_box_vertical_center:"flex_box_vertical_center___ZnvVN",flex_box_center_end:"flex_box_center_end___fdgDf",flex_box_column:"flex_box_column___SEKvd",list:"list___L1hmU",wrap:"wrap___pKgcW",lockWrap:"lockWrap___SMhkK",top:"top___udHSB",sign:"sign___uwRpq",name:"name___Fpf90",img:"img___AMLhL",text:"text___KiTb7",btns:"btns___i6IuZ",bottom:"bottom____k2sh"},Dr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9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ackEventItems:YA,loading:WA})=>{const xA=(0,ve.useIntl)(),xr=Math.floor((Rt-($t-1)*En)/$t);return PA.createElement(Wt.Z,{spinning:WA},PA.createElement("div",{className:De()(sr.list,Xt)},!!Ot.length&&Ot.map((jn,mr)=>{const{subject_identifier:Qr,id:Kr,identifier:nr,power:er}=jn,Ir=jn.is_public!=0&&jn.is_public;return PA.createElement("div",{className:sr.wrap,key:Kr,style:{width:xr,marginRight:(1+mr)%$t===0?0:En+IA,marginBottom:BA}},PA.createElement("a",{className:sr.li,onClick:Zr=>{Zr.preventDefault(),YA&&(0,Et.L9)([YA]),(0,Et.xg)(jn.first_category_url)}},PA.createElement("div",{className:sr.top},PA.createElement(en.Z,{title:jn.name},PA.createElement("div",{className:sr.name},jn.name)),PA.createElement("img",{className:sr.img,src:Ft.Z.IMG_SERVER+"/images/"+jn.avatar_url}),PA.createElement("div",{className:sr.text,title:jn.creator},jn.creator),Qr&&PA.createElement("div",{className:sr.btns},PA.createElement("div",null,xA.formatMessage({id:"paths.openCourse1",defaultMessage:"\u5F00\u653E\u8BFE\u7A0B"})),PA.createElement("aside",null,xA.formatMessage({id:"classrooms.openClass",defaultMessage:"\u5F00\u653E\u8BFE\u5802"}))),Ir&&PA.createElement("div",{className:sr.sign},xA.formatMessage({id:"classrooms.public",defaultMessage:"\u516C\u5F00"}))),PA.createElement("div",{className:sr.bottom},jn.visits>0&&PA.createElement(en.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},PA.createElement("span",null,PA.createElement("i",{className:"iconfont icon-liulanyan"}),PA.createElement("span",null,jn.visits))),jn.course_members_count>0&&PA.createElement(en.Z,{title:xA.formatMessage({id:"classrooms.member",defaultMessage:"\u6210\u5458"}),placement:"bottom"},PA.createElement("span",null,PA.createElement("i",{className:"iconfont icon-chengyuan"}),jn.course_members_count)),jn.tasks_count>0&&PA.createElement(en.Z,{title:xA.formatMessage({id:"paths.homework",defaultMessage:"\u4F5C\u4E1A"}),placement:"bottom"},PA.createElement("span",null,PA.createElement("i",{className:"iconfont icon-zuoye"}),jn.tasks_count)),jn.is_end?PA.createElement("div",{style:{color:"#6B758B"}},xA.formatMessage({id:"classrooms.ended",defaultMessage:"\u5DF2\u7ED3\u675F"})):PA.createElement("div",{style:{color:"#00B187"}},xA.formatMessage({id:"classrooms.inProgress",defaultMessage:"\u8FDB\u884C\u4E2D"})))),!jn.is_accessible&&PA.createElement("div",{className:sr.lockWrap},PA.createElement("img",{src:`${Ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),PA.createElement("span",{className:"mt15 font16 c-white"},xA.formatMessage({id:"classrooms.nonClassMembersNotAllowed",defaultMessage:"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165"}))))}),!Ot.length&&PA.createElement(AA.Z,null)))},ZA={flex_box_center:"flex_box_center___PuarE",flex_space_between:"flex_space_between___q4lAa",flex_box_vertical_center:"flex_box_vertical_center___wsb8w",flex_box_center_end:"flex_box_center_end___H781P",flex_box_column:"flex_box_column___bHK1y",list:"list___e2XDo",wrap:"wrap___cz7sh",lockWrap:"lockWrap___EPuRr",creator:"creator___Y6Xjp",img:"img___kSEud",text:"text___GIlhY",top:"top___K4GCD",sign:"sign___KCjEP",name:"name___z3U4d",middle:"middle___LeUM5",row:"row___VBzfJ",value:"value___qigWu",btns:"btns___kGysm",bottom:"bottom___yPYd5",warpStyle:"warpStyle___pH3uC"},Ba="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fM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Rt=1200,wrapClassName:YA,trackEventItems:WA,loading:xA})=>{const xr=Math.floor((Rt-($t-1)*En)/$t);return ue.createElement(Wt.Z,{spinning:xA},ue.createElement("div",{className:De()(ZA.list,Xt)},!!Ot.length&&Ot.map((jn,mr)=>{const{subject_identifier:Qr,id:Kr,identifier:nr,power:er}=jn,Ir=jn.is_public!=0&&jn.is_public;return ue.createElement("div",{className:De()(`${ZA.wrap} ${jn.is_accessible?"":ZA.warpStyle}`,YA),key:Kr,style:{width:xr,marginRight:(1+mr)%$t===0?0:En+IA,marginBottom:BA}},ue.createElement("a",{className:ZA.li,onClick:Zr=>{Zr.preventDefault(),WA&&(0,Et.L9)([WA]),(0,Et.xg)(jn.first_category_url)}},ue.createElement("div",{className:ZA.creator},ue.createElement("img",{className:ZA.img,src:Ft.Z.IMG_SERVER+"/images/"+jn.avatar_url}),ue.createElement("div",{className:ZA.text,title:jn.creator},jn.creator)),ue.createElement("div",{className:ZA.top},ue.createElement(en.Z,{title:jn.name},ue.createElement("div",{className:ZA.name},jn.name)),Ir&&ue.createElement("div",{className:ZA.sign},"\u516C\u5F00")),ue.createElement("div",{className:ZA.middle},ue.createElement("div",{className:ZA.row,style:{marginBottom:6}},ue.createElement("div",null,ue.createElement("span",{className:ZA.text},"\u8BBF\u95EE\u91CF"),ue.createElement("span",{className:ZA.value},(jn==null?void 0:jn.visits)||0)),ue.createElement("div",null,ue.createElement("span",{className:ZA.text},"\u6210\u5458"),ue.createElement("span",{className:ZA.value},(jn==null?void 0:jn.course_members_count)||0))),ue.createElement("div",{className:ZA.row},ue.createElement("div",null,ue.createElement("span",{className:ZA.text,style:{width:42}},"\u4F5C",ue.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ue.createElement("span",{className:ZA.value},(jn==null?void 0:jn.tasks_count)||0)),ue.createElement("div",null,ue.createElement("span",{className:ZA.text},"\u72B6\u6001"),jn.is_end?ue.createElement("span",{className:ZA.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ue.createElement("span",{className:ZA.value,style:{color:"#1AAE64"}},"\u8FDB\u884C\u4E2D")))),Qr&&ue.createElement("div",{className:ZA.btns},ue.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ue.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!jn.is_accessible&&ue.createElement("div",{className:ZA.lockWrap},ue.createElement("img",{src:`${Ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ue.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ot.length&&ue.createElement(AA.Z,null)))},yt={flex_box_center:"flex_box_center___eJQtn",flex_space_between:"flex_space_between___lzV1x",flex_box_vertical_center:"flex_box_vertical_center___IYfoZ",flex_box_center_end:"flex_box_center_end___lcJOu",flex_box_column:"flex_box_column____ShCG",list:"list___YXSRr",wrap:"wrap___ZGdF6",lockWrap:"lockWrap___VKZgR",creator:"creator___tLnuI",img:"img___P8alm",text:"text___ijpmj",top:"top___md6mc",sign:"sign___ydolt",name:"name___OEush",middle:"middle___WFQ2R",row:"row___MFUrm",value:"value___rEYMy",btns:"btns___Y5S2B",bottom:"bottom___RsfJC",warpStyle:"warpStyle___R8xtx"},Nt="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6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hCi3slwLj4TXgEiyivwOxKJ6OOdrkxXAEun4nVij+VQS+sRRp1O6rXwnOy1pOi9yZj7P93Mp2uApfNMvvIRAn/nIsjdQDH3rIDLoI+lE+6/dtuiFYBDlHz3RXbdHSTClknRB7qlXDMKawCbPbnK9F8XBa9OQRYrFb+nmz23vmerABvpulwt339RhWoPZFGFIk7k9k6l5cV6sw6w0ZOrqHzvojGkRZCJdjhwP9iJntush54ALJ2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",aA=({className:Xt,dataSource:Ot=[],col:$t=4,right:En,bottom:BA=23,precision:IA=0,wrapWidth:Rt=1200,wrapClassName:YA,trackEventItems:WA,loading:xA})=>{const xr=Math.floor((Rt-($t-1)*En)/$t);return ue.createElement(Wt.Z,{spinning:xA},ue.createElement("div",{className:De()(yt.list,Xt)},!!Ot.length&&Ot.map((jn,mr)=>{const{subject_identifier:Qr,id:Kr,identifier:nr,power:er}=jn,Ir=jn.is_public!=0&&jn.is_public;return ue.createElement("div",{className:De()(`${yt.wrap} ${jn.is_accessible?"":yt.warpStyle}`,YA),key:Kr,style:{width:xr,marginRight:(1+mr)%$t===0?0:En+IA,marginBottom:BA}},ue.createElement("a",{className:yt.li,onClick:Zr=>{Zr.preventDefault(),WA&&(0,Et.L9)([WA]),(0,Et.xg)(jn.first_category_url)}},ue.createElement("div",{className:yt.creator},ue.createElement("img",{className:yt.img,src:Ft.Z.IMG_SERVER+"/images/"+jn.avatar_url}),ue.createElement("div",{className:yt.text,title:jn.creator},jn.creator)),ue.createElement("div",{className:yt.top},ue.createElement(en.Z,{title:jn.name},ue.createElement("div",{className:yt.name},jn.name)),Ir&&ue.createElement("div",{className:yt.sign})),ue.createElement("div",{className:yt.middle},ue.createElement("div",{className:yt.row,style:{marginBottom:6}},ue.createElement("div",null,ue.createElement("span",{className:yt.text},"\u8BBF\u95EE\u91CF"),ue.createElement("span",{className:yt.value},(jn==null?void 0:jn.visits)||0)),ue.createElement("div",null,ue.createElement("span",{className:yt.text},"\u6210\u5458"),ue.createElement("span",{className:yt.value},(jn==null?void 0:jn.course_members_count)||0))),ue.createElement("div",{className:yt.row},ue.createElement("div",null,ue.createElement("span",{className:yt.text,style:{width:42}},"\u4F5C",ue.createElement("span",{style:{marginLeft:14}},"\u4E1A")),ue.createElement("span",{className:yt.value},(jn==null?void 0:jn.tasks_count)||0)),ue.createElement("div",null,ue.createElement("span",{className:yt.text},"\u72B6\u6001"),jn.is_end?ue.createElement("span",{className:yt.value,style:{color:"#6E8BAA"}},"\u5DF2\u7ED3\u675F"):ue.createElement("span",{className:yt.value,style:{color:"#00DDC7"}},"\u8FDB\u884C\u4E2D")))),Qr&&ue.createElement("div",{className:yt.btns},ue.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),ue.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802"))),!jn.is_accessible&&ue.createElement("div",{className:yt.lockWrap},ue.createElement("img",{src:`${Ft.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ue.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!Ot.length&&ue.createElement(AA.Z,null)))},_n={flex_box_center:"flex_box_center___d27mZ",flex_space_between:"flex_space_between___qfRU9",flex_box_vertical_center:"flex_box_vertical_center___fCRld",flex_box_center_end:"flex_box_center_end___ORMV8",flex_box_column:"flex_box_column___PNKtZ",tabs:"tabs___alpa7",tabsWrap:"tabsWrap___aCQjw",tab:"tab___MKLr4",active:"active___nl_4v"},qA=({dataSource:Xt=[],value:Ot,onChange:$t,className:En,style:BA={},tabBarExtraContent:IA})=>ue.createElement("div",{className:De()(_n.tabs,En),style:BA},ue.createElement("div",{className:_n.tabsWrap},Xt.map((Rt,YA)=>ue.createElement("aside",{className:_n.tab,onClick:()=>{$t(Rt.id),Rt.link&&ve.history.push(Rt.link)},key:YA},ue.createElement("div",{className:Ot===Rt.id?_n.active:""},Rt.name),(Rt==null?void 0:Rt.resetCount)==null&&(Rt==null?void 0:Rt.total)!==void 0&&ue.createElement("span",null,"\uFF08",Rt==null?void 0:Rt.total,"\uFF09"),(Rt==null?void 0:Rt.resetCount)!==void 0&&(Rt==null?void 0:Rt.total)!==void 0&&ue.createElement(en.Z,{title:(Rt==null?void 0:Rt.tip)!=null?Rt==null?void 0:Rt.tip:""},ue.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ue.createElement("span",{style:{color:"#000"}},Rt==null?void 0:Rt.resetCount),"/",ue.createElement("span",null,Rt==null?void 0:Rt.total),"\uFF09"))))),ue.createElement("div",{className:_n.tabBar},IA)),Vt={flex_box_center:"flex_box_center___itkVp",flex_space_between:"flex_space_between___F4yZx",flex_box_vertical_center:"flex_box_vertical_center___ko4cu",flex_box_center_end:"flex_box_center_end___cCBYR",flex_box_column:"flex_box_column___Mpq6K",tabs:"tabs___qRAhL",tabsWrap:"tabsWrap___CGRvS",tab:"tab___eYne_",active:"active___swSx6"},Pr=({dataSource:Xt=[],value:Ot,onChange:$t,className:En,style:BA={},tabBarExtraContent:IA})=>ue.createElement("div",{className:De()(Vt.tabs,En),style:BA},ue.createElement("div",{className:Vt.tabsWrap},Xt.map((Rt,YA)=>ue.createElement("aside",{className:Vt.tab,onClick:()=>{$t(Rt.id),Rt.link&&ve.history.push(Rt.link)},key:YA},ue.createElement("div",{className:Ot===Rt.id?Vt.active:""},Rt.name),(Rt==null?void 0:Rt.resetCount)==null&&(Rt==null?void 0:Rt.total)!==void 0&&ue.createElement("span",null,"\uFF08",Rt==null?void 0:Rt.total,"\uFF09"),(Rt==null?void 0:Rt.resetCount)!==void 0&&(Rt==null?void 0:Rt.total)!==void 0&&ue.createElement(en.Z,{title:(Rt==null?void 0:Rt.tip)!=null?Rt==null?void 0:Rt.tip:""},ue.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ue.createElement("span",{style:{color:"#000"}},Rt==null?void 0:Rt.resetCount),"/",ue.createElement("span",null,Rt==null?void 0:Rt.total),"\uFF09"))))),ue.createElement("div",{className:Vt.tabBar},IA)),dr={flex_box_center:"flex_box_center___uWCU1",flex_space_between:"flex_space_between___pKZJo",flex_box_vertical_center:"flex_box_vertical_center___NKr7Z",flex_box_center_end:"flex_box_center_end___ycaEu",flex_box_column:"flex_box_column___dDKjA",tabs:"tabs___cNVh5",tabsWrap:"tabsWrap___IJpOg",tab:"tab___fitSZ",active:"active___LBYdH"},_A=({dataSource:Xt=[],value:Ot,onChange:$t,className:En,style:BA={},tabBarExtraContent:IA})=>ue.createElement("div",{className:De()(dr.tabs,En),style:BA},ue.createElement("div",{className:dr.tabsWrap},Xt.map((Rt,YA)=>ue.createElement("aside",{className:`${dr.tab} ${Ot===Rt.id?dr.active:""}`,onClick:()=>{$t(Rt.id),Rt.link&&ve.history.push(Rt.link)},key:YA},ue.createElement("div",null,Rt.name),(Rt==null?void 0:Rt.resetCount)==null&&(Rt==null?void 0:Rt.total)!==void 0&&ue.createElement("span",null,"\uFF08",Rt==null?void 0:Rt.total,"\uFF09"),(Rt==null?void 0:Rt.resetCount)!==void 0&&(Rt==null?void 0:Rt.total)!==void 0&&ue.createElement(en.Z,{title:(Rt==null?void 0:Rt.tip)!=null?Rt==null?void 0:Rt.tip:""},ue.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ue.createElement("span",{style:{color:"#000"}},Rt==null?void 0:Rt.resetCount),"/",ue.createElement("span",null,Rt==null?void 0:Rt.total),"\uFF09"))))),ue.createElement("div",{className:dr.tabBar},IA)),Oa=({className:Xt,style:Ot={},children:$t})=>ue.createElement("div",{className:De()(Xt),style:Ot},$t),Rr={flex_box_center:"flex_box_center___e6HxQ",flex_space_between:"flex_space_between___RnXYe",flex_box_vertical_center:"flex_box_vertical_center___lVxPk",flex_box_center_end:"flex_box_center_end___bu8yv",flex_box_column:"flex_box_column___JczGj",orderWrap:"orderWrap___ZfyGX",orderIconWrap:"orderIconWrap___XTB_O",orderAsc:"orderAsc___KWHmA",orderDesc:"orderDesc___rHdbB",active:"active___a7eSP",cursorPointer:"cursorPointer___gs9kL",orderTextWrap:"orderTextWrap___teAKn"},Jr=Fe(85418),zA=Fe(68508),Hr=({sortValue:Xt,dropValue:Ot,className:$t,onSort:En,onDrop:BA,dataSource:IA})=>{var Rt;const YA=(0,ve.useIntl)(),[WA,xA]=(0,ue.useState)([]),xr=[{id:"updated_at",name:YA.formatMessage({id:"personalHomepageclassrooms.latestUpdates",defaultMessage:"\u6700\u65B0\u52A8\u6001"})},{id:"created_at",name:YA.formatMessage({id:"common.newestCreated",defaultMessage:"\u6700\u65B0\u521B\u5EFA"})},{id:"name",name:YA.formatMessage({id:"common.sortByName",defaultMessage:"\u540D\u79F0\u6392\u5E8F"})}];return(0,ue.useEffect)(()=>{(IA==null?void 0:IA.length)>0?xA(IA):xA(xr)},[IA]),ue.createElement("div",{className:De()(Rr.orderWrap,$t)},ue.createElement(Jr.Z,{dropdownRender:()=>ue.createElement(zA.default,null,WA.map((jn,mr)=>ue.createElement(zA.default.Item,{key:mr,onClick:()=>BA(jn.id)},jn.name)))},ue.createElement("span",{className:Rr.orderTextWrap},(Rt=WA.find(jn=>Ot===jn.id))==null?void 0:Rt.name)),ue.createElement("span",{className:Rr.orderIconWrap},ue.createElement("span",{className:Rr.orderAsc},ue.createElement("i",{className:Xt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Rr.cursorPointer} ${Rr.active}`:`iconfont icon-sanjiaoxing-up font12 ${Rr.cursorPointer}`,onClick:()=>En(Xt==="asc"?"desc":"asc")})),ue.createElement("span",{className:Rr.orderDesc},ue.createElement("i",{className:Xt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Rr.cursorPointer} ${Rr.active}`:`iconfont icon-sanjiaoxing-down font12 ${Rr.cursorPointer}`,onClick:()=>En(Xt==="asc"?"desc":"asc")}))))},Ca={flex_box_center:"flex_box_center___JJ9sS",flex_space_between:"flex_space_between___t8Vfh",flex_box_vertical_center:"flex_box_vertical_center___NXwpW",flex_box_center_end:"flex_box_center_end___d7nF9",flex_box_column:"flex_box_column___RWkXa",orderWrap:"orderWrap___Z6UhI",orderIconWrap:"orderIconWrap___vT5et",orderAsc:"orderAsc___Xrpfj",orderDesc:"orderDesc___FgOA0",active:"active___ryj8i",cursorPointer:"cursorPointer___Gg3bB",orderTextWrap:"orderTextWrap___BAYWJ"};const Ko=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var $a=({sortValue:Xt,dropValue:Ot,className:$t,onSort:En,onDrop:BA,dataSource:IA=Ko})=>{var Rt;return ue.createElement("div",{className:De()(Ca.orderWrap,$t)},ue.createElement(Jr.Z,{dropdownRender:()=>ue.createElement(zA.default,null,IA.map((YA,WA)=>ue.createElement(zA.default.Item,{key:WA,onClick:()=>BA(YA.id)},YA.name)))},ue.createElement("span",{className:Ca.orderTextWrap},(Rt=IA.find(YA=>Ot===YA.id))==null?void 0:Rt.name)),ue.createElement("span",{className:Ca.orderIconWrap},ue.createElement("span",{className:Ca.orderAsc},ue.createElement("i",{className:Xt==="asc"?`iconfont icon-sanjiaoxing-up font12 ${Ca.cursorPointer} ${Ca.active}`:`iconfont icon-sanjiaoxing-up font12 ${Ca.cursorPointer}`,onClick:()=>En(Xt==="asc"?"desc":"asc")})),ue.createElement("span",{className:Ca.orderDesc},ue.createElement("i",{className:Xt==="desc"?`iconfont icon-sanjiaoxing-down font12 ${Ca.cursorPointer} ${Ca.active}`:`iconfont icon-sanjiaoxing-down font12 ${Ca.cursorPointer}`,onClick:()=>En(Xt==="asc"?"desc":"asc")}))))},zo={flex_box_center:"flex_box_center___LCi0B",flex_space_between:"flex_space_between___hzONe",flex_box_vertical_center:"flex_box_vertical_center___ZyQRE",flex_box_center_end:"flex_box_center_end___XKM74",flex_box_column:"flex_box_column___p8LCU",btn:"btn___In02G","mediacy-round":"mediacy-round___uveEv","mediacy-default":"mediacy-default___dDxsd",default:"default___K791v",ThemeOne:"ThemeOne___iCQio"},Dn=Fe(71577),so=Fe(52810),ci=Object.defineProperty,lo=Object.getOwnPropertySymbols,ia=Object.prototype.hasOwnProperty,Fa=Object.prototype.propertyIsEnumerable,Vn=(Xt,Ot,$t)=>Ot in Xt?ci(Xt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Xt[Ot]=$t,FA=(Xt,Ot)=>{for(var $t in Ot||(Ot={}))ia.call(Ot,$t)&&Vn(Xt,$t,Ot[$t]);if(lo)for(var $t of lo(Ot))Fa.call(Ot,$t)&&Vn(Xt,$t,Ot[$t]);return Xt},tr=(Xt,Ot)=>{var $t={};for(var En in Xt)ia.call(Xt,En)&&Ot.indexOf(En)<0&&($t[En]=Xt[En]);if(Xt!=null&&lo)for(var En of lo(Xt))Ot.indexOf(En)<0&&Fa.call(Xt,En)&&($t[En]=Xt[En]);return $t},$A=(Xt,Ot,$t)=>new Promise((En,BA)=>{var IA=WA=>{try{YA($t.next(WA))}catch(xA){BA(xA)}},Rt=WA=>{try{YA($t.throw(WA))}catch(xA){BA(xA)}},YA=WA=>WA.done?En(WA.value):Promise.resolve(WA.value).then(IA,Rt);YA(($t=$t.apply(Xt,Ot)).next())}),La=Xt=>{var Ot=Xt,{className:$t,style:En,children:BA,loading:IA=!1,openLoading:Rt,onClick:YA=()=>{},size:WA="middle",shape:xA="round",theme:xr}=Ot,jn=tr(Ot,["className","style","children","loading","openLoading","onClick","size","shape","theme"]);const[mr,Qr]=(0,ue.useState)(!1),Kr=(0,ue.useMemo)(()=>{switch(xr){case so.Fy.THEMEONE:return zo.ThemeOne;case so.Fy.DEFAULT:default:return zo.btn}},[xr]);return ue.createElement(Dn.ZP,FA({onClick:(0,Ze.throttle)(nr=>$A(void 0,null,function*(){Rt&&Qr(!0);try{yield YA(nr)}catch(er){console.log("error",er)}Rt&&Qr(!1)}),2e3,{leading:!0,trailing:!1}),className:De()(Kr,zo[`${WA}-${xA}`],$t),style:En,size:WA,shape:xA,loading:mr||IA},jn),BA)},za={flex_box_center:"flex_box_center___TB7bQ",flex_space_between:"flex_space_between___oBlTb",flex_box_vertical_center:"flex_box_vertical_center___b5XbB",flex_box_center_end:"flex_box_center_end___CNhe7",flex_box_column:"flex_box_column___yHXKW",head:"head___ghH72",node:"node___mjPEy"},Qo=({className:Xt,style:Ot,children:$t=null,onClick:En,title:BA})=>{const IA=(0,ve.useIntl)();return ue.createElement("div",{className:De()(za.head,Xt),style:Ot},ue.createElement("span",{className:"primary-hover",onClick:En},ue.createElement("i",{className:"iconfont icon-fanhui2 font12"}),IA.formatMessage({id:"classroomGraphicGroupHomework.return",defaultMessage:"\u8FD4\u56DE"})),ue.createElement("b",{title:BA},BA),ue.createElement("div",{className:za.node},$t))},Wa={flex_box_center:"flex_box_center___AlHuF",flex_space_between:"flex_space_between___vN2LW",flex_box_vertical_center:"flex_box_vertical_center___Ac7D2",flex_box_center_end:"flex_box_center_end___y38I7",flex_box_column:"flex_box_column___iQE6P",btns:"btns___sNgTb",confirm:"confirm___Ozirl",cancel:"cancel___aiq1I"},Ts=({confirmShow:Xt=!0,confirmTitle:Ot,confirmClick:$t,cancelShow:En=!0,cancelTitle:BA,cancelClick:IA,className:Rt,style:YA,confirmLoading:WA=!1})=>ue.createElement("div",{className:De()(Wa.btns,Rt),style:YA},Xt&&ue.createElement(Dn.ZP,{loading:WA,onClick:$t,type:"primary",className:Wa.confirm},Ot),En&&ue.createElement(Dn.ZP,{onClick:IA,className:Wa.cancel},BA)),bo={flex_box_center:"flex_box_center___jkpdr",flex_space_between:"flex_space_between___OtsL8",flex_box_vertical_center:"flex_box_vertical_center___rbcb_",flex_box_center_end:"flex_box_center_end___zBR21",flex_box_column:"flex_box_column___nS_eP",fixedBottom:"fixedBottom___oJl7m",wrap:"wrap___A3Oq1",center:"center____VL1y"},di=({className:Xt,style:Ot={},LeftContent:$t,children:En,RightContent:BA})=>ue.createElement("div",{className:De()(bo.fixedBottom,Xt),style:Ot},ue.createElement("div",{className:bo.wrap},ue.createElement("div",{className:bo.left},$t),ue.createElement("div",{className:bo.center},En),ue.createElement("div",{className:bo.right},BA))),fi={flex_box_center:"flex_box_center___tY8Yn",flex_space_between:"flex_space_between___vHdYA",flex_box_vertical_center:"flex_box_vertical_center___pa61F",flex_box_center_end:"flex_box_center_end___HyDXt",flex_box_column:"flex_box_column___UjZek",crumbs:"crumbs___V41Oe",hover:"hover___bEIVd"},eo=({className:Xt,style:Ot={},dataSource:$t=[]})=>ue.createElement("div",{className:De()(fi.crumbs,Xt),style:Ot},$t.map((En,BA)=>BA<$t.length-1?ue.createElement(ue.Fragment,{key:BA},En.path||En.onClick?ue.createElement("span",{className:fi.hover,onClick:En!=null&&En.onClick?En.onClick:()=>ve.history.push(En.path)},En.name):ue.createElement("span",null,En.name),ue.createElement("span",null,"\xA0",">","\xA0")):ue.createElement("span",{key:BA,style:{color:"#5F6368"}},En.name))),Io=Fe(55054),ar=Object.defineProperty,aa=Object.defineProperties,uo=Object.getOwnPropertyDescriptors,co=Object.getOwnPropertySymbols,ni=Object.prototype.hasOwnProperty,fr=Object.prototype.propertyIsEnumerable,Ga=(Xt,Ot,$t)=>Ot in Xt?ar(Xt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Xt[Ot]=$t,to=(Xt,Ot)=>{for(var $t in Ot||(Ot={}))ni.call(Ot,$t)&&Ga(Xt,$t,Ot[$t]);if(co)for(var $t of co(Ot))fr.call(Ot,$t)&&Ga(Xt,$t,Ot[$t]);return Xt},Wo=(Xt,Ot)=>aa(Xt,uo(Ot)),Fo=(Xt,Ot)=>{var $t={};for(var En in Xt)ni.call(Xt,En)&&Ot.indexOf(En)<0&&($t[En]=Xt[En]);if(Xt!=null&&co)for(var En of co(Xt))Ot.indexOf(En)<0&&fr.call(Xt,En)&&($t[En]=Xt[En]);return $t};const{Countdown:ks}=Io.default;var ql=Xt=>{var Ot=Xt,{onChange:$t}=Ot,En=Fo(Ot,["onChange"]);const[BA,IA]=(0,ue.useState)(null);(0,ue.useEffect)(()=>{typeof BA=="number"&&BA>=0&&$t(BA)},[BA]);const Rt=YA=>{const WA=Math.floor(YA/1e3);IA(WA)};return ue.createElement(ks,Wo(to({},En),{onChange:Rt}))},ha={ClassRoomItem:"ClassRoomItem___F4pL0",TitleDom:"TitleDom___DB76T"},xa=({DataProps:Xt,className:Ot,style:$t={}})=>{var En;const BA=(0,ve.useIntl)();return ue.createElement("div",{className:De()("rounded-40px bg-white py-10px pb-30px px-30px flex gap-22px current h-full",ha.ClassRoomItem,Ot),style:$t,onClick:()=>{(0,Et.xg)(Xt==null?void 0:Xt.first_category_url)}},ue.createElement("div",{className:"flex flex-col item-center"},ue.createElement("img",{src:`${(En=Ft.Z)==null?void 0:En.IMG_SERVER}/images/${Xt==null?void 0:Xt.avatar_url}`,className:"rounded-full",style:{height:76,width:76,marginTop:"-24px"}}),(Xt==null?void 0:Xt.subject_identifier)&&ue.createElement("div",{className:"mt-40px"},ue.createElement("div",{className:"rounded-full",style:{background:"rgba(33,202,159,0.1)",border:"1px solid #6BFF98",color:"#0EA17B"}},BA.formatMessage({id:"paths.openCourse1",defaultMessage:"\u5F00\u653E\u8BFE\u7A0B"})),ue.createElement("div",{className:"rounded-full",style:{background:"rgba(255,160,0,0.1)",border:"1px solid #FFC055",color:"#C97319"}},BA.formatMessage({id:"classrooms.openClass",defaultMessage:"\u5F00\u653E\u8BFE\u5802"})))),ue.createElement("div",{className:"flex-1 flex flex-col justify-between gap-10px"},ue.createElement("div",{className:"multi_ellipsis2",style:{height:48}},!!(Xt!=null&&Xt.is_public)&&ue.createElement("div",{className:"c-white rounded-4px mr-4px h-24px w-42px item-center justify-center",style:{background:"#21CA9F",border:"1px solid #6BFF98",display:"inline-flex"}},BA.formatMessage({id:"testPaperBank.public",defaultMessage:"\u516C\u5F00"})),ue.createElement("span",{className:De()("text-16px font-medium",ha.TitleDom)},Xt==null?void 0:Xt.name)),ue.createElement("div",{className:"c-grey-333 font-medium"},Xt==null?void 0:Xt.creator),ue.createElement("div",{className:"c-grey-333"},"\u6210\u5458\uFF1A",Xt==null?void 0:Xt.course_members_count),ue.createElement("div",{className:"c-grey-333 flex item-center justify-between"},ue.createElement("div",null,"\u4F5C\u4E1A\uFF1A",Xt==null?void 0:Xt.tasks_count),Xt!=null&&Xt.is_end?ue.createElement("div",{style:{color:"#5F6A95"}},BA.formatMessage({id:"classrooms.ended",defaultMessage:"\u5DF2\u7ED3\u675F"})):ue.createElement("div",{style:{color:"#37AD83"}},"\u8FDB\u884C\u4E2D"))))},Uo=Object.defineProperty,as=Object.getOwnPropertySymbols,vs=Object.prototype.hasOwnProperty,os=Object.prototype.propertyIsEnumerable,GA=(Xt,Ot,$t)=>Ot in Xt?Uo(Xt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Xt[Ot]=$t,cA=(Xt,Ot)=>{for(var $t in Ot||(Ot={}))vs.call(Ot,$t)&&GA(Xt,$t,Ot[$t]);if(as)for(var $t of as(Ot))os.call(Ot,$t)&&GA(Xt,$t,Ot[$t]);return Xt},HA=({DataProps:Xt=[],selectValue:Ot,onChange:$t,className:En,style:BA={},extra:IA,classNameItem:Rt,styleItem:YA={},barHidden:WA})=>{const[xA,xr]=(0,ue.useState)();return(0,ue.useEffect)(()=>{xr(Array.isArray(Ot)?Ot:[Ot])},[Ot]),ue.createElement("div",{className:De()("flex px-20px py-10px gap-40px",En),style:cA({borderBottom:"1px solid #D3F0FF"},BA)},Xt==null?void 0:Xt.map(jn=>ue.createElement("div",{key:jn==null?void 0:jn.id,className:De()("flex item-center justify-center current c-grey-333 text-16 relative",Rt,jn==null?void 0:jn.className),style:cA(cA({color:xA!=null&&xA.includes(jn==null?void 0:jn.id)?"#1890FF":"",minWidth:88},YA),(jn==null?void 0:jn.style)||{}),onClick:mr=>{$t==null||$t({domEvent:mr,item:jn}),jn!=null&&jn.link&&ve.history.push(jn==null?void 0:jn.link)}},jn==null?void 0:jn.name,!WA&&(xA==null?void 0:xA.includes(jn==null?void 0:jn.id))&&ue.createElement("div",{className:"absolute w-full h-2px",style:{background:"#1890FF",bottom:"-10px",left:0}}))),ue.createElement("div",{className:"ml-auto"},IA))},Tr=Object.defineProperty,kr=Object.defineProperties,Xr=Object.getOwnPropertyDescriptors,da=Object.getOwnPropertySymbols,Ma=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,Va=(Xt,Ot,$t)=>Ot in Xt?Tr(Xt,Ot,{enumerable:!0,configurable:!0,writable:!0,value:$t}):Xt[Ot]=$t,Sa=(Xt,Ot)=>{for(var $t in Ot||(Ot={}))Ma.call(Ot,$t)&&Va(Xt,$t,Ot[$t]);if(da)for(var $t of da(Ot))_r.call(Ot,$t)&&Va(Xt,$t,Ot[$t]);return Xt},No=(Xt,Ot)=>kr(Xt,Xr(Ot)),pa=({value:Xt,onChange:Ot,onInputChange:$t,className:En,style:BA={},InputProps:IA})=>{const[Rt,YA]=(0,ue.useState)(Xt);return ue.createElement("div",{className:De()("flex item-center rounded-full px-10px py-2px",En),style:Sa({background:"linear-gradient( #E4F6FF 0%, #EAF3FF 100%)",border:"1px solid #fff",boxShadow:"inset 0px 1px 3px 0px rgba(133,188,255,0.5)"},BA)},ue.createElement(St.default,No(Sa({bordered:!1},IA),{onChange:WA=>{YA(WA.target.value),$t==null||$t(encodeURIComponent(WA.target.value))},onPressEnter:WA=>{Ot==null||Ot({domEvent:WA,item:{value:Rt}})}})),ue.createElement("img",{className:"h-22px current",src:Fe(25365),height:22,onClick:WA=>{Ot==null||Ot({domEvent:WA,item:{value:Rt}})}}))}},99914:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return ft}});var ue=Fe(67294);function ft(qt,tn){const bt=(0,ue.useRef)();(0,ue.useEffect)(()=>{bt.current=qt}),(0,ue.useEffect)(()=>{function nn(){bt.current()}if(tn!==null){let vt=setInterval(nn,tn);return()=>clearInterval(vt)}},[tn])}},15210:function(kt,tA,Fe){"use strict";Fe.r(tA),Fe.d(tA,{default:function(){return AA}});var ue=Fe(67294),ft=Fe(2453),qt=Fe(14446),tn=Fe(57953),bt=Fe(55241),nn=Fe(78045),vt=Fe(93421),De={flex_box_center:"flex_box_center___Ja97S",flex_space_between:"flex_space_between___RJu4E",flex_box_vertical_center:"flex_box_vertical_center___jhPTF",flex_box_center_end:"flex_box_center_end___ZtezU",flex_box_column:"flex_box_column___MqeI4",wrap:"wrap___k3OOZ",head:"head___h6t3O",empty:"empty___S6QaM",content:"content___sMZPl",left:"left___J41Si",title:"title___GUZvZ",add:"add___zhwIv",leftBar:"leftBar___u_UUF",li:"li___Hnrra",active:"active___N4MxL",right:"right___eLWWO",rightBar:"rightBar___fMTLo",center:"center____NDzP",tabs:"tabs___jdS5u",cut:"cut___w1Pz_",action:"action___QkQ0f",tagBtn:"tagBtn___g2gHo",actActive:"actActive___ESHzD",answers:"answers___dVktP",btn:"btn___BnDvU",disableBtn:"disableBtn___WYJSQ",open_md:"open_md___Qcc2e",tip_container:"tip_container___cApBC",container_text:"container_text___riFvY",btn_send:"btn_send___jN38z",hide:"hide___wZuLt","md-container":"md-container___Am7nQ",unsolved:"unsolved___z4SON",box:"box____EpoE",hot:"hot___oUwVX",animation:"animation___YQjk7",stop:"stop___R1QBJ",disabledElement:"disabledElement___jKwzo",text:"text___Si2da",md_editor:"md_editor___vGEmh"},Ze=Fe(33170),ve=Fe(35973),Ke=Fe(28706),Me=Fe(11320),Ne=Fe(39132),he=Fe(27484),a=Fe.n(he),y=Fe.p+"static/pt0.03c22983.png",E=Fe(35567),b=Fe(85725),ee=Fe(74855),ie=Fe(80599),ce=Fe.n(ie),Be=(Ve,An,Sn)=>new Promise((iA,Kn)=>{var _t=At=>{try{_e(Sn.next(At))}catch(pt){Kn(pt)}},rt=At=>{try{_e(Sn.throw(At))}catch(pt){Kn(pt)}},_e=At=>At.done?iA(At.value):Promise.resolve(At.value).then(_t,rt);_e((Sn=Sn.apply(Ve,An)).next())});const Ce=Ve=>{const An=/```[a-z]*\n([\s\S]*?)```/g;return Ve.replace(An,(Sn,iA)=>`${iA.trim()}`)},Ue=(Ve,An,Sn)=>{const iA={markdown:"text/markdown",html:"text/html"},Kn=new Blob([Ve],{type:iA[Sn]}),_t=URL.createObjectURL(Kn),rt=document.createElement("a");rt.href=_t,rt.download=An,rt.click(),URL.revokeObjectURL(_t)},Oe=Ve=>a()(Ve).format("YYYY-MM-DD HH:mm:ss"),tt=(Ve,An,Sn)=>Ve.map((iA,Kn)=>` ${Kn!==0?`

${An}${Oe(iA.updated_at)}

${Ce(iA.question)}
`:""}

${Sn}${Oe(iA.updated_at)}

${Ce(iA.answer)}
`).join(""),qe=(Ve,An,Sn)=>Ve.map((iA,Kn)=>`${Kn!==0?`${An} ${Oe(iA.updated_at)} ${iA.question} `:""}${Sn} ${Oe(iA.updated_at)} ${iA.answer} `).join(""),ht=(Ve,An)=>Be(void 0,null,function*(){const Sn=(0,ve.useIntl)(),iA=tt(Ve.data,Ve.my_user_name,Ve.user_name),Kn=qe(Ve.data,Ve.my_user_name,Ve.user_name),_t=`export-id-${String(Math.random()).slice(-6)}`,rt=`
${iA}
`;if(An.key==="html")Ue(rt,`\u4E0E${Ve.user_name}\u5BF9\u8BDD\u5185\u5BB9.html`,"html");else if(An.key==="markdown")Ue(Kn,`\u4E0E${Ve.user_name}\u5BF9\u8BDD\u5185\u5BB9.md`,"markdown");else if(An.key==="pdf"){const _e=qt.default.info({icon:null,width:460,title:Sn.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:"\u6B63\u5728\u5BFC\u51FAPDF\u4E2D...",maskClosable:!1,keyboard:!1,okButtonProps:{style:{display:"none"}}}),At=document.createElement("div");At.innerHTML=rt.replaceAll("box-shadow","// box-shadow"),document.body.appendChild(At);const pt=document.getElementById(_t);if(!pt){console.error("PDF \u5143\u7D20\u672A\u627E\u5230");return}pt.style.width="auto",pt.style.height="auto",pt.style.position="initial";const Gt={html2canvas:{letterRendering:!0,useCORS:!0,allowTaint:!1},jsPDF:{unit:"in",format:"letter",orientation:"portrait"},pagebreak:{mode:["avoid-all"]}};ce()().set(Gt).from(pt).toPdf().get("pdf").save(`\u4E0E${Ve.user_name}\u5BF9\u8BDD\u5185\u5BB9.pdf`).finally(()=>{_e.destroy(),document.body.removeChild(At)})}});var St={cursor:"cursor___XqlqI"},Kt=({text:Ve,open:An=!1,onTextChange:Sn})=>{const[iA,Kn]=(0,ue.useState)(""),[_t,rt]=(0,ue.useState)(0),[_e,At]=(0,ue.useState)(!0);return(0,ue.useEffect)(()=>{if(An)if(_t{Kn(Gt=>Gt+Ve[_t]),rt(_t+1),Sn()},50);return()=>clearTimeout(pt)}else At(!0),Sn();else Kn(Ve),rt(0),At(!0)},[_t,Ve,An]),ue.createElement(b.Z,{value:iA+(_e?"":``)})},an={menuWrap:"menuWrap___GDodS",menuMask:"menuMask___dldKr",menu:"menu___OrkS3",itemTwo:"itemTwo___gOXTT",item:"item___XhZWJ",itemDisabled:"itemDisabled___pRoiI",menuWrapRight:"menuWrapRight___Tgo4N"},Nn=Fe(80150),un=Fe(94184),zt=Fe.n(un),Pt=({disabled:Ve=!1,recoverDisabled:An=!1,onFileType:Sn,onRecover:iA,onEmpty:Kn})=>{const[_t,rt]=(0,ue.useState)(!1),[_e,At]=(0,ue.useState)(!1),pt=(0,ue.useRef)(null),Gt=[{key:"html",label:"\u5BFC\u51FA\u6210HTML"},{key:"markdown",label:"\u5BFC\u51FA\u6210Markdown"},{key:"pdf",label:"\u5BFC\u51FA\u6210PDF"}],ln=()=>{if(!Ve){if(pt.current){const pn=pt.current.getBoundingClientRect(),Cn=window.innerWidth-pn.right;At(Cn>300)}rt(!0)}};return console.log(_e),ue.createElement("div",{ref:pt,className:zt()(an.menuWrap,_e&&an.menuWrapRight),onMouseEnter:ln,onMouseLeave:()=>rt(!1)},ue.createElement(Nn.op,{disabled:Ve},ue.createElement("i",{className:"iconfont icon-gengduo6 font12 mr5"}),"\u66F4\u591A\u64CD\u4F5C"),ue.createElement("div",{className:an.menuMask,style:{display:_t?"block":"none"}},ue.createElement("div",{className:an.menu},ue.createElement("div",{className:an.itemOne},ue.createElement("div",{className:an.item,style:{cursor:"auto"}},ue.createElement("span",null,"\u5BFC\u51FA\u5BF9\u8BDD"),ue.createElement("div",{className:an.itemTwo},Gt.map(pn=>ue.createElement("div",{key:pn.key,onClick:()=>{rt(!1),Sn(pn)},className:an.item},pn.label)))),An?ue.createElement("div",{className:an.itemDisabled},"\u6062\u590D\u5BF9\u8BDD"):ue.createElement("div",{onClick:pn=>{rt(!1),iA(pn)},className:an.item},"\u6062\u590D\u5BF9\u8BDD"),ue.createElement("div",{onClick:pn=>{rt(!1),Kn(pn)},className:an.item},"\u6E05\u7A7A\u5BF9\u8BDD")))))},Ye=Fe(67294),Wt=Object.defineProperty,en=Object.getOwnPropertySymbols,$n=Object.prototype.hasOwnProperty,Ft=Object.prototype.propertyIsEnumerable,Et=(Ve,An,Sn)=>An in Ve?Wt(Ve,An,{enumerable:!0,configurable:!0,writable:!0,value:Sn}):Ve[An]=Sn,on=(Ve,An)=>{for(var Sn in An||(An={}))$n.call(An,Sn)&&Et(Ve,Sn,An[Sn]);if(en)for(var Sn of en(An))Ft.call(An,Sn)&&Et(Ve,Sn,An[Sn]);return Ve},nA=(Ve,An,Sn)=>new Promise((iA,Kn)=>{var _t=At=>{try{_e(Sn.next(At))}catch(pt){Kn(pt)}},rt=At=>{try{_e(Sn.throw(At))}catch(pt){Kn(pt)}},_e=At=>At.done?iA(At.value):Promise.resolve(At.value).then(_t,rt);_e((Sn=Sn.apply(Ve,An)).next())}),AA=({})=>{var Ve,An,Sn,iA;const Kn=(0,ve.useIntl)(),{id:_t,position:rt}=(0,Ke.oP)(),[_e,At]=(0,ue.useState)(!0),[pt,Gt]=(0,ue.useState)(!1),ln=(0,ue.useRef)("bottomRight"),pn=(0,ue.useRef)();let[Cn,In]=(0,ue.useState)({});const[rA,qn]=(0,ue.useState)(Number(_t)),[hA,Qt]=(0,ue.useState)([]),[vn,cn]=(0,ue.useState)(1),[Ln,ct]=(0,ue.useState)(Number(rt)),It=(0,ue.useRef)(Number(rt)),[rn,Yn]=(0,ue.useState)([]),[Jn,wA]=(0,ue.useState)(!1),[pA,uA]=(0,ue.useState)(!0),Xn=(0,ue.useRef)(null),Mn=(0,ue.useRef)(1),[Fn,dA]=(0,ue.useState)({});let[lA,rr]=(0,ue.useState)("");const[kA,cr]=(0,ue.useState)(!1),[gr,SA]=(0,ue.useState)(!1),[sr]=(0,ve.useSearchParams)();(0,ue.useEffect)(()=>((0,ve.getDvaApp)()._store.dispatch({type:"globalSetting/footerToggle",payload:!1}),()=>{(0,ve.getDvaApp)()._store.dispatch({type:"globalSetting/footerToggle",payload:!0})}),[]),(0,ue.useEffect)(()=>{Dr()},[]),(0,ue.useEffect)(()=>{Xn.current.scrollTop=Xn.current.scrollHeight},[vn]),(0,ue.useEffect)(()=>{const Vt=document.getElementById("wechat_QR_code_ids");return Vt.classList.add("hide"),()=>{Vt.classList.remove("hide")}},[]);const Dr=()=>nA(void 0,null,function*(){var Vt,OA;const Pr=yield(0,Ze.ZP)("/api/chats.json",{method:"post",body:{to_user_id:_t}});if((Pr==null?void 0:Pr.status)===0){const dr=yield(0,Ze.ZP)("/api/chats.json",{method:"get",params:{to_user_id:_t,challenge_id:Number(rt)||""}});if(dr!=null&&dr.data){uA(!1),Qt((dr==null?void 0:dr.data)||[]);const Hn=(OA=(Vt=dr==null?void 0:dr.data)==null?void 0:Vt.find(_A=>_A.to_user_id===Number(_t)))==null?void 0:OA.id;qn(Hn),PA(Hn),Gr(Hn,rt)}}}),PA=Vt=>nA(void 0,null,function*(){const OA=yield(0,Ze.ZP)("/api/chats/challenge_list.json",{method:"get",params:{id:Vt,challenge_id:Ln||""}});OA!=null&&OA.challenges&&Yn([{id:0,subject:"\u5168\u90E8"},...OA.challenges])}),Nr=(Vt,OA)=>nA(void 0,null,function*(){const Pr=yield(0,Ze.ZP)("/api/chats.json",{method:"get",params:{to_user_id:Vt,challenge_id:OA||""}});Pr!=null&&Pr.data&&Qt((Pr==null?void 0:Pr.data)||[]),uA(!1)}),Gr=(Vt,OA,Pr)=>nA(void 0,null,function*(){var dr;At(!0);const Hn=yield(0,Ze.ZP)(`/api/chats/${Vt}.json`,{method:"get",params:{challenge_id:Number(OA)||""}});if(Hn!=null&&Hn.data){Pr&&(Hn.data[Hn.data.length-1].open=!0),dA(on({},Hn)||{}),wA(!0),Gt(!1);const _A=(dr=hA==null?void 0:hA.find(wa=>wa.id===Vt))==null?void 0:dr.to_user_id;window.location.host==="gpt.educoder.net"?sr.get("homeworkId")?ve.history.replace(`/chatgpt?id=0&position=0&homeworkId=${sr.get("homeworkId")}`):ve.history.replace("/chatgpt?id=0&position=0"):sr.get("homeworkId")?ve.history.replace(`/chatgpt?id=${_A||_t}&position=${OA}&homeworkId=${sr.get("homeworkId")}`):ve.history.replace(`/chatgpt?id=${_A||_t}&position=${OA}`),Pr&&(cn(Math.random()),Nr(_A,OA))}At(!1)}),ZA=Vt=>{var OA;rr(Vt),(OA=Vt==null?void 0:Vt.trim())==null||OA.length},Ba=Vt=>{Mn.current=Mn.current+1,qn(Vt),ct(0),rr(""),Gt(!1),Gr(Vt,0),PA(Vt)},Ha=()=>nA(void 0,null,function*(){var Vt;if(lA.trim().length===0){ft.ZP.error("\u4E0D\u80FD\u8F93\u5165\u7EAF\u7A7A\u683C");return}if(!lA){ft.ZP.warning("\u8BF7\u8F93\u5165\u4F60\u8981\u95EE\u7684\u95EE\u9898");return}Gt(!0);const OA=a()().format("YYYY-MM-DDTHH:mm:ss.SSSZ"),Pr=on({},Fn);(Vt=Pr==null?void 0:Pr.data)==null||Vt.push({id:0,updated_at:OA,question:lA,answer:Ye.createElement("div",{className:De.animation},"\u8001\u5E08\u6B63\u5728\u56DE\u7B54\u4E2D\uFF0C\u8BF7\u7A0D\u540E")}),dA(Pr),cn(vn+1),rr(""),Mn.current=Mn.current+1;const dr=Mn.current,Hn=yield(0,Ze.ZP)("/api/chats/get_answer",{method:"post",body:{chat_id:rA,to_user_id:_t,question:lA,challenge_id:Ln||"",time:OA}});dr===Mn.current&&(Hn==null?void 0:Hn.status)===0&&Gr(rA,Ln,!0)}),Ut=()=>{Gr(rA,Ln),Nr(_t,Ln),cr(!1)},yt=(Vt,OA,Pr="")=>nA(void 0,null,function*(){At(!0);let dr={};sr.get("homeworkId")?dr={id:Vt,satisfied:OA,content:Pr,homework_common_id:sr.get("homeworkId")}:dr={id:Vt,satisfied:OA,content:Pr};const Hn=yield(0,Ze.ZP)("/api/chats/praise.json",{method:"post",body:dr});(Hn==null?void 0:Hn.status)===0&&Gr(rA,Ln)}),Nt=Vt=>{Vt.shiftKey&&Vt.keyCode===13||Vt.keyCode===13&&(Vt.preventDefault(),Ha())},kn=Vt=>nA(void 0,null,function*(){qt.default.confirm({icon:null,centered:!0,okText:Kn.formatMessage({id:"shixuns.confirm1",defaultMessage:"\u786E\u5B9A"}),cancelText:Kn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),title:Kn.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u8BE5\u95EE\u7B54\u5185\u5BB9\u8FDB\u884C\u5220\u9664\uFF1F",onOk:()=>nA(void 0,null,function*(){(yield(0,Ze.ZP)("/api/chats/delete_one.json",{method:"delete",body:{id:Vt}})).status===0&&(ft.ZP.success(Kn.formatMessage({id:"classrooms.deleteSuccess",defaultMessage:"\u5220\u9664\u6210\u529F"})),Gr(rA,Ln))})})}),aA=()=>nA(void 0,null,function*(){At(!0),Mn.current=Mn.current+1,(yield(0,Ze.ZP)("/api/chats/stop_one.json",{method:"delete",body:{challenge_id:Ln,id:rA}})).status===0&&Gr(rA,Ln),At(!1)}),_n=[`\u8BF7${Fn==null?void 0:Fn.user_name}\u8001\u5E08\u5C1D\u8BD5\u518D\u56DE\u7B54\u4E00\u6B21`,"\u53EF\u80FD\u542F\u7528\u4E86\u673A\u5668\u4EBA\uFF0C\u8BF7\u8001\u5E08\u4EB2\u81EA\u56DE\u7B54"],ir=Vt=>{ht(Fn,Vt)},qA=()=>{};return Ye.createElement("div",{className:De.wrap},Ye.createElement("div",{className:De.head},Ye.createElement("b",null,"\u5B9E\u8BAD >"),"\u6559\u5B66\u8F85\u5BFC\uFF08beta\u7248\u672C\uFF09"),Ye.createElement("div",{className:De.content},Ye.createElement(tn.Z,{spinning:pA},Ye.createElement("div",{className:De.left,onClick:()=>{SA(!1)}},Ye.createElement("div",{className:De.title},Ye.createElement("span",null,"\u95EE\u7B54\u5217\u8868"),Ye.createElement("div",{className:zt()(De.add,pt&&De.disabledElement),onClick:()=>nA(void 0,null,function*(){if(pt)return;uA(!0);const Vt=yield(0,Ze.ZP)("/api/chats.json",{method:"post",body:{to_user_id:_t,new_chat:!0}});if(Vt.status===0){const OA=Vt==null?void 0:Vt.id;if(OA===rA){ft.ZP.warning("\u5F53\u524D\u5DF2\u7ECF\u5728\u65B0\u5BF9\u8BDD\u7A97\u53E3"),uA(!1);return}yield Nr(-1,0),qn(OA),ct(0),yield Gr(OA,0)}uA(!1)})})),Ye.createElement("div",{className:De.leftBar},hA.map(Vt=>Ye.createElement("div",{key:Vt.id,onClick:()=>Ba(Vt.id),className:`${De.li} ${Vt.id===rA?De.active:""}`},Vt!=null&&Vt.avatar?Ye.createElement("img",{src:`${Me.Z.IMG_SERVER}/images/${Vt==null?void 0:Vt.avatar}`}):Ye.createElement("img",{src:y}),Ye.createElement("aside",null,Ye.createElement("p",null,Ye.createElement("b",{title:Vt.user_name},Vt.user_name),Ye.createElement("span",null,Vt.time)),Ye.createElement("div",null,Vt.last_message))))))),Ye.createElement("div",{className:De.right},Jn&&Ye.createElement("div",{className:De.title,onClick:()=>{SA(!1)}},Ye.createElement("section",{className:De.center},Ye.createElement("span",null,"\u4E0E",Fn==null?void 0:Fn.user_name,"\u8001\u5E08\u6C9F\u901A\u4E2D\u2026"),Ye.createElement("div",{className:De.tabs},Ye.createElement("i",{className:"iconfont icon-lianjie3"}),Ye.createElement("span",null,"\u5F53\u524D\u5BF9\u8BDD\u5173\u8054\uFF1A",Fn!=null&&Fn.challenge_name?`${(An=(Ve=Fn==null?void 0:Fn.data[0])==null?void 0:Ve.shixun)==null?void 0:An.name} \u5B9E\u8BAD---${Fn==null?void 0:Fn.challenge_position}${Kn.formatMessage({id:"shixuns.part",defaultMessage:"\u5173"})}`:"\u5168\u90E8"),Ye.createElement("span",{onClick:()=>{pt||(It.current=Ln,cr(!0))},className:zt()(De.cut,pt&&De.disabledElement)},"\u5207\u6362")),Ye.createElement(Pt,{disabled:pt,recoverDisabled:!(Fn!=null&&Fn.can_recycle),onFileType:ir,onRecover:()=>nA(void 0,null,function*(){At(!0),(yield(0,Ze.ZP)("/api/chats/recycle.json",{method:"post",body:{challenge_id:Ln,id:rA}})).status===0&&(ft.ZP.success("\u6062\u590D\u5BF9\u8BDD\u6210\u529F"),Nr(_t,Ln),Gr(rA,Ln)),At(!1)}),onEmpty:()=>{qt.default.confirm({icon:null,centered:!0,okText:Kn.formatMessage({id:"shixuns.confirm1",defaultMessage:"\u786E\u5B9A"}),cancelText:Kn.formatMessage({id:"classrooms.cancel",defaultMessage:"\u53D6\u6D88"}),title:Kn.formatMessage({id:"shixuns.prompt",defaultMessage:"\u63D0\u793A"}),content:"\u8BF7\u786E\u8BA4\u662F\u5426\u5C06\u5F53\u524D\u5BF9\u8BDD\u7A97\u53E3\u4E2D\u7684\u5BF9\u8BDD\u5185\u5BB9\u5168\u90E8\u6E05\u7A7A\uFF1F",onOk:()=>nA(void 0,null,function*(){(yield(0,Ze.ZP)("/api/chats/clean.json",{method:"delete",body:{challenge_id:Ln,id:rA}})).status===0&&(ft.ZP.success("\u6E05\u7A7A\u5BF9\u8BDD\u6210\u529F"),Nr(_t,Ln),Gr(rA,Ln))})})}}))),Ye.createElement("div",{onClick:()=>{SA(!1)},className:De.rightBar,ref:Xn},Ye.createElement(tn.Z,{spinning:_e},!((Sn=Fn==null?void 0:Fn.data)!=null&&Sn.length)&&Ye.createElement("div",{className:De.empty}),(iA=Fn==null?void 0:Fn.data)==null?void 0:iA.map((Vt,OA)=>{var Pr,dr,Hn;return Ye.createElement(ue.Fragment,{key:OA},!!Vt.question&&Ye.createElement("div",{className:De.li},Ye.createElement("img",{src:`${Me.Z.IMG_SERVER}/images/${Fn==null?void 0:Fn.my_avatar}`,style:{borderRadius:"50%",width:56,height:56}}),Ye.createElement("aside",null,Ye.createElement("p",null,Ye.createElement("b",null,Fn.my_user_name),Ye.createElement("span",null,a()(Vt.updated_at).format("YYYY-MM-DD HH:mm"))),Ye.createElement(b.Z,{value:Vt.question}),Ye.createElement("div",{className:De.action},Ye.createElement(ee.CopyToClipboard,{text:Vt.question,onCopy:()=>ft.ZP.success("\u5185\u5BB9\u5DF2\u590D\u5236\u5230\u7C98\u8D34\u677F\u4E2D")},Ye.createElement("div",{className:De.tagBtn},Ye.createElement("i",{className:"iconfont icon-fuzhi8"}),Kn.formatMessage({id:"questionBankAddQuestion.copy",defaultMessage:"\u590D\u5236"}))),!pt&&Ye.createElement("div",{onClick:()=>kn(Vt.id),className:De.tagBtn},Ye.createElement("i",{className:"iconfont icon-shanchu8"}),Kn.formatMessage({id:"questionBankAddQuestion.delete",defaultMessage:"\u5220\u9664"}))))),!!Vt.answer&&Ye.createElement("div",{style:OA===0?{borderTop:0}:{},className:`${De.li} ${De.active}`},Fn!=null&&Fn.avatar?Ye.createElement("img",{src:`${Me.Z.IMG_SERVER}/images/${Fn==null?void 0:Fn.avatar}`,style:{borderRadius:"50%",width:56,height:56}}):Ye.createElement("img",{src:y,style:{borderRadius:"50%",width:56,height:56}}),Ye.createElement("aside",null,Ye.createElement("p",null,Ye.createElement("div",{style:{display:"flex"}},Ye.createElement("b",{style:{marginRight:"20px"}},Fn.user_name),(Pr=Vt.shixun)!=null&&Pr.name?Ye.createElement("span",{style:{display:"flex",alignItems:"center"}},"\u5F53\u524D\u5BF9\u8BDD\u5173\u8054\uFF1A",(dr=Vt.shixun)==null?void 0:dr.name," \u5B9E\u8BAD---",(Hn=Vt.challenge)==null?void 0:Hn.position,Kn.formatMessage({id:"shixuns.part",defaultMessage:"\u5173"})):Ye.createElement("span",{style:{display:"flex",alignItems:"center"}},"\u5F53\u524D\u5BF9\u8BDD\u5173\u8054\uFF1A\u5168\u90E8")),Ye.createElement("span",null,a()(Vt.updated_at).format("YYYY-MM-DD HH:mm"))),Vt.id===0?Vt.answer:Ye.createElement(Kt,{onTextChange:qA,open:!!(Vt!=null&&Vt.open),text:Vt.answer}),Vt.id===0&&Ye.createElement("div",{className:De.action},Ye.createElement("div",{onClick:aA,className:De.tagBtn},Ye.createElement("i",{className:"iconfont icon-tingzhishengcheng"}),"\u505C\u6B62\u751F\u6210")),(Vt==null?void 0:Vt.id)!==0&&Ye.createElement("div",{className:De.action},!!Vt.question&&Ye.createElement(Ye.Fragment,null,Ye.createElement("div",{onClick:()=>{lA=Vt.question,Ha()},className:De.tagBtn},Ye.createElement("i",{className:"iconfont icon-zhongxinshengcheng"}),"\u91CD\u65B0\u751F\u6210"),Ye.createElement(ee.CopyToClipboard,{text:Vt.answer,onCopy:()=>ft.ZP.success("\u5185\u5BB9\u5DF2\u590D\u5236\u5230\u7C98\u8D34\u677F\u4E2D")},Ye.createElement("div",{className:De.tagBtn},Ye.createElement("i",{className:"iconfont icon-fuzhi8"}),Kn.formatMessage({id:"questionBankAddQuestion.copy",defaultMessage:"\u590D\u5236"}))),!pt&&Ye.createElement("div",{onClick:()=>kn(Vt.id),className:De.tagBtn},Ye.createElement("i",{className:"iconfont icon-shanchu8"}),Kn.formatMessage({id:"questionBankAddQuestion.delete",defaultMessage:"\u5220\u9664"}))),Ye.createElement("span",{style:{marginLeft:"auto"},onClick:()=>{yt(Vt.id,Vt.satisfied===1?-1:1)},className:`mr30 ${Vt.satisfied===1?De.actActive:""}`},Ye.createElement("i",{className:"iconfont icon-yijiejue"}),"\u5DF2\u89E3\u51B3"),Ye.createElement(bt.Z,{autoAdjustOverflow:!1,destroyTooltipOnHide:!0,open:Cn[OA],getPopupContainer:_A=>_A,placement:ln.current,content:Ye.createElement("div",{className:De.box,onMouseLeave:_A=>{clearTimeout(pn.current),Cn[OA]=!1,In(on({},Cn))},onMouseOver:()=>{clearTimeout(pn.current)}},Ye.createElement("p",null,"\u62B1\u6B49\u8BA9\u4F60\u5931\u671B\u4E86\uFF0C\u8BF7\u7EE7\u7EED\u5C1D\u8BD5\uFF1A"),_n.map((_A,wa)=>{const Oa=_A===Vt.content;return Ye.createElement("div",{onClick:()=>{yt(Vt.id,Oa?-1:0,Oa?"":_A)},className:Oa?De.hot:"",key:_A},_A)}))},Ye.createElement("span",{onMouseOver:_A=>{clearTimeout(pn.current),window.innerHeight-_A.target.getBoundingClientRect().top<350?ln.current="topRight":ln.current="bottomRight",Cn={},Cn[OA]=!0,In(on({},Cn))},onMouseOut:_A=>{pn.current=setTimeout(()=>{clearTimeout(pn.current),Cn[OA]=!1,In(on({},Cn))},800)},className:`${De.unsolved} ${Vt.satisfied===0?De.actActive:""}`},Ye.createElement("i",{className:"iconfont icon-weijiejuezhengchang"}),"\u672A\u89E3\u51B3"))))))}))),Jn&&Ye.createElement("div",{className:De.answers},!gr&&Ye.createElement("div",{className:De.open_md,onClick:()=>{SA(!0)}},"\u8BF7\u8F93\u5165\u4F60\u7684\u95EE\u9898"),Ye.createElement("div",{className:gr?"md_container":"md_container hide",style:{marginTop:20}},Ye.createElement(E.Z,{id:"discuss-input-editor",miniToolbar:!0,watch:!1,noStorage:!0,defaultValue:lA,height:240,width:1e3,onChange:ZA,className:De.md_editor}),Ye.createElement("div",{className:De.tip_container,style:{display:"flex"},onClick:()=>{SA(!1)}},Ye.createElement("div",{className:De.btn_send,onClick:Ha},Kn.formatMessage({id:"shixuns.send",defaultMessage:"\u53D1\u9001"}))))))),Ye.createElement(qt.default,{centered:!0,keyboard:!1,closable:!1,destroyOnClose:!0,onCancel:()=>{ct(It.current),cr(!1)},onOk:Ut,open:kA,wrapClassName:Ne.Z.CustomCss,title:"\u66F4\u6362\u5173\u8054",width:"666px"},Ye.createElement("div",null,Ye.createElement(nn.ZP.Group,{value:Ln,onChange:Vt=>ct(Vt.target.value)},Ye.createElement(vt.Z,{direction:"vertical"},rn==null?void 0:rn.map(Vt=>{var OA;return Ye.createElement(nn.ZP,{key:Vt.id,value:Vt.id},Vt.id===0?Vt.subject:`${(OA=Vt.shixun)==null?void 0:OA.name} \u5B9E\u8BAD---${Vt==null?void 0:Vt.challenge_position}${Kn.formatMessage({id:"shixuns.part",defaultMessage:"\u5173"})}`)}))))))}},81643:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return ue}});const ue=ft=>ft?typeof ft=="function"?ft():ft:null},57838:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return ft}});var ue=Fe(67294);function ft(){const[,qt]=ue.useReducer(tn=>tn+1,0);return qt}},35874:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return _e}});var ue=Fe(67294),ft=Fe(91034),qt=Fe(94184),tn=Fe.n(qt),bt=Fe(87462),nn=Fe(4942),vt=Fe(97685),De=Fe(45987),Ze=Fe(62709),ve=Fe(71002),Ke=Fe(12060);function Me(At,pt,Gt){var ln=React.useRef({});return(!("value"in ln.current)||Gt(ln.current.condition,pt))&&(ln.current.value=At(),ln.current.condition=pt),ln.current.value}function Ne(At,pt){typeof At=="function"?At(pt):(0,ve.Z)(At)==="object"&&At&&"current"in At&&(At.current=pt)}function he(){for(var At=arguments.length,pt=new Array(At),Gt=0;Gt=E.F1&&Gt<=E.F12)return!1;switch(Gt){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(pt){if(pt>=E.ZERO&&pt<=E.NINE||pt>=E.NUM_ZERO&&pt<=E.NUM_MULTIPLY||pt>=E.A&&pt<=E.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&pt===0)return!0;switch(pt){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}}},b=E,ee=function(pt){return+setTimeout(pt,16)},ie=function(pt){return clearTimeout(pt)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(ee=function(pt){return window.requestAnimationFrame(pt)},ie=function(pt){return window.cancelAnimationFrame(pt)});var ce=0,Be=new Map;function Ce(At){Be.delete(At)}var Ue=function(pt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ce+=1;var ln=ce;function pn(Cn){if(Cn===0)Ce(ln),pt();else{var In=ee(function(){pn(Cn-1)});Be.set(ln,In)}}return pn(Gt),ln};Ue.cancel=function(At){var pt=Be.get(At);return Ce(pt),ie(pt)};var Oe=Ue,tt=b.ESC,qe=b.TAB;function ht(At){var pt=At.visible,Gt=At.triggerRef,ln=At.onVisibleChange,pn=At.autoFocus,Cn=At.overlayRef,In=ue.useRef(!1),rA=function(){if(pt){var vn,cn;(vn=Gt.current)===null||vn===void 0||(cn=vn.focus)===null||cn===void 0||cn.call(vn),ln==null||ln(!1)}},qn=function(){var vn;return(vn=Cn.current)!==null&&vn!==void 0&&vn.focus?(Cn.current.focus(),In.current=!0,!0):!1},hA=function(vn){switch(vn.keyCode){case tt:rA();break;case qe:{var cn=!1;In.current||(cn=qn()),cn?vn.preventDefault():rA();break}}};ue.useEffect(function(){return pt?(window.addEventListener("keydown",hA),pn&&Oe(qn,3),function(){window.removeEventListener("keydown",hA),In.current=!1}):function(){In.current=!1}},[pt])}var St=(0,ue.forwardRef)(function(At,pt){var Gt=At.overlay,ln=At.arrow,pn=At.prefixCls,Cn=(0,ue.useMemo)(function(){var rA;return typeof Gt=="function"?rA=Gt():rA=Gt,rA},[Gt]),In=he(pt,Cn==null?void 0:Cn.ref);return ue.createElement(ue.Fragment,null,ln&&ue.createElement("div",{className:"".concat(pn,"-arrow")}),ue.cloneElement(Cn,{ref:y(Cn)?In:void 0}))}),Tt=St,Kt={adjustX:1,adjustY:1},an=[0,0],Nn={topLeft:{points:["bl","tl"],overflow:Kt,offset:[0,-4],targetOffset:an},top:{points:["bc","tc"],overflow:Kt,offset:[0,-4],targetOffset:an},topRight:{points:["br","tr"],overflow:Kt,offset:[0,-4],targetOffset:an},bottomLeft:{points:["tl","bl"],overflow:Kt,offset:[0,4],targetOffset:an},bottom:{points:["tc","bc"],overflow:Kt,offset:[0,4],targetOffset:an},bottomRight:{points:["tr","br"],overflow:Kt,offset:[0,4],targetOffset:an}},un=Nn,zt=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function Jt(At,pt){var Gt,ln=At.arrow,pn=ln===void 0?!1:ln,Cn=At.prefixCls,In=Cn===void 0?"rc-dropdown":Cn,rA=At.transitionName,qn=At.animation,hA=At.align,Qt=At.placement,vn=Qt===void 0?"bottomLeft":Qt,cn=At.placements,Ln=cn===void 0?un:cn,ct=At.getPopupContainer,It=At.showAction,rn=At.hideAction,Yn=At.overlayClassName,Jn=At.overlayStyle,wA=At.visible,pA=At.trigger,uA=pA===void 0?["hover"]:pA,Xn=At.autoFocus,Mn=At.overlay,Fn=At.children,dA=At.onVisibleChange,lA=(0,De.Z)(At,zt),rr=ue.useState(),kA=(0,vt.Z)(rr,2),cr=kA[0],gr=kA[1],SA="visible"in At?wA:cr,sr=ue.useRef(null),Dr=ue.useRef(null),PA=ue.useRef(null);ue.useImperativeHandle(pt,function(){return sr.current});var Nr=function(aA){gr(aA),dA==null||dA(aA)};ht({visible:SA,triggerRef:PA,onVisibleChange:Nr,autoFocus:Xn,overlayRef:Dr});var Gr=function(aA){var _n=At.onOverlayClick;gr(!1),_n&&_n(aA)},ZA=function(){return ue.createElement(Tt,{ref:Dr,overlay:Mn,prefixCls:In,arrow:pn})},Ba=function(){return typeof Mn=="function"?ZA:ZA()},Ha=function(){var aA=At.minOverlayWidthMatchTrigger,_n=At.alignPoint;return"minOverlayWidthMatchTrigger"in At?aA:!_n},Ut=function(){var aA=At.openClassName;return aA!==void 0?aA:"".concat(In,"-open")},yt=ue.cloneElement(Fn,{className:tn()((Gt=Fn.props)===null||Gt===void 0?void 0:Gt.className,SA&&Ut()),ref:y(Fn)?he(PA,Fn.ref):void 0}),Nt=rn;return!Nt&&uA.indexOf("contextMenu")!==-1&&(Nt=["click"]),ue.createElement(Ze.Z,(0,bt.Z)({builtinPlacements:Ln},lA,{prefixCls:In,ref:sr,popupClassName:tn()(Yn,(0,nn.Z)({},"".concat(In,"-show-arrow"),pn)),popupStyle:Jn,action:uA,showAction:It,hideAction:Nt,popupPlacement:vn,popupAlign:hA,popupTransitionName:rA,popupAnimation:qn,popupVisible:SA,stretch:Ha()?"minWidth":"",popup:Ba(),onPopupVisibleChange:Nr,onPopupClick:Gr,getPopupContainer:ct}),yt)}var Pt=ue.forwardRef(Jt),Ye=Pt,Wt=Fe(60276),en=Fe(5663),$n=Fe(10366),Ft=Fe(80636),Et=Fe(8745),on=Fe(96159),nA=Fe(53124),Qn=Fe(68508),AA=Fe(76529),Ve=Fe(46605),An=Fe(66748);const Sn=null,iA=At=>{const{menu:pt,arrow:Gt,prefixCls:ln,children:pn,trigger:Cn,disabled:In,dropdownRender:rA,getPopupContainer:qn,overlayClassName:hA,rootClassName:Qt,open:vn,onOpenChange:cn,visible:Ln,onVisibleChange:ct,mouseEnterDelay:It=.15,mouseLeaveDelay:rn=.1,autoAdjustOverflow:Yn=!0,placement:Jn="",overlay:wA,transitionName:pA}=At,{getPopupContainer:uA,getPrefixCls:Xn,direction:Mn}=ue.useContext(nA.E_),Fn=ue.useMemo(()=>{const yt=Xn();return pA!==void 0?pA:Jn.includes("top")?`${yt}-slide-down`:`${yt}-slide-up`},[Xn,Jn,pA]),dA=ue.useMemo(()=>Jn?Jn.includes("Center")?Jn.slice(0,Jn.indexOf("Center")):Jn:Mn==="rtl"?"bottomRight":"bottomLeft",[Jn,Mn]),lA=Xn("dropdown",ln),[rr,kA]=(0,An.Z)(lA),[,cr]=(0,Ve.Z)(),gr=ue.Children.only(pn),SA=(0,on.Tm)(gr,{className:tn()(`${lA}-trigger`,{[`${lA}-rtl`]:Mn==="rtl"},gr.props.className),disabled:In}),sr=In?[]:Cn;let Dr;sr&&sr.includes("contextMenu")&&(Dr=!0);const[PA,Nr]=(0,en.Z)(!1,{value:vn!=null?vn:Ln}),Gr=(0,Wt.useEvent)(yt=>{cn==null||cn(yt),ct==null||ct(yt),Nr(yt)}),ZA=tn()(hA,Qt,kA,{[`${lA}-rtl`]:Mn==="rtl"}),Ba=(0,Ft.Z)({arrowPointAtCenter:typeof Gt=="object"&&Gt.pointAtCenter,autoAdjustOverflow:Yn,offset:cr.marginXXS,arrowWidth:Gt?cr.sizePopupArrow:0,borderRadius:cr.borderRadius}),Ha=ue.useCallback(()=>{Nr(!1)},[]),Ut=()=>{let yt;return pt!=null&&pt.items?yt=ue.createElement(Qn.default,Object.assign({},pt)):typeof wA=="function"?yt=wA():yt=wA,rA&&(yt=rA(yt)),yt=ue.Children.only(typeof yt=="string"?ue.createElement("span",null,yt):yt),ue.createElement(AA.J,{prefixCls:`${lA}-menu`,expandIcon:ue.createElement("span",{className:`${lA}-menu-submenu-arrow`},ue.createElement(ft.Z,{className:`${lA}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Ha,validator:Nt=>{let{mode:kn}=Nt}},yt)};return rr(ue.createElement(Ye,Object.assign({alignPoint:Dr},(0,$n.Z)(At,["rootClassName"]),{mouseEnterDelay:It,mouseLeaveDelay:rn,visible:PA,builtinPlacements:Ba,arrow:!!Gt,overlayClassName:ZA,prefixCls:lA,getPopupContainer:qn||uA,transitionName:Fn,trigger:sr,overlay:Ut,placement:dA,onVisibleChange:Gr}),SA))};function Kn(At){return Object.assign(Object.assign({},At),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const _t=(0,Et.Z)(iA,"dropdown",At=>At,Kn),rt=At=>ue.createElement(_t,Object.assign({},At),ue.createElement("span",null));iA._InternalPanelDoNotUseOrYouWillBeFired=rt;var _e=iA},85418:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return a}});var ue=Fe(35874),ft=Fe(94184),qt=Fe.n(ft),tn=Fe(67294),bt=Fe(25877),nn=Fe(71577),vt=Fe(53124),De=Fe(93421),Ze=Fe(4173),ve=Fe(66748),Ke=function(y,E){var b={};for(var ee in y)Object.prototype.hasOwnProperty.call(y,ee)&&E.indexOf(ee)<0&&(b[ee]=y[ee]);if(y!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ie=0,ee=Object.getOwnPropertySymbols(y);ie{const{getPopupContainer:E,getPrefixCls:b,direction:ee}=tn.useContext(vt.E_),{prefixCls:ie,type:ce="default",danger:Be,disabled:Ce,loading:Ue,onClick:Oe,htmlType:tt,children:qe,className:ht,menu:St,arrow:Tt,autoFocus:Kt,overlay:an,trigger:Nn,align:un,open:zt,onOpenChange:Jt,placement:Pt,getPopupContainer:Ye,href:Wt,icon:en=tn.createElement(bt.Z,null),title:$n,buttonsRender:Ft=In=>In,mouseEnterDelay:Et,mouseLeaveDelay:on,overlayClassName:nA,overlayStyle:Qn,destroyPopupOnHide:AA,dropdownRender:Ve}=y,An=Ke(y,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),Sn=b("dropdown",ie),iA=`${Sn}-button`,[Kn,_t]=(0,ve.Z)(Sn),rt={menu:St,arrow:Tt,autoFocus:Kt,align:un,disabled:Ce,trigger:Ce?[]:Nn,onOpenChange:Jt,getPopupContainer:Ye||E,mouseEnterDelay:Et,mouseLeaveDelay:on,overlayClassName:nA,overlayStyle:Qn,destroyPopupOnHide:AA,dropdownRender:Ve},{compactSize:_e,compactItemClassnames:At}=(0,Ze.ri)(Sn,ee),pt=qt()(iA,At,ht,_t);"overlay"in y&&(rt.overlay=an),"open"in y&&(rt.open=zt),"placement"in y?rt.placement=Pt:rt.placement=ee==="rtl"?"bottomLeft":"bottomRight";const Gt=tn.createElement(nn.ZP,{type:ce,danger:Be,disabled:Ce,loading:Ue,onClick:Oe,htmlType:tt,href:Wt,title:$n},qe),ln=tn.createElement(nn.ZP,{type:ce,danger:Be,icon:en}),[pn,Cn]=Ft([Gt,ln]);return Kn(tn.createElement(De.Z.Compact,Object.assign({className:pt,size:_e,block:!0},An),pn,tn.createElement(ue.Z,Object.assign({},rt),Cn)))};Me.__ANT_BUTTON=!0;var Ne=Me;const he=ue.Z;he.Button=Ne;var a=he},66748:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return Ke}});var ue=Fe(14747),ft=Fe(67771),qt=Fe(33297),tn=Fe(50438),bt=Fe(97414),nn=Fe(67968),vt=Fe(45503),Ze=Me=>{const{componentCls:Ne,menuCls:he,colorError:a,colorTextLightSolid:y}=Me,E=`${he}-item`;return{[`${Ne}, ${Ne}-menu-submenu`]:{[`${he} ${E}`]:{[`&${E}-danger:not(${E}-disabled)`]:{color:a,"&:hover":{color:y,backgroundColor:a}}}}}};const ve=Me=>{const{componentCls:Ne,menuCls:he,zIndexPopup:a,dropdownArrowDistance:y,sizePopupArrow:E,antCls:b,iconCls:ee,motionDurationMid:ie,dropdownPaddingVertical:ce,fontSize:Be,dropdownEdgeChildPadding:Ce,colorTextDisabled:Ue,fontSizeIcon:Oe,controlPaddingHorizontal:tt,colorBgElevated:qe}=Me;return[{[Ne]:Object.assign(Object.assign({},(0,ue.Wf)(Me)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:a,display:"block","&::before":{position:"absolute",insetBlock:-y+E/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${ee}-down, & > ${b}-btn-icon > ${ee}-down`]:{fontSize:Oe}},[`${Ne}-wrap`]:{position:"relative",[`${b}-btn > ${ee}-down`]:{fontSize:Oe},[`${ee}-down::before`]:{transition:`transform ${ie}`}},[`${Ne}-wrap-open`]:{[`${ee}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${b}-slide-down-enter${b}-slide-down-enter-active${Ne}-placement-bottomLeft, &${b}-slide-down-appear${b}-slide-down-appear-active${Ne}-placement-bottomLeft, &${b}-slide-down-enter${b}-slide-down-enter-active${Ne}-placement-bottom, &${b}-slide-down-appear${b}-slide-down-appear-active${Ne}-placement-bottom, &${b}-slide-down-enter${b}-slide-down-enter-active${Ne}-placement-bottomRight, &${b}-slide-down-appear${b}-slide-down-appear-active${Ne}-placement-bottomRight`]:{animationName:ft.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${Ne}-placement-topLeft, &${b}-slide-up-appear${b}-slide-up-appear-active${Ne}-placement-topLeft, &${b}-slide-up-enter${b}-slide-up-enter-active${Ne}-placement-top, &${b}-slide-up-appear${b}-slide-up-appear-active${Ne}-placement-top, &${b}-slide-up-enter${b}-slide-up-enter-active${Ne}-placement-topRight, &${b}-slide-up-appear${b}-slide-up-appear-active${Ne}-placement-topRight`]:{animationName:ft.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${Ne}-placement-bottomLeft, &${b}-slide-down-leave${b}-slide-down-leave-active${Ne}-placement-bottom, &${b}-slide-down-leave${b}-slide-down-leave-active${Ne}-placement-bottomRight`]:{animationName:ft.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${Ne}-placement-topLeft, &${b}-slide-up-leave${b}-slide-up-leave-active${Ne}-placement-top, &${b}-slide-up-leave${b}-slide-up-leave-active${Ne}-placement-topRight`]:{animationName:ft.ly}})},(0,bt.ZP)(Me,{colorBg:qe,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${Ne} ${he}`]:{position:"relative",margin:0},[`${he}-submenu-popup`]:{position:"absolute",zIndex:a,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${Ne}, ${Ne}-menu-submenu`]:{[he]:Object.assign(Object.assign({padding:Ce,listStyleType:"none",backgroundColor:qe,backgroundClip:"padding-box",borderRadius:Me.borderRadiusLG,outline:"none",boxShadow:Me.boxShadowSecondary},(0,ue.Qy)(Me)),{[`${he}-item-group-title`]:{padding:`${ce}px ${tt}px`,color:Me.colorTextDescription,transition:`all ${ie}`},[`${he}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${he}-item-icon`]:{minWidth:Be,marginInlineEnd:Me.marginXS,fontSize:Me.fontSizeSM},[`${he}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${ie}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${he}-item, ${he}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${ce}px ${tt}px`,color:Me.colorText,fontWeight:"normal",fontSize:Be,lineHeight:Me.lineHeight,cursor:"pointer",transition:`all ${ie}`,borderRadius:Me.borderRadiusSM,"&:hover, &-active":{backgroundColor:Me.controlItemBgHover}},(0,ue.Qy)(Me)),{"&-selected":{color:Me.colorPrimary,backgroundColor:Me.controlItemBgActive,"&:hover, &-active":{backgroundColor:Me.controlItemBgActiveHover}},"&-disabled":{color:Ue,cursor:"not-allowed","&:hover":{color:Ue,backgroundColor:qe,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${Me.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:Me.colorSplit},[`${Ne}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:Me.paddingXS,[`${Ne}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:Me.colorTextDescription,fontSize:Oe,fontStyle:"normal"}}}),[`${he}-item-group-list`]:{margin:`0 ${Me.marginXS}px`,padding:0,listStyle:"none"},[`${he}-submenu-title`]:{paddingInlineEnd:tt+Me.fontSizeSM},[`${he}-submenu-vertical`]:{position:"relative"},[`${he}-submenu${he}-submenu-disabled ${Ne}-menu-submenu-title`]:{[`&, ${Ne}-menu-submenu-arrow-icon`]:{color:Ue,backgroundColor:qe,cursor:"not-allowed"}},[`${he}-submenu-selected ${Ne}-menu-submenu-title`]:{color:Me.colorPrimary}})}},[(0,ft.oN)(Me,"slide-up"),(0,ft.oN)(Me,"slide-down"),(0,qt.Fm)(Me,"move-up"),(0,qt.Fm)(Me,"move-down"),(0,tn._y)(Me,"zoom-big")]]};var Ke=(0,nn.Z)("Dropdown",(Me,Ne)=>{let{rootPrefixCls:he}=Ne;const{marginXXS:a,sizePopupArrow:y,controlHeight:E,fontSize:b,lineHeight:ee,paddingXXS:ie,componentCls:ce,borderRadiusLG:Be}=Me,Ce=(E-b*ee)/2,{dropdownArrowOffset:Ue}=(0,bt.fS)({contentRadius:Be}),Oe=(0,vt.TS)(Me,{menuCls:`${ce}-menu`,rootPrefixCls:he,dropdownArrowDistance:y/2+a,dropdownArrowOffset:Ue,dropdownPaddingVertical:Ce,dropdownEdgeChildPadding:ie});return[ve(Oe),Ze(Oe)]},Me=>({zIndexPopup:Me.zIndexPopupBase+50}))},71322:function(kt,tA,Fe){"use strict";Fe.d(tA,{D:function(){return ee},Z:function(){return Be}});var ue=Fe(87462),ft=Fe(67294),qt={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"},tn=qt,bt=Fe(74643),nn=function(Ue,Oe){return ft.createElement(bt.Z,(0,ue.Z)({},Ue,{ref:Oe,icon:tn}))},vt=ft.forwardRef(nn),De=Fe(22751),Ze=Fe(91034),ve=Fe(94184),Ke=Fe.n(ve),Me=Fe(10366),he=Ce=>!isNaN(parseFloat(Ce))&&isFinite(Ce),a=Fe(53124),y=Fe(84321),E=function(Ce,Ue){var Oe={};for(var tt in Ce)Object.prototype.hasOwnProperty.call(Ce,tt)&&Ue.indexOf(tt)<0&&(Oe[tt]=Ce[tt]);if(Ce!=null&&typeof Object.getOwnPropertySymbols=="function")for(var qe=0,tt=Object.getOwnPropertySymbols(Ce);qe{let Ce=0;return function(){let Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ce+=1,`${Ue}${Ce}`}})();var Be=ft.forwardRef((Ce,Ue)=>{const{prefixCls:Oe,className:tt,trigger:qe,children:ht,defaultCollapsed:St=!1,theme:Tt="dark",style:Kt={},collapsible:an=!1,reverseArrow:Nn=!1,width:un=200,collapsedWidth:zt=80,zeroWidthTriggerStyle:Jt,breakpoint:Pt,onCollapse:Ye,onBreakpoint:Wt}=Ce,en=E(Ce,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:$n}=(0,ft.useContext)(y.Gs),[Ft,Et]=(0,ft.useState)("collapsed"in Ce?Ce.collapsed:St),[on,nA]=(0,ft.useState)(!1);(0,ft.useEffect)(()=>{"collapsed"in Ce&&Et(Ce.collapsed)},[Ce.collapsed]);const Qn=(Kn,_t)=>{"collapsed"in Ce||Et(Kn),Ye==null||Ye(Kn,_t)},AA=(0,ft.useRef)();AA.current=Kn=>{nA(Kn.matches),Wt==null||Wt(Kn.matches),Ft!==Kn.matches&&Qn(Kn.matches,"responsive")},(0,ft.useEffect)(()=>{function Kn(rt){return AA.current(rt)}let _t;if(typeof window!="undefined"){const{matchMedia:rt}=window;if(rt&&Pt&&Pt in b){_t=rt(`(max-width: ${b[Pt]})`);try{_t.addEventListener("change",Kn)}catch(_e){_t.addListener(Kn)}Kn(_t)}}return()=>{try{_t==null||_t.removeEventListener("change",Kn)}catch(rt){_t==null||_t.removeListener(Kn)}}},[Pt]),(0,ft.useEffect)(()=>{const Kn=ie("ant-sider-");return $n.addSider(Kn),()=>$n.removeSider(Kn)},[]);const Ve=()=>{Qn(!Ft,"clickTrigger")},{getPrefixCls:An}=(0,ft.useContext)(a.E_),Sn=()=>{const Kn=An("layout-sider",Oe),_t=(0,Me.Z)(en,["collapsed"]),rt=Ft?zt:un,_e=he(rt)?`${rt}px`:String(rt),At=parseFloat(String(zt||0))===0?ft.createElement("span",{onClick:Ve,className:Ke()(`${Kn}-zero-width-trigger`,`${Kn}-zero-width-trigger-${Nn?"right":"left"}`),style:Jt},qe||ft.createElement(vt,null)):null,ln={expanded:Nn?ft.createElement(Ze.Z,null):ft.createElement(De.Z,null),collapsed:Nn?ft.createElement(De.Z,null):ft.createElement(Ze.Z,null)}[Ft?"collapsed":"expanded"],pn=qe!==null?At||ft.createElement("div",{className:`${Kn}-trigger`,onClick:Ve,style:{width:_e}},qe||ln):null,Cn=Object.assign(Object.assign({},Kt),{flex:`0 0 ${_e}`,maxWidth:_e,minWidth:_e,width:_e}),In=Ke()(Kn,`${Kn}-${Tt}`,{[`${Kn}-collapsed`]:!!Ft,[`${Kn}-has-trigger`]:an&&qe!==null&&!At,[`${Kn}-below`]:!!on,[`${Kn}-zero-width`]:parseFloat(_e)===0},tt);return ft.createElement("aside",Object.assign({className:In},_t,{style:Cn,ref:Ue}),ft.createElement("div",{className:`${Kn}-children`},ht),an||on&&At?pn:null)},iA=ft.useMemo(()=>({siderCollapsed:Ft}),[Ft]);return ft.createElement(ee.Provider,{value:iA},Sn())})},84321:function(kt,tA,Fe){"use strict";Fe.d(tA,{VY:function(){return ie},$_:function(){return ee},h4:function(){return b},Gs:function(){return Ne},ZP:function(){return ce}});var ue=Fe(74902),ft=Fe(94184),qt=Fe.n(ft),tn=Fe(10366),bt=Fe(67294),nn=Fe(53124),vt=Fe(67968),Ze=Be=>{const{componentCls:Ce,bodyBg:Ue,lightSiderBg:Oe,lightTriggerBg:tt,lightTriggerColor:qe}=Be;return{[`${Ce}-sider-light`]:{background:Oe,[`${Ce}-sider-trigger`]:{color:qe,background:tt},[`${Ce}-sider-zero-width-trigger`]:{color:qe,background:tt,border:`1px solid ${Ue}`,borderInlineStart:0}}}};const ve=Be=>{const{antCls:Ce,componentCls:Ue,colorText:Oe,triggerColor:tt,footerBg:qe,triggerBg:ht,headerHeight:St,headerPadding:Tt,headerColor:Kt,footerPadding:an,triggerHeight:Nn,zeroTriggerHeight:un,zeroTriggerWidth:zt,motionDurationMid:Jt,motionDurationSlow:Pt,fontSize:Ye,borderRadius:Wt,bodyBg:en,headerBg:$n,siderBg:Ft}=Be;return{[Ue]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:en,"&, *":{boxSizing:"border-box"},[`&${Ue}-has-sider`]:{flexDirection:"row",[`> ${Ue}, > ${Ue}-content`]:{width:0}},[`${Ue}-header, &${Ue}-footer`]:{flex:"0 0 auto"},[`${Ue}-sider`]:{position:"relative",minWidth:0,background:Ft,transition:`all ${Jt}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${Ce}-menu${Ce}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:Nn},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:Nn,color:tt,lineHeight:`${Nn}px`,textAlign:"center",background:ht,cursor:"pointer",transition:`all ${Jt}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:St,insetInlineEnd:-zt,zIndex:1,width:zt,height:un,color:tt,fontSize:Be.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ft,borderStartStartRadius:0,borderStartEndRadius:Wt,borderEndEndRadius:Wt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Pt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Pt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-zt,borderStartStartRadius:Wt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:Wt}}}}},Ze(Be)),{"&-rtl":{direction:"rtl"}}),[`${Ue}-header`]:{height:St,padding:Tt,color:Kt,lineHeight:`${St}px`,background:$n,[`${Ce}-menu`]:{lineHeight:"inherit"}},[`${Ue}-footer`]:{padding:an,color:Oe,fontSize:Ye,background:qe},[`${Ue}-content`]:{flex:"auto",minHeight:0}}};var Ke=(0,vt.Z)("Layout",Be=>[ve(Be)],Be=>{const{colorBgLayout:Ce,controlHeight:Ue,controlHeightLG:Oe,colorText:tt,controlHeightSM:qe,marginXXS:ht,colorTextLightSolid:St,colorBgContainer:Tt}=Be,Kt=Oe*1.25;return{colorBgHeader:"#001529",colorBgBody:Ce,colorBgTrigger:"#002140",bodyBg:Ce,headerBg:"#001529",headerHeight:Ue*2,headerPadding:`0 ${Kt}px`,headerColor:tt,footerPadding:`${qe}px ${Kt}px`,footerBg:Ce,siderBg:"#001529",triggerHeight:Oe+ht*2,triggerBg:"#002140",triggerColor:St,zeroTriggerWidth:Oe,zeroTriggerHeight:Oe,lightSiderBg:Tt,lightTriggerBg:Tt,lightTriggerColor:tt}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),Me=function(Be,Ce){var Ue={};for(var Oe in Be)Object.prototype.hasOwnProperty.call(Be,Oe)&&Ce.indexOf(Oe)<0&&(Ue[Oe]=Be[Oe]);if(Be!=null&&typeof Object.getOwnPropertySymbols=="function")for(var tt=0,Oe=Object.getOwnPropertySymbols(Be);ttnull,removeSider:()=>null}});function he(Be){let{suffixCls:Ce,tagName:Ue,displayName:Oe}=Be;return tt=>bt.forwardRef((ht,St)=>bt.createElement(tt,Object.assign({ref:St,suffixCls:Ce,tagName:Ue},ht)))}const a=bt.forwardRef((Be,Ce)=>{const{prefixCls:Ue,suffixCls:Oe,className:tt,tagName:qe}=Be,ht=Me(Be,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:St}=bt.useContext(nn.E_),Tt=St("layout",Ue),[Kt,an]=Ke(Tt),Nn=Oe?`${Tt}-${Oe}`:Tt;return Kt(bt.createElement(qe,Object.assign({className:qt()(Ue||Nn,tt,an),ref:Ce},ht)))}),y=bt.forwardRef((Be,Ce)=>{const{direction:Ue}=bt.useContext(nn.E_),[Oe,tt]=bt.useState([]),{prefixCls:qe,className:ht,rootClassName:St,children:Tt,hasSider:Kt,tagName:an,style:Nn}=Be,un=Me(Be,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),zt=(0,tn.Z)(un,["suffixCls"]),{getPrefixCls:Jt,layout:Pt}=bt.useContext(nn.E_),Ye=Jt("layout",qe),[Wt,en]=Ke(Ye),$n=qt()(Ye,{[`${Ye}-has-sider`]:typeof Kt=="boolean"?Kt:Oe.length>0,[`${Ye}-rtl`]:Ue==="rtl"},Pt==null?void 0:Pt.className,ht,St,en),Ft=bt.useMemo(()=>({siderHook:{addSider:Et=>{tt(on=>[].concat((0,ue.Z)(on),[Et]))},removeSider:Et=>{tt(on=>on.filter(nA=>nA!==Et))}}}),[]);return Wt(bt.createElement(Ne.Provider,{value:Ft},bt.createElement(an,Object.assign({ref:Ce,className:$n,style:Object.assign(Object.assign({},Pt==null?void 0:Pt.style),Nn)},zt),Tt)))}),E=he({tagName:"div",displayName:"Layout"})(y),b=he({suffixCls:"header",tagName:"header",displayName:"Header"})(a),ee=he({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(a),ie=he({suffixCls:"content",tagName:"main",displayName:"Content"})(a);var ce=E},76529:function(kt,tA,Fe){"use strict";Fe.d(tA,{J:function(){return nn}});var ue=Fe(67294),ft=Fe(4173),qt=Fe(60276),tn=function(vt,De){var Ze={};for(var ve in vt)Object.prototype.hasOwnProperty.call(vt,ve)&&De.indexOf(ve)<0&&(Ze[ve]=vt[ve]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ke=0,ve=Object.getOwnPropertySymbols(vt);Ke{const{children:Ze}=vt,ve=tn(vt,["children"]),Ke=ue.useContext(bt),Me=ue.useMemo(()=>Object.assign(Object.assign({},Ke),ve),[Ke,ve.prefixCls,ve.mode,ve.selectable]);return ue.createElement(bt.Provider,{value:Me},ue.createElement(ft.BR,null,(0,qt.supportNodeRef)(Ze)?ue.cloneElement(Ze,{ref:De}):Ze))});tA.Z=bt},68508:function(kt,tA,Fe){"use strict";Fe.d(tA,{default:function(){return Kn}});var ue=Fe(78595),ft=Fe(67294),qt=Fe(71322),tn=Fe(94184),bt=Fe.n(tn),nn=Fe(53124),vt=function(_t,rt){var _e={};for(var At in _t)Object.prototype.hasOwnProperty.call(_t,At)&&rt.indexOf(At)<0&&(_e[At]=_t[At]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,At=Object.getOwnPropertySymbols(_t);pt{const{prefixCls:rt,className:_e,dashed:At}=_t,pt=vt(_t,["prefixCls","className","dashed"]),{getPrefixCls:Gt}=ft.useContext(nn.E_),ln=Gt("menu",rt),pn=bt()({[`${ln}-item-divider-dashed`]:!!At},_e);return ft.createElement(ue.iz,Object.assign({className:pn},pt))},ve=Fe(37419),Ke=Fe(10366),Me=Fe(83062),Ne=Fe(96159),a=(0,ft.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),E=_t=>{var rt;const{className:_e,children:At,icon:pt,title:Gt,danger:ln}=_t,{prefixCls:pn,firstLevel:Cn,direction:In,disableMenuItemTitleTooltip:rA,inlineCollapsed:qn}=ft.useContext(a),hA=It=>{const rn=ft.createElement("span",{className:`${pn}-title-content`},At);return(!pt||(0,Ne.l$)(At)&&At.type==="span")&&At&&It&&Cn&&typeof At=="string"?ft.createElement("div",{className:`${pn}-inline-collapsed-noicon`},At.charAt(0)):rn},{siderCollapsed:Qt}=ft.useContext(qt.D);let vn=Gt;typeof Gt=="undefined"?vn=Cn?At:"":Gt===!1&&(vn="");const cn={title:vn};!Qt&&!qn&&(cn.title=null,cn.open=!1);const Ln=(0,ve.Z)(At).length;let ct=ft.createElement(ue.ck,Object.assign({},(0,Ke.Z)(_t,["title","icon","danger"]),{className:bt()({[`${pn}-item-danger`]:ln,[`${pn}-item-only-child`]:(pt?Ln+1:Ln)===1},_e),title:typeof Gt=="string"?Gt:void 0}),(0,Ne.Tm)(pt,{className:bt()((0,Ne.l$)(pt)?(rt=pt.props)===null||rt===void 0?void 0:rt.className:"",`${pn}-item-icon`)}),hA(qn));return rA||(ct=ft.createElement(Me.Z,Object.assign({},cn,{placement:In==="rtl"?"left":"right",overlayClassName:`${pn}-inline-collapsed-tooltip`}),ct)),ct},ee=_t=>{var rt;const{popupClassName:_e,icon:At,title:pt,theme:Gt}=_t,ln=ft.useContext(a),{prefixCls:pn,inlineCollapsed:Cn,theme:In}=ln,rA=(0,ue.Xl)();let qn;if(!At)qn=Cn&&!rA.length&&pt&&typeof pt=="string"?ft.createElement("div",{className:`${pn}-inline-collapsed-noicon`},pt.charAt(0)):ft.createElement("span",{className:`${pn}-title-content`},pt);else{const Qt=(0,Ne.l$)(pt)&&pt.type==="span";qn=ft.createElement(ft.Fragment,null,(0,Ne.Tm)(At,{className:bt()((0,Ne.l$)(At)?(rt=At.props)===null||rt===void 0?void 0:rt.className:"",`${pn}-item-icon`)}),Qt?pt:ft.createElement("span",{className:`${pn}-title-content`},pt))}const hA=ft.useMemo(()=>Object.assign(Object.assign({},ln),{firstLevel:!1}),[ln]);return ft.createElement(a.Provider,{value:hA},ft.createElement(ue.Wd,Object.assign({},(0,Ke.Z)(_t,["icon"]),{title:qn,popupClassName:bt()(pn,_e,`${pn}-${Gt||In}`)})))},ie=Fe(25877),ce=Fe(60276),Be=Fe(33603),Ce=Fe(76529),Ue=function(_t,rt){var _e={};for(var At in _t)Object.prototype.hasOwnProperty.call(_t,At)&&rt.indexOf(At)<0&&(_e[At]=_t[At]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,At=Object.getOwnPropertySymbols(_t);pt{if(rt&&typeof rt=="object"){const At=rt,{label:pt,children:Gt,key:ln,type:pn}=At,Cn=Ue(At,["label","children","key","type"]),In=ln!=null?ln:`tmp-${_e}`;return Gt||pn==="group"?pn==="group"?ft.createElement(ue.BW,Object.assign({key:In},Cn,{title:pt}),Oe(Gt)):ft.createElement(ee,Object.assign({key:In},Cn,{title:pt}),Oe(Gt)):pn==="divider"?ft.createElement(Ze,Object.assign({key:In},Cn)):ft.createElement(E,Object.assign({key:In},Cn),pt)}return null}).filter(rt=>rt)}function tt(_t){return ft.useMemo(()=>_t&&Oe(_t),[_t])}var qe=Fe(84780),ht=Fe(14747),St=Fe(33507),Tt=Fe(67771),Kt=Fe(50438),an=Fe(67968),Nn=Fe(45503),zt=_t=>{const{componentCls:rt,motionDurationSlow:_e,horizontalLineHeight:At,colorSplit:pt,lineWidth:Gt,lineType:ln,itemPaddingInline:pn}=_t;return{[`${rt}-horizontal`]:{lineHeight:At,border:0,borderBottom:`${Gt}px ${ln} ${pt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${rt}-item, ${rt}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:pn},[`> ${rt}-item:hover, > ${rt}-item-active, > ${rt}-submenu ${rt}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${rt}-item, ${rt}-submenu-title`]:{transition:[`border-color ${_e}`,`background ${_e}`].join(",")},[`${rt}-submenu-arrow`]:{display:"none"}}}},Pt=_t=>{let{componentCls:rt,menuArrowOffset:_e}=_t;return{[`${rt}-rtl`]:{direction:"rtl"},[`${rt}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${rt}-rtl${rt}-vertical, ${rt}-submenu-rtl ${rt}-vertical`]:{[`${rt}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${_e})`},"&::after":{transform:`rotate(45deg) translateY(${_e})`}}}}};const Ye=_t=>Object.assign({},(0,ht.oN)(_t));var en=(_t,rt)=>{const{componentCls:_e,itemColor:At,itemSelectedColor:pt,groupTitleColor:Gt,itemBg:ln,subMenuItemBg:pn,itemSelectedBg:Cn,activeBarHeight:In,activeBarWidth:rA,activeBarBorderWidth:qn,motionDurationSlow:hA,motionEaseInOut:Qt,motionEaseOut:vn,itemPaddingInline:cn,motionDurationMid:Ln,itemHoverColor:ct,lineType:It,colorSplit:rn,itemDisabledColor:Yn,dangerItemColor:Jn,dangerItemHoverColor:wA,dangerItemSelectedColor:pA,dangerItemActiveBg:uA,dangerItemSelectedBg:Xn,itemHoverBg:Mn,itemActiveBg:Fn,menuSubMenuBg:dA,horizontalItemSelectedColor:lA,horizontalItemSelectedBg:rr,horizontalItemBorderRadius:kA,horizontalItemHoverBg:cr,popupBg:gr}=_t;return{[`${_e}-${rt}, ${_e}-${rt} > ${_e}`]:{color:At,background:ln,[`&${_e}-root:focus-visible`]:Object.assign({},Ye(_t)),[`${_e}-item-group-title`]:{color:Gt},[`${_e}-submenu-selected`]:{[`> ${_e}-submenu-title`]:{color:pt}},[`${_e}-item-disabled, ${_e}-submenu-disabled`]:{color:`${Yn} !important`},[`${_e}-item:not(${_e}-item-selected):not(${_e}-submenu-selected)`]:{[`&:hover, > ${_e}-submenu-title:hover`]:{color:ct}},[`&:not(${_e}-horizontal)`]:{[`${_e}-item:not(${_e}-item-selected)`]:{"&:hover":{backgroundColor:Mn},"&:active":{backgroundColor:Fn}},[`${_e}-submenu-title`]:{"&:hover":{backgroundColor:Mn},"&:active":{backgroundColor:Fn}}},[`${_e}-item-danger`]:{color:Jn,[`&${_e}-item:hover`]:{[`&:not(${_e}-item-selected):not(${_e}-submenu-selected)`]:{color:wA}},[`&${_e}-item:active`]:{background:uA}},[`${_e}-item a`]:{"&, &:hover":{color:"inherit"}},[`${_e}-item-selected`]:{color:pt,[`&${_e}-item-danger`]:{color:pA},"a, a:hover":{color:"inherit"}},[`& ${_e}-item-selected`]:{backgroundColor:Cn,[`&${_e}-item-danger`]:{backgroundColor:Xn}},[`${_e}-item, ${_e}-submenu-title`]:{[`&:not(${_e}-item-disabled):focus-visible`]:Object.assign({},Ye(_t))},[`&${_e}-submenu > ${_e}`]:{backgroundColor:dA},[`&${_e}-popup > ${_e}`]:{backgroundColor:gr},[`&${_e}-horizontal`]:Object.assign(Object.assign({},rt==="dark"?{borderBottom:0}:{}),{[`> ${_e}-item, > ${_e}-submenu`]:{top:qn,marginTop:-qn,marginBottom:0,borderRadius:kA,"&::after":{position:"absolute",insetInline:cn,bottom:0,borderBottom:`${In}px solid transparent`,transition:`border-color ${hA} ${Qt}`,content:'""'},"&:hover, &-active, &-open":{background:cr,"&::after":{borderBottomWidth:In,borderBottomColor:lA}},"&-selected":{color:lA,backgroundColor:rr,"&:hover":{backgroundColor:rr},"&::after":{borderBottomWidth:In,borderBottomColor:lA}}}}),[`&${_e}-root`]:{[`&${_e}-inline, &${_e}-vertical`]:{borderInlineEnd:`${qn}px ${It} ${rn}`}},[`&${_e}-inline`]:{[`${_e}-sub${_e}-inline`]:{background:pn},[`${_e}-item, ${_e}-submenu-title`]:qn&&rA?{width:`calc(100% + ${qn}px)`}:{},[`${_e}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${rA}px solid ${pt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ln} ${vn}`,`opacity ${Ln} ${vn}`].join(","),content:'""'},[`&${_e}-item-danger`]:{"&::after":{borderInlineEndColor:pA}}},[`${_e}-selected, ${_e}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ln} ${Qt}`,`opacity ${Ln} ${Qt}`].join(",")}}}}}};const $n=_t=>{const{componentCls:rt,itemHeight:_e,itemMarginInline:At,padding:pt,menuArrowSize:Gt,marginXS:ln,itemMarginBlock:pn}=_t,Cn=pt+Gt+ln;return{[`${rt}-item`]:{position:"relative",overflow:"hidden"},[`${rt}-item, ${rt}-submenu-title`]:{height:_e,lineHeight:`${_e}px`,paddingInline:pt,overflow:"hidden",textOverflow:"ellipsis",marginInline:At,marginBlock:pn,width:`calc(100% - ${At*2}px)`},[`> ${rt}-item, > ${rt}-submenu > ${rt}-submenu-title`]:{height:_e,lineHeight:`${_e}px`},[`${rt}-item-group-list ${rt}-submenu-title, ${rt}-submenu-title`]:{paddingInlineEnd:Cn}}};var Et=_t=>{const{componentCls:rt,iconCls:_e,itemHeight:At,colorTextLightSolid:pt,dropdownWidth:Gt,controlHeightLG:ln,motionDurationMid:pn,motionEaseOut:Cn,paddingXL:In,itemMarginInline:rA,fontSizeLG:qn,motionDurationSlow:hA,paddingXS:Qt,boxShadowSecondary:vn,collapsedWidth:cn,collapsedIconSize:Ln}=_t,ct={height:At,lineHeight:`${At}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[rt]:{"&-inline, &-vertical":Object.assign({[`&${rt}-root`]:{boxShadow:"none"}},$n(_t))},[`${rt}-submenu-popup`]:{[`${rt}-vertical`]:Object.assign(Object.assign({},$n(_t)),{boxShadow:vn})}},{[`${rt}-submenu-popup ${rt}-vertical${rt}-sub`]:{minWidth:Gt,maxHeight:`calc(100vh - ${ln*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${rt}-inline`]:{width:"100%",[`&${rt}-root`]:{[`${rt}-item, ${rt}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${hA}`,`background ${hA}`,`padding ${pn} ${Cn}`].join(","),[`> ${rt}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${rt}-sub${rt}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${rt}-submenu > ${rt}-submenu-title`]:ct,[`& ${rt}-item-group-title`]:{paddingInlineStart:In}},[`${rt}-item`]:ct}},{[`${rt}-inline-collapsed`]:{width:cn,[`&${rt}-root`]:{[`${rt}-item, ${rt}-submenu ${rt}-submenu-title`]:{[`> ${rt}-inline-collapsed-noicon`]:{fontSize:qn,textAlign:"center"}}},[`> ${rt}-item, > ${rt}-item-group > ${rt}-item-group-list > ${rt}-item, > ${rt}-item-group > ${rt}-item-group-list > ${rt}-submenu > ${rt}-submenu-title, > ${rt}-submenu > ${rt}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${qn/2}px - ${rA}px)`,textOverflow:"clip",[` ${rt}-submenu-arrow, ${rt}-submenu-expand-icon `]:{opacity:0},[`${rt}-item-icon, ${_e}`]:{margin:0,fontSize:Ln,lineHeight:`${At}px`,"+ span":{display:"inline-block",opacity:0}}},[`${rt}-item-icon, ${_e}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${rt}-item-icon, ${_e}`]:{display:"none"},"a, a:hover":{color:pt}},[`${rt}-item-group-title`]:Object.assign(Object.assign({},ht.vS),{paddingInline:Qt})}}]};const on=_t=>{const{componentCls:rt,motionDurationSlow:_e,motionDurationMid:At,motionEaseInOut:pt,motionEaseOut:Gt,iconCls:ln,iconSize:pn,iconMarginInlineEnd:Cn}=_t;return{[`${rt}-item, ${rt}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${_e}`,`background ${_e}`,`padding ${_e} ${pt}`].join(","),[`${rt}-item-icon, ${ln}`]:{minWidth:pn,fontSize:pn,transition:[`font-size ${At} ${Gt}`,`margin ${_e} ${pt}`,`color ${_e}`].join(","),"+ span":{marginInlineStart:Cn,opacity:1,transition:[`opacity ${_e} ${pt}`,`margin ${_e}`,`color ${_e}`].join(",")}},[`${rt}-item-icon`]:Object.assign({},(0,ht.Ro)()),[`&${rt}-item-only-child`]:{[`> ${ln}, > ${rt}-item-icon`]:{marginInlineEnd:0}}},[`${rt}-item-disabled, ${rt}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${rt}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},nA=_t=>{const{componentCls:rt,motionDurationSlow:_e,motionEaseInOut:At,borderRadius:pt,menuArrowSize:Gt,menuArrowOffset:ln}=_t;return{[`${rt}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:_t.margin,width:Gt,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${_e} ${At}, opacity ${_e}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:Gt*.6,height:Gt*.15,backgroundColor:"currentcolor",borderRadius:pt,transition:[`background ${_e} ${At}`,`transform ${_e} ${At}`,`top ${_e} ${At}`,`color ${_e} ${At}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${ln})`},"&::after":{transform:`rotate(-45deg) translateY(${ln})`}}}}},Qn=_t=>{const{antCls:rt,componentCls:_e,fontSize:At,motionDurationSlow:pt,motionDurationMid:Gt,motionEaseInOut:ln,paddingXS:pn,padding:Cn,colorSplit:In,lineWidth:rA,zIndexPopup:qn,borderRadiusLG:hA,subMenuItemBorderRadius:Qt,menuArrowSize:vn,menuArrowOffset:cn,lineType:Ln,menuPanelMaskInset:ct,groupTitleLineHeight:It,groupTitleFontSize:rn}=_t;return[{"":{[`${_e}`]:Object.assign(Object.assign({},(0,ht.dF)()),{"&-hidden":{display:"none"}})},[`${_e}-submenu-hidden`]:{display:"none"}},{[_e]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ht.Wf)(_t)),(0,ht.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:At,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${pt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${_e}-item`]:{flex:"none"}},[`${_e}-item, ${_e}-submenu, ${_e}-submenu-title`]:{borderRadius:_t.itemBorderRadius},[`${_e}-item-group-title`]:{padding:`${pn}px ${Cn}px`,fontSize:rn,lineHeight:It,transition:`all ${pt}`},[`&-horizontal ${_e}-submenu`]:{transition:[`border-color ${pt} ${ln}`,`background ${pt} ${ln}`].join(",")},[`${_e}-submenu, ${_e}-submenu-inline`]:{transition:[`border-color ${pt} ${ln}`,`background ${pt} ${ln}`,`padding ${Gt} ${ln}`].join(",")},[`${_e}-submenu ${_e}-sub`]:{cursor:"initial",transition:[`background ${pt} ${ln}`,`padding ${pt} ${ln}`].join(",")},[`${_e}-title-content`]:{transition:`color ${pt}`},[`${_e}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${_e}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:In,borderStyle:Ln,borderWidth:0,borderTopWidth:rA,marginBlock:rA,padding:0,"&-dashed":{borderStyle:"dashed"}}}),on(_t)),{[`${_e}-item-group`]:{[`${_e}-item-group-list`]:{margin:0,padding:0,[`${_e}-item, ${_e}-submenu-title`]:{paddingInline:`${At*2}px ${Cn}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:qn,borderRadius:hA,boxShadow:"none",transformOrigin:"0 0",[`&${_e}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${ct}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:ct},"\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:_t.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:_t.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:_t.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:_t.paddingXS},[`> ${_e}`]:Object.assign(Object.assign(Object.assign({borderRadius:hA},on(_t)),nA(_t)),{[`${_e}-item, ${_e}-submenu > ${_e}-submenu-title`]:{borderRadius:Qt},[`${_e}-submenu-title::after`]:{transition:`transform ${pt} ${ln}`}})}}),nA(_t)),{[`&-inline-collapsed ${_e}-submenu-arrow, &-inline ${_e}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${cn})`},"&::after":{transform:`rotate(45deg) translateX(-${cn})`}},[`${_e}-submenu-open${_e}-submenu-inline > ${_e}-submenu-title > ${_e}-submenu-arrow`]:{transform:`translateY(-${vn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${cn})`},"&::before":{transform:`rotate(45deg) translateX(${cn})`}}})},{[`${rt}-layout-header`]:{[_e]:{lineHeight:"inherit"}}}]};var AA=(_t,rt)=>(0,an.Z)("Menu",At=>{if(rt===!1)return[];const{colorBgElevated:pt,colorPrimary:Gt,colorTextLightSolid:ln,controlHeightLG:pn,fontSize:Cn,darkItemColor:In,darkDangerItemColor:rA,darkItemBg:qn,darkSubMenuItemBg:hA,darkItemSelectedColor:Qt,darkItemSelectedBg:vn,darkDangerItemSelectedBg:cn,darkItemHoverBg:Ln,darkGroupTitleColor:ct,darkItemHoverColor:It,darkItemDisabledColor:rn,darkDangerItemHoverColor:Yn,darkDangerItemSelectedColor:Jn,darkDangerItemActiveBg:wA}=At,pA=Cn/7*5,uA=(0,Nn.TS)(At,{menuArrowSize:pA,menuHorizontalHeight:pn*1.15,menuArrowOffset:`${pA*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:pt}),Xn=(0,Nn.TS)(uA,{itemColor:In,itemHoverColor:It,groupTitleColor:ct,itemSelectedColor:Qt,itemBg:qn,popupBg:qn,subMenuItemBg:hA,itemActiveBg:"transparent",itemSelectedBg:vn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ln,itemDisabledColor:rn,dangerItemColor:rA,dangerItemHoverColor:Yn,dangerItemSelectedColor:Jn,dangerItemActiveBg:wA,dangerItemSelectedBg:cn,menuSubMenuBg:hA,horizontalItemSelectedColor:ln,horizontalItemSelectedBg:Gt});return[Qn(uA),zt(uA),Et(uA),en(uA,"light"),en(Xn,"dark"),Pt(uA),(0,St.Z)(uA),(0,Tt.oN)(uA,"slide-up"),(0,Tt.oN)(uA,"slide-down"),(0,Kt._y)(uA,"zoom-big")]},At=>{const{colorPrimary:pt,colorError:Gt,colorTextDisabled:ln,colorErrorBg:pn,colorText:Cn,colorTextDescription:In,colorBgContainer:rA,colorFillAlter:qn,colorFillContent:hA,lineWidth:Qt,lineWidthBold:vn,controlItemBgActive:cn,colorBgTextHover:Ln,controlHeightLG:ct,lineHeight:It,colorBgElevated:rn,marginXXS:Yn,padding:Jn,fontSize:wA,controlHeightSM:pA,fontSizeLG:uA,colorTextLightSolid:Xn,colorErrorHover:Mn}=At,Fn=new qe.C(Xn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:At.zIndexPopupBase+50,radiusItem:At.borderRadiusLG,itemBorderRadius:At.borderRadiusLG,radiusSubMenuItem:At.borderRadiusSM,subMenuItemBorderRadius:At.borderRadiusSM,colorItemText:Cn,itemColor:Cn,colorItemTextHover:Cn,itemHoverColor:Cn,colorItemTextHoverHorizontal:pt,horizontalItemHoverColor:pt,colorGroupTitle:In,groupTitleColor:In,colorItemTextSelected:pt,itemSelectedColor:pt,colorItemTextSelectedHorizontal:pt,horizontalItemSelectedColor:pt,colorItemBg:rA,itemBg:rA,colorItemBgHover:Ln,itemHoverBg:Ln,colorItemBgActive:hA,itemActiveBg:cn,colorSubItemBg:qn,subMenuItemBg:qn,colorItemBgSelected:cn,itemSelectedBg:cn,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:vn,activeBarHeight:vn,colorActiveBarBorderSize:Qt,activeBarBorderWidth:Qt,colorItemTextDisabled:ln,itemDisabledColor:ln,colorDangerItemText:Gt,dangerItemColor:Gt,colorDangerItemTextHover:Gt,dangerItemHoverColor:Gt,colorDangerItemTextSelected:Gt,dangerItemSelectedColor:Gt,colorDangerItemBgActive:pn,dangerItemActiveBg:pn,colorDangerItemBgSelected:pn,dangerItemSelectedBg:pn,itemMarginInline:At.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:ct,groupTitleLineHeight:It,collapsedWidth:ct*2,popupBg:rn,itemMarginBlock:Yn,itemPaddingInline:Jn,horizontalLineHeight:`${ct*1.15}px`,iconSize:wA,iconMarginInlineEnd:pA-wA,collapsedIconSize:uA,groupTitleFontSize:wA,darkItemDisabledColor:new qe.C(Xn).setAlpha(.25).toRgbString(),darkItemColor:Fn,darkDangerItemColor:Gt,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Xn,darkItemSelectedBg:pt,darkDangerItemSelectedBg:Gt,darkItemHoverBg:"transparent",darkGroupTitleColor:Fn,darkItemHoverColor:Xn,darkDangerItemHoverColor:Mn,darkDangerItemSelectedColor:Xn,darkDangerItemActiveBg:Gt}},{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"]]})(_t),Ve=function(_t,rt){var _e={};for(var At in _t)Object.prototype.hasOwnProperty.call(_t,At)&&rt.indexOf(At)<0&&(_e[At]=_t[At]);if(_t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var pt=0,At=Object.getOwnPropertySymbols(_t);pt{var _e,At;const pt=ft.useContext(Ce.Z),Gt=pt||{},{getPrefixCls:ln,getPopupContainer:pn,direction:Cn,menu:In}=ft.useContext(nn.E_),rA=ln(),{prefixCls:qn,className:hA,style:Qt,theme:vn="light",expandIcon:cn,_internalDisableMenuItemTitleTooltip:Ln,inlineCollapsed:ct,siderCollapsed:It,items:rn,children:Yn,rootClassName:Jn,mode:wA,selectable:pA,onClick:uA,overflowedIndicatorPopupClassName:Xn}=_t,Mn=Ve(_t,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Fn=(0,Ke.Z)(Mn,["collapsedWidth"]),dA=tt(rn)||Yn;(_e=Gt.validator)===null||_e===void 0||_e.call(Gt,{mode:wA});const lA=(0,ce.useEvent)(function(){var ZA;uA==null||uA.apply(void 0,arguments),(ZA=Gt.onClick)===null||ZA===void 0||ZA.call(Gt)}),rr=Gt.mode||wA,kA=pA!=null?pA:Gt.selectable,cr=ft.useMemo(()=>It!==void 0?It:ct,[ct,It]),gr={horizontal:{motionName:`${rA}-slide-up`},inline:(0,Be.Z)(rA),other:{motionName:`${rA}-zoom-big`}},SA=ln("menu",qn||Gt.prefixCls),[sr,Dr]=AA(SA,!pt),PA=bt()(`${SA}-${vn}`,In==null?void 0:In.className,hA);let Nr;if(typeof cn=="function")Nr=cn;else if(cn===null||cn===!1)Nr=null;else if(Gt.expandIcon===null||Gt.expandIcon===!1)Nr=null;else{const ZA=cn!=null?cn:Gt.expandIcon;Nr=(0,Ne.Tm)(ZA,{className:bt()(`${SA}-submenu-expand-icon`,(0,Ne.l$)(ZA)?(At=ZA.props)===null||At===void 0?void 0:At.className:"")})}const Gr=ft.useMemo(()=>({prefixCls:SA,inlineCollapsed:cr||!1,direction:Cn,firstLevel:!0,theme:vn,mode:rr,disableMenuItemTitleTooltip:Ln}),[SA,cr,Cn,Ln,vn]);return sr(ft.createElement(Ce.Z.Provider,{value:null},ft.createElement(a.Provider,{value:Gr},ft.createElement(ue.ZP,Object.assign({getPopupContainer:pn,overflowedIndicator:ft.createElement(ie.Z,null),overflowedIndicatorPopupClassName:bt()(SA,`${SA}-${vn}`,Xn),mode:rr,selectable:kA,onClick:lA},Fn,{inlineCollapsed:cr,style:Object.assign(Object.assign({},In==null?void 0:In.style),Qt),className:PA,prefixCls:SA,direction:Cn,defaultMotions:gr,expandIcon:Nr,ref:rt,rootClassName:bt()(Jn,Dr)}),dA))))});const iA=(0,ft.forwardRef)((_t,rt)=>{const _e=(0,ft.useRef)(null),At=ft.useContext(qt.D);return(0,ft.useImperativeHandle)(rt,()=>({menu:_e.current,focus:pt=>{var Gt;(Gt=_e.current)===null||Gt===void 0||Gt.focus(pt)}})),ft.createElement(Sn,Object.assign({ref:_e},_t,At))});iA.Item=E,iA.SubMenu=ee,iA.Divider=Ze,iA.ItemGroup=ue.BW;var Kn=iA},66330:function(kt,tA,Fe){"use strict";Fe.d(tA,{t5:function(){return ve}});var ue=Fe(94184),ft=Fe.n(ue),qt=Fe(92419),tn=Fe(67294),bt=Fe(53124),nn=Fe(81643),vt=Fe(20136),De=function(Me,Ne){var he={};for(var a in Me)Object.prototype.hasOwnProperty.call(Me,a)&&Ne.indexOf(a)<0&&(he[a]=Me[a]);if(Me!=null&&typeof Object.getOwnPropertySymbols=="function")for(var y=0,a=Object.getOwnPropertySymbols(Me);y{if(!(!Ne&&!he))return tn.createElement(tn.Fragment,null,Ne&&tn.createElement("div",{className:`${Me}-title`},(0,nn.Z)(Ne)),tn.createElement("div",{className:`${Me}-inner-content`},(0,nn.Z)(he)))},ve=Me=>{const{hashId:Ne,prefixCls:he,className:a,style:y,placement:E="top",title:b,content:ee,children:ie}=Me;return tn.createElement("div",{className:ft()(Ne,he,`${he}-pure`,`${he}-placement-${E}`,a),style:y},tn.createElement("div",{className:`${he}-arrow`}),tn.createElement(qt.G,Object.assign({},Me,{className:Ne,prefixCls:he}),ie||Ze(he,b,ee)))},Ke=Me=>{const{prefixCls:Ne}=Me,he=De(Me,["prefixCls"]),{getPrefixCls:a}=tn.useContext(bt.E_),y=a("popover",Ne),[E,b]=(0,vt.Z)(y);return E(tn.createElement(ve,Object.assign({},he,{prefixCls:y,hashId:b})))};tA.ZP=Ke},55241:function(kt,tA,Fe){"use strict";var ue=Fe(94184),ft=Fe.n(ue),qt=Fe(67294),tn=Fe(81643),bt=Fe(33603),nn=Fe(53124),vt=Fe(83062),De=Fe(66330),Ze=Fe(20136),ve=function(Ne,he){var a={};for(var y in Ne)Object.prototype.hasOwnProperty.call(Ne,y)&&he.indexOf(y)<0&&(a[y]=Ne[y]);if(Ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var E=0,y=Object.getOwnPropertySymbols(Ne);E{let{title:he,content:a,prefixCls:y}=Ne;return qt.createElement(qt.Fragment,null,he&&qt.createElement("div",{className:`${y}-title`},(0,tn.Z)(he)),qt.createElement("div",{className:`${y}-inner-content`},(0,tn.Z)(a)))},Me=qt.forwardRef((Ne,he)=>{const{prefixCls:a,title:y,content:E,overlayClassName:b,placement:ee="top",trigger:ie="hover",mouseEnterDelay:ce=.1,mouseLeaveDelay:Be=.1,overlayStyle:Ce={}}=Ne,Ue=ve(Ne,["prefixCls","title","content","overlayClassName","placement","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle"]),{getPrefixCls:Oe}=qt.useContext(nn.E_),tt=Oe("popover",a),[qe,ht]=(0,Ze.Z)(tt),St=Oe(),Tt=ft()(b,ht);return qe(qt.createElement(vt.Z,Object.assign({placement:ee,trigger:ie,mouseEnterDelay:ce,mouseLeaveDelay:Be,overlayStyle:Ce},Ue,{prefixCls:tt,overlayClassName:Tt,ref:he,overlay:y||E?qt.createElement(Ke,{prefixCls:tt,title:y,content:E}):null,transitionName:(0,bt.m)(St,"zoom-big",Ue.transitionName),"data-popover-inject":!0})))});Me._InternalPanelDoNotUseOrYouWillBeFired=De.ZP,tA.Z=Me},20136:function(kt,tA,Fe){"use strict";var ue=Fe(14747),ft=Fe(50438),qt=Fe(97414),tn=Fe(8796),bt=Fe(67968),nn=Fe(45503);const vt=ve=>{const{componentCls:Ke,popoverColor:Me,minWidth:Ne,fontWeightStrong:he,popoverPadding:a,boxShadowSecondary:y,colorTextHeading:E,borderRadiusLG:b,zIndexPopup:ee,marginXS:ie,colorBgElevated:ce,popoverBg:Be}=ve;return[{[Ke]:Object.assign(Object.assign({},(0,ue.Wf)(ve)),{position:"absolute",top:0,left:{_skip_check_:!0,value:0},zIndex:ee,fontWeight:"normal",whiteSpace:"normal",textAlign:"start",cursor:"auto",userSelect:"text",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","--antd-arrow-background-color":ce,"&-rtl":{direction:"rtl"},"&-hidden":{display:"none"},[`${Ke}-content`]:{position:"relative"},[`${Ke}-inner`]:{backgroundColor:Be,backgroundClip:"padding-box",borderRadius:b,boxShadow:y,padding:a},[`${Ke}-title`]:{minWidth:Ne,marginBottom:ie,color:E,fontWeight:he},[`${Ke}-inner-content`]:{color:Me}})},(0,qt.ZP)(ve,{colorBg:"var(--antd-arrow-background-color)"}),{[`${Ke}-pure`]:{position:"relative",maxWidth:"none",margin:ve.sizePopupArrow,display:"inline-block",[`${Ke}-content`]:{display:"inline-block"}}}]},De=ve=>{const{componentCls:Ke}=ve;return{[Ke]:tn.i.map(Me=>{const Ne=ve[`${Me}6`];return{[`&${Ke}-${Me}`]:{"--antd-arrow-background-color":Ne,[`${Ke}-inner`]:{backgroundColor:Ne},[`${Ke}-arrow`]:{background:"transparent"}}}})}},Ze=ve=>{const{componentCls:Ke,lineWidth:Me,lineType:Ne,colorSplit:he,paddingSM:a,controlHeight:y,fontSize:E,lineHeight:b,padding:ee}=ve,ie=y-Math.round(E*b),ce=ie/2,Be=ie/2-Me,Ce=ee;return{[Ke]:{[`${Ke}-inner`]:{padding:0},[`${Ke}-title`]:{margin:0,padding:`${ce}px ${Ce}px ${Be}px`,borderBottom:`${Me}px ${Ne} ${he}`},[`${Ke}-inner-content`]:{padding:`${a}px ${Ce}px`}}}};tA.Z=(0,bt.Z)("Popover",ve=>{const{colorBgElevated:Ke,colorText:Me,wireframe:Ne}=ve,he=(0,nn.TS)(ve,{popoverPadding:12,popoverBg:Ke,popoverColor:Me});return[vt(he),De(he),Ne&&Ze(he),(0,ft._y)(he,"zoom-big")]},ve=>({width:177,minWidth:177,zIndexPopup:ve.zIndexPopupBase+30}),{resetStyle:!1,deprecatedTokens:[["width","minWidth"]]})},38703:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return Ln}});var ue=Fe(67294),ft=Fe(87725),qt=Fe(18299),tn=Fe(16646),bt=Fe(73475),nn=Fe(94184),vt=Fe.n(nn),De=Fe(10366),Ze=Fe(53124),ve=Fe(87462),Ke=Fe(1413),Me=Fe(45987),Ne={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},he=function(){var It=(0,ue.useRef)([]),rn=(0,ue.useRef)(null);return(0,ue.useEffect)(function(){var Yn=Date.now(),Jn=!1;It.current.forEach(function(wA){if(wA){Jn=!0;var pA=wA.style;pA.transitionDuration=".3s, .3s, .3s, .06s",rn.current&&Yn-rn.current<100&&(pA.transitionDuration="0s, 0s")}}),Jn&&(rn.current=Date.now())}),It.current},a=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],y=function(It){var rn=(0,Ke.Z)((0,Ke.Z)({},Ne),It),Yn=rn.className,Jn=rn.percent,wA=rn.prefixCls,pA=rn.strokeColor,uA=rn.strokeLinecap,Xn=rn.strokeWidth,Mn=rn.style,Fn=rn.trailColor,dA=rn.trailWidth,lA=rn.transition,rr=(0,Me.Z)(rn,a);delete rr.gapPosition;var kA=Array.isArray(Jn)?Jn:[Jn],cr=Array.isArray(pA)?pA:[pA],gr=he(),SA=Xn/2,sr=100-Xn/2,Dr="M ".concat(uA==="round"?SA:0,",").concat(SA,` L `).concat(uA==="round"?sr:100,",").concat(SA),PA="0 0 100 ".concat(Xn),Nr=0;return ue.createElement("svg",(0,ve.Z)({className:vt()("".concat(wA,"-line"),Yn),viewBox:PA,preserveAspectRatio:"none",style:Mn},rr),ue.createElement("path",{className:"".concat(wA,"-line-trail"),d:Dr,strokeLinecap:uA,stroke:Fn,strokeWidth:dA||Xn,fillOpacity:"0"}),kA.map(function(Gr,ZA){var Ba=1;switch(uA){case"round":Ba=1-Xn/100;break;case"square":Ba=1-Xn/2/100;break;default:Ba=1;break}var Ha={strokeDasharray:"".concat(Gr*Ba,"px, 100px"),strokeDashoffset:"-".concat(Nr,"px"),transition:lA||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Ut=cr[ZA]||cr[cr.length-1];return Nr+=Gr,ue.createElement("path",{key:ZA,className:"".concat(wA,"-line-path"),d:Dr,strokeLinecap:uA,stroke:Ut,strokeWidth:Xn,fillOpacity:"0",ref:function(Nt){gr[ZA]=Nt},style:Ha})}))},E=y,b=Fe(71002),ee=Fe(97685),ie=Fe(98924),ce=0,Be=(0,ie.Z)();function Ce(){var ct;return Be?(ct=ce,ce+=1):ct="TEST_OR_SSR",ct}var Ue=function(ct){var It=ue.useState(),rn=(0,ee.Z)(It,2),Yn=rn[0],Jn=rn[1];return ue.useEffect(function(){Jn("rc_progress_".concat(Ce()))},[]),ct||Yn},Oe=function(It){var rn=It.bg,Yn=It.children;return ue.createElement("div",{style:{width:"100%",height:"100%",background:rn}},Yn)};function tt(ct,It){return Object.keys(ct).map(function(rn){var Yn=parseFloat(rn),Jn="".concat(Math.floor(Yn*It),"%");return"".concat(ct[rn]," ").concat(Jn)})}var qe=ue.forwardRef(function(ct,It){var rn=ct.prefixCls,Yn=ct.color,Jn=ct.gradientId,wA=ct.radius,pA=ct.style,uA=ct.ptg,Xn=ct.strokeLinecap,Mn=ct.strokeWidth,Fn=ct.size,dA=ct.gapDegree,lA=Yn&&(0,b.Z)(Yn)==="object",rr=lA?"#FFF":void 0,kA=Fn/2,cr=ue.createElement("circle",{className:"".concat(rn,"-circle-path"),r:wA,cx:kA,cy:kA,stroke:rr,strokeLinecap:Xn,strokeWidth:Mn,opacity:uA===0?0:1,style:pA,ref:It});if(!lA)return cr;var gr="".concat(Jn,"-conic"),SA=dA?"".concat(180+dA/2,"deg"):"0deg",sr=tt(Yn,(360-dA)/360),Dr=tt(Yn,1),PA="conic-gradient(from ".concat(SA,", ").concat(sr.join(", "),")"),Nr="linear-gradient(to ".concat(dA?"bottom":"top",", ").concat(Dr.join(", "),")");return ue.createElement(ue.Fragment,null,ue.createElement("mask",{id:gr},cr),ue.createElement("foreignObject",{x:0,y:0,width:Fn,height:Fn,mask:"url(#".concat(gr,")")},ue.createElement(Oe,{bg:Nr},ue.createElement(Oe,{bg:PA}))))}),ht=qe,St=100,Tt=function(It,rn,Yn,Jn,wA,pA,uA,Xn,Mn,Fn){var dA=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,lA=Yn/100*360*((360-pA)/360),rr=pA===0?0:{bottom:0,top:180,left:90,right:-90}[uA],kA=(100-Jn)/100*rn;Mn==="round"&&Jn!==100&&(kA+=Fn/2,kA>=rn&&(kA=rn-.01));var cr=St/2;return{stroke:typeof Xn=="string"?Xn:void 0,strokeDasharray:"".concat(rn,"px ").concat(It),strokeDashoffset:kA+dA,transform:"rotate(".concat(wA+lA+rr,"deg)"),transformOrigin:"".concat(cr,"px ").concat(cr,"px"),transition:"stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s",fillOpacity:0}},Kt=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function an(ct){var It=ct!=null?ct:[];return Array.isArray(It)?It:[It]}var Nn=function(It){var rn=(0,Ke.Z)((0,Ke.Z)({},Ne),It),Yn=rn.id,Jn=rn.prefixCls,wA=rn.steps,pA=rn.strokeWidth,uA=rn.trailWidth,Xn=rn.gapDegree,Mn=Xn===void 0?0:Xn,Fn=rn.gapPosition,dA=rn.trailColor,lA=rn.strokeLinecap,rr=rn.style,kA=rn.className,cr=rn.strokeColor,gr=rn.percent,SA=(0,Me.Z)(rn,Kt),sr=St/2,Dr=Ue(Yn),PA="".concat(Dr,"-gradient"),Nr=sr-pA/2,Gr=Math.PI*2*Nr,ZA=Mn>0?90+Mn/2:-90,Ba=Gr*((360-Mn)/360),Ha=(0,b.Z)(wA)==="object"?wA:{count:wA,space:2},Ut=Ha.count,yt=Ha.space,Nt=an(gr),kn=an(cr),aA=kn.find(function(dr){return dr&&(0,b.Z)(dr)==="object"}),_n=aA&&(0,b.Z)(aA)==="object",ir=_n?"butt":lA,qA=Tt(Gr,Ba,0,100,ZA,Mn,Fn,dA,ir,pA),Vt=he(),OA=function(){var Hn=0;return Nt.map(function(_A,wa){var Oa=kn[wa]||kn[kn.length-1],Rr=Tt(Gr,Ba,Hn,_A,ZA,Mn,Fn,Oa,ir,pA);return Hn+=_A,ue.createElement(ht,{key:wa,color:Oa,ptg:_A,radius:Nr,prefixCls:Jn,gradientId:PA,style:Rr,strokeLinecap:ir,strokeWidth:pA,gapDegree:Mn,ref:function(zA){Vt[wa]=zA},size:St})}).reverse()},Pr=function(){var Hn=Math.round(Ut*(Nt[0]/100)),_A=100/Ut,wa=0;return new Array(Ut).fill(null).map(function(Oa,Rr){var Jr=Rr<=Hn-1?kn[0]:dA,zA=Jr&&(0,b.Z)(Jr)==="object"?"url(#".concat(PA,")"):void 0,Go=Tt(Gr,Ba,wa,_A,ZA,Mn,Fn,Jr,"butt",pA,yt);return wa+=(Ba-Go.strokeDashoffset+yt)*100/Ba,ue.createElement("circle",{key:Rr,className:"".concat(Jn,"-circle-path"),r:Nr,cx:sr,cy:sr,stroke:zA,strokeWidth:pA,opacity:1,style:Go,ref:function(Ca){Vt[Rr]=Ca}})})};return ue.createElement("svg",(0,ve.Z)({className:vt()("".concat(Jn,"-circle"),kA),viewBox:"0 0 ".concat(St," ").concat(St),style:rr,id:Yn,role:"presentation"},SA),!Ut&&ue.createElement("circle",{className:"".concat(Jn,"-circle-trail"),r:Nr,cx:sr,cy:sr,stroke:dA,strokeLinecap:ir,strokeWidth:uA||pA,style:qA}),Ut?Pr():OA())},un=Nn,zt={Line:E,Circle:un},Jt=Fe(83062),Pt=Fe(47448);function Ye(ct){return!ct||ct<0?0:ct>100?100:ct}function Wt(ct){let{success:It,successPercent:rn}=ct,Yn=rn;return It&&"progress"in It&&(Yn=It.progress),It&&"percent"in It&&(Yn=It.percent),Yn}const en=ct=>{let{percent:It,success:rn,successPercent:Yn}=ct;const Jn=Ye(Wt({success:rn,successPercent:Yn}));return[Jn,Ye(Ye(It)-Jn)]},$n=ct=>{let{success:It={},strokeColor:rn}=ct;const{strokeColor:Yn}=It;return[Yn||Pt.presetPrimaryColors.green,rn||null]},Ft=(ct,It,rn)=>{var Yn,Jn,wA,pA;let uA=-1,Xn=-1;if(It==="step"){const Mn=rn.steps,Fn=rn.strokeWidth;typeof ct=="string"||typeof ct=="undefined"?(uA=ct==="small"?2:14,Xn=Fn!=null?Fn:8):typeof ct=="number"?[uA,Xn]=[ct,ct]:[uA=14,Xn=8]=ct,uA*=Mn}else if(It==="line"){const Mn=rn==null?void 0:rn.strokeWidth;typeof ct=="string"||typeof ct=="undefined"?Xn=Mn||(ct==="small"?6:8):typeof ct=="number"?[uA,Xn]=[ct,ct]:[uA=-1,Xn=8]=ct}else(It==="circle"||It==="dashboard")&&(typeof ct=="string"||typeof ct=="undefined"?[uA,Xn]=ct==="small"?[60,60]:[120,120]:typeof ct=="number"?[uA,Xn]=[ct,ct]:(uA=(Jn=(Yn=ct[0])!==null&&Yn!==void 0?Yn:ct[1])!==null&&Jn!==void 0?Jn:120,Xn=(pA=(wA=ct[0])!==null&&wA!==void 0?wA:ct[1])!==null&&pA!==void 0?pA:120));return[uA,Xn]},Et=3,on=ct=>Et/ct*100;var Qn=ct=>{const{prefixCls:It,trailColor:rn=null,strokeLinecap:Yn="round",gapPosition:Jn,gapDegree:wA,width:pA=120,type:uA,children:Xn,success:Mn,size:Fn=pA}=ct,[dA,lA]=Ft(Fn,"circle");let{strokeWidth:rr}=ct;rr===void 0&&(rr=Math.max(on(dA),6));const kA={width:dA,height:lA,fontSize:dA*.15+6},cr=ue.useMemo(()=>{if(wA||wA===0)return wA;if(uA==="dashboard")return 75},[wA,uA]),gr=Jn||uA==="dashboard"&&"bottom"||void 0,SA=Object.prototype.toString.call(ct.strokeColor)==="[object Object]",sr=$n({success:Mn,strokeColor:ct.strokeColor}),Dr=vt()(`${It}-inner`,{[`${It}-circle-gradient`]:SA}),PA=ue.createElement(un,{percent:en(ct),strokeWidth:rr,trailWidth:rr,strokeColor:sr,strokeLinecap:Yn,trailColor:rn,prefixCls:It,gapDegree:cr,gapPosition:gr});return ue.createElement("div",{className:Dr,style:kA},dA<=20?ue.createElement(Jt.Z,{title:Xn},ue.createElement("span",null,PA)):ue.createElement(ue.Fragment,null,PA,Xn))},AA=function(ct,It){var rn={};for(var Yn in ct)Object.prototype.hasOwnProperty.call(ct,Yn)&&It.indexOf(Yn)<0&&(rn[Yn]=ct[Yn]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jn=0,Yn=Object.getOwnPropertySymbols(ct);Jn{let It=[];return Object.keys(ct).forEach(rn=>{const Yn=parseFloat(rn.replace(/%/g,""));isNaN(Yn)||It.push({key:Yn,value:ct[rn]})}),It=It.sort((rn,Yn)=>rn.key-Yn.key),It.map(rn=>{let{key:Yn,value:Jn}=rn;return`${Jn} ${Yn}%`}).join(", ")},An=(ct,It)=>{const{from:rn=Pt.presetPrimaryColors.blue,to:Yn=Pt.presetPrimaryColors.blue,direction:Jn=It==="rtl"?"to left":"to right"}=ct,wA=AA(ct,["from","to","direction"]);if(Object.keys(wA).length!==0){const pA=Ve(wA);return{backgroundImage:`linear-gradient(${Jn}, ${pA})`}}return{backgroundImage:`linear-gradient(${Jn}, ${rn}, ${Yn})`}};var iA=ct=>{const{prefixCls:It,direction:rn,percent:Yn,size:Jn,strokeWidth:wA,strokeColor:pA,strokeLinecap:uA="round",children:Xn,trailColor:Mn=null,success:Fn}=ct,dA=pA&&typeof pA!="string"?An(pA,rn):{backgroundColor:pA},lA=uA==="square"||uA==="butt"?0:void 0,rr={backgroundColor:Mn||void 0,borderRadius:lA},kA=Jn!=null?Jn:[-1,wA||(Jn==="small"?6:8)],[cr,gr]=Ft(kA,"line",{strokeWidth:wA}),SA=Object.assign({width:`${Ye(Yn)}%`,height:gr,borderRadius:lA},dA),sr=Wt(ct),Dr={width:`${Ye(sr)}%`,height:gr,borderRadius:lA,backgroundColor:Fn==null?void 0:Fn.strokeColor},PA={width:cr<0?"100%":cr,height:gr};return ue.createElement(ue.Fragment,null,ue.createElement("div",{className:`${It}-outer`,style:PA},ue.createElement("div",{className:`${It}-inner`,style:rr},ue.createElement("div",{className:`${It}-bg`,style:SA}),sr!==void 0?ue.createElement("div",{className:`${It}-success-bg`,style:Dr}):null)),Xn)},_t=ct=>{const{size:It,steps:rn,percent:Yn=0,strokeWidth:Jn=8,strokeColor:wA,trailColor:pA=null,prefixCls:uA,children:Xn}=ct,Mn=Math.round(rn*(Yn/100)),Fn=It==="small"?2:14,dA=It!=null?It:[Fn,Jn],[lA,rr]=Ft(dA,"step",{steps:rn,strokeWidth:Jn}),kA=lA/rn,cr=new Array(rn);for(let gr=0;gr{const It=ct?"100%":"-100%";return new rt.Keyframes(`antProgress${ct?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${It}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${It}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},ln=ct=>{const{componentCls:It,iconCls:rn}=ct;return{[It]:Object.assign(Object.assign({},(0,_e.Wf)(ct)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:ct.fontSize,marginInlineEnd:ct.marginXS,marginBottom:ct.marginXS},[`${It}-outer`]:{display:"inline-block",width:"100%"},[`&${It}-show-info`]:{[`${It}-outer`]:{marginInlineEnd:`calc(-2em - ${ct.marginXS}px)`,paddingInlineEnd:`calc(2em + ${ct.paddingXS}px)`}},[`${It}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:ct.remainingColor,borderRadius:ct.lineBorderRadius},[`${It}-inner:not(${It}-circle-gradient)`]:{[`${It}-circle-path`]:{stroke:ct.defaultColor}},[`${It}-success-bg, ${It}-bg`]:{position:"relative",backgroundColor:ct.defaultColor,borderRadius:ct.lineBorderRadius,transition:`all ${ct.motionDurationSlow} ${ct.motionEaseInOutCirc}`},[`${It}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:ct.colorSuccess},[`${It}-text`]:{display:"inline-block",width:"2em",marginInlineStart:ct.marginXS,color:ct.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[rn]:{fontSize:ct.fontSize}},[`&${It}-status-active`]:{[`${It}-bg::before`]:{position:"absolute",inset:0,backgroundColor:ct.colorBgContainer,borderRadius:ct.lineBorderRadius,opacity:0,animationName:Gt(),animationDuration:ct.progressActiveMotionDuration,animationTimingFunction:ct.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${It}-rtl${It}-status-active`]:{[`${It}-bg::before`]:{animationName:Gt(!0)}},[`&${It}-status-exception`]:{[`${It}-bg`]:{backgroundColor:ct.colorError},[`${It}-text`]:{color:ct.colorError}},[`&${It}-status-exception ${It}-inner:not(${It}-circle-gradient)`]:{[`${It}-circle-path`]:{stroke:ct.colorError}},[`&${It}-status-success`]:{[`${It}-bg`]:{backgroundColor:ct.colorSuccess},[`${It}-text`]:{color:ct.colorSuccess}},[`&${It}-status-success ${It}-inner:not(${It}-circle-gradient)`]:{[`${It}-circle-path`]:{stroke:ct.colorSuccess}}})}},pn=ct=>{const{componentCls:It,iconCls:rn}=ct;return{[It]:{[`${It}-circle-trail`]:{stroke:ct.remainingColor},[`&${It}-circle ${It}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${It}-circle ${It}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:ct.circleTextColor,fontSize:ct.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[rn]:{fontSize:`${ct.fontSize/ct.fontSizeSM}em`}},[`${It}-circle&-status-exception`]:{[`${It}-text`]:{color:ct.colorError}},[`${It}-circle&-status-success`]:{[`${It}-text`]:{color:ct.colorSuccess}}},[`${It}-inline-circle`]:{lineHeight:1,[`${It}-inner`]:{verticalAlign:"bottom"}}}},Cn=ct=>{const{componentCls:It}=ct;return{[It]:{[`${It}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:ct.progressStepMinWidth,marginInlineEnd:ct.progressStepMarginInlineEnd,backgroundColor:ct.remainingColor,transition:`all ${ct.motionDurationSlow}`,"&-active":{backgroundColor:ct.defaultColor}}}}}},In=ct=>{const{componentCls:It,iconCls:rn}=ct;return{[It]:{[`${It}-small&-line, ${It}-small&-line ${It}-text ${rn}`]:{fontSize:ct.fontSizeSM}}}};var rA=(0,At.Z)("Progress",ct=>{const It=ct.marginXXS/2,rn=(0,pt.TS)(ct,{progressStepMarginInlineEnd:It,progressStepMinWidth:It,progressActiveMotionDuration:"2.4s"});return[ln(rn),pn(rn),Cn(rn),In(rn)]},ct=>({circleTextColor:ct.colorText,defaultColor:ct.colorInfo,remainingColor:ct.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),qn=function(ct,It){var rn={};for(var Yn in ct)Object.prototype.hasOwnProperty.call(ct,Yn)&&It.indexOf(Yn)<0&&(rn[Yn]=ct[Yn]);if(ct!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Jn=0,Yn=Object.getOwnPropertySymbols(ct);Jn{const{prefixCls:rn,className:Yn,rootClassName:Jn,steps:wA,strokeColor:pA,percent:uA=0,size:Xn="default",showInfo:Mn=!0,type:Fn="line",status:dA,format:lA,style:rr}=ct,kA=qn(ct,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),cr=ue.useMemo(()=>{var Nt,kn;const aA=Wt(ct);return parseInt(aA!==void 0?(Nt=aA!=null?aA:0)===null||Nt===void 0?void 0:Nt.toString():(kn=uA!=null?uA:0)===null||kn===void 0?void 0:kn.toString(),10)},[uA,ct.success,ct.successPercent]),gr=ue.useMemo(()=>!Qt.includes(dA)&&cr>=100?"success":dA||"normal",[dA,cr]),{getPrefixCls:SA,direction:sr,progress:Dr}=ue.useContext(Ze.E_),PA=SA("progress",rn),[Nr,Gr]=rA(PA),ZA=ue.useMemo(()=>{if(!Mn)return null;const Nt=Wt(ct);let kn;const aA=lA||(ir=>`${ir}%`),_n=Fn==="line";return lA||gr!=="exception"&&gr!=="success"?kn=aA(Ye(uA),Ye(Nt)):gr==="exception"?kn=_n?ue.createElement(tn.Z,null):ue.createElement(bt.Z,null):gr==="success"&&(kn=_n?ue.createElement(ft.Z,null):ue.createElement(qt.Z,null)),ue.createElement("span",{className:`${PA}-text`,title:typeof kn=="string"?kn:void 0},kn)},[Mn,uA,cr,gr,Fn,PA,lA]),Ba=Array.isArray(pA)?pA[0]:pA,Ha=typeof pA=="string"||Array.isArray(pA)?pA:void 0;let Ut;Fn==="line"?Ut=wA?ue.createElement(_t,Object.assign({},ct,{strokeColor:Ha,prefixCls:PA,steps:wA}),ZA):ue.createElement(iA,Object.assign({},ct,{strokeColor:Ba,prefixCls:PA,direction:sr}),ZA):(Fn==="circle"||Fn==="dashboard")&&(Ut=ue.createElement(Qn,Object.assign({},ct,{strokeColor:Ba,prefixCls:PA,progressStatus:gr}),ZA));const yt=vt()(PA,`${PA}-status-${gr}`,`${PA}-${Fn==="dashboard"&&"circle"||wA&&"steps"||Fn}`,{[`${PA}-inline-circle`]:Fn==="circle"&&Ft(Xn,"circle")[0]<=20,[`${PA}-show-info`]:Mn,[`${PA}-${Xn}`]:typeof Xn=="string",[`${PA}-rtl`]:sr==="rtl"},Dr==null?void 0:Dr.className,Yn,Jn,Gr);return Nr(ue.createElement("div",Object.assign({ref:It,style:Object.assign(Object.assign({},Dr==null?void 0:Dr.style),rr),className:yt,role:"progressbar","aria-valuenow":cr},(0,De.Z)(kA,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Ut))}),Ln=cn},12604:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return Pt}});var ue=Fe(87462),ft=Fe(67294),qt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908.1 353.1l-253.9-36.9L540.7 86.1c-3.1-6.3-8.2-11.4-14.5-14.5-15.8-7.8-35-1.3-42.9 14.5L369.8 316.2l-253.9 36.9c-7 1-13.4 4.3-18.3 9.3a32.05 32.05 0 00.6 45.3l183.7 179.1-43.4 252.9a31.95 31.95 0 0046.4 33.7L512 754l227.1 119.4c6.2 3.3 13.4 4.4 20.3 3.2 17.4-3 29.1-19.5 26.1-36.9l-43.4-252.9 183.7-179.1c5-4.9 8.3-11.3 9.3-18.3 2.7-17.5-9.5-33.7-27-36.3z"}}]},name:"star",theme:"filled"},tn=qt,bt=Fe(74643),nn=function(Wt,en){return ft.createElement(bt.Z,(0,ue.Z)({},Wt,{ref:en,icon:tn}))},vt=ft.forwardRef(nn),De=Fe(94184),Ze=Fe.n(De),ve=Fe(4942),Ke=Fe(97685),Me=Fe(45987),Ne=Fe(21770),he=Fe(15105),a=Fe(64217);function y(Ye,Wt){var en=Ye.disabled,$n=Ye.prefixCls,Ft=Ye.character,Et=Ye.characterRender,on=Ye.index,nA=Ye.count,Qn=Ye.value,AA=Ye.allowHalf,Ve=Ye.focused,An=Ye.onHover,Sn=Ye.onClick,iA=function(ln){An(ln,on)},Kn=function(ln){Sn(ln,on)},_t=function(ln){ln.keyCode===he.Z.ENTER&&Sn(ln,on)},rt=on+1,_e=new Set([$n]);Qn===0&&on===0&&Ve?_e.add("".concat($n,"-focused")):AA&&Qn+.5>=rt&&Qnon?"true":"false","aria-posinset":on+1,"aria-setsize":nA,tabIndex:en?-1:0},ft.createElement("div",{className:"".concat($n,"-first")},At),ft.createElement("div",{className:"".concat($n,"-second")},At)));return Et&&(pt=Et(pt,Ye)),pt}var E=ft.forwardRef(y);function b(){var Ye=ft.useRef({});function Wt($n){return Ye.current[$n]}function en($n){return function(Ft){Ye.current[$n]=Ft}}return[Wt,en]}function ee(Ye){var Wt=Ye.pageXOffset,en="scrollLeft";if(typeof Wt!="number"){var $n=Ye.document;Wt=$n.documentElement[en],typeof Wt!="number"&&(Wt=$n.body[en])}return Wt}function ie(Ye){var Wt,en,$n=Ye.ownerDocument,Ft=$n.body,Et=$n&&$n.documentElement,on=Ye.getBoundingClientRect();return Wt=on.left,en=on.top,Wt-=Et.clientLeft||Ft.clientLeft||0,en-=Et.clientTop||Ft.clientTop||0,{left:Wt,top:en}}function ce(Ye){var Wt=ie(Ye),en=Ye.ownerDocument,$n=en.defaultView||en.parentWindow;return Wt.left+=ee($n),Wt.left}var Be=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function Ce(Ye,Wt){var en,$n=Ye.prefixCls,Ft=$n===void 0?"rc-rate":$n,Et=Ye.className,on=Ye.defaultValue,nA=Ye.value,Qn=Ye.count,AA=Qn===void 0?5:Qn,Ve=Ye.allowHalf,An=Ve===void 0?!1:Ve,Sn=Ye.allowClear,iA=Sn===void 0?!0:Sn,Kn=Ye.character,_t=Kn===void 0?"\u2605":Kn,rt=Ye.characterRender,_e=Ye.disabled,At=Ye.direction,pt=At===void 0?"ltr":At,Gt=Ye.tabIndex,ln=Gt===void 0?0:Gt,pn=Ye.autoFocus,Cn=Ye.onHoverChange,In=Ye.onChange,rA=Ye.onFocus,qn=Ye.onBlur,hA=Ye.onKeyDown,Qt=Ye.onMouseLeave,vn=(0,Me.Z)(Ye,Be),cn=b(),Ln=(0,Ke.Z)(cn,2),ct=Ln[0],It=Ln[1],rn=ft.useRef(null),Yn=function(){if(!_e){var _n;(_n=rn.current)===null||_n===void 0||_n.focus()}};ft.useImperativeHandle(Wt,function(){return{focus:Yn,blur:function(){if(!_e){var _n;(_n=rn.current)===null||_n===void 0||_n.blur()}}}});var Jn=(0,Ne.Z)(on||0,{value:nA}),wA=(0,Ke.Z)(Jn,2),pA=wA[0],uA=wA[1],Xn=(0,Ne.Z)(null),Mn=(0,Ke.Z)(Xn,2),Fn=Mn[0],dA=Mn[1],lA=function(_n,ir){var qA=pt==="rtl",Vt=_n+1;if(An){var OA=ct(_n),Pr=ce(OA),dr=OA.clientWidth;(qA&&ir-Pr>dr/2||!qA&&ir-Pr0&&!qA||ir===he.Z.RIGHT&&Vt>0&&qA?(An?Vt-=.5:Vt-=1,rr(Vt),_n.preventDefault()):ir===he.Z.LEFT&&Vt{const{componentCls:Wt}=Ye;return{[`${Wt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:Ye.marginXS},"> div":{transition:`all ${Ye.motionDurationMid}, outline 0s`,"&:hover":{transform:Ye.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${Ye.lineWidth}px dashed ${Ye.starColor}`,transform:Ye.starHoverScale}},"&-first, &-second":{color:Ye.starBg,transition:`all ${Ye.motionDurationMid}`,userSelect:"none",[Ye.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${Wt}-star-first, &-half ${Wt}-star-second`]:{opacity:1},[`&-half ${Wt}-star-first, &-full ${Wt}-star-second`]:{color:"inherit"}}}},an=Ye=>({[`&-rtl${Ye.componentCls}`]:{direction:"rtl"}}),Nn=Ye=>{const{componentCls:Wt}=Ye;return{[Wt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,ht.Wf)(Ye)),{display:"inline-block",margin:0,padding:0,color:Ye.starColor,fontSize:Ye.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${Wt} ${Wt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Kt(Ye)),{[`+ ${Wt}-text`]:{display:"inline-block",marginInlineStart:Ye.marginXS,fontSize:Ye.fontSize}}),an(Ye))}};var un=(0,St.Z)("Rate",Ye=>{const Wt=(0,Tt.TS)(Ye,{});return[Nn(Wt)]},Ye=>({starColor:Ye.yellow6,starSize:Ye.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:Ye.colorFillContent})),zt=function(Ye,Wt){var en={};for(var $n in Ye)Object.prototype.hasOwnProperty.call(Ye,$n)&&Wt.indexOf($n)<0&&(en[$n]=Ye[$n]);if(Ye!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ft=0,$n=Object.getOwnPropertySymbols(Ye);Ft<$n.length;Ft++)Wt.indexOf($n[Ft])<0&&Object.prototype.propertyIsEnumerable.call(Ye,$n[Ft])&&(en[$n[Ft]]=Ye[$n[Ft]]);return en},Pt=ft.forwardRef((Ye,Wt)=>{const{prefixCls:en,className:$n,rootClassName:Ft,style:Et,tooltips:on,character:nA=ft.createElement(vt,null)}=Ye,Qn=zt(Ye,["prefixCls","className","rootClassName","style","tooltips","character"]),AA=(_e,At)=>{let{index:pt}=At;return on?ft.createElement(qe.Z,{title:on[pt]},_e):_e},{getPrefixCls:Ve,direction:An,rate:Sn}=ft.useContext(tt.E_),iA=Ve("rate",en),[Kn,_t]=un(iA),rt=Object.assign(Object.assign({},Sn==null?void 0:Sn.style),Et);return Kn(ft.createElement(Oe,Object.assign({ref:Wt,character:nA,characterRender:AA},Qn,{className:Ze()($n,Ft,_t,Sn==null?void 0:Sn.className),style:rt,prefixCls:iA,direction:An})))})},46303:function(kt,tA,Fe){"use strict";Fe.d(tA,{Z:function(){return _t}});var ue=Fe(94184),ft=Fe.n(ue),qt=Fe(67294),tn=Fe(53124),bt=Fe(10366),vt=rt=>{const{prefixCls:_e,className:At,style:pt,size:Gt,shape:ln}=rt,pn=ft()({[`${_e}-lg`]:Gt==="large",[`${_e}-sm`]:Gt==="small"}),Cn=ft()({[`${_e}-circle`]:ln==="circle",[`${_e}-square`]:ln==="square",[`${_e}-round`]:ln==="round"}),In=qt.useMemo(()=>typeof Gt=="number"?{width:Gt,height:Gt,lineHeight:`${Gt}px`}:{},[Gt]);return qt.createElement("span",{className:ft()(_e,pn,Cn,At),style:Object.assign(Object.assign({},In),pt)})},De=Fe(45930),Ze=Fe(67968),ve=Fe(45503);const Ke=new De.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),Me=rt=>({height:rt,lineHeight:`${rt}px`}),Ne=rt=>Object.assign({width:rt},Me(rt)),he=rt=>({background:rt.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:Ke,animationDuration:rt.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),a=rt=>Object.assign({width:rt*5,minWidth:rt*5},Me(rt)),y=rt=>{const{skeletonAvatarCls:_e,gradientFromColor:At,controlHeight:pt,controlHeightLG:Gt,controlHeightSM:ln}=rt;return{[`${_e}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:At},Ne(pt)),[`${_e}${_e}-circle`]:{borderRadius:"50%"},[`${_e}${_e}-lg`]:Object.assign({},Ne(Gt)),[`${_e}${_e}-sm`]:Object.assign({},Ne(ln))}},E=rt=>{const{controlHeight:_e,borderRadiusSM:At,skeletonInputCls:pt,controlHeightLG:Gt,controlHeightSM:ln,gradientFromColor:pn}=rt;return{[`${pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:pn,borderRadius:At},a(_e)),[`${pt}-lg`]:Object.assign({},a(Gt)),[`${pt}-sm`]:Object.assign({},a(ln))}},b=rt=>Object.assign({width:rt},Me(rt)),ee=rt=>{const{skeletonImageCls:_e,imageSizeBase:At,gradientFromColor:pt,borderRadiusSM:Gt}=rt;return{[`${_e}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:pt,borderRadius:Gt},b(At*2)),{[`${_e}-path`]:{fill:"#bfbfbf"},[`${_e}-svg`]:Object.assign(Object.assign({},b(At)),{maxWidth:At*4,maxHeight:At*4}),[`${_e}-svg${_e}-svg-circle`]:{borderRadius:"50%"}}),[`${_e}${_e}-circle`]:{borderRadius:"50%"}}},ie=(rt,_e,At)=>{const{skeletonButtonCls:pt}=rt;return{[`${At}${pt}-circle`]:{width:_e,minWidth:_e,borderRadius:"50%"},[`${At}${pt}-round`]:{borderRadius:_e}}},ce=rt=>Object.assign({width:rt*2,minWidth:rt*2},Me(rt)),Be=rt=>{const{borderRadiusSM:_e,skeletonButtonCls:At,controlHeight:pt,controlHeightLG:Gt,controlHeightSM:ln,gradientFromColor:pn}=rt;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${At}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:pn,borderRadius:_e,width:pt*2,minWidth:pt*2},ce(pt))},ie(rt,pt,At)),{[`${At}-lg`]:Object.assign({},ce(Gt))}),ie(rt,Gt,`${At}-lg`)),{[`${At}-sm`]:Object.assign({},ce(ln))}),ie(rt,ln,`${At}-sm`))},Ce=rt=>{const{componentCls:_e,skeletonAvatarCls:At,skeletonTitleCls:pt,skeletonParagraphCls:Gt,skeletonButtonCls:ln,skeletonInputCls:pn,skeletonImageCls:Cn,controlHeight:In,controlHeightLG:rA,controlHeightSM:qn,gradientFromColor:hA,padding:Qt,marginSM:vn,borderRadius:cn,titleHeight:Ln,blockRadius:ct,paragraphLiHeight:It,controlHeightXS:rn,paragraphMarginTop:Yn}=rt;return{[`${_e}`]:{display:"table",width:"100%",[`${_e}-header`]:{display:"table-cell",paddingInlineEnd:Qt,verticalAlign:"top",[`${At}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:hA},Ne(In)),[`${At}-circle`]:{borderRadius:"50%"},[`${At}-lg`]:Object.assign({},Ne(rA)),[`${At}-sm`]:Object.assign({},Ne(qn))},[`${_e}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${pt}`]:{width:"100%",height:Ln,background:hA,borderRadius:ct,[`+ ${Gt}`]:{marginBlockStart:qn}},[`${Gt}`]:{padding:0,"> li":{width:"100%",height:It,listStyle:"none",background:hA,borderRadius:ct,"+ li":{marginBlockStart:rn}}},[`${Gt}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${_e}-content`]:{[`${pt}, ${Gt} > li`]:{borderRadius:cn}}},[`${_e}-with-avatar ${_e}-content`]:{[`${pt}`]:{marginBlockStart:vn,[`+ ${Gt}`]:{marginBlockStart:Yn}}},[`${_e}${_e}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Be(rt)),y(rt)),E(rt)),ee(rt)),[`${_e}${_e}-block`]:{width:"100%",[`${ln}`]:{width:"100%"},[`${pn}`]:{width:"100%"}},[`${_e}${_e}-active`]:{[` ${pt}, ${Gt} > li, ${At}, ${ln}, ${pn}, ${Cn} `]:Object.assign({},he(rt))}}};var Ue=(0,Ze.Z)("Skeleton",rt=>{const{componentCls:_e}=rt,At=(0,ve.TS)(rt,{skeletonAvatarCls:`${_e}-avatar`,skeletonTitleCls:`${_e}-title`,skeletonParagraphCls:`${_e}-paragraph`,skeletonButtonCls:`${_e}-button`,skeletonInputCls:`${_e}-input`,skeletonImageCls:`${_e}-image`,imageSizeBase:rt.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${rt.gradientFromColor} 25%, ${rt.gradientToColor} 37%, ${rt.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[Ce(At)]},rt=>{const{colorFillContent:_e,colorFill:At}=rt,pt=_e,Gt=At;return{color:pt,colorGradientEnd:Gt,gradientFromColor:pt,gradientToColor:Gt,titleHeight:rt.controlHeight/2,blockRadius:rt.borderRadiusSM,paragraphMarginTop:rt.marginLG+rt.marginXXS,paragraphLiHeight:rt.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),tt=rt=>{const{prefixCls:_e,className:At,rootClassName:pt,active:Gt,shape:ln="circle",size:pn="default"}=rt,{getPrefixCls:Cn}=qt.useContext(tn.E_),In=Cn("skeleton",_e),[rA,qn]=Ue(In),hA=(0,bt.Z)(rt,["prefixCls","className"]),Qt=ft()(In,`${In}-element`,{[`${In}-active`]:Gt},At,pt,qn);return rA(qt.createElement("div",{className:Qt},qt.createElement(vt,Object.assign({prefixCls:`${In}-avatar`,shape:ln,size:pn},hA))))},ht=rt=>{const{prefixCls:_e,className:At,rootClassName:pt,active:Gt,block:ln=!1,size:pn="default"}=rt,{getPrefixCls:Cn}=qt.useContext(tn.E_),In=Cn("skeleton",_e),[rA,qn]=Ue(In),hA=(0,bt.Z)(rt,["prefixCls"]),Qt=ft()(In,`${In}-element`,{[`${In}-active`]:Gt,[`${In}-block`]:ln},At,pt,qn);return rA(qt.createElement("div",{className:Qt},qt.createElement(vt,Object.assign({prefixCls:`${In}-button`,size:pn},hA))))};const St="M365.714286 329.142857q0 45.714286-32.036571 77.677714t-77.677714 32.036571-77.677714-32.036571-32.036571-77.677714 32.036571-77.677714 77.677714-32.036571 77.677714 32.036571 32.036571 77.677714zM950.857143 548.571429l0 256-804.571429 0 0-109.714286 182.857143-182.857143 91.428571 91.428571 292.571429-292.571429zM1005.714286 146.285714l-914.285714 0q-7.460571 0-12.873143 5.412571t-5.412571 12.873143l0 694.857143q0 7.460571 5.412571 12.873143t12.873143 5.412571l914.285714 0q7.460571 0 12.873143-5.412571t5.412571-12.873143l0-694.857143q0-7.460571-5.412571-12.873143t-12.873143-5.412571zM1097.142857 164.571429l0 694.857143q0 37.741714-26.843429 64.585143t-64.585143 26.843429l-914.285714 0q-37.741714 0-64.585143-26.843429t-26.843429-64.585143l0-694.857143q0-37.741714 26.843429-64.585143t64.585143-26.843429l914.285714 0q37.741714 0 64.585143 26.843429t26.843429 64.585143z";var Kt=rt=>{const{prefixCls:_e,className:At,rootClassName:pt,style:Gt,active:ln}=rt,{getPrefixCls:pn}=qt.useContext(tn.E_),Cn=pn("skeleton",_e),[In,rA]=Ue(Cn),qn=ft()(Cn,`${Cn}-element`,{[`${Cn}-active`]:ln},At,pt,rA);return In(qt.createElement("div",{className:qn},qt.createElement("div",{className:ft()(`${Cn}-image`,At),style:Gt},qt.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Cn}-image-svg`},qt.createElement("path",{d:St,className:`${Cn}-image-path`})))))},Nn=rt=>{const{prefixCls:_e,className:At,rootClassName:pt,active:Gt,block:ln,size:pn="default"}=rt,{getPrefixCls:Cn}=qt.useContext(tn.E_),In=Cn("skeleton",_e),[rA,qn]=Ue(In),hA=(0,bt.Z)(rt,["prefixCls"]),Qt=ft()(In,`${In}-element`,{[`${In}-active`]:Gt,[`${In}-block`]:ln},At,pt,qn);return rA(qt.createElement("div",{className:Qt},qt.createElement(vt,Object.assign({prefixCls:`${In}-input`,size:pn},hA))))},un=Fe(87462),zt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM288 604a64 64 0 10128 0 64 64 0 10-128 0zm118-224a48 48 0 1096 0 48 48 0 10-96 0zm158 228a96 96 0 10192 0 96 96 0 10-192 0zm148-314a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"dot-chart",theme:"outlined"},Jt=zt,Pt=Fe(74643),Ye=function(_e,At){return qt.createElement(Pt.Z,(0,un.Z)({},_e,{ref:At,icon:Jt}))},Wt=qt.forwardRef(Ye),$n=rt=>{const{prefixCls:_e,className:At,rootClassName:pt,style:Gt,active:ln,children:pn}=rt,{getPrefixCls:Cn}=qt.useContext(tn.E_),In=Cn("skeleton",_e),[rA,qn]=Ue(In),hA=ft()(In,`${In}-element`,{[`${In}-active`]:ln},qn,At,pt),Qt=pn!=null?pn:qt.createElement(Wt,null);return rA(qt.createElement("div",{className:hA},qt.createElement("div",{className:ft()(`${In}-image`,At),style:Gt},Qt)))},Ft=Fe(74902),on=rt=>{const _e=Cn=>{const{width:In,rows:rA=2}=rt;if(Array.isArray(In))return In[Cn];if(rA-1===Cn)return In},{prefixCls:At,className:pt,style:Gt,rows:ln}=rt,pn=(0,Ft.Z)(Array(ln)).map((Cn,In)=>qt.createElement("li",{key:In,style:{width:_e(In)}}));return qt.createElement("ul",{className:ft()(At,pt),style:Gt},pn)},Qn=rt=>{let{prefixCls:_e,className:At,width:pt,style:Gt}=rt;return qt.createElement("h3",{className:ft()(_e,At),style:Object.assign({width:pt},Gt)})};function AA(rt){return rt&&typeof rt=="object"?rt:{}}function Ve(rt,_e){return rt&&!_e?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function An(rt,_e){return!rt&&_e?{width:"38%"}:rt&&_e?{width:"50%"}:{}}function Sn(rt,_e){const At={};return(!rt||!_e)&&(At.width="61%"),!rt&&_e?At.rows=3:At.rows=2,At}const iA=rt=>{const{prefixCls:_e,loading:At,className:pt,rootClassName:Gt,style:ln,children:pn,avatar:Cn=!1,title:In=!0,paragraph:rA=!0,active:qn,round:hA}=rt,{getPrefixCls:Qt,direction:vn,skeleton:cn}=qt.useContext(tn.E_),Ln=Qt("skeleton",_e),[ct,It]=Ue(Ln);if(At||!("loading"in rt)){const rn=!!Cn,Yn=!!In,Jn=!!rA;let wA;if(rn){const Xn=Object.assign(Object.assign({prefixCls:`${Ln}-avatar`},Ve(Yn,Jn)),AA(Cn));wA=qt.createElement("div",{className:`${Ln}-header`},qt.createElement(vt,Object.assign({},Xn)))}let pA;if(Yn||Jn){let Xn;if(Yn){const Fn=Object.assign(Object.assign({prefixCls:`${Ln}-title`},An(rn,Jn)),AA(In));Xn=qt.createElement(Qn,Object.assign({},Fn))}let Mn;if(Jn){const Fn=Object.assign(Object.assign({prefixCls:`${Ln}-paragraph`},Sn(rn,Yn)),AA(rA));Mn=qt.createElement(on,Object.assign({},Fn))}pA=qt.createElement("div",{className:`${Ln}-content`},Xn,Mn)}const uA=ft()(Ln,{[`${Ln}-with-avatar`]:rn,[`${Ln}-active`]:qn,[`${Ln}-rtl`]:vn==="rtl",[`${Ln}-round`]:hA},cn==null?void 0:cn.className,pt,Gt,It);return ct(qt.createElement("div",{className:uA,style:Object.assign(Object.assign({},cn==null?void 0:cn.style),ln)},wA,pA))}return typeof pn!="undefined"?pn:null};iA.Button=ht,iA.Avatar=tt,iA.Input=Nn,iA.Image=Kt,iA.Node=$n;var Kn=iA,_t=Kn},55054:function(kt,tA,Fe){"use strict";Fe.d(tA,{default:function(){return Ue}});var ue=Fe(67294),ft=Fe(57838),qt=Fe(96159),tn=Fe(94184),bt=Fe.n(tn),nn=Fe(53124),vt=Fe(46303),Ze=Oe=>{const{value:tt,formatter:qe,precision:ht,decimalSeparator:St,groupSeparator:Tt="",prefixCls:Kt}=Oe;let an;if(typeof qe=="function")an=qe(tt);else{const Nn=String(tt),un=Nn.match(/^(-?)(\d*)(\.(\d+))?$/);if(!un||Nn==="-")an=Nn;else{const zt=un[1];let Jt=un[2]||"0",Pt=un[4]||"";Jt=Jt.replace(/\B(?=(\d{3})+(?!\d))/g,Tt),typeof ht=="number"&&(Pt=Pt.padEnd(ht,"0").slice(0,ht>0?ht:0)),Pt&&(Pt=`${St}${Pt}`),an=[ue.createElement("span",{key:"int",className:`${Kt}-content-value-int`},zt,Jt),Pt&&ue.createElement("span",{key:"decimal",className:`${Kt}-content-value-decimal`},Pt)]}}return ue.createElement("span",{className:`${Kt}-content-value`},an)},ve=Fe(14747),Ke=Fe(67968),Me=Fe(45503);const Ne=Oe=>{const{componentCls:tt,marginXXS:qe,padding:ht,colorTextDescription:St,titleFontSize:Tt,colorTextHeading:Kt,contentFontSize:an,fontFamily:Nn}=Oe;return{[`${tt}`]:Object.assign(Object.assign({},(0,ve.Wf)(Oe)),{[`${tt}-title`]:{marginBottom:qe,color:St,fontSize:Tt},[`${tt}-skeleton`]:{paddingTop:ht},[`${tt}-content`]:{color:Kt,fontSize:an,fontFamily:Nn,[`${tt}-content-value`]:{display:"inline-block",direction:"ltr"},[`${tt}-content-prefix, ${tt}-content-suffix`]:{display:"inline-block"},[`${tt}-content-prefix`]:{marginInlineEnd:qe},[`${tt}-content-suffix`]:{marginInlineStart:qe}}})}};var he=(0,Ke.Z)("Statistic",Oe=>{const tt=(0,Me.TS)(Oe,{});return[Ne(tt)]},Oe=>{const{fontSizeHeading3:tt,fontSize:qe}=Oe;return{titleFontSize:qe,contentFontSize:tt}}),y=Oe=>{const{prefixCls:tt,className:qe,rootClassName:ht,style:St,valueStyle:Tt,value:Kt=0,title:an,valueRender:Nn,prefix:un,suffix:zt,loading:Jt=!1,onMouseEnter:Pt,onMouseLeave:Ye,decimalSeparator:Wt=".",groupSeparator:en=","}=Oe,{getPrefixCls:$n,direction:Ft,statistic:Et}=ue.useContext(nn.E_),on=$n("statistic",tt),[nA,Qn]=he(on),AA=ue.createElement(Ze,Object.assign({decimalSeparator:Wt,groupSeparator:en,prefixCls:on},Oe,{value:Kt})),Ve=bt()(on,{[`${on}-rtl`]:Ft==="rtl"},Et==null?void 0:Et.className,qe,ht,Qn);return nA(ue.createElement("div",{className:Ve,style:Object.assign(Object.assign({},Et==null?void 0:Et.style),St),onMouseEnter:Pt,onMouseLeave:Ye},an&&ue.createElement("div",{className:`${on}-title`},an),ue.createElement(vt.Z,{paragraph:!1,loading:Jt,className:`${on}-skeleton`},ue.createElement("div",{style:Tt,className:`${on}-content`},un&&ue.createElement("span",{className:`${on}-content-prefix`},un),Nn?Nn(AA):AA,zt&&ue.createElement("span",{className:`${on}-content-suffix`},zt)))))};const E=[["Y",1e3*60*60*24*365],["M",1e3*60*60*24*30],["D",1e3*60*60*24],["H",1e3*60*60],["m",1e3*60],["s",1e3],["S",1]];function b(Oe,tt){let qe=Oe;const ht=/\[[^\]]*]/g,St=(tt.match(ht)||[]).map(Nn=>Nn.slice(1,-1)),Tt=tt.replace(ht,"[]"),Kt=E.reduce((Nn,un)=>{let[zt,Jt]=un;if(Nn.includes(zt)){const Pt=Math.floor(qe/Jt);return qe-=Pt*Jt,Nn.replace(new RegExp(`${zt}+`,"g"),Ye=>{const Wt=Ye.length;return Pt.toString().padStart(Wt,"0")})}return Nn},Tt);let an=0;return Kt.replace(ht,()=>{const Nn=St[an];return an+=1,Nn})}function ee(Oe,tt){const{format:qe=""}=tt,ht=new Date(Oe).getTime(),St=Date.now(),Tt=Math.max(ht-St,0);return b(Tt,qe)}const ie=1e3/30;function ce(Oe){return new Date(Oe).getTime()}const Be=Oe=>{const{value:tt,format:qe="HH:mm:ss",onChange:ht,onFinish:St}=Oe,Tt=(0,ft.Z)(),Kt=ue.useRef(null),an=()=>{St==null||St(),Kt.current&&(clearInterval(Kt.current),Kt.current=null)},Nn=()=>{const Jt=ce(tt);Jt>=Date.now()&&(Kt.current=setInterval(()=>{Tt(),ht==null||ht(Jt-Date.now()),Jt(Nn(),()=>{Kt.current&&(clearInterval(Kt.current),Kt.current=null)}),[tt]);const un=(Jt,Pt)=>ee(Jt,Object.assign(Object.assign({},Pt),{format:qe})),zt=Jt=>(0,qt.Tm)(Jt,{title:void 0});return ue.createElement(y,Object.assign({},Oe,{valueRender:zt,formatter:un}))};var Ce=ue.memo(Be);y.Countdown=Ce;var Ue=y},72665:function(kt,tA){"use strict";var Fe;var ue=typeof Symbol=="function"&&Symbol.for,ft=ue?Symbol.for("react.element"):60103,qt=ue?Symbol.for("react.portal"):60106,tn=ue?Symbol.for("react.fragment"):60107,bt=ue?Symbol.for("react.strict_mode"):60108,nn=ue?Symbol.for("react.profiler"):60114,vt=ue?Symbol.for("react.provider"):60109,De=ue?Symbol.for("react.context"):60110,Ze=ue?Symbol.for("react.async_mode"):60111,ve=ue?Symbol.for("react.concurrent_mode"):60111,Ke=ue?Symbol.for("react.forward_ref"):60112,Me=ue?Symbol.for("react.suspense"):60113,Ne=ue?Symbol.for("react.suspense_list"):60120,he=ue?Symbol.for("react.memo"):60115,a=ue?Symbol.for("react.lazy"):60116,y=ue?Symbol.for("react.block"):60121,E=ue?Symbol.for("react.fundamental"):60117,b=ue?Symbol.for("react.responder"):60118,ee=ue?Symbol.for("react.scope"):60119;function ie(Be){if(typeof Be=="object"&&Be!==null){var Ce=Be.$$typeof;switch(Ce){case ft:switch(Be=Be.type,Be){case Ze:case ve:case tn:case nn:case bt:case Me:return Be;default:switch(Be=Be&&Be.$$typeof,Be){case De:case Ke:case a:case he:case vt:return Be;default:return Ce}}case qt:return Ce}}}function ce(Be){return ie(Be)===ve}Fe=Ze,Fe=ve,Fe=De,Fe=vt,Fe=ft,Fe=Ke,Fe=tn,Fe=a,Fe=he,Fe=qt,Fe=nn,Fe=bt,Fe=Me,Fe=function(Be){return ce(Be)||ie(Be)===Ze},Fe=ce,Fe=function(Be){return ie(Be)===De},Fe=function(Be){return ie(Be)===vt},Fe=function(Be){return typeof Be=="object"&&Be!==null&&Be.$$typeof===ft},Fe=function(Be){return ie(Be)===Ke},Fe=function(Be){return ie(Be)===tn},Fe=function(Be){return ie(Be)===a},tA.isMemo=function(Be){return ie(Be)===he},Fe=function(Be){return ie(Be)===qt},Fe=function(Be){return ie(Be)===nn},Fe=function(Be){return ie(Be)===bt},Fe=function(Be){return ie(Be)===Me},Fe=function(Be){return typeof Be=="string"||typeof Be=="function"||Be===tn||Be===ve||Be===nn||Be===bt||Be===Me||Be===Ne||typeof Be=="object"&&Be!==null&&(Be.$$typeof===a||Be.$$typeof===he||Be.$$typeof===vt||Be.$$typeof===De||Be.$$typeof===Ke||Be.$$typeof===E||Be.$$typeof===b||Be.$$typeof===ee||Be.$$typeof===y)},Fe=ie},12060:function(kt,tA,Fe){"use strict";kt.exports=Fe(72665)},46020:function(kt){(function(tA,Fe){kt.exports=Fe()})(this,function(){"use strict";var tA=function(x,z){return tA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(ae,re){ae.__proto__=re}||function(ae,re){for(var fe in re)Object.prototype.hasOwnProperty.call(re,fe)&&(ae[fe]=re[fe])},tA(x,z)};function Fe(x,z){if(typeof z!="function"&&z!==null)throw new TypeError("Class extends value "+String(z)+" is not a constructor or null");tA(x,z);function ae(){this.constructor=x}x.prototype=z===null?Object.create(z):(ae.prototype=z.prototype,new ae)}var ue=function(){return ue=Object.assign||function(z){for(var ae,re=1,fe=arguments.length;re0&&ye[ye.length-1])&&($e[0]===6||$e[0]===2)){ae=0;continue}if($e[0]===3&&(!ye||$e[1]>ye[0]&&$e[1]=55296&&fe<=56319&&ae>10)+55296,Le%1024+56320)),(fe+1===ae||re.length>16384)&&(ye+=String.fromCharCode.apply(String,re),re.length=0)}return ye},ve="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ke=typeof Uint8Array=="undefined"?[]:new Uint8Array(256),Me=0;Me>4,at[fe++]=(Le&15)<<4|xe>>2,at[fe++]=(xe&3)<<6|Ie&63;return $e},E=function(x){for(var z=x.length,ae=[],re=0;re>ee,Ue=1<>ee,qe=Ce+tt,ht=qe,St=32,Tt=ht+St,Kt=65536>>ie,an=1<=0){if(z<55296||z>56319&&z<=65535)return ae=this.index[z>>ee],ae=(ae<>ee)],ae=(ae<>ie),ae=this.index[ae],ae+=z>>ee&Nn,ae=this.index[ae],ae=(ae<Ft?(fe.push(!0),xe-=Ft):fe.push(!1),["normal","auto","loose"].indexOf(z)!==-1&&[8208,8211,12316,12448].indexOf(ye)!==-1)return re.push(Le),ae.push(pt);if(xe===Qn||xe===Kn){if(Le===0)return re.push(Le),ae.push(It);var Ie=ae[Le-1];return Ba.indexOf(Ie)===-1?(re.push(re[Le-1]),ae.push(Ie)):(re.push(Le),ae.push(It))}if(re.push(Le),xe===rn)return ae.push(z==="strict"?In:Xn);if(xe===rr||xe===ct)return ae.push(It);if(xe===kA)return ye>=131072&&ye<=196605||ye>=196608&&ye<=262141?ae.push(Xn):ae.push(It);ae.push(xe)}),[re,ae,fe]},Nt=function(x,z,ae,re){var fe=re[ae];if(Array.isArray(x)?x.indexOf(fe)!==-1:x===fe)for(var ye=ae;ye<=re.length;){ye++;var Le=re[ye];if(Le===z)return!0;if(Le!==iA)break}if(fe===iA)for(var ye=ae;ye>0;){ye--;var xe=re[ye];if(Array.isArray(x)?x.indexOf(xe)!==-1:x===xe)for(var Ie=ae;Ie<=re.length;){Ie++;var Le=re[Ie];if(Le===z)return!0;if(Le!==iA)break}if(xe!==iA)break}return!1},kn=function(x,z){for(var ae=x;ae>=0;){var re=z[ae];if(re===iA)ae--;else return re}return 0},aA=function(x,z,ae,re,fe){if(ae[re]===0)return SA;var ye=re-1;if(Array.isArray(fe)&&fe[ye]===!0)return SA;var Le=ye-1,xe=ye+1,Ie=z[ye],$e=Le>=0?z[Le]:0,at=z[xe];if(Ie===on&&at===nA)return SA;if(Nr.indexOf(Ie)!==-1)return gr;if(Nr.indexOf(at)!==-1||Gr.indexOf(at)!==-1)return SA;if(kn(ye,z)===An)return sr;if(Dr.get(x[ye])===Kn||(Ie===Yn||Ie===Jn)&&Dr.get(x[xe])===Kn||Ie===Ve||at===Ve||Ie===Sn||[iA,rt,At].indexOf(Ie)===-1&&at===Sn||[Gt,ln,pn,hA,Ln].indexOf(at)!==-1||kn(ye,z)===rA||Nt(qn,rA,ye,z)||Nt([Gt,ln],In,ye,z)||Nt(_t,_t,ye,z))return SA;if(Ie===iA)return sr;if(Ie===qn||at===qn)return SA;if(at===pt||Ie===pt)return sr;if([rt,At,In].indexOf(at)!==-1||Ie===_e||$e===uA&&Ut.indexOf(Ie)!==-1||Ie===Ln&&at===uA||at===Cn||PA.indexOf(at)!==-1&&Ie===Qt||PA.indexOf(Ie)!==-1&&at===Qt||Ie===cn&&[Xn,Yn,Jn].indexOf(at)!==-1||[Xn,Yn,Jn].indexOf(Ie)!==-1&&at===vn||PA.indexOf(Ie)!==-1&&ZA.indexOf(at)!==-1||ZA.indexOf(Ie)!==-1&&PA.indexOf(at)!==-1||[cn,vn].indexOf(Ie)!==-1&&(at===Qt||[rA,At].indexOf(at)!==-1&&z[xe+1]===Qt)||[rA,At].indexOf(Ie)!==-1&&at===Qt||Ie===Qt&&[Qt,Ln,hA].indexOf(at)!==-1)return SA;if([Qt,Ln,hA,Gt,ln].indexOf(at)!==-1)for(var st=ye;st>=0;){var Mt=z[st];if(Mt===Qt)return SA;if([Ln,hA].indexOf(Mt)!==-1)st--;else break}if([cn,vn].indexOf(at)!==-1)for(var st=[Gt,ln].indexOf(Ie)!==-1?Le:ye;st>=0;){var Mt=z[st];if(Mt===Qt)return SA;if([Ln,hA].indexOf(Mt)!==-1)st--;else break}if(Mn===Ie&&[Mn,Fn,wA,pA].indexOf(at)!==-1||[Fn,wA].indexOf(Ie)!==-1&&[Fn,dA].indexOf(at)!==-1||[dA,pA].indexOf(Ie)!==-1&&at===dA||Ha.indexOf(Ie)!==-1&&[Cn,vn].indexOf(at)!==-1||Ha.indexOf(at)!==-1&&Ie===cn||PA.indexOf(Ie)!==-1&&PA.indexOf(at)!==-1||Ie===hA&&PA.indexOf(at)!==-1||PA.concat(Qt).indexOf(Ie)!==-1&&at===rA&&cr.indexOf(x[xe])===-1||PA.concat(Qt).indexOf(at)!==-1&&Ie===ln)return SA;if(Ie===lA&&at===lA){for(var hn=ae[ye],yn=1;hn>0&&(hn--,z[hn]===lA);)yn++;if(yn%2!==0)return SA}return Ie===Yn&&at===Jn?SA:sr},_n=function(x,z){z||(z={lineBreak:"normal",wordBreak:"normal"});var ae=yt(x,z.lineBreak),re=ae[0],fe=ae[1],ye=ae[2];(z.wordBreak==="break-all"||z.wordBreak==="break-word")&&(fe=fe.map(function(xe){return[Qt,It,rr].indexOf(xe)!==-1?Xn:xe}));var Le=z.wordBreak==="keep-all"?ye.map(function(xe,Ie){return xe&&x[Ie]>=19968&&x[Ie]<=40959}):void 0;return[re,fe,Le]},ir=function(){function x(z,ae,re,fe){this.codePoints=z,this.required=ae===gr,this.start=re,this.end=fe}return x.prototype.slice=function(){return Ze.apply(void 0,this.codePoints.slice(this.start,this.end))},x}(),qA=function(x,z){var ae=De(x),re=_n(ae,z),fe=re[0],ye=re[1],Le=re[2],xe=ae.length,Ie=0,$e=0;return{next:function(){if($e>=xe)return{done:!0,value:null};for(var at=SA;$e=co&&x<=57},xa=function(x){return x>=55296&&x<=57343},Uo=function(x){return jr(x)||x>=Fo&&x<=yl||x>=ni&&x<=Ga},as=function(x){return x>=ni&&x<=Wo},vs=function(x){return x>=Fo&&x<=ha},os=function(x){return as(x)||vs(x)},GA=function(x){return x>=Xa},cA=function(x){return x===Hn||x===Oa||x===Rr},CA=function(x){return os(x)||GA(x)||x===zo},HA=function(x){return CA(x)||jr(x)||x===Dn},Tr=function(x){return x>=fi&&x<=Rs||x===eo||x>=Io&&x<=ar||x===aa},kr=function(x,z){return x!==wa?!1:z!==Hn},Xr=function(x,z,ae){return x===Dn?CA(z)||kr(z,ae):CA(x)?!0:!!(x===wa&&kr(x,z))},da=function(x,z,ae){return x===Co||x===Dn?jr(z)?!0:z===di&&jr(ae):jr(x===di?z:x)},Ma=function(x){var z=0,ae=1;(x[z]===Co||x[z]===Dn)&&(x[z]===Dn&&(ae=-1),z++);for(var re=[];jr(x[z]);)re.push(x[z++]);var fe=re.length?parseInt(Ze.apply(void 0,re),10):0;x[z]===di&&z++;for(var ye=[];jr(x[z]);)ye.push(x[z++]);var Le=ye.length,xe=Le?parseInt(Ze.apply(void 0,ye),10):0;(x[z]===ks||x[z]===fr)&&z++;var Ie=1;(x[z]===Co||x[z]===Dn)&&(x[z]===Dn&&(Ie=-1),z++);for(var $e=[];jr(x[z]);)$e.push(x[z++]);var at=$e.length?parseInt(Ze.apply(void 0,$e),10):0;return ae*(fe+xe*Math.pow(10,-Le))*Math.pow(10,Ie*at)},_r={type:2},Va={type:3},Sa={type:4},No={type:13},mi={type:8},pa={type:21},Xt={type:9},Ot={type:10},$t={type:11},En={type:12},BA={type:14},IA={type:23},Rt={type:1},YA={type:25},WA={type:24},xA={type:26},xr={type:27},jn={type:28},mr={type:29},Qr={type:31},Kr={type:32},nr=function(){function x(){this._value=[]}return x.prototype.write=function(z){this._value=this._value.concat(De(z))},x.prototype.read=function(){for(var z=[],ae=this.consumeToken();ae!==Kr;)z.push(ae),ae=this.consumeToken();return z},x.prototype.consumeToken=function(){var z=this.consumeCodePoint();switch(z){case Jr:return this.consumeStringToken(Jr);case Go:var ae=this.peekCodePoint(0),re=this.peekCodePoint(1),fe=this.peekCodePoint(2);if(HA(ae)||kr(re,fe)){var ye=Xr(ae,re,fe)?OA:Vt,Le=this.consumeName();return{type:5,value:Le,flags:ye}}break;case Hr:if(this.peekCodePoint(0)===zA)return this.consumeCodePoint(),No;break;case Ko:return this.consumeStringToken(Ko);case ba:return _r;case $a:return Va;case Wa:if(this.peekCodePoint(0)===zA)return this.consumeCodePoint(),BA;break;case Co:if(da(z,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(z),this.consumeNumericToken();break;case Ts:return Sa;case Dn:var xe=z,Ie=this.peekCodePoint(0),$e=this.peekCodePoint(1);if(da(xe,Ie,$e))return this.reconsumeCodePoint(z),this.consumeNumericToken();if(Xr(xe,Ie,$e))return this.reconsumeCodePoint(z),this.consumeIdentLikeToken();if(Ie===Dn&&$e===lo)return this.consumeCodePoint(),this.consumeCodePoint(),WA;break;case di:if(da(z,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(z),this.consumeNumericToken();break;case _A:if(this.peekCodePoint(0)===Wa)for(this.consumeCodePoint();;){var at=this.consumeCodePoint();if(at===Wa&&(at=this.consumeCodePoint(),at===_A))return this.consumeToken();if(at===uo)return this.consumeToken()}break;case bo:return xA;case Ni:return xr;case ci:if(this.peekCodePoint(0)===so&&this.peekCodePoint(1)===Dn&&this.peekCodePoint(2)===Dn)return this.consumeCodePoint(),this.consumeCodePoint(),YA;break;case ia:var st=this.peekCodePoint(0),Mt=this.peekCodePoint(1),hn=this.peekCodePoint(2);if(Xr(st,Mt,hn)){var Le=this.consumeName();return{type:7,value:Le}}break;case Fa:return jn;case wa:if(kr(z,this.peekCodePoint(0)))return this.reconsumeCodePoint(z),this.consumeIdentLikeToken();break;case Vn:return mr;case FA:if(this.peekCodePoint(0)===zA)return this.consumeCodePoint(),mi;break;case tr:return $t;case Ea:return En;case to:case ql:var yn=this.peekCodePoint(0),mn=this.peekCodePoint(1);return yn===Co&&(Uo(mn)||mn===$A)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(z),this.consumeIdentLikeToken();case La:if(this.peekCodePoint(0)===zA)return this.consumeCodePoint(),Xt;if(this.peekCodePoint(0)===La)return this.consumeCodePoint(),pa;break;case za:if(this.peekCodePoint(0)===zA)return this.consumeCodePoint(),Ot;break;case uo:return Kr}return cA(z)?(this.consumeWhiteSpace(),Qr):jr(z)?(this.reconsumeCodePoint(z),this.consumeNumericToken()):CA(z)?(this.reconsumeCodePoint(z),this.consumeIdentLikeToken()):{type:6,value:Ze(z)}},x.prototype.consumeCodePoint=function(){var z=this._value.shift();return typeof z=="undefined"?-1:z},x.prototype.reconsumeCodePoint=function(z){this._value.unshift(z)},x.prototype.peekCodePoint=function(z){return z>=this._value.length?-1:this._value[z]},x.prototype.consumeUnicodeRangeToken=function(){for(var z=[],ae=this.consumeCodePoint();Uo(ae)&&z.length<6;)z.push(ae),ae=this.consumeCodePoint();for(var re=!1;ae===$A&&z.length<6;)z.push(ae),ae=this.consumeCodePoint(),re=!0;if(re){var fe=parseInt(Ze.apply(void 0,z.map(function(Ie){return Ie===$A?co:Ie})),16),ye=parseInt(Ze.apply(void 0,z.map(function(Ie){return Ie===$A?yl:Ie})),16);return{type:30,start:fe,end:ye}}var Le=parseInt(Ze.apply(void 0,z),16);if(this.peekCodePoint(0)===Dn&&Uo(this.peekCodePoint(1))){this.consumeCodePoint(),ae=this.consumeCodePoint();for(var xe=[];Uo(ae)&&xe.length<6;)xe.push(ae),ae=this.consumeCodePoint();var ye=parseInt(Ze.apply(void 0,xe),16);return{type:30,start:Le,end:ye}}else return{type:30,start:Le,end:Le}},x.prototype.consumeIdentLikeToken=function(){var z=this.consumeName();return z.toLowerCase()==="url"&&this.peekCodePoint(0)===ba?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===ba?(this.consumeCodePoint(),{type:19,value:z}):{type:20,value:z}},x.prototype.consumeUrlToken=function(){var z=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===uo)return{type:22,value:""};var ae=this.peekCodePoint(0);if(ae===Ko||ae===Jr){var re=this.consumeStringToken(this.consumeCodePoint());return re.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===uo||this.peekCodePoint(0)===$a)?(this.consumeCodePoint(),{type:22,value:re.value}):(this.consumeBadUrlRemnants(),IA)}for(;;){var fe=this.consumeCodePoint();if(fe===uo||fe===$a)return{type:22,value:Ze.apply(void 0,z)};if(cA(fe))return this.consumeWhiteSpace(),this.peekCodePoint(0)===uo||this.peekCodePoint(0)===$a?(this.consumeCodePoint(),{type:22,value:Ze.apply(void 0,z)}):(this.consumeBadUrlRemnants(),IA);if(fe===Jr||fe===Ko||fe===ba||Tr(fe))return this.consumeBadUrlRemnants(),IA;if(fe===wa)if(kr(fe,this.peekCodePoint(0)))z.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),IA;else z.push(fe)}},x.prototype.consumeWhiteSpace=function(){for(;cA(this.peekCodePoint(0));)this.consumeCodePoint()},x.prototype.consumeBadUrlRemnants=function(){for(;;){var z=this.consumeCodePoint();if(z===$a||z===uo)return;kr(z,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},x.prototype.consumeStringSlice=function(z){for(var ae=5e4,re="";z>0;){var fe=Math.min(ae,z);re+=Ze.apply(void 0,this._value.splice(0,fe)),z-=fe}return this._value.shift(),re},x.prototype.consumeStringToken=function(z){var ae="",re=0;do{var fe=this._value[re];if(fe===uo||fe===void 0||fe===z)return ae+=this.consumeStringSlice(re),{type:0,value:ae};if(fe===Hn)return this._value.splice(0,re),Rt;if(fe===wa){var ye=this._value[re+1];ye!==uo&&ye!==void 0&&(ye===Hn?(ae+=this.consumeStringSlice(re),re=-1,this._value.shift()):kr(fe,ye)&&(ae+=this.consumeStringSlice(re),ae+=Ze(this.consumeEscapedCodePoint()),re=-1))}re++}while(!0)},x.prototype.consumeNumber=function(){var z=[],ae=Pr,re=this.peekCodePoint(0);for((re===Co||re===Dn)&&z.push(this.consumeCodePoint());jr(this.peekCodePoint(0));)z.push(this.consumeCodePoint());re=this.peekCodePoint(0);var fe=this.peekCodePoint(1);if(re===di&&jr(fe))for(z.push(this.consumeCodePoint(),this.consumeCodePoint()),ae=dr;jr(this.peekCodePoint(0));)z.push(this.consumeCodePoint());re=this.peekCodePoint(0),fe=this.peekCodePoint(1);var ye=this.peekCodePoint(2);if((re===ks||re===fr)&&((fe===Co||fe===Dn)&&jr(ye)||jr(fe)))for(z.push(this.consumeCodePoint(),this.consumeCodePoint()),ae=dr;jr(this.peekCodePoint(0));)z.push(this.consumeCodePoint());return[Ma(z),ae]},x.prototype.consumeNumericToken=function(){var z=this.consumeNumber(),ae=z[0],re=z[1],fe=this.peekCodePoint(0),ye=this.peekCodePoint(1),Le=this.peekCodePoint(2);if(Xr(fe,ye,Le)){var xe=this.consumeName();return{type:15,number:ae,flags:re,unit:xe}}return fe===Ca?(this.consumeCodePoint(),{type:16,number:ae,flags:re}):{type:17,number:ae,flags:re}},x.prototype.consumeEscapedCodePoint=function(){var z=this.consumeCodePoint();if(Uo(z)){for(var ae=Ze(z);Uo(this.peekCodePoint(0))&&ae.length<6;)ae+=Ze(this.consumeCodePoint());cA(this.peekCodePoint(0))&&this.consumeCodePoint();var re=parseInt(ae,16);return re===0||xa(re)||re>1114111?Qo:re}return z===uo?Qo:z},x.prototype.consumeName=function(){for(var z="";;){var ae=this.consumeCodePoint();if(HA(ae))z+=Ze(ae);else if(kr(ae,this.peekCodePoint(0)))z+=Ze(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(ae),z}},x}(),er=function(){function x(z){this._tokens=z}return x.create=function(z){var ae=new nr;return ae.write(z),new x(ae.read())},x.parseValue=function(z){return x.create(z).parseComponentValue()},x.parseValues=function(z){return x.create(z).parseComponentValues()},x.prototype.parseComponentValue=function(){for(var z=this.consumeToken();z.type===31;)z=this.consumeToken();if(z.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(z);var ae=this.consumeComponentValue();do z=this.consumeToken();while(z.type===31);if(z.type===32)return ae;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},x.prototype.parseComponentValues=function(){for(var z=[];;){var ae=this.consumeComponentValue();if(ae.type===32)return z;z.push(ae),z.push()}},x.prototype.consumeComponentValue=function(){var z=this.consumeToken();switch(z.type){case 11:case 28:case 2:return this.consumeSimpleBlock(z.type);case 19:return this.consumeFunction(z)}return z},x.prototype.consumeSimpleBlock=function(z){for(var ae={type:z,values:[]},re=this.consumeToken();;){if(re.type===32||Ks(re,z))return ae;this.reconsumeToken(re),ae.values.push(this.consumeComponentValue()),re=this.consumeToken()}},x.prototype.consumeFunction=function(z){for(var ae={name:z.value,values:[],type:18};;){var re=this.consumeToken();if(re.type===32||re.type===3)return ae;this.reconsumeToken(re),ae.values.push(this.consumeComponentValue())}},x.prototype.consumeToken=function(){var z=this._tokens.shift();return typeof z=="undefined"?Kr:z},x.prototype.reconsumeToken=function(z){this._tokens.unshift(z)},x}(),Ir=function(x){return x.type===15},Zr=function(x){return x.type===17},NA=function(x){return x.type===20},Eo=function(x){return x.type===0},Di=function(x,z){return NA(x)&&x.value===z},Gs=function(x){return x.type!==31},ji=function(x){return x.type!==31&&x.type!==4},Ao=function(x){var z=[],ae=[];return x.forEach(function(re){if(re.type===4){if(ae.length===0)throw new Error("Error parsing function args, zero tokens for arg");z.push(ae),ae=[];return}re.type!==31&&ae.push(re)}),ae.length&&z.push(ae),z},Ks=function(x,z){return z===11&&x.type===12||z===28&&x.type===29?!0:z===2&&x.type===3},hi=function(x){return x.type===17||x.type===15},$r=function(x){return x.type===16||hi(x)},Vo=function(x){return x.length>1?[x[0],x[1]]:[x[0]]},Qa={type:17,number:0,flags:Pr},is={type:16,number:50,flags:Pr},fo={type:16,number:100,flags:Pr},Do=function(x,z,ae){var re=x[0],fe=x[1];return[ea(re,z),ea(typeof fe!="undefined"?fe:re,ae)]},ea=function(x,z){if(x.type===16)return x.number/100*z;if(Ir(x))switch(x.unit){case"rem":case"em":return 16*x.number;case"px":default:return x.number}return x.number},Cl="deg",bl="grad",ss="rad",jo="turn",Fl={name:"angle",parse:function(x,z){if(z.type===15)switch(z.unit){case Cl:return Math.PI*z.number/180;case bl:return Math.PI/200*z.number;case ss:return z.number;case jo:return Math.PI*2*z.number}throw new Error("Unsupported angle type")}},Ai=function(x){return x.type===15&&(x.unit===Cl||x.unit===bl||x.unit===ss||x.unit===jo)},Vi=function(x){var z=x.filter(NA).map(function(ae){return ae.value}).join(" ");switch(z){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Qa,Qa];case"to top":case"bottom":return ri(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Qa,fo];case"to right":case"left":return ri(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[fo,fo];case"to bottom":case"top":return ri(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[fo,Qa];case"to left":case"right":return ri(270)}return 0},ri=function(x){return Math.PI*x/180},ls={name:"color",parse:function(x,z){if(z.type===18){var ae=Hu[z.name];if(typeof ae=="undefined")throw new Error('Attempting to parse an unsupported color function "'+z.name+'"');return ae(x,z.values)}if(z.type===5){if(z.value.length===3){var re=z.value.substring(0,1),fe=z.value.substring(1,2),ye=z.value.substring(2,3);return Yi(parseInt(re+re,16),parseInt(fe+fe,16),parseInt(ye+ye,16),1)}if(z.value.length===4){var re=z.value.substring(0,1),fe=z.value.substring(1,2),ye=z.value.substring(2,3),Le=z.value.substring(3,4);return Yi(parseInt(re+re,16),parseInt(fe+fe,16),parseInt(ye+ye,16),parseInt(Le+Le,16)/255)}if(z.value.length===6){var re=z.value.substring(0,2),fe=z.value.substring(2,4),ye=z.value.substring(4,6);return Yi(parseInt(re,16),parseInt(fe,16),parseInt(ye,16),1)}if(z.value.length===8){var re=z.value.substring(0,2),fe=z.value.substring(2,4),ye=z.value.substring(4,6),Le=z.value.substring(6,8);return Yi(parseInt(re,16),parseInt(fe,16),parseInt(ye,16),parseInt(Le,16)/255)}}if(z.type===20){var xe=Ji[z.value.toUpperCase()];if(typeof xe!="undefined")return xe}return Ji.TRANSPARENT}},ro=function(x){return(255&x)===0},no=function(x){var z=255&x,ae=255&x>>8,re=255&x>>16,fe=255&x>>24;return z<255?"rgba("+fe+","+re+","+ae+","+z/255+")":"rgb("+fe+","+re+","+ae+")"},Yi=function(x,z,ae,re){return(x<<24|z<<16|ae<<8|Math.round(re*255)<<0)>>>0},Ng=function(x,z){if(x.type===17)return x.number;if(x.type===16){var ae=z===3?1:255;return z===3?x.number/100*ae:Math.round(x.number/100*ae)}return 0},ru=function(x,z){var ae=z.filter(ji);if(ae.length===3){var re=ae.map(Ng),fe=re[0],ye=re[1],Le=re[2];return Yi(fe,ye,Le,1)}if(ae.length===4){var xe=ae.map(Ng),fe=xe[0],ye=xe[1],Le=xe[2],Ie=xe[3];return Yi(fe,ye,Le,Ie)}return 0};function Dg(x,z,ae){return ae<0&&(ae+=1),ae>=1&&(ae-=1),ae<1/6?(z-x)*ae*6+x:ae<1/2?z:ae<2/3?(z-x)*6*(2/3-ae)+x:x}var au=function(x,z){var ae=z.filter(ji),re=ae[0],fe=ae[1],ye=ae[2],Le=ae[3],xe=(re.type===17?ri(re.number):Fl.parse(x,re))/(Math.PI*2),Ie=$r(fe)?fe.number/100:0,$e=$r(ye)?ye.number/100:0,at=typeof Le!="undefined"&&$r(Le)?ea(Le,1):1;if(Ie===0)return Yi($e*255,$e*255,$e*255,1);var st=$e<=.5?$e*(Ie+1):$e+Ie-$e*Ie,Mt=$e*2-st,hn=Dg(Mt,st,xe+1/3),yn=Dg(Mt,st,xe),mn=Dg(Mt,st,xe-1/3);return Yi(hn*255,yn*255,mn*255,at)},Hu={hsl:au,hsla:au,rgb:ru,rgba:ru},El=function(x,z){return ls.parse(x,er.create(z).parseComponentValue())},Ji={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Mu={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(x,z){return z.map(function(ae){if(NA(ae))switch(ae.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ou={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},_l=function(x,z){var ae=ls.parse(x,z[0]),re=z[1];return re&&$r(re)?{color:ae,stop:re}:{color:ae,stop:null}},iu=function(x,z){var ae=x[0],re=x[x.length-1];ae.stop===null&&(ae.stop=Qa),re.stop===null&&(re.stop=fo);for(var fe=[],ye=0,Le=0;Leye?fe.push(Ie):fe.push(ye),ye=Ie}else fe.push(null)}for(var $e=null,Le=0;LeLe.optimumDistance)?{optimumCorner:xe,optimumDistance:at}:Le},{optimumDistance:fe?1/0:-1/0,optimumCorner:null}).optimumCorner},oe=function(x,z,ae,re,fe){var ye=0,Le=0;switch(x.size){case 0:x.shape===0?ye=Le=Math.min(Math.abs(z),Math.abs(z-re),Math.abs(ae),Math.abs(ae-fe)):x.shape===1&&(ye=Math.min(Math.abs(z),Math.abs(z-re)),Le=Math.min(Math.abs(ae),Math.abs(ae-fe)));break;case 2:if(x.shape===0)ye=Le=Math.min(pi(z,ae),pi(z,ae-fe),pi(z-re,ae),pi(z-re,ae-fe));else if(x.shape===1){var xe=Math.min(Math.abs(ae),Math.abs(ae-fe))/Math.min(Math.abs(z),Math.abs(z-re)),Ie=su(re,fe,z,ae,!0),$e=Ie[0],at=Ie[1];ye=pi($e-z,(at-ae)/xe),Le=xe*ye}break;case 1:x.shape===0?ye=Le=Math.max(Math.abs(z),Math.abs(z-re),Math.abs(ae),Math.abs(ae-fe)):x.shape===1&&(ye=Math.max(Math.abs(z),Math.abs(z-re)),Le=Math.max(Math.abs(ae),Math.abs(ae-fe)));break;case 3:if(x.shape===0)ye=Le=Math.max(pi(z,ae),pi(z,ae-fe),pi(z-re,ae),pi(z-re,ae-fe));else if(x.shape===1){var xe=Math.max(Math.abs(ae),Math.abs(ae-fe))/Math.max(Math.abs(z),Math.abs(z-re)),st=su(re,fe,z,ae,!1),$e=st[0],at=st[1];ye=pi($e-z,(at-ae)/xe),Le=xe*ye}break}return Array.isArray(x.size)&&(ye=ea(x.size[0],re),Le=x.size.length===2?ea(x.size[1],fe):ye),[ye,Le]},te=function(x,z){var ae=ri(180),re=[];return Ao(z).forEach(function(fe,ye){if(ye===0){var Le=fe[0];if(Le.type===20&&Le.value==="to"){ae=Vi(fe);return}else if(Ai(Le)){ae=Fl.parse(x,Le);return}}var xe=_l(x,fe);re.push(xe)}),{angle:ae,stops:re,type:1}},Ae=function(x,z){var ae=ri(180),re=[];return Ao(z).forEach(function(fe,ye){if(ye===0){var Le=fe[0];if(Le.type===20&&["top","left","right","bottom"].indexOf(Le.value)!==-1){ae=Vi(fe);return}else if(Ai(Le)){ae=(Fl.parse(x,Le)+ri(270))%ri(360);return}}var xe=_l(x,fe);re.push(xe)}),{angle:ae,stops:re,type:1}},se=function(x,z){var ae=ri(180),re=[],fe=1,ye=0,Le=3,xe=[];return Ao(z).forEach(function(Ie,$e){var at=Ie[0];if($e===0){if(NA(at)&&at.value==="linear"){fe=1;return}else if(NA(at)&&at.value==="radial"){fe=2;return}}if(at.type===18){if(at.name==="from"){var st=ls.parse(x,at.values[0]);re.push({stop:Qa,color:st})}else if(at.name==="to"){var st=ls.parse(x,at.values[0]);re.push({stop:fo,color:st})}else if(at.name==="color-stop"){var Mt=at.values.filter(ji);if(Mt.length===2){var st=ls.parse(x,Mt[1]),hn=Mt[0];Zr(hn)&&re.push({stop:{type:16,number:hn.number*100,flags:hn.flags},color:st})}}}}),fe===1?{angle:(ae+ri(180))%ri(360),stops:re,type:fe}:{size:Le,shape:ye,stops:re,position:xe,type:fe}},de="closest-side",ge="farthest-side",pe="closest-corner",Se="farthest-corner",Pe="circle",Qe="ellipse",Te="cover",ze="contain",Je=function(x,z){var ae=0,re=3,fe=[],ye=[];return Ao(z).forEach(function(Le,xe){var Ie=!0;if(xe===0){var $e=!1;Ie=Le.reduce(function(st,Mt){if($e)if(NA(Mt))switch(Mt.value){case"center":return ye.push(is),st;case"top":case"left":return ye.push(Qa),st;case"right":case"bottom":return ye.push(fo),st}else($r(Mt)||hi(Mt))&&ye.push(Mt);else if(NA(Mt))switch(Mt.value){case Pe:return ae=0,!1;case Qe:return ae=1,!1;case"at":return $e=!0,!1;case de:return re=0,!1;case Te:case ge:return re=1,!1;case ze:case pe:return re=2,!1;case Se:return re=3,!1}else if(hi(Mt)||$r(Mt))return Array.isArray(re)||(re=[]),re.push(Mt),!1;return st},Ie)}if(Ie){var at=_l(x,Le);fe.push(at)}}),{size:re,shape:ae,stops:fe,position:ye,type:2}},Ee=function(x,z){var ae=0,re=3,fe=[],ye=[];return Ao(z).forEach(function(Le,xe){var Ie=!0;if(xe===0?Ie=Le.reduce(function(at,st){if(NA(st))switch(st.value){case"center":return ye.push(is),!1;case"top":case"left":return ye.push(Qa),!1;case"right":case"bottom":return ye.push(fo),!1}else if($r(st)||hi(st))return ye.push(st),!1;return at},Ie):xe===1&&(Ie=Le.reduce(function(at,st){if(NA(st))switch(st.value){case Pe:return ae=0,!1;case Qe:return ae=1,!1;case ze:case de:return re=0,!1;case ge:return re=1,!1;case pe:return re=2,!1;case Te:case Se:return re=3,!1}else if(hi(st)||$r(st))return Array.isArray(re)||(re=[]),re.push(st),!1;return at},Ie)),Ie){var $e=_l(x,Le);fe.push($e)}}),{size:re,shape:ae,stops:fe,position:ye,type:2}},lt=function(x){return x.type===1},nt=function(x){return x.type===2},mt={name:"image",parse:function(x,z){if(z.type===22){var ae={url:z.value,type:0};return x.cache.addImage(z.value),ae}if(z.type===18){var re=gt[z.name];if(typeof re=="undefined")throw new Error('Attempting to parse an unsupported image function "'+z.name+'"');return re(x,z.values)}throw new Error("Unsupported image type "+z.type)}};function et(x){return!(x.type===20&&x.value==="none")&&(x.type!==18||!!gt[x.name])}var gt={"linear-gradient":te,"-moz-linear-gradient":Ae,"-ms-linear-gradient":Ae,"-o-linear-gradient":Ae,"-webkit-linear-gradient":Ae,"radial-gradient":Je,"-moz-radial-gradient":Ee,"-ms-radial-gradient":Ee,"-o-radial-gradient":Ee,"-webkit-radial-gradient":Ee,"-webkit-gradient":se},Ht={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(x,z){if(z.length===0)return[];var ae=z[0];return ae.type===20&&ae.value==="none"?[]:z.filter(function(re){return ji(re)&&et(re)}).map(function(re){return mt.parse(x,re)})}},sn={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(x,z){return z.map(function(ae){if(NA(ae))switch(ae.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},bn={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(x,z){return Ao(z).map(function(ae){return ae.filter($r)}).map(Vo)}},eA={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(x,z){return Ao(z).map(function(ae){return ae.filter(NA).map(function(re){return re.value}).join(" ")}).map(gn)}},gn=function(x){switch(x){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},Ct;(function(x){x.AUTO="auto",x.CONTAIN="contain",x.COVER="cover"})(Ct||(Ct={}));var zn={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(x,z){return Ao(z).map(function(ae){return ae.filter(Gn)})}},Gn=function(x){return NA(x)||$r(x)},it=function(x){return{name:"border-"+x+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},ot=it("top"),Dt=it("right"),Lt=it("bottom"),xn=it("left"),Bn=function(x){return{name:"border-radius-"+x,initialValue:"0 0",prefix:!1,type:1,parse:function(z,ae){return Vo(ae.filter($r))}}},Tn=Bn("top-left"),dn=Bn("top-right"),Wn=Bn("bottom-right"),Rn=Bn("bottom-left"),bA=function(x){return{name:"border-"+x+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(z,ae){switch(ae){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Ge=bA("top"),dt=bA("right"),Bt=bA("bottom"),jt=bA("left"),Yt=function(x){return{name:"border-"+x+"-width",initialValue:"0",type:0,prefix:!1,parse:function(z,ae){return Ir(ae)?ae.number:0}}},fn=Yt("top"),wn=Yt("right"),Pn=Yt("bottom"),vA=Yt("left"),fA={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},MA={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(x,z){switch(z){case"rtl":return 1;case"ltr":default:return 0}}},KA={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(x,z){return z.filter(NA).reduce(function(ae,re){return ae|pr(re.value)},0)}},pr=function(x){switch(x){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},On={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(x,z){switch(z){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},wt={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(x,z){return z.type===20&&z.value==="normal"?0:z.type===17||z.type===15?z.number:0}},yr;(function(x){x.NORMAL="normal",x.STRICT="strict"})(yr||(yr={}));var Ar={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(x,z){switch(z){case"strict":return yr.STRICT;case"normal":default:return yr.NORMAL}}},gA={name:"line-height",initialValue:"normal",prefix:!1,type:4},yA=function(x,z){return NA(x)&&x.value==="normal"?1.2*z:x.type===17?z*x.number:$r(x)?ea(x,z):z},DA={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(x,z){return z.type===20&&z.value==="none"?null:mt.parse(x,z)}},EA={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(x,z){switch(z){case"inside":return 0;case"outside":default:return 1}}},or={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(x,z){switch(z){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},vr=function(x){return{name:"margin-"+x,initialValue:"0",prefix:!1,type:4}},Lr=vr("top"),Or=vr("right"),Vr=vr("bottom"),sa=vr("left"),Br={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(x,z){return z.filter(NA).map(function(ae){switch(ae.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Mr={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(x,z){switch(z){case"break-word":return"break-word";case"normal":default:return"normal"}}},LA=function(x){return{name:"padding-"+x,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},mo=LA("top"),qr=LA("right"),vi=LA("bottom"),fa=LA("left"),Ia={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(x,z){switch(z){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},Oi={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(x,z){switch(z){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ta={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(x,z){return z.length===1&&Di(z[0],"none")?[]:Ao(z).map(function(ae){for(var re={color:Ji.TRANSPARENT,offsetX:Qa,offsetY:Qa,blur:Qa},fe=0,ye=0;ye1?1:0],this.overflowWrap=jA(z,Mr,ae.overflowWrap),this.paddingTop=jA(z,mo,ae.paddingTop),this.paddingRight=jA(z,qr,ae.paddingRight),this.paddingBottom=jA(z,vi,ae.paddingBottom),this.paddingLeft=jA(z,fa,ae.paddingLeft),this.paintOrder=jA(z,Vs,ae.paintOrder),this.position=jA(z,Oi,ae.position),this.textAlign=jA(z,Ia,ae.textAlign),this.textDecorationColor=jA(z,Ho,(re=ae.textDecorationColor)!==null&&re!==void 0?re:ae.color),this.textDecorationLine=jA(z,Za,(fe=ae.textDecorationLine)!==null&&fe!==void 0?fe:ae.textDecoration),this.textShadow=jA(z,ta,ae.textShadow),this.textTransform=jA(z,Bs,ae.textTransform),this.transform=jA(z,Ta,ae.transform),this.transformOrigin=jA(z,ws,ae.transformOrigin),this.visibility=jA(z,ao,ae.visibility),this.webkitTextStrokeColor=jA(z,Ys,ae.webkitTextStrokeColor),this.webkitTextStrokeWidth=jA(z,$l,ae.webkitTextStrokeWidth),this.wordBreak=jA(z,Hi,ae.wordBreak),this.zIndex=jA(z,hr,ae.zIndex)}return x.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},x.prototype.isTransparent=function(){return ro(this.backgroundColor)},x.prototype.isTransformed=function(){return this.transform!==null},x.prototype.isPositioned=function(){return this.position!==0},x.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},x.prototype.isFloating=function(){return this.float!==0},x.prototype.isInlineLevel=function(){return oa(this.display,4)||oa(this.display,33554432)||oa(this.display,268435456)||oa(this.display,536870912)||oa(this.display,67108864)||oa(this.display,134217728)},x}(),Og=function(){function x(z,ae){this.content=jA(z,Si,ae.content),this.quotes=jA(z,Ss,ae.quotes)}return x}(),ys=function(){function x(z,ae){this.counterIncrement=jA(z,Ti,ae.counterIncrement),this.counterReset=jA(z,oi,ae.counterReset)}return x}(),jA=function(x,z,ae){var re=new nr,fe=ae!==null&&typeof ae!="undefined"?ae.toString():z.initialValue;re.write(fe);var ye=new er(re.read());switch(z.type){case 2:var Le=ye.parseComponentValue();return z.parse(x,NA(Le)?Le.value:z.initialValue);case 0:return z.parse(x,ye.parseComponentValue());case 1:return z.parse(x,ye.parseComponentValues());case 4:return ye.parseComponentValue();case 3:switch(z.format){case"angle":return Fl.parse(x,ye.parseComponentValue());case"color":return ls.parse(x,ye.parseComponentValue());case"image":return mt.parse(x,ye.parseComponentValue());case"length":var xe=ye.parseComponentValue();return hi(xe)?xe:Qa;case"length-percentage":var Ie=ye.parseComponentValue();return $r(Ie)?Ie:Qa;case"time":return ai.parse(x,ye.parseComponentValue())}break}},Hg="data-html2canvas-debug",Ll=function(x){var z=x.getAttribute(Hg);switch(z){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},xl=function(x,z){var ae=Ll(x);return ae===1||z===ae},Jo=function(){function x(z,ae){if(this.context=z,this.textNodes=[],this.elements=[],this.flags=0,xl(ae,3))debugger;this.styles=new jg(z,window.getComputedStyle(ae,null)),Ds(ae)&&(this.styles.animationDuration.some(function(re){return re>0})&&(ae.style.animationDuration="0s"),this.styles.transform!==null&&(ae.style.transform="none")),this.bounds=nn(this.context,ae),xl(ae,4)&&(this.flags|=16)}return x}(),Mg="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU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AAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIA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ae<>Ql),ae=this.index[ae],ae+=z>>Pi&Kg,ae=this.index[ae],ae=(ae<=55296&&fe<=56319&&ae>10)+55296,Le%1024+56320)),(fe+1===ae||re.length>16384)&&(ye+=String.fromCharCode.apply(String,re),re.length=0)}return ye},Es=Zs(Mg),po="\xD7",cs="\xF7",cg=function(x){return Es.get(x)},dg=function(x,z,ae){var re=ae-2,fe=z[re],ye=z[ae-1],Le=z[ae];if(ye===wr&&Le===Dl)return po;if(ye===wr||ye===Dl||ye===ig||Le===wr||Le===Dl||Le===ig)return cs;if(ye===jl&&[jl,gs,lg,gg].indexOf(Le)!==-1||(ye===lg||ye===gs)&&(Le===gs||Le===Fs)||(ye===gg||ye===Fs)&&Le===Fs||Le===ug||Le===yi||Le===sg||ye===og)return po;if(ye===ug&&Le===$s){for(;fe===yi;)fe=z[--re];if(fe===$s)return po}if(ye===_i&&Le===_i){for(var xe=0;fe===_i;)xe++,fe=z[--re];if(xe%2===0)return po}return cs},fg=function(x){var z=us(x),ae=z.length,re=0,fe=0,ye=z.map(cg);return{next:function(){if(re>=ae)return{done:!0,value:null};for(var Le=po;reLe.x||at.y>Le.y;return Le=at,$e===0?!0:st});return x.body.removeChild(z),xe},Wg=function(){return typeof new Image().crossOrigin!="undefined"},fs=function(){return typeof new XMLHttpRequest().responseType=="string"},Ci=function(x){var z=new Image,ae=x.createElement("canvas"),re=ae.getContext("2d");if(!re)return!1;z.src="data:image/svg+xml,";try{re.drawImage(z,0,0),ae.toDataURL()}catch(fe){return!1}return!0},el=function(x){return x[0]===0&&x[1]===255&&x[2]===0&&x[3]===255},Ls=function(x){var z=x.createElement("canvas"),ae=100;z.width=ae,z.height=ae;var re=z.getContext("2d");if(!re)return Promise.reject(!1);re.fillStyle="rgb(0, 255, 0)",re.fillRect(0,0,ae,ae);var fe=new Image,ye=z.toDataURL();fe.src=ye;var Le=Ol(ae,ae,0,0,fe);return re.fillStyle="red",re.fillRect(0,0,ae,ae),xs(Le).then(function(xe){re.drawImage(xe,0,0);var Ie=re.getImageData(0,0,ae,ae).data;re.fillStyle="red",re.fillRect(0,0,ae,ae);var $e=x.createElement("div");return $e.style.backgroundImage="url("+ye+")",$e.style.height=ae+"px",el(Ie)?xs(Ol(ae,ae,0,0,$e)):Promise.reject(!1)}).then(function(xe){return re.drawImage(xe,0,0),el(re.getImageData(0,0,ae,ae).data)}).catch(function(){return!1})},Ol=function(x,z,ae,re,fe){var ye="http://www.w3.org/2000/svg",Le=document.createElementNS(ye,"svg"),xe=document.createElementNS(ye,"foreignObject");return Le.setAttributeNS(null,"width",x.toString()),Le.setAttributeNS(null,"height",z.toString()),xe.setAttributeNS(null,"width","100%"),xe.setAttributeNS(null,"height","100%"),xe.setAttributeNS(null,"x",ae.toString()),xe.setAttributeNS(null,"y",re.toString()),xe.setAttributeNS(null,"externalResourcesRequired","true"),Le.appendChild(xe),xe.appendChild(fe),Le},xs=function(x){return new Promise(function(z,ae){var re=new Image;re.onload=function(){return z(re)},re.onerror=ae,re.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(x))})},qa={get SUPPORT_RANGE_BOUNDS(){var x=$i(document);return Object.defineProperty(qa,"SUPPORT_RANGE_BOUNDS",{value:x}),x},get SUPPORT_WORD_BREAKING(){var x=qa.SUPPORT_RANGE_BOUNDS&&ds(document);return Object.defineProperty(qa,"SUPPORT_WORD_BREAKING",{value:x}),x},get SUPPORT_SVG_DRAWING(){var x=Ci(document);return Object.defineProperty(qa,"SUPPORT_SVG_DRAWING",{value:x}),x},get SUPPORT_FOREIGNOBJECT_DRAWING(){var x=typeof Array.from=="function"&&typeof window.fetch=="function"?Ls(document):Promise.resolve(!1);return Object.defineProperty(qa,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:x}),x},get SUPPORT_CORS_IMAGES(){var x=Wg();return Object.defineProperty(qa,"SUPPORT_CORS_IMAGES",{value:x}),x},get SUPPORT_RESPONSE_TYPE(){var x=fs();return Object.defineProperty(qa,"SUPPORT_RESPONSE_TYPE",{value:x}),x},get SUPPORT_CORS_XHR(){var x="withCredentials"in new XMLHttpRequest;return Object.defineProperty(qa,"SUPPORT_CORS_XHR",{value:x}),x},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var x=!!(typeof Intl!="undefined"&&Intl.Segmenter);return Object.defineProperty(qa,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:x}),x}},es=function(){function x(z,ae){this.text=z,this.bounds=ae}return x}(),Hl=function(x,z,ae,re){var fe=pg(z,ae),ye=[],Le=0;return fe.forEach(function(xe){if(ae.textDecorationLine.length||xe.trim().length>0)if(qa.SUPPORT_RANGE_BOUNDS){var Ie=Qs(re,Le,xe.length).getClientRects();if(Ie.length>1){var $e=Is(xe),at=0;$e.forEach(function(Mt){ye.push(new es(Mt,bt.fromDOMRectList(x,Qs(re,at+Le,Mt.length).getClientRects()))),at+=Mt.length})}else ye.push(new es(xe,bt.fromDOMRectList(x,Ie)))}else{var st=re.splitText(xe.length);ye.push(new es(xe,hg(x,re))),re=st}else qa.SUPPORT_RANGE_BOUNDS||(re=re.splitText(xe.length));Le+=xe.length}),ye},hg=function(x,z){var ae=z.ownerDocument;if(ae){var re=ae.createElement("html2canvaswrapper");re.appendChild(z.cloneNode(!0));var fe=z.parentNode;if(fe){fe.replaceChild(re,z);var ye=nn(x,re);return re.firstChild&&fe.replaceChild(re.firstChild,re),ye}}return bt.EMPTY},Qs=function(x,z,ae){var re=x.ownerDocument;if(!re)throw new Error("Node has no owner document");var fe=re.createRange();return fe.setStart(x,z),fe.setEnd(x,z+ae),fe},Is=function(x){if(qa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var z=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(z.segment(x)).map(function(ae){return ae.segment})}return mg(x)},Ml=function(x,z){if(qa.SUPPORT_NATIVE_TEXT_SEGMENTATION){var ae=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(ae.segment(x)).map(function(re){return re.segment})}return tl(x,z)},pg=function(x,z){return z.letterSpacing!==0?Is(x):Ml(x,z)},Vg=[32,160,4961,65792,65793,4153,4241],tl=function(x,z){for(var ae=qA(x,{lineBreak:z.lineBreak,wordBreak:z.overflowWrap==="break-word"?"break-word":z.wordBreak}),re=[],fe,ye=function(){if(fe.value){var Le=fe.value.slice(),xe=De(Le),Ie="";xe.forEach(function($e){Vg.indexOf($e)===-1?Ie+=Ze($e):(Ie.length&&re.push(Ie),re.push(Ze($e)),Ie="")}),Ie.length&&re.push(Ie)}};!(fe=ae.next()).done;)ye();return re},Us=function(){function x(z,ae,re){this.text=Tl(ae.data,re.textTransform),this.textBounds=Hl(z,this.text,re,ae)}return x}(),Tl=function(x,z){switch(z){case 1:return x.toLowerCase();case 3:return x.replace(ms,Rl);case 2:return x.toUpperCase();default:return x}},ms=/(^|\s|:|-|\(|\))([a-z])/g,Rl=function(x,z,ae){return x.length>0?z+ae.toUpperCase():x},me=function(x){Fe(z,x);function z(ae,re){var fe=x.call(this,ae,re)||this;return fe.src=re.currentSrc||re.src,fe.intrinsicWidth=re.naturalWidth,fe.intrinsicHeight=re.naturalHeight,fe.context.cache.addImage(fe.src),fe}return z}(Jo),He=function(x){Fe(z,x);function z(ae,re){var fe=x.call(this,ae,re)||this;return fe.canvas=re,fe.intrinsicWidth=re.width,fe.intrinsicHeight=re.height,fe}return z}(Jo),ut=function(x){Fe(z,x);function z(ae,re){var fe=x.call(this,ae,re)||this,ye=new XMLSerializer,Le=nn(ae,re);return re.setAttribute("width",Le.width+"px"),re.setAttribute("height",Le.height+"px"),fe.svg="data:image/svg+xml,"+encodeURIComponent(ye.serializeToString(re)),fe.intrinsicWidth=re.width.baseVal.value,fe.intrinsicHeight=re.height.baseVal.value,fe.context.cache.addImage(fe.svg),fe}return z}(Jo),xt=function(x){Fe(z,x);function z(ae,re){var fe=x.call(this,ae,re)||this;return fe.value=re.value,fe}return z}(Jo),Zt=function(x){Fe(z,x);function z(ae,re){var fe=x.call(this,ae,re)||this;return fe.start=re.start,fe.reversed=typeof re.reversed=="boolean"&&re.reversed===!0,fe}return z}(Jo),Un=[{type:15,flags:0,unit:"px",number:3}],oA=[{type:16,flags:0,number:50}],TA=function(x){return x.width>x.height?new bt(x.left+(x.width-x.height)/2,x.top,x.height,x.height):x.width0)ae.textNodes.push(new Us(x,fe,ae.styles));else if(Gi(fe))if(Zo(fe)&&fe.assignedNodes)fe.assignedNodes().forEach(function(xe){return vo(x,xe,ae,re)});else{var Le=ki(x,fe);Le.styles.isVisible()&&(Gl(fe,Le,re)?Le.flags|=4:Kl(Le.styles)&&(Le.flags|=2),bi.indexOf(fe.tagName)!==-1&&(Le.flags|=8),ae.elements.push(Le),fe.slot,fe.shadowRoot?vo(x,fe.shadowRoot,Le,re):!ll(fe)&&!al(fe)&&!Fi(fe)&&vo(x,fe,Le,re))}},ki=function(x,z){return il(z)?new me(x,z):vg(z)?new He(x,z):al(z)?new ut(x,z):Mo(z)?new xt(x,z):nl(z)?new Zt(x,z):Al(z)?new Da(x,z):Fi(z)?new Ka(x,z):ll(z)?new oo(x,z):ii(z)?new _a(x,z):new Jo(x,z)},kl=function(x,z){var ae=ki(x,z);return ae.flags|=4,vo(x,z,ae,ae),ae},Gl=function(x,z,ae){return z.styles.isPositionedWithZIndex()||z.styles.opacity<1||z.styles.isTransformed()||Bo(x)&&ae.styles.isTransparent()},Kl=function(x){return x.isPositioned()||x.isFloating()},Ns=function(x){return x.nodeType===Node.TEXT_NODE},Gi=function(x){return x.nodeType===Node.ELEMENT_NODE},Ds=function(x){return Gi(x)&&typeof x.style!="undefined"&&!ts(x)},ts=function(x){return typeof x.className=="object"},Mo=function(x){return x.tagName==="LI"},nl=function(x){return x.tagName==="OL"},Al=function(x){return x.tagName==="INPUT"},rl=function(x){return x.tagName==="HTML"},al=function(x){return x.tagName==="svg"},Bo=function(x){return x.tagName==="BODY"},vg=function(x){return x.tagName==="CANVAS"},ol=function(x){return x.tagName==="VIDEO"},il=function(x){return x.tagName==="IMG"},ii=function(x){return x.tagName==="IFRAME"},sl=function(x){return x.tagName==="STYLE"},Yg=function(x){return x.tagName==="SCRIPT"},ll=function(x){return x.tagName==="TEXTAREA"},Fi=function(x){return x.tagName==="SELECT"},Zo=function(x){return x.tagName==="SLOT"},si=function(x){return x.tagName.indexOf("-")>0},hs=function(){function x(){this.counters={}}return x.prototype.getCounterValue=function(z){var ae=this.counters[z];return ae&&ae.length?ae[ae.length-1]:1},x.prototype.getCounterValues=function(z){var ae=this.counters[z];return ae||[]},x.prototype.pop=function(z){var ae=this;z.forEach(function(re){return ae.counters[re].pop()})},x.prototype.parse=function(z){var ae=this,re=z.counterIncrement,fe=z.counterReset,ye=!0;re!==null&&re.forEach(function(xe){var Ie=ae.counters[xe.counter];Ie&&xe.increment!==0&&(ye=!1,Ie.length||Ie.push(1),Ie[Math.max(0,Ie.length-1)]+=xe.increment)});var Le=[];return ye&&fe.forEach(function(xe){var Ie=ae.counters[xe.counter];Le.push(xe.counter),Ie||(Ie=ae.counters[xe.counter]=[]),Ie.push(xe.reset)}),Le},x}(),Ei={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},Ki={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},gl={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Li={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},xi=function(x,z,ae,re,fe,ye){return xae?Aa(x,fe,ye.length>0):re.integers.reduce(function(Le,xe,Ie){for(;x>=xe;)x-=xe,Le+=re.values[Ie];return Le},"")+ye},ul=function(x,z,ae,re){var fe="";do ae||x--,fe=re(x)+fe,x/=z;while(x*z>=z);return fe},la=function(x,z,ae,re,fe){var ye=ae-z+1;return(x<0?"-":"")+(ul(Math.abs(x),ye,re,function(Le){return Ze(Math.floor(Le%ye)+z)})+fe)},io=function(x,z,ae){ae===void 0&&(ae=". ");var re=z.length;return ul(Math.abs(x),re,!1,function(fe){return z[Math.floor(fe%re)]})+ae},To=1,Ro=2,qo=4,Qi=8,wo=function(x,z,ae,re,fe,ye){if(x<-9999||x>9999)return Aa(x,4,fe.length>0);var Le=Math.abs(x),xe=fe;if(Le===0)return z[0]+xe;for(var Ie=0;Le>0&&Ie<=4;Ie++){var $e=Le%10;$e===0&&oa(ye,To)&&xe!==""?xe=z[$e]+xe:$e>1||$e===1&&Ie===0||$e===1&&Ie===1&&oa(ye,Ro)||$e===1&&Ie===1&&oa(ye,qo)&&x>100||$e===1&&Ie>1&&oa(ye,Qi)?xe=z[$e]+(Ie>0?ae[Ie-1]:"")+xe:$e===1&&Ie>0&&(xe=ae[Ie-1]+xe),Le=Math.floor(Le/10)}return(x<0?re:"")+xe},cl="\u5341\u767E\u5343\u842C",_o="\u62FE\u4F70\u4EDF\u842C",zi="\u30DE\u30A4\u30CA\u30B9",ga="\uB9C8\uC774\uB108\uC2A4",Aa=function(x,z,ae){var re=ae?". ":"",fe=ae?"\u3001":"",ye=ae?", ":"",Le=ae?" ":"";switch(z){case 0:return"\u2022"+Le;case 1:return"\u25E6"+Le;case 2:return"\u25FE"+Le;case 5:var xe=la(x,48,57,!0,re);return xe.length<4?"0"+xe:xe;case 4:return io(x,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",fe);case 6:return xi(x,1,3999,Ei,3,re).toLowerCase();case 7:return xi(x,1,3999,Ei,3,re);case 8:return la(x,945,969,!1,re);case 9:return la(x,97,122,!1,re);case 10:return la(x,65,90,!1,re);case 11:return la(x,1632,1641,!0,re);case 12:case 49:return xi(x,1,9999,Ki,3,re);case 35:return xi(x,1,9999,Ki,3,re).toLowerCase();case 13:return la(x,2534,2543,!0,re);case 14:case 30:return la(x,6112,6121,!0,re);case 15:return io(x,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",fe);case 16:return io(x,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",fe);case 17:case 48:return wo(x,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",cl,"\u8CA0",fe,Ro|qo|Qi);case 47:return wo(x,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",_o,"\u8CA0",fe,To|Ro|qo|Qi);case 42:return wo(x,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",cl,"\u8D1F",fe,Ro|qo|Qi);case 41:return wo(x,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",_o,"\u8D1F",fe,To|Ro|qo|Qi);case 26:return wo(x,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",zi,fe,0);case 25:return wo(x,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",zi,fe,To|Ro|qo);case 31:return wo(x,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",ga,ye,To|Ro|qo);case 33:return wo(x,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",ga,ye,0);case 32:return wo(x,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",ga,ye,To|Ro|qo);case 18:return la(x,2406,2415,!0,re);case 20:return xi(x,1,19999,Li,3,re);case 21:return la(x,2790,2799,!0,re);case 22:return la(x,2662,2671,!0,re);case 22:return xi(x,1,10999,gl,3,re);case 23:return io(x,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return io(x,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return la(x,3302,3311,!0,re);case 28:return io(x,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",fe);case 29:return io(x,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",fe);case 34:return la(x,3792,3801,!0,re);case 37:return la(x,6160,6169,!0,re);case 38:return la(x,4160,4169,!0,re);case 39:return la(x,2918,2927,!0,re);case 40:return la(x,1776,1785,!0,re);case 43:return la(x,3046,3055,!0,re);case 44:return la(x,3174,3183,!0,re);case 45:return la(x,3664,3673,!0,re);case 46:return la(x,3872,3881,!0,re);case 3:default:return la(x,48,57,!0,re)}},ka="data-html2canvas-ignore",Ja=function(){function x(z,ae,re){if(this.context=z,this.options=re,this.scrolledElements=[],this.referenceElement=ae,this.counters=new hs,this.quoteDepth=0,!ae.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(ae.ownerDocument.documentElement,!1)}return x.prototype.toIFrame=function(z,ae){var re=this,fe=ps(z,ae);if(!fe.contentWindow)return Promise.reject("Unable to find iframe window");var ye=z.defaultView.pageXOffset,Le=z.defaultView.pageYOffset,xe=fe.contentWindow,Ie=xe.document,$e=lu(fe).then(function(){return ft(re,void 0,void 0,function(){var at,st;return qt(this,function(Mt){switch(Mt.label){case 0:return this.scrolledElements.forEach(du),xe&&(xe.scrollTo(ae.left,ae.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(xe.scrollY!==ae.top||xe.scrollX!==ae.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(xe.scrollX-ae.left,xe.scrollY-ae.top,0,0))),at=this.options.onclone,st=this.clonedReferenceElement,typeof st=="undefined"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:Ie.fonts&&Ie.fonts.ready?[4,Ie.fonts.ready]:[3,2];case 1:Mt.sent(),Mt.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Bg(Ie)]:[3,4];case 3:Mt.sent(),Mt.label=4;case 4:return typeof at=="function"?[2,Promise.resolve().then(function(){return at(Ie,st)}).then(function(){return fe})]:[2,fe]}})})});return Ie.open(),Ie.write(uu(document.doctype)+""),cu(this.referenceElement.ownerDocument,ye,Le),Ie.replaceChild(Ie.adoptNode(this.documentElement),Ie.documentElement),Ie.close(),$e},x.prototype.createElementClone=function(z){if(xl(z,2))debugger;if(vg(z))return this.createCanvasClone(z);if(ol(z))return this.createVideoClone(z);if(sl(z))return this.createStyleClone(z);var ae=z.cloneNode(!1);return il(ae)&&(il(z)&&z.currentSrc&&z.currentSrc!==z.src&&(ae.src=z.currentSrc,ae.srcset=""),ae.loading==="lazy"&&(ae.loading="eager")),si(ae)?this.createCustomElementClone(ae):ae},x.prototype.createCustomElementClone=function(z){var ae=document.createElement("html2canvascustomelement");return wg(z.style,ae),ae},x.prototype.createStyleClone=function(z){try{var ae=z.sheet;if(ae&&ae.cssRules){var re=[].slice.call(ae.cssRules,0).reduce(function(ye,Le){return Le&&typeof Le.cssText=="string"?ye+Le.cssText:ye},""),fe=z.cloneNode(!1);return fe.textContent=re,fe}}catch(ye){if(this.context.logger.error("Unable to access cssRules property",ye),ye.name!=="SecurityError")throw ye}return z.cloneNode(!1)},x.prototype.createCanvasClone=function(z){var ae;if(this.options.inlineImages&&z.ownerDocument){var re=z.ownerDocument.createElement("img");try{return re.src=z.toDataURL(),re}catch($e){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",z)}}var fe=z.cloneNode(!1);try{fe.width=z.width,fe.height=z.height;var ye=z.getContext("2d"),Le=fe.getContext("2d");if(Le)if(!this.options.allowTaint&&ye)Le.putImageData(ye.getImageData(0,0,z.width,z.height),0,0);else{var xe=(ae=z.getContext("webgl2"))!==null&&ae!==void 0?ae:z.getContext("webgl");if(xe){var Ie=xe.getContextAttributes();(Ie==null?void 0:Ie.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",z)}Le.drawImage(z,0,0)}return fe}catch($e){this.context.logger.info("Unable to clone canvas as it is tainted",z)}return fe},x.prototype.createVideoClone=function(z){var ae=z.ownerDocument.createElement("canvas");ae.width=z.offsetWidth,ae.height=z.offsetHeight;var re=ae.getContext("2d");try{return re&&(re.drawImage(z,0,0,ae.width,ae.height),this.options.allowTaint||re.getImageData(0,0,ae.width,ae.height)),ae}catch(ye){this.context.logger.info("Unable to clone video as it is tainted",z)}var fe=z.ownerDocument.createElement("canvas");return fe.width=z.offsetWidth,fe.height=z.offsetHeight,fe},x.prototype.appendChildNode=function(z,ae,re){(!Gi(ae)||!Yg(ae)&&!ae.hasAttribute(ka)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(ae)))&&(!this.options.copyStyles||!Gi(ae)||!sl(ae))&&z.appendChild(this.cloneNode(ae,re))},x.prototype.cloneChildNodes=function(z,ae,re){for(var fe=this,ye=z.shadowRoot?z.shadowRoot.firstChild:z.firstChild;ye;ye=ye.nextSibling)if(Gi(ye)&&Zo(ye)&&typeof ye.assignedNodes=="function"){var Le=ye.assignedNodes();Le.length&&Le.forEach(function(xe){return fe.appendChildNode(ae,xe,re)})}else this.appendChildNode(ae,ye,re)},x.prototype.cloneNode=function(z,ae){if(Ns(z))return document.createTextNode(z.data);if(!z.ownerDocument)return z.cloneNode(!1);var re=z.ownerDocument.defaultView;if(re&&Gi(z)&&(Ds(z)||ts(z))){var fe=this.createElementClone(z);fe.style.transitionProperty="none";var ye=re.getComputedStyle(z),Le=re.getComputedStyle(z,":before"),xe=re.getComputedStyle(z,":after");this.referenceElement===z&&Ds(fe)&&(this.clonedReferenceElement=fe),Bo(fe)&&Pg(fe);var Ie=this.counters.parse(new ys(this.context,ye)),$e=this.resolvePseudoContent(z,fe,Le,$o.BEFORE);si(z)&&(ae=!0),ol(z)||this.cloneChildNodes(z,fe,ae),$e&&fe.insertBefore($e,fe.firstChild);var at=this.resolvePseudoContent(z,fe,xe,$o.AFTER);return at&&fe.appendChild(at),this.counters.pop(Ie),(ye&&(this.options.copyStyles||ts(z))&&!ii(z)||ae)&&wg(ye,fe),(z.scrollTop!==0||z.scrollLeft!==0)&&this.scrolledElements.push([fe,z.scrollLeft,z.scrollTop]),(ll(z)||Fi(z))&&(ll(fe)||Fi(fe))&&(fe.value=z.value),fe}return z.cloneNode(!1)},x.prototype.resolvePseudoContent=function(z,ae,re,fe){var ye=this;if(re){var Le=re.content,xe=ae.ownerDocument;if(!(!xe||!Le||Le==="none"||Le==="-moz-alt-content"||re.display==="none")){this.counters.parse(new ys(this.context,re));var Ie=new Og(this.context,re),$e=xe.createElement("html2canvaspseudoelement");wg(re,$e),Ie.content.forEach(function(st){if(st.type===0)$e.appendChild(xe.createTextNode(st.value));else if(st.type===22){var Mt=xe.createElement("img");Mt.src=st.value,Mt.style.opacity="1",$e.appendChild(Mt)}else if(st.type===18){if(st.name==="attr"){var hn=st.values.filter(NA);hn.length&&$e.appendChild(xe.createTextNode(z.getAttribute(hn[0].value)||""))}else if(st.name==="counter"){var yn=st.values.filter(ji),mn=yn[0],RA=yn[1];if(mn&&NA(mn)){var mA=ye.counters.getCounterValue(mn.value),sA=RA&&NA(RA)?or.parse(ye.context,RA.value):3;$e.appendChild(xe.createTextNode(Aa(mA,sA,!1)))}}else if(st.name==="counters"){var VA=st.values.filter(ji),mn=VA[0],JA=VA[1],RA=VA[2];if(mn&&NA(mn)){var QA=ye.counters.getCounterValues(mn.value),Zn=RA&&NA(RA)?or.parse(ye.context,RA.value):3,ur=JA&&JA.type===0?JA.value:"",Sr=QA.map(function(Er){return Aa(Er,Zn,!1)}).join(ur);$e.appendChild(xe.createTextNode(Sr))}}}else if(st.type===20)switch(st.value){case"open-quote":$e.appendChild(xe.createTextNode(Ps(Ie.quotes,ye.quoteDepth++,!0)));break;case"close-quote":$e.appendChild(xe.createTextNode(Ps(Ie.quotes,--ye.quoteDepth,!1)));break;default:$e.appendChild(xe.createTextNode(st.value))}}),$e.className=xo+" "+ko;var at=fe===$o.BEFORE?" "+xo:" "+ko;return ts(ae)?ae.className.baseValue+=at:ae.className+=at,$e}}},x.destroy=function(z){return z.parentNode?(z.parentNode.removeChild(z),!0):!1},x}(),$o;(function(x){x[x.BEFORE=0]="BEFORE",x[x.AFTER=1]="AFTER"})($o||($o={}));var ps=function(x,z){var ae=x.createElement("iframe");return ae.className="html2canvas-container",ae.style.visibility="hidden",ae.style.position="fixed",ae.style.left="-10000px",ae.style.top="0px",ae.style.border="0",ae.width=z.width.toString(),ae.height=z.height.toString(),ae.scrolling="no",ae.setAttribute(ka,"true"),x.body.appendChild(ae),ae},dl=function(x){return new Promise(function(z){if(x.complete){z();return}if(!x.src){z();return}x.onload=z,x.onerror=z})},Bg=function(x){return Promise.all([].slice.call(x.images,0).map(dl))},lu=function(x){return new Promise(function(z,ae){var re=x.contentWindow;if(!re)return ae("No window assigned for iframe");var fe=re.document;re.onload=x.onload=function(){re.onload=x.onload=null;var ye=setInterval(function(){fe.body.childNodes.length>0&&fe.readyState==="complete"&&(clearInterval(ye),z(x))},50)}})},gu=["all","d","content"],wg=function(x,z){for(var ae=x.length-1;ae>=0;ae--){var re=x.item(ae);gu.indexOf(re)===-1&&z.style.setProperty(re,x.getPropertyValue(re))}return z},uu=function(x){var z="";return x&&(z+=""),z},cu=function(x,z,ae){x&&x.defaultView&&(z!==x.defaultView.pageXOffset||ae!==x.defaultView.pageYOffset)&&x.defaultView.scrollTo(z,ae)},du=function(x){var z=x[0],ae=x[1],re=x[2];z.scrollLeft=ae,z.scrollTop=re},Jg=":before",Sg=":after",xo="___html2canvas___pseudoelement_before",ko="___html2canvas___pseudoelement_after",zl=`{ content: "" !important; display: none !important; }`,Pg=function(x){fu(x,"."+xo+Jg+zl+` .`+ko+Sg+zl)},fu=function(x,z){var ae=x.ownerDocument;if(ae){var re=ae.createElement("style");re.textContent=z,x.appendChild(re)}},Wl=function(){function x(){}return x.getOrigin=function(z){var ae=x._link;return ae?(ae.href=z,ae.href=ae.href,ae.protocol+ae.hostname+ae.port):"about:blank"},x.isSameOrigin=function(z){return x.getOrigin(z)===x._origin},x.setContext=function(z){x._link=z.document.createElement("a"),x._origin=x.getOrigin(z.location.href)},x._origin="about:blank",x}(),yg=function(){function x(z,ae){this.context=z,this._options=ae,this._cache={}}return x.prototype.addImage=function(z){var ae=Promise.resolve();return this.has(z)||($g(z)||qg(z))&&(this._cache[z]=this.loadImage(z)).catch(function(){}),ae},x.prototype.match=function(z){return this._cache[z]},x.prototype.loadImage=function(z){return ft(this,void 0,void 0,function(){var ae,re,fe,ye,Le=this;return qt(this,function(xe){switch(xe.label){case 0:return ae=Wl.isSameOrigin(z),re=!fl(z)&&this._options.useCORS===!0&&qa.SUPPORT_CORS_IMAGES&&!ae,fe=!fl(z)&&!ae&&!$g(z)&&typeof this._options.proxy=="string"&&qa.SUPPORT_CORS_XHR&&!re,!ae&&this._options.allowTaint===!1&&!fl(z)&&!$g(z)&&!fe&&!re?[2]:(ye=z,fe?[4,this.proxy(ye)]:[3,2]);case 1:ye=xe.sent(),xe.label=2;case 2:return this.context.logger.debug("Added image "+z.substring(0,256)),[4,new Promise(function(Ie,$e){var at=new Image;at.onload=function(){return Ie(at)},at.onerror=$e,(_g(ye)||re)&&(at.crossOrigin="anonymous"),at.src=ye,at.complete===!0&&setTimeout(function(){return Ie(at)},500),Le._options.imageTimeout>0&&setTimeout(function(){return $e("Timed out ("+Le._options.imageTimeout+"ms) loading image")},Le._options.imageTimeout)})];case 3:return[2,xe.sent()]}})})},x.prototype.has=function(z){return typeof this._cache[z]!="undefined"},x.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},x.prototype.proxy=function(z){var ae=this,re=this._options.proxy;if(!re)throw new Error("No proxy defined");var fe=z.substring(0,256);return new Promise(function(ye,Le){var xe=qa.SUPPORT_RESPONSE_TYPE?"blob":"text",Ie=new XMLHttpRequest;Ie.onload=function(){if(Ie.status===200)if(xe==="text")ye(Ie.response);else{var st=new FileReader;st.addEventListener("load",function(){return ye(st.result)},!1),st.addEventListener("error",function(Mt){return Le(Mt)},!1),st.readAsDataURL(Ie.response)}else Le("Failed to proxy resource "+fe+" with status code "+Ie.status)},Ie.onerror=Le;var $e=re.indexOf("?")>-1?"&":"?";if(Ie.open("GET",""+re+$e+"url="+encodeURIComponent(z)+"&responseType="+xe),xe!=="text"&&Ie instanceof XMLHttpRequest&&(Ie.responseType=xe),ae._options.imageTimeout){var at=ae._options.imageTimeout;Ie.timeout=at,Ie.ontimeout=function(){return Le("Timed out ("+at+"ms) proxying "+fe)}}Ie.send()})},x}(),Xg=/^data:image\/svg\+xml/i,mu=/^data:image\/.*;base64,/i,Zg=/^data:image\/.*/i,qg=function(x){return qa.SUPPORT_SVG_DRAWING||!ku(x)},fl=function(x){return Zg.test(x)},_g=function(x){return mu.test(x)},$g=function(x){return x.substr(0,4)==="blob"},ku=function(x){return x.substr(-3).toLowerCase()==="svg"||Xg.test(x)},UA=function(){function x(z,ae){this.type=0,this.x=z,this.y=ae}return x.prototype.add=function(z,ae){return new x(this.x+z,this.y+ae)},x}(),ml=function(x,z,ae){return new UA(x.x+(z.x-x.x)*ae,x.y+(z.y-x.y)*ae)},Cg=function(){function x(z,ae,re,fe){this.type=1,this.start=z,this.startControl=ae,this.endControl=re,this.end=fe}return x.prototype.subdivide=function(z,ae){var re=ml(this.start,this.startControl,z),fe=ml(this.startControl,this.endControl,z),ye=ml(this.endControl,this.end,z),Le=ml(re,fe,z),xe=ml(fe,ye,z),Ie=ml(Le,xe,z);return ae?new x(this.start,re,Le,Ie):new x(Ie,xe,ye,this.end)},x.prototype.add=function(z,ae){return new x(this.start.add(z,ae),this.startControl.add(z,ae),this.endControl.add(z,ae),this.end.add(z,ae))},x.prototype.reverse=function(){return new x(this.end,this.endControl,this.startControl,this.start)},x}(),li=function(x){return x.type===1},Gu=function(){function x(z){var ae=z.styles,re=z.bounds,fe=Do(ae.borderTopLeftRadius,re.width,re.height),ye=fe[0],Le=fe[1],xe=Do(ae.borderTopRightRadius,re.width,re.height),Ie=xe[0],$e=xe[1],at=Do(ae.borderBottomRightRadius,re.width,re.height),st=at[0],Mt=at[1],hn=Do(ae.borderBottomLeftRadius,re.width,re.height),yn=hn[0],mn=hn[1],RA=[];RA.push((ye+Ie)/re.width),RA.push((yn+st)/re.width),RA.push((Le+mn)/re.height),RA.push(($e+Mt)/re.height);var mA=Math.max.apply(Math,RA);mA>1&&(ye/=mA,Le/=mA,Ie/=mA,$e/=mA,st/=mA,Mt/=mA,yn/=mA,mn/=mA);var sA=re.width-Ie,VA=re.height-Mt,JA=re.width-st,QA=re.height-mn,Zn=ae.borderTopWidth,ur=ae.borderRightWidth,Sr=ae.borderBottomWidth,XA=ae.borderLeftWidth,Yr=ea(ae.paddingTop,z.bounds.width),Er=ea(ae.paddingRight,z.bounds.width),Pa=ea(ae.paddingBottom,z.bounds.width),Ur=ea(ae.paddingLeft,z.bounds.width);this.topLeftBorderDoubleOuterBox=ye>0||Le>0?va(re.left+XA/3,re.top+Zn/3,ye-XA/3,Le-Zn/3,ra.TOP_LEFT):new UA(re.left+XA/3,re.top+Zn/3),this.topRightBorderDoubleOuterBox=ye>0||Le>0?va(re.left+sA,re.top+Zn/3,Ie-ur/3,$e-Zn/3,ra.TOP_RIGHT):new UA(re.left+re.width-ur/3,re.top+Zn/3),this.bottomRightBorderDoubleOuterBox=st>0||Mt>0?va(re.left+JA,re.top+VA,st-ur/3,Mt-Sr/3,ra.BOTTOM_RIGHT):new UA(re.left+re.width-ur/3,re.top+re.height-Sr/3),this.bottomLeftBorderDoubleOuterBox=yn>0||mn>0?va(re.left+XA/3,re.top+QA,yn-XA/3,mn-Sr/3,ra.BOTTOM_LEFT):new UA(re.left+XA/3,re.top+re.height-Sr/3),this.topLeftBorderDoubleInnerBox=ye>0||Le>0?va(re.left+XA*2/3,re.top+Zn*2/3,ye-XA*2/3,Le-Zn*2/3,ra.TOP_LEFT):new UA(re.left+XA*2/3,re.top+Zn*2/3),this.topRightBorderDoubleInnerBox=ye>0||Le>0?va(re.left+sA,re.top+Zn*2/3,Ie-ur*2/3,$e-Zn*2/3,ra.TOP_RIGHT):new UA(re.left+re.width-ur*2/3,re.top+Zn*2/3),this.bottomRightBorderDoubleInnerBox=st>0||Mt>0?va(re.left+JA,re.top+VA,st-ur*2/3,Mt-Sr*2/3,ra.BOTTOM_RIGHT):new UA(re.left+re.width-ur*2/3,re.top+re.height-Sr*2/3),this.bottomLeftBorderDoubleInnerBox=yn>0||mn>0?va(re.left+XA*2/3,re.top+QA,yn-XA*2/3,mn-Sr*2/3,ra.BOTTOM_LEFT):new UA(re.left+XA*2/3,re.top+re.height-Sr*2/3),this.topLeftBorderStroke=ye>0||Le>0?va(re.left+XA/2,re.top+Zn/2,ye-XA/2,Le-Zn/2,ra.TOP_LEFT):new UA(re.left+XA/2,re.top+Zn/2),this.topRightBorderStroke=ye>0||Le>0?va(re.left+sA,re.top+Zn/2,Ie-ur/2,$e-Zn/2,ra.TOP_RIGHT):new UA(re.left+re.width-ur/2,re.top+Zn/2),this.bottomRightBorderStroke=st>0||Mt>0?va(re.left+JA,re.top+VA,st-ur/2,Mt-Sr/2,ra.BOTTOM_RIGHT):new UA(re.left+re.width-ur/2,re.top+re.height-Sr/2),this.bottomLeftBorderStroke=yn>0||mn>0?va(re.left+XA/2,re.top+QA,yn-XA/2,mn-Sr/2,ra.BOTTOM_LEFT):new UA(re.left+XA/2,re.top+re.height-Sr/2),this.topLeftBorderBox=ye>0||Le>0?va(re.left,re.top,ye,Le,ra.TOP_LEFT):new UA(re.left,re.top),this.topRightBorderBox=Ie>0||$e>0?va(re.left+sA,re.top,Ie,$e,ra.TOP_RIGHT):new UA(re.left+re.width,re.top),this.bottomRightBorderBox=st>0||Mt>0?va(re.left+JA,re.top+VA,st,Mt,ra.BOTTOM_RIGHT):new UA(re.left+re.width,re.top+re.height),this.bottomLeftBorderBox=yn>0||mn>0?va(re.left,re.top+QA,yn,mn,ra.BOTTOM_LEFT):new UA(re.left,re.top+re.height),this.topLeftPaddingBox=ye>0||Le>0?va(re.left+XA,re.top+Zn,Math.max(0,ye-XA),Math.max(0,Le-Zn),ra.TOP_LEFT):new UA(re.left+XA,re.top+Zn),this.topRightPaddingBox=Ie>0||$e>0?va(re.left+Math.min(sA,re.width-ur),re.top+Zn,sA>re.width+ur?0:Math.max(0,Ie-ur),Math.max(0,$e-Zn),ra.TOP_RIGHT):new UA(re.left+re.width-ur,re.top+Zn),this.bottomRightPaddingBox=st>0||Mt>0?va(re.left+Math.min(JA,re.width-XA),re.top+Math.min(VA,re.height-Sr),Math.max(0,st-ur),Math.max(0,Mt-Sr),ra.BOTTOM_RIGHT):new UA(re.left+re.width-ur,re.top+re.height-Sr),this.bottomLeftPaddingBox=yn>0||mn>0?va(re.left+XA,re.top+Math.min(QA,re.height-Sr),Math.max(0,yn-XA),Math.max(0,mn-Sr),ra.BOTTOM_LEFT):new UA(re.left+XA,re.top+re.height-Sr),this.topLeftContentBox=ye>0||Le>0?va(re.left+XA+Ur,re.top+Zn+Yr,Math.max(0,ye-(XA+Ur)),Math.max(0,Le-(Zn+Yr)),ra.TOP_LEFT):new UA(re.left+XA+Ur,re.top+Zn+Yr),this.topRightContentBox=Ie>0||$e>0?va(re.left+Math.min(sA,re.width+XA+Ur),re.top+Zn+Yr,sA>re.width+XA+Ur?0:Ie-XA+Ur,$e-(Zn+Yr),ra.TOP_RIGHT):new UA(re.left+re.width-(ur+Er),re.top+Zn+Yr),this.bottomRightContentBox=st>0||Mt>0?va(re.left+Math.min(JA,re.width-(XA+Ur)),re.top+Math.min(VA,re.height+Zn+Yr),Math.max(0,st-(ur+Er)),Mt-(Sr+Pa),ra.BOTTOM_RIGHT):new UA(re.left+re.width-(ur+Er),re.top+re.height-(Sr+Pa)),this.bottomLeftContentBox=yn>0||mn>0?va(re.left+XA+Ur,re.top+QA,Math.max(0,yn-(XA+Ur)),mn-(Sr+Pa),ra.BOTTOM_LEFT):new UA(re.left+XA+Ur,re.top+re.height-(Sr+Pa))}return x}(),ra;(function(x){x[x.TOP_LEFT=0]="TOP_LEFT",x[x.TOP_RIGHT=1]="TOP_RIGHT",x[x.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",x[x.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(ra||(ra={}));var va=function(x,z,ae,re,fe){var ye=4*((Math.sqrt(2)-1)/3),Le=ae*ye,xe=re*ye,Ie=x+ae,$e=z+re;switch(fe){case ra.TOP_LEFT:return new Cg(new UA(x,$e),new UA(x,$e-xe),new UA(Ie-Le,z),new UA(Ie,z));case ra.TOP_RIGHT:return new Cg(new UA(x,z),new UA(x+Le,z),new UA(Ie,$e-xe),new UA(Ie,$e));case ra.BOTTOM_RIGHT:return new Cg(new UA(Ie,z),new UA(Ie,z+xe),new UA(x+Le,$e),new UA(x,$e));case ra.BOTTOM_LEFT:default:return new Cg(new UA(Ie,$e),new UA(Ie-Le,$e),new UA(x,z+xe),new UA(x,z))}},hl=function(x){return[x.topLeftBorderBox,x.topRightBorderBox,x.bottomRightBorderBox,x.bottomLeftBorderBox]},Vl=function(x){return[x.topLeftContentBox,x.topRightContentBox,x.bottomRightContentBox,x.bottomLeftContentBox]},bg=function(x){return[x.topLeftPaddingBox,x.topRightPaddingBox,x.bottomRightPaddingBox,x.bottomLeftPaddingBox]},Ku=function(){function x(z,ae,re){this.offsetX=z,this.offsetY=ae,this.matrix=re,this.type=0,this.target=6}return x}(),Yl=function(){function x(z,ae){this.path=z,this.target=ae,this.type=1}return x}(),zu=function(){function x(z){this.opacity=z,this.type=2,this.target=6}return x}(),Wu=function(x){return x.type===0},hu=function(x){return x.type===1},Vu=function(x){return x.type===2},ns=function(x,z){return x.length===z.length?x.some(function(ae,re){return ae===z[re]}):!1},Ii=function(x,z,ae,re,fe){return x.map(function(ye,Le){switch(Le){case 0:return ye.add(z,ae);case 1:return ye.add(z+re,ae);case 2:return ye.add(z+re,ae+fe);case 3:return ye.add(z,ae+fe)}return ye})},Wi=function(){function x(z){this.element=z,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return x}(),pu=function(){function x(z,ae){if(this.container=z,this.parent=ae,this.effects=[],this.curves=new Gu(this.container),this.container.styles.opacity<1&&this.effects.push(new zu(this.container.styles.opacity)),this.container.styles.transform!==null){var re=this.container.bounds.left+this.container.styles.transformOrigin[0].number,fe=this.container.bounds.top+this.container.styles.transformOrigin[1].number,ye=this.container.styles.transform;this.effects.push(new Ku(re,fe,ye))}if(this.container.styles.overflowX!==0){var Le=hl(this.curves),xe=bg(this.curves);ns(Le,xe)?this.effects.push(new Yl(Le,6)):(this.effects.push(new Yl(Le,2)),this.effects.push(new Yl(xe,4)))}}return x.prototype.getEffects=function(z){for(var ae=[2,3].indexOf(this.container.styles.position)===-1,re=this.parent,fe=this.effects.slice(0);re;){var ye=re.effects.filter(function(Ie){return!hu(Ie)});if(ae||re.container.styles.position!==0||!re.parent){if(fe.unshift.apply(fe,ye),ae=[2,3].indexOf(re.container.styles.position)===-1,re.container.styles.overflowX!==0){var Le=hl(re.curves),xe=bg(re.curves);ns(Le,xe)||fe.unshift(new Yl(xe,6))}}else fe.unshift.apply(fe,ye);re=re.parent}return fe.filter(function(Ie){return oa(Ie.target,z)})},x}(),Fg=function(x,z,ae,re){x.container.elements.forEach(function(fe){var ye=oa(fe.flags,4),Le=oa(fe.flags,2),xe=new pu(fe,x);oa(fe.styles.display,2048)&&re.push(xe);var Ie=oa(fe.flags,8)?[]:re;if(ye||Le){var $e=ye||fe.styles.isPositioned()?ae:z,at=new Wi(xe);if(fe.styles.isPositioned()||fe.styles.opacity<1||fe.styles.isTransformed()){var st=fe.styles.zIndex.order;if(st<0){var Mt=0;$e.negativeZIndex.some(function(yn,mn){return st>yn.element.container.styles.zIndex.order?(Mt=mn,!1):Mt>0}),$e.negativeZIndex.splice(Mt,0,at)}else if(st>0){var hn=0;$e.positiveZIndex.some(function(yn,mn){return st>=yn.element.container.styles.zIndex.order?(hn=mn+1,!1):hn>0}),$e.positiveZIndex.splice(hn,0,at)}else $e.zeroOrAutoZIndexOrTransformedOrOpacity.push(at)}else fe.styles.isFloating()?$e.nonPositionedFloats.push(at):$e.nonPositionedInlineLevel.push(at);Fg(xe,at,ye?at:ae,Ie)}else fe.styles.isInlineLevel()?z.inlineLevel.push(xe):z.nonInlineLevel.push(xe),Fg(xe,z,ae,Ie);oa(fe.flags,8)&&As(fe,Ie)})},As=function(x,z){for(var ae=x instanceof Zt?x.start:1,re=x instanceof Zt?x.reversed:!1,fe=0;fe0&&ae.intrinsicHeight>0){var ye=js(ae),Le=bg(re);this.path(Le),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(fe,0,0,ae.intrinsicWidth,ae.intrinsicHeight,ye.left,ye.top,ye.width,ye.height),this.ctx.restore()}},z.prototype.renderNodeContent=function(ae){return ft(this,void 0,void 0,function(){var re,fe,ye,Le,xe,Ie,sA,sA,$e,at,st,Mt,JA,hn,yn,QA,mn,RA,mA,sA,VA,JA,QA;return qt(this,function(Zn){switch(Zn.label){case 0:this.applyEffects(ae.getEffects(4)),re=ae.container,fe=ae.curves,ye=re.styles,Le=0,xe=re.textNodes,Zn.label=1;case 1:return Le0&&Wr>0&&(Sr=ye.ctx.createPattern(QA,"repeat"),ye.renderRepeat(Yr,Sr,ua,ya))):nt(at)&&(XA=Zl(ae,re,[null,null,null]),Yr=XA[0],Er=XA[1],Pa=XA[2],Ur=XA[3],Wr=XA[4],ja=at.position.length===0?[is]:at.position,ua=ea(ja[0],Ur),ya=ea(ja[ja.length-1],Wr),So=oe(at,ua,ya,Ur,Wr),ma=So[0],Po=So[1],ma>0&&Po>0&&(ti=ye.ctx.createRadialGradient(Er+ua,Pa+ya,0,Er+ua,Pa+ya,ma),iu(at.stops,ma*2).forEach(function(vl){return ti.addColorStop(vl.stop,no(vl.color))}),ye.path(Yr),ye.ctx.fillStyle=ti,ma!==Po?(ui=ae.bounds.left+.5*ae.bounds.width,yo=ae.bounds.top+.5*ae.bounds.height,ca=Po/ma,Ui=1/ca,ye.ctx.save(),ye.ctx.translate(ui,yo),ye.ctx.transform(1,0,0,ca,0,0),ye.ctx.translate(-ui,-yo),ye.ctx.fillRect(Er,Ui*(Pa-yo)+yo,Ur,Wr*Ui),ye.ctx.restore()):ye.ctx.fill())),Hs.label=6;case 6:return re--,[2]}})},ye=this,Le=0,xe=ae.styles.backgroundImage.slice(0).reverse(),$e.label=1;case 1:return Le0?at.style!==2?[3,5]:[4,this.renderDashedDottedBorder(at.color,at.width,xe,ae.curves,2)]:[3,11]):[3,13];case 4:return Mt.sent(),[3,11];case 5:return at.style!==3?[3,7]:[4,this.renderDashedDottedBorder(at.color,at.width,xe,ae.curves,3)];case 6:return Mt.sent(),[3,11];case 7:return at.style!==4?[3,9]:[4,this.renderDoubleBorder(at.color,at.width,xe,ae.curves)];case 8:return Mt.sent(),[3,11];case 9:return[4,this.renderSolidBorder(at.color,xe,ae.curves)];case 10:Mt.sent(),Mt.label=11;case 11:xe++,Mt.label=12;case 12:return Ie++,[3,3];case 13:return[2]}})})},z.prototype.renderDashedDottedBorder=function(ae,re,fe,ye,Le){return ft(this,void 0,void 0,function(){var xe,Ie,$e,at,st,Mt,hn,yn,mn,RA,mA,sA,VA,JA,QA,Zn,QA,Zn;return qt(this,function(ur){return this.ctx.save(),xe=wu(ye,fe),Ie=vu(ye,fe),Le===2&&(this.path(Ie),this.ctx.clip()),li(Ie[0])?($e=Ie[0].start.x,at=Ie[0].start.y):($e=Ie[0].x,at=Ie[0].y),li(Ie[1])?(st=Ie[1].end.x,Mt=Ie[1].end.y):(st=Ie[1].x,Mt=Ie[1].y),fe===0||fe===2?hn=Math.abs($e-st):hn=Math.abs(at-Mt),this.ctx.beginPath(),Le===3?this.formatPath(xe):this.formatPath(Ie.slice(0,2)),yn=re<3?re*3:re*2,mn=re<3?re*2:re,Le===3&&(yn=re,mn=re),RA=!0,hn<=yn*2?RA=!1:hn<=yn*2+mn?(mA=hn/(2*yn+mn),yn*=mA,mn*=mA):(sA=Math.floor((hn+mn)/(yn+mn)),VA=(hn-sA*yn)/(sA-1),JA=(hn-(sA+1)*yn)/sA,mn=JA<=0||Math.abs(mn-VA)zt){var Pt=Jt;Jt=zt,zt=Pt}}else if(ht==="l"||ht==="landscape"){if(ht="l",zt>Jt){var Pt=Jt;Jt=zt,zt=Pt}}else throw"Invalid orientation: "+ht;var Ye={width:Jt,height:zt,unit:St,k:un};return Ye},Ze.default=Oe.jsPDF},"./src/plugin/pagebreaks.js":function(De,Ze,ve){"use strict";ve.r(Ze);var Ke=ve("./node_modules/core-js/modules/es.array.concat.js"),Me=ve.n(Ke),Ne=ve("./node_modules/core-js/modules/es.array.slice.js"),he=ve.n(Ne),a=ve("./node_modules/core-js/modules/es.array.join.js"),y=ve.n(a),E=ve("./node_modules/core-js/modules/web.dom-collections.for-each.js"),b=ve.n(E),ee=ve("./node_modules/core-js/modules/es.object.keys.js"),ie=ve.n(ee),ce=ve("./src/worker.js"),Be=ve("./src/utils.js"),Ce={toContainer:ce.default.prototype.toContainer};ce.default.template.opt.pagebreak={mode:["css","legacy"],before:[],after:[],avoid:[]},ce.default.prototype.toContainer=function(){return Ce.toContainer.call(this).then(function(){var tt=this.prop.container,qe=this.prop.pageSize.inner.px.height,ht=[].concat(this.opt.pagebreak.mode),St={avoidAll:ht.indexOf("avoid-all")!==-1,css:ht.indexOf("css")!==-1,legacy:ht.indexOf("legacy")!==-1},Tt={},Kt=this;["before","after","avoid"].forEach(function(un){var zt=St.avoidAll&&un==="avoid";Tt[un]=zt?[]:[].concat(Kt.opt.pagebreak[un]||[]),Tt[un].length>0&&(Tt[un]=Array.prototype.slice.call(tt.querySelectorAll(Tt[un].join(", "))))});var an=tt.querySelectorAll(".html2pdf__page-break");an=Array.prototype.slice.call(an);var Nn=tt.querySelectorAll("*");Array.prototype.forEach.call(Nn,function(zt){var Jt={before:!1,after:St.legacy&&an.indexOf(zt)!==-1,avoid:St.avoidAll};if(St.css){var Pt=window.getComputedStyle(zt),Ye=["always","page","left","right"],Wt=["avoid","avoid-page"];Jt={before:Jt.before||Ye.indexOf(Pt.breakBefore||Pt.pageBreakBefore)!==-1,after:Jt.after||Ye.indexOf(Pt.breakAfter||Pt.pageBreakAfter)!==-1,avoid:Jt.avoid||Wt.indexOf(Pt.breakInside||Pt.pageBreakInside)!==-1}}Object.keys(Jt).forEach(function(nA){Jt[nA]=Jt[nA]||Tt[nA].indexOf(zt)!==-1});var en=zt.getBoundingClientRect();if(Jt.avoid&&!Jt.before){var $n=Math.floor(en.top/qe),Ft=Math.floor(en.bottom/qe),Et=Math.abs(en.bottom-en.top)/qe;Ft!==$n&&Et<=1&&(Jt.before=!0)}if(Jt.before){var on=(0,Be.createElement)("div",{style:{display:"block",height:qe-en.top%qe+"px"}});zt.parentNode.insertBefore(on,zt)}if(Jt.after){var on=(0,Be.createElement)("div",{style:{display:"block",height:qe-en.bottom%qe+"px"}});zt.parentNode.insertBefore(on,zt.nextSibling)}})})}},"./src/utils.js":function(De,Ze,ve){"use strict";ve.r(Ze),ve.d(Ze,{objType:function(){return ht},createElement:function(){return St},cloneNode:function(){return Tt},unitConvert:function(){return Kt},toPx:function(){return an}});var Ke=ve("./node_modules/core-js/modules/es.number.constructor.js"),Me=ve.n(Ke),Ne=ve("./node_modules/core-js/modules/es.symbol.js"),he=ve.n(Ne),a=ve("./node_modules/core-js/modules/es.symbol.description.js"),y=ve.n(a),E=ve("./node_modules/core-js/modules/es.object.to-string.js"),b=ve.n(E),ee=ve("./node_modules/core-js/modules/es.symbol.iterator.js"),ie=ve.n(ee),ce=ve("./node_modules/core-js/modules/es.array.iterator.js"),Be=ve.n(ce),Ce=ve("./node_modules/core-js/modules/es.string.iterator.js"),Ue=ve.n(Ce),Oe=ve("./node_modules/core-js/modules/web.dom-collections.iterator.js"),tt=ve.n(Oe);function qe(Nn){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?qe=function(zt){return typeof zt}:qe=function(zt){return zt&&typeof Symbol=="function"&&zt.constructor===Symbol&&zt!==Symbol.prototype?"symbol":typeof zt},qe(Nn)}var ht=function(un){var zt=qe(un);return zt==="undefined"?"undefined":zt==="string"||un instanceof String?"string":zt==="number"||un instanceof Number?"number":zt==="function"||un instanceof Function?"function":un&&un.constructor===Array?"array":un&&un.nodeType===1?"element":zt==="object"?"object":"unknown"},St=function(un,zt){var Jt=document.createElement(un);if(zt.className&&(Jt.className=zt.className),zt.innerHTML){Jt.innerHTML=zt.innerHTML;for(var Pt=Jt.getElementsByTagName("script"),Ye=Pt.length;Ye-- >0;null)Pt[Ye].parentNode.removeChild(Pt[Ye])}for(var Wt in zt.style)Jt.style[Wt]=zt.style[Wt];return Jt},Tt=function Nn(un,zt){for(var Jt=un.nodeType===3?document.createTextNode(un.nodeValue):un.cloneNode(!1),Pt=un.firstChild;Pt;Pt=Pt.nextSibling)(zt===!0||Pt.nodeType!==1||Pt.nodeName!=="SCRIPT")&&Jt.appendChild(Nn(Pt,zt));return un.nodeType===1&&(un.nodeName==="CANVAS"?(Jt.width=un.width,Jt.height=un.height,Jt.getContext("2d").drawImage(un,0,0)):(un.nodeName==="TEXTAREA"||un.nodeName==="SELECT")&&(Jt.value=un.value),Jt.addEventListener("load",function(){Jt.scrollTop=un.scrollTop,Jt.scrollLeft=un.scrollLeft},!0)),Jt},Kt=function(un,zt){if(ht(un)==="number")return un*72/96/zt;var Jt={};for(var Pt in un)Jt[Pt]=un[Pt]*72/96/zt;return Jt},an=function(un,zt){return Math.floor(un*zt/72*96)}},"./src/worker.js":function(De,Ze,ve){"use strict";ve.r(Ze);var Ke=ve("./node_modules/core-js/modules/es.object.assign.js"),Me=ve.n(Ke),Ne=ve("./node_modules/core-js/modules/es.array.map.js"),he=ve.n(Ne),a=ve("./node_modules/core-js/modules/es.object.keys.js"),y=ve.n(a),E=ve("./node_modules/core-js/modules/es.array.concat.js"),b=ve.n(E),ee=ve("./node_modules/core-js/modules/es.object.to-string.js"),ie=ve.n(ee),ce=ve("./node_modules/core-js/modules/es.regexp.to-string.js"),Be=ve.n(ce),Ce=ve("./node_modules/core-js/modules/es.function.name.js"),Ue=ve.n(Ce),Oe=ve("./node_modules/core-js/modules/web.dom-collections.for-each.js"),tt=ve.n(Oe),qe=ve("jspdf"),ht=ve.n(qe),St=ve("html2canvas"),Tt=ve.n(St),Kt=ve("./src/utils.js"),an=ve("./node_modules/es6-promise/dist/es6-promise.js"),Nn=ve.n(an),un=Nn().Promise,zt=function Jt(Pt){var Ye=Object.assign(Jt.convert(un.resolve()),JSON.parse(JSON.stringify(Jt.template))),Wt=Jt.convert(un.resolve(),Ye);return Wt=Wt.setProgress(1,Jt,1,[Jt]),Wt=Wt.set(Pt),Wt};zt.prototype=Object.create(un.prototype),zt.prototype.constructor=zt,zt.convert=function(Pt,Ye){return Pt.__proto__=Ye||zt.prototype,Pt},zt.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],image:{type:"jpeg",quality:.95},enableLinks:!0,html2canvas:{},jsPDF:{}}},zt.prototype.from=function(Pt,Ye){function Wt(en){switch((0,Kt.objType)(en)){case"string":return"string";case"element":return en.nodeName.toLowerCase==="canvas"?"canvas":"element";default:return"unknown"}}return this.then(function(){switch(Ye=Ye||Wt(Pt),Ye){case"string":return this.set({src:(0,Kt.createElement)("div",{innerHTML:Pt})});case"element":return this.set({src:Pt});case"canvas":return this.set({canvas:Pt});case"img":return this.set({img:Pt});default:return this.error("Unknown source type.")}})},zt.prototype.to=function(Pt){switch(Pt){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},zt.prototype.toContainer=function(){var Pt=[function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}];return this.thenList(Pt).then(function(){var Wt={position:"fixed",overflow:"hidden",zIndex:1e3,left:0,right:0,bottom:0,top:0,backgroundColor:"rgba(0,0,0,0.8)"},en={position:"absolute",width:this.prop.pageSize.inner.width+this.prop.pageSize.unit,left:0,right:0,top:0,height:"auto",margin:"auto",backgroundColor:"white"};Wt.opacity=0;var $n=(0,Kt.cloneNode)(this.prop.src,this.opt.html2canvas.javascriptEnabled);this.prop.overlay=(0,Kt.createElement)("div",{className:"html2pdf__overlay",style:Wt}),this.prop.container=(0,Kt.createElement)("div",{className:"html2pdf__container",style:en}),this.prop.container.appendChild($n),this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay)})},zt.prototype.toCanvas=function(){var Pt=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(Pt).then(function(){var Wt=Object.assign({},this.opt.html2canvas);return delete Wt.onrendered,St(this.prop.container,Wt)}).then(function(Wt){var en=this.opt.html2canvas.onrendered||function(){};en(Wt),this.prop.canvas=Wt,document.body.removeChild(this.prop.overlay)})},zt.prototype.toImg=function(){var Pt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(Pt).then(function(){var Wt=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=Wt})},zt.prototype.toPdf=function(){var Pt=[function(){return this.prop.canvas||this.toCanvas()}];return this.thenList(Pt).then(function(){var Wt=this.prop.canvas,en=this.opt,$n=Wt.height,Ft=Math.floor(Wt.width*this.prop.pageSize.inner.ratio),Et=Math.ceil($n/Ft),on=this.prop.pageSize.inner.height,nA=document.createElement("canvas"),Qn=nA.getContext("2d");nA.width=Wt.width,nA.height=Ft,this.prop.pdf=this.prop.pdf||new qe.jsPDF(en.jsPDF);for(var AA=0;AA1?arguments[1]:void 0)}},"./node_modules/core-js/internals/array-includes.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/to-indexed-object.js"),Me=ve("./node_modules/core-js/internals/to-length.js"),Ne=ve("./node_modules/core-js/internals/to-absolute-index.js"),he=function(a){return function(y,E,b){var ee=Ke(y),ie=Me(ee.length),ce=Ne(b,ie),Be;if(a&&E!=E){for(;ie>ce;)if(Be=ee[ce++],Be!=Be)return!0}else for(;ie>ce;ce++)if((a||ce in ee)&&ee[ce]===E)return a||ce||0;return!a&&-1}};De.exports={includes:he(!0),indexOf:he(!1)}},"./node_modules/core-js/internals/array-iteration.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/function-bind-context.js"),Me=ve("./node_modules/core-js/internals/indexed-object.js"),Ne=ve("./node_modules/core-js/internals/to-object.js"),he=ve("./node_modules/core-js/internals/to-length.js"),a=ve("./node_modules/core-js/internals/array-species-create.js"),y=[].push,E=function(b){var ee=b==1,ie=b==2,ce=b==3,Be=b==4,Ce=b==6,Ue=b==7,Oe=b==5||Ce;return function(tt,qe,ht,St){for(var Tt=Ne(tt),Kt=Me(Tt),an=Ke(qe,ht,3),Nn=he(Kt.length),un=0,zt=St||a,Jt=ee?zt(tt,Nn):ie||Ue?zt(tt,0):void 0,Pt,Ye;Nn>un;un++)if((Oe||un in Kt)&&(Pt=Kt[un],Ye=an(Pt,un,Tt),b))if(ee)Jt[un]=Ye;else if(Ye)switch(b){case 3:return!0;case 5:return Pt;case 6:return un;case 2:y.call(Jt,Pt)}else switch(b){case 4:return!1;case 7:y.call(Jt,Pt)}return Ce?-1:ce||Be?Be:Jt}};De.exports={forEach:E(0),map:E(1),filter:E(2),some:E(3),every:E(4),find:E(5),findIndex:E(6),filterReject:E(7)}},"./node_modules/core-js/internals/array-method-has-species-support.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/fails.js"),Me=ve("./node_modules/core-js/internals/well-known-symbol.js"),Ne=ve("./node_modules/core-js/internals/engine-v8-version.js"),he=Me("species");De.exports=function(a){return Ne>=51||!Ke(function(){var y=[],E=y.constructor={};return E[he]=function(){return{foo:1}},y[a](Boolean).foo!==1})}},"./node_modules/core-js/internals/array-method-is-strict.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/fails.js");De.exports=function(Me,Ne){var he=[][Me];return!!he&&Ke(function(){he.call(null,Ne||function(){throw 1},1)})}},"./node_modules/core-js/internals/array-species-constructor.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/is-object.js"),Me=ve("./node_modules/core-js/internals/is-array.js"),Ne=ve("./node_modules/core-js/internals/well-known-symbol.js"),he=Ne("species");De.exports=function(a){var y;return Me(a)&&(y=a.constructor,typeof y=="function"&&(y===Array||Me(y.prototype))?y=void 0:Ke(y)&&(y=y[he],y===null&&(y=void 0))),y===void 0?Array:y}},"./node_modules/core-js/internals/array-species-create.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/array-species-constructor.js");De.exports=function(Me,Ne){return new(Ke(Me))(Ne===0?0:Ne)}},"./node_modules/core-js/internals/classof-raw.js":function(De){var Ze={}.toString;De.exports=function(ve){return Ze.call(ve).slice(8,-1)}},"./node_modules/core-js/internals/classof.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/to-string-tag-support.js"),Me=ve("./node_modules/core-js/internals/classof-raw.js"),Ne=ve("./node_modules/core-js/internals/well-known-symbol.js"),he=Ne("toStringTag"),a=Me(function(){return arguments}())=="Arguments",y=function(E,b){try{return E[b]}catch(ee){}};De.exports=Ke?Me:function(E){var b,ee,ie;return E===void 0?"Undefined":E===null?"Null":typeof(ee=y(b=Object(E),he))=="string"?ee:a?Me(b):(ie=Me(b))=="Object"&&typeof b.callee=="function"?"Arguments":ie}},"./node_modules/core-js/internals/copy-constructor-properties.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/has.js"),Me=ve("./node_modules/core-js/internals/own-keys.js"),Ne=ve("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),he=ve("./node_modules/core-js/internals/object-define-property.js");De.exports=function(a,y){for(var E=Me(y),b=he.f,ee=Ne.f,ie=0;ie"+b+""}},"./node_modules/core-js/internals/create-iterator-constructor.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/iterators-core.js").IteratorPrototype,Me=ve("./node_modules/core-js/internals/object-create.js"),Ne=ve("./node_modules/core-js/internals/create-property-descriptor.js"),he=ve("./node_modules/core-js/internals/set-to-string-tag.js"),a=ve("./node_modules/core-js/internals/iterators.js"),y=function(){return this};De.exports=function(E,b,ee){var ie=b+" Iterator";return E.prototype=Me(Ke,{next:Ne(1,ee)}),he(E,ie,!1,!0),a[ie]=y,E}},"./node_modules/core-js/internals/create-non-enumerable-property.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/descriptors.js"),Me=ve("./node_modules/core-js/internals/object-define-property.js"),Ne=ve("./node_modules/core-js/internals/create-property-descriptor.js");De.exports=Ke?function(he,a,y){return Me.f(he,a,Ne(1,y))}:function(he,a,y){return he[a]=y,he}},"./node_modules/core-js/internals/create-property-descriptor.js":function(De){De.exports=function(Ze,ve){return{enumerable:!(Ze&1),configurable:!(Ze&2),writable:!(Ze&4),value:ve}}},"./node_modules/core-js/internals/create-property.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/to-property-key.js"),Me=ve("./node_modules/core-js/internals/object-define-property.js"),Ne=ve("./node_modules/core-js/internals/create-property-descriptor.js");De.exports=function(he,a,y){var E=Ke(a);E in he?Me.f(he,E,Ne(0,y)):he[E]=y}},"./node_modules/core-js/internals/define-iterator.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/export.js"),Me=ve("./node_modules/core-js/internals/create-iterator-constructor.js"),Ne=ve("./node_modules/core-js/internals/object-get-prototype-of.js"),he=ve("./node_modules/core-js/internals/object-set-prototype-of.js"),a=ve("./node_modules/core-js/internals/set-to-string-tag.js"),y=ve("./node_modules/core-js/internals/create-non-enumerable-property.js"),E=ve("./node_modules/core-js/internals/redefine.js"),b=ve("./node_modules/core-js/internals/well-known-symbol.js"),ee=ve("./node_modules/core-js/internals/is-pure.js"),ie=ve("./node_modules/core-js/internals/iterators.js"),ce=ve("./node_modules/core-js/internals/iterators-core.js"),Be=ce.IteratorPrototype,Ce=ce.BUGGY_SAFARI_ITERATORS,Ue=b("iterator"),Oe="keys",tt="values",qe="entries",ht=function(){return this};De.exports=function(St,Tt,Kt,an,Nn,un,zt){Me(Kt,Tt,an);var Jt=function(Qn){if(Qn===Nn&&$n)return $n;if(!Ce&&Qn in Wt)return Wt[Qn];switch(Qn){case Oe:return function(){return new Kt(this,Qn)};case tt:return function(){return new Kt(this,Qn)};case qe:return function(){return new Kt(this,Qn)}}return function(){return new Kt(this)}},Pt=Tt+" Iterator",Ye=!1,Wt=St.prototype,en=Wt[Ue]||Wt["@@iterator"]||Nn&&Wt[Nn],$n=!Ce&&en||Jt(Nn),Ft=Tt=="Array"&&Wt.entries||en,Et,on,nA;if(Ft&&(Et=Ne(Ft.call(new St)),Be!==Object.prototype&&Et.next&&(!ee&&Ne(Et)!==Be&&(he?he(Et,Be):typeof Et[Ue]!="function"&&y(Et,Ue,ht)),a(Et,Pt,!0,!0),ee&&(ie[Pt]=ht))),Nn==tt&&en&&en.name!==tt&&(Ye=!0,$n=function(){return en.call(this)}),(!ee||zt)&&Wt[Ue]!==$n&&y(Wt,Ue,$n),ie[Tt]=$n,Nn)if(on={values:Jt(tt),keys:un?$n:Jt(Oe),entries:Jt(qe)},zt)for(nA in on)(Ce||Ye||!(nA in Wt))&&E(Wt,nA,on[nA]);else Ke({target:Tt,proto:!0,forced:Ce||Ye},on);return on}},"./node_modules/core-js/internals/define-well-known-symbol.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/path.js"),Me=ve("./node_modules/core-js/internals/has.js"),Ne=ve("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),he=ve("./node_modules/core-js/internals/object-define-property.js").f;De.exports=function(a){var y=Ke.Symbol||(Ke.Symbol={});Me(y,a)||he(y,a,{value:Ne.f(a)})}},"./node_modules/core-js/internals/descriptors.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/fails.js");De.exports=!Ke(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"./node_modules/core-js/internals/document-create-element.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/global.js"),Me=ve("./node_modules/core-js/internals/is-object.js"),Ne=Ke.document,he=Me(Ne)&&Me(Ne.createElement);De.exports=function(a){return he?Ne.createElement(a):{}}},"./node_modules/core-js/internals/dom-iterables.js":function(De){De.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},"./node_modules/core-js/internals/engine-user-agent.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/get-built-in.js");De.exports=Ke("navigator","userAgent")||""},"./node_modules/core-js/internals/engine-v8-version.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/global.js"),Me=ve("./node_modules/core-js/internals/engine-user-agent.js"),Ne=Ke.process,he=Ke.Deno,a=Ne&&Ne.versions||he&&he.version,y=a&&a.v8,E,b;y?(E=y.split("."),b=E[0]<4?1:E[0]+E[1]):Me&&(E=Me.match(/Edge\/(\d+)/),(!E||E[1]>=74)&&(E=Me.match(/Chrome\/(\d+)/),E&&(b=E[1]))),De.exports=b&&+b},"./node_modules/core-js/internals/enum-bug-keys.js":function(De){De.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"./node_modules/core-js/internals/export.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/global.js"),Me=ve("./node_modules/core-js/internals/object-get-own-property-descriptor.js").f,Ne=ve("./node_modules/core-js/internals/create-non-enumerable-property.js"),he=ve("./node_modules/core-js/internals/redefine.js"),a=ve("./node_modules/core-js/internals/set-global.js"),y=ve("./node_modules/core-js/internals/copy-constructor-properties.js"),E=ve("./node_modules/core-js/internals/is-forced.js");De.exports=function(b,ee){var ie=b.target,ce=b.global,Be=b.stat,Ce,Ue,Oe,tt,qe,ht;if(ce?Ue=Ke:Be?Ue=Ke[ie]||a(ie,{}):Ue=(Ke[ie]||{}).prototype,Ue)for(Oe in ee){if(qe=ee[Oe],b.noTargetGet?(ht=Me(Ue,Oe),tt=ht&&ht.value):tt=Ue[Oe],Ce=E(ce?Oe:ie+(Be?".":"#")+Oe,b.forced),!Ce&&tt!==void 0){if(typeof qe==typeof tt)continue;y(qe,tt)}(b.sham||tt&&tt.sham)&&Ne(qe,"sham",!0),he(Ue,Oe,qe,b)}}},"./node_modules/core-js/internals/fails.js":function(De){De.exports=function(Ze){try{return!!Ze()}catch(ve){return!0}}},"./node_modules/core-js/internals/function-bind-context.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/a-function.js");De.exports=function(Me,Ne,he){if(Ke(Me),Ne===void 0)return Me;switch(he){case 0:return function(){return Me.call(Ne)};case 1:return function(a){return Me.call(Ne,a)};case 2:return function(a,y){return Me.call(Ne,a,y)};case 3:return function(a,y,E){return Me.call(Ne,a,y,E)}}return function(){return Me.apply(Ne,arguments)}}},"./node_modules/core-js/internals/get-built-in.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/global.js"),Me=function(Ne){return typeof Ne=="function"?Ne:void 0};De.exports=function(Ne,he){return arguments.length<2?Me(Ke[Ne]):Ke[Ne]&&Ke[Ne][he]}},"./node_modules/core-js/internals/global.js":function(De){var Ze=function(ve){return ve&&ve.Math==Math&&ve};De.exports=Ze(typeof globalThis=="object"&&globalThis)||Ze(typeof window=="object"&&window)||Ze(typeof self=="object"&&self)||Ze(typeof Fe.g=="object"&&Fe.g)||function(){return this}()||Function("return this")()},"./node_modules/core-js/internals/has.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/to-object.js"),Me={}.hasOwnProperty;De.exports=Object.hasOwn||function(he,a){return Me.call(Ke(he),a)}},"./node_modules/core-js/internals/hidden-keys.js":function(De){De.exports={}},"./node_modules/core-js/internals/html.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/get-built-in.js");De.exports=Ke("document","documentElement")},"./node_modules/core-js/internals/ie8-dom-define.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/descriptors.js"),Me=ve("./node_modules/core-js/internals/fails.js"),Ne=ve("./node_modules/core-js/internals/document-create-element.js");De.exports=!Ke&&!Me(function(){return Object.defineProperty(Ne("div"),"a",{get:function(){return 7}}).a!=7})},"./node_modules/core-js/internals/indexed-object.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/fails.js"),Me=ve("./node_modules/core-js/internals/classof-raw.js"),Ne="".split;De.exports=Ke(function(){return!Object("z").propertyIsEnumerable(0)})?function(he){return Me(he)=="String"?Ne.call(he,""):Object(he)}:Object},"./node_modules/core-js/internals/inherit-if-required.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/is-object.js"),Me=ve("./node_modules/core-js/internals/object-set-prototype-of.js");De.exports=function(Ne,he,a){var y,E;return Me&&typeof(y=he.constructor)=="function"&&y!==a&&Ke(E=y.prototype)&&E!==a.prototype&&Me(Ne,E),Ne}},"./node_modules/core-js/internals/inspect-source.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/shared-store.js"),Me=Function.toString;typeof Ke.inspectSource!="function"&&(Ke.inspectSource=function(Ne){return Me.call(Ne)}),De.exports=Ke.inspectSource},"./node_modules/core-js/internals/internal-state.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/native-weak-map.js"),Me=ve("./node_modules/core-js/internals/global.js"),Ne=ve("./node_modules/core-js/internals/is-object.js"),he=ve("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=ve("./node_modules/core-js/internals/has.js"),y=ve("./node_modules/core-js/internals/shared-store.js"),E=ve("./node_modules/core-js/internals/shared-key.js"),b=ve("./node_modules/core-js/internals/hidden-keys.js"),ee="Object already initialized",ie=Me.WeakMap,ce,Be,Ce,Ue=function(Kt){return Ce(Kt)?Be(Kt):ce(Kt,{})},Oe=function(Kt){return function(an){var Nn;if(!Ne(an)||(Nn=Be(an)).type!==Kt)throw TypeError("Incompatible receiver, "+Kt+" required");return Nn}};if(Ke||y.state){var tt=y.state||(y.state=new ie),qe=tt.get,ht=tt.has,St=tt.set;ce=function(Kt,an){if(ht.call(tt,Kt))throw new TypeError(ee);return an.facade=Kt,St.call(tt,Kt,an),an},Be=function(Kt){return qe.call(tt,Kt)||{}},Ce=function(Kt){return ht.call(tt,Kt)}}else{var Tt=E("state");b[Tt]=!0,ce=function(Kt,an){if(a(Kt,Tt))throw new TypeError(ee);return an.facade=Kt,he(Kt,Tt,an),an},Be=function(Kt){return a(Kt,Tt)?Kt[Tt]:{}},Ce=function(Kt){return a(Kt,Tt)}}De.exports={set:ce,get:Be,has:Ce,enforce:Ue,getterFor:Oe}},"./node_modules/core-js/internals/is-array.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/classof-raw.js");De.exports=Array.isArray||function(Ne){return Ke(Ne)=="Array"}},"./node_modules/core-js/internals/is-forced.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/fails.js"),Me=/#|\.prototype\./,Ne=function(b,ee){var ie=a[he(b)];return ie==E?!0:ie==y?!1:typeof ee=="function"?Ke(ee):!!ee},he=Ne.normalize=function(b){return String(b).replace(Me,".").toLowerCase()},a=Ne.data={},y=Ne.NATIVE="N",E=Ne.POLYFILL="P";De.exports=Ne},"./node_modules/core-js/internals/is-object.js":function(De){De.exports=function(Ze){return typeof Ze=="object"?Ze!==null:typeof Ze=="function"}},"./node_modules/core-js/internals/is-pure.js":function(De){De.exports=!1},"./node_modules/core-js/internals/is-symbol.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/get-built-in.js"),Me=ve("./node_modules/core-js/internals/use-symbol-as-uid.js");De.exports=Me?function(Ne){return typeof Ne=="symbol"}:function(Ne){var he=Ke("Symbol");return typeof he=="function"&&Object(Ne)instanceof he}},"./node_modules/core-js/internals/iterators-core.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/fails.js"),Me=ve("./node_modules/core-js/internals/object-get-prototype-of.js"),Ne=ve("./node_modules/core-js/internals/create-non-enumerable-property.js"),he=ve("./node_modules/core-js/internals/has.js"),a=ve("./node_modules/core-js/internals/well-known-symbol.js"),y=ve("./node_modules/core-js/internals/is-pure.js"),E=a("iterator"),b=!1,ee=function(){return this},ie,ce,Be;[].keys&&(Be=[].keys(),"next"in Be?(ce=Me(Me(Be)),ce!==Object.prototype&&(ie=ce)):b=!0);var Ce=ie==null||Ke(function(){var Ue={};return ie[E].call(Ue)!==Ue});Ce&&(ie={}),(!y||Ce)&&!he(ie,E)&&Ne(ie,E,ee),De.exports={IteratorPrototype:ie,BUGGY_SAFARI_ITERATORS:b}},"./node_modules/core-js/internals/iterators.js":function(De){De.exports={}},"./node_modules/core-js/internals/native-symbol.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/engine-v8-version.js"),Me=ve("./node_modules/core-js/internals/fails.js");De.exports=!!Object.getOwnPropertySymbols&&!Me(function(){var Ne=Symbol();return!String(Ne)||!(Object(Ne)instanceof Symbol)||!Symbol.sham&&Ke&&Ke<41})},"./node_modules/core-js/internals/native-weak-map.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/global.js"),Me=ve("./node_modules/core-js/internals/inspect-source.js"),Ne=Ke.WeakMap;De.exports=typeof Ne=="function"&&/native code/.test(Me(Ne))},"./node_modules/core-js/internals/object-assign.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/descriptors.js"),Me=ve("./node_modules/core-js/internals/fails.js"),Ne=ve("./node_modules/core-js/internals/object-keys.js"),he=ve("./node_modules/core-js/internals/object-get-own-property-symbols.js"),a=ve("./node_modules/core-js/internals/object-property-is-enumerable.js"),y=ve("./node_modules/core-js/internals/to-object.js"),E=ve("./node_modules/core-js/internals/indexed-object.js"),b=Object.assign,ee=Object.defineProperty;De.exports=!b||Me(function(){if(Ke&&b({b:1},b(ee({},"a",{enumerable:!0,get:function(){ee(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var ie={},ce={},Be=Symbol(),Ce="abcdefghijklmnopqrst";return ie[Be]=7,Ce.split("").forEach(function(Ue){ce[Ue]=Ue}),b({},ie)[Be]!=7||Ne(b({},ce)).join("")!=Ce})?function(ce,Be){for(var Ce=y(ce),Ue=arguments.length,Oe=1,tt=he.f,qe=a.f;Ue>Oe;)for(var ht=E(arguments[Oe++]),St=tt?Ne(ht).concat(tt(ht)):Ne(ht),Tt=St.length,Kt=0,an;Tt>Kt;)an=St[Kt++],(!Ke||qe.call(ht,an))&&(Ce[an]=ht[an]);return Ce}:b},"./node_modules/core-js/internals/object-create.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/an-object.js"),Me=ve("./node_modules/core-js/internals/object-define-properties.js"),Ne=ve("./node_modules/core-js/internals/enum-bug-keys.js"),he=ve("./node_modules/core-js/internals/hidden-keys.js"),a=ve("./node_modules/core-js/internals/html.js"),y=ve("./node_modules/core-js/internals/document-create-element.js"),E=ve("./node_modules/core-js/internals/shared-key.js"),b=">",ee="<",ie="prototype",ce="script",Be=E("IE_PROTO"),Ce=function(){},Ue=function(St){return ee+ce+b+St+ee+"/"+ce+b},Oe=function(St){St.write(Ue("")),St.close();var Tt=St.parentWindow.Object;return St=null,Tt},tt=function(){var St=y("iframe"),Tt="java"+ce+":",Kt;if(St.style)return St.style.display="none",a.appendChild(St),St.src=String(Tt),Kt=St.contentWindow.document,Kt.open(),Kt.write(Ue("document.F=Object")),Kt.close(),Kt.F},qe,ht=function(){try{qe=new ActiveXObject("htmlfile")}catch(Tt){}ht=document.domain&&qe?Oe(qe):tt()||Oe(qe);for(var St=Ne.length;St--;)delete ht[ie][Ne[St]];return ht()};he[Be]=!0,De.exports=Object.create||function(Tt,Kt){var an;return Tt!==null?(Ce[ie]=Ke(Tt),an=new Ce,Ce[ie]=null,an[Be]=Tt):an=ht(),Kt===void 0?an:Me(an,Kt)}},"./node_modules/core-js/internals/object-define-properties.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/descriptors.js"),Me=ve("./node_modules/core-js/internals/object-define-property.js"),Ne=ve("./node_modules/core-js/internals/an-object.js"),he=ve("./node_modules/core-js/internals/object-keys.js");De.exports=Ke?Object.defineProperties:function(y,E){Ne(y);for(var b=he(E),ee=b.length,ie=0,ce;ee>ie;)Me.f(y,ce=b[ie++],E[ce]);return y}},"./node_modules/core-js/internals/object-define-property.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/descriptors.js"),Me=ve("./node_modules/core-js/internals/ie8-dom-define.js"),Ne=ve("./node_modules/core-js/internals/an-object.js"),he=ve("./node_modules/core-js/internals/to-property-key.js"),a=Object.defineProperty;Ze.f=Ke?a:function(E,b,ee){if(Ne(E),b=he(b),Ne(ee),Me)try{return a(E,b,ee)}catch(ie){}if("get"in ee||"set"in ee)throw TypeError("Accessors not supported");return"value"in ee&&(E[b]=ee.value),E}},"./node_modules/core-js/internals/object-get-own-property-descriptor.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/descriptors.js"),Me=ve("./node_modules/core-js/internals/object-property-is-enumerable.js"),Ne=ve("./node_modules/core-js/internals/create-property-descriptor.js"),he=ve("./node_modules/core-js/internals/to-indexed-object.js"),a=ve("./node_modules/core-js/internals/to-property-key.js"),y=ve("./node_modules/core-js/internals/has.js"),E=ve("./node_modules/core-js/internals/ie8-dom-define.js"),b=Object.getOwnPropertyDescriptor;Ze.f=Ke?b:function(ie,ce){if(ie=he(ie),ce=a(ce),E)try{return b(ie,ce)}catch(Be){}if(y(ie,ce))return Ne(!Me.f.call(ie,ce),ie[ce])}},"./node_modules/core-js/internals/object-get-own-property-names-external.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/to-indexed-object.js"),Me=ve("./node_modules/core-js/internals/object-get-own-property-names.js").f,Ne={}.toString,he=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(y){try{return Me(y)}catch(E){return he.slice()}};De.exports.f=function(E){return he&&Ne.call(E)=="[object Window]"?a(E):Me(Ke(E))}},"./node_modules/core-js/internals/object-get-own-property-names.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/object-keys-internal.js"),Me=ve("./node_modules/core-js/internals/enum-bug-keys.js"),Ne=Me.concat("length","prototype");Ze.f=Object.getOwnPropertyNames||function(a){return Ke(a,Ne)}},"./node_modules/core-js/internals/object-get-own-property-symbols.js":function(De,Ze){Ze.f=Object.getOwnPropertySymbols},"./node_modules/core-js/internals/object-get-prototype-of.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/has.js"),Me=ve("./node_modules/core-js/internals/to-object.js"),Ne=ve("./node_modules/core-js/internals/shared-key.js"),he=ve("./node_modules/core-js/internals/correct-prototype-getter.js"),a=Ne("IE_PROTO"),y=Object.prototype;De.exports=he?Object.getPrototypeOf:function(E){return E=Me(E),Ke(E,a)?E[a]:typeof E.constructor=="function"&&E instanceof E.constructor?E.constructor.prototype:E instanceof Object?y:null}},"./node_modules/core-js/internals/object-keys-internal.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/has.js"),Me=ve("./node_modules/core-js/internals/to-indexed-object.js"),Ne=ve("./node_modules/core-js/internals/array-includes.js").indexOf,he=ve("./node_modules/core-js/internals/hidden-keys.js");De.exports=function(a,y){var E=Me(a),b=0,ee=[],ie;for(ie in E)!Ke(he,ie)&&Ke(E,ie)&&ee.push(ie);for(;y.length>b;)Ke(E,ie=y[b++])&&(~Ne(ee,ie)||ee.push(ie));return ee}},"./node_modules/core-js/internals/object-keys.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/object-keys-internal.js"),Me=ve("./node_modules/core-js/internals/enum-bug-keys.js");De.exports=Object.keys||function(he){return Ke(he,Me)}},"./node_modules/core-js/internals/object-property-is-enumerable.js":function(De,Ze){"use strict";var ve={}.propertyIsEnumerable,Ke=Object.getOwnPropertyDescriptor,Me=Ke&&!ve.call({1:2},1);Ze.f=Me?function(he){var a=Ke(this,he);return!!a&&a.enumerable}:ve},"./node_modules/core-js/internals/object-set-prototype-of.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/an-object.js"),Me=ve("./node_modules/core-js/internals/a-possible-prototype.js");De.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var Ne=!1,he={},a;try{a=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,a.call(he,[]),Ne=he instanceof Array}catch(y){}return function(E,b){return Ke(E),Me(b),Ne?a.call(E,b):E.__proto__=b,E}}():void 0)},"./node_modules/core-js/internals/object-to-string.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/to-string-tag-support.js"),Me=ve("./node_modules/core-js/internals/classof.js");De.exports=Ke?{}.toString:function(){return"[object "+Me(this)+"]"}},"./node_modules/core-js/internals/ordinary-to-primitive.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/is-object.js");De.exports=function(Me,Ne){var he,a;if(Ne==="string"&&typeof(he=Me.toString)=="function"&&!Ke(a=he.call(Me))||typeof(he=Me.valueOf)=="function"&&!Ke(a=he.call(Me))||Ne!=="string"&&typeof(he=Me.toString)=="function"&&!Ke(a=he.call(Me)))return a;throw TypeError("Can't convert object to primitive value")}},"./node_modules/core-js/internals/own-keys.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/get-built-in.js"),Me=ve("./node_modules/core-js/internals/object-get-own-property-names.js"),Ne=ve("./node_modules/core-js/internals/object-get-own-property-symbols.js"),he=ve("./node_modules/core-js/internals/an-object.js");De.exports=Ke("Reflect","ownKeys")||function(y){var E=Me.f(he(y)),b=Ne.f;return b?E.concat(b(y)):E}},"./node_modules/core-js/internals/path.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/global.js");De.exports=Ke},"./node_modules/core-js/internals/redefine.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/global.js"),Me=ve("./node_modules/core-js/internals/create-non-enumerable-property.js"),Ne=ve("./node_modules/core-js/internals/has.js"),he=ve("./node_modules/core-js/internals/set-global.js"),a=ve("./node_modules/core-js/internals/inspect-source.js"),y=ve("./node_modules/core-js/internals/internal-state.js"),E=y.get,b=y.enforce,ee=String(String).split("String");(De.exports=function(ie,ce,Be,Ce){var Ue=Ce?!!Ce.unsafe:!1,Oe=Ce?!!Ce.enumerable:!1,tt=Ce?!!Ce.noTargetGet:!1,qe;if(typeof Be=="function"&&(typeof ce=="string"&&!Ne(Be,"name")&&Me(Be,"name",ce),qe=b(Be),qe.source||(qe.source=ee.join(typeof ce=="string"?ce:""))),ie===Ke){Oe?ie[ce]=Be:he(ce,Be);return}else Ue?!tt&&ie[ce]&&(Oe=!0):delete ie[ce];Oe?ie[ce]=Be:Me(ie,ce,Be)})(Function.prototype,"toString",function(){return typeof this=="function"&&E(this).source||a(this)})},"./node_modules/core-js/internals/regexp-flags.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/an-object.js");De.exports=function(){var Me=Ke(this),Ne="";return Me.global&&(Ne+="g"),Me.ignoreCase&&(Ne+="i"),Me.multiline&&(Ne+="m"),Me.dotAll&&(Ne+="s"),Me.unicode&&(Ne+="u"),Me.sticky&&(Ne+="y"),Ne}},"./node_modules/core-js/internals/require-object-coercible.js":function(De){De.exports=function(Ze){if(Ze==null)throw TypeError("Can't call method on "+Ze);return Ze}},"./node_modules/core-js/internals/set-global.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/global.js");De.exports=function(Me,Ne){try{Object.defineProperty(Ke,Me,{value:Ne,configurable:!0,writable:!0})}catch(he){Ke[Me]=Ne}return Ne}},"./node_modules/core-js/internals/set-to-string-tag.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/object-define-property.js").f,Me=ve("./node_modules/core-js/internals/has.js"),Ne=ve("./node_modules/core-js/internals/well-known-symbol.js"),he=Ne("toStringTag");De.exports=function(a,y,E){a&&!Me(a=E?a:a.prototype,he)&&Ke(a,he,{configurable:!0,value:y})}},"./node_modules/core-js/internals/shared-key.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/shared.js"),Me=ve("./node_modules/core-js/internals/uid.js"),Ne=Ke("keys");De.exports=function(he){return Ne[he]||(Ne[he]=Me(he))}},"./node_modules/core-js/internals/shared-store.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/global.js"),Me=ve("./node_modules/core-js/internals/set-global.js"),Ne="__core-js_shared__",he=Ke[Ne]||Me(Ne,{});De.exports=he},"./node_modules/core-js/internals/shared.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/is-pure.js"),Me=ve("./node_modules/core-js/internals/shared-store.js");(De.exports=function(Ne,he){return Me[Ne]||(Me[Ne]=he!==void 0?he:{})})("versions",[]).push({version:"3.16.0",mode:Ke?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"./node_modules/core-js/internals/string-html-forced.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/fails.js");De.exports=function(Me){return Ke(function(){var Ne=""[Me]('"');return Ne!==Ne.toLowerCase()||Ne.split('"').length>3})}},"./node_modules/core-js/internals/string-multibyte.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/to-integer.js"),Me=ve("./node_modules/core-js/internals/to-string.js"),Ne=ve("./node_modules/core-js/internals/require-object-coercible.js"),he=function(a){return function(y,E){var b=Me(Ne(y)),ee=Ke(E),ie=b.length,ce,Be;return ee<0||ee>=ie?a?"":void 0:(ce=b.charCodeAt(ee),ce<55296||ce>56319||ee+1===ie||(Be=b.charCodeAt(ee+1))<56320||Be>57343?a?b.charAt(ee):ce:a?b.slice(ee,ee+2):(ce-55296<<10)+(Be-56320)+65536)}};De.exports={codeAt:he(!1),charAt:he(!0)}},"./node_modules/core-js/internals/string-trim.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/require-object-coercible.js"),Me=ve("./node_modules/core-js/internals/to-string.js"),Ne=ve("./node_modules/core-js/internals/whitespaces.js"),he="["+Ne+"]",a=RegExp("^"+he+he+"*"),y=RegExp(he+he+"*$"),E=function(b){return function(ee){var ie=Me(Ke(ee));return b&1&&(ie=ie.replace(a,"")),b&2&&(ie=ie.replace(y,"")),ie}};De.exports={start:E(1),end:E(2),trim:E(3)}},"./node_modules/core-js/internals/to-absolute-index.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/to-integer.js"),Me=Math.max,Ne=Math.min;De.exports=function(he,a){var y=Ke(he);return y<0?Me(y+a,0):Ne(y,a)}},"./node_modules/core-js/internals/to-indexed-object.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/indexed-object.js"),Me=ve("./node_modules/core-js/internals/require-object-coercible.js");De.exports=function(Ne){return Ke(Me(Ne))}},"./node_modules/core-js/internals/to-integer.js":function(De){var Ze=Math.ceil,ve=Math.floor;De.exports=function(Ke){return isNaN(Ke=+Ke)?0:(Ke>0?ve:Ze)(Ke)}},"./node_modules/core-js/internals/to-length.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/to-integer.js"),Me=Math.min;De.exports=function(Ne){return Ne>0?Me(Ke(Ne),9007199254740991):0}},"./node_modules/core-js/internals/to-object.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/require-object-coercible.js");De.exports=function(Me){return Object(Ke(Me))}},"./node_modules/core-js/internals/to-primitive.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/is-object.js"),Me=ve("./node_modules/core-js/internals/is-symbol.js"),Ne=ve("./node_modules/core-js/internals/ordinary-to-primitive.js"),he=ve("./node_modules/core-js/internals/well-known-symbol.js"),a=he("toPrimitive");De.exports=function(y,E){if(!Ke(y)||Me(y))return y;var b=y[a],ee;if(b!==void 0){if(E===void 0&&(E="default"),ee=b.call(y,E),!Ke(ee)||Me(ee))return ee;throw TypeError("Can't convert object to primitive value")}return E===void 0&&(E="number"),Ne(y,E)}},"./node_modules/core-js/internals/to-property-key.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/to-primitive.js"),Me=ve("./node_modules/core-js/internals/is-symbol.js");De.exports=function(Ne){var he=Ke(Ne,"string");return Me(he)?he:String(he)}},"./node_modules/core-js/internals/to-string-tag-support.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/well-known-symbol.js"),Me=Ke("toStringTag"),Ne={};Ne[Me]="z",De.exports=String(Ne)==="[object z]"},"./node_modules/core-js/internals/to-string.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/is-symbol.js");De.exports=function(Me){if(Ke(Me))throw TypeError("Cannot convert a Symbol value to a string");return String(Me)}},"./node_modules/core-js/internals/uid.js":function(De){var Ze=0,ve=Math.random();De.exports=function(Ke){return"Symbol("+String(Ke===void 0?"":Ke)+")_"+(++Ze+ve).toString(36)}},"./node_modules/core-js/internals/use-symbol-as-uid.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/native-symbol.js");De.exports=Ke&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},"./node_modules/core-js/internals/well-known-symbol-wrapped.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/well-known-symbol.js");Ze.f=Ke},"./node_modules/core-js/internals/well-known-symbol.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/global.js"),Me=ve("./node_modules/core-js/internals/shared.js"),Ne=ve("./node_modules/core-js/internals/has.js"),he=ve("./node_modules/core-js/internals/uid.js"),a=ve("./node_modules/core-js/internals/native-symbol.js"),y=ve("./node_modules/core-js/internals/use-symbol-as-uid.js"),E=Me("wks"),b=Ke.Symbol,ee=y?b:b&&b.withoutSetter||he;De.exports=function(ie){return(!Ne(E,ie)||!(a||typeof E[ie]=="string"))&&(a&&Ne(b,ie)?E[ie]=b[ie]:E[ie]=ee("Symbol."+ie)),E[ie]}},"./node_modules/core-js/internals/whitespaces.js":function(De){De.exports=` \v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},"./node_modules/core-js/modules/es.array.concat.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/export.js"),Me=ve("./node_modules/core-js/internals/fails.js"),Ne=ve("./node_modules/core-js/internals/is-array.js"),he=ve("./node_modules/core-js/internals/is-object.js"),a=ve("./node_modules/core-js/internals/to-object.js"),y=ve("./node_modules/core-js/internals/to-length.js"),E=ve("./node_modules/core-js/internals/create-property.js"),b=ve("./node_modules/core-js/internals/array-species-create.js"),ee=ve("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=ve("./node_modules/core-js/internals/well-known-symbol.js"),ce=ve("./node_modules/core-js/internals/engine-v8-version.js"),Be=ie("isConcatSpreadable"),Ce=9007199254740991,Ue="Maximum allowed index exceeded",Oe=ce>=51||!Me(function(){var St=[];return St[Be]=!1,St.concat()[0]!==St}),tt=ee("concat"),qe=function(St){if(!he(St))return!1;var Tt=St[Be];return Tt!==void 0?!!Tt:Ne(St)},ht=!Oe||!tt;Ke({target:"Array",proto:!0,forced:ht},{concat:function(Tt){var Kt=a(this),an=b(Kt,0),Nn=0,un,zt,Jt,Pt,Ye;for(un=-1,Jt=arguments.length;unCe)throw TypeError(Ue);for(zt=0;zt=Ce)throw TypeError(Ue);E(an,Nn++,Ye)}return an.length=Nn,an}})},"./node_modules/core-js/modules/es.array.iterator.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/to-indexed-object.js"),Me=ve("./node_modules/core-js/internals/add-to-unscopables.js"),Ne=ve("./node_modules/core-js/internals/iterators.js"),he=ve("./node_modules/core-js/internals/internal-state.js"),a=ve("./node_modules/core-js/internals/define-iterator.js"),y="Array Iterator",E=he.set,b=he.getterFor(y);De.exports=a(Array,"Array",function(ee,ie){E(this,{type:y,target:Ke(ee),index:0,kind:ie})},function(){var ee=b(this),ie=ee.target,ce=ee.kind,Be=ee.index++;return!ie||Be>=ie.length?(ee.target=void 0,{value:void 0,done:!0}):ce=="keys"?{value:Be,done:!1}:ce=="values"?{value:ie[Be],done:!1}:{value:[Be,ie[Be]],done:!1}},"values"),Ne.Arguments=Ne.Array,Me("keys"),Me("values"),Me("entries")},"./node_modules/core-js/modules/es.array.join.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/export.js"),Me=ve("./node_modules/core-js/internals/indexed-object.js"),Ne=ve("./node_modules/core-js/internals/to-indexed-object.js"),he=ve("./node_modules/core-js/internals/array-method-is-strict.js"),a=[].join,y=Me!=Object,E=he("join",",");Ke({target:"Array",proto:!0,forced:y||!E},{join:function(ee){return a.call(Ne(this),ee===void 0?",":ee)}})},"./node_modules/core-js/modules/es.array.map.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/export.js"),Me=ve("./node_modules/core-js/internals/array-iteration.js").map,Ne=ve("./node_modules/core-js/internals/array-method-has-species-support.js"),he=Ne("map");Ke({target:"Array",proto:!0,forced:!he},{map:function(y){return Me(this,y,arguments.length>1?arguments[1]:void 0)}})},"./node_modules/core-js/modules/es.array.slice.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/export.js"),Me=ve("./node_modules/core-js/internals/is-object.js"),Ne=ve("./node_modules/core-js/internals/is-array.js"),he=ve("./node_modules/core-js/internals/to-absolute-index.js"),a=ve("./node_modules/core-js/internals/to-length.js"),y=ve("./node_modules/core-js/internals/to-indexed-object.js"),E=ve("./node_modules/core-js/internals/create-property.js"),b=ve("./node_modules/core-js/internals/well-known-symbol.js"),ee=ve("./node_modules/core-js/internals/array-method-has-species-support.js"),ie=ee("slice"),ce=b("species"),Be=[].slice,Ce=Math.max;Ke({target:"Array",proto:!0,forced:!ie},{slice:function(Oe,tt){var qe=y(this),ht=a(qe.length),St=he(Oe,ht),Tt=he(tt===void 0?ht:tt,ht),Kt,an,Nn;if(Ne(qe)&&(Kt=qe.constructor,typeof Kt=="function"&&(Kt===Array||Ne(Kt.prototype))?Kt=void 0:Me(Kt)&&(Kt=Kt[ce],Kt===null&&(Kt=void 0)),Kt===Array||Kt===void 0))return Be.call(qe,St,Tt);for(an=new(Kt===void 0?Array:Kt)(Ce(Tt-St,0)),Nn=0;St2){if(Jt=Oe(Jt),Pt=Jt.charCodeAt(0),Pt===43||Pt===45){if(Ye=Jt.charCodeAt(2),Ye===88||Ye===120)return NaN}else if(Pt===48){switch(Jt.charCodeAt(1)){case 66:case 98:Wt=2,en=49;break;case 79:case 111:Wt=8,en=55;break;default:return+Jt}for($n=Jt.slice(2),Ft=$n.length,Et=0;Eten)return NaN;return parseInt($n,Wt)}}return+Jt};if(Ne(tt,!qe(" 0o1")||!qe("0b1")||qe("+0x1"))){for(var Kt=function(Jt){var Pt=arguments.length<1?0:Jt,Ye=this;return Ye instanceof Kt&&(St?ie(function(){ht.valueOf.call(Ye)}):y(Ye)!=tt)?E(new qe(Tt(Pt)),Ye,Kt):Tt(Pt)},an=Ke?Be(qe):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Nn=0,un;an.length>Nn;Nn++)a(qe,un=an[Nn])&&!a(Kt,un)&&Ue(Kt,un,Ce(qe,un));Kt.prototype=ht,ht.constructor=Kt,he(Me,tt,Kt)}},"./node_modules/core-js/modules/es.object.assign.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/export.js"),Me=ve("./node_modules/core-js/internals/object-assign.js");Ke({target:"Object",stat:!0,forced:Object.assign!==Me},{assign:Me})},"./node_modules/core-js/modules/es.object.keys.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/export.js"),Me=ve("./node_modules/core-js/internals/to-object.js"),Ne=ve("./node_modules/core-js/internals/object-keys.js"),he=ve("./node_modules/core-js/internals/fails.js"),a=he(function(){Ne(1)});Ke({target:"Object",stat:!0,forced:a},{keys:function(E){return Ne(Me(E))}})},"./node_modules/core-js/modules/es.object.to-string.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/to-string-tag-support.js"),Me=ve("./node_modules/core-js/internals/redefine.js"),Ne=ve("./node_modules/core-js/internals/object-to-string.js");Ke||Me(Object.prototype,"toString",Ne,{unsafe:!0})},"./node_modules/core-js/modules/es.regexp.to-string.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/redefine.js"),Me=ve("./node_modules/core-js/internals/an-object.js"),Ne=ve("./node_modules/core-js/internals/to-string.js"),he=ve("./node_modules/core-js/internals/fails.js"),a=ve("./node_modules/core-js/internals/regexp-flags.js"),y="toString",E=RegExp.prototype,b=E[y],ee=he(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),ie=b.name!=y;(ee||ie)&&Ke(RegExp.prototype,y,function(){var Be=Me(this),Ce=Ne(Be.source),Ue=Be.flags,Oe=Ne(Ue===void 0&&Be instanceof RegExp&&!("flags"in E)?a.call(Be):Ue);return"/"+Ce+"/"+Oe},{unsafe:!0})},"./node_modules/core-js/modules/es.string.iterator.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/string-multibyte.js").charAt,Me=ve("./node_modules/core-js/internals/to-string.js"),Ne=ve("./node_modules/core-js/internals/internal-state.js"),he=ve("./node_modules/core-js/internals/define-iterator.js"),a="String Iterator",y=Ne.set,E=Ne.getterFor(a);he(String,"String",function(b){y(this,{type:a,string:Me(b),index:0})},function(){var ee=E(this),ie=ee.string,ce=ee.index,Be;return ce>=ie.length?{value:void 0,done:!0}:(Be=Ke(ie,ce),ee.index+=Be.length,{value:Be,done:!1})})},"./node_modules/core-js/modules/es.string.link.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/export.js"),Me=ve("./node_modules/core-js/internals/create-html.js"),Ne=ve("./node_modules/core-js/internals/string-html-forced.js");Ke({target:"String",proto:!0,forced:Ne("link")},{link:function(a){return Me(this,"a","href",a)}})},"./node_modules/core-js/modules/es.symbol.description.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/export.js"),Me=ve("./node_modules/core-js/internals/descriptors.js"),Ne=ve("./node_modules/core-js/internals/global.js"),he=ve("./node_modules/core-js/internals/has.js"),a=ve("./node_modules/core-js/internals/is-object.js"),y=ve("./node_modules/core-js/internals/object-define-property.js").f,E=ve("./node_modules/core-js/internals/copy-constructor-properties.js"),b=Ne.Symbol;if(Me&&typeof b=="function"&&(!("description"in b.prototype)||b().description!==void 0)){var ee={},ie=function(){var tt=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),qe=this instanceof ie?new b(tt):tt===void 0?b():b(tt);return tt===""&&(ee[qe]=!0),qe};E(ie,b);var ce=ie.prototype=b.prototype;ce.constructor=ie;var Be=ce.toString,Ce=String(b("test"))=="Symbol(test)",Ue=/^Symbol\((.*)\)[^)]+$/;y(ce,"description",{configurable:!0,get:function(){var tt=a(this)?this.valueOf():this,qe=Be.call(tt);if(he(ee,tt))return"";var ht=Ce?qe.slice(7,-1):qe.replace(Ue,"$1");return ht===""?void 0:ht}}),Ke({global:!0,forced:!0},{Symbol:ie})}},"./node_modules/core-js/modules/es.symbol.iterator.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/define-well-known-symbol.js");Ke("iterator")},"./node_modules/core-js/modules/es.symbol.js":function(De,Ze,ve){"use strict";var Ke=ve("./node_modules/core-js/internals/export.js"),Me=ve("./node_modules/core-js/internals/global.js"),Ne=ve("./node_modules/core-js/internals/get-built-in.js"),he=ve("./node_modules/core-js/internals/is-pure.js"),a=ve("./node_modules/core-js/internals/descriptors.js"),y=ve("./node_modules/core-js/internals/native-symbol.js"),E=ve("./node_modules/core-js/internals/fails.js"),b=ve("./node_modules/core-js/internals/has.js"),ee=ve("./node_modules/core-js/internals/is-array.js"),ie=ve("./node_modules/core-js/internals/is-object.js"),ce=ve("./node_modules/core-js/internals/is-symbol.js"),Be=ve("./node_modules/core-js/internals/an-object.js"),Ce=ve("./node_modules/core-js/internals/to-object.js"),Ue=ve("./node_modules/core-js/internals/to-indexed-object.js"),Oe=ve("./node_modules/core-js/internals/to-property-key.js"),tt=ve("./node_modules/core-js/internals/to-string.js"),qe=ve("./node_modules/core-js/internals/create-property-descriptor.js"),ht=ve("./node_modules/core-js/internals/object-create.js"),St=ve("./node_modules/core-js/internals/object-keys.js"),Tt=ve("./node_modules/core-js/internals/object-get-own-property-names.js"),Kt=ve("./node_modules/core-js/internals/object-get-own-property-names-external.js"),an=ve("./node_modules/core-js/internals/object-get-own-property-symbols.js"),Nn=ve("./node_modules/core-js/internals/object-get-own-property-descriptor.js"),un=ve("./node_modules/core-js/internals/object-define-property.js"),zt=ve("./node_modules/core-js/internals/object-property-is-enumerable.js"),Jt=ve("./node_modules/core-js/internals/create-non-enumerable-property.js"),Pt=ve("./node_modules/core-js/internals/redefine.js"),Ye=ve("./node_modules/core-js/internals/shared.js"),Wt=ve("./node_modules/core-js/internals/shared-key.js"),en=ve("./node_modules/core-js/internals/hidden-keys.js"),$n=ve("./node_modules/core-js/internals/uid.js"),Ft=ve("./node_modules/core-js/internals/well-known-symbol.js"),Et=ve("./node_modules/core-js/internals/well-known-symbol-wrapped.js"),on=ve("./node_modules/core-js/internals/define-well-known-symbol.js"),nA=ve("./node_modules/core-js/internals/set-to-string-tag.js"),Qn=ve("./node_modules/core-js/internals/internal-state.js"),AA=ve("./node_modules/core-js/internals/array-iteration.js").forEach,Ve=Wt("hidden"),An="Symbol",Sn="prototype",iA=Ft("toPrimitive"),Kn=Qn.set,_t=Qn.getterFor(An),rt=Object[Sn],_e=Me.Symbol,At=Ne("JSON","stringify"),pt=Nn.f,Gt=un.f,ln=Kt.f,pn=zt.f,Cn=Ye("symbols"),In=Ye("op-symbols"),rA=Ye("string-to-symbol-registry"),qn=Ye("symbol-to-string-registry"),hA=Ye("wks"),Qt=Me.QObject,vn=!Qt||!Qt[Sn]||!Qt[Sn].findChild,cn=a&&E(function(){return ht(Gt({},"a",{get:function(){return Gt(this,"a",{value:7}).a}})).a!=7})?function(Xn,Mn,Fn){var dA=pt(rt,Mn);dA&&delete rt[Mn],Gt(Xn,Mn,Fn),dA&&Xn!==rt&&Gt(rt,Mn,dA)}:Gt,Ln=function(Xn,Mn){var Fn=Cn[Xn]=ht(_e[Sn]);return Kn(Fn,{type:An,tag:Xn,description:Mn}),a||(Fn.description=Mn),Fn},ct=function(Mn,Fn,dA){Mn===rt&&ct(In,Fn,dA),Be(Mn);var lA=Oe(Fn);return Be(dA),b(Cn,lA)?(dA.enumerable?(b(Mn,Ve)&&Mn[Ve][lA]&&(Mn[Ve][lA]=!1),dA=ht(dA,{enumerable:qe(0,!1)})):(b(Mn,Ve)||Gt(Mn,Ve,qe(1,{})),Mn[Ve][lA]=!0),cn(Mn,lA,dA)):Gt(Mn,lA,dA)},It=function(Mn,Fn){Be(Mn);var dA=Ue(Fn),lA=St(dA).concat(pA(dA));return AA(lA,function(rr){(!a||Yn.call(dA,rr))&&ct(Mn,rr,dA[rr])}),Mn},rn=function(Mn,Fn){return Fn===void 0?ht(Mn):It(ht(Mn),Fn)},Yn=function(Mn){var Fn=Oe(Mn),dA=pn.call(this,Fn);return this===rt&&b(Cn,Fn)&&!b(In,Fn)?!1:dA||!b(this,Fn)||!b(Cn,Fn)||b(this,Ve)&&this[Ve][Fn]?dA:!0},Jn=function(Mn,Fn){var dA=Ue(Mn),lA=Oe(Fn);if(!(dA===rt&&b(Cn,lA)&&!b(In,lA))){var rr=pt(dA,lA);return rr&&b(Cn,lA)&&!(b(dA,Ve)&&dA[Ve][lA])&&(rr.enumerable=!0),rr}},wA=function(Mn){var Fn=ln(Ue(Mn)),dA=[];return AA(Fn,function(lA){!b(Cn,lA)&&!b(en,lA)&&dA.push(lA)}),dA},pA=function(Mn){var Fn=Mn===rt,dA=ln(Fn?In:Ue(Mn)),lA=[];return AA(dA,function(rr){b(Cn,rr)&&(!Fn||b(rt,rr))&&lA.push(Cn[rr])}),lA};if(y||(_e=function(){if(this instanceof _e)throw TypeError("Symbol is not a constructor");var Mn=!arguments.length||arguments[0]===void 0?void 0:tt(arguments[0]),Fn=$n(Mn),dA=function(lA){this===rt&&dA.call(In,lA),b(this,Ve)&&b(this[Ve],Fn)&&(this[Ve][Fn]=!1),cn(this,Fn,qe(1,lA))};return a&&vn&&cn(rt,Fn,{configurable:!0,set:dA}),Ln(Fn,Mn)},Pt(_e[Sn],"toString",function(){return _t(this).tag}),Pt(_e,"withoutSetter",function(Xn){return Ln($n(Xn),Xn)}),zt.f=Yn,un.f=ct,Nn.f=Jn,Tt.f=Kt.f=wA,an.f=pA,Et.f=function(Xn){return Ln(Ft(Xn),Xn)},a&&(Gt(_e[Sn],"description",{configurable:!0,get:function(){return _t(this).description}}),he||Pt(rt,"propertyIsEnumerable",Yn,{unsafe:!0}))),Ke({global:!0,wrap:!0,forced:!y,sham:!y},{Symbol:_e}),AA(St(hA),function(Xn){on(Xn)}),Ke({target:An,stat:!0,forced:!y},{for:function(Xn){var Mn=tt(Xn);if(b(rA,Mn))return rA[Mn];var Fn=_e(Mn);return rA[Mn]=Fn,qn[Fn]=Mn,Fn},keyFor:function(Mn){if(!ce(Mn))throw TypeError(Mn+" is not a symbol");if(b(qn,Mn))return qn[Mn]},useSetter:function(){vn=!0},useSimple:function(){vn=!1}}),Ke({target:"Object",stat:!0,forced:!y,sham:!a},{create:rn,defineProperty:ct,defineProperties:It,getOwnPropertyDescriptor:Jn}),Ke({target:"Object",stat:!0,forced:!y},{getOwnPropertyNames:wA,getOwnPropertySymbols:pA}),Ke({target:"Object",stat:!0,forced:E(function(){an.f(1)})},{getOwnPropertySymbols:function(Mn){return an.f(Ce(Mn))}}),At){var uA=!y||E(function(){var Xn=_e();return At([Xn])!="[null]"||At({a:Xn})!="{}"||At(Object(Xn))!="{}"});Ke({target:"JSON",stat:!0,forced:uA},{stringify:function(Mn,Fn,dA){for(var lA=[Mn],rr=1,kA;arguments.length>rr;)lA.push(arguments[rr++]);if(kA=Fn,!(!ie(Fn)&&Mn===void 0||ce(Mn)))return ee(Fn)||(Fn=function(cr,gr){if(typeof kA=="function"&&(gr=kA.call(this,cr,gr)),!ce(gr))return gr}),lA[1]=Fn,At.apply(null,lA)}})}_e[Sn][iA]||Jt(_e[Sn],iA,_e[Sn].valueOf),nA(_e,An),en[Ve]=!0},"./node_modules/core-js/modules/web.dom-collections.for-each.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/global.js"),Me=ve("./node_modules/core-js/internals/dom-iterables.js"),Ne=ve("./node_modules/core-js/internals/array-for-each.js"),he=ve("./node_modules/core-js/internals/create-non-enumerable-property.js");for(var a in Me){var y=Ke[a],E=y&&y.prototype;if(E&&E.forEach!==Ne)try{he(E,"forEach",Ne)}catch(b){E.forEach=Ne}}},"./node_modules/core-js/modules/web.dom-collections.iterator.js":function(De,Ze,ve){var Ke=ve("./node_modules/core-js/internals/global.js"),Me=ve("./node_modules/core-js/internals/dom-iterables.js"),Ne=ve("./node_modules/core-js/modules/es.array.iterator.js"),he=ve("./node_modules/core-js/internals/create-non-enumerable-property.js"),a=ve("./node_modules/core-js/internals/well-known-symbol.js"),y=a("iterator"),E=a("toStringTag"),b=Ne.values;for(var ee in Me){var ie=Ke[ee],ce=ie&&ie.prototype;if(ce){if(ce[y]!==b)try{he(ce,y,b)}catch(Ce){ce[y]=b}if(ce[E]||he(ce,E,ee),Me[ee]){for(var Be in Ne)if(ce[Be]!==Ne[Be])try{he(ce,Be,Ne[Be])}catch(Ce){ce[Be]=Ne[Be]}}}}},"./node_modules/es6-promise/dist/es6-promise.js":function(De){(function(Ze,ve){De.exports=ve()})(this,function(){"use strict";function Ze(Qt){var vn=typeof Qt;return Qt!==null&&(vn==="object"||vn==="function")}function ve(Qt){return typeof Qt=="function"}var Ke=void 0;Array.isArray?Ke=Array.isArray:Ke=function(Qt){return Object.prototype.toString.call(Qt)==="[object Array]"};var Me=Ke,Ne=0,he=void 0,a=void 0,y=function(vn,cn){St[Ne]=vn,St[Ne+1]=cn,Ne+=2,Ne===2&&(a?a(Tt):an())};function E(Qt){a=Qt}function b(Qt){y=Qt}var ee=typeof window!="undefined"?window:void 0,ie=ee||{},ce=ie.MutationObserver||ie.WebKitMutationObserver,Be=typeof self=="undefined"&&typeof ue!="undefined"&&{}.toString.call(ue)==="[object process]",Ce=typeof Uint8ClampedArray!="undefined"&&typeof importScripts!="undefined"&&typeof MessageChannel!="undefined";function Ue(){return function(){return ue.nextTick(Tt)}}function Oe(){return typeof he!="undefined"?function(){he(Tt)}:ht()}function tt(){var Qt=0,vn=new ce(Tt),cn=document.createTextNode("");return vn.observe(cn,{characterData:!0}),function(){cn.data=Qt=++Qt%2}}function qe(){var Qt=new MessageChannel;return Qt.port1.onmessage=Tt,function(){return Qt.port2.postMessage(0)}}function ht(){var Qt=setTimeout;return function(){return Qt(Tt,1)}}var St=new Array(1e3);function Tt(){for(var Qt=0;Qt>>1|(b&21845)<<1;ee=(ee&52428)>>>2|(ee&13107)<<2,ee=(ee&61680)>>>4|(ee&3855)<<4,E[b]=((ee&65280)>>>8|(ee&255)<<8)>>>1}for(var ie=function(oe,te,Ae){for(var se=oe.length,de=0,ge=new bt(te);de>>Pe]=Qe}else for(Se=new bt(se),de=0;de>>15-oe[de];return Se},ce=new tn(288),b=0;b<144;++b)ce[b]=8;for(var b=144;b<256;++b)ce[b]=9;for(var b=256;b<280;++b)ce[b]=7;for(var b=280;b<288;++b)ce[b]=8;for(var Be=new tn(32),b=0;b<32;++b)Be[b]=5;var Ce=ie(ce,9,0),Ue=ie(ce,9,1),Oe=ie(Be,5,0),tt=ie(Be,5,1),qe=function(oe){for(var te=oe[0],Ae=1;Aete&&(te=oe[Ae]);return te},ht=function(oe,te,Ae){var se=te/8>>0;return(oe[se]|oe[se+1]<<8)>>>(te&7)&Ae},St=function(oe,te){var Ae=te/8>>0;return(oe[Ae]|oe[Ae+1]<<8|oe[Ae+2]<<16)>>>(te&7)},Tt=function(oe){return(oe/8>>0)+(oe&7&&1)},Kt=function(oe,te,Ae){(te==null||te<0)&&(te=0),(Ae==null||Ae>oe.length)&&(Ae=oe.length);var se=new(oe instanceof bt?bt:oe instanceof nn?nn:tn)(Ae-te);return se.set(oe.subarray(te,Ae)),se},an=function(oe,te,Ae){var se=oe.length,de=!te||Ae,ge=!Ae||Ae.i;Ae||(Ae={}),te||(te=new tn(se*3));var pe=function(Yt){var fn=te.length;if(Yt>fn){var wn=new tn(Math.max(fn*2,Yt));wn.set(te),te=wn}},Se=Ae.f||0,Pe=Ae.p||0,Qe=Ae.b||0,Te=Ae.l,ze=Ae.d,Je=Ae.m,Ee=Ae.n,lt=se*8;do{if(!Te){Ae.f=Se=ht(oe,Pe,1);var nt=ht(oe,Pe+1,3);if(Pe+=3,nt)if(nt==1)Te=Ue,ze=tt,Je=9,Ee=5;else if(nt==2){var Ht=ht(oe,Pe,31)+257,sn=ht(oe,Pe+10,15)+4,bn=Ht+ht(oe,Pe+5,31)+1;Pe+=14;for(var eA=new tn(bn),gn=new tn(19),Ct=0;Ctlt)break;for(var it=ie(gn,zn,1),Ct=0;Ct>>4;if(mt<16)eA[Ct++]=mt;else{var Dt=0,Lt=0;for(mt==16?(Lt=3+ht(oe,Pe,3),Pe+=2,Dt=eA[Ct-1]):mt==17?(Lt=3+ht(oe,Pe,7),Pe+=3):mt==18&&(Lt=11+ht(oe,Pe,127),Pe+=7);Lt--;)eA[Ct++]=Dt}}var xn=eA.subarray(0,Ht),Bn=eA.subarray(Ht);Je=qe(xn),Ee=qe(Bn),Te=ie(xn,Je,1),ze=ie(Bn,Ee,1)}else throw"invalid block type";else{var mt=Tt(Pe)+4,et=oe[mt-4]|oe[mt-3]<<8,gt=mt+et;if(gt>se){if(ge)throw"unexpected EOF";break}de&&pe(Qe+et),te.set(oe.subarray(mt,gt),Qe),Ae.b=Qe+=et,Ae.p=Pe=gt*8;continue}if(Pe>lt)throw"unexpected EOF"}de&&pe(Qe+131072);for(var Tn=(1<>>4;if(Pe+=Dt&15,Pe>lt)throw"unexpected EOF";if(!Dt)throw"invalid length/literal";if(Rn<256)te[Qe++]=Rn;else if(Rn==256){Te=null;break}else{var bA=Rn-254;if(Rn>264){var Ct=Rn-257,Ge=vt[Ct];bA=ht(oe,Pe,(1<>>4;if(!dt)throw"invalid distance";Pe+=dt&15;var Bn=a[Bt];if(Bt>3){var Ge=De[Bt];Bn+=St(oe,Pe)&(1<lt)throw"unexpected EOF";de&&pe(Qe+131072);for(var jt=Qe+bA;Qe>0;oe[se]|=Ae,oe[se+1]|=Ae>>>8},un=function(oe,te,Ae){Ae<<=te&7;var se=te/8>>0;oe[se]|=Ae,oe[se+1]|=Ae>>>8,oe[se+2]|=Ae>>>16},zt=function(oe,te){for(var Ae=[],se=0;seJe&&(Je=ge[se].s);var Ee=new bt(Je+1),lt=Jt(Ae[Te-1],Ee,0);if(lt>te){var se=0,nt=0,mt=lt-te,et=1<te)nt+=et-(1<>>=mt;nt>0;){var Ht=ge[se].s;Ee[Ht]=0&&nt;--se){var sn=ge[se].s;Ee[sn]==te&&(--Ee[sn],++nt)}lt=te}return[new tn(Ee),lt]},Jt=function(oe,te,Ae){return oe.s==-1?Math.max(Jt(oe.l,te,Ae+1),Jt(oe.r,te,Ae+1)):te[oe.s]=Ae},Pt=function(oe){for(var te=oe.length;te&&!oe[--te];);for(var Ae=new bt(++te),se=0,de=oe[0],ge=1,pe=function(Pe){Ae[se++]=Pe},Se=1;Se<=te;++Se)if(oe[Se]==de&&Se!=te)++ge;else{if(!de&&ge>2){for(;ge>138;ge-=138)pe(32754);ge>2&&(pe(ge>10?ge-11<<5|28690:ge-3<<5|12305),ge=0)}else if(ge>3){for(pe(de),--ge;ge>6;ge-=6)pe(8304);ge>2&&(pe(ge-3<<5|8208),ge=0)}for(;ge--;)pe(de);ge=1,de=oe[Se]}return[Ae.subarray(0,se),te]},Ye=function(oe,te){for(var Ae=0,se=0;se>>8,oe[de+2]=oe[de]^255,oe[de+3]=oe[de+1]^255;for(var ge=0;ge4&&!Gn[Ze[ot-1]];--ot);var Dt=Qe+5<<3,Lt=Ye(de,ce)+Ye(ge,Be)+pe,xn=Ye(de,Je)+Ye(ge,nt)+pe+14+3*ot+Ye(gn,Gn)+(2*gn[16]+3*gn[17]+7*gn[18]);if(Dt<=Lt&&Dt<=xn)return Wt(te,Te,oe.subarray(Pe,Pe+Qe));var Bn,Tn,dn,Wn;if(Nn(te,Te,1+(xn15&&(Nn(te,Te,dt[Ct]>>>5&127),Te+=dt[Ct]>>>12)}}else Bn=Ce,Tn=ce,dn=Oe,Wn=Be;for(var Ct=0;Ct255){var Bt=se[Ct]>>>18&31;un(te,Te,Bn[Bt+257]),Te+=Tn[Bt+257],Bt>7&&(Nn(te,Te,se[Ct]>>>23&31),Te+=vt[Bt]);var jt=se[Ct]&31;un(te,Te,dn[jt]),Te+=Wn[jt],jt>3&&(un(te,Te,se[Ct]>>>5&8191),Te+=De[jt])}else un(te,Te,Bn[se[Ct]]),Te+=Tn[se[Ct]];return un(te,Te,Bn[256]),Te+Tn[256]},$n=new nn([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Ft=new tn(0),Et=function(oe,te,Ae,se,de,ge){var pe=oe.length,Se=new tn(se+pe+5*(1+Math.floor(pe/7e3))+de),Pe=Se.subarray(se,Se.length-de),Qe=0;if(!te||pe<8)for(var Te=0;Te<=pe;Te+=65535){var ze=Te+65535;ze>>13,lt=Je&8191,nt=(1<7e3||Gn>24576)&&Bn>423){Qe=en(oe,Pe,0,bn,eA,gn,zn,Gn,ot,Te-ot,Qe),Gn=Ct=zn=0,ot=Te;for(var Tn=0;Tn<286;++Tn)eA[Tn]=0;for(var Tn=0;Tn<30;++Tn)gn[Tn]=0}var dn=2,Wn=0,Rn=lt,bA=Lt-xn&32767;if(Bn>2&&Dt==sn(Te-bA))for(var Ge=Math.min(Ee,Bn)-1,dt=Math.min(32767,Te),Bt=Math.min(258,Bn);bA<=dt&&--Rn&&Lt!=xn;){if(oe[Te+dn]==oe[Te+dn-bA]){for(var jt=0;jtdn){if(dn=jt,Wn=bA,jt>Ge)break;for(var Yt=Math.min(bA,jt-2),fn=0,Tn=0;Tnfn&&(fn=vA,xn=wn)}}}Lt=xn,xn=mt[Lt],bA+=Lt-xn+32768&32767}if(Wn){bn[Gn++]=268435456|Ne[dn]<<18|y[Wn];var fA=Ne[dn]&31,MA=y[Wn]&31;zn+=vt[fA]+De[MA],++eA[257+fA],++gn[MA],it=Te+dn,++Ct}else bn[Gn++]=oe[Te],++eA[oe[Te]]}}Qe=en(oe,Pe,ge,bn,eA,gn,zn,Gn,ot,Te-ot,Qe),ge||(Qe=Wt(Pe,Qe,Ft))}return Kt(Se,0,se+Tt(Qe)+de)},on=null,nA=function(){var oe=4294967295;return{p:function(te){for(var Ae=oe,se=0;se>>8;oe=Ae},d:function(){return oe^4294967295}}},Qn=function(){var oe=1,te=0;return{p:function(Ae){for(var se=oe,de=te,ge=Ae.length,pe=0;pe!=ge;){for(var Se=Math.min(pe+5552,ge);pe>>8<<16|(te&255)<<8|te>>>8)+((oe&255)<<23)*2}}},AA=function(oe,te,Ae,se,de){return Et(oe,te.level==null?6:te.level,te.mem==null?Math.ceil(Math.max(8,Math.min(13,Math.log(oe.length)))*1.5):12+te.mem,Ae,se,!de)},Ve=function(oe,te){var Ae={};for(var se in oe)Ae[se]=oe[se];for(var se in te)Ae[se]=te[se];return Ae},An=function(oe,te,Ae){for(var se=oe(),de=oe.toString(),ge=de.slice(de.indexOf("[")+1,de.lastIndexOf("]")).replace(/ /g,"").split(","),pe=0;pe>>=8},vn=function(oe,te){var Ae=te.filename;if(oe[0]=31,oe[1]=139,oe[2]=8,oe[8]=te.level<2?4:te.level==9?2:0,oe[9]=3,te.mtime!=0&&Qt(oe,4,Math.floor(new Date(te.mtime||Date.now())/1e3)),Ae){oe[3]=8;for(var se=0;se<=Ae.length;++se)oe[se+10]=Ae.charCodeAt(se)}},cn=function(oe){if(oe[0]!=31||oe[1]!=139||oe[2]!=8)throw"invalid gzip data";var te=oe[3],Ae=10;te&4&&(Ae+=oe[10]|(oe[11]<<8)+2);for(var se=(te>>3&1)+(te>>4&1);se>0;se-=!oe[Ae++]);return Ae+(te&2)},Ln=function(oe){var te=oe.length;return(oe[te-4]|oe[te-3]<<8|oe[te-2]<<16)+2*(oe[te-1]<<23)},ct=function(oe){return 10+(oe.filename&&oe.filename.length+1||0)},It=function(oe,te){var Ae=te.level,se=Ae==0?0:Ae<6?1:Ae==9?3:2;oe[0]=120,oe[1]=se<<6|(se?32-2*se:1)},rn=function(oe){if((oe[0]&15)!=8||oe[0]>>>4>7||(oe[0]<<8|oe[1])%31)throw"invalid zlib data";if(oe[1]&32)throw"invalid zlib data: preset dictionaries not supported"};function Yn(oe,te){return!te&&typeof oe=="function"&&(te=oe,oe={}),this.ondata=te,oe}var Jn=null,wA=null;function pA(oe,te,Ae){if(Ae||(Ae=te,te={}),typeof Ae!="function")throw"no callback";return Cn(oe,te,[rt],function(se){return ln(uA(se.data[0],se.data[1]))},0,Ae)}function uA(oe,te){return te===void 0&&(te={}),AA(oe,te,0,0)}var Xn=null,Mn=null;function Fn(oe,te,Ae){if(Ae||(Ae=te,te={}),typeof Ae!="function")throw"no callback";return Cn(oe,te,[_t],function(se){return ln(dA(se.data[0],pn(se.data[1])))},1,Ae)}function dA(oe,te){return an(oe,te)}var lA=null,rr=null;function kA(oe,te,Ae){if(Ae||(Ae=te,te={}),typeof Ae!="function")throw"no callback";return Cn(oe,te,[rt,_e,function(){return[cr]}],function(se){return ln(cr(se.data[0],se.data[1]))},2,Ae)}function cr(oe,te){te===void 0&&(te={});var Ae=nA(),se=oe.length;Ae.p(oe);var de=AA(oe,te,ct(te),8),ge=de.length;return vn(de,te),Qt(de,ge-8,Ae.d()),Qt(de,ge-4,se),de}var gr=null,SA=null;function sr(oe,te,Ae){if(Ae||(Ae=te,te={}),typeof Ae!="function")throw"no callback";return Cn(oe,te,[_t,At,function(){return[Dr]}],function(se){return ln(Dr(se.data[0]))},3,Ae)}function Dr(oe,te){return an(oe.subarray(cn(oe),-8),te||new tn(Ln(oe)))}var PA=null,Nr=null;function Gr(oe,te,Ae){if(Ae||(Ae=te,te={}),typeof Ae!="function")throw"no callback";return Cn(oe,te,[rt,pt,function(){return[ZA]}],function(se){return ln(ZA(se.data[0],se.data[1]))},4,Ae)}function ZA(oe,te){te===void 0&&(te={});var Ae=Qn();Ae.p(oe);var se=AA(oe,te,2,4);return It(se,te),Qt(se,se.length-4,Ae.d()),se}var Ba=null,Ha=null;function Ut(oe,te,Ae){if(Ae||(Ae=te,te={}),typeof Ae!="function")throw"no callback";return Cn(oe,te,[_t,Gt,function(){return[yt]}],function(se){return ln(yt(se.data[0],pn(se.data[1])))},5,Ae)}function yt(oe,te){return an((rn(oe),oe.subarray(2,-4)),te)}var Nt=null,kn=null;function aA(oe,te,Ae){if(Ae||(Ae=te,te={}),typeof Ae!="function")throw"no callback";return oe[0]==31&&oe[1]==139&&oe[2]==8?sr(oe,te,Ae):(oe[0]&15)!=8||oe[0]>>4>7||(oe[0]<<8|oe[1])%31?Fn(oe,te,Ae):Ut(oe,te,Ae)}function _n(oe,te){return oe[0]==31&&oe[1]==139&&oe[2]==8?Dr(oe,te):(oe[0]&15)!=8||oe[0]>>4>7||(oe[0]<<8|oe[1])%31?dA(oe,te):yt(oe,te)}var ir=function(oe,te,Ae,se){for(var de in oe){var ge=oe[de],pe=te+de;ge instanceof tn?Ae[pe]=[ge,se]:Array.isArray(ge)?Ae[pe]=[ge[0],Ve(se,ge[1])]:ir(ge,pe+"/",Ae,se)}};function qA(oe,te){var Ae=oe.length;if(!te&&typeof TextEncoder!="undefined")return new TextEncoder().encode(oe);for(var se=new tn(oe.length+(oe.length>>>1)),de=0,ge=function(Qe){se[de++]=Qe},pe=0;pese.length){var Se=new tn(de+8+(Ae-pe<<1));Se.set(se),se=Se}var Pe=oe.charCodeAt(pe);Pe<128||te?ge(Pe):Pe<2048?(ge(192|Pe>>>6),ge(128|Pe&63)):Pe>55295&&Pe<57344?(Pe=65536+(Pe&1047552)|oe.charCodeAt(++pe)&1023,ge(240|Pe>>>18),ge(128|Pe>>>12&63),ge(128|Pe>>>6&63),ge(128|Pe&63)):(ge(224|Pe>>>12),ge(128|Pe>>>6&63),ge(128|Pe&63))}return Kt(se,0,de)}function Vt(oe,te){var Ae="";if(!te&&typeof TextDecoder!="undefined")return new TextDecoder().decode(oe);for(var se=0;se>10,56320|de&1023))}return Ae}var OA=function(oe,te){return te+30+qn(oe,te+26)+qn(oe,te+28)},Pr=function(oe,te,Ae){var se=qn(oe,te+28),de=Vt(oe.subarray(te+46,te+46+se),!(qn(oe,te+8)&2048)),ge=te+46+se,pe=Ae?dr(oe,ge):[hA(oe,te+20),hA(oe,te+24),hA(oe,te+42)],Se=pe[0],Pe=pe[1],Qe=pe[2];return[qn(oe,te+10),Se,Pe,de,ge+qn(oe,te+30)+qn(oe,te+32),Qe]},dr=function(oe,te){for(;qn(oe,te)!=1;te+=4+qn(oe,te+2));return[hA(oe,te+12),hA(oe,te+4),hA(oe,te+20)]},Hn=function(oe,te,Ae,se,de,ge,pe,Se,Pe,Qe){var Te=ge.length,ze=se.length;Qt(oe,te,Pe!=null?33639248:67324752),te+=4,Pe!=null&&(oe[te]=20,te+=2),oe[te]=20,te+=2,oe[te++]=Qe==8&&(Se.level==1?6:Se.level<6?4:Se.level==9?2:0),oe[te++]=pe&&8,oe[te]=Qe,te+=2;var Je=new Date(Se.mtime||Date.now()),Ee=Je.getFullYear()-1980;if(Ee<0||Ee>119)throw"date not in range 1980-2099";Qt(oe,te,(Ee<<24)*2|Je.getMonth()+1<<21|Je.getDate()<<16|Je.getHours()<<11|Je.getMinutes()<<5|Je.getSeconds()>>>1),te+=4,Qt(oe,te,Ae),Qt(oe,te+4,ze),Qt(oe,te+8,de),Qt(oe,te+12,Te),te+=16,Pe!=null&&(Qt(oe,te+=10,Pe),te+=4),oe.set(ge,te),te+=Te,Pe==null&&oe.set(se,te)},_A=function(oe,te,Ae,se,de){Qt(oe,te,101010256),Qt(oe,te+8,Ae),Qt(oe,te+10,Ae),Qt(oe,te+12,se),Qt(oe,te+16,de)};function wa(oe,te,Ae){if(Ae||(Ae=te,te={}),typeof Ae!="function")throw"no callback";var se={};ir(oe,"",se,te);var de=Object.keys(se),ge=de.length,pe=0,Se=0,Pe=ge,Qe=new Array(ge),Te=[],ze=function(){for(var nt=0;nt65535&&zn("filename too long",null),!Ct)zn(null,gt);else if(bn<16e4)try{zn(null,uA(gt,Ht))}catch(Gn){zn(Gn,null)}else Te.push(pA(gt,Ht,zn))},lt=0;lt65535)throw"filename too long";var Ee=Te?uA(Pe,Qe):Pe,lt=Ee.length,nt=nA();nt.p(Pe),se.push({t:Te,d:Ee,m:Pe.length,c:nt.d(),u:pe.length!=Je,n:ze,o:de,p:Qe}),de+=30+Je+lt,ge+=76+2*Je+lt}for(var mt=new tn(ge+22),et=de,gt=ge-de,Ht=0;Ht65558){te("invalid zip file",null);return}var pe=qn(oe,ge+8);pe||te(null,{});var Se=pe,Pe=hA(oe,ge+16),Qe=Pe==4294967295;if(Qe){if(ge=hA(oe,ge-12),hA(oe,ge)!=101075792)throw"invalid zip file";Se=pe=hA(oe,ge+32),Pe=hA(oe,ge+48)}for(var Te=function(Je){var Ee=Pr(oe,Pe,Qe),lt=Ee[0],nt=Ee[1],mt=Ee[2],et=Ee[3],gt=Ee[4],Ht=Ee[5],sn=OA(oe,Ht);Pe=gt;var bn=function(gn,Ct){gn?(se(),te(gn,null)):(de[et]=Ct,--pe||te(null,de))};if(!lt)bn(null,Kt(oe,sn,sn+nt));else if(lt==8){var eA=oe.subarray(sn,sn+nt);if(nt<32e4)try{bn(null,dA(eA,new tn(mt)))}catch(gn){bn(gn,null)}else Ae.push(Fn(eA,{size:mt},bn))}else bn("unknown compression type "+lt,null)},ze=0;ze65558)throw"invalid zip file";var se=qn(oe,Ae+8);if(!se)return{};var de=hA(oe,Ae+16),ge=de==4294967295;if(ge){if(Ae=hA(oe,Ae-12),hA(oe,Ae)!=101075792)throw"invalid zip file";se=hA(oe,Ae+32),de=hA(oe,Ae+48)}for(var pe=0;pe=200&&te.status<=299}function ba(oe){try{oe.dispatchEvent(new MouseEvent("click"))}catch(Ae){var te=document.createEvent("MouseEvents");te.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),oe.dispatchEvent(te)}}var $a,zo,Dn=zA.saveAs||((typeof window=="undefined"?"undefined":(0,ue.Z)(window))!=="object"||window!==zA?function(){}:typeof HTMLAnchorElement!="undefined"&&"download"in HTMLAnchorElement.prototype?function(oe,te,Ae){var se=zA.URL||zA.webkitURL,de=document.createElement("a");te=te||oe.name||"download",de.download=te,de.rel="noopener",typeof oe=="string"?(de.href=oe,de.origin!==location.origin?Ko(de.href)?Ca(oe,te,Ae):ba(de,de.target="_blank"):ba(de)):(de.href=se.createObjectURL(oe),setTimeout(function(){se.revokeObjectURL(de.href)},4e4),setTimeout(function(){ba(de)},0))}:"msSaveOrOpenBlob"in navigator?function(oe,te,Ae){if(te=te||oe.name||"download",typeof oe=="string")if(Ko(oe))Ca(oe,te,Ae);else{var se=document.createElement("a");se.href=oe,se.target="_blank",setTimeout(function(){ba(se)})}else navigator.msSaveOrOpenBlob(function(de,ge){return ge===void 0?ge={autoBom:!1}:(0,ue.Z)(ge)!=="object"&&(Hr.warn("Deprecated: Expected third argument to be a object"),ge={autoBom:!ge}),ge.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(de.type)?new Blob(["\uFEFF",de],{type:de.type}):de}(oe,Ae),te)}:function(oe,te,Ae,se){if((se=se||open("","_blank"))&&(se.document.title=se.document.body.innerText="downloading..."),typeof oe=="string")return Ca(oe,te,Ae);var de=oe.type==="application/octet-stream",ge=/constructor/i.test(zA.HTMLElement)||zA.safari,pe=/CriOS\/[\d]+/.test(navigator.userAgent);if((pe||de&&ge)&&(typeof FileReader=="undefined"?"undefined":(0,ue.Z)(FileReader))==="object"){var Se=new FileReader;Se.onloadend=function(){var Te=Se.result;Te=pe?Te:Te.replace(/^data:[^;]*;/,"data:attachment/file;"),se?se.location.href=Te:location=Te,se=null},Se.readAsDataURL(oe)}else{var Pe=zA.URL||zA.webkitURL,Qe=Pe.createObjectURL(oe);se?se.location=Qe:location.href=Qe,se=null,setTimeout(function(){Pe.revokeObjectURL(Qe)},4e4)}});function so(oe){var te;oe=oe||"",this.ok=!1,oe.charAt(0)=="#"&&(oe=oe.substr(1,6)),oe={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[oe=(oe=oe.replace(/ /g,"")).toLowerCase()]||oe;for(var Ae=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(Se){return[parseInt(Se[1]),parseInt(Se[2]),parseInt(Se[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(Se){return[parseInt(Se[1],16),parseInt(Se[2],16),parseInt(Se[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(Se){return[parseInt(Se[1]+Se[1],16),parseInt(Se[2]+Se[2],16),parseInt(Se[3]+Se[3],16)]}}],se=0;se255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var Se=this.r.toString(16),Pe=this.g.toString(16),Qe=this.b.toString(16);return Se.length==1&&(Se="0"+Se),Pe.length==1&&(Pe="0"+Pe),Qe.length==1&&(Qe="0"+Qe),"#"+Se+Pe+Qe}}function ci(oe,te){var Ae=oe[0],se=oe[1],de=oe[2],ge=oe[3];Ae=ia(Ae,se,de,ge,te[0],7,-680876936),ge=ia(ge,Ae,se,de,te[1],12,-389564586),de=ia(de,ge,Ae,se,te[2],17,606105819),se=ia(se,de,ge,Ae,te[3],22,-1044525330),Ae=ia(Ae,se,de,ge,te[4],7,-176418897),ge=ia(ge,Ae,se,de,te[5],12,1200080426),de=ia(de,ge,Ae,se,te[6],17,-1473231341),se=ia(se,de,ge,Ae,te[7],22,-45705983),Ae=ia(Ae,se,de,ge,te[8],7,1770035416),ge=ia(ge,Ae,se,de,te[9],12,-1958414417),de=ia(de,ge,Ae,se,te[10],17,-42063),se=ia(se,de,ge,Ae,te[11],22,-1990404162),Ae=ia(Ae,se,de,ge,te[12],7,1804603682),ge=ia(ge,Ae,se,de,te[13],12,-40341101),de=ia(de,ge,Ae,se,te[14],17,-1502002290),Ae=Fa(Ae,se=ia(se,de,ge,Ae,te[15],22,1236535329),de,ge,te[1],5,-165796510),ge=Fa(ge,Ae,se,de,te[6],9,-1069501632),de=Fa(de,ge,Ae,se,te[11],14,643717713),se=Fa(se,de,ge,Ae,te[0],20,-373897302),Ae=Fa(Ae,se,de,ge,te[5],5,-701558691),ge=Fa(ge,Ae,se,de,te[10],9,38016083),de=Fa(de,ge,Ae,se,te[15],14,-660478335),se=Fa(se,de,ge,Ae,te[4],20,-405537848),Ae=Fa(Ae,se,de,ge,te[9],5,568446438),ge=Fa(ge,Ae,se,de,te[14],9,-1019803690),de=Fa(de,ge,Ae,se,te[3],14,-187363961),se=Fa(se,de,ge,Ae,te[8],20,1163531501),Ae=Fa(Ae,se,de,ge,te[13],5,-1444681467),ge=Fa(ge,Ae,se,de,te[2],9,-51403784),de=Fa(de,ge,Ae,se,te[7],14,1735328473),Ae=Vn(Ae,se=Fa(se,de,ge,Ae,te[12],20,-1926607734),de,ge,te[5],4,-378558),ge=Vn(ge,Ae,se,de,te[8],11,-2022574463),de=Vn(de,ge,Ae,se,te[11],16,1839030562),se=Vn(se,de,ge,Ae,te[14],23,-35309556),Ae=Vn(Ae,se,de,ge,te[1],4,-1530992060),ge=Vn(ge,Ae,se,de,te[4],11,1272893353),de=Vn(de,ge,Ae,se,te[7],16,-155497632),se=Vn(se,de,ge,Ae,te[10],23,-1094730640),Ae=Vn(Ae,se,de,ge,te[13],4,681279174),ge=Vn(ge,Ae,se,de,te[0],11,-358537222),de=Vn(de,ge,Ae,se,te[3],16,-722521979),se=Vn(se,de,ge,Ae,te[6],23,76029189),Ae=Vn(Ae,se,de,ge,te[9],4,-640364487),ge=Vn(ge,Ae,se,de,te[12],11,-421815835),de=Vn(de,ge,Ae,se,te[15],16,530742520),Ae=FA(Ae,se=Vn(se,de,ge,Ae,te[2],23,-995338651),de,ge,te[0],6,-198630844),ge=FA(ge,Ae,se,de,te[7],10,1126891415),de=FA(de,ge,Ae,se,te[14],15,-1416354905),se=FA(se,de,ge,Ae,te[5],21,-57434055),Ae=FA(Ae,se,de,ge,te[12],6,1700485571),ge=FA(ge,Ae,se,de,te[3],10,-1894986606),de=FA(de,ge,Ae,se,te[10],15,-1051523),se=FA(se,de,ge,Ae,te[1],21,-2054922799),Ae=FA(Ae,se,de,ge,te[8],6,1873313359),ge=FA(ge,Ae,se,de,te[15],10,-30611744),de=FA(de,ge,Ae,se,te[6],15,-1560198380),se=FA(se,de,ge,Ae,te[13],21,1309151649),Ae=FA(Ae,se,de,ge,te[4],6,-145523070),ge=FA(ge,Ae,se,de,te[11],10,-1120210379),de=FA(de,ge,Ae,se,te[2],15,718787259),se=FA(se,de,ge,Ae,te[9],21,-343485551),oe[0]=Wa(Ae,oe[0]),oe[1]=Wa(se,oe[1]),oe[2]=Wa(de,oe[2]),oe[3]=Wa(ge,oe[3])}function lo(oe,te,Ae,se,de,ge){return te=Wa(Wa(te,oe),Wa(se,ge)),Wa(te<>>32-de,Ae)}function ia(oe,te,Ae,se,de,ge,pe){return lo(te&Ae|~te&se,oe,te,de,ge,pe)}function Fa(oe,te,Ae,se,de,ge,pe){return lo(te&se|Ae&~se,oe,te,de,ge,pe)}function Vn(oe,te,Ae,se,de,ge,pe){return lo(te^Ae^se,oe,te,de,ge,pe)}function FA(oe,te,Ae,se,de,ge,pe){return lo(Ae^(te|~se),oe,te,de,ge,pe)}function tr(oe){var te,Ae=oe.length,se=[1732584193,-271733879,-1732584194,271733878];for(te=64;te<=oe.length;te+=64)ci(se,$A(oe.substring(te-64,te)));oe=oe.substring(te-64);var de=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(te=0;te>2]|=oe.charCodeAt(te)<<(te%4<<3);if(de[te>>2]|=128<<(te%4<<3),te>55)for(ci(se,de),te=0;te<16;te++)de[te]=0;return de[14]=8*Ae,ci(se,de),se}function $A(oe){var te,Ae=[];for(te=0;te<64;te+=4)Ae[te>>2]=oe.charCodeAt(te)+(oe.charCodeAt(te+1)<<8)+(oe.charCodeAt(te+2)<<16)+(oe.charCodeAt(te+3)<<24);return Ae}$a=zA.atob.bind(zA),zo=zA.btoa.bind(zA);var Ea="0123456789abcdef".split("");function La(oe){for(var te="",Ae=0;Ae<4;Ae++)te+=Ea[oe>>8*Ae+4&15]+Ea[oe>>8*Ae&15];return te}function za(oe){return String.fromCharCode((255&oe)>>0,(65280&oe)>>8,(16711680&oe)>>16,(4278190080&oe)>>24)}function Xa(oe){return tr(oe).map(za).join("")}var Qo=function(oe){for(var te=0;te>16)+(te>>16)+(Ae>>16)<<16|65535&Ae}return oe+te&4294967295}function Co(oe,te){var Ae,se,de,ge;if(oe!==Ae){for(var pe=(de=oe,ge=1+(256/oe.length>>0),new Array(ge+1).join(de)),Se=[],Pe=0;Pe<256;Pe++)Se[Pe]=Pe;var Qe=0;for(Pe=0;Pe<256;Pe++){var Te=Se[Pe];Qe=(Qe+Te+pe.charCodeAt(Pe))%256,Se[Pe]=Se[Qe],Se[Qe]=Te}Ae=oe,se=Se}else Se=se;var ze=te.length,Je=0,Ee=0,lt="";for(Pe=0;Pe\x80/\f\xA9\xFEdSiz";var ge=(te+this.padding).substr(0,32),pe=(Ae+this.padding).substr(0,32);this.O=this.processOwnerPassword(ge,pe),this.P=-(1+(255^de)),this.encryptionKey=Xa(ge+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(se)).substr(0,5),this.U=Co(this.encryptionKey,this.padding)}function Ni(oe){if(/[^\u0000-\u00ff]/.test(oe))throw new Error("Invalid PDF Name Object: "+oe+", Only accept ASCII characters.");for(var te="",Ae=oe.length,se=0;se126?te+="#"+("0"+de.toString(16)).slice(-2):te+=oe[se]}return te}function di(oe){if((0,ue.Z)(oe)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var te={};this.subscribe=function(Ae,se,de){if(de=de||!1,typeof Ae!="string"||typeof se!="function"||typeof de!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");te.hasOwnProperty(Ae)||(te[Ae]={});var ge=Math.random().toString(35);return te[Ae][ge]=[se,!!de],ge},this.unsubscribe=function(Ae){for(var se in te)if(te[se][Ae])return delete te[se][Ae],Object.keys(te[se]).length===0&&delete te[se],!0;return!1},this.publish=function(Ae){if(te.hasOwnProperty(Ae)){var se=Array.prototype.slice.call(arguments,1),de=[];for(var ge in te[Ae]){var pe=te[Ae][ge];try{pe[0].apply(oe,se)}catch(Se){zA.console&&Hr.error("jsPDF PubSub Error",Se.message,Se)}pe[1]&&de.push(ge)}de.length&&de.forEach(this.unsubscribe)}},this.getTopics=function(){return te}}function fi(oe){if(!(this instanceof fi))return new fi(oe);var te="opacity,stroke-opacity".split(",");for(var Ae in oe)oe.hasOwnProperty(Ae)&&te.indexOf(Ae)>=0&&(this[Ae]=oe[Ae]);this.id="",this.objectNumber=-1}function Rs(oe,te){this.gState=oe,this.matrix=te,this.id="",this.objectNumber=-1}function eo(oe,te,Ae,se,de){if(!(this instanceof eo))return new eo(oe,te,Ae,se,de);this.type=oe==="axial"?2:3,this.coords=te,this.colors=Ae,Rs.call(this,se,de)}function Io(oe,te,Ae,se,de){if(!(this instanceof Io))return new Io(oe,te,Ae,se,de);this.boundingBox=oe,this.xStep=te,this.yStep=Ae,this.stream="",this.cloneIndex=0,Rs.call(this,se,de)}function ar(oe){var te,Ae=typeof arguments[0]=="string"?arguments[0]:"p",se=arguments[1],de=arguments[2],ge=arguments[3],pe=[],Se=1,Pe=16,Qe="S",Te=null;(0,ue.Z)(oe=oe||{})==="object"&&(Ae=oe.orientation,se=oe.unit||se,de=oe.format||de,ge=oe.compress||oe.compressPdf||ge,(Te=oe.encryption||null)!==null&&(Te.userPassword=Te.userPassword||"",Te.ownerPassword=Te.ownerPassword||"",Te.userPermissions=Te.userPermissions||[]),Se=typeof oe.userUnit=="number"?Math.abs(oe.userUnit):1,oe.precision!==void 0&&(te=oe.precision),oe.floatPrecision!==void 0&&(Pe=oe.floatPrecision),Qe=oe.defaultPathOperation||"S"),pe=oe.filters||(ge===!0?["FlateEncode"]:pe),se=se||"mm",Ae=(""+(Ae||"P")).toLowerCase();var ze=oe.putOnlyUsedFonts||!1,Je={},Ee={internal:{},__private__:{}};Ee.__private__.PubSub=di;var lt="1.3",nt=Ee.__private__.getPdfVersion=function(){return lt};Ee.__private__.setPdfVersion=function(me){lt=me};var mt={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};Ee.__private__.getPageFormats=function(){return mt};var et=Ee.__private__.getPageFormat=function(me){return mt[me]};de=de||"a4";var gt={COMPAT:"compat",ADVANCED:"advanced"},Ht=gt.COMPAT;function sn(){this.saveGraphicsState(),wt(new hr(LA,0,0,-LA,0,ms()*LA).toString()+" cm"),this.setFontSize(this.getFontSize()/LA),Qe="n",Ht=gt.ADVANCED}function bn(){this.restoreGraphicsState(),Qe="S",Ht=gt.COMPAT}var eA=Ee.__private__.combineFontStyleAndFontWeight=function(me,He){if(me=="bold"&&He=="normal"||me=="bold"&&He==400||me=="normal"&&He=="italic"||me=="bold"&&He=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return He&&(me=He==400||He==="normal"?me==="italic"?"italic":"normal":He!=700&&He!=="bold"||me!=="normal"?(He==700?"bold":He)+""+me:"bold"),me};Ee.advancedAPI=function(me){var He=Ht===gt.COMPAT;return He&&sn.call(this),typeof me!="function"||(me(this),He&&bn.call(this)),this},Ee.compatAPI=function(me){var He=Ht===gt.ADVANCED;return He&&bn.call(this),typeof me!="function"||(me(this),He&&sn.call(this)),this},Ee.isAdvancedAPI=function(){return Ht===gt.ADVANCED};var gn,Ct=function(me){if(Ht!==gt.ADVANCED)throw new Error(me+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},zn=Ee.roundToPrecision=Ee.__private__.roundToPrecision=function(me,He){var ut=te||He;if(isNaN(me)||isNaN(ut))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return me.toFixed(ut).replace(/0+$/,"")};gn=Ee.hpf=Ee.__private__.hpf=typeof Pe=="number"?function(me){if(isNaN(me))throw new Error("Invalid argument passed to jsPDF.hpf");return zn(me,Pe)}:Pe==="smart"?function(me){if(isNaN(me))throw new Error("Invalid argument passed to jsPDF.hpf");return zn(me,me>-1&&me<1?16:5)}:function(me){if(isNaN(me))throw new Error("Invalid argument passed to jsPDF.hpf");return zn(me,16)};var Gn=Ee.f2=Ee.__private__.f2=function(me){if(isNaN(me))throw new Error("Invalid argument passed to jsPDF.f2");return zn(me,2)},it=Ee.__private__.f3=function(me){if(isNaN(me))throw new Error("Invalid argument passed to jsPDF.f3");return zn(me,3)},ot=Ee.scale=Ee.__private__.scale=function(me){if(isNaN(me))throw new Error("Invalid argument passed to jsPDF.scale");return Ht===gt.COMPAT?me*LA:Ht===gt.ADVANCED?me:void 0},Dt=function(me){return Ht===gt.COMPAT?ms()-me:Ht===gt.ADVANCED?me:void 0},Lt=function(me){return ot(Dt(me))};Ee.__private__.setPrecision=Ee.setPrecision=function(me){typeof parseInt(me,10)=="number"&&(te=parseInt(me,10))};var xn,Bn="00000000000000000000000000000000",Tn=Ee.__private__.getFileId=function(){return Bn},dn=Ee.__private__.setFileId=function(me){return Bn=me!==void 0&&/^[a-fA-F0-9]{32}$/.test(me)?me.toUpperCase():Bn.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),Te!==null&&(ho=new bo(Te.userPermissions,Te.userPassword,Te.ownerPassword,Bn)),Bn};Ee.setFileId=function(me){return dn(me),this},Ee.getFileId=function(){return Tn()};var Wn=Ee.__private__.convertDateToPDFDate=function(me){var He=me.getTimezoneOffset(),ut=He<0?"+":"-",xt=Math.floor(Math.abs(He/60)),Zt=Math.abs(He%60),Un=[ut,Bt(xt),"'",Bt(Zt),"'"].join("");return["D:",me.getFullYear(),Bt(me.getMonth()+1),Bt(me.getDate()),Bt(me.getHours()),Bt(me.getMinutes()),Bt(me.getSeconds()),Un].join("")},Rn=Ee.__private__.convertPDFDateToDate=function(me){var He=parseInt(me.substr(2,4),10),ut=parseInt(me.substr(6,2),10)-1,xt=parseInt(me.substr(8,2),10),Zt=parseInt(me.substr(10,2),10),Un=parseInt(me.substr(12,2),10),oA=parseInt(me.substr(14,2),10);return new Date(He,ut,xt,Zt,Un,oA,0)},bA=Ee.__private__.setCreationDate=function(me){var He;if(me===void 0&&(me=new Date),me instanceof Date)He=Wn(me);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(me))throw new Error("Invalid argument passed to jsPDF.setCreationDate");He=me}return xn=He},Ge=Ee.__private__.getCreationDate=function(me){var He=xn;return me==="jsDate"&&(He=Rn(xn)),He};Ee.setCreationDate=function(me){return bA(me),this},Ee.getCreationDate=function(me){return Ge(me)};var dt,Bt=Ee.__private__.padd2=function(me){return("0"+parseInt(me)).slice(-2)},jt=Ee.__private__.padd2Hex=function(me){return("00"+(me=me.toString())).substr(me.length)},Yt=0,fn=[],wn=[],Pn=0,vA=[],fA=[],MA=!1,KA=wn,pr=function(){Yt=0,Pn=0,wn=[],fn=[],vA=[],Zi=Ya(),wi=Ya()};Ee.__private__.setCustomOutputDestination=function(me){MA=!0,KA=me};var On=function(me){MA||(KA=me)};Ee.__private__.resetCustomOutputDestination=function(){MA=!1,KA=wn};var wt=Ee.__private__.out=function(me){return me=me.toString(),Pn+=me.length+1,KA.push(me),KA},yr=Ee.__private__.write=function(me){return wt(arguments.length===1?me.toString():Array.prototype.join.call(arguments," "))},Ar=Ee.__private__.getArrayBuffer=function(me){for(var He=me.length,ut=new ArrayBuffer(He),xt=new Uint8Array(ut);He--;)xt[He]=me.charCodeAt(He);return ut},gA=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];Ee.__private__.getStandardFonts=function(){return gA};var yA=oe.fontSize||16;Ee.__private__.setFontSize=Ee.setFontSize=function(me){return yA=Ht===gt.ADVANCED?me/LA:me,this};var DA,EA=Ee.__private__.getFontSize=Ee.getFontSize=function(){return Ht===gt.COMPAT?yA:yA*LA},or=oe.R2L||!1;Ee.__private__.setR2L=Ee.setR2L=function(me){return or=me,this},Ee.__private__.getR2L=Ee.getR2L=function(){return or};var vr,Lr=Ee.__private__.setZoomMode=function(me){var He=[void 0,null,"fullwidth","fullheight","fullpage","original"];if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(me))DA=me;else if(isNaN(me)){if(He.indexOf(me)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+me+'" is not recognized.');DA=me}else DA=parseInt(me,10)};Ee.__private__.getZoomMode=function(){return DA};var Or,Vr=Ee.__private__.setPageMode=function(me){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(me)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+me+'" is not recognized.');vr=me};Ee.__private__.getPageMode=function(){return vr};var sa=Ee.__private__.setLayoutMode=function(me){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(me)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+me+'" is not recognized.');Or=me};Ee.__private__.getLayoutMode=function(){return Or},Ee.__private__.setDisplayMode=Ee.setDisplayMode=function(me,He,ut){return Lr(me),sa(He),Vr(ut),this};var Br={title:"",subject:"",author:"",keywords:"",creator:""};Ee.__private__.getDocumentProperty=function(me){if(Object.keys(Br).indexOf(me)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Br[me]},Ee.__private__.getDocumentProperties=function(){return Br},Ee.__private__.setDocumentProperties=Ee.setProperties=Ee.setDocumentProperties=function(me){for(var He in Br)Br.hasOwnProperty(He)&&me[He]&&(Br[He]=me[He]);return this},Ee.__private__.setDocumentProperty=function(me,He){if(Object.keys(Br).indexOf(me)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Br[me]=He};var Mr,LA,mo,qr,vi,fa={},Ia={},Oi=[],ta={},Bs={},Ta={},Bi={},Xi=null,Ra=0,br=[],na=new di(Ee),ws=oe.hotfixes||[],ao={},Oo={},Hi=[],hr=function me(He,ut,xt,Zt,Un,oA){if(!(this instanceof me))return new me(He,ut,xt,Zt,Un,oA);isNaN(He)&&(He=1),isNaN(ut)&&(ut=0),isNaN(xt)&&(xt=0),isNaN(Zt)&&(Zt=1),isNaN(Un)&&(Un=0),isNaN(oA)&&(oA=0),this._matrix=[He,ut,xt,Zt,Un,oA]};Object.defineProperty(hr.prototype,"sx",{get:function(){return this._matrix[0]},set:function(me){this._matrix[0]=me}}),Object.defineProperty(hr.prototype,"shy",{get:function(){return this._matrix[1]},set:function(me){this._matrix[1]=me}}),Object.defineProperty(hr.prototype,"shx",{get:function(){return this._matrix[2]},set:function(me){this._matrix[2]=me}}),Object.defineProperty(hr.prototype,"sy",{get:function(){return this._matrix[3]},set:function(me){this._matrix[3]=me}}),Object.defineProperty(hr.prototype,"tx",{get:function(){return this._matrix[4]},set:function(me){this._matrix[4]=me}}),Object.defineProperty(hr.prototype,"ty",{get:function(){return this._matrix[5]},set:function(me){this._matrix[5]=me}}),Object.defineProperty(hr.prototype,"a",{get:function(){return this._matrix[0]},set:function(me){this._matrix[0]=me}}),Object.defineProperty(hr.prototype,"b",{get:function(){return this._matrix[1]},set:function(me){this._matrix[1]=me}}),Object.defineProperty(hr.prototype,"c",{get:function(){return this._matrix[2]},set:function(me){this._matrix[2]=me}}),Object.defineProperty(hr.prototype,"d",{get:function(){return this._matrix[3]},set:function(me){this._matrix[3]=me}}),Object.defineProperty(hr.prototype,"e",{get:function(){return this._matrix[4]},set:function(me){this._matrix[4]=me}}),Object.defineProperty(hr.prototype,"f",{get:function(){return this._matrix[5]},set:function(me){this._matrix[5]=me}}),Object.defineProperty(hr.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(hr.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(hr.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(hr.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),hr.prototype.join=function(me){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(gn).join(me)},hr.prototype.multiply=function(me){var He=me.sx*this.sx+me.shy*this.shx,ut=me.sx*this.shy+me.shy*this.sy,xt=me.shx*this.sx+me.sy*this.shx,Zt=me.shx*this.shy+me.sy*this.sy,Un=me.tx*this.sx+me.ty*this.shx+this.tx,oA=me.tx*this.shy+me.ty*this.sy+this.ty;return new hr(He,ut,xt,Zt,Un,oA)},hr.prototype.decompose=function(){var me=this.sx,He=this.shy,ut=this.shx,xt=this.sy,Zt=this.tx,Un=this.ty,oA=Math.sqrt(me*me+He*He),TA=(me/=oA)*ut+(He/=oA)*xt;ut-=me*TA,xt-=He*TA;var lr=Math.sqrt(ut*ut+xt*xt);return TA/=lr,me*(xt/=lr)>16&255,xt=lr>>8&255,Zt=255&lr}if(xt===void 0||Un===void 0&&ut===xt&&xt===Zt)if(typeof ut=="string")He=ut+" "+oA[0];else switch(me.precision){case 2:He=Gn(ut/255)+" "+oA[0];break;case 3:default:He=it(ut/255)+" "+oA[0]}else if(Un===void 0||(0,ue.Z)(Un)==="object"){if(Un&&!isNaN(Un.a)&&Un.a===0)return He=["1.","1.","1.",oA[1]].join(" ");if(typeof ut=="string")He=[ut,xt,Zt,oA[1]].join(" ");else switch(me.precision){case 2:He=[Gn(ut/255),Gn(xt/255),Gn(Zt/255),oA[1]].join(" ");break;default:case 3:He=[it(ut/255),it(xt/255),it(Zt/255),oA[1]].join(" ")}}else if(typeof ut=="string")He=[ut,xt,Zt,Un,oA[2]].join(" ");else switch(me.precision){case 2:He=[Gn(ut),Gn(xt),Gn(Zt),Gn(Un),oA[2]].join(" ");break;case 3:default:He=[it(ut),it(xt),it(Zt),it(Un),oA[2]].join(" ")}return He},Ti=Ee.__private__.getFilters=function(){return pe},oi=Ee.__private__.putStream=function(me){var He=(me=me||{}).data||"",ut=me.filters||Ti(),xt=me.alreadyAppliedFilters||[],Zt=me.addLength1||!1,Un=He.length,oA=me.objectId,TA=function(oo){return oo};if(Te!==null&&oA===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");Te!==null&&(TA=ho.encryptor(oA,0));var lr={};ut===!0&&(ut=["FlateEncode"]);var Cr=me.additionalKeyValues||[],Fr=(lr=ar.API.processDataByFilters!==void 0?ar.API.processDataByFilters(He,ut):{data:He,reverseChain:[]}).reverseChain+(Array.isArray(xt)?xt.join(" "):xt.toString());if(lr.data.length!==0&&(Cr.push({key:"Length",value:lr.data.length}),Zt===!0&&Cr.push({key:"Length1",value:Un})),Fr.length!=0)if(Fr.split("/").length-1==1)Cr.push({key:"Filter",value:Fr});else{Cr.push({key:"Filter",value:"["+Fr+"]"});for(var zr=0;zr>"),lr.data.length!==0&&(wt("stream"),wt(TA(lr.data)),wt("endstream"))},Ri=Ee.__private__.putPage=function(me){var He=me.number,ut=me.data,xt=me.objId,Zt=me.contentsObjId;Yo(xt,!0),wt("<>"),wt("endobj");var Un=ut.join(` `);return Ht===gt.ADVANCED&&(Un+=` Q`),Yo(Zt,!0),oi({data:Un,filters:Ti(),objectId:Zt}),wt("endobj"),xt},Ss=Ee.__private__.putPages=function(){var me,He,ut=[];for(me=1;me<=Ra;me++)br[me].objId=Ya(),br[me].contentsObjId=Ya();for(me=1;me<=Ra;me++)ut.push(Ri({number:me,data:fA[me],objId:br[me].objId,contentsObjId:br[me].contentsObjId,mediaBox:br[me].mediaBox,cropBox:br[me].cropBox,bleedBox:br[me].bleedBox,trimBox:br[me].trimBox,artBox:br[me].artBox,userUnit:br[me].userUnit,rootDictionaryObjId:Zi,resourceDictionaryObjId:wi}));Yo(Zi,!0),wt("<>"),wt("endobj"),na.publish("postPutPages")},Ps=function(me){na.publish("putFont",{font:me,out:wt,newObject:Za,putStream:oi}),me.isAlreadyPutted!==!0&&(me.objectNumber=Za(),wt("<<"),wt("/Type /Font"),wt("/BaseFont /"+Ni(me.postScriptName)),wt("/Subtype /Type1"),typeof me.encoding=="string"&&wt("/Encoding /"+me.encoding),wt("/FirstChar 32"),wt("/LastChar 255"),wt(">>"),wt("endobj"))},Ws=function(){for(var me in fa)fa.hasOwnProperty(me)&&(ze===!1||ze===!0&&Je.hasOwnProperty(me))&&Ps(fa[me])},Vs=function(me){me.objectNumber=Za();var He=[];He.push({key:"Type",value:"/XObject"}),He.push({key:"Subtype",value:"/Form"}),He.push({key:"BBox",value:"["+[gn(me.x),gn(me.y),gn(me.x+me.width),gn(me.y+me.height)].join(" ")+"]"}),He.push({key:"Matrix",value:"["+me.matrix.toString()+"]"});var ut=me.pages[1].join(` `);oi({data:ut,additionalKeyValues:He,objectId:me.objectNumber}),wt("endobj")},Ys=function(){for(var me in ao)ao.hasOwnProperty(me)&&Vs(ao[me])},$l=function(me,He){var ut,xt=[],Zt=1/(He-1);for(ut=0;ut<1;ut+=Zt)xt.push(ut);if(xt.push(1),me[0].offset!=0){var Un={offset:0,color:me[0].color};me.unshift(Un)}if(me[me.length-1].offset!=1){var oA={offset:1,color:me[me.length-1].color};me.push(oA)}for(var TA="",lr=0,Cr=0;Crme[lr+1].offset;)lr++;var Fr=me[lr].offset,zr=(ut-Fr)/(me[lr+1].offset-Fr),Na=me[lr].color,Da=me[lr+1].color;TA+=jt(Math.round((1-zr)*Na[0]+zr*Da[0]).toString(16))+jt(Math.round((1-zr)*Na[1]+zr*Da[1]).toString(16))+jt(Math.round((1-zr)*Na[2]+zr*Da[2]).toString(16))}return TA.trim()},jg=function(me,He){He||(He=21);var ut=Za(),xt=$l(me.colors,He),Zt=[];Zt.push({key:"FunctionType",value:"0"}),Zt.push({key:"Domain",value:"[0.0 1.0]"}),Zt.push({key:"Size",value:"["+He+"]"}),Zt.push({key:"BitsPerSample",value:"8"}),Zt.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Zt.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),oi({data:xt,additionalKeyValues:Zt,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:ut}),wt("endobj"),me.objectNumber=Za(),wt("<< /ShadingType "+me.type),wt("/ColorSpace /DeviceRGB");var Un="/Coords ["+gn(parseFloat(me.coords[0]))+" "+gn(parseFloat(me.coords[1]))+" ";me.type===2?Un+=gn(parseFloat(me.coords[2]))+" "+gn(parseFloat(me.coords[3])):Un+=gn(parseFloat(me.coords[2]))+" "+gn(parseFloat(me.coords[3]))+" "+gn(parseFloat(me.coords[4]))+" "+gn(parseFloat(me.coords[5])),wt(Un+="]"),me.matrix&&wt("/Matrix ["+me.matrix.toString()+"]"),wt("/Function "+ut+" 0 R"),wt("/Extend [true true]"),wt(">>"),wt("endobj")},Og=function(me,He){var ut=Ya(),xt=Za();He.push({resourcesOid:ut,objectOid:xt}),me.objectNumber=xt;var Zt=[];Zt.push({key:"Type",value:"/Pattern"}),Zt.push({key:"PatternType",value:"1"}),Zt.push({key:"PaintType",value:"1"}),Zt.push({key:"TilingType",value:"1"}),Zt.push({key:"BBox",value:"["+me.boundingBox.map(gn).join(" ")+"]"}),Zt.push({key:"XStep",value:gn(me.xStep)}),Zt.push({key:"YStep",value:gn(me.yStep)}),Zt.push({key:"Resources",value:ut+" 0 R"}),me.matrix&&Zt.push({key:"Matrix",value:"["+me.matrix.toString()+"]"}),oi({data:me.stream,additionalKeyValues:Zt,objectId:me.objectNumber}),wt("endobj")},ys=function(me){var He;for(He in ta)ta.hasOwnProperty(He)&&(ta[He]instanceof eo?jg(ta[He]):ta[He]instanceof Io&&Og(ta[He],me))},jA=function(me){for(var He in me.objectNumber=Za(),wt("<<"),me)switch(He){case"opacity":wt("/ca "+Gn(me[He]));break;case"stroke-opacity":wt("/CA "+Gn(me[He]))}wt(">>"),wt("endobj")},Hg=function(){var me;for(me in Ta)Ta.hasOwnProperty(me)&&jA(Ta[me])},Ll=function(){for(var me in wt("/XObject <<"),ao)ao.hasOwnProperty(me)&&ao[me].objectNumber>=0&&wt("/"+me+" "+ao[me].objectNumber+" 0 R");na.publish("putXobjectDict"),wt(">>")},xl=function(){ho.oid=Za(),wt("<<"),wt("/Filter /Standard"),wt("/V "+ho.v),wt("/R "+ho.r),wt("/U <"+ho.toHexString(ho.U)+">"),wt("/O <"+ho.toHexString(ho.O)+">"),wt("/P "+ho.P),wt(">>"),wt("endobj")},Jo=function(){for(var me in wt("/Font <<"),fa)fa.hasOwnProperty(me)&&(ze===!1||ze===!0&&Je.hasOwnProperty(me))&&wt("/"+me+" "+fa[me].objectNumber+" 0 R");wt(">>")},Mg=function(){if(Object.keys(ta).length>0){for(var me in wt("/Shading <<"),ta)ta.hasOwnProperty(me)&&ta[me]instanceof eo&&ta[me].objectNumber>=0&&wt("/"+me+" "+ta[me].objectNumber+" 0 R");na.publish("putShadingPatternDict"),wt(">>")}},Cs=function(me){if(Object.keys(ta).length>0){for(var He in wt("/Pattern <<"),ta)ta.hasOwnProperty(He)&&ta[He]instanceof Ee.TilingPattern&&ta[He].objectNumber>=0&&ta[He].objectNumber>")}},bs=function(){if(Object.keys(Ta).length>0){var me;for(me in wt("/ExtGState <<"),Ta)Ta.hasOwnProperty(me)&&Ta[me].objectNumber>=0&&wt("/"+me+" "+Ta[me].objectNumber+" 0 R");na.publish("putGStateDict"),wt(">>")}},Ua=function(me){Yo(me.resourcesOid,!0),wt("<<"),wt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),Jo(),Mg(),Cs(me.objectOid),bs(),Ll(),wt(">>"),wt("endobj")},eg=function(){var me=[];Ws(),Hg(),Ys(),ys(me),na.publish("putResources"),me.forEach(Ua),Ua({resourcesOid:wi,objectOid:Number.MAX_SAFE_INTEGER}),na.publish("postPutResources")},tg=function(){na.publish("putAdditionalObjects");for(var me=0;me>8&&(lr=!0);me=TA.join("")}for(ut=me.length;lr===void 0&&ut!==0;)me.charCodeAt(ut-1)>>8&&(lr=!0),ut--;if(!lr)return me;for(TA=He.noBOM?[]:[254,255],ut=0,xt=me.length;ut>8)>>8)throw new Error("Character at position "+ut+" of string '"+me+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");TA.push(Fr),TA.push(Cr-(Fr<<8))}return String.fromCharCode.apply(void 0,TA)},Lo=Ee.__private__.pdfEscape=Ee.pdfEscape=function(me,He){return Js(me,He).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Il=Ee.__private__.beginPage=function(me){fA[++Ra]=[],br[Ra]={objId:0,contentsObjId:0,userUnit:Number(Se),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(me[0]),topRightY:Number(me[1])}},Ag(Ra),On(fA[dt])},Xs=function(me,He){var ut,xt,Zt;switch(Ae=He||Ae,typeof me=="string"&&(ut=et(me.toLowerCase()),Array.isArray(ut)&&(xt=ut[0],Zt=ut[1])),Array.isArray(me)&&(xt=me[0]*LA,Zt=me[1]*LA),isNaN(xt)&&(xt=de[0],Zt=de[1]),(xt>14400||Zt>14400)&&(Hr.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),xt=Math.min(14400,xt),Zt=Math.min(14400,Zt)),de=[xt,Zt],Ae.substr(0,1)){case"l":Zt>xt&&(de=[Zt,xt]);break;case"p":xt>Zt&&(de=[Zt,xt])}Il(de),cg(po),wt(Ci),es!==0&&wt(es+" J"),Hl!==0&&wt(Hl+" j"),na.publish("addPage",{pageNumber:Ra})},Tg=function(me){me>0&&me<=Ra&&(fA.splice(me,1),br.splice(me,1),Ra--,dt>Ra&&(dt=Ra),this.setPage(dt))},Ag=function(me){me>0&&me<=Ra&&(dt=me)},Rg=Ee.__private__.getNumberOfPages=Ee.getNumberOfPages=function(){return fA.length-1},rg=function(me,He,ut){var xt,Zt=void 0;return ut=ut||{},me=me!==void 0?me:fa[Mr].fontName,He=He!==void 0?He:fa[Mr].fontStyle,xt=me.toLowerCase(),Ia[xt]!==void 0&&Ia[xt][He]!==void 0?Zt=Ia[xt][He]:Ia[me]!==void 0&&Ia[me][He]!==void 0?Zt=Ia[me][He]:ut.disableWarning===!1&&Hr.warn("Unable to look up font label for font '"+me+"', '"+He+"'. Refer to getFontList() for available fonts."),Zt||ut.noFallback||(Zt=Ia.times[He])==null&&(Zt=Ia.times.normal),Zt},kg=Ee.__private__.putInfo=function(){var me=Za(),He=function(xt){return xt};for(var ut in Te!==null&&(He=ho.encryptor(me,0)),wt("<<"),wt("/Producer ("+Lo(He("jsPDF "+ar.version))+")"),Br)Br.hasOwnProperty(ut)&&Br[ut]&&wt("/"+ut.substr(0,1).toUpperCase()+ut.substr(1)+" ("+Lo(He(Br[ut]))+")");wt("/CreationDate ("+Lo(He(xn))+")"),wt(">>"),wt("endobj")},Ul=Ee.__private__.putCatalog=function(me){var He=(me=me||{}).rootDictionaryObjId||Zi;switch(Za(),wt("<<"),wt("/Type /Catalog"),wt("/Pages "+He+" 0 R"),DA||(DA="fullwidth"),DA){case"fullwidth":wt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":wt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":wt("/OpenAction [3 0 R /Fit]");break;case"original":wt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var ut=""+DA;ut.substr(ut.length-1)==="%"&&(DA=parseInt(DA)/100),typeof DA=="number"&&wt("/OpenAction [3 0 R /XYZ null null "+Gn(DA)+"]")}switch(Or||(Or="continuous"),Or){case"continuous":wt("/PageLayout /OneColumn");break;case"single":wt("/PageLayout /SinglePage");break;case"two":case"twoleft":wt("/PageLayout /TwoColumnLeft");break;case"tworight":wt("/PageLayout /TwoColumnRight")}vr&&wt("/PageMode /"+vr),na.publish("putCatalog"),wt(">>"),wt("endobj")},Gg=Ee.__private__.putTrailer=function(){wt("trailer"),wt("<<"),wt("/Size "+(Yt+1)),wt("/Root "+Yt+" 0 R"),wt("/Info "+(Yt-1)+" 0 R"),Te!==null&&wt("/Encrypt "+ho.oid+" 0 R"),wt("/ID [ <"+Bn+"> <"+Bn+"> ]"),wt(">>")},Kg=Ee.__private__.putHeader=function(){wt("%PDF-"+lt),wt("%\xBA\xDF\xAC\xE0")},ag=Ee.__private__.putXRef=function(){var me="0000000000";wt("xref"),wt("0 "+(Yt+1)),wt("0000000000 65535 f ");for(var He=1;He<=Yt;He++)typeof fn[He]=="function"?wt((me+fn[He]()).slice(-10)+" 00000 n "):fn[He]!==void 0?wt((me+fn[He]).slice(-10)+" 00000 n "):wt("0000000000 00000 n ")},qi=Ee.__private__.buildDocument=function(){pr(),On(wn),na.publish("buildDocument"),Kg(),Ss(),tg(),eg(),Te!==null&&xl(),kg(),Ul();var me=Pn;return ag(),Gg(),wt("startxref"),wt(""+me),wt("%%EOF"),On(fA[dt]),wn.join(` `)},Zs=Ee.__private__.getBlob=function(me){return new Blob([Ar(me)],{type:"application/pdf"})},qs=Ee.output=Ee.__private__.output=Xo(function(me,He){switch(typeof(He=He||{})=="string"?He={filename:He}:He.filename=He.filename||"generated.pdf",me){case void 0:return qi();case"save":Ee.save(He.filename);break;case"arraybuffer":return Ar(qi());case"blob":return Zs(qi());case"bloburi":case"bloburl":if(zA.URL!==void 0&&typeof zA.URL.createObjectURL=="function")return zA.URL&&zA.URL.createObjectURL(Zs(qi()))||void 0;Hr.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var ut="",xt=qi();try{ut=zo(xt)}catch(Da){ut=zo(unescape(encodeURIComponent(xt)))}return"data:application/pdf;filename="+He.filename+";base64,"+ut;case"pdfobjectnewwindow":if(Object.prototype.toString.call(zA)==="[object Window]"){var Zt="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Un=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';He.pdfObjectUrl&&(Zt=He.pdfObjectUrl,Un="");var oA='