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

349 lines
996 KiB

(self.webpackChunk=self.webpackChunk||[]).push([[5807],{33463:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Ie={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"outlined"},Ze=Ie,Me=ee(74643),ze=function(je,He){return me.createElement(Me.Z,(0,ae.Z)({},je,{ref:He,icon:Ze}))},se=me.forwardRef(ze)},28575:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Ie={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z"}}]},name:"caret-up",theme:"outlined"},Ze=Ie,Me=ee(74643),ze=function(je,He){return me.createElement(Me.Z,(0,ae.Z)({},je,{ref:He,icon:Ze}))},se=me.forwardRef(ze)},84249:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Ze=Ie,Me=ee(74643),ze=function(je,He){return me.createElement(Me.Z,(0,ae.Z)({},je,{ref:He,icon:Ze}))},se=me.forwardRef(ze)},81893:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"},Ze=Ie,Me=ee(74643),ze=function(je,He){return me.createElement(Me.Z,(0,ae.Z)({},je,{ref:He,icon:Ze}))},se=me.forwardRef(ze)},90674:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"},Ze=Ie,Me=ee(74643),ze=function(je,He){return me.createElement(Me.Z,(0,ae.Z)({},je,{ref:He,icon:Ze}))},se=me.forwardRef(ze)},73148:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"},Ze=Ie,Me=ee(74643),ze=function(je,He){return me.createElement(Me.Z,(0,ae.Z)({},je,{ref:He,icon:Ze}))},se=me.forwardRef(ze)},56747:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z"}}]},name:"folder-open",theme:"outlined"},Ze=Ie,Me=ee(74643),ze=function(je,He){return me.createElement(Me.Z,(0,ae.Z)({},je,{ref:He,icon:Ze}))},se=me.forwardRef(ze)},50881:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z"}}]},name:"holder",theme:"outlined"},Ze=Ie,Me=ee(74643),ze=function(je,He){return me.createElement(Me.Z,(0,ae.Z)({},je,{ref:He,icon:Ze}))},se=me.forwardRef(ze)},22751:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Ie={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"},Ze=Ie,Me=ee(74643),ze=function(je,He){return me.createElement(Me.Z,(0,ae.Z)({},je,{ref:He,icon:Ze}))},se=me.forwardRef(ze)},34182:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"minus-square",theme:"outlined"},Ze=Ie,Me=ee(74643),ze=function(je,He){return me.createElement(Me.Z,(0,ae.Z)({},je,{ref:He,icon:Ze}))},se=me.forwardRef(ze)},74664:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z"}},{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z"}}]},name:"plus-square",theme:"outlined"},Ze=Ie,Me=ee(74643),ze=function(je,He){return me.createElement(Me.Z,(0,ae.Z)({},je,{ref:He,icon:Ze}))},se=me.forwardRef(ze)},91034:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return se}});var ae=ee(87462),me=ee(67294),Ie={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"},Ze=Ie,Me=ee(74643),ze=function(je,He){return me.createElement(Me.Z,(0,ae.Z)({},je,{ref:He,icon:Ze}))},se=me.forwardRef(ze)},71736:function(ht,wt){"use strict";wt.Z={lists:"lists___xhHyq",item:"item___pWJAA",children:"children___sDG61",diamond:"diamond___FwgzD",button:"button___WPN6r",mathWrap:"mathWrap___FmnMJ",mathFillWrap:"mathFillWrap___PmY3H"}},18023:function(){"use strict";function ht(ce,y,a,x){a===void 0&&(a=0),x===void 0&&(x=1/0),this._name=ce,this._defaultValue=y,this._minimum=a,this._maximum=x}Object.defineProperty(ht.prototype,"name",{get:function(){return this._name},set:function(ce){if(typeof ce!="string"||ce==="")throw new Error("Shape name must be a valid string.");this._name=ce}}),Object.defineProperty(ht.prototype,"defaultValue",{get:function(){return this._defaultValue},set:function(ce){if(typeof ce!="number"||isNaN(ce))throw new Error("The default value must be a real number, not: "+ce);this._defaultValue=ce}}),Object.defineProperty(ht.prototype,"minimum",{get:function(){return this._minimum},set:function(ce){if(typeof ce!="number"||isNaN(ce))throw new Error("Minimum must be a real number, not: "+ce);this._minimum=ce}}),Object.defineProperty(ht.prototype,"maximum",{get:function(){return this._maximum},set:function(ce){if(typeof ce!="number"||isNaN(ce))throw new Error("Maximum must be a real number, not: "+ce);this._maximum=ce}}),go.Shape._FigureParameters={},go.Shape.getFigureParameter=function(ce,y){var a=go.Shape._FigureParameters[ce];return a?a[y]:null},go.Shape.setFigureParameter=function(ce,y,a){if(!(a instanceof ht))throw new Error("Third argument to Shape.setFigureParameter is not FigureParameter: "+a);if(a.defaultValue<a.minimum||a.defaultValue>a.maximum)throw new Error("defaultValue must be between minimum and maximum, not: "+a.defaultValue);var x=go.Shape._FigureParameters[ce];x||(x=[],go.Shape._FigureParameters[ce]=x),x[y]=a};var wt=[];function ee(ce,y){var a=wt.pop();return a===void 0?new go.Point(ce,y):(a.x=ce,a.y=y,a)}function ae(){var ce=wt.pop();return ce===void 0?new go.Point:ce}function me(ce){wt.push(ce)}function Ie(ce,y,a,x,b,E,z,re,oe){oe||(oe=new go.Point);var ne=ce-a,ge=b-z,pe=NaN,Le=NaN;if(ne===0)if(ge===0)ce===a&&(pe=ce,Le=y);else{var be=(E-re)/ge,xe=E-be*b;pe=ce,Le=be*pe+xe}else if(ge===0){var Se=(y-x)/ne,ft=y-Se*ce;pe=b,Le=Se*pe+ft}else{var Se=(y-x)/ne,be=(E-re)/ge,ft=y-Se*ce,xe=E-be*b;pe=(xe-ft)/(Se-be),Le=Se*pe+ft}return oe.x=pe,oe.y=Le,oe}function Ze(ce,y,a,x,b,E,z,re,oe,ne,ge,pe,Le,be){var xe=1-oe,Se=oe,ft=ce*xe+a*Se,Ye=y*xe+x*Se,Zt=a*xe+b*Se,qe=x*xe+E*Se,ct=b*xe+z*Se,zt=E*xe+re*Se,en=ft*xe+Zt*Se,Mt=Ye*xe+qe*Se,lt=Zt*xe+ct*Se,xt=qe*xe+zt*Se,nn=en*xe+lt*Se,vn=Mt*xe+xt*Se;ne.x=ft,ne.y=Ye,ge.x=en,ge.y=Mt,pe.x=nn,pe.y=vn,Le.x=lt,Le.y=xt,be.x=ct,be.y=zt}var Me=new go.Spot(.156,.156),ze=new go.Spot(.844,.844),se=4*((Math.sqrt(2)-1)/3);go.Shape.setFigureParameter("RoundedRectangle",0,new ht("CornerRounding",5)),go.Shape.defineFigureGenerator("RoundedRectangle",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=5),x=Math.min(x,y/3),x=Math.min(x,a/3);var b=x*se,E=new go.Geometry().add(new go.PathFigure(x,0,!0).add(new go.PathSegment(go.PathSegment.Line,y-x,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-b,0,y,b)).add(new go.PathSegment(go.PathSegment.Line,y,a-x)).add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,a-b,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,x,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,b,a,0,a-b)).add(new go.PathSegment(go.PathSegment.Line,0,x)).add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()));return b>1&&(E.spot1=new go.Spot(0,0,b,b),E.spot2=new go.Spot(1,1,-b,-b)),E}),go.Shape.defineFigureGenerator("Border","RoundedRectangle"),go.Shape.defineFigureGenerator("TriangleRight",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.25,.5,.75)}),go.Shape.defineFigureGenerator("TriangleDown",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close())).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("TriangleLeft",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,0).close())).setSpots(.5,.25,1,.75)}),go.Shape.defineFigureGenerator("TriangleUp",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(y,a).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close())).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("Triangle","TriangleUp"),go.Shape.defineFigureGenerator("Diamond",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close())).setSpots(.25,.25,.75,.75)}),go.Shape.defineFigureGenerator("LineH",function(ce,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=a/2,x.endX=y,x.endY=a/2,x}),go.Shape.defineFigureGenerator("LineV",function(ce,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=y/2,x.startY=0,x.endX=y/2,x.endY=a,x}),go.Shape.defineFigureGenerator("BarH","Rectangle"),go.Shape.defineFigureGenerator("BarV","Rectangle"),go.Shape.defineFigureGenerator("MinusLine","LineH"),go.Shape.defineFigureGenerator("PlusLine",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,a/2,!1).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("XLine",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LineRight",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.25*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)))}),go.Shape.defineFigureGenerator("LineDown",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,.25*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Line,y,.25*a)))}),go.Shape.defineFigureGenerator("LineLeft",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.75*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,a)))}),go.Shape.defineFigureGenerator("LineUp",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,.75*a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,y,.75*a)))}),go.Shape.defineFigureGenerator("AsteriskLine",function(ce,y,a){var x=.2/Math.SQRT2;return new go.Geometry().add(new go.PathFigure(x*y,(1-x)*a,!1).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,x*a)).add(new go.PathSegment(go.PathSegment.Move,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Move,0,a/2)).add(new go.PathSegment(go.PathSegment.Line,y,a/2)).add(new go.PathSegment(go.PathSegment.Move,y/2,0)).add(new go.PathSegment(go.PathSegment.Line,y/2,a)))}),go.Shape.defineFigureGenerator("CircleLine",function(ce,y,a){var x=y/2,b=new go.Geometry().add(new go.PathFigure(y,y/2,!1).add(new go.PathSegment(go.PathSegment.Arc,0,360,x,x,x,x).close()));return b.spot1=Me,b.spot2=ze,b.defaultStretch=go.GraphObject.Uniform,b}),go.Shape.defineFigureGenerator("Line1",function(ce,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=0,x.startY=0,x.endX=y,x.endY=a,x}),go.Shape.defineFigureGenerator("Line2",function(ce,y,a){var x=new go.Geometry(go.Geometry.Line);return x.startX=y,x.startY=0,x.endX=0,x.endY=a,x}),go.Shape.defineFigureGenerator("Curve1",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,se*y,0,y,(1-se)*a)))}),go.Shape.defineFigureGenerator("Curve2",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,y,a,0,se*a,(1-se)*y,a)))}),go.Shape.defineFigureGenerator("Curve3",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,se*a,se*y,a)))}),go.Shape.defineFigureGenerator("Curve4",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Bezier,0,a,(1-se)*y,0,0,(1-se)*a)))}),go.Shape.defineFigureGenerator("TriangleDownLeft",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,.5,.5,1)}),go.Shape.defineFigureGenerator("TriangleDownRight",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(y,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(.5,.5,1,1)}),go.Shape.defineFigureGenerator("TriangleUpLeft",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())).setSpots(0,0,.5,.5)}),go.Shape.defineFigureGenerator("TriangleUpRight",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a).close())).setSpots(.5,0,1,.5)}),go.Shape.defineFigureGenerator("RightTriangle","TriangleDownLeft"),go.Shape.setFigureParameter("Parallelogram1",0,new ht("Indent",.1,-.99,.99)),go.Shape.defineFigureGenerator("Parallelogram1",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)?x=.1:x<-1?x=-1:x>1&&(x=1);var b=Math.abs(x)*y;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.defineFigureGenerator("Parallelogram","Parallelogram1"),go.Shape.setFigureParameter("Parallelogram2",0,new ht("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("Parallelogram2",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)?x=10:x<-y?x=-y:x>y&&(x=y);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.setFigureParameter("Trapezoid1",0,new ht("Indent",.2,-.99,.99)),go.Shape.defineFigureGenerator("Trapezoid1",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)?x=.2:x<.5?x=-.5:x>.5&&(x=.5);var b=Math.abs(x)*y;if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.defineFigureGenerator("Trapezoid","Trapezoid1"),go.Shape.setFigureParameter("Trapezoid2",0,new ht("Indent",20,-1/0,1/0)),go.Shape.defineFigureGenerator("Trapezoid2",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)?x=20:x<-y?x=-y/2:x>y&&(x=y/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())):E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}}),go.Shape.setFigureParameter("ManualOperation",0,new ht("Indent",10,-1/0,1/0)),go.Shape.defineFigureGenerator("ManualOperation",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)?x=10:x<-y?x=-y/2:x>y&&(x=y/2);var b=Math.abs(x);if(x===0){var E=new go.Geometry(go.Geometry.Rectangle);return E.startX=0,E.startY=0,E.endX=y,E.endY=a,E}else{var E=new go.Geometry;return x>0?E.add(new go.PathFigure(0,0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y-b,a)).add(new go.PathSegment(go.PathSegment.Line,b,a).close())):E.add(new go.PathFigure(b,0).add(new go.PathSegment(go.PathSegment.Line,y-b,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close())),b<y/2&&E.setSpots(b/y,0,(y-b)/y,1),E}});var Te=[];function je(){var ce=Te.pop();return ce===void 0?[]:ce}function He(ce){ce.length=0,Te.push(ce)}function _e(ce){for(var y=je(),a=.5,x=.5,b=Math.PI*1.5,E=0,z=0;z<ce;z++)E=2*Math.PI/ce*z+b,y[z]=new go.Point(x+a*Math.cos(E),x+a*Math.sin(E));return y.push(y[0]),y}function $e(ce){var y=we(ce),a=je();a[0]=y[0];for(var x=1,b=1;x<y.length;x+=2,b+=3)a[b]=y[x],a[b+1]=y[x],a[b+2]=y[x+1];return He(y),a}function we(ce){for(var y=_e(ce),a=je(),x=Math.floor(y.length/2),b=y.length-1,E=ce%2===0?2:1,z=0;z<b;z++){var re=y[z],oe=y[z+1],ne=y[(x+z-1)%b],ge=y[(x+z+E)%b];a[z*2]=re,a[z*2+1]=Ie(re.x,re.y,ne.x,ne.y,oe.x,oe.y,ge.x,ge.y,new go.Point)}return a[a.length]=a[0],He(y),a}go.Shape.defineFigureGenerator("Pentagon",function(ce,y,a){var x=_e(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<5;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.2,.22),b.spot2=new go.Spot(.8,.9),b}),go.Shape.defineFigureGenerator("Hexagon",function(ce,y,a){var x=_e(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<6;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.07,.25),b.spot2=new go.Spot(.93,.75),b}),go.Shape.defineFigureGenerator("Heptagon",function(ce,y,a){var x=_e(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<7;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.2,.15),b.spot2=new go.Spot(.8,.85),b}),go.Shape.defineFigureGenerator("Octagon",function(ce,y,a){var x=_e(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<8;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.15,.15),b.spot2=new go.Spot(.85,.85),b}),go.Shape.defineFigureGenerator("Nonagon",function(ce,y,a){var x=_e(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<9;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.17,.13),b.spot2=new go.Spot(.82,.82),b}),go.Shape.defineFigureGenerator("Decagon",function(ce,y,a){var x=_e(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("Dodecagon",function(ce,y,a){var x=_e(12),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.16,.16),b.spot2=new go.Spot(.84,.84),b}),go.Shape.defineFigureGenerator("FivePointedStar",function(ce,y,a){var x=we(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<10;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.266,.333),b.spot2=new go.Spot(.733,.733),b}),go.Shape.defineFigureGenerator("SixPointedStar",function(ce,y,a){var x=we(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<12;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.17,.25),b.spot2=new go.Spot(.83,.75),b}),go.Shape.defineFigureGenerator("SevenPointedStar",function(ce,y,a){var x=we(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<14;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("EightPointedStar",function(ce,y,a){var x=we(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<16;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.25,.25),b.spot2=new go.Spot(.75,.75),b}),go.Shape.defineFigureGenerator("NinePointedStar",function(ce,y,a){var x=we(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<18;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.666),b}),go.Shape.defineFigureGenerator("TenPointedStar",function(ce,y,a){var x=we(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<20;z++)E.add(new go.PathSegment(go.PathSegment.Line,x[z].x*y,x[z].y*a));return E.add(new go.PathSegment(go.PathSegment.Line,x[0].x*y,x[0].y*a).close()),He(x),b.spot1=new go.Spot(.281,.261),b.spot2=new go.Spot(.723,.748),b}),go.Shape.defineFigureGenerator("FivePointedBurst",function(ce,y,a){var x=$e(5),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.277),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("SixPointedBurst",function(ce,y,a){var x=$e(6),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.17,.222),b.spot2=new go.Spot(.833,.777),b}),go.Shape.defineFigureGenerator("SevenPointedBurst",function(ce,y,a){var x=$e(7),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("EightPointedBurst",function(ce,y,a){var x=$e(8),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("NinePointedBurst",function(ce,y,a){var x=$e(9),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.defineFigureGenerator("TenPointedBurst",function(ce,y,a){var x=$e(10),b=new go.Geometry,E=new go.PathFigure(x[0].x*y,x[0].y*a,!0);b.add(E);for(var z=1;z<x.length;z+=3)E.add(new go.PathSegment(go.PathSegment.Bezier,x[z+2].x*y,x[z+2].y*a,x[z].x*y,x[z].y*a,x[z+1].x*y,x[z+1].y*a));return E.segments.last().close(),He(x),b.spot1=new go.Spot(.222,.222),b.spot2=new go.Spot(.777,.777),b}),go.Shape.setFigureParameter("FramedRectangle",0,new ht("ThicknessX",8)),go.Shape.setFigureParameter("FramedRectangle",1,new ht("ThicknessY",8)),go.Shape.defineFigureGenerator("FramedRectangle",function(ce,y,a){var x=ce?ce.parameter1:NaN,b=ce?ce.parameter2:NaN;isNaN(x)&&(x=8),isNaN(b)&&(b=8);var E=new go.Geometry,z=new go.PathFigure(0,0,!0);return E.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x<y/2&&b<a/2&&(z.add(new go.PathSegment(go.PathSegment.Move,x,b)),z.add(new go.PathSegment(go.PathSegment.Line,x,a-b)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,a-b)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,b).close())),E.setSpots(0,0,1,1,x,b,-x,-b),E}),go.Shape.setFigureParameter("Ring",0,new ht("Thickness",8)),go.Shape.defineFigureGenerator("Ring",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=8);var b=y/2,E=new go.Geometry,z=new go.PathFigure(y,y/2,!0);E.add(z),z.add(new go.PathSegment(go.PathSegment.Arc,0,360,b,b,b,b).close());var re=Math.max(b-x,0);return re>0&&(z.add(new go.PathSegment(go.PathSegment.Move,y/2+re,y/2)),z.add(new go.PathSegment(go.PathSegment.Arc,0,-360,b,b,re,re).close())),E.spot1=Me,E.spot2=ze,E.defaultStretch=go.GraphObject.Uniform,E}),go.Shape.defineFigureGenerator("Cloud",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.08034461*y,.1944299*a,!0).add(new go.PathSegment(go.PathSegment.Bezier,.2008615*y,.05349299*a,-.09239631*y,.07836421*a,.1406031*y,-.0542823*a)).add(new go.PathSegment(go.PathSegment.Bezier,.4338609*y,.074219*a,.2450511*y,-.00697547*a,.3776197*y,-.01112067*a)).add(new go.PathSegment(go.PathSegment.Bezier,.6558228*y,.07004196*a,.4539471*y,0,.6066018*y,-.02526587*a)).add(new go.PathSegment(go.PathSegment.Bezier,.8921095*y,.08370865*a,.6914277*y,-.01904177*a,.8921095*y,-.01220843*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9147671*y,.3194596*a,1.036446*y,.04105738*a,1.020377*y,.3022052*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9082935*y,.562044*a,1.04448*y,.360238*a,.992256*y,.5219009*a)).add(new go.PathSegment(go.PathSegment.Bezier,.9212406*y,.8217117*a,1.032337*y,.5771781*a,1.018411*y,.8120651*a)).add(new go.PathSegment(go.PathSegment.Bezier,.7592566*y,.9156953*a,1.028411*y,.9571472*a,.8556702*y,1.052487*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5101666*y,.9310455*a,.7431877*y,1.009325*a,.5624123*y,1.021761*a)).add(new go.PathSegment(go.PathSegment.Bezier,.2609328*y,.9344623*a,.4820677*y,1.031761*a,.3030112*y,1.002796*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.870098*a,.2329994*y,1.01518*a,.03213784*y,1.01518*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06829292*y,.6545475*a,-.02812061*y,.9032597*a,-.01205169*y,.6835638*a)).add(new go.PathSegment(go.PathSegment.Bezier,.06427569*y,.4265613*a,-.01812061*y,.6089503*a,-.00606892*y,.4555777*a)).add(new go.PathSegment(go.PathSegment.Bezier,.08034461*y,.1944299*a,-.01606892*y,.3892545*a,-.01205169*y,.1944299*a))).setSpots(.1,.1,.9,.9)}),go.Shape.defineFigureGenerator("StopSign",function(ce,y,a){var x=1/(Math.SQRT2+2);return new go.Geometry().add(new go.PathFigure(x*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,x*a)).add(new go.PathSegment(go.PathSegment.Line,y,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Line,x*y,a)).add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,x*a).close())).setSpots(x/2,x/2,1-x/2,1-x/2)}),go.Shape.setFigureParameter("Pie",0,new ht("Start",0,-360,360)),go.Shape.setFigureParameter("Pie",1,new ht("Sweep",315,-360,360)),go.Shape.defineFigureGenerator("Pie",function(ce,y,a){var x=ce?ce.parameter1:NaN,b=ce?ce.parameter2:NaN;isNaN(x)&&(x=0),isNaN(b)&&(b=315);var E=x%360;E<0&&(E+=360);var z=b%360,re=Math.min(y,a)/2;return new go.Geometry().add(new go.PathFigure(re,re).add(new go.PathSegment(go.PathSegment.Arc,E,z,re,re,re,re).close()))}),go.Shape.defineFigureGenerator("PiePiece",function(ce,y,a){var x=se/Math.SQRT2*.5,b=Math.SQRT2/2,E=1-Math.SQRT2/2;return new go.Geometry().add(new go.PathFigure(y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,b*y,E*a,y,(1-x)*a,(b+x)*y,(E+x)*a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()))}),go.Shape.setFigureParameter("ThickCross",0,new ht("Thickness",30)),go.Shape.defineFigureGenerator("ThickCross",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=30);var b=Math.min(x,y)/2,E=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThinCross",0,new ht("Thickness",10)),go.Shape.defineFigureGenerator("ThinCross",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=Math.min(x,y)/2,E=y/2,z=a/2;return new go.Geometry().add(new go.PathFigure(E-b,0,!0).add(new go.PathSegment(go.PathSegment.Line,E+b,0)).add(new go.PathSegment(go.PathSegment.Line,E+b,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z-b)).add(new go.PathSegment(go.PathSegment.Line,y,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,z+b)).add(new go.PathSegment(go.PathSegment.Line,E+b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,a)).add(new go.PathSegment(go.PathSegment.Line,E-b,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z+b)).add(new go.PathSegment(go.PathSegment.Line,0,z-b)).add(new go.PathSegment(go.PathSegment.Line,E-b,z-b).close()))}),go.Shape.setFigureParameter("ThickX",0,new ht("Thickness",30)),go.Shape.defineFigureGenerator("ThickX",function(ce,y,a){var x=ce?ce.parameter1:NaN;if((isNaN(x)||x<0)&&(x=30),y===0||a===0){var b=new go.Geometry(go.Geometry.Rectangle);return b.startX=0,b.startY=0,b.endX=y,b.endY=a,b}else{var E=y/2,z=a/2,re=Math.atan2(a,y),oe=x-Math.min(Math.cos(re)*x/2,E),ne=x-Math.min(Math.sin(re)*x/2,z),b=new go.Geometry,ge=new go.PathFigure(oe,0,!0);return b.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,E,.2*a)),ge.add(new go.PathSegment(go.PathSegment.Line,y-oe,0)),ge.add(new go.PathSegment(go.PathSegment.Line,y,ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.8*y,z)),ge.add(new go.PathSegment(go.PathSegment.Line,y,a-ne)),ge.add(new go.PathSegment(go.PathSegment.Line,y-oe,a)),ge.add(new go.PathSegment(go.PathSegment.Line,E,.8*a)),ge.add(new go.PathSegment(go.PathSegment.Line,oe,a)),ge.add(new go.PathSegment(go.PathSegment.Line,0,a-ne)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),ge.add(new go.PathSegment(go.PathSegment.Line,0,ne).close()),b}}),go.Shape.setFigureParameter("ThinX",0,new ht("Thickness",10)),go.Shape.defineFigureGenerator("ThinX",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=10);var b=new go.Geometry,E=new go.PathFigure(.1*y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.1*a).close()),b}),go.Shape.setFigureParameter("SquareIBeam",0,new ht("BeamWidth",.2,.1,.9)),go.Shape.defineFigureGenerator("SquareIBeam",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5+x/2)*y,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*y,(1-x)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(.5-x/2)*y,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*a).close()),b}),go.Shape.setFigureParameter("RoundedIBeam",0,new ht("Curviness",.5,.05,.65)),go.Shape.defineFigureGenerator("RoundedIBeam",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.5);var b=new go.Geometry,E=new go.PathFigure(0,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,a,Math.abs(1-x)*y,.25*a,Math.abs(1-x)*y,.75*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*y,.75*a,x*y,.25*a).close()),b}),go.Shape.defineFigureGenerator("HalfEllipse",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,se*y,0,y,(.5-se/2)*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,(.5+se/2)*a,se*y,a).close())).setSpots(0,.156,.844,.844)}),go.Shape.defineFigureGenerator("Crescent",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,a,y,0,y,a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.5*y,.75*a,.5*y,.25*a).close())).setSpots(.311,.266,.744,.744)}),go.Shape.defineFigureGenerator("Heart",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,.1*y,.8*a,0,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,0,0,.45*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.55*y,0,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.5*a,.9*y,.8*a).close())).setSpots(.14,.29,.86,.78)}),go.Shape.defineFigureGenerator("Spade",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,0,!0).add(new go.PathSegment(go.PathSegment.Line,.51*y,.01*a)).add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.6*y,.2*a,y,.25*a)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.7*a,y,.8*a,.6*y,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,.5*y,.75*a,.55*y,.95*a)).add(new go.PathSegment(go.PathSegment.Line,.25*y,a)).add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.7*a,.45*y,.95*a,.5*y,.75*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.4*y,.8*a,0,.8*a)).add(new go.PathSegment(go.PathSegment.Bezier,.49*y,.01*a,0,.25*a,.4*y,.2*a).close())).setSpots(.14,.26,.86,.78)}),go.Shape.defineFigureGenerator("Club",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.4*y,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.15*y,a,.5*y,.75*a,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.6*a,.55*y,.95*a,.5*y,.75*a));var E=.2,z=.3,re=0,oe=E*se;return b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+re)*a,(.5-E+z)*y,(.5+oe+re)*a,(.5-oe+z)*y,(.5+E+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+re)*a,(.5+oe+z)*y,(.5+E+re)*a,(.5+E+z)*y,(.5+oe+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+re)*a,(1-.5+E+z)*y,(.5-oe+re)*a,(.5+oe+z)*y,(.5-E+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.65*y,.36771243*a,(.5-oe+z)*y,(.5-E+re)*a,(.5-E+z+.05)*y,(.5-oe+re-.02)*a)),E=.2,z=0,re=-.3,oe=E*se,b.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+E+z)*y,(.5+re)*a,(.5+oe+z)*y,(.5+E+re)*a,(.5+E+z)*y,(.5+oe+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+re)*a,(1-.5+E+z)*y,(.5-oe+re)*a,(.5+oe+z)*y,(.5-E+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+re)*a,(.5-oe+z)*y,(.5-E+re)*a,(.5-E+z)*y,(.5-oe+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-oe+z)*y,(.5+E+re)*a,(.5-E+z)*y,(.5+oe+re)*a,(.5-oe+z)*y,(.5+E+re)*a)),E=.2,z=-.3,re=0,oe=E*se,b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5-E+re)*a,(1-.5+E+z-.05)*y,(.5-oe+re-.02)*a,(.5+oe+z)*y,(.5-E+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5-E+z)*y,(.5+re)*a,(.5-oe+z)*y,(.5-E+re)*a,(.5-E+z)*y,(.5-oe+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,(.5+z)*y,(.5+E+re)*a,(.5-E+z)*y,(.5+oe+re)*a,(.5-oe+z)*y,(.5+E+re)*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.6*a,(.5+oe+z)*y,(.5+E+re)*a,(.5+E+z)*y,(.5+oe+re)*a).close()),x.setSpots(.06,.33,.93,.68),x}),go.Shape.defineFigureGenerator("YinYang",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.5,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*.5,y*.5,y*.5,y*.5)),b.add(new go.PathSegment(go.PathSegment.Arc,90,-180,y*.5,y*.75,y*.25,y*.25)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,y*.5,y*.25,y*.25,y*.25));var E=.1,z=.5,re=.25;return b.add(new go.PathSegment(go.PathSegment.Move,(z+E)*y,re*a)),b.add(new go.PathSegment(go.PathSegment.Arc,0,-360,y*z,a*re,E*y,E*y).close()),b=new go.PathFigure(y*.5,0,!1),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*.5,y*.5,y*.5,y*.5)),re=.75,b=new go.PathFigure((z+E)*y,re*a,!0),x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,0,360,y*z,a*re,E*y,E*y).close()),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Peace",function(ce,y,a){var x=.8535533905932737,b=.5*y,E=.5*a;return new go.Geometry().add(new go.PathFigure(b,0,!1).add(new go.PathSegment(go.PathSegment.Arc,270,360,b,E,b,E)).add(new go.PathSegment(go.PathSegment.Line,b,a)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,x*a)).add(new go.PathSegment(go.PathSegment.Move,b,E)).add(new go.PathSegment(go.PathSegment.Line,x*y,x*a)))}),go.Shape.defineFigureGenerator("NotAllowed",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=.5,z=.5,re=.5,oe=new go.PathFigure(z*y,(re-E)*a);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,re*a,(z-b)*y,(re-E)*a,(z-E)*y,(re-b)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+E)*a,(z-E)*y,(re+b)*a,(z-b)*y,(re+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,re*a,(z+b)*y,(re+E)*a,(z+E)*y,(re+b)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re-E)*a,(z+E)*y,(re-b)*a,(z+b)*y,(re-E)*a)),E=.4,b=se*.4;var ne=ae(),ge=ae(),pe=ae(),Le=ae();Ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.42,ne,ge,pe,Le,Le);var be=ae(),xe=ae(),Se=ae();Ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.58,Le,Le,Se,be,xe);var ft=ae(),Ye=ae(),Zt=ae();Ze(z,re+E,z-b,re+E,z-E,re+b,z-E,re,.42,ft,Ye,Zt,Le,Le);var qe=ae(),ct=ae(),zt=ae();return Ze(z,re+E,z-b,re+E,z-E,re+b,z-E,re,.58,Le,Le,zt,qe,ct),oe.add(new go.PathSegment(go.PathSegment.Move,zt.x*y,zt.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,re*a,qe.x*y,qe.y*a,ct.x*y,ct.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re-E)*a,(z-E)*y,(re-b)*a,(z-b)*y,(re-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,pe.x*y,pe.y*a,ne.x*y,ne.y*a,ge.x*y,ge.y*a)),oe.add(new go.PathSegment(go.PathSegment.Line,zt.x*y,zt.y*a).close()),oe.add(new go.PathSegment(go.PathSegment.Move,Zt.x*y,Zt.y*a)),oe.add(new go.PathSegment(go.PathSegment.Line,Se.x*y,Se.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,re*a,be.x*y,be.y*a,xe.x*y,xe.y*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+E)*a,(z+E)*y,(re+b)*a,(z+b)*y,(re+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Zt.x*y,Zt.y*a,ft.x*y,ft.y*a,Ye.x*y,Ye.y*a).close()),me(ne),me(ge),me(pe),me(Le),me(be),me(xe),me(Se),me(ft),me(Ye),me(Zt),me(qe),me(ct),me(zt),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("Fragile",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.25*y,0)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.29*y,.33*a)).add(new go.PathSegment(go.PathSegment.Line,.35*y,.25*a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.15*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.5*a,y,.25*a,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,a)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.5*a,0,.25*a).close()))}),go.Shape.setFigureParameter("HourGlass",0,new ht("Thickness",30)),go.Shape.defineFigureGenerator("HourGlass",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=30),x>y&&(x=y);var b=(y-x)/2,E=b+x;return new go.Geometry().add(new go.PathFigure(E,.5*a).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)).add(new go.PathSegment(go.PathSegment.Line,b,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,0)).add(new go.PathSegment(go.PathSegment.Line,y,0).close()))}),go.Shape.defineFigureGenerator("Lightning",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,.55*a).add(new go.PathSegment(go.PathSegment.Line,.6*y,0)).add(new go.PathSegment(go.PathSegment.Line,.3*y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,y,.45*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.55*a).close()))}),go.Shape.defineFigureGenerator("GenderMale",function(ce,y,a){var x=new go.Geometry,b=se*.4,E=.4,z=.5,re=.5,oe=ae(),ne=ae(),ge=ae(),pe=ae(),Le=new go.PathFigure((z-E)*y,re*a,!1);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re-E)*a,(z-E)*y,(re-b)*a,(z-b)*y,(re-E)*a)),Ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.44,ge,pe,ne,oe,oe),Le.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,ge.x*y,ge.y*a,pe.x*y,pe.y*a));var be=ee(ne.x,ne.y);Ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.56,oe,oe,ne,ge,pe);var xe=ee(ne.x,ne.y);Le.add(new go.PathSegment(go.PathSegment.Line,(be.x*.1+.95*.9)*y,be.y*.1*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.85*y,be.y*.1*a)),Le.add(new go.PathSegment(go.PathSegment.Line,.85*y,0)),Le.add(new go.PathSegment(go.PathSegment.Line,y,0)),Le.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*y,.15*a)),Le.add(new go.PathSegment(go.PathSegment.Line,(xe.x*.1+.9)*y,(xe.y*.1+.05*.9)*a)),Le.add(new go.PathSegment(go.PathSegment.Line,xe.x*y,xe.y*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,re*a,ge.x*y,ge.y*a,pe.x*y,pe.y*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+E)*a,(z+E)*y,(re+b)*a,(z+b)*y,(re+E)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,re*a,(z-b)*y,(re+E)*a,(z-E)*y,(re+b)*a)),E=.35,b=se*.35;var Se=new go.PathFigure(z*y,(re-E)*a,!1);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,re*a,(z-b)*y,(re-E)*a,(z-E)*y,(re-b)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+E)*a,(z-E)*y,(re+b)*a,(z-b)*y,(re+E)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,re*a,(z+b)*y,(re+E)*a,(z+E)*y,(re+b)*a)),Se.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re-E)*a,(z+E)*y,(re-b)*a,(z+b)*y,(re-E)*a));var ft=new go.PathFigure((z-E)*y,re*a,!1);return x.add(ft),me(oe),me(ne),me(ge),me(pe),me(be),me(xe),x.spot1=new go.Spot(.202,.257),x.spot2=new go.Spot(.792,.739),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("GenderFemale",function(ce,y,a){var x=new go.Geometry,b=.375,E=0,z=-.125,re=b*se,oe=new go.PathFigure((.525+E)*y,(.5+b+z)*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*y,(.5+z)*a,(.5+re+E)*y,(.5+b+z)*a,(.5+b+E)*y,(.5+re+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5-b+z)*a,(1-.5+b+E)*y,(.5-re+z)*a,(.5+re+E)*y,(.5-b+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-re+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-re+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.475+E)*y,(.5+b+z)*a,(.5-b+E)*y,(.5+re+z)*a,(.5-re+E)*y,(.5+b+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.425*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.475*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*y,a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*y,.9*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.575*y,.85*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a).close()),b=.325,E=0,z=-.125,re=b*se;var oe=new go.PathFigure((1-.5+b+E)*y,(.5+z)*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5+b+z)*a,(.5+b+E)*y,(.5+re+z)*a,(.5+re+E)*y,(.5+b+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-re+E)*y,(.5+b+z)*a,(.5-b+E)*y,(.5+re+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(.5+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-re+z)*a,(.5-re+E)*y,(.5-b+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(1-.5+b+E)*y,(.5+z)*a,(.5+re+E)*y,(.5-b+z)*a,(1-.5+b+E)*y,(.5-re+z)*a));var oe=new go.PathFigure((.525+E)*y,(.5+b+z)*a,!1);return x.add(oe),x.spot1=new go.Spot(.232,.136),x.spot2=new go.Spot(.682,.611),x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicImplies",function(ce,y,a){var x=ce?ce.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a))).setSpots(0,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicIff",function(ce,y,a){var x=ce?ce.parameter1:NaN;return isNaN(x)&&(x=.2),new go.Geometry().add(new go.PathFigure((1-x)*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,(1-x)*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,x*y,0)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,x*y,a))).setSpots(.2,0,.8,.5)}),go.Shape.defineFigureGenerator("LogicNot",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)))}),go.Shape.defineFigureGenerator("LogicAnd",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.25,.5,.75,1)}),go.Shape.defineFigureGenerator("LogicOr",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0))).setSpots(.219,0,.78,.409)}),go.Shape.defineFigureGenerator("LogicXor",function(ce,y,a){var x=new go.Geometry().add(new go.PathFigure(.5*y,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Arc,0,360,.5*y,.5*a,.5*y,.5*a)));return x.defaultStretch=go.GraphObject.Uniform,x}),go.Shape.defineFigureGenerator("LogicTruth",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.5*y,0)).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)))}),go.Shape.defineFigureGenerator("LogicFalsity",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Move,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,0)))}),go.Shape.defineFigureGenerator("LogicThereExists",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,0,.5*a)).add(new go.PathSegment(go.PathSegment.Move,y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a)))}),go.Shape.defineFigureGenerator("LogicForAll",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,.5*y,a)).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a))).setSpots(.25,0,.75,.5)}),go.Shape.defineFigureGenerator("LogicIsDefinedAs",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Move,0,.5*a)).add(new go.PathSegment(go.PathSegment.Line,y,.5*a)).add(new go.PathSegment(go.PathSegment.Move,0,a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(.01,.01,.99,.49)}),go.Shape.defineFigureGenerator("LogicIntersect",function(ce,y,a){var x=.5;return new go.Geometry().add(new go.PathFigure(0,a,!1).add(new go.PathSegment(go.PathSegment.Line,0,x*a)).add(new go.PathSegment(go.PathSegment.Arc,180,180,x*y,x*a,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,y,a))).setSpots(0,.5,1,1)}),go.Shape.defineFigureGenerator("LogicUnion",function(ce,y,a){var x=.5;return new go.Geometry().add(new go.PathFigure(y,0,!1).add(new go.PathSegment(go.PathSegment.Line,y,x*a)).add(new go.PathSegment(go.PathSegment.Arc,0,180,x*y,x*a,x*y,x*a)).add(new go.PathSegment(go.PathSegment.Line,0,0))).setSpots(0,0,1,.5)}),go.Shape.setFigureParameter("Arrow",0,new ht("ArrowheadWidth",.3,.01,.99)),go.Shape.setFigureParameter("Arrow",1,new ht("TailHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("Arrow",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=.3);var E=(1-x)*y,z=(.5-b/2)*a,re=(.5+b/2)*a,oe=new go.Geometry,ne=new go.PathFigure(0,z,!0);oe.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,re)),ne.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),oe.spot1=new go.Spot(0,z/a);var ge=Ie(0,re/a,1,re/a,E/y,1,1,.5,ae());return oe.spot2=new go.Spot(ge.x,ge.y),me(ge),oe}),go.Shape.setFigureParameter("Arrow2",0,new ht("ArrowheadWidth",30)),go.Shape.setFigureParameter("Arrow2",0,new ht("TailHeight",30)),go.Shape.defineFigureGenerator("Arrow2",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=30),x>y&&(x=y);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=30),b=Math.min(b,a/2);var E=y-x,z=(a-b)/2,re=z+b,oe=new go.Geometry,ne=new go.PathFigure(0,z,!0);oe.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E,z)),ne.add(new go.PathSegment(go.PathSegment.Line,E,0)),ne.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,a)),ne.add(new go.PathSegment(go.PathSegment.Line,E,re)),ne.add(new go.PathSegment(go.PathSegment.Line,0,re).close()),oe.spot1=new go.Spot(0,z/a);var ge=Ie(0,re/a,1,re/a,E/y,1,1,.5,ae());return oe.spot2=new go.Spot(ge.x,ge.y),me(ge),oe}),go.Shape.defineFigureGenerator("Chevron",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("DoubleArrow",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.214*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.786*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,1*a).close()),x}),go.Shape.setFigureParameter("DoubleEndArrow",0,new ht("ConnecterHeight",.3,.01,.99)),go.Shape.defineFigureGenerator("DoubleEndArrow",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),re.add(new go.PathSegment(go.PathSegment.Line,.3*y,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close());var oe=Ie(0,.5,.3,0,0,b/a,.1,b/a,ae());return z.spot1=new go.Spot(oe.x,oe.y),oe=Ie(.7,1,1,.5,0,E/a,1,E/a,oe),z.spot2=new go.Spot(oe.x,oe.y),me(oe),z}),go.Shape.setFigureParameter("DoubleEndArrow2",0,new ht("ConnecterHeight",40)),go.Shape.setFigureParameter("DoubleEndArrow2",1,new ht("ArrowHeight",100)),go.Shape.defineFigureGenerator("DoubleEndArrow2",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=40);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=100);var E=(a-x)/2,z=E+x,re=(a-b)/2,oe=re+b;(x>a||b>a)&&(b>x?(x=x*a/b,E=(a-x)/2,z=E+x,re=0,oe=a):(E=0,z=a,re=0,oe=a));var ne=new go.Geometry,ge=new go.PathFigure(y,.5*a,!0);ne.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*y,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*y,oe)),ge.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*y,re)),ge.add(new go.PathSegment(go.PathSegment.Line,.3*y,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,re).close());var pe=Ie(0,.5,.3,re/a,0,E/a,1,E/a,ae());return ne.spot1=new go.Spot(pe.x,pe.y),pe=Ie(.7,oe/a,1,.5,0,z/a,1,z/a,pe),ne.spot2=new go.Spot(pe.x,pe.y),me(pe),ne}),go.Shape.setFigureParameter("IBeamArrow",0,new ht("ConnectorHeight",.7,.51,.97)),go.Shape.defineFigureGenerator("IBeamArrow",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,a)),re.add(new go.PathSegment(go.PathSegment.Line,0,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(0,b/a);var oe=Ie(.7,1,1,.5,0,E/a,1,E/a,ae());return z.spot2=new go.Spot(oe.x,oe.y),me(oe),z}),go.Shape.setFigureParameter("IBeamArrow2",0,new ht("ConnectorHeight",40)),go.Shape.setFigureParameter("IBeamArrow2",1,new ht("BeamArrowHeight",100)),go.Shape.defineFigureGenerator("IBeamArrow2",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=40);var b=ce?ce.parameter2:NaN;isNaN(b)&&(b=100);var E=(a-x)/2,z=E+x,re=(a-b)/2,oe=re+b;(x>a||b>a)&&(b>x?(x=x*a/b,E=(a-x)/2,z=E+x,re=0,oe=a):(E=0,z=a,re=0,oe=a));var ne=new go.Geometry,ge=new go.PathFigure(y,.5*a,!0);ne.add(ge),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,oe)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,z)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,oe)),ge.add(new go.PathSegment(go.PathSegment.Line,0,oe)),ge.add(new go.PathSegment(go.PathSegment.Line,0,re)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,re)),ge.add(new go.PathSegment(go.PathSegment.Line,.2*y,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),ge.add(new go.PathSegment(go.PathSegment.Line,.7*y,re).close()),ne.spot1=new go.Spot(0,E/a);var pe=Ie(.7,oe/a,1,.5,0,z/a,1,z/a,ae());return ne.spot2=new go.Spot(pe.x,pe.y),me(pe),ne}),go.Shape.setFigureParameter("Pointer",0,new ht("BackPoint",.1,0,.2)),go.Shape.defineFigureGenerator("Pointer",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.1);var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,x*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0).close()),b.spot1=new go.Spot(x,.35);var z=Ie(.2,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(z.x,z.y),me(z),b}),go.Shape.setFigureParameter("RoundedPointer",0,new ht("RoundedEdge",.3,0,.5)),go.Shape.defineFigureGenerator("RoundedPointer",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.3);var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Bezier,0,0,x*y,.75*a,x*y,.25*a).close()),b.spot1=new go.Spot(x,.35);var z=Ie(0,.65,1,.65,0,1,1,.5,ae());return b.spot2=new go.Spot(z.x,z.y),me(z),b}),go.Shape.setFigureParameter("SplitEndArrow",0,new ht("TailHeight",.4,.01,.99)),go.Shape.defineFigureGenerator("SplitEndArrow",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.4);var b=(.5-x/2)*a,E=(.5+x/2)*a,z=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,.3);var oe=Ie(.7,1,1,.5,0,E/a,1,E/a,ae());return z.spot2=new go.Spot(oe.x,oe.y),me(oe),z}),go.Shape.setFigureParameter("SplitEndArrow2",0,new ht("TailThickness",50)),go.Shape.defineFigureGenerator("SplitEndArrow2",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=50);var b=(a-x)/2,E=b+x;x>a&&(b=0,E=a);var z=new go.Geometry,re=new go.PathFigure(y,.5*a,!0);z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,E)),re.add(new go.PathSegment(go.PathSegment.Line,0,E)),re.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,0,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,b)),re.add(new go.PathSegment(go.PathSegment.Line,.7*y,0).close()),z.spot1=new go.Spot(.2,b/a);var oe=Ie(.7,1,1,.5,0,E/a,1,E/a,ae());return z.spot2=new go.Spot(oe.x,oe.y),me(oe),z}),go.Shape.setFigureParameter("SquareArrow",0,new ht("ArrowPoint",.7,.2,.9)),go.Shape.defineFigureGenerator("SquareArrow",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.7);var b=new go.Geometry,E=new go.PathFigure(y,.5*a,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,x*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,x*y,0).close()),b.spot1=go.Spot.TopLeft,b.spot2=new go.Spot(x,1),b}),go.Shape.defineFigureGenerator("Cone1",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=se*.1,z=new go.PathFigure(0,.9*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+E)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+E)*a).close()),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.97),x}),go.Shape.defineFigureGenerator("Cone2",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.9*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,a,.85/.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.9*a).close());var E=new go.PathFigure(0,.9*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.9*a,(1-.85/.9)*y,.8*a,.85/.9*y,.8*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.82),x}),go.Shape.defineFigureGenerator("Cube1",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var E=new go.PathFigure(.5*y,a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.15*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.5,.85),x}),go.Shape.defineFigureGenerator("Cube2",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.3*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0).close());var E=new go.PathFigure(0,.3*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,.7*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(.7,1),x}),go.Shape.defineFigureGenerator("Cylinder1",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=se*.5,z=new go.PathFigure(0,x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,se*x,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,1*y,x,(.5+E)*y,0,1*y,se*x)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,1*a,1*y,a-se*x,(.5+E)*y,1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-E)*y,1*a,0,a-se*x)),z.add(new go.PathSegment(go.PathSegment.Line,0,x));var re=new go.PathFigure(y,x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,2*x,1*y,2*x-se*x,(.5+E)*y,2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,x,(.5-E)*y,2*x,0,2*x-se*x)),b.spot1=new go.Spot(0,0,0,2*x),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder2",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,a/3);var b=new go.Geometry,E=se*.5,z=new go.PathFigure(0,a-x,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,se*x,(.5-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,x,(.5+E)*y,0,y,se*x)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-x)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,a-se*x,(.5+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-x,(.5-E)*y,a,0,a-se*x));var re=new go.PathFigure(0,a-x,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a-2*x,0,a-x-se*x,(.5-E)*y,a-2*x)),re.add(new go.PathSegment(go.PathSegment.Bezier,y,a-x,(.5+E)*y,a-2*x,y,a-x-se*x)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,0,-2*x),b}),go.Shape.defineFigureGenerator("Cylinder3",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=se*.5,z=new go.PathFigure(x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-se*x,0,y,(.5-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+E)*a,y-se*x,a)),z.add(new go.PathSegment(go.PathSegment.Line,x,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*x,a,0,(.5+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*a,se*x,0));var re=new go.PathFigure(x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,2*x,.5*a,x+se*x,0,2*x,(.5-E)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,a,2*x,(.5+E)*a,x+se*x,a)),b.spot1=new go.Spot(0,0,2*x,0),b.spot2=new go.Spot(1,1),b}),go.Shape.defineFigureGenerator("Cylinder4",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=5),x=Math.min(x,y/3);var b=new go.Geometry,E=se*.5,z=new go.PathFigure(y-x,0,!0);b.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,y-se*x,0,y,(.5-E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y,(.5+E)*a,y-se*x,a)),z.add(new go.PathSegment(go.PathSegment.Line,x,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,se*x,a,0,(.5+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,(.5-E)*a,se*x,0)),z.add(new go.PathSegment(go.PathSegment.Line,y-x,0));var re=new go.PathFigure(y-x,0,!1);return b.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,y-2*x,.5*a,y-x-se*x,0,y-2*x,(.5-E)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,y-x,a,y-2*x,(.5+E)*a,y-x-se*x,a)),b.spot1=new go.Spot(0,0),b.spot2=new go.Spot(1,1,-2*x,0),b}),go.Shape.defineFigureGenerator("Prism1",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(.25*y,.25*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.408,.172),x.spot2=new go.Spot(.833,.662),x}),go.Shape.defineFigureGenerator("Prism2",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(0,a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,.25*y,.5*a)),x.spot1=new go.Spot(.25,.5),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("Pyramid1",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a).close());var E=new go.PathFigure(.5*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Pyramid2",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.85*a).close());var E=new go.PathFigure(.5*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.85*a)),E.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),x.spot1=new go.Spot(.25,.367),x.spot2=new go.Spot(.75,.875),x}),go.Shape.defineFigureGenerator("Actor",function(ce,y,a){var x=new go.Geometry,b=.2,E=.1,z=se*b,re=se*E,oe=.5,ne=.1,ge=new go.PathFigure(oe*y,(ne+E)*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe-b)*y,ne*a,(oe-z)*y,(ne+E)*a,(oe-b)*y,(ne+re)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ne-E)*a,(oe-b)*y,(ne-re)*a,(oe-z)*y,(ne-E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe+b)*y,ne*a,(oe+z)*y,(ne-E)*a,(oe+b)*y,(ne-re)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ne+E)*a,(oe+b)*y,(ne+re)*a,(oe+z)*y,(ne+E)*a));var pe=.05,Le=se*pe;oe=.05,ne=.25;var be=new go.PathFigure(.5*y,.2*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.95*y,.2*a)),oe=.95,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,(oe+pe)*y,ne*a,(oe+Le)*y,(ne-pe)*a,(oe+pe)*y,(ne-Le)*a)),be.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,.85*y,.35*a)),pe=.025,Le=se*pe,oe=.825,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ne-pe)*a,(oe+pe)*y,(ne-Le)*a,(oe+Le)*y,(ne-pe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-pe)*y,ne*a,(oe-Le)*y,(ne-pe)*a,(oe-pe)*y,(ne-Le)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a)),pe=.05,Le=se*pe,oe=.5,ne=.7,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ne-pe)*a,(oe+pe)*y,(ne-Le)*a,(oe+Le)*y,(ne-pe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-pe)*y,ne*a,(oe-Le)*y,(ne-pe)*a,(oe-pe)*y,(ne-Le)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.45*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),be.add(new go.PathSegment(go.PathSegment.Line,.2*y,.35*a)),pe=.025,Le=se*pe,oe=.175,ne=.35,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ne-pe)*a,(oe+pe)*y,(ne-Le)*a,(oe+Le)*y,(ne-pe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-pe)*y,ne*a,(oe-Le)*y,(ne-pe)*a,(oe-pe)*y,(ne-Le)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),be.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),pe=.05,Le=se*pe,oe=.05,ne=.25,be.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ne-pe)*a,(oe-pe)*y,(ne-Le)*a,(oe-Le)*y,(ne-pe)*a)),be.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),x.spot1=new go.Spot(.2,.2),x.spot2=new go.Spot(.8,.65),x}),go.Shape.setFigureParameter("Card",0,new ht("CornerCutoutSize",.2,.1,.9)),go.Shape.defineFigureGenerator("Card",function(ce,y,a){var x=ce?ce.parameter1:NaN;isNaN(x)&&(x=.2);var b=new go.Geometry,E=new go.PathFigure(y,0,!0);return b.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,x*a)),E.add(new go.PathSegment(go.PathSegment.Line,x*y,0).close()),b.spot1=new go.Spot(0,x),b.spot2=go.Spot.BottomRight,b}),go.Shape.defineFigureGenerator("Collate",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a));var E=new go.PathFigure(.5*y,.5*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,.25),x}),go.Shape.defineFigureGenerator("CreateRequest",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,b*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x}),go.Shape.defineFigureGenerator("Database",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=se*.1,z=new go.PathFigure(y,.1*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+E)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-E)*a,(.5-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-E)*a));var re=new go.PathFigure(y,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+E)*a,(.5+b)*y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+E)*a)),re.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+E)*a,(.5+b)*y,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+E)*a)),re.add(new go.PathSegment(go.PathSegment.Move,y,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.4*a,y,(.3+E)*a,(.5+b)*y,.4*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.3*a,(.5-b)*y,.4*a,0,(.3+E)*a)),x.spot1=new go.Spot(0,.4),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("DataStorage",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.9*a,.25*y,.1*a).close()),x.spot1=new go.Spot(.226,0),x.spot2=new go.Spot(.81,1),x}),go.Shape.defineFigureGenerator("DiskStorage",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=se*.1,z=new go.PathFigure(y,.1*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.9+E)*a,(.5+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,(.5-b)*y,a,0,(.9+E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,(.1-E)*a,(.5-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,(.5+b)*y,0,y,(.1-E)*a));var re=new go.PathFigure(y,.1*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,y,(.1+E)*a,(.5+b)*y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.1*a,(.5-b)*y,.2*a,0,(.1+E)*a)),re.add(new go.PathSegment(go.PathSegment.Move,y,.2*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.3*a,y,(.2+E)*a,(.5+b)*y,.3*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,.2*a,(.5-b)*y,.3*a,0,(.2+E)*a)),x.spot1=new go.Spot(0,.3),x.spot2=new go.Spot(1,.9),x}),go.Shape.defineFigureGenerator("Display",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,a,y,0,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close()),x.spot1=new go.Spot(.25,0),x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("DividedEvent",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)?b=.2:b<.15&&(b=.15);var E=se*.2,z=new go.PathFigure(0,.2*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,0,(.2-E)*a,(.2-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.2*a,(.8+E)*y,0,y,(.2-E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,a,y,(.8+E)*a,(.8+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,.8*a,(.2-E)*y,a,0,(.8+E)*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.2*a));var re=new go.PathFigure(0,b*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x}),go.Shape.defineFigureGenerator("DividedProcess",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN;(isNaN(b)||b<.1)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(0,b*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,b*a)),x}),go.Shape.defineFigureGenerator("Document",function(ce,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("ExternalOrganization",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN;(isNaN(b)||b<.2)&&(b=.2);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(b*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,0,b*a)),z.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Move,0,(1-b)*a)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,y,(1-b)*a)),x}),go.Shape.defineFigureGenerator("ExternalProcess",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var E=new go.PathFigure(.1*y,.4*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.9*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.6*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Move,.4*y,.9*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.9*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("File",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(.75*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Interrupt",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a));var E=new go.PathFigure(y,.5*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,a));var z=new go.PathFigure(y,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("InternalStorage",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN,E=ce?ce.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.1);var z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var re=new go.PathFigure(b*y,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),re.add(new go.PathSegment(go.PathSegment.Move,0,E*a)),re.add(new go.PathSegment(go.PathSegment.Line,y,E*a)),x}),go.Shape.defineFigureGenerator("Junction",function(ce,y,a){var x=new go.Geometry,b=1/Math.SQRT2,E=(1-1/Math.SQRT2)/2,z=se*.5,re=.5,oe=new go.PathFigure(y,re*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,re*y,a,y,(re+z)*a,(re+z)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,re*a,(re-z)*y,a,0,(re+z)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,re*y,0,0,(re-z)*a,(re-z)*y,0)),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,re*a,(re+z)*y,0,y,(re-z)*a));var ne=new go.PathFigure((E+b)*y,(E+b)*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,E*y,E*a)),ne.add(new go.PathSegment(go.PathSegment.Move,E*y,(E+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Line,(E+b)*y,E*a)),x}),go.Shape.defineFigureGenerator("LinedDocument",function(ce,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close());var E=new go.PathFigure(.1*y,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.75*a)),x.spot1=new go.Spot(.1,0),x.spot2=new go.Spot(1,.6),x}),go.Shape.defineFigureGenerator("LoopLimit",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MagneticTape",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=.5,z=new go.PathFigure(.5*y,a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-b)*y,a,0,(E+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-b)*a,(E-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+b)*y,0,y,(E-b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,(E+.1)*y,.9*a,y,(E+b)*a,(E+b)*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),x.spot1=new go.Spot(.15,.15),x.spot2=new go.Spot(.85,.8),x}),go.Shape.defineFigureGenerator("ManualInput",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a).close()),x.spot1=new go.Spot(0,.25),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("MessageFromUser",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.7);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,b*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("MicroformProcessing",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,b*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,(1-b)*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("MicroformRecording",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("MultiDocument",function(ce,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.44*a,.96*y,.47*a,.93*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.54*a,.86*y,.57*a,.83*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.4*y,.4*a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0).close());var E=new go.PathFigure(.1*y,.2*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.54*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.44*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.8,.77),x}),go.Shape.defineFigureGenerator("MultiProcess",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,.1*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close());var E=new go.PathFigure(.2*y,.1*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.1*a)),E.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Move,.1*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.9*a)),x.spot1=new go.Spot(0,.2),x.spot2=new go.Spot(.8,1),x}),go.Shape.defineFigureGenerator("OfflineStorage",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=1-b,z=new go.PathFigure(0,0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close());var re=new go.PathFigure(.5*b*y,b*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,(1-.5*b)*y,b*a)),x}),go.Shape.defineFigureGenerator("OffPageConnector",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.75,1),x}),go.Shape.defineFigureGenerator("Or",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=.5,z=new go.PathFigure(y,E*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+b)*a,(E+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-b)*y,a,0,(E+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-b)*a,(E-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+b)*y,0,y,(E-b)*a));var re=new go.PathFigure(y,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),x}),go.Shape.defineFigureGenerator("PaperTape",function(ce,y,a){var x=new go.Geometry;a=a/.8;var b=new go.PathFigure(0,.7*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.3*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.3*a,.5*y,.6*a,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.7*a,.5*y,.4*a,.5*y,a).close()),x.spot1=new go.Spot(0,.49),x.spot2=new go.Spot(1,.75),x}),go.Shape.defineFigureGenerator("PrimitiveFromCall",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN,E=ce?ce.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("PrimitiveToCall",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN,E=ce?ce.parameter2:NaN;isNaN(b)&&(b=.1),isNaN(E)&&(E=.3);var z=new go.PathFigure(0,0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,(1-E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Procedure",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure((1-b)*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,b*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x}),go.Shape.defineFigureGenerator("Process",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var z=new go.PathFigure(b*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),x.spot2=go.Spot.BottomRight,x}),go.Shape.defineFigureGenerator("Sort",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a).close());var E=new go.PathFigure(0,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),x.spot1=new go.Spot(.25,.25),x.spot2=new go.Spot(.75,.5),x}),go.Shape.defineFigureGenerator("Start",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.25);var E=new go.PathFigure(b*y,0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a));var z=new go.PathFigure(b*y,0,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,b*y,a)),z.add(new go.PathSegment(go.PathSegment.Move,(1-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,(1-b)*y,a)),x.spot1=new go.Spot(b,0),x.spot2=new go.Spot(1-b,1),x}),go.Shape.defineFigureGenerator("Terminator",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.25*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,.75*y,.5*a,.25*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Arc,90,180,.25*y,.5*a,.25*y,.5*a)),x.spot1=new go.Spot(.23,0),x.spot2=new go.Spot(.77,1),x}),go.Shape.defineFigureGenerator("TransmittalTape",function(ce,y,a){var x=new go.Geometry,b=ce?ce.parameter1:NaN;isNaN(b)&&(b=.1);var E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,(1-b)*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,(1-b)*a).close()),x.spot1=go.Spot.TopLeft,x}),go.Shape.defineFigureGenerator("AndGate",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=new go.PathFigure(0,0,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(.5+b)*y,0,y,(.5-b)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,(.5+b)*a,(.5+b)*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=go.Spot.TopLeft,x.spot2=new go.Spot(.55,1),x}),go.Shape.defineFigureGenerator("Buffer",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Clock",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=.5,z=new go.PathFigure(y,E*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,a,y,(E+b)*a,(E+b)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,E*a,(E-b)*y,a,0,(E+b)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,E*y,0,0,(E-b)*a,(E-b)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,E*a,(E+b)*y,0,y,(E-b)*a));var re=new go.PathFigure(y,E*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,E*a));var oe=new go.PathFigure(.8*y,.75*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.6*y,.75*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*y,.75*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.4*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Line,.2*y,.75*a)),x}),go.Shape.defineFigureGenerator("Ground",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Move,.3*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),x}),go.Shape.defineFigureGenerator("Inverter",function(ce,y,a){var x=new go.Geometry,b=se*.1,E=.1,z=.9,re=.5,oe=new go.PathFigure(.8*y,.5*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,0,a)),oe.add(new go.PathSegment(go.PathSegment.Line,0,0)),oe.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a));var ne=new go.PathFigure((z+E)*y,re*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+E)*a,(z+E)*y,(re+b)*a,(z+b)*y,(re+E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,re*a,(z-b)*y,(re+E)*a,(z-E)*y,(re+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re-E)*a,(z-E)*y,(re-b)*a,(z-b)*y,(re-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,re*a,(z+b)*y,(re-E)*a,(z+E)*y,(re-b)*a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.4,.75),x}),go.Shape.defineFigureGenerator("NandGate",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=se*.4,z=se*.1,re=.1,oe=.9,ne=.5,ge=new go.PathFigure(.8*y,.5*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,.8*y,(.5+E)*a,(.4+b)*y,a)),ge.add(new go.PathSegment(go.PathSegment.Line,0,a)),ge.add(new go.PathSegment(go.PathSegment.Line,0,0)),ge.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),ge.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(.4+b)*y,0,.8*y,(.5-E)*a));var pe=new go.PathFigure((oe+re)*y,ne*a,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ne+re)*a,(oe+re)*y,(ne+z)*a,(oe+z)*y,(ne+re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*y,ne*a,(oe-z)*y,(ne+re)*a,(oe-re)*y,(ne+z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ne-re)*a,(oe-re)*y,(ne-z)*a,(oe-z)*y,(ne-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*y,ne*a,(oe+z)*y,(ne-re)*a,(oe+re)*y,(ne-z)*a)),x.spot1=new go.Spot(0,.05),x.spot2=new go.Spot(.55,.95),x}),go.Shape.defineFigureGenerator("NorGate",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*b,z=0,re=.5,oe=new go.PathFigure(.8*y,.5*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.7*y,(re+E)*a,(z+E)*y,(re+b)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+E)*y,(re-b)*a,.7*y,(re-E)*a)),b=.1,E=se*.1,z=.9,re=.5;var ne=new go.PathFigure((z-b)*y,re*a,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re-b)*a,(z-b)*y,(re-E)*a,(z-E)*y,(re-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,re*a,(z+E)*y,(re-b)*a,(z+b)*y,(re-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+b)*a,(z+b)*y,(re+E)*a,(z+E)*y,(re+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,re*a,(z-E)*y,(re+b)*a,(z-b)*y,(re+E)*a)),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.6,.75),x}),go.Shape.defineFigureGenerator("OrGate",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*b,z=0,re=.5,oe=new go.PathFigure(0,0,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+E+E)*y,(re-b)*a,.8*y,(re-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.8*y,(re+E)*a,(z+E+E)*y,(re+b)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,0,0,.25*y,.75*a,.25*y,.25*a).close()),x.spot1=new go.Spot(.2,.25),x.spot2=new go.Spot(.75,.75),x}),go.Shape.defineFigureGenerator("XnorGate",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*b,z=.2,re=.5,oe=new go.PathFigure(.1*y,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ne=new go.PathFigure(.8*y,.5*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.7*y,(re+E)*a,(z+E)*y,(re+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.5*a,(z+E)*y,(re-b)*a,.7*y,(re-E)*a)),b=.1,E=se*.1,z=.9,re=.5;var ge=new go.PathFigure((z-b)*y,re*a,!0);return x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re-b)*a,(z-b)*y,(re-E)*a,(z-E)*y,(re-b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,re*a,(z+E)*y,(re-b)*a,(z+b)*y,(re-E)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+b)*a,(z+b)*y,(re+E)*a,(z+E)*y,(re+b)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,re*a,(z-E)*y,(re+b)*a,(z-b)*y,(re+E)*a)),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.65,.75),x}),go.Shape.defineFigureGenerator("XorGate",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*b,z=.2,re=.5,oe=new go.PathFigure(.1*y,0,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,a,.35*y,.25*a,.35*y,.75*a));var ne=new go.PathFigure(.2*y,0,!0);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,(z+E)*y,(re-b)*a,.9*y,(re-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,a,.9*y,(re+E)*a,(z+E)*y,(re+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.2*y,0,.45*y,.75*a,.45*y,.25*a).close()),x.spot1=new go.Spot(.4,.25),x.spot2=new go.Spot(.8,.75),x}),go.Shape.defineFigureGenerator("Capacitor",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("Resistor",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),x}),go.Shape.defineFigureGenerator("Inductor",function(ce,y,a){var x=new go.Geometry,b=se*.1,E=.1,z=.1,re=.5,oe=new go.PathFigure((z-b*.5)*y,a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.3,oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.5,oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.7,oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,a,(z+E)*y,0,(z+b)*y,a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,0,(z-b)*y,a,(z-E)*y,0)),z=.9,oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b*.5)*y,a,(z+E)*y,0,(z+b)*y,a)),x}),go.Shape.defineFigureGenerator("ACvoltageSource",function(ce,y,a){var x=new go.Geometry,b=se*.5,E=.5,z=.5,re=.5,oe=new go.PathFigure((z-E)*y,re*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re-E)*a,(z-E)*y,(re-b)*a,(z-b)*y,(re-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,re*a,(z+b)*y,(re-E)*a,(z+E)*y,(re-b)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+E)*a,(z+E)*y,(re+b)*a,(z+b)*y,(re+E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,re*a,(z-b)*y,(re+E)*a,(z-E)*y,(re+b)*a)),oe.add(new go.PathSegment(go.PathSegment.Move,(z-E+.1)*y,re*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+E-.1)*y,re*a,z*y,(re-E)*a,z*y,(re+E)*a)),x}),go.Shape.defineFigureGenerator("DCvoltageSource",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("Diode",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x.spot1=new go.Spot(0,.25),x.spot2=new go.Spot(.5,.75),x}),go.Shape.defineFigureGenerator("Wifi",function(ce,y,a){var x=new go.Geometry,b=y,E=a;y=y*.38,a=a*.6;var z=se*.8,re=.8,oe=0,ne=.5,ge=(b-y)/2,pe=(E-a)/2,Le=new go.PathFigure(oe*y+ge,(ne+re)*a+pe,!0);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*y+ge,ne*a+pe,(oe-z)*y+ge,(ne+re)*a+pe,(oe-re)*y+ge,(ne+z)*a+pe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ge,(ne-re)*a+pe,(oe-re)*y+ge,(ne-z)*a+pe,(oe-z)*y+ge,(ne-re)*a+pe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re+z*.5)*y+ge,ne*a+pe,oe*y+ge,(ne-re)*a+pe,(oe-re+z*.5)*y+ge,(ne-z)*a+pe)),Le.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ge,(ne+re)*a+pe,(oe-re+z*.5)*y+ge,(ne+z)*a+pe,oe*y+ge,(ne+re)*a+pe).close()),z=se*.4,re=.4,oe=.2,ne=.5;var be=new go.PathFigure(oe*y+ge,(ne+re)*a+pe,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*y+ge,ne*a+pe,(oe-z)*y+ge,(ne+re)*a+pe,(oe-re)*y+ge,(ne+z)*a+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ge,(ne-re)*a+pe,(oe-re)*y+ge,(ne-z)*a+pe,(oe-z)*y+ge,(ne-re)*a+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re+z*.5)*y+ge,ne*a+pe,oe*y+ge,(ne-re)*a+pe,(oe-re+z*.5)*y+ge,(ne-z)*a+pe)),be.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ge,(ne+re)*a+pe,(oe-re+z*.5)*y+ge,(ne+z)*a+pe,oe*y+ge,(ne+re)*a+pe).close()),z=se*.2,re=.2,oe=.5,ne=.5;var xe=new go.PathFigure((oe-re)*y+ge,ne*a+pe,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ge,(ne-re)*a+pe,(oe-re)*y+ge,(ne-z)*a+pe,(oe-z)*y+ge,(ne-re)*a+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*y+ge,ne*a+pe,(oe+z)*y+ge,(ne-re)*a+pe,(oe+re)*y+ge,(ne-z)*a+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ge,(ne+re)*a+pe,(oe+re)*y+ge,(ne+z)*a+pe,(oe+z)*y+ge,(ne+re)*a+pe)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-re)*y+ge,ne*a+pe,(oe-z)*y+ge,(ne+re)*a+pe,(oe-re)*y+ge,(ne+z)*a+pe)),z=se*.4,re=.4,oe=.8,ne=.5;var Se=new go.PathFigure(oe*y+ge,(ne-re)*a+pe,!0);x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*y+ge,ne*a+pe,(oe+z)*y+ge,(ne-re)*a+pe,(oe+re)*y+ge,(ne-z)*a+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ge,(ne+re)*a+pe,(oe+re)*y+ge,(ne+z)*a+pe,(oe+z)*y+ge,(ne+re)*a+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re-z*.5)*y+ge,ne*a+pe,oe*y+ge,(ne+re)*a+pe,(oe+re-z*.5)*y+ge,(ne+z)*a+pe)),Se.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ge,(ne-re)*a+pe,(oe+re-z*.5)*y+ge,(ne-z)*a+pe,oe*y+ge,(ne-re)*a+pe).close()),z=se*.8,re=.8,oe=1,ne=.5;var ft=new go.PathFigure(oe*y+ge,(ne-re)*a+pe,!0);return x.add(ft),ft.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re)*y+ge,ne*a+pe,(oe+z)*y+ge,(ne-re)*a+pe,(oe+re)*y+ge,(ne-z)*a+pe)),ft.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ge,(ne+re)*a+pe,(oe+re)*y+ge,(ne+z)*a+pe,(oe+z)*y+ge,(ne+re)*a+pe)),ft.add(new go.PathSegment(go.PathSegment.Bezier,(oe+re-z*.5)*y+ge,ne*a+pe,oe*y+ge,(ne+re)*a+pe,(oe+re-z*.5)*y+ge,(ne+z)*a+pe)),ft.add(new go.PathSegment(go.PathSegment.Bezier,oe*y+ge,(ne-re)*a+pe,(oe+re-z*.5)*y+ge,(ne-z)*a+pe,oe*y+ge,(ne-re)*a+pe).close()),x}),go.Shape.defineFigureGenerator("Email",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,0,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,0)),E.add(new go.PathSegment(go.PathSegment.Move,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.54*a)),E.add(new go.PathSegment(go.PathSegment.Move,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,.54*a)),x}),go.Shape.defineFigureGenerator("Ethernet",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.35*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,0).close());var E=new go.PathFigure(.1*y,a,!0,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var z=new go.PathFigure(.6*y,a,!0,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.6*y,a).close());var re=new go.PathFigure(0,.5*a,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.5*y,.4*a)),re.add(new go.PathSegment(go.PathSegment.Move,.75*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.75*y,.6*a)),re.add(new go.PathSegment(go.PathSegment.Move,.25*y,.5*a)),re.add(new go.PathSegment(go.PathSegment.Line,.25*y,.6*a)),x}),go.Shape.defineFigureGenerator("Power",function(ce,y,a){var x=new go.Geometry,b=se*.4,E=.4,z=.5,re=.5,oe=ae(),ne=ae(),ge=ae(),pe=ae();Ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.5,oe,oe,ne,ge,pe);var Le=ee(ne.x,ne.y),be=new go.PathFigure(ne.x*y,ne.y*a,!0);x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,re*a,ge.x*y,ge.y*a,pe.x*y,pe.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+E)*a,(z+E)*y,(re+b)*a,(z+b)*y,(re+E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,re*a,(z-b)*y,(re+E)*a,(z-E)*y,(re+b)*a)),Ze(z-E,re,z-E,re-b,z-b,re-E,z,re-E,.5,ge,pe,ne,oe,oe),be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,ge.x*y,ge.y*a,pe.x*y,pe.y*a)),b=se*.3,E=.3,Ze(z-E,re,z-E,re-b,z-b,re-E,z,re-E,.5,ge,pe,ne,oe,oe),be.add(new go.PathSegment(go.PathSegment.Line,ne.x*y,ne.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z-E)*y,re*a,pe.x*y,pe.y*a,ge.x*y,ge.y*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+E)*a,(z-E)*y,(re+b)*a,(z-b)*y,(re+E)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(z+E)*y,re*a,(z+b)*y,(re+E)*a,(z+E)*y,(re+b)*a)),Ze(z,re-E,z+b,re-E,z+E,re-b,z+E,re,.5,oe,oe,ne,ge,pe),be.add(new go.PathSegment(go.PathSegment.Bezier,ne.x*y,ne.y*a,pe.x*y,pe.y*a,ge.x*y,ge.y*a).close());var be=new go.PathFigure(.45*y,0,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Line,.45*y,.5*a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,.5*a)),be.add(new go.PathSegment(go.PathSegment.Line,.55*y,0).close()),me(oe),me(ne),me(ge),me(pe),me(Le),x.spot1=new go.Spot(.25,.45),x.spot2=new go.Spot(.75,.8),x}),go.Shape.defineFigureGenerator("Fallout",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a/2,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,180,360,y/2,a/2,y/2,a/2));function E(z,re,oe){z.add(new go.PathSegment(go.PathSegment.Move,(.3+re)*y,(.8+oe)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.5+re)*y,(.5+oe)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.1+re)*y,(.5+oe)*a)),z.add(new go.PathSegment(go.PathSegment.Line,(.3+re)*y,(.8+oe)*a).close())}return E(b,0,0),E(b,.4,0),E(b,.2,-.3),x}),go.Shape.defineFigureGenerator("IrritationHazard",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.2*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close()),x.spot1=new go.Spot(.3,.3),x.spot2=new go.Spot(.7,.7),x}),go.Shape.defineFigureGenerator("ElectricalHazard",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.37*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.11*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.04*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.49*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.37*a)),b.add(new go.PathSegment(go.PathSegment.Line,.63*y,.86*a)),b.add(new go.PathSegment(go.PathSegment.Line,.77*y,.91*a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.34*y,.78*a)),b.add(new go.PathSegment(go.PathSegment.Line,.44*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.56*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.68*a).close()),x}),go.Shape.defineFigureGenerator("FireHazard",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.29*y,0,-.25*y,.63*a,.45*y,.44*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.51*y,.42*a,.48*y,.17*a,.54*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.59*y,.18*a,.59*y,.29*a,.58*y,.28*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.75*y,.6*a,.8*y,.34*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.88*y,.31*a,.87*y,.48*a,.88*y,.43*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,1.17*y,.76*a,.82*y,.8*a).close()),x.spot1=new go.Spot(.07,.445),x.spot2=new go.Spot(.884,.958),x}),go.Shape.defineFigureGenerator("BpmnActivityLoop",function(ce,y,a){var x=new go.Geometry,b=.5,E=0,z=0,re=b*se,oe=.4*Math.SQRT2/2+.5,ne=.5-.5*Math.SQRT2/2,ge=1,pe=.5,Le=.5,be=0,xe=new go.PathFigure(oe*y,(1-ne)*a,!1);return x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,pe*a,ge*y,.7*a,ge*y,pe*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Le+E)*y,(be+E)*a,(.5+b+E)*y,(.5-re+E)*a,(.5+re+E)*y,(.5-b+E)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.5-b+E)*y,(.5+z)*a,(.5-re+E)*y,(.5-b+z)*a,(.5-b+E)*y,(.5-re+z)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(.35+E)*y,.9*a,(.5-b+E)*y,(.5+re+z)*a,(.5-re+E)*y,.9*a)),xe.add(new go.PathSegment(go.PathSegment.Move,(.25+E)*y,.8*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(.35+E)*y,.9*a)),xe.add(new go.PathSegment(go.PathSegment.Line,(.2+E)*y,.95*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityParallel",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("BpmnActivitySequential",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),x}),go.Shape.defineFigureGenerator("BpmnActivityAdHoc",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(y,a,!1);x.add(E);var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.2*y,.35*a,.3*y,.35*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.7*y,.65*a,.8*y,.65*a)),x}),go.Shape.defineFigureGenerator("BpmnActivityCompensation",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a).close()),x}),go.Shape.defineFigureGenerator("BpmnTaskMessage",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a).close());var b=new go.PathFigure(0,.2*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskScript",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.7*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,0,.6*y,.5*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,a,.4*y,.5*a,y,.5*a).close());var E=new go.PathFigure(.45*y,.73*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.7*y,.73*a)),E.add(new go.PathSegment(go.PathSegment.Move,.38*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.63*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Move,.31*y,.27*a)),E.add(new go.PathSegment(go.PathSegment.Line,.56*y,.27*a)),x}),go.Shape.defineFigureGenerator("BpmnTaskUser",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(.335*y,(1-.555)*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,y,.68*a,(1-.12)*y,.46*a,(1-.02)*y,.54*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.68*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.335*y,(1-.555)*a,.02*y,.54*a,.12*y,.46*a)),E.add(new go.PathSegment(go.PathSegment.Line,.365*y,(1-.595)*a));var z=.5-.285,re=.5,oe=z,ne=Math.PI/4,ge=4*(1-Math.cos(ne))/(3*Math.sin(ne)),pe=ge*.5,Le=z,be=z,xe=ge*Le,Se=ge*be;E.add(new go.PathSegment(go.PathSegment.Bezier,(re-Le)*y,oe*a,(re-(xe+Le)/2)*y,(oe+(be+Se)/2)*a,(re-Le)*y,(oe+Se)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,re*y,(oe-be)*a,(re-Le)*y,(oe-Se)*a,(re-xe)*y,(oe-be)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(re+Le)*y,oe*a,(re+xe)*y,(oe-be)*a,(re+Le)*y,(oe-Se)*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,(1-.365)*y,(1-.595)*a,(re+Le)*y,(oe+Se)*a,(re+(xe+Le)/2)*y,(oe+(be+Se)/2)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.365)*y,(1-.595)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.555)*a)),E.add(new go.PathSegment(go.PathSegment.Line,(1-.335)*y,(1-.405)*a)),E.add(new go.PathSegment(go.PathSegment.Line,.335*y,(1-.405)*a));var ft=new go.PathFigure(.2*y,a,!1);x.add(ft),ft.add(new go.PathSegment(go.PathSegment.Line,.2*y,.8*a));var Ye=new go.PathFigure(.8*y,a,!1);return x.add(Ye),Ye.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventConditional",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,a).close());var E=new go.PathFigure(.2*y,.2*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.8*a)),x}),go.Shape.defineFigureGenerator("BpmnEventError",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("BpmnEventEscalation",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b);var E=new go.PathFigure(y,a,!1);x.add(E);var z=new go.PathFigure(.1*y,a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a).close()),x}),go.Shape.defineFigureGenerator("Caution",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.05*y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.8*a,0,a,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.55*y,.1*a,.5*y,0,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.95*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,a,y,a,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,a));var E=.05;return b.add(new go.PathSegment(go.PathSegment.Move,(.5-E)*y,.875*a)),b.add(new go.PathSegment(go.PathSegment.Arc,180,-360,.5*y,.875*a,E*y,E*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.325*a,.575*y,.725*a,.625*y,.375*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.75*a,.375*y,.375*a,.425*y,.725*a)),x}),go.Shape.defineFigureGenerator("Recycle",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.45*y,.95*a,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.185*y,.85*a,.17*y,.95*a,.15*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.235*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,.3*y,.625*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,.275*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.05*y,.575*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.1875*y,.95*a,0,.675*a,0,.7*a)),b.add(new go.PathSegment(go.PathSegment.Move,.45*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.775*a)),b.add(new go.PathSegment(go.PathSegment.Line,.22*y,.775*a));var E=new go.PathFigure(.475*y,.2*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.4*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.225*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Line,.275*y,.175*a)),E.add(new go.PathSegment(go.PathSegment.Line,.325*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,.05*a,.35*y,0,.375*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.575*y,.375*a)),E.add(new go.PathSegment(go.PathSegment.Line,.525*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.75*y,.475*a)),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.315*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.32*a)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.05*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,0,.65*y,.05*a,.625*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.38*y,.0105*a));var z=new go.PathFigure(.675*y,.575*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.875*y,.525*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,.85*y,.95*a,y,.8*a,y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.95*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.85*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.725*a)),z.add(new go.PathSegment(go.PathSegment.Line,.65*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,.7*y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Line,y,.775*a)),z.add(new go.PathSegment(go.PathSegment.Move,.675*y,.575*a)),z.add(new go.PathSegment(go.PathSegment.Line,.775*y,.775*a)),x}),go.Shape.defineFigureGenerator("BpmnEventTimer",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*.5,z=new go.PathFigure(y,b*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,a,y,(b+E)*a,(b+E)*y,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,b*a,(b-E)*y,a,0,(b+E)*a)),z.add(new go.PathSegment(go.PathSegment.Bezier,b*y,0,0,(b-E)*a,(b-E)*y,0)),z.add(new go.PathSegment(go.PathSegment.Bezier,y,b*a,(b+E)*y,0,y,(b-E)*a));var re=new go.PathFigure(b*y,0,!1);return x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,b*y,.15*a)),re.add(new go.PathSegment(go.PathSegment.Move,b*y,a)),re.add(new go.PathSegment(go.PathSegment.Line,b*y,.85*a)),re.add(new go.PathSegment(go.PathSegment.Move,0,b*a)),re.add(new go.PathSegment(go.PathSegment.Line,.15*y,b*a)),re.add(new go.PathSegment(go.PathSegment.Move,y,b*a)),re.add(new go.PathSegment(go.PathSegment.Line,.85*y,b*a)),re.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),re.add(new go.PathSegment(go.PathSegment.Line,.58*y,.1*a)),re.add(new go.PathSegment(go.PathSegment.Move,b*y,b*a)),re.add(new go.PathSegment(go.PathSegment.Line,.78*y,.54*a)),x}),go.Shape.defineFigureGenerator("Package",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.15*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close());var E=new go.PathFigure(0,.15*a,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,0)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.65*y,.15*a).close()),x.spot1=new go.Spot(0,.1),x.spot2=new go.Spot(1,1),x}),go.Shape.defineFigureGenerator("Class",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(0,.5*a,!1);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,.5*a).close()),x}),go.Shape.defineFigureGenerator("Component",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close());var E=new go.PathFigure(0,.2*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.2*a)),E.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.2*a).close());var z=new go.PathFigure(0,.6*a,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.6*a)),z.add(new go.PathSegment(go.PathSegment.Line,.45*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,0,.6*a).close()),x}),go.Shape.defineFigureGenerator("Boat Shipment",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.15*y,.6*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.6*a));var E=new go.PathFigure(.15*y,.6*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.85*y,.6*a)),x}),go.Shape.defineFigureGenerator("Customer/Supplier",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.66*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,.33*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Workcell",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.65*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.35*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),x}),go.Shape.defineFigureGenerator("Supermarket",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.33*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.33*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.66*a)),b.add(new go.PathSegment(go.PathSegment.Move,y,.66*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),x}),go.Shape.defineFigureGenerator("TruckShipment",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(y,.8*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,.6*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.8*a).close());var z=.1,re=se*.1,oe=.2,ne=.9,ge=new go.PathFigure((oe-z)*y,ne*a,!0);x.add(ge),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ne-z)*a,(oe-z)*y,(ne-re)*a,(oe-re)*y,(ne-z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe+z)*y,ne*a,(oe+re)*y,(ne-z)*a,(oe+z)*y,(ne-re)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ne+z)*a,(oe+z)*y,(ne+re)*a,(oe+re)*y,(ne+z)*a)),ge.add(new go.PathSegment(go.PathSegment.Bezier,(oe-z)*y,ne*a,(oe-re)*y,(ne+z)*a,(oe-z)*y,(ne+re)*a).close()),z=.1,re=se*.1,oe=.8,ne=.9;var pe=new go.PathFigure((oe-z)*y,ne*a,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ne-z)*a,(oe-z)*y,(ne-re)*a,(oe-re)*y,(ne-z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe+z)*y,ne*a,(oe+re)*y,(ne-z)*a,(oe+z)*y,(ne-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,oe*y,(ne+z)*a,(oe+z)*y,(ne+re)*a,(oe+re)*y,(ne+z)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(oe-z)*y,ne*a,(oe-re)*y,(ne+z)*a,(oe-z)*y,(ne+re)*a).close()),x}),go.Shape.defineFigureGenerator("KanbanPost",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.2*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,0)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,a)),x}),go.Shape.defineFigureGenerator("Forklift",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0));var E=new go.PathFigure(0,.5*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var z=new go.PathFigure(.5*y,.8*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.1*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.8*a)),z.add(new go.PathSegment(go.PathSegment.Line,.5*y,.8*a));var re=new go.PathFigure(.5*y,.7*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y,.7*a));var oe=.1,ne=se*.1,ge=.1,pe=.9,Le=new go.PathFigure((ge-oe)*y,pe*a,!0);x.add(Le),Le.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(pe-oe)*a,(ge-oe)*y,(pe-ne)*a,(ge-ne)*y,(pe-oe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ge+oe)*y,pe*a,(ge+ne)*y,(pe-oe)*a,(ge+oe)*y,(pe-ne)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(pe+oe)*a,(ge+oe)*y,(pe+ne)*a,(ge+ne)*y,(pe+oe)*a)),Le.add(new go.PathSegment(go.PathSegment.Bezier,(ge-oe)*y,pe*a,(ge-ne)*y,(pe+oe)*a,(ge-oe)*y,(pe+ne)*a)),oe=.1,ne=se*.1,ge=.4,pe=.9;var be=new go.PathFigure((ge-oe)*y,pe*a,!0);return x.add(be),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(pe-oe)*a,(ge-oe)*y,(pe-ne)*a,(ge-ne)*y,(pe-oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge+oe)*y,pe*a,(ge+ne)*y,(pe-oe)*a,(ge+oe)*y,(pe-ne)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,ge*y,(pe+oe)*a,(ge+oe)*y,(pe+ne)*a,(ge+ne)*y,(pe+oe)*a)),be.add(new go.PathSegment(go.PathSegment.Bezier,(ge-oe)*y,pe*a,(ge-ne)*y,(pe+oe)*a,(ge-oe)*y,(pe+ne)*a)),x}),go.Shape.defineFigureGenerator("RailShipment",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.1*y,.4*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.45*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.4*a).close());var E=new go.PathFigure(.45*y,.7*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.55*y,.7*a));var z=new go.PathFigure(.55*y,.4*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),z.add(new go.PathSegment(go.PathSegment.Line,.9*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.9*a)),z.add(new go.PathSegment(go.PathSegment.Line,.55*y,.4*a).close());var ge=.05,pe=se*.05,Le=.175,be=.95,re=new go.PathFigure((Le-ge)*y,be*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be-ge)*a,(Le-ge)*y,(be-pe)*a,(Le-pe)*y,(be-ge)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Le+ge)*y,be*a,(Le+pe)*y,(be-ge)*a,(Le+ge)*y,(be-pe)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be+ge)*a,(Le+ge)*y,(be+pe)*a,(Le+pe)*y,(be+ge)*a)),re.add(new go.PathSegment(go.PathSegment.Bezier,(Le-ge)*y,be*a,(Le-pe)*y,(be+ge)*a,(Le-ge)*y,(be+pe)*a));var ge=.05,pe=se*.05,Le=.375,be=.95,oe=new go.PathFigure((Le-ge)*y,be*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be-ge)*a,(Le-ge)*y,(be-pe)*a,(Le-pe)*y,(be-ge)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Le+ge)*y,be*a,(Le+pe)*y,(be-ge)*a,(Le+ge)*y,(be-pe)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be+ge)*a,(Le+ge)*y,(be+pe)*a,(Le+pe)*y,(be+ge)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(Le-ge)*y,be*a,(Le-pe)*y,(be+ge)*a,(Le-ge)*y,(be+pe)*a));var ge=.05,pe=se*.05,Le=.625,be=.95,ne=new go.PathFigure((Le-ge)*y,be*a,!0);x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be-ge)*a,(Le-ge)*y,(be-pe)*a,(Le-pe)*y,(be-ge)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Le+ge)*y,be*a,(Le+pe)*y,(be-ge)*a,(Le+ge)*y,(be-pe)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be+ge)*a,(Le+ge)*y,(be+pe)*a,(Le+pe)*y,(be+ge)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(Le-ge)*y,be*a,(Le-pe)*y,(be+ge)*a,(Le-ge)*y,(be+pe)*a));var ge=.05,pe=se*.05,Le=.825,be=.95,xe=new go.PathFigure((Le-ge)*y,be*a,!0);x.add(xe),xe.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be-ge)*a,(Le-ge)*y,(be-pe)*a,(Le-pe)*y,(be-ge)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Le+ge)*y,be*a,(Le+pe)*y,(be-ge)*a,(Le+ge)*y,(be-pe)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,Le*y,(be+ge)*a,(Le+ge)*y,(be+pe)*a,(Le+pe)*y,(be+ge)*a)),xe.add(new go.PathSegment(go.PathSegment.Bezier,(Le-ge)*y,be*a,(Le-pe)*y,(be+ge)*a,(Le-ge)*y,(be+pe)*a).close());var Se=new go.PathFigure(0,a,!1);return x.add(Se),Se.add(new go.PathSegment(go.PathSegment.Line,y,a).close()),x}),go.Shape.defineFigureGenerator("Warehouse",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,0).close());var E=new go.PathFigure(0,.2*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.2*a).close());var z=new go.PathFigure(.15*y,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,.5*a)),z.add(new go.PathSegment(go.PathSegment.Line,.4*y,a)),z.add(new go.PathSegment(go.PathSegment.Line,.15*y,a).close());var re=.05,oe=se*.05,ne=.35,ge=.775,pe=new go.PathFigure((ne-re)*y,ge*a,!0);return x.add(pe),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ge-re)*a,(ne-re)*y,(ge-oe)*a,(ne-oe)*y,(ge-re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne+re)*y,ge*a,(ne+oe)*y,(ge-re)*a,(ne+re)*y,(ge-oe)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,ne*y,(ge+re)*a,(ne+re)*y,(ge+oe)*a,(ne+oe)*y,(ge+re)*a)),pe.add(new go.PathSegment(go.PathSegment.Bezier,(ne-re)*y,ge*a,(ne-oe)*y,(ge+re)*a,(ne-re)*y,(ge+oe)*a).close()),x}),go.Shape.defineFigureGenerator("ControlCenter",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a).close()),x}),go.Shape.defineFigureGenerator("Bluetooth",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.75*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.25*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x}),go.Shape.defineFigureGenerator("Bookmark",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),b.add(new go.PathSegment(go.PathSegment.Line,0,0)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Move,.2*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,.8*y,.4*a)),x}),go.Shape.defineFigureGenerator("Globe",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.5*a,.75*y,0,y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,y,.75*a,.75*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.25*y,a,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,0,.25*a,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,a,.15*y,.25*a,.15*y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.85*y,.75*a,.85*y,.25*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.15*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.15*a,.35*y,.3*a,.65*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.1675*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8325*y,.85*a,.35*y,.7*a,.65*y,.7*a)),x}),go.Shape.defineFigureGenerator("Wave",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.25*a,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.25*a,.1*y,0,.2*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.25*a,.425*y,.5*a,.575*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.25*a,.8*y,0,.9*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.75*a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.25*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.75*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.75*a,.1*y,.5*a,.2*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.7*y,.75*a,.425*y,a,.575*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.75*a,.8*y,.5*a,.9*y,.5*a)),x}),go.Shape.defineFigureGenerator("Operator",function(ce,y,a){var x=new go.Geometry,b=.3,E=se*.3,z=.5,re=.7,oe=new go.PathFigure((z-b)*y,re*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re-b)*a,(z-b)*y,(re-E)*a,(z-E)*y,(re-b)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,re*a,(z+E)*y,(re-b)*a,(z+b)*y,(re-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+b)*a,(z+b)*y,(re+E)*a,(z+E)*y,(re+b)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,re*a,(z-E)*y,(re+b)*a,(z-b)*y,(re+E)*a));var ne=new go.PathFigure(0,.7*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,y,.7*a,0,0,y,0)),x}),go.Shape.defineFigureGenerator("TripleFanBlades",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.5*y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.65*y,.3*a,.65*y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.35*y,.5*a,.35*y,.3*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,a,.3*y,.6*a,.1*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.2*y,a,.35*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.65*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,a,.7*y,.6*a,.9*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.65*a,.8*y,a,.65*y,.95*a)),x}),go.Shape.defineFigureGenerator("CentrifugalPump",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y,0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,0,.075*a,0,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.4*y,a,0,a,.4*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.4*a,.8*y,a,.85*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,0)),x}),go.Shape.defineFigureGenerator("Battery",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,.4*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.1*a));var E=new go.PathFigure(0,.6*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,0,.4*a)),E.add(new go.PathSegment(go.PathSegment.Line,y,.4*a)),x}),go.Shape.defineFigureGenerator("Delete",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*.5,z=.5,re=.5,oe=new go.PathFigure((z-b)*y,re*a,!0);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re-b)*a,(z-b)*y,(re-E)*a,(z-E)*y,(re-b)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,re*a,(z+E)*y,(re-b)*a,(z+b)*y,(re-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+b)*a,(z+b)*y,(re+E)*a,(z+E)*y,(re+b)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,re*a,(z-E)*y,(re+b)*a,(z-b)*y,(re+E)*a));var ne=new go.PathFigure(.15*y,.5*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,.85*y,.5*a)),x}),go.Shape.defineFigureGenerator("Flag",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.1*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Move,0,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.1*a,.15*y,0,.35*y,0)),b.add(new go.PathSegment(go.PathSegment.Bezier,y,.1*a,.65*y,.2*a,.85*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.5*a,.85*y,.6*a,.65*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.5*a,.35*y,.4*a,.15*y,.4*a).close()),x}),go.Shape.defineFigureGenerator("Help",function(ce,y,a){var x=new go.Geometry,b=.5,E=se*.5,z=.5,re=.5,oe=new go.PathFigure((z-b)*y,re*a,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re-b)*a,(z-b)*y,(re-E)*a,(z-E)*y,(re-b)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,re*a,(z+E)*y,(re-b)*a,(z+b)*y,(re-E)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+b)*a,(z+b)*y,(re+E)*a,(z+E)*y,(re+b)*a)),oe.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,re*a,(z-E)*y,(re+b)*a,(z-b)*y,(re+E)*a).close()),b=.05,E=se*.05,z=.5,re=.8;var ne=new go.PathFigure((z-b)*y,re*a,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re-b)*a,(z-b)*y,(re-E)*a,(z-E)*y,(re-b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z+b)*y,re*a,(z+E)*y,(re-b)*a,(z+b)*y,(re-E)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,z*y,(re+b)*a,(z+b)*y,(re+E)*a,(z+E)*y,(re+b)*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,(z-b)*y,re*a,(z-E)*y,(re+b)*a,(z-b)*y,(re+E)*a).close()),ne.add(new go.PathSegment(go.PathSegment.Move,.5*y,.7*a)),ne.add(new go.PathSegment(go.PathSegment.Line,.5*y,.5*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.5*y,.2*a,.75*y,.475*a,.75*y,.225*a)),ne.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.35*a,.4*y,.2*a,.3*y,.25*a)),x}),go.Shape.defineFigureGenerator("Location",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.5*y,a,!0).add(new go.PathSegment(go.PathSegment.Line,.75*y,.5*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5*y,0,.975*y,.025*a,.5*y,0)).add(new go.PathSegment(go.PathSegment.Bezier,.25*y,.5*a,.5*y,0,.025*y,.025*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)).add(new go.PathSegment(go.PathSegment.Arc,270,360,.5*y,.3*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Lock",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var E=new go.PathFigure(.2*y,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.3*a)),x}),go.Shape.defineFigureGenerator("Unlocked",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,.5*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.5*a));var E=new go.PathFigure(.2*y,.5*a,!1);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Move,.2*y,.5*a)),E.add(new go.PathSegment(go.PathSegment.Line,.2*y,.3*a)),E.add(new go.PathSegment(go.PathSegment.Bezier,.8*y,.3*a,.25*y,0,.75*y,0)),E.add(new go.PathSegment(go.PathSegment.Line,.8*y,.35*a)),x}),go.Shape.defineFigureGenerator("Gear",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(.9375*y,.56246875*a,!0).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.80621875*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.763*y,.3316875*a,.79840625*y,.39915625*a,.7834375*y,.3635*a)).add(new go.PathSegment(go.PathSegment.Line,.8566875*y,.23796875*a)).add(new go.PathSegment(go.PathSegment.Line,.76825*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.67596875*y,.24184375*a)).add(new go.PathSegment(go.PathSegment.Bezier,.5625*y,.19378125*a,.64228125*y,.2188125*a,.603875*y,.2021875*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.0625*a)).add(new go.PathSegment(go.PathSegment.Line,.4375*y,.19378125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.32775*y,.239375*a,.39759375*y,.20190625*a,.36053125*y,.2176875*a)).add(new go.PathSegment(go.PathSegment.Line,.2379375*y,.14959375*a)).add(new go.PathSegment(go.PathSegment.Line,.14953125*y,.2379375*a)).add(new go.PathSegment(go.PathSegment.Line,.23934375*y,.3278125*a)).add(new go.PathSegment(go.PathSegment.Bezier,.19378125*y,.4375*a,.21765625*y,.36059375*a,.201875*y,.397625*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.4375*a)).add(new go.PathSegment(go.PathSegment.Line,.0625*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Line,.1938125*y,.5625*a)).add(new go.PathSegment(go.PathSegment.Bezier,.241875*y,.67596875*a,.20221875*y,.603875*a,.21884375*y,.64228125*a)).add(new go.PathSegment(go.PathSegment.Line,.1495625*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.238*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.3316875*y,.76296875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.43753125*y,.80621875*a,.36353125*y,.78340625*a,.3991875*y,.79840625*a)).add(new go.PathSegment(go.PathSegment.Line,.43753125*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.9375*a)).add(new go.PathSegment(go.PathSegment.Line,.5625*y,.80621875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.67225*y,.760625*a,.602375*y,.79809375*a,.63946875*y,.78234375*a)).add(new go.PathSegment(go.PathSegment.Line,.76828125*y,.8566875*a)).add(new go.PathSegment(go.PathSegment.Line,.85671875*y,.76825*a)).add(new go.PathSegment(go.PathSegment.Line,.76065625*y,.67221875*a)).add(new go.PathSegment(go.PathSegment.Bezier,.80621875*y,.56246875*a,.78234375*y,.63940625*a,.798125*y,.602375*a)).add(new go.PathSegment(go.PathSegment.Line,.9375*y,.56246875*a).close()).add(new go.PathSegment(go.PathSegment.Move,.5*y,.6*a)).add(new go.PathSegment(go.PathSegment.Arc,90,360,.5*y,.5*a,.1*y,.1*a).close()))}),go.Shape.defineFigureGenerator("Hand",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.5*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Bezier,.1*y,.3*a,0,.375*a,.05*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.45*y,.075*a,.3*y,.225*a,.4*y,.175*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.525*y,.075*a,.46*y,.05*a,.525*y,.05*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.3*y,.4*a,.525*y,.275*a,.475*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.55*a,y,.4*a,y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.425*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.55*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.6*y,.7*a,.675*y,.55*a,.675*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.575*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.575*y,.85*a,.65*y,.7*a,.65*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Line,.525*y,.85*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.535*y,a,.61*y,.85*a,.61*y,a)),b.add(new go.PathSegment(go.PathSegment.Bezier,0,.9*a,.435*y,a,0,a).close()),x}),go.Shape.defineFigureGenerator("Map",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,.2*a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.25*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.25*y,.8*a)),b.add(new go.PathSegment(go.PathSegment.Move,.5*y,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a)),b.add(new go.PathSegment(go.PathSegment.Move,.75*y,0)),b.add(new go.PathSegment(go.PathSegment.Line,.75*y,.8*a)),x}),go.Shape.defineFigureGenerator("Eject",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y,a)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.7)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.7).close());var E=new go.PathFigure(0,a*.6,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y,.6*a)),E.add(new go.PathSegment(go.PathSegment.Line,.5*y,0).close()),x}),go.Shape.defineFigureGenerator("Pencil",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.2*a).close()))}),go.Shape.defineFigureGenerator("Building",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*1,a*1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.046*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.3)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,(1-.046)*y,a*.85)),b.add(new go.PathSegment(go.PathSegment.Line,y,a*.85).close());var E=new go.PathFigure(.126*y,.85*a,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,.126*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.322*y,.45*a)),E.add(new go.PathSegment(go.PathSegment.Line,.322*y,.85*a).close());var z=new go.PathFigure(.402*y,.85*a,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,.402*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.45*a)),z.add(new go.PathSegment(go.PathSegment.Line,.598*y,.85*a).close());var re=new go.PathFigure(.678*y,.85*a,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,.678*y,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*y,.45*a)),re.add(new go.PathSegment(go.PathSegment.Line,.874*y,.85*a).close());var oe=new go.PathFigure(.5*y,.1*a,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,(.046+.15)*y,.3*a)),oe.add(new go.PathSegment(go.PathSegment.Line,(1-(.046+.15))*y,.3*a).close()),x}),go.Shape.defineFigureGenerator("Staircase",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.8)),b.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.6)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.4)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.2)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.15)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*.95).close()),x}),go.Shape.defineFigureGenerator("5Bars",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,a*1,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.184,a*(1-.184)).close());var E=new go.PathFigure(y*.204,a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.204,a*(1-.184))),E.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*(1-.184*2))),E.add(new go.PathSegment(go.PathSegment.Line,y*.388,a*1).close());var z=new go.PathFigure(y*.408,a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.408,a*(1-.184*2))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*(1-.184*3))),z.add(new go.PathSegment(go.PathSegment.Line,y*.592,a*1).close());var re=new go.PathFigure(y*.612,a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*.612,a*(1-.184*3))),re.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*(1-.184*4))),re.add(new go.PathSegment(go.PathSegment.Line,y*.796,a*1).close());var oe=new go.PathFigure(y*.816,a,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.816,a*(1-.184*4))),oe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-.184*5))),oe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1).close()),x}),go.Shape.defineFigureGenerator("PC",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,0).close());var E=new go.PathFigure(y*.055,.07*a,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.07)),E.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.1).close());var z=new go.PathFigure(y*.055,.13*a,!0);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.13)),z.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.16)),z.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.16).close());var re=new go.PathFigure(y*.055,.18*a,!0);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.18)),re.add(new go.PathSegment(go.PathSegment.Line,y*.245,a*.21)),re.add(new go.PathSegment(go.PathSegment.Line,y*.055,a*.21).close());var oe=new go.PathFigure(y*1,0,!0);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.4,0)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.65)),oe.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.65).close()),x}),go.Shape.defineFigureGenerator("Plane",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(.55*y,a,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.7*a)),b.add(new go.PathSegment(go.PathSegment.Line,.1*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.35*y,.525*a,0,.4*a,.225*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.4*y,.475*a)),b.add(new go.PathSegment(go.PathSegment.Line,.15*y,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,.2*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.325*a)),b.add(new go.PathSegment(go.PathSegment.Line,.85*y,.1*a)),b.add(new go.PathSegment(go.PathSegment.Bezier,.9*y,.2*a,.975*y,0,y,.08*a)),b.add(new go.PathSegment(go.PathSegment.Line,.7*y,.45*a)),b.add(new go.PathSegment(go.PathSegment.Line,.6*y,.95*a)),b.add(new go.PathSegment(go.PathSegment.Line,.55*y,a).close()),x}),go.Shape.defineFigureGenerator("Key",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*1,a*.5,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.4*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.2*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.35*a)),b.add(new go.PathSegment(go.PathSegment.Line,0,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.15,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,.8*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.65*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,.55*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,.6*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,.575*a)),b.add(new go.PathSegment(go.PathSegment.Line,y*.9,.6*a).close()),b.add(new go.PathSegment(go.PathSegment.Move,.17*y,.425*a)),b.add(new go.PathSegment(go.PathSegment.Arc,270,360,.17*y,.5*a,.075*y,.075*a).close()),x}),go.Shape.defineFigureGenerator("FilmTape",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(0,0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Arc,270,180,y*0,y*.3,y*.055)),b.add(new go.PathSegment(go.PathSegment.Line,0,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.08,a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*1),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*2),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*3),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*4),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*5),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*6),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*7),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*8),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*9),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*10),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*11),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*12),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*13),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*14),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*.95)),b.add(new go.PathSegment(go.PathSegment.Line,y*(.08+.056*15),a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var E=new go.PathFigure(0,0,!1);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*0)),E.add(new go.PathSegment(go.PathSegment.Arc,270,-180,y*1,y*.3,y*.055)),E.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1));var z=new go.PathFigure(y*.11,a*.1,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.1)),z.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*0),a*.8)),z.add(new go.PathSegment(go.PathSegment.Line,y*.11,a*.8).close());var re=new go.PathFigure(y*(.11+.24133333*1+.028*1),a*.1,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.1)),re.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*1),a*.8)),re.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*1+.028*1),a*.8).close());var oe=new go.PathFigure(y*(.11+.24133333*2+.028*2),a*.1,!1);return x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.1)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*3+.028*2),a*.8)),oe.add(new go.PathSegment(go.PathSegment.Line,y*(.11+.24133333*2+.028*2),a*.8).close()),x}),go.Shape.defineFigureGenerator("FloppyDisk",function(ce,y,a){var x=new go.Geometry,b=8,E=b*se,z=new go.PathFigure(b,0,!1);x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.86,0)),z.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.14)),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)),z.add(new go.PathSegment(go.PathSegment.Line,0,b)),z.add(new go.PathSegment(go.PathSegment.Bezier,b,0,0,E,E,0).close());var re=new go.PathFigure(y*.83,0,!1);x.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.3)),re.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*0).close());var oe=new go.PathFigure(y*.83,a*1,!1);x.add(oe),oe.add(new go.PathSegment(go.PathSegment.Line,y*.83,a*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*.5)),oe.add(new go.PathSegment(go.PathSegment.Line,y*.17,a*1).close());var ne=new go.PathFigure(y*.78,a*.05,!1);return x.add(ne),ne.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.05)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.25)),ne.add(new go.PathSegment(go.PathSegment.Line,y*.78,a*.25).close()),x}),go.Shape.defineFigureGenerator("SpeechBubble",function(ce,y,a){var x=ce?ce.parameter1:NaN;(isNaN(x)||x<0)&&(x=15),x=Math.min(x,y/3),x=Math.min(x,a/3);var b=x*se,E=a*.8,z=new go.Geometry,re=new go.PathFigure(x,0,!0);return z.add(re),re.add(new go.PathSegment(go.PathSegment.Line,y-x,0)),re.add(new go.PathSegment(go.PathSegment.Bezier,y,x,y-b,0,y,b)),re.add(new go.PathSegment(go.PathSegment.Line,y,E-x)),re.add(new go.PathSegment(go.PathSegment.Bezier,y-x,E,y,E-b,y-b,E)),re.add(new go.PathSegment(go.PathSegment.Line,y*.7,E)),re.add(new go.PathSegment(go.PathSegment.Line,y*.7,a)),re.add(new go.PathSegment(go.PathSegment.Line,y*.55,E)),re.add(new go.PathSegment(go.PathSegment.Line,x,E)),re.add(new go.PathSegment(go.PathSegment.Bezier,0,E-x,b,E,0,E-b)),re.add(new go.PathSegment(go.PathSegment.Line,0,x)),re.add(new go.PathSegment(go.PathSegment.Bezier,x,0,0,b,b,0).close()),b>1?(z.spot1=new go.Spot(0,0,b,b),z.spot2=new go.Spot(1,.8,-b,-b)):(z.spot1=go.Spot.TopLeft,z.spot2=new go.Spot(1,.8)),z}),go.Shape.defineFigureGenerator("Repeat",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*.45,!0);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.2,a*.45).close());var E=new go.PathFigure(y*1,a*.55,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.55)),E.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.1)),E.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),E.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*.55).close()),x}),go.Shape.defineFigureGenerator("Windows",function(ce,y,a){return new go.Geometry().add(new go.PathFigure(0,0,!0).add(new go.PathSegment(go.PathSegment.Line,y,0)).add(new go.PathSegment(go.PathSegment.Line,y,a)).add(new go.PathSegment(go.PathSegment.Line,0,a).close()).add(new go.PathSegment(go.PathSegment.Move,.4*y,.4*a)).add(new go.PathSegment(go.PathSegment.Line,.4*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.8*a)).add(new go.PathSegment(go.PathSegment.Line,.9*y,.4*a).close()).add(new go.PathSegment(go.PathSegment.Move,.2*y,.1*a)).add(new go.PathSegment(go.PathSegment.Line,.2*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.7*y,.1*a).close()).add(new go.PathSegment(go.PathSegment.Move,.1*y,.6*a)).add(new go.PathSegment(go.PathSegment.Line,.1*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.9*a)).add(new go.PathSegment(go.PathSegment.Line,.5*y,.6*a).close()))}),go.Shape.defineFigureGenerator("Terminal",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*.1,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.9)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.9).close());var E=new go.PathFigure(y*.1,a*.2,!0);x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.25)),E.add(new go.PathSegment(go.PathSegment.Line,y*.22,a*.285)),E.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.32)),E.add(new go.PathSegment(go.PathSegment.Line,y*.1,a*.37)),E.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.32)),E.add(new go.PathSegment(go.PathSegment.Line,y*.275,a*.25).close());var z=new go.PathFigure(y*.28,a*.37,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.37)),z.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.41)),z.add(new go.PathSegment(go.PathSegment.Line,y*.28,a*.41).close()),x}),go.Shape.defineFigureGenerator("Beaker",function(ce,y,a){var x=new go.Geometry,b=15,E=b*se,z=new go.PathFigure(y*.62,a*.475,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y,a-b)),z.add(new go.PathSegment(go.PathSegment.Bezier,y-b,a,y,a-E,y-E,a)),z.add(new go.PathSegment(go.PathSegment.Line,b,a)),z.add(new go.PathSegment(go.PathSegment.Bezier,0,a-b,E,a,0,a-E)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.475)),z.add(new go.PathSegment(go.PathSegment.Line,y*.38,a*.03)),z.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*0)),z.add(new go.PathSegment(go.PathSegment.Line,y*.62,a*.03).close()),E>1?(x.spot1=new go.Spot(0,0,E,E),x.spot2=new go.Spot(1,1,-E,-E)):(x.spot1=go.Spot.TopLeft,x.spot2=go.Spot.BottomRight),x}),go.Shape.defineFigureGenerator("Download",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-E)).close());var z=new go.PathFigure(y*.4,a*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.66)),z.add(new go.PathSegment(go.PathSegment.Line,y*(1-.26),a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.44)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*0).close()),x}),go.Shape.defineFigureGenerator("Bin",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var E=.1/.3;return b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-E)).close()),x}),go.Shape.defineFigureGenerator("Upload",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*0,a*1,!0);x.add(b);var E=.1/.3;b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.8,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.66,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.755,a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*.93,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.64,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.61,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.39,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.36,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*.07,a*(1-E))),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.755),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*.055)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.66),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*(1-.8),a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*(1-E)).close());var z=new go.PathFigure(y*.5,a*0,!0);return x.add(z),z.add(new go.PathSegment(go.PathSegment.Line,y*.26,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.4,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.63)),z.add(new go.PathSegment(go.PathSegment.Line,y*.6,a*.25)),z.add(new go.PathSegment(go.PathSegment.Line,y*.74,a*.25).close()),x}),go.Shape.defineFigureGenerator("EmptyDrink",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close()),x}),go.Shape.defineFigureGenerator("Drink",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.15,a*0,!1);x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.85,a*0)),b.add(new go.PathSegment(go.PathSegment.Line,y*.7,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.3,a*1).close());var E=new go.PathFigure(y*.235,a*.28,!0);return x.add(E),E.add(new go.PathSegment(go.PathSegment.Line,y*.765,a*.28)),E.add(new go.PathSegment(go.PathSegment.Line,y*.655,a*.97)),E.add(new go.PathSegment(go.PathSegment.Line,y*.345,a*.97).close()),x}),go.Shape.defineFigureGenerator("4Arrows",function(ce,y,a){var x=new go.Geometry,b=new go.PathFigure(y*.5,a*0,!0);return x.add(b),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*1,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*.75,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.55,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.65,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.5,a*1)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.75)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.55)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.65)),b.add(new go.PathSegment(go.PathSegment.Line,y*0,a*.5)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.35)),b.add(new go.PathSegment(go.PathSegment.Line,y*.25,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.45)),b.add(new go.PathSegment(go.PathSegment.Line,y*.45,a*.25)),b.add(new go.PathSegment(go.PathSegment.Line,y*.35,a*.25).close()),x}),go.Shape.defineFigureGenerator("Connector","Ellipse"),go.Shape.defineFigureGenerator("Alternative","TriangleUp"),go.Shape.defineFigureGenerator("Merge","TriangleUp"),go.Shape.defineFigureGenerator("Decision","Diamond"),go.Shape.defineFigureGenerator("DataTransmissions","Hexagon"),go.Shape.defineFigureGenerator("Gate","Crescent"),go.Shape.defineFigureGenerator("Delay","HalfEllipse"),go.Shape.defineFigureGenerator("Input","Parallelogram1"),go.Shape.defineFigureGenerator("ManualLoop","ManualOperation"),go.Shape.defineFigureGenerator("ISOProcess","Chevron"),go.Shape.defineFigureGenerator("MessageToUser","SquareArrow"),go.Shape.defineFigureGenerator("MagneticData","Cylinder1"),go.Shape.defineFigureGenerator("DirectData","Cylinder4"),go.Shape.defineFigureGenerator("StoredData","DataStorage"),go.Shape.defineFigureGenerator("SequentialData","MagneticTape"),go.Shape.defineFigureGenerator("Subroutine","Procedure")},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 ht={},wt="5.0",ee={},ae=null,me=!1,Ie=!1,Ze=null,Me=!1,ze=null,se=null,Te=0;Te<arguments.length;Te++){var je=arguments[Te];if(je!==null)switch(typeof je){case"number":wt=je.toFixed(1);break;case"string":je.match(new RegExp("^[0-9]\\.[0-9]+$"))?wt=je:Ze=je;break;case"object":typeof je.is3D!="undefined"?ae=je:ee=je;break;case"boolean":me=je,Ie=!0;break}}ae===null&&(ae={is3D:!1,AV:!1,SV:!1,CV:!1,EV2:!1,CP:!1,PC:!1,DA:!1,FI:!1,PV:!1,macro:!1},ee.material_id!==void 0&&!Ie&&(me=!0)),Ze!==null&&ee.id===void 0&&(ee.id=Ze);var He="",_e="",$e=!1,we=null,ce=null,y=null,a=!1,x=null,b=null,E=null,z=null,re=null;ee.height!==void 0&&(ee.height=Math.round(ee.height)),ee.width!==void 0&&(ee.width=Math.round(ee.width));var oe=function(Ue){return parseFloat(Ue)>4?parseFloat(Ue):5};ht.setHTML5Codebase=function(Ue,Ct){se=Ue,xt(Ue,Ct)},ht.setJavaCodebase=ht.setJavaCodebaseVersion=ht.isCompiledInstalled=ht.setPreCompiledScriptPath=ht.setPreCompiledResourcePath=function(){},ht.setHTML5CodebaseVersion=function(Ue,Ct){var Ft=parseFloat(Ue);if(Ft!==NaN&&Ft<5){console.log("The GeoGebra HTML5 codebase version "+Ft+" is deprecated. Using version latest instead.");return}ze=Ue,lt(Ue,Ct)},ht.getHTML5CodebaseVersion=function(){return ce},ht.getParameters=function(){return ee},ht.setFontsCSSURL=function(Ue){z=Ue},ht.setGiacJSURL=function(Ue){},ht.setJNLPFile=function(Ue){He=Ue},ht.setJNLPBaseDir=function(Ue){},ht.inject=function(){function Ue(){return window.frameElement&&window.frameElement.getAttribute("data-singleton")}for(var Ct="auto",Ft=ee.id,Rn,nt=!1,kt=0;kt<arguments.length;kt++){var Ce=arguments[kt];typeof Ce=="string"?(Ce=Ce.toLowerCase(),Ce.match(/^(prefer)?(java|html5|compiled|auto|screenshot)$/)?Ct=Ce:Ft=arguments[kt]):typeof Ce=="boolean"?nt=Ce:Ce instanceof HTMLElement&&(Rn=Ce)}hn();function hn(){if(!Me){setTimeout(hn,200);return}Ct=en(Ct);var zn=Rn||document.getElementById(Ft);if(!zn){console.log("possibly bug on ajax loading? ");return}if(ht.removeExistingApplet(zn,!1),ee.width===void 0&&zn.clientWidth&&(ee.width=zn.clientWidth),ee.height===void 0&&zn.clientHeight&&(ee.height=zn.clientHeight),!(ee.width&&ee.height)&&Ct==="html5"&&(delete ee.width,delete ee.height),we=Ct,Ct==="screenshot")Ye(zn,ee);else{var ba=!1;ee.hasOwnProperty("playButton")&&ee.playButton||ee.hasOwnProperty("clickToLoad")&&ee.clickToLoad?ba=!0:ee.hasOwnProperty("playButtonAutoDecide")&&ee.playButtonAutoDecide&&(ba=(!ne()||Ue())&&ge()),ba?(we="screenshot",qe(zn,ee,nt,Ct)):ft(zn,ee,nt)}}};function ne(){try{return window.self!==window.top}catch(Ue){return!0}}function ge(){return ee.hasOwnProperty("screenshotGenerator")&&ee.screenshotGenerator?!1:Math.max(screen.width,screen.height)<800}ht.getViews=function(){return ae},ht.isJavaInstalled=function(){return!1};var pe=function(Ue){var Ct=function(kt){var Ce=JSON.parse(kt),hn=function(Yn){return Yn.type=="G"||Yn.type=="E"},zn=Ce.elements?Ce.elements.filter(hn)[0]:Ce;if(!zn||!zn.url){Ft();return}ee.fileName=zn.url,Le(zn.settings||{}),ae.is3D=!0;var ba="https://www.geogebra.org/images/";ht.setPreviewImage(x||zn.previewUrl,ba+"GeoGebra_loading.png",ba+"applet_play.png"),Ue()},Ft=function(){ee.onError&&ee.onError(),nn("Error: Fetching material (id "+ee.material_id+") failed.",ee)},Rn=location.host.match(/(www|stage|beta|groot|alpha).geogebra.(org|net)/)?location.host:"www.geogebra.org",nt="/materials/"+ee.material_id+"?scope=basic";be("https://"+Rn+"/api/proxy.php?path="+encodeURIComponent(nt),Ct,Ft)};function Le(Ue){var Ct=["width","height","showToolBar","showMenuBar","showAlgebraInput","allowStyleBar","showResetIcon","enableLabelDrags","enableShiftDragZoom","enableRightClick","appName"];["enableLabelDrags","enableShiftDragZoom","enableRightClick"].forEach(function(Ft){Ue[Ft]=!!Ue[Ft]}),Ct.forEach(function(Ft){ee[Ft]===void 0&&Ue[Ft]!==void 0&&(ee[Ft]=Ue[Ft])}),ee.showToolBarHelp===void 0&&(ee.showToolBarHelp=ee.showToolBar)}function be(Ue,Ct,Ft){var Rn=new XMLHttpRequest;Rn.open("GET",Ue),Rn.onload=function(){Ct(Rn.responseText)},Rn.onerror=Ft,Rn.send()}ht.isHTML5Installed=function(){return!0},ht.getLoadedAppletType=function(){return we},ht.setPreviewImage=function(Ue,Ct,Ft){x=Ue,b=Ct,E=Ft},ht.removeExistingApplet=function(Ue,Ct){var Ft;typeof Ue=="string"&&(Ue=document.getElementById(Ue)),we=null;var Rn=null;for(Ft=0;Ft<Ue.childNodes.length;Ft++){var nt=Ue.childNodes[Ft],kt=nt.className;kt==="applet_screenshot"?Ct?(nt.style.display="block",we="screenshot"):nt.style.display="none":kt!=="applet_scaler prerender"&&(Ue.removeChild(nt),Rn=kt&&kt.indexOf("appletParameters")!=-1?nt.id:null,Ft--)}var Ce=ee.id!==void 0?ee.id:Rn,hn=window[Ce];hn&&typeof hn.getBase64=="function"&&(hn.remove(),window[Ce]=null)},ht.refreshHitPoints=function(){if(oe(ggbHTML5LoadedCodebaseVersion)>=5)return!0;var Ue=ht.getAppletObject();return Ue&&typeof Ue.recalculateEnvironments=="function"?(Ue.recalculateEnvironments(),!0):!1},ht.startAnimation=function(){var Ue=ht.getAppletObject();return Ue&&typeof Ue.startAnimation=="function"?(Ue.startAnimation(),!0):!1},ht.stopAnimation=function(){var Ue=ht.getAppletObject();return Ue&&typeof Ue.stopAnimation=="function"?(Ue.stopAnimation(),!0):!1},ht.getAppletObject=function(){var Ue=ee.id!==void 0?ee.id:"ggbApplet";return window[Ue]},ht.resize=function(){};var xe=function(Ue,Ct,Ft){var Rn=document.createElement("param");Rn.setAttribute("name",Ct),Rn.setAttribute("value",Ft),Ue.appendChild(Rn)},Se=function(Ue){return Ue&&Ue!=="false"},ft=function(Ue,Ct,Ft){oe(ce)<=4.2&&(Ft=!0);var Rn=!isRenderGGBElementEnabled&&!scriptLoadStarted;(!isRenderGGBElementEnabled&&!scriptLoadStarted||ggbHTML5LoadedCodebaseVersion!==ce||ggbHTML5LoadedCodebaseIsWebSimple&&!a)&&(Rn=!0,isRenderGGBElementEnabled=!1,scriptLoadStarted=!1);var nt=document.createElement("div");nt.classList.add("appletParameters","notranslate");var kt=Ct.width,Ce=Ct.height;if(Ct.disableAutoScale=Ct.disableAutoScale===void 0?GGBAppletUtils.isFlexibleWorksheetEditor():Ct.disableAutoScale,Ct.width!==void 0)if(oe(ce)<=4.4)Se(Ct.showToolBar)&&(Ct.height-=7),Se(Ct.showAlgebraInput)&&(Ct.height-=37),Ct.width<605&&Se(Ct.showToolBar)&&(Ct.width=605,kt=605);else{var hn=100;(Se(Ct.showToolBar)||Se(Ct.showMenuBar))&&(Ct.hasOwnProperty("customToolBar")&&(Ct.customToolbar=Ct.customToolBar),hn=Se(Ct.showMenuBar)?245:155),kt<hn&&(Ct.width=hn,kt=hn)}nt.style.border="none",nt.style.display="inline-block";for(var zn in Ct)Ct.hasOwnProperty(zn)&&zn!=="appletOnLoad"&&nt.setAttribute("data-param-"+zn,Ct[zn]);z&&nt.setAttribute("data-param-fontscssurl",z),ht.resize=function(){GGBAppletUtils.responsiveResize(Ue,Ct)},window.addEventListener("resize",function(Ca){ht.resize()});var ba=typeof Ct.appletOnLoad=="function"?Ct.appletOnLoad:function(){};if(!Ft&&Ct.width!==void 0){Ct.hasOwnProperty("showSplash")||nt.setAttribute("data-param-showSplash","false");var Yn=Ue.querySelector(".applet_scaler.prerender"),Rt=Yn!==null;if(Rt)var Ge=Yn.querySelector(".ggb_preview");else{var Ge=zt(kt,Ce,Ct.borderColor,!1);Yn=document.createElement("div"),Yn.className="applet_scaler",Yn.style.position="relative",Yn.style.display="block",Yn.style.width=kt+"px",Yn.style.height=Ce+"px"}window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(Yn,"66%"),oe(ce)>=5?(Ct.appletOnLoad=function(Ca){var Ee=Ue.querySelector(".ggb_preview");Ee&&Ee.parentNode.removeChild(Ee),window.GGBT_spinner&&window.GGBT_spinner.removeSpinner(Yn),window.GGBT_wsf_view&&$(window).trigger("resize"),ba(Ca)},Rt||Yn.appendChild(Ge)):nt.appendChild(Ge),Yn.appendChild(nt),Rt||Ue.appendChild(Yn),setTimeout(function(){ht.resize()},1)}else{var Fe=document.createElement("div");Fe.className="applet_scaler",Fe.style.position="relative",Fe.style.display="block",Fe.appendChild(nt),Ue.appendChild(Fe),Ct.appletOnLoad=function(Ca){ht.resize(),ba(Ca)}}function pt(Ca,Ee){Ee&&typeof Ee.appletOnLoad=="function"&&typeof renderGGBElement=="function"?renderGGBElement(Ca,Ee.appletOnLoad):renderGGBElement(Ca),nn("GeoGebra HTML5 applet injected and rendered with previously loaded codebase.",Ee)}function Gt(Ca,Ee){typeof renderGGBElement=="undefined"?(html5AppletsToProcess===null&&(html5AppletsToProcess=[]),html5AppletsToProcess.push({article:Ca,params:Ee}),window.renderGGBElementReady=function(){isRenderGGBElementEnabled=!0,html5AppletsToProcess!==null&&html5AppletsToProcess.length&&(html5AppletsToProcess.forEach(function(Ke){pt(Ke.article,Ke.params)}),html5AppletsToProcess=null)},oe(ce)<5&&(Ca.className+=" geogebraweb")):pt(Ca,Ee)}if(Rn){scriptLoadStarted=!0;for(var _t=0;_t<nt.childNodes.length;_t++){var Pn=nt.childNodes[_t].tagName;Pn==="TABLE"&&(nt.removeChild(nt.childNodes[_t]),_t--)}if(ggbHTML5LoadedScript!==null){var Qn=document.querySelector('script[src="'+ggbHTML5LoadedScript+'"]');Qn!=null&&Qn.parentNode.removeChild(Qn)}var Gn=document.createElement("script"),Hn=function(){Gt(nt,Ct)};Gn.src=_e+y,ggbHTML5LoadedCodebaseIsWebSimple=a,ggbHTML5LoadedCodebaseVersion=ce,ggbHTML5LoadedScript=Gn.src,nn("GeoGebra HTML5 codebase loaded: '"+_e+"'.",Ct),!se&&(!ze||ze=="5.0")?(a?webSimple.succeeded=webSimple.succeeded||webSimple():web3d.succeeded=web3d.succeeded||web3d(),Hn()):_e.requirejs?__webpack_require__.e(12).then(function(){var Ca=[__webpack_require__(12)];Hn.apply(null,Ca)}.bind(this)).catch(__webpack_require__.oe):(Gn.onload=Hn,Ue.appendChild(Gn))}else Gt(nt,Ct);Ct.height=Ce,Ct.width=kt},Ye=function(Ue,Ct,Ft){var Rn=zt(Ct.width,Ct.height,Ct.borderColor,Ft),nt=document.createElement("div");nt.style.position="relative",nt.style.display="block",nt.style.width=Ct.width+"px",nt.style.height=Ct.height+"px",nt.className="applet_screenshot applet_scaler"+(Ft?" applet_screenshot_play":""),nt.appendChild(Rn);var kt=GGBAppletUtils.getScale(Ct,Ue,Ft);Ft?(Ue.appendChild(ct()),window.GGBT_wsf_view||(Ue.style.position="relative")):window.GGBT_spinner&&window.GGBT_spinner.attachSpinner(nt,"66%"),Ue.appendChild(nt),kt!==1&&!isNaN(kt)&&(GGBAppletUtils.scaleElement(nt,kt),nt.style.width=Ct.width+"px",nt.style.height=Ct.height+"px",nt.parentNode.style.width=Ct.width*kt+"px",nt.parentNode.style.height=Ct.height*kt+"px"),ht.resize=function(){Zt(Ue,Rn,nt,Ft)},window.addEventListener("resize",function(Ce){ht.resize()}),ht.resize()};function Zt(Ue,Ct,Ft,Rn){if(Ue.contains(Ct)){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(Ue.id!=="fullscreencontent")return;window.GGBT_wsf_view.setCloseBtnPosition(Ue)}var nt=GGBAppletUtils.getScale(ee,Ue,Rn);Ft.parentNode!==null&&(!isNaN(nt)&&nt!==1?(GGBAppletUtils.scaleElement(Ft,nt),Ft.parentNode.style.width=ee.width*nt+"px",Ft.parentNode.style.height=ee.height*nt+"px"):(GGBAppletUtils.scaleElement(Ft,1),Ft.parentNode.style.width=ee.width+"px",Ft.parentNode.style.height=ee.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&GGBAppletUtils.positionCenter(Ue),typeof window.GGBT_ws_header_footer=="object"&&window.GGBT_ws_header_footer.setWsScrollerHeight()}}ht.onExitFullscreen=function(Ue,Ct){Ct.appendChild(Ue)};var qe=function(Ue,Ct,Ft,Rn){Ye(Ue,Ct,!0);for(var nt=function(){var hn=[];for(Ce=0;Ce<Ue.childNodes.length;Ce++)hn.push(Ue.childNodes[Ce]);if(window.GGBT_wsf_view){var zn=window.GGBT_wsf_view.renderFullScreen(Ue,Ct.id),ba=document.getElementById("fullscreencontainer"),Yn=jQuery(Ue).find(".fullscreencontent");Yn.length>0?(zn.remove(),Yn.attr("id","fullscreencontent").show(),jQuery(ba).append(Yn),window.dispatchEvent(new Event("resize"))):ft(zn,Ct,!1),window.GGBT_wsf_view.launchFullScreen(ba)}else we=Rn,ft(Ue,Ct,!1);if(!window.GGBT_wsf_view)for(Ce=0;Ce<hn.length;Ce++)Ue.removeChild(hn[Ce])},kt=Ue.getElementsByClassName("ggb_preview_play"),Ce=0;Ce<kt.length;Ce++)kt[Ce].addEventListener("click",nt,!1),kt[Ce].addEventListener("ontouchstart",nt,!1);typeof window.ggbAppletPlayerOnload=="function"&&window.ggbAppletPlayerOnload(Ue),ge()&&window.GGBT_wsf_view&&$(".wsf-element-fullscreen-button").remove()},ct=function(){var Ue=document.createElement("div");if(Ue.className="ggb_preview_play icon-applet-play",!window.GGBT_wsf_view){var Ct='.icon-applet-play { width: 100%; height: 100%;box-sizing: border-box;position: absolute;z-index: 1001;cursor: pointer;border-width: 0px; background-color: transparent;background-repeat: no-repeat;left: 0;top: 0;background-position: center center; background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet.png");}.icon-applet-play:hover {background-image: url("https://www.geogebra.org/images/worksheet/icon-start-applet-hover.png");}',Ft=document.createElement("style");Ft.styleSheet?Ft.styleSheet.cssText=Ct:Ft.appendChild(document.createTextNode(Ct)),document.getElementsByTagName("head")[0].appendChild(Ft)}return Ue},zt=function(Ue,Ct,Ft,Rn){var nt=document.createElement("div");nt.className="ggb_preview",nt.style.position="absolute",nt.style.zIndex="90",nt.style.width=Ue-2+"px",nt.style.height=Ct-2+"px",nt.style.top="0px",nt.style.left="0px",nt.style.overflow="hidden",nt.style.backgroundColor="white";var kt="lightgrey";Ft!==void 0&&(Ft==="none"?kt="transparent":kt=Ft),nt.style.border="1px solid "+kt;var Ce=document.createElement("img");if(Ce.style.position="relative",Ce.style.zIndex="1000",Ce.style.top="-1px",Ce.style.left="-1px",x!==null&&Ce.setAttribute("src",x),Ce.style.opacity=.7,b!==null){var hn,zn,ba;if(!Rn){hn=document.createElement("img"),hn.style.position="absolute",hn.style.zIndex="1001",hn.style.opacity=1,Ce.style.opacity=.3,zn=360,zn>Ue/4*3&&(zn=Ue/4*3),ba=zn/5.8,hn.setAttribute("src",b),hn.setAttribute("width",zn),hn.setAttribute("height",ba);var Yn=(Ue-zn)/2,Rt=(Ct-ba)/2;hn.style.left=Yn+"px",hn.style.top=Rt+"px",nt.appendChild(hn)}}return nt.appendChild(Ce),nt},en=function(Ue){return Ue=Ue.toLowerCase(),Ue==="html5"||Ue==="screenshot"?Ue:"html5"},Mt=["web","webSimple","web3d","tablet","tablet3d","phone"],lt=function(Ue,Ct){if(ce=Ue,Ct){xt(ce,!0);return}var Ft=!me;if(Ft){var Rn=oe(ce);!isNaN(Rn)&&Rn<4.4&&(Ft=!1)}var nt,kt;window.location.protocol.substr(0,4)==="http"?nt=window.location.protocol:nt="http:";var Ce=ce.indexOf("//");Ce>0?kt=ce:Ce===0?kt=nt+ce:kt="https://www.geogebra.org/apps/5.2.814.0/";for(var hn in Mt)if(ce.slice(Mt[hn].length*-1)===Mt[hn]||ce.slice((Mt[hn].length+1)*-1)===Mt[hn]+"/"){xt(kt,!1);return}!GGBAppletUtils.isFlexibleWorksheetEditor()&&Ft&&!ae.is3D&&!ae.AV&&!ae.SV&&!ae.CV&&!ae.EV2&&!ae.CP&&!ae.PC&&!ae.DA&&!ae.FI&&!ae.PV&&!Se(ee.showToolBar)&&!Se(ee.showMenuBar)&&!Se(ee.showAlgebraInput)&&!Se(ee.enableRightClick)&&(!ee.appName||ee.appName=="classic")?kt+="webSimple/":kt+="web3d/",xt(kt,!1)},xt=function(Ue,Ct){if(Ue.requirejs){_e=Ue;return}Ue.slice(-1)!=="/"&&(Ue+="/"),_e=Ue,Ct===null&&(Ct=Ue.indexOf("http")===-1),$e=Ct,y="web.nocache.js",a=!1;var Ft=_e.split("/");Ft.length>1&&(!Ct&&Ft[Ft.length-2]==="webSimple"?(y="webSimple.nocache.js",a=!0):Mt.indexOf(Ft[Ft.length-2])>=0&&(y=Ft[Ft.length-2]+".nocache.js")),Ft=Ue.split("/"),ce=Ft[Ft.length-3],ce.substr(0,4)==="test"?ce=ce.substr(4,1)+"."+ce.substr(5,1):(ce.substr(0,3)==="war"||ce.substr(0,4)==="beta")&&(ce="5.0");var Rn=parseFloat(ce);Rn!==NaN&&Rn<5&&Ue.indexOf("geogebra.org")>=0&&(console.log("The GeoGebra HTML5 codebase version "+Rn+" is deprecated. Using version latest instead."),lt("5.0",Ct))},nn=function(Ue,Ct){window.console&&window.console.log&&(!Ct||typeof Ct.showLogging=="undefined"||Ct.showLogging&&Ct.showLogging!=="false")&&console.log(Ue)};ee.material_id!==void 0?pe(vn):vn();function vn(){var Ue=wt;ze!==null?Ue=ze:parseFloat(Ue)<5&&(Ue="5.0"),lt(Ue,!1),se!==null&&xt(se,$e),Me=!0}return ht},GGBAppletUtils=function(){"use strict";function ht(){return window.GGBT_wsf_edit!==void 0}function wt(Me,ze){ze!=1?(Me.style.transformOrigin="0% 0% 0px",Me.style.webkitTransformOrigin="0% 0% 0px",Me.style.transform="scale("+ze+","+ze+")",Me.style.webkitTransform="scale("+ze+","+ze+")",Me.style.maxWidth="initial",Me.querySelector(".ggb_preview")!==null&&(Me.querySelector(".ggb_preview").style.maxWidth="initial"),Me.querySelectorAll(".ggb_preview img")[0]!==void 0&&(Me.querySelectorAll(".ggb_preview img")[0].style.maxWidth="initial"),Me.querySelectorAll(".ggb_preview img")[1]!==void 0&&(Me.querySelectorAll(".ggb_preview img")[1].style.maxWidth="initial")):(Me.style.transform="none",Me.style.webkitTransform="none")}function ee(Me,ze,se,Te,je,He){var _e=null;if(He!=null&&He!="")for(var $e=Me.parentNode;$e!=null;)if((" "+$e.className+" ").indexOf(" "+He+" ")>-1){_e=$e;break}else $e=$e.parentNode;var we=0,ce=0,y=0,a=0,x=0,b=0,E=0;if(_e)we=_e.offsetWidth,ce=Math.max(Te?_e.offsetWidth:0,_e.offsetHeight);else{if(window.innerWidth&&document.documentElement.clientWidth?(we=Math.min(window.innerWidth,document.documentElement.clientWidth),ce=Math.min(window.innerHeight,document.documentElement.clientHeight),y=we):(we=window.innerWidth,ce=window.innerHeight,y=window.innerWidth),Me){var z=Me.getBoundingClientRect();z.left>0&&z.left<=we&&(je===void 0||!je)&&(document.dir==="rtl"?(x=we-z.width-z.left,b=y<=480?10:30):(b=z.left,x=y<=480?10:30),a=b+x)}if(Me&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){var re=Me.getBoundingClientRect();window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(a=40,E=0):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(a=0,E=40)}}return Me&&((se===void 0||!se)&&ze>0&&ze+a<we?we=ze:we-=a,typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(se===void 0||!se)&&(ce-=E)),{width:we,height:ce}}function ae(Me,ze,se,Te,je){if(Me.isScreenshoGenerator)return 1;var He=Te!==void 0&&Te,_e=Me.noScaleMargin!=null&&Me.noScaleMargin,$e=function(re){return re&&re!=="false"},we=$e(Me.autoHeight),ce=ee(ze,Me.width,se,we,He&&window.GGBT_wsf_view||_e,je),y=parseInt(ce.width),a=Me.width,x=Me.height;if(a===void 0){var b=ze.querySelector(".appletParameters");b&&(a=b.offsetWidth,x=b.offsetHeight)}var E=y/a,z=He?1:ce.height/x;return se!==void 0&&!se&&(E=Math.min(1,E),z=Math.min(1,z)),Math.min(E,z)}function me(Me,ze,se){var Te=1,je,He=!1;if(Me.hasOwnProperty("allowUpscale")&&(He=Me.allowUpscale),Me.hasOwnProperty("scale")&&(Te=parseFloat(Me.scale),(isNaN(Te)||Te===null||Te===0)&&(Te=1),Te>1&&(He=!0)),ze&&typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&(He=!0),!(Me.hasOwnProperty("disableAutoScale")&&Me.disableAutoScale))je=ae(Me,ze,He,se,Me.scaleContainerClass);else return Te;return He&&(!Me.hasOwnProperty("scale")||Te===1)?je:Math.min(Te,je)}function Ie(Me){var ze=Math.min(window.innerWidth,document.documentElement.clientWidth),se=Math.min(window.innerHeight,document.documentElement.clientHeight),Te=Me.getBoundingClientRect(),je=(ze-Te.width)/2,He=(se-Te.height)/2;He<0&&(He=0),Me.style.position="relative",window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionRight"?(je<40?Me.style.left="40px":Me.style.left=je+"px",Me.style.top=He+"px"):window.GGBT_wsf_view.getCloseBtnPosition()==="closePositionTop"&&(He<40?Me.style.top="40px":Me.style.top=He+"px",Me.style.left=je+"px")}function Ze(Me,ze){var se=Me.querySelector(".appletParameters");if(se){if(typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()){if(ze.id!==se.getAttribute("data-param-id"))return;window.GGBT_wsf_view.setCloseBtnPosition(Me)}if(se.parentElement&&/fullscreen/.test(se.parentElement.className))return;var Te=me(ze,Me);ht()&&se.setAttribute("data-param-scale",Te);for(var je=null,He=0;He<Me.childNodes.length;He++)if(Me.childNodes[He].className!==void 0&&Me.childNodes[He].className.match(/^applet_scaler/)){je=Me.childNodes[He];break}if(je!==null&&je.querySelector(".noscale")!==null)return;var _e=ze.id!==void 0?ze.id:"ggbApplet",$e=window[_e];($e==null||!$e.recalculateEnvironments)&&je!==null&&!je.className.match(/fullscreen/)&&(je.parentNode.style.transform="",!isNaN(Te)&&Te!==1?(je.parentNode.style.width=ze.width*Te+"px",je.parentNode.style.height=ze.height*Te+"px",wt(je,Te)):(wt(je,1),je.parentNode.style.width=ze.width+"px",je.parentNode.style.height=ze.height+"px")),typeof window.GGBT_wsf_view=="object"&&window.GGBT_wsf_view.isFullscreen()&&Ie(Me),window.GGBT_wsf_view&&!window.GGBT_wsf_view.isFullscreen()&&window.GGBT_wsf_general.adjustContentToResize($(se).parents(".content-added-content"))}}return{responsiveResize:Ze,isFlexibleWorksheetEditor:ht,positionCenter:Ie,getScale:me,scaleElement:wt}}();__WEBPACK_AMD_DEFINE_ARRAY__=[],__WEBPACK_AMD_DEFINE_RESULT__=function(){return GGBApplet}.apply(exports,__WEBPACK_AMD_DEFINE_ARRAY__),__WEBPACK_AMD_DEFINE_RESULT__!==void 0&&(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),GGBAppletUtils.makeModule=function(name,permutation){function webModule(){var H="bootstrap",I="begin",J="gwt.codesvr."+name+"=",K="gwt.codesvr=",L=name,M="startup",N="DUMMY",O=0,P=1,Q="iframe",R="position:absolute; width:0; height:0; border:none; left: -1000px;",S=" top: -1000px;",T="Chrome",U="CSS1Compat",V="<!doctype html>",W="",X="<html><head></head><body></body></html>",Y="undefined",Z="readystatechange",$=10,_="script",ab="javascript",bb="Failed to load ",cb="moduleStartup",db="scriptTagAdded",eb="moduleRequested",fb="meta",gb="name",hb=name+"::",ib="::",jb="gwt:property",kb="content",lb="=",mb="gwt:onPropertyErrorFn",nb='Bad handler "',ob='" for "gwt:onPropertyErrorFn"',pb="gwt:onLoadErrorFn",qb='" for "gwt:onLoadErrorFn"',rb="#",sb="?",tb="/",ub="img",vb="clear.cache.gif",wb="baseUrl",xb=name+".nocache.js",yb="base",zb="//",Ab="selectingPermutation",Bb=name+".devmode.js",Cb=permutation,Db=":",Eb=".cache.js",Fb="loadExternalRefs",Gb="end",n=window,o=document;function p(){var ht=n.location.search;return ht.indexOf(J)!=-1||ht.indexOf(K)!=-1}function q(ht,wt){}webModule.__sendStats=q,webModule.__moduleName=L,webModule.__errFn=null,webModule.__moduleBase=N,webModule.__softPermutationId=O,webModule.__computePropValue=null,webModule.__getPropMap=null,webModule.__installRunAsyncCode=function(){},webModule.__gwtStartLoadingFragment=function(){return null},webModule.__gwt_isKnownPropertyValue=function(){return!1},webModule.__gwt_getMetaProperty=function(){return null};var r=null,s=n.__gwt_activeModules=n.__gwt_activeModules||{};s[L]={moduleName:L},webModule.__moduleStartupDone=function(ht){var wt=s[L].bindings;s[L].bindings=function(){for(var ee=wt?wt():{},ae=ht[webModule.__softPermutationId],me=O;me<ae.length;me++){var Ie=ae[me];ee[Ie[O]]=Ie[P]}return ee}};var t;function u(){return v(),t}function v(){if(!t){var ht=o.createElement(Q);if(ht.id=L,ht.style.cssText=R+S,ht.tabIndex=-1,o.body.appendChild(ht),t=ht.contentWindow.document,navigator.userAgent.indexOf(T)==-1){t.open();var wt=document.compatMode==U?V:W;t.write(wt+X),t.close()}}}function w(ht){function wt(ae){function me(){return typeof o.readyState==Y?typeof o.body!=Y&&o.body!=null:/loaded|complete/.test(o.readyState)}var Ie=me();if(Ie){ae();return}function Ze(){if(!Ie){if(!me())return;Ie=!0,ae(),o.removeEventListener&&o.removeEventListener(Z,Ze,!1),Me&&clearInterval(Me)}}o.addEventListener&&o.addEventListener(Z,Ze,!1);var Me=setInterval(function(){Ze()},$)}function ee(ae){var me=u(),Ie=me.body,Ze=me.createElement(_);Ze.language=ab,Ze.crossOrigin=W,Ze.src=ae,webModule.__errFn&&(Ze.onerror=function(){webModule.__errFn(L,new Error(bb+ae))}),Ie.appendChild(Ze)}wt(function(){ee(ht)})}webModule.__startLoadingFragment=function(ht){return C(ht)},webModule.__installRunAsyncCode=function(ht){var wt=u(),ee=wt.body,ae=wt.createElement(_);ae.language=ab,ae.text=ht,ee.appendChild(ae),ee.removeChild(ae)};function A(){for(var c={},d,e,f=o.getElementsByTagName(fb),g=O,h=f.length;g<h;++g){var i=f[g],j=i.getAttribute(gb),k;if(j){if(j=j.replace(hb,W),j.indexOf(ib)>=O)continue;if(j==jb){if(k=i.getAttribute(kb),k){var l,m=k.indexOf(lb);m>=O?(j=k.substring(O,m),l=k.substring(m+P)):(j=k,l=W),c[j]=l}}else if(j==mb){if(k=i.getAttribute(kb),k)try{d=eval(k)}catch(ht){alert(nb+k+ob)}}else if(j==pb&&(k=i.getAttribute(kb),k))try{e=eval(k)}catch(ht){alert(nb+k+qb)}}}__gwt_getMetaProperty=function(ht){var wt=c[ht];return wt==null?null:wt},r=d,webModule.__errFn=e}function B(){function ht(Me){var ze=Me.lastIndexOf(rb);ze==-1&&(ze=Me.length);var se=Me.indexOf(sb);se==-1&&(se=Me.length);var Te=Me.lastIndexOf(tb,Math.min(se,ze));return Te>=O?Me.substring(O,Te+P):W}function wt(Me){if(!Me.match(/^\w+:\/\//)){var ze=o.createElement(ub);ze.src=Me+vb,Me=ht(ze.src)}return Me}function ee(){var Me=__gwt_getMetaProperty(wb);return Me!=null?Me:W}function ae(){for(var Me=o.getElementsByTagName(_),ze=O;ze<Me.length;++ze)if(Me[ze].src.indexOf(xb)!=-1)return ht(Me[ze].src);return W}function me(){var Me=o.getElementsByTagName(yb);return Me.length>O?Me[Me.length-P].href:W}function Ie(){var Me=o.location;return Me.href==Me.protocol+zb+Me.host+Me.pathname+Me.search+Me.hash}var Ze=ee();return Ze==W&&(Ze=ae()),Ze==W&&(Ze=me()),Ze==W&&Ie()&&(Ze=ht(o.location.href)),Ze=wt(Ze),Ze}function C(ht){return ht.match(/^\//)||ht.match(/^[a-zA-Z]+:\/\//)?ht:webModule.__moduleBase+ht}function D(){var ht=[],wt=O,ee=[],ae=[];function me(Me){var ze=ae[Me](),se=ee[Me];if(ze in se)return ze;var Te=[];for(var je in se)Te[se[je]]=je;throw r&&r(Me,Te,ze),null}if(__gwt_isKnownPropertyValue=function(Me,ze){return ze in ee[Me]},webModule.__getPropMap=function(){var Me={};for(var ze in ee)ee.hasOwnProperty(ze)&&(Me[ze]=me(ze));return Me},webModule.__computePropValue=me,n.__gwt_activeModules[L].bindings=webModule.__getPropMap,p())return C(Bb);var Ie;try{Ie=Cb;var Ze=Ie.indexOf(Db);Ze!=-1&&(wt=parseInt(Ie.substring(Ze+P),$),Ie=Ie.substring(O,Ze))}catch(Me){}return webModule.__softPermutationId=wt,C(Ie+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(ht,wt,ee){"use strict";ee.d(wt,{Ax:function(){return Ze},Ds:function(){return Me},KI:function(){return se},SI:function(){return Ie},f1:function(){return me}});var ae=ee(11320);function me(Te){let je=!0;if(Te.length>0){for(let He=0;He<Te.length;He++)if(Te[He].compile_success==0||!Te[He].compile_success){je=!1;break}}else je=!1;return je}function Ie(Te,je=""){let He=[];for(let _e=0;_e<Te.length;_e++){let $e=Te[_e],we=je?`${je}/${$e.name}`:`${$e.name}`;He.push({title:$e.name,type:$e.type,isLeaf:$e.type!=="tree",key:we})}return He}function Ze(Te,je,He){for(let _e=0;_e<Te.length;_e++){let $e=Te[_e];if($e.key===je){$e.children=He;break}$e.children&&Ze($e.children,je,He)}return Te}function Me(Te,je,He){let _e;return function(){let $e=this,we=arguments,ce=function(){_e=null,He||Te.apply($e,we)},y=He&&!_e;clearTimeout(_e),_e=setTimeout(ce,je),y&&Te.apply($e,we)}}const ze=!0,se=ae.Z.API_SERVER},63205:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return _e}});var ae=ee(67294),me={imageDimensions:"imageDimensions___a7crR",img:"img___Kroat",fullWidth:"fullWidth___c492T"},Ie=ee(94184),Ze=ee.n(Ie),Me=ee(57953),ze=ee(15979),se=ee(33170),Te=ee(28706),je=($e,we,ce)=>new Promise((y,a)=>{var x=z=>{try{E(ce.next(z))}catch(re){a(re)}},b=z=>{try{E(ce.throw(z))}catch(re){a(re)}},E=z=>z.done?y(z.value):Promise.resolve(z.value).then(x,b);E((ce=ce.apply($e,we)).next())}),_e=({data:$e,className:we,fullWidth:ce,style:y={},onClose:a,onOk:x,showFullTools:b,noAssociationId:E})=>{const z=(0,ae.useRef)(null),re=(0,ae.useRef)(null),oe=(0,ae.useRef)(null),ne=(0,ae.useRef)(null),[ge,pe]=(0,ae.useState)(!1),[Le,be]=(0,ae.useState)("\u6B63\u5728\u52A0\u8F7D\u4E2D");(0,ae.useEffect)(()=>{oe.current||(oe.current=document.createElement("style"),document.head.appendChild(oe.current)),$e!=null&&$e.visible?(document.body.setAttribute("data-custom","y-hidden"),oe.current.innerHTML=" html { overflow-y: hidden; }",$e!=null&&$e.src&&xe()):(document.body.removeAttribute("data-custom"),oe.current&&(document.head.removeChild(oe.current),oe.current=null))},[$e==null?void 0:$e.visible]);const xe=()=>je(void 0,null,function*(){pe(!0),be("\u6B63\u5728\u52A0\u8F7D\u4E2D");const qe=yield(0,Te.ZJ)($e==null?void 0:$e.src);z.current.src="",z.current.src=qe,z.current.onload=function(){Zt()},pe(!1),be("")}),Se=()=>{document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",a()},ft=qe=>je(void 0,null,function*(){pe(!0),be("\u6B63\u5728\u4FDD\u5B58\u4E2D");const ct=yield(0,se.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:$e.title,file:qe.dataUrl}});ct!=null&&ct.id&&!E?(yield(0,se.ZP)(`/api/attachments/${$e.id}/add_subitem.json`,{method:"post",body:{subitem_id:ct==null?void 0:ct.id,settings:JSON.stringify(qe.state)}})).status===0&&x():ct!=null&&ct.id&&x(ct),document.body.removeAttribute("data-custom"),oe.current.innerHTML=" ",pe(!1),be("")}),Ye=()=>{const qe=document.querySelector('a[href="https://markerjs.com/"]');qe&&qe.parentNode&&(qe.parentNode.style.display="none"),[{name:'[data-action="select"]',title:"\u9009\u62E9"},{name:'[data-action="delete"]',title:"\u5220\u9664\u5143\u7D20"},{name:'[data-action="undo"]',title:"\u64A4\u9500"},{name:'[data-type-name="FrameMarker"]',title:"\u77E9\u5F62"},{name:'[data-type-name="FreehandMarker"]',title:"\u753B\u7EBF"},{name:'[data-type-name="ArrowMarker"]',title:"\u7BAD\u5934"},{name:'[data-type-name="TextMarker"]',title:"\u6587\u672C"},{name:'[data-type-name="EllipseMarker"]',title:"\u692D\u5706"},{name:'[data-type-name="HighlightMarker"]',title:"\u65B9\u5757"},{name:'[data-type-name="CalloutMarker"]',title:"\u6CE8\u91CA"},{name:'[data-action="render"]',title:"\u4FDD\u5B58"},{name:'[data-action="close"]',title:"\u9000\u51FA"}].forEach(zt=>{const en=document.querySelector(zt.name);en&&en.setAttribute("title",zt.title)})},Zt=()=>{re.current=new ze.hP(z.current),re.current.targetRoot=ne.current,re.current.addEventListener("render",ft),re.current.addEventListener("beforeclose",Se),b&&(re.current.availableMarkerTypes=re.current.ALL_MARKER_TYPES,re.current.uiStyleSettings.redoButtonVisible=!0,re.current.uiStyleSettings.notesButtonVisible=!0,re.current.uiStyleSettings.zoomButtonVisible=!0,re.current.uiStyleSettings.zoomOutButtonVisible=!0,re.current.uiStyleSettings.clearButtonVisible=!0),window.markerArea=re.current.uiStyleSettings,re.current.show(),$e!=null&&$e.snapshotData&&re.current.restoreState($e.snapshotData),setTimeout(()=>{window.scrollTo(0,0),Ye()},300)};return ae.createElement(ae.Fragment,null,($e==null?void 0:$e.visible)&&ae.createElement(Me.Z,{spinning:ge,tip:Le,style:{position:"absolute"}},ae.createElement("div",{ref:ne,className:Ze()(me.imageDimensions,we,ce?me.fullWidth:""),style:y},ae.createElement("img",{className:me.img,ref:z}))))}},36527:function(ht,wt,ee){"use strict";var ae=ee(67294),me=ee(71230),Ie=ee(15746),Ze=ee(66368),Me=ee(71577),ze=ee(85725),se=ee(71736),Te=ee(84279),je=ee(67294);const He=(0,ae.forwardRef)(({callback:_e,showSaveButton:$e,value:we=""},ce)=>{const y=(0,ae.useRef)(),a=[{name:"\u5206\u6570\u5F97\u5206",value:"\\frac{x}{y}",children:[{name:"\u5206\u6570 Fractions",data:[{value:"\\frac{a}{b}"},{value:"x\\tfrac{x}{a} "},{value:"\\mathrm{d}t"},{value:"\\partial t"},{value:"\\frac{\\partial y}{\\partial x}"},{value:"\\nabla\\psi"},{value:"\\frac{\\partial^2}{\\partial x_1\\partial x_2}y"},{value:"\\cfrac{1}{a + \\cfrac{7}{b + \\cfrac{2}{9}}} = c"}]},{name:"\u5BFC\u6570 Derivative",data:[{value:"\\dot{a} "},{value:"\\ddot{a}"},{value:"{f}^{\\prime}"},{value:"{f}^{\\prime\\prime}"},{value:"{f}^{(n)}"}]},{name:"\u6A21\u7B97\u672F Modular arithmetic",data:[{value:"a \\bmod b"},{value:"a \\equiv b \\pmod{m} "},{value:"\\gcd(m, n) "},{value:"\\operatorname{lcm}(m, n) "}]}]},{name:"\u6839\u5F0F\u89D2\u6807",value:"\\sqrt{x}",children:[{name:"\u6839\u5F0F Radicals",data:[{value:"\\sqrt{x}"},{value:"\\sqrt[y]{x}"}]},{name:"\u4E0A\u4E0B\u6807 Sub&Super",data:[{value:"x^{a}"},{value:"x_{a}"},{value:"x_{a}^{b} "},{value:"_{a}^{b} x"},{value:"x_{a}^{b} "}]},{name:"\u91CD\u97F3\u7B26\u53CA\u5176\u4ED6 Accents and Others",data:[{value:"\\hat{a} "},{value:"\\sqrt[y]{x}"},{value:"\\check{} "},{value:"\\grave{a} "},{value:"\\acute{a}"},{value:"\\tilde{a}"},{value:"\\breve{a}"},{value:"\\bar{a}"},{value:"\\vec{a}"},{value:"\\not{a}"},{value:"\\widetilde{abc}"},{value:"\\widehat{abc}"},{value:"\\overleftarrow{abc} "},{value:"\\overrightarrow{abc}"},{value:"\\overline{abc}"},{value:"\\underline{abc}"},{value:"\\overbrace{abc}"},{value:"\\underbrace{abc}"},{value:"\\overset{a}{abc}"},{value:"\\underset{a}{abc} \\stackrel\\frown{ab}"},{value:"\\overline{ab} "},{value:"\\overleftrightarrow{ab}"},{value:"\\overset{a}{\\leftarrow}"},{value:"\\overset{a}{\\rightarrow}"},{value:"\\xleftarrow[abc]{a}"},{value:"\\xrightarrow[abc]{a} "}]}]},{name:"\u6781\u9650\u5BF9\u6570",value:"\\lim_{x \\to 0}",children:[{name:"\u6781\u9650 Limits",data:[{value:"\\lim a"},{value:"\\lim_{x \\to 0}"},{value:"\\lim_{x \\to \\infty}"},{value:"\\max_b{a}"},{value:"\\min_a{b}"}]},{name:"\u5BF9\u6570\u6307\u6570 Logarithms and exponentials",data:[{value:"\\log_{a}{b}"},{value:"\\lg_{a}{b}"},{value:"\\ln_{a}{b}"},{value:"\\exp a"}]},{name:"\u754C\u9650 Bounds",data:[{value:"\\min x"},{value:"\\sup t"},{value:"\\inf s"},{value:"\\lim u"},{value:"\\limsup w"},{value:"\\dim p"},{value:"\\ker\\phi "}]}]},{name:"\u4E09\u89D2\u51FD\u6570",value:"\\sin a",children:[{name:"\u4E09\u89D2\u51FD\u6570 Trigonometric functions",data:[{value:"\\sin a"},{value:"\\cos a"},{value:"\\tan a"},{value:"\\cot a "},{value:"\\sec a "},{value:"\\csc a "}]},{name:"\u53CD\u4E09\u89D2\u51FD\u6570 Inverse trigonometric functions",data:[{value:"\\sin^{-1}"},{value:"\\cos^{-1}"},{value:"\\tan^{-1}"},{value:"\\cot^{-1}"},{value:"\\sec^{-1}"},{value:"\\csc^{-1}"},{value:"\\arcsin a"},{value:"\\arccos a"},{value:"\\arctan a"},{value:"\\operatorname{arccot} a"},{value:"\\operatorname{arcsec} a"},{value:"\\operatorname{arccsc} a"}]},{name:"\u53CC\u66F2\u51FD\u6570 Hyperblic functions",data:[{value:"\\sinh a"},{value:"\\cosh a"},{value:"\\tanh a"},{value:"\\coth a"},{value:"\\operatorname{sech} a"},{value:"\\operatorname{csch} a"}]},{name:"\u53CD\u53CC\u66F2\u51FD\u6570 Inverse hyperbolic functions",data:[{value:"\\sinh^{-1}"},{value:"a\\cosh^{-1} a"},{value:"\\tanh^{-1} a"},{value:"\\coth^{-1} a"},{value:"\\operatorname{sech}^{-1} a"},{value:"\\operatorname{csch}^{-1} a"}]}]},{name:"\u79EF\u5206\u8FD0\u7B97",value:"\\int_{a}^{b}",children:[{name:"\u79EF\u5206 Integral",data:[{value:"\\int"},{value:"\\int_{a}^{b}"},{value:"\\int\\limits_{a}^{b}"}]},{name:"\u53CC\u91CD\u79EF\u5206 Double integral",data:[{value:"\\iint"},{value:"\\iint_{a}^{b} "},{value:"\\iint\\limits_{a}^{b} "}]},{name:"\u4E09\u91CD\u79EF\u5206 Triple integral",data:[{value:"\\iiint"},{value:"\\iiint_{a}^{b}"},{value:"\\iiint\\limits_{a}^{b} "}]},{name:"\u66F2\u7EBF\u79EF\u5206 Closed line or path integral",data:[{value:"\\oint"},{value:"\\oint_{a}^{b} "}]}]},{name:"\u5927\u578B\u8FD0\u7B97",value:"\\sum_{a}^{b}",children:[{name:"\u6C42\u548C Summation",data:[{value:"\\sum"},{value:"\\sum_{a}^{b}"},{value:"{\\textstyle \\sum_{a}^{b}} "}]},{name:"\u4E58\u79EF\u4F59\u79EF Product and coproduct",data:[{value:"\\prod"},{value:"\\prod_{a}^{b}"},{value:"{\\textstyle \\prod_{a}^{b}}"},{value:"\\coprod"},{value:"\\coprod_{a}^{b}"},{value:"{\\textstyle \\coprod_{a}^{b}} "}]},{name:"\u5E76\u96C6\u4EA4\u96C6 Union and intersection",data:[{value:"\\bigcup"},{value:"\\bigcup_{a}^{b}"},{value:"{\\textstyle \\bigcup_{a}^{b}}"},{value:"\\bigcap"},{value:"\\bigcap_{a}^{b}"}]},{name:"\u6790\u53D6\u5408\u53D6 Disjunction and conjunction",data:[{value:"\\bigvee"},{value:"\\bigvee_{a}^{b}"},{value:"\\bigwedge"},{value:"\\bigwedge_{a}^{b}"}]}]},{name:"\u62EC\u53F7\u53D6\u6574",value:"\\left [ \\left ( \\right ) \\right ] ",children:[{name:"\u62EC\u53F7 Brackets",data:[{value:"\\left ( \\right )"},{value:"\\left [ \\right ]"},{value:"\\left \\langle \\right \\rangle "},{value:"\\left | \\right | "},{value:"\\left \\lfloor \\right \\rfloor "},{value:"\\left \\lceil \\right \\rceil "}]}]}],x=[{name:"\u4EE3\u6570",value:"\\sqrt{a^2+b^2}",children:[{data:[{value:"\\left(x-1\\right)\\left(x+3\\right) "},{value:"\\sqrt{a^2+b^2}"},{value:"\\left ( \\frac{a}{b}\\right )^{n}= \\frac{a^{n}}{b^{n}}"},{value:"\\frac{a}{b}\\pm \\frac{c}{d}= \\frac{ad \\pm bc}{bd} "},{value:"\\frac{x^{2}}{a^{2}}-\\frac{y^{2}}{b^{2}}=1 "},{value:"\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0\\frac{1}{\\sqrt{a}}=\\frac{\\sqrt{a}}{a},a\\ge 0 "},{value:"\\sqrt[n]{a^{n}}=\\left ( \\sqrt[n]{a}\\right )^{n} "},{value:"x ={-b \\pm \\sqrt{b^2-4ac}\\over 2a} "},{value:"y-y_{1}=k \\left( x-x_{1}\\right) "},{value:`\\left\\{\\begin{matrix} \r
x=a + r\\text{cos}\\theta \\ \r
y=b + r\\text{sin}\\theta \r
\\end{matrix}\\right. `},{value:`\\begin{array}{l} \r
\\text{\u5BF9\u4E8E\u65B9\u7A0B\u5F62\u5982\uFF1A}x^{3}-1=0 \\ \r
\\text{\u8BBE}\\text{:}\\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{1}=1,x_{2}= \\omega =\\frac{-1+\\sqrt{3}i}{2} \\ \r
x_{3}= \\omega ^{2}=\\frac{-1-\\sqrt{3}i}{2} \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\left\\{\\begin{matrix} \r
\\Delta \\gt 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u4E0D\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta = 0\\text{\u65B9\u7A0B\u6709\u4E24\u4E2A\u76F8\u7B49\u7684\u5B9E\u6839} \\ \r
\\Delta \\lt 0\\text{\u65B9\u7A0B\u65E0\u5B9E\u6839} \r
\\end{matrix}\\right. \r
\\end{array} `},{value:`\\begin{array}{l} \r
a\\mathop{{x}}\\nolimits^{{2}}+bx+c=0 \\ \r
\\Delta =\\mathop{{b}}\\nolimits^{{2}}-4ac \\ \r
\\mathop{{x}}\\nolimits_{{1,2}}=\\frac{{-b \\pm \r
\\sqrt{{\\mathop{{b}}\\nolimits^{{2}}-4ac}}}}{{2a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}+\\mathop{{x}}\\nolimits_{{2}}=-\\frac{{b}}{{a}} \\ \r
\\mathop{{x}}\\nolimits_{{1}}\\mathop{{x}}\\nolimits_{{2}}=\\frac{{c}}{{a}} \r
\\end{array} `}]}]},{name:"\u51E0\u4F55",value:"\\Delta A B C ",children:[{data:[{value:"\\Delta A B C "},{value:"a \\parallel c,b \\parallel c \\Rightarrow a \\parallel b "},{value:"l \\perp \\beta ,l \\subset \\alpha \\Rightarrow \\alpha \\perp \\beta"},{value:`\\left.\\begin{matrix} \r
a \\perp \\alpha \\ \r
b \\perp \\alpha \r
\\end{matrix}\\right\\}\\Rightarrow a \\parallel b`},{value:"P \\in \\alpha ,P \\in \\beta , \\alpha \\cap \\beta =l \\Rightarrow P \\in l "},{value:`\\alpha \\perp \\beta , \\alpha \\cap \\beta =l,a \\subset \\alpha ,a \\perp l \r
\\Rightarrow a \\perp \\beta `},{value:`\\left.\\begin{matrix} \r
a \\subset \\beta ,b \\subset \\beta ,a \\cap b=P \\ \r
a \\parallel \\partial ,b \\parallel \\partial \r
\\end{matrix}\\right\\}\\Rightarrow \\beta \\parallel \\alpha `},{value:"\\alpha \\parallel \\beta , \\gamma \\cap \\alpha =a, \\gamma \\cap \\beta =b \\Rightarrow a \\parallel b "},{value:"A \\in l,B \\in l,A \\in \\alpha ,B \\in \\alpha \\Rightarrow l \\subset \\alpha "},{value:`\\left.\\begin{matrix} \r
m \\subset \\alpha ,n \\subset \\alpha ,m \\cap n=P \\ \r
a \\perp m,a \\perp n \r
\\end{matrix}\\right\\}\\Rightarrow a \\perp \\alpha `},{value:`\\begin{array}{c} \r
\\text{\u76F4\u89D2\u4E09\u89D2\u5F62\u4E2D,\u76F4\u89D2\u8FB9\u957Fa,b,\u659C\u8FB9\u8FB9\u957Fc} \\ \r
a^{2}+b^{2}=c^{2} \r
\\end{array}`}]}]},{name:"\u4E0D\u7B49\u5F0F",value:"a > b",children:[{data:[{value:"a > b,b > c \\Rightarrow a > c "},{value:"a > b,c > d \\Rightarrow a+c > b+d "},{value:"a > b > 0,c > d > 0 \\Rightarrow ac bd "},{value:`\\begin{array}{c} \r
a \\gt b,c \\gt 0 \\Rightarrow ac \\gt bc \\ \r
a \\gt b,c \\lt 0 \\Rightarrow ac \\lt bc \r
\\end{array}`},{value:"\\left | a-b \\right | \\geqslant \\left | a \\right | -\\left | b \\right | "},{value:"-\\left | a \\right |\\leq a\\leqslant \\left | a \\right | "},{value:"\\left | a \\right |\\leqslant b \\Rightarrow -b \\leqslant a \\leqslant \\left | b \\right | "},{value:"\\left | a+b \\right | \\leqslant \\left | a \\right | + \\left | b \\right | "},{value:`\\begin{array}{c} \r
a \\gt b \\gt 0,n \\in N^{\\ast},n \\gt 1 \\ \r
\\Rightarrow a^{n}\\gt b^{n}, \\sqrt[n]{a}\\gt \\sqrt[n]{b} \r
\\end{array}`},{value:`\\left( \\sum_{k=1}^n a_k b_k \\right)^{\\!\\!2}\\leq \r
\\left( \\sum_{k=1}^n a_k^2 \\right) \\left( \\sum_{k=1}^n b_k^2 \\right) `},{value:`\\begin{array}{c} \r
a,b \\in R^{+} \\ \r
\\Rightarrow \\frac{a+b}{{2}}\\ge \\sqrt{ab} \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
a,b \\in R \\ \r
\\Rightarrow a^{2}+b^{2}\\gt 2ab \\ \r
\\left( \\text{\u5F53\u4E14\u4EC5\u5F53}a=b\\text{\u65F6\u53D6\u201C}=\\text{\u201D\u53F7}\\right) \r
\\end{array}`},{value:`\\begin{array}{c} \r
H_{n}=\\frac{n}{\\sum \\limits_{i=1}^{n}\\frac{1}{x_{i}}}= \\frac{n}{\\frac{1}{x_{1}}+ \\frac{1}{x_{2}}+ \\cdots + \\frac{1}{x_{n}}} \\ G_{n}=\\sqrt[n]{\\prod \\limits_{i=1}^{n}x_{i}}= \\sqrt[n]{x_{1}x_{2}\\cdots x_{n}} \\ A_{n}=\\frac{1}{n}\\sum \\limits_{i=1}^{n}x_{i}=\\frac{x_{1}+ x_{2}+ \\cdots + x_{n}}{n} \\ Q_{n}=\\sqrt{\\sum \\limits_{i=1}^{n}x_{i}^{2}}= \\sqrt{\\frac{x_{1}^{2}+ x_{2}^{2}+ \\cdots + x_{n}^{2}}{n}} \\ H_{n}\\leq G_{n}\\leq A_{n}\\leq Q_{n} \r
\\end{array}`}]}]},{name:"\u79EF\u5206",value:"\\frac{\\mathrm{d}\\partial}{\\partial x}",children:[{data:[{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}x^n=nx^{n-1} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}e^{ax}=a\\,e^{ax} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\ln(x)=\\frac{1}{x} "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\sin x=\\cos x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cos x=-\\sin x "},{value:"\\int k\\mathrm{d}x = kx+C "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\tan x=\\sec^2 x "},{value:"\\frac{\\mathrm{d}}{\\mathrm{d}x}\\cot x=-\\csc^2 x "},{value:"\\int \\frac{1}{x}\\mathrm{d}x= \\ln \\left| x \\right| +C "},{value:"\\int \\frac{1}{\\sqrt{1-x^{2}}}\\mathrm{d}x= \\arcsin x +C "},{value:"\\int \\frac{1}{1+x^{2}}\\mathrm{d}x= \\arctan x +C "},{value:"\\int u \\frac{\\mathrm{d}v}{\\mathrm{d}x}\\,\\mathrm{d}x=uv-\\int \\frac{\\mathrm{d}u}{\\mathrm{d}x}v\\,\\mathrm{d}x "},{value:"f(x) = \\int_{-\\infty}^\\infty \\hat f(x)\\xi\\,e^{2 \\pi i \\xi x} \\,\\mathrm{d}\\xi "},{value:"\\int x^{\\mu}\\mathrm{d}x=\\frac{x^{\\mu +1}}{\\mu +1}+C, \\left({\\mu \\neq -1}\\right) "}]}]},{name:"\u4E09\u89D2",value:"e^{i \\theta}",children:[{name:"\u6C42\u548C Summation",data:[{value:"e^{i \\theta} "},{value:"\\left(\\frac{\\pi}{2}-\\theta \\right ) "},{value:"\\text{sin}^{2}\\frac{\\alpha}{2}=\\frac{1- \\text{cos}\\alpha}{2} "},{value:"\\text{cos}^{2}\\frac{\\alpha}{2}=\\frac{1+ \\text{cos}\\alpha}{2} "},{value:"\\text{tan}\\frac{\\alpha}{2}=\\frac{\\text{sin}\\alpha}{1+ \\text{cos}\\alpha} "},{value:"\\sin \\alpha + \\sin \\beta =2 \\sin \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\sin \\alpha - \\sin \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha + \\cos \\beta =2 \\cos \\frac{\\alpha + \\beta}{2}\\cos \\frac{\\alpha - \\beta}{2} "},{value:"\\cos \\alpha - \\cos \\beta =-2\\sin \\frac{\\alpha + \\beta}{2}\\sin \\frac{\\alpha - \\beta}{2} "},{value:"a^{2}=b^{2}+c^{2}-2bc\\cos A "},{value:"\\frac{\\sin A}{a}=\\frac{\\sin B}{b}=\\frac{\\sin C}{c}=\\frac{1}{2R} "},{value:"\\sin \\left ( \\frac{\\pi}{2}-\\alpha \\right ) = \\cos \\alpha "},{value:"\\sin \\left ( \\frac{\\pi}{2}+\\alpha \\right ) = \\cos \\alpha "}]}]},{name:"\u7EDF\u8BA1",value:"C_{r}^{n}",children:[{data:[{value:"C_{r}^{n} "},{value:"\\frac{n!}{r!(n-r)!} "},{value:"\\sum_{i=1}^{n}{X_i} "},{value:"\\sum_{i=1}^{n}{X_i^2} "},{value:"X_1, \\cdots,X_n "},{value:"\\frac{x-\\mu}{\\sigma} "},{value:"\\sum_{i=1}^{n}{(X_i - \\overline{X})^2} "},{value:`\\begin{array}{c} \r
\\text{\u82E5}P \\left( AB \\right) =P \\left( A \\right) P \\left( B \\right) \\\\ \r
\\text{\u5219}P \\left( A \\left| B\\right. \\right) =P \\left({B}\\right) \r
\\end{array}`},{value:"P(E) ={n \\choose k}p^k (1-p)^{n-k} "},{value:"P \\left( A \\right) = \\lim \\limits_{n \\to \\infty}f_{n}\\left ( A \\right ) "},{value:"P \\left( \\bigcup \\limits_{i=1}^{+ \\infty}A_{i}\\right) = \\prod \\limits_{i=1}^{+ \\infty}P{\\left( A_{i}\\right)} "},{value:`\\begin{array}{c} \r
P \\left( \\emptyset \\right) =0 \\\\ \r
P \\left( S \\right) =1 \r
\\end{array}`},{value:`\\begin{array}{c} \r
\\forall A \\in S \\\\ \r
P \\left( A \\right) \\ge 0 \r
\\end{array}`},{value:"P \\left( \\bigcup \\limits_{i=1}^{n}A_{i}\\right) = \\prod \\limits_{i=1}^{n}P \\left( A_{i}\\right) "},{value:`\\begin{array}{c} \r
S= \\binom{N}{n},A_{k}=\\binom{M}{k}\\cdot \\binom{N-M}{n-k} \\\\ \r
P\\left ( A_{k}\\right ) = \\frac{\\binom{M}{k}\\cdot \\binom{N-M}{n-k}}{\\binom{N}{n}} \r
\\end{array}`},{value:`\\begin{array}{c} \r
P_{n}=n! \\\\ \r
A_{n}^{k}=\\frac{n!}{\\left( n-k \\left) !\\right. \\right.} \r
\\end{array}`}]}]}],b=re=>{y.current.setValue(y.current.getValue()+" "+re.value+" ")},E=[{key:"1",label:"\u5FEB\u6377\u6A21\u677F",children:je.createElement(me.Z,{className:se.Z.lists,gutter:[10,10]},a.map((re,oe)=>je.createElement(Ie.Z,{flex:"110px",className:se.Z.item},je.createElement("div",null,je.createElement(ze.Z,{value:`$$${re.value}$$`}),re.name),je.createElement("div",{className:se.Z.children},re.children.map((ne,ge)=>je.createElement("div",{key:ge},je.createElement("h1",null,ne.name),je.createElement(me.Z,{gutter:[10,10]},ne.data.map((pe,Le)=>je.createElement(Ie.Z,{key:Le,onClick:()=>b(pe),className:se.Z.diamond},je.createElement(ze.Z,{value:"`$$"+pe.value+"$$`"}))))))))))},{key:"2",label:"\u516C\u5F0F\u6A21\u677F",children:je.createElement(me.Z,{className:se.Z.lists,gutter:[10,10]},x.map((re,oe)=>je.createElement(Ie.Z,{flex:"110px",className:se.Z.item},je.createElement("div",null,je.createElement(ze.Z,{value:"`$$"+re.value+"$$`"}),re.name),je.createElement("div",{className:se.Z.children},re.children.map((ne,ge)=>je.createElement("div",{key:ge},ne.name&&je.createElement("h1",null,ne.name),je.createElement(me.Z,{gutter:[10,10]},ne.data.map((pe,Le)=>je.createElement(Ie.Z,{key:Le,onClick:()=>b(pe),className:se.Z.diamond},je.createElement(ze.Z,{value:"`$$"+pe.value+"$$`"}))))))))))}],z=()=>{var re=document.createElement("div");re.innerHTML=y.current.getValue();var oe=re.innerText;return _e&&_e(oe),oe};return(0,ae.useImperativeHandle)(ce,()=>({getData:z})),je.createElement("div",{className:se.Z.mathWrap},je.createElement(Ze.default,{defaultActiveKey:"1",items:E}),je.createElement("math-field",{locale:"zh_cn",className:se.Z.mathField,placeholder:"\u8BF7\u6253\u5F00\u952E\u76D8\uFF0C\u8F93\u5165\u516C\u5F0F",ref:y,style:{width:800,marginTop:30,fontSize:18}},we||""),$e&&je.createElement("div",{className:se.Z.button},je.createElement(Me.ZP,{size:"large",onClick:z,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))});wt.Z=He},57444:function(ht,wt,ee){"use strict";ee.d(wt,{h:function(){return re}});var ae=ee(67294),me=ee(42563),Ie=ee(22150),Ze=ee(71577),Me=ee(4631),ze=ee.n(Me),se=ee(71749),Te=ee(30483),je=Object.defineProperty,He=Object.defineProperties,_e=Object.getOwnPropertyDescriptors,$e=Object.getOwnPropertySymbols,we=Object.prototype.hasOwnProperty,ce=Object.prototype.propertyIsEnumerable,y=(oe,ne,ge)=>ne in oe?je(oe,ne,{enumerable:!0,configurable:!0,writable:!0,value:ge}):oe[ne]=ge,a=(oe,ne)=>{for(var ge in ne||(ne={}))we.call(ne,ge)&&y(oe,ge,ne[ge]);if($e)for(var ge of $e(ne))ce.call(ne,ge)&&y(oe,ge,ne[ge]);return oe},x=(oe,ne)=>He(oe,_e(ne));const b=me.default.Option,E={labelCol:{span:4},wrapperCol:{span:20}},z={asp:["ASP","vbscript"],actionscript:["ActionScript(3.0)/Flash/Flex","clike"],bash:["Bash/Bat","shell"],css:["CSS","css"],c:["C","clike"],cpp:["C++","clike"],csharp:["C#","clike"],coffeescript:["CoffeeScript","coffeescript"],d:["D","d"],dart:["Dart","dart"],delphi:["Delphi/Pascal","pascal"],erlang:["Erlang","erlang"],go:["Golang","go"],groovy:["Groovy","groovy"],html:["HTML","text/html"],java:["Java","clike"],json:["JSON","text/json"],javascript:["Javascript","javascript"],lua:["Lua","lua"],less:["LESS","css"],markdown:["Markdown","gfm"],"objective-c":["Objective-C","clike"],php:["PHP","php"],perl:["Perl","perl"],python:["Python","python"],r:["R","r"],rst:["reStructedText","rst"],ruby:["Ruby","ruby"],sql:["SQL","sql"],sass:["SASS/SCSS","sass"],shell:["Shell","shell"],scala:["Scala","clike"],swift:["Swift","clike"],vb:["VB/VBScript","vb"],xml:["XML","text/xml"],yaml:["YAML","yaml"]};wt.Z=({callback:oe,onCancel:ne})=>{const[ge,pe]=(0,ae.useState)("python");function Le(xe){pe(z[xe][1])}function be(xe){oe(xe)}return ae.createElement(Ie.default,x(a({},E),{className:"code-block-panel",initialValues:{language:"python",content:""},onFinish:be,style:{width:500}}),ae.createElement(Ie.default.Item,{label:"\u4EE3\u7801\u8BED\u8A00",name:"language"},ae.createElement(me.default,{getPopupContainer:xe=>xe.parentNode,onChange:Le},Object.keys(z).map(xe=>ae.createElement(b,{key:xe,value:xe},z[xe][0])))),ae.createElement(Ie.default.Item,{label:"\u4EE3\u7801\u5185\u5BB9",name:"content",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u4EE3\u7801\u5185\u5BB9"}]},ae.createElement(re,{mode:ge})),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Ze.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Ze.ZP,{type:"ghost",onClick:ne},"\u53D6\u6D88")))};function re({value:oe,onChange:ne,mode:ge,options:pe={}}){const Le=(0,ae.useRef)(),[be,xe]=(0,ae.useState)();return(0,ae.useEffect)(()=>{if(be){let Se=function(ft){const Ye=ft.getValue();ne&&ne(Ye)};return be.on("change",Se),()=>{be.off("change",Se)}}},[be,ne]),(0,ae.useEffect)(()=>{be&&be.setOption("mode",ge)},[be,ge]),(0,ae.useEffect)(()=>{be&&(oe!==be.getValue()||oe==="")&&setTimeout(()=>{be.setValue(oe||"")},300)},[be,oe]),(0,ae.useEffect)(()=>{if(Le.current&&!be){const Se=ze().fromTextArea(Le.current,a({mode:ge,lineNumbers:!0,lineWrapping:!0,autoCloseBrackets:!0,tabSize:4,autofocus:!0,autoCloseTags:!0,matchBrackets:!0,styleActiveLine:!0},pe));xe(Se)}},[Le.current,be]),ae.createElement("div",{className:"my-codemirror-container"},ae.createElement("textarea",{ref:Le}))}},35567:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return Tn}});var ae=ee(67294),me=ee(4631),Ie=ee.n(me),Ze=ee(91033),Me=ee(71749),ze=ee(57341),se=ee(82801),Te=ee(88386),je=ee(49047),He=ee(80785),_e=ee(85725),$e=({value:et="",className:dt,showTextOnly:Ve,showLines:jt,style:bn={}})=>{const Jn=(0,ae.useMemo)(()=>"",[et]);return ae.createElement(ae.Fragment,null,ae.createElement("div",{dangerouslySetInnerHTML:{__html:Jn}}))},we=ee(67294),ce=Object.defineProperty,y=Object.defineProperties,a=Object.getOwnPropertyDescriptors,x=Object.getOwnPropertySymbols,b=Object.prototype.hasOwnProperty,E=Object.prototype.propertyIsEnumerable,z=(et,dt,Ve)=>dt in et?ce(et,dt,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):et[dt]=Ve,re=(et,dt)=>{for(var Ve in dt||(dt={}))b.call(dt,Ve)&&z(et,Ve,dt[Ve]);if(x)for(var Ve of x(dt))E.call(dt,Ve)&&z(et,Ve,dt[Ve]);return et},oe=(et,dt)=>y(et,a(dt));let ne=[{title:"\u7C97\u4F53",icon:"md-iconfont icon-bold",actionName:"bold"},{title:"\u659C\u4F53",icon:"md-iconfont icon-italic",actionName:"italic"},"|",{title:"\u65E0\u5E8F\u5217\u8868",icon:"md-iconfont icon-unorder-list",actionName:"list-ul"},{title:"\u6709\u5E8F\u5217\u8868",icon:"md-iconfont icon-order-list",actionName:"list-ol"},"|",{title:"\u884C\u5185\u4EE3\u7801",icon:"md-iconfont icon-code",actionName:"code"},{title:"\u4EE3\u7801\u5757\uFF08\u591A\u8BED\u8A00\u98CE\u683C\uFF09",icon:"md-iconfont icon-file-code",actionName:"code-block"},{title:"\u94FE\u63A5",icon:"md-iconfont icon-link",actionName:"link"},"|",{title:"\u884C\u5185\u516C\u5F0F",icon:"md-iconfont icon-sum",actionName:"inline-latex"},{title:"\u6570\u5B66\u56FE\u50CF",icon:"iconfont icon-shuxuetuxiang2",actionName:"maths-latex"},{title:"\u591A\u884C\u516C\u5F0F",icon:"iconfont icon-jisuan1",actionName:"latex"},"|",{title:"\u6DFB\u52A0\u56FE\u7247",icon:"md-iconfont icon-picture",actionName:"upload-image"},{title:"\u63D2\u5165\u753B\u56FE",icon:"iconfont icon-sheji",actionName:"draw-image"},{title:"\u63D2\u5165\u6D41\u7A0B\u56FE",icon:"iconfont icon-liucheng",actionName:"add-flowchart"},{title:"\u8868\u683C",icon:"md-iconfont icon-table",actionName:"add-table"},"|",{title:"\u6362\u884C",icon:"md-iconfont icon-minus",actionName:"line-break"},{title:"\u6E05\u7A7A",icon:"md-iconfont icon-eraser",actionName:"eraser"}];function ge({onActionCallback:et,title:dt,icon:Ve,actionName:jt,className:bn="",children:Jn}){function ja(){et(jt)}return we.createElement("a",{title:dt,className:bn,onClick:ja},we.createElement("i",{className:`${Ve}`}),Jn)}var pe=({watch:et,showNullButton:dt,showNullProgramButton:Ve,onActionCallback:jt,fullScreen:bn,insertTemp:Jn,hidetoolBar:ja,extraUse:ca})=>{const Wn=[...ne,{title:`${et?"\u5173\u95ED\u5B9E\u65F6\u9884\u89C8":"\u5F00\u542F\u5B9E\u65F6\u9884\u89C8"}`,icon:`${et?"md-iconfont icon-eye-slash":"md-iconfont icon-eye"}`,actionName:"trigger-watch"}];return we.createElement("ul",{className:"markdown-toolbar-container"},!ja&&Wn.map((Ba,ho)=>we.createElement("li",{key:ho},Ba.actionName?we.createElement(ge,oe(re({},Ba),{onActionCallback:jt})):we.createElement("span",{className:"v-line"}))),dt?we.createElement("li",null,we.createElement(ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-null-ch",onActionCallback:jt},we.createElement("span",{className:"fill-tip"},"\u70B9\u51FB\u63D2\u5165\b\u586B\u7A7A\u9879"))):null,Ve?we.createElement(we.Fragment,null,we.createElement("li",null,we.createElement(ge,{icon:"md-iconfont icon-edit insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-signal",onActionCallback:jt},we.createElement("span",{className:"fill-tip"},"+\u5355\u884C\u586B\u7A7A\u9879"))),we.createElement("li",null,we.createElement(ge,{icon:"md-iconfont icon-uniE900 insert-blank",className:"btn-null",title:"\u589E\u52A0\u586B\u7A7A",actionName:"add-multiple",onActionCallback:jt},we.createElement("span",{className:"fill-tip"},"+\u591A\u884C\u586B\u7A7A\u9879")))):null,Jn&&we.createElement("li",null,we.createElement(ge,{icon:"md-iconfont icon-edit",className:"btn-null",title:"\u63D2\u5165\u6A21\u677F",actionName:`inster-template-${Jn}`,onActionCallback:jt},we.createElement("span",{className:"fill-tip"},"\u63D2\u5165\u6A21\u677F"))),ca&&we.createElement("li",null,ca),we.createElement("li",{className:"btn-full-screen"},we.createElement(ge,{icon:`${bn?"md-iconfont icon-shrink":"md-iconfont icon-enlarge"}`,title:bn?"\u5173\u95ED\u5168\u5C4F":"\u5F00\u542F\u5168\u5C4F",actionName:"trigger-full-screen",onActionCallback:jt})))},Le=ee(76621),be=ee(22150),xe=ee(69677),Se=ee(71577),ft=Object.defineProperty,Ye=Object.defineProperties,Zt=Object.getOwnPropertyDescriptors,qe=Object.getOwnPropertySymbols,ct=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable,en=(et,dt,Ve)=>dt in et?ft(et,dt,{enumerable:!0,configurable:!0,writable:!0,value:Ve}):et[dt]=Ve,Mt=(et,dt)=>{for(var Ve in dt||(dt={}))ct.call(dt,Ve)&&en(et,Ve,dt[Ve]);if(qe)for(var Ve of qe(dt))zt.call(dt,Ve)&&en(et,Ve,dt[Ve]);return et},lt=(et,dt)=>Ye(et,Zt(dt));const xt={labelCol:{span:4},wrapperCol:{span:20}};var nn=({callback:et,onCancel:dt})=>{function Ve(jt){et(jt)}return ae.createElement(be.default,lt(Mt({},xt),{initialValues:{link:"http://",title:""},className:"link-panel",onFinish:Ve,style:{width:500}}),ae.createElement(be.default.Item,{label:"\u94FE\u63A5\u5730\u5740",name:"link",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u5730\u5740"}]},ae.createElement(xe.default,null)),ae.createElement(be.default.Item,{label:"\u94FE\u63A5\u6807\u9898",name:"title",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u94FE\u63A5\u6807\u9898"}]},ae.createElement(xe.default,null)),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Se.ZP,{type:"ghost",onClick:dt},"\u53D6\u6D88")))},vn=ee(57444),Ue=ee(70859),Ct=ee(14446),Ft=ee(71230),Rn=ee(63205),nt=ee(67294),kt=({callback:et,onCancel:dt})=>{const Ve=document.createElement("canvas"),jt=Ve.getContext("2d");Ve.width=1e3,Ve.height=800,jt.fillStyle="#ffffff",jt.fillRect(0,0,Ve.width,Ve.height);const bn=Ve.toDataURL("image/png");return nt.createElement(Ct.default,{open:!0,width:"100vw",style:{height:"100vh",top:0},footer:null,title:null,closable:!1},nt.createElement(Ft.Z,{style:{height:"100vh"}},nt.createElement(Rn.Z,{fullWidth:!0,noAssociationId:!0,showFullTools:!0,data:{src:bn,visible:!0,title:String(Date.now())},onOk:Jn=>{et({src:Jn.url})},onClose:dt})))},Ce=ee(23495);function hn(){go.CommandHandler.call(this),this._arrowKeyBehavior="move",this._pasteOffset=new go.Point(10,10),this._lastPasteOffset=new go.Point(0,0)}go.Diagram.inherit(hn,go.CommandHandler),hn.prototype.canAlignSelection=function(){var et=this.diagram;return!(et===null||et.isReadOnly||et.isModelReadOnly||et.selection.count<2)},hn.prototype.alignLeft=function(){var et=this.diagram;et.startTransaction("aligning left");var dt=1/0;et.selection.each(function(Ve){Ve instanceof go.Link||(dt=Math.min(Ve.position.x,dt))}),et.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(dt,Ve.position.y))}),et.commitTransaction("aligning left")},hn.prototype.alignRight=function(){var et=this.diagram;et.startTransaction("aligning right");var dt=-1/0;et.selection.each(function(Ve){if(!(Ve instanceof go.Link)){var jt=Ve.actualBounds.x+Ve.actualBounds.width;dt=Math.max(jt,dt)}}),et.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(dt-Ve.actualBounds.width,Ve.position.y))}),et.commitTransaction("aligning right")},hn.prototype.alignTop=function(){var et=this.diagram;et.startTransaction("alignTop");var dt=1/0;et.selection.each(function(Ve){Ve instanceof go.Link||(dt=Math.min(Ve.position.y,dt))}),et.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(Ve.position.x,dt))}),et.commitTransaction("alignTop")},hn.prototype.alignBottom=function(){var et=this.diagram;et.startTransaction("aligning bottom");var dt=-1/0;et.selection.each(function(Ve){if(!(Ve instanceof go.Link)){var jt=Ve.actualBounds.y+Ve.actualBounds.height;dt=Math.max(jt,dt)}}),et.selection.each(function(Ve){Ve instanceof go.Link||Ve.move(new go.Point(Ve.actualBounds.x,dt-Ve.actualBounds.height))}),et.commitTransaction("aligning bottom")},hn.prototype.alignCenterX=function(){var et=this.diagram,dt=et.selection.first();if(dt){et.startTransaction("aligning Center X");var Ve=dt.actualBounds.x+dt.actualBounds.width/2;et.selection.each(function(jt){jt instanceof go.Link||jt.move(new go.Point(Ve-jt.actualBounds.width/2,jt.actualBounds.y))}),et.commitTransaction("aligning Center X")}},hn.prototype.alignCenterY=function(){var et=this.diagram,dt=et.selection.first();if(dt){et.startTransaction("aligning Center Y");var Ve=dt.actualBounds.y+dt.actualBounds.height/2;et.selection.each(function(jt){jt instanceof go.Link||jt.move(new go.Point(jt.actualBounds.x,Ve-jt.actualBounds.height/2))}),et.commitTransaction("aligning Center Y")}},hn.prototype.alignColumn=function(et){var dt=this.diagram;dt.startTransaction("align Column"),et===void 0&&(et=0),et=parseFloat(et);var Ve=new Array;dt.selection.each(function(ca){ca instanceof go.Link||Ve.push(ca)});for(var jt=0;jt<Ve.length-1;jt++){var bn=Ve[jt],Jn=bn.actualBounds.y+bn.actualBounds.height+et,ja=Ve[jt+1];ja.move(new go.Point(bn.actualBounds.x,Jn))}dt.commitTransaction("align Column")},hn.prototype.alignRow=function(et){et===void 0&&(et=0),et=parseFloat(et);var dt=this.diagram;dt.startTransaction("align Row");var Ve=new Array;dt.selection.each(function(ca){ca instanceof go.Link||Ve.push(ca)});for(var jt=0;jt<Ve.length-1;jt++){var bn=Ve[jt],Jn=bn.actualBounds.x+bn.actualBounds.width+et,ja=Ve[jt+1];ja.move(new go.Point(Jn,bn.actualBounds.y))}dt.commitTransaction("align Row")},hn.prototype.canRotate=function(et){var dt=this.diagram;return!(dt===null||dt.isReadOnly||dt.isModelReadOnly||dt.selection.count<1)},hn.prototype.rotate=function(et){et===void 0&&(et=90);var dt=this.diagram;dt.startTransaction("rotate "+et.toString());var dt=this.diagram;dt.selection.each(function(Ve){Ve instanceof go.Link||Ve instanceof go.Group||(Ve.angle+=et)}),dt.commitTransaction("rotate "+et.toString())},hn.prototype.pullToFront=function(){var et=this.diagram;et.startTransaction("pullToFront");var dt=new go.Map;et.selection.each(function(Ve){dt.set(Ve.layer,0)}),dt.iteratorKeys.each(function(Ve){var jt=0;Ve.parts.each(function(bn){if(!bn.isSelected){var Jn=bn.zOrder;isNaN(Jn)?bn.zOrder=0:jt=Math.max(jt,Jn)}}),dt.set(Ve,jt)}),et.selection.each(function(Ve){hn._assignZOrder(Ve,dt.get(Ve.layer)+1)}),et.commitTransaction("pullToFront")},hn.prototype.pushToBack=function(){var et=this.diagram;et.startTransaction("pushToBack");var dt=new go.Map;et.selection.each(function(Ve){dt.set(Ve.layer,0)}),dt.iteratorKeys.each(function(Ve){var jt=0;Ve.parts.each(function(bn){if(!bn.isSelected){var Jn=bn.zOrder;isNaN(Jn)?bn.zOrder=0:jt=Math.min(jt,Jn)}}),dt.set(Ve,jt)}),et.selection.each(function(Ve){hn._assignZOrder(Ve,dt.get(Ve.layer)-1-hn._findGroupDepth(Ve))}),et.commitTransaction("pushToBack")},hn._assignZOrder=function(et,dt,Ve){Ve===void 0&&(Ve=et),et.layer===Ve.layer&&(et.zOrder=dt),et instanceof go.Group&&et.memberParts.each(function(jt){hn._assignZOrder(jt,dt+1,Ve)})},hn._findGroupDepth=function(et){if(et instanceof go.Group){var dt=0;return et.memberParts.each(function(Ve){dt=Math.max(dt,hn._findGroupDepth(Ve))}),dt+1}else return 0},hn.prototype.doKeyDown=function(){var et=this.diagram;if(et!==null){var dt=et.lastInput;if(dt.key==="Up"||dt.key==="Down"||dt.key==="Left"||dt.key==="Right"){var Ve=this.arrowKeyBehavior;if(Ve==="none")return;if(Ve==="select"){this._arrowKeySelect();return}else if(Ve==="move"){this._arrowKeyMove();return}else if(Ve==="tree"){this._arrowKeyTree();return}}go.CommandHandler.prototype.doKeyDown.call(this)}},hn.prototype._getAllParts=function(){var et=new Array;return this.diagram.nodes.each(function(dt){et.push(dt)}),this.diagram.parts.each(function(dt){et.push(dt)}),et},hn.prototype._arrowKeyMove=function(){var et=this.diagram,dt=et.lastInput,Ve=0,jt=0;if(dt.control||dt.meta)Ve=1,jt=1;else if(et.grid!==null){var bn=et.grid.gridCellSize;jt=bn.width,Ve=bn.height}et.startTransaction("arrowKeyMove"),et.selection.each(function(Jn){dt.key==="Up"?Jn.move(new go.Point(Jn.actualBounds.x,Jn.actualBounds.y-Ve)):dt.key==="Down"?Jn.move(new go.Point(Jn.actualBounds.x,Jn.actualBounds.y+Ve)):dt.key==="Left"?Jn.move(new go.Point(Jn.actualBounds.x-jt,Jn.actualBounds.y)):dt.key==="Right"&&Jn.move(new go.Point(Jn.actualBounds.x+jt,Jn.actualBounds.y))}),et.commitTransaction("arrowKeyMove")},hn.prototype._arrowKeySelect=function(){var et=this.diagram,dt=et.lastInput,Ve=null;dt.key==="Up"?Ve=this._findNearestPartTowards(270):dt.key==="Down"?Ve=this._findNearestPartTowards(90):dt.key==="Left"?Ve=this._findNearestPartTowards(180):dt.key==="Right"&&(Ve=this._findNearestPartTowards(0)),Ve!==null&&(dt.shift?Ve.isSelected=!0:dt.control||dt.meta?Ve.isSelected=!Ve.isSelected:et.select(Ve))},hn.prototype._findNearestPartTowards=function(et){var dt=this.diagram.selection.first();if(dt===null)return null;for(var Ve=dt.actualBounds.center,jt=this._getAllParts(),bn=1/0,Jn=dt,ja=0;ja<jt.length;ja++){var ca=jt[ja];if(ca!==dt&&ca.canSelect()){var Wn=ca.actualBounds.center,Ba=Ve.directionPoint(Wn),ho=this._angleCloseness(Ba,et);if(ho<=45){var Mn=Ve.distanceSquaredPoint(Wn);Mn*=1+Math.sin(ho*Math.PI/180),Mn<bn&&(bn=Mn,Jn=ca)}}}return Jn},hn.prototype._angleCloseness=function(et,dt){return Math.min(Math.abs(dt-et),Math.min(Math.abs(dt+360-et),Math.abs(dt-360-et)))},hn.prototype._arrowKeyTree=function(){var et=this.diagram,dt=et.selection.first();if(dt instanceof go.Node){var Ve=et.lastInput;if(Ve.key==="Right"){if(!dt.isTreeLeaf)if(!dt.isTreeExpanded)et.commandHandler.canExpandTree(dt)&&et.commandHandler.expandTree(dt);else{var jt=this._sortTreeChildrenByY(dt).first();jt!==null&&et.select(jt)}}else if(Ve.key==="Left")if(!dt.isTreeLeaf&&dt.isTreeExpanded)et.commandHandler.canCollapseTree(dt)&&et.commandHandler.collapseTree(dt);else{var bn=dt.findTreeParentNode();bn!==null&&et.select(bn)}else if(Ve.key==="Up"){var bn=dt.findTreeParentNode();if(bn!==null){var Jn=this._sortTreeChildrenByY(bn),ja=Jn.indexOf(dt);if(ja>0){for(var ca=Jn.elt(ja-1);ca!==null&&ca.isTreeExpanded&&!ca.isTreeLeaf;){var Wn=this._sortTreeChildrenByY(ca);ca=Wn.last()}ca!==null&&et.select(ca)}else et.select(bn)}}else if(Ve.key==="Down")if(dt.isTreeExpanded&&!dt.isTreeLeaf){var jt=this._sortTreeChildrenByY(dt).first();jt!==null&&et.select(jt)}else for(;dt!==null;){var bn=dt.findTreeParentNode();if(bn===null)break;var Jn=this._sortTreeChildrenByY(bn),ja=Jn.indexOf(dt);if(ja<Jn.length-1){et.select(Jn.elt(ja+1));break}else dt=bn}var Ba=et.selection.first();Ba!==null&&et.scrollToRect(Ba.actualBounds)}},hn.prototype._sortTreeChildrenByY=function(et){var dt=new go.List().addAll(et.findTreeChildrenNodes());return dt.sort(function(Ve,jt){var bn=Ve.location,Jn=jt.location;return bn.y<Jn.y?-1:bn.y>Jn.y?1:bn.x<Jn.x?-1:bn.x>Jn.x?1:0}),dt},hn.prototype.copyToClipboard=function(et){go.CommandHandler.prototype.copyToClipboard.call(this,et),this._lastPasteOffset.set(this.pasteOffset)},hn.prototype.pasteFromClipboard=function(){var et=go.CommandHandler.prototype.pasteFromClipboard.call(this);return this.diagram.moveParts(et,this._lastPasteOffset),this._lastPasteOffset.add(this.pasteOffset),et},Object.defineProperty(hn.prototype,"arrowKeyBehavior",{get:function(){return this._arrowKeyBehavior},set:function(et){if(et!=="move"&&et!=="select"&&et!=="scroll"&&et!=="tree"&&et!=="none")throw new Error('DrawCommandHandler.arrowKeyBehavior must be either "move", "select", "scroll", "tree", or "none", not: '+et);this._arrowKeyBehavior=et}}),Object.defineProperty(hn.prototype,"pasteOffset",{get:function(){return this._pasteOffset},set:function(et){if(!(et instanceof go.Point))throw new Error("DrawCommandHandler.pasteOffset must be a Point, not: "+et);this._pasteOffset.set(et)}});var zn=hn,ba=ee(18023),Yn=ee(15746),Rt=ee(33170),Ge={myPaletteDiv:"myPaletteDiv___Xjz2I",flowChartWrp:"flowChartWrp____f45r",maxH60:"maxH60___Pd4Re"},Fe=ee(67294),pt=(et,dt,Ve)=>new Promise((jt,bn)=>{var Jn=Wn=>{try{ca(Ve.next(Wn))}catch(Ba){bn(Ba)}},ja=Wn=>{try{ca(Ve.throw(Wn))}catch(Ba){bn(Ba)}},ca=Wn=>Wn.done?jt(Wn.value):Promise.resolve(Wn.value).then(Jn,ja);ca((Ve=Ve.apply(et,dt)).next())});function Gt({onCancel:et,callback:dt}){let Ve=(0,ae.useRef)(),jt=(0,ae.useRef)(),bn=(0,ae.useRef)(),Jn=(0,ae.useRef)(!1);const ja=(0,ae.useRef)(!1),[ca,Wn]=(0,ae.useState)(0);function Ba(){const Mn=Ce.bx.make,no={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"};Ve.current=new Ce.S0(jt.current,{padding:20,grid:Mn(Ce.s_,"Grid",Mn(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Mn(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),"draggingTool.isGridSnapEnabled":!0,handlesDragDropForTopLevelParts:!0,mouseDrop:On=>{var ma=On.diagram.commandHandler.addTopLevelParts(On.diagram.selection,!0);ma||On.diagram.currentTool.doCancel()},commandHandler:Mn(zn),"clickCreatingTool.archetypeNodeData":{text:"\u672A\u547D\u540D",fill:null,stroke:null,borderColor:"rgba(0,0,0,0)"},PartCreated:On=>{var ma=On.subject;ma.location=ma.location.copy().snapToGridPoint(On.diagram.grid.gridOrigin,On.diagram.grid.gridCellSize),setTimeout(()=>{On.diagram.commandHandler.editTextBlock()},20)},"commandHandler.archetypeGroupData":{isGroup:!0,text:"NEW GROUP"},SelectionGrouped:On=>{var ma=On.subject;setTimeout(()=>{On.diagram.commandHandler.editTextBlock()})},LinkRelinked:On=>{var ma=On.parameter.part;ma.invalidateConnectedLinks();var Va=On.subject;On.diagram.toolManager.linkingTool.isForwards?Va.toNode.invalidateConnectedLinks():Va.fromNode.invalidateConnectedLinks()},"undoManager.isEnabled":!0}),Ve.current.nodeTemplate=Mn(Ce.NB,"Auto",{locationSpot:Ce.z6.Center,locationObjectName:"SHAPE",desiredSize:new Ce.$u(120,60),minSize:new Ce.$u(40,40),resizable:!0,resizeCellSize:new Ce.$u(10,10),rotatable:!0},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),new Ce.KX("desiredSize","size",Ce.$u.parse).makeTwoWay(Ce.$u.stringify),Mn(Ce.bn,{name:"SHAPE",fill:no.white,cursor:"pointer",portId:"",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("figure"),new Ce.KX("fill"),new Ce.KX("stroke","borderColor"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Mn(Ce.bn,{width:100,height:20,strokeWidth:0,fill:"transparent"}),Mn(Ce.al,{margin:1,textAlign:"center",overflow:Ce.al.OverflowEllipsis,editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Ve.current.nodeTemplate.toolTip=Mn("ToolTip",Mn(Ce.s_,"Vertical",{maxSize:new Ce.$u(200,NaN)},Mn(Ce.al,{font:"bold 10pt sans-serif",textAlign:"center"},new Ce.KX("text")),Mn(Ce.al,{font:"10pt sans-serif",textAlign:"center"},new Ce.KX("text","details"))));function ot(On,ma){var Va=(Un,Wr)=>{Un.handled=!0,Un.diagram.model.commit(_r=>{var ti=Wr.part.adornedPart,ni=new Ce.E9().setRectSpot(ti.actualBounds,On);ni.subtract(ti.location),ni.scale(2,2),ni.x+=Math.sign(ni.x)*130,ni.y+=Math.sign(ni.y)*130,ni.add(ti.location),ni.snapToGridPoint(Un.diagram.grid.gridOrigin,Un.diagram.grid.gridCellSize);var ai=_r.copyNodeData(ti.data);_r.setGroupKeyForNodeData(ai,_r.getGroupKeyForNodeData(ti.data)),_r.addNodeData(ai);var bl={from:ti.key,to:_r.getKeyForNodeData(ai)};_r.addLinkData(bl);var yi=Un.diagram.findNodeForData(ai);yi.location=ni,Un.diagram.select(yi),setTimeout(()=>{Un.diagram.commandHandler.editTextBlock()},20)})};return Mn(Ce.bn,{figure:ma,alignment:On,alignmentFocus:On.opposite(),width:On.equals(Ce.z6.Top)||On.equals(Ce.z6.Bottom)?25:18,height:On.equals(Ce.z6.Top)||On.equals(Ce.z6.Bottom)?18:25,fill:"orange",stroke:no.white,strokeWidth:4,mouseEnter:(Un,Wr)=>Wr.fill="dodgerblue",mouseLeave:(Un,Wr)=>Wr.fill="orange",isActionable:!0,click:Va,contextClick:Va})}function Xt(On){return Mn(Ce.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:(ma,Va)=>Va.fill="dodgerblue",mouseLeave:(ma,Va)=>Va.fill="orange",click:(ma,Va)=>{ma.diagram.commandHandler.showContextMenu(Va.part.adornedPart)}},On||{})}Ve.current.nodeTemplate.selectionAdornmentTemplate=Mn(Ce.uz,"Spot",Mn(Ce.Vm,{padding:10}),ot(Ce.z6.Top,"TriangleUp"),ot(Ce.z6.Left,"TriangleLeft"),ot(Ce.z6.Right,"TriangleRight"),ot(Ce.z6.Bottom,"TriangleDown"),Xt({alignment:new Ce.z6(.75,0)}));function $t(On,ma){return(Va,Un)=>{Va.handled=!0,Va.diagram.model.commit(Wr=>{Wr.set(Un.part.adornedPart.data,On,ma)})}}function Qt(On,ma){return ma||(ma="color"),Mn(Ce.bn,{width:16,height:16,stroke:"lightgray",fill:On,margin:1,background:"transparent",mouseEnter:(Va,Un)=>Un.stroke="dodgerblue",mouseLeave:(Va,Un)=>Un.stroke="lightgray",click:$t(ma,On),contextClick:$t(ma,On)})}function $n(){return[Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Qt(no.white,"fill"),Qt(no.beige,"fill"),Qt(no.extralightblue,"fill"),Qt(no.extralightred,"fill"))),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Qt(no.lightgray,"fill"),Qt(no.lightgreen,"fill"),Qt(no.lightblue,"fill"),Qt(no.lightred,"fill")))]}function Ut(){return[Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Qt(no.black),Qt(no.green),Qt(no.blue),Qt(no.red))),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Qt(no.white),Qt(no.magenta),Qt(no.purple),Qt(no.orange)))]}function Bn(On,ma){return ma||(ma="thickness"),Mn(Ce.bn,"LineH",{width:16,height:16,strokeWidth:On,margin:1,background:"transparent",mouseEnter:(Va,Un)=>Un.background="dodgerblue",mouseLeave:(Va,Un)=>Un.background="transparent",click:$t(ma,On),contextClick:$t(ma,On)})}function dn(On,ma){return ma||(ma="dash"),Mn(Ce.bn,"LineH",{width:24,height:16,strokeWidth:2,strokeDashArray:On,margin:1,background:"transparent",mouseEnter:(Va,Un)=>Un.background="dodgerblue",mouseLeave:(Va,Un)=>Un.background="transparent",click:$t(ma,On),contextClick:$t(ma,On)})}function $a(){return[Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Bn(1),Bn(2),Bn(3),Bn(4))),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",dn(null),dn([2,4]),dn([4,4])))]}function Aa(On,ma){return ma||(ma="figure"),Mn(Ce.bn,{width:32,height:32,scale:.5,fill:"lightgray",figure:On,margin:1,background:"transparent",mouseEnter:(Va,Un)=>Un.fill="dodgerblue",mouseLeave:(Va,Un)=>Un.fill="lightgray",click:$t(ma,On),contextClick:$t(ma,On)})}Ve.current.nodeTemplate.contextMenu=Mn("ContextMenu",Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Aa("Rectangle"),Aa("RoundedRectangle"),Aa("Ellipse"),Aa("Diamond"))),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Aa("Parallelogram2"),Aa("ManualOperation"),Aa("Procedure"),Aa("Cylinder1"))),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Aa("Terminator"),Aa("CreateRequest"),Aa("Document"),Aa("TriangleDown"))),$n(),Ut(),$a()),Ve.current.groupTemplate=Mn(Ce.ZA,"Spot",{layerName:"Background",ungroupable:!0,locationSpot:Ce.z6.Center,selectionObjectName:"BODY",computesBoundsAfterDrag:!0,handlesDragDropForMembers:!0,mouseDrop:(On,ma)=>{var Va=ma.addMembers(ma.diagram.selection,!0);Va||ma.diagram.currentTool.doCancel()},avoidable:!1},new Ce.KX("location","loc",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Mn(Ce.s_,"Auto",{name:"BODY"},Mn(Ce.bn,{parameter1:10,fill:no.white,strokeWidth:2,cursor:"pointer",fromLinkable:!0,toLinkable:!0,fromLinkableDuplicates:!0,toLinkableDuplicates:!0,fromSpot:Ce.z6.AllSides,toSpot:Ce.z6.AllSides},new Ce.KX("fill"),new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Mn(Ce.Vm,{background:"transparent",margin:20})),Mn(Ce.al,{alignment:Ce.z6.Top,alignmentFocus:Ce.z6.Bottom,font:"bold 12pt sans-serif",editable:!0},new Ce.KX("text"),new Ce.KX("stroke","color"))),Ve.current.groupTemplate.selectionAdornmentTemplate=Mn(Ce.uz,"Spot",Mn(Ce.s_,"Auto",Mn(Ce.bn,{fill:null,stroke:"dodgerblue",strokeWidth:3}),Mn(Ce.Vm,{margin:1.5})),Xt({alignment:Ce.z6.TopRight,alignmentFocus:Ce.z6.BottomRight})),Ve.current.groupTemplate.contextMenu=Mn("ContextMenu",$n(),Ut(),$a()),Ve.current.linkTemplate=Mn(Ce.rU,{layerName:"Foreground",routing:Ce.rU.AvoidsNodes,corner:10,fromShortLength:10,toShortLength:15,relinkableFrom:!0,relinkableTo:!0,reshapable:!0,resegmentable:!0},new Ce.KX("fromSpot","fromSpot",Ce.z6.parse),new Ce.KX("toSpot","toSpot",Ce.z6.parse),new Ce.KX("fromShortLength","dir",On=>On>=1?10:0),new Ce.KX("toShortLength","dir",On=>On>=1?10:0),new Ce.KX("points").makeTwoWay(),Mn(Ce.bn,{strokeWidth:2},new Ce.KX("stroke","color"),new Ce.KX("strokeWidth","thickness"),new Ce.KX("strokeDashArray","dash")),Mn(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,0),segmentOrientation:Ce.rU.OrientAlong,alignmentFocus:Ce.z6.Right,figure:"circle",width:10,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",On=>On===1)),Mn(Ce.bn,{segmentIndex:-1,segmentOffset:new Ce.E9(-10,6),segmentOrientation:Ce.rU.OrientPlus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",On=>On>=1),new Ce.KX("width","thickness",On=>7+3*On),new Ce.KX("height","thickness",On=>7+3*On),new Ce.KX("segmentOffset","thickness",On=>new Ce.E9(-15,4+1.5*On))),Mn(Ce.bn,{segmentIndex:0,segmentOffset:new Ce.E9(15,-6),segmentOrientation:Ce.rU.OrientMinus90,alignmentFocus:Ce.z6.Right,figure:"triangle",width:12,height:12,strokeWidth:0},new Ce.KX("fill","color"),new Ce.KX("visible","dir",On=>On===2),new Ce.KX("width","thickness",On=>7+3*On),new Ce.KX("height","thickness",On=>7+3*On),new Ce.KX("segmentOffset","thickness",On=>new Ce.E9(-15,4+1.5*On))),Mn(Ce.al,{alignmentFocus:new Ce.z6(0,1,-4,0),editable:!0},new Ce.KX("text").makeTwoWay(),new Ce.KX("stroke","color"))),Ve.current.linkTemplate.selectionAdornmentTemplate=Mn(Ce.uz,Mn(Ce.bn,{isPanelMain:!0,stroke:"transparent",strokeWidth:6,pathPattern:cr(2)},new Ce.KX("pathPattern","thickness",cr)),Xt({alignmentFocus:new Ce.z6(0,0,-6,-4)}));function cr(On){return Mn(Ce.bn,{stroke:"dodgerblue",strokeWidth:2,strokeCap:"square",geometryString:"M0 0 M4 2 H3 M4 "+(On+4).toString()+" H3"})}function zr(On){var ma="M0 0 M8 16 M0 8 L16 8 M12 11 L16 8 L12 5";return On===0?ma="M0 0 M16 16 M0 8 L16 8":On===2&&(ma="M0 0 M16 16 M0 8 L16 8 M12 11 L16 8 L12 5 M4 11 L0 8 L4 5"),Mn(Ce.bn,{geometryString:ma,margin:2,background:"transparent",mouseEnter:(Va,Un)=>Un.background="dodgerblue",mouseLeave:(Va,Un)=>Un.background="transparent",click:$t("dir",On),contextClick:$t("dir",On)})}function co(On){var ma=(Va,Un)=>{Va.handled=!0,Va.diagram.model.commit(Wr=>{var _r=Un.part.adornedPart;Wr.set(_r.data,On?"toSpot":"fromSpot",Ce.z6.stringify(Ce.z6.AllSides)),(On?_r.toNode:_r.fromNode).invalidateConnectedLinks()})};return Mn(Ce.bn,{width:12,height:12,fill:"transparent",mouseEnter:(Va,Un)=>Un.background="dodgerblue",mouseLeave:(Va,Un)=>Un.background="transparent",click:ma,contextClick:ma})}function gn(On,ma){var Va=0,Un=Ce.z6.RightSide;On.equals(Ce.z6.Top)?(Va=270,Un=Ce.z6.TopSide):On.equals(Ce.z6.Left)?(Va=180,Un=Ce.z6.LeftSide):On.equals(Ce.z6.Bottom)&&(Va=90,Un=Ce.z6.BottomSide),ma||(Va-=180);var Wr=(_r,ti)=>{_r.handled=!0,_r.diagram.model.commit(ni=>{var ai=ti.part.adornedPart;ni.set(ai.data,ma?"toSpot":"fromSpot",Ce.z6.stringify(Un)),(ma?ai.toNode:ai.fromNode).invalidateConnectedLinks()})};return Mn(Ce.bn,{alignment:On,alignmentFocus:On.opposite(),geometryString:"M0 0 M12 12 M12 6 L1 6 L4 4 M1 6 L4 8",angle:Va,background:"transparent",mouseEnter:(_r,ti)=>ti.background="dodgerblue",mouseLeave:(_r,ti)=>ti.background="transparent",click:Wr,contextClick:Wr})}Ve.current.linkTemplate.contextMenu=Mn("ContextMenu",Ut(),$a(),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",zr(0),zr(1),zr(2))),Mn("ContextMenuButton",Mn(Ce.s_,"Horizontal",Mn(Ce.s_,"Spot",co(!1),gn(Ce.z6.Top,!1),gn(Ce.z6.Left,!1),gn(Ce.z6.Right,!1),gn(Ce.z6.Bottom,!1)),Mn(Ce.s_,"Spot",{margin:new Ce.Zt(0,0,0,2)},co(!0),gn(Ce.z6.Top,!0),gn(Ce.z6.Left,!0),gn(Ce.z6.Right,!0),gn(Ce.z6.Bottom,!0)))));const Mi=`{ "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 ei=["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 qr(On){return console.log("shapeName:",On),ei.indexOf(On)>=0}var Yo=new Ce.YI(bn.current,{maxSelectionCount:1,linkTemplate:Mn(Ce.rU,{locationSpot:Ce.z6.Center,selectionAdornmentTemplate:Mn(Ce.uz,"Link",{locationSpot:Ce.z6.Center},Mn(Ce.bn,{isPanelMain:!0,fill:null,stroke:"deepskyblue",strokeWidth:0}),Mn(Ce.bn,{toArrow:"Standard",stroke:null}))},{routing:Ce.rU.AvoidsNodes,curve:Ce.rU.JumpOver,corner:5,toShortLength:4},new Ce.KX("points"),Mn(Ce.bn,{isPanelMain:!0,strokeWidth:2}),Mn(Ce.bn,{toArrow:"Standard",stroke:null})),model:new Ce.FJ([{text:"\u672A\u547D\u540D",size:"100 100",fill:null,stroke:"#000"},...Ce.bn.getFigureGenerators().toArray().map(On=>({text:"\u672A\u547D\u540D",size:"100 100",figure:On.key,fill:"white",stroke:"#666",borderColor:"#000"}))])});return Ve.current.addDiagramListener("TextEdited",function(On){var ma;const Va=On.subject.part;var Un=(ma=document.activeElement)==null?void 0:ma.value;typeof Un=="string"&&Un.trim()===""&&Ve.current.model.commit(function(Wr){Wr.set(Va.data,"text","\u672A\u547D\u540D"),Ve.current.commandHandler.stopCommand()},"increment")}),Yo.nodeTemplate=Mn(Ce.NB,"Auto",{locationSpot:Ce.z6.Center},new Ce.KX("location","location",Ce.E9.parse).makeTwoWay(Ce.E9.stringify),Mn(Ce.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 Ce.KX("stroke").makeTwoWay(),new Ce.KX("fill").makeTwoWay(),new Ce.KX("figure")),Mn(Ce.al,{margin:new Ce.Zt(5,5,3,5),font:"10pt sans-serif",minSize:new Ce.$u(16,16),maxSize:new Ce.$u(10,NaN),textAlign:"center",editable:!0},new Ce.KX("key").makeTwoWay())),setTimeout(()=>{Ve.current.grid=Mn(Ce.s_,"Grid",Mn(Ce.bn,"LineH",{stroke:"lightgray",strokeWidth:.5}),Mn(Ce.bn,"LineV",{stroke:"lightgray",strokeWidth:.5})),Ve.current.grid.visible=!0,Ve.current.grid.gridCellStroke="darkgray",Ve.current.grid.gridCellStrokeWidth=1},300),window.myDiagrams=Ve.current,Ve.current}const ho=()=>pt(this,null,function*(){var Mn=Ve.current.makeImage();const no=yield(0,Rt.ZP)("/api/attachments.json",{method:"post",body:{file_type:"base64",original_filename:Date.now(),file:Mn.src}});dt({src:no.url})});return(0,ae.useEffect)(()=>(setTimeout(()=>{Ba()},500),Wn(ca+1),()=>{Ve.current=null}),[]),Fe.createElement("div",{ref:ja,className:Jn.current?`${Ge.maxH60} body-overflow-initial`:"body-overflow-initial"},Fe.createElement(Ct.default,{width:1200,icon:null,footer:null,closable:!0,visible:!!ca,destroyOnClose:!0,maskClosable:!1,rootClassName:"zIndex-9999",title:Fe.createElement(Ft.Z,null,Fe.createElement(Yn.Z,{flex:1},"\u63D2\u5165\u6D41\u7A0B\u56FE"),Fe.createElement(Yn.Z,{onClick:()=>{var Mn,no,ot=Ve.current.selection.first();if(Jn.current=!Jn.current,document.activeElement&&ot){let Xt=(no=(Mn=document.activeElement)==null?void 0:Mn.value)==null?void 0:no.trim();typeof Xt=="string"&&Ve.current.model.commit(function($t){$t.set(ot.data,"text",Xt||"\u672A\u547D\u540D"),Ve.current.commandHandler.stopCommand()},"increment")}Wn(ca+1)}},Fe.createElement("span",{className:"current c-blue mr30",style:{fontWeight:400}},"\u5C55\u5F00/\u6536\u8D77"))),onCancel:et},Fe.createElement("div",{style:{width:"100%",height:"80vh",overflow:"hidden",position:"relative"},className:Ge.flowChartWrp},Fe.createElement("div",{style:{display:"flex",height:"100%"}},Fe.createElement("div",{style:{width:"300px",height:"100%"}},Fe.createElement("div",{style:{background:"#fff",position:"relative",zIndex:12,fontSize:16,color:"#3061d0"}},"\u56FE\u5F62\u5E93"),Fe.createElement("div",{style:{height:"calc(100% - 50px)"},className:Ge.myPaletteDiv,ref:bn})),Fe.createElement("div",{style:{flex:1,position:"relative"}},Fe.createElement("div",{ref:jt,style:{height:"80vh"}}))),Fe.createElement("div",{className:"tr"},Fe.createElement(Se.ZP,{size:"large",onClick:ho,style:{position:"absolute",right:0,bottom:0,zIndex:8},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668")))))}var _t=Gt,Pn=ee(78045),Qn=ee(31795);const Gn=Pn.ZP.Group,Hn={margin:"0 8px"};var Ca=({callback:et,onCancel:dt})=>{function Ve(jt){et(jt)}return ae.createElement(be.default,{className:"add-table-panel",initialValues:{row:3,col:2,align:"default"},onFinish:Ve},ae.createElement("div",{className:"flex-container",style:{alignItems:"baseline"}},ae.createElement("span",{style:Hn},"\u5355\u5143\u683C\u6570\uFF1A"),ae.createElement("span",{style:Hn},"\u884C\u6570"),ae.createElement(be.default.Item,{name:"row",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u884C\u6570"}]},ae.createElement(Qn.Z,null)),ae.createElement("span",{style:Hn},"\u5217\u6570"),ae.createElement(be.default.Item,{name:"col",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u5217\u6570"}]},ae.createElement(Qn.Z,null))),ae.createElement("div",{className:"flex-container",style:{marginTop:12,alignItems:"baseline"}},ae.createElement("span",{style:Hn},"\u5BF9\u9F50\u65B9\u5F0F\uFF1A"),ae.createElement(be.default.Item,{name:"align"},ae.createElement(Gn,null,ae.createElement(Pn.ZP,{value:"default"},ae.createElement("i",{className:"fa fa-align-justify"})),ae.createElement(Pn.ZP,{value:"left"},ae.createElement("i",{className:"fa fa-align-left"})),ae.createElement(Pn.ZP,{value:"center"},ae.createElement("i",{className:"fa fa-align-center"})),ae.createElement(Pn.ZP,{value:"right"},ae.createElement("i",{className:"fa fa-align-right"}))))),ae.createElement("div",{className:"flex-container flex-end"},ae.createElement(Se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),ae.createElement(Se.ZP,{type:"ghost",onClick:dt},"\u53D6\u6D88")))},Ee=ee(47897),Ke=ee(61016),Nn=ee.n(Ke),st=(0,ae.forwardRef)(({use3d:et,width:dt,height:Ve,callback:jt,showSaveButton:bn},Jn)=>{const ja=(0,ae.useRef)(),ca=(0,ae.useRef)(),[Wn,Ba]=(0,ae.useState)(!1),ho=(0,ae.useRef)({id:ja,appName:"graphing",width:dt||1e3,height:Ve||600,showToolBar:!0,showMenuBar:!0,allowStyleBar:!0,showAlgebraInput:!0,enableLabelDrags:!1,enableShiftDragZoom:!0,showToolBarHelp:!1,errorDialogsActive:!0,showTutorialLink:!0,showLogging:!0,useBrowserForJS:!1});(0,ae.useEffect)(()=>{ca.current=new(Nn())(ho.current,!0),window.onload=function(){ca.current.inject("applet_container")}},[]);const Mn=()=>{var no=window.ggbApplet.getPNGBase64(1,!0,72);return jt&&jt(no),no};return(0,ae.useEffect)(()=>{ho.current.appName=Wn?"3D":"graphing",ca.current.inject("applet_container")},[Wn]),(0,ae.useEffect)(()=>{Ba(et)},[et]),(0,ae.useImperativeHandle)(Jn,()=>({getImgData:Mn})),ae.createElement(ae.Fragment,null,ae.createElement("div",{style:{width:"100%",height:"100%"},id:"applet_container",ref:ja}),ae.createElement(Ft.Z,{align:"middle"},ae.createElement(Yn.Z,{flex:1},ae.createElement(Ee.Z,{size:"default",checkedChildren:"\u5173\u95ED3D\u56FE\u50CF",unCheckedChildren:"\u5F00\u542F3D\u56FE\u50CF",checked:Wn,onChange:no=>Ba(no)})),ae.createElement(Yn.Z,null,ae.createElement(Se.ZP,{size:"large",onClick:Mn,style:{zIndex:8,marginTop:10},type:"primary"},"\u4FDD\u5B58\u5230\u7F16\u8F91\u5668"))))}),tn=ee(36527),We=ee(25934),ut=ee(2453);const Bt="link",Wt="upload-image",Ot="add-flowchart",yn="draw-image",aa="add-flowchart",Vn="code-block",jn="add-table",Ga="------------",ra={default:Ga,left:`:${Ga}`,center:`:${Ga}:`,right:`${Ga}:`};var Ka=ee(99914),Pr=(et,dt,Ve)=>new Promise((jt,bn)=>{var Jn=Wn=>{try{ca(Ve.next(Wn))}catch(Ba){bn(Ba)}},ja=Wn=>{try{ca(Ve.throw(Wn))}catch(Ba){bn(Ba)}},ca=Wn=>Wn.done?jt(Wn.value):Promise.resolve(Wn.value).then(Jn,ja);ca((Ve=Ve.apply(et,dt)).next())});function Tr(){}let Xr=0;const Rr=1e4,Mr="\u2581",to="@\u2581\u2581@",lo="@\u2581@",gr=`
**\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`,Sn=["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 In(et){return/^\d+$/.test(et)?`${et}px`:et}const Ln=navigator.platform.toUpperCase().indexOf("MAC")>=0?"Cmd":"Ctrl",Oa={[Ln+"-B"]:"bold",[Ln+"-I"]:"italic"},Ar={[Bt]:"\u6DFB\u52A0\u94FE\u63A5",[Vn]:"\u6DFB\u52A0\u4EE3\u7801\u5757",[Wt]:"\u6DFB\u52A0\u56FE\u7247",[yn]:"\u6DFB\u52A0\u753B\u56FE",[Ot]:"\u63D2\u5165\u6D41\u7A0B\u56FE",[jn]:"\u6DFB\u52A0\u8868\u683C","maths-latex":"\u6570\u5B66\u56FE\u50CF","inline-latex":"LATEX\u516C\u5F0F"};var Tn=({defaultValue:et="",onChange:dt,width:Ve="100%",height:jt=400,miniToolbar:bn=!1,isFocus:Jn=!1,watch:ja,insertTemp:ca,mode:Wn="markdown",id:Ba="markdown-editor-id",showResizeBar:ho=!1,noStorage:Mn=!1,showNullButton:no=!1,showNullProgramButton:ot=!1,hidetoolBar:Xt=!1,fullScreen:$t=!1,onBlur:Qt,onCMBeforeChange:$n,onFullScreen:Ut,className:Bn="",disablePaste:dn=!1,disabled:$a=!1,disabledFill:Aa=!1,placeholder:cr="",values:zr="",extraUse:co})=>{const[gn,Mi]=(0,ae.useState)(null),[ei,qr]=(0,ae.useState)(et),[Yo,On]=(0,ae.useState)(ja),[ma,Va]=(0,ae.useState)($t),[Un,Wr]=(0,ae.useState)(""),[_r,ti]=(0,ae.useState)(0),[ni,ai]=(0,ae.useState)(jt),[bl,yi]=(0,ae.useState)(!1),jl=(0,ae.useRef)((0,We.Z)()),$l=(0,ae.useRef)(!1),wi=(0,ae.useRef)(),[Xo,hl]=(0,ae.useState)(0),[Cl,Fl]=(0,ae.useState)(0),tl=(0,ae.useRef)(),ki=(0,ae.useRef)(),pl=(0,ae.useRef)(),kr=(0,ae.useRef)(),vt=()=>Pr(void 0,null,function*(){var xn;const Dt=yield Fetch("/api/attachments/distinct_hash_val.json",{method:"post",body:{hash_val:jl.current}});(xn=Dt==null?void 0:Dt.attachments)!=null&&xn.length&&(console.log("cm:",gn,tl),Dt.attachments.map(pn=>{pn.content_type.indexOf("image")>-1?gn.replaceSelection(`![,](/api/attachments/${pn.id}?type=${pn.content_type})`):pn.content_type.indexOf("video")>-1?gn.replaceSelection(`<video width="100%" controls src="${ENV.API_SERVER}/api/attachments/${data.id}"></video>`):pn.content_type.indexOf("pdf")>-1?gn.replaceSelection(`<a href="${ENV.API_SERVER}/api/attachments/${pn.id}?type=${pn.content_type}&disposition=inline" target="_blank">${pn.name}</a>`):gn.replaceSelection(`[${pn.name}](${ENV.API_SERVER}/api/attachments/${pn.id}?type=${pn.content_type})`)}))});(0,ae.useEffect)(()=>{const xn=window.scrollY||window.pageYOffset;qr(zr),gn==null||gn.setValue(zr),window.scrollTo(0,xn)},[zr]),(0,ae.useEffect)(()=>{Ut==null||Ut(ma)},[ma]),(0,ae.useEffect)(()=>{if(tl.current){let xn=function(pn,Cn){var oa;if(dn){Cn.preventDefault();return}const Fa=Cn.clipboardData;if(Fa){const Xa=Fa.types.toString(),yr=Fa.items;if(Xa==="Files"||Fa.types.indexOf("Files")>-1){if(Cn.preventDefault(),Wn=="stex")return;try{let sr=yr[1];((oa=yr[0])==null?void 0:oa.kind)==="file"&&(sr=yr[0]);const _n=sr.getAsFile(),Pa=_n.name.split(".").pop();(0,Ue.I)(_n,pa=>{var Za,dr,Hr;pa.id?((Za=_n==null?void 0:_n.type)==null?void 0:Za.indexOf("image"))>-1?Dt.replaceSelection(`<img width="100%" src="/api/attachments/${pa.id}?type=${pa.content_type})" alt="" />`):((dr=_n==null?void 0:_n.type)==null?void 0:dr.indexOf("video"))>-1?Dt.replaceSelection(`<video width="100%" controls src="/api/attachments/${pa.id}"></video>`):((Hr=_n==null?void 0:_n.type)==null?void 0:Hr.indexOf("pdf"))>-1?Dt.replaceSelection(`<a href="/api/attachments/${pa.id}?type=${_n.type}&disposition=inline" target="_blank">${_n.name}</a>`):Sn.includes(Pa)?Dt.replaceSelection(`<a href="/api/attachments/${pa.id}?type=office&disposition=inline" target="_blank">${_n.name}</a>`):Dt.replaceSelection(`[${_n.name}](/api/attachments/${pa.id}?type=${pa.content_type})`):(pa==null?void 0:pa.status)===401&&(ut.ZP.warning((pa==null?void 0:pa.message)||"\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),document.location.href="/user/login")})}catch(sr){ut.ZP.warning("\u8BF7\u4F7F\u7528chrome\u6D4F\u89C8\u5668\u7C98\u8D34")}return!0}else return!0}return!0};const Dt=Ie().fromTextArea(tl.current,{mode:Wn,lineNumbers:!bn,lineWrapping:!0,value:et,autoCloseTags:!ot,autoCloseBrackets:!0});return Dt.on("keyup",function(pn,Cn){Cn.keyCode===8&&(pn.getValue()==""?Dt.setOption("placeholder",cr):Dt.setOption("placeholder",null))}),Dt.on("keydown",function(pn,Cn){if(Cn.keyCode===8){var oa=Jt(pn);oa&&Cn.preventDefault()}}),Jn&&Dt.focus(),Dt.on("paste",xn),Dt.on("dragleave",function(pn,Cn){ki.current.classList.remove("mouse-hover-md")}),$a&&Dt.on("beforeChange",function(pn,Cn){(Cn.origin==="paste"||Cn.origin==="+input")&&Cn.cancel()}),Mi(Dt),()=>{Dt.off("paste",xn)}}},[]);const At=(0,ae.useCallback)(()=>{if(ki.current)try{}catch(xn){console.log(xn,"---- to set md editor body height")}},[ni,ki,ma]);(0,ae.useEffect)(()=>{function xn(){let Dt=new Ze.Z(pn=>{for(let Cn of pn)(Cn.target.offsetHeight>0||Cn.target.offsetWidth>0)&&(At(),gn.setSize("100%","100%"),gn.refresh())});return Dt.observe(tl.current.parentElement),Dt}if(gn){const Dt=xn();return()=>{var pn,Cn;(pn=tl.current)!=null&&pn.parentElement&&Dt.unobserve((Cn=tl.current)==null?void 0:Cn.parentElement)}}},[gn,At]),(0,ae.useEffect)(()=>{if(gn){let xn=[];for(const[Dt,pn]of Object.entries(Oa)){let Cn={[Dt]:()=>{Ne(pn)}};xn.push(Cn),gn.addKeyMap(Cn)}return wi.current=setInterval(()=>{$l.current&&vt()},4e3),()=>{clearInterval(wi.current);for(let Dt of xn)gn.removeKeyMap(Dt)}}},[gn]),(0,ae.useEffect)(()=>{$t!==ma&&Va($t)},[$t]),(0,Ka.Z)(()=>{if(!Mn&&_r>0){let xn=new Date().getTime(),Dt=window.sessionStorage.getItem(Ba);xn>=_r+Rr&&(!Dt||Dt!==ei)&&(window.sessionStorage.setItem(Ba,ei),yi(!0))}},Rr),(0,ae.useEffect)(()=>{On(ja)},[gn,ja]),(0,ae.useEffect)(()=>{gn&&Jn&&gn.focus()},[gn,Jn]),(0,ae.useEffect)(()=>{if(Yo&&gn){let xn=function(pn){let Cn=pn.target;if(kr.current){let oa=Cn.scrollTop/Cn.scrollHeight;kr.current.scrollTop=kr.current.scrollHeight*oa}};const Dt=gn.getScrollerElement();return Dt.addEventListener("scroll",xn),()=>{Dt.removeEventListener("scroll",xn)}}},[gn,Yo]),(0,ae.useEffect)(()=>{if(gn&&$n){let xn=function(Dt,pn){$n(Dt,pn)};return gn.on("beforeChange",xn),()=>{gn.off("beforeChange",xn)}}},[gn,$n]),(0,ae.useEffect)(()=>{if(gn&&Qt){let xn=function(){Qt(gn.getValue())};return gn.on("blur",xn),()=>{gn.off("blur",xn)}}},[gn,Qt]);function Jt(xn,Dt){var pn=xn.getDoc(),Cn=pn.getCursor(),oa=pn.getLine(Cn.line),Fa=oa.charAt(Cn.ch-1),Xa=oa.lastIndexOf("@\u2581@",Cn.ch),yr=oa.lastIndexOf("@\u2581\u2581@",Cn.ch),sr=Xa>yr?Xa:yr,_n=Xa>yr?3:4;if(to.indexOf(Fa)===-1)return null;if(console.log("change1:",Dt,xn,oa,Cn,sr,Xa,yr,Fa),sr>=0&&Cn.ch-sr<5){var Pa=sr+_n;return pn.replaceRange("",{line:Cn.line,ch:sr},{line:Cn.line,ch:Pa}),{line:Cn.line,ch:Pa}}return null}(0,ae.useEffect)(()=>{if(gn){let xn=function(Dt,pn){const Cn=Dt.getValue();qr(Cn),ti(new Date().getTime()),Dt.getScrollerElement().dispatchEvent(new CustomEvent("scroll")),dt&&(ot?dt(Cn,sa(Cn)):dt(Cn))};return gn.on("change",xn),()=>{gn.off("change",xn)}}},[gn,dt]),(0,ae.useEffect)(()=>{if(gn)if(et==null)gn.setValue(""),qr("");else{const xn=window.scrollY||window.pageYOffset;et!==gn.getValue()&&(gn.setValue(et),qr(et),gn.setCursor($a?1:gn.lineCount(),0),window.scrollTo(0,xn))}},[gn,et]);const Ne=(0,ae.useCallback)(xn=>{const Dt=gn.getCursor(),pn=gn.getSelection();let Cn=pn.split(`
`);switch(xn){case"bold":return gn.replaceSelection("**"+pn+"**"),pn===""&&gn.setCursor(Dt.line,Dt.ch+2),gn.focus();case"italic":return gn.replaceSelection("*"+pn+"*"),pn===""&&gn.setCursor(Dt.line,Dt.ch+1),gn.focus();case"code":return gn.replaceSelection("`"+pn+"`"),pn===""&&gn.setCursor(Dt.line,Dt.ch+1),gn.focus();case"inline-latex":return Wr("inline-latex"),gn.focus();case"latex":return gn.replaceSelection("```latex\n"+pn+"\n```"),gn.setCursor(Dt.line+1,pn.length+1),gn.focus();case"line-break":return gn.replaceSelection(`<br/>
`),gn.focus();case"list-ul":return pn===""?gn.replaceSelection("- "+pn):gn.replaceSelection(Cn.map(oa=>oa===""?"":`- ${oa}`).join(`
`)),gn.focus();case"list-ol":return pn===""?gn.replaceSelection("1. "+pn):gn.replaceSelection(Cn.map((oa,Fa)=>oa===""?"":`${Fa+1}. ${oa}`).join(`
`)),gn.focus();case"add-null-ch":return pn===""&&gn.setCursor(Dt.line,Dt.ch),gn.replaceSelection(Mr),gn.focus();case"add-signal":return pn===""&&gn.setCursor(Dt.line,Dt.ch),gn.replaceSelection(lo),gn.focus();case"add-multiple":return pn===""&&gn.setCursor(Dt.line,Dt.ch),gn.replaceSelection(to),gn.focus();case"inster-template-1":return pn===""&&gn.setCursor(Dt.line,Dt.ch),gn.replaceSelection(gr),gn.focus();case"eraser":return gn.setValue(""),gn.focus();case"trigger-watch":return On(!Yo),gn.focus();case"trigger-full-screen":return Va(!ma),gn.focus();case Bt:Wr(Bt);return;case Vn:Wr(Vn);return;case Wt:Wr(Wt);return;case yn:Wr(yn);return;case"maths-latex":Wr("maths-latex");return;case Ot:Wr(Ot);return;case jn:Wr(jn);return;default:throw new Error}},[gn,Yo,ma]),Vt=(0,ae.useCallback)((xn,Dt)=>{var pn,Cn,oa,Fa,Xa,yr;switch(Wr(""),Un){case Bt:const{title:Za,link:dr}=xn;return gn.replaceSelection(`[${Za}](${dr})`),gn.focus();case Vn:const{language:Hr,content:ro}=xn;return gn.replaceSelection(["```"+Hr,ro,"```"].join(`
`)),gn.focus();case"maths-latex":for(var sr=atob(xn),_n=new Uint8Array(sr.length),Pa=0;Pa<sr.length;Pa++)_n[Pa]=sr.charCodeAt(Pa);var pa=new Blob([_n],{type:"image/png"});(0,Ue.I)(pa,Li=>{Li.id?gn.replaceSelection(`![,](/api/attachments/${Li.id}?type=${Li.content_type})`):(Li==null?void 0:Li.status)===401&&(document.location.href="/user/login")});break;case"inline-latex":gn.replaceSelection("`$$"+xn+"$$`");break;case Wt:case yn:case aa:const{src:Eo,alt:wo}=xn,Lo=Dt,Oi=(oa=(Cn=(pn=Lo==null?void 0:Lo.name)==null?void 0:pn.split("."))==null?void 0:Cn.pop)==null?void 0:oa.call(Cn);return((Fa=Lo==null?void 0:Lo.type)==null?void 0:Fa.indexOf("image"))>-1||!(Lo!=null&&Lo.type)?Lo.align||Lo.width?gn.replaceSelection(`<p style="text-align:${Lo.align||"initial"}"><img width="${Lo.width?Lo.width+"%":"initial"}" src="${Eo}" alt="${wo||""}" /></p>`):gn.replaceSelection(`<img width="100%" src="${Eo}" alt="${wo||""}" />`):((Xa=Lo==null?void 0:Lo.type)==null?void 0:Xa.indexOf("video"))>-1?gn.replaceSelection(`<video width="100%" controls src="${Eo}"></video>`):((yr=Lo==null?void 0:Lo.type)==null?void 0:yr.indexOf("pdf"))>-1?gn.replaceSelection(`<a href="${Eo}?type=${Lo.type}&disposition=inline" target="_blank">${Lo.name}</a>`):Sn.includes(Oi)?gn.replaceSelection(`<a href="${Eo}?type=office&disposition=inline" target="_blank">${Lo.name}</a>`):gn.replaceSelection(`[${Lo.name}](${Eo})`),gn.focus();case jn:const{row:xl,col:Wl,align:Rl}=xn;let Sl=`
`;for(let Li=0;Li<xl;Li++){let is=[],Ul=[];for(let ls=0;ls<Wl;ls++)Li===1&&Ul.push(ra[Rl]),is.push(" ");Li===1&&(Sl+=`| ${Ul.join(" | ")} |
`),Sl+=`| ${is.join(Wl===1?"":" | ")} |
`}return gn.replaceSelection(Sl+`
`),gn.focus();default:throw new Error}},[gn,Un]),An=(0,ae.useMemo)(()=>{switch(Un){case Bt:return ae.createElement(nn,{callback:Vt,onCancel:wn});case Vn:return ae.createElement(vn.Z,{callback:Vt,onCancel:wn});case Wt:return ae.createElement(Ue.Z,{callback:Vt,onCancel:wn});case Ot:return ae.createElement(_t,{callback:Vt,onCancel:wn});case jn:return ae.createElement(Ca,{callback:Vt,onCancel:wn});case"maths-latex":return ae.createElement(st,{showSaveButton:!0,callback:Vt});case"inline-latex":return ae.createElement(tn.Z,{showSaveButton:!0,callback:Vt});default:return null}},[Un]);function wn(){Wr("")}(0,ae.useEffect)(()=>{if(pl.current){let xn=function(Xa){oa=!0,Fa=Xa.pageY},Dt=function(){oa=!1},pn=function(Xa){if(oa){let yr=Xa.pageY-Fa;yr<0&&(yr=0),yr>300&&(yr=300);let sr=jt+yr+"px";ai(sr)}},Cn=pl.current,oa=!1,Fa=0;return Cn.addEventListener("mousedown",xn),document.addEventListener("mousemove",pn),document.addEventListener("mouseup",Dt),()=>{Cn.removeEventListener("mousedown",xn),document.removeEventListener("mousemove",pn),document.removeEventListener("mouseup",Dt)}}},[gn,pl]),(0,ae.useEffect)(()=>{ai(jt)},[jt]);const Pt=In(Ve),Kt=In(ni),It={width:Pt,height:Kt},kn=(0,ae.useMemo)(()=>{if(_r){let xn=new Date(_r),Dt=xn.getHours(),pn=xn.getMinutes(),Cn=xn.getSeconds();return Dt=Dt<10?"0"+Dt:Dt,pn=pn<10?"0"+pn:pn,Cn=Cn<10?"0"+Cn:Cn,`${Dt}:${pn}:${Cn}`}return 0},[_r]),sa=xn=>{const Dt=[];if(ot){let pn=-1;xn=xn.replace(/(@▁▁@|@▁@)/g,function(Cn,oa,Fa){Dt.push({multiLine:Cn!==lo})})}return Dt};function xa(){window.sessionStorage.removeItem(Ba),yi(!1),ti(0)}function ha(){yi(!1),ti(0),gn.setValue(window.sessionStorage.getItem(Ba))}(0,ae.useEffect)(()=>{Ar[Un]&&Un!==yn&&Un!==Ot&&setTimeout(()=>{const xn=document.getElementsByClassName("markdown-popup-form")[0],Dt=window.innerWidth/2-xn.offsetWidth/2,pn=window.innerHeight/2-xn.offsetHeight/2;hl(Dt),Fl(pn)},0)},[Un]);const Ia=xn=>{xn.preventDefault();const Dt=xn.clientX-Xo,pn=xn.clientY-Cl;document.body.onmousemove=Cn=>{let oa=Cn.clientX-Dt,Fa=Cn.clientY-pn;const Xa=document.getElementsByClassName("markdown-popup-form")[0],yr=window.innerWidth-Xa.offsetWidth,sr=window.innerHeight-Xa.offsetHeight;oa=Math.max(0,Math.min(oa,yr)),Fa=Math.max(0,Math.min(Fa,sr)),rr(Cn.clientX,Cn.clientY,Dt,pn)&&(hl(oa),Fl(Fa))},document.body.onmouseup=function(){document.body.onmousemove=null}},rr=(xn,Dt,pn,Cn)=>{const oa=document.body.clientHeight,Fa=document.body.clientWidth;return xn<20&&pn>xn||xn>Fa-20&&pn<xn||Dt<20&&Cn>Dt||Dt>oa-20&&Cn<Dt?(document.body.onmousemove=null,document.body.onmouseup=null,!1):!0};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:"markdown-editor-wrapper",ref:ki},ae.createElement("div",{className:`markdown-editor-container ${Bn} ${Yo?"on-preview":""} ${bn?"mini":""} ${ma?"full-screen":""}`,style:It},ae.createElement(pe,{insertTemp:ca,watch:Yo,fullScreen:ma,showNullButton:no,showNullProgramButton:ot,onActionCallback:Ne,hidetoolBar:Xt,extraUse:co}),ae.createElement("div",{className:"markdown-editor-body"},ae.createElement("div",{className:"codemirror-container"},ae.createElement("textarea",{ref:tl,placeholder:cr})),Yo?ae.createElement("div",{ref:kr,className:"preview-container"},Wn==="stex"&&ae.createElement($e,{value:ei}),Wn!=="stex"&&ae.createElement(_e.Z,{disabledFill:Aa,showProgramFill:ot,value:ei})):null))),ho?ae.createElement("a",{ref:pl,className:"editor-resize"}):null,Un===yn&&ae.createElement(kt,{callback:Vt,onCancel:wn}),Un===Ot&&ae.createElement(_t,{callback:Vt,onCancel:wn}),ae.createElement(Le.Z,null,Ar[Un]&&Un!==yn&&Un!==Ot?ae.createElement(Ct.default,{maskClosable:!1,centered:!0,style:{position:"absolute",left:Xo,top:Cl},title:ae.createElement("div",{style:{cursor:"move"},onMouseDown:Ia},Ar[Un]),open:!0,onCancel:wn,footer:null,destroyOnClose:!0,width:Un===Ot?"1200px":null,height:Un===Ot?"80vh":null,className:"markdown-popup-form"},An):null))}},70859:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return ge},I:function(){return Le}});var ae=ee(22150),me=ee(2453),Ie=ee(69677),Ze=ee(93421),Me=ee(31795),ze=ee(78045),se=ee(71577),Te=ee(15476),je=ee(67294),He=ee(52262),_e=ee(67294),$e=Object.defineProperty,we=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,y=Object.getOwnPropertySymbols,a=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,b=(be,xe,Se)=>xe in be?$e(be,xe,{enumerable:!0,configurable:!0,writable:!0,value:Se}):be[xe]=Se,E=(be,xe)=>{for(var Se in xe||(xe={}))a.call(xe,Se)&&b(be,Se,xe[Se]);if(y)for(var Se of y(xe))x.call(xe,Se)&&b(be,Se,xe[Se]);return be},z=(be,xe)=>we(be,ce(xe));const{useForm:re}=ae.default,oe={width:280,marginRight:10},ne={labelCol:{span:5},wrapperCol:{span:19}};var ge=({callback:be,onCancel:xe})=>{const[Se]=re();let ft=(0,je.useRef)();function Ye(ct){ft.current.width=Se.getFieldValue("width"),ft.current.align=Se.getFieldValue("align"),be(ct,ft.current)}function Zt(ct,zt){if(ct.status===-1){me.ZP.error(ct.message);return}Se.setFieldsValue({src:`/api/attachments/${ct.id}`,type:zt.type})}function qe(ct){let zt=ct.target.files[0];ft.current=zt,Le(zt,Zt)}return _e.createElement(ae.default,z(E({form:Se},ne),{className:"upload-image-panel",onFinish:Ye,style:{width:470,overflow:"hidden"}}),_e.createElement(ae.default.Item,{label:"\u56FE\u7247\u5730\u5740",required:!0},_e.createElement("div",{className:"flex-container"},_e.createElement(ae.default.Item,{noStyle:!0,name:"src",rules:[{required:!0,message:"\u8BF7\u8F93\u5165\u6587\u4EF6\u5730\u5740"}]},_e.createElement(Ie.default,{style:oe})),_e.createElement(pe,{onFileChange:qe}))),_e.createElement(ae.default.Item,{label:"\u56FE\u7247\u63CF\u8FF0",name:"alt"},_e.createElement(Ie.default,{style:{width:264}})),_e.createElement(ae.default.Item,{label:"\u56FE\u7247\u5BBD\u5EA6",name:"width"},_e.createElement(Ze.Z,null,_e.createElement(ae.default.Item,{name:"width",style:{margin:0}},_e.createElement(Me.Z,{style:{width:264}})),_e.createElement("span",{className:"ml8"},"%"))),_e.createElement(ae.default.Item,{label:"\u5BF9\u9F50\u65B9\u5F0F",name:"align"},_e.createElement(ze.ZP.Group,{name:"align",defaultValue:1,options:[{value:"left",label:"\u5DE6\u5BF9\u9F50"},{value:"center",label:"\u5C45\u4E2D\u5BF9\u9F50"},{value:"right",label:"\u53F3\u5BF9\u9F50"}]})),_e.createElement("aside",null,_e.createElement(ae.default.Item,{style:{textAlign:"right",position:"relative",right:-98}},_e.createElement(se.ZP,{type:"primary",htmlType:"submit",style:{marginRight:10}},"\u786E\u5B9A"),_e.createElement(se.ZP,{type:"default",onClick:xe},"\u53D6\u6D88"))))};function pe({onFileChange:be}){return _e.createElement("label",{className:"upload-button",style:{cursor:"pointer"}},"\u672C\u5730\u4E0A\u4F20",_e.createElement("input",{type:"file",onChange:be}))}function Le(be,xe){if(!be)throw new String("\u6CA1\u6709\u6587\u4EF6");if(!(0,He.bg)())throw me.ZP.warning("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C"),new String("\u8BF7\u767B\u5F55\u540E\u518D\u64CD\u4F5C");let Se=new FormData;Se.append("editormd-image-file",be),Se.append("file_param_name","editormd-image-file"),Se.append("byxhr","true");var ft=new window.XMLHttpRequest;ft.withCredentials=!0,ft.addEventListener("load",function(Ye){xe(JSON.parse(Ye.target.responseText),be)},!1),ft.addEventListener("error",function(Ye){console.error(Ye)},!1),ft.open("POST",`${Te.KI}/api/attachments.json`),ft.send(Se)}},76621:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return Ie}});var ae=ee(67294),me=ee(73935);class Ie extends ae.Component{constructor(Me){super(Me);const ze=window.document;this.node=ze.createElement("div"),ze.body.appendChild(this.node)}render(){const{children:Me}=this.props;return(0,me.createPortal)(Me,this.node)}componentWillUnmount(){window.document.body.removeChild(this.node)}}},9897:function(ht,wt,ee){"use strict";ee.d(wt,{i:function(){return oe},Z:function(){return ge}});var ae={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"},me=ee(57953),Ie=ee(83062),Ze=ee(94184),Me=ee.n(Ze),ze=ee(28706),se=ee(26194),Te=ee(52262),je="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAAAgCAYAAAD+Fz2gAAAAAXNSR0IArs4c6QAAEx5JREFUaEPFWwd4FWW6fueE9NATIEAoKkWKgIKVEkBgl2LB6159EFdRwHVd9a67SC+ryFVBEDGAUq57d0WUK6DuigYSeglFMJQIhBJSIIYUQgohObPP9/1l/pmcE7h9nvCcc+bMzJn53v/9vvcrWABQfuovrf3VeMeClWhbVrwFC5Zl0Vfi1aLP/EHu976K42wAtmXBx2cCtk9ew+ZT+bsbbT4/XUWeT1cUf4Bt61faY9v8a2I/vxXn0X7+p86l/bYftu3n7/30Sof6bdAd2351LXmMOl++0nUt/hlxnrg+vVe/6xfPbRwv7oeuJ+5RfUdPz/uMe5VP5zwfkOeDf6tlhUxqPXxOtkXgVFfVHLFgNYHlcwBRIBE+cIPEexg4+hPn0K0IPCz4A4GkrH4DkCxpEDa2fCAFqzC8AsMBifYLI6p93vdkUGUwtzEtCZC4bg0bXxnRNDrdlwBIfG8eoxZP3SCJc+sEicEUhvLBLrQsXw+r5Ognn8LGk4IoPiiQhB1vzCQ+XjHNeP2/AUkZU8JpgCRWr1yxinFy9bu+IyYZrAH8sP3ECsVOBwx1nGCPGyTN8kDg/ReYxDaFf41Vkr46F0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u63A8\u8350\u81EA\u5B66",ptimg:je,swimg:He},{name:"101\u8BA1\u5212",ptimg:_e,swimg:$e},{name:"\u56FD\u5BB6\u4E00\u6D41",ptimg:we,swimg:ce},{name:"\u7701\u7EA7\u4E00\u6D41",ptimg:y,swimg:a},{name:"\u7CBE\u54C1\u8BFE\u7A0B",ptimg:x,swimg:b},{name:"\u519B\u961F\u4E00\u6D41",ptimg:E,swimg:z}];var ge=({className:pe,dataSource:Le=[],col:be=4,right:xe,bottom:Se=23,precision:ft=0,wrapWidth:Ye=1200,trackEventItems:Zt,loading:qe,onRemove:ct=()=>{},isCurrent:zt=!0,showAlias:en=!1})=>{const Mt=Math.floor((Ye-(be-1)*xe)/be),lt=[{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(xt=>(window.ENV==="build"&&(xt.ptimg=`/react/build${xt.ptimg}`,xt.swimg=`/react/build${xt.swimg}`),xt));return re.createElement(me.Z,{spinning:qe},re.createElement("div",{className:Me()(ae.list,pe)},!!(Le!=null&&Le.length)&&(Le==null?void 0:Le.map((xt,nn)=>{var vn;const{name:Ue,id:Ct,identifier:Ft,featured:Rn,school_name:nt,image_url:kt,excellent:Ce,is_plan:hn}=xt;return re.createElement("div",{key:Ct,className:ae.wrap,style:{width:Mt,marginRight:(1+nn)%be===0?0:xe+ft,marginBottom:Se}},re.createElement("a",{className:ae.li,onClick:zn=>{zn.preventDefault(),zn.stopPropagation(),Zt&&(0,ze.L9)([Zt]),(0,ze.xg)(`/paths/${Ft}`)}},re.createElement("div",{className:ae.img},re.createElement("img",{className:ae.cover,src:`${kt}`}),zt&&(0,Te.bg)()&&(xt==null?void 0:xt.studying)&&re.createElement("div",{className:`${ae.movebq} user-path-items`,onClick:zn=>{zn.stopPropagation(),ct(xt)}},re.createElement("i",{className:"iconfont icon-yichu1 mr5 c-red"}),re.createElement("span",{className:"c-red"},"\u79FB\u9664")),(vn=xt==null?void 0:xt.subject_tags)==null?void 0:vn.map((zn,ba)=>{var Yn,Rt;if(ba===0){const Fe=(Yn=lt.find(pt=>pt.name==zn))==null?void 0:Yn.swimg;return re.createElement("img",{className:ae.sign,src:Fe,style:{left:"-4px"}})}const Ge=(Rt=lt.find(Fe=>Fe.name==zn))==null?void 0:Rt.ptimg;return re.createElement("img",{className:ae.sign,src:Ge,style:{left:`${48+52*(ba-1)+2*ba}px`}})}),re.createElement("div",{style:{position:"absolute",top:"150px",left:"4px"}},(xt==null?void 0:xt.excellent)&&re.createElement("div",{className:ae.bq},"\u5F00\u653E\u8BFE\u7A0B"))),re.createElement("div",{className:ae.name},re.createElement(Ie.Z,{title:en&&(xt!=null&&xt.excellent_alias_name)?re.createElement("span",null,`\u8BFE\u7A0B\u539F\u540D\uFF1A${Ue}`,re.createElement("br",null),re.createElement("span",null,`\u8BFE\u7A0B\u522B\u540D\uFF1A${xt==null?void 0:xt.excellent_alias_name}`)):Ue},re.createElement("span",{className:ae.e},en&&(xt==null?void 0:xt.excellent_alias_name)||Ue))),re.createElement("div",{className:ae.tags},re.createElement("div",null,re.createElement(Ie.Z,{placement:"bottom",title:"\u7AE0\u8282\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-zhangjie1 font14 mr3"}),re.createElement("span",null,xt.stages_count))),re.createElement(Ie.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},re.createElement("span",null,re.createElement("i",{className:"iconfont icon-chengyuan font14 mr3"}),re.createElement("span",null,xt.members_count)))))))})),!Le.length&&re.createElement(se.Z,null)))}},30001:function(ht,wt,ee){"use strict";ee.d(wt,{jL:function(){return Me},w9:function(){return xt},QD:function(){return tn},cQ:function(){return ct.Z},op:function(){return Ca},O5:function(){return gr},_b:function(){return yn},t7:function(){return b},Gi:function(){return Rn},YG:function(){return Ct},qp:function(){return _e},vr:function(){return Bt},qE:function(){return Nn},Je:function(){return re},wb:function(){return qe},cq:function(){return ba},tp:function(){return ce}});var ae=ee(67294),me={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"},Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAAA0CAYAAAAkEw66AAAAAXNSR0IArs4c6QAAGNVJREFUeF7VmwmwHVWdxr9zuvvu9+3ZXsxCiNkIQZOwEzMgyADjggsWgzPqOAJaMiCjYiGKqDBQAo4iWGAxA+ooMm7gBhSyhBBRIIBSAQlrHuTt7913t97PmfpOd4cXlLAFGO6rW9237719+/z6+6/nPIHX+XHttddaex38nlW2lLO1svq1wJ4aeFMM9CqFnNKoaYVapDAOicfjGEMKqKk2nrx59Lbt5xx6aPR6DEG8Hj/K3xwY0YtjSx2vYnlspLEsX0BRKUBrINtyX+PZp0r3fR+IIgzFSo9EsahFUfSHWIj7Pa919zvf2vlo+rFXdWivObjHJvR8S6vTJORHckV0+4GBAF4InwQlBCAIkEMXgCLA9Mn9WCef4ft8HWkgVIDn6ckwUA/HQfCzoFX71TsP6n/41aL3moHTWotnJnGysPEFx8ZcAtMqGTjh2NmVTL+iDB6BZurjsRSe2SogjhNwMZIngbZbqgXom8N26/K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OzuaaVUoExxKT43a5akFCtVys3+Wcwweu1dbHV+LxN3VhPsEx8jANGfOAh4eiL5x0iHPeG47YtAv+9I3xp9f0yIvLDAw6ySIY/ExSnpkqVcels/x/syLgtXHpx9bhlF2CO/tanVuzHHfPqmJVOf0nNdr5SFP7D02Eb/3iEfkdtdsbFeCXbtYfXlDGueU85iKZsjXZklnpyZdpGmgWFcS4pGsQnzvuOBG/4CzXFX/Qp+zZi28pPzkZHeNIS337X2+Qp+IckWajb1RsyXWffqOeN8tRH+rKyWOhsSBnYyYziiCAa0k8EQKb2kF01acPc3akXS8IbsW1Onf6AnVib16ewqWz21vq9qu2yNPeqL7thW7xZ65391jcV1jE/1qKFcaeCfDwOYeK9D83nv32/wHzrWgvjJ8Q7AAAAABJRU5ErkJggg==",Me=({dataSource:Sn=[],img:In,imgWidth:En=346,title:Ln,sunTitle:Oa,bannerExtraContent:Ar})=>ae.createElement("div",{className:me.banner},ae.createElement("div",{className:me.content},ae.createElement("aside",null,ae.createElement("p",null,ae.createElement("b",null,Ln),ae.createElement("span",null,Oa)),Sn.length>0&&ae.createElement("div",{className:me.btns},Sn.map((Tn,et)=>ae.createElement("div",{key:et,onClick:Tn.click},Tn.name,Tn.sign?ae.createElement("img",{src:Ie,width:39}):null))),Ar),In&&ae.createElement("img",{style:{marginTop:33,marginRight:38},src:In,width:En}))),ze={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"},se=ee(94184),Te=ee.n(se),je=ee(96486),_e=({dataSource:Sn=[],value:In,onChange:En,onTitleChange:Ln,className:Oa,title:Ar,titleWidth:Tn=41,style:et={},fontColor:dt="#6A7283",showCount:Ve})=>{const[jt,bn]=(0,ae.useState)(0),[Jn,ja]=(0,ae.useState)(!1),ca=(0,ae.useRef)(null),Wn=(0,ae.useRef)(null);return(0,ae.useEffect)(()=>{var Ba;Sn.length!==0&&(((Ba=ca==null?void 0:ca.current)==null?void 0:Ba.clientHeight)>97?bn(1):bn(0)),Sn.length===0&&bn(0),ja(!1)},[Sn]),ae.createElement("div",{className:Te()(ze.row,Oa),style:et},ae.createElement("div",{onClick:(0,je.throttle)(()=>Ln==null?void 0:Ln(),2e3),style:{width:Tn,marginTop:Jn?12:4},className:`${ze.title} ${Ln?"current":""}`},Ar),ae.createElement("div",{className:Jn?`${ze.tagsWrap} ${ze.tagsBorderWrap}`:ze.tagsWrap},ae.createElement("div",{className:ze.bar,ref:Wn,style:jt>0?{height:jt===1?97:"auto",overflow:jt===1?"hidden":"auto",paddingRight:55}:{paddingRight:0}},ae.createElement("div",{className:ze.tag,ref:ca},Sn==null?void 0:Sn.map(Ba=>ae.createElement("span",{onClick:()=>En(Ba.id),key:Ba.id,style:{color:dt},className:In===Ba.id?ze.active:""},ae.createElement("span",{title:Ba.name,className:ze.name},Ba.name),!!Ve&&ae.createElement("span",{className:ze.num},Ba.count))))),!!jt&&ae.createElement(ae.Fragment,null,jt===1?ae.createElement("div",{onClick:()=>{var Ba;bn(2),((Ba=ca==null?void 0:ca.current)==null?void 0:Ba.clientHeight)>245?ja(!0):ja(!1)},className:ze.action},"\u5C55\u5F00",ae.createElement("i",{style:{transform:"translateY(1px) scale(0.6)"},className:"iconfont icon-zhankai4"})):ae.createElement("div",{onClick:()=>{Wn.current.scrollTop=0,bn(1),ja(!1)},className:ze.action},"\u6536\u8D77",ae.createElement("i",{style:{transform:"translateY(0px) scale(0.6)"},className:"iconfont icon-shouqi3"})))))},$e={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"},ce=({dataSource:Sn=[],value:In,onChange:En,className:Ln,style:Oa={}})=>ae.createElement("div",{style:Oa,className:Te()($e.tabs,Ln)},Sn.map(Ar=>ae.createElement("span",{onClick:()=>En(Ar.id),className:In===Ar.id?$e.active:"",key:Ar.id},Ar.name))),y={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"},a=ee(69677),b=({dataSource:Sn=[],value:In="",onChange:En,onInputChange:Ln=()=>{},className:Oa,style:Ar={},placeholder:Tn,allowClear:et=!1})=>{var dt;const[Ve,jt]=(0,ae.useState)(""),[bn,Jn]=(0,ae.useState)("");(0,ae.useEffect)(()=>{var Wn;let Ba=In;(Wn=JSON.stringify(In))!=null&&Wn.includes("{")&&(jt(In.id),Ba=In.value||"");try{Jn(decodeURIComponent(Ba||""))}catch(ho){Jn(decodeURIComponent(Ba||""))}},[In]);const ja=()=>{En(encodeURIComponent(bn),Ve||null)},ca=Wn=>{Wn!==Ve&&(jt(Wn),En(encodeURIComponent(bn),Wn))};return ae.createElement("div",{className:Te()(y.input,Oa),style:Ar},!!Sn.length&&ae.createElement("div",{className:y.dropdown},ae.createElement("div",{className:y.text},(dt=Sn.find(Wn=>Wn.id===Ve))==null?void 0:dt.name,ae.createElement("i",{className:"iconfont icon-zhankai4"}),ae.createElement("b",{className:y.b1}),ae.createElement("b",{className:y.b2})),ae.createElement("div",{className:y.menu},Sn.map((Wn,Ba)=>ae.createElement("div",{key:Ba,onClick:()=>ca(Wn.id)},Wn.name)))),ae.createElement(a.default,{onPressEnter:ja,value:bn,onChange:Wn=>{Jn(Wn.target.value),Ln(encodeURIComponent(Wn.target.value),Ve||null)},bordered:!1,placeholder:Tn}),ae.createElement("i",{onClick:ja,className:"iconfont icon-sousuo9 font14 pl10 current"}))},E={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"},re=({value:Sn,onChange:In,className:En,total:Ln,pageSize:Oa,style:Ar={}})=>{const Tn=Sn<2,et=Sn>=Math.ceil(Ln/Oa);return Ln<=Oa?ae.createElement(ae.Fragment,null):ae.createElement("div",{className:Te()(E.quickPager,En),style:Ar},ae.createElement("div",{onClick:()=>{Tn||In(Sn-1,"prev")},className:Tn?E.disabled:""},"\u4E0A\u4E00\u9875"),ae.createElement("div",{onClick:()=>{et||In(Sn+1,"next")},className:et?E.disabled:""},"\u4E0B\u4E00\u9875"))},oe={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"},ne=ee(57953),ge=ee(83062),pe=ee(12604),Le=ee(11320),be=ee(28706),xe=ee(96908),Se=ee(57177),ft=ee(81378),Ye=ee(26194),qe=({className:Sn,dataSource:In=[],col:En=4,right:Ln,bottom:Oa=23,precision:Ar=0,wrapWidth:Tn=1200,trackEventItems:et,loading:dt})=>{const Ve=Math.floor((Tn-(En-1)*Ln)/En);return ae.createElement(ne.Z,{spinning:dt},ae.createElement("div",{className:Te()(oe.list,Sn)},!!In.length&&In.map((jt,bn)=>{const{name:Jn,id:ja,identifier:ca,power:Wn,cover_image_id:Ba,pic:ho}=jt;return ae.createElement("div",{className:oe.wrap,key:ja,style:{width:Ve,marginRight:(1+bn)%En===0?0:Ln+Ar,marginBottom:Oa}},ae.createElement("a",{target:"_blank",href:`/shixuns/${ca}/challenges`,className:oe.li,onClick:Mn=>{Mn.preventDefault(),et&&(0,be.L9)([et]),Wn&&(0,be.xg)(`/shixuns/${ca}/challenges`)}},ae.createElement("div",{className:oe.img},ae.createElement("img",{className:oe.cover,src:`${ho}`}),jt.is_jupyter&&ae.createElement("img",{className:oe.sign,src:xe}),jt.is_jupyter_lab&&ae.createElement("img",{className:oe.sign,src:Se}),jt.is_unity_3d&&ae.createElement("img",{className:oe.sign,src:ft})),ae.createElement("div",{className:oe.name},ae.createElement(ge.Z,{title:Jn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"},ae.createElement("span",{className:oe.e},Jn||"\u5B9E\u8DF5\u9879\u76EE\u540D\u79F0-\u672A\u586B\u5199"))),ae.createElement("div",{className:oe.tags},ae.createElement(ge.Z,{placement:"bottom",title:"\u5173\u5361\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-shixunguanqia font14 mr2"}),ae.createElement("span",null,jt.challenges_count))),!!jt.myshixuns_count&&ae.createElement(ge.Z,{placement:"bottom",title:"\u5B66\u4E60\u4EBA\u6570"},ae.createElement("span",null,ae.createElement("i",{className:"iconfont icon-chengyuan font14 mr2"}),ae.createElement("span",null,jt.myshixuns_count))),ae.createElement(ge.Z,{placement:"bottom",title:"\u96BE\u5EA6\u7B49\u7EA7"},ae.createElement("span",null,ae.createElement("span",null,jt.level))),ae.createElement("div",{className:oe.rate},ae.createElement(pe.Z,{allowHalf:!0,disabled:!0,defaultValue:jt.score_info}),ae.createElement("span",null,"\xA0",jt.score_info?`${jt.score_info}\u5206`:"5\u5206")))),!Wn&&ae.createElement("div",{className:oe.lockWrap},ae.createElement("img",{src:`${Le.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),ae.createElement("span",{className:"mt15 font16 c-white"},"\u5B9A\u5411\u5F00\u653E\u5185\u5BB9\uFF0C\u9700\u8981\u6388\u6743")))}),!In.length&&ae.createElement(Ye.Z,null)))},ct=ee(9897),zt={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"},en="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXWmQXFd1/s59r3t6nX00o93GluV9AQNxiAkIB0OMISFsFQqSAhOohFR+JKmEQPILClJZfpEfIUAChFQSHIJxnGDiDYwsb8KRLUuWZcmSxqN9pJF6nV7eSZ373u1509Mzvd2eGVt6VV2z9Ht3+9459+yX8Bq4mDmWK2GLqla3MvFWZt4KpjVMSBNzGoQ0M6WJkJbpMiNDxBkwMkyUIUYGxCeJaB8x7fMcZ18yiv1EVHy1Lw+9GicwO8tXlSrlbSB6O4HfANAmZlY250JEHsBHGLQTzA9H3chDfX2012Yfy9HWqwJgZh7NF6vvY/a2gWkbgyeWY3Hq+yDQcRA/RKQeSsSce4jo9EqMo50+Vy3AzNxXKFTv9MAfB/AuZo60M7Fe30tEZQA/UqBvx+POvUQ02+s+O2l/1QGcy5Xe6Cn1SXj8YYAHO5nU8j9DM1D0b8rzvpFMRp9a/v4X73HVAJwplN9GHj7P4NtW0wK1OxYCPcAKX0rHI4+0+2wv7l9xgHPFyrs9j78A5l/sxQRXrE2ix5SiL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2KwJUrVL4M4A9frbbrZovX7fdiWwbwN8m4+7l2LVSt9t0zgM0AxEHhVflbF/flBbvjtHLot9pxHLQK6jxdupOH2n1GuxpR+S6Yb2332dfk/USPOnA/2qrLr5s16DkFm8EJm84Xq5/wPP7LC5eaaVop+pNEzPlmwJ67wa6lZ5cN4BDQw9l8+StEdNeFsjcLmMz89VQi8qdEdKYlZCzdtOwAm3EHIblfZeabLc1lVTYjccsK/NlEIvrESgxwxQAOCWHv9jz+Aph/cSUWoGd9Ej2mFH3RlkWq03GuOMBm4JLwRh4+z+DbOp3ManhOsvxY4UvpeOSR1TGe1TCK0BiC/OS7APoQwKHqHKtsoPOGQzMA/7sCvp5MRp9aTSNdNRRcvyhSTqJQqN7pgT8O4F3MvArC3uZGKdVsAPxIgb4djzv3EtHsagLWjGXVAhxeLCnxlC9W38fsbQPTNgZPrMRiSgU5ED9EpB5KxJx7iKjFkxlXYrR+n68KgOuXJ6ituQ1E2wj8eoA2McuxWPYuqbcM8BEG7QTzw1E38pBtR4C90S7e0qsS4AbsPJYrYYuqVrcy8VZm3gqmcSakiTkFQpqZ0kRIy7PMyBBxBowME2WJkQHxCSLaR0z7PMfZl4xiPxFdXaKvAAAADElEQVQVlwOEXvbx/3Bccpan8cseAAAAAElFTkSuQmCC",Mt=ee(67294),xt=({className:Sn,dataSource:In=[],col:En=4,right:Ln,bottom:Oa=23,precision:Ar=0,wrapWidth:Tn=1200,trackEventItems:et,loading:dt})=>{const Ve=Math.floor((Tn-(En-1)*Ln)/En);return Mt.createElement(ne.Z,{spinning:dt},Mt.createElement("div",{className:Te()(zt.list,Sn)},!!In.length&&In.map((jt,bn)=>{const{subject_identifier:Jn,id:ja,identifier:ca,power:Wn}=jt,Ba=jt.is_public!=0&&jt.is_public;return Mt.createElement("div",{className:zt.wrap,key:ja,style:{width:Ve,marginRight:(1+bn)%En===0?0:Ln+Ar,marginBottom:Oa}},Mt.createElement("a",{className:zt.li,onClick:ho=>{ho.preventDefault(),et&&(0,be.L9)([et]),(0,be.xg)(jt.first_category_url)}},Mt.createElement("div",{className:zt.top},Mt.createElement(ge.Z,{title:jt.name},Mt.createElement("div",{className:zt.name},jt.name)),Mt.createElement("img",{className:zt.img,src:Le.Z.IMG_SERVER+"/images/"+jt.avatar_url}),Mt.createElement("div",{className:zt.text,title:jt.creator},jt.creator),Jn&&Mt.createElement("div",{className:zt.btns},Mt.createElement("div",null,"\u5F00\u653E\u8BFE\u7A0B"),Mt.createElement("aside",null,"\u5F00\u653E\u8BFE\u5802")),Ba&&Mt.createElement("div",{className:zt.sign},"\u516C\u5F00")),Mt.createElement("div",{className:zt.bottom},jt.visits>0&&Mt.createElement(ge.Z,{title:"\u8BBF\u95EE\u91CF",placement:"bottom"},Mt.createElement("span",null,Mt.createElement("i",{className:"iconfont icon-liulanyan"}),Mt.createElement("span",null,jt.visits))),jt.course_members_count>0&&Mt.createElement(ge.Z,{title:"\u6210\u5458",placement:"bottom"},Mt.createElement("span",null,Mt.createElement("i",{className:"iconfont icon-chengyuan"}),jt.course_members_count)),jt.tasks_count>0&&Mt.createElement(ge.Z,{title:"\u4F5C\u4E1A",placement:"bottom"},Mt.createElement("span",null,Mt.createElement("i",{className:"iconfont icon-zuoye"}),jt.tasks_count)),jt.is_end?Mt.createElement("div",{style:{color:"#6B758B"}},"\u5DF2\u7ED3\u675F"):Mt.createElement("div",{style:{color:"#00B187"}},"\u8FDB\u884C\u4E2D"))),!jt.is_accessible&&Mt.createElement("div",{className:zt.lockWrap},Mt.createElement("img",{src:`${Le.Z.IMG_SERVER}/images/educoder/icon/lockclose.svg`}),Mt.createElement("span",{className:"mt15 font16 c-white"},"\u975E\u8BFE\u5802\u6210\u5458\u4E0D\u53EF\u8FDB\u5165")))}),!In.length&&Mt.createElement(Ye.Z,null)))},nn={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"},vn=ee(35973),Ct=({dataSource:Sn=[],value:In,onChange:En,className:Ln,style:Oa={},tabBarExtraContent:Ar})=>ae.createElement("div",{className:Te()(nn.tabs,Ln),style:Oa},ae.createElement("div",{className:nn.tabsWrap},Sn.map((Tn,et)=>ae.createElement("aside",{className:nn.tab,onClick:()=>{En(Tn.id),Tn.link&&vn.history.push(Tn.link)},key:et},ae.createElement("div",{className:In===Tn.id?nn.active:""},Tn.name),(Tn==null?void 0:Tn.resetCount)==null&&(Tn==null?void 0:Tn.total)!==void 0&&ae.createElement("span",null,"\uFF08",Tn==null?void 0:Tn.total,"\uFF09"),(Tn==null?void 0:Tn.resetCount)!==void 0&&(Tn==null?void 0:Tn.total)!==void 0&&ae.createElement(ge.Z,{title:(Tn==null?void 0:Tn.tip)!=null?Tn==null?void 0:Tn.tip:""},ae.createElement("span",{style:{color:"#9096A3"}},"\uFF08",ae.createElement("span",{style:{color:"#000"}},Tn==null?void 0:Tn.resetCount),"/",ae.createElement("span",null,Tn==null?void 0:Tn.total),"\uFF09"))))),ae.createElement("div",{className:nn.tabBar},Ar)),Rn=({className:Sn,style:In={},children:En})=>ae.createElement("div",{className:Te()(Sn),style:In},En),nt={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"},kt=ee(85418),Ce=ee(68508);const hn=[{id:"updated_at",name:"\u6700\u65B0\u52A8\u6001"},{id:"created_at",name:"\u6700\u65B0\u521B\u5EFA"},{id:"name",name:"\u540D\u79F0\u6392\u5E8F"}];var ba=({sortValue:Sn,dropValue:In,className:En,onSort:Ln,onDrop:Oa,dataSource:Ar=hn})=>{var Tn;return ae.createElement("div",{className:Te()(nt.orderWrap,En)},ae.createElement(kt.Z,{dropdownRender:()=>ae.createElement(Ce.default,null,Ar.map((et,dt)=>ae.createElement(Ce.default.Item,{key:dt,onClick:()=>Oa(et.id)},et.name)))},ae.createElement("span",{className:nt.orderTextWrap},(Tn=Ar.find(et=>In===et.id))==null?void 0:Tn.name)),ae.createElement("span",{className:nt.orderIconWrap},ae.createElement("span",{className:nt.orderAsc},ae.createElement("i",{className:Sn==="asc"?`iconfont icon-sanjiaoxing-up font12 ${nt.cursorPointer} ${nt.active}`:`iconfont icon-sanjiaoxing-up font12 ${nt.cursorPointer}`,onClick:()=>Ln(Sn==="asc"?"desc":"asc")})),ae.createElement("span",{className:nt.orderDesc},ae.createElement("i",{className:Sn==="desc"?`iconfont icon-sanjiaoxing-down font12 ${nt.cursorPointer} ${nt.active}`:`iconfont icon-sanjiaoxing-down font12 ${nt.cursorPointer}`,onClick:()=>Ln(Sn==="asc"?"desc":"asc")}))))},Yn={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"},Rt=ee(71577),Ge=Object.defineProperty,Fe=Object.getOwnPropertySymbols,pt=Object.prototype.hasOwnProperty,Gt=Object.prototype.propertyIsEnumerable,_t=(Sn,In,En)=>In in Sn?Ge(Sn,In,{enumerable:!0,configurable:!0,writable:!0,value:En}):Sn[In]=En,Pn=(Sn,In)=>{for(var En in In||(In={}))pt.call(In,En)&&_t(Sn,En,In[En]);if(Fe)for(var En of Fe(In))Gt.call(In,En)&&_t(Sn,En,In[En]);return Sn},Qn=(Sn,In)=>{var En={};for(var Ln in Sn)pt.call(Sn,Ln)&&In.indexOf(Ln)<0&&(En[Ln]=Sn[Ln]);if(Sn!=null&&Fe)for(var Ln of Fe(Sn))In.indexOf(Ln)<0&&Gt.call(Sn,Ln)&&(En[Ln]=Sn[Ln]);return En},Gn=(Sn,In,En)=>new Promise((Ln,Oa)=>{var Ar=dt=>{try{et(En.next(dt))}catch(Ve){Oa(Ve)}},Tn=dt=>{try{et(En.throw(dt))}catch(Ve){Oa(Ve)}},et=dt=>dt.done?Ln(dt.value):Promise.resolve(dt.value).then(Ar,Tn);et((En=En.apply(Sn,In)).next())}),Ca=Sn=>{var In=Sn,{className:En,style:Ln,children:Oa,loading:Ar=!1,openLoading:Tn,onClick:et=()=>{},size:dt="middle",shape:Ve="round"}=In,jt=Qn(In,["className","style","children","loading","openLoading","onClick","size","shape"]);const[bn,Jn]=(0,ae.useState)(!1);return ae.createElement(Rt.ZP,Pn({onClick:(0,je.throttle)(ja=>Gn(void 0,null,function*(){Tn&&Jn(!0);try{yield et(ja)}catch(ca){console.log("error",ca)}Tn&&Jn(!1)}),2e3,{leading:!0,trailing:!1}),className:Te()(Yn.btn,Yn[`${dt}-${Ve}`],En),style:Ln,size:dt,shape:Ve,loading:bn||Ar},jt),Oa)},Ee={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"},Nn=({className:Sn,style:In,children:En=null,onClick:Ln,title:Oa})=>ae.createElement("div",{className:Te()(Ee.head,Sn),style:In},ae.createElement("span",{className:"primary-hover",onClick:Ln},ae.createElement("i",{className:"iconfont icon-fanhui2 font12"}),"\u8FD4\u56DE"),ae.createElement("b",{title:Oa},Oa),ae.createElement("div",{className:Ee.node},En)),Kn={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"},tn=({confirmShow:Sn=!0,confirmTitle:In,confirmClick:En,cancelShow:Ln=!0,cancelTitle:Oa,cancelClick:Ar,className:Tn,style:et,confirmLoading:dt=!1})=>ae.createElement("div",{className:Te()(Kn.btns,Tn),style:et},Sn&&ae.createElement(Rt.ZP,{loading:dt,onClick:En,type:"primary",className:Kn.confirm},In),Ln&&ae.createElement(Rt.ZP,{onClick:Ar,className:Kn.cancel},Oa)),We={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"},Bt=({className:Sn,style:In={},LeftContent:En,children:Ln,RightContent:Oa})=>ae.createElement("div",{className:Te()(We.fixedBottom,Sn),style:In},ae.createElement("div",{className:We.wrap},ae.createElement("div",{className:We.left},En),ae.createElement("div",{className:We.center},Ln),ae.createElement("div",{className:We.right},Oa))),Wt={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"},yn=({className:Sn,style:In={},dataSource:En=[]})=>ae.createElement("div",{className:Te()(Wt.crumbs,Sn),style:In},En.map((Ln,Oa)=>Oa<En.length-1?ae.createElement(ae.Fragment,{key:Oa},Ln.path||Ln.onClick?ae.createElement("span",{className:Wt.hover,onClick:Ln!=null&&Ln.onClick?Ln.onClick:()=>vn.history.push(Ln.path)},Ln.name):ae.createElement("span",null,Ln.name),ae.createElement("span",null,"\xA0",">","\xA0")):ae.createElement("span",{key:Oa,style:{color:"#5F6368"}},Ln.name))),aa=ee(55054),Vn=Object.defineProperty,jn=Object.defineProperties,Ga=Object.getOwnPropertyDescriptors,ra=Object.getOwnPropertySymbols,Ka=Object.prototype.hasOwnProperty,Pr=Object.prototype.propertyIsEnumerable,Tr=(Sn,In,En)=>In in Sn?Vn(Sn,In,{enumerable:!0,configurable:!0,writable:!0,value:En}):Sn[In]=En,Xr=(Sn,In)=>{for(var En in In||(In={}))Ka.call(In,En)&&Tr(Sn,En,In[En]);if(ra)for(var En of ra(In))Pr.call(In,En)&&Tr(Sn,En,In[En]);return Sn},Rr=(Sn,In)=>jn(Sn,Ga(In)),Mr=(Sn,In)=>{var En={};for(var Ln in Sn)Ka.call(Sn,Ln)&&In.indexOf(Ln)<0&&(En[Ln]=Sn[Ln]);if(Sn!=null&&ra)for(var Ln of ra(Sn))In.indexOf(Ln)<0&&Pr.call(Sn,Ln)&&(En[Ln]=Sn[Ln]);return En};const{Countdown:to}=aa.default;var gr=Sn=>{var In=Sn,{onChange:En}=In,Ln=Mr(In,["onChange"]);const[Oa,Ar]=(0,ae.useState)(null);(0,ae.useEffect)(()=>{typeof Oa=="number"&&Oa>=0&&En(Oa)},[Oa]);const Tn=et=>{const dt=Math.floor(et/1e3);Ar(dt)};return ae.createElement(to,Rr(Xr({},Ln),{onChange:Tn}))}},99914:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return me}});var ae=ee(67294);function me(Ie,Ze){const Me=(0,ae.useRef)();(0,ae.useEffect)(()=>{Me.current=Ie}),(0,ae.useEffect)(()=>{function ze(){Me.current()}if(Ze!==null){let se=setInterval(ze,Ze);return()=>clearInterval(se)}},[Ze])}},63770:function(ht,wt,ee){"use strict";var ae=ee(67294),me=ee(35973),Ie=ee(69677),Ze=ee(14446),Me=ee(59810),ze=ee(30001),se=Object.defineProperty,Te=Object.getOwnPropertySymbols,je=Object.prototype.hasOwnProperty,He=Object.prototype.propertyIsEnumerable,_e=(x,b,E)=>b in x?se(x,b,{enumerable:!0,configurable:!0,writable:!0,value:E}):x[b]=E,$e=(x,b)=>{for(var E in b||(b={}))je.call(b,E)&&_e(x,E,b[E]);if(Te)for(var E of Te(b))He.call(b,E)&&_e(x,E,b[E]);return x},we=(x,b)=>{var E={};for(var z in x)je.call(x,z)&&b.indexOf(z)<0&&(E[z]=x[z]);if(x!=null&&Te)for(var z of Te(x))b.indexOf(z)<0&&He.call(x,z)&&(E[z]=x[z]);return E},ce=(x,b,E)=>new Promise((z,re)=>{var oe=pe=>{try{ge(E.next(pe))}catch(Le){re(Le)}},ne=pe=>{try{ge(E.throw(pe))}catch(Le){re(Le)}},ge=pe=>pe.done?z(pe.value):Promise.resolve(pe.value).then(oe,ne);ge((E=E.apply(x,b)).next())});const y=Ie.default.TextArea,a=x=>{var b=x,{dispatch:E,declaration:z,onClose:re=()=>{},onSuccess:oe=()=>{},exportTemplate:ne=()=>{}}=b,ge=we(b,["dispatch","declaration","onClose","onSuccess","exportTemplate"]);const[pe,Le]=(0,ae.useState)([]),be={name:"file",multiple:!1,fileList:pe,beforeUpload:xe=>ce(void 0,null,function*(){return Le([$e({},xe)]),!1}),onChange:({fileList:xe})=>{Le(xe)}};return(0,ae.useEffect)(()=>{Le([])},[z.actionTabs.key]),ae.createElement(Ze.default,{centered:!0,keyboard:!1,destroyOnClose:!0,open:z.actionTabs.key,title:z.actionTabs.key,width:500,onCancel:()=>{re()},onOk:()=>{oe(z.actionTabs.key,pe)}},ae.createElement(ze.op,{className:"mb20",shape:"default",onClick:()=>{ne(z.actionTabs.key)}},ae.createElement("i",{className:"iconfont icon-xiazai5 mr5",style:{color:"#3061D0",fontSize:"14px"}}),"\u4E0B\u8F7D\u6A21\u677F"),ae.createElement(Me.default.Dragger,$e({},be),ae.createElement(ze.op,{shape:"default",style:{marginTop:"20px"}},"\u9009\u62E9\u6587\u4EF6"),ae.createElement("div",{style:{color:"#9096A3",marginTop:"10px",marginBottom:"20px"}},"\u4E0B\u8F7D\u6A21\u677F\u5E76\u5B8C\u5584\u4FE1\u606F\u540E\uFF0C\u53EF\u5C06\u6587\u4EF6\u62D6\u62FD\u81F3\u6B64\u5904\u6216\u70B9\u51FB\u4E0A\u4F20")))};wt.Z=(0,me.connect)(({declaration:x})=>({declaration:x}))(a)},64316:function(ht,wt,ee){"use strict";ee.r(wt),ee.d(wt,{default:function(){return en}});var ae=ee(67294),me={contWrap:"contWrap___hQfMt",header:"header___X7YPi",headTitle:"headTitle___U2D0r",searchWrap:"searchWrap___vz2YF",wrap1:"wrap1___npFkF",editBtn:"editBtn___mBaZz"},Ie=ee(22150),Ze=ee(14446),Me=ee(2453),ze=ee(69677),se=ee(57953),Te=ee(96074),je=ee(42563),He=ee(20669),_e=ee(9430),$e=ee(71577),we=ee(30001),ce=ee(35567),y=ee(85725),a=ee(26194),x=ee(27484),b=ee.n(x),E=ee(35973),z=ee(41805),re=ee(52262),oe=ee(63770),ne=ee(28706),ge=ee(67294),pe=Object.defineProperty,Le=Object.defineProperties,be=Object.getOwnPropertyDescriptors,xe=Object.getOwnPropertySymbols,Se=Object.prototype.hasOwnProperty,ft=Object.prototype.propertyIsEnumerable,Ye=(Mt,lt,xt)=>lt in Mt?pe(Mt,lt,{enumerable:!0,configurable:!0,writable:!0,value:xt}):Mt[lt]=xt,Zt=(Mt,lt)=>{for(var xt in lt||(lt={}))Se.call(lt,xt)&&Ye(Mt,xt,lt[xt]);if(xe)for(var xt of xe(lt))ft.call(lt,xt)&&Ye(Mt,xt,lt[xt]);return Mt},qe=(Mt,lt)=>Le(Mt,be(lt)),ct=(Mt,lt,xt)=>new Promise((nn,vn)=>{var Ue=Rn=>{try{Ft(xt.next(Rn))}catch(nt){vn(nt)}},Ct=Rn=>{try{Ft(xt.throw(Rn))}catch(nt){vn(nt)}},Ft=Rn=>Rn.done?nn(Rn.value):Promise.resolve(Rn.value).then(Ue,Ct);Ft((xt=xt.apply(Mt,lt)).next())});const zt=({declaration:Mt,user:lt,dispatch:xt,loading:nn})=>{const[vn,Ue]=(0,ae.useState)([]),[Ct,Ft]=(0,ae.useState)(0),[Rn,nt]=(0,ae.useState)(!1),[kt,Ce]=(0,ae.useState)(!1),[hn,zn]=(0,ae.useState)(""),[ba,Yn]=(0,ae.useState)(""),[Rt,Ge]=(0,ae.useState)({page:1,limit:10,status:"",keyword:"",start_time:"",end_time:""}),[Fe]=Ie.default.useForm(),[pt,Gt]=(0,ae.useState)([]),[_t,Pn]=(0,ae.useState)(!1),Qn=[{title:"\u7533\u8BF7\u4EBA",align:"left",width:120,dataIndex:"user_name",ellipsis:!0,render:Ee=>ge.createElement("span",null,Ee||"--")},{title:"\u5DE5\u53F7",align:"left",ellipsis:!0,width:120,dataIndex:"staff_id",render:Ee=>ge.createElement("span",null,Ee||"--")},{title:"\u5BA1\u6838\u72B6\u6001",align:"left",width:120,dataIndex:"status",ellipsis:!0,render:Ee=>ge.createElement("span",null,Ee===-1&&ge.createElement("span",{style:{color:"#FF9D18"}},"\u672A\u63D0\u4EA4"),Ee===0&&ge.createElement("span",{style:{color:"#FF9D18"}},"\u5F85\u5BA1\u6838"),Ee===1&&ge.createElement("span",{style:{color:"#3061D0"}},"\u5DF2\u901A\u8FC7"),Ee===2&&ge.createElement("span",{style:{color:"#E30000"}},"\u9000\u56DE\u4FEE\u6539"))},{title:"\u4E13\u6CE8\u7C7B\u578B",align:"left",ellipsis:!0,dataIndex:"monograph_type_name",render:Ee=>ge.createElement("span",null,Ee||"--")},{title:"\u8457\u4F5C\u540D\u79F0",align:"left",ellipsis:!0,dataIndex:"title",render:Ee=>ge.createElement("span",null,Ee||"--")},{title:"\u4F5C\u8005",align:"left",ellipsis:!0,dataIndex:"authors",render:Ee=>ge.createElement("span",null,Ee||"--")},{title:"\u4E66\u53F7",align:"left",ellipsis:!0,dataIndex:"books_number",render:Ee=>ge.createElement("span",null,Ee||"--")},{title:"\u51FA\u7248\u793E",align:"left",ellipsis:!0,dataIndex:"publisher",render:Ee=>ge.createElement("span",null,Ee||"--")},{title:"\u603B\u5B57\u6570",align:"left",ellipsis:!0,dataIndex:"words_count",render:Ee=>ge.createElement("span",null,Ee||"--")},{title:"\u51FA\u7248\u65F6\u95F4",align:"left",ellipsis:!0,dataIndex:"publish_time",render:Ee=>ge.createElement("span",null,Ee?b()(Ee).format("YYYY-MM"):"--")},{title:"\u64CD\u4F5C",align:"right",fixed:"right",width:160,ellipsis:!0,dataIndex:"school_name",render:(Ee,Ke)=>{var Nn,Kn,st,tn;return ge.createElement(ge.Fragment,null,((0,re.Ny)()&&((Nn=lt.userInfo)==null?void 0:Nn.real_name)!==(Ke==null?void 0:Ke.user_name)||[0,1].includes(Ke==null?void 0:Ke.status))&&ge.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{xt({type:"declaration/changeMode",payload:{mode:"view"}}),E.history.push(`/declaration/research/monograph/view?id=${Ke==null?void 0:Ke.id}`)}},"\u67E5\u770B"),((Kn=lt==null?void 0:lt.userInfo)==null?void 0:Kn.real_name)===(Ke==null?void 0:Ke.user_name)&&[-1,2].includes(Ke==null?void 0:Ke.status)&&ge.createElement("span",{className:"current",style:{color:"#3061D0"},onClick:()=>{xt({type:"declaration/changeMode",payload:{mode:"edit"}}),E.history.push(`/declaration/research/monograph/edit?id=${Ke==null?void 0:Ke.id}`)}},"\u7F16\u8F91"),(0,re.Ny)()&&(Ke==null?void 0:Ke.status)===0&&ge.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Ze.default.confirm({title:"\u901A\u8FC7\u5BA1\u6838",content:"\u786E\u8BA4\u8981\u901A\u8FC7\u5BA1\u6838\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>ct(void 0,null,function*(){(yield(0,z.Uk)({declaration_id:Ke==null?void 0:Ke.id,verify_status:"agree",reason:""})).status===0&&(Me.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),Gn())})})}},"\u901A\u8FC7"),(0,re.Ny)()&&(Ke==null?void 0:Ke.status)===0&&ge.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Fe.setFieldValue("reason",Ke==null?void 0:Ke.reason),Ze.default.confirm({title:"\u9A73\u56DE\u7533\u62A5",content:ge.createElement("div",null,ge.createElement(Ie.default,{form:Fe,layout:"vertical",onFinish:We=>ct(void 0,null,function*(){(yield(0,z.Uk)(Zt({declaration_id:Ke==null?void 0:Ke.id,verify_status:"reject"},We))).status===0&&(Me.ZP.success("\u64CD\u4F5C\u6210\u529F\uFF01"),Gn())}),scrollToFirstError:!0,size:"large",colon:!1,labelAlign:"right",className:me.formWrap},ge.createElement(Ie.default.Item,{label:"\u9A73\u56DE\u539F\u56E0",name:"reason",rules:[{required:!0}]},ge.createElement(ze.default.TextArea,{placeholder:"\u8BF7\u8F93\u5165\u9A73\u56DE\u539F\u56E0"})))),width:500,okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>ct(void 0,null,function*(){yield Fe.submit()})})}},"\u9A73\u56DE"),((st=lt==null?void 0:lt.userInfo)==null?void 0:st.real_name)===(Ke==null?void 0:Ke.user_name)&&[-1,2].includes(Ke==null?void 0:Ke.status)&&ge.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Ze.default.confirm({title:"\u63D0\u4EA4\u5BA1\u6838",content:"\u786E\u8BA4\u8981\u63D0\u4EA4\u5BA1\u6838\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>ct(void 0,null,function*(){(yield(0,z.xx)({declaration_id:Ke==null?void 0:Ke.id})).status===0&&(Me.ZP.success("\u63D0\u4EA4\u6210\u529F\uFF01"),Gn())})})}},"\u63D0\u4EA4\u5BA1\u6838"),((tn=lt==null?void 0:lt.userInfo)==null?void 0:tn.real_name)===(Ke==null?void 0:Ke.user_name)&&[-1,2].includes(Ke==null?void 0:Ke.status)&&ge.createElement("span",{className:"current",style:{color:"#3061D0",marginLeft:10},onClick:()=>{Ze.default.confirm({title:"\u5220\u9664",content:"\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",okText:"\u786E\u8BA4",icon:null,centered:!0,cancelText:"\u53D6\u6D88",onOk:()=>ct(void 0,null,function*(){(yield(0,z.UX)({id:Ke==null?void 0:Ke.id})).status===0&&(Me.ZP.success("\u5220\u9664\u6210\u529F\uFF01"),Gn())})})}},"\u5220\u9664"))}}];(0,ae.useEffect)(()=>{Gn(),Hn()},[]);const Gn=()=>ct(void 0,null,function*(){var Ee,Ke;nt(!0);const Nn=yield(0,z.Dn)(Zt({declare_type:3},Rt));(Nn==null?void 0:Nn.status)===0&&(Ue(((Ee=Nn==null?void 0:Nn.data)==null?void 0:Ee.list)||[]),Ft(((Ke=Nn==null?void 0:Nn.data)==null?void 0:Ke.count)||0)),nt(!1)}),Hn=()=>ct(void 0,null,function*(){var Ee,Ke;const Nn=yield(0,z.Xi)({declare_type:3});(Nn==null?void 0:Nn.status)===0&&(zn(((Ee=Nn==null?void 0:Nn.data)==null?void 0:Ee.content)||"\u6682\u65E0\u6570\u636E"),Yn(((Ke=Nn==null?void 0:Nn.data)==null?void 0:Ke.content)||"\u6682\u65E0\u6570\u636E"))}),Ca=()=>ct(void 0,null,function*(){if((hn==null?void 0:hn.length)>1e3){Me.ZP.info("\u5B57\u6570\u4E0D\u80FD\u8D85\u8FC71000\u5B57\uFF01");return}const Ee=yield(0,z.kF)({declare_type:3,content:hn});(Ee==null?void 0:Ee.status)===0&&(Ce(!1),Me.ZP.success("\u7F16\u8F91\u6210\u529F!"))});return ge.createElement(se.Z,{spinning:Rn},ge.createElement("div",{className:me.contWrap},ge.createElement("div",{className:me.header},ge.createElement("div",{className:me.headTitle},"\u79D1\u7814\u4E13\u8457\u7533\u62A5"),ge.createElement("div",null,ge.createElement(we.op,{shape:"default",onClick:()=>{xt({type:"declaration/changeMode",payload:{mode:"edit"}}),E.history.push("/declaration/research/monograph/edit")}},ge.createElement("span",null,"\u6DFB\u52A0\u79D1\u7814\u7C7B\u4E13\u8457")),ge.createElement(we.op,{className:"ml20",shape:"default",onClick:()=>{xt({type:"declaration/setActionTabs",payload:{key:"\u5BFC\u5165\u79D1\u7814\u7C7B\u4E13\u8457"}})}},"\u5BFC\u5165"),ge.createElement(we.op,{className:"ml20",shape:"default",onClick:()=>{(0,ne.Nd)("","/api/export_excels/down_excel.xlsx?declare_type=3")}},"\u5BFC\u51FA"))),ge.createElement(Te.Z,{style:{margin:"12px 0px 20px 0px"}}),ge.createElement("div",{className:me.searchWrap},ge.createElement(je.default,{size:"large",defaultValue:Rt.status,style:{width:140,marginRight:"12px",borderRadius:2},onChange:Ee=>{Rt.status=Ee,Ge(Zt({},Rt)),Rt.page=1,Gn()},options:[{value:"",label:"\u5168\u90E8"},{value:-1,label:"\u672A\u63D0\u4EA4"},{value:0,label:"\u5F85\u5BA1\u6838"},{value:1,label:"\u5DF2\u901A\u8FC7"},{value:2,label:"\u9000\u56DE\u4FEE\u6539"}]}),ge.createElement(He.default.RangePicker,{size:"large",style:{width:200,borderRadius:2},onChange:Ee=>{Rt.start_time=Ee!=null&&Ee[0]?Ee[0].format("YYYY-MM-DD"):"",Rt.end_time=Ee!=null&&Ee[1]?Ee[1].format("YYYY-MM-DD"):"",Rt.page=1,Ge(qe(Zt({},Rt),{time:b()(Ee).format("YYYY-MM")})),Gn()},picker:"month",format:"YYYY-MM"}),ge.createElement(we.t7,{style:{width:252,marginLeft:"auto"},placeholder:"\u8BF7\u8F93\u5165\u641C\u7D22\u5185\u5BB9",value:Rt.keyword,onChange:Ee=>{Rt.page=1,Rt.keywords=Ee,Ge(Zt({},Rt)),Gn()}})),ge.createElement("div",null,ge.createElement(_e.default,{dataSource:vn,scroll:{x:1200},pagination:{total:Ct||0,size:"default",onChange:(Ee,Ke)=>{Rt.page=Ee,Rt.limit=Ke,Ge(Zt({},Rt)),Gn()},current:Rt==null?void 0:Rt.page,pageSize:Rt==null?void 0:Rt.limit,showTotal:Ee=>ge.createElement(ge.Fragment,null,"\u5171",ge.createElement("span",{className:"ml5 mr5",style:{color:"#3061d0"}},Ee),"\u6761\u6570\u636E")},columns:Qn,locale:{emptyText:ge.createElement(a.Z,{customText:"\u6682\u65E0\u6570\u636E~"})}})),ge.createElement(Te.Z,{style:{margin:"30px 0px"}}),kt?ge.createElement("div",null,ge.createElement(ce.Z,{placeholder:"\u8BF7\u8F93\u5165\u76F8\u5173\u5185\u5BB9",height:150,defaultValue:hn,id:"editContent",onChange:Ee=>{zn(Ee)}}),ge.createElement("div",{style:{display:"flex",justifyContent:"flex-end",marginTop:"20px"}},ge.createElement(we.op,{shape:"default",onClick:()=>{Ce(!1),zn(ba)}},"\u53D6\u6D88"),ge.createElement($e.ZP,{className:"ml20",type:"primary",onClick:()=>ct(void 0,null,function*(){yield Ca()})},"\u63D0\u4EA4"))):ge.createElement("div",{className:me.wrap1},(0,re.Ny)()&&ge.createElement("div",{className:me.editBtn,onClick:()=>{Ce(!0)}},ge.createElement("i",{className:"iconfont icon-bianji15 mr5"}),"\u7F16\u8F91"),ge.createElement(y.Z,{className:"discuss-content",value:hn,style:{fontSize:"12px",color:"#232B40"}})),ge.createElement(Ze.default,{title:"\u5BFC\u5165\u5931\u8D25",open:_t,width:500,centered:!0,destroyOnClose:!0,maskClosable:!1,className:me.optionModal,cancelButtonProps:{style:{display:"none"}},onCancel:()=>{Pn(!1)},onOk:()=>{Pn(!1)}},ge.createElement(_e.default,{columns:[{title:"\u5217\u6570",dataIndex:"title",key:"title",render:(Ee,Ke)=>ge.createElement("span",null,"\u7B2C",`${Ke==null?void 0:Ke.index}`,"\u5217")},{title:"\u9519\u8BEF\u539F\u56E0",dataIndex:"",key:"message",render:(Ee,Ke)=>ge.createElement("span",null,`${Ke==null?void 0:Ke.what_column}\uFF1A${Ke==null?void 0:Ke.message}`)}],pagination:!1,dataSource:pt})),ge.createElement(oe.Z,{exportTemplate:Ee=>{(0,ne.Nd)("","/api/export_excels/down_template.xlsx?declare_type=3")},onSuccess:(Ee,Ke)=>ct(void 0,null,function*(){var Nn,Kn,st,tn;const We=new FormData;if((Ke==null?void 0:Ke.length)==0){Me.ZP.error("\u8BF7\u9009\u62E9\u8981\u4E0A\u4F20\u7684\u6587\u4EF6");return}const ut=(Nn=Ke[0])==null?void 0:Nn.originFileObj;if(!ut){Me.ZP.error("\u6587\u4EF6\u83B7\u53D6\u5931\u8D25\uFF0C\u8BF7\u91CD\u65B0\u9009\u62E9");return}We.append("file",ut),We.append("declare_type","3");const Bt=yield(0,z.kq)(We);((st=(Kn=Bt==null?void 0:Bt.data)==null?void 0:Kn.fail)==null?void 0:st.length)===0?(Me.ZP.success("\u4E0A\u4F20\u6210\u529F"),xt({type:"declaration/setActionTabs",payload:{key:""}})):(Gt((tn=Bt==null?void 0:Bt.data)==null?void 0:tn.fail),Pn(!0)),Gn()}),onClose:()=>{xt({type:"declaration/setActionTabs",payload:{key:""}})}})))};var en=(0,E.connect)(({declaration:Mt,loading:lt,user:xt})=>({declaration:Mt,loading:lt,user:xt}))(zt)},38780:function(ht,wt){"use strict";function ee(){const ae=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let me=1;me<arguments.length;me++){const Ie=me<0||arguments.length<=me?void 0:arguments[me];Ie&&Object.keys(Ie).forEach(Ze=>{const Me=Ie[Ze];Me!==void 0&&(ae[Ze]=Me)})}return ae}wt.Z=ee},66367:function(ht,wt,ee){"use strict";ee.d(wt,{F:function(){return ae},Z:function(){return me}});function ae(Ie){return Ie!=null&&Ie===Ie.window}function me(Ie,Ze){var Me,ze;if(typeof window=="undefined")return 0;const se=Ze?"scrollTop":"scrollLeft";let Te=0;return ae(Ie)?Te=Ie[Ze?"pageYOffset":"pageXOffset"]:Ie instanceof Document?Te=Ie.documentElement[se]:(Ie instanceof HTMLElement||Ie)&&(Te=Ie[se]),Ie&&!ae(Ie)&&typeof Te!="number"&&(Te=(ze=((Me=Ie.ownerDocument)!==null&&Me!==void 0?Me:Ie).documentElement)===null||ze===void 0?void 0:ze[se]),Te}},57838:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return me}});var ae=ee(67294);function me(){const[,Ie]=ae.useReducer(Ze=>Ze+1,0);return Ie}},58375:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return Ze}});var ae=ee(96523);function me(Me,ze,se,Te){const je=se-ze;return Me/=Te/2,Me<1?je/2*Me*Me*Me+ze:je/2*((Me-=2)*Me*Me+2)+ze}var Ie=ee(66367);function Ze(Me){let ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:se=()=>window,callback:Te,duration:je=450}=ze,He=se(),_e=(0,Ie.Z)(He,!0),$e=Date.now(),we=()=>{const y=Date.now()-$e,a=me(y>je?je:y,_e,Me,je);(0,Ie.F)(He)?He.scrollTo(window.pageXOffset,a):He instanceof Document||He.constructor.name==="HTMLDocument"?He.documentElement.scrollTop=a:He.scrollTop=a,y<je?(0,ae.Z)(we):typeof Te=="function"&&Te()};(0,ae.Z)(we)}},84567:function(ht,wt,ee){"use strict";ee.d(wt,{default:function(){return ge}});var ae=ee(94184),me=ee.n(ae),Ie=ee(95860),Ze=ee(67294),Me=ee(53124),ze=ee(98866),se=ee(65223),je=Ze.createContext(null),He=ee(63185),_e=ee(45353),$e=ee(92429),we=function(pe,Le){var be={};for(var xe in pe)Object.prototype.hasOwnProperty.call(pe,xe)&&Le.indexOf(xe)<0&&(be[xe]=pe[xe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,xe=Object.getOwnPropertySymbols(pe);Se<xe.length;Se++)Le.indexOf(xe[Se])<0&&Object.prototype.propertyIsEnumerable.call(pe,xe[Se])&&(be[xe[Se]]=pe[xe[Se]]);return be};const ce=(pe,Le)=>{var be;const{prefixCls:xe,className:Se,rootClassName:ft,children:Ye,indeterminate:Zt=!1,style:qe,onMouseEnter:ct,onMouseLeave:zt,skipGroup:en=!1,disabled:Mt}=pe,lt=we(pe,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:xt,direction:nn,checkbox:vn}=Ze.useContext(Me.E_),Ue=Ze.useContext(je),{isFormItemInput:Ct}=Ze.useContext(se.aM),Ft=Ze.useContext(ze.Z),Rn=(be=(Ue==null?void 0:Ue.disabled)||Mt)!==null&&be!==void 0?be:Ft,nt=Ze.useRef(lt.value);Ze.useEffect(()=>{Ue==null||Ue.registerValue(lt.value)},[]),Ze.useEffect(()=>{if(!en)return lt.value!==nt.current&&(Ue==null||Ue.cancelValue(nt.current),Ue==null||Ue.registerValue(lt.value),nt.current=lt.value),()=>Ue==null?void 0:Ue.cancelValue(lt.value)},[lt.value]);const kt=xt("checkbox",xe),[Ce,hn]=(0,He.ZP)(kt),zn=Object.assign({},lt);Ue&&!en&&(zn.onChange=function(){lt.onChange&&lt.onChange.apply(lt,arguments),Ue.toggleOption&&Ue.toggleOption({label:Ye,value:lt.value})},zn.name=Ue.name,zn.checked=Ue.value.includes(lt.value));const ba=me()(`${kt}-wrapper`,{[`${kt}-rtl`]:nn==="rtl",[`${kt}-wrapper-checked`]:zn.checked,[`${kt}-wrapper-disabled`]:Rn,[`${kt}-wrapper-in-form-item`]:Ct},vn==null?void 0:vn.className,Se,ft,hn),Yn=me()({[`${kt}-indeterminate`]:Zt},$e.A,hn),Rt=Zt?"mixed":void 0;return Ce(Ze.createElement(_e.Z,{component:"Checkbox",disabled:Rn},Ze.createElement("label",{className:ba,style:Object.assign(Object.assign({},vn==null?void 0:vn.style),qe),onMouseEnter:ct,onMouseLeave:zt},Ze.createElement(Ie.Z,Object.assign({"aria-checked":Rt},zn,{prefixCls:kt,className:Yn,disabled:Rn,ref:Le})),Ye!==void 0&&Ze.createElement("span",null,Ye))))};var a=Ze.forwardRef(ce),x=ee(74902),b=ee(10366),E=function(pe,Le){var be={};for(var xe in pe)Object.prototype.hasOwnProperty.call(pe,xe)&&Le.indexOf(xe)<0&&(be[xe]=pe[xe]);if(pe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Se=0,xe=Object.getOwnPropertySymbols(pe);Se<xe.length;Se++)Le.indexOf(xe[Se])<0&&Object.prototype.propertyIsEnumerable.call(pe,xe[Se])&&(be[xe[Se]]=pe[xe[Se]]);return be};const z=(pe,Le)=>{const{defaultValue:be,children:xe,options:Se=[],prefixCls:ft,className:Ye,rootClassName:Zt,style:qe,onChange:ct}=pe,zt=E(pe,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:en,direction:Mt}=Ze.useContext(Me.E_),[lt,xt]=Ze.useState(zt.value||be||[]),[nn,vn]=Ze.useState([]);Ze.useEffect(()=>{"value"in zt&&xt(zt.value||[])},[zt.value]);const Ue=Ze.useMemo(()=>Se.map(Ge=>typeof Ge=="string"||typeof Ge=="number"?{label:Ge,value:Ge}:Ge),[Se]),Ct=Ge=>{vn(Fe=>Fe.filter(pt=>pt!==Ge))},Ft=Ge=>{vn(Fe=>[].concat((0,x.Z)(Fe),[Ge]))},Rn=Ge=>{const Fe=lt.indexOf(Ge.value),pt=(0,x.Z)(lt);Fe===-1?pt.push(Ge.value):pt.splice(Fe,1),"value"in zt||xt(pt),ct==null||ct(pt.filter(Gt=>nn.includes(Gt)).sort((Gt,_t)=>{const Pn=Ue.findIndex(Gn=>Gn.value===Gt),Qn=Ue.findIndex(Gn=>Gn.value===_t);return Pn-Qn}))},nt=en("checkbox",ft),kt=`${nt}-group`,[Ce,hn]=(0,He.ZP)(nt),zn=(0,b.Z)(zt,["value","disabled"]),ba=Se.length?Ue.map(Ge=>Ze.createElement(a,{prefixCls:nt,key:Ge.value.toString(),disabled:"disabled"in Ge?Ge.disabled:zt.disabled,value:Ge.value,checked:lt.includes(Ge.value),onChange:Ge.onChange,className:`${kt}-item`,style:Ge.style,title:Ge.title},Ge.label)):xe,Yn={toggleOption:Rn,value:lt,disabled:zt.disabled,name:zt.name,registerValue:Ft,cancelValue:Ct},Rt=me()(kt,{[`${kt}-rtl`]:Mt==="rtl"},Ye,Zt,hn);return Ce(Ze.createElement("div",Object.assign({className:Rt,style:qe},zn,{ref:Le}),Ze.createElement(je.Provider,{value:Yn},ba)))},re=Ze.forwardRef(z);var oe=Ze.memo(re);const ne=a;ne.Group=oe,ne.__ANT_CHECKBOX=!0;var ge=ne},63185:function(ht,wt,ee){"use strict";ee.d(wt,{C2:function(){return Me}});var ae=ee(14747),me=ee(45503),Ie=ee(67968);const Ze=ze=>{const{checkboxCls:se}=ze,Te=`${se}-wrapper`;return[{[`${se}-group`]:Object.assign(Object.assign({},(0,ae.Wf)(ze)),{display:"inline-flex",flexWrap:"wrap",columnGap:ze.marginXS,[`> ${ze.antCls}-row`]:{flex:1}}),[Te]:Object.assign(Object.assign({},(0,ae.Wf)(ze)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${Te}`]:{marginInlineStart:0},[`&${Te}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[se]:Object.assign(Object.assign({},(0,ae.Wf)(ze)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:ze.borderRadiusSM,alignSelf:"center",[`${se}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${se}-inner`]:Object.assign({},(0,ae.oN)(ze))},[`${se}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:ze.checkboxSize,height:ze.checkboxSize,direction:"ltr",backgroundColor:ze.colorBgContainer,border:`${ze.lineWidth}px ${ze.lineType} ${ze.colorBorder}`,borderRadius:ze.borderRadiusSM,borderCollapse:"separate",transition:`all ${ze.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:ze.checkboxSize/14*5,height:ze.checkboxSize/14*8,border:`${ze.lineWidthBold}px solid ${ze.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${ze.motionDurationFast} ${ze.motionEaseInBack}, opacity ${ze.motionDurationFast}`}},"& + span":{paddingInlineStart:ze.paddingXS,paddingInlineEnd:ze.paddingXS}})},{[`
${Te}:not(${Te}-disabled),
${se}:not(${se}-disabled)
`]:{[`&:hover ${se}-inner`]:{borderColor:ze.colorPrimary}},[`${Te}:not(${Te}-disabled)`]:{[`&:hover ${se}-checked:not(${se}-disabled) ${se}-inner`]:{backgroundColor:ze.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${se}-checked:not(${se}-disabled):after`]:{borderColor:ze.colorPrimaryHover}}},{[`${se}-checked`]:{[`${se}-inner`]:{backgroundColor:ze.colorPrimary,borderColor:ze.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${ze.motionDurationMid} ${ze.motionEaseOutBack} ${ze.motionDurationFast}`}}},[`
${Te}-checked:not(${Te}-disabled),
${se}-checked:not(${se}-disabled)
`]:{[`&:hover ${se}-inner`]:{backgroundColor:ze.colorPrimaryHover,borderColor:"transparent"}}},{[se]:{"&-indeterminate":{[`${se}-inner`]:{backgroundColor:ze.colorBgContainer,borderColor:ze.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:ze.fontSizeLG/2,height:ze.fontSizeLG/2,backgroundColor:ze.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${Te}-disabled`]:{cursor:"not-allowed"},[`${se}-disabled`]:{[`&, ${se}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${se}-inner`]:{background:ze.colorBgContainerDisabled,borderColor:ze.colorBorder,"&:after":{borderColor:ze.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:ze.colorTextDisabled},[`&${se}-indeterminate ${se}-inner::after`]:{background:ze.colorTextDisabled}}}]};function Me(ze,se){const Te=(0,me.TS)(se,{checkboxCls:`.${ze}`,checkboxSize:se.controlInteractiveSize});return[Ze(Te)]}wt.ZP=(0,Ie.Z)("Checkbox",(ze,se)=>{let{prefixCls:Te}=se;return[Me(Te,ze)]})},20669:function(ht,wt,ee){"use strict";ee.d(wt,{default:function(){return Wo}});var ae=ee(97909),me=ee.n(ae),Ie=ee(68291),Ze=ee(33088),Me=ee.n(Ze),ze=ee(26850),se=ee.n(ze),Te=ee(23082),je=ee.n(Te),He=ee(99873),_e=ee.n(He),$e=ee(86625),we=ee.n($e),ce=ee(40618),y=ee.n(ce);me().extend(y()),me().extend(we()),me().extend(Me()),me().extend(se()),me().extend(je()),me().extend(_e()),me().extend(function(te,ie){var le=ie.prototype,fe=le.format;le.format=function(De){var Ae=(De||"").replace("Wo","wo");return fe.bind(this)(Ae)}});var a={bn_BD:"bn-bd",by_BY:"be",en_GB:"en-gb",en_US:"en",fr_BE:"fr",fr_CA:"fr-ca",hy_AM:"hy-am",kmr_IQ:"ku",nl_BE:"nl-be",pt_BR:"pt-br",zh_CN:"zh-cn",zh_HK:"zh-hk",zh_TW:"zh-tw"},x=function(ie){var le=a[ie];return le||ie.split("_")[0]},b=function(){(0,Ie.ET)(!1,"Not match any format. Please help to fire a issue about this.")},E={getNow:function(){return me()()},getFixedDate:function(ie){return me()(ie,["YYYY-M-DD","YYYY-MM-DD"])},getEndDate:function(ie){return ie.endOf("month")},getWeekDay:function(ie){var le=ie.locale("en");return le.weekday()+le.localeData().firstDayOfWeek()},getYear:function(ie){return ie.year()},getMonth:function(ie){return ie.month()},getDate:function(ie){return ie.date()},getHour:function(ie){return ie.hour()},getMinute:function(ie){return ie.minute()},getSecond:function(ie){return ie.second()},addYear:function(ie,le){return ie.add(le,"year")},addMonth:function(ie,le){return ie.add(le,"month")},addDate:function(ie,le){return ie.add(le,"day")},setYear:function(ie,le){return ie.year(le)},setMonth:function(ie,le){return ie.month(le)},setDate:function(ie,le){return ie.date(le)},setHour:function(ie,le){return ie.hour(le)},setMinute:function(ie,le){return ie.minute(le)},setSecond:function(ie,le){return ie.second(le)},isAfter:function(ie,le){return ie.isAfter(le)},isValidate:function(ie){return ie.isValid()},locale:{getWeekFirstDay:function(ie){return me()().locale(x(ie)).localeData().firstDayOfWeek()},getWeekFirstDate:function(ie,le){return le.locale(x(ie)).weekday(0)},getWeek:function(ie,le){return le.locale(x(ie)).week()},getShortWeekDays:function(ie){return me()().locale(x(ie)).localeData().weekdaysMin()},getShortMonths:function(ie){return me()().locale(x(ie)).localeData().monthsShort()},format:function(ie,le,fe){return le.locale(x(ie)).format(fe)},parse:function(ie,le,fe){for(var ve=x(ie),De=0;De<fe.length;De+=1){var Ae=fe[De],Qe=le;if(Ae.includes("wo")||Ae.includes("Wo")){for(var Xe=Qe.split("-")[0],gt=Qe.split("-")[1],Yt=me()(Xe,"YYYY").startOf("year").locale(ve),mt=0;mt<=52;mt+=1){var St=Yt.add(mt,"week");if(St.format("Wo")===gt)return St}return b(),null}var bt=me()(Qe,Ae,!0).locale(ve);if(bt.isValid())return bt}return le&&b(),null}}},z=E,re=ee(8745),oe=ee(87462),ne=ee(67294),ge=ee.t(ne,2),pe={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 184H712v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H384v-64c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v64H144c-17.7 0-32 14.3-32 32v664c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V216c0-17.7-14.3-32-32-32zm-40 656H184V460h656v380zM184 392V256h128v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h256v48c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8v-48h128v136H184z"}}]},name:"calendar",theme:"outlined"},Le=pe,be=ee(74643),xe=function(ie,le){return ne.createElement(be.Z,(0,oe.Z)({},ie,{ref:le,icon:Le}))},Se=ne.forwardRef(xe),ft={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},Ye=ft,Zt=function(ie,le){return ne.createElement(be.Z,(0,oe.Z)({},ie,{ref:le,icon:Ye}))},qe=ne.forwardRef(Zt),ct=ee(16646),zt={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M873.1 596.2l-164-208A32 32 0 00684 376h-64.8c-6.7 0-10.4 7.7-6.3 13l144.3 183H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h695.9c26.8 0 41.7-30.8 25.2-51.8z"}}]},name:"swap-right",theme:"outlined"},en=zt,Mt=function(ie,le){return ne.createElement(be.Z,(0,oe.Z)({},ie,{ref:le,icon:en}))},lt=ne.forwardRef(Mt),xt=ee(94184),nn=ee.n(xt),vn=ee(15671),Ue=ee(43144),Ct=ee(97326),Ft=ee(60136),Rn=ee(51630),nt=ee(4942),kt=ee(1413),Ce=ee(97685),hn=ee(5663),zn=ee(1337),ba=ee(92739),Yn=ee(7699),Rt=10,Ge=Rt*10,Fe=7;function pt(te,ie){if(!te&&!ie)return!0;if(!te||!ie)return!1}function Gt(te,ie,le){var fe=pt(ie,le);if(typeof fe=="boolean")return fe;var ve=Math.floor(te.getYear(ie)/10),De=Math.floor(te.getYear(le)/10);return ve===De}function _t(te,ie,le){var fe=pt(ie,le);return typeof fe=="boolean"?fe:te.getYear(ie)===te.getYear(le)}function Pn(te,ie){var le=Math.floor(te.getMonth(ie)/3);return le+1}function Qn(te,ie,le){var fe=pt(ie,le);return typeof fe=="boolean"?fe:_t(te,ie,le)&&Pn(te,ie)===Pn(te,le)}function Gn(te,ie,le){var fe=pt(ie,le);return typeof fe=="boolean"?fe:_t(te,ie,le)&&te.getMonth(ie)===te.getMonth(le)}function Hn(te,ie,le){var fe=pt(ie,le);return typeof fe=="boolean"?fe:te.getYear(ie)===te.getYear(le)&&te.getMonth(ie)===te.getMonth(le)&&te.getDate(ie)===te.getDate(le)}function Ca(te,ie,le){var fe=pt(ie,le);return typeof fe=="boolean"?fe:te.getHour(ie)===te.getHour(le)&&te.getMinute(ie)===te.getMinute(le)&&te.getSecond(ie)===te.getSecond(le)}function Ee(te,ie,le,fe){var ve=pt(le,fe);return typeof ve=="boolean"?ve:_t(te,le,fe)&&te.locale.getWeek(ie,le)===te.locale.getWeek(ie,fe)}function Ke(te,ie,le){return Hn(te,ie,le)&&Ca(te,ie,le)}function Nn(te,ie,le,fe){return!ie||!le||!fe?!1:!Hn(te,ie,fe)&&!Hn(te,le,fe)&&te.isAfter(fe,ie)&&te.isAfter(le,fe)}function Kn(te,ie,le){var fe=ie.locale.getWeekFirstDay(te),ve=ie.setDate(le,1),De=ie.getWeekDay(ve),Ae=ie.addDate(ve,fe-De);return ie.getMonth(Ae)===ie.getMonth(le)&&ie.getDate(Ae)>1&&(Ae=ie.addDate(Ae,-7)),Ae}function st(te,ie,le){var fe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;switch(ie){case"year":return le.addYear(te,fe*10);case"quarter":case"month":return le.addYear(te,fe);default:return le.addMonth(te,fe)}}function tn(te,ie){var le=ie.generateConfig,fe=ie.locale,ve=ie.format;return typeof ve=="function"?ve(te):le.locale.format(fe.locale,te,ve)}function We(te,ie){var le=ie.generateConfig,fe=ie.locale,ve=ie.formatList;return!te||typeof ve[0]=="function"?null:le.locale.parse(fe.locale,te,ve)}function ut(te){var ie=te.cellDate,le=te.mode,fe=te.disabledDate,ve=te.generateConfig;if(!fe)return!1;var De=function(Nt,rt,Et){for(var qt=rt;qt<=Et;){var Dn=void 0;switch(Nt){case"date":{if(Dn=ve.setDate(ie,qt),!fe(Dn))return!1;break}case"month":{if(Dn=ve.setMonth(ie,qt),!ut({cellDate:Dn,mode:"month",generateConfig:ve,disabledDate:fe}))return!1;break}case"year":{if(Dn=ve.setYear(ie,qt),!ut({cellDate:Dn,mode:"year",generateConfig:ve,disabledDate:fe}))return!1;break}}qt+=1}return!0};switch(le){case"date":case"week":return fe(ie);case"month":{var Ae=1,Qe=ve.getDate(ve.getEndDate(ie));return De("date",Ae,Qe)}case"quarter":{var Xe=Math.floor(ve.getMonth(ie)/3)*3,gt=Xe+2;return De("month",Xe,gt)}case"year":return De("month",0,11);case"decade":{var Yt=ve.getYear(ie),mt=Math.floor(Yt/Rt)*Rt,St=mt+Rt-1;return De("year",mt,St)}}}function Bt(te,ie){var le=ie.formatList,fe=ie.generateConfig,ve=ie.locale;return(0,ba.Z)(function(){if(!te)return[[""],""];for(var De="",Ae=[],Qe=0;Qe<le.length;Qe+=1){var Xe=le[Qe],gt=tn(te,{generateConfig:fe,locale:ve,format:Xe});Ae.push(gt),Qe===0&&(De=gt)}return[Ae,De]},[te,le,ve],function(De,Ae){return!Ke(fe,De[0],Ae[0])||!(0,Yn.Z)(De[1],Ae[1],!0)||!(0,Yn.Z)(De[2],Ae[2],!0)})}function Wt(te,ie){var le=ie.formatList,fe=ie.generateConfig,ve=ie.locale,De=(0,ne.useState)(null),Ae=(0,Ce.Z)(De,2),Qe=Ae[0],Xe=Ae[1],gt=(0,ne.useRef)(null);function Yt(Et){var qt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(cancelAnimationFrame(gt.current),qt){Xe(Et);return}gt.current=requestAnimationFrame(function(){Xe(Et)})}var mt=Bt(Qe,{formatList:le,generateConfig:fe,locale:ve}),St=(0,Ce.Z)(mt,2),bt=St[1];function Nt(Et){Yt(Et)}function rt(){var Et=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;Yt(null,Et)}return(0,ne.useEffect)(function(){rt(!0)},[te]),(0,ne.useEffect)(function(){return function(){return cancelAnimationFrame(gt.current)}},[]),[bt,Nt,rt]}var Ot=ee(92389),yn=ee(96523),aa=ee(74902),Vn=ee(48130),jn=new Map;function Ga(te,ie){var le;function fe(){(0,Vn.Z)(te)?ie():le=(0,yn.Z)(function(){fe()})}return fe(),function(){yn.Z.cancel(le)}}function ra(te,ie,le){if(jn.get(te)&&cancelAnimationFrame(jn.get(te)),le<=0){jn.set(te,requestAnimationFrame(function(){te.scrollTop=ie}));return}var fe=ie-te.scrollTop,ve=fe/le*10;jn.set(te,requestAnimationFrame(function(){te.scrollTop+=ve,te.scrollTop!==ie&&ra(te,ie,le-10)}))}function Ka(te,ie){var le=ie.onLeftRight,fe=ie.onCtrlLeftRight,ve=ie.onUpDown,De=ie.onPageUpDown,Ae=ie.onEnter,Qe=te.which,Xe=te.ctrlKey,gt=te.metaKey;switch(Qe){case Ot.Z.LEFT:if(Xe||gt){if(fe)return fe(-1),!0}else if(le)return le(-1),!0;break;case Ot.Z.RIGHT:if(Xe||gt){if(fe)return fe(1),!0}else if(le)return le(1),!0;break;case Ot.Z.UP:if(ve)return ve(-1),!0;break;case Ot.Z.DOWN:if(ve)return ve(1),!0;break;case Ot.Z.PAGE_UP:if(De)return De(-1),!0;break;case Ot.Z.PAGE_DOWN:if(De)return De(1),!0;break;case Ot.Z.ENTER:if(Ae)return Ae(),!0;break}return!1}function Pr(te,ie,le,fe){var ve=te;if(!ve)switch(ie){case"time":ve=fe?"hh:mm:ss a":"HH:mm:ss";break;case"week":ve="gggg-wo";break;case"month":ve="YYYY-MM";break;case"quarter":ve="YYYY-[Q]Q";break;case"year":ve="YYYY";break;default:ve=le?"YYYY-MM-DD HH:mm:ss":"YYYY-MM-DD"}return ve}function Tr(te,ie,le){var fe=te==="time"?8:10,ve=typeof ie=="function"?ie(le.getNow()).length:ie.length;return Math.max(fe,ve)+2}var Xr=null,Rr=new Set;function Mr(te){return!Xr&&typeof window!="undefined"&&window.addEventListener&&(Xr=function(le){(0,aa.Z)(Rr).forEach(function(fe){fe(le)})},window.addEventListener("mousedown",Xr)),Rr.add(te),function(){Rr.delete(te),Rr.size===0&&(window.removeEventListener("mousedown",Xr),Xr=null)}}function to(te){var ie=te.target;if(te.composed&&ie.shadowRoot){var le;return((le=te.composedPath)===null||le===void 0?void 0:le.call(te)[0])||ie}return ie}var lo=function(ie){return ie==="month"||ie==="date"?"year":ie},gr=function(ie){return ie==="date"?"month":ie},Sn=function(ie){return ie==="month"||ie==="date"?"quarter":ie},In=function(ie){return ie==="date"?"week":ie},En={year:lo,month:gr,quarter:Sn,week:In,time:null,date:null};function Ln(te,ie){return te.some(function(le){return le&&le.contains(ie)})}function Oa(te){var ie=te.open,le=te.value,fe=te.isClickOutside,ve=te.triggerOpen,De=te.forwardKeyDown,Ae=te.onKeyDown,Qe=te.blurToCancel,Xe=te.onSubmit,gt=te.onCancel,Yt=te.onFocus,mt=te.onBlur,St=te.changeOnBlur,bt=(0,ne.useState)(!1),Nt=(0,Ce.Z)(bt,2),rt=Nt[0],Et=Nt[1],qt=(0,ne.useState)(!1),Dn=(0,Ce.Z)(qt,2),cn=Dn[0],ln=Dn[1],qn=(0,ne.useRef)(!1),an=(0,ne.useRef)(!1),sn=(0,ne.useRef)(!1),wa={onMouseDown:function(){Et(!0),ve(!0)},onKeyDown:function(La){var ga=function(){sn.current=!0};if(Ae(La,ga),!sn.current){switch(La.which){case Ot.Z.ENTER:{ie?Xe()!==!1&&Et(!0):ve(!0),La.preventDefault();return}case Ot.Z.TAB:{rt&&ie&&!La.shiftKey?(Et(!1),La.preventDefault()):!rt&&ie&&!De(La)&&La.shiftKey&&(Et(!0),La.preventDefault());return}case Ot.Z.ESC:{Et(!0),gt();return}}!ie&&![Ot.Z.SHIFT].includes(La.which)?ve(!0):rt||De(La)}},onFocus:function(La){Et(!0),ln(!0),Yt&&Yt(La)},onBlur:function(La){if(qn.current||!fe(document.activeElement)){qn.current=!1;return}Qe?setTimeout(function(){for(var ga=document,nr=ga.activeElement;nr&&nr.shadowRoot;)nr=nr.shadowRoot.activeElement;fe(nr)&&gt()},0):ie&&(ve(!1),an.current&&Xe()),ln(!1),mt==null||mt(La)}};return(0,ne.useEffect)(function(){an.current=!1},[ie]),(0,ne.useEffect)(function(){an.current=!0},[le]),(0,ne.useEffect)(function(){return Mr(function(na){var La=to(na),ga=fe(La);ie&&(ga?!St&&(!cn||ga)&&ve(!1):(qn.current=!0,(0,yn.Z)(function(){qn.current=!1})))})}),[wa,{focused:cn,typing:rt}]}function Ar(te,ie){return ne.useMemo(function(){return te||(ie?((0,Ie.ZP)(!1,"`ranges` is deprecated. Please use `presets` instead."),Object.entries(ie).map(function(le){var fe=(0,Ce.Z)(le,2),ve=fe[0],De=fe[1];return{label:ve,value:De}})):[])},[te,ie])}var Tn=ee(14075);function et(te){var ie=te.valueTexts,le=te.onTextChange,fe=ne.useState(""),ve=(0,Ce.Z)(fe,2),De=ve[0],Ae=ve[1],Qe=ne.useRef([]);Qe.current=ie;function Xe(Yt){Ae(Yt),le(Yt)}function gt(){Ae(Qe.current[0])}return(0,Tn.Z)(function(){ie.every(function(Yt){return Yt!==De})&&gt()},[ie.join("||")]),[De,Xe,gt]}var dt=ne.createContext({}),Ve=dt,jt=ee(71002);function bn(te){var ie=te.cellRender,le=te.monthCellRender,fe=te.dateRender,ve=ne.useMemo(function(){if(ie)return ie;if(!(!le&&!fe))return function(De,Ae){var Qe=De;return fe&&Ae.type==="date"?fe(Qe,Ae.today):le&&Ae.type==="month"?le(Qe,Ae.locale):Ae.originNode}},[ie,le,fe]);return ve}function Jn(te,ie){for(var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"0",fe=String(te);fe.length<ie;)fe="".concat(le).concat(te);return fe}var ja=function(){for(var ie=arguments.length,le=new Array(ie),fe=0;fe<ie;fe++)le[fe]=arguments[fe];return le};function ca(te){return te==null?[]:Array.isArray(te)?te:[te]}function Wn(te,ie){return te?te[ie]:null}function Ba(te,ie,le){var fe=[Wn(te,0),Wn(te,1)];return fe[le]=typeof ie=="function"?ie(fe[le]):ie,!fe[0]&&!fe[1]?null:fe}function ho(te){return typeof te=="function"?te():te}function Mn(te){var ie=te.cellPrefixCls,le=te.generateConfig,fe=te.rangedValue,ve=te.hoverRangedValue,De=te.isInView,Ae=te.isSameCell,Qe=te.offsetCell,Xe=te.today,gt=te.value;function Yt(mt){var St,bt=Qe(mt,-1),Nt=Qe(mt,1),rt=Wn(fe,0),Et=Wn(fe,1),qt=Wn(ve,0),Dn=Wn(ve,1),cn=Nn(le,qt,Dn,mt);function ln(La){return Ae(rt,La)}function qn(La){return Ae(Et,La)}var an=Ae(qt,mt),sn=Ae(Dn,mt),wa=(cn||sn)&&(!De(bt)||qn(bt)),na=(cn||an)&&(!De(Nt)||ln(Nt));return St={},(0,nt.Z)(St,"".concat(ie,"-in-view"),De(mt)),(0,nt.Z)(St,"".concat(ie,"-in-range"),Nn(le,rt,Et,mt)),(0,nt.Z)(St,"".concat(ie,"-range-start"),ln(mt)),(0,nt.Z)(St,"".concat(ie,"-range-end"),qn(mt)),(0,nt.Z)(St,"".concat(ie,"-range-start-single"),ln(mt)&&!Et),(0,nt.Z)(St,"".concat(ie,"-range-end-single"),qn(mt)&&!rt),(0,nt.Z)(St,"".concat(ie,"-range-start-near-hover"),ln(mt)&&(Ae(bt,qt)||Nn(le,qt,Dn,bt))),(0,nt.Z)(St,"".concat(ie,"-range-end-near-hover"),qn(mt)&&(Ae(Nt,Dn)||Nn(le,qt,Dn,Nt))),(0,nt.Z)(St,"".concat(ie,"-range-hover"),cn),(0,nt.Z)(St,"".concat(ie,"-range-hover-start"),an),(0,nt.Z)(St,"".concat(ie,"-range-hover-end"),sn),(0,nt.Z)(St,"".concat(ie,"-range-hover-edge-start"),wa),(0,nt.Z)(St,"".concat(ie,"-range-hover-edge-end"),na),(0,nt.Z)(St,"".concat(ie,"-range-hover-edge-start-near-range"),wa&&Ae(bt,Et)),(0,nt.Z)(St,"".concat(ie,"-range-hover-edge-end-near-range"),na&&Ae(Nt,rt)),(0,nt.Z)(St,"".concat(ie,"-today"),Ae(Xe,mt)),(0,nt.Z)(St,"".concat(ie,"-selected"),Ae(gt,mt)),St}return Yt}var no=ne.createContext({}),ot=no;function Xt(te,ie,le,fe,ve){var De=te.setHour(ie,le);return De=te.setMinute(De,fe),De=te.setSecond(De,ve),De}function $t(te,ie,le){if(!le)return ie;var fe=ie;return fe=te.setHour(fe,te.getHour(le)),fe=te.setMinute(fe,te.getMinute(le)),fe=te.setSecond(fe,te.getSecond(le)),fe}function Qt(te,ie,le,fe,ve,De){var Ae=Math.floor(te/fe)*fe;if(Ae<te)return[Ae,60-ve,60-De];var Qe=Math.floor(ie/ve)*ve;if(Qe<ie)return[Ae,Qe,60-De];var Xe=Math.floor(le/De)*De;return[Ae,Qe,Xe]}function $n(te,ie){var le=te.getYear(ie),fe=te.getMonth(ie)+1,ve=te.getEndDate(te.getFixedDate("".concat(le,"-").concat(fe,"-01"))),De=te.getDate(ve),Ae=fe<10?"0".concat(fe):"".concat(fe);return"".concat(le,"-").concat(Ae,"-").concat(De)}function Ut(te){for(var ie=te.prefixCls,le=te.disabledDate,fe=te.onSelect,ve=te.picker,De=te.rowNum,Ae=te.colNum,Qe=te.prefixColumn,Xe=te.rowClassName,gt=te.baseDate,Yt=te.getCellClassName,mt=te.getCellText,St=te.getCellNode,bt=te.getCellDate,Nt=te.generateConfig,rt=te.titleCell,Et=te.headerCells,qt=ne.useContext(Ve),Dn=qt.onDateMouseEnter,cn=qt.onDateMouseLeave,ln=qt.mode,qn="".concat(ie,"-cell"),an=[],sn=0;sn<De;sn+=1){for(var wa=[],na=void 0,La=function(){var wr,Vr=sn*Ae+ga,ar=bt(gt,Vr),lr=ut({cellDate:ar,mode:ln,disabledDate:le,generateConfig:Nt});ga===0&&(na=ar,Qe&&wa.push(Qe(na)));var ka=rt&&rt(ar),Yr=ne.createElement("div",{className:"".concat(qn,"-inner")},mt(ar));wa.push(ne.createElement("td",{key:ga,title:ka,className:nn()(qn,(0,kt.Z)((wr={},(0,nt.Z)(wr,"".concat(qn,"-disabled"),lr),(0,nt.Z)(wr,"".concat(qn,"-start"),mt(ar)===1||ve==="year"&&Number(ka)%10===0),(0,nt.Z)(wr,"".concat(qn,"-end"),ka===$n(Nt,ar)||ve==="year"&&Number(ka)%10===9),wr),Yt(ar))),onClick:function(){lr||fe(ar)},onMouseEnter:function(){!lr&&Dn&&Dn(ar)},onMouseLeave:function(){!lr&&cn&&cn(ar)}},St?St(ar,Yr):Yr))},ga=0;ga<Ae;ga+=1)La();an.push(ne.createElement("tr",{key:sn,className:Xe&&Xe(na)},wa))}return ne.createElement("div",{className:"".concat(ie,"-body")},ne.createElement("table",{className:"".concat(ie,"-content")},Et&&ne.createElement("thead",null,ne.createElement("tr",null,Et)),ne.createElement("tbody",null,an)))}function Bn(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.prefixColumn,ve=te.locale,De=te.rowCount,Ae=te.viewDate,Qe=te.value,Xe=te.cellRender,gt=te.isSameCell,Yt=ne.useContext(ot),mt=Yt.rangedValue,St=Yt.hoverRangedValue,bt=Kn(ve.locale,le,Ae),Nt="".concat(ie,"-cell"),rt=le.locale.getWeekFirstDay(ve.locale),Et=le.getNow(),qt=[],Dn=ve.shortWeekDays||(le.locale.getShortWeekDays?le.locale.getShortWeekDays(ve.locale):[]);fe&&qt.push(ne.createElement("th",{key:"empty","aria-label":"empty cell"}));for(var cn=0;cn<Fe;cn+=1)qt.push(ne.createElement("th",{key:cn},Dn[(cn+rt)%Fe]));var ln=Mn({cellPrefixCls:Nt,today:Et,value:Qe,generateConfig:le,rangedValue:fe?null:mt,hoverRangedValue:fe?null:St,isSameCell:gt||function(an,sn){return Hn(le,an,sn)},isInView:function(sn){return Gn(le,sn,Ae)},offsetCell:function(sn,wa){return le.addDate(sn,wa)}}),qn=Xe?function(an,sn){return Xe(an,{originNode:sn,today:Et,type:"date",locale:ve})}:void 0;return ne.createElement(Ut,(0,oe.Z)({},te,{rowNum:De,colNum:Fe,baseDate:bt,getCellNode:qn,getCellText:le.getDate,getCellClassName:ln,getCellDate:le.addDate,titleCell:function(sn){return tn(sn,{locale:ve,format:"YYYY-MM-DD",generateConfig:le})},headerCells:qt}))}var dn=Bn,$a={visibility:"hidden"};function Aa(te){var ie=te.prefixCls,le=te.prevIcon,fe=le===void 0?"\u2039":le,ve=te.nextIcon,De=ve===void 0?"\u203A":ve,Ae=te.superPrevIcon,Qe=Ae===void 0?"\xAB":Ae,Xe=te.superNextIcon,gt=Xe===void 0?"\xBB":Xe,Yt=te.onSuperPrev,mt=te.onSuperNext,St=te.onPrev,bt=te.onNext,Nt=te.children,rt=ne.useContext(Ve),Et=rt.hideNextBtn,qt=rt.hidePrevBtn;return ne.createElement("div",{className:ie},Yt&&ne.createElement("button",{type:"button",onClick:Yt,tabIndex:-1,className:"".concat(ie,"-super-prev-btn"),style:qt?$a:{}},Qe),St&&ne.createElement("button",{type:"button",onClick:St,tabIndex:-1,className:"".concat(ie,"-prev-btn"),style:qt?$a:{}},fe),ne.createElement("div",{className:"".concat(ie,"-view")},Nt),bt&&ne.createElement("button",{type:"button",onClick:bt,tabIndex:-1,className:"".concat(ie,"-next-btn"),style:Et?$a:{}},De),mt&&ne.createElement("button",{type:"button",onClick:mt,tabIndex:-1,className:"".concat(ie,"-super-next-btn"),style:Et?$a:{}},gt))}var cr=Aa;function zr(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.locale,ve=te.viewDate,De=te.onNextMonth,Ae=te.onPrevMonth,Qe=te.onNextYear,Xe=te.onPrevYear,gt=te.onYearClick,Yt=te.onMonthClick,mt=ne.useContext(Ve),St=mt.hideHeader;if(St)return null;var bt="".concat(ie,"-header"),Nt=fe.shortMonths||(le.locale.getShortMonths?le.locale.getShortMonths(fe.locale):[]),rt=le.getMonth(ve),Et=ne.createElement("button",{type:"button",key:"year",onClick:gt,tabIndex:-1,className:"".concat(ie,"-year-btn")},tn(ve,{locale:fe,format:fe.yearFormat,generateConfig:le})),qt=ne.createElement("button",{type:"button",key:"month",onClick:Yt,tabIndex:-1,className:"".concat(ie,"-month-btn")},fe.monthFormat?tn(ve,{locale:fe,format:fe.monthFormat,generateConfig:le}):Nt[rt]),Dn=fe.monthBeforeYear?[qt,Et]:[Et,qt];return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:bt,onSuperPrev:Xe,onPrev:Ae,onNext:De,onSuperNext:Qe}),Dn)}var co=zr,gn=6;function Mi(te){var ie=te.prefixCls,le=te.panelName,fe=le===void 0?"date":le,ve=te.keyboardConfig,De=te.active,Ae=te.operationRef,Qe=te.generateConfig,Xe=te.value,gt=te.viewDate,Yt=te.onViewDateChange,mt=te.onPanelChange,St=te.onSelect,bt="".concat(ie,"-").concat(fe,"-panel");Ae.current={onKeyDown:function(qt){return Ka(qt,(0,kt.Z)({onLeftRight:function(cn){St(Qe.addDate(Xe||gt,cn),"key")},onCtrlLeftRight:function(cn){St(Qe.addYear(Xe||gt,cn),"key")},onUpDown:function(cn){St(Qe.addDate(Xe||gt,cn*Fe),"key")},onPageUpDown:function(cn){St(Qe.addMonth(Xe||gt,cn),"key")}},ve))}};var Nt=function(qt){var Dn=Qe.addYear(gt,qt);Yt(Dn),mt(null,Dn)},rt=function(qt){var Dn=Qe.addMonth(gt,qt);Yt(Dn),mt(null,Dn)};return ne.createElement("div",{className:nn()(bt,(0,nt.Z)({},"".concat(bt,"-active"),De))},ne.createElement(co,(0,oe.Z)({},te,{prefixCls:ie,value:Xe,viewDate:gt,onPrevYear:function(){Nt(-1)},onNextYear:function(){Nt(1)},onPrevMonth:function(){rt(-1)},onNextMonth:function(){rt(1)},onMonthClick:function(){mt("month",gt)},onYearClick:function(){mt("year",gt)}})),ne.createElement(dn,(0,oe.Z)({},te,{onSelect:function(qt){return St(qt,"mouse")},prefixCls:ie,value:Xe,viewDate:gt,rowCount:gn})))}var ei=Mi;function qr(te){var ie=ne.useContext(Ve),le=ie.hideHeader;if(le)return null;var fe=te.prefixCls,ve=te.generateConfig,De=te.locale,Ae=te.value,Qe=te.format,Xe="".concat(fe,"-header");return ne.createElement(cr,{prefixCls:Xe},Ae?tn(Ae,{locale:De,format:Qe,generateConfig:ve}):"\xA0")}var Yo=qr;function On(te){var ie=te.value,le=te.generateConfig,fe=te.disabledMinutes,ve=te.disabledSeconds,De=te.minutes,Ae=te.seconds,Qe=te.use12Hours,Xe=function(Yt,mt,St,bt){var Nt=le.getNow(),rt=ie||Nt,Et=mt<0?le.getHour(Nt):mt,qt=St<0?le.getMinute(Nt):St,Dn=bt<0?le.getSecond(Nt):bt,cn=fe&&fe(Et);if(cn!=null&&cn.includes(qt)){var ln=De.find(function(sn){return!cn.includes(sn.value)});if(ln)qt=ln.value;else return null}var qn=ve&&ve(Et,qt);if(qn!=null&&qn.includes(Dn)){var an=Ae.find(function(sn){return!qn.includes(sn.value)});if(an)Dn=an.value;else return null}return rt=Xt(le,rt,!Qe||!Yt?Et:Et+12,qt,Dn),rt};return Xe}function ma(te){var ie=te.prefixCls,le=te.units,fe=te.onSelect,ve=te.value,De=te.active,Ae=te.hideDisabledOptions,Qe=te.info,Xe=te.type,gt="".concat(ie,"-cell"),Yt=ne.useContext(Ve),mt=Yt.open,St=(0,ne.useRef)(null),bt=(0,ne.useRef)(new Map),Nt=(0,ne.useRef)();return(0,ne.useLayoutEffect)(function(){var rt=bt.current.get(ve);rt&&mt!==!1&&ra(St.current,rt.offsetTop,120)},[ve]),(0,ne.useLayoutEffect)(function(){if(mt){var rt=bt.current.get(ve);rt&&(Nt.current=Ga(rt,function(){ra(St.current,rt.offsetTop,0)}))}return function(){var Et;(Et=Nt.current)===null||Et===void 0||Et.call(Nt)}},[mt]),ne.createElement("ul",{className:nn()("".concat(ie,"-column"),(0,nt.Z)({},"".concat(ie,"-column-active"),De)),ref:St,style:{position:"relative"}},le.map(function(rt){var Et;return Ae&&rt.disabled?null:ne.createElement("li",{key:rt.value,ref:function(Dn){bt.current.set(rt.value,Dn)},className:nn()(gt,(Et={},(0,nt.Z)(Et,"".concat(gt,"-disabled"),rt.disabled),(0,nt.Z)(Et,"".concat(gt,"-selected"),ve===rt.value),Et)),onClick:function(){rt.disabled||fe(rt.value)}},Qe.cellRender?Qe.cellRender(rt.value,{today:Qe.today,locale:Qe.locale,originNode:ne.createElement("div",{className:"".concat(gt,"-inner")},rt.label),type:"time",subType:Xe}):ne.createElement("div",{className:"".concat(gt,"-inner")},rt.label))}))}var Va=ma;function Un(te,ie){if(te.length!==ie.length)return!0;for(var le=0;le<te.length;le+=1)if(te[le].disabled!==ie[le].disabled)return!0;return!1}function Wr(te,ie,le,fe){for(var ve=[],De=le>=1?le|0:1,Ae=te;Ae<=ie;Ae+=De)ve.push({label:Jn(Ae,2),value:Ae,disabled:(fe||[]).includes(Ae)});return ve}function _r(te){var ie=te.generateConfig,le=te.prefixCls,fe=te.operationRef,ve=te.activeColumnIndex,De=te.value,Ae=te.showHour,Qe=te.showMinute,Xe=te.showSecond,gt=te.use12Hours,Yt=te.hourStep,mt=Yt===void 0?1:Yt,St=te.minuteStep,bt=St===void 0?1:St,Nt=te.secondStep,rt=Nt===void 0?1:Nt,Et=te.disabledHours,qt=te.disabledMinutes,Dn=te.disabledSeconds,cn=te.disabledTime,ln=te.hideDisabledOptions,qn=te.onSelect,an=te.cellRender,sn=te.locale,wa=[],na="".concat(le,"-content"),La="".concat(le,"-time-panel"),ga,nr=De?ie.getHour(De):-1,wr=nr,Vr=De?ie.getMinute(De):-1,ar=De?ie.getSecond(De):-1,lr=ie.getNow(),ka=ne.useMemo(function(){if(cn){var Cr=cn(lr);return[Cr.disabledHours,Cr.disabledMinutes,Cr.disabledSeconds]}return[Et,qt,Dn]},[Et,qt,Dn,cn,lr]),Yr=(0,Ce.Z)(ka,3),Sr=Yr[0],Lr=Yr[1],Bo=Yr[2],To=Wr(0,23,mt,Sr&&Sr()),Uo=(0,ba.Z)(function(){return To},To,Un);gt&&(ga=wr>=12,wr%=12);var Pi=ne.useMemo(function(){if(!gt)return[!1,!1];var Cr=[!0,!0];return Uo.forEach(function(Zo){var bo=Zo.disabled,Qr=Zo.value;bo||(Qr>=12?Cr[1]=!1:Cr[0]=!1)}),Cr},[gt,Uo]),No=(0,Ce.Z)(Pi,2),ci=No[0],io=No[1],vo=ne.useMemo(function(){return gt?Uo.filter(ga?function(Cr){return Cr.value>=12}:function(Cr){return Cr.value<12}).map(function(Cr){var Zo=Cr.value%12,bo=Zo===0?"12":Jn(Zo,2);return(0,kt.Z)((0,kt.Z)({},Cr),{},{label:bo,value:Zo})}):Uo},[gt,ga,Uo]),Fo=Wr(0,59,bt,Lr&&Lr(nr)),ui=Wr(0,59,rt,Bo&&Bo(nr,Vr)),mi=On({value:De,generateConfig:ie,disabledMinutes:Lr,disabledSeconds:Bo,minutes:Fo,seconds:ui,use12Hours:gt});fe.current={onUpDown:function(Zo){var bo=wa[ve];if(bo)for(var Qr=bo.units.findIndex(function(Ji){return Ji.value===bo.value}),_a=bo.units.length,ao=1;ao<_a;ao+=1){var Ko=bo.units[(Qr+Zo*ao+_a)%_a];if(Ko.disabled!==!0){bo.onSelect(Ko.value);break}}}};function Ki(Cr,Zo,bo,Qr,_a){Cr!==!1&&wa.push({node:ne.cloneElement(Zo,{prefixCls:La,value:bo,active:ve===wa.length,onSelect:_a,units:Qr,hideDisabledOptions:ln}),onSelect:_a,value:bo,units:Qr})}Ki(Ae,ne.createElement(Va,{key:"hour",type:"hour",info:{today:lr,locale:sn,cellRender:an}}),wr,vo,function(Cr){qn(mi(ga,Cr,Vr,ar),"mouse")}),Ki(Qe,ne.createElement(Va,{key:"minute",type:"minute",info:{today:lr,locale:sn,cellRender:an}}),Vr,Fo,function(Cr){qn(mi(ga,wr,Cr,ar),"mouse")}),Ki(Xe,ne.createElement(Va,{key:"second",type:"second",info:{today:lr,locale:sn,cellRender:an}}),ar,ui,function(Cr){qn(mi(ga,wr,Vr,Cr),"mouse")});var vi=-1;return typeof ga=="boolean"&&(vi=ga?1:0),Ki(gt===!0,ne.createElement(Va,{key:"meridiem",type:"meridiem",info:{today:lr,locale:sn,cellRender:an}}),vi,[{label:"AM",value:0,disabled:ci},{label:"PM",value:1,disabled:io}],function(Cr){qn(mi(!!Cr,wr,Vr,ar),"mouse")}),ne.createElement("div",{className:na},wa.map(function(Cr){var Zo=Cr.node;return Zo}))}var ti=_r,ni=function(ie){return ie.filter(function(le){return le!==!1}).length};function ai(te){var ie=te.generateConfig,le=te.format,fe=le===void 0?"HH:mm:ss":le,ve=te.prefixCls,De=te.active,Ae=te.operationRef,Qe=te.showHour,Xe=te.showMinute,gt=te.showSecond,Yt=te.use12Hours,mt=Yt===void 0?!1:Yt,St=te.onSelect,bt=te.value,Nt="".concat(ve,"-time-panel"),rt=ne.useRef(),Et=ne.useState(-1),qt=(0,Ce.Z)(Et,2),Dn=qt[0],cn=qt[1],ln=ni([Qe,Xe,gt,mt]);return Ae.current={onKeyDown:function(an){return Ka(an,{onLeftRight:function(wa){cn((Dn+wa+ln)%ln)},onUpDown:function(wa){Dn===-1?cn(0):rt.current&&rt.current.onUpDown(wa)},onEnter:function(){St(bt||ie.getNow(),"key"),cn(-1)}})},onBlur:function(){cn(-1)}},ne.createElement("div",{className:nn()(Nt,(0,nt.Z)({},"".concat(Nt,"-active"),De))},ne.createElement(Yo,(0,oe.Z)({},te,{format:fe,prefixCls:ve})),ne.createElement(ti,(0,oe.Z)({},te,{prefixCls:ve,activeColumnIndex:Dn,operationRef:rt})))}var bl=ai,yi=ja("date","time");function jl(te){var ie=te.prefixCls,le=te.operationRef,fe=te.generateConfig,ve=te.value,De=te.defaultValue,Ae=te.disabledTime,Qe=te.showTime,Xe=te.onSelect,gt=te.cellRender,Yt="".concat(ie,"-datetime-panel"),mt=ne.useState(null),St=(0,Ce.Z)(mt,2),bt=St[0],Nt=St[1],rt=ne.useRef({}),Et=ne.useRef({}),qt=(0,jt.Z)(Qe)==="object"?(0,kt.Z)({},Qe):{};function Dn(an){var sn=yi.indexOf(bt)+an,wa=yi[sn]||null;return wa}var cn=function(sn){Et.current.onBlur&&Et.current.onBlur(sn),Nt(null)};le.current={onKeyDown:function(sn){if(sn.which===Ot.Z.TAB){var wa=Dn(sn.shiftKey?-1:1);return Nt(wa),wa&&sn.preventDefault(),!0}if(bt){var na=bt==="date"?rt:Et;return na.current&&na.current.onKeyDown&&na.current.onKeyDown(sn),!0}return[Ot.Z.LEFT,Ot.Z.RIGHT,Ot.Z.UP,Ot.Z.DOWN].includes(sn.which)?(Nt("date"),!0):!1},onBlur:cn,onClose:cn};var ln=function(sn,wa){var na=sn;wa==="date"&&!ve&&qt.defaultValue?(na=fe.setHour(na,fe.getHour(qt.defaultValue)),na=fe.setMinute(na,fe.getMinute(qt.defaultValue)),na=fe.setSecond(na,fe.getSecond(qt.defaultValue))):wa==="time"&&!ve&&De&&(na=fe.setYear(na,fe.getYear(De)),na=fe.setMonth(na,fe.getMonth(De)),na=fe.setDate(na,fe.getDate(De))),Xe&&Xe(na,"mouse")},qn=Ae?Ae(ve||null):{};return ne.createElement("div",{className:nn()(Yt,(0,nt.Z)({},"".concat(Yt,"-active"),bt))},ne.createElement(ei,(0,oe.Z)({},te,{cellRender:gt,operationRef:rt,active:bt==="date",onSelect:function(sn){ln($t(fe,sn,!ve&&(0,jt.Z)(Qe)==="object"?Qe.defaultValue:null),"date")}})),ne.createElement(bl,(0,oe.Z)({},te,{cellRender:gt?function(an,sn){return gt(an,(0,kt.Z)((0,kt.Z)({},sn),{},{type:"time"}))}:void 0,format:void 0},qt,qn,{disabledTime:null,defaultValue:void 0,operationRef:Et,active:bt==="time",onSelect:function(sn){ln(sn,"time")}})))}var $l=jl;function wi(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.viewDate,ve=te.onPrevDecades,De=te.onNextDecades,Ae=ne.useContext(Ve),Qe=Ae.hideHeader;if(Qe)return null;var Xe="".concat(ie,"-header"),gt=le.getYear(fe),Yt=Math.floor(gt/Ge)*Ge,mt=Yt+Ge-1;return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:Xe,onSuperPrev:ve,onSuperNext:De}),Yt,"-",mt)}var Xo=wi,hl=3,Cl=4;function Fl(te){var ie=Rt-1,le=te.prefixCls,fe=te.viewDate,ve=te.generateConfig,De=te.cellRender,Ae=te.locale,Qe="".concat(le,"-cell"),Xe=ve.getYear(fe),gt=Math.floor(Xe/Rt)*Rt,Yt=Math.floor(Xe/Ge)*Ge,mt=Yt+Ge-1,St=ve.setYear(fe,Yt-Math.ceil((hl*Cl*Rt-Ge)/2)),bt=function(Et){var qt,Dn=ve.getYear(Et),cn=Dn+ie;return qt={},(0,nt.Z)(qt,"".concat(Qe,"-in-view"),Yt<=Dn&&cn<=mt),(0,nt.Z)(qt,"".concat(Qe,"-selected"),Dn===gt),qt},Nt=De?function(rt,Et){return De(rt,{originNode:Et,today:ve.getNow(),type:"decade",locale:Ae})}:void 0;return ne.createElement(Ut,(0,oe.Z)({},te,{rowNum:Cl,colNum:hl,baseDate:St,getCellNode:Nt,getCellText:function(Et){var qt=ve.getYear(Et);return"".concat(qt,"-").concat(qt+ie)},getCellClassName:bt,getCellDate:function(Et,qt){return ve.addYear(Et,qt*Rt)}}))}var tl=Fl;function ki(te){var ie=te.prefixCls,le=te.onViewDateChange,fe=te.generateConfig,ve=te.viewDate,De=te.operationRef,Ae=te.onSelect,Qe=te.onPanelChange,Xe="".concat(ie,"-decade-panel");De.current={onKeyDown:function(St){return Ka(St,{onLeftRight:function(Nt){Ae(fe.addYear(ve,Nt*Rt),"key")},onCtrlLeftRight:function(Nt){Ae(fe.addYear(ve,Nt*Ge),"key")},onUpDown:function(Nt){Ae(fe.addYear(ve,Nt*Rt*hl),"key")},onEnter:function(){Qe("year",ve)}})}};var gt=function(St){var bt=fe.addYear(ve,St*Ge);le(bt),Qe(null,bt)},Yt=function(St){Ae(St,"mouse"),Qe("year",St)};return ne.createElement("div",{className:Xe},ne.createElement(Xo,(0,oe.Z)({},te,{prefixCls:ie,onPrevDecades:function(){gt(-1)},onNextDecades:function(){gt(1)}})),ne.createElement(tl,(0,oe.Z)({},te,{prefixCls:ie,onSelect:Yt})))}var pl=ki;function kr(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.locale,ve=te.viewDate,De=te.onNextYear,Ae=te.onPrevYear,Qe=te.onYearClick,Xe=ne.useContext(Ve),gt=Xe.hideHeader;if(gt)return null;var Yt="".concat(ie,"-header");return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:Yt,onSuperPrev:Ae,onSuperNext:De}),ne.createElement("button",{type:"button",onClick:Qe,className:"".concat(ie,"-year-btn")},tn(ve,{locale:fe,format:fe.yearFormat,generateConfig:le})))}var vt=kr,At=3,Jt=4;function Ne(te){var ie=te.prefixCls,le=te.locale,fe=te.value,ve=te.viewDate,De=te.generateConfig,Ae=te.cellRender,Qe=ne.useContext(ot),Xe=Qe.rangedValue,gt=Qe.hoverRangedValue,Yt="".concat(ie,"-cell"),mt=Mn({cellPrefixCls:Yt,value:fe,generateConfig:De,rangedValue:Xe,hoverRangedValue:gt,isSameCell:function(Et,qt){return Gn(De,Et,qt)},isInView:function(){return!0},offsetCell:function(Et,qt){return De.addMonth(Et,qt)}}),St=le.shortMonths||(De.locale.getShortMonths?De.locale.getShortMonths(le.locale):[]),bt=De.setMonth(ve,0),Nt=Ae?function(rt,Et){return Ae(rt,{originNode:Et,locale:le,today:De.getNow(),type:"month"})}:void 0;return ne.createElement(Ut,(0,oe.Z)({},te,{rowNum:Jt,colNum:At,baseDate:bt,getCellNode:Nt,getCellText:function(Et){return le.monthFormat?tn(Et,{locale:le,format:le.monthFormat,generateConfig:De}):St[De.getMonth(Et)]},getCellClassName:mt,getCellDate:De.addMonth,titleCell:function(Et){return tn(Et,{locale:le,format:"YYYY-MM",generateConfig:De})}}))}var Vt=Ne;function An(te){var ie=te.prefixCls,le=te.operationRef,fe=te.onViewDateChange,ve=te.generateConfig,De=te.value,Ae=te.viewDate,Qe=te.onPanelChange,Xe=te.onSelect,gt="".concat(ie,"-month-panel");le.current={onKeyDown:function(St){return Ka(St,{onLeftRight:function(Nt){Xe(ve.addMonth(De||Ae,Nt),"key")},onCtrlLeftRight:function(Nt){Xe(ve.addYear(De||Ae,Nt),"key")},onUpDown:function(Nt){Xe(ve.addMonth(De||Ae,Nt*At),"key")},onEnter:function(){Qe("date",De||Ae)}})}};var Yt=function(St){var bt=ve.addYear(Ae,St);fe(bt),Qe(null,bt)};return ne.createElement("div",{className:gt},ne.createElement(vt,(0,oe.Z)({},te,{prefixCls:ie,onPrevYear:function(){Yt(-1)},onNextYear:function(){Yt(1)},onYearClick:function(){Qe("year",Ae)}})),ne.createElement(Vt,(0,oe.Z)({},te,{prefixCls:ie,onSelect:function(St){Xe(St,"mouse"),Qe("date",St)}})))}var wn=An;function Pt(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.locale,ve=te.viewDate,De=te.onNextYear,Ae=te.onPrevYear,Qe=te.onYearClick,Xe=ne.useContext(Ve),gt=Xe.hideHeader;if(gt)return null;var Yt="".concat(ie,"-header");return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:Yt,onSuperPrev:Ae,onSuperNext:De}),ne.createElement("button",{type:"button",onClick:Qe,className:"".concat(ie,"-year-btn")},tn(ve,{locale:fe,format:fe.yearFormat,generateConfig:le})))}var Kt=Pt,It=4,kn=1;function sa(te){var ie=te.prefixCls,le=te.locale,fe=te.value,ve=te.viewDate,De=te.generateConfig,Ae=te.cellRender,Qe=ne.useContext(ot),Xe=Qe.rangedValue,gt=Qe.hoverRangedValue,Yt="".concat(ie,"-cell"),mt=Mn({cellPrefixCls:Yt,value:fe,generateConfig:De,rangedValue:Xe,hoverRangedValue:gt,isSameCell:function(rt,Et){return Qn(De,rt,Et)},isInView:function(){return!0},offsetCell:function(rt,Et){return De.addMonth(rt,Et*3)}}),St=De.setDate(De.setMonth(ve,0),1),bt=Ae?function(Nt,rt){return Ae(Nt,{originNode:rt,locale:le,today:De.getNow(),type:"quarter"})}:void 0;return ne.createElement(Ut,(0,oe.Z)({},te,{rowNum:kn,colNum:It,baseDate:St,getCellNode:bt,getCellText:function(rt){return tn(rt,{locale:le,format:le.quarterFormat||"[Q]Q",generateConfig:De})},getCellClassName:mt,getCellDate:function(rt,Et){return De.addMonth(rt,Et*3)},titleCell:function(rt){return tn(rt,{locale:le,format:"YYYY-[Q]Q",generateConfig:De})}}))}var xa=sa;function ha(te){var ie=te.prefixCls,le=te.operationRef,fe=te.onViewDateChange,ve=te.generateConfig,De=te.value,Ae=te.viewDate,Qe=te.onPanelChange,Xe=te.onSelect,gt="".concat(ie,"-quarter-panel");le.current={onKeyDown:function(St){return Ka(St,{onLeftRight:function(Nt){Xe(ve.addMonth(De||Ae,Nt*3),"key")},onCtrlLeftRight:function(Nt){Xe(ve.addYear(De||Ae,Nt),"key")},onUpDown:function(Nt){Xe(ve.addYear(De||Ae,Nt),"key")}})}};var Yt=function(St){var bt=ve.addYear(Ae,St);fe(bt),Qe(null,bt)};return ne.createElement("div",{className:gt},ne.createElement(Kt,(0,oe.Z)({},te,{prefixCls:ie,onPrevYear:function(){Yt(-1)},onNextYear:function(){Yt(1)},onYearClick:function(){Qe("year",Ae)}})),ne.createElement(xa,(0,oe.Z)({},te,{prefixCls:ie,onSelect:function(St){Xe(St,"mouse")}})))}var Ia=ha;function rr(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.locale,ve=te.value,De=te.disabledDate,Ae=te.onSelect,Qe=ne.useContext(ot),Xe=Qe.rangedValue,gt=Qe.hoverRangedValue,Yt=ne.useContext(Ve),mt=Yt.onDateMouseEnter,St=Yt.onDateMouseLeave,bt=(gt==null?void 0:gt[0])||(Xe==null?void 0:Xe[0]),Nt=(gt==null?void 0:gt[1])||(Xe==null?void 0:Xe[1]),rt="".concat(ie,"-cell"),Et=function(ln){var qn=ut({cellDate:ln,mode:"week",disabledDate:De,generateConfig:le});return ne.createElement("td",{key:"week",className:nn()(rt,"".concat(rt,"-week")),onClick:function(){qn||Ae(ln,"mouse")},onMouseEnter:function(){!qn&&mt&&mt(ln)},onMouseLeave:function(){!qn&&St&&St(ln)}},ne.createElement("div",{className:"".concat(rt,"-inner")},le.locale.getWeek(fe.locale,ln)))},qt="".concat(ie,"-week-panel-row"),Dn=function(ln){var qn,an=Ee(le,fe.locale,bt,ln),sn=Ee(le,fe.locale,Nt,ln);return nn()(qt,(qn={},(0,nt.Z)(qn,"".concat(qt,"-selected"),!Xe&&Ee(le,fe.locale,ve,ln)),(0,nt.Z)(qn,"".concat(qt,"-range-start"),an),(0,nt.Z)(qn,"".concat(qt,"-range-end"),sn),(0,nt.Z)(qn,"".concat(qt,"-range-hover"),!an&&!sn&&Nn(le,bt,Nt,ln)),qn))};return ne.createElement(ei,(0,oe.Z)({},te,{panelName:"week",prefixColumn:Et,rowClassName:Dn,keyboardConfig:{onLeftRight:null},isSameCell:function(){return!1}}))}var xn=rr,Dt=10;function pn(te){var ie=te.prefixCls,le=te.generateConfig,fe=te.viewDate,ve=te.onPrevDecade,De=te.onNextDecade,Ae=te.onDecadeClick,Qe=ne.useContext(Ve),Xe=Qe.hideHeader;if(Xe)return null;var gt="".concat(ie,"-header"),Yt=le.getYear(fe),mt=Math.floor(Yt/Dt)*Dt,St=mt+Dt-1;return ne.createElement(cr,(0,oe.Z)({},te,{prefixCls:gt,onSuperPrev:ve,onSuperNext:De}),ne.createElement("button",{type:"button",onClick:Ae,className:"".concat(ie,"-decade-btn")},mt,"-",St))}var Cn=pn,oa=3,Fa=4;function Xa(te){var ie=te.prefixCls,le=te.value,fe=te.viewDate,ve=te.locale,De=te.generateConfig,Ae=te.cellRender,Qe=ne.useContext(ot),Xe=Qe.rangedValue,gt=Qe.hoverRangedValue,Yt="".concat(ie,"-cell"),mt=De.getYear(fe),St=Math.floor(mt/Dt)*Dt,bt=St+Dt-1,Nt=De.setYear(fe,St-Math.ceil((oa*Fa-Dt)/2)),rt=De.getNow(),Et=function(ln){var qn=De.getYear(ln);return St<=qn&&qn<=bt},qt=Mn({cellPrefixCls:Yt,value:le,generateConfig:De,rangedValue:Xe,hoverRangedValue:gt,isSameCell:function(ln,qn){return _t(De,ln,qn)},isInView:Et,offsetCell:function(ln,qn){return De.addYear(ln,qn)}}),Dn=Ae?function(cn,ln){return Ae(cn,{originNode:ln,today:rt,type:"year",locale:ve})}:void 0;return ne.createElement(Ut,(0,oe.Z)({},te,{rowNum:Fa,colNum:oa,baseDate:Nt,getCellNode:Dn,getCellText:De.getYear,getCellClassName:qt,getCellDate:De.addYear,titleCell:function(ln){return tn(ln,{locale:ve,format:"YYYY",generateConfig:De})}}))}var yr=Xa;function sr(te){var ie=te.prefixCls,le=te.operationRef,fe=te.onViewDateChange,ve=te.generateConfig,De=te.value,Ae=te.viewDate,Qe=te.sourceMode,Xe=te.onSelect,gt=te.onPanelChange,Yt="".concat(ie,"-year-panel");le.current={onKeyDown:function(bt){return Ka(bt,{onLeftRight:function(rt){Xe(ve.addYear(De||Ae,rt),"key")},onCtrlLeftRight:function(rt){Xe(ve.addYear(De||Ae,rt*Dt),"key")},onUpDown:function(rt){Xe(ve.addYear(De||Ae,rt*oa),"key")},onEnter:function(){gt(Qe==="date"?"date":"month",De||Ae)}})}};var mt=function(bt){var Nt=ve.addYear(Ae,bt*10);fe(Nt),gt(null,Nt)};return ne.createElement("div",{className:Yt},ne.createElement(Cn,(0,oe.Z)({},te,{prefixCls:ie,onPrevDecade:function(){mt(-1)},onNextDecade:function(){mt(1)},onDecadeClick:function(){gt("decade",Ae)}})),ne.createElement(yr,(0,oe.Z)({},te,{prefixCls:ie,onSelect:function(bt){gt(Qe==="date"?"date":"month",bt),Xe(bt,"mouse")}})))}var _n=sr;function Pa(te,ie,le){return le?ne.createElement("div",{className:"".concat(te,"-footer-extra")},le(ie)):null}function pa(te){var ie=te.prefixCls,le=te.components,fe=le===void 0?{}:le,ve=te.needConfirmButton,De=te.onNow,Ae=te.onOk,Qe=te.okDisabled,Xe=te.showNow,gt=te.locale,Yt,mt;if(ve){var St=fe.button||"button";De&&Xe!==!1&&(Yt=ne.createElement("li",{className:"".concat(ie,"-now")},ne.createElement("a",{className:"".concat(ie,"-now-btn"),onClick:De},gt.now))),mt=ve&&ne.createElement("li",{className:"".concat(ie,"-ok")},ne.createElement(St,{disabled:Qe,onClick:Ae},gt.ok))}return!Yt&&!mt?null:ne.createElement("ul",{className:"".concat(ie,"-ranges")},Yt,mt)}var Za=["date","month"];function dr(te){var ie,le=te,fe=le.prefixCls,ve=fe===void 0?"rc-picker":fe,De=le.className,Ae=le.style,Qe=le.locale,Xe=le.generateConfig,gt=le.value,Yt=le.defaultValue,mt=le.pickerValue,St=le.defaultPickerValue,bt=le.disabledDate,Nt=le.mode,rt=le.picker,Et=rt===void 0?"date":rt,qt=le.tabIndex,Dn=qt===void 0?0:qt,cn=le.showNow,ln=le.showTime,qn=le.showToday,an=le.renderExtraFooter,sn=le.hideHeader,wa=le.onSelect,na=le.onChange,La=le.onPanelChange,ga=le.onMouseDown,nr=le.onPickerValueChange,wr=le.onOk,Vr=le.components,ar=le.direction,lr=le.hourStep,ka=lr===void 0?1:lr,Yr=le.minuteStep,Sr=Yr===void 0?1:Yr,Lr=le.secondStep,Bo=Lr===void 0?1:Lr,To=le.dateRender,Uo=le.monthCellRender,Pi=le.cellRender,No=Et==="date"&&!!ln||Et==="time",ci=24%ka===0,io=60%Sr===0,vo=60%Bo===0,Fo=ne.useContext(Ve),ui=Fo.operationRef,mi=Fo.onSelect,Ki=Fo.hideRanges,vi=Fo.defaultOpenValue,Cr=ne.useContext(ot),Zo=Cr.inRange,bo=Cr.panelPosition,Qr=Cr.rangedValue,_a=Cr.hoverRangedValue,ao=ne.useRef({}),Ko=ne.useRef(!0),Ji=(0,hn.Z)(null,{value:gt,defaultValue:Yt,postState:function(Ta){return!Ta&&vi&&Et==="time"?vi:Ta}}),fl=(0,Ce.Z)(Ji,2),zi=fl[0],as=fl[1],ys=(0,hn.Z)(null,{value:mt,defaultValue:St||zi,postState:function(Ta){var oo=Xe.getNow();if(!Ta)return oo;if(!zi&&ln){var ii=(0,jt.Z)(ln)==="object"?ln.defaultValue:Yt;return $t(Xe,Array.isArray(Ta)?Ta[0]:Ta,ii||oo)}return Array.isArray(Ta)?Ta[0]:Ta}}),sl=(0,Ce.Z)(ys,2),Xi=sl[0],ji=sl[1],xr=function(Ta){ji(Ta),nr&&nr(Ta)},Ro=function(Ta){var oo=En[Et];return oo?oo(Ta):Ta},oi=(0,hn.Z)(function(){return Et==="time"?"time":Ro("date")},{value:Nt}),$i=(0,Ce.Z)(oi,2),Vo=$i[0],qi=$i[1];ne.useEffect(function(){qi(Et)},[Et]);var Ri=ne.useState(function(){return Vo}),dl=(0,Ce.Z)(Ri,2),ml=dl[0],Hi=dl[1],_i=function(Ta,oo){var ii=Ro(Ta||Vo);Hi(Vo),qi(ii),La&&(Vo!==ii||Ke(Xe,Xi,Xi))&&La(oo,ii)},Wi=function(Ta,oo){var ii=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(Vo===Et||ii)&&(as(Ta),wa&&wa(Ta),mi&&mi(Ta,oo),na&&!Ke(Xe,Ta,zi)&&!(bt!=null&&bt(Ta))&&na(Ta))},vl=function(Ta){if(Za.includes(Vo)){var oo,ii,Ll=Vo==="date";switch(Ta===Ot.Z.PAGE_UP||Ta===Ot.Z.PAGE_DOWN?ii=Ll?Xe.addMonth:Xe.addYear:ii=Ll?Xe.addDate:Xe.addMonth,Ta){case Ot.Z.LEFT:case Ot.Z.PAGE_UP:oo=ii(Xi,-1);break;case Ot.Z.RIGHT:case Ot.Z.PAGE_DOWN:oo=ii(Xi,1);break;case Ot.Z.UP:case Ot.Z.DOWN:oo=ii(Xi,Number("".concat(Ta===Ot.Z.UP?"-":"").concat(Ll?Fe:At)));break}if(oo)return!(bt!=null&&bt(oo))}return!0},Hl=function(Ta){if(ao.current&&ao.current.onKeyDown){var oo=!0,ii=Ta.which;if([Ot.Z.LEFT,Ot.Z.RIGHT,Ot.Z.UP,Ot.Z.DOWN,Ot.Z.PAGE_UP,Ot.Z.PAGE_DOWN,Ot.Z.ENTER].includes(ii)&&(Ta.preventDefault(),ii!==Ot.Z.ENTER&&Dn===0&&(oo=vl(ii))),oo)return ao.current.onKeyDown(Ta)}return(0,Ie.ZP)(!1,"Panel not correct handle keyDown event. Please help to fire issue about this."),!1},Co=function(Ta){ao.current&&ao.current.onBlur&&ao.current.onBlur(Ta)};ui&&bo!=="right"&&(ui.current={onKeyDown:Hl,onClose:function(){ao.current&&ao.current.onClose&&ao.current.onClose()}}),ne.useEffect(function(){gt&&!Ko.current&&ji(gt)},[gt]),ne.useEffect(function(){Ko.current=!1},[]);var so,yl=bn({cellRender:Pi,monthCellRender:Uo,dateRender:To}),Do=(0,kt.Z)((0,kt.Z)({},te),{},{cellRender:yl,operationRef:ao,prefixCls:ve,viewDate:Xi,value:zi,onViewDateChange:xr,sourceMode:ml,onPanelChange:_i,disabledDate:bt});switch(delete Do.onChange,delete Do.onSelect,Vo){case"decade":so=ne.createElement(pl,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"year":so=ne.createElement(_n,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"month":so=ne.createElement(wn,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"quarter":so=ne.createElement(Ia,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"week":so=ne.createElement(xn,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;case"time":delete Do.showTime,so=ne.createElement(bl,(0,oe.Z)({},Do,(0,jt.Z)(ln)==="object"?ln:null,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}));break;default:ln?so=ne.createElement($l,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}})):so=ne.createElement(ei,(0,oe.Z)({},Do,{onSelect:function(Ta,oo){xr(Ta),Wi(Ta,oo)}}))}var rs,Gl,Kl=function(){var Ta=Xe.getNow(),oo=Qt(Xe.getHour(Ta),Xe.getMinute(Ta),Xe.getSecond(Ta),ci?ka:1,io?Sr:1,vo?Bo:1),ii=Xt(Xe,Ta,oo[0],oo[1],oo[2]);Wi(ii,"submit")};Ki||(rs=Pa(ve,Vo,an),ln&&Vo!=="date"?Gl=null:Gl=pa({prefixCls:ve,components:Vr,needConfirmButton:No,okDisabled:!zi||bt&&bt(zi),locale:Qe,showNow:cn,onNow:No&&Kl,onOk:function(){zi&&(Wi(zi,"submit",!0),wr&&wr(zi))}}));var wl;if(qn&&Vo==="date"&&Et==="date"&&!ln){var os=Xe.getNow(),qs="".concat(ve,"-today-btn"),bs=bt&&bt(os);wl=ne.createElement("a",{className:nn()(qs,bs&&"".concat(qs,"-disabled")),"aria-disabled":bs,onClick:function(){bs||Wi(os,"mouse",!0)}},Qe.today)}return ne.createElement(Ve.Provider,{value:(0,kt.Z)((0,kt.Z)({},Fo),{},{mode:Vo,hideHeader:"hideHeader"in te?sn:Fo.hideHeader,hidePrevBtn:Zo&&bo==="right",hideNextBtn:Zo&&bo==="left"})},ne.createElement("div",{tabIndex:Dn,className:nn()("".concat(ve,"-panel"),De,(ie={},(0,nt.Z)(ie,"".concat(ve,"-panel-has-range"),Qr&&Qr[0]&&Qr[1]),(0,nt.Z)(ie,"".concat(ve,"-panel-has-range-hover"),_a&&_a[0]&&_a[1]),(0,nt.Z)(ie,"".concat(ve,"-panel-rtl"),ar==="rtl"),ie)),style:Ae,onKeyDown:Hl,onBlur:Co,onMouseDown:ga},so,rs||Gl||wl?ne.createElement("div",{className:"".concat(ve,"-footer")},rs,Gl,wl):null))}var Hr=dr,ro=ee(45987),Eo=ee(73935);function wo(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Lo={};function Oi(te,ie){}function xl(te,ie){}function Wl(){Lo={}}function Rl(te,ie,le){!ie&&!Lo[le]&&(te(!1,le),Lo[le]=!0)}function Sl(te,ie){Rl(Oi,te,ie)}function Li(te,ie){Rl(xl,te,ie)}var is=null,Ul=ee(49286);function ls(te,ie,le){var fe=ne.useRef({});return(!("value"in fe.current)||le(fe.current.condition,ie))&&(fe.current.value=te(),fe.current.condition=ie),fe.current.value}function zs(te,ie){typeof te=="function"?te(ie):(0,jt.Z)(te)==="object"&&te&&"current"in te&&(te.current=ie)}function kl(){for(var te=arguments.length,ie=new Array(te),le=0;le<te;le++)ie[le]=arguments[le];var fe=ie.filter(function(ve){return ve});return fe.length<=1?fe[0]:function(ve){ie.forEach(function(De){zs(De,ve)})}}function Hs(){for(var te=arguments.length,ie=new Array(te),le=0;le<te;le++)ie[le]=arguments[le];return ls(function(){return kl.apply(void 0,ie)},ie,function(fe,ve){return fe.length===ve.length&&fe.every(function(De,Ae){return De===ve[Ae]})})}function Vl(te){var ie,le,fe=(0,Ul.isMemo)(te)?te.type.type:te.type;return!(typeof fe=="function"&&!((ie=fe.prototype)!==null&&ie!==void 0&&ie.render)||typeof te=="function"&&!((le=te.prototype)!==null&&le!==void 0&&le.render))}var Dd=ne.createContext(null),Ol=Dd,Gs=wo()?ne.useLayoutEffect:ne.useEffect,ps=Gs,ad=function(ie,le){var fe=React.useRef(!0);Gs(function(){if(!fe.current)return ie()},le),Gs(function(){return fe.current=!1,function(){fe.current=!0}},[])},bi=[];function Ai(te,ie){var le=ne.useState(function(){if(!wo())return null;var Nt=document.createElement("div");return Nt}),fe=(0,Ce.Z)(le,1),ve=fe[0],De=ne.useRef(!1),Ae=ne.useContext(Ol),Qe=ne.useState(bi),Xe=(0,Ce.Z)(Qe,2),gt=Xe[0],Yt=Xe[1],mt=Ae||(De.current?void 0:function(Nt){Yt(function(rt){var Et=[Nt].concat((0,aa.Z)(rt));return Et})});function St(){ve.parentElement||document.body.appendChild(ve),De.current=!0}function bt(){var Nt;(Nt=ve.parentElement)===null||Nt===void 0||Nt.removeChild(ve),De.current=!1}return ps(function(){return te?Ae?Ae(St):St():bt(),bt},[te]),ps(function(){gt.length&&(gt.forEach(function(Nt){return Nt()}),Yt(bi))},[gt]),[ve,mt]}function il(te,ie){if(!te)return!1;if(te.contains)return te.contains(ie);for(var le=ie;le;){if(le===te)return!0;le=le.parentNode}return!1}var Ds="data-rc-order",Md="rc-util-key",Ci=new Map;function ss(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ie=te.mark;return ie?ie.startsWith("data-")?ie:"data-".concat(ie):Md}function ql(te){if(te.attachTo)return te.attachTo;var ie=document.querySelector("head");return ie||document.body}function Nr(te){return te==="queue"?"prependQueue":te?"prepend":"append"}function ds(te){return Array.from((Ci.get(te)||te).children).filter(function(ie){return ie.tagName==="STYLE"})}function cs(te){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!wo())return null;var le=ie.csp,fe=ie.prepend,ve=document.createElement("style");ve.setAttribute(Ds,Nr(fe)),le!=null&&le.nonce&&(ve.nonce=le==null?void 0:le.nonce),ve.innerHTML=te;var De=ql(ie),Ae=De.firstChild;if(fe){if(fe==="queue"){var Qe=ds(De).filter(function(Xe){return["prepend","prependQueue"].includes(Xe.getAttribute(Ds))});if(Qe.length)return De.insertBefore(ve,Qe[Qe.length-1].nextSibling),ve}De.insertBefore(ve,Ae)}else De.appendChild(ve);return ve}function Ks(te){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=ql(ie);return ds(le).find(function(fe){return fe.getAttribute(ss(ie))===te})}function Ms(te){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},le=Ks(te,ie);if(le){var fe=ql(ie);fe.removeChild(le)}}function js(te,ie){var le=Ci.get(te);if(!le||!il(document,le)){var fe=cs("",ie),ve=fe.parentNode;Ci.set(te,ve),te.removeChild(fe)}}function Pc(){Ci.clear()}function rd(te,ie){var le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},fe=ql(le);js(fe,le);var ve=Ks(ie,le);if(ve){var De,Ae;if((De=le.csp)!==null&&De!==void 0&&De.nonce&&ve.nonce!==((Ae=le.csp)===null||Ae===void 0?void 0:Ae.nonce)){var Qe;ve.nonce=(Qe=le.csp)===null||Qe===void 0?void 0:Qe.nonce}return ve.innerHTML!==te&&(ve.innerHTML=te),ve}var Xe=cs(te,le);return Xe.setAttribute(ss(le),ie),Xe}var Bs;function yc(te){if(typeof document=="undefined")return 0;if(te||Bs===void 0){var ie=document.createElement("div");ie.style.width="100%",ie.style.height="200px";var le=document.createElement("div"),fe=le.style;fe.position="absolute",fe.top="0",fe.left="0",fe.pointerEvents="none",fe.visibility="hidden",fe.width="200px",fe.height="150px",fe.overflow="hidden",le.appendChild(ie),document.body.appendChild(le);var ve=ie.offsetWidth;le.style.overflow="scroll";var De=ie.offsetWidth;ve===De&&(De=le.clientWidth),document.body.removeChild(le),Bs=ve-De}return Bs}function ic(te){var ie=te.match(/^(.*)px$/),le=Number(ie==null?void 0:ie[1]);return Number.isNaN(le)?yc():le}function bc(te){if(typeof document=="undefined"||!te||!(te instanceof Element))return{width:0,height:0};var ie=getComputedStyle(te,"::-webkit-scrollbar"),le=ie.width,fe=ie.height;return{width:ic(le),height:ic(fe)}}function $s(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var cd="rc-util-locker-".concat(Date.now()),ud=0;function Cc(te){var ie=!!te,le=ne.useState(function(){return ud+=1,"".concat(cd,"_").concat(ud)}),fe=(0,Ce.Z)(le,1),ve=fe[0];ps(function(){if(ie){var De=bc(document.body).width,Ae=$s();rd(`
html body {
overflow-y: hidden;
`.concat(Ae?"width: calc(100% - ".concat(De,"px);"):"",`
}`),ve)}else Ms(ve);return function(){Ms(ve)}},[ie,ve])}var lc=!1;function xc(te){return typeof te=="boolean"&&(lc=te),lc}var sc=function(ie){return ie===!1?!1:!wo()||!ie?null:typeof ie=="string"?document.querySelector(ie):typeof ie=="function"?ie():ie},Ec=ne.forwardRef(function(te,ie){var le=te.open,fe=te.autoLock,ve=te.getContainer,De=te.debug,Ae=te.autoDestroy,Qe=Ae===void 0?!0:Ae,Xe=te.children,gt=ne.useState(le),Yt=(0,Ce.Z)(gt,2),mt=Yt[0],St=Yt[1],bt=mt||le;ne.useEffect(function(){(Qe||le)&&St(le)},[le,Qe]);var Nt=ne.useState(function(){return sc(ve)}),rt=(0,Ce.Z)(Nt,2),Et=rt[0],qt=rt[1];ne.useEffect(function(){var nr=sc(ve);qt(nr!=null?nr:null)});var Dn=Ai(bt&&!Et,De),cn=(0,Ce.Z)(Dn,2),ln=cn[0],qn=cn[1],an=Et!=null?Et:ln;Cc(fe&&le&&wo()&&(an===ln||an===document.body));var sn=null;if(Xe&&Vl(Xe)&&ie){var wa=Xe;sn=wa.ref}var na=Hs(sn,ie);if(!bt||!wo()||Et===void 0)return null;var La=an===!1||xc(),ga=Xe;return ie&&(ga=ne.cloneElement(Xe,{ref:na})),ne.createElement(Ol.Provider,{value:qn},La?ga:(0,Eo.createPortal)(ga,an))}),wc=Ec,Yd=wc,dc=ee(48555);function Bd(te){return te instanceof HTMLElement||te instanceof SVGElement}function Lc(te){return Bd(te)?te:te instanceof React.Component?ReactDOM.findDOMNode(te):null}function gd(te){var ie;return te==null||(ie=te.getRootNode)===null||ie===void 0?void 0:ie.call(te)}function Ac(te){return gd(te)instanceof ShadowRoot}function od(te){return Ac(te)?gd(te):null}var Fs=ee(77527);function Nc(){var te=(0,kt.Z)({},ge);return te.useId}var Qd=0;function Oc(){}var Pe=Nc(),Re=Pe?function(ie){var le=Pe();return ie||le}:function(ie){var le=ne.useState("ssr-id"),fe=(0,Ce.Z)(le,2),ve=fe[0],De=fe[1];return ne.useEffect(function(){var Ae=Qd;Qd+=1,De("rc_unique_".concat(Ae))},[]),ie||ve},ke=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var te=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(te)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(te==null?void 0:te.substr(0,4))},it=ne.createContext(null),Tt=it;function un(te){return te?Array.isArray(te)?te:[te]:[]}function mn(te,ie,le,fe){return ne.useMemo(function(){var ve=un(le!=null?le:ie),De=un(fe!=null?fe:ie),Ae=new Set(ve),Qe=new Set(De);return te&&(Ae.has("hover")&&(Ae.delete("hover"),Ae.add("click")),Qe.has("hover")&&(Qe.delete("hover"),Qe.add("click"))),[Ae,Qe]},[te,ie,le,fe])}function da(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],le=arguments.length>2?arguments[2]:void 0;return le?te[0]===ie[0]:te[0]===ie[0]&&te[1]===ie[1]}function Ea(te,ie,le,fe){for(var ve=le.points,De=Object.keys(te),Ae=0;Ae<De.length;Ae+=1){var Qe,Xe=De[Ae];if(da((Qe=te[Xe])===null||Qe===void 0?void 0:Qe.points,ve,fe))return"".concat(ie,"-placement-").concat(Xe)}return""}function fa(te,ie,le,fe){return ie||(le?{motionName:"".concat(te,"-").concat(le)}:fe?{motionName:fe}:null)}function Ya(te){return te.ownerDocument.defaultView}function va(te){for(var ie=[],le=te==null?void 0:te.parentElement,fe=["hidden","scroll","clip","auto"];le;){var ve=Ya(le).getComputedStyle(le),De=ve.overflowX,Ae=ve.overflowY,Qe=ve.overflow;[De,Ae,Qe].some(function(Xe){return fe.includes(Xe)})&&ie.push(le),le=le.parentElement}return ie}function qa(te){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(te)?ie:te}function za(te){return qa(parseFloat(te),0)}function pr(te,ie){var le=(0,kt.Z)({},te);return(ie||[]).forEach(function(fe){if(!(fe instanceof HTMLBodyElement||fe instanceof HTMLHtmlElement)){var ve=Ya(fe).getComputedStyle(fe),De=ve.overflow,Ae=ve.overflowClipMargin,Qe=ve.borderTopWidth,Xe=ve.borderBottomWidth,gt=ve.borderLeftWidth,Yt=ve.borderRightWidth,mt=fe.getBoundingClientRect(),St=fe.offsetHeight,bt=fe.clientHeight,Nt=fe.offsetWidth,rt=fe.clientWidth,Et=za(Qe),qt=za(Xe),Dn=za(gt),cn=za(Yt),ln=qa(Math.round(mt.width/Nt*1e3)/1e3),qn=qa(Math.round(mt.height/St*1e3)/1e3),an=(Nt-rt-Dn-cn)*ln,sn=(St-bt-Et-qt)*qn,wa=Et*qn,na=qt*qn,La=Dn*ln,ga=cn*ln,nr=0,wr=0;if(De==="clip"){var Vr=za(Ae);nr=Vr*ln,wr=Vr*qn}var ar=mt.x+La-nr,lr=mt.y+wa-wr,ka=ar+mt.width+2*nr-La-ga-an,Yr=lr+mt.height+2*wr-wa-na-sn;le.left=Math.max(le.left,ar),le.top=Math.max(le.top,lr),le.right=Math.min(le.right,ka),le.bottom=Math.min(le.bottom,Yr)}}),le}function uo(te){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,le="".concat(ie),fe=le.match(/^(.*)\%$/);return fe?te*(parseFloat(fe[1])/100):parseFloat(le)}function eo(te,ie){var le=ie||[],fe=(0,Ce.Z)(le,2),ve=fe[0],De=fe[1];return[uo(te.width,ve),uo(te.height,De)]}function So(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[te[0],te[1]]}function Ur(te,ie){var le=ie[0],fe=ie[1],ve,De;return le==="t"?De=te.y:le==="b"?De=te.y+te.height:De=te.y+te.height/2,fe==="l"?ve=te.x:fe==="r"?ve=te.x+te.width:ve=te.x+te.width/2,{x:ve,y:De}}function br(te,ie){var le={t:"b",b:"t",l:"r",r:"l"};return te.map(function(fe,ve){return ve===ie?le[fe]||"c":fe}).join("")}function er(te,ie,le,fe,ve,De,Ae){var Qe=ne.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ve[fe]||{}}),Xe=(0,Ce.Z)(Qe,2),gt=Xe[0],Yt=Xe[1],mt=ne.useRef(0),St=ne.useMemo(function(){return ie?va(ie):[]},[ie]),bt=ne.useRef({}),Nt=function(){bt.current={}};te||Nt();var rt=(0,Fs.Z)(function(){if(ie&&le&&te){let Xl=function(ac,Nd){var ed=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ao,rc=Sr.x+ac,Kd=Sr.y+Nd,mc=rc+vo,vc=Kd+io,dd=Math.max(rc,ed.left),hc=Math.max(Kd,ed.top),Rc=Math.min(mc,ed.right),mr=Math.min(vc,ed.bottom);return Math.max(0,(Rc-dd)*(mr-hc))},Zs=function(){ii=Sr.y+so,Ll=ii+io,Is=Sr.x+Co,As=Is+vo};var Dn,cn,ln=ie,qn=ln.ownerDocument,an=Ya(ln),sn=an.getComputedStyle(ln),wa=sn.width,na=sn.height,La=sn.position,ga=ln.style.left,nr=ln.style.top,wr=ln.style.right,Vr=ln.style.bottom,ar=(0,kt.Z)((0,kt.Z)({},ve[fe]),De),lr=qn.createElement("div");(Dn=ln.parentElement)===null||Dn===void 0||Dn.appendChild(lr),lr.style.left="".concat(ln.offsetLeft,"px"),lr.style.top="".concat(ln.offsetTop,"px"),lr.style.position=La,lr.style.height="".concat(ln.offsetHeight,"px"),lr.style.width="".concat(ln.offsetWidth,"px"),ln.style.left="0",ln.style.top="0",ln.style.right="auto",ln.style.bottom="auto";var ka;if(Array.isArray(le))ka={x:le[0],y:le[1],width:0,height:0};else{var Yr=le.getBoundingClientRect();ka={x:Yr.x,y:Yr.y,width:Yr.width,height:Yr.height}}var Sr=ln.getBoundingClientRect(),Lr=qn.documentElement,Bo=Lr.clientWidth,To=Lr.clientHeight,Uo=Lr.scrollWidth,Pi=Lr.scrollHeight,No=Lr.scrollTop,ci=Lr.scrollLeft,io=Sr.height,vo=Sr.width,Fo=ka.height,ui=ka.width,mi={left:0,top:0,right:Bo,bottom:To},Ki={left:-ci,top:-No,right:Uo-ci,bottom:Pi-No},vi=ar.htmlRegion,Cr="visible",Zo="visibleFirst";vi!=="scroll"&&vi!==Zo&&(vi=Cr);var bo=vi===Zo,Qr=pr(Ki,St),_a=pr(mi,St),ao=vi===Cr?_a:Qr,Ko=bo?_a:ao;ln.style.left="auto",ln.style.top="auto",ln.style.right="0",ln.style.bottom="0";var Ji=ln.getBoundingClientRect();ln.style.left=ga,ln.style.top=nr,ln.style.right=wr,ln.style.bottom=Vr,(cn=ln.parentElement)===null||cn===void 0||cn.removeChild(lr);var fl=qa(Math.round(vo/parseFloat(wa)*1e3)/1e3),zi=qa(Math.round(io/parseFloat(na)*1e3)/1e3);if(fl===0||zi===0||Bd(le)&&!(0,Vn.Z)(le))return;var as=ar.offset,ys=ar.targetOffset,sl=eo(Sr,as),Xi=(0,Ce.Z)(sl,2),ji=Xi[0],xr=Xi[1],Ro=eo(ka,ys),oi=(0,Ce.Z)(Ro,2),$i=oi[0],Vo=oi[1];ka.x-=$i,ka.y-=Vo;var qi=ar.points||[],Ri=(0,Ce.Z)(qi,2),dl=Ri[0],ml=Ri[1],Hi=So(ml),_i=So(dl),Wi=Ur(ka,Hi),vl=Ur(Sr,_i),Hl=(0,kt.Z)({},ar),Co=Wi.x-vl.x+ji,so=Wi.y-vl.y+xr,yl=Xl(Co,so),Do=Xl(Co,so,_a),rs=Ur(ka,["t","l"]),Gl=Ur(Sr,["t","l"]),Kl=Ur(ka,["b","r"]),wl=Ur(Sr,["b","r"]),os=ar.overflow||{},qs=os.adjustX,bs=os.adjustY,Zr=os.shiftX,Ta=os.shiftY,oo=function(Nd){return typeof Nd=="boolean"?Nd:Nd>=0},ii,Ll,Is,As;Zs();var id=oo(bs),_s=_i[0]===Hi[0];if(id&&_i[0]==="t"&&(Ll>Ko.bottom||bt.current.bt)){var Ei=so;_s?Ei-=io-Fo:Ei=rs.y-wl.y-xr;var Jr=Xl(Co,Ei),Bl=Xl(Co,Ei,_a);Jr>yl||Jr===yl&&(!bo||Bl>=Do)?(bt.current.bt=!0,so=Ei,xr=-xr,Hl.points=[br(_i,0),br(Hi,0)]):bt.current.bt=!1}if(id&&_i[0]==="b"&&(ii<Ko.top||bt.current.tb)){var Al=so;_s?Al+=io-Fo:Al=Kl.y-Gl.y-xr;var xd=Xl(Co,Al),_d=Xl(Co,Al,_a);xd>yl||xd===yl&&(!bo||_d>=Do)?(bt.current.tb=!0,so=Al,xr=-xr,Hl.points=[br(_i,0),br(Hi,0)]):bt.current.tb=!1}var Zd=oo(qs),Ed=_i[1]===Hi[1];if(Zd&&_i[1]==="l"&&(As>Ko.right||bt.current.rl)){var Ns=Co;Ed?Ns-=vo-ui:Ns=rs.x-wl.x-ji;var wd=Xl(Ns,so),ec=Xl(Ns,so,_a);wd>yl||wd===yl&&(!bo||ec>=Do)?(bt.current.rl=!0,Co=Ns,ji=-ji,Hl.points=[br(_i,1),br(Hi,1)]):bt.current.rl=!1}if(Zd&&_i[1]==="r"&&(Is<Ko.left||bt.current.lr)){var Ts=Co;Ed?Ts+=vo-ui:Ts=Kl.x-Gl.x-ji;var hi=Xl(Ts,so),hr=Xl(Ts,so,_a);hi>yl||hi===yl&&(!bo||hr>=Do)?(bt.current.lr=!0,Co=Ts,ji=-ji,Hl.points=[br(_i,1),br(Hi,1)]):bt.current.lr=!1}Zs();var nl=Zr===!0?0:Zr;typeof nl=="number"&&(Is<_a.left&&(Co-=Is-_a.left-ji,ka.x+ui<_a.left+nl&&(Co+=ka.x-_a.left+ui-nl)),As>_a.right&&(Co-=As-_a.right-ji,ka.x>_a.right-nl&&(Co+=ka.x-_a.right+nl)));var al=Ta===!0?0:Ta;typeof al=="number"&&(ii<_a.top&&(so-=ii-_a.top-xr,ka.y+Fo<_a.top+al&&(so+=ka.y-_a.top+Fo-al)),Ll>_a.bottom&&(so-=Ll-_a.bottom-xr,ka.y>_a.bottom-al&&(so+=ka.y-_a.bottom+al)));var ld=Sr.x+Co,sd=ld+vo,zd=Sr.y+so,Ld=zd+io,Cs=ka.x,Dc=Cs+ui,cc=ka.y,uc=cc+Fo,Ad=Math.max(ld,Cs),Mc=Math.min(sd,Dc),gc=(Ad+Mc)/2,Bc=gc-ld,Hd=Math.max(zd,cc),Gd=Math.min(Ld,uc),fc=(Hd+Gd)/2,tc=fc-zd;Ae==null||Ae(ie,Hl);var Fc=Ji.right-Sr.x-(Co+Sr.width),nc=Ji.bottom-Sr.y-(so+Sr.height);Yt({ready:!0,offsetX:Co/fl,offsetY:so/zi,offsetR:Fc/fl,offsetB:nc/zi,arrowX:Bc/fl,arrowY:tc/zi,scaleX:fl,scaleY:zi,align:Hl})}}),Et=function(){mt.current+=1;var cn=mt.current;Promise.resolve().then(function(){mt.current===cn&&rt()})},qt=function(){Yt(function(cn){return(0,kt.Z)((0,kt.Z)({},cn),{},{ready:!1})})};return(0,Tn.Z)(qt,[fe]),(0,Tn.Z)(function(){te||qt()},[te]),[gt.ready,gt.offsetX,gt.offsetY,gt.offsetR,gt.offsetB,gt.arrowX,gt.arrowY,gt.scaleX,gt.scaleY,gt.align,Et]}function li(te,ie,le,fe,ve){(0,Tn.Z)(function(){if(te&&ie&&le){let mt=function(){fe(),ve()};var De=ie,Ae=le,Qe=va(De),Xe=va(Ae),gt=Ya(Ae),Yt=new Set([gt].concat((0,aa.Z)(Qe),(0,aa.Z)(Xe)));return Yt.forEach(function(St){St.addEventListener("scroll",mt,{passive:!0})}),gt.addEventListener("resize",mt,{passive:!0}),fe(),function(){Yt.forEach(function(St){St.removeEventListener("scroll",mt),gt.removeEventListener("resize",mt)})}}},[te,ie,le])}var jo=ee(60276);function si(te,ie,le,fe,ve,De,Ae,Qe){var Xe=ne.useRef(te),gt=ne.useRef(!1);Xe.current!==te&&(gt.current=!0,Xe.current=te),ne.useEffect(function(){var Yt=(0,yn.Z)(function(){gt.current=!1});return function(){yn.Z.cancel(Yt)}},[te]),ne.useEffect(function(){if(ie&&fe&&(!ve||De)){var Yt=function(){var La=!1,ga=function(Vr){var ar=Vr.target;La=Ae(ar)},nr=function(Vr){var ar=Vr.target;!gt.current&&Xe.current&&!La&&!Ae(ar)&&Qe(!1)};return[ga,nr]},mt=Yt(),St=(0,Ce.Z)(mt,2),bt=St[0],Nt=St[1],rt=Yt(),Et=(0,Ce.Z)(rt,2),qt=Et[0],Dn=Et[1],cn=Ya(fe);cn.addEventListener("mousedown",bt,!0),cn.addEventListener("click",Nt,!0),cn.addEventListener("contextmenu",Nt,!0);var ln=od(le);if(ln&&(ln.addEventListener("mousedown",qt,!0),ln.addEventListener("click",Dn,!0),ln.addEventListener("contextmenu",Dn,!0)),0)var qn,an,sn,wa;return function(){cn.removeEventListener("mousedown",bt,!0),cn.removeEventListener("click",Nt,!0),cn.removeEventListener("contextmenu",Nt,!0),ln&&(ln.removeEventListener("mousedown",qt,!0),ln.removeEventListener("click",Dn,!0),ln.removeEventListener("contextmenu",Dn,!0))}}},[ie,le,fe,ve,De])}function pi(te){return te instanceof HTMLElement||te instanceof SVGElement}function Ui(te){return pi(te)?te:te instanceof ne.Component?Eo.findDOMNode(te):null}function Qo(te,ie,le){var fe=React.useRef({});return(!("value"in fe.current)||le(fe.current.condition,ie))&&(fe.current.value=te(),fe.current.condition=ie),fe.current.value}function Po(te,ie){typeof te=="function"?te(ie):(0,jt.Z)(te)==="object"&&te&&"current"in te&&(te.current=ie)}function Si(){for(var te=arguments.length,ie=new Array(te),le=0;le<te;le++)ie[le]=arguments[le];var fe=ie.filter(function(ve){return ve});return fe.length<=1?fe[0]:function(ve){ie.forEach(function(De){Po(De,ve)})}}function Bi(){for(var te=arguments.length,ie=new Array(te),le=0;le<te;le++)ie[le]=arguments[le];return useMemo(function(){return Si.apply(void 0,ie)},ie,function(fe,ve){return fe.length===ve.length&&fe.every(function(De,Ae){return De===ve[Ae]})})}function qo(te){var ie,le,fe=(0,Ul.isMemo)(te)?te.type.type:te.type;return!(typeof fe=="function"&&!((ie=fe.prototype)!==null&&ie!==void 0&&ie.render)||typeof te=="function"&&!((le=te.prototype)!==null&&le!==void 0&&le.render))}function fo(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}function zo(te,ie){var le={};return le[te.toLowerCase()]=ie.toLowerCase(),le["Webkit".concat(te)]="webkit".concat(ie),le["Moz".concat(te)]="moz".concat(ie),le["ms".concat(te)]="MS".concat(ie),le["O".concat(te)]="o".concat(ie.toLowerCase()),le}function Gr(te,ie){var le={animationend:zo("Animation","AnimationEnd"),transitionend:zo("Transition","TransitionEnd")};return te&&("AnimationEvent"in ie||delete le.animationend.animation,"TransitionEvent"in ie||delete le.transitionend.transition),le}var Ii=Gr(fo(),typeof window!="undefined"?window:{}),ko={};if(fo()){var Gi=document.createElement("div");ko=Gi.style}var ul={};function Vi(te){if(ul[te])return ul[te];var ie=Ii[te];if(ie)for(var le=Object.keys(ie),fe=le.length,ve=0;ve<fe;ve+=1){var De=le[ve];if(Object.prototype.hasOwnProperty.call(ie,De)&&De in ko)return ul[te]=ie[De],ul[te]}return""}var Il=Vi("animationend"),Tl=Vi("transitionend"),Oo=!!(Il&&Tl),Nl=Il||"animationend",Ni=Tl||"transitionend";function Ho(te,ie){if(!te)return null;if((0,jt.Z)(te)==="object"){var le=ie.replace(/-\w/g,function(fe){return fe[1].toUpperCase()});return te[le]}return"".concat(te,"-").concat(ie)}var di="none",gl="appear",Yl="enter",us="leave",ll="none",Fi="prepare",El="start",Yi="active",$o="end";function Br(te){var ie=ne.useRef(!1),le=ne.useState(te),fe=(0,Ce.Z)(le,2),ve=fe[0],De=fe[1];ne.useEffect(function(){return ie.current=!1,function(){ie.current=!0}},[]);function Ae(Qe,Xe){Xe&&ie.current||De(Qe)}return[ve,Ae]}var Ti=function(ie){return+setTimeout(ie,16)},Dl=function(ie){return clearTimeout(ie)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Ti=function(ie){return window.requestAnimationFrame(ie)},Dl=function(ie){return window.cancelAnimationFrame(ie)});var gs=0,xs=new Map;function _l(te){xs.delete(te)}var Ws=function(ie){var le=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;gs+=1;var fe=gs;function ve(De){if(De===0)_l(fe),ie();else{var Ae=Ti(function(){ve(De-1)});xs.set(fe,Ae)}}return ve(le),fe};Ws.cancel=function(te){var ie=xs.get(te);return _l(ie),Dl(ie)};var fd=Ws,fs=function(){var te=ne.useRef(null);function ie(){fd.cancel(te.current)}function le(fe){var ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;ie();var De=fd(function(){ve<=1?fe({isCanceled:function(){return De!==te.current}}):le(fe,ve-1)});te.current=De}return ne.useEffect(function(){return function(){ie()}},[]),[le,ie]},Jd=fo()?ne.useLayoutEffect:ne.useEffect,es=Jd,ms=[Fi,El,Yi,$o],md=!1,Ss=!0;function Fd(te){return te===Yi||te===$o}var Xd=function(te,ie){var le=Br(ll),fe=(0,Ce.Z)(le,2),ve=fe[0],De=fe[1],Ae=fs(),Qe=(0,Ce.Z)(Ae,2),Xe=Qe[0],gt=Qe[1];function Yt(){De(Fi,!0)}return es(function(){if(ve!==ll&&ve!==$o){var mt=ms.indexOf(ve),St=ms[mt+1],bt=ie(ve);bt===md?De(St,!0):Xe(function(Nt){function rt(){Nt.isCanceled()||De(St,!0)}bt===!0?rt():Promise.resolve(bt).then(rt)})}},[te,ve]),ne.useEffect(function(){return function(){gt()}},[]),[Yt,ve]},vd=function(te){var ie=(0,ne.useRef)(),le=(0,ne.useRef)(te);le.current=te;var fe=ne.useCallback(function(Ae){le.current(Ae)},[]);function ve(Ae){Ae&&(Ae.removeEventListener(Ni,fe),Ae.removeEventListener(Nl,fe))}function De(Ae){ie.current&&ie.current!==Ae&&ve(ie.current),Ae&&Ae!==ie.current&&(Ae.addEventListener(Ni,fe),Ae.addEventListener(Nl,fe),ie.current=Ae)}return ne.useEffect(function(){return function(){ve(ie.current)}},[]),[De,ve]};function Ql(te,ie,le,fe){var ve=fe.motionEnter,De=ve===void 0?!0:ve,Ae=fe.motionAppear,Qe=Ae===void 0?!0:Ae,Xe=fe.motionLeave,gt=Xe===void 0?!0:Xe,Yt=fe.motionDeadline,mt=fe.motionLeaveImmediately,St=fe.onAppearPrepare,bt=fe.onEnterPrepare,Nt=fe.onLeavePrepare,rt=fe.onAppearStart,Et=fe.onEnterStart,qt=fe.onLeaveStart,Dn=fe.onAppearActive,cn=fe.onEnterActive,ln=fe.onLeaveActive,qn=fe.onAppearEnd,an=fe.onEnterEnd,sn=fe.onLeaveEnd,wa=fe.onVisibleChanged,na=Br(),La=(0,Ce.Z)(na,2),ga=La[0],nr=La[1],wr=Br(di),Vr=(0,Ce.Z)(wr,2),ar=Vr[0],lr=Vr[1],ka=Br(null),Yr=(0,Ce.Z)(ka,2),Sr=Yr[0],Lr=Yr[1],Bo=(0,ne.useRef)(!1),To=(0,ne.useRef)(null);function Uo(){return le()}var Pi=(0,ne.useRef)(!1);function No(Qr){var _a=Uo();if(!(Qr&&!Qr.deadline&&Qr.target!==_a)){var ao=Pi.current,Ko;ar===gl&&ao?Ko=qn==null?void 0:qn(_a,Qr):ar===Yl&&ao?Ko=an==null?void 0:an(_a,Qr):ar===us&&ao&&(Ko=sn==null?void 0:sn(_a,Qr)),ar!==di&&ao&&Ko!==!1&&(lr(di,!0),Lr(null,!0))}}var ci=vd(No),io=(0,Ce.Z)(ci,1),vo=io[0],Fo=ne.useMemo(function(){var Qr,_a,ao;switch(ar){case gl:return Qr={},(0,nt.Z)(Qr,Fi,St),(0,nt.Z)(Qr,El,rt),(0,nt.Z)(Qr,Yi,Dn),Qr;case Yl:return _a={},(0,nt.Z)(_a,Fi,bt),(0,nt.Z)(_a,El,Et),(0,nt.Z)(_a,Yi,cn),_a;case us:return ao={},(0,nt.Z)(ao,Fi,Nt),(0,nt.Z)(ao,El,qt),(0,nt.Z)(ao,Yi,ln),ao;default:return{}}},[ar]),ui=Xd(ar,function(Qr){if(Qr===Fi){var _a=Fo[Fi];return _a?_a(Uo()):md}if(vi in Fo){var ao;Lr(((ao=Fo[vi])===null||ao===void 0?void 0:ao.call(Fo,Uo(),null))||null)}return vi===Yi&&(vo(Uo()),Yt>0&&(clearTimeout(To.current),To.current=setTimeout(function(){No({deadline:!0})},Yt))),Ss}),mi=(0,Ce.Z)(ui,2),Ki=mi[0],vi=mi[1],Cr=Fd(vi);Pi.current=Cr,es(function(){nr(ie);var Qr=Bo.current;if(Bo.current=!0,!!te){var _a;!Qr&&ie&&Qe&&(_a=gl),Qr&&ie&&De&&(_a=Yl),(Qr&&!ie&&gt||!Qr&&mt&&!ie&&gt)&&(_a=us),_a&&(lr(_a),Ki())}},[ie]),(0,ne.useEffect)(function(){(ar===gl&&!Qe||ar===Yl&&!De||ar===us&&!gt)&&lr(di)},[Qe,De,gt]),(0,ne.useEffect)(function(){return function(){Bo.current=!1,clearTimeout(To.current)}},[]);var Zo=ne.useRef(!1);(0,ne.useEffect)(function(){ga&&(Zo.current=!0),ga!==void 0&&ar===di&&((Zo.current||ga)&&(wa==null||wa(ga)),Zo.current=!0)},[ga,ar]);var bo=Sr;return Fo[Fi]&&vi===El&&(bo=(0,kt.Z)({transition:"none"},bo)),[ar,vi,bo,ga!=null?ga:ie]}var Us=function(te){(0,Ft.Z)(le,te);var ie=(0,Rn.Z)(le);function le(){return(0,vn.Z)(this,le),ie.apply(this,arguments)}return(0,Ue.Z)(le,[{key:"render",value:function(){return this.props.children}}]),le}(ne.Component),qd=Us;function Rs(te){var ie=te;(0,jt.Z)(te)==="object"&&(ie=te.transitionSupport);function le(ve){return!!(ve.motionName&&ie)}var fe=ne.forwardRef(function(ve,De){var Ae=ve.visible,Qe=Ae===void 0?!0:Ae,Xe=ve.removeOnLeave,gt=Xe===void 0?!0:Xe,Yt=ve.forceRender,mt=ve.children,St=ve.motionName,bt=ve.leavedClassName,Nt=ve.eventProps,rt=le(ve),Et=(0,ne.useRef)(),qt=(0,ne.useRef)();function Dn(){try{return Et.current instanceof HTMLElement?Et.current:Ui(qt.current)}catch(ka){return null}}var cn=Ql(rt,Qe,Dn,ve),ln=(0,Ce.Z)(cn,4),qn=ln[0],an=ln[1],sn=ln[2],wa=ln[3],na=ne.useRef(wa);wa&&(na.current=!0);var La=ne.useCallback(function(ka){Et.current=ka,Po(De,ka)},[De]),ga,nr=(0,kt.Z)((0,kt.Z)({},Nt),{},{visible:Qe});if(!mt)ga=null;else if(qn===di||!le(ve))wa?ga=mt((0,kt.Z)({},nr),La):!gt&&na.current&&bt?ga=mt((0,kt.Z)((0,kt.Z)({},nr),{},{className:bt}),La):Yt||!gt&&!bt?ga=mt((0,kt.Z)((0,kt.Z)({},nr),{},{style:{display:"none"}}),La):ga=null;else{var wr,Vr;an===Fi?Vr="prepare":Fd(an)?Vr="active":an===El&&(Vr="start"),ga=mt((0,kt.Z)((0,kt.Z)({},nr),{},{className:nn()(Ho(St,qn),(wr={},(0,nt.Z)(wr,Ho(St,"".concat(qn,"-").concat(Vr)),Vr),(0,nt.Z)(wr,St,typeof St=="string"),wr)),style:sn}),La)}if(ne.isValidElement(ga)&&qo(ga)){var ar=ga,lr=ar.ref;lr||(ga=ne.cloneElement(ga,{ref:La}))}return ne.createElement(qd,{ref:qt},ga)});return fe.displayName="CSSMotion",fe}var Zl=Rs(Oo),hd="add",Vs="keep",Es="remove",Zi="removed";function ri(te){var ie;return te&&(0,jt.Z)(te)==="object"&&"key"in te?ie=te:ie={key:te},(0,kt.Z)((0,kt.Z)({},ie),{},{key:String(ie.key)})}function ts(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return te.map(ri)}function ws(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],le=[],fe=0,ve=ie.length,De=ts(te),Ae=ts(ie);De.forEach(function(gt){for(var Yt=!1,mt=fe;mt<ve;mt+=1){var St=Ae[mt];if(St.key===gt.key){fe<mt&&(le=le.concat(Ae.slice(fe,mt).map(function(bt){return(0,kt.Z)((0,kt.Z)({},bt),{},{status:hd})})),fe=mt),le.push((0,kt.Z)((0,kt.Z)({},St),{},{status:Vs})),fe+=1,Yt=!0;break}}Yt||le.push((0,kt.Z)((0,kt.Z)({},gt),{},{status:Es}))}),fe<ve&&(le=le.concat(Ae.slice(fe).map(function(gt){return(0,kt.Z)((0,kt.Z)({},gt),{},{status:hd})})));var Qe={};le.forEach(function(gt){var Yt=gt.key;Qe[Yt]=(Qe[Yt]||0)+1});var Xe=Object.keys(Qe).filter(function(gt){return Qe[gt]>1});return Xe.forEach(function(gt){le=le.filter(function(Yt){var mt=Yt.key,St=Yt.status;return mt!==gt||St!==Es}),le.forEach(function(Yt){Yt.key===gt&&(Yt.status=Vs)})}),le}var pd=["component","children","onVisibleChanged","onAllRemoved"],Rd=["status"],Sd=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function vs(te){var ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zl,le=function(fe){(0,Ft.Z)(De,fe);var ve=(0,Rn.Z)(De);function De(){var Ae;(0,vn.Z)(this,De);for(var Qe=arguments.length,Xe=new Array(Qe),gt=0;gt<Qe;gt++)Xe[gt]=arguments[gt];return Ae=ve.call.apply(ve,[this].concat(Xe)),(0,nt.Z)((0,Ct.Z)(Ae),"state",{keyEntities:[]}),(0,nt.Z)((0,Ct.Z)(Ae),"removeKey",function(Yt){var mt=Ae.state.keyEntities,St=mt.map(function(bt){return bt.key!==Yt?bt:(0,kt.Z)((0,kt.Z)({},bt),{},{status:Zi})});return Ae.setState({keyEntities:St}),St.filter(function(bt){var Nt=bt.status;return Nt!==Zi}).length}),Ae}return(0,Ue.Z)(De,[{key:"render",value:function(){var Qe=this,Xe=this.state.keyEntities,gt=this.props,Yt=gt.component,mt=gt.children,St=gt.onVisibleChanged,bt=gt.onAllRemoved,Nt=(0,ro.Z)(gt,pd),rt=Yt||ne.Fragment,Et={};return Sd.forEach(function(qt){Et[qt]=Nt[qt],delete Nt[qt]}),delete Nt.keys,ne.createElement(rt,Nt,Xe.map(function(qt){var Dn=qt.status,cn=(0,ro.Z)(qt,Rd),ln=Dn===hd||Dn===Vs;return ne.createElement(ie,(0,oe.Z)({},Et,{key:cn.key,visible:ln,eventProps:cn,onVisibleChanged:function(an){if(St==null||St(an,{key:cn.key}),!an){var sn=Qe.removeKey(cn.key);sn===0&&bt&&bt()}}}),mt)}))}}],[{key:"getDerivedStateFromProps",value:function(Qe,Xe){var gt=Qe.keys,Yt=Xe.keyEntities,mt=ts(gt),St=ws(Yt,mt);return{keyEntities:St.filter(function(bt){var Nt=Yt.find(function(rt){var Et=rt.key;return bt.key===Et});return!(Nt&&Nt.status===Zi&&bt.status===Es)})}}}]),De}(ne.Component);return(0,nt.Z)(le,"defaultProps",{component:"div"}),le}var Pd=vs(Oo),kd=Zl,ks=ee(17799);function Od(te){var ie=te.prefixCls,le=te.align,fe=te.arrow,ve=te.arrowPos,De=fe||{},Ae=De.className,Qe=De.content,Xe=ve.x,gt=Xe===void 0?0:Xe,Yt=ve.y,mt=Yt===void 0?0:Yt,St=ne.useRef();if(!le||!le.points)return null;var bt={position:"absolute"};if(le.autoArrow!==!1){var Nt=le.points[0],rt=le.points[1],Et=Nt[0],qt=Nt[1],Dn=rt[0],cn=rt[1];Et===Dn||!["t","b"].includes(Et)?bt.top=mt:Et==="t"?bt.top=0:bt.bottom=0,qt===cn||!["l","r"].includes(qt)?bt.left=gt:qt==="l"?bt.left=0:bt.right=0}return ne.createElement("div",{ref:St,className:nn()("".concat(ie,"-arrow"),Ae),style:bt},Qe)}function yd(te){var ie=te.prefixCls,le=te.open,fe=te.zIndex,ve=te.mask,De=te.motion;return ve?ne.createElement(kd,(0,oe.Z)({},De,{motionAppear:!0,visible:le,removeOnLeave:!0}),function(Ae){var Qe=Ae.className;return ne.createElement("div",{style:{zIndex:fe},className:nn()("".concat(ie,"-mask"),Qe)})}):null}var Id=ne.memo(function(te){var ie=te.children;return ie},function(te,ie){return ie.cache}),Ls=Id,Ys=ne.forwardRef(function(te,ie){var le=te.popup,fe=te.className,ve=te.prefixCls,De=te.style,Ae=te.target,Qe=te.onVisibleChanged,Xe=te.open,gt=te.keepDom,Yt=te.fresh,mt=te.onClick,St=te.mask,bt=te.arrow,Nt=te.arrowPos,rt=te.align,Et=te.motion,qt=te.maskMotion,Dn=te.forceRender,cn=te.getPopupContainer,ln=te.autoDestroy,qn=te.portal,an=te.zIndex,sn=te.onMouseEnter,wa=te.onMouseLeave,na=te.onPointerEnter,La=te.ready,ga=te.offsetX,nr=te.offsetY,wr=te.offsetR,Vr=te.offsetB,ar=te.onAlign,lr=te.onPrepare,ka=te.stretch,Yr=te.targetWidth,Sr=te.targetHeight,Lr=typeof le=="function"?le():le,Bo=Xe||gt,To=(cn==null?void 0:cn.length)>0,Uo=ne.useState(!cn||!To),Pi=(0,Ce.Z)(Uo,2),No=Pi[0],ci=Pi[1];if((0,Tn.Z)(function(){!No&&To&&Ae&&ci(!0)},[No,To,Ae]),!No)return null;var io="auto",vo={left:"-1000vw",top:"-1000vh",right:io,bottom:io};if(La||!Xe){var Fo,ui=rt.points,mi=rt.dynamicInset||((Fo=rt._experimental)===null||Fo===void 0?void 0:Fo.dynamicInset),Ki=mi&&ui[0][1]==="r",vi=mi&&ui[0][0]==="b";Ki?(vo.right=wr,vo.left=io):(vo.left=ga,vo.right=io),vi?(vo.bottom=Vr,vo.top=io):(vo.top=nr,vo.bottom=io)}var Cr={};return ka&&(ka.includes("height")&&Sr?Cr.height=Sr:ka.includes("minHeight")&&Sr&&(Cr.minHeight=Sr),ka.includes("width")&&Yr?Cr.width=Yr:ka.includes("minWidth")&&Yr&&(Cr.minWidth=Yr)),Xe||(Cr.pointerEvents="none"),ne.createElement(qn,{open:Dn||Bo,getContainer:cn&&function(){return cn(Ae)},autoDestroy:ln},ne.createElement(yd,{prefixCls:ve,open:Xe,zIndex:an,mask:St,motion:qt}),ne.createElement(dc.Z,{onResize:ar,disabled:!Xe},function(Zo){return ne.createElement(kd,(0,oe.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Dn,leavedClassName:"".concat(ve,"-hidden")},Et,{onAppearPrepare:lr,onEnterPrepare:lr,visible:Xe,onVisibleChanged:function(Qr){var _a;Et==null||(_a=Et.onVisibleChanged)===null||_a===void 0||_a.call(Et,Qr),Qe(Qr)}}),function(bo,Qr){var _a=bo.className,ao=bo.style,Ko=nn()(ve,_a,fe);return ne.createElement("div",{ref:(0,ks.sQ)(Zo,ie,Qr),className:Ko,style:(0,kt.Z)((0,kt.Z)((0,kt.Z)((0,kt.Z)({"--arrow-x":"".concat(Nt.x||0,"px"),"--arrow-y":"".concat(Nt.y||0,"px")},vo),Cr),ao),{},{boxSizing:"border-box",zIndex:an},De),onMouseEnter:sn,onMouseLeave:wa,onPointerEnter:na,onClick:mt},bt&&ne.createElement(Od,{prefixCls:ve,arrow:bt,arrowPos:Nt,align:rt}),ne.createElement(Ls,{cache:!Xe&&!Yt},Lr))})}))}),Qs=Ys,Js=ne.forwardRef(function(te,ie){var le=te.children,fe=te.getTriggerDOMNode,ve=(0,ks.Yr)(le),De=ne.useCallback(function(Qe){(0,ks.mH)(ie,fe?fe(Qe):Qe)},[fe]),Ae=(0,ks.x1)(De,le.ref);return ve?ne.cloneElement(le,{ref:Ae}):le}),bd=Js,Td=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function Ps(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Yd,ie=ne.forwardRef(function(le,fe){var ve=le.prefixCls,De=ve===void 0?"rc-trigger-popup":ve,Ae=le.children,Qe=le.action,Xe=Qe===void 0?"hover":Qe,gt=le.showAction,Yt=le.hideAction,mt=le.popupVisible,St=le.defaultPopupVisible,bt=le.onPopupVisibleChange,Nt=le.afterPopupVisibleChange,rt=le.mouseEnterDelay,Et=le.mouseLeaveDelay,qt=Et===void 0?.1:Et,Dn=le.focusDelay,cn=le.blurDelay,ln=le.mask,qn=le.maskClosable,an=qn===void 0?!0:qn,sn=le.getPopupContainer,wa=le.forceRender,na=le.autoDestroy,La=le.destroyPopupOnHide,ga=le.popup,nr=le.popupClassName,wr=le.popupStyle,Vr=le.popupPlacement,ar=le.builtinPlacements,lr=ar===void 0?{}:ar,ka=le.popupAlign,Yr=le.zIndex,Sr=le.stretch,Lr=le.getPopupClassNameFromAlign,Bo=le.fresh,To=le.alignPoint,Uo=le.onPopupClick,Pi=le.onPopupAlign,No=le.arrow,ci=le.popupMotion,io=le.maskMotion,vo=le.popupTransitionName,Fo=le.popupAnimation,ui=le.maskTransitionName,mi=le.maskAnimation,Ki=le.className,vi=le.getTriggerDOMNode,Cr=(0,ro.Z)(le,Td),Zo=na||La||!1,bo=ne.useState(!1),Qr=(0,Ce.Z)(bo,2),_a=Qr[0],ao=Qr[1];(0,Tn.Z)(function(){ao(ke())},[]);var Ko=ne.useRef({}),Ji=ne.useContext(Tt),fl=ne.useMemo(function(){return{registerSubPopup:function(xo,rl){Ko.current[xo]=rl,Ji==null||Ji.registerSubPopup(xo,rl)}}},[Ji]),zi=Re(),as=ne.useState(null),ys=(0,Ce.Z)(as,2),sl=ys[0],Xi=ys[1],ji=(0,Fs.Z)(function(mr){Bd(mr)&&sl!==mr&&Xi(mr),Ji==null||Ji.registerSubPopup(zi,mr)}),xr=ne.useState(null),Ro=(0,Ce.Z)(xr,2),oi=Ro[0],$i=Ro[1],Vo=(0,Fs.Z)(function(mr){Bd(mr)&&oi!==mr&&$i(mr)}),qi=ne.Children.only(Ae),Ri=(qi==null?void 0:qi.props)||{},dl={},ml=(0,Fs.Z)(function(mr){var xo,rl,cl=oi;return(cl==null?void 0:cl.contains(mr))||((xo=od(cl))===null||xo===void 0?void 0:xo.host)===mr||mr===cl||(sl==null?void 0:sl.contains(mr))||((rl=od(sl))===null||rl===void 0?void 0:rl.host)===mr||mr===sl||Object.values(Ko.current).some(function(ol){return(ol==null?void 0:ol.contains(mr))||mr===ol})}),Hi=fa(De,ci,Fo,vo),_i=fa(De,io,mi,ui),Wi=ne.useState(St||!1),vl=(0,Ce.Z)(Wi,2),Hl=vl[0],Co=vl[1],so=mt!=null?mt:Hl,yl=(0,Fs.Z)(function(mr){mt===void 0&&Co(mr)});(0,Tn.Z)(function(){Co(mt||!1)},[mt]);var Do=ne.useRef(so);Do.current=so;var rs=(0,Fs.Z)(function(mr){(0,Eo.flushSync)(function(){so!==mr&&(yl(mr),bt==null||bt(mr))})}),Gl=ne.useRef(),Kl=function(){clearTimeout(Gl.current)},wl=function(xo){var rl=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Kl(),rl===0?rs(xo):Gl.current=setTimeout(function(){rs(xo)},rl*1e3)};ne.useEffect(function(){return Kl},[]);var os=ne.useState(!1),qs=(0,Ce.Z)(os,2),bs=qs[0],Zr=qs[1];(0,Tn.Z)(function(mr){(!mr||so)&&Zr(!0)},[so]);var Ta=ne.useState(null),oo=(0,Ce.Z)(Ta,2),ii=oo[0],Ll=oo[1],Is=ne.useState([0,0]),As=(0,Ce.Z)(Is,2),id=As[0],_s=As[1],Ei=function(xo){_s([xo.clientX,xo.clientY])},Jr=er(so,sl,To?id:oi,Vr,lr,ka,Pi),Bl=(0,Ce.Z)(Jr,11),Al=Bl[0],xd=Bl[1],_d=Bl[2],Zd=Bl[3],Ed=Bl[4],Ns=Bl[5],wd=Bl[6],ec=Bl[7],Ts=Bl[8],hi=Bl[9],hr=Bl[10],nl=mn(_a,Xe,gt,Yt),al=(0,Ce.Z)(nl,2),ld=al[0],sd=al[1],zd=ld.has("click"),Ld=sd.has("click")||sd.has("contextMenu"),Cs=(0,Fs.Z)(function(){bs||hr()}),Dc=function(){Do.current&&To&&Ld&&wl(!1)};li(so,oi,sl,Cs,Dc),(0,Tn.Z)(function(){Cs()},[id,Vr]),(0,Tn.Z)(function(){so&&!(lr!=null&&lr[Vr])&&Cs()},[JSON.stringify(ka)]);var cc=ne.useMemo(function(){var mr=Ea(lr,De,hi,To);return nn()(mr,Lr==null?void 0:Lr(hi))},[hi,Lr,lr,De,To]);ne.useImperativeHandle(fe,function(){return{forceAlign:Cs}});var uc=ne.useState(0),Ad=(0,Ce.Z)(uc,2),Mc=Ad[0],gc=Ad[1],Bc=ne.useState(0),Hd=(0,Ce.Z)(Bc,2),Gd=Hd[0],fc=Hd[1],tc=function(){if(Sr&&oi){var xo=oi.getBoundingClientRect();gc(xo.width),fc(xo.height)}},Fc=function(){tc(),Cs()},nc=function(xo){Zr(!1),hr(),Nt==null||Nt(xo)},Xl=function(){return new Promise(function(xo){tc(),Ll(function(){return xo})})};(0,Tn.Z)(function(){ii&&(hr(),ii(),Ll(null))},[ii]);function Zs(mr,xo,rl,cl){dl[mr]=function(ol){var jd;cl==null||cl(ol),wl(xo,rl);for(var pc=arguments.length,Ic=new Array(pc>1?pc-1:0),$d=1;$d<pc;$d++)Ic[$d-1]=arguments[$d];(jd=Ri[mr])===null||jd===void 0||jd.call.apply(jd,[Ri,ol].concat(Ic))}}(zd||Ld)&&(dl.onClick=function(mr){var xo;Do.current&&Ld?wl(!1):!Do.current&&zd&&(Ei(mr),wl(!0));for(var rl=arguments.length,cl=new Array(rl>1?rl-1:0),ol=1;ol<rl;ol++)cl[ol-1]=arguments[ol];(xo=Ri.onClick)===null||xo===void 0||xo.call.apply(xo,[Ri,mr].concat(cl))}),si(so,Ld,oi,sl,ln,an,ml,wl);var ac=ld.has("hover"),Nd=sd.has("hover"),ed,rc;ac&&(Zs("onMouseEnter",!0,rt,function(mr){Ei(mr)}),Zs("onPointerEnter",!0,rt,function(mr){Ei(mr)}),ed=function(){(so||bs)&&wl(!0,rt)},To&&(dl.onMouseMove=function(mr){var xo;(xo=Ri.onMouseMove)===null||xo===void 0||xo.call(Ri,mr)})),Nd&&(Zs("onMouseLeave",!1,qt),Zs("onPointerLeave",!1,qt),rc=function(){wl(!1,qt)}),ld.has("focus")&&Zs("onFocus",!0,Dn),sd.has("focus")&&Zs("onBlur",!1,cn),ld.has("contextMenu")&&(dl.onContextMenu=function(mr){var xo;Do.current&&sd.has("contextMenu")?wl(!1):(Ei(mr),wl(!0)),mr.preventDefault();for(var rl=arguments.length,cl=new Array(rl>1?rl-1:0),ol=1;ol<rl;ol++)cl[ol-1]=arguments[ol];(xo=Ri.onContextMenu)===null||xo===void 0||xo.call.apply(xo,[Ri,mr].concat(cl))}),Ki&&(dl.className=nn()(Ri.className,Ki));var Kd=(0,kt.Z)((0,kt.Z)({},Ri),dl),mc={},vc=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];vc.forEach(function(mr){Cr[mr]&&(mc[mr]=function(){for(var xo,rl=arguments.length,cl=new Array(rl),ol=0;ol<rl;ol++)cl[ol]=arguments[ol];(xo=Kd[mr])===null||xo===void 0||xo.call.apply(xo,[Kd].concat(cl)),Cr[mr].apply(Cr,cl)})});var dd=ne.cloneElement(qi,(0,kt.Z)((0,kt.Z)({},Kd),mc)),hc={x:Ns,y:wd},Rc=No?(0,kt.Z)({},No!==!0?No:{}):null;return ne.createElement(ne.Fragment,null,ne.createElement(dc.Z,{disabled:!so,ref:Vo,onResize:Fc},ne.createElement(bd,{getTriggerDOMNode:vi},dd)),ne.createElement(Tt.Provider,{value:fl},ne.createElement(Qs,{portal:te,ref:ji,prefixCls:De,popup:ga,className:nn()(nr,cc),style:wr,target:oi,onMouseEnter:ed,onMouseLeave:rc,onPointerEnter:ed,zIndex:Yr,open:so,keepDom:bs,fresh:Bo,onClick:Uo,mask:ln,motion:Hi,maskMotion:_i,onVisibleChanged:nc,onPrepare:Xl,forceRender:wa,autoDestroy:Zo,getPopupContainer:sn,align:hi,arrow:Rc,arrowPos:hc,ready:Al,offsetX:xd,offsetY:_d,offsetR:Zd,offsetB:Ed,onAlign:Cs,stretch:Sr,targetWidth:Mc/ec,targetHeight:Gd/Ts})))});return ie}var ns=Ps(Yd),Jl={bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:1,adjustY:1}},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:0,adjustY:1}}};function Xs(te){var ie,le=te.prefixCls,fe=te.popupElement,ve=te.popupStyle,De=te.visible,Ae=te.dropdownClassName,Qe=te.dropdownAlign,Xe=te.transitionName,gt=te.getPopupContainer,Yt=te.children,mt=te.range,St=te.popupPlacement,bt=te.direction,Nt="".concat(le,"-dropdown"),rt=function(){return St!==void 0?St:bt==="rtl"?"bottomRight":"bottomLeft"};return ne.createElement(ns,{showAction:[],hideAction:[],popupPlacement:rt(),builtinPlacements:Jl,prefixCls:Nt,popupTransitionName:Xe,popup:fe,popupAlign:Qe,popupVisible:De,popupClassName:nn()(Ae,(ie={},(0,nt.Z)(ie,"".concat(Nt,"-range"),mt),(0,nt.Z)(ie,"".concat(Nt,"-rtl"),bt==="rtl"),ie)),popupStyle:ve,getPopupContainer:gt},Yt)}var de=Xs;function ue(te){var ie=te.prefixCls,le=te.presets,fe=te.onClick,ve=te.onHover;return le.length?ne.createElement("div",{className:"".concat(ie,"-presets")},ne.createElement("ul",null,le.map(function(De,Ae){var Qe=De.label,Xe=De.value;return ne.createElement("li",{key:Ae,onClick:function(){return fe==null?void 0:fe(ho(Xe))},onMouseEnter:function(){return ve==null?void 0:ve(ho(Xe))},onMouseLeave:function(){return ve==null?void 0:ve(null)}},Qe)}))):null}function he(te){var ie=te.picker,le=te.disabledHours,fe=te.disabledMinutes,ve=te.disabledSeconds;ie==="time"&&(le||fe||ve)&&warning(!1,"'disabledHours', 'disabledMinutes', 'disabledSeconds' will be removed in the next major version, please use 'disabledTime' instead.")}function ye(te,ie,le){var fe=(0,jt.Z)(ie)==="object"?ie.clearIcon:le;return fe||ne.createElement("span",{className:"".concat(te,"-clear-btn")})}function Be(te){var ie,le=te,fe=le.prefixCls,ve=fe===void 0?"rc-picker":fe,De=le.id,Ae=le.name,Qe=le.tabIndex,Xe=le.style,gt=le.className,Yt=le.dropdownClassName,mt=le.dropdownAlign,St=le.popupStyle,bt=le.transitionName,Nt=le.generateConfig,rt=le.locale,Et=le.inputReadOnly,qt=le.allowClear,Dn=le.autoFocus,cn=le.showTime,ln=le.picker,qn=ln===void 0?"date":ln,an=le.format,sn=le.use12Hours,wa=le.value,na=le.defaultValue,La=le.presets,ga=le.open,nr=le.defaultOpen,wr=le.defaultOpenValue,Vr=le.suffixIcon,ar=le.clearIcon,lr=le.disabled,ka=le.disabledDate,Yr=le.placeholder,Sr=le.getPopupContainer,Lr=le.pickerRef,Bo=le.panelRender,To=le.onChange,Uo=le.onOpenChange,Pi=le.onFocus,No=le.onBlur,ci=le.onMouseDown,io=le.onMouseUp,vo=le.onMouseEnter,Fo=le.onMouseLeave,ui=le.onContextMenu,mi=le.onClick,Ki=le.onKeyDown,vi=le.onSelect,Cr=le.direction,Zo=le.autoComplete,bo=Zo===void 0?"off":Zo,Qr=le.inputRender,_a=le.changeOnBlur,ao=ne.useRef(null),Ko=qn==="date"&&!!cn||qn==="time",Ji=Ar(La),fl=ca(Pr(an,qn,cn,sn)),zi=ne.useRef(null),as=ne.useRef(null),ys=ne.useRef(null),sl=(0,hn.Z)(null,{value:wa,defaultValue:na}),Xi=(0,Ce.Z)(sl,2),ji=Xi[0],xr=Xi[1],Ro=ne.useState(ji),oi=(0,Ce.Z)(Ro,2),$i=oi[0],Vo=oi[1],qi=ne.useRef(null),Ri=(0,hn.Z)(!1,{value:ga,defaultValue:nr,postState:function(hr){return lr?!1:hr},onChange:function(hr){Uo&&Uo(hr),!hr&&qi.current&&qi.current.onClose&&qi.current.onClose()}}),dl=(0,Ce.Z)(Ri,2),ml=dl[0],Hi=dl[1],_i=Bt($i,{formatList:fl,generateConfig:Nt,locale:rt}),Wi=(0,Ce.Z)(_i,2),vl=Wi[0],Hl=Wi[1],Co=et({valueTexts:vl,onTextChange:function(hr){var nl=We(hr,{locale:rt,formatList:fl,generateConfig:Nt});nl&&(!ka||!ka(nl))&&Vo(nl)}}),so=(0,Ce.Z)(Co,3),yl=so[0],Do=so[1],rs=so[2],Gl=function(hr){Vo(hr),xr(hr),To&&!Ke(Nt,ji,hr)&&To(hr,hr?tn(hr,{generateConfig:Nt,locale:rt,format:fl[0]}):"")},Kl=function(hr){lr&&hr||Hi(hr)},wl=function(hr){return ml&&qi.current&&qi.current.onKeyDown?qi.current.onKeyDown(hr):((0,Ie.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},os=function(){for(var hr=arguments.length,nl=new Array(hr),al=0;al<hr;al++)nl[al]=arguments[al];mi==null||mi.apply(void 0,nl),ao.current&&(ao.current.focus(),Kl(!0))},qs=function(hr){_a&&Gl($i),No==null||No(hr)},bs=Oa({blurToCancel:Ko,open:ml,value:yl,triggerOpen:Kl,forwardKeyDown:wl,isClickOutside:function(hr){return!Ln([zi.current,as.current,ys.current],hr)},onSubmit:function(){return!$i||ka&&ka($i)?!1:(Gl($i),Kl(!1),rs(),!0)},onCancel:function(){Kl(!1),Vo(ji),rs()},onKeyDown:function(hr,nl){Ki==null||Ki(hr,nl)},onFocus:Pi,onBlur:qs,changeOnBlur:_a}),Zr=(0,Ce.Z)(bs,2),Ta=Zr[0],oo=Zr[1],ii=oo.focused,Ll=oo.typing;ne.useEffect(function(){ml||(Vo(ji),!vl.length||vl[0]===""?Do(""):Hl!==yl&&rs())},[ml,vl]),ne.useEffect(function(){ml||rs()},[qn]),ne.useEffect(function(){Vo(ji)},[ji]),Lr&&(Lr.current={focus:function(){var hr;(hr=ao.current)===null||hr===void 0||hr.focus()},blur:function(){var hr;(hr=ao.current)===null||hr===void 0||hr.blur()}});var Is=Wt(yl,{formatList:fl,generateConfig:Nt,locale:rt}),As=(0,Ce.Z)(Is,3),id=As[0],_s=As[1],Ei=As[2],Jr=(0,kt.Z)((0,kt.Z)({},te),{},{className:void 0,style:void 0,pickerValue:void 0,onPickerValueChange:void 0,onChange:null}),Bl=ne.createElement("div",{className:"".concat(ve,"-panel-layout")},ne.createElement(ue,{prefixCls:ve,presets:Ji,onClick:function(hr){Gl(hr),Kl(!1)}}),ne.createElement(Hr,(0,oe.Z)({},Jr,{generateConfig:Nt,className:nn()((0,nt.Z)({},"".concat(ve,"-panel-focused"),!Ll)),value:$i,locale:rt,tabIndex:-1,onSelect:function(hr){vi==null||vi(hr),Vo(hr)},direction:Cr,onPanelChange:function(hr,nl){var al=te.onPanelChange;Ei(!0),al==null||al(hr,nl)}})));Bo&&(Bl=Bo(Bl));var Al=ne.createElement("div",{className:"".concat(ve,"-panel-container"),ref:zi,onMouseDown:function(hr){hr.preventDefault()}},Bl),xd;Vr&&(xd=ne.createElement("span",{className:"".concat(ve,"-suffix"),onMouseDown:function(hr){hr.preventDefault()}},Vr));var _d=ye(ve,qt,ar),Zd=ne.createElement("span",{onMouseDown:function(hr){hr.preventDefault(),hr.stopPropagation()},onMouseUp:function(hr){hr.preventDefault(),hr.stopPropagation(),Gl(null),Kl(!1)},className:"".concat(ve,"-clear"),role:"button"},_d),Ed=!!qt&&ji&&!lr,Ns=(0,kt.Z)((0,kt.Z)((0,kt.Z)({id:De,tabIndex:Qe,disabled:lr,readOnly:Et||typeof fl[0]=="function"||!Ll,value:id||yl,onChange:function(hr){Do(hr.target.value)},autoFocus:Dn,placeholder:Yr,ref:ao,title:yl},Ta),{},{size:Tr(qn,fl[0],Nt),name:Ae},(0,zn.Z)(te,{aria:!0,data:!0})),{},{autoComplete:bo}),wd=Qr?Qr(Ns):ne.createElement("input",Ns),ec=function(hr,nl){(nl==="submit"||nl!=="key"&&!Ko)&&(Gl(hr),Kl(!1))},Ts=Cr==="rtl"?"bottomRight":"bottomLeft";return ne.createElement(Ve.Provider,{value:{operationRef:qi,hideHeader:qn==="time",onSelect:ec,open:ml,defaultOpenValue:wr,onDateMouseEnter:_s,onDateMouseLeave:Ei}},ne.createElement(de,{visible:ml,popupElement:Al,popupStyle:St,prefixCls:ve,dropdownClassName:Yt,dropdownAlign:mt,getPopupContainer:Sr,transitionName:bt,popupPlacement:Ts,direction:Cr},ne.createElement("div",{ref:ys,className:nn()(ve,gt,(ie={},(0,nt.Z)(ie,"".concat(ve,"-disabled"),lr),(0,nt.Z)(ie,"".concat(ve,"-focused"),ii),(0,nt.Z)(ie,"".concat(ve,"-rtl"),Cr==="rtl"),ie)),style:Xe,onMouseDown:ci,onMouseUp:io,onMouseEnter:vo,onMouseLeave:Fo,onContextMenu:ui,onClick:os},ne.createElement("div",{className:nn()("".concat(ve,"-input"),(0,nt.Z)({},"".concat(ve,"-input-placeholder"),!!id)),ref:as},wd,xd,Ed&&Zd))))}var Oe=function(te){(0,Ft.Z)(le,te);var ie=(0,Rn.Z)(le);function le(){var fe;(0,vn.Z)(this,le);for(var ve=arguments.length,De=new Array(ve),Ae=0;Ae<ve;Ae++)De[Ae]=arguments[Ae];return fe=ie.call.apply(ie,[this].concat(De)),(0,nt.Z)((0,Ct.Z)(fe),"pickerRef",ne.createRef()),(0,nt.Z)((0,Ct.Z)(fe),"focus",function(){fe.pickerRef.current&&fe.pickerRef.current.focus()}),(0,nt.Z)((0,Ct.Z)(fe),"blur",function(){fe.pickerRef.current&&fe.pickerRef.current.blur()}),fe}return(0,Ue.Z)(le,[{key:"render",value:function(){return ne.createElement(Be,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),le}(ne.Component),Je=Oe;function at(te,ie){var le=te.picker,fe=te.locale,ve=te.selectedValue,De=te.disabledDate,Ae=te.disabled,Qe=te.generateConfig,Xe=Wn(ve,0),gt=Wn(ve,1);function Yt(rt){return Qe.locale.getWeekFirstDate(fe.locale,rt)}function mt(rt){var Et=Qe.getYear(rt),qt=Qe.getMonth(rt);return Et*100+qt}function St(rt){var Et=Qe.getYear(rt),qt=Pn(Qe,rt);return Et*10+qt}var bt=ne.useCallback(function(rt){if(Ae[0]||De&&De(rt))return!0;if(Ae[1]&&gt)return!Hn(Qe,rt,gt)&&Qe.isAfter(rt,gt);if(!ie&&gt)switch(le){case"quarter":return St(rt)>St(gt);case"month":return mt(rt)>mt(gt);case"week":return Yt(rt)>Yt(gt);default:return!Hn(Qe,rt,gt)&&Qe.isAfter(rt,gt)}return!1},[De,Ae[1],gt,ie]),Nt=ne.useCallback(function(rt){if(Ae[1]||De&&De(rt))return!0;if(Ae[0]&&Xe)return!Hn(Qe,rt,gt)&&Qe.isAfter(Xe,rt);if(!ie&&Xe)switch(le){case"quarter":return St(rt)<St(Xe);case"month":return mt(rt)<mt(Xe);case"week":return Yt(rt)<Yt(Xe);default:return!Hn(Qe,rt,Xe)&&Qe.isAfter(Xe,rt)}return!1},[De,Ae[0],Xe,ie]);return[bt,Nt]}function tt(te,ie,le,fe,ve,De,Ae,Qe,Xe,gt){var Yt=ne.useState(!1),mt=(0,Ce.Z)(Yt,2),St=mt[0],bt=mt[1],Nt=(0,jo.useMergedState)(te||!1,{value:ie}),rt=(0,Ce.Z)(Nt,2),Et=rt[0],qt=rt[1],Dn=(0,jo.useMergedState)(te||!1,{value:ie,onChange:function(ka){gt==null||gt(ka)}}),cn=(0,Ce.Z)(Dn,2),ln=cn[0],qn=cn[1],an=(0,jo.useMergedState)(0,{value:le}),sn=(0,Ce.Z)(an,2),wa=sn[0],na=sn[1],La=ne.useState(null),ga=(0,Ce.Z)(La,2),nr=ga[0],wr=ga[1];ne.useEffect(function(){ln&&bt(!0)},[ln]);var Vr=function(ka){return ka===0?1:0},ar=(0,Fs.Z)(function(lr,ka,Yr){if(ka===!1)qn(lr);else if(lr){na(ka),qn(lr);var Sr=Vr(ka);!ln||![Ae,Qe][Sr]?wr(Sr):(bt(!1),nr!==null&&wr(null))}else if(Yr==="confirm"||Yr==="blur"&&fe){var Lr=Et?Vr(ka):nr;Lr!==null&&(bt(!1),na(Lr)),wr(null),Lr!==null&&!Xe[Lr]?(0,yn.Z)(function(){var Bo,To=[ve,De][Lr];(Bo=To.current)===null||Bo===void 0||Bo.focus()}):qn(!1)}else qn(!1),qt(!1)});return[ln,wa,St,ar]}function yt(te,ie,le,fe){var ve=st(te,le,fe,1);function De(Ae){return Ae(te,ie)?"same":Ae(ve,ie)?"closing":"far"}switch(le){case"year":return De(function(Ae,Qe){return Gt(fe,Ae,Qe)});case"quarter":case"month":return De(function(Ae,Qe){return _t(fe,Ae,Qe)});default:return De(function(Ae,Qe){return Gn(fe,Ae,Qe)})}}function Ht(te,ie,le,fe){var ve=Wn(te,0),De=Wn(te,1);if(ie===0)return ve;if(ve&&De){var Ae=yt(ve,De,le,fe);switch(Ae){case"same":return ve;case"closing":return ve;default:return st(De,le,fe,-1)}}return ve}function Lt(te){var ie=te.values,le=te.picker,fe=te.defaultDates,ve=te.generateConfig,De=ne.useState(function(){return[Wn(fe,0),Wn(fe,1)]}),Ae=(0,Ce.Z)(De,2),Qe=Ae[0],Xe=Ae[1],gt=ne.useState(null),Yt=(0,Ce.Z)(gt,2),mt=Yt[0],St=Yt[1],bt=Wn(ie,0),Nt=Wn(ie,1);function rt(qt){return Qe[qt]?Qe[qt]:Wn(mt,qt)||Ht(ie,qt,le,ve)||bt||Nt||ve.getNow()}function Et(qt,Dn){if(qt){var cn=Ba(mt,qt,Dn);Xe(Ba(Qe,null,Dn)||[null,null]);var ln=(Dn+1)%2;Wn(ie,ln)||(cn=Ba(cn,qt,ln)),St(cn)}else(bt||Nt)&&St(null)}return[rt,Et]}function rn(te,ie){return te&&te[0]&&te[1]&&ie.isAfter(te[0],te[1])?[te[1],te[0]]:te}function on(te,ie,le,fe){return!!(te||fe&&fe[ie]||le[(ie+1)%2])}function fn(te){var ie,le,fe,ve=te,De=ve.prefixCls,Ae=De===void 0?"rc-picker":De,Qe=ve.id,Xe=ve.style,gt=ve.className,Yt=ve.popupStyle,mt=ve.dropdownClassName,St=ve.transitionName,bt=ve.dropdownAlign,Nt=ve.getPopupContainer,rt=ve.generateConfig,Et=ve.locale,qt=ve.placeholder,Dn=ve.autoFocus,cn=ve.disabled,ln=ve.format,qn=ve.picker,an=qn===void 0?"date":qn,sn=ve.showTime,wa=ve.use12Hours,na=ve.separator,La=na===void 0?"~":na,ga=ve.value,nr=ve.defaultValue,wr=ve.defaultPickerValue,Vr=ve.open,ar=ve.defaultOpen,lr=ve.disabledDate,ka=ve.disabledTime,Yr=ve.dateRender,Sr=ve.monthCellRender,Lr=ve.cellRender,Bo=ve.panelRender,To=ve.presets,Uo=ve.ranges,Pi=ve.allowEmpty,No=ve.allowClear,ci=ve.suffixIcon,io=ve.clearIcon,vo=ve.pickerRef,Fo=ve.inputReadOnly,ui=ve.mode,mi=ve.renderExtraFooter,Ki=ve.onChange,vi=ve.onOpenChange,Cr=ve.onPanelChange,Zo=ve.onCalendarChange,bo=ve.onFocus,Qr=ve.onBlur,_a=ve.onMouseDown,ao=ve.onMouseUp,Ko=ve.onMouseEnter,Ji=ve.onMouseLeave,fl=ve.onClick,zi=ve.onOk,as=ve.onKeyDown,ys=ve.components,sl=ve.order,Xi=ve.direction,ji=ve.activePickerIndex,xr=ve.autoComplete,Ro=xr===void 0?"off":xr,oi=ve.changeOnBlur,$i=an==="date"&&!!sn||an==="time",Vo=(0,ne.useRef)(null),qi=(0,ne.useRef)(null),Ri=(0,ne.useRef)(null),dl=(0,ne.useRef)(null),ml=(0,ne.useRef)(null),Hi=(0,ne.useRef)(null),_i=(0,ne.useRef)(null),Wi=(0,ne.useRef)(null),vl=ca(Pr(ln,an,sn,wa)),Hl=(0,ne.useRef)(null),Co=ne.useMemo(function(){return Array.isArray(cn)?cn:[cn||!1,cn||!1]},[cn]),so=(0,hn.Z)(null,{value:ga,defaultValue:nr,postState:function(ur){return an==="time"&&!sl?ur:rn(ur,rt)}}),yl=(0,Ce.Z)(so,2),Do=yl[0],rs=yl[1],Gl=Lt({values:Do,picker:an,defaultDates:wr,generateConfig:rt}),Kl=(0,Ce.Z)(Gl,2),wl=Kl[0],os=Kl[1],qs=(0,hn.Z)(Do,{postState:function(ur){var $r=ur;if(Co[0]&&Co[1])return $r;for(var _o=0;_o<2;_o+=1)Co[_o]&&!$r&&!Wn($r,_o)&&!Wn(Pi,_o)&&($r=Ba($r,rt.getNow(),_o));return $r}}),bs=(0,Ce.Z)(qs,2),Zr=bs[0],Ta=bs[1],oo=(0,hn.Z)([an,an],{value:ui}),ii=(0,Ce.Z)(oo,2),Ll=ii[0],Is=ii[1];(0,ne.useEffect)(function(){Is([an,an])},[an]);var As=function(ur,$r){Is(ur),Cr&&Cr($r,ur)},id=tt(ar,Vr,ji,oi,Hi,_i,Wn(Zr,0),Wn(Zr,1),Co,vi),_s=(0,Ce.Z)(id,4),Ei=_s[0],Jr=_s[1],Bl=_s[2],Al=_s[3],xd=Ei&&Jr===0,_d=Ei&&Jr===1,Zd=at({picker:an,selectedValue:Zr,locale:Et,disabled:Co,disabledDate:lr,generateConfig:rt},!Ei||Bl),Ed=(0,Ce.Z)(Zd,2),Ns=Ed[0],wd=Ed[1],ec=(0,ne.useState)(0),Ts=(0,Ce.Z)(ec,2),hi=Ts[0],hr=Ts[1];(0,ne.useEffect)(function(){!Ei&&Vo.current&&hr(Vo.current.offsetWidth)},[Ei]);function nl(Jo){Al(!0,Jo,"open"),(0,yn.Z)(function(){var ur,$r=[Hi,_i][Jo];(ur=$r.current)===null||ur===void 0||ur.focus()},0)}function al(Jo,ur){var $r=Jo,_o=Wn($r,0),el=Wn($r,1);_o&&el&&rt.isAfter(_o,el)&&(an==="week"&&!Ee(rt,Et.locale,_o,el)||an==="quarter"&&!Qn(rt,_o,el)||an!=="week"&&an!=="quarter"&&an!=="time"&&!Hn(rt,_o,el)?ur===0?($r=[_o,null],el=null):(_o=null,$r=[null,el]):(an!=="time"||sl!==!1)&&($r=rn($r,rt))),Ta($r);var Sc=$r&&$r[0]?tn($r[0],{generateConfig:rt,locale:Et,format:vl[0]}):"",td=$r&&$r[1]?tn($r[1],{generateConfig:rt,locale:Et,format:vl[0]}):"";if(Zo){var Ud={range:ur===0?"start":"end"};Zo($r,[Sc,td],Ud)}var Vd=on(_o,0,Co,Pi),kc=on(el,1,Co,Pi),oc=$r===null||Vd&&kc;oc&&(rs($r),Ki&&(!Ke(rt,Wn(Do,0),_o)||!Ke(rt,Wn(Do,1),el))&&Ki($r,[Sc,td]))}var ld=function(ur){return Ei&&Hl.current&&Hl.current.onKeyDown?Hl.current.onKeyDown(ur):((0,Ie.ZP)(!1,"Picker not correct forward KeyDown operation. Please help to fire issue about this."),!1)},sd={formatList:vl,generateConfig:rt,locale:Et},zd=Bt(Wn(Zr,0),sd),Ld=(0,Ce.Z)(zd,2),Cs=Ld[0],Dc=Ld[1],cc=Bt(Wn(Zr,1),sd),uc=(0,Ce.Z)(cc,2),Ad=uc[0],Mc=uc[1],gc=function(ur,$r){var _o=We(ur,{locale:Et,formatList:vl,generateConfig:rt}),el=$r===0?Ns:wd;_o&&!el(_o)&&(Ta(Ba(Zr,_o,$r)),os(_o,$r))},Bc=et({valueTexts:Cs,onTextChange:function(ur){return gc(ur,0)}}),Hd=(0,Ce.Z)(Bc,3),Gd=Hd[0],fc=Hd[1],tc=Hd[2],Fc=et({valueTexts:Ad,onTextChange:function(ur){return gc(ur,1)}}),nc=(0,Ce.Z)(Fc,3),Xl=nc[0],Zs=nc[1],ac=nc[2],Nd=(0,ne.useState)(null),ed=(0,Ce.Z)(Nd,2),rc=ed[0],Kd=ed[1],mc=(0,ne.useState)(null),vc=(0,Ce.Z)(mc,2),dd=vc[0],hc=vc[1],Rc=Wt(Gd,{formatList:vl,generateConfig:rt,locale:Et}),mr=(0,Ce.Z)(Rc,3),xo=mr[0],rl=mr[1],cl=mr[2],ol=Wt(Xl,{formatList:vl,generateConfig:rt,locale:Et}),jd=(0,Ce.Z)(ol,3),pc=jd[0],Ic=jd[1],$d=jd[2],au=function(ur){hc(Ba(Zr,ur,Jr)),Jr===0?rl(ur):Ic(ur)},ru=function(){hc(Ba(Zr,null,Jr)),Jr===0?cl():$d()},ou=ne.useState(Ei),Gc=(0,Ce.Z)(ou,2),iu=Gc[0],lu=Gc[1];ne.useEffect(function(){lu(Ei)},[Ei]);var su=function(ur){if(oi&&iu){var $r=Wn(Zr,Jr);$r&&al(Zr,Jr)}return Qr==null?void 0:Qr(ur)},Kc=function(ur,$r){return{blurToCancel:!oi&&$i,forwardKeyDown:ld,onBlur:su,isClickOutside:function(el){return!Ln([qi.current,Ri.current,dl.current,Vo.current],el)},onFocus:function(el){bo&&bo(el)},triggerOpen:function(el){el?Al(el,ur,"open"):Al(el,Wn(Zr,ur)?ur:!1,"blur")},onSubmit:function(){if(!Zr||lr&&lr(Zr[ur]))return!1;al(Zr,ur),$r(),Al(!1,Jr,"confirm")},onCancel:function(){Al(!1,ur,"cancel"),Ta(Do),$r()}}},jc={onKeyDown:function(ur,$r){as==null||as(ur,$r)},changeOnBlur:oi},du=Oa((0,kt.Z)((0,kt.Z)({},Kc(0,tc)),{},{open:xd,value:Gd},jc)),$c=(0,Ce.Z)(du,2),cu=$c[0],Wc=$c[1],Uc=Wc.focused,Vc=Wc.typing,uu=Oa((0,kt.Z)((0,kt.Z)({},Kc(1,ac)),{},{open:_d,value:Xl},jc)),Yc=(0,Ce.Z)(uu,2),gu=Yc[0],Qc=Yc[1],Jc=Qc.focused,Xc=Qc.typing,fu=function(ur){fl&&fl(ur),!Ei&&!Hi.current.contains(ur.target)&&!_i.current.contains(ur.target)&&(Co[0]?Co[1]||nl(1):nl(0))},mu=function(ur){_a&&_a(ur),Ei&&(Uc||Jc)&&!Hi.current.contains(ur.target)&&!_i.current.contains(ur.target)&&ur.preventDefault()},vu=Do&&Do[0]?tn(Do[0],{locale:Et,format:"YYYYMMDDHHmmss",generateConfig:rt}):"",hu=Do&&Do[1]?tn(Do[1],{locale:Et,format:"YYYYMMDDHHmmss",generateConfig:rt}):"";(0,ne.useEffect)(function(){Ei||(Ta(Do),!Cs.length||Cs[0]===""?fc(""):Dc!==Gd&&tc(),!Ad.length||Ad[0]===""?Zs(""):Mc!==Xl&&ac())},[Ei,Cs,Ad]),(0,ne.useEffect)(function(){Ta(Do)},[vu,hu]);var Tc=bn({cellRender:Lr,monthCellRender:Sr,dateRender:Yr}),pu=ne.useMemo(function(){if(Tc)return function(Jo,ur){return Tc(Jo,(0,kt.Z)((0,kt.Z)({},ur),{},{range:Jr?"end":"start"}))}},[Jr,Tc]);vo&&(vo.current={focus:function(){Hi.current&&Hi.current.focus()},blur:function(){Hi.current&&Hi.current.blur(),_i.current&&_i.current.blur()}});var Su=Ar(To,Uo);function Zc(){var Jo=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ur=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},$r=null;Ei&&dd&&dd[0]&&dd[1]&&rt.isAfter(dd[1],dd[0])&&($r=dd);var _o=sn;if(sn&&(0,jt.Z)(sn)==="object"&&sn.defaultValue){var el=sn.defaultValue;_o=(0,kt.Z)((0,kt.Z)({},sn),{},{defaultValue:Wn(el,Jr)||void 0})}return ne.createElement(ot.Provider,{value:{inRange:!0,panelPosition:Jo,rangedValue:rc||Zr,hoverRangedValue:$r}},ne.createElement(Hr,(0,oe.Z)({},te,ur,{cellRender:pu,showTime:_o,mode:Ll[Jr],generateConfig:rt,style:void 0,direction:Xi,disabledDate:Jr===0?Ns:wd,disabledTime:function(td){return ka?ka(td,Jr===0?"start":"end"):!1},className:nn()((0,nt.Z)({},"".concat(Ae,"-panel-focused"),Jr===0?!Vc:!Xc)),value:Wn(Zr,Jr),locale:Et,tabIndex:-1,onPanelChange:function(td,Ud){Jr===0&&cl(!0),Jr===1&&$d(!0),As(Ba(Ll,Ud,Jr),Ba(Zr,td,Jr));var Vd=td;Jo==="right"&&Ll[Jr]===Ud&&(Vd=st(Vd,Ud,rt,-1)),os(Vd,Jr)},onOk:null,onSelect:void 0,onChange:void 0,defaultValue:Jr===0?Wn(Zr,1):Wn(Zr,0)})))}var Wd=0,qc=0;if(Jr&&Ri.current&&ml.current&&qi.current&&Wi.current){Wd=Ri.current.offsetWidth+ml.current.offsetWidth;var Pu=Wi.current.offsetLeft>Wd?Wi.current.offsetLeft-Wd:Wi.current.offsetLeft,_c=qi.current.offsetWidth,eu=Wi.current.offsetWidth;_c&&eu&&Wd>_c-eu-(Xi==="rtl"?0:Pu)&&(qc=Wd)}var yu=Xi==="rtl"?{right:Wd}:{left:Wd};function bu(){var Jo,ur=Pa(Ae,Ll[Jr],mi),$r=pa({prefixCls:Ae,components:ys,needConfirmButton:$i,okDisabled:!Wn(Zr,Jr)||lr&&lr(Zr[Jr]),locale:Et,onOk:function(){var nd=Wn(Zr,Jr);nd&&(al(Zr,Jr),zi==null||zi(Zr),Al(!1,Jr,"confirm"))}});if(an!=="time"&&!sn){var _o=wl(Jr),el=st(_o,an,rt),Sc=Ll[Jr],td=Sc===an,Ud=Zc(td?"left":!1,{pickerValue:_o,onPickerValueChange:function(nd){os(nd,Jr)}}),Vd=Zc("right",{pickerValue:el,onPickerValueChange:function(nd){os(st(nd,an,rt,-1),Jr)}});Xi==="rtl"?Jo=ne.createElement(ne.Fragment,null,Vd,td&&Ud):Jo=ne.createElement(ne.Fragment,null,Ud,td&&Vd)}else Jo=Zc();var kc=ne.createElement("div",{className:"".concat(Ae,"-panel-layout")},ne.createElement(ue,{prefixCls:Ae,presets:Su,onClick:function(nd){al(nd,null),Al(!1,Jr,"preset")},onHover:function(nd){Kd(nd)}}),ne.createElement("div",null,ne.createElement("div",{className:"".concat(Ae,"-panels")},Jo),(ur||$r)&&ne.createElement("div",{className:"".concat(Ae,"-footer")},ur,$r)));return Bo&&(kc=Bo(kc)),ne.createElement("div",{className:"".concat(Ae,"-panel-container"),style:{marginLeft:qc},ref:qi,onMouseDown:function(nd){nd.preventDefault()}},kc)}var Cu=ne.createElement("div",{className:nn()("".concat(Ae,"-range-wrapper"),"".concat(Ae,"-").concat(an,"-range-wrapper")),style:{minWidth:hi}},ne.createElement("div",{ref:Wi,className:"".concat(Ae,"-range-arrow"),style:yu}),bu()),tu;ci&&(tu=ne.createElement("span",{className:"".concat(Ae,"-suffix"),onMouseDown:function(ur){ur.preventDefault()}},ci));var xu=ye(Ae,No,io),Eu=ne.createElement("span",{onMouseDown:function(ur){ur.preventDefault(),ur.stopPropagation()},onMouseUp:function(ur){ur.preventDefault(),ur.stopPropagation();var $r=Do;Co[0]||($r=Ba($r,null,0)),Co[1]||($r=Ba($r,null,1)),al($r,null),Al(!1,Jr,"clear")},className:"".concat(Ae,"-clear"),role:"button"},xu),wu=No&&(Wn(Do,0)&&!Co[0]||Wn(Do,1)&&!Co[1]),nu={size:Tr(an,vl[0],rt)},zc=0,Hc=0;Ri.current&&dl.current&&ml.current&&(Jr===0?Hc=Ri.current.offsetWidth:(zc=Wd,Hc=dl.current.offsetWidth));var Lu=Xi==="rtl"?{right:zc}:{left:zc},Au=function(ur,$r){var _o=Ba(Zr,ur,Jr);if($r==="submit"||$r!=="key"&&!$i){al(_o,Jr),Jr===0?cl():$d();var el=Jr===0?1:0;Co[el]?Al(!1,!1,"confirm"):Al(!1,Jr,"confirm")}else Ta(_o)};return ne.createElement(Ve.Provider,{value:{operationRef:Hl,hideHeader:an==="time",onDateMouseEnter:au,onDateMouseLeave:ru,hideRanges:!0,onSelect:Au,open:Ei}},ne.createElement(de,{visible:Ei,popupElement:Cu,popupStyle:Yt,prefixCls:Ae,dropdownClassName:mt,dropdownAlign:bt,getPopupContainer:Nt,transitionName:St,range:!0,direction:Xi},ne.createElement("div",(0,oe.Z)({ref:Vo,className:nn()(Ae,"".concat(Ae,"-range"),gt,(ie={},(0,nt.Z)(ie,"".concat(Ae,"-disabled"),Co[0]&&Co[1]),(0,nt.Z)(ie,"".concat(Ae,"-focused"),Jr===0?Uc:Jc),(0,nt.Z)(ie,"".concat(Ae,"-rtl"),Xi==="rtl"),ie)),style:Xe,onClick:fu,onMouseEnter:Ko,onMouseLeave:Ji,onMouseDown:mu,onMouseUp:ao},(0,zn.Z)(te,{aria:!0,data:!0})),ne.createElement("div",{className:nn()("".concat(Ae,"-input"),(le={},(0,nt.Z)(le,"".concat(Ae,"-input-active"),Jr===0),(0,nt.Z)(le,"".concat(Ae,"-input-placeholder"),!!xo),le)),ref:Ri},ne.createElement("input",(0,oe.Z)({id:Qe,disabled:Co[0],readOnly:Fo||typeof vl[0]=="function"||!Vc,value:xo||Gd,onChange:function(ur){fc(ur.target.value)},autoFocus:Dn,placeholder:Wn(qt,0)||"",ref:Hi},cu,nu,{autoComplete:Ro}))),ne.createElement("div",{className:"".concat(Ae,"-range-separator"),ref:ml},La),ne.createElement("div",{className:nn()("".concat(Ae,"-input"),(fe={},(0,nt.Z)(fe,"".concat(Ae,"-input-active"),Jr===1),(0,nt.Z)(fe,"".concat(Ae,"-input-placeholder"),!!pc),fe)),ref:dl},ne.createElement("input",(0,oe.Z)({disabled:Co[1],readOnly:Fo||typeof vl[0]=="function"||!Xc,value:pc||Xl,onChange:function(ur){Zs(ur.target.value)},placeholder:Wn(qt,1)||"",ref:_i},gu,nu,{autoComplete:Ro}))),ne.createElement("div",{className:"".concat(Ae,"-active-bar"),style:(0,kt.Z)((0,kt.Z)({},Lu),{},{width:Hc,position:"absolute"})}),tu,wu&&Eu)))}var Xn=function(te){(0,Ft.Z)(le,te);var ie=(0,Rn.Z)(le);function le(){var fe;(0,vn.Z)(this,le);for(var ve=arguments.length,De=new Array(ve),Ae=0;Ae<ve;Ae++)De[Ae]=arguments[Ae];return fe=ie.call.apply(ie,[this].concat(De)),(0,nt.Z)((0,Ct.Z)(fe),"pickerRef",ne.createRef()),(0,nt.Z)((0,Ct.Z)(fe),"focus",function(){fe.pickerRef.current&&fe.pickerRef.current.focus()}),(0,nt.Z)((0,Ct.Z)(fe),"blur",function(){fe.pickerRef.current&&fe.pickerRef.current.blur()}),fe}return(0,Ue.Z)(le,[{key:"render",value:function(){return ne.createElement(fn,(0,oe.Z)({},this.props,{pickerRef:this.pickerRef}))}}]),le}(ne.Component),Fn=Xn,ea=Je,Zn=ee(9708),la=ee(53124),Ra=ee(98866),Qa=ee(98675),Ma=ee(65223),fr=ee(10110),Dr=ee(4173),Sa=ee(16516),Na=ee(84780),ua=ee(47673),ia=ee(14747),Da=ee(79511),Wa=ee(80110),vr=ee(67771),Er=ee(33297),Ha=ee(45503),Or=ee(67968);const Kr=(te,ie,le,fe)=>{const{lineHeight:ve}=te,De=Math.floor(le*ve)+2,Ae=Math.max((ie-De)/2,0),Qe=Math.max(ie-De-Ae,0);return{padding:`${Ae}px ${fe}px ${Qe}px`}},Mo=te=>{const{componentCls:ie,pickerCellCls:le,pickerCellInnerCls:fe,cellHeight:ve,motionDurationSlow:De,borderRadiusSM:Ae,motionDurationMid:Qe,cellHoverBg:Xe,lineWidth:gt,lineType:Yt,colorPrimary:mt,cellActiveWithRangeBg:St,colorTextLightSolid:bt,controlHeightSM:Nt,cellRangeBorderColor:rt,pickerCellBorderGap:Et,cellHoverWithRangeBg:qt,cellWidth:Dn,colorTextDisabled:cn,cellBgDisabled:ln}=te;return{"&::before":{position:"absolute",top:"50%",insetInlineStart:0,insetInlineEnd:0,zIndex:1,height:ve,transform:"translateY(-50%)",transition:`all ${De}`,content:'""'},[fe]:{position:"relative",zIndex:2,display:"inline-block",minWidth:ve,height:ve,lineHeight:`${ve}px`,borderRadius:Ae,transition:`background ${Qe}, border ${Qe}`},"&-range-hover-start, &-range-hover-end":{[fe]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:hover:not(${le}-in-view),
&:hover:not(${le}-selected):not(${le}-range-start):not(${le}-range-end):not(${le}-range-hover-start):not(${le}-range-hover-end)`]:{[fe]:{background:Xe}},[`&-in-view${le}-today ${fe}`]:{"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:1,border:`${gt}px ${Yt} ${mt}`,borderRadius:Ae,content:'""'}},[`&-in-view${le}-in-range`]:{position:"relative","&::before":{background:St}},[`&-in-view${le}-selected ${fe},
&-in-view${le}-range-start ${fe},
&-in-view${le}-range-end ${fe}`]:{color:bt,background:mt},[`&-in-view${le}-range-start:not(${le}-range-start-single),
&-in-view${le}-range-end:not(${le}-range-end-single)`]:{"&::before":{background:St}},[`&-in-view${le}-range-start::before`]:{insetInlineStart:"50%"},[`&-in-view${le}-range-end::before`]:{insetInlineEnd:"50%"},[`&-in-view${le}-range-hover-start:not(${le}-in-range):not(${le}-range-start):not(${le}-range-end),
&-in-view${le}-range-hover-end:not(${le}-in-range):not(${le}-range-start):not(${le}-range-end),
&-in-view${le}-range-hover-start${le}-range-start-single,
&-in-view${le}-range-hover-start${le}-range-start${le}-range-end${le}-range-end-near-hover,
&-in-view${le}-range-hover-end${le}-range-start${le}-range-end${le}-range-start-near-hover,
&-in-view${le}-range-hover-end${le}-range-end-single,
&-in-view${le}-range-hover:not(${le}-in-range)`]:{"&::after":{position:"absolute",top:"50%",zIndex:0,height:Nt,borderTop:`${gt}px dashed ${rt}`,borderBottom:`${gt}px dashed ${rt}`,transform:"translateY(-50%)",transition:`all ${De}`,content:'""'}},"&-range-hover-start::after,\n &-range-hover-end::after,\n &-range-hover::after":{insetInlineEnd:0,insetInlineStart:Et},[`&-in-view${le}-in-range${le}-range-hover::before,
&-in-view${le}-in-range${le}-range-hover-start::before,
&-in-view${le}-in-range${le}-range-hover-end::before,
&-in-view${le}-range-start${le}-range-hover::before,
&-in-view${le}-range-end${le}-range-hover::before,
&-in-view${le}-range-start:not(${le}-range-start-single)${le}-range-hover-start::before,
&-in-view${le}-range-end:not(${le}-range-end-single)${le}-range-hover-end::before,
${ie}-panel
> :not(${ie}-date-panel)
&-in-view${le}-in-range${le}-range-hover-start::before,
${ie}-panel
> :not(${ie}-date-panel)
&-in-view${le}-in-range${le}-range-hover-end::before`]:{background:qt},[`&-in-view${le}-range-start:not(${le}-range-start-single):not(${le}-range-end) ${fe}`]:{borderStartStartRadius:Ae,borderEndStartRadius:Ae,borderStartEndRadius:0,borderEndEndRadius:0},[`&-in-view${le}-range-end:not(${le}-range-end-single):not(${le}-range-start) ${fe}`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Ae,borderEndEndRadius:Ae},[`&-range-hover${le}-range-end::after`]:{insetInlineStart:"50%"},[`tr > &-in-view${le}-range-hover:first-child::after,
tr > &-in-view${le}-range-hover-end:first-child::after,
&-in-view${le}-start${le}-range-hover-edge-start${le}-range-hover-edge-start-near-range::after,
&-in-view${le}-range-hover-edge-start:not(${le}-range-hover-edge-start-near-range)::after,
&-in-view${le}-range-hover-start::after`]:{insetInlineStart:(Dn-ve)/2,borderInlineStart:`${gt}px dashed ${rt}`,borderStartStartRadius:Ae,borderEndStartRadius:Ae},[`tr > &-in-view${le}-range-hover:last-child::after,
tr > &-in-view${le}-range-hover-start:last-child::after,
&-in-view${le}-end${le}-range-hover-edge-end${le}-range-hover-edge-end-near-range::after,
&-in-view${le}-range-hover-edge-end:not(${le}-range-hover-edge-end-near-range)::after,
&-in-view${le}-range-hover-end::after`]:{insetInlineEnd:(Dn-ve)/2,borderInlineEnd:`${gt}px dashed ${rt}`,borderStartEndRadius:Ae,borderEndEndRadius:Ae},"&-disabled":{color:cn,pointerEvents:"none",[fe]:{background:"transparent"},"&::before":{background:ln}},[`&-disabled${le}-today ${fe}::before`]:{borderColor:cn}}},mo=te=>{const{componentCls:ie,pickerCellCls:le,pickerCellInnerCls:fe,pickerYearMonthCellWidth:ve,pickerControlIconSize:De,cellWidth:Ae,paddingSM:Qe,paddingXS:Xe,paddingXXS:gt,colorBgContainer:Yt,lineWidth:mt,lineType:St,borderRadiusLG:bt,colorPrimary:Nt,colorTextHeading:rt,colorSplit:Et,pickerControlIconBorderWidth:qt,colorIcon:Dn,textHeight:cn,motionDurationMid:ln,colorIconHover:qn,fontWeightStrong:an,cellHeight:sn,pickerCellPaddingVertical:wa,colorTextDisabled:na,colorText:La,fontSize:ga,cellHoverWithRangeBg:nr,motionDurationSlow:wr,withoutTimeCellHeight:Vr,pickerQuarterPanelContentHeight:ar,colorLink:lr,colorLinkActive:ka,colorLinkHover:Yr,cellRangeBorderColor:Sr,borderRadiusSM:Lr,colorTextLightSolid:Bo,cellHoverBg:To,timeColumnHeight:Uo,timeColumnWidth:Pi,timeCellHeight:No,controlItemBgActive:ci,marginXXS:io,pickerDatePanelPaddingHorizontal:vo}=te,Fo=Ae*7+vo*2,ui=(Fo-Xe*2)/3-ve-Qe,mi=(Fo-Xe*2)/4-ve;return{[ie]:{"&-panel":{display:"inline-flex",flexDirection:"column",textAlign:"center",background:Yt,border:`${mt}px ${St} ${Et}`,borderRadius:bt,outline:"none","&-focused":{borderColor:Nt},"&-rtl":{direction:"rtl",[`${ie}-prev-icon,
${ie}-super-prev-icon`]:{transform:"rotate(45deg)"},[`${ie}-next-icon,
${ie}-super-next-icon`]:{transform:"rotate(-135deg)"}}},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel,\n &-week-panel,\n &-date-panel,\n &-time-panel":{display:"flex",flexDirection:"column",width:Fo},"&-header":{display:"flex",padding:`0 ${Xe}px`,color:rt,borderBottom:`${mt}px ${St} ${Et}`,"> *":{flex:"none"},button:{padding:0,color:Dn,lineHeight:`${cn}px`,background:"transparent",border:0,cursor:"pointer",transition:`color ${ln}`,fontSize:"inherit"},"> button":{minWidth:"1.6em",fontSize:ga,"&:hover":{color:qn}},"&-view":{flex:"auto",fontWeight:an,lineHeight:`${cn}px`,button:{color:"inherit",fontWeight:"inherit",verticalAlign:"top","&:not(:first-child)":{marginInlineStart:Xe},"&:hover":{color:Nt}}}},"&-prev-icon,\n &-next-icon,\n &-super-prev-icon,\n &-super-next-icon":{position:"relative",display:"inline-block",width:De,height:De,"&::before":{position:"absolute",top:0,insetInlineStart:0,display:"inline-block",width:De,height:De,border:"0 solid currentcolor",borderBlockStartWidth:qt,borderBlockEndWidth:0,borderInlineStartWidth:qt,borderInlineEndWidth:0,content:'""'}},"&-super-prev-icon,\n &-super-next-icon":{"&::after":{position:"absolute",top:Math.ceil(De/2),insetInlineStart:Math.ceil(De/2),display:"inline-block",width:De,height:De,border:"0 solid currentcolor",borderBlockStartWidth:qt,borderBlockEndWidth:0,borderInlineStartWidth:qt,borderInlineEndWidth:0,content:'""'}},"&-prev-icon,\n &-super-prev-icon":{transform:"rotate(-45deg)"},"&-next-icon,\n &-super-next-icon":{transform:"rotate(135deg)"},"&-content":{width:"100%",tableLayout:"fixed",borderCollapse:"collapse","th, td":{position:"relative",minWidth:sn,fontWeight:"normal"},th:{height:sn+wa*2,color:La,verticalAlign:"middle"}},"&-cell":Object.assign({padding:`${wa}px 0`,color:na,cursor:"pointer","&-in-view":{color:La}},Mo(te)),[`&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-start ${fe},
&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-end ${fe}`]:{"&::after":{position:"absolute",top:0,bottom:0,zIndex:-1,background:nr,transition:`all ${wr}`,content:'""'}},[`&-date-panel
${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-start
${fe}::after`]:{insetInlineEnd:-(Ae-sn)/2,insetInlineStart:0},[`&-date-panel ${ie}-cell-in-view${ie}-cell-in-range${ie}-cell-range-hover-end ${fe}::after`]:{insetInlineEnd:0,insetInlineStart:-(Ae-sn)/2},[`&-range-hover${ie}-range-start::after`]:{insetInlineEnd:"50%"},"&-decade-panel,\n &-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ie}-content`]:{height:Vr*4},[fe]:{padding:`0 ${Xe}px`}},"&-quarter-panel":{[`${ie}-content`]:{height:ar},[`${ie}-cell-range-hover-start::after`]:{insetInlineStart:mi,borderInlineStart:`${mt}px dashed ${Sr}`,[`${ie}-panel-rtl &`]:{insetInlineEnd:mi,borderInlineEnd:`${mt}px dashed ${Sr}`}},[`${ie}-cell-range-hover-end::after`]:{insetInlineEnd:mi,borderInlineEnd:`${mt}px dashed ${Sr}`,[`${ie}-panel-rtl &`]:{insetInlineStart:mi,borderInlineStart:`${mt}px dashed ${Sr}`}}},[`&-panel ${ie}-footer`]:{borderTop:`${mt}px ${St} ${Et}`},"&-footer":{width:"min-content",minWidth:"100%",lineHeight:`${cn-2*mt}px`,textAlign:"center","&-extra":{padding:`0 ${Qe}px`,lineHeight:`${cn-2*mt}px`,textAlign:"start","&:not(:last-child)":{borderBottom:`${mt}px ${St} ${Et}`}}},"&-now":{textAlign:"start"},"&-today-btn":{color:lr,"&:hover":{color:Yr},"&:active":{color:ka},[`&${ie}-today-btn-disabled`]:{color:na,cursor:"not-allowed"}},"&-decade-panel":{[fe]:{padding:`0 ${Xe/2}px`},[`${ie}-cell::before`]:{display:"none"}},"&-year-panel,\n &-quarter-panel,\n &-month-panel":{[`${ie}-body`]:{padding:`0 ${Xe}px`},[fe]:{width:ve},[`${ie}-cell-range-hover-start::after`]:{borderStartStartRadius:Lr,borderEndStartRadius:Lr,borderStartEndRadius:0,borderEndEndRadius:0,[`${ie}-panel-rtl &`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Lr,borderEndEndRadius:Lr}},[`${ie}-cell-range-hover-end::after`]:{borderStartStartRadius:0,borderEndStartRadius:0,borderStartEndRadius:Lr,borderEndEndRadius:Lr,[`${ie}-panel-rtl &`]:{borderStartStartRadius:Lr,borderEndStartRadius:Lr,borderStartEndRadius:0,borderEndEndRadius:0}}},"&-year-panel,\n &-month-panel":{[`${ie}-cell-range-hover-start::after`]:{insetInlineStart:ui,borderInlineStart:`${mt}px dashed ${Sr}`,[`${ie}-panel-rtl &`]:{insetInlineEnd:ui,borderInlineEnd:`${mt}px dashed ${Sr}`}},[`${ie}-cell-range-hover-end::after`]:{insetInlineEnd:ui,borderInlineEnd:`${mt}px dashed ${Sr}`,[`${ie}-panel-rtl &`]:{insetInlineStart:ui,borderInlineStart:`${mt}px dashed ${Sr}`}}},"&-week-panel":{[`${ie}-body`]:{padding:`${Xe}px ${Qe}px`},[`${ie}-cell`]:{[`&:hover ${fe},
&-selected ${fe},
${fe}`]:{background:"transparent !important"}},"&-row":{td:{"&:before":{transition:`background ${ln}`},"&:first-child:before":{borderStartStartRadius:Lr,borderEndStartRadius:Lr},"&:last-child:before":{borderStartEndRadius:Lr,borderEndEndRadius:Lr}},"&:hover td":{"&:before":{background:To}},"&-range-start td,\n &-range-end td,\n &-selected td":{[`&${le}`]:{"&:before":{background:Nt},[`&${ie}-cell-week`]:{color:new Na.C(Bo).setAlpha(.5).toHexString()},[fe]:{color:Bo}}},"&-range-hover td:before":{background:ci}}},"&-date-panel":{[`${ie}-body`]:{padding:`${Xe}px ${vo}px`},[`${ie}-content`]:{width:Ae*7,th:{width:Ae,boxSizing:"border-box",padding:0}}},"&-datetime-panel":{display:"flex",[`${ie}-time-panel`]:{borderInlineStart:`${mt}px ${St} ${Et}`},[`${ie}-date-panel,
${ie}-time-panel`]:{transition:`opacity ${wr}`},"&-active":{[`${ie}-date-panel,
${ie}-time-panel`]:{opacity:.3,"&-active":{opacity:1}}}},"&-time-panel":{width:"auto",minWidth:"auto",direction:"ltr",[`${ie}-content`]:{display:"flex",flex:"auto",height:Uo},"&-column":{flex:"1 0 auto",width:Pi,margin:`${gt}px 0`,padding:0,overflowY:"hidden",textAlign:"start",listStyle:"none",transition:`background ${ln}`,overflowX:"hidden","&::after":{display:"block",height:Uo-No,content:'""'},"&:not(:first-child)":{borderInlineStart:`${mt}px ${St} ${Et}`},"&-active":{background:new Na.C(ci).setAlpha(.2).toHexString()},"&:hover":{overflowY:"auto"},"> li":{margin:0,padding:0,[`&${ie}-time-panel-cell`]:{marginInline:io,[`${ie}-time-panel-cell-inner`]:{display:"block",width:Pi-2*io,height:No,margin:0,paddingBlock:0,paddingInlineEnd:0,paddingInlineStart:(Pi-No)/2,color:La,lineHeight:`${No}px`,borderRadius:Lr,cursor:"pointer",transition:`background ${ln}`,"&:hover":{background:To}},"&-selected":{[`${ie}-time-panel-cell-inner`]:{background:ci}},"&-disabled":{[`${ie}-time-panel-cell-inner`]:{color:na,background:"transparent",cursor:"not-allowed"}}}}}},[`&-datetime-panel ${ie}-time-panel-column:after`]:{height:Uo-No+gt*2}}}},gi=te=>{const{componentCls:ie,colorBgContainer:le,colorError:fe,errorActiveShadow:ve,colorWarning:De,warningActiveShadow:Ae}=te;return{[`${ie}:not(${ie}-disabled)`]:{[`&${ie}-status-error`]:{"&, &:not([disabled]):hover":{backgroundColor:le,borderColor:fe},[`&${ie}-focused, &:focus`]:Object.assign({},(0,ua.M1)((0,Ha.TS)(te,{activeBorderColor:fe,activeShadow:ve}))),[`${ie}-active-bar`]:{background:fe}},[`&${ie}-status-warning`]:{"&, &:not([disabled]):hover":{backgroundColor:le,borderColor:De},[`&${ie}-focused, &:focus`]:Object.assign({},(0,ua.M1)((0,Ha.TS)(te,{activeBorderColor:De,activeShadow:Ae}))),[`${ie}-active-bar`]:{background:De}}}}},fi=te=>{const{componentCls:ie,antCls:le,controlHeight:fe,fontSize:ve,paddingInline:De,colorBgContainer:Ae,lineWidth:Qe,lineType:Xe,colorBorder:gt,borderRadius:Yt,motionDurationMid:mt,colorBgContainerDisabled:St,colorTextDisabled:bt,colorTextPlaceholder:Nt,controlHeightLG:rt,fontSizeLG:Et,controlHeightSM:qt,paddingInlineSM:Dn,paddingXS:cn,marginXS:ln,colorTextDescription:qn,lineWidthBold:an,lineHeight:sn,colorPrimary:wa,motionDurationSlow:na,zIndexPopup:La,paddingXXS:ga,paddingSM:nr,textHeight:wr,cellActiveWithRangeBg:Vr,colorPrimaryBorder:ar,sizePopupArrow:lr,borderRadiusXS:ka,borderRadiusOuter:Yr,colorBgElevated:Sr,borderRadiusLG:Lr,boxShadowSecondary:Bo,borderRadiusSM:To,colorSplit:Uo,cellHoverBg:Pi,presetsWidth:No,presetsMaxWidth:ci,boxShadowPopoverArrow:io,colorTextQuaternary:vo}=te;return[{[ie]:Object.assign(Object.assign(Object.assign({},(0,ia.Wf)(te)),Kr(te,fe,ve,De)),{position:"relative",display:"inline-flex",alignItems:"center",background:Ae,lineHeight:1,border:`${Qe}px ${Xe} ${gt}`,borderRadius:Yt,transition:`border ${mt}, box-shadow ${mt}`,"&:hover, &-focused":Object.assign({},(0,ua.pU)(te)),"&-focused":Object.assign({},(0,ua.M1)(te)),[`&${ie}-disabled`]:{background:St,borderColor:gt,cursor:"not-allowed",[`${ie}-suffix`]:{color:vo}},[`&${ie}-borderless`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`${ie}-input`]:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%","> input":Object.assign(Object.assign({},(0,ua.ik)(te)),{flex:"auto",minWidth:1,height:"auto",padding:0,background:"transparent",border:0,borderRadius:0,"&:focus":{boxShadow:"none"},"&[disabled]":{background:"transparent"}}),"&:hover":{[`${ie}-clear`]:{opacity:1}},"&-placeholder":{"> input":{color:Nt}}},"&-large":Object.assign(Object.assign({},Kr(te,rt,Et,De)),{[`${ie}-input > input`]:{fontSize:Et}}),"&-small":Object.assign({},Kr(te,qt,ve,Dn)),[`${ie}-suffix`]:{display:"flex",flex:"none",alignSelf:"center",marginInlineStart:cn/2,color:bt,lineHeight:1,pointerEvents:"none","> *":{verticalAlign:"top","&:not(:last-child)":{marginInlineEnd:ln}}},[`${ie}-clear`]:{position:"absolute",top:"50%",insetInlineEnd:0,color:bt,lineHeight:1,background:Ae,transform:"translateY(-50%)",cursor:"pointer",opacity:0,transition:`opacity ${mt}, color ${mt}`,"> *":{verticalAlign:"top"},"&:hover":{color:qn}},[`${ie}-separator`]:{position:"relative",display:"inline-block",width:"1em",height:Et,color:bt,fontSize:Et,verticalAlign:"top",cursor:"default",[`${ie}-focused &`]:{color:qn},[`${ie}-range-separator &`]:{[`${ie}-disabled &`]:{cursor:"not-allowed"}}},"&-range":{position:"relative",display:"inline-flex",[`${ie}-clear`]:{insetInlineEnd:De},"&:hover":{[`${ie}-clear`]:{opacity:1}},[`${ie}-active-bar`]:{bottom:-Qe,height:an,marginInlineStart:De,background:wa,opacity:0,transition:`all ${na} ease-out`,pointerEvents:"none"},[`&${ie}-focused`]:{[`${ie}-active-bar`]:{opacity:1}},[`${ie}-range-separator`]:{alignItems:"center",padding:`0 ${cn}px`,lineHeight:1},[`&${ie}-small`]:{[`${ie}-clear`]:{insetInlineEnd:Dn},[`${ie}-active-bar`]:{marginInlineStart:Dn}}},"&-dropdown":Object.assign(Object.assign(Object.assign({},(0,ia.Wf)(te)),mo(te)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:La,[`&${ie}-dropdown-hidden`]:{display:"none"},[`&${ie}-dropdown-placement-bottomLeft`]:{[`${ie}-range-arrow`]:{top:0,display:"block",transform:"translateY(-100%)"}},[`&${ie}-dropdown-placement-topLeft`]:{[`${ie}-range-arrow`]:{bottom:0,display:"block",transform:"translateY(100%) rotate(180deg)"}},[`&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-topLeft,
&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-topRight,
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-topLeft,
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-topRight`]:{animationName:vr.Qt},[`&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-bottomLeft,
&${le}-slide-up-enter${le}-slide-up-enter-active${ie}-dropdown-placement-bottomRight,
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-bottomLeft,
&${le}-slide-up-appear${le}-slide-up-appear-active${ie}-dropdown-placement-bottomRight`]:{animationName:vr.fJ},[`&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-topLeft,
&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-topRight`]:{animationName:vr.ly},[`&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-bottomLeft,
&${le}-slide-up-leave${le}-slide-up-leave-active${ie}-dropdown-placement-bottomRight`]:{animationName:vr.Uw},[`${ie}-panel > ${ie}-time-panel`]:{paddingTop:ga},[`${ie}-ranges`]:{marginBottom:0,padding:`${ga}px ${nr}px`,overflow:"hidden",lineHeight:`${wr-2*Qe-cn/2}px`,textAlign:"start",listStyle:"none",display:"flex",justifyContent:"space-between","> li":{display:"inline-block"},[`${ie}-preset > ${le}-tag-blue`]:{color:wa,background:Vr,borderColor:ar,cursor:"pointer"},[`${ie}-ok`]:{marginInlineStart:"auto"}},[`${ie}-range-wrapper`]:{display:"flex",position:"relative"},[`${ie}-range-arrow`]:Object.assign({position:"absolute",zIndex:1,display:"none",marginInlineStart:De*1.5,transition:`left ${na} ease-out`},(0,Da.r)(lr,ka,Yr,Sr,io)),[`${ie}-panel-container`]:{overflow:"hidden",verticalAlign:"top",background:Sr,borderRadius:Lr,boxShadow:Bo,transition:`margin ${na}`,[`${ie}-panel-layout`]:{display:"flex",flexWrap:"nowrap",alignItems:"stretch"},[`${ie}-presets`]:{display:"flex",flexDirection:"column",minWidth:No,maxWidth:ci,ul:{height:0,flex:"auto",listStyle:"none",overflow:"auto",margin:0,padding:cn,borderInlineEnd:`${Qe}px ${Xe} ${Uo}`,li:Object.assign(Object.assign({},ia.vS),{borderRadius:To,paddingInline:cn,paddingBlock:(qt-Math.round(ve*sn))/2,cursor:"pointer",transition:`all ${na}`,"+ li":{marginTop:ln},"&:hover":{background:Pi}})}},[`${ie}-panels`]:{display:"inline-flex",flexWrap:"nowrap",direction:"ltr",[`${ie}-panel`]:{borderWidth:`0 0 ${Qe}px`},"&:last-child":{[`${ie}-panel`]:{borderWidth:0}}},[`${ie}-panel`]:{verticalAlign:"top",background:"transparent",borderRadius:0,borderWidth:0,[`${ie}-content,
table`]:{textAlign:"center"},"&-focused":{borderColor:gt}}}}),"&-dropdown-range":{padding:`${lr*2/3}px 0`,"&-hidden":{display:"none"}},"&-rtl":{direction:"rtl",[`${ie}-separator`]:{transform:"rotate(180deg)"},[`${ie}-footer`]:{"&-extra":{direction:"rtl"}}}})},(0,vr.oN)(te,"slide-up"),(0,vr.oN)(te,"slide-down"),(0,Er.Fm)(te,"move-up"),(0,Er.Fm)(te,"move-down")]},Fr=te=>{const{componentCls:ie,controlHeightLG:le,paddingXXS:fe,padding:ve}=te;return{pickerCellCls:`${ie}-cell`,pickerCellInnerCls:`${ie}-cell-inner`,pickerYearMonthCellWidth:le*1.5,pickerQuarterPanelContentHeight:le*1.4,pickerCellPaddingVertical:fe+fe/2,pickerCellBorderGap:2,pickerControlIconSize:7,pickerControlIconBorderWidth:1.5,pickerDatePanelPaddingHorizontal:ve+fe/2}},Di=te=>({cellHoverBg:te.controlItemBgHover,cellActiveWithRangeBg:te.controlItemBgActive,cellHoverWithRangeBg:new Na.C(te.colorPrimary).lighten(35).toHexString(),cellRangeBorderColor:new Na.C(te.colorPrimary).lighten(20).toHexString(),cellBgDisabled:te.colorBgContainerDisabled,timeColumnWidth:te.controlHeightLG*1.4,timeColumnHeight:28*8,timeCellHeight:28,cellWidth:te.controlHeightSM*1.5,cellHeight:te.controlHeightSM,textHeight:te.controlHeightLG,withoutTimeCellHeight:te.controlHeightLG*1.65});var ta=(0,Or.Z)("DatePicker",te=>{const ie=(0,Ha.TS)((0,ua.e5)(te),Fr(te));return[fi(ie),gi(ie),(0,Wa.c)(te,{focusElCls:`${te.componentCls}-focused`})]},te=>Object.assign(Object.assign(Object.assign({},(0,ua.TM)(te)),Di(te)),{presetsWidth:120,presetsMaxWidth:200,zIndexPopup:te.zIndexPopupBase+50}));function or(te,ie,le){return le!==void 0?le:ie==="year"&&te.lang.yearPlaceholder?te.lang.yearPlaceholder:ie==="quarter"&&te.lang.quarterPlaceholder?te.lang.quarterPlaceholder:ie==="month"&&te.lang.monthPlaceholder?te.lang.monthPlaceholder:ie==="week"&&te.lang.weekPlaceholder?te.lang.weekPlaceholder:ie==="time"&&te.timePickerLocale.placeholder?te.timePickerLocale.placeholder:te.lang.placeholder}function jr(te,ie,le){return le!==void 0?le:ie==="year"&&te.lang.yearPlaceholder?te.lang.rangeYearPlaceholder:ie==="quarter"&&te.lang.quarterPlaceholder?te.lang.rangeQuarterPlaceholder:ie==="month"&&te.lang.monthPlaceholder?te.lang.rangeMonthPlaceholder:ie==="week"&&te.lang.weekPlaceholder?te.lang.rangeWeekPlaceholder:ie==="time"&&te.timePickerLocale.placeholder?te.timePickerLocale.rangePlaceholder:te.lang.rangePlaceholder}function Io(te,ie){const le={adjustX:1,adjustY:1};switch(ie){case"bottomLeft":return{points:["tl","bl"],offset:[0,4],overflow:le};case"bottomRight":return{points:["tr","br"],offset:[0,4],overflow:le};case"topLeft":return{points:["bl","tl"],offset:[0,-4],overflow:le};case"topRight":return{points:["br","tr"],offset:[0,-4],overflow:le};default:return{points:te==="rtl"?["tr","br"]:["tl","bl"],offset:[0,4],overflow:le}}}function ya(te){return te?Array.isArray(te)?te:[te]:[]}function Ja(te){const{format:ie,picker:le,showHour:fe,showMinute:ve,showSecond:De,use12Hours:Ae}=te,Qe=ya(ie)[0],Xe=Object.assign({},te);return ie&&Array.isArray(ie)&&(Xe.format=Qe),Qe&&typeof Qe=="string"&&(!Qe.includes("s")&&De===void 0&&(Xe.showSecond=!1),!Qe.includes("m")&&ve===void 0&&(Xe.showMinute=!1),!Qe.includes("H")&&!Qe.includes("h")&&!Qe.includes("K")&&!Qe.includes("k")&&fe===void 0&&(Xe.showHour=!1),(Qe.includes("a")||Qe.includes("A"))&&Ae===void 0&&(Xe.use12Hours=!0)),le==="time"?Xe:(typeof Qe=="function"&&delete Xe.format,{showTime:Xe})}function tr(te,ie,le){if(te===!1)return!1;const fe={clearIcon:ie!=null?ie:le};return typeof te=="object"?Object.assign(Object.assign({},fe),te):fe}var Ua=ee(71577);function po(te){return ne.createElement(Ua.ZP,Object.assign({size:"small",type:"primary"},te))}var Ir={button:po},Ao=function(te,ie){var le={};for(var fe in te)Object.prototype.hasOwnProperty.call(te,fe)&&ie.indexOf(fe)<0&&(le[fe]=te[fe]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,fe=Object.getOwnPropertySymbols(te);ve<fe.length;ve++)ie.indexOf(fe[ve])<0&&Object.prototype.propertyIsEnumerable.call(te,fe[ve])&&(le[fe[ve]]=te[fe[ve]]);return le};function yo(te){return(0,ne.forwardRef)((le,fe)=>{const{prefixCls:ve,getPopupContainer:De,className:Ae,placement:Qe,size:Xe,disabled:gt,bordered:Yt=!0,placeholder:mt,popupClassName:St,dropdownClassName:bt,status:Nt,clearIcon:rt,allowClear:Et,rootClassName:qt}=le,Dn=Ao(le,["prefixCls","getPopupContainer","className","placement","size","disabled","bordered","placeholder","popupClassName","dropdownClassName","status","clearIcon","allowClear","rootClassName"]),cn=ne.useRef(null),{getPrefixCls:ln,direction:qn,getPopupContainer:an}=(0,ne.useContext)(la.E_),sn=ln("picker",ve),{compactSize:wa,compactItemClassnames:na}=(0,Dr.ri)(sn,qn),{format:La,showTime:ga,picker:nr}=le,wr=ln(),[Vr,ar]=ta(sn),lr=Object.assign(Object.assign({},ga?Ja(Object.assign({format:La,picker:nr},ga)):{}),nr==="time"?Ja(Object.assign(Object.assign({format:La},le),{picker:nr})):{}),ka=(0,Qa.Z)(io=>{var vo;return(vo=Xe!=null?Xe:wa)!==null&&vo!==void 0?vo:io}),Yr=ne.useContext(Ra.Z),Sr=gt!=null?gt:Yr,Lr=(0,ne.useContext)(Ma.aM),{hasFeedback:Bo,status:To,feedbackIcon:Uo}=Lr,Pi=ne.createElement(ne.Fragment,null,nr==="time"?ne.createElement(qe,null):ne.createElement(Se,null),Bo&&Uo);(0,ne.useImperativeHandle)(fe,()=>({focus:()=>{var io;return(io=cn.current)===null||io===void 0?void 0:io.focus()},blur:()=>{var io;return(io=cn.current)===null||io===void 0?void 0:io.blur()}}));const[No]=(0,fr.Z)("Calendar",Sa.Z),ci=Object.assign(Object.assign({},No),le.locale);return Vr(ne.createElement(Fn,Object.assign({separator:ne.createElement("span",{"aria-label":"to",className:`${sn}-separator`},ne.createElement(lt,null)),disabled:Sr,ref:cn,dropdownAlign:Io(qn,Qe),placeholder:jr(ci,nr,mt),suffixIcon:Pi,prevIcon:ne.createElement("span",{className:`${sn}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${sn}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${sn}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${sn}-super-next-icon`}),transitionName:`${wr}-slide-up`},Dn,lr,{className:nn()({[`${sn}-${ka}`]:ka,[`${sn}-borderless`]:!Yt},(0,Zn.Z)(sn,(0,Zn.F)(To,Nt),Bo),ar,na,Ae,qt),locale:ci.lang,prefixCls:sn,getPopupContainer:De||an,generateConfig:te,components:Ir,direction:qn,dropdownClassName:nn()(ar,St||bt,qt),allowClear:tr(Et,rt,ne.createElement(ct.Z,null))})))})}var Ml=function(te,ie){var le={};for(var fe in te)Object.prototype.hasOwnProperty.call(te,fe)&&ie.indexOf(fe)<0&&(le[fe]=te[fe]);if(te!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ve=0,fe=Object.getOwnPropertySymbols(te);ve<fe.length;ve++)ie.indexOf(fe[ve])<0&&Object.prototype.propertyIsEnumerable.call(te,fe[ve])&&(le[fe[ve]]=te[fe[ve]]);return le};function Pl(te){function ie(Xe,gt){const Yt=gt==="TimePicker"?"timePicker":"datePicker",mt=(0,ne.forwardRef)((St,bt)=>{const{prefixCls:Nt,getPopupContainer:rt,style:Et,className:qt,rootClassName:Dn,size:cn,bordered:ln=!0,placement:qn,placeholder:an,popupClassName:sn,dropdownClassName:wa,disabled:na,status:La,clearIcon:ga,allowClear:nr}=St,wr=Ml(St,["prefixCls","getPopupContainer","style","className","rootClassName","size","bordered","placement","placeholder","popupClassName","dropdownClassName","disabled","status","clearIcon","allowClear"]),{getPrefixCls:Vr,direction:ar,getPopupContainer:lr,[Yt]:ka}=(0,ne.useContext)(la.E_),Yr=Vr("picker",Nt),{compactSize:Sr,compactItemClassnames:Lr}=(0,Dr.ri)(Yr,ar),Bo=ne.useRef(null),{format:To,showTime:Uo}=St,[Pi,No]=ta(Yr);(0,ne.useImperativeHandle)(bt,()=>({focus:()=>{var Ko;return(Ko=Bo.current)===null||Ko===void 0?void 0:Ko.focus()},blur:()=>{var Ko;return(Ko=Bo.current)===null||Ko===void 0?void 0:Ko.blur()}}));const ci={showToday:!0};let io={};Xe&&(io.picker=Xe);const vo=Xe||St.picker;io=Object.assign(Object.assign(Object.assign({},io),Uo?Ja(Object.assign({format:To,picker:vo},Uo)):{}),vo==="time"?Ja(Object.assign(Object.assign({format:To},St),{picker:vo})):{});const Fo=Vr(),ui=(0,Qa.Z)(Ko=>{var Ji;return(Ji=cn!=null?cn:Sr)!==null&&Ji!==void 0?Ji:Ko}),mi=ne.useContext(Ra.Z),Ki=na!=null?na:mi,vi=(0,ne.useContext)(Ma.aM),{hasFeedback:Cr,status:Zo,feedbackIcon:bo}=vi,Qr=ne.createElement(ne.Fragment,null,vo==="time"?ne.createElement(qe,null):ne.createElement(Se,null),Cr&&bo),[_a]=(0,fr.Z)("DatePicker",Sa.Z),ao=Object.assign(Object.assign({},_a),St.locale);return Pi(ne.createElement(ea,Object.assign({ref:Bo,placeholder:or(ao,vo,an),suffixIcon:Qr,dropdownAlign:Io(ar,qn),prevIcon:ne.createElement("span",{className:`${Yr}-prev-icon`}),nextIcon:ne.createElement("span",{className:`${Yr}-next-icon`}),superPrevIcon:ne.createElement("span",{className:`${Yr}-super-prev-icon`}),superNextIcon:ne.createElement("span",{className:`${Yr}-super-next-icon`}),transitionName:`${Fo}-slide-up`},ci,wr,io,{locale:ao.lang,className:nn()({[`${Yr}-${ui}`]:ui,[`${Yr}-borderless`]:!ln},(0,Zn.Z)(Yr,(0,Zn.F)(Zo,La),Cr),No,Lr,ka==null?void 0:ka.className,qt,Dn),style:Object.assign(Object.assign({},ka==null?void 0:ka.style),Et),prefixCls:Yr,getPopupContainer:rt||lr,generateConfig:te,components:Ir,direction:ar,disabled:Ki,dropdownClassName:nn()(No,Dn,sn||wa),allowClear:tr(nr,ga,ne.createElement(ct.Z,null))})))});return gt&&(mt.displayName=gt),mt}const le=ie(),fe=ie("week","WeekPicker"),ve=ie("month","MonthPicker"),De=ie("year","YearPicker"),Ae=ie("time","TimePicker"),Qe=ie("quarter","QuarterPicker");return{DatePicker:le,WeekPicker:fe,MonthPicker:ve,YearPicker:De,TimePicker:Ae,QuarterPicker:Qe}}const Os=null;function Qi(te){const{DatePicker:ie,WeekPicker:le,MonthPicker:fe,YearPicker:ve,TimePicker:De,QuarterPicker:Ae}=Pl(te),Qe=yo(te),Xe=ie;return Xe.WeekPicker=le,Xe.MonthPicker=fe,Xe.YearPicker=ve,Xe.RangePicker=Qe,Xe.TimePicker=De,Xe.QuarterPicker=Ae,Xe}var hs=Qi;const xi=hs(z);function zl(te){const ie=Io(te.direction,te.placement);return ie.overflow.adjustY=!1,ie.overflow.adjustX=!1,Object.assign(Object.assign({},te),{dropdownAlign:ie})}const Cd=(0,re.Z)(xi,"picker",null,zl);xi._InternalPanelDoNotUseOrYouWillBeFired=Cd;const Go=(0,re.Z)(xi.RangePicker,"picker",null,zl);xi._InternalRangePanelDoNotUseOrYouWillBeFired=Go,xi.generatePicker=hs;var Wo=xi},96074:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return $e}});var ae=ee(94184),me=ee.n(ae),Ie=ee(67294),Ze=ee(53124),Me=ee(14747),ze=ee(67968),se=ee(45503);const Te=we=>{const{componentCls:ce,sizePaddingEdgeHorizontal:y,colorSplit:a,lineWidth:x,textPaddingInline:b,orientationMargin:E,verticalMarginInline:z}=we;return{[ce]:Object.assign(Object.assign({},(0,Me.Wf)(we)),{borderBlockStart:`${x}px solid ${a}`,"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:z,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${x}px solid ${a}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${we.dividerHorizontalGutterMargin}px 0`},[`&-horizontal${ce}-with-text`]:{display:"flex",alignItems:"center",margin:`${we.dividerHorizontalWithTextGutterMargin}px 0`,color:we.colorTextHeading,fontWeight:500,fontSize:we.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${a}`,"&::before, &::after":{position:"relative",width:"50%",borderBlockStart:`${x}px solid transparent`,borderBlockStartColor:"inherit",borderBlockEnd:0,transform:"translateY(50%)",content:"''"}},[`&-horizontal${ce}-with-text-left`]:{"&::before":{width:`${E*100}%`},"&::after":{width:`${100-E*100}%`}},[`&-horizontal${ce}-with-text-right`]:{"&::before":{width:`${100-E*100}%`},"&::after":{width:`${E*100}%`}},[`${ce}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:b},"&-dashed":{background:"none",borderColor:a,borderStyle:"dashed",borderWidth:`${x}px 0 0`},[`&-horizontal${ce}-with-text${ce}-dashed`]:{"&::before, &::after":{borderStyle:"dashed none none"}},[`&-vertical${ce}-dashed`]:{borderInlineStartWidth:x,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${ce}-with-text`]:{color:we.colorText,fontWeight:"normal",fontSize:we.fontSize},[`&-horizontal${ce}-with-text-left${ce}-no-default-orientation-margin-left`]:{"&::before":{width:0},"&::after":{width:"100%"},[`${ce}-inner-text`]:{paddingInlineStart:y}},[`&-horizontal${ce}-with-text-right${ce}-no-default-orientation-margin-right`]:{"&::before":{width:"100%"},"&::after":{width:0},[`${ce}-inner-text`]:{paddingInlineEnd:y}}})}};var je=(0,ze.Z)("Divider",we=>{const ce=(0,se.TS)(we,{dividerHorizontalWithTextGutterMargin:we.margin,dividerHorizontalGutterMargin:we.marginLG,sizePaddingEdgeHorizontal:0});return[Te(ce)]},we=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:we.marginXS})),He=function(we,ce){var y={};for(var a in we)Object.prototype.hasOwnProperty.call(we,a)&&ce.indexOf(a)<0&&(y[a]=we[a]);if(we!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,a=Object.getOwnPropertySymbols(we);x<a.length;x++)ce.indexOf(a[x])<0&&Object.prototype.propertyIsEnumerable.call(we,a[x])&&(y[a[x]]=we[a[x]]);return y},$e=we=>{const{getPrefixCls:ce,direction:y,divider:a}=Ie.useContext(Ze.E_),{prefixCls:x,type:b="horizontal",orientation:E="center",orientationMargin:z,className:re,rootClassName:oe,children:ne,dashed:ge,plain:pe,style:Le}=we,be=He(we,["prefixCls","type","orientation","orientationMargin","className","rootClassName","children","dashed","plain","style"]),xe=ce("divider",x),[Se,ft]=je(xe),Ye=E.length>0?`-${E}`:E,Zt=!!ne,qe=E==="left"&&z!=null,ct=E==="right"&&z!=null,zt=me()(xe,a==null?void 0:a.className,ft,`${xe}-${b}`,{[`${xe}-with-text`]:Zt,[`${xe}-with-text${Ye}`]:Zt,[`${xe}-dashed`]:!!ge,[`${xe}-plain`]:!!pe,[`${xe}-rtl`]:y==="rtl",[`${xe}-no-default-orientation-margin-left`]:qe,[`${xe}-no-default-orientation-margin-right`]:ct},re,oe),en=Ie.useMemo(()=>typeof z=="number"?z:/^\d+$/.test(z)?Number(z):z,[z]),Mt=Object.assign(Object.assign({},qe&&{marginLeft:en}),ct&&{marginRight:en});return Se(Ie.createElement("div",Object.assign({className:zt,style:Object.assign(Object.assign({},a==null?void 0:a.style),Le)},be,{role:"separator"}),ne&&b!=="vertical"&&Ie.createElement("span",{className:`${xe}-inner-text`,style:Mt},ne)))}},56153:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return Oc}});var ae=ee(67294),me=ee.t(ae,2),Ie=ee(91034),Ze=ee(94184),Me=ee.n(Ze),ze=ee(87462),se=ee(4942),Te=ee(97685),je=ee(45987),He=ee(1413),_e=ee(73935);function $e(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var we={};function ce(Pe,Re){}function y(Pe,Re){}function a(){we={}}function x(Pe,Re,ke){!Re&&!we[ke]&&(Pe(!1,ke),we[ke]=!0)}function b(Pe,Re){x(ce,Pe,Re)}function E(Pe,Re){x(y,Pe,Re)}var z=null,re=ee(71002),oe=ee(12060);function ne(Pe,Re,ke){var it=ae.useRef({});return(!("value"in it.current)||ke(it.current.condition,Re))&&(it.current.value=Pe(),it.current.condition=Re),it.current.value}function ge(Pe,Re){typeof Pe=="function"?Pe(Re):(0,re.Z)(Pe)==="object"&&Pe&&"current"in Pe&&(Pe.current=Re)}function pe(){for(var Pe=arguments.length,Re=new Array(Pe),ke=0;ke<Pe;ke++)Re[ke]=arguments[ke];var it=Re.filter(function(Tt){return Tt});return it.length<=1?it[0]:function(Tt){Re.forEach(function(un){ge(un,Tt)})}}function Le(){for(var Pe=arguments.length,Re=new Array(Pe),ke=0;ke<Pe;ke++)Re[ke]=arguments[ke];return ne(function(){return pe.apply(void 0,Re)},Re,function(it,Tt){return it.length===Tt.length&&it.every(function(un,mn){return un===Tt[mn]})})}function be(Pe){var Re,ke,it=(0,oe.isMemo)(Pe)?Pe.type.type:Pe.type;return!(typeof it=="function"&&!((Re=it.prototype)!==null&&Re!==void 0&&Re.render)||typeof Pe=="function"&&!((ke=Pe.prototype)!==null&&ke!==void 0&&ke.render))}var xe=ae.createContext(null),Se=xe,ft=ee(74902),Ye=$e()?ae.useLayoutEffect:ae.useEffect,Zt=Ye,qe=function(Re,ke){var it=React.useRef(!0);Ye(function(){if(!it.current)return Re()},ke),Ye(function(){return it.current=!1,function(){it.current=!0}},[])},ct=[];function zt(Pe,Re){var ke=ae.useState(function(){if(!$e())return null;var pr=document.createElement("div");return pr}),it=(0,Te.Z)(ke,1),Tt=it[0],un=ae.useRef(!1),mn=ae.useContext(Se),da=ae.useState(ct),Ea=(0,Te.Z)(da,2),fa=Ea[0],Ya=Ea[1],va=mn||(un.current?void 0:function(pr){Ya(function(uo){var eo=[pr].concat((0,ft.Z)(uo));return eo})});function qa(){Tt.parentElement||document.body.appendChild(Tt),un.current=!0}function za(){var pr;(pr=Tt.parentElement)===null||pr===void 0||pr.removeChild(Tt),un.current=!1}return Zt(function(){return Pe?mn?mn(qa):qa():za(),za},[Pe]),Zt(function(){fa.length&&(fa.forEach(function(pr){return pr()}),Ya(ct))},[fa]),[Tt,va]}function en(Pe,Re){if(!Pe)return!1;if(Pe.contains)return Pe.contains(Re);for(var ke=Re;ke;){if(ke===Pe)return!0;ke=ke.parentNode}return!1}var Mt="data-rc-order",lt="rc-util-key",xt=new Map;function nn(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Re=Pe.mark;return Re?Re.startsWith("data-")?Re:"data-".concat(Re):lt}function vn(Pe){if(Pe.attachTo)return Pe.attachTo;var Re=document.querySelector("head");return Re||document.body}function Ue(Pe){return Pe==="queue"?"prependQueue":Pe?"prepend":"append"}function Ct(Pe){return Array.from((xt.get(Pe)||Pe).children).filter(function(Re){return Re.tagName==="STYLE"})}function Ft(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!$e())return null;var ke=Re.csp,it=Re.prepend,Tt=document.createElement("style");Tt.setAttribute(Mt,Ue(it)),ke!=null&&ke.nonce&&(Tt.nonce=ke==null?void 0:ke.nonce),Tt.innerHTML=Pe;var un=vn(Re),mn=un.firstChild;if(it){if(it==="queue"){var da=Ct(un).filter(function(Ea){return["prepend","prependQueue"].includes(Ea.getAttribute(Mt))});if(da.length)return un.insertBefore(Tt,da[da.length-1].nextSibling),Tt}un.insertBefore(Tt,mn)}else un.appendChild(Tt);return Tt}function Rn(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ke=vn(Re);return Ct(ke).find(function(it){return it.getAttribute(nn(Re))===Pe})}function nt(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ke=Rn(Pe,Re);if(ke){var it=vn(Re);it.removeChild(ke)}}function kt(Pe,Re){var ke=xt.get(Pe);if(!ke||!en(document,ke)){var it=Ft("",Re),Tt=it.parentNode;xt.set(Pe,Tt),Pe.removeChild(it)}}function Ce(){xt.clear()}function hn(Pe,Re){var ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},it=vn(ke);kt(it,ke);var Tt=Rn(Re,ke);if(Tt){var un,mn;if((un=ke.csp)!==null&&un!==void 0&&un.nonce&&Tt.nonce!==((mn=ke.csp)===null||mn===void 0?void 0:mn.nonce)){var da;Tt.nonce=(da=ke.csp)===null||da===void 0?void 0:da.nonce}return Tt.innerHTML!==Pe&&(Tt.innerHTML=Pe),Tt}var Ea=Ft(Pe,ke);return Ea.setAttribute(nn(ke),Re),Ea}var zn;function ba(Pe){if(typeof document=="undefined")return 0;if(Pe||zn===void 0){var Re=document.createElement("div");Re.style.width="100%",Re.style.height="200px";var ke=document.createElement("div"),it=ke.style;it.position="absolute",it.top="0",it.left="0",it.pointerEvents="none",it.visibility="hidden",it.width="200px",it.height="150px",it.overflow="hidden",ke.appendChild(Re),document.body.appendChild(ke);var Tt=Re.offsetWidth;ke.style.overflow="scroll";var un=Re.offsetWidth;Tt===un&&(un=ke.clientWidth),document.body.removeChild(ke),zn=Tt-un}return zn}function Yn(Pe){var Re=Pe.match(/^(.*)px$/),ke=Number(Re==null?void 0:Re[1]);return Number.isNaN(ke)?ba():ke}function Rt(Pe){if(typeof document=="undefined"||!Pe||!(Pe instanceof Element))return{width:0,height:0};var Re=getComputedStyle(Pe,"::-webkit-scrollbar"),ke=Re.width,it=Re.height;return{width:Yn(ke),height:Yn(it)}}function Ge(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var Fe="rc-util-locker-".concat(Date.now()),pt=0;function Gt(Pe){var Re=!!Pe,ke=ae.useState(function(){return pt+=1,"".concat(Fe,"_").concat(pt)}),it=(0,Te.Z)(ke,1),Tt=it[0];Zt(function(){if(Re){var un=Rt(document.body).width,mn=Ge();hn(`
html body {
overflow-y: hidden;
`.concat(mn?"width: calc(100% - ".concat(un,"px);"):"",`
}`),Tt)}else nt(Tt);return function(){nt(Tt)}},[Re,Tt])}var _t=!1;function Pn(Pe){return typeof Pe=="boolean"&&(_t=Pe),_t}var Qn=function(Re){return Re===!1?!1:!$e()||!Re?null:typeof Re=="string"?document.querySelector(Re):typeof Re=="function"?Re():Re},Gn=ae.forwardRef(function(Pe,Re){var ke=Pe.open,it=Pe.autoLock,Tt=Pe.getContainer,un=Pe.debug,mn=Pe.autoDestroy,da=mn===void 0?!0:mn,Ea=Pe.children,fa=ae.useState(ke),Ya=(0,Te.Z)(fa,2),va=Ya[0],qa=Ya[1],za=va||ke;ae.useEffect(function(){(da||ke)&&qa(ke)},[ke,da]);var pr=ae.useState(function(){return Qn(Tt)}),uo=(0,Te.Z)(pr,2),eo=uo[0],So=uo[1];ae.useEffect(function(){var Si=Qn(Tt);So(Si!=null?Si:null)});var Ur=zt(za&&!eo,un),br=(0,Te.Z)(Ur,2),er=br[0],li=br[1],jo=eo!=null?eo:er;Gt(it&&ke&&$e()&&(jo===er||jo===document.body));var si=null;if(Ea&&be(Ea)&&Re){var pi=Ea;si=pi.ref}var Ui=Le(si,Re);if(!za||!$e()||eo===void 0)return null;var Qo=jo===!1||Pn(),Po=Ea;return Re&&(Po=ae.cloneElement(Ea,{ref:Ui})),ae.createElement(Se.Provider,{value:li},Qo?Po:(0,_e.createPortal)(Po,jo))}),Hn=Gn,Ca=Hn,Ee=ee(48555);function Ke(Pe){return Pe instanceof HTMLElement||Pe instanceof SVGElement}function Nn(Pe){return Ke(Pe)?Pe:Pe instanceof React.Component?ReactDOM.findDOMNode(Pe):null}function Kn(Pe){var Re;return Pe==null||(Re=Pe.getRootNode)===null||Re===void 0?void 0:Re.call(Pe)}function st(Pe){return Kn(Pe)instanceof ShadowRoot}function tn(Pe){return st(Pe)?Kn(Pe):null}function We(Pe){var Re=ae.useRef();Re.current=Pe;var ke=ae.useCallback(function(){for(var it,Tt=arguments.length,un=new Array(Tt),mn=0;mn<Tt;mn++)un[mn]=arguments[mn];return(it=Re.current)===null||it===void 0?void 0:it.call.apply(it,[Re].concat(un))},[]);return ke}function ut(){var Pe=(0,He.Z)({},me);return Pe.useId}var Bt=0;function Wt(){}var Ot=ut(),yn=Ot?function(Re){var ke=Ot();return Re||ke}:function(Re){var ke=ae.useState("ssr-id"),it=(0,Te.Z)(ke,2),Tt=it[0],un=it[1];return ae.useEffect(function(){var mn=Bt;Bt+=1,un("rc_unique_".concat(mn))},[]),Re||Tt};function aa(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Vn=aa()?ae.useLayoutEffect:ae.useEffect,jn=function(Re,ke){var it=ae.useRef(!0);Vn(function(){return Re(it.current)},ke),Vn(function(){return it.current=!1,function(){it.current=!0}},[])},Ga=function(Re,ke){jn(function(it){if(!it)return Re()},ke)},ra=jn,Ka=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var Pe=navigator.userAgent||navigator.vendor||window.opera;return/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(Pe)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(Pe==null?void 0:Pe.substr(0,4))},Pr=ae.createContext(null),Tr=Pr;function Xr(Pe){return Pe?Array.isArray(Pe)?Pe:[Pe]:[]}function Rr(Pe,Re,ke,it){return ae.useMemo(function(){var Tt=Xr(ke!=null?ke:Re),un=Xr(it!=null?it:Re),mn=new Set(Tt),da=new Set(un);return Pe&&(mn.has("hover")&&(mn.delete("hover"),mn.add("click")),da.has("hover")&&(da.delete("hover"),da.add("click"))),[mn,da]},[Pe,Re,ke,it])}var Mr=function(Pe){if(!Pe)return!1;if(Pe instanceof Element){if(Pe.offsetParent)return!0;if(Pe.getBBox){var Re=Pe.getBBox(),ke=Re.width,it=Re.height;if(ke||it)return!0}if(Pe.getBoundingClientRect){var Tt=Pe.getBoundingClientRect(),un=Tt.width,mn=Tt.height;if(un||mn)return!0}}return!1};function to(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ke=arguments.length>2?arguments[2]:void 0;return ke?Pe[0]===Re[0]:Pe[0]===Re[0]&&Pe[1]===Re[1]}function lo(Pe,Re,ke,it){for(var Tt=ke.points,un=Object.keys(Pe),mn=0;mn<un.length;mn+=1){var da,Ea=un[mn];if(to((da=Pe[Ea])===null||da===void 0?void 0:da.points,Tt,it))return"".concat(Re,"-placement-").concat(Ea)}return""}function gr(Pe,Re,ke,it){return Re||(ke?{motionName:"".concat(Pe,"-").concat(ke)}:it?{motionName:it}:null)}function Sn(Pe){return Pe.ownerDocument.defaultView}function In(Pe){for(var Re=[],ke=Pe==null?void 0:Pe.parentElement,it=["hidden","scroll","clip","auto"];ke;){var Tt=Sn(ke).getComputedStyle(ke),un=Tt.overflowX,mn=Tt.overflowY,da=Tt.overflow;[un,mn,da].some(function(Ea){return it.includes(Ea)})&&Re.push(ke),ke=ke.parentElement}return Re}function En(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(Pe)?Re:Pe}function Ln(Pe){return En(parseFloat(Pe),0)}function Oa(Pe,Re){var ke=(0,He.Z)({},Pe);return(Re||[]).forEach(function(it){if(!(it instanceof HTMLBodyElement||it instanceof HTMLHtmlElement)){var Tt=Sn(it).getComputedStyle(it),un=Tt.overflow,mn=Tt.overflowClipMargin,da=Tt.borderTopWidth,Ea=Tt.borderBottomWidth,fa=Tt.borderLeftWidth,Ya=Tt.borderRightWidth,va=it.getBoundingClientRect(),qa=it.offsetHeight,za=it.clientHeight,pr=it.offsetWidth,uo=it.clientWidth,eo=Ln(da),So=Ln(Ea),Ur=Ln(fa),br=Ln(Ya),er=En(Math.round(va.width/pr*1e3)/1e3),li=En(Math.round(va.height/qa*1e3)/1e3),jo=(pr-uo-Ur-br)*er,si=(qa-za-eo-So)*li,pi=eo*li,Ui=So*li,Qo=Ur*er,Po=br*er,Si=0,Bi=0;if(un==="clip"){var qo=Ln(mn);Si=qo*er,Bi=qo*li}var fo=va.x+Qo-Si,zo=va.y+pi-Bi,Gr=fo+va.width+2*Si-Qo-Po-jo,Ii=zo+va.height+2*Bi-pi-Ui-si;ke.left=Math.max(ke.left,fo),ke.top=Math.max(ke.top,zo),ke.right=Math.min(ke.right,Gr),ke.bottom=Math.min(ke.bottom,Ii)}}),ke}function Ar(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,ke="".concat(Re),it=ke.match(/^(.*)\%$/);return it?Pe*(parseFloat(it[1])/100):parseFloat(ke)}function Tn(Pe,Re){var ke=Re||[],it=(0,Te.Z)(ke,2),Tt=it[0],un=it[1];return[Ar(Pe.width,Tt),Ar(Pe.height,un)]}function et(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[Pe[0],Pe[1]]}function dt(Pe,Re){var ke=Re[0],it=Re[1],Tt,un;return ke==="t"?un=Pe.y:ke==="b"?un=Pe.y+Pe.height:un=Pe.y+Pe.height/2,it==="l"?Tt=Pe.x:it==="r"?Tt=Pe.x+Pe.width:Tt=Pe.x+Pe.width/2,{x:Tt,y:un}}function Ve(Pe,Re){var ke={t:"b",b:"t",l:"r",r:"l"};return Pe.map(function(it,Tt){return Tt===Re?ke[it]||"c":it}).join("")}function jt(Pe,Re,ke,it,Tt,un,mn){var da=ae.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:Tt[it]||{}}),Ea=(0,Te.Z)(da,2),fa=Ea[0],Ya=Ea[1],va=ae.useRef(0),qa=ae.useMemo(function(){return Re?In(Re):[]},[Re]),za=ae.useRef({}),pr=function(){za.current={}};Pe||pr();var uo=We(function(){if(Re&&ke&&Pe){let Wa=function(Er,Ha){var Or=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ti,Kr=ko.x+Er,Mo=ko.y+Ha,mo=Kr+Ho,gi=Mo+Ni,fi=Math.max(Kr,Or.left),Fr=Math.max(Mo,Or.top),Di=Math.min(mo,Or.right),ta=Math.min(gi,Or.bottom);return Math.max(0,(Di-fi)*(ta-Fr))},vr=function(){Ls=ko.y+ri,Ys=Ls+Ni,Qs=ko.x+Zi,Js=Qs+Ho};var Ur,br,er=Re,li=er.ownerDocument,jo=Sn(er),si=jo.getComputedStyle(er),pi=si.width,Ui=si.height,Qo=si.position,Po=er.style.left,Si=er.style.top,Bi=er.style.right,qo=er.style.bottom,fo=(0,He.Z)((0,He.Z)({},Tt[it]),un),zo=li.createElement("div");(Ur=er.parentElement)===null||Ur===void 0||Ur.appendChild(zo),zo.style.left="".concat(er.offsetLeft,"px"),zo.style.top="".concat(er.offsetTop,"px"),zo.style.position=Qo,zo.style.height="".concat(er.offsetHeight,"px"),zo.style.width="".concat(er.offsetWidth,"px"),er.style.left="0",er.style.top="0",er.style.right="auto",er.style.bottom="auto";var Gr;if(Array.isArray(ke))Gr={x:ke[0],y:ke[1],width:0,height:0};else{var Ii=ke.getBoundingClientRect();Gr={x:Ii.x,y:Ii.y,width:Ii.width,height:Ii.height}}var ko=er.getBoundingClientRect(),Gi=li.documentElement,ul=Gi.clientWidth,Vi=Gi.clientHeight,Il=Gi.scrollWidth,Tl=Gi.scrollHeight,Oo=Gi.scrollTop,Nl=Gi.scrollLeft,Ni=ko.height,Ho=ko.width,di=Gr.height,gl=Gr.width,Yl={left:0,top:0,right:ul,bottom:Vi},us={left:-Nl,top:-Oo,right:Il-Nl,bottom:Tl-Oo},ll=fo.htmlRegion,Fi="visible",El="visibleFirst";ll!=="scroll"&&ll!==El&&(ll=Fi);var Yi=ll===El,$o=Oa(us,qa),Br=Oa(Yl,qa),Ti=ll===Fi?Br:$o,Dl=Yi?Br:Ti;er.style.left="auto",er.style.top="auto",er.style.right="0",er.style.bottom="0";var gs=er.getBoundingClientRect();er.style.left=Po,er.style.top=Si,er.style.right=Bi,er.style.bottom=qo,(br=er.parentElement)===null||br===void 0||br.removeChild(zo);var xs=En(Math.round(Ho/parseFloat(pi)*1e3)/1e3),_l=En(Math.round(Ni/parseFloat(Ui)*1e3)/1e3);if(xs===0||_l===0||Ke(ke)&&!Mr(ke))return;var Ws=fo.offset,fd=fo.targetOffset,fs=Tn(ko,Ws),Jd=(0,Te.Z)(fs,2),es=Jd[0],ms=Jd[1],md=Tn(Gr,fd),Ss=(0,Te.Z)(md,2),Fd=Ss[0],Xd=Ss[1];Gr.x-=Fd,Gr.y-=Xd;var vd=fo.points||[],Ql=(0,Te.Z)(vd,2),Us=Ql[0],qd=Ql[1],Rs=et(qd),Zl=et(Us),hd=dt(Gr,Rs),Vs=dt(ko,Zl),Es=(0,He.Z)({},fo),Zi=hd.x-Vs.x+es,ri=hd.y-Vs.y+ms,ts=Wa(Zi,ri),ws=Wa(Zi,ri,Br),pd=dt(Gr,["t","l"]),Rd=dt(ko,["t","l"]),Sd=dt(Gr,["b","r"]),vs=dt(ko,["b","r"]),Pd=fo.overflow||{},kd=Pd.adjustX,ks=Pd.adjustY,Od=Pd.shiftX,yd=Pd.shiftY,Id=function(Ha){return typeof Ha=="boolean"?Ha:Ha>=0},Ls,Ys,Qs,Js;vr();var bd=Id(ks),Td=Zl[0]===Rs[0];if(bd&&Zl[0]==="t"&&(Ys>Dl.bottom||za.current.bt)){var Ps=ri;Td?Ps-=Ni-di:Ps=pd.y-vs.y-ms;var ns=Wa(Zi,Ps),Jl=Wa(Zi,Ps,Br);ns>ts||ns===ts&&(!Yi||Jl>=ws)?(za.current.bt=!0,ri=Ps,ms=-ms,Es.points=[Ve(Zl,0),Ve(Rs,0)]):za.current.bt=!1}if(bd&&Zl[0]==="b"&&(Ls<Dl.top||za.current.tb)){var Xs=ri;Td?Xs+=Ni-di:Xs=Sd.y-Rd.y-ms;var de=Wa(Zi,Xs),ue=Wa(Zi,Xs,Br);de>ts||de===ts&&(!Yi||ue>=ws)?(za.current.tb=!0,ri=Xs,ms=-ms,Es.points=[Ve(Zl,0),Ve(Rs,0)]):za.current.tb=!1}var he=Id(kd),ye=Zl[1]===Rs[1];if(he&&Zl[1]==="l"&&(Js>Dl.right||za.current.rl)){var Be=Zi;ye?Be-=Ho-gl:Be=pd.x-vs.x-es;var Oe=Wa(Be,ri),Je=Wa(Be,ri,Br);Oe>ts||Oe===ts&&(!Yi||Je>=ws)?(za.current.rl=!0,Zi=Be,es=-es,Es.points=[Ve(Zl,1),Ve(Rs,1)]):za.current.rl=!1}if(he&&Zl[1]==="r"&&(Qs<Dl.left||za.current.lr)){var at=Zi;ye?at+=Ho-gl:at=Sd.x-Rd.x-es;var tt=Wa(at,ri),yt=Wa(at,ri,Br);tt>ts||tt===ts&&(!Yi||yt>=ws)?(za.current.lr=!0,Zi=at,es=-es,Es.points=[Ve(Zl,1),Ve(Rs,1)]):za.current.lr=!1}vr();var Ht=Od===!0?0:Od;typeof Ht=="number"&&(Qs<Br.left&&(Zi-=Qs-Br.left-es,Gr.x+gl<Br.left+Ht&&(Zi+=Gr.x-Br.left+gl-Ht)),Js>Br.right&&(Zi-=Js-Br.right-es,Gr.x>Br.right-Ht&&(Zi+=Gr.x-Br.right+Ht)));var Lt=yd===!0?0:yd;typeof Lt=="number"&&(Ls<Br.top&&(ri-=Ls-Br.top-ms,Gr.y+di<Br.top+Lt&&(ri+=Gr.y-Br.top+di-Lt)),Ys>Br.bottom&&(ri-=Ys-Br.bottom-ms,Gr.y>Br.bottom-Lt&&(ri+=Gr.y-Br.bottom+Lt)));var rn=ko.x+Zi,on=rn+Ho,fn=ko.y+ri,Xn=fn+Ni,Fn=Gr.x,ea=Fn+gl,Zn=Gr.y,la=Zn+di,Ra=Math.max(rn,Fn),Qa=Math.min(on,ea),Ma=(Ra+Qa)/2,fr=Ma-rn,Dr=Math.max(fn,Zn),Sa=Math.min(Xn,la),Na=(Dr+Sa)/2,ua=Na-fn;mn==null||mn(Re,Es);var ia=gs.right-ko.x-(Zi+ko.width),Da=gs.bottom-ko.y-(ri+ko.height);Ya({ready:!0,offsetX:Zi/xs,offsetY:ri/_l,offsetR:ia/xs,offsetB:Da/_l,arrowX:fr/xs,arrowY:ua/_l,scaleX:xs,scaleY:_l,align:Es})}}),eo=function(){va.current+=1;var br=va.current;Promise.resolve().then(function(){va.current===br&&uo()})},So=function(){Ya(function(br){return(0,He.Z)((0,He.Z)({},br),{},{ready:!1})})};return ra(So,[it]),ra(function(){Pe||So()},[Pe]),[fa.ready,fa.offsetX,fa.offsetY,fa.offsetR,fa.offsetB,fa.arrowX,fa.arrowY,fa.scaleX,fa.scaleY,fa.align,eo]}function bn(Pe,Re,ke,it,Tt){ra(function(){if(Pe&&Re&&ke){let va=function(){it(),Tt()};var un=Re,mn=ke,da=In(un),Ea=In(mn),fa=Sn(mn),Ya=new Set([fa].concat((0,ft.Z)(da),(0,ft.Z)(Ea)));return Ya.forEach(function(qa){qa.addEventListener("scroll",va,{passive:!0})}),fa.addEventListener("resize",va,{passive:!0}),it(),function(){Ya.forEach(function(qa){qa.removeEventListener("scroll",va),fa.removeEventListener("resize",va)})}}},[Pe,Re,ke])}function Jn(Pe){var Re=React.useRef(!1),ke=React.useState(Pe),it=_slicedToArray(ke,2),Tt=it[0],un=it[1];React.useEffect(function(){return Re.current=!1,function(){Re.current=!0}},[]);function mn(da,Ea){Ea&&Re.current||un(da)}return[Tt,mn]}function ja(Pe){return Pe!==void 0}function ca(Pe,Re){var ke=Re||{},it=ke.defaultValue,Tt=ke.value,un=ke.onChange,mn=ke.postState,da=useState(function(){return ja(Tt)?Tt:ja(it)?typeof it=="function"?it():it:typeof Pe=="function"?Pe():Pe}),Ea=_slicedToArray(da,2),fa=Ea[0],Ya=Ea[1],va=Tt!==void 0?Tt:fa,qa=mn?mn(va):va,za=useEvent(un),pr=useState([va]),uo=_slicedToArray(pr,2),eo=uo[0],So=uo[1];useLayoutUpdateEffect(function(){var br=eo[0];fa!==br&&za(fa,br)},[eo]),useLayoutUpdateEffect(function(){ja(Tt)||Ya(Tt)},[Tt]);var Ur=useEvent(function(br,er){Ya(br,er),So([va],er)});return[qa,Ur]}var Wn=ee(95845);function Ba(Pe,Re,ke){var it=ae.useRef({});return(!("value"in it.current)||ke(it.current.condition,Re))&&(it.current.value=Pe(),it.current.condition=Re),it.current.value}function ho(Pe,Re){typeof Pe=="function"?Pe(Re):(0,re.Z)(Pe)==="object"&&Pe&&"current"in Pe&&(Pe.current=Re)}function Mn(){for(var Pe=arguments.length,Re=new Array(Pe),ke=0;ke<Pe;ke++)Re[ke]=arguments[ke];var it=Re.filter(function(Tt){return Tt});return it.length<=1?it[0]:function(Tt){Re.forEach(function(un){ho(un,Tt)})}}function no(){for(var Pe=arguments.length,Re=new Array(Pe),ke=0;ke<Pe;ke++)Re[ke]=arguments[ke];return Ba(function(){return Mn.apply(void 0,Re)},Re,function(it,Tt){return it.length!==Tt.length||it.every(function(un,mn){return un!==Tt[mn]})})}function ot(Pe){var Re,ke,it=(0,Wn.isMemo)(Pe)?Pe.type.type:Pe.type;return!(typeof it=="function"&&!((Re=it.prototype)!==null&&Re!==void 0&&Re.render)||typeof Pe=="function"&&!((ke=Pe.prototype)!==null&&ke!==void 0&&ke.render))}function Xt(Pe){return!isValidElement(Pe)||isFragment(Pe)?!1:ot(Pe)}function $t(Pe,Re,ke,it){if(!Re.length)return ke;var Tt=_toArray(Re),un=Tt[0],mn=Tt.slice(1),da;return!Pe&&typeof un=="number"?da=[]:Array.isArray(Pe)?da=_toConsumableArray(Pe):da=_objectSpread({},Pe),it&&ke===void 0&&mn.length===1?delete da[un][mn[0]]:da[un]=$t(da[un],mn,ke,it),da}function Qt(Pe,Re,ke){var it=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return Re.length&&it&&ke===void 0&&!get(Pe,Re.slice(0,-1))?Pe:$t(Pe,Re,ke,it)}function $n(Pe){return _typeof(Pe)==="object"&&Pe!==null&&Object.getPrototypeOf(Pe)===Object.prototype}function Ut(Pe){return Array.isArray(Pe)?[]:{}}var Bn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function dn(){for(var Pe=arguments.length,Re=new Array(Pe),ke=0;ke<Pe;ke++)Re[ke]=arguments[ke];var it=Ut(Re[0]);return Re.forEach(function(Tt){function un(mn,da){var Ea=new Set(da),fa=get(Tt,mn),Ya=Array.isArray(fa);if(Ya||$n(fa)){if(!Ea.has(fa)){Ea.add(fa);var va=get(it,mn);Ya?it=Qt(it,mn,[]):(!va||_typeof(va)!=="object")&&(it=Qt(it,mn,Ut(fa))),Bn(fa).forEach(function(qa){un([].concat(_toConsumableArray(mn),[qa]),Ea)})}}else it=Qt(it,mn,fa)}un([])}),it}var $a={},Aa=[],cr=function(Re){Aa.push(Re)};function zr(Pe,Re){if(0)var ke}function co(Pe,Re){if(0)var ke}function gn(){$a={}}function Mi(Pe,Re,ke){!Re&&!$a[ke]&&(Pe(!1,ke),$a[ke]=!0)}function ei(Pe,Re){Mi(zr,Pe,Re)}function qr(Pe,Re){Mi(co,Pe,Re)}ei.preMessage=cr,ei.resetWarned=gn,ei.noteOnce=qr;var Yo=null,On=function(Re){return+setTimeout(Re,16)},ma=function(Re){return clearTimeout(Re)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(On=function(Re){return window.requestAnimationFrame(Re)},ma=function(Re){return window.cancelAnimationFrame(Re)});var Va=0,Un=new Map;function Wr(Pe){Un.delete(Pe)}var _r=function(Re){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Va+=1;var it=Va;function Tt(un){if(un===0)Wr(it),Re();else{var mn=On(function(){Tt(un-1)});Un.set(it,mn)}}return Tt(ke),it};_r.cancel=function(Pe){var Re=Un.get(Pe);return Wr(Re),ma(Re)};var ti=_r;function ni(Pe,Re,ke,it,Tt,un,mn,da){var Ea=ae.useRef(Pe),fa=ae.useRef(!1);Ea.current!==Pe&&(fa.current=!0,Ea.current=Pe),ae.useEffect(function(){var Ya=ti(function(){fa.current=!1});return function(){ti.cancel(Ya)}},[Pe]),ae.useEffect(function(){if(Re&&it&&(!Tt||un)){var Ya=function(){var Qo=!1,Po=function(qo){var fo=qo.target;Qo=mn(fo)},Si=function(qo){var fo=qo.target;!fa.current&&Ea.current&&!Qo&&!mn(fo)&&da(!1)};return[Po,Si]},va=Ya(),qa=(0,Te.Z)(va,2),za=qa[0],pr=qa[1],uo=Ya(),eo=(0,Te.Z)(uo,2),So=eo[0],Ur=eo[1],br=Sn(it);br.addEventListener("mousedown",za,!0),br.addEventListener("click",pr,!0),br.addEventListener("contextmenu",pr,!0);var er=tn(ke);if(er&&(er.addEventListener("mousedown",So,!0),er.addEventListener("click",Ur,!0),er.addEventListener("contextmenu",Ur,!0)),0)var li,jo,si,pi;return function(){br.removeEventListener("mousedown",za,!0),br.removeEventListener("click",pr,!0),br.removeEventListener("contextmenu",pr,!0),er&&(er.removeEventListener("mousedown",So,!0),er.removeEventListener("click",Ur,!0),er.removeEventListener("contextmenu",Ur,!0))}}},[Re,ke,it,Tt,un])}function ai(Pe){return Pe instanceof HTMLElement||Pe instanceof SVGElement}function bl(Pe){return ai(Pe)?Pe:Pe instanceof ae.Component?_e.findDOMNode(Pe):null}function yi(Pe,Re){var ke={};return ke[Pe.toLowerCase()]=Re.toLowerCase(),ke["Webkit".concat(Pe)]="webkit".concat(Re),ke["Moz".concat(Pe)]="moz".concat(Re),ke["ms".concat(Pe)]="MS".concat(Re),ke["O".concat(Pe)]="o".concat(Re.toLowerCase()),ke}function jl(Pe,Re){var ke={animationend:yi("Animation","AnimationEnd"),transitionend:yi("Transition","TransitionEnd")};return Pe&&("AnimationEvent"in Re||delete ke.animationend.animation,"TransitionEvent"in Re||delete ke.transitionend.transition),ke}var $l=jl($e(),typeof window!="undefined"?window:{}),wi={};if($e()){var Xo=document.createElement("div");wi=Xo.style}var hl={};function Cl(Pe){if(hl[Pe])return hl[Pe];var Re=$l[Pe];if(Re)for(var ke=Object.keys(Re),it=ke.length,Tt=0;Tt<it;Tt+=1){var un=ke[Tt];if(Object.prototype.hasOwnProperty.call(Re,un)&&un in wi)return hl[Pe]=Re[un],hl[Pe]}return""}var Fl=Cl("animationend"),tl=Cl("transitionend"),ki=!!(Fl&&tl),pl=Fl||"animationend",kr=tl||"transitionend";function vt(Pe,Re){if(!Pe)return null;if((0,re.Z)(Pe)==="object"){var ke=Re.replace(/-\w/g,function(it){return it[1].toUpperCase()});return Pe[ke]}return"".concat(Pe,"-").concat(Re)}var At="none",Jt="appear",Ne="enter",Vt="leave",An="none",wn="prepare",Pt="start",Kt="active",It="end";function kn(Pe){var Re=ae.useRef(!1),ke=ae.useState(Pe),it=(0,Te.Z)(ke,2),Tt=it[0],un=it[1];ae.useEffect(function(){return Re.current=!1,function(){Re.current=!0}},[]);function mn(da,Ea){Ea&&Re.current||un(da)}return[Tt,mn]}var sa=function(Re){return+setTimeout(Re,16)},xa=function(Re){return clearTimeout(Re)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(sa=function(Re){return window.requestAnimationFrame(Re)},xa=function(Re){return window.cancelAnimationFrame(Re)});var ha=0,Ia=new Map;function rr(Pe){Ia.delete(Pe)}var xn=function(Re){var ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;ha+=1;var it=ha;function Tt(un){if(un===0)rr(it),Re();else{var mn=sa(function(){Tt(un-1)});Ia.set(it,mn)}}return Tt(ke),it};xn.cancel=function(Pe){var Re=Ia.get(Pe);return rr(Re),xa(Re)};var Dt=xn,pn=function(){var Pe=ae.useRef(null);function Re(){Dt.cancel(Pe.current)}function ke(it){var Tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;Re();var un=Dt(function(){Tt<=1?it({isCanceled:function(){return un!==Pe.current}}):ke(it,Tt-1)});Pe.current=un}return ae.useEffect(function(){return function(){Re()}},[]),[ke,Re]},Cn=$e()?ae.useLayoutEffect:ae.useEffect,oa=Cn,Fa=[wn,Pt,Kt,It],Xa=!1,yr=!0;function sr(Pe){return Pe===Kt||Pe===It}var _n=function(Pe,Re){var ke=kn(An),it=(0,Te.Z)(ke,2),Tt=it[0],un=it[1],mn=pn(),da=(0,Te.Z)(mn,2),Ea=da[0],fa=da[1];function Ya(){un(wn,!0)}return oa(function(){if(Tt!==An&&Tt!==It){var va=Fa.indexOf(Tt),qa=Fa[va+1],za=Re(Tt);za===Xa?un(qa,!0):Ea(function(pr){function uo(){pr.isCanceled()||un(qa,!0)}za===!0?uo():Promise.resolve(za).then(uo)})}},[Pe,Tt]),ae.useEffect(function(){return function(){fa()}},[]),[Ya,Tt]},Pa=function(Pe){var Re=(0,ae.useRef)(),ke=(0,ae.useRef)(Pe);ke.current=Pe;var it=ae.useCallback(function(mn){ke.current(mn)},[]);function Tt(mn){mn&&(mn.removeEventListener(kr,it),mn.removeEventListener(pl,it))}function un(mn){Re.current&&Re.current!==mn&&Tt(Re.current),mn&&mn!==Re.current&&(mn.addEventListener(kr,it),mn.addEventListener(pl,it),Re.current=mn)}return ae.useEffect(function(){return function(){Tt(Re.current)}},[]),[un,Tt]};function pa(Pe,Re,ke,it){var Tt=it.motionEnter,un=Tt===void 0?!0:Tt,mn=it.motionAppear,da=mn===void 0?!0:mn,Ea=it.motionLeave,fa=Ea===void 0?!0:Ea,Ya=it.motionDeadline,va=it.motionLeaveImmediately,qa=it.onAppearPrepare,za=it.onEnterPrepare,pr=it.onLeavePrepare,uo=it.onAppearStart,eo=it.onEnterStart,So=it.onLeaveStart,Ur=it.onAppearActive,br=it.onEnterActive,er=it.onLeaveActive,li=it.onAppearEnd,jo=it.onEnterEnd,si=it.onLeaveEnd,pi=it.onVisibleChanged,Ui=kn(),Qo=(0,Te.Z)(Ui,2),Po=Qo[0],Si=Qo[1],Bi=kn(At),qo=(0,Te.Z)(Bi,2),fo=qo[0],zo=qo[1],Gr=kn(null),Ii=(0,Te.Z)(Gr,2),ko=Ii[0],Gi=Ii[1],ul=(0,ae.useRef)(!1),Vi=(0,ae.useRef)(null);function Il(){return ke()}var Tl=(0,ae.useRef)(!1);function Oo($o){var Br=Il();if(!($o&&!$o.deadline&&$o.target!==Br)){var Ti=Tl.current,Dl;fo===Jt&&Ti?Dl=li==null?void 0:li(Br,$o):fo===Ne&&Ti?Dl=jo==null?void 0:jo(Br,$o):fo===Vt&&Ti&&(Dl=si==null?void 0:si(Br,$o)),fo!==At&&Ti&&Dl!==!1&&(zo(At,!0),Gi(null,!0))}}var Nl=Pa(Oo),Ni=(0,Te.Z)(Nl,1),Ho=Ni[0],di=ae.useMemo(function(){var $o,Br,Ti;switch(fo){case Jt:return $o={},(0,se.Z)($o,wn,qa),(0,se.Z)($o,Pt,uo),(0,se.Z)($o,Kt,Ur),$o;case Ne:return Br={},(0,se.Z)(Br,wn,za),(0,se.Z)(Br,Pt,eo),(0,se.Z)(Br,Kt,br),Br;case Vt:return Ti={},(0,se.Z)(Ti,wn,pr),(0,se.Z)(Ti,Pt,So),(0,se.Z)(Ti,Kt,er),Ti;default:return{}}},[fo]),gl=_n(fo,function($o){if($o===wn){var Br=di[wn];return Br?Br(Il()):Xa}if(ll in di){var Ti;Gi(((Ti=di[ll])===null||Ti===void 0?void 0:Ti.call(di,Il(),null))||null)}return ll===Kt&&(Ho(Il()),Ya>0&&(clearTimeout(Vi.current),Vi.current=setTimeout(function(){Oo({deadline:!0})},Ya))),yr}),Yl=(0,Te.Z)(gl,2),us=Yl[0],ll=Yl[1],Fi=sr(ll);Tl.current=Fi,oa(function(){Si(Re);var $o=ul.current;if(ul.current=!0,!!Pe){var Br;!$o&&Re&&da&&(Br=Jt),$o&&Re&&un&&(Br=Ne),($o&&!Re&&fa||!$o&&va&&!Re&&fa)&&(Br=Vt),Br&&(zo(Br),us())}},[Re]),(0,ae.useEffect)(function(){(fo===Jt&&!da||fo===Ne&&!un||fo===Vt&&!fa)&&zo(At)},[da,un,fa]),(0,ae.useEffect)(function(){return function(){ul.current=!1,clearTimeout(Vi.current)}},[]);var El=ae.useRef(!1);(0,ae.useEffect)(function(){Po&&(El.current=!0),Po!==void 0&&fo===At&&((El.current||Po)&&(pi==null||pi(Po)),El.current=!0)},[Po,fo]);var Yi=ko;return di[wn]&&ll===Pt&&(Yi=(0,He.Z)({transition:"none"},Yi)),[fo,ll,Yi,Po!=null?Po:Re]}var Za=ee(15671),dr=ee(43144),Hr=ee(60136),ro=ee(51630),Eo=function(Pe){(0,Hr.Z)(ke,Pe);var Re=(0,ro.Z)(ke);function ke(){return(0,Za.Z)(this,ke),Re.apply(this,arguments)}return(0,dr.Z)(ke,[{key:"render",value:function(){return this.props.children}}]),ke}(ae.Component),wo=Eo;function Lo(Pe){var Re=Pe;(0,re.Z)(Pe)==="object"&&(Re=Pe.transitionSupport);function ke(Tt){return!!(Tt.motionName&&Re)}var it=ae.forwardRef(function(Tt,un){var mn=Tt.visible,da=mn===void 0?!0:mn,Ea=Tt.removeOnLeave,fa=Ea===void 0?!0:Ea,Ya=Tt.forceRender,va=Tt.children,qa=Tt.motionName,za=Tt.leavedClassName,pr=Tt.eventProps,uo=ke(Tt),eo=(0,ae.useRef)(),So=(0,ae.useRef)();function Ur(){try{return eo.current instanceof HTMLElement?eo.current:bl(So.current)}catch(Gr){return null}}var br=pa(uo,da,Ur,Tt),er=(0,Te.Z)(br,4),li=er[0],jo=er[1],si=er[2],pi=er[3],Ui=ae.useRef(pi);pi&&(Ui.current=!0);var Qo=ae.useCallback(function(Gr){eo.current=Gr,ge(un,Gr)},[un]),Po,Si=(0,He.Z)((0,He.Z)({},pr),{},{visible:da});if(!va)Po=null;else if(li===At||!ke(Tt))pi?Po=va((0,He.Z)({},Si),Qo):!fa&&Ui.current&&za?Po=va((0,He.Z)((0,He.Z)({},Si),{},{className:za}),Qo):Ya||!fa&&!za?Po=va((0,He.Z)((0,He.Z)({},Si),{},{style:{display:"none"}}),Qo):Po=null;else{var Bi,qo;jo===wn?qo="prepare":sr(jo)?qo="active":jo===Pt&&(qo="start"),Po=va((0,He.Z)((0,He.Z)({},Si),{},{className:Me()(vt(qa,li),(Bi={},(0,se.Z)(Bi,vt(qa,"".concat(li,"-").concat(qo)),qo),(0,se.Z)(Bi,qa,typeof qa=="string"),Bi)),style:si}),Qo)}if(ae.isValidElement(Po)&&be(Po)){var fo=Po,zo=fo.ref;zo||(Po=ae.cloneElement(Po,{ref:Qo}))}return ae.createElement(wo,{ref:So},Po)});return it.displayName="CSSMotion",it}var Oi=Lo(ki),xl=ee(97326),Wl="add",Rl="keep",Sl="remove",Li="removed";function is(Pe){var Re;return Pe&&(0,re.Z)(Pe)==="object"&&"key"in Pe?Re=Pe:Re={key:Pe},(0,He.Z)((0,He.Z)({},Re),{},{key:String(Re.key)})}function Ul(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return Pe.map(is)}function ls(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ke=[],it=0,Tt=Re.length,un=Ul(Pe),mn=Ul(Re);un.forEach(function(fa){for(var Ya=!1,va=it;va<Tt;va+=1){var qa=mn[va];if(qa.key===fa.key){it<va&&(ke=ke.concat(mn.slice(it,va).map(function(za){return(0,He.Z)((0,He.Z)({},za),{},{status:Wl})})),it=va),ke.push((0,He.Z)((0,He.Z)({},qa),{},{status:Rl})),it+=1,Ya=!0;break}}Ya||ke.push((0,He.Z)((0,He.Z)({},fa),{},{status:Sl}))}),it<Tt&&(ke=ke.concat(mn.slice(it).map(function(fa){return(0,He.Z)((0,He.Z)({},fa),{},{status:Wl})})));var da={};ke.forEach(function(fa){var Ya=fa.key;da[Ya]=(da[Ya]||0)+1});var Ea=Object.keys(da).filter(function(fa){return da[fa]>1});return Ea.forEach(function(fa){ke=ke.filter(function(Ya){var va=Ya.key,qa=Ya.status;return va!==fa||qa!==Sl}),ke.forEach(function(Ya){Ya.key===fa&&(Ya.status=Rl)})}),ke}var zs=["component","children","onVisibleChanged","onAllRemoved"],kl=["status"],Hs=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function Vl(Pe){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Oi,ke=function(it){(0,Hr.Z)(un,it);var Tt=(0,ro.Z)(un);function un(){var mn;(0,Za.Z)(this,un);for(var da=arguments.length,Ea=new Array(da),fa=0;fa<da;fa++)Ea[fa]=arguments[fa];return mn=Tt.call.apply(Tt,[this].concat(Ea)),(0,se.Z)((0,xl.Z)(mn),"state",{keyEntities:[]}),(0,se.Z)((0,xl.Z)(mn),"removeKey",function(Ya){var va=mn.state.keyEntities,qa=va.map(function(za){return za.key!==Ya?za:(0,He.Z)((0,He.Z)({},za),{},{status:Li})});return mn.setState({keyEntities:qa}),qa.filter(function(za){var pr=za.status;return pr!==Li}).length}),mn}return(0,dr.Z)(un,[{key:"render",value:function(){var da=this,Ea=this.state.keyEntities,fa=this.props,Ya=fa.component,va=fa.children,qa=fa.onVisibleChanged,za=fa.onAllRemoved,pr=(0,je.Z)(fa,zs),uo=Ya||ae.Fragment,eo={};return Hs.forEach(function(So){eo[So]=pr[So],delete pr[So]}),delete pr.keys,ae.createElement(uo,pr,Ea.map(function(So){var Ur=So.status,br=(0,je.Z)(So,kl),er=Ur===Wl||Ur===Rl;return ae.createElement(Re,(0,ze.Z)({},eo,{key:br.key,visible:er,eventProps:br,onVisibleChanged:function(jo){if(qa==null||qa(jo,{key:br.key}),!jo){var si=da.removeKey(br.key);si===0&&za&&za()}}}),va)}))}}],[{key:"getDerivedStateFromProps",value:function(da,Ea){var fa=da.keys,Ya=Ea.keyEntities,va=Ul(fa),qa=ls(Ya,va);return{keyEntities:qa.filter(function(za){var pr=Ya.find(function(uo){var eo=uo.key;return za.key===eo});return!(pr&&pr.status===Li&&za.status===Sl)})}}}]),un}(ae.Component);return(0,se.Z)(ke,"defaultProps",{component:"div"}),ke}var Dd=Vl(ki),Ol=Oi;function Gs(Pe){var Re=Pe.prefixCls,ke=Pe.align,it=Pe.arrow,Tt=Pe.arrowPos,un=it||{},mn=un.className,da=un.content,Ea=Tt.x,fa=Ea===void 0?0:Ea,Ya=Tt.y,va=Ya===void 0?0:Ya,qa=ae.useRef();if(!ke||!ke.points)return null;var za={position:"absolute"};if(ke.autoArrow!==!1){var pr=ke.points[0],uo=ke.points[1],eo=pr[0],So=pr[1],Ur=uo[0],br=uo[1];eo===Ur||!["t","b"].includes(eo)?za.top=va:eo==="t"?za.top=0:za.bottom=0,So===br||!["l","r"].includes(So)?za.left=fa:So==="l"?za.left=0:za.right=0}return ae.createElement("div",{ref:qa,className:Me()("".concat(Re,"-arrow"),mn),style:za},da)}function ps(Pe){var Re=Pe.prefixCls,ke=Pe.open,it=Pe.zIndex,Tt=Pe.mask,un=Pe.motion;return Tt?ae.createElement(Ol,(0,ze.Z)({},un,{motionAppear:!0,visible:ke,removeOnLeave:!0}),function(mn){var da=mn.className;return ae.createElement("div",{style:{zIndex:it},className:Me()("".concat(Re,"-mask"),da)})}):null}var ad=ae.memo(function(Pe){var Re=Pe.children;return Re},function(Pe,Re){return Re.cache}),bi=ad,Ai=ae.forwardRef(function(Pe,Re){var ke=Pe.popup,it=Pe.className,Tt=Pe.prefixCls,un=Pe.style,mn=Pe.target,da=Pe.onVisibleChanged,Ea=Pe.open,fa=Pe.keepDom,Ya=Pe.fresh,va=Pe.onClick,qa=Pe.mask,za=Pe.arrow,pr=Pe.arrowPos,uo=Pe.align,eo=Pe.motion,So=Pe.maskMotion,Ur=Pe.forceRender,br=Pe.getPopupContainer,er=Pe.autoDestroy,li=Pe.portal,jo=Pe.zIndex,si=Pe.onMouseEnter,pi=Pe.onMouseLeave,Ui=Pe.onPointerEnter,Qo=Pe.ready,Po=Pe.offsetX,Si=Pe.offsetY,Bi=Pe.offsetR,qo=Pe.offsetB,fo=Pe.onAlign,zo=Pe.onPrepare,Gr=Pe.stretch,Ii=Pe.targetWidth,ko=Pe.targetHeight,Gi=typeof ke=="function"?ke():ke,ul=Ea||fa,Vi=(br==null?void 0:br.length)>0,Il=ae.useState(!br||!Vi),Tl=(0,Te.Z)(Il,2),Oo=Tl[0],Nl=Tl[1];if(ra(function(){!Oo&&Vi&&mn&&Nl(!0)},[Oo,Vi,mn]),!Oo)return null;var Ni="auto",Ho={left:"-1000vw",top:"-1000vh",right:Ni,bottom:Ni};if(Qo||!Ea){var di,gl=uo.points,Yl=uo.dynamicInset||((di=uo._experimental)===null||di===void 0?void 0:di.dynamicInset),us=Yl&&gl[0][1]==="r",ll=Yl&&gl[0][0]==="b";us?(Ho.right=Bi,Ho.left=Ni):(Ho.left=Po,Ho.right=Ni),ll?(Ho.bottom=qo,Ho.top=Ni):(Ho.top=Si,Ho.bottom=Ni)}var Fi={};return Gr&&(Gr.includes("height")&&ko?Fi.height=ko:Gr.includes("minHeight")&&ko&&(Fi.minHeight=ko),Gr.includes("width")&&Ii?Fi.width=Ii:Gr.includes("minWidth")&&Ii&&(Fi.minWidth=Ii)),Ea||(Fi.pointerEvents="none"),ae.createElement(li,{open:Ur||ul,getContainer:br&&function(){return br(mn)},autoDestroy:er},ae.createElement(ps,{prefixCls:Tt,open:Ea,zIndex:jo,mask:qa,motion:So}),ae.createElement(Ee.Z,{onResize:fo,disabled:!Ea},function(El){return ae.createElement(Ol,(0,ze.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ur,leavedClassName:"".concat(Tt,"-hidden")},eo,{onAppearPrepare:zo,onEnterPrepare:zo,visible:Ea,onVisibleChanged:function($o){var Br;eo==null||(Br=eo.onVisibleChanged)===null||Br===void 0||Br.call(eo,$o),da($o)}}),function(Yi,$o){var Br=Yi.className,Ti=Yi.style,Dl=Me()(Tt,Br,it);return ae.createElement("div",{ref:Mn(El,Re,$o),className:Dl,style:(0,He.Z)((0,He.Z)((0,He.Z)((0,He.Z)({"--arrow-x":"".concat(pr.x||0,"px"),"--arrow-y":"".concat(pr.y||0,"px")},Ho),Fi),Ti),{},{boxSizing:"border-box",zIndex:jo},un),onMouseEnter:si,onMouseLeave:pi,onPointerEnter:Ui,onClick:va},za&&ae.createElement(Gs,{prefixCls:Tt,arrow:za,arrowPos:pr,align:uo}),ae.createElement(bi,{cache:!Ea&&!Ya},Gi))})}))}),il=Ai,Ds=ae.forwardRef(function(Pe,Re){var ke=Pe.children,it=Pe.getTriggerDOMNode,Tt=ot(ke),un=ae.useCallback(function(da){ho(Re,it?it(da):da)},[it]),mn=no(un,ke.ref);return Tt?ae.cloneElement(ke,{ref:mn}):ke}),Md=Ds,Ci=["prefixCls","children","action","showAction","hideAction","popupVisible","defaultPopupVisible","onPopupVisibleChange","afterPopupVisibleChange","mouseEnterDelay","mouseLeaveDelay","focusDelay","blurDelay","mask","maskClosable","getPopupContainer","forceRender","autoDestroy","destroyPopupOnHide","popup","popupClassName","popupStyle","popupPlacement","builtinPlacements","popupAlign","zIndex","stretch","getPopupClassNameFromAlign","fresh","alignPoint","onPopupClick","onPopupAlign","arrow","popupMotion","maskMotion","popupTransitionName","popupAnimation","maskTransitionName","maskAnimation","className","getTriggerDOMNode"];function ss(){var Pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ca,Re=ae.forwardRef(function(ke,it){var Tt=ke.prefixCls,un=Tt===void 0?"rc-trigger-popup":Tt,mn=ke.children,da=ke.action,Ea=da===void 0?"hover":da,fa=ke.showAction,Ya=ke.hideAction,va=ke.popupVisible,qa=ke.defaultPopupVisible,za=ke.onPopupVisibleChange,pr=ke.afterPopupVisibleChange,uo=ke.mouseEnterDelay,eo=ke.mouseLeaveDelay,So=eo===void 0?.1:eo,Ur=ke.focusDelay,br=ke.blurDelay,er=ke.mask,li=ke.maskClosable,jo=li===void 0?!0:li,si=ke.getPopupContainer,pi=ke.forceRender,Ui=ke.autoDestroy,Qo=ke.destroyPopupOnHide,Po=ke.popup,Si=ke.popupClassName,Bi=ke.popupStyle,qo=ke.popupPlacement,fo=ke.builtinPlacements,zo=fo===void 0?{}:fo,Gr=ke.popupAlign,Ii=ke.zIndex,ko=ke.stretch,Gi=ke.getPopupClassNameFromAlign,ul=ke.fresh,Vi=ke.alignPoint,Il=ke.onPopupClick,Tl=ke.onPopupAlign,Oo=ke.arrow,Nl=ke.popupMotion,Ni=ke.maskMotion,Ho=ke.popupTransitionName,di=ke.popupAnimation,gl=ke.maskTransitionName,Yl=ke.maskAnimation,us=ke.className,ll=ke.getTriggerDOMNode,Fi=(0,je.Z)(ke,Ci),El=Ui||Qo||!1,Yi=ae.useState(!1),$o=(0,Te.Z)(Yi,2),Br=$o[0],Ti=$o[1];ra(function(){Ti(Ka())},[]);var Dl=ae.useRef({}),gs=ae.useContext(Tr),xs=ae.useMemo(function(){return{registerSubPopup:function(or,jr){Dl.current[or]=jr,gs==null||gs.registerSubPopup(or,jr)}}},[gs]),_l=yn(),Ws=ae.useState(null),fd=(0,Te.Z)(Ws,2),fs=fd[0],Jd=fd[1],es=We(function(ta){Ke(ta)&&fs!==ta&&Jd(ta),gs==null||gs.registerSubPopup(_l,ta)}),ms=ae.useState(null),md=(0,Te.Z)(ms,2),Ss=md[0],Fd=md[1],Xd=We(function(ta){Ke(ta)&&Ss!==ta&&Fd(ta)}),vd=ae.Children.only(mn),Ql=(vd==null?void 0:vd.props)||{},Us={},qd=We(function(ta){var or,jr,Io=Ss;return(Io==null?void 0:Io.contains(ta))||((or=tn(Io))===null||or===void 0?void 0:or.host)===ta||ta===Io||(fs==null?void 0:fs.contains(ta))||((jr=tn(fs))===null||jr===void 0?void 0:jr.host)===ta||ta===fs||Object.values(Dl.current).some(function(ya){return(ya==null?void 0:ya.contains(ta))||ta===ya})}),Rs=gr(un,Nl,di,Ho),Zl=gr(un,Ni,Yl,gl),hd=ae.useState(qa||!1),Vs=(0,Te.Z)(hd,2),Es=Vs[0],Zi=Vs[1],ri=va!=null?va:Es,ts=We(function(ta){va===void 0&&Zi(ta)});ra(function(){Zi(va||!1)},[va]);var ws=ae.useRef(ri);ws.current=ri;var pd=We(function(ta){(0,_e.flushSync)(function(){ri!==ta&&(ts(ta),za==null||za(ta))})}),Rd=ae.useRef(),Sd=function(){clearTimeout(Rd.current)},vs=function(or){var jr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Sd(),jr===0?pd(or):Rd.current=setTimeout(function(){pd(or)},jr*1e3)};ae.useEffect(function(){return Sd},[]);var Pd=ae.useState(!1),kd=(0,Te.Z)(Pd,2),ks=kd[0],Od=kd[1];ra(function(ta){(!ta||ri)&&Od(!0)},[ri]);var yd=ae.useState(null),Id=(0,Te.Z)(yd,2),Ls=Id[0],Ys=Id[1],Qs=ae.useState([0,0]),Js=(0,Te.Z)(Qs,2),bd=Js[0],Td=Js[1],Ps=function(or){Td([or.clientX,or.clientY])},ns=jt(ri,fs,Vi?bd:Ss,qo,zo,Gr,Tl),Jl=(0,Te.Z)(ns,11),Xs=Jl[0],de=Jl[1],ue=Jl[2],he=Jl[3],ye=Jl[4],Be=Jl[5],Oe=Jl[6],Je=Jl[7],at=Jl[8],tt=Jl[9],yt=Jl[10],Ht=Rr(Br,Ea,fa,Ya),Lt=(0,Te.Z)(Ht,2),rn=Lt[0],on=Lt[1],fn=rn.has("click"),Xn=on.has("click")||on.has("contextMenu"),Fn=We(function(){ks||yt()}),ea=function(){ws.current&&Vi&&Xn&&vs(!1)};bn(ri,Ss,fs,Fn,ea),ra(function(){Fn()},[bd,qo]),ra(function(){ri&&!(zo!=null&&zo[qo])&&Fn()},[JSON.stringify(Gr)]);var Zn=ae.useMemo(function(){var ta=lo(zo,un,tt,Vi);return Me()(ta,Gi==null?void 0:Gi(tt))},[tt,Gi,zo,un,Vi]);ae.useImperativeHandle(it,function(){return{forceAlign:Fn}});var la=ae.useState(0),Ra=(0,Te.Z)(la,2),Qa=Ra[0],Ma=Ra[1],fr=ae.useState(0),Dr=(0,Te.Z)(fr,2),Sa=Dr[0],Na=Dr[1],ua=function(){if(ko&&Ss){var or=Ss.getBoundingClientRect();Ma(or.width),Na(or.height)}},ia=function(){ua(),Fn()},Da=function(or){Od(!1),yt(),pr==null||pr(or)},Wa=function(){return new Promise(function(or){ua(),Ys(function(){return or})})};ra(function(){Ls&&(yt(),Ls(),Ys(null))},[Ls]);function vr(ta,or,jr,Io){Us[ta]=function(ya){var Ja;Io==null||Io(ya),vs(or,jr);for(var tr=arguments.length,Ua=new Array(tr>1?tr-1:0),po=1;po<tr;po++)Ua[po-1]=arguments[po];(Ja=Ql[ta])===null||Ja===void 0||Ja.call.apply(Ja,[Ql,ya].concat(Ua))}}(fn||Xn)&&(Us.onClick=function(ta){var or;ws.current&&Xn?vs(!1):!ws.current&&fn&&(Ps(ta),vs(!0));for(var jr=arguments.length,Io=new Array(jr>1?jr-1:0),ya=1;ya<jr;ya++)Io[ya-1]=arguments[ya];(or=Ql.onClick)===null||or===void 0||or.call.apply(or,[Ql,ta].concat(Io))}),ni(ri,Xn,Ss,fs,er,jo,qd,vs);var Er=rn.has("hover"),Ha=on.has("hover"),Or,Kr;Er&&(vr("onMouseEnter",!0,uo,function(ta){Ps(ta)}),vr("onPointerEnter",!0,uo,function(ta){Ps(ta)}),Or=function(){(ri||ks)&&vs(!0,uo)},Vi&&(Us.onMouseMove=function(ta){var or;(or=Ql.onMouseMove)===null||or===void 0||or.call(Ql,ta)})),Ha&&(vr("onMouseLeave",!1,So),vr("onPointerLeave",!1,So),Kr=function(){vs(!1,So)}),rn.has("focus")&&vr("onFocus",!0,Ur),on.has("focus")&&vr("onBlur",!1,br),rn.has("contextMenu")&&(Us.onContextMenu=function(ta){var or;ws.current&&on.has("contextMenu")?vs(!1):(Ps(ta),vs(!0)),ta.preventDefault();for(var jr=arguments.length,Io=new Array(jr>1?jr-1:0),ya=1;ya<jr;ya++)Io[ya-1]=arguments[ya];(or=Ql.onContextMenu)===null||or===void 0||or.call.apply(or,[Ql,ta].concat(Io))}),us&&(Us.className=Me()(Ql.className,us));var Mo=(0,He.Z)((0,He.Z)({},Ql),Us),mo={},gi=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];gi.forEach(function(ta){Fi[ta]&&(mo[ta]=function(){for(var or,jr=arguments.length,Io=new Array(jr),ya=0;ya<jr;ya++)Io[ya]=arguments[ya];(or=Mo[ta])===null||or===void 0||or.call.apply(or,[Mo].concat(Io)),Fi[ta].apply(Fi,Io)})});var fi=ae.cloneElement(vd,(0,He.Z)((0,He.Z)({},Mo),mo)),Fr={x:Be,y:Oe},Di=Oo?(0,He.Z)({},Oo!==!0?Oo:{}):null;return ae.createElement(ae.Fragment,null,ae.createElement(Ee.Z,{disabled:!ri,ref:Xd,onResize:ia},ae.createElement(Md,{getTriggerDOMNode:ll},fi)),ae.createElement(Tr.Provider,{value:xs},ae.createElement(il,{portal:Pe,ref:es,prefixCls:un,popup:Po,className:Me()(Si,Zn),style:Bi,target:Ss,onMouseEnter:Or,onMouseLeave:Kr,onPointerEnter:Or,zIndex:Ii,open:ri,keepDom:ks,fresh:ul,onClick:Il,mask:er,motion:Rs,maskMotion:Zl,onVisibleChanged:Da,onPrepare:Wa,forceRender:pi,autoDestroy:El,getPopupContainer:si,align:tt,arrow:Di,arrowPos:Fr,ready:Xs,offsetX:de,offsetY:ue,offsetR:he,offsetB:ye,onAlign:Fn,stretch:ko,targetWidth:Qa/Je,targetHeight:Sa/at})))});return Re}var ql=ss(Ca),Nr={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(Re){var ke=Re.keyCode;if(Re.altKey&&!Re.ctrlKey||Re.metaKey||ke>=Nr.F1&&ke<=Nr.F12)return!1;switch(ke){case Nr.ALT:case Nr.CAPS_LOCK:case Nr.CONTEXT_MENU:case Nr.CTRL:case Nr.DOWN:case Nr.END:case Nr.ESC:case Nr.HOME:case Nr.INSERT:case Nr.LEFT:case Nr.MAC_FF_META:case Nr.META:case Nr.NUMLOCK:case Nr.NUM_CENTER:case Nr.PAGE_DOWN:case Nr.PAGE_UP:case Nr.PAUSE:case Nr.PRINT_SCREEN:case Nr.RIGHT:case Nr.SHIFT:case Nr.UP:case Nr.WIN_KEY:case Nr.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(Re){if(Re>=Nr.ZERO&&Re<=Nr.NINE||Re>=Nr.NUM_ZERO&&Re<=Nr.NUM_MULTIPLY||Re>=Nr.A&&Re<=Nr.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&Re===0)return!0;switch(Re){case Nr.SPACE:case Nr.QUESTION_MARK:case Nr.NUM_PLUS:case Nr.NUM_MINUS:case Nr.NUM_PERIOD:case Nr.NUM_DIVISION:case Nr.SEMICOLON:case Nr.DASH:case Nr.EQUALS:case Nr.COMMA:case Nr.PERIOD:case Nr.SLASH:case Nr.APOSTROPHE:case Nr.SINGLE_QUOTE:case Nr.OPEN_SQUARE_BRACKET:case Nr.BACKSLASH:case Nr.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ds=Nr,cs=ds.ESC,Ks=ds.TAB;function Ms(Pe){var Re=Pe.visible,ke=Pe.triggerRef,it=Pe.onVisibleChange,Tt=Pe.autoFocus,un=Pe.overlayRef,mn=ae.useRef(!1),da=function(){if(Re){var va,qa;(va=ke.current)===null||va===void 0||(qa=va.focus)===null||qa===void 0||qa.call(va),it==null||it(!1)}},Ea=function(){var va;return(va=un.current)!==null&&va!==void 0&&va.focus?(un.current.focus(),mn.current=!0,!0):!1},fa=function(va){switch(va.keyCode){case cs:da();break;case Ks:{var qa=!1;mn.current||(qa=Ea()),qa?va.preventDefault():da();break}}};ae.useEffect(function(){return Re?(window.addEventListener("keydown",fa),Tt&&Dt(Ea,3),function(){window.removeEventListener("keydown",fa),mn.current=!1}):function(){mn.current=!1}},[Re])}var js=(0,ae.forwardRef)(function(Pe,Re){var ke=Pe.overlay,it=Pe.arrow,Tt=Pe.prefixCls,un=(0,ae.useMemo)(function(){var da;return typeof ke=="function"?da=ke():da=ke,da},[ke]),mn=pe(Re,un==null?void 0:un.ref);return ae.createElement(ae.Fragment,null,it&&ae.createElement("div",{className:"".concat(Tt,"-arrow")}),ae.cloneElement(un,{ref:be(un)?mn:void 0}))}),Pc=js,rd={adjustX:1,adjustY:1},Bs=[0,0],yc={topLeft:{points:["bl","tl"],overflow:rd,offset:[0,-4],targetOffset:Bs},top:{points:["bc","tc"],overflow:rd,offset:[0,-4],targetOffset:Bs},topRight:{points:["br","tr"],overflow:rd,offset:[0,-4],targetOffset:Bs},bottomLeft:{points:["tl","bl"],overflow:rd,offset:[0,4],targetOffset:Bs},bottom:{points:["tc","bc"],overflow:rd,offset:[0,4],targetOffset:Bs},bottomRight:{points:["tr","br"],overflow:rd,offset:[0,4],targetOffset:Bs}},ic=yc,bc=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function $s(Pe,Re){var ke,it=Pe.arrow,Tt=it===void 0?!1:it,un=Pe.prefixCls,mn=un===void 0?"rc-dropdown":un,da=Pe.transitionName,Ea=Pe.animation,fa=Pe.align,Ya=Pe.placement,va=Ya===void 0?"bottomLeft":Ya,qa=Pe.placements,za=qa===void 0?ic:qa,pr=Pe.getPopupContainer,uo=Pe.showAction,eo=Pe.hideAction,So=Pe.overlayClassName,Ur=Pe.overlayStyle,br=Pe.visible,er=Pe.trigger,li=er===void 0?["hover"]:er,jo=Pe.autoFocus,si=Pe.overlay,pi=Pe.children,Ui=Pe.onVisibleChange,Qo=(0,je.Z)(Pe,bc),Po=ae.useState(),Si=(0,Te.Z)(Po,2),Bi=Si[0],qo=Si[1],fo="visible"in Pe?br:Bi,zo=ae.useRef(null),Gr=ae.useRef(null),Ii=ae.useRef(null);ae.useImperativeHandle(Re,function(){return zo.current});var ko=function(Ho){qo(Ho),Ui==null||Ui(Ho)};Ms({visible:fo,triggerRef:Ii,onVisibleChange:ko,autoFocus:jo,overlayRef:Gr});var Gi=function(Ho){var di=Pe.onOverlayClick;qo(!1),di&&di(Ho)},ul=function(){return ae.createElement(Pc,{ref:Gr,overlay:si,prefixCls:mn,arrow:Tt})},Vi=function(){return typeof si=="function"?ul:ul()},Il=function(){var Ho=Pe.minOverlayWidthMatchTrigger,di=Pe.alignPoint;return"minOverlayWidthMatchTrigger"in Pe?Ho:!di},Tl=function(){var Ho=Pe.openClassName;return Ho!==void 0?Ho:"".concat(mn,"-open")},Oo=ae.cloneElement(pi,{className:Me()((ke=pi.props)===null||ke===void 0?void 0:ke.className,fo&&Tl()),ref:be(pi)?pe(Ii,pi.ref):void 0}),Nl=eo;return!Nl&&li.indexOf("contextMenu")!==-1&&(Nl=["click"]),ae.createElement(ql,(0,ze.Z)({builtinPlacements:za},Qo,{prefixCls:mn,ref:zo,popupClassName:Me()(So,(0,se.Z)({},"".concat(mn,"-show-arrow"),Tt)),popupStyle:Ur,action:li,showAction:uo,hideAction:Nl,popupPlacement:va,popupAlign:fa,popupTransitionName:da,popupAnimation:Ea,popupVisible:fo,stretch:Il()?"minWidth":"",popup:Vi(),onPopupVisibleChange:ko,onPopupClick:Gi,getPopupContainer:pr}),Oo)}var cd=ae.forwardRef($s),ud=cd,Cc=ee(60276),lc=ee(5663),xc=ee(10366),sc=ee(80636),Ec=ee(8745),wc=ee(96159),Yd=ee(53124),dc=ee(68508),Bd=ee(76529),Lc=ee(46605),gd=ee(66748);const Ac=null,od=Pe=>{const{menu:Re,arrow:ke,prefixCls:it,children:Tt,trigger:un,disabled:mn,dropdownRender:da,getPopupContainer:Ea,overlayClassName:fa,rootClassName:Ya,open:va,onOpenChange:qa,visible:za,onVisibleChange:pr,mouseEnterDelay:uo=.15,mouseLeaveDelay:eo=.1,autoAdjustOverflow:So=!0,placement:Ur="",overlay:br,transitionName:er}=Pe,{getPopupContainer:li,getPrefixCls:jo,direction:si}=ae.useContext(Yd.E_),pi=ae.useMemo(()=>{const Oo=jo();return er!==void 0?er:Ur.includes("top")?`${Oo}-slide-down`:`${Oo}-slide-up`},[jo,Ur,er]),Ui=ae.useMemo(()=>Ur?Ur.includes("Center")?Ur.slice(0,Ur.indexOf("Center")):Ur:si==="rtl"?"bottomRight":"bottomLeft",[Ur,si]),Qo=jo("dropdown",it),[Po,Si]=(0,gd.Z)(Qo),[,Bi]=(0,Lc.Z)(),qo=ae.Children.only(Tt),fo=(0,wc.Tm)(qo,{className:Me()(`${Qo}-trigger`,{[`${Qo}-rtl`]:si==="rtl"},qo.props.className),disabled:mn}),zo=mn?[]:un;let Gr;zo&&zo.includes("contextMenu")&&(Gr=!0);const[Ii,ko]=(0,lc.Z)(!1,{value:va!=null?va:za}),Gi=(0,Cc.useEvent)(Oo=>{qa==null||qa(Oo),pr==null||pr(Oo),ko(Oo)}),ul=Me()(fa,Ya,Si,{[`${Qo}-rtl`]:si==="rtl"}),Vi=(0,sc.Z)({arrowPointAtCenter:typeof ke=="object"&&ke.pointAtCenter,autoAdjustOverflow:So,offset:Bi.marginXXS,arrowWidth:ke?Bi.sizePopupArrow:0,borderRadius:Bi.borderRadius}),Il=ae.useCallback(()=>{ko(!1)},[]),Tl=()=>{let Oo;return Re!=null&&Re.items?Oo=ae.createElement(dc.default,Object.assign({},Re)):typeof br=="function"?Oo=br():Oo=br,da&&(Oo=da(Oo)),Oo=ae.Children.only(typeof Oo=="string"?ae.createElement("span",null,Oo):Oo),ae.createElement(Bd.J,{prefixCls:`${Qo}-menu`,expandIcon:ae.createElement("span",{className:`${Qo}-menu-submenu-arrow`},ae.createElement(Ie.Z,{className:`${Qo}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:Il,validator:Nl=>{let{mode:Ni}=Nl}},Oo)};return Po(ae.createElement(ud,Object.assign({alignPoint:Gr},(0,xc.Z)(Pe,["rootClassName"]),{mouseEnterDelay:uo,mouseLeaveDelay:eo,visible:Ii,builtinPlacements:Vi,arrow:!!ke,overlayClassName:ul,prefixCls:Qo,getPopupContainer:Ea||li,transitionName:pi,trigger:zo,overlay:Tl,placement:Ui,onVisibleChange:Gi}),fo))};function Fs(Pe){return Object.assign(Object.assign({},Pe),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const Nc=(0,Ec.Z)(od,"dropdown",Pe=>Pe,Fs),Qd=Pe=>ae.createElement(Nc,Object.assign({},Pe),ae.createElement("span",null));od._InternalPanelDoNotUseOrYouWillBeFired=Qd;var Oc=od},85418:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return y}});var ae=ee(56153),me=ee(94184),Ie=ee.n(me),Ze=ee(67294),Me=ee(25877),ze=ee(71577),se=ee(53124),Te=ee(93421),je=ee(4173),He=ee(66748),_e=function(a,x){var b={};for(var E in a)Object.prototype.hasOwnProperty.call(a,E)&&x.indexOf(E)<0&&(b[E]=a[E]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var z=0,E=Object.getOwnPropertySymbols(a);z<E.length;z++)x.indexOf(E[z])<0&&Object.prototype.propertyIsEnumerable.call(a,E[z])&&(b[E[z]]=a[E[z]]);return b};const $e=a=>{const{getPopupContainer:x,getPrefixCls:b,direction:E}=Ze.useContext(se.E_),{prefixCls:z,type:re="default",danger:oe,disabled:ne,loading:ge,onClick:pe,htmlType:Le,children:be,className:xe,menu:Se,arrow:ft,autoFocus:Ye,overlay:Zt,trigger:qe,align:ct,open:zt,onOpenChange:en,placement:Mt,getPopupContainer:lt,href:xt,icon:nn=Ze.createElement(Me.Z,null),title:vn,buttonsRender:Ue=Hn=>Hn,mouseEnterDelay:Ct,mouseLeaveDelay:Ft,overlayClassName:Rn,overlayStyle:nt,destroyPopupOnHide:kt,dropdownRender:Ce}=a,hn=_e(a,["prefixCls","type","danger","disabled","loading","onClick","htmlType","children","className","menu","arrow","autoFocus","overlay","trigger","align","open","onOpenChange","placement","getPopupContainer","href","icon","title","buttonsRender","mouseEnterDelay","mouseLeaveDelay","overlayClassName","overlayStyle","destroyPopupOnHide","dropdownRender"]),zn=b("dropdown",z),ba=`${zn}-button`,[Yn,Rt]=(0,He.Z)(zn),Ge={menu:Se,arrow:ft,autoFocus:Ye,align:ct,disabled:ne,trigger:ne?[]:qe,onOpenChange:en,getPopupContainer:lt||x,mouseEnterDelay:Ct,mouseLeaveDelay:Ft,overlayClassName:Rn,overlayStyle:nt,destroyPopupOnHide:kt,dropdownRender:Ce},{compactSize:Fe,compactItemClassnames:pt}=(0,je.ri)(zn,E),Gt=Ie()(ba,pt,xe,Rt);"overlay"in a&&(Ge.overlay=Zt),"open"in a&&(Ge.open=zt),"placement"in a?Ge.placement=Mt:Ge.placement=E==="rtl"?"bottomLeft":"bottomRight";const _t=Ze.createElement(ze.ZP,{type:re,danger:oe,disabled:ne,loading:ge,onClick:pe,htmlType:Le,href:xt,title:vn},be),Pn=Ze.createElement(ze.ZP,{type:re,danger:oe,icon:nn}),[Qn,Gn]=Ue([_t,Pn]);return Yn(Ze.createElement(Te.Z.Compact,Object.assign({className:Gt,size:Fe,block:!0},hn),Qn,Ze.createElement(ae.Z,Object.assign({},Ge),Gn)))};$e.__ANT_BUTTON=!0;var we=$e;const ce=ae.Z;ce.Button=we;var y=ce},66748:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return _e}});var ae=ee(14747),me=ee(67771),Ie=ee(33297),Ze=ee(50438),Me=ee(97414),ze=ee(67968),se=ee(45503),je=$e=>{const{componentCls:we,menuCls:ce,colorError:y,colorTextLightSolid:a}=$e,x=`${ce}-item`;return{[`${we}, ${we}-menu-submenu`]:{[`${ce} ${x}`]:{[`&${x}-danger:not(${x}-disabled)`]:{color:y,"&:hover":{color:a,backgroundColor:y}}}}}};const He=$e=>{const{componentCls:we,menuCls:ce,zIndexPopup:y,dropdownArrowDistance:a,sizePopupArrow:x,antCls:b,iconCls:E,motionDurationMid:z,dropdownPaddingVertical:re,fontSize:oe,dropdownEdgeChildPadding:ne,colorTextDisabled:ge,fontSizeIcon:pe,controlPaddingHorizontal:Le,colorBgElevated:be}=$e;return[{[we]:Object.assign(Object.assign({},(0,ae.Wf)($e)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:y,display:"block","&::before":{position:"absolute",insetBlock:-a+x/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${b}-btn`]:{[`& > ${E}-down, & > ${b}-btn-icon > ${E}-down`]:{fontSize:pe}},[`${we}-wrap`]:{position:"relative",[`${b}-btn > ${E}-down`]:{fontSize:pe},[`${E}-down::before`]:{transition:`transform ${z}`}},[`${we}-wrap-open`]:{[`${E}-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${we}-placement-bottomLeft,
&${b}-slide-down-appear${b}-slide-down-appear-active${we}-placement-bottomLeft,
&${b}-slide-down-enter${b}-slide-down-enter-active${we}-placement-bottom,
&${b}-slide-down-appear${b}-slide-down-appear-active${we}-placement-bottom,
&${b}-slide-down-enter${b}-slide-down-enter-active${we}-placement-bottomRight,
&${b}-slide-down-appear${b}-slide-down-appear-active${we}-placement-bottomRight`]:{animationName:me.fJ},[`&${b}-slide-up-enter${b}-slide-up-enter-active${we}-placement-topLeft,
&${b}-slide-up-appear${b}-slide-up-appear-active${we}-placement-topLeft,
&${b}-slide-up-enter${b}-slide-up-enter-active${we}-placement-top,
&${b}-slide-up-appear${b}-slide-up-appear-active${we}-placement-top,
&${b}-slide-up-enter${b}-slide-up-enter-active${we}-placement-topRight,
&${b}-slide-up-appear${b}-slide-up-appear-active${we}-placement-topRight`]:{animationName:me.Qt},[`&${b}-slide-down-leave${b}-slide-down-leave-active${we}-placement-bottomLeft,
&${b}-slide-down-leave${b}-slide-down-leave-active${we}-placement-bottom,
&${b}-slide-down-leave${b}-slide-down-leave-active${we}-placement-bottomRight`]:{animationName:me.Uw},[`&${b}-slide-up-leave${b}-slide-up-leave-active${we}-placement-topLeft,
&${b}-slide-up-leave${b}-slide-up-leave-active${we}-placement-top,
&${b}-slide-up-leave${b}-slide-up-leave-active${we}-placement-topRight`]:{animationName:me.ly}})},(0,Me.ZP)($e,{colorBg:be,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${we} ${ce}`]:{position:"relative",margin:0},[`${ce}-submenu-popup`]:{position:"absolute",zIndex:y,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${we}, ${we}-menu-submenu`]:{[ce]:Object.assign(Object.assign({padding:ne,listStyleType:"none",backgroundColor:be,backgroundClip:"padding-box",borderRadius:$e.borderRadiusLG,outline:"none",boxShadow:$e.boxShadowSecondary},(0,ae.Qy)($e)),{[`${ce}-item-group-title`]:{padding:`${re}px ${Le}px`,color:$e.colorTextDescription,transition:`all ${z}`},[`${ce}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${ce}-item-icon`]:{minWidth:oe,marginInlineEnd:$e.marginXS,fontSize:$e.fontSizeSM},[`${ce}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${z}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${ce}-item, ${ce}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${re}px ${Le}px`,color:$e.colorText,fontWeight:"normal",fontSize:oe,lineHeight:$e.lineHeight,cursor:"pointer",transition:`all ${z}`,borderRadius:$e.borderRadiusSM,"&:hover, &-active":{backgroundColor:$e.controlItemBgHover}},(0,ae.Qy)($e)),{"&-selected":{color:$e.colorPrimary,backgroundColor:$e.controlItemBgActive,"&:hover, &-active":{backgroundColor:$e.controlItemBgActiveHover}},"&-disabled":{color:ge,cursor:"not-allowed","&:hover":{color:ge,backgroundColor:be,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${$e.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:$e.colorSplit},[`${we}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:$e.paddingXS,[`${we}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:$e.colorTextDescription,fontSize:pe,fontStyle:"normal"}}}),[`${ce}-item-group-list`]:{margin:`0 ${$e.marginXS}px`,padding:0,listStyle:"none"},[`${ce}-submenu-title`]:{paddingInlineEnd:Le+$e.fontSizeSM},[`${ce}-submenu-vertical`]:{position:"relative"},[`${ce}-submenu${ce}-submenu-disabled ${we}-menu-submenu-title`]:{[`&, ${we}-menu-submenu-arrow-icon`]:{color:ge,backgroundColor:be,cursor:"not-allowed"}},[`${ce}-submenu-selected ${we}-menu-submenu-title`]:{color:$e.colorPrimary}})}},[(0,me.oN)($e,"slide-up"),(0,me.oN)($e,"slide-down"),(0,Ie.Fm)($e,"move-up"),(0,Ie.Fm)($e,"move-down"),(0,Ze._y)($e,"zoom-big")]]};var _e=(0,ze.Z)("Dropdown",($e,we)=>{let{rootPrefixCls:ce}=we;const{marginXXS:y,sizePopupArrow:a,controlHeight:x,fontSize:b,lineHeight:E,paddingXXS:z,componentCls:re,borderRadiusLG:oe}=$e,ne=(x-b*E)/2,{dropdownArrowOffset:ge}=(0,Me.fS)({contentRadius:oe}),pe=(0,se.TS)($e,{menuCls:`${re}-menu`,rootPrefixCls:ce,dropdownArrowDistance:a/2+y,dropdownArrowOffset:ge,dropdownPaddingVertical:ne,dropdownEdgeChildPadding:z});return[He(pe),je(pe)]},$e=>({zIndexPopup:$e.zIndexPopupBase+50}))},25378:function(ht,wt,ee){"use strict";var ae=ee(67294),me=ee(14075),Ie=ee(57838),Ze=ee(74443);function Me(){let ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const se=(0,ae.useRef)({}),Te=(0,Ie.Z)(),je=(0,Ze.ZP)();return(0,me.Z)(()=>{const He=je.subscribe(_e=>{se.current=_e,ze&&Te()});return()=>je.unsubscribe(He)},[]),se.current}wt.Z=Me},71322:function(ht,wt,ee){"use strict";ee.d(wt,{D:function(){return E},Z:function(){return oe}});var ae=ee(87462),me=ee(67294),Ie={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"},Ze=Ie,Me=ee(74643),ze=function(ge,pe){return me.createElement(Me.Z,(0,ae.Z)({},ge,{ref:pe,icon:Ze}))},se=me.forwardRef(ze),Te=ee(22751),je=ee(91034),He=ee(94184),_e=ee.n(He),$e=ee(10366),ce=ne=>!isNaN(parseFloat(ne))&&isFinite(ne),y=ee(53124),a=ee(84321),x=function(ne,ge){var pe={};for(var Le in ne)Object.prototype.hasOwnProperty.call(ne,Le)&&ge.indexOf(Le)<0&&(pe[Le]=ne[Le]);if(ne!=null&&typeof Object.getOwnPropertySymbols=="function")for(var be=0,Le=Object.getOwnPropertySymbols(ne);be<Le.length;be++)ge.indexOf(Le[be])<0&&Object.prototype.propertyIsEnumerable.call(ne,Le[be])&&(pe[Le[be]]=ne[Le[be]]);return pe};const b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},E=me.createContext({}),z=(()=>{let ne=0;return function(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return ne+=1,`${ge}${ne}`}})();var oe=me.forwardRef((ne,ge)=>{const{prefixCls:pe,className:Le,trigger:be,children:xe,defaultCollapsed:Se=!1,theme:ft="dark",style:Ye={},collapsible:Zt=!1,reverseArrow:qe=!1,width:ct=200,collapsedWidth:zt=80,zeroWidthTriggerStyle:en,breakpoint:Mt,onCollapse:lt,onBreakpoint:xt}=ne,nn=x(ne,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:vn}=(0,me.useContext)(a.Gs),[Ue,Ct]=(0,me.useState)("collapsed"in ne?ne.collapsed:Se),[Ft,Rn]=(0,me.useState)(!1);(0,me.useEffect)(()=>{"collapsed"in ne&&Ct(ne.collapsed)},[ne.collapsed]);const nt=(Yn,Rt)=>{"collapsed"in ne||Ct(Yn),lt==null||lt(Yn,Rt)},kt=(0,me.useRef)();kt.current=Yn=>{Rn(Yn.matches),xt==null||xt(Yn.matches),Ue!==Yn.matches&&nt(Yn.matches,"responsive")},(0,me.useEffect)(()=>{function Yn(Ge){return kt.current(Ge)}let Rt;if(typeof window!="undefined"){const{matchMedia:Ge}=window;if(Ge&&Mt&&Mt in b){Rt=Ge(`(max-width: ${b[Mt]})`);try{Rt.addEventListener("change",Yn)}catch(Fe){Rt.addListener(Yn)}Yn(Rt)}}return()=>{try{Rt==null||Rt.removeEventListener("change",Yn)}catch(Ge){Rt==null||Rt.removeListener(Yn)}}},[Mt]),(0,me.useEffect)(()=>{const Yn=z("ant-sider-");return vn.addSider(Yn),()=>vn.removeSider(Yn)},[]);const Ce=()=>{nt(!Ue,"clickTrigger")},{getPrefixCls:hn}=(0,me.useContext)(y.E_),zn=()=>{const Yn=hn("layout-sider",pe),Rt=(0,$e.Z)(nn,["collapsed"]),Ge=Ue?zt:ct,Fe=ce(Ge)?`${Ge}px`:String(Ge),pt=parseFloat(String(zt||0))===0?me.createElement("span",{onClick:Ce,className:_e()(`${Yn}-zero-width-trigger`,`${Yn}-zero-width-trigger-${qe?"right":"left"}`),style:en},be||me.createElement(se,null)):null,Pn={expanded:qe?me.createElement(je.Z,null):me.createElement(Te.Z,null),collapsed:qe?me.createElement(Te.Z,null):me.createElement(je.Z,null)}[Ue?"collapsed":"expanded"],Qn=be!==null?pt||me.createElement("div",{className:`${Yn}-trigger`,onClick:Ce,style:{width:Fe}},be||Pn):null,Gn=Object.assign(Object.assign({},Ye),{flex:`0 0 ${Fe}`,maxWidth:Fe,minWidth:Fe,width:Fe}),Hn=_e()(Yn,`${Yn}-${ft}`,{[`${Yn}-collapsed`]:!!Ue,[`${Yn}-has-trigger`]:Zt&&be!==null&&!pt,[`${Yn}-below`]:!!Ft,[`${Yn}-zero-width`]:parseFloat(Fe)===0},Le);return me.createElement("aside",Object.assign({className:Hn},Rt,{style:Gn,ref:ge}),me.createElement("div",{className:`${Yn}-children`},xe),Zt||Ft&&pt?Qn:null)},ba=me.useMemo(()=>({siderCollapsed:Ue}),[Ue]);return me.createElement(E.Provider,{value:ba},zn())})},84321:function(ht,wt,ee){"use strict";ee.d(wt,{VY:function(){return z},$_:function(){return E},h4:function(){return b},Gs:function(){return we},ZP:function(){return re}});var ae=ee(74902),me=ee(94184),Ie=ee.n(me),Ze=ee(10366),Me=ee(67294),ze=ee(53124),se=ee(67968),je=oe=>{const{componentCls:ne,bodyBg:ge,lightSiderBg:pe,lightTriggerBg:Le,lightTriggerColor:be}=oe;return{[`${ne}-sider-light`]:{background:pe,[`${ne}-sider-trigger`]:{color:be,background:Le},[`${ne}-sider-zero-width-trigger`]:{color:be,background:Le,border:`1px solid ${ge}`,borderInlineStart:0}}}};const He=oe=>{const{antCls:ne,componentCls:ge,colorText:pe,triggerColor:Le,footerBg:be,triggerBg:xe,headerHeight:Se,headerPadding:ft,headerColor:Ye,footerPadding:Zt,triggerHeight:qe,zeroTriggerHeight:ct,zeroTriggerWidth:zt,motionDurationMid:en,motionDurationSlow:Mt,fontSize:lt,borderRadius:xt,bodyBg:nn,headerBg:vn,siderBg:Ue}=oe;return{[ge]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:nn,"&, *":{boxSizing:"border-box"},[`&${ge}-has-sider`]:{flexDirection:"row",[`> ${ge}, > ${ge}-content`]:{width:0}},[`${ge}-header, &${ge}-footer`]:{flex:"0 0 auto"},[`${ge}-sider`]:{position:"relative",minWidth:0,background:Ue,transition:`all ${en}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${ne}-menu${ne}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:qe},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:qe,color:Le,lineHeight:`${qe}px`,textAlign:"center",background:xe,cursor:"pointer",transition:`all ${en}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:Se,insetInlineEnd:-zt,zIndex:1,width:zt,height:ct,color:Le,fontSize:oe.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:Ue,borderStartStartRadius:0,borderStartEndRadius:xt,borderEndEndRadius:xt,borderEndStartRadius:0,cursor:"pointer",transition:`background ${Mt} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${Mt}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-zt,borderStartStartRadius:xt,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:xt}}}}},je(oe)),{"&-rtl":{direction:"rtl"}}),[`${ge}-header`]:{height:Se,padding:ft,color:Ye,lineHeight:`${Se}px`,background:vn,[`${ne}-menu`]:{lineHeight:"inherit"}},[`${ge}-footer`]:{padding:Zt,color:pe,fontSize:lt,background:be},[`${ge}-content`]:{flex:"auto",minHeight:0}}};var _e=(0,se.Z)("Layout",oe=>[He(oe)],oe=>{const{colorBgLayout:ne,controlHeight:ge,controlHeightLG:pe,colorText:Le,controlHeightSM:be,marginXXS:xe,colorTextLightSolid:Se,colorBgContainer:ft}=oe,Ye=pe*1.25;return{colorBgHeader:"#001529",colorBgBody:ne,colorBgTrigger:"#002140",bodyBg:ne,headerBg:"#001529",headerHeight:ge*2,headerPadding:`0 ${Ye}px`,headerColor:Le,footerPadding:`${be}px ${Ye}px`,footerBg:ne,siderBg:"#001529",triggerHeight:pe+xe*2,triggerBg:"#002140",triggerColor:Se,zeroTriggerWidth:pe,zeroTriggerHeight:pe,lightSiderBg:ft,lightTriggerBg:ft,lightTriggerColor:Le}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),$e=function(oe,ne){var ge={};for(var pe in oe)Object.prototype.hasOwnProperty.call(oe,pe)&&ne.indexOf(pe)<0&&(ge[pe]=oe[pe]);if(oe!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Le=0,pe=Object.getOwnPropertySymbols(oe);Le<pe.length;Le++)ne.indexOf(pe[Le])<0&&Object.prototype.propertyIsEnumerable.call(oe,pe[Le])&&(ge[pe[Le]]=oe[pe[Le]]);return ge};const we=Me.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function ce(oe){let{suffixCls:ne,tagName:ge,displayName:pe}=oe;return Le=>Me.forwardRef((xe,Se)=>Me.createElement(Le,Object.assign({ref:Se,suffixCls:ne,tagName:ge},xe)))}const y=Me.forwardRef((oe,ne)=>{const{prefixCls:ge,suffixCls:pe,className:Le,tagName:be}=oe,xe=$e(oe,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:Se}=Me.useContext(ze.E_),ft=Se("layout",ge),[Ye,Zt]=_e(ft),qe=pe?`${ft}-${pe}`:ft;return Ye(Me.createElement(be,Object.assign({className:Ie()(ge||qe,Le,Zt),ref:ne},xe)))}),a=Me.forwardRef((oe,ne)=>{const{direction:ge}=Me.useContext(ze.E_),[pe,Le]=Me.useState([]),{prefixCls:be,className:xe,rootClassName:Se,children:ft,hasSider:Ye,tagName:Zt,style:qe}=oe,ct=$e(oe,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),zt=(0,Ze.Z)(ct,["suffixCls"]),{getPrefixCls:en,layout:Mt}=Me.useContext(ze.E_),lt=en("layout",be),[xt,nn]=_e(lt),vn=Ie()(lt,{[`${lt}-has-sider`]:typeof Ye=="boolean"?Ye:pe.length>0,[`${lt}-rtl`]:ge==="rtl"},Mt==null?void 0:Mt.className,xe,Se,nn),Ue=Me.useMemo(()=>({siderHook:{addSider:Ct=>{Le(Ft=>[].concat((0,ae.Z)(Ft),[Ct]))},removeSider:Ct=>{Le(Ft=>Ft.filter(Rn=>Rn!==Ct))}}}),[]);return xt(Me.createElement(we.Provider,{value:Ue},Me.createElement(Zt,Object.assign({ref:ne,className:vn,style:Object.assign(Object.assign({},Mt==null?void 0:Mt.style),qe)},zt),ft)))}),x=ce({tagName:"div",displayName:"Layout"})(a),b=ce({suffixCls:"header",tagName:"header",displayName:"Header"})(y),E=ce({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(y),z=ce({suffixCls:"content",tagName:"main",displayName:"Content"})(y);var re=x},76529:function(ht,wt,ee){"use strict";ee.d(wt,{J:function(){return ze}});var ae=ee(67294),me=ee(4173),Ie=ee(60276),Ze=function(se,Te){var je={};for(var He in se)Object.prototype.hasOwnProperty.call(se,He)&&Te.indexOf(He)<0&&(je[He]=se[He]);if(se!=null&&typeof Object.getOwnPropertySymbols=="function")for(var _e=0,He=Object.getOwnPropertySymbols(se);_e<He.length;_e++)Te.indexOf(He[_e])<0&&Object.prototype.propertyIsEnumerable.call(se,He[_e])&&(je[He[_e]]=se[He[_e]]);return je};const Me=ae.createContext(null),ze=ae.forwardRef((se,Te)=>{const{children:je}=se,He=Ze(se,["children"]),_e=ae.useContext(Me),$e=ae.useMemo(()=>Object.assign(Object.assign({},_e),He),[_e,He.prefixCls,He.mode,He.selectable]);return ae.createElement(Me.Provider,{value:$e},ae.createElement(me.BR,null,(0,Ie.supportNodeRef)(je)?ae.cloneElement(je,{ref:Te}):je))});wt.Z=Me},68508:function(ht,wt,ee){"use strict";ee.d(wt,{default:function(){return Yn}});var ae=ee(52073),me=ee(67294),Ie=ee(71322),Ze=ee(94184),Me=ee.n(Ze),ze=ee(53124),se=function(Rt,Ge){var Fe={};for(var pt in Rt)Object.prototype.hasOwnProperty.call(Rt,pt)&&Ge.indexOf(pt)<0&&(Fe[pt]=Rt[pt]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,pt=Object.getOwnPropertySymbols(Rt);Gt<pt.length;Gt++)Ge.indexOf(pt[Gt])<0&&Object.prototype.propertyIsEnumerable.call(Rt,pt[Gt])&&(Fe[pt[Gt]]=Rt[pt[Gt]]);return Fe},je=Rt=>{const{prefixCls:Ge,className:Fe,dashed:pt}=Rt,Gt=se(Rt,["prefixCls","className","dashed"]),{getPrefixCls:_t}=me.useContext(ze.E_),Pn=_t("menu",Ge),Qn=Me()({[`${Pn}-item-divider-dashed`]:!!pt},Fe);return me.createElement(ae.iz,Object.assign({className:Qn},Gt))},He=ee(37419),_e=ee(10366),$e=ee(83062),we=ee(96159),y=(0,me.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),x=Rt=>{var Ge;const{className:Fe,children:pt,icon:Gt,title:_t,danger:Pn}=Rt,{prefixCls:Qn,firstLevel:Gn,direction:Hn,disableMenuItemTitleTooltip:Ca,inlineCollapsed:Ee}=me.useContext(y),Ke=ut=>{const Bt=me.createElement("span",{className:`${Qn}-title-content`},pt);return(!Gt||(0,we.l$)(pt)&&pt.type==="span")&&pt&&ut&&Gn&&typeof pt=="string"?me.createElement("div",{className:`${Qn}-inline-collapsed-noicon`},pt.charAt(0)):Bt},{siderCollapsed:Nn}=me.useContext(Ie.D);let Kn=_t;typeof _t=="undefined"?Kn=Gn?pt:"":_t===!1&&(Kn="");const st={title:Kn};!Nn&&!Ee&&(st.title=null,st.open=!1);const tn=(0,He.Z)(pt).length;let We=me.createElement(ae.ck,Object.assign({},(0,_e.Z)(Rt,["title","icon","danger"]),{className:Me()({[`${Qn}-item-danger`]:Pn,[`${Qn}-item-only-child`]:(Gt?tn+1:tn)===1},Fe),title:typeof _t=="string"?_t:void 0}),(0,we.Tm)(Gt,{className:Me()((0,we.l$)(Gt)?(Ge=Gt.props)===null||Ge===void 0?void 0:Ge.className:"",`${Qn}-item-icon`)}),Ke(Ee));return Ca||(We=me.createElement($e.Z,Object.assign({},st,{placement:Hn==="rtl"?"left":"right",overlayClassName:`${Qn}-inline-collapsed-tooltip`}),We)),We},E=Rt=>{var Ge;const{popupClassName:Fe,icon:pt,title:Gt,theme:_t}=Rt,Pn=me.useContext(y),{prefixCls:Qn,inlineCollapsed:Gn,theme:Hn}=Pn,Ca=(0,ae.Xl)();let Ee;if(!pt)Ee=Gn&&!Ca.length&&Gt&&typeof Gt=="string"?me.createElement("div",{className:`${Qn}-inline-collapsed-noicon`},Gt.charAt(0)):me.createElement("span",{className:`${Qn}-title-content`},Gt);else{const Nn=(0,we.l$)(Gt)&&Gt.type==="span";Ee=me.createElement(me.Fragment,null,(0,we.Tm)(pt,{className:Me()((0,we.l$)(pt)?(Ge=pt.props)===null||Ge===void 0?void 0:Ge.className:"",`${Qn}-item-icon`)}),Nn?Gt:me.createElement("span",{className:`${Qn}-title-content`},Gt))}const Ke=me.useMemo(()=>Object.assign(Object.assign({},Pn),{firstLevel:!1}),[Pn]);return me.createElement(y.Provider,{value:Ke},me.createElement(ae.Wd,Object.assign({},(0,_e.Z)(Rt,["icon"]),{title:Ee,popupClassName:Me()(Qn,Fe,`${Qn}-${_t||Hn}`)})))},z=ee(25877),re=ee(60276),oe=ee(33603),ne=ee(76529),ge=function(Rt,Ge){var Fe={};for(var pt in Rt)Object.prototype.hasOwnProperty.call(Rt,pt)&&Ge.indexOf(pt)<0&&(Fe[pt]=Rt[pt]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,pt=Object.getOwnPropertySymbols(Rt);Gt<pt.length;Gt++)Ge.indexOf(pt[Gt])<0&&Object.prototype.propertyIsEnumerable.call(Rt,pt[Gt])&&(Fe[pt[Gt]]=Rt[pt[Gt]]);return Fe};function pe(Rt){return(Rt||[]).map((Ge,Fe)=>{if(Ge&&typeof Ge=="object"){const pt=Ge,{label:Gt,children:_t,key:Pn,type:Qn}=pt,Gn=ge(pt,["label","children","key","type"]),Hn=Pn!=null?Pn:`tmp-${Fe}`;return _t||Qn==="group"?Qn==="group"?me.createElement(ae.BW,Object.assign({key:Hn},Gn,{title:Gt}),pe(_t)):me.createElement(E,Object.assign({key:Hn},Gn,{title:Gt}),pe(_t)):Qn==="divider"?me.createElement(je,Object.assign({key:Hn},Gn)):me.createElement(x,Object.assign({key:Hn},Gn),Gt)}return null}).filter(Ge=>Ge)}function Le(Rt){return me.useMemo(()=>Rt&&pe(Rt),[Rt])}var be=ee(84780),xe=ee(14747),Se=ee(33507),ft=ee(67771),Ye=ee(50438),Zt=ee(67968),qe=ee(45503),zt=Rt=>{const{componentCls:Ge,motionDurationSlow:Fe,horizontalLineHeight:pt,colorSplit:Gt,lineWidth:_t,lineType:Pn,itemPaddingInline:Qn}=Rt;return{[`${Ge}-horizontal`]:{lineHeight:pt,border:0,borderBottom:`${_t}px ${Pn} ${Gt}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${Ge}-item, ${Ge}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:Qn},[`> ${Ge}-item:hover,
> ${Ge}-item-active,
> ${Ge}-submenu ${Ge}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${Ge}-item, ${Ge}-submenu-title`]:{transition:[`border-color ${Fe}`,`background ${Fe}`].join(",")},[`${Ge}-submenu-arrow`]:{display:"none"}}}},Mt=Rt=>{let{componentCls:Ge,menuArrowOffset:Fe}=Rt;return{[`${Ge}-rtl`]:{direction:"rtl"},[`${Ge}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${Ge}-rtl${Ge}-vertical,
${Ge}-submenu-rtl ${Ge}-vertical`]:{[`${Ge}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${Fe})`},"&::after":{transform:`rotate(45deg) translateY(${Fe})`}}}}};const lt=Rt=>Object.assign({},(0,xe.oN)(Rt));var nn=(Rt,Ge)=>{const{componentCls:Fe,itemColor:pt,itemSelectedColor:Gt,groupTitleColor:_t,itemBg:Pn,subMenuItemBg:Qn,itemSelectedBg:Gn,activeBarHeight:Hn,activeBarWidth:Ca,activeBarBorderWidth:Ee,motionDurationSlow:Ke,motionEaseInOut:Nn,motionEaseOut:Kn,itemPaddingInline:st,motionDurationMid:tn,itemHoverColor:We,lineType:ut,colorSplit:Bt,itemDisabledColor:Wt,dangerItemColor:Ot,dangerItemHoverColor:yn,dangerItemSelectedColor:aa,dangerItemActiveBg:Vn,dangerItemSelectedBg:jn,itemHoverBg:Ga,itemActiveBg:ra,menuSubMenuBg:Ka,horizontalItemSelectedColor:Pr,horizontalItemSelectedBg:Tr,horizontalItemBorderRadius:Xr,horizontalItemHoverBg:Rr,popupBg:Mr}=Rt;return{[`${Fe}-${Ge}, ${Fe}-${Ge} > ${Fe}`]:{color:pt,background:Pn,[`&${Fe}-root:focus-visible`]:Object.assign({},lt(Rt)),[`${Fe}-item-group-title`]:{color:_t},[`${Fe}-submenu-selected`]:{[`> ${Fe}-submenu-title`]:{color:Gt}},[`${Fe}-item-disabled, ${Fe}-submenu-disabled`]:{color:`${Wt} !important`},[`${Fe}-item:not(${Fe}-item-selected):not(${Fe}-submenu-selected)`]:{[`&:hover, > ${Fe}-submenu-title:hover`]:{color:We}},[`&:not(${Fe}-horizontal)`]:{[`${Fe}-item:not(${Fe}-item-selected)`]:{"&:hover":{backgroundColor:Ga},"&:active":{backgroundColor:ra}},[`${Fe}-submenu-title`]:{"&:hover":{backgroundColor:Ga},"&:active":{backgroundColor:ra}}},[`${Fe}-item-danger`]:{color:Ot,[`&${Fe}-item:hover`]:{[`&:not(${Fe}-item-selected):not(${Fe}-submenu-selected)`]:{color:yn}},[`&${Fe}-item:active`]:{background:Vn}},[`${Fe}-item a`]:{"&, &:hover":{color:"inherit"}},[`${Fe}-item-selected`]:{color:Gt,[`&${Fe}-item-danger`]:{color:aa},"a, a:hover":{color:"inherit"}},[`& ${Fe}-item-selected`]:{backgroundColor:Gn,[`&${Fe}-item-danger`]:{backgroundColor:jn}},[`${Fe}-item, ${Fe}-submenu-title`]:{[`&:not(${Fe}-item-disabled):focus-visible`]:Object.assign({},lt(Rt))},[`&${Fe}-submenu > ${Fe}`]:{backgroundColor:Ka},[`&${Fe}-popup > ${Fe}`]:{backgroundColor:Mr},[`&${Fe}-horizontal`]:Object.assign(Object.assign({},Ge==="dark"?{borderBottom:0}:{}),{[`> ${Fe}-item, > ${Fe}-submenu`]:{top:Ee,marginTop:-Ee,marginBottom:0,borderRadius:Xr,"&::after":{position:"absolute",insetInline:st,bottom:0,borderBottom:`${Hn}px solid transparent`,transition:`border-color ${Ke} ${Nn}`,content:'""'},"&:hover, &-active, &-open":{background:Rr,"&::after":{borderBottomWidth:Hn,borderBottomColor:Pr}},"&-selected":{color:Pr,backgroundColor:Tr,"&:hover":{backgroundColor:Tr},"&::after":{borderBottomWidth:Hn,borderBottomColor:Pr}}}}),[`&${Fe}-root`]:{[`&${Fe}-inline, &${Fe}-vertical`]:{borderInlineEnd:`${Ee}px ${ut} ${Bt}`}},[`&${Fe}-inline`]:{[`${Fe}-sub${Fe}-inline`]:{background:Qn},[`${Fe}-item, ${Fe}-submenu-title`]:Ee&&Ca?{width:`calc(100% + ${Ee}px)`}:{},[`${Fe}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${Ca}px solid ${Gt}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${tn} ${Kn}`,`opacity ${tn} ${Kn}`].join(","),content:'""'},[`&${Fe}-item-danger`]:{"&::after":{borderInlineEndColor:aa}}},[`${Fe}-selected, ${Fe}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${tn} ${Nn}`,`opacity ${tn} ${Nn}`].join(",")}}}}}};const vn=Rt=>{const{componentCls:Ge,itemHeight:Fe,itemMarginInline:pt,padding:Gt,menuArrowSize:_t,marginXS:Pn,itemMarginBlock:Qn}=Rt,Gn=Gt+_t+Pn;return{[`${Ge}-item`]:{position:"relative",overflow:"hidden"},[`${Ge}-item, ${Ge}-submenu-title`]:{height:Fe,lineHeight:`${Fe}px`,paddingInline:Gt,overflow:"hidden",textOverflow:"ellipsis",marginInline:pt,marginBlock:Qn,width:`calc(100% - ${pt*2}px)`},[`> ${Ge}-item,
> ${Ge}-submenu > ${Ge}-submenu-title`]:{height:Fe,lineHeight:`${Fe}px`},[`${Ge}-item-group-list ${Ge}-submenu-title,
${Ge}-submenu-title`]:{paddingInlineEnd:Gn}}};var Ct=Rt=>{const{componentCls:Ge,iconCls:Fe,itemHeight:pt,colorTextLightSolid:Gt,dropdownWidth:_t,controlHeightLG:Pn,motionDurationMid:Qn,motionEaseOut:Gn,paddingXL:Hn,itemMarginInline:Ca,fontSizeLG:Ee,motionDurationSlow:Ke,paddingXS:Nn,boxShadowSecondary:Kn,collapsedWidth:st,collapsedIconSize:tn}=Rt,We={height:pt,lineHeight:`${pt}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[Ge]:{"&-inline, &-vertical":Object.assign({[`&${Ge}-root`]:{boxShadow:"none"}},vn(Rt))},[`${Ge}-submenu-popup`]:{[`${Ge}-vertical`]:Object.assign(Object.assign({},vn(Rt)),{boxShadow:Kn})}},{[`${Ge}-submenu-popup ${Ge}-vertical${Ge}-sub`]:{minWidth:_t,maxHeight:`calc(100vh - ${Pn*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${Ge}-inline`]:{width:"100%",[`&${Ge}-root`]:{[`${Ge}-item, ${Ge}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${Ke}`,`background ${Ke}`,`padding ${Qn} ${Gn}`].join(","),[`> ${Ge}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${Ge}-sub${Ge}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${Ge}-submenu > ${Ge}-submenu-title`]:We,[`& ${Ge}-item-group-title`]:{paddingInlineStart:Hn}},[`${Ge}-item`]:We}},{[`${Ge}-inline-collapsed`]:{width:st,[`&${Ge}-root`]:{[`${Ge}-item, ${Ge}-submenu ${Ge}-submenu-title`]:{[`> ${Ge}-inline-collapsed-noicon`]:{fontSize:Ee,textAlign:"center"}}},[`> ${Ge}-item,
> ${Ge}-item-group > ${Ge}-item-group-list > ${Ge}-item,
> ${Ge}-item-group > ${Ge}-item-group-list > ${Ge}-submenu > ${Ge}-submenu-title,
> ${Ge}-submenu > ${Ge}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Ee/2}px - ${Ca}px)`,textOverflow:"clip",[`
${Ge}-submenu-arrow,
${Ge}-submenu-expand-icon
`]:{opacity:0},[`${Ge}-item-icon, ${Fe}`]:{margin:0,fontSize:tn,lineHeight:`${pt}px`,"+ span":{display:"inline-block",opacity:0}}},[`${Ge}-item-icon, ${Fe}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${Ge}-item-icon, ${Fe}`]:{display:"none"},"a, a:hover":{color:Gt}},[`${Ge}-item-group-title`]:Object.assign(Object.assign({},xe.vS),{paddingInline:Nn})}}]};const Ft=Rt=>{const{componentCls:Ge,motionDurationSlow:Fe,motionDurationMid:pt,motionEaseInOut:Gt,motionEaseOut:_t,iconCls:Pn,iconSize:Qn,iconMarginInlineEnd:Gn}=Rt;return{[`${Ge}-item, ${Ge}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${Fe}`,`background ${Fe}`,`padding ${Fe} ${Gt}`].join(","),[`${Ge}-item-icon, ${Pn}`]:{minWidth:Qn,fontSize:Qn,transition:[`font-size ${pt} ${_t}`,`margin ${Fe} ${Gt}`,`color ${Fe}`].join(","),"+ span":{marginInlineStart:Gn,opacity:1,transition:[`opacity ${Fe} ${Gt}`,`margin ${Fe}`,`color ${Fe}`].join(",")}},[`${Ge}-item-icon`]:Object.assign({},(0,xe.Ro)()),[`&${Ge}-item-only-child`]:{[`> ${Pn}, > ${Ge}-item-icon`]:{marginInlineEnd:0}}},[`${Ge}-item-disabled, ${Ge}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${Ge}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Rn=Rt=>{const{componentCls:Ge,motionDurationSlow:Fe,motionEaseInOut:pt,borderRadius:Gt,menuArrowSize:_t,menuArrowOffset:Pn}=Rt;return{[`${Ge}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:Rt.margin,width:_t,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${Fe} ${pt}, opacity ${Fe}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:_t*.6,height:_t*.15,backgroundColor:"currentcolor",borderRadius:Gt,transition:[`background ${Fe} ${pt}`,`transform ${Fe} ${pt}`,`top ${Fe} ${pt}`,`color ${Fe} ${pt}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${Pn})`},"&::after":{transform:`rotate(-45deg) translateY(${Pn})`}}}}},nt=Rt=>{const{antCls:Ge,componentCls:Fe,fontSize:pt,motionDurationSlow:Gt,motionDurationMid:_t,motionEaseInOut:Pn,paddingXS:Qn,padding:Gn,colorSplit:Hn,lineWidth:Ca,zIndexPopup:Ee,borderRadiusLG:Ke,subMenuItemBorderRadius:Nn,menuArrowSize:Kn,menuArrowOffset:st,lineType:tn,menuPanelMaskInset:We,groupTitleLineHeight:ut,groupTitleFontSize:Bt}=Rt;return[{"":{[`${Fe}`]:Object.assign(Object.assign({},(0,xe.dF)()),{"&-hidden":{display:"none"}})},[`${Fe}-submenu-hidden`]:{display:"none"}},{[Fe]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(Rt)),(0,xe.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:pt,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${Gt} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${Fe}-item`]:{flex:"none"}},[`${Fe}-item, ${Fe}-submenu, ${Fe}-submenu-title`]:{borderRadius:Rt.itemBorderRadius},[`${Fe}-item-group-title`]:{padding:`${Qn}px ${Gn}px`,fontSize:Bt,lineHeight:ut,transition:`all ${Gt}`},[`&-horizontal ${Fe}-submenu`]:{transition:[`border-color ${Gt} ${Pn}`,`background ${Gt} ${Pn}`].join(",")},[`${Fe}-submenu, ${Fe}-submenu-inline`]:{transition:[`border-color ${Gt} ${Pn}`,`background ${Gt} ${Pn}`,`padding ${_t} ${Pn}`].join(",")},[`${Fe}-submenu ${Fe}-sub`]:{cursor:"initial",transition:[`background ${Gt} ${Pn}`,`padding ${Gt} ${Pn}`].join(",")},[`${Fe}-title-content`]:{transition:`color ${Gt}`},[`${Fe}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${Fe}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:Hn,borderStyle:tn,borderWidth:0,borderTopWidth:Ca,marginBlock:Ca,padding:0,"&-dashed":{borderStyle:"dashed"}}}),Ft(Rt)),{[`${Fe}-item-group`]:{[`${Fe}-item-group-list`]:{margin:0,padding:0,[`${Fe}-item, ${Fe}-submenu-title`]:{paddingInline:`${pt*2}px ${Gn}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Ee,borderRadius:Ke,boxShadow:"none",transformOrigin:"0 0",[`&${Fe}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${We}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:We},"\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:Rt.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:Rt.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:Rt.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:Rt.paddingXS},[`> ${Fe}`]:Object.assign(Object.assign(Object.assign({borderRadius:Ke},Ft(Rt)),Rn(Rt)),{[`${Fe}-item, ${Fe}-submenu > ${Fe}-submenu-title`]:{borderRadius:Nn},[`${Fe}-submenu-title::after`]:{transition:`transform ${Gt} ${Pn}`}})}}),Rn(Rt)),{[`&-inline-collapsed ${Fe}-submenu-arrow,
&-inline ${Fe}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${st})`},"&::after":{transform:`rotate(45deg) translateX(-${st})`}},[`${Fe}-submenu-open${Fe}-submenu-inline > ${Fe}-submenu-title > ${Fe}-submenu-arrow`]:{transform:`translateY(-${Kn*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${st})`},"&::before":{transform:`rotate(45deg) translateX(${st})`}}})},{[`${Ge}-layout-header`]:{[Fe]:{lineHeight:"inherit"}}}]};var kt=(Rt,Ge)=>(0,Zt.Z)("Menu",pt=>{if(Ge===!1)return[];const{colorBgElevated:Gt,colorPrimary:_t,colorTextLightSolid:Pn,controlHeightLG:Qn,fontSize:Gn,darkItemColor:Hn,darkDangerItemColor:Ca,darkItemBg:Ee,darkSubMenuItemBg:Ke,darkItemSelectedColor:Nn,darkItemSelectedBg:Kn,darkDangerItemSelectedBg:st,darkItemHoverBg:tn,darkGroupTitleColor:We,darkItemHoverColor:ut,darkItemDisabledColor:Bt,darkDangerItemHoverColor:Wt,darkDangerItemSelectedColor:Ot,darkDangerItemActiveBg:yn}=pt,aa=Gn/7*5,Vn=(0,qe.TS)(pt,{menuArrowSize:aa,menuHorizontalHeight:Qn*1.15,menuArrowOffset:`${aa*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:Gt}),jn=(0,qe.TS)(Vn,{itemColor:Hn,itemHoverColor:ut,groupTitleColor:We,itemSelectedColor:Nn,itemBg:Ee,popupBg:Ee,subMenuItemBg:Ke,itemActiveBg:"transparent",itemSelectedBg:Kn,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:tn,itemDisabledColor:Bt,dangerItemColor:Ca,dangerItemHoverColor:Wt,dangerItemSelectedColor:Ot,dangerItemActiveBg:yn,dangerItemSelectedBg:st,menuSubMenuBg:Ke,horizontalItemSelectedColor:Pn,horizontalItemSelectedBg:_t});return[nt(Vn),zt(Vn),Ct(Vn),nn(Vn,"light"),nn(jn,"dark"),Mt(Vn),(0,Se.Z)(Vn),(0,ft.oN)(Vn,"slide-up"),(0,ft.oN)(Vn,"slide-down"),(0,Ye._y)(Vn,"zoom-big")]},pt=>{const{colorPrimary:Gt,colorError:_t,colorTextDisabled:Pn,colorErrorBg:Qn,colorText:Gn,colorTextDescription:Hn,colorBgContainer:Ca,colorFillAlter:Ee,colorFillContent:Ke,lineWidth:Nn,lineWidthBold:Kn,controlItemBgActive:st,colorBgTextHover:tn,controlHeightLG:We,lineHeight:ut,colorBgElevated:Bt,marginXXS:Wt,padding:Ot,fontSize:yn,controlHeightSM:aa,fontSizeLG:Vn,colorTextLightSolid:jn,colorErrorHover:Ga}=pt,ra=new be.C(jn).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:pt.zIndexPopupBase+50,radiusItem:pt.borderRadiusLG,itemBorderRadius:pt.borderRadiusLG,radiusSubMenuItem:pt.borderRadiusSM,subMenuItemBorderRadius:pt.borderRadiusSM,colorItemText:Gn,itemColor:Gn,colorItemTextHover:Gn,itemHoverColor:Gn,colorItemTextHoverHorizontal:Gt,horizontalItemHoverColor:Gt,colorGroupTitle:Hn,groupTitleColor:Hn,colorItemTextSelected:Gt,itemSelectedColor:Gt,colorItemTextSelectedHorizontal:Gt,horizontalItemSelectedColor:Gt,colorItemBg:Ca,itemBg:Ca,colorItemBgHover:tn,itemHoverBg:tn,colorItemBgActive:Ke,itemActiveBg:st,colorSubItemBg:Ee,subMenuItemBg:Ee,colorItemBgSelected:st,itemSelectedBg:st,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:Kn,activeBarHeight:Kn,colorActiveBarBorderSize:Nn,activeBarBorderWidth:Nn,colorItemTextDisabled:Pn,itemDisabledColor:Pn,colorDangerItemText:_t,dangerItemColor:_t,colorDangerItemTextHover:_t,dangerItemHoverColor:_t,colorDangerItemTextSelected:_t,dangerItemSelectedColor:_t,colorDangerItemBgActive:Qn,dangerItemActiveBg:Qn,colorDangerItemBgSelected:Qn,dangerItemSelectedBg:Qn,itemMarginInline:pt.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:We,groupTitleLineHeight:ut,collapsedWidth:We*2,popupBg:Bt,itemMarginBlock:Wt,itemPaddingInline:Ot,horizontalLineHeight:`${We*1.15}px`,iconSize:yn,iconMarginInlineEnd:aa-yn,collapsedIconSize:Vn,groupTitleFontSize:yn,darkItemDisabledColor:new be.C(jn).setAlpha(.25).toRgbString(),darkItemColor:ra,darkDangerItemColor:_t,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:jn,darkItemSelectedBg:Gt,darkDangerItemSelectedBg:_t,darkItemHoverBg:"transparent",darkGroupTitleColor:ra,darkItemHoverColor:jn,darkDangerItemHoverColor:Ga,darkDangerItemSelectedColor:jn,darkDangerItemActiveBg:_t}},{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"]]})(Rt),Ce=function(Rt,Ge){var Fe={};for(var pt in Rt)Object.prototype.hasOwnProperty.call(Rt,pt)&&Ge.indexOf(pt)<0&&(Fe[pt]=Rt[pt]);if(Rt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Gt=0,pt=Object.getOwnPropertySymbols(Rt);Gt<pt.length;Gt++)Ge.indexOf(pt[Gt])<0&&Object.prototype.propertyIsEnumerable.call(Rt,pt[Gt])&&(Fe[pt[Gt]]=Rt[pt[Gt]]);return Fe},zn=(0,me.forwardRef)((Rt,Ge)=>{var Fe,pt;const Gt=me.useContext(ne.Z),_t=Gt||{},{getPrefixCls:Pn,getPopupContainer:Qn,direction:Gn,menu:Hn}=me.useContext(ze.E_),Ca=Pn(),{prefixCls:Ee,className:Ke,style:Nn,theme:Kn="light",expandIcon:st,_internalDisableMenuItemTitleTooltip:tn,inlineCollapsed:We,siderCollapsed:ut,items:Bt,children:Wt,rootClassName:Ot,mode:yn,selectable:aa,onClick:Vn,overflowedIndicatorPopupClassName:jn}=Rt,Ga=Ce(Rt,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),ra=(0,_e.Z)(Ga,["collapsedWidth"]),Ka=Le(Bt)||Wt;(Fe=_t.validator)===null||Fe===void 0||Fe.call(_t,{mode:yn});const Pr=(0,re.useEvent)(function(){var Ln;Vn==null||Vn.apply(void 0,arguments),(Ln=_t.onClick)===null||Ln===void 0||Ln.call(_t)}),Tr=_t.mode||yn,Xr=aa!=null?aa:_t.selectable,Rr=me.useMemo(()=>ut!==void 0?ut:We,[We,ut]),Mr={horizontal:{motionName:`${Ca}-slide-up`},inline:(0,oe.Z)(Ca),other:{motionName:`${Ca}-zoom-big`}},to=Pn("menu",Ee||_t.prefixCls),[lo,gr]=kt(to,!Gt),Sn=Me()(`${to}-${Kn}`,Hn==null?void 0:Hn.className,Ke);let In;if(typeof st=="function")In=st;else if(st===null||st===!1)In=null;else if(_t.expandIcon===null||_t.expandIcon===!1)In=null;else{const Ln=st!=null?st:_t.expandIcon;In=(0,we.Tm)(Ln,{className:Me()(`${to}-submenu-expand-icon`,(0,we.l$)(Ln)?(pt=Ln.props)===null||pt===void 0?void 0:pt.className:"")})}const En=me.useMemo(()=>({prefixCls:to,inlineCollapsed:Rr||!1,direction:Gn,firstLevel:!0,theme:Kn,mode:Tr,disableMenuItemTitleTooltip:tn}),[to,Rr,Gn,tn,Kn]);return lo(me.createElement(ne.Z.Provider,{value:null},me.createElement(y.Provider,{value:En},me.createElement(ae.ZP,Object.assign({getPopupContainer:Qn,overflowedIndicator:me.createElement(z.Z,null),overflowedIndicatorPopupClassName:Me()(to,`${to}-${Kn}`,jn),mode:Tr,selectable:Xr,onClick:Pr},ra,{inlineCollapsed:Rr,style:Object.assign(Object.assign({},Hn==null?void 0:Hn.style),Nn),className:Sn,prefixCls:to,direction:Gn,defaultMotions:Mr,expandIcon:In,ref:Ge,rootClassName:Me()(Ot,gr)}),Ka))))});const ba=(0,me.forwardRef)((Rt,Ge)=>{const Fe=(0,me.useRef)(null),pt=me.useContext(Ie.D);return(0,me.useImperativeHandle)(Ge,()=>({menu:Fe.current,focus:Gt=>{var _t;(_t=Fe.current)===null||_t===void 0||_t.focus(Gt)}})),me.createElement(zn,Object.assign({ref:Fe},Rt,pt))});ba.Item=x,ba.SubMenu=E,ba.Divider=je,ba.ItemGroup=ae.BW;var Yn=ba},28452:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return Ca}});var ae=ee(87462),me=ee(67294),Ie={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"},Ze=Ie,Me=ee(74643),ze=function(Ke,Nn){return me.createElement(Me.Z,(0,ae.Z)({},Ke,{ref:Nn,icon:Ze}))},se=me.forwardRef(ze),Te=ee(81893),je=ee(22751),He=ee(91034),_e=ee(94184),$e=ee.n(_e),we=ee(4942),ce=ee(1413),y=ee(15671),a=ee(43144),x=ee(60136),b=ee(51630),E=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,z=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,re="".concat(E," ").concat(z).split(/[\s\n]+/),oe="aria-",ne="data-";function ge(Ee,Ke){return Ee.indexOf(Ke)===0}function pe(Ee){var Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Nn;Ke===!1?Nn={aria:!0,data:!0,attr:!0}:Ke===!0?Nn={aria:!0}:Nn=(0,ce.Z)({},Ke);var Kn={};return Object.keys(Ee).forEach(function(st){(Nn.aria&&(st==="role"||ge(st,oe))||Nn.data&&ge(st,ne)||Nn.attr&&re.includes(st))&&(Kn[st]=Ee[st])}),Kn}var Le={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},be=Le,xe=ee(81626),Se=function(Ee){(0,x.Z)(Nn,Ee);var Ke=(0,b.Z)(Nn);function Nn(){var Kn;(0,y.Z)(this,Nn);for(var st=arguments.length,tn=new Array(st),We=0;We<st;We++)tn[We]=arguments[We];return Kn=Ke.call.apply(Ke,[this].concat(tn)),Kn.state={goInputText:""},Kn.getValidValue=function(){var ut=Kn.state.goInputText;return!ut||Number.isNaN(ut)?void 0:Number(ut)},Kn.buildOptionText=function(ut){return"".concat(ut," ").concat(Kn.props.locale.items_per_page)},Kn.changeSize=function(ut){Kn.props.changeSize(Number(ut))},Kn.handleChange=function(ut){Kn.setState({goInputText:ut.target.value})},Kn.handleBlur=function(ut){var Bt=Kn.props,Wt=Bt.goButton,Ot=Bt.quickGo,yn=Bt.rootPrefixCls,aa=Kn.state.goInputText;Wt||aa===""||(Kn.setState({goInputText:""}),!(ut.relatedTarget&&(ut.relatedTarget.className.indexOf("".concat(yn,"-item-link"))>=0||ut.relatedTarget.className.indexOf("".concat(yn,"-item"))>=0))&&Ot(Kn.getValidValue()))},Kn.go=function(ut){var Bt=Kn.state.goInputText;Bt!==""&&(ut.keyCode===be.ENTER||ut.type==="click")&&(Kn.setState({goInputText:""}),Kn.props.quickGo(Kn.getValidValue()))},Kn}return(0,a.Z)(Nn,[{key:"getPageSizeOptions",value:function(){var st=this.props,tn=st.pageSize,We=st.pageSizeOptions;return We.some(function(ut){return ut.toString()===tn.toString()})?We:We.concat([tn.toString()]).sort(function(ut,Bt){var Wt=Number.isNaN(Number(ut))?0:Number(ut),Ot=Number.isNaN(Number(Bt))?0:Number(Bt);return Wt-Ot})}},{key:"render",value:function(){var st=this,tn=this.props,We=tn.pageSize,ut=tn.locale,Bt=tn.rootPrefixCls,Wt=tn.changeSize,Ot=tn.quickGo,yn=tn.goButton,aa=tn.selectComponentClass,Vn=tn.buildOptionText,jn=tn.selectPrefixCls,Ga=tn.disabled,ra=this.state.goInputText,Ka="".concat(Bt,"-options"),Pr=aa,Tr=null,Xr=null,Rr=null;if(!Wt&&!Ot)return null;var Mr=this.getPageSizeOptions();if(Wt&&Pr){var to=Mr.map(function(lo,gr){return me.createElement(Pr.Option,{key:gr,value:lo.toString()},(Vn||st.buildOptionText)(lo))});Tr=me.createElement(Pr,{disabled:Ga,prefixCls:jn,showSearch:!1,className:"".concat(Ka,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(We||Mr[0]).toString(),onChange:this.changeSize,getPopupContainer:function(gr){return gr.parentNode},"aria-label":ut.page_size,defaultOpen:!1},to)}return Ot&&(yn&&(Rr=typeof yn=="boolean"?me.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Ga,className:"".concat(Ka,"-quick-jumper-button")},ut.jump_to_confirm):me.createElement("span",{onClick:this.go,onKeyUp:this.go},yn)),Xr=me.createElement("div",{className:"".concat(Ka,"-quick-jumper")},ut.jump_to,me.createElement("input",{disabled:Ga,type:"text",value:ra,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":ut.page}),ut.page,Rr)),me.createElement("li",{className:"".concat(Ka)},Tr,Xr)}}]),Nn}(me.Component);Se.defaultProps={pageSizeOptions:["10","20","50","100"]};var ft=Se,Ye=function(Ke){var Nn,Kn=Ke.rootPrefixCls,st=Ke.page,tn=Ke.active,We=Ke.className,ut=Ke.showTitle,Bt=Ke.onClick,Wt=Ke.onKeyPress,Ot=Ke.itemRender,yn="".concat(Kn,"-item"),aa=$e()(yn,"".concat(yn,"-").concat(st),(Nn={},(0,we.Z)(Nn,"".concat(yn,"-active"),tn),(0,we.Z)(Nn,"".concat(yn,"-disabled"),!st),(0,we.Z)(Nn,Ke.className,We),Nn)),Vn=function(){Bt(st)},jn=function(Ka){Wt(Ka,Bt,st)},Ga=Ot(st,"page",me.createElement("a",{rel:"nofollow"},st));return Ga?me.createElement("li",{title:ut?st.toString():null,className:aa,onClick:Vn,onKeyPress:jn,tabIndex:0},Ga):null},Zt=Ye;function qe(){}function ct(Ee){var Ke=Number(Ee);return typeof Ke=="number"&&!Number.isNaN(Ke)&&isFinite(Ke)&&Math.floor(Ke)===Ke}var zt=function(Ke,Nn,Kn){return Kn};function en(Ee,Ke,Nn){var Kn=typeof Ee=="undefined"?Ke.pageSize:Ee;return Math.floor((Nn.total-1)/Kn)+1}var Mt=function(Ee){(0,x.Z)(Nn,Ee);var Ke=(0,b.Z)(Nn);function Nn(Kn){var st;(0,y.Z)(this,Nn),st=Ke.call(this,Kn),st.paginationNode=me.createRef(),st.getJumpPrevPage=function(){return Math.max(1,st.state.current-(st.props.showLessItems?3:5))},st.getJumpNextPage=function(){return Math.min(en(void 0,st.state,st.props),st.state.current+(st.props.showLessItems?3:5))},st.getItemIcon=function(Wt,Ot){var yn=st.props.prefixCls,aa=Wt||me.createElement("button",{type:"button","aria-label":Ot,className:"".concat(yn,"-item-link")});return typeof Wt=="function"&&(aa=me.createElement(Wt,(0,ce.Z)({},st.props))),aa},st.isValid=function(Wt){var Ot=st.props.total;return ct(Wt)&&Wt!==st.state.current&&ct(Ot)&&Ot>0},st.shouldDisplayQuickJumper=function(){var Wt=st.props,Ot=Wt.showQuickJumper,yn=Wt.total,aa=st.state.pageSize;return yn<=aa?!1:Ot},st.handleKeyDown=function(Wt){(Wt.keyCode===be.ARROW_UP||Wt.keyCode===be.ARROW_DOWN)&&Wt.preventDefault()},st.handleKeyUp=function(Wt){var Ot=st.getValidValue(Wt),yn=st.state.currentInputValue;Ot!==yn&&st.setState({currentInputValue:Ot}),Wt.keyCode===be.ENTER?st.handleChange(Ot):Wt.keyCode===be.ARROW_UP?st.handleChange(Ot-1):Wt.keyCode===be.ARROW_DOWN&&st.handleChange(Ot+1)},st.handleBlur=function(Wt){var Ot=st.getValidValue(Wt);st.handleChange(Ot)},st.changePageSize=function(Wt){var Ot=st.state.current,yn=en(Wt,st.state,st.props);Ot=Ot>yn?yn:Ot,yn===0&&(Ot=st.state.current),typeof Wt=="number"&&("pageSize"in st.props||st.setState({pageSize:Wt}),"current"in st.props||st.setState({current:Ot,currentInputValue:Ot})),st.props.onShowSizeChange(Ot,Wt),"onChange"in st.props&&st.props.onChange&&st.props.onChange(Ot,Wt)},st.handleChange=function(Wt){var Ot=st.props,yn=Ot.disabled,aa=Ot.onChange,Vn=st.state,jn=Vn.pageSize,Ga=Vn.current,ra=Vn.currentInputValue;if(st.isValid(Wt)&&!yn){var Ka=en(void 0,st.state,st.props),Pr=Wt;return Wt>Ka?Pr=Ka:Wt<1&&(Pr=1),"current"in st.props||st.setState({current:Pr}),Pr!==ra&&st.setState({currentInputValue:Pr}),aa(Pr,jn),Pr}return Ga},st.prev=function(){st.hasPrev()&&st.handleChange(st.state.current-1)},st.next=function(){st.hasNext()&&st.handleChange(st.state.current+1)},st.jumpPrev=function(){st.handleChange(st.getJumpPrevPage())},st.jumpNext=function(){st.handleChange(st.getJumpNextPage())},st.hasPrev=function(){return st.state.current>1},st.hasNext=function(){return st.state.current<en(void 0,st.state,st.props)},st.runIfEnter=function(Wt,Ot){if(Wt.key==="Enter"||Wt.charCode===13){for(var yn=arguments.length,aa=new Array(yn>2?yn-2:0),Vn=2;Vn<yn;Vn++)aa[Vn-2]=arguments[Vn];Ot.apply(void 0,aa)}},st.runIfEnterPrev=function(Wt){st.runIfEnter(Wt,st.prev)},st.runIfEnterNext=function(Wt){st.runIfEnter(Wt,st.next)},st.runIfEnterJumpPrev=function(Wt){st.runIfEnter(Wt,st.jumpPrev)},st.runIfEnterJumpNext=function(Wt){st.runIfEnter(Wt,st.jumpNext)},st.handleGoTO=function(Wt){(Wt.keyCode===be.ENTER||Wt.type==="click")&&st.handleChange(st.state.currentInputValue)},st.renderPrev=function(Wt){var Ot=st.props,yn=Ot.prevIcon,aa=Ot.itemRender,Vn=aa(Wt,"prev",st.getItemIcon(yn,"prev page")),jn=!st.hasPrev();return(0,me.isValidElement)(Vn)?(0,me.cloneElement)(Vn,{disabled:jn}):Vn},st.renderNext=function(Wt){var Ot=st.props,yn=Ot.nextIcon,aa=Ot.itemRender,Vn=aa(Wt,"next",st.getItemIcon(yn,"next page")),jn=!st.hasNext();return(0,me.isValidElement)(Vn)?(0,me.cloneElement)(Vn,{disabled:jn}):Vn};var tn=Kn.onChange!==qe,We="current"in Kn;We&&!tn&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var ut=Kn.defaultCurrent;"current"in Kn&&(ut=Kn.current);var Bt=Kn.defaultPageSize;return"pageSize"in Kn&&(Bt=Kn.pageSize),ut=Math.min(ut,en(Bt,void 0,Kn)),st.state={current:ut,currentInputValue:ut,pageSize:Bt},st}return(0,a.Z)(Nn,[{key:"componentDidUpdate",value:function(st,tn){var We=this.props.prefixCls;if(tn.current!==this.state.current&&this.paginationNode.current){var ut=this.paginationNode.current.querySelector(".".concat(We,"-item-").concat(tn.current));if(ut&&document.activeElement===ut){var Bt;ut==null||(Bt=ut.blur)===null||Bt===void 0||Bt.call(ut)}}}},{key:"getValidValue",value:function(st){var tn=st.target.value,We=en(void 0,this.state,this.props),ut=this.state.currentInputValue,Bt;return tn===""?Bt=tn:Number.isNaN(Number(tn))?Bt=ut:tn>=We?Bt=We:Bt=Number(tn),Bt}},{key:"getShowSizeChanger",value:function(){var st=this.props,tn=st.showSizeChanger,We=st.total,ut=st.totalBoundaryShowSizeChanger;return typeof tn!="undefined"?tn:We>ut}},{key:"render",value:function(){var st=this.props,tn=st.prefixCls,We=st.className,ut=st.style,Bt=st.disabled,Wt=st.hideOnSinglePage,Ot=st.total,yn=st.locale,aa=st.showQuickJumper,Vn=st.showLessItems,jn=st.showTitle,Ga=st.showTotal,ra=st.simple,Ka=st.itemRender,Pr=st.showPrevNextJumpers,Tr=st.jumpPrevIcon,Xr=st.jumpNextIcon,Rr=st.selectComponentClass,Mr=st.selectPrefixCls,to=st.pageSizeOptions,lo=this.state,gr=lo.current,Sn=lo.pageSize,In=lo.currentInputValue;if(Wt===!0&&Ot<=Sn)return null;var En=en(void 0,this.state,this.props),Ln=[],Oa=null,Ar=null,Tn=null,et=null,dt=null,Ve=aa&&aa.goButton,jt=Vn?1:2,bn=gr-1>0?gr-1:0,Jn=gr+1<En?gr+1:En,ja=pe(this.props,{aria:!0,data:!0}),ca=Ga&&me.createElement("li",{className:"".concat(tn,"-total-text")},Ga(Ot,[Ot===0?0:(gr-1)*Sn+1,gr*Sn>Ot?Ot:gr*Sn]));if(ra){Ve&&(typeof Ve=="boolean"?dt=me.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},yn.jump_to_confirm):dt=me.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},Ve),dt=me.createElement("li",{title:jn?"".concat(yn.jump_to).concat(gr,"/").concat(En):null,className:"".concat(tn,"-simple-pager")},dt));var Wn=this.renderPrev(bn);return me.createElement("ul",(0,ae.Z)({className:$e()(tn,"".concat(tn,"-simple"),(0,we.Z)({},"".concat(tn,"-disabled"),Bt),We),style:ut,ref:this.paginationNode},ja),ca,Wn?me.createElement("li",{title:jn?yn.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:$e()("".concat(tn,"-prev"),(0,we.Z)({},"".concat(tn,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},Wn):null,me.createElement("li",{title:jn?"".concat(gr,"/").concat(En):null,className:"".concat(tn,"-simple-pager")},me.createElement("input",{type:"text",value:In,disabled:Bt,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),me.createElement("span",{className:"".concat(tn,"-slash")},"/"),En),me.createElement("li",{title:jn?yn.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:$e()("".concat(tn,"-next"),(0,we.Z)({},"".concat(tn,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Jn)),dt)}if(En<=3+jt*2){var Ba={locale:yn,rootPrefixCls:tn,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:jn,itemRender:Ka};En||Ln.push(me.createElement(Zt,(0,ae.Z)({},Ba,{key:"noPager",page:1,className:"".concat(tn,"-item-disabled")})));for(var ho=1;ho<=En;ho+=1){var Mn=gr===ho;Ln.push(me.createElement(Zt,(0,ae.Z)({},Ba,{key:ho,page:ho,active:Mn})))}}else{var no=Vn?yn.prev_3:yn.prev_5,ot=Vn?yn.next_3:yn.next_5,Xt=Ka(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Tr,"prev page")),$t=Ka(this.getJumpNextPage(),"jump-next",this.getItemIcon(Xr,"next page"));Pr&&(Oa=Xt?me.createElement("li",{title:jn?no:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:$e()("".concat(tn,"-jump-prev"),(0,we.Z)({},"".concat(tn,"-jump-prev-custom-icon"),!!Tr))},Xt):null,Ar=$t?me.createElement("li",{title:jn?ot:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:$e()("".concat(tn,"-jump-next"),(0,we.Z)({},"".concat(tn,"-jump-next-custom-icon"),!!Xr))},$t):null),et=me.createElement(Zt,{locale:yn,last:!0,rootPrefixCls:tn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:En,page:En,active:!1,showTitle:jn,itemRender:Ka}),Tn=me.createElement(Zt,{locale:yn,rootPrefixCls:tn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:jn,itemRender:Ka});var Qt=Math.max(1,gr-jt),$n=Math.min(gr+jt,En);gr-1<=jt&&($n=1+jt*2),En-gr<=jt&&(Qt=En-jt*2);for(var Ut=Qt;Ut<=$n;Ut+=1){var Bn=gr===Ut;Ln.push(me.createElement(Zt,{locale:yn,rootPrefixCls:tn,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:Ut,page:Ut,active:Bn,showTitle:jn,itemRender:Ka}))}gr-1>=jt*2&&gr!==3&&(Ln[0]=(0,me.cloneElement)(Ln[0],{className:"".concat(tn,"-item-after-jump-prev")}),Ln.unshift(Oa)),En-gr>=jt*2&&gr!==En-2&&(Ln[Ln.length-1]=(0,me.cloneElement)(Ln[Ln.length-1],{className:"".concat(tn,"-item-before-jump-next")}),Ln.push(Ar)),Qt!==1&&Ln.unshift(Tn),$n!==En&&Ln.push(et)}var dn=!this.hasPrev()||!En,$a=!this.hasNext()||!En,Aa=this.renderPrev(bn),cr=this.renderNext(Jn);return me.createElement("ul",(0,ae.Z)({className:$e()(tn,We,(0,we.Z)({},"".concat(tn,"-disabled"),Bt)),style:ut,ref:this.paginationNode},ja),ca,Aa?me.createElement("li",{title:jn?yn.prev_page:null,onClick:this.prev,tabIndex:dn?null:0,onKeyPress:this.runIfEnterPrev,className:$e()("".concat(tn,"-prev"),(0,we.Z)({},"".concat(tn,"-disabled"),dn)),"aria-disabled":dn},Aa):null,Ln,cr?me.createElement("li",{title:jn?yn.next_page:null,onClick:this.next,tabIndex:$a?null:0,onKeyPress:this.runIfEnterNext,className:$e()("".concat(tn,"-next"),(0,we.Z)({},"".concat(tn,"-disabled"),$a)),"aria-disabled":$a},cr):null,me.createElement(ft,{disabled:Bt,locale:yn,rootPrefixCls:tn,selectComponentClass:Rr,selectPrefixCls:Mr,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:gr,pageSize:Sn,pageSizeOptions:to,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:Ve}))}}],[{key:"getDerivedStateFromProps",value:function(st,tn){var We={};if("current"in st&&(We.current=st.current,st.current!==tn.current&&(We.currentInputValue=We.current)),"pageSize"in st&&st.pageSize!==tn.pageSize){var ut=tn.current,Bt=en(st.pageSize,tn,st);ut=ut>Bt?Bt:ut,"current"in st||(We.current=ut,We.currentInputValue=ut),We.pageSize=st.pageSize}return We}}]),Nn}(me.Component);Mt.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:qe,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:qe,locale:xe.Z,style:{},itemRender:zt,totalBoundaryShowSizeChanger:50};var lt=Mt,xt=ee(62906),nn=ee(53124),vn=ee(98675),Ue=ee(25378),Ct=ee(10110),Ft=ee(42563);const Rn=Ee=>me.createElement(Ft.default,Object.assign({},Ee,{showSearch:!0,size:"small"})),nt=Ee=>me.createElement(Ft.default,Object.assign({},Ee,{showSearch:!0,size:"middle"}));Rn.Option=Ft.default.Option,nt.Option=Ft.default.Option;var kt=ee(47673),Ce=ee(14747),hn=ee(67968),zn=ee(45503);const ba=Ee=>{const{componentCls:Ke}=Ee;return{[`${Ke}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${Ke}-item-link`]:{color:Ee.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${Ke}-item-link`]:{color:Ee.colorTextDisabled,cursor:"not-allowed"}}},[`&${Ke}-disabled`]:{cursor:"not-allowed",[`${Ke}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:Ee.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:Ee.colorBorder,backgroundColor:Ee.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:Ee.itemActiveBgDisabled},a:{color:Ee.itemActiveColorDisabled}}},[`${Ke}-item-link`]:{color:Ee.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${Ke}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${Ke}-simple-pager`]:{color:Ee.colorTextDisabled},[`${Ke}-jump-prev, ${Ke}-jump-next`]:{[`${Ke}-item-link-icon`]:{opacity:0},[`${Ke}-item-ellipsis`]:{opacity:1}}},[`&${Ke}-simple`]:{[`${Ke}-prev, ${Ke}-next`]:{[`&${Ke}-disabled ${Ke}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},Yn=Ee=>{const{componentCls:Ke}=Ee;return{[`&${Ke}-mini ${Ke}-total-text, &${Ke}-mini ${Ke}-simple-pager`]:{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`},[`&${Ke}-mini ${Ke}-item`]:{minWidth:Ee.itemSizeSM,height:Ee.itemSizeSM,margin:0,lineHeight:`${Ee.itemSizeSM-2}px`},[`&${Ke}-mini:not(${Ke}-disabled) ${Ke}-item:not(${Ke}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:Ee.colorBgTextHover},"&:active":{backgroundColor:Ee.colorBgTextActive}},[`&${Ke}-mini ${Ke}-prev, &${Ke}-mini ${Ke}-next`]:{minWidth:Ee.itemSizeSM,height:Ee.itemSizeSM,margin:0,lineHeight:`${Ee.itemSizeSM}px`},[`&${Ke}-mini:not(${Ke}-disabled)`]:{[`${Ke}-prev, ${Ke}-next`]:{[`&:hover ${Ke}-item-link`]:{backgroundColor:Ee.colorBgTextHover},[`&:active ${Ke}-item-link`]:{backgroundColor:Ee.colorBgTextActive},[`&${Ke}-disabled:hover ${Ke}-item-link`]:{backgroundColor:"transparent"}}},[`
&${Ke}-mini ${Ke}-prev ${Ke}-item-link,
&${Ke}-mini ${Ke}-next ${Ke}-item-link
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`}},[`&${Ke}-mini ${Ke}-jump-prev, &${Ke}-mini ${Ke}-jump-next`]:{height:Ee.itemSizeSM,marginInlineEnd:0,lineHeight:`${Ee.itemSizeSM}px`},[`&${Ke}-mini ${Ke}-options`]:{marginInlineStart:Ee.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:Ee.miniOptionsSizeChangerTop},"&-quick-jumper":{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,kt.x0)(Ee)),{width:Ee.paginationMiniQuickJumperInputWidth,height:Ee.controlHeightSM})}}}},Rt=Ee=>{const{componentCls:Ke}=Ee;return{[`
&${Ke}-simple ${Ke}-prev,
&${Ke}-simple ${Ke}-next
`]:{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`,verticalAlign:"top",[`${Ke}-item-link`]:{height:Ee.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:Ee.colorBgTextHover},"&:active":{backgroundColor:Ee.colorBgTextActive},"&::after":{height:Ee.itemSizeSM,lineHeight:`${Ee.itemSizeSM}px`}}},[`&${Ke}-simple ${Ke}-simple-pager`]:{display:"inline-block",height:Ee.itemSizeSM,marginInlineEnd:Ee.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:Ee.marginXS,padding:`0 ${Ee.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:Ee.itemInputBg,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorBorder}`,borderRadius:Ee.borderRadius,outline:"none",transition:`border-color ${Ee.motionDurationMid}`,color:"inherit","&:hover":{borderColor:Ee.colorPrimary},"&:focus":{borderColor:Ee.colorPrimaryHover,boxShadow:`${Ee.inputOutlineOffset}px 0 ${Ee.controlOutlineWidth}px ${Ee.controlOutline}`},"&[disabled]":{color:Ee.colorTextDisabled,backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,cursor:"not-allowed"}}}}},Ge=Ee=>{const{componentCls:Ke}=Ee;return{[`${Ke}-jump-prev, ${Ke}-jump-next`]:{outline:0,[`${Ke}-item-container`]:{position:"relative",[`${Ke}-item-link-icon`]:{color:Ee.colorPrimary,fontSize:Ee.fontSizeSM,opacity:0,transition:`all ${Ee.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${Ke}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:Ee.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:Ee.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:Ee.paginationEllipsisTextIndent,opacity:1,transition:`all ${Ee.motionDurationMid}`}},"&:hover":{[`${Ke}-item-link-icon`]:{opacity:1},[`${Ke}-item-ellipsis`]:{opacity:0}}},[`
${Ke}-prev,
${Ke}-jump-prev,
${Ke}-jump-next
`]:{marginInlineEnd:Ee.marginXS},[`
${Ke}-prev,
${Ke}-next,
${Ke}-jump-prev,
${Ke}-jump-next
`]:{display:"inline-block",minWidth:Ee.itemSize,height:Ee.itemSize,color:Ee.colorText,fontFamily:Ee.fontFamily,lineHeight:`${Ee.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:Ee.borderRadius,cursor:"pointer",transition:`all ${Ee.motionDurationMid}`},[`${Ke}-prev, ${Ke}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:Ee.colorText,cursor:"pointer",userSelect:"none"},[`${Ke}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:Ee.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${Ee.lineWidth}px ${Ee.lineType} transparent`,borderRadius:Ee.borderRadius,outline:"none",transition:`all ${Ee.motionDurationMid}`},[`&:hover ${Ke}-item-link`]:{backgroundColor:Ee.colorBgTextHover},[`&:active ${Ke}-item-link`]:{backgroundColor:Ee.colorBgTextActive},[`&${Ke}-disabled:hover`]:{[`${Ke}-item-link`]:{backgroundColor:"transparent"}}},[`${Ke}-slash`]:{marginInlineEnd:Ee.paginationSlashMarginInlineEnd,marginInlineStart:Ee.paginationSlashMarginInlineStart},[`${Ke}-options`]:{display:"inline-block",marginInlineStart:Ee.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:Ee.controlHeight,marginInlineStart:Ee.marginXS,lineHeight:`${Ee.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,kt.ik)(Ee)),{width:Ee.controlHeightLG*1.25,height:Ee.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:Ee.marginXS,marginInlineEnd:Ee.marginXS})}}}},Fe=Ee=>{const{componentCls:Ke}=Ee;return{[`${Ke}-item`]:{display:"inline-block",minWidth:Ee.itemSize,height:Ee.itemSize,marginInlineEnd:Ee.marginXS,fontFamily:Ee.fontFamily,lineHeight:`${Ee.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${Ee.lineWidth}px ${Ee.lineType} transparent`,borderRadius:Ee.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${Ee.paginationItemPaddingInline}px`,color:Ee.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${Ke}-item-active)`]:{"&:hover":{transition:`all ${Ee.motionDurationMid}`,backgroundColor:Ee.colorBgTextHover},"&:active":{backgroundColor:Ee.colorBgTextActive}},"&-active":{fontWeight:Ee.fontWeightStrong,backgroundColor:Ee.itemActiveBg,borderColor:Ee.colorPrimary,a:{color:Ee.colorPrimary},"&:hover":{borderColor:Ee.colorPrimaryHover},"&:hover a":{color:Ee.colorPrimaryHover}}}}},pt=Ee=>{const{componentCls:Ke}=Ee;return{[Ke]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,Ce.Wf)(Ee)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${Ke}-total-text`]:{display:"inline-block",height:Ee.itemSize,marginInlineEnd:Ee.marginXS,lineHeight:`${Ee.itemSize-2}px`,verticalAlign:"middle"}}),Fe(Ee)),Ge(Ee)),Rt(Ee)),Yn(Ee)),ba(Ee)),{[`@media only screen and (max-width: ${Ee.screenLG}px)`]:{[`${Ke}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${Ee.screenSM}px)`]:{[`${Ke}-options`]:{display:"none"}}}),[`&${Ee.componentCls}-rtl`]:{direction:"rtl"}}},Gt=Ee=>{const{componentCls:Ke}=Ee;return{[`${Ke}${Ke}-disabled:not(${Ke}-mini)`]:{"&, &:hover":{[`${Ke}-item-link`]:{borderColor:Ee.colorBorder}},"&:focus-visible":{[`${Ke}-item-link`]:{borderColor:Ee.colorBorder}},[`${Ke}-item, ${Ke}-item-link`]:{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,[`&:hover:not(${Ke}-item-active)`]:{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,a:{color:Ee.colorTextDisabled}},[`&${Ke}-item-active`]:{backgroundColor:Ee.itemActiveBgDisabled}},[`${Ke}-prev, ${Ke}-next`]:{"&:hover button":{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder,color:Ee.colorTextDisabled},[`${Ke}-item-link`]:{backgroundColor:Ee.colorBgContainerDisabled,borderColor:Ee.colorBorder}}},[`${Ke}:not(${Ke}-mini)`]:{[`${Ke}-prev, ${Ke}-next`]:{"&:hover button":{borderColor:Ee.colorPrimaryHover,backgroundColor:Ee.itemBg},[`${Ke}-item-link`]:{backgroundColor:Ee.itemLinkBg,borderColor:Ee.colorBorder},[`&:hover ${Ke}-item-link`]:{borderColor:Ee.colorPrimary,backgroundColor:Ee.itemBg,color:Ee.colorPrimary},[`&${Ke}-disabled`]:{[`${Ke}-item-link`]:{borderColor:Ee.colorBorder,color:Ee.colorTextDisabled}}},[`${Ke}-item`]:{backgroundColor:Ee.itemBg,border:`${Ee.lineWidth}px ${Ee.lineType} ${Ee.colorBorder}`,[`&:hover:not(${Ke}-item-active)`]:{borderColor:Ee.colorPrimary,backgroundColor:Ee.itemBg,a:{color:Ee.colorPrimary}},"&-active":{borderColor:Ee.colorPrimary}}}}},_t=Ee=>{const{componentCls:Ke}=Ee;return{[`${Ke}:not(${Ke}-disabled)`]:{[`${Ke}-item`]:Object.assign({},(0,Ce.Qy)(Ee)),[`${Ke}-jump-prev, ${Ke}-jump-next`]:{"&:focus-visible":Object.assign({[`${Ke}-item-link-icon`]:{opacity:1},[`${Ke}-item-ellipsis`]:{opacity:0}},(0,Ce.oN)(Ee))},[`${Ke}-prev, ${Ke}-next`]:{[`&:focus-visible ${Ke}-item-link`]:Object.assign({},(0,Ce.oN)(Ee))}}}};var Pn=(0,hn.Z)("Pagination",Ee=>{const Ke=(0,zn.TS)(Ee,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:Ee.marginXXS/2,paginationMiniQuickJumperInputWidth:Ee.controlHeightLG*1.1,paginationItemPaddingInline:Ee.marginXXS*1.5,paginationEllipsisLetterSpacing:Ee.marginXXS/2,paginationSlashMarginInlineStart:Ee.marginXXS,paginationSlashMarginInlineEnd:Ee.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,kt.e5)(Ee),(0,kt.TM)(Ee));return[pt(Ke),_t(Ke),Ee.wireframe&&Gt(Ke)]},Ee=>({itemBg:Ee.colorBgContainer,itemSize:Ee.controlHeight,itemSizeSM:Ee.controlHeightSM,itemActiveBg:Ee.colorBgContainer,itemLinkBg:Ee.colorBgContainer,itemActiveColorDisabled:Ee.colorTextDisabled,itemActiveBgDisabled:Ee.controlItemBgActiveDisabled,itemInputBg:Ee.colorBgContainer,miniOptionsSizeChangerTop:0})),Qn=function(Ee,Ke){var Nn={};for(var Kn in Ee)Object.prototype.hasOwnProperty.call(Ee,Kn)&&Ke.indexOf(Kn)<0&&(Nn[Kn]=Ee[Kn]);if(Ee!=null&&typeof Object.getOwnPropertySymbols=="function")for(var st=0,Kn=Object.getOwnPropertySymbols(Ee);st<Kn.length;st++)Ke.indexOf(Kn[st])<0&&Object.prototype.propertyIsEnumerable.call(Ee,Kn[st])&&(Nn[Kn[st]]=Ee[Kn[st]]);return Nn},Hn=Ee=>{const{prefixCls:Ke,selectPrefixCls:Nn,className:Kn,rootClassName:st,style:tn,size:We,locale:ut,selectComponentClass:Bt,responsive:Wt,showSizeChanger:Ot}=Ee,yn=Qn(Ee,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:aa}=(0,Ue.Z)(Wt),{getPrefixCls:Vn,direction:jn,pagination:Ga={}}=me.useContext(nn.E_),ra=Vn("pagination",Ke),[Ka,Pr]=Pn(ra),Tr=Ot!=null?Ot:Ga.showSizeChanger,Xr=me.useMemo(()=>{const En=me.createElement("span",{className:`${ra}-item-ellipsis`},"\u2022\u2022\u2022"),Ln=me.createElement("button",{className:`${ra}-item-link`,type:"button",tabIndex:-1},jn==="rtl"?me.createElement(He.Z,null):me.createElement(je.Z,null)),Oa=me.createElement("button",{className:`${ra}-item-link`,type:"button",tabIndex:-1},jn==="rtl"?me.createElement(je.Z,null):me.createElement(He.Z,null)),Ar=me.createElement("a",{className:`${ra}-item-link`},me.createElement("div",{className:`${ra}-item-container`},jn==="rtl"?me.createElement(Te.Z,{className:`${ra}-item-link-icon`}):me.createElement(se,{className:`${ra}-item-link-icon`}),En)),Tn=me.createElement("a",{className:`${ra}-item-link`},me.createElement("div",{className:`${ra}-item-container`},jn==="rtl"?me.createElement(se,{className:`${ra}-item-link-icon`}):me.createElement(Te.Z,{className:`${ra}-item-link-icon`}),En));return{prevIcon:Ln,nextIcon:Oa,jumpPrevIcon:Ar,jumpNextIcon:Tn}},[jn,ra]),[Rr]=(0,Ct.Z)("Pagination",xt.Z),Mr=Object.assign(Object.assign({},Rr),ut),to=(0,vn.Z)(We),lo=to==="small"||!!(aa&&!to&&Wt),gr=Vn("select",Nn),Sn=$e()({[`${ra}-mini`]:lo,[`${ra}-rtl`]:jn==="rtl"},Ga==null?void 0:Ga.className,Kn,st,Pr),In=Object.assign(Object.assign({},Ga==null?void 0:Ga.style),tn);return Ka(me.createElement(lt,Object.assign({},Xr,yn,{style:In,prefixCls:ra,selectPrefixCls:gr,className:Sn,selectComponentClass:Bt||(lo?Rn:nt),locale:Mr,showSizeChanger:Tr})))},Ca=Hn},38703:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return tn}});var ae=ee(67294),me=ee(87725),Ie=ee(18299),Ze=ee(16646),Me=ee(73475),ze=ee(94184),se=ee.n(ze),Te=ee(10366),je=ee(53124),He=ee(87462),_e=ee(1413),$e=ee(45987),we={percent:0,prefixCls:"rc-progress",strokeColor:"#2db7f5",strokeLinecap:"round",strokeWidth:1,trailColor:"#D9D9D9",trailWidth:1,gapPosition:"bottom"},ce=function(){var ut=(0,ae.useRef)([]),Bt=(0,ae.useRef)(null);return(0,ae.useEffect)(function(){var Wt=Date.now(),Ot=!1;ut.current.forEach(function(yn){if(yn){Ot=!0;var aa=yn.style;aa.transitionDuration=".3s, .3s, .3s, .06s",Bt.current&&Wt-Bt.current<100&&(aa.transitionDuration="0s, 0s")}}),Ot&&(Bt.current=Date.now())}),ut.current},y=["className","percent","prefixCls","strokeColor","strokeLinecap","strokeWidth","style","trailColor","trailWidth","transition"],a=function(ut){var Bt=(0,_e.Z)((0,_e.Z)({},we),ut),Wt=Bt.className,Ot=Bt.percent,yn=Bt.prefixCls,aa=Bt.strokeColor,Vn=Bt.strokeLinecap,jn=Bt.strokeWidth,Ga=Bt.style,ra=Bt.trailColor,Ka=Bt.trailWidth,Pr=Bt.transition,Tr=(0,$e.Z)(Bt,y);delete Tr.gapPosition;var Xr=Array.isArray(Ot)?Ot:[Ot],Rr=Array.isArray(aa)?aa:[aa],Mr=ce(),to=jn/2,lo=100-jn/2,gr="M ".concat(Vn==="round"?to:0,",").concat(to,`
L `).concat(Vn==="round"?lo:100,",").concat(to),Sn="0 0 100 ".concat(jn),In=0;return ae.createElement("svg",(0,He.Z)({className:se()("".concat(yn,"-line"),Wt),viewBox:Sn,preserveAspectRatio:"none",style:Ga},Tr),ae.createElement("path",{className:"".concat(yn,"-line-trail"),d:gr,strokeLinecap:Vn,stroke:ra,strokeWidth:Ka||jn,fillOpacity:"0"}),Xr.map(function(En,Ln){var Oa=1;switch(Vn){case"round":Oa=1-jn/100;break;case"square":Oa=1-jn/2/100;break;default:Oa=1;break}var Ar={strokeDasharray:"".concat(En*Oa,"px, 100px"),strokeDashoffset:"-".concat(In,"px"),transition:Pr||"stroke-dashoffset 0.3s ease 0s, stroke-dasharray .3s ease 0s, stroke 0.3s linear"},Tn=Rr[Ln]||Rr[Rr.length-1];return In+=En,ae.createElement("path",{key:Ln,className:"".concat(yn,"-line-path"),d:gr,strokeLinecap:Vn,stroke:Tn,strokeWidth:jn,fillOpacity:"0",ref:function(dt){Mr[Ln]=dt},style:Ar})}))},x=a,b=ee(71002),E=ee(97685),z=ee(98924),re=0,oe=(0,z.Z)();function ne(){var We;return oe?(We=re,re+=1):We="TEST_OR_SSR",We}var ge=function(We){var ut=ae.useState(),Bt=(0,E.Z)(ut,2),Wt=Bt[0],Ot=Bt[1];return ae.useEffect(function(){Ot("rc_progress_".concat(ne()))},[]),We||Wt},pe=function(ut){var Bt=ut.bg,Wt=ut.children;return ae.createElement("div",{style:{width:"100%",height:"100%",background:Bt}},Wt)};function Le(We,ut){return Object.keys(We).map(function(Bt){var Wt=parseFloat(Bt),Ot="".concat(Math.floor(Wt*ut),"%");return"".concat(We[Bt]," ").concat(Ot)})}var be=ae.forwardRef(function(We,ut){var Bt=We.prefixCls,Wt=We.color,Ot=We.gradientId,yn=We.radius,aa=We.style,Vn=We.ptg,jn=We.strokeLinecap,Ga=We.strokeWidth,ra=We.size,Ka=We.gapDegree,Pr=Wt&&(0,b.Z)(Wt)==="object",Tr=Pr?"#FFF":void 0,Xr=ra/2,Rr=ae.createElement("circle",{className:"".concat(Bt,"-circle-path"),r:yn,cx:Xr,cy:Xr,stroke:Tr,strokeLinecap:jn,strokeWidth:Ga,opacity:Vn===0?0:1,style:aa,ref:ut});if(!Pr)return Rr;var Mr="".concat(Ot,"-conic"),to=Ka?"".concat(180+Ka/2,"deg"):"0deg",lo=Le(Wt,(360-Ka)/360),gr=Le(Wt,1),Sn="conic-gradient(from ".concat(to,", ").concat(lo.join(", "),")"),In="linear-gradient(to ".concat(Ka?"bottom":"top",", ").concat(gr.join(", "),")");return ae.createElement(ae.Fragment,null,ae.createElement("mask",{id:Mr},Rr),ae.createElement("foreignObject",{x:0,y:0,width:ra,height:ra,mask:"url(#".concat(Mr,")")},ae.createElement(pe,{bg:In},ae.createElement(pe,{bg:Sn}))))}),xe=be,Se=100,ft=function(ut,Bt,Wt,Ot,yn,aa,Vn,jn,Ga,ra){var Ka=arguments.length>10&&arguments[10]!==void 0?arguments[10]:0,Pr=Wt/100*360*((360-aa)/360),Tr=aa===0?0:{bottom:0,top:180,left:90,right:-90}[Vn],Xr=(100-Ot)/100*Bt;Ga==="round"&&Ot!==100&&(Xr+=ra/2,Xr>=Bt&&(Xr=Bt-.01));var Rr=Se/2;return{stroke:typeof jn=="string"?jn:void 0,strokeDasharray:"".concat(Bt,"px ").concat(ut),strokeDashoffset:Xr+Ka,transform:"rotate(".concat(yn+Pr+Tr,"deg)"),transformOrigin:"".concat(Rr,"px ").concat(Rr,"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}},Ye=["id","prefixCls","steps","strokeWidth","trailWidth","gapDegree","gapPosition","trailColor","strokeLinecap","style","className","strokeColor","percent"];function Zt(We){var ut=We!=null?We:[];return Array.isArray(ut)?ut:[ut]}var qe=function(ut){var Bt=(0,_e.Z)((0,_e.Z)({},we),ut),Wt=Bt.id,Ot=Bt.prefixCls,yn=Bt.steps,aa=Bt.strokeWidth,Vn=Bt.trailWidth,jn=Bt.gapDegree,Ga=jn===void 0?0:jn,ra=Bt.gapPosition,Ka=Bt.trailColor,Pr=Bt.strokeLinecap,Tr=Bt.style,Xr=Bt.className,Rr=Bt.strokeColor,Mr=Bt.percent,to=(0,$e.Z)(Bt,Ye),lo=Se/2,gr=ge(Wt),Sn="".concat(gr,"-gradient"),In=lo-aa/2,En=Math.PI*2*In,Ln=Ga>0?90+Ga/2:-90,Oa=En*((360-Ga)/360),Ar=(0,b.Z)(yn)==="object"?yn:{count:yn,space:2},Tn=Ar.count,et=Ar.space,dt=Zt(Mr),Ve=Zt(Rr),jt=Ve.find(function(ho){return ho&&(0,b.Z)(ho)==="object"}),bn=jt&&(0,b.Z)(jt)==="object",Jn=bn?"butt":Pr,ja=ft(En,Oa,0,100,Ln,Ga,ra,Ka,Jn,aa),ca=ce(),Wn=function(){var Mn=0;return dt.map(function(no,ot){var Xt=Ve[ot]||Ve[Ve.length-1],$t=ft(En,Oa,Mn,no,Ln,Ga,ra,Xt,Jn,aa);return Mn+=no,ae.createElement(xe,{key:ot,color:Xt,ptg:no,radius:In,prefixCls:Ot,gradientId:Sn,style:$t,strokeLinecap:Jn,strokeWidth:aa,gapDegree:Ga,ref:function($n){ca[ot]=$n},size:Se})}).reverse()},Ba=function(){var Mn=Math.round(Tn*(dt[0]/100)),no=100/Tn,ot=0;return new Array(Tn).fill(null).map(function(Xt,$t){var Qt=$t<=Mn-1?Ve[0]:Ka,$n=Qt&&(0,b.Z)(Qt)==="object"?"url(#".concat(Sn,")"):void 0,Ut=ft(En,Oa,ot,no,Ln,Ga,ra,Qt,"butt",aa,et);return ot+=(Oa-Ut.strokeDashoffset+et)*100/Oa,ae.createElement("circle",{key:$t,className:"".concat(Ot,"-circle-path"),r:In,cx:lo,cy:lo,stroke:$n,strokeWidth:aa,opacity:1,style:Ut,ref:function(dn){ca[$t]=dn}})})};return ae.createElement("svg",(0,He.Z)({className:se()("".concat(Ot,"-circle"),Xr),viewBox:"0 0 ".concat(Se," ").concat(Se),style:Tr,id:Wt,role:"presentation"},to),!Tn&&ae.createElement("circle",{className:"".concat(Ot,"-circle-trail"),r:In,cx:lo,cy:lo,stroke:Ka,strokeLinecap:Jn,strokeWidth:Vn||aa,style:ja}),Tn?Ba():Wn())},ct=qe,zt={Line:x,Circle:ct},en=ee(83062),Mt=ee(47448);function lt(We){return!We||We<0?0:We>100?100:We}function xt(We){let{success:ut,successPercent:Bt}=We,Wt=Bt;return ut&&"progress"in ut&&(Wt=ut.progress),ut&&"percent"in ut&&(Wt=ut.percent),Wt}const nn=We=>{let{percent:ut,success:Bt,successPercent:Wt}=We;const Ot=lt(xt({success:Bt,successPercent:Wt}));return[Ot,lt(lt(ut)-Ot)]},vn=We=>{let{success:ut={},strokeColor:Bt}=We;const{strokeColor:Wt}=ut;return[Wt||Mt.presetPrimaryColors.green,Bt||null]},Ue=(We,ut,Bt)=>{var Wt,Ot,yn,aa;let Vn=-1,jn=-1;if(ut==="step"){const Ga=Bt.steps,ra=Bt.strokeWidth;typeof We=="string"||typeof We=="undefined"?(Vn=We==="small"?2:14,jn=ra!=null?ra:8):typeof We=="number"?[Vn,jn]=[We,We]:[Vn=14,jn=8]=We,Vn*=Ga}else if(ut==="line"){const Ga=Bt==null?void 0:Bt.strokeWidth;typeof We=="string"||typeof We=="undefined"?jn=Ga||(We==="small"?6:8):typeof We=="number"?[Vn,jn]=[We,We]:[Vn=-1,jn=8]=We}else(ut==="circle"||ut==="dashboard")&&(typeof We=="string"||typeof We=="undefined"?[Vn,jn]=We==="small"?[60,60]:[120,120]:typeof We=="number"?[Vn,jn]=[We,We]:(Vn=(Ot=(Wt=We[0])!==null&&Wt!==void 0?Wt:We[1])!==null&&Ot!==void 0?Ot:120,jn=(aa=(yn=We[0])!==null&&yn!==void 0?yn:We[1])!==null&&aa!==void 0?aa:120));return[Vn,jn]},Ct=3,Ft=We=>Ct/We*100;var nt=We=>{const{prefixCls:ut,trailColor:Bt=null,strokeLinecap:Wt="round",gapPosition:Ot,gapDegree:yn,width:aa=120,type:Vn,children:jn,success:Ga,size:ra=aa}=We,[Ka,Pr]=Ue(ra,"circle");let{strokeWidth:Tr}=We;Tr===void 0&&(Tr=Math.max(Ft(Ka),6));const Xr={width:Ka,height:Pr,fontSize:Ka*.15+6},Rr=ae.useMemo(()=>{if(yn||yn===0)return yn;if(Vn==="dashboard")return 75},[yn,Vn]),Mr=Ot||Vn==="dashboard"&&"bottom"||void 0,to=Object.prototype.toString.call(We.strokeColor)==="[object Object]",lo=vn({success:Ga,strokeColor:We.strokeColor}),gr=se()(`${ut}-inner`,{[`${ut}-circle-gradient`]:to}),Sn=ae.createElement(ct,{percent:nn(We),strokeWidth:Tr,trailWidth:Tr,strokeColor:lo,strokeLinecap:Wt,trailColor:Bt,prefixCls:ut,gapDegree:Rr,gapPosition:Mr});return ae.createElement("div",{className:gr,style:Xr},Ka<=20?ae.createElement(en.Z,{title:jn},ae.createElement("span",null,Sn)):ae.createElement(ae.Fragment,null,Sn,jn))},kt=function(We,ut){var Bt={};for(var Wt in We)Object.prototype.hasOwnProperty.call(We,Wt)&&ut.indexOf(Wt)<0&&(Bt[Wt]=We[Wt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Wt=Object.getOwnPropertySymbols(We);Ot<Wt.length;Ot++)ut.indexOf(Wt[Ot])<0&&Object.prototype.propertyIsEnumerable.call(We,Wt[Ot])&&(Bt[Wt[Ot]]=We[Wt[Ot]]);return Bt};const Ce=We=>{let ut=[];return Object.keys(We).forEach(Bt=>{const Wt=parseFloat(Bt.replace(/%/g,""));isNaN(Wt)||ut.push({key:Wt,value:We[Bt]})}),ut=ut.sort((Bt,Wt)=>Bt.key-Wt.key),ut.map(Bt=>{let{key:Wt,value:Ot}=Bt;return`${Ot} ${Wt}%`}).join(", ")},hn=(We,ut)=>{const{from:Bt=Mt.presetPrimaryColors.blue,to:Wt=Mt.presetPrimaryColors.blue,direction:Ot=ut==="rtl"?"to left":"to right"}=We,yn=kt(We,["from","to","direction"]);if(Object.keys(yn).length!==0){const aa=Ce(yn);return{backgroundImage:`linear-gradient(${Ot}, ${aa})`}}return{backgroundImage:`linear-gradient(${Ot}, ${Bt}, ${Wt})`}};var ba=We=>{const{prefixCls:ut,direction:Bt,percent:Wt,size:Ot,strokeWidth:yn,strokeColor:aa,strokeLinecap:Vn="round",children:jn,trailColor:Ga=null,success:ra}=We,Ka=aa&&typeof aa!="string"?hn(aa,Bt):{backgroundColor:aa},Pr=Vn==="square"||Vn==="butt"?0:void 0,Tr={backgroundColor:Ga||void 0,borderRadius:Pr},Xr=Ot!=null?Ot:[-1,yn||(Ot==="small"?6:8)],[Rr,Mr]=Ue(Xr,"line",{strokeWidth:yn}),to=Object.assign({width:`${lt(Wt)}%`,height:Mr,borderRadius:Pr},Ka),lo=xt(We),gr={width:`${lt(lo)}%`,height:Mr,borderRadius:Pr,backgroundColor:ra==null?void 0:ra.strokeColor},Sn={width:Rr<0?"100%":Rr,height:Mr};return ae.createElement(ae.Fragment,null,ae.createElement("div",{className:`${ut}-outer`,style:Sn},ae.createElement("div",{className:`${ut}-inner`,style:Tr},ae.createElement("div",{className:`${ut}-bg`,style:to}),lo!==void 0?ae.createElement("div",{className:`${ut}-success-bg`,style:gr}):null)),jn)},Rt=We=>{const{size:ut,steps:Bt,percent:Wt=0,strokeWidth:Ot=8,strokeColor:yn,trailColor:aa=null,prefixCls:Vn,children:jn}=We,Ga=Math.round(Bt*(Wt/100)),ra=ut==="small"?2:14,Ka=ut!=null?ut:[ra,Ot],[Pr,Tr]=Ue(Ka,"step",{steps:Bt,strokeWidth:Ot}),Xr=Pr/Bt,Rr=new Array(Bt);for(let Mr=0;Mr<Bt;Mr++){const to=Array.isArray(yn)?yn[Mr]:yn;Rr[Mr]=ae.createElement("div",{key:Mr,className:se()(`${Vn}-steps-item`,{[`${Vn}-steps-item-active`]:Mr<=Ga-1}),style:{backgroundColor:Mr<=Ga-1?to:aa,width:Xr,height:Tr}})}return ae.createElement("div",{className:`${Vn}-steps-outer`},Rr,jn)},Ge=ee(45930),Fe=ee(14747),pt=ee(67968),Gt=ee(45503);const _t=We=>{const ut=We?"100%":"-100%";return new Ge.Keyframes(`antProgress${We?"RTL":"LTR"}Active`,{"0%":{transform:`translateX(${ut}) scaleX(0)`,opacity:.1},"20%":{transform:`translateX(${ut}) scaleX(0)`,opacity:.5},to:{transform:"translateX(0) scaleX(1)",opacity:0}})},Pn=We=>{const{componentCls:ut,iconCls:Bt}=We;return{[ut]:Object.assign(Object.assign({},(0,Fe.Wf)(We)),{display:"inline-block","&-rtl":{direction:"rtl"},"&-line":{position:"relative",width:"100%",fontSize:We.fontSize,marginInlineEnd:We.marginXS,marginBottom:We.marginXS},[`${ut}-outer`]:{display:"inline-block",width:"100%"},[`&${ut}-show-info`]:{[`${ut}-outer`]:{marginInlineEnd:`calc(-2em - ${We.marginXS}px)`,paddingInlineEnd:`calc(2em + ${We.paddingXS}px)`}},[`${ut}-inner`]:{position:"relative",display:"inline-block",width:"100%",overflow:"hidden",verticalAlign:"middle",backgroundColor:We.remainingColor,borderRadius:We.lineBorderRadius},[`${ut}-inner:not(${ut}-circle-gradient)`]:{[`${ut}-circle-path`]:{stroke:We.defaultColor}},[`${ut}-success-bg, ${ut}-bg`]:{position:"relative",backgroundColor:We.defaultColor,borderRadius:We.lineBorderRadius,transition:`all ${We.motionDurationSlow} ${We.motionEaseInOutCirc}`},[`${ut}-success-bg`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,backgroundColor:We.colorSuccess},[`${ut}-text`]:{display:"inline-block",width:"2em",marginInlineStart:We.marginXS,color:We.colorText,lineHeight:1,whiteSpace:"nowrap",textAlign:"start",verticalAlign:"middle",wordBreak:"normal",[Bt]:{fontSize:We.fontSize}},[`&${ut}-status-active`]:{[`${ut}-bg::before`]:{position:"absolute",inset:0,backgroundColor:We.colorBgContainer,borderRadius:We.lineBorderRadius,opacity:0,animationName:_t(),animationDuration:We.progressActiveMotionDuration,animationTimingFunction:We.motionEaseOutQuint,animationIterationCount:"infinite",content:'""'}},[`&${ut}-rtl${ut}-status-active`]:{[`${ut}-bg::before`]:{animationName:_t(!0)}},[`&${ut}-status-exception`]:{[`${ut}-bg`]:{backgroundColor:We.colorError},[`${ut}-text`]:{color:We.colorError}},[`&${ut}-status-exception ${ut}-inner:not(${ut}-circle-gradient)`]:{[`${ut}-circle-path`]:{stroke:We.colorError}},[`&${ut}-status-success`]:{[`${ut}-bg`]:{backgroundColor:We.colorSuccess},[`${ut}-text`]:{color:We.colorSuccess}},[`&${ut}-status-success ${ut}-inner:not(${ut}-circle-gradient)`]:{[`${ut}-circle-path`]:{stroke:We.colorSuccess}}})}},Qn=We=>{const{componentCls:ut,iconCls:Bt}=We;return{[ut]:{[`${ut}-circle-trail`]:{stroke:We.remainingColor},[`&${ut}-circle ${ut}-inner`]:{position:"relative",lineHeight:1,backgroundColor:"transparent"},[`&${ut}-circle ${ut}-text`]:{position:"absolute",insetBlockStart:"50%",insetInlineStart:0,width:"100%",margin:0,padding:0,color:We.circleTextColor,fontSize:We.circleTextFontSize,lineHeight:1,whiteSpace:"normal",textAlign:"center",transform:"translateY(-50%)",[Bt]:{fontSize:`${We.fontSize/We.fontSizeSM}em`}},[`${ut}-circle&-status-exception`]:{[`${ut}-text`]:{color:We.colorError}},[`${ut}-circle&-status-success`]:{[`${ut}-text`]:{color:We.colorSuccess}}},[`${ut}-inline-circle`]:{lineHeight:1,[`${ut}-inner`]:{verticalAlign:"bottom"}}}},Gn=We=>{const{componentCls:ut}=We;return{[ut]:{[`${ut}-steps`]:{display:"inline-block","&-outer":{display:"flex",flexDirection:"row",alignItems:"center"},"&-item":{flexShrink:0,minWidth:We.progressStepMinWidth,marginInlineEnd:We.progressStepMarginInlineEnd,backgroundColor:We.remainingColor,transition:`all ${We.motionDurationSlow}`,"&-active":{backgroundColor:We.defaultColor}}}}}},Hn=We=>{const{componentCls:ut,iconCls:Bt}=We;return{[ut]:{[`${ut}-small&-line, ${ut}-small&-line ${ut}-text ${Bt}`]:{fontSize:We.fontSizeSM}}}};var Ca=(0,pt.Z)("Progress",We=>{const ut=We.marginXXS/2,Bt=(0,Gt.TS)(We,{progressStepMarginInlineEnd:ut,progressStepMinWidth:ut,progressActiveMotionDuration:"2.4s"});return[Pn(Bt),Qn(Bt),Gn(Bt),Hn(Bt)]},We=>({circleTextColor:We.colorText,defaultColor:We.colorInfo,remainingColor:We.colorFillSecondary,lineBorderRadius:100,circleTextFontSize:"1em"})),Ee=function(We,ut){var Bt={};for(var Wt in We)Object.prototype.hasOwnProperty.call(We,Wt)&&ut.indexOf(Wt)<0&&(Bt[Wt]=We[Wt]);if(We!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ot=0,Wt=Object.getOwnPropertySymbols(We);Ot<Wt.length;Ot++)ut.indexOf(Wt[Ot])<0&&Object.prototype.propertyIsEnumerable.call(We,Wt[Ot])&&(Bt[Wt[Ot]]=We[Wt[Ot]]);return Bt};const Ke=null,Nn=["normal","exception","active","success"];var st=ae.forwardRef((We,ut)=>{const{prefixCls:Bt,className:Wt,rootClassName:Ot,steps:yn,strokeColor:aa,percent:Vn=0,size:jn="default",showInfo:Ga=!0,type:ra="line",status:Ka,format:Pr,style:Tr}=We,Xr=Ee(We,["prefixCls","className","rootClassName","steps","strokeColor","percent","size","showInfo","type","status","format","style"]),Rr=ae.useMemo(()=>{var dt,Ve;const jt=xt(We);return parseInt(jt!==void 0?(dt=jt!=null?jt:0)===null||dt===void 0?void 0:dt.toString():(Ve=Vn!=null?Vn:0)===null||Ve===void 0?void 0:Ve.toString(),10)},[Vn,We.success,We.successPercent]),Mr=ae.useMemo(()=>!Nn.includes(Ka)&&Rr>=100?"success":Ka||"normal",[Ka,Rr]),{getPrefixCls:to,direction:lo,progress:gr}=ae.useContext(je.E_),Sn=to("progress",Bt),[In,En]=Ca(Sn),Ln=ae.useMemo(()=>{if(!Ga)return null;const dt=xt(We);let Ve;const jt=Pr||(Jn=>`${Jn}%`),bn=ra==="line";return Pr||Mr!=="exception"&&Mr!=="success"?Ve=jt(lt(Vn),lt(dt)):Mr==="exception"?Ve=bn?ae.createElement(Ze.Z,null):ae.createElement(Me.Z,null):Mr==="success"&&(Ve=bn?ae.createElement(me.Z,null):ae.createElement(Ie.Z,null)),ae.createElement("span",{className:`${Sn}-text`,title:typeof Ve=="string"?Ve:void 0},Ve)},[Ga,Vn,Rr,Mr,ra,Sn,Pr]),Oa=Array.isArray(aa)?aa[0]:aa,Ar=typeof aa=="string"||Array.isArray(aa)?aa:void 0;let Tn;ra==="line"?Tn=yn?ae.createElement(Rt,Object.assign({},We,{strokeColor:Ar,prefixCls:Sn,steps:yn}),Ln):ae.createElement(ba,Object.assign({},We,{strokeColor:Oa,prefixCls:Sn,direction:lo}),Ln):(ra==="circle"||ra==="dashboard")&&(Tn=ae.createElement(nt,Object.assign({},We,{strokeColor:Oa,prefixCls:Sn,progressStatus:Mr}),Ln));const et=se()(Sn,`${Sn}-status-${Mr}`,`${Sn}-${ra==="dashboard"&&"circle"||yn&&"steps"||ra}`,{[`${Sn}-inline-circle`]:ra==="circle"&&Ue(jn,"circle")[0]<=20,[`${Sn}-show-info`]:Ga,[`${Sn}-${jn}`]:typeof jn=="string",[`${Sn}-rtl`]:lo==="rtl"},gr==null?void 0:gr.className,Wt,Ot,En);return In(ae.createElement("div",Object.assign({ref:ut,style:Object.assign(Object.assign({},gr==null?void 0:gr.style),Tr),className:et,role:"progressbar","aria-valuenow":Rr},(0,Te.Z)(Xr,["trailColor","strokeWidth","width","gapDegree","gapPosition","strokeLinecap","success","successPercent"])),Tn))}),tn=st},12604:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return Mt}});var ae=ee(87462),me=ee(67294),Ie={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"},Ze=Ie,Me=ee(74643),ze=function(xt,nn){return me.createElement(Me.Z,(0,ae.Z)({},xt,{ref:nn,icon:Ze}))},se=me.forwardRef(ze),Te=ee(94184),je=ee.n(Te),He=ee(4942),_e=ee(97685),$e=ee(45987),we=ee(21770),ce=ee(15105),y=ee(64217);function a(lt,xt){var nn=lt.disabled,vn=lt.prefixCls,Ue=lt.character,Ct=lt.characterRender,Ft=lt.index,Rn=lt.count,nt=lt.value,kt=lt.allowHalf,Ce=lt.focused,hn=lt.onHover,zn=lt.onClick,ba=function(Pn){hn(Pn,Ft)},Yn=function(Pn){zn(Pn,Ft)},Rt=function(Pn){Pn.keyCode===ce.Z.ENTER&&zn(Pn,Ft)},Ge=Ft+1,Fe=new Set([vn]);nt===0&&Ft===0&&Ce?Fe.add("".concat(vn,"-focused")):kt&&nt+.5>=Ge&&nt<Ge?(Fe.add("".concat(vn,"-half")),Fe.add("".concat(vn,"-active")),Ce&&Fe.add("".concat(vn,"-focused"))):(Ge<=nt?Fe.add("".concat(vn,"-full")):Fe.add("".concat(vn,"-zero")),Ge===nt&&Ce&&Fe.add("".concat(vn,"-focused")));var pt=typeof Ue=="function"?Ue(lt):Ue,Gt=me.createElement("li",{className:je()(Array.from(Fe)),ref:xt},me.createElement("div",{onClick:nn?null:Yn,onKeyDown:nn?null:Rt,onMouseMove:nn?null:ba,role:"radio","aria-checked":nt>Ft?"true":"false","aria-posinset":Ft+1,"aria-setsize":Rn,tabIndex:nn?-1:0},me.createElement("div",{className:"".concat(vn,"-first")},pt),me.createElement("div",{className:"".concat(vn,"-second")},pt)));return Ct&&(Gt=Ct(Gt,lt)),Gt}var x=me.forwardRef(a);function b(){var lt=me.useRef({});function xt(vn){return lt.current[vn]}function nn(vn){return function(Ue){lt.current[vn]=Ue}}return[xt,nn]}function E(lt){var xt=lt.pageXOffset,nn="scrollLeft";if(typeof xt!="number"){var vn=lt.document;xt=vn.documentElement[nn],typeof xt!="number"&&(xt=vn.body[nn])}return xt}function z(lt){var xt,nn,vn=lt.ownerDocument,Ue=vn.body,Ct=vn&&vn.documentElement,Ft=lt.getBoundingClientRect();return xt=Ft.left,nn=Ft.top,xt-=Ct.clientLeft||Ue.clientLeft||0,nn-=Ct.clientTop||Ue.clientTop||0,{left:xt,top:nn}}function re(lt){var xt=z(lt),nn=lt.ownerDocument,vn=nn.defaultView||nn.parentWindow;return xt.left+=E(vn),xt.left}var oe=["prefixCls","className","defaultValue","value","count","allowHalf","allowClear","character","characterRender","disabled","direction","tabIndex","autoFocus","onHoverChange","onChange","onFocus","onBlur","onKeyDown","onMouseLeave"];function ne(lt,xt){var nn,vn=lt.prefixCls,Ue=vn===void 0?"rc-rate":vn,Ct=lt.className,Ft=lt.defaultValue,Rn=lt.value,nt=lt.count,kt=nt===void 0?5:nt,Ce=lt.allowHalf,hn=Ce===void 0?!1:Ce,zn=lt.allowClear,ba=zn===void 0?!0:zn,Yn=lt.character,Rt=Yn===void 0?"\u2605":Yn,Ge=lt.characterRender,Fe=lt.disabled,pt=lt.direction,Gt=pt===void 0?"ltr":pt,_t=lt.tabIndex,Pn=_t===void 0?0:_t,Qn=lt.autoFocus,Gn=lt.onHoverChange,Hn=lt.onChange,Ca=lt.onFocus,Ee=lt.onBlur,Ke=lt.onKeyDown,Nn=lt.onMouseLeave,Kn=(0,$e.Z)(lt,oe),st=b(),tn=(0,_e.Z)(st,2),We=tn[0],ut=tn[1],Bt=me.useRef(null),Wt=function(){if(!Fe){var bn;(bn=Bt.current)===null||bn===void 0||bn.focus()}};me.useImperativeHandle(xt,function(){return{focus:Wt,blur:function(){if(!Fe){var bn;(bn=Bt.current)===null||bn===void 0||bn.blur()}}}});var Ot=(0,we.Z)(Ft||0,{value:Rn}),yn=(0,_e.Z)(Ot,2),aa=yn[0],Vn=yn[1],jn=(0,we.Z)(null),Ga=(0,_e.Z)(jn,2),ra=Ga[0],Ka=Ga[1],Pr=function(bn,Jn){var ja=Gt==="rtl",ca=bn+1;if(hn){var Wn=We(bn),Ba=re(Wn),ho=Wn.clientWidth;(ja&&Jn-Ba>ho/2||!ja&&Jn-Ba<ho/2)&&(ca-=.5)}return ca},Tr=function(bn){Vn(bn),Hn==null||Hn(bn)},Xr=me.useState(!1),Rr=(0,_e.Z)(Xr,2),Mr=Rr[0],to=Rr[1],lo=function(){to(!0),Ca==null||Ca()},gr=function(){to(!1),Ee==null||Ee()},Sn=me.useState(null),In=(0,_e.Z)(Sn,2),En=In[0],Ln=In[1],Oa=function(bn,Jn){var ja=Pr(Jn,bn.pageX);ja!==ra&&(Ln(ja),Ka(null)),Gn==null||Gn(ja)},Ar=function(bn){Fe||(Ln(null),Ka(null),Gn==null||Gn(void 0)),bn&&(Nn==null||Nn(bn))},Tn=function(bn,Jn){var ja=Pr(Jn,bn.pageX),ca=!1;ba&&(ca=ja===aa),Ar(),Tr(ca?0:ja),Ka(ca?ja:null)},et=function(bn){var Jn=bn.keyCode,ja=Gt==="rtl",ca=aa;Jn===ce.Z.RIGHT&&ca<kt&&!ja?(hn?ca+=.5:ca+=1,Tr(ca),bn.preventDefault()):Jn===ce.Z.LEFT&&ca>0&&!ja||Jn===ce.Z.RIGHT&&ca>0&&ja?(hn?ca-=.5:ca-=1,Tr(ca),bn.preventDefault()):Jn===ce.Z.LEFT&&ca<kt&&ja&&(hn?ca+=.5:ca+=1,Tr(ca),bn.preventDefault()),Ke==null||Ke(bn)};me.useEffect(function(){Qn&&!Fe&&Wt()},[]);var dt=new Array(kt).fill(0).map(function(jt,bn){return me.createElement(x,{ref:ut(bn),index:bn,count:kt,disabled:Fe,prefixCls:"".concat(Ue,"-star"),allowHalf:hn,value:En===null?aa:En,onClick:Tn,onHover:Oa,key:jt||bn,character:Rt,characterRender:Ge,focused:Mr})}),Ve=je()(Ue,Ct,(nn={},(0,He.Z)(nn,"".concat(Ue,"-disabled"),Fe),(0,He.Z)(nn,"".concat(Ue,"-rtl"),Gt==="rtl"),nn));return me.createElement("ul",(0,ae.Z)({className:Ve,onMouseLeave:Ar,tabIndex:Fe?-1:Pn,onFocus:Fe?null:lo,onBlur:Fe?null:gr,onKeyDown:Fe?null:et,ref:Bt,role:"radiogroup"},(0,y.Z)(Kn,{aria:!0,data:!0,attr:!0})),dt)}var ge=me.forwardRef(ne),pe=ge,Le=ee(53124),be=ee(83062),xe=ee(14747),Se=ee(67968),ft=ee(45503);const Ye=lt=>{const{componentCls:xt}=lt;return{[`${xt}-star`]:{position:"relative",display:"inline-block",color:"inherit",cursor:"pointer","&:not(:last-child)":{marginInlineEnd:lt.marginXS},"> div":{transition:`all ${lt.motionDurationMid}, outline 0s`,"&:hover":{transform:lt.starHoverScale},"&:focus":{outline:0},"&:focus-visible":{outline:`${lt.lineWidth}px dashed ${lt.starColor}`,transform:lt.starHoverScale}},"&-first, &-second":{color:lt.starBg,transition:`all ${lt.motionDurationMid}`,userSelect:"none",[lt.iconCls]:{verticalAlign:"middle"}},"&-first":{position:"absolute",top:0,insetInlineStart:0,width:"50%",height:"100%",overflow:"hidden",opacity:0},[`&-half ${xt}-star-first, &-half ${xt}-star-second`]:{opacity:1},[`&-half ${xt}-star-first, &-full ${xt}-star-second`]:{color:"inherit"}}}},Zt=lt=>({[`&-rtl${lt.componentCls}`]:{direction:"rtl"}}),qe=lt=>{const{componentCls:xt}=lt;return{[xt]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,xe.Wf)(lt)),{display:"inline-block",margin:0,padding:0,color:lt.starColor,fontSize:lt.starSize,lineHeight:"unset",listStyle:"none",outline:"none",[`&-disabled${xt} ${xt}-star`]:{cursor:"default","> div:hover":{transform:"scale(1)"}}}),Ye(lt)),{[`+ ${xt}-text`]:{display:"inline-block",marginInlineStart:lt.marginXS,fontSize:lt.fontSize}}),Zt(lt))}};var ct=(0,Se.Z)("Rate",lt=>{const xt=(0,ft.TS)(lt,{});return[qe(xt)]},lt=>({starColor:lt.yellow6,starSize:lt.controlHeightLG*.5,starHoverScale:"scale(1.1)",starBg:lt.colorFillContent})),zt=function(lt,xt){var nn={};for(var vn in lt)Object.prototype.hasOwnProperty.call(lt,vn)&&xt.indexOf(vn)<0&&(nn[vn]=lt[vn]);if(lt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Ue=0,vn=Object.getOwnPropertySymbols(lt);Ue<vn.length;Ue++)xt.indexOf(vn[Ue])<0&&Object.prototype.propertyIsEnumerable.call(lt,vn[Ue])&&(nn[vn[Ue]]=lt[vn[Ue]]);return nn},Mt=me.forwardRef((lt,xt)=>{const{prefixCls:nn,className:vn,rootClassName:Ue,style:Ct,tooltips:Ft,character:Rn=me.createElement(se,null)}=lt,nt=zt(lt,["prefixCls","className","rootClassName","style","tooltips","character"]),kt=(Fe,pt)=>{let{index:Gt}=pt;return Ft?me.createElement(be.Z,{title:Ft[Gt]},Fe):Fe},{getPrefixCls:Ce,direction:hn,rate:zn}=me.useContext(Le.E_),ba=Ce("rate",nn),[Yn,Rt]=ct(ba),Ge=Object.assign(Object.assign({},zn==null?void 0:zn.style),Ct);return Yn(me.createElement(pe,Object.assign({ref:xt,character:Rn,characterRender:kt},nt,{className:je()(vn,Ue,Rt,zn==null?void 0:zn.className),style:Ge,prefixCls:ba,direction:hn})))})},46303:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return Rt}});var ae=ee(94184),me=ee.n(ae),Ie=ee(67294),Ze=ee(53124),Me=ee(10366),se=Ge=>{const{prefixCls:Fe,className:pt,style:Gt,size:_t,shape:Pn}=Ge,Qn=me()({[`${Fe}-lg`]:_t==="large",[`${Fe}-sm`]:_t==="small"}),Gn=me()({[`${Fe}-circle`]:Pn==="circle",[`${Fe}-square`]:Pn==="square",[`${Fe}-round`]:Pn==="round"}),Hn=Ie.useMemo(()=>typeof _t=="number"?{width:_t,height:_t,lineHeight:`${_t}px`}:{},[_t]);return Ie.createElement("span",{className:me()(Fe,Qn,Gn,pt),style:Object.assign(Object.assign({},Hn),Gt)})},Te=ee(45930),je=ee(67968),He=ee(45503);const _e=new Te.Keyframes("ant-skeleton-loading",{"0%":{backgroundPosition:"100% 50%"},"100%":{backgroundPosition:"0 50%"}}),$e=Ge=>({height:Ge,lineHeight:`${Ge}px`}),we=Ge=>Object.assign({width:Ge},$e(Ge)),ce=Ge=>({background:Ge.skeletonLoadingBackground,backgroundSize:"400% 100%",animationName:_e,animationDuration:Ge.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite"}),y=Ge=>Object.assign({width:Ge*5,minWidth:Ge*5},$e(Ge)),a=Ge=>{const{skeletonAvatarCls:Fe,gradientFromColor:pt,controlHeight:Gt,controlHeightLG:_t,controlHeightSM:Pn}=Ge;return{[`${Fe}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:pt},we(Gt)),[`${Fe}${Fe}-circle`]:{borderRadius:"50%"},[`${Fe}${Fe}-lg`]:Object.assign({},we(_t)),[`${Fe}${Fe}-sm`]:Object.assign({},we(Pn))}},x=Ge=>{const{controlHeight:Fe,borderRadiusSM:pt,skeletonInputCls:Gt,controlHeightLG:_t,controlHeightSM:Pn,gradientFromColor:Qn}=Ge;return{[`${Gt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Qn,borderRadius:pt},y(Fe)),[`${Gt}-lg`]:Object.assign({},y(_t)),[`${Gt}-sm`]:Object.assign({},y(Pn))}},b=Ge=>Object.assign({width:Ge},$e(Ge)),E=Ge=>{const{skeletonImageCls:Fe,imageSizeBase:pt,gradientFromColor:Gt,borderRadiusSM:_t}=Ge;return{[`${Fe}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:Gt,borderRadius:_t},b(pt*2)),{[`${Fe}-path`]:{fill:"#bfbfbf"},[`${Fe}-svg`]:Object.assign(Object.assign({},b(pt)),{maxWidth:pt*4,maxHeight:pt*4}),[`${Fe}-svg${Fe}-svg-circle`]:{borderRadius:"50%"}}),[`${Fe}${Fe}-circle`]:{borderRadius:"50%"}}},z=(Ge,Fe,pt)=>{const{skeletonButtonCls:Gt}=Ge;return{[`${pt}${Gt}-circle`]:{width:Fe,minWidth:Fe,borderRadius:"50%"},[`${pt}${Gt}-round`]:{borderRadius:Fe}}},re=Ge=>Object.assign({width:Ge*2,minWidth:Ge*2},$e(Ge)),oe=Ge=>{const{borderRadiusSM:Fe,skeletonButtonCls:pt,controlHeight:Gt,controlHeightLG:_t,controlHeightSM:Pn,gradientFromColor:Qn}=Ge;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Qn,borderRadius:Fe,width:Gt*2,minWidth:Gt*2},re(Gt))},z(Ge,Gt,pt)),{[`${pt}-lg`]:Object.assign({},re(_t))}),z(Ge,_t,`${pt}-lg`)),{[`${pt}-sm`]:Object.assign({},re(Pn))}),z(Ge,Pn,`${pt}-sm`))},ne=Ge=>{const{componentCls:Fe,skeletonAvatarCls:pt,skeletonTitleCls:Gt,skeletonParagraphCls:_t,skeletonButtonCls:Pn,skeletonInputCls:Qn,skeletonImageCls:Gn,controlHeight:Hn,controlHeightLG:Ca,controlHeightSM:Ee,gradientFromColor:Ke,padding:Nn,marginSM:Kn,borderRadius:st,titleHeight:tn,blockRadius:We,paragraphLiHeight:ut,controlHeightXS:Bt,paragraphMarginTop:Wt}=Ge;return{[`${Fe}`]:{display:"table",width:"100%",[`${Fe}-header`]:{display:"table-cell",paddingInlineEnd:Nn,verticalAlign:"top",[`${pt}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:Ke},we(Hn)),[`${pt}-circle`]:{borderRadius:"50%"},[`${pt}-lg`]:Object.assign({},we(Ca)),[`${pt}-sm`]:Object.assign({},we(Ee))},[`${Fe}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${Gt}`]:{width:"100%",height:tn,background:Ke,borderRadius:We,[`+ ${_t}`]:{marginBlockStart:Ee}},[`${_t}`]:{padding:0,"> li":{width:"100%",height:ut,listStyle:"none",background:Ke,borderRadius:We,"+ li":{marginBlockStart:Bt}}},[`${_t}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${Fe}-content`]:{[`${Gt}, ${_t} > li`]:{borderRadius:st}}},[`${Fe}-with-avatar ${Fe}-content`]:{[`${Gt}`]:{marginBlockStart:Kn,[`+ ${_t}`]:{marginBlockStart:Wt}}},[`${Fe}${Fe}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},oe(Ge)),a(Ge)),x(Ge)),E(Ge)),[`${Fe}${Fe}-block`]:{width:"100%",[`${Pn}`]:{width:"100%"},[`${Qn}`]:{width:"100%"}},[`${Fe}${Fe}-active`]:{[`
${Gt},
${_t} > li,
${pt},
${Pn},
${Qn},
${Gn}
`]:Object.assign({},ce(Ge))}}};var ge=(0,je.Z)("Skeleton",Ge=>{const{componentCls:Fe}=Ge,pt=(0,He.TS)(Ge,{skeletonAvatarCls:`${Fe}-avatar`,skeletonTitleCls:`${Fe}-title`,skeletonParagraphCls:`${Fe}-paragraph`,skeletonButtonCls:`${Fe}-button`,skeletonInputCls:`${Fe}-input`,skeletonImageCls:`${Fe}-image`,imageSizeBase:Ge.controlHeight*1.5,borderRadius:100,skeletonLoadingBackground:`linear-gradient(90deg, ${Ge.gradientFromColor} 25%, ${Ge.gradientToColor} 37%, ${Ge.gradientFromColor} 63%)`,skeletonLoadingMotionDuration:"1.4s"});return[ne(pt)]},Ge=>{const{colorFillContent:Fe,colorFill:pt}=Ge,Gt=Fe,_t=pt;return{color:Gt,colorGradientEnd:_t,gradientFromColor:Gt,gradientToColor:_t,titleHeight:Ge.controlHeight/2,blockRadius:Ge.borderRadiusSM,paragraphMarginTop:Ge.marginLG+Ge.marginXXS,paragraphLiHeight:Ge.controlHeight/2}},{deprecatedTokens:[["color","gradientFromColor"],["colorGradientEnd","gradientToColor"]]}),Le=Ge=>{const{prefixCls:Fe,className:pt,rootClassName:Gt,active:_t,shape:Pn="circle",size:Qn="default"}=Ge,{getPrefixCls:Gn}=Ie.useContext(Ze.E_),Hn=Gn("skeleton",Fe),[Ca,Ee]=ge(Hn),Ke=(0,Me.Z)(Ge,["prefixCls","className"]),Nn=me()(Hn,`${Hn}-element`,{[`${Hn}-active`]:_t},pt,Gt,Ee);return Ca(Ie.createElement("div",{className:Nn},Ie.createElement(se,Object.assign({prefixCls:`${Hn}-avatar`,shape:Pn,size:Qn},Ke))))},xe=Ge=>{const{prefixCls:Fe,className:pt,rootClassName:Gt,active:_t,block:Pn=!1,size:Qn="default"}=Ge,{getPrefixCls:Gn}=Ie.useContext(Ze.E_),Hn=Gn("skeleton",Fe),[Ca,Ee]=ge(Hn),Ke=(0,Me.Z)(Ge,["prefixCls"]),Nn=me()(Hn,`${Hn}-element`,{[`${Hn}-active`]:_t,[`${Hn}-block`]:Pn},pt,Gt,Ee);return Ca(Ie.createElement("div",{className:Nn},Ie.createElement(se,Object.assign({prefixCls:`${Hn}-button`,size:Qn},Ke))))};const Se="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 Ye=Ge=>{const{prefixCls:Fe,className:pt,rootClassName:Gt,style:_t,active:Pn}=Ge,{getPrefixCls:Qn}=Ie.useContext(Ze.E_),Gn=Qn("skeleton",Fe),[Hn,Ca]=ge(Gn),Ee=me()(Gn,`${Gn}-element`,{[`${Gn}-active`]:Pn},pt,Gt,Ca);return Hn(Ie.createElement("div",{className:Ee},Ie.createElement("div",{className:me()(`${Gn}-image`,pt),style:_t},Ie.createElement("svg",{viewBox:"0 0 1098 1024",xmlns:"http://www.w3.org/2000/svg",className:`${Gn}-image-svg`},Ie.createElement("path",{d:Se,className:`${Gn}-image-path`})))))},qe=Ge=>{const{prefixCls:Fe,className:pt,rootClassName:Gt,active:_t,block:Pn,size:Qn="default"}=Ge,{getPrefixCls:Gn}=Ie.useContext(Ze.E_),Hn=Gn("skeleton",Fe),[Ca,Ee]=ge(Hn),Ke=(0,Me.Z)(Ge,["prefixCls"]),Nn=me()(Hn,`${Hn}-element`,{[`${Hn}-active`]:_t,[`${Hn}-block`]:Pn},pt,Gt,Ee);return Ca(Ie.createElement("div",{className:Nn},Ie.createElement(se,Object.assign({prefixCls:`${Hn}-input`,size:Qn},Ke))))},ct=ee(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"},en=zt,Mt=ee(74643),lt=function(Fe,pt){return Ie.createElement(Mt.Z,(0,ct.Z)({},Fe,{ref:pt,icon:en}))},xt=Ie.forwardRef(lt),vn=Ge=>{const{prefixCls:Fe,className:pt,rootClassName:Gt,style:_t,active:Pn,children:Qn}=Ge,{getPrefixCls:Gn}=Ie.useContext(Ze.E_),Hn=Gn("skeleton",Fe),[Ca,Ee]=ge(Hn),Ke=me()(Hn,`${Hn}-element`,{[`${Hn}-active`]:Pn},Ee,pt,Gt),Nn=Qn!=null?Qn:Ie.createElement(xt,null);return Ca(Ie.createElement("div",{className:Ke},Ie.createElement("div",{className:me()(`${Hn}-image`,pt),style:_t},Nn)))},Ue=ee(74902),Ft=Ge=>{const Fe=Gn=>{const{width:Hn,rows:Ca=2}=Ge;if(Array.isArray(Hn))return Hn[Gn];if(Ca-1===Gn)return Hn},{prefixCls:pt,className:Gt,style:_t,rows:Pn}=Ge,Qn=(0,Ue.Z)(Array(Pn)).map((Gn,Hn)=>Ie.createElement("li",{key:Hn,style:{width:Fe(Hn)}}));return Ie.createElement("ul",{className:me()(pt,Gt),style:_t},Qn)},nt=Ge=>{let{prefixCls:Fe,className:pt,width:Gt,style:_t}=Ge;return Ie.createElement("h3",{className:me()(Fe,pt),style:Object.assign({width:Gt},_t)})};function kt(Ge){return Ge&&typeof Ge=="object"?Ge:{}}function Ce(Ge,Fe){return Ge&&!Fe?{size:"large",shape:"square"}:{size:"large",shape:"circle"}}function hn(Ge,Fe){return!Ge&&Fe?{width:"38%"}:Ge&&Fe?{width:"50%"}:{}}function zn(Ge,Fe){const pt={};return(!Ge||!Fe)&&(pt.width="61%"),!Ge&&Fe?pt.rows=3:pt.rows=2,pt}const ba=Ge=>{const{prefixCls:Fe,loading:pt,className:Gt,rootClassName:_t,style:Pn,children:Qn,avatar:Gn=!1,title:Hn=!0,paragraph:Ca=!0,active:Ee,round:Ke}=Ge,{getPrefixCls:Nn,direction:Kn,skeleton:st}=Ie.useContext(Ze.E_),tn=Nn("skeleton",Fe),[We,ut]=ge(tn);if(pt||!("loading"in Ge)){const Bt=!!Gn,Wt=!!Hn,Ot=!!Ca;let yn;if(Bt){const jn=Object.assign(Object.assign({prefixCls:`${tn}-avatar`},Ce(Wt,Ot)),kt(Gn));yn=Ie.createElement("div",{className:`${tn}-header`},Ie.createElement(se,Object.assign({},jn)))}let aa;if(Wt||Ot){let jn;if(Wt){const ra=Object.assign(Object.assign({prefixCls:`${tn}-title`},hn(Bt,Ot)),kt(Hn));jn=Ie.createElement(nt,Object.assign({},ra))}let Ga;if(Ot){const ra=Object.assign(Object.assign({prefixCls:`${tn}-paragraph`},zn(Bt,Wt)),kt(Ca));Ga=Ie.createElement(Ft,Object.assign({},ra))}aa=Ie.createElement("div",{className:`${tn}-content`},jn,Ga)}const Vn=me()(tn,{[`${tn}-with-avatar`]:Bt,[`${tn}-active`]:Ee,[`${tn}-rtl`]:Kn==="rtl",[`${tn}-round`]:Ke},st==null?void 0:st.className,Gt,_t,ut);return We(Ie.createElement("div",{className:Vn,style:Object.assign(Object.assign({},st==null?void 0:st.style),Pn)},yn,aa))}return typeof Qn!="undefined"?Qn:null};ba.Button=xe,ba.Avatar=Le,ba.Input=qe,ba.Image=Ye,ba.Node=vn;var Yn=ba,Rt=Yn},55054:function(ht,wt,ee){"use strict";ee.d(wt,{default:function(){return ge}});var ae=ee(67294),me=ee(57838),Ie=ee(96159),Ze=ee(94184),Me=ee.n(Ze),ze=ee(53124),se=ee(46303),je=pe=>{const{value:Le,formatter:be,precision:xe,decimalSeparator:Se,groupSeparator:ft="",prefixCls:Ye}=pe;let Zt;if(typeof be=="function")Zt=be(Le);else{const qe=String(Le),ct=qe.match(/^(-?)(\d*)(\.(\d+))?$/);if(!ct||qe==="-")Zt=qe;else{const zt=ct[1];let en=ct[2]||"0",Mt=ct[4]||"";en=en.replace(/\B(?=(\d{3})+(?!\d))/g,ft),typeof xe=="number"&&(Mt=Mt.padEnd(xe,"0").slice(0,xe>0?xe:0)),Mt&&(Mt=`${Se}${Mt}`),Zt=[ae.createElement("span",{key:"int",className:`${Ye}-content-value-int`},zt,en),Mt&&ae.createElement("span",{key:"decimal",className:`${Ye}-content-value-decimal`},Mt)]}}return ae.createElement("span",{className:`${Ye}-content-value`},Zt)},He=ee(14747),_e=ee(67968),$e=ee(45503);const we=pe=>{const{componentCls:Le,marginXXS:be,padding:xe,colorTextDescription:Se,titleFontSize:ft,colorTextHeading:Ye,contentFontSize:Zt,fontFamily:qe}=pe;return{[`${Le}`]:Object.assign(Object.assign({},(0,He.Wf)(pe)),{[`${Le}-title`]:{marginBottom:be,color:Se,fontSize:ft},[`${Le}-skeleton`]:{paddingTop:xe},[`${Le}-content`]:{color:Ye,fontSize:Zt,fontFamily:qe,[`${Le}-content-value`]:{display:"inline-block",direction:"ltr"},[`${Le}-content-prefix, ${Le}-content-suffix`]:{display:"inline-block"},[`${Le}-content-prefix`]:{marginInlineEnd:be},[`${Le}-content-suffix`]:{marginInlineStart:be}}})}};var ce=(0,_e.Z)("Statistic",pe=>{const Le=(0,$e.TS)(pe,{});return[we(Le)]},pe=>{const{fontSizeHeading3:Le,fontSize:be}=pe;return{titleFontSize:be,contentFontSize:Le}}),a=pe=>{const{prefixCls:Le,className:be,rootClassName:xe,style:Se,valueStyle:ft,value:Ye=0,title:Zt,valueRender:qe,prefix:ct,suffix:zt,loading:en=!1,onMouseEnter:Mt,onMouseLeave:lt,decimalSeparator:xt=".",groupSeparator:nn=","}=pe,{getPrefixCls:vn,direction:Ue,statistic:Ct}=ae.useContext(ze.E_),Ft=vn("statistic",Le),[Rn,nt]=ce(Ft),kt=ae.createElement(je,Object.assign({decimalSeparator:xt,groupSeparator:nn,prefixCls:Ft},pe,{value:Ye})),Ce=Me()(Ft,{[`${Ft}-rtl`]:Ue==="rtl"},Ct==null?void 0:Ct.className,be,xe,nt);return Rn(ae.createElement("div",{className:Ce,style:Object.assign(Object.assign({},Ct==null?void 0:Ct.style),Se),onMouseEnter:Mt,onMouseLeave:lt},Zt&&ae.createElement("div",{className:`${Ft}-title`},Zt),ae.createElement(se.Z,{paragraph:!1,loading:en,className:`${Ft}-skeleton`},ae.createElement("div",{style:ft,className:`${Ft}-content`},ct&&ae.createElement("span",{className:`${Ft}-content-prefix`},ct),qe?qe(kt):kt,zt&&ae.createElement("span",{className:`${Ft}-content-suffix`},zt)))))};const x=[["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(pe,Le){let be=pe;const xe=/\[[^\]]*]/g,Se=(Le.match(xe)||[]).map(qe=>qe.slice(1,-1)),ft=Le.replace(xe,"[]"),Ye=x.reduce((qe,ct)=>{let[zt,en]=ct;if(qe.includes(zt)){const Mt=Math.floor(be/en);return be-=Mt*en,qe.replace(new RegExp(`${zt}+`,"g"),lt=>{const xt=lt.length;return Mt.toString().padStart(xt,"0")})}return qe},ft);let Zt=0;return Ye.replace(xe,()=>{const qe=Se[Zt];return Zt+=1,qe})}function E(pe,Le){const{format:be=""}=Le,xe=new Date(pe).getTime(),Se=Date.now(),ft=Math.max(xe-Se,0);return b(ft,be)}const z=1e3/30;function re(pe){return new Date(pe).getTime()}const oe=pe=>{const{value:Le,format:be="HH:mm:ss",onChange:xe,onFinish:Se}=pe,ft=(0,me.Z)(),Ye=ae.useRef(null),Zt=()=>{Se==null||Se(),Ye.current&&(clearInterval(Ye.current),Ye.current=null)},qe=()=>{const en=re(Le);en>=Date.now()&&(Ye.current=setInterval(()=>{ft(),xe==null||xe(en-Date.now()),en<Date.now()&&Zt()},z))};ae.useEffect(()=>(qe(),()=>{Ye.current&&(clearInterval(Ye.current),Ye.current=null)}),[Le]);const ct=(en,Mt)=>E(en,Object.assign(Object.assign({},Mt),{format:be})),zt=en=>(0,Ie.Tm)(en,{title:void 0});return ae.createElement(a,Object.assign({},pe,{valueRender:zt,formatter:ct}))};var ne=ae.memo(oe);a.Countdown=ne;var ge=a},49867:function(ht,wt,ee){"use strict";ee.d(wt,{N:function(){return ae}});const ae=me=>({color:me.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${me.motionDurationSlow}`,"&:focus, &:hover":{color:me.colorLinkHover},"&:active":{color:me.colorLinkActive}})},9430:function(ht,wt,ee){"use strict";ee.d(wt,{default:function(){return Xs}});var ae={},me="rc-table-internal-hook",Ie=ee(97685),Ze=ee(66680),Me=ee(8410),ze=ee(91881),se=ee(67294),Te=ee(73935);function je(de){var ue=se.createContext(void 0),he=function(Be){var Oe=Be.value,Je=Be.children,at=se.useRef(Oe);at.current=Oe;var tt=se.useState(function(){return{getValue:function(){return at.current},listeners:new Set}}),yt=(0,Ie.Z)(tt,1),Ht=yt[0];return(0,Me.Z)(function(){(0,Te.unstable_batchedUpdates)(function(){Ht.listeners.forEach(function(Lt){Lt(Oe)})})},[Oe]),se.createElement(ue.Provider,{value:Ht},Je)};return{Context:ue,Provider:he,defaultValue:de}}function He(de,ue){var he=(0,Ze.Z)(typeof ue=="function"?ue:function(Lt){if(ue===void 0)return Lt;if(!Array.isArray(ue))return Lt[ue];var rn={};return ue.forEach(function(on){rn[on]=Lt[on]}),rn}),ye=se.useContext(de==null?void 0:de.Context),Be=ye||{},Oe=Be.listeners,Je=Be.getValue,at=se.useRef();at.current=he(ye?Je():de==null?void 0:de.defaultValue);var tt=se.useState({}),yt=(0,Ie.Z)(tt,2),Ht=yt[1];return(0,Me.Z)(function(){if(!ye)return;function Lt(rn){var on=he(rn);(0,ze.Z)(at.current,on,!0)||Ht({})}return Oe.add(Lt),function(){Oe.delete(Lt)}},[ye]),at.current}var _e=ee(87462),$e=ee(42550);function we(){var de=se.createContext(null);function ue(){return se.useContext(de)}function he(Be,Oe){var Je=(0,$e.Yr)(Be),at=function(yt,Ht){var Lt=Je?{ref:Ht}:{},rn=se.useRef(0),on=se.useRef(yt),fn=ue();return fn!==null?se.createElement(Be,(0,_e.Z)({},yt,Lt)):((!Oe||Oe(on.current,yt))&&(rn.current+=1),on.current=yt,se.createElement(de.Provider,{value:rn.current},se.createElement(Be,(0,_e.Z)({},yt,Lt))))};return Je?se.forwardRef(at):at}function ye(Be,Oe){var Je=(0,$e.Yr)(Be),at=function(yt,Ht){var Lt=Je?{ref:Ht}:{};return ue(),se.createElement(Be,(0,_e.Z)({},yt,Lt))};return Je?se.memo(se.forwardRef(at),Oe):se.memo(at,Oe)}return{makeImmutable:he,responseImmutable:ye,useImmutableMark:ue}}var ce=we(),y=ce.makeImmutable,a=ce.responseImmutable,x=ce.useImmutableMark,b=we(),E=b.makeImmutable,z=b.responseImmutable,re=b.useImmutableMark,oe=je(),ne=oe;function ge(de,ue){var he=se.useRef(0);he.current+=1;var ye=se.useRef(de),Be=[];Object.keys(de||{}).map(function(Je){var at;(de==null?void 0:de[Je])!==((at=ye.current)===null||at===void 0?void 0:at[Je])&&Be.push(Je)}),ye.current=de;var Oe=se.useRef([]);return Be.length&&(Oe.current=Be),se.useDebugValue(he.current),se.useDebugValue(Oe.current.join(", ")),ue&&console.log("".concat(ue,":"),he.current,Oe.current),he.current}var pe=null,Le=se.memo(function(){var de=ge();return se.createElement("h1",null,"Render Times: ",de)});Le.displayName="RenderBlock";var be=ee(71002),xe=ee(1413),Se=ee(4942),ft=ee(94184),Ye=ee.n(ft);function Zt(de,ue,he){var ye=se.useRef({});return(!("value"in ye.current)||he(ye.current.condition,ue))&&(ye.current.value=de(),ye.current.condition=ue),ye.current.value}var qe={},ct=[],zt=function(ue){ct.push(ue)};function en(de,ue){if(0)var he}function Mt(de,ue){if(0)var he}function lt(){qe={}}function xt(de,ue,he){!ue&&!qe[he]&&(de(!1,he),qe[he]=!0)}function nn(de,ue){xt(en,de,ue)}function vn(de,ue){xt(Mt,de,ue)}nn.preMessage=zt,nn.resetWarned=lt,nn.noteOnce=vn;var Ue=nn;function Ct(de,ue){var he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ye=new Set;function Be(Oe,Je){var at=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,tt=ye.has(Oe);if(Ue(!tt,"Warning: There may be circular references"),tt)return!1;if(Oe===Je)return!0;if(he&&at>1)return!1;ye.add(Oe);var yt=at+1;if(Array.isArray(Oe)){if(!Array.isArray(Je)||Oe.length!==Je.length)return!1;for(var Ht=0;Ht<Oe.length;Ht++)if(!Be(Oe[Ht],Je[Ht],yt))return!1;return!0}if(Oe&&Je&&(0,be.Z)(Oe)==="object"&&(0,be.Z)(Je)==="object"){var Lt=Object.keys(Oe);return Lt.length!==Object.keys(Je).length?!1:Lt.every(function(rn){return Be(Oe[rn],Je[rn],yt)})}return!1}return Be(de,ue)}var Ft=Ct;function Rn(de,ue){for(var he=de,ye=0;ye<ue.length;ye+=1){if(he==null)return;he=he[ue[ye]]}return he}var nt=se.createContext({renderWithProps:!1}),kt=nt,Ce="RC_TABLE_KEY";function hn(de){return de==null?[]:Array.isArray(de)?de:[de]}function zn(de){var ue=[],he={};return de.forEach(function(ye){for(var Be=ye||{},Oe=Be.key,Je=Be.dataIndex,at=Oe||hn(Je).join("-")||Ce;he[at];)at="".concat(at,"_next");he[at]=!0,ue.push(at)}),ue}function ba(de){return de!=null}function Yn(de){return de&&(0,be.Z)(de)==="object"&&!Array.isArray(de)&&!se.isValidElement(de)}function Rt(de,ue,he,ye,Be,Oe){var Je=se.useContext(kt),at=re(),tt=Zt(function(){if(ba(ye))return[ye];var yt=ue==null||ue===""?[]:Array.isArray(ue)?ue:[ue],Ht=Rn(de,yt),Lt=Ht,rn=void 0;if(Be){var on=Be(Ht,de,he);Yn(on)?(Lt=on.children,rn=on.props,Je.renderWithProps=!0):Lt=on}return[Lt,rn]},[at,de,ye,ue,Be,he],function(yt,Ht){if(Oe){var Lt=(0,Ie.Z)(yt,2),rn=Lt[1],on=(0,Ie.Z)(Ht,2),fn=on[1];return Oe(fn,rn)}return Je.renderWithProps?!0:!Ft(yt,Ht,!0)});return tt}function Ge(de,ue,he,ye){var Be=de+ue-1;return de<=ye&&Be>=he}function Fe(de,ue){return He(ne,function(he){var ye=Ge(de,ue||1,he.hoverStartRow,he.hoverEndRow);return[ye,he.onHover]})}var pt=function(ue){var he=ue.ellipsis,ye=ue.rowType,Be=ue.children,Oe,Je=he===!0?{showTitle:!0}:he;return Je&&(Je.showTitle||ye==="header")&&(typeof Be=="string"||typeof Be=="number"?Oe=Be.toString():se.isValidElement(Be)&&typeof Be.props.children=="string"&&(Oe=Be.props.children)),Oe};function Gt(de){var ue,he,ye,Be,Oe,Je,at,tt,yt=de.component,Ht=de.children,Lt=de.ellipsis,rn=de.scope,on=de.prefixCls,fn=de.className,Xn=de.align,Fn=de.record,ea=de.render,Zn=de.dataIndex,la=de.renderIndex,Ra=de.shouldCellUpdate,Qa=de.index,Ma=de.rowType,fr=de.colSpan,Dr=de.rowSpan,Sa=de.fixLeft,Na=de.fixRight,ua=de.firstFixLeft,ia=de.lastFixLeft,Da=de.firstFixRight,Wa=de.lastFixRight,vr=de.appendNode,Er=de.additionalProps,Ha=Er===void 0?{}:Er,Or=de.isSticky,Kr="".concat(on,"-cell"),Mo=He(ne,["supportSticky","allColumnsFixedLeft"]),mo=Mo.supportSticky,gi=Mo.allColumnsFixedLeft,fi=Rt(Fn,Zn,la,Ht,ea,Ra),Fr=(0,Ie.Z)(fi,2),Di=Fr[0],ta=Fr[1],or={},jr=typeof Sa=="number"&&mo,Io=typeof Na=="number"&&mo;jr&&(or.position="sticky",or.left=Sa),Io&&(or.position="sticky",or.right=Na);var ya=(ue=(he=(ye=ta==null?void 0:ta.colSpan)!==null&&ye!==void 0?ye:Ha.colSpan)!==null&&he!==void 0?he:fr)!==null&&ue!==void 0?ue:1,Ja=(Be=(Oe=(Je=ta==null?void 0:ta.rowSpan)!==null&&Je!==void 0?Je:Ha.rowSpan)!==null&&Oe!==void 0?Oe:Dr)!==null&&Be!==void 0?Be:1,tr=Fe(Qa,Ja),Ua=(0,Ie.Z)(tr,2),po=Ua[0],ir=Ua[1],Ir=function(xi){var zl;Fn&&ir(Qa,Qa+Ja-1),Ha==null||(zl=Ha.onMouseEnter)===null||zl===void 0||zl.call(Ha,xi)},Ao=function(xi){var zl;Fn&&ir(-1,-1),Ha==null||(zl=Ha.onMouseLeave)===null||zl===void 0||zl.call(Ha,xi)};if(ya===0||Ja===0)return null;var yo=(at=Ha.title)!==null&&at!==void 0?at:pt({rowType:Ma,ellipsis:Lt,children:Di}),Ml=Ye()(Kr,fn,(tt={},(0,Se.Z)(tt,"".concat(Kr,"-fix-left"),jr&&mo),(0,Se.Z)(tt,"".concat(Kr,"-fix-left-first"),ua&&mo),(0,Se.Z)(tt,"".concat(Kr,"-fix-left-last"),ia&&mo),(0,Se.Z)(tt,"".concat(Kr,"-fix-left-all"),ia&&gi&&mo),(0,Se.Z)(tt,"".concat(Kr,"-fix-right"),Io&&mo),(0,Se.Z)(tt,"".concat(Kr,"-fix-right-first"),Da&&mo),(0,Se.Z)(tt,"".concat(Kr,"-fix-right-last"),Wa&&mo),(0,Se.Z)(tt,"".concat(Kr,"-ellipsis"),Lt),(0,Se.Z)(tt,"".concat(Kr,"-with-append"),vr),(0,Se.Z)(tt,"".concat(Kr,"-fix-sticky"),(jr||Io)&&Or&&mo),(0,Se.Z)(tt,"".concat(Kr,"-row-hover"),!ta&&po),tt),Ha.className,ta==null?void 0:ta.className),Pl={};Xn&&(Pl.textAlign=Xn);var Os=(0,xe.Z)((0,xe.Z)((0,xe.Z)((0,xe.Z)({},or),Ha.style),Pl),ta==null?void 0:ta.style),Qi=Di;return(0,be.Z)(Qi)==="object"&&!Array.isArray(Qi)&&!se.isValidElement(Qi)&&(Qi=null),Lt&&(ia||Da)&&(Qi=se.createElement("span",{className:"".concat(Kr,"-content")},Qi)),se.createElement(yt,(0,_e.Z)({},ta,Ha,{className:Ml,style:Os,title:yo,scope:rn,onMouseEnter:Ir,onMouseLeave:Ao,colSpan:ya!==1?ya:null,rowSpan:Ja!==1?Ja:null}),vr,Qi)}var _t=se.memo(Gt);function Pn(de,ue,he,ye,Be,Oe){var Je=he[de]||{},at=he[ue]||{},tt,yt;Je.fixed==="left"?tt=ye.left[Be==="rtl"?ue:de]:at.fixed==="right"&&(yt=ye.right[Be==="rtl"?de:ue]);var Ht=!1,Lt=!1,rn=!1,on=!1,fn=he[ue+1],Xn=he[de-1],Fn=!(Oe!=null&&Oe.children);if(Be==="rtl"){if(tt!==void 0){var ea=Xn&&Xn.fixed==="left";on=!ea&&Fn}else if(yt!==void 0){var Zn=fn&&fn.fixed==="right";rn=!Zn&&Fn}}else if(tt!==void 0){var la=fn&&fn.fixed==="left";Ht=!la&&Fn}else if(yt!==void 0){var Ra=Xn&&Xn.fixed==="right";Lt=!Ra&&Fn}return{fixLeft:tt,fixRight:yt,lastFixLeft:Ht,firstFixRight:Lt,lastFixRight:rn,firstFixLeft:on,isSticky:ye.isSticky}}var Qn=se.createContext({}),Gn=Qn;function Hn(de){var ue=de.className,he=de.index,ye=de.children,Be=de.colSpan,Oe=Be===void 0?1:Be,Je=de.rowSpan,at=de.align,tt=He(ne,["prefixCls","direction"]),yt=tt.prefixCls,Ht=tt.direction,Lt=se.useContext(Gn),rn=Lt.scrollColumnIndex,on=Lt.stickyOffsets,fn=Lt.flattenColumns,Xn=Lt.columns,Fn=he+Oe-1,ea=Fn+1===rn?Oe+1:Oe,Zn=Pn(he,he+ea-1,fn,on,Ht,Xn==null?void 0:Xn[he]);return se.createElement(_t,(0,_e.Z)({className:ue,index:he,component:"td",prefixCls:yt,record:null,dataIndex:null,align:at,colSpan:ea,rowSpan:Je,render:function(){return ye}},Zn))}var Ca=ee(45987),Ee=["children"];function Ke(de){var ue=de.children,he=(0,Ca.Z)(de,Ee);return se.createElement("tr",he,ue)}function Nn(de){var ue=de.children;return ue}Nn.Row=Ke,Nn.Cell=Hn;var Kn=Nn;function st(de){var ue=de.children,he=de.stickyOffsets,ye=de.flattenColumns,Be=de.columns,Oe=He(ne,"prefixCls"),Je=ye.length-1,at=ye[Je],tt=se.useMemo(function(){return{stickyOffsets:he,flattenColumns:ye,scrollColumnIndex:at!=null&&at.scrollbar?Je:null,columns:Be}},[at,ye,Je,he,Be]);return se.createElement(Gn.Provider,{value:tt},se.createElement("tfoot",{className:"".concat(Oe,"-summary")},ue))}var tn=z(st),We=Kn;function ut(de){var ue=se.useRef();ue.current=de;var he=se.useCallback(function(){for(var ye,Be=arguments.length,Oe=new Array(Be),Je=0;Je<Be;Je++)Oe[Je]=arguments[Je];return(ye=ue.current)===null||ye===void 0?void 0:ye.call.apply(ye,[ue].concat(Oe))},[]);return he}function Bt(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var Wt=Bt()?se.useLayoutEffect:se.useEffect,Ot=function(ue,he){var ye=React.useRef(!0);Wt(function(){return ue(ye.current)},he),Wt(function(){return ye.current=!1,function(){ye.current=!0}},[])},yn=function(ue,he){Ot(function(ye){if(!ye)return ue()},he)},aa=null;function Vn(de){var ue=React.useRef(!1),he=React.useState(de),ye=_slicedToArray(he,2),Be=ye[0],Oe=ye[1];React.useEffect(function(){return ue.current=!1,function(){ue.current=!0}},[]);function Je(at,tt){tt&&ue.current||Oe(at)}return[Be,Je]}function jn(de){return de!==void 0}function Ga(de,ue){var he=ue||{},ye=he.defaultValue,Be=he.value,Oe=he.onChange,Je=he.postState,at=useState(function(){return jn(Be)?Be:jn(ye)?typeof ye=="function"?ye():ye:typeof de=="function"?de():de}),tt=_slicedToArray(at,2),yt=tt[0],Ht=tt[1],Lt=Be!==void 0?Be:yt,rn=Je?Je(Lt):Lt,on=useEvent(Oe),fn=useState([Lt]),Xn=_slicedToArray(fn,2),Fn=Xn[0],ea=Xn[1];useLayoutUpdateEffect(function(){var la=Fn[0];yt!==la&&on(yt,la)},[Fn]),useLayoutUpdateEffect(function(){jn(Be)||Ht(Be)},[Be]);var Zn=useEvent(function(la,Ra){Ht(la,Ra),ea([Lt],Ra)});return[rn,Zn]}var ra=ee(35110);function Ka(de,ue){typeof de=="function"?de(ue):(0,be.Z)(de)==="object"&&de&&"current"in de&&(de.current=ue)}function Pr(){for(var de=arguments.length,ue=new Array(de),he=0;he<de;he++)ue[he]=arguments[he];var ye=ue.filter(function(Be){return Be});return ye.length<=1?ye[0]:function(Be){ue.forEach(function(Oe){Ka(Oe,Be)})}}function Tr(){for(var de=arguments.length,ue=new Array(de),he=0;he<de;he++)ue[he]=arguments[he];return useMemo(function(){return Pr.apply(void 0,ue)},ue,function(ye,Be){return ye.length!==Be.length||ye.every(function(Oe,Je){return Oe!==Be[Je]})})}function Xr(de){var ue,he,ye=isMemo(de)?de.type.type:de.type;return!(typeof ye=="function"&&!((ue=ye.prototype)!==null&&ue!==void 0&&ue.render)||typeof de=="function"&&!((he=de.prototype)!==null&&he!==void 0&&he.render))}function Rr(de){return!isValidElement(de)||isFragment(de)?!1:Xr(de)}function Mr(de,ue,he,ye){if(!ue.length)return he;var Be=_toArray(ue),Oe=Be[0],Je=Be.slice(1),at;return!de&&typeof Oe=="number"?at=[]:Array.isArray(de)?at=_toConsumableArray(de):at=_objectSpread({},de),ye&&he===void 0&&Je.length===1?delete at[Oe][Je[0]]:at[Oe]=Mr(at[Oe],Je,he,ye),at}function to(de,ue,he){var ye=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return ue.length&&ye&&he===void 0&&!get(de,ue.slice(0,-1))?de:Mr(de,ue,he,ye)}function lo(de){return _typeof(de)==="object"&&de!==null&&Object.getPrototypeOf(de)===Object.prototype}function gr(de){return Array.isArray(de)?[]:{}}var Sn=typeof Reflect=="undefined"?Object.keys:Reflect.ownKeys;function In(){for(var de=arguments.length,ue=new Array(de),he=0;he<de;he++)ue[he]=arguments[he];var ye=gr(ue[0]);return ue.forEach(function(Be){function Oe(Je,at){var tt=new Set(at),yt=get(Be,Je),Ht=Array.isArray(yt);if(Ht||lo(yt)){if(!tt.has(yt)){tt.add(yt);var Lt=get(ye,Je);Ht?ye=to(ye,Je,[]):(!Lt||_typeof(Lt)!=="object")&&(ye=to(ye,Je,gr(yt))),Sn(yt).forEach(function(rn){Oe([].concat(_toConsumableArray(Je),[rn]),tt)})}}else ye=to(ye,Je,yt)}Oe([])}),ye}var En=ee(48555),Ln=function(de){if(!de)return!1;if(de instanceof Element){if(de.offsetParent)return!0;if(de.getBBox){var ue=de.getBBox(),he=ue.width,ye=ue.height;if(he||ye)return!0}if(de.getBoundingClientRect){var Be=de.getBoundingClientRect(),Oe=Be.width,Je=Be.height;if(Oe||Je)return!0}}return!1},Oa=function(ue){if(Bt()&&window.document.documentElement){var he=Array.isArray(ue)?ue:[ue],ye=window.document.documentElement;return he.some(function(Be){return Be in ye.style})}return!1},Ar=function(ue,he){if(!Oa(ue))return!1;var ye=document.createElement("div"),Be=ye.style[ue];return ye.style[ue]=he,ye.style[ue]!==Be};function Tn(de,ue){return!Array.isArray(de)&&ue!==void 0?Ar(de,ue):Oa(de)}var et;function dt(de){if(typeof document=="undefined")return 0;if(de||et===void 0){var ue=document.createElement("div");ue.style.width="100%",ue.style.height="200px";var he=document.createElement("div"),ye=he.style;ye.position="absolute",ye.top="0",ye.left="0",ye.pointerEvents="none",ye.visibility="hidden",ye.width="200px",ye.height="150px",ye.overflow="hidden",he.appendChild(ue),document.body.appendChild(he);var Be=ue.offsetWidth;he.style.overflow="scroll";var Oe=ue.offsetWidth;Be===Oe&&(Oe=he.clientWidth),document.body.removeChild(he),et=Be-Oe}return et}function Ve(de){var ue=de.match(/^(.*)px$/),he=Number(ue==null?void 0:ue[1]);return Number.isNaN(he)?dt():he}function jt(de){if(typeof document=="undefined"||!de||!(de instanceof Element))return{width:0,height:0};var ue=getComputedStyle(de,"::-webkit-scrollbar"),he=ue.width,ye=ue.height;return{width:Ve(he),height:Ve(ye)}}var bn=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Jn=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,ja="".concat(bn," ").concat(Jn).split(/[\s\n]+/),ca="aria-",Wn="data-";function Ba(de,ue){return de.indexOf(ue)===0}function ho(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,he;ue===!1?he={aria:!0,data:!0,attr:!0}:ue===!0?he={aria:!0}:he=(0,xe.Z)({},ue);var ye={};return Object.keys(de).forEach(function(Be){(he.aria&&(Be==="role"||Ba(Be,ca))||he.data&&Ba(Be,Wn)||he.attr&&ja.includes(Be))&&(ye[Be]=de[Be])}),ye}function Mn(de,ue,he,ye,Be,Oe,Je){de.push({record:ue,indent:he,index:Je});var at=Oe(ue),tt=Be==null?void 0:Be.has(at);if(ue&&Array.isArray(ue[ye])&&tt)for(var yt=0;yt<ue[ye].length;yt+=1)Mn(de,ue[ye][yt],he+1,ye,Be,Oe,yt)}function no(de,ue,he,ye){var Be=se.useMemo(function(){if(he!=null&&he.size){for(var Oe=[],Je=0;Je<(de==null?void 0:de.length);Je+=1){var at=de[Je];Mn(Oe,at,0,ue,he,ye,Je)}return Oe}return de==null?void 0:de.map(function(tt,yt){return{record:tt,indent:0,index:yt}})},[de,ue,he,ye]);return Be}function ot(de){var ue=de.prefixCls,he=de.children,ye=de.component,Be=de.cellComponent,Oe=de.className,Je=de.expanded,at=de.colSpan,tt=de.isEmpty,yt=He(ne,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Ht=yt.scrollbarSize,Lt=yt.fixHeader,rn=yt.fixColumn,on=yt.componentWidth,fn=yt.horizonScroll,Xn=he;return(tt?fn&&on:rn)&&(Xn=se.createElement("div",{style:{width:on-(Lt?Ht:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(ue,"-expanded-row-fixed")},Xn)),se.createElement(ye,{className:Oe,style:{display:Je?null:"none"}},se.createElement(_t,{component:Be,prefixCls:ue,colSpan:at},Xn))}var Xt=ot;function $t(de,ue,he,ye){var Be=He(ne,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),Oe=Be.flattenColumns,Je=Be.expandableType,at=Be.expandedKeys,tt=Be.childrenColumnName,yt=Be.onTriggerExpand,Ht=Be.rowExpandable,Lt=Be.onRow,rn=Be.expandRowByClick,on=Be.rowClassName,fn=Je==="nest",Xn=Je==="row"&&(!Ht||Ht(de)),Fn=Xn||fn,ea=at&&at.has(ue),Zn=tt&&de&&de[tt],la=ut(yt),Ra=Lt==null?void 0:Lt(de,he),Qa=Ra==null?void 0:Ra.onClick,Ma=function(Na){rn&&Fn&&yt(de,Na);for(var ua=arguments.length,ia=new Array(ua>1?ua-1:0),Da=1;Da<ua;Da++)ia[Da-1]=arguments[Da];Qa==null||Qa.apply(void 0,[Na].concat(ia))},fr;typeof on=="string"?fr=on:typeof on=="function"&&(fr=on(de,he,ye));var Dr=zn(Oe);return(0,xe.Z)((0,xe.Z)({},Be),{},{columnsKey:Dr,nestExpandable:fn,expanded:ea,hasNestChildren:Zn,record:de,onTriggerExpand:la,rowSupportExpand:Xn,expandable:Fn,rowProps:(0,xe.Z)((0,xe.Z)({},Ra),{},{className:Ye()(fr,Ra==null?void 0:Ra.className),onClick:Ma})})}function Qt(de,ue,he,ye,Be){var Oe=de.record,Je=de.prefixCls,at=de.columnsKey,tt=de.fixedInfoList,yt=de.expandIconColumnIndex,Ht=de.nestExpandable,Lt=de.indentSize,rn=de.expandIcon,on=de.expanded,fn=de.hasNestChildren,Xn=de.onTriggerExpand,Fn=at[he],ea=tt[he],Zn;he===(yt||0)&&Ht&&(Zn=se.createElement(se.Fragment,null,se.createElement("span",{style:{paddingLeft:"".concat(Lt*ye,"px")},className:"".concat(Je,"-row-indent indent-level-").concat(ye)}),rn({prefixCls:Je,expanded:on,expandable:fn,record:Oe,onExpand:Xn})));var la;return ue.onCell&&(la=ue.onCell(Oe,Be)),{key:Fn,fixedInfo:ea,appendCellNode:Zn,additionalCellProps:la||{}}}function $n(de){var ue=de.className,he=de.style,ye=de.record,Be=de.index,Oe=de.renderIndex,Je=de.rowKey,at=de.indent,tt=at===void 0?0:at,yt=de.rowComponent,Ht=de.cellComponent,Lt=de.scopeCellComponent,rn=$t(ye,Je,Be,tt),on=rn.prefixCls,fn=rn.flattenColumns,Xn=rn.expandedRowClassName,Fn=rn.expandedRowRender,ea=rn.rowProps,Zn=rn.expanded,la=rn.rowSupportExpand,Ra=se.useState(!1),Qa=(0,Ie.Z)(Ra,2),Ma=Qa[0],fr=Qa[1];se.useEffect(function(){Zn&&fr(!0)},[Zn]);var Dr=se.createElement(yt,(0,_e.Z)({},ea,{"data-row-key":Je,className:Ye()(ue,"".concat(on,"-row"),"".concat(on,"-row-level-").concat(tt),ea==null?void 0:ea.className),style:(0,xe.Z)((0,xe.Z)({},he),ea==null?void 0:ea.style)}),fn.map(function(ia,Da){var Wa=ia.render,vr=ia.dataIndex,Er=ia.className,Ha=Qt(rn,ia,Da,tt,Be),Or=Ha.key,Kr=Ha.fixedInfo,Mo=Ha.appendCellNode,mo=Ha.additionalCellProps;return se.createElement(_t,(0,_e.Z)({className:Er,ellipsis:ia.ellipsis,align:ia.align,scope:ia.rowScope,component:ia.rowScope?Lt:Ht,prefixCls:on,key:Or,record:ye,index:Be,renderIndex:Oe,dataIndex:vr,render:Wa,shouldCellUpdate:ia.shouldCellUpdate},Kr,{appendNode:Mo,additionalProps:mo}))})),Sa;if(la&&(Ma||Zn)){var Na=Fn(ye,Be,tt+1,Zn),ua=Xn&&Xn(ye,Be,tt);Sa=se.createElement(Xt,{expanded:Zn,className:Ye()("".concat(on,"-expanded-row"),"".concat(on,"-expanded-row-level-").concat(tt+1),ua),prefixCls:on,component:yt,cellComponent:Ht,colSpan:fn.length,isEmpty:!1},Na)}return se.createElement(se.Fragment,null,Dr,Sa)}$n.displayName="BodyRow";var Ut=z($n);function Bn(de){var ue=de.columnKey,he=de.onColumnResize,ye=se.useRef();return se.useEffect(function(){ye.current&&he(ue,ye.current.offsetWidth)},[]),se.createElement(En.Z,{data:ue},se.createElement("td",{ref:ye,style:{padding:0,border:0,height:0}},se.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function dn(de){var ue=de.prefixCls,he=de.columnsKey,ye=de.onColumnResize;return se.createElement("tr",{"aria-hidden":"true",className:"".concat(ue,"-measure-row"),style:{height:0,fontSize:0}},se.createElement(En.Z.Collection,{onBatchResize:function(Oe){Oe.forEach(function(Je){var at=Je.data,tt=Je.size;ye(at,tt.offsetWidth)})}},he.map(function(Be){return se.createElement(Bn,{key:Be,columnKey:Be,onColumnResize:ye})})))}function $a(de){var ue=de.data,he=de.measureColumnWidth,ye=He(ne,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),Be=ye.prefixCls,Oe=ye.getComponent,Je=ye.onColumnResize,at=ye.flattenColumns,tt=ye.getRowKey,yt=ye.expandedKeys,Ht=ye.childrenColumnName,Lt=ye.emptyNode,rn=no(ue,Ht,yt,tt),on=se.useRef({renderWithProps:!1}),fn=Oe(["body","wrapper"],"tbody"),Xn=Oe(["body","row"],"tr"),Fn=Oe(["body","cell"],"td"),ea=Oe(["body","cell"],"th"),Zn;ue.length?Zn=rn.map(function(Ra,Qa){var Ma=Ra.record,fr=Ra.indent,Dr=Ra.index,Sa=tt(Ma,Qa);return se.createElement(Ut,{key:Sa,rowKey:Sa,record:Ma,index:Qa,renderIndex:Dr,rowComponent:Xn,cellComponent:Fn,scopeCellComponent:ea,getRowKey:tt,indent:fr})}):Zn=se.createElement(Xt,{expanded:!0,className:"".concat(Be,"-placeholder"),prefixCls:Be,component:Xn,cellComponent:Fn,colSpan:at.length,isEmpty:!0},Lt);var la=zn(at);return se.createElement(kt.Provider,{value:on.current},se.createElement(fn,{className:"".concat(Be,"-tbody")},he&&se.createElement(dn,{prefixCls:Be,columnsKey:la,onColumnResize:Je}),Zn))}$a.displayName="Body";var Aa=z($a),cr=["expandable"],zr="RC_TABLE_INTERNAL_COL_DEFINE";function co(de){var ue=de.expandable,he=(0,Ca.Z)(de,cr),ye;return"expandable"in de?ye=(0,xe.Z)((0,xe.Z)({},he),ue):ye=he,ye.showExpandColumn===!1&&(ye.expandIconColumnIndex=-1),ye}var gn=["columnType"];function Mi(de){for(var ue=de.colWidths,he=de.columns,ye=de.columCount,Be=[],Oe=ye||he.length,Je=!1,at=Oe-1;at>=0;at-=1){var tt=ue[at],yt=he&&he[at],Ht=yt&&yt[zr];if(tt||Ht||Je){var Lt=Ht||{},rn=Lt.columnType,on=(0,Ca.Z)(Lt,gn);Be.unshift(se.createElement("col",(0,_e.Z)({key:at,style:{width:tt}},on))),Je=!0}}return se.createElement("colgroup",null,Be)}var ei=Mi,qr=ee(74902),Yo=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function On(de,ue){return(0,se.useMemo)(function(){for(var he=[],ye=0;ye<ue;ye+=1){var Be=de[ye];if(Be!==void 0)he[ye]=Be;else return null}return he},[de.join("_"),ue])}var ma=se.forwardRef(function(de,ue){var he=de.className,ye=de.noData,Be=de.columns,Oe=de.flattenColumns,Je=de.colWidths,at=de.columCount,tt=de.stickyOffsets,yt=de.direction,Ht=de.fixHeader,Lt=de.stickyTopOffset,rn=de.stickyBottomOffset,on=de.stickyClassName,fn=de.onScroll,Xn=de.maxContentScroll,Fn=de.children,ea=(0,Ca.Z)(de,Yo),Zn=He(ne,["prefixCls","scrollbarSize","isSticky"]),la=Zn.prefixCls,Ra=Zn.scrollbarSize,Qa=Zn.isSticky,Ma=Qa&&!Ht?0:Ra,fr=se.useRef(null),Dr=se.useCallback(function(Er){Ka(ue,Er),Ka(fr,Er)},[]);se.useEffect(function(){var Er;function Ha(Or){var Kr=Or,Mo=Kr.currentTarget,mo=Kr.deltaX;mo&&(fn({currentTarget:Mo,scrollLeft:Mo.scrollLeft+mo}),Or.preventDefault())}return(Er=fr.current)===null||Er===void 0||Er.addEventListener("wheel",Ha),function(){var Or;(Or=fr.current)===null||Or===void 0||Or.removeEventListener("wheel",Ha)}},[]);var Sa=se.useMemo(function(){return Oe.every(function(Er){return Er.width})},[Oe]),Na=Oe[Oe.length-1],ua={fixed:Na?Na.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(la,"-cell-scrollbar")}}},ia=(0,se.useMemo)(function(){return Ma?[].concat((0,qr.Z)(Be),[ua]):Be},[Ma,Be]),Da=(0,se.useMemo)(function(){return Ma?[].concat((0,qr.Z)(Oe),[ua]):Oe},[Ma,Oe]),Wa=(0,se.useMemo)(function(){var Er=tt.right,Ha=tt.left;return(0,xe.Z)((0,xe.Z)({},tt),{},{left:yt==="rtl"?[].concat((0,qr.Z)(Ha.map(function(Or){return Or+Ma})),[0]):Ha,right:yt==="rtl"?Er:[].concat((0,qr.Z)(Er.map(function(Or){return Or+Ma})),[0]),isSticky:Qa})},[Ma,tt,Qa]),vr=On(Je,at);return se.createElement("div",{style:(0,xe.Z)({overflow:"hidden"},Qa?{top:Lt,bottom:rn}:{}),ref:Dr,className:Ye()(he,(0,Se.Z)({},on,!!on))},se.createElement("table",{style:{tableLayout:"fixed",visibility:ye||vr?null:"hidden"}},(!ye||!Xn||Sa)&&se.createElement(ei,{colWidths:vr?[].concat((0,qr.Z)(vr),[Ma]):[],columCount:at+1,columns:Da}),Fn((0,xe.Z)((0,xe.Z)({},ea),{},{stickyOffsets:Wa,columns:ia,flattenColumns:Da}))))});ma.displayName="FixedHolder";var Va=se.memo(ma);function Un(de){var ue=de.cells,he=de.stickyOffsets,ye=de.flattenColumns,Be=de.rowComponent,Oe=de.cellComponent,Je=de.tdCellComponent,at=de.onHeaderRow,tt=de.index,yt=He(ne,["prefixCls","direction"]),Ht=yt.prefixCls,Lt=yt.direction,rn;at&&(rn=at(ue.map(function(fn){return fn.column}),tt));var on=zn(ue.map(function(fn){return fn.column}));return se.createElement(Be,rn,ue.map(function(fn,Xn){var Fn=fn.column,ea=Pn(fn.colStart,fn.colEnd,ye,he,Lt,Fn),Zn;return Fn&&Fn.onHeaderCell&&(Zn=fn.column.onHeaderCell(Fn)),se.createElement(_t,(0,_e.Z)({},fn,{scope:Fn.title?fn.colSpan>1?"colgroup":"col":null,ellipsis:Fn.ellipsis,align:Fn.align,component:Fn.title?Oe:Je,prefixCls:Ht,key:on[Xn]},ea,{additionalProps:Zn,rowType:"header"}))}))}Un.displayName="HeaderRow";var Wr=Un;function _r(de){var ue=[];function he(Je,at){var tt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;ue[tt]=ue[tt]||[];var yt=at,Ht=Je.filter(Boolean).map(function(Lt){var rn={key:Lt.key,className:Lt.className||"",children:Lt.title,column:Lt,colStart:yt},on=1,fn=Lt.children;return fn&&fn.length>0&&(on=he(fn,yt,tt+1).reduce(function(Xn,Fn){return Xn+Fn},0),rn.hasSubColumns=!0),"colSpan"in Lt&&(on=Lt.colSpan),"rowSpan"in Lt&&(rn.rowSpan=Lt.rowSpan),rn.colSpan=on,rn.colEnd=rn.colStart+on-1,ue[tt].push(rn),yt+=on,on});return Ht}he(de,0);for(var ye=ue.length,Be=function(at){ue[at].forEach(function(tt){!("rowSpan"in tt)&&!tt.hasSubColumns&&(tt.rowSpan=ye-at)})},Oe=0;Oe<ye;Oe+=1)Be(Oe);return ue}function ti(de){var ue=de.stickyOffsets,he=de.columns,ye=de.flattenColumns,Be=de.onHeaderRow,Oe=He(ne,["prefixCls","getComponent"]),Je=Oe.prefixCls,at=Oe.getComponent,tt=se.useMemo(function(){return _r(he)},[he]),yt=at(["header","wrapper"],"thead"),Ht=at(["header","row"],"tr"),Lt=at(["header","cell"],"th"),rn=at(["header","cell"],"td");return se.createElement(yt,{className:"".concat(Je,"-thead")},tt.map(function(on,fn){var Xn=se.createElement(Wr,{key:fn,flattenColumns:ye,cells:on,stickyOffsets:ue,rowComponent:Ht,cellComponent:Lt,tdCellComponent:rn,onHeaderRow:Be,index:fn});return Xn}))}var ni=z(ti);function ai(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=[];return se.Children.forEach(de,function(ye){ye==null&&!ue.keepEmpty||(Array.isArray(ye)?he=he.concat(ai(ye)):(0,ra.isFragment)(ye)&&ye.props?he=he.concat(ai(ye.props.children,ue)):he.push(ye))}),he}function bl(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof ue=="number"?ue:ue.endsWith("%")?de*parseFloat(ue)/100:null}function yi(de,ue){return se.useMemo(function(){if(ue&&ue>0){var he=0,ye=0;de.forEach(function(yt){var Ht=bl(ue,yt.width);Ht?he+=Ht:ye+=1});var Be=ue-he,Oe=ye,Je=Be/ye,at=0,tt=de.map(function(yt){var Ht=(0,xe.Z)({},yt),Lt=bl(ue,Ht.width);if(Lt)Ht.width=Lt;else{var rn=Math.floor(Je);Ht.width=Oe===1?Be:rn,Be-=rn,Oe-=1}return at+=Ht.width,Ht});return[tt,at]}return[de,ue]},[de,ue])}var jl=["children"],$l=["fixed"];function wi(de){return ai(de).filter(function(ue){return se.isValidElement(ue)}).map(function(ue){var he=ue.key,ye=ue.props,Be=ye.children,Oe=(0,Ca.Z)(ye,jl),Je=(0,xe.Z)({key:he},Oe);return Be&&(Je.children=wi(Be)),Je})}function Xo(de){var ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return de.filter(function(he){return he&&(0,be.Z)(he)==="object"}).reduce(function(he,ye,Be){var Oe=ye.fixed,Je=Oe===!0?"left":Oe,at="".concat(ue,"-").concat(Be),tt=ye.children;return tt&&tt.length>0?[].concat((0,qr.Z)(he),(0,qr.Z)(Xo(tt,at).map(function(yt){return(0,xe.Z)({fixed:Je},yt)}))):[].concat((0,qr.Z)(he),[(0,xe.Z)((0,xe.Z)({key:at},ye),{},{fixed:Je})])},[])}function hl(de){for(var ue=!0,he=0;he<de.length;he+=1){var ye=de[he];if(ue&&ye.fixed!=="left")ue=!1;else if(!ue&&ye.fixed==="left"){warning(!1,"Index ".concat(he-1," of `columns` missing `fixed='left'` prop."));break}}for(var Be=!0,Oe=de.length-1;Oe>=0;Oe-=1){var Je=de[Oe];if(Be&&Je.fixed!=="right")Be=!1;else if(!Be&&Je.fixed==="right"){warning(!1,"Index ".concat(Oe+1," of `columns` missing `fixed='right'` prop."));break}}}function Cl(de){return de.map(function(ue){var he=ue.fixed,ye=(0,Ca.Z)(ue,$l),Be=he;return he==="left"?Be="right":he==="right"&&(Be="left"),(0,xe.Z)({fixed:Be},ye)})}function Fl(de,ue){var he=de.prefixCls,ye=de.columns,Be=de.children,Oe=de.expandable,Je=de.expandedKeys,at=de.columnTitle,tt=de.getRowKey,yt=de.onTriggerExpand,Ht=de.expandIcon,Lt=de.rowExpandable,rn=de.expandIconColumnIndex,on=de.direction,fn=de.expandRowByClick,Xn=de.columnWidth,Fn=de.fixed,ea=de.scrollWidth,Zn=se.useMemo(function(){return ye||wi(Be)},[ye,Be]),la=se.useMemo(function(){if(Oe){var Na,ua=Zn.slice();if(!ua.includes(ae)){var ia=rn||0;ia>=0&&ua.splice(ia,0,ae)}var Da=ua.indexOf(ae);ua=ua.filter(function(Ha,Or){return Ha!==ae||Or===Da});var Wa=Zn[Da],vr;(Fn==="left"||Fn)&&!rn?vr="left":(Fn==="right"||Fn)&&rn===Zn.length?vr="right":vr=Wa?Wa.fixed:null;var Er=(Na={},(0,Se.Z)(Na,zr,{className:"".concat(he,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,Se.Z)(Na,"title",at),(0,Se.Z)(Na,"fixed",vr),(0,Se.Z)(Na,"className","".concat(he,"-row-expand-icon-cell")),(0,Se.Z)(Na,"width",Xn),(0,Se.Z)(Na,"render",function(Or,Kr,Mo){var mo=tt(Kr,Mo),gi=Je.has(mo),fi=Lt?Lt(Kr):!0,Fr=Ht({prefixCls:he,expanded:gi,expandable:fi,record:Kr,onExpand:yt});return fn?se.createElement("span",{onClick:function(ta){return ta.stopPropagation()}},Fr):Fr}),Na);return ua.map(function(Ha){return Ha===ae?Er:Ha})}return Zn.filter(function(Ha){return Ha!==ae})},[Oe,Zn,tt,Je,Ht,on]),Ra=se.useMemo(function(){var Na=la;return ue&&(Na=ue(Na)),Na.length||(Na=[{render:function(){return null}}]),Na},[ue,la,on]),Qa=se.useMemo(function(){return on==="rtl"?Cl(Xo(Ra)):Xo(Ra)},[Ra,on,ea]),Ma=yi(Qa,ea),fr=(0,Ie.Z)(Ma,2),Dr=fr[0],Sa=fr[1];return[Ra,Dr,Sa]}var tl=Fl;function ki(de){var ue,he=de.prefixCls,ye=de.record,Be=de.onExpand,Oe=de.expanded,Je=de.expandable,at="".concat(he,"-row-expand-icon");if(!Je)return se.createElement("span",{className:Ye()(at,"".concat(he,"-row-spaced"))});var tt=function(Ht){Be(ye,Ht),Ht.stopPropagation()};return se.createElement("span",{className:Ye()(at,(ue={},(0,Se.Z)(ue,"".concat(he,"-row-expanded"),Oe),(0,Se.Z)(ue,"".concat(he,"-row-collapsed"),!Oe),ue)),onClick:tt})}function pl(de,ue,he){var ye=[];function Be(Oe){(Oe||[]).forEach(function(Je,at){ye.push(ue(Je,at)),Be(Je[he])})}return Be(de),ye}function kr(de,ue,he){var ye=co(de),Be=ye.expandIcon,Oe=ye.expandedRowKeys,Je=ye.defaultExpandedRowKeys,at=ye.defaultExpandAllRows,tt=ye.expandedRowRender,yt=ye.onExpand,Ht=ye.onExpandedRowsChange,Lt=ye.childrenColumnName,rn=Be||ki,on=Lt||"children",fn=se.useMemo(function(){return tt?"row":de.expandable&&de.internalHooks===me&&de.expandable.__PARENT_RENDER_ICON__||ue.some(function(Qa){return Qa&&(0,be.Z)(Qa)==="object"&&Qa[on]})?"nest":!1},[!!tt,ue]),Xn=se.useState(function(){return Je||(at?pl(ue,he,on):[])}),Fn=(0,Ie.Z)(Xn,2),ea=Fn[0],Zn=Fn[1],la=se.useMemo(function(){return new Set(Oe||ea||[])},[Oe,ea]),Ra=se.useCallback(function(Qa){var Ma=he(Qa,ue.indexOf(Qa)),fr,Dr=la.has(Ma);Dr?(la.delete(Ma),fr=(0,qr.Z)(la)):fr=[].concat((0,qr.Z)(la),[Ma]),Zn(fr),yt&&yt(!Dr,Qa),Ht&&Ht(fr)},[he,la,ue,yt,Ht]);return[ye,fn,la,rn,on,Ra]}function vt(de,ue,he,ye){var Be=de.map(function(Oe,Je){return Pn(Je,Je,de,ue,he,ye==null?void 0:ye[Je])});return Zt(function(){return Be},[Be],function(Oe,Je){return!Ft(Oe,Je)})}function At(de){var ue=(0,se.useRef)(de),he=(0,se.useState)({}),ye=(0,Ie.Z)(he,2),Be=ye[1],Oe=(0,se.useRef)(null),Je=(0,se.useRef)([]);function at(tt){Je.current.push(tt);var yt=Promise.resolve();Oe.current=yt,yt.then(function(){if(Oe.current===yt){var Ht=Je.current,Lt=ue.current;Je.current=[],Ht.forEach(function(rn){ue.current=rn(ue.current)}),Oe.current=null,Lt!==ue.current&&Be({})}})}return(0,se.useEffect)(function(){return function(){Oe.current=null}},[]),[ue.current,at]}function Jt(de){var ue=(0,se.useRef)(de||null),he=(0,se.useRef)();function ye(){window.clearTimeout(he.current)}function Be(Je){ue.current=Je,ye(),he.current=window.setTimeout(function(){ue.current=null,he.current=void 0},100)}function Oe(){return ue.current}return(0,se.useEffect)(function(){return ye},[]),[Be,Oe]}function Ne(){var de=se.useState(-1),ue=(0,Ie.Z)(de,2),he=ue[0],ye=ue[1],Be=se.useState(-1),Oe=(0,Ie.Z)(Be,2),Je=Oe[0],at=Oe[1],tt=se.useCallback(function(yt,Ht){ye(yt),at(Ht)},[]);return[he,Je,tt]}var Vt=Bt()?window:null;function An(de,ue){var he=(0,be.Z)(de)==="object"?de:{},ye=he.offsetHeader,Be=ye===void 0?0:ye,Oe=he.offsetSummary,Je=Oe===void 0?0:Oe,at=he.offsetScroll,tt=at===void 0?0:at,yt=he.getContainer,Ht=yt===void 0?function(){return Vt}:yt,Lt=Ht()||Vt;return se.useMemo(function(){var rn=!!de;return{isSticky:rn,stickyClassName:rn?"".concat(ue,"-sticky-holder"):"",offsetHeader:Be,offsetSummary:Je,offsetScroll:tt,container:Lt}},[tt,Be,Je,ue,Lt])}function wn(de,ue,he){var ye=(0,se.useMemo)(function(){for(var Be=[],Oe=[],Je=0,at=0,tt=0;tt<ue;tt+=1)if(he==="rtl"){Oe[tt]=at,at+=de[tt]||0;var yt=ue-tt-1;Be[yt]=Je,Je+=de[yt]||0}else{Be[tt]=Je,Je+=de[tt]||0;var Ht=ue-tt-1;Oe[Ht]=at,at+=de[Ht]||0}return{left:Be,right:Oe}},[de,ue,he]);return ye}var Pt=wn;function Kt(de){var ue=de.className,he=de.children;return se.createElement("div",{className:ue},he)}var It=Kt;function kn(de,ue,he,ye){var Be=Te.unstable_batchedUpdates?function(Je){Te.unstable_batchedUpdates(he,Je)}:he;return de!=null&&de.addEventListener&&de.addEventListener(ue,Be,ye),{remove:function(){de!=null&&de.removeEventListener&&de.removeEventListener(ue,Be,ye)}}}var sa=/margin|padding|width|height|max|min|offset/,xa={left:!0,top:!0},ha={cssFloat:1,styleFloat:1,float:1};function Ia(de){return de.nodeType===1?de.ownerDocument.defaultView.getComputedStyle(de,null):{}}function rr(de,ue,he){if(ue=ue.toLowerCase(),he==="auto"){if(ue==="height")return de.offsetHeight;if(ue==="width")return de.offsetWidth}return ue in xa||(xa[ue]=sa.test(ue)),xa[ue]?parseFloat(he)||0:he}function xn(de,ue){var he=arguments.length,ye=Ia(de);return ue=ha[ue]?"cssFloat"in de.style?"cssFloat":"styleFloat":ue,he===1?ye:rr(de,ue,ye[ue]||de.style[ue])}function Dt(de,ue,he){var ye=arguments.length;if(ue=ha[ue]?"cssFloat"in de.style?"cssFloat":"styleFloat":ue,ye===3)return typeof he=="number"&&sa.test(ue)&&(he="".concat(he,"px")),de.style[ue]=he,he;for(var Be in ue)ue.hasOwnProperty(Be)&&Dt(de,Be,ue[Be]);return Ia(de)}function pn(de){return de===document.body?document.documentElement.clientWidth:de.offsetWidth}function Cn(de){return de===document.body?window.innerHeight||document.documentElement.clientHeight:de.offsetHeight}function oa(){var de=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),ue=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:de,height:ue}}function Fa(){var de=document.documentElement.clientWidth,ue=window.innerHeight||document.documentElement.clientHeight;return{width:de,height:ue}}function Xa(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function yr(de){var ue=de.getBoundingClientRect(),he=document.documentElement;return{left:ue.left+(window.pageXOffset||he.scrollLeft)-(he.clientLeft||document.body.clientLeft||0),top:ue.top+(window.pageYOffset||he.scrollTop)-(he.clientTop||document.body.clientTop||0)}}var sr=function(ue,he){var ye,Be,Oe=ue.scrollBodyRef,Je=ue.onScroll,at=ue.offsetScroll,tt=ue.container,yt=He(ne,"prefixCls"),Ht=((ye=Oe.current)===null||ye===void 0?void 0:ye.scrollWidth)||0,Lt=((Be=Oe.current)===null||Be===void 0?void 0:Be.clientWidth)||0,rn=Ht&&Lt*(Lt/Ht),on=se.useRef(),fn=At({scrollLeft:0,isHiddenScrollBar:!1}),Xn=(0,Ie.Z)(fn,2),Fn=Xn[0],ea=Xn[1],Zn=se.useRef({delta:0,x:0}),la=se.useState(!1),Ra=(0,Ie.Z)(la,2),Qa=Ra[0],Ma=Ra[1],fr=function(){Ma(!1)},Dr=function(Da){Da.persist(),Zn.current.delta=Da.pageX-Fn.scrollLeft,Zn.current.x=0,Ma(!0),Da.preventDefault()},Sa=function(Da){var Wa,vr=Da||((Wa=window)===null||Wa===void 0?void 0:Wa.event),Er=vr.buttons;if(!Qa||Er===0){Qa&&Ma(!1);return}var Ha=Zn.current.x+Da.pageX-Zn.current.x-Zn.current.delta;Ha<=0&&(Ha=0),Ha+rn>=Lt&&(Ha=Lt-rn),Je({scrollLeft:Ha/Lt*(Ht+2)}),Zn.current.x=Da.pageX},Na=function(){if(Oe.current){var Da=yr(Oe.current).top,Wa=Da+Oe.current.offsetHeight,vr=tt===window?document.documentElement.scrollTop+window.innerHeight:yr(tt).top+tt.clientHeight;Wa-dt()<=vr||Da>=vr-at?ea(function(Er){return(0,xe.Z)((0,xe.Z)({},Er),{},{isHiddenScrollBar:!0})}):ea(function(Er){return(0,xe.Z)((0,xe.Z)({},Er),{},{isHiddenScrollBar:!1})})}},ua=function(Da){ea(function(Wa){return(0,xe.Z)((0,xe.Z)({},Wa),{},{scrollLeft:Da/Ht*Lt||0})})};return se.useImperativeHandle(he,function(){return{setScrollLeft:ua}}),se.useEffect(function(){var ia=kn(document.body,"mouseup",fr,!1),Da=kn(document.body,"mousemove",Sa,!1);return Na(),function(){ia.remove(),Da.remove()}},[rn,Qa]),se.useEffect(function(){var ia=kn(tt,"scroll",Na,!1),Da=kn(window,"resize",Na,!1);return function(){ia.remove(),Da.remove()}},[tt]),se.useEffect(function(){Fn.isHiddenScrollBar||ea(function(ia){var Da=Oe.current;return Da?(0,xe.Z)((0,xe.Z)({},ia),{},{scrollLeft:Da.scrollLeft/Da.scrollWidth*Da.clientWidth}):ia})},[Fn.isHiddenScrollBar]),Ht<=Lt||!rn||Fn.isHiddenScrollBar?null:se.createElement("div",{style:{height:dt(),width:Lt,bottom:at},className:"".concat(yt,"-sticky-scroll")},se.createElement("div",{onMouseDown:Dr,ref:on,className:Ye()("".concat(yt,"-sticky-scroll-bar"),(0,Se.Z)({},"".concat(yt,"-sticky-scroll-bar-active"),Qa)),style:{width:"".concat(rn,"px"),transform:"translate3d(".concat(Fn.scrollLeft,"px, 0, 0)")}}))},_n=se.forwardRef(sr);function Pa(de){return null}var pa=Pa;function Za(de){return null}var dr=Za,Hr="rc-table",ro=[],Eo={};function wo(){return"No Data"}function Lo(de){var ue,he=(0,xe.Z)({rowKey:"key",prefixCls:Hr,emptyText:wo},de),ye=he.prefixCls,Be=he.className,Oe=he.rowClassName,Je=he.style,at=he.data,tt=he.rowKey,yt=he.scroll,Ht=he.tableLayout,Lt=he.direction,rn=he.title,on=he.footer,fn=he.summary,Xn=he.caption,Fn=he.id,ea=he.showHeader,Zn=he.components,la=he.emptyText,Ra=he.onRow,Qa=he.onHeaderRow,Ma=he.internalHooks,fr=he.transformColumns,Dr=he.internalRefs,Sa=he.tailor,Na=he.sticky,ua=at||ro,ia=!!ua.length,Da=Ma===me,Wa=se.useCallback(function(xr,Ro){return Rn(Zn,xr)||Ro},[Zn]),vr=se.useMemo(function(){return typeof tt=="function"?tt:function(xr){var Ro=xr&&xr[tt];return Ro}},[tt]),Er=Wa(["body"]),Ha=Ne(),Or=(0,Ie.Z)(Ha,3),Kr=Or[0],Mo=Or[1],mo=Or[2],gi=kr(he,ua,vr),fi=(0,Ie.Z)(gi,6),Fr=fi[0],Di=fi[1],ta=fi[2],or=fi[3],jr=fi[4],Io=fi[5],ya=yt==null?void 0:yt.x,Ja=se.useState(0),tr=(0,Ie.Z)(Ja,2),Ua=tr[0],po=tr[1],ir=tl((0,xe.Z)((0,xe.Z)((0,xe.Z)({},he),Fr),{},{expandable:!!Fr.expandedRowRender,columnTitle:Fr.columnTitle,expandedKeys:ta,getRowKey:vr,onTriggerExpand:Io,expandIcon:or,expandIconColumnIndex:Fr.expandIconColumnIndex,direction:Lt,scrollWidth:Da&&Sa&&typeof ya=="number"?ya:null}),Da?fr:null),Ir=(0,Ie.Z)(ir,3),Ao=Ir[0],yo=Ir[1],Ml=Ir[2],Pl=Ml!=null?Ml:ya,Os=se.useMemo(function(){return{columns:Ao,flattenColumns:yo}},[Ao,yo]),Qi=se.useRef(),hs=se.useRef(),xi=se.useRef(),zl=se.useRef(),Cd=se.useRef(),Go=se.useState(!1),Wo=(0,Ie.Z)(Go,2),te=Wo[0],ie=Wo[1],le=se.useState(!1),fe=(0,Ie.Z)(le,2),ve=fe[0],De=fe[1],Ae=At(new Map),Qe=(0,Ie.Z)(Ae,2),Xe=Qe[0],gt=Qe[1],Yt=zn(yo),mt=Yt.map(function(xr){return Xe.get(xr)}),St=se.useMemo(function(){return mt},[mt.join("_")]),bt=Pt(St,yo.length,Lt),Nt=yt&&ba(yt.y),rt=yt&&ba(Pl)||!!Fr.fixed,Et=rt&&yo.some(function(xr){var Ro=xr.fixed;return Ro}),qt=se.useRef(),Dn=An(Na,ye),cn=Dn.isSticky,ln=Dn.offsetHeader,qn=Dn.offsetSummary,an=Dn.offsetScroll,sn=Dn.stickyClassName,wa=Dn.container,na=se.useMemo(function(){return fn==null?void 0:fn(ua)},[fn,ua]),La=(Nt||cn)&&se.isValidElement(na)&&na.type===Kn&&na.props.fixed,ga,nr,wr;Nt&&(nr={overflowY:"scroll",maxHeight:yt.y}),rt&&(ga={overflowX:"auto"},Nt||(nr={overflowY:"hidden"}),wr={width:Pl===!0?"auto":Pl,minWidth:"100%"});var Vr=se.useCallback(function(xr,Ro){Ln(Qi.current)&&gt(function(oi){if(oi.get(xr)!==Ro){var $i=new Map(oi);return $i.set(xr,Ro),$i}return oi})},[]),ar=Jt(null),lr=(0,Ie.Z)(ar,2),ka=lr[0],Yr=lr[1];function Sr(xr,Ro){Ro&&(typeof Ro=="function"?Ro(xr):Ro.scrollLeft!==xr&&(Ro.scrollLeft=xr,Ro.scrollLeft!==xr&&setTimeout(function(){Ro.scrollLeft=xr},0)))}var Lr=ut(function(xr){var Ro=xr.currentTarget,oi=xr.scrollLeft,$i=Lt==="rtl",Vo=typeof oi=="number"?oi:Ro.scrollLeft,qi=Ro||Eo;if(!Yr()||Yr()===qi){var Ri;ka(qi),Sr(Vo,hs.current),Sr(Vo,xi.current),Sr(Vo,Cd.current),Sr(Vo,(Ri=qt.current)===null||Ri===void 0?void 0:Ri.setScrollLeft)}var dl=Ro||hs.current;if(dl){var ml=dl.scrollWidth,Hi=dl.clientWidth;if(ml===Hi){ie(!1),De(!1);return}$i?(ie(-Vo<ml-Hi),De(-Vo>0)):(ie(Vo>0),De(Vo<ml-Hi))}}),Bo=function(){rt&&xi.current?Lr({currentTarget:xi.current}):(ie(!1),De(!1))},To=function(Ro){var oi=Ro.width;oi!==Ua&&(Bo(),po(Qi.current?Qi.current.offsetWidth:oi))},Uo=se.useRef(!1);se.useEffect(function(){Uo.current&&Bo()},[rt,at,Ao.length]),se.useEffect(function(){Uo.current=!0},[]);var Pi=se.useState(0),No=(0,Ie.Z)(Pi,2),ci=No[0],io=No[1],vo=se.useState(!0),Fo=(0,Ie.Z)(vo,2),ui=Fo[0],mi=Fo[1];se.useEffect(function(){(!Sa||!Da)&&(xi.current instanceof Element?io(jt(xi.current).width):io(jt(zl.current).width)),mi(Tn("position","sticky"))},[]),se.useEffect(function(){Da&&Dr&&(Dr.body.current=xi.current)});var Ki=se.useCallback(function(xr){return se.createElement(se.Fragment,null,se.createElement(ni,xr),La==="top"&&se.createElement(tn,xr,na))},[La,na]),vi=se.useCallback(function(xr){return se.createElement(tn,xr,na)},[na]),Cr=Wa(["table"],"table"),Zo=se.useMemo(function(){return Ht||(Et?Pl==="max-content"?"auto":"fixed":Nt||cn||yo.some(function(xr){var Ro=xr.ellipsis;return Ro})?"fixed":"auto")},[Nt,Et,yo,Ht,cn]),bo,Qr={colWidths:St,columCount:yo.length,stickyOffsets:bt,onHeaderRow:Qa,fixHeader:Nt,scroll:yt},_a=se.useMemo(function(){return ia?null:typeof la=="function"?la():la},[ia,la]),ao=se.createElement(Aa,{data:ua,measureColumnWidth:Nt||rt||cn}),Ko=se.createElement(ei,{colWidths:yo.map(function(xr){var Ro=xr.width;return Ro}),columns:yo}),Ji=Xn!=null?se.createElement("caption",{className:"".concat(ye,"-caption")},Xn):void 0,fl=ho(he,{data:!0}),zi=ho(he,{aria:!0});if(Nt||cn){var as;typeof Er=="function"?(as=Er(ua,{scrollbarSize:ci,ref:xi,onScroll:Lr}),Qr.colWidths=yo.map(function(xr,Ro){var oi=xr.width,$i=Ro===yo.length-1?oi-ci:oi;return typeof $i=="number"&&!Number.isNaN($i)?$i:0})):as=se.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},ga),nr),onScroll:Lr,ref:xi,className:Ye()("".concat(ye,"-body"))},se.createElement(Cr,(0,_e.Z)({style:(0,xe.Z)((0,xe.Z)({},wr),{},{tableLayout:Zo})},zi),Ji,Ko,ao,!La&&na&&se.createElement(tn,{stickyOffsets:bt,flattenColumns:yo,columns:Ao},na)));var ys=(0,xe.Z)((0,xe.Z)((0,xe.Z)({noData:!ua.length,maxContentScroll:rt&&Pl==="max-content"},Qr),Os),{},{direction:Lt,stickyClassName:sn,onScroll:Lr});bo=se.createElement(se.Fragment,null,ea!==!1&&se.createElement(Va,(0,_e.Z)({},ys,{stickyTopOffset:ln,className:"".concat(ye,"-header"),ref:hs}),Ki),as,La&&La!=="top"&&se.createElement(Va,(0,_e.Z)({},ys,{stickyBottomOffset:qn,className:"".concat(ye,"-summary"),ref:Cd}),vi),cn&&se.createElement(_n,{ref:qt,offsetScroll:an,scrollBodyRef:xi,onScroll:Lr,container:wa}))}else bo=se.createElement("div",{style:(0,xe.Z)((0,xe.Z)({},ga),nr),className:Ye()("".concat(ye,"-content")),onScroll:Lr,ref:xi},se.createElement(Cr,(0,_e.Z)({style:(0,xe.Z)((0,xe.Z)({},wr),{},{tableLayout:Zo})},zi),Ji,Ko,ea!==!1&&se.createElement(ni,(0,_e.Z)({},Qr,Os)),ao,na&&se.createElement(tn,{stickyOffsets:bt,flattenColumns:yo,columns:Ao},na)));var sl=se.createElement("div",(0,_e.Z)({className:Ye()(ye,Be,(ue={},(0,Se.Z)(ue,"".concat(ye,"-rtl"),Lt==="rtl"),(0,Se.Z)(ue,"".concat(ye,"-ping-left"),te),(0,Se.Z)(ue,"".concat(ye,"-ping-right"),ve),(0,Se.Z)(ue,"".concat(ye,"-layout-fixed"),Ht==="fixed"),(0,Se.Z)(ue,"".concat(ye,"-fixed-header"),Nt),(0,Se.Z)(ue,"".concat(ye,"-fixed-column"),Et),(0,Se.Z)(ue,"".concat(ye,"-scroll-horizontal"),rt),(0,Se.Z)(ue,"".concat(ye,"-has-fix-left"),yo[0]&&yo[0].fixed),(0,Se.Z)(ue,"".concat(ye,"-has-fix-right"),yo[yo.length-1]&&yo[yo.length-1].fixed==="right"),ue)),style:Je,id:Fn,ref:Qi},fl),rn&&se.createElement(It,{className:"".concat(ye,"-title")},rn(ua)),se.createElement("div",{ref:zl,className:"".concat(ye,"-container")},bo),on&&se.createElement(It,{className:"".concat(ye,"-footer")},on(ua)));rt&&(sl=se.createElement(En.Z,{onResize:To},sl));var Xi=vt(yo,bt,Lt,Ao),ji=se.useMemo(function(){return{scrollX:Pl,prefixCls:ye,getComponent:Wa,scrollbarSize:ci,direction:Lt,fixedInfoList:Xi,isSticky:cn,supportSticky:ui,componentWidth:Ua,fixHeader:Nt,fixColumn:Et,horizonScroll:rt,tableLayout:Zo,rowClassName:Oe,expandedRowClassName:Fr.expandedRowClassName,expandIcon:or,expandableType:Di,expandRowByClick:Fr.expandRowByClick,expandedRowRender:Fr.expandedRowRender,onTriggerExpand:Io,expandIconColumnIndex:Fr.expandIconColumnIndex,indentSize:Fr.indentSize,allColumnsFixedLeft:yo.every(function(xr){return xr.fixed==="left"}),emptyNode:_a,columns:Ao,flattenColumns:yo,onColumnResize:Vr,hoverStartRow:Kr,hoverEndRow:Mo,onHover:mo,rowExpandable:Fr.rowExpandable,onRow:Ra,getRowKey:vr,expandedKeys:ta,childrenColumnName:jr}},[Pl,ye,Wa,ci,Lt,Xi,cn,ui,Ua,Nt,Et,rt,Zo,Oe,Fr.expandedRowClassName,or,Di,Fr.expandRowByClick,Fr.expandedRowRender,Io,Fr.expandIconColumnIndex,Fr.indentSize,_a,Ao,yo,Vr,Kr,Mo,mo,Fr.rowExpandable,Ra,vr,ta,jr]);return se.createElement(ne.Provider,{value:ji},sl)}function Oi(de){return E(Lo,de)}var xl=Oi();xl.EXPAND_COLUMN=ae,xl.INTERNAL_HOOKS=me,xl.Column=pa,xl.ColumnGroup=dr,xl.Summary=We;var Wl=xl,Rl=ee(73299),Sl=je(null),Li=je(null);function is(de,ue,he){var ye=ue||1;return he[de+ye]-(he[de]||0)}function Ul(de){var ue=de.rowInfo,he=de.column,ye=de.colIndex,Be=de.indent,Oe=de.index,Je=de.renderIndex,at=de.record,tt=de.style,yt=de.className,Ht=de.inverse,Lt=de.getHeight,rn=he.render,on=he.dataIndex,fn=he.className,Xn=he.width,Fn=He(Li,["columnsOffset"]),ea=Fn.columnsOffset,Zn=Qt(ue,he,ye,Be,Oe),la=Zn.key,Ra=Zn.fixedInfo,Qa=Zn.appendCellNode,Ma=Zn.additionalCellProps,fr=Ma.style,Dr=Ma.colSpan,Sa=Dr===void 0?1:Dr,Na=Ma.rowSpan,ua=Na===void 0?1:Na,ia=ye-1,Da=is(ia,Sa,ea),Wa=Sa>1?Xn-Da:0,vr=(0,xe.Z)((0,xe.Z)((0,xe.Z)({},fr),tt),{},{flex:"0 0 ".concat(Da,"px"),width:"".concat(Da,"px"),marginRight:Wa,pointerEvents:"auto"}),Er=se.useMemo(function(){return Ht?ua<=1:Sa===0||ua===0||ua>1},[ua,Sa,Ht]);Er?vr.visibility="hidden":Ht&&(vr.height=Lt==null?void 0:Lt(ua));var Ha=Er?function(){return null}:rn,Or={};return(ua===0||Sa===0)&&(Or.rowSpan=1,Or.colSpan=1),se.createElement(_t,(0,_e.Z)({className:Ye()(fn,yt),ellipsis:he.ellipsis,align:he.align,scope:he.rowScope,component:"div",prefixCls:ue.prefixCls,key:la,record:at,index:Oe,renderIndex:Je,dataIndex:on,render:Ha,shouldCellUpdate:he.shouldCellUpdate},Ra,{appendNode:Qa,additionalProps:(0,xe.Z)((0,xe.Z)({},Ma),{},{style:vr},Or)}))}var ls=Ul,zs=["data","index","className","rowKey","style","extra","getHeight"],kl=se.forwardRef(function(de,ue){var he=de.data,ye=de.index,Be=de.className,Oe=de.rowKey,Je=de.style,at=de.extra,tt=de.getHeight,yt=(0,Ca.Z)(de,zs),Ht=he.record,Lt=he.indent,rn=he.index,on=He(ne,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),fn=on.scrollX,Xn=on.flattenColumns,Fn=on.prefixCls,ea=on.fixColumn,Zn=on.componentWidth,la=$t(Ht,Oe,ye,Lt),Ra=la.rowSupportExpand,Qa=la.expanded,Ma=la.rowProps,fr=la.expandedRowRender,Dr=la.expandedRowClassName,Sa;if(Ra&&Qa){var Na=fr(Ht,ye,Lt+1,Qa),ua=Dr==null?void 0:Dr(Ht,ye,Lt),ia={};ea&&(ia={style:(0,Se.Z)({},"--virtual-width","".concat(Zn,"px"))});var Da="".concat(Fn,"-expanded-row-cell");Sa=se.createElement("div",{className:Ye()("".concat(Fn,"-expanded-row"),"".concat(Fn,"-expanded-row-level-").concat(Lt+1),ua)},se.createElement(_t,{component:"div",prefixCls:Fn,className:Ye()(Da,(0,Se.Z)({},"".concat(Da,"-fixed"),ea)),additionalProps:ia},Na))}var Wa=(0,xe.Z)((0,xe.Z)({},Je),{},{width:fn});at&&(Wa.position="absolute",Wa.pointerEvents="none");var vr=se.createElement("div",(0,_e.Z)({},Ma,yt,{ref:Ra?null:ue,className:Ye()(Be,"".concat(Fn,"-row"),Ma==null?void 0:Ma.className,(0,Se.Z)({},"".concat(Fn,"-row-extra"),at)),style:(0,xe.Z)((0,xe.Z)({},Wa),Ma==null?void 0:Ma.style)}),Xn.map(function(Er,Ha){return se.createElement(ls,{key:Ha,rowInfo:la,column:Er,colIndex:Ha,indent:Lt,index:ye,renderIndex:rn,record:Ht,inverse:at,getHeight:tt})}));return Ra?se.createElement("div",{ref:ue},vr,Sa):vr}),Hs=z(kl),Vl=Hs,Dd=se.forwardRef(function(de,ue){var he=de.data,ye=de.onScroll,Be=He(ne,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),Oe=Be.flattenColumns,Je=Be.onColumnResize,at=Be.getRowKey,tt=Be.expandedKeys,yt=Be.prefixCls,Ht=Be.childrenColumnName,Lt=Be.emptyNode,rn=Be.scrollX,on=He(Sl),fn=on.scrollY,Xn=on.listItemHeight,Fn=se.useRef(),ea=no(he,Ht,tt,at),Zn=se.useMemo(function(){var Sa=0;return Oe.map(function(Na){var ua=Na.width,ia=Na.key;return Sa+=ua,[ia,ua,Sa]})},[Oe]),la=se.useMemo(function(){return Zn.map(function(Sa){return Sa[2]})},[Zn]);se.useEffect(function(){Zn.forEach(function(Sa){var Na=(0,Ie.Z)(Sa,2),ua=Na[0],ia=Na[1];Je(ua,ia)})},[Zn]),se.useImperativeHandle(ue,function(){var Sa={};return Object.defineProperty(Sa,"scrollLeft",{get:function(){var ua;return((ua=Fn.current)===null||ua===void 0?void 0:ua.getScrollInfo().x)||0},set:function(ua){var ia;(ia=Fn.current)===null||ia===void 0||ia.scrollTo({left:ua})}}),Sa});var Ra=function(Na,ua){var ia,Da=(ia=ea[ua])===null||ia===void 0?void 0:ia.record,Wa=Na.onCell;if(Wa){var vr,Er=Wa(Da,ua);return(vr=Er==null?void 0:Er.rowSpan)!==null&&vr!==void 0?vr:1}return 1},Qa=function(Na){var ua=Na.start,ia=Na.end,Da=Na.getSize,Wa=Na.offsetY;if(ia<0)return null;for(var vr=Oe.filter(function(ya){return Ra(ya,ua)===0}),Er=ua,Ha=function(Ja){if(vr=vr.filter(function(tr){return Ra(tr,Ja)===0}),!vr.length)return Er=Ja,"break"},Or=ua;Or>=0;Or-=1){var Kr=Ha(Or);if(Kr==="break")break}for(var Mo=Oe.filter(function(ya){return Ra(ya,ia)!==1}),mo=ia,gi=function(Ja){if(Mo=Mo.filter(function(tr){return Ra(tr,Ja)!==1}),!Mo.length)return mo=Math.max(Ja-1,ia),"break"},fi=ia;fi<ea.length;fi+=1){var Fr=gi(fi);if(Fr==="break")break}for(var Di=[],ta=function(Ja){var tr=ea[Ja];if(!tr)return"continue";Oe.some(function(Ua){return Ra(Ua,Ja)>1})&&Di.push(Ja)},or=Er;or<=mo;or+=1)var jr=ta(or);var Io=Di.map(function(ya){var Ja=ea[ya],tr=at(Ja.record,ya),Ua=function(Ir){var Ao=ya+Ir-1,yo=at(ea[Ao].record,Ao),Ml=Da(tr,yo);return Ml.bottom-Ml.top},po=Da(tr);return se.createElement(Vl,{key:ya,data:Ja,rowKey:tr,index:ya,style:{top:-Wa+po.top},extra:!0,getHeight:Ua})});return Io},Ma=se.useMemo(function(){return{columnsOffset:la}},[la]),fr="".concat(yt,"-tbody"),Dr;return ea.length?Dr=se.createElement(Rl.Z,{fullHeight:!1,ref:Fn,className:Ye()(fr,"".concat(fr,"-virtual")),height:fn,itemHeight:Xn||24,data:ea,itemKey:function(Na){return at(Na.record)},scrollWidth:rn,onVirtualScroll:function(Na){var ua=Na.x;ye({scrollLeft:ua})},extraRender:Qa},function(Sa,Na,ua){var ia=at(Sa.record,Na);return se.createElement(Vl,(0,_e.Z)({data:Sa,rowKey:ia,index:Na},ua))}):Dr=se.createElement("div",{className:Ye()("".concat(yt,"-placeholder"))},se.createElement(_t,{component:"div",prefixCls:yt},Lt)),se.createElement(Li.Provider,{value:Ma},Dr)}),Ol=z(Dd),Gs=Ol,ps=function(ue,he){var ye=he.ref,Be=he.onScroll;return se.createElement(Gs,{ref:ye,data:ue,onScroll:Be})},ad=100;function bi(de){var ue=de.columns,he=de.scroll,ye=de.prefixCls,Be=ye===void 0?Hr:ye,Oe=de.className,Je=de.listItemHeight,at=he||{},tt=at.x,yt=at.y;typeof tt!="number"&&(tt=((ue||[]).length+1)*ad),typeof yt!="number"&&(yt=500);var Ht=se.useMemo(function(){return{scrollY:yt,listItemHeight:Je}},[yt,Je]);return se.createElement(Sl.Provider,{value:Ht},se.createElement(Wl,(0,_e.Z)({},de,{className:Ye()(Oe,"".concat(Be,"-virtual")),scroll:(0,xe.Z)((0,xe.Z)({},he),{},{x:tt}),components:{body:ps},columns:ue,internalHooks:me,tailor:!0})))}function Ai(de){return E(bi,de)}var il=Ai(),Ds=null;function Md(de){return null}var Ci=Md;function ss(de){return null}var ql=ss,Nr=ee(10366),ds=ee(58375),cs=ee(53124),Ks=ee(88258),Ms=ee(98675),js=ee(25378),Pc=ee(24457),rd=ee(28452),Bs=ee(57953),yc=ee(46605);function ic(de){return function(he){let{prefixCls:ye,onExpand:Be,record:Oe,expanded:Je,expandable:at}=he;const tt=`${ye}-row-expand-icon`;return se.createElement("button",{type:"button",onClick:yt=>{Be(Oe,yt),yt.stopPropagation()},className:Ye()(tt,{[`${tt}-spaced`]:!at,[`${tt}-expanded`]:at&&Je,[`${tt}-collapsed`]:at&&!Je}),"aria-label":Je?de.collapse:de.expand,"aria-expanded":Je})}}var bc=ic;function $s(de,ue){return"key"in de&&de.key!==void 0&&de.key!==null?de.key:de.dataIndex?Array.isArray(de.dataIndex)?de.dataIndex.join("."):de.dataIndex:ue}function cd(de,ue){return ue?`${ue}-${de}`:`${de}`}function ud(de,ue){return typeof de=="function"?de(ue):de}function Cc(de,ue){const he=ud(de,ue);return Object.prototype.toString.call(he)==="[object Object]"?"":he}var lc={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z"}}]},name:"filter",theme:"filled"},xc=lc,sc=ee(74643),Ec=function(ue,he){return se.createElement(sc.Z,(0,_e.Z)({},ue,{ref:he,icon:xc}))},wc=se.forwardRef(Ec),Yd=ee(7699),dc=ee(57838);function Bd(de){const ue=se.useRef(de),he=(0,dc.Z)();return[()=>ue.current,ye=>{ue.current=ye,he()}]}var Lc=ee(71577),gd=ee(84567),Ac=ee(85418),od=ee(32983),Fs=ee(68508),Nc=ee(76529),Qd=ee(78045),Oc=ee(79870),Pe=ee(72395),Re=ee(69677);function ke(de){let{value:ue,onChange:he,filterSearch:ye,tablePrefixCls:Be,locale:Oe}=de;return ye?se.createElement("div",{className:`${Be}-filter-dropdown-search`},se.createElement(Re.default,{prefix:se.createElement(Pe.Z,null),placeholder:Oe.filterSearchPlaceholder,onChange:he,value:ue,htmlSize:1,className:`${Be}-filter-dropdown-search-input`})):null}var it=ke,Tt=ee(92389);const un=de=>{const{keyCode:ue}=de;ue===Tt.Z.ENTER&&de.stopPropagation()};var da=se.forwardRef((de,ue)=>se.createElement("div",{className:de.className,onClick:he=>he.stopPropagation(),onKeyDown:un,ref:ue},de.children));function Ea(de){let ue=[];return(de||[]).forEach(he=>{let{value:ye,children:Be}=he;ue.push(ye),Be&&(ue=[].concat((0,qr.Z)(ue),(0,qr.Z)(Ea(Be))))}),ue}function fa(de){return de.some(ue=>{let{children:he}=ue;return he})}function Ya(de,ue){return typeof ue=="string"||typeof ue=="number"?ue==null?void 0:ue.toString().toLowerCase().includes(de.trim().toLowerCase()):!1}function va(de){let{filters:ue,prefixCls:he,filteredKeys:ye,filterMultiple:Be,searchValue:Oe,filterSearch:Je}=de;return ue.map((at,tt)=>{const yt=String(at.value);if(at.children)return{key:yt||tt,label:at.text,popupClassName:`${he}-dropdown-submenu`,children:va({filters:at.children,prefixCls:he,filteredKeys:ye,filterMultiple:Be,searchValue:Oe,filterSearch:Je})};const Ht=Be?gd.default:Qd.ZP,Lt={key:at.value!==void 0?yt:tt,label:se.createElement(se.Fragment,null,se.createElement(Ht,{checked:ye.includes(yt)}),se.createElement("span",null,at.text))};return Oe.trim()?typeof Je=="function"?Je(Oe,at)?Lt:null:Ya(Oe,at.text)?Lt:null:Lt})}function qa(de){var ue,he;const{tablePrefixCls:ye,prefixCls:Be,column:Oe,dropdownPrefixCls:Je,columnKey:at,filterMultiple:tt,filterMode:yt="menu",filterSearch:Ht=!1,filterState:Lt,triggerFilter:rn,locale:on,children:fn,getPopupContainer:Xn}=de,{filterDropdownOpen:Fn,onFilterDropdownOpenChange:ea,filterResetToDefaultFilteredValue:Zn,defaultFilteredValue:la,filterDropdownVisible:Ra,onFilterDropdownVisibleChange:Qa}=Oe,[Ma,fr]=se.useState(!1),Dr=!!(Lt&&(!((ue=Lt.filteredKeys)===null||ue===void 0)&&ue.length||Lt.forceFiltered)),Sa=ir=>{fr(ir),ea==null||ea(ir),Qa==null||Qa(ir)},Na=(he=Fn!=null?Fn:Ra)!==null&&he!==void 0?he:Ma,ua=Lt==null?void 0:Lt.filteredKeys,[ia,Da]=Bd(ua||[]),Wa=ir=>{let{selectedKeys:Ir}=ir;Da(Ir)},vr=(ir,Ir)=>{let{node:Ao,checked:yo}=Ir;Wa(tt?{selectedKeys:ir}:{selectedKeys:yo&&Ao.key?[Ao.key]:[]})};se.useEffect(()=>{Ma&&Wa({selectedKeys:ua||[]})},[ua]);const[Er,Ha]=se.useState([]),Or=ir=>{Ha(ir)},[Kr,Mo]=se.useState(""),mo=ir=>{const{value:Ir}=ir.target;Mo(Ir)};se.useEffect(()=>{Ma||Mo("")},[Ma]);const gi=ir=>{const Ir=ir&&ir.length?ir:null;if(Ir===null&&(!Lt||!Lt.filteredKeys)||(0,Yd.Z)(Ir,Lt==null?void 0:Lt.filteredKeys,!0))return null;rn({column:Oe,key:at,filteredKeys:Ir})},fi=()=>{Sa(!1),gi(ia())},Fr=function(){let{confirm:ir,closeDropdown:Ir}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};ir&&gi([]),Ir&&Sa(!1),Mo(""),Da(Zn?(la||[]).map(Ao=>String(Ao)):[])},Di=function(){let{closeDropdown:ir}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};ir&&Sa(!1),gi(ia())},ta=ir=>{ir&&ua!==void 0&&Da(ua||[]),Sa(ir),!ir&&!Oe.filterDropdown&&fi()},or=Ye()({[`${Je}-menu-without-submenu`]:!fa(Oe.filters||[])}),jr=ir=>{if(ir.target.checked){const Ir=Ea(Oe==null?void 0:Oe.filters).map(Ao=>String(Ao));Da(Ir)}else Da([])},Io=ir=>{let{filters:Ir}=ir;return(Ir||[]).map((Ao,yo)=>{const Ml=String(Ao.value),Pl={title:Ao.text,key:Ao.value!==void 0?Ml:yo};return Ao.children&&(Pl.children=Io({filters:Ao.children})),Pl})},ya=ir=>{var Ir;return Object.assign(Object.assign({},ir),{text:ir.title,value:ir.key,children:((Ir=ir.children)===null||Ir===void 0?void 0:Ir.map(Ao=>ya(Ao)))||[]})};let Ja;if(typeof Oe.filterDropdown=="function")Ja=Oe.filterDropdown({prefixCls:`${Je}-custom`,setSelectedKeys:ir=>Wa({selectedKeys:ir}),selectedKeys:ia(),confirm:Di,clearFilters:Fr,filters:Oe.filters,visible:Na,close:()=>{Sa(!1)}});else if(Oe.filterDropdown)Ja=Oe.filterDropdown;else{const ir=ia()||[],Ir=()=>(Oe.filters||[]).length===0?se.createElement(od.Z,{image:od.Z.PRESENTED_IMAGE_SIMPLE,description:on.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):yt==="tree"?se.createElement(se.Fragment,null,se.createElement(it,{filterSearch:Ht,value:Kr,onChange:mo,tablePrefixCls:ye,locale:on}),se.createElement("div",{className:`${ye}-filter-dropdown-tree`},tt?se.createElement(gd.default,{checked:ir.length===Ea(Oe.filters).length,indeterminate:ir.length>0&&ir.length<Ea(Oe.filters).length,className:`${ye}-filter-dropdown-checkall`,onChange:jr},on.filterCheckall):null,se.createElement(Oc.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:tt,checkStrictly:!tt,className:`${Je}-menu`,onCheck:vr,checkedKeys:ir,selectedKeys:ir,showIcon:!1,treeData:Io({filters:Oe.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Kr.trim()?yo=>typeof Ht=="function"?Ht(Kr,ya(yo)):Ya(Kr,yo.title):void 0}))):se.createElement(se.Fragment,null,se.createElement(it,{filterSearch:Ht,value:Kr,onChange:mo,tablePrefixCls:ye,locale:on}),se.createElement(Fs.default,{selectable:!0,multiple:tt,prefixCls:`${Je}-menu`,className:or,onSelect:Wa,onDeselect:Wa,selectedKeys:ir,getPopupContainer:Xn,openKeys:Er,onOpenChange:Or,items:va({filters:Oe.filters||[],filterSearch:Ht,prefixCls:Be,filteredKeys:ia(),filterMultiple:tt,searchValue:Kr})})),Ao=()=>Zn?(0,Yd.Z)((la||[]).map(yo=>String(yo)),ir,!0):ir.length===0;Ja=se.createElement(se.Fragment,null,Ir(),se.createElement("div",{className:`${Be}-dropdown-btns`},se.createElement(Lc.ZP,{type:"link",size:"small",disabled:Ao(),onClick:()=>Fr()},on.filterReset),se.createElement(Lc.ZP,{type:"primary",size:"small",onClick:fi},on.filterConfirm)))}Oe.filterDropdown&&(Ja=se.createElement(Nc.J,{selectable:void 0},Ja));const tr=()=>se.createElement(da,{className:`${Be}-dropdown`},Ja);let Ua;typeof Oe.filterIcon=="function"?Ua=Oe.filterIcon(Dr):Oe.filterIcon?Ua=Oe.filterIcon:Ua=se.createElement(wc,null);const{direction:po}=se.useContext(cs.E_);return se.createElement("div",{className:`${Be}-column`},se.createElement("span",{className:`${ye}-column-title`},fn),se.createElement(Ac.Z,{dropdownRender:tr,trigger:["click"],open:Na,onOpenChange:ta,getPopupContainer:Xn,placement:po==="rtl"?"bottomLeft":"bottomRight"},se.createElement("span",{role:"button",tabIndex:-1,className:Ye()(`${Be}-trigger`,{active:Dr}),onClick:ir=>{ir.stopPropagation()}},Ua)))}var za=qa;function pr(de,ue,he){let ye=[];return(de||[]).forEach((Be,Oe)=>{var Je;const at=cd(Oe,he);if(Be.filters||"filterDropdown"in Be||"onFilter"in Be)if("filteredValue"in Be){let tt=Be.filteredValue;"filterDropdown"in Be||(tt=(Je=tt==null?void 0:tt.map(String))!==null&&Je!==void 0?Je:tt),ye.push({column:Be,key:$s(Be,at),filteredKeys:tt,forceFiltered:Be.filtered})}else ye.push({column:Be,key:$s(Be,at),filteredKeys:ue&&Be.defaultFilteredValue?Be.defaultFilteredValue:void 0,forceFiltered:Be.filtered});"children"in Be&&(ye=[].concat((0,qr.Z)(ye),(0,qr.Z)(pr(Be.children,ue,at))))}),ye}function uo(de,ue,he,ye,Be,Oe,Je,at){return he.map((tt,yt)=>{const Ht=cd(yt,at),{filterMultiple:Lt=!0,filterMode:rn,filterSearch:on}=tt;let fn=tt;if(fn.filters||fn.filterDropdown){const Xn=$s(fn,Ht),Fn=ye.find(ea=>{let{key:Zn}=ea;return Xn===Zn});fn=Object.assign(Object.assign({},fn),{title:ea=>se.createElement(za,{tablePrefixCls:de,prefixCls:`${de}-filter`,dropdownPrefixCls:ue,column:fn,columnKey:Xn,filterState:Fn,filterMultiple:Lt,filterMode:rn,filterSearch:on,triggerFilter:Oe,locale:Be,getPopupContainer:Je},ud(tt.title,ea))})}return"children"in fn&&(fn=Object.assign(Object.assign({},fn),{children:uo(de,ue,fn.children,ye,Be,Oe,Je,Ht)})),fn})}function eo(de){const ue={};return de.forEach(he=>{let{key:ye,filteredKeys:Be,column:Oe}=he;const{filters:Je,filterDropdown:at}=Oe;if(at)ue[ye]=Be||null;else if(Array.isArray(Be)){const tt=Ea(Je);ue[ye]=tt.filter(yt=>Be.includes(String(yt)))}else ue[ye]=null}),ue}function So(de,ue){return ue.reduce((he,ye)=>{const{column:{onFilter:Be,filters:Oe},filteredKeys:Je}=ye;return Be&&Je&&Je.length?he.filter(at=>Je.some(tt=>{const yt=Ea(Oe),Ht=yt.findIndex(rn=>String(rn)===String(tt)),Lt=Ht!==-1?yt[Ht]:tt;return Be(Lt,at)})):he},de)}const Ur=de=>de.flatMap(ue=>"children"in ue?[ue].concat((0,qr.Z)(Ur(ue.children||[]))):[ue]);function br(de){let{prefixCls:ue,dropdownPrefixCls:he,mergedColumns:ye,onFilterChange:Be,getPopupContainer:Oe,locale:Je}=de;const at=se.useMemo(()=>Ur(ye||[]),[ye]),[tt,yt]=se.useState(()=>pr(at,!0)),Ht=se.useMemo(()=>{const fn=pr(at,!1);if(fn.length===0)return fn;let Xn=!0,Fn=!0;if(fn.forEach(ea=>{let{filteredKeys:Zn}=ea;Zn!==void 0?Xn=!1:Fn=!1}),Xn){const ea=(at||[]).map((Zn,la)=>$s(Zn,cd(la)));return tt.filter(Zn=>{let{key:la}=Zn;return ea.includes(la)}).map(Zn=>{const la=at[ea.findIndex(Ra=>Ra===Zn.key)];return Object.assign(Object.assign({},Zn),{column:Object.assign(Object.assign({},Zn.column),la),forceFiltered:la.filtered})})}return fn},[at,tt]),Lt=se.useMemo(()=>eo(Ht),[Ht]),rn=fn=>{const Xn=Ht.filter(Fn=>{let{key:ea}=Fn;return ea!==fn.key});Xn.push(fn),yt(Xn),Be(eo(Xn),Xn)};return[fn=>uo(ue,he,fn,Ht,Je,rn,Oe),Ht,Lt]}var er=br;function li(de,ue,he){const ye=se.useRef({});function Be(Oe){if(!ye.current||ye.current.data!==de||ye.current.childrenColumnName!==ue||ye.current.getRowKey!==he){let at=function(tt){tt.forEach((yt,Ht)=>{const Lt=he(yt,Ht);Je.set(Lt,yt),yt&&typeof yt=="object"&&ue in yt&&at(yt[ue]||[])})};const Je=new Map;at(de),ye.current={data:de,childrenColumnName:ue,kvMap:Je,getRowKey:he}}return ye.current.kvMap.get(Oe)}return[Be]}var jo=ee(38780),si=function(de,ue){var he={};for(var ye in de)Object.prototype.hasOwnProperty.call(de,ye)&&ue.indexOf(ye)<0&&(he[ye]=de[ye]);if(de!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Be=0,ye=Object.getOwnPropertySymbols(de);Be<ye.length;Be++)ue.indexOf(ye[Be])<0&&Object.prototype.propertyIsEnumerable.call(de,ye[Be])&&(he[ye[Be]]=de[ye[Be]]);return he};const pi=10;function Ui(de,ue){const he={current:de.current,pageSize:de.pageSize};return Object.keys(ue&&typeof ue=="object"?ue:{}).forEach(Be=>{const Oe=de[Be];typeof Oe!="function"&&(he[Be]=Oe)}),he}function Qo(de,ue,he){const ye=he&&typeof he=="object"?he:{},{total:Be=0}=ye,Oe=si(ye,["total"]),[Je,at]=(0,se.useState)(()=>({current:"defaultCurrent"in Oe?Oe.defaultCurrent:1,pageSize:"defaultPageSize"in Oe?Oe.defaultPageSize:pi})),tt=(0,jo.Z)(Je,Oe,{total:Be>0?Be:de}),yt=Math.ceil((Be||de)/tt.pageSize);tt.current>yt&&(tt.current=yt||1);const Ht=(rn,on)=>{at({current:rn!=null?rn:1,pageSize:on||tt.pageSize})},Lt=(rn,on)=>{var fn;he&&((fn=he.onChange)===null||fn===void 0||fn.call(he,rn,on)),Ht(rn,on),ue(rn,on||(tt==null?void 0:tt.pageSize))};return he===!1?[{},()=>{}]:[Object.assign(Object.assign({},tt),{onChange:Lt}),Ht]}var Po=Qo,Si=ee(42922),Bi=ee(29873),qo=ee(97153),fo=ee(83898),zo=ee(5663);const Gr={},Ii="SELECT_ALL",ko="SELECT_INVERT",Gi="SELECT_NONE",ul=[],Vi=(de,ue)=>{let he=[];return(ue||[]).forEach(ye=>{he.push(ye),ye&&typeof ye=="object"&&de in ye&&(he=[].concat((0,qr.Z)(he),(0,qr.Z)(Vi(de,ye[de]))))}),he};var Tl=(de,ue)=>{const{preserveSelectedRowKeys:he,selectedRowKeys:ye,defaultSelectedRowKeys:Be,getCheckboxProps:Oe,onChange:Je,onSelect:at,onSelectAll:tt,onSelectInvert:yt,onSelectNone:Ht,onSelectMultiple:Lt,columnWidth:rn,type:on,selections:fn,fixed:Xn,renderCell:Fn,hideSelectAll:ea,checkStrictly:Zn=!0}=ue||{},{prefixCls:la,data:Ra,pageData:Qa,getRecordByKey:Ma,getRowKey:fr,expandType:Dr,childrenColumnName:Sa,locale:Na,getPopupContainer:ua}=de,[ia,Da]=(0,zo.Z)(ye||Be||ul,{value:ye}),Wa=se.useRef(new Map),vr=(0,se.useCallback)(ya=>{if(he){const Ja=new Map;ya.forEach(tr=>{let Ua=Ma(tr);!Ua&&Wa.current.has(tr)&&(Ua=Wa.current.get(tr)),Ja.set(tr,Ua)}),Wa.current=Ja}},[Ma,he]);se.useEffect(()=>{vr(ia)},[ia]);const{keyEntities:Er}=(0,se.useMemo)(()=>{if(Zn)return{keyEntities:null};let ya=Ra;if(he){const Ja=new Set(Ra.map((Ua,po)=>fr(Ua,po))),tr=Array.from(Wa.current).reduce((Ua,po)=>{let[ir,Ir]=po;return Ja.has(ir)?Ua:Ua.concat(Ir)},[]);ya=[].concat((0,qr.Z)(ya),(0,qr.Z)(tr))}return(0,fo.I8)(ya,{externalGetKey:fr,childrenPropName:Sa})},[Ra,fr,Zn,Sa,he]),Ha=(0,se.useMemo)(()=>Vi(Sa,Qa),[Sa,Qa]),Or=(0,se.useMemo)(()=>{const ya=new Map;return Ha.forEach((Ja,tr)=>{const Ua=fr(Ja,tr),po=(Oe?Oe(Ja):null)||{};ya.set(Ua,po)}),ya},[Ha,fr,Oe]),Kr=(0,se.useCallback)(ya=>{var Ja;return!!(!((Ja=Or.get(fr(ya)))===null||Ja===void 0)&&Ja.disabled)},[Or,fr]),[Mo,mo]=(0,se.useMemo)(()=>{if(Zn)return[ia||[],[]];const{checkedKeys:ya,halfCheckedKeys:Ja}=(0,qo.S)(ia,!0,Er,Kr);return[ya||[],Ja]},[ia,Zn,Er,Kr]),gi=(0,se.useMemo)(()=>{const ya=on==="radio"?Mo.slice(0,1):Mo;return new Set(ya)},[Mo,on]),fi=(0,se.useMemo)(()=>on==="radio"?new Set:new Set(mo),[mo,on]),[Fr,Di]=(0,se.useState)(null);se.useEffect(()=>{ue||Da(ul)},[!!ue]);const ta=(0,se.useCallback)((ya,Ja)=>{let tr,Ua;vr(ya),he?(tr=ya,Ua=ya.map(po=>Wa.current.get(po))):(tr=[],Ua=[],ya.forEach(po=>{const ir=Ma(po);ir!==void 0&&(tr.push(po),Ua.push(ir))})),Da(tr),Je==null||Je(tr,Ua,{type:Ja})},[Da,Ma,Je,he]),or=(0,se.useCallback)((ya,Ja,tr,Ua)=>{if(at){const po=tr.map(ir=>Ma(ir));at(Ma(ya),Ja,po,Ua)}ta(tr,"single")},[at,Ma,ta]),jr=(0,se.useMemo)(()=>!fn||ea?null:(fn===!0?[Ii,ko,Gi]:fn).map(Ja=>Ja===Ii?{key:"all",text:Na.selectionAll,onSelect(){ta(Ra.map((tr,Ua)=>fr(tr,Ua)).filter(tr=>{const Ua=Or.get(tr);return!(Ua!=null&&Ua.disabled)||gi.has(tr)}),"all")}}:Ja===ko?{key:"invert",text:Na.selectInvert,onSelect(){const tr=new Set(gi);Qa.forEach((po,ir)=>{const Ir=fr(po,ir),Ao=Or.get(Ir);Ao!=null&&Ao.disabled||(tr.has(Ir)?tr.delete(Ir):tr.add(Ir))});const Ua=Array.from(tr);yt&&yt(Ua),ta(Ua,"invert")}}:Ja===Gi?{key:"none",text:Na.selectNone,onSelect(){Ht==null||Ht(),ta(Array.from(gi).filter(tr=>{const Ua=Or.get(tr);return Ua==null?void 0:Ua.disabled}),"none")}}:Ja).map(Ja=>Object.assign(Object.assign({},Ja),{onSelect:function(){for(var tr,Ua,po=arguments.length,ir=new Array(po),Ir=0;Ir<po;Ir++)ir[Ir]=arguments[Ir];(Ua=Ja.onSelect)===null||Ua===void 0||(tr=Ua).call.apply(tr,[Ja].concat(ir)),Di(null)}})),[fn,gi,Qa,fr,yt,ta]);return[(0,se.useCallback)(ya=>{var Ja;if(!ue)return ya.filter(Go=>Go!==Gr);let tr=(0,qr.Z)(ya);const Ua=new Set(gi),po=Ha.map(fr).filter(Go=>!Or.get(Go).disabled),ir=po.every(Go=>Ua.has(Go)),Ir=po.some(Go=>Ua.has(Go)),Ao=()=>{const Go=[];ir?po.forEach(te=>{Ua.delete(te),Go.push(te)}):po.forEach(te=>{Ua.has(te)||(Ua.add(te),Go.push(te))});const Wo=Array.from(Ua);tt==null||tt(!ir,Wo.map(te=>Ma(te)),Go.map(te=>Ma(te))),ta(Wo,"all"),Di(null)};let yo;if(on!=="radio"){let Go;if(jr){const fe={getPopupContainer:ua,items:jr.map((ve,De)=>{const{key:Ae,text:Qe,onSelect:Xe}=ve;return{key:Ae!=null?Ae:De,onClick:()=>{Xe==null||Xe(po)},label:Qe}})};Go=se.createElement("div",{className:`${la}-selection-extra`},se.createElement(Ac.Z,{menu:fe,getPopupContainer:ua},se.createElement("span",null,se.createElement(Si.Z,null))))}const Wo=Ha.map((fe,ve)=>{const De=fr(fe,ve),Ae=Or.get(De)||{};return Object.assign({checked:Ua.has(De)},Ae)}).filter(fe=>{let{disabled:ve}=fe;return ve}),te=!!Wo.length&&Wo.length===Ha.length,ie=te&&Wo.every(fe=>{let{checked:ve}=fe;return ve}),le=te&&Wo.some(fe=>{let{checked:ve}=fe;return ve});yo=!ea&&se.createElement("div",{className:`${la}-selection`},se.createElement(gd.default,{checked:te?ie:!!Ha.length&&ir,indeterminate:te?!ie&&le:!ir&&Ir,onChange:Ao,disabled:Ha.length===0||te,"aria-label":Go?"Custom selection":"Select all",skipGroup:!0}),Go)}let Ml;on==="radio"?Ml=(Go,Wo,te)=>{const ie=fr(Wo,te),le=Ua.has(ie);return{node:se.createElement(Qd.ZP,Object.assign({},Or.get(ie),{checked:le,onClick:fe=>fe.stopPropagation(),onChange:fe=>{Ua.has(ie)||or(ie,!0,[ie],fe.nativeEvent)}})),checked:le}}:Ml=(Go,Wo,te)=>{var ie;const le=fr(Wo,te),fe=Ua.has(le),ve=fi.has(le),De=Or.get(le);let Ae;return Dr==="nest"?Ae=ve:Ae=(ie=De==null?void 0:De.indeterminate)!==null&&ie!==void 0?ie:ve,{node:se.createElement(gd.default,Object.assign({},De,{indeterminate:Ae,checked:fe,skipGroup:!0,onClick:Qe=>Qe.stopPropagation(),onChange:Qe=>{let{nativeEvent:Xe}=Qe;const{shiftKey:gt}=Xe;let Yt=-1,mt=-1;if(gt&&Zn){const St=new Set([Fr,le]);po.some((bt,Nt)=>{if(St.has(bt))if(Yt===-1)Yt=Nt;else return mt=Nt,!0;return!1})}if(mt!==-1&&Yt!==mt&&Zn){const St=po.slice(Yt,mt+1),bt=[];fe?St.forEach(rt=>{Ua.has(rt)&&(bt.push(rt),Ua.delete(rt))}):St.forEach(rt=>{Ua.has(rt)||(bt.push(rt),Ua.add(rt))});const Nt=Array.from(Ua);Lt==null||Lt(!fe,Nt.map(rt=>Ma(rt)),bt.map(rt=>Ma(rt))),ta(Nt,"multiple")}else{const St=Mo;if(Zn){const bt=fe?(0,Bi._5)(St,le):(0,Bi.L0)(St,le);or(le,!fe,bt,Xe)}else{const bt=(0,qo.S)([].concat((0,qr.Z)(St),[le]),!0,Er,Kr),{checkedKeys:Nt,halfCheckedKeys:rt}=bt;let Et=Nt;if(fe){const qt=new Set(Nt);qt.delete(le),Et=(0,qo.S)(Array.from(qt),{checked:!1,halfCheckedKeys:rt},Er,Kr).checkedKeys}or(le,!fe,Et,Xe)}}Di(fe?null:le)}})),checked:fe}};const Pl=(Go,Wo,te)=>{const{node:ie,checked:le}=Ml(Go,Wo,te);return Fn?Fn(le,Wo,te,ie):ie};if(!tr.includes(Gr))if(tr.findIndex(Go=>{var Wo;return((Wo=Go[zr])===null||Wo===void 0?void 0:Wo.columnType)==="EXPAND_COLUMN"})===0){const[Go,...Wo]=tr;tr=[Go,Gr].concat((0,qr.Z)(Wo))}else tr=[Gr].concat((0,qr.Z)(tr));const Os=tr.indexOf(Gr);tr=tr.filter((Go,Wo)=>Go!==Gr||Wo===Os);const Qi=tr[Os-1],hs=tr[Os+1];let xi=Xn;xi===void 0&&((hs==null?void 0:hs.fixed)!==void 0?xi=hs.fixed:(Qi==null?void 0:Qi.fixed)!==void 0&&(xi=Qi.fixed)),xi&&Qi&&((Ja=Qi[zr])===null||Ja===void 0?void 0:Ja.columnType)==="EXPAND_COLUMN"&&Qi.fixed===void 0&&(Qi.fixed=xi);const zl=Ye()(`${la}-selection-col`,{[`${la}-selection-col-with-dropdown`]:fn&&on==="checkbox"}),Cd={fixed:xi,width:rn,className:`${la}-selection-column`,title:ue.columnTitle||yo,render:Pl,onCell:ue.onCell,[zr]:{className:zl}};return tr.map(Go=>Go===Gr?Cd:Go)},[fr,Ha,ue,Mo,gi,fi,rn,jr,Dr,Fr,Or,Lt,or,Kr]),gi]},Oo=ee(33463),Nl=ee(28575),Ni=ee(83062);const Ho="ascend",di="descend";function gl(de){return typeof de.sorter=="object"&&typeof de.sorter.multiple=="number"?de.sorter.multiple:!1}function Yl(de){return typeof de=="function"?de:de&&typeof de=="object"&&de.compare?de.compare:!1}function us(de,ue){return ue?de[de.indexOf(ue)+1]:de[0]}function ll(de,ue,he){let ye=[];function Be(Oe,Je){ye.push({column:Oe,key:$s(Oe,Je),multiplePriority:gl(Oe),sortOrder:Oe.sortOrder})}return(de||[]).forEach((Oe,Je)=>{const at=cd(Je,he);Oe.children?("sortOrder"in Oe&&Be(Oe,at),ye=[].concat((0,qr.Z)(ye),(0,qr.Z)(ll(Oe.children,ue,at)))):Oe.sorter&&("sortOrder"in Oe?Be(Oe,at):ue&&Oe.defaultSortOrder&&ye.push({column:Oe,key:$s(Oe,at),multiplePriority:gl(Oe),sortOrder:Oe.defaultSortOrder}))}),ye}function Fi(de,ue,he,ye,Be,Oe,Je,at){return(ue||[]).map((tt,yt)=>{const Ht=cd(yt,at);let Lt=tt;if(Lt.sorter){const rn=Lt.sortDirections||Be,on=Lt.showSorterTooltip===void 0?Je:Lt.showSorterTooltip,fn=$s(Lt,Ht),Xn=he.find(Dr=>{let{key:Sa}=Dr;return Sa===fn}),Fn=Xn?Xn.sortOrder:null,ea=us(rn,Fn);let Zn;if(tt.sortIcon)Zn=tt.sortIcon({sortOrder:Fn});else{const Dr=rn.includes(Ho)&&se.createElement(Nl.Z,{className:Ye()(`${de}-column-sorter-up`,{active:Fn===Ho})}),Sa=rn.includes(di)&&se.createElement(Oo.Z,{className:Ye()(`${de}-column-sorter-down`,{active:Fn===di})});Zn=se.createElement("span",{className:Ye()(`${de}-column-sorter`,{[`${de}-column-sorter-full`]:!!(Dr&&Sa)})},se.createElement("span",{className:`${de}-column-sorter-inner`,"aria-hidden":"true"},Dr,Sa))}const{cancelSort:la,triggerAsc:Ra,triggerDesc:Qa}=Oe||{};let Ma=la;ea===di?Ma=Qa:ea===Ho&&(Ma=Ra);const fr=typeof on=="object"?on:{title:Ma};Lt=Object.assign(Object.assign({},Lt),{className:Ye()(Lt.className,{[`${de}-column-sort`]:Fn}),title:Dr=>{const Sa=se.createElement("div",{className:`${de}-column-sorters`},se.createElement("span",{className:`${de}-column-title`},ud(tt.title,Dr)),Zn);return on?se.createElement(Ni.Z,Object.assign({},fr),Sa):Sa},onHeaderCell:Dr=>{const Sa=tt.onHeaderCell&&tt.onHeaderCell(Dr)||{},Na=Sa.onClick,ua=Sa.onKeyDown;Sa.onClick=Wa=>{ye({column:tt,key:fn,sortOrder:ea,multiplePriority:gl(tt)}),Na==null||Na(Wa)},Sa.onKeyDown=Wa=>{Wa.keyCode===Tt.Z.ENTER&&(ye({column:tt,key:fn,sortOrder:ea,multiplePriority:gl(tt)}),ua==null||ua(Wa))};const ia=Cc(tt.title,{}),Da=ia==null?void 0:ia.toString();return Fn?Sa["aria-sort"]=Fn==="ascend"?"ascending":"descending":Sa["aria-label"]=Da||"",Sa.className=Ye()(Sa.className,`${de}-column-has-sorters`),Sa.tabIndex=0,tt.ellipsis&&(Sa.title=(ia!=null?ia:"").toString()),Sa}})}return"children"in Lt&&(Lt=Object.assign(Object.assign({},Lt),{children:Fi(de,Lt.children,he,ye,Be,Oe,Je,Ht)})),Lt})}function El(de){const{column:ue,sortOrder:he}=de;return{column:ue,order:he,field:ue.dataIndex,columnKey:ue.key}}function Yi(de){const ue=de.filter(he=>{let{sortOrder:ye}=he;return ye}).map(El);return ue.length===0&&de.length?Object.assign(Object.assign({},El(de[de.length-1])),{column:void 0}):ue.length<=1?ue[0]||{}:ue}function $o(de,ue,he){const ye=ue.slice().sort((Je,at)=>at.multiplePriority-Je.multiplePriority),Be=de.slice(),Oe=ye.filter(Je=>{let{column:{sorter:at},sortOrder:tt}=Je;return Yl(at)&&tt});return Oe.length?Be.sort((Je,at)=>{for(let tt=0;tt<Oe.length;tt+=1){const yt=Oe[tt],{column:{sorter:Ht},sortOrder:Lt}=yt,rn=Yl(Ht);if(rn&&Lt){const on=rn(Je,at,Lt);if(on!==0)return Lt===Ho?on:-on}}return 0}).map(Je=>{const at=Je[he];return at?Object.assign(Object.assign({},Je),{[he]:$o(at,ue,he)}):Je}):Be}function Br(de){let{prefixCls:ue,mergedColumns:he,onSorterChange:ye,sortDirections:Be,tableLocale:Oe,showSorterTooltip:Je}=de;const[at,tt]=se.useState(ll(he,!0)),yt=se.useMemo(()=>{let fn=!0;const Xn=ll(he,!1);if(!Xn.length)return at;const Fn=[];function ea(la){fn?Fn.push(la):Fn.push(Object.assign(Object.assign({},la),{sortOrder:null}))}let Zn=null;return Xn.forEach(la=>{Zn===null?(ea(la),la.sortOrder&&(la.multiplePriority===!1?fn=!1:Zn=!0)):(Zn&&la.multiplePriority!==!1||(fn=!1),ea(la))}),Fn},[he,at]),Ht=se.useMemo(()=>{const fn=yt.map(Xn=>{let{column:Fn,sortOrder:ea}=Xn;return{column:Fn,order:ea}});return{sortColumns:fn,sortColumn:fn[0]&&fn[0].column,sortOrder:fn[0]&&fn[0].order}},[yt]);function Lt(fn){let Xn;fn.multiplePriority===!1||!yt.length||yt[0].multiplePriority===!1?Xn=[fn]:Xn=[].concat((0,qr.Z)(yt.filter(Fn=>{let{key:ea}=Fn;return ea!==fn.key})),[fn]),tt(Xn),ye(Yi(Xn),Xn)}return[fn=>Fi(ue,fn,yt,Lt,Be,Oe,Je),yt,Ht,()=>Yi(yt)]}function Ti(de,ue){return de.map(he=>{const ye=Object.assign({},he);return ye.title=ud(he.title,ue),"children"in ye&&(ye.children=Ti(ye.children,ue)),ye})}function Dl(de){return[se.useCallback(he=>Ti(he,de),[de])]}var gs=Oi((de,ue)=>{const{_renderTimes:he}=de,{_renderTimes:ye}=ue;return he!==ye}),xs=Ai((de,ue)=>{const{_renderTimes:he}=de,{_renderTimes:ye}=ue;return he!==ye}),_l=ee(84780),Ws=ee(14747),fd=ee(67968),fs=ee(45503),es=de=>{const{componentCls:ue}=de,he=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`,ye=(Be,Oe,Je)=>({[`&${ue}-${Be}`]:{[`> ${ue}-container`]:{[`> ${ue}-content, > ${ue}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${ue}-expanded-row-fixed`]:{margin:`-${Oe}px -${Je+de.lineWidth}px`}}}}}});return{[`${ue}-wrapper`]:{[`${ue}${ue}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${ue}-title`]:{border:he,borderBottom:0},[`> ${ue}-container`]:{borderInlineStart:he,borderTop:he,[`
> ${ue}-content,
> ${ue}-header,
> ${ue}-body,
> ${ue}-summary
`]:{"> table":{"\n > thead > tr > th,\n > thead > tr > td,\n > tbody > tr > th,\n > tbody > tr > td,\n > tfoot > tr > th,\n > tfoot > tr > td\n ":{borderInlineEnd:he},"> thead":{"> tr:not(:last-child) > th":{borderBottom:he},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${ue}-cell-fix-right-first::after`]:{borderInlineEnd:he}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${ue}-expanded-row-fixed`]:{margin:`-${de.tablePaddingVertical}px -${de.tablePaddingHorizontal+de.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:de.lineWidth,bottom:0,borderInlineEnd:he,content:'""'}}}}}},[`&${ue}-scroll-horizontal`]:{[`> ${ue}-container > ${ue}-body`]:{"> table > tbody":{[`
> tr${ue}-expanded-row,
> tr${ue}-placeholder
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ye("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle)),ye("small",de.tablePaddingVerticalSmall,de.tablePaddingHorizontalSmall)),{[`> ${ue}-footer`]:{border:he,borderTop:0}}),[`${ue}-cell`]:{[`${ue}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${de.lineWidth}px 0 ${de.lineWidth}px ${de.tableHeaderBg}`}},[`${ue}-bordered ${ue}-cell-scrollbar`]:{borderInlineEnd:he}}}},md=de=>{const{componentCls:ue}=de;return{[`${ue}-wrapper`]:{[`${ue}-cell-ellipsis`]:Object.assign(Object.assign({},Ws.vS),{wordBreak:"keep-all",[`
&${ue}-cell-fix-left-last,
&${ue}-cell-fix-right-first
`]:{overflow:"visible",[`${ue}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${ue}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},Fd=de=>{const{componentCls:ue}=de;return{[`${ue}-wrapper`]:{[`${ue}-tbody > tr${ue}-placeholder`]:{textAlign:"center",color:de.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:de.colorBgContainer}}}}},Xd=ee(49867),Ql=de=>{const{componentCls:ue,antCls:he,controlInteractiveSize:ye,motionDurationSlow:Be,lineWidth:Oe,paddingXS:Je,lineType:at,tableBorderColor:tt,tableExpandIconBg:yt,tableExpandColumnWidth:Ht,borderRadius:Lt,fontSize:rn,fontSizeSM:on,lineHeight:fn,tablePaddingVertical:Xn,tablePaddingHorizontal:Fn,tableExpandedRowBg:ea,paddingXXS:Zn}=de,la=ye/2-Oe,Ra=la*2+Oe*3,Qa=`${Oe}px ${at} ${tt}`,Ma=Zn-Oe;return{[`${ue}-wrapper`]:{[`${ue}-expand-icon-col`]:{width:Ht},[`${ue}-row-expand-icon-cell`]:{textAlign:"center",[`${ue}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${ue}-row-indent`]:{height:1,float:"left"},[`${ue}-row-expand-icon`]:Object.assign(Object.assign({},(0,Xd.N)(de)),{position:"relative",float:"left",boxSizing:"border-box",width:Ra,height:Ra,padding:0,color:"inherit",lineHeight:`${Ra}px`,background:yt,border:Qa,borderRadius:Lt,transform:`scale(${ye/Ra})`,transition:`all ${Be}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${Be} ease-out`,content:'""'},"&::before":{top:la,insetInlineEnd:Ma,insetInlineStart:Ma,height:Oe},"&::after":{top:Ma,bottom:Ma,insetInlineStart:la,width:Oe,transform:"rotate(90deg)"},"&-collapsed::before":{transform:"rotate(-180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"},"&-spaced":{"&::before, &::after":{display:"none",content:"none"},background:"transparent",border:0,visibility:"hidden"}}),[`${ue}-row-indent + ${ue}-row-expand-icon`]:{marginTop:(rn*fn-Oe*3)/2-Math.ceil((on*1.4-Oe*3)/2),marginInlineEnd:Je},[`tr${ue}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:ea}},[`${he}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${ue}-expanded-row-fixed`]:{position:"relative",margin:`-${Xn}px -${Fn}px`,padding:`${Xn}px ${Fn}px`}}}},qd=de=>{const{componentCls:ue,antCls:he,iconCls:ye,tableFilterDropdownWidth:Be,tableFilterDropdownSearchWidth:Oe,paddingXXS:Je,paddingXS:at,colorText:tt,lineWidth:yt,lineType:Ht,tableBorderColor:Lt,tableHeaderIconColor:rn,fontSizeSM:on,tablePaddingHorizontal:fn,borderRadius:Xn,motionDurationSlow:Fn,colorTextDescription:ea,colorPrimary:Zn,tableHeaderFilterActiveBg:la,colorTextDisabled:Ra,tableFilterDropdownBg:Qa,tableFilterDropdownHeight:Ma,controlItemBgHover:fr,controlItemBgActive:Dr,boxShadowSecondary:Sa,filterDropdownMenuBg:Na}=de,ua=`${he}-dropdown`,ia=`${ue}-filter-dropdown`,Da=`${he}-tree`,Wa=`${yt}px ${Ht} ${Lt}`;return[{[`${ue}-wrapper`]:{[`${ue}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${ue}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-Je,marginInline:`${Je}px ${-fn/2}px`,padding:`0 ${Je}px`,color:rn,fontSize:on,borderRadius:Xn,cursor:"pointer",transition:`all ${Fn}`,"&:hover":{color:ea,background:la},"&.active":{color:Zn}}}},{[`${he}-dropdown`]:{[ia]:Object.assign(Object.assign({},(0,Ws.Wf)(de)),{minWidth:Be,backgroundColor:Qa,borderRadius:Xn,boxShadow:Sa,overflow:"hidden",[`${ua}-menu`]:{maxHeight:Ma,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:Na,"&:empty::after":{display:"block",padding:`${at}px 0`,color:Ra,fontSize:on,textAlign:"center",content:'"Not Found"'}},[`${ia}-tree`]:{paddingBlock:`${at}px 0`,paddingInline:at,[Da]:{padding:0},[`${Da}-treenode ${Da}-node-content-wrapper:hover`]:{backgroundColor:fr},[`${Da}-treenode-checkbox-checked ${Da}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Dr}}},[`${ia}-search`]:{padding:at,borderBottom:Wa,"&-input":{input:{minWidth:Oe},[ye]:{color:Ra}}},[`${ia}-checkall`]:{width:"100%",marginBottom:Je,marginInlineStart:Je},[`${ia}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${at-yt}px ${at}px`,overflow:"hidden",borderTop:Wa}})}},{[`${he}-dropdown ${ia}, ${ia}-submenu`]:{[`${he}-checkbox-wrapper + span`]:{paddingInlineStart:at,color:tt},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},Zl=de=>{const{componentCls:ue,lineWidth:he,colorSplit:ye,motionDurationSlow:Be,zIndexTableFixed:Oe,tableBg:Je,zIndexTableSticky:at}=de,tt=ye;return{[`${ue}-wrapper`]:{[`
${ue}-cell-fix-left,
${ue}-cell-fix-right
`]:{position:"sticky !important",zIndex:Oe,background:Je},[`
${ue}-cell-fix-left-first::after,
${ue}-cell-fix-left-last::after
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-he,width:30,transform:"translateX(100%)",transition:`box-shadow ${Be}`,content:'""',pointerEvents:"none"},[`${ue}-cell-fix-left-all::after`]:{display:"none"},[`
${ue}-cell-fix-right-first::after,
${ue}-cell-fix-right-last::after
`]:{position:"absolute",top:0,bottom:-he,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${Be}`,content:'""',pointerEvents:"none"},[`${ue}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:at+1,width:30,transition:`box-shadow ${Be}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${ue}-ping-left`]:{[`&:not(${ue}-has-fix-left) ${ue}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${tt}`}},[`
${ue}-cell-fix-left-first::after,
${ue}-cell-fix-left-last::after
`]:{boxShadow:`inset 10px 0 8px -8px ${tt}`},[`${ue}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${ue}-ping-right`]:{[`&:not(${ue}-has-fix-right) ${ue}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${tt}`}},[`
${ue}-cell-fix-right-first::after,
${ue}-cell-fix-right-last::after
`]:{boxShadow:`inset -10px 0 8px -8px ${tt}`}}}}},Vs=de=>{const{componentCls:ue,antCls:he}=de;return{[`${ue}-wrapper`]:{[`${ue}-pagination${he}-pagination`]:{margin:`${de.margin}px 0`},[`${ue}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:de.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Zi=de=>{const{componentCls:ue,tableRadius:he}=de;return{[`${ue}-wrapper`]:{[ue]:{[`${ue}-title, ${ue}-header`]:{borderRadius:`${he}px ${he}px 0 0`},[`${ue}-title + ${ue}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${ue}-header, table`]:{borderRadius:0},"table > thead > tr:first-child":{"th:first-child, th:last-child, td:first-child, td:last-child":{borderRadius:0}}},"&-container":{borderStartStartRadius:he,borderStartEndRadius:he,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:he},"> *:last-child":{borderStartEndRadius:he}}},"&-footer":{borderRadius:`0 0 ${he}px ${he}px`}}}}},ts=de=>{const{componentCls:ue}=de;return{[`${ue}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${ue}-pagination-left`]:{justifyContent:"flex-end"},[`${ue}-pagination-right`]:{justifyContent:"flex-start"},[`${ue}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${ue}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${ue}-row-indent`]:{float:"right"}}}}},pd=de=>{const{componentCls:ue,antCls:he,iconCls:ye,fontSizeIcon:Be,padding:Oe,paddingXS:Je,tableHeaderIconColor:at,tableHeaderIconColorHover:tt,tableSelectionColumnWidth:yt}=de;return{[`${ue}-wrapper`]:{[`${ue}-selection-col`]:{width:yt,[`&${ue}-selection-col-with-dropdown`]:{width:yt+Be+Oe/4}},[`${ue}-bordered ${ue}-selection-col`]:{width:yt+Je*2,[`&${ue}-selection-col-with-dropdown`]:{width:yt+Be+Oe/4+Je*2}},[`
table tr th${ue}-selection-column,
table tr td${ue}-selection-column
`]:{paddingInlineEnd:de.paddingXS,paddingInlineStart:de.paddingXS,textAlign:"center",[`${he}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${ue}-selection-column${ue}-cell-fix-left`]:{zIndex:de.zIndexTableFixed+1},[`table tr th${ue}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${ue}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${ue}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${de.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${de.tablePaddingHorizontal/4}px`,[ye]:{color:at,fontSize:Be,verticalAlign:"baseline","&:hover":{color:tt}}}}}},Sd=de=>{const{componentCls:ue}=de,he=(ye,Be,Oe,Je)=>({[`${ue}${ue}-${ye}`]:{fontSize:Je,[`
${ue}-title,
${ue}-footer,
${ue}-cell,
${ue}-thead > tr > th,
${ue}-tbody > tr > th,
${ue}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{padding:`${Be}px ${Oe}px`},[`${ue}-filter-trigger`]:{marginInlineEnd:`-${Oe/2}px`},[`${ue}-expanded-row-fixed`]:{margin:`-${Be}px -${Oe}px`},[`${ue}-tbody`]:{[`${ue}-wrapper:only-child ${ue}`]:{marginBlock:`-${Be}px`,marginInline:`${de.tableExpandColumnWidth-Oe}px -${Oe}px`}},[`${ue}-selection-column`]:{paddingInlineStart:`${Oe/4}px`}}});return{[`${ue}-wrapper`]:Object.assign(Object.assign({},he("middle",de.tablePaddingVerticalMiddle,de.tablePaddingHorizontalMiddle,de.tableFontSizeMiddle)),he("small",de.tablePaddingVerticalSmall,de.tablePaddingHorizontalSmall,de.tableFontSizeSmall))}},Pd=de=>{const{componentCls:ue,marginXXS:he,fontSizeIcon:ye,tableHeaderIconColor:Be,tableHeaderIconColorHover:Oe}=de;return{[`${ue}-wrapper`]:{[`${ue}-thead th${ue}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${de.motionDurationSlow}`,"&:hover":{background:de.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:de.colorPrimary},[`
&${ue}-cell-fix-left:hover,
&${ue}-cell-fix-right:hover
`]:{background:de.tableFixedHeaderSortActiveBg}},[`${ue}-thead th${ue}-column-sort`]:{background:de.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${ue}-column-sort`]:{background:de.tableBodySortBg},[`${ue}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${ue}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${ue}-column-sorter`]:{marginInlineStart:he,color:Be,fontSize:0,transition:`color ${de.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ye,"&.active":{color:de.colorPrimary}},[`${ue}-column-sorter-up + ${ue}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${ue}-column-sorters:hover ${ue}-column-sorter`]:{color:Oe}}}},ks=de=>{const{componentCls:ue,opacityLoading:he,tableScrollThumbBg:ye,tableScrollThumbBgHover:Be,tableScrollThumbSize:Oe,tableScrollBg:Je,zIndexTableSticky:at,stickyScrollBarBorderRadius:tt}=de,yt=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`;return{[`${ue}-wrapper`]:{[`${ue}-sticky`]:{"&-holder":{position:"sticky",zIndex:at,background:de.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${Oe}px !important`,zIndex:at,display:"flex",alignItems:"center",background:Je,borderTop:yt,opacity:he,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:Oe,backgroundColor:ye,borderRadius:tt,transition:`all ${de.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:Be}}}}}}},yd=de=>{const{componentCls:ue,lineWidth:he,tableBorderColor:ye}=de,Be=`${he}px ${de.lineType} ${ye}`;return{[`${ue}-wrapper`]:{[`${ue}-summary`]:{position:"relative",zIndex:de.zIndexTableFixed,background:de.tableBg,"> tr":{"> th, > td":{borderBottom:Be}}},[`div${ue}-summary`]:{boxShadow:`0 -${he}px 0 ${ye}`}}}},Ls=de=>{const{componentCls:ue}=de,he=`${de.lineWidth}px ${de.lineType} ${de.tableBorderColor}`,ye=`${ue}-expanded-row-cell`;return{[`${ue}-wrapper`]:{[`${ue}-tbody-virtual`]:{[`${ue}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${ue}-cell`]:{borderBottom:he},[`${ue}-expanded-row`]:{[`${ye}${ye}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${de.lineWidth}px)`,borderInlineEnd:"none"}}},[`${ue}-bordered`]:{[`${ue}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:he,position:"absolute"},[`${ue}-cell`]:{borderInlineEnd:he,[`&${ue}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-de.lineWidth,borderInlineStart:he}}}}}}};const Ys=de=>{const{componentCls:ue,fontWeightStrong:he,tablePaddingVertical:ye,tablePaddingHorizontal:Be,lineWidth:Oe,lineType:Je,tableBorderColor:at,tableFontSize:tt,tableBg:yt,tableRadius:Ht,tableHeaderTextColor:Lt,motionDurationMid:rn,tableHeaderBg:on,tableHeaderCellSplitColor:fn,tableRowHoverBg:Xn,tableSelectedRowBg:Fn,tableSelectedRowHoverBg:ea,tableFooterTextColor:Zn,tableFooterBg:la,paddingContentVerticalLG:Ra}=de,Qa=`${Oe}px ${Je} ${at}`;return{[`${ue}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,Ws.dF)()),{[ue]:Object.assign(Object.assign({},(0,Ws.Wf)(de)),{fontSize:tt,background:yt,borderRadius:`${Ht}px ${Ht}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Ht}px ${Ht}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
${ue}-cell,
${ue}-thead > tr > th,
${ue}-tbody > tr > th,
${ue}-tbody > tr > td,
tfoot > tr > th,
tfoot > tr > td
`]:{position:"relative",padding:`${Ra}px ${Be}px`,overflowWrap:"break-word"},[`${ue}-title`]:{padding:`${ye}px ${Be}px`},[`${ue}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Lt,fontWeight:he,textAlign:"start",background:on,borderBottom:Qa,transition:`background ${rn} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${ue}-selection-column):not(${ue}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:fn,transform:"translateY(-50%)",transition:`background-color ${rn}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${ue}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${rn}, border-color ${rn}`,borderBottom:Qa,[`
> ${ue}-wrapper:only-child,
> ${ue}-expanded-row-fixed > ${ue}-wrapper:only-child
`]:{[ue]:{marginBlock:`-${ye}px`,marginInline:`${de.tableExpandColumnWidth-Be}px -${Be}px`,[`${ue}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Lt,fontWeight:he,textAlign:"start",background:on,borderBottom:Qa,transition:`background ${rn} ease`},[`
&${ue}-row:hover > th,
&${ue}-row:hover > td,
> th${ue}-cell-row-hover,
> td${ue}-cell-row-hover
`]:{background:Xn},[`&${ue}-row-selected`]:{"> th, > td":{background:Fn},"&:hover > th, &:hover > td":{background:ea}}}},[`${ue}-footer`]:{padding:`${ye}px ${Be}px`,color:Zn,background:la}})}};var Qs=(0,fd.Z)("Table",de=>{const{colorTextHeading:ue,colorSplit:he,colorIcon:ye,colorIconHover:Be,opacityLoading:Oe,colorBgContainer:Je,controlInteractiveSize:at,headerBg:tt,headerColor:yt,headerSortActiveBg:Ht,headerSortHoverBg:Lt,bodySortBg:rn,rowHoverBg:on,rowSelectedBg:fn,rowSelectedHoverBg:Xn,rowExpandedBg:Fn,cellPaddingBlock:ea,cellPaddingInline:Zn,cellPaddingBlockMD:la,cellPaddingInlineMD:Ra,cellPaddingBlockSM:Qa,cellPaddingInlineSM:Ma,borderColor:fr,footerBg:Dr,footerColor:Sa,headerBorderRadius:Na,cellFontSize:ua,cellFontSizeMD:ia,cellFontSizeSM:Da,headerSplitColor:Wa,fixedHeaderSortActiveBg:vr,headerFilterHoverBg:Er,filterDropdownBg:Ha,expandIconBg:Or,selectionColumnWidth:Kr,stickyScrollBarBg:Mo}=de,mo=new _l.C(ye),gi=new _l.C(Be),fi=2,Fr=(0,fs.TS)(de,{tableFontSize:ua,tableBg:Je,tableRadius:Na,tablePaddingVertical:ea,tablePaddingHorizontal:Zn,tablePaddingVerticalMiddle:la,tablePaddingHorizontalMiddle:Ra,tablePaddingVerticalSmall:Qa,tablePaddingHorizontalSmall:Ma,tableBorderColor:fr,tableHeaderTextColor:yt,tableHeaderBg:tt,tableFooterTextColor:Sa,tableFooterBg:Dr,tableHeaderCellSplitColor:Wa,tableHeaderSortBg:Ht,tableHeaderSortHoverBg:Lt,tableHeaderIconColor:mo.clone().setAlpha(mo.getAlpha()*Oe).toRgbString(),tableHeaderIconColorHover:gi.clone().setAlpha(gi.getAlpha()*Oe).toRgbString(),tableBodySortBg:rn,tableFixedHeaderSortActiveBg:vr,tableHeaderFilterActiveBg:Er,tableFilterDropdownBg:Ha,tableRowHoverBg:on,tableSelectedRowBg:fn,tableSelectedRowHoverBg:Xn,zIndexTableFixed:fi,zIndexTableSticky:fi+1,tableFontSizeMiddle:ia,tableFontSizeSmall:Da,tableSelectionColumnWidth:Kr,tableExpandIconBg:Or,tableExpandColumnWidth:at+2*de.padding,tableExpandedRowBg:Fn,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:Mo,tableScrollThumbBgHover:ue,tableScrollBg:he});return[Ys(Fr),Vs(Fr),yd(Fr),Pd(Fr),qd(Fr),es(Fr),Zi(Fr),Ql(Fr),yd(Fr),Fd(Fr),pd(Fr),Zl(Fr),ks(Fr),md(Fr),Sd(Fr),ts(Fr),Ls(Fr)]},de=>{const{colorFillAlter:ue,colorBgContainer:he,colorTextHeading:ye,colorFillSecondary:Be,colorFillContent:Oe,controlItemBgActive:Je,controlItemBgActiveHover:at,padding:tt,paddingSM:yt,paddingXS:Ht,colorBorderSecondary:Lt,borderRadiusLG:rn,fontSize:on,controlHeight:fn,colorTextPlaceholder:Xn}=de,Fn=new _l.C(Be).onBackground(he).toHexShortString(),ea=new _l.C(Oe).onBackground(he).toHexShortString(),Zn=new _l.C(ue).onBackground(he).toHexShortString();return{headerBg:Zn,headerColor:ye,headerSortActiveBg:Fn,headerSortHoverBg:ea,bodySortBg:Zn,rowHoverBg:Zn,rowSelectedBg:Je,rowSelectedHoverBg:at,rowExpandedBg:ue,cellPaddingBlock:tt,cellPaddingInline:tt,cellPaddingBlockMD:yt,cellPaddingInlineMD:Ht,cellPaddingBlockSM:Ht,cellPaddingInlineSM:Ht,borderColor:Lt,headerBorderRadius:rn,footerBg:Zn,footerColor:ye,cellFontSize:on,cellFontSizeMD:on,cellFontSizeSM:on,headerSplitColor:Lt,fixedHeaderSortActiveBg:Fn,headerFilterHoverBg:Oe,filterDropdownMenuBg:he,filterDropdownBg:he,expandIconBg:he,selectionColumnWidth:fn,stickyScrollBarBg:Xn,stickyScrollBarBorderRadius:100}});const Js=[],bd=(de,ue)=>{const{prefixCls:he,className:ye,rootClassName:Be,style:Oe,size:Je,bordered:at,dropdownPrefixCls:tt,dataSource:yt,pagination:Ht,rowSelection:Lt,rowKey:rn="key",rowClassName:on,columns:fn,children:Xn,childrenColumnName:Fn,onChange:ea,getPopupContainer:Zn,loading:la,expandIcon:Ra,expandable:Qa,expandedRowRender:Ma,expandIconColumnIndex:fr,indentSize:Dr,scroll:Sa,sortDirections:Na,locale:ua,showSorterTooltip:ia=!0,virtual:Da}=de,Wa=se.useMemo(()=>fn||wi(Xn),[fn,Xn]),vr=se.useMemo(()=>Wa.some(an=>an.responsive),[Wa]),Er=(0,js.Z)(vr),Ha=se.useMemo(()=>{const an=new Set(Object.keys(Er).filter(sn=>Er[sn]));return Wa.filter(sn=>!sn.responsive||sn.responsive.some(wa=>an.has(wa)))},[Wa,Er]),Or=(0,Nr.Z)(de,["className","style","columns"]),{locale:Kr=Pc.Z,direction:Mo,table:mo,renderEmpty:gi,getPrefixCls:fi,getPopupContainer:Fr}=se.useContext(cs.E_),Di=(0,Ms.Z)(Je),ta=Object.assign(Object.assign({},Kr.Table),ua),or=yt||Js,jr=fi("table",he),Io=fi("dropdown",tt),ya=Object.assign({childrenColumnName:Fn,expandIconColumnIndex:fr},Qa),{childrenColumnName:Ja="children"}=ya,tr=se.useMemo(()=>or.some(an=>an==null?void 0:an[Ja])?"nest":Ma||Qa&&Qa.expandedRowRender?"row":null,[or]),Ua={body:se.useRef()},po=se.useMemo(()=>typeof rn=="function"?rn:an=>an==null?void 0:an[rn],[rn]),[ir]=li(or,Ja,po),Ir={},Ao=function(an,sn){let wa=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var na,La,ga;const nr=Object.assign(Object.assign({},Ir),an);wa&&((na=Ir.resetPagination)===null||na===void 0||na.call(Ir),!((La=nr.pagination)===null||La===void 0)&&La.current&&(nr.pagination.current=1),Ht&&Ht.onChange&&Ht.onChange(1,(ga=nr.pagination)===null||ga===void 0?void 0:ga.pageSize)),Sa&&Sa.scrollToFirstRowOnChange!==!1&&Ua.body.current&&(0,ds.Z)(0,{getContainer:()=>Ua.body.current}),ea==null||ea(nr.pagination,nr.filters,nr.sorter,{currentDataSource:So($o(or,nr.sorterStates,Ja),nr.filterStates),action:sn})},yo=(an,sn)=>{Ao({sorter:an,sorterStates:sn},"sort",!1)},[Ml,Pl,Os,Qi]=Br({prefixCls:jr,mergedColumns:Ha,onSorterChange:yo,sortDirections:Na||["ascend","descend"],tableLocale:ta,showSorterTooltip:ia}),hs=se.useMemo(()=>$o(or,Pl,Ja),[or,Pl]);Ir.sorter=Qi(),Ir.sorterStates=Pl;const xi=(an,sn)=>{Ao({filters:an,filterStates:sn},"filter",!0)},[zl,Cd,Go]=er({prefixCls:jr,locale:ta,dropdownPrefixCls:Io,mergedColumns:Ha,onFilterChange:xi,getPopupContainer:Zn||Fr}),Wo=So(hs,Cd);Ir.filters=Go,Ir.filterStates=Cd;const te=se.useMemo(()=>{const an={};return Object.keys(Go).forEach(sn=>{Go[sn]!==null&&(an[sn]=Go[sn])}),Object.assign(Object.assign({},Os),{filters:an})},[Os,Go]),[ie]=Dl(te),le=(an,sn)=>{Ao({pagination:Object.assign(Object.assign({},Ir.pagination),{current:an,pageSize:sn})},"paginate")},[fe,ve]=Po(Wo.length,le,Ht);Ir.pagination=Ht===!1?{}:Ui(fe,Ht),Ir.resetPagination=ve;const De=se.useMemo(()=>{if(Ht===!1||!fe.pageSize)return Wo;const{current:an=1,total:sn,pageSize:wa=pi}=fe;return Wo.length<sn?Wo.length>wa?Wo.slice((an-1)*wa,an*wa):Wo:Wo.slice((an-1)*wa,an*wa)},[!!Ht,Wo,fe&&fe.current,fe&&fe.pageSize,fe&&fe.total]),[Ae,Qe]=Tl({prefixCls:jr,data:Wo,pageData:De,getRowKey:po,getRecordByKey:ir,expandType:tr,childrenColumnName:Ja,locale:ta,getPopupContainer:Zn||Fr},Lt),Xe=(an,sn,wa)=>{let na;return typeof on=="function"?na=Ye()(on(an,sn,wa)):na=Ye()(on),Ye()({[`${jr}-row-selected`]:Qe.has(po(an,sn))},na)};ya.__PARENT_RENDER_ICON__=ya.expandIcon,ya.expandIcon=ya.expandIcon||Ra||bc(ta),tr==="nest"&&ya.expandIconColumnIndex===void 0?ya.expandIconColumnIndex=Lt?1:0:ya.expandIconColumnIndex>0&&Lt&&(ya.expandIconColumnIndex-=1),typeof ya.indentSize!="number"&&(ya.indentSize=typeof Dr=="number"?Dr:15);const gt=se.useCallback(an=>ie(Ae(zl(Ml(an)))),[Ml,zl,Ae]);let Yt,mt;if(Ht!==!1&&(fe!=null&&fe.total)){let an;fe.size?an=fe.size:an=Di==="small"||Di==="middle"?"small":void 0;const sn=La=>se.createElement(rd.Z,Object.assign({},fe,{className:Ye()(`${jr}-pagination ${jr}-pagination-${La}`,fe.className),size:an})),wa=Mo==="rtl"?"left":"right",{position:na}=fe;if(na!==null&&Array.isArray(na)){const La=na.find(wr=>wr.includes("top")),ga=na.find(wr=>wr.includes("bottom")),nr=na.every(wr=>`${wr}`=="none");!La&&!ga&&!nr&&(mt=sn(wa)),La&&(Yt=sn(La.toLowerCase().replace("top",""))),ga&&(mt=sn(ga.toLowerCase().replace("bottom","")))}else mt=sn(wa)}let St;typeof la=="boolean"?St={spinning:la}:typeof la=="object"&&(St=Object.assign({spinning:!0},la));const[bt,Nt]=Qs(jr),[,rt]=(0,yc.Z)(),Et=Ye()(`${jr}-wrapper`,mo==null?void 0:mo.className,{[`${jr}-wrapper-rtl`]:Mo==="rtl"},ye,Be,Nt),qt=Object.assign(Object.assign({},mo==null?void 0:mo.style),Oe),Dn=ua&&ua.emptyText||(gi==null?void 0:gi("Table"))||se.createElement(Ks.Z,{componentName:"Table"}),cn=Da?xs:gs,ln={},qn=se.useMemo(()=>{const{fontSize:an,lineHeight:sn,padding:wa,paddingXS:na,paddingSM:La}=rt,ga=Math.floor(an*sn);switch(Di){case"large":return wa*2+ga;case"small":return na*2+ga;default:return La*2+ga}},[rt,Di]);return Da&&(ln.listItemHeight=qn),bt(se.createElement("div",{ref:ue,className:Et,style:qt},se.createElement(Bs.Z,Object.assign({spinning:!1},St),Yt,se.createElement(cn,Object.assign({},ln,Or,{columns:Ha,direction:Mo,expandable:ya,prefixCls:jr,className:Ye()({[`${jr}-middle`]:Di==="middle",[`${jr}-small`]:Di==="small",[`${jr}-bordered`]:at,[`${jr}-empty`]:or.length===0}),data:De,rowKey:po,rowClassName:Xe,emptyText:Dn,internalHooks:me,internalRefs:Ua,transformColumns:gt})),mt)))};var Td=se.forwardRef(bd);const Ps=(de,ue)=>{const he=se.useRef(0);return he.current+=1,se.createElement(Td,Object.assign({},de,{ref:ue,_renderTimes:he.current}))},ns=se.forwardRef(Ps);ns.SELECTION_COLUMN=Gr,ns.EXPAND_COLUMN=ae,ns.SELECTION_ALL=Ii,ns.SELECTION_INVERT=ko,ns.SELECTION_NONE=Gi,ns.Column=Ci,ns.ColumnGroup=ql,ns.Summary=We;var Jl=ns,Xs=Jl},79870:function(ht,wt,ee){"use strict";ee.d(wt,{default:function(){return kr}});var ae=ee(87462),me=ee(4942),Ie=ee(71002),Ze=ee(1413),Me=ee(74902),ze=ee(15671),se=ee(43144),Te=ee(97326),je=ee(60136),He=ee(51630),_e=ee(94184),$e=ee.n(_e),we={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(At){var Jt=At.keyCode;if(At.altKey&&!At.ctrlKey||At.metaKey||Jt>=we.F1&&Jt<=we.F12)return!1;switch(Jt){case we.ALT:case we.CAPS_LOCK:case we.CONTEXT_MENU:case we.CTRL:case we.DOWN:case we.END:case we.ESC:case we.HOME:case we.INSERT:case we.LEFT:case we.MAC_FF_META:case we.META:case we.NUMLOCK:case we.NUM_CENTER:case we.PAGE_DOWN:case we.PAGE_UP:case we.PAUSE:case we.PRINT_SCREEN:case we.RIGHT:case we.SHIFT:case we.UP:case we.WIN_KEY:case we.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(At){if(At>=we.ZERO&&At<=we.NINE||At>=we.NUM_ZERO&&At<=we.NUM_MULTIPLY||At>=we.A&&At<=we.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&At===0)return!0;switch(At){case we.SPACE:case we.QUESTION_MARK:case we.NUM_PLUS:case we.NUM_MINUS:case we.NUM_PERIOD:case we.NUM_DIVISION:case we.SEMICOLON:case we.DASH:case we.EQUALS:case we.COMMA:case we.PERIOD:case we.SLASH:case we.APOSTROPHE:case we.SINGLE_QUOTE:case we.OPEN_SQUARE_BRACKET:case we.BACKSLASH:case we.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},ce=we,y=ee(34952),a=ee(72978),x=ee(67294),b=ee(69610);function E(vt){var At=vt.dropPosition,Jt=vt.dropLevelOffset,Ne=vt.indent,Vt={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(At){case-1:Vt.top=0,Vt.left=-Jt*Ne;break;case 1:Vt.bottom=0,Vt.left=-Jt*Ne;break;case 0:Vt.bottom=0,Vt.left=Ne;break}return x.createElement("div",{style:Vt})}var z=ee(36459),re=ee(97685),oe=ee(45987);function ne(){return!!(typeof window!="undefined"&&window.document&&window.document.createElement)}var ge=ne()?x.useLayoutEffect:x.useEffect,pe=ge,Le=function(At,Jt){var Ne=React.useRef(!0);ge(function(){if(!Ne.current)return At()},Jt),ge(function(){return Ne.current=!1,function(){Ne.current=!0}},[])},be=ee(73299),xe=ee(73935);function Se(vt){return vt instanceof HTMLElement||vt instanceof SVGElement}function ft(vt){return Se(vt)?vt:vt instanceof x.Component?xe.findDOMNode(vt):null}var Ye=ee(28580);function Zt(vt,At,Jt){var Ne=React.useRef({});return(!("value"in Ne.current)||Jt(Ne.current.condition,At))&&(Ne.current.value=vt(),Ne.current.condition=At),Ne.current.value}function qe(vt,At){typeof vt=="function"?vt(At):(0,Ie.Z)(vt)==="object"&&vt&&"current"in vt&&(vt.current=At)}function ct(){for(var vt=arguments.length,At=new Array(vt),Jt=0;Jt<vt;Jt++)At[Jt]=arguments[Jt];var Ne=At.filter(function(Vt){return Vt});return Ne.length<=1?Ne[0]:function(Vt){At.forEach(function(An){qe(An,Vt)})}}function zt(){for(var vt=arguments.length,At=new Array(vt),Jt=0;Jt<vt;Jt++)At[Jt]=arguments[Jt];return useMemo(function(){return ct.apply(void 0,At)},At,function(Ne,Vt){return Ne.length===Vt.length&&Ne.every(function(An,wn){return An===Vt[wn]})})}function en(vt){var At,Jt,Ne=(0,Ye.isMemo)(vt)?vt.type.type:vt.type;return!(typeof Ne=="function"&&!((At=Ne.prototype)!==null&&At!==void 0&&At.render)||typeof vt=="function"&&!((Jt=vt.prototype)!==null&&Jt!==void 0&&Jt.render))}function Mt(vt,At){var Jt={};return Jt[vt.toLowerCase()]=At.toLowerCase(),Jt["Webkit".concat(vt)]="webkit".concat(At),Jt["Moz".concat(vt)]="moz".concat(At),Jt["ms".concat(vt)]="MS".concat(At),Jt["O".concat(vt)]="o".concat(At.toLowerCase()),Jt}function lt(vt,At){var Jt={animationend:Mt("Animation","AnimationEnd"),transitionend:Mt("Transition","TransitionEnd")};return vt&&("AnimationEvent"in At||delete Jt.animationend.animation,"TransitionEvent"in At||delete Jt.transitionend.transition),Jt}var xt=lt(ne(),typeof window!="undefined"?window:{}),nn={};if(ne()){var vn=document.createElement("div");nn=vn.style}var Ue={};function Ct(vt){if(Ue[vt])return Ue[vt];var At=xt[vt];if(At)for(var Jt=Object.keys(At),Ne=Jt.length,Vt=0;Vt<Ne;Vt+=1){var An=Jt[Vt];if(Object.prototype.hasOwnProperty.call(At,An)&&An in nn)return Ue[vt]=At[An],Ue[vt]}return""}var Ft=Ct("animationend"),Rn=Ct("transitionend"),nt=!!(Ft&&Rn),kt=Ft||"animationend",Ce=Rn||"transitionend";function hn(vt,At){if(!vt)return null;if((0,Ie.Z)(vt)==="object"){var Jt=At.replace(/-\w/g,function(Ne){return Ne[1].toUpperCase()});return vt[Jt]}return"".concat(vt,"-").concat(At)}var zn="none",ba="appear",Yn="enter",Rt="leave",Ge="none",Fe="prepare",pt="start",Gt="active",_t="end";function Pn(vt){var At=x.useRef(!1),Jt=x.useState(vt),Ne=(0,re.Z)(Jt,2),Vt=Ne[0],An=Ne[1];x.useEffect(function(){return At.current=!1,function(){At.current=!0}},[]);function wn(Pt,Kt){Kt&&At.current||An(Pt)}return[Vt,wn]}var Qn=function(At){return+setTimeout(At,16)},Gn=function(At){return clearTimeout(At)};typeof window!="undefined"&&"requestAnimationFrame"in window&&(Qn=function(At){return window.requestAnimationFrame(At)},Gn=function(At){return window.cancelAnimationFrame(At)});var Hn=0,Ca=new Map;function Ee(vt){Ca.delete(vt)}var Ke=function(At){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Hn+=1;var Ne=Hn;function Vt(An){if(An===0)Ee(Ne),At();else{var wn=Qn(function(){Vt(An-1)});Ca.set(Ne,wn)}}return Vt(Jt),Ne};Ke.cancel=function(vt){var At=Ca.get(vt);return Ee(At),Gn(At)};var Nn=Ke,Kn=function(){var vt=x.useRef(null);function At(){Nn.cancel(vt.current)}function Jt(Ne){var Vt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2;At();var An=Nn(function(){Vt<=1?Ne({isCanceled:function(){return An!==vt.current}}):Jt(Ne,Vt-1)});vt.current=An}return x.useEffect(function(){return function(){At()}},[]),[Jt,At]},st=ne()?x.useLayoutEffect:x.useEffect,tn=st,We=[Fe,pt,Gt,_t],ut=!1,Bt=!0;function Wt(vt){return vt===Gt||vt===_t}var Ot=function(vt,At){var Jt=Pn(Ge),Ne=(0,re.Z)(Jt,2),Vt=Ne[0],An=Ne[1],wn=Kn(),Pt=(0,re.Z)(wn,2),Kt=Pt[0],It=Pt[1];function kn(){An(Fe,!0)}return tn(function(){if(Vt!==Ge&&Vt!==_t){var sa=We.indexOf(Vt),xa=We[sa+1],ha=At(Vt);ha===ut?An(xa,!0):Kt(function(Ia){function rr(){Ia.isCanceled()||An(xa,!0)}ha===!0?rr():Promise.resolve(ha).then(rr)})}},[vt,Vt]),x.useEffect(function(){return function(){It()}},[]),[kn,Vt]},yn=function(vt){var At=(0,x.useRef)(),Jt=(0,x.useRef)(vt);Jt.current=vt;var Ne=x.useCallback(function(wn){Jt.current(wn)},[]);function Vt(wn){wn&&(wn.removeEventListener(Ce,Ne),wn.removeEventListener(kt,Ne))}function An(wn){At.current&&At.current!==wn&&Vt(At.current),wn&&wn!==At.current&&(wn.addEventListener(Ce,Ne),wn.addEventListener(kt,Ne),At.current=wn)}return x.useEffect(function(){return function(){Vt(At.current)}},[]),[An,Vt]};function aa(vt,At,Jt,Ne){var Vt=Ne.motionEnter,An=Vt===void 0?!0:Vt,wn=Ne.motionAppear,Pt=wn===void 0?!0:wn,Kt=Ne.motionLeave,It=Kt===void 0?!0:Kt,kn=Ne.motionDeadline,sa=Ne.motionLeaveImmediately,xa=Ne.onAppearPrepare,ha=Ne.onEnterPrepare,Ia=Ne.onLeavePrepare,rr=Ne.onAppearStart,xn=Ne.onEnterStart,Dt=Ne.onLeaveStart,pn=Ne.onAppearActive,Cn=Ne.onEnterActive,oa=Ne.onLeaveActive,Fa=Ne.onAppearEnd,Xa=Ne.onEnterEnd,yr=Ne.onLeaveEnd,sr=Ne.onVisibleChanged,_n=Pn(),Pa=(0,re.Z)(_n,2),pa=Pa[0],Za=Pa[1],dr=Pn(zn),Hr=(0,re.Z)(dr,2),ro=Hr[0],Eo=Hr[1],wo=Pn(null),Lo=(0,re.Z)(wo,2),Oi=Lo[0],xl=Lo[1],Wl=(0,x.useRef)(!1),Rl=(0,x.useRef)(null);function Sl(){return Jt()}var Li=(0,x.useRef)(!1);function is(bi){var Ai=Sl();if(!(bi&&!bi.deadline&&bi.target!==Ai)){var il=Li.current,Ds;ro===ba&&il?Ds=Fa==null?void 0:Fa(Ai,bi):ro===Yn&&il?Ds=Xa==null?void 0:Xa(Ai,bi):ro===Rt&&il&&(Ds=yr==null?void 0:yr(Ai,bi)),ro!==zn&&il&&Ds!==!1&&(Eo(zn,!0),xl(null,!0))}}var Ul=yn(is),ls=(0,re.Z)(Ul,1),zs=ls[0],kl=x.useMemo(function(){var bi,Ai,il;switch(ro){case ba:return bi={},(0,me.Z)(bi,Fe,xa),(0,me.Z)(bi,pt,rr),(0,me.Z)(bi,Gt,pn),bi;case Yn:return Ai={},(0,me.Z)(Ai,Fe,ha),(0,me.Z)(Ai,pt,xn),(0,me.Z)(Ai,Gt,Cn),Ai;case Rt:return il={},(0,me.Z)(il,Fe,Ia),(0,me.Z)(il,pt,Dt),(0,me.Z)(il,Gt,oa),il;default:return{}}},[ro]),Hs=Ot(ro,function(bi){if(bi===Fe){var Ai=kl[Fe];return Ai?Ai(Sl()):ut}if(Ol in kl){var il;xl(((il=kl[Ol])===null||il===void 0?void 0:il.call(kl,Sl(),null))||null)}return Ol===Gt&&(zs(Sl()),kn>0&&(clearTimeout(Rl.current),Rl.current=setTimeout(function(){is({deadline:!0})},kn))),Bt}),Vl=(0,re.Z)(Hs,2),Dd=Vl[0],Ol=Vl[1],Gs=Wt(Ol);Li.current=Gs,tn(function(){Za(At);var bi=Wl.current;if(Wl.current=!0,!!vt){var Ai;!bi&&At&&Pt&&(Ai=ba),bi&&At&&An&&(Ai=Yn),(bi&&!At&&It||!bi&&sa&&!At&&It)&&(Ai=Rt),Ai&&(Eo(Ai),Dd())}},[At]),(0,x.useEffect)(function(){(ro===ba&&!Pt||ro===Yn&&!An||ro===Rt&&!It)&&Eo(zn)},[Pt,An,It]),(0,x.useEffect)(function(){return function(){Wl.current=!1,clearTimeout(Rl.current)}},[]);var ps=x.useRef(!1);(0,x.useEffect)(function(){pa&&(ps.current=!0),pa!==void 0&&ro===zn&&((ps.current||pa)&&(sr==null||sr(pa)),ps.current=!0)},[pa,ro]);var ad=Oi;return kl[Fe]&&Ol===pt&&(ad=(0,Ze.Z)({transition:"none"},ad)),[ro,Ol,ad,pa!=null?pa:At]}var Vn=function(vt){(0,je.Z)(Jt,vt);var At=(0,He.Z)(Jt);function Jt(){return(0,ze.Z)(this,Jt),At.apply(this,arguments)}return(0,se.Z)(Jt,[{key:"render",value:function(){return this.props.children}}]),Jt}(x.Component),jn=Vn;function Ga(vt){var At=vt;(0,Ie.Z)(vt)==="object"&&(At=vt.transitionSupport);function Jt(Vt){return!!(Vt.motionName&&At)}var Ne=x.forwardRef(function(Vt,An){var wn=Vt.visible,Pt=wn===void 0?!0:wn,Kt=Vt.removeOnLeave,It=Kt===void 0?!0:Kt,kn=Vt.forceRender,sa=Vt.children,xa=Vt.motionName,ha=Vt.leavedClassName,Ia=Vt.eventProps,rr=Jt(Vt),xn=(0,x.useRef)(),Dt=(0,x.useRef)();function pn(){try{return xn.current instanceof HTMLElement?xn.current:ft(Dt.current)}catch(wo){return null}}var Cn=aa(rr,Pt,pn,Vt),oa=(0,re.Z)(Cn,4),Fa=oa[0],Xa=oa[1],yr=oa[2],sr=oa[3],_n=x.useRef(sr);sr&&(_n.current=!0);var Pa=x.useCallback(function(wo){xn.current=wo,qe(An,wo)},[An]),pa,Za=(0,Ze.Z)((0,Ze.Z)({},Ia),{},{visible:Pt});if(!sa)pa=null;else if(Fa===zn||!Jt(Vt))sr?pa=sa((0,Ze.Z)({},Za),Pa):!It&&_n.current&&ha?pa=sa((0,Ze.Z)((0,Ze.Z)({},Za),{},{className:ha}),Pa):kn||!It&&!ha?pa=sa((0,Ze.Z)((0,Ze.Z)({},Za),{},{style:{display:"none"}}),Pa):pa=null;else{var dr,Hr;Xa===Fe?Hr="prepare":Wt(Xa)?Hr="active":Xa===pt&&(Hr="start"),pa=sa((0,Ze.Z)((0,Ze.Z)({},Za),{},{className:$e()(hn(xa,Fa),(dr={},(0,me.Z)(dr,hn(xa,"".concat(Fa,"-").concat(Hr)),Hr),(0,me.Z)(dr,xa,typeof xa=="string"),dr)),style:yr}),Pa)}if(x.isValidElement(pa)&&en(pa)){var ro=pa,Eo=ro.ref;Eo||(pa=x.cloneElement(pa,{ref:Pa}))}return x.createElement(jn,{ref:Dt},pa)});return Ne.displayName="CSSMotion",Ne}var ra=Ga(nt),Ka="add",Pr="keep",Tr="remove",Xr="removed";function Rr(vt){var At;return vt&&(0,Ie.Z)(vt)==="object"&&"key"in vt?At=vt:At={key:vt},(0,Ze.Z)((0,Ze.Z)({},At),{},{key:String(At.key)})}function Mr(){var vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return vt.map(Rr)}function to(){var vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Jt=[],Ne=0,Vt=At.length,An=Mr(vt),wn=Mr(At);An.forEach(function(It){for(var kn=!1,sa=Ne;sa<Vt;sa+=1){var xa=wn[sa];if(xa.key===It.key){Ne<sa&&(Jt=Jt.concat(wn.slice(Ne,sa).map(function(ha){return(0,Ze.Z)((0,Ze.Z)({},ha),{},{status:Ka})})),Ne=sa),Jt.push((0,Ze.Z)((0,Ze.Z)({},xa),{},{status:Pr})),Ne+=1,kn=!0;break}}kn||Jt.push((0,Ze.Z)((0,Ze.Z)({},It),{},{status:Tr}))}),Ne<Vt&&(Jt=Jt.concat(wn.slice(Ne).map(function(It){return(0,Ze.Z)((0,Ze.Z)({},It),{},{status:Ka})})));var Pt={};Jt.forEach(function(It){var kn=It.key;Pt[kn]=(Pt[kn]||0)+1});var Kt=Object.keys(Pt).filter(function(It){return Pt[It]>1});return Kt.forEach(function(It){Jt=Jt.filter(function(kn){var sa=kn.key,xa=kn.status;return sa!==It||xa!==Tr}),Jt.forEach(function(kn){kn.key===It&&(kn.status=Pr)})}),Jt}var lo=["component","children","onVisibleChanged","onAllRemoved"],gr=["status"],Sn=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];function In(vt){var At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ra,Jt=function(Ne){(0,je.Z)(An,Ne);var Vt=(0,He.Z)(An);function An(){var wn;(0,ze.Z)(this,An);for(var Pt=arguments.length,Kt=new Array(Pt),It=0;It<Pt;It++)Kt[It]=arguments[It];return wn=Vt.call.apply(Vt,[this].concat(Kt)),(0,me.Z)((0,Te.Z)(wn),"state",{keyEntities:[]}),(0,me.Z)((0,Te.Z)(wn),"removeKey",function(kn){var sa=wn.state.keyEntities,xa=sa.map(function(ha){return ha.key!==kn?ha:(0,Ze.Z)((0,Ze.Z)({},ha),{},{status:Xr})});return wn.setState({keyEntities:xa}),xa.filter(function(ha){var Ia=ha.status;return Ia!==Xr}).length}),wn}return(0,se.Z)(An,[{key:"render",value:function(){var Pt=this,Kt=this.state.keyEntities,It=this.props,kn=It.component,sa=It.children,xa=It.onVisibleChanged,ha=It.onAllRemoved,Ia=(0,oe.Z)(It,lo),rr=kn||x.Fragment,xn={};return Sn.forEach(function(Dt){xn[Dt]=Ia[Dt],delete Ia[Dt]}),delete Ia.keys,x.createElement(rr,Ia,Kt.map(function(Dt){var pn=Dt.status,Cn=(0,oe.Z)(Dt,gr),oa=pn===Ka||pn===Pr;return x.createElement(At,(0,ae.Z)({},xn,{key:Cn.key,visible:oa,eventProps:Cn,onVisibleChanged:function(Xa){if(xa==null||xa(Xa,{key:Cn.key}),!Xa){var yr=Pt.removeKey(Cn.key);yr===0&&ha&&ha()}}}),sa)}))}}],[{key:"getDerivedStateFromProps",value:function(Pt,Kt){var It=Pt.keys,kn=Kt.keyEntities,sa=Mr(It),xa=to(kn,sa);return{keyEntities:xa.filter(function(ha){var Ia=kn.find(function(rr){var xn=rr.key;return ha.key===xn});return!(Ia&&Ia.status===Xr&&ha.status===Tr)})}}}]),An}(x.Component);return(0,me.Z)(Jt,"defaultProps",{component:"div"}),Jt}var En=In(nt),Ln=ra,Oa=ee(56261);function Ar(vt,At){var Jt=x.useState(!1),Ne=(0,re.Z)(Jt,2),Vt=Ne[0],An=Ne[1];x.useLayoutEffect(function(){if(Vt)return vt(),function(){At()}},[Vt]),x.useLayoutEffect(function(){return An(!0),function(){An(!1)}},[])}var Tn=ee(83898),et=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],dt=function(At,Jt){var Ne=At.className,Vt=At.style,An=At.motion,wn=At.motionNodes,Pt=At.motionType,Kt=At.onMotionStart,It=At.onMotionEnd,kn=At.active,sa=At.treeNodeRequiredProps,xa=(0,oe.Z)(At,et),ha=x.useState(!0),Ia=(0,re.Z)(ha,2),rr=Ia[0],xn=Ia[1],Dt=x.useContext(b.k),pn=Dt.prefixCls,Cn=wn&&Pt!=="hide";pe(function(){wn&&Cn!==rr&&xn(Cn)},[wn]);var oa=function(){wn&&Kt()},Fa=x.useRef(!1),Xa=function(){wn&&!Fa.current&&(Fa.current=!0,It())};Ar(oa,Xa);var yr=function(_n){Cn===_n&&Xa()};return wn?x.createElement(Ln,(0,ae.Z)({ref:Jt,visible:rr},An,{motionAppear:Pt==="show",onVisibleChanged:yr}),function(sr,_n){var Pa=sr.className,pa=sr.style;return x.createElement("div",{ref:_n,className:$e()("".concat(pn,"-treenode-motion"),Pa),style:pa},wn.map(function(Za){var dr=(0,ae.Z)({},((0,z.Z)(Za.data),Za.data)),Hr=Za.title,ro=Za.key,Eo=Za.isStart,wo=Za.isEnd;delete dr.children;var Lo=(0,Tn.H8)(ro,sa);return x.createElement(Oa.Z,(0,ae.Z)({},dr,Lo,{title:Hr,active:kn,data:Za.data,key:ro,isStart:Eo,isEnd:wo}))}))}):x.createElement(Oa.Z,(0,ae.Z)({domRef:Jt,className:Ne,style:Vt},xa,{active:kn}))};dt.displayName="MotionTreeNode";var Ve=x.forwardRef(dt),jt=Ve;function bn(){var vt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],At=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],Jt=vt.length,Ne=At.length;if(Math.abs(Jt-Ne)!==1)return{add:!1,key:null};function Vt(An,wn){var Pt=new Map;An.forEach(function(It){Pt.set(It,!0)});var Kt=wn.filter(function(It){return!Pt.has(It)});return Kt.length===1?Kt[0]:null}return Jt<Ne?{add:!0,key:Vt(vt,At)}:{add:!1,key:Vt(At,vt)}}function Jn(vt,At,Jt){var Ne=vt.findIndex(function(Pt){return Pt.key===Jt}),Vt=vt[Ne+1],An=At.findIndex(function(Pt){return Pt.key===Jt});if(Vt){var wn=At.findIndex(function(Pt){return Pt.key===Vt.key});return At.slice(An+1,wn)}return At.slice(An+1)}var ja=["prefixCls","data","selectable","checkable","expandedKeys","selectedKeys","checkedKeys","loadedKeys","loadingKeys","halfCheckedKeys","keyEntities","disabled","dragging","dragOverNodeKey","dropPosition","motion","height","itemHeight","virtual","focusable","activeItem","focused","tabIndex","onKeyDown","onFocus","onBlur","onActiveChange","onListChangeStart","onListChangeEnd"],ca={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},Wn=function(){},Ba="RC_TREE_MOTION_".concat(Math.random()),ho={key:Ba},Mn={key:Ba,level:0,index:0,pos:"0",node:ho,nodes:[ho]},no={parent:null,children:[],pos:Mn.pos,data:ho,title:null,key:Ba,isStart:[],isEnd:[]};function ot(vt,At,Jt,Ne){return At===!1||!Jt?vt:vt.slice(0,Math.ceil(Jt/Ne)+1)}function Xt(vt){var At=vt.key,Jt=vt.pos;return(0,Tn.km)(At,Jt)}function $t(vt){for(var At=String(vt.data.key),Jt=vt;Jt.parent;)Jt=Jt.parent,At="".concat(Jt.data.key," > ").concat(At);return At}var Qt=x.forwardRef(function(vt,At){var Jt=vt.prefixCls,Ne=vt.data,Vt=vt.selectable,An=vt.checkable,wn=vt.expandedKeys,Pt=vt.selectedKeys,Kt=vt.checkedKeys,It=vt.loadedKeys,kn=vt.loadingKeys,sa=vt.halfCheckedKeys,xa=vt.keyEntities,ha=vt.disabled,Ia=vt.dragging,rr=vt.dragOverNodeKey,xn=vt.dropPosition,Dt=vt.motion,pn=vt.height,Cn=vt.itemHeight,oa=vt.virtual,Fa=vt.focusable,Xa=vt.activeItem,yr=vt.focused,sr=vt.tabIndex,_n=vt.onKeyDown,Pa=vt.onFocus,pa=vt.onBlur,Za=vt.onActiveChange,dr=vt.onListChangeStart,Hr=vt.onListChangeEnd,ro=(0,oe.Z)(vt,ja),Eo=x.useRef(null),wo=x.useRef(null);x.useImperativeHandle(At,function(){return{scrollTo:function(ss){Eo.current.scrollTo(ss)},getIndentWidth:function(){return wo.current.offsetWidth}}});var Lo=x.useState(wn),Oi=(0,re.Z)(Lo,2),xl=Oi[0],Wl=Oi[1],Rl=x.useState(Ne),Sl=(0,re.Z)(Rl,2),Li=Sl[0],is=Sl[1],Ul=x.useState(Ne),ls=(0,re.Z)(Ul,2),zs=ls[0],kl=ls[1],Hs=x.useState([]),Vl=(0,re.Z)(Hs,2),Dd=Vl[0],Ol=Vl[1],Gs=x.useState(null),ps=(0,re.Z)(Gs,2),ad=ps[0],bi=ps[1],Ai=x.useRef(Ne);Ai.current=Ne;function il(){var Ci=Ai.current;is(Ci),kl(Ci),Ol([]),bi(null),Hr()}pe(function(){Wl(wn);var Ci=bn(xl,wn);if(Ci.key!==null)if(Ci.add){var ss=Li.findIndex(function(Ms){var js=Ms.key;return js===Ci.key}),ql=ot(Jn(Li,Ne,Ci.key),oa,pn,Cn),Nr=Li.slice();Nr.splice(ss+1,0,no),kl(Nr),Ol(ql),bi("show")}else{var ds=Ne.findIndex(function(Ms){var js=Ms.key;return js===Ci.key}),cs=ot(Jn(Ne,Li,Ci.key),oa,pn,Cn),Ks=Ne.slice();Ks.splice(ds+1,0,no),kl(Ks),Ol(cs),bi("hide")}else Li!==Ne&&(is(Ne),kl(Ne))},[wn,Ne]),x.useEffect(function(){Ia||il()},[Ia]);var Ds=Dt?zs:Ne,Md={expandedKeys:wn,selectedKeys:Pt,loadedKeys:It,loadingKeys:kn,checkedKeys:Kt,halfCheckedKeys:sa,dragOverNodeKey:rr,dropPosition:xn,keyEntities:xa};return x.createElement(x.Fragment,null,yr&&Xa&&x.createElement("span",{style:ca,"aria-live":"assertive"},$t(Xa)),x.createElement("div",null,x.createElement("input",{style:ca,disabled:Fa===!1||ha,tabIndex:Fa!==!1?sr:null,onKeyDown:_n,onFocus:Pa,onBlur:pa,value:"",onChange:Wn,"aria-label":"for screen reader"})),x.createElement("div",{className:"".concat(Jt,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},x.createElement("div",{className:"".concat(Jt,"-indent")},x.createElement("div",{ref:wo,className:"".concat(Jt,"-indent-unit")}))),x.createElement(be.Z,(0,ae.Z)({},ro,{data:Ds,itemKey:Xt,height:pn,fullHeight:!1,virtual:oa,itemHeight:Cn,prefixCls:"".concat(Jt,"-list"),ref:Eo,onVisibleChange:function(ss,ql){var Nr=new Set(ss),ds=ql.filter(function(cs){return!Nr.has(cs)});ds.some(function(cs){return Xt(cs)===Ba})&&il()}}),function(Ci){var ss=Ci.pos,ql=(0,ae.Z)({},((0,z.Z)(Ci.data),Ci.data)),Nr=Ci.title,ds=Ci.key,cs=Ci.isStart,Ks=Ci.isEnd,Ms=(0,Tn.km)(ds,ss);delete ql.key,delete ql.children;var js=(0,Tn.H8)(Ms,Md);return x.createElement(jt,(0,ae.Z)({},ql,js,{title:Nr,active:!!Xa&&ds===Xa.key,pos:ss,data:Ci.data,isStart:cs,isEnd:Ks,motion:Dt,motionNodes:ds===Ba?Dd:null,motionType:ad,onMotionStart:dr,onMotionEnd:il,treeNodeRequiredProps:Md,onMouseMove:function(){Za(null)}}))}))});Qt.displayName="NodeList";var $n=Qt,Ut=ee(29873),Bn=ee(97153),dn=ee(3596),$a=10,Aa=function(vt){(0,je.Z)(Jt,vt);var At=(0,He.Z)(Jt);function Jt(){var Ne;(0,ze.Z)(this,Jt);for(var Vt=arguments.length,An=new Array(Vt),wn=0;wn<Vt;wn++)An[wn]=arguments[wn];return Ne=At.call.apply(At,[this].concat(An)),Ne.destroyed=!1,Ne.delayedDragEnterLogic=void 0,Ne.loadingRetryTimes={},Ne.state={keyEntities:{},indent:null,selectedKeys:[],checkedKeys:[],halfCheckedKeys:[],loadedKeys:[],loadingKeys:[],expandedKeys:[],draggingNodeKey:null,dragChildrenKeys:[],dropTargetKey:null,dropPosition:null,dropContainerKey:null,dropLevelOffset:null,dropTargetPos:null,dropAllowed:!0,dragOverNodeKey:null,treeData:[],flattenNodes:[],focused:!1,activeKey:null,listChanging:!1,prevProps:null,fieldNames:(0,Tn.w$)()},Ne.dragStartMousePosition=null,Ne.dragNode=void 0,Ne.currentMouseOverDroppableNodeKey=null,Ne.listRef=x.createRef(),Ne.onNodeDragStart=function(Pt,Kt){var It=Ne.state,kn=It.expandedKeys,sa=It.keyEntities,xa=Ne.props.onDragStart,ha=Kt.props.eventKey;Ne.dragNode=Kt,Ne.dragStartMousePosition={x:Pt.clientX,y:Pt.clientY};var Ia=(0,Ut._5)(kn,ha);Ne.setState({draggingNodeKey:ha,dragChildrenKeys:(0,Ut.wA)(ha,sa),indent:Ne.listRef.current.getIndentWidth()}),Ne.setExpandedKeys(Ia),window.addEventListener("dragend",Ne.onWindowDragEnd),xa==null||xa({event:Pt,node:(0,Tn.F)(Kt.props)})},Ne.onNodeDragEnter=function(Pt,Kt){var It=Ne.state,kn=It.expandedKeys,sa=It.keyEntities,xa=It.dragChildrenKeys,ha=It.flattenNodes,Ia=It.indent,rr=Ne.props,xn=rr.onDragEnter,Dt=rr.onExpand,pn=rr.allowDrop,Cn=rr.direction,oa=Kt.props,Fa=oa.pos,Xa=oa.eventKey,yr=(0,Te.Z)(Ne),sr=yr.dragNode;if(Ne.currentMouseOverDroppableNodeKey!==Xa&&(Ne.currentMouseOverDroppableNodeKey=Xa),!sr){Ne.resetDragState();return}var _n=(0,Ut.OM)(Pt,sr,Kt,Ia,Ne.dragStartMousePosition,pn,ha,sa,kn,Cn),Pa=_n.dropPosition,pa=_n.dropLevelOffset,Za=_n.dropTargetKey,dr=_n.dropContainerKey,Hr=_n.dropTargetPos,ro=_n.dropAllowed,Eo=_n.dragOverNodeKey;if(xa.indexOf(Za)!==-1||!ro){Ne.resetDragState();return}if(Ne.delayedDragEnterLogic||(Ne.delayedDragEnterLogic={}),Object.keys(Ne.delayedDragEnterLogic).forEach(function(wo){clearTimeout(Ne.delayedDragEnterLogic[wo])}),sr.props.eventKey!==Kt.props.eventKey&&(Pt.persist(),Ne.delayedDragEnterLogic[Fa]=window.setTimeout(function(){if(Ne.state.draggingNodeKey!==null){var wo=(0,Me.Z)(kn),Lo=(0,dn.Z)(sa,Kt.props.eventKey);Lo&&(Lo.children||[]).length&&(wo=(0,Ut.L0)(kn,Kt.props.eventKey)),"expandedKeys"in Ne.props||Ne.setExpandedKeys(wo),Dt==null||Dt(wo,{node:(0,Tn.F)(Kt.props),expanded:!0,nativeEvent:Pt.nativeEvent})}},800)),sr.props.eventKey===Za&&pa===0){Ne.resetDragState();return}Ne.setState({dragOverNodeKey:Eo,dropPosition:Pa,dropLevelOffset:pa,dropTargetKey:Za,dropContainerKey:dr,dropTargetPos:Hr,dropAllowed:ro}),xn==null||xn({event:Pt,node:(0,Tn.F)(Kt.props),expandedKeys:kn})},Ne.onNodeDragOver=function(Pt,Kt){var It=Ne.state,kn=It.dragChildrenKeys,sa=It.flattenNodes,xa=It.keyEntities,ha=It.expandedKeys,Ia=It.indent,rr=Ne.props,xn=rr.onDragOver,Dt=rr.allowDrop,pn=rr.direction,Cn=(0,Te.Z)(Ne),oa=Cn.dragNode;if(oa){var Fa=(0,Ut.OM)(Pt,oa,Kt,Ia,Ne.dragStartMousePosition,Dt,sa,xa,ha,pn),Xa=Fa.dropPosition,yr=Fa.dropLevelOffset,sr=Fa.dropTargetKey,_n=Fa.dropContainerKey,Pa=Fa.dropAllowed,pa=Fa.dropTargetPos,Za=Fa.dragOverNodeKey;kn.indexOf(sr)!==-1||!Pa||(oa.props.eventKey===sr&&yr===0?Ne.state.dropPosition===null&&Ne.state.dropLevelOffset===null&&Ne.state.dropTargetKey===null&&Ne.state.dropContainerKey===null&&Ne.state.dropTargetPos===null&&Ne.state.dropAllowed===!1&&Ne.state.dragOverNodeKey===null||Ne.resetDragState():Xa===Ne.state.dropPosition&&yr===Ne.state.dropLevelOffset&&sr===Ne.state.dropTargetKey&&_n===Ne.state.dropContainerKey&&pa===Ne.state.dropTargetPos&&Pa===Ne.state.dropAllowed&&Za===Ne.state.dragOverNodeKey||Ne.setState({dropPosition:Xa,dropLevelOffset:yr,dropTargetKey:sr,dropContainerKey:_n,dropTargetPos:pa,dropAllowed:Pa,dragOverNodeKey:Za}),xn==null||xn({event:Pt,node:(0,Tn.F)(Kt.props)}))}},Ne.onNodeDragLeave=function(Pt,Kt){Ne.currentMouseOverDroppableNodeKey===Kt.props.eventKey&&!Pt.currentTarget.contains(Pt.relatedTarget)&&(Ne.resetDragState(),Ne.currentMouseOverDroppableNodeKey=null);var It=Ne.props.onDragLeave;It==null||It({event:Pt,node:(0,Tn.F)(Kt.props)})},Ne.onWindowDragEnd=function(Pt){Ne.onNodeDragEnd(Pt,null,!0),window.removeEventListener("dragend",Ne.onWindowDragEnd)},Ne.onNodeDragEnd=function(Pt,Kt){var It=Ne.props.onDragEnd;Ne.setState({dragOverNodeKey:null}),Ne.cleanDragState(),It==null||It({event:Pt,node:(0,Tn.F)(Kt.props)}),Ne.dragNode=null,window.removeEventListener("dragend",Ne.onWindowDragEnd)},Ne.onNodeDrop=function(Pt,Kt){var It,kn=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,sa=Ne.state,xa=sa.dragChildrenKeys,ha=sa.dropPosition,Ia=sa.dropTargetKey,rr=sa.dropTargetPos,xn=sa.dropAllowed;if(xn){var Dt=Ne.props.onDrop;if(Ne.setState({dragOverNodeKey:null}),Ne.cleanDragState(),Ia!==null){var pn=(0,Ze.Z)((0,Ze.Z)({},(0,Tn.H8)(Ia,Ne.getTreeNodeRequiredProps())),{},{active:((It=Ne.getActiveItem())===null||It===void 0?void 0:It.key)===Ia,data:(0,dn.Z)(Ne.state.keyEntities,Ia).node}),Cn=xa.indexOf(Ia)!==-1;(0,a.ZP)(!Cn,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var oa=(0,Ut.yx)(rr),Fa={event:Pt,node:(0,Tn.F)(pn),dragNode:Ne.dragNode?(0,Tn.F)(Ne.dragNode.props):null,dragNodesKeys:[Ne.dragNode.props.eventKey].concat(xa),dropToGap:ha!==0,dropPosition:ha+Number(oa[oa.length-1])};kn||Dt==null||Dt(Fa),Ne.dragNode=null}}},Ne.cleanDragState=function(){var Pt=Ne.state.draggingNodeKey;Pt!==null&&Ne.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),Ne.dragStartMousePosition=null,Ne.currentMouseOverDroppableNodeKey=null},Ne.triggerExpandActionExpand=function(Pt,Kt){var It=Ne.state,kn=It.expandedKeys,sa=It.flattenNodes,xa=Kt.expanded,ha=Kt.key,Ia=Kt.isLeaf;if(!(Ia||Pt.shiftKey||Pt.metaKey||Pt.ctrlKey)){var rr=sa.filter(function(Dt){return Dt.key===ha})[0],xn=(0,Tn.F)((0,Ze.Z)((0,Ze.Z)({},(0,Tn.H8)(ha,Ne.getTreeNodeRequiredProps())),{},{data:rr.data}));Ne.setExpandedKeys(xa?(0,Ut._5)(kn,ha):(0,Ut.L0)(kn,ha)),Ne.onNodeExpand(Pt,xn)}},Ne.onNodeClick=function(Pt,Kt){var It=Ne.props,kn=It.onClick,sa=It.expandAction;sa==="click"&&Ne.triggerExpandActionExpand(Pt,Kt),kn==null||kn(Pt,Kt)},Ne.onNodeDoubleClick=function(Pt,Kt){var It=Ne.props,kn=It.onDoubleClick,sa=It.expandAction;sa==="doubleClick"&&Ne.triggerExpandActionExpand(Pt,Kt),kn==null||kn(Pt,Kt)},Ne.onNodeSelect=function(Pt,Kt){var It=Ne.state.selectedKeys,kn=Ne.state,sa=kn.keyEntities,xa=kn.fieldNames,ha=Ne.props,Ia=ha.onSelect,rr=ha.multiple,xn=Kt.selected,Dt=Kt[xa.key],pn=!xn;pn?rr?It=(0,Ut.L0)(It,Dt):It=[Dt]:It=(0,Ut._5)(It,Dt);var Cn=It.map(function(oa){var Fa=(0,dn.Z)(sa,oa);return Fa?Fa.node:null}).filter(function(oa){return oa});Ne.setUncontrolledState({selectedKeys:It}),Ia==null||Ia(It,{event:"select",selected:pn,node:Kt,selectedNodes:Cn,nativeEvent:Pt.nativeEvent})},Ne.onNodeCheck=function(Pt,Kt,It){var kn=Ne.state,sa=kn.keyEntities,xa=kn.checkedKeys,ha=kn.halfCheckedKeys,Ia=Ne.props,rr=Ia.checkStrictly,xn=Ia.onCheck,Dt=Kt.key,pn,Cn={event:"check",node:Kt,checked:It,nativeEvent:Pt.nativeEvent};if(rr){var oa=It?(0,Ut.L0)(xa,Dt):(0,Ut._5)(xa,Dt),Fa=(0,Ut._5)(ha,Dt);pn={checked:oa,halfChecked:Fa},Cn.checkedNodes=oa.map(function(pa){return(0,dn.Z)(sa,pa)}).filter(function(pa){return pa}).map(function(pa){return pa.node}),Ne.setUncontrolledState({checkedKeys:oa})}else{var Xa=(0,Bn.S)([].concat((0,Me.Z)(xa),[Dt]),!0,sa),yr=Xa.checkedKeys,sr=Xa.halfCheckedKeys;if(!It){var _n=new Set(yr);_n.delete(Dt);var Pa=(0,Bn.S)(Array.from(_n),{checked:!1,halfCheckedKeys:sr},sa);yr=Pa.checkedKeys,sr=Pa.halfCheckedKeys}pn=yr,Cn.checkedNodes=[],Cn.checkedNodesPositions=[],Cn.halfCheckedKeys=sr,yr.forEach(function(pa){var Za=(0,dn.Z)(sa,pa);if(Za){var dr=Za.node,Hr=Za.pos;Cn.checkedNodes.push(dr),Cn.checkedNodesPositions.push({node:dr,pos:Hr})}}),Ne.setUncontrolledState({checkedKeys:yr},!1,{halfCheckedKeys:sr})}xn==null||xn(pn,Cn)},Ne.onNodeLoad=function(Pt){var Kt=Pt.key,It=new Promise(function(kn,sa){Ne.setState(function(xa){var ha=xa.loadedKeys,Ia=ha===void 0?[]:ha,rr=xa.loadingKeys,xn=rr===void 0?[]:rr,Dt=Ne.props,pn=Dt.loadData,Cn=Dt.onLoad;if(!pn||Ia.indexOf(Kt)!==-1||xn.indexOf(Kt)!==-1)return null;var oa=pn(Pt);return oa.then(function(){var Fa=Ne.state.loadedKeys,Xa=(0,Ut.L0)(Fa,Kt);Cn==null||Cn(Xa,{event:"load",node:Pt}),Ne.setUncontrolledState({loadedKeys:Xa}),Ne.setState(function(yr){return{loadingKeys:(0,Ut._5)(yr.loadingKeys,Kt)}}),kn()}).catch(function(Fa){if(Ne.setState(function(yr){return{loadingKeys:(0,Ut._5)(yr.loadingKeys,Kt)}}),Ne.loadingRetryTimes[Kt]=(Ne.loadingRetryTimes[Kt]||0)+1,Ne.loadingRetryTimes[Kt]>=$a){var Xa=Ne.state.loadedKeys;(0,a.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),Ne.setUncontrolledState({loadedKeys:(0,Ut.L0)(Xa,Kt)}),kn()}sa(Fa)}),{loadingKeys:(0,Ut.L0)(xn,Kt)}})});return It.catch(function(){}),It},Ne.onNodeMouseEnter=function(Pt,Kt){var It=Ne.props.onMouseEnter;It==null||It({event:Pt,node:Kt})},Ne.onNodeMouseLeave=function(Pt,Kt){var It=Ne.props.onMouseLeave;It==null||It({event:Pt,node:Kt})},Ne.onNodeContextMenu=function(Pt,Kt){var It=Ne.props.onRightClick;It&&(Pt.preventDefault(),It({event:Pt,node:Kt}))},Ne.onFocus=function(){var Pt=Ne.props.onFocus;Ne.setState({focused:!0});for(var Kt=arguments.length,It=new Array(Kt),kn=0;kn<Kt;kn++)It[kn]=arguments[kn];Pt==null||Pt.apply(void 0,It)},Ne.onBlur=function(){var Pt=Ne.props.onBlur;Ne.setState({focused:!1}),Ne.onActiveChange(null);for(var Kt=arguments.length,It=new Array(Kt),kn=0;kn<Kt;kn++)It[kn]=arguments[kn];Pt==null||Pt.apply(void 0,It)},Ne.getTreeNodeRequiredProps=function(){var Pt=Ne.state,Kt=Pt.expandedKeys,It=Pt.selectedKeys,kn=Pt.loadedKeys,sa=Pt.loadingKeys,xa=Pt.checkedKeys,ha=Pt.halfCheckedKeys,Ia=Pt.dragOverNodeKey,rr=Pt.dropPosition,xn=Pt.keyEntities;return{expandedKeys:Kt||[],selectedKeys:It||[],loadedKeys:kn||[],loadingKeys:sa||[],checkedKeys:xa||[],halfCheckedKeys:ha||[],dragOverNodeKey:Ia,dropPosition:rr,keyEntities:xn}},Ne.setExpandedKeys=function(Pt){var Kt=Ne.state,It=Kt.treeData,kn=Kt.fieldNames,sa=(0,Tn.oH)(It,Pt,kn);Ne.setUncontrolledState({expandedKeys:Pt,flattenNodes:sa},!0)},Ne.onNodeExpand=function(Pt,Kt){var It=Ne.state.expandedKeys,kn=Ne.state,sa=kn.listChanging,xa=kn.fieldNames,ha=Ne.props,Ia=ha.onExpand,rr=ha.loadData,xn=Kt.expanded,Dt=Kt[xa.key];if(!sa){var pn=It.indexOf(Dt),Cn=!xn;if((0,a.ZP)(xn&&pn!==-1||!xn&&pn===-1,"Expand state not sync with index check"),Cn?It=(0,Ut.L0)(It,Dt):It=(0,Ut._5)(It,Dt),Ne.setExpandedKeys(It),Ia==null||Ia(It,{node:Kt,expanded:Cn,nativeEvent:Pt.nativeEvent}),Cn&&rr){var oa=Ne.onNodeLoad(Kt);oa&&oa.then(function(){var Fa=(0,Tn.oH)(Ne.state.treeData,It,xa);Ne.setUncontrolledState({flattenNodes:Fa})}).catch(function(){var Fa=Ne.state.expandedKeys,Xa=(0,Ut._5)(Fa,Dt);Ne.setExpandedKeys(Xa)})}}},Ne.onListChangeStart=function(){Ne.setUncontrolledState({listChanging:!0})},Ne.onListChangeEnd=function(){setTimeout(function(){Ne.setUncontrolledState({listChanging:!1})})},Ne.onActiveChange=function(Pt){var Kt=Ne.state.activeKey,It=Ne.props.onActiveChange;Kt!==Pt&&(Ne.setState({activeKey:Pt}),Pt!==null&&Ne.scrollTo({key:Pt}),It==null||It(Pt))},Ne.getActiveItem=function(){var Pt=Ne.state,Kt=Pt.activeKey,It=Pt.flattenNodes;return Kt===null?null:It.find(function(kn){var sa=kn.key;return sa===Kt})||null},Ne.offsetActiveKey=function(Pt){var Kt=Ne.state,It=Kt.flattenNodes,kn=Kt.activeKey,sa=It.findIndex(function(Ia){var rr=Ia.key;return rr===kn});sa===-1&&Pt<0&&(sa=It.length),sa=(sa+Pt+It.length)%It.length;var xa=It[sa];if(xa){var ha=xa.key;Ne.onActiveChange(ha)}else Ne.onActiveChange(null)},Ne.onKeyDown=function(Pt){var Kt=Ne.state,It=Kt.activeKey,kn=Kt.expandedKeys,sa=Kt.checkedKeys,xa=Kt.fieldNames,ha=Ne.props,Ia=ha.onKeyDown,rr=ha.checkable,xn=ha.selectable;switch(Pt.which){case ce.UP:{Ne.offsetActiveKey(-1),Pt.preventDefault();break}case ce.DOWN:{Ne.offsetActiveKey(1),Pt.preventDefault();break}}var Dt=Ne.getActiveItem();if(Dt&&Dt.data){var pn=Ne.getTreeNodeRequiredProps(),Cn=Dt.data.isLeaf===!1||!!(Dt.data[xa.children]||[]).length,oa=(0,Tn.F)((0,Ze.Z)((0,Ze.Z)({},(0,Tn.H8)(It,pn)),{},{data:Dt.data,active:!0}));switch(Pt.which){case ce.LEFT:{Cn&&kn.includes(It)?Ne.onNodeExpand({},oa):Dt.parent&&Ne.onActiveChange(Dt.parent.key),Pt.preventDefault();break}case ce.RIGHT:{Cn&&!kn.includes(It)?Ne.onNodeExpand({},oa):Dt.children&&Dt.children.length&&Ne.onActiveChange(Dt.children[0].key),Pt.preventDefault();break}case ce.ENTER:case ce.SPACE:{rr&&!oa.disabled&&oa.checkable!==!1&&!oa.disableCheckbox?Ne.onNodeCheck({},oa,!sa.includes(It)):!rr&&xn&&!oa.disabled&&oa.selectable!==!1&&Ne.onNodeSelect({},oa);break}}}Ia==null||Ia(Pt)},Ne.setUncontrolledState=function(Pt){var Kt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,It=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Ne.destroyed){var kn=!1,sa=!0,xa={};Object.keys(Pt).forEach(function(ha){if(ha in Ne.props){sa=!1;return}kn=!0,xa[ha]=Pt[ha]}),kn&&(!Kt||sa)&&Ne.setState((0,Ze.Z)((0,Ze.Z)({},xa),It))}},Ne.scrollTo=function(Pt){Ne.listRef.current.scrollTo(Pt)},Ne}return(0,se.Z)(Jt,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var Vt=this.props.activeKey;Vt!==void 0&&Vt!==this.state.activeKey&&(this.setState({activeKey:Vt}),Vt!==null&&this.scrollTo({key:Vt}))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("dragend",this.onWindowDragEnd),this.destroyed=!0}},{key:"resetDragState",value:function(){this.setState({dragOverNodeKey:null,dropPosition:null,dropLevelOffset:null,dropTargetKey:null,dropContainerKey:null,dropTargetPos:null,dropAllowed:!1})}},{key:"render",value:function(){var Vt,An=this.state,wn=An.focused,Pt=An.flattenNodes,Kt=An.keyEntities,It=An.draggingNodeKey,kn=An.activeKey,sa=An.dropLevelOffset,xa=An.dropContainerKey,ha=An.dropTargetKey,Ia=An.dropPosition,rr=An.dragOverNodeKey,xn=An.indent,Dt=this.props,pn=Dt.prefixCls,Cn=Dt.className,oa=Dt.style,Fa=Dt.showLine,Xa=Dt.focusable,yr=Dt.tabIndex,sr=yr===void 0?0:yr,_n=Dt.selectable,Pa=Dt.showIcon,pa=Dt.icon,Za=Dt.switcherIcon,dr=Dt.draggable,Hr=Dt.checkable,ro=Dt.checkStrictly,Eo=Dt.disabled,wo=Dt.motion,Lo=Dt.loadData,Oi=Dt.filterTreeNode,xl=Dt.height,Wl=Dt.itemHeight,Rl=Dt.virtual,Sl=Dt.titleRender,Li=Dt.dropIndicatorRender,is=Dt.onContextMenu,Ul=Dt.onScroll,ls=Dt.direction,zs=Dt.rootClassName,kl=Dt.rootStyle,Hs=(0,y.Z)(this.props,{aria:!0,data:!0}),Vl;return dr&&((0,Ie.Z)(dr)==="object"?Vl=dr:typeof dr=="function"?Vl={nodeDraggable:dr}:Vl={}),x.createElement(b.k.Provider,{value:{prefixCls:pn,selectable:_n,showIcon:Pa,icon:pa,switcherIcon:Za,draggable:Vl,draggingNodeKey:It,checkable:Hr,checkStrictly:ro,disabled:Eo,keyEntities:Kt,dropLevelOffset:sa,dropContainerKey:xa,dropTargetKey:ha,dropPosition:Ia,dragOverNodeKey:rr,indent:xn,direction:ls,dropIndicatorRender:Li,loadData:Lo,filterTreeNode:Oi,titleRender:Sl,onNodeClick:this.onNodeClick,onNodeDoubleClick:this.onNodeDoubleClick,onNodeExpand:this.onNodeExpand,onNodeSelect:this.onNodeSelect,onNodeCheck:this.onNodeCheck,onNodeLoad:this.onNodeLoad,onNodeMouseEnter:this.onNodeMouseEnter,onNodeMouseLeave:this.onNodeMouseLeave,onNodeContextMenu:this.onNodeContextMenu,onNodeDragStart:this.onNodeDragStart,onNodeDragEnter:this.onNodeDragEnter,onNodeDragOver:this.onNodeDragOver,onNodeDragLeave:this.onNodeDragLeave,onNodeDragEnd:this.onNodeDragEnd,onNodeDrop:this.onNodeDrop}},x.createElement("div",{role:"tree",className:$e()(pn,Cn,zs,(Vt={},(0,me.Z)(Vt,"".concat(pn,"-show-line"),Fa),(0,me.Z)(Vt,"".concat(pn,"-focused"),wn),(0,me.Z)(Vt,"".concat(pn,"-active-focused"),kn!==null),Vt)),style:kl},x.createElement($n,(0,ae.Z)({ref:this.listRef,prefixCls:pn,style:oa,data:Pt,disabled:Eo,selectable:_n,checkable:!!Hr,motion:wo,dragging:It!==null,height:xl,itemHeight:Wl,virtual:Rl,focusable:Xa,focused:wn,tabIndex:sr,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:is,onScroll:Ul},this.getTreeNodeRequiredProps(),Hs))))}}],[{key:"getDerivedStateFromProps",value:function(Vt,An){var wn=An.prevProps,Pt={prevProps:Vt};function Kt(Xa){return!wn&&Xa in Vt||wn&&wn[Xa]!==Vt[Xa]}var It,kn=An.fieldNames;if(Kt("fieldNames")&&(kn=(0,Tn.w$)(Vt.fieldNames),Pt.fieldNames=kn),Kt("treeData")?It=Vt.treeData:Kt("children")&&((0,a.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),It=(0,Tn.zn)(Vt.children)),It){Pt.treeData=It;var sa=(0,Tn.I8)(It,{fieldNames:kn});Pt.keyEntities=(0,Ze.Z)((0,me.Z)({},Ba,Mn),sa.keyEntities)}var xa=Pt.keyEntities||An.keyEntities;if(Kt("expandedKeys")||wn&&Kt("autoExpandParent"))Pt.expandedKeys=Vt.autoExpandParent||!wn&&Vt.defaultExpandParent?(0,Ut.r7)(Vt.expandedKeys,xa):Vt.expandedKeys;else if(!wn&&Vt.defaultExpandAll){var ha=(0,Ze.Z)({},xa);delete ha[Ba],Pt.expandedKeys=Object.keys(ha).map(function(Xa){return ha[Xa].key})}else!wn&&Vt.defaultExpandedKeys&&(Pt.expandedKeys=Vt.autoExpandParent||Vt.defaultExpandParent?(0,Ut.r7)(Vt.defaultExpandedKeys,xa):Vt.defaultExpandedKeys);if(Pt.expandedKeys||delete Pt.expandedKeys,It||Pt.expandedKeys){var Ia=(0,Tn.oH)(It||An.treeData,Pt.expandedKeys||An.expandedKeys,kn);Pt.flattenNodes=Ia}if(Vt.selectable&&(Kt("selectedKeys")?Pt.selectedKeys=(0,Ut.BT)(Vt.selectedKeys,Vt):!wn&&Vt.defaultSelectedKeys&&(Pt.selectedKeys=(0,Ut.BT)(Vt.defaultSelectedKeys,Vt))),Vt.checkable){var rr;if(Kt("checkedKeys")?rr=(0,Ut.E6)(Vt.checkedKeys)||{}:!wn&&Vt.defaultCheckedKeys?rr=(0,Ut.E6)(Vt.defaultCheckedKeys)||{}:It&&(rr=(0,Ut.E6)(Vt.checkedKeys)||{checkedKeys:An.checkedKeys,halfCheckedKeys:An.halfCheckedKeys}),rr){var xn=rr,Dt=xn.checkedKeys,pn=Dt===void 0?[]:Dt,Cn=xn.halfCheckedKeys,oa=Cn===void 0?[]:Cn;if(!Vt.checkStrictly){var Fa=(0,Bn.S)(pn,!0,xa);pn=Fa.checkedKeys,oa=Fa.halfCheckedKeys}Pt.checkedKeys=pn,Pt.halfCheckedKeys=oa}}return Kt("loadedKeys")&&(Pt.loadedKeys=Vt.loadedKeys),Pt}}]),Jt}(x.Component);Aa.defaultProps={prefixCls:"rc-tree",showLine:!1,showIcon:!0,selectable:!0,multiple:!1,checkable:!1,disabled:!1,checkStrictly:!1,draggable:!1,defaultExpandParent:!0,autoExpandParent:!1,defaultExpandAll:!1,defaultExpandedKeys:[],defaultCheckedKeys:[],defaultSelectedKeys:[],dropIndicatorRender:E,allowDrop:function(){return!0},expandAction:!1},Aa.TreeNode=Oa.Z;var cr=Aa,zr=cr,co=ee(73148),gn=ee(56747),Mi={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z"}}]},name:"folder",theme:"outlined"},ei=Mi,qr=ee(74643),Yo=function(At,Jt){return x.createElement(qr.Z,(0,ae.Z)({},At,{ref:Jt,icon:ei}))},On=x.forwardRef(Yo),ma=ee(53124),Va=ee(50881),Un=ee(33603),Wr=ee(32157);const _r=4;function ti(vt){const{dropPosition:At,dropLevelOffset:Jt,prefixCls:Ne,indent:Vt,direction:An="ltr"}=vt,wn=An==="ltr"?"left":"right",Pt=An==="ltr"?"right":"left",Kt={[wn]:-Jt*Vt+_r,[Pt]:0};switch(At){case-1:Kt.top=-3;break;case 1:Kt.bottom=-3;break;default:Kt.bottom=-3,Kt[wn]=Vt+_r;break}return x.createElement("div",{style:Kt,className:`${Ne}-drop-indicator`})}var ni=ee(99184),bl=x.forwardRef((vt,At)=>{const{getPrefixCls:Jt,direction:Ne,virtual:Vt,tree:An}=x.useContext(ma.E_),{prefixCls:wn,className:Pt,showIcon:Kt=!1,showLine:It,switcherIcon:kn,blockNode:sa=!1,children:xa,checkable:ha=!1,selectable:Ia=!0,draggable:rr,motion:xn,style:Dt}=vt,pn=Jt("tree",wn),Cn=Jt(),oa=xn!=null?xn:Object.assign(Object.assign({},(0,Un.Z)(Cn)),{motionAppear:!1}),Fa=Object.assign(Object.assign({},vt),{checkable:ha,selectable:Ia,showIcon:Kt,motion:oa,blockNode:sa,showLine:!!It,dropIndicatorRender:ti}),[Xa,yr]=(0,Wr.ZP)(pn),sr=x.useMemo(()=>{if(!rr)return!1;let Pa={};switch(typeof rr){case"function":Pa.nodeDraggable=rr;break;case"object":Pa=Object.assign({},rr);break;default:break}return Pa.icon!==!1&&(Pa.icon=Pa.icon||x.createElement(Va.Z,null)),Pa},[rr]),_n=Pa=>x.createElement(ni.Z,{prefixCls:pn,switcherIcon:kn,treeNodeProps:Pa,showLine:It});return Xa(x.createElement(zr,Object.assign({itemHeight:20,ref:At,virtual:Vt},Fa,{style:Object.assign(Object.assign({},An==null?void 0:An.style),Dt),prefixCls:pn,className:$e()({[`${pn}-icon-hide`]:!Kt,[`${pn}-block-node`]:sa,[`${pn}-unselectable`]:!Ia,[`${pn}-rtl`]:Ne==="rtl"},An==null?void 0:An.className,Pt,yr),direction:Ne,checkable:ha&&x.createElement("span",{className:`${pn}-checkbox-inner`}),selectable:Ia,switcherIcon:_n,draggable:sr}),xa))}),yi;(function(vt){vt[vt.None=0]="None",vt[vt.Start=1]="Start",vt[vt.End=2]="End"})(yi||(yi={}));function jl(vt,At){function Jt(Ne){const{key:Vt,children:An}=Ne;At(Vt,Ne)!==!1&&jl(An||[],At)}vt.forEach(Jt)}function $l(vt){let{treeData:At,expandedKeys:Jt,startKey:Ne,endKey:Vt}=vt;const An=[];let wn=yi.None;if(Ne&&Ne===Vt)return[Ne];if(!Ne||!Vt)return[];function Pt(Kt){return Kt===Ne||Kt===Vt}return jl(At,Kt=>{if(wn===yi.End)return!1;if(Pt(Kt)){if(An.push(Kt),wn===yi.None)wn=yi.Start;else if(wn===yi.Start)return wn=yi.End,!1}else wn===yi.Start&&An.push(Kt);return Jt.includes(Kt)}),An}function wi(vt,At){const Jt=(0,Me.Z)(At),Ne=[];return jl(vt,(Vt,An)=>{const wn=Jt.indexOf(Vt);return wn!==-1&&(Ne.push(An),Jt.splice(wn,1)),!!Jt.length}),Ne}var Xo=function(vt,At){var Jt={};for(var Ne in vt)Object.prototype.hasOwnProperty.call(vt,Ne)&&At.indexOf(Ne)<0&&(Jt[Ne]=vt[Ne]);if(vt!=null&&typeof Object.getOwnPropertySymbols=="function")for(var Vt=0,Ne=Object.getOwnPropertySymbols(vt);Vt<Ne.length;Vt++)At.indexOf(Ne[Vt])<0&&Object.prototype.propertyIsEnumerable.call(vt,Ne[Vt])&&(Jt[Ne[Vt]]=vt[Ne[Vt]]);return Jt};function hl(vt){const{isLeaf:At,expanded:Jt}=vt;return At?x.createElement(co.Z,null):Jt?x.createElement(gn.Z,null):x.createElement(On,null)}function Cl(vt){let{treeData:At,children:Jt}=vt;return At||(0,Tn.zn)(Jt)}const Fl=(vt,At)=>{var{defaultExpandAll:Jt,defaultExpandParent:Ne,defaultExpandedKeys:Vt}=vt,An=Xo(vt,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const wn=x.useRef(),Pt=x.useRef(),Kt=()=>{const{keyEntities:sr}=(0,Tn.I8)(Cl(An));let _n;return Jt?_n=Object.keys(sr):Ne?_n=(0,Ut.r7)(An.expandedKeys||Vt||[],sr):_n=An.expandedKeys||Vt,_n},[It,kn]=x.useState(An.selectedKeys||An.defaultSelectedKeys||[]),[sa,xa]=x.useState(()=>Kt());x.useEffect(()=>{"selectedKeys"in An&&kn(An.selectedKeys)},[An.selectedKeys]),x.useEffect(()=>{"expandedKeys"in An&&xa(An.expandedKeys)},[An.expandedKeys]);const ha=(sr,_n)=>{var Pa;return"expandedKeys"in An||xa(sr),(Pa=An.onExpand)===null||Pa===void 0?void 0:Pa.call(An,sr,_n)},Ia=(sr,_n)=>{var Pa;const{multiple:pa}=An,{node:Za,nativeEvent:dr}=_n,{key:Hr=""}=Za,ro=Cl(An),Eo=Object.assign(Object.assign({},_n),{selected:!0}),wo=(dr==null?void 0:dr.ctrlKey)||(dr==null?void 0:dr.metaKey),Lo=dr==null?void 0:dr.shiftKey;let Oi;pa&&wo?(Oi=sr,wn.current=Hr,Pt.current=Oi,Eo.selectedNodes=wi(ro,Oi)):pa&&Lo?(Oi=Array.from(new Set([].concat((0,Me.Z)(Pt.current||[]),(0,Me.Z)($l({treeData:ro,expandedKeys:sa,startKey:Hr,endKey:wn.current}))))),Eo.selectedNodes=wi(ro,Oi)):(Oi=[Hr],wn.current=Hr,Pt.current=Oi,Eo.selectedNodes=wi(ro,Oi)),(Pa=An.onSelect)===null||Pa===void 0||Pa.call(An,Oi,Eo),"selectedKeys"in An||kn(Oi)},{getPrefixCls:rr,direction:xn}=x.useContext(ma.E_),{prefixCls:Dt,className:pn,showIcon:Cn=!0,expandAction:oa="click"}=An,Fa=Xo(An,["prefixCls","className","showIcon","expandAction"]),Xa=rr("tree",Dt),yr=$e()(`${Xa}-directory`,{[`${Xa}-directory-rtl`]:xn==="rtl"},pn);return x.createElement(bl,Object.assign({icon:hl,ref:At,blockNode:!0},Fa,{showIcon:Cn,expandAction:oa,prefixCls:Xa,className:yr,expandedKeys:sa,selectedKeys:It,onSelect:Ia,onExpand:ha}))};var ki=x.forwardRef(Fl);const pl=bl;pl.DirectoryTree=ki,pl.TreeNode=Oa.Z;var kr=pl},32157:function(ht,wt,ee){"use strict";ee.d(wt,{TM:function(){return we},Yk:function(){return $e}});var ae=ee(45930),me=ee(63185),Ie=ee(14747),Ze=ee(33507),Me=ee(45503),ze=ee(67968);const se=new ae.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),Te=(ce,y)=>({[`.${ce}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${y.motionDurationSlow}`}}}),je=(ce,y)=>({[`.${ce}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:y.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${y.lineWidthBold}px solid ${y.colorPrimary}`,borderRadius:"50%",content:'""'}}}),He=(ce,y)=>{const{treeCls:a,treeNodeCls:x,treeNodePadding:b,titleHeight:E,nodeSelectedBg:z,nodeHoverBg:re}=y,oe=y.paddingXS;return{[a]:Object.assign(Object.assign({},(0,Ie.Wf)(y)),{background:y.colorBgContainer,borderRadius:y.borderRadius,transition:`background-color ${y.motionDurationSlow}`,[`&${a}-rtl`]:{[`${a}-switcher`]:{"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${a}-active-focused)`]:Object.assign({},(0,Ie.oN)(y)),[`${a}-list-holder-inner`]:{alignItems:"flex-start"},[`&${a}-block-node`]:{[`${a}-list-holder-inner`]:{alignItems:"stretch",[`${a}-node-content-wrapper`]:{flex:"auto"},[`${x}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:b,insetInlineStart:0,border:`1px solid ${y.colorPrimary}`,opacity:0,animationName:se,animationDuration:y.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${x}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${b}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${a}-node-content-wrapper`]:{color:y.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${a}-node-content-wrapper`]:Object.assign({},(0,Ie.oN)(y)),[`&:not(${x}-disabled).filter-node ${a}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${a}-draggable-icon`]:{flexShrink:0,width:E,lineHeight:`${E}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${y.motionDurationSlow}`,[`${x}:hover &`]:{opacity:.45}},[`&${x}-disabled`]:{[`${a}-draggable-icon`]:{visibility:"hidden"}}}},[`${a}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:E}},[`${a}-draggable-icon`]:{visibility:"hidden"},[`${a}-switcher`]:Object.assign(Object.assign({},Te(ce,y)),{position:"relative",flex:"none",alignSelf:"stretch",width:E,margin:0,lineHeight:`${E}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${a}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:y.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,marginInlineStart:-1,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:E/2*.8,height:E/2,borderBottom:`1px solid ${y.colorBorder}`,content:'""'}}}),[`${a}-checkbox`]:{top:"initial",marginInlineEnd:oe},[`${a}-node-content-wrapper, ${a}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:E,margin:0,padding:`0 ${y.paddingXS/2}px`,color:"inherit",lineHeight:`${E}px`,background:"transparent",borderRadius:y.borderRadius,cursor:"pointer",transition:`all ${y.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:re},[`&${a}-node-selected`]:{backgroundColor:z},[`${a}-iconEle`]:{display:"inline-block",width:E,height:E,lineHeight:`${E}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${a}-unselectable ${a}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${a}-node-content-wrapper`]:Object.assign({lineHeight:`${E}px`,userSelect:"none"},je(ce,y)),[`${x}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${y.colorPrimary}`}},"&-show-line":{[`${a}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:E/2,bottom:-b,borderInlineEnd:`1px solid ${y.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${a}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${x}-leaf-last`]:{[`${a}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${E/2}px !important`}}}}})}},_e=ce=>{const{treeCls:y,treeNodeCls:a,treeNodePadding:x,directoryNodeSelectedBg:b,directoryNodeSelectedColor:E}=ce;return{[`${y}${y}-directory`]:{[a]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:x,insetInlineStart:0,transition:`background-color ${ce.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:ce.controlItemBgHover}},"> *":{zIndex:1},[`${y}-switcher`]:{transition:`color ${ce.motionDurationMid}`},[`${y}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${y}-node-selected`]:{color:E,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:b},[`${y}-switcher`]:{color:E},[`${y}-node-content-wrapper`]:{color:E,background:"transparent"}}}}}},$e=(ce,y)=>{const a=`.${ce}`,x=`${a}-treenode`,b=y.paddingXS/2,E=(0,Me.TS)(y,{treeCls:a,treeNodeCls:x,treeNodePadding:b});return[He(ce,E),_e(E)]},we=ce=>{const{controlHeightSM:y}=ce;return{titleHeight:y,nodeHoverBg:ce.controlItemBgHover,nodeSelectedBg:ce.controlItemBgActive}};wt.ZP=(0,ze.Z)("Tree",(ce,y)=>{let{prefixCls:a}=y;return[{[ce.componentCls]:(0,me.C2)(`${a}-checkbox`,ce)},$e(a,ce),(0,Ze.Z)(ce)]},ce=>{const{colorTextLightSolid:y,colorPrimary:a}=ce;return Object.assign(Object.assign({},we(ce)),{directoryNodeSelectedColor:y,directoryNodeSelectedBg:a})})},99184:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return a}});var ae=ee(87462),me=ee(67294),Ie={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"}}]},name:"caret-down",theme:"filled"},Ze=Ie,Me=ee(74643),ze=function(b,E){return me.createElement(Me.Z,(0,ae.Z)({},b,{ref:E,icon:Ze}))},se=me.forwardRef(ze),Te=ee(73148),je=ee(3407),He=ee(34182),_e=ee(74664),$e=ee(94184),we=ee.n($e),ce=ee(96159),a=x=>{const{prefixCls:b,switcherIcon:E,treeNodeProps:z,showLine:re}=x,{isLeaf:oe,expanded:ne,loading:ge}=z;if(ge)return me.createElement(je.Z,{className:`${b}-switcher-loading-icon`});let pe;if(re&&typeof re=="object"&&(pe=re.showLeafIcon),oe){if(!re)return null;if(typeof pe!="boolean"&&pe){const xe=typeof pe=="function"?pe(z):pe,Se=`${b}-switcher-line-custom-icon`;return(0,ce.l$)(xe)?(0,ce.Tm)(xe,{className:we()(xe.props.className||"",Se)}):xe}return pe?me.createElement(Te.Z,{className:`${b}-switcher-line-icon`}):me.createElement("span",{className:`${b}-switcher-leaf-line`})}const Le=`${b}-switcher-icon`,be=typeof E=="function"?E(z):E;return(0,ce.l$)(be)?(0,ce.Tm)(be,{className:we()(be.props.className||"",Le)}):be!==void 0?be:re?ne?me.createElement(He.Z,{className:`${b}-switcher-line-icon`}):me.createElement(_e.Z,{className:`${b}-switcher-line-icon`}):me.createElement(se,{className:Le})}},59810:function(ht,wt,ee){"use strict";ee.d(wt,{default:function(){return no}});var ae=ee(67294),me=ee(74902),Ie=ee(94184),Ze=ee.n(Ie),Me=ee(87462),ze=ee(15671),se=ee(43144),Te=ee(60136),je=ee(51630),He=ee(4942),_e=ee(45987),$e=ee(74165),we=ee(71002),ce=ee(15861),y=ee(64217);function a(ot,Xt){var $t="cannot ".concat(ot.method," ").concat(ot.action," ").concat(Xt.status,"'"),Qt=new Error($t);return Qt.status=Xt.status,Qt.method=ot.method,Qt.url=ot.action,Qt}function x(ot){var Xt=ot.responseText||ot.response;if(!Xt)return Xt;try{return JSON.parse(Xt)}catch($t){return Xt}}function b(ot){var Xt=new XMLHttpRequest;ot.onProgress&&Xt.upload&&(Xt.upload.onprogress=function(Ut){Ut.total>0&&(Ut.percent=Ut.loaded/Ut.total*100),ot.onProgress(Ut)});var $t=new FormData;ot.data&&Object.keys(ot.data).forEach(function($n){var Ut=ot.data[$n];if(Array.isArray(Ut)){Ut.forEach(function(Bn){$t.append("".concat($n,"[]"),Bn)});return}$t.append($n,Ut)}),ot.file instanceof Blob?$t.append(ot.filename,ot.file,ot.file.name):$t.append(ot.filename,ot.file),Xt.onerror=function(Ut){ot.onError(Ut)},Xt.onload=function(){return Xt.status<200||Xt.status>=300?ot.onError(a(ot,Xt),x(Xt)):ot.onSuccess(x(Xt),Xt)},Xt.open(ot.method,ot.action,!0),ot.withCredentials&&"withCredentials"in Xt&&(Xt.withCredentials=!0);var Qt=ot.headers||{};return Qt["X-Requested-With"]!==null&&Xt.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(Qt).forEach(function($n){Qt[$n]!==null&&Xt.setRequestHeader($n,Qt[$n])}),Xt.send($t),{abort:function(){Xt.abort()}}}var E=+new Date,z=0;function re(){return"rc-upload-".concat(E,"-").concat(++z)}var oe=ee(80334),ne=function(ot,Xt){if(ot&&Xt){var $t=Array.isArray(Xt)?Xt:Xt.split(","),Qt=ot.name||"",$n=ot.type||"",Ut=$n.replace(/\/.*$/,"");return $t.some(function(Bn){var dn=Bn.trim();if(/^\*(\/\*)?$/.test(Bn))return!0;if(dn.charAt(0)==="."){var $a=Qt.toLowerCase(),Aa=dn.toLowerCase(),cr=[Aa];return(Aa===".jpg"||Aa===".jpeg")&&(cr=[".jpg",".jpeg"]),cr.some(function(zr){return $a.endsWith(zr)})}return/\/\*$/.test(dn)?Ut===dn.replace(/\/.*$/,""):$n===dn?!0:/^\w+$/.test(dn)?((0,oe.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(dn,"'.Skip for check.")),!0):!1})}return!0};function ge(ot,Xt){var $t=ot.createReader(),Qt=[];function $n(){$t.readEntries(function(Ut){var Bn=Array.prototype.slice.apply(Ut);Qt=Qt.concat(Bn);var dn=!Bn.length;dn?Xt(Qt):$n()})}$n()}var pe=function(Xt,$t,Qt){var $n=function Ut(Bn,dn){Bn&&(Bn.path=dn||"",Bn.isFile?Bn.file(function($a){Qt($a)&&(Bn.fullPath&&!$a.webkitRelativePath&&(Object.defineProperties($a,{webkitRelativePath:{writable:!0}}),$a.webkitRelativePath=Bn.fullPath.replace(/^\//,""),Object.defineProperties($a,{webkitRelativePath:{writable:!1}})),$t([$a]))}):Bn.isDirectory&&ge(Bn,function($a){$a.forEach(function(Aa){Ut(Aa,"".concat(dn).concat(Bn.name,"/"))})}))};Xt.forEach(function(Ut){$n(Ut.webkitGetAsEntry())})},Le=pe,be=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],xe=function(ot){(0,Te.Z)($t,ot);var Xt=(0,je.Z)($t);function $t(){var Qt;(0,ze.Z)(this,$t);for(var $n=arguments.length,Ut=new Array($n),Bn=0;Bn<$n;Bn++)Ut[Bn]=arguments[Bn];return Qt=Xt.call.apply(Xt,[this].concat(Ut)),Qt.state={uid:re()},Qt.reqs={},Qt.fileInput=void 0,Qt._isMounted=void 0,Qt.onChange=function(dn){var $a=Qt.props,Aa=$a.accept,cr=$a.directory,zr=dn.target.files,co=(0,me.Z)(zr).filter(function(gn){return!cr||ne(gn,Aa)});Qt.uploadFiles(co),Qt.reset()},Qt.onClick=function(dn){var $a=Qt.fileInput;if($a){var Aa=Qt.props,cr=Aa.children,zr=Aa.onClick;if(cr&&cr.type==="button"){var co=$a.parentNode;co.focus(),co.querySelector("button").blur()}$a.click(),zr&&zr(dn)}},Qt.onKeyDown=function(dn){dn.key==="Enter"&&Qt.onClick(dn)},Qt.onFileDrop=function(dn){var $a=Qt.props.multiple;if(dn.preventDefault(),dn.type!=="dragover")if(Qt.props.directory)Le(Array.prototype.slice.call(dn.dataTransfer.items),Qt.uploadFiles,function(cr){return ne(cr,Qt.props.accept)});else{var Aa=(0,me.Z)(dn.dataTransfer.files).filter(function(cr){return ne(cr,Qt.props.accept)});$a===!1&&(Aa=Aa.slice(0,1)),Qt.uploadFiles(Aa)}},Qt.uploadFiles=function(dn){var $a=(0,me.Z)(dn),Aa=$a.map(function(cr){return cr.uid=re(),Qt.processFile(cr,$a)});Promise.all(Aa).then(function(cr){var zr=Qt.props.onBatchStart;zr==null||zr(cr.map(function(co){var gn=co.origin,Mi=co.parsedFile;return{file:gn,parsedFile:Mi}})),cr.filter(function(co){return co.parsedFile!==null}).forEach(function(co){Qt.post(co)})})},Qt.processFile=function(){var dn=(0,ce.Z)((0,$e.Z)().mark(function $a(Aa,cr){var zr,co,gn,Mi,ei,qr,Yo,On,ma;return(0,$e.Z)().wrap(function(Un){for(;;)switch(Un.prev=Un.next){case 0:if(zr=Qt.props.beforeUpload,co=Aa,!zr){Un.next=14;break}return Un.prev=3,Un.next=6,zr(Aa,cr);case 6:co=Un.sent,Un.next=12;break;case 9:Un.prev=9,Un.t0=Un.catch(3),co=!1;case 12:if(co!==!1){Un.next=14;break}return Un.abrupt("return",{origin:Aa,parsedFile:null,action:null,data:null});case 14:if(gn=Qt.props.action,typeof gn!="function"){Un.next=21;break}return Un.next=18,gn(Aa);case 18:Mi=Un.sent,Un.next=22;break;case 21:Mi=gn;case 22:if(ei=Qt.props.data,typeof ei!="function"){Un.next=29;break}return Un.next=26,ei(Aa);case 26:qr=Un.sent,Un.next=30;break;case 29:qr=ei;case 30:return Yo=((0,we.Z)(co)==="object"||typeof co=="string")&&co?co:Aa,Yo instanceof File?On=Yo:On=new File([Yo],Aa.name,{type:Aa.type}),ma=On,ma.uid=Aa.uid,Un.abrupt("return",{origin:Aa,data:qr,parsedFile:ma,action:Mi});case 35:case"end":return Un.stop()}},$a,null,[[3,9]])}));return function($a,Aa){return dn.apply(this,arguments)}}(),Qt.saveFileInput=function(dn){Qt.fileInput=dn},Qt}return(0,se.Z)($t,[{key:"componentDidMount",value:function(){this._isMounted=!0}},{key:"componentWillUnmount",value:function(){this._isMounted=!1,this.abort()}},{key:"post",value:function($n){var Ut=this,Bn=$n.data,dn=$n.origin,$a=$n.action,Aa=$n.parsedFile;if(this._isMounted){var cr=this.props,zr=cr.onStart,co=cr.customRequest,gn=cr.name,Mi=cr.headers,ei=cr.withCredentials,qr=cr.method,Yo=dn.uid,On=co||b,ma={action:$a,filename:gn,data:Bn,file:Aa,headers:Mi,withCredentials:ei,method:qr||"post",onProgress:function(Un){var Wr=Ut.props.onProgress;Wr==null||Wr(Un,Aa)},onSuccess:function(Un,Wr){var _r=Ut.props.onSuccess;_r==null||_r(Un,Aa,Wr),delete Ut.reqs[Yo]},onError:function(Un,Wr){var _r=Ut.props.onError;_r==null||_r(Un,Wr,Aa),delete Ut.reqs[Yo]}};zr(dn),this.reqs[Yo]=On(ma)}}},{key:"reset",value:function(){this.setState({uid:re()})}},{key:"abort",value:function($n){var Ut=this.reqs;if($n){var Bn=$n.uid?$n.uid:$n;Ut[Bn]&&Ut[Bn].abort&&Ut[Bn].abort(),delete Ut[Bn]}else Object.keys(Ut).forEach(function(dn){Ut[dn]&&Ut[dn].abort&&Ut[dn].abort(),delete Ut[dn]})}},{key:"render",value:function(){var $n,Ut=this.props,Bn=Ut.component,dn=Ut.prefixCls,$a=Ut.className,Aa=Ut.disabled,cr=Ut.id,zr=Ut.style,co=Ut.multiple,gn=Ut.accept,Mi=Ut.capture,ei=Ut.children,qr=Ut.directory,Yo=Ut.openFileDialogOnClick,On=Ut.onMouseEnter,ma=Ut.onMouseLeave,Va=(0,_e.Z)(Ut,be),Un=Ze()(($n={},(0,He.Z)($n,dn,!0),(0,He.Z)($n,"".concat(dn,"-disabled"),Aa),(0,He.Z)($n,$a,$a),$n)),Wr=qr?{directory:"directory",webkitdirectory:"webkitdirectory"}:{},_r=Aa?{}:{onClick:Yo?this.onClick:function(){},onKeyDown:Yo?this.onKeyDown:function(){},onMouseEnter:On,onMouseLeave:ma,onDrop:this.onFileDrop,onDragOver:this.onFileDrop,tabIndex:"0"};return ae.createElement(Bn,(0,Me.Z)({},_r,{className:Un,role:"button",style:zr}),ae.createElement("input",(0,Me.Z)({},(0,y.Z)(Va,{aria:!0,data:!0}),{id:cr,disabled:Aa,type:"file",ref:this.saveFileInput,onClick:function(ni){return ni.stopPropagation()},key:this.state.uid,style:{display:"none"},accept:gn},Wr,{multiple:co,onChange:this.onChange},Mi!=null?{capture:Mi}:{})),ei)}}]),$t}(ae.Component),Se=xe;function ft(){}var Ye=function(ot){(0,Te.Z)($t,ot);var Xt=(0,je.Z)($t);function $t(){var Qt;(0,ze.Z)(this,$t);for(var $n=arguments.length,Ut=new Array($n),Bn=0;Bn<$n;Bn++)Ut[Bn]=arguments[Bn];return Qt=Xt.call.apply(Xt,[this].concat(Ut)),Qt.uploader=void 0,Qt.saveUploader=function(dn){Qt.uploader=dn},Qt}return(0,se.Z)($t,[{key:"abort",value:function($n){this.uploader.abort($n)}},{key:"render",value:function(){return ae.createElement(Se,(0,Me.Z)({},this.props,{ref:this.saveUploader}))}}]),$t}(ae.Component);Ye.defaultProps={component:"span",prefixCls:"rc-upload",data:{},headers:{},name:"file",multipart:!1,onStart:ft,onError:ft,onSuccess:ft,multiple:!1,beforeUpload:null,customRequest:null,withCredentials:!1,openFileDialogOnClick:!0};var Zt=Ye,qe=Zt,ct=ee(5663),zt=ee(73935),en=ee(53124),Mt=ee(98866),lt=ee(10110),xt=ee(24457),nn={icon:function(Xt,$t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M534 352V136H232v752h560V394H576a42 42 0 01-42-42z",fill:$t}},{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM602 137.8L790.2 326H602V137.8zM792 888H232V136h302v216a42 42 0 0042 42h216v494z",fill:Xt}}]}},name:"file",theme:"twotone"},vn=nn,Ue=ee(74643),Ct=function(Xt,$t){return ae.createElement(Ue.Z,(0,Me.Z)({},Xt,{ref:$t,icon:vn}))},Ft=ae.forwardRef(Ct),Rn=ee(3407),nt={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z"}}]},name:"paper-clip",theme:"outlined"},kt=nt,Ce=function(Xt,$t){return ae.createElement(Ue.Z,(0,Me.Z)({},Xt,{ref:$t,icon:kt}))},hn=ae.forwardRef(Ce),zn={icon:function(Xt,$t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2z",fill:Xt}},{tag:"path",attrs:{d:"M424.6 765.8l-150.1-178L136 752.1V792h752v-30.4L658.1 489z",fill:$t}},{tag:"path",attrs:{d:"M136 652.7l132.4-157c3.2-3.8 9-3.8 12.2 0l144 170.7L652 396.8c3.2-3.8 9-3.8 12.2 0L888 662.2V232H136v420.7zM304 280a88 88 0 110 176 88 88 0 010-176z",fill:$t}},{tag:"path",attrs:{d:"M276 368a28 28 0 1056 0 28 28 0 10-56 0z",fill:$t}},{tag:"path",attrs:{d:"M304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z",fill:Xt}}]}},name:"picture",theme:"twotone"},ba=zn,Yn=function(Xt,$t){return ae.createElement(Ue.Z,(0,Me.Z)({},Xt,{ref:$t,icon:ba}))},Rt=ae.forwardRef(Yn),Ge=ee(38379),Fe=ee(57838),pt=ee(33603),Gt=ee(96159),_t=ee(71577);function Pn(ot){return Object.assign(Object.assign({},ot),{lastModified:ot.lastModified,lastModifiedDate:ot.lastModifiedDate,name:ot.name,size:ot.size,type:ot.type,uid:ot.uid,percent:0,originFileObj:ot})}function Qn(ot,Xt){const $t=(0,me.Z)(Xt),Qt=$t.findIndex($n=>{let{uid:Ut}=$n;return Ut===ot.uid});return Qt===-1?$t.push(ot):$t[Qt]=ot,$t}function Gn(ot,Xt){const $t=ot.uid!==void 0?"uid":"name";return Xt.filter(Qt=>Qt[$t]===ot[$t])[0]}function Hn(ot,Xt){const $t=ot.uid!==void 0?"uid":"name",Qt=Xt.filter($n=>$n[$t]!==ot[$t]);return Qt.length===Xt.length?null:Qt}const Ca=function(){const Xt=(arguments.length>0&&arguments[0]!==void 0?arguments[0]:"").split("/"),Qt=Xt[Xt.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(Qt)||[""])[0]},Ee=ot=>ot.indexOf("image/")===0,Ke=ot=>{if(ot.type&&!ot.thumbUrl)return Ee(ot.type);const Xt=ot.thumbUrl||ot.url||"",$t=Ca(Xt);return/^data:image\//.test(Xt)||/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico|heic|heif)$/i.test($t)?!0:!(/^data:/.test(Xt)||$t)},Nn=200;function Kn(ot){return new Promise(Xt=>{if(!ot.type||!Ee(ot.type)){Xt("");return}const $t=document.createElement("canvas");$t.width=Nn,$t.height=Nn,$t.style.cssText=`position: fixed; left: 0; top: 0; width: ${Nn}px; height: ${Nn}px; z-index: 9999; display: none;`,document.body.appendChild($t);const Qt=$t.getContext("2d"),$n=new Image;if($n.onload=()=>{const{width:Ut,height:Bn}=$n;let dn=Nn,$a=Nn,Aa=0,cr=0;Ut>Bn?($a=Bn*(Nn/Ut),cr=-($a-dn)/2):(dn=Ut*(Nn/Bn),Aa=-(dn-$a)/2),Qt.drawImage($n,Aa,cr,dn,$a);const zr=$t.toDataURL();document.body.removeChild($t),window.URL.revokeObjectURL($n.src),Xt(zr)},$n.crossOrigin="anonymous",ot.type.startsWith("image/svg+xml")){const Ut=new FileReader;Ut.onload=()=>{Ut.result&&($n.src=Ut.result)},Ut.readAsDataURL(ot)}else if(ot.type.startsWith("image/gif")){const Ut=new FileReader;Ut.onload=()=>{Ut.result&&Xt(Ut.result)},Ut.readAsDataURL(ot)}else $n.src=window.URL.createObjectURL(ot)})}var st=ee(84249),tn=ee(90674),We=ee(99569),ut=ee(38703),Bt=ee(83062),Ot=ae.forwardRef((ot,Xt)=>{let{prefixCls:$t,className:Qt,style:$n,locale:Ut,listType:Bn,file:dn,items:$a,progress:Aa,iconRender:cr,actionIconRender:zr,itemRender:co,isImgUrl:gn,showPreviewIcon:Mi,showRemoveIcon:ei,showDownloadIcon:qr,previewIcon:Yo,removeIcon:On,downloadIcon:ma,onPreview:Va,onDownload:Un,onClose:Wr}=ot;var _r,ti;const{status:ni}=dn,[ai,bl]=ae.useState(ni);ae.useEffect(()=>{ni!=="removed"&&bl(ni)},[ni]);const[yi,jl]=ae.useState(!1);ae.useEffect(()=>{const Pt=setTimeout(()=>{jl(!0)},300);return()=>{clearTimeout(Pt)}},[]);const $l=cr(dn);let wi=ae.createElement("div",{className:`${$t}-icon`},$l);if(Bn==="picture"||Bn==="picture-card"||Bn==="picture-circle")if(ai==="uploading"||!dn.thumbUrl&&!dn.url){const Pt=Ze()(`${$t}-list-item-thumbnail`,{[`${$t}-list-item-file`]:ai!=="uploading"});wi=ae.createElement("div",{className:Pt},$l)}else{const Pt=gn!=null&&gn(dn)?ae.createElement("img",{src:dn.thumbUrl||dn.url,alt:dn.name,className:`${$t}-list-item-image`,crossOrigin:dn.crossOrigin}):$l,Kt=Ze()(`${$t}-list-item-thumbnail`,{[`${$t}-list-item-file`]:gn&&!gn(dn)});wi=ae.createElement("a",{className:Kt,onClick:It=>Va(dn,It),href:dn.url||dn.thumbUrl,target:"_blank",rel:"noopener noreferrer"},Pt)}const Xo=Ze()(`${$t}-list-item`,`${$t}-list-item-${ai}`),hl=typeof dn.linkProps=="string"?JSON.parse(dn.linkProps):dn.linkProps,Cl=ei?zr((typeof On=="function"?On(dn):On)||ae.createElement(st.Z,null),()=>Wr(dn),$t,Ut.removeFile):null,Fl=qr&&ai==="done"?zr((typeof ma=="function"?ma(dn):ma)||ae.createElement(tn.Z,null),()=>Un(dn),$t,Ut.downloadFile):null,tl=Bn!=="picture-card"&&Bn!=="picture-circle"&&ae.createElement("span",{key:"download-delete",className:Ze()(`${$t}-list-item-actions`,{picture:Bn==="picture"})},Fl,Cl),ki=Ze()(`${$t}-list-item-name`),pl=dn.url?[ae.createElement("a",Object.assign({key:"view",target:"_blank",rel:"noopener noreferrer",className:ki,title:dn.name},hl,{href:dn.url,onClick:Pt=>Va(dn,Pt)}),dn.name),tl]:[ae.createElement("span",{key:"view",className:ki,onClick:Pt=>Va(dn,Pt),title:dn.name},dn.name),tl],kr={pointerEvents:"none",opacity:.5},vt=Mi?ae.createElement("a",{href:dn.url||dn.thumbUrl,target:"_blank",rel:"noopener noreferrer",style:dn.url||dn.thumbUrl?void 0:kr,onClick:Pt=>Va(dn,Pt),title:Ut.previewFile},typeof Yo=="function"?Yo(dn):Yo||ae.createElement(We.Z,null)):null,At=(Bn==="picture-card"||Bn==="picture-circle")&&ai!=="uploading"&&ae.createElement("span",{className:`${$t}-list-item-actions`},vt,ai==="done"&&Fl,Cl),{getPrefixCls:Jt}=ae.useContext(en.E_),Ne=Jt(),Vt=ae.createElement("div",{className:Xo},wi,pl,At,yi&&ae.createElement(Ge.default,{motionName:`${Ne}-fade`,visible:ai==="uploading",motionDeadline:2e3},Pt=>{let{className:Kt}=Pt;const It="percent"in dn?ae.createElement(ut.Z,Object.assign({},Aa,{type:"line",percent:dn.percent,"aria-label":dn["aria-label"],"aria-labelledby":dn["aria-labelledby"]})):null;return ae.createElement("div",{className:Ze()(`${$t}-list-item-progress`,Kt)},It)})),An=dn.response&&typeof dn.response=="string"?dn.response:((_r=dn.error)===null||_r===void 0?void 0:_r.statusText)||((ti=dn.error)===null||ti===void 0?void 0:ti.message)||Ut.uploadError,wn=ai==="error"?ae.createElement(Bt.Z,{title:An,getPopupContainer:Pt=>Pt.parentNode},Vt):Vt;return ae.createElement("div",{className:Ze()(`${$t}-list-item-container`,Qt),style:$n,ref:Xt},co?co(wn,dn,$a,{download:Un.bind(null,dn),preview:Va.bind(null,dn),remove:Wr.bind(null,dn)}):wn)});const yn=(ot,Xt)=>{const{listType:$t="text",previewFile:Qt=Kn,onPreview:$n,onDownload:Ut,onRemove:Bn,locale:dn,iconRender:$a,isImageUrl:Aa=Ke,prefixCls:cr,items:zr=[],showPreviewIcon:co=!0,showRemoveIcon:gn=!0,showDownloadIcon:Mi=!1,removeIcon:ei,previewIcon:qr,downloadIcon:Yo,progress:On={size:[-1,2],showInfo:!1},appendAction:ma,appendActionVisible:Va=!0,itemRender:Un,disabled:Wr}=ot,_r=(0,Fe.Z)(),[ti,ni]=ae.useState(!1);ae.useEffect(()=>{$t!=="picture"&&$t!=="picture-card"&&$t!=="picture-circle"||(zr||[]).forEach(kr=>{typeof document=="undefined"||typeof window=="undefined"||!window.FileReader||!window.File||!(kr.originFileObj instanceof File||kr.originFileObj instanceof Blob)||kr.thumbUrl!==void 0||(kr.thumbUrl="",Qt&&Qt(kr.originFileObj).then(vt=>{kr.thumbUrl=vt||"",_r()}))})},[$t,zr,Qt]),ae.useEffect(()=>{ni(!0)},[]);const ai=(kr,vt)=>{if($n)return vt==null||vt.preventDefault(),$n(kr)},bl=kr=>{typeof Ut=="function"?Ut(kr):kr.url&&window.open(kr.url)},yi=kr=>{Bn==null||Bn(kr)},jl=kr=>{if($a)return $a(kr,$t);const vt=kr.status==="uploading",At=Aa&&Aa(kr)?ae.createElement(Rt,null):ae.createElement(Ft,null);let Jt=vt?ae.createElement(Rn.Z,null):ae.createElement(hn,null);return $t==="picture"?Jt=vt?ae.createElement(Rn.Z,null):At:($t==="picture-card"||$t==="picture-circle")&&(Jt=vt?dn.uploading:At),Jt},$l=(kr,vt,At,Jt)=>{const Ne={type:"text",size:"small",title:Jt,onClick:Vt=>{vt(),(0,Gt.l$)(kr)&&kr.props.onClick&&kr.props.onClick(Vt)},className:`${At}-list-item-action`,disabled:Wr};if((0,Gt.l$)(kr)){const Vt=(0,Gt.Tm)(kr,Object.assign(Object.assign({},kr.props),{onClick:()=>{}}));return ae.createElement(_t.ZP,Object.assign({},Ne,{icon:Vt}))}return ae.createElement(_t.ZP,Object.assign({},Ne),ae.createElement("span",null,kr))};ae.useImperativeHandle(Xt,()=>({handlePreview:ai,handleDownload:bl}));const{getPrefixCls:wi}=ae.useContext(en.E_),Xo=wi("upload",cr),hl=wi(),Cl=Ze()(`${Xo}-list`,`${Xo}-list-${$t}`),Fl=(0,me.Z)(zr.map(kr=>({key:kr.uid,file:kr})));let ki={motionDeadline:2e3,motionName:`${Xo}-${$t==="picture-card"||$t==="picture-circle"?"animate-inline":"animate"}`,keys:Fl,motionAppear:ti};const pl=ae.useMemo(()=>{const kr=Object.assign({},(0,pt.Z)(hl));return delete kr.onAppearEnd,delete kr.onEnterEnd,delete kr.onLeaveEnd,kr},[hl]);return $t!=="picture-card"&&$t!=="picture-circle"&&(ki=Object.assign(Object.assign({},pl),ki)),ae.createElement("div",{className:Cl},ae.createElement(Ge.CSSMotionList,Object.assign({},ki,{component:!1}),kr=>{let{key:vt,file:At,className:Jt,style:Ne}=kr;return ae.createElement(Ot,{key:vt,locale:dn,prefixCls:Xo,className:Jt,style:Ne,file:At,items:zr,progress:On,listType:$t,isImgUrl:Aa,showPreviewIcon:co,showRemoveIcon:gn,showDownloadIcon:Mi,removeIcon:ei,previewIcon:qr,downloadIcon:Yo,iconRender:jl,actionIconRender:$l,itemRender:Un,onPreview:ai,onDownload:bl,onClose:yi})}),ma&&ae.createElement(Ge.default,Object.assign({},ki,{visible:Va,forceRender:!0}),kr=>{let{className:vt,style:At}=kr;return(0,Gt.Tm)(ma,Jt=>({className:Ze()(Jt.className,vt),style:Object.assign(Object.assign(Object.assign({},At),{pointerEvents:vt?"none":void 0}),Jt.style)}))}))};var Vn=ae.forwardRef(yn),jn=ee(14747),Ga=ee(33507),ra=ee(67968),Ka=ee(45503),Tr=ot=>{const{componentCls:Xt,iconCls:$t}=ot;return{[`${Xt}-wrapper`]:{[`${Xt}-drag`]:{position:"relative",width:"100%",height:"100%",textAlign:"center",background:ot.colorFillAlter,border:`${ot.lineWidth}px dashed ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,cursor:"pointer",transition:`border-color ${ot.motionDurationSlow}`,[Xt]:{padding:`${ot.padding}px 0`},[`${Xt}-btn`]:{display:"table",width:"100%",height:"100%",outline:"none"},[`${Xt}-drag-container`]:{display:"table-cell",verticalAlign:"middle"},[`&:not(${Xt}-disabled):hover`]:{borderColor:ot.colorPrimaryHover},[`p${Xt}-drag-icon`]:{marginBottom:ot.margin,[$t]:{color:ot.colorPrimary,fontSize:ot.uploadThumbnailSize}},[`p${Xt}-text`]:{margin:`0 0 ${ot.marginXXS}px`,color:ot.colorTextHeading,fontSize:ot.fontSizeLG},[`p${Xt}-hint`]:{color:ot.colorTextDescription,fontSize:ot.fontSize},[`&${Xt}-disabled`]:{cursor:"not-allowed",[`p${Xt}-drag-icon ${$t},
p${Xt}-text,
p${Xt}-hint
`]:{color:ot.colorTextDisabled}}}}}},Rr=ot=>{const{componentCls:Xt,antCls:$t,iconCls:Qt,fontSize:$n,lineHeight:Ut}=ot,Bn=`${Xt}-list-item`,dn=`${Bn}-actions`,$a=`${Bn}-action`,Aa=Math.round($n*Ut);return{[`${Xt}-wrapper`]:{[`${Xt}-list`]:Object.assign(Object.assign({},(0,jn.dF)()),{lineHeight:ot.lineHeight,[Bn]:{position:"relative",height:ot.lineHeight*$n,marginTop:ot.marginXS,fontSize:$n,display:"flex",alignItems:"center",transition:`background-color ${ot.motionDurationSlow}`,"&:hover":{backgroundColor:ot.controlItemBgHover},[`${Bn}-name`]:Object.assign(Object.assign({},jn.vS),{padding:`0 ${ot.paddingXS}px`,lineHeight:Ut,flex:"auto",transition:`all ${ot.motionDurationSlow}`}),[dn]:{[$a]:{opacity:0},[`${$a}${$t}-btn-sm`]:{height:Aa,border:0,lineHeight:1,"> span":{transform:"scale(1)"}},[`
${$a}:focus-visible,
&.picture ${$a}
`]:{opacity:1},[Qt]:{color:ot.actionsColor,transition:`all ${ot.motionDurationSlow}`},[`&:hover ${Qt}`]:{color:ot.colorText}},[`${Xt}-icon ${Qt}`]:{color:ot.colorTextDescription,fontSize:$n},[`${Bn}-progress`]:{position:"absolute",bottom:-ot.uploadProgressOffset,width:"100%",paddingInlineStart:$n+ot.paddingXS,fontSize:$n,lineHeight:0,pointerEvents:"none","> div":{margin:0}}},[`${Bn}:hover ${$a}`]:{opacity:1,color:ot.colorText},[`${Bn}-error`]:{color:ot.colorError,[`${Bn}-name, ${Xt}-icon ${Qt}`]:{color:ot.colorError},[dn]:{[`${Qt}, ${Qt}:hover`]:{color:ot.colorError},[$a]:{opacity:1}}},[`${Xt}-list-item-container`]:{transition:`opacity ${ot.motionDurationSlow}, height ${ot.motionDurationSlow}`,"&::before":{display:"table",width:0,height:0,content:'""'}}})}}},Mr=ee(45930),to=ee(16932);const lo=new Mr.Keyframes("uploadAnimateInlineIn",{from:{width:0,height:0,margin:0,padding:0,opacity:0}}),gr=new Mr.Keyframes("uploadAnimateInlineOut",{to:{width:0,height:0,margin:0,padding:0,opacity:0}});var In=ot=>{const{componentCls:Xt}=ot,$t=`${Xt}-animate-inline`;return[{[`${Xt}-wrapper`]:{[`${$t}-appear, ${$t}-enter, ${$t}-leave`]:{animationDuration:ot.motionDurationSlow,animationTimingFunction:ot.motionEaseInOutCirc,animationFillMode:"forwards"},[`${$t}-appear, ${$t}-enter`]:{animationName:lo},[`${$t}-leave`]:{animationName:gr}}},{[`${Xt}-wrapper`]:(0,to.J$)(ot)},lo,gr]},En=ee(47448),Ln=ee(84780);const Oa=ot=>{const{componentCls:Xt,iconCls:$t,uploadThumbnailSize:Qt,uploadProgressOffset:$n}=ot,Ut=`${Xt}-list`,Bn=`${Ut}-item`;return{[`${Xt}-wrapper`]:{[`
${Ut}${Ut}-picture,
${Ut}${Ut}-picture-card,
${Ut}${Ut}-picture-circle
`]:{[Bn]:{position:"relative",height:Qt+ot.lineWidth*2+ot.paddingXS*2,padding:ot.paddingXS,border:`${ot.lineWidth}px ${ot.lineType} ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,"&:hover":{background:"transparent"},[`${Bn}-thumbnail`]:Object.assign(Object.assign({},jn.vS),{width:Qt,height:Qt,lineHeight:`${Qt+ot.paddingSM}px`,textAlign:"center",flex:"none",[$t]:{fontSize:ot.fontSizeHeading2,color:ot.colorPrimary},img:{display:"block",width:"100%",height:"100%",overflow:"hidden"}}),[`${Bn}-progress`]:{bottom:$n,width:`calc(100% - ${ot.paddingSM*2}px)`,marginTop:0,paddingInlineStart:Qt+ot.paddingXS}},[`${Bn}-error`]:{borderColor:ot.colorError,[`${Bn}-thumbnail ${$t}`]:{[`svg path[fill='${En.blue[0]}']`]:{fill:ot.colorErrorBg},[`svg path[fill='${En.blue.primary}']`]:{fill:ot.colorError}}},[`${Bn}-uploading`]:{borderStyle:"dashed",[`${Bn}-name`]:{marginBottom:$n}}},[`${Ut}${Ut}-picture-circle ${Bn}`]:{[`&, &::before, ${Bn}-thumbnail`]:{borderRadius:"50%"}}}}},Ar=ot=>{const{componentCls:Xt,iconCls:$t,fontSizeLG:Qt,colorTextLightSolid:$n}=ot,Ut=`${Xt}-list`,Bn=`${Ut}-item`,dn=ot.uploadPicCardSize;return{[`
${Xt}-wrapper${Xt}-picture-card-wrapper,
${Xt}-wrapper${Xt}-picture-circle-wrapper
`]:Object.assign(Object.assign({},(0,jn.dF)()),{display:"inline-block",width:"100%",[`${Xt}${Xt}-select`]:{width:dn,height:dn,marginInlineEnd:ot.marginXS,marginBottom:ot.marginXS,textAlign:"center",verticalAlign:"top",backgroundColor:ot.colorFillAlter,border:`${ot.lineWidth}px dashed ${ot.colorBorder}`,borderRadius:ot.borderRadiusLG,cursor:"pointer",transition:`border-color ${ot.motionDurationSlow}`,[`> ${Xt}`]:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%",textAlign:"center"},[`&:not(${Xt}-disabled):hover`]:{borderColor:ot.colorPrimary}},[`${Ut}${Ut}-picture-card, ${Ut}${Ut}-picture-circle`]:{[`${Ut}-item-container`]:{display:"inline-block",width:dn,height:dn,marginBlock:`0 ${ot.marginXS}px`,marginInline:`0 ${ot.marginXS}px`,verticalAlign:"top"},"&::after":{display:"none"},[Bn]:{height:"100%",margin:0,"&::before":{position:"absolute",zIndex:1,width:`calc(100% - ${ot.paddingXS*2}px)`,height:`calc(100% - ${ot.paddingXS*2}px)`,backgroundColor:ot.colorBgMask,opacity:0,transition:`all ${ot.motionDurationSlow}`,content:'" "'}},[`${Bn}:hover`]:{[`&::before, ${Bn}-actions`]:{opacity:1}},[`${Bn}-actions`]:{position:"absolute",insetInlineStart:0,zIndex:10,width:"100%",whiteSpace:"nowrap",textAlign:"center",opacity:0,transition:`all ${ot.motionDurationSlow}`,[`${$t}-eye, ${$t}-download, ${$t}-delete`]:{zIndex:10,width:Qt,margin:`0 ${ot.marginXXS}px`,fontSize:Qt,cursor:"pointer",transition:`all ${ot.motionDurationSlow}`,svg:{verticalAlign:"baseline"}}},[`${Bn}-actions, ${Bn}-actions:hover`]:{[`${$t}-eye, ${$t}-download, ${$t}-delete`]:{color:new Ln.C($n).setAlpha(.65).toRgbString(),"&:hover":{color:$n}}},[`${Bn}-thumbnail, ${Bn}-thumbnail img`]:{position:"static",display:"block",width:"100%",height:"100%",objectFit:"contain"},[`${Bn}-name`]:{display:"none",textAlign:"center"},[`${Bn}-file + ${Bn}-name`]:{position:"absolute",bottom:ot.margin,display:"block",width:`calc(100% - ${ot.paddingXS*2}px)`},[`${Bn}-uploading`]:{[`&${Bn}`]:{backgroundColor:ot.colorFillAlter},[`&::before, ${$t}-eye, ${$t}-download, ${$t}-delete`]:{display:"none"}},[`${Bn}-progress`]:{bottom:ot.marginXL,width:`calc(100% - ${ot.paddingXS*2}px)`,paddingInlineStart:0}}}),[`${Xt}-wrapper${Xt}-picture-circle-wrapper`]:{[`${Xt}${Xt}-select`]:{borderRadius:"50%"}}}};var et=ot=>{const{componentCls:Xt}=ot;return{[`${Xt}-rtl`]:{direction:"rtl"}}};const dt=ot=>{const{componentCls:Xt,colorTextDisabled:$t}=ot;return{[`${Xt}-wrapper`]:Object.assign(Object.assign({},(0,jn.Wf)(ot)),{[Xt]:{outline:0,"input[type='file']":{cursor:"pointer"}},[`${Xt}-select`]:{display:"inline-block"},[`${Xt}-disabled`]:{color:$t,cursor:"not-allowed"}})}};var Ve=(0,ra.Z)("Upload",ot=>{const{fontSizeHeading3:Xt,fontSize:$t,lineHeight:Qt,lineWidth:$n,controlHeightLG:Ut}=ot,Bn=Math.round($t*Qt),dn=(0,Ka.TS)(ot,{uploadThumbnailSize:Xt*2,uploadProgressOffset:Bn/2+$n,uploadPicCardSize:Ut*2.55});return[dt(dn),Tr(dn),Oa(dn),Ar(dn),Rr(dn),In(dn),et(dn),(0,Ga.Z)(dn)]},ot=>({actionsColor:ot.colorTextDescription})),jt=function(ot,Xt,$t,Qt){function $n(Ut){return Ut instanceof $t?Ut:new $t(function(Bn){Bn(Ut)})}return new($t||($t=Promise))(function(Ut,Bn){function dn(cr){try{Aa(Qt.next(cr))}catch(zr){Bn(zr)}}function $a(cr){try{Aa(Qt.throw(cr))}catch(zr){Bn(zr)}}function Aa(cr){cr.done?Ut(cr.value):$n(cr.value).then(dn,$a)}Aa((Qt=Qt.apply(ot,Xt||[])).next())})};const bn=`__LIST_IGNORE_${Date.now()}__`,Jn=(ot,Xt)=>{const{fileList:$t,defaultFileList:Qt,onRemove:$n,showUploadList:Ut=!0,listType:Bn="text",onPreview:dn,onDownload:$a,onChange:Aa,onDrop:cr,previewFile:zr,disabled:co,locale:gn,iconRender:Mi,isImageUrl:ei,progress:qr,prefixCls:Yo,className:On,type:ma="select",children:Va,style:Un,itemRender:Wr,maxCount:_r,data:ti={},multiple:ni=!1,action:ai="",accept:bl="",supportServerRender:yi=!0,rootClassName:jl}=ot,$l=ae.useContext(Mt.Z),wi=co!=null?co:$l,[Xo,hl]=(0,ct.Z)(Qt||[],{value:$t,postState:_n=>_n!=null?_n:[]}),[Cl,Fl]=ae.useState("drop"),tl=ae.useRef(null);ae.useMemo(()=>{const _n=Date.now();($t||[]).forEach((Pa,pa)=>{!Pa.uid&&!Object.isFrozen(Pa)&&(Pa.uid=`__AUTO__${_n}_${pa}__`)})},[$t]);const ki=(_n,Pa,pa)=>{let Za=(0,me.Z)(Pa),dr=!1;_r===1?Za=Za.slice(-1):_r&&(dr=Za.length>_r,Za=Za.slice(0,_r)),(0,zt.flushSync)(()=>{hl(Za)});const Hr={file:_n,fileList:Za};pa&&(Hr.event=pa),(!dr||Za.some(ro=>ro.uid===_n.uid))&&(0,zt.flushSync)(()=>{Aa==null||Aa(Hr)})},pl=(_n,Pa)=>jt(void 0,void 0,void 0,function*(){const{beforeUpload:pa,transformFile:Za}=ot;let dr=_n;if(pa){const Hr=yield pa(_n,Pa);if(Hr===!1)return!1;if(delete _n[bn],Hr===bn)return Object.defineProperty(_n,bn,{value:!0,configurable:!0}),!1;typeof Hr=="object"&&Hr&&(dr=Hr)}return Za&&(dr=yield Za(dr)),dr}),kr=_n=>{const Pa=_n.filter(dr=>!dr.file[bn]);if(!Pa.length)return;const pa=Pa.map(dr=>Pn(dr.file));let Za=(0,me.Z)(Xo);pa.forEach(dr=>{Za=Qn(dr,Za)}),pa.forEach((dr,Hr)=>{let ro=dr;if(Pa[Hr].parsedFile)dr.status="uploading";else{const{originFileObj:Eo}=dr;let wo;try{wo=new File([Eo],Eo.name,{type:Eo.type})}catch(Lo){wo=new Blob([Eo],{type:Eo.type}),wo.name=Eo.name,wo.lastModifiedDate=new Date,wo.lastModified=new Date().getTime()}wo.uid=dr.uid,ro=wo}ki(ro,Za)})},vt=(_n,Pa,pa)=>{try{typeof _n=="string"&&(_n=JSON.parse(_n))}catch(Hr){}if(!Gn(Pa,Xo))return;const Za=Pn(Pa);Za.status="done",Za.percent=100,Za.response=_n,Za.xhr=pa;const dr=Qn(Za,Xo);ki(Za,dr)},At=(_n,Pa)=>{if(!Gn(Pa,Xo))return;const pa=Pn(Pa);pa.status="uploading",pa.percent=_n.percent;const Za=Qn(pa,Xo);ki(pa,Za,_n)},Jt=(_n,Pa,pa)=>{if(!Gn(pa,Xo))return;const Za=Pn(pa);Za.error=_n,Za.response=Pa,Za.status="error";const dr=Qn(Za,Xo);ki(Za,dr)},Ne=_n=>{let Pa;Promise.resolve(typeof $n=="function"?$n(_n):$n).then(pa=>{var Za;if(pa===!1)return;const dr=Hn(_n,Xo);dr&&(Pa=Object.assign(Object.assign({},_n),{status:"removed"}),Xo==null||Xo.forEach(Hr=>{const ro=Pa.uid!==void 0?"uid":"name";Hr[ro]===Pa[ro]&&!Object.isFrozen(Hr)&&(Hr.status="removed")}),(Za=tl.current)===null||Za===void 0||Za.abort(Pa),ki(Pa,dr))})},Vt=_n=>{Fl(_n.type),_n.type==="drop"&&(cr==null||cr(_n))};ae.useImperativeHandle(Xt,()=>({onBatchStart:kr,onSuccess:vt,onProgress:At,onError:Jt,fileList:Xo,upload:tl.current}));const{getPrefixCls:An,direction:wn,upload:Pt}=ae.useContext(en.E_),Kt=An("upload",Yo),It=Object.assign(Object.assign({onBatchStart:kr,onError:Jt,onProgress:At,onSuccess:vt},ot),{data:ti,multiple:ni,action:ai,accept:bl,supportServerRender:yi,prefixCls:Kt,disabled:wi,beforeUpload:pl,onChange:void 0});delete It.className,delete It.style,(!Va||wi)&&delete It.id;const[kn,sa]=Ve(Kt),[xa]=(0,lt.Z)("Upload",xt.Z.Upload),{showRemoveIcon:ha,showPreviewIcon:Ia,showDownloadIcon:rr,removeIcon:xn,previewIcon:Dt,downloadIcon:pn}=typeof Ut=="boolean"?{}:Ut,Cn=(_n,Pa)=>Ut?ae.createElement(Vn,{prefixCls:Kt,listType:Bn,items:Xo,previewFile:zr,onPreview:dn,onDownload:$a,onRemove:Ne,showRemoveIcon:!wi&&ha,showPreviewIcon:Ia,showDownloadIcon:rr,removeIcon:xn,previewIcon:Dt,downloadIcon:pn,iconRender:Mi,locale:Object.assign(Object.assign({},xa),gn),isImageUrl:ei,progress:qr,appendAction:_n,appendActionVisible:Pa,itemRender:Wr,disabled:wi}):_n,oa=Ze()(`${Kt}-wrapper`,On,jl,sa,Pt==null?void 0:Pt.className,{[`${Kt}-rtl`]:wn==="rtl",[`${Kt}-picture-card-wrapper`]:Bn==="picture-card",[`${Kt}-picture-circle-wrapper`]:Bn==="picture-circle"}),Fa=Object.assign(Object.assign({},Pt==null?void 0:Pt.style),Un);if(ma==="drag"){const _n=Ze()(sa,Kt,`${Kt}-drag`,{[`${Kt}-drag-uploading`]:Xo.some(Pa=>Pa.status==="uploading"),[`${Kt}-drag-hover`]:Cl==="dragover",[`${Kt}-disabled`]:wi,[`${Kt}-rtl`]:wn==="rtl"});return kn(ae.createElement("span",{className:oa},ae.createElement("div",{className:_n,style:Fa,onDrop:Vt,onDragOver:Vt,onDragLeave:Vt},ae.createElement(qe,Object.assign({},It,{ref:tl,className:`${Kt}-btn`}),ae.createElement("div",{className:`${Kt}-drag-container`},Va))),Cn()))}const Xa=Ze()(Kt,`${Kt}-select`,{[`${Kt}-disabled`]:wi}),sr=(_n=>ae.createElement("div",{className:Xa,style:_n},ae.createElement(qe,Object.assign({},It,{ref:tl}))))(Va?void 0:{display:"none"});return kn(Bn==="picture-card"||Bn==="picture-circle"?ae.createElement("span",{className:oa},Cn(sr,!!Va)):ae.createElement("span",{className:oa},sr,Cn()))};var ca=ae.forwardRef(Jn),Wn=function(ot,Xt){var $t={};for(var Qt in ot)Object.prototype.hasOwnProperty.call(ot,Qt)&&Xt.indexOf(Qt)<0&&($t[Qt]=ot[Qt]);if(ot!=null&&typeof Object.getOwnPropertySymbols=="function")for(var $n=0,Qt=Object.getOwnPropertySymbols(ot);$n<Qt.length;$n++)Xt.indexOf(Qt[$n])<0&&Object.prototype.propertyIsEnumerable.call(ot,Qt[$n])&&($t[Qt[$n]]=ot[Qt[$n]]);return $t},ho=ae.forwardRef((ot,Xt)=>{var{style:$t,height:Qt}=ot,$n=Wn(ot,["style","height"]);return ae.createElement(ca,Object.assign({ref:Xt},$n,{type:"drag",style:Object.assign(Object.assign({},$t),{height:Qt})}))});const Mn=ca;Mn.Dragger=ho,Mn.LIST_IGNORE=bn;var no=Mn},97909:function(ht){(function(wt,ee){ht.exports=ee()})(this,function(){"use strict";var wt=1e3,ee=6e4,ae=36e5,me="millisecond",Ie="second",Ze="minute",Me="hour",ze="day",se="week",Te="month",je="quarter",He="year",_e="date",$e="Invalid Date",we=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ce=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(be){var xe=["th","st","nd","rd"],Se=be%100;return"["+be+(xe[(Se-20)%10]||xe[Se]||xe[0])+"]"}},a=function(be,xe,Se){var ft=String(be);return!ft||ft.length>=xe?be:""+Array(xe+1-ft.length).join(Se)+be},x={s:a,z:function(be){var xe=-be.utcOffset(),Se=Math.abs(xe),ft=Math.floor(Se/60),Ye=Se%60;return(xe<=0?"+":"-")+a(ft,2,"0")+":"+a(Ye,2,"0")},m:function be(xe,Se){if(xe.date()<Se.date())return-be(Se,xe);var ft=12*(Se.year()-xe.year())+(Se.month()-xe.month()),Ye=xe.clone().add(ft,Te),Zt=Se-Ye<0,qe=xe.clone().add(ft+(Zt?-1:1),Te);return+(-(ft+(Se-Ye)/(Zt?Ye-qe:qe-Ye))||0)},a:function(be){return be<0?Math.ceil(be)||0:Math.floor(be)},p:function(be){return{M:Te,y:He,w:se,d:ze,D:_e,h:Me,m:Ze,s:Ie,ms:me,Q:je}[be]||String(be||"").toLowerCase().replace(/s$/,"")},u:function(be){return be===void 0}},b="en",E={};E[b]=y;var z="$isDayjsObject",re=function(be){return be instanceof pe||!(!be||!be[z])},oe=function be(xe,Se,ft){var Ye;if(!xe)return b;if(typeof xe=="string"){var Zt=xe.toLowerCase();E[Zt]&&(Ye=Zt),Se&&(E[Zt]=Se,Ye=Zt);var qe=xe.split("-");if(!Ye&&qe.length>1)return be(qe[0])}else{var ct=xe.name;E[ct]=xe,Ye=ct}return!ft&&Ye&&(b=Ye),Ye||!ft&&b},ne=function(be,xe){if(re(be))return be.clone();var Se=typeof xe=="object"?xe:{};return Se.date=be,Se.args=arguments,new pe(Se)},ge=x;ge.l=oe,ge.i=re,ge.w=function(be,xe){return ne(be,{locale:xe.$L,utc:xe.$u,x:xe.$x,$offset:xe.$offset})};var pe=function(){function be(Se){this.$L=oe(Se.locale,null,!0),this.parse(Se),this.$x=this.$x||Se.x||{},this[z]=!0}var xe=be.prototype;return xe.parse=function(Se){this.$d=function(ft){var Ye=ft.date,Zt=ft.utc;if(Ye===null)return new Date(NaN);if(ge.u(Ye))return new Date;if(Ye instanceof Date)return new Date(Ye);if(typeof Ye=="string"&&!/Z$/i.test(Ye)){var qe=Ye.match(we);if(qe){var ct=qe[2]-1||0,zt=(qe[7]||"0").substring(0,3);return Zt?new Date(Date.UTC(qe[1],ct,qe[3]||1,qe[4]||0,qe[5]||0,qe[6]||0,zt)):new Date(qe[1],ct,qe[3]||1,qe[4]||0,qe[5]||0,qe[6]||0,zt)}}return new Date(Ye)}(Se),this.init()},xe.init=function(){var Se=this.$d;this.$y=Se.getFullYear(),this.$M=Se.getMonth(),this.$D=Se.getDate(),this.$W=Se.getDay(),this.$H=Se.getHours(),this.$m=Se.getMinutes(),this.$s=Se.getSeconds(),this.$ms=Se.getMilliseconds()},xe.$utils=function(){return ge},xe.isValid=function(){return this.$d.toString()!==$e},xe.isSame=function(Se,ft){var Ye=ne(Se);return this.startOf(ft)<=Ye&&Ye<=this.endOf(ft)},xe.isAfter=function(Se,ft){return ne(Se)<this.startOf(ft)},xe.isBefore=function(Se,ft){return this.endOf(ft)<ne(Se)},xe.$g=function(Se,ft,Ye){return ge.u(Se)?this[ft]:this.set(Ye,Se)},xe.unix=function(){return Math.floor(this.valueOf()/1e3)},xe.valueOf=function(){return this.$d.getTime()},xe.startOf=function(Se,ft){var Ye=this,Zt=!!ge.u(ft)||ft,qe=ge.p(Se),ct=function(Ue,Ct){var Ft=ge.w(Ye.$u?Date.UTC(Ye.$y,Ct,Ue):new Date(Ye.$y,Ct,Ue),Ye);return Zt?Ft:Ft.endOf(ze)},zt=function(Ue,Ct){return ge.w(Ye.toDate()[Ue].apply(Ye.toDate("s"),(Zt?[0,0,0,0]:[23,59,59,999]).slice(Ct)),Ye)},en=this.$W,Mt=this.$M,lt=this.$D,xt="set"+(this.$u?"UTC":"");switch(qe){case He:return Zt?ct(1,0):ct(31,11);case Te:return Zt?ct(1,Mt):ct(0,Mt+1);case se:var nn=this.$locale().weekStart||0,vn=(en<nn?en+7:en)-nn;return ct(Zt?lt-vn:lt+(6-vn),Mt);case ze:case _e:return zt(xt+"Hours",0);case Me:return zt(xt+"Minutes",1);case Ze:return zt(xt+"Seconds",2);case Ie:return zt(xt+"Milliseconds",3);default:return this.clone()}},xe.endOf=function(Se){return this.startOf(Se,!1)},xe.$set=function(Se,ft){var Ye,Zt=ge.p(Se),qe="set"+(this.$u?"UTC":""),ct=(Ye={},Ye[ze]=qe+"Date",Ye[_e]=qe+"Date",Ye[Te]=qe+"Month",Ye[He]=qe+"FullYear",Ye[Me]=qe+"Hours",Ye[Ze]=qe+"Minutes",Ye[Ie]=qe+"Seconds",Ye[me]=qe+"Milliseconds",Ye)[Zt],zt=Zt===ze?this.$D+(ft-this.$W):ft;if(Zt===Te||Zt===He){var en=this.clone().set(_e,1);en.$d[ct](zt),en.init(),this.$d=en.set(_e,Math.min(this.$D,en.daysInMonth())).$d}else ct&&this.$d[ct](zt);return this.init(),this},xe.set=function(Se,ft){return this.clone().$set(Se,ft)},xe.get=function(Se){return this[ge.p(Se)]()},xe.add=function(Se,ft){var Ye,Zt=this;Se=Number(Se);var qe=ge.p(ft),ct=function(Mt){var lt=ne(Zt);return ge.w(lt.date(lt.date()+Math.round(Mt*Se)),Zt)};if(qe===Te)return this.set(Te,this.$M+Se);if(qe===He)return this.set(He,this.$y+Se);if(qe===ze)return ct(1);if(qe===se)return ct(7);var zt=(Ye={},Ye[Ze]=ee,Ye[Me]=ae,Ye[Ie]=wt,Ye)[qe]||1,en=this.$d.getTime()+Se*zt;return ge.w(en,this)},xe.subtract=function(Se,ft){return this.add(-1*Se,ft)},xe.format=function(Se){var ft=this,Ye=this.$locale();if(!this.isValid())return Ye.invalidDate||$e;var Zt=Se||"YYYY-MM-DDTHH:mm:ssZ",qe=ge.z(this),ct=this.$H,zt=this.$m,en=this.$M,Mt=Ye.weekdays,lt=Ye.months,xt=Ye.meridiem,nn=function(Ct,Ft,Rn,nt){return Ct&&(Ct[Ft]||Ct(ft,Zt))||Rn[Ft].slice(0,nt)},vn=function(Ct){return ge.s(ct%12||12,Ct,"0")},Ue=xt||function(Ct,Ft,Rn){var nt=Ct<12?"AM":"PM";return Rn?nt.toLowerCase():nt};return Zt.replace(ce,function(Ct,Ft){return Ft||function(Rn){switch(Rn){case"YY":return String(ft.$y).slice(-2);case"YYYY":return ge.s(ft.$y,4,"0");case"M":return en+1;case"MM":return ge.s(en+1,2,"0");case"MMM":return nn(Ye.monthsShort,en,lt,3);case"MMMM":return nn(lt,en);case"D":return ft.$D;case"DD":return ge.s(ft.$D,2,"0");case"d":return String(ft.$W);case"dd":return nn(Ye.weekdaysMin,ft.$W,Mt,2);case"ddd":return nn(Ye.weekdaysShort,ft.$W,Mt,3);case"dddd":return Mt[ft.$W];case"H":return String(ct);case"HH":return ge.s(ct,2,"0");case"h":return vn(1);case"hh":return vn(2);case"a":return Ue(ct,zt,!0);case"A":return Ue(ct,zt,!1);case"m":return String(zt);case"mm":return ge.s(zt,2,"0");case"s":return String(ft.$s);case"ss":return ge.s(ft.$s,2,"0");case"SSS":return ge.s(ft.$ms,3,"0");case"Z":return qe}return null}(Ct)||qe.replace(":","")})},xe.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},xe.diff=function(Se,ft,Ye){var Zt,qe=this,ct=ge.p(ft),zt=ne(Se),en=(zt.utcOffset()-this.utcOffset())*ee,Mt=this-zt,lt=function(){return ge.m(qe,zt)};switch(ct){case He:Zt=lt()/12;break;case Te:Zt=lt();break;case je:Zt=lt()/3;break;case se:Zt=(Mt-en)/6048e5;break;case ze:Zt=(Mt-en)/864e5;break;case Me:Zt=Mt/ae;break;case Ze:Zt=Mt/ee;break;case Ie:Zt=Mt/wt;break;default:Zt=Mt}return Ye?Zt:ge.a(Zt)},xe.daysInMonth=function(){return this.endOf(Te).$D},xe.$locale=function(){return E[this.$L]},xe.locale=function(Se,ft){if(!Se)return this.$L;var Ye=this.clone(),Zt=oe(Se,ft,!0);return Zt&&(Ye.$L=Zt),Ye},xe.clone=function(){return ge.w(this.$d,this)},xe.toDate=function(){return new Date(this.valueOf())},xe.toJSON=function(){return this.isValid()?this.toISOString():null},xe.toISOString=function(){return this.$d.toISOString()},xe.toString=function(){return this.$d.toUTCString()},be}(),Le=pe.prototype;return ne.prototype=Le,[["$ms",me],["$s",Ie],["$m",Ze],["$H",Me],["$W",ze],["$M",Te],["$y",He],["$D",_e]].forEach(function(be){Le[be[1]]=function(xe){return this.$g(xe,be[0],be[1])}}),ne.extend=function(be,xe){return be.$i||(be(xe,pe,ne),be.$i=!0),ne},ne.locale=oe,ne.isDayjs=re,ne.unix=function(be){return ne(1e3*be)},ne.en=E[b],ne.Ls=E,ne.p={},ne})},86625:function(ht){(function(wt,ee){ht.exports=ee()})(this,function(){"use strict";return function(wt,ee){var ae=ee.prototype,me=ae.format;ae.format=function(Ie){var Ze=this,Me=this.$locale();if(!this.isValid())return me.bind(this)(Ie);var ze=this.$utils(),se=(Ie||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(Te){switch(Te){case"Q":return Math.ceil((Ze.$M+1)/3);case"Do":return Me.ordinal(Ze.$D);case"gggg":return Ze.weekYear();case"GGGG":return Ze.isoWeekYear();case"wo":return Me.ordinal(Ze.week(),"W");case"w":case"ww":return ze.s(Ze.week(),Te==="w"?1:2,"0");case"W":case"WW":return ze.s(Ze.isoWeek(),Te==="W"?1:2,"0");case"k":case"kk":return ze.s(String(Ze.$H===0?24:Ze.$H),Te==="k"?1:2,"0");case"X":return Math.floor(Ze.$d.getTime()/1e3);case"x":return Ze.$d.getTime();case"z":return"["+Ze.offsetName()+"]";case"zzz":return"["+Ze.offsetName("long")+"]";default:return Te}});return me.bind(this)(se)}}})},40618:function(ht){(function(wt,ee){ht.exports=ee()})(this,function(){"use strict";var wt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},ee=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,ae=/\d\d/,me=/\d\d?/,Ie=/\d*[^-_:/,()\s\d]+/,Ze={},Me=function($e){return($e=+$e)+($e>68?1900:2e3)},ze=function($e){return function(we){this[$e]=+we}},se=[/[+-]\d\d:?(\d\d)?|Z/,function($e){(this.zone||(this.zone={})).offset=function(we){if(!we||we==="Z")return 0;var ce=we.match(/([+-]|\d\d)/g),y=60*ce[1]+(+ce[2]||0);return y===0?0:ce[0]==="+"?-y:y}($e)}],Te=function($e){var we=Ze[$e];return we&&(we.indexOf?we:we.s.concat(we.f))},je=function($e,we){var ce,y=Ze.meridiem;if(y){for(var a=1;a<=24;a+=1)if($e.indexOf(y(a,0,we))>-1){ce=a>12;break}}else ce=$e===(we?"pm":"PM");return ce},He={A:[Ie,function($e){this.afternoon=je($e,!1)}],a:[Ie,function($e){this.afternoon=je($e,!0)}],S:[/\d/,function($e){this.milliseconds=100*+$e}],SS:[ae,function($e){this.milliseconds=10*+$e}],SSS:[/\d{3}/,function($e){this.milliseconds=+$e}],s:[me,ze("seconds")],ss:[me,ze("seconds")],m:[me,ze("minutes")],mm:[me,ze("minutes")],H:[me,ze("hours")],h:[me,ze("hours")],HH:[me,ze("hours")],hh:[me,ze("hours")],D:[me,ze("day")],DD:[ae,ze("day")],Do:[Ie,function($e){var we=Ze.ordinal,ce=$e.match(/\d+/);if(this.day=ce[0],we)for(var y=1;y<=31;y+=1)we(y).replace(/\[|\]/g,"")===$e&&(this.day=y)}],M:[me,ze("month")],MM:[ae,ze("month")],MMM:[Ie,function($e){var we=Te("months"),ce=(Te("monthsShort")||we.map(function(y){return y.slice(0,3)})).indexOf($e)+1;if(ce<1)throw new Error;this.month=ce%12||ce}],MMMM:[Ie,function($e){var we=Te("months").indexOf($e)+1;if(we<1)throw new Error;this.month=we%12||we}],Y:[/[+-]?\d+/,ze("year")],YY:[ae,function($e){this.year=Me($e)}],YYYY:[/\d{4}/,ze("year")],Z:se,ZZ:se};function _e($e){var we,ce;we=$e,ce=Ze&&Ze.formats;for(var y=($e=we.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(oe,ne,ge){var pe=ge&&ge.toUpperCase();return ne||ce[ge]||wt[ge]||ce[pe].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(Le,be,xe){return be||xe.slice(1)})})).match(ee),a=y.length,x=0;x<a;x+=1){var b=y[x],E=He[b],z=E&&E[0],re=E&&E[1];y[x]=re?{regex:z,parser:re}:b.replace(/^\[|\]$/g,"")}return function(oe){for(var ne={},ge=0,pe=0;ge<a;ge+=1){var Le=y[ge];if(typeof Le=="string")pe+=Le.length;else{var be=Le.regex,xe=Le.parser,Se=oe.slice(pe),ft=be.exec(Se)[0];xe.call(ne,ft),oe=oe.replace(ft,"")}}return function(Ye){var Zt=Ye.afternoon;if(Zt!==void 0){var qe=Ye.hours;Zt?qe<12&&(Ye.hours+=12):qe===12&&(Ye.hours=0),delete Ye.afternoon}}(ne),ne}}return function($e,we,ce){ce.p.customParseFormat=!0,$e&&$e.parseTwoDigitYear&&(Me=$e.parseTwoDigitYear);var y=we.prototype,a=y.parse;y.parse=function(x){var b=x.date,E=x.utc,z=x.args;this.$u=E;var re=z[1];if(typeof re=="string"){var oe=z[2]===!0,ne=z[3]===!0,ge=oe||ne,pe=z[2];ne&&(pe=z[2]),Ze=this.$locale(),!oe&&pe&&(Ze=ce.Ls[pe]),this.$d=function(Se,ft,Ye){try{if(["x","X"].indexOf(ft)>-1)return new Date((ft==="X"?1e3:1)*Se);var Zt=_e(ft)(Se),qe=Zt.year,ct=Zt.month,zt=Zt.day,en=Zt.hours,Mt=Zt.minutes,lt=Zt.seconds,xt=Zt.milliseconds,nn=Zt.zone,vn=new Date,Ue=zt||(qe||ct?1:vn.getDate()),Ct=qe||vn.getFullYear(),Ft=0;qe&&!ct||(Ft=ct>0?ct-1:vn.getMonth());var Rn=en||0,nt=Mt||0,kt=lt||0,Ce=xt||0;return nn?new Date(Date.UTC(Ct,Ft,Ue,Rn,nt,kt,Ce+60*nn.offset*1e3)):Ye?new Date(Date.UTC(Ct,Ft,Ue,Rn,nt,kt,Ce)):new Date(Ct,Ft,Ue,Rn,nt,kt,Ce)}catch(hn){return new Date("")}}(b,re,E),this.init(),pe&&pe!==!0&&(this.$L=this.locale(pe).$L),ge&&b!=this.format(re)&&(this.$d=new Date("")),Ze={}}else if(re instanceof Array)for(var Le=re.length,be=1;be<=Le;be+=1){z[1]=re[be-1];var xe=ce.apply(this,z);if(xe.isValid()){this.$d=xe.$d,this.$L=xe.$L,this.init();break}be===Le&&(this.$d=new Date(""))}else a.call(this,x)}}})},26850:function(ht){(function(wt,ee){ht.exports=ee()})(this,function(){"use strict";return function(wt,ee,ae){var me=ee.prototype,Ie=function(Te){return Te&&(Te.indexOf?Te:Te.s)},Ze=function(Te,je,He,_e,$e){var we=Te.name?Te:Te.$locale(),ce=Ie(we[je]),y=Ie(we[He]),a=ce||y.map(function(b){return b.slice(0,_e)});if(!$e)return a;var x=we.weekStart;return a.map(function(b,E){return a[(E+(x||0))%7]})},Me=function(){return ae.Ls[ae.locale()]},ze=function(Te,je){return Te.formats[je]||function(He){return He.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(_e,$e,we){return $e||we.slice(1)})}(Te.formats[je.toUpperCase()])},se=function(){var Te=this;return{months:function(je){return je?je.format("MMMM"):Ze(Te,"months")},monthsShort:function(je){return je?je.format("MMM"):Ze(Te,"monthsShort","months",3)},firstDayOfWeek:function(){return Te.$locale().weekStart||0},weekdays:function(je){return je?je.format("dddd"):Ze(Te,"weekdays")},weekdaysMin:function(je){return je?je.format("dd"):Ze(Te,"weekdaysMin","weekdays",2)},weekdaysShort:function(je){return je?je.format("ddd"):Ze(Te,"weekdaysShort","weekdays",3)},longDateFormat:function(je){return ze(Te.$locale(),je)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};me.localeData=function(){return se.bind(this)()},ae.localeData=function(){var Te=Me();return{firstDayOfWeek:function(){return Te.weekStart||0},weekdays:function(){return ae.weekdays()},weekdaysShort:function(){return ae.weekdaysShort()},weekdaysMin:function(){return ae.weekdaysMin()},months:function(){return ae.months()},monthsShort:function(){return ae.monthsShort()},longDateFormat:function(je){return ze(Te,je)},meridiem:Te.meridiem,ordinal:Te.ordinal}},ae.months=function(){return Ze(Me(),"months")},ae.monthsShort=function(){return Ze(Me(),"monthsShort","months",3)},ae.weekdays=function(Te){return Ze(Me(),"weekdays",null,null,Te)},ae.weekdaysShort=function(Te){return Ze(Me(),"weekdaysShort","weekdays",3,Te)},ae.weekdaysMin=function(Te){return Ze(Me(),"weekdaysMin","weekdays",2,Te)}}})},23082:function(ht){(function(wt,ee){ht.exports=ee()})(this,function(){"use strict";var wt="week",ee="year";return function(ae,me,Ie){var Ze=me.prototype;Ze.week=function(Me){if(Me===void 0&&(Me=null),Me!==null)return this.add(7*(Me-this.week()),"day");var ze=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var se=Ie(this).startOf(ee).add(1,ee).date(ze),Te=Ie(this).endOf(wt);if(se.isBefore(Te))return 1}var je=Ie(this).startOf(ee).date(ze).startOf(wt).subtract(1,"millisecond"),He=this.diff(je,wt,!0);return He<0?Ie(this).startOf("week").week():Math.ceil(He)},Ze.weeks=function(Me){return Me===void 0&&(Me=null),this.week(Me)}}})},99873:function(ht){(function(wt,ee){ht.exports=ee()})(this,function(){"use strict";return function(wt,ee){ee.prototype.weekYear=function(){var ae=this.month(),me=this.week(),Ie=this.year();return me===1&&ae===11?Ie+1:ae===0&&me>=52?Ie-1:Ie}}})},33088:function(ht){(function(wt,ee){ht.exports=ee()})(this,function(){"use strict";return function(wt,ee){ee.prototype.weekday=function(ae){var me=this.$locale().weekStart||0,Ie=this.$W,Ze=(Ie<me?Ie+7:Ie)-me;return this.$utils().u(ae)?Ze:this.subtract(Ze,"day").add(ae,"day")}}})},62661:function(ht,wt){"use strict";var ee;var ae=Symbol.for("react.element"),me=Symbol.for("react.portal"),Ie=Symbol.for("react.fragment"),Ze=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),ze=Symbol.for("react.provider"),se=Symbol.for("react.context"),Te=Symbol.for("react.server_context"),je=Symbol.for("react.forward_ref"),He=Symbol.for("react.suspense"),_e=Symbol.for("react.suspense_list"),$e=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function a(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case ae:switch(x=x.type,x){case Ie:case Me:case Ze:case He:case _e:return x;default:switch(x=x&&x.$$typeof,x){case Te:case se:case je:case we:case $e:case ze:return x;default:return b}}case me:return b}}}ee=se,ee=ze,ee=ae,ee=je,ee=Ie,ee=we,ee=$e,ee=me,ee=Me,ee=Ze,ee=He,ee=_e,ee=function(){return!1},ee=function(){return!1},ee=function(x){return a(x)===se},ee=function(x){return a(x)===ze},ee=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===ae},ee=function(x){return a(x)===je},ee=function(x){return a(x)===Ie},ee=function(x){return a(x)===we},wt.isMemo=function(x){return a(x)===$e},ee=function(x){return a(x)===me},ee=function(x){return a(x)===Me},ee=function(x){return a(x)===Ze},ee=function(x){return a(x)===He},ee=function(x){return a(x)===_e},ee=function(x){return typeof x=="string"||typeof x=="function"||x===Ie||x===Me||x===Ze||x===He||x===_e||x===ce||typeof x=="object"&&x!==null&&(x.$$typeof===we||x.$$typeof===$e||x.$$typeof===ze||x.$$typeof===se||x.$$typeof===je||x.$$typeof===y||x.getModuleId!==void 0)},ee=a},95845:function(ht,wt,ee){"use strict";ht.exports=ee(62661)},72665:function(ht,wt){"use strict";var ee;var ae=typeof Symbol=="function"&&Symbol.for,me=ae?Symbol.for("react.element"):60103,Ie=ae?Symbol.for("react.portal"):60106,Ze=ae?Symbol.for("react.fragment"):60107,Me=ae?Symbol.for("react.strict_mode"):60108,ze=ae?Symbol.for("react.profiler"):60114,se=ae?Symbol.for("react.provider"):60109,Te=ae?Symbol.for("react.context"):60110,je=ae?Symbol.for("react.async_mode"):60111,He=ae?Symbol.for("react.concurrent_mode"):60111,_e=ae?Symbol.for("react.forward_ref"):60112,$e=ae?Symbol.for("react.suspense"):60113,we=ae?Symbol.for("react.suspense_list"):60120,ce=ae?Symbol.for("react.memo"):60115,y=ae?Symbol.for("react.lazy"):60116,a=ae?Symbol.for("react.block"):60121,x=ae?Symbol.for("react.fundamental"):60117,b=ae?Symbol.for("react.responder"):60118,E=ae?Symbol.for("react.scope"):60119;function z(oe){if(typeof oe=="object"&&oe!==null){var ne=oe.$$typeof;switch(ne){case me:switch(oe=oe.type,oe){case je:case He:case Ze:case ze:case Me:case $e:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case Te:case _e:case y:case ce:case se:return oe;default:return ne}}case Ie:return ne}}}function re(oe){return z(oe)===He}ee=je,ee=He,ee=Te,ee=se,ee=me,ee=_e,ee=Ze,ee=y,ee=ce,ee=Ie,ee=ze,ee=Me,ee=$e,ee=function(oe){return re(oe)||z(oe)===je},ee=re,ee=function(oe){return z(oe)===Te},ee=function(oe){return z(oe)===se},ee=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===me},ee=function(oe){return z(oe)===_e},ee=function(oe){return z(oe)===Ze},ee=function(oe){return z(oe)===y},wt.isMemo=function(oe){return z(oe)===ce},ee=function(oe){return z(oe)===Ie},ee=function(oe){return z(oe)===ze},ee=function(oe){return z(oe)===Me},ee=function(oe){return z(oe)===$e},ee=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===Ze||oe===He||oe===ze||oe===Me||oe===$e||oe===we||typeof oe=="object"&&oe!==null&&(oe.$$typeof===y||oe.$$typeof===ce||oe.$$typeof===se||oe.$$typeof===Te||oe.$$typeof===_e||oe.$$typeof===x||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===a)},ee=z},12060:function(ht,wt,ee){"use strict";ht.exports=ee(72665)},15633:function(ht,wt){"use strict";var ee;var ae=typeof Symbol=="function"&&Symbol.for,me=ae?Symbol.for("react.element"):60103,Ie=ae?Symbol.for("react.portal"):60106,Ze=ae?Symbol.for("react.fragment"):60107,Me=ae?Symbol.for("react.strict_mode"):60108,ze=ae?Symbol.for("react.profiler"):60114,se=ae?Symbol.for("react.provider"):60109,Te=ae?Symbol.for("react.context"):60110,je=ae?Symbol.for("react.async_mode"):60111,He=ae?Symbol.for("react.concurrent_mode"):60111,_e=ae?Symbol.for("react.forward_ref"):60112,$e=ae?Symbol.for("react.suspense"):60113,we=ae?Symbol.for("react.suspense_list"):60120,ce=ae?Symbol.for("react.memo"):60115,y=ae?Symbol.for("react.lazy"):60116,a=ae?Symbol.for("react.block"):60121,x=ae?Symbol.for("react.fundamental"):60117,b=ae?Symbol.for("react.responder"):60118,E=ae?Symbol.for("react.scope"):60119;function z(oe){if(typeof oe=="object"&&oe!==null){var ne=oe.$$typeof;switch(ne){case me:switch(oe=oe.type,oe){case je:case He:case Ze:case ze:case Me:case $e:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case Te:case _e:case y:case ce:case se:return oe;default:return ne}}case Ie:return ne}}}function re(oe){return z(oe)===He}ee=je,ee=He,ee=Te,ee=se,ee=me,ee=_e,ee=Ze,ee=y,ee=ce,ee=Ie,ee=ze,ee=Me,ee=$e,ee=function(oe){return re(oe)||z(oe)===je},ee=re,ee=function(oe){return z(oe)===Te},ee=function(oe){return z(oe)===se},ee=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===me},ee=function(oe){return z(oe)===_e},ee=function(oe){return z(oe)===Ze},ee=function(oe){return z(oe)===y},wt.isMemo=function(oe){return z(oe)===ce},ee=function(oe){return z(oe)===Ie},ee=function(oe){return z(oe)===ze},ee=function(oe){return z(oe)===Me},ee=function(oe){return z(oe)===$e},ee=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===Ze||oe===He||oe===ze||oe===Me||oe===$e||oe===we||typeof oe=="object"&&oe!==null&&(oe.$$typeof===y||oe.$$typeof===ce||oe.$$typeof===se||oe.$$typeof===Te||oe.$$typeof===_e||oe.$$typeof===x||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===a)},ee=z},49286:function(ht,wt,ee){"use strict";ht.exports=ee(15633)},56261:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return pe}});var ae=ee(87462),me=ee(4942),Ie=ee(45987),Ze=ee(1413),Me=ee(15671),ze=ee(43144),se=ee(97326),Te=ee(60136),je=ee(51630),He=ee(94184),_e=ee.n(He),$e=ee(34952),we=ee(67294),ce=ee(69610),y=function(be){for(var xe=be.prefixCls,Se=be.level,ft=be.isStart,Ye=be.isEnd,Zt="".concat(xe,"-indent-unit"),qe=[],ct=0;ct<Se;ct+=1){var zt;qe.push(we.createElement("span",{key:ct,className:_e()(Zt,(zt={},(0,me.Z)(zt,"".concat(Zt,"-start"),ft[ct]),(0,me.Z)(zt,"".concat(Zt,"-end"),Ye[ct]),zt))}))}return we.createElement("span",{"aria-hidden":"true",className:"".concat(xe,"-indent")},qe)},a=we.memo(y),x=ee(3596),b=ee(83898),E=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],z="open",re="close",oe="---",ne=function(Le){(0,Te.Z)(xe,Le);var be=(0,je.Z)(xe);function xe(){var Se;(0,Me.Z)(this,xe);for(var ft=arguments.length,Ye=new Array(ft),Zt=0;Zt<ft;Zt++)Ye[Zt]=arguments[Zt];return Se=be.call.apply(be,[this].concat(Ye)),Se.state={dragNodeHighlight:!1},Se.selectHandle=void 0,Se.cacheIndent=void 0,Se.onSelectorClick=function(qe){var ct=Se.props.context.onNodeClick;ct(qe,(0,b.F)(Se.props)),Se.isSelectable()?Se.onSelect(qe):Se.onCheck(qe)},Se.onSelectorDoubleClick=function(qe){var ct=Se.props.context.onNodeDoubleClick;ct(qe,(0,b.F)(Se.props))},Se.onSelect=function(qe){if(!Se.isDisabled()){var ct=Se.props.context.onNodeSelect;ct(qe,(0,b.F)(Se.props))}},Se.onCheck=function(qe){if(!Se.isDisabled()){var ct=Se.props,zt=ct.disableCheckbox,en=ct.checked,Mt=Se.props.context.onNodeCheck;if(!(!Se.isCheckable()||zt)){var lt=!en;Mt(qe,(0,b.F)(Se.props),lt)}}},Se.onMouseEnter=function(qe){var ct=Se.props.context.onNodeMouseEnter;ct(qe,(0,b.F)(Se.props))},Se.onMouseLeave=function(qe){var ct=Se.props.context.onNodeMouseLeave;ct(qe,(0,b.F)(Se.props))},Se.onContextMenu=function(qe){var ct=Se.props.context.onNodeContextMenu;ct(qe,(0,b.F)(Se.props))},Se.onDragStart=function(qe){var ct=Se.props.context.onNodeDragStart;qe.stopPropagation(),Se.setState({dragNodeHighlight:!0}),ct(qe,(0,se.Z)(Se));try{qe.dataTransfer.setData("text/plain","")}catch(zt){}},Se.onDragEnter=function(qe){var ct=Se.props.context.onNodeDragEnter;qe.preventDefault(),qe.stopPropagation(),ct(qe,(0,se.Z)(Se))},Se.onDragOver=function(qe){var ct=Se.props.context.onNodeDragOver;qe.preventDefault(),qe.stopPropagation(),ct(qe,(0,se.Z)(Se))},Se.onDragLeave=function(qe){var ct=Se.props.context.onNodeDragLeave;qe.stopPropagation(),ct(qe,(0,se.Z)(Se))},Se.onDragEnd=function(qe){var ct=Se.props.context.onNodeDragEnd;qe.stopPropagation(),Se.setState({dragNodeHighlight:!1}),ct(qe,(0,se.Z)(Se))},Se.onDrop=function(qe){var ct=Se.props.context.onNodeDrop;qe.preventDefault(),qe.stopPropagation(),Se.setState({dragNodeHighlight:!1}),ct(qe,(0,se.Z)(Se))},Se.onExpand=function(qe){var ct=Se.props,zt=ct.loading,en=ct.context.onNodeExpand;zt||en(qe,(0,b.F)(Se.props))},Se.setSelectHandle=function(qe){Se.selectHandle=qe},Se.getNodeState=function(){var qe=Se.props.expanded;return Se.isLeaf()?null:qe?z:re},Se.hasChildren=function(){var qe=Se.props.eventKey,ct=Se.props.context.keyEntities,zt=(0,x.Z)(ct,qe)||{},en=zt.children;return!!(en||[]).length},Se.isLeaf=function(){var qe=Se.props,ct=qe.isLeaf,zt=qe.loaded,en=Se.props.context.loadData,Mt=Se.hasChildren();return ct===!1?!1:ct||!en&&!Mt||en&&zt&&!Mt},Se.isDisabled=function(){var qe=Se.props.disabled,ct=Se.props.context.disabled;return!!(ct||qe)},Se.isCheckable=function(){var qe=Se.props.checkable,ct=Se.props.context.checkable;return!ct||qe===!1?!1:ct},Se.syncLoadData=function(qe){var ct=qe.expanded,zt=qe.loading,en=qe.loaded,Mt=Se.props.context,lt=Mt.loadData,xt=Mt.onNodeLoad;zt||lt&&ct&&!Se.isLeaf()&&!Se.hasChildren()&&!en&&xt((0,b.F)(Se.props))},Se.isDraggable=function(){var qe=Se.props,ct=qe.data,zt=qe.context.draggable;return!!(zt&&(!zt.nodeDraggable||zt.nodeDraggable(ct)))},Se.renderDragHandler=function(){var qe=Se.props.context,ct=qe.draggable,zt=qe.prefixCls;return ct!=null&&ct.icon?we.createElement("span",{className:"".concat(zt,"-draggable-icon")},ct.icon):null},Se.renderSwitcherIconDom=function(qe){var ct=Se.props.switcherIcon,zt=Se.props.context.switcherIcon,en=ct||zt;return typeof en=="function"?en((0,Ze.Z)((0,Ze.Z)({},Se.props),{},{isLeaf:qe})):en},Se.renderSwitcher=function(){var qe=Se.props.expanded,ct=Se.props.context.prefixCls;if(Se.isLeaf()){var zt=Se.renderSwitcherIconDom(!0);return zt!==!1?we.createElement("span",{className:_e()("".concat(ct,"-switcher"),"".concat(ct,"-switcher-noop"))},zt):null}var en=_e()("".concat(ct,"-switcher"),"".concat(ct,"-switcher_").concat(qe?z:re)),Mt=Se.renderSwitcherIconDom(!1);return Mt!==!1?we.createElement("span",{onClick:Se.onExpand,className:en},Mt):null},Se.renderCheckbox=function(){var qe=Se.props,ct=qe.checked,zt=qe.halfChecked,en=qe.disableCheckbox,Mt=Se.props.context.prefixCls,lt=Se.isDisabled(),xt=Se.isCheckable();if(!xt)return null;var nn=typeof xt!="boolean"?xt:null;return we.createElement("span",{className:_e()("".concat(Mt,"-checkbox"),ct&&"".concat(Mt,"-checkbox-checked"),!ct&&zt&&"".concat(Mt,"-checkbox-indeterminate"),(lt||en)&&"".concat(Mt,"-checkbox-disabled")),onClick:Se.onCheck},nn)},Se.renderIcon=function(){var qe=Se.props.loading,ct=Se.props.context.prefixCls;return we.createElement("span",{className:_e()("".concat(ct,"-iconEle"),"".concat(ct,"-icon__").concat(Se.getNodeState()||"docu"),qe&&"".concat(ct,"-icon_loading"))})},Se.renderSelector=function(){var qe=Se.state.dragNodeHighlight,ct=Se.props,zt=ct.title,en=zt===void 0?oe:zt,Mt=ct.selected,lt=ct.icon,xt=ct.loading,nn=ct.data,vn=Se.props.context,Ue=vn.prefixCls,Ct=vn.showIcon,Ft=vn.icon,Rn=vn.loadData,nt=vn.titleRender,kt=Se.isDisabled(),Ce="".concat(Ue,"-node-content-wrapper"),hn;if(Ct){var zn=lt||Ft;hn=zn?we.createElement("span",{className:_e()("".concat(Ue,"-iconEle"),"".concat(Ue,"-icon__customize"))},typeof zn=="function"?zn(Se.props):zn):Se.renderIcon()}else Rn&&xt&&(hn=Se.renderIcon());var ba;typeof en=="function"?ba=en(nn):nt?ba=nt(nn):ba=en;var Yn=we.createElement("span",{className:"".concat(Ue,"-title")},ba);return we.createElement("span",{ref:Se.setSelectHandle,title:typeof en=="string"?en:"",className:_e()("".concat(Ce),"".concat(Ce,"-").concat(Se.getNodeState()||"normal"),!kt&&(Mt||qe)&&"".concat(Ue,"-node-selected")),onMouseEnter:Se.onMouseEnter,onMouseLeave:Se.onMouseLeave,onContextMenu:Se.onContextMenu,onClick:Se.onSelectorClick,onDoubleClick:Se.onSelectorDoubleClick},hn,Yn,Se.renderDropIndicator())},Se.renderDropIndicator=function(){var qe=Se.props,ct=qe.disabled,zt=qe.eventKey,en=Se.props.context,Mt=en.draggable,lt=en.dropLevelOffset,xt=en.dropPosition,nn=en.prefixCls,vn=en.indent,Ue=en.dropIndicatorRender,Ct=en.dragOverNodeKey,Ft=en.direction,Rn=!!Mt,nt=!ct&&Rn&&Ct===zt,kt=vn!=null?vn:Se.cacheIndent;return Se.cacheIndent=vn,nt?Ue({dropPosition:xt,dropLevelOffset:lt,indent:kt,prefixCls:nn,direction:Ft}):null},Se}return(0,ze.Z)(xe,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var ft=this.props.selectable,Ye=this.props.context.selectable;return typeof ft=="boolean"?ft:Ye}},{key:"render",value:function(){var ft,Ye=this.props,Zt=Ye.eventKey,qe=Ye.className,ct=Ye.style,zt=Ye.dragOver,en=Ye.dragOverGapTop,Mt=Ye.dragOverGapBottom,lt=Ye.isLeaf,xt=Ye.isStart,nn=Ye.isEnd,vn=Ye.expanded,Ue=Ye.selected,Ct=Ye.checked,Ft=Ye.halfChecked,Rn=Ye.loading,nt=Ye.domRef,kt=Ye.active,Ce=Ye.data,hn=Ye.onMouseMove,zn=Ye.selectable,ba=(0,Ie.Z)(Ye,E),Yn=this.props.context,Rt=Yn.prefixCls,Ge=Yn.filterTreeNode,Fe=Yn.keyEntities,pt=Yn.dropContainerKey,Gt=Yn.dropTargetKey,_t=Yn.draggingNodeKey,Pn=this.isDisabled(),Qn=(0,$e.Z)(ba,{aria:!0,data:!0}),Gn=(0,x.Z)(Fe,Zt)||{},Hn=Gn.level,Ca=nn[nn.length-1],Ee=this.isDraggable(),Ke=!Pn&&Ee,Nn=_t===Zt,Kn=zn!==void 0?{"aria-selected":!!zn}:void 0;return we.createElement("div",(0,ae.Z)({ref:nt,className:_e()(qe,"".concat(Rt,"-treenode"),(ft={},(0,me.Z)(ft,"".concat(Rt,"-treenode-disabled"),Pn),(0,me.Z)(ft,"".concat(Rt,"-treenode-switcher-").concat(vn?"open":"close"),!lt),(0,me.Z)(ft,"".concat(Rt,"-treenode-checkbox-checked"),Ct),(0,me.Z)(ft,"".concat(Rt,"-treenode-checkbox-indeterminate"),Ft),(0,me.Z)(ft,"".concat(Rt,"-treenode-selected"),Ue),(0,me.Z)(ft,"".concat(Rt,"-treenode-loading"),Rn),(0,me.Z)(ft,"".concat(Rt,"-treenode-active"),kt),(0,me.Z)(ft,"".concat(Rt,"-treenode-leaf-last"),Ca),(0,me.Z)(ft,"".concat(Rt,"-treenode-draggable"),Ee),(0,me.Z)(ft,"dragging",Nn),(0,me.Z)(ft,"drop-target",Gt===Zt),(0,me.Z)(ft,"drop-container",pt===Zt),(0,me.Z)(ft,"drag-over",!Pn&&zt),(0,me.Z)(ft,"drag-over-gap-top",!Pn&&en),(0,me.Z)(ft,"drag-over-gap-bottom",!Pn&&Mt),(0,me.Z)(ft,"filter-node",Ge&&Ge((0,b.F)(this.props))),ft)),style:ct,draggable:Ke,"aria-grabbed":Nn,onDragStart:Ke?this.onDragStart:void 0,onDragEnter:Ee?this.onDragEnter:void 0,onDragOver:Ee?this.onDragOver:void 0,onDragLeave:Ee?this.onDragLeave:void 0,onDrop:Ee?this.onDrop:void 0,onDragEnd:Ee?this.onDragEnd:void 0,onMouseMove:hn},Kn,Qn),we.createElement(a,{prefixCls:Rt,level:Hn,isStart:xt,isEnd:nn}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),xe}(we.Component),ge=function(be){return we.createElement(ce.k.Consumer,null,function(xe){return we.createElement(ne,(0,ae.Z)({},be,{context:xe}))})};ge.displayName="TreeNode",ge.isTreeNode=1;var pe=ge},69610:function(ht,wt,ee){"use strict";ee.d(wt,{k:function(){return me}});var ae=ee(67294),me=ae.createContext(null)},29873:function(ht,wt,ee){"use strict";ee.d(wt,{BT:function(){return a},E6:function(){return E},L0:function(){return He},OM:function(){return y},_5:function(){return je},r7:function(){return z},wA:function(){return $e},yx:function(){return _e}});var ae=ee(74902),me=ee(71002),Ie=ee(72978),Ze=ee(67294),Me=ee(56261),ze=ee(3596),se=ee(83898),Te=null;function je(re,oe){if(!re)return[];var ne=re.slice(),ge=ne.indexOf(oe);return ge>=0&&ne.splice(ge,1),ne}function He(re,oe){var ne=(re||[]).slice();return ne.indexOf(oe)===-1&&ne.push(oe),ne}function _e(re){return re.split("-")}function $e(re,oe){var ne=[],ge=(0,ze.Z)(oe,re);function pe(){var Le=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Le.forEach(function(be){var xe=be.key,Se=be.children;ne.push(xe),pe(Se)})}return pe(ge.children),ne}function we(re){if(re.parent){var oe=_e(re.pos);return Number(oe[oe.length-1])===re.parent.children.length-1}return!1}function ce(re){var oe=_e(re.pos);return Number(oe[oe.length-1])===0}function y(re,oe,ne,ge,pe,Le,be,xe,Se,ft){var Ye,Zt=re.clientX,qe=re.clientY,ct=re.target.getBoundingClientRect(),zt=ct.top,en=ct.height,Mt=(ft==="rtl"?-1:1)*(((pe==null?void 0:pe.x)||0)-Zt),lt=(Mt-12)/ge,xt=(0,ze.Z)(xe,ne.props.eventKey);if(qe<zt+en/2){var nn=be.findIndex(function(Yn){return Yn.key===xt.key}),vn=nn<=0?0:nn-1,Ue=be[vn].key;xt=(0,ze.Z)(xe,Ue)}var Ct=xt.key,Ft=xt,Rn=xt.key,nt=0,kt=0;if(!Se.includes(Ct))for(var Ce=0;Ce<lt&&we(xt);Ce+=1)xt=xt.parent,kt+=1;var hn=oe.props.data,zn=xt.node,ba=!0;return ce(xt)&&xt.level===0&&qe<zt+en/2&&Le({dragNode:hn,dropNode:zn,dropPosition:-1})&&xt.key===ne.props.eventKey?nt=-1:(Ft.children||[]).length&&Se.includes(Rn)?Le({dragNode:hn,dropNode:zn,dropPosition:0})?nt=0:ba=!1:kt===0?lt>-1.5?Le({dragNode:hn,dropNode:zn,dropPosition:1})?nt=1:ba=!1:Le({dragNode:hn,dropNode:zn,dropPosition:0})?nt=0:Le({dragNode:hn,dropNode:zn,dropPosition:1})?nt=1:ba=!1:Le({dragNode:hn,dropNode:zn,dropPosition:1})?nt=1:ba=!1,{dropPosition:nt,dropLevelOffset:kt,dropTargetKey:xt.key,dropTargetPos:xt.pos,dragOverNodeKey:Rn,dropContainerKey:nt===0?null:((Ye=xt.parent)===null||Ye===void 0?void 0:Ye.key)||null,dropAllowed:ba}}function a(re,oe){if(re){var ne=oe.multiple;return ne?re.slice():re.length?[re[0]]:re}}var x=function(oe){return oe};function b(re,oe){if(!re)return[];var ne=oe||{},ge=ne.processProps,pe=ge===void 0?x:ge,Le=Array.isArray(re)?re:[re];return Le.map(function(be){var xe=be.children,Se=_objectWithoutProperties(be,Te),ft=b(xe,oe);return React.createElement(TreeNode,_extends({key:Se.key},pe(Se)),ft)})}function E(re){if(!re)return null;var oe;if(Array.isArray(re))oe={checkedKeys:re,halfCheckedKeys:void 0};else if((0,me.Z)(re)==="object")oe={checkedKeys:re.checked||void 0,halfCheckedKeys:re.halfChecked||void 0};else return(0,Ie.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return oe}function z(re,oe){var ne=new Set;function ge(pe){if(!ne.has(pe)){var Le=(0,ze.Z)(oe,pe);if(Le){ne.add(pe);var be=Le.parent,xe=Le.node;xe.disabled||be&&ge(be.key)}}}return(re||[]).forEach(function(pe){ge(pe)}),(0,ae.Z)(ne)}},97153:function(ht,wt,ee){"use strict";ee.d(wt,{S:function(){return se}});var ae=ee(72978),me=ee(3596);function Ie(Te,je){var He=new Set;return Te.forEach(function(_e){je.has(_e)||He.add(_e)}),He}function Ze(Te){var je=Te||{},He=je.disabled,_e=je.disableCheckbox,$e=je.checkable;return!!(He||_e)||$e===!1}function Me(Te,je,He,_e){for(var $e=new Set(Te),we=new Set,ce=0;ce<=He;ce+=1){var y=je.get(ce)||new Set;y.forEach(function(E){var z=E.key,re=E.node,oe=E.children,ne=oe===void 0?[]:oe;$e.has(z)&&!_e(re)&&ne.filter(function(ge){return!_e(ge.node)}).forEach(function(ge){$e.add(ge.key)})})}for(var a=new Set,x=He;x>=0;x-=1){var b=je.get(x)||new Set;b.forEach(function(E){var z=E.parent,re=E.node;if(!(_e(re)||!E.parent||a.has(E.parent.key))){if(_e(E.parent.node)){a.add(z.key);return}var oe=!0,ne=!1;(z.children||[]).filter(function(ge){return!_e(ge.node)}).forEach(function(ge){var pe=ge.key,Le=$e.has(pe);oe&&!Le&&(oe=!1),!ne&&(Le||we.has(pe))&&(ne=!0)}),oe&&$e.add(z.key),ne&&we.add(z.key),a.add(z.key)}})}return{checkedKeys:Array.from($e),halfCheckedKeys:Array.from(Ie(we,$e))}}function ze(Te,je,He,_e,$e){for(var we=new Set(Te),ce=new Set(je),y=0;y<=_e;y+=1){var a=He.get(y)||new Set;a.forEach(function(z){var re=z.key,oe=z.node,ne=z.children,ge=ne===void 0?[]:ne;!we.has(re)&&!ce.has(re)&&!$e(oe)&&ge.filter(function(pe){return!$e(pe.node)}).forEach(function(pe){we.delete(pe.key)})})}ce=new Set;for(var x=new Set,b=_e;b>=0;b-=1){var E=He.get(b)||new Set;E.forEach(function(z){var re=z.parent,oe=z.node;if(!($e(oe)||!z.parent||x.has(z.parent.key))){if($e(z.parent.node)){x.add(re.key);return}var ne=!0,ge=!1;(re.children||[]).filter(function(pe){return!$e(pe.node)}).forEach(function(pe){var Le=pe.key,be=we.has(Le);ne&&!be&&(ne=!1),!ge&&(be||ce.has(Le))&&(ge=!0)}),ne||we.delete(re.key),ge&&ce.add(re.key),x.add(re.key)}})}return{checkedKeys:Array.from(we),halfCheckedKeys:Array.from(Ie(ce,we))}}function se(Te,je,He,_e){var $e=[],we;_e?we=_e:we=Ze;var ce=new Set(Te.filter(function(b){var E=!!(0,me.Z)(He,b);return E||$e.push(b),E})),y=new Map,a=0;Object.keys(He).forEach(function(b){var E=He[b],z=E.level,re=y.get(z);re||(re=new Set,y.set(z,re)),re.add(E),a=Math.max(a,z)}),(0,ae.ZP)(!$e.length,"Tree missing follow keys: ".concat($e.slice(0,100).map(function(b){return"'".concat(b,"'")}).join(", ")));var x;return je===!0?x=Me(ce,y,a,we):x=ze(ce,je.halfCheckedKeys,y,a,we),x}},3596:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return ae}});function ae(me,Ie){return me[Ie]}},83898:function(ht,wt,ee){"use strict";ee.d(wt,{I8:function(){return z},F:function(){return oe},zn:function(){return x},w$:function(){return y},oH:function(){return b},km:function(){return ce},H8:function(){return re}});var ae=ee(71002),me=ee(74902),Ie=ee(1413),Ze=ee(45987),Me=ee(67294),ze=ee(28580);function se(ne){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=[];return Me.Children.forEach(ne,function(Le){Le==null&&!ge.keepEmpty||(Array.isArray(Le)?pe=pe.concat(se(Le)):(0,ze.isFragment)(Le)&&Le.props?pe=pe.concat(se(Le.props.children,ge)):pe.push(Le))}),pe}function Te(ne,ge){var pe=(0,Ie.Z)({},ne);return Array.isArray(ge)&&ge.forEach(function(Le){delete pe[Le]}),pe}var je=ee(72978),He=ee(3596),_e=["children"];function $e(ne,ge){return"".concat(ne,"-").concat(ge)}function we(ne){return ne&&ne.type&&ne.type.isTreeNode}function ce(ne,ge){return ne!=null?ne:ge}function y(ne){var ge=ne||{},pe=ge.title,Le=ge._title,be=ge.key,xe=ge.children,Se=pe||"title";return{title:Se,_title:Le||[Se],key:be||"key",children:xe||"children"}}function a(ne,ge){var pe=new Map;function Le(be){var xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(be||[]).forEach(function(Se){var ft=Se[ge.key],Ye=Se[ge.children];warning(ft!=null,"Tree node must have a certain key: [".concat(xe).concat(ft,"]"));var Zt=String(ft);warning(!pe.has(Zt)||ft===null||ft===void 0,"Same 'key' exist in the Tree: ".concat(Zt)),pe.set(Zt,!0),Le(Ye,"".concat(xe).concat(Zt," > "))})}Le(ne)}function x(ne){function ge(pe){var Le=se(pe);return Le.map(function(be){if(!we(be))return(0,je.ZP)(!be,"Tree/TreeNode can only accept TreeNode as children."),null;var xe=be.key,Se=be.props,ft=Se.children,Ye=(0,Ze.Z)(Se,_e),Zt=(0,Ie.Z)({key:xe},Ye),qe=ge(ft);return qe.length&&(Zt.children=qe),Zt}).filter(function(be){return be})}return ge(ne)}function b(ne,ge,pe){var Le=y(pe),be=Le._title,xe=Le.key,Se=Le.children,ft=new Set(ge===!0?[]:ge),Ye=[];function Zt(qe){var ct=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return qe.map(function(zt,en){for(var Mt=$e(ct?ct.pos:"0",en),lt=ce(zt[xe],Mt),xt,nn=0;nn<be.length;nn+=1){var vn=be[nn];if(zt[vn]!==void 0){xt=zt[vn];break}}var Ue=(0,Ie.Z)((0,Ie.Z)({},Te(zt,[].concat((0,me.Z)(be),[xe,Se]))),{},{title:xt,key:lt,parent:ct,pos:Mt,children:null,data:zt,isStart:[].concat((0,me.Z)(ct?ct.isStart:[]),[en===0]),isEnd:[].concat((0,me.Z)(ct?ct.isEnd:[]),[en===qe.length-1])});return Ye.push(Ue),ge===!0||ft.has(lt)?Ue.children=Zt(zt[Se]||[],Ue):Ue.children=[],Ue})}return Zt(ne),Ye}function E(ne,ge,pe){var Le={};(0,ae.Z)(pe)==="object"?Le=pe:Le={externalGetKey:pe},Le=Le||{};var be=Le,xe=be.childrenPropName,Se=be.externalGetKey,ft=be.fieldNames,Ye=y(ft),Zt=Ye.key,qe=Ye.children,ct=xe||qe,zt;Se?typeof Se=="string"?zt=function(lt){return lt[Se]}:typeof Se=="function"&&(zt=function(lt){return Se(lt)}):zt=function(lt,xt){return ce(lt[Zt],xt)};function en(Mt,lt,xt,nn){var vn=Mt?Mt[ct]:ne,Ue=Mt?$e(xt.pos,lt):"0",Ct=Mt?[].concat((0,me.Z)(nn),[Mt]):[];if(Mt){var Ft=zt(Mt,Ue),Rn={node:Mt,index:lt,pos:Ue,key:Ft,parentPos:xt.node?xt.pos:null,level:xt.level+1,nodes:Ct};ge(Rn)}vn&&vn.forEach(function(nt,kt){en(nt,kt,{node:Mt,pos:Ue,level:xt?xt.level+1:-1},Ct)})}en(null)}function z(ne){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},pe=ge.initWrapper,Le=ge.processEntity,be=ge.onProcessFinished,xe=ge.externalGetKey,Se=ge.childrenPropName,ft=ge.fieldNames,Ye=arguments.length>2?arguments[2]:void 0,Zt=xe||Ye,qe={},ct={},zt={posEntities:qe,keyEntities:ct};return pe&&(zt=pe(zt)||zt),E(ne,function(en){var Mt=en.node,lt=en.index,xt=en.pos,nn=en.key,vn=en.parentPos,Ue=en.level,Ct=en.nodes,Ft={node:Mt,nodes:Ct,index:lt,key:nn,pos:xt,level:Ue},Rn=ce(nn,xt);qe[xt]=Ft,ct[Rn]=Ft,Ft.parent=qe[vn],Ft.parent&&(Ft.parent.children=Ft.parent.children||[],Ft.parent.children.push(Ft)),Le&&Le(Ft,zt)},{externalGetKey:Zt,childrenPropName:Se,fieldNames:ft}),be&&be(zt),zt}function re(ne,ge){var pe=ge.expandedKeys,Le=ge.selectedKeys,be=ge.loadedKeys,xe=ge.loadingKeys,Se=ge.checkedKeys,ft=ge.halfCheckedKeys,Ye=ge.dragOverNodeKey,Zt=ge.dropPosition,qe=ge.keyEntities,ct=(0,He.Z)(qe,ne),zt={eventKey:ne,expanded:pe.indexOf(ne)!==-1,selected:Le.indexOf(ne)!==-1,loaded:be.indexOf(ne)!==-1,loading:xe.indexOf(ne)!==-1,checked:Se.indexOf(ne)!==-1,halfChecked:ft.indexOf(ne)!==-1,pos:String(ct?ct.pos:""),dragOver:Ye===ne&&Zt===0,dragOverGapTop:Ye===ne&&Zt===-1,dragOverGapBottom:Ye===ne&&Zt===1};return zt}function oe(ne){var ge=ne.data,pe=ne.expanded,Le=ne.selected,be=ne.checked,xe=ne.loaded,Se=ne.loading,ft=ne.halfChecked,Ye=ne.dragOver,Zt=ne.dragOverGapTop,qe=ne.dragOverGapBottom,ct=ne.pos,zt=ne.active,en=ne.eventKey,Mt=(0,Ie.Z)((0,Ie.Z)({},ge),{},{expanded:pe,selected:Le,checked:be,loaded:xe,loading:Se,halfChecked:ft,dragOver:Ye,dragOverGapTop:Zt,dragOverGapBottom:qe,pos:ct,active:zt,key:en});return"props"in Mt||Object.defineProperty(Mt,"props",{get:function(){return(0,je.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),ne}}),Mt}},34952:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return Te}});var ae=ee(1413),me=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Ie=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Ze="".concat(me," ").concat(Ie).split(/[\s\n]+/),Me="aria-",ze="data-";function se(je,He){return je.indexOf(He)===0}function Te(je){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_e;He===!1?_e={aria:!0,data:!0,attr:!0}:He===!0?_e={aria:!0}:_e=(0,ae.Z)({},He);var $e={};return Object.keys(je).forEach(function(we){(_e.aria&&(we==="role"||se(we,Me))||_e.data&&se(we,ze)||_e.attr&&Ze.includes(we))&&($e[we]=je[we])}),$e}},72978:function(ht,wt,ee){"use strict";var ae={};function me(Te,je){}function Ie(Te,je){}function Ze(){ae={}}function Me(Te,je,He){!je&&!ae[He]&&(Te(!1,He),ae[He]=!0)}function ze(Te,je){Me(me,Te,je)}function se(Te,je){Me(Ie,Te,je)}wt.ZP=ze},81533:function(ht,wt){"use strict";var ee;var ae=typeof Symbol=="function"&&Symbol.for,me=ae?Symbol.for("react.element"):60103,Ie=ae?Symbol.for("react.portal"):60106,Ze=ae?Symbol.for("react.fragment"):60107,Me=ae?Symbol.for("react.strict_mode"):60108,ze=ae?Symbol.for("react.profiler"):60114,se=ae?Symbol.for("react.provider"):60109,Te=ae?Symbol.for("react.context"):60110,je=ae?Symbol.for("react.async_mode"):60111,He=ae?Symbol.for("react.concurrent_mode"):60111,_e=ae?Symbol.for("react.forward_ref"):60112,$e=ae?Symbol.for("react.suspense"):60113,we=ae?Symbol.for("react.suspense_list"):60120,ce=ae?Symbol.for("react.memo"):60115,y=ae?Symbol.for("react.lazy"):60116,a=ae?Symbol.for("react.block"):60121,x=ae?Symbol.for("react.fundamental"):60117,b=ae?Symbol.for("react.responder"):60118,E=ae?Symbol.for("react.scope"):60119;function z(oe){if(typeof oe=="object"&&oe!==null){var ne=oe.$$typeof;switch(ne){case me:switch(oe=oe.type,oe){case je:case He:case Ze:case ze:case Me:case $e:return oe;default:switch(oe=oe&&oe.$$typeof,oe){case Te:case _e:case y:case ce:case se:return oe;default:return ne}}case Ie:return ne}}}function re(oe){return z(oe)===He}ee=je,ee=He,ee=Te,ee=se,ee=me,ee=_e,ee=Ze,ee=y,ee=ce,ee=Ie,ee=ze,ee=Me,ee=$e,ee=function(oe){return re(oe)||z(oe)===je},ee=re,ee=function(oe){return z(oe)===Te},ee=function(oe){return z(oe)===se},ee=function(oe){return typeof oe=="object"&&oe!==null&&oe.$$typeof===me},ee=function(oe){return z(oe)===_e},wt.isFragment=function(oe){return z(oe)===Ze},ee=function(oe){return z(oe)===y},wt.isMemo=function(oe){return z(oe)===ce},ee=function(oe){return z(oe)===Ie},ee=function(oe){return z(oe)===ze},ee=function(oe){return z(oe)===Me},ee=function(oe){return z(oe)===$e},ee=function(oe){return typeof oe=="string"||typeof oe=="function"||oe===Ze||oe===He||oe===ze||oe===Me||oe===$e||oe===we||typeof oe=="object"&&oe!==null&&(oe.$$typeof===y||oe.$$typeof===ce||oe.$$typeof===se||oe.$$typeof===Te||oe.$$typeof===_e||oe.$$typeof===x||oe.$$typeof===b||oe.$$typeof===E||oe.$$typeof===a)},ee=z},28580:function(ht,wt,ee){"use strict";ht.exports=ee(81533)},92389:function(ht,wt){"use strict";var ee={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(me){var Ie=me.keyCode;if(me.altKey&&!me.ctrlKey||me.metaKey||Ie>=ee.F1&&Ie<=ee.F12)return!1;switch(Ie){case ee.ALT:case ee.CAPS_LOCK:case ee.CONTEXT_MENU:case ee.CTRL:case ee.DOWN:case ee.END:case ee.ESC:case ee.HOME:case ee.INSERT:case ee.LEFT:case ee.MAC_FF_META:case ee.META:case ee.NUMLOCK:case ee.NUM_CENTER:case ee.PAGE_DOWN:case ee.PAGE_UP:case ee.PAUSE:case ee.PRINT_SCREEN:case ee.RIGHT:case ee.SHIFT:case ee.UP:case ee.WIN_KEY:case ee.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(me){if(me>=ee.ZERO&&me<=ee.NINE||me>=ee.NUM_ZERO&&me<=ee.NUM_MULTIPLY||me>=ee.A&&me<=ee.Z||window.navigator.userAgent.indexOf("WebKit")!==-1&&me===0)return!0;switch(me){case ee.SPACE:case ee.QUESTION_MARK:case ee.NUM_PLUS:case ee.NUM_MINUS:case ee.NUM_PERIOD:case ee.NUM_DIVISION:case ee.SEMICOLON:case ee.DASH:case ee.EQUALS:case ee.COMMA:case ee.PERIOD:case ee.SLASH:case ee.APOSTROPHE:case ee.SINGLE_QUOTE:case ee.OPEN_SQUARE_BRACKET:case ee.BACKSLASH:case ee.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};wt.Z=ee},46762:function(ht,wt){"use strict";var ee;var ae=Symbol.for("react.element"),me=Symbol.for("react.portal"),Ie=Symbol.for("react.fragment"),Ze=Symbol.for("react.strict_mode"),Me=Symbol.for("react.profiler"),ze=Symbol.for("react.provider"),se=Symbol.for("react.context"),Te=Symbol.for("react.server_context"),je=Symbol.for("react.forward_ref"),He=Symbol.for("react.suspense"),_e=Symbol.for("react.suspense_list"),$e=Symbol.for("react.memo"),we=Symbol.for("react.lazy"),ce=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function a(x){if(typeof x=="object"&&x!==null){var b=x.$$typeof;switch(b){case ae:switch(x=x.type,x){case Ie:case Me:case Ze:case He:case _e:return x;default:switch(x=x&&x.$$typeof,x){case Te:case se:case je:case we:case $e:case ze:return x;default:return b}}case me:return b}}}ee=se,ee=ze,ee=ae,ee=je,ee=Ie,ee=we,ee=$e,ee=me,ee=Me,ee=Ze,ee=He,ee=_e,ee=function(){return!1},ee=function(){return!1},ee=function(x){return a(x)===se},ee=function(x){return a(x)===ze},ee=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===ae},ee=function(x){return a(x)===je},wt.isFragment=function(x){return a(x)===Ie},ee=function(x){return a(x)===we},ee=function(x){return a(x)===$e},ee=function(x){return a(x)===me},ee=function(x){return a(x)===Me},ee=function(x){return a(x)===Ze},ee=function(x){return a(x)===He},ee=function(x){return a(x)===_e},ee=function(x){return typeof x=="string"||typeof x=="function"||x===Ie||x===Me||x===Ze||x===He||x===_e||x===ce||typeof x=="object"&&x!==null&&(x.$$typeof===we||x.$$typeof===$e||x.$$typeof===ze||x.$$typeof===se||x.$$typeof===je||x.$$typeof===y||x.getModuleId!==void 0)},ee=a},35110:function(ht,wt,ee){"use strict";ht.exports=ee(46762)},64217:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return Te}});var ae=ee(1413),me=`accept acceptCharset accessKey action allowFullScreen allowTransparency
alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
charSet checked classID className colSpan cols content contentEditable contextMenu
controls coords crossOrigin data dateTime default defer dir disabled download draggable
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity
is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media
mediaGroup method min minLength multiple muted name noValidate nonce open
optimum pattern placeholder poster preload radioGroup readOnly rel required
reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap`,Ie=`onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown
onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick
onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown
onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel
onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough
onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata
onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError`,Ze="".concat(me," ").concat(Ie).split(/[\s\n]+/),Me="aria-",ze="data-";function se(je,He){return je.indexOf(He)===0}function Te(je){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_e;He===!1?_e={aria:!0,data:!0,attr:!0}:He===!0?_e={aria:!0}:_e=(0,ae.Z)({},He);var $e={};return Object.keys(je).forEach(function(we){(_e.aria&&(we==="role"||se(we,Me))||_e.data&&se(we,ze)||_e.attr&&Ze.includes(we))&&($e[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09tl1fAgDxdut0wS+supIt2Y8v3zELxqSz7ajsnXZ6Sp4F/rRVoMFShRmf/yq3eK8JljcSE6dsxu9sD4H8trAzK2eqgQ54uDXohPdyJUXLgnkxC4sseADuxWJ4i7l+Ban0JGvW2U+9t9c4B7QZIJ3oA7P698fTgxAo0GepRobN/qaFlMxy4/f8E90wA8RE2tUgAAAAASUVORK5CYII="},36459:function(ht,wt,ee){"use strict";ee.d(wt,{Z:function(){return ae}});function ae(me){if(me==null)throw new TypeError("Cannot destructure "+me)}}}]);