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.
244 lines
773 KiB
244 lines
773 KiB
(self.webpackChunk=self.webpackChunk||[]).push([[9649],{70557:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M862 465.3h-81c-4.6 0-9 2-12.1 5.5L550 723.1V160c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v563.1L255.1 470.8c-3-3.5-7.4-5.5-12.1-5.5h-81c-6.8 0-10.5 8.1-6 13.2L487.9 861a31.96 31.96 0 0048.3 0L868 478.5c4.5-5.2.8-13.2-6-13.2z"}}]},name:"arrow-down",theme:"outlined"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},89489:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},59477:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},40001:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},49198:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},84105:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},18785:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},87169:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},73331:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},15277:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},52671:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},8657:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},56082:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},33853:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},15075:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},43531:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},38819:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},47472:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(92413),m=t(59301),D={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},V=D,Z=t(7657),K=function(h,v){return m.createElement(Z.Z,(0,b.Z)({},h,{ref:v,icon:V}))},u=m.forwardRef(K),W=u},35593:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return se}});var b=t(33708),m=t(33606),D=t(37061),V=t(43403),Z=t(92310),K=t.n(Z),u=t(29301),W=t(76846),e=t(96452),h=t(6089),v=t(80402),n=t(34280),r=t(49658),o=t(59301),l=t(92413),w=t(77900),k=t(8654);function E(L){var U=L.prefixCls,M=L.align,R=L.arrow,ee=L.arrowPos,y=R||{},d=y.className,f=y.content,X=ee.x,j=X===void 0?0:X,A=ee.y,Q=A===void 0?0:A,ce=o.useRef();if(!M||!M.points)return null;var re={position:"absolute"};if(M.autoArrow!==!1){var oe=M.points[0],ve=M.points[1],Ee=oe[0],pe=oe[1],Ze=ve[0],De=ve[1];Ee===Ze||!["t","b"].includes(Ee)?re.top=Q:Ee==="t"?re.top=0:re.bottom=0,pe===De||!["l","r"].includes(pe)?re.left=j:pe==="l"?re.left=0:re.right=0}return o.createElement("div",{ref:ce,className:K()("".concat(U,"-arrow"),d),style:re},f)}function g(L){var U=L.prefixCls,M=L.open,R=L.zIndex,ee=L.mask,y=L.motion;return ee?o.createElement(w.default,(0,l.Z)({},y,{motionAppear:!0,visible:M,removeOnLeave:!0}),function(d){var f=d.className;return o.createElement("div",{style:{zIndex:R},className:K()("".concat(U,"-mask"),f)})}):null}var O=o.memo(function(L){var U=L.children;return U},function(L,U){return U.cache}),C=O,c=o.forwardRef(function(L,U){var M=L.popup,R=L.className,ee=L.prefixCls,y=L.style,d=L.target,f=L.onVisibleChanged,X=L.open,j=L.keepDom,A=L.fresh,Q=L.onClick,ce=L.mask,re=L.arrow,oe=L.arrowPos,ve=L.align,Ee=L.motion,pe=L.maskMotion,Ze=L.forceRender,De=L.getPopupContainer,Re=L.autoDestroy,Qe=L.portal,Ue=L.zIndex,st=L.onMouseEnter,tt=L.onMouseLeave,Dt=L.onPointerEnter,Ct=L.ready,Mt=L.offsetX,Pt=L.offsetY,rn=L.offsetR,Tt=L.offsetB,Je=L.onAlign,$t=L.onPrepare,ut=L.stretch,ht=L.targetWidth,Xt=L.targetHeight,an=typeof M=="function"?M():M,Dn=X||j,yn=(De==null?void 0:De.length)>0,On=o.useState(!De||!yn),Ln=(0,m.Z)(On,2),In=Ln[0],Bn=Ln[1];if((0,n.Z)(function(){!In&&yn&&d&&Bn(!0)},[In,yn,d]),!In)return null;var zt="auto",Nt={left:"-1000vw",top:"-1000vh",right:zt,bottom:zt};if(Ct||!X){var cn,zn=ve.points,An=ve.dynamicInset||((cn=ve._experimental)===null||cn===void 0?void 0:cn.dynamicInset),ge=An&&zn[0][1]==="r",me=An&&zn[0][0]==="b";ge?(Nt.right=rn,Nt.left=zt):(Nt.left=Mt,Nt.right=zt),me?(Nt.bottom=Tt,Nt.top=zt):(Nt.top=Pt,Nt.bottom=zt)}var Ye={};return ut&&(ut.includes("height")&&Xt?Ye.height=Xt:ut.includes("minHeight")&&Xt&&(Ye.minHeight=Xt),ut.includes("width")&&ht?Ye.width=ht:ut.includes("minWidth")&&ht&&(Ye.minWidth=ht)),X||(Ye.pointerEvents="none"),o.createElement(Qe,{open:Ze||Dn,getContainer:De&&function(){return De(d)},autoDestroy:Re},o.createElement(g,{prefixCls:ee,open:X,zIndex:Ue,mask:ce,motion:pe}),o.createElement(u.Z,{onResize:Je,disabled:!X},function(je){return o.createElement(w.default,(0,l.Z)({motionAppear:!0,motionEnter:!0,motionLeave:!0,removeOnLeave:!1,forceRender:Ze,leavedClassName:"".concat(ee,"-hidden")},Ee,{onAppearPrepare:$t,onEnterPrepare:$t,visible:X,onVisibleChanged:function(nt){var _t;Ee==null||(_t=Ee.onVisibleChanged)===null||_t===void 0||_t.call(Ee,nt),f(nt)}}),function(pt,nt){var _t=pt.className,at=pt.style,Ot=K()(ee,_t,R);return o.createElement("div",{ref:(0,k.sQ)(je,U,nt),className:Ot,style:(0,b.Z)((0,b.Z)((0,b.Z)((0,b.Z)({"--arrow-x":"".concat(oe.x||0,"px"),"--arrow-y":"".concat(oe.y||0,"px")},Nt),Ye),at),{},{boxSizing:"border-box",zIndex:Ue},y),onMouseEnter:st,onMouseLeave:tt,onPointerEnter:Dt,onClick:Q},re&&o.createElement(E,{prefixCls:ee,arrow:re,arrowPos:oe,align:ve}),o.createElement(C,{cache:!X&&!A},an))})}))}),s=c,x=o.forwardRef(function(L,U){var M=L.children,R=L.getTriggerDOMNode,ee=(0,k.Yr)(M),y=o.useCallback(function(f){(0,k.mH)(U,R?R(f):f)},[R]),d=(0,k.x1)(y,M.ref);return ee?o.cloneElement(M,{ref:d}):M}),T=x,J=o.createContext(null),q=J;function G(L){return L?Array.isArray(L)?L:[L]:[]}function H(L,U,M,R){return o.useMemo(function(){var ee=G(M!=null?M:U),y=G(R!=null?R:U),d=new Set(ee),f=new Set(y);return L&&(d.has("hover")&&(d.delete("hover"),d.add("click")),f.has("hover")&&(f.delete("hover"),f.add("click"))),[d,f]},[L,U,M,R])}var $=t(29194);function p(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],M=arguments.length>2?arguments[2]:void 0;return M?L[0]===U[0]:L[0]===U[0]&&L[1]===U[1]}function z(L,U,M,R){for(var ee=M.points,y=Object.keys(L),d=0;d<y.length;d+=1){var f,X=y[d];if(p((f=L[X])===null||f===void 0?void 0:f.points,ee,R))return"".concat(U,"-placement-").concat(X)}return""}function I(L,U,M,R){return U||(M?{motionName:"".concat(L,"-").concat(M)}:R?{motionName:R}:null)}function B(L){return L.ownerDocument.defaultView}function P(L){for(var U=[],M=L==null?void 0:L.parentElement,R=["hidden","scroll","clip","auto"];M;){var ee=B(M).getComputedStyle(M),y=ee.overflowX,d=ee.overflowY,f=ee.overflow;[y,d,f].some(function(X){return R.includes(X)})&&U.push(M),M=M.parentElement}return U}function i(L){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return Number.isNaN(L)?U:L}function a(L){return i(parseFloat(L),0)}function _(L,U){var M=(0,b.Z)({},L);return(U||[]).forEach(function(R){if(!(R instanceof HTMLBodyElement||R instanceof HTMLHtmlElement)){var ee=B(R).getComputedStyle(R),y=ee.overflow,d=ee.overflowClipMargin,f=ee.borderTopWidth,X=ee.borderBottomWidth,j=ee.borderLeftWidth,A=ee.borderRightWidth,Q=R.getBoundingClientRect(),ce=R.offsetHeight,re=R.clientHeight,oe=R.offsetWidth,ve=R.clientWidth,Ee=a(f),pe=a(X),Ze=a(j),De=a(A),Re=i(Math.round(Q.width/oe*1e3)/1e3),Qe=i(Math.round(Q.height/ce*1e3)/1e3),Ue=(oe-ve-Ze-De)*Re,st=(ce-re-Ee-pe)*Qe,tt=Ee*Qe,Dt=pe*Qe,Ct=Ze*Re,Mt=De*Re,Pt=0,rn=0;if(y==="clip"){var Tt=a(d);Pt=Tt*Re,rn=Tt*Qe}var Je=Q.x+Ct-Pt,$t=Q.y+tt-rn,ut=Je+Q.width+2*Pt-Ct-Mt-Ue,ht=$t+Q.height+2*rn-tt-Dt-st;M.left=Math.max(M.left,Je),M.top=Math.max(M.top,$t),M.right=Math.min(M.right,ut),M.bottom=Math.min(M.bottom,ht)}}),M}function F(L){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,M="".concat(U),R=M.match(/^(.*)\%$/);return R?L*(parseFloat(R[1])/100):parseFloat(M)}function te(L,U){var M=U||[],R=(0,m.Z)(M,2),ee=R[0],y=R[1];return[F(L.width,ee),F(L.height,y)]}function ie(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return[L[0],L[1]]}function ae(L,U){var M=U[0],R=U[1],ee,y;return M==="t"?y=L.y:M==="b"?y=L.y+L.height:y=L.y+L.height/2,R==="l"?ee=L.x:R==="r"?ee=L.x+L.width:ee=L.x+L.width/2,{x:ee,y}}function he(L,U){var M={t:"b",b:"t",l:"r",r:"l"};return L.map(function(R,ee){return ee===U?M[R]||"c":R}).join("")}function we(L,U,M,R,ee,y,d){var f=o.useState({ready:!1,offsetX:0,offsetY:0,offsetR:0,offsetB:0,arrowX:0,arrowY:0,scaleX:1,scaleY:1,align:ee[R]||{}}),X=(0,m.Z)(f,2),j=X[0],A=X[1],Q=o.useRef(0),ce=o.useMemo(function(){return U?P(U):[]},[U]),re=o.useRef({}),oe=function(){re.current={}};L||oe();var ve=(0,h.Z)(function(){if(U&&M&&L){let Qt=function(Mn,Jn){var Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Ot,xr=an.x+Mn,wr=an.y+Jn,Rr=xr+cn,di=wr+Nt,Ni=Math.max(xr,Lr.left),Zi=Math.max(wr,Lr.top),mi=Math.min(Rr,Lr.right),ai=Math.min(di,Lr.bottom);return Math.max(0,(mi-Ni)*(ai-Zi))},pn=function(){Cn=an.y+ot,_n=Cn+Nt,En=an.x+bt,hn=En+cn};var Ze,De,Re=U,Qe=Re.ownerDocument,Ue=B(Re),st=Ue.getComputedStyle(Re),tt=st.width,Dt=st.height,Ct=st.position,Mt=Re.style.left,Pt=Re.style.top,rn=Re.style.right,Tt=Re.style.bottom,Je=Re.style.overflow,$t=(0,b.Z)((0,b.Z)({},ee[R]),y),ut=Qe.createElement("div");(Ze=Re.parentElement)===null||Ze===void 0||Ze.appendChild(ut),ut.style.left="".concat(Re.offsetLeft,"px"),ut.style.top="".concat(Re.offsetTop,"px"),ut.style.position=Ct,ut.style.height="".concat(Re.offsetHeight,"px"),ut.style.width="".concat(Re.offsetWidth,"px"),Re.style.left="0",Re.style.top="0",Re.style.right="auto",Re.style.bottom="auto",Re.style.overflow="hidden";var ht;if(Array.isArray(M))ht={x:M[0],y:M[1],width:0,height:0};else{var Xt=M.getBoundingClientRect();ht={x:Xt.x,y:Xt.y,width:Xt.width,height:Xt.height}}var an=Re.getBoundingClientRect(),Dn=Qe.documentElement,yn=Dn.clientWidth,On=Dn.clientHeight,Ln=Dn.scrollWidth,In=Dn.scrollHeight,Bn=Dn.scrollTop,zt=Dn.scrollLeft,Nt=an.height,cn=an.width,zn=ht.height,An=ht.width,ge={left:0,top:0,right:yn,bottom:On},me={left:-zt,top:-Bn,right:Ln-zt,bottom:In-Bn},Ye=$t.htmlRegion,je="visible",pt="visibleFirst";Ye!=="scroll"&&Ye!==pt&&(Ye=je);var nt=Ye===pt,_t=_(me,ce),at=_(ge,ce),Ot=Ye===je?at:_t,wt=nt?at:Ot;Re.style.left="auto",Re.style.top="auto",Re.style.right="0",Re.style.bottom="0";var Fe=Re.getBoundingClientRect();Re.style.left=Mt,Re.style.top=Pt,Re.style.right=rn,Re.style.bottom=Tt,Re.style.overflow=Je,(De=Re.parentElement)===null||De===void 0||De.removeChild(ut);var Be=i(Math.round(cn/parseFloat(tt)*1e3)/1e3),rt=i(Math.round(Nt/parseFloat(Dt)*1e3)/1e3);if(Be===0||rt===0||(0,W.Sh)(M)&&!(0,$.Z)(M))return;var it=$t.offset,lt=$t.targetOffset,on=te(an,it),gn=(0,m.Z)(on,2),Zt=gn[0],qe=gn[1],_e=te(ht,lt),Se=(0,m.Z)(_e,2),Ne=Se[0],$e=Se[1];ht.x-=Ne,ht.y-=$e;var Me=$t.points||[],ze=(0,m.Z)(Me,2),Ae=ze[0],et=ze[1],yt=ie(et),mt=ie(Ae),Ht=ae(ht,yt),Kt=ae(an,mt),dn=(0,b.Z)({},$t),bt=Ht.x-Kt.x+Zt,ot=Ht.y-Kt.y+qe,Yt=Qt(bt,ot),Wt=Qt(bt,ot,at),jn=ae(ht,["t","l"]),wn=ae(an,["t","l"]),mn=ae(ht,["b","r"]),Sn=ae(an,["b","r"]),Vt=$t.overflow||{},kn=Vt.adjustX,ar=Vt.adjustY,At=Vt.shiftX,Ut=Vt.shiftY,Jt=function(Jn){return typeof Jn=="boolean"?Jn:Jn>=0},Cn,_n,En,hn;pn();var Kn=Jt(ar),lr=mt[0]===yt[0];if(Kn&&mt[0]==="t"&&(_n>wt.bottom||re.current.bt)){var Gn=ot;lr?Gn-=Nt-zn:Gn=jn.y-Sn.y-qe;var Xn=Qt(bt,Gn),cr=Qt(bt,Gn,at);Xn>Yt||Xn===Yt&&(!nt||cr>=Wt)?(re.current.bt=!0,ot=Gn,qe=-qe,dn.points=[he(mt,0),he(yt,0)]):re.current.bt=!1}if(Kn&&mt[0]==="b"&&(Cn<wt.top||re.current.tb)){var ft=ot;lr?ft+=Nt-zn:ft=mn.y-wn.y-qe;var Et=Qt(bt,ft),Gt=Qt(bt,ft,at);Et>Yt||Et===Yt&&(!nt||Gt>=Wt)?(re.current.tb=!0,ot=ft,qe=-qe,dn.points=[he(mt,0),he(yt,0)]):re.current.tb=!1}var Zn=Jt(kn),tr=mt[1]===yt[1];if(Zn&&mt[1]==="l"&&(hn>wt.right||re.current.rl)){var gr=bt;tr?gr-=cn-An:gr=jn.x-Sn.x-Zt;var er=Qt(gr,ot),mr=Qt(gr,ot,at);er>Yt||er===Yt&&(!nt||mr>=Wt)?(re.current.rl=!0,bt=gr,Zt=-Zt,dn.points=[he(mt,1),he(yt,1)]):re.current.rl=!1}if(Zn&&mt[1]==="r"&&(En<wt.left||re.current.lr)){var _r=bt;tr?_r+=cn-An:_r=mn.x-wn.x-Zt;var Sr=Qt(_r,ot),yr=Qt(_r,ot,at);Sr>Yt||Sr===Yt&&(!nt||yr>=Wt)?(re.current.lr=!0,bt=_r,Zt=-Zt,dn.points=[he(mt,1),he(yt,1)]):re.current.lr=!1}pn();var Yn=At===!0?0:At;typeof Yn=="number"&&(En<at.left&&(bt-=En-at.left-Zt,ht.x+An<at.left+Yn&&(bt+=ht.x-at.left+An-Yn)),hn>at.right&&(bt-=hn-at.right-Zt,ht.x>at.right-Yn&&(bt+=ht.x-at.right+Yn)));var br=Ut===!0?0:Ut;typeof br=="number"&&(Cn<at.top&&(ot-=Cn-at.top-qe,ht.y+zn<at.top+br&&(ot+=ht.y-at.top+zn-br)),_n>at.bottom&&(ot-=_n-at.bottom-qe,ht.y>at.bottom-br&&(ot+=ht.y-at.bottom+br)));var Fr=an.x+bt,Ar=Fr+cn,Ir=an.y+ot,Hr=Ir+Nt,Wr=ht.x,ti=Wr+An,qr=ht.y,_i=qr+zn,yi=Math.max(Fr,Wr),li=Math.min(Ar,ti),Ur=(yi+li)/2,Pi=Ur-Fr,bi=Math.max(Ir,qr),ui=Math.min(Hr,_i),ci=(bi+ui)/2,ni=ci-Ir;d==null||d(U,dn);var Ft=Fe.right-an.x-(bt+an.width),xn=Fe.bottom-an.y-(ot+an.height);A({ready:!0,offsetX:bt/Be,offsetY:ot/rt,offsetR:Ft/Be,offsetB:xn/rt,arrowX:Pi/Be,arrowY:ni/rt,scaleX:Be,scaleY:rt,align:dn})}}),Ee=function(){Q.current+=1;var De=Q.current;Promise.resolve().then(function(){Q.current===De&&ve()})},pe=function(){A(function(De){return(0,b.Z)((0,b.Z)({},De),{},{ready:!1})})};return(0,n.Z)(pe,[R]),(0,n.Z)(function(){L||pe()},[L]),[j.ready,j.offsetX,j.offsetY,j.offsetR,j.offsetB,j.arrowX,j.arrowY,j.scaleX,j.scaleY,j.align,Ee]}var Ke=t(26407);function Ie(L,U,M,R,ee){(0,n.Z)(function(){if(L&&U&&M){let Q=function(){R(),ee()};var y=U,d=M,f=P(y),X=P(d),j=B(d),A=new Set([j].concat((0,Ke.Z)(f),(0,Ke.Z)(X)));return A.forEach(function(ce){ce.addEventListener("scroll",Q,{passive:!0})}),j.addEventListener("resize",Q,{passive:!0}),R(),function(){A.forEach(function(ce){ce.removeEventListener("scroll",Q),j.removeEventListener("resize",Q)})}}},[L,U,M])}var ke=t(48736),Xe=t(16089);function Oe(L,U,M,R,ee,y,d,f){var X=o.useRef(L),j=o.useRef(!1);X.current!==L&&(j.current=!0,X.current=L),o.useEffect(function(){var A=(0,Xe.Z)(function(){j.current=!1});return function(){Xe.Z.cancel(A)}},[L]),o.useEffect(function(){if(U&&R&&(!ee||y)){var A=function(){var Ct=!1,Mt=function(Tt){var Je=Tt.target;Ct=d(Je)},Pt=function(Tt){var Je=Tt.target;!j.current&&X.current&&!Ct&&!d(Je)&&f(!1)};return[Mt,Pt]},Q=A(),ce=(0,m.Z)(Q,2),re=ce[0],oe=ce[1],ve=A(),Ee=(0,m.Z)(ve,2),pe=Ee[0],Ze=Ee[1],De=B(R);De.addEventListener("mousedown",re,!0),De.addEventListener("click",oe,!0),De.addEventListener("contextmenu",oe,!0);var Re=(0,e.A)(M);if(Re&&(Re.addEventListener("mousedown",pe,!0),Re.addEventListener("click",Ze,!0),Re.addEventListener("contextmenu",Ze,!0)),0)var Qe,Ue,st,tt;return function(){De.removeEventListener("mousedown",re,!0),De.removeEventListener("click",oe,!0),De.removeEventListener("contextmenu",oe,!0),Re&&(Re.removeEventListener("mousedown",pe,!0),Re.removeEventListener("click",Ze,!0),Re.removeEventListener("contextmenu",Ze,!0))}}},[U,M,R,ee,y])}var Ce=["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 le(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:V.Z,U=o.forwardRef(function(M,R){var ee=M.prefixCls,y=ee===void 0?"rc-trigger-popup":ee,d=M.children,f=M.action,X=f===void 0?"hover":f,j=M.showAction,A=M.hideAction,Q=M.popupVisible,ce=M.defaultPopupVisible,re=M.onPopupVisibleChange,oe=M.afterPopupVisibleChange,ve=M.mouseEnterDelay,Ee=M.mouseLeaveDelay,pe=Ee===void 0?.1:Ee,Ze=M.focusDelay,De=M.blurDelay,Re=M.mask,Qe=M.maskClosable,Ue=Qe===void 0?!0:Qe,st=M.getPopupContainer,tt=M.forceRender,Dt=M.autoDestroy,Ct=M.destroyPopupOnHide,Mt=M.popup,Pt=M.popupClassName,rn=M.popupStyle,Tt=M.popupPlacement,Je=M.builtinPlacements,$t=Je===void 0?{}:Je,ut=M.popupAlign,ht=M.zIndex,Xt=M.stretch,an=M.getPopupClassNameFromAlign,Dn=M.fresh,yn=M.alignPoint,On=M.onPopupClick,Ln=M.onPopupAlign,In=M.arrow,Bn=M.popupMotion,zt=M.maskMotion,Nt=M.popupTransitionName,cn=M.popupAnimation,zn=M.maskTransitionName,An=M.maskAnimation,ge=M.className,me=M.getTriggerDOMNode,Ye=(0,D.Z)(M,Ce),je=Dt||Ct||!1,pt=o.useState(!1),nt=(0,m.Z)(pt,2),_t=nt[0],at=nt[1];(0,n.Z)(function(){at((0,r.Z)())},[]);var Ot=o.useRef({}),wt=o.useContext(q),Fe=o.useMemo(function(){return{registerSubPopup:function(Rn,pr){Ot.current[Rn]=pr,wt==null||wt.registerSubPopup(Rn,pr)}}},[wt]),Be=(0,v.Z)(),rt=o.useState(null),it=(0,m.Z)(rt,2),lt=it[0],on=it[1],gn=(0,h.Z)(function(Lt){(0,W.Sh)(Lt)&<!==Lt&&on(Lt),wt==null||wt.registerSubPopup(Be,Lt)}),Zt=o.useState(null),qe=(0,m.Z)(Zt,2),_e=qe[0],Se=qe[1],Ne=o.useRef(null),$e=(0,h.Z)(function(Lt){(0,W.Sh)(Lt)&&_e!==Lt&&(Se(Lt),Ne.current=Lt)}),Me=o.Children.only(d),ze=(Me==null?void 0:Me.props)||{},Ae={},et=(0,h.Z)(function(Lt){var Rn,pr,Br=_e;return(Br==null?void 0:Br.contains(Lt))||((Rn=(0,e.A)(Br))===null||Rn===void 0?void 0:Rn.host)===Lt||Lt===Br||(lt==null?void 0:lt.contains(Lt))||((pr=(0,e.A)(lt))===null||pr===void 0?void 0:pr.host)===Lt||Lt===lt||Object.values(Ot.current).some(function(ur){return(ur==null?void 0:ur.contains(Lt))||Lt===ur})}),yt=I(y,Bn,cn,Nt),mt=I(y,zt,An,zn),Ht=o.useState(ce||!1),Kt=(0,m.Z)(Ht,2),dn=Kt[0],bt=Kt[1],ot=Q!=null?Q:dn,Yt=(0,h.Z)(function(Lt){Q===void 0&&bt(Lt)});(0,n.Z)(function(){bt(Q||!1)},[Q]);var Wt=o.useRef(ot);Wt.current=ot;var jn=o.useRef([]);jn.current=[];var wn=(0,h.Z)(function(Lt){var Rn;Yt(Lt),((Rn=jn.current[jn.current.length-1])!==null&&Rn!==void 0?Rn:ot)!==Lt&&(jn.current.push(Lt),re==null||re(Lt))}),mn=o.useRef(),Sn=function(){clearTimeout(mn.current)},Vt=function(Rn){var pr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;Sn(),pr===0?wn(Rn):mn.current=setTimeout(function(){wn(Rn)},pr*1e3)};o.useEffect(function(){return Sn},[]);var kn=o.useState(!1),ar=(0,m.Z)(kn,2),At=ar[0],Ut=ar[1];(0,n.Z)(function(Lt){(!Lt||ot)&&Ut(!0)},[ot]);var Jt=o.useState(null),Cn=(0,m.Z)(Jt,2),_n=Cn[0],En=Cn[1],hn=o.useState([0,0]),Kn=(0,m.Z)(hn,2),lr=Kn[0],Gn=Kn[1],Xn=function(Rn){Gn([Rn.clientX,Rn.clientY])},cr=we(ot,lt,yn?lr:_e,Tt,$t,ut,Ln),ft=(0,m.Z)(cr,11),Et=ft[0],Gt=ft[1],Zn=ft[2],tr=ft[3],gr=ft[4],er=ft[5],mr=ft[6],_r=ft[7],Sr=ft[8],yr=ft[9],Yn=ft[10],br=H(_t,X,j,A),Fr=(0,m.Z)(br,2),Ar=Fr[0],Ir=Fr[1],Hr=Ar.has("click"),Wr=Ir.has("click")||Ir.has("contextMenu"),ti=(0,h.Z)(function(){At||Yn()}),qr=function(){Wt.current&&yn&&Wr&&Vt(!1)};Ie(ot,_e,lt,ti,qr),(0,n.Z)(function(){ti()},[lr,Tt]),(0,n.Z)(function(){ot&&!($t!=null&&$t[Tt])&&ti()},[JSON.stringify(ut)]);var _i=o.useMemo(function(){var Lt=z($t,y,yr,yn);return K()(Lt,an==null?void 0:an(yr))},[yr,an,$t,y,yn]);o.useImperativeHandle(R,function(){return{nativeElement:Ne.current,forceAlign:ti}});var yi=o.useState(0),li=(0,m.Z)(yi,2),Ur=li[0],Pi=li[1],bi=o.useState(0),ui=(0,m.Z)(bi,2),ci=ui[0],ni=ui[1],Ft=function(){if(Xt&&_e){var Rn=_e.getBoundingClientRect();Pi(Rn.width),ni(Rn.height)}},xn=function(){Ft(),ti()},Qt=function(Rn){Ut(!1),Yn(),oe==null||oe(Rn)},pn=function(){return new Promise(function(Rn){Ft(),En(function(){return Rn})})};(0,n.Z)(function(){_n&&(Yn(),_n(),En(null))},[_n]);function Mn(Lt,Rn,pr,Br){Ae[Lt]=function(ur){var zi;Br==null||Br(ur),Vt(Rn,pr);for(var ji=arguments.length,Hi=new Array(ji>1?ji-1:0),$i=1;$i<ji;$i++)Hi[$i-1]=arguments[$i];(zi=ze[Lt])===null||zi===void 0||zi.call.apply(zi,[ze,ur].concat(Hi))}}(Hr||Wr)&&(Ae.onClick=function(Lt){var Rn;Wt.current&&Wr?Vt(!1):!Wt.current&&Hr&&(Xn(Lt),Vt(!0));for(var pr=arguments.length,Br=new Array(pr>1?pr-1:0),ur=1;ur<pr;ur++)Br[ur-1]=arguments[ur];(Rn=ze.onClick)===null||Rn===void 0||Rn.call.apply(Rn,[ze,Lt].concat(Br))}),Oe(ot,Wr,_e,lt,Re,Ue,et,Vt);var Jn=Ar.has("hover"),Lr=Ir.has("hover"),xr,wr;Jn&&(Mn("onMouseEnter",!0,ve,function(Lt){Xn(Lt)}),Mn("onPointerEnter",!0,ve,function(Lt){Xn(Lt)}),xr=function(Rn){(ot||At)&<!==null&<!==void 0&<.contains(Rn.target)&&Vt(!0,ve)},yn&&(Ae.onMouseMove=function(Lt){var Rn;(Rn=ze.onMouseMove)===null||Rn===void 0||Rn.call(ze,Lt)})),Lr&&(Mn("onMouseLeave",!1,pe),Mn("onPointerLeave",!1,pe),wr=function(){Vt(!1,pe)}),Ar.has("focus")&&Mn("onFocus",!0,Ze),Ir.has("focus")&&Mn("onBlur",!1,De),Ar.has("contextMenu")&&(Ae.onContextMenu=function(Lt){var Rn;Wt.current&&Ir.has("contextMenu")?Vt(!1):(Xn(Lt),Vt(!0)),Lt.preventDefault();for(var pr=arguments.length,Br=new Array(pr>1?pr-1:0),ur=1;ur<pr;ur++)Br[ur-1]=arguments[ur];(Rn=ze.onContextMenu)===null||Rn===void 0||Rn.call.apply(Rn,[ze,Lt].concat(Br))}),ge&&(Ae.className=K()(ze.className,ge));var Rr=(0,b.Z)((0,b.Z)({},ze),Ae),di={},Ni=["onContextMenu","onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur"];Ni.forEach(function(Lt){Ye[Lt]&&(di[Lt]=function(){for(var Rn,pr=arguments.length,Br=new Array(pr),ur=0;ur<pr;ur++)Br[ur]=arguments[ur];(Rn=Rr[Lt])===null||Rn===void 0||Rn.call.apply(Rn,[Rr].concat(Br)),Ye[Lt].apply(Ye,Br)})});var Zi=o.cloneElement(Me,(0,b.Z)((0,b.Z)({},Rr),di)),mi={x:er,y:mr},ai=In?(0,b.Z)({},In!==!0?In:{}):null;return o.createElement(o.Fragment,null,o.createElement(u.Z,{disabled:!ot,ref:$e,onResize:xn},o.createElement(T,{getTriggerDOMNode:me},Zi)),o.createElement(q.Provider,{value:Fe},o.createElement(s,{portal:L,ref:gn,prefixCls:y,popup:Mt,className:K()(Pt,_i),style:rn,target:_e,onMouseEnter:xr,onMouseLeave:wr,onPointerEnter:xr,zIndex:ht,open:ot,keepDom:At,fresh:Dn,onClick:On,mask:Re,motion:yt,maskMotion:mt,onVisibleChanged:Qt,onPrepare:pn,forceRender:tt,autoDestroy:je,getPopupContainer:st,align:yr,arrow:ai,arrowPos:mi,ready:Et,offsetX:Gt,offsetY:Zn,offsetR:tr,offsetB:gr,onAlign:ti,stretch:Xt,targetWidth:Ur/_r,targetHeight:ci/Sr})))});return U}var se=le(V.Z)},57816:function(We,fe,t){"use strict";var b=t(59301),m=t(93314),D=t(3113),V=Object.defineProperty,Z=Object.defineProperties,K=Object.getOwnPropertyDescriptors,u=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,h=(o,l,w)=>l in o?V(o,l,{enumerable:!0,configurable:!0,writable:!0,value:w}):o[l]=w,v=(o,l)=>{for(var w in l||(l={}))W.call(l,w)&&h(o,w,l[w]);if(u)for(var w of u(l))e.call(l,w)&&h(o,w,l[w]);return o},n=(o,l)=>Z(o,K(l));const r=({img:o,buttonProps:l={},styles:w={},customText:k,ButtonText:E,ButtonClick:g,Buttonclass:O,ButtonTwo:C,imgStyles:c,loading:s=!1})=>b.createElement("section",{className:"tc animated fadeIn",style:v(v({},{color:"#999",margin:"100px auto",visibility:s?"hidden":"visible"}),w)},b.createElement("img",{src:o||m,style:n(v({},c),{pointerEvents:"none",userSelect:"none"})}),b.createElement("p",{className:"mt20 font14"},k||"\u6682\u65F6\u8FD8\u6CA1\u6709\u76F8\u5173\u6570\u636E\u54E6!"),E&&b.createElement(D.ZP,v({className:O,onClick:g},l),E),C&&C);fe.Z=r},90853:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return O}});var b=t(59301),m={wrp:"wrp___dq7YK",bgBlack:"bgBlack___ARIUV",monaco:"monaco___VnZC3",darkBlue:"darkBlue___UprA9",close:"close___LKoWu",embed:"embed___hvpEJ"},D=t(3113),V=t(70557),Z=t(57800),K=t(6848),u=t(88230),W=t(30897),e=t(57816),h=t(38446),v=t(89282),n=t(59301),r=Object.defineProperty,o=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty,w=Object.prototype.propertyIsEnumerable,k=(C,c,s)=>c in C?r(C,c,{enumerable:!0,configurable:!0,writable:!0,value:s}):C[c]=s,E=(C,c)=>{for(var s in c||(c={}))l.call(c,s)&&k(C,s,c[s]);if(o)for(var s of o(c))w.call(c,s)&&k(C,s,c[s]);return C},g=(C,c,s)=>new Promise((x,T)=>{var J=H=>{try{G(s.next(H))}catch($){T($)}},q=H=>{try{G(s.throw(H))}catch($){T($)}},G=H=>H.done?x(H.value):Promise.resolve(H.value).then(J,q);G((s=s.apply(C,c)).next())}),O=({editOffice:C="view",data:c,theme:s,type:x,filename:T,monacoEditor:J,className:q,style:G,close:H,onClose:$,hasMask:p,disabledDownload:z,onImgDimensions:I,showNodata:B,recordInfo:P})=>{const[i,a]=(0,b.useState)("https://view.officeapps.live.com/op/view.aspx?src=http://testgs.educoder.net//rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBCZz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--03541f6234b93d7ac3b2d84e7eb0e6594a952945/1.ppt"),[_,F]=(0,b.useState)(""),[te,ie]=(0,b.useState)(),ae=window.ENV==="build"?"/react/build":"",he=location.host.startsWith("localhost")?h.Z.PROXY_SERVER:h.Z.API_SERVER,Ke=10*(1024*1024),Ie=(0,b.useRef)();c!=null&&c.startsWith("/api")&&x!=="txt"&&(c=h.Z.API_SERVER+c);const ke=le=>le.substring(le.lastIndexOf("/")+1).split(".").pop();T&&J&&(J.filename=T),(0,b.useEffect)(()=>{var le,se;const L=(se=(le=document.cookie)==null?void 0:le.replace(/\s/g,""))==null?void 0:se.split(";");L==null||L.map(U=>{let M=U.split("=");M[0]==="_educoder_session"&&F(M[1])})},[]),(0,b.useEffect)(()=>{x==="office"&&(c.indexOf("bigfilescdn.")>-1||c.indexOf("bigfiles1")>-1?ie({url:c,fileType:ke(c),model:c.indexOf("model=edit")?"edit":"view"}):Xe())},[x,c]);const Xe=()=>g(void 0,null,function*(){console.log("data:",c);let le=c;c.startsWith("http")||(le=location.origin+le);let se=new URL(le).pathname.split("/").pop();const L=yield(0,W.gJ)({attachment_id:se});L.url=he+L.url,ie(L)}),Oe=()=>{if(c.startsWith("http")||c.startsWith("blob:")){Ce();return}(0,u.Sv)(T||"educoder",c,T)},Ce=()=>{P&&(0,v.fc)({id:P==null?void 0:P.id,watch_type:1,course_id:P==null?void 0:P.course_id}),(0,u.Nd)(T||"educoder",decodeURIComponent(c))};return n.createElement("div",{style:E({},G||{}),className:`${p&&m.bgBlack} ${x?m.wrp:"hide"}`},H&&n.createElement("div",{className:m.close,ref:Ie},!!I&&n.createElement(K.Z,{title:"\u70B9\u51FB\u5BF9\u56FE\u7247\u8FDB\u884C\u6279\u6CE8",getPopupContainer:()=>Ie.current},n.createElement("span",{onClick:()=>{$(),I()}},n.createElement("i",{className:"icon-yulanpizhu"}))),!z&&n.createElement(K.Z,{title:"\u70B9\u51FB\u4E0B\u8F7D\u6B64\u6587\u4EF6",getPopupContainer:()=>Ie.current},n.createElement("span",{onClick:Ce},n.createElement("i",{className:"icon-quxiaozhiding"}))),n.createElement(K.Z,{title:"\u5173\u95ED",getPopupContainer:()=>Ie.current},n.createElement("span",{className:"",onClick:$},n.createElement("i",{className:"icon-guanbi1"})))),n.createElement("div",{className:`${m[q]} ${q} ${m.monaco} ${x==="txt"?"show":"hide"}`},x==="txt"&&n.createElement(n.Fragment,null,n.createElement(Z.ZP,E({},J)))),x==="audio"&&n.createElement("audio",{src:`${(c==null?void 0:c.indexOf("http://"))>-1||(c==null?void 0:c.indexOf("https://"))>-1?"":"data:audio/mp3;base64,"}${c}`,autoPlay:!0}),x==="video"&&n.createElement(n.Fragment,null,(c==null?void 0:c.indexOf("http"))>-1?n.createElement("video",{controls:!0,src:`${c}`,autoPlay:!0}):n.createElement("video",{controls:!0,src:`data:video/mp4;base64,${c}`,autoPlay:!0})),x==="office"&&te&&n.createElement("iframe",{src:`${ae}/office.html?key=${te.key}&url=${btoa(te.url)}&callbackUrl=${he+(te.callbackUrl||"")}&fileType=${te.fileType}&title=${te.title||""}&model=${C}&officeServer=${h.Z.ONLYOFFICE}&disabledDownload=${!!z}`}),x==="html"&&n.createElement("iframe",{src:c+"&disposition=inline"}),x==="pdf"&&n.createElement("iframe",{src:`${ae}/js/pdfview/index.html?filename=${T||"educoder.pdf"}&url=${encodeURIComponent(c)}&disabledDownload=${!!z}`}),x==="image"&&n.createElement("img",{src:`${(c==null?void 0:c.indexOf("http://"))>-1||(c==null?void 0:c.indexOf("https://"))>-1?"":"data:image/png;base64,"}${c}`}),(x==="other"||x==="download")&&n.createElement(n.Fragment,null,B?n.createElement(e.Z,{customText:"\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u9884\u89C8\uFF0C\u53EF\u70B9\u51FB\u4E0B\u8F7D\u67E5\u770B",ButtonTwo:n.createElement(D.ZP,{icon:n.createElement("i",{className:"iconfont icon-xiazai4 font14"}),type:"primary",size:"middle",onClick:Oe,disabled:z},"\u4E0B\u8F7D")}):n.createElement(D.ZP,{type:"primary",size:"middle",onClick:Oe,disabled:z},n.createElement(V.Z,null),"\u70B9\u51FB\u4E0B\u8F7D")))}},57800:function(We,fe,t){"use strict";t.d(fe,{SV:function(){return ee},ZP:function(){return R}});var b=t(59301),m=t(76374);const D={keywords:["print","auto","break","case","char","const","continue","default","do","double","else","enum","extern","float","for","goto","if","int","long","register","return","short","signed","sizeof","static","struct","switch","typedef","union","unsigned","void","volatile","while"]},V={quickKey:[{label:"main",content:["public static void main(String[] args) {"," $0","}"].join(`
|
|
`)},{label:"System.out.println",content:["System.out.println($0)"].join(`
|
|
`)},{label:"System.out.print",content:["System.out.print($0)"].join(`
|
|
`)}],keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false"]},Z={keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","friend","gcnew","generic","goto","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],quickKey:[{label:"ifelse",content:["if (${1:condition}) {"," $0","} else {"," ","}"].join(`
|
|
`)},{label:"include",content:"include<$0>"},{label:"printf",content:"printf($0)"},{label:"system",content:'system("$0")'},{label:"main",content:["int main () {"," $0","}"].join(`
|
|
`)},{label:"if",content:["if () {"," $0","}"].join(`
|
|
`)},{label:"for",content:["for(int j=0 ; j<10; j++){"," $0","}"].join(`
|
|
`)},{label:"trycatch",content:["try{"," $0","}catch(ExceptionName e){","}"].join(`
|
|
`)},{label:"using namespace std;",content:["using namespace std;"].join(`
|
|
`)},{label:"include <iostream>",content:["#include <iostream>"].join(`
|
|
`)},{label:"include <vector>",content:["#include <vector>"].join(`
|
|
`)},{label:"include <cstdio>",content:["#include <cstdio>"].join(`
|
|
`)},{label:"include <cstring>",content:["#include <cstring>"].join(`
|
|
`)},{label:"include <sstream>",content:["#include <sstream>"].join(`
|
|
`)},{label:"include <fstream>",content:["#include <fstream>"].join(`
|
|
`)},{label:"include <map>",content:["#include <map>"].join(`
|
|
`)},{label:"include <string>",content:["#include <string>"].join(`
|
|
`)},{label:"include <cmath>",content:["#include <cmath>"].join(`
|
|
`)}]},K={keywords:["and","as","assert","break","class","continue","def","del","elif","else","except","exec","finally","for","from","global","if","import","in","is","lambda","None","not","or","pass","raise","return","self","try","while","with","yield","int","float","long","complex","hex","abs","all","any","apply","basestring","bin","bool","buffer","bytearray","callable","chr","classmethod","cmp","coerce","compile","complex","delattr","dict","dir","divmod","enumerate","eval","execfile","file","filter","format","frozenset","getattr","globals","hasattr","hash","help","id","input","intern","isinstance","issubclass","iter","len","locals","list","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","reversed","range","raw_input","reduce","reload","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","unichr","unicode","vars","xrange","zip","True","False","__dict__","__methods__","__members__","__class__","__bases__","__name__","__mro__","__subclasses__","__init__","__import__"],quickKey:[{label:"print",content:["print($0)"].join(`
|
|
`)}]},u={keywords:["asInstanceOf","catch","class","classOf","def","do","else","extends","finally","for","foreach","forSome","if","import","isInstanceOf","macro","match","new","object","package","return","throw","trait","try","type","until","val","var","while","with","yield","given","enum","then"],quickKey:[{label:"println",content:["println($0)"].join(`
|
|
`)}]};var W=t(7947),e=t.n(W),h=Object.defineProperty,v=Object.defineProperties,n=Object.getOwnPropertyDescriptors,r=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,w=(y,d,f)=>d in y?h(y,d,{enumerable:!0,configurable:!0,writable:!0,value:f}):y[d]=f,k=(y,d)=>{for(var f in d||(d={}))o.call(d,f)&&w(y,f,d[f]);if(r)for(var f of r(d))l.call(d,f)&&w(y,f,d[f]);return y},E=(y,d)=>v(y,n(d)),g=(y,d,f)=>new Promise((X,j)=>{var A=re=>{try{ce(f.next(re))}catch(oe){j(oe)}},Q=re=>{try{ce(f.throw(re))}catch(oe){j(oe)}},ce=re=>re.done?X(re.value):Promise.resolve(re.value).then(A,Q);ce((f=f.apply(y,d)).next())});const O={languages:["c","abap","apex","azcli","bat","cameligo","clojure","coffee","cpp","csharp","csp","css","dockerfile","fsharp","go","graphql","handlebars","html","ini","java","javascript","json","kotlin","less","lua","markdown","mips","msdax","mysql","objective-c","pascal","pascaligo","perl","pgsql","php","postiats","powerquery","powershell","pug","python","r","razor","redis","redshift","restructuredtext","ruby","rust","sb","scheme","scss","shell","solidity","sophia","sql","st","swift","tcl","twig","vb","xml","yaml'"],tables:{users:["name","id","email","phone","password"],roles:["id","name","order","created_at","updated_at","deleted_at"]}},C=(y,d)=>d.map(f=>({label:f,kind:y.languages.CompletionItemKind.Keyword,insertText:f})),c=y=>Object.keys(O.tables).map(d=>({label:d,kind:y.languages.CompletionItemKind.Variable,insertText:d})),s=(y,d)=>{const f=O.tables[y];return f?f.map(X=>({label:X,kind:d.languages.CompletionItemKind.Field,insertText:X})):[]};function x(y,d,f,X,j){let A=d.getWordUntilPosition(f),Q={startLineNumber:f.lineNumber,endLineNumber:f.lineNumber,startColumn:A.startColumn,endColumn:A.endColumn},ce=X.map(re=>({label:re,kind:y.languages.CompletionItemKind.Keyword,insertText:re,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:Q}));return j.map(re=>{ce.push(E(k({},re),{range:Q}))}),ce}var T=y=>{O.languages.map(j=>(y.languages.registerDocumentFormattingEditProvider(j,{provideDocumentFormattingEdits(A,Q,ce){return g(this,null,function*(){const re=e()(A.getValue(),{indent_size:"2",indent_char:" ",max_preserve_newlines:"2",preserve_newlines:!0,keep_array_indentation:!0,break_chained_methods:!1,indent_scripts:"normal",brace_style:"collapse",space_before_conditional:!0,unescape_strings:!1,jslint_happy:!1,end_with_newline:!0,wrap_line_length:"0",indent_inner_html:!1,comma_first:!1,e4x:!1,indent_empty_lines:!1});return[{range:A.getFullModelRange(),text:re}]})}}),j));const d=Z.quickKey.map(j=>({label:j.label,kind:y.languages.CompletionItemKind.Method,insertText:j.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet})),f=K.quickKey.map(j=>({label:j.label,kind:y.languages.CompletionItemKind.Method,insertText:j.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet})),X=V.quickKey.map(j=>({label:j.label,kind:y.languages.CompletionItemKind.Method,insertText:j.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet}));y.languages.registerCompletionItemProvider("cpp",{provideCompletionItems:function(j,A){var Q=j.getWordUntilPosition(A),ce={startLineNumber:A.lineNumber,endLineNumber:A.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},re=j.getLineContent(A.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[...Z.keywords.map(oe=>({label:oe,kind:y.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...Z.quickKey.map(oe=>({label:oe.label,kind:y.languages.CompletionItemKind.Function,documentation:oe.content,insertText:re.startsWith("#")?oe.content.replace(/#/,""):oe.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),y.languages.registerCompletionItemProvider("c",{provideCompletionItems:function(j,A){var Q=j.getWordUntilPosition(A),ce={startLineNumber:A.lineNumber,endLineNumber:A.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn};return{suggestions:[...D.keywords.map(re=>({label:re,kind:y.languages.CompletionItemKind.Function,documentation:re,insertText:re,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),y.languages.registerCompletionItemProvider("java",{provideCompletionItems:function(j,A){var Q=j.getWordUntilPosition(A),ce={startLineNumber:A.lineNumber,endLineNumber:A.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},re=j.getLineContent(A.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[...V.keywords.map(oe=>({label:oe,kind:y.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...V.quickKey.map(oe=>({label:oe.label,kind:y.languages.CompletionItemKind.Function,documentation:oe.content,insertText:re.startsWith("#")?oe.content.replace(/#/,""):oe.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),y.languages.registerCompletionItemProvider("scala",{provideCompletionItems:function(j,A){var Q=j.getWordUntilPosition(A),ce={startLineNumber:A.lineNumber,endLineNumber:A.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},re=j.getLineContent(A.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[...u.keywords.map(oe=>({label:oe,kind:y.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...u.quickKey.map(oe=>({label:oe.label,kind:y.languages.CompletionItemKind.Function,documentation:oe.content,insertText:re.startsWith("#")?oe.content.replace(/#/,""):oe.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}}),y.languages.registerCompletionItemProvider("python",{provideCompletionItems:function(j,A){var Q=j.getWordUntilPosition(A),ce={startLineNumber:A.lineNumber,endLineNumber:A.lineNumber,startColumn:Q.startColumn,endColumn:Q.endColumn},re=j.getLineContent(A.lineNumber).substring(Q.startColumn-2,Q.endColumn);return{suggestions:[...K.keywords.map(oe=>({label:oe,kind:y.languages.CompletionItemKind.Function,documentation:oe,insertText:oe,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce})),...K.quickKey.map(oe=>({label:oe.label,kind:y.languages.CompletionItemKind.Function,documentation:oe.content,insertText:re.startsWith("#")?oe.content.replace(/#/,""):oe.content,insertTextRules:y.languages.CompletionItemInsertTextRule.InsertAsSnippet,range:ce}))]}}})};const J="\u8BE5\u4EFB\u52A1\u5173\u5361\u8BBE\u7F6E\u4E86\u7981\u6B62\u590D\u5236\u7C98\u8D34\uFF0C\u8BF7\u624B\u52A8\u8F93\u5165\u4EE3\u7801\u3002";var q=Object.defineProperty,G=(y,d,f)=>d in y?q(y,d,{enumerable:!0,configurable:!0,writable:!0,value:f}):y[d]=f,H=(y,d,f)=>G(y,typeof d!="symbol"?d+"":d,f);const $=class po{constructor(d,f,X){this.placeholder=d,this.editor=f,this.monaco=X,f.onDidChangeModelContent(()=>this.onDidChangeModelContent()),this.onDidChangeModelContent()}onDidChangeModelContent(){this.editor.getValue()===""?this.editor.addContentWidget(this):this.editor.removeContentWidget(this)}getId(){return po.ID}getDomNode(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.style.width="max-content",this.domNode.textContent=this.placeholder,this.domNode.style.fontStyle="initial",this.domNode.style.color="#D7D7D7",this.domNode.style.pointerEvents="none",this.editor.applyFontInfo(this.domNode)),this.domNode}getPosition(){return{position:{lineNumber:1,column:1},preference:[this.monaco.editor.ContentWidgetPositionPreference.EXACT]}}dispose(){this.editor.removeContentWidget(this)}};H($,"ID","editor.widget.placeholderHint");var z=$,I=t(96236),B=t(8591),P=t(6848),i=t(89392),a=t(50484),_=t(56102),F=Object.defineProperty,te=Object.defineProperties,ie=Object.getOwnPropertyDescriptors,ae=Object.getOwnPropertySymbols,he=Object.prototype.hasOwnProperty,we=Object.prototype.propertyIsEnumerable,Ke=(y,d,f)=>d in y?F(y,d,{enumerable:!0,configurable:!0,writable:!0,value:f}):y[d]=f,Ie=(y,d)=>{for(var f in d||(d={}))he.call(d,f)&&Ke(y,f,d[f]);if(ae)for(var f of ae(d))we.call(d,f)&&Ke(y,f,d[f]);return y},ke=(y,d)=>te(y,ie(d)),Xe=(y,d)=>{var f={};for(var X in y)he.call(y,X)&&d.indexOf(X)<0&&(f[X]=y[X]);if(y!=null&&ae)for(var X of ae(y))d.indexOf(X)<0&&we.call(y,X)&&(f[X]=y[X]);return f},Oe=(y,d,f)=>new Promise((X,j)=>{var A=re=>{try{ce(f.next(re))}catch(oe){j(oe)}},Q=re=>{try{ce(f.throw(re))}catch(oe){j(oe)}},ce=re=>re.done?X(re.value):Promise.resolve(re.value).then(A,Q);ce((f=f.apply(y,d)).next())});function Ce(y){return/^\d+$/.test(y)?`${y}px`:y}function le(){}let se=!1;const L={"Python3.6":"python","Python2.7":"python",Dynamips:"cpp",Java:"java",Web:"php",Html:"html",Hive:"sql",Hadoop:"java",SDL:"cpp",PHP:"php",Matlab:"python",Git:"python",Python:"python","C/C++":"cpp","C++":"cpp",C:"cpp",Ruby:"ruby",Shell:"shell",JavaScript:"javascript",Perl6:"perl",Kotlin:"kotlin",Elixir:"elixir",Android:"java",JavaWeb:"java",Go:"go",Spark:"sql",MachineLearning:"python",Verilog:"xml","Verilog/VNC":"xml",Docker:"dockerfile","C#":"csharp",SQLite3:"sql",Oracle:"sql",Vhdl:"vhdl",R:"r",Swift:"swift",SQLServer:"mysql",MySQL:"mysql",Mongo:"sql",PostgreSql:"pgsql",Hbase:"powershell",Sqoop:"sql",Nasm:"cpp",Kafka:"java",Flink:"java",Sml:"javascript",OpenGL:"cpp",Perl5:"perl",Orange:"python",Scala:"scale",solidity:"sol"};function U(y=[]){let d=y;if(Array.isArray(y)){for(let f=0;f<y.length;f++){let X=L[y[f]];if(X)return X}return d[0]}return L[d]||d}let M=null;var R=y=>{var d=y,{width:f="100%",height:X="100%",value:j,language:A="javascript",style:Q={},options:ce={},overrideServices:re={},theme:oe="vs-dark",onEditBlur:ve,isCopy:Ee=!1,onSave:pe,autoHeight:Ze=!1,forbidCopy:De=!1,onChange:Re=le,editorDidMount:Qe=le,onFocus:Ue=le,onBreakPoint:st=le,breakPointValue:tt=[],filename:Dt="educoder.txt",errorLine:Ct,errorContent:Mt="",highlightLine:Pt,openBreakPoint:rn=!1,placeholder:Tt=""}=d,Je=Xe(d,["width","height","value","language","style","options","overrideServices","theme","onEditBlur","isCopy","onSave","autoHeight","forbidCopy","onChange","editorDidMount","onFocus","onBreakPoint","breakPointValue","filename","errorLine","errorContent","highlightLine","openBreakPoint","placeholder"]);const $t=(0,b.useRef)(),ut=(0,b.useRef)({}),ht=(0,b.useRef)(),Xt=(0,b.useRef)(),an=(0,b.useRef)([]),Dn=(0,b.useRef)(!1),yn=(0,b.useRef)(),On=(0,b.useRef)(),Ln=(0,b.useRef)(!1),[In,Bn]=(0,b.useState)(!1);function zt(){let Fe;return $t.current&&(Fe=new m.Z(Be=>{for(let rt of Be)(rt.target.offsetHeight>0||rt.target.offsetWidth>0)&&ut.current.instance.layout()}),Fe.observe($t.current)),Fe}function Nt(){B.ZP.warning({content:decodeURIComponent(J),key:"monaco-editor-tip"})}const cn=()=>{let Fe=ut.current.instance;if(j!=null&&Fe&&In){const Be=Fe.getModel();Be&&j!==Be.getValue()&&(se=!0,Be.setValue(j),Fe.layout(),se=!1)}};(0,b.useEffect)(()=>{const Fe=a.Z.subscribe("formatDocument",Be=>{var rt;let it=ut.current.instance;(rt=it==null?void 0:it.getAction)==null||rt.call(it,"editor.action.formatDocument").run()});return window.updateMonacoValue=Be=>{Re(Be)},Fe},[]),(0,b.useEffect)(()=>{var Fe;let Be=ut.current.instance;Xt.current&&clearTimeout(Xt.current),Xt.current=setTimeout(()=>{cn()},500),j&&(j!=null&&j.length)&&((Fe=Be==null?void 0:Be.updateOptions)==null||Fe.call(Be,{lineNumbersMinChars:Math.max(Math.floor(Math.log10(j.split(/\r\n|\r|\n/g).length))+3,5)}))},[j,In,ut.current]),(0,b.useEffect)(()=>{if(Ct&&ut.current&&ut.current.instance){let Be=ut.current.instance;Be.changeViewZones(function(rt){var it=document.createElement("div");it.style.padding="10px 20px",it.style.width="calc(100% - 20px)",it.className="my-error-line-wrp",it.innerHTML=Mt,rt.addZone({afterLineNumber:Ct||11,heightInLines:3,domNode:it})});var Fe={domNode:null,getId:function(){return"my.overlay.widget"},getDomNode:function(){return this.domNode||(this.domNode=document.createElement("div"),this.domNode.innerHTML="",this.domNode.style.width="100%",this.domNode.style.padding="20px 100px",this.domNode.style.right="0px",this.domNode.style.top="50px",this.domNode.style.position="relative",this.domNode.style.color="#333"),this.domNode},getPosition:function(){return null}};Be.addOverlayWidget(Fe),Be.revealPositionInCenter({lineNumber:20,column:1})}},[Ct,ut.current,In]);const zn=(Fe="",Be)=>{if(!Fe||Fe.trim()==="")return!0;const it=ut.current.instance.getModel().getLineTokens(Be);let lt=!1;for(let on=0;on<2;on++)it.getStandardTokenType(on)===1&&(lt=!0);return lt};(0,b.useEffect)(()=>{var Fe;const Be=(Fe=ut.current)==null?void 0:Fe.instance;if(Be&&In&&De){const rt=Be.onDidBlurEditorWidget(()=>{Ln.current=!1}),it=Be.onDidFocusEditorText(()=>{Ln.current=!0});return()=>{rt.dispose(),it.dispose()}}},[ut.current,In,De]),(0,b.useEffect)(()=>{var Fe;if((Fe=ut.current)!=null&&Fe.instance&&In&&rn){let Be=ut.current.instance,rt=Be.getModel();if(!rt)return;(()=>{var ze;let Ae=[],et=[];const yt=rt.getAllDecorations();for(let Ht of yt)Ht.options.className==="highlighted-line"&&(Ae.push((ze=Ht==null?void 0:Ht.range)==null?void 0:ze.startLineNumber),et.push(Ht==null?void 0:Ht.id));if(Pt===Ae[0])return;rt.deltaDecorations(et,[]);const mt=rt.getLineCount();Pt&&Pt<=mt&&(Be.deltaDecorations([],[{range:new M.Range(Pt,1,Pt,rt.getLineMaxColumn(Pt)),options:{isWholeLine:!0,className:"highlighted-line"}}]),Be.revealLineInCenter(Pt))})();const lt=(ze=!1)=>{var Ae;let et=[],yt=[];const mt=rt.getAllDecorations();for(let Ht of mt)Ht.options.linesDecorationsClassName==="breakpoints-select"&&(et.push((Ae=Ht==null?void 0:Ht.range)==null?void 0:Ae.startLineNumber),yt.push(Ht==null?void 0:Ht.id));if(ze)return{lines:et,ids:yt};st(et)},on=ze=>Oe(void 0,null,function*(){let Ae={range:new M.Range(ze,1,ze,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}};yield rt.deltaDecorations([],[Ae]),lt()}),gn=ze=>Oe(void 0,null,function*(){let Ae=[];const et=Be.getLineDecorations(ze);for(let yt of et)yt.options.linesDecorationsClassName==="breakpoints-select"&&Ae.push(yt.id);yield rt.deltaDecorations(Ae,[]),lt()}),Zt=ze=>{let Ae=Be.getLineDecorations(ze);for(let et of Ae)if(et.options.linesDecorationsClassName==="breakpoints-select")return!0;return!1};if(!(0,i.isEqual)(tt,lt(!0).lines)){rt.deltaDecorations(lt(!0).ids,[]);const ze=tt.map(Ae=>({range:new M.Range(Ae,1,Ae,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-select"}}));rt.deltaDecorations([],ze)}const qe=Be.onDidChangeModelContent(ze=>{let Ae=Be.getPosition();if(Ae){let et=Ae.lineNumber;clearTimeout(On.current),On.current=setTimeout(()=>{zn(rt.getLineContent(et),et)?gn(et):Zt(et)?(gn(et),on(et)):lt()},100)}}),_e=Be.onMouseDown(ze=>{var Ae,et,yt;if(ze.target.detail&&((yt=(et=(Ae=ze.target)==null?void 0:Ae.element)==null?void 0:et.className)!=null&&yt.includes("line-numbers"))){let mt=ze.target.position.lineNumber;if(zn(rt.getLineContent(mt),mt))return;Zt(mt)?gn(mt):on(mt)}}),Se=ze=>{let Ae={range:new M.Range(ze,1,ze,1),options:{isWholeLine:!1,linesDecorationsClassName:"breakpoints-fake"}};an.current=Be.deltaDecorations(an.current,[Ae])},Ne=()=>{an.current=Be.deltaDecorations(an.current,[])},$e=Be.onMouseMove(ze=>{var Ae,et,yt;if(Ne(),ze.target.detail&&((yt=(et=(Ae=ze.target)==null?void 0:Ae.element)==null?void 0:et.className)!=null&&yt.includes("line-numbers"))){let mt=ze.target.position.lineNumber;if(zn(rt.getLineContent(mt),mt))return;Se(mt)}}),Me=Be.onMouseLeave(()=>{Ne()});return()=>{qe.dispose(),_e.dispose(),$e.dispose(),Me.dispose()}}},[ut.current,In,tt,Pt,rn,A]),(0,b.useEffect)(()=>{var Fe;(Fe=ut.current)!=null&&Fe.instance&&rn&&ut.current.instance.setPosition({lineNumber:0,column:0})},[Pt]);function An(){let Fe=ut.current.instance;if(Fe){const Be=Fe.getSelection(),rt=ut.current.pastePos||{},it=new M.Range(rt.startLineNumber||Be.endLineNumber,rt.startColumn||Be.endColumn,rt.endLineNumber||Be.endLineNumber,rt.endColumn||Be.endColumn);setTimeout(()=>{Fe.executeEdits("",[{range:it,text:""}])},300)}}function ge(Fe){(window.navigator.platform.match("Mac")?Fe.metaKey:Fe.ctrlKey)&&Fe.keyCode==83&&(Fe.preventDefault(),pe())}const me=()=>{if(Ze&&ut.current.instance){const Fe=ut.current.instance.getContentHeight();Ot(Fe<X?X:Fe)}else Ot(X)};function Ye(Fe){var Be=document.createEvent("MouseEvents");Be.initMouseEvent("click",!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),Fe.dispatchEvent(Be)}const je=Fe=>{if(!Ln.current)return;const{keyCode:Be,ctrlKey:rt,metaKey:it,target:lt,type:on}=Fe;return(on==="paste"||(Be===67||Be===86)&&(it||rt))&<.nodeName==="TEXTAREA"&&(Nt(),Fe.preventDefault()),!1};function pt(Fe,Be){var rt=window.URL||window.webkitURL||window,it=new Blob([Be]),lt=document.createElementNS("http://www.w3.org/1999/xhtml","a");lt.href=rt.createObjectURL(it),lt.download=Fe,Ye(lt)}(0,b.useEffect)(()=>{me()},[me]),(0,b.useEffect)(()=>{$t.current&&!In&&Promise.all([t.e(8909),t.e(6894)]).then(t.bind(t,71448)).then(Fe=>{try{M=Fe,ut.current.instance=M.editor.create($t.current,{value:j,language:U(A),theme:oe,requireConfig:{"vs/nls":{availableLanguages:{"*":"zh-cn"}}},wordWrap:!0,autoIndent:!0,contextmenu:!0,formatOnType:!0},re);const Be=ut.current.instance;let lt=[...I.BH._menuItems].find(qe=>qe[0]._debugName=="EditorContext")[1],on=["editor.action.clipboardCopyWithSyntaxHighlightingAction","editor.action.quickCommand","editor.action.clipboardCopyAction","editor.action.clipboardPasteAction","editor.action.clipboardCutAction"],gn=(qe,_e)=>{var Se,Ne;let $e=qe._first;do _e.includes((Ne=(Se=$e.element)==null?void 0:Se.command)==null?void 0:Ne.id)&&qe._remove($e);while($e=$e.next)};if(Qe(Be,M),setTimeout(()=>{me(),ut.current.instance.addAction({id:"d123123",label:"Download File",contextMenuGroupId:"9_cutcopypaste",run:()=>{pt(Dt||"educoder.txt",Be.getValue())}})},500),ut.current.subscription=Be.onDidChangeModelContent(qe=>{Dn.current?clearTimeout(yn.current):(me(),Re(Be.getValue(),qe)),yn.current=setTimeout(()=>{Dn.current=!1},500)}),window.Monaco||T(M,U(A)),De&&(gn(lt,on),$t.current.classList.add("noCopyPaste"),window.removeEventListener("keydown",je),window.removeEventListener("paste",je),window.addEventListener("keydown",je),window.addEventListener("paste",je)),window.Monaco=M,ve&&Be.onDidBlurEditorWidget(()=>{ve(Be.getValue())}),Ue&&Be.onDidFocusEditorText(()=>{Ue(Be.getValue())}),De)try{Be.onDidPaste(qe=>{const _e=Be.getSelection(),Se=ut.current.pastePos||{},Ne=new M.Range(Se.startLineNumber||_e.endLineNumber,Se.startColumn||_e.endColumn,Se.endLineNumber||_e.endLineNumber,Se.endColumn||_e.endColumn);Be.executeEdits("",[{range:qe.range,text:""}])})}catch(qe){}let Zt=zt();return Tt&&typeof Tt=="string"&&new z(Tt,Be,M),Bn(!0),()=>{const qe=ut.current.instance;qe.dispose();const _e=qe.getModel();_e&&_e.dispose(),ut.current.subscription&&ut.current.subscription.dispose(),Zt.unobserve($t.current)}}catch(Be){}})},[]),(0,b.useEffect)(()=>{if(ut.current.instance&&In)return document.addEventListener("keydown",ge,!1),()=>{document.removeEventListener("keydown",ge)}},[pe,In]),(0,b.useEffect)(()=>{let Fe=ut.current.instance;if(Fe&&In){let Be=U(A);M.editor.setModelLanguage(Fe.getModel(),Be)}},[A,In]),(0,b.useEffect)(()=>{ut.current.instance&&In&&M.editor.setTheme(oe)},[oe,In]),(0,b.useEffect)(()=>{let Fe=ut.current.instance;ht.current=ce,Fe&&In&&(Fe.updateOptions(Ie({},ce)),setTimeout(()=>{Fe.getModel().updateOptions(Ie({},ce))},200))},[JSON.stringify(ce),In]),(0,b.useEffect)(()=>{let Fe=ut.current.instance;Fe&&In&&Fe.layout()},[f,X,In]);const[nt,_t]=(0,b.useState)(Ce(f)),[at,Ot]=(0,b.useState)(Ce(X)),wt=ke(Ie({},Q),{width:nt,height:at,position:"relative"});return b.createElement("div",{className:"my-monaco-editor",ref:$t,style:wt},Ee&&b.createElement(_.CopyToClipboard,{text:j,onCopy:()=>B.ZP.success("\u590D\u5236\u6210\u529F")},b.createElement(P.Z,{title:"\u590D\u5236\u4EE3\u7801"},b.createElement("div",{style:{position:"absolute",top:0,right:10,cursor:"pointer",zIndex:10,color:"#165DFF"}},b.createElement("i",{className:"iconfont icon-fuzhi8",style:{fontSize:14}})," \u590D\u5236\u4EE3\u7801"))))};function ee({width:y="100%",height:d="100%",original:f,modified:X,language:j,options:A={}}){const Q=(0,b.useRef)(),[ce,re]=(0,b.useState)(null);function oe(Ze){let De;return Q.current&&(De=new m.Z(Re=>{for(let Qe of Re)(Qe.target.offsetHeight>0||Qe.target.offsetWidth>0)&&Ze.layout()}),De.observe(Q.current)),De}(0,b.useEffect)(()=>(Q.current&&Promise.all([t.e(8909),t.e(9404)]).then(t.bind(t,2550)).then(Ze=>{M=Ze;const De=M.editor.createDiffEditor(Q.current,ke(Ie({enableSplitViewResizing:!1,scrollBeyondLastLine:!1,roundedSelection:!1,renderIndicators:!1,useShadows:!1,horizontal:"hidden",lineNumbers:"off",wordWrap:"off",ignoreTrimWhitespace:!1,"semanticHighlighting.enabled":!0,followsCaret:!0,ignoreCharChanges:!0,minimap:{enabled:!1},readOnly:!0},A),{wordWrap:!0}));re(De);let Re=oe(De);return()=>{De.dispose();const Qe=De.getModel();Qe&&Qe.dispose(),Re.unobserve(Q.current)}}),()=>{window.removeEventListener("keydown",checkPaste),window.removeEventListener("paste",checkPaste)}),[]),(0,b.useEffect)(()=>{ce&&ce.setModel({original:M.editor.createModel(f,j),modified:M.editor.createModel(X,j)})},[f,X,j,ce]);const ve=Ce(y),Ee=Ce(d),pe={width:ve,height:Ee};return b.createElement("div",{className:"my-diff-editor",ref:Q,style:pe})}},89896:function(We,fe,t){"use strict";t.r(fe),t.d(fe,{default:function(){return q}});var b=t(59301),m={flex_box_center:"flex_box_center___3dsSw",flex_space_between:"flex_space_between___UViQa",flex_box_vertical_center:"flex_box_vertical_center___VRHmE",flex_box_center_end:"flex_box_center_end___Sap6p",flex_box_column:"flex_box_column___cXZm0",wrap:"wrap___JbEle",title:"title___PD779",control:"control___xPMqa",label:"label___JqmpT",customTable:"customTable___YjprJ"},D=t(24459),V=t(8591),Z=t(6848),K=t(43418),u=t(57809),W=t(3113),e=t(1710),h=t(87169),v=t(63529),n=t(7660),r=t(53954),o=t(74087),l=t(90853),w=Object.defineProperty,k=Object.defineProperties,E=Object.getOwnPropertyDescriptors,g=Object.getOwnPropertySymbols,O=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable,c=(G,H,$)=>H in G?w(G,H,{enumerable:!0,configurable:!0,writable:!0,value:$}):G[H]=$,s=(G,H)=>{for(var $ in H||(H={}))O.call(H,$)&&c(G,$,H[$]);if(g)for(var $ of g(H))C.call(H,$)&&c(G,$,H[$]);return G},x=(G,H)=>k(G,E(H)),T=(G,H,$)=>new Promise((p,z)=>{var I=i=>{try{P($.next(i))}catch(a){z(a)}},B=i=>{try{P($.throw(i))}catch(a){z(a)}},P=i=>i.done?p(i.value):Promise.resolve(i.value).then(I,B);P(($=$.apply(G,H)).next())});const J=({user:G})=>{var H;const $={page:1,per_page:20,total:0,ec_major_school_id:0,ec_year_id:0,category:1,sort_by:null,sort_direction:null,school_id:null};let[p,z]=(0,b.useState)($);const[I,B]=(0,b.useState)(!0),[P,i]=(0,b.useState)([]),[a,_]=(0,b.useState)([]),[F,te]=(0,b.useState)([]),[ie,ae]=(0,b.useState)({filename:"",editOffice:"view",type:"",className:"",data:"",close:!0,hasMask:!0,style:{position:"fixed",zIndex:9999,background:"rgba(0,0,0,.7)"},monacoEditor:{value:"",language:"",theme:"vs",options:{readOnly:!0}}}),he=Oe=>T(void 0,null,function*(){var Ce;B(!0),Oe.school_id=(Ce=G==null?void 0:G.userInfo)==null?void 0:Ce.school_id;let le=yield(0,n.ZP)(`/api/ec_major_schools/${(Oe==null?void 0:Oe.ec_major_school_id)||0}/ec_years.json`,{method:"get",params:x(s({},Oe),{year:(Oe==null?void 0:Oe.ec_year_id)===0?null:Oe==null?void 0:Oe.ec_year_id,ec_year_id:((Oe==null?void 0:Oe.ec_year_id)===0,null)})});le&&(i(le==null?void 0:le.ec_years),B(!1),p.total=le==null?void 0:le.count,z(s({},p)))});(0,b.useEffect)(()=>{var Oe;(Oe=G.userInfo)!=null&&Oe.school_id&&(we(),Ke(),he(p))},[(H=G==null?void 0:G.userInfo)==null?void 0:H.school_id]);function we(){return T(this,null,function*(){var Oe;let Ce=yield(0,n.ZP)(`/api/schools/${(Oe=G==null?void 0:G.userInfo)==null?void 0:Oe.school_id}/ec_majors/get_major_list.json`,{method:"get"});_(Ce==null?void 0:Ce.data)})}function Ke(){return T(this,null,function*(){let Oe=yield(0,n.ZP)("/api/ec_major_schools/1/ec_years/select_year.json",{method:"get"});te(Oe==null?void 0:Oe.year_arr)})}const Ie=(Oe,Ce)=>{p.page=1,p[Ce]=typeof Oe=="number"?Oe:null,z(s({},p)),he(p)},ke=(Oe,Ce,le)=>{p.page=Oe==null?void 0:Oe.current,p.per_page=Oe==null?void 0:Oe.pageSize,le!=null&&le.order?(p.sort_by=le==null?void 0:le.field,p.sort_direction=(le==null?void 0:le.order)==="ascend"?"asc":"desc"):(p.sort_by=null,p.sort_direction=null),z(s({},p)),he(p)},Xe=[{title:"\u5E8F\u53F7",dataIndex:"index",width:54,render:(Oe,Ce,le)=>p.per_page*(p.page-1)+le+1},{title:"\u57F9\u517B\u65B9\u6848",dataIndex:"name",width:"17%",ellipsis:!0,key:"name",render:(Oe,Ce,le)=>b.createElement(D.Link,{to:`/engineering/training/program/edit?ec_year_id=${Ce==null?void 0:Ce.id}`},Oe)},{title:"\u57F9\u517B\u65B9\u6848\u6587\u4EF6",dataIndex:"file_name",width:"10%",ellipsis:!0,key:"name",render:(Oe,Ce,le)=>b.createElement("a",{onClick:()=>{if(["xlsx","docx","pptx"].includes(Ce==null?void 0:Ce.type))ie.editOffice="edit",ae(x(s({},ie),{type:Ce.file_type,data:`/api/attachments/${Ce.attachment_id}`}));else{V.ZP.info("\u5F53\u524D\u6587\u4EF6\u4E0D\u652F\u6301\u7F16\u8F91");return}}},Oe||"- -")},{title:"\u5C4A\u522B",width:"5%",dataIndex:"year",render:(Oe,Ce,le)=>Oe+"\u5C4A"},{title:"\u57F9\u517B\u76EE\u6807\uFF08\u9879\uFF09",width:"8%",dataIndex:"training_subitem_count",render:(Oe,Ce,le)=>Oe||b.createElement("a",{href:`/engineering/training/objectives?ids=${Ce==null?void 0:Ce.ec_major_school_id},${Ce==null?void 0:Ce.id}`},"\u8BBE\u7F6E")},{title:"\u6BD5\u4E1A\u8981\u6C42\uFF08\u9879\uFF09",width:"8%",dataIndex:"graduation_requirement_count",render:(Oe,Ce,le)=>Oe||b.createElement("a",{href:`/engineering/graduated/index?ec_major_school_id=${Ce==null?void 0:Ce.ec_major_school_id}&ec_year_id=${Ce==null?void 0:Ce.id}`},"\u8BBE\u7F6E")},{title:"\u6388\u8BFE\u6559\u5E08/\u5B66\u751F\uFF08\u4EBA\uFF09",width:"10%",dataIndex:"teacher_count",render:(Oe,Ce,le)=>Oe+"/"+(Ce==null?void 0:Ce.student_count)},{title:"\u8BFE\u7A0B\uFF08\u95E8\uFF09",width:"7%",dataIndex:"course_count",render:(Oe,Ce,le)=>Oe||b.createElement("a",{href:`/engineering/course/list?ec_major_school_id=${Ce==null?void 0:Ce.ec_major_school_id}&ec_year_id=${Ce==null?void 0:Ce.id}`},"\u8BBE\u7F6E")},{title:"\u8BFE\u7A0B\u8FBE\u6210\u5EA6",width:"9%",dataIndex:"achieved_graduation_course_count",render:(Oe,Ce,le)=>b.createElement(Z.Z,{title:`\u5DF2\u8FBE\u6210\u8BFE\u7A0B\u6570\uFF1A${Oe} / \u8BFE\u7A0B\u603B\u6570\uFF1A${Ce==null?void 0:Ce.course_count}`},b.createElement("span",{style:{color:Ce!=null&&Ce.course_count?parseInt(Oe)===parseInt(Ce==null?void 0:Ce.course_count)?"#07C160":"#E30000":""}},Ce!=null&&Ce.course_count?Oe+"/"+(Ce==null?void 0:Ce.course_count):"- -"))},{title:"\u6BD5\u4E1A\u8981\u6C42\u8FBE\u6210\u5EA6",width:"8%",dataIndex:"achieved_graduation_objective_count",render:(Oe,Ce,le)=>b.createElement(Z.Z,{title:`\u5DF2\u8FBE\u6210\u6BD5\u4E1A\u8981\u6C42\u6570\uFF1A${Oe} / \u6BD5\u4E1A\u8981\u6C42\u603B\u6570\uFF1A${Ce==null?void 0:Ce.graduation_requirement_count}`},b.createElement("span",{style:{color:Ce!=null&&Ce.graduation_requirement_count?parseInt(Oe)===parseInt(Ce==null?void 0:Ce.graduation_requirement_count)?"#07C160":"#E30000":""}},Ce!=null&&Ce.graduation_requirement_count?Oe+"/"+(Ce==null?void 0:Ce.graduation_requirement_count):"- -"))},{title:"\u8BC4\u4EF7\u7ED3\u679C",width:"7%",dataIndex:"status",render:(Oe,Ce,le)=>b.createElement("span",{style:{color:Oe==="achieved"?"#E30000":"#07C160"}},Oe==="achieved"?"\u672A\u8FBE\u6210":"\u8FBE\u6210")},{title:"\u64CD\u4F5C",dataIndex:"id",width:64,render:(Oe,Ce,le)=>b.createElement("div",{style:{display:"flex"}},b.createElement("i",{onClick:()=>T(void 0,null,function*(){D.history.push(`/engineering/training/program/edit?ec_year_id=${Ce==null?void 0:Ce.id}`)}),style:{color:"#0152d9",cursor:"pointer",marginRight:"5px"},className:"iconfont icon-bianji6"}),b.createElement("i",{onClick:()=>{K.default.confirm({title:"\u786E\u8BA4\u662F\u5426\u5220\u9664\uFF1F",icon:b.createElement(h.Z,null),okText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88",onOk:()=>T(void 0,null,function*(){var se;(yield(0,n.ZP)(`/api/ec_major_schools/1/ec_years/${Oe}`,{method:"delete"}))&&(o.U.clear((se=G==null?void 0:G.userInfo)==null?void 0:se.login),V.ZP.info("\u5220\u9664\u6210\u529F"),he(p))}),onCancel(){}})},style:{marginRight:"5px",color:"#0152d9",cursor:"pointer"},className:"iconfont icon-shanchu9"}),b.createElement("i",{onClick:()=>T(void 0,null,function*(){var se;(0,v.xm)({ec_year_id:Oe,school_id:(se=G==null?void 0:G.userInfo)==null?void 0:se.school_id})}),style:{color:"#0152d9",cursor:"pointer"},className:"iconfont icon-daochubeifen"}))}];return b.createElement("div",{className:m.wrap},b.createElement(r.p,{title:"\u57F9\u517B\u65B9\u6848",style:{padding:"12px 0 0 20px"}}),b.createElement("div",{style:{clear:"both"}}),b.createElement("div",{className:m.control},b.createElement("div",{className:m.label},"\u8BA4\u8BC1\u4E13\u4E1A"),b.createElement(u.default,{style:{width:240},allowClear:!0,placeholder:"\u4E13\u4E1A",value:p==null?void 0:p.ec_major_school_id,onChange:Oe=>Ie(Oe,"ec_major_school_id")},b.createElement(u.default.Option,{value:0},"\u5168\u90E8"),a==null?void 0:a.map((Oe,Ce)=>b.createElement(u.default.Option,{value:Oe==null?void 0:Oe.ec_major_school_id},Oe==null?void 0:Oe.name))),b.createElement("div",{className:m.label},"\u8BA4\u8BC1\u5C4A\u522B"),b.createElement(u.default,{style:{width:140},allowClear:!0,placeholder:"\u8BF7\u9009\u62E9\u5C4A\u522B",value:p==null?void 0:p.ec_year_id,onChange:Oe=>Ie(Oe,"ec_year_id")},b.createElement(u.default.Option,{value:0},"\u5168\u90E8"),F==null?void 0:F.map((Oe,Ce)=>b.createElement(u.default.Option,{value:Oe},Oe,"\u5C4A"))),b.createElement("div",{style:{flex:1,textAlign:"end"}},b.createElement(W.ZP,{onClick:()=>{D.history.push("/engineering/training/program/add")},style:{height:"30px",width:"135px"},type:"primary"},b.createElement("i",{style:{marginRight:"7px"},className:"iconfont icon-xinzeng"}),"\u65B0\u589E\u57F9\u517B\u65B9\u6848"))),b.createElement(e.default,{className:m.customTable,dataSource:P,bordered:!1,rowKey:Oe=>Oe.id,columns:Xe,rowClassName:m.row,loading:I,onChange:ke,pagination:{pageSize:p.per_page,total:p.total,current:p.page,showQuickJumper:!0,hideOnSinglePage:!0,showSizeChanger:!1,size:"default",position:["bottomCenter"],showTotal:Oe=>b.createElement("span",{className:"mr10"},"\u5171",b.createElement("span",{className:"c-orange"},Oe),"\u6761\u6570\u636E")}}),b.createElement(l.Z,x(s({},ie),{onClose:()=>{ae(x(s({},ie),{type:""}))}})))};var q=(0,D.connect)(({user:G})=>({user:G}))(J)},53954:function(We,fe,t){"use strict";t.d(fe,{p:function(){return V},v:function(){return u}});var b=t(59301),m={panelTitleContainer:"panelTitleContainer___Ypuh_"},V=({title:W,style:e={}})=>b.createElement("div",{className:m.panelTitleContainer,style:e},b.createElement("div",null,W)),Z={selectWrapContainer:"selectWrapContainer___qocIH"},u=({title:W,children:e})=>b.createElement("div",{className:Z.selectWrapContainer},b.createElement("span",null,W),e)},63529:function(We,fe,t){"use strict";t.d(fe,{AD:function(){return z},D9:function(){return _},Hp:function(){return s},IM:function(){return te},Iy:function(){return T},KM:function(){return Ce},MJ:function(){return x},Ne:function(){return F},ON:function(){return Ke},Uj:function(){return Xe},VY:function(){return he},YO:function(){return ke},YX:function(){return Ie},Zn:function(){return l},_g:function(){return O},_k:function(){return i},c6:function(){return $},cr:function(){return w},eV:function(){return p},fi:function(){return k},gh:function(){return G},hS:function(){return ie},iA:function(){return E},j6:function(){return C},je:function(){return P},jj:function(){return c},kS:function(){return we},o6:function(){return H},pO:function(){return Oe},rQ:function(){return I},sA:function(){return q},xm:function(){return a},xo:function(){return ae},y8:function(){return B},yd:function(){return g}});var b=t(94811),m=t(24459),D=t(88230),V=t(8591),Z=t(38446),K=Object.defineProperty,u=Object.getOwnPropertySymbols,W=Object.prototype.hasOwnProperty,e=Object.prototype.propertyIsEnumerable,h=(le,se,L)=>se in le?K(le,se,{enumerable:!0,configurable:!0,writable:!0,value:L}):le[se]=L,v=(le,se)=>{for(var L in se||(se={}))W.call(se,L)&&h(le,L,se[L]);if(u)for(var L of u(se))e.call(se,L)&&h(le,L,se[L]);return le},n=(le,se,L)=>new Promise((U,M)=>{var R=d=>{try{y(L.next(d))}catch(f){M(f)}},ee=d=>{try{y(L.throw(d))}catch(f){M(f)}},y=d=>d.done?U(d.value):Promise.resolve(d.value).then(R,ee);y((L=L.apply(le,se)).next())});const r=()=>{(0,m.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!0,text:"\u6B63\u5728\u751F\u6210\u6587\u4EF6\uFF0C\u8BF7\u7A0D\u540E..."}})},o=()=>{(0,m.getDvaApp)()._store.dispatch({type:"globalSetting/setGlobalLoading",payload:{show:!1,text:""}})},l=le=>n(void 0,null,function*(){r(),(yield(0,b.YR)(v({},le))).status===0&&(yield(0,D.QH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/courses/${le.coursesId}/export_couser_info.json`,query:le}))),o()}),w=le=>n(void 0,null,function*(){const se=yield(0,b.yS)(v({},le));if(se.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${le.coursesId}/exportlist/course_member_act_score`);else{if(se.status===-2)return se;se.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${le.coursesId}/exportlist/course_member_act_score`))}}),k=le=>n(void 0,null,function*(){const se=yield(0,b.W0)(v({},le));if(se.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${le.coursesId}/exportlist/course_total_score`);else{if(se.status===-4)return se;se.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${le.coursesId}/exportlist/course_total_score`))}}),E=le=>n(void 0,null,function*(){const se=yield(0,b.Nl)(v({},le));if(se.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${le.coursesId}/exportlist/course_total_exercise_and_other`);else{if(se.status===-4)return se;se.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${le.coursesId}/exportlist/course_total_exercise_and_other`))}}),g=le=>n(void 0,null,function*(){const se=yield(0,b.IU)(v({},le));if(se.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${le.coursesId}/exportlist/export_star_user`);else{if(se.status===-4)return se;se.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${le.coursesId}/exportlist/export_star_user`))}}),O=le=>n(void 0,null,function*(){const se=yield(0,b.td)(v({},le));if(se.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${le.coursesId}/exportlist/course_total_exercise_and_other`);else{if(se.status===-2)return se;if(se.status===-3)(0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${le.coursesId}/exportlist/course_total_exercise_and_other`);else if(se.status===-4)return se}}),C=le=>n(void 0,null,function*(){const se=yield(0,b.QX)(v({},le));if(se.status===0)V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${le.coursesId}/exportlist/course_total_homework`);else{if(se.status===-4)return se;se.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${le.coursesId}/exportlist/course_total_homework`))}}),c=(le,se)=>n(void 0,null,function*(){const L=yield(0,b.o_)(v({},le));L.status===0?(V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),m.history.push(`/classrooms/${le.coursesId}/exportlist/${se}`)):L.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${le.coursesId}/exportlist/${se}`))}),s=(le,se)=>n(void 0,null,function*(){const L=yield(0,b.ZL)(v({},le));L.status===0?(V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),m.history.push(`/classrooms/${le.coursesId}/exportlist/${se}`)):L.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${le.coursesId}/exportlist/${se}`))}),x=(le,se)=>n(void 0,null,function*(){const L=yield(0,b.vV)(v({},le));L.status===0?(V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F\uFF01\u5BFC\u51FA\u540E\u6587\u4EF6\u4FDD\u5B58\u65F6\u95F4\u4E3A7\u5929\uFF0C\u8BF7\u53CA\u65F6\u4E0B\u8F7D"),m.history.push(`/classrooms/${le.coursesId}/exportlist/${se}`)):L.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${le.coursesId}/exportlist/${se}`))}),T=(le,se)=>n(void 0,null,function*(){const L=yield(0,b.aP)(v({},le));L.status===0?(V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${le.coursesId}/exportlist/${se}`)):L.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${le.coursesId}/exportlist/${se}`))}),J=le=>n(void 0,null,function*(){r(),(yield exportCourseWorkListAppendix(v({},le))).status===0&&(yield downLoadFileIframe("",setUrlQuery({url:ENV.API_SERVER+`/api/homework_commons/${le.categoryId}/works_list.zip`,query:le}))),o()}),q=le=>n(void 0,null,function*(){r(),yield(0,D.QH)("",Z.Z.API_SERVER+`/api/polls/${le.categoryId}/commit_result.xlsx`),o()}),G=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/courses/${le.coursesId}/attendances/export_xlsx_data.xlsx`,query:le}))}),H=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/courses/${le.coursesId}/video_study_statics.xlsx`,query:le}))}),$=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/courses/${le.coursesId}/export_video_study.xlsx`,query:le}))}),p=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/courses/${le.coursesId}/export_course_students_info.xlsx`,query:le}))}),z=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+"/api/school_manages/students.xlsx",query:le}))}),I=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+"/api/item_banks/export.xlsx",query:le}))}),B=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+"/api/competitions/region_reports.xlsx",query:le}))}),P=le=>n(void 0,null,function*(){const se=yield(0,b.Uy)(v({},le));se.status===0?(V.ZP.info("\u5BFC\u51FA\u4EFB\u52A1\u751F\u6210\u6210\u529F"),m.history.push(`/classrooms/${le.coursesId}/exportlist/exercise_score,export_exercise_users`)):se.status===-3&&((0,m.getDvaApp)()._store.dispatch({type:"classroomList/setActionTabs",payload:{key:"\u5BFC\u51FA\u63D0\u9192"}}),m.history.push(`/classrooms/${le.coursesId}/exportlist/exercise_score,export_exercise_users`))}),i=le=>n(void 0,null,function*(){console.log("----------","\u8C03\u7528\u4E0B\u8F7D"),yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/export_records/${le.id}.xlsx`,query:le}))}),a=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+"/api/ec_major_schools/0/ec_years.xlsx",query:le}))}),_=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/courses/${le==null?void 0:le.coursesId}/${le.menuKey}_statistic.xlsx?${le.checkedList.map(se=>`course_group_id[]=${se}`).join("&")}`,query:le}))}),F=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/ec_years/${le==null?void 0:le.ec_year_id}/ec_training_objectives.xlsx`,query:le}))}),te=le=>n(void 0,null,function*(){yield(0,D.FH)(le==null?void 0:le.name,(0,D.NY)({url:Z.Z.API_SERVER+"/api/attachments/get_ecs_attachment.docx",query:le}))}),ie=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/ec_years/${le==null?void 0:le.ec_year_id}/ec_courses.xlsx`,query:le}))}),ae=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/ec_years/${le==null?void 0:le.ec_year_id}/ec_graduation_requirements.xlsx`,query:le}))}),he=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+"/api/courses/rank_list.xlsx",query:le}))}),we=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+"/api/courses/question_rank_list.xlsx",query:le}))}),Ke=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/examination_banks/${le.id}.json`,query:le}))}),Ie=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/exercises/${le.categoryId}.json`,query:le}))}),ke=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/polls/${le==null?void 0:le.id}/commit_result.json`,query:le}))}),Xe=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+"/api/paths/get_task_pass.json",query:le}))}),Oe=(le,se)=>n(void 0,null,function*(){yield(0,D.FH)(se||"",(0,D.NY)({url:Z.Z.API_SERVER+`/api/exercises/${le==null?void 0:le.exercise_id}/consult_exercise.json`,query:le}))}),Ce=le=>n(void 0,null,function*(){yield(0,D.FH)("",(0,D.NY)({url:Z.Z.API_SERVER+`/api/competitions/${le==null?void 0:le.identifier}/competition_commit_records/member_works.xlsx`,query:le}))})},36785:function(We,fe,t){"use strict";t.d(fe,{o2:function(){return Z},yT:function(){return K}});var b=t(26407),m=t(33166);const D=m.i.map(u=>`${u}-inverse`),V=["success","processing","error","default","warning"];function Z(u){return(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0)?[].concat((0,b.Z)(D),(0,b.Z)(m.i)).includes(u):m.i.includes(u)}function K(u){return V.includes(u)}},50371:function(We,fe){"use strict";function t(){const b=Object.assign({},arguments.length<=0?void 0:arguments[0]);for(let m=1;m<arguments.length;m++){const D=m<0||arguments.length<=m?void 0:arguments[m];D&&Object.keys(D).forEach(V=>{const Z=D[V];Z!==void 0&&(b[V]=Z)})}return b}fe.Z=t},13845:function(We,fe,t){"use strict";t.d(fe,{F:function(){return b},Z:function(){return m}});function b(D){return D!=null&&D===D.window}function m(D,V){var Z,K;if(typeof window=="undefined")return 0;const u=V?"scrollTop":"scrollLeft";let W=0;return b(D)?W=D[V?"pageYOffset":"pageXOffset"]:D instanceof Document?W=D.documentElement[u]:(D instanceof HTMLElement||D)&&(W=D[u]),D&&!b(D)&&typeof W!="number"&&(W=(K=((Z=D.ownerDocument)!==null&&Z!==void 0?Z:D).documentElement)===null||K===void 0?void 0:K[u]),W}},56762:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return m}});var b=t(59301);function m(){const[,D]=b.useReducer(V=>V+1,0);return D}},79676:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return K}});var b=t(19447);function m(u,W,e,h){if(h===!1)return{adjustX:!1,adjustY:!1};const v=h&&typeof h=="object"?h:{},n={};switch(u){case"top":case"bottom":n.shiftX=W.dropdownArrowOffset*2+e;break;case"left":case"right":n.shiftY=W.dropdownArrowOffsetVertical*2+e;break}const r=Object.assign(Object.assign({},n),v);return r.shiftX||(r.adjustX=!0),r.shiftY||(r.adjustY=!0),r}const D={left:{points:["cr","cl"]},right:{points:["cl","cr"]},top:{points:["bc","tc"]},bottom:{points:["tc","bc"]},topLeft:{points:["bl","tl"]},leftTop:{points:["tr","tl"]},topRight:{points:["br","tr"]},rightTop:{points:["tl","tr"]},bottomRight:{points:["tr","br"]},rightBottom:{points:["bl","br"]},bottomLeft:{points:["tl","bl"]},leftBottom:{points:["br","bl"]}},V={topLeft:{points:["bl","tc"]},leftTop:{points:["tr","cl"]},topRight:{points:["br","tc"]},rightTop:{points:["tl","cr"]},bottomRight:{points:["tr","bc"]},rightBottom:{points:["bl","cr"]},bottomLeft:{points:["tl","bc"]},leftBottom:{points:["br","cl"]}},Z=new Set(["topLeft","topRight","bottomLeft","bottomRight","leftTop","leftBottom","rightTop","rightBottom"]);function K(u){const{arrowWidth:W,autoAdjustOverflow:e,arrowPointAtCenter:h,offset:v,borderRadius:n,visibleFirst:r}=u,o=W/2,l={};return Object.keys(D).forEach(w=>{const k=h&&V[w]||D[w],E=Object.assign(Object.assign({},k),{offset:[0,0]});switch(l[w]=E,Z.has(w)&&(E.autoArrow=!1),w){case"top":case"topLeft":case"topRight":E.offset[1]=-o-v;break;case"bottom":case"bottomLeft":case"bottomRight":E.offset[1]=o+v;break;case"left":case"leftTop":case"leftBottom":E.offset[0]=-o-v;break;case"right":case"rightTop":case"rightBottom":E.offset[0]=o+v;break}const g=(0,b.fS)({contentRadius:n,limitVerticalRadius:!0});if(h)switch(w){case"topLeft":case"bottomLeft":E.offset[0]=-g.dropdownArrowOffset-o;break;case"topRight":case"bottomRight":E.offset[0]=g.dropdownArrowOffset+o;break;case"leftTop":case"rightTop":E.offset[1]=-g.dropdownArrowOffset-o;break;case"leftBottom":case"rightBottom":E.offset[1]=g.dropdownArrowOffset+o;break}E.overflow=m(w,g,W,e),r&&(E.htmlRegion="visibleFirst")}),l}},68031:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return V}});var b=t(16089);function m(Z,K,u,W){const e=u-K;return Z/=W/2,Z<1?e/2*Z*Z*Z+K:e/2*((Z-=2)*Z*Z+2)+K}var D=t(13845);function V(Z){let K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{getContainer:u=()=>window,callback:W,duration:e=450}=K,h=u(),v=(0,D.Z)(h,!0),n=Date.now(),r=()=>{const l=Date.now()-n,w=m(l>e?e:l,v,Z,e);(0,D.F)(h)?h.scrollTo(window.pageXOffset,w):h instanceof Document||h.constructor.name==="HTMLDocument"?h.documentElement.scrollTop=w:h.scrollTop=w,l<e?(0,b.Z)(r):typeof W=="function"&&W()};(0,b.Z)(r)}},19080:function(We,fe,t){"use strict";t.d(fe,{F:function(){return Z},Z:function(){return V}});var b=t(92310),m=t.n(b);const D=null;function V(K,u,W){return m()({[`${K}-status-success`]:u==="success",[`${K}-status-warning`]:u==="warning",[`${K}-status-error`]:u==="error",[`${K}-status-validating`]:u==="validating",[`${K}-has-feedback`]:W})}const Z=(K,u)=>u||K},24905:function(We,fe,t){"use strict";t.d(fe,{default:function(){return x}});var b=t(92310),m=t.n(b),D=t(5630),V=t(59301),Z=t(36355),K=t(1684),u=t(32441),e=V.createContext(null),h=t(98447),v=t(14088),n=t(4572),r=function(T,J){var q={};for(var G in T)Object.prototype.hasOwnProperty.call(T,G)&&J.indexOf(G)<0&&(q[G]=T[G]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,G=Object.getOwnPropertySymbols(T);H<G.length;H++)J.indexOf(G[H])<0&&Object.prototype.propertyIsEnumerable.call(T,G[H])&&(q[G[H]]=T[G[H]]);return q};const o=(T,J)=>{var q;const{prefixCls:G,className:H,rootClassName:$,children:p,indeterminate:z=!1,style:I,onMouseEnter:B,onMouseLeave:P,skipGroup:i=!1,disabled:a}=T,_=r(T,["prefixCls","className","rootClassName","children","indeterminate","style","onMouseEnter","onMouseLeave","skipGroup","disabled"]),{getPrefixCls:F,direction:te,checkbox:ie}=V.useContext(Z.E_),ae=V.useContext(e),{isFormItemInput:he}=V.useContext(u.aM),we=V.useContext(K.Z),Ke=(q=(ae==null?void 0:ae.disabled)||a)!==null&&q!==void 0?q:we,Ie=V.useRef(_.value);V.useEffect(()=>{ae==null||ae.registerValue(_.value)},[]),V.useEffect(()=>{if(!i)return _.value!==Ie.current&&(ae==null||ae.cancelValue(Ie.current),ae==null||ae.registerValue(_.value),Ie.current=_.value),()=>ae==null?void 0:ae.cancelValue(_.value)},[_.value]);const ke=F("checkbox",G),[Xe,Oe]=(0,h.ZP)(ke),Ce=Object.assign({},_);ae&&!i&&(Ce.onChange=function(){_.onChange&&_.onChange.apply(_,arguments),ae.toggleOption&&ae.toggleOption({label:p,value:_.value})},Ce.name=ae.name,Ce.checked=ae.value.includes(_.value));const le=m()(`${ke}-wrapper`,{[`${ke}-rtl`]:te==="rtl",[`${ke}-wrapper-checked`]:Ce.checked,[`${ke}-wrapper-disabled`]:Ke,[`${ke}-wrapper-in-form-item`]:he},ie==null?void 0:ie.className,H,$,Oe),se=m()({[`${ke}-indeterminate`]:z},n.A,Oe),L=z?"mixed":void 0;return Xe(V.createElement(v.Z,{component:"Checkbox",disabled:Ke},V.createElement("label",{className:le,style:Object.assign(Object.assign({},ie==null?void 0:ie.style),I),onMouseEnter:B,onMouseLeave:P},V.createElement(D.Z,Object.assign({"aria-checked":L},Ce,{prefixCls:ke,className:se,disabled:Ke,ref:J})),p!==void 0&&V.createElement("span",null,p))))};var w=V.forwardRef(o),k=t(26407),E=t(2738),g=function(T,J){var q={};for(var G in T)Object.prototype.hasOwnProperty.call(T,G)&&J.indexOf(G)<0&&(q[G]=T[G]);if(T!=null&&typeof Object.getOwnPropertySymbols=="function")for(var H=0,G=Object.getOwnPropertySymbols(T);H<G.length;H++)J.indexOf(G[H])<0&&Object.prototype.propertyIsEnumerable.call(T,G[H])&&(q[G[H]]=T[G[H]]);return q};const O=(T,J)=>{const{defaultValue:q,children:G,options:H=[],prefixCls:$,className:p,rootClassName:z,style:I,onChange:B}=T,P=g(T,["defaultValue","children","options","prefixCls","className","rootClassName","style","onChange"]),{getPrefixCls:i,direction:a}=V.useContext(Z.E_),[_,F]=V.useState(P.value||q||[]),[te,ie]=V.useState([]);V.useEffect(()=>{"value"in P&&F(P.value||[])},[P.value]);const ae=V.useMemo(()=>H.map(U=>typeof U=="string"||typeof U=="number"?{label:U,value:U}:U),[H]),he=U=>{ie(M=>M.filter(R=>R!==U))},we=U=>{ie(M=>[].concat((0,k.Z)(M),[U]))},Ke=U=>{const M=_.indexOf(U.value),R=(0,k.Z)(_);M===-1?R.push(U.value):R.splice(M,1),"value"in P||F(R),B==null||B(R.filter(ee=>te.includes(ee)).sort((ee,y)=>{const d=ae.findIndex(X=>X.value===ee),f=ae.findIndex(X=>X.value===y);return d-f}))},Ie=i("checkbox",$),ke=`${Ie}-group`,[Xe,Oe]=(0,h.ZP)(Ie),Ce=(0,E.Z)(P,["value","disabled"]),le=H.length?ae.map(U=>V.createElement(w,{prefixCls:Ie,key:U.value.toString(),disabled:"disabled"in U?U.disabled:P.disabled,value:U.value,checked:_.includes(U.value),onChange:U.onChange,className:`${ke}-item`,style:U.style,title:U.title},U.label)):G,se={toggleOption:Ke,value:_,disabled:P.disabled,name:P.name,registerValue:we,cancelValue:he},L=m()(ke,{[`${ke}-rtl`]:a==="rtl"},p,z,Oe);return Xe(V.createElement("div",Object.assign({className:L,style:I},Ce,{ref:J}),V.createElement(e.Provider,{value:se},le)))},C=V.forwardRef(O);var c=V.memo(C);const s=w;s.Group=c,s.__ANT_CHECKBOX=!0;var x=s},98447:function(We,fe,t){"use strict";t.d(fe,{C2:function(){return Z}});var b=t(17313),m=t(37613),D=t(83116);const V=K=>{const{checkboxCls:u}=K,W=`${u}-wrapper`;return[{[`${u}-group`]:Object.assign(Object.assign({},(0,b.Wf)(K)),{display:"inline-flex",flexWrap:"wrap",columnGap:K.marginXS,[`> ${K.antCls}-row`]:{flex:1}}),[W]:Object.assign(Object.assign({},(0,b.Wf)(K)),{display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${W}`]:{marginInlineStart:0},[`&${W}-in-form-item`]:{'input[type="checkbox"]':{width:14,height:14}}}),[u]:Object.assign(Object.assign({},(0,b.Wf)(K)),{position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",borderRadius:K.borderRadiusSM,alignSelf:"center",[`${u}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0,[`&:focus-visible + ${u}-inner`]:Object.assign({},(0,b.oN)(K))},[`${u}-inner`]:{boxSizing:"border-box",position:"relative",top:0,insetInlineStart:0,display:"block",width:K.checkboxSize,height:K.checkboxSize,direction:"ltr",backgroundColor:K.colorBgContainer,border:`${K.lineWidth}px ${K.lineType} ${K.colorBorder}`,borderRadius:K.borderRadiusSM,borderCollapse:"separate",transition:`all ${K.motionDurationSlow}`,"&:after":{boxSizing:"border-box",position:"absolute",top:"50%",insetInlineStart:"21.5%",display:"table",width:K.checkboxSize/14*5,height:K.checkboxSize/14*8,border:`${K.lineWidthBold}px solid ${K.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${K.motionDurationFast} ${K.motionEaseInBack}, opacity ${K.motionDurationFast}`}},"& + span":{paddingInlineStart:K.paddingXS,paddingInlineEnd:K.paddingXS}})},{[`
|
|
${W}:not(${W}-disabled),
|
|
${u}:not(${u}-disabled)
|
|
`]:{[`&:hover ${u}-inner`]:{borderColor:K.colorPrimary}},[`${W}:not(${W}-disabled)`]:{[`&:hover ${u}-checked:not(${u}-disabled) ${u}-inner`]:{backgroundColor:K.colorPrimaryHover,borderColor:"transparent"},[`&:hover ${u}-checked:not(${u}-disabled):after`]:{borderColor:K.colorPrimaryHover}}},{[`${u}-checked`]:{[`${u}-inner`]:{backgroundColor:K.colorPrimary,borderColor:K.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${K.motionDurationMid} ${K.motionEaseOutBack} ${K.motionDurationFast}`}}},[`
|
|
${W}-checked:not(${W}-disabled),
|
|
${u}-checked:not(${u}-disabled)
|
|
`]:{[`&:hover ${u}-inner`]:{backgroundColor:K.colorPrimaryHover,borderColor:"transparent"}}},{[u]:{"&-indeterminate":{[`${u}-inner`]:{backgroundColor:K.colorBgContainer,borderColor:K.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:K.fontSizeLG/2,height:K.fontSizeLG/2,backgroundColor:K.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'}}}}},{[`${W}-disabled`]:{cursor:"not-allowed"},[`${u}-disabled`]:{[`&, ${u}-input`]:{cursor:"not-allowed",pointerEvents:"none"},[`${u}-inner`]:{background:K.colorBgContainerDisabled,borderColor:K.colorBorder,"&:after":{borderColor:K.colorTextDisabled}},"&:after":{display:"none"},"& + span":{color:K.colorTextDisabled},[`&${u}-indeterminate ${u}-inner::after`]:{background:K.colorTextDisabled}}}]};function Z(K,u){const W=(0,m.TS)(u,{checkboxCls:`.${K}`,checkboxSize:u.controlInteractiveSize});return[V(W)]}fe.ZP=(0,D.Z)("Checkbox",(K,u)=>{let{prefixCls:W}=u;return[Z(W,K)]})},93891:function(We,fe,t){"use strict";var b=t(59301),m=t(36355),D=t(64165);const V=Z=>{const{componentName:K}=Z,{getPrefixCls:u}=(0,b.useContext)(m.E_),W=u("empty");switch(K){case"Table":case"List":return b.createElement(D.Z,{image:D.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return b.createElement(D.Z,{image:D.Z.PRESENTED_IMAGE_SIMPLE,className:`${W}-small`});default:return b.createElement(D.Z,null)}};fe.Z=V},91857:function(We,fe,t){"use strict";var b=t(59301),m=t(38819),D=t(92310),V=t.n(D),Z=t(31561),K=t(70425),u=t(18929),W=t(2738),e=t(79676),h=t(53487),v=t(92343),n=t(36355),r=t(20834),o=t(40875),l=t(88088),w=t(47211);const k=null,E=c=>{const{menu:s,arrow:x,prefixCls:T,children:J,trigger:q,disabled:G,dropdownRender:H,getPopupContainer:$,overlayClassName:p,rootClassName:z,open:I,onOpenChange:B,visible:P,onVisibleChange:i,mouseEnterDelay:a=.15,mouseLeaveDelay:_=.1,autoAdjustOverflow:F=!0,placement:te="",overlay:ie,transitionName:ae}=c,{getPopupContainer:he,getPrefixCls:we,direction:Ke}=b.useContext(n.E_),Ie=b.useMemo(()=>{const A=we();return ae!==void 0?ae:te.includes("top")?`${A}-slide-down`:`${A}-slide-up`},[we,te,ae]),ke=b.useMemo(()=>te?te.includes("Center")?te.slice(0,te.indexOf("Center")):te:Ke==="rtl"?"bottomRight":"bottomLeft",[te,Ke]),Xe=we("dropdown",T),[Oe,Ce]=(0,w.Z)(Xe),[,le]=(0,l.Z)(),se=b.Children.only(J),L=(0,v.Tm)(se,{className:V()(`${Xe}-trigger`,{[`${Xe}-rtl`]:Ke==="rtl"},se.props.className),disabled:G}),U=G?[]:q;let M;U&&U.includes("contextMenu")&&(M=!0);const[R,ee]=(0,u.Z)(!1,{value:I!=null?I:P}),y=(0,K.useEvent)(A=>{B==null||B(A),i==null||i(A),ee(A)}),d=V()(p,z,Ce,{[`${Xe}-rtl`]:Ke==="rtl"}),f=(0,e.Z)({arrowPointAtCenter:typeof x=="object"&&x.pointAtCenter,autoAdjustOverflow:F,offset:le.marginXXS,arrowWidth:x?le.sizePopupArrow:0,borderRadius:le.borderRadius}),X=b.useCallback(()=>{ee(!1)},[]),j=()=>{let A;return s!=null&&s.items?A=b.createElement(r.default,Object.assign({},s)):typeof ie=="function"?A=ie():A=ie,H&&(A=H(A)),A=b.Children.only(typeof A=="string"?b.createElement("span",null,A):A),b.createElement(o.J,{prefixCls:`${Xe}-menu`,expandIcon:b.createElement("span",{className:`${Xe}-menu-submenu-arrow`},b.createElement(m.Z,{className:`${Xe}-menu-submenu-arrow-icon`})),mode:"vertical",selectable:!1,onClick:X,validator:Q=>{let{mode:ce}=Q}},A)};return Oe(b.createElement(Z.Z,Object.assign({alignPoint:M},(0,W.Z)(c,["rootClassName"]),{mouseEnterDelay:a,mouseLeaveDelay:_,visible:R,builtinPlacements:f,arrow:!!x,overlayClassName:d,prefixCls:Xe,getPopupContainer:$||he,transitionName:Ie,trigger:U,overlay:j,placement:ke,onVisibleChange:y}),L))};function g(c){return Object.assign(Object.assign({},c),{align:{overflow:{adjustX:!1,adjustY:!1}}})}const O=(0,h.Z)(E,"dropdown",c=>c,g),C=c=>b.createElement(O,Object.assign({},c),b.createElement("span",null));E._InternalPanelDoNotUseOrYouWillBeFired=C,fe.Z=E},38854:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return l}});var b=t(91857),m=t(92310),D=t.n(m),V=t(59301),Z=t(18785),K=t(3113),u=t(36355),W=t(81327),e=t(33234),h=t(47211),v=function(w,k){var E={};for(var g in w)Object.prototype.hasOwnProperty.call(w,g)&&k.indexOf(g)<0&&(E[g]=w[g]);if(w!=null&&typeof Object.getOwnPropertySymbols=="function")for(var O=0,g=Object.getOwnPropertySymbols(w);O<g.length;O++)k.indexOf(g[O])<0&&Object.prototype.propertyIsEnumerable.call(w,g[O])&&(E[g[O]]=w[g[O]]);return E};const n=w=>{const{getPopupContainer:k,getPrefixCls:E,direction:g}=V.useContext(u.E_),{prefixCls:O,type:C="default",danger:c,disabled:s,loading:x,onClick:T,htmlType:J,children:q,className:G,menu:H,arrow:$,autoFocus:p,overlay:z,trigger:I,align:B,open:P,onOpenChange:i,placement:a,getPopupContainer:_,href:F,icon:te=V.createElement(Z.Z,null),title:ie,buttonsRender:ae=j=>j,mouseEnterDelay:he,mouseLeaveDelay:we,overlayClassName:Ke,overlayStyle:Ie,destroyPopupOnHide:ke,dropdownRender:Xe}=w,Oe=v(w,["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"]),Ce=E("dropdown",O),le=`${Ce}-button`,[se,L]=(0,h.Z)(Ce),U={menu:H,arrow:$,autoFocus:p,align:B,disabled:s,trigger:s?[]:I,onOpenChange:i,getPopupContainer:_||k,mouseEnterDelay:he,mouseLeaveDelay:we,overlayClassName:Ke,overlayStyle:Ie,destroyPopupOnHide:ke,dropdownRender:Xe},{compactSize:M,compactItemClassnames:R}=(0,e.ri)(Ce,g),ee=D()(le,R,G,L);"overlay"in w&&(U.overlay=z),"open"in w&&(U.open=P),"placement"in w?U.placement=a:U.placement=g==="rtl"?"bottomLeft":"bottomRight";const y=V.createElement(K.ZP,{type:C,danger:c,disabled:s,loading:x,onClick:T,htmlType:J,href:F,title:ie},q),d=V.createElement(K.ZP,{type:C,danger:c,icon:te}),[f,X]=ae([y,d]);return se(V.createElement(W.Z.Compact,Object.assign({className:ee,size:M,block:!0},Oe),f,V.createElement(b.Z,Object.assign({},U),X)))};n.__ANT_BUTTON=!0;var r=n;const o=b.Z;o.Button=r;var l=o},47211:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return v}});var b=t(17313),m=t(13826),D=t(92899),V=t(29878),Z=t(19447),K=t(83116),u=t(37613),e=n=>{const{componentCls:r,menuCls:o,colorError:l,colorTextLightSolid:w}=n,k=`${o}-item`;return{[`${r}, ${r}-menu-submenu`]:{[`${o} ${k}`]:{[`&${k}-danger:not(${k}-disabled)`]:{color:l,"&:hover":{color:w,backgroundColor:l}}}}}};const h=n=>{const{componentCls:r,menuCls:o,zIndexPopup:l,dropdownArrowDistance:w,sizePopupArrow:k,antCls:E,iconCls:g,motionDurationMid:O,dropdownPaddingVertical:C,fontSize:c,dropdownEdgeChildPadding:s,colorTextDisabled:x,fontSizeIcon:T,controlPaddingHorizontal:J,colorBgElevated:q}=n;return[{[r]:Object.assign(Object.assign({},(0,b.Wf)(n)),{position:"absolute",top:-9999,left:{_skip_check_:!0,value:-9999},zIndex:l,display:"block","&::before":{position:"absolute",insetBlock:-w+k/2,zIndex:-9999,opacity:1e-4,content:'""'},[`&-trigger${E}-btn`]:{[`& > ${g}-down, & > ${E}-btn-icon > ${g}-down`]:{fontSize:T}},[`${r}-wrap`]:{position:"relative",[`${E}-btn > ${g}-down`]:{fontSize:T},[`${g}-down::before`]:{transition:`transform ${O}`}},[`${r}-wrap-open`]:{[`${g}-down::before`]:{transform:"rotate(180deg)"}},"\n &-hidden,\n &-menu-hidden,\n &-menu-submenu-hidden\n ":{display:"none"},[`&${E}-slide-down-enter${E}-slide-down-enter-active${r}-placement-bottomLeft,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${r}-placement-bottomLeft,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${r}-placement-bottom,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${r}-placement-bottom,
|
|
&${E}-slide-down-enter${E}-slide-down-enter-active${r}-placement-bottomRight,
|
|
&${E}-slide-down-appear${E}-slide-down-appear-active${r}-placement-bottomRight`]:{animationName:m.fJ},[`&${E}-slide-up-enter${E}-slide-up-enter-active${r}-placement-topLeft,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${r}-placement-topLeft,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${r}-placement-top,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${r}-placement-top,
|
|
&${E}-slide-up-enter${E}-slide-up-enter-active${r}-placement-topRight,
|
|
&${E}-slide-up-appear${E}-slide-up-appear-active${r}-placement-topRight`]:{animationName:m.Qt},[`&${E}-slide-down-leave${E}-slide-down-leave-active${r}-placement-bottomLeft,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${r}-placement-bottom,
|
|
&${E}-slide-down-leave${E}-slide-down-leave-active${r}-placement-bottomRight`]:{animationName:m.Uw},[`&${E}-slide-up-leave${E}-slide-up-leave-active${r}-placement-topLeft,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${r}-placement-top,
|
|
&${E}-slide-up-leave${E}-slide-up-leave-active${r}-placement-topRight`]:{animationName:m.ly}})},(0,Z.ZP)(n,{colorBg:q,limitVerticalRadius:!0,arrowPlacement:{top:!0,bottom:!0}}),{[`${r} ${o}`]:{position:"relative",margin:0},[`${o}-submenu-popup`]:{position:"absolute",zIndex:l,background:"transparent",boxShadow:"none",transformOrigin:"0 0","ul, li":{listStyle:"none",margin:0}},[`${r}, ${r}-menu-submenu`]:{[o]:Object.assign(Object.assign({padding:s,listStyleType:"none",backgroundColor:q,backgroundClip:"padding-box",borderRadius:n.borderRadiusLG,outline:"none",boxShadow:n.boxShadowSecondary},(0,b.Qy)(n)),{[`${o}-item-group-title`]:{padding:`${C}px ${J}px`,color:n.colorTextDescription,transition:`all ${O}`},[`${o}-item`]:{position:"relative",display:"flex",alignItems:"center"},[`${o}-item-icon`]:{minWidth:c,marginInlineEnd:n.marginXS,fontSize:n.fontSizeSM},[`${o}-title-content`]:{flex:"auto","> a":{color:"inherit",transition:`all ${O}`,"&:hover":{color:"inherit"},"&::after":{position:"absolute",inset:0,content:'""'}}},[`${o}-item, ${o}-submenu-title`]:Object.assign(Object.assign({clear:"both",margin:0,padding:`${C}px ${J}px`,color:n.colorText,fontWeight:"normal",fontSize:c,lineHeight:n.lineHeight,cursor:"pointer",transition:`all ${O}`,borderRadius:n.borderRadiusSM,"&:hover, &-active":{backgroundColor:n.controlItemBgHover}},(0,b.Qy)(n)),{"&-selected":{color:n.colorPrimary,backgroundColor:n.controlItemBgActive,"&:hover, &-active":{backgroundColor:n.controlItemBgActiveHover}},"&-disabled":{color:x,cursor:"not-allowed","&:hover":{color:x,backgroundColor:q,cursor:"not-allowed"},a:{pointerEvents:"none"}},"&-divider":{height:1,margin:`${n.marginXXS}px 0`,overflow:"hidden",lineHeight:0,backgroundColor:n.colorSplit},[`${r}-menu-submenu-expand-icon`]:{position:"absolute",insetInlineEnd:n.paddingXS,[`${r}-menu-submenu-arrow-icon`]:{marginInlineEnd:"0 !important",color:n.colorTextDescription,fontSize:T,fontStyle:"normal"}}}),[`${o}-item-group-list`]:{margin:`0 ${n.marginXS}px`,padding:0,listStyle:"none"},[`${o}-submenu-title`]:{paddingInlineEnd:J+n.fontSizeSM},[`${o}-submenu-vertical`]:{position:"relative"},[`${o}-submenu${o}-submenu-disabled ${r}-menu-submenu-title`]:{[`&, ${r}-menu-submenu-arrow-icon`]:{color:x,backgroundColor:q,cursor:"not-allowed"}},[`${o}-submenu-selected ${r}-menu-submenu-title`]:{color:n.colorPrimary}})}},[(0,m.oN)(n,"slide-up"),(0,m.oN)(n,"slide-down"),(0,D.Fm)(n,"move-up"),(0,D.Fm)(n,"move-down"),(0,V._y)(n,"zoom-big")]]};var v=(0,K.Z)("Dropdown",(n,r)=>{let{rootPrefixCls:o}=r;const{marginXXS:l,sizePopupArrow:w,controlHeight:k,fontSize:E,lineHeight:g,paddingXXS:O,componentCls:C,borderRadiusLG:c}=n,s=(k-E*g)/2,{dropdownArrowOffset:x}=(0,Z.fS)({contentRadius:c}),T=(0,u.TS)(n,{menuCls:`${C}-menu`,rootPrefixCls:o,dropdownArrowDistance:w/2+l,dropdownArrowOffset:x,dropdownPaddingVertical:s,dropdownEdgeChildPadding:O});return[h(T),e(T)]},n=>({zIndexPopup:n.zIndexPopupBase+50}))},64165:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return O}});var b=t(92310),m=t.n(b),D=t(59301),V=t(36355),Z=t(9763),K=t(64993),u=t(88088),e=()=>{const[,C]=(0,u.Z)(),s=new K.C(C.colorBgBase).toHsl().l<.5?{opacity:.65}:{};return D.createElement("svg",{style:s,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},D.createElement("g",{fill:"none",fillRule:"evenodd"},D.createElement("g",{transform:"translate(24 31.67)"},D.createElement("ellipse",{fillOpacity:".8",fill:"#F5F5F7",cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),D.createElement("path",{d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z",fill:"#AEB8C2"}),D.createElement("path",{d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",fill:"url(#linearGradient-1)",transform:"translate(13.56)"}),D.createElement("path",{d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z",fill:"#F5F5F7"}),D.createElement("path",{d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z",fill:"#DCE0E6"})),D.createElement("path",{d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z",fill:"#DCE0E6"}),D.createElement("g",{transform:"translate(149.65 15.383)",fill:"#FFF"},D.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),D.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},v=()=>{const[,C]=(0,u.Z)(),{colorFill:c,colorFillTertiary:s,colorFillQuaternary:x,colorBgContainer:T}=C,{borderColor:J,shadowColor:q,contentColor:G}=(0,D.useMemo)(()=>({borderColor:new K.C(c).onBackground(T).toHexShortString(),shadowColor:new K.C(s).onBackground(T).toHexShortString(),contentColor:new K.C(x).onBackground(T).toHexShortString()}),[c,s,x,T]);return D.createElement("svg",{width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},D.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},D.createElement("ellipse",{fill:q,cx:"32",cy:"33",rx:"32",ry:"7"}),D.createElement("g",{fillRule:"nonzero",stroke:J},D.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),D.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",fill:G}))))},n=t(83116),r=t(37613);const o=C=>{const{componentCls:c,margin:s,marginXS:x,marginXL:T,fontSize:J,lineHeight:q}=C;return{[c]:{marginInline:x,fontSize:J,lineHeight:q,textAlign:"center",[`${c}-image`]:{height:C.emptyImgHeight,marginBottom:x,opacity:C.opacityImage,img:{height:"100%"},svg:{maxWidth:"100%",height:"100%",margin:"auto"}},[`${c}-description`]:{color:C.colorText},[`${c}-footer`]:{marginTop:s},"&-normal":{marginBlock:T,color:C.colorTextDisabled,[`${c}-description`]:{color:C.colorTextDisabled},[`${c}-image`]:{height:C.emptyImgHeightMD}},"&-small":{marginBlock:x,color:C.colorTextDisabled,[`${c}-image`]:{height:C.emptyImgHeightSM}}}}};var l=(0,n.Z)("Empty",C=>{const{componentCls:c,controlHeightLG:s}=C,x=(0,r.TS)(C,{emptyImgCls:`${c}-img`,emptyImgHeight:s*2.5,emptyImgHeightMD:s,emptyImgHeightSM:s*.875});return[o(x)]}),w=function(C,c){var s={};for(var x in C)Object.prototype.hasOwnProperty.call(C,x)&&c.indexOf(x)<0&&(s[x]=C[x]);if(C!=null&&typeof Object.getOwnPropertySymbols=="function")for(var T=0,x=Object.getOwnPropertySymbols(C);T<x.length;T++)c.indexOf(x[T])<0&&Object.prototype.propertyIsEnumerable.call(C,x[T])&&(s[x[T]]=C[x[T]]);return s};const k=D.createElement(e,null),E=D.createElement(v,null),g=C=>{var{className:c,rootClassName:s,prefixCls:x,image:T=k,description:J,children:q,imageStyle:G,style:H}=C,$=w(C,["className","rootClassName","prefixCls","image","description","children","imageStyle","style"]);const{getPrefixCls:p,direction:z,empty:I}=D.useContext(V.E_),B=p("empty",x),[P,i]=l(B),[a]=(0,Z.Z)("Empty"),_=typeof J!="undefined"?J:a==null?void 0:a.description,F=typeof _=="string"?_:"empty";let te=null;return typeof T=="string"?te=D.createElement("img",{alt:F,src:T}):te=T,P(D.createElement("div",Object.assign({className:m()(i,B,I==null?void 0:I.className,{[`${B}-normal`]:T===E,[`${B}-rtl`]:z==="rtl"},c,s),style:Object.assign(Object.assign({},I==null?void 0:I.style),H)},$),D.createElement("div",{className:`${B}-image`,style:G},te),_&&D.createElement("div",{className:`${B}-description`},_),q&&D.createElement("div",{className:`${B}-footer`},q)))};g.PRESENTED_IMAGE_DEFAULT=k,g.PRESENTED_IMAGE_SIMPLE=E;var O=g},8628:function(We,fe,t){"use strict";var b=t(59301),m=t(34280),D=t(56762),V=t(69507);function Z(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const u=(0,b.useRef)({}),W=(0,D.Z)(),e=(0,V.ZP)();return(0,m.Z)(()=>{const h=e.subscribe(v=>{u.current=v,K&&W()});return()=>e.unsubscribe(h)},[]),u.current}fe.Z=Z},9432:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return g},n:function(){return k}});var b=t(19248),m=t(92310),D=t.n(m),V=t(93681),Z=t(8654),K=t(59301),u=t(19080),W=t(36355),e=t(1684),h=t(19716),v=t(32441),n=t(33234),r=t(59412),o=t(9937);function l(O){return!!(O.prefix||O.suffix||O.allowClear)}var w=function(O,C){var c={};for(var s in O)Object.prototype.hasOwnProperty.call(O,s)&&C.indexOf(s)<0&&(c[s]=O[s]);if(O!=null&&typeof Object.getOwnPropertySymbols=="function")for(var x=0,s=Object.getOwnPropertySymbols(O);x<s.length;x++)C.indexOf(s[x])<0&&Object.prototype.propertyIsEnumerable.call(O,s[x])&&(c[s[x]]=O[s[x]]);return c};function k(O,C){if(!O)return;O.focus(C);const{cursor:c}=C||{};if(c){const s=O.value.length;switch(c){case"start":O.setSelectionRange(0,0);break;case"end":O.setSelectionRange(s,s);break;default:O.setSelectionRange(0,s);break}}}var g=(0,K.forwardRef)((O,C)=>{var c;const{prefixCls:s,bordered:x=!0,status:T,size:J,disabled:q,onBlur:G,onFocus:H,suffix:$,allowClear:p,addonAfter:z,addonBefore:I,className:B,style:P,styles:i,rootClassName:a,onChange:_,classNames:F}=O,te=w(O,["prefixCls","bordered","status","size","disabled","onBlur","onFocus","suffix","allowClear","addonAfter","addonBefore","className","style","styles","rootClassName","onChange","classNames"]),{getPrefixCls:ie,direction:ae,input:he}=K.useContext(W.E_),we=ie("input",s),Ke=(0,K.useRef)(null),[Ie,ke]=(0,o.ZP)(we),{compactSize:Xe,compactItemClassnames:Oe}=(0,n.ri)(we,ae),Ce=(0,h.Z)(ce=>{var re;return(re=J!=null?J:Xe)!==null&&re!==void 0?re:ce}),le=K.useContext(e.Z),se=q!=null?q:le,{status:L,hasFeedback:U,feedbackIcon:M}=(0,K.useContext)(v.aM),R=(0,u.F)(L,T),ee=l(O)||!!U,y=(0,K.useRef)(ee);(0,K.useEffect)(()=>{var ce;ee&&y.current,y.current=ee},[ee]);const d=(0,r.Z)(Ke,!0),f=ce=>{d(),G==null||G(ce)},X=ce=>{d(),H==null||H(ce)},j=ce=>{d(),_==null||_(ce)},A=(U||$)&&K.createElement(K.Fragment,null,$,U&&M);let Q;return typeof p=="object"&&(p!=null&&p.clearIcon)?Q=p:p&&(Q={clearIcon:K.createElement(b.Z,null)}),Ie(K.createElement(V.default,Object.assign({ref:(0,Z.sQ)(C,Ke),prefixCls:we,autoComplete:he==null?void 0:he.autoComplete},te,{disabled:se,onBlur:f,onFocus:X,style:Object.assign(Object.assign({},he==null?void 0:he.style),P),styles:Object.assign(Object.assign({},he==null?void 0:he.styles),i),suffix:A,allowClear:Q,className:D()(B,a,Oe,he==null?void 0:he.className),onChange:j,addonAfter:z&&K.createElement(n.BR,null,K.createElement(v.Ux,{override:!0,status:!0},z)),addonBefore:I&&K.createElement(n.BR,null,K.createElement(v.Ux,{override:!0,status:!0},I)),classNames:Object.assign(Object.assign(Object.assign({},F),he==null?void 0:he.classNames),{input:D()({[`${we}-sm`]:Ce==="small",[`${we}-lg`]:Ce==="large",[`${we}-rtl`]:ae==="rtl",[`${we}-borderless`]:!x},!ee&&(0,u.Z)(we,R),F==null?void 0:F.input,(c=he==null?void 0:he.classNames)===null||c===void 0?void 0:c.input,ke)}),classes:{affixWrapper:D()({[`${we}-affix-wrapper-sm`]:Ce==="small",[`${we}-affix-wrapper-lg`]:Ce==="large",[`${we}-affix-wrapper-rtl`]:ae==="rtl",[`${we}-affix-wrapper-borderless`]:!x},(0,u.Z)(`${we}-affix-wrapper`,R,U),ke),wrapper:D()({[`${we}-group-rtl`]:ae==="rtl"},ke),group:D()({[`${we}-group-wrapper-sm`]:Ce==="small",[`${we}-group-wrapper-lg`]:Ce==="large",[`${we}-group-wrapper-rtl`]:ae==="rtl",[`${we}-group-wrapper-disabled`]:se},(0,u.Z)(`${we}-group-wrapper`,R,U),ke)}})))})},1643:function(We,fe,t){"use strict";var b=t(19248),m=t(92310),D=t.n(m),V=t(9296),Z=t(59301),K=t(19080),u=t(36355),W=t(1684),e=t(19716),h=t(32441),v=t(9432),n=t(9937),r=function(l,w){var k={};for(var E in l)Object.prototype.hasOwnProperty.call(l,E)&&w.indexOf(E)<0&&(k[E]=l[E]);if(l!=null&&typeof Object.getOwnPropertySymbols=="function")for(var g=0,E=Object.getOwnPropertySymbols(l);g<E.length;g++)w.indexOf(E[g])<0&&Object.prototype.propertyIsEnumerable.call(l,E[g])&&(k[E[g]]=l[E[g]]);return k};const o=(0,Z.forwardRef)((l,w)=>{const{prefixCls:k,bordered:E=!0,size:g,disabled:O,status:C,allowClear:c,showCount:s,classNames:x,rootClassName:T,className:J}=l,q=r(l,["prefixCls","bordered","size","disabled","status","allowClear","showCount","classNames","rootClassName","className"]),{getPrefixCls:G,direction:H}=Z.useContext(u.E_),$=(0,e.Z)(g),p=Z.useContext(W.Z),z=O!=null?O:p,{status:I,hasFeedback:B,feedbackIcon:P}=Z.useContext(h.aM),i=(0,K.F)(I,C),a=Z.useRef(null);Z.useImperativeHandle(w,()=>{var ae;return{resizableTextArea:(ae=a.current)===null||ae===void 0?void 0:ae.resizableTextArea,focus:he=>{var we,Ke;(0,v.n)((Ke=(we=a.current)===null||we===void 0?void 0:we.resizableTextArea)===null||Ke===void 0?void 0:Ke.textArea,he)},blur:()=>{var he;return(he=a.current)===null||he===void 0?void 0:he.blur()}}});const _=G("input",k);let F;typeof c=="object"&&(c!=null&&c.clearIcon)?F=c:c&&(F={clearIcon:Z.createElement(b.Z,null)});const[te,ie]=(0,n.ZP)(_);return te(Z.createElement(V.default,Object.assign({},q,{disabled:z,allowClear:F,className:D()(J,T),classes:{affixWrapper:D()(`${_}-textarea-affix-wrapper`,{[`${_}-affix-wrapper-rtl`]:H==="rtl",[`${_}-affix-wrapper-borderless`]:!E,[`${_}-affix-wrapper-sm`]:$==="small",[`${_}-affix-wrapper-lg`]:$==="large",[`${_}-textarea-show-count`]:s},(0,K.Z)(`${_}-affix-wrapper`,i),ie)},classNames:Object.assign(Object.assign({},x),{textarea:D()({[`${_}-borderless`]:!E,[`${_}-sm`]:$==="small",[`${_}-lg`]:$==="large"},(0,K.Z)(_,i),ie,x==null?void 0:x.textarea)}),prefixCls:_,suffix:B&&Z.createElement("span",{className:`${_}-textarea-suffix`},P),showCount:s,ref:a})))});fe.Z=o},59412:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return m}});var b=t(59301);function m(D,V){const Z=(0,b.useRef)([]),K=()=>{Z.current.push(setTimeout(()=>{var u,W,e,h;!((u=D.current)===null||u===void 0)&&u.input&&((W=D.current)===null||W===void 0?void 0:W.input.getAttribute("type"))==="password"&&(!((e=D.current)===null||e===void 0)&&e.input.hasAttribute("value"))&&((h=D.current)===null||h===void 0||h.input.removeAttribute("value"))}))};return(0,b.useEffect)(()=>(V&&K(),()=>Z.current.forEach(u=>{u&&clearTimeout(u)})),[]),K}},92832:function(We,fe,t){"use strict";t.d(fe,{default:function(){return $}});var b=t(92310),m=t.n(b),D=t(59301),V=t(36355),Z=t(32441),K=t(9937),W=p=>{const{getPrefixCls:z,direction:I}=(0,D.useContext)(V.E_),{prefixCls:B,className:P}=p,i=z("input-group",B),a=z("input"),[_,F]=(0,K.ZP)(a),te=m()(i,{[`${i}-lg`]:p.size==="large",[`${i}-sm`]:p.size==="small",[`${i}-compact`]:p.compact,[`${i}-rtl`]:I==="rtl"},F,P),ie=(0,D.useContext)(Z.aM),ae=(0,D.useMemo)(()=>Object.assign(Object.assign({},ie),{isFormItemInput:!1}),[ie]);return _(D.createElement("span",{className:te,style:p.style,onMouseEnter:p.onMouseEnter,onMouseLeave:p.onMouseLeave,onFocus:p.onFocus,onBlur:p.onBlur},D.createElement(Z.aM.Provider,{value:ae},p.children)))},e=t(9432),h=t(73331),v=t(15277),n=t(2738),r=t(8654),o=t(59412),l=function(p,z){var I={};for(var B in p)Object.prototype.hasOwnProperty.call(p,B)&&z.indexOf(B)<0&&(I[B]=p[B]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,B=Object.getOwnPropertySymbols(p);P<B.length;P++)z.indexOf(B[P])<0&&Object.prototype.propertyIsEnumerable.call(p,B[P])&&(I[B[P]]=p[B[P]]);return I};const w=p=>p?D.createElement(v.Z,null):D.createElement(h.Z,null),k={click:"onClick",hover:"onMouseOver"};var g=D.forwardRef((p,z)=>{const{visibilityToggle:I=!0}=p,B=typeof I=="object"&&I.visible!==void 0,[P,i]=(0,D.useState)(()=>B?I.visible:!1),a=(0,D.useRef)(null);D.useEffect(()=>{B&&i(I.visible)},[B,I]);const _=(0,o.Z)(a),F=()=>{const{disabled:se}=p;se||(P&&_(),i(L=>{var U;const M=!L;return typeof I=="object"&&((U=I.onVisibleChange)===null||U===void 0||U.call(I,M)),M}))},te=se=>{const{action:L="click",iconRender:U=w}=p,M=k[L]||"",R=U(P),ee={[M]:F,className:`${se}-icon`,key:"passwordIcon",onMouseDown:y=>{y.preventDefault()},onMouseUp:y=>{y.preventDefault()}};return D.cloneElement(D.isValidElement(R)?R:D.createElement("span",null,R),ee)},{className:ie,prefixCls:ae,inputPrefixCls:he,size:we}=p,Ke=l(p,["className","prefixCls","inputPrefixCls","size"]),{getPrefixCls:Ie}=D.useContext(V.E_),ke=Ie("input",he),Xe=Ie("input-password",ae),Oe=I&&te(Xe),Ce=m()(Xe,ie,{[`${Xe}-${we}`]:!!we}),le=Object.assign(Object.assign({},(0,n.Z)(Ke,["suffix","iconRender","visibilityToggle"])),{type:P?"text":"password",className:Ce,prefixCls:ke,suffix:Oe});return we&&(le.size=we),D.createElement(e.Z,Object.assign({ref:(0,r.sQ)(z,a)},le))}),O=t(47472),C=t(92343),c=t(3113),s=t(19716),x=t(33234),T=function(p,z){var I={};for(var B in p)Object.prototype.hasOwnProperty.call(p,B)&&z.indexOf(B)<0&&(I[B]=p[B]);if(p!=null&&typeof Object.getOwnPropertySymbols=="function")for(var P=0,B=Object.getOwnPropertySymbols(p);P<B.length;P++)z.indexOf(B[P])<0&&Object.prototype.propertyIsEnumerable.call(p,B[P])&&(I[B[P]]=p[B[P]]);return I},q=D.forwardRef((p,z)=>{const{prefixCls:I,inputPrefixCls:B,className:P,size:i,suffix:a,enterButton:_=!1,addonAfter:F,loading:te,disabled:ie,onSearch:ae,onChange:he,onCompositionStart:we,onCompositionEnd:Ke}=p,Ie=T(p,["prefixCls","inputPrefixCls","className","size","suffix","enterButton","addonAfter","loading","disabled","onSearch","onChange","onCompositionStart","onCompositionEnd"]),{getPrefixCls:ke,direction:Xe}=D.useContext(V.E_),Oe=D.useRef(!1),Ce=ke("input-search",I),le=ke("input",B),{compactSize:se}=(0,x.ri)(Ce,Xe),L=(0,s.Z)(oe=>{var ve;return(ve=i!=null?i:se)!==null&&ve!==void 0?ve:oe}),U=D.useRef(null),M=oe=>{oe&&oe.target&&oe.type==="click"&&ae&&ae(oe.target.value,oe,{source:"clear"}),he&&he(oe)},R=oe=>{var ve;document.activeElement===((ve=U.current)===null||ve===void 0?void 0:ve.input)&&oe.preventDefault()},ee=oe=>{var ve,Ee;ae&&ae((Ee=(ve=U.current)===null||ve===void 0?void 0:ve.input)===null||Ee===void 0?void 0:Ee.value,oe,{source:"input"})},y=oe=>{Oe.current||te||ee(oe)},d=typeof _=="boolean"?D.createElement(O.Z,null):null,f=`${Ce}-button`;let X;const j=_||{},A=j.type&&j.type.__ANT_BUTTON===!0;A||j.type==="button"?X=(0,C.Tm)(j,Object.assign({onMouseDown:R,onClick:oe=>{var ve,Ee;(Ee=(ve=j==null?void 0:j.props)===null||ve===void 0?void 0:ve.onClick)===null||Ee===void 0||Ee.call(ve,oe),ee(oe)},key:"enterButton"},A?{className:f,size:L}:{})):X=D.createElement(c.ZP,{className:f,type:_?"primary":void 0,size:L,disabled:ie,key:"enterButton",onMouseDown:R,onClick:ee,loading:te,icon:d},_),F&&(X=[X,(0,C.Tm)(F,{key:"addonAfter"})]);const Q=m()(Ce,{[`${Ce}-rtl`]:Xe==="rtl",[`${Ce}-${L}`]:!!L,[`${Ce}-with-button`]:!!_},P),ce=oe=>{Oe.current=!0,we==null||we(oe)},re=oe=>{Oe.current=!1,Ke==null||Ke(oe)};return D.createElement(e.Z,Object.assign({ref:(0,r.sQ)(U,z),onPressEnter:y},Ie,{size:L,onCompositionStart:ce,onCompositionEnd:re,prefixCls:le,addonAfter:X,suffix:a,onChange:M,className:Q,disabled:ie}))}),G=t(1643);const H=e.Z;H.Group=W,H.Search=q,H.TextArea=G.Z,H.Password=g;var $=H},9937:function(We,fe,t){"use strict";t.d(fe,{M1:function(){return u},TM:function(){return C},Xy:function(){return W},bi:function(){return v},e5:function(){return O},ik:function(){return n},nz:function(){return Z},pU:function(){return K},s7:function(){return r},x0:function(){return h}});var b=t(17313),m=t(74207),D=t(37613),V=t(83116);const Z=c=>({"&::-moz-placeholder":{opacity:1},"&::placeholder":{color:c,userSelect:"none"},"&:placeholder-shown":{textOverflow:"ellipsis"}}),K=c=>({borderColor:c.hoverBorderColor}),u=c=>({borderColor:c.activeBorderColor,boxShadow:c.activeShadow,outline:0}),W=c=>({color:c.colorTextDisabled,backgroundColor:c.colorBgContainerDisabled,borderColor:c.colorBorder,boxShadow:"none",cursor:"not-allowed",opacity:1,"&:hover":Object.assign({},K((0,D.TS)(c,{hoverBorderColor:c.colorBorder})))}),e=c=>{const{paddingBlockLG:s,fontSizeLG:x,lineHeightLG:T,borderRadiusLG:J,paddingInlineLG:q}=c;return{padding:`${s}px ${q}px`,fontSize:x,lineHeight:T,borderRadius:J}},h=c=>({padding:`${c.paddingBlockSM}px ${c.paddingInlineSM}px`,borderRadius:c.borderRadiusSM}),v=(c,s)=>{const{componentCls:x,colorError:T,colorWarning:J,errorActiveShadow:q,warningActiveShadow:G,colorErrorBorderHover:H,colorWarningBorderHover:$}=c;return{[`&-status-error:not(${s}-disabled):not(${s}-borderless)${s}`]:{borderColor:T,"&:hover":{borderColor:H},"&:focus, &-focused":Object.assign({},u((0,D.TS)(c,{activeBorderColor:T,activeShadow:q}))),[`${x}-prefix, ${x}-suffix`]:{color:T}},[`&-status-warning:not(${s}-disabled):not(${s}-borderless)${s}`]:{borderColor:J,"&:hover":{borderColor:$},"&:focus, &-focused":Object.assign({},u((0,D.TS)(c,{activeBorderColor:J,activeShadow:G}))),[`${x}-prefix, ${x}-suffix`]:{color:J}}}},n=c=>Object.assign(Object.assign({position:"relative",display:"inline-block",width:"100%",minWidth:0,padding:`${c.paddingBlock}px ${c.paddingInline}px`,color:c.colorText,fontSize:c.fontSize,lineHeight:c.lineHeight,backgroundColor:c.colorBgContainer,backgroundImage:"none",borderWidth:c.lineWidth,borderStyle:c.lineType,borderColor:c.colorBorder,borderRadius:c.borderRadius,transition:`all ${c.motionDurationMid}`},Z(c.colorTextPlaceholder)),{"&:hover":Object.assign({},K(c)),"&:focus, &-focused":Object.assign({},u(c)),"&-disabled, &[disabled]":Object.assign({},W(c)),"&-borderless":{"&, &:hover, &:focus, &-focused, &-disabled, &[disabled]":{backgroundColor:"transparent",border:"none",boxShadow:"none"}},"textarea&":{maxWidth:"100%",height:"auto",minHeight:c.controlHeight,lineHeight:c.lineHeight,verticalAlign:"bottom",transition:`all ${c.motionDurationSlow}, height 0s`,resize:"vertical"},"&-lg":Object.assign({},e(c)),"&-sm":Object.assign({},h(c)),"&-rtl":{direction:"rtl"},"&-textarea-rtl":{direction:"rtl"}}),r=c=>{const{componentCls:s,antCls:x}=c;return{position:"relative",display:"table",width:"100%",borderCollapse:"separate",borderSpacing:0,"&[class*='col-']":{paddingInlineEnd:c.paddingXS,"&:last-child":{paddingInlineEnd:0}},[`&-lg ${s}, &-lg > ${s}-group-addon`]:Object.assign({},e(c)),[`&-sm ${s}, &-sm > ${s}-group-addon`]:Object.assign({},h(c)),[`&-lg ${x}-select-single ${x}-select-selector`]:{height:c.controlHeightLG},[`&-sm ${x}-select-single ${x}-select-selector`]:{height:c.controlHeightSM},[`> ${s}`]:{display:"table-cell","&:not(:first-child):not(:last-child)":{borderRadius:0}},[`${s}-group`]:{"&-addon, &-wrap":{display:"table-cell",width:1,whiteSpace:"nowrap",verticalAlign:"middle","&:not(:first-child):not(:last-child)":{borderRadius:0}},"&-wrap > *":{display:"block !important"},"&-addon":{position:"relative",padding:`0 ${c.paddingInline}px`,color:c.colorText,fontWeight:"normal",fontSize:c.fontSize,textAlign:"center",backgroundColor:c.colorFillAlter,border:`${c.lineWidth}px ${c.lineType} ${c.colorBorder}`,borderRadius:c.borderRadius,transition:`all ${c.motionDurationSlow}`,lineHeight:1,[`${x}-select`]:{margin:`-${c.paddingBlock+1}px -${c.paddingInline}px`,[`&${x}-select-single:not(${x}-select-customize-input)`]:{[`${x}-select-selector`]:{backgroundColor:"inherit",border:`${c.lineWidth}px ${c.lineType} transparent`,boxShadow:"none"}},"&-open, &-focused":{[`${x}-select-selector`]:{color:c.colorPrimary}}},[`${x}-cascader-picker`]:{margin:`-9px -${c.paddingInline}px`,backgroundColor:"transparent",[`${x}-cascader-input`]:{textAlign:"start",border:0,boxShadow:"none"}}},"&-addon:first-child":{borderInlineEnd:0},"&-addon:last-child":{borderInlineStart:0}},[`${s}`]:{width:"100%",marginBottom:0,textAlign:"inherit","&:focus":{zIndex:1,borderInlineEndWidth:1},"&:hover":{zIndex:1,borderInlineEndWidth:1,[`${s}-search-with-button &`]:{zIndex:0}}},[`> ${s}:first-child, ${s}-group-addon:first-child`]:{borderStartEndRadius:0,borderEndEndRadius:0,[`${x}-select ${x}-select-selector`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${s}-affix-wrapper`]:{[`&:not(:first-child) ${s}`]:{borderStartStartRadius:0,borderEndStartRadius:0},[`&:not(:last-child) ${s}`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`> ${s}:last-child, ${s}-group-addon:last-child`]:{borderStartStartRadius:0,borderEndStartRadius:0,[`${x}-select ${x}-select-selector`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`${s}-affix-wrapper`]:{"&:not(:last-child)":{borderStartEndRadius:0,borderEndEndRadius:0,[`${s}-search &`]:{borderStartStartRadius:c.borderRadius,borderEndStartRadius:c.borderRadius}},[`&:not(:first-child), ${s}-search &:not(:first-child)`]:{borderStartStartRadius:0,borderEndStartRadius:0}},[`&${s}-group-compact`]:Object.assign(Object.assign({display:"block"},(0,b.dF)()),{[`${s}-group-addon, ${s}-group-wrap, > ${s}`]:{"&:not(:first-child):not(:last-child)":{borderInlineEndWidth:c.lineWidth,"&:hover":{zIndex:1},"&:focus":{zIndex:1}}},"& > *":{display:"inline-block",float:"none",verticalAlign:"top",borderRadius:0},[`
|
|
& > ${s}-affix-wrapper,
|
|
& > ${s}-number-affix-wrapper,
|
|
& > ${x}-picker-range
|
|
`]:{display:"inline-flex"},"& > *:not(:last-child)":{marginInlineEnd:-c.lineWidth,borderInlineEndWidth:c.lineWidth},[`${s}`]:{float:"none"},[`& > ${x}-select > ${x}-select-selector,
|
|
& > ${x}-select-auto-complete ${s},
|
|
& > ${x}-cascader-picker ${s},
|
|
& > ${s}-group-wrapper ${s}`]:{borderInlineEndWidth:c.lineWidth,borderRadius:0,"&:hover":{zIndex:1},"&:focus":{zIndex:1}},[`& > ${x}-select-focused`]:{zIndex:1},[`& > ${x}-select > ${x}-select-arrow`]:{zIndex:1},[`& > *:first-child,
|
|
& > ${x}-select:first-child > ${x}-select-selector,
|
|
& > ${x}-select-auto-complete:first-child ${s},
|
|
& > ${x}-cascader-picker:first-child ${s}`]:{borderStartStartRadius:c.borderRadius,borderEndStartRadius:c.borderRadius},[`& > *:last-child,
|
|
& > ${x}-select:last-child > ${x}-select-selector,
|
|
& > ${x}-cascader-picker:last-child ${s},
|
|
& > ${x}-cascader-picker-focused:last-child ${s}`]:{borderInlineEndWidth:c.lineWidth,borderStartEndRadius:c.borderRadius,borderEndEndRadius:c.borderRadius},[`& > ${x}-select-auto-complete ${s}`]:{verticalAlign:"top"},[`${s}-group-wrapper + ${s}-group-wrapper`]:{marginInlineStart:-c.lineWidth,[`${s}-affix-wrapper`]:{borderRadius:0}},[`${s}-group-wrapper:not(:last-child)`]:{[`&${s}-search > ${s}-group`]:{[`& > ${s}-group-addon > ${s}-search-button`]:{borderRadius:0},[`& > ${s}`]:{borderStartStartRadius:c.borderRadius,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:c.borderRadius}}}})}},o=c=>{const{componentCls:s,controlHeightSM:x,lineWidth:T}=c,q=(x-T*2-16)/2;return{[s]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,b.Wf)(c)),n(c)),v(c,s)),{'&[type="color"]':{height:c.controlHeight,[`&${s}-lg`]:{height:c.controlHeightLG},[`&${s}-sm`]:{height:x,paddingTop:q,paddingBottom:q}},'&[type="search"]::-webkit-search-cancel-button, &[type="search"]::-webkit-search-decoration':{"-webkit-appearance":"none"}})}},l=c=>{const{componentCls:s}=c;return{[`${s}-clear-icon`]:{margin:0,color:c.colorTextQuaternary,fontSize:c.fontSizeIcon,verticalAlign:-1,cursor:"pointer",transition:`color ${c.motionDurationSlow}`,"&:hover":{color:c.colorTextTertiary},"&:active":{color:c.colorText},"&-hidden":{visibility:"hidden"},"&-has-suffix":{margin:`0 ${c.inputAffixPadding}px`}}}},w=c=>{const{componentCls:s,inputAffixPadding:x,colorTextDescription:T,motionDurationSlow:J,colorIcon:q,colorIconHover:G,iconCls:H}=c;return{[`${s}-affix-wrapper`]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},n(c)),{display:"inline-flex",[`&:not(${s}-affix-wrapper-disabled):hover`]:Object.assign(Object.assign({},K(c)),{zIndex:1,[`${s}-search-with-button &`]:{zIndex:0}}),"&-focused, &:focus":{zIndex:1},"&-disabled":{[`${s}[disabled]`]:{background:"transparent"}},[`> input${s}`]:{padding:0,fontSize:"inherit",border:"none",borderRadius:0,outline:"none","&::-ms-reveal":{display:"none"},"&:focus":{boxShadow:"none !important"}},"&::before":{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'},[`${s}`]:{"&-prefix, &-suffix":{display:"flex",flex:"none",alignItems:"center","> *:not(:last-child)":{marginInlineEnd:c.paddingXS}},"&-show-count-suffix":{color:T},"&-show-count-has-suffix":{marginInlineEnd:c.paddingXXS},"&-prefix":{marginInlineEnd:x},"&-suffix":{marginInlineStart:x}}}),l(c)),{[`${H}${s}-password-icon`]:{color:q,cursor:"pointer",transition:`all ${J}`,"&:hover":{color:G}}}),v(c,`${s}-affix-wrapper`))}},k=c=>{const{componentCls:s,colorError:x,colorWarning:T,borderRadiusLG:J,borderRadiusSM:q}=c;return{[`${s}-group`]:Object.assign(Object.assign(Object.assign({},(0,b.Wf)(c)),r(c)),{"&-rtl":{direction:"rtl"},"&-wrapper":{display:"inline-block",width:"100%",textAlign:"start",verticalAlign:"top","&-rtl":{direction:"rtl"},"&-lg":{[`${s}-group-addon`]:{borderRadius:J,fontSize:c.fontSizeLG}},"&-sm":{[`${s}-group-addon`]:{borderRadius:q}},"&-status-error":{[`${s}-group-addon`]:{color:x,borderColor:x}},"&-status-warning":{[`${s}-group-addon`]:{color:T,borderColor:T}},"&-disabled":{[`${s}-group-addon`]:Object.assign({},W(c))},[`&:not(${s}-compact-first-item):not(${s}-compact-last-item)${s}-compact-item`]:{[`${s}, ${s}-group-addon`]:{borderRadius:0}},[`&:not(${s}-compact-last-item)${s}-compact-first-item`]:{[`${s}, ${s}-group-addon`]:{borderStartEndRadius:0,borderEndEndRadius:0}},[`&:not(${s}-compact-first-item)${s}-compact-last-item`]:{[`${s}, ${s}-group-addon`]:{borderStartStartRadius:0,borderEndStartRadius:0}}}})}},E=c=>{const{componentCls:s,antCls:x}=c,T=`${s}-search`;return{[T]:{[`${s}`]:{"&:hover, &:focus":{borderColor:c.colorPrimaryHover,[`+ ${s}-group-addon ${T}-button:not(${x}-btn-primary)`]:{borderInlineStartColor:c.colorPrimaryHover}}},[`${s}-affix-wrapper`]:{borderRadius:0},[`${s}-lg`]:{lineHeight:c.lineHeightLG-2e-4},[`> ${s}-group`]:{[`> ${s}-group-addon:last-child`]:{insetInlineStart:-1,padding:0,border:0,[`${T}-button`]:{paddingTop:0,paddingBottom:0,borderStartStartRadius:0,borderStartEndRadius:c.borderRadius,borderEndEndRadius:c.borderRadius,borderEndStartRadius:0,boxShadow:"none"},[`${T}-button:not(${x}-btn-primary)`]:{color:c.colorTextDescription,"&:hover":{color:c.colorPrimaryHover},"&:active":{color:c.colorPrimaryActive},[`&${x}-btn-loading::before`]:{insetInlineStart:0,insetInlineEnd:0,insetBlockStart:0,insetBlockEnd:0}}}},[`${T}-button`]:{height:c.controlHeight,"&:hover, &:focus":{zIndex:1}},[`&-large ${T}-button`]:{height:c.controlHeightLG},[`&-small ${T}-button`]:{height:c.controlHeightSM},"&-rtl":{direction:"rtl"},[`&${s}-compact-item`]:{[`&:not(${s}-compact-last-item)`]:{[`${s}-group-addon`]:{[`${s}-search-button`]:{marginInlineEnd:-c.lineWidth,borderRadius:0}}},[`&:not(${s}-compact-first-item)`]:{[`${s},${s}-affix-wrapper`]:{borderRadius:0}},[`> ${s}-group-addon ${s}-search-button,
|
|
> ${s},
|
|
${s}-affix-wrapper`]:{"&:hover,&:focus,&:active":{zIndex:2}},[`> ${s}-affix-wrapper-focused`]:{zIndex:2}}}}},g=c=>{const{componentCls:s,paddingLG:x}=c,T=`${s}-textarea`;return{[T]:{position:"relative","&-show-count":{[`> ${s}`]:{height:"100%"},[`${s}-data-count`]:{position:"absolute",bottom:-c.fontSize*c.lineHeight,insetInlineEnd:0,color:c.colorTextDescription,whiteSpace:"nowrap",pointerEvents:"none"}},"&-allow-clear":{[`> ${s}`]:{paddingInlineEnd:x}},[`&-affix-wrapper${T}-has-feedback`]:{[`${s}`]:{paddingInlineEnd:x}},[`&-affix-wrapper${s}-affix-wrapper`]:{padding:0,[`> textarea${s}`]:{fontSize:"inherit",border:"none",outline:"none","&:focus":{boxShadow:"none !important"}},[`${s}-suffix`]:{margin:0,"> *:not(:last-child)":{marginInline:0},[`${s}-clear-icon`]:{position:"absolute",insetInlineEnd:c.paddingXS,insetBlockStart:c.paddingXS},[`${T}-suffix`]:{position:"absolute",top:0,insetInlineEnd:c.paddingInline,bottom:0,zIndex:1,display:"inline-flex",alignItems:"center",margin:"auto",pointerEvents:"none"}}}}}};function O(c){return(0,D.TS)(c,{inputAffixPadding:c.paddingXXS})}const C=c=>{const{controlHeight:s,fontSize:x,lineHeight:T,lineWidth:J,controlHeightSM:q,controlHeightLG:G,fontSizeLG:H,lineHeightLG:$,paddingSM:p,controlPaddingHorizontalSM:z,controlPaddingHorizontal:I,colorFillAlter:B,colorPrimaryHover:P,controlOutlineWidth:i,controlOutline:a,colorErrorOutline:_,colorWarningOutline:F}=c;return{paddingBlock:Math.max(Math.round((s-x*T)/2*10)/10-J,3),paddingBlockSM:Math.max(Math.round((q-x*T)/2*10)/10-J,0),paddingBlockLG:Math.ceil((G-H*$)/2*10)/10-J,paddingInline:p-J,paddingInlineSM:z-J,paddingInlineLG:I-J,addonBg:B,activeBorderColor:P,hoverBorderColor:P,activeShadow:`0 0 0 ${i}px ${a}`,errorActiveShadow:`0 0 0 ${i}px ${_}`,warningActiveShadow:`0 0 0 ${i}px ${F}`}};fe.ZP=(0,V.Z)("Input",c=>{const s=(0,D.TS)(c,O(c));return[o(s),g(s),w(s),k(s),E(s),(0,m.c)(s)]},C)},45818:function(We,fe,t){"use strict";t.d(fe,{D:function(){return O},Z:function(){return s}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(T,J){return m.createElement(Z.Z,(0,b.Z)({},T,{ref:J,icon:V}))},u=m.forwardRef(K),W=u,e=t(33853),h=t(38819),v=t(92310),n=t.n(v),r=t(2738),l=x=>!isNaN(parseFloat(x))&&isFinite(x),w=t(36355),k=t(84966),E=function(x,T){var J={};for(var q in x)Object.prototype.hasOwnProperty.call(x,q)&&T.indexOf(q)<0&&(J[q]=x[q]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,q=Object.getOwnPropertySymbols(x);G<q.length;G++)T.indexOf(q[G])<0&&Object.prototype.propertyIsEnumerable.call(x,q[G])&&(J[q[G]]=x[q[G]]);return J};const g={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},O=m.createContext({}),C=(()=>{let x=0;return function(){let T=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return x+=1,`${T}${x}`}})();var s=m.forwardRef((x,T)=>{const{prefixCls:J,className:q,trigger:G,children:H,defaultCollapsed:$=!1,theme:p="dark",style:z={},collapsible:I=!1,reverseArrow:B=!1,width:P=200,collapsedWidth:i=80,zeroWidthTriggerStyle:a,breakpoint:_,onCollapse:F,onBreakpoint:te}=x,ie=E(x,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),{siderHook:ae}=(0,m.useContext)(k.Gs),[he,we]=(0,m.useState)("collapsed"in x?x.collapsed:$),[Ke,Ie]=(0,m.useState)(!1);(0,m.useEffect)(()=>{"collapsed"in x&&we(x.collapsed)},[x.collapsed]);const ke=(L,U)=>{"collapsed"in x||we(L),F==null||F(L,U)},Xe=(0,m.useRef)();Xe.current=L=>{Ie(L.matches),te==null||te(L.matches),he!==L.matches&&ke(L.matches,"responsive")},(0,m.useEffect)(()=>{function L(M){return Xe.current(M)}let U;if(typeof window!="undefined"){const{matchMedia:M}=window;if(M&&_&&_ in g){U=M(`(max-width: ${g[_]})`);try{U.addEventListener("change",L)}catch(R){U.addListener(L)}L(U)}}return()=>{try{U==null||U.removeEventListener("change",L)}catch(M){U==null||U.removeListener(L)}}},[_]),(0,m.useEffect)(()=>{const L=C("ant-sider-");return ae.addSider(L),()=>ae.removeSider(L)},[]);const Oe=()=>{ke(!he,"clickTrigger")},{getPrefixCls:Ce}=(0,m.useContext)(w.E_),le=()=>{const L=Ce("layout-sider",J),U=(0,r.Z)(ie,["collapsed"]),M=he?i:P,R=l(M)?`${M}px`:String(M),ee=parseFloat(String(i||0))===0?m.createElement("span",{onClick:Oe,className:n()(`${L}-zero-width-trigger`,`${L}-zero-width-trigger-${B?"right":"left"}`),style:a},G||m.createElement(W,null)):null,f={expanded:B?m.createElement(h.Z,null):m.createElement(e.Z,null),collapsed:B?m.createElement(e.Z,null):m.createElement(h.Z,null)}[he?"collapsed":"expanded"],X=G!==null?ee||m.createElement("div",{className:`${L}-trigger`,onClick:Oe,style:{width:R}},G||f):null,j=Object.assign(Object.assign({},z),{flex:`0 0 ${R}`,maxWidth:R,minWidth:R,width:R}),A=n()(L,`${L}-${p}`,{[`${L}-collapsed`]:!!he,[`${L}-has-trigger`]:I&&G!==null&&!ee,[`${L}-below`]:!!Ke,[`${L}-zero-width`]:parseFloat(R)===0},q);return m.createElement("aside",Object.assign({className:A},U,{style:j,ref:T}),m.createElement("div",{className:`${L}-children`},H),I||Ke&&ee?X:null)},se=m.useMemo(()=>({siderCollapsed:he}),[he]);return m.createElement(O.Provider,{value:se},le())})},84966:function(We,fe,t){"use strict";t.d(fe,{VY:function(){return O},$_:function(){return g},h4:function(){return E},Gs:function(){return r},ZP:function(){return C}});var b=t(26407),m=t(92310),D=t.n(m),V=t(2738),Z=t(59301),K=t(36355),u=t(83116),e=c=>{const{componentCls:s,bodyBg:x,lightSiderBg:T,lightTriggerBg:J,lightTriggerColor:q}=c;return{[`${s}-sider-light`]:{background:T,[`${s}-sider-trigger`]:{color:q,background:J},[`${s}-sider-zero-width-trigger`]:{color:q,background:J,border:`1px solid ${x}`,borderInlineStart:0}}}};const h=c=>{const{antCls:s,componentCls:x,colorText:T,triggerColor:J,footerBg:q,triggerBg:G,headerHeight:H,headerPadding:$,headerColor:p,footerPadding:z,triggerHeight:I,zeroTriggerHeight:B,zeroTriggerWidth:P,motionDurationMid:i,motionDurationSlow:a,fontSize:_,borderRadius:F,bodyBg:te,headerBg:ie,siderBg:ae}=c;return{[x]:Object.assign(Object.assign({display:"flex",flex:"auto",flexDirection:"column",minHeight:0,background:te,"&, *":{boxSizing:"border-box"},[`&${x}-has-sider`]:{flexDirection:"row",[`> ${x}, > ${x}-content`]:{width:0}},[`${x}-header, &${x}-footer`]:{flex:"0 0 auto"},[`${x}-sider`]:{position:"relative",minWidth:0,background:ae,transition:`all ${i}, background 0s`,"&-children":{height:"100%",marginTop:-.1,paddingTop:.1,[`${s}-menu${s}-menu-inline-collapsed`]:{width:"auto"}},"&-has-trigger":{paddingBottom:I},"&-right":{order:1},"&-trigger":{position:"fixed",bottom:0,zIndex:1,height:I,color:J,lineHeight:`${I}px`,textAlign:"center",background:G,cursor:"pointer",transition:`all ${i}`},"&-zero-width":{"> *":{overflow:"hidden"},"&-trigger":{position:"absolute",top:H,insetInlineEnd:-P,zIndex:1,width:P,height:B,color:J,fontSize:c.fontSizeXL,display:"flex",alignItems:"center",justifyContent:"center",background:ae,borderStartStartRadius:0,borderStartEndRadius:F,borderEndEndRadius:F,borderEndStartRadius:0,cursor:"pointer",transition:`background ${a} ease`,"&::after":{position:"absolute",inset:0,background:"transparent",transition:`all ${a}`,content:'""'},"&:hover::after":{background:"rgba(255, 255, 255, 0.2)"},"&-right":{insetInlineStart:-P,borderStartStartRadius:F,borderStartEndRadius:0,borderEndEndRadius:0,borderEndStartRadius:F}}}}},e(c)),{"&-rtl":{direction:"rtl"}}),[`${x}-header`]:{height:H,padding:$,color:p,lineHeight:`${H}px`,background:ie,[`${s}-menu`]:{lineHeight:"inherit"}},[`${x}-footer`]:{padding:z,color:T,fontSize:_,background:q},[`${x}-content`]:{flex:"auto",minHeight:0}}};var v=(0,u.Z)("Layout",c=>[h(c)],c=>{const{colorBgLayout:s,controlHeight:x,controlHeightLG:T,colorText:J,controlHeightSM:q,marginXXS:G,colorTextLightSolid:H,colorBgContainer:$}=c,p=T*1.25;return{colorBgHeader:"#001529",colorBgBody:s,colorBgTrigger:"#002140",bodyBg:s,headerBg:"#001529",headerHeight:x*2,headerPadding:`0 ${p}px`,headerColor:J,footerPadding:`${q}px ${p}px`,footerBg:s,siderBg:"#001529",triggerHeight:T+G*2,triggerBg:"#002140",triggerColor:H,zeroTriggerWidth:T,zeroTriggerHeight:T,lightSiderBg:$,lightTriggerBg:$,lightTriggerColor:J}},{deprecatedTokens:[["colorBgBody","bodyBg"],["colorBgHeader","headerBg"],["colorBgTrigger","triggerBg"]]}),n=function(c,s){var x={};for(var T in c)Object.prototype.hasOwnProperty.call(c,T)&&s.indexOf(T)<0&&(x[T]=c[T]);if(c!=null&&typeof Object.getOwnPropertySymbols=="function")for(var J=0,T=Object.getOwnPropertySymbols(c);J<T.length;J++)s.indexOf(T[J])<0&&Object.prototype.propertyIsEnumerable.call(c,T[J])&&(x[T[J]]=c[T[J]]);return x};const r=Z.createContext({siderHook:{addSider:()=>null,removeSider:()=>null}});function o(c){let{suffixCls:s,tagName:x,displayName:T}=c;return J=>Z.forwardRef((G,H)=>Z.createElement(J,Object.assign({ref:H,suffixCls:s,tagName:x},G)))}const l=Z.forwardRef((c,s)=>{const{prefixCls:x,suffixCls:T,className:J,tagName:q}=c,G=n(c,["prefixCls","suffixCls","className","tagName"]),{getPrefixCls:H}=Z.useContext(K.E_),$=H("layout",x),[p,z]=v($),I=T?`${$}-${T}`:$;return p(Z.createElement(q,Object.assign({className:D()(x||I,J,z),ref:s},G)))}),w=Z.forwardRef((c,s)=>{const{direction:x}=Z.useContext(K.E_),[T,J]=Z.useState([]),{prefixCls:q,className:G,rootClassName:H,children:$,hasSider:p,tagName:z,style:I}=c,B=n(c,["prefixCls","className","rootClassName","children","hasSider","tagName","style"]),P=(0,V.Z)(B,["suffixCls"]),{getPrefixCls:i,layout:a}=Z.useContext(K.E_),_=i("layout",q),[F,te]=v(_),ie=D()(_,{[`${_}-has-sider`]:typeof p=="boolean"?p:T.length>0,[`${_}-rtl`]:x==="rtl"},a==null?void 0:a.className,G,H,te),ae=Z.useMemo(()=>({siderHook:{addSider:he=>{J(we=>[].concat((0,b.Z)(we),[he]))},removeSider:he=>{J(we=>we.filter(Ke=>Ke!==he))}}}),[]);return F(Z.createElement(r.Provider,{value:ae},Z.createElement(z,Object.assign({ref:s,className:ie,style:Object.assign(Object.assign({},a==null?void 0:a.style),I)},P),$)))}),k=o({tagName:"div",displayName:"Layout"})(w),E=o({suffixCls:"header",tagName:"header",displayName:"Header"})(l),g=o({suffixCls:"footer",tagName:"footer",displayName:"Footer"})(l),O=o({suffixCls:"content",tagName:"main",displayName:"Content"})(l);var C=k},40875:function(We,fe,t){"use strict";t.d(fe,{J:function(){return K}});var b=t(59301),m=t(33234),D=t(70425),V=function(u,W){var e={};for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&W.indexOf(h)<0&&(e[h]=u[h]);if(u!=null&&typeof Object.getOwnPropertySymbols=="function")for(var v=0,h=Object.getOwnPropertySymbols(u);v<h.length;v++)W.indexOf(h[v])<0&&Object.prototype.propertyIsEnumerable.call(u,h[v])&&(e[h[v]]=u[h[v]]);return e};const Z=b.createContext(null),K=b.forwardRef((u,W)=>{const{children:e}=u,h=V(u,["children"]),v=b.useContext(Z),n=b.useMemo(()=>Object.assign(Object.assign({},v),h),[v,h.prefixCls,h.mode,h.selectable]);return b.createElement(Z.Provider,{value:n},b.createElement(m.BR,null,(0,D.supportNodeRef)(e)?b.cloneElement(e,{ref:W}):e))});fe.Z=Z},20834:function(We,fe,t){"use strict";t.d(fe,{default:function(){return se}});var b=t(15285),m=t(59301),D=t(45818),V=t(92310),Z=t.n(V),K=t(36355),u=function(L,U){var M={};for(var R in L)Object.prototype.hasOwnProperty.call(L,R)&&U.indexOf(R)<0&&(M[R]=L[R]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,R=Object.getOwnPropertySymbols(L);ee<R.length;ee++)U.indexOf(R[ee])<0&&Object.prototype.propertyIsEnumerable.call(L,R[ee])&&(M[R[ee]]=L[R[ee]]);return M},e=L=>{const{prefixCls:U,className:M,dashed:R}=L,ee=u(L,["prefixCls","className","dashed"]),{getPrefixCls:y}=m.useContext(K.E_),d=y("menu",U),f=Z()({[`${d}-item-divider-dashed`]:!!R},M);return m.createElement(b.iz,Object.assign({className:f},ee))},h=t(11592),v=t(2738),n=t(6848),r=t(92343),l=(0,m.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),k=L=>{var U;const{className:M,children:R,icon:ee,title:y,danger:d}=L,{prefixCls:f,firstLevel:X,direction:j,disableMenuItemTitleTooltip:A,inlineCollapsed:Q}=m.useContext(l),ce=Ze=>{const De=m.createElement("span",{className:`${f}-title-content`},R);return(!ee||(0,r.l$)(R)&&R.type==="span")&&R&&Ze&&X&&typeof R=="string"?m.createElement("div",{className:`${f}-inline-collapsed-noicon`},R.charAt(0)):De},{siderCollapsed:re}=m.useContext(D.D);let oe=y;typeof y=="undefined"?oe=X?R:"":y===!1&&(oe="");const ve={title:oe};!re&&!Q&&(ve.title=null,ve.open=!1);const Ee=(0,h.Z)(R).length;let pe=m.createElement(b.ck,Object.assign({},(0,v.Z)(L,["title","icon","danger"]),{className:Z()({[`${f}-item-danger`]:d,[`${f}-item-only-child`]:(ee?Ee+1:Ee)===1},M),title:typeof y=="string"?y:void 0}),(0,r.Tm)(ee,{className:Z()((0,r.l$)(ee)?(U=ee.props)===null||U===void 0?void 0:U.className:"",`${f}-item-icon`)}),ce(Q));return A||(pe=m.createElement(n.Z,Object.assign({},ve,{placement:j==="rtl"?"left":"right",overlayClassName:`${f}-inline-collapsed-tooltip`}),pe)),pe},g=L=>{var U;const{popupClassName:M,icon:R,title:ee,theme:y}=L,d=m.useContext(l),{prefixCls:f,inlineCollapsed:X,theme:j}=d,A=(0,b.Xl)();let Q;if(!R)Q=X&&!A.length&&ee&&typeof ee=="string"?m.createElement("div",{className:`${f}-inline-collapsed-noicon`},ee.charAt(0)):m.createElement("span",{className:`${f}-title-content`},ee);else{const re=(0,r.l$)(ee)&&ee.type==="span";Q=m.createElement(m.Fragment,null,(0,r.Tm)(R,{className:Z()((0,r.l$)(R)?(U=R.props)===null||U===void 0?void 0:U.className:"",`${f}-item-icon`)}),re?ee:m.createElement("span",{className:`${f}-title-content`},ee))}const ce=m.useMemo(()=>Object.assign(Object.assign({},d),{firstLevel:!1}),[d]);return m.createElement(l.Provider,{value:ce},m.createElement(b.Wd,Object.assign({},(0,v.Z)(L,["icon"]),{title:Q,popupClassName:Z()(f,M,`${f}-${y||j}`)})))},O=t(18785),C=t(70425),c=t(62892),s=t(40875),x=function(L,U){var M={};for(var R in L)Object.prototype.hasOwnProperty.call(L,R)&&U.indexOf(R)<0&&(M[R]=L[R]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,R=Object.getOwnPropertySymbols(L);ee<R.length;ee++)U.indexOf(R[ee])<0&&Object.prototype.propertyIsEnumerable.call(L,R[ee])&&(M[R[ee]]=L[R[ee]]);return M};function T(L){return(L||[]).map((U,M)=>{if(U&&typeof U=="object"){const R=U,{label:ee,children:y,key:d,type:f}=R,X=x(R,["label","children","key","type"]),j=d!=null?d:`tmp-${M}`;return y||f==="group"?f==="group"?m.createElement(b.BW,Object.assign({key:j},X,{title:ee}),T(y)):m.createElement(g,Object.assign({key:j},X,{title:ee}),T(y)):f==="divider"?m.createElement(e,Object.assign({key:j},X)):m.createElement(k,Object.assign({key:j},X),ee)}return null}).filter(U=>U)}function J(L){return m.useMemo(()=>L&&T(L),[L])}var q=t(64993),G=t(17313),H=t(8378),$=t(13826),p=t(29878),z=t(83116),I=t(37613),P=L=>{const{componentCls:U,motionDurationSlow:M,horizontalLineHeight:R,colorSplit:ee,lineWidth:y,lineType:d,itemPaddingInline:f}=L;return{[`${U}-horizontal`]:{lineHeight:R,border:0,borderBottom:`${y}px ${d} ${ee}`,boxShadow:"none","&::after":{display:"block",clear:"both",height:0,content:'"\\20"'},[`${U}-item, ${U}-submenu`]:{position:"relative",display:"inline-block",verticalAlign:"bottom",paddingInline:f},[`> ${U}-item:hover,
|
|
> ${U}-item-active,
|
|
> ${U}-submenu ${U}-submenu-title:hover`]:{backgroundColor:"transparent"},[`${U}-item, ${U}-submenu-title`]:{transition:[`border-color ${M}`,`background ${M}`].join(",")},[`${U}-submenu-arrow`]:{display:"none"}}}},a=L=>{let{componentCls:U,menuArrowOffset:M}=L;return{[`${U}-rtl`]:{direction:"rtl"},[`${U}-submenu-rtl`]:{transformOrigin:"100% 0"},[`${U}-rtl${U}-vertical,
|
|
${U}-submenu-rtl ${U}-vertical`]:{[`${U}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateY(-${M})`},"&::after":{transform:`rotate(45deg) translateY(${M})`}}}}};const _=L=>Object.assign({},(0,G.oN)(L));var te=(L,U)=>{const{componentCls:M,itemColor:R,itemSelectedColor:ee,groupTitleColor:y,itemBg:d,subMenuItemBg:f,itemSelectedBg:X,activeBarHeight:j,activeBarWidth:A,activeBarBorderWidth:Q,motionDurationSlow:ce,motionEaseInOut:re,motionEaseOut:oe,itemPaddingInline:ve,motionDurationMid:Ee,itemHoverColor:pe,lineType:Ze,colorSplit:De,itemDisabledColor:Re,dangerItemColor:Qe,dangerItemHoverColor:Ue,dangerItemSelectedColor:st,dangerItemActiveBg:tt,dangerItemSelectedBg:Dt,itemHoverBg:Ct,itemActiveBg:Mt,menuSubMenuBg:Pt,horizontalItemSelectedColor:rn,horizontalItemSelectedBg:Tt,horizontalItemBorderRadius:Je,horizontalItemHoverBg:$t,popupBg:ut}=L;return{[`${M}-${U}, ${M}-${U} > ${M}`]:{color:R,background:d,[`&${M}-root:focus-visible`]:Object.assign({},_(L)),[`${M}-item-group-title`]:{color:y},[`${M}-submenu-selected`]:{[`> ${M}-submenu-title`]:{color:ee}},[`${M}-item-disabled, ${M}-submenu-disabled`]:{color:`${Re} !important`},[`${M}-item:not(${M}-item-selected):not(${M}-submenu-selected)`]:{[`&:hover, > ${M}-submenu-title:hover`]:{color:pe}},[`&:not(${M}-horizontal)`]:{[`${M}-item:not(${M}-item-selected)`]:{"&:hover":{backgroundColor:Ct},"&:active":{backgroundColor:Mt}},[`${M}-submenu-title`]:{"&:hover":{backgroundColor:Ct},"&:active":{backgroundColor:Mt}}},[`${M}-item-danger`]:{color:Qe,[`&${M}-item:hover`]:{[`&:not(${M}-item-selected):not(${M}-submenu-selected)`]:{color:Ue}},[`&${M}-item:active`]:{background:tt}},[`${M}-item a`]:{"&, &:hover":{color:"inherit"}},[`${M}-item-selected`]:{color:ee,[`&${M}-item-danger`]:{color:st},"a, a:hover":{color:"inherit"}},[`& ${M}-item-selected`]:{backgroundColor:X,[`&${M}-item-danger`]:{backgroundColor:Dt}},[`${M}-item, ${M}-submenu-title`]:{[`&:not(${M}-item-disabled):focus-visible`]:Object.assign({},_(L))},[`&${M}-submenu > ${M}`]:{backgroundColor:Pt},[`&${M}-popup > ${M}`]:{backgroundColor:ut},[`&${M}-horizontal`]:Object.assign(Object.assign({},U==="dark"?{borderBottom:0}:{}),{[`> ${M}-item, > ${M}-submenu`]:{top:Q,marginTop:-Q,marginBottom:0,borderRadius:Je,"&::after":{position:"absolute",insetInline:ve,bottom:0,borderBottom:`${j}px solid transparent`,transition:`border-color ${ce} ${re}`,content:'""'},"&:hover, &-active, &-open":{background:$t,"&::after":{borderBottomWidth:j,borderBottomColor:rn}},"&-selected":{color:rn,backgroundColor:Tt,"&:hover":{backgroundColor:Tt},"&::after":{borderBottomWidth:j,borderBottomColor:rn}}}}),[`&${M}-root`]:{[`&${M}-inline, &${M}-vertical`]:{borderInlineEnd:`${Q}px ${Ze} ${De}`}},[`&${M}-inline`]:{[`${M}-sub${M}-inline`]:{background:f},[`${M}-item, ${M}-submenu-title`]:Q&&A?{width:`calc(100% + ${Q}px)`}:{},[`${M}-item`]:{position:"relative","&::after":{position:"absolute",insetBlock:0,insetInlineEnd:0,borderInlineEnd:`${A}px solid ${ee}`,transform:"scaleY(0.0001)",opacity:0,transition:[`transform ${Ee} ${oe}`,`opacity ${Ee} ${oe}`].join(","),content:'""'},[`&${M}-item-danger`]:{"&::after":{borderInlineEndColor:st}}},[`${M}-selected, ${M}-item-selected`]:{"&::after":{transform:"scaleY(1)",opacity:1,transition:[`transform ${Ee} ${re}`,`opacity ${Ee} ${re}`].join(",")}}}}}};const ie=L=>{const{componentCls:U,itemHeight:M,itemMarginInline:R,padding:ee,menuArrowSize:y,marginXS:d,itemMarginBlock:f}=L,X=ee+y+d;return{[`${U}-item`]:{position:"relative",overflow:"hidden"},[`${U}-item, ${U}-submenu-title`]:{height:M,lineHeight:`${M}px`,paddingInline:ee,overflow:"hidden",textOverflow:"ellipsis",marginInline:R,marginBlock:f,width:`calc(100% - ${R*2}px)`},[`> ${U}-item,
|
|
> ${U}-submenu > ${U}-submenu-title`]:{height:M,lineHeight:`${M}px`},[`${U}-item-group-list ${U}-submenu-title,
|
|
${U}-submenu-title`]:{paddingInlineEnd:X}}};var he=L=>{const{componentCls:U,iconCls:M,itemHeight:R,colorTextLightSolid:ee,dropdownWidth:y,controlHeightLG:d,motionDurationMid:f,motionEaseOut:X,paddingXL:j,itemMarginInline:A,fontSizeLG:Q,motionDurationSlow:ce,paddingXS:re,boxShadowSecondary:oe,collapsedWidth:ve,collapsedIconSize:Ee}=L,pe={height:R,lineHeight:`${R}px`,listStylePosition:"inside",listStyleType:"disc"};return[{[U]:{"&-inline, &-vertical":Object.assign({[`&${U}-root`]:{boxShadow:"none"}},ie(L))},[`${U}-submenu-popup`]:{[`${U}-vertical`]:Object.assign(Object.assign({},ie(L)),{boxShadow:oe})}},{[`${U}-submenu-popup ${U}-vertical${U}-sub`]:{minWidth:y,maxHeight:`calc(100vh - ${d*2.5}px)`,padding:"0",overflow:"hidden",borderInlineEnd:0,"&:not([class*='-active'])":{overflowX:"hidden",overflowY:"auto"}}},{[`${U}-inline`]:{width:"100%",[`&${U}-root`]:{[`${U}-item, ${U}-submenu-title`]:{display:"flex",alignItems:"center",transition:[`border-color ${ce}`,`background ${ce}`,`padding ${f} ${X}`].join(","),[`> ${U}-title-content`]:{flex:"auto",minWidth:0,overflow:"hidden",textOverflow:"ellipsis"},"> *":{flex:"none"}}},[`${U}-sub${U}-inline`]:{padding:0,border:0,borderRadius:0,boxShadow:"none",[`& > ${U}-submenu > ${U}-submenu-title`]:pe,[`& ${U}-item-group-title`]:{paddingInlineStart:j}},[`${U}-item`]:pe}},{[`${U}-inline-collapsed`]:{width:ve,[`&${U}-root`]:{[`${U}-item, ${U}-submenu ${U}-submenu-title`]:{[`> ${U}-inline-collapsed-noicon`]:{fontSize:Q,textAlign:"center"}}},[`> ${U}-item,
|
|
> ${U}-item-group > ${U}-item-group-list > ${U}-item,
|
|
> ${U}-item-group > ${U}-item-group-list > ${U}-submenu > ${U}-submenu-title,
|
|
> ${U}-submenu > ${U}-submenu-title`]:{insetInlineStart:0,paddingInline:`calc(50% - ${Q/2}px - ${A}px)`,textOverflow:"clip",[`
|
|
${U}-submenu-arrow,
|
|
${U}-submenu-expand-icon
|
|
`]:{opacity:0},[`${U}-item-icon, ${M}`]:{margin:0,fontSize:Ee,lineHeight:`${R}px`,"+ span":{display:"inline-block",opacity:0}}},[`${U}-item-icon, ${M}`]:{display:"inline-block"},"&-tooltip":{pointerEvents:"none",[`${U}-item-icon, ${M}`]:{display:"none"},"a, a:hover":{color:ee}},[`${U}-item-group-title`]:Object.assign(Object.assign({},G.vS),{paddingInline:re})}}]};const we=L=>{const{componentCls:U,motionDurationSlow:M,motionDurationMid:R,motionEaseInOut:ee,motionEaseOut:y,iconCls:d,iconSize:f,iconMarginInlineEnd:X}=L;return{[`${U}-item, ${U}-submenu-title`]:{position:"relative",display:"block",margin:0,whiteSpace:"nowrap",cursor:"pointer",transition:[`border-color ${M}`,`background ${M}`,`padding ${M} ${ee}`].join(","),[`${U}-item-icon, ${d}`]:{minWidth:f,fontSize:f,transition:[`font-size ${R} ${y}`,`margin ${M} ${ee}`,`color ${M}`].join(","),"+ span":{marginInlineStart:X,opacity:1,transition:[`opacity ${M} ${ee}`,`margin ${M}`,`color ${M}`].join(",")}},[`${U}-item-icon`]:Object.assign({},(0,G.Ro)()),[`&${U}-item-only-child`]:{[`> ${d}, > ${U}-item-icon`]:{marginInlineEnd:0}}},[`${U}-item-disabled, ${U}-submenu-disabled`]:{background:"none !important",cursor:"not-allowed","&::after":{borderColor:"transparent !important"},a:{color:"inherit !important"},[`> ${U}-submenu-title`]:{color:"inherit !important",cursor:"not-allowed"}}}},Ke=L=>{const{componentCls:U,motionDurationSlow:M,motionEaseInOut:R,borderRadius:ee,menuArrowSize:y,menuArrowOffset:d}=L;return{[`${U}-submenu`]:{"&-expand-icon, &-arrow":{position:"absolute",top:"50%",insetInlineEnd:L.margin,width:y,color:"currentcolor",transform:"translateY(-50%)",transition:`transform ${M} ${R}, opacity ${M}`},"&-arrow":{"&::before, &::after":{position:"absolute",width:y*.6,height:y*.15,backgroundColor:"currentcolor",borderRadius:ee,transition:[`background ${M} ${R}`,`transform ${M} ${R}`,`top ${M} ${R}`,`color ${M} ${R}`].join(","),content:'""'},"&::before":{transform:`rotate(45deg) translateY(-${d})`},"&::after":{transform:`rotate(-45deg) translateY(${d})`}}}}},Ie=L=>{const{antCls:U,componentCls:M,fontSize:R,motionDurationSlow:ee,motionDurationMid:y,motionEaseInOut:d,paddingXS:f,padding:X,colorSplit:j,lineWidth:A,zIndexPopup:Q,borderRadiusLG:ce,subMenuItemBorderRadius:re,menuArrowSize:oe,menuArrowOffset:ve,lineType:Ee,menuPanelMaskInset:pe,groupTitleLineHeight:Ze,groupTitleFontSize:De}=L;return[{"":{[`${M}`]:Object.assign(Object.assign({},(0,G.dF)()),{"&-hidden":{display:"none"}})},[`${M}-submenu-hidden`]:{display:"none"}},{[M]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,G.Wf)(L)),(0,G.dF)()),{marginBottom:0,paddingInlineStart:0,fontSize:R,lineHeight:0,listStyle:"none",outline:"none",transition:`width ${ee} cubic-bezier(0.2, 0, 0, 1) 0s`,"ul, ol":{margin:0,padding:0,listStyle:"none"},"&-overflow":{display:"flex",[`${M}-item`]:{flex:"none"}},[`${M}-item, ${M}-submenu, ${M}-submenu-title`]:{borderRadius:L.itemBorderRadius},[`${M}-item-group-title`]:{padding:`${f}px ${X}px`,fontSize:De,lineHeight:Ze,transition:`all ${ee}`},[`&-horizontal ${M}-submenu`]:{transition:[`border-color ${ee} ${d}`,`background ${ee} ${d}`].join(",")},[`${M}-submenu, ${M}-submenu-inline`]:{transition:[`border-color ${ee} ${d}`,`background ${ee} ${d}`,`padding ${y} ${d}`].join(",")},[`${M}-submenu ${M}-sub`]:{cursor:"initial",transition:[`background ${ee} ${d}`,`padding ${ee} ${d}`].join(",")},[`${M}-title-content`]:{transition:`color ${ee}`},[`${M}-item a`]:{"&::before":{position:"absolute",inset:0,backgroundColor:"transparent",content:'""'}},[`${M}-item-divider`]:{overflow:"hidden",lineHeight:0,borderColor:j,borderStyle:Ee,borderWidth:0,borderTopWidth:A,marginBlock:A,padding:0,"&-dashed":{borderStyle:"dashed"}}}),we(L)),{[`${M}-item-group`]:{[`${M}-item-group-list`]:{margin:0,padding:0,[`${M}-item, ${M}-submenu-title`]:{paddingInline:`${R*2}px ${X}px`}}},"&-submenu":{"&-popup":{position:"absolute",zIndex:Q,borderRadius:ce,boxShadow:"none",transformOrigin:"0 0",[`&${M}-submenu`]:{background:"transparent"},"&::before":{position:"absolute",inset:`${pe}px 0 0`,zIndex:-1,width:"100%",height:"100%",opacity:0,content:'""'}},"&-placement-rightTop::before":{top:0,insetInlineStart:pe},"\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:L.paddingXS},"\n &-placement-rightTop,\n &-placement-rightBottom\n ":{paddingInlineStart:L.paddingXS},"\n &-placement-topRight,\n &-placement-topLeft\n ":{paddingBottom:L.paddingXS},"\n &-placement-bottomRight,\n &-placement-bottomLeft\n ":{paddingTop:L.paddingXS},[`> ${M}`]:Object.assign(Object.assign(Object.assign({borderRadius:ce},we(L)),Ke(L)),{[`${M}-item, ${M}-submenu > ${M}-submenu-title`]:{borderRadius:re},[`${M}-submenu-title::after`]:{transition:`transform ${ee} ${d}`}})}}),Ke(L)),{[`&-inline-collapsed ${M}-submenu-arrow,
|
|
&-inline ${M}-submenu-arrow`]:{"&::before":{transform:`rotate(-45deg) translateX(${ve})`},"&::after":{transform:`rotate(45deg) translateX(-${ve})`}},[`${M}-submenu-open${M}-submenu-inline > ${M}-submenu-title > ${M}-submenu-arrow`]:{transform:`translateY(-${oe*.2}px)`,"&::after":{transform:`rotate(-45deg) translateX(-${ve})`},"&::before":{transform:`rotate(45deg) translateX(${ve})`}}})},{[`${U}-layout-header`]:{[M]:{lineHeight:"inherit"}}}]};var ke=(L,U)=>(0,z.Z)("Menu",R=>{if(U===!1)return[];const{colorBgElevated:ee,colorPrimary:y,colorTextLightSolid:d,controlHeightLG:f,fontSize:X,darkItemColor:j,darkDangerItemColor:A,darkItemBg:Q,darkSubMenuItemBg:ce,darkItemSelectedColor:re,darkItemSelectedBg:oe,darkDangerItemSelectedBg:ve,darkItemHoverBg:Ee,darkGroupTitleColor:pe,darkItemHoverColor:Ze,darkItemDisabledColor:De,darkDangerItemHoverColor:Re,darkDangerItemSelectedColor:Qe,darkDangerItemActiveBg:Ue}=R,st=X/7*5,tt=(0,I.TS)(R,{menuArrowSize:st,menuHorizontalHeight:f*1.15,menuArrowOffset:`${st*.25}px`,menuPanelMaskInset:-7,menuSubMenuBg:ee}),Dt=(0,I.TS)(tt,{itemColor:j,itemHoverColor:Ze,groupTitleColor:pe,itemSelectedColor:re,itemBg:Q,popupBg:Q,subMenuItemBg:ce,itemActiveBg:"transparent",itemSelectedBg:oe,activeBarHeight:0,activeBarBorderWidth:0,itemHoverBg:Ee,itemDisabledColor:De,dangerItemColor:A,dangerItemHoverColor:Re,dangerItemSelectedColor:Qe,dangerItemActiveBg:Ue,dangerItemSelectedBg:ve,menuSubMenuBg:ce,horizontalItemSelectedColor:d,horizontalItemSelectedBg:y});return[Ie(tt),P(tt),he(tt),te(tt,"light"),te(Dt,"dark"),a(tt),(0,H.Z)(tt),(0,$.oN)(tt,"slide-up"),(0,$.oN)(tt,"slide-down"),(0,p._y)(tt,"zoom-big")]},R=>{const{colorPrimary:ee,colorError:y,colorTextDisabled:d,colorErrorBg:f,colorText:X,colorTextDescription:j,colorBgContainer:A,colorFillAlter:Q,colorFillContent:ce,lineWidth:re,lineWidthBold:oe,controlItemBgActive:ve,colorBgTextHover:Ee,controlHeightLG:pe,lineHeight:Ze,colorBgElevated:De,marginXXS:Re,padding:Qe,fontSize:Ue,controlHeightSM:st,fontSizeLG:tt,colorTextLightSolid:Dt,colorErrorHover:Ct}=R,Mt=new q.C(Dt).setAlpha(.65).toRgbString();return{dropdownWidth:160,zIndexPopup:R.zIndexPopupBase+50,radiusItem:R.borderRadiusLG,itemBorderRadius:R.borderRadiusLG,radiusSubMenuItem:R.borderRadiusSM,subMenuItemBorderRadius:R.borderRadiusSM,colorItemText:X,itemColor:X,colorItemTextHover:X,itemHoverColor:X,colorItemTextHoverHorizontal:ee,horizontalItemHoverColor:ee,colorGroupTitle:j,groupTitleColor:j,colorItemTextSelected:ee,itemSelectedColor:ee,colorItemTextSelectedHorizontal:ee,horizontalItemSelectedColor:ee,colorItemBg:A,itemBg:A,colorItemBgHover:Ee,itemHoverBg:Ee,colorItemBgActive:ce,itemActiveBg:ve,colorSubItemBg:Q,subMenuItemBg:Q,colorItemBgSelected:ve,itemSelectedBg:ve,colorItemBgSelectedHorizontal:"transparent",horizontalItemSelectedBg:"transparent",colorActiveBarWidth:0,activeBarWidth:0,colorActiveBarHeight:oe,activeBarHeight:oe,colorActiveBarBorderSize:re,activeBarBorderWidth:re,colorItemTextDisabled:d,itemDisabledColor:d,colorDangerItemText:y,dangerItemColor:y,colorDangerItemTextHover:y,dangerItemHoverColor:y,colorDangerItemTextSelected:y,dangerItemSelectedColor:y,colorDangerItemBgActive:f,dangerItemActiveBg:f,colorDangerItemBgSelected:f,dangerItemSelectedBg:f,itemMarginInline:R.marginXXS,horizontalItemBorderRadius:0,horizontalItemHoverBg:"transparent",itemHeight:pe,groupTitleLineHeight:Ze,collapsedWidth:pe*2,popupBg:De,itemMarginBlock:Re,itemPaddingInline:Qe,horizontalLineHeight:`${pe*1.15}px`,iconSize:Ue,iconMarginInlineEnd:st-Ue,collapsedIconSize:tt,groupTitleFontSize:Ue,darkItemDisabledColor:new q.C(Dt).setAlpha(.25).toRgbString(),darkItemColor:Mt,darkDangerItemColor:y,darkItemBg:"#001529",darkSubMenuItemBg:"#000c17",darkItemSelectedColor:Dt,darkItemSelectedBg:ee,darkDangerItemSelectedBg:y,darkItemHoverBg:"transparent",darkGroupTitleColor:Mt,darkItemHoverColor:Dt,darkDangerItemHoverColor:Ct,darkDangerItemSelectedColor:Dt,darkDangerItemActiveBg:y}},{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"]]})(L),Xe=function(L,U){var M={};for(var R in L)Object.prototype.hasOwnProperty.call(L,R)&&U.indexOf(R)<0&&(M[R]=L[R]);if(L!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ee=0,R=Object.getOwnPropertySymbols(L);ee<R.length;ee++)U.indexOf(R[ee])<0&&Object.prototype.propertyIsEnumerable.call(L,R[ee])&&(M[R[ee]]=L[R[ee]]);return M},Ce=(0,m.forwardRef)((L,U)=>{var M,R;const ee=m.useContext(s.Z),y=ee||{},{getPrefixCls:d,getPopupContainer:f,direction:X,menu:j}=m.useContext(K.E_),A=d(),{prefixCls:Q,className:ce,style:re,theme:oe="light",expandIcon:ve,_internalDisableMenuItemTitleTooltip:Ee,inlineCollapsed:pe,siderCollapsed:Ze,items:De,children:Re,rootClassName:Qe,mode:Ue,selectable:st,onClick:tt,overflowedIndicatorPopupClassName:Dt}=L,Ct=Xe(L,["prefixCls","className","style","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","rootClassName","mode","selectable","onClick","overflowedIndicatorPopupClassName"]),Mt=(0,v.Z)(Ct,["collapsedWidth"]),Pt=J(De)||Re;(M=y.validator)===null||M===void 0||M.call(y,{mode:Ue});const rn=(0,C.useEvent)(function(){var Ln;tt==null||tt.apply(void 0,arguments),(Ln=y.onClick)===null||Ln===void 0||Ln.call(y)}),Tt=y.mode||Ue,Je=st!=null?st:y.selectable,$t=m.useMemo(()=>Ze!==void 0?Ze:pe,[pe,Ze]),ut={horizontal:{motionName:`${A}-slide-up`},inline:(0,c.Z)(A),other:{motionName:`${A}-zoom-big`}},ht=d("menu",Q||y.prefixCls),[Xt,an]=ke(ht,!ee),Dn=Z()(`${ht}-${oe}`,j==null?void 0:j.className,ce);let yn;if(typeof ve=="function")yn=ve;else if(ve===null||ve===!1)yn=null;else if(y.expandIcon===null||y.expandIcon===!1)yn=null;else{const Ln=ve!=null?ve:y.expandIcon;yn=(0,r.Tm)(Ln,{className:Z()(`${ht}-submenu-expand-icon`,(0,r.l$)(Ln)?(R=Ln.props)===null||R===void 0?void 0:R.className:"")})}const On=m.useMemo(()=>({prefixCls:ht,inlineCollapsed:$t||!1,direction:X,firstLevel:!0,theme:oe,mode:Tt,disableMenuItemTitleTooltip:Ee}),[ht,$t,X,Ee,oe]);return Xt(m.createElement(s.Z.Provider,{value:null},m.createElement(l.Provider,{value:On},m.createElement(b.ZP,Object.assign({getPopupContainer:f,overflowedIndicator:m.createElement(O.Z,null),overflowedIndicatorPopupClassName:Z()(ht,`${ht}-${oe}`,Dt),mode:Tt,selectable:Je,onClick:rn},Mt,{inlineCollapsed:$t,style:Object.assign(Object.assign({},j==null?void 0:j.style),re),className:Dn,prefixCls:ht,direction:X,defaultMotions:ut,expandIcon:yn,ref:U,rootClassName:Z()(Qe,an)}),Pt))))});const le=(0,m.forwardRef)((L,U)=>{const M=(0,m.useRef)(null),R=m.useContext(D.D);return(0,m.useImperativeHandle)(U,()=>({menu:M.current,focus:ee=>{var y;(y=M.current)===null||y===void 0||y.focus(ee)}})),m.createElement(Ce,Object.assign({ref:M},L,R))});le.Item=k,le.SubMenu=g,le.Divider=e,le.ItemGroup=b.BW;var se=le},58421:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return y}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(f,X){return m.createElement(Z.Z,(0,b.Z)({},f,{ref:X,icon:V}))},u=m.forwardRef(K),W=u,e=t(49198),h=t(33853),v=t(38819),n=t(92310),r=t.n(n),o=t(400),l=t(33708),w=t(6909),k=t(4771),E=t(9427),g=t(25440),O=t(26112),C={ZERO:48,NINE:57,NUMPAD_ZERO:96,NUMPAD_NINE:105,BACKSPACE:8,DELETE:46,ENTER:13,ARROW_UP:38,ARROW_DOWN:40},c=C,s=t(91735),x=function(d){(0,E.Z)(X,d);var f=(0,g.Z)(X);function X(){var j;(0,w.Z)(this,X);for(var A=arguments.length,Q=new Array(A),ce=0;ce<A;ce++)Q[ce]=arguments[ce];return j=f.call.apply(f,[this].concat(Q)),j.state={goInputText:""},j.getValidValue=function(){var re=j.state.goInputText;return!re||Number.isNaN(re)?void 0:Number(re)},j.buildOptionText=function(re){return"".concat(re," ").concat(j.props.locale.items_per_page)},j.changeSize=function(re){j.props.changeSize(Number(re))},j.handleChange=function(re){j.setState({goInputText:re.target.value})},j.handleBlur=function(re){var oe=j.props,ve=oe.goButton,Ee=oe.quickGo,pe=oe.rootPrefixCls,Ze=j.state.goInputText;ve||Ze===""||(j.setState({goInputText:""}),!(re.relatedTarget&&(re.relatedTarget.className.indexOf("".concat(pe,"-item-link"))>=0||re.relatedTarget.className.indexOf("".concat(pe,"-item"))>=0))&&Ee(j.getValidValue()))},j.go=function(re){var oe=j.state.goInputText;oe!==""&&(re.keyCode===c.ENTER||re.type==="click")&&(j.setState({goInputText:""}),j.props.quickGo(j.getValidValue()))},j}return(0,k.Z)(X,[{key:"getPageSizeOptions",value:function(){var A=this.props,Q=A.pageSize,ce=A.pageSizeOptions;return ce.some(function(re){return re.toString()===Q.toString()})?ce:ce.concat([Q.toString()]).sort(function(re,oe){var ve=Number.isNaN(Number(re))?0:Number(re),Ee=Number.isNaN(Number(oe))?0:Number(oe);return ve-Ee})}},{key:"render",value:function(){var A=this,Q=this.props,ce=Q.pageSize,re=Q.locale,oe=Q.rootPrefixCls,ve=Q.changeSize,Ee=Q.quickGo,pe=Q.goButton,Ze=Q.selectComponentClass,De=Q.buildOptionText,Re=Q.selectPrefixCls,Qe=Q.disabled,Ue=this.state.goInputText,st="".concat(oe,"-options"),tt=Ze,Dt=null,Ct=null,Mt=null;if(!ve&&!Ee)return null;var Pt=this.getPageSizeOptions();if(ve&&tt){var rn=Pt.map(function(Tt,Je){return m.createElement(tt.Option,{key:Je,value:Tt.toString()},(De||A.buildOptionText)(Tt))});Dt=m.createElement(tt,{disabled:Qe,prefixCls:Re,showSearch:!1,className:"".concat(st,"-size-changer"),optionLabelProp:"children",popupMatchSelectWidth:!1,value:(ce||Pt[0]).toString(),onChange:this.changeSize,getPopupContainer:function(Je){return Je.parentNode},"aria-label":re.page_size,defaultOpen:!1},rn)}return Ee&&(pe&&(Mt=typeof pe=="boolean"?m.createElement("button",{type:"button",onClick:this.go,onKeyUp:this.go,disabled:Qe,className:"".concat(st,"-quick-jumper-button")},re.jump_to_confirm):m.createElement("span",{onClick:this.go,onKeyUp:this.go},pe)),Ct=m.createElement("div",{className:"".concat(st,"-quick-jumper")},re.jump_to,m.createElement("input",{disabled:Qe,type:"text",value:Ue,onChange:this.handleChange,onKeyUp:this.go,onBlur:this.handleBlur,"aria-label":re.page}),re.page,Mt)),m.createElement("li",{className:"".concat(st)},Dt,Ct)}}]),X}(m.Component);x.defaultProps={pageSizeOptions:["10","20","50","100"]};var T=x,J=function(f){var X,j=f.rootPrefixCls,A=f.page,Q=f.active,ce=f.className,re=f.showTitle,oe=f.onClick,ve=f.onKeyPress,Ee=f.itemRender,pe="".concat(j,"-item"),Ze=r()(pe,"".concat(pe,"-").concat(A),(X={},(0,o.Z)(X,"".concat(pe,"-active"),Q),(0,o.Z)(X,"".concat(pe,"-disabled"),!A),(0,o.Z)(X,f.className,ce),X)),De=function(){oe(A)},Re=function(st){ve(st,oe,A)},Qe=Ee(A,"page",m.createElement("a",{rel:"nofollow"},A));return Qe?m.createElement("li",{title:re?A.toString():null,className:Ze,onClick:De,onKeyPress:Re,tabIndex:0},Qe):null},q=J;function G(){}function H(d){var f=Number(d);return typeof f=="number"&&!Number.isNaN(f)&&isFinite(f)&&Math.floor(f)===f}var $=function(f,X,j){return j};function p(d,f,X){var j=typeof d=="undefined"?f.pageSize:d;return Math.floor((X.total-1)/j)+1}var z=function(d){(0,E.Z)(X,d);var f=(0,g.Z)(X);function X(j){var A;(0,w.Z)(this,X),A=f.call(this,j),A.paginationNode=m.createRef(),A.getJumpPrevPage=function(){return Math.max(1,A.state.current-(A.props.showLessItems?3:5))},A.getJumpNextPage=function(){return Math.min(p(void 0,A.state,A.props),A.state.current+(A.props.showLessItems?3:5))},A.getItemIcon=function(ve,Ee){var pe=A.props.prefixCls,Ze=ve||m.createElement("button",{type:"button","aria-label":Ee,className:"".concat(pe,"-item-link")});return typeof ve=="function"&&(Ze=m.createElement(ve,(0,l.Z)({},A.props))),Ze},A.isValid=function(ve){var Ee=A.props.total;return H(ve)&&ve!==A.state.current&&H(Ee)&&Ee>0},A.shouldDisplayQuickJumper=function(){var ve=A.props,Ee=ve.showQuickJumper,pe=ve.total,Ze=A.state.pageSize;return pe<=Ze?!1:Ee},A.handleKeyDown=function(ve){(ve.keyCode===c.ARROW_UP||ve.keyCode===c.ARROW_DOWN)&&ve.preventDefault()},A.handleKeyUp=function(ve){var Ee=A.getValidValue(ve),pe=A.state.currentInputValue;Ee!==pe&&A.setState({currentInputValue:Ee}),ve.keyCode===c.ENTER?A.handleChange(Ee):ve.keyCode===c.ARROW_UP?A.handleChange(Ee-1):ve.keyCode===c.ARROW_DOWN&&A.handleChange(Ee+1)},A.handleBlur=function(ve){var Ee=A.getValidValue(ve);A.handleChange(Ee)},A.changePageSize=function(ve){var Ee=A.state.current,pe=p(ve,A.state,A.props);Ee=Ee>pe?pe:Ee,pe===0&&(Ee=A.state.current),typeof ve=="number"&&("pageSize"in A.props||A.setState({pageSize:ve}),"current"in A.props||A.setState({current:Ee,currentInputValue:Ee})),A.props.onShowSizeChange(Ee,ve),"onChange"in A.props&&A.props.onChange&&A.props.onChange(Ee,ve)},A.handleChange=function(ve){var Ee=A.props,pe=Ee.disabled,Ze=Ee.onChange,De=A.state,Re=De.pageSize,Qe=De.current,Ue=De.currentInputValue;if(A.isValid(ve)&&!pe){var st=p(void 0,A.state,A.props),tt=ve;return ve>st?tt=st:ve<1&&(tt=1),"current"in A.props||A.setState({current:tt}),tt!==Ue&&A.setState({currentInputValue:tt}),Ze(tt,Re),tt}return Qe},A.prev=function(){A.hasPrev()&&A.handleChange(A.state.current-1)},A.next=function(){A.hasNext()&&A.handleChange(A.state.current+1)},A.jumpPrev=function(){A.handleChange(A.getJumpPrevPage())},A.jumpNext=function(){A.handleChange(A.getJumpNextPage())},A.hasPrev=function(){return A.state.current>1},A.hasNext=function(){return A.state.current<p(void 0,A.state,A.props)},A.runIfEnter=function(ve,Ee){if(ve.key==="Enter"||ve.charCode===13){for(var pe=arguments.length,Ze=new Array(pe>2?pe-2:0),De=2;De<pe;De++)Ze[De-2]=arguments[De];Ee.apply(void 0,Ze)}},A.runIfEnterPrev=function(ve){A.runIfEnter(ve,A.prev)},A.runIfEnterNext=function(ve){A.runIfEnter(ve,A.next)},A.runIfEnterJumpPrev=function(ve){A.runIfEnter(ve,A.jumpPrev)},A.runIfEnterJumpNext=function(ve){A.runIfEnter(ve,A.jumpNext)},A.handleGoTO=function(ve){(ve.keyCode===c.ENTER||ve.type==="click")&&A.handleChange(A.state.currentInputValue)},A.renderPrev=function(ve){var Ee=A.props,pe=Ee.prevIcon,Ze=Ee.itemRender,De=Ze(ve,"prev",A.getItemIcon(pe,"prev page")),Re=!A.hasPrev();return(0,m.isValidElement)(De)?(0,m.cloneElement)(De,{disabled:Re}):De},A.renderNext=function(ve){var Ee=A.props,pe=Ee.nextIcon,Ze=Ee.itemRender,De=Ze(ve,"next",A.getItemIcon(pe,"next page")),Re=!A.hasNext();return(0,m.isValidElement)(De)?(0,m.cloneElement)(De,{disabled:Re}):De};var Q=j.onChange!==G,ce="current"in j;ce&&!Q&&console.warn("Warning: You provided a `current` prop to a Pagination component without an `onChange` handler. This will render a read-only component.");var re=j.defaultCurrent;"current"in j&&(re=j.current);var oe=j.defaultPageSize;return"pageSize"in j&&(oe=j.pageSize),re=Math.min(re,p(oe,void 0,j)),A.state={current:re,currentInputValue:re,pageSize:oe},A}return(0,k.Z)(X,[{key:"componentDidUpdate",value:function(A,Q){var ce=this.props.prefixCls;if(Q.current!==this.state.current&&this.paginationNode.current){var re=this.paginationNode.current.querySelector(".".concat(ce,"-item-").concat(Q.current));if(re&&document.activeElement===re){var oe;re==null||(oe=re.blur)===null||oe===void 0||oe.call(re)}}}},{key:"getValidValue",value:function(A){var Q=A.target.value,ce=p(void 0,this.state,this.props),re=this.state.currentInputValue,oe;return Q===""?oe=Q:Number.isNaN(Number(Q))?oe=re:Q>=ce?oe=ce:oe=Number(Q),oe}},{key:"getShowSizeChanger",value:function(){var A=this.props,Q=A.showSizeChanger,ce=A.total,re=A.totalBoundaryShowSizeChanger;return typeof Q!="undefined"?Q:ce>re}},{key:"render",value:function(){var A=this.props,Q=A.prefixCls,ce=A.className,re=A.style,oe=A.disabled,ve=A.hideOnSinglePage,Ee=A.total,pe=A.locale,Ze=A.showQuickJumper,De=A.showLessItems,Re=A.showTitle,Qe=A.showTotal,Ue=A.simple,st=A.itemRender,tt=A.showPrevNextJumpers,Dt=A.jumpPrevIcon,Ct=A.jumpNextIcon,Mt=A.selectComponentClass,Pt=A.selectPrefixCls,rn=A.pageSizeOptions,Tt=this.state,Je=Tt.current,$t=Tt.pageSize,ut=Tt.currentInputValue;if(ve===!0&&Ee<=$t)return null;var ht=p(void 0,this.state,this.props),Xt=[],an=null,Dn=null,yn=null,On=null,Ln=null,In=Ze&&Ze.goButton,Bn=De?1:2,zt=Je-1>0?Je-1:0,Nt=Je+1<ht?Je+1:ht,cn=(0,O.Z)(this.props,{aria:!0,data:!0}),zn=Qe&&m.createElement("li",{className:"".concat(Q,"-total-text")},Qe(Ee,[Ee===0?0:(Je-1)*$t+1,Je*$t>Ee?Ee:Je*$t]));if(Ue){In&&(typeof In=="boolean"?Ln=m.createElement("button",{type:"button",onClick:this.handleGoTO,onKeyUp:this.handleGoTO},pe.jump_to_confirm):Ln=m.createElement("span",{onClick:this.handleGoTO,onKeyUp:this.handleGoTO},In),Ln=m.createElement("li",{title:Re?"".concat(pe.jump_to).concat(Je,"/").concat(ht):null,className:"".concat(Q,"-simple-pager")},Ln));var An=this.renderPrev(zt);return m.createElement("ul",(0,b.Z)({className:r()(Q,"".concat(Q,"-simple"),(0,o.Z)({},"".concat(Q,"-disabled"),oe),ce),style:re,ref:this.paginationNode},cn),zn,An?m.createElement("li",{title:Re?pe.prev_page:null,onClick:this.prev,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterPrev,className:r()("".concat(Q,"-prev"),(0,o.Z)({},"".concat(Q,"-disabled"),!this.hasPrev())),"aria-disabled":!this.hasPrev()},An):null,m.createElement("li",{title:Re?"".concat(Je,"/").concat(ht):null,className:"".concat(Q,"-simple-pager")},m.createElement("input",{type:"text",value:ut,disabled:oe,onKeyDown:this.handleKeyDown,onKeyUp:this.handleKeyUp,onChange:this.handleKeyUp,onBlur:this.handleBlur,size:3}),m.createElement("span",{className:"".concat(Q,"-slash")},"/"),ht),m.createElement("li",{title:Re?pe.next_page:null,onClick:this.next,tabIndex:this.hasPrev()?0:null,onKeyPress:this.runIfEnterNext,className:r()("".concat(Q,"-next"),(0,o.Z)({},"".concat(Q,"-disabled"),!this.hasNext())),"aria-disabled":!this.hasNext()},this.renderNext(Nt)),Ln)}if(ht<=3+Bn*2){var ge={locale:pe,rootPrefixCls:Q,onClick:this.handleChange,onKeyPress:this.runIfEnter,showTitle:Re,itemRender:st};ht||Xt.push(m.createElement(q,(0,b.Z)({},ge,{key:"noPager",page:1,className:"".concat(Q,"-item-disabled")})));for(var me=1;me<=ht;me+=1){var Ye=Je===me;Xt.push(m.createElement(q,(0,b.Z)({},ge,{key:me,page:me,active:Ye})))}}else{var je=De?pe.prev_3:pe.prev_5,pt=De?pe.next_3:pe.next_5,nt=st(this.getJumpPrevPage(),"jump-prev",this.getItemIcon(Dt,"prev page")),_t=st(this.getJumpNextPage(),"jump-next",this.getItemIcon(Ct,"next page"));tt&&(an=nt?m.createElement("li",{title:Re?je:null,key:"prev",onClick:this.jumpPrev,tabIndex:0,onKeyPress:this.runIfEnterJumpPrev,className:r()("".concat(Q,"-jump-prev"),(0,o.Z)({},"".concat(Q,"-jump-prev-custom-icon"),!!Dt))},nt):null,Dn=_t?m.createElement("li",{title:Re?pt:null,key:"next",tabIndex:0,onClick:this.jumpNext,onKeyPress:this.runIfEnterJumpNext,className:r()("".concat(Q,"-jump-next"),(0,o.Z)({},"".concat(Q,"-jump-next-custom-icon"),!!Ct))},_t):null),On=m.createElement(q,{locale:pe,last:!0,rootPrefixCls:Q,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:ht,page:ht,active:!1,showTitle:Re,itemRender:st}),yn=m.createElement(q,{locale:pe,rootPrefixCls:Q,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:1,page:1,active:!1,showTitle:Re,itemRender:st});var at=Math.max(1,Je-Bn),Ot=Math.min(Je+Bn,ht);Je-1<=Bn&&(Ot=1+Bn*2),ht-Je<=Bn&&(at=ht-Bn*2);for(var wt=at;wt<=Ot;wt+=1){var Fe=Je===wt;Xt.push(m.createElement(q,{locale:pe,rootPrefixCls:Q,onClick:this.handleChange,onKeyPress:this.runIfEnter,key:wt,page:wt,active:Fe,showTitle:Re,itemRender:st}))}Je-1>=Bn*2&&Je!==3&&(Xt[0]=(0,m.cloneElement)(Xt[0],{className:"".concat(Q,"-item-after-jump-prev")}),Xt.unshift(an)),ht-Je>=Bn*2&&Je!==ht-2&&(Xt[Xt.length-1]=(0,m.cloneElement)(Xt[Xt.length-1],{className:"".concat(Q,"-item-before-jump-next")}),Xt.push(Dn)),at!==1&&Xt.unshift(yn),Ot!==ht&&Xt.push(On)}var Be=!this.hasPrev()||!ht,rt=!this.hasNext()||!ht,it=this.renderPrev(zt),lt=this.renderNext(Nt);return m.createElement("ul",(0,b.Z)({className:r()(Q,ce,(0,o.Z)({},"".concat(Q,"-disabled"),oe)),style:re,ref:this.paginationNode},cn),zn,it?m.createElement("li",{title:Re?pe.prev_page:null,onClick:this.prev,tabIndex:Be?null:0,onKeyPress:this.runIfEnterPrev,className:r()("".concat(Q,"-prev"),(0,o.Z)({},"".concat(Q,"-disabled"),Be)),"aria-disabled":Be},it):null,Xt,lt?m.createElement("li",{title:Re?pe.next_page:null,onClick:this.next,tabIndex:rt?null:0,onKeyPress:this.runIfEnterNext,className:r()("".concat(Q,"-next"),(0,o.Z)({},"".concat(Q,"-disabled"),rt)),"aria-disabled":rt},lt):null,m.createElement(T,{disabled:oe,locale:pe,rootPrefixCls:Q,selectComponentClass:Mt,selectPrefixCls:Pt,changeSize:this.getShowSizeChanger()?this.changePageSize:null,current:Je,pageSize:$t,pageSizeOptions:rn,quickGo:this.shouldDisplayQuickJumper()?this.handleChange:null,goButton:In}))}}],[{key:"getDerivedStateFromProps",value:function(A,Q){var ce={};if("current"in A&&(ce.current=A.current,A.current!==Q.current&&(ce.currentInputValue=ce.current)),"pageSize"in A&&A.pageSize!==Q.pageSize){var re=Q.current,oe=p(A.pageSize,Q,A);re=re>oe?oe:re,"current"in A||(ce.current=re,ce.currentInputValue=re),ce.pageSize=A.pageSize}return ce}}]),X}(m.Component);z.defaultProps={defaultCurrent:1,total:0,defaultPageSize:10,onChange:G,className:"",selectPrefixCls:"rc-select",prefixCls:"rc-pagination",selectComponentClass:null,hideOnSinglePage:!1,showPrevNextJumpers:!0,showQuickJumper:!1,showLessItems:!1,showTitle:!0,onShowSizeChange:G,locale:s.Z,style:{},itemRender:$,totalBoundaryShowSizeChanger:50};var I=z,B=t(22075),P=t(36355),i=t(19716),a=t(8628),_=t(9763),F=t(57809);const te=d=>m.createElement(F.default,Object.assign({},d,{showSearch:!0,size:"small"})),ie=d=>m.createElement(F.default,Object.assign({},d,{showSearch:!0,size:"middle"}));te.Option=F.default.Option,ie.Option=F.default.Option;var ae=t(9937),he=t(17313),we=t(83116),Ke=t(37613);const Ie=d=>{const{componentCls:f}=d;return{[`${f}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${f}-item-link`]:{color:d.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${f}-item-link`]:{color:d.colorTextDisabled,cursor:"not-allowed"}}},[`&${f}-disabled`]:{cursor:"not-allowed",[`${f}-item`]:{cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},a:{color:d.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:d.colorBorder,backgroundColor:d.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:d.itemActiveBgDisabled},a:{color:d.itemActiveColorDisabled}}},[`${f}-item-link`]:{color:d.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${f}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${f}-simple-pager`]:{color:d.colorTextDisabled},[`${f}-jump-prev, ${f}-jump-next`]:{[`${f}-item-link-icon`]:{opacity:0},[`${f}-item-ellipsis`]:{opacity:1}}},[`&${f}-simple`]:{[`${f}-prev, ${f}-next`]:{[`&${f}-disabled ${f}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}}}},ke=d=>{const{componentCls:f}=d;return{[`&${f}-mini ${f}-total-text, &${f}-mini ${f}-simple-pager`]:{height:d.itemSizeSM,lineHeight:`${d.itemSizeSM}px`},[`&${f}-mini ${f}-item`]:{minWidth:d.itemSizeSM,height:d.itemSizeSM,margin:0,lineHeight:`${d.itemSizeSM-2}px`},[`&${f}-mini:not(${f}-disabled) ${f}-item:not(${f}-item-active)`]:{backgroundColor:"transparent",borderColor:"transparent","&:hover":{backgroundColor:d.colorBgTextHover},"&:active":{backgroundColor:d.colorBgTextActive}},[`&${f}-mini ${f}-prev, &${f}-mini ${f}-next`]:{minWidth:d.itemSizeSM,height:d.itemSizeSM,margin:0,lineHeight:`${d.itemSizeSM}px`},[`&${f}-mini:not(${f}-disabled)`]:{[`${f}-prev, ${f}-next`]:{[`&:hover ${f}-item-link`]:{backgroundColor:d.colorBgTextHover},[`&:active ${f}-item-link`]:{backgroundColor:d.colorBgTextActive},[`&${f}-disabled:hover ${f}-item-link`]:{backgroundColor:"transparent"}}},[`
|
|
&${f}-mini ${f}-prev ${f}-item-link,
|
|
&${f}-mini ${f}-next ${f}-item-link
|
|
`]:{backgroundColor:"transparent",borderColor:"transparent","&::after":{height:d.itemSizeSM,lineHeight:`${d.itemSizeSM}px`}},[`&${f}-mini ${f}-jump-prev, &${f}-mini ${f}-jump-next`]:{height:d.itemSizeSM,marginInlineEnd:0,lineHeight:`${d.itemSizeSM}px`},[`&${f}-mini ${f}-options`]:{marginInlineStart:d.paginationMiniOptionsMarginInlineStart,"&-size-changer":{top:d.miniOptionsSizeChangerTop},"&-quick-jumper":{height:d.itemSizeSM,lineHeight:`${d.itemSizeSM}px`,input:Object.assign(Object.assign({},(0,ae.x0)(d)),{width:d.paginationMiniQuickJumperInputWidth,height:d.controlHeightSM})}}}},Xe=d=>{const{componentCls:f}=d;return{[`
|
|
&${f}-simple ${f}-prev,
|
|
&${f}-simple ${f}-next
|
|
`]:{height:d.itemSizeSM,lineHeight:`${d.itemSizeSM}px`,verticalAlign:"top",[`${f}-item-link`]:{height:d.itemSizeSM,backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:d.colorBgTextHover},"&:active":{backgroundColor:d.colorBgTextActive},"&::after":{height:d.itemSizeSM,lineHeight:`${d.itemSizeSM}px`}}},[`&${f}-simple ${f}-simple-pager`]:{display:"inline-block",height:d.itemSizeSM,marginInlineEnd:d.marginXS,input:{boxSizing:"border-box",height:"100%",marginInlineEnd:d.marginXS,padding:`0 ${d.paginationItemPaddingInline}px`,textAlign:"center",backgroundColor:d.itemInputBg,border:`${d.lineWidth}px ${d.lineType} ${d.colorBorder}`,borderRadius:d.borderRadius,outline:"none",transition:`border-color ${d.motionDurationMid}`,color:"inherit","&:hover":{borderColor:d.colorPrimary},"&:focus":{borderColor:d.colorPrimaryHover,boxShadow:`${d.inputOutlineOffset}px 0 ${d.controlOutlineWidth}px ${d.controlOutline}`},"&[disabled]":{color:d.colorTextDisabled,backgroundColor:d.colorBgContainerDisabled,borderColor:d.colorBorder,cursor:"not-allowed"}}}}},Oe=d=>{const{componentCls:f}=d;return{[`${f}-jump-prev, ${f}-jump-next`]:{outline:0,[`${f}-item-container`]:{position:"relative",[`${f}-item-link-icon`]:{color:d.colorPrimary,fontSize:d.fontSizeSM,opacity:0,transition:`all ${d.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${f}-item-ellipsis`]:{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,display:"block",margin:"auto",color:d.colorTextDisabled,fontFamily:"Arial, Helvetica, sans-serif",letterSpacing:d.paginationEllipsisLetterSpacing,textAlign:"center",textIndent:d.paginationEllipsisTextIndent,opacity:1,transition:`all ${d.motionDurationMid}`}},"&:hover":{[`${f}-item-link-icon`]:{opacity:1},[`${f}-item-ellipsis`]:{opacity:0}}},[`
|
|
${f}-prev,
|
|
${f}-jump-prev,
|
|
${f}-jump-next
|
|
`]:{marginInlineEnd:d.marginXS},[`
|
|
${f}-prev,
|
|
${f}-next,
|
|
${f}-jump-prev,
|
|
${f}-jump-next
|
|
`]:{display:"inline-block",minWidth:d.itemSize,height:d.itemSize,color:d.colorText,fontFamily:d.fontFamily,lineHeight:`${d.itemSize}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:d.borderRadius,cursor:"pointer",transition:`all ${d.motionDurationMid}`},[`${f}-prev, ${f}-next`]:{fontFamily:"Arial, Helvetica, sans-serif",outline:0,button:{color:d.colorText,cursor:"pointer",userSelect:"none"},[`${f}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:d.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${d.lineWidth}px ${d.lineType} transparent`,borderRadius:d.borderRadius,outline:"none",transition:`all ${d.motionDurationMid}`},[`&:hover ${f}-item-link`]:{backgroundColor:d.colorBgTextHover},[`&:active ${f}-item-link`]:{backgroundColor:d.colorBgTextActive},[`&${f}-disabled:hover`]:{[`${f}-item-link`]:{backgroundColor:"transparent"}}},[`${f}-slash`]:{marginInlineEnd:d.paginationSlashMarginInlineEnd,marginInlineStart:d.paginationSlashMarginInlineStart},[`${f}-options`]:{display:"inline-block",marginInlineStart:d.margin,verticalAlign:"middle","&-size-changer.-select":{display:"inline-block",width:"auto"},"&-quick-jumper":{display:"inline-block",height:d.controlHeight,marginInlineStart:d.marginXS,lineHeight:`${d.controlHeight}px`,verticalAlign:"top",input:Object.assign(Object.assign({},(0,ae.ik)(d)),{width:d.controlHeightLG*1.25,height:d.controlHeight,boxSizing:"border-box",margin:0,marginInlineStart:d.marginXS,marginInlineEnd:d.marginXS})}}}},Ce=d=>{const{componentCls:f}=d;return{[`${f}-item`]:{display:"inline-block",minWidth:d.itemSize,height:d.itemSize,marginInlineEnd:d.marginXS,fontFamily:d.fontFamily,lineHeight:`${d.itemSize-2}px`,textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:"transparent",border:`${d.lineWidth}px ${d.lineType} transparent`,borderRadius:d.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${d.paginationItemPaddingInline}px`,color:d.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${f}-item-active)`]:{"&:hover":{transition:`all ${d.motionDurationMid}`,backgroundColor:d.colorBgTextHover},"&:active":{backgroundColor:d.colorBgTextActive}},"&-active":{fontWeight:d.fontWeightStrong,backgroundColor:d.itemActiveBg,borderColor:d.colorPrimary,a:{color:d.colorPrimary},"&:hover":{borderColor:d.colorPrimaryHover},"&:hover a":{color:d.colorPrimaryHover}}}}},le=d=>{const{componentCls:f}=d;return{[f]:Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(0,he.Wf)(d)),{"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${f}-total-text`]:{display:"inline-block",height:d.itemSize,marginInlineEnd:d.marginXS,lineHeight:`${d.itemSize-2}px`,verticalAlign:"middle"}}),Ce(d)),Oe(d)),Xe(d)),ke(d)),Ie(d)),{[`@media only screen and (max-width: ${d.screenLG}px)`]:{[`${f}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${d.screenSM}px)`]:{[`${f}-options`]:{display:"none"}}}),[`&${d.componentCls}-rtl`]:{direction:"rtl"}}},se=d=>{const{componentCls:f}=d;return{[`${f}${f}-disabled:not(${f}-mini)`]:{"&, &:hover":{[`${f}-item-link`]:{borderColor:d.colorBorder}},"&:focus-visible":{[`${f}-item-link`]:{borderColor:d.colorBorder}},[`${f}-item, ${f}-item-link`]:{backgroundColor:d.colorBgContainerDisabled,borderColor:d.colorBorder,[`&:hover:not(${f}-item-active)`]:{backgroundColor:d.colorBgContainerDisabled,borderColor:d.colorBorder,a:{color:d.colorTextDisabled}},[`&${f}-item-active`]:{backgroundColor:d.itemActiveBgDisabled}},[`${f}-prev, ${f}-next`]:{"&:hover button":{backgroundColor:d.colorBgContainerDisabled,borderColor:d.colorBorder,color:d.colorTextDisabled},[`${f}-item-link`]:{backgroundColor:d.colorBgContainerDisabled,borderColor:d.colorBorder}}},[`${f}:not(${f}-mini)`]:{[`${f}-prev, ${f}-next`]:{"&:hover button":{borderColor:d.colorPrimaryHover,backgroundColor:d.itemBg},[`${f}-item-link`]:{backgroundColor:d.itemLinkBg,borderColor:d.colorBorder},[`&:hover ${f}-item-link`]:{borderColor:d.colorPrimary,backgroundColor:d.itemBg,color:d.colorPrimary},[`&${f}-disabled`]:{[`${f}-item-link`]:{borderColor:d.colorBorder,color:d.colorTextDisabled}}},[`${f}-item`]:{backgroundColor:d.itemBg,border:`${d.lineWidth}px ${d.lineType} ${d.colorBorder}`,[`&:hover:not(${f}-item-active)`]:{borderColor:d.colorPrimary,backgroundColor:d.itemBg,a:{color:d.colorPrimary}},"&-active":{borderColor:d.colorPrimary}}}}},L=d=>{const{componentCls:f}=d;return{[`${f}:not(${f}-disabled)`]:{[`${f}-item`]:Object.assign({},(0,he.Qy)(d)),[`${f}-jump-prev, ${f}-jump-next`]:{"&:focus-visible":Object.assign({[`${f}-item-link-icon`]:{opacity:1},[`${f}-item-ellipsis`]:{opacity:0}},(0,he.oN)(d))},[`${f}-prev, ${f}-next`]:{[`&:focus-visible ${f}-item-link`]:Object.assign({},(0,he.oN)(d))}}}};var U=(0,we.Z)("Pagination",d=>{const f=(0,Ke.TS)(d,{inputOutlineOffset:0,paginationMiniOptionsMarginInlineStart:d.marginXXS/2,paginationMiniQuickJumperInputWidth:d.controlHeightLG*1.1,paginationItemPaddingInline:d.marginXXS*1.5,paginationEllipsisLetterSpacing:d.marginXXS/2,paginationSlashMarginInlineStart:d.marginXXS,paginationSlashMarginInlineEnd:d.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,ae.e5)(d),(0,ae.TM)(d));return[le(f),L(f),d.wireframe&&se(f)]},d=>({itemBg:d.colorBgContainer,itemSize:d.controlHeight,itemSizeSM:d.controlHeightSM,itemActiveBg:d.colorBgContainer,itemLinkBg:d.colorBgContainer,itemActiveColorDisabled:d.colorTextDisabled,itemActiveBgDisabled:d.controlItemBgActiveDisabled,itemInputBg:d.colorBgContainer,miniOptionsSizeChangerTop:0})),M=function(d,f){var X={};for(var j in d)Object.prototype.hasOwnProperty.call(d,j)&&f.indexOf(j)<0&&(X[j]=d[j]);if(d!=null&&typeof Object.getOwnPropertySymbols=="function")for(var A=0,j=Object.getOwnPropertySymbols(d);A<j.length;A++)f.indexOf(j[A])<0&&Object.prototype.propertyIsEnumerable.call(d,j[A])&&(X[j[A]]=d[j[A]]);return X},ee=d=>{const{prefixCls:f,selectPrefixCls:X,className:j,rootClassName:A,style:Q,size:ce,locale:re,selectComponentClass:oe,responsive:ve,showSizeChanger:Ee}=d,pe=M(d,["prefixCls","selectPrefixCls","className","rootClassName","style","size","locale","selectComponentClass","responsive","showSizeChanger"]),{xs:Ze}=(0,a.Z)(ve),{getPrefixCls:De,direction:Re,pagination:Qe={}}=m.useContext(P.E_),Ue=De("pagination",f),[st,tt]=U(Ue),Dt=Ee!=null?Ee:Qe.showSizeChanger,Ct=m.useMemo(()=>{const ht=m.createElement("span",{className:`${Ue}-item-ellipsis`},"\u2022\u2022\u2022"),Xt=m.createElement("button",{className:`${Ue}-item-link`,type:"button",tabIndex:-1},Re==="rtl"?m.createElement(v.Z,null):m.createElement(h.Z,null)),an=m.createElement("button",{className:`${Ue}-item-link`,type:"button",tabIndex:-1},Re==="rtl"?m.createElement(h.Z,null):m.createElement(v.Z,null)),Dn=m.createElement("a",{className:`${Ue}-item-link`},m.createElement("div",{className:`${Ue}-item-container`},Re==="rtl"?m.createElement(e.Z,{className:`${Ue}-item-link-icon`}):m.createElement(W,{className:`${Ue}-item-link-icon`}),ht)),yn=m.createElement("a",{className:`${Ue}-item-link`},m.createElement("div",{className:`${Ue}-item-container`},Re==="rtl"?m.createElement(W,{className:`${Ue}-item-link-icon`}):m.createElement(e.Z,{className:`${Ue}-item-link-icon`}),ht));return{prevIcon:Xt,nextIcon:an,jumpPrevIcon:Dn,jumpNextIcon:yn}},[Re,Ue]),[Mt]=(0,_.Z)("Pagination",B.Z),Pt=Object.assign(Object.assign({},Mt),re),rn=(0,i.Z)(ce),Tt=rn==="small"||!!(Ze&&!rn&&ve),Je=De("select",X),$t=r()({[`${Ue}-mini`]:Tt,[`${Ue}-rtl`]:Re==="rtl"},Qe==null?void 0:Qe.className,j,A,tt),ut=Object.assign(Object.assign({},Qe==null?void 0:Qe.style),Q);return st(m.createElement(I,Object.assign({},Ct,pe,{style:ut,prefixCls:Ue,selectPrefixCls:Je,className:$t,selectComponentClass:oe||(Tt?te:ie),locale:Pt,showSizeChanger:Dt})))},y=ee},5112:function(We,fe,t){"use strict";t.d(fe,{ZP:function(){return a}});var b=t(92310),m=t.n(b),D=t(18929),V=t(26112),Z=t(59301),K=t(36355),u=t(19716);const W=Z.createContext(null),e=W.Provider;var h=W;const v=Z.createContext(null),n=v.Provider;var r=t(5630),o=t(8654),l=t(1684),w=t(32441),k=t(17313),E=t(83116),g=t(37613);const O=_=>{const{componentCls:F,antCls:te}=_,ie=`${F}-group`;return{[ie]:Object.assign(Object.assign({},(0,k.Wf)(_)),{display:"inline-block",fontSize:0,[`&${ie}-rtl`]:{direction:"rtl"},[`${te}-badge ${te}-badge-count`]:{zIndex:1},[`> ${te}-badge:not(:first-child) > ${te}-button-wrapper`]:{borderInlineStart:"none"}})}},C=_=>{const{componentCls:F,wrapperMarginInlineEnd:te,colorPrimary:ie,radioSize:ae,motionDurationSlow:he,motionDurationMid:we,motionEaseInOutCirc:Ke,colorBgContainer:Ie,colorBorder:ke,lineWidth:Xe,dotSize:Oe,colorBgContainerDisabled:Ce,colorTextDisabled:le,paddingXS:se,dotColorDisabled:L,lineType:U,radioDotDisabledSize:M,wireframe:R,colorWhite:ee}=_,y=`${F}-inner`;return{[`${F}-wrapper`]:Object.assign(Object.assign({},(0,k.Wf)(_)),{display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:te,cursor:"pointer",[`&${F}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:_.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},[`${F}-checked::after`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,width:"100%",height:"100%",border:`${Xe}px ${U} ${ie}`,borderRadius:"50%",visibility:"hidden",content:'""'},[F]:Object.assign(Object.assign({},(0,k.Wf)(_)),{position:"relative",display:"inline-block",outline:"none",cursor:"pointer",alignSelf:"center",borderRadius:"50%"}),[`${F}-wrapper:hover &,
|
|
&:hover ${y}`]:{borderColor:ie},[`${F}-input:focus-visible + ${y}`]:Object.assign({},(0,k.oN)(_)),[`${F}:hover::after, ${F}-wrapper:hover &::after`]:{visibility:"visible"},[`${F}-inner`]:{"&::after":{boxSizing:"border-box",position:"absolute",insetBlockStart:"50%",insetInlineStart:"50%",display:"block",width:ae,height:ae,marginBlockStart:ae/-2,marginInlineStart:ae/-2,backgroundColor:R?ie:ee,borderBlockStart:0,borderInlineStart:0,borderRadius:ae,transform:"scale(0)",opacity:0,transition:`all ${he} ${Ke}`,content:'""'},boxSizing:"border-box",position:"relative",insetBlockStart:0,insetInlineStart:0,display:"block",width:ae,height:ae,backgroundColor:Ie,borderColor:ke,borderStyle:"solid",borderWidth:Xe,borderRadius:"50%",transition:`all ${we}`},[`${F}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0},[`${F}-checked`]:{[y]:{borderColor:ie,backgroundColor:R?Ie:ie,"&::after":{transform:`scale(${Oe/ae})`,opacity:1,transition:`all ${he} ${Ke}`}}},[`${F}-disabled`]:{cursor:"not-allowed",[y]:{backgroundColor:Ce,borderColor:ke,cursor:"not-allowed","&::after":{backgroundColor:L}},[`${F}-input`]:{cursor:"not-allowed"},[`${F}-disabled + span`]:{color:le,cursor:"not-allowed"},[`&${F}-checked`]:{[y]:{"&::after":{transform:`scale(${M/ae})`}}}},[`span${F} + *`]:{paddingInlineStart:se,paddingInlineEnd:se}})}},c=_=>{const{buttonColor:F,controlHeight:te,componentCls:ie,lineWidth:ae,lineType:he,colorBorder:we,motionDurationSlow:Ke,motionDurationMid:Ie,buttonPaddingInline:ke,fontSize:Xe,buttonBg:Oe,fontSizeLG:Ce,controlHeightLG:le,controlHeightSM:se,paddingXS:L,borderRadius:U,borderRadiusSM:M,borderRadiusLG:R,buttonCheckedBg:ee,buttonSolidCheckedColor:y,colorTextDisabled:d,colorBgContainerDisabled:f,buttonCheckedBgDisabled:X,buttonCheckedColorDisabled:j,colorPrimary:A,colorPrimaryHover:Q,colorPrimaryActive:ce,buttonSolidCheckedBg:re,buttonSolidCheckedHoverBg:oe,buttonSolidCheckedActiveBg:ve}=_;return{[`${ie}-button-wrapper`]:{position:"relative",display:"inline-block",height:te,margin:0,paddingInline:ke,paddingBlock:0,color:F,fontSize:Xe,lineHeight:`${te-ae*2}px`,background:Oe,border:`${ae}px ${he} ${we}`,borderBlockStartWidth:ae+.02,borderInlineStartWidth:0,borderInlineEndWidth:ae,cursor:"pointer",transition:[`color ${Ie}`,`background ${Ie}`,`box-shadow ${Ie}`].join(","),a:{color:F},[`> ${ie}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:first-child)":{"&::before":{position:"absolute",insetBlockStart:-ae,insetInlineStart:-ae,display:"block",boxSizing:"content-box",width:1,height:"100%",paddingBlock:ae,paddingInline:0,backgroundColor:we,transition:`background-color ${Ke}`,content:'""'}},"&:first-child":{borderInlineStart:`${ae}px ${he} ${we}`,borderStartStartRadius:U,borderEndStartRadius:U},"&:last-child":{borderStartEndRadius:U,borderEndEndRadius:U},"&:first-child:last-child":{borderRadius:U},[`${ie}-group-large &`]:{height:le,fontSize:Ce,lineHeight:`${le-ae*2}px`,"&:first-child":{borderStartStartRadius:R,borderEndStartRadius:R},"&:last-child":{borderStartEndRadius:R,borderEndEndRadius:R}},[`${ie}-group-small &`]:{height:se,paddingInline:L-ae,paddingBlock:0,lineHeight:`${se-ae*2}px`,"&:first-child":{borderStartStartRadius:M,borderEndStartRadius:M},"&:last-child":{borderStartEndRadius:M,borderEndEndRadius:M}},"&:hover":{position:"relative",color:A},"&:has(:focus-visible)":Object.assign({},(0,k.oN)(_)),[`${ie}-inner, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${ie}-button-wrapper-disabled)`]:{zIndex:1,color:A,background:ee,borderColor:A,"&::before":{backgroundColor:A},"&:first-child":{borderColor:A},"&:hover":{color:Q,borderColor:Q,"&::before":{backgroundColor:Q}},"&:active":{color:ce,borderColor:ce,"&::before":{backgroundColor:ce}}},[`${ie}-group-solid &-checked:not(${ie}-button-wrapper-disabled)`]:{color:y,background:re,borderColor:re,"&:hover":{color:y,background:oe,borderColor:oe},"&:active":{color:y,background:ve,borderColor:ve}},"&-disabled":{color:d,backgroundColor:f,borderColor:we,cursor:"not-allowed","&:first-child, &:hover":{color:d,backgroundColor:f,borderColor:we}},[`&-disabled${ie}-button-wrapper-checked`]:{color:j,backgroundColor:X,borderColor:we,boxShadow:"none"}}}},s=_=>_-4*2;var x=(0,E.Z)("Radio",_=>{const{controlOutline:F,controlOutlineWidth:te,radioSize:ie}=_,ae=`0 0 0 ${te}px ${F}`,he=ae,we=s(ie),Ke=(0,g.TS)(_,{radioDotDisabledSize:we,radioFocusShadow:ae,radioButtonFocusShadow:he});return[O(Ke),C(Ke),c(Ke)]},_=>{const{wireframe:F,padding:te,marginXS:ie,lineWidth:ae,fontSizeLG:he,colorText:we,colorBgContainer:Ke,colorTextDisabled:Ie,controlItemBgActiveDisabled:ke,colorTextLightSolid:Xe,colorPrimary:Oe,colorPrimaryHover:Ce,colorPrimaryActive:le}=_,se=4,L=he,U=F?s(L):L-(se+ae)*2;return{radioSize:L,dotSize:U,dotColorDisabled:Ie,buttonSolidCheckedColor:Xe,buttonSolidCheckedBg:Oe,buttonSolidCheckedHoverBg:Ce,buttonSolidCheckedActiveBg:le,buttonBg:Ke,buttonCheckedBg:Ke,buttonColor:we,buttonCheckedBgDisabled:ke,buttonCheckedColorDisabled:Ie,buttonPaddingInline:te-ae,wrapperMarginInlineEnd:ie}}),T=t(14088),J=t(4572),q=function(_,F){var te={};for(var ie in _)Object.prototype.hasOwnProperty.call(_,ie)&&F.indexOf(ie)<0&&(te[ie]=_[ie]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ie=Object.getOwnPropertySymbols(_);ae<ie.length;ae++)F.indexOf(ie[ae])<0&&Object.prototype.propertyIsEnumerable.call(_,ie[ae])&&(te[ie[ae]]=_[ie[ae]]);return te};const G=(_,F)=>{var te,ie;const ae=Z.useContext(h),he=Z.useContext(v),{getPrefixCls:we,direction:Ke,radio:Ie}=Z.useContext(K.E_),ke=Z.useRef(null),Xe=(0,o.sQ)(F,ke),{isFormItemInput:Oe}=Z.useContext(w.aM),Ce=ce=>{var re,oe;(re=_.onChange)===null||re===void 0||re.call(_,ce),(oe=ae==null?void 0:ae.onChange)===null||oe===void 0||oe.call(ae,ce)},{prefixCls:le,className:se,rootClassName:L,children:U,style:M}=_,R=q(_,["prefixCls","className","rootClassName","children","style"]),ee=we("radio",le),y=((ae==null?void 0:ae.optionType)||he)==="button",d=y?`${ee}-button`:ee,[f,X]=x(ee),j=Object.assign({},R),A=Z.useContext(l.Z);ae&&(j.name=ae.name,j.onChange=Ce,j.checked=_.value===ae.value,j.disabled=(te=j.disabled)!==null&&te!==void 0?te:ae.disabled),j.disabled=(ie=j.disabled)!==null&&ie!==void 0?ie:A;const Q=m()(`${d}-wrapper`,{[`${d}-wrapper-checked`]:j.checked,[`${d}-wrapper-disabled`]:j.disabled,[`${d}-wrapper-rtl`]:Ke==="rtl",[`${d}-wrapper-in-form-item`]:Oe},Ie==null?void 0:Ie.className,se,L,X);return f(Z.createElement(T.Z,{component:"Radio",disabled:j.disabled},Z.createElement("label",{className:Q,style:Object.assign(Object.assign({},Ie==null?void 0:Ie.style),M),onMouseEnter:_.onMouseEnter,onMouseLeave:_.onMouseLeave},Z.createElement(r.Z,Object.assign({},j,{className:m()(j.className,!y&&J.A),type:"radio",prefixCls:d,ref:Xe})),U!==void 0?Z.createElement("span",null,U):null)))};var $=Z.forwardRef(G);const p=Z.forwardRef((_,F)=>{const{getPrefixCls:te,direction:ie}=Z.useContext(K.E_),[ae,he]=(0,D.Z)(_.defaultValue,{value:_.value}),we=re=>{const oe=ae,ve=re.target.value;"value"in _||he(ve);const{onChange:Ee}=_;Ee&&ve!==oe&&Ee(re)},{prefixCls:Ke,className:Ie,rootClassName:ke,options:Xe,buttonStyle:Oe="outline",disabled:Ce,children:le,size:se,style:L,id:U,onMouseEnter:M,onMouseLeave:R,onFocus:ee,onBlur:y}=_,d=te("radio",Ke),f=`${d}-group`,[X,j]=x(d);let A=le;Xe&&Xe.length>0&&(A=Xe.map(re=>typeof re=="string"||typeof re=="number"?Z.createElement($,{key:re.toString(),prefixCls:d,disabled:Ce,value:re,checked:ae===re},re):Z.createElement($,{key:`radio-group-value-options-${re.value}`,prefixCls:d,disabled:re.disabled||Ce,value:re.value,checked:ae===re.value,title:re.title,style:re.style},re.label)));const Q=(0,u.Z)(se),ce=m()(f,`${f}-${Oe}`,{[`${f}-${Q}`]:Q,[`${f}-rtl`]:ie==="rtl"},Ie,ke,j);return X(Z.createElement("div",Object.assign({},(0,V.Z)(_,{aria:!0,data:!0}),{className:ce,style:L,onMouseEnter:M,onMouseLeave:R,onFocus:ee,onBlur:y,id:U,ref:F}),Z.createElement(e,{value:{onChange:we,value:ae,disabled:_.disabled,name:_.name,optionType:_.optionType}},A)))});var z=Z.memo(p),I=function(_,F){var te={};for(var ie in _)Object.prototype.hasOwnProperty.call(_,ie)&&F.indexOf(ie)<0&&(te[ie]=_[ie]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ie=Object.getOwnPropertySymbols(_);ae<ie.length;ae++)F.indexOf(ie[ae])<0&&Object.prototype.propertyIsEnumerable.call(_,ie[ae])&&(te[ie[ae]]=_[ie[ae]]);return te};const B=(_,F)=>{const{getPrefixCls:te}=Z.useContext(K.E_),{prefixCls:ie}=_,ae=I(_,["prefixCls"]),he=te("radio",ie);return Z.createElement(n,{value:"button"},Z.createElement($,Object.assign({prefixCls:he},ae,{type:"radio",ref:F})))};var P=Z.forwardRef(B);const i=$;i.Button=P,i.Group=z,i.__ANT_RADIO=!0;var a=i},57809:function(We,fe,t){"use strict";var b=t(92310),m=t.n(b),D=t(77861),V=t(2738),Z=t(59301),K=t(53487),u=t(62892),W=t(19080),e=t(36355),h=t(1684),v=t(93891),n=t(19716),r=t(32441),o=t(33234),l=t(14154),w=t(58582),k=t(84443),E=t(66339),g=function(x,T){var J={};for(var q in x)Object.prototype.hasOwnProperty.call(x,q)&&T.indexOf(q)<0&&(J[q]=x[q]);if(x!=null&&typeof Object.getOwnPropertySymbols=="function")for(var G=0,q=Object.getOwnPropertySymbols(x);G<q.length;G++)T.indexOf(q[G])<0&&Object.prototype.propertyIsEnumerable.call(x,q[G])&&(J[q[G]]=x[q[G]]);return J};const O="SECRET_COMBOBOX_MODE_DO_NOT_USE",C=(x,T)=>{var J,{prefixCls:q,bordered:G=!0,className:H,rootClassName:$,getPopupContainer:p,popupClassName:z,dropdownClassName:I,listHeight:B=256,placement:P,listItemHeight:i=24,size:a,disabled:_,notFoundContent:F,status:te,builtinPlacements:ie,dropdownMatchSelectWidth:ae,popupMatchSelectWidth:he,direction:we,style:Ke,allowClear:Ie}=x,ke=g(x,["prefixCls","bordered","className","rootClassName","getPopupContainer","popupClassName","dropdownClassName","listHeight","placement","listItemHeight","size","disabled","notFoundContent","status","builtinPlacements","dropdownMatchSelectWidth","popupMatchSelectWidth","direction","style","allowClear"]);const{getPopupContainer:Xe,getPrefixCls:Oe,renderEmpty:Ce,direction:le,virtual:se,popupMatchSelectWidth:L,popupOverflow:U,select:M}=Z.useContext(e.E_),R=Oe("select",q),ee=Oe(),y=we!=null?we:le,{compactSize:d,compactItemClassnames:f}=(0,o.ri)(R,y),[X,j]=(0,l.Z)(R),A=Z.useMemo(()=>{const{mode:ut}=ke;if(ut!=="combobox")return ut===O?"combobox":ut},[ke.mode]),Q=A==="multiple"||A==="tags",ce=(0,k.Z)(ke.suffixIcon,ke.showArrow),re=(J=he!=null?he:ae)!==null&&J!==void 0?J:L,{status:oe,hasFeedback:ve,isFormItemInput:Ee,feedbackIcon:pe}=Z.useContext(r.aM),Ze=(0,W.F)(oe,te);let De;F!==void 0?De=F:A==="combobox"?De=null:De=(Ce==null?void 0:Ce("Select"))||Z.createElement(v.Z,{componentName:"Select"});const{suffixIcon:Re,itemIcon:Qe,removeIcon:Ue,clearIcon:st}=(0,E.Z)(Object.assign(Object.assign({},ke),{multiple:Q,hasFeedback:ve,feedbackIcon:pe,showSuffixIcon:ce,prefixCls:R,showArrow:ke.showArrow,componentName:"Select"})),tt=Ie===!0?{clearIcon:st}:Ie,Dt=(0,V.Z)(ke,["suffixIcon","itemIcon"]),Ct=m()(z||I,{[`${R}-dropdown-${y}`]:y==="rtl"},$,j),Mt=(0,n.Z)(ut=>{var ht;return(ht=a!=null?a:d)!==null&&ht!==void 0?ht:ut}),Pt=Z.useContext(h.Z),rn=_!=null?_:Pt,Tt=m()({[`${R}-lg`]:Mt==="large",[`${R}-sm`]:Mt==="small",[`${R}-rtl`]:y==="rtl",[`${R}-borderless`]:!G,[`${R}-in-form-item`]:Ee},(0,W.Z)(R,Ze,ve),f,M==null?void 0:M.className,H,$,j),Je=Z.useMemo(()=>P!==void 0?P:y==="rtl"?"bottomRight":"bottomLeft",[P,y]),$t=(0,w.Z)(ie,U);return X(Z.createElement(D.ZP,Object.assign({ref:T,virtual:se,showSearch:M==null?void 0:M.showSearch},Dt,{style:Object.assign(Object.assign({},M==null?void 0:M.style),Ke),dropdownMatchSelectWidth:re,builtinPlacements:$t,transitionName:(0,u.m)(ee,"slide-up",ke.transitionName),listHeight:B,listItemHeight:i,mode:A,prefixCls:R,placement:Je,direction:y,suffixIcon:Re,menuItemSelectedIcon:Qe,removeIcon:Ue,allowClear:tt,notFoundContent:De,className:Tt,getPopupContainer:p||Xe,dropdownClassName:Ct,disabled:rn})))},c=Z.forwardRef(C),s=(0,K.Z)(c);c.SECRET_COMBOBOX_MODE_DO_NOT_USE=O,c.Option=D.Wx,c.OptGroup=D.Xo,c._InternalPanelDoNotUseOrYouWillBeFired=s,fe.default=c},14154:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return c}});var b=t(17313),m=t(74207),D=t(37613),V=t(83116),Z=t(13826),K=t(92899);const u=s=>{const{optionHeight:x,optionFontSize:T,optionLineHeight:J,optionPadding:q}=s;return{position:"relative",display:"block",minHeight:x,padding:q,color:s.colorText,fontWeight:"normal",fontSize:T,lineHeight:J,boxSizing:"border-box"}};var e=s=>{const{antCls:x,componentCls:T}=s,J=`${T}-item`,q=`&${x}-slide-up-enter${x}-slide-up-enter-active`,G=`&${x}-slide-up-appear${x}-slide-up-appear-active`,H=`&${x}-slide-up-leave${x}-slide-up-leave-active`,$=`${T}-dropdown-placement-`;return[{[`${T}-dropdown`]:Object.assign(Object.assign({},(0,b.Wf)(s)),{position:"absolute",top:-9999,zIndex:s.zIndexPopup,boxSizing:"border-box",padding:s.paddingXXS,overflow:"hidden",fontSize:s.fontSize,fontVariant:"initial",backgroundColor:s.colorBgElevated,borderRadius:s.borderRadiusLG,outline:"none",boxShadow:s.boxShadowSecondary,[`
|
|
${q}${$}bottomLeft,
|
|
${G}${$}bottomLeft
|
|
`]:{animationName:Z.fJ},[`
|
|
${q}${$}topLeft,
|
|
${G}${$}topLeft,
|
|
${q}${$}topRight,
|
|
${G}${$}topRight
|
|
`]:{animationName:Z.Qt},[`${H}${$}bottomLeft`]:{animationName:Z.Uw},[`
|
|
${H}${$}topLeft,
|
|
${H}${$}topRight
|
|
`]:{animationName:Z.ly},"&-hidden":{display:"none"},[`${J}`]:Object.assign(Object.assign({},u(s)),{cursor:"pointer",transition:`background ${s.motionDurationSlow} ease`,borderRadius:s.borderRadiusSM,"&-group":{color:s.colorTextDescription,fontSize:s.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":Object.assign({flex:"auto"},b.vS),"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-active:not(${J}-option-disabled)`]:{backgroundColor:s.optionActiveBg},[`&-selected:not(${J}-option-disabled)`]:{color:s.optionSelectedColor,fontWeight:s.optionSelectedFontWeight,backgroundColor:s.optionSelectedBg,[`${J}-option-state`]:{color:s.colorPrimary}},"&-disabled":{[`&${J}-option-selected`]:{backgroundColor:s.colorBgContainerDisabled},color:s.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:s.controlPaddingHorizontal*2}}}),"&-rtl":{direction:"rtl"}})},(0,Z.oN)(s,"slide-up"),(0,Z.oN)(s,"slide-down"),(0,K.Fm)(s,"move-up"),(0,K.Fm)(s,"move-down")]};const h=2,v=s=>{let{controlHeightSM:x,controlHeight:T,lineWidth:J}=s;const q=(T-x)/2-J,G=Math.ceil(q/2);return[q,G]};function n(s,x){const{componentCls:T,iconCls:J}=s,q=`${T}-selection-overflow`,G=s.multipleSelectItemHeight,[H]=v(s),$=x?`${T}-${x}`:"";return{[`${T}-multiple${$}`]:{fontSize:s.fontSize,[q]:{position:"relative",display:"flex",flex:"auto",flexWrap:"wrap",maxWidth:"100%","&-item":{flex:"none",alignSelf:"center",maxWidth:"100%",display:"inline-flex"}},[`${T}-selector`]:{display:"flex",flexWrap:"wrap",alignItems:"center",padding:`${H-h}px ${h*2}px`,borderRadius:s.borderRadius,[`${T}-show-search&`]:{cursor:"text"},[`${T}-disabled&`]:{background:s.multipleSelectorBgDisabled,cursor:"not-allowed"},"&:after":{display:"inline-block",width:0,margin:`${h}px 0`,lineHeight:`${G}px`,visibility:"hidden",content:'"\\a0"'}},[`
|
|
&${T}-show-arrow ${T}-selector,
|
|
&${T}-allow-clear ${T}-selector
|
|
`]:{paddingInlineEnd:s.fontSizeIcon+s.controlPaddingHorizontal},[`${T}-selection-item`]:{position:"relative",display:"flex",flex:"none",boxSizing:"border-box",maxWidth:"100%",height:G,marginTop:h,marginBottom:h,lineHeight:`${G-s.lineWidth*2}px`,background:s.multipleItemBg,border:`${s.lineWidth}px ${s.lineType} ${s.multipleItemBorderColor}`,borderRadius:s.borderRadiusSM,cursor:"default",transition:`font-size ${s.motionDurationSlow}, line-height ${s.motionDurationSlow}, height ${s.motionDurationSlow}`,userSelect:"none",marginInlineEnd:h*2,paddingInlineStart:s.paddingXS,paddingInlineEnd:s.paddingXS/2,[`${T}-disabled&`]:{color:s.multipleItemColorDisabled,borderColor:s.multipleItemBorderColorDisabled,cursor:"not-allowed"},"&-content":{display:"inline-block",marginInlineEnd:s.paddingXS/2,overflow:"hidden",whiteSpace:"pre",textOverflow:"ellipsis"},"&-remove":Object.assign(Object.assign({},(0,b.Ro)()),{display:"inline-flex",alignItems:"center",color:s.colorIcon,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${J}`]:{verticalAlign:"-0.2em"},"&:hover":{color:s.colorIconHover}})},[`${q}-item + ${q}-item`]:{[`${T}-selection-search`]:{marginInlineStart:0}},[`${T}-selection-search`]:{display:"inline-flex",position:"relative",maxWidth:"100%",marginInlineStart:s.inputPaddingHorizontalBase-H,"\n &-input,\n &-mirror\n ":{height:G,fontFamily:s.fontFamily,lineHeight:`${G}px`,transition:`all ${s.motionDurationSlow}`},"&-input":{width:"100%",minWidth:4.1},"&-mirror":{position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",zIndex:999,whiteSpace:"pre",visibility:"hidden"}},[`${T}-selection-placeholder `]:{position:"absolute",top:"50%",insetInlineStart:s.inputPaddingHorizontalBase,insetInlineEnd:s.inputPaddingHorizontalBase,transform:"translateY(-50%)",transition:`all ${s.motionDurationSlow}`}}}}var o=s=>{const{componentCls:x}=s,T=(0,D.TS)(s,{controlHeight:s.controlHeightSM,multipleSelectItemHeight:s.controlHeightXS,borderRadius:s.borderRadiusSM,borderRadiusSM:s.borderRadiusXS}),J=(0,D.TS)(s,{fontSize:s.fontSizeLG,controlHeight:s.controlHeightLG,multipleSelectItemHeight:s.multipleItemHeightLG,borderRadius:s.borderRadiusLG,borderRadiusSM:s.borderRadius}),[,q]=v(s);return[n(s),n(T,"sm"),{[`${x}-multiple${x}-sm`]:{[`${x}-selection-placeholder`]:{insetInline:s.controlPaddingHorizontalSM-s.lineWidth},[`${x}-selection-search`]:{marginInlineStart:q}}},n(J,"lg")]};function l(s,x){const{componentCls:T,inputPaddingHorizontalBase:J,borderRadius:q}=s,G=s.controlHeight-s.lineWidth*2,H=Math.ceil(s.fontSize*1.25),$=x?`${T}-${x}`:"";return{[`${T}-single${$}`]:{fontSize:s.fontSize,[`${T}-selector`]:Object.assign(Object.assign({},(0,b.Wf)(s)),{display:"flex",borderRadius:q,[`${T}-selection-search`]:{position:"absolute",top:0,insetInlineStart:J,insetInlineEnd:J,bottom:0,"&-input":{width:"100%"}},[`
|
|
${T}-selection-item,
|
|
${T}-selection-placeholder
|
|
`]:{padding:0,lineHeight:`${G}px`,transition:`all ${s.motionDurationSlow}, visibility 0s`,"@supports (-moz-appearance: meterbar)":{lineHeight:`${G}px`}},[`${T}-selection-item`]:{position:"relative",userSelect:"none"},[`${T}-selection-placeholder`]:{transition:"none",pointerEvents:"none"},[["&:after",`${T}-selection-item:after`,`${T}-selection-placeholder:after`].join(",")]:{display:"inline-block",width:0,visibility:"hidden",content:'"\\a0"'}}),[`
|
|
&${T}-show-arrow ${T}-selection-item,
|
|
&${T}-show-arrow ${T}-selection-placeholder
|
|
`]:{paddingInlineEnd:H},[`&${T}-open ${T}-selection-item`]:{color:s.colorTextPlaceholder},[`&:not(${T}-customize-input)`]:{[`${T}-selector`]:{width:"100%",height:s.controlHeight,padding:`0 ${J}px`,[`${T}-selection-search-input`]:{height:G},"&:after":{lineHeight:`${G}px`}}},[`&${T}-customize-input`]:{[`${T}-selector`]:{"&:after":{display:"none"},[`${T}-selection-search`]:{position:"static",width:"100%"},[`${T}-selection-placeholder`]:{position:"absolute",insetInlineStart:0,insetInlineEnd:0,padding:`0 ${J}px`,"&:after":{display:"none"}}}}}}}function w(s){const{componentCls:x}=s,T=s.controlPaddingHorizontalSM-s.lineWidth;return[l(s),l((0,D.TS)(s,{controlHeight:s.controlHeightSM,borderRadius:s.borderRadiusSM}),"sm"),{[`${x}-single${x}-sm`]:{[`&:not(${x}-customize-input)`]:{[`${x}-selection-search`]:{insetInlineStart:T,insetInlineEnd:T},[`${x}-selector`]:{padding:`0 ${T}px`},[`&${x}-show-arrow ${x}-selection-search`]:{insetInlineEnd:T+s.fontSize*1.5},[`
|
|
&${x}-show-arrow ${x}-selection-item,
|
|
&${x}-show-arrow ${x}-selection-placeholder
|
|
`]:{paddingInlineEnd:s.fontSize*1.5}}}},l((0,D.TS)(s,{controlHeight:s.singleItemHeightLG,fontSize:s.fontSizeLG,borderRadius:s.borderRadiusLG}),"lg")]}const k=s=>{const{componentCls:x,selectorBg:T}=s;return{position:"relative",backgroundColor:T,border:`${s.lineWidth}px ${s.lineType} ${s.colorBorder}`,transition:`all ${s.motionDurationMid} ${s.motionEaseInOut}`,input:{cursor:"pointer"},[`${x}-show-search&`]:{cursor:"text",input:{cursor:"auto",color:"inherit"}},[`${x}-disabled&`]:{color:s.colorTextDisabled,background:s.colorBgContainerDisabled,cursor:"not-allowed",[`${x}-multiple&`]:{background:s.multipleSelectorBgDisabled},input:{cursor:"not-allowed"}}}},E=function(s,x){let T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const{componentCls:J,borderHoverColor:q,outlineColor:G,antCls:H}=x,$=T?{[`${J}-selector`]:{borderColor:q}}:{};return{[s]:{[`&:not(${J}-disabled):not(${J}-customize-input):not(${H}-pagination-size-changer)`]:Object.assign(Object.assign({},$),{[`${J}-focused& ${J}-selector`]:{borderColor:q,boxShadow:`0 0 0 ${x.controlOutlineWidth}px ${G}`,outline:0},[`&:hover ${J}-selector`]:{borderColor:q}})}}},g=s=>{const{componentCls:x}=s;return{[`${x}-selection-search-input`]:{margin:0,padding:0,background:"transparent",border:"none",outline:"none",appearance:"none","&::-webkit-search-cancel-button":{display:"none","-webkit-appearance":"none"}}}},O=s=>{const{componentCls:x,inputPaddingHorizontalBase:T,iconCls:J}=s;return{[x]:Object.assign(Object.assign({},(0,b.Wf)(s)),{position:"relative",display:"inline-block",cursor:"pointer",[`&:not(${x}-customize-input) ${x}-selector`]:Object.assign(Object.assign({},k(s)),g(s)),[`${x}-selection-item`]:Object.assign({flex:1,fontWeight:"normal"},b.vS),[`${x}-selection-placeholder`]:Object.assign(Object.assign({},b.vS),{flex:1,color:s.colorTextPlaceholder,pointerEvents:"none"}),[`${x}-arrow`]:Object.assign(Object.assign({},(0,b.Ro)()),{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:T,height:s.fontSizeIcon,marginTop:-s.fontSizeIcon/2,color:s.colorTextQuaternary,fontSize:s.fontSizeIcon,lineHeight:1,textAlign:"center",pointerEvents:"none",display:"flex",alignItems:"center",[J]:{verticalAlign:"top",transition:`transform ${s.motionDurationSlow}`,"> svg":{verticalAlign:"top"},[`&:not(${x}-suffix)`]:{pointerEvents:"auto"}},[`${x}-disabled &`]:{cursor:"not-allowed"},"> *:not(:last-child)":{marginInlineEnd:8}}),[`${x}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:T,zIndex:1,display:"inline-block",width:s.fontSizeIcon,height:s.fontSizeIcon,marginTop:-s.fontSizeIcon/2,color:s.colorTextQuaternary,fontSize:s.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",background:s.clearBg,cursor:"pointer",opacity:0,transition:`color ${s.motionDurationMid} ease, opacity ${s.motionDurationSlow} ease`,textRendering:"auto","&:before":{display:"block"},"&:hover":{color:s.colorTextTertiary}},"&:hover":{[`${x}-clear`]:{opacity:1}}}),[`${x}-has-feedback`]:{[`${x}-clear`]:{insetInlineEnd:T+s.fontSize+s.paddingXS}}}},C=s=>{const{componentCls:x}=s;return[{[x]:{[`&-borderless ${x}-selector`]:{backgroundColor:"transparent !important",borderColor:"transparent !important",boxShadow:"none !important"},[`&${x}-in-form-item`]:{width:"100%"}}},O(s),w(s),o(s),e(s),{[`${x}-rtl`]:{direction:"rtl"}},E(x,(0,D.TS)(s,{borderHoverColor:s.colorPrimaryHover,outlineColor:s.controlOutline})),E(`${x}-status-error`,(0,D.TS)(s,{borderHoverColor:s.colorErrorHover,outlineColor:s.colorErrorOutline}),!0),E(`${x}-status-warning`,(0,D.TS)(s,{borderHoverColor:s.colorWarningHover,outlineColor:s.colorWarningOutline}),!0),(0,m.c)(s,{borderElCls:`${x}-selector`,focusElCls:`${x}-focused`})]};var c=(0,V.Z)("Select",(s,x)=>{let{rootPrefixCls:T}=x;const J=(0,D.TS)(s,{rootPrefixCls:T,inputPaddingHorizontalBase:s.paddingSM-1,multipleSelectItemHeight:s.multipleItemHeight});return[C(J)]},s=>{const{fontSize:x,lineHeight:T,controlHeight:J,controlPaddingHorizontal:q,zIndexPopupBase:G,colorText:H,fontWeightStrong:$,controlItemBgActive:p,controlItemBgHover:z,colorBgContainer:I,colorFillSecondary:B,controlHeightLG:P,controlHeightSM:i,colorBgContainerDisabled:a,colorTextDisabled:_}=s;return{zIndexPopup:G+50,optionSelectedColor:H,optionSelectedFontWeight:$,optionSelectedBg:p,optionActiveBg:z,optionPadding:`${(J-x*T)/2}px ${q}px`,optionFontSize:x,optionLineHeight:T,optionHeight:J,selectorBg:I,clearBg:I,singleItemHeightLG:P,multipleItemBg:B,multipleItemBorderColor:"transparent",multipleItemHeight:i,multipleItemHeightLG:J,multipleSelectorBgDisabled:a,multipleItemColorDisabled:_,multipleItemBorderColorDisabled:"transparent"}})},58582:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return m}});const b=D=>{const Z={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:D==="scroll"?"scroll":"visible",_experimental:{dynamicInset:!0}};return{bottomLeft:Object.assign(Object.assign({},Z),{points:["tl","bl"],offset:[0,4]}),bottomRight:Object.assign(Object.assign({},Z),{points:["tr","br"],offset:[0,4]}),topLeft:Object.assign(Object.assign({},Z),{points:["bl","tl"],offset:[0,-4]}),topRight:Object.assign(Object.assign({},Z),{points:["br","tr"],offset:[0,-4]})}};function m(D,V){return D||b(V)}},84443:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return b}});function b(m,D){return D!==void 0?D:m!==null}},66339:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return W}});var b=t(40001),m=t(19248),D=t(99267),V=t(84105),Z=t(58617),K=t(47472),u=t(59301);function W(e){let{suffixIcon:h,clearIcon:v,menuItemSelectedIcon:n,removeIcon:r,loading:o,multiple:l,hasFeedback:w,prefixCls:k,showSuffixIcon:E,feedbackIcon:g,showArrow:O,componentName:C}=e;const c=v!=null?v:u.createElement(m.Z,null),s=q=>h===null&&!w&&!O?null:u.createElement(u.Fragment,null,E!==!1&&q,w&&g);let x=null;if(h!==void 0)x=s(h);else if(o)x=s(u.createElement(Z.Z,{spin:!0}));else{const q=`${k}-suffix`;x=G=>{let{open:H,showSearch:$}=G;return s(H&&$?u.createElement(K.Z,{className:q}):u.createElement(V.Z,{className:q}))}}let T=null;n!==void 0?T=n:l?T=u.createElement(b.Z,null):T=null;let J=null;return r!==void 0?J=r:J=u.createElement(D.Z,null),{clearIcon:c,suffixIcon:x,itemIcon:T,removeIcon:J}}},81327:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return k}});var b=t(59301),m=t(92310),D=t.n(m),V=t(11592),Z=t(36355),K=t(33234);const u=b.createContext({latestIndex:0}),W=u.Provider;var h=E=>{let{className:g,index:O,children:C,split:c,style:s}=E;const{latestIndex:x}=b.useContext(u);return C==null?null:b.createElement(b.Fragment,null,b.createElement("div",{className:g,style:s},C),O<x&&c&&b.createElement("span",{className:`${g}-split`},c))},v=t(2856);function n(E){return["small","middle","large"].includes(E)}function r(E){return E?typeof E=="number"&&!Number.isNaN(E):!1}var o=function(E,g){var O={};for(var C in E)Object.prototype.hasOwnProperty.call(E,C)&&g.indexOf(C)<0&&(O[C]=E[C]);if(E!=null&&typeof Object.getOwnPropertySymbols=="function")for(var c=0,C=Object.getOwnPropertySymbols(E);c<C.length;c++)g.indexOf(C[c])<0&&Object.prototype.propertyIsEnumerable.call(E,C[c])&&(O[C[c]]=E[C[c]]);return O};const w=b.forwardRef((E,g)=>{var O,C;const{getPrefixCls:c,space:s,direction:x}=b.useContext(Z.E_),{size:T=(s==null?void 0:s.size)||"small",align:J,className:q,rootClassName:G,children:H,direction:$="horizontal",prefixCls:p,split:z,style:I,wrap:B=!1,classNames:P,styles:i}=E,a=o(E,["size","align","className","rootClassName","children","direction","prefixCls","split","style","wrap","classNames","styles"]),[_,F]=Array.isArray(T)?T:[T,T],te=n(F),ie=n(_),ae=r(F),he=r(_),we=(0,V.Z)(H,{keepEmpty:!0}),Ke=J===void 0&&$==="horizontal"?"center":J,Ie=c("space",p),[ke,Xe]=(0,v.Z)(Ie),Oe=D()(Ie,s==null?void 0:s.className,Xe,`${Ie}-${$}`,{[`${Ie}-rtl`]:x==="rtl",[`${Ie}-align-${Ke}`]:Ke,[`${Ie}-gap-row-${F}`]:te,[`${Ie}-gap-col-${_}`]:ie},q,G),Ce=D()(`${Ie}-item`,(O=P==null?void 0:P.item)!==null&&O!==void 0?O:(C=s==null?void 0:s.classNames)===null||C===void 0?void 0:C.item);let le=0;const se=we.map((M,R)=>{var ee,y;M!=null&&(le=R);const d=M&&M.key||`${Ce}-${R}`;return b.createElement(h,{className:Ce,key:d,index:R,split:z,style:(ee=i==null?void 0:i.item)!==null&&ee!==void 0?ee:(y=s==null?void 0:s.styles)===null||y===void 0?void 0:y.item},M)}),L=b.useMemo(()=>({latestIndex:le}),[le]);if(we.length===0)return null;const U={};return B&&(U.flexWrap="wrap"),!ie&&he&&(U.columnGap=_),!te&&ae&&(U.rowGap=F),ke(b.createElement("div",Object.assign({ref:g,className:Oe,style:Object.assign(Object.assign(Object.assign({},U),s==null?void 0:s.style),I)},a),b.createElement(W,{value:L},se)))});w.Compact=K.ZP;var k=w},8378:function(We,fe){"use strict";const t=b=>({[b.componentCls]:{[`${b.antCls}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`height ${b.motionDurationMid} ${b.motionEaseInOut},
|
|
opacity ${b.motionDurationMid} ${b.motionEaseInOut} !important`}},[`${b.antCls}-motion-collapse`]:{overflow:"hidden",transition:`height ${b.motionDurationMid} ${b.motionEaseInOut},
|
|
opacity ${b.motionDurationMid} ${b.motionEaseInOut} !important`}}});fe.Z=t},92899:function(We,fe,t){"use strict";t.d(fe,{Fm:function(){return n}});var b=t(93083),m=t(95406);const D=new b.Keyframes("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),V=new b.Keyframes("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),Z=new b.Keyframes("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),K=new b.Keyframes("antMoveLeftOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),u=new b.Keyframes("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),W=new b.Keyframes("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),e=new b.Keyframes("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),h=new b.Keyframes("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}}),v={"move-up":{inKeyframes:e,outKeyframes:h},"move-down":{inKeyframes:D,outKeyframes:V},"move-left":{inKeyframes:Z,outKeyframes:K},"move-right":{inKeyframes:u,outKeyframes:W}},n=(r,o)=>{const{antCls:l}=r,w=`${l}-${o}`,{inKeyframes:k,outKeyframes:E}=v[o];return[(0,m.R)(w,k,E,r.motionDurationMid),{[`
|
|
${w}-enter,
|
|
${w}-appear
|
|
`]:{opacity:0,animationTimingFunction:r.motionEaseOutCirc},[`${w}-leave`]:{animationTimingFunction:r.motionEaseInOutCirc}}]}},13826:function(We,fe,t){"use strict";t.d(fe,{Qt:function(){return Z},Uw:function(){return V},fJ:function(){return D},ly:function(){return K},oN:function(){return n}});var b=t(93083),m=t(95406);const D=new b.Keyframes("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),V=new b.Keyframes("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),Z=new b.Keyframes("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),K=new b.Keyframes("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),u=new b.Keyframes("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),W=new b.Keyframes("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),e=new b.Keyframes("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),h=new b.Keyframes("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),v={"slide-up":{inKeyframes:D,outKeyframes:V},"slide-down":{inKeyframes:Z,outKeyframes:K},"slide-left":{inKeyframes:u,outKeyframes:W},"slide-right":{inKeyframes:e,outKeyframes:h}},n=(r,o)=>{const{antCls:l}=r,w=`${l}-${o}`,{inKeyframes:k,outKeyframes:E}=v[o];return[(0,m.R)(w,k,E,r.motionDurationMid),{[`
|
|
${w}-enter,
|
|
${w}-appear
|
|
`]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:r.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${w}-leave`]:{animationTimingFunction:r.motionEaseInQuint}}]}},15969:function(We,fe,t){"use strict";t.d(fe,{N:function(){return b}});const b=m=>({color:m.colorLink,textDecoration:"none",outline:"none",cursor:"pointer",transition:`color ${m.motionDurationSlow}`,"&:focus, &:hover":{color:m.colorLinkHover},"&:active":{color:m.colorLinkActive}})},19447:function(We,fe,t){"use strict";t.d(fe,{ZP:function(){return Z},fS:function(){return D},qN:function(){return m}});var b=t(47585);const m=8;function D(K){const u=m,{contentRadius:W,limitVerticalRadius:e}=K,h=W>12?W+2:12;return{dropdownArrowOffset:h,dropdownArrowOffsetVertical:e?u:h}}function V(K,u){return K?u:{}}function Z(K,u){const{componentCls:W,sizePopupArrow:e,borderRadiusXS:h,borderRadiusOuter:v,boxShadowPopoverArrow:n}=K,{colorBg:r,contentRadius:o=K.borderRadiusLG,limitVerticalRadius:l,arrowDistance:w=0,arrowPlacement:k={left:!0,right:!0,top:!0,bottom:!0}}=u,{dropdownArrowOffsetVertical:E,dropdownArrowOffset:g}=D({contentRadius:o,limitVerticalRadius:l});return{[W]:Object.assign(Object.assign(Object.assign(Object.assign({[`${W}-arrow`]:[Object.assign(Object.assign({position:"absolute",zIndex:1,display:"block"},(0,b.r)(e,h,v,r,n)),{"&:before":{background:r}})]},V(!!k.top,{[[`&-placement-top ${W}-arrow`,`&-placement-topLeft ${W}-arrow`,`&-placement-topRight ${W}-arrow`].join(",")]:{bottom:w,transform:"translateY(100%) rotate(180deg)"},[`&-placement-top ${W}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(100%) rotate(180deg)"},[`&-placement-topLeft ${W}-arrow`]:{left:{_skip_check_:!0,value:g}},[`&-placement-topRight ${W}-arrow`]:{right:{_skip_check_:!0,value:g}}})),V(!!k.bottom,{[[`&-placement-bottom ${W}-arrow`,`&-placement-bottomLeft ${W}-arrow`,`&-placement-bottomRight ${W}-arrow`].join(",")]:{top:w,transform:"translateY(-100%)"},[`&-placement-bottom ${W}-arrow`]:{left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%) translateY(-100%)"},[`&-placement-bottomLeft ${W}-arrow`]:{left:{_skip_check_:!0,value:g}},[`&-placement-bottomRight ${W}-arrow`]:{right:{_skip_check_:!0,value:g}}})),V(!!k.left,{[[`&-placement-left ${W}-arrow`,`&-placement-leftTop ${W}-arrow`,`&-placement-leftBottom ${W}-arrow`].join(",")]:{right:{_skip_check_:!0,value:w},transform:"translateX(100%) rotate(90deg)"},[`&-placement-left ${W}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(100%) rotate(90deg)"},[`&-placement-leftTop ${W}-arrow`]:{top:E},[`&-placement-leftBottom ${W}-arrow`]:{bottom:E}})),V(!!k.right,{[[`&-placement-right ${W}-arrow`,`&-placement-rightTop ${W}-arrow`,`&-placement-rightBottom ${W}-arrow`].join(",")]:{left:{_skip_check_:!0,value:w},transform:"translateX(-100%) rotate(-90deg)"},[`&-placement-right ${W}-arrow`]:{top:{_skip_check_:!0,value:"50%"},transform:"translateY(-50%) translateX(-100%) rotate(-90deg)"},[`&-placement-rightTop ${W}-arrow`]:{top:E},[`&-placement-rightBottom ${W}-arrow`]:{bottom:E}}))}}},47585:function(We,fe,t){"use strict";t.d(fe,{r:function(){return b}});const b=(m,D,V,Z,K)=>{const u=m/2,W=0,e=u,h=V*1/Math.sqrt(2),v=u-V*(1-1/Math.sqrt(2)),n=u-D*(1/Math.sqrt(2)),r=V*(Math.sqrt(2)-1)+D*(1/Math.sqrt(2)),o=2*u-n,l=r,w=2*u-h,k=v,E=2*u-W,g=e,O=u*Math.sqrt(2)+V*(Math.sqrt(2)-2),C=V*(Math.sqrt(2)-1);return{pointerEvents:"none",width:m,height:m,overflow:"hidden","&::before":{position:"absolute",bottom:0,insetInlineStart:0,width:m,height:m/2,background:Z,clipPath:{_multi_value_:!0,value:[`polygon(${C}px 100%, 50% ${C}px, ${2*u-C}px 100%, ${C}px 100%)`,`path('M ${W} ${e} A ${V} ${V} 0 0 0 ${h} ${v} L ${n} ${r} A ${D} ${D} 0 0 1 ${o} ${l} L ${w} ${k} A ${V} ${V} 0 0 0 ${E} ${g} Z')`]},content:'""'},"&::after":{content:'""',position:"absolute",width:O,height:O,bottom:0,insetInline:0,margin:"auto",borderRadius:{_skip_check_:!0,value:`0 0 ${D}px 0`},transform:"translateY(50%) rotate(-135deg)",boxShadow:K,zIndex:0,background:"transparent"}}}},1710:function(We,fe,t){"use strict";t.d(fe,{default:function(){return Bo}});var b={},m="rc-table-internal-hook",D=t(33606),V=t(6089),Z=t(34280),K=t(13697),u=t(59301),W=t(4676);function e(S){var N=u.createContext(void 0),Y=function(ue){var de=ue.value,be=ue.children,xe=u.useRef(de);xe.current=de;var ye=u.useState(function(){return{getValue:function(){return xe.current},listeners:new Set}}),Pe=(0,D.Z)(ye,1),Le=Pe[0];return(0,Z.Z)(function(){(0,W.unstable_batchedUpdates)(function(){Le.listeners.forEach(function(Te){Te(de)})})},[de]),u.createElement(N.Provider,{value:Le},be)};return{Context:N,Provider:Y,defaultValue:S}}function h(S,N){var Y=(0,V.Z)(typeof N=="function"?N:function(Te){if(N===void 0)return Te;if(!Array.isArray(N))return Te[N];var Ge={};return N.forEach(function(He){Ge[He]=Te[He]}),Ge}),ne=u.useContext(S==null?void 0:S.Context),ue=ne||{},de=ue.listeners,be=ue.getValue,xe=u.useRef();xe.current=Y(ne?be():S==null?void 0:S.defaultValue);var ye=u.useState({}),Pe=(0,D.Z)(ye,2),Le=Pe[1];return(0,Z.Z)(function(){if(!ne)return;function Te(Ge){var He=Y(Ge);(0,K.Z)(xe.current,He,!0)||Le({})}return de.add(Te),function(){de.delete(Te)}},[ne]),xe.current}var v=t(92413),n=t(8654);function r(){var S=u.createContext(null);function N(){return u.useContext(S)}function Y(ue,de){var be=(0,n.Yr)(ue),xe=function(Pe,Le){var Te=be?{ref:Le}:{},Ge=u.useRef(0),He=u.useRef(Pe),Ve=N();return Ve!==null?u.createElement(ue,(0,v.Z)({},Pe,Te)):((!de||de(He.current,Pe))&&(Ge.current+=1),He.current=Pe,u.createElement(S.Provider,{value:Ge.current},u.createElement(ue,(0,v.Z)({},Pe,Te))))};return be?u.forwardRef(xe):xe}function ne(ue,de){var be=(0,n.Yr)(ue),xe=function(Pe,Le){var Te=be?{ref:Le}:{};return N(),u.createElement(ue,(0,v.Z)({},Pe,Te))};return be?u.memo(u.forwardRef(xe),de):u.memo(xe,de)}return{makeImmutable:Y,responseImmutable:ne,useImmutableMark:N}}var o=r(),l=o.makeImmutable,w=o.responseImmutable,k=o.useImmutableMark,E=r(),g=E.makeImmutable,O=E.responseImmutable,C=E.useImmutableMark,c=e(),s=c;function x(S,N){var Y=u.useRef(0);Y.current+=1;var ne=u.useRef(S),ue=[];Object.keys(S||{}).map(function(be){var xe;(S==null?void 0:S[be])!==((xe=ne.current)===null||xe===void 0?void 0:xe[be])&&ue.push(be)}),ne.current=S;var de=u.useRef([]);return ue.length&&(de.current=ue),u.useDebugValue(Y.current),u.useDebugValue(de.current.join(", ")),N&&console.log("".concat(N,":"),Y.current,de.current),Y.current}var T=null,J=u.memo(function(){var S=x();return u.createElement("h1",null,"Render Times: ",S)});J.displayName="RenderBlock";var q=t(39559),G=t(33708),H=t(400),$=t(92310),p=t.n($),z=t(80547),I=t(97938),B=t(48736),P=u.createContext({renderWithProps:!1}),i=P,a="RC_TABLE_KEY";function _(S){return S==null?[]:Array.isArray(S)?S:[S]}function F(S){var N=[],Y={};return S.forEach(function(ne){for(var ue=ne||{},de=ue.key,be=ue.dataIndex,xe=de||_(be).join("-")||a;Y[xe];)xe="".concat(xe,"_next");Y[xe]=!0,N.push(xe)}),N}function te(S){return S!=null}function ie(S){return S&&(0,q.Z)(S)==="object"&&!Array.isArray(S)&&!u.isValidElement(S)}function ae(S,N,Y,ne,ue,de){var be=u.useContext(i),xe=C(),ye=(0,z.Z)(function(){if(te(ne))return[ne];var Pe=N==null||N===""?[]:Array.isArray(N)?N:[N],Le=(0,I.Z)(S,Pe),Te=Le,Ge=void 0;if(ue){var He=ue(Le,S,Y);ie(He)?(Te=He.children,Ge=He.props,be.renderWithProps=!0):Te=He}return[Te,Ge]},[xe,S,ne,N,ue,Y],function(Pe,Le){if(de){var Te=(0,D.Z)(Pe,2),Ge=Te[1],He=(0,D.Z)(Le,2),Ve=He[1];return de(Ve,Ge)}return be.renderWithProps?!0:!(0,K.Z)(Pe,Le,!0)});return ye}function he(S,N,Y,ne){var ue=S+N-1;return S<=ne&&ue>=Y}function we(S,N){return h(s,function(Y){var ne=he(S,N||1,Y.hoverStartRow,Y.hoverEndRow);return[ne,Y.onHover]})}var Ke=function(N){var Y=N.ellipsis,ne=N.rowType,ue=N.children,de,be=Y===!0?{showTitle:!0}:Y;return be&&(be.showTitle||ne==="header")&&(typeof ue=="string"||typeof ue=="number"?de=ue.toString():u.isValidElement(ue)&&typeof ue.props.children=="string"&&(de=ue.props.children)),de};function Ie(S){var N,Y,ne,ue,de,be,xe,ye,Pe=S.component,Le=S.children,Te=S.ellipsis,Ge=S.scope,He=S.prefixCls,Ve=S.className,vt=S.align,ct=S.record,gt=S.render,dt=S.dataIndex,St=S.renderIndex,tn=S.shouldCellUpdate,nn=S.index,kt=S.rowType,bn=S.colSpan,Nn=S.rowSpan,It=S.fixLeft,jt=S.fixRight,Rt=S.firstFixLeft,xt=S.lastFixLeft,Bt=S.firstFixRight,vn=S.lastFixRight,Fn=S.appendNode,Tn=S.additionalProps,sn=Tn===void 0?{}:Tn,Wn=S.isSticky,Un="".concat(He,"-cell"),vr=h(s,["supportSticky","allColumnsFixedLeft"]),ir=vr.supportSticky,kr=vr.allColumnsFixedLeft,Kr=ae(ct,dt,St,Le,gt,tn),$n=(0,D.Z)(Kr,2),Vr=$n[0],or=$n[1],Pr={},Or=typeof It=="number"&&ir,Ei=typeof jt=="number"&&ir;Or&&(Pr.position="sticky",Pr.left=It),Ei&&(Pr.position="sticky",Pr.right=jt);var fn=(N=(Y=(ne=or==null?void 0:or.colSpan)!==null&&ne!==void 0?ne:sn.colSpan)!==null&&Y!==void 0?Y:bn)!==null&&N!==void 0?N:1,un=(ue=(de=(be=or==null?void 0:or.rowSpan)!==null&&be!==void 0?be:sn.rowSpan)!==null&&de!==void 0?de:Nn)!==null&&ue!==void 0?ue:1,ln=we(nn,un),qt=(0,D.Z)(ln,2),sr=qt[0],en=qt[1],Pn=function(Xr){var Si;ct&&en(nn,nn+un-1),sn==null||(Si=sn.onMouseEnter)===null||Si===void 0||Si.call(sn,Xr)},nr=function(Xr){var Si;ct&&en(-1,-1),sn==null||(Si=sn.onMouseLeave)===null||Si===void 0||Si.call(sn,Xr)};if(fn===0||un===0)return null;var qn=(xe=sn.title)!==null&&xe!==void 0?xe:Ke({rowType:kt,ellipsis:Te,children:Vr}),fi=p()(Un,Ve,(ye={},(0,H.Z)(ye,"".concat(Un,"-fix-left"),Or&&ir),(0,H.Z)(ye,"".concat(Un,"-fix-left-first"),Rt&&ir),(0,H.Z)(ye,"".concat(Un,"-fix-left-last"),xt&&ir),(0,H.Z)(ye,"".concat(Un,"-fix-left-all"),xt&&kr&&ir),(0,H.Z)(ye,"".concat(Un,"-fix-right"),Ei&&ir),(0,H.Z)(ye,"".concat(Un,"-fix-right-first"),Bt&&ir),(0,H.Z)(ye,"".concat(Un,"-fix-right-last"),vn&&ir),(0,H.Z)(ye,"".concat(Un,"-ellipsis"),Te),(0,H.Z)(ye,"".concat(Un,"-with-append"),Fn),(0,H.Z)(ye,"".concat(Un,"-fix-sticky"),(Or||Ei)&&Wn&&ir),(0,H.Z)(ye,"".concat(Un,"-row-hover"),!or&&sr),ye),sn.className,or==null?void 0:or.className),ii={};vt&&(ii.textAlign=vt);var Ki=(0,G.Z)((0,G.Z)((0,G.Z)((0,G.Z)({},Pr),sn.style),ii),or==null?void 0:or.style),Gr=Vr;return(0,q.Z)(Gr)==="object"&&!Array.isArray(Gr)&&!u.isValidElement(Gr)&&(Gr=null),Te&&(xt||Bt)&&(Gr=u.createElement("span",{className:"".concat(Un,"-content")},Gr)),u.createElement(Pe,(0,v.Z)({},or,sn,{className:fi,style:Ki,title:qn,scope:Ge,onMouseEnter:Pn,onMouseLeave:nr,colSpan:fn!==1?fn:null,rowSpan:un!==1?un:null}),Fn,Gr)}var ke=u.memo(Ie);function Xe(S,N,Y,ne,ue,de){var be=Y[S]||{},xe=Y[N]||{},ye,Pe;be.fixed==="left"?ye=ne.left[ue==="rtl"?N:S]:xe.fixed==="right"&&(Pe=ne.right[ue==="rtl"?S:N]);var Le=!1,Te=!1,Ge=!1,He=!1,Ve=Y[N+1],vt=Y[S-1],ct=!(de!=null&&de.children);if(ue==="rtl"){if(ye!==void 0){var gt=vt&&vt.fixed==="left";He=!gt&&ct}else if(Pe!==void 0){var dt=Ve&&Ve.fixed==="right";Ge=!dt&&ct}}else if(ye!==void 0){var St=Ve&&Ve.fixed==="left";Le=!St&&ct}else if(Pe!==void 0){var tn=vt&&vt.fixed==="right";Te=!tn&&ct}return{fixLeft:ye,fixRight:Pe,lastFixLeft:Le,firstFixRight:Te,lastFixRight:Ge,firstFixLeft:He,isSticky:ne.isSticky}}var Oe=u.createContext({}),Ce=Oe;function le(S){var N=S.className,Y=S.index,ne=S.children,ue=S.colSpan,de=ue===void 0?1:ue,be=S.rowSpan,xe=S.align,ye=h(s,["prefixCls","direction"]),Pe=ye.prefixCls,Le=ye.direction,Te=u.useContext(Ce),Ge=Te.scrollColumnIndex,He=Te.stickyOffsets,Ve=Te.flattenColumns,vt=Te.columns,ct=Y+de-1,gt=ct+1===Ge?de+1:de,dt=Xe(Y,Y+gt-1,Ve,He,Le,vt==null?void 0:vt[Y]);return u.createElement(ke,(0,v.Z)({className:N,index:Y,component:"td",prefixCls:Pe,record:null,dataIndex:null,align:xe,colSpan:gt,rowSpan:be,render:function(){return ne}},dt))}var se=t(37061),L=["children"];function U(S){var N=S.children,Y=(0,se.Z)(S,L);return u.createElement("tr",Y,N)}function M(S){var N=S.children;return N}M.Row=U,M.Cell=le;var R=M;function ee(S){var N=S.children,Y=S.stickyOffsets,ne=S.flattenColumns,ue=S.columns,de=h(s,"prefixCls"),be=ne.length-1,xe=ne[be],ye=u.useMemo(function(){return{stickyOffsets:Y,flattenColumns:ne,scrollColumnIndex:xe!=null&&xe.scrollbar?be:null,columns:ue}},[xe,ne,be,Y,ue]);return u.createElement(Ce.Provider,{value:ye},u.createElement("tfoot",{className:"".concat(de,"-summary")},N))}var y=O(ee),d=R,f=t(70425),X=t(29301),j=t(29194),A=t(24514),Q=t(75152),ce=t(26112);function re(S,N,Y,ne,ue,de,be){S.push({record:N,indent:Y,index:be});var xe=de(N),ye=ue==null?void 0:ue.has(xe);if(N&&Array.isArray(N[ne])&&ye)for(var Pe=0;Pe<N[ne].length;Pe+=1)re(S,N[ne][Pe],Y+1,ne,ue,de,Pe)}function oe(S,N,Y,ne){var ue=u.useMemo(function(){if(Y!=null&&Y.size){for(var de=[],be=0;be<(S==null?void 0:S.length);be+=1){var xe=S[be];re(de,xe,0,N,Y,ne,be)}return de}return S==null?void 0:S.map(function(ye,Pe){return{record:ye,indent:0,index:Pe}})},[S,N,Y,ne]);return ue}function ve(S){var N=S.prefixCls,Y=S.children,ne=S.component,ue=S.cellComponent,de=S.className,be=S.expanded,xe=S.colSpan,ye=S.isEmpty,Pe=h(s,["scrollbarSize","fixHeader","fixColumn","componentWidth","horizonScroll"]),Le=Pe.scrollbarSize,Te=Pe.fixHeader,Ge=Pe.fixColumn,He=Pe.componentWidth,Ve=Pe.horizonScroll,vt=Y;return(ye?Ve&&He:Ge)&&(vt=u.createElement("div",{style:{width:He-(Te?Le:0),position:"sticky",left:0,overflow:"hidden"},className:"".concat(N,"-expanded-row-fixed")},vt)),u.createElement(ne,{className:de,style:{display:be?null:"none"}},u.createElement(ke,{component:ue,prefixCls:N,colSpan:xe},vt))}var Ee=ve;function pe(S,N,Y,ne){var ue=h(s,["prefixCls","fixedInfoList","flattenColumns","expandableType","expandRowByClick","onTriggerExpand","rowClassName","expandedRowClassName","indentSize","expandIcon","expandedRowRender","expandIconColumnIndex","expandedKeys","childrenColumnName","rowExpandable","onRow"]),de=ue.flattenColumns,be=ue.expandableType,xe=ue.expandedKeys,ye=ue.childrenColumnName,Pe=ue.onTriggerExpand,Le=ue.rowExpandable,Te=ue.onRow,Ge=ue.expandRowByClick,He=ue.rowClassName,Ve=be==="nest",vt=be==="row"&&(!Le||Le(S)),ct=vt||Ve,gt=xe&&xe.has(N),dt=ye&&S&&S[ye],St=(0,f.useEvent)(Pe),tn=Te==null?void 0:Te(S,Y),nn=tn==null?void 0:tn.onClick,kt=function(jt){Ge&&ct&&Pe(S,jt);for(var Rt=arguments.length,xt=new Array(Rt>1?Rt-1:0),Bt=1;Bt<Rt;Bt++)xt[Bt-1]=arguments[Bt];nn==null||nn.apply(void 0,[jt].concat(xt))},bn;typeof He=="string"?bn=He:typeof He=="function"&&(bn=He(S,Y,ne));var Nn=F(de);return(0,G.Z)((0,G.Z)({},ue),{},{columnsKey:Nn,nestExpandable:Ve,expanded:gt,hasNestChildren:dt,record:S,onTriggerExpand:St,rowSupportExpand:vt,expandable:ct,rowProps:(0,G.Z)((0,G.Z)({},tn),{},{className:p()(bn,tn==null?void 0:tn.className),onClick:kt})})}function Ze(S,N,Y,ne,ue){var de=S.record,be=S.prefixCls,xe=S.columnsKey,ye=S.fixedInfoList,Pe=S.expandIconColumnIndex,Le=S.nestExpandable,Te=S.indentSize,Ge=S.expandIcon,He=S.expanded,Ve=S.hasNestChildren,vt=S.onTriggerExpand,ct=xe[Y],gt=ye[Y],dt;Y===(Pe||0)&&Le&&(dt=u.createElement(u.Fragment,null,u.createElement("span",{style:{paddingLeft:"".concat(Te*ne,"px")},className:"".concat(be,"-row-indent indent-level-").concat(ne)}),Ge({prefixCls:be,expanded:He,expandable:Ve,record:de,onExpand:vt})));var St;return N.onCell&&(St=N.onCell(de,ue)),{key:ct,fixedInfo:gt,appendCellNode:dt,additionalCellProps:St||{}}}function De(S){var N=S.className,Y=S.style,ne=S.record,ue=S.index,de=S.renderIndex,be=S.rowKey,xe=S.indent,ye=xe===void 0?0:xe,Pe=S.rowComponent,Le=S.cellComponent,Te=S.scopeCellComponent,Ge=pe(ne,be,ue,ye),He=Ge.prefixCls,Ve=Ge.flattenColumns,vt=Ge.expandedRowClassName,ct=Ge.expandedRowRender,gt=Ge.rowProps,dt=Ge.expanded,St=Ge.rowSupportExpand,tn=u.useState(!1),nn=(0,D.Z)(tn,2),kt=nn[0],bn=nn[1];u.useEffect(function(){dt&&bn(!0)},[dt]);var Nn=u.createElement(Pe,(0,v.Z)({},gt,{"data-row-key":be,className:p()(N,"".concat(He,"-row"),"".concat(He,"-row-level-").concat(ye),gt==null?void 0:gt.className),style:(0,G.Z)((0,G.Z)({},Y),gt==null?void 0:gt.style)}),Ve.map(function(xt,Bt){var vn=xt.render,Fn=xt.dataIndex,Tn=xt.className,sn=Ze(Ge,xt,Bt,ye,ue),Wn=sn.key,Un=sn.fixedInfo,vr=sn.appendCellNode,ir=sn.additionalCellProps;return u.createElement(ke,(0,v.Z)({className:Tn,ellipsis:xt.ellipsis,align:xt.align,scope:xt.rowScope,component:xt.rowScope?Te:Le,prefixCls:He,key:Wn,record:ne,index:ue,renderIndex:de,dataIndex:Fn,render:vn,shouldCellUpdate:xt.shouldCellUpdate},Un,{appendNode:vr,additionalProps:ir}))})),It;if(St&&(kt||dt)){var jt=ct(ne,ue,ye+1,dt),Rt=vt&&vt(ne,ue,ye);It=u.createElement(Ee,{expanded:dt,className:p()("".concat(He,"-expanded-row"),"".concat(He,"-expanded-row-level-").concat(ye+1),Rt),prefixCls:He,component:Pe,cellComponent:Le,colSpan:Ve.length,isEmpty:!1},jt)}return u.createElement(u.Fragment,null,Nn,It)}De.displayName="BodyRow";var Re=O(De);function Qe(S){var N=S.columnKey,Y=S.onColumnResize,ne=u.useRef();return u.useEffect(function(){ne.current&&Y(N,ne.current.offsetWidth)},[]),u.createElement(X.Z,{data:N},u.createElement("td",{ref:ne,style:{padding:0,border:0,height:0}},u.createElement("div",{style:{height:0,overflow:"hidden"}},"\xA0")))}function Ue(S){var N=S.prefixCls,Y=S.columnsKey,ne=S.onColumnResize;return u.createElement("tr",{"aria-hidden":"true",className:"".concat(N,"-measure-row"),style:{height:0,fontSize:0}},u.createElement(X.Z.Collection,{onBatchResize:function(de){de.forEach(function(be){var xe=be.data,ye=be.size;ne(xe,ye.offsetWidth)})}},Y.map(function(ue){return u.createElement(Qe,{key:ue,columnKey:ue,onColumnResize:ne})})))}function st(S){var N=S.data,Y=S.measureColumnWidth,ne=h(s,["prefixCls","getComponent","onColumnResize","flattenColumns","getRowKey","expandedKeys","childrenColumnName","emptyNode"]),ue=ne.prefixCls,de=ne.getComponent,be=ne.onColumnResize,xe=ne.flattenColumns,ye=ne.getRowKey,Pe=ne.expandedKeys,Le=ne.childrenColumnName,Te=ne.emptyNode,Ge=oe(N,Le,Pe,ye),He=u.useRef({renderWithProps:!1}),Ve=de(["body","wrapper"],"tbody"),vt=de(["body","row"],"tr"),ct=de(["body","cell"],"td"),gt=de(["body","cell"],"th"),dt;N.length?dt=Ge.map(function(tn,nn){var kt=tn.record,bn=tn.indent,Nn=tn.index,It=ye(kt,nn);return u.createElement(Re,{key:It,rowKey:It,record:kt,index:nn,renderIndex:Nn,rowComponent:vt,cellComponent:ct,scopeCellComponent:gt,getRowKey:ye,indent:bn})}):dt=u.createElement(Ee,{expanded:!0,className:"".concat(ue,"-placeholder"),prefixCls:ue,component:vt,cellComponent:ct,colSpan:xe.length,isEmpty:!0},Te);var St=F(xe);return u.createElement(i.Provider,{value:He.current},u.createElement(Ve,{className:"".concat(ue,"-tbody")},Y&&u.createElement(Ue,{prefixCls:ue,columnsKey:St,onColumnResize:be}),dt))}st.displayName="Body";var tt=O(st),Dt=["expandable"],Ct="RC_TABLE_INTERNAL_COL_DEFINE";function Mt(S){var N=S.expandable,Y=(0,se.Z)(S,Dt),ne;return"expandable"in S?ne=(0,G.Z)((0,G.Z)({},Y),N):ne=Y,ne.showExpandColumn===!1&&(ne.expandIconColumnIndex=-1),ne}var Pt=["columnType"];function rn(S){for(var N=S.colWidths,Y=S.columns,ne=S.columCount,ue=[],de=ne||Y.length,be=!1,xe=de-1;xe>=0;xe-=1){var ye=N[xe],Pe=Y&&Y[xe],Le=Pe&&Pe[Ct];if(ye||Le||be){var Te=Le||{},Ge=Te.columnType,He=(0,se.Z)(Te,Pt);ue.unshift(u.createElement("col",(0,v.Z)({key:xe,style:{width:ye}},He))),be=!0}}return u.createElement("colgroup",null,ue)}var Tt=rn,Je=t(26407),$t=["className","noData","columns","flattenColumns","colWidths","columCount","stickyOffsets","direction","fixHeader","stickyTopOffset","stickyBottomOffset","stickyClassName","onScroll","maxContentScroll","children"];function ut(S,N){return(0,u.useMemo)(function(){for(var Y=[],ne=0;ne<N;ne+=1){var ue=S[ne];if(ue!==void 0)Y[ne]=ue;else return null}return Y},[S.join("_"),N])}var ht=u.forwardRef(function(S,N){var Y=S.className,ne=S.noData,ue=S.columns,de=S.flattenColumns,be=S.colWidths,xe=S.columCount,ye=S.stickyOffsets,Pe=S.direction,Le=S.fixHeader,Te=S.stickyTopOffset,Ge=S.stickyBottomOffset,He=S.stickyClassName,Ve=S.onScroll,vt=S.maxContentScroll,ct=S.children,gt=(0,se.Z)(S,$t),dt=h(s,["prefixCls","scrollbarSize","isSticky"]),St=dt.prefixCls,tn=dt.scrollbarSize,nn=dt.isSticky,kt=nn&&!Le?0:tn,bn=u.useRef(null),Nn=u.useCallback(function(Tn){(0,n.mH)(N,Tn),(0,n.mH)(bn,Tn)},[]);u.useEffect(function(){var Tn;function sn(Wn){var Un=Wn,vr=Un.currentTarget,ir=Un.deltaX;ir&&(Ve({currentTarget:vr,scrollLeft:vr.scrollLeft+ir}),Wn.preventDefault())}return(Tn=bn.current)===null||Tn===void 0||Tn.addEventListener("wheel",sn),function(){var Wn;(Wn=bn.current)===null||Wn===void 0||Wn.removeEventListener("wheel",sn)}},[]);var It=u.useMemo(function(){return de.every(function(Tn){return Tn.width})},[de]),jt=de[de.length-1],Rt={fixed:jt?jt.fixed:null,scrollbar:!0,onHeaderCell:function(){return{className:"".concat(St,"-cell-scrollbar")}}},xt=(0,u.useMemo)(function(){return kt?[].concat((0,Je.Z)(ue),[Rt]):ue},[kt,ue]),Bt=(0,u.useMemo)(function(){return kt?[].concat((0,Je.Z)(de),[Rt]):de},[kt,de]),vn=(0,u.useMemo)(function(){var Tn=ye.right,sn=ye.left;return(0,G.Z)((0,G.Z)({},ye),{},{left:Pe==="rtl"?[].concat((0,Je.Z)(sn.map(function(Wn){return Wn+kt})),[0]):sn,right:Pe==="rtl"?Tn:[].concat((0,Je.Z)(Tn.map(function(Wn){return Wn+kt})),[0]),isSticky:nn})},[kt,ye,nn]),Fn=ut(be,xe);return u.createElement("div",{style:(0,G.Z)({overflow:"hidden"},nn?{top:Te,bottom:Ge}:{}),ref:Nn,className:p()(Y,(0,H.Z)({},He,!!He))},u.createElement("table",{style:{tableLayout:"fixed",visibility:ne||Fn?null:"hidden"}},(!ne||!vt||It)&&u.createElement(Tt,{colWidths:Fn?[].concat((0,Je.Z)(Fn),[kt]):[],columCount:xe+1,columns:Bt}),ct((0,G.Z)((0,G.Z)({},gt),{},{stickyOffsets:vn,columns:xt,flattenColumns:Bt}))))});ht.displayName="FixedHolder";var Xt=u.memo(ht);function an(S){var N=S.cells,Y=S.stickyOffsets,ne=S.flattenColumns,ue=S.rowComponent,de=S.cellComponent,be=S.tdCellComponent,xe=S.onHeaderRow,ye=S.index,Pe=h(s,["prefixCls","direction"]),Le=Pe.prefixCls,Te=Pe.direction,Ge;xe&&(Ge=xe(N.map(function(Ve){return Ve.column}),ye));var He=F(N.map(function(Ve){return Ve.column}));return u.createElement(ue,Ge,N.map(function(Ve,vt){var ct=Ve.column,gt=Xe(Ve.colStart,Ve.colEnd,ne,Y,Te,ct),dt;return ct&&ct.onHeaderCell&&(dt=Ve.column.onHeaderCell(ct)),u.createElement(ke,(0,v.Z)({},Ve,{scope:ct.title?Ve.colSpan>1?"colgroup":"col":null,ellipsis:ct.ellipsis,align:ct.align,component:ct.title?de:be,prefixCls:Le,key:He[vt]},gt,{additionalProps:dt,rowType:"header"}))}))}an.displayName="HeaderRow";var Dn=an;function yn(S){var N=[];function Y(be,xe){var ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;N[ye]=N[ye]||[];var Pe=xe,Le=be.filter(Boolean).map(function(Te){var Ge={key:Te.key,className:Te.className||"",children:Te.title,column:Te,colStart:Pe},He=1,Ve=Te.children;return Ve&&Ve.length>0&&(He=Y(Ve,Pe,ye+1).reduce(function(vt,ct){return vt+ct},0),Ge.hasSubColumns=!0),"colSpan"in Te&&(He=Te.colSpan),"rowSpan"in Te&&(Ge.rowSpan=Te.rowSpan),Ge.colSpan=He,Ge.colEnd=Ge.colStart+He-1,N[ye].push(Ge),Pe+=He,He});return Le}Y(S,0);for(var ne=N.length,ue=function(xe){N[xe].forEach(function(ye){!("rowSpan"in ye)&&!ye.hasSubColumns&&(ye.rowSpan=ne-xe)})},de=0;de<ne;de+=1)ue(de);return N}function On(S){var N=S.stickyOffsets,Y=S.columns,ne=S.flattenColumns,ue=S.onHeaderRow,de=h(s,["prefixCls","getComponent"]),be=de.prefixCls,xe=de.getComponent,ye=u.useMemo(function(){return yn(Y)},[Y]),Pe=xe(["header","wrapper"],"thead"),Le=xe(["header","row"],"tr"),Te=xe(["header","cell"],"th"),Ge=xe(["header","cell"],"td");return u.createElement(Pe,{className:"".concat(be,"-thead")},ye.map(function(He,Ve){var vt=u.createElement(Dn,{key:Ve,flattenColumns:ne,cells:He,stickyOffsets:N,rowComponent:Le,cellComponent:Te,tdCellComponent:Ge,onHeaderRow:ue,index:Ve});return vt}))}var Ln=O(On),In=t(11592);function Bn(S){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof N=="number"?N:N.endsWith("%")?S*parseFloat(N)/100:null}function zt(S,N){return u.useMemo(function(){if(N&&N>0){var Y=0,ne=0;S.forEach(function(Pe){var Le=Bn(N,Pe.width);Le?Y+=Le:ne+=1});var ue=N-Y,de=ne,be=ue/ne,xe=0,ye=S.map(function(Pe){var Le=(0,G.Z)({},Pe),Te=Bn(N,Le.width);if(Te)Le.width=Te;else{var Ge=Math.floor(be);Le.width=de===1?ue:Ge,ue-=Ge,de-=1}return xe+=Le.width,Le});return[ye,xe]}return[S,N]},[S,N])}var Nt=["children"],cn=["fixed"];function zn(S){return(0,In.Z)(S).filter(function(N){return u.isValidElement(N)}).map(function(N){var Y=N.key,ne=N.props,ue=ne.children,de=(0,se.Z)(ne,Nt),be=(0,G.Z)({key:Y},de);return ue&&(be.children=zn(ue)),be})}function An(S){var N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"key";return S.filter(function(Y){return Y&&(0,q.Z)(Y)==="object"}).reduce(function(Y,ne,ue){var de=ne.fixed,be=de===!0?"left":de,xe="".concat(N,"-").concat(ue),ye=ne.children;return ye&&ye.length>0?[].concat((0,Je.Z)(Y),(0,Je.Z)(An(ye,xe).map(function(Pe){return(0,G.Z)({fixed:be},Pe)}))):[].concat((0,Je.Z)(Y),[(0,G.Z)((0,G.Z)({key:xe},ne),{},{fixed:be})])},[])}function ge(S){for(var N=!0,Y=0;Y<S.length;Y+=1){var ne=S[Y];if(N&&ne.fixed!=="left")N=!1;else if(!N&&ne.fixed==="left"){warning(!1,"Index ".concat(Y-1," of `columns` missing `fixed='left'` prop."));break}}for(var ue=!0,de=S.length-1;de>=0;de-=1){var be=S[de];if(ue&&be.fixed!=="right")ue=!1;else if(!ue&&be.fixed==="right"){warning(!1,"Index ".concat(de+1," of `columns` missing `fixed='right'` prop."));break}}}function me(S){return S.map(function(N){var Y=N.fixed,ne=(0,se.Z)(N,cn),ue=Y;return Y==="left"?ue="right":Y==="right"&&(ue="left"),(0,G.Z)({fixed:ue},ne)})}function Ye(S,N){var Y=S.prefixCls,ne=S.columns,ue=S.children,de=S.expandable,be=S.expandedKeys,xe=S.columnTitle,ye=S.getRowKey,Pe=S.onTriggerExpand,Le=S.expandIcon,Te=S.rowExpandable,Ge=S.expandIconColumnIndex,He=S.direction,Ve=S.expandRowByClick,vt=S.columnWidth,ct=S.fixed,gt=S.scrollWidth,dt=u.useMemo(function(){return ne||zn(ue)},[ne,ue]),St=u.useMemo(function(){if(de){var jt,Rt=dt.slice();if(!Rt.includes(b)){var xt=Ge||0;xt>=0&&Rt.splice(xt,0,b)}var Bt=Rt.indexOf(b);Rt=Rt.filter(function(sn,Wn){return sn!==b||Wn===Bt});var vn=dt[Bt],Fn;(ct==="left"||ct)&&!Ge?Fn="left":(ct==="right"||ct)&&Ge===dt.length?Fn="right":Fn=vn?vn.fixed:null;var Tn=(jt={},(0,H.Z)(jt,Ct,{className:"".concat(Y,"-expand-icon-col"),columnType:"EXPAND_COLUMN"}),(0,H.Z)(jt,"title",xe),(0,H.Z)(jt,"fixed",Fn),(0,H.Z)(jt,"className","".concat(Y,"-row-expand-icon-cell")),(0,H.Z)(jt,"width",vt),(0,H.Z)(jt,"render",function(Wn,Un,vr){var ir=ye(Un,vr),kr=be.has(ir),Kr=Te?Te(Un):!0,$n=Le({prefixCls:Y,expanded:kr,expandable:Kr,record:Un,onExpand:Pe});return Ve?u.createElement("span",{onClick:function(or){return or.stopPropagation()}},$n):$n}),jt);return Rt.map(function(sn){return sn===b?Tn:sn})}return dt.filter(function(sn){return sn!==b})},[de,dt,ye,be,Le,He]),tn=u.useMemo(function(){var jt=St;return N&&(jt=N(jt)),jt.length||(jt=[{render:function(){return null}}]),jt},[N,St,He]),nn=u.useMemo(function(){return He==="rtl"?me(An(tn)):An(tn)},[tn,He,gt]),kt=zt(nn,gt),bn=(0,D.Z)(kt,2),Nn=bn[0],It=bn[1];return[tn,Nn,It]}var je=Ye;function pt(S){var N,Y=S.prefixCls,ne=S.record,ue=S.onExpand,de=S.expanded,be=S.expandable,xe="".concat(Y,"-row-expand-icon");if(!be)return u.createElement("span",{className:p()(xe,"".concat(Y,"-row-spaced"))});var ye=function(Le){ue(ne,Le),Le.stopPropagation()};return u.createElement("span",{className:p()(xe,(N={},(0,H.Z)(N,"".concat(Y,"-row-expanded"),de),(0,H.Z)(N,"".concat(Y,"-row-collapsed"),!de),N)),onClick:ye})}function nt(S,N,Y){var ne=[];function ue(de){(de||[]).forEach(function(be,xe){ne.push(N(be,xe)),ue(be[Y])})}return ue(S),ne}function _t(S,N,Y){var ne=Mt(S),ue=ne.expandIcon,de=ne.expandedRowKeys,be=ne.defaultExpandedRowKeys,xe=ne.defaultExpandAllRows,ye=ne.expandedRowRender,Pe=ne.onExpand,Le=ne.onExpandedRowsChange,Te=ne.childrenColumnName,Ge=ue||pt,He=Te||"children",Ve=u.useMemo(function(){return ye?"row":S.expandable&&S.internalHooks===m&&S.expandable.__PARENT_RENDER_ICON__||N.some(function(nn){return nn&&(0,q.Z)(nn)==="object"&&nn[He]})?"nest":!1},[!!ye,N]),vt=u.useState(function(){return be||(xe?nt(N,Y,He):[])}),ct=(0,D.Z)(vt,2),gt=ct[0],dt=ct[1],St=u.useMemo(function(){return new Set(de||gt||[])},[de,gt]),tn=u.useCallback(function(nn){var kt=Y(nn,N.indexOf(nn)),bn,Nn=St.has(kt);Nn?(St.delete(kt),bn=(0,Je.Z)(St)):bn=[].concat((0,Je.Z)(St),[kt]),dt(bn),Pe&&Pe(!Nn,nn),Le&&Le(bn)},[Y,St,N,Pe,Le]);return[ne,Ve,St,Ge,He,tn]}function at(S,N,Y,ne){var ue=S.map(function(de,be){return Xe(be,be,S,N,Y,ne==null?void 0:ne[be])});return(0,z.Z)(function(){return ue},[ue],function(de,be){return!(0,K.Z)(de,be)})}function Ot(S){var N=(0,u.useRef)(S),Y=(0,u.useState)({}),ne=(0,D.Z)(Y,2),ue=ne[1],de=(0,u.useRef)(null),be=(0,u.useRef)([]);function xe(ye){be.current.push(ye);var Pe=Promise.resolve();de.current=Pe,Pe.then(function(){if(de.current===Pe){var Le=be.current,Te=N.current;be.current=[],Le.forEach(function(Ge){N.current=Ge(N.current)}),de.current=null,Te!==N.current&&ue({})}})}return(0,u.useEffect)(function(){return function(){de.current=null}},[]),[N.current,xe]}function wt(S){var N=(0,u.useRef)(S||null),Y=(0,u.useRef)();function ne(){window.clearTimeout(Y.current)}function ue(be){N.current=be,ne(),Y.current=window.setTimeout(function(){N.current=null,Y.current=void 0},100)}function de(){return N.current}return(0,u.useEffect)(function(){return ne},[]),[ue,de]}function Fe(){var S=u.useState(-1),N=(0,D.Z)(S,2),Y=N[0],ne=N[1],ue=u.useState(-1),de=(0,D.Z)(ue,2),be=de[0],xe=de[1],ye=u.useCallback(function(Pe,Le){ne(Pe),xe(Le)},[]);return[Y,be,ye]}var Be=t(47273),rt=(0,Be.Z)()?window:null;function it(S,N){var Y=(0,q.Z)(S)==="object"?S:{},ne=Y.offsetHeader,ue=ne===void 0?0:ne,de=Y.offsetSummary,be=de===void 0?0:de,xe=Y.offsetScroll,ye=xe===void 0?0:xe,Pe=Y.getContainer,Le=Pe===void 0?function(){return rt}:Pe,Te=Le()||rt;return u.useMemo(function(){var Ge=!!S;return{isSticky:Ge,stickyClassName:Ge?"".concat(N,"-sticky-holder"):"",offsetHeader:ue,offsetSummary:be,offsetScroll:ye,container:Te}},[ye,ue,be,N,Te])}function lt(S,N,Y){var ne=(0,u.useMemo)(function(){for(var ue=[],de=[],be=0,xe=0,ye=0;ye<N;ye+=1)if(Y==="rtl"){de[ye]=xe,xe+=S[ye]||0;var Pe=N-ye-1;ue[Pe]=be,be+=S[Pe]||0}else{ue[ye]=be,be+=S[ye]||0;var Le=N-ye-1;de[Le]=xe,xe+=S[Le]||0}return{left:ue,right:de}},[S,N,Y]);return ne}var on=lt;function gn(S){var N=S.className,Y=S.children;return u.createElement("div",{className:N},Y)}var Zt=gn,qe=t(8224),_e=t(55468),Se=function(N,Y){var ne,ue,de=N.scrollBodyRef,be=N.onScroll,xe=N.offsetScroll,ye=N.container,Pe=h(s,"prefixCls"),Le=((ne=de.current)===null||ne===void 0?void 0:ne.scrollWidth)||0,Te=((ue=de.current)===null||ue===void 0?void 0:ue.clientWidth)||0,Ge=Le&&Te*(Te/Le),He=u.useRef(),Ve=Ot({scrollLeft:0,isHiddenScrollBar:!1}),vt=(0,D.Z)(Ve,2),ct=vt[0],gt=vt[1],dt=u.useRef({delta:0,x:0}),St=u.useState(!1),tn=(0,D.Z)(St,2),nn=tn[0],kt=tn[1],bn=function(){kt(!1)},Nn=function(Bt){Bt.persist(),dt.current.delta=Bt.pageX-ct.scrollLeft,dt.current.x=0,kt(!0),Bt.preventDefault()},It=function(Bt){var vn,Fn=Bt||((vn=window)===null||vn===void 0?void 0:vn.event),Tn=Fn.buttons;if(!nn||Tn===0){nn&&kt(!1);return}var sn=dt.current.x+Bt.pageX-dt.current.x-dt.current.delta;sn<=0&&(sn=0),sn+Ge>=Te&&(sn=Te-Ge),be({scrollLeft:sn/Te*(Le+2)}),dt.current.x=Bt.pageX},jt=function(){if(de.current){var Bt=(0,_e.os)(de.current).top,vn=Bt+de.current.offsetHeight,Fn=ye===window?document.documentElement.scrollTop+window.innerHeight:(0,_e.os)(ye).top+ye.clientHeight;vn-(0,Q.Z)()<=Fn||Bt>=Fn-xe?gt(function(Tn){return(0,G.Z)((0,G.Z)({},Tn),{},{isHiddenScrollBar:!0})}):gt(function(Tn){return(0,G.Z)((0,G.Z)({},Tn),{},{isHiddenScrollBar:!1})})}},Rt=function(Bt){gt(function(vn){return(0,G.Z)((0,G.Z)({},vn),{},{scrollLeft:Bt/Le*Te||0})})};return u.useImperativeHandle(Y,function(){return{setScrollLeft:Rt}}),u.useEffect(function(){var xt=(0,qe.Z)(document.body,"mouseup",bn,!1),Bt=(0,qe.Z)(document.body,"mousemove",It,!1);return jt(),function(){xt.remove(),Bt.remove()}},[Ge,nn]),u.useEffect(function(){var xt=(0,qe.Z)(ye,"scroll",jt,!1),Bt=(0,qe.Z)(window,"resize",jt,!1);return function(){xt.remove(),Bt.remove()}},[ye]),u.useEffect(function(){ct.isHiddenScrollBar||gt(function(xt){var Bt=de.current;return Bt?(0,G.Z)((0,G.Z)({},xt),{},{scrollLeft:Bt.scrollLeft/Bt.scrollWidth*Bt.clientWidth}):xt})},[ct.isHiddenScrollBar]),Le<=Te||!Ge||ct.isHiddenScrollBar?null:u.createElement("div",{style:{height:(0,Q.Z)(),width:Te,bottom:xe},className:"".concat(Pe,"-sticky-scroll")},u.createElement("div",{onMouseDown:Nn,ref:He,className:p()("".concat(Pe,"-sticky-scroll-bar"),(0,H.Z)({},"".concat(Pe,"-sticky-scroll-bar-active"),nn)),style:{width:"".concat(Ge,"px"),transform:"translate3d(".concat(ct.scrollLeft,"px, 0, 0)")}}))},Ne=u.forwardRef(Se);function $e(S){return null}var Me=$e;function ze(S){return null}var Ae=ze,et="rc-table",yt=[],mt={};function Ht(){return"No Data"}function Kt(S){var N,Y=(0,G.Z)({rowKey:"key",prefixCls:et,emptyText:Ht},S),ne=Y.prefixCls,ue=Y.className,de=Y.rowClassName,be=Y.style,xe=Y.data,ye=Y.rowKey,Pe=Y.scroll,Le=Y.tableLayout,Te=Y.direction,Ge=Y.title,He=Y.footer,Ve=Y.summary,vt=Y.caption,ct=Y.id,gt=Y.showHeader,dt=Y.components,St=Y.emptyText,tn=Y.onRow,nn=Y.onHeaderRow,kt=Y.internalHooks,bn=Y.transformColumns,Nn=Y.internalRefs,It=Y.tailor,jt=Y.sticky,Rt=xe||yt,xt=!!Rt.length,Bt=kt===m,vn=u.useCallback(function(hr,Dr){return(0,I.Z)(dt,hr)||Dr},[dt]),Fn=u.useMemo(function(){return typeof ye=="function"?ye:function(hr){var Dr=hr&&hr[ye];return Dr}},[ye]),Tn=vn(["body"]),sn=Fe(),Wn=(0,D.Z)(sn,3),Un=Wn[0],vr=Wn[1],ir=Wn[2],kr=_t(Y,Rt,Fn),Kr=(0,D.Z)(kr,6),$n=Kr[0],Vr=Kr[1],or=Kr[2],Pr=Kr[3],Or=Kr[4],Ei=Kr[5],fn=Pe==null?void 0:Pe.x,un=u.useState(0),ln=(0,D.Z)(un,2),qt=ln[0],sr=ln[1],en=je((0,G.Z)((0,G.Z)((0,G.Z)({},Y),$n),{},{expandable:!!$n.expandedRowRender,columnTitle:$n.columnTitle,expandedKeys:or,getRowKey:Fn,onTriggerExpand:Ei,expandIcon:Pr,expandIconColumnIndex:$n.expandIconColumnIndex,direction:Te,scrollWidth:Bt&&It&&typeof fn=="number"?fn:null}),Bt?bn:null),Pn=(0,D.Z)(en,3),nr=Pn[0],qn=Pn[1],fi=Pn[2],ii=fi!=null?fi:fn,Ki=u.useMemo(function(){return{columns:nr,flattenColumns:qn}},[nr,qn]),Gr=u.useRef(),Ai=u.useRef(),Xr=u.useRef(),Si=u.useRef(),oa=u.useRef(),dr=u.useState(!1),fr=(0,D.Z)(dr,2),Nr=fr[0],Yr=fr[1],Jr=u.useState(!1),Vn=(0,D.Z)(Jr,2),vi=Vn[0],hi=Vn[1],Ti=Ot(new Map),Wi=(0,D.Z)(Ti,2),Fi=Wi[0],Oa=Wi[1],Qi=F(qn),Li=Qi.map(function(hr){return Fi.get(hr)}),Oi=u.useMemo(function(){return Li},[Li.join("_")]),gi=on(Oi,qn.length,Te),Qr=Pe&&te(Pe.y),$r=Pe&&te(ii)||!!$n.fixed,Ui=$r&&qn.some(function(hr){var Dr=hr.fixed;return Dr}),sa=u.useRef(),na=it(jt,ne),Vi=na.isSticky,$a=na.offsetHeader,Za=na.offsetSummary,rr=na.offsetScroll,Er=na.stickyClassName,si=na.container,Mr=u.useMemo(function(){return Ve==null?void 0:Ve(Rt)},[Ve,Rt]),pi=(Qr||Vi)&&u.isValidElement(Mr)&&Mr.type===R&&Mr.props.fixed,Ii,Ri,qi;Qr&&(Ri={overflowY:"scroll",maxHeight:Pe.y}),$r&&(Ii={overflowX:"auto"},Qr||(Ri={overflowY:"hidden"}),qi={width:ii===!0?"auto":ii,minWidth:"100%"});var Xa=u.useCallback(function(hr,Dr){(0,j.Z)(Gr.current)&&Oa(function(Bi){if(Bi.get(hr)!==Dr){var ra=new Map(Bi);return ra.set(hr,Dr),ra}return Bi})},[]),Zo=wt(null),Ya=(0,D.Z)(Zo,2),zo=Ya[0],Ja=Ya[1];function Ma(hr,Dr){Dr&&(typeof Dr=="function"?Dr(hr):Dr.scrollLeft!==hr&&(Dr.scrollLeft=hr,Dr.scrollLeft!==hr&&setTimeout(function(){Dr.scrollLeft=hr},0)))}var ba=(0,V.Z)(function(hr){var Dr=hr.currentTarget,Bi=hr.scrollLeft,ra=Te==="rtl",ia=typeof Bi=="number"?Bi:Dr.scrollLeft,ho=Dr||mt;if(!Ja()||Ja()===ho){var ja;zo(ho),Ma(ia,Ai.current),Ma(ia,Xr.current),Ma(ia,oa.current),Ma(ia,(ja=sa.current)===null||ja===void 0?void 0:ja.setScrollLeft)}var Ha=Dr||Ai.current;if(Ha){var Wa=Ha.scrollWidth,Ua=Ha.clientWidth;if(Wa===Ua){Yr(!1),hi(!1);return}ra?(Yr(-ia<Wa-Ua),hi(-ia>0)):(Yr(ia>0),hi(ia<Wa-Ua))}}),Qa=function(){$r&&Xr.current?ba({currentTarget:Xr.current}):(Yr(!1),hi(!1))},ko=function(Dr){var Bi=Dr.width;Bi!==qt&&(Qa(),sr(Gr.current?Gr.current.offsetWidth:Bi))},qa=u.useRef(!1);u.useEffect(function(){qa.current&&Qa()},[$r,xe,nr.length]),u.useEffect(function(){qa.current=!0},[]);var Ko=u.useState(0),eo=(0,D.Z)(Ko,2),Aa=eo[0],to=eo[1],Fo=u.useState(!0),no=(0,D.Z)(Fo,2),ro=no[0],jo=no[1];u.useEffect(function(){(!It||!Bt)&&(Xr.current instanceof Element?to((0,Q.o)(Xr.current).width):to((0,Q.o)(Si.current).width)),jo((0,A.G)("position","sticky"))},[]),u.useEffect(function(){Bt&&Nn&&(Nn.body.current=Xr.current)});var Ho=u.useCallback(function(hr){return u.createElement(u.Fragment,null,u.createElement(Ln,hr),pi==="top"&&u.createElement(y,hr,Mr))},[pi,Mr]),Wo=u.useCallback(function(hr){return u.createElement(y,hr,Mr)},[Mr]),io=vn(["table"],"table"),La=u.useMemo(function(){return Le||(Ui?ii==="max-content"?"auto":"fixed":Qr||Vi||qn.some(function(hr){var Dr=hr.ellipsis;return Dr})?"fixed":"auto")},[Qr,Ui,qn,Le,Vi]),za,ka={colWidths:Oi,columCount:qn.length,stickyOffsets:gi,onHeaderRow:nn,fixHeader:Qr,scroll:Pe},ao=u.useMemo(function(){return xt?null:typeof St=="function"?St():St},[xt,St]),oo=u.createElement(tt,{data:Rt,measureColumnWidth:Qr||$r||Vi}),so=u.createElement(Tt,{colWidths:qn.map(function(hr){var Dr=hr.width;return Dr}),columns:qn}),lo=vt!=null?u.createElement("caption",{className:"".concat(ne,"-caption")},vt):void 0,Uo=(0,ce.Z)(Y,{data:!0}),uo=(0,ce.Z)(Y,{aria:!0});if(Qr||Vi){var Ka;typeof Tn=="function"?(Ka=Tn(Rt,{scrollbarSize:Aa,ref:Xr,onScroll:ba}),ka.colWidths=qn.map(function(hr,Dr){var Bi=hr.width,ra=Dr===qn.length-1?Bi-Aa:Bi;return typeof ra=="number"&&!Number.isNaN(ra)?ra:0})):Ka=u.createElement("div",{style:(0,G.Z)((0,G.Z)({},Ii),Ri),onScroll:ba,ref:Xr,className:p()("".concat(ne,"-body"))},u.createElement(io,(0,v.Z)({style:(0,G.Z)((0,G.Z)({},qi),{},{tableLayout:La})},uo),lo,so,oo,!pi&&Mr&&u.createElement(y,{stickyOffsets:gi,flattenColumns:qn,columns:nr},Mr)));var co=(0,G.Z)((0,G.Z)((0,G.Z)({noData:!Rt.length,maxContentScroll:$r&&ii==="max-content"},ka),Ki),{},{direction:Te,stickyClassName:Er,onScroll:ba});za=u.createElement(u.Fragment,null,gt!==!1&&u.createElement(Xt,(0,v.Z)({},co,{stickyTopOffset:$a,className:"".concat(ne,"-header"),ref:Ai}),Ho),Ka,pi&&pi!=="top"&&u.createElement(Xt,(0,v.Z)({},co,{stickyBottomOffset:Za,className:"".concat(ne,"-summary"),ref:oa}),Wo),Vi&&u.createElement(Ne,{ref:sa,offsetScroll:rr,scrollBodyRef:Xr,onScroll:ba,container:si}))}else za=u.createElement("div",{style:(0,G.Z)((0,G.Z)({},Ii),Ri),className:p()("".concat(ne,"-content")),onScroll:ba,ref:Xr},u.createElement(io,(0,v.Z)({style:(0,G.Z)((0,G.Z)({},qi),{},{tableLayout:La})},uo),lo,so,gt!==!1&&u.createElement(Ln,(0,v.Z)({},ka,Ki)),oo,Mr&&u.createElement(y,{stickyOffsets:gi,flattenColumns:qn,columns:nr},Mr)));var Fa=u.createElement("div",(0,v.Z)({className:p()(ne,ue,(N={},(0,H.Z)(N,"".concat(ne,"-rtl"),Te==="rtl"),(0,H.Z)(N,"".concat(ne,"-ping-left"),Nr),(0,H.Z)(N,"".concat(ne,"-ping-right"),vi),(0,H.Z)(N,"".concat(ne,"-layout-fixed"),Le==="fixed"),(0,H.Z)(N,"".concat(ne,"-fixed-header"),Qr),(0,H.Z)(N,"".concat(ne,"-fixed-column"),Ui),(0,H.Z)(N,"".concat(ne,"-scroll-horizontal"),$r),(0,H.Z)(N,"".concat(ne,"-has-fix-left"),qn[0]&&qn[0].fixed),(0,H.Z)(N,"".concat(ne,"-has-fix-right"),qn[qn.length-1]&&qn[qn.length-1].fixed==="right"),N)),style:be,id:ct,ref:Gr},Uo),Ge&&u.createElement(Zt,{className:"".concat(ne,"-title")},Ge(Rt)),u.createElement("div",{ref:Si,className:"".concat(ne,"-container")},za),He&&u.createElement(Zt,{className:"".concat(ne,"-footer")},He(Rt)));$r&&(Fa=u.createElement(X.Z,{onResize:ko},Fa));var fo=at(qn,gi,Te,nr),Vo=u.useMemo(function(){return{scrollX:ii,prefixCls:ne,getComponent:vn,scrollbarSize:Aa,direction:Te,fixedInfoList:fo,isSticky:Vi,supportSticky:ro,componentWidth:qt,fixHeader:Qr,fixColumn:Ui,horizonScroll:$r,tableLayout:La,rowClassName:de,expandedRowClassName:$n.expandedRowClassName,expandIcon:Pr,expandableType:Vr,expandRowByClick:$n.expandRowByClick,expandedRowRender:$n.expandedRowRender,onTriggerExpand:Ei,expandIconColumnIndex:$n.expandIconColumnIndex,indentSize:$n.indentSize,allColumnsFixedLeft:qn.every(function(hr){return hr.fixed==="left"}),emptyNode:ao,columns:nr,flattenColumns:qn,onColumnResize:Xa,hoverStartRow:Un,hoverEndRow:vr,onHover:ir,rowExpandable:$n.rowExpandable,onRow:tn,getRowKey:Fn,expandedKeys:or,childrenColumnName:Or}},[ii,ne,vn,Aa,Te,fo,Vi,ro,qt,Qr,Ui,$r,La,de,$n.expandedRowClassName,Pr,Vr,$n.expandRowByClick,$n.expandedRowRender,Ei,$n.expandIconColumnIndex,$n.indentSize,ao,nr,qn,Xa,Un,vr,ir,$n.rowExpandable,tn,Fn,or,Or]);return u.createElement(s.Provider,{value:Vo},Fa)}function dn(S){return g(Kt,S)}var bt=dn();bt.EXPAND_COLUMN=b,bt.INTERNAL_HOOKS=m,bt.Column=Me,bt.ColumnGroup=Ae,bt.Summary=d;var ot=bt,Yt=t(4409),Wt=e(null),jn=e(null);function wn(S,N,Y){var ne=N||1;return Y[S+ne]-(Y[S]||0)}function mn(S){var N=S.rowInfo,Y=S.column,ne=S.colIndex,ue=S.indent,de=S.index,be=S.renderIndex,xe=S.record,ye=S.style,Pe=S.className,Le=S.inverse,Te=S.getHeight,Ge=Y.render,He=Y.dataIndex,Ve=Y.className,vt=Y.width,ct=h(jn,["columnsOffset"]),gt=ct.columnsOffset,dt=Ze(N,Y,ne,ue,de),St=dt.key,tn=dt.fixedInfo,nn=dt.appendCellNode,kt=dt.additionalCellProps,bn=kt.style,Nn=kt.colSpan,It=Nn===void 0?1:Nn,jt=kt.rowSpan,Rt=jt===void 0?1:jt,xt=ne-1,Bt=wn(xt,It,gt),vn=It>1?vt-Bt:0,Fn=(0,G.Z)((0,G.Z)((0,G.Z)({},bn),ye),{},{flex:"0 0 ".concat(Bt,"px"),width:"".concat(Bt,"px"),marginRight:vn,pointerEvents:"auto"}),Tn=u.useMemo(function(){return Le?Rt<=1:It===0||Rt===0||Rt>1},[Rt,It,Le]);Tn?Fn.visibility="hidden":Le&&(Fn.height=Te==null?void 0:Te(Rt));var sn=Tn?function(){return null}:Ge,Wn={};return(Rt===0||It===0)&&(Wn.rowSpan=1,Wn.colSpan=1),u.createElement(ke,(0,v.Z)({className:p()(Ve,Pe),ellipsis:Y.ellipsis,align:Y.align,scope:Y.rowScope,component:"div",prefixCls:N.prefixCls,key:St,record:xe,index:de,renderIndex:be,dataIndex:He,render:sn,shouldCellUpdate:Y.shouldCellUpdate},tn,{appendNode:nn,additionalProps:(0,G.Z)((0,G.Z)({},kt),{},{style:Fn},Wn)}))}var Sn=mn,Vt=["data","index","className","rowKey","style","extra","getHeight"],kn=u.forwardRef(function(S,N){var Y=S.data,ne=S.index,ue=S.className,de=S.rowKey,be=S.style,xe=S.extra,ye=S.getHeight,Pe=(0,se.Z)(S,Vt),Le=Y.record,Te=Y.indent,Ge=Y.index,He=h(s,["prefixCls","flattenColumns","fixColumn","componentWidth","scrollX"]),Ve=He.scrollX,vt=He.flattenColumns,ct=He.prefixCls,gt=He.fixColumn,dt=He.componentWidth,St=pe(Le,de,ne,Te),tn=St.rowSupportExpand,nn=St.expanded,kt=St.rowProps,bn=St.expandedRowRender,Nn=St.expandedRowClassName,It;if(tn&&nn){var jt=bn(Le,ne,Te+1,nn),Rt=Nn==null?void 0:Nn(Le,ne,Te),xt={};gt&&(xt={style:(0,H.Z)({},"--virtual-width","".concat(dt,"px"))});var Bt="".concat(ct,"-expanded-row-cell");It=u.createElement("div",{className:p()("".concat(ct,"-expanded-row"),"".concat(ct,"-expanded-row-level-").concat(Te+1),Rt)},u.createElement(ke,{component:"div",prefixCls:ct,className:p()(Bt,(0,H.Z)({},"".concat(Bt,"-fixed"),gt)),additionalProps:xt},jt))}var vn=(0,G.Z)((0,G.Z)({},be),{},{width:Ve});xe&&(vn.position="absolute",vn.pointerEvents="none");var Fn=u.createElement("div",(0,v.Z)({},kt,Pe,{ref:tn?null:N,className:p()(ue,"".concat(ct,"-row"),kt==null?void 0:kt.className,(0,H.Z)({},"".concat(ct,"-row-extra"),xe)),style:(0,G.Z)((0,G.Z)({},vn),kt==null?void 0:kt.style)}),vt.map(function(Tn,sn){return u.createElement(Sn,{key:sn,rowInfo:St,column:Tn,colIndex:sn,indent:Te,index:ne,renderIndex:Ge,record:Le,inverse:xe,getHeight:ye})}));return tn?u.createElement("div",{ref:N},Fn,It):Fn}),ar=O(kn),At=ar,Ut=u.forwardRef(function(S,N){var Y=S.data,ne=S.onScroll,ue=h(s,["flattenColumns","onColumnResize","getRowKey","prefixCls","expandedKeys","childrenColumnName","emptyNode","scrollX"]),de=ue.flattenColumns,be=ue.onColumnResize,xe=ue.getRowKey,ye=ue.expandedKeys,Pe=ue.prefixCls,Le=ue.childrenColumnName,Te=ue.emptyNode,Ge=ue.scrollX,He=h(Wt),Ve=He.scrollY,vt=He.listItemHeight,ct=u.useRef(),gt=oe(Y,Le,ye,xe),dt=u.useMemo(function(){var It=0;return de.map(function(jt){var Rt=jt.width,xt=jt.key;return It+=Rt,[xt,Rt,It]})},[de]),St=u.useMemo(function(){return dt.map(function(It){return It[2]})},[dt]);u.useEffect(function(){dt.forEach(function(It){var jt=(0,D.Z)(It,2),Rt=jt[0],xt=jt[1];be(Rt,xt)})},[dt]),u.useImperativeHandle(N,function(){var It={};return Object.defineProperty(It,"scrollLeft",{get:function(){var Rt;return((Rt=ct.current)===null||Rt===void 0?void 0:Rt.getScrollInfo().x)||0},set:function(Rt){var xt;(xt=ct.current)===null||xt===void 0||xt.scrollTo({left:Rt})}}),It});var tn=function(jt,Rt){var xt,Bt=(xt=gt[Rt])===null||xt===void 0?void 0:xt.record,vn=jt.onCell;if(vn){var Fn,Tn=vn(Bt,Rt);return(Fn=Tn==null?void 0:Tn.rowSpan)!==null&&Fn!==void 0?Fn:1}return 1},nn=function(jt){var Rt=jt.start,xt=jt.end,Bt=jt.getSize,vn=jt.offsetY;if(xt<0)return null;for(var Fn=de.filter(function(fn){return tn(fn,Rt)===0}),Tn=Rt,sn=function(un){if(Fn=Fn.filter(function(ln){return tn(ln,un)===0}),!Fn.length)return Tn=un,"break"},Wn=Rt;Wn>=0;Wn-=1){var Un=sn(Wn);if(Un==="break")break}for(var vr=de.filter(function(fn){return tn(fn,xt)!==1}),ir=xt,kr=function(un){if(vr=vr.filter(function(ln){return tn(ln,un)!==1}),!vr.length)return ir=Math.max(un-1,xt),"break"},Kr=xt;Kr<gt.length;Kr+=1){var $n=kr(Kr);if($n==="break")break}for(var Vr=[],or=function(un){var ln=gt[un];if(!ln)return"continue";de.some(function(qt){return tn(qt,un)>1})&&Vr.push(un)},Pr=Tn;Pr<=ir;Pr+=1)var Or=or(Pr);var Ei=Vr.map(function(fn){var un=gt[fn],ln=xe(un.record,fn),qt=function(Pn){var nr=fn+Pn-1,qn=xe(gt[nr].record,nr),fi=Bt(ln,qn);return fi.bottom-fi.top},sr=Bt(ln);return u.createElement(At,{key:fn,data:un,rowKey:ln,index:fn,style:{top:-vn+sr.top},extra:!0,getHeight:qt})});return Ei},kt=u.useMemo(function(){return{columnsOffset:St}},[St]),bn="".concat(Pe,"-tbody"),Nn;return gt.length?Nn=u.createElement(Yt.Z,{fullHeight:!1,ref:ct,className:p()(bn,"".concat(bn,"-virtual")),height:Ve,itemHeight:vt||24,data:gt,itemKey:function(jt){return xe(jt.record)},scrollWidth:Ge,onVirtualScroll:function(jt){var Rt=jt.x;ne({scrollLeft:Rt})},extraRender:nn},function(It,jt,Rt){var xt=xe(It.record,jt);return u.createElement(At,(0,v.Z)({data:It,rowKey:xt,index:jt},Rt))}):Nn=u.createElement("div",{className:p()("".concat(Pe,"-placeholder"))},u.createElement(ke,{component:"div",prefixCls:Pe},Te)),u.createElement(jn.Provider,{value:kt},Nn)}),Jt=O(Ut),Cn=Jt,_n=function(N,Y){var ne=Y.ref,ue=Y.onScroll;return u.createElement(Cn,{ref:ne,data:N,onScroll:ue})},En=100;function hn(S){var N=S.columns,Y=S.scroll,ne=S.prefixCls,ue=ne===void 0?et:ne,de=S.className,be=S.listItemHeight,xe=Y||{},ye=xe.x,Pe=xe.y;typeof ye!="number"&&(ye=((N||[]).length+1)*En),typeof Pe!="number"&&(Pe=500);var Le=u.useMemo(function(){return{scrollY:Pe,listItemHeight:be}},[Pe,be]);return u.createElement(Wt.Provider,{value:Le},u.createElement(ot,(0,v.Z)({},S,{className:p()(de,"".concat(ue,"-virtual")),scroll:(0,G.Z)((0,G.Z)({},Y),{},{x:ye}),components:{body:_n},columns:N,internalHooks:m,tailor:!0})))}function Kn(S){return g(hn,S)}var lr=Kn(),Gn=null;function Xn(S){return null}var cr=Xn;function ft(S){return null}var Et=ft,Gt=t(2738),Zn=t(68031),tr=t(36355),gr=t(93891),er=t(19716),mr=t(8628),_r=t(31724),Sr=t(58421),yr=t(71418),Yn=t(88088);function br(S){return function(Y){let{prefixCls:ne,onExpand:ue,record:de,expanded:be,expandable:xe}=Y;const ye=`${ne}-row-expand-icon`;return u.createElement("button",{type:"button",onClick:Pe=>{ue(de,Pe),Pe.stopPropagation()},className:p()(ye,{[`${ye}-spaced`]:!xe,[`${ye}-expanded`]:xe&&be,[`${ye}-collapsed`]:xe&&!be}),"aria-label":be?S.collapse:S.expand,"aria-expanded":be})}}var Fr=br;function Ar(S,N){return"key"in S&&S.key!==void 0&&S.key!==null?S.key:S.dataIndex?Array.isArray(S.dataIndex)?S.dataIndex.join("."):S.dataIndex:N}function Ir(S,N){return N?`${N}-${S}`:`${S}`}function Hr(S,N){return typeof S=="function"?S(N):S}function Wr(S,N){const Y=Hr(S,N);return Object.prototype.toString.call(Y)==="[object Object]"?"":Y}var ti={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"},qr=ti,_i=t(7657),yi=function(N,Y){return u.createElement(_i.Z,(0,v.Z)({},N,{ref:Y,icon:qr}))},li=u.forwardRef(yi),Ur=li,Pi=t(56762);function bi(S){const N=u.useRef(S),Y=(0,Pi.Z)();return[()=>N.current,ne=>{N.current=ne,Y()}]}var ui=t(3113),ci=t(24905),ni=t(38854),Ft=t(64165),xn=t(20834),Qt=t(40875),pn=t(5112),Mn=t(17574),Jn=t(47472),Lr=t(92832);function xr(S){let{value:N,onChange:Y,filterSearch:ne,tablePrefixCls:ue,locale:de}=S;return ne?u.createElement("div",{className:`${ue}-filter-dropdown-search`},u.createElement(Lr.default,{prefix:u.createElement(Jn.Z,null),placeholder:de.filterSearchPlaceholder,onChange:Y,value:N,htmlSize:1,className:`${ue}-filter-dropdown-search-input`})):null}var wr=xr,Rr=t(10228);const di=S=>{const{keyCode:N}=S;N===Rr.Z.ENTER&&S.stopPropagation()};var Zi=u.forwardRef((S,N)=>u.createElement("div",{className:S.className,onClick:Y=>Y.stopPropagation(),onKeyDown:di,ref:N},S.children));function mi(S){let N=[];return(S||[]).forEach(Y=>{let{value:ne,children:ue}=Y;N.push(ne),ue&&(N=[].concat((0,Je.Z)(N),(0,Je.Z)(mi(ue))))}),N}function ai(S){return S.some(N=>{let{children:Y}=N;return Y})}function Lt(S,N){return typeof N=="string"||typeof N=="number"?N==null?void 0:N.toString().toLowerCase().includes(S.trim().toLowerCase()):!1}function Rn(S){let{filters:N,prefixCls:Y,filteredKeys:ne,filterMultiple:ue,searchValue:de,filterSearch:be}=S;return N.map((xe,ye)=>{const Pe=String(xe.value);if(xe.children)return{key:Pe||ye,label:xe.text,popupClassName:`${Y}-dropdown-submenu`,children:Rn({filters:xe.children,prefixCls:Y,filteredKeys:ne,filterMultiple:ue,searchValue:de,filterSearch:be})};const Le=ue?ci.default:pn.ZP,Te={key:xe.value!==void 0?Pe:ye,label:u.createElement(u.Fragment,null,u.createElement(Le,{checked:ne.includes(Pe)}),u.createElement("span",null,xe.text))};return de.trim()?typeof be=="function"?be(de,xe)?Te:null:Lt(de,xe.text)?Te:null:Te})}function pr(S){var N,Y;const{tablePrefixCls:ne,prefixCls:ue,column:de,dropdownPrefixCls:be,columnKey:xe,filterMultiple:ye,filterMode:Pe="menu",filterSearch:Le=!1,filterState:Te,triggerFilter:Ge,locale:He,children:Ve,getPopupContainer:vt}=S,{filterDropdownOpen:ct,onFilterDropdownOpenChange:gt,filterResetToDefaultFilteredValue:dt,defaultFilteredValue:St,filterDropdownVisible:tn,onFilterDropdownVisibleChange:nn}=de,[kt,bn]=u.useState(!1),Nn=!!(Te&&(!((N=Te.filteredKeys)===null||N===void 0)&&N.length||Te.forceFiltered)),It=en=>{bn(en),gt==null||gt(en),nn==null||nn(en)},jt=(Y=ct!=null?ct:tn)!==null&&Y!==void 0?Y:kt,Rt=Te==null?void 0:Te.filteredKeys,[xt,Bt]=bi(Rt||[]),vn=en=>{let{selectedKeys:Pn}=en;Bt(Pn)},Fn=(en,Pn)=>{let{node:nr,checked:qn}=Pn;vn(ye?{selectedKeys:en}:{selectedKeys:qn&&nr.key?[nr.key]:[]})};u.useEffect(()=>{kt&&vn({selectedKeys:Rt||[]})},[Rt]);const[Tn,sn]=u.useState([]),Wn=en=>{sn(en)},[Un,vr]=u.useState(""),ir=en=>{const{value:Pn}=en.target;vr(Pn)};u.useEffect(()=>{kt||vr("")},[kt]);const kr=en=>{const Pn=en&&en.length?en:null;if(Pn===null&&(!Te||!Te.filteredKeys)||(0,K.Z)(Pn,Te==null?void 0:Te.filteredKeys,!0))return null;Ge({column:de,key:xe,filteredKeys:Pn})},Kr=()=>{It(!1),kr(xt())},$n=function(){let{confirm:en,closeDropdown:Pn}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{confirm:!1,closeDropdown:!1};en&&kr([]),Pn&&It(!1),vr(""),Bt(dt?(St||[]).map(nr=>String(nr)):[])},Vr=function(){let{closeDropdown:en}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{closeDropdown:!0};en&&It(!1),kr(xt())},or=en=>{en&&Rt!==void 0&&Bt(Rt||[]),It(en),!en&&!de.filterDropdown&&Kr()},Pr=p()({[`${be}-menu-without-submenu`]:!ai(de.filters||[])}),Or=en=>{if(en.target.checked){const Pn=mi(de==null?void 0:de.filters).map(nr=>String(nr));Bt(Pn)}else Bt([])},Ei=en=>{let{filters:Pn}=en;return(Pn||[]).map((nr,qn)=>{const fi=String(nr.value),ii={title:nr.text,key:nr.value!==void 0?fi:qn};return nr.children&&(ii.children=Ei({filters:nr.children})),ii})},fn=en=>{var Pn;return Object.assign(Object.assign({},en),{text:en.title,value:en.key,children:((Pn=en.children)===null||Pn===void 0?void 0:Pn.map(nr=>fn(nr)))||[]})};let un;if(typeof de.filterDropdown=="function")un=de.filterDropdown({prefixCls:`${be}-custom`,setSelectedKeys:en=>vn({selectedKeys:en}),selectedKeys:xt(),confirm:Vr,clearFilters:$n,filters:de.filters,visible:jt,close:()=>{It(!1)}});else if(de.filterDropdown)un=de.filterDropdown;else{const en=xt()||[],Pn=()=>(de.filters||[]).length===0?u.createElement(Ft.Z,{image:Ft.Z.PRESENTED_IMAGE_SIMPLE,description:He.filterEmptyText,imageStyle:{height:24},style:{margin:0,padding:"16px 0"}}):Pe==="tree"?u.createElement(u.Fragment,null,u.createElement(wr,{filterSearch:Le,value:Un,onChange:ir,tablePrefixCls:ne,locale:He}),u.createElement("div",{className:`${ne}-filter-dropdown-tree`},ye?u.createElement(ci.default,{checked:en.length===mi(de.filters).length,indeterminate:en.length>0&&en.length<mi(de.filters).length,className:`${ne}-filter-dropdown-checkall`,onChange:Or},He.filterCheckall):null,u.createElement(Mn.default,{checkable:!0,selectable:!1,blockNode:!0,multiple:ye,checkStrictly:!ye,className:`${be}-menu`,onCheck:Fn,checkedKeys:en,selectedKeys:en,showIcon:!1,treeData:Ei({filters:de.filters}),autoExpandParent:!0,defaultExpandAll:!0,filterTreeNode:Un.trim()?qn=>typeof Le=="function"?Le(Un,fn(qn)):Lt(Un,qn.title):void 0}))):u.createElement(u.Fragment,null,u.createElement(wr,{filterSearch:Le,value:Un,onChange:ir,tablePrefixCls:ne,locale:He}),u.createElement(xn.default,{selectable:!0,multiple:ye,prefixCls:`${be}-menu`,className:Pr,onSelect:vn,onDeselect:vn,selectedKeys:en,getPopupContainer:vt,openKeys:Tn,onOpenChange:Wn,items:Rn({filters:de.filters||[],filterSearch:Le,prefixCls:ue,filteredKeys:xt(),filterMultiple:ye,searchValue:Un})})),nr=()=>dt?(0,K.Z)((St||[]).map(qn=>String(qn)),en,!0):en.length===0;un=u.createElement(u.Fragment,null,Pn(),u.createElement("div",{className:`${ue}-dropdown-btns`},u.createElement(ui.ZP,{type:"link",size:"small",disabled:nr(),onClick:()=>$n()},He.filterReset),u.createElement(ui.ZP,{type:"primary",size:"small",onClick:Kr},He.filterConfirm)))}de.filterDropdown&&(un=u.createElement(Qt.J,{selectable:void 0},un));const ln=()=>u.createElement(Zi,{className:`${ue}-dropdown`},un);let qt;typeof de.filterIcon=="function"?qt=de.filterIcon(Nn):de.filterIcon?qt=de.filterIcon:qt=u.createElement(Ur,null);const{direction:sr}=u.useContext(tr.E_);return u.createElement("div",{className:`${ue}-column`},u.createElement("span",{className:`${ne}-column-title`},Ve),u.createElement(ni.Z,{dropdownRender:ln,trigger:["click"],open:jt,onOpenChange:or,getPopupContainer:vt,placement:sr==="rtl"?"bottomLeft":"bottomRight"},u.createElement("span",{role:"button",tabIndex:-1,className:p()(`${ue}-trigger`,{active:Nn}),onClick:en=>{en.stopPropagation()}},qt)))}var Br=pr;function ur(S,N,Y){let ne=[];return(S||[]).forEach((ue,de)=>{var be;const xe=Ir(de,Y);if(ue.filters||"filterDropdown"in ue||"onFilter"in ue)if("filteredValue"in ue){let ye=ue.filteredValue;"filterDropdown"in ue||(ye=(be=ye==null?void 0:ye.map(String))!==null&&be!==void 0?be:ye),ne.push({column:ue,key:Ar(ue,xe),filteredKeys:ye,forceFiltered:ue.filtered})}else ne.push({column:ue,key:Ar(ue,xe),filteredKeys:N&&ue.defaultFilteredValue?ue.defaultFilteredValue:void 0,forceFiltered:ue.filtered});"children"in ue&&(ne=[].concat((0,Je.Z)(ne),(0,Je.Z)(ur(ue.children,N,xe))))}),ne}function zi(S,N,Y,ne,ue,de,be,xe){return Y.map((ye,Pe)=>{const Le=Ir(Pe,xe),{filterMultiple:Te=!0,filterMode:Ge,filterSearch:He}=ye;let Ve=ye;if(Ve.filters||Ve.filterDropdown){const vt=Ar(Ve,Le),ct=ne.find(gt=>{let{key:dt}=gt;return vt===dt});Ve=Object.assign(Object.assign({},Ve),{title:gt=>u.createElement(Br,{tablePrefixCls:S,prefixCls:`${S}-filter`,dropdownPrefixCls:N,column:Ve,columnKey:vt,filterState:ct,filterMultiple:Te,filterMode:Ge,filterSearch:He,triggerFilter:de,locale:ue,getPopupContainer:be},Hr(ye.title,gt))})}return"children"in Ve&&(Ve=Object.assign(Object.assign({},Ve),{children:zi(S,N,Ve.children,ne,ue,de,be,Le)})),Ve})}function ji(S){const N={};return S.forEach(Y=>{let{key:ne,filteredKeys:ue,column:de}=Y;const{filters:be,filterDropdown:xe}=de;if(xe)N[ne]=ue||null;else if(Array.isArray(ue)){const ye=mi(be);N[ne]=ye.filter(Pe=>ue.includes(String(Pe)))}else N[ne]=null}),N}function Hi(S,N){return N.reduce((Y,ne)=>{const{column:{onFilter:ue,filters:de},filteredKeys:be}=ne;return ue&&be&&be.length?Y.filter(xe=>be.some(ye=>{const Pe=mi(de),Le=Pe.findIndex(Ge=>String(Ge)===String(ye)),Te=Le!==-1?Pe[Le]:ye;return ue(Te,xe)})):Y},S)}const $i=S=>S.flatMap(N=>"children"in N?[N].concat((0,Je.Z)($i(N.children||[]))):[N]);function xa(S){let{prefixCls:N,dropdownPrefixCls:Y,mergedColumns:ne,onFilterChange:ue,getPopupContainer:de,locale:be}=S;const xe=u.useMemo(()=>$i(ne||[]),[ne]),[ye,Pe]=u.useState(()=>ur(xe,!0)),Le=u.useMemo(()=>{const Ve=ur(xe,!1);if(Ve.length===0)return Ve;let vt=!0,ct=!0;if(Ve.forEach(gt=>{let{filteredKeys:dt}=gt;dt!==void 0?vt=!1:ct=!1}),vt){const gt=(xe||[]).map((dt,St)=>Ar(dt,Ir(St)));return ye.filter(dt=>{let{key:St}=dt;return gt.includes(St)}).map(dt=>{const St=xe[gt.findIndex(tn=>tn===dt.key)];return Object.assign(Object.assign({},dt),{column:Object.assign(Object.assign({},dt.column),St),forceFiltered:St.filtered})})}return Ve},[xe,ye]),Te=u.useMemo(()=>ji(Le),[Le]),Ge=Ve=>{const vt=Le.filter(ct=>{let{key:gt}=ct;return gt!==Ve.key});vt.push(Ve),Pe(vt),ue(ji(vt),vt)};return[Ve=>zi(N,Y,Ve,Le,be,Ge,de),Le,Te]}var la=xa;function aa(S,N,Y){const ne=u.useRef({});function ue(de){if(!ne.current||ne.current.data!==S||ne.current.childrenColumnName!==N||ne.current.getRowKey!==Y){let xe=function(ye){ye.forEach((Pe,Le)=>{const Te=Y(Pe,Le);be.set(Te,Pe),Pe&&typeof Pe=="object"&&N in Pe&&xe(Pe[N]||[])})};const be=new Map;xe(S),ne.current={data:S,childrenColumnName:N,kvMap:be,getRowKey:Y}}return ne.current.kvMap.get(de)}return[ue]}var ea=t(50371),ua=function(S,N){var Y={};for(var ne in S)Object.prototype.hasOwnProperty.call(S,ne)&&N.indexOf(ne)<0&&(Y[ne]=S[ne]);if(S!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ue=0,ne=Object.getOwnPropertySymbols(S);ue<ne.length;ue++)N.indexOf(ne[ue])<0&&Object.prototype.propertyIsEnumerable.call(S,ne[ue])&&(Y[ne[ue]]=S[ne[ue]]);return Y};const ta=10;function ki(S,N){const Y={current:S.current,pageSize:S.pageSize};return Object.keys(N&&typeof N=="object"?N:{}).forEach(ue=>{const de=S[ue];typeof de!="function"&&(Y[ue]=de)}),Y}function ca(S,N,Y){const ne=Y&&typeof Y=="object"?Y:{},{total:ue=0}=ne,de=ua(ne,["total"]),[be,xe]=(0,u.useState)(()=>({current:"defaultCurrent"in de?de.defaultCurrent:1,pageSize:"defaultPageSize"in de?de.defaultPageSize:ta})),ye=(0,ea.Z)(be,de,{total:ue>0?ue:S}),Pe=Math.ceil((ue||S)/ye.pageSize);ye.current>Pe&&(ye.current=Pe||1);const Le=(Ge,He)=>{xe({current:Ge!=null?Ge:1,pageSize:He||ye.pageSize})},Te=(Ge,He)=>{var Ve;Y&&((Ve=Y.onChange)===null||Ve===void 0||Ve.call(Y,Ge,He)),Le(Ge,He),N(Ge,He||(ye==null?void 0:ye.pageSize))};return Y===!1?[{},()=>{}]:[Object.assign(Object.assign({},ye),{onChange:Te}),Le]}var da=ca,fa=t(84105),Gi=t(35654),Qn=t(90782),Hn=t(71430),ei=t(18929);const jr={},Zr="SELECT_ALL",ri="SELECT_INVERT",oi="SELECT_NONE",Di=[],xi=(S,N)=>{let Y=[];return(N||[]).forEach(ne=>{Y.push(ne),ne&&typeof ne=="object"&&S in ne&&(Y=[].concat((0,Je.Z)(Y),(0,Je.Z)(xi(S,ne[S]))))}),Y};var Mi=(S,N)=>{const{preserveSelectedRowKeys:Y,selectedRowKeys:ne,defaultSelectedRowKeys:ue,getCheckboxProps:de,onChange:be,onSelect:xe,onSelectAll:ye,onSelectInvert:Pe,onSelectNone:Le,onSelectMultiple:Te,columnWidth:Ge,type:He,selections:Ve,fixed:vt,renderCell:ct,hideSelectAll:gt,checkStrictly:dt=!0}=N||{},{prefixCls:St,data:tn,pageData:nn,getRecordByKey:kt,getRowKey:bn,expandType:Nn,childrenColumnName:It,locale:jt,getPopupContainer:Rt}=S,[xt,Bt]=(0,ei.Z)(ne||ue||Di,{value:ne}),vn=u.useRef(new Map),Fn=(0,u.useCallback)(fn=>{if(Y){const un=new Map;fn.forEach(ln=>{let qt=kt(ln);!qt&&vn.current.has(ln)&&(qt=vn.current.get(ln)),un.set(ln,qt)}),vn.current=un}},[kt,Y]);u.useEffect(()=>{Fn(xt)},[xt]);const{keyEntities:Tn}=(0,u.useMemo)(()=>{if(dt)return{keyEntities:null};let fn=tn;if(Y){const un=new Set(tn.map((qt,sr)=>bn(qt,sr))),ln=Array.from(vn.current).reduce((qt,sr)=>{let[en,Pn]=sr;return un.has(en)?qt:qt.concat(Pn)},[]);fn=[].concat((0,Je.Z)(fn),(0,Je.Z)(ln))}return(0,Hn.I8)(fn,{externalGetKey:bn,childrenPropName:It})},[tn,bn,dt,It,Y]),sn=(0,u.useMemo)(()=>xi(It,nn),[It,nn]),Wn=(0,u.useMemo)(()=>{const fn=new Map;return sn.forEach((un,ln)=>{const qt=bn(un,ln),sr=(de?de(un):null)||{};fn.set(qt,sr)}),fn},[sn,bn,de]),Un=(0,u.useCallback)(fn=>{var un;return!!(!((un=Wn.get(bn(fn)))===null||un===void 0)&&un.disabled)},[Wn,bn]),[vr,ir]=(0,u.useMemo)(()=>{if(dt)return[xt||[],[]];const{checkedKeys:fn,halfCheckedKeys:un}=(0,Qn.S)(xt,!0,Tn,Un);return[fn||[],un]},[xt,dt,Tn,Un]),kr=(0,u.useMemo)(()=>{const fn=He==="radio"?vr.slice(0,1):vr;return new Set(fn)},[vr,He]),Kr=(0,u.useMemo)(()=>He==="radio"?new Set:new Set(ir),[ir,He]),[$n,Vr]=(0,u.useState)(null);u.useEffect(()=>{N||Bt(Di)},[!!N]);const or=(0,u.useCallback)((fn,un)=>{let ln,qt;Fn(fn),Y?(ln=fn,qt=fn.map(sr=>vn.current.get(sr))):(ln=[],qt=[],fn.forEach(sr=>{const en=kt(sr);en!==void 0&&(ln.push(sr),qt.push(en))})),Bt(ln),be==null||be(ln,qt,{type:un})},[Bt,kt,be,Y]),Pr=(0,u.useCallback)((fn,un,ln,qt)=>{if(xe){const sr=ln.map(en=>kt(en));xe(kt(fn),un,sr,qt)}or(ln,"single")},[xe,kt,or]),Or=(0,u.useMemo)(()=>!Ve||gt?null:(Ve===!0?[Zr,ri,oi]:Ve).map(un=>un===Zr?{key:"all",text:jt.selectionAll,onSelect(){or(tn.map((ln,qt)=>bn(ln,qt)).filter(ln=>{const qt=Wn.get(ln);return!(qt!=null&&qt.disabled)||kr.has(ln)}),"all")}}:un===ri?{key:"invert",text:jt.selectInvert,onSelect(){const ln=new Set(kr);nn.forEach((sr,en)=>{const Pn=bn(sr,en),nr=Wn.get(Pn);nr!=null&&nr.disabled||(ln.has(Pn)?ln.delete(Pn):ln.add(Pn))});const qt=Array.from(ln);Pe&&Pe(qt),or(qt,"invert")}}:un===oi?{key:"none",text:jt.selectNone,onSelect(){Le==null||Le(),or(Array.from(kr).filter(ln=>{const qt=Wn.get(ln);return qt==null?void 0:qt.disabled}),"none")}}:un).map(un=>Object.assign(Object.assign({},un),{onSelect:function(){for(var ln,qt,sr=arguments.length,en=new Array(sr),Pn=0;Pn<sr;Pn++)en[Pn]=arguments[Pn];(qt=un.onSelect)===null||qt===void 0||(ln=qt).call.apply(ln,[un].concat(en)),Vr(null)}})),[Ve,kr,nn,bn,Pe,or]);return[(0,u.useCallback)(fn=>{var un;if(!N)return fn.filter(dr=>dr!==jr);let ln=(0,Je.Z)(fn);const qt=new Set(kr),sr=sn.map(bn).filter(dr=>!Wn.get(dr).disabled),en=sr.every(dr=>qt.has(dr)),Pn=sr.some(dr=>qt.has(dr)),nr=()=>{const dr=[];en?sr.forEach(Nr=>{qt.delete(Nr),dr.push(Nr)}):sr.forEach(Nr=>{qt.has(Nr)||(qt.add(Nr),dr.push(Nr))});const fr=Array.from(qt);ye==null||ye(!en,fr.map(Nr=>kt(Nr)),dr.map(Nr=>kt(Nr))),or(fr,"all"),Vr(null)};let qn;if(He!=="radio"){let dr;if(Or){const Vn={getPopupContainer:Rt,items:Or.map((vi,hi)=>{const{key:Ti,text:Wi,onSelect:Fi}=vi;return{key:Ti!=null?Ti:hi,onClick:()=>{Fi==null||Fi(sr)},label:Wi}})};dr=u.createElement("div",{className:`${St}-selection-extra`},u.createElement(ni.Z,{menu:Vn,getPopupContainer:Rt},u.createElement("span",null,u.createElement(fa.Z,null))))}const fr=sn.map((Vn,vi)=>{const hi=bn(Vn,vi),Ti=Wn.get(hi)||{};return Object.assign({checked:qt.has(hi)},Ti)}).filter(Vn=>{let{disabled:vi}=Vn;return vi}),Nr=!!fr.length&&fr.length===sn.length,Yr=Nr&&fr.every(Vn=>{let{checked:vi}=Vn;return vi}),Jr=Nr&&fr.some(Vn=>{let{checked:vi}=Vn;return vi});qn=!gt&&u.createElement("div",{className:`${St}-selection`},u.createElement(ci.default,{checked:Nr?Yr:!!sn.length&&en,indeterminate:Nr?!Yr&&Jr:!en&&Pn,onChange:nr,disabled:sn.length===0||Nr,"aria-label":dr?"Custom selection":"Select all",skipGroup:!0}),dr)}let fi;He==="radio"?fi=(dr,fr,Nr)=>{const Yr=bn(fr,Nr),Jr=qt.has(Yr);return{node:u.createElement(pn.ZP,Object.assign({},Wn.get(Yr),{checked:Jr,onClick:Vn=>Vn.stopPropagation(),onChange:Vn=>{qt.has(Yr)||Pr(Yr,!0,[Yr],Vn.nativeEvent)}})),checked:Jr}}:fi=(dr,fr,Nr)=>{var Yr;const Jr=bn(fr,Nr),Vn=qt.has(Jr),vi=Kr.has(Jr),hi=Wn.get(Jr);let Ti;return Nn==="nest"?Ti=vi:Ti=(Yr=hi==null?void 0:hi.indeterminate)!==null&&Yr!==void 0?Yr:vi,{node:u.createElement(ci.default,Object.assign({},hi,{indeterminate:Ti,checked:Vn,skipGroup:!0,onClick:Wi=>Wi.stopPropagation(),onChange:Wi=>{let{nativeEvent:Fi}=Wi;const{shiftKey:Oa}=Fi;let Qi=-1,Li=-1;if(Oa&&dt){const Oi=new Set([$n,Jr]);sr.some((gi,Qr)=>{if(Oi.has(gi))if(Qi===-1)Qi=Qr;else return Li=Qr,!0;return!1})}if(Li!==-1&&Qi!==Li&&dt){const Oi=sr.slice(Qi,Li+1),gi=[];Vn?Oi.forEach($r=>{qt.has($r)&&(gi.push($r),qt.delete($r))}):Oi.forEach($r=>{qt.has($r)||(gi.push($r),qt.add($r))});const Qr=Array.from(qt);Te==null||Te(!Vn,Qr.map($r=>kt($r)),gi.map($r=>kt($r))),or(Qr,"multiple")}else{const Oi=vr;if(dt){const gi=Vn?(0,Gi._5)(Oi,Jr):(0,Gi.L0)(Oi,Jr);Pr(Jr,!Vn,gi,Fi)}else{const gi=(0,Qn.S)([].concat((0,Je.Z)(Oi),[Jr]),!0,Tn,Un),{checkedKeys:Qr,halfCheckedKeys:$r}=gi;let Ui=Qr;if(Vn){const sa=new Set(Qr);sa.delete(Jr),Ui=(0,Qn.S)(Array.from(sa),{checked:!1,halfCheckedKeys:$r},Tn,Un).checkedKeys}Pr(Jr,!Vn,Ui,Fi)}}Vr(Vn?null:Jr)}})),checked:Vn}};const ii=(dr,fr,Nr)=>{const{node:Yr,checked:Jr}=fi(dr,fr,Nr);return ct?ct(Jr,fr,Nr,Yr):Yr};if(!ln.includes(jr))if(ln.findIndex(dr=>{var fr;return((fr=dr[Ct])===null||fr===void 0?void 0:fr.columnType)==="EXPAND_COLUMN"})===0){const[dr,...fr]=ln;ln=[dr,jr].concat((0,Je.Z)(fr))}else ln=[jr].concat((0,Je.Z)(ln));const Ki=ln.indexOf(jr);ln=ln.filter((dr,fr)=>dr!==jr||fr===Ki);const Gr=ln[Ki-1],Ai=ln[Ki+1];let Xr=vt;Xr===void 0&&((Ai==null?void 0:Ai.fixed)!==void 0?Xr=Ai.fixed:(Gr==null?void 0:Gr.fixed)!==void 0&&(Xr=Gr.fixed)),Xr&&Gr&&((un=Gr[Ct])===null||un===void 0?void 0:un.columnType)==="EXPAND_COLUMN"&&Gr.fixed===void 0&&(Gr.fixed=Xr);const Si=p()(`${St}-selection-col`,{[`${St}-selection-col-with-dropdown`]:Ve&&He==="checkbox"}),oa={fixed:Xr,width:Ge,className:`${St}-selection-column`,title:N.columnTitle||qn,render:ii,onCell:N.onCell,[Ct]:{className:Si}};return ln.map(dr=>dr===jr?oa:dr)},[bn,sn,N,vr,kr,Kr,Ge,Or,Nn,$n,Wn,Te,Pr,Un]),kr]},ha=t(89489),Ia=t(59477),pa=t(6848);const ma="ascend",wa="descend";function va(S){return typeof S.sorter=="object"&&typeof S.sorter.multiple=="number"?S.sorter.multiple:!1}function Ca(S){return typeof S=="function"?S:S&&typeof S=="object"&&S.compare?S.compare:!1}function Ba(S,N){return N?S[S.indexOf(N)+1]:S[0]}function Ea(S,N,Y){let ne=[];function ue(de,be){ne.push({column:de,key:Ar(de,be),multiplePriority:va(de),sortOrder:de.sortOrder})}return(S||[]).forEach((de,be)=>{const xe=Ir(be,Y);de.children?("sortOrder"in de&&ue(de,xe),ne=[].concat((0,Je.Z)(ne),(0,Je.Z)(Ea(de.children,N,xe)))):de.sorter&&("sortOrder"in de?ue(de,xe):N&&de.defaultSortOrder&&ne.push({column:de,key:Ar(de,xe),multiplePriority:va(de),sortOrder:de.defaultSortOrder}))}),ne}function Ra(S,N,Y,ne,ue,de,be,xe){return(N||[]).map((ye,Pe)=>{const Le=Ir(Pe,xe);let Te=ye;if(Te.sorter){const Ge=Te.sortDirections||ue,He=Te.showSorterTooltip===void 0?be:Te.showSorterTooltip,Ve=Ar(Te,Le),vt=Y.find(Nn=>{let{key:It}=Nn;return It===Ve}),ct=vt?vt.sortOrder:null,gt=Ba(Ge,ct);let dt;if(ye.sortIcon)dt=ye.sortIcon({sortOrder:ct});else{const Nn=Ge.includes(ma)&&u.createElement(Ia.Z,{className:p()(`${S}-column-sorter-up`,{active:ct===ma})}),It=Ge.includes(wa)&&u.createElement(ha.Z,{className:p()(`${S}-column-sorter-down`,{active:ct===wa})});dt=u.createElement("span",{className:p()(`${S}-column-sorter`,{[`${S}-column-sorter-full`]:!!(Nn&&It)})},u.createElement("span",{className:`${S}-column-sorter-inner`,"aria-hidden":"true"},Nn,It))}const{cancelSort:St,triggerAsc:tn,triggerDesc:nn}=de||{};let kt=St;gt===wa?kt=nn:gt===ma&&(kt=tn);const bn=typeof He=="object"?He:{title:kt};Te=Object.assign(Object.assign({},Te),{className:p()(Te.className,{[`${S}-column-sort`]:ct}),title:Nn=>{const It=u.createElement("div",{className:`${S}-column-sorters`},u.createElement("span",{className:`${S}-column-title`},Hr(ye.title,Nn)),dt);return He?u.createElement(pa.Z,Object.assign({},bn),It):It},onHeaderCell:Nn=>{const It=ye.onHeaderCell&&ye.onHeaderCell(Nn)||{},jt=It.onClick,Rt=It.onKeyDown;It.onClick=vn=>{ne({column:ye,key:Ve,sortOrder:gt,multiplePriority:va(ye)}),jt==null||jt(vn)},It.onKeyDown=vn=>{vn.keyCode===Rr.Z.ENTER&&(ne({column:ye,key:Ve,sortOrder:gt,multiplePriority:va(ye)}),Rt==null||Rt(vn))};const xt=Wr(ye.title,{}),Bt=xt==null?void 0:xt.toString();return ct?It["aria-sort"]=ct==="ascend"?"ascending":"descending":It["aria-label"]=Bt||"",It.className=p()(It.className,`${S}-column-has-sorters`),It.tabIndex=0,ye.ellipsis&&(It.title=(xt!=null?xt:"").toString()),It}})}return"children"in Te&&(Te=Object.assign(Object.assign({},Te),{children:Ra(S,Te.children,Y,ne,ue,de,be,Le)})),Te})}function Pa(S){const{column:N,sortOrder:Y}=S;return{column:N,order:Y,field:N.dataIndex,columnKey:N.key}}function Da(S){const N=S.filter(Y=>{let{sortOrder:ne}=Y;return ne}).map(Pa);return N.length===0&&S.length?Object.assign(Object.assign({},Pa(S[S.length-1])),{column:void 0}):N.length<=1?N[0]||{}:N}function zr(S,N,Y){const ne=N.slice().sort((be,xe)=>xe.multiplePriority-be.multiplePriority),ue=S.slice(),de=ne.filter(be=>{let{column:{sorter:xe},sortOrder:ye}=be;return Ca(xe)&&ye});return de.length?ue.sort((be,xe)=>{for(let ye=0;ye<de.length;ye+=1){const Pe=de[ye],{column:{sorter:Le},sortOrder:Te}=Pe,Ge=Ca(Le);if(Ge&&Te){const He=Ge(be,xe,Te);if(He!==0)return Te===ma?He:-He}}return 0}).map(be=>{const xe=be[Y];return xe?Object.assign(Object.assign({},be),{[Y]:zr(xe,N,Y)}):be}):ue}function Cr(S){let{prefixCls:N,mergedColumns:Y,onSorterChange:ne,sortDirections:ue,tableLocale:de,showSorterTooltip:be}=S;const[xe,ye]=u.useState(Ea(Y,!0)),Pe=u.useMemo(()=>{let Ve=!0;const vt=Ea(Y,!1);if(!vt.length)return xe;const ct=[];function gt(St){Ve?ct.push(St):ct.push(Object.assign(Object.assign({},St),{sortOrder:null}))}let dt=null;return vt.forEach(St=>{dt===null?(gt(St),St.sortOrder&&(St.multiplePriority===!1?Ve=!1:dt=!0)):(dt&&St.multiplePriority!==!1||(Ve=!1),gt(St))}),ct},[Y,xe]),Le=u.useMemo(()=>{const Ve=Pe.map(vt=>{let{column:ct,sortOrder:gt}=vt;return{column:ct,order:gt}});return{sortColumns:Ve,sortColumn:Ve[0]&&Ve[0].column,sortOrder:Ve[0]&&Ve[0].order}},[Pe]);function Te(Ve){let vt;Ve.multiplePriority===!1||!Pe.length||Pe[0].multiplePriority===!1?vt=[Ve]:vt=[].concat((0,Je.Z)(Pe.filter(ct=>{let{key:gt}=ct;return gt!==Ve.key})),[Ve]),ye(vt),ne(Da(vt),vt)}return[Ve=>Ra(N,Ve,Pe,Te,ue,de,be),Pe,Le,()=>Da(Pe)]}function Tr(S,N){return S.map(Y=>{const ne=Object.assign({},Y);return ne.title=Hr(Y.title,N),"children"in ne&&(ne.children=Tr(ne.children,N)),ne})}function wi(S){return[u.useCallback(Y=>Tr(Y,S),[S])]}var Ci=dn((S,N)=>{const{_renderTimes:Y}=S,{_renderTimes:ne}=N;return Y!==ne}),ga=Kn((S,N)=>{const{_renderTimes:Y}=S,{_renderTimes:ne}=N;return Y!==ne}),Yi=t(64993),_a=t(17313),Ta=t(83116),Na=t(37613),Sa=S=>{const{componentCls:N}=S,Y=`${S.lineWidth}px ${S.lineType} ${S.tableBorderColor}`,ne=(ue,de,be)=>({[`&${N}-${ue}`]:{[`> ${N}-container`]:{[`> ${N}-content, > ${N}-body`]:{"\n > table > tbody > tr > th,\n > table > tbody > tr > td\n ":{[`> ${N}-expanded-row-fixed`]:{margin:`-${de}px -${be+S.lineWidth}px`}}}}}});return{[`${N}-wrapper`]:{[`${N}${N}-bordered`]:Object.assign(Object.assign(Object.assign({[`> ${N}-title`]:{border:Y,borderBottom:0},[`> ${N}-container`]:{borderInlineStart:Y,borderTop:Y,[`
|
|
> ${N}-content,
|
|
> ${N}-header,
|
|
> ${N}-body,
|
|
> ${N}-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:Y},"> thead":{"> tr:not(:last-child) > th":{borderBottom:Y},"> tr > th::before":{backgroundColor:"transparent !important"}},"\n > thead > tr,\n > tbody > tr,\n > tfoot > tr\n ":{[`> ${N}-cell-fix-right-first::after`]:{borderInlineEnd:Y}},"\n > tbody > tr > th,\n > tbody > tr > td\n ":{[`> ${N}-expanded-row-fixed`]:{margin:`-${S.tablePaddingVertical}px -${S.tablePaddingHorizontal+S.lineWidth}px`,"&::after":{position:"absolute",top:0,insetInlineEnd:S.lineWidth,bottom:0,borderInlineEnd:Y,content:'""'}}}}}},[`&${N}-scroll-horizontal`]:{[`> ${N}-container > ${N}-body`]:{"> table > tbody":{[`
|
|
> tr${N}-expanded-row,
|
|
> tr${N}-placeholder
|
|
`]:{"> th, > td":{borderInlineEnd:0}}}}}},ne("middle",S.tablePaddingVerticalMiddle,S.tablePaddingHorizontalMiddle)),ne("small",S.tablePaddingVerticalSmall,S.tablePaddingHorizontalSmall)),{[`> ${N}-footer`]:{border:Y,borderTop:0}}),[`${N}-cell`]:{[`${N}-container:first-child`]:{borderTop:0},"&-scrollbar:not([rowspan])":{boxShadow:`0 ${S.lineWidth}px 0 ${S.lineWidth}px ${S.tableHeaderBg}`}},[`${N}-bordered ${N}-cell-scrollbar`]:{borderInlineEnd:Y}}}},vo=S=>{const{componentCls:N}=S;return{[`${N}-wrapper`]:{[`${N}-cell-ellipsis`]:Object.assign(Object.assign({},_a.vS),{wordBreak:"keep-all",[`
|
|
&${N}-cell-fix-left-last,
|
|
&${N}-cell-fix-right-first
|
|
`]:{overflow:"visible",[`${N}-cell-content`]:{display:"block",overflow:"hidden",textOverflow:"ellipsis"}},[`${N}-column-title`]:{overflow:"hidden",textOverflow:"ellipsis",wordBreak:"keep-all"}})}}},go=S=>{const{componentCls:N}=S;return{[`${N}-wrapper`]:{[`${N}-tbody > tr${N}-placeholder`]:{textAlign:"center",color:S.colorTextDisabled,"\n &:hover > th,\n &:hover > td,\n ":{background:S.colorBgContainer}}}}},_o=t(15969),yo=S=>{const{componentCls:N,antCls:Y,controlInteractiveSize:ne,motionDurationSlow:ue,lineWidth:de,paddingXS:be,lineType:xe,tableBorderColor:ye,tableExpandIconBg:Pe,tableExpandColumnWidth:Le,borderRadius:Te,fontSize:Ge,fontSizeSM:He,lineHeight:Ve,tablePaddingVertical:vt,tablePaddingHorizontal:ct,tableExpandedRowBg:gt,paddingXXS:dt}=S,St=ne/2-de,tn=St*2+de*3,nn=`${de}px ${xe} ${ye}`,kt=dt-de;return{[`${N}-wrapper`]:{[`${N}-expand-icon-col`]:{width:Le},[`${N}-row-expand-icon-cell`]:{textAlign:"center",[`${N}-row-expand-icon`]:{display:"inline-flex",float:"none",verticalAlign:"sub"}},[`${N}-row-indent`]:{height:1,float:"left"},[`${N}-row-expand-icon`]:Object.assign(Object.assign({},(0,_o.N)(S)),{position:"relative",float:"left",boxSizing:"border-box",width:tn,height:tn,padding:0,color:"inherit",lineHeight:`${tn}px`,background:Pe,border:nn,borderRadius:Te,transform:`scale(${ne/tn})`,transition:`all ${ue}`,userSelect:"none","&:focus, &:hover, &:active":{borderColor:"currentcolor"},"&::before, &::after":{position:"absolute",background:"currentcolor",transition:`transform ${ue} ease-out`,content:'""'},"&::before":{top:St,insetInlineEnd:kt,insetInlineStart:kt,height:de},"&::after":{top:kt,bottom:kt,insetInlineStart:St,width:de,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"}}),[`${N}-row-indent + ${N}-row-expand-icon`]:{marginTop:(Ge*Ve-de*3)/2-Math.ceil((He*1.4-de*3)/2),marginInlineEnd:be},[`tr${N}-expanded-row`]:{"&, &:hover":{"> th, > td":{background:gt}},[`${Y}-descriptions-view`]:{display:"flex",table:{flex:"auto",width:"auto"}}},[`${N}-expanded-row-fixed`]:{position:"relative",margin:`-${vt}px -${ct}px`,padding:`${vt}px ${ct}px`}}}},bo=S=>{const{componentCls:N,antCls:Y,iconCls:ne,tableFilterDropdownWidth:ue,tableFilterDropdownSearchWidth:de,paddingXXS:be,paddingXS:xe,colorText:ye,lineWidth:Pe,lineType:Le,tableBorderColor:Te,tableHeaderIconColor:Ge,fontSizeSM:He,tablePaddingHorizontal:Ve,borderRadius:vt,motionDurationSlow:ct,colorTextDescription:gt,colorPrimary:dt,tableHeaderFilterActiveBg:St,colorTextDisabled:tn,tableFilterDropdownBg:nn,tableFilterDropdownHeight:kt,controlItemBgHover:bn,controlItemBgActive:Nn,boxShadowSecondary:It,filterDropdownMenuBg:jt}=S,Rt=`${Y}-dropdown`,xt=`${N}-filter-dropdown`,Bt=`${Y}-tree`,vn=`${Pe}px ${Le} ${Te}`;return[{[`${N}-wrapper`]:{[`${N}-filter-column`]:{display:"flex",justifyContent:"space-between"},[`${N}-filter-trigger`]:{position:"relative",display:"flex",alignItems:"center",marginBlock:-be,marginInline:`${be}px ${-Ve/2}px`,padding:`0 ${be}px`,color:Ge,fontSize:He,borderRadius:vt,cursor:"pointer",transition:`all ${ct}`,"&:hover":{color:gt,background:St},"&.active":{color:dt}}}},{[`${Y}-dropdown`]:{[xt]:Object.assign(Object.assign({},(0,_a.Wf)(S)),{minWidth:ue,backgroundColor:nn,borderRadius:vt,boxShadow:It,overflow:"hidden",[`${Rt}-menu`]:{maxHeight:kt,overflowX:"hidden",border:0,boxShadow:"none",borderRadius:"unset",backgroundColor:jt,"&:empty::after":{display:"block",padding:`${xe}px 0`,color:tn,fontSize:He,textAlign:"center",content:'"Not Found"'}},[`${xt}-tree`]:{paddingBlock:`${xe}px 0`,paddingInline:xe,[Bt]:{padding:0},[`${Bt}-treenode ${Bt}-node-content-wrapper:hover`]:{backgroundColor:bn},[`${Bt}-treenode-checkbox-checked ${Bt}-node-content-wrapper`]:{"&, &:hover":{backgroundColor:Nn}}},[`${xt}-search`]:{padding:xe,borderBottom:vn,"&-input":{input:{minWidth:de},[ne]:{color:tn}}},[`${xt}-checkall`]:{width:"100%",marginBottom:be,marginInlineStart:be},[`${xt}-btns`]:{display:"flex",justifyContent:"space-between",padding:`${xe-Pe}px ${xe}px`,overflow:"hidden",borderTop:vn}})}},{[`${Y}-dropdown ${xt}, ${xt}-submenu`]:{[`${Y}-checkbox-wrapper + span`]:{paddingInlineStart:xe,color:ye},"> ul":{maxHeight:"calc(100vh - 130px)",overflowX:"hidden",overflowY:"auto"}}}]},xo=S=>{const{componentCls:N,lineWidth:Y,colorSplit:ne,motionDurationSlow:ue,zIndexTableFixed:de,tableBg:be,zIndexTableSticky:xe}=S,ye=ne;return{[`${N}-wrapper`]:{[`
|
|
${N}-cell-fix-left,
|
|
${N}-cell-fix-right
|
|
`]:{position:"sticky !important",zIndex:de,background:be},[`
|
|
${N}-cell-fix-left-first::after,
|
|
${N}-cell-fix-left-last::after
|
|
`]:{position:"absolute",top:0,right:{_skip_check_:!0,value:0},bottom:-Y,width:30,transform:"translateX(100%)",transition:`box-shadow ${ue}`,content:'""',pointerEvents:"none"},[`${N}-cell-fix-left-all::after`]:{display:"none"},[`
|
|
${N}-cell-fix-right-first::after,
|
|
${N}-cell-fix-right-last::after
|
|
`]:{position:"absolute",top:0,bottom:-Y,left:{_skip_check_:!0,value:0},width:30,transform:"translateX(-100%)",transition:`box-shadow ${ue}`,content:'""',pointerEvents:"none"},[`${N}-container`]:{"&::before, &::after":{position:"absolute",top:0,bottom:0,zIndex:xe+1,width:30,transition:`box-shadow ${ue}`,content:'""',pointerEvents:"none"},"&::before":{insetInlineStart:0},"&::after":{insetInlineEnd:0}},[`${N}-ping-left`]:{[`&:not(${N}-has-fix-left) ${N}-container`]:{position:"relative","&::before":{boxShadow:`inset 10px 0 8px -8px ${ye}`}},[`
|
|
${N}-cell-fix-left-first::after,
|
|
${N}-cell-fix-left-last::after
|
|
`]:{boxShadow:`inset 10px 0 8px -8px ${ye}`},[`${N}-cell-fix-left-last::before`]:{backgroundColor:"transparent !important"}},[`${N}-ping-right`]:{[`&:not(${N}-has-fix-right) ${N}-container`]:{position:"relative","&::after":{boxShadow:`inset -10px 0 8px -8px ${ye}`}},[`
|
|
${N}-cell-fix-right-first::after,
|
|
${N}-cell-fix-right-last::after
|
|
`]:{boxShadow:`inset -10px 0 8px -8px ${ye}`}}}}},wo=S=>{const{componentCls:N,antCls:Y}=S;return{[`${N}-wrapper`]:{[`${N}-pagination${Y}-pagination`]:{margin:`${S.margin}px 0`},[`${N}-pagination`]:{display:"flex",flexWrap:"wrap",rowGap:S.paddingXS,"> *":{flex:"none"},"&-left":{justifyContent:"flex-start"},"&-center":{justifyContent:"center"},"&-right":{justifyContent:"flex-end"}}}}},Co=S=>{const{componentCls:N,tableRadius:Y}=S;return{[`${N}-wrapper`]:{[N]:{[`${N}-title, ${N}-header`]:{borderRadius:`${Y}px ${Y}px 0 0`},[`${N}-title + ${N}-container`]:{borderStartStartRadius:0,borderStartEndRadius:0,[`${N}-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:Y,borderStartEndRadius:Y,"table > thead > tr:first-child":{"> *:first-child":{borderStartStartRadius:Y},"> *:last-child":{borderStartEndRadius:Y}}},"&-footer":{borderRadius:`0 0 ${Y}px ${Y}px`}}}}},Eo=S=>{const{componentCls:N}=S;return{[`${N}-wrapper-rtl`]:{direction:"rtl",table:{direction:"rtl"},[`${N}-pagination-left`]:{justifyContent:"flex-end"},[`${N}-pagination-right`]:{justifyContent:"flex-start"},[`${N}-row-expand-icon`]:{float:"right","&::after":{transform:"rotate(-90deg)"},"&-collapsed::before":{transform:"rotate(180deg)"},"&-collapsed::after":{transform:"rotate(0deg)"}},[`${N}-container`]:{"&::before":{insetInlineStart:"unset",insetInlineEnd:0},"&::after":{insetInlineStart:0,insetInlineEnd:"unset"},[`${N}-row-indent`]:{float:"right"}}}}},So=S=>{const{componentCls:N,antCls:Y,iconCls:ne,fontSizeIcon:ue,padding:de,paddingXS:be,tableHeaderIconColor:xe,tableHeaderIconColorHover:ye,tableSelectionColumnWidth:Pe}=S;return{[`${N}-wrapper`]:{[`${N}-selection-col`]:{width:Pe,[`&${N}-selection-col-with-dropdown`]:{width:Pe+ue+de/4}},[`${N}-bordered ${N}-selection-col`]:{width:Pe+be*2,[`&${N}-selection-col-with-dropdown`]:{width:Pe+ue+de/4+be*2}},[`
|
|
table tr th${N}-selection-column,
|
|
table tr td${N}-selection-column
|
|
`]:{paddingInlineEnd:S.paddingXS,paddingInlineStart:S.paddingXS,textAlign:"center",[`${Y}-radio-wrapper`]:{marginInlineEnd:0}},[`table tr th${N}-selection-column${N}-cell-fix-left`]:{zIndex:S.zIndexTableFixed+1},[`table tr th${N}-selection-column::after`]:{backgroundColor:"transparent !important"},[`${N}-selection`]:{position:"relative",display:"inline-flex",flexDirection:"column"},[`${N}-selection-extra`]:{position:"absolute",top:0,zIndex:1,cursor:"pointer",transition:`all ${S.motionDurationSlow}`,marginInlineStart:"100%",paddingInlineStart:`${S.tablePaddingHorizontal/4}px`,[ne]:{color:xe,fontSize:ue,verticalAlign:"baseline","&:hover":{color:ye}}}}}},Oo=S=>{const{componentCls:N}=S,Y=(ne,ue,de,be)=>({[`${N}${N}-${ne}`]:{fontSize:be,[`
|
|
${N}-title,
|
|
${N}-footer,
|
|
${N}-cell,
|
|
${N}-thead > tr > th,
|
|
${N}-tbody > tr > th,
|
|
${N}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{padding:`${ue}px ${de}px`},[`${N}-filter-trigger`]:{marginInlineEnd:`-${de/2}px`},[`${N}-expanded-row-fixed`]:{margin:`-${ue}px -${de}px`},[`${N}-tbody`]:{[`${N}-wrapper:only-child ${N}`]:{marginBlock:`-${ue}px`,marginInline:`${S.tableExpandColumnWidth-de}px -${de}px`}},[`${N}-selection-column`]:{paddingInlineStart:`${de/4}px`}}});return{[`${N}-wrapper`]:Object.assign(Object.assign({},Y("middle",S.tablePaddingVerticalMiddle,S.tablePaddingHorizontalMiddle,S.tableFontSizeMiddle)),Y("small",S.tablePaddingVerticalSmall,S.tablePaddingHorizontalSmall,S.tableFontSizeSmall))}},Io=S=>{const{componentCls:N,marginXXS:Y,fontSizeIcon:ne,tableHeaderIconColor:ue,tableHeaderIconColorHover:de}=S;return{[`${N}-wrapper`]:{[`${N}-thead th${N}-column-has-sorters`]:{outline:"none",cursor:"pointer",transition:`all ${S.motionDurationSlow}`,"&:hover":{background:S.tableHeaderSortHoverBg,"&::before":{backgroundColor:"transparent !important"}},"&:focus-visible":{color:S.colorPrimary},[`
|
|
&${N}-cell-fix-left:hover,
|
|
&${N}-cell-fix-right:hover
|
|
`]:{background:S.tableFixedHeaderSortActiveBg}},[`${N}-thead th${N}-column-sort`]:{background:S.tableHeaderSortBg,"&::before":{backgroundColor:"transparent !important"}},[`td${N}-column-sort`]:{background:S.tableBodySortBg},[`${N}-column-title`]:{position:"relative",zIndex:1,flex:1},[`${N}-column-sorters`]:{display:"flex",flex:"auto",alignItems:"center",justifyContent:"space-between","&::after":{position:"absolute",inset:0,width:"100%",height:"100%",content:'""'}},[`${N}-column-sorter`]:{marginInlineStart:Y,color:ue,fontSize:0,transition:`color ${S.motionDurationSlow}`,"&-inner":{display:"inline-flex",flexDirection:"column",alignItems:"center"},"&-up, &-down":{fontSize:ne,"&.active":{color:S.colorPrimary}},[`${N}-column-sorter-up + ${N}-column-sorter-down`]:{marginTop:"-0.3em"}},[`${N}-column-sorters:hover ${N}-column-sorter`]:{color:de}}}},Ro=S=>{const{componentCls:N,opacityLoading:Y,tableScrollThumbBg:ne,tableScrollThumbBgHover:ue,tableScrollThumbSize:de,tableScrollBg:be,zIndexTableSticky:xe,stickyScrollBarBorderRadius:ye}=S,Pe=`${S.lineWidth}px ${S.lineType} ${S.tableBorderColor}`;return{[`${N}-wrapper`]:{[`${N}-sticky`]:{"&-holder":{position:"sticky",zIndex:xe,background:S.colorBgContainer},"&-scroll":{position:"sticky",bottom:0,height:`${de}px !important`,zIndex:xe,display:"flex",alignItems:"center",background:be,borderTop:Pe,opacity:Y,"&:hover":{transformOrigin:"center bottom"},"&-bar":{height:de,backgroundColor:ne,borderRadius:ye,transition:`all ${S.motionDurationSlow}, transform none`,position:"absolute",bottom:0,"&:hover, &-active":{backgroundColor:ue}}}}}}},Ga=S=>{const{componentCls:N,lineWidth:Y,tableBorderColor:ne}=S,ue=`${Y}px ${S.lineType} ${ne}`;return{[`${N}-wrapper`]:{[`${N}-summary`]:{position:"relative",zIndex:S.zIndexTableFixed,background:S.tableBg,"> tr":{"> th, > td":{borderBottom:ue}}},[`div${N}-summary`]:{boxShadow:`0 -${Y}px 0 ${ne}`}}}},Po=S=>{const{componentCls:N}=S,Y=`${S.lineWidth}px ${S.lineType} ${S.tableBorderColor}`,ne=`${N}-expanded-row-cell`;return{[`${N}-wrapper`]:{[`${N}-tbody-virtual`]:{[`${N}-row`]:{display:"flex",boxSizing:"border-box",width:"100%"},[`${N}-cell`]:{borderBottom:Y},[`${N}-expanded-row`]:{[`${ne}${ne}-fixed`]:{position:"sticky",insetInlineStart:0,overflow:"hidden",width:`calc(var(--virtual-width) - ${S.lineWidth}px)`,borderInlineEnd:"none"}}},[`${N}-bordered`]:{[`${N}-tbody-virtual`]:{"&:after":{content:'""',insetInline:0,bottom:0,borderBottom:Y,position:"absolute"},[`${N}-cell`]:{borderInlineEnd:Y,[`&${N}-cell-fix-right-first:before`]:{content:'""',position:"absolute",insetBlock:0,insetInlineStart:-S.lineWidth,borderInlineStart:Y}}}}}}};const Do=S=>{const{componentCls:N,fontWeightStrong:Y,tablePaddingVertical:ne,tablePaddingHorizontal:ue,lineWidth:de,lineType:be,tableBorderColor:xe,tableFontSize:ye,tableBg:Pe,tableRadius:Le,tableHeaderTextColor:Te,motionDurationMid:Ge,tableHeaderBg:He,tableHeaderCellSplitColor:Ve,tableRowHoverBg:vt,tableSelectedRowBg:ct,tableSelectedRowHoverBg:gt,tableFooterTextColor:dt,tableFooterBg:St,paddingContentVerticalLG:tn}=S,nn=`${de}px ${be} ${xe}`;return{[`${N}-wrapper`]:Object.assign(Object.assign({clear:"both",maxWidth:"100%"},(0,_a.dF)()),{[N]:Object.assign(Object.assign({},(0,_a.Wf)(S)),{fontSize:ye,background:Pe,borderRadius:`${Le}px ${Le}px 0 0`}),table:{width:"100%",textAlign:"start",borderRadius:`${Le}px ${Le}px 0 0`,borderCollapse:"separate",borderSpacing:0},[`
|
|
${N}-cell,
|
|
${N}-thead > tr > th,
|
|
${N}-tbody > tr > th,
|
|
${N}-tbody > tr > td,
|
|
tfoot > tr > th,
|
|
tfoot > tr > td
|
|
`]:{position:"relative",padding:`${tn}px ${ue}px`,overflowWrap:"break-word"},[`${N}-title`]:{padding:`${ne}px ${ue}px`},[`${N}-thead`]:{"\n > tr > th,\n > tr > td\n ":{position:"relative",color:Te,fontWeight:Y,textAlign:"start",background:He,borderBottom:nn,transition:`background ${Ge} ease`,"&[colspan]:not([colspan='1'])":{textAlign:"center"},[`&:not(:last-child):not(${N}-selection-column):not(${N}-row-expand-icon-cell):not([colspan])::before`]:{position:"absolute",top:"50%",insetInlineEnd:0,width:1,height:"1.6em",backgroundColor:Ve,transform:"translateY(-50%)",transition:`background-color ${Ge}`,content:'""'}},"> tr:not(:last-child) > th[colspan]":{borderBottom:0}},[`${N}-tbody`]:{"> tr":{"> th, > td":{transition:`background ${Ge}, border-color ${Ge}`,borderBottom:nn,[`
|
|
> ${N}-wrapper:only-child,
|
|
> ${N}-expanded-row-fixed > ${N}-wrapper:only-child
|
|
`]:{[N]:{marginBlock:`-${ne}px`,marginInline:`${S.tableExpandColumnWidth-ue}px -${ue}px`,[`${N}-tbody > tr:last-child > td`]:{borderBottom:0,"&:first-child, &:last-child":{borderRadius:0}}}}},"> th":{position:"relative",color:Te,fontWeight:Y,textAlign:"start",background:He,borderBottom:nn,transition:`background ${Ge} ease`},[`
|
|
&${N}-row:hover > th,
|
|
&${N}-row:hover > td,
|
|
> th${N}-cell-row-hover,
|
|
> td${N}-cell-row-hover
|
|
`]:{background:vt},[`&${N}-row-selected`]:{"> th, > td":{background:ct},"&:hover > th, &:hover > td":{background:gt}}}},[`${N}-footer`]:{padding:`${ne}px ${ue}px`,color:dt,background:St}})}};var To=(0,Ta.Z)("Table",S=>{const{colorTextHeading:N,colorSplit:Y,colorIcon:ne,colorIconHover:ue,opacityLoading:de,colorBgContainer:be,controlInteractiveSize:xe,headerBg:ye,headerColor:Pe,headerSortActiveBg:Le,headerSortHoverBg:Te,bodySortBg:Ge,rowHoverBg:He,rowSelectedBg:Ve,rowSelectedHoverBg:vt,rowExpandedBg:ct,cellPaddingBlock:gt,cellPaddingInline:dt,cellPaddingBlockMD:St,cellPaddingInlineMD:tn,cellPaddingBlockSM:nn,cellPaddingInlineSM:kt,borderColor:bn,footerBg:Nn,footerColor:It,headerBorderRadius:jt,cellFontSize:Rt,cellFontSizeMD:xt,cellFontSizeSM:Bt,headerSplitColor:vn,fixedHeaderSortActiveBg:Fn,headerFilterHoverBg:Tn,filterDropdownBg:sn,expandIconBg:Wn,selectionColumnWidth:Un,stickyScrollBarBg:vr}=S,ir=new Yi.C(ne),kr=new Yi.C(ue),Kr=2,$n=(0,Na.TS)(S,{tableFontSize:Rt,tableBg:be,tableRadius:jt,tablePaddingVertical:gt,tablePaddingHorizontal:dt,tablePaddingVerticalMiddle:St,tablePaddingHorizontalMiddle:tn,tablePaddingVerticalSmall:nn,tablePaddingHorizontalSmall:kt,tableBorderColor:bn,tableHeaderTextColor:Pe,tableHeaderBg:ye,tableFooterTextColor:It,tableFooterBg:Nn,tableHeaderCellSplitColor:vn,tableHeaderSortBg:Le,tableHeaderSortHoverBg:Te,tableHeaderIconColor:ir.clone().setAlpha(ir.getAlpha()*de).toRgbString(),tableHeaderIconColorHover:kr.clone().setAlpha(kr.getAlpha()*de).toRgbString(),tableBodySortBg:Ge,tableFixedHeaderSortActiveBg:Fn,tableHeaderFilterActiveBg:Tn,tableFilterDropdownBg:sn,tableRowHoverBg:He,tableSelectedRowBg:Ve,tableSelectedRowHoverBg:vt,zIndexTableFixed:Kr,zIndexTableSticky:Kr+1,tableFontSizeMiddle:xt,tableFontSizeSmall:Bt,tableSelectionColumnWidth:Un,tableExpandIconBg:Wn,tableExpandColumnWidth:xe+2*S.padding,tableExpandedRowBg:ct,tableFilterDropdownWidth:120,tableFilterDropdownHeight:264,tableFilterDropdownSearchWidth:140,tableScrollThumbSize:8,tableScrollThumbBg:vr,tableScrollThumbBgHover:N,tableScrollBg:Y});return[Do($n),wo($n),Ga($n),Io($n),bo($n),Sa($n),Co($n),yo($n),Ga($n),go($n),So($n),xo($n),Ro($n),vo($n),Oo($n),Eo($n),Po($n)]},S=>{const{colorFillAlter:N,colorBgContainer:Y,colorTextHeading:ne,colorFillSecondary:ue,colorFillContent:de,controlItemBgActive:be,controlItemBgActiveHover:xe,padding:ye,paddingSM:Pe,paddingXS:Le,colorBorderSecondary:Te,borderRadiusLG:Ge,fontSize:He,controlHeight:Ve,colorTextPlaceholder:vt}=S,ct=new Yi.C(ue).onBackground(Y).toHexShortString(),gt=new Yi.C(de).onBackground(Y).toHexShortString(),dt=new Yi.C(N).onBackground(Y).toHexShortString();return{headerBg:dt,headerColor:ne,headerSortActiveBg:ct,headerSortHoverBg:gt,bodySortBg:dt,rowHoverBg:dt,rowSelectedBg:be,rowSelectedHoverBg:xe,rowExpandedBg:N,cellPaddingBlock:ye,cellPaddingInline:ye,cellPaddingBlockMD:Pe,cellPaddingInlineMD:Le,cellPaddingBlockSM:Le,cellPaddingInlineSM:Le,borderColor:Te,headerBorderRadius:Ge,footerBg:dt,footerColor:ne,cellFontSize:He,cellFontSizeMD:He,cellFontSizeSM:He,headerSplitColor:Te,fixedHeaderSortActiveBg:ct,headerFilterHoverBg:de,filterDropdownMenuBg:Y,filterDropdownBg:Y,expandIconBg:Y,selectionColumnWidth:Ve,stickyScrollBarBg:vt,stickyScrollBarBorderRadius:100}});const No=[],$o=(S,N)=>{const{prefixCls:Y,className:ne,rootClassName:ue,style:de,size:be,bordered:xe,dropdownPrefixCls:ye,dataSource:Pe,pagination:Le,rowSelection:Te,rowKey:Ge="key",rowClassName:He,columns:Ve,children:vt,childrenColumnName:ct,onChange:gt,getPopupContainer:dt,loading:St,expandIcon:tn,expandable:nn,expandedRowRender:kt,expandIconColumnIndex:bn,indentSize:Nn,scroll:It,sortDirections:jt,locale:Rt,showSorterTooltip:xt=!0,virtual:Bt}=S,vn=u.useMemo(()=>Ve||zn(vt),[Ve,vt]),Fn=u.useMemo(()=>vn.some(rr=>rr.responsive),[vn]),Tn=(0,mr.Z)(Fn),sn=u.useMemo(()=>{const rr=new Set(Object.keys(Tn).filter(Er=>Tn[Er]));return vn.filter(Er=>!Er.responsive||Er.responsive.some(si=>rr.has(si)))},[vn,Tn]),Wn=(0,Gt.Z)(S,["className","style","columns"]),{locale:Un=_r.Z,direction:vr,table:ir,renderEmpty:kr,getPrefixCls:Kr,getPopupContainer:$n}=u.useContext(tr.E_),Vr=(0,er.Z)(be),or=Object.assign(Object.assign({},Un.Table),Rt),Pr=Pe||No,Or=Kr("table",Y),Ei=Kr("dropdown",ye),fn=Object.assign({childrenColumnName:ct,expandIconColumnIndex:bn},nn),{childrenColumnName:un="children"}=fn,ln=u.useMemo(()=>Pr.some(rr=>rr==null?void 0:rr[un])?"nest":kt||nn&&nn.expandedRowRender?"row":null,[Pr]),qt={body:u.useRef()},sr=u.useMemo(()=>typeof Ge=="function"?Ge:rr=>rr==null?void 0:rr[Ge],[Ge]),[en]=aa(Pr,un,sr),Pn={},nr=function(rr,Er){let si=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;var Mr,pi,Ii;const Ri=Object.assign(Object.assign({},Pn),rr);si&&((Mr=Pn.resetPagination)===null||Mr===void 0||Mr.call(Pn),!((pi=Ri.pagination)===null||pi===void 0)&&pi.current&&(Ri.pagination.current=1),Le&&Le.onChange&&Le.onChange(1,(Ii=Ri.pagination)===null||Ii===void 0?void 0:Ii.pageSize)),It&&It.scrollToFirstRowOnChange!==!1&&qt.body.current&&(0,Zn.Z)(0,{getContainer:()=>qt.body.current}),gt==null||gt(Ri.pagination,Ri.filters,Ri.sorter,{currentDataSource:Hi(zr(Pr,Ri.sorterStates,un),Ri.filterStates),action:Er})},qn=(rr,Er)=>{nr({sorter:rr,sorterStates:Er},"sort",!1)},[fi,ii,Ki,Gr]=Cr({prefixCls:Or,mergedColumns:sn,onSorterChange:qn,sortDirections:jt||["ascend","descend"],tableLocale:or,showSorterTooltip:xt}),Ai=u.useMemo(()=>zr(Pr,ii,un),[Pr,ii]);Pn.sorter=Gr(),Pn.sorterStates=ii;const Xr=(rr,Er)=>{nr({filters:rr,filterStates:Er},"filter",!0)},[Si,oa,dr]=la({prefixCls:Or,locale:or,dropdownPrefixCls:Ei,mergedColumns:sn,onFilterChange:Xr,getPopupContainer:dt||$n}),fr=Hi(Ai,oa);Pn.filters=dr,Pn.filterStates=oa;const Nr=u.useMemo(()=>{const rr={};return Object.keys(dr).forEach(Er=>{dr[Er]!==null&&(rr[Er]=dr[Er])}),Object.assign(Object.assign({},Ki),{filters:rr})},[Ki,dr]),[Yr]=wi(Nr),Jr=(rr,Er)=>{nr({pagination:Object.assign(Object.assign({},Pn.pagination),{current:rr,pageSize:Er})},"paginate")},[Vn,vi]=da(fr.length,Jr,Le);Pn.pagination=Le===!1?{}:ki(Vn,Le),Pn.resetPagination=vi;const hi=u.useMemo(()=>{if(Le===!1||!Vn.pageSize)return fr;const{current:rr=1,total:Er,pageSize:si=ta}=Vn;return fr.length<Er?fr.length>si?fr.slice((rr-1)*si,rr*si):fr:fr.slice((rr-1)*si,rr*si)},[!!Le,fr,Vn&&Vn.current,Vn&&Vn.pageSize,Vn&&Vn.total]),[Ti,Wi]=Mi({prefixCls:Or,data:fr,pageData:hi,getRowKey:sr,getRecordByKey:en,expandType:ln,childrenColumnName:un,locale:or,getPopupContainer:dt||$n},Te),Fi=(rr,Er,si)=>{let Mr;return typeof He=="function"?Mr=p()(He(rr,Er,si)):Mr=p()(He),p()({[`${Or}-row-selected`]:Wi.has(sr(rr,Er))},Mr)};fn.__PARENT_RENDER_ICON__=fn.expandIcon,fn.expandIcon=fn.expandIcon||tn||Fr(or),ln==="nest"&&fn.expandIconColumnIndex===void 0?fn.expandIconColumnIndex=Te?1:0:fn.expandIconColumnIndex>0&&Te&&(fn.expandIconColumnIndex-=1),typeof fn.indentSize!="number"&&(fn.indentSize=typeof Nn=="number"?Nn:15);const Oa=u.useCallback(rr=>Yr(Ti(Si(fi(rr)))),[fi,Si,Ti]);let Qi,Li;if(Le!==!1&&(Vn!=null&&Vn.total)){let rr;Vn.size?rr=Vn.size:rr=Vr==="small"||Vr==="middle"?"small":void 0;const Er=pi=>u.createElement(Sr.Z,Object.assign({},Vn,{className:p()(`${Or}-pagination ${Or}-pagination-${pi}`,Vn.className),size:rr})),si=vr==="rtl"?"left":"right",{position:Mr}=Vn;if(Mr!==null&&Array.isArray(Mr)){const pi=Mr.find(qi=>qi.includes("top")),Ii=Mr.find(qi=>qi.includes("bottom")),Ri=Mr.every(qi=>`${qi}`=="none");!pi&&!Ii&&!Ri&&(Li=Er(si)),pi&&(Qi=Er(pi.toLowerCase().replace("top",""))),Ii&&(Li=Er(Ii.toLowerCase().replace("bottom","")))}else Li=Er(si)}let Oi;typeof St=="boolean"?Oi={spinning:St}:typeof St=="object"&&(Oi=Object.assign({spinning:!0},St));const[gi,Qr]=To(Or),[,$r]=(0,Yn.Z)(),Ui=p()(`${Or}-wrapper`,ir==null?void 0:ir.className,{[`${Or}-wrapper-rtl`]:vr==="rtl"},ne,ue,Qr),sa=Object.assign(Object.assign({},ir==null?void 0:ir.style),de),na=Rt&&Rt.emptyText||(kr==null?void 0:kr("Table"))||u.createElement(gr.Z,{componentName:"Table"}),Vi=Bt?ga:Ci,$a={},Za=u.useMemo(()=>{const{fontSize:rr,lineHeight:Er,padding:si,paddingXS:Mr,paddingSM:pi}=$r,Ii=Math.floor(rr*Er);switch(Vr){case"large":return si*2+Ii;case"small":return Mr*2+Ii;default:return pi*2+Ii}},[$r,Vr]);return Bt&&($a.listItemHeight=Za),gi(u.createElement("div",{ref:N,className:Ui,style:sa},u.createElement(yr.Z,Object.assign({spinning:!1},Oi),Qi,u.createElement(Vi,Object.assign({},$a,Wn,{columns:sn,direction:vr,expandable:fn,prefixCls:Or,className:p()({[`${Or}-middle`]:Vr==="middle",[`${Or}-small`]:Vr==="small",[`${Or}-bordered`]:xe,[`${Or}-empty`]:Pr.length===0}),data:hi,rowKey:sr,rowClassName:Fi,emptyText:na,internalHooks:m,internalRefs:qt,transformColumns:Oa})),Li)))};var Mo=u.forwardRef($o);const Ao=(S,N)=>{const Y=u.useRef(0);return Y.current+=1,u.createElement(Mo,Object.assign({},S,{ref:N,_renderTimes:Y.current}))},Ji=u.forwardRef(Ao);Ji.SELECTION_COLUMN=jr,Ji.EXPAND_COLUMN=b,Ji.SELECTION_ALL=Zr,Ji.SELECTION_INVERT=ri,Ji.SELECTION_NONE=oi,Ji.Column=cr,Ji.ColumnGroup=Et,Ji.Summary=d;var Lo=Ji,Bo=Lo},33166:function(We,fe,t){"use strict";t.d(fe,{i:function(){return b}});const b=["blue","purple","cyan","green","magenta","pink","red","orange","yellow","volcano","geekblue","lime","gold"]},45157:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return m}});var b=t(33166);function m(D,V){return b.i.reduce((Z,K)=>{const u=D[`${K}1`],W=D[`${K}3`],e=D[`${K}6`],h=D[`${K}7`];return Object.assign(Object.assign({},Z),V(K,{lightColor:u,lightBorderColor:W,darkColor:e,textColor:h}))},{})}},6848:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return G}});var b=t(59301),m=t(92310),D=t.n(m),V=t(55477),Z=t(18929),K=t(62892),u=t(79676),W=t(92343),e=t(36355),h=t(33234),v=t(88088),n=t(17313),r=t(29878),o=t(19447),l=t(45157),w=t(37613),k=t(83116);const E=H=>{const{componentCls:$,tooltipMaxWidth:p,tooltipColor:z,tooltipBg:I,tooltipBorderRadius:B,zIndexPopup:P,controlHeight:i,boxShadowSecondary:a,paddingSM:_,paddingXS:F,tooltipRadiusOuter:te}=H;return[{[$]:Object.assign(Object.assign(Object.assign(Object.assign({},(0,n.Wf)(H)),{position:"absolute",zIndex:P,display:"block",width:"max-content",maxWidth:p,visibility:"visible",transformOrigin:"var(--arrow-x, 50%) var(--arrow-y, 50%)","&-hidden":{display:"none"},"--antd-arrow-background-color":I,[`${$}-inner`]:{minWidth:i,minHeight:i,padding:`${_/2}px ${F}px`,color:z,textAlign:"start",textDecoration:"none",wordWrap:"break-word",backgroundColor:I,borderRadius:B,boxShadow:a,boxSizing:"border-box"},[["&-placement-left","&-placement-leftTop","&-placement-leftBottom","&-placement-right","&-placement-rightTop","&-placement-rightBottom"].join(",")]:{[`${$}-inner`]:{borderRadius:Math.min(B,o.qN)}},[`${$}-content`]:{position:"relative"}}),(0,l.Z)(H,(ie,ae)=>{let{darkColor:he}=ae;return{[`&${$}-${ie}`]:{[`${$}-inner`]:{backgroundColor:he},[`${$}-arrow`]:{"--antd-arrow-background-color":he}}}})),{"&-rtl":{direction:"rtl"}})},(0,o.ZP)((0,w.TS)(H,{borderRadiusOuter:te}),{colorBg:"var(--antd-arrow-background-color)",contentRadius:B,limitVerticalRadius:!0}),{[`${$}-pure`]:{position:"relative",maxWidth:"none",margin:H.sizePopupArrow}}]};var g=(H,$)=>(0,k.Z)("Tooltip",z=>{if($===!1)return[];const{borderRadius:I,colorTextLightSolid:B,colorBgDefault:P,borderRadiusOuter:i}=z,a=(0,w.TS)(z,{tooltipMaxWidth:250,tooltipColor:B,tooltipBorderRadius:I,tooltipBg:P,tooltipRadiusOuter:i>4?4:i});return[E(a),(0,r._y)(z,"zoom-big-fast")]},z=>{let{zIndexPopupBase:I,colorBgSpotlight:B}=z;return{zIndexPopup:I+70,colorBgDefault:B}},{resetStyle:!1})(H),O=t(36785);function C(H,$){const p=(0,O.o2)($),z=D()({[`${H}-${$}`]:$&&p}),I={},B={};return $&&!p&&(I.background=$,B["--antd-arrow-background-color"]=$),{className:z,overlayStyle:I,arrowStyle:B}}var s=H=>{const{prefixCls:$,className:p,placement:z="top",title:I,color:B,overlayInnerStyle:P}=H,{getPrefixCls:i}=b.useContext(e.E_),a=i("tooltip",$),[_,F]=g(a,!0),te=C(a,B),ie=te.arrowStyle,ae=Object.assign(Object.assign({},P),te.overlayStyle),he=D()(F,a,`${a}-pure`,`${a}-placement-${z}`,p,te.className);return _(b.createElement("div",{className:he,style:ie},b.createElement("div",{className:`${a}-arrow`}),b.createElement(V.G,Object.assign({},H,{className:F,prefixCls:a,overlayInnerStyle:ae}),I)))},x=function(H,$){var p={};for(var z in H)Object.prototype.hasOwnProperty.call(H,z)&&$.indexOf(z)<0&&(p[z]=H[z]);if(H!=null&&typeof Object.getOwnPropertySymbols=="function")for(var I=0,z=Object.getOwnPropertySymbols(H);I<z.length;I++)$.indexOf(z[I])<0&&Object.prototype.propertyIsEnumerable.call(H,z[I])&&(p[z[I]]=H[z[I]]);return p};const T=(H,$)=>{const p={},z=Object.assign({},H);return $.forEach(I=>{H&&I in H&&(p[I]=H[I],delete z[I])}),{picked:p,omitted:z}};function J(H,$){const p=H.type;if((p.__ANT_BUTTON===!0||H.type==="button")&&H.props.disabled||p.__ANT_SWITCH===!0&&(H.props.disabled||H.props.loading)||p.__ANT_RADIO===!0&&H.props.disabled){const{picked:z,omitted:I}=T(H.props.style,["position","left","right","top","bottom","float","display","zIndex"]),B=Object.assign(Object.assign({display:"inline-block"},z),{cursor:"not-allowed",width:H.props.block?"100%":void 0}),P=Object.assign(Object.assign({},I),{pointerEvents:"none"}),i=(0,W.Tm)(H,{style:P,className:null});return b.createElement("span",{style:B,className:D()(H.props.className,`${$}-disabled-compatible-wrapper`)},i)}return H}const q=b.forwardRef((H,$)=>{var p,z;const{prefixCls:I,openClassName:B,getTooltipContainer:P,overlayClassName:i,color:a,overlayInnerStyle:_,children:F,afterOpenChange:te,afterVisibleChange:ie,destroyTooltipOnHide:ae,arrow:he=!0,title:we,overlay:Ke,builtinPlacements:Ie,arrowPointAtCenter:ke=!1,autoAdjustOverflow:Xe=!0}=H,Oe=!!he,[,Ce]=(0,v.Z)(),{getPopupContainer:le,getPrefixCls:se,direction:L}=b.useContext(e.E_),U=b.useRef(null),M=()=>{var Tt;(Tt=U.current)===null||Tt===void 0||Tt.forceAlign()};b.useImperativeHandle($,()=>({forceAlign:M,forcePopupAlign:()=>{M()}}));const[R,ee]=(0,Z.Z)(!1,{value:(p=H.open)!==null&&p!==void 0?p:H.visible,defaultValue:(z=H.defaultOpen)!==null&&z!==void 0?z:H.defaultVisible}),y=!we&&!Ke&&we!==0,d=Tt=>{var Je,$t;ee(y?!1:Tt),y||((Je=H.onOpenChange)===null||Je===void 0||Je.call(H,Tt),($t=H.onVisibleChange)===null||$t===void 0||$t.call(H,Tt))},f=b.useMemo(()=>{var Tt,Je;let $t=ke;return typeof he=="object"&&($t=(Je=(Tt=he.pointAtCenter)!==null&&Tt!==void 0?Tt:he.arrowPointAtCenter)!==null&&Je!==void 0?Je:ke),Ie||(0,u.Z)({arrowPointAtCenter:$t,autoAdjustOverflow:Xe,arrowWidth:Oe?Ce.sizePopupArrow:0,borderRadius:Ce.borderRadius,offset:Ce.marginXXS,visibleFirst:!0})},[ke,he,Ie,Ce]),X=b.useMemo(()=>we===0?we:Ke||we||"",[Ke,we]),j=b.createElement(h.BR,null,typeof X=="function"?X():X),{getPopupContainer:A,placement:Q="top",mouseEnterDelay:ce=.1,mouseLeaveDelay:re=.1,overlayStyle:oe,rootClassName:ve}=H,Ee=x(H,["getPopupContainer","placement","mouseEnterDelay","mouseLeaveDelay","overlayStyle","rootClassName"]),pe=se("tooltip",I),Ze=se(),De=H["data-popover-inject"];let Re=R;!("open"in H)&&!("visible"in H)&&y&&(Re=!1);const Qe=J((0,W.l$)(F)&&!(0,W.M2)(F)?F:b.createElement("span",null,F),pe),Ue=Qe.props,st=!Ue.className||typeof Ue.className=="string"?D()(Ue.className,B||`${pe}-open`):Ue.className,[tt,Dt]=g(pe,!De),Ct=C(pe,a),Mt=Ct.arrowStyle,Pt=Object.assign(Object.assign({},_),Ct.overlayStyle),rn=D()(i,{[`${pe}-rtl`]:L==="rtl"},Ct.className,ve,Dt);return tt(b.createElement(V.Z,Object.assign({},Ee,{showArrow:Oe,placement:Q,mouseEnterDelay:ce,mouseLeaveDelay:re,prefixCls:pe,overlayClassName:rn,overlayStyle:Object.assign(Object.assign({},Mt),oe),getTooltipContainer:A||P||le,ref:U,builtinPlacements:f,overlay:j,visible:Re,onVisibleChange:d,afterVisibleChange:te!=null?te:ie,overlayInnerStyle:Pt,arrowContent:b.createElement("span",{className:`${pe}-arrow-content`}),motion:{motionName:(0,K.m)(Ze,"zoom-big-fast",H.transitionName),motionDeadline:1e3},destroyTooltipOnHide:!!ae}),Re?(0,W.Tm)(Qe,{className:st}):Qe))});q._InternalPanelDoNotUseOrYouWillBeFired=s;var G=q},17574:function(We,fe,t){"use strict";t.d(fe,{default:function(){return a}});var b=t(23130),m=t(26407),D=t(52671),V=t(8657),Z=t(92413),K=t(59301),u={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"},W=u,e=t(7657),h=function(F,te){return K.createElement(e.Z,(0,Z.Z)({},F,{ref:te,icon:W}))},v=K.forwardRef(h),n=v,r=t(92310),o=t.n(r),l=t(35654),w=t(71430),k=t(36355),E=t(56082),g=t(62892),O=t(20648);const C=4;function c(_){const{dropPosition:F,dropLevelOffset:te,prefixCls:ie,indent:ae,direction:he="ltr"}=_,we=he==="ltr"?"left":"right",Ke=he==="ltr"?"right":"left",Ie={[we]:-te*ae+C,[Ke]:0};switch(F){case-1:Ie.top=-3;break;case 1:Ie.bottom=-3;break;default:Ie.bottom=-3,Ie[we]=ae+C;break}return K.createElement("div",{style:Ie,className:`${ie}-drop-indicator`})}var s=t(71997),T=K.forwardRef((_,F)=>{const{getPrefixCls:te,direction:ie,virtual:ae,tree:he}=K.useContext(k.E_),{prefixCls:we,className:Ke,showIcon:Ie=!1,showLine:ke,switcherIcon:Xe,blockNode:Oe=!1,children:Ce,checkable:le=!1,selectable:se=!0,draggable:L,motion:U,style:M}=_,R=te("tree",we),ee=te(),y=U!=null?U:Object.assign(Object.assign({},(0,g.Z)(ee)),{motionAppear:!1}),d=Object.assign(Object.assign({},_),{checkable:le,selectable:se,showIcon:Ie,motion:y,blockNode:Oe,showLine:!!ke,dropIndicatorRender:c}),[f,X]=(0,O.ZP)(R),j=K.useMemo(()=>{if(!L)return!1;let Q={};switch(typeof L){case"function":Q.nodeDraggable=L;break;case"object":Q=Object.assign({},L);break;default:break}return Q.icon!==!1&&(Q.icon=Q.icon||K.createElement(E.Z,null)),Q},[L]),A=Q=>K.createElement(s.Z,{prefixCls:R,switcherIcon:Xe,treeNodeProps:Q,showLine:ke});return f(K.createElement(b.Z,Object.assign({itemHeight:20,ref:F,virtual:ae},d,{style:Object.assign(Object.assign({},he==null?void 0:he.style),M),prefixCls:R,className:o()({[`${R}-icon-hide`]:!Ie,[`${R}-block-node`]:Oe,[`${R}-unselectable`]:!se,[`${R}-rtl`]:ie==="rtl"},he==null?void 0:he.className,Ke,X),direction:ie,checkable:le&&K.createElement("span",{className:`${R}-checkbox-inner`}),selectable:se,switcherIcon:A,draggable:j}),Ce))}),J;(function(_){_[_.None=0]="None",_[_.Start=1]="Start",_[_.End=2]="End"})(J||(J={}));function q(_,F){function te(ie){const{key:ae,children:he}=ie;F(ae,ie)!==!1&&q(he||[],F)}_.forEach(te)}function G(_){let{treeData:F,expandedKeys:te,startKey:ie,endKey:ae}=_;const he=[];let we=J.None;if(ie&&ie===ae)return[ie];if(!ie||!ae)return[];function Ke(Ie){return Ie===ie||Ie===ae}return q(F,Ie=>{if(we===J.End)return!1;if(Ke(Ie)){if(he.push(Ie),we===J.None)we=J.Start;else if(we===J.Start)return we=J.End,!1}else we===J.Start&&he.push(Ie);return te.includes(Ie)}),he}function H(_,F){const te=(0,m.Z)(F),ie=[];return q(_,(ae,he)=>{const we=te.indexOf(ae);return we!==-1&&(ie.push(he),te.splice(we,1)),!!te.length}),ie}var $=function(_,F){var te={};for(var ie in _)Object.prototype.hasOwnProperty.call(_,ie)&&F.indexOf(ie)<0&&(te[ie]=_[ie]);if(_!=null&&typeof Object.getOwnPropertySymbols=="function")for(var ae=0,ie=Object.getOwnPropertySymbols(_);ae<ie.length;ae++)F.indexOf(ie[ae])<0&&Object.prototype.propertyIsEnumerable.call(_,ie[ae])&&(te[ie[ae]]=_[ie[ae]]);return te};function p(_){const{isLeaf:F,expanded:te}=_;return F?K.createElement(D.Z,null):te?K.createElement(V.Z,null):K.createElement(n,null)}function z(_){let{treeData:F,children:te}=_;return F||(0,w.zn)(te)}const I=(_,F)=>{var{defaultExpandAll:te,defaultExpandParent:ie,defaultExpandedKeys:ae}=_,he=$(_,["defaultExpandAll","defaultExpandParent","defaultExpandedKeys"]);const we=K.useRef(),Ke=K.useRef(),Ie=()=>{const{keyEntities:j}=(0,w.I8)(z(he));let A;return te?A=Object.keys(j):ie?A=(0,l.r7)(he.expandedKeys||ae||[],j):A=he.expandedKeys||ae,A},[ke,Xe]=K.useState(he.selectedKeys||he.defaultSelectedKeys||[]),[Oe,Ce]=K.useState(()=>Ie());K.useEffect(()=>{"selectedKeys"in he&&Xe(he.selectedKeys)},[he.selectedKeys]),K.useEffect(()=>{"expandedKeys"in he&&Ce(he.expandedKeys)},[he.expandedKeys]);const le=(j,A)=>{var Q;return"expandedKeys"in he||Ce(j),(Q=he.onExpand)===null||Q===void 0?void 0:Q.call(he,j,A)},se=(j,A)=>{var Q;const{multiple:ce}=he,{node:re,nativeEvent:oe}=A,{key:ve=""}=re,Ee=z(he),pe=Object.assign(Object.assign({},A),{selected:!0}),Ze=(oe==null?void 0:oe.ctrlKey)||(oe==null?void 0:oe.metaKey),De=oe==null?void 0:oe.shiftKey;let Re;ce&&Ze?(Re=j,we.current=ve,Ke.current=Re,pe.selectedNodes=H(Ee,Re)):ce&&De?(Re=Array.from(new Set([].concat((0,m.Z)(Ke.current||[]),(0,m.Z)(G({treeData:Ee,expandedKeys:Oe,startKey:ve,endKey:we.current}))))),pe.selectedNodes=H(Ee,Re)):(Re=[ve],we.current=ve,Ke.current=Re,pe.selectedNodes=H(Ee,Re)),(Q=he.onSelect)===null||Q===void 0||Q.call(he,Re,pe),"selectedKeys"in he||Xe(Re)},{getPrefixCls:L,direction:U}=K.useContext(k.E_),{prefixCls:M,className:R,showIcon:ee=!0,expandAction:y="click"}=he,d=$(he,["prefixCls","className","showIcon","expandAction"]),f=L("tree",M),X=o()(`${f}-directory`,{[`${f}-directory-rtl`]:U==="rtl"},R);return K.createElement(T,Object.assign({icon:p,ref:F,blockNode:!0},d,{showIcon:ee,expandAction:y,prefixCls:f,className:X,expandedKeys:Oe,selectedKeys:ke,onSelect:se,onExpand:le}))};var P=K.forwardRef(I);const i=T;i.DirectoryTree=P,i.TreeNode=b.O;var a=i},20648:function(We,fe,t){"use strict";t.d(fe,{TM:function(){return r},Yk:function(){return n}});var b=t(93083),m=t(98447),D=t(17313),V=t(8378),Z=t(37613),K=t(83116);const u=new b.Keyframes("ant-tree-node-fx-do-not-use",{"0%":{opacity:0},"100%":{opacity:1}}),W=(o,l)=>({[`.${o}-switcher-icon`]:{display:"inline-block",fontSize:10,verticalAlign:"baseline",svg:{transition:`transform ${l.motionDurationSlow}`}}}),e=(o,l)=>({[`.${o}-drop-indicator`]:{position:"absolute",zIndex:1,height:2,backgroundColor:l.colorPrimary,borderRadius:1,pointerEvents:"none","&:after":{position:"absolute",top:-3,insetInlineStart:-6,width:8,height:8,backgroundColor:"transparent",border:`${l.lineWidthBold}px solid ${l.colorPrimary}`,borderRadius:"50%",content:'""'}}}),h=(o,l)=>{const{treeCls:w,treeNodeCls:k,treeNodePadding:E,titleHeight:g,nodeSelectedBg:O,nodeHoverBg:C}=l,c=l.paddingXS;return{[w]:Object.assign(Object.assign({},(0,D.Wf)(l)),{background:l.colorBgContainer,borderRadius:l.borderRadius,transition:`background-color ${l.motionDurationSlow}`,[`&${w}-rtl`]:{[`${w}-switcher`]:{"&_close":{[`${w}-switcher-icon`]:{svg:{transform:"rotate(90deg)"}}}}},[`&-focused:not(:hover):not(${w}-active-focused)`]:Object.assign({},(0,D.oN)(l)),[`${w}-list-holder-inner`]:{alignItems:"flex-start"},[`&${w}-block-node`]:{[`${w}-list-holder-inner`]:{alignItems:"stretch",[`${w}-node-content-wrapper`]:{flex:"auto"},[`${k}.dragging`]:{position:"relative","&:after":{position:"absolute",top:0,insetInlineEnd:0,bottom:E,insetInlineStart:0,border:`1px solid ${l.colorPrimary}`,opacity:0,animationName:u,animationDuration:l.motionDurationSlow,animationPlayState:"running",animationFillMode:"forwards",content:'""',pointerEvents:"none"}}}},[`${k}`]:{display:"flex",alignItems:"flex-start",padding:`0 0 ${E}px 0`,outline:"none","&-rtl":{direction:"rtl"},"&-disabled":{[`${w}-node-content-wrapper`]:{color:l.colorTextDisabled,cursor:"not-allowed","&:hover":{background:"transparent"}}},[`&-active ${w}-node-content-wrapper`]:Object.assign({},(0,D.oN)(l)),[`&:not(${k}-disabled).filter-node ${w}-title`]:{color:"inherit",fontWeight:500},"&-draggable":{[`${w}-draggable-icon`]:{flexShrink:0,width:g,lineHeight:`${g}px`,textAlign:"center",visibility:"visible",opacity:.2,transition:`opacity ${l.motionDurationSlow}`,[`${k}:hover &`]:{opacity:.45}},[`&${k}-disabled`]:{[`${w}-draggable-icon`]:{visibility:"hidden"}}}},[`${w}-indent`]:{alignSelf:"stretch",whiteSpace:"nowrap",userSelect:"none","&-unit":{display:"inline-block",width:g}},[`${w}-draggable-icon`]:{visibility:"hidden"},[`${w}-switcher`]:Object.assign(Object.assign({},W(o,l)),{position:"relative",flex:"none",alignSelf:"stretch",width:g,margin:0,lineHeight:`${g}px`,textAlign:"center",cursor:"pointer",userSelect:"none","&-noop":{cursor:"default"},"&_close":{[`${w}-switcher-icon`]:{svg:{transform:"rotate(-90deg)"}}},"&-loading-icon":{color:l.colorPrimary},"&-leaf-line":{position:"relative",zIndex:1,display:"inline-block",width:"100%",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:g/2,bottom:-E,marginInlineStart:-1,borderInlineEnd:`1px solid ${l.colorBorder}`,content:'""'},"&:after":{position:"absolute",width:g/2*.8,height:g/2,borderBottom:`1px solid ${l.colorBorder}`,content:'""'}}}),[`${w}-checkbox`]:{top:"initial",marginInlineEnd:c},[`${w}-node-content-wrapper, ${w}-checkbox + span`]:{position:"relative",zIndex:"auto",minHeight:g,margin:0,padding:`0 ${l.paddingXS/2}px`,color:"inherit",lineHeight:`${g}px`,background:"transparent",borderRadius:l.borderRadius,cursor:"pointer",transition:`all ${l.motionDurationMid}, border 0s, line-height 0s, box-shadow 0s`,"&:hover":{backgroundColor:C},[`&${w}-node-selected`]:{backgroundColor:O},[`${w}-iconEle`]:{display:"inline-block",width:g,height:g,lineHeight:`${g}px`,textAlign:"center",verticalAlign:"top","&:empty":{display:"none"}}},[`${w}-unselectable ${w}-node-content-wrapper:hover`]:{backgroundColor:"transparent"},[`${w}-node-content-wrapper`]:Object.assign({lineHeight:`${g}px`,userSelect:"none"},e(o,l)),[`${k}.drop-container`]:{"> [draggable]":{boxShadow:`0 0 0 2px ${l.colorPrimary}`}},"&-show-line":{[`${w}-indent`]:{"&-unit":{position:"relative",height:"100%","&:before":{position:"absolute",top:0,insetInlineEnd:g/2,bottom:-E,borderInlineEnd:`1px solid ${l.colorBorder}`,content:'""'},"&-end":{"&:before":{display:"none"}}}},[`${w}-switcher`]:{background:"transparent","&-line-icon":{verticalAlign:"-0.15em"}}},[`${k}-leaf-last`]:{[`${w}-switcher`]:{"&-leaf-line":{"&:before":{top:"auto !important",bottom:"auto !important",height:`${g/2}px !important`}}}}})}},v=o=>{const{treeCls:l,treeNodeCls:w,treeNodePadding:k,directoryNodeSelectedBg:E,directoryNodeSelectedColor:g}=o;return{[`${l}${l}-directory`]:{[w]:{position:"relative","&:before":{position:"absolute",top:0,insetInlineEnd:0,bottom:k,insetInlineStart:0,transition:`background-color ${o.motionDurationMid}`,content:'""',pointerEvents:"none"},"&:hover":{"&:before":{background:o.controlItemBgHover}},"> *":{zIndex:1},[`${l}-switcher`]:{transition:`color ${o.motionDurationMid}`},[`${l}-node-content-wrapper`]:{borderRadius:0,userSelect:"none","&:hover":{background:"transparent"},[`&${l}-node-selected`]:{color:g,background:"transparent"}},"&-selected":{"\n &:hover::before,\n &::before\n ":{background:E},[`${l}-switcher`]:{color:g},[`${l}-node-content-wrapper`]:{color:g,background:"transparent"}}}}}},n=(o,l)=>{const w=`.${o}`,k=`${w}-treenode`,E=l.paddingXS/2,g=(0,Z.TS)(l,{treeCls:w,treeNodeCls:k,treeNodePadding:E});return[h(o,g),v(g)]},r=o=>{const{controlHeightSM:l}=o;return{titleHeight:l,nodeHoverBg:o.controlItemBgHover,nodeSelectedBg:o.controlItemBgActive}};fe.ZP=(0,K.Z)("Tree",(o,l)=>{let{prefixCls:w}=l;return[{[o.componentCls]:(0,m.C2)(`${w}-checkbox`,o)},n(w,o),(0,V.Z)(o)]},o=>{const{colorTextLightSolid:l,colorPrimary:w}=o;return Object.assign(Object.assign({},r(o)),{directoryNodeSelectedColor:l,directoryNodeSelectedBg:w})})},71997:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return k}});var b=t(92413),m=t(59301),D={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"},V=D,Z=t(7657),K=function(g,O){return m.createElement(Z.Z,(0,b.Z)({},g,{ref:O,icon:V}))},u=m.forwardRef(K),W=u,e=t(52671),h=t(58617),v=t(15075),n=t(43531),r=t(92310),o=t.n(r),l=t(92343),k=E=>{const{prefixCls:g,switcherIcon:O,treeNodeProps:C,showLine:c}=E,{isLeaf:s,expanded:x,loading:T}=C;if(T)return m.createElement(h.Z,{className:`${g}-switcher-loading-icon`});let J;if(c&&typeof c=="object"&&(J=c.showLeafIcon),s){if(!c)return null;if(typeof J!="boolean"&&J){const H=typeof J=="function"?J(C):J,$=`${g}-switcher-line-custom-icon`;return(0,l.l$)(H)?(0,l.Tm)(H,{className:o()(H.props.className||"",$)}):H}return J?m.createElement(e.Z,{className:`${g}-switcher-line-icon`}):m.createElement("span",{className:`${g}-switcher-leaf-line`})}const q=`${g}-switcher-icon`,G=typeof O=="function"?O(C):O;return(0,l.l$)(G)?(0,l.Tm)(G,{className:o()(G.props.className||"",q)}):G!==void 0?G:c?x?m.createElement(v.Z,{className:`${g}-switcher-line-icon`}):m.createElement(n.Z,{className:`${g}-switcher-line-icon`}):m.createElement(W,{className:q})}},25769:function(We,fe,t){"use strict";var b=t(98040),m={"text/plain":"Text","text/html":"Url",default:"Text"},D="Copy to clipboard: #{key}, Enter";function V(K){var u=(/mac os x/i.test(navigator.userAgent)?"\u2318":"Ctrl")+"+C";return K.replace(/#{\s*key\s*}/g,u)}function Z(K,u){var W,e,h,v,n,r,o=!1;u||(u={}),W=u.debug||!1;try{h=b(),v=document.createRange(),n=document.getSelection(),r=document.createElement("span"),r.textContent=K,r.ariaHidden="true",r.style.all="unset",r.style.position="fixed",r.style.top=0,r.style.clip="rect(0, 0, 0, 0)",r.style.whiteSpace="pre",r.style.webkitUserSelect="text",r.style.MozUserSelect="text",r.style.msUserSelect="text",r.style.userSelect="text",r.addEventListener("copy",function(w){if(w.stopPropagation(),u.format)if(w.preventDefault(),typeof w.clipboardData=="undefined"){W&&console.warn("unable to use e.clipboardData"),W&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var k=m[u.format]||m.default;window.clipboardData.setData(k,K)}else w.clipboardData.clearData(),w.clipboardData.setData(u.format,K);u.onCopy&&(w.preventDefault(),u.onCopy(w.clipboardData))}),document.body.appendChild(r),v.selectNodeContents(r),n.addRange(v);var l=document.execCommand("copy");if(!l)throw new Error("copy command was unsuccessful");o=!0}catch(w){W&&console.error("unable to copy using execCommand: ",w),W&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(u.format||"text",K),u.onCopy&&u.onCopy(window.clipboardData),o=!0}catch(k){W&&console.error("unable to copy using clipboardData: ",k),W&&console.error("falling back to prompt"),e=V("message"in u?u.message:D),window.prompt(e,K)}}finally{n&&(typeof n.removeRange=="function"?n.removeRange(v):n.removeAllRanges()),r&&document.body.removeChild(r),h()}return o}We.exports=Z},7947:function(We,fe,t){"use strict";var b,m;function D(V,Z,K){var u=function(W,e){return V.js_beautify(W,e)};return u.js=V.js_beautify,u.css=Z.css_beautify,u.html=K.html_beautify,u.js_beautify=V.js_beautify,u.css_beautify=Z.css_beautify,u.html_beautify=K.html_beautify,u}b=[t(55139),t(69374),t(75748)],m=function(V,Z,K){return D(V,Z,K)}.apply(fe,b),m!==void 0&&(We.exports=m)},69374:function(We,fe){var t,b;(function(){var m;(function(){"use strict";var V=[,,function(W){function e(n){this.__parent=n,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var n=new e(this.__parent);return n.set_indent(this.__indent_count,this.__alignment_count),n},e.prototype.item=function(n){return n<0?this.__items[this.__items.length+n]:this.__items[n]},e.prototype.has_match=function(n){for(var r=this.__items.length-1;r>=0;r--)if(this.__items[r].match(n))return!0;return!1},e.prototype.set_indent=function(n,r){this.is_empty()&&(this.__indent_count=n||0,this.__alignment_count=r||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var n=this.__parent.current_line;return n.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),n.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),n.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,n.__items[0]===" "&&(n.__items.splice(0,1),n.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(n){this.__items.push(n);var r=n.lastIndexOf(`
|
|
`);r!==-1?this.__character_count=n.length-r:this.__character_count+=n.length},e.prototype.pop=function(){var n=null;return this.is_empty()||(n=this.__items.pop(),this.__character_count-=n.length),n},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var n="";return this.is_empty()?this.__parent.indent_empty_lines&&(n=this.__parent.get_indent_string(this.__indent_count)):(n=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),n+=this.__items.join("")),n};function h(n,r){this.__cache=[""],this.__indent_size=n.indent_size,this.__indent_string=n.indent_char,n.indent_with_tabs||(this.__indent_string=new Array(n.indent_size+1).join(n.indent_char)),r=r||"",n.indent_level>0&&(r=new Array(n.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}h.prototype.get_indent_size=function(n,r){var o=this.__base_string_length;return r=r||0,n<0&&(o=0),o+=n*this.__indent_size,o+=r,o},h.prototype.get_indent_string=function(n,r){var o=this.__base_string;return r=r||0,n<0&&(n=0,o=""),r+=n*this.__indent_size,this.__ensure_cache(r),o+=this.__cache[r],o},h.prototype.__ensure_cache=function(n){for(;n>=this.__cache.length;)this.__add_column()},h.prototype.__add_column=function(){var n=this.__cache.length,r=0,o="";this.__indent_size&&n>=this.__indent_size&&(r=Math.floor(n/this.__indent_size),n-=r*this.__indent_size,o=new Array(r+1).join(this.__indent_string)),n&&(o+=new Array(n+1).join(" ")),this.__cache.push(o)};function v(n,r){this.__indent_cache=new h(n,r),this.raw=!1,this._end_with_newline=n.end_with_newline,this.indent_size=n.indent_size,this.wrap_line_length=n.wrap_line_length,this.indent_empty_lines=n.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}v.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},v.prototype.get_line_number=function(){return this.__lines.length},v.prototype.get_indent_string=function(n,r){return this.__indent_cache.get_indent_string(n,r)},v.prototype.get_indent_size=function(n,r){return this.__indent_cache.get_indent_size(n,r)},v.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},v.prototype.add_new_line=function(n){return this.is_empty()||!n&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},v.prototype.get_code=function(n){this.trim(!0);var r=this.current_line.pop();r&&(r[r.length-1]===`
|
|
`&&(r=r.replace(/\n+$/g,"")),this.current_line.push(r)),this._end_with_newline&&this.__add_outputline();var o=this.__lines.join(`
|
|
`);return n!==`
|
|
`&&(o=o.replace(/[\n]/g,n)),o},v.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},v.prototype.set_indent=function(n,r){return n=n||0,r=r||0,this.next_line.set_indent(n,r),this.__lines.length>1?(this.current_line.set_indent(n,r),!0):(this.current_line.set_indent(),!1)},v.prototype.add_raw_token=function(n){for(var r=0;r<n.newlines;r++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(n.whitespace_before),this.current_line.push(n.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},v.prototype.add_token=function(n){this.__add_space_before_token(),this.current_line.push(n),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},v.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},v.prototype.remove_indent=function(n){for(var r=this.__lines.length;n<r;)this.__lines[n]._remove_indent(),n++;this.current_line._remove_wrap_indent()},v.prototype.trim=function(n){for(n=n===void 0?!1:n,this.current_line.trim();n&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},v.prototype.just_added_newline=function(){return this.current_line.is_empty()},v.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},v.prototype.ensure_empty_line_above=function(n,r){for(var o=this.__lines.length-2;o>=0;){var l=this.__lines[o];if(l.is_empty())break;if(l.item(0).indexOf(n)!==0&&l.item(-1)!==r){this.__lines.splice(o+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}o--}},W.exports.Output=v},,,,function(W){function e(n,r){this.raw_options=h(n,r),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(n,r){var o=this.raw_options[n],l=r||[];return typeof o=="object"?o!==null&&typeof o.concat=="function"&&(l=o.concat()):typeof o=="string"&&(l=o.split(/[^a-zA-Z0-9_\/\-]+/)),l},e.prototype._get_boolean=function(n,r){var o=this.raw_options[n],l=o===void 0?!!r:!!o;return l},e.prototype._get_characters=function(n,r){var o=this.raw_options[n],l=r||"";return typeof o=="string"&&(l=o.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),l},e.prototype._get_number=function(n,r){var o=this.raw_options[n];r=parseInt(r,10),isNaN(r)&&(r=0);var l=parseInt(o,10);return isNaN(l)&&(l=r),l},e.prototype._get_selection=function(n,r,o){var l=this._get_selection_list(n,r,o);if(l.length!==1)throw new Error("Invalid Option Value: The option '"+n+`' can only be one of the following values:
|
|
`+r+`
|
|
You passed in: '`+this.raw_options[n]+"'");return l[0]},e.prototype._get_selection_list=function(n,r,o){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(o=o||[r[0]],!this._is_valid_selection(o,r))throw new Error("Invalid Default Value!");var l=this._get_array(n,o);if(!this._is_valid_selection(l,r))throw new Error("Invalid Option Value: The option '"+n+`' can contain only the following values:
|
|
`+r+`
|
|
You passed in: '`+this.raw_options[n]+"'");return l},e.prototype._is_valid_selection=function(n,r){return n.length&&r.length&&!n.some(function(o){return r.indexOf(o)===-1})};function h(n,r){var o={};n=v(n);var l;for(l in n)l!==r&&(o[l]=n[l]);if(r&&n[r])for(l in n[r])o[l]=n[r][l];return o}function v(n){var r={},o;for(o in n){var l=o.replace(/-/g,"_");r[l]=n[o]}return r}W.exports.Options=e,W.exports.normalizeOpts=v,W.exports.mergeOpts=h},,function(W){var e=RegExp.prototype.hasOwnProperty("sticky");function h(v){this.__input=v||"",this.__input_length=this.__input.length,this.__position=0}h.prototype.restart=function(){this.__position=0},h.prototype.back=function(){this.__position>0&&(this.__position-=1)},h.prototype.hasNext=function(){return this.__position<this.__input_length},h.prototype.next=function(){var v=null;return this.hasNext()&&(v=this.__input.charAt(this.__position),this.__position+=1),v},h.prototype.peek=function(v){var n=null;return v=v||0,v+=this.__position,v>=0&&v<this.__input_length&&(n=this.__input.charAt(v)),n},h.prototype.__match=function(v,n){v.lastIndex=n;var r=v.exec(this.__input);return r&&!(e&&v.sticky)&&r.index!==n&&(r=null),r},h.prototype.test=function(v,n){return n=n||0,n+=this.__position,n>=0&&n<this.__input_length?!!this.__match(v,n):!1},h.prototype.testChar=function(v,n){var r=this.peek(n);return v.lastIndex=0,r!==null&&v.test(r)},h.prototype.match=function(v){var n=this.__match(v,this.__position);return n?this.__position+=n[0].length:n=null,n},h.prototype.read=function(v,n,r){var o="",l;return v&&(l=this.match(v),l&&(o+=l[0])),n&&(l||!v)&&(o+=this.readUntil(n,r)),o},h.prototype.readUntil=function(v,n){var r="",o=this.__position;v.lastIndex=this.__position;var l=v.exec(this.__input);return l?(o=l.index,n&&(o+=l[0].length)):o=this.__input_length,r=this.__input.substring(this.__position,o),this.__position=o,r},h.prototype.readUntilAfter=function(v){return this.readUntil(v,!0)},h.prototype.get_regexp=function(v,n){var r=null,o="g";return n&&e&&(o="y"),typeof v=="string"&&v!==""?r=new RegExp(v,o):v&&(r=new RegExp(v.source,o)),r},h.prototype.get_literal_regexp=function(v){return RegExp(v.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},h.prototype.peekUntilAfter=function(v){var n=this.__position,r=this.readUntilAfter(v);return this.__position=n,r},h.prototype.lookBack=function(v){var n=this.__position-1;return n>=v.length&&this.__input.substring(n-v.length,n).toLowerCase()===v},W.exports.InputScanner=h},,,,,function(W){function e(h,v){h=typeof h=="string"?h:h.source,v=typeof v=="string"?v:v.source,this.__directives_block_pattern=new RegExp(h+/ beautify( \w+[:]\w+)+ /.source+v,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(h+/\sbeautify\signore:end\s/.source+v,"g")}e.prototype.get_directives=function(h){if(!h.match(this.__directives_block_pattern))return null;var v={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(h);n;)v[n[1]]=n[2],n=this.__directive_pattern.exec(h);return v},e.prototype.readIgnored=function(h){return h.readUntilAfter(this.__directives_end_ignore_pattern)},W.exports.Directives=e},,function(W,e,h){var v=h(16).Beautifier,n=h(17).Options;function r(o,l){var w=new v(o,l);return w.beautify()}W.exports=r,W.exports.defaultOptions=function(){return new n}},function(W,e,h){var v=h(17).Options,n=h(2).Output,r=h(8).InputScanner,o=h(13).Directives,l=new o(/\/\*/,/\*\//),w=/\r\n|[\r\n]/,k=/\r\n|[\r\n]/g,E=/\s/,g=/(?:\s|\n)+/g,O=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,C=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function c(s,x){this._source_text=s||"",this._options=new v(x),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}c.prototype.eatString=function(s){var x="";for(this._ch=this._input.next();this._ch;){if(x+=this._ch,this._ch==="\\")x+=this._input.next();else if(s.indexOf(this._ch)!==-1||this._ch===`
|
|
`)break;this._ch=this._input.next()}return x},c.prototype.eatWhitespace=function(s){for(var x=E.test(this._input.peek()),T=0;E.test(this._input.peek());)this._ch=this._input.next(),s&&this._ch===`
|
|
`&&(T===0||T<this._options.max_preserve_newlines)&&(T++,this._output.add_new_line(!0));return x},c.prototype.foundNestedPseudoClass=function(){for(var s=0,x=1,T=this._input.peek(x);T;){if(T==="{")return!0;if(T==="(")s+=1;else if(T===")"){if(s===0)return!1;s-=1}else if(T===";"||T==="}")return!1;x++,T=this._input.peek(x)}return!1},c.prototype.print_string=function(s){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(s)},c.prototype.preserveSingleSpace=function(s){s&&(this._output.space_before_token=!0)},c.prototype.indent=function(){this._indentLevel++},c.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},c.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var s=this._source_text,x=this._options.eol;x==="auto"&&(x=`
|
|
`,s&&w.test(s||"")&&(x=s.match(w)[0])),s=s.replace(k,`
|
|
`);var T=s.match(/^[\t ]*/)[0];this._output=new n(this._options,T),this._input=new r(s),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var J=0,q=!1,G=!1,H=!1,$=!1,p=!1,z=this._ch,I=!1,B,P,i;B=this._input.read(g),P=B!=="",i=z,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),z=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var a=this._input.read(O),_=l.get_directives(a);_&&_.ignore==="start"&&(a+=l.readIgnored(this._input)),this.print_string(a),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(C)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(P),this.print_string(this._ch);var F=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);F.match(/[ :]$/)&&(F=this.eatString(": ").replace(/\s+$/,""),this.print_string(F),this._output.space_before_token=!0),J===0&&F.indexOf(":")!==-1&&(G=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(P),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var te=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);te.match(/[ :]$/)&&(te=this.eatString(": ").replace(/\s+$/,""),this.print_string(te),this._output.space_before_token=!0),J===0&&te.indexOf(":")!==-1?(G=!0,this.indent()):te in this.NESTED_AT_RULE?(this._nestedLevel+=1,te in this.CONDITIONAL_GROUP_RULE&&(H=!0)):J===0&&!G&&($=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(P),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")G&&(G=!1,this.outdent()),$=!1,H?(H=!1,q=this._indentLevel>=this._nestedLevel):q=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&q&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(i==="("?this._output.space_before_token=!1:i!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),i==="{"&&this._output.trim(!0),G&&(this.outdent(),G=!1),this.print_string(this._ch),q=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var ie=0;ie<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;ie++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[ie])){I=!0;break}(q||H)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!$&&J===0?(this.print_string(":"),G||(G=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var ae=i==='"'||i==="'";this.preserveSingleSpace(ae||P),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")I=!1,J===0?(G&&(this.outdent(),G=!1),$=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),J++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),J&&(J--,this.outdent()));else{var he=!1;this._input.lookBack("with")&&(he=!0),this.preserveSingleSpace(P||he),this.print_string(this._ch),G&&i==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),p=!0):(this.eatWhitespace(),J++,this.indent())}else if(this._ch===")")J&&(J--,this.outdent()),p&&this._input.peek()===";"&&this._options.selector_separator_newline&&(p=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!G||p)&&J===0&&!$?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!G&&J===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&E.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(P),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),E.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var we=i==='"'||i==="'";this.preserveSingleSpace(we||P),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
`&&I&&this._output.add_new_line()}var Ke=this._output.get_code(x);return Ke},W.exports.Beautifier=c},function(W,e,h){var v=h(6).Options;function n(r){v.call(this,r,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var o=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||o;var l=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var w=0;w<l.length;w++)l[w]!=="expand"?this.brace_style="collapse":this.brace_style=l[w]}n.prototype=new v,W.exports.Options=n}],Z={};function K(W){var e=Z[W];if(e!==void 0)return e.exports;var h=Z[W]={exports:{}};return V[W](h,h.exports,K),h.exports}var u=K(15);m=u})();var D=m;t=[],b=function(){return{css_beautify:D}}.apply(fe,t),b!==void 0&&(We.exports=b)})()},75748:function(We,fe,t){var b,m;(function(){var D;(function(){"use strict";var u=[,,function(v){function n(l){this.__parent=l,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}n.prototype.clone_empty=function(){var l=new n(this.__parent);return l.set_indent(this.__indent_count,this.__alignment_count),l},n.prototype.item=function(l){return l<0?this.__items[this.__items.length+l]:this.__items[l]},n.prototype.has_match=function(l){for(var w=this.__items.length-1;w>=0;w--)if(this.__items[w].match(l))return!0;return!1},n.prototype.set_indent=function(l,w){this.is_empty()&&(this.__indent_count=l||0,this.__alignment_count=w||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},n.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},n.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},n.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var l=this.__parent.current_line;return l.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),l.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),l.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,l.__items[0]===" "&&(l.__items.splice(0,1),l.__character_count-=1),!0}return!1},n.prototype.is_empty=function(){return this.__items.length===0},n.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},n.prototype.push=function(l){this.__items.push(l);var w=l.lastIndexOf(`
|
|
`);w!==-1?this.__character_count=l.length-w:this.__character_count+=l.length},n.prototype.pop=function(){var l=null;return this.is_empty()||(l=this.__items.pop(),this.__character_count-=l.length),l},n.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},n.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},n.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},n.prototype.toString=function(){var l="";return this.is_empty()?this.__parent.indent_empty_lines&&(l=this.__parent.get_indent_string(this.__indent_count)):(l=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),l+=this.__items.join("")),l};function r(l,w){this.__cache=[""],this.__indent_size=l.indent_size,this.__indent_string=l.indent_char,l.indent_with_tabs||(this.__indent_string=new Array(l.indent_size+1).join(l.indent_char)),w=w||"",l.indent_level>0&&(w=new Array(l.indent_level+1).join(this.__indent_string)),this.__base_string=w,this.__base_string_length=w.length}r.prototype.get_indent_size=function(l,w){var k=this.__base_string_length;return w=w||0,l<0&&(k=0),k+=l*this.__indent_size,k+=w,k},r.prototype.get_indent_string=function(l,w){var k=this.__base_string;return w=w||0,l<0&&(l=0,k=""),w+=l*this.__indent_size,this.__ensure_cache(w),k+=this.__cache[w],k},r.prototype.__ensure_cache=function(l){for(;l>=this.__cache.length;)this.__add_column()},r.prototype.__add_column=function(){var l=this.__cache.length,w=0,k="";this.__indent_size&&l>=this.__indent_size&&(w=Math.floor(l/this.__indent_size),l-=w*this.__indent_size,k=new Array(w+1).join(this.__indent_string)),l&&(k+=new Array(l+1).join(" ")),this.__cache.push(k)};function o(l,w){this.__indent_cache=new r(l,w),this.raw=!1,this._end_with_newline=l.end_with_newline,this.indent_size=l.indent_size,this.wrap_line_length=l.wrap_line_length,this.indent_empty_lines=l.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new n(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}o.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},o.prototype.get_line_number=function(){return this.__lines.length},o.prototype.get_indent_string=function(l,w){return this.__indent_cache.get_indent_string(l,w)},o.prototype.get_indent_size=function(l,w){return this.__indent_cache.get_indent_size(l,w)},o.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},o.prototype.add_new_line=function(l){return this.is_empty()||!l&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},o.prototype.get_code=function(l){this.trim(!0);var w=this.current_line.pop();w&&(w[w.length-1]===`
|
|
`&&(w=w.replace(/\n+$/g,"")),this.current_line.push(w)),this._end_with_newline&&this.__add_outputline();var k=this.__lines.join(`
|
|
`);return l!==`
|
|
`&&(k=k.replace(/[\n]/g,l)),k},o.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},o.prototype.set_indent=function(l,w){return l=l||0,w=w||0,this.next_line.set_indent(l,w),this.__lines.length>1?(this.current_line.set_indent(l,w),!0):(this.current_line.set_indent(),!1)},o.prototype.add_raw_token=function(l){for(var w=0;w<l.newlines;w++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(l.whitespace_before),this.current_line.push(l.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},o.prototype.add_token=function(l){this.__add_space_before_token(),this.current_line.push(l),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},o.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},o.prototype.remove_indent=function(l){for(var w=this.__lines.length;l<w;)this.__lines[l]._remove_indent(),l++;this.current_line._remove_wrap_indent()},o.prototype.trim=function(l){for(l=l===void 0?!1:l,this.current_line.trim();l&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},o.prototype.just_added_newline=function(){return this.current_line.is_empty()},o.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},o.prototype.ensure_empty_line_above=function(l,w){for(var k=this.__lines.length-2;k>=0;){var E=this.__lines[k];if(E.is_empty())break;if(E.item(0).indexOf(l)!==0&&E.item(-1)!==w){this.__lines.splice(k+1,0,new n(this)),this.previous_line=this.__lines[this.__lines.length-2];break}k--}},v.exports.Output=o},function(v){function n(r,o,l,w){this.type=r,this.text=o,this.comments_before=null,this.newlines=l||0,this.whitespace_before=w||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}v.exports.Token=n},,,function(v){function n(l,w){this.raw_options=r(l,w),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}n.prototype._get_array=function(l,w){var k=this.raw_options[l],E=w||[];return typeof k=="object"?k!==null&&typeof k.concat=="function"&&(E=k.concat()):typeof k=="string"&&(E=k.split(/[^a-zA-Z0-9_\/\-]+/)),E},n.prototype._get_boolean=function(l,w){var k=this.raw_options[l],E=k===void 0?!!w:!!k;return E},n.prototype._get_characters=function(l,w){var k=this.raw_options[l],E=w||"";return typeof k=="string"&&(E=k.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),E},n.prototype._get_number=function(l,w){var k=this.raw_options[l];w=parseInt(w,10),isNaN(w)&&(w=0);var E=parseInt(k,10);return isNaN(E)&&(E=w),E},n.prototype._get_selection=function(l,w,k){var E=this._get_selection_list(l,w,k);if(E.length!==1)throw new Error("Invalid Option Value: The option '"+l+`' can only be one of the following values:
|
|
`+w+`
|
|
You passed in: '`+this.raw_options[l]+"'");return E[0]},n.prototype._get_selection_list=function(l,w,k){if(!w||w.length===0)throw new Error("Selection list cannot be empty.");if(k=k||[w[0]],!this._is_valid_selection(k,w))throw new Error("Invalid Default Value!");var E=this._get_array(l,k);if(!this._is_valid_selection(E,w))throw new Error("Invalid Option Value: The option '"+l+`' can contain only the following values:
|
|
`+w+`
|
|
You passed in: '`+this.raw_options[l]+"'");return E},n.prototype._is_valid_selection=function(l,w){return l.length&&w.length&&!l.some(function(k){return w.indexOf(k)===-1})};function r(l,w){var k={};l=o(l);var E;for(E in l)E!==w&&(k[E]=l[E]);if(w&&l[w])for(E in l[w])k[E]=l[w][E];return k}function o(l){var w={},k;for(k in l){var E=k.replace(/-/g,"_");w[E]=l[k]}return w}v.exports.Options=n,v.exports.normalizeOpts=o,v.exports.mergeOpts=r},,function(v){var n=RegExp.prototype.hasOwnProperty("sticky");function r(o){this.__input=o||"",this.__input_length=this.__input.length,this.__position=0}r.prototype.restart=function(){this.__position=0},r.prototype.back=function(){this.__position>0&&(this.__position-=1)},r.prototype.hasNext=function(){return this.__position<this.__input_length},r.prototype.next=function(){var o=null;return this.hasNext()&&(o=this.__input.charAt(this.__position),this.__position+=1),o},r.prototype.peek=function(o){var l=null;return o=o||0,o+=this.__position,o>=0&&o<this.__input_length&&(l=this.__input.charAt(o)),l},r.prototype.__match=function(o,l){o.lastIndex=l;var w=o.exec(this.__input);return w&&!(n&&o.sticky)&&w.index!==l&&(w=null),w},r.prototype.test=function(o,l){return l=l||0,l+=this.__position,l>=0&&l<this.__input_length?!!this.__match(o,l):!1},r.prototype.testChar=function(o,l){var w=this.peek(l);return o.lastIndex=0,w!==null&&o.test(w)},r.prototype.match=function(o){var l=this.__match(o,this.__position);return l?this.__position+=l[0].length:l=null,l},r.prototype.read=function(o,l,w){var k="",E;return o&&(E=this.match(o),E&&(k+=E[0])),l&&(E||!o)&&(k+=this.readUntil(l,w)),k},r.prototype.readUntil=function(o,l){var w="",k=this.__position;o.lastIndex=this.__position;var E=o.exec(this.__input);return E?(k=E.index,l&&(k+=E[0].length)):k=this.__input_length,w=this.__input.substring(this.__position,k),this.__position=k,w},r.prototype.readUntilAfter=function(o){return this.readUntil(o,!0)},r.prototype.get_regexp=function(o,l){var w=null,k="g";return l&&n&&(k="y"),typeof o=="string"&&o!==""?w=new RegExp(o,k):o&&(w=new RegExp(o.source,k)),w},r.prototype.get_literal_regexp=function(o){return RegExp(o.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},r.prototype.peekUntilAfter=function(o){var l=this.__position,w=this.readUntilAfter(o);return this.__position=l,w},r.prototype.lookBack=function(o){var l=this.__position-1;return l>=o.length&&this.__input.substring(l-o.length,l).toLowerCase()===o},v.exports.InputScanner=r},function(v,n,r){var o=r(8).InputScanner,l=r(3).Token,w=r(10).TokenStream,k=r(11).WhitespacePattern,E={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},g=function(O,C){this._input=new o(O),this._options=C||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new k(this._input)};g.prototype.tokenize=function(){this._input.restart(),this.__tokens=new w,this._reset();for(var O,C=new l(E.START,""),c=null,s=[],x=new w;C.type!==E.EOF;){for(O=this._get_next_token(C,c);this._is_comment(O);)x.add(O),O=this._get_next_token(C,c);x.isEmpty()||(O.comments_before=x,x=new w),O.parent=c,this._is_opening(O)?(s.push(c),c=O):c&&this._is_closing(O,c)&&(O.opened=c,c.closed=O,c=s.pop(),O.parent=c),O.previous=C,C.next=O,this.__tokens.add(O),C=O}return this.__tokens},g.prototype._is_first_token=function(){return this.__tokens.isEmpty()},g.prototype._reset=function(){},g.prototype._get_next_token=function(O,C){this._readWhitespace();var c=this._input.read(/.+/g);return c?this._create_token(E.RAW,c):this._create_token(E.EOF,"")},g.prototype._is_comment=function(O){return!1},g.prototype._is_opening=function(O){return!1},g.prototype._is_closing=function(O,C){return!1},g.prototype._create_token=function(O,C){var c=new l(O,C,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return c},g.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},v.exports.Tokenizer=g,v.exports.TOKEN=E},function(v){function n(r){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=r}n.prototype.restart=function(){this.__position=0},n.prototype.isEmpty=function(){return this.__tokens_length===0},n.prototype.hasNext=function(){return this.__position<this.__tokens_length},n.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__tokens[this.__position],this.__position+=1),r},n.prototype.peek=function(r){var o=null;return r=r||0,r+=this.__position,r>=0&&r<this.__tokens_length&&(o=this.__tokens[r]),o},n.prototype.add=function(r){this.__parent_token&&(r.parent=this.__parent_token),this.__tokens.push(r),this.__tokens_length+=1},v.exports.TokenStream=n},function(v,n,r){var o=r(12).Pattern;function l(w,k){o.call(this,w,k),k?this._line_regexp=this._input.get_regexp(k._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}l.prototype=new o,l.prototype.__set_whitespace_patterns=function(w,k){w+="\\t ",k+="\\n\\r",this._match_pattern=this._input.get_regexp("["+w+k+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+k+"]")},l.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var w=this._input.read(this._match_pattern);if(w===" ")this.whitespace_before_token=" ";else if(w){var k=this.__split(this._newline_regexp,w);this.newline_count=k.length-1,this.whitespace_before_token=k[this.newline_count]}return w},l.prototype.matching=function(w,k){var E=this._create();return E.__set_whitespace_patterns(w,k),E._update(),E},l.prototype._create=function(){return new l(this._input,this)},l.prototype.__split=function(w,k){w.lastIndex=0;for(var E=0,g=[],O=w.exec(k);O;)g.push(k.substring(E,O.index)),E=O.index+O[0].length,O=w.exec(k);return E<k.length?g.push(k.substring(E,k.length)):g.push(""),g},v.exports.WhitespacePattern=l},function(v){function n(r,o){this._input=r,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,o&&(this._starting_pattern=this._input.get_regexp(o._starting_pattern,!0),this._match_pattern=this._input.get_regexp(o._match_pattern,!0),this._until_pattern=this._input.get_regexp(o._until_pattern),this._until_after=o._until_after)}n.prototype.read=function(){var r=this._input.read(this._starting_pattern);return(!this._starting_pattern||r)&&(r+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),r},n.prototype.read_match=function(){return this._input.match(this._match_pattern)},n.prototype.until_after=function(r){var o=this._create();return o._until_after=!0,o._until_pattern=this._input.get_regexp(r),o._update(),o},n.prototype.until=function(r){var o=this._create();return o._until_after=!1,o._until_pattern=this._input.get_regexp(r),o._update(),o},n.prototype.starting_with=function(r){var o=this._create();return o._starting_pattern=this._input.get_regexp(r,!0),o._update(),o},n.prototype.matching=function(r){var o=this._create();return o._match_pattern=this._input.get_regexp(r,!0),o._update(),o},n.prototype._create=function(){return new n(this._input,this)},n.prototype._update=function(){},v.exports.Pattern=n},function(v){function n(r,o){r=typeof r=="string"?r:r.source,o=typeof o=="string"?o:o.source,this.__directives_block_pattern=new RegExp(r+/ beautify( \w+[:]\w+)+ /.source+o,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(r+/\sbeautify\signore:end\s/.source+o,"g")}n.prototype.get_directives=function(r){if(!r.match(this.__directives_block_pattern))return null;var o={};this.__directive_pattern.lastIndex=0;for(var l=this.__directive_pattern.exec(r);l;)o[l[1]]=l[2],l=this.__directive_pattern.exec(r);return o},n.prototype.readIgnored=function(r){return r.readUntilAfter(this.__directives_end_ignore_pattern)},v.exports.Directives=n},function(v,n,r){var o=r(12).Pattern,l={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function w(k,E){o.call(this,k,E),this.__template_pattern=null,this._disabled=Object.assign({},l),this._excluded=Object.assign({},l),E&&(this.__template_pattern=this._input.get_regexp(E.__template_pattern),this._excluded=Object.assign(this._excluded,E._excluded),this._disabled=Object.assign(this._disabled,E._disabled));var g=new o(k);this.__patterns={handlebars_comment:g.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:g.starting_with(/{{{/).until_after(/}}}/),handlebars:g.starting_with(/{{/).until_after(/}}/),php:g.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:g.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:g.starting_with(/{%/).until_after(/%}/),django_value:g.starting_with(/{{/).until_after(/}}/),django_comment:g.starting_with(/{#/).until_after(/#}/),smarty:g.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:g.starting_with(/{\*/).until_after(/\*}/),smarty_literal:g.starting_with(/{literal}/).until_after(/{\/literal}/)}}w.prototype=new o,w.prototype._create=function(){return new w(this._input,this)},w.prototype._update=function(){this.__set_templated_pattern()},w.prototype.disable=function(k){var E=this._create();return E._disabled[k]=!0,E._update(),E},w.prototype.read_options=function(k){var E=this._create();for(var g in l)E._disabled[g]=k.templating.indexOf(g)===-1;return E._update(),E},w.prototype.exclude=function(k){var E=this._create();return E._excluded[k]=!0,E._update(),E},w.prototype.read=function(){var k="";this._match_pattern?k=this._input.read(this._starting_pattern):k=this._input.read(this._starting_pattern,this.__template_pattern);for(var E=this._read_template();E;)this._match_pattern?E+=this._input.read(this._match_pattern):E+=this._input.readUntil(this.__template_pattern),k+=E,E=this._read_template();return this._until_after&&(k+=this._input.readUntilAfter(this._until_pattern)),k},w.prototype.__set_templated_pattern=function(){var k=[];this._disabled.php||k.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||k.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||k.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||k.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(k.push(this.__patterns.django._starting_pattern.source),k.push(this.__patterns.django_value._starting_pattern.source),k.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||k.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&k.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+k.join("|")+")")},w.prototype._read_template=function(){var k="",E=this._input.peek();if(E==="<"){var g=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&g==="?"&&(k=k||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&g==="%"&&(k=k||this.__patterns.erb.read())}else E==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(k=k||this.__patterns.handlebars_comment.read(),k=k||this.__patterns.handlebars_unescaped.read(),k=k||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(k=k||this.__patterns.django_value.read()),this._excluded.django||(k=k||this.__patterns.django_comment.read(),k=k||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(k=k||this.__patterns.smarty_comment.read(),k=k||this.__patterns.smarty_literal.read(),k=k||this.__patterns.smarty.read()));return k},v.exports.TemplatablePattern=w},,,,function(v,n,r){var o=r(19).Beautifier,l=r(20).Options;function w(k,E,g,O){var C=new o(k,E,g,O);return C.beautify()}v.exports=w,v.exports.defaultOptions=function(){return new l}},function(v,n,r){var o=r(20).Options,l=r(2).Output,w=r(21).Tokenizer,k=r(21).TOKEN,E=/\r\n|[\r\n]/,g=/\r\n|[\r\n]/g,O=function($,p){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=$.max_preserve_newlines,this.preserve_newlines=$.preserve_newlines,this._output=new l($,p)};O.prototype.current_line_has_match=function($){return this._output.current_line.has_match($)},O.prototype.set_space_before_token=function($,p){this._output.space_before_token=$,this._output.non_breaking_space=p},O.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},O.prototype.add_raw_token=function($){this._output.add_raw_token($)},O.prototype.print_preserved_newlines=function($){var p=0;$.type!==k.TEXT&&$.previous.type!==k.TEXT&&(p=$.newlines?1:0),this.preserve_newlines&&(p=$.newlines<this.max_preserve_newlines+1?$.newlines:this.max_preserve_newlines+1);for(var z=0;z<p;z++)this.print_newline(z>0);return p!==0},O.prototype.traverse_whitespace=function($){return $.whitespace_before||$.newlines?(this.print_preserved_newlines($)||(this._output.space_before_token=!0),!0):!1},O.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},O.prototype.print_newline=function($){this._output.add_new_line($)},O.prototype.print_token=function($){$.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token($.text))},O.prototype.indent=function(){this.indent_level++},O.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},O.prototype.get_full_indent=function($){return $=this.indent_level+($||0),$<1?"":this._output.get_indent_string($)};var C=function($){for(var p=null,z=$.next;z.type!==k.EOF&&$.closed!==z;){if(z.type===k.ATTRIBUTE&&z.text==="type"){z.next&&z.next.type===k.EQUALS&&z.next.next&&z.next.next.type===k.VALUE&&(p=z.next.next.text);break}z=z.next}return p},c=function($,p){var z=null,I=null;return p.closed?($==="script"?z="text/javascript":$==="style"&&(z="text/css"),z=C(p)||z,z.search("text/css")>-1?I="css":z.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?I="javascript":z.search(/(text|application|dojo)\/(x-)?(html)/)>-1?I="html":z.search(/test\/null/)>-1&&(I="null"),I):null};function s($,p){return p.indexOf($)!==-1}function x($,p,z){this.parent=$||null,this.tag=p?p.tag_name:"",this.indent_level=z||0,this.parser_token=p||null}function T($){this._printer=$,this._current_frame=null}T.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},T.prototype.record_tag=function($){var p=new x(this._current_frame,$,this._printer.indent_level);this._current_frame=p},T.prototype._try_pop_frame=function($){var p=null;return $&&(p=$.parser_token,this._printer.indent_level=$.indent_level,this._current_frame=$.parent),p},T.prototype._get_frame=function($,p){for(var z=this._current_frame;z&&$.indexOf(z.tag)===-1;){if(p&&p.indexOf(z.tag)!==-1){z=null;break}z=z.parent}return z},T.prototype.try_pop=function($,p){var z=this._get_frame([$],p);return this._try_pop_frame(z)},T.prototype.indent_to_tag=function($){var p=this._get_frame($);p&&(this._printer.indent_level=p.indent_level)};function J($,p,z,I){this._source_text=$||"",p=p||{},this._js_beautify=z,this._css_beautify=I,this._tag_stack=null;var B=new o(p,"html");this._options=B,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}J.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var $=this._source_text,p=this._options.eol;this._options.eol==="auto"&&(p=`
|
|
`,$&&E.test($)&&(p=$.match(E)[0])),$=$.replace(g,`
|
|
`);var z=$.match(/^[\t ]*/)[0],I={text:"",type:""},B=new q(this._options),P=new O(this._options,z),i=new w($,this._options).tokenize();this._tag_stack=new T(P);for(var a=null,_=i.next();_.type!==k.EOF;)_.type===k.TAG_OPEN||_.type===k.COMMENT?(a=this._handle_tag_open(P,_,B,I,i),B=a):_.type===k.ATTRIBUTE||_.type===k.EQUALS||_.type===k.VALUE||_.type===k.TEXT&&!B.tag_complete?a=this._handle_inside_tag(P,_,B,I):_.type===k.TAG_CLOSE?a=this._handle_tag_close(P,_,B):_.type===k.TEXT?a=this._handle_text(P,_,B):_.type===k.CONTROL_FLOW_OPEN?a=this._handle_control_flow_open(P,_):_.type===k.CONTROL_FLOW_CLOSE?a=this._handle_control_flow_close(P,_):P.add_raw_token(_),I=a,_=i.next();var F=P._output.get_code(p);return F},J.prototype._handle_control_flow_open=function($,p){var z={text:p.text,type:p.type};return $.set_space_before_token(p.newlines||p.whitespace_before!=="",!0),p.newlines?$.print_preserved_newlines(p):$.set_space_before_token(p.newlines||p.whitespace_before!=="",!0),$.print_token(p),$.indent(),z},J.prototype._handle_control_flow_close=function($,p){var z={text:p.text,type:p.type};return $.deindent(),p.newlines?$.print_preserved_newlines(p):$.set_space_before_token(p.newlines||p.whitespace_before!=="",!0),$.print_token(p),z},J.prototype._handle_tag_close=function($,p,z){var I={text:p.text,type:p.type};return $.alignment_size=0,z.tag_complete=!0,$.set_space_before_token(p.newlines||p.whitespace_before!=="",!0),z.is_unformatted?$.add_raw_token(p):(z.tag_start_char==="<"&&($.set_space_before_token(p.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&z.has_wrapped_attrs&&$.print_newline(!1)),$.print_token(p)),z.indent_content&&!(z.is_unformatted||z.is_content_unformatted)&&($.indent(),z.indent_content=!1),!z.is_inline_element&&!(z.is_unformatted||z.is_content_unformatted)&&$.set_wrap_point(),I},J.prototype._handle_inside_tag=function($,p,z,I){var B=z.has_wrapped_attrs,P={text:p.text,type:p.type};return $.set_space_before_token(p.newlines||p.whitespace_before!=="",!0),z.is_unformatted?$.add_raw_token(p):z.tag_start_char==="{"&&p.type===k.TEXT?$.print_preserved_newlines(p)?(p.newlines=0,$.add_raw_token(p)):$.print_token(p):(p.type===k.ATTRIBUTE?$.set_space_before_token(!0):(p.type===k.EQUALS||p.type===k.VALUE&&p.previous.type===k.EQUALS)&&$.set_space_before_token(!1),p.type===k.ATTRIBUTE&&z.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&($.traverse_whitespace(p),B=B||p.newlines!==0),this._is_wrap_attributes_force&&z.attr_count>=this._options.wrap_attributes_min_attrs&&(I.type!==k.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&($.print_newline(!1),B=!0)),$.print_token(p),B=B||$.previous_token_wrapped(),z.has_wrapped_attrs=B),P},J.prototype._handle_text=function($,p,z){var I={text:p.text,type:"TK_CONTENT"};return z.custom_beautifier_name?this._print_custom_beatifier_text($,p,z):z.is_unformatted||z.is_content_unformatted?$.add_raw_token(p):($.traverse_whitespace(p),$.print_token(p)),I},J.prototype._print_custom_beatifier_text=function($,p,z){var I=this;if(p.text!==""){var B=p.text,P,i=1,a="",_="";z.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?P=this._js_beautify:z.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?P=this._css_beautify:z.custom_beautifier_name==="html"&&(P=function(we,Ke){var Ie=new J(we,Ke,I._js_beautify,I._css_beautify);return Ie.beautify()}),this._options.indent_scripts==="keep"?i=0:this._options.indent_scripts==="separate"&&(i=-$.indent_level);var F=$.get_full_indent(i);if(B=B.replace(/\n[ \t]*$/,""),z.custom_beautifier_name!=="html"&&B[0]==="<"&&B.match(/^(<!--|<!\[CDATA\[)/)){var te=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(B);if(!te){$.add_raw_token(p);return}a=F+te[1]+`
|
|
`,B=te[4],te[5]&&(_=F+te[5]),B=B.replace(/\n[ \t]*$/,""),(te[2]||te[3].indexOf(`
|
|
`)!==-1)&&(te=te[3].match(/[ \t]+$/),te&&(p.whitespace_before=te[0]))}if(B)if(P){var ie=function(){this.eol=`
|
|
`};ie.prototype=this._options.raw_options;var ae=new ie;B=P(F+B,ae)}else{var he=p.whitespace_before;he&&(B=B.replace(new RegExp(`
|
|
(`+he+")?","g"),`
|
|
`)),B=F+B.replace(/\n/g,`
|
|
`+F)}a&&(B?B=a+B+`
|
|
`+_:B=a+_),$.print_newline(!1),B&&(p.text=B,p.whitespace_before="",p.newlines=0,$.add_raw_token(p),$.print_newline(!0))}},J.prototype._handle_tag_open=function($,p,z,I,B){var P=this._get_tag_open_token(p);if((z.is_unformatted||z.is_content_unformatted)&&!z.is_empty_element&&p.type===k.TAG_OPEN&&!P.is_start_tag?($.add_raw_token(p),P.start_tag_token=this._tag_stack.try_pop(P.tag_name)):($.traverse_whitespace(p),this._set_tag_position($,p,P,z,I),P.is_inline_element||$.set_wrap_point(),$.print_token(p)),P.is_start_tag&&this._is_wrap_attributes_force){var i=0,a;do a=B.peek(i),a.type===k.ATTRIBUTE&&(P.attr_count+=1),i+=1;while(a.type!==k.EOF&&a.type!==k.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(P.alignment_size=p.text.length+1),!P.tag_complete&&!P.is_unformatted&&($.alignment_size=P.alignment_size),P};var q=function($,p,z){if(this.parent=p||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!z)this.tag_complete=!0;else{var I;this.tag_start_char=z.text[0],this.text=z.text,this.tag_start_char==="<"?(I=z.text.match(/^<([^\s>]*)/),this.tag_check=I?I[1]:""):(I=z.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=I?I[1]:"",(z.text.startsWith("{{#>")||z.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&z.next!==null?this.tag_check=z.next.text.split(" ")[0]:this.tag_check=z.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),z.type===k.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||z.closed&&z.closed.text==="/>";var B=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(B=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(!$.indent_handlebars||this.text.length<3||/[^#\^]/.test(this.text.charAt(B)))}};J.prototype._get_tag_open_token=function($){var p=new q(this._options,this._tag_stack.get_parser_token(),$);return p.alignment_size=this._options.wrap_attributes_indent_size,p.is_end_tag=p.is_end_tag||s(p.tag_check,this._options.void_elements),p.is_empty_element=p.tag_complete||p.is_start_tag&&p.is_end_tag,p.is_unformatted=!p.tag_complete&&s(p.tag_check,this._options.unformatted),p.is_content_unformatted=!p.is_empty_element&&s(p.tag_check,this._options.content_unformatted),p.is_inline_element=s(p.tag_name,this._options.inline)||this._options.inline_custom_elements&&p.tag_name.includes("-")||p.tag_start_char==="{",p},J.prototype._set_tag_position=function($,p,z,I,B){if(z.is_empty_element||(z.is_end_tag?z.start_tag_token=this._tag_stack.try_pop(z.tag_name):(this._do_optional_end_element(z)&&(z.is_inline_element||$.print_newline(!1)),this._tag_stack.record_tag(z),(z.tag_name==="script"||z.tag_name==="style")&&!(z.is_unformatted||z.is_content_unformatted)&&(z.custom_beautifier_name=c(z.tag_check,p)))),s(z.tag_check,this._options.extra_liners)&&($.print_newline(!1),$._output.just_added_blankline()||$.print_newline(!0)),z.is_empty_element){if(z.tag_start_char==="{"&&z.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),z.indent_content=!0;var P=$.current_line_has_match(/{{#if/);P||$.print_newline(!1)}z.tag_name==="!--"&&B.type===k.TAG_CLOSE&&I.is_end_tag&&z.text.indexOf(`
|
|
`)===-1||(z.is_inline_element||z.is_unformatted||$.print_newline(!1),this._calcluate_parent_multiline($,z))}else if(z.is_end_tag){var i=!1;i=z.start_tag_token&&z.start_tag_token.multiline_content,i=i||!z.is_inline_element&&!(I.is_inline_element||I.is_unformatted)&&!(B.type===k.TAG_CLOSE&&z.start_tag_token===I)&&B.type!=="TK_CONTENT",(z.is_content_unformatted||z.is_unformatted)&&(i=!1),i&&$.print_newline(!1)}else z.indent_content=!z.custom_beautifier_name,z.tag_start_char==="<"&&(z.tag_name==="html"?z.indent_content=this._options.indent_inner_html:z.tag_name==="head"?z.indent_content=this._options.indent_head_inner_html:z.tag_name==="body"&&(z.indent_content=this._options.indent_body_inner_html)),!(z.is_inline_element||z.is_unformatted)&&(B.type!=="TK_CONTENT"||z.is_content_unformatted)&&$.print_newline(!1),this._calcluate_parent_multiline($,z)},J.prototype._calcluate_parent_multiline=function($,p){p.parent&&$._output.just_added_newline()&&!((p.is_inline_element||p.is_unformatted)&&p.parent.is_inline_element)&&(p.parent.multiline_content=!0)};var G=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],H=["a","audio","del","ins","map","noscript","video"];J.prototype._do_optional_end_element=function($){var p=null;if(!($.is_empty_element||!$.is_start_tag||!$.parent)){if($.tag_name==="body")p=p||this._tag_stack.try_pop("head");else if($.tag_name==="li")p=p||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if($.tag_name==="dd"||$.tag_name==="dt")p=p||this._tag_stack.try_pop("dt",["dl"]),p=p||this._tag_stack.try_pop("dd",["dl"]);else if($.parent.tag_name==="p"&&G.indexOf($.tag_name)!==-1){var z=$.parent.parent;(!z||H.indexOf(z.tag_name)===-1)&&(p=p||this._tag_stack.try_pop("p"))}else $.tag_name==="rp"||$.tag_name==="rt"?(p=p||this._tag_stack.try_pop("rt",["ruby","rtc"]),p=p||this._tag_stack.try_pop("rp",["ruby","rtc"])):$.tag_name==="optgroup"?p=p||this._tag_stack.try_pop("optgroup",["select"]):$.tag_name==="option"?p=p||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):$.tag_name==="colgroup"?p=p||this._tag_stack.try_pop("caption",["table"]):$.tag_name==="thead"?(p=p||this._tag_stack.try_pop("caption",["table"]),p=p||this._tag_stack.try_pop("colgroup",["table"])):$.tag_name==="tbody"||$.tag_name==="tfoot"?(p=p||this._tag_stack.try_pop("caption",["table"]),p=p||this._tag_stack.try_pop("colgroup",["table"]),p=p||this._tag_stack.try_pop("thead",["table"]),p=p||this._tag_stack.try_pop("tbody",["table"])):$.tag_name==="tr"?(p=p||this._tag_stack.try_pop("caption",["table"]),p=p||this._tag_stack.try_pop("colgroup",["table"]),p=p||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):($.tag_name==="th"||$.tag_name==="td")&&(p=p||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),p=p||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return $.parent=this._tag_stack.get_parser_token(),p}},v.exports.Beautifier=J},function(v,n,r){var o=r(6).Options;function l(w){o.call(this,w,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}l.prototype=new o,v.exports.Options=l},function(v,n,r){var o=r(9).Tokenizer,l=r(9).TOKEN,w=r(13).Directives,k=r(14).TemplatablePattern,E=r(12).Pattern,g={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:l.START,RAW:l.RAW,EOF:l.EOF},O=new w(/<\!--/,/-->/),C=function(c,s){o.call(this,c,s),this._current_tag_name="";var x=new k(this._input).read_options(this._options),T=new E(this._input);if(this.__patterns={word:x.until(/[\n\r\t <]/),word_control_flow_close_excluded:x.until(/[\n\r\t <}]/),single_quote:x.until_after(/'/),double_quote:x.until_after(/"/),attribute:x.until(/[\n\r\t =>]|\/>/),element_name:x.until(/[\n\r\t >\/]/),angular_control_flow_start:T.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:T.starting_with(/{{!--/).until_after(/--}}/),handlebars:T.starting_with(/{{/).until_after(/}}/),handlebars_open:T.until(/[\n\r\t }]/),handlebars_raw_close:T.until(/}}/),comment:T.starting_with(/<!--/).until_after(/-->/),cdata:T.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:T.starting_with(/<!\[/).until_after(/]>/),processing:T.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var J=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=T.matching(J).until_after(J)}};C.prototype=new o,C.prototype._is_comment=function(c){return!1},C.prototype._is_opening=function(c){return c.type===g.TAG_OPEN||c.type===g.CONTROL_FLOW_OPEN},C.prototype._is_closing=function(c,s){return c.type===g.TAG_CLOSE&&s&&((c.text===">"||c.text==="/>")&&s.text[0]==="<"||c.text==="}}"&&s.text[0]==="{"&&s.text[1]==="{")||c.type===g.CONTROL_FLOW_CLOSE&&c.text==="}"&&s.text.endsWith("{")},C.prototype._reset=function(){this._current_tag_name=""},C.prototype._get_next_token=function(c,s){var x=null;this._readWhitespace();var T=this._input.peek();return T===null?this._create_token(g.EOF,""):(x=x||this._read_open_handlebars(T,s),x=x||this._read_attribute(T,c,s),x=x||this._read_close(T,s),x=x||this._read_script_and_style(T,c),x=x||this._read_control_flows(T,s),x=x||this._read_raw_content(T,c,s),x=x||this._read_content_word(T,s),x=x||this._read_comment_or_cdata(T),x=x||this._read_processing(T),x=x||this._read_open(T,s),x=x||this._create_token(g.UNKNOWN,this._input.next()),x)},C.prototype._read_comment_or_cdata=function(c){var s=null,x=null,T=null;if(c==="<"){var J=this._input.peek(1);J==="!"&&(x=this.__patterns.comment.read(),x?(T=O.get_directives(x),T&&T.ignore==="start"&&(x+=O.readIgnored(this._input))):x=this.__patterns.cdata.read()),x&&(s=this._create_token(g.COMMENT,x),s.directives=T)}return s},C.prototype._read_processing=function(c){var s=null,x=null,T=null;if(c==="<"){var J=this._input.peek(1);(J==="!"||J==="?")&&(x=this.__patterns.conditional_comment.read(),x=x||this.__patterns.processing.read()),x&&(s=this._create_token(g.COMMENT,x),s.directives=T)}return s},C.prototype._read_open=function(c,s){var x=null,T=null;return(!s||s.type===g.CONTROL_FLOW_OPEN)&&c==="<"&&(x=this._input.next(),this._input.peek()==="/"&&(x+=this._input.next()),x+=this.__patterns.element_name.read(),T=this._create_token(g.TAG_OPEN,x)),T},C.prototype._read_open_handlebars=function(c,s){var x=null,T=null;return(!s||s.type===g.CONTROL_FLOW_OPEN)&&(this._options.templating.includes("angular")||this._options.indent_handlebars)&&c==="{"&&this._input.peek(1)==="{"&&(this._options.indent_handlebars&&this._input.peek(2)==="!"?(x=this.__patterns.handlebars_comment.read(),x=x||this.__patterns.handlebars.read(),T=this._create_token(g.COMMENT,x)):(x=this.__patterns.handlebars_open.read(),T=this._create_token(g.TAG_OPEN,x))),T},C.prototype._read_control_flows=function(c,s){var x="",T=null;if(!this._options.templating.includes("angular"))return T;if(c==="@"){if(x=this.__patterns.angular_control_flow_start.read(),x==="")return T;for(var J=x.endsWith("(")?1:0,q=0;!(x.endsWith("{")&&J===q);){var G=this._input.next();if(G===null)break;G==="("?J++:G===")"&&q++,x+=G}T=this._create_token(g.CONTROL_FLOW_OPEN,x)}else c==="}"&&s&&s.type===g.CONTROL_FLOW_OPEN&&(x=this._input.next(),T=this._create_token(g.CONTROL_FLOW_CLOSE,x));return T},C.prototype._read_close=function(c,s){var x=null,T=null;return s&&s.type===g.TAG_OPEN&&(s.text[0]==="<"&&(c===">"||c==="/"&&this._input.peek(1)===">")?(x=this._input.next(),c==="/"&&(x+=this._input.next()),T=this._create_token(g.TAG_CLOSE,x)):s.text[0]==="{"&&c==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),T=this._create_token(g.TAG_CLOSE,"}}"))),T},C.prototype._read_attribute=function(c,s,x){var T=null,J="";if(x&&x.text[0]==="<")if(c==="=")T=this._create_token(g.EQUALS,this._input.next());else if(c==='"'||c==="'"){var q=this._input.next();c==='"'?q+=this.__patterns.double_quote.read():q+=this.__patterns.single_quote.read(),T=this._create_token(g.VALUE,q)}else J=this.__patterns.attribute.read(),J&&(s.type===g.EQUALS?T=this._create_token(g.VALUE,J):T=this._create_token(g.ATTRIBUTE,J));return T},C.prototype._is_content_unformatted=function(c){return this._options.void_elements.indexOf(c)===-1&&(this._options.content_unformatted.indexOf(c)!==-1||this._options.unformatted.indexOf(c)!==-1)},C.prototype._read_raw_content=function(c,s,x){var T="";if(x&&x.text[0]==="{")T=this.__patterns.handlebars_raw_close.read();else if(s.type===g.TAG_CLOSE&&s.opened.text[0]==="<"&&s.text[0]!=="/"){var J=s.opened.text.substr(1).toLowerCase();this._is_content_unformatted(J)&&(T=this._input.readUntil(new RegExp("</"+J+"[\\n\\r\\t ]*?>","ig")))}return T?this._create_token(g.TEXT,T):null},C.prototype._read_script_and_style=function(c,s){if(s.type===g.TAG_CLOSE&&s.opened.text[0]==="<"&&s.text[0]!=="/"){var x=s.opened.text.substr(1).toLowerCase();if(x==="script"||x==="style"){var T=this._read_comment_or_cdata(c);if(T)return T.type=g.TEXT,T;var J=this._input.readUntil(new RegExp("</"+x+"[\\n\\r\\t ]*?>","ig"));if(J)return this._create_token(g.TEXT,J)}}return null},C.prototype._read_content_word=function(c,s){var x="";return this._options.unformatted_content_delimiter&&c===this._options.unformatted_content_delimiter[0]&&(x=this.__patterns.unformatted_content_delimiter.read()),x||(x=s&&s.type===g.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),x?this._create_token(g.TEXT,x):null},v.exports.Tokenizer=C,v.exports.TOKEN=g}],W={};function e(v){var n=W[v];if(n!==void 0)return n.exports;var r=W[v]={exports:{}};return u[v](r,r.exports,e),r.exports}var h=e(18);D=h})();var V=D;if(1)b=[t,t(55139),t(69374)],m=function(u){var W=t(55139),e=t(69374);return{html_beautify:function(h,v){return V(h,v,W.js_beautify,e.css_beautify)}}}.apply(fe,b),m!==void 0&&(We.exports=m);else var Z,K})()},55139:function(We,fe){var t,b;(function(){var m;(function(){"use strict";var V=[function(W,e,h){var v=h(1).Beautifier,n=h(5).Options;function r(o,l){var w=new v(o,l);return w.beautify()}W.exports=r,W.exports.defaultOptions=function(){return new n}},function(W,e,h){var v=h(2).Output,n=h(3).Token,r=h(4),o=h(5).Options,l=h(7).Tokenizer,w=h(7).line_starters,k=h(7).positionable_operators,E=h(7).TOKEN;function g(a,_){return _.indexOf(a)!==-1}function O(a){return a.replace(/^\s+/g,"")}function C(a){for(var _={},F=0;F<a.length;F++)_[a[F].replace(/-/g,"_")]=a[F];return _}function c(a,_){return a&&a.type===E.RESERVED&&a.text===_}function s(a,_){return a&&a.type===E.RESERVED&&g(a.text,_)}var x=["case","return","do","if","throw","else","await","break","continue","async"],T=["before-newline","after-newline","preserve-newline"],J=C(T),q=[J.before_newline,J.preserve_newline],G={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function H(a,_){_.multiline_frame||_.mode===G.ForInitializer||_.mode===G.Conditional||a.remove_indent(_.start_line_index)}function $(a){a=a.replace(r.allLineBreaks,`
|
|
`);for(var _=[],F=a.indexOf(`
|
|
`);F!==-1;)_.push(a.substring(0,F)),a=a.substring(F+1),F=a.indexOf(`
|
|
`);return a.length&&_.push(a),_}function p(a){return a===G.ArrayLiteral}function z(a){return g(a,[G.Expression,G.ForInitializer,G.Conditional])}function I(a,_){for(var F=0;F<a.length;F++){var te=a[F].trim();if(te.charAt(0)!==_)return!1}return!0}function B(a,_){for(var F=0,te=a.length,ie;F<te;F++)if(ie=a[F],ie&&ie.indexOf(_)!==0)return!1;return!0}function P(a,_){_=_||{},this._source_text=a||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new o(_)}P.prototype.create_flags=function(a,_){var F=0;a&&(F=a.indentation_level,!this._output.just_added_newline()&&a.line_indent_level>F&&(F=a.line_indent_level));var te={mode:_,parent:a,last_token:a?a.last_token:new n(E.START_BLOCK,""),last_word:a?a.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:F,alignment:0,line_indent_level:a?a.line_indent_level:F,start_line_index:this._output.get_line_number(),ternary_depth:0};return te},P.prototype._reset=function(a){var _=a.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new v(this._options,_),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(G.BlockStatement);var F=new l(a,this._options);return this._tokens=F.tokenize(),a},P.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var a,_=this._reset(this._source_text),F=this._options.eol;this._options.eol==="auto"&&(F=`
|
|
`,_&&r.lineBreak.test(_||"")&&(F=_.match(r.lineBreak)[0]));for(var te=this._tokens.next();te;)this.handle_token(te),this._last_last_text=this._flags.last_token.text,this._flags.last_token=te,te=this._tokens.next();return a=this._output.get_code(F),a},P.prototype.handle_token=function(a,_){a.type===E.START_EXPR?this.handle_start_expr(a):a.type===E.END_EXPR?this.handle_end_expr(a):a.type===E.START_BLOCK?this.handle_start_block(a):a.type===E.END_BLOCK?this.handle_end_block(a):a.type===E.WORD?this.handle_word(a):a.type===E.RESERVED?this.handle_word(a):a.type===E.SEMICOLON?this.handle_semicolon(a):a.type===E.STRING?this.handle_string(a):a.type===E.EQUALS?this.handle_equals(a):a.type===E.OPERATOR?this.handle_operator(a):a.type===E.COMMA?this.handle_comma(a):a.type===E.BLOCK_COMMENT?this.handle_block_comment(a,_):a.type===E.COMMENT?this.handle_comment(a,_):a.type===E.DOT?this.handle_dot(a):a.type===E.EOF?this.handle_eof(a):a.type===E.UNKNOWN?this.handle_unknown(a,_):this.handle_unknown(a,_)},P.prototype.handle_whitespace_and_comments=function(a,_){var F=a.newlines,te=this._options.keep_array_indentation&&p(this._flags.mode);if(a.comments_before)for(var ie=a.comments_before.next();ie;)this.handle_whitespace_and_comments(ie,_),this.handle_token(ie,_),ie=a.comments_before.next();if(te)for(var ae=0;ae<F;ae+=1)this.print_newline(ae>0,_);else if(this._options.max_preserve_newlines&&F>this._options.max_preserve_newlines&&(F=this._options.max_preserve_newlines),this._options.preserve_newlines&&F>1){this.print_newline(!1,_);for(var he=1;he<F;he+=1)this.print_newline(!0,_)}};var i=["async","break","continue","return","throw","yield"];P.prototype.allow_wrap_or_preserved_newline=function(a,_){if(_=_===void 0?!1:_,!this._output.just_added_newline()){var F=this._options.preserve_newlines&&a.newlines||_,te=g(this._flags.last_token.text,k)||g(a.text,k);if(te){var ie=g(this._flags.last_token.text,k)&&g(this._options.operator_position,q)||g(a.text,k);F=F&&ie}if(F)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(s(this._flags.last_token,i))return;this._output.set_wrap_point()}}},P.prototype.print_newline=function(a,_){if(!_&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==E.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var F=this._tokens.peek();this._flags.mode===G.Statement&&!(this._flags.if_block&&c(F,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(a)&&(this._flags.multiline_frame=!0)},P.prototype.print_token_line_indentation=function(a){this._output.just_added_newline()&&(this._options.keep_array_indentation&&a.newlines&&(a.text==="["||p(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(a.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},P.prototype.print_token=function(a){if(this._output.raw){this._output.add_raw_token(a);return}if(this._options.comma_first&&a.previous&&a.previous.type===E.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var _=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(_),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(a),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(a),this._output.non_breaking_space=!0,this._output.add_token(a.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},P.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},P.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},P.prototype.set_mode=function(a){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,a),this._flags=this.create_flags(this._previous_flags,a),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},P.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===G.Statement&&H(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},P.prototype.start_of_object_property=function(){return this._flags.parent.mode===G.ObjectLiteral&&this._flags.mode===G.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||s(this._flags.last_token,["get","set"]))},P.prototype.start_of_statement=function(a){var _=!1;return _=_||s(this._flags.last_token,["var","let","const"])&&a.type===E.WORD,_=_||c(this._flags.last_token,"do"),_=_||!(this._flags.parent.mode===G.ObjectLiteral&&this._flags.mode===G.Statement)&&s(this._flags.last_token,i)&&!a.newlines,_=_||c(this._flags.last_token,"else")&&!(c(a,"if")&&!a.comments_before),_=_||this._flags.last_token.type===E.END_EXPR&&(this._previous_flags.mode===G.ForInitializer||this._previous_flags.mode===G.Conditional),_=_||this._flags.last_token.type===E.WORD&&this._flags.mode===G.BlockStatement&&!this._flags.in_case&&!(a.text==="--"||a.text==="++")&&this._last_last_text!=="function"&&a.type!==E.WORD&&a.type!==E.RESERVED,_=_||this._flags.mode===G.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||s(this._flags.last_token,["get","set"])),_?(this.set_mode(G.Statement),this.indent(),this.handle_whitespace_and_comments(a,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a,s(a,["do","for","if","while"])),!0):!1},P.prototype.handle_start_expr=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a);var _=G.Expression;if(a.text==="["){if(this._flags.last_token.type===E.WORD||this._flags.last_token.text===")"){s(this._flags.last_token,w)&&(this._output.space_before_token=!0),this.print_token(a),this.set_mode(_),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}_=G.ArrayLiteral,p(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),g(this._flags.last_token.type,[E.START_EXPR,E.END_EXPR,E.WORD,E.OPERATOR,E.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===E.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,_=G.ForInitializer):g(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,_=G.Conditional):g(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&a.whitespace_before===""?this._output.space_before_token=!1:(g(this._flags.last_token.text,w)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a);else if(this._flags.last_token.type===E.WORD){this._output.space_before_token=!1;var F=this._tokens.peek(-3);if(this._options.space_after_named_function&&F){var te=this._tokens.peek(-4);s(F,["async","function"])||F.text==="*"&&s(te,["async","function"])?this._output.space_before_token=!0:this._flags.mode===G.ObjectLiteral?(F.text==="{"||F.text===","||F.text==="*"&&(te.text==="{"||te.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(a);(this._flags.last_token.type===E.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(g(this._last_last_text,["function","yield"])||this._flags.mode===G.ObjectLiteral&&g(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===E.START_BLOCK?this.print_newline():(this._flags.last_token.type===E.END_EXPR||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===E.COMMA)&&this.allow_wrap_or_preserved_newline(a,a.newlines),this.print_token(a),this.set_mode(_),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},P.prototype.handle_end_expr=function(a){for(;this._flags.mode===G.Statement;)this.restore_mode();this.handle_whitespace_and_comments(a),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(a,a.text==="]"&&p(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===E.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(a),this.restore_mode(),H(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===G.Conditional&&(this._previous_flags.mode=G.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},P.prototype.handle_start_block=function(a){this.handle_whitespace_and_comments(a);var _=this._tokens.peek(),F=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===E.END_EXPR?(this.set_mode(G.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(G.BlockStatement):F&&(g(F.text,[":",","])&&g(_.type,[E.STRING,E.WORD,E.RESERVED])||g(_.text,["get","set","..."])&&g(F.type,[E.WORD,E.RESERVED]))?g(this._last_last_text,["class","interface"])&&!g(F.text,[":",","])?this.set_mode(G.BlockStatement):this.set_mode(G.ObjectLiteral):this._flags.last_token.type===E.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(G.BlockStatement):g(this._flags.last_token.type,[E.EQUALS,E.START_EXPR,E.COMMA,E.OPERATOR])||s(this._flags.last_token,["return","throw","import","default"])?this.set_mode(G.ObjectLiteral):this.set_mode(G.BlockStatement),this._flags.last_token&&s(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var te=!_.comments_before&&_.text==="}",ie=te&&this._flags.last_word==="function"&&this._flags.last_token.type===E.END_EXPR;if(this._options.brace_preserve_inline){var ae=0,he=null;this._flags.inline_frame=!0;do if(ae+=1,he=this._tokens.peek(ae-1),he.newlines){this._flags.inline_frame=!1;break}while(he.type!==E.EOF&&!(he.type===E.END_BLOCK&&he.opened===a))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&a.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==E.OPERATOR&&(ie||this._flags.last_token.type===E.EQUALS||s(this._flags.last_token,x)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(p(this._previous_flags.mode)&&(this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.COMMA)&&((this._flags.last_token.type===E.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(a),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==E.OPERATOR&&this._flags.last_token.type!==E.START_EXPR&&(g(this._flags.last_token.type,[E.START_BLOCK,E.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(a),this.indent(),!te&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},P.prototype.handle_end_block=function(a){for(this.handle_whitespace_and_comments(a);this._flags.mode===G.Statement;)this.restore_mode();var _=this._flags.last_token.type===E.START_BLOCK;this._flags.inline_frame&&!_?this._output.space_before_token=!0:this._options.brace_style==="expand"?_||this.print_newline():_||(p(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(a)},P.prototype.handle_word=function(a){if(a.type===E.RESERVED){if(g(a.text,["set","get"])&&this._flags.mode!==G.ObjectLiteral)a.type=E.WORD;else if(a.text==="import"&&g(this._tokens.peek().text,["(","."]))a.type=E.WORD;else if(g(a.text,["as","from"])&&!this._flags.import_block)a.type=E.WORD;else if(this._flags.mode===G.ObjectLiteral){var _=this._tokens.peek();_.text===":"&&(a.type=E.WORD)}}if(this.start_of_statement(a)?s(this._flags.last_token,["var","let","const"])&&a.type===E.WORD&&(this._flags.declaration_statement=!0):a.newlines&&!z(this._flags.mode)&&(this._flags.last_token.type!==E.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==E.EQUALS&&(this._options.preserve_newlines||!s(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(a),this.print_newline()):this.handle_whitespace_and_comments(a),this._flags.do_block&&!this._flags.do_while)if(c(a,"while")){this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&c(a,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===G.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&s(a,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(a),this._flags.in_case=!0;return}if((this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR)&&!this.start_of_object_property()&&!(g(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===G.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(a),c(a,"function")){(g(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(g(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===E.OPERATOR))&&!this._output.just_added_blankline()&&!a.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD?s(this._flags.last_token,["get","set","new","export"])||s(this._flags.last_token,i)?this._output.space_before_token=!0:c(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===E.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(z(this._flags.mode)||p(this._flags.mode))||this.print_newline(),this.print_token(a),this._flags.last_word=a.text;return}var F="NONE";if(this._flags.last_token.type===E.END_BLOCK?this._previous_flags.inline_frame?F="SPACE":s(a,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&a.newlines?F="NEWLINE":(F="SPACE",this._output.space_before_token=!0):F="NEWLINE":this._flags.last_token.type===E.SEMICOLON&&this._flags.mode===G.BlockStatement?F="NEWLINE":this._flags.last_token.type===E.SEMICOLON&&z(this._flags.mode)?F="SPACE":this._flags.last_token.type===E.STRING?F="NEWLINE":this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD||this._flags.last_token.text==="*"&&(g(this._last_last_text,["function","yield"])||this._flags.mode===G.ObjectLiteral&&g(this._last_last_text,["{",","]))?F="SPACE":this._flags.last_token.type===E.START_BLOCK?this._flags.inline_frame?F="SPACE":F="NEWLINE":this._flags.last_token.type===E.END_EXPR&&(this._output.space_before_token=!0,F="NEWLINE"),s(a,w)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?F="SPACE":F="NEWLINE"),s(a,["else","catch","finally"]))if((!(this._flags.last_token.type===E.END_BLOCK&&this._previous_flags.mode===G.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&a.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var te=this._output.current_line;te.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else F==="NEWLINE"?s(this._flags.last_token,x)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&s(a,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==E.END_EXPR?(this._flags.last_token.type!==E.START_EXPR||!s(a,["var","let","const"]))&&this._flags.last_token.text!==":"&&(c(a,"if")&&c(a.previous,"else")?this._output.space_before_token=!0:this.print_newline()):s(a,w)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&p(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():F==="SPACE"&&(this._output.space_before_token=!0);a.previous&&(a.previous.type===E.WORD||a.previous.type===E.RESERVED)&&(this._output.space_before_token=!0),this.print_token(a),this._flags.last_word=a.text,a.type===E.RESERVED&&(a.text==="do"?this._flags.do_block=!0:a.text==="if"?this._flags.if_block=!0:a.text==="import"?this._flags.import_block=!0:this._flags.import_block&&c(a,"from")&&(this._flags.import_block=!1))},P.prototype.handle_semicolon=function(a){this.start_of_statement(a)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(a);for(var _=this._tokens.peek();this._flags.mode===G.Statement&&!(this._flags.if_block&&c(_,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(a)},P.prototype.handle_string=function(a){a.text.startsWith("`")&&a.newlines===0&&a.whitespace_before===""&&(a.previous.text===")"||this._flags.last_token.type===E.WORD)||(this.start_of_statement(a)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(a),this._flags.last_token.type===E.RESERVED||this._flags.last_token.type===E.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR||this._flags.last_token.type===E.EQUALS||this._flags.last_token.type===E.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(a):a.text.startsWith("`")&&this._flags.last_token.type===E.END_EXPR&&(a.previous.text==="]"||a.previous.text===")")&&a.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(a)},P.prototype.handle_equals=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0},P.prototype.handle_comma=function(a){this.handle_whitespace_and_comments(a,!0),this.print_token(a),this._output.space_before_token=!0,this._flags.declaration_statement?(z(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(a)):this._flags.mode===G.ObjectLiteral||this._flags.mode===G.Statement&&this._flags.parent.mode===G.ObjectLiteral?(this._flags.mode===G.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(a)},P.prototype.handle_operator=function(a){var _=a.text==="*"&&(s(this._flags.last_token,["function","yield"])||g(this._flags.last_token.type,[E.START_BLOCK,E.COMMA,E.END_BLOCK,E.SEMICOLON])),F=g(a.text,["-","+"])&&(g(this._flags.last_token.type,[E.START_BLOCK,E.START_EXPR,E.EQUALS,E.OPERATOR])||g(this._flags.last_token.text,w)||this._flags.last_token.text===",");if(!this.start_of_statement(a)){var te=!_;this.handle_whitespace_and_comments(a,te)}if(a.text==="*"&&this._flags.last_token.type===E.DOT){this.print_token(a);return}if(a.text==="::"){this.print_token(a);return}if(g(a.text,["-","+"])&&this.start_of_object_property()){this.print_token(a);return}if(this._flags.last_token.type===E.OPERATOR&&g(this._options.operator_position,q)&&this.allow_wrap_or_preserved_newline(a),a.text===":"&&this._flags.in_case){this.print_token(a),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==E.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var ie=!0,ae=!0,he=!1;if(a.text===":"?this._flags.ternary_depth===0?ie=!1:(this._flags.ternary_depth-=1,he=!0):a.text==="?"&&(this._flags.ternary_depth+=1),!F&&!_&&this._options.preserve_newlines&&g(a.text,k)){var we=a.text===":",Ke=we&&he,Ie=we&&!he;switch(this._options.operator_position){case J.before_newline:this._output.space_before_token=!Ie,this.print_token(a),(!we||Ke)&&this.allow_wrap_or_preserved_newline(a),this._output.space_before_token=!0;return;case J.after_newline:this._output.space_before_token=!0,!we||Ke?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(a):this._output.space_before_token=!1,this.print_token(a),this._output.space_before_token=!0;return;case J.preserve_newline:Ie||this.allow_wrap_or_preserved_newline(a),ie=!(this._output.just_added_newline()||Ie),this._output.space_before_token=ie,this.print_token(a),this._output.space_before_token=!0;return}}if(_){this.allow_wrap_or_preserved_newline(a),ie=!1;var ke=this._tokens.peek();ae=ke&&g(ke.type,[E.WORD,E.RESERVED])}else if(a.text==="...")this.allow_wrap_or_preserved_newline(a),ie=this._flags.last_token.type===E.START_BLOCK,ae=!1;else if(g(a.text,["--","++","!","~"])||F){if((this._flags.last_token.type===E.COMMA||this._flags.last_token.type===E.START_EXPR)&&this.allow_wrap_or_preserved_newline(a),ie=!1,ae=!1,a.newlines&&(a.text==="--"||a.text==="++"||a.text==="~")){var Xe=s(this._flags.last_token,x)&&a.newlines;Xe&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(Xe,!0)}this._flags.last_token.text===";"&&z(this._flags.mode)&&(ie=!0),this._flags.last_token.type===E.RESERVED?ie=!0:this._flags.last_token.type===E.END_EXPR?ie=!(this._flags.last_token.text==="]"&&(a.text==="--"||a.text==="++")):this._flags.last_token.type===E.OPERATOR&&(ie=g(a.text,["--","-","++","+"])&&g(this._flags.last_token.text,["--","-","++","+"]),g(a.text,["+","-"])&&g(this._flags.last_token.text,["--","++"])&&(ae=!0)),(this._flags.mode===G.BlockStatement&&!this._flags.inline_frame||this._flags.mode===G.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||ie,this.print_token(a),this._output.space_before_token=ae},P.prototype.handle_block_comment=function(a,_){if(this._output.raw){this._output.add_raw_token(a),a.directives&&a.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(a.directives){this.print_newline(!1,_),this.print_token(a),a.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!r.newline.test(a.text)&&!a.newlines){this._output.space_before_token=!0,this.print_token(a),this._output.space_before_token=!0;return}else this.print_block_commment(a,_)},P.prototype.print_block_commment=function(a,_){var F=$(a.text),te,ie=!1,ae=!1,he=a.whitespace_before,we=he.length;if(this.print_newline(!1,_),this.print_token_line_indentation(a),this._output.add_token(F[0]),this.print_newline(!1,_),F.length>1){for(F=F.slice(1),ie=I(F,"*"),ae=B(F,he),ie&&(this._flags.alignment=1),te=0;te<F.length;te++)ie?(this.print_token_line_indentation(a),this._output.add_token(O(F[te]))):ae&&F[te]?(this.print_token_line_indentation(a),this._output.add_token(F[te].substring(we))):(this._output.current_line.set_indent(-1),this._output.add_token(F[te])),this.print_newline(!1,_);this._flags.alignment=0}},P.prototype.handle_comment=function(a,_){a.newlines?this.print_newline(!1,_):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(a),this.print_newline(!1,_)},P.prototype.handle_dot=function(a){this.start_of_statement(a)||this.handle_whitespace_and_comments(a,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),s(this._flags.last_token,x)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(a,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(a)},P.prototype.handle_unknown=function(a,_){this.print_token(a),a.text[a.text.length-1]===`
|
|
`&&this.print_newline(!1,_)},P.prototype.handle_eof=function(a){for(;this._flags.mode===G.Statement;)this.restore_mode();this.handle_whitespace_and_comments(a)},W.exports.Beautifier=P},function(W){function e(n){this.__parent=n,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var n=new e(this.__parent);return n.set_indent(this.__indent_count,this.__alignment_count),n},e.prototype.item=function(n){return n<0?this.__items[this.__items.length+n]:this.__items[n]},e.prototype.has_match=function(n){for(var r=this.__items.length-1;r>=0;r--)if(this.__items[r].match(n))return!0;return!1},e.prototype.set_indent=function(n,r){this.is_empty()&&(this.__indent_count=n||0,this.__alignment_count=r||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var n=this.__parent.current_line;return n.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),n.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),n.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,n.__items[0]===" "&&(n.__items.splice(0,1),n.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(n){this.__items.push(n);var r=n.lastIndexOf(`
|
|
`);r!==-1?this.__character_count=n.length-r:this.__character_count+=n.length},e.prototype.pop=function(){var n=null;return this.is_empty()||(n=this.__items.pop(),this.__character_count-=n.length),n},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var n="";return this.is_empty()?this.__parent.indent_empty_lines&&(n=this.__parent.get_indent_string(this.__indent_count)):(n=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),n+=this.__items.join("")),n};function h(n,r){this.__cache=[""],this.__indent_size=n.indent_size,this.__indent_string=n.indent_char,n.indent_with_tabs||(this.__indent_string=new Array(n.indent_size+1).join(n.indent_char)),r=r||"",n.indent_level>0&&(r=new Array(n.indent_level+1).join(this.__indent_string)),this.__base_string=r,this.__base_string_length=r.length}h.prototype.get_indent_size=function(n,r){var o=this.__base_string_length;return r=r||0,n<0&&(o=0),o+=n*this.__indent_size,o+=r,o},h.prototype.get_indent_string=function(n,r){var o=this.__base_string;return r=r||0,n<0&&(n=0,o=""),r+=n*this.__indent_size,this.__ensure_cache(r),o+=this.__cache[r],o},h.prototype.__ensure_cache=function(n){for(;n>=this.__cache.length;)this.__add_column()},h.prototype.__add_column=function(){var n=this.__cache.length,r=0,o="";this.__indent_size&&n>=this.__indent_size&&(r=Math.floor(n/this.__indent_size),n-=r*this.__indent_size,o=new Array(r+1).join(this.__indent_string)),n&&(o+=new Array(n+1).join(" ")),this.__cache.push(o)};function v(n,r){this.__indent_cache=new h(n,r),this.raw=!1,this._end_with_newline=n.end_with_newline,this.indent_size=n.indent_size,this.wrap_line_length=n.wrap_line_length,this.indent_empty_lines=n.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}v.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},v.prototype.get_line_number=function(){return this.__lines.length},v.prototype.get_indent_string=function(n,r){return this.__indent_cache.get_indent_string(n,r)},v.prototype.get_indent_size=function(n,r){return this.__indent_cache.get_indent_size(n,r)},v.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},v.prototype.add_new_line=function(n){return this.is_empty()||!n&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},v.prototype.get_code=function(n){this.trim(!0);var r=this.current_line.pop();r&&(r[r.length-1]===`
|
|
`&&(r=r.replace(/\n+$/g,"")),this.current_line.push(r)),this._end_with_newline&&this.__add_outputline();var o=this.__lines.join(`
|
|
`);return n!==`
|
|
`&&(o=o.replace(/[\n]/g,n)),o},v.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},v.prototype.set_indent=function(n,r){return n=n||0,r=r||0,this.next_line.set_indent(n,r),this.__lines.length>1?(this.current_line.set_indent(n,r),!0):(this.current_line.set_indent(),!1)},v.prototype.add_raw_token=function(n){for(var r=0;r<n.newlines;r++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(n.whitespace_before),this.current_line.push(n.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},v.prototype.add_token=function(n){this.__add_space_before_token(),this.current_line.push(n),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},v.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},v.prototype.remove_indent=function(n){for(var r=this.__lines.length;n<r;)this.__lines[n]._remove_indent(),n++;this.current_line._remove_wrap_indent()},v.prototype.trim=function(n){for(n=n===void 0?!1:n,this.current_line.trim();n&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},v.prototype.just_added_newline=function(){return this.current_line.is_empty()},v.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},v.prototype.ensure_empty_line_above=function(n,r){for(var o=this.__lines.length-2;o>=0;){var l=this.__lines[o];if(l.is_empty())break;if(l.item(0).indexOf(n)!==0&&l.item(-1)!==r){this.__lines.splice(o+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}o--}},W.exports.Output=v},function(W){function e(h,v,n,r){this.type=h,this.text=v,this.comments_before=null,this.newlines=n||0,this.whitespace_before=r||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}W.exports.Token=e},function(W,e){var h="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",v="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",n="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",r="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",o="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",l="(?:"+o+"|["+h+n+"])",w="(?:"+o+"|["+v+n+r+"])*";e.identifier=new RegExp(l+w,"g"),e.identifierStart=new RegExp(l),e.identifierMatch=new RegExp("(?:"+o+"|["+v+n+r+"])+");var k=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/;e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r
|
|
|`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")},function(W,e,h){var v=h(6).Options,n=["before-newline","after-newline","preserve-newline"];function r(o){v.call(this,o,"js");var l=this.raw_options.brace_style||null;l==="expand-strict"?this.raw_options.brace_style="expand":l==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var w=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var k=0;k<w.length;k++)w[k]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=w[k];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",n),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}r.prototype=new v,W.exports.Options=r},function(W){function e(n,r){this.raw_options=h(n,r),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(n,r){var o=this.raw_options[n],l=r||[];return typeof o=="object"?o!==null&&typeof o.concat=="function"&&(l=o.concat()):typeof o=="string"&&(l=o.split(/[^a-zA-Z0-9_\/\-]+/)),l},e.prototype._get_boolean=function(n,r){var o=this.raw_options[n],l=o===void 0?!!r:!!o;return l},e.prototype._get_characters=function(n,r){var o=this.raw_options[n],l=r||"";return typeof o=="string"&&(l=o.replace(/\\r/,"\r").replace(/\\n/,`
|
|
`).replace(/\\t/," ")),l},e.prototype._get_number=function(n,r){var o=this.raw_options[n];r=parseInt(r,10),isNaN(r)&&(r=0);var l=parseInt(o,10);return isNaN(l)&&(l=r),l},e.prototype._get_selection=function(n,r,o){var l=this._get_selection_list(n,r,o);if(l.length!==1)throw new Error("Invalid Option Value: The option '"+n+`' can only be one of the following values:
|
|
`+r+`
|
|
You passed in: '`+this.raw_options[n]+"'");return l[0]},e.prototype._get_selection_list=function(n,r,o){if(!r||r.length===0)throw new Error("Selection list cannot be empty.");if(o=o||[r[0]],!this._is_valid_selection(o,r))throw new Error("Invalid Default Value!");var l=this._get_array(n,o);if(!this._is_valid_selection(l,r))throw new Error("Invalid Option Value: The option '"+n+`' can contain only the following values:
|
|
`+r+`
|
|
You passed in: '`+this.raw_options[n]+"'");return l},e.prototype._is_valid_selection=function(n,r){return n.length&&r.length&&!n.some(function(o){return r.indexOf(o)===-1})};function h(n,r){var o={};n=v(n);var l;for(l in n)l!==r&&(o[l]=n[l]);if(r&&n[r])for(l in n[r])o[l]=n[r][l];return o}function v(n){var r={},o;for(o in n){var l=o.replace(/-/g,"_");r[l]=n[o]}return r}W.exports.Options=e,W.exports.normalizeOpts=v,W.exports.mergeOpts=h},function(W,e,h){var v=h(8).InputScanner,n=h(9).Tokenizer,r=h(9).TOKEN,o=h(13).Directives,l=h(4),w=h(12).Pattern,k=h(14).TemplatablePattern;function E(I,B){return B.indexOf(I)!==-1}var g={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},O=new o(/\/\*/,/\*\//),C=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,c=/[0-9]/,s=/[^\d\.]/,x=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),T=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";T=T.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),T="\\?\\.(?!\\d) "+T,T=T.replace(/ /g,"|");var J=new RegExp(T),q="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),G=q.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),H=new RegExp("^(?:"+G.join("|")+")$"),$,p=function(I,B){n.call(this,I,B),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var P=new w(this._input),i=new k(this._input).read_options(this._options);this.__patterns={template:i,identifier:i.starting_with(l.identifier).matching(l.identifierMatch),number:P.matching(C),punct:P.matching(J),comment:P.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:P.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:P.matching(/<!--/),html_comment_end:P.matching(/-->/),include:P.starting_with(/#include/).until_after(l.lineBreak),shebang:P.starting_with(/#!/).until_after(l.lineBreak),xml:P.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:i.until(/['\\\n\r\u2028\u2029]/),double_quote:i.until(/["\\\n\r\u2028\u2029]/),template_text:i.until(/[`\\$]/),template_expression:i.until(/[`}\\]/)}};p.prototype=new n,p.prototype._is_comment=function(I){return I.type===g.COMMENT||I.type===g.BLOCK_COMMENT||I.type===g.UNKNOWN},p.prototype._is_opening=function(I){return I.type===g.START_BLOCK||I.type===g.START_EXPR},p.prototype._is_closing=function(I,B){return(I.type===g.END_BLOCK||I.type===g.END_EXPR)&&B&&(I.text==="]"&&B.text==="["||I.text===")"&&B.text==="("||I.text==="}"&&B.text==="{")},p.prototype._reset=function(){$=!1},p.prototype._get_next_token=function(I,B){var P=null;this._readWhitespace();var i=this._input.peek();return i===null?this._create_token(g.EOF,""):(P=P||this._read_non_javascript(i),P=P||this._read_string(i),P=P||this._read_pair(i,this._input.peek(1)),P=P||this._read_word(I),P=P||this._read_singles(i),P=P||this._read_comment(i),P=P||this._read_regexp(i,I),P=P||this._read_xml(i,I),P=P||this._read_punctuation(),P=P||this._create_token(g.UNKNOWN,this._input.next()),P)},p.prototype._read_word=function(I){var B;if(B=this.__patterns.identifier.read(),B!=="")return B=B.replace(l.allLineBreaks,`
|
|
`),!(I.type===g.DOT||I.type===g.RESERVED&&(I.text==="set"||I.text==="get"))&&H.test(B)?(B==="in"||B==="of")&&(I.type===g.WORD||I.type===g.STRING)?this._create_token(g.OPERATOR,B):this._create_token(g.RESERVED,B):this._create_token(g.WORD,B);if(B=this.__patterns.number.read(),B!=="")return this._create_token(g.WORD,B)},p.prototype._read_singles=function(I){var B=null;return I==="("||I==="["?B=this._create_token(g.START_EXPR,I):I===")"||I==="]"?B=this._create_token(g.END_EXPR,I):I==="{"?B=this._create_token(g.START_BLOCK,I):I==="}"?B=this._create_token(g.END_BLOCK,I):I===";"?B=this._create_token(g.SEMICOLON,I):I==="."&&s.test(this._input.peek(1))?B=this._create_token(g.DOT,I):I===","&&(B=this._create_token(g.COMMA,I)),B&&this._input.next(),B},p.prototype._read_pair=function(I,B){var P=null;return I==="#"&&B==="{"&&(P=this._create_token(g.START_BLOCK,I+B)),P&&(this._input.next(),this._input.next()),P},p.prototype._read_punctuation=function(){var I=this.__patterns.punct.read();if(I!=="")return I==="="?this._create_token(g.EQUALS,I):I==="?."?this._create_token(g.DOT,I):this._create_token(g.OPERATOR,I)},p.prototype._read_non_javascript=function(I){var B="";if(I==="#"){if(this._is_first_token()&&(B=this.__patterns.shebang.read(),B))return this._create_token(g.UNKNOWN,B.trim()+`
|
|
`);if(B=this.__patterns.include.read(),B)return this._create_token(g.UNKNOWN,B.trim()+`
|
|
`);I=this._input.next();var P="#";if(this._input.hasNext()&&this._input.testChar(c)){do I=this._input.next(),P+=I;while(this._input.hasNext()&&I!=="#"&&I!=="=");return I==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(P+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(P+="{}",this._input.next(),this._input.next())),this._create_token(g.WORD,P)}this._input.back()}else if(I==="<"&&this._is_first_token()){if(B=this.__patterns.html_comment_start.read(),B){for(;this._input.hasNext()&&!this._input.testChar(l.newline);)B+=this._input.next();return $=!0,this._create_token(g.COMMENT,B)}}else if($&&I==="-"&&(B=this.__patterns.html_comment_end.read(),B))return $=!1,this._create_token(g.COMMENT,B);return null},p.prototype._read_comment=function(I){var B=null;if(I==="/"){var P="";if(this._input.peek(1)==="*"){P=this.__patterns.block_comment.read();var i=O.get_directives(P);i&&i.ignore==="start"&&(P+=O.readIgnored(this._input)),P=P.replace(l.allLineBreaks,`
|
|
`),B=this._create_token(g.BLOCK_COMMENT,P),B.directives=i}else this._input.peek(1)==="/"&&(P=this.__patterns.comment.read(),B=this._create_token(g.COMMENT,P))}return B},p.prototype._read_string=function(I){if(I==="`"||I==="'"||I==='"'){var B=this._input.next();return this.has_char_escapes=!1,I==="`"?B+=this._read_string_recursive("`",!0,"${"):B+=this._read_string_recursive(I),this.has_char_escapes&&this._options.unescape_strings&&(B=z(B)),this._input.peek()===I&&(B+=this._input.next()),B=B.replace(l.allLineBreaks,`
|
|
`),this._create_token(g.STRING,B)}return null},p.prototype._allow_regexp_or_xml=function(I){return I.type===g.RESERVED&&E(I.text,["return","case","throw","else","do","typeof","yield"])||I.type===g.END_EXPR&&I.text===")"&&I.opened.previous.type===g.RESERVED&&E(I.opened.previous.text,["if","while","for"])||E(I.type,[g.COMMENT,g.START_EXPR,g.START_BLOCK,g.START,g.END_BLOCK,g.OPERATOR,g.EQUALS,g.EOF,g.SEMICOLON,g.COMMA])},p.prototype._read_regexp=function(I,B){if(I==="/"&&this._allow_regexp_or_xml(B)){for(var P=this._input.next(),i=!1,a=!1;this._input.hasNext()&&(i||a||this._input.peek()!==I)&&!this._input.testChar(l.newline);)P+=this._input.peek(),i?i=!1:(i=this._input.peek()==="\\",this._input.peek()==="["?a=!0:this._input.peek()==="]"&&(a=!1)),this._input.next();return this._input.peek()===I&&(P+=this._input.next(),P+=this._input.read(l.identifier)),this._create_token(g.STRING,P)}return null},p.prototype._read_xml=function(I,B){if(this._options.e4x&&I==="<"&&this._allow_regexp_or_xml(B)){var P="",i=this.__patterns.xml.read_match();if(i){for(var a=i[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),_=a.indexOf("{")===0,F=0;i;){var te=!!i[1],ie=i[2],ae=!!i[i.length-1]||ie.slice(0,8)==="![CDATA[";if(!ae&&(ie===a||_&&ie.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(te?--F:++F),P+=i[0],F<=0)break;i=this.__patterns.xml.read_match()}return i||(P+=this._input.match(/[\s\S]*/g)[0]),P=P.replace(l.allLineBreaks,`
|
|
`),this._create_token(g.STRING,P)}}return null};function z(I){for(var B="",P=0,i=new v(I),a=null;i.hasNext();)if(a=i.match(/([\s]|[^\\]|\\\\)+/g),a&&(B+=a[0]),i.peek()==="\\"){if(i.next(),i.peek()==="x")a=i.match(/x([0-9A-Fa-f]{2})/g);else if(i.peek()==="u")a=i.match(/u([0-9A-Fa-f]{4})/g),a||(a=i.match(/u\{([0-9A-Fa-f]+)\}/g));else{B+="\\",i.hasNext()&&(B+=i.next());continue}if(!a||(P=parseInt(a[1],16),P>126&&P<=255&&a[0].indexOf("x")===0))return I;P>=0&&P<32||P>1114111?B+="\\"+a[0]:P===34||P===39||P===92?B+="\\"+String.fromCharCode(P):B+=String.fromCharCode(P)}return B}p.prototype._read_string_recursive=function(I,B,P){var i,a;I==="'"?a=this.__patterns.single_quote:I==='"'?a=this.__patterns.double_quote:I==="`"?a=this.__patterns.template_text:I==="}"&&(a=this.__patterns.template_expression);for(var _=a.read(),F="";this._input.hasNext();){if(F=this._input.next(),F===I||!B&&l.newline.test(F)){this._input.back();break}else F==="\\"&&this._input.hasNext()?(i=this._input.peek(),i==="x"||i==="u"?this.has_char_escapes=!0:i==="\r"&&this._input.peek(1)===`
|
|
`&&this._input.next(),F+=this._input.next()):P&&(P==="${"&&F==="$"&&this._input.peek()==="{"&&(F+=this._input.next()),P===F&&(I==="`"?F+=this._read_string_recursive("}",B,"`"):F+=this._read_string_recursive("`",B,"${"),this._input.hasNext()&&(F+=this._input.next())));F+=a.read(),_+=F}return _},W.exports.Tokenizer=p,W.exports.TOKEN=g,W.exports.positionable_operators=x.slice(),W.exports.line_starters=q.slice()},function(W){var e=RegExp.prototype.hasOwnProperty("sticky");function h(v){this.__input=v||"",this.__input_length=this.__input.length,this.__position=0}h.prototype.restart=function(){this.__position=0},h.prototype.back=function(){this.__position>0&&(this.__position-=1)},h.prototype.hasNext=function(){return this.__position<this.__input_length},h.prototype.next=function(){var v=null;return this.hasNext()&&(v=this.__input.charAt(this.__position),this.__position+=1),v},h.prototype.peek=function(v){var n=null;return v=v||0,v+=this.__position,v>=0&&v<this.__input_length&&(n=this.__input.charAt(v)),n},h.prototype.__match=function(v,n){v.lastIndex=n;var r=v.exec(this.__input);return r&&!(e&&v.sticky)&&r.index!==n&&(r=null),r},h.prototype.test=function(v,n){return n=n||0,n+=this.__position,n>=0&&n<this.__input_length?!!this.__match(v,n):!1},h.prototype.testChar=function(v,n){var r=this.peek(n);return v.lastIndex=0,r!==null&&v.test(r)},h.prototype.match=function(v){var n=this.__match(v,this.__position);return n?this.__position+=n[0].length:n=null,n},h.prototype.read=function(v,n,r){var o="",l;return v&&(l=this.match(v),l&&(o+=l[0])),n&&(l||!v)&&(o+=this.readUntil(n,r)),o},h.prototype.readUntil=function(v,n){var r="",o=this.__position;v.lastIndex=this.__position;var l=v.exec(this.__input);return l?(o=l.index,n&&(o+=l[0].length)):o=this.__input_length,r=this.__input.substring(this.__position,o),this.__position=o,r},h.prototype.readUntilAfter=function(v){return this.readUntil(v,!0)},h.prototype.get_regexp=function(v,n){var r=null,o="g";return n&&e&&(o="y"),typeof v=="string"&&v!==""?r=new RegExp(v,o):v&&(r=new RegExp(v.source,o)),r},h.prototype.get_literal_regexp=function(v){return RegExp(v.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},h.prototype.peekUntilAfter=function(v){var n=this.__position,r=this.readUntilAfter(v);return this.__position=n,r},h.prototype.lookBack=function(v){var n=this.__position-1;return n>=v.length&&this.__input.substring(n-v.length,n).toLowerCase()===v},W.exports.InputScanner=h},function(W,e,h){var v=h(8).InputScanner,n=h(3).Token,r=h(10).TokenStream,o=h(11).WhitespacePattern,l={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},w=function(k,E){this._input=new v(k),this._options=E||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new o(this._input)};w.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var k,E=new n(l.START,""),g=null,O=[],C=new r;E.type!==l.EOF;){for(k=this._get_next_token(E,g);this._is_comment(k);)C.add(k),k=this._get_next_token(E,g);C.isEmpty()||(k.comments_before=C,C=new r),k.parent=g,this._is_opening(k)?(O.push(g),g=k):g&&this._is_closing(k,g)&&(k.opened=g,g.closed=k,g=O.pop(),k.parent=g),k.previous=E,E.next=k,this.__tokens.add(k),E=k}return this.__tokens},w.prototype._is_first_token=function(){return this.__tokens.isEmpty()},w.prototype._reset=function(){},w.prototype._get_next_token=function(k,E){this._readWhitespace();var g=this._input.read(/.+/g);return g?this._create_token(l.RAW,g):this._create_token(l.EOF,"")},w.prototype._is_comment=function(k){return!1},w.prototype._is_opening=function(k){return!1},w.prototype._is_closing=function(k,E){return!1},w.prototype._create_token=function(k,E){var g=new n(k,E,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return g},w.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},W.exports.Tokenizer=w,W.exports.TOKEN=l},function(W){function e(h){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=h}e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return this.__tokens_length===0},e.prototype.hasNext=function(){return this.__position<this.__tokens_length},e.prototype.next=function(){var h=null;return this.hasNext()&&(h=this.__tokens[this.__position],this.__position+=1),h},e.prototype.peek=function(h){var v=null;return h=h||0,h+=this.__position,h>=0&&h<this.__tokens_length&&(v=this.__tokens[h]),v},e.prototype.add=function(h){this.__parent_token&&(h.parent=this.__parent_token),this.__tokens.push(h),this.__tokens_length+=1},W.exports.TokenStream=e},function(W,e,h){var v=h(12).Pattern;function n(r,o){v.call(this,r,o),o?this._line_regexp=this._input.get_regexp(o._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}n.prototype=new v,n.prototype.__set_whitespace_patterns=function(r,o){r+="\\t ",o+="\\n\\r",this._match_pattern=this._input.get_regexp("["+r+o+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+o+"]")},n.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var r=this._input.read(this._match_pattern);if(r===" ")this.whitespace_before_token=" ";else if(r){var o=this.__split(this._newline_regexp,r);this.newline_count=o.length-1,this.whitespace_before_token=o[this.newline_count]}return r},n.prototype.matching=function(r,o){var l=this._create();return l.__set_whitespace_patterns(r,o),l._update(),l},n.prototype._create=function(){return new n(this._input,this)},n.prototype.__split=function(r,o){r.lastIndex=0;for(var l=0,w=[],k=r.exec(o);k;)w.push(o.substring(l,k.index)),l=k.index+k[0].length,k=r.exec(o);return l<o.length?w.push(o.substring(l,o.length)):w.push(""),w},W.exports.WhitespacePattern=n},function(W){function e(h,v){this._input=h,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,v&&(this._starting_pattern=this._input.get_regexp(v._starting_pattern,!0),this._match_pattern=this._input.get_regexp(v._match_pattern,!0),this._until_pattern=this._input.get_regexp(v._until_pattern),this._until_after=v._until_after)}e.prototype.read=function(){var h=this._input.read(this._starting_pattern);return(!this._starting_pattern||h)&&(h+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),h},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(h){var v=this._create();return v._until_after=!0,v._until_pattern=this._input.get_regexp(h),v._update(),v},e.prototype.until=function(h){var v=this._create();return v._until_after=!1,v._until_pattern=this._input.get_regexp(h),v._update(),v},e.prototype.starting_with=function(h){var v=this._create();return v._starting_pattern=this._input.get_regexp(h,!0),v._update(),v},e.prototype.matching=function(h){var v=this._create();return v._match_pattern=this._input.get_regexp(h,!0),v._update(),v},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},W.exports.Pattern=e},function(W){function e(h,v){h=typeof h=="string"?h:h.source,v=typeof v=="string"?v:v.source,this.__directives_block_pattern=new RegExp(h+/ beautify( \w+[:]\w+)+ /.source+v,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(h+/\sbeautify\signore:end\s/.source+v,"g")}e.prototype.get_directives=function(h){if(!h.match(this.__directives_block_pattern))return null;var v={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(h);n;)v[n[1]]=n[2],n=this.__directive_pattern.exec(h);return v},e.prototype.readIgnored=function(h){return h.readUntilAfter(this.__directives_end_ignore_pattern)},W.exports.Directives=e},function(W,e,h){var v=h(12).Pattern,n={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(o,l){v.call(this,o,l),this.__template_pattern=null,this._disabled=Object.assign({},n),this._excluded=Object.assign({},n),l&&(this.__template_pattern=this._input.get_regexp(l.__template_pattern),this._excluded=Object.assign(this._excluded,l._excluded),this._disabled=Object.assign(this._disabled,l._disabled));var w=new v(o);this.__patterns={handlebars_comment:w.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:w.starting_with(/{{{/).until_after(/}}}/),handlebars:w.starting_with(/{{/).until_after(/}}/),php:w.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:w.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:w.starting_with(/{%/).until_after(/%}/),django_value:w.starting_with(/{{/).until_after(/}}/),django_comment:w.starting_with(/{#/).until_after(/#}/),smarty:w.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:w.starting_with(/{\*/).until_after(/\*}/),smarty_literal:w.starting_with(/{literal}/).until_after(/{\/literal}/)}}r.prototype=new v,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(o){var l=this._create();return l._disabled[o]=!0,l._update(),l},r.prototype.read_options=function(o){var l=this._create();for(var w in n)l._disabled[w]=o.templating.indexOf(w)===-1;return l._update(),l},r.prototype.exclude=function(o){var l=this._create();return l._excluded[o]=!0,l._update(),l},r.prototype.read=function(){var o="";this._match_pattern?o=this._input.read(this._starting_pattern):o=this._input.read(this._starting_pattern,this.__template_pattern);for(var l=this._read_template();l;)this._match_pattern?l+=this._input.read(this._match_pattern):l+=this._input.readUntil(this.__template_pattern),o+=l,l=this._read_template();return this._until_after&&(o+=this._input.readUntilAfter(this._until_pattern)),o},r.prototype.__set_templated_pattern=function(){var o=[];this._disabled.php||o.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||o.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.angular||o.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||o.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(o.push(this.__patterns.django._starting_pattern.source),o.push(this.__patterns.django_value._starting_pattern.source),o.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||o.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&o.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+o.join("|")+")")},r.prototype._read_template=function(){var o="",l=this._input.peek();if(l==="<"){var w=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&w==="?"&&(o=o||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&w==="%"&&(o=o||this.__patterns.erb.read())}else l==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(o=o||this.__patterns.handlebars_comment.read(),o=o||this.__patterns.handlebars_unescaped.read(),o=o||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(o=o||this.__patterns.django_value.read()),this._excluded.django||(o=o||this.__patterns.django_comment.read(),o=o||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(o=o||this.__patterns.smarty_comment.read(),o=o||this.__patterns.smarty_literal.read(),o=o||this.__patterns.smarty.read()));return o},W.exports.TemplatablePattern=r}],Z={};function K(W){var e=Z[W];if(e!==void 0)return e.exports;var h=Z[W]={exports:{}};return V[W](h,h.exports,K),h.exports}var u=K(0);m=u})();var D=m;t=[],b=function(){return{js_beautify:D}}.apply(fe,t),b!==void 0&&(We.exports=b)})()},75918:function(We,fe,t){"use strict";t.d(fe,{Wi:function(){return K},Z0:function(){return u},aU:function(){return Z},eZ:function(){return e},wY:function(){return W}});var b=t(4348),m=t(69323),D=t(13268),V=function(h,v,n,r){function o(l){return l instanceof n?l:new n(function(w){w(l)})}return new(n||(n=Promise))(function(l,w){function k(O){try{g(r.next(O))}catch(C){w(C)}}function E(O){try{g(r.throw(O))}catch(C){w(C)}}function g(O){O.done?l(O.value):o(O.value).then(k,E)}g((r=r.apply(h,v||[])).next())})};class Z extends m.JT{constructor(v,n="",r="",o=!0,l){super(),this._onDidChange=this._register(new b.Q5),this.onDidChange=this._onDidChange.event,this._enabled=!0,this._id=v,this._label=n,this._cssClass=r,this._enabled=o,this._actionCallback=l}get id(){return this._id}get label(){return this._label}set label(v){this._setLabel(v)}_setLabel(v){this._label!==v&&(this._label=v,this._onDidChange.fire({label:v}))}get tooltip(){return this._tooltip||""}set tooltip(v){this._setTooltip(v)}_setTooltip(v){this._tooltip!==v&&(this._tooltip=v,this._onDidChange.fire({tooltip:v}))}get class(){return this._cssClass}set class(v){this._setClass(v)}_setClass(v){this._cssClass!==v&&(this._cssClass=v,this._onDidChange.fire({class:v}))}get enabled(){return this._enabled}set enabled(v){this._setEnabled(v)}_setEnabled(v){this._enabled!==v&&(this._enabled=v,this._onDidChange.fire({enabled:v}))}get checked(){return this._checked}set checked(v){this._setChecked(v)}_setChecked(v){this._checked!==v&&(this._checked=v,this._onDidChange.fire({checked:v}))}run(v,n){return V(this,void 0,void 0,function*(){this._actionCallback&&(yield this._actionCallback(v))})}}class K extends m.JT{constructor(){super(...arguments),this._onBeforeRun=this._register(new b.Q5),this.onBeforeRun=this._onBeforeRun.event,this._onDidRun=this._register(new b.Q5),this.onDidRun=this._onDidRun.event}run(v,n){return V(this,void 0,void 0,function*(){if(!v.enabled)return;this._onBeforeRun.fire({action:v});let r;try{yield this.runAction(v,n)}catch(o){r=o}this._onDidRun.fire({action:v,error:r})})}runAction(v,n){return V(this,void 0,void 0,function*(){yield v.run(n)})}}class u extends Z{constructor(v){super(u.ID,v,v?"separator text":"separator"),this.checked=!1,this.enabled=!1}}u.ID="vs.actions.separator";class W{constructor(v,n,r,o){this.tooltip="",this.enabled=!0,this.checked=!1,this.id=v,this.label=n,this.class=o,this._actions=r}get actions(){return this._actions}dispose(){}run(){return V(this,void 0,void 0,function*(){})}}class e extends Z{constructor(){super(e.ID,D.N("submenu.empty","(empty)"),void 0,!1)}}e.ID="vs.actions.empty"},76068:function(We,fe,t){"use strict";t.d(fe,{ok:function(){return b}});function b(m,D){if(!m)throw new Error(D?`Assertion failed (${D})`:"Assertion Failed")}},52615:function(We,fe,t){"use strict";t.d(fe,{CM:function(){return Z},JL:function(){return K},dT:function(){return W},fK:function(){return V},lA:function(){return u}});var b=t(4348);class m{constructor(){this._icons=new Map,this._onDidRegister=new b.Q5}add(h){const v=this._icons.get(h.id);v?h.description?v.description=h.description:console.error(`Duplicate registration of codicon ${h.id}`):(this._icons.set(h.id,h),this._onDidRegister.fire(h))}get(h){return this._icons.get(h)}get all(){return this._icons.values()}get onDidRegister(){return this._onDidRegister.event}}const D=new m,V=D;function Z(e,h){return new u(e,h)}function K(e){return e?e.replace(/\$\((.*?)\)/g,(h,v)=>` ${v} `).trim():""}class u{constructor(h,v,n){this.id=h,this.definition=v,this.description=n,D.add(this)}get classNames(){return"codicon codicon-"+this.id}get classNamesArray(){return["codicon","codicon-"+this.id]}get cssSelector(){return".codicon.codicon-"+this.id}}var W;(function(e){e.iconNameSegment="[A-Za-z0-9]+",e.iconNameExpression="[A-Za-z0-9\\-]+",e.iconModifierExpression="~[A-Za-z]+";const h=new RegExp(`^(${e.iconNameExpression})(${e.iconModifierExpression})?$`);function v(o){if(o instanceof u)return["codicon","codicon-"+o.id];const l=h.exec(o.id);if(!l)return v(u.error);let[,w,k]=l;const E=["codicon","codicon-"+w];return k&&E.push("codicon-modifier-"+k.substr(1)),E}e.asClassNameArray=v;function n(o){return v(o).join(" ")}e.asClassName=n;function r(o){return"."+v(o).join(".")}e.asCSSSelector=r})(W||(W={})),function(e){e.add=new e("add",{fontCharacter:"\\ea60"}),e.plus=new e("plus",e.add.definition),e.gistNew=new e("gist-new",e.add.definition),e.repoCreate=new e("repo-create",e.add.definition),e.lightbulb=new e("lightbulb",{fontCharacter:"\\ea61"}),e.lightBulb=new e("light-bulb",{fontCharacter:"\\ea61"}),e.repo=new e("repo",{fontCharacter:"\\ea62"}),e.repoDelete=new e("repo-delete",{fontCharacter:"\\ea62"}),e.gistFork=new e("gist-fork",{fontCharacter:"\\ea63"}),e.repoForked=new e("repo-forked",{fontCharacter:"\\ea63"}),e.gitPullRequest=new e("git-pull-request",{fontCharacter:"\\ea64"}),e.gitPullRequestAbandoned=new e("git-pull-request-abandoned",{fontCharacter:"\\ea64"}),e.recordKeys=new e("record-keys",{fontCharacter:"\\ea65"}),e.keyboard=new e("keyboard",{fontCharacter:"\\ea65"}),e.tag=new e("tag",{fontCharacter:"\\ea66"}),e.tagAdd=new e("tag-add",{fontCharacter:"\\ea66"}),e.tagRemove=new e("tag-remove",{fontCharacter:"\\ea66"}),e.person=new e("person",{fontCharacter:"\\ea67"}),e.personFollow=new e("person-follow",{fontCharacter:"\\ea67"}),e.personOutline=new e("person-outline",{fontCharacter:"\\ea67"}),e.personFilled=new e("person-filled",{fontCharacter:"\\ea67"}),e.gitBranch=new e("git-branch",{fontCharacter:"\\ea68"}),e.gitBranchCreate=new e("git-branch-create",{fontCharacter:"\\ea68"}),e.gitBranchDelete=new e("git-branch-delete",{fontCharacter:"\\ea68"}),e.sourceControl=new e("source-control",{fontCharacter:"\\ea68"}),e.mirror=new e("mirror",{fontCharacter:"\\ea69"}),e.mirrorPublic=new e("mirror-public",{fontCharacter:"\\ea69"}),e.star=new e("star",{fontCharacter:"\\ea6a"}),e.starAdd=new e("star-add",{fontCharacter:"\\ea6a"}),e.starDelete=new e("star-delete",{fontCharacter:"\\ea6a"}),e.starEmpty=new e("star-empty",{fontCharacter:"\\ea6a"}),e.comment=new e("comment",{fontCharacter:"\\ea6b"}),e.commentAdd=new e("comment-add",{fontCharacter:"\\ea6b"}),e.alert=new e("alert",{fontCharacter:"\\ea6c"}),e.warning=new e("warning",{fontCharacter:"\\ea6c"}),e.search=new e("search",{fontCharacter:"\\ea6d"}),e.searchSave=new e("search-save",{fontCharacter:"\\ea6d"}),e.logOut=new e("log-out",{fontCharacter:"\\ea6e"}),e.signOut=new e("sign-out",{fontCharacter:"\\ea6e"}),e.logIn=new e("log-in",{fontCharacter:"\\ea6f"}),e.signIn=new e("sign-in",{fontCharacter:"\\ea6f"}),e.eye=new e("eye",{fontCharacter:"\\ea70"}),e.eyeUnwatch=new e("eye-unwatch",{fontCharacter:"\\ea70"}),e.eyeWatch=new e("eye-watch",{fontCharacter:"\\ea70"}),e.circleFilled=new e("circle-filled",{fontCharacter:"\\ea71"}),e.primitiveDot=new e("primitive-dot",{fontCharacter:"\\ea71"}),e.closeDirty=new e("close-dirty",{fontCharacter:"\\ea71"}),e.debugBreakpoint=new e("debug-breakpoint",{fontCharacter:"\\ea71"}),e.debugBreakpointDisabled=new e("debug-breakpoint-disabled",{fontCharacter:"\\ea71"}),e.debugHint=new e("debug-hint",{fontCharacter:"\\ea71"}),e.primitiveSquare=new e("primitive-square",{fontCharacter:"\\ea72"}),e.edit=new e("edit",{fontCharacter:"\\ea73"}),e.pencil=new e("pencil",{fontCharacter:"\\ea73"}),e.info=new e("info",{fontCharacter:"\\ea74"}),e.issueOpened=new e("issue-opened",{fontCharacter:"\\ea74"}),e.gistPrivate=new e("gist-private",{fontCharacter:"\\ea75"}),e.gitForkPrivate=new e("git-fork-private",{fontCharacter:"\\ea75"}),e.lock=new e("lock",{fontCharacter:"\\ea75"}),e.mirrorPrivate=new e("mirror-private",{fontCharacter:"\\ea75"}),e.close=new e("close",{fontCharacter:"\\ea76"}),e.removeClose=new e("remove-close",{fontCharacter:"\\ea76"}),e.x=new e("x",{fontCharacter:"\\ea76"}),e.repoSync=new e("repo-sync",{fontCharacter:"\\ea77"}),e.sync=new e("sync",{fontCharacter:"\\ea77"}),e.clone=new e("clone",{fontCharacter:"\\ea78"}),e.desktopDownload=new e("desktop-download",{fontCharacter:"\\ea78"}),e.beaker=new e("beaker",{fontCharacter:"\\ea79"}),e.microscope=new e("microscope",{fontCharacter:"\\ea79"}),e.vm=new e("vm",{fontCharacter:"\\ea7a"}),e.deviceDesktop=new e("device-desktop",{fontCharacter:"\\ea7a"}),e.file=new e("file",{fontCharacter:"\\ea7b"}),e.fileText=new e("file-text",{fontCharacter:"\\ea7b"}),e.more=new e("more",{fontCharacter:"\\ea7c"}),e.ellipsis=new e("ellipsis",{fontCharacter:"\\ea7c"}),e.kebabHorizontal=new e("kebab-horizontal",{fontCharacter:"\\ea7c"}),e.mailReply=new e("mail-reply",{fontCharacter:"\\ea7d"}),e.reply=new e("reply",{fontCharacter:"\\ea7d"}),e.organization=new e("organization",{fontCharacter:"\\ea7e"}),e.organizationFilled=new e("organization-filled",{fontCharacter:"\\ea7e"}),e.organizationOutline=new e("organization-outline",{fontCharacter:"\\ea7e"}),e.newFile=new e("new-file",{fontCharacter:"\\ea7f"}),e.fileAdd=new e("file-add",{fontCharacter:"\\ea7f"}),e.newFolder=new e("new-folder",{fontCharacter:"\\ea80"}),e.fileDirectoryCreate=new e("file-directory-create",{fontCharacter:"\\ea80"}),e.trash=new e("trash",{fontCharacter:"\\ea81"}),e.trashcan=new e("trashcan",{fontCharacter:"\\ea81"}),e.history=new e("history",{fontCharacter:"\\ea82"}),e.clock=new e("clock",{fontCharacter:"\\ea82"}),e.folder=new e("folder",{fontCharacter:"\\ea83"}),e.fileDirectory=new e("file-directory",{fontCharacter:"\\ea83"}),e.symbolFolder=new e("symbol-folder",{fontCharacter:"\\ea83"}),e.logoGithub=new e("logo-github",{fontCharacter:"\\ea84"}),e.markGithub=new e("mark-github",{fontCharacter:"\\ea84"}),e.github=new e("github",{fontCharacter:"\\ea84"}),e.terminal=new e("terminal",{fontCharacter:"\\ea85"}),e.console=new e("console",{fontCharacter:"\\ea85"}),e.repl=new e("repl",{fontCharacter:"\\ea85"}),e.zap=new e("zap",{fontCharacter:"\\ea86"}),e.symbolEvent=new e("symbol-event",{fontCharacter:"\\ea86"}),e.error=new e("error",{fontCharacter:"\\ea87"}),e.stop=new e("stop",{fontCharacter:"\\ea87"}),e.variable=new e("variable",{fontCharacter:"\\ea88"}),e.symbolVariable=new e("symbol-variable",{fontCharacter:"\\ea88"}),e.array=new e("array",{fontCharacter:"\\ea8a"}),e.symbolArray=new e("symbol-array",{fontCharacter:"\\ea8a"}),e.symbolModule=new e("symbol-module",{fontCharacter:"\\ea8b"}),e.symbolPackage=new e("symbol-package",{fontCharacter:"\\ea8b"}),e.symbolNamespace=new e("symbol-namespace",{fontCharacter:"\\ea8b"}),e.symbolObject=new e("symbol-object",{fontCharacter:"\\ea8b"}),e.symbolMethod=new e("symbol-method",{fontCharacter:"\\ea8c"}),e.symbolFunction=new e("symbol-function",{fontCharacter:"\\ea8c"}),e.symbolConstructor=new e("symbol-constructor",{fontCharacter:"\\ea8c"}),e.symbolBoolean=new e("symbol-boolean",{fontCharacter:"\\ea8f"}),e.symbolNull=new e("symbol-null",{fontCharacter:"\\ea8f"}),e.symbolNumeric=new e("symbol-numeric",{fontCharacter:"\\ea90"}),e.symbolNumber=new e("symbol-number",{fontCharacter:"\\ea90"}),e.symbolStructure=new e("symbol-structure",{fontCharacter:"\\ea91"}),e.symbolStruct=new e("symbol-struct",{fontCharacter:"\\ea91"}),e.symbolParameter=new e("symbol-parameter",{fontCharacter:"\\ea92"}),e.symbolTypeParameter=new e("symbol-type-parameter",{fontCharacter:"\\ea92"}),e.symbolKey=new e("symbol-key",{fontCharacter:"\\ea93"}),e.symbolText=new e("symbol-text",{fontCharacter:"\\ea93"}),e.symbolReference=new e("symbol-reference",{fontCharacter:"\\ea94"}),e.goToFile=new e("go-to-file",{fontCharacter:"\\ea94"}),e.symbolEnum=new e("symbol-enum",{fontCharacter:"\\ea95"}),e.symbolValue=new e("symbol-value",{fontCharacter:"\\ea95"}),e.symbolRuler=new e("symbol-ruler",{fontCharacter:"\\ea96"}),e.symbolUnit=new e("symbol-unit",{fontCharacter:"\\ea96"}),e.activateBreakpoints=new e("activate-breakpoints",{fontCharacter:"\\ea97"}),e.archive=new e("archive",{fontCharacter:"\\ea98"}),e.arrowBoth=new e("arrow-both",{fontCharacter:"\\ea99"}),e.arrowDown=new e("arrow-down",{fontCharacter:"\\ea9a"}),e.arrowLeft=new e("arrow-left",{fontCharacter:"\\ea9b"}),e.arrowRight=new e("arrow-right",{fontCharacter:"\\ea9c"}),e.arrowSmallDown=new e("arrow-small-down",{fontCharacter:"\\ea9d"}),e.arrowSmallLeft=new e("arrow-small-left",{fontCharacter:"\\ea9e"}),e.arrowSmallRight=new e("arrow-small-right",{fontCharacter:"\\ea9f"}),e.arrowSmallUp=new e("arrow-small-up",{fontCharacter:"\\eaa0"}),e.arrowUp=new e("arrow-up",{fontCharacter:"\\eaa1"}),e.bell=new e("bell",{fontCharacter:"\\eaa2"}),e.bold=new e("bold",{fontCharacter:"\\eaa3"}),e.book=new e("book",{fontCharacter:"\\eaa4"}),e.bookmark=new e("bookmark",{fontCharacter:"\\eaa5"}),e.debugBreakpointConditionalUnverified=new e("debug-breakpoint-conditional-unverified",{fontCharacter:"\\eaa6"}),e.debugBreakpointConditional=new e("debug-breakpoint-conditional",{fontCharacter:"\\eaa7"}),e.debugBreakpointConditionalDisabled=new e("debug-breakpoint-conditional-disabled",{fontCharacter:"\\eaa7"}),e.debugBreakpointDataUnverified=new e("debug-breakpoint-data-unverified",{fontCharacter:"\\eaa8"}),e.debugBreakpointData=new e("debug-breakpoint-data",{fontCharacter:"\\eaa9"}),e.debugBreakpointDataDisabled=new e("debug-breakpoint-data-disabled",{fontCharacter:"\\eaa9"}),e.debugBreakpointLogUnverified=new e("debug-breakpoint-log-unverified",{fontCharacter:"\\eaaa"}),e.debugBreakpointLog=new e("debug-breakpoint-log",{fontCharacter:"\\eaab"}),e.debugBreakpointLogDisabled=new e("debug-breakpoint-log-disabled",{fontCharacter:"\\eaab"}),e.briefcase=new e("briefcase",{fontCharacter:"\\eaac"}),e.broadcast=new e("broadcast",{fontCharacter:"\\eaad"}),e.browser=new e("browser",{fontCharacter:"\\eaae"}),e.bug=new e("bug",{fontCharacter:"\\eaaf"}),e.calendar=new e("calendar",{fontCharacter:"\\eab0"}),e.caseSensitive=new e("case-sensitive",{fontCharacter:"\\eab1"}),e.check=new e("check",{fontCharacter:"\\eab2"}),e.checklist=new e("checklist",{fontCharacter:"\\eab3"}),e.chevronDown=new e("chevron-down",{fontCharacter:"\\eab4"}),e.dropDownButton=new e("drop-down-button",e.chevronDown.definition),e.chevronLeft=new e("chevron-left",{fontCharacter:"\\eab5"}),e.chevronRight=new e("chevron-right",{fontCharacter:"\\eab6"}),e.chevronUp=new e("chevron-up",{fontCharacter:"\\eab7"}),e.chromeClose=new e("chrome-close",{fontCharacter:"\\eab8"}),e.chromeMaximize=new e("chrome-maximize",{fontCharacter:"\\eab9"}),e.chromeMinimize=new e("chrome-minimize",{fontCharacter:"\\eaba"}),e.chromeRestore=new e("chrome-restore",{fontCharacter:"\\eabb"}),e.circleOutline=new e("circle-outline",{fontCharacter:"\\eabc"}),e.debugBreakpointUnverified=new e("debug-breakpoint-unverified",{fontCharacter:"\\eabc"}),e.circleSlash=new e("circle-slash",{fontCharacter:"\\eabd"}),e.circuitBoard=new e("circuit-board",{fontCharacter:"\\eabe"}),e.clearAll=new e("clear-all",{fontCharacter:"\\eabf"}),e.clippy=new e("clippy",{fontCharacter:"\\eac0"}),e.closeAll=new e("close-all",{fontCharacter:"\\eac1"}),e.cloudDownload=new e("cloud-download",{fontCharacter:"\\eac2"}),e.cloudUpload=new e("cloud-upload",{fontCharacter:"\\eac3"}),e.code=new e("code",{fontCharacter:"\\eac4"}),e.collapseAll=new e("collapse-all",{fontCharacter:"\\eac5"}),e.colorMode=new e("color-mode",{fontCharacter:"\\eac6"}),e.commentDiscussion=new e("comment-discussion",{fontCharacter:"\\eac7"}),e.compareChanges=new e("compare-changes",{fontCharacter:"\\eafd"}),e.creditCard=new e("credit-card",{fontCharacter:"\\eac9"}),e.dash=new e("dash",{fontCharacter:"\\eacc"}),e.dashboard=new e("dashboard",{fontCharacter:"\\eacd"}),e.database=new e("database",{fontCharacter:"\\eace"}),e.debugContinue=new e("debug-continue",{fontCharacter:"\\eacf"}),e.debugDisconnect=new e("debug-disconnect",{fontCharacter:"\\ead0"}),e.debugPause=new e("debug-pause",{fontCharacter:"\\ead1"}),e.debugRestart=new e("debug-restart",{fontCharacter:"\\ead2"}),e.debugStart=new e("debug-start",{fontCharacter:"\\ead3"}),e.debugStepInto=new e("debug-step-into",{fontCharacter:"\\ead4"}),e.debugStepOut=new e("debug-step-out",{fontCharacter:"\\ead5"}),e.debugStepOver=new e("debug-step-over",{fontCharacter:"\\ead6"}),e.debugStop=new e("debug-stop",{fontCharacter:"\\ead7"}),e.debug=new e("debug",{fontCharacter:"\\ead8"}),e.deviceCameraVideo=new e("device-camera-video",{fontCharacter:"\\ead9"}),e.deviceCamera=new e("device-camera",{fontCharacter:"\\eada"}),e.deviceMobile=new e("device-mobile",{fontCharacter:"\\eadb"}),e.diffAdded=new e("diff-added",{fontCharacter:"\\eadc"}),e.diffIgnored=new e("diff-ignored",{fontCharacter:"\\eadd"}),e.diffModified=new e("diff-modified",{fontCharacter:"\\eade"}),e.diffRemoved=new e("diff-removed",{fontCharacter:"\\eadf"}),e.diffRenamed=new e("diff-renamed",{fontCharacter:"\\eae0"}),e.diff=new e("diff",{fontCharacter:"\\eae1"}),e.discard=new e("discard",{fontCharacter:"\\eae2"}),e.editorLayout=new e("editor-layout",{fontCharacter:"\\eae3"}),e.emptyWindow=new e("empty-window",{fontCharacter:"\\eae4"}),e.exclude=new e("exclude",{fontCharacter:"\\eae5"}),e.extensions=new e("extensions",{fontCharacter:"\\eae6"}),e.eyeClosed=new e("eye-closed",{fontCharacter:"\\eae7"}),e.fileBinary=new e("file-binary",{fontCharacter:"\\eae8"}),e.fileCode=new e("file-code",{fontCharacter:"\\eae9"}),e.fileMedia=new e("file-media",{fontCharacter:"\\eaea"}),e.filePdf=new e("file-pdf",{fontCharacter:"\\eaeb"}),e.fileSubmodule=new e("file-submodule",{fontCharacter:"\\eaec"}),e.fileSymlinkDirectory=new e("file-symlink-directory",{fontCharacter:"\\eaed"}),e.fileSymlinkFile=new e("file-symlink-file",{fontCharacter:"\\eaee"}),e.fileZip=new e("file-zip",{fontCharacter:"\\eaef"}),e.files=new e("files",{fontCharacter:"\\eaf0"}),e.filter=new e("filter",{fontCharacter:"\\eaf1"}),e.flame=new e("flame",{fontCharacter:"\\eaf2"}),e.foldDown=new e("fold-down",{fontCharacter:"\\eaf3"}),e.foldUp=new e("fold-up",{fontCharacter:"\\eaf4"}),e.fold=new e("fold",{fontCharacter:"\\eaf5"}),e.folderActive=new e("folder-active",{fontCharacter:"\\eaf6"}),e.folderOpened=new e("folder-opened",{fontCharacter:"\\eaf7"}),e.gear=new e("gear",{fontCharacter:"\\eaf8"}),e.gift=new e("gift",{fontCharacter:"\\eaf9"}),e.gistSecret=new e("gist-secret",{fontCharacter:"\\eafa"}),e.gist=new e("gist",{fontCharacter:"\\eafb"}),e.gitCommit=new e("git-commit",{fontCharacter:"\\eafc"}),e.gitCompare=new e("git-compare",{fontCharacter:"\\eafd"}),e.gitMerge=new e("git-merge",{fontCharacter:"\\eafe"}),e.githubAction=new e("github-action",{fontCharacter:"\\eaff"}),e.githubAlt=new e("github-alt",{fontCharacter:"\\eb00"}),e.globe=new e("globe",{fontCharacter:"\\eb01"}),e.grabber=new e("grabber",{fontCharacter:"\\eb02"}),e.graph=new e("graph",{fontCharacter:"\\eb03"}),e.gripper=new e("gripper",{fontCharacter:"\\eb04"}),e.heart=new e("heart",{fontCharacter:"\\eb05"}),e.home=new e("home",{fontCharacter:"\\eb06"}),e.horizontalRule=new e("horizontal-rule",{fontCharacter:"\\eb07"}),e.hubot=new e("hubot",{fontCharacter:"\\eb08"}),e.inbox=new e("inbox",{fontCharacter:"\\eb09"}),e.issueClosed=new e("issue-closed",{fontCharacter:"\\eba4"}),e.issueReopened=new e("issue-reopened",{fontCharacter:"\\eb0b"}),e.issues=new e("issues",{fontCharacter:"\\eb0c"}),e.italic=new e("italic",{fontCharacter:"\\eb0d"}),e.jersey=new e("jersey",{fontCharacter:"\\eb0e"}),e.json=new e("json",{fontCharacter:"\\eb0f"}),e.kebabVertical=new e("kebab-vertical",{fontCharacter:"\\eb10"}),e.key=new e("key",{fontCharacter:"\\eb11"}),e.law=new e("law",{fontCharacter:"\\eb12"}),e.lightbulbAutofix=new e("lightbulb-autofix",{fontCharacter:"\\eb13"}),e.linkExternal=new e("link-external",{fontCharacter:"\\eb14"}),e.link=new e("link",{fontCharacter:"\\eb15"}),e.listOrdered=new e("list-ordered",{fontCharacter:"\\eb16"}),e.listUnordered=new e("list-unordered",{fontCharacter:"\\eb17"}),e.liveShare=new e("live-share",{fontCharacter:"\\eb18"}),e.loading=new e("loading",{fontCharacter:"\\eb19"}),e.location=new e("location",{fontCharacter:"\\eb1a"}),e.mailRead=new e("mail-read",{fontCharacter:"\\eb1b"}),e.mail=new e("mail",{fontCharacter:"\\eb1c"}),e.markdown=new e("markdown",{fontCharacter:"\\eb1d"}),e.megaphone=new e("megaphone",{fontCharacter:"\\eb1e"}),e.mention=new e("mention",{fontCharacter:"\\eb1f"}),e.milestone=new e("milestone",{fontCharacter:"\\eb20"}),e.mortarBoard=new e("mortar-board",{fontCharacter:"\\eb21"}),e.move=new e("move",{fontCharacter:"\\eb22"}),e.multipleWindows=new e("multiple-windows",{fontCharacter:"\\eb23"}),e.mute=new e("mute",{fontCharacter:"\\eb24"}),e.noNewline=new e("no-newline",{fontCharacter:"\\eb25"}),e.note=new e("note",{fontCharacter:"\\eb26"}),e.octoface=new e("octoface",{fontCharacter:"\\eb27"}),e.openPreview=new e("open-preview",{fontCharacter:"\\eb28"}),e.package_=new e("package",{fontCharacter:"\\eb29"}),e.paintcan=new e("paintcan",{fontCharacter:"\\eb2a"}),e.pin=new e("pin",{fontCharacter:"\\eb2b"}),e.play=new e("play",{fontCharacter:"\\eb2c"}),e.run=new e("run",{fontCharacter:"\\eb2c"}),e.plug=new e("plug",{fontCharacter:"\\eb2d"}),e.preserveCase=new e("preserve-case",{fontCharacter:"\\eb2e"}),e.preview=new e("preview",{fontCharacter:"\\eb2f"}),e.project=new e("project",{fontCharacter:"\\eb30"}),e.pulse=new e("pulse",{fontCharacter:"\\eb31"}),e.question=new e("question",{fontCharacter:"\\eb32"}),e.quote=new e("quote",{fontCharacter:"\\eb33"}),e.radioTower=new e("radio-tower",{fontCharacter:"\\eb34"}),e.reactions=new e("reactions",{fontCharacter:"\\eb35"}),e.references=new e("references",{fontCharacter:"\\eb36"}),e.refresh=new e("refresh",{fontCharacter:"\\eb37"}),e.regex=new e("regex",{fontCharacter:"\\eb38"}),e.remoteExplorer=new e("remote-explorer",{fontCharacter:"\\eb39"}),e.remote=new e("remote",{fontCharacter:"\\eb3a"}),e.remove=new e("remove",{fontCharacter:"\\eb3b"}),e.replaceAll=new e("replace-all",{fontCharacter:"\\eb3c"}),e.replace=new e("replace",{fontCharacter:"\\eb3d"}),e.repoClone=new e("repo-clone",{fontCharacter:"\\eb3e"}),e.repoForcePush=new e("repo-force-push",{fontCharacter:"\\eb3f"}),e.repoPull=new e("repo-pull",{fontCharacter:"\\eb40"}),e.repoPush=new e("repo-push",{fontCharacter:"\\eb41"}),e.report=new e("report",{fontCharacter:"\\eb42"}),e.requestChanges=new e("request-changes",{fontCharacter:"\\eb43"}),e.rocket=new e("rocket",{fontCharacter:"\\eb44"}),e.rootFolderOpened=new e("root-folder-opened",{fontCharacter:"\\eb45"}),e.rootFolder=new e("root-folder",{fontCharacter:"\\eb46"}),e.rss=new e("rss",{fontCharacter:"\\eb47"}),e.ruby=new e("ruby",{fontCharacter:"\\eb48"}),e.saveAll=new e("save-all",{fontCharacter:"\\eb49"}),e.saveAs=new e("save-as",{fontCharacter:"\\eb4a"}),e.save=new e("save",{fontCharacter:"\\eb4b"}),e.screenFull=new e("screen-full",{fontCharacter:"\\eb4c"}),e.screenNormal=new e("screen-normal",{fontCharacter:"\\eb4d"}),e.searchStop=new e("search-stop",{fontCharacter:"\\eb4e"}),e.server=new e("server",{fontCharacter:"\\eb50"}),e.settingsGear=new e("settings-gear",{fontCharacter:"\\eb51"}),e.settings=new e("settings",{fontCharacter:"\\eb52"}),e.shield=new e("shield",{fontCharacter:"\\eb53"}),e.smiley=new e("smiley",{fontCharacter:"\\eb54"}),e.sortPrecedence=new e("sort-precedence",{fontCharacter:"\\eb55"}),e.splitHorizontal=new e("split-horizontal",{fontCharacter:"\\eb56"}),e.splitVertical=new e("split-vertical",{fontCharacter:"\\eb57"}),e.squirrel=new e("squirrel",{fontCharacter:"\\eb58"}),e.starFull=new e("star-full",{fontCharacter:"\\eb59"}),e.starHalf=new e("star-half",{fontCharacter:"\\eb5a"}),e.symbolClass=new e("symbol-class",{fontCharacter:"\\eb5b"}),e.symbolColor=new e("symbol-color",{fontCharacter:"\\eb5c"}),e.symbolConstant=new e("symbol-constant",{fontCharacter:"\\eb5d"}),e.symbolEnumMember=new e("symbol-enum-member",{fontCharacter:"\\eb5e"}),e.symbolField=new e("symbol-field",{fontCharacter:"\\eb5f"}),e.symbolFile=new e("symbol-file",{fontCharacter:"\\eb60"}),e.symbolInterface=new e("symbol-interface",{fontCharacter:"\\eb61"}),e.symbolKeyword=new e("symbol-keyword",{fontCharacter:"\\eb62"}),e.symbolMisc=new e("symbol-misc",{fontCharacter:"\\eb63"}),e.symbolOperator=new e("symbol-operator",{fontCharacter:"\\eb64"}),e.symbolProperty=new e("symbol-property",{fontCharacter:"\\eb65"}),e.wrench=new e("wrench",{fontCharacter:"\\eb65"}),e.wrenchSubaction=new e("wrench-subaction",{fontCharacter:"\\eb65"}),e.symbolSnippet=new e("symbol-snippet",{fontCharacter:"\\eb66"}),e.tasklist=new e("tasklist",{fontCharacter:"\\eb67"}),e.telescope=new e("telescope",{fontCharacter:"\\eb68"}),e.textSize=new e("text-size",{fontCharacter:"\\eb69"}),e.threeBars=new e("three-bars",{fontCharacter:"\\eb6a"}),e.thumbsdown=new e("thumbsdown",{fontCharacter:"\\eb6b"}),e.thumbsup=new e("thumbsup",{fontCharacter:"\\eb6c"}),e.tools=new e("tools",{fontCharacter:"\\eb6d"}),e.triangleDown=new e("triangle-down",{fontCharacter:"\\eb6e"}),e.triangleLeft=new e("triangle-left",{fontCharacter:"\\eb6f"}),e.triangleRight=new e("triangle-right",{fontCharacter:"\\eb70"}),e.triangleUp=new e("triangle-up",{fontCharacter:"\\eb71"}),e.twitter=new e("twitter",{fontCharacter:"\\eb72"}),e.unfold=new e("unfold",{fontCharacter:"\\eb73"}),e.unlock=new e("unlock",{fontCharacter:"\\eb74"}),e.unmute=new e("unmute",{fontCharacter:"\\eb75"}),e.unverified=new e("unverified",{fontCharacter:"\\eb76"}),e.verified=new e("verified",{fontCharacter:"\\eb77"}),e.versions=new e("versions",{fontCharacter:"\\eb78"}),e.vmActive=new e("vm-active",{fontCharacter:"\\eb79"}),e.vmOutline=new e("vm-outline",{fontCharacter:"\\eb7a"}),e.vmRunning=new e("vm-running",{fontCharacter:"\\eb7b"}),e.watch=new e("watch",{fontCharacter:"\\eb7c"}),e.whitespace=new e("whitespace",{fontCharacter:"\\eb7d"}),e.wholeWord=new e("whole-word",{fontCharacter:"\\eb7e"}),e.window=new e("window",{fontCharacter:"\\eb7f"}),e.wordWrap=new e("word-wrap",{fontCharacter:"\\eb80"}),e.zoomIn=new e("zoom-in",{fontCharacter:"\\eb81"}),e.zoomOut=new e("zoom-out",{fontCharacter:"\\eb82"}),e.listFilter=new e("list-filter",{fontCharacter:"\\eb83"}),e.listFlat=new e("list-flat",{fontCharacter:"\\eb84"}),e.listSelection=new e("list-selection",{fontCharacter:"\\eb85"}),e.selection=new e("selection",{fontCharacter:"\\eb85"}),e.listTree=new e("list-tree",{fontCharacter:"\\eb86"}),e.debugBreakpointFunctionUnverified=new e("debug-breakpoint-function-unverified",{fontCharacter:"\\eb87"}),e.debugBreakpointFunction=new e("debug-breakpoint-function",{fontCharacter:"\\eb88"}),e.debugBreakpointFunctionDisabled=new e("debug-breakpoint-function-disabled",{fontCharacter:"\\eb88"}),e.debugStackframeActive=new e("debug-stackframe-active",{fontCharacter:"\\eb89"}),e.debugStackframeDot=new e("debug-stackframe-dot",{fontCharacter:"\\eb8a"}),e.debugStackframe=new e("debug-stackframe",{fontCharacter:"\\eb8b"}),e.debugStackframeFocused=new e("debug-stackframe-focused",{fontCharacter:"\\eb8b"}),e.debugBreakpointUnsupported=new e("debug-breakpoint-unsupported",{fontCharacter:"\\eb8c"}),e.symbolString=new e("symbol-string",{fontCharacter:"\\eb8d"}),e.debugReverseContinue=new e("debug-reverse-continue",{fontCharacter:"\\eb8e"}),e.debugStepBack=new e("debug-step-back",{fontCharacter:"\\eb8f"}),e.debugRestartFrame=new e("debug-restart-frame",{fontCharacter:"\\eb90"}),e.callIncoming=new e("call-incoming",{fontCharacter:"\\eb92"}),e.callOutgoing=new e("call-outgoing",{fontCharacter:"\\eb93"}),e.menu=new e("menu",{fontCharacter:"\\eb94"}),e.expandAll=new e("expand-all",{fontCharacter:"\\eb95"}),e.feedback=new e("feedback",{fontCharacter:"\\eb96"}),e.groupByRefType=new e("group-by-ref-type",{fontCharacter:"\\eb97"}),e.ungroupByRefType=new e("ungroup-by-ref-type",{fontCharacter:"\\eb98"}),e.account=new e("account",{fontCharacter:"\\eb99"}),e.bellDot=new e("bell-dot",{fontCharacter:"\\eb9a"}),e.debugConsole=new e("debug-console",{fontCharacter:"\\eb9b"}),e.library=new e("library",{fontCharacter:"\\eb9c"}),e.output=new e("output",{fontCharacter:"\\eb9d"}),e.runAll=new e("run-all",{fontCharacter:"\\eb9e"}),e.syncIgnored=new e("sync-ignored",{fontCharacter:"\\eb9f"}),e.pinned=new e("pinned",{fontCharacter:"\\eba0"}),e.githubInverted=new e("github-inverted",{fontCharacter:"\\eba1"}),e.debugAlt=new e("debug-alt",{fontCharacter:"\\eb91"}),e.serverProcess=new e("server-process",{fontCharacter:"\\eba2"}),e.serverEnvironment=new e("server-environment",{fontCharacter:"\\eba3"}),e.pass=new e("pass",{fontCharacter:"\\eba4"}),e.stopCircle=new e("stop-circle",{fontCharacter:"\\eba5"}),e.playCircle=new e("play-circle",{fontCharacter:"\\eba6"}),e.record=new e("record",{fontCharacter:"\\eba7"}),e.debugAltSmall=new e("debug-alt-small",{fontCharacter:"\\eba8"}),e.vmConnect=new e("vm-connect",{fontCharacter:"\\eba9"}),e.cloud=new e("cloud",{fontCharacter:"\\ebaa"}),e.merge=new e("merge",{fontCharacter:"\\ebab"}),e.exportIcon=new e("export",{fontCharacter:"\\ebac"}),e.graphLeft=new e("graph-left",{fontCharacter:"\\ebad"}),e.magnet=new e("magnet",{fontCharacter:"\\ebae"}),e.notebook=new e("notebook",{fontCharacter:"\\ebaf"}),e.redo=new e("redo",{fontCharacter:"\\ebb0"}),e.checkAll=new e("check-all",{fontCharacter:"\\ebb1"}),e.pinnedDirty=new e("pinned-dirty",{fontCharacter:"\\ebb2"}),e.passFilled=new e("pass-filled",{fontCharacter:"\\ebb3"}),e.circleLargeFilled=new e("circle-large-filled",{fontCharacter:"\\ebb4"}),e.circleLargeOutline=new e("circle-large-outline",{fontCharacter:"\\ebb5"}),e.combine=new e("combine",{fontCharacter:"\\ebb6"}),e.gather=new e("gather",{fontCharacter:"\\ebb6"}),e.table=new e("table",{fontCharacter:"\\ebb7"}),e.variableGroup=new e("variable-group",{fontCharacter:"\\ebb8"}),e.typeHierarchy=new e("type-hierarchy",{fontCharacter:"\\ebb9"}),e.typeHierarchySub=new e("type-hierarchy-sub",{fontCharacter:"\\ebba"}),e.typeHierarchySuper=new e("type-hierarchy-super",{fontCharacter:"\\ebbb"}),e.gitPullRequestCreate=new e("git-pull-request-create",{fontCharacter:"\\ebbc"}),e.runAbove=new e("run-above",{fontCharacter:"\\ebbd"}),e.runBelow=new e("run-below",{fontCharacter:"\\ebbe"}),e.notebookTemplate=new e("notebook-template",{fontCharacter:"\\ebbf"}),e.debugRerun=new e("debug-rerun",{fontCharacter:"\\ebc0"}),e.workspaceTrusted=new e("workspace-trusted",{fontCharacter:"\\ebc1"}),e.workspaceUntrusted=new e("workspace-untrusted",{fontCharacter:"\\ebc2"}),e.workspaceUnspecified=new e("workspace-unspecified",{fontCharacter:"\\ebc3"}),e.terminalCmd=new e("terminal-cmd",{fontCharacter:"\\ebc4"}),e.terminalDebian=new e("terminal-debian",{fontCharacter:"\\ebc5"}),e.terminalLinux=new e("terminal-linux",{fontCharacter:"\\ebc6"}),e.terminalPowershell=new e("terminal-powershell",{fontCharacter:"\\ebc7"}),e.terminalTmux=new e("terminal-tmux",{fontCharacter:"\\ebc8"}),e.terminalUbuntu=new e("terminal-ubuntu",{fontCharacter:"\\ebc9"}),e.terminalBash=new e("terminal-bash",{fontCharacter:"\\ebca"}),e.arrowSwap=new e("arrow-swap",{fontCharacter:"\\ebcb"}),e.copy=new e("copy",{fontCharacter:"\\ebcc"}),e.personAdd=new e("person-add",{fontCharacter:"\\ebcd"}),e.filterFilled=new e("filter-filled",{fontCharacter:"\\ebce"}),e.wand=new e("wand",{fontCharacter:"\\ebcf"}),e.debugLineByLine=new e("debug-line-by-line",{fontCharacter:"\\ebd0"}),e.inspect=new e("inspect",{fontCharacter:"\\ebd1"}),e.layers=new e("layers",{fontCharacter:"\\ebd2"}),e.layersDot=new e("layers-dot",{fontCharacter:"\\ebd3"}),e.layersActive=new e("layers-active",{fontCharacter:"\\ebd4"}),e.compass=new e("compass",{fontCharacter:"\\ebd5"}),e.compassDot=new e("compass-dot",{fontCharacter:"\\ebd6"}),e.compassActive=new e("compass-active",{fontCharacter:"\\ebd7"}),e.azure=new e("azure",{fontCharacter:"\\ebd8"}),e.issueDraft=new e("issue-draft",{fontCharacter:"\\ebd9"}),e.gitPullRequestClosed=new e("git-pull-request-closed",{fontCharacter:"\\ebda"}),e.gitPullRequestDraft=new e("git-pull-request-draft",{fontCharacter:"\\ebdb"}),e.debugAll=new e("debug-all",{fontCharacter:"\\ebdc"}),e.debugCoverage=new e("debug-coverage",{fontCharacter:"\\ebdd"}),e.runErrors=new e("run-errors",{fontCharacter:"\\ebde"}),e.folderLibrary=new e("folder-library",{fontCharacter:"\\ebdf"}),e.debugContinueSmall=new e("debug-continue-small",{fontCharacter:"\\ebe0"}),e.beakerStop=new e("beaker-stop",{fontCharacter:"\\ebe1"}),e.graphLine=new e("graph-line",{fontCharacter:"\\ebe2"}),e.graphScatter=new e("graph-scatter",{fontCharacter:"\\ebe3"}),e.pieChart=new e("pie-chart",{fontCharacter:"\\ebe4"}),e.bracket=new e("bracket",e.json.definition),e.bracketDot=new e("bracket-dot",{fontCharacter:"\\ebe5"}),e.bracketError=new e("bracket-error",{fontCharacter:"\\ebe6"}),e.lockSmall=new e("lock-small",{fontCharacter:"\\ebe7"}),e.azureDevops=new e("azure-devops",{fontCharacter:"\\ebe8"}),e.verifiedFilled=new e("verified-filled",{fontCharacter:"\\ebe9"})}(u||(u={}))},79881:function(We,fe,t){"use strict";t.d(fe,{B8:function(){return v},Cp:function(){return V},F0:function(){return W},L6:function(){return h},VV:function(){return u},b1:function(){return e},dL:function(){return D},ri:function(){return Z}});class b{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(r){setTimeout(()=>{throw r.stack?new Error(r.message+`
|
|
|
|
`+r.stack):r},0)}}emit(r){this.listeners.forEach(o=>{o(r)})}onUnexpectedError(r){this.unexpectedErrorHandler(r),this.emit(r)}onUnexpectedExternalError(r){this.unexpectedErrorHandler(r)}}const m=new b;function D(n){u(n)||m.onUnexpectedError(n)}function V(n){u(n)||m.onUnexpectedExternalError(n)}function Z(n){if(n instanceof Error){let{name:r,message:o}=n;const l=n.stacktrace||n.stack;return{$isError:!0,name:r,message:o,stack:l}}return n}const K="Canceled";function u(n){return n instanceof Error&&n.name===K&&n.message===K}function W(){const n=new Error(K);return n.name=n.message,n}function e(n){return n?new Error(`Illegal argument: ${n}`):new Error("Illegal argument")}function h(n){return n?new Error(`Illegal state: ${n}`):new Error("Illegal state")}class v extends Error{constructor(r){super("NotSupported"),r&&(this.message=r)}}},4348:function(We,fe,t){"use strict";t.d(fe,{D0:function(){return v},E7:function(){return n},K3:function(){return h},Q5:function(){return e},ZD:function(){return r},ju:function(){return Z}});var b=t(79881),m=t(69323),D=t(34502),V=t(95830),Z;(function(o){o.None=()=>m.JT.None;function l(z){return(I,B=null,P)=>{let i=!1,a;return a=z(_=>{if(!i)return a?a.dispose():i=!0,I.call(B,_)},null,P),i&&a.dispose(),a}}o.once=l;function w(z,I){return c((B,P=null,i)=>z(a=>B.call(P,I(a)),null,i))}o.map=w;function k(z,I){return c((B,P=null,i)=>z(a=>{I(a),B.call(P,a)},null,i))}o.forEach=k;function E(z,I){return c((B,P=null,i)=>z(a=>I(a)&&B.call(P,a),null,i))}o.filter=E;function g(z){return z}o.signal=g;function O(...z){return(I,B=null,P)=>(0,m.F8)(...z.map(i=>i(a=>I.call(B,a),null,P)))}o.any=O;function C(z,I,B){let P=B;return w(z,i=>(P=I(P,i),P))}o.reduce=C;function c(z){let I;const B=new e({onFirstListenerAdd(){I=z(B.fire,B)},onLastListenerRemove(){I.dispose()}});return B.event}function s(z,I,B=100,P=!1,i){let a,_,F,te=0;const ie=new e({leakWarningThreshold:i,onFirstListenerAdd(){a=z(ae=>{te++,_=I(_,ae),P&&!F&&(ie.fire(_),_=void 0),clearTimeout(F),F=setTimeout(()=>{const he=_;_=void 0,F=void 0,(!P||te>1)&&ie.fire(he),te=0},B)})},onLastListenerRemove(){a.dispose()}});return ie.event}o.debounce=s;function x(z,I=(B,P)=>B===P){let B=!0,P;return E(z,i=>{const a=B||!I(i,P);return B=!1,P=i,a})}o.latch=x;function T(z,I){return[o.filter(z,I),o.filter(z,B=>!I(B))]}o.split=T;function J(z,I=!1,B=[]){let P=B.slice(),i=z(F=>{P?P.push(F):_.fire(F)});const a=()=>{P&&P.forEach(F=>_.fire(F)),P=null},_=new e({onFirstListenerAdd(){i||(i=z(F=>_.fire(F)))},onFirstListenerDidAdd(){P&&(I?setTimeout(a):a())},onLastListenerRemove(){i&&i.dispose(),i=null}});return _.event}o.buffer=J;class q{constructor(I){this.event=I}map(I){return new q(w(this.event,I))}forEach(I){return new q(k(this.event,I))}filter(I){return new q(E(this.event,I))}reduce(I,B){return new q(C(this.event,I,B))}latch(){return new q(x(this.event))}debounce(I,B=100,P=!1,i){return new q(s(this.event,I,B,P,i))}on(I,B,P){return this.event(I,B,P)}once(I,B,P){return l(this.event)(I,B,P)}}function G(z){return new q(z)}o.chain=G;function H(z,I,B=P=>P){const P=(...F)=>_.fire(B(...F)),i=()=>z.on(I,P),a=()=>z.removeListener(I,P),_=new e({onFirstListenerAdd:i,onLastListenerRemove:a});return _.event}o.fromNodeEventEmitter=H;function $(z,I,B=P=>P){const P=(...F)=>_.fire(B(...F)),i=()=>z.addEventListener(I,P),a=()=>z.removeEventListener(I,P),_=new e({onFirstListenerAdd:i,onLastListenerRemove:a});return _.event}o.fromDOMEventEmitter=$;function p(z){return new Promise(I=>l(z)(I))}o.toPromise=p})(Z||(Z={}));class K{constructor(l){this._listenerCount=0,this._invocationCount=0,this._elapsedOverall=0,this._name=`${l}_${K._idPool++}`}start(l){this._stopWatch=new V.G(!0),this._listenerCount=l}stop(){if(this._stopWatch){const l=this._stopWatch.elapsed();this._elapsedOverall+=l,this._invocationCount+=1,console.info(`did FIRE ${this._name}: elapsed_ms: ${l.toFixed(5)}, listener: ${this._listenerCount} (elapsed_overall: ${this._elapsedOverall.toFixed(2)}, invocations: ${this._invocationCount})`),this._stopWatch=void 0}}}K._idPool=0;let u=-1;class W{constructor(l,w=Math.random().toString(18).slice(2,5)){this.customThreshold=l,this.name=w,this._warnCountdown=0}dispose(){this._stacks&&this._stacks.clear()}check(l){let w=u;if(typeof this.customThreshold=="number"&&(w=this.customThreshold),w<=0||l<w)return;this._stacks||(this._stacks=new Map);const k=new Error().stack.split(`
|
|
`).slice(3).join(`
|
|
`),E=this._stacks.get(k)||0;if(this._stacks.set(k,E+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=w*.5;let g,O=0;for(const[C,c]of this._stacks)(!g||O<c)&&(g=C,O=c);console.warn(`[${this.name}] potential listener LEAK detected, having ${l} listeners already. MOST frequent listener (${O}):`),console.warn(g)}return()=>{const g=this._stacks.get(k)||0;this._stacks.set(k,g-1)}}}class e{constructor(l){var w;this._disposed=!1,this._options=l,this._leakageMon=u>0?new W(this._options&&this._options.leakWarningThreshold):void 0,this._perfMon=!((w=this._options)===null||w===void 0)&&w._profName?new K(this._options._profName):void 0}get event(){return this._event||(this._event=(l,w,k)=>{var E;this._listeners||(this._listeners=new D.S);const g=this._listeners.isEmpty();g&&this._options&&this._options.onFirstListenerAdd&&this._options.onFirstListenerAdd(this);const O=this._listeners.push(w?[l,w]:l);g&&this._options&&this._options.onFirstListenerDidAdd&&this._options.onFirstListenerDidAdd(this),this._options&&this._options.onListenerDidAdd&&this._options.onListenerDidAdd(this,l,w);const C=(E=this._leakageMon)===null||E===void 0?void 0:E.check(this._listeners.size),c=(0,m.OF)(()=>{C&&C(),this._disposed||(O(),this._options&&this._options.onLastListenerRemove&&(this._listeners&&!this._listeners.isEmpty()||this._options.onLastListenerRemove(this)))});return k instanceof m.SL?k.add(c):Array.isArray(k)&&k.push(c),c}),this._event}fire(l){var w,k;if(this._listeners){this._deliveryQueue||(this._deliveryQueue=new D.S);for(let E of this._listeners)this._deliveryQueue.push([E,l]);for((w=this._perfMon)===null||w===void 0||w.start(this._deliveryQueue.size);this._deliveryQueue.size>0;){const[E,g]=this._deliveryQueue.shift();try{typeof E=="function"?E.call(void 0,g):E[0].call(E[1],g)}catch(O){(0,b.dL)(O)}}(k=this._perfMon)===null||k===void 0||k.stop()}}dispose(){var l,w,k,E,g;this._disposed||(this._disposed=!0,(l=this._listeners)===null||l===void 0||l.clear(),(w=this._deliveryQueue)===null||w===void 0||w.clear(),(E=(k=this._options)===null||k===void 0?void 0:k.onLastListenerRemove)===null||E===void 0||E.call(k),(g=this._leakageMon)===null||g===void 0||g.dispose())}}class h extends e{constructor(l){super(l),this._isPaused=0,this._eventQueue=new D.S,this._mergeFn=l==null?void 0:l.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){const l=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(l))}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(l){this._listeners&&(this._isPaused!==0?this._eventQueue.push(l):super.fire(l))}}class v extends h{constructor(l){var w;super(l),this._delay=(w=l.delay)!==null&&w!==void 0?w:100}fire(l){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(l)}}class n{constructor(){this.buffers=[]}wrapEvent(l){return(w,k,E)=>l(g=>{const O=this.buffers[this.buffers.length-1];O?O.push(()=>w.call(k,g)):w.call(k,g)},void 0,E)}bufferEvents(l){const w=[];this.buffers.push(w);const k=l();return this.buffers.pop(),w.forEach(E=>E()),k}}class r{constructor(){this.listening=!1,this.inputEvent=Z.None,this.inputEventListener=m.JT.None,this.emitter=new e({onFirstListenerDidAdd:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onLastListenerRemove:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(l){this.inputEvent=l,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=l(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}},17845:function(We,fe,t){"use strict";t.d(fe,{I:function(){return b}});function b(m){const D=this;let V=!1,Z;return function(){return V||(V=!0,Z=m.apply(D,arguments)),Z}}},88226:function(We,fe,t){"use strict";t.d(fe,{$:function(){return b}});var b;(function(m){function D(O){return O&&typeof O=="object"&&typeof O[Symbol.iterator]=="function"}m.is=D;const V=Object.freeze([]);function Z(){return V}m.empty=Z;function*K(O){yield O}m.single=K;function u(O){return O||V}m.from=u;function W(O){return!O||O[Symbol.iterator]().next().done===!0}m.isEmpty=W;function e(O){return O[Symbol.iterator]().next().value}m.first=e;function h(O,C){for(const c of O)if(C(c))return!0;return!1}m.some=h;function v(O,C){for(const c of O)if(C(c))return c}m.find=v;function*n(O,C){for(const c of O)C(c)&&(yield c)}m.filter=n;function*r(O,C){let c=0;for(const s of O)yield C(s,c++)}m.map=r;function*o(...O){for(const C of O)for(const c of C)yield c}m.concat=o;function*l(O){for(const C of O)for(const c of C)yield c}m.concatNested=l;function w(O,C,c){let s=c;for(const x of O)s=C(s,x);return s}m.reduce=w;function*k(O,C,c=O.length){for(C<0&&(C+=O.length),c<0?c+=O.length:c>O.length&&(c=O.length);C<c;C++)yield O[C]}m.slice=k;function E(O,C=Number.POSITIVE_INFINITY){const c=[];if(C===0)return[c,O];const s=O[Symbol.iterator]();for(let x=0;x<C;x++){const T=s.next();if(T.done)return[c,m.empty()];c.push(T.value)}return[c,{[Symbol.iterator](){return s}}]}m.consume=E;function g(O,C,c=(s,x)=>s===x){const s=O[Symbol.iterator](),x=C[Symbol.iterator]();for(;;){const T=s.next(),J=x.next();if(T.done!==J.done)return!1;if(T.done)return!0;if(!c(T.value,J.value))return!1}}m.equals=g})(b||(b={}))},69323:function(We,fe,t){"use strict";t.d(fe,{B9:function(){return r},F8:function(){return o},JT:function(){return k},Jz:function(){return g},OF:function(){return l},SL:function(){return w},Wf:function(){return n},XK:function(){return E},dk:function(){return h}});var b=t(17845),m=t(88226);const D=!1;let V=null;function Z(O){V=O}if(D){const O="__is_disposable_tracked__";Z(new class{trackDisposable(C){const c=new Error("Potentially leaked disposable").stack;setTimeout(()=>{C[O]||console.log(c)},3e3)}setParent(C,c){if(C&&C!==k.None)try{C[O]=!0}catch(s){}}markAsDisposed(C){if(C&&C!==k.None)try{C[O]=!0}catch(c){}}markAsSingleton(C){}})}function K(O){return V==null||V.trackDisposable(O),O}function u(O){V==null||V.markAsDisposed(O)}function W(O,C){V==null||V.setParent(O,C)}function e(O,C){if(V)for(const c of O)V.setParent(c,C)}function h(O){return V==null||V.markAsSingleton(O),O}class v extends Error{constructor(C){super(`Encountered errors while disposing of store. Errors: [${C.join(", ")}]`),this.errors=C}}function n(O){return typeof O.dispose=="function"&&O.dispose.length===0}function r(O){if(m.$.is(O)){let C=[];for(const c of O)if(c)try{c.dispose()}catch(s){C.push(s)}if(C.length===1)throw C[0];if(C.length>1)throw new v(C);return Array.isArray(O)?[]:O}else if(O)return O.dispose(),O}function o(...O){const C=l(()=>r(O));return e(O,C),C}function l(O){const C=K({dispose:(0,b.I)(()=>{u(C),O()})});return C}class w{constructor(){this._toDispose=new Set,this._isDisposed=!1,K(this)}dispose(){this._isDisposed||(u(this),this._isDisposed=!0,this.clear())}clear(){try{r(this._toDispose.values())}finally{this._toDispose.clear()}}add(C){if(!C)return C;if(C===this)throw new Error("Cannot register a disposable on itself!");return W(C,this),this._isDisposed?w.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(C),C}}w.DISABLE_DISPOSED_WARNING=!1;class k{constructor(){this._store=new w,K(this),W(this._store,this)}dispose(){u(this),this._store.dispose()}_register(C){if(C===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(C)}}k.None=Object.freeze({dispose(){}});class E{constructor(){this._isDisposed=!1,K(this)}get value(){return this._isDisposed?void 0:this._value}set value(C){var c;this._isDisposed||C===this._value||((c=this._value)===null||c===void 0||c.dispose(),C&&W(C,this),this._value=C)}clear(){this.value=void 0}dispose(){var C;this._isDisposed=!0,u(this),(C=this._value)===null||C===void 0||C.dispose(),this._value=void 0}clearAndLeak(){const C=this._value;return this._value=void 0,C&&W(C,null),C}}class g{constructor(C){this.object=C}dispose(){}}},34502:function(We,fe,t){"use strict";t.d(fe,{S:function(){return m}});class b{constructor(V){this.element=V,this.next=b.Undefined,this.prev=b.Undefined}}b.Undefined=new b(void 0);class m{constructor(){this._first=b.Undefined,this._last=b.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===b.Undefined}clear(){let V=this._first;for(;V!==b.Undefined;){const Z=V.next;V.prev=b.Undefined,V.next=b.Undefined,V=Z}this._first=b.Undefined,this._last=b.Undefined,this._size=0}unshift(V){return this._insert(V,!1)}push(V){return this._insert(V,!0)}_insert(V,Z){const K=new b(V);if(this._first===b.Undefined)this._first=K,this._last=K;else if(Z){const W=this._last;this._last=K,K.prev=W,W.next=K}else{const W=this._first;this._first=K,K.next=W,W.prev=K}this._size+=1;let u=!1;return()=>{u||(u=!0,this._remove(K))}}shift(){if(this._first!==b.Undefined){const V=this._first.element;return this._remove(this._first),V}}pop(){if(this._last!==b.Undefined){const V=this._last.element;return this._remove(this._last),V}}_remove(V){if(V.prev!==b.Undefined&&V.next!==b.Undefined){const Z=V.prev;Z.next=V.next,V.next.prev=Z}else V.prev===b.Undefined&&V.next===b.Undefined?(this._first=b.Undefined,this._last=b.Undefined):V.next===b.Undefined?(this._last=this._last.prev,this._last.next=b.Undefined):V.prev===b.Undefined&&(this._first=this._first.next,this._first.prev=b.Undefined);this._size-=1}*[Symbol.iterator](){let V=this._first;for(;V!==b.Undefined;)yield V.element,V=V.next}}},23345:function(We,fe,t){"use strict";t.d(fe,{$L:function(){return s},ED:function(){return g},IJ:function(){return C},OS:function(){return q},WE:function(){return T},dz:function(){return O},gn:function(){return x},li:function(){return l},r:function(){return $},tY:function(){return c},xS:function(){return J}});var b=t(97671),m;const D="en";let V=!1,Z=!1,K=!1,u=!1,W=!1,e=!1,h=!1,v,n=null,r=null,o;const l=typeof self=="object"?self:typeof t.g=="object"?t.g:{};let w;typeof l.vscode!="undefined"&&typeof l.vscode.process!="undefined"?w=l.vscode.process:typeof b!="undefined"&&(w=b);const k=typeof((m=w==null?void 0:w.versions)===null||m===void 0?void 0:m.electron)=="string"&&w.type==="renderer";if(typeof navigator=="object"&&!k)o=navigator.userAgent,V=o.indexOf("Windows")>=0,Z=o.indexOf("Macintosh")>=0,h=(o.indexOf("Macintosh")>=0||o.indexOf("iPad")>=0||o.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,K=o.indexOf("Linux")>=0,e=!0,v=navigator.language,n=v;else if(typeof w=="object"){V=w.platform==="win32",Z=w.platform==="darwin",K=w.platform==="linux",u=K&&!!w.env.SNAP&&!!w.env.SNAP_REVISION,v=D,n=D;const p=w.env.VSCODE_NLS_CONFIG;if(p)try{const z=JSON.parse(p),I=z.availableLanguages["*"];v=z.locale,n=I||D,r=z._translationsConfigFile}catch(z){}W=!0}else console.error("Unable to resolve platform.");let E=0;Z?E=1:V?E=3:K&&(E=2);const g=V,O=Z,C=K,c=W,s=e,x=h,T=o,J=function(){if(l.setImmediate)return l.setImmediate.bind(l);if(typeof l.postMessage=="function"&&!l.importScripts){let I=[];l.addEventListener("message",P=>{if(P.data&&P.data.vscodeSetImmediateId)for(let i=0,a=I.length;i<a;i++){const _=I[i];if(_.id===P.data.vscodeSetImmediateId){I.splice(i,1),_.callback();return}}});let B=0;return P=>{const i=++B;I.push({id:i,callback:P}),l.postMessage({vscodeSetImmediateId:i},"*")}}if(typeof(w==null?void 0:w.nextTick)=="function")return w.nextTick.bind(w);const z=Promise.resolve();return I=>z.then(I)}(),q=Z||h?2:V?1:3;let G=!0,H=!1;function $(){if(!H){H=!0;const p=new Uint8Array(2);p[0]=1,p[1]=2,G=new Uint16Array(p.buffer)[0]===513}return G}},95830:function(We,fe,t){"use strict";t.d(fe,{G:function(){return D}});var b=t(23345);const m=b.li.performance&&typeof b.li.performance.now=="function";class D{constructor(Z){this._highResolution=m&&Z,this._startTime=this._now(),this._stopTime=-1}static create(Z=!0){return new D(Z)}stop(){this._stopTime=this._now()}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}_now(){return this._highResolution?b.li.performance.now():Date.now()}}},82983:function(We,fe,t){"use strict";t.d(fe,{$i:function(){return te},C8:function(){return Ke},GF:function(){return v},HO:function(){return B},IO:function(){return n},K7:function(){return we},Kw:function(){return Xe},LC:function(){return l},Mh:function(){return J},P1:function(){return q},PJ:function(){return Oe},Qe:function(){return ie},R1:function(){return h},RP:function(){return _},S6:function(){return Ce},TT:function(){return g},Ut:function(){return i},V8:function(){return w},WU:function(){return D},YK:function(){return H},YU:function(){return V},ZG:function(){return G},ZH:function(){return p},ab:function(){return ae},c1:function(){return Ie},df:function(){return s},ec:function(){return Z},fi:function(){return le},fy:function(){return K},j3:function(){return u},j_:function(){return C},m5:function(){return b},mK:function(){return c},mr:function(){return r},oH:function(){return U},oL:function(){return W},ok:function(){return T},ow:function(){return k},qq:function(){return x},qu:function(){return E},rL:function(){return $},uS:function(){return ke},un:function(){return e},uq:function(){return o},vH:function(){return I},xe:function(){return he},zY:function(){return O}});function b(y){return!y||typeof y!="string"?!0:y.trim().length===0}const m=/{(\d+)}/g;function D(y,...d){return d.length===0?y:y.replace(m,function(f,X){const j=parseInt(X,10);return isNaN(j)||j<0||j>=d.length?f:d[j]})}function V(y){return y.replace(/[<>&]/g,function(d){switch(d){case"<":return"<";case">":return">";case"&":return"&";default:return d}})}function Z(y){return y.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function K(y,d=" "){const f=u(y,d);return W(f,d)}function u(y,d){if(!y||!d)return y;const f=d.length;if(f===0||y.length===0)return y;let X=0;for(;y.indexOf(d,X)===X;)X=X+f;return y.substring(X)}function W(y,d){if(!y||!d)return y;const f=d.length,X=y.length;if(f===0||X===0)return y;let j=X,A=-1;for(;A=y.lastIndexOf(d,j-1),!(A===-1||A+f!==j);){if(A===0)return"";j=A}return y.substring(0,j)}function e(y){return y.replace(/[\-\\\{\}\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&").replace(/[\*]/g,".*")}function h(y){return y.replace(/\*/g,"")}function v(y,d,f={}){if(!y)throw new Error("Cannot create regex from empty string");d||(y=Z(y)),f.wholeWord&&(/\B/.test(y.charAt(0))||(y="\\b"+y),/\B/.test(y.charAt(y.length-1))||(y=y+"\\b"));let X="";return f.global&&(X+="g"),f.matchCase||(X+="i"),f.multiline&&(X+="m"),f.unicode&&(X+="u"),new RegExp(y,X)}function n(y){return y.source==="^"||y.source==="^$"||y.source==="$"||y.source==="^\\s*$"?!1:!!(y.exec("")&&y.lastIndex===0)}function r(y){return(y.global?"g":"")+(y.ignoreCase?"i":"")+(y.multiline?"m":"")+(y.unicode?"u":"")}function o(y){return y.split(/\r\n|\r|\n/)}function l(y){for(let d=0,f=y.length;d<f;d++){const X=y.charCodeAt(d);if(X!==32&&X!==9)return d}return-1}function w(y,d=0,f=y.length){for(let X=d;X<f;X++){const j=y.charCodeAt(X);if(j!==32&&j!==9)return y.substring(d,X)}return y.substring(d,f)}function k(y,d=y.length-1){for(let f=d;f>=0;f--){const X=y.charCodeAt(f);if(X!==32&&X!==9)return f}return-1}function E(y,d){return y<d?-1:y>d?1:0}function g(y,d,f=0,X=y.length,j=0,A=d.length){for(;f<X&&j<A;f++,j++){let re=y.charCodeAt(f),oe=d.charCodeAt(j);if(re<oe)return-1;if(re>oe)return 1}const Q=X-f,ce=A-j;return Q<ce?-1:Q>ce?1:0}function O(y,d){return C(y,d,0,y.length,0,d.length)}function C(y,d,f=0,X=y.length,j=0,A=d.length){for(;f<X&&j<A;f++,j++){let re=y.charCodeAt(f),oe=d.charCodeAt(j);if(re===oe)continue;if(re>=128||oe>=128)return g(y.toLowerCase(),d.toLowerCase(),f,X,j,A);c(re)&&(re-=32),c(oe)&&(oe-=32);const ve=re-oe;if(ve!==0)return ve}const Q=X-f,ce=A-j;return Q<ce?-1:Q>ce?1:0}function c(y){return y>=97&&y<=122}function s(y){return y>=65&&y<=90}function x(y,d){return y.length===d.length&&C(y,d)===0}function T(y,d){const f=d.length;return d.length>y.length?!1:C(y,d,0,f)===0}function J(y,d){let f,X=Math.min(y.length,d.length);for(f=0;f<X;f++)if(y.charCodeAt(f)!==d.charCodeAt(f))return f;return X}function q(y,d){let f,X=Math.min(y.length,d.length);const j=y.length-1,A=d.length-1;for(f=0;f<X;f++)if(y.charCodeAt(j-f)!==d.charCodeAt(A-f))return f;return X}function G(y){return 55296<=y&&y<=56319}function H(y){return 56320<=y&&y<=57343}function $(y,d){return(y-55296<<10)+(d-56320)+65536}function p(y,d,f){const X=y.charCodeAt(f);if(G(X)&&f+1<d){const j=y.charCodeAt(f+1);if(H(j))return $(X,j)}return X}function z(y,d){const f=y.charCodeAt(d-1);if(H(f)&&d>1){const X=y.charCodeAt(d-2);if(G(X))return $(X,f)}return f}function I(y,d){const f=se.getInstance(),X=d,j=y.length,A=p(y,j,d);d+=A>=65536?2:1;let Q=f.getGraphemeBreakType(A);for(;d<j;){const ce=p(y,j,d),re=f.getGraphemeBreakType(ce);if(le(Q,re))break;d+=ce>=65536?2:1,Q=re}return d-X}function B(y,d){const f=se.getInstance(),X=d,j=z(y,d);d-=j>=65536?2:1;let A=f.getGraphemeBreakType(j);for(;d>0;){const Q=z(y,d),ce=f.getGraphemeBreakType(Q);if(le(ce,A))break;d-=Q>=65536?2:1,A=ce}return X-d}const P=/(?:[\u05BE\u05C0\u05C3\u05C6\u05D0-\u05F4\u0608\u060B\u060D\u061B-\u064A\u066D-\u066F\u0671-\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u0710\u0712-\u072F\u074D-\u07A5\u07B1-\u07EA\u07F4\u07F5\u07FA-\u0815\u081A\u0824\u0828\u0830-\u0858\u085E-\u08BD\u200F\uFB1D\uFB1F-\uFB28\uFB2A-\uFD3D\uFD50-\uFDFC\uFE70-\uFEFC]|\uD802[\uDC00-\uDD1B\uDD20-\uDE00\uDE10-\uDE33\uDE40-\uDEE4\uDEEB-\uDF35\uDF40-\uDFFF]|\uD803[\uDC00-\uDCFF]|\uD83A[\uDC00-\uDCCF\uDD00-\uDD43\uDD50-\uDFFF]|\uD83B[\uDC00-\uDEBB])/;function i(y){return P.test(y)}const a=/(?:[\u231A\u231B\u23F0\u23F3\u2600-\u27BF\u2B50\u2B55]|\uD83C[\uDDE6-\uDDFF\uDF00-\uDFFF]|\uD83D[\uDC00-\uDE4F\uDE80-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD00-\uDDFF\uDE70-\uDED6])/;function _(y){return a.test(y)}const F=/^[\t\n\r\x20-\x7E]*$/;function te(y){return F.test(y)}const ie=/[\u2028\u2029]/;function ae(y){return ie.test(y)}function he(y){for(let d=0,f=y.length;d<f;d++)if(we(y.charCodeAt(d)))return!0;return!1}function we(y){return y=+y,y>=11904&&y<=55215||y>=63744&&y<=64255||y>=65281&&y<=65374}function Ke(y){return y>=127462&&y<=127487||y===8986||y===8987||y===9200||y===9203||y>=9728&&y<=10175||y===11088||y===11093||y>=127744&&y<=128591||y>=128640&&y<=128764||y>=128992&&y<=129003||y>=129280&&y<=129535||y>=129648&&y<=129750}const Ie="\uFEFF";function ke(y){return!!(y&&y.length>0&&y.charCodeAt(0)===65279)}function Xe(y,d=!1){return y?(d&&(y=y.replace(/\\./g,"")),y.toLowerCase()!==y):!1}function Oe(y){return y=y%(2*26),y<26?String.fromCharCode(97+y):String.fromCharCode(65+y-26)}function Ce(y){return se.getInstance().getGraphemeBreakType(y)}function le(y,d){return y===0?d!==5&&d!==7:y===2&&d===3?!1:y===4||y===2||y===3||d===4||d===2||d===3?!0:!(y===8&&(d===8||d===9||d===11||d===12)||(y===11||y===9)&&(d===9||d===10)||(y===12||y===10)&&d===10||d===5||d===13||d===7||y===1||y===13&&d===14||y===6&&d===6)}class se{constructor(){this._data=L()}static getInstance(){return se._INSTANCE||(se._INSTANCE=new se),se._INSTANCE}getGraphemeBreakType(d){if(d<32)return d===10?3:d===13?2:4;if(d<127)return 0;const f=this._data,X=f.length/3;let j=1;for(;j<=X;)if(d<f[3*j])j=2*j;else if(d>f[3*j+1])j=2*j+1;else return f[3*j+2];return 0}}se._INSTANCE=null;function L(){return JSON.parse("[0,0,0,51592,51592,11,44424,44424,11,72251,72254,5,7150,7150,7,48008,48008,11,55176,55176,11,128420,128420,14,3276,3277,5,9979,9980,14,46216,46216,11,49800,49800,11,53384,53384,11,70726,70726,5,122915,122916,5,129320,129327,14,2558,2558,5,5906,5908,5,9762,9763,14,43360,43388,8,45320,45320,11,47112,47112,11,48904,48904,11,50696,50696,11,52488,52488,11,54280,54280,11,70082,70083,1,71350,71350,7,73111,73111,5,127892,127893,14,128726,128727,14,129473,129474,14,2027,2035,5,2901,2902,5,3784,3789,5,6754,6754,5,8418,8420,5,9877,9877,14,11088,11088,14,44008,44008,5,44872,44872,11,45768,45768,11,46664,46664,11,47560,47560,11,48456,48456,11,49352,49352,11,50248,50248,11,51144,51144,11,52040,52040,11,52936,52936,11,53832,53832,11,54728,54728,11,69811,69814,5,70459,70460,5,71096,71099,7,71998,71998,5,72874,72880,5,119149,119149,7,127374,127374,14,128335,128335,14,128482,128482,14,128765,128767,14,129399,129400,14,129680,129685,14,1476,1477,5,2377,2380,7,2759,2760,5,3137,3140,7,3458,3459,7,4153,4154,5,6432,6434,5,6978,6978,5,7675,7679,5,9723,9726,14,9823,9823,14,9919,9923,14,10035,10036,14,42736,42737,5,43596,43596,5,44200,44200,11,44648,44648,11,45096,45096,11,45544,45544,11,45992,45992,11,46440,46440,11,46888,46888,11,47336,47336,11,47784,47784,11,48232,48232,11,48680,48680,11,49128,49128,11,49576,49576,11,50024,50024,11,50472,50472,11,50920,50920,11,51368,51368,11,51816,51816,11,52264,52264,11,52712,52712,11,53160,53160,11,53608,53608,11,54056,54056,11,54504,54504,11,54952,54952,11,68108,68111,5,69933,69940,5,70197,70197,7,70498,70499,7,70845,70845,5,71229,71229,5,71727,71735,5,72154,72155,5,72344,72345,5,73023,73029,5,94095,94098,5,121403,121452,5,126981,127182,14,127538,127546,14,127990,127990,14,128391,128391,14,128445,128449,14,128500,128505,14,128752,128752,14,129160,129167,14,129356,129356,14,129432,129442,14,129648,129651,14,129751,131069,14,173,173,4,1757,1757,1,2274,2274,1,2494,2494,5,2641,2641,5,2876,2876,5,3014,3016,7,3262,3262,7,3393,3396,5,3570,3571,7,3968,3972,5,4228,4228,7,6086,6086,5,6679,6680,5,6912,6915,5,7080,7081,5,7380,7392,5,8252,8252,14,9096,9096,14,9748,9749,14,9784,9786,14,9833,9850,14,9890,9894,14,9938,9938,14,9999,9999,14,10085,10087,14,12349,12349,14,43136,43137,7,43454,43456,7,43755,43755,7,44088,44088,11,44312,44312,11,44536,44536,11,44760,44760,11,44984,44984,11,45208,45208,11,45432,45432,11,45656,45656,11,45880,45880,11,46104,46104,11,46328,46328,11,46552,46552,11,46776,46776,11,47000,47000,11,47224,47224,11,47448,47448,11,47672,47672,11,47896,47896,11,48120,48120,11,48344,48344,11,48568,48568,11,48792,48792,11,49016,49016,11,49240,49240,11,49464,49464,11,49688,49688,11,49912,49912,11,50136,50136,11,50360,50360,11,50584,50584,11,50808,50808,11,51032,51032,11,51256,51256,11,51480,51480,11,51704,51704,11,51928,51928,11,52152,52152,11,52376,52376,11,52600,52600,11,52824,52824,11,53048,53048,11,53272,53272,11,53496,53496,11,53720,53720,11,53944,53944,11,54168,54168,11,54392,54392,11,54616,54616,11,54840,54840,11,55064,55064,11,65438,65439,5,69633,69633,5,69837,69837,1,70018,70018,7,70188,70190,7,70368,70370,7,70465,70468,7,70712,70719,5,70835,70840,5,70850,70851,5,71132,71133,5,71340,71340,7,71458,71461,5,71985,71989,7,72002,72002,7,72193,72202,5,72281,72283,5,72766,72766,7,72885,72886,5,73104,73105,5,92912,92916,5,113824,113827,4,119173,119179,5,121505,121519,5,125136,125142,5,127279,127279,14,127489,127490,14,127570,127743,14,127900,127901,14,128254,128254,14,128369,128370,14,128400,128400,14,128425,128432,14,128468,128475,14,128489,128494,14,128715,128720,14,128745,128745,14,128759,128760,14,129004,129023,14,129296,129304,14,129340,129342,14,129388,129392,14,129404,129407,14,129454,129455,14,129485,129487,14,129659,129663,14,129719,129727,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2363,2363,7,2402,2403,5,2507,2508,7,2622,2624,7,2691,2691,7,2786,2787,5,2881,2884,5,3006,3006,5,3072,3072,5,3170,3171,5,3267,3268,7,3330,3331,7,3406,3406,1,3538,3540,5,3655,3662,5,3897,3897,5,4038,4038,5,4184,4185,5,4352,4447,8,6068,6069,5,6155,6157,5,6448,6449,7,6742,6742,5,6783,6783,5,6966,6970,5,7042,7042,7,7143,7143,7,7212,7219,5,7412,7412,5,8206,8207,4,8294,8303,4,8596,8601,14,9410,9410,14,9742,9742,14,9757,9757,14,9770,9770,14,9794,9794,14,9828,9828,14,9855,9855,14,9882,9882,14,9900,9903,14,9929,9933,14,9963,9967,14,9987,9988,14,10006,10006,14,10062,10062,14,10175,10175,14,11744,11775,5,42607,42607,5,43043,43044,7,43263,43263,5,43444,43445,7,43569,43570,5,43698,43700,5,43766,43766,5,44032,44032,11,44144,44144,11,44256,44256,11,44368,44368,11,44480,44480,11,44592,44592,11,44704,44704,11,44816,44816,11,44928,44928,11,45040,45040,11,45152,45152,11,45264,45264,11,45376,45376,11,45488,45488,11,45600,45600,11,45712,45712,11,45824,45824,11,45936,45936,11,46048,46048,11,46160,46160,11,46272,46272,11,46384,46384,11,46496,46496,11,46608,46608,11,46720,46720,11,46832,46832,11,46944,46944,11,47056,47056,11,47168,47168,11,47280,47280,11,47392,47392,11,47504,47504,11,47616,47616,11,47728,47728,11,47840,47840,11,47952,47952,11,48064,48064,11,48176,48176,11,48288,48288,11,48400,48400,11,48512,48512,11,48624,48624,11,48736,48736,11,48848,48848,11,48960,48960,11,49072,49072,11,49184,49184,11,49296,49296,11,49408,49408,11,49520,49520,11,49632,49632,11,49744,49744,11,49856,49856,11,49968,49968,11,50080,50080,11,50192,50192,11,50304,50304,11,50416,50416,11,50528,50528,11,50640,50640,11,50752,50752,11,50864,50864,11,50976,50976,11,51088,51088,11,51200,51200,11,51312,51312,11,51424,51424,11,51536,51536,11,51648,51648,11,51760,51760,11,51872,51872,11,51984,51984,11,52096,52096,11,52208,52208,11,52320,52320,11,52432,52432,11,52544,52544,11,52656,52656,11,52768,52768,11,52880,52880,11,52992,52992,11,53104,53104,11,53216,53216,11,53328,53328,11,53440,53440,11,53552,53552,11,53664,53664,11,53776,53776,11,53888,53888,11,54000,54000,11,54112,54112,11,54224,54224,11,54336,54336,11,54448,54448,11,54560,54560,11,54672,54672,11,54784,54784,11,54896,54896,11,55008,55008,11,55120,55120,11,64286,64286,5,66272,66272,5,68900,68903,5,69762,69762,7,69817,69818,5,69927,69931,5,70003,70003,5,70070,70078,5,70094,70094,7,70194,70195,7,70206,70206,5,70400,70401,5,70463,70463,7,70475,70477,7,70512,70516,5,70722,70724,5,70832,70832,5,70842,70842,5,70847,70848,5,71088,71089,7,71102,71102,7,71219,71226,5,71231,71232,5,71342,71343,7,71453,71455,5,71463,71467,5,71737,71738,5,71995,71996,5,72000,72000,7,72145,72147,7,72160,72160,5,72249,72249,7,72273,72278,5,72330,72342,5,72752,72758,5,72850,72871,5,72882,72883,5,73018,73018,5,73031,73031,5,73109,73109,5,73461,73462,7,94031,94031,5,94192,94193,7,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,126976,126979,14,127184,127231,14,127344,127345,14,127405,127461,14,127514,127514,14,127561,127567,14,127778,127779,14,127896,127896,14,127985,127986,14,127995,127999,5,128326,128328,14,128360,128366,14,128378,128378,14,128394,128397,14,128405,128406,14,128422,128423,14,128435,128443,14,128453,128464,14,128479,128480,14,128484,128487,14,128496,128498,14,128640,128709,14,128723,128724,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129096,129103,14,129292,129292,14,129311,129311,14,129329,129330,14,129344,129349,14,129360,129374,14,129394,129394,14,129402,129402,14,129413,129425,14,129445,129450,14,129466,129471,14,129483,129483,14,129511,129535,14,129653,129655,14,129667,129670,14,129705,129711,14,129731,129743,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2307,2307,7,2366,2368,7,2382,2383,7,2434,2435,7,2497,2500,5,2519,2519,5,2563,2563,7,2631,2632,5,2677,2677,5,2750,2752,7,2763,2764,7,2817,2817,5,2879,2879,5,2891,2892,7,2914,2915,5,3008,3008,5,3021,3021,5,3076,3076,5,3146,3149,5,3202,3203,7,3264,3265,7,3271,3272,7,3298,3299,5,3390,3390,5,3402,3404,7,3426,3427,5,3535,3535,5,3544,3550,7,3635,3635,7,3763,3763,7,3893,3893,5,3953,3966,5,3981,3991,5,4145,4145,7,4157,4158,5,4209,4212,5,4237,4237,5,4520,4607,10,5970,5971,5,6071,6077,5,6089,6099,5,6277,6278,5,6439,6440,5,6451,6456,7,6683,6683,5,6744,6750,5,6765,6770,7,6846,6846,5,6964,6964,5,6972,6972,5,7019,7027,5,7074,7077,5,7083,7085,5,7146,7148,7,7154,7155,7,7222,7223,5,7394,7400,5,7416,7417,5,8204,8204,5,8233,8233,4,8288,8292,4,8413,8416,5,8482,8482,14,8986,8987,14,9193,9203,14,9654,9654,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9775,14,9792,9792,14,9800,9811,14,9825,9826,14,9831,9831,14,9852,9853,14,9872,9873,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9936,9936,14,9941,9960,14,9974,9974,14,9982,9985,14,9992,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10145,10145,14,11013,11015,14,11503,11505,5,12334,12335,5,12951,12951,14,42612,42621,5,43014,43014,5,43047,43047,7,43204,43205,5,43335,43345,5,43395,43395,7,43450,43451,7,43561,43566,5,43573,43574,5,43644,43644,5,43710,43711,5,43758,43759,7,44005,44005,5,44012,44012,7,44060,44060,11,44116,44116,11,44172,44172,11,44228,44228,11,44284,44284,11,44340,44340,11,44396,44396,11,44452,44452,11,44508,44508,11,44564,44564,11,44620,44620,11,44676,44676,11,44732,44732,11,44788,44788,11,44844,44844,11,44900,44900,11,44956,44956,11,45012,45012,11,45068,45068,11,45124,45124,11,45180,45180,11,45236,45236,11,45292,45292,11,45348,45348,11,45404,45404,11,45460,45460,11,45516,45516,11,45572,45572,11,45628,45628,11,45684,45684,11,45740,45740,11,45796,45796,11,45852,45852,11,45908,45908,11,45964,45964,11,46020,46020,11,46076,46076,11,46132,46132,11,46188,46188,11,46244,46244,11,46300,46300,11,46356,46356,11,46412,46412,11,46468,46468,11,46524,46524,11,46580,46580,11,46636,46636,11,46692,46692,11,46748,46748,11,46804,46804,11,46860,46860,11,46916,46916,11,46972,46972,11,47028,47028,11,47084,47084,11,47140,47140,11,47196,47196,11,47252,47252,11,47308,47308,11,47364,47364,11,47420,47420,11,47476,47476,11,47532,47532,11,47588,47588,11,47644,47644,11,47700,47700,11,47756,47756,11,47812,47812,11,47868,47868,11,47924,47924,11,47980,47980,11,48036,48036,11,48092,48092,11,48148,48148,11,48204,48204,11,48260,48260,11,48316,48316,11,48372,48372,11,48428,48428,11,48484,48484,11,48540,48540,11,48596,48596,11,48652,48652,11,48708,48708,11,48764,48764,11,48820,48820,11,48876,48876,11,48932,48932,11,48988,48988,11,49044,49044,11,49100,49100,11,49156,49156,11,49212,49212,11,49268,49268,11,49324,49324,11,49380,49380,11,49436,49436,11,49492,49492,11,49548,49548,11,49604,49604,11,49660,49660,11,49716,49716,11,49772,49772,11,49828,49828,11,49884,49884,11,49940,49940,11,49996,49996,11,50052,50052,11,50108,50108,11,50164,50164,11,50220,50220,11,50276,50276,11,50332,50332,11,50388,50388,11,50444,50444,11,50500,50500,11,50556,50556,11,50612,50612,11,50668,50668,11,50724,50724,11,50780,50780,11,50836,50836,11,50892,50892,11,50948,50948,11,51004,51004,11,51060,51060,11,51116,51116,11,51172,51172,11,51228,51228,11,51284,51284,11,51340,51340,11,51396,51396,11,51452,51452,11,51508,51508,11,51564,51564,11,51620,51620,11,51676,51676,11,51732,51732,11,51788,51788,11,51844,51844,11,51900,51900,11,51956,51956,11,52012,52012,11,52068,52068,11,52124,52124,11,52180,52180,11,52236,52236,11,52292,52292,11,52348,52348,11,52404,52404,11,52460,52460,11,52516,52516,11,52572,52572,11,52628,52628,11,52684,52684,11,52740,52740,11,52796,52796,11,52852,52852,11,52908,52908,11,52964,52964,11,53020,53020,11,53076,53076,11,53132,53132,11,53188,53188,11,53244,53244,11,53300,53300,11,53356,53356,11,53412,53412,11,53468,53468,11,53524,53524,11,53580,53580,11,53636,53636,11,53692,53692,11,53748,53748,11,53804,53804,11,53860,53860,11,53916,53916,11,53972,53972,11,54028,54028,11,54084,54084,11,54140,54140,11,54196,54196,11,54252,54252,11,54308,54308,11,54364,54364,11,54420,54420,11,54476,54476,11,54532,54532,11,54588,54588,11,54644,54644,11,54700,54700,11,54756,54756,11,54812,54812,11,54868,54868,11,54924,54924,11,54980,54980,11,55036,55036,11,55092,55092,11,55148,55148,11,55216,55238,9,65056,65071,5,65529,65531,4,68097,68099,5,68159,68159,5,69446,69456,5,69688,69702,5,69808,69810,7,69815,69816,7,69821,69821,1,69888,69890,5,69932,69932,7,69957,69958,7,70016,70017,5,70067,70069,7,70079,70080,7,70089,70092,5,70095,70095,5,70191,70193,5,70196,70196,5,70198,70199,5,70367,70367,5,70371,70378,5,70402,70403,7,70462,70462,5,70464,70464,5,70471,70472,7,70487,70487,5,70502,70508,5,70709,70711,7,70720,70721,7,70725,70725,7,70750,70750,5,70833,70834,7,70841,70841,7,70843,70844,7,70846,70846,7,70849,70849,7,71087,71087,5,71090,71093,5,71100,71101,5,71103,71104,5,71216,71218,7,71227,71228,7,71230,71230,7,71339,71339,5,71341,71341,5,71344,71349,5,71351,71351,5,71456,71457,7,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123628,123631,5,125252,125258,5,126980,126980,14,127183,127183,14,127245,127247,14,127340,127343,14,127358,127359,14,127377,127386,14,127462,127487,6,127491,127503,14,127535,127535,14,127548,127551,14,127568,127569,14,127744,127777,14,127780,127891,14,127894,127895,14,127897,127899,14,127902,127984,14,127987,127989,14,127991,127994,14,128000,128253,14,128255,128317,14,128329,128334,14,128336,128359,14,128367,128368,14,128371,128377,14,128379,128390,14,128392,128393,14,128398,128399,14,128401,128404,14,128407,128419,14,128421,128421,14,128424,128424,14,128433,128434,14,128444,128444,14,128450,128452,14,128465,128467,14,128476,128478,14,128481,128481,14,128483,128483,14,128488,128488,14,128495,128495,14,128499,128499,14,128506,128591,14,128710,128714,14,128721,128722,14,128725,128725,14,128728,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129664,129666,14,129671,129679,14,129686,129704,14,129712,129718,14,129728,129730,14,129744,129750,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2259,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3134,3136,5,3142,3144,5,3157,3158,5,3201,3201,5,3260,3260,5,3263,3263,5,3266,3266,5,3270,3270,5,3274,3275,7,3285,3286,5,3328,3329,5,3387,3388,5,3391,3392,7,3398,3400,7,3405,3405,5,3415,3415,5,3457,3457,5,3530,3530,5,3536,3537,7,3542,3542,5,3551,3551,5,3633,3633,5,3636,3642,5,3761,3761,5,3764,3772,5,3864,3865,5,3895,3895,5,3902,3903,7,3967,3967,7,3974,3975,5,3993,4028,5,4141,4144,5,4146,4151,5,4155,4156,7,4182,4183,7,4190,4192,5,4226,4226,5,4229,4230,5,4253,4253,5,4448,4519,9,4957,4959,5,5938,5940,5,6002,6003,5,6070,6070,7,6078,6085,7,6087,6088,7,6109,6109,5,6158,6158,4,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6848,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7673,5,8203,8203,4,8205,8205,13,8232,8232,4,8234,8238,4,8265,8265,14,8293,8293,4,8400,8412,5,8417,8417,5,8421,8432,5,8505,8505,14,8617,8618,14,9000,9000,14,9167,9167,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9776,9783,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9935,14,9937,9937,14,9939,9940,14,9961,9962,14,9968,9973,14,9975,9978,14,9981,9981,14,9986,9986,14,9989,9989,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10084,14,10133,10135,14,10160,10160,14,10548,10549,14,11035,11036,14,11093,11093,14,11647,11647,5,12330,12333,5,12336,12336,14,12441,12442,5,12953,12953,14,42608,42610,5,42654,42655,5,43010,43010,5,43019,43019,5,43045,43046,5,43052,43052,5,43188,43203,7,43232,43249,5,43302,43309,5,43346,43347,7,43392,43394,5,43443,43443,5,43446,43449,5,43452,43453,5,43493,43493,5,43567,43568,7,43571,43572,7,43587,43587,5,43597,43597,7,43696,43696,5,43703,43704,5,43713,43713,5,43756,43757,5,43765,43765,7,44003,44004,7,44006,44007,7,44009,44010,7,44013,44013,5,44033,44059,12,44061,44087,12,44089,44115,12,44117,44143,12,44145,44171,12,44173,44199,12,44201,44227,12,44229,44255,12,44257,44283,12,44285,44311,12,44313,44339,12,44341,44367,12,44369,44395,12,44397,44423,12,44425,44451,12,44453,44479,12,44481,44507,12,44509,44535,12,44537,44563,12,44565,44591,12,44593,44619,12,44621,44647,12,44649,44675,12,44677,44703,12,44705,44731,12,44733,44759,12,44761,44787,12,44789,44815,12,44817,44843,12,44845,44871,12,44873,44899,12,44901,44927,12,44929,44955,12,44957,44983,12,44985,45011,12,45013,45039,12,45041,45067,12,45069,45095,12,45097,45123,12,45125,45151,12,45153,45179,12,45181,45207,12,45209,45235,12,45237,45263,12,45265,45291,12,45293,45319,12,45321,45347,12,45349,45375,12,45377,45403,12,45405,45431,12,45433,45459,12,45461,45487,12,45489,45515,12,45517,45543,12,45545,45571,12,45573,45599,12,45601,45627,12,45629,45655,12,45657,45683,12,45685,45711,12,45713,45739,12,45741,45767,12,45769,45795,12,45797,45823,12,45825,45851,12,45853,45879,12,45881,45907,12,45909,45935,12,45937,45963,12,45965,45991,12,45993,46019,12,46021,46047,12,46049,46075,12,46077,46103,12,46105,46131,12,46133,46159,12,46161,46187,12,46189,46215,12,46217,46243,12,46245,46271,12,46273,46299,12,46301,46327,12,46329,46355,12,46357,46383,12,46385,46411,12,46413,46439,12,46441,46467,12,46469,46495,12,46497,46523,12,46525,46551,12,46553,46579,12,46581,46607,12,46609,46635,12,46637,46663,12,46665,46691,12,46693,46719,12,46721,46747,12,46749,46775,12,46777,46803,12,46805,46831,12,46833,46859,12,46861,46887,12,46889,46915,12,46917,46943,12,46945,46971,12,46973,46999,12,47001,47027,12,47029,47055,12,47057,47083,12,47085,47111,12,47113,47139,12,47141,47167,12,47169,47195,12,47197,47223,12,47225,47251,12,47253,47279,12,47281,47307,12,47309,47335,12,47337,47363,12,47365,47391,12,47393,47419,12,47421,47447,12,47449,47475,12,47477,47503,12,47505,47531,12,47533,47559,12,47561,47587,12,47589,47615,12,47617,47643,12,47645,47671,12,47673,47699,12,47701,47727,12,47729,47755,12,47757,47783,12,47785,47811,12,47813,47839,12,47841,47867,12,47869,47895,12,47897,47923,12,47925,47951,12,47953,47979,12,47981,48007,12,48009,48035,12,48037,48063,12,48065,48091,12,48093,48119,12,48121,48147,12,48149,48175,12,48177,48203,12,48205,48231,12,48233,48259,12,48261,48287,12,48289,48315,12,48317,48343,12,48345,48371,12,48373,48399,12,48401,48427,12,48429,48455,12,48457,48483,12,48485,48511,12,48513,48539,12,48541,48567,12,48569,48595,12,48597,48623,12,48625,48651,12,48653,48679,12,48681,48707,12,48709,48735,12,48737,48763,12,48765,48791,12,48793,48819,12,48821,48847,12,48849,48875,12,48877,48903,12,48905,48931,12,48933,48959,12,48961,48987,12,48989,49015,12,49017,49043,12,49045,49071,12,49073,49099,12,49101,49127,12,49129,49155,12,49157,49183,12,49185,49211,12,49213,49239,12,49241,49267,12,49269,49295,12,49297,49323,12,49325,49351,12,49353,49379,12,49381,49407,12,49409,49435,12,49437,49463,12,49465,49491,12,49493,49519,12,49521,49547,12,49549,49575,12,49577,49603,12,49605,49631,12,49633,49659,12,49661,49687,12,49689,49715,12,49717,49743,12,49745,49771,12,49773,49799,12,49801,49827,12,49829,49855,12,49857,49883,12,49885,49911,12,49913,49939,12,49941,49967,12,49969,49995,12,49997,50023,12,50025,50051,12,50053,50079,12,50081,50107,12,50109,50135,12,50137,50163,12,50165,50191,12,50193,50219,12,50221,50247,12,50249,50275,12,50277,50303,12,50305,50331,12,50333,50359,12,50361,50387,12,50389,50415,12,50417,50443,12,50445,50471,12,50473,50499,12,50501,50527,12,50529,50555,12,50557,50583,12,50585,50611,12,50613,50639,12,50641,50667,12,50669,50695,12,50697,50723,12,50725,50751,12,50753,50779,12,50781,50807,12,50809,50835,12,50837,50863,12,50865,50891,12,50893,50919,12,50921,50947,12,50949,50975,12,50977,51003,12,51005,51031,12,51033,51059,12,51061,51087,12,51089,51115,12,51117,51143,12,51145,51171,12,51173,51199,12,51201,51227,12,51229,51255,12,51257,51283,12,51285,51311,12,51313,51339,12,51341,51367,12,51369,51395,12,51397,51423,12,51425,51451,12,51453,51479,12,51481,51507,12,51509,51535,12,51537,51563,12,51565,51591,12,51593,51619,12,51621,51647,12,51649,51675,12,51677,51703,12,51705,51731,12,51733,51759,12,51761,51787,12,51789,51815,12,51817,51843,12,51845,51871,12,51873,51899,12,51901,51927,12,51929,51955,12,51957,51983,12,51985,52011,12,52013,52039,12,52041,52067,12,52069,52095,12,52097,52123,12,52125,52151,12,52153,52179,12,52181,52207,12,52209,52235,12,52237,52263,12,52265,52291,12,52293,52319,12,52321,52347,12,52349,52375,12,52377,52403,12,52405,52431,12,52433,52459,12,52461,52487,12,52489,52515,12,52517,52543,12,52545,52571,12,52573,52599,12,52601,52627,12,52629,52655,12,52657,52683,12,52685,52711,12,52713,52739,12,52741,52767,12,52769,52795,12,52797,52823,12,52825,52851,12,52853,52879,12,52881,52907,12,52909,52935,12,52937,52963,12,52965,52991,12,52993,53019,12,53021,53047,12,53049,53075,12,53077,53103,12,53105,53131,12,53133,53159,12,53161,53187,12,53189,53215,12,53217,53243,12,53245,53271,12,53273,53299,12,53301,53327,12,53329,53355,12,53357,53383,12,53385,53411,12,53413,53439,12,53441,53467,12,53469,53495,12,53497,53523,12,53525,53551,12,53553,53579,12,53581,53607,12,53609,53635,12,53637,53663,12,53665,53691,12,53693,53719,12,53721,53747,12,53749,53775,12,53777,53803,12,53805,53831,12,53833,53859,12,53861,53887,12,53889,53915,12,53917,53943,12,53945,53971,12,53973,53999,12,54001,54027,12,54029,54055,12,54057,54083,12,54085,54111,12,54113,54139,12,54141,54167,12,54169,54195,12,54197,54223,12,54225,54251,12,54253,54279,12,54281,54307,12,54309,54335,12,54337,54363,12,54365,54391,12,54393,54419,12,54421,54447,12,54449,54475,12,54477,54503,12,54505,54531,12,54533,54559,12,54561,54587,12,54589,54615,12,54617,54643,12,54645,54671,12,54673,54699,12,54701,54727,12,54729,54755,12,54757,54783,12,54785,54811,12,54813,54839,12,54841,54867,12,54869,54895,12,54897,54923,12,54925,54951,12,54953,54979,12,54981,55007,12,55009,55035,12,55037,55063,12,55065,55091,12,55093,55119,12,55121,55147,12,55149,55175,12,55177,55203,12,55243,55291,10,65024,65039,5,65279,65279,4,65520,65528,4,66045,66045,5,66422,66426,5,68101,68102,5,68152,68154,5,68325,68326,5,69291,69292,5,69632,69632,7,69634,69634,7,69759,69761,5]")}function U(y,d){if(y===0)return 0;const f=M(y,d);if(f!==void 0)return f;const X=z(d,y);return y-=R(X),y}function M(y,d){let f=z(d,y);for(y-=R(f);ee(f)||f===65039||f===8419;){if(y===0)return;f=z(d,y),y-=R(f)}if(Ke(f)){if(y>=0){const X=z(d,y);X===8205&&(y-=R(X))}return y}}function R(y){return y>=65536?2:1}function ee(y){return 127995<=y&&y<=127999}},72999:function(We,fe,t){"use strict";t.d(fe,{$E:function(){return l},$K:function(){return u},D8:function(){return n},HD:function(){return m},IU:function(){return w},Jp:function(){return W},Kn:function(){return D},cW:function(){return h},f6:function(){return k},hj:function(){return V},jn:function(){return Z},kJ:function(){return b},mf:function(){return v},o8:function(){return K},p_:function(){return e},vE:function(){return E}});function b(g){return Array.isArray(g)}function m(g){return typeof g=="string"}function D(g){return typeof g=="object"&&g!==null&&!Array.isArray(g)&&!(g instanceof RegExp)&&!(g instanceof Date)}function V(g){return typeof g=="number"&&!isNaN(g)}function Z(g){return g===!0||g===!1}function K(g){return typeof g=="undefined"}function u(g){return!W(g)}function W(g){return K(g)||g===null}function e(g,O){if(!g)throw new Error(O?`Unexpected type, expected '${O}'`:"Unexpected type")}function h(g){if(W(g))throw new Error("Assertion Failed: argument is undefined or null");return g}function v(g){return typeof g=="function"}function n(g,O){const C=Math.min(g.length,O.length);for(let c=0;c<C;c++)r(g[c],O[c])}function r(g,O){if(m(O)){if(typeof g!==O)throw new Error(`argument does not match constraint: typeof ${O}`)}else if(v(O)){try{if(g instanceof O)return}catch(C){}if(!W(g)&&g.constructor===O||O.length===1&&O.call(void 0,g)===!0)return;throw new Error("argument does not match one of these constraints: arg instanceof constraint, arg.constructor === constraint, nor constraint(arg) === true")}}function o(g){let O=[],C=Object.getPrototypeOf(g);for(;Object.prototype!==C;)O=O.concat(Object.getOwnPropertyNames(C)),C=Object.getPrototypeOf(C);return O}function l(g){const O=[];for(const C of o(g))typeof g[C]=="function"&&O.push(C);return O}function w(g,O){const C=s=>function(){const x=Array.prototype.slice.call(arguments,0);return O(s,x)};let c={};for(const s of g)c[s]=C(s);return c}function k(g){return g===null?void 0:g}function E(g,O="Unreachable"){throw new Error(O)}},13268:function(We,fe,t){"use strict";t.d(fe,{N:function(){return m}});function b(D,V){let Z;return V.length===0?Z=D:Z=D.replace(/\{(\d+)\}/g,function(K,u){const W=u[0];return typeof V[W]!="undefined"?V[W]:K}),Z}function m(D,V,...Z){return b(V,Z)}},96236:function(We,fe,t){"use strict";t.d(fe,{BH:function(){return w},NZ:function(){return k},U8:function(){return E},co:function(){return l},eH:function(){return o},vr:function(){return r}});var b=t(75918),m=t(52615),D=t(4348),V=t(88226),Z=t(69323),K=t(34502),u=t(35884),W=t(90689),e=t(16925),h=t(49055),v=function(g,O,C,c){var s=arguments.length,x=s<3?O:c===null?c=Object.getOwnPropertyDescriptor(O,C):c,T;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")x=Reflect.decorate(g,O,C,c);else for(var J=g.length-1;J>=0;J--)(T=g[J])&&(x=(s<3?T(x):s>3?T(O,C,x):T(O,C))||x);return s>3&&x&&Object.defineProperty(O,C,x),x},n=function(g,O){return function(C,c){O(C,c,g)}};function r(g){return g.command!==void 0}class o{constructor(O){this.id=o._idPool++,this._debugName=O}}o._idPool=0,o.CommandPalette=new o("CommandPalette"),o.EditorContext=new o("EditorContext"),o.SimpleEditorContext=new o("SimpleEditorContext"),o.EditorContextCopy=new o("EditorContextCopy"),o.EditorContextPeek=new o("EditorContextPeek"),o.MenubarEditMenu=new o("MenubarEditMenu"),o.MenubarCopy=new o("MenubarCopy"),o.MenubarGoMenu=new o("MenubarGoMenu"),o.MenubarSelectionMenu=new o("MenubarSelectionMenu"),o.InlineCompletionsActions=new o("InlineCompletionsActions");const l=(0,e.yh)("menuService"),w=new class{constructor(){this._commands=new Map,this._menuItems=new Map,this._onDidChangeMenu=new D.Q5,this.onDidChangeMenu=this._onDidChangeMenu.event,this._commandPaletteChangeEvent={has:g=>g===o.CommandPalette}}addCommand(g){return this.addCommands(V.$.single(g))}addCommands(g){for(const O of g)this._commands.set(O.id,O);return this._onDidChangeMenu.fire(this._commandPaletteChangeEvent),(0,Z.OF)(()=>{let O=!1;for(const C of g)O=this._commands.delete(C.id)||O;O&&this._onDidChangeMenu.fire(this._commandPaletteChangeEvent)})}getCommand(g){return this._commands.get(g)}getCommands(){const g=new Map;return this._commands.forEach((O,C)=>g.set(C,O)),g}appendMenuItem(g,O){return this.appendMenuItems(V.$.single({id:g,item:O}))}appendMenuItems(g){const O=new Set,C=new K.S;for(const{id:c,item:s}of g){let x=this._menuItems.get(c);x||(x=new K.S,this._menuItems.set(c,x)),C.push(x.push(s)),O.add(c)}return this._onDidChangeMenu.fire(O),(0,Z.OF)(()=>{if(C.size>0){for(let c of C)c();this._onDidChangeMenu.fire(O),C.clear()}})}getMenuItems(g){let O;return this._menuItems.has(g)?O=[...this._menuItems.get(g)]:O=[],g===o.CommandPalette&&this._appendImplicitItems(O),O}_appendImplicitItems(g){const O=new Set;for(const C of g)r(C)&&(O.add(C.command.id),C.alt&&O.add(C.alt.id));this._commands.forEach((C,c)=>{O.has(c)||g.push({command:C})})}};class k extends b.wY{constructor(O,C,c,s){super(`submenuitem.${O.submenu.id}`,typeof O.title=="string"?O.title:O.title.value,[],"submenu"),this.item=O,this._menuService=C,this._contextKeyService=c,this._options=s}get actions(){const O=[],C=this._menuService.createMenu(this.item.submenu,this._contextKeyService),c=C.getActions(this._options);C.dispose();for(const[,s]of c)s.length>0&&(O.push(...s),O.push(new b.Z0));return O.length&&O.pop(),O}}let E=class mo{constructor(O,C,c,s,x){var T,J;if(this._commandService=x,this.id=O.id,this.label=c!=null&&c.renderShortTitle&&O.shortTitle?typeof O.shortTitle=="string"?O.shortTitle:O.shortTitle.value:typeof O.title=="string"?O.title:O.title.value,this.tooltip=(J=typeof O.tooltip=="string"?O.tooltip:(T=O.tooltip)===null||T===void 0?void 0:T.value)!==null&&J!==void 0?J:"",this.enabled=!O.precondition||s.contextMatchesRules(O.precondition),this.checked=void 0,O.toggled){const q=O.toggled.condition?O.toggled:{condition:O.toggled};this.checked=s.contextMatchesRules(q.condition),this.checked&&q.tooltip&&(this.tooltip=typeof q.tooltip=="string"?q.tooltip:q.tooltip.value),q.title&&(this.label=typeof q.title=="string"?q.title:q.title.value)}this.item=O,this.alt=C?new mo(C,void 0,c,s,x):void 0,this._options=c,h.kS.isThemeIcon(O.icon)&&(this.class=m.dT.asClassName(O.icon))}dispose(){}run(...O){var C,c;let s=[];return!((C=this._options)===null||C===void 0)&&C.arg&&(s=[...s,this._options.arg]),!((c=this._options)===null||c===void 0)&&c.shouldForwardArgs&&(s=[...s,...O]),this._commandService.executeCommand(this.id,...s)}};E=v([n(3,W.i6),n(4,u.H)],E)},35884:function(We,fe,t){"use strict";t.d(fe,{H:function(){return u},P:function(){return W}});var b=t(4348),m=t(88226),D=t(69323),V=t(34502),Z=t(72999),K=t(16925);const u=(0,K.yh)("commandService"),W=new class{constructor(){this._commands=new Map,this._onDidRegisterCommand=new b.Q5,this.onDidRegisterCommand=this._onDidRegisterCommand.event}registerCommand(e,h){if(!e)throw new Error("invalid command");if(typeof e=="string"){if(!h)throw new Error("invalid command");return this.registerCommand({id:e,handler:h})}if(e.description){const l=[];for(let k of e.description.args)l.push(k.constraint);const w=e.handler;e.handler=function(k,...E){return(0,Z.D8)(E,l),w(k,...E)}}const{id:v}=e;let n=this._commands.get(v);n||(n=new V.S,this._commands.set(v,n));let r=n.unshift(e),o=(0,D.OF)(()=>{r();const l=this._commands.get(v);l!=null&&l.isEmpty()&&this._commands.delete(v)});return this._onDidRegisterCommand.fire(v),o}registerCommandAlias(e,h){return W.registerCommand(e,(v,...n)=>v.get(u).executeCommand(h,...n))}getCommand(e){const h=this._commands.get(e);if(!(!h||h.isEmpty()))return m.$.first(h)}getCommands(){const e=new Map;for(const h of this._commands.keys()){const v=this.getCommand(h);v&&e.set(h,v)}return e}};W.registerCommand("noop",()=>{})},90689:function(We,fe,t){"use strict";t.d(fe,{Ao:function(){return u},Eq:function(){return $},Fb:function(){return W},K8:function(){return I},i6:function(){return H},uy:function(){return G}});var b=t(23345),m=t(82983),D=t(16925);let V=b.WE||"";const Z=new Map;Z.set("false",!1),Z.set("true",!0),Z.set("isMac",b.dz),Z.set("isLinux",b.IJ),Z.set("isWindows",b.ED),Z.set("isWeb",b.$L),Z.set("isMacNative",b.dz&&!b.$L),Z.set("isEdge",V.indexOf("Edg/")>=0),Z.set("isFirefox",V.indexOf("Firefox")>=0),Z.set("isChrome",V.indexOf("Chrome")>=0),Z.set("isSafari",V.indexOf("Safari")>=0);const K=Object.prototype.hasOwnProperty;class u{static has(i){return n.create(i)}static equals(i,a){return r.create(i,a)}static regex(i,a){return s.create(i,a)}static not(i){return k.create(i)}static and(...i){return J.create(i,null)}static or(...i){return q.create(i,null,!0)}static deserialize(i,a=!1){if(i)return this._deserializeOrExpression(i,a)}static _deserializeOrExpression(i,a){let _=i.split("||");return q.create(_.map(F=>this._deserializeAndExpression(F,a)),null,!0)}static _deserializeAndExpression(i,a){let _=i.split("&&");return J.create(_.map(F=>this._deserializeOne(F,a)),null)}static _deserializeOne(i,a){if(i=i.trim(),i.indexOf("!=")>=0){let _=i.split("!=");return w.create(_[0].trim(),this._deserializeValue(_[1],a))}if(i.indexOf("==")>=0){let _=i.split("==");return r.create(_[0].trim(),this._deserializeValue(_[1],a))}if(i.indexOf("=~")>=0){let _=i.split("=~");return s.create(_[0].trim(),this._deserializeRegexValue(_[1],a))}if(i.indexOf(" in ")>=0){let _=i.split(" in ");return o.create(_[0].trim(),_[1].trim())}if(/^[^<=>]+>=[^<=>]+$/.test(i)){const _=i.split(">=");return O.create(_[0].trim(),_[1].trim())}if(/^[^<=>]+>[^<=>]+$/.test(i)){const _=i.split(">");return g.create(_[0].trim(),_[1].trim())}if(/^[^<=>]+<=[^<=>]+$/.test(i)){const _=i.split("<=");return c.create(_[0].trim(),_[1].trim())}if(/^[^<=>]+<[^<=>]+$/.test(i)){const _=i.split("<");return C.create(_[0].trim(),_[1].trim())}return/^\!\s*/.test(i)?k.create(i.substr(1).trim()):n.create(i)}static _deserializeValue(i,a){if(i=i.trim(),i==="true")return!0;if(i==="false")return!1;let _=/^'([^']*)'$/.exec(i);return _?_[1].trim():i}static _deserializeRegexValue(i,a){if((0,m.m5)(i)){if(a)throw new Error("missing regexp-value for =~-expression");return console.warn("missing regexp-value for =~-expression"),null}let _=i.indexOf("/"),F=i.lastIndexOf("/");if(_===F||_<0){if(a)throw new Error(`bad regexp-value '${i}', missing /-enclosure`);return console.warn(`bad regexp-value '${i}', missing /-enclosure`),null}let te=i.slice(_+1,F),ie=i[F+1]==="i"?"i":"";try{return new RegExp(te,ie)}catch(ae){if(a)throw new Error(`bad regexp-value '${i}', parse error: ${ae}`);return console.warn(`bad regexp-value '${i}', parse error: ${ae}`),null}}}function W(P,i){const a=P?P.substituteConstants():void 0,_=i?i.substituteConstants():void 0;return!a&&!_?!0:!a||!_?!1:a.equals(_)}function e(P,i){return P.cmp(i)}class h{constructor(){this.type=0}cmp(i){return this.type-i.type}equals(i){return i.type===this.type}substituteConstants(){return this}evaluate(i){return!1}serialize(){return"false"}keys(){return[]}negate(){return v.INSTANCE}}h.INSTANCE=new h;class v{constructor(){this.type=1}cmp(i){return this.type-i.type}equals(i){return i.type===this.type}substituteConstants(){return this}evaluate(i){return!0}serialize(){return"true"}keys(){return[]}negate(){return h.INSTANCE}}v.INSTANCE=new v;class n{constructor(i,a){this.key=i,this.negated=a,this.type=2}static create(i,a=null){const _=Z.get(i);return typeof _=="boolean"?_?v.INSTANCE:h.INSTANCE:new n(i,a)}cmp(i){return i.type!==this.type?this.type-i.type:p(this.key,i.key)}equals(i){return i.type===this.type?this.key===i.key:!1}substituteConstants(){const i=Z.get(this.key);return typeof i=="boolean"?i?v.INSTANCE:h.INSTANCE:this}evaluate(i){return!!i.getValue(this.key)}serialize(){return this.key}keys(){return[this.key]}negate(){return this.negated||(this.negated=k.create(this.key,this)),this.negated}}class r{constructor(i,a,_){this.key=i,this.value=a,this.negated=_,this.type=4}static create(i,a,_=null){if(typeof a=="boolean")return a?n.create(i,_):k.create(i,_);const F=Z.get(i);return typeof F=="boolean"?a===(F?"true":"false")?v.INSTANCE:h.INSTANCE:new r(i,a,_)}cmp(i){return i.type!==this.type?this.type-i.type:z(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){const i=Z.get(this.key);if(typeof i=="boolean"){const a=i?"true":"false";return this.value===a?v.INSTANCE:h.INSTANCE}return this}evaluate(i){return i.getValue(this.key)==this.value}serialize(){return`${this.key} == '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=w.create(this.key,this.value,this)),this.negated}}class o{constructor(i,a){this.key=i,this.valueKey=a,this.type=10,this.negated=null}static create(i,a){return new o(i,a)}cmp(i){return i.type!==this.type?this.type-i.type:z(this.key,this.valueKey,i.key,i.valueKey)}equals(i){return i.type===this.type?this.key===i.key&&this.valueKey===i.valueKey:!1}substituteConstants(){return this}evaluate(i){const a=i.getValue(this.valueKey),_=i.getValue(this.key);return Array.isArray(a)?a.indexOf(_)>=0:typeof _=="string"&&typeof a=="object"&&a!==null?K.call(a,_):!1}serialize(){return`${this.key} in '${this.valueKey}'`}keys(){return[this.key,this.valueKey]}negate(){return this.negated||(this.negated=l.create(this)),this.negated}}class l{constructor(i){this._actual=i,this.type=11}static create(i){return new l(i)}cmp(i){return i.type!==this.type?this.type-i.type:this._actual.cmp(i._actual)}equals(i){return i.type===this.type?this._actual.equals(i._actual):!1}substituteConstants(){return this}evaluate(i){return!this._actual.evaluate(i)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}class w{constructor(i,a,_){this.key=i,this.value=a,this.negated=_,this.type=5}static create(i,a,_=null){if(typeof a=="boolean")return a?k.create(i,_):n.create(i,_);const F=Z.get(i);return typeof F=="boolean"?a===(F?"true":"false")?h.INSTANCE:v.INSTANCE:new w(i,a,_)}cmp(i){return i.type!==this.type?this.type-i.type:z(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){const i=Z.get(this.key);if(typeof i=="boolean"){const a=i?"true":"false";return this.value===a?h.INSTANCE:v.INSTANCE}return this}evaluate(i){return i.getValue(this.key)!=this.value}serialize(){return`${this.key} != '${this.value}'`}keys(){return[this.key]}negate(){return this.negated||(this.negated=r.create(this.key,this.value,this)),this.negated}}class k{constructor(i,a){this.key=i,this.negated=a,this.type=3}static create(i,a=null){const _=Z.get(i);return typeof _=="boolean"?_?h.INSTANCE:v.INSTANCE:new k(i,a)}cmp(i){return i.type!==this.type?this.type-i.type:p(this.key,i.key)}equals(i){return i.type===this.type?this.key===i.key:!1}substituteConstants(){const i=Z.get(this.key);return typeof i=="boolean"?i?h.INSTANCE:v.INSTANCE:this}evaluate(i){return!i.getValue(this.key)}serialize(){return`!${this.key}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=n.create(this.key,this)),this.negated}}function E(P,i){if(typeof P=="string"){const a=parseFloat(P);isNaN(a)||(P=a)}return typeof P=="string"||typeof P=="number"?i(P):h.INSTANCE}class g{constructor(i,a,_){this.key=i,this.value=a,this.negated=_,this.type=12}static create(i,a,_=null){return E(a,F=>new g(i,F,_))}cmp(i){return i.type!==this.type?this.type-i.type:z(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){return this}evaluate(i){return typeof this.value=="string"?!1:parseFloat(i.getValue(this.key))>this.value}serialize(){return`${this.key} > ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=c.create(this.key,this.value,this)),this.negated}}class O{constructor(i,a,_){this.key=i,this.value=a,this.negated=_,this.type=13}static create(i,a,_=null){return E(a,F=>new O(i,F,_))}cmp(i){return i.type!==this.type?this.type-i.type:z(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){return this}evaluate(i){return typeof this.value=="string"?!1:parseFloat(i.getValue(this.key))>=this.value}serialize(){return`${this.key} >= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=C.create(this.key,this.value,this)),this.negated}}class C{constructor(i,a,_){this.key=i,this.value=a,this.negated=_,this.type=14}static create(i,a,_=null){return E(a,F=>new C(i,F,_))}cmp(i){return i.type!==this.type?this.type-i.type:z(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){return this}evaluate(i){return typeof this.value=="string"?!1:parseFloat(i.getValue(this.key))<this.value}serialize(){return`${this.key} < ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=O.create(this.key,this.value,this)),this.negated}}class c{constructor(i,a,_){this.key=i,this.value=a,this.negated=_,this.type=15}static create(i,a,_=null){return E(a,F=>new c(i,F,_))}cmp(i){return i.type!==this.type?this.type-i.type:z(this.key,this.value,i.key,i.value)}equals(i){return i.type===this.type?this.key===i.key&&this.value===i.value:!1}substituteConstants(){return this}evaluate(i){return typeof this.value=="string"?!1:parseFloat(i.getValue(this.key))<=this.value}serialize(){return`${this.key} <= ${this.value}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=g.create(this.key,this.value,this)),this.negated}}class s{constructor(i,a){this.key=i,this.regexp=a,this.type=7,this.negated=null}static create(i,a){return new s(i,a)}cmp(i){if(i.type!==this.type)return this.type-i.type;if(this.key<i.key)return-1;if(this.key>i.key)return 1;const a=this.regexp?this.regexp.source:"",_=i.regexp?i.regexp.source:"";return a<_?-1:a>_?1:0}equals(i){if(i.type===this.type){const a=this.regexp?this.regexp.source:"",_=i.regexp?i.regexp.source:"";return this.key===i.key&&a===_}return!1}substituteConstants(){return this}evaluate(i){let a=i.getValue(this.key);return this.regexp?this.regexp.test(a):!1}serialize(){const i=this.regexp?`/${this.regexp.source}/${this.regexp.ignoreCase?"i":""}`:"/invalid/";return`${this.key} =~ ${i}`}keys(){return[this.key]}negate(){return this.negated||(this.negated=x.create(this)),this.negated}}class x{constructor(i){this._actual=i,this.type=8}static create(i){return new x(i)}cmp(i){return i.type!==this.type?this.type-i.type:this._actual.cmp(i._actual)}equals(i){return i.type===this.type?this._actual.equals(i._actual):!1}substituteConstants(){return this}evaluate(i){return!this._actual.evaluate(i)}serialize(){throw new Error("Method not implemented.")}keys(){return this._actual.keys()}negate(){return this._actual}}function T(P){let i=null;for(let a=0,_=P.length;a<_;a++){const F=P[a].substituteConstants();if(P[a]!==F&&i===null){i=[];for(let te=0;te<a;te++)i[te]=P[te]}i!==null&&(i[a]=F)}return i===null?P:i}class J{constructor(i,a){this.expr=i,this.negated=a,this.type=6}static create(i,a){return J._normalizeArr(i,a)}cmp(i){if(i.type!==this.type)return this.type-i.type;if(this.expr.length<i.expr.length)return-1;if(this.expr.length>i.expr.length)return 1;for(let a=0,_=this.expr.length;a<_;a++){const F=e(this.expr[a],i.expr[a]);if(F!==0)return F}return 0}equals(i){if(i.type===this.type){if(this.expr.length!==i.expr.length)return!1;for(let a=0,_=this.expr.length;a<_;a++)if(!this.expr[a].equals(i.expr[a]))return!1;return!0}return!1}substituteConstants(){const i=T(this.expr);return i===this.expr?this:J.create(i,this.negated)}evaluate(i){for(let a=0,_=this.expr.length;a<_;a++)if(!this.expr[a].evaluate(i))return!1;return!0}static _normalizeArr(i,a){const _=[];let F=!1;for(const te of i)if(te){if(te.type===1){F=!0;continue}if(te.type===0)return h.INSTANCE;if(te.type===6){_.push(...te.expr);continue}_.push(te)}if(_.length===0&&F)return v.INSTANCE;if(_.length!==0){if(_.length===1)return _[0];_.sort(e);for(let te=1;te<_.length;te++)_[te-1].equals(_[te])&&(_.splice(te,1),te--);if(_.length===1)return _[0];for(;_.length>1;){const te=_[_.length-1];if(te.type!==9)break;_.pop();const ie=_.pop(),ae=_.length===0,he=q.create(te.expr.map(we=>J.create([we,ie],null)),null,ae);he&&(_.push(he),_.sort(e))}return _.length===1?_[0]:new J(_,a)}}serialize(){return this.expr.map(i=>i.serialize()).join(" && ")}keys(){const i=[];for(let a of this.expr)i.push(...a.keys());return i}negate(){if(!this.negated){const i=[];for(let a of this.expr)i.push(a.negate());this.negated=q.create(i,this,!0)}return this.negated}}class q{constructor(i,a){this.expr=i,this.negated=a,this.type=9}static create(i,a,_){return q._normalizeArr(i,a,_)}cmp(i){if(i.type!==this.type)return this.type-i.type;if(this.expr.length<i.expr.length)return-1;if(this.expr.length>i.expr.length)return 1;for(let a=0,_=this.expr.length;a<_;a++){const F=e(this.expr[a],i.expr[a]);if(F!==0)return F}return 0}equals(i){if(i.type===this.type){if(this.expr.length!==i.expr.length)return!1;for(let a=0,_=this.expr.length;a<_;a++)if(!this.expr[a].equals(i.expr[a]))return!1;return!0}return!1}substituteConstants(){const i=T(this.expr);return i===this.expr?this:q.create(i,this.negated,!1)}evaluate(i){for(let a=0,_=this.expr.length;a<_;a++)if(this.expr[a].evaluate(i))return!0;return!1}static _normalizeArr(i,a,_){let F=[],te=!1;if(i){for(let ie=0,ae=i.length;ie<ae;ie++){const he=i[ie];if(he){if(he.type===0){te=!0;continue}if(he.type===1)return v.INSTANCE;if(he.type===9){F=F.concat(he.expr);continue}F.push(he)}}if(F.length===0&&te)return h.INSTANCE;F.sort(e)}if(F.length!==0){if(F.length===1)return F[0];for(let ie=1;ie<F.length;ie++)F[ie-1].equals(F[ie])&&(F.splice(ie,1),ie--);if(F.length===1)return F[0];if(_){for(let ie=0;ie<F.length;ie++)for(let ae=ie+1;ae<F.length;ae++)I(F[ie],F[ae])&&(F.splice(ae,1),ae--);if(F.length===1)return F[0]}return new q(F,a)}}serialize(){return this.expr.map(i=>i.serialize()).join(" || ")}keys(){const i=[];for(let a of this.expr)i.push(...a.keys());return i}negate(){if(!this.negated){let i=[];for(let a of this.expr)i.push(a.negate());for(;i.length>1;){const a=i.shift(),_=i.shift(),F=[];for(const ie of B(a))for(const ae of B(_))F.push(J.create([ie,ae],null));const te=i.length===0;i.unshift(q.create(F,null,te))}this.negated=i[0]}return this.negated}}class G extends n{constructor(i,a,_){super(i,null),this._defaultValue=a,typeof _=="object"?G._info.push(Object.assign(Object.assign({},_),{key:i})):_!==!0&&G._info.push({key:i,description:_,type:a!=null?typeof a:void 0})}static all(){return G._info.values()}bindTo(i){return i.createKey(this.key,this._defaultValue)}getValue(i){return i.getContextKeyValue(this.key)}toNegated(){return this.negate()}isEqualTo(i){return r.create(this.key,i)}}G._info=[];const H=(0,D.yh)("contextKeyService"),$="setContext";function p(P,i){return P<i?-1:P>i?1:0}function z(P,i,a,_){return P<a?-1:P>a?1:i<_?-1:i>_?1:0}function I(P,i){if(i.type===6&&P.type!==9&&P.type!==6){for(const F of i.expr)if(P.equals(F))return!0}const a=P.negate(),_=B(a).concat(B(i));_.sort(e);for(let F=0;F<_.length;F++){const ie=_[F].negate();for(let ae=F+1;ae<_.length;ae++){const he=_[ae];if(ie.equals(he))return!0}}return!1}function B(P){return P.type===9?P.expr:[P]}},16925:function(We,fe,t){"use strict";t.d(fe,{I8:function(){return b},TG:function(){return m},jt:function(){return Z},yh:function(){return V}});var b;(function(K){K.serviceIds=new Map,K.DI_TARGET="$di$target",K.DI_DEPENDENCIES="$di$dependencies";function u(W){return W[K.DI_DEPENDENCIES]||[]}K.getServiceDependencies=u})(b||(b={}));const m=V("instantiationService");function D(K,u,W,e){u[b.DI_TARGET]===u?u[b.DI_DEPENDENCIES].push({id:K,index:W,optional:e}):(u[b.DI_DEPENDENCIES]=[{id:K,index:W,optional:e}],u[b.DI_TARGET]=u)}function V(K){if(b.serviceIds.has(K))return b.serviceIds.get(K);const u=function(W,e,h){if(arguments.length!==3)throw new Error("@IServiceName-decorator can only be used to decorate a parameter");D(u,W,h,!1)};return u.toString=()=>K,b.serviceIds.set(K,u),u}function Z(K){return function(u,W,e){if(arguments.length!==3)throw new Error("@optional-decorator can only be used to decorate a parameter");D(K,u,e,!0)}}},44650:function(We,fe,t){"use strict";t.d(fe,{B:function(){return V}});var b=t(76068),m=t(72999);class D{constructor(){this.data=new Map}add(K,u){b.ok(m.HD(K)),b.ok(m.Kn(u)),b.ok(!this.data.has(K),"There is already an extension with this id"),this.data.set(K,u)}as(K){return this.data.get(K)||null}}const V=new D},66213:function(We,fe,t){"use strict";t.d(fe,{e:function(){return b}});var b;(function(m){m.DARK="dark",m.LIGHT="light",m.HIGH_CONTRAST="hc"})(b||(b={}))},49055:function(We,fe,t){"use strict";t.d(fe,{EN:function(){return e},IP:function(){return n},Ic:function(){return l},XE:function(){return u},bB:function(){return w},kS:function(){return h},m6:function(){return v}});var b=t(52615),m=t(4348),D=t(69323),V=t(16925),Z=t(44650),K=t(66213);const u=(0,V.yh)("themeService");var W;(function(k){function E(g){return g&&typeof g=="object"&&typeof g.id=="string"}k.isThemeColor=E})(W||(W={}));function e(k){return{id:k}}var h;(function(k){function E(x){return x&&typeof x=="object"&&typeof x.id=="string"&&(typeof x.color=="undefined"||W.isThemeColor(x.color))}k.isThemeIcon=E;const g=new RegExp(`^\\$\\((${b.dT.iconNameExpression}(?:${b.dT.iconModifierExpression})?)\\)$`);function O(x){const T=g.exec(x);if(!T)return;let[,J]=T;return{id:J}}k.fromString=O;function C(x,T){let J=x.id;const q=J.lastIndexOf("~");return q!==-1&&(J=J.substring(0,q)),T&&(J=`${J}~${T}`),{id:J}}k.modify=C;function c(x,T){var J,q;return x.id===T.id&&((J=x.color)===null||J===void 0?void 0:J.id)===((q=T.color)===null||q===void 0?void 0:q.id)}k.isEqual=c;function s(x,T){return{id:x.id,color:T?e(T):void 0}}k.asThemeIcon=s,k.asClassNameArray=b.dT.asClassNameArray,k.asClassName=b.dT.asClassName,k.asCSSSelector=b.dT.asCSSSelector})(h||(h={}));function v(k){switch(k){case K.e.DARK:return"vs-dark";case K.e.HIGH_CONTRAST:return"hc-black";default:return"vs"}}const n={ThemingContribution:"base.contributions.theming"};class r{constructor(){this.themingParticipants=[],this.themingParticipants=[],this.onThemingParticipantAddedEmitter=new m.Q5}onColorThemeChange(E){return this.themingParticipants.push(E),this.onThemingParticipantAddedEmitter.fire(E),(0,D.OF)(()=>{const g=this.themingParticipants.indexOf(E);this.themingParticipants.splice(g,1)})}getThemingParticipants(){return this.themingParticipants}}let o=new r;Z.B.add(n.ThemingContribution,o);function l(k){return o.onColorThemeChange(k)}class w extends D.JT{constructor(E){super(),this.themeService=E,this.theme=E.getColorTheme(),this._register(this.themeService.onDidColorThemeChange(g=>this.onThemeChange(g)))}onThemeChange(E){this.theme=E,this.updateStyles()}updateStyles(){}}},5630:function(We,fe,t){"use strict";var b=t(92413),m=t(33708),D=t(400),V=t(33606),Z=t(37061),K=t(92310),u=t.n(K),W=t(18929),e=t(59301),h=["prefixCls","className","style","checked","disabled","defaultChecked","type","title","onChange"],v=(0,e.forwardRef)(function(n,r){var o,l=n.prefixCls,w=l===void 0?"rc-checkbox":l,k=n.className,E=n.style,g=n.checked,O=n.disabled,C=n.defaultChecked,c=C===void 0?!1:C,s=n.type,x=s===void 0?"checkbox":s,T=n.title,J=n.onChange,q=(0,Z.Z)(n,h),G=(0,e.useRef)(null),H=(0,W.Z)(c,{value:g}),$=(0,V.Z)(H,2),p=$[0],z=$[1];(0,e.useImperativeHandle)(r,function(){return{focus:function(){var i;(i=G.current)===null||i===void 0||i.focus()},blur:function(){var i;(i=G.current)===null||i===void 0||i.blur()},input:G.current}});var I=u()(w,k,(o={},(0,D.Z)(o,"".concat(w,"-checked"),p),(0,D.Z)(o,"".concat(w,"-disabled"),O),o)),B=function(i){O||("checked"in n||z(i.target.checked),J==null||J({target:(0,m.Z)((0,m.Z)({},n),{},{type:x,checked:i.target.checked}),stopPropagation:function(){i.stopPropagation()},preventDefault:function(){i.preventDefault()},nativeEvent:i.nativeEvent}))};return e.createElement("span",{className:I,title:T,style:E},e.createElement("input",(0,b.Z)({},q,{className:"".concat(w,"-input"),ref:G,onChange:B,disabled:O,checked:!!p,type:x})),e.createElement("span",{className:"".concat(w,"-inner")}))});fe.Z=v},31561:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return x}});var b=t(92413),m=t(400),D=t(33606),V=t(37061),Z=t(35593),K=t(92310),u=t.n(K),W=t(8654),e=t(59301),h=t(10228),v=t(16089),n=h.Z.ESC,r=h.Z.TAB;function o(T){var J=T.visible,q=T.triggerRef,G=T.onVisibleChange,H=T.autoFocus,$=T.overlayRef,p=e.useRef(!1),z=function(){if(J){var i,a;(i=q.current)===null||i===void 0||(a=i.focus)===null||a===void 0||a.call(i),G==null||G(!1)}},I=function(){var i;return(i=$.current)!==null&&i!==void 0&&i.focus?($.current.focus(),p.current=!0,!0):!1},B=function(i){switch(i.keyCode){case n:z();break;case r:{var a=!1;p.current||(a=I()),a?i.preventDefault():z();break}}};e.useEffect(function(){return J?(window.addEventListener("keydown",B),H&&(0,v.Z)(I,3),function(){window.removeEventListener("keydown",B),p.current=!1}):function(){p.current=!1}},[J])}var l=(0,e.forwardRef)(function(T,J){var q=T.overlay,G=T.arrow,H=T.prefixCls,$=(0,e.useMemo)(function(){var z;return typeof q=="function"?z=q():z=q,z},[q]),p=(0,W.sQ)(J,$==null?void 0:$.ref);return e.createElement(e.Fragment,null,G&&e.createElement("div",{className:"".concat(H,"-arrow")}),e.cloneElement($,{ref:(0,W.Yr)($)?p:void 0}))}),w=l,k={adjustX:1,adjustY:1},E=[0,0],g={topLeft:{points:["bl","tl"],overflow:k,offset:[0,-4],targetOffset:E},top:{points:["bc","tc"],overflow:k,offset:[0,-4],targetOffset:E},topRight:{points:["br","tr"],overflow:k,offset:[0,-4],targetOffset:E},bottomLeft:{points:["tl","bl"],overflow:k,offset:[0,4],targetOffset:E},bottom:{points:["tc","bc"],overflow:k,offset:[0,4],targetOffset:E},bottomRight:{points:["tr","br"],overflow:k,offset:[0,4],targetOffset:E}},O=g,C=["arrow","prefixCls","transitionName","animation","align","placement","placements","getPopupContainer","showAction","hideAction","overlayClassName","overlayStyle","visible","trigger","autoFocus","overlay","children","onVisibleChange"];function c(T,J){var q,G=T.arrow,H=G===void 0?!1:G,$=T.prefixCls,p=$===void 0?"rc-dropdown":$,z=T.transitionName,I=T.animation,B=T.align,P=T.placement,i=P===void 0?"bottomLeft":P,a=T.placements,_=a===void 0?O:a,F=T.getPopupContainer,te=T.showAction,ie=T.hideAction,ae=T.overlayClassName,he=T.overlayStyle,we=T.visible,Ke=T.trigger,Ie=Ke===void 0?["hover"]:Ke,ke=T.autoFocus,Xe=T.overlay,Oe=T.children,Ce=T.onVisibleChange,le=(0,V.Z)(T,C),se=e.useState(),L=(0,D.Z)(se,2),U=L[0],M=L[1],R="visible"in T?we:U,ee=e.useRef(null),y=e.useRef(null),d=e.useRef(null);e.useImperativeHandle(J,function(){return ee.current});var f=function(Ee){M(Ee),Ce==null||Ce(Ee)};o({visible:R,triggerRef:d,onVisibleChange:f,autoFocus:ke,overlayRef:y});var X=function(Ee){var pe=T.onOverlayClick;M(!1),pe&&pe(Ee)},j=function(){return e.createElement(w,{ref:y,overlay:Xe,prefixCls:p,arrow:H})},A=function(){return typeof Xe=="function"?j:j()},Q=function(){var Ee=T.minOverlayWidthMatchTrigger,pe=T.alignPoint;return"minOverlayWidthMatchTrigger"in T?Ee:!pe},ce=function(){var Ee=T.openClassName;return Ee!==void 0?Ee:"".concat(p,"-open")},re=e.cloneElement(Oe,{className:u()((q=Oe.props)===null||q===void 0?void 0:q.className,R&&ce()),ref:(0,W.Yr)(Oe)?(0,W.sQ)(d,Oe.ref):void 0}),oe=ie;return!oe&&Ie.indexOf("contextMenu")!==-1&&(oe=["click"]),e.createElement(Z.Z,(0,b.Z)({builtinPlacements:_},le,{prefixCls:p,ref:ee,popupClassName:u()(ae,(0,m.Z)({},"".concat(p,"-show-arrow"),H)),popupStyle:he,action:Ie,showAction:te,hideAction:oe,popupPlacement:i,popupAlign:B,popupTransitionName:z,popupAnimation:I,popupVisible:R,stretch:Q()?"minWidth":"",popup:A(),onPopupVisibleChange:f,onPopupClick:X,getPopupContainer:F}),re)}var s=e.forwardRef(c),x=s},93681:function(We,fe,t){"use strict";t.r(fe),t.d(fe,{BaseInput:function(){return h},default:function(){return g}});var b=t(92413),m=t(33708),D=t(400),V=t(39559),Z=t(92310),K=t.n(Z),u=t(59301),W=t(5643),e=function(C){var c,s,x=C.inputElement,T=C.prefixCls,J=C.prefix,q=C.suffix,G=C.addonBefore,H=C.addonAfter,$=C.className,p=C.style,z=C.disabled,I=C.readOnly,B=C.focused,P=C.triggerFocus,i=C.allowClear,a=C.value,_=C.handleReset,F=C.hidden,te=C.classes,ie=C.classNames,ae=C.dataAttrs,he=C.styles,we=C.components,Ke=(we==null?void 0:we.affixWrapper)||"span",Ie=(we==null?void 0:we.groupWrapper)||"span",ke=(we==null?void 0:we.wrapper)||"span",Xe=(we==null?void 0:we.groupAddon)||"span",Oe=(0,u.useRef)(null),Ce=function(j){var A;(A=Oe.current)!==null&&A!==void 0&&A.contains(j.target)&&(P==null||P())},le=function(){var j;if(!i)return null;var A=!z&&!I&&a,Q="".concat(T,"-clear-icon"),ce=(0,V.Z)(i)==="object"&&i!==null&&i!==void 0&&i.clearIcon?i.clearIcon:"\u2716";return u.createElement("span",{onClick:_,onMouseDown:function(oe){return oe.preventDefault()},className:K()(Q,(j={},(0,D.Z)(j,"".concat(Q,"-hidden"),!A),(0,D.Z)(j,"".concat(Q,"-has-suffix"),!!q),j)),role:"button",tabIndex:-1},ce)},se=(0,u.cloneElement)(x,{value:a,hidden:F,className:K()((c=x.props)===null||c===void 0?void 0:c.className,!(0,W.X3)(C)&&!(0,W.He)(C)&&$)||null,style:(0,m.Z)((0,m.Z)({},(s=x.props)===null||s===void 0?void 0:s.style),!(0,W.X3)(C)&&!(0,W.He)(C)?p:{})});if((0,W.X3)(C)){var L,U="".concat(T,"-affix-wrapper"),M=K()(U,(L={},(0,D.Z)(L,"".concat(U,"-disabled"),z),(0,D.Z)(L,"".concat(U,"-focused"),B),(0,D.Z)(L,"".concat(U,"-readonly"),I),(0,D.Z)(L,"".concat(U,"-input-with-clear-btn"),q&&i&&a),L),!(0,W.He)(C)&&$,te==null?void 0:te.affixWrapper,ie==null?void 0:ie.affixWrapper),R=(q||i)&&u.createElement("span",{className:K()("".concat(T,"-suffix"),ie==null?void 0:ie.suffix),style:he==null?void 0:he.suffix},le(),q);se=u.createElement(Ke,(0,b.Z)({className:M,style:(0,m.Z)((0,m.Z)({},(0,W.He)(C)?void 0:p),he==null?void 0:he.affixWrapper),hidden:!(0,W.He)(C)&&F,onClick:Ce},ae==null?void 0:ae.affixWrapper,{ref:Oe}),J&&u.createElement("span",{className:K()("".concat(T,"-prefix"),ie==null?void 0:ie.prefix),style:he==null?void 0:he.prefix},J),(0,u.cloneElement)(x,{value:a,hidden:null}),R)}if((0,W.He)(C)){var ee="".concat(T,"-group"),y="".concat(ee,"-addon"),d=K()("".concat(T,"-wrapper"),ee,te==null?void 0:te.wrapper),f=K()("".concat(T,"-group-wrapper"),$,te==null?void 0:te.group);return u.createElement(Ie,{className:f,style:p,hidden:F},u.createElement(ke,{className:d},G&&u.createElement(Xe,{className:y},G),(0,u.cloneElement)(se,{hidden:null}),H&&u.createElement(Xe,{className:y},H)))}return se},h=e,v=t(26407),n=t(33606),r=t(37061),o=t(18929),l=t(2738),w=["autoComplete","onChange","onFocus","onBlur","onPressEnter","onKeyDown","prefixCls","disabled","htmlSize","className","maxLength","suffix","showCount","type","classes","classNames","styles"],k=(0,u.forwardRef)(function(O,C){var c=O.autoComplete,s=O.onChange,x=O.onFocus,T=O.onBlur,J=O.onPressEnter,q=O.onKeyDown,G=O.prefixCls,H=G===void 0?"rc-input":G,$=O.disabled,p=O.htmlSize,z=O.className,I=O.maxLength,B=O.suffix,P=O.showCount,i=O.type,a=i===void 0?"text":i,_=O.classes,F=O.classNames,te=O.styles,ie=(0,r.Z)(O,w),ae=(0,o.Z)(O.defaultValue,{value:O.value}),he=(0,n.Z)(ae,2),we=he[0],Ke=he[1],Ie=(0,u.useState)(!1),ke=(0,n.Z)(Ie,2),Xe=ke[0],Oe=ke[1],Ce=(0,u.useRef)(null),le=function(f){Ce.current&&(0,W.nH)(Ce.current,f)};(0,u.useImperativeHandle)(C,function(){return{focus:le,blur:function(){var f;(f=Ce.current)===null||f===void 0||f.blur()},setSelectionRange:function(f,X,j){var A;(A=Ce.current)===null||A===void 0||A.setSelectionRange(f,X,j)},select:function(){var f;(f=Ce.current)===null||f===void 0||f.select()},input:Ce.current}}),(0,u.useEffect)(function(){Oe(function(d){return d&&$?!1:d})},[$]);var se=function(f){O.value===void 0&&Ke(f.target.value),Ce.current&&(0,W.rJ)(Ce.current,f,s)},L=function(f){J&&f.key==="Enter"&&J(f),q==null||q(f)},U=function(f){Oe(!0),x==null||x(f)},M=function(f){Oe(!1),T==null||T(f)},R=function(f){Ke(""),le(),Ce.current&&(0,W.rJ)(Ce.current,f,s)},ee=function(){var f=(0,l.Z)(O,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","showCount","classes","htmlSize","styles","classNames"]);return u.createElement("input",(0,b.Z)({autoComplete:c},f,{onChange:se,onFocus:U,onBlur:M,onKeyDown:L,className:K()(H,(0,D.Z)({},"".concat(H,"-disabled"),$),F==null?void 0:F.input),style:te==null?void 0:te.input,ref:Ce,size:p,type:a}))},y=function(){var f=Number(I)>0;if(B||P){var X=(0,W.D7)(we),j=(0,v.Z)(X).length,A=(0,V.Z)(P)==="object"?P.formatter({value:X,count:j,maxLength:I}):"".concat(j).concat(f?" / ".concat(I):"");return u.createElement(u.Fragment,null,!!P&&u.createElement("span",{className:K()("".concat(H,"-show-count-suffix"),(0,D.Z)({},"".concat(H,"-show-count-has-suffix"),!!B),F==null?void 0:F.count),style:(0,m.Z)({},te==null?void 0:te.count)},A),B)}return null};return u.createElement(h,(0,b.Z)({},ie,{prefixCls:H,className:z,inputElement:ee(),handleReset:R,value:(0,W.D7)(we),focused:Xe,triggerFocus:le,suffix:y(),disabled:$,classes:_,classNames:F,styles:te}))}),E=k,g=E},5643:function(We,fe,t){"use strict";t.d(fe,{D7:function(){return Z},He:function(){return b},X3:function(){return m},nH:function(){return V},rJ:function(){return D}});function b(K){return!!(K.addonBefore||K.addonAfter)}function m(K){return!!(K.prefix||K.suffix||K.allowClear)}function D(K,u,W,e){if(W){var h=u;if(u.type==="click"){var v=K.cloneNode(!0);h=Object.create(u,{target:{value:v},currentTarget:{value:v}}),v.value="",W(h);return}if(e!==void 0){h=Object.create(u,{target:{value:K},currentTarget:{value:K}}),K.value=e,W(h);return}W(h)}}function V(K,u){if(K){K.focus(u);var W=u||{},e=W.cursor;if(e){var h=K.value.length;switch(e){case"start":K.setSelectionRange(0,0);break;case"end":K.setSelectionRange(h,h);break;default:K.setSelectionRange(0,h)}}}}function Z(K){return typeof K=="undefined"||K===null?"":String(K)}},15285:function(We,fe,t){"use strict";t.d(fe,{iz:function(){return wt},ck:function(){return Je},BW:function(){return Ot},sN:function(){return Je},Wd:function(){return je},ZP:function(){return qe},Xl:function(){return q}});var b=t(92413),m=t(400),D=t(33708),V=t(26407),Z=t(33606),K=t(37061),u=t(92310),W=t.n(u),e=t(11780),h=t(18929),v=t(13697),n=t(48736),r=t(59301),o=t(4676),l=r.createContext(null);function w(_e,Se){return _e===void 0?null:"".concat(_e,"-").concat(Se)}function k(_e){var Se=r.useContext(l);return w(Se,_e)}var E=t(80547),g=["children","locked"],O=r.createContext(null);function C(_e,Se){var Ne=(0,D.Z)({},_e);return Object.keys(Se).forEach(function($e){var Me=Se[$e];Me!==void 0&&(Ne[$e]=Me)}),Ne}function c(_e){var Se=_e.children,Ne=_e.locked,$e=(0,K.Z)(_e,g),Me=r.useContext(O),ze=(0,E.Z)(function(){return C(Me,$e)},[Me,$e],function(Ae,et){return!Ne&&(Ae[0]!==et[0]||!(0,v.Z)(Ae[1],et[1],!0))});return r.createElement(O.Provider,{value:ze},Se)}var s=[],x=r.createContext(null);function T(){return r.useContext(x)}var J=r.createContext(s);function q(_e){var Se=r.useContext(J);return r.useMemo(function(){return _e!==void 0?[].concat((0,V.Z)(Se),[_e]):Se},[Se,_e])}var G=r.createContext(null),H=r.createContext({}),$=H,p=t(29194);function z(_e){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if((0,p.Z)(_e)){var Ne=_e.nodeName.toLowerCase(),$e=["input","select","textarea","button"].includes(Ne)||_e.isContentEditable||Ne==="a"&&!!_e.getAttribute("href"),Me=_e.getAttribute("tabindex"),ze=Number(Me),Ae=null;return Me&&!Number.isNaN(ze)?Ae=ze:$e&&Ae===null&&(Ae=0),$e&&_e.disabled&&(Ae=null),Ae!==null&&(Ae>=0||Se&&Ae<0)}return!1}function I(_e){var Se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Ne=(0,V.Z)(_e.querySelectorAll("*")).filter(function($e){return z($e,Se)});return z(_e,Se)&&Ne.unshift(_e),Ne}var B=null;function P(){B=document.activeElement}function i(){B=null}function a(){if(B)try{B.focus()}catch(_e){}}function _(_e,Se){if(Se.keyCode===9){var Ne=I(_e),$e=Ne[Se.shiftKey?0:Ne.length-1],Me=$e===document.activeElement||_e===document.activeElement;if(Me){var ze=Ne[Se.shiftKey?Ne.length-1:0];ze.focus(),Se.preventDefault()}}}var F=t(10228),te=t(16089),ie=F.Z.LEFT,ae=F.Z.RIGHT,he=F.Z.UP,we=F.Z.DOWN,Ke=F.Z.ENTER,Ie=F.Z.ESC,ke=F.Z.HOME,Xe=F.Z.END,Oe=[he,we,ie,ae];function Ce(_e,Se,Ne,$e){var Me,ze,Ae,et,yt="prev",mt="next",Ht="children",Kt="parent";if(_e==="inline"&&$e===Ke)return{inlineTrigger:!0};var dn=(Me={},(0,m.Z)(Me,he,yt),(0,m.Z)(Me,we,mt),Me),bt=(ze={},(0,m.Z)(ze,ie,Ne?mt:yt),(0,m.Z)(ze,ae,Ne?yt:mt),(0,m.Z)(ze,we,Ht),(0,m.Z)(ze,Ke,Ht),ze),ot=(Ae={},(0,m.Z)(Ae,he,yt),(0,m.Z)(Ae,we,mt),(0,m.Z)(Ae,Ke,Ht),(0,m.Z)(Ae,Ie,Kt),(0,m.Z)(Ae,ie,Ne?Ht:Kt),(0,m.Z)(Ae,ae,Ne?Kt:Ht),Ae),Yt={inline:dn,horizontal:bt,vertical:ot,inlineSub:dn,horizontalSub:ot,verticalSub:ot},Wt=(et=Yt["".concat(_e).concat(Se?"":"Sub")])===null||et===void 0?void 0:et[$e];switch(Wt){case yt:return{offset:-1,sibling:!0};case mt:return{offset:1,sibling:!0};case Kt:return{offset:-1,sibling:!1};case Ht:return{offset:1,sibling:!1};default:return null}}function le(_e){for(var Se=_e;Se;){if(Se.getAttribute("data-menu-list"))return Se;Se=Se.parentElement}return null}function se(_e,Se){for(var Ne=_e||document.activeElement;Ne;){if(Se.has(Ne))return Ne;Ne=Ne.parentElement}return null}function L(_e,Se){var Ne=I(_e,!0);return Ne.filter(function($e){return Se.has($e)})}function U(_e,Se,Ne){var $e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(!_e)return null;var Me=L(_e,Se),ze=Me.length,Ae=Me.findIndex(function(et){return Ne===et});return $e<0?Ae===-1?Ae=ze-1:Ae-=1:$e>0&&(Ae+=1),Ae=(Ae+ze)%ze,Me[Ae]}var M=function(Se,Ne){var $e=new Set,Me=new Map,ze=new Map;return Se.forEach(function(Ae){var et=document.querySelector("[data-menu-id='".concat(w(Ne,Ae),"']"));et&&($e.add(et),ze.set(et,Ae),Me.set(Ae,et))}),{elements:$e,key2element:Me,element2key:ze}};function R(_e,Se,Ne,$e,Me,ze,Ae,et,yt,mt){var Ht=r.useRef(),Kt=r.useRef();Kt.current=Se;var dn=function(){te.Z.cancel(Ht.current)};return r.useEffect(function(){return function(){dn()}},[]),function(bt){var ot=bt.which;if([].concat(Oe,[Ke,Ie,ke,Xe]).includes(ot)){var Yt=ze(),Wt=M(Yt,$e),jn=Wt,wn=jn.elements,mn=jn.key2element,Sn=jn.element2key,Vt=mn.get(Se),kn=se(Vt,wn),ar=Sn.get(kn),At=Ce(_e,Ae(ar,!0).length===1,Ne,ot);if(!At&&ot!==ke&&ot!==Xe)return;(Oe.includes(ot)||[ke,Xe].includes(ot))&&bt.preventDefault();var Ut=function(Gn){if(Gn){var Xn=Gn,cr=Gn.querySelector("a");cr!=null&&cr.getAttribute("href")&&(Xn=cr);var ft=Sn.get(Gn);et(ft),dn(),Ht.current=(0,te.Z)(function(){Kt.current===ft&&Xn.focus()})}};if([ke,Xe].includes(ot)||At.sibling||!kn){var Jt;!kn||_e==="inline"?Jt=Me.current:Jt=le(kn);var Cn,_n=L(Jt,wn);ot===ke?Cn=_n[0]:ot===Xe?Cn=_n[_n.length-1]:Cn=U(Jt,wn,kn,At.offset),Ut(Cn)}else if(At.inlineTrigger)yt(ar);else if(At.offset>0)yt(ar,!0),dn(),Ht.current=(0,te.Z)(function(){Wt=M(Yt,$e);var lr=kn.getAttribute("aria-controls"),Gn=document.getElementById(lr),Xn=U(Gn,Wt.elements);Ut(Xn)},5);else if(At.offset<0){var En=Ae(ar,!0),hn=En[En.length-2],Kn=mn.get(hn);yt(hn,!1),Ut(Kn)}}mt==null||mt(bt)}}function ee(_e){Promise.resolve().then(_e)}var y="__RC_UTIL_PATH_SPLIT__",d=function(Se){return Se.join(y)},f=function(Se){return Se.split(y)},X="rc-menu-more";function j(){var _e=r.useState({}),Se=(0,Z.Z)(_e,2),Ne=Se[1],$e=(0,r.useRef)(new Map),Me=(0,r.useRef)(new Map),ze=r.useState([]),Ae=(0,Z.Z)(ze,2),et=Ae[0],yt=Ae[1],mt=(0,r.useRef)(0),Ht=(0,r.useRef)(!1),Kt=function(){Ht.current||Ne({})},dn=(0,r.useCallback)(function(mn,Sn){var Vt=d(Sn);Me.current.set(Vt,mn),$e.current.set(mn,Vt),mt.current+=1;var kn=mt.current;ee(function(){kn===mt.current&&Kt()})},[]),bt=(0,r.useCallback)(function(mn,Sn){var Vt=d(Sn);Me.current.delete(Vt),$e.current.delete(mn)},[]),ot=(0,r.useCallback)(function(mn){yt(mn)},[]),Yt=(0,r.useCallback)(function(mn,Sn){var Vt=$e.current.get(mn)||"",kn=f(Vt);return Sn&&et.includes(kn[0])&&kn.unshift(X),kn},[et]),Wt=(0,r.useCallback)(function(mn,Sn){return mn.some(function(Vt){var kn=Yt(Vt,!0);return kn.includes(Sn)})},[Yt]),jn=function(){var Sn=(0,V.Z)($e.current.keys());return et.length&&Sn.push(X),Sn},wn=(0,r.useCallback)(function(mn){var Sn="".concat($e.current.get(mn)).concat(y),Vt=new Set;return(0,V.Z)(Me.current.keys()).forEach(function(kn){kn.startsWith(Sn)&&Vt.add(Me.current.get(kn))}),Vt},[]);return r.useEffect(function(){return function(){Ht.current=!0}},[]),{registerPath:dn,unregisterPath:bt,refreshOverflowKeys:ot,isSubPathKey:Wt,getKeyPath:Yt,getKeys:jn,getSubPathKeys:wn}}function A(_e){var Se=r.useRef(_e);Se.current=_e;var Ne=r.useCallback(function(){for(var $e,Me=arguments.length,ze=new Array(Me),Ae=0;Ae<Me;Ae++)ze[Ae]=arguments[Ae];return($e=Se.current)===null||$e===void 0?void 0:$e.call.apply($e,[Se].concat(ze))},[]);return _e?Ne:void 0}var Q=Math.random().toFixed(5).toString().slice(2),ce=0;function re(_e){var Se=(0,h.Z)(_e,{value:_e}),Ne=(0,Z.Z)(Se,2),$e=Ne[0],Me=Ne[1];return r.useEffect(function(){ce+=1;var ze="".concat(Q,"-").concat(ce);Me("rc-menu-uuid-".concat(ze))},[]),$e}var oe=t(6909),ve=t(4771),Ee=t(9427),pe=t(25440),Ze=t(2738),De=t(8654);function Re(_e,Se,Ne,$e){var Me=r.useContext(O),ze=Me.activeKey,Ae=Me.onActive,et=Me.onInactive,yt={active:ze===_e};return Se||(yt.onMouseEnter=function(mt){Ne==null||Ne({key:_e,domEvent:mt}),Ae(_e)},yt.onMouseLeave=function(mt){$e==null||$e({key:_e,domEvent:mt}),et(_e)}),yt}function Qe(_e){var Se=r.useContext(O),Ne=Se.mode,$e=Se.rtl,Me=Se.inlineIndent;if(Ne!=="inline")return null;var ze=_e;return $e?{paddingRight:ze*Me}:{paddingLeft:ze*Me}}function Ue(_e){var Se=_e.icon,Ne=_e.props,$e=_e.children,Me;return Se===null||Se===!1?null:(typeof Se=="function"?Me=r.createElement(Se,(0,D.Z)({},Ne)):typeof Se!="boolean"&&(Me=Se),Me||$e||null)}var st=["item"];function tt(_e){var Se=_e.item,Ne=(0,K.Z)(_e,st);return Object.defineProperty(Ne,"item",{get:function(){return(0,n.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),Se}}),Ne}var Dt=["title","attribute","elementRef"],Ct=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],Mt=["active"],Pt=function(_e){(0,Ee.Z)(Ne,_e);var Se=(0,pe.Z)(Ne);function Ne(){return(0,oe.Z)(this,Ne),Se.apply(this,arguments)}return(0,ve.Z)(Ne,[{key:"render",value:function(){var Me=this.props,ze=Me.title,Ae=Me.attribute,et=Me.elementRef,yt=(0,K.Z)(Me,Dt),mt=(0,Ze.Z)(yt,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,n.ZP)(!Ae,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),r.createElement(e.Z.Item,(0,b.Z)({},Ae,{title:typeof ze=="string"?ze:void 0},mt,{ref:et}))}}]),Ne}(r.Component),rn=r.forwardRef(function(_e,Se){var Ne,$e=_e.style,Me=_e.className,ze=_e.eventKey,Ae=_e.warnKey,et=_e.disabled,yt=_e.itemIcon,mt=_e.children,Ht=_e.role,Kt=_e.onMouseEnter,dn=_e.onMouseLeave,bt=_e.onClick,ot=_e.onKeyDown,Yt=_e.onFocus,Wt=(0,K.Z)(_e,Ct),jn=k(ze),wn=r.useContext(O),mn=wn.prefixCls,Sn=wn.onItemClick,Vt=wn.disabled,kn=wn.overflowDisabled,ar=wn.itemIcon,At=wn.selectedKeys,Ut=wn.onActive,Jt=r.useContext($),Cn=Jt._internalRenderMenuItem,_n="".concat(mn,"-item"),En=r.useRef(),hn=r.useRef(),Kn=Vt||et,lr=(0,De.x1)(Se,hn),Gn=q(ze),Xn=function(Yn){return{key:ze,keyPath:(0,V.Z)(Gn).reverse(),item:En.current,domEvent:Yn}},cr=yt||ar,ft=Re(ze,Kn,Kt,dn),Et=ft.active,Gt=(0,K.Z)(ft,Mt),Zn=At.includes(ze),tr=Qe(Gn.length),gr=function(Yn){if(!Kn){var br=Xn(Yn);bt==null||bt(tt(br)),Sn(br)}},er=function(Yn){if(ot==null||ot(Yn),Yn.which===F.Z.ENTER){var br=Xn(Yn);bt==null||bt(tt(br)),Sn(br)}},mr=function(Yn){Ut(ze),Yt==null||Yt(Yn)},_r={};_e.role==="option"&&(_r["aria-selected"]=Zn);var Sr=r.createElement(Pt,(0,b.Z)({ref:En,elementRef:lr,role:Ht===null?"none":Ht||"menuitem",tabIndex:et?null:-1,"data-menu-id":kn&&jn?null:jn},Wt,Gt,_r,{component:"li","aria-disabled":et,style:(0,D.Z)((0,D.Z)({},tr),$e),className:W()(_n,(Ne={},(0,m.Z)(Ne,"".concat(_n,"-active"),Et),(0,m.Z)(Ne,"".concat(_n,"-selected"),Zn),(0,m.Z)(Ne,"".concat(_n,"-disabled"),Kn),Ne),Me),onClick:gr,onKeyDown:er,onFocus:mr}),mt,r.createElement(Ue,{props:(0,D.Z)((0,D.Z)({},_e),{},{isSelected:Zn}),icon:cr}));return Cn&&(Sr=Cn(Sr,_e,{selected:Zn})),Sr});function Tt(_e,Se){var Ne=_e.eventKey,$e=T(),Me=q(Ne);return r.useEffect(function(){if($e)return $e.registerPath(Ne,Me),function(){$e.unregisterPath(Ne,Me)}},[Me]),$e?null:r.createElement(rn,(0,b.Z)({},_e,{ref:Se}))}var Je=r.forwardRef(Tt),$t=["className","children"],ut=function(Se,Ne){var $e=Se.className,Me=Se.children,ze=(0,K.Z)(Se,$t),Ae=r.useContext(O),et=Ae.prefixCls,yt=Ae.mode,mt=Ae.rtl;return r.createElement("ul",(0,b.Z)({className:W()(et,mt&&"".concat(et,"-rtl"),"".concat(et,"-sub"),"".concat(et,"-").concat(yt==="inline"?"inline":"vertical"),$e),role:"menu"},ze,{"data-menu-list":!0,ref:Ne}),Me)},ht=r.forwardRef(ut);ht.displayName="SubMenuList";var Xt=ht,an=t(11592);function Dn(_e,Se){return(0,an.Z)(_e).map(function(Ne,$e){if(r.isValidElement(Ne)){var Me,ze,Ae=Ne.key,et=(Me=(ze=Ne.props)===null||ze===void 0?void 0:ze.eventKey)!==null&&Me!==void 0?Me:Ae,yt=et==null;yt&&(et="tmp_key-".concat([].concat((0,V.Z)(Se),[$e]).join("-")));var mt={key:et,eventKey:et};return r.cloneElement(Ne,mt)}return Ne})}var yn=t(35593),On={adjustX:1,adjustY:1},Ln={topLeft:{points:["bl","tl"],overflow:On},topRight:{points:["br","tr"],overflow:On},bottomLeft:{points:["tl","bl"],overflow:On},bottomRight:{points:["tr","br"],overflow:On},leftTop:{points:["tr","tl"],overflow:On},leftBottom:{points:["br","bl"],overflow:On},rightTop:{points:["tl","tr"],overflow:On},rightBottom:{points:["bl","br"],overflow:On}},In={topLeft:{points:["bl","tl"],overflow:On},topRight:{points:["br","tr"],overflow:On},bottomLeft:{points:["tl","bl"],overflow:On},bottomRight:{points:["tr","br"],overflow:On},rightTop:{points:["tr","tl"],overflow:On},rightBottom:{points:["br","bl"],overflow:On},leftTop:{points:["tl","tr"],overflow:On},leftBottom:{points:["bl","br"],overflow:On}},Bn=null;function zt(_e,Se,Ne){if(Se)return Se;if(Ne)return Ne[_e]||Ne.other}var Nt={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function cn(_e){var Se=_e.prefixCls,Ne=_e.visible,$e=_e.children,Me=_e.popup,ze=_e.popupStyle,Ae=_e.popupClassName,et=_e.popupOffset,yt=_e.disabled,mt=_e.mode,Ht=_e.onVisibleChange,Kt=r.useContext(O),dn=Kt.getPopupContainer,bt=Kt.rtl,ot=Kt.subMenuOpenDelay,Yt=Kt.subMenuCloseDelay,Wt=Kt.builtinPlacements,jn=Kt.triggerSubMenuAction,wn=Kt.forceSubMenuRender,mn=Kt.rootClassName,Sn=Kt.motion,Vt=Kt.defaultMotions,kn=r.useState(!1),ar=(0,Z.Z)(kn,2),At=ar[0],Ut=ar[1],Jt=bt?(0,D.Z)((0,D.Z)({},In),Wt):(0,D.Z)((0,D.Z)({},Ln),Wt),Cn=Nt[mt],_n=zt(mt,Sn,Vt),En=r.useRef(_n);mt!=="inline"&&(En.current=_n);var hn=(0,D.Z)((0,D.Z)({},En.current),{},{leavedClassName:"".concat(Se,"-hidden"),removeOnLeave:!1,motionAppear:!0}),Kn=r.useRef();return r.useEffect(function(){return Kn.current=(0,te.Z)(function(){Ut(Ne)}),function(){te.Z.cancel(Kn.current)}},[Ne]),r.createElement(yn.Z,{prefixCls:Se,popupClassName:W()("".concat(Se,"-popup"),(0,m.Z)({},"".concat(Se,"-rtl"),bt),Ae,mn),stretch:mt==="horizontal"?"minWidth":null,getPopupContainer:dn,builtinPlacements:Jt,popupPlacement:Cn,popupVisible:At,popup:Me,popupStyle:ze,popupAlign:et&&{offset:et},action:yt?[]:[jn],mouseEnterDelay:ot,mouseLeaveDelay:Yt,onPopupVisibleChange:Ht,forceRender:wn,popupMotion:hn,fresh:!0},$e)}var zn=t(77900);function An(_e){var Se=_e.id,Ne=_e.open,$e=_e.keyPath,Me=_e.children,ze="inline",Ae=r.useContext(O),et=Ae.prefixCls,yt=Ae.forceSubMenuRender,mt=Ae.motion,Ht=Ae.defaultMotions,Kt=Ae.mode,dn=r.useRef(!1);dn.current=Kt===ze;var bt=r.useState(!dn.current),ot=(0,Z.Z)(bt,2),Yt=ot[0],Wt=ot[1],jn=dn.current?Ne:!1;r.useEffect(function(){dn.current&&Wt(!1)},[Kt]);var wn=(0,D.Z)({},zt(ze,mt,Ht));$e.length>1&&(wn.motionAppear=!1);var mn=wn.onVisibleChanged;return wn.onVisibleChanged=function(Sn){return!dn.current&&!Sn&&Wt(!0),mn==null?void 0:mn(Sn)},Yt?null:r.createElement(c,{mode:ze,locked:!dn.current},r.createElement(zn.default,(0,b.Z)({visible:jn},wn,{forceRender:yt,removeOnLeave:!1,leavedClassName:"".concat(et,"-hidden")}),function(Sn){var Vt=Sn.className,kn=Sn.style;return r.createElement(Xt,{id:Se,className:Vt,style:kn},Me)}))}var ge=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","popupStyle","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],me=["active"],Ye=function(Se){var Ne,$e=Se.style,Me=Se.className,ze=Se.title,Ae=Se.eventKey,et=Se.warnKey,yt=Se.disabled,mt=Se.internalPopupClose,Ht=Se.children,Kt=Se.itemIcon,dn=Se.expandIcon,bt=Se.popupClassName,ot=Se.popupOffset,Yt=Se.popupStyle,Wt=Se.onClick,jn=Se.onMouseEnter,wn=Se.onMouseLeave,mn=Se.onTitleClick,Sn=Se.onTitleMouseEnter,Vt=Se.onTitleMouseLeave,kn=(0,K.Z)(Se,ge),ar=k(Ae),At=r.useContext(O),Ut=At.prefixCls,Jt=At.mode,Cn=At.openKeys,_n=At.disabled,En=At.overflowDisabled,hn=At.activeKey,Kn=At.selectedKeys,lr=At.itemIcon,Gn=At.expandIcon,Xn=At.onItemClick,cr=At.onOpenChange,ft=At.onActive,Et=r.useContext($),Gt=Et._internalRenderSubMenuItem,Zn=r.useContext(G),tr=Zn.isSubPathKey,gr=q(),er="".concat(Ut,"-submenu"),mr=_n||yt,_r=r.useRef(),Sr=r.useRef(),yr=Kt!=null?Kt:lr,Yn=dn!=null?dn:Gn,br=Cn.includes(Ae),Fr=!En&&br,Ar=tr(Kn,Ae),Ir=Re(Ae,mr,Sn,Vt),Hr=Ir.active,Wr=(0,K.Z)(Ir,me),ti=r.useState(!1),qr=(0,Z.Z)(ti,2),_i=qr[0],yi=qr[1],li=function(wr){mr||yi(wr)},Ur=function(wr){li(!0),jn==null||jn({key:Ae,domEvent:wr})},Pi=function(wr){li(!1),wn==null||wn({key:Ae,domEvent:wr})},bi=r.useMemo(function(){return Hr||(Jt!=="inline"?_i||tr([hn],Ae):!1)},[Jt,Hr,hn,_i,Ae,tr]),ui=Qe(gr.length),ci=function(wr){mr||(mn==null||mn({key:Ae,domEvent:wr}),Jt==="inline"&&cr(Ae,!br))},ni=A(function(xr){Wt==null||Wt(tt(xr)),Xn(xr)}),Ft=function(wr){Jt!=="inline"&&cr(Ae,wr)},xn=function(){ft(Ae)},Qt=ar&&"".concat(ar,"-popup"),pn=r.createElement("div",(0,b.Z)({role:"menuitem",style:ui,className:"".concat(er,"-title"),tabIndex:mr?null:-1,ref:_r,title:typeof ze=="string"?ze:null,"data-menu-id":En&&ar?null:ar,"aria-expanded":Fr,"aria-haspopup":!0,"aria-controls":Qt,"aria-disabled":mr,onClick:ci,onFocus:xn},Wr),ze,r.createElement(Ue,{icon:Jt!=="horizontal"?Yn:void 0,props:(0,D.Z)((0,D.Z)({},Se),{},{isOpen:Fr,isSubMenu:!0})},r.createElement("i",{className:"".concat(er,"-arrow")}))),Mn=r.useRef(Jt);if(Jt!=="inline"&&gr.length>1?Mn.current="vertical":Mn.current=Jt,!En){var Jn=Mn.current;pn=r.createElement(cn,{mode:Jn,prefixCls:er,visible:!mt&&Fr&&Jt!=="inline",popupClassName:bt,popupOffset:ot,popupStyle:Yt,popup:r.createElement(c,{mode:Jn==="horizontal"?"vertical":Jn},r.createElement(Xt,{id:Qt,ref:Sr},Ht)),disabled:mr,onVisibleChange:Ft},pn)}var Lr=r.createElement(e.Z.Item,(0,b.Z)({role:"none"},kn,{component:"li",style:$e,className:W()(er,"".concat(er,"-").concat(Jt),Me,(Ne={},(0,m.Z)(Ne,"".concat(er,"-open"),Fr),(0,m.Z)(Ne,"".concat(er,"-active"),bi),(0,m.Z)(Ne,"".concat(er,"-selected"),Ar),(0,m.Z)(Ne,"".concat(er,"-disabled"),mr),Ne)),onMouseEnter:Ur,onMouseLeave:Pi}),pn,!En&&r.createElement(An,{id:Qt,open:Fr,keyPath:gr},Ht));return Gt&&(Lr=Gt(Lr,Se,{selected:Ar,active:bi,open:Fr,disabled:mr})),r.createElement(c,{onItemClick:ni,mode:Jt==="horizontal"?"vertical":Jt,itemIcon:yr,expandIcon:Yn},Lr)};function je(_e){var Se=_e.eventKey,Ne=_e.children,$e=q(Se),Me=Dn(Ne,$e),ze=T();r.useEffect(function(){if(ze)return ze.registerPath(Se,$e),function(){ze.unregisterPath(Se,$e)}},[$e]);var Ae;return ze?Ae=Me:Ae=r.createElement(Ye,_e,Me),r.createElement(J.Provider,{value:$e},Ae)}var pt=t(39559),nt=["className","title","eventKey","children"],_t=["children"],at=function(Se){var Ne=Se.className,$e=Se.title,Me=Se.eventKey,ze=Se.children,Ae=(0,K.Z)(Se,nt),et=r.useContext(O),yt=et.prefixCls,mt="".concat(yt,"-item-group");return r.createElement("li",(0,b.Z)({role:"presentation"},Ae,{onClick:function(Kt){return Kt.stopPropagation()},className:W()(mt,Ne)}),r.createElement("div",{role:"presentation",className:"".concat(mt,"-title"),title:typeof $e=="string"?$e:void 0},$e),r.createElement("ul",{role:"group",className:"".concat(mt,"-list")},ze))};function Ot(_e){var Se=_e.children,Ne=(0,K.Z)(_e,_t),$e=q(Ne.eventKey),Me=Dn(Se,$e),ze=T();return ze?Me:r.createElement(at,(0,Ze.Z)(Ne,["warnKey"]),Me)}function wt(_e){var Se=_e.className,Ne=_e.style,$e=r.useContext(O),Me=$e.prefixCls,ze=T();return ze?null:r.createElement("li",{role:"separator",className:W()("".concat(Me,"-item-divider"),Se),style:Ne})}var Fe=["label","children","key","type"];function Be(_e){return(_e||[]).map(function(Se,Ne){if(Se&&(0,pt.Z)(Se)==="object"){var $e=Se,Me=$e.label,ze=$e.children,Ae=$e.key,et=$e.type,yt=(0,K.Z)($e,Fe),mt=Ae!=null?Ae:"tmp-".concat(Ne);return ze||et==="group"?et==="group"?r.createElement(Ot,(0,b.Z)({key:mt},yt,{title:Me}),Be(ze)):r.createElement(je,(0,b.Z)({key:mt},yt,{title:Me}),Be(ze)):et==="divider"?r.createElement(wt,(0,b.Z)({key:mt},yt)):r.createElement(Je,(0,b.Z)({key:mt},yt),Me)}return null}).filter(function(Se){return Se})}function rt(_e,Se,Ne){var $e=_e;return Se&&($e=Be(Se)),Dn($e,Ne)}var it=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],lt=[],on=r.forwardRef(function(_e,Se){var Ne,$e,Me=_e,ze=Me.prefixCls,Ae=ze===void 0?"rc-menu":ze,et=Me.rootClassName,yt=Me.style,mt=Me.className,Ht=Me.tabIndex,Kt=Ht===void 0?0:Ht,dn=Me.items,bt=Me.children,ot=Me.direction,Yt=Me.id,Wt=Me.mode,jn=Wt===void 0?"vertical":Wt,wn=Me.inlineCollapsed,mn=Me.disabled,Sn=Me.disabledOverflow,Vt=Me.subMenuOpenDelay,kn=Vt===void 0?.1:Vt,ar=Me.subMenuCloseDelay,At=ar===void 0?.1:ar,Ut=Me.forceSubMenuRender,Jt=Me.defaultOpenKeys,Cn=Me.openKeys,_n=Me.activeKey,En=Me.defaultActiveFirst,hn=Me.selectable,Kn=hn===void 0?!0:hn,lr=Me.multiple,Gn=lr===void 0?!1:lr,Xn=Me.defaultSelectedKeys,cr=Me.selectedKeys,ft=Me.onSelect,Et=Me.onDeselect,Gt=Me.inlineIndent,Zn=Gt===void 0?24:Gt,tr=Me.motion,gr=Me.defaultMotions,er=Me.triggerSubMenuAction,mr=er===void 0?"hover":er,_r=Me.builtinPlacements,Sr=Me.itemIcon,yr=Me.expandIcon,Yn=Me.overflowedIndicator,br=Yn===void 0?"...":Yn,Fr=Me.overflowedIndicatorPopupClassName,Ar=Me.getPopupContainer,Ir=Me.onClick,Hr=Me.onOpenChange,Wr=Me.onKeyDown,ti=Me.openAnimation,qr=Me.openTransitionName,_i=Me._internalRenderMenuItem,yi=Me._internalRenderSubMenuItem,li=(0,K.Z)(Me,it),Ur=r.useMemo(function(){return rt(bt,dn,lt)},[bt,dn]),Pi=r.useState(!1),bi=(0,Z.Z)(Pi,2),ui=bi[0],ci=bi[1],ni=r.useRef(),Ft=re(Yt),xn=ot==="rtl",Qt=(0,h.Z)(Jt,{value:Cn,postState:function(Cr){return Cr||lt}}),pn=(0,Z.Z)(Qt,2),Mn=pn[0],Jn=pn[1],Lr=function(Cr){var Tr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;function wi(){Jn(Cr),Hr==null||Hr(Cr)}Tr?(0,o.flushSync)(wi):wi()},xr=r.useState(Mn),wr=(0,Z.Z)(xr,2),Rr=wr[0],di=wr[1],Ni=r.useRef(!1),Zi=r.useMemo(function(){return(jn==="inline"||jn==="vertical")&&wn?["vertical",wn]:[jn,!1]},[jn,wn]),mi=(0,Z.Z)(Zi,2),ai=mi[0],Lt=mi[1],Rn=ai==="inline",pr=r.useState(ai),Br=(0,Z.Z)(pr,2),ur=Br[0],zi=Br[1],ji=r.useState(Lt),Hi=(0,Z.Z)(ji,2),$i=Hi[0],xa=Hi[1];r.useEffect(function(){zi(ai),xa(Lt),Ni.current&&(Rn?Jn(Rr):Lr(lt))},[ai,Lt]);var la=r.useState(0),aa=(0,Z.Z)(la,2),ea=aa[0],ua=aa[1],ta=ea>=Ur.length-1||ur!=="horizontal"||Sn;r.useEffect(function(){Rn&&di(Mn)},[Mn]),r.useEffect(function(){return Ni.current=!0,function(){Ni.current=!1}},[]);var ki=j(),ca=ki.registerPath,da=ki.unregisterPath,fa=ki.refreshOverflowKeys,Gi=ki.isSubPathKey,Qn=ki.getKeyPath,Hn=ki.getKeys,ei=ki.getSubPathKeys,jr=r.useMemo(function(){return{registerPath:ca,unregisterPath:da}},[ca,da]),Zr=r.useMemo(function(){return{isSubPathKey:Gi}},[Gi]);r.useEffect(function(){fa(ta?lt:Ur.slice(ea+1).map(function(zr){return zr.key}))},[ea,ta]);var ri=(0,h.Z)(_n||En&&((Ne=Ur[0])===null||Ne===void 0?void 0:Ne.key),{value:_n}),oi=(0,Z.Z)(ri,2),Di=oi[0],xi=oi[1],Xi=A(function(zr){xi(zr)}),Mi=A(function(){xi(void 0)});(0,r.useImperativeHandle)(Se,function(){return{list:ni.current,focus:function(Cr){var Tr,wi=Hn(),Ci=M(wi,Ft),ga=Ci.elements,Yi=Ci.key2element,_a=Ci.element2key,Ta=L(ni.current,ga),Na=Di!=null?Di:Ta[0]?_a.get(Ta[0]):(Tr=Ur.find(function(Va){return!Va.props.disabled}))===null||Tr===void 0?void 0:Tr.key,ya=Yi.get(Na);if(Na&&ya){var Sa;ya==null||(Sa=ya.focus)===null||Sa===void 0||Sa.call(ya,Cr)}}}});var ha=(0,h.Z)(Xn||[],{value:cr,postState:function(Cr){return Array.isArray(Cr)?Cr:Cr==null?lt:[Cr]}}),Ia=(0,Z.Z)(ha,2),pa=Ia[0],ma=Ia[1],wa=function(Cr){if(Kn){var Tr=Cr.key,wi=pa.includes(Tr),Ci;Gn?wi?Ci=pa.filter(function(Yi){return Yi!==Tr}):Ci=[].concat((0,V.Z)(pa),[Tr]):Ci=[Tr],ma(Ci);var ga=(0,D.Z)((0,D.Z)({},Cr),{},{selectedKeys:Ci});wi?Et==null||Et(ga):ft==null||ft(ga)}!Gn&&Mn.length&&ur!=="inline"&&Lr(lt)},va=A(function(zr){Ir==null||Ir(tt(zr)),wa(zr)}),Ca=A(function(zr,Cr){var Tr=Mn.filter(function(Ci){return Ci!==zr});if(Cr)Tr.push(zr);else if(ur!=="inline"){var wi=ei(zr);Tr=Tr.filter(function(Ci){return!wi.has(Ci)})}(0,v.Z)(Mn,Tr,!0)||Lr(Tr,!0)}),Ba=function(Cr,Tr){var wi=Tr!=null?Tr:!Mn.includes(Cr);Ca(Cr,wi)},Ea=R(ur,Di,xn,Ft,ni,Hn,Qn,xi,Ba,Wr);r.useEffect(function(){ci(!0)},[]);var Ra=r.useMemo(function(){return{_internalRenderMenuItem:_i,_internalRenderSubMenuItem:yi}},[_i,yi]),Pa=ur!=="horizontal"||Sn?Ur:Ur.map(function(zr,Cr){return r.createElement(c,{key:zr.key,overflowDisabled:Cr>ea},zr)}),Da=r.createElement(e.Z,(0,b.Z)({id:Yt,ref:ni,prefixCls:"".concat(Ae,"-overflow"),component:"ul",itemComponent:Je,className:W()(Ae,"".concat(Ae,"-root"),"".concat(Ae,"-").concat(ur),mt,($e={},(0,m.Z)($e,"".concat(Ae,"-inline-collapsed"),$i),(0,m.Z)($e,"".concat(Ae,"-rtl"),xn),$e),et),dir:ot,style:yt,role:"menu",tabIndex:Kt,data:Pa,renderRawItem:function(Cr){return Cr},renderRawRest:function(Cr){var Tr=Cr.length,wi=Tr?Ur.slice(-Tr):null;return r.createElement(je,{eventKey:X,title:br,disabled:ta,internalPopupClose:Tr===0,popupClassName:Fr},wi)},maxCount:ur!=="horizontal"||Sn?e.Z.INVALIDATE:e.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(Cr){ua(Cr)},onKeyDown:Ea},li));return r.createElement($.Provider,{value:Ra},r.createElement(l.Provider,{value:Ft},r.createElement(c,{prefixCls:Ae,rootClassName:et,mode:ur,openKeys:Mn,rtl:xn,disabled:mn,motion:ui?tr:null,defaultMotions:ui?gr:null,activeKey:Di,onActive:Xi,onInactive:Mi,selectedKeys:pa,inlineIndent:Zn,subMenuOpenDelay:kn,subMenuCloseDelay:At,forceSubMenuRender:Ut,builtinPlacements:_r,triggerSubMenuAction:mr,getPopupContainer:Ar,itemIcon:Sr,expandIcon:yr,onItemClick:va,onOpenChange:Ca},r.createElement(G.Provider,{value:Zr},Da),r.createElement("div",{style:{display:"none"},"aria-hidden":!0},r.createElement(x.Provider,{value:jr},Ur)))))}),gn=on,Zt=gn;Zt.Item=Je,Zt.SubMenu=je,Zt.ItemGroup=Ot,Zt.Divider=wt;var qe=Zt},11780:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return P}});var b=t(92413),m=t(33708),D=t(33606),V=t(37061),Z=t(59301),K=t(92310),u=t.n(K),W=t(29301),e=t(34280),h=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],v=void 0;function n(i,a){var _=i.prefixCls,F=i.invalidate,te=i.item,ie=i.renderItem,ae=i.responsive,he=i.responsiveDisabled,we=i.registerSize,Ke=i.itemKey,Ie=i.className,ke=i.style,Xe=i.children,Oe=i.display,Ce=i.order,le=i.component,se=le===void 0?"div":le,L=(0,V.Z)(i,h),U=ae&&!Oe;function M(f){we(Ke,f)}Z.useEffect(function(){return function(){M(null)}},[]);var R=ie&&te!==v?ie(te,{index:Ce}):Xe,ee;F||(ee={opacity:U?0:1,height:U?0:v,overflowY:U?"hidden":v,order:ae?Ce:v,pointerEvents:U?"none":v,position:U?"absolute":v});var y={};U&&(y["aria-hidden"]=!0);var d=Z.createElement(se,(0,b.Z)({className:u()(!F&&_,Ie),style:(0,m.Z)((0,m.Z)({},ee),ke)},y,L,{ref:a}),R);return ae&&(d=Z.createElement(W.Z,{onResize:function(X){var j=X.offsetWidth;M(j)},disabled:he},d)),d}var r=Z.forwardRef(n);r.displayName="Item";var o=r,l=t(6089),w=t(4676),k=t(16089);function E(i){if(typeof MessageChannel=="undefined")(0,k.Z)(i);else{var a=new MessageChannel;a.port1.onmessage=function(){return i()},a.port2.postMessage(void 0)}}function g(){var i=Z.useRef(null),a=function(F){i.current||(i.current=[],E(function(){(0,w.unstable_batchedUpdates)(function(){i.current.forEach(function(te){te()}),i.current=null})})),i.current.push(F)};return a}function O(i,a){var _=Z.useState(a),F=(0,D.Z)(_,2),te=F[0],ie=F[1],ae=(0,l.Z)(function(he){i(function(){ie(he)})});return[te,ae]}var C=Z.createContext(null),c=["component"],s=["className"],x=["className"],T=function(a,_){var F=Z.useContext(C);if(!F){var te=a.component,ie=te===void 0?"div":te,ae=(0,V.Z)(a,c);return Z.createElement(ie,(0,b.Z)({},ae,{ref:_}))}var he=F.className,we=(0,V.Z)(F,s),Ke=a.className,Ie=(0,V.Z)(a,x);return Z.createElement(C.Provider,{value:null},Z.createElement(o,(0,b.Z)({ref:_,className:u()(he,Ke)},we,Ie)))},J=Z.forwardRef(T);J.displayName="RawItem";var q=J,G=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],H="responsive",$="invalidate";function p(i){return"+ ".concat(i.length," ...")}function z(i,a){var _=i.prefixCls,F=_===void 0?"rc-overflow":_,te=i.data,ie=te===void 0?[]:te,ae=i.renderItem,he=i.renderRawItem,we=i.itemKey,Ke=i.itemWidth,Ie=Ke===void 0?10:Ke,ke=i.ssr,Xe=i.style,Oe=i.className,Ce=i.maxCount,le=i.renderRest,se=i.renderRawRest,L=i.suffix,U=i.component,M=U===void 0?"div":U,R=i.itemComponent,ee=i.onVisibleChange,y=(0,V.Z)(i,G),d=ke==="full",f=g(),X=O(f,null),j=(0,D.Z)(X,2),A=j[0],Q=j[1],ce=A||0,re=O(f,new Map),oe=(0,D.Z)(re,2),ve=oe[0],Ee=oe[1],pe=O(f,0),Ze=(0,D.Z)(pe,2),De=Ze[0],Re=Ze[1],Qe=O(f,0),Ue=(0,D.Z)(Qe,2),st=Ue[0],tt=Ue[1],Dt=O(f,0),Ct=(0,D.Z)(Dt,2),Mt=Ct[0],Pt=Ct[1],rn=(0,Z.useState)(null),Tt=(0,D.Z)(rn,2),Je=Tt[0],$t=Tt[1],ut=(0,Z.useState)(null),ht=(0,D.Z)(ut,2),Xt=ht[0],an=ht[1],Dn=Z.useMemo(function(){return Xt===null&&d?Number.MAX_SAFE_INTEGER:Xt||0},[Xt,A]),yn=(0,Z.useState)(!1),On=(0,D.Z)(yn,2),Ln=On[0],In=On[1],Bn="".concat(F,"-item"),zt=Math.max(De,st),Nt=Ce===H,cn=ie.length&&Nt,zn=Ce===$,An=cn||typeof Ce=="number"&&ie.length>Ce,ge=(0,Z.useMemo)(function(){var qe=ie;return cn?A===null&&d?qe=ie:qe=ie.slice(0,Math.min(ie.length,ce/Ie)):typeof Ce=="number"&&(qe=ie.slice(0,Ce)),qe},[ie,Ie,A,Ce,cn]),me=(0,Z.useMemo)(function(){return cn?ie.slice(Dn+1):ie.slice(ge.length)},[ie,ge,cn,Dn]),Ye=(0,Z.useCallback)(function(qe,_e){var Se;return typeof we=="function"?we(qe):(Se=we&&(qe==null?void 0:qe[we]))!==null&&Se!==void 0?Se:_e},[we]),je=(0,Z.useCallback)(ae||function(qe){return qe},[ae]);function pt(qe,_e,Se){Xt===qe&&(_e===void 0||_e===Je)||(an(qe),Se||(In(qe<ie.length-1),ee==null||ee(qe)),_e!==void 0&&$t(_e))}function nt(qe,_e){Q(_e.clientWidth)}function _t(qe,_e){Ee(function(Se){var Ne=new Map(Se);return _e===null?Ne.delete(qe):Ne.set(qe,_e),Ne})}function at(qe,_e){tt(_e),Re(st)}function Ot(qe,_e){Pt(_e)}function wt(qe){return ve.get(Ye(ge[qe],qe))}(0,e.Z)(function(){if(ce&&typeof zt=="number"&&ge){var qe=Mt,_e=ge.length,Se=_e-1;if(!_e){pt(0,null);return}for(var Ne=0;Ne<_e;Ne+=1){var $e=wt(Ne);if(d&&($e=$e||0),$e===void 0){pt(Ne-1,void 0,!0);break}if(qe+=$e,Se===0&&qe<=ce||Ne===Se-1&&qe+wt(Se)<=ce){pt(Se,null);break}else if(qe+zt>ce){pt(Ne-1,qe-$e-Mt+st);break}}L&&wt(0)+Mt>ce&&$t(null)}},[ce,ve,st,Mt,Ye,ge]);var Fe=Ln&&!!me.length,Be={};Je!==null&&cn&&(Be={position:"absolute",left:Je,top:0});var rt={prefixCls:Bn,responsive:cn,component:R,invalidate:zn},it=he?function(qe,_e){var Se=Ye(qe,_e);return Z.createElement(C.Provider,{key:Se,value:(0,m.Z)((0,m.Z)({},rt),{},{order:_e,item:qe,itemKey:Se,registerSize:_t,display:_e<=Dn})},he(qe,_e))}:function(qe,_e){var Se=Ye(qe,_e);return Z.createElement(o,(0,b.Z)({},rt,{order:_e,key:Se,item:qe,renderItem:je,itemKey:Se,registerSize:_t,display:_e<=Dn}))},lt={order:Fe?Dn:Number.MAX_SAFE_INTEGER,className:"".concat(Bn,"-rest"),registerSize:at,display:Fe},on=le||p,gn=se?Z.createElement(C.Provider,{value:(0,m.Z)((0,m.Z)({},rt),lt)},se(me)):Z.createElement(o,(0,b.Z)({},rt,lt),typeof on=="function"?on(me):on),Zt=Z.createElement(M,(0,b.Z)({className:u()(!zn&&F,Oe),style:Xe,ref:a},y),ge.map(it),An?gn:null,L&&Z.createElement(o,(0,b.Z)({},rt,{responsive:Nt,responsiveDisabled:!cn,order:Dn,className:"".concat(Bn,"-suffix"),registerSize:Ot,display:!0,style:Be}),L));return Nt?Z.createElement(W.Z,{onResize:nt,disabled:!cn},Zt):Zt}var I=Z.forwardRef(z);I.displayName="Overflow",I.Item=q,I.RESPONSIVE=H,I.INVALIDATE=$;var B=I,P=B},29301:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return $}});var b=t(92413),m=t(59301),D=t(11592),V=t(48736),Z=t(33708),K=t(39559),u=t(76846),W=t(8654),e=m.createContext(null);function h(p){var z=p.children,I=p.onBatchResize,B=m.useRef(0),P=m.useRef([]),i=m.useContext(e),a=m.useCallback(function(_,F,te){B.current+=1;var ie=B.current;P.current.push({size:_,element:F,data:te}),Promise.resolve().then(function(){ie===B.current&&(I==null||I(P.current),P.current=[])}),i==null||i(_,F,te)},[I,i]);return m.createElement(e.Provider,{value:a},z)}var v=t(76374),n=new Map;function r(p){p.forEach(function(z){var I,B=z.target;(I=n.get(B))===null||I===void 0||I.forEach(function(P){return P(B)})})}var o=new v.Z(r),l=null,w=null;function k(p,z){n.has(p)||(n.set(p,new Set),o.observe(p)),n.get(p).add(z)}function E(p,z){n.has(p)&&(n.get(p).delete(z),n.get(p).size||(o.unobserve(p),n.delete(p)))}var g=t(6909),O=t(4771),C=t(9427),c=t(25440),s=function(p){(0,C.Z)(I,p);var z=(0,c.Z)(I);function I(){return(0,g.Z)(this,I),z.apply(this,arguments)}return(0,O.Z)(I,[{key:"render",value:function(){return this.props.children}}]),I}(m.Component);function x(p,z){var I=p.children,B=p.disabled,P=m.useRef(null),i=m.useRef(null),a=m.useContext(e),_=typeof I=="function",F=_?I(P):I,te=m.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),ie=!_&&m.isValidElement(F)&&(0,W.Yr)(F),ae=ie?(0,W.C4)(F):null,he=(0,W.x1)(ae,P),we=function(){var Xe;return(0,u.ZP)(P.current)||(P.current&&(0,K.Z)(P.current)==="object"?(0,u.ZP)((Xe=P.current)===null||Xe===void 0?void 0:Xe.nativeElement):null)||(0,u.ZP)(i.current)};m.useImperativeHandle(z,function(){return we()});var Ke=m.useRef(p);Ke.current=p;var Ie=m.useCallback(function(ke){var Xe=Ke.current,Oe=Xe.onResize,Ce=Xe.data,le=ke.getBoundingClientRect(),se=le.width,L=le.height,U=ke.offsetWidth,M=ke.offsetHeight,R=Math.floor(se),ee=Math.floor(L);if(te.current.width!==R||te.current.height!==ee||te.current.offsetWidth!==U||te.current.offsetHeight!==M){var y={width:R,height:ee,offsetWidth:U,offsetHeight:M};te.current=y;var d=U===Math.round(se)?se:U,f=M===Math.round(L)?L:M,X=(0,Z.Z)((0,Z.Z)({},y),{},{offsetWidth:d,offsetHeight:f});a==null||a(X,ke,Ce),Oe&&Promise.resolve().then(function(){Oe(X,ke)})}},[]);return m.useEffect(function(){var ke=we();return ke&&!B&&k(ke,Ie),function(){return E(ke,Ie)}},[P.current,B]),m.createElement(s,{ref:i},ie?m.cloneElement(F,{ref:he}):F)}var T=m.forwardRef(x),J=T,q="rc-observer-key";function G(p,z){var I=p.children,B=typeof I=="function"?[I]:(0,D.Z)(I);return B.map(function(P,i){var a=(P==null?void 0:P.key)||"".concat(q,"-").concat(i);return m.createElement(J,(0,b.Z)({},p,{key:a,ref:i===0?z:void 0}),P)})}var H=m.forwardRef(G);H.Collection=h;var $=H},17115:function(We,fe,t){"use strict";t.d(fe,{ZP:function(){return u}});var b=t(33606),m=t(59301),D=t(47273),V=0,Z=(0,D.Z)();function K(){var W;return Z?(W=V,V+=1):W="TEST_OR_SSR",W}function u(W){var e=m.useState(),h=(0,b.Z)(e,2),v=h[0],n=h[1];return m.useEffect(function(){n("rc_select_".concat(K()))},[]),W||v}},77861:function(We,fe,t){"use strict";t.d(fe,{Ac:function(){return Q},Xo:function(){return tt},Wx:function(){return Ct},ZP:function(){return An},lk:function(){return C}});var b=t(92413),m=t(26407),D=t(400),V=t(33708),Z=t(33606),K=t(37061),u=t(39559),W=t(18929),e=t(48736),h=t(59301),v=t(92310),n=t.n(v),r=t(34280),o=t(49658),l=t(10228),w=t(8654),k=function(me){var Ye=me.className,je=me.customizeIcon,pt=me.customizeIconProps,nt=me.onMouseDown,_t=me.onClick,at=me.children,Ot;return typeof je=="function"?Ot=je(pt):Ot=je,h.createElement("span",{className:Ye,onMouseDown:function(Fe){Fe.preventDefault(),nt&&nt(Fe)},style:{userSelect:"none",WebkitUserSelect:"none"},unselectable:"on",onClick:_t,"aria-hidden":!0},Ot!==void 0?Ot:h.createElement("span",{className:n()(Ye.split(/\s+/).map(function(wt){return"".concat(wt,"-icon")}))},at))},E=k;function g(ge,me,Ye,je,pt){var nt=arguments.length>5&&arguments[5]!==void 0?arguments[5]:!1,_t=arguments.length>6?arguments[6]:void 0,at=arguments.length>7?arguments[7]:void 0,Ot=h.useMemo(function(){if((0,u.Z)(je)==="object")return je.clearIcon;if(pt)return pt},[je,pt]),wt=h.useMemo(function(){return!!(!nt&&je&&(Ye.length||_t)&&!(at==="combobox"&&_t===""))},[je,nt,Ye.length,_t,at]);return{allowClear:wt,clearIcon:h.createElement(E,{className:"".concat(ge,"-clear"),onMouseDown:me,customizeIcon:Ot},"\xD7")}}var O=h.createContext(null);function C(){return h.useContext(O)}function c(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:10,me=h.useState(!1),Ye=(0,Z.Z)(me,2),je=Ye[0],pt=Ye[1],nt=h.useRef(null),_t=function(){window.clearTimeout(nt.current)};h.useEffect(function(){return _t},[]);var at=function(wt,Fe){_t(),nt.current=window.setTimeout(function(){pt(wt),Fe&&Fe()},ge)};return[je,at,_t]}function s(){var ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,me=h.useRef(null),Ye=h.useRef(null);h.useEffect(function(){return function(){window.clearTimeout(Ye.current)}},[]);function je(pt){(pt||me.current===null)&&(me.current=pt),window.clearTimeout(Ye.current),Ye.current=window.setTimeout(function(){me.current=null},ge)}return[function(){return me.current},je]}function x(ge,me,Ye,je){var pt=h.useRef(null);pt.current={open:me,triggerOpen:Ye,customizedTrigger:je},h.useEffect(function(){function nt(_t){var at;if(!((at=pt.current)!==null&&at!==void 0&&at.customizedTrigger)){var Ot=_t.target;Ot.shadowRoot&&_t.composed&&(Ot=_t.composedPath()[0]||Ot),pt.current.open&&ge().filter(function(wt){return wt}).every(function(wt){return!wt.contains(Ot)&&wt!==Ot})&&pt.current.triggerOpen(!1)}}return window.addEventListener("mousedown",nt),function(){return window.removeEventListener("mousedown",nt)}},[])}var T=t(26112),J=t(11780),q=function(me,Ye){var je,pt,nt=me.prefixCls,_t=me.id,at=me.inputElement,Ot=me.disabled,wt=me.tabIndex,Fe=me.autoFocus,Be=me.autoComplete,rt=me.editable,it=me.activeDescendantId,lt=me.value,on=me.maxLength,gn=me.onKeyDown,Zt=me.onMouseDown,qe=me.onChange,_e=me.onPaste,Se=me.onCompositionStart,Ne=me.onCompositionEnd,$e=me.open,Me=me.attrs,ze=at||h.createElement("input",null),Ae=ze,et=Ae.ref,yt=Ae.props,mt=yt.onKeyDown,Ht=yt.onChange,Kt=yt.onMouseDown,dn=yt.onCompositionStart,bt=yt.onCompositionEnd,ot=yt.style;return(0,e.Kp)(!("maxLength"in ze.props),"Passing 'maxLength' to input element directly may not work because input in BaseSelect is controlled."),ze=h.cloneElement(ze,(0,V.Z)((0,V.Z)((0,V.Z)({type:"search"},yt),{},{id:_t,ref:(0,w.sQ)(Ye,et),disabled:Ot,tabIndex:wt,autoComplete:Be||"off",autoFocus:Fe,className:n()("".concat(nt,"-selection-search-input"),(je=ze)===null||je===void 0||(pt=je.props)===null||pt===void 0?void 0:pt.className),role:"combobox","aria-label":"Search","aria-expanded":$e||!1,"aria-haspopup":"listbox","aria-owns":"".concat(_t,"_list"),"aria-autocomplete":"list","aria-controls":"".concat(_t,"_list"),"aria-activedescendant":$e?it:void 0},Me),{},{value:rt?lt:"",maxLength:on,readOnly:!rt,unselectable:rt?null:"on",style:(0,V.Z)((0,V.Z)({},ot),{},{opacity:rt?null:0}),onKeyDown:function(Wt){gn(Wt),mt&&mt(Wt)},onMouseDown:function(Wt){Zt(Wt),Kt&&Kt(Wt)},onChange:function(Wt){qe(Wt),Ht&&Ht(Wt)},onCompositionStart:function(Wt){Se(Wt),dn&&dn(Wt)},onCompositionEnd:function(Wt){Ne(Wt),bt&&bt(Wt)},onPaste:_e})),ze},G=h.forwardRef(q);G.displayName="Input";var H=G;function $(ge){return Array.isArray(ge)?ge:ge!==void 0?[ge]:[]}var p=typeof window!="undefined"&&window.document&&window.document.documentElement,z=p;function I(ge){return ge!=null}function B(ge){return!ge&&ge!==0}function P(ge){return["string","number"].includes((0,u.Z)(ge))}function i(ge){var me=void 0;return ge&&(P(ge.title)?me=ge.title.toString():P(ge.label)&&(me=ge.label.toString())),me}function a(ge,me){z?h.useLayoutEffect(ge,me):h.useEffect(ge,me)}function _(ge){var me;return(me=ge.key)!==null&&me!==void 0?me:ge.value}var F=function(me){me.preventDefault(),me.stopPropagation()},te=function(me){var Ye=me.id,je=me.prefixCls,pt=me.values,nt=me.open,_t=me.searchValue,at=me.autoClearSearchValue,Ot=me.inputRef,wt=me.placeholder,Fe=me.disabled,Be=me.mode,rt=me.showSearch,it=me.autoFocus,lt=me.autoComplete,on=me.activeDescendantId,gn=me.tabIndex,Zt=me.removeIcon,qe=me.maxTagCount,_e=me.maxTagTextLength,Se=me.maxTagPlaceholder,Ne=Se===void 0?function(hn){return"+ ".concat(hn.length," ...")}:Se,$e=me.tagRender,Me=me.onToggleOpen,ze=me.onRemove,Ae=me.onInputChange,et=me.onInputPaste,yt=me.onInputKeyDown,mt=me.onInputMouseDown,Ht=me.onInputCompositionStart,Kt=me.onInputCompositionEnd,dn=h.useRef(null),bt=(0,h.useState)(0),ot=(0,Z.Z)(bt,2),Yt=ot[0],Wt=ot[1],jn=(0,h.useState)(!1),wn=(0,Z.Z)(jn,2),mn=wn[0],Sn=wn[1],Vt="".concat(je,"-selection"),kn=nt||Be==="multiple"&&at===!1||Be==="tags"?_t:"",ar=Be==="tags"||Be==="multiple"&&at===!1||rt&&(nt||mn);a(function(){Wt(dn.current.scrollWidth)},[kn]);function At(hn,Kn,lr,Gn,Xn){return h.createElement("span",{className:n()("".concat(Vt,"-item"),(0,D.Z)({},"".concat(Vt,"-item-disabled"),lr)),title:i(hn)},h.createElement("span",{className:"".concat(Vt,"-item-content")},Kn),Gn&&h.createElement(E,{className:"".concat(Vt,"-item-remove"),onMouseDown:F,onClick:Xn,customizeIcon:Zt},"\xD7"))}function Ut(hn,Kn,lr,Gn,Xn){var cr=function(Et){F(Et),Me(!nt)};return h.createElement("span",{onMouseDown:cr},$e({label:Kn,value:hn,disabled:lr,closable:Gn,onClose:Xn}))}function Jt(hn){var Kn=hn.disabled,lr=hn.label,Gn=hn.value,Xn=!Fe&&!Kn,cr=lr;if(typeof _e=="number"&&(typeof lr=="string"||typeof lr=="number")){var ft=String(cr);ft.length>_e&&(cr="".concat(ft.slice(0,_e),"..."))}var Et=function(Zn){Zn&&Zn.stopPropagation(),ze(hn)};return typeof $e=="function"?Ut(Gn,cr,Kn,Xn,Et):At(hn,cr,Kn,Xn,Et)}function Cn(hn){var Kn=typeof Ne=="function"?Ne(hn):Ne;return At({title:Kn},Kn,!1)}var _n=h.createElement("div",{className:"".concat(Vt,"-search"),style:{width:Yt},onFocus:function(){Sn(!0)},onBlur:function(){Sn(!1)}},h.createElement(H,{ref:Ot,open:nt,prefixCls:je,id:Ye,inputElement:null,disabled:Fe,autoFocus:it,autoComplete:lt,editable:ar,activeDescendantId:on,value:kn,onKeyDown:yt,onMouseDown:mt,onChange:Ae,onPaste:et,onCompositionStart:Ht,onCompositionEnd:Kt,tabIndex:gn,attrs:(0,T.Z)(me,!0)}),h.createElement("span",{ref:dn,className:"".concat(Vt,"-search-mirror"),"aria-hidden":!0},kn,"\xA0")),En=h.createElement(J.Z,{prefixCls:"".concat(Vt,"-overflow"),data:pt,renderItem:Jt,renderRest:Cn,suffix:_n,itemKey:_,maxCount:qe});return h.createElement(h.Fragment,null,En,!pt.length&&!kn&&h.createElement("span",{className:"".concat(Vt,"-placeholder")},wt))},ie=te,ae=function(me){var Ye=me.inputElement,je=me.prefixCls,pt=me.id,nt=me.inputRef,_t=me.disabled,at=me.autoFocus,Ot=me.autoComplete,wt=me.activeDescendantId,Fe=me.mode,Be=me.open,rt=me.values,it=me.placeholder,lt=me.tabIndex,on=me.showSearch,gn=me.searchValue,Zt=me.activeValue,qe=me.maxLength,_e=me.onInputKeyDown,Se=me.onInputMouseDown,Ne=me.onInputChange,$e=me.onInputPaste,Me=me.onInputCompositionStart,ze=me.onInputCompositionEnd,Ae=me.title,et=h.useState(!1),yt=(0,Z.Z)(et,2),mt=yt[0],Ht=yt[1],Kt=Fe==="combobox",dn=Kt||on,bt=rt[0],ot=gn||"";Kt&&Zt&&!mt&&(ot=Zt),h.useEffect(function(){Kt&&Ht(!1)},[Kt,Zt]);var Yt=Fe!=="combobox"&&!Be&&!on?!1:!!ot,Wt=Ae===void 0?i(bt):Ae,jn=function(){if(bt)return null;var mn=Yt?{visibility:"hidden"}:void 0;return h.createElement("span",{className:"".concat(je,"-selection-placeholder"),style:mn},it)};return h.createElement(h.Fragment,null,h.createElement("span",{className:"".concat(je,"-selection-search")},h.createElement(H,{ref:nt,prefixCls:je,id:pt,open:Be,inputElement:Ye,disabled:_t,autoFocus:at,autoComplete:Ot,editable:dn,activeDescendantId:wt,value:ot,onKeyDown:_e,onMouseDown:Se,onChange:function(mn){Ht(!0),Ne(mn)},onPaste:$e,onCompositionStart:Me,onCompositionEnd:ze,tabIndex:lt,attrs:(0,T.Z)(me,!0),maxLength:Kt?qe:void 0})),!Kt&&bt?h.createElement("span",{className:"".concat(je,"-selection-item"),title:Wt,style:Yt?{visibility:"hidden"}:void 0},bt.label):null,jn())},he=ae;function we(ge){return![l.Z.ESC,l.Z.SHIFT,l.Z.BACKSPACE,l.Z.TAB,l.Z.WIN_KEY,l.Z.ALT,l.Z.META,l.Z.WIN_KEY_RIGHT,l.Z.CTRL,l.Z.SEMICOLON,l.Z.EQUALS,l.Z.CAPS_LOCK,l.Z.CONTEXT_MENU,l.Z.F1,l.Z.F2,l.Z.F3,l.Z.F4,l.Z.F5,l.Z.F6,l.Z.F7,l.Z.F8,l.Z.F9,l.Z.F10,l.Z.F11,l.Z.F12].includes(ge)}var Ke=function(me,Ye){var je=(0,h.useRef)(null),pt=(0,h.useRef)(!1),nt=me.prefixCls,_t=me.open,at=me.mode,Ot=me.showSearch,wt=me.tokenWithEnter,Fe=me.autoClearSearchValue,Be=me.onSearch,rt=me.onSearchSubmit,it=me.onToggleOpen,lt=me.onInputKeyDown,on=me.domRef;h.useImperativeHandle(Ye,function(){return{focus:function(){je.current.focus()},blur:function(){je.current.blur()}}});var gn=s(0),Zt=(0,Z.Z)(gn,2),qe=Zt[0],_e=Zt[1],Se=function(ot){var Yt=ot.which;(Yt===l.Z.UP||Yt===l.Z.DOWN)&&ot.preventDefault(),lt&<(ot),Yt===l.Z.ENTER&&at==="tags"&&!pt.current&&!_t&&(rt==null||rt(ot.target.value)),we(Yt)&&it(!0)},Ne=function(){_e(!0)},$e=(0,h.useRef)(null),Me=function(ot){Be(ot,!0,pt.current)!==!1&&it(!0)},ze=function(){pt.current=!0},Ae=function(ot){pt.current=!1,at!=="combobox"&&Me(ot.target.value)},et=function(ot){var Yt=ot.target.value;if(wt&&$e.current&&/[\r\n]/.test($e.current)){var Wt=$e.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");Yt=Yt.replace(Wt,$e.current)}$e.current=null,Me(Yt)},yt=function(ot){var Yt=ot.clipboardData,Wt=Yt.getData("text");$e.current=Wt},mt=function(ot){var Yt=ot.target;if(Yt!==je.current){var Wt=document.body.style.msTouchAction!==void 0;Wt?setTimeout(function(){je.current.focus()}):je.current.focus()}},Ht=function(ot){var Yt=qe();ot.target!==je.current&&!Yt&&at!=="combobox"&&ot.preventDefault(),(at!=="combobox"&&(!Ot||!Yt)||!_t)&&(_t&&Fe!==!1&&Be("",!0,!1),it())},Kt={inputRef:je,onInputKeyDown:Se,onInputMouseDown:Ne,onInputChange:et,onInputPaste:yt,onInputCompositionStart:ze,onInputCompositionEnd:Ae},dn=at==="multiple"||at==="tags"?h.createElement(ie,(0,b.Z)({},me,Kt)):h.createElement(he,(0,b.Z)({},me,Kt));return h.createElement("div",{ref:on,className:"".concat(nt,"-selector"),onClick:mt,onMouseDown:Ht},dn)},Ie=h.forwardRef(Ke);Ie.displayName="Selector";var ke=Ie,Xe=t(35593),Oe=["prefixCls","disabled","visible","children","popupElement","animation","transitionName","dropdownStyle","dropdownClassName","direction","placement","builtinPlacements","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","getPopupContainer","empty","getTriggerDOMNode","onPopupVisibleChange","onPopupMouseEnter"],Ce=function(me){var Ye=me===!0?0:1;return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:Ye,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:Ye,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:Ye,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:Ye,adjustY:1},htmlRegion:"scroll"}}},le=function(me,Ye){var je=me.prefixCls,pt=me.disabled,nt=me.visible,_t=me.children,at=me.popupElement,Ot=me.animation,wt=me.transitionName,Fe=me.dropdownStyle,Be=me.dropdownClassName,rt=me.direction,it=rt===void 0?"ltr":rt,lt=me.placement,on=me.builtinPlacements,gn=me.dropdownMatchSelectWidth,Zt=me.dropdownRender,qe=me.dropdownAlign,_e=me.getPopupContainer,Se=me.empty,Ne=me.getTriggerDOMNode,$e=me.onPopupVisibleChange,Me=me.onPopupMouseEnter,ze=(0,K.Z)(me,Oe),Ae="".concat(je,"-dropdown"),et=at;Zt&&(et=Zt(at));var yt=h.useMemo(function(){return on||Ce(gn)},[on,gn]),mt=Ot?"".concat(Ae,"-").concat(Ot):wt,Ht=typeof gn=="number",Kt=h.useMemo(function(){return Ht?null:gn===!1?"minWidth":"width"},[gn,Ht]),dn=Fe;Ht&&(dn=(0,V.Z)((0,V.Z)({},dn),{},{width:gn}));var bt=h.useRef(null);return h.useImperativeHandle(Ye,function(){return{getPopupElement:function(){return bt.current}}}),h.createElement(Xe.Z,(0,b.Z)({},ze,{showAction:$e?["click"]:[],hideAction:$e?["click"]:[],popupPlacement:lt||(it==="rtl"?"bottomRight":"bottomLeft"),builtinPlacements:yt,prefixCls:Ae,popupTransitionName:mt,popup:h.createElement("div",{ref:bt,onMouseEnter:Me},et),stretch:Kt,popupAlign:qe,popupVisible:nt,getPopupContainer:_e,popupClassName:n()(Be,(0,D.Z)({},"".concat(Ae,"-empty"),Se)),popupStyle:dn,getTriggerDOMNode:Ne,onPopupVisibleChange:$e}),_t)},se=h.forwardRef(le);se.displayName="SelectTrigger";var L=se,U=t(34589);function M(ge,me){var Ye=ge.key,je;return"value"in ge&&(je=ge.value),Ye!=null?Ye:je!==void 0?je:"rc-index-key-".concat(me)}function R(ge,me){var Ye=ge||{},je=Ye.label,pt=Ye.value,nt=Ye.options,_t=Ye.groupLabel,at=je||(me?"children":"label");return{label:at,value:pt||"value",options:nt||"options",groupLabel:_t||at}}function ee(ge){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ye=me.fieldNames,je=me.childrenAsData,pt=[],nt=R(Ye,!1),_t=nt.label,at=nt.value,Ot=nt.options,wt=nt.groupLabel;function Fe(Be,rt){Be.forEach(function(it){if(rt||!(Ot in it)){var lt=it[at];pt.push({key:M(it,pt.length),groupOption:rt,data:it,label:it[_t],value:lt})}else{var on=it[wt];on===void 0&&je&&(on=it.label),pt.push({key:M(it,pt.length),group:!0,data:it,label:on}),Fe(it[Ot],!0)}})}return Fe(ge,!1),pt}function y(ge){var me=(0,V.Z)({},ge);return"props"in me||Object.defineProperty(me,"props",{get:function(){return(0,e.ZP)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),me}}),me}function d(ge,me){if(!me||!me.length)return null;var Ye=!1;function je(nt,_t){var at=(0,U.Z)(_t),Ot=at[0],wt=at.slice(1);if(!Ot)return[nt];var Fe=nt.split(Ot);return Ye=Ye||Fe.length>1,Fe.reduce(function(Be,rt){return[].concat((0,m.Z)(Be),(0,m.Z)(je(rt,wt)))},[]).filter(function(Be){return Be})}var pt=je(ge,me);return Ye?pt:null}var f=["id","prefixCls","className","showSearch","tagRender","direction","omitDomProps","displayValues","onDisplayValuesChange","emptyOptions","notFoundContent","onClear","mode","disabled","loading","getInputElement","getRawInputElement","open","defaultOpen","onDropdownVisibleChange","activeValue","onActiveValueChange","activeDescendantId","searchValue","autoClearSearchValue","onSearch","onSearchSplit","tokenSeparators","allowClear","suffixIcon","clearIcon","OptionList","animation","transitionName","dropdownStyle","dropdownClassName","dropdownMatchSelectWidth","dropdownRender","dropdownAlign","placement","builtinPlacements","getPopupContainer","showAction","onFocus","onBlur","onKeyUp","onKeyDown","onMouseDown"],X=["value","onChange","removeIcon","placeholder","autoFocus","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex"];function j(ge){return ge==="tags"||ge==="multiple"}var A=h.forwardRef(function(ge,me){var Ye,je,pt=ge.id,nt=ge.prefixCls,_t=ge.className,at=ge.showSearch,Ot=ge.tagRender,wt=ge.direction,Fe=ge.omitDomProps,Be=ge.displayValues,rt=ge.onDisplayValuesChange,it=ge.emptyOptions,lt=ge.notFoundContent,on=lt===void 0?"Not Found":lt,gn=ge.onClear,Zt=ge.mode,qe=ge.disabled,_e=ge.loading,Se=ge.getInputElement,Ne=ge.getRawInputElement,$e=ge.open,Me=ge.defaultOpen,ze=ge.onDropdownVisibleChange,Ae=ge.activeValue,et=ge.onActiveValueChange,yt=ge.activeDescendantId,mt=ge.searchValue,Ht=ge.autoClearSearchValue,Kt=ge.onSearch,dn=ge.onSearchSplit,bt=ge.tokenSeparators,ot=ge.allowClear,Yt=ge.suffixIcon,Wt=ge.clearIcon,jn=ge.OptionList,wn=ge.animation,mn=ge.transitionName,Sn=ge.dropdownStyle,Vt=ge.dropdownClassName,kn=ge.dropdownMatchSelectWidth,ar=ge.dropdownRender,At=ge.dropdownAlign,Ut=ge.placement,Jt=ge.builtinPlacements,Cn=ge.getPopupContainer,_n=ge.showAction,En=_n===void 0?[]:_n,hn=ge.onFocus,Kn=ge.onBlur,lr=ge.onKeyUp,Gn=ge.onKeyDown,Xn=ge.onMouseDown,cr=(0,K.Z)(ge,f),ft=j(Zt),Et=(at!==void 0?at:ft)||Zt==="combobox",Gt=(0,V.Z)({},cr);X.forEach(function(Qn){delete Gt[Qn]}),Fe==null||Fe.forEach(function(Qn){delete Gt[Qn]});var Zn=h.useState(!1),tr=(0,Z.Z)(Zn,2),gr=tr[0],er=tr[1];h.useEffect(function(){er((0,o.Z)())},[]);var mr=h.useRef(null),_r=h.useRef(null),Sr=h.useRef(null),yr=h.useRef(null),Yn=h.useRef(null),br=c(),Fr=(0,Z.Z)(br,3),Ar=Fr[0],Ir=Fr[1],Hr=Fr[2];h.useImperativeHandle(me,function(){var Qn,Hn;return{focus:(Qn=yr.current)===null||Qn===void 0?void 0:Qn.focus,blur:(Hn=yr.current)===null||Hn===void 0?void 0:Hn.blur,scrollTo:function(jr){var Zr;return(Zr=Yn.current)===null||Zr===void 0?void 0:Zr.scrollTo(jr)}}});var Wr=h.useMemo(function(){var Qn;if(Zt!=="combobox")return mt;var Hn=(Qn=Be[0])===null||Qn===void 0?void 0:Qn.value;return typeof Hn=="string"||typeof Hn=="number"?String(Hn):""},[mt,Zt,Be]),ti=Zt==="combobox"&&typeof Se=="function"&&Se()||null,qr=typeof Ne=="function"&&Ne(),_i=(0,w.x1)(_r,qr==null||(Ye=qr.props)===null||Ye===void 0?void 0:Ye.ref),yi=h.useState(!1),li=(0,Z.Z)(yi,2),Ur=li[0],Pi=li[1];(0,r.Z)(function(){Pi(!0)},[]);var bi=(0,W.Z)(!1,{defaultValue:Me,value:$e}),ui=(0,Z.Z)(bi,2),ci=ui[0],ni=ui[1],Ft=Ur?ci:!1,xn=!on&⁢(qe||xn&&Ft&&Zt==="combobox")&&(Ft=!1);var Qt=xn?!1:Ft,pn=h.useCallback(function(Qn){var Hn=Qn!==void 0?Qn:!Ft;qe||(ni(Hn),Ft!==Hn&&(ze==null||ze(Hn)))},[qe,Ft,ni,ze]),Mn=h.useMemo(function(){return(bt||[]).some(function(Qn){return[`
|
|
`,`\r
|
|
`].includes(Qn)})},[bt]),Jn=function(Hn,ei,jr){var Zr=!0,ri=Hn;et==null||et(null);var oi=jr?null:d(Hn,bt);return Zt!=="combobox"&&oi&&(ri="",dn==null||dn(oi),pn(!1),Zr=!1),Kt&&Wr!==ri&&Kt(ri,{source:ei?"typing":"effect"}),Zr},Lr=function(Hn){!Hn||!Hn.trim()||Kt(Hn,{source:"submit"})};h.useEffect(function(){!Ft&&!ft&&Zt!=="combobox"&&Jn("",!1,!1)},[Ft]),h.useEffect(function(){ci&&qe&&ni(!1),qe&&Ir(!1)},[qe]);var xr=s(),wr=(0,Z.Z)(xr,2),Rr=wr[0],di=wr[1],Ni=function(Hn){var ei=Rr(),jr=Hn.which;if(jr===l.Z.ENTER&&(Zt!=="combobox"&&Hn.preventDefault(),Ft||pn(!0)),di(!!Wr),jr===l.Z.BACKSPACE&&!ei&&ft&&!Wr&&Be.length){for(var Zr=(0,m.Z)(Be),ri=null,oi=Zr.length-1;oi>=0;oi-=1){var Di=Zr[oi];if(!Di.disabled){Zr.splice(oi,1),ri=Di;break}}ri&&rt(Zr,{type:"remove",values:[ri]})}for(var xi=arguments.length,Xi=new Array(xi>1?xi-1:0),Mi=1;Mi<xi;Mi++)Xi[Mi-1]=arguments[Mi];if(Ft&&Yn.current){var ha;(ha=Yn.current).onKeyDown.apply(ha,[Hn].concat(Xi))}Gn==null||Gn.apply(void 0,[Hn].concat(Xi))},Zi=function(Hn){for(var ei=arguments.length,jr=new Array(ei>1?ei-1:0),Zr=1;Zr<ei;Zr++)jr[Zr-1]=arguments[Zr];if(Ft&&Yn.current){var ri;(ri=Yn.current).onKeyUp.apply(ri,[Hn].concat(jr))}lr==null||lr.apply(void 0,[Hn].concat(jr))},mi=function(Hn){var ei=Be.filter(function(jr){return jr!==Hn});rt(ei,{type:"remove",values:[Hn]})},ai=h.useRef(!1),Lt=function(){Ir(!0),qe||(hn&&!ai.current&&hn.apply(void 0,arguments),En.includes("focus")&&pn(!0)),ai.current=!0},Rn=function(){Ir(!1,function(){ai.current=!1,pn(!1)}),!qe&&(Wr&&(Zt==="tags"?Kt(Wr,{source:"submit"}):Zt==="multiple"&&Kt("",{source:"blur"})),Kn&&Kn.apply(void 0,arguments))},pr=[];h.useEffect(function(){return function(){pr.forEach(function(Qn){return clearTimeout(Qn)}),pr.splice(0,pr.length)}},[]);var Br=function(Hn){var ei,jr=Hn.target,Zr=(ei=Sr.current)===null||ei===void 0?void 0:ei.getPopupElement();if(Zr&&Zr.contains(jr)){var ri=setTimeout(function(){var Xi=pr.indexOf(ri);if(Xi!==-1&&pr.splice(Xi,1),Hr(),!gr&&!Zr.contains(document.activeElement)){var Mi;(Mi=yr.current)===null||Mi===void 0||Mi.focus()}});pr.push(ri)}for(var oi=arguments.length,Di=new Array(oi>1?oi-1:0),xi=1;xi<oi;xi++)Di[xi-1]=arguments[xi];Xn==null||Xn.apply(void 0,[Hn].concat(Di))},ur=h.useState({}),zi=(0,Z.Z)(ur,2),ji=zi[1];function Hi(){ji({})}var $i;qr&&($i=function(Hn){pn(Hn)}),x(function(){var Qn;return[mr.current,(Qn=Sr.current)===null||Qn===void 0?void 0:Qn.getPopupElement()]},Qt,pn,!!qr);var xa=h.useMemo(function(){return(0,V.Z)((0,V.Z)({},ge),{},{notFoundContent:on,open:Ft,triggerOpen:Qt,id:pt,showSearch:Et,multiple:ft,toggleOpen:pn})},[ge,on,Qt,Ft,pt,Et,ft,pn]),la=!!Yt||_e,aa;la&&(aa=h.createElement(E,{className:n()("".concat(nt,"-arrow"),(0,D.Z)({},"".concat(nt,"-arrow-loading"),_e)),customizeIcon:Yt,customizeIconProps:{loading:_e,searchValue:Wr,open:Ft,focused:Ar,showSearch:Et}}));var ea=function(){var Hn;gn==null||gn(),(Hn=yr.current)===null||Hn===void 0||Hn.focus(),rt([],{type:"clear",values:Be}),Jn("",!1,!1)},ua=g(nt,ea,Be,ot,Wt,qe,Wr,Zt),ta=ua.allowClear,ki=ua.clearIcon,ca=h.createElement(jn,{ref:Yn}),da=n()(nt,_t,(je={},(0,D.Z)(je,"".concat(nt,"-focused"),Ar),(0,D.Z)(je,"".concat(nt,"-multiple"),ft),(0,D.Z)(je,"".concat(nt,"-single"),!ft),(0,D.Z)(je,"".concat(nt,"-allow-clear"),ot),(0,D.Z)(je,"".concat(nt,"-show-arrow"),la),(0,D.Z)(je,"".concat(nt,"-disabled"),qe),(0,D.Z)(je,"".concat(nt,"-loading"),_e),(0,D.Z)(je,"".concat(nt,"-open"),Ft),(0,D.Z)(je,"".concat(nt,"-customize-input"),ti),(0,D.Z)(je,"".concat(nt,"-show-search"),Et),je)),fa=h.createElement(L,{ref:Sr,disabled:qe,prefixCls:nt,visible:Qt,popupElement:ca,animation:wn,transitionName:mn,dropdownStyle:Sn,dropdownClassName:Vt,direction:wt,dropdownMatchSelectWidth:kn,dropdownRender:ar,dropdownAlign:At,placement:Ut,builtinPlacements:Jt,getPopupContainer:Cn,empty:it,getTriggerDOMNode:function(){return _r.current},onPopupVisibleChange:$i,onPopupMouseEnter:Hi},qr?h.cloneElement(qr,{ref:_i}):h.createElement(ke,(0,b.Z)({},ge,{domRef:_r,prefixCls:nt,inputElement:ti,ref:yr,id:pt,showSearch:Et,autoClearSearchValue:Ht,mode:Zt,activeDescendantId:yt,tagRender:Ot,values:Be,open:Ft,onToggleOpen:pn,activeValue:Ae,searchValue:Wr,onSearch:Jn,onSearchSubmit:Lr,onRemove:mi,tokenWithEnter:Mn}))),Gi;return qr?Gi=fa:Gi=h.createElement("div",(0,b.Z)({className:da},Gt,{ref:mr,onMouseDown:Br,onKeyDown:Ni,onKeyUp:Zi,onFocus:Lt,onBlur:Rn}),Ar&&!Ft&&h.createElement("span",{style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0},"aria-live":"polite"},"".concat(Be.map(function(Qn){var Hn=Qn.label,ei=Qn.value;return["number","string"].includes((0,u.Z)(Hn))?Hn:ei}).join(", "))),fa,aa,ta&&ki),h.createElement(O.Provider,{value:xa},Gi)}),Q=A,ce=function(ge,me){var Ye=h.useRef({values:new Map,options:new Map}),je=h.useMemo(function(){var nt=Ye.current,_t=nt.values,at=nt.options,Ot=ge.map(function(Be){if(Be.label===void 0){var rt;return(0,V.Z)((0,V.Z)({},Be),{},{label:(rt=_t.get(Be.value))===null||rt===void 0?void 0:rt.label})}return Be}),wt=new Map,Fe=new Map;return Ot.forEach(function(Be){wt.set(Be.value,Be),Fe.set(Be.value,me.get(Be.value)||at.get(Be.value))}),Ye.current.values=wt,Ye.current.options=Fe,Ot},[ge,me]),pt=h.useCallback(function(nt){return me.get(nt)||Ye.current.options.get(nt)},[me]);return[je,pt]};function re(ge,me){return $(ge).join("").toUpperCase().includes(me)}var oe=function(ge,me,Ye,je,pt){return h.useMemo(function(){if(!Ye||je===!1)return ge;var nt=me.options,_t=me.label,at=me.value,Ot=[],wt=typeof je=="function",Fe=Ye.toUpperCase(),Be=wt?je:function(it,lt){return pt?re(lt[pt],Fe):lt[nt]?re(lt[_t!=="children"?_t:"label"],Fe):re(lt[at],Fe)},rt=wt?function(it){return y(it)}:function(it){return it};return ge.forEach(function(it){if(it[nt]){var lt=Be(Ye,rt(it));if(lt)Ot.push(it);else{var on=it[nt].filter(function(gn){return Be(Ye,rt(gn))});on.length&&Ot.push((0,V.Z)((0,V.Z)({},it),{},(0,D.Z)({},nt,on)))}return}Be(Ye,rt(it))&&Ot.push(it)}),Ot},[ge,je,pt,Ye,me])},ve=t(17115),Ee=t(11592),pe=["children","value"],Ze=["children"];function De(ge){var me=ge,Ye=me.key,je=me.props,pt=je.children,nt=je.value,_t=(0,K.Z)(je,pe);return(0,V.Z)({key:Ye,value:nt!==void 0?nt:Ye,children:pt},_t)}function Re(ge){var me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,Ee.Z)(ge).map(function(Ye,je){if(!h.isValidElement(Ye)||!Ye.type)return null;var pt=Ye,nt=pt.type.isSelectOptGroup,_t=pt.key,at=pt.props,Ot=at.children,wt=(0,K.Z)(at,Ze);return me||!nt?De(Ye):(0,V.Z)((0,V.Z)({key:"__RC_SELECT_GRP__".concat(_t===null?je:_t,"__"),label:_t},wt),{},{options:Re(Ot)})}).filter(function(Ye){return Ye})}function Qe(ge,me,Ye,je,pt){return h.useMemo(function(){var nt=ge,_t=!ge;_t&&(nt=Re(me));var at=new Map,Ot=new Map,wt=function(rt,it,lt){lt&&typeof lt=="string"&&rt.set(it[lt],it)};function Fe(Be){for(var rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,it=0;it<Be.length;it+=1){var lt=Be[it];!lt[Ye.options]||rt?(at.set(lt[Ye.value],lt),wt(Ot,lt,Ye.label),wt(Ot,lt,je),wt(Ot,lt,pt)):Fe(lt[Ye.options],!0)}}return Fe(nt),{options:nt,valueOptions:at,labelOptions:Ot}},[ge,me,Ye,je,pt])}function Ue(ge){var me=h.useRef();me.current=ge;var Ye=h.useCallback(function(){return me.current.apply(me,arguments)},[]);return Ye}var st=function(){return null};st.isSelectOptGroup=!0;var tt=st,Dt=function(){return null};Dt.isSelectOption=!0;var Ct=Dt,Mt=t(80547),Pt=t(2738),rn=t(4409),Tt=h.createContext(null),Je=Tt;function $t(){return/(mac\sos|macintosh)/i.test(navigator.appVersion)}var ut=["disabled","title","children","style","className"];function ht(ge){return typeof ge=="string"||typeof ge=="number"}var Xt=function(me,Ye){var je=C(),pt=je.prefixCls,nt=je.id,_t=je.open,at=je.multiple,Ot=je.mode,wt=je.searchValue,Fe=je.toggleOpen,Be=je.notFoundContent,rt=je.onPopupScroll,it=h.useContext(Je),lt=it.flattenOptions,on=it.onActiveValue,gn=it.defaultActiveFirstOption,Zt=it.onSelect,qe=it.menuItemSelectedIcon,_e=it.rawValues,Se=it.fieldNames,Ne=it.virtual,$e=it.direction,Me=it.listHeight,ze=it.listItemHeight,Ae="".concat(pt,"-item"),et=(0,Mt.Z)(function(){return lt},[_t,lt],function(At,Ut){return Ut[0]&&At[1]!==Ut[1]}),yt=h.useRef(null),mt=function(Ut){Ut.preventDefault()},Ht=function(Ut){yt.current&&yt.current.scrollTo(typeof Ut=="number"?{index:Ut}:Ut)},Kt=function(Ut){for(var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,Cn=et.length,_n=0;_n<Cn;_n+=1){var En=(Ut+_n*Jt+Cn)%Cn,hn=et[En],Kn=hn.group,lr=hn.data;if(!Kn&&!lr.disabled)return En}return-1},dn=h.useState(function(){return Kt(0)}),bt=(0,Z.Z)(dn,2),ot=bt[0],Yt=bt[1],Wt=function(Ut){var Jt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;Yt(Ut);var Cn={source:Jt?"keyboard":"mouse"},_n=et[Ut];if(!_n){on(null,-1,Cn);return}on(_n.value,Ut,Cn)};(0,h.useEffect)(function(){Wt(gn!==!1?Kt(0):-1)},[et.length,wt]);var jn=h.useCallback(function(At){return _e.has(At)&&Ot!=="combobox"},[Ot,(0,m.Z)(_e).toString(),_e.size]);(0,h.useEffect)(function(){var At=setTimeout(function(){if(!at&&_t&&_e.size===1){var Jt=Array.from(_e)[0],Cn=et.findIndex(function(_n){var En=_n.data;return En.value===Jt});Cn!==-1&&(Wt(Cn),Ht(Cn))}});if(_t){var Ut;(Ut=yt.current)===null||Ut===void 0||Ut.scrollTo(void 0)}return function(){return clearTimeout(At)}},[_t,wt,lt.length]);var wn=function(Ut){Ut!==void 0&&Zt(Ut,{selected:!_e.has(Ut)}),at||Fe(!1)};if(h.useImperativeHandle(Ye,function(){return{onKeyDown:function(Ut){var Jt=Ut.which,Cn=Ut.ctrlKey;switch(Jt){case l.Z.N:case l.Z.P:case l.Z.UP:case l.Z.DOWN:{var _n=0;if(Jt===l.Z.UP?_n=-1:Jt===l.Z.DOWN?_n=1:$t()&&Cn&&(Jt===l.Z.N?_n=1:Jt===l.Z.P&&(_n=-1)),_n!==0){var En=Kt(ot+_n,_n);Ht(En),Wt(En,!0)}break}case l.Z.ENTER:{var hn=et[ot];hn&&!hn.data.disabled?wn(hn.value):wn(void 0),_t&&Ut.preventDefault();break}case l.Z.ESC:Fe(!1),_t&&Ut.stopPropagation()}},onKeyUp:function(){},scrollTo:function(Ut){Ht(Ut)}}}),et.length===0)return h.createElement("div",{role:"listbox",id:"".concat(nt,"_list"),className:"".concat(Ae,"-empty"),onMouseDown:mt},Be);var mn=Object.keys(Se).map(function(At){return Se[At]}),Sn=function(Ut){return Ut.label};function Vt(At,Ut){var Jt=At.group;return{role:Jt?"presentation":"option",id:"".concat(nt,"_list_").concat(Ut)}}var kn=function(Ut){var Jt=et[Ut];if(!Jt)return null;var Cn=Jt.data||{},_n=Cn.value,En=Jt.group,hn=(0,T.Z)(Cn,!0),Kn=Sn(Jt);return Jt?h.createElement("div",(0,b.Z)({"aria-label":typeof Kn=="string"&&!En?Kn:null},hn,{key:Ut},Vt(Jt,Ut),{"aria-selected":jn(_n)}),_n):null},ar={role:"listbox",id:"".concat(nt,"_list")};return h.createElement(h.Fragment,null,Ne&&h.createElement("div",(0,b.Z)({},ar,{style:{height:0,width:0,overflow:"hidden"}}),kn(ot-1),kn(ot),kn(ot+1)),h.createElement(rn.Z,{itemKey:"key",ref:yt,data:et,height:Me,itemHeight:ze,fullHeight:!1,onMouseDown:mt,onScroll:rt,virtual:Ne,direction:$e,innerProps:Ne?null:ar},function(At,Ut){var Jt,Cn=At.group,_n=At.groupOption,En=At.data,hn=At.label,Kn=At.value,lr=En.key;if(Cn){var Gn,Xn=(Gn=En.title)!==null&&Gn!==void 0?Gn:ht(hn)?hn.toString():void 0;return h.createElement("div",{className:n()(Ae,"".concat(Ae,"-group")),title:Xn},hn!==void 0?hn:lr)}var cr=En.disabled,ft=En.title,Et=En.children,Gt=En.style,Zn=En.className,tr=(0,K.Z)(En,ut),gr=(0,Pt.Z)(tr,mn),er=jn(Kn),mr="".concat(Ae,"-option"),_r=n()(Ae,mr,Zn,(Jt={},(0,D.Z)(Jt,"".concat(mr,"-grouped"),_n),(0,D.Z)(Jt,"".concat(mr,"-active"),ot===Ut&&!cr),(0,D.Z)(Jt,"".concat(mr,"-disabled"),cr),(0,D.Z)(Jt,"".concat(mr,"-selected"),er),Jt)),Sr=Sn(At),yr=!qe||typeof qe=="function"||er,Yn=typeof Sr=="number"?Sr:Sr||Kn,br=ht(Yn)?Yn.toString():void 0;return ft!==void 0&&(br=ft),h.createElement("div",(0,b.Z)({},(0,T.Z)(gr),Ne?{}:Vt(At,Ut),{"aria-selected":er,className:_r,title:br,onMouseMove:function(){ot===Ut||cr||Wt(Ut)},onClick:function(){cr||wn(Kn)},style:Gt}),h.createElement("div",{className:"".concat(mr,"-content")},Yn),h.isValidElement(qe)||er,yr&&h.createElement(E,{className:"".concat(Ae,"-option-state"),customizeIcon:qe,customizeIconProps:{isSelected:er}},er?"\u2713":null))}))},an=h.forwardRef(Xt);an.displayName="OptionList";var Dn=an;function yn(ge){var me=ge.mode,Ye=ge.options,je=ge.children,pt=ge.backfill,nt=ge.allowClear,_t=ge.placeholder,at=ge.getInputElement,Ot=ge.showSearch,wt=ge.onSearch,Fe=ge.defaultOpen,Be=ge.autoFocus,rt=ge.labelInValue,it=ge.value,lt=ge.inputValue,on=ge.optionLabelProp,gn=isMultiple(me),Zt=Ot!==void 0?Ot:gn||me==="combobox",qe=Ye||convertChildrenToData(je);if(warning(me!=="tags"||qe.every(function($e){return!$e.disabled}),"Please avoid setting option to disabled in tags mode since user can always type text as tag."),me==="tags"||me==="combobox"){var _e=qe.some(function($e){return $e.options?$e.options.some(function(Me){return typeof("value"in Me?Me.value:Me.key)=="number"}):typeof("value"in $e?$e.value:$e.key)=="number"});warning(!_e,"`value` of Option should not use number type when `mode` is `tags` or `combobox`.")}if(warning(me!=="combobox"||!on,"`combobox` mode not support `optionLabelProp`. Please set `value` on Option directly."),warning(me==="combobox"||!pt,"`backfill` only works with `combobox` mode."),warning(me==="combobox"||!at,"`getInputElement` only work with `combobox` mode."),noteOnce(me!=="combobox"||!at||!nt||!_t,"Customize `getInputElement` should customize clear and placeholder logic instead of configuring `allowClear` and `placeholder`."),wt&&!Zt&&me!=="combobox"&&me!=="tags"&&warning(!1,"`onSearch` should work with `showSearch` instead of use alone."),noteOnce(!Fe||Be,"`defaultOpen` makes Select open without focus which means it will not close by click outside. You can set `autoFocus` if needed."),it!=null){var Se=toArray(it);warning(!rt||Se.every(function($e){return _typeof($e)==="object"&&("key"in $e||"value"in $e)}),"`value` should in shape of `{ value: string | number, label?: ReactNode }` when you set `labelInValue` to `true`"),warning(!gn||Array.isArray(it),"`value` should be array when `mode` is `multiple` or `tags`")}if(je){var Ne=null;toNodeArray(je).some(function($e){if(!React.isValidElement($e)||!$e.type)return!1;var Me=$e,ze=Me.type;if(ze.isSelectOption)return!1;if(ze.isSelectOptGroup){var Ae=toNodeArray($e.props.children).every(function(et){return!React.isValidElement(et)||!$e.type||et.type.isSelectOption?!0:(Ne=et.type,!1)});return!Ae}return Ne=ze,!0}),Ne&&warning(!1,"`children` should be `Select.Option` or `Select.OptGroup` instead of `".concat(Ne.displayName||Ne.name||Ne,"`.")),warning(lt===void 0,"`inputValue` is deprecated, please use `searchValue` instead.")}}function On(ge,me){if(ge){var Ye=function je(pt){for(var nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,_t=0;_t<pt.length;_t++){var at=pt[_t];if(at[me==null?void 0:me.value]===null)return warning(!1,"`value` in Select options should not be `null`."),!0;if(!nt&&Array.isArray(at[me==null?void 0:me.options])&&je(at[me==null?void 0:me.options],!0))break}};Ye(ge)}}var Ln=null,In=["id","mode","prefixCls","backfill","fieldNames","inputValue","searchValue","onSearch","autoClearSearchValue","onSelect","onDeselect","dropdownMatchSelectWidth","filterOption","filterSort","optionFilterProp","optionLabelProp","options","children","defaultActiveFirstOption","menuItemSelectedIcon","virtual","direction","listHeight","listItemHeight","value","defaultValue","labelInValue","onChange"],Bn=["inputValue"];function zt(ge){return!ge||(0,u.Z)(ge)!=="object"}var Nt=h.forwardRef(function(ge,me){var Ye=ge.id,je=ge.mode,pt=ge.prefixCls,nt=pt===void 0?"rc-select":pt,_t=ge.backfill,at=ge.fieldNames,Ot=ge.inputValue,wt=ge.searchValue,Fe=ge.onSearch,Be=ge.autoClearSearchValue,rt=Be===void 0?!0:Be,it=ge.onSelect,lt=ge.onDeselect,on=ge.dropdownMatchSelectWidth,gn=on===void 0?!0:on,Zt=ge.filterOption,qe=ge.filterSort,_e=ge.optionFilterProp,Se=ge.optionLabelProp,Ne=ge.options,$e=ge.children,Me=ge.defaultActiveFirstOption,ze=ge.menuItemSelectedIcon,Ae=ge.virtual,et=ge.direction,yt=ge.listHeight,mt=yt===void 0?200:yt,Ht=ge.listItemHeight,Kt=Ht===void 0?20:Ht,dn=ge.value,bt=ge.defaultValue,ot=ge.labelInValue,Yt=ge.onChange,Wt=(0,K.Z)(ge,In),jn=(0,ve.ZP)(Ye),wn=j(je),mn=!!(!Ne&&$e),Sn=h.useMemo(function(){return Zt===void 0&&je==="combobox"?!1:Zt},[Zt,je]),Vt=h.useMemo(function(){return R(at,mn)},[JSON.stringify(at),mn]),kn=(0,W.Z)("",{value:wt!==void 0?wt:Ot,postState:function(xn){return xn||""}}),ar=(0,Z.Z)(kn,2),At=ar[0],Ut=ar[1],Jt=Qe(Ne,$e,Vt,_e,Se),Cn=Jt.valueOptions,_n=Jt.labelOptions,En=Jt.options,hn=h.useCallback(function(Ft){var xn=$(Ft);return xn.map(function(Qt){var pn,Mn,Jn,Lr,xr;if(zt(Qt))pn=Qt;else{var wr;Jn=Qt.key,Mn=Qt.label,pn=(wr=Qt.value)!==null&&wr!==void 0?wr:Jn}var Rr=Cn.get(pn);if(Rr){var di;if(Mn===void 0&&(Mn=Rr==null?void 0:Rr[Se||Vt.label]),Jn===void 0&&(Jn=(di=Rr==null?void 0:Rr.key)!==null&&di!==void 0?di:pn),Lr=Rr==null?void 0:Rr.disabled,xr=Rr==null?void 0:Rr.title,0)var Ni}return{label:Mn,value:pn,key:Jn,disabled:Lr,title:xr}})},[Vt,Se,Cn]),Kn=(0,W.Z)(bt,{value:dn}),lr=(0,Z.Z)(Kn,2),Gn=lr[0],Xn=lr[1],cr=h.useMemo(function(){var Ft,xn=hn(Gn);return je==="combobox"&&B((Ft=xn[0])===null||Ft===void 0?void 0:Ft.value)?[]:xn},[Gn,hn,je]),ft=ce(cr,Cn),Et=(0,Z.Z)(ft,2),Gt=Et[0],Zn=Et[1],tr=h.useMemo(function(){if(!je&&Gt.length===1){var Ft=Gt[0];if(Ft.value===null&&(Ft.label===null||Ft.label===void 0))return[]}return Gt.map(function(xn){var Qt;return(0,V.Z)((0,V.Z)({},xn),{},{label:(Qt=xn.label)!==null&&Qt!==void 0?Qt:xn.value})})},[je,Gt]),gr=h.useMemo(function(){return new Set(Gt.map(function(Ft){return Ft.value}))},[Gt]);h.useEffect(function(){if(je==="combobox"){var Ft,xn=(Ft=Gt[0])===null||Ft===void 0?void 0:Ft.value;Ut(I(xn)?String(xn):"")}},[Gt]);var er=Ue(function(Ft,xn){var Qt,pn=xn!=null?xn:Ft;return Qt={},(0,D.Z)(Qt,Vt.value,Ft),(0,D.Z)(Qt,Vt.label,pn),Qt}),mr=h.useMemo(function(){if(je!=="tags")return En;var Ft=(0,m.Z)(En),xn=function(pn){return Cn.has(pn)};return(0,m.Z)(Gt).sort(function(Qt,pn){return Qt.value<pn.value?-1:1}).forEach(function(Qt){var pn=Qt.value;xn(pn)||Ft.push(er(pn,Qt.label))}),Ft},[er,En,Cn,Gt,je]),_r=oe(mr,Vt,At,Sn,_e),Sr=h.useMemo(function(){return je!=="tags"||!At||_r.some(function(Ft){return Ft[_e||"value"]===At})||_r.some(function(Ft){return Ft[Vt.value]===At})?_r:[er(At)].concat((0,m.Z)(_r))},[er,_e,je,_r,At,Vt]),yr=h.useMemo(function(){return qe?(0,m.Z)(Sr).sort(function(Ft,xn){return qe(Ft,xn)}):Sr},[Sr,qe]),Yn=h.useMemo(function(){return ee(yr,{fieldNames:Vt,childrenAsData:mn})},[yr,Vt,mn]),br=function(xn){var Qt=hn(xn);if(Xn(Qt),Yt&&(Qt.length!==Gt.length||Qt.some(function(Jn,Lr){var xr;return((xr=Gt[Lr])===null||xr===void 0?void 0:xr.value)!==(Jn==null?void 0:Jn.value)}))){var pn=ot?Qt:Qt.map(function(Jn){return Jn.value}),Mn=Qt.map(function(Jn){return y(Zn(Jn.value))});Yt(wn?pn:pn[0],wn?Mn:Mn[0])}},Fr=h.useState(null),Ar=(0,Z.Z)(Fr,2),Ir=Ar[0],Hr=Ar[1],Wr=h.useState(0),ti=(0,Z.Z)(Wr,2),qr=ti[0],_i=ti[1],yi=Me!==void 0?Me:je!=="combobox",li=h.useCallback(function(Ft,xn){var Qt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},pn=Qt.source,Mn=pn===void 0?"keyboard":pn;_i(xn),_t&&je==="combobox"&&Ft!==null&&Mn==="keyboard"&&Hr(String(Ft))},[_t,je]),Ur=function(xn,Qt,pn){var Mn=function(){var ai,Lt=Zn(xn);return[ot?{label:Lt==null?void 0:Lt[Vt.label],value:xn,key:(ai=Lt==null?void 0:Lt.key)!==null&&ai!==void 0?ai:xn}:xn,y(Lt)]};if(Qt&&it){var Jn=Mn(),Lr=(0,Z.Z)(Jn,2),xr=Lr[0],wr=Lr[1];it(xr,wr)}else if(!Qt&<&&pn!=="clear"){var Rr=Mn(),di=(0,Z.Z)(Rr,2),Ni=di[0],Zi=di[1];lt(Ni,Zi)}},Pi=Ue(function(Ft,xn){var Qt,pn=wn?xn.selected:!0;pn?Qt=wn?[].concat((0,m.Z)(Gt),[Ft]):[Ft]:Qt=Gt.filter(function(Mn){return Mn.value!==Ft}),br(Qt),Ur(Ft,pn),je==="combobox"?Hr(""):(!j||rt)&&(Ut(""),Hr(""))}),bi=function(xn,Qt){br(xn);var pn=Qt.type,Mn=Qt.values;(pn==="remove"||pn==="clear")&&Mn.forEach(function(Jn){Ur(Jn.value,!1,pn)})},ui=function(xn,Qt){if(Ut(xn),Hr(null),Qt.source==="submit"){var pn=(xn||"").trim();if(pn){var Mn=Array.from(new Set([].concat((0,m.Z)(gr),[pn])));br(Mn),Ur(pn,!0),Ut("")}return}Qt.source!=="blur"&&(je==="combobox"&&br(xn),Fe==null||Fe(xn))},ci=function(xn){var Qt=xn;je!=="tags"&&(Qt=xn.map(function(Mn){var Jn=_n.get(Mn);return Jn==null?void 0:Jn.value}).filter(function(Mn){return Mn!==void 0}));var pn=Array.from(new Set([].concat((0,m.Z)(gr),(0,m.Z)(Qt))));br(pn),pn.forEach(function(Mn){Ur(Mn,!0)})},ni=h.useMemo(function(){var Ft=Ae!==!1&&gn!==!1;return(0,V.Z)((0,V.Z)({},Jt),{},{flattenOptions:Yn,onActiveValue:li,defaultActiveFirstOption:yi,onSelect:Pi,menuItemSelectedIcon:ze,rawValues:gr,fieldNames:Vt,virtual:Ft,direction:et,listHeight:mt,listItemHeight:Kt,childrenAsData:mn})},[Jt,Yn,li,yi,Pi,ze,gr,Vt,Ae,gn,mt,Kt,mn]);return h.createElement(Je.Provider,{value:ni},h.createElement(Q,(0,b.Z)({},Wt,{id:jn,prefixCls:nt,ref:me,omitDomProps:Bn,mode:je,displayValues:tr,onDisplayValuesChange:bi,direction:et,searchValue:At,onSearch:ui,autoClearSearchValue:rt,onSearchSplit:ci,dropdownMatchSelectWidth:gn,OptionList:Dn,emptyOptions:!Yn.length,activeValue:Ir,activeDescendantId:"".concat(jn,"_list_").concat(qr)})))}),cn=Nt;cn.Option=Ct,cn.OptGroup=tt;var zn=cn,An=zn},9296:function(We,fe,t){"use strict";t.r(fe),t.d(fe,{ResizableTextArea:function(){return G},default:function(){return B}});var b=t(92413),m=t(33708),D=t(400),V=t(39559),Z=t(33606),K=t(37061),u=t(26407),W=t(92310),e=t.n(W),h=t(93681),v=t(5643),n=t(18929),r=t(59301),o=t(29301),l=t(34280),w=t(16089),k=`
|
|
min-height:0 !important;
|
|
max-height:none !important;
|
|
height:0 !important;
|
|
visibility:hidden !important;
|
|
overflow:hidden !important;
|
|
position:absolute !important;
|
|
z-index:-1000 !important;
|
|
top:0 !important;
|
|
right:0 !important;
|
|
pointer-events: none !important;
|
|
`,E=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break","white-space"],g={},O;function C(P){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=P.getAttribute("id")||P.getAttribute("data-reactid")||P.getAttribute("name");if(i&&g[a])return g[a];var _=window.getComputedStyle(P),F=_.getPropertyValue("box-sizing")||_.getPropertyValue("-moz-box-sizing")||_.getPropertyValue("-webkit-box-sizing"),te=parseFloat(_.getPropertyValue("padding-bottom"))+parseFloat(_.getPropertyValue("padding-top")),ie=parseFloat(_.getPropertyValue("border-bottom-width"))+parseFloat(_.getPropertyValue("border-top-width")),ae=E.map(function(we){return"".concat(we,":").concat(_.getPropertyValue(we))}).join(";"),he={sizingStyle:ae,paddingSize:te,borderSize:ie,boxSizing:F};return i&&a&&(g[a]=he),he}function c(P){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,_=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;O||(O=document.createElement("textarea"),O.setAttribute("tab-index","-1"),O.setAttribute("aria-hidden","true"),document.body.appendChild(O)),P.getAttribute("wrap")?O.setAttribute("wrap",P.getAttribute("wrap")):O.removeAttribute("wrap");var F=C(P,i),te=F.paddingSize,ie=F.borderSize,ae=F.boxSizing,he=F.sizingStyle;O.setAttribute("style","".concat(he,";").concat(k)),O.value=P.value||P.placeholder||"";var we=void 0,Ke=void 0,Ie,ke=O.scrollHeight;if(ae==="border-box"?ke+=ie:ae==="content-box"&&(ke-=te),a!==null||_!==null){O.value=" ";var Xe=O.scrollHeight-te;a!==null&&(we=Xe*a,ae==="border-box"&&(we=we+te+ie),ke=Math.max(we,ke)),_!==null&&(Ke=Xe*_,ae==="border-box"&&(Ke=Ke+te+ie),Ie=ke>Ke?"":"hidden",ke=Math.min(Ke,ke))}var Oe={height:ke,overflowY:Ie,resize:"none"};return we&&(Oe.minHeight=we),Ke&&(Oe.maxHeight=Ke),Oe}var s=["prefixCls","onPressEnter","defaultValue","value","autoSize","onResize","className","style","disabled","onChange","onInternalAutoSize"],x=0,T=1,J=2,q=r.forwardRef(function(P,i){var a=P,_=a.prefixCls,F=a.onPressEnter,te=a.defaultValue,ie=a.value,ae=a.autoSize,he=a.onResize,we=a.className,Ke=a.style,Ie=a.disabled,ke=a.onChange,Xe=a.onInternalAutoSize,Oe=(0,K.Z)(a,s),Ce=(0,n.Z)(te,{value:ie,postState:function(tt){return tt!=null?tt:""}}),le=(0,Z.Z)(Ce,2),se=le[0],L=le[1],U=function(tt){L(tt.target.value),ke==null||ke(tt)},M=r.useRef();r.useImperativeHandle(i,function(){return{textArea:M.current}});var R=r.useMemo(function(){return ae&&(0,V.Z)(ae)==="object"?[ae.minRows,ae.maxRows]:[]},[ae]),ee=(0,Z.Z)(R,2),y=ee[0],d=ee[1],f=!!ae,X=function(){try{if(document.activeElement===M.current){var tt=M.current,Dt=tt.selectionStart,Ct=tt.selectionEnd,Mt=tt.scrollTop;M.current.setSelectionRange(Dt,Ct),M.current.scrollTop=Mt}}catch(Pt){}},j=r.useState(J),A=(0,Z.Z)(j,2),Q=A[0],ce=A[1],re=r.useState(),oe=(0,Z.Z)(re,2),ve=oe[0],Ee=oe[1],pe=function(){ce(x)};(0,l.Z)(function(){f&&pe()},[ie,y,d,f]),(0,l.Z)(function(){if(Q===x)ce(T);else if(Q===T){var st=c(M.current,!1,y,d);ce(J),Ee(st)}else X()},[Q]);var Ze=r.useRef(),De=function(){w.Z.cancel(Ze.current)},Re=function(tt){Q===J&&(he==null||he(tt),ae&&(De(),Ze.current=(0,w.Z)(function(){pe()})))};r.useEffect(function(){return De},[]);var Qe=f?ve:null,Ue=(0,m.Z)((0,m.Z)({},Ke),Qe);return(Q===x||Q===T)&&(Ue.overflowY="hidden",Ue.overflowX="hidden"),r.createElement(o.Z,{onResize:Re,disabled:!(ae||he)},r.createElement("textarea",(0,b.Z)({},Oe,{ref:M,style:Ue,className:e()(_,we,(0,D.Z)({},"".concat(_,"-disabled"),Ie)),disabled:Ie,value:se,onChange:U})))}),G=q,H=["defaultValue","value","onFocus","onBlur","onChange","allowClear","maxLength","onCompositionStart","onCompositionEnd","suffix","prefixCls","classes","showCount","className","style","disabled","hidden","classNames","styles","onResize"];function $(P,i){return(0,u.Z)(P||"").slice(0,i).join("")}function p(P,i,a,_){var F=a;return P?F=$(a,_):(0,u.Z)(i||"").length<a.length&&(0,u.Z)(a||"").length>_&&(F=i),F}var z=r.forwardRef(function(P,i){var a,_=P.defaultValue,F=P.value,te=P.onFocus,ie=P.onBlur,ae=P.onChange,he=P.allowClear,we=P.maxLength,Ke=P.onCompositionStart,Ie=P.onCompositionEnd,ke=P.suffix,Xe=P.prefixCls,Oe=Xe===void 0?"rc-textarea":Xe,Ce=P.classes,le=P.showCount,se=P.className,L=P.style,U=P.disabled,M=P.hidden,R=P.classNames,ee=P.styles,y=P.onResize,d=(0,K.Z)(P,H),f=(0,n.Z)(_,{value:F,defaultValue:_}),X=(0,Z.Z)(f,2),j=X[0],A=X[1],Q=(0,r.useRef)(null),ce=r.useState(!1),re=(0,Z.Z)(ce,2),oe=re[0],ve=re[1],Ee=r.useState(!1),pe=(0,Z.Z)(Ee,2),Ze=pe[0],De=pe[1],Re=r.useRef(),Qe=r.useRef(0),Ue=r.useState(null),st=(0,Z.Z)(Ue,2),tt=st[0],Dt=st[1],Ct=function(){var zt;(zt=Q.current)===null||zt===void 0||zt.textArea.focus()};(0,r.useImperativeHandle)(i,function(){return{resizableTextArea:Q.current,focus:Ct,blur:function(){var zt;(zt=Q.current)===null||zt===void 0||zt.textArea.blur()}}}),(0,r.useEffect)(function(){ve(function(Bn){return!U&&Bn})},[U]);var Mt=Number(we)>0,Pt=function(zt){De(!0),Re.current=j,Qe.current=zt.currentTarget.selectionStart,Ke==null||Ke(zt)},rn=function(zt){De(!1);var Nt=zt.currentTarget.value;if(Mt){var cn,zn=Qe.current>=we+1||Qe.current===((cn=Re.current)===null||cn===void 0?void 0:cn.length);Nt=p(zn,Re.current,Nt,we)}Nt!==j&&(A(Nt),(0,v.rJ)(zt.currentTarget,zt,ae,Nt)),Ie==null||Ie(zt)},Tt=function(zt){var Nt=zt.target.value;if(!Ze&&Mt){var cn=zt.target.selectionStart>=we+1||zt.target.selectionStart===Nt.length||!zt.target.selectionStart;Nt=p(cn,j,Nt,we)}A(Nt),(0,v.rJ)(zt.currentTarget,zt,ae,Nt)},Je=function(zt){var Nt=d.onPressEnter,cn=d.onKeyDown;zt.key==="Enter"&&Nt&&Nt(zt),cn==null||cn(zt)},$t=function(zt){ve(!0),te==null||te(zt)},ut=function(zt){ve(!1),ie==null||ie(zt)},ht=function(zt){var Nt;A(""),Ct(),(0,v.rJ)((Nt=Q.current)===null||Nt===void 0?void 0:Nt.textArea,zt,ae)},Xt=(0,v.D7)(j);!Ze&&Mt&&F==null&&(Xt=$(Xt,we));var an=ke,Dn;if(le){var yn=(0,u.Z)(Xt).length;(0,V.Z)(le)==="object"?Dn=le.formatter({value:Xt,count:yn,maxLength:we}):Dn="".concat(yn).concat(Mt?" / ".concat(we):""),an=r.createElement(r.Fragment,null,an,r.createElement("span",{className:e()("".concat(Oe,"-data-count"),R==null?void 0:R.count),style:ee==null?void 0:ee.count},Dn))}var On=function(zt){var Nt;y==null||y(zt),(Nt=Q.current)!==null&&Nt!==void 0&&Nt.textArea.style.height&&Dt(!0)},Ln=!d.autoSize&&!le&&!he,In=r.createElement(h.BaseInput,{value:Xt,allowClear:he,handleReset:ht,suffix:an,prefixCls:Oe,classes:{affixWrapper:e()(Ce==null?void 0:Ce.affixWrapper,(a={},(0,D.Z)(a,"".concat(Oe,"-show-count"),le),(0,D.Z)(a,"".concat(Oe,"-textarea-allow-clear"),he),a))},disabled:U,focused:oe,className:se,style:(0,m.Z)((0,m.Z)({},L),tt&&!Ln?{height:"auto"}:{}),dataAttrs:{affixWrapper:{"data-count":typeof Dn=="string"?Dn:void 0}},hidden:M,inputElement:r.createElement(G,(0,b.Z)({},d,{onKeyDown:Je,onChange:Tt,onFocus:$t,onBlur:ut,onCompositionStart:Pt,onCompositionEnd:rn,className:R==null?void 0:R.textarea,style:(0,m.Z)((0,m.Z)({},ee==null?void 0:ee.textarea),{},{resize:L==null?void 0:L.resize}),disabled:U,prefixCls:Oe,onResize:On,ref:Q}))});return In}),I=z,B=I},55477:function(We,fe,t){"use strict";t.d(fe,{G:function(){return r},Z:function(){return k}});var b=t(92413),m=t(33708),D=t(37061),V=t(35593),Z=t(59301),K={shiftX:64,adjustY:1},u={adjustX:1,shiftY:!0},W=[0,0],e={left:{points:["cr","cl"],overflow:u,offset:[-4,0],targetOffset:W},right:{points:["cl","cr"],overflow:u,offset:[4,0],targetOffset:W},top:{points:["bc","tc"],overflow:K,offset:[0,-4],targetOffset:W},bottom:{points:["tc","bc"],overflow:K,offset:[0,4],targetOffset:W},topLeft:{points:["bl","tl"],overflow:K,offset:[0,-4],targetOffset:W},leftTop:{points:["tr","tl"],overflow:u,offset:[-4,0],targetOffset:W},topRight:{points:["br","tr"],overflow:K,offset:[0,-4],targetOffset:W},rightTop:{points:["tl","tr"],overflow:u,offset:[4,0],targetOffset:W},bottomRight:{points:["tr","br"],overflow:K,offset:[0,4],targetOffset:W},rightBottom:{points:["bl","br"],overflow:u,offset:[4,0],targetOffset:W},bottomLeft:{points:["tl","bl"],overflow:K,offset:[0,4],targetOffset:W},leftBottom:{points:["br","bl"],overflow:u,offset:[-4,0],targetOffset:W}},h=null,v=t(92310),n=t.n(v);function r(E){var g=E.children,O=E.prefixCls,C=E.id,c=E.overlayInnerStyle,s=E.className,x=E.style;return Z.createElement("div",{className:n()("".concat(O,"-content"),s),style:x},Z.createElement("div",{className:"".concat(O,"-inner"),id:C,role:"tooltip",style:c},typeof g=="function"?g():g))}var o=["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle","arrowContent","overlay","id","showArrow"],l=function(g,O){var C=g.overlayClassName,c=g.trigger,s=c===void 0?["hover"]:c,x=g.mouseEnterDelay,T=x===void 0?0:x,J=g.mouseLeaveDelay,q=J===void 0?.1:J,G=g.overlayStyle,H=g.prefixCls,$=H===void 0?"rc-tooltip":H,p=g.children,z=g.onVisibleChange,I=g.afterVisibleChange,B=g.transitionName,P=g.animation,i=g.motion,a=g.placement,_=a===void 0?"right":a,F=g.align,te=F===void 0?{}:F,ie=g.destroyTooltipOnHide,ae=ie===void 0?!1:ie,he=g.defaultVisible,we=g.getTooltipContainer,Ke=g.overlayInnerStyle,Ie=g.arrowContent,ke=g.overlay,Xe=g.id,Oe=g.showArrow,Ce=Oe===void 0?!0:Oe,le=(0,D.Z)(g,o),se=(0,Z.useRef)(null);(0,Z.useImperativeHandle)(O,function(){return se.current});var L=(0,m.Z)({},le);"visible"in g&&(L.popupVisible=g.visible);var U=function(){return Z.createElement(r,{key:"content",prefixCls:$,id:Xe,overlayInnerStyle:Ke},ke)};return Z.createElement(V.Z,(0,b.Z)({popupClassName:C,prefixCls:$,popup:U,action:s,builtinPlacements:e,popupPlacement:_,ref:se,popupAlign:te,getPopupContainer:we,onPopupVisibleChange:z,afterPopupVisibleChange:I,popupTransitionName:B,popupAnimation:P,popupMotion:i,defaultPopupVisible:he,autoDestroy:ae,mouseLeaveDelay:q,popupStyle:G,mouseEnterDelay:T,arrow:Ce},L),p)},w=(0,Z.forwardRef)(l),k=w},39417:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return T}});var b=t(92413),m=t(400),D=t(37061),V=t(33708),Z=t(6909),K=t(4771),u=t(25314),W=t(9427),e=t(25440),h=t(92310),v=t.n(h),n=t(26112),r=t(59301),o=t(39378),l=function(q){for(var G=q.prefixCls,H=q.level,$=q.isStart,p=q.isEnd,z="".concat(G,"-indent-unit"),I=[],B=0;B<H;B+=1){var P;I.push(r.createElement("span",{key:B,className:v()(z,(P={},(0,m.Z)(P,"".concat(z,"-start"),$[B]),(0,m.Z)(P,"".concat(z,"-end"),p[B]),P))}))}return r.createElement("span",{"aria-hidden":"true",className:"".concat(G,"-indent")},I)},w=r.memo(l),k=t(67841),E=t(71430),g=["eventKey","className","style","dragOver","dragOverGapTop","dragOverGapBottom","isLeaf","isStart","isEnd","expanded","selected","checked","halfChecked","loading","domRef","active","data","onMouseMove","selectable"],O="open",C="close",c="---",s=function(J){(0,W.Z)(G,J);var q=(0,e.Z)(G);function G(){var H;(0,Z.Z)(this,G);for(var $=arguments.length,p=new Array($),z=0;z<$;z++)p[z]=arguments[z];return H=q.call.apply(q,[this].concat(p)),H.state={dragNodeHighlight:!1},H.selectHandle=void 0,H.cacheIndent=void 0,H.onSelectorClick=function(I){var B=H.props.context.onNodeClick;B(I,(0,E.F)(H.props)),H.isSelectable()?H.onSelect(I):H.onCheck(I)},H.onSelectorDoubleClick=function(I){var B=H.props.context.onNodeDoubleClick;B(I,(0,E.F)(H.props))},H.onSelect=function(I){if(!H.isDisabled()){var B=H.props.context.onNodeSelect;B(I,(0,E.F)(H.props))}},H.onCheck=function(I){if(!H.isDisabled()){var B=H.props,P=B.disableCheckbox,i=B.checked,a=H.props.context.onNodeCheck;if(!(!H.isCheckable()||P)){var _=!i;a(I,(0,E.F)(H.props),_)}}},H.onMouseEnter=function(I){var B=H.props.context.onNodeMouseEnter;B(I,(0,E.F)(H.props))},H.onMouseLeave=function(I){var B=H.props.context.onNodeMouseLeave;B(I,(0,E.F)(H.props))},H.onContextMenu=function(I){var B=H.props.context.onNodeContextMenu;B(I,(0,E.F)(H.props))},H.onDragStart=function(I){var B=H.props.context.onNodeDragStart;I.stopPropagation(),H.setState({dragNodeHighlight:!0}),B(I,(0,u.Z)(H));try{I.dataTransfer.setData("text/plain","")}catch(P){}},H.onDragEnter=function(I){var B=H.props.context.onNodeDragEnter;I.preventDefault(),I.stopPropagation(),B(I,(0,u.Z)(H))},H.onDragOver=function(I){var B=H.props.context.onNodeDragOver;I.preventDefault(),I.stopPropagation(),B(I,(0,u.Z)(H))},H.onDragLeave=function(I){var B=H.props.context.onNodeDragLeave;I.stopPropagation(),B(I,(0,u.Z)(H))},H.onDragEnd=function(I){var B=H.props.context.onNodeDragEnd;I.stopPropagation(),H.setState({dragNodeHighlight:!1}),B(I,(0,u.Z)(H))},H.onDrop=function(I){var B=H.props.context.onNodeDrop;I.preventDefault(),I.stopPropagation(),H.setState({dragNodeHighlight:!1}),B(I,(0,u.Z)(H))},H.onExpand=function(I){var B=H.props,P=B.loading,i=B.context.onNodeExpand;P||i(I,(0,E.F)(H.props))},H.setSelectHandle=function(I){H.selectHandle=I},H.getNodeState=function(){var I=H.props.expanded;return H.isLeaf()?null:I?O:C},H.hasChildren=function(){var I=H.props.eventKey,B=H.props.context.keyEntities,P=(0,k.Z)(B,I)||{},i=P.children;return!!(i||[]).length},H.isLeaf=function(){var I=H.props,B=I.isLeaf,P=I.loaded,i=H.props.context.loadData,a=H.hasChildren();return B===!1?!1:B||!i&&!a||i&&P&&!a},H.isDisabled=function(){var I=H.props.disabled,B=H.props.context.disabled;return!!(B||I)},H.isCheckable=function(){var I=H.props.checkable,B=H.props.context.checkable;return!B||I===!1?!1:B},H.syncLoadData=function(I){var B=I.expanded,P=I.loading,i=I.loaded,a=H.props.context,_=a.loadData,F=a.onNodeLoad;P||_&&B&&!H.isLeaf()&&!H.hasChildren()&&!i&&F((0,E.F)(H.props))},H.isDraggable=function(){var I=H.props,B=I.data,P=I.context.draggable;return!!(P&&(!P.nodeDraggable||P.nodeDraggable(B)))},H.renderDragHandler=function(){var I=H.props.context,B=I.draggable,P=I.prefixCls;return B!=null&&B.icon?r.createElement("span",{className:"".concat(P,"-draggable-icon")},B.icon):null},H.renderSwitcherIconDom=function(I){var B=H.props.switcherIcon,P=H.props.context.switcherIcon,i=B||P;return typeof i=="function"?i((0,V.Z)((0,V.Z)({},H.props),{},{isLeaf:I})):i},H.renderSwitcher=function(){var I=H.props.expanded,B=H.props.context.prefixCls;if(H.isLeaf()){var P=H.renderSwitcherIconDom(!0);return P!==!1?r.createElement("span",{className:v()("".concat(B,"-switcher"),"".concat(B,"-switcher-noop"))},P):null}var i=v()("".concat(B,"-switcher"),"".concat(B,"-switcher_").concat(I?O:C)),a=H.renderSwitcherIconDom(!1);return a!==!1?r.createElement("span",{onClick:H.onExpand,className:i},a):null},H.renderCheckbox=function(){var I=H.props,B=I.checked,P=I.halfChecked,i=I.disableCheckbox,a=H.props.context.prefixCls,_=H.isDisabled(),F=H.isCheckable();if(!F)return null;var te=typeof F!="boolean"?F:null;return r.createElement("span",{className:v()("".concat(a,"-checkbox"),B&&"".concat(a,"-checkbox-checked"),!B&&P&&"".concat(a,"-checkbox-indeterminate"),(_||i)&&"".concat(a,"-checkbox-disabled")),onClick:H.onCheck},te)},H.renderIcon=function(){var I=H.props.loading,B=H.props.context.prefixCls;return r.createElement("span",{className:v()("".concat(B,"-iconEle"),"".concat(B,"-icon__").concat(H.getNodeState()||"docu"),I&&"".concat(B,"-icon_loading"))})},H.renderSelector=function(){var I=H.state.dragNodeHighlight,B=H.props,P=B.title,i=P===void 0?c:P,a=B.selected,_=B.icon,F=B.loading,te=B.data,ie=H.props.context,ae=ie.prefixCls,he=ie.showIcon,we=ie.icon,Ke=ie.loadData,Ie=ie.titleRender,ke=H.isDisabled(),Xe="".concat(ae,"-node-content-wrapper"),Oe;if(he){var Ce=_||we;Oe=Ce?r.createElement("span",{className:v()("".concat(ae,"-iconEle"),"".concat(ae,"-icon__customize"))},typeof Ce=="function"?Ce(H.props):Ce):H.renderIcon()}else Ke&&F&&(Oe=H.renderIcon());var le;typeof i=="function"?le=i(te):Ie?le=Ie(te):le=i;var se=r.createElement("span",{className:"".concat(ae,"-title")},le);return r.createElement("span",{ref:H.setSelectHandle,title:typeof i=="string"?i:"",className:v()("".concat(Xe),"".concat(Xe,"-").concat(H.getNodeState()||"normal"),!ke&&(a||I)&&"".concat(ae,"-node-selected")),onMouseEnter:H.onMouseEnter,onMouseLeave:H.onMouseLeave,onContextMenu:H.onContextMenu,onClick:H.onSelectorClick,onDoubleClick:H.onSelectorDoubleClick},Oe,se,H.renderDropIndicator())},H.renderDropIndicator=function(){var I=H.props,B=I.disabled,P=I.eventKey,i=H.props.context,a=i.draggable,_=i.dropLevelOffset,F=i.dropPosition,te=i.prefixCls,ie=i.indent,ae=i.dropIndicatorRender,he=i.dragOverNodeKey,we=i.direction,Ke=!!a,Ie=!B&&Ke&&he===P,ke=ie!=null?ie:H.cacheIndent;return H.cacheIndent=ie,Ie?ae({dropPosition:F,dropLevelOffset:_,indent:ke,prefixCls:te,direction:we}):null},H}return(0,K.Z)(G,[{key:"componentDidMount",value:function(){this.syncLoadData(this.props)}},{key:"componentDidUpdate",value:function(){this.syncLoadData(this.props)}},{key:"isSelectable",value:function(){var $=this.props.selectable,p=this.props.context.selectable;return typeof $=="boolean"?$:p}},{key:"render",value:function(){var $,p=this.props,z=p.eventKey,I=p.className,B=p.style,P=p.dragOver,i=p.dragOverGapTop,a=p.dragOverGapBottom,_=p.isLeaf,F=p.isStart,te=p.isEnd,ie=p.expanded,ae=p.selected,he=p.checked,we=p.halfChecked,Ke=p.loading,Ie=p.domRef,ke=p.active,Xe=p.data,Oe=p.onMouseMove,Ce=p.selectable,le=(0,D.Z)(p,g),se=this.props.context,L=se.prefixCls,U=se.filterTreeNode,M=se.keyEntities,R=se.dropContainerKey,ee=se.dropTargetKey,y=se.draggingNodeKey,d=this.isDisabled(),f=(0,n.Z)(le,{aria:!0,data:!0}),X=(0,k.Z)(M,z)||{},j=X.level,A=te[te.length-1],Q=this.isDraggable(),ce=!d&&Q,re=y===z,oe=Ce!==void 0?{"aria-selected":!!Ce}:void 0;return r.createElement("div",(0,b.Z)({ref:Ie,className:v()(I,"".concat(L,"-treenode"),($={},(0,m.Z)($,"".concat(L,"-treenode-disabled"),d),(0,m.Z)($,"".concat(L,"-treenode-switcher-").concat(ie?"open":"close"),!_),(0,m.Z)($,"".concat(L,"-treenode-checkbox-checked"),he),(0,m.Z)($,"".concat(L,"-treenode-checkbox-indeterminate"),we),(0,m.Z)($,"".concat(L,"-treenode-selected"),ae),(0,m.Z)($,"".concat(L,"-treenode-loading"),Ke),(0,m.Z)($,"".concat(L,"-treenode-active"),ke),(0,m.Z)($,"".concat(L,"-treenode-leaf-last"),A),(0,m.Z)($,"".concat(L,"-treenode-draggable"),Q),(0,m.Z)($,"dragging",re),(0,m.Z)($,"drop-target",ee===z),(0,m.Z)($,"drop-container",R===z),(0,m.Z)($,"drag-over",!d&&P),(0,m.Z)($,"drag-over-gap-top",!d&&i),(0,m.Z)($,"drag-over-gap-bottom",!d&&a),(0,m.Z)($,"filter-node",U&&U((0,E.F)(this.props))),$)),style:B,draggable:ce,"aria-grabbed":re,onDragStart:ce?this.onDragStart:void 0,onDragEnter:Q?this.onDragEnter:void 0,onDragOver:Q?this.onDragOver:void 0,onDragLeave:Q?this.onDragLeave:void 0,onDrop:Q?this.onDrop:void 0,onDragEnd:Q?this.onDragEnd:void 0,onMouseMove:Oe},oe,f),r.createElement(w,{prefixCls:L,level:j,isStart:F,isEnd:te}),this.renderDragHandler(),this.renderSwitcher(),this.renderCheckbox(),this.renderSelector())}}]),G}(r.Component),x=function(q){return r.createElement(o.k.Consumer,null,function(G){return r.createElement(s,(0,b.Z)({},q,{context:G}))})};x.displayName="TreeNode",x.isTreeNode=1;var T=x},39378:function(We,fe,t){"use strict";t.d(fe,{k:function(){return m}});var b=t(59301),m=b.createContext(null)},23130:function(We,fe,t){"use strict";t.d(fe,{O:function(){return T.Z},Z:function(){return se}});var b=t(92413),m=t(400),D=t(39559),V=t(33708),Z=t(26407),K=t(6909),u=t(4771),W=t(25314),e=t(9427),h=t(25440),v=t(92310),n=t.n(v),r=t(10228),o=t(26112),l=t(48736),w=t(59301),k=t(39378);function E(L){var U=L.dropPosition,M=L.dropLevelOffset,R=L.indent,ee={pointerEvents:"none",position:"absolute",right:0,backgroundColor:"red",height:2};switch(U){case-1:ee.top=0,ee.left=-M*R;break;case 1:ee.bottom=0,ee.left=-M*R;break;case 0:ee.bottom=0,ee.left=R;break}return w.createElement("div",{style:ee})}function g(L){if(L==null)throw new TypeError("Cannot destructure "+L)}var O=t(33606),C=t(37061),c=t(34280),s=t(4409),x=t(77900),T=t(39417);function J(L,U){var M=w.useState(!1),R=(0,O.Z)(M,2),ee=R[0],y=R[1];w.useLayoutEffect(function(){if(ee)return L(),function(){U()}},[ee]),w.useLayoutEffect(function(){return y(!0),function(){y(!1)}},[])}var q=t(71430),G=["className","style","motion","motionNodes","motionType","onMotionStart","onMotionEnd","active","treeNodeRequiredProps"],H=function(U,M){var R=U.className,ee=U.style,y=U.motion,d=U.motionNodes,f=U.motionType,X=U.onMotionStart,j=U.onMotionEnd,A=U.active,Q=U.treeNodeRequiredProps,ce=(0,C.Z)(U,G),re=w.useState(!0),oe=(0,O.Z)(re,2),ve=oe[0],Ee=oe[1],pe=w.useContext(k.k),Ze=pe.prefixCls,De=d&&f!=="hide";(0,c.Z)(function(){d&&De!==ve&&Ee(De)},[d]);var Re=function(){d&&X()},Qe=w.useRef(!1),Ue=function(){d&&!Qe.current&&(Qe.current=!0,j())};J(Re,Ue);var st=function(Dt){De===Dt&&Ue()};return d?w.createElement(x.default,(0,b.Z)({ref:M,visible:ve},y,{motionAppear:f==="show",onVisibleChanged:st}),function(tt,Dt){var Ct=tt.className,Mt=tt.style;return w.createElement("div",{ref:Dt,className:n()("".concat(Ze,"-treenode-motion"),Ct),style:Mt},d.map(function(Pt){var rn=(0,b.Z)({},(g(Pt.data),Pt.data)),Tt=Pt.title,Je=Pt.key,$t=Pt.isStart,ut=Pt.isEnd;delete rn.children;var ht=(0,q.H8)(Je,Q);return w.createElement(T.Z,(0,b.Z)({},rn,ht,{title:Tt,active:A,data:Pt.data,key:Je,isStart:$t,isEnd:ut}))}))}):w.createElement(T.Z,(0,b.Z)({domRef:M,className:R,style:ee},ce,{active:A}))};H.displayName="MotionTreeNode";var $=w.forwardRef(H),p=$;function z(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],M=L.length,R=U.length;if(Math.abs(M-R)!==1)return{add:!1,key:null};function ee(y,d){var f=new Map;y.forEach(function(j){f.set(j,!0)});var X=d.filter(function(j){return!f.has(j)});return X.length===1?X[0]:null}return M<R?{add:!0,key:ee(L,U)}:{add:!1,key:ee(U,L)}}function I(L,U,M){var R=L.findIndex(function(f){return f.key===M}),ee=L[R+1],y=U.findIndex(function(f){return f.key===M});if(ee){var d=U.findIndex(function(f){return f.key===ee.key});return U.slice(y+1,d)}return U.slice(y+1)}var B=["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"],P={width:0,height:0,display:"flex",overflow:"hidden",opacity:0,border:0,padding:0,margin:0},i=function(){},a="RC_TREE_MOTION_".concat(Math.random()),_={key:a},F={key:a,level:0,index:0,pos:"0",node:_,nodes:[_]},te={parent:null,children:[],pos:F.pos,data:_,title:null,key:a,isStart:[],isEnd:[]};function ie(L,U,M,R){return U===!1||!M?L:L.slice(0,Math.ceil(M/R)+1)}function ae(L){var U=L.key,M=L.pos;return(0,q.km)(U,M)}function he(L){for(var U=String(L.data.key),M=L;M.parent;)M=M.parent,U="".concat(M.data.key," > ").concat(U);return U}var we=w.forwardRef(function(L,U){var M=L.prefixCls,R=L.data,ee=L.selectable,y=L.checkable,d=L.expandedKeys,f=L.selectedKeys,X=L.checkedKeys,j=L.loadedKeys,A=L.loadingKeys,Q=L.halfCheckedKeys,ce=L.keyEntities,re=L.disabled,oe=L.dragging,ve=L.dragOverNodeKey,Ee=L.dropPosition,pe=L.motion,Ze=L.height,De=L.itemHeight,Re=L.virtual,Qe=L.focusable,Ue=L.activeItem,st=L.focused,tt=L.tabIndex,Dt=L.onKeyDown,Ct=L.onFocus,Mt=L.onBlur,Pt=L.onActiveChange,rn=L.onListChangeStart,Tt=L.onListChangeEnd,Je=(0,C.Z)(L,B),$t=w.useRef(null),ut=w.useRef(null);w.useImperativeHandle(U,function(){return{scrollTo:function(Be){$t.current.scrollTo(Be)},getIndentWidth:function(){return ut.current.offsetWidth}}});var ht=w.useState(d),Xt=(0,O.Z)(ht,2),an=Xt[0],Dn=Xt[1],yn=w.useState(R),On=(0,O.Z)(yn,2),Ln=On[0],In=On[1],Bn=w.useState(R),zt=(0,O.Z)(Bn,2),Nt=zt[0],cn=zt[1],zn=w.useState([]),An=(0,O.Z)(zn,2),ge=An[0],me=An[1],Ye=w.useState(null),je=(0,O.Z)(Ye,2),pt=je[0],nt=je[1],_t=w.useRef(R);_t.current=R;function at(){var Fe=_t.current;In(Fe),cn(Fe),me([]),nt(null),Tt()}(0,c.Z)(function(){Dn(d);var Fe=z(an,d);if(Fe.key!==null)if(Fe.add){var Be=Ln.findIndex(function(Zt){var qe=Zt.key;return qe===Fe.key}),rt=ie(I(Ln,R,Fe.key),Re,Ze,De),it=Ln.slice();it.splice(Be+1,0,te),cn(it),me(rt),nt("show")}else{var lt=R.findIndex(function(Zt){var qe=Zt.key;return qe===Fe.key}),on=ie(I(R,Ln,Fe.key),Re,Ze,De),gn=R.slice();gn.splice(lt+1,0,te),cn(gn),me(on),nt("hide")}else Ln!==R&&(In(R),cn(R))},[d,R]),w.useEffect(function(){oe||at()},[oe]);var Ot=pe?Nt:R,wt={expandedKeys:d,selectedKeys:f,loadedKeys:j,loadingKeys:A,checkedKeys:X,halfCheckedKeys:Q,dragOverNodeKey:ve,dropPosition:Ee,keyEntities:ce};return w.createElement(w.Fragment,null,st&&Ue&&w.createElement("span",{style:P,"aria-live":"assertive"},he(Ue)),w.createElement("div",null,w.createElement("input",{style:P,disabled:Qe===!1||re,tabIndex:Qe!==!1?tt:null,onKeyDown:Dt,onFocus:Ct,onBlur:Mt,value:"",onChange:i,"aria-label":"for screen reader"})),w.createElement("div",{className:"".concat(M,"-treenode"),"aria-hidden":!0,style:{position:"absolute",pointerEvents:"none",visibility:"hidden",height:0,overflow:"hidden",border:0,padding:0}},w.createElement("div",{className:"".concat(M,"-indent")},w.createElement("div",{ref:ut,className:"".concat(M,"-indent-unit")}))),w.createElement(s.Z,(0,b.Z)({},Je,{data:Ot,itemKey:ae,height:Ze,fullHeight:!1,virtual:Re,itemHeight:De,prefixCls:"".concat(M,"-list"),ref:$t,onVisibleChange:function(Be,rt){var it=new Set(Be),lt=rt.filter(function(on){return!it.has(on)});lt.some(function(on){return ae(on)===a})&&at()}}),function(Fe){var Be=Fe.pos,rt=(0,b.Z)({},(g(Fe.data),Fe.data)),it=Fe.title,lt=Fe.key,on=Fe.isStart,gn=Fe.isEnd,Zt=(0,q.km)(lt,Be);delete rt.key,delete rt.children;var qe=(0,q.H8)(Zt,wt);return w.createElement(p,(0,b.Z)({},rt,qe,{title:it,active:!!Ue&<===Ue.key,pos:Be,data:Fe.data,isStart:on,isEnd:gn,motion:pe,motionNodes:lt===a?ge:null,motionType:pt,onMotionStart:rn,onMotionEnd:at,treeNodeRequiredProps:wt,onMouseMove:function(){Pt(null)}}))}))});we.displayName="NodeList";var Ke=we,Ie=t(35654),ke=t(90782),Xe=t(67841),Oe=10,Ce=function(L){(0,e.Z)(M,L);var U=(0,h.Z)(M);function M(){var R;(0,K.Z)(this,M);for(var ee=arguments.length,y=new Array(ee),d=0;d<ee;d++)y[d]=arguments[d];return R=U.call.apply(U,[this].concat(y)),R.destroyed=!1,R.delayedDragEnterLogic=void 0,R.loadingRetryTimes={},R.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,q.w$)()},R.dragStartMousePosition=null,R.dragNode=void 0,R.currentMouseOverDroppableNodeKey=null,R.listRef=w.createRef(),R.onNodeDragStart=function(f,X){var j=R.state,A=j.expandedKeys,Q=j.keyEntities,ce=R.props.onDragStart,re=X.props.eventKey;R.dragNode=X,R.dragStartMousePosition={x:f.clientX,y:f.clientY};var oe=(0,Ie._5)(A,re);R.setState({draggingNodeKey:re,dragChildrenKeys:(0,Ie.wA)(re,Q),indent:R.listRef.current.getIndentWidth()}),R.setExpandedKeys(oe),window.addEventListener("dragend",R.onWindowDragEnd),ce==null||ce({event:f,node:(0,q.F)(X.props)})},R.onNodeDragEnter=function(f,X){var j=R.state,A=j.expandedKeys,Q=j.keyEntities,ce=j.dragChildrenKeys,re=j.flattenNodes,oe=j.indent,ve=R.props,Ee=ve.onDragEnter,pe=ve.onExpand,Ze=ve.allowDrop,De=ve.direction,Re=X.props,Qe=Re.pos,Ue=Re.eventKey,st=(0,W.Z)(R),tt=st.dragNode;if(R.currentMouseOverDroppableNodeKey!==Ue&&(R.currentMouseOverDroppableNodeKey=Ue),!tt){R.resetDragState();return}var Dt=(0,Ie.OM)(f,tt,X,oe,R.dragStartMousePosition,Ze,re,Q,A,De),Ct=Dt.dropPosition,Mt=Dt.dropLevelOffset,Pt=Dt.dropTargetKey,rn=Dt.dropContainerKey,Tt=Dt.dropTargetPos,Je=Dt.dropAllowed,$t=Dt.dragOverNodeKey;if(ce.indexOf(Pt)!==-1||!Je){R.resetDragState();return}if(R.delayedDragEnterLogic||(R.delayedDragEnterLogic={}),Object.keys(R.delayedDragEnterLogic).forEach(function(ut){clearTimeout(R.delayedDragEnterLogic[ut])}),tt.props.eventKey!==X.props.eventKey&&(f.persist(),R.delayedDragEnterLogic[Qe]=window.setTimeout(function(){if(R.state.draggingNodeKey!==null){var ut=(0,Z.Z)(A),ht=(0,Xe.Z)(Q,X.props.eventKey);ht&&(ht.children||[]).length&&(ut=(0,Ie.L0)(A,X.props.eventKey)),"expandedKeys"in R.props||R.setExpandedKeys(ut),pe==null||pe(ut,{node:(0,q.F)(X.props),expanded:!0,nativeEvent:f.nativeEvent})}},800)),tt.props.eventKey===Pt&&Mt===0){R.resetDragState();return}R.setState({dragOverNodeKey:$t,dropPosition:Ct,dropLevelOffset:Mt,dropTargetKey:Pt,dropContainerKey:rn,dropTargetPos:Tt,dropAllowed:Je}),Ee==null||Ee({event:f,node:(0,q.F)(X.props),expandedKeys:A})},R.onNodeDragOver=function(f,X){var j=R.state,A=j.dragChildrenKeys,Q=j.flattenNodes,ce=j.keyEntities,re=j.expandedKeys,oe=j.indent,ve=R.props,Ee=ve.onDragOver,pe=ve.allowDrop,Ze=ve.direction,De=(0,W.Z)(R),Re=De.dragNode;if(Re){var Qe=(0,Ie.OM)(f,Re,X,oe,R.dragStartMousePosition,pe,Q,ce,re,Ze),Ue=Qe.dropPosition,st=Qe.dropLevelOffset,tt=Qe.dropTargetKey,Dt=Qe.dropContainerKey,Ct=Qe.dropAllowed,Mt=Qe.dropTargetPos,Pt=Qe.dragOverNodeKey;A.indexOf(tt)!==-1||!Ct||(Re.props.eventKey===tt&&st===0?R.state.dropPosition===null&&R.state.dropLevelOffset===null&&R.state.dropTargetKey===null&&R.state.dropContainerKey===null&&R.state.dropTargetPos===null&&R.state.dropAllowed===!1&&R.state.dragOverNodeKey===null||R.resetDragState():Ue===R.state.dropPosition&&st===R.state.dropLevelOffset&&tt===R.state.dropTargetKey&&Dt===R.state.dropContainerKey&&Mt===R.state.dropTargetPos&&Ct===R.state.dropAllowed&&Pt===R.state.dragOverNodeKey||R.setState({dropPosition:Ue,dropLevelOffset:st,dropTargetKey:tt,dropContainerKey:Dt,dropTargetPos:Mt,dropAllowed:Ct,dragOverNodeKey:Pt}),Ee==null||Ee({event:f,node:(0,q.F)(X.props)}))}},R.onNodeDragLeave=function(f,X){R.currentMouseOverDroppableNodeKey===X.props.eventKey&&!f.currentTarget.contains(f.relatedTarget)&&(R.resetDragState(),R.currentMouseOverDroppableNodeKey=null);var j=R.props.onDragLeave;j==null||j({event:f,node:(0,q.F)(X.props)})},R.onWindowDragEnd=function(f){R.onNodeDragEnd(f,null,!0),window.removeEventListener("dragend",R.onWindowDragEnd)},R.onNodeDragEnd=function(f,X){var j=R.props.onDragEnd;R.setState({dragOverNodeKey:null}),R.cleanDragState(),j==null||j({event:f,node:(0,q.F)(X.props)}),R.dragNode=null,window.removeEventListener("dragend",R.onWindowDragEnd)},R.onNodeDrop=function(f,X){var j,A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Q=R.state,ce=Q.dragChildrenKeys,re=Q.dropPosition,oe=Q.dropTargetKey,ve=Q.dropTargetPos,Ee=Q.dropAllowed;if(Ee){var pe=R.props.onDrop;if(R.setState({dragOverNodeKey:null}),R.cleanDragState(),oe!==null){var Ze=(0,V.Z)((0,V.Z)({},(0,q.H8)(oe,R.getTreeNodeRequiredProps())),{},{active:((j=R.getActiveItem())===null||j===void 0?void 0:j.key)===oe,data:(0,Xe.Z)(R.state.keyEntities,oe).node}),De=ce.indexOf(oe)!==-1;(0,l.ZP)(!De,"Can not drop to dragNode's children node. This is a bug of rc-tree. Please report an issue.");var Re=(0,Ie.yx)(ve),Qe={event:f,node:(0,q.F)(Ze),dragNode:R.dragNode?(0,q.F)(R.dragNode.props):null,dragNodesKeys:[R.dragNode.props.eventKey].concat(ce),dropToGap:re!==0,dropPosition:re+Number(Re[Re.length-1])};A||pe==null||pe(Qe),R.dragNode=null}}},R.cleanDragState=function(){var f=R.state.draggingNodeKey;f!==null&&R.setState({draggingNodeKey:null,dropPosition:null,dropContainerKey:null,dropTargetKey:null,dropLevelOffset:null,dropAllowed:!0,dragOverNodeKey:null}),R.dragStartMousePosition=null,R.currentMouseOverDroppableNodeKey=null},R.triggerExpandActionExpand=function(f,X){var j=R.state,A=j.expandedKeys,Q=j.flattenNodes,ce=X.expanded,re=X.key,oe=X.isLeaf;if(!(oe||f.shiftKey||f.metaKey||f.ctrlKey)){var ve=Q.filter(function(pe){return pe.key===re})[0],Ee=(0,q.F)((0,V.Z)((0,V.Z)({},(0,q.H8)(re,R.getTreeNodeRequiredProps())),{},{data:ve.data}));R.setExpandedKeys(ce?(0,Ie._5)(A,re):(0,Ie.L0)(A,re)),R.onNodeExpand(f,Ee)}},R.onNodeClick=function(f,X){var j=R.props,A=j.onClick,Q=j.expandAction;Q==="click"&&R.triggerExpandActionExpand(f,X),A==null||A(f,X)},R.onNodeDoubleClick=function(f,X){var j=R.props,A=j.onDoubleClick,Q=j.expandAction;Q==="doubleClick"&&R.triggerExpandActionExpand(f,X),A==null||A(f,X)},R.onNodeSelect=function(f,X){var j=R.state.selectedKeys,A=R.state,Q=A.keyEntities,ce=A.fieldNames,re=R.props,oe=re.onSelect,ve=re.multiple,Ee=X.selected,pe=X[ce.key],Ze=!Ee;Ze?ve?j=(0,Ie.L0)(j,pe):j=[pe]:j=(0,Ie._5)(j,pe);var De=j.map(function(Re){var Qe=(0,Xe.Z)(Q,Re);return Qe?Qe.node:null}).filter(function(Re){return Re});R.setUncontrolledState({selectedKeys:j}),oe==null||oe(j,{event:"select",selected:Ze,node:X,selectedNodes:De,nativeEvent:f.nativeEvent})},R.onNodeCheck=function(f,X,j){var A=R.state,Q=A.keyEntities,ce=A.checkedKeys,re=A.halfCheckedKeys,oe=R.props,ve=oe.checkStrictly,Ee=oe.onCheck,pe=X.key,Ze,De={event:"check",node:X,checked:j,nativeEvent:f.nativeEvent};if(ve){var Re=j?(0,Ie.L0)(ce,pe):(0,Ie._5)(ce,pe),Qe=(0,Ie._5)(re,pe);Ze={checked:Re,halfChecked:Qe},De.checkedNodes=Re.map(function(Mt){return(0,Xe.Z)(Q,Mt)}).filter(function(Mt){return Mt}).map(function(Mt){return Mt.node}),R.setUncontrolledState({checkedKeys:Re})}else{var Ue=(0,ke.S)([].concat((0,Z.Z)(ce),[pe]),!0,Q),st=Ue.checkedKeys,tt=Ue.halfCheckedKeys;if(!j){var Dt=new Set(st);Dt.delete(pe);var Ct=(0,ke.S)(Array.from(Dt),{checked:!1,halfCheckedKeys:tt},Q);st=Ct.checkedKeys,tt=Ct.halfCheckedKeys}Ze=st,De.checkedNodes=[],De.checkedNodesPositions=[],De.halfCheckedKeys=tt,st.forEach(function(Mt){var Pt=(0,Xe.Z)(Q,Mt);if(Pt){var rn=Pt.node,Tt=Pt.pos;De.checkedNodes.push(rn),De.checkedNodesPositions.push({node:rn,pos:Tt})}}),R.setUncontrolledState({checkedKeys:st},!1,{halfCheckedKeys:tt})}Ee==null||Ee(Ze,De)},R.onNodeLoad=function(f){var X=f.key,j=new Promise(function(A,Q){R.setState(function(ce){var re=ce.loadedKeys,oe=re===void 0?[]:re,ve=ce.loadingKeys,Ee=ve===void 0?[]:ve,pe=R.props,Ze=pe.loadData,De=pe.onLoad;if(!Ze||oe.indexOf(X)!==-1||Ee.indexOf(X)!==-1)return null;var Re=Ze(f);return Re.then(function(){var Qe=R.state.loadedKeys,Ue=(0,Ie.L0)(Qe,X);De==null||De(Ue,{event:"load",node:f}),R.setUncontrolledState({loadedKeys:Ue}),R.setState(function(st){return{loadingKeys:(0,Ie._5)(st.loadingKeys,X)}}),A()}).catch(function(Qe){if(R.setState(function(st){return{loadingKeys:(0,Ie._5)(st.loadingKeys,X)}}),R.loadingRetryTimes[X]=(R.loadingRetryTimes[X]||0)+1,R.loadingRetryTimes[X]>=Oe){var Ue=R.state.loadedKeys;(0,l.ZP)(!1,"Retry for `loadData` many times but still failed. No more retry."),R.setUncontrolledState({loadedKeys:(0,Ie.L0)(Ue,X)}),A()}Q(Qe)}),{loadingKeys:(0,Ie.L0)(Ee,X)}})});return j.catch(function(){}),j},R.onNodeMouseEnter=function(f,X){var j=R.props.onMouseEnter;j==null||j({event:f,node:X})},R.onNodeMouseLeave=function(f,X){var j=R.props.onMouseLeave;j==null||j({event:f,node:X})},R.onNodeContextMenu=function(f,X){var j=R.props.onRightClick;j&&(f.preventDefault(),j({event:f,node:X}))},R.onFocus=function(){var f=R.props.onFocus;R.setState({focused:!0});for(var X=arguments.length,j=new Array(X),A=0;A<X;A++)j[A]=arguments[A];f==null||f.apply(void 0,j)},R.onBlur=function(){var f=R.props.onBlur;R.setState({focused:!1}),R.onActiveChange(null);for(var X=arguments.length,j=new Array(X),A=0;A<X;A++)j[A]=arguments[A];f==null||f.apply(void 0,j)},R.getTreeNodeRequiredProps=function(){var f=R.state,X=f.expandedKeys,j=f.selectedKeys,A=f.loadedKeys,Q=f.loadingKeys,ce=f.checkedKeys,re=f.halfCheckedKeys,oe=f.dragOverNodeKey,ve=f.dropPosition,Ee=f.keyEntities;return{expandedKeys:X||[],selectedKeys:j||[],loadedKeys:A||[],loadingKeys:Q||[],checkedKeys:ce||[],halfCheckedKeys:re||[],dragOverNodeKey:oe,dropPosition:ve,keyEntities:Ee}},R.setExpandedKeys=function(f){var X=R.state,j=X.treeData,A=X.fieldNames,Q=(0,q.oH)(j,f,A);R.setUncontrolledState({expandedKeys:f,flattenNodes:Q},!0)},R.onNodeExpand=function(f,X){var j=R.state.expandedKeys,A=R.state,Q=A.listChanging,ce=A.fieldNames,re=R.props,oe=re.onExpand,ve=re.loadData,Ee=X.expanded,pe=X[ce.key];if(!Q){var Ze=j.indexOf(pe),De=!Ee;if((0,l.ZP)(Ee&&Ze!==-1||!Ee&&Ze===-1,"Expand state not sync with index check"),De?j=(0,Ie.L0)(j,pe):j=(0,Ie._5)(j,pe),R.setExpandedKeys(j),oe==null||oe(j,{node:X,expanded:De,nativeEvent:f.nativeEvent}),De&&ve){var Re=R.onNodeLoad(X);Re&&Re.then(function(){var Qe=(0,q.oH)(R.state.treeData,j,ce);R.setUncontrolledState({flattenNodes:Qe})}).catch(function(){var Qe=R.state.expandedKeys,Ue=(0,Ie._5)(Qe,pe);R.setExpandedKeys(Ue)})}}},R.onListChangeStart=function(){R.setUncontrolledState({listChanging:!0})},R.onListChangeEnd=function(){setTimeout(function(){R.setUncontrolledState({listChanging:!1})})},R.onActiveChange=function(f){var X=R.state.activeKey,j=R.props.onActiveChange;X!==f&&(R.setState({activeKey:f}),f!==null&&R.scrollTo({key:f}),j==null||j(f))},R.getActiveItem=function(){var f=R.state,X=f.activeKey,j=f.flattenNodes;return X===null?null:j.find(function(A){var Q=A.key;return Q===X})||null},R.offsetActiveKey=function(f){var X=R.state,j=X.flattenNodes,A=X.activeKey,Q=j.findIndex(function(oe){var ve=oe.key;return ve===A});Q===-1&&f<0&&(Q=j.length),Q=(Q+f+j.length)%j.length;var ce=j[Q];if(ce){var re=ce.key;R.onActiveChange(re)}else R.onActiveChange(null)},R.onKeyDown=function(f){var X=R.state,j=X.activeKey,A=X.expandedKeys,Q=X.checkedKeys,ce=X.fieldNames,re=R.props,oe=re.onKeyDown,ve=re.checkable,Ee=re.selectable;switch(f.which){case r.Z.UP:{R.offsetActiveKey(-1),f.preventDefault();break}case r.Z.DOWN:{R.offsetActiveKey(1),f.preventDefault();break}}var pe=R.getActiveItem();if(pe&&pe.data){var Ze=R.getTreeNodeRequiredProps(),De=pe.data.isLeaf===!1||!!(pe.data[ce.children]||[]).length,Re=(0,q.F)((0,V.Z)((0,V.Z)({},(0,q.H8)(j,Ze)),{},{data:pe.data,active:!0}));switch(f.which){case r.Z.LEFT:{De&&A.includes(j)?R.onNodeExpand({},Re):pe.parent&&R.onActiveChange(pe.parent.key),f.preventDefault();break}case r.Z.RIGHT:{De&&!A.includes(j)?R.onNodeExpand({},Re):pe.children&&pe.children.length&&R.onActiveChange(pe.children[0].key),f.preventDefault();break}case r.Z.ENTER:case r.Z.SPACE:{ve&&!Re.disabled&&Re.checkable!==!1&&!Re.disableCheckbox?R.onNodeCheck({},Re,!Q.includes(j)):!ve&&Ee&&!Re.disabled&&Re.selectable!==!1&&R.onNodeSelect({},Re);break}}}oe==null||oe(f)},R.setUncontrolledState=function(f){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!R.destroyed){var A=!1,Q=!0,ce={};Object.keys(f).forEach(function(re){if(re in R.props){Q=!1;return}A=!0,ce[re]=f[re]}),A&&(!X||Q)&&R.setState((0,V.Z)((0,V.Z)({},ce),j))}},R.scrollTo=function(f){R.listRef.current.scrollTo(f)},R}return(0,u.Z)(M,[{key:"componentDidMount",value:function(){this.destroyed=!1,this.onUpdated()}},{key:"componentDidUpdate",value:function(){this.onUpdated()}},{key:"onUpdated",value:function(){var ee=this.props.activeKey;ee!==void 0&&ee!==this.state.activeKey&&(this.setState({activeKey:ee}),ee!==null&&this.scrollTo({key:ee}))}},{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 ee,y=this.state,d=y.focused,f=y.flattenNodes,X=y.keyEntities,j=y.draggingNodeKey,A=y.activeKey,Q=y.dropLevelOffset,ce=y.dropContainerKey,re=y.dropTargetKey,oe=y.dropPosition,ve=y.dragOverNodeKey,Ee=y.indent,pe=this.props,Ze=pe.prefixCls,De=pe.className,Re=pe.style,Qe=pe.showLine,Ue=pe.focusable,st=pe.tabIndex,tt=st===void 0?0:st,Dt=pe.selectable,Ct=pe.showIcon,Mt=pe.icon,Pt=pe.switcherIcon,rn=pe.draggable,Tt=pe.checkable,Je=pe.checkStrictly,$t=pe.disabled,ut=pe.motion,ht=pe.loadData,Xt=pe.filterTreeNode,an=pe.height,Dn=pe.itemHeight,yn=pe.virtual,On=pe.titleRender,Ln=pe.dropIndicatorRender,In=pe.onContextMenu,Bn=pe.onScroll,zt=pe.direction,Nt=pe.rootClassName,cn=pe.rootStyle,zn=(0,o.Z)(this.props,{aria:!0,data:!0}),An;return rn&&((0,D.Z)(rn)==="object"?An=rn:typeof rn=="function"?An={nodeDraggable:rn}:An={}),w.createElement(k.k.Provider,{value:{prefixCls:Ze,selectable:Dt,showIcon:Ct,icon:Mt,switcherIcon:Pt,draggable:An,draggingNodeKey:j,checkable:Tt,checkStrictly:Je,disabled:$t,keyEntities:X,dropLevelOffset:Q,dropContainerKey:ce,dropTargetKey:re,dropPosition:oe,dragOverNodeKey:ve,indent:Ee,direction:zt,dropIndicatorRender:Ln,loadData:ht,filterTreeNode:Xt,titleRender:On,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}},w.createElement("div",{role:"tree",className:n()(Ze,De,Nt,(ee={},(0,m.Z)(ee,"".concat(Ze,"-show-line"),Qe),(0,m.Z)(ee,"".concat(Ze,"-focused"),d),(0,m.Z)(ee,"".concat(Ze,"-active-focused"),A!==null),ee)),style:cn},w.createElement(Ke,(0,b.Z)({ref:this.listRef,prefixCls:Ze,style:Re,data:f,disabled:$t,selectable:Dt,checkable:!!Tt,motion:ut,dragging:j!==null,height:an,itemHeight:Dn,virtual:yn,focusable:Ue,focused:d,tabIndex:tt,activeItem:this.getActiveItem(),onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.onKeyDown,onActiveChange:this.onActiveChange,onListChangeStart:this.onListChangeStart,onListChangeEnd:this.onListChangeEnd,onContextMenu:In,onScroll:Bn},this.getTreeNodeRequiredProps(),zn))))}}],[{key:"getDerivedStateFromProps",value:function(ee,y){var d=y.prevProps,f={prevProps:ee};function X(Ue){return!d&&Ue in ee||d&&d[Ue]!==ee[Ue]}var j,A=y.fieldNames;if(X("fieldNames")&&(A=(0,q.w$)(ee.fieldNames),f.fieldNames=A),X("treeData")?j=ee.treeData:X("children")&&((0,l.ZP)(!1,"`children` of Tree is deprecated. Please use `treeData` instead."),j=(0,q.zn)(ee.children)),j){f.treeData=j;var Q=(0,q.I8)(j,{fieldNames:A});f.keyEntities=(0,V.Z)((0,m.Z)({},a,F),Q.keyEntities)}var ce=f.keyEntities||y.keyEntities;if(X("expandedKeys")||d&&X("autoExpandParent"))f.expandedKeys=ee.autoExpandParent||!d&&ee.defaultExpandParent?(0,Ie.r7)(ee.expandedKeys,ce):ee.expandedKeys;else if(!d&&ee.defaultExpandAll){var re=(0,V.Z)({},ce);delete re[a],f.expandedKeys=Object.keys(re).map(function(Ue){return re[Ue].key})}else!d&&ee.defaultExpandedKeys&&(f.expandedKeys=ee.autoExpandParent||ee.defaultExpandParent?(0,Ie.r7)(ee.defaultExpandedKeys,ce):ee.defaultExpandedKeys);if(f.expandedKeys||delete f.expandedKeys,j||f.expandedKeys){var oe=(0,q.oH)(j||y.treeData,f.expandedKeys||y.expandedKeys,A);f.flattenNodes=oe}if(ee.selectable&&(X("selectedKeys")?f.selectedKeys=(0,Ie.BT)(ee.selectedKeys,ee):!d&&ee.defaultSelectedKeys&&(f.selectedKeys=(0,Ie.BT)(ee.defaultSelectedKeys,ee))),ee.checkable){var ve;if(X("checkedKeys")?ve=(0,Ie.E6)(ee.checkedKeys)||{}:!d&&ee.defaultCheckedKeys?ve=(0,Ie.E6)(ee.defaultCheckedKeys)||{}:j&&(ve=(0,Ie.E6)(ee.checkedKeys)||{checkedKeys:y.checkedKeys,halfCheckedKeys:y.halfCheckedKeys}),ve){var Ee=ve,pe=Ee.checkedKeys,Ze=pe===void 0?[]:pe,De=Ee.halfCheckedKeys,Re=De===void 0?[]:De;if(!ee.checkStrictly){var Qe=(0,ke.S)(Ze,!0,ce);Ze=Qe.checkedKeys,Re=Qe.halfCheckedKeys}f.checkedKeys=Ze,f.halfCheckedKeys=Re}}return X("loadedKeys")&&(f.loadedKeys=ee.loadedKeys),f}}]),M}(w.Component);Ce.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},Ce.TreeNode=T.Z;var le=Ce,se=le},35654:function(We,fe,t){"use strict";t.d(fe,{BT:function(){return w},E6:function(){return g},L0:function(){return h},OM:function(){return l},_5:function(){return e},r7:function(){return O},wA:function(){return n},yx:function(){return v}});var b=t(26407),m=t(39559),D=t(48736),V=t(59301),Z=t(39417),K=t(67841),u=t(71430),W=null;function e(C,c){if(!C)return[];var s=C.slice(),x=s.indexOf(c);return x>=0&&s.splice(x,1),s}function h(C,c){var s=(C||[]).slice();return s.indexOf(c)===-1&&s.push(c),s}function v(C){return C.split("-")}function n(C,c){var s=[],x=(0,K.Z)(c,C);function T(){var J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];J.forEach(function(q){var G=q.key,H=q.children;s.push(G),T(H)})}return T(x.children),s}function r(C){if(C.parent){var c=v(C.pos);return Number(c[c.length-1])===C.parent.children.length-1}return!1}function o(C){var c=v(C.pos);return Number(c[c.length-1])===0}function l(C,c,s,x,T,J,q,G,H,$){var p,z=C.clientX,I=C.clientY,B=C.target.getBoundingClientRect(),P=B.top,i=B.height,a=($==="rtl"?-1:1)*(((T==null?void 0:T.x)||0)-z),_=(a-12)/x,F=(0,K.Z)(G,s.props.eventKey);if(I<P+i/2){var te=q.findIndex(function(se){return se.key===F.key}),ie=te<=0?0:te-1,ae=q[ie].key;F=(0,K.Z)(G,ae)}var he=F.key,we=F,Ke=F.key,Ie=0,ke=0;if(!H.includes(he))for(var Xe=0;Xe<_&&r(F);Xe+=1)F=F.parent,ke+=1;var Oe=c.props.data,Ce=F.node,le=!0;return o(F)&&F.level===0&&I<P+i/2&&J({dragNode:Oe,dropNode:Ce,dropPosition:-1})&&F.key===s.props.eventKey?Ie=-1:(we.children||[]).length&&H.includes(Ke)?J({dragNode:Oe,dropNode:Ce,dropPosition:0})?Ie=0:le=!1:ke===0?_>-1.5?J({dragNode:Oe,dropNode:Ce,dropPosition:1})?Ie=1:le=!1:J({dragNode:Oe,dropNode:Ce,dropPosition:0})?Ie=0:J({dragNode:Oe,dropNode:Ce,dropPosition:1})?Ie=1:le=!1:J({dragNode:Oe,dropNode:Ce,dropPosition:1})?Ie=1:le=!1,{dropPosition:Ie,dropLevelOffset:ke,dropTargetKey:F.key,dropTargetPos:F.pos,dragOverNodeKey:Ke,dropContainerKey:Ie===0?null:((p=F.parent)===null||p===void 0?void 0:p.key)||null,dropAllowed:le}}function w(C,c){if(C){var s=c.multiple;return s?C.slice():C.length?[C[0]]:C}}var k=function(c){return c};function E(C,c){if(!C)return[];var s=c||{},x=s.processProps,T=x===void 0?k:x,J=Array.isArray(C)?C:[C];return J.map(function(q){var G=q.children,H=_objectWithoutProperties(q,W),$=E(G,c);return React.createElement(TreeNode,_extends({key:H.key},T(H)),$)})}function g(C){if(!C)return null;var c;if(Array.isArray(C))c={checkedKeys:C,halfCheckedKeys:void 0};else if((0,m.Z)(C)==="object")c={checkedKeys:C.checked||void 0,halfCheckedKeys:C.halfChecked||void 0};else return(0,D.ZP)(!1,"`checkedKeys` is not an array or an object"),null;return c}function O(C,c){var s=new Set;function x(T){if(!s.has(T)){var J=(0,K.Z)(c,T);if(J){s.add(T);var q=J.parent,G=J.node;G.disabled||q&&x(q.key)}}}return(C||[]).forEach(function(T){x(T)}),(0,b.Z)(s)}},90782:function(We,fe,t){"use strict";t.d(fe,{S:function(){return u}});var b=t(48736),m=t(67841);function D(W,e){var h=new Set;return W.forEach(function(v){e.has(v)||h.add(v)}),h}function V(W){var e=W||{},h=e.disabled,v=e.disableCheckbox,n=e.checkable;return!!(h||v)||n===!1}function Z(W,e,h,v){for(var n=new Set(W),r=new Set,o=0;o<=h;o+=1){var l=e.get(o)||new Set;l.forEach(function(g){var O=g.key,C=g.node,c=g.children,s=c===void 0?[]:c;n.has(O)&&!v(C)&&s.filter(function(x){return!v(x.node)}).forEach(function(x){n.add(x.key)})})}for(var w=new Set,k=h;k>=0;k-=1){var E=e.get(k)||new Set;E.forEach(function(g){var O=g.parent,C=g.node;if(!(v(C)||!g.parent||w.has(g.parent.key))){if(v(g.parent.node)){w.add(O.key);return}var c=!0,s=!1;(O.children||[]).filter(function(x){return!v(x.node)}).forEach(function(x){var T=x.key,J=n.has(T);c&&!J&&(c=!1),!s&&(J||r.has(T))&&(s=!0)}),c&&n.add(O.key),s&&r.add(O.key),w.add(O.key)}})}return{checkedKeys:Array.from(n),halfCheckedKeys:Array.from(D(r,n))}}function K(W,e,h,v,n){for(var r=new Set(W),o=new Set(e),l=0;l<=v;l+=1){var w=h.get(l)||new Set;w.forEach(function(O){var C=O.key,c=O.node,s=O.children,x=s===void 0?[]:s;!r.has(C)&&!o.has(C)&&!n(c)&&x.filter(function(T){return!n(T.node)}).forEach(function(T){r.delete(T.key)})})}o=new Set;for(var k=new Set,E=v;E>=0;E-=1){var g=h.get(E)||new Set;g.forEach(function(O){var C=O.parent,c=O.node;if(!(n(c)||!O.parent||k.has(O.parent.key))){if(n(O.parent.node)){k.add(C.key);return}var s=!0,x=!1;(C.children||[]).filter(function(T){return!n(T.node)}).forEach(function(T){var J=T.key,q=r.has(J);s&&!q&&(s=!1),!x&&(q||o.has(J))&&(x=!0)}),s||r.delete(C.key),x&&o.add(C.key),k.add(C.key)}})}return{checkedKeys:Array.from(r),halfCheckedKeys:Array.from(D(o,r))}}function u(W,e,h,v){var n=[],r;v?r=v:r=V;var o=new Set(W.filter(function(E){var g=!!(0,m.Z)(h,E);return g||n.push(E),g})),l=new Map,w=0;Object.keys(h).forEach(function(E){var g=h[E],O=g.level,C=l.get(O);C||(C=new Set,l.set(O,C)),C.add(g),w=Math.max(w,O)}),(0,b.ZP)(!n.length,"Tree missing follow keys: ".concat(n.slice(0,100).map(function(E){return"'".concat(E,"'")}).join(", ")));var k;return e===!0?k=Z(o,l,w,r):k=K(o,e.halfCheckedKeys,l,w,r),k}},67841:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return b}});function b(m,D){return m[D]}},71430:function(We,fe,t){"use strict";t.d(fe,{F:function(){return O},H8:function(){return g},I8:function(){return E},km:function(){return n},oH:function(){return w},w$:function(){return r},zn:function(){return l}});var b=t(39559),m=t(26407),D=t(33708),V=t(37061),Z=t(11592),K=t(2738),u=t(48736),W=t(67841),e=["children"];function h(C,c){return"".concat(C,"-").concat(c)}function v(C){return C&&C.type&&C.type.isTreeNode}function n(C,c){return C!=null?C:c}function r(C){var c=C||{},s=c.title,x=c._title,T=c.key,J=c.children,q=s||"title";return{title:q,_title:x||[q],key:T||"key",children:J||"children"}}function o(C,c){var s=new Map;function x(T){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";(T||[]).forEach(function(q){var G=q[c.key],H=q[c.children];warning(G!=null,"Tree node must have a certain key: [".concat(J).concat(G,"]"));var $=String(G);warning(!s.has($)||G===null||G===void 0,"Same 'key' exist in the Tree: ".concat($)),s.set($,!0),x(H,"".concat(J).concat($," > "))})}x(C)}function l(C){function c(s){var x=(0,Z.Z)(s);return x.map(function(T){if(!v(T))return(0,u.ZP)(!T,"Tree/TreeNode can only accept TreeNode as children."),null;var J=T.key,q=T.props,G=q.children,H=(0,V.Z)(q,e),$=(0,D.Z)({key:J},H),p=c(G);return p.length&&($.children=p),$}).filter(function(T){return T})}return c(C)}function w(C,c,s){var x=r(s),T=x._title,J=x.key,q=x.children,G=new Set(c===!0?[]:c),H=[];function $(p){var z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return p.map(function(I,B){for(var P=h(z?z.pos:"0",B),i=n(I[J],P),a,_=0;_<T.length;_+=1){var F=T[_];if(I[F]!==void 0){a=I[F];break}}var te=(0,D.Z)((0,D.Z)({},(0,K.Z)(I,[].concat((0,m.Z)(T),[J,q]))),{},{title:a,key:i,parent:z,pos:P,children:null,data:I,isStart:[].concat((0,m.Z)(z?z.isStart:[]),[B===0]),isEnd:[].concat((0,m.Z)(z?z.isEnd:[]),[B===p.length-1])});return H.push(te),c===!0||G.has(i)?te.children=$(I[q]||[],te):te.children=[],te})}return $(C),H}function k(C,c,s){var x={};(0,b.Z)(s)==="object"?x=s:x={externalGetKey:s},x=x||{};var T=x,J=T.childrenPropName,q=T.externalGetKey,G=T.fieldNames,H=r(G),$=H.key,p=H.children,z=J||p,I;q?typeof q=="string"?I=function(i){return i[q]}:typeof q=="function"&&(I=function(i){return q(i)}):I=function(i,a){return n(i[$],a)};function B(P,i,a,_){var F=P?P[z]:C,te=P?h(a.pos,i):"0",ie=P?[].concat((0,m.Z)(_),[P]):[];if(P){var ae=I(P,te),he={node:P,index:i,pos:te,key:ae,parentPos:a.node?a.pos:null,level:a.level+1,nodes:ie};c(he)}F&&F.forEach(function(we,Ke){B(we,Ke,{node:P,pos:te,level:a?a.level+1:-1},ie)})}B(null)}function E(C){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=c.initWrapper,x=c.processEntity,T=c.onProcessFinished,J=c.externalGetKey,q=c.childrenPropName,G=c.fieldNames,H=arguments.length>2?arguments[2]:void 0,$=J||H,p={},z={},I={posEntities:p,keyEntities:z};return s&&(I=s(I)||I),k(C,function(B){var P=B.node,i=B.index,a=B.pos,_=B.key,F=B.parentPos,te=B.level,ie=B.nodes,ae={node:P,nodes:ie,index:i,key:_,pos:a,level:te},he=n(_,a);p[a]=ae,z[he]=ae,ae.parent=p[F],ae.parent&&(ae.parent.children=ae.parent.children||[],ae.parent.children.push(ae)),x&&x(ae,I)},{externalGetKey:$,childrenPropName:q,fieldNames:G}),T&&T(I),I}function g(C,c){var s=c.expandedKeys,x=c.selectedKeys,T=c.loadedKeys,J=c.loadingKeys,q=c.checkedKeys,G=c.halfCheckedKeys,H=c.dragOverNodeKey,$=c.dropPosition,p=c.keyEntities,z=(0,W.Z)(p,C),I={eventKey:C,expanded:s.indexOf(C)!==-1,selected:x.indexOf(C)!==-1,loaded:T.indexOf(C)!==-1,loading:J.indexOf(C)!==-1,checked:q.indexOf(C)!==-1,halfChecked:G.indexOf(C)!==-1,pos:String(z?z.pos:""),dragOver:H===C&&$===0,dragOverGapTop:H===C&&$===-1,dragOverGapBottom:H===C&&$===1};return I}function O(C){var c=C.data,s=C.expanded,x=C.selected,T=C.checked,J=C.loaded,q=C.loading,G=C.halfChecked,H=C.dragOver,$=C.dragOverGapTop,p=C.dragOverGapBottom,z=C.pos,I=C.active,B=C.eventKey,P=(0,D.Z)((0,D.Z)({},c),{},{expanded:s,selected:x,checked:T,loaded:J,loading:q,halfChecked:G,dragOver:H,dragOverGapTop:$,dragOverGapBottom:p,pos:z,active:I,key:B});return"props"in P||Object.defineProperty(P,"props",{get:function(){return(0,u.ZP)(!1,"Second param return from event is node data instead of TreeNode instance. Please read value directly instead of reading from `props`."),C}}),P}},8224:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return m}});var b=t(4676);function m(D,V,Z,K){var u=b.unstable_batchedUpdates?function(e){b.unstable_batchedUpdates(Z,e)}:Z;return D!=null&&D.addEventListener&&D.addEventListener(V,u,K),{remove:function(){D!=null&&D.removeEventListener&&D.removeEventListener(V,u,K)}}}},55468:function(We,fe,t){"use strict";t.d(fe,{g1:function(){return v},os:function(){return r}});var b=/margin|padding|width|height|max|min|offset/,m={left:!0,top:!0},D={cssFloat:1,styleFloat:1,float:1};function V(o){return o.nodeType===1?o.ownerDocument.defaultView.getComputedStyle(o,null):{}}function Z(o,l,w){if(l=l.toLowerCase(),w==="auto"){if(l==="height")return o.offsetHeight;if(l==="width")return o.offsetWidth}return l in m||(m[l]=b.test(l)),m[l]?parseFloat(w)||0:w}function K(o,l){var w=arguments.length,k=V(o);return l=D[l]?"cssFloat"in o.style?"cssFloat":"styleFloat":l,w===1?k:Z(o,l,k[l]||o.style[l])}function u(o,l,w){var k=arguments.length;if(l=D[l]?"cssFloat"in o.style?"cssFloat":"styleFloat":l,k===3)return typeof w=="number"&&b.test(l)&&(w="".concat(w,"px")),o.style[l]=w,w;for(var E in l)l.hasOwnProperty(E)&&u(o,E,l[E]);return V(o)}function W(o){return o===document.body?document.documentElement.clientWidth:o.offsetWidth}function e(o){return o===document.body?window.innerHeight||document.documentElement.clientHeight:o.offsetHeight}function h(){var o=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),l=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight);return{width:o,height:l}}function v(){var o=document.documentElement.clientWidth,l=window.innerHeight||document.documentElement.clientHeight;return{width:o,height:l}}function n(){return{scrollLeft:Math.max(document.documentElement.scrollLeft,document.body.scrollLeft),scrollTop:Math.max(document.documentElement.scrollTop,document.body.scrollTop)}}function r(o){var l=o.getBoundingClientRect(),w=document.documentElement;return{left:l.left+(window.pageXOffset||w.scrollLeft)-(w.clientLeft||document.body.clientLeft||0),top:l.top+(window.pageYOffset||w.scrollTop)-(w.clientTop||document.body.clientTop||0)}}},24514:function(We,fe,t){"use strict";t.d(fe,{G:function(){return V}});var b=t(47273),m=function(K){if((0,b.Z)()&&window.document.documentElement){var u=Array.isArray(K)?K:[K],W=window.document.documentElement;return u.some(function(e){return e in W.style})}return!1},D=function(K,u){if(!m(K))return!1;var W=document.createElement("div"),e=W.style[K];return W.style[K]=u,W.style[K]!==e};function V(Z,K){return!Array.isArray(Z)&&K!==void 0?D(Z,K):m(Z)}},49658:function(We,fe){"use strict";fe.Z=function(){if(typeof navigator=="undefined"||typeof window=="undefined")return!1;var t=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(t)||/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(t==null?void 0:t.substr(0,4))}},4409:function(We,fe,t){"use strict";t.d(fe,{Z:function(){return le}});var b=t(92413),m=t(39559),D=t(33708),V=t(400),Z=t(33606),K=t(37061),u=t(92310),W=t.n(u),e=t(29301),h=t(70425),v=t(34280),n=t(59301),r=t(4676),o=n.forwardRef(function(se,L){var U=se.height,M=se.offsetY,R=se.offsetX,ee=se.children,y=se.prefixCls,d=se.onInnerResize,f=se.innerProps,X=se.rtl,j=se.extra,A={},Q={display:"flex",flexDirection:"column"};return M!==void 0&&(A={height:U,position:"relative",overflow:"hidden"},Q=(0,D.Z)((0,D.Z)({},Q),{},(0,V.Z)((0,V.Z)((0,V.Z)((0,V.Z)((0,V.Z)({transform:"translateY(".concat(M,"px)")},X?"marginRight":"marginLeft",-R),"position","absolute"),"left",0),"right",0),"top",0))),n.createElement("div",{style:A},n.createElement(e.Z,{onResize:function(re){var oe=re.offsetHeight;oe&&d&&d()}},n.createElement("div",(0,b.Z)({style:Q,className:W()((0,V.Z)({},"".concat(y,"-holder-inner"),y)),ref:L},f),ee,j)))});o.displayName="Filler";var l=o;function w(se){var L=se.children,U=se.setRef,M=n.useCallback(function(R){U(R)},[]);return n.cloneElement(L,{ref:M})}function k(se,L,U,M,R,ee,y,d){var f=d.getKey;return se.slice(L,U+1).map(function(X,j){var A=L+j,Q=y(X,A,{style:{width:M},offsetX:R}),ce=f(X);return n.createElement(w,{key:ce,setRef:function(oe){return ee(X,oe)}},Q)})}function E(se,L,U,M){var R=U-se,ee=L-U,y=Math.min(R,ee)*2;if(M<=y){var d=Math.floor(M/2);return M%2?U+d+1:U-d}return R>ee?U-(M-ee):U+(M-R)}function g(se,L,U){var M=se.length,R=L.length,ee,y;if(M===0&&R===0)return null;M<R?(ee=se,y=L):(ee=L,y=se);var d={__EMPTY_ITEM__:!0};function f(re){return re!==void 0?U(re):d}for(var X=null,j=Math.abs(M-R)!==1,A=0;A<y.length;A+=1){var Q=f(ee[A]),ce=f(y[A]);if(Q!==ce){X=A,j=j||Q!==f(y[A+1]);break}}return X===null?null:{index:X,multiple:j}}function O(se,L,U){var M=n.useState(se),R=(0,Z.Z)(M,2),ee=R[0],y=R[1],d=n.useState(null),f=(0,Z.Z)(d,2),X=f[0],j=f[1];return n.useEffect(function(){var A=g(ee||[],se||[],L);(A==null?void 0:A.index)!==void 0&&(U==null||U(A.index),j(se[A.index])),y(se)},[se]),[X]}var C=t(16089),c=(typeof navigator=="undefined"?"undefined":(0,m.Z)(navigator))==="object"&&/Firefox/i.test(navigator.userAgent),s=c,x=function(se,L,U,M){var R=(0,n.useRef)(!1),ee=(0,n.useRef)(null);function y(){clearTimeout(ee.current),R.current=!0,ee.current=setTimeout(function(){R.current=!1},50)}var d=(0,n.useRef)({top:se,bottom:L,left:U,right:M});return d.current.top=se,d.current.bottom=L,d.current.left=U,d.current.right=M,function(f,X){var j=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,A=f?X<0&&d.current.left||X>0&&d.current.right:X<0&&d.current.top||X>0&&d.current.bottom;return j&&A?(clearTimeout(ee.current),R.current=!1):(!A||R.current)&&y(),!R.current&&A}};function T(se,L,U,M,R,ee,y){var d=(0,n.useRef)(0),f=(0,n.useRef)(null),X=(0,n.useRef)(null),j=(0,n.useRef)(!1),A=x(L,U,M,R);function Q(pe,Ze){if(C.Z.cancel(f.current),!A(!1,Ze)){var De=pe;if(!De._virtualHandled)De._virtualHandled=!0;else return;d.current+=Ze,X.current=Ze,s||De.preventDefault(),f.current=(0,C.Z)(function(){var Re=j.current?10:1;y(d.current*Re,!1),d.current=0})}}function ce(pe,Ze){y(Ze,!0),s||pe.preventDefault()}var re=(0,n.useRef)(null),oe=(0,n.useRef)(null);function ve(pe){if(se){C.Z.cancel(oe.current),oe.current=(0,C.Z)(function(){re.current=null},2);var Ze=pe.deltaX,De=pe.deltaY,Re=pe.shiftKey,Qe=Ze,Ue=De;(re.current==="sx"||!re.current&&Re&&De&&!Ze)&&(Qe=De,Ue=0,re.current="sx");var st=Math.abs(Qe),tt=Math.abs(Ue);re.current===null&&(re.current=ee&&st>tt?"x":"y"),re.current==="y"?Q(pe,Ue):ce(pe,Qe)}}function Ee(pe){se&&(j.current=pe.detail===X.current)}return[ve,Ee]}function J(se,L,U,M){var R=n.useMemo(function(){return[new Map,[]]},[se,U.id,M]),ee=(0,Z.Z)(R,2),y=ee[0],d=ee[1],f=function(j){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:j,Q=y.get(j),ce=y.get(A);if(Q===void 0||ce===void 0)for(var re=se.length,oe=d.length;oe<re;oe+=1){var ve,Ee=se[oe],pe=L(Ee);y.set(pe,oe);var Ze=(ve=U.get(pe))!==null&&ve!==void 0?ve:M;if(d[oe]=(d[oe-1]||0)+Ze,pe===j&&(Q=oe),pe===A&&(ce=oe),Q!==void 0&&ce!==void 0)break}return{top:d[Q-1]||0,bottom:d[ce]}};return f}var q=t(76846),G=t(6909),H=t(4771),$=function(){function se(){(0,G.Z)(this,se),(0,V.Z)(this,"maps",void 0),(0,V.Z)(this,"id",0),(0,V.Z)(this,"diffKeys",new Set),this.maps=Object.create(null)}return(0,H.Z)(se,[{key:"set",value:function(U,M){this.maps[U]=M,this.id+=1,this.diffKeys.add(U)}},{key:"get",value:function(U){return this.maps[U]}},{key:"resetRecord",value:function(){this.diffKeys.clear()}},{key:"getRecord",value:function(){return this.diffKeys}}]),se}(),p=$;function z(se){var L=parseFloat(se);return isNaN(L)?0:L}function I(se,L,U){var M=n.useState(0),R=(0,Z.Z)(M,2),ee=R[0],y=R[1],d=(0,n.useRef)(new Map),f=(0,n.useRef)(new p),X=(0,n.useRef)(0);function j(){X.current+=1}function A(){var ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;j();var re=function(){var Ee=!1;d.current.forEach(function(pe,Ze){if(pe&&pe.offsetParent){var De=(0,q.ZP)(pe),Re=De.offsetHeight,Qe=getComputedStyle(De),Ue=Qe.marginTop,st=Qe.marginBottom,tt=z(Ue),Dt=z(st),Ct=Re+tt+Dt;f.current.get(Ze)!==Ct&&(f.current.set(Ze,Ct),Ee=!0)}}),Ee&&y(function(pe){return pe+1})};if(ce)re();else{X.current+=1;var oe=X.current;Promise.resolve().then(function(){oe===X.current&&re()})}}function Q(ce,re){var oe=se(ce),ve=d.current.get(oe);re?(d.current.set(oe,re),A()):d.current.delete(oe),!ve!=!re&&(re?L==null||L(ce):U==null||U(ce))}return(0,n.useEffect)(function(){return j},[]),[Q,A,f.current,ee]}var B=14/15;function P(se,L,U){var M=(0,n.useRef)(!1),R=(0,n.useRef)(0),ee=(0,n.useRef)(0),y=(0,n.useRef)(null),d=(0,n.useRef)(null),f,X=function(ce){if(M.current){var re=Math.ceil(ce.touches[0].pageX),oe=Math.ceil(ce.touches[0].pageY),ve=R.current-re,Ee=ee.current-oe,pe=Math.abs(ve)>Math.abs(Ee);pe?R.current=re:ee.current=oe;var Ze=U(pe,pe?ve:Ee,!1,ce);Ze&&ce.preventDefault(),clearInterval(d.current),Ze&&(d.current=setInterval(function(){pe?ve*=B:Ee*=B;var De=Math.floor(pe?ve:Ee);(!U(pe,De,!0)||Math.abs(De)<=.1)&&clearInterval(d.current)},16))}},j=function(){M.current=!1,f()},A=function(ce){f(),ce.touches.length===1&&!M.current&&(M.current=!0,R.current=Math.ceil(ce.touches[0].pageX),ee.current=Math.ceil(ce.touches[0].pageY),y.current=ce.target,y.current.addEventListener("touchmove",X,{passive:!1}),y.current.addEventListener("touchend",j,{passive:!0}))};f=function(){y.current&&(y.current.removeEventListener("touchmove",X),y.current.removeEventListener("touchend",j))},(0,v.Z)(function(){return se&&L.current.addEventListener("touchstart",A,{passive:!0}),function(){var Q;(Q=L.current)===null||Q===void 0||Q.removeEventListener("touchstart",A),f(),clearInterval(d.current)}},[se])}function i(se){return Math.floor(Math.pow(se,.5))}function a(se,L){var U="touches"in se?se.touches[0]:se;return U[L?"pageX":"pageY"]-window[L?"scrollX":"scrollY"]}function _(se,L,U){n.useEffect(function(){var M=L.current;if(se&&M){var R=!1,ee,y,d=function(){C.Z.cancel(ee)},f=function Q(){d(),ee=(0,C.Z)(function(){U(y),Q()})},X=function(ce){if(!ce.target.draggable){var re=ce;re._virtualHandled||(re._virtualHandled=!0,R=!0)}},j=function(){R=!1,d()},A=function(ce){if(R){var re=a(ce,!1),oe=M.getBoundingClientRect(),ve=oe.top,Ee=oe.bottom;if(re<=ve){var pe=ve-re;y=-i(pe),f()}else if(re>=Ee){var Ze=re-Ee;y=i(Ze),f()}else d()}};return M.addEventListener("mousedown",X),M.ownerDocument.addEventListener("mouseup",j),M.ownerDocument.addEventListener("mousemove",A),function(){M.removeEventListener("mousedown",X),M.ownerDocument.removeEventListener("mouseup",j),M.ownerDocument.removeEventListener("mousemove",A),d()}}},[se])}var F=10;function te(se,L,U,M,R,ee,y,d){var f=n.useRef(),X=n.useState(null),j=(0,Z.Z)(X,2),A=j[0],Q=j[1];return(0,v.Z)(function(){if(A&&A.times<F){if(!se.current){Q(function(ht){return(0,D.Z)({},ht)});return}ee();var ce=A.targetAlign,re=A.originAlign,oe=A.index,ve=A.offset,Ee=se.current.clientHeight,pe=!1,Ze=ce,De=null;if(Ee){for(var Re=ce||re,Qe=0,Ue=0,st=0,tt=Math.min(L.length-1,oe),Dt=0;Dt<=tt;Dt+=1){var Ct=R(L[Dt]);Ue=Qe;var Mt=U.get(Ct);st=Ue+(Mt===void 0?M:Mt),Qe=st}for(var Pt=Re==="top"?ve:Ee-ve,rn=tt;rn>=0;rn-=1){var Tt=R(L[rn]),Je=U.get(Tt);if(Je===void 0){pe=!0;break}if(Pt-=Je,Pt<=0)break}switch(Re){case"top":De=Ue-ve;break;case"bottom":De=st-Ee+ve;break;default:{var $t=se.current.scrollTop,ut=$t+Ee;Ue<$t?Ze="top":st>ut&&(Ze="bottom")}}De!==null&&y(De),De!==A.lastTop&&(pe=!0)}pe&&Q((0,D.Z)((0,D.Z)({},A),{},{times:A.times+1,targetAlign:Ze,lastTop:De}))}},[A,se.current]),function(ce){if(ce==null){d();return}if(C.Z.cancel(f.current),typeof ce=="number")y(ce);else if(ce&&(0,m.Z)(ce)==="object"){var re,oe=ce.align;"index"in ce?re=ce.index:re=L.findIndex(function(pe){return R(pe)===ce.key});var ve=ce.offset,Ee=ve===void 0?0:ve;Q({times:0,index:re,offset:Ee,originAlign:oe})}}}var ie=n.forwardRef(function(se,L){var U=se.prefixCls,M=se.rtl,R=se.scrollOffset,ee=se.scrollRange,y=se.onStartMove,d=se.onStopMove,f=se.onScroll,X=se.horizontal,j=se.spinSize,A=se.containerSize,Q=se.style,ce=se.thumbStyle,re=se.showScrollBar,oe=n.useState(!1),ve=(0,Z.Z)(oe,2),Ee=ve[0],pe=ve[1],Ze=n.useState(null),De=(0,Z.Z)(Ze,2),Re=De[0],Qe=De[1],Ue=n.useState(null),st=(0,Z.Z)(Ue,2),tt=st[0],Dt=st[1],Ct=!M,Mt=n.useRef(),Pt=n.useRef(),rn=n.useState(re),Tt=(0,Z.Z)(rn,2),Je=Tt[0],$t=Tt[1],ut=n.useRef(),ht=function(){re===!0||re===!1||(clearTimeout(ut.current),$t(!0),ut.current=setTimeout(function(){$t(!1)},3e3))},Xt=ee-A||0,an=A-j||0,Dn=n.useMemo(function(){if(R===0||Xt===0)return 0;var zn=R/Xt;return zn*an},[R,Xt,an]),yn=function(An){An.stopPropagation(),An.preventDefault()},On=n.useRef({top:Dn,dragging:Ee,pageY:Re,startTop:tt});On.current={top:Dn,dragging:Ee,pageY:Re,startTop:tt};var Ln=function(An){pe(!0),Qe(a(An,X)),Dt(On.current.top),y(),An.stopPropagation(),An.preventDefault()};n.useEffect(function(){var zn=function(Ye){Ye.preventDefault()},An=Mt.current,ge=Pt.current;return An.addEventListener("touchstart",zn,{passive:!1}),ge.addEventListener("touchstart",Ln,{passive:!1}),function(){An.removeEventListener("touchstart",zn),ge.removeEventListener("touchstart",Ln)}},[]);var In=n.useRef();In.current=Xt;var Bn=n.useRef();Bn.current=an,n.useEffect(function(){if(Ee){var zn,An=function(Ye){var je=On.current,pt=je.dragging,nt=je.pageY,_t=je.startTop;C.Z.cancel(zn);var at=Mt.current.getBoundingClientRect(),Ot=A/(X?at.width:at.height);if(pt){var wt=(a(Ye,X)-nt)*Ot,Fe=_t;!Ct&&X?Fe-=wt:Fe+=wt;var Be=In.current,rt=Bn.current,it=rt?Fe/rt:0,lt=Math.ceil(it*Be);lt=Math.max(lt,0),lt=Math.min(lt,Be),zn=(0,C.Z)(function(){f(lt,X)})}},ge=function(){pe(!1),d()};return window.addEventListener("mousemove",An,{passive:!0}),window.addEventListener("touchmove",An,{passive:!0}),window.addEventListener("mouseup",ge,{passive:!0}),window.addEventListener("touchend",ge,{passive:!0}),function(){window.removeEventListener("mousemove",An),window.removeEventListener("touchmove",An),window.removeEventListener("mouseup",ge),window.removeEventListener("touchend",ge),C.Z.cancel(zn)}}},[Ee]),n.useEffect(function(){return ht(),function(){clearTimeout(ut.current)}},[R]),n.useImperativeHandle(L,function(){return{delayHidden:ht}});var zt="".concat(U,"-scrollbar"),Nt={position:"absolute",visibility:Je?null:"hidden"},cn={position:"absolute",background:"rgba(0, 0, 0, 0.5)",borderRadius:99,cursor:"pointer",userSelect:"none"};return X?(Nt.height=8,Nt.left=0,Nt.right=0,Nt.bottom=0,cn.height="100%",cn.width=j,Ct?cn.left=Dn:cn.right=Dn):(Nt.width=8,Nt.top=0,Nt.bottom=0,Ct?Nt.right=0:Nt.left=0,cn.width="100%",cn.height=j,cn.top=Dn),n.createElement("div",{ref:Mt,className:W()(zt,(0,V.Z)((0,V.Z)((0,V.Z)({},"".concat(zt,"-horizontal"),X),"".concat(zt,"-vertical"),!X),"".concat(zt,"-visible"),Je)),style:(0,D.Z)((0,D.Z)({},Nt),Q),onMouseDown:yn,onMouseMove:ht},n.createElement("div",{ref:Pt,className:W()("".concat(zt,"-thumb"),(0,V.Z)({},"".concat(zt,"-thumb-moving"),Ee)),style:(0,D.Z)((0,D.Z)({},cn),ce),onMouseDown:Ln}))}),ae=ie,he=20;function we(){var se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,U=se/L*se;return isNaN(U)&&(U=0),U=Math.max(U,he),Math.floor(U)}var Ke=["prefixCls","className","height","itemHeight","fullHeight","style","data","children","itemKey","virtual","direction","scrollWidth","component","onScroll","onVirtualScroll","onVisibleChange","innerProps","extraRender","styles","showScrollBar"],Ie=[],ke={overflowY:"auto",overflowAnchor:"none"};function Xe(se,L){var U=se.prefixCls,M=U===void 0?"rc-virtual-list":U,R=se.className,ee=se.height,y=se.itemHeight,d=se.fullHeight,f=d===void 0?!0:d,X=se.style,j=se.data,A=se.children,Q=se.itemKey,ce=se.virtual,re=se.direction,oe=se.scrollWidth,ve=se.component,Ee=ve===void 0?"div":ve,pe=se.onScroll,Ze=se.onVirtualScroll,De=se.onVisibleChange,Re=se.innerProps,Qe=se.extraRender,Ue=se.styles,st=se.showScrollBar,tt=st===void 0?"optional":st,Dt=(0,K.Z)(se,Ke),Ct=n.useCallback(function(ft){return typeof Q=="function"?Q(ft):ft==null?void 0:ft[Q]},[Q]),Mt=I(Ct,null,null),Pt=(0,Z.Z)(Mt,4),rn=Pt[0],Tt=Pt[1],Je=Pt[2],$t=Pt[3],ut=!!(ce!==!1&&ee&&y),ht=n.useMemo(function(){return Object.values(Je.maps).reduce(function(ft,Et){return ft+Et},0)},[Je.id,Je.maps]),Xt=ut&&j&&(Math.max(y*j.length,ht)>ee||!!oe),an=re==="rtl",Dn=W()(M,(0,V.Z)({},"".concat(M,"-rtl"),an),R),yn=j||Ie,On=(0,n.useRef)(),Ln=(0,n.useRef)(),In=(0,n.useRef)(),Bn=(0,n.useState)(0),zt=(0,Z.Z)(Bn,2),Nt=zt[0],cn=zt[1],zn=(0,n.useState)(0),An=(0,Z.Z)(zn,2),ge=An[0],me=An[1],Ye=(0,n.useState)(!1),je=(0,Z.Z)(Ye,2),pt=je[0],nt=je[1],_t=function(){nt(!0)},at=function(){nt(!1)},Ot={getKey:Ct};function wt(ft){cn(function(Et){var Gt;typeof ft=="function"?Gt=ft(Et):Gt=ft;var Zn=dn(Gt);return On.current.scrollTop=Zn,Zn})}var Fe=(0,n.useRef)({start:0,end:yn.length}),Be=(0,n.useRef)(),rt=O(yn,Ct),it=(0,Z.Z)(rt,1),lt=it[0];Be.current=lt;var on=n.useMemo(function(){if(!ut)return{scrollHeight:void 0,start:0,end:yn.length-1,offset:void 0};if(!Xt){var ft;return{scrollHeight:((ft=Ln.current)===null||ft===void 0?void 0:ft.offsetHeight)||0,start:0,end:yn.length-1,offset:void 0}}for(var Et=0,Gt,Zn,tr,gr=yn.length,er=0;er<gr;er+=1){var mr=yn[er],_r=Ct(mr),Sr=Je.get(_r),yr=Et+(Sr===void 0?y:Sr);yr>=Nt&&Gt===void 0&&(Gt=er,Zn=Et),yr>Nt+ee&&tr===void 0&&(tr=er),Et=yr}return Gt===void 0&&(Gt=0,Zn=0,tr=Math.ceil(ee/y)),tr===void 0&&(tr=yn.length-1),tr=Math.min(tr+1,yn.length-1),{scrollHeight:Et,start:Gt,end:tr,offset:Zn}},[Xt,ut,Nt,yn,$t,ee]),gn=on.scrollHeight,Zt=on.start,qe=on.end,_e=on.offset;Fe.current.start=Zt,Fe.current.end=qe,n.useLayoutEffect(function(){var ft=Je.getRecord();if(ft.size===1){var Et=Array.from(ft)[0],Gt=Ct(yn[Zt]);if(Gt===Et){var Zn=Je.get(Et),tr=Zn-y;wt(function(gr){return gr+tr})}}Je.resetRecord()},[gn]);var Se=n.useState({width:0,height:ee}),Ne=(0,Z.Z)(Se,2),$e=Ne[0],Me=Ne[1],ze=function(Et){Me({width:Et.offsetWidth,height:Et.offsetHeight})},Ae=(0,n.useRef)(),et=(0,n.useRef)(),yt=n.useMemo(function(){return we($e.width,oe)},[$e.width,oe]),mt=n.useMemo(function(){return we($e.height,gn)},[$e.height,gn]),Ht=gn-ee,Kt=(0,n.useRef)(Ht);Kt.current=Ht;function dn(ft){var Et=ft;return Number.isNaN(Kt.current)||(Et=Math.min(Et,Kt.current)),Et=Math.max(Et,0),Et}var bt=Nt<=0,ot=Nt>=Ht,Yt=ge<=0,Wt=ge>=oe,jn=x(bt,ot,Yt,Wt),wn=function(){return{x:an?-ge:ge,y:Nt}},mn=(0,n.useRef)(wn()),Sn=(0,h.useEvent)(function(ft){if(Ze){var Et=(0,D.Z)((0,D.Z)({},wn()),ft);(mn.current.x!==Et.x||mn.current.y!==Et.y)&&(Ze(Et),mn.current=Et)}});function Vt(ft,Et){var Gt=ft;Et?((0,r.flushSync)(function(){me(Gt)}),Sn()):wt(Gt)}function kn(ft){var Et=ft.currentTarget.scrollTop;Et!==Nt&&wt(Et),pe==null||pe(ft),Sn()}var ar=function(Et){var Gt=Et,Zn=oe?oe-$e.width:0;return Gt=Math.max(Gt,0),Gt=Math.min(Gt,Zn),Gt},At=(0,h.useEvent)(function(ft,Et){Et?((0,r.flushSync)(function(){me(function(Gt){var Zn=Gt+(an?-ft:ft);return ar(Zn)})}),Sn()):wt(function(Gt){var Zn=Gt+ft;return Zn})}),Ut=T(ut,bt,ot,Yt,Wt,!!oe,At),Jt=(0,Z.Z)(Ut,2),Cn=Jt[0],_n=Jt[1];P(ut,On,function(ft,Et,Gt,Zn){var tr=Zn;return jn(ft,Et,Gt)?!1:!tr||!tr._virtualHandled?(tr&&(tr._virtualHandled=!0),Cn({preventDefault:function(){},deltaX:ft?Et:0,deltaY:ft?0:Et}),!0):!1}),_(Xt,On,function(ft){wt(function(Et){return Et+ft})}),(0,v.Z)(function(){function ft(Gt){var Zn=bt&&Gt.detail<0,tr=ot&&Gt.detail>0;ut&&!Zn&&!tr&&Gt.preventDefault()}var Et=On.current;return Et.addEventListener("wheel",Cn,{passive:!1}),Et.addEventListener("DOMMouseScroll",_n,{passive:!0}),Et.addEventListener("MozMousePixelScroll",ft,{passive:!1}),function(){Et.removeEventListener("wheel",Cn),Et.removeEventListener("DOMMouseScroll",_n),Et.removeEventListener("MozMousePixelScroll",ft)}},[ut,bt,ot]),(0,v.Z)(function(){if(oe){var ft=ar(ge);me(ft),Sn({x:ft})}},[$e.width,oe]);var En=function(){var Et,Gt;(Et=Ae.current)===null||Et===void 0||Et.delayHidden(),(Gt=et.current)===null||Gt===void 0||Gt.delayHidden()},hn=te(On,yn,Je,y,Ct,function(){return Tt(!0)},wt,En);n.useImperativeHandle(L,function(){return{nativeElement:In.current,getScrollInfo:wn,scrollTo:function(Et){function Gt(Zn){return Zn&&(0,m.Z)(Zn)==="object"&&("left"in Zn||"top"in Zn)}Gt(Et)?(Et.left!==void 0&&me(ar(Et.left)),hn(Et.top)):hn(Et)}}}),(0,v.Z)(function(){if(De){var ft=yn.slice(Zt,qe+1);De(ft,yn)}},[Zt,qe,yn]);var Kn=J(yn,Ct,Je,y),lr=Qe==null?void 0:Qe({start:Zt,end:qe,virtual:Xt,offsetX:ge,offsetY:_e,rtl:an,getSize:Kn}),Gn=k(yn,Zt,qe,oe,ge,rn,A,Ot),Xn=null;ee&&(Xn=(0,D.Z)((0,V.Z)({},f?"height":"maxHeight",ee),ke),ut&&(Xn.overflowY="hidden",oe&&(Xn.overflowX="hidden"),pt&&(Xn.pointerEvents="none")));var cr={};return an&&(cr.dir="rtl"),n.createElement("div",(0,b.Z)({ref:In,style:(0,D.Z)((0,D.Z)({},X),{},{position:"relative"}),className:Dn},cr,Dt),n.createElement(e.Z,{onResize:ze},n.createElement(Ee,{className:"".concat(M,"-holder"),style:Xn,ref:On,onScroll:kn,onMouseEnter:En},n.createElement(l,{prefixCls:M,height:gn,offsetX:ge,offsetY:_e,scrollWidth:oe,onInnerResize:Tt,ref:Ln,innerProps:Re,rtl:an,extra:lr},Gn))),Xt&&gn>ee&&n.createElement(ae,{ref:Ae,prefixCls:M,scrollOffset:Nt,scrollRange:gn,rtl:an,onScroll:Vt,onStartMove:_t,onStopMove:at,spinSize:mt,containerSize:$e.height,style:Ue==null?void 0:Ue.verticalScrollBar,thumbStyle:Ue==null?void 0:Ue.verticalScrollBarThumb,showScrollBar:tt}),Xt&&oe>$e.width&&n.createElement(ae,{ref:et,prefixCls:M,scrollOffset:ge,scrollRange:oe,rtl:an,onScroll:Vt,onStartMove:_t,onStopMove:at,spinSize:yt,containerSize:$e.width,horizontal:!0,style:Ue==null?void 0:Ue.horizontalScrollBar,thumbStyle:Ue==null?void 0:Ue.horizontalScrollBarThumb,showScrollBar:tt}))}var Oe=n.forwardRef(Xe);Oe.displayName="List";var Ce=Oe,le=Ce},83145:function(We,fe,t){"use strict";Object.defineProperty(fe,"__esModule",{value:!0}),fe.CopyToClipboard=void 0;var b=D(t(59301)),m=D(t(25769));function D(g){return g&&g.__esModule?g:{default:g}}function V(g){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?V=function(C){return typeof C}:V=function(C){return C&&typeof Symbol=="function"&&C.constructor===Symbol&&C!==Symbol.prototype?"symbol":typeof C},V(g)}function Z(g,O){var C=Object.keys(g);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(g);O&&(c=c.filter(function(s){return Object.getOwnPropertyDescriptor(g,s).enumerable})),C.push.apply(C,c)}return C}function K(g){for(var O=1;O<arguments.length;O++){var C=arguments[O]!=null?arguments[O]:{};O%2?Z(C,!0).forEach(function(c){k(g,c,C[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(g,Object.getOwnPropertyDescriptors(C)):Z(C).forEach(function(c){Object.defineProperty(g,c,Object.getOwnPropertyDescriptor(C,c))})}return g}function u(g,O){if(g==null)return{};var C=W(g,O),c,s;if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(g);for(s=0;s<x.length;s++)c=x[s],!(O.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(g,c)&&(C[c]=g[c])}return C}function W(g,O){if(g==null)return{};var C={},c=Object.keys(g),s,x;for(x=0;x<c.length;x++)s=c[x],!(O.indexOf(s)>=0)&&(C[s]=g[s]);return C}function e(g,O){if(!(g instanceof O))throw new TypeError("Cannot call a class as a function")}function h(g,O){for(var C=0;C<O.length;C++){var c=O[C];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(g,c.key,c)}}function v(g,O,C){return O&&h(g.prototype,O),C&&h(g,C),g}function n(g,O){return O&&(V(O)==="object"||typeof O=="function")?O:o(g)}function r(g){return r=Object.setPrototypeOf?Object.getPrototypeOf:function(C){return C.__proto__||Object.getPrototypeOf(C)},r(g)}function o(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function l(g,O){if(typeof O!="function"&&O!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(O&&O.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),O&&w(g,O)}function w(g,O){return w=Object.setPrototypeOf||function(c,s){return c.__proto__=s,c},w(g,O)}function k(g,O,C){return O in g?Object.defineProperty(g,O,{value:C,enumerable:!0,configurable:!0,writable:!0}):g[O]=C,g}var E=function(g){l(O,g);function O(){var C,c;e(this,O);for(var s=arguments.length,x=new Array(s),T=0;T<s;T++)x[T]=arguments[T];return c=n(this,(C=r(O)).call.apply(C,[this].concat(x))),k(o(c),"onClick",function(J){var q=c.props,G=q.text,H=q.onCopy,$=q.children,p=q.options,z=b.default.Children.only($),I=(0,m.default)(G,p);H&&H(G,I),z&&z.props&&typeof z.props.onClick=="function"&&z.props.onClick(J)}),c}return v(O,[{key:"render",value:function(){var c=this.props,s=c.text,x=c.onCopy,T=c.options,J=c.children,q=u(c,["text","onCopy","options","children"]),G=b.default.Children.only(J);return b.default.cloneElement(G,K({},q,{onClick:this.onClick}))}}]),O}(b.default.PureComponent);fe.CopyToClipboard=E,k(E,"defaultProps",{onCopy:void 0,options:void 0})},56102:function(We,fe,t){"use strict";var b=t(83145),m=b.CopyToClipboard;m.CopyToClipboard=m,We.exports=m},76374:function(We,fe,t){"use strict";var b=function(){if(typeof Map!="undefined")return Map;function $(p,z){var I=-1;return p.some(function(B,P){return B[0]===z?(I=P,!0):!1}),I}return function(){function p(){this.__entries__=[]}return Object.defineProperty(p.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),p.prototype.get=function(z){var I=$(this.__entries__,z),B=this.__entries__[I];return B&&B[1]},p.prototype.set=function(z,I){var B=$(this.__entries__,z);~B?this.__entries__[B][1]=I:this.__entries__.push([z,I])},p.prototype.delete=function(z){var I=this.__entries__,B=$(I,z);~B&&I.splice(B,1)},p.prototype.has=function(z){return!!~$(this.__entries__,z)},p.prototype.clear=function(){this.__entries__.splice(0)},p.prototype.forEach=function(z,I){I===void 0&&(I=null);for(var B=0,P=this.__entries__;B<P.length;B++){var i=P[B];z.call(I,i[1],i[0])}},p}()}(),m=typeof window!="undefined"&&typeof document!="undefined"&&window.document===document,D=function(){return typeof t.g!="undefined"&&t.g.Math===Math?t.g:typeof self!="undefined"&&self.Math===Math?self:typeof window!="undefined"&&window.Math===Math?window:Function("return this")()}(),V=function(){return typeof requestAnimationFrame=="function"?requestAnimationFrame.bind(D):function($){return setTimeout(function(){return $(Date.now())},1e3/60)}}(),Z=2;function K($,p){var z=!1,I=!1,B=0;function P(){z&&(z=!1,$()),I&&a()}function i(){V(P)}function a(){var _=Date.now();if(z){if(_-B<Z)return;I=!0}else z=!0,I=!1,setTimeout(i,p);B=_}return a}var u=20,W=["top","right","bottom","left","width","height","size","weight"],e=typeof MutationObserver!="undefined",h=function(){function $(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=K(this.refresh.bind(this),u)}return $.prototype.addObserver=function(p){~this.observers_.indexOf(p)||this.observers_.push(p),this.connected_||this.connect_()},$.prototype.removeObserver=function(p){var z=this.observers_,I=z.indexOf(p);~I&&z.splice(I,1),!z.length&&this.connected_&&this.disconnect_()},$.prototype.refresh=function(){var p=this.updateObservers_();p&&this.refresh()},$.prototype.updateObservers_=function(){var p=this.observers_.filter(function(z){return z.gatherActive(),z.hasActive()});return p.forEach(function(z){return z.broadcastActive()}),p.length>0},$.prototype.connect_=function(){!m||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),e?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},$.prototype.disconnect_=function(){!m||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},$.prototype.onTransitionEnd_=function(p){var z=p.propertyName,I=z===void 0?"":z,B=W.some(function(P){return!!~I.indexOf(P)});B&&this.refresh()},$.getInstance=function(){return this.instance_||(this.instance_=new $),this.instance_},$.instance_=null,$}(),v=function($,p){for(var z=0,I=Object.keys(p);z<I.length;z++){var B=I[z];Object.defineProperty($,B,{value:p[B],enumerable:!1,writable:!1,configurable:!0})}return $},n=function($){var p=$&&$.ownerDocument&&$.ownerDocument.defaultView;return p||D},r=s(0,0,0,0);function o($){return parseFloat($)||0}function l($){for(var p=[],z=1;z<arguments.length;z++)p[z-1]=arguments[z];return p.reduce(function(I,B){var P=$["border-"+B+"-width"];return I+o(P)},0)}function w($){for(var p=["top","right","bottom","left"],z={},I=0,B=p;I<B.length;I++){var P=B[I],i=$["padding-"+P];z[P]=o(i)}return z}function k($){var p=$.getBBox();return s(0,0,p.width,p.height)}function E($){var p=$.clientWidth,z=$.clientHeight;if(!p&&!z)return r;var I=n($).getComputedStyle($),B=w(I),P=B.left+B.right,i=B.top+B.bottom,a=o(I.width),_=o(I.height);if(I.boxSizing==="border-box"&&(Math.round(a+P)!==p&&(a-=l(I,"left","right")+P),Math.round(_+i)!==z&&(_-=l(I,"top","bottom")+i)),!O($)){var F=Math.round(a+P)-p,te=Math.round(_+i)-z;Math.abs(F)!==1&&(a-=F),Math.abs(te)!==1&&(_-=te)}return s(B.left,B.top,a,_)}var g=function(){return typeof SVGGraphicsElement!="undefined"?function($){return $ instanceof n($).SVGGraphicsElement}:function($){return $ instanceof n($).SVGElement&&typeof $.getBBox=="function"}}();function O($){return $===n($).document.documentElement}function C($){return m?g($)?k($):E($):r}function c($){var p=$.x,z=$.y,I=$.width,B=$.height,P=typeof DOMRectReadOnly!="undefined"?DOMRectReadOnly:Object,i=Object.create(P.prototype);return v(i,{x:p,y:z,width:I,height:B,top:z,right:p+I,bottom:B+z,left:p}),i}function s($,p,z,I){return{x:$,y:p,width:z,height:I}}var x=function(){function $(p){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=s(0,0,0,0),this.target=p}return $.prototype.isActive=function(){var p=C(this.target);return this.contentRect_=p,p.width!==this.broadcastWidth||p.height!==this.broadcastHeight},$.prototype.broadcastRect=function(){var p=this.contentRect_;return this.broadcastWidth=p.width,this.broadcastHeight=p.height,p},$}(),T=function(){function $(p,z){var I=c(z);v(this,{target:p,contentRect:I})}return $}(),J=function(){function $(p,z,I){if(this.activeObservations_=[],this.observations_=new b,typeof p!="function")throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=p,this.controller_=z,this.callbackCtx_=I}return $.prototype.observe=function(p){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(p instanceof n(p).Element))throw new TypeError('parameter 1 is not of type "Element".');var z=this.observations_;z.has(p)||(z.set(p,new x(p)),this.controller_.addObserver(this),this.controller_.refresh())}},$.prototype.unobserve=function(p){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element=="undefined"||!(Element instanceof Object))){if(!(p instanceof n(p).Element))throw new TypeError('parameter 1 is not of type "Element".');var z=this.observations_;z.has(p)&&(z.delete(p),z.size||this.controller_.removeObserver(this))}},$.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},$.prototype.gatherActive=function(){var p=this;this.clearActive(),this.observations_.forEach(function(z){z.isActive()&&p.activeObservations_.push(z)})},$.prototype.broadcastActive=function(){if(this.hasActive()){var p=this.callbackCtx_,z=this.activeObservations_.map(function(I){return new T(I.target,I.broadcastRect())});this.callback_.call(p,z,p),this.clearActive()}},$.prototype.clearActive=function(){this.activeObservations_.splice(0)},$.prototype.hasActive=function(){return this.activeObservations_.length>0},$}(),q=typeof WeakMap!="undefined"?new WeakMap:new b,G=function(){function $(p){if(!(this instanceof $))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var z=h.getInstance(),I=new J(p,z,this);q.set(this,I)}return $}();["observe","unobserve","disconnect"].forEach(function($){G.prototype[$]=function(){var p;return(p=q.get(this))[$].apply(p,arguments)}});var H=function(){return typeof D.ResizeObserver!="undefined"?D.ResizeObserver:G}();fe.Z=H},98040:function(We){We.exports=function(){var fe=document.getSelection();if(!fe.rangeCount)return function(){};for(var t=document.activeElement,b=[],m=0;m<fe.rangeCount;m++)b.push(fe.getRangeAt(m));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null;break}return fe.removeAllRanges(),function(){fe.type==="Caret"&&fe.removeAllRanges(),fe.rangeCount||b.forEach(function(D){fe.addRange(D)}),t&&t.focus()}}},93314:function(We){"use strict";We.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAACaCAYAAADl9acYAAAAAXNSR0IArs4c6QAAIABJREFUeF7tXQd4U1Ubfs/NaJtO9kzLahFQEJkiUBBFUFFkCCjiAAVFERT5FREQQQXBBcpysWRP2RtkKRsEOphNodCZdDfjnv85CU2TZt2bhABNDw9PmtzvrO+c957xLQIP0pkz1yrQIEmwwcDzHhTj91klEo7jpcG5zetWUJdmRjmPvTM9GI9JgSGvadOoLE9KJJ5kPp2YXLtZdO1kT8ooz2vigCNelvPYezPEG7z0CDAn4pJqPvJA5A3vdcl/S3LEy3Iee29OeIOX5YDx3nh4VFI5YDxin6DM5YARxKb7g6gcMHd+nMoBc+d57LKGhCQ1ZURBCoVL2nKCO8sBZWW50x1TOWDuLP8FlV4OGEFs8glROWB8wmbPKikHjGf882bucsB4k5t3qKxywNwhxrpRbJkGTOx0ehlA3d9e5VEtzA3ulGe55zmg1QOfrCVo34BgQGvr5rLDRl4RRZG+5NjBESBc4FHw1LlrCAuPsCo0JjKi7J5hYqfTXADBq4byCJLf82Nf3kA3OfD9LgKdgeCzZ4CUTJ1VKQFyKQgpmeMSjiKvQC+oplspN/wOMDcBVFv0Bo+KwYJ4VE50H3Jg7j6CWzkEX74A3MrSgTfeKZpSaBCHcAVn/JunBHlFPDR5BkG9LMjPt7mZLOtbskQADea9wqOW9coqiGHlRPcHBxYcJriQQvB9P+v2cqCwWFxgoOJk6JeTNX4HmJMAHv6xP4/6VXw/+OxNx/bM/pIohdUE9VW/VxwjOHiJYO5A6xolpGSpYW3jIW4w/A8wM+h+UHSY2pvHgzV9NXymeor0wPc7Cf7XzWJ/4Nsm+Ly2LzZx+OwZ3yuVbzhNsPEMwcI3rM8wMikHiURi5gNbbQoKrc84zpjkj2eYzQC6f96DomUd305ctrp8tp5gSk/f1utzlFhUOHYthy9f8D1gdpwnWHiEYOVQ6zNM6QM/AY+CImHnF9YtfwTMCgB9P+5G0SHa9xP3bk2gT9cBU3r6Hjp95nBYNcz3gDlwkRhX843vlfS59PmFHfjFzgC/2pJ1nEEnEIpIAG+834Wia2Ox7PJ8wt0twLz7J8Gsl3zf316zCVYPsz5oe85F1yUcu0YwcQPBjlElZyjL8wsrQeyBn+XxK8DETqefgyACFCPe6kjxfDPfT6C7BpilBLMG+L6/A34h+P1VikCZ60nuTYpzN4AxqznjCqPOMZ1RSp9f2OVLYZH1lbOrNvjVlswIGEAKYOyrj1K82NL3E+huAWbEMnbFSn1+Qzd4AcE3fajPZV6X04D3lnHGM4xOawKFJwLLYiD5H2AoCkHwJQMLA42v090CzJjVBBN7UCh8rN3AgDrqCYq6lX3L6RQ1MGQRhwWvA7UrALbnFzCJjOhG+d2WjFCkUYKZPZpSDIv1PWDGrycY34NCahI0+yxN/Ivg3c4UlUN8VqWxok/XEfRrSdG0tm/rzcoHBv7KYc5AILqqLWDcOb/45RmGEFyhFL8/0Yga33y+Tl9uJhjxOEVIoG9rnrqVKSJSRFb0fb3tG1A81sC39TLRSu85HL57Eaii0Bm3oqEKqZXSJaUURUxTU0Tyuy0ZAc5SYCUbxE+6+x4w3+0kGNiWooqP3/Qz9xB0bUTRsLqI2eEFUlbvA9WBJxv5ltdMit9jFocpLwB1InQIkBEQTmLUHStOBoMBOr24K2+/AwwPHOKArS2iKCY9VzKIg34jyMgTv6f1wpwqL8JLHKgUTLHwjZIxZTKg0V2Bzg2tLzvYBYA75xe/25J1mkEnGAzYyXE40KQmMK23uLeLN8b1j0ME7epTxFTzRmnCy/jzXyCqIny+NVryDzFeKfd+xLcrDOMMO8MMfgx45iFrOZA7AstiTvvVoZ91usM3tClHcLpeZWDmAN8DZtlRgkY1KJr5+BC87hQQLAeebCwcZN6gXH6MgG2P+rfyDmD+WLoV8xZugkIRiNh2TTHghcfRoF4tFBZpkXgpGQ81rmdu9puLOLzwMPBYPR1Cgzw/v7CC/WpLxjrc/jtaT2LApRrhwC+DfA+Y9aeI0dKzbT3vTCChk3r7eaBABzzfTGgO79CtPUmM9b7U2jv9bf3kOyjSlihLcoSg93MdkZ2Th227j2Hoq8/inTeeNzZ+xFIOsTHAsw/pAeL5+cUvAdPuG1pVRnArQgEsGex7wGw7RxAgBTo19M4EEjqtD1wEkrPYm15oDu/QbfkPSM0hHsu8du0/gSnfLkFGVrbThjFLynULJ6FOZHUw2RNbyd/qUJLFHZV+ywr9aksWO4Ou0BK8KueRz/bVq++CUuD+RGbhB3R/0LeAOZEEnFIRvPGYb+vdGw+cvU7w3uOe1dv+mfeRk5svCMUfvz8AA3o9jgkbCJQVgPe7lGTz5MDvj4f+VXs/JH1ip1PmAkHy17u8z42bjl4lxjf9C809m0CCZo4FUVwKsDPOJLz0ZTp6Fdh6jtnWe1bvuCm/4q/tRwQ1/b03e2LIwGfw1RaCkADg425AOvPkYCHZd0cG43dbsk4zaDFgWHiHcG85wjBQoEhnMhAzf5r/Jihkf9/+fjXDtDXqGA108+Eqcy0DYAfwMU95NnEFzVgLovibwK8HCab19qze61s24Pf5K7A5KwB5vHM1CblMij9m/Q87rtc1jsek54CMPIBayGD0BgP0ImUw/gwYFiqjllhHGAcvAkuPcijU8cgv0KGgSGv8LNJqweu1MOh14A3ss+S78W+Dzuo3RsPoTy0YgIjQALFz0C36tBzg570EE3p4NnHFVn5TA0zaSPDzy57Vu2bIS6jF67BDHYBHgnVI0kow+6ZjLyZNm9RD+35jkZINfNO7ZIVhEn+e16NQ6157/OqWjJ1h9n1IXoydTi8AeGD+KzxqinCEsfkswfBJC2HQacXOG7v0B+e9CGXVUK+U5aoQdm5iE3eqh296R/XoDEBu0e3/hcz3FzF+Z292trI91Zgav7N2tKrDrrfFTdgTI4dAl61BipZDDXYINRCMvBrusNvBikAMHT8LTM3/pwElK4xMAuQV6uBuKK4yA5hEVfY8SvmmHCETGyjDtzqbQLHf0KMgaCnWEcaW/whGT1mAHHZP6oW09bueaFy3khdKcl0EO+y+v4xgphs2MWxbs+K46bLCDIoi6+9iVLKY4PbTp8UB5t8h/UB53qimz1aJA9lyLExz7H1vyMCnUa15L/x9EfhtkIk/nh74y9ShPz5JnUGA26qFZIdcTofWqR5xxd5Uip1O9wDoJNYRxs4LBB9PXYxUdaHrGSqAYuWUp9GmSQ0BlN4h8cTq8qVfOGgKStpBeAoJb4DEYPrPsU89b/5e/LvEYPubLCIQX06NEtWpfwa/yA4h0FEgqVCK71OCUeTARdLLfbpg9PAXsfGsBBtOA0uHmKpyV0PZsqFl5lo5QaXWgRqNw4pTHiEYGa2M+KX0yMROpxsA9BDrCGNvAsG4GcuQdMt45eJx+nXsk3iyNbOY9k161wOry8/GqZCr1t4GBA/O3T0Nm7gSDl/89IBRHiU0nRk3CgU3knEmT4pZN51rrjI5TN2oGmCOMP44BKx7B8jINemP8ZRCK2Y5LNXAMrMlS0hSpwKw9TRGME+XHf5ekybEfPCInU7/BDBArCOMw5cIPvt+JRJUGqHj7JRu2rsd0P+JGBuanELTTVpwwO3/cnjFxNcTwMz95hquxud5pd+skIEfR6NJA+F2y6o1S3Fj4xpj/X9lBmK7OsDuChMUKMf+v36AXC4Fc4QxYwew/X0gM8/k5VKvN0BvcF9gfc8CJuGWuh4twgoQnJSBzK+nDP+3eLTsBahJSNL8DdD29kaUAFsDSU4vpVJp3FTETqdzAbwl1hHGySSCCTPX41RimlcmzthBrTCsV1Obss5cJ2hWXQupTIoiHUW+1nRYZkcn5kRbTzlIOQq5hBmimfRu2RwoeU4gl5rAFiI3Odpmb/NRK0zXu+zgKzZtWZWK/VvTxWZzSP/EK5HoEivcxsFQWIBzk8caVxmWmMT+g6thNlfMg/p1xYfv9DXSMEcYEzYAu247wnBXQ9myE/fslixRpf6FUgw2N5bgDChmk6Lw33MMqkqlg8JeVKmn8hRjHI0QIdgbiJynGWhiZ9AZoPhgaEeK50Q4wmDCvwmzt+HwGe8EcH67V1N8MshWV4UBpnlNLQID3Lcn5nkKrZ6iUEex4azEqC08di0BW1XDgsTP+2NHsrH6F+/0m9Xetns1PN9b3IWHPi8XyetXIOPoEeg1WbhYKMGK9CCoiiSoWq0SnuvWzqhLVuyoz+wI411mmi3epZI9Lt2zgElIUht9INtpdDJPMUsSGf59NCFFxc8TknI6AoZ9LqbCmj+V4X33zMAEAOMHtaXoJ0KLVpUJjJuzD3v+vSh+xtnJ0ffxaMwY0dHuCtO8pg6BAcK3LI4axCTai/4hRsBM3kww5DGK6o5vYx32S52pw9QxbEi8k6o2DMeoj2q5VVhqNnB29JsI0TP5M6Dj5Gg7dwmkpVZOsyOMtyg4joDyBhRq3d+Osbru3S2ZSp0LCmf+9ZM5CUY3qBWx3LREUy5RpbkKQOl0FAimvrksPAME08Q6wmD74DGz/8H2A/+5NdClM8U2r4VFE7rZBcwjtXQIkHsOGLbSLP7XBJhvdxD0fJiinhs+pVk5n41IBM/UFryQSHggvpxRooovpsgdFwjoD8MQri3ZIso/XYzm9a2FwDfUAFPxX/AaRYSCeCR/KW7fvQuYJE0RQF3vSQh2UQn3bsOaYXEJSZrPADrJBfP5BceCVx+4LO0r1hGG3gC8//Np/LXrmJjxdUhbv1YE9vzU22eAmbOPBRmieNCNFzvP8/jhaxVSL3vn4M9zBJN/bgSZgJsyplZ0KQ24oSZgq8vmE4V4+9hrkNIS8O5uPhbNOz+CprWpWRhd7Ahj9svMYM871rT38pbM/q2XvelHoeU4bpxBgt+Jjr8MAqfi80NXZEW/H1UEuOMIY/zCRPyxZr9XABMSJMP5pbelahYlsjNMi1p6402Pp8lyhWEhIBpVp2hdV1yp6nwgPAhYvzQF/+zOEpfZCfXgz6LRIMrxKsq0B5YcKsL6UxRFvBygelBdLjhZGMCx/RfTKWMCUGZzbAClvJEmtiGH97oEGLdhzBHGjL4UDyvLOmBUmn9AaamAay7GimAXgdErzG1RlX36k9el+PlgsPFtK9YRxtwtNzBl7havTZoLywYhuJRbSCNgauvBlAg9TQYDjyVHOeOWbOVxoEoo0Mn2JttpNZvOcmhfn0KTXoTr8TlITSnCrRSt8TMvV7gj79KVPDskCo+1tb/rZkLScavzcTlTARBrZUu+MB1coHNHZ8rQXEzvH4T+8yWY9DzQrj6QptFDzzRlPUj37JbM5pZMeCfZK5CNgsPt3PlbEny3LwSlHWEIqWLzcTWGfbFaCKkgml0zeyNaaa3QdqcAs+msSa2k+4OCmmYm2nyWQ98W9idabo4eqSla3EopMn6m3mRgKkJ6KlM6dV5Plz418ES3CjZE7Ar9w2X5UGXbv3bmC1NBAiqBEOf34zFhKlzLq40PuxK0i8qFutBzRdd7FjDx1zSDCKELxA2tmZoyyztqqc9tUdDlDAm+2hUCdxxhHIwrwOAJy5EvIkSCsz78Nq4rnmhpfU/BANOytgEydwQmpSpjQro/b68we+JNArzej4jjKouz0q+luDwGAzWCxnI1Kr0qPfpEZTzXv6pVwUzf6+MVBTiX6vi+hxoKQfUF4AJswWZZGF+UCUN2IsYMaINnbcVd4jp0m/qePcNcvJlTldcaUm5vVN3qnKNM1zUcJm4LhTuOMP65qMWYGWtxJcU76jGT3nwUrz1j7ZnCCBilAbLS96RucIFJtv88ZpLD/HMZSEgFXmkrrqANp2yjEYsroYRar6f44I3zxh9qNwnH8FHWNxBLj2ix6F85SKltmGV9lBrAF6RConCuh8fotCn7MSC2Fob3ELkPddDBexYwrL2JSZqtFPQpdwfHUT7mf+zjTWFwxxHG8St6zPhtCw6cZXcSnqdhLzTF2FethZcMMK2UBki9DBgmbz18mYAJbMUk5shiYBsxORzT5ucZ8PHbcUaC4OpBGDe55AbiShqP9/40gHLOt058UZbxXMPJnQuUKK+DLi8DEs0R/PJBLIIVwjULHPXgnt2SsQbHq7JeIJSYFIi8mNgeeeT6cFRQAItFOsL4L5li0do9WLrLriK06FZ2e7QO5v3PwugcgDcBo9MbsPT2CnMxFcYwdiNFuMhlKjcs/J23AMMEoONHJhj5JA2T44tvS2TTo5cX4kKqY5X9YuYacq9CEhzlMngmr8uGQasFLUpDPcUV/DCiKwrcNBwrrvueBsyKFVTSvG32aQraRPRMdJKBWaa+vSrcqNAo1hEGsyD8Y/1R/LzmjFea1EBZAbtn9rIqywiYSB5Siecey3U6A5YeN23JmCCPORIcK8IWhV0ps1Wpj8hzjyPmsDPN5P+ZNCWInMOXPz9g/PtgohZfbpEZ3SE5TxSGXBUkIa61vPnCDLCzFEuGrOMY1q02Xunq2VS6p7dkrKOJ17N7UAPP1PG9moatCoOBJ9go0hEGe+P+vC4e3yw84JX2VAoLxMmFL9sApnUkD4kXAKPV6bHsuNQIGDb5p28nmCwixmZSJnA5jeCZh1x3NzfpKi7M/xlFGRmo0qoNqnfohPAG1mcH1dUCfDP+sqkwjuCreY2Mf478swiJGa6V3Az518EFVgHhXMu0DYUZ4G8Dhuqy0Sg0EfM+8myHf88DhjEzIUmzAaA9XA+ZcIqR60KRp+XgjiOM3Sdu4s0vtyAkSIrgQCmCg6QIYZ+BMuPf7Dfzs9vP2bPi34ICZTh2szJ6NM41HuyrV7f2G8tWmNZRPCSc5yuMJWCYGcjHawm+7Sv8DPPfdSBfS9C5oWveHhg+GFqNyfRBEhgIeWgY2kz7AZysRDh5KT4fP0y5vZ0lwBdzGoO9FwbOK4S6KMDpCkP1eaD6fCNghCSDNhe8zmTsVznrMD59XIGa7Wx194SUVUxzT2/JihuZmJJThWoNZ0HgNY/EH28MRUY+B7GOMFibcrJzkJuXB3Z1zXHc7U9ivNlh0mX2aXpm/7ekLA57E6R44zHm5slWAs0A0ybKpDDoaWLhHJafMK0wLIm1ujx0iYD56WgrQO3ryuplSN6xzajkqM83+RCr1aUrol95A5zUJIT971QO5n2bZPybXYRNntsYvx4guLJrL1qkbsD2moOQHP6wlUskRkt5PfiCm5AEC/exa9DmgNcVoVL2KQy59RsqhAQg6tPvwAU5U1F0zvH7AjCsC4mqnE6UGpitvsfSJ0IIHb8lmNzIlkCsIwxPJzDLf10NrDtJMNyBjzDvAkaH5SdkbgOGOf5oVAN4sKawnl+YOwspf+81EzPIh9VvgCbvfoDAKlVx9JAai+ZcNz4PVBBE9W+M07uPo9/laeBgknSeC22ObbVeQ06QCRzselivuQhZBNveCX+JGAoyEZEThyE3fkIYNa00yh69UPdF6y2wsJ6ZqO6LLZl5pUlW9wHFMkrh6mTokgdf7QzG5UwpxDrCcFmwAAImPPztIMHorva3RkbA1GEhGoRPDkfVMj/EVoARaabM2vliCxj9QQtJ1GDAtU3rcGPXDmjVWWDfWWJbtHp9BiCwRScU6KQICJRg4VEp4g8ex4tXvrFSpGT0JxXNsKraIEgVFaHLuQ5ZSE1wAeLsEioRFZ5PnAVlTok5hiQwCG1+mAupwr1V5r4CDGNkgkrzEij93Znqi5CB/XafAhduySDWEYaQsl3RFGiB6Tsce4NkgGlbx+WtqatqjM9ZlOAVJ0tWmPeWEvzYX3gYcOY9cuKzsLE1EVK5oagQJ7/4DDlXS67gZTVqI6dlXxwNaIXrJ06j75UZkFhoHbNyK7Zqh2E3usHAlCupDgFhtSAJEmdsxsqJqZSHevmJaHPoC6vm1nvpNdTu7t6R+L4DjAk06t7M+tKuDb+QkQTw00EFTl2XQawjDIHFOyVj6h+frSeY4uC2it1MRVXgIeUIpBLTWcjdxMJArDgpN2/JPlpF8PlzwoPDjl9v0vZ1N2k1apz+ehJyVaZzS3HimUMKIoWUWrusqtDqUTR46308/bUKekghU1QBkbq+PbPXPkNuEog8DAOS5+ABzVEzSWj9GDSf+JVbXbovAcNs+oODFYSjsp8oqCm2gcj06z9BOHJNbjTZ7RDt/oQQWa2ZXEw0ZWY1yYzYGdCYuj5L7AJNwgBlvHRgj3mjnfvtx0YlS/Zcp9dj6wU5nmpiysccdLMYm5UECr3HruHwQ3/P+KPLzcWZ6VOQfdG5xWbVzl0R9fJgEI7DjO0Eu85rQSTuH1lbV45HbmYSzl1OR+2im4g0ZEJpyETdAC26zpnv1tDdt4AptulPNJ1rplMKUY6uFh8PxL5LARDrCMMtLtvJJAYw3qqTlcOCw7JYLUoBwWHZWWvBIYJxz3jeAiZxv7R0AZJ3bIetdT1B7T4voebTPc0VMbe2G08Wur26sII+6JyD5x4JQU6+FkfOp+DA2es4fO4GsvO1qFk5BE3qVEaTupWNn9G1K0AmILT1fQ8YxhhKqfTi9ewBoPQjSiFAxAasOh2AbfGBRr0qMY4wPJ86phLuFmBm7ibo2oSioYAL+uPXgKvpBIMe9VavgctnE5C7fyuyz58Bc2oRVKMWaj7XBxVbWGuELjxMsOxIAYjUtaqMo9Z90CkHz7WwXkoNPMXZy2k4ePYGDvx3HVdSTHIjBqCVn7verJQJwBQzjKnzJyRlPcZJuJ6UxwsAHEoP/joXgA3nAiHWEYa3ps7dAgyTeTwSRdHcuecDYzdXHCN4oBrwaH3v9Fqr55GWmY2ICNe3XWtOEvyy17MVZmRsLnq2dH4bdv5qBt6Ytg3d29TDOAFvhjIFmNLDGp+c1UxCycs8xTu3jcrMJDvi5VhxOghiHWF4Z+rcvRXGGBy2EvCYABB8sZHggycpqoa6f+lgya/MXC20RUUIDXV9gGJueb/d5tkZ5r0OOejd2nldm/+5gkkLDuOzQe3QrY1r2+0yDZjiwbp4PUNJeelKSqlZSX3/ZRkWHVNArCMMbwFm/AaC8c9Qt65rPWkDCw7Lggw9YVLhcprWnCCoH5qKGmHUaC4tl8sgl0kgl7FPqWhdt6upuQiWc1AoXN96MSd849ez62/31YPeeSwHL7Z1DpixvxzA7hNJWP9lL1RmjgtcJL8ADOOBSkWDCqiGaQoYlYn+TZJh/hEF3HGE4YqpQp7/sC0PrzRPhYxPg9yQjmCkoTA/HUV5aZDq0wBZBQQ0my6kKFE028/BGODpOYHBYfPy8qDT6aDT6Y2flolpUxeDhznscAWkfxKzEFNDAbncteIk8xIzYinxSBj1VrtcvPSo4y0Zs0Z96qPVqFpBgcXjnhXEx/saMCZfZNmTQCjTmZCAEC0oUglPU3iOnDEYtCcb16nCrDaN6ZxKU1HK0xOEIOrMDSlmHnDPEYZLzhoKAW0aivLSQXRpCKRp4HTpKMxNAy1KN36XE+cRAHjKIb/pckhk7h967bXz70STao47wWHZ9bZebwJOMYDY38Zrb4vEtKwZeAKMq5IJSDKZFOuPpqFr8yqCNBjYDd3AXwwgnPu+2Qa3zccrjzleNY7G3cR7P+7G8+2jMWaAMH8r9zVg4pKynudA1jmawExnjKf8fwRkAwF+j46MuJSoyupEKdkdnyoh0/e65wjDUX1c3MdA3hUEEO+YL6fU+BwRNUQa07tAM7v5OpNM8LoXg8PqDXrotHrojUDSQafXgXmrKZ3i0uV4vKkwiT2TJ/WcqYWBBLp8PzkieK1NIV5r71iO8/2qE1i2O8542GeHfiHpvgbMRVX2RzzlpwnpKCGEOa76i5dynxCeTriaTvpP2RnqliMMhwC9MBaBBaeFNEcQTU7FvpDWeU0QrVCiCynA7jjHip9Cy3FFxxz/mVYi0//sPD2u5wWgXUOBSmkAXvtVj7R819s3R215ta0Orz/m2FVVnwkbkJyWa7xOZtfKQtJ9DZiEpKzXAfKbkI6W0JAiQrDyZjZ5adyWUM4dRxiO6qOqRVCkLRPXHCfUt2gjhLXw7jmGBYdl18Uf+Tg47K4LBCz0uZh6P1oJnL/p/qH/5dYGvNnBfv5rN7PRb9JGVAoLwoavrC1enQ3gfQ2YC1ey6kil3CV2lhE7S7MKuMIxf4UGuuMIw1FdhszjCLk6XmxTHNLrqRT5TVdAJnNfPaR04cbgsPsIJjzrmbqL2E4evgxsPy+uXubM7+Vfmbss9661X2lDMdhuABRgyc4LmLnmJGKbKfHlW8KNyu5rwLBBS0zSbKBuWGOyWCoj1rrnCMPRZNEX5SLk3ACmVih2PjmkV9WYiso1RHrec1I7i1HJ5Ct3Kjiso6rPXgeY9P6bPsKB2uSRWKSlZbjNy3FjhuOTD5kIzja9891OnEhMxVs9muHVbsL5e98DJu5ydkNOxh934enfhmPsUDl0ZRgCZUS0IwyHWzJmqPPfcATorrk9yKUzZld5DTKlKUCQNxLr98jlJhV/X6ZrmcBXmwnmDBReb2R0CxQWmiOaiG5uj+5dsOyPH23yMd2ybmNWg6nJfDv8cbRpLDzO6H0PGMaN2zYyi8Q6/Ru+Ogw6A8FfIh1hOBs5evE7KLJ3ih5cRxluSR5FWLNxXiuPFeRJ6D53G5KWC3y4gmDhG8IAw7Ssa9Vlpsrup8jaNXHh+A6bAnYcu4bPfjto/H3z1D4IZ5JcgalMAIb1NVGlHkwpmQ1QwRf3H6wPRU6Re44wHPHXcGMTQm7+LJD9rsnU+soIaO2ux1z75Yu163fdStcUuYXA6wsIVg4VBpjMLDUeaOrgAOK6OjNFcvwhVCiluzbh90PYdvQqqlcMxuovSjSkhRRbZgDDOnsxOaczpYaFlEKQp4Sxm0KQlidxyxGGI+Zqs+IRfuUDIbwXTJMWsxghIc79CAsu7C6Ndg0lAAAdVklEQVStMEws88Jsgg3DhQEmSXUdLdt55hLJuIKs/g2x7UvcdrJtWPcxq40q/h2bKfGViAM/K69MAYZ16NKlzHCDlHwBwr0FUKdr7efbQpCs8a4jjMKCfITHDQRH3d97l578qmqTUblWczGYcErLzjDT+/hej63HLA5r32YOCl135dyFeHTuahtsynVOa4qvPv8II4aVyLJOXUzFsG9NW+bXuz+EISK9lJc5wBSz69KNzEheLxlFQVnEIrvmUlN3B+NiuncdYWi1OsjjP0KQznvxIDVVh0Bem1kreCcZg8N2pwhzX4juVkN6zebwx+u8oHr/OXoCPXrZBpsSW/GAvj3wy6yvzdl+WnsKi3aYnKFPHtIBnZu79qBpWWeZBUxxJ69coYE6ae4zlOqfIyBPM59uxc++36/AuZvedYTBJNz6+OkIL3AVn1b40N8K6oawRu8Jz+CCcvImgiEdKKoLF7p7pe4B8zl8148XVO+uPQcwYNAwj+tt0iga/+4t0Z4a8MUms9HY0vE9ECnUHc7tlpR5wFhyfA+l0lqq7L4A/QlAhTmHgnA8We51Rxh5FxejcvZSjwe7uIAk/cOo0nqK18qbsYPghebUGO7Dl+n1Pzh89iwvqN71G7fhzbc/9Lh5LALCzr+PQVMkR2w0Na4u566m49J1tVElRqyDEb8CTDH3LyblPMhTw67fjwZVPXTV+44wspP2oVq6IBU3QRPiprYWwtvOE0QrhGj2PoKO0dSoR+fL9O5SDm/H8oLq/XP5Gowc7R2tic9/XIlNyU2wY5RH1gJGVvklYFjHL6k0Ty85EbhxV6KceNsRRuatS6h1fYTX5mK+IQR5TZcbDb+8kVhw2MY1KFrV8UZpwsv4ZC3BCw8LC0o7/7fF+HRCydnDWS1FOSmQh1S363aX5XtlxGTEBfbCxveAIMFCB/s1+i1gGDsGL9Cvvpgm6eVtRxgZGZmomTQYHNUKn01OKHlIcEG5AfWE+eB2WefKY0DVMCDWO0G5XNZXTMDOTu3qUzxuinDhNH0/cx6+nGYrpS+diflxLkhPgFRRGfIQ+wzq9OxA5DUei5VDgYruObw0V+vXgOn8LR3L85jibUcY6iw1KiV9CLnhpqt5Ieg5DxkOV16PRyKFyTBcFbrxDPNZJj44rKtyXT1nvsYaVqeC4k1OmfoDfpjl2ncYb9CiMOOS0edyUOVoEGM4cuvUuGkrBHdbgIVvALWs4++6arLNc78GTOx0yq6efvS2I4zs7ByEJY1HkNYUactZ4kkg9FwE9JIKMEgijH8bjN/Z36bftCQcudLaeKC6q9KEPd8dB2Tliw8OK6x0x1Q/7SWoGkrRt4XrksZN/Brzfl3skpB59S9IN13hy0KrQxZkK+ANCQ1Do7ePYO5AoIF1DFqX5Zcm8G/AfENfB8Fv3naEkZubi6CkbxCou2yc9CZARJgBwcCRVlgZV3KC0aSmAhwnQYBcYowHI5FIwIN9MjPfkt/shcUQPdq3Mxy5DLDwfQNFBod1t77ifMyxuVxCBdX7wZgJWLzUdXh3Zh7NtmSgPCQBIQgIt+8/qtmw3fj5zep4yDoGregu+TVgOk2nTNl8pbcdYeTnFyA9U2MMDhQYIIFcwoGTSGCgnHHLECTnIJVIMG2H1BjywtcCRBYc9shlgrdEBocVPbtKZVjyDwGLLyqk3mHvjsGa9ZtdV0k4FGZdBa/NM/JbUcX+wSy692z8PDoWAjwpOa3TvwEzjXajHLa0b0DxSXfvnA9cj3AJxfe7TG5bq4aKyeU5bWIqsOkswcguvu3zyuPE6IBDSL2DBr+Hrdv3uOxshVqNkZqwH7q8NCNtYKUG4CS2V2G1OozE7ClvoZOHFx3+DZjptD0F/m4RRTHpOd9OHja4c/cRdHuQGh3r+TKxScuMuXz9kmDRmM/dgKB6+wwYgv0HjrhkS6+Bb2PlbzNQpDbZILEtGdualU4VH3gaX0/92ii89HZSVpY7NQllzvOLfYG7W7d7Nqe3a/NGA1hR7WfQZhKKU0yAN62396wkhTKFyUPa1qVo6KXDvNB62YH/2x0EXzzv/cnjrA07zhPsT4SgepkeGdMnc5V++nE6Phz/PTITmEIlhSykOmQK24M/W3mmzV2Lpxp7f5z9BjCPT6P1DRwuetMRhqsBtnzOnFHEVAMeVvp24hbpmata4lHcFzH9LKZl8TJXn4Cgep98+kWcPmtSknSWVi/7BZNmrsc/G2eC1xVAqqgEeYjtVRjhpPji1wN49qE7x+uYyAi7C4E3XvA+XWFU6Vo1ABsP2MzJwvDlMnjTEYarAbZ8zrYoVUKBR+vduUF01J67YUR2OhmYs49g9suu+9uhy/OIT2DyFedpz/bVWLXtFL77/F3o8zMhCQxHQJh9nZ/RU5diYJc7p95QZgCTnKHLppTaHK3Zm3bwYhkqKIDFg72/VLsabLZFYbYhnRu6nkCuyhL7/G4AJuEWwKT9QsyUWz3WDdeSkl1268zR3ThwLgtDBzyFIo0KnDwYgRH2VfYrP/jCzKTdX3pPZ8ll60wE990Kk5yhi6OU2kSaZx5OBy2UIkDqPUcYAnloJDtwkSC7AHj6Dm4THK4wIoPDiumXI1pVJjBqBcGqYa5fEA+16IxbqaabL2cp+dJJ3MqRoGXL1si7cRKcNAiBFe2vIopqDZemn133kqsyvf38fgTMJkops4WxSUOWSFGoI9joRUcYQhl+SgUkZZK7EtBp3DpgsjhzdqHdckiXlQcMWcReTq4Bw+z5mV2/sxQcrMCVuH+NoQof7DwESf/+aTz4B1WyH8tDHl7zhDpxlwA9A4+7alXAfQcYVYb2V1C8YY8N7y6XQl1AsGoojyD3vZK6zWHm9siDmK9u13u3Mgrtb71GbZCbm+e0mbVq1cDJIyavMK99OAvrfp0IfVEOFJWj7earUKUG9mxZ45WuOzqv2Cv8vgNMcqZuCuXpWHudGb1GipvZxKuOMLwyIn5eSGSDR8AiQDtLDzZ+ALu3rTKSzPrzAMa//xK0OSlQVLHZfd8uhuDQ/p1QKDyPiFCmAaNK17KD3g/2mP/ZXxJcyeAw/xUeNT3UZPXzOe7V7tes2wx6vcFpme3btcaa5SbX2gfP56Dnk62NipiKqo7tB1at+BMPPdjE47a6kr1YVnD/rTAZ+r6U8ivscWnyVgnibnL4sT+P+l6yN/F4NMoLQLXIh2zizpRmy9PduuCP+ab3YE4h8OCjzyMzfrvDMwyjm/rVZPR8vofHHC7TgLmRpetoMFC7Ximm75TgVDJn1G96srHrw6jHnC4vQBAHqipd+zvu/2JP/Dhjsrm8zv0n4sSWHx3KYRjh0DcH44NRnt8sl2nApGTROnqD7oq9kZq1T4IjV0Q7/xc06OVE7nPg6DS2bXL+AqvW4hVEdvnEXEna2bW4uGY4pEGO99ZPPv4YZs3y3DNpmQYM42hyujaBAjbXJxvOcFhxggHGI+UD92dGeU67HDg6/SGAd36GqfHoMNTuULJaFGZexem5T4CTOL7ufCCmAf7dv0EQ11MyrWN6WmYq84C5lqEdyVF8J4hTlkQc+URZUSbMG4PowsVlSEhSO3zlBtm5+alR0UOPD+KaZ5fa0aQryM+3oi/d/ocfaYOCQudxQCeOHYUPRrxpLocZk8U0i8Wt1HSHLQ+Qy3Hj0jFjzE1Xya8Bw4IuJWfoFgJ42RWjip8TQlbVqijtbwz3dw8kfwJM23YdkaXWOOX6tMljMWzIQCuawW9/hJVrNznNt37Fr+jc8VGXI+rXgCnmjipT353w/Es80IIALDAIM56QMFBQSpmkLAUEJzmeX1qrSuBfLrnqQwJ/AkyXJ7sh+bo5ALZdLs+cPgmvDuxj9ezPFesxbETJucZexrfeeAnTv3QdQqTMAyY5TdeZEspcjdjXjfDm5Ka4REDerF1F5tos0Ev1+hNger7QGxfiLzrl3PyfpqJfb+sr4vSMTDR4qCOYy15HSVmrJs4ddx3Dp8wDRpWhvQQKYfGjvTGJCS4rK8nvPDhvt9WfADPwlUE4etx5ROpFv/6A55950mYkn+zxMv45etLpCB/esw5NGjm3Vy77gEnX+lyQIua2xFOM+hNghg8fjp17Djhl2aolc9C1i21A1x9//h3jJn3jNO+EsaPwocWFgT3isg+Y8hXGatzv51uyTz75GGvWb3E66Teu+h0dLYIlFRNfuapCs7bOgzG1a9MCW9ezKI+OU5kHTPkZxnrw72fAfP3VFPy+yK42k7mTOzf+idYt7cfB7PBkH6cmzsz/29ULhxAe5thlT5kHjOV0SUzKfp6CLwkMAnIjJjLcyo3bRZV6Kk8xxpyPIjsmqiQgYkKS5jpAzfauBFzP6Miw9Z5urdzN709bsjmzZ+K7mb84ZdWBnavR9MFGdmm+/XE+Jn7pXOy2cP536NnD8UrkX4BRaSZQSieauUnIphhl+LNWoFJpFlFKSy7yCYmLUYabRyBBpdkISp8pzkMImRitDP/c3QnvaT5/AsyyJQswYcq3Tll29O+NaBht/45HyLZs0Et9MOvbSQ7r8DfArKOUPm/BjSkxkRFWl++JKvUuSvF4CSCwO1oZ0aX4e0KSmmn2fWoBmPXRynAf2ymW9MCfALNt8zqMGD3BKWDOHt2BKKVj36+du/XD8VNnHZZRu2YNnD+xqxwwjAOJKvU1SlHiDYGgT4wywspZb8I19QUQlBhPULokJqqCecVJUKl7g8JkocS0zQiSopURUZ6uFO7m9yfA/HtoL14Z8r5TViWe2Y9qVR2HUftp7kJ84iLGjLNVqsysMKcTk2s3i67t0KXIheTsSlJK0yilJRqVFPVjoiIuW59z1Ew5q8T9EsE3McoI85km4Zq6HgjMvn4IIVRPSJVGtcMy3J30nuTzJ8AkXjiJZ3uXRD+2xzdV/BGEhzsO1JlyMxWNHnncqRDzmymfYuhg+9pS3gKMq/kqZE54pBp85sy1CjRIEmww2BfnKoKC23NEsrzk/IKc/PycRjzTzrudQoLCAi3BwH6mlH6eV5Bjjo3HEUIUitALoDBfpfDU0C+/IM+5gEAIB9ygCVGEXXeUrawpX2bcvIx2jzuPHJ167SQCA5yHZevR9w3s+9uxy9mnn+qMZQtYyFPb5Awwaek3BcUBkEg4jhQY8po2jcpyY8gtprAnuV3kTVCpPwKFOcgkIdgbrYzobJntokrTgKfUKjY4B/RvEBlRAjTT1m4Ppehk0fIxMcoI51KxO9Q3f1phaFEmHmhuNWQ2XNWknHMYpq+YePGytXhnpPkYalNGSEgwkuIOQyq11V721grjjeng0QrjqgGJKs0SSqmF/ynyfUxk+CjLfAlJWR0BYmWFKZVyHevVDPvbmk7zHUBHFv9GCPkzWhkuWOPZVVvFPPcnwFQI5lE1qrlD9jA1/bSkUy7Zl52TiwYPdkBhUZFD2u0blqBta9u6/AcwSZrzFNR8PcxR8mqDqHCm2m9O8Uma/gTUKjY4R0h0A2W4lcbfxWuaQTyhC8yAAbkQHRne2OVI3QECfwIME7pWr9sC+QUFdjkZFhqK5MR/BHH5taEfOtUa+GT0u/hk9Ds2ZfkFYG7coIo8gyabUpiDHUqItGl9ZYjV/WJikmYUBbW66A+RhgfXrEmsLJsuqXIfMlD9mZIVBoZgSXhYaTpBI+chkb8BpknLJ6BKvmGXa1WrVMbFs/sFcXT7rv3o8/Iwh7SO1GT8AjCJydmPUp4/ZMGdwmhleCghRG+11VKpp4HiI4vfNDGRETbG4JRSaaJKk8Ni9ZhBw3HtomuHHRY0Wl4kEgsYL1bt9aJcWVyyCnv1HYBz5+x78K9Zswb27NwqqF16gwGxnZ9Eerr9y01mffnv4QNQKIIElceIfKl0y+q7Y2eY+CTNOwS05NqDkKMxyvDWpTmRqNIsppRanEXIhRgHW60ElYb5I21VXAYFGd4wMtxzTwqCh8dE6G+AGfzW2zhwwPLdV8KwunXqYOtm4VpKX0+bjt//cKxs+cu8n9Gh/WOCR6TMACZRlT2PUr7E0Jtw82KUYUNLcyL+mno3ISi5hiFkV4wy/Al7HEtQZc8F5d8q2ZZx86OVYebvgrnsIaG/Aeaj/43Fhr/smxs3bBiDDWtXCubohbg49OzVzyH9kMGv46MPzXc7LsstO4BJ0hyloC3Nkxt4JzoyYnZpDiRcU8eBwOxTlFK6uGFUhVfscSoxSf02BcwrCgE5Fh0Zbl5xXHLXSwRiAXM/ayuztn88/mv8PM/qrsbMyRbNH8KeLVYSAJdcZnKd/87H26Vr3uxB7NtmrR1d5s8w7LxxUZWdQ0Etzhvk0eja4TaSq4Qko4cFs5iYI9y0Bsqw/9kFTLKmLeWp+cxCQAobKMNszkUuR8xDAn8DzLTv5mDy1B/tcq1d25bYus4+mByxedacBRg7cardxxzH4VrcYSt1/zIPmMuqzKZ6ylnatRpCpPlhNWvWtLr5unmTBmdrNbmWnCOUjIqOCv/eHjdv3LihyNUrspmzjOLnUsI3q6esaL498xALgrL7G2B+W7gcI8fYVw5/PPYxrFvO3DcIT2npGWj4cGfo9Vb3P+YCmMSfSf6LU5kHTPy17FcJ4f8o2Y6R89GR4Taepy+pNNEGShOsAYN+0VERDi2WEpM05yioWf5CKfdaw6gws3xG+LC5T+lvgNmwaQcGDravgNm9a2csX2hfpcUZh/u/+i42b9ttl2T40Ffx1eclm4wyD5jEJM131FoqvyRaGW7tuMqo7pIVSynZa8k1Cr5jw8iKVlJ+y+elb9UIyPfRpbQH3IeCsJz+BphDR46jW0+7x0qj4RczABObNm7ZhZdef89uNmaMxozS/GaFSVSp91KKWAtufBQTGTG9NHcuXtf05w3WUn4CNIiOjHAYhTQhST0agFmHjBDsi1ZGlOiYiR05N+j9DTDxiZfRqoOVzZ+Za/369MD8WfbPI85Yq9Pp0fDhTmDumEondo5hZssRtzWgy/QKw1T5L6o0WZbq+pTiiYZRETYWQolJ2R9Q8DMsGRakDFcoCbGvhwEg/pq6CyEwO7MigKaBMrwCU/l3Y+67lcXfAMNC9tVp1M4ur159uQ9mznBsLemMwWMnTMOsueaduxXp0j9m4ZluJpvCMg2YxCR1fQqY9cDYRA4MC6usDCc2r5KEJDVbKdiKUZzUMZERFZwxWaXSVCwE0i1tbFytSm6hwkkmR4Cxp9rPirnfr5WZM75KymYwGGw99Qr1XmmPnefjEtG2k6UxbgmV5TmmbAMmWd2H8jBLsgjBtWhlhN1wuglJmiWAlTbz+Rg7lwOlmZ2oUl+lFGaLS8Khb3TtCLNFprcBUro8fwMM6z/zYpmaZutc/L23X8eUCZaaTeK437l7Pxw/aWu+3Oyhxvh7h2lIyzZgktRTKGCOY0kI1kUrI+xaICUkqZl715LzB8WumKgIu1J+y2FIVKnXUgqzTT8BvoyOjHBsbCFuDF1SiwWMywLvIoEQXTLWvB49+yAhwcpsydjqYUOHYNT79g/vQrq1bPkqTPj8CxtSdo759/DfCA1lLrcdp/te0p+g0myCRWhx5jGmYVQFu5f4CSpNHCg1S/kJIYuileGDXDE6/lrWBOY5xkxHyOYYZbjZq4yr/J4+90fAvPbGWzh8xFaNf8S772D4OzYaT4JZnJubi/Ydu9gNqTF39kx0irX1qGlZuM8Bc+PGZa86k8jVVzwGwOwRQQLD4CCpxq5LkFxDxXOgCC5mAOEwO5jLdHnlUqAP72KA5FcLxqWHSDPNajiCR8tNwlx9xav2sjo6w9ymTeCobjTR3bpjQlaDvLbddjnrptAV5oPRH2PTZlsPmLVrVv1q7+bf57rJSmO2Zu36TM3LLzArmAVWqo+qD/dD96c6Y1T3CiASx/F1JNpku9t9T9rjLO8d01a+Uw0uL/fucCCoSqPvCYGN9JJS8n5B2nn7ejMCmxpUpUl7TsL9HRHdBVWbD0CYspXRNZA+Lz394IQq91SI4HLACBxUfydTVGs8FpROseUDHZafGufRCtNxOh1nyM+YKFVUMqs86fLSaW7y0U1n5j/teahlLw5eOWC8yMyyXJSiWqMhoLBRGiOUvpaXFueRalLsdPongAGMfwUZl6G4sARtcw4e/XrXNhv7qbvN43sCMGcSUyy1Asw8aRpdw+gcw9FzMcwrLktMnnLaEg4oqjV8DpSzsRSjPAYUpF9Y5gmvOs2gbXke069tm8A9l7enaYNQWXCAhKMNK4ZFdl6yxqHfO0/qdDfvPQEYdxtfns93HIj9xpBm0BVUpgYteH0ReL0W1FAEWXDl/w5+VvEhIS1JSbli98VYnLdGjbr7furWZVGYXDawYlAAgmTSMY8vXn1XXGk56k+ZBYw3ViV7TLvXVipXk1DIRHZGwyYxex47nf4LwJ6xXuK+0cR5CDERjdjzWs8IXsvdvJRTGDDt7HXt9QLtmIJbF34QUcQdJS2zgLmjXPPHwmu2UCj0+SxYr1XiCN8l91a8fT19kXwqBv9Xg975fuHZaw9reZN6YLWqlfYe2rGoRO4motxiwIvI4pS0HDDe4qSflDPrqS5aA6UyAtAR23dz3u52gyffH3vj9HYWrcE0Nyl0lCOjC255dnXtrXaWA8ZbnPSTcna/3PsyBa0LILPLkjWVvN3tyk2emp+fljTEVC5N43j0zU2Ps/KM6u06xZRXDhgx3Cqnxe6Xe12gYKFJSF6XJaudK3qJ5xdRVG3ETNvZJcI5nqPPFt6ME629IL5a4TnKNGAopfLkbIRIDAgBj2BQnUJPiUIqQRD7JNSgAIgCBIGUkkCOIIAHH0gIFwBKAkH5QEogJwRyUCKn4OWEcDJCIQeBnFLIACoFAfOgLQX7TnH7O5UCHAdQCQjhQKkEIKbvAGf8m4DAFAqEEGIcCnLbbMH4m3FDAtDbtj70dtADCmb7w/6B8gB4gBiMfxNiAGW/se8sogLRg0IPYvyvA2D6DqIn7DuFlhJoKeV1BJwWhGophZZQaEG4QhBaSClfxIEr/HbR1mZrli2unp/8X6tcHW92bhJdv/6cLRvW/AIiyweHPIMEubXDkEsI0QqfhibK4KqNXqEA86hxOF9X1B1Zl5mDlHsq3dOASU2lIQYZKuv0usrgSCUJIRUBvgLlSQVKEMGBhPOgEaB8OEDCKBBGYAyJEUKBEAI2ocuTOxw4dfoMzp0/j/j4RJw5+x/i4uJZGBKbotq0boWFf9jGwKSAjgDMwUkuBXIIkA3QbBBOw4GoeVANoVATjmYBXJaB0syWrR79SSaX33rhuef7zpr2P/u+ad3pjBfz3BXAUEq5lCzUNhj0dQmhUQBRArQWBalBCGoAtBqlqAZAuM9QLzKlvCjgzaHDceCgydslc+Eqk8nNoSiYIRn7r9PpUCEiAn/vMxvAepN1BYTgFkBuUYoUApoCEBYcWEUpuSaRSK/UqIBkQghbZX2W7jhgKKWylCx9WwOPdoTQhylIE0IRbemzzGe9La+oTHGA+aWjBIkE9Byl5JSEw6EaFaRHCCFs+3lH0h0FTHK6bjIFhoNtm8pTOQd8wgGiJsBPtSvLrAIPe6vqOw8YguGg5YDx1oCVl+OCA4SoCb1PAcO6Zt6SAe0IpQ9TigcBRANwHhSxfGaUc8A1B1g4s0RC8B8l5JQE9/mWzFF/iw/9hOjrGkCiYKDmQz9AaxKCqpSSagAtP/S7njRllIIUEELZgT+VgqZwIDeMh34JUUlAr1FaRg/9noxm8bUy1esq6+1cK5vORiS8/FrZEy7fmbzOrpUBqgGImhCoCUqulaU8zSBSWbpEh/SqVYmVz+0700rxpd7RM4z45ng3hz3BJSREoadQSDkSZKBQgPIKUAeCS8IHMiElE16aBZeAnICTWQouCYHUJMQ0Ci9vCy6JlIJKOJOAkqNMcGkrwCTMFJdYCCwtBZilBZbsO5NWwiQPoaUFlsQouGQSS8oTkzCzRHAJGIWVtLTgEryOAtpiwSUTWjJhJqi14JKnKCKEFoKgEITLlxDk63laICXIh4Hme0Nw6d3RvzOl/R8AdGoXzom1qQAAAABJRU5ErkJggg=="}}]);
|