@customize-agent/server 4.1.18 → 4.1.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +174 -18
  3. package/.next/prerender-manifest.json +3 -3
  4. package/.next/server/_error.js +1 -1
  5. package/.next/server/chunks/1928.js +1 -1
  6. package/.next/server/chunks/582.js +223 -0
  7. package/.next/server/chunks/5840.js +1 -1
  8. package/.next/server/chunks/8661.js +2 -2
  9. package/.next/server/middleware-build-manifest.js +1 -40
  10. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  11. package/.next/server/next-font-manifest.js +1 -1
  12. package/.next/server/pages/404.html +1 -1
  13. package/.next/server/pages/500.html +1 -1
  14. package/.next/server/pages/api/assets/generated/preview.js +1 -1
  15. package/.next/server/pages/api/assets/generated/preview.js.nft.json +1 -1
  16. package/.next/server/pages/api/assets/generated.js +1 -1
  17. package/.next/server/pages/api/assets/generated.js.nft.json +1 -1
  18. package/.next/server/pages/api/config/providers.js +1 -1
  19. package/.next/server/pages/api/documents/chapter/regenerate.js +1 -1
  20. package/.next/server/pages/api/documents/chapter/regenerate.js.nft.json +1 -1
  21. package/.next/server/pages/api/documents/export.js +7 -7
  22. package/.next/server/pages/api/documents/export.js.nft.json +1 -1
  23. package/.next/server/pages/api/documents/generate.js +2 -2
  24. package/.next/server/pages/api/documents/generate.js.nft.json +1 -1
  25. package/.next/server/pages/api/documents/generated/[id].js +1 -1
  26. package/.next/server/pages/api/documents/generated/[id].js.nft.json +1 -1
  27. package/.next/server/pages/api/documents/generated.js +1 -1
  28. package/.next/server/pages/api/documents/generated.js.nft.json +1 -1
  29. package/.next/server/pages/api/documents/roles.js +1 -1
  30. package/.next/server/pages/api/documents/templates.js +1 -1
  31. package/.next/server/pages/api/documents/templates.js.nft.json +1 -1
  32. package/.next/server/pages/asset-library.html +1 -1
  33. package/.next/server/pages/document-roles.html +1 -1
  34. package/.next/server/pages/document-roles.js.nft.json +1 -1
  35. package/.next/server/pages/documents.html +1 -1
  36. package/.next/server/pages/guide.html +1 -1
  37. package/.next/server/pages/guide.js.nft.json +1 -1
  38. package/.next/server/pages/index.html +1 -1
  39. package/.next/server/pages/knowledge/file-detail.html +1 -1
  40. package/.next/server/pages/knowledge/files.html +1 -1
  41. package/.next/server/pages/knowledge/manage.html +1 -1
  42. package/.next/server/pages/knowledge.html +1 -1
  43. package/.next/server/pages/models.html +1 -1
  44. package/.next/server/pages/overview.html +1 -1
  45. package/.next/server/pages/prompt.html +1 -1
  46. package/.next/server/pages/settings.html +1 -1
  47. package/.next/server/pages/system/logs.html +1 -1
  48. package/.next/server/pages-manifest.json +60 -3
  49. package/.next/server/vendor-chunks/next@15.5.19_react-dom@19.2.7_react@19.2.7__react@19.2.7_sass@1.101.0.js +10 -10
  50. package/.next/static/Q_xFgspIZa7UtyNcbbeXp/_buildManifest.js +1 -0
  51. package/.next/static/chunks/44-d3545eedd5c75ef1.js +4 -0
  52. package/.next/static/chunks/563-b12f299d34bb9e44.js +1 -0
  53. package/.next/static/chunks/717-743b697a417dd5ee.js +4 -0
  54. package/.next/static/chunks/795-cd94e8d4e9768eb9.js +1 -0
  55. package/.next/static/chunks/827-a6dc09e42833e6a3.js +1 -0
  56. package/.next/static/chunks/883-506cbca959974997.js +16 -0
  57. package/.next/static/chunks/957-7c7f05f1c2ccfb96.js +8 -0
  58. package/.next/static/chunks/{238-16333381c574f65b.js → 994-241f87efc61005b8.js} +4 -1
  59. package/.next/static/chunks/fallback/amp.js +1015 -0
  60. package/.next/static/chunks/fallback/main.js +1616 -0
  61. package/.next/static/chunks/fallback/pages/_app.js +28 -0
  62. package/.next/static/chunks/fallback/pages/_error.js +28 -0
  63. package/.next/static/chunks/fallback/react-refresh.js +62 -0
  64. package/.next/static/chunks/fallback/webpack.js +1192 -0
  65. package/.next/static/chunks/pages/{asset-library-bedc7113dfc7ad6a.js → asset-library-a1047694e888e655.js} +1 -1
  66. package/.next/static/chunks/pages/document-roles-5620a98d6312f81c.js +1 -0
  67. package/.next/static/chunks/pages/documents-7550a1ef2e5f266c.js +1 -0
  68. package/.next/static/chunks/pages/guide-b847733a9a832c2c.js +1 -0
  69. package/.next/static/chunks/pages/knowledge/{file-detail-f70a35f5b24a5b61.js → file-detail-02cd5d87cd1d1c5d.js} +1 -1
  70. package/.next/static/chunks/pages/knowledge/{files-3b5d049efb076e4b.js → files-8503246ce2bc07c6.js} +1 -1
  71. package/.next/static/chunks/pages/knowledge/{manage-67b5c7fe257f37c5.js → manage-a00bb7fc6a76f820.js} +1 -1
  72. package/.next/static/chunks/pages/{models-89f9769a32da8e5f.js → models-aa250428e72433df.js} +1 -1
  73. package/.next/static/chunks/pages/{prompt-08ecf369f65abdfd.js → prompt-224af05519ef8304.js} +1 -1
  74. package/.next/static/chunks/pages/system/{logs-a76f9e3131e0cd79.js → logs-6f45ef8d862759a2.js} +1 -1
  75. package/.next/static/chunks/polyfills.js +1 -0
  76. package/.next/static/chunks/webpack.js +2 -2
  77. package/.next/static/css/3f9e41b5c0ba95f7.css +1 -0
  78. package/package.json +4 -4
  79. package/.next/server/chunks/1924.js +0 -215
  80. package/.next/static/VJfTgkSHEgD9CkDEznJbt/_buildManifest.js +0 -1
  81. package/.next/static/chunks/209-5117020514c2bd0c.js +0 -4
  82. package/.next/static/chunks/466-1cd359f130473697.js +0 -1
  83. package/.next/static/chunks/576-6699fed6c88502fe.js +0 -1
  84. package/.next/static/chunks/580-618d7d7e7b74daf6.js +0 -19
  85. package/.next/static/chunks/644-3299885a9dc1ef78.js +0 -11
  86. package/.next/static/chunks/649-06b72042a4de8074.js +0 -4
  87. package/.next/static/chunks/795-18a2b5f64892634d.js +0 -1
  88. package/.next/static/chunks/pages/document-roles-3d8c5440cc3f15fd.js +0 -1
  89. package/.next/static/chunks/pages/documents-b59eba36e96a5621.js +0 -1
  90. package/.next/static/chunks/pages/guide-9d7d88a25d972c06.js +0 -1
  91. package/.next/static/css/9daa4d0938f1a323.css +0 -1
  92. package/.next/static/development/_buildManifest.js +0 -1
  93. package/.next/static/development/_ssgManifest.js +0 -1
  94. package/.next/static/webpack/0dc2c45812c77911.webpack.hot-update.json +0 -1
  95. package/.next/static/webpack/7de8e01bd19935ee.webpack.hot-update.json +0 -1
  96. package/.next/static/webpack/webpack.0dc2c45812c77911.hot-update.js +0 -12
  97. package/.next/static/webpack/webpack.7de8e01bd19935ee.hot-update.js +0 -12
  98. /package/.next/static/{VJfTgkSHEgD9CkDEznJbt → Q_xFgspIZa7UtyNcbbeXp}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ self.__BUILD_MANIFEST=function(s,e,c,t,a,d,i,n,u,f,k,r,o,l,g,h,b){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},__routerFilterStatic:{numItems:0,errorRate:1e-4,numBits:0,numHashes:l,bitArray:[]},__routerFilterDynamic:{numItems:f,errorRate:1e-4,numBits:f,numHashes:l,bitArray:[]},"/":[g,h,"static/chunks/pages/index-cb27bfa36c212ab5.js"],"/_error":["static/chunks/pages/_error-282257fbdcc167b4.js"],"/asset-library":[s,e,c,t,d,i,"static/chunks/994-241f87efc61005b8.js","static/chunks/pages/asset-library-a1047694e888e655.js"],"/document-roles":[s,e,c,a,t,d,i,n,u,k,"static/chunks/pages/document-roles-5620a98d6312f81c.js"],"/documents":[s,e,c,a,t,d,n,u,k,r,"static/chunks/230-8184e70eae35f2bb.js","static/chunks/pages/documents-7550a1ef2e5f266c.js"],"/guide":[s,c,n,"static/chunks/957-7c7f05f1c2ccfb96.js","static/chunks/pages/guide-b847733a9a832c2c.js"],"/knowledge":["static/chunks/pages/knowledge-905248d8dcb15453.js"],"/knowledge/file-detail":[s,e,c,a,t,d,i,n,r,"static/chunks/850-0f48354694fc6b3e.js",b,"static/chunks/pages/knowledge/file-detail-02cd5d87cd1d1c5d.js"],"/knowledge/files":[s,e,c,a,t,d,i,b,"static/chunks/pages/knowledge/files-8503246ce2bc07c6.js"],"/knowledge/manage":[s,e,c,n,r,"static/chunks/788-3afeb069ed706ac0.js","static/chunks/pages/knowledge/manage-a00bb7fc6a76f820.js"],"/models":[s,e,a,u,k,"static/chunks/827-a6dc09e42833e6a3.js","static/chunks/pages/models-aa250428e72433df.js"],"/overview":[g,h,"static/chunks/pages/overview-8713b5d37af0eeb3.js"],"/prompt":[s,e,a,t,u,"static/chunks/187-358527d7061417bf.js","static/chunks/pages/prompt-224af05519ef8304.js"],"/settings":["static/chunks/pages/settings-810eb1a6cf1a6b02.js"],"/system/logs":[s,e,c,a,t,d,i,u,"static/chunks/pages/system/logs-6f45ef8d862759a2.js"],sortedPages:["/","/_app","/_error","/asset-library","/document-roles","/documents","/guide","/knowledge","/knowledge/file-detail","/knowledge/files","/knowledge/manage","/models","/overview","/prompt","/settings","/system/logs"]}}("static/chunks/717-743b697a417dd5ee.js","static/chunks/883-506cbca959974997.js","static/chunks/665-88e20299084b9e73.js","static/chunks/563-b12f299d34bb9e44.js","static/chunks/44-d3545eedd5c75ef1.js","static/chunks/7-20bcc985742a9ae1.js","static/chunks/289-35ac595388bbd018.js","static/chunks/787-c18af810af3433f6.js","static/chunks/195-2c0168eacab722d2.js",0,"static/chunks/455-e1b41ac4946d2b6f.js","static/chunks/506-93f730bc149d0dce.js",1e-4,NaN,"static/chunks/880-64d8a15c524106d2.js","static/chunks/795-cd94e8d4e9768eb9.js","static/css/ad5a592c79d1448b.css"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
@@ -0,0 +1,4 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[44],{7576:(e,t,r)=>{r.d(t,{A:()=>j});var a=r(97109),n=r(3638),o=r(74567),l=r(55359),i=r(33442),s=r(44390),c=r(78902),u=r(9750),p=r(42644),d=r(92162),m=r(26047),f=r(4034),b=r(27273),$=r(10540),g=r(28403),h=r(84767);let v=(0,$.OF)(["Input","OTP"],e=>(e=>{let{componentCls:t,paddingXS:r}=e;return{[t]:{display:"inline-flex",alignItems:"center",flexWrap:"nowrap",columnGap:r,[`${t}-input-wrapper`]:{position:"relative",[`${t}-mask-icon`]:{position:"absolute",zIndex:"1",top:"50%",right:"50%",transform:"translate(50%, -50%)",pointerEvents:"none"},[`${t}-mask-input`]:{color:"transparent",caretColor:e.colorText,"&::selection":{color:"transparent"}},[`${t}-mask-input[type=number]::-webkit-inner-spin-button`]:{"-webkit-appearance":"none",margin:0},[`${t}-mask-input[type=number]`]:{"-moz-appearance":"textfield"}},"&-rtl":{direction:"rtl"},[`${t}-input`]:{textAlign:"center",paddingInline:e.paddingXXS},[`&${t}-sm ${t}-input`]:{paddingInline:e.calc(e.paddingXXS).div(2).equal()},[`&${t}-lg ${t}-input`]:{paddingInline:e.paddingXS}}}})((0,g.oX)(e,(0,h.C)(e))),h.b),y=a.forwardRef((e,t)=>{let{className:r,value:l,onChange:i,onActiveChange:s,index:u,mask:d,onFocus:m,...f}=e,{getPrefixCls:b}=a.useContext(o.QO),$=b("otp"),g="string"==typeof d?d:l,h=a.useRef(null);a.useImperativeHandle(t,()=>h.current);let v=()=>{(0,p.er)(()=>{let e=h.current?.input;document.activeElement===e&&e&&e.select()})};return a.createElement("span",{className:`${$}-input-wrapper`,role:"presentation"},d&&""!==l&&void 0!==l&&a.createElement("span",{className:`${$}-mask-icon`,"aria-hidden":"true"},g),a.createElement(c.A,{"aria-label":`OTP Input ${u+1}`,type:!0===d?"password":"text",...f,ref:h,value:l,onInput:e=>{i(u,e.target.value)},onFocus:e=>{m?.(e),v()},onKeyDown:e=>{let{key:t,ctrlKey:r,metaKey:a}=e;"ArrowLeft"===t?s(u-1):"ArrowRight"===t?s(u+1):"z"===t&&(r||a)?e.preventDefault():"Backspace"!==t||l||s(u-1),v()},onMouseDown:v,onMouseUp:v,className:(0,n.$)(r,{[`${$}-mask-input`]:d})}))});function C(e){return(e||"").split("")}let w=e=>{let{index:t,prefixCls:r,separator:o,className:l,style:i}=e,s=(0,m.Tn)(o)?o(t):o;return s?a.createElement("span",{className:(0,n.$)(`${r}-separator`,l),style:i},s):null},A=a.forwardRef((e,t)=>{let{prefixCls:r,length:i=6,size:s,defaultValue:c,value:m,onChange:$,formatter:g,separator:h,variant:A,disabled:x,status:k,autoFocus:E,mask:z,type:S,autoComplete:N,onInput:I,onFocus:M,inputMode:P,classNames:T,styles:F,className:O,style:R,...B}=e,{classNames:D,styles:X,getPrefixCls:L,direction:W,style:q,className:H}=(0,o.TP)("otp"),j=L("otp",r),Q={...e,length:i},_=(0,d.XT)(q),V=(0,d.XT)(R),[G,K]=(0,d.AV)([D,T],[X,_,F,V],{props:Q}),J=(0,p.KE)(B,{aria:!0,data:!0,attr:!0}),[U,Y]=v(j),Z=(0,b.A)(e=>s??e),ee=a.useContext(l.$W),et=(0,f.v)(ee.status,k),er=a.useMemo(()=>({...ee,status:et,hasFeedback:!1,feedbackIcon:null}),[ee,et]),ea=a.useRef(null),en=a.useRef({});a.useImperativeHandle(t,()=>({focus:()=>{en.current[0]?.focus()},blur:()=>{for(let e=0;e<i;e+=1)en.current[e]?.blur()},nativeElement:ea.current}));let eo=e=>g?g(e):e,[el,ei]=a.useState(()=>C(eo(c||"")));a.useEffect(()=>{void 0!==m&&ei(C(m))},[m]);let es=(0,p._q)(e=>{ei(e),I&&I(e),$&&e.length===i&&e.every(e=>e)&&e.some((e,t)=>el[t]!==e)&&$(e.join(""))}),ec=(0,p._q)((e,t)=>{let r=(0,u.A)(el);for(let t=0;t<e;t+=1)r[t]||(r[t]="");t.length<=1?r[e]=t:r=r.slice(0,e).concat(C(t)),r=r.slice(0,i);for(let e=r.length-1;e>=0&&!r[e];e-=1)r.pop();return r=C(eo(r.map(e=>e||" ").join(""))).map((e,t)=>" "!==e||r[t]?e:r[t])}),eu=(e,t)=>{let r=ec(e,t),a=Math.min(e+t.length,i-1);a!==e&&void 0!==r[e]&&en.current[a]?.focus(),es(r)},ep=e=>{en.current[e]?.focus()},ed={variant:A,disabled:x,status:et,mask:z,type:S,inputMode:P,autoComplete:N};return a.createElement("div",{...J,ref:ea,className:(0,n.$)(O,j,{[`${j}-sm`]:"small"===Z,[`${j}-lg`]:"large"===Z,[`${j}-rtl`]:"rtl"===W},Y,U,H,G.root),style:K.root,role:"group"},a.createElement(l.$W.Provider,{value:er},Array.from({length:i}).map((e,t)=>{let r=`otp-${t}`,o=el[t]||"";return a.createElement(a.Fragment,{key:r},a.createElement(y,{ref:e=>{en.current[t]=e},index:t,size:Z,htmlSize:1,className:(0,n.$)(G.input,`${j}-input`),style:K.input,onChange:eu,value:o,onActiveChange:ep,autoFocus:0===t&&E,onFocus:e=>((e,t)=>{for(let e=0;e<t;e+=1)if(!en.current[e]?.input?.value){en.current[e]?.focus();break}M?.(e)})(e,t),...ed}),t<i-1&&a.createElement(w,{separator:h,index:t,prefixCls:j,className:(0,n.$)(G.separator),style:K.separator}))})))});var x=r(70542),k=r(88483);function E(){return(E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}let z=a.forwardRef((e,t)=>a.createElement(k.A,E({},e,{ref:t,icon:x.A})));var S=r(8263),N=r(6831),I=r(69925),M=r(62116);let P={click:"onClick",hover:"onMouseOver"},T=a.forwardRef((e,t)=>{let{disabled:r,action:l="click",visibilityToggle:i=!0,iconRender:s,prefixCls:u,inputPrefixCls:f,suffix:b,className:$,style:g,classNames:h,styles:v,...y}=e,{getPrefixCls:C,className:w,style:A,classNames:x,styles:k,iconRender:E}=(0,o.TP)("inputPassword"),[T]=(0,I.A)("global"),F=a.useContext(N.A),O=r??F,R={...e,disabled:O},[B,D]=(0,d.AV)([x,h],[k,v],{props:R}),X=(0,m.Qd)(i)&&void 0!==i.visible,[L,W]=(0,a.useState)(()=>!!X&&i.visible),q=(0,a.useRef)(null);a.useEffect(()=>{X&&W(i.visible)},[X,i]);let H=(0,M.A)(q),j=()=>{if(O)return;L&&H();let e=!L;W(e),(0,m.Qd)(i)&&i.onVisibleChange?.(e)},Q=C("input",f),_=C("input-password",u),V=i&&(e=>{let t=P[l]||"",r=(s||E||(e=>e?a.createElement(S.A,null):a.createElement(z,null)))(L),n=(0,m.Qd)(i)?i.tabIndex:void 0;return a.createElement("span",{key:"passwordIcon",role:"button",tabIndex:O?-1:n??0,className:`${e}-icon`,"aria-disabled":O,"aria-pressed":L,"aria-label":L?T.hide:T.show,onMouseDown:e=>{e.preventDefault()},onMouseUp:e=>{e.preventDefault()},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),j())},[t]:j},r)})(_),G=(0,n.$)(_,w,$,{[`${_}-${e.size}`]:!!e.size}),K={...y,type:L?"text":"password",prefixCls:Q,suffix:a.createElement(a.Fragment,null,V,b),disabled:O,className:G,style:{...A,...g},classNames:B,styles:D};return a.createElement(c.A,{ref:(0,p.K4)(t,q),...K})});var F=r(30486),O=r(112),R=r(52690),B=r(9290),D=r(49644),X=r(15561);let L=(0,$.OF)(["Input","Search"],e=>(e=>{let{componentCls:t,antCls:r,calc:a,max:n}=e,o=`${t}-btn`,[l,i]=(0,$.PN)(r,"input-search"),s=e.inputFontSizeSM??e.fontSize,c=n(e.controlHeightSM,a(s).mul(e.lineHeight).add(a(e.paddingBlockSM).mul(2)).add(a(e.lineWidth).mul(2)).equal());return{[t]:{[l("btn-height")]:(0,X.zA)(e.controlHeight),width:"100%",[o]:{height:i("btn-height"),[`&${r}-btn-icon-only`]:{width:i("btn-height")},"&-filled":{background:e.colorFillTertiary,"&:not(:disabled)":{"&:hover":{background:e.colorFillSecondary},"&:active":{background:e.colorFill}}}},[`&${t}-large`]:{[l("btn-height")]:(0,X.zA)(e.controlHeightLG)},[`&${t}-small`]:{[l("btn-height")]:(0,X.zA)(e.controlHeightSM)},[`&${t}-small ${o}`]:{minHeight:c,[`&${e.antCls}-btn-icon-only`]:{minWidth:c}}}}})((0,g.oX)(e,(0,h.C)(e))),h.b),W=a.forwardRef((e,t)=>{let r,{prefixCls:l,inputPrefixCls:i,className:s,size:u,style:m,enterButton:f=!1,searchIcon:$,addonAfter:g,loading:h,disabled:v,onSearch:y,onChange:C,onCompositionStart:w,onCompositionEnd:A,variant:x,onPressEnter:k,classNames:E,styles:z,hidden:S,...N}=e,{direction:I,getPrefixCls:M,className:P,style:T,classNames:X,styles:W,searchIcon:q}=(0,o.TP)("inputSearch"),H={...e,enterButton:f},[j,Q]=(0,d.AV)([X,E],[W,z],{props:H},{button:{_default:"root"}}),_=a.useRef(!1),V=M("input-search",l),G=M("input",i),[K,J]=L(V),{compactSize:U}=(0,D.RQ)(V,I),Y=(0,b.A)(e=>u??U??e),Z=a.useRef(null),ee=e=>{document.activeElement===Z.current?.input&&e.preventDefault()},et=e=>{y&&y(Z.current?.input?.value,e,{source:"input"})},er="boolean"==typeof f?(0,O.A)($,q,a.createElement(F.A,null)):null,ea=`${V}-btn`,en=(0,n.$)(ea,{[`${ea}-${x}`]:x}),eo=f||{},el=eo.type&&!0===eo.type.__ANT_BUTTON;if(el||"button"===eo.type){let e=eo.props;r=(0,R.Ob)(eo,{onMouseDown:ee,onClick:e=>{eo?.props?.onClick?.(e),et(e)},key:"enterButton",...el?{className:(0,n.$)(en,e.className),size:Y}:{}})}else r=a.createElement(B.A,{classNames:j.button,styles:Q.button,className:en,color:f?"primary":"default",size:Y,disabled:v,key:"enterButton",onMouseDown:ee,onClick:et,loading:h,icon:er,variant:"borderless"===x||"filled"===x||"underlined"===x?"text":f?"solid":void 0},f);g&&(r=[r,(0,R.Ob)(g,{key:"addonAfter"})]);let ei=(0,n.$)(V,J,{[`${V}-rtl`]:"rtl"===I,[`${V}-${Y}`]:!!Y,[`${V}-with-button`]:!!f},s,P,K,j.root),es=(0,p.KE)(N,{data:!0}),ec=(0,p.cJ)({...N,classNames:(0,p.cJ)(j,["button","root"]),styles:(0,p.cJ)(Q,["button","root"]),prefixCls:G,type:"search",size:Y,variant:x,onPressEnter:e=>{_.current||h||(k?.(e),et(e))},onCompositionStart:e=>{_.current=!0,w?.(e)},onCompositionEnd:e=>{_.current=!1,A?.(e)},onChange:e=>{e?.target&&"click"===e.type&&y&&y(e.target.value,e,{source:"clear"}),C?.(e)},disabled:v},Object.keys(es));return a.createElement(D.Ay,{className:ei,style:{...Q.root,...T,...m},...es,hidden:S},a.createElement(c.A,{ref:(0,p.K4)(Z,t),...ec}),r)});var q=r(1210);let H=c.A;H.Group=e=>{let{getPrefixCls:t,direction:r}=(0,a.useContext)(o.QO),{prefixCls:c,className:u}=e,p=t("input-group",c),d=t("input"),[m,f]=(0,s.Ay)(d),b=(0,n.$)(p,f,{[`${p}-lg`]:"large"===e.size,[`${p}-sm`]:"small"===e.size,[`${p}-compact`]:e.compact,[`${p}-rtl`]:"rtl"===r},m,u),$=(0,a.useContext)(l.$W),g=(0,a.useMemo)(()=>({...$,isFormItemInput:!1}),[$]);return a.createElement(l.$W.Provider,{value:g},a.createElement(i.A.Compact,{className:b,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children))},H.Search=W,H.TextArea=q.A,H.Password=T,H.OTP=A;let j=H},8263:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(97109),n=r(24983),o=r(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e}).apply(this,arguments)}let i=a.forwardRef((e,t)=>a.createElement(o.A,l({},e,{ref:t,icon:n.A})))},24983:(e,t)=>{t.A={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"}},62116:(e,t,r)=>{r.d(t,{A:()=>n});var a=r(97109);function n(e,t){let r=(0,a.useRef)([]),n=()=>{r.current.push(setTimeout(()=>{e.current?.input&&e.current?.input.getAttribute("type")==="password"&&e.current?.input.hasAttribute("value")&&e.current?.input.removeAttribute("value")}))};return(0,a.useEffect)(()=>(t&&n(),()=>r.current.forEach(e=>{e&&clearTimeout(e)})),[]),n}},70542:(e,t)=>{t.A={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"}},78902:(e,t,r)=>{r.d(t,{A:()=>y});var a=r(97109),n=r(39019),o=r(42644),l=r(3638),i=r(44137),s=r(76631),c=r(92162),u=r(4034),p=r(74567),d=r(6831),m=r(632),f=r(27273),b=r(55359),$=r(73134),g=r(49644),h=r(62116),v=r(44390);let y=(0,a.forwardRef)((e,t)=>{let{prefixCls:r,bordered:y=!0,status:C,size:w,disabled:A,onBlur:x,onFocus:k,suffix:E,allowClear:z,addonAfter:S,addonBefore:N,className:I,style:M,styles:P,rootClassName:T,onChange:F,classNames:O,variant:R,...B}=e,{getPrefixCls:D,direction:X,allowClear:L,autoComplete:W,className:q,style:H,classNames:j,styles:Q}=(0,p.TP)("input"),_=D("input",r),V=(0,a.useRef)(null),G=(0,m.A)(_),[K,J]=(0,v.MG)(_,T);(0,v.Ay)(_,G);let{compactSize:U,compactItemClassnames:Y}=(0,g.RQ)(_,X),Z=(0,f.A)(e=>w??U??e),ee=a.useContext(d.A),et=A??ee,er={...e,size:Z,disabled:et},ea=(0,c.XT)(H),en=(0,c.XT)(M),[eo,el]=(0,c.AV)([j,O],[Q,ea,P,en],{props:er}),{status:ei,hasFeedback:es,feedbackIcon:ec}=(0,a.useContext)(b.$W),eu=(0,u.v)(ei,C),ep=function(e){return!!(e.prefix||e.suffix||e.allowClear||e.showCount)}(e)||!!es;(0,a.useRef)(ep);let ed=(0,h.A)(V,!0),em=(es||E)&&a.createElement(a.Fragment,null,E,es&&ec),ef=(0,s.O)({allowClear:z,contextAllowClear:L,componentName:"Input"}),[eb,e$]=(0,$.A)("input",R,y);return a.createElement(n.Ay,{ref:(0,o.K4)(t,V),prefixCls:_,autoComplete:W,...B,disabled:et,onBlur:e=>{ed(),x?.(e)},onFocus:e=>{ed(),k?.(e)},style:el.root,styles:el,suffix:em,allowClear:ef,className:(0,l.$)(I,T,J,G,Y,q,eo.root),onChange:e=>{ed(),F?.(e)},addonBefore:N&&a.createElement(i.A,{form:!0,space:!0},N),addonAfter:S&&a.createElement(i.A,{form:!0,space:!0},S),classNames:{...eo,input:(0,l.$)({[`${_}-sm`]:"small"===Z,[`${_}-lg`]:"large"===Z,[`${_}-rtl`]:"rtl"===X},eo.input,K),variant:(0,l.$)({[`${_}-${eb}`]:e$},(0,u.L)(_,eu)),affixWrapper:(0,l.$)({[`${_}-affix-wrapper-sm`]:"small"===Z,[`${_}-affix-wrapper-lg`]:"large"===Z,[`${_}-affix-wrapper-rtl`]:"rtl"===X},K),wrapper:(0,l.$)({[`${_}-group-rtl`]:"rtl"===X},K),groupWrapper:(0,l.$)({[`${_}-group-wrapper-sm`]:"small"===Z,[`${_}-group-wrapper-lg`]:"large"===Z,[`${_}-group-wrapper-rtl`]:"rtl"===X,[`${_}-group-wrapper-${eb}`]:e$},(0,u.L)(`${_}-group-wrapper`,eu,es),K)}})})},96285:(e,t,r)=>{r.d(t,{Ay:()=>s,gd:()=>i});var a=r(15561),n=r(7961),o=r(16666),l=r(28403);function i(e,t){var r=(0,l.oX)(t,{checkboxCls:`.${e}`,checkboxSize:t.controlInteractiveSize});let{checkboxCls:i,checkboxSize:s,lineWidth:c}=r,u=`${i}-wrapper`,p="@media (hover: hover) and (pointer: fine)";return[{[`${i}-group`]:{...(0,n.dF)(r),display:"inline-flex",flexWrap:"wrap",columnGap:r.marginXS,[`> ${r.antCls}-row`]:{flex:1}},[u]:{...(0,n.dF)(r),display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${u}`]:{marginInlineStart:0}},[i]:{...(0,n.dF)(r),position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",boxSizing:"border-box",display:"block",width:s,height:s,direction:"ltr",backgroundColor:r.colorBgContainer,border:`${(0,a.zA)(c)} ${r.lineType} ${r.colorBorder}`,borderRadius:r.borderRadiusSM,borderCollapse:"separate",transition:`all ${r.motionDurationSlow}`,flex:"none",...(0,o.V)(),"&:after":{boxSizing:"border-box",position:"absolute",top:`calc(${s} / 2 - ${c})`,insetInlineStart:`calc(${s} / 4 - ${c})`,display:"table",width:r.calc(s).div(14).mul(5).equal(),height:r.calc(s).div(14).mul(8).equal(),border:`${(0,a.zA)(r.lineWidthBold)} solid ${r.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${r.motionDurationFast} ${r.motionEaseInBack}, opacity ${r.motionDurationFast}`,...(0,o.V)()},[`${i}-input`]:{position:"absolute",inset:`calc(-1 * (${c}))`,zIndex:1,cursor:"pointer",opacity:0,margin:0},[`&:has(${i}-input:focus-visible)`]:(0,n.jk)(r),"& + span":{paddingInlineStart:r.paddingXS,paddingInlineEnd:r.paddingXS}}},{[p]:{[`
2
+ ${u}:not(${u}-disabled),
3
+ ${i}:not(${i}-disabled)
4
+ `]:{[`&:hover ${i}`]:{borderColor:r.colorPrimary}},[`${u}:not(${u}-disabled)`]:{[`&:hover ${i}-checked:not(${i}-disabled)`]:{backgroundColor:r.colorPrimaryHover,borderColor:"transparent"}}}},{[`${i}-checked`]:{backgroundColor:r.colorPrimary,borderColor:r.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${r.motionDurationMid} ${r.motionEaseOutBack} ${r.motionDurationFast}`,...(0,o.V)()},[p]:{[`&:not(${i}-disabled):hover`]:{backgroundColor:r.colorPrimaryHover,borderColor:"transparent"}}}},{[i]:{"&-indeterminate":{backgroundColor:r.colorBgContainer,borderColor:r.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:r.calc(r.fontSizeLG).div(2).equal(),height:r.calc(r.fontSizeLG).div(2).equal(),backgroundColor:r.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'},[p]:{[`&:not(${i}-disabled):hover`]:{backgroundColor:r.colorBgContainer,borderColor:r.colorPrimary}}}}},{[`${u}-disabled`]:{cursor:"not-allowed"},[`${i}-disabled`]:{[`&, ${i}-input`]:{cursor:"not-allowed",pointerEvents:"none"},background:r.colorBgContainerDisabled,borderColor:r.colorBorder,"&:after":{borderColor:r.colorTextDisabled},"& + span":{color:r.colorTextDisabled},[`&${i}-indeterminate::after`]:{background:r.colorTextDisabled}}}]}let s=(0,r(10540).OF)("Checkbox",(e,{prefixCls:t})=>[i(t,e)])}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[563],{7225:(e,t,n)=>{n.d(t,{A:()=>l});var i=n(97109),o=n(23830),a=n(88483);function r(){return(r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}let l=i.forwardRef((e,t)=>i.createElement(a.A,r({},e,{ref:t,icon:o.A})))},23830:(e,t)=>{t.A={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"}},42700:(e,t,n)=>{let i;n.d(t,{A:()=>z});var o=n(97109),a=n(3638),r=n(92162),l=n(74567),s=n(27273),c=n(52690),d=n(42644);let m=80*Math.PI,p=e=>{let{dotClassName:t,style:n,hasCircleCls:i}=e;return o.createElement("circle",{className:(0,a.$)(`${t}-circle`,{[`${t}-circle-bg`]:i}),r:40,cx:50,cy:50,strokeWidth:20,style:n})},u=({percent:e,prefixCls:t})=>{let n=`${t}-dot`,i=`${n}-holder`,r=`${i}-hidden`,[l,s]=o.useState(!1);(0,d.Nf)(()=>{0!==e&&s(!0)},[0!==e]);let c=Math.max(Math.min(e,100),0);if(!l)return null;let u={strokeDashoffset:`${m/4}`,strokeDasharray:`${m*c/100} ${m*(100-c)/100}`};return o.createElement("span",{className:(0,a.$)(i,`${n}-progress`,{[r]:c<=0})},o.createElement("svg",{viewBox:"0 0 100 100",role:"progressbar","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":c},o.createElement(p,{dotClassName:n,hasCircleCls:!0}),o.createElement(p,{dotClassName:n,style:u})))};function f(e){let{prefixCls:t,percent:n=0,className:i,style:r}=e,l=`${t}-dot`,s=`${l}-holder`,c=`${s}-hidden`;return o.createElement(o.Fragment,null,o.createElement("span",{className:(0,a.$)(s,i,n>0&&c),style:r},o.createElement("span",{className:(0,a.$)(l,`${t}-dot-spin`)},[1,2,3,4].map(e=>o.createElement("i",{className:`${t}-dot-item`,key:e})))),o.createElement(u,{prefixCls:t,percent:n}))}function h(e){let{prefixCls:t,indicator:n,percent:i,className:r,style:l}=e,s=`${t}-dot`;return n&&o.isValidElement(n)?(0,c.Ob)(n,e=>({className:(0,a.$)(e.className,s,r),style:{...e.style,...l},percent:i})):o.createElement(f,{prefixCls:t,percent:i,className:r,style:l})}var $=n(15561),g=n(7961),v=n(10540),y=n(28403);let b=new $.Mo("antSpinMove",{to:{opacity:1}}),E=new $.Mo("antRotate",{to:{transform:"rotate(405deg)"}}),N=(0,v.OF)("Spin",e=>{let t=(0,y.oX)(e,{spinDotDefault:e.colorTextDescription});return[(e=>{let{componentCls:t}=e,n=`${t}-section`;return{[t]:{...(0,g.dF)(e),position:"relative","&-rtl":{direction:"rtl"},[`&${n}, ${n}`]:{display:"flex",alignItems:"center",flexDirection:"column",gap:e.paddingSM,color:e.colorPrimary},[`&${n}`]:{display:"inline-flex"},[n]:{position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)",zIndex:1},[`${t}-description`]:{fontSize:e.fontSize,lineHeight:1},[`${t}-container`]:{position:"relative",transition:`opacity ${e.motionDurationSlow}`,"&::after":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,zIndex:10,width:"100%",height:"100%",background:e.colorBgContainer,opacity:0,transition:`all ${e.motionDurationSlow}`,content:'""',pointerEvents:"none"}},"&-spinning":{[`${t}-description`]:{textShadow:`0 0px 5px ${e.colorBgContainer}`},[`${t}-container`]:{clear:"both",opacity:.5,userSelect:"none",pointerEvents:"none","&::after":{opacity:.4,pointerEvents:"auto"}}},"&-fullscreen":{position:"fixed",inset:0,backgroundColor:e.colorBgMask,zIndex:e.zIndexPopupBase,opacity:0,pointerEvents:"none",transition:`all ${e.motionDurationMid}`,[`&${t}-spinning`]:{opacity:1,pointerEvents:"auto"},[n]:{color:e.colorWhite,[`${t}-description`]:{color:e.colorTextLightSolid}}}}}})(t),(e=>{let{componentCls:t,antCls:n,motionDurationSlow:i}=e,[o,a]=(0,v.PN)(n,"spin");return{[t]:{[o("dot-holder-size")]:e.dotSize,[o("dot-item-size")]:`calc((${a("dot-holder-size")} - ${e.marginXXS} / 2) / 2)`,[`${t}-dot`]:{"&-holder":{width:"1em",height:"1em",fontSize:a("dot-holder-size"),display:"inline-block",transition:["transform","opacity"].map(e=>`${e} ${i} ease`).join(", "),transformOrigin:"50% 50%",lineHeight:1,"&-hidden":{transform:"scale(0.3)",opacity:0}},position:"relative",display:"inline-block",fontSize:a("dot-holder-size"),width:"1em",height:"1em","&-spin":{transform:"rotate(45deg)",animationName:E,animationDuration:"1.2s",animationIterationCount:"infinite",animationTimingFunction:"linear"},"&-item":{position:"absolute",display:"block",width:a("dot-item-size"),height:a("dot-item-size"),background:"currentColor",borderRadius:"100%",transform:"scale(0.75)",transformOrigin:"50% 50%",opacity:.3,animationName:b,animationDuration:"1s",animationIterationCount:"infinite",animationTimingFunction:"linear",animationDirection:"alternate","&:nth-child(1)":{top:0,insetInlineStart:0,animationDelay:"0s"},"&:nth-child(2)":{top:0,insetInlineEnd:0,animationDelay:"0.4s"},"&:nth-child(3)":{insetInlineEnd:0,bottom:0,animationDelay:"0.8s"},"&:nth-child(4)":{bottom:0,insetInlineStart:0,animationDelay:"1.2s"}},"&-progress":{position:"absolute",left:"50%",top:0,transform:"translateX(-50%)"},"&-circle":{strokeLinecap:"round",transition:["stroke-dashoffset","stroke-dasharray","stroke","stroke-width","opacity"].map(e=>`${e} ${i} ease`).join(","),fillOpacity:0,stroke:"currentcolor"},"&-circle-bg":{stroke:e.colorFillSecondary}}}}})(t),(e=>{let{componentCls:t}=e,[n]=(0,v.PN)(e.antCls,"spin");return{[t]:{"&-sm":{[n("dot-holder-size")]:e.dotSizeSM},"&-lg":{[n("dot-holder-size")]:e.dotSizeLG}}}})(t)]},e=>{let{controlHeightLG:t,controlHeight:n}=e;return{contentHeight:400,dotSize:t/2,dotSizeSM:.35*t,dotSizeLG:n}}),S=[[30,.05],[70,.03],[96,.01]],k=e=>{let{prefixCls:t,spinning:n=!0,delay:c=0,className:d,rootClassName:m,size:p,tip:u,description:f,wrapperClassName:$,style:g,children:v,fullscreen:y=!1,indicator:b,percent:E,classNames:k,styles:z,...x}=e,{getPrefixCls:w,direction:D,indicator:C,className:I,style:M,classNames:O,styles:T}=(0,l.TP)("spin"),A=w("spin",t),[F,H]=N(A),[P,_]=o.useState(()=>n&&!function(e,t){return!!e&&!!t&&!Number.isNaN(Number(t))}(n,c)),B=function(e,t){let[n,i]=o.useState(0),a=o.useRef(null),r="auto"===t;return o.useEffect(()=>(r&&e&&(i(0),a.current=setInterval(()=>{i(e=>{let t=100-e;for(let n=0;n<S.length;n+=1){let[i,o]=S[n];if(e<=i)return e+t*o}return e})},200)),()=>{a.current&&(clearInterval(a.current),a.current=null)}),[r,e]),r?n:t}(P,E);o.useEffect(()=>{if(n){let e=function(e,t,n){var i=void 0;return function(e,t,n){var i,o=n||{},a=o.noTrailing,r=void 0!==a&&a,l=o.noLeading,s=void 0!==l&&l,c=o.debounceMode,d=void 0===c?void 0:c,m=!1,p=0;function u(){i&&clearTimeout(i)}function f(){for(var n=arguments.length,o=Array(n),a=0;a<n;a++)o[a]=arguments[a];var l=this,c=Date.now()-p;function f(){p=Date.now(),t.apply(l,o)}function h(){i=void 0}!m&&(s||!d||i||f(),u(),void 0===d&&c>e?s?(p=Date.now(),r||(i=setTimeout(d?h:f,e))):f():!0!==r&&(i=setTimeout(d?h:f,void 0===d?e-c:e)))}return f.cancel=function(e){var t=(e||{}).upcomingOnly;u(),m=!(void 0!==t&&t)},f}(e,t,{debounceMode:!1!==(void 0!==i&&i)})}(c,()=>{_(!0)});return e(),()=>{e?.cancel?.()}}_(!1)},[c,n]);let L=(0,s.A)(e=>p??e),j=f??u,V={...e,size:L,spinning:P,tip:j,description:j,fullscreen:y,children:v,percent:B},[R,X]=(0,r.AV)([O,k],[T,z],{props:V}),G=b??C??i,W=void 0!==v,q=W||y,J=o.createElement(o.Fragment,null,o.createElement(h,{className:(0,a.$)(R.indicator),style:X.indicator,prefixCls:A,indicator:G,percent:B}),j&&o.createElement("div",{className:(0,a.$)(`${A}-description`,R.tip,R.description),style:{...X.tip,...X.description}},j));return o.createElement("div",{className:(0,a.$)(A,{[`${A}-sm`]:"small"===L,[`${A}-lg`]:"large"===L,[`${A}-spinning`]:P,[`${A}-rtl`]:"rtl"===D,[`${A}-fullscreen`]:y},m,R.root,y&&R.mask,q?$:[`${A}-section`,R.section],I,d,F,H),style:{...X.root,...!q?X.section:{},...y?X.mask:{},...M,...g},"aria-live":"polite","aria-busy":P,...x},P&&(q?o.createElement("div",{className:(0,a.$)(`${A}-section`,R.section),style:X.section},J):J),W&&o.createElement("div",{className:(0,a.$)(`${A}-container`,R.container),style:X.container},v))};k.setDefaultIndicator=e=>{i=e};let z=k}}]);
@@ -0,0 +1,4 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[717],{24716:(e,r,t)=>{t.d(r,{A:()=>m});var n=t(97109),a=t(3638),o=t(4034),l=t(74567),i=t(49644),s=t(7961),d=t(77032),c=t(10540);let u=(0,c.OF)("Addon",e=>[(e=>{let{componentCls:r,borderRadius:t,paddingSM:n,colorBorder:a,paddingXS:o,fontSizeLG:l,fontSizeSM:i,borderRadiusLG:d,borderRadiusSM:u,colorBgContainerDisabled:m,lineWidth:p,antCls:f}=e,[g,y]=(0,c.PN)(f,"space-addon");return{[r]:[{...(0,s.dF)(e),display:"inline-flex",alignItems:"center",gap:0,whiteSpace:"nowrap",paddingInline:n,margin:0,borderWidth:p,borderStyle:"solid",borderRadius:t,"&:hover":{zIndex:0},[`&${r}-disabled`]:{color:e.colorTextDisabled},"&-large":{fontSize:l,borderRadius:d},"&-small":{paddingInline:o,borderRadius:u,fontSize:i},"&-compact-last-item":{borderEndStartRadius:0,borderStartStartRadius:0},"&-compact-first-item":{borderEndEndRadius:0,borderStartEndRadius:0},"&-compact-item:not(:first-child):not(:last-child)":{borderRadius:0},"&-compact-item:not(:last-child)":{borderInlineEndWidth:0},"&-compact-item:not(:first-child)":{borderInlineStartWidth:0}},{[g("addon-border-color")]:a,[g("addon-background")]:m,[g("addon-border-color-outlined")]:a,[g("addon-background-filled")]:m,borderColor:y("addon-border-color"),background:y("addon-background"),"&-variant-outlined":{[g("addon-border-color")]:y("addon-border-color-outlined")},"&-variant-filled":{[g("addon-border-color")]:"transparent",[g("addon-background")]:y("addon-background-filled"),[`&${r}-disabled`]:{[g("addon-border-color")]:a,[g("addon-background")]:m}},"&-variant-borderless":{border:"none",background:"transparent"},"&-variant-underlined":{border:"none",background:"transparent"}},{"&-status-error":{[g("addon-border-color-outlined")]:e.colorError,[g("addon-background-filled")]:e.colorErrorBg,color:e.colorError},"&-status-warning":{[g("addon-border-color-outlined")]:e.colorWarning,[g("addon-background-filled")]:e.colorWarningBg,color:e.colorWarning}}]}})(e),(0,d.G)(e,{focus:!1})]),m=n.forwardRef((e,r)=>{let{className:t,children:s,style:d,prefixCls:c,variant:m="outlined",disabled:p,status:f,...g}=e,{getPrefixCls:y,direction:b}=n.useContext(l.QO),v=y("space-addon",c),[E,S]=u(v),{compactItemClassnames:$,compactSize:h}=(0,i.RQ)(v,b),w=(0,o.L)(v,f),A=(0,a.$)(v,E,$,S,`${v}-variant-${m}`,w,{[`${v}-${h}`]:h,[`${v}-disabled`]:p},t);return n.createElement("div",{ref:r,className:A,style:d,...g},s)})},33442:(e,r,t)=>{t.d(r,{A:()=>$});var n=t(97109),a=t(42644),o=t(3638),l=t(26047);function i(e){return["small","middle","medium","large"].includes(e)}function s(e){return!!e&&(0,l.Et)(e)}var d=t(5045),c=t(92162),u=t(74567),m=t(24716),p=t(49644);let f=n.createContext({latestIndex:0}),g=f.Provider,y=e=>{let{className:r,prefix:t,index:a,children:i,separator:s,style:d,classNames:c,styles:u}=e,{latestIndex:m}=n.useContext(f);return(0,l.AZ)(i)?n.createElement(n.Fragment,null,n.createElement("div",{className:r,style:d},i),a<m&&s&&n.createElement("span",{className:(0,o.$)(`${t}-item-separator`,c?.separator),style:u?.separator},s)):null};var b=t(10540),v=t(28403);let E=(0,b.OF)("Space",e=>{let r=(0,v.oX)(e,{spaceGapSmallSize:e.paddingXS,spaceGapMiddleSize:e.padding,spaceGapLargeSize:e.paddingLG});return[(e=>{let{componentCls:r,antCls:t}=e;return{[r]:{display:"inline-flex","&-rtl":{direction:"rtl"},"&-vertical":{flexDirection:"column"},"&-align":{flexDirection:"column","&-center":{alignItems:"center"},"&-start":{alignItems:"flex-start"},"&-end":{alignItems:"flex-end"},"&-baseline":{alignItems:"baseline"}},[`${r}-item:empty`]:{display:"none"},[`${r}-item > ${t}-badge-not-a-wrapper:only-child`]:{display:"block"}}}})(r),(e=>{let{componentCls:r}=e;return{[r]:{"&-gap-row-small":{rowGap:e.spaceGapSmallSize},"&-gap-row-medium, &-gap-row-middle":{rowGap:e.spaceGapMiddleSize},"&-gap-row-large":{rowGap:e.spaceGapLargeSize},"&-gap-col-small":{columnGap:e.spaceGapSmallSize},"&-gap-col-medium, &-gap-col-middle":{columnGap:e.spaceGapMiddleSize},"&-gap-col-large":{columnGap:e.spaceGapLargeSize}}}})(r)]},()=>({}),{resetStyle:!1}),S=n.forwardRef((e,r)=>{let{getPrefixCls:t,direction:m,size:p,className:f,style:b,classNames:v,styles:S}=(0,u.TP)("space"),{size:$=p??"small",align:h,className:w,rootClassName:A,children:O,direction:x,orientation:k,prefixCls:M,split:I,separator:N,style:R,vertical:G,wrap:z=!1,classNames:C,styles:X,...K}=e,[Y,_]=Array.isArray($)?$:[$,$],D=i(_),L=i(Y),P=s(_),F=s(Y),W=(0,a.$r)(O,{keepEmpty:!0}),[T,Q]=(0,d.M)(k,G,x),U=void 0!==h||Q?h:"center",j=N??I,V=t("space",M),[Z,B]=E(V),J={...e,size:$,orientation:T,align:U},[q,H]=(0,c.AV)([v,C],[S,X],{props:J}),ee=(0,o.$)(V,f,Z,`${V}-${T}`,{[`${V}-rtl`]:"rtl"===m,[`${V}-align-${U}`]:U,[`${V}-gap-row-${_}`]:D,[`${V}-gap-col-${Y}`]:L},w,A,B,q.root),er=(0,o.$)(`${V}-item`,q.item),et=W.map((e,r)=>{let t=e?.key||`${er}-${r}`;return n.createElement(y,{prefix:V,classNames:q,styles:H,className:er,key:t,index:r,separator:j,style:H.item},e)}),en=n.useMemo(()=>({latestIndex:W.reduce((e,r,t)=>(0,l.AZ)(r)?t:e,0)}),[W]);if(0===W.length)return null;let ea={};return z&&(ea.flexWrap="wrap"),!L&&F&&(ea.columnGap=Y),!D&&P&&(ea.rowGap=_),n.createElement("div",{ref:r,className:ee,style:{...ea,...H.root,...b,...R},...K},n.createElement(g,{value:en},et))});S.Compact=p.Ay,S.Addon=m.A;let $=S},61910:(e,r,t)=>{t.d(r,{A:()=>S});var n=t(64446),a=t(97109),o=t(3638),l=t(20008),i=t(73473);let s=void 0,d=a.forwardRef(function(e,r){let t,{prefixCls:i,invalidate:d,item:c,renderItem:u,responsive:m,responsiveDisabled:p,registerSize:f,itemKey:g,className:y,style:b,children:v,display:E,order:S,component:$="div",...h}=e,w=m&&!E;a.useEffect(()=>()=>{f(g,null)},[]);let A=u&&c!==s?u(c,{index:S}):v;d||(t={opacity:+!w,height:w?0:s,overflowY:w?"hidden":s,order:m?S:s,pointerEvents:w?"none":s,position:w?"absolute":s});let O={};w&&(O["aria-hidden"]=!0);let x=a.createElement($,(0,n.A)({className:(0,o.$)(!d&&i,y),style:{...t,...b}},O,h,{ref:r}),A);return m&&(x=a.createElement(l.Ay,{onResize:({offsetWidth:e})=>{f(g,e)},disabled:p},x)),x});var c=t(19750),u=t(61222),m=t(49127);function p(e,r){let[t,n]=a.useState(r);return[t,(0,c.A)(r=>{e(()=>{n(r)})})]}let f=a.createContext(null),g=a.forwardRef((e,r)=>{let t=a.useContext(f);if(!t){let{component:t="div",...o}=e;return a.createElement(t,(0,n.A)({},o,{ref:r}))}let{className:l,...i}=t,{className:s,...c}=e;return a.createElement(f.Provider,{value:null},a.createElement(d,(0,n.A)({ref:r,className:(0,o.$)(l,s)},i,c)))}),y="responsive",b="invalidate";function v(e){return`+ ${e.length} ...`}let E=a.forwardRef(function(e,r){let{prefixCls:t="rc-overflow",data:s=[],renderItem:c,renderRawItem:g,itemKey:E,itemWidth:S=10,ssr:$,style:h,className:w,maxCount:A,renderRest:O,renderRawRest:x,prefix:k,suffix:M,component:I="div",itemComponent:N,onVisibleChange:R,...G}=e,z="full"===$,C=function(){let e=a.useRef(null);return r=>{if(!e.current){e.current=[];var t=()=>{(0,u.unstable_batchedUpdates)(()=>{e.current.forEach(e=>{e()}),e.current=null})};if("undefined"==typeof MessageChannel)(0,m.A)(t);else{let e=new MessageChannel;e.port1.onmessage=()=>t(),e.port2.postMessage(void 0)}}e.current.push(r)}}(),[X,K]=p(C,null),Y=X||0,[_,D]=p(C,new Map),[L,P]=p(C,0),[F,W]=p(C,0),[T,Q]=p(C,0),[U,j]=p(C,0),[V,Z]=(0,a.useState)(null),[B,J]=(0,a.useState)(null),q=a.useMemo(()=>null===B&&z?Number.MAX_SAFE_INTEGER:B||0,[B,X]),[H,ee]=(0,a.useState)(!1),er=`${t}-item`,et=Math.max(L,F),en=A===y,ea=s.length&&en,eo=A===b,el=ea||"number"==typeof A&&s.length>A,ei=(0,a.useMemo)(()=>{let e=s;return ea?e=null===X&&z?s:s.slice(0,Math.min(s.length,Y/S)):"number"==typeof A&&(e=s.slice(0,A)),e},[s,S,X,A,ea]),es=(0,a.useMemo)(()=>ea?s.slice(q+1):s.slice(ei.length),[s,ei,ea,q]),ed=(0,a.useCallback)((e,r)=>"function"==typeof E?E(e):(E&&e?.[E])??r,[E]),ec=(0,a.useCallback)(c||(e=>e),[c]);function eu(e,r,t){(B!==e||void 0!==r&&r!==V)&&(J(e),t||(ee(e<s.length-1),R?.(e)),void 0!==r&&Z(r))}function em(e,r){D(t=>{let n=new Map(t);return null===r?n.delete(e):n.set(e,r),n})}function ep(e){return _.get(ed(ei[e],e))}(0,i.A)(()=>{if(Y&&"number"==typeof et&&ei){let e=T+U,r=ei.length,t=r-1;if(!r)return void eu(0,null);for(let n=0;n<r;n+=1){let r=ep(n);if(z&&(r=r||0),void 0===r){eu(n-1,void 0,!0);break}if(e+=r,0===t&&e<=Y||n===t-1&&e+ep(t)<=Y){eu(t,null);break}if(e+et>Y){eu(n-1,e-r-U+F);break}}M&&ep(0)+U>Y&&Z(null)}},[Y,_,F,T,U,ed,ei]);let ef=H&&!!es.length,eg={};null!==V&&ea&&(eg={position:"absolute",top:0,insetInlineStart:V});let ey={prefixCls:er,responsive:ea,component:N,invalidate:eo},eb=g?(e,r)=>{let t=ed(e,r);return a.createElement(f.Provider,{key:t,value:{...ey,order:r,item:e,itemKey:t,registerSize:em,display:r<=q}},g(e,r))}:(e,r)=>{let t=ed(e,r);return a.createElement(d,(0,n.A)({},ey,{order:r,key:t,item:e,renderItem:ec,itemKey:t,registerSize:em,display:r<=q}))},ev={order:ef?q:Number.MAX_SAFE_INTEGER,className:`${er}-rest`,registerSize:function(e,r){W(r),P(F)},display:ef},eE=O||v,eS=x?a.createElement(f.Provider,{value:{...ey,...ev}},x(es)):a.createElement(d,(0,n.A)({},ey,ev),"function"==typeof eE?eE(es):eE),e$=a.createElement(I,(0,n.A)({className:(0,o.$)(!eo&&t,w),style:h,ref:r},G),k&&a.createElement(d,(0,n.A)({},ey,{responsive:en,responsiveDisabled:!ea,order:-1,className:`${er}-prefix`,registerSize:function(e,r){Q(r)},display:!0}),k),ei.map(eb),el?eS:null,M&&a.createElement(d,(0,n.A)({},ey,{responsive:en,responsiveDisabled:!ea,order:q,className:`${er}-suffix`,registerSize:function(e,r){j(r)},display:!0,style:eg}),M));return en?a.createElement(l.Ay,{onResize:function(e,r){K(r.clientWidth)},disabled:!ea},e$):e$});E.Item=g,E.RESPONSIVE=y,E.INVALIDATE=b;let S=E},64446:(e,r,t)=>{t.d(r,{A:()=>n});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(null,arguments)}},86827:(e,r,t)=>{t.d(r,{EZ:()=>m,J6:()=>c,L2:()=>u,YU:()=>s,_j:()=>f,gx:()=>d,nP:()=>i,ox:()=>o,vR:()=>l});var n=t(15561),a=t(5688);let o=new n.Mo("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),l=new n.Mo("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),i=new n.Mo("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),s=new n.Mo("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),d=new n.Mo("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),c=new n.Mo("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),u=new n.Mo("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),m=new n.Mo("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),p={"slide-up":{inKeyframes:o,outKeyframes:l},"slide-down":{inKeyframes:i,outKeyframes:s},"slide-left":{inKeyframes:d,outKeyframes:c},"slide-right":{inKeyframes:u,outKeyframes:m}},f=(e,r)=>{let{antCls:t}=e,n=`${t}-${r}`,{inKeyframes:o,outKeyframes:l}=p[r];return[(0,a.b)(n,o,l,e.motionDurationMid),{[`
2
+ ${n}-enter,
3
+ ${n}-appear
4
+ `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[795],{27795:(e,t,s)=>{s.r(t),s.d(t,{default:()=>j});var l=s(65321),r=s(97109),a=s(48321),o=s(33442),i=s(85114),n=s(99605),c=s(99811),d=s(13114),v=s(29071),x=s(26631),m=s(84742),u=s(38762),g=s(24810),p=s(6578);function h(e){let{title:t,value:s,subtext:r,icon:a,colorClass:o,animationClass:i}=e;return(0,l.jsxs)("div",{className:"p-4 animateFadeIn flex flex-col justify-between border-l-2 border-transparent hover:border-[var(--colorBrand)] transition-colors ".concat(i||""),style:{opacity:0},children:[(0,l.jsxs)("div",{className:"flex items-start justify-between mb-2",children:[(0,l.jsx)("div",{className:"text-xs font-semibold text-[var(--colorTextSecondary)] tracking-wide uppercase",children:t}),a&&(0,l.jsx)("div",{className:o,style:{opacity:.7},children:a})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-3xl font-bold tracking-tight",children:s}),r&&(0,l.jsx)("div",{className:"text-xs mt-1 truncate font-medium",style:{color:"var(--colorTextTertiary)"},children:r})]})]})}function j(){var e,t,s,j,y,b,f,w,N,k,T,C,A,S,P,I,M,z,B,D;let F=(0,a.Vr)(),[L,U]=(0,r.useState)(null),[_,E]=(0,r.useState)(!0),[O,R]=(0,r.useState)(0),[W,H]=(0,r.useState)(0),[V,Z]=(0,r.useState)(0),[q,G]=(0,r.useState)(null),J=(0,r.useCallback)(async()=>{E(!0);try{let[e,t,s,l,r]=await Promise.all([(0,p.FC)(),(0,p.Z3)().catch(()=>[]),(0,p.lv)().catch(()=>({roles:[],configs:[]})),(0,p.Dl)().catch(()=>({templates:[]})),(0,p.II)().catch(()=>null)]);U(e),R(Array.isArray(t)?t.length:0);let a=Array.isArray(s.roles)?s.roles:[];H(a.filter(e=>"prompt"===e.type).length),Z(Array.isArray(l.templates)?l.templates.length:0),G(r)}catch(e){}finally{E(!1)}},[]);(0,r.useEffect)(()=>{J();let e=setInterval(()=>{J()},1e4);return()=>clearInterval(e)},[J]);let K=(null==L?void 0:L.tasks.total)?Math.round(L.tasks.success/L.tasks.total*100):0,Q=null==L||null==(e=L.models)?void 0:e[0],X=(null==L?void 0:L.logs.latestAt)?new Date(L.logs.latestAt).toLocaleString():F("overview.noLogs");return(0,l.jsxs)("div",{className:"space-y-12",children:[(0,l.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-end justify-between gap-4 pb-6 border-b border-[var(--borderColor)]",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h1",{className:"text-3xl font-extrabold tracking-tight text-[var(--colorText)] mb-2",children:F("overview.title")}),(0,l.jsx)("p",{className:"text-sm text-[var(--colorTextSecondary)]",children:F("overview.description")})]}),(0,l.jsxs)(o.A,{children:[(0,l.jsxs)("span",{className:"text-xs font-mono",style:{color:"var(--colorTextTertiary)"},children:[F("overview.updated"),": ",X]}),(0,l.jsx)(i.Ay,{type:"text",icon:(0,l.jsx)(c.A,{spin:_}),onClick:()=>{J()}})]})]}),(0,l.jsxs)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-8 divide-x border-b pb-8 border-[var(--borderColor)] divide-[var(--borderColor)] -mx-4 px-4",children:[(0,l.jsx)(h,{title:F("overview.uptime"),value:"".concat(L?Math.floor(L.uptime/3600):0,"h"),icon:(0,l.jsx)(d.A,{size:16}),colorClass:"text-[var(--colorBrand)]",animationClass:"stagger-1"}),(0,l.jsx)(h,{title:F("overview.tokensUsed"),value:(null!=(s=null==L?void 0:L.tokens.total)?s:0).toLocaleString(),subtext:"P ".concat(null!=(j=null==L?void 0:L.tokens.prompt)?j:0," / C ").concat(null!=(y=null==L?void 0:L.tokens.completion)?y:0),icon:(0,l.jsx)(v.A,{size:16}),colorClass:"text-[var(--colorWarn)]",animationClass:"stagger-2"}),(0,l.jsx)(h,{title:F("overview.tasksTotal"),value:(null!=(b=null==L?void 0:L.tasks.total)?b:0).toLocaleString(),subtext:"✓ ".concat(null!=(f=null==L?void 0:L.tasks.success)?f:0," | ✗ ").concat(null!=(w=null==L?void 0:L.tasks.failed)?w:0," | ↻ ").concat(null!=(N=null==L?void 0:L.tasks.running)?N:0),icon:(0,l.jsx)(x.A,{size:16}),colorClass:"text-[var(--colorInfo)]",animationClass:"stagger-3"}),(0,l.jsx)(h,{title:F("overview.successRate"),value:"".concat(K,"%"),icon:K>80?(0,l.jsx)(m.A,{size:16}):(0,l.jsx)(u.A,{size:16}),colorClass:K>80?"text-[var(--colorOk)]":"text-[var(--colorDanger)]",animationClass:"stagger-4"})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h2",{className:"text-sm font-semibold mb-6 uppercase tracking-wider text-[var(--colorTextSecondary)] animateFadeIn stagger-5",style:{opacity:0},children:F("overview.systemResources")}),(0,l.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-y-8 gap-x-4",children:[(0,l.jsx)(h,{title:F("overview.materialUnderstanding"),value:"自动",animationClass:"stagger-5"}),(0,l.jsx)(h,{title:F("overview.promptRoles"),value:W,animationClass:"stagger-5"}),(0,l.jsx)(h,{title:F("overview.templateCount"),value:V,animationClass:"stagger-5"}),(0,l.jsx)(h,{title:F("overview.semanticModel"),value:(null==q?void 0:q.provider)==="openai-compatible"?F("overview.external"):q?F("overview.local"):"—",subtext:null!=(k=null==q?void 0:q.model)?k:F("overview.notConfigured"),animationClass:"stagger-5"}),(0,l.jsx)(h,{title:F("overview.modelProviders"),value:O,animationClass:"stagger-5"}),(0,l.jsx)(h,{title:F("overview.auditLogs"),value:null!=(T=null==L?void 0:L.logs.events)?T:0,animationClass:"stagger-5"})]})]}),(0,l.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-12 pt-8 border-t border-[var(--borderColor)] animateFadeIn stagger-5",style:{opacity:0},children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-sm font-semibold mb-6 uppercase tracking-wider text-[var(--colorTextSecondary)]",children:F("overview.hardwareUsage")}),(0,l.jsxs)("div",{className:"space-y-6",children:[(0,l.jsxs)("div",{className:"flex items-center gap-6",children:[(0,l.jsx)(n.A,{type:"dashboard",percent:null!=(C=null==L?void 0:L.cpu.usagePercent)?C:0,size:64,strokeColor:(null!=(A=null==L?void 0:L.cpu.usagePercent)?A:0)>80?"var(--colorDanger)":"var(--colorText)",strokeWidth:10}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-sm font-medium text-[var(--colorTextSecondary)]",children:F("overview.cpuUsage")}),(0,l.jsxs)("div",{className:"text-xl font-bold",children:[null!=(S=null==L||null==(t=L.cpu.usagePercent)?void 0:t.toFixed(1))?S:"0.0","%"]}),(0,l.jsxs)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:[null!=(P=null==L?void 0:L.cpu.cores)?P:0," ",F("overview.cores")]})]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-6",children:[(0,l.jsx)(n.A,{type:"dashboard",percent:null!=(I=null==L?void 0:L.memory.usagePercent)?I:0,size:64,strokeColor:(null!=(M=null==L?void 0:L.memory.usagePercent)?M:0)>80?"var(--colorDanger)":"var(--colorTextSecondary)",strokeWidth:10}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-sm font-medium text-[var(--colorTextSecondary)]",children:F("overview.memoryUsage")}),(0,l.jsxs)("div",{className:"text-xl font-bold",children:[null!=(z=null==L?void 0:L.memory.usagePercent)?z:0,"%"]}),(0,l.jsxs)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:[null!=(B=null==L?void 0:L.memory.processMB)?B:0," MB / ",null!=(D=null==L?void 0:L.memory.totalMB)?D:0," MB"]})]})]})]})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-sm font-semibold mb-6 uppercase tracking-wider text-[var(--colorTextSecondary)]",children:F("overview.activityContext")}),(0,l.jsxs)("div",{className:"space-y-6",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)] mb-1",children:F("overview.topModel")}),Q?(0,l.jsxs)("div",{className:"font-semibold flex items-center gap-2",children:[(0,l.jsx)(g.A,{className:"text-[var(--colorTextSecondary)]"})," ",Q.model,(0,l.jsxs)("span",{className:"font-normal text-[var(--colorTextTertiary)] text-sm",children:["@",Q.provider]})]}):(0,l.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:F("overview.noDataAvailable")})]}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)] mb-3",children:F("overview.recentTaskTypes")}),(null==L?void 0:L.tasks.types)&&Object.keys(L.tasks.types).length>0?(0,l.jsx)("div",{className:"flex flex-wrap gap-2",children:Object.entries(L.tasks.types).sort((e,t)=>t[1]-e[1]).map(e=>{let[t,s]=e;return(0,l.jsxs)("div",{className:"px-2 py-1 rounded text-xs font-mono bg-[var(--colorBgHover)] text-[var(--colorTextSecondary)]",children:[t.slice(0,30)," ",(0,l.jsx)("span",{className:"ml-2 font-bold text-[var(--colorText)]",children:s})]},t)})}):(0,l.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:F("common.noData")})]})]})]})]})]})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[827],{69:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5L255.8 713.6l-62.3-62.3a8.19 8.19 0 00-11.4 0l-39.8 39.8a8.19 8.19 0 000 11.4l62.3 62.3-44.9 44.9-62.3-62.3a8.19 8.19 0 00-11.4 0l-39.8 39.8a8.19 8.19 0 000 11.4l110.3 111.2c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6A304.1 304.1 0 00608 720c167.9 0 304-136.1 304-304S775.9 112 608 112m161.2 465.2C726.2 620.3 668.9 644 608 644s-118.2-23.7-161.2-66.8C403.7 534.2 380 476.9 380 416s23.7-118.2 66.8-161.2c43-43.1 100.3-66.8 161.2-66.8s118.2 23.7 161.2 66.8c43.1 43 66.8 100.3 66.8 161.2s-23.7 118.2-66.8 161.2"}}]},name:"key",theme:"outlined"}},5450:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"}},10218:(e,t,n)=>{n.d(t,{A:()=>p,H:()=>m});var r=n(97109),i=n(4932),a=n(42644);let l=e=>"object"==typeof e&&null!=e&&1===e.nodeType,o=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,c=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return o(n.overflowY,t)||o(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},s=(e,t,n,r,i,a,l,o)=>a<e&&l>t||a>e&&l<t?0:a<=e&&o<=n||l>=t&&o>=n?a-e-r:l>t&&o<n||a<e&&o>n?l-t+i:0,u=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},d=(e,t)=>{var n,r,i,a;if("undefined"==typeof document)return[];let{scrollMode:o,block:d,inline:h,boundary:f,skipOverflowHiddenElements:m}=t,g="function"==typeof f?f:e=>e!==f;if(!l(e))throw TypeError("Invalid target");let p=document.scrollingElement||document.documentElement,v=[],b=e;for(;l(b)&&g(b);){if((b=u(b))===p){v.push(b);break}null!=b&&b===document.body&&c(b)&&!c(document.documentElement)||null!=b&&c(b,m)&&v.push(b)}let $=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,y=null!=(a=null==(i=window.visualViewport)?void 0:i.height)?a:innerHeight,{scrollX:w,scrollY:E}=window,{height:S,width:N,top:A,right:k,bottom:I,left:x}=e.getBoundingClientRect(),{top:M,right:C,bottom:z,left:R}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),O="start"===d||"nearest"===d?A-M:"end"===d?I+z:A+S/2-M+z,H="center"===h?x+N/2-R+C:"end"===h?k+C:x-R,T=[];for(let e=0;e<v.length;e++){let t=v[e],{height:n,width:r,top:i,right:a,bottom:l,left:u}=t.getBoundingClientRect();if("if-needed"===o&&A>=0&&x>=0&&I<=y&&k<=$&&(t===p&&!c(t)||A>=i&&I<=l&&x>=u&&k<=a))break;let f=getComputedStyle(t),m=parseInt(f.borderLeftWidth,10),g=parseInt(f.borderTopWidth,10),b=parseInt(f.borderRightWidth,10),M=parseInt(f.borderBottomWidth,10),C=0,z=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-m-b:0,_="offsetHeight"in t?t.offsetHeight-t.clientHeight-g-M:0,L="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,q="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(p===t)C="start"===d?O:"end"===d?O-y:"nearest"===d?s(E,E+y,y,g,M,E+O,E+O+S,S):O-y/2,z="start"===h?H:"center"===h?H-$/2:"end"===h?H-$:s(w,w+$,$,m,b,w+H,w+H+N,N),C=Math.max(0,C+E),z=Math.max(0,z+w);else{C="start"===d?O-i-g:"end"===d?O-l+M+_:"nearest"===d?s(i,l,n,g,M+_,O,O+S,S):O-(i+n/2)+_/2,z="start"===h?H-u-m:"center"===h?H-(u+r/2)+R/2:"end"===h?H-a+b+R:s(u,a,r,m,b+R,H,H+N,N);let{scrollLeft:e,scrollTop:o}=t;C=0===q?0:Math.max(0,Math.min(o+C/q,t.scrollHeight-n/q+_)),z=0===L?0:Math.max(0,Math.min(e+z/L,t.scrollWidth-r/L+R)),O+=o-C,H+=e-z}T.push({el:t,top:C,left:z})}return T};var h=n(26047),f=n(44624);function m(e){return(0,f.$r)(e).join("_")}function g(e,t){let n=t.getFieldInstance(e),r=(0,a.rb)(n);if(r)return r;let i=(0,f.kV)((0,f.$r)(e),t.__INTERNAL__.name);if(i)return document.getElementById(i)}function p(e){let[t]=(0,i.mN)(),n=r.useRef({}),a=r.useMemo(()=>e??{...t,__INTERNAL__:{itemRef:e=>t=>{let r=m(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:(e,t={})=>{let{focus:n,...r}=t,i=g(e,a);i&&(!function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(d(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:i,top:a,left:l}of d(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=a-n.top+n.bottom,t=l-n.left+n.right;i.scroll({top:e,left:t,behavior:r})}}(i,{scrollMode:"if-needed",block:"nearest",...r}),n&&a.focusField(e))},focusField:e=>{let t=a.getFieldInstance(e);(0,h.Tn)(t?.focus)?t.focus():g(e,a)?.focus?.()},getFieldInstance:e=>{let t=m(e);return n.current[t]}},[e,t]);return[a]}},13114:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(97109),i=n(5450),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:i.A})))},15437:(e,t,n)=>{n.d(t,{A:()=>r});let r=e=>{let{componentCls:t,antCls:n,motionDurationMid:r,motionEaseInOut:i}=e;return{[t]:{[`${n}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(e=>`${e} ${r} ${i}`).join(", ")} !important`}},[`${n}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(e=>`${e} ${r} ${i}`).join(", ")} !important`}}}}},19013:(e,t,n)=>{n.d(t,{C:()=>i});var r=n(97109);let i=()=>r.useReducer(e=>e+1,0)},19135:(e,t,n)=>{n.d(t,{Ay:()=>s,Gl:()=>o,ko:()=>c,ye:()=>l});var r=n(97109),i=n(7709),a=n(26047);let l=["xxxl","xxl","xl","lg","md","sm","xs"],o=[].concat(l).reverse(),c=(e,t)=>{if(t){for(let n of l)if(e[n]&&t?.[n]!==void 0)return t[n]}},s=()=>{let[,e]=(0,i.Ay)(),t=(e=>({xs:`(max-width: ${e.screenXSMax}px)`,sm:`(min-width: ${e.screenSM}px)`,md:`(min-width: ${e.screenMD}px)`,lg:`(min-width: ${e.screenLG}px)`,xl:`(min-width: ${e.screenXL}px)`,xxl:`(min-width: ${e.screenXXL}px)`,xxxl:`(min-width: ${e.screenXXXL}px)`}))((e=>{let t=[].concat(l).reverse();return t.forEach((n,r)=>{let i=n.toUpperCase(),a=`screen${i}Min`,l=`screen${i}`;if(!(e[a]<=e[l]))throw Error(`${a}<=${l} fails : !(${e[a]}<=${e[l]})`);if(r<t.length-1){let n=`screen${i}Max`;if(!(e[l]<=e[n]))throw Error(`${l}<=${n} fails : !(${e[l]}<=${e[n]})`);let a=t[r+1].toUpperCase(),o=`screen${a}Min`;if(!(e[n]<=e[o]))throw Error(`${n}<=${o} fails : !(${e[n]}<=${e[o]})`)}}),e})(e));return r.useMemo(()=>{let e=new Map,n=-1,r={};return{responsiveMap:t,matchHandlers:{},dispatch:t=>(r=t,e.forEach(e=>{e(r)}),e.size>=1),subscribe(t){return e.size||this.register(),n+=1,e.set(n,t),t(r),n},unsubscribe(t){e.delete(t),e.size||this.unregister()},register(){Object.entries(t).forEach(([e,t])=>{let n=({matches:t})=>{this.dispatch({...r,[e]:t})},i=window.matchMedia(t);(0,a.Tn)(i.addEventListener)&&i.addEventListener("change",n),this.matchHandlers[t]={mql:i,listener:n},n(i)})},unregister(){Object.values(t).forEach(e=>{let t=this.matchHandlers[e];(0,a.Tn)(t?.mql.removeEventListener)&&t.mql.removeEventListener("change",t?.listener)}),e.clear()}}},[t])}},29071:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(97109),i=n(78847),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:i.A})))},30289:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"}},41169:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(97109),i=n(42644);function a(e){let t=r.useRef(null),n=()=>{i.er.cancel(t.current),t.current=null};return[()=>{n(),t.current=(0,i.er)(()=>{t.current=null})},r=>{t.current&&(r.stopPropagation(),n()),e?.(r)}]}},44534:(e,t,n)=>{n.d(t,{A:()=>N});var r=n(97109),i=n(83914),a=n(3638),l=n(32565),o=n(99452);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let s=r.forwardRef(({prefixCls:e="rc-switch",className:t,checked:n,defaultChecked:i,disabled:s,loadingIcon:u,checkedChildren:d,unCheckedChildren:h,onClick:f,onChange:m,onKeyDown:g,styles:p,classNames:v,...b},$)=>{let[y,w]=(0,l.A)(i??!1,n);function E(e,t){let n=y;return s||(w(n=e),m?.(n,t)),n}let S=(0,a.$)(e,t,{[`${e}-checked`]:y,[`${e}-disabled`]:s});return r.createElement("button",c({},b,{type:"button",role:"switch","aria-checked":y,disabled:s,className:S,ref:$,onKeyDown:function(e){e.which===o.A.LEFT?E(!1,e):e.which===o.A.RIGHT&&E(!0,e),g?.(e)},onClick:function(e){let t=E(!y,e);f?.(t,e)}}),u,r.createElement("span",{className:`${e}-inner`},r.createElement("span",{className:(0,a.$)(`${e}-inner-checked`,v?.content),style:p?.content},d),r.createElement("span",{className:(0,a.$)(`${e}-inner-unchecked`,v?.content),style:p?.content},h)))});s.displayName="Switch";var u=n(42644),d=n(92162),h=n(38862),f=n(74567),m=n(6831),g=n(27273),p=n(15561),v=n(47252),b=n(7961),$=n(16666),y=n(10540),w=n(28403);let E=(0,y.OF)("Switch",e=>{let t=(0,w.oX)(e,{switchDuration:e.motionDurationMid,switchColor:e.colorPrimary,switchDisabledOpacity:e.opacityLoading,switchLoadingIconSize:e.calc(e.fontSizeIcon).mul(.75).equal(),switchLoadingIconColor:`rgba(0, 0, 0, ${e.opacityLoading})`,switchHandleActiveInset:"-30%"});return[(e=>{let{componentCls:t,trackHeight:n,trackMinWidth:r}=e;return{[t]:{...(0,b.dF)(e),position:"relative",display:"inline-block",boxSizing:"border-box",minWidth:r,height:n,lineHeight:(0,p.zA)(n),verticalAlign:"middle",background:e.colorTextQuaternary,border:"0",borderRadius:100,cursor:"pointer",transition:`all ${e.motionDurationMid}`,userSelect:"none",...(0,$.V)(),[`&:hover:not(${t}-disabled)`]:{background:e.colorTextTertiary},...(0,b.K8)(e),[`&${t}-checked`]:{background:e.switchColor,[`&:hover:not(${t}-disabled)`]:{background:e.colorPrimaryHover}},[`&${t}-loading, &${t}-disabled`]:{cursor:"not-allowed",opacity:e.switchDisabledOpacity,"*":{boxShadow:"none",cursor:"not-allowed"}},[`&${t}-rtl`]:{direction:"rtl"}}}})(t),(e=>{let{componentCls:t,trackHeight:n,trackPadding:r,innerMinMargin:i,innerMaxMargin:a,handleSize:l,switchDuration:o,calc:c}=e,s=`${t}-inner`,u=(0,p.zA)(c(l).add(c(r).mul(2)).equal()),d=(0,p.zA)(c(a).mul(2).equal());return{[t]:{[s]:{display:"block",overflow:"hidden",borderRadius:100,height:"100%",paddingInlineStart:a,paddingInlineEnd:i,transition:["padding-inline-start","padding-inline-end"].map(e=>`${e} ${o} ease-in-out`).join(", "),...(0,$.V)(),[`${s}-checked, ${s}-unchecked`]:{display:"block",color:e.colorTextLightSolid,fontSize:e.fontSizeSM,pointerEvents:"none",minHeight:n,transition:["margin-inline-start","margin-inline-end"].map(e=>`${e} ${o} ease-in-out`).join(", "),...(0,$.V)()},[`${s}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${s}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`&${t}-checked ${s}`]:{paddingInlineStart:i,paddingInlineEnd:a,[`${s}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${s}`]:{[`${s}-unchecked`]:{marginInlineStart:c(r).mul(2).equal(),marginInlineEnd:c(r).mul(-1).mul(2).equal()}},[`&${t}-checked ${s}`]:{[`${s}-checked`]:{marginInlineStart:c(r).mul(-1).mul(2).equal(),marginInlineEnd:c(r).mul(2).equal()}}}}}})(t),(e=>{let{componentCls:t,trackPadding:n,handleBg:r,handleShadow:i,handleSize:a,calc:l}=e,o=`${t}-handle`;return{[t]:{[o]:{position:"absolute",top:n,insetInlineStart:n,width:a,height:a,transition:`all ${e.switchDuration} ease-in-out`,...(0,$.V)(),"&::before":{position:"absolute",top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,backgroundColor:r,borderRadius:l(a).div(2).equal(),boxShadow:i,transition:`all ${e.switchDuration} ease-in-out`,content:'""',...(0,$.V)()}},[`&${t}-checked ${o}`]:{insetInlineStart:`calc(100% - ${(0,p.zA)(l(a).add(n).equal())})`},[`&:not(${t}-disabled):active`]:{[`${o}::before`]:{insetInlineEnd:e.switchHandleActiveInset,insetInlineStart:0},[`&${t}-checked ${o}::before`]:{insetInlineEnd:0,insetInlineStart:e.switchHandleActiveInset}}}}})(t),(e=>{let{componentCls:t,handleSize:n,calc:r}=e;return{[t]:{[`${t}-loading-icon${e.iconCls}`]:{position:"relative",top:r(r(n).sub(e.fontSize)).div(2).equal(),color:e.switchLoadingIconColor,verticalAlign:"top"},[`&${t}-checked ${t}-loading-icon`]:{color:e.switchColor}}}})(t),(e=>{let{componentCls:t,trackHeightSM:n,trackPadding:r,trackMinWidthSM:i,innerMinMarginSM:a,innerMaxMarginSM:l,handleSizeSM:o,calc:c}=e,s=`${t}-inner`,u=(0,p.zA)(c(o).add(c(r).mul(2)).equal()),d=(0,p.zA)(c(l).mul(2).equal());return{[t]:{[`&${t}-small`]:{minWidth:i,height:n,lineHeight:(0,p.zA)(n),[`${t}-inner`]:{paddingInlineStart:l,paddingInlineEnd:a,[`${s}-checked, ${s}-unchecked`]:{minHeight:n},[`${s}-checked`]:{marginInlineStart:`calc(-100% + ${u} - ${d})`,marginInlineEnd:`calc(100% - ${u} + ${d})`},[`${s}-unchecked`]:{marginTop:c(n).mul(-1).equal(),marginInlineStart:0,marginInlineEnd:0}},[`${t}-handle`]:{width:o,height:o},[`${t}-loading-icon`]:{top:c(c(o).sub(e.switchLoadingIconSize)).div(2).equal(),fontSize:e.switchLoadingIconSize},[`&${t}-checked`]:{[`${t}-inner`]:{paddingInlineStart:a,paddingInlineEnd:l,[`${s}-checked`]:{marginInlineStart:0,marginInlineEnd:0},[`${s}-unchecked`]:{marginInlineStart:`calc(100% - ${u} + ${d})`,marginInlineEnd:`calc(-100% + ${u} - ${d})`}},[`${t}-handle`]:{insetInlineStart:`calc(100% - ${(0,p.zA)(c(o).add(r).equal())})`}},[`&:not(${t}-disabled):active`]:{[`&:not(${t}-checked) ${s}`]:{[`${s}-unchecked`]:{marginInlineStart:c(e.marginXXS).div(2).equal(),marginInlineEnd:c(e.marginXXS).mul(-1).div(2).equal()}},[`&${t}-checked ${s}`]:{[`${s}-checked`]:{marginInlineStart:c(e.marginXXS).mul(-1).div(2).equal(),marginInlineEnd:c(e.marginXXS).div(2).equal()}}}}}}})(t)]},e=>{let{fontSize:t,lineHeight:n,controlHeight:r,colorWhite:i}=e,a=t*n,l=r/2,o=a-4,c=l-4;return{trackHeight:a,trackHeightSM:l,trackMinWidth:2*o+8,trackMinWidthSM:2*c+4,trackPadding:2,handleBg:i,handleSize:o,handleSizeSM:c,handleShadow:`0 2px 4px 0 ${new v.Y("#00230b").setA(.2).toRgbString()}`,innerMinMargin:o/2,innerMaxMargin:o+2+4,innerMinMarginSM:c/2,innerMaxMarginSM:c+2+4}}),S=r.forwardRef((e,t)=>{let{prefixCls:n,size:l,disabled:o,loading:c,className:p,rootClassName:v,style:b,checked:$,value:y,defaultChecked:w,defaultValue:S,onChange:N,styles:A,classNames:k,...I}=e,[x,M]=(0,u.PW)(w??S??!1,$??y),{getPrefixCls:C,direction:z,className:R,style:O,classNames:H,styles:T}=(0,f.TP)("switch"),_=r.useContext(m.A),L=(o??_)||c,q=C("switch",n),[B,j]=E(q),F=(0,g.A)(l),W={...e,size:F,disabled:L},D=(0,d.XT)(O),X=(0,d.XT)(b),[P,V]=(0,d.AV)([H,k],[T,D,A,X],{props:W}),G=r.createElement("div",{className:(0,a.$)(`${q}-handle`,P.indicator),style:V.indicator},c&&r.createElement(i.A,{className:`${q}-loading-icon`})),U=(0,a.$)(R,{[`${q}-small`]:"small"===F,[`${q}-loading`]:c,[`${q}-rtl`]:"rtl"===z},p,v,P.root,B,j);return r.createElement(h.A,{component:"Switch",disabled:L},r.createElement(s,{...I,classNames:P,styles:V,checked:x,onChange:(...e)=>{M(e[0]),N?.(...e)},prefixCls:q,className:U,style:V.root,disabled:L,ref:t,loadingIcon:G}))});S.__ANT_SWITCH=!0;let N=S},44624:(e,t,n)=>{n.d(t,{$r:()=>i,BS:()=>l,kV:()=>a});let r=["parentNode"];function i(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function a(e,t){if(!e.length)return;let n=e.join("_");return t?`${t}_${n}`:r.includes(n)?`form_item_${n}`:n}function l(e,t,n,r,i,a){let l=r;return void 0!==a?l=a:n.validating?l="validating":e.length?l="error":t.length?l="warning":(n.touched||i&&n.validated)&&(l="success"),l}},46066:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(32565),i=n(3638),a=n(97109);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let o=(0,a.forwardRef)((e,t)=>{let{prefixCls:n="rc-checkbox",className:o,style:c,checked:s,disabled:u,defaultChecked:d=!1,type:h="checkbox",title:f,onChange:m,...g}=e,p=(0,a.useRef)(null),v=(0,a.useRef)(null),[b,$]=(0,r.A)(d,s);(0,a.useImperativeHandle)(t,()=>({focus:e=>{p.current?.focus(e)},blur:()=>{p.current?.blur()},input:p.current,nativeElement:v.current}));let y=(0,i.$)(n,o,{[`${n}-checked`]:b,[`${n}-disabled`]:u});return a.createElement("span",{className:y,title:f,style:c,ref:v},a.createElement("input",l({},g,{className:`${n}-input`,ref:p,onChange:t=>{u||("checked"in e||$(t.target.checked),m?.({target:{...e,type:h,checked:t.target.checked},stopPropagation(){t.stopPropagation()},preventDefault(){t.preventDefault()},nativeEvent:t.nativeEvent}))},disabled:u,checked:!!b,type:h})))})},54746:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(97109),i=n(71242),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:i.A})))},56985:(e,t,n)=>{n.d(t,{A:()=>w});var r=n(97109),i=n(46066),a=n(42644),l=n(3638),o=n(92162),c=n(26047),s=n(38862),u=n(35622),d=n(74567),h=n(6831),f=n(632),m=n(55359);let g=r.createContext(null);var p=n(96285),v=n(41169);let b=r.forwardRef((e,t)=>{let{prefixCls:n,children:b,indeterminate:$=!1,onMouseEnter:y,onMouseLeave:w,skipGroup:E=!1,disabled:S,rootClassName:N,className:A,style:k,classNames:I,styles:x,name:M,value:C,checked:z,defaultChecked:R,onChange:O,...H}=e,{getPrefixCls:T,direction:_,className:L,style:q,classNames:B,styles:j}=(0,d.TP)("checkbox"),F=r.useContext(g),{isFormItemInput:W}=r.useContext(m.$W),D=r.useContext(h.A),X=(F?.disabled||S)??D,[P,V]=(0,a.PW)(R,z),G=P,U=(0,a._q)(e=>{V(e.target.checked),O?.(e),!E&&F?.toggleOption&&F.toggleOption({label:b,value:C})});F&&!E&&(G=F.value.includes(C));let K=r.useRef(null),Y=(0,a.xK)(t,K);r.useEffect(()=>{if(!E&&F)return F.registerValue(C),()=>{F.cancelValue(C)}},[C,E]),r.useEffect(()=>{K.current?.input&&(K.current.input.indeterminate=$)},[$]);let Q=T("checkbox",n),J=(0,f.A)(Q),[Z,ee]=(0,p.Ay)(Q,J),et={...H},en={...e,indeterminate:$,disabled:X,checked:G},er=(0,o.XT)(q),ei=(0,o.XT)(k),[ea,el]=(0,o.AV)([B,I],[j,er,x,ei],{props:en}),eo=(0,l.$)(`${Q}-wrapper`,{[`${Q}-rtl`]:"rtl"===_,[`${Q}-wrapper-checked`]:G,[`${Q}-wrapper-disabled`]:X,[`${Q}-wrapper-in-form-item`]:W},L,A,ea.root,N,ee,J,Z),ec=(0,l.$)(ea.icon,{[`${Q}-indeterminate`]:$},u.D,Z),[es,eu]=(0,v.A)(et.onClick);return r.createElement(s.A,{component:"Checkbox",disabled:X},r.createElement("label",{className:eo,style:el.root,onMouseEnter:y,onMouseLeave:w,onClick:es},r.createElement(i.A,{...et,name:!E&&F?F.name:M,checked:G,onClick:eu,onChange:U,prefixCls:Q,className:ec,style:el.icon,disabled:X,ref:Y,value:C}),(0,c.AZ)(b)&&r.createElement("span",{className:(0,l.$)(`${Q}-label`,ea.label),style:el.label},b)))});var $=n(9750);let y=r.forwardRef((e,t)=>{let{defaultValue:n,children:i,options:o=[],prefixCls:s,className:u,rootClassName:h,style:m,onChange:v,role:y="group",...w}=e,{getPrefixCls:E,direction:S}=r.useContext(d.QO),[N,A]=r.useState(w.value||n||[]),[k,I]=r.useState([]);r.useEffect(()=>{"value"in w&&A(w.value||[])},[w.value]);let x=r.useMemo(()=>o.map(e=>"string"==typeof e||(0,c.Et)(e)?{label:e,value:e}:e),[o]),M=e=>{I(t=>t.filter(t=>t!==e))},C=e=>{I(t=>[].concat((0,$.A)(t),[e]))},z=e=>{let t=N.indexOf(e.value),n=(0,$.A)(N);-1===t?n.push(e.value):n.splice(t,1),"value"in w||A(n),v?.(n.filter(e=>k.includes(e)).sort((e,t)=>x.findIndex(t=>t.value===e)-x.findIndex(e=>e.value===t)))},R=E("checkbox",s),O=`${R}-group`,H=(0,f.A)(R),[T,_]=(0,p.Ay)(R,H),L=(0,a.cJ)(w,["value","disabled"]),q=o.length?x.map(e=>r.createElement(b,{prefixCls:R,key:e.value.toString(),disabled:"disabled"in e?e.disabled:w.disabled,value:e.value,checked:N.includes(e.value),onChange:e.onChange,className:(0,l.$)(`${O}-item`,e.className),style:e.style,title:e.title,id:e.id,required:e.required},e.label)):i,B=r.useMemo(()=>({toggleOption:z,value:N,disabled:w.disabled,name:w.name,registerValue:C,cancelValue:M}),[z,N,w.disabled,w.name,C,M]),j=(0,l.$)(O,{[`${O}-rtl`]:"rtl"===S},u,h,_,H,T);return r.createElement("div",{className:j,style:m,role:y,...L,ref:t},r.createElement(g.Provider,{value:B},q))});b.Group=y,b.__ANT_CHECKBOX=!0;let w=b},59609:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(97109),i=n(42644),a=n(19013),l=n(19135);let o=function(e=!0,t={}){let n=(0,r.useRef)(t),[,o]=(0,a.C)(),c=(0,l.Ay)();return(0,i.Nf)(()=>{let t=c.subscribe(t=>{n.current=t,e&&o()});return()=>c.unsubscribe(t)},[]),n.current}},61825:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(97109),i=n(30289),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:i.A})))},63890:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"minus",theme:"outlined"}},71242:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"}},76981:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(97109),i=n(69),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:i.A})))},78847:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"}},92123:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"}},94992:(e,t,n)=>{n.d(t,{A:()=>ef});var r=n(97109),i=n(60470),a=n(63890),l=n(88483);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let c=r.forwardRef((e,t)=>r.createElement(l.A,o({},e,{ref:t,icon:a.A})));var s=n(54746),u=n(92123);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let h=r.forwardRef((e,t)=>r.createElement(l.A,d({},e,{ref:t,icon:u.A})));var f=n(41113),m=n(49939),g=n(70895),p=n(8572);function v(){return"function"==typeof BigInt}function b(e){return!e&&0!==e&&!Number.isNaN(e)||!String(e).trim()}function $(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",i=r.split("."),a=i[0]||"0",l=i[1]||"0";"0"===a&&"0"===l&&(n=!1);var o=n?"-":"";return{negative:n,negativeStr:o,trimStr:r,integerStr:a,decimalStr:l,fullStr:"".concat(o).concat(r)}}function y(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function w(e){var t=e.toLowerCase().split("e"),n=(0,p.A)(t,2),r=n[0],i=n[1],a=r.startsWith("-"),l=(a?r.slice(1):r).split("."),o=(0,p.A)(l,2),c=o[0],s=void 0===c?"0":c,u=o[1],d=void 0===u?"":u,h="".concat(s).concat(d).replace(/^0+/,"")||"0";return{decimal:d,digits:h,exponent:Number(void 0===i?"0":i),integer:s,negative:a}}function E(e){return e.exponent>=0?Math.max(0,e.decimal.length-e.exponent):Math.abs(e.exponent)+e.decimal.length}function S(e){var t=String(e);return y(e)?E(w(t)):t.includes(".")&&A(t)?t.length-t.indexOf(".")-1:0}function N(e){var t=String(e);if(y(e)){if(e>Number.MAX_SAFE_INTEGER)return String(v()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(e<Number.MIN_SAFE_INTEGER)return String(v()?BigInt(e).toString():Number.MIN_SAFE_INTEGER);var n=w(t),r=E(n);t=r>100?function(e){var t=e.decimal,n=e.digits,r=e.exponent,i=e.integer,a=e.negative;if("0"===n)return"0";var l=i.replace(/^0+/,"").length,o=(t.match(/^0*/)||[""])[0].length,c=(l||-o)+r,s="";return s=c<=0?"0.".concat("0".repeat(-c)).concat(n):c>=n.length?"".concat(n).concat("0".repeat(c-n.length)):"".concat(n.slice(0,c),".").concat(n.slice(c)),"".concat(a?"-":"").concat(s)}(n):e.toFixed(r)}return $(t).fullStr}function A(e){return"number"==typeof e?!Number.isNaN(e):!!e&&(/^\s*-?\d+(\.\d+)?\s*$/.test(e)||/^\s*-?\d+\.\s*$/.test(e)||/^\s*-?\.\d+\s*$/.test(e))}var k=function(){function e(t){if((0,f.A)(this,e),(0,g.A)(this,"origin",""),(0,g.A)(this,"negative",void 0),(0,g.A)(this,"integer",void 0),(0,g.A)(this,"decimal",void 0),(0,g.A)(this,"decimalLen",void 0),(0,g.A)(this,"empty",void 0),(0,g.A)(this,"nan",void 0),b(t)){this.empty=!0;return}if(this.origin=String(t),"-"===t||Number.isNaN(t)){this.nan=!0;return}var n=t;if(y(n)&&(n=Number(n)),A(n="string"==typeof n?n:N(n))){var r=$(n);this.negative=r.negative;var i=r.trimStr.split(".");this.integer=BigInt(i[0]);var a=i[1]||"0";this.decimal=BigInt(a),this.decimalLen=a.length}else this.nan=!0}return(0,m.A)(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){return BigInt("".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0")))}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"cal",value:function(t,n,r){var i=Math.max(this.getDecimalStr().length,t.getDecimalStr().length),a=n(this.alignDecimal(i),t.alignDecimal(i)).toString(),l=r(i),o=$(a),c=o.negativeStr,s=o.trimStr,u="".concat(c).concat(s.padStart(l+1,"0"));return new e("".concat(u.slice(0,-l),".").concat(u.slice(-l)))}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);return n.isInvalidate()?this:this.cal(n,function(e,t){return e+t},function(e){return e})}},{key:"multi",value:function(t){var n=new e(t);return this.isInvalidate()||n.isInvalidate()?new e(NaN):this.cal(n,function(e,t){return e*t},function(e){return 2*e})}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null==e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return 0>=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":$("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}(),I=function(){function e(t){if((0,f.A)(this,e),(0,g.A)(this,"origin",""),(0,g.A)(this,"number",void 0),(0,g.A)(this,"empty",void 0),b(t)){this.empty=!0;return}this.origin=String(t),this.number=Number(t)}return(0,m.A)(e,[{key:"negate",value:function(){return new e(-this.toNumber())}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=Number(t);if(Number.isNaN(n))return this;var r=this.number+n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var i=Math.max(S(this.number),S(n));return new e(r.toFixed(i))}},{key:"multi",value:function(t){var n=Number(t);if(this.isInvalidate()||Number.isNaN(n))return new e(NaN);var r=this.number*n;if(r>Number.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r<Number.MIN_SAFE_INTEGER)return new e(Number.MIN_SAFE_INTEGER);var i=Math.max(S(this.number),S(n));return new e(r.toFixed(i))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return Number.isNaN(this.number)}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toNumber()===(null==e?void 0:e.toNumber())}},{key:"lessEquals",value:function(e){return 0>=this.add(e.negate().toString()).toNumber()}},{key:"toNumber",value:function(){return this.number}},{key:"toString",value:function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];return e?this.isInvalidate()?"":y(this.number)&&S(this.number)>100?String(this.number):N(this.number):this.origin}}]),e}();function x(e){return v()?new k(e):new I(e)}function M(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(""===e)return"";var i=$(e),a=i.negativeStr,l=i.integerStr,o=i.decimalStr,c="".concat(t).concat(o),s="".concat(a).concat(l);if(n>=0){var u=Number(o[n]);return u>=5&&!r?M(x(e).add("".concat(a,"0.").concat("0".repeat(n)).concat(10-u)).toString(),t,n,r):0===n?s:"".concat(s).concat(t).concat(o.padEnd(n,"0").slice(0,n))}return".0"===c?s:"".concat(s).concat(c)}var C=n(73473),z=n(3638),R=n(96546),O=n(49127);function H({prefixCls:e,action:t,children:n,disabled:i,className:a,style:l,onStep:o}){let c="up"===t,s=r.useRef(),u=r.useRef([]),d=()=>{clearTimeout(s.current)};r.useEffect(()=>()=>{d(),u.current.forEach(e=>{O.A.cancel(e)})},[]);let h=`${e}-action`,f=(0,z.$)(h,`${h}-${t}`,{[`${h}-${t}-disabled`]:i},a),m=()=>u.current.push((0,O.A)(d));return r.createElement("span",{unselectable:"on",role:"button",onMouseUp:m,onMouseLeave:m,onMouseDown:e=>{e.preventDefault(),d(),o(c,"handler"),s.current=setTimeout(function e(){o(c,"handler"),s.current=setTimeout(e,200)},600)},"aria-label":c?"Increase Value":"Decrease Value","aria-disabled":i,className:f,style:l},n||r.createElement("span",{unselectable:"on",className:`${e}-action-${t}-inner`}))}function T(e){let t="number"==typeof e?N(e):$(e).fullStr;return t.includes(".")?$(t.replace(/(\d)\.(\d)/g,"$1$2.")).fullStr:e+"0"}var _=n(42644),L=n(64213);function q(){return(q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let B=(e,t)=>e||t.isEmpty()?t.toString():t.toNumber(),j=e=>{let t=x(e);return t.isInvalidate()?null:t},F=r.forwardRef((e,t)=>{let{mode:n="input",prefixCls:i="rc-input-number",className:a,style:l,classNames:o,styles:c,min:s,max:u,step:d=1,defaultValue:h,value:f,disabled:m,readOnly:g,upHandler:p,downHandler:v,keyboard:b,changeOnWheel:$=!1,controls:y=!0,prefix:w,suffix:E,stringMode:k,parser:I,formatter:F,precision:W,decimalSeparator:D,onChange:X,onInput:P,onPressEnter:V,onStep:G,onMouseDown:U,onClick:K,onMouseUp:Y,onMouseLeave:Q,onMouseMove:J,onMouseEnter:Z,onMouseOut:ee,changeOnBlur:et=!0,...en}=e,[er,ei]=r.useState(!1),ea=r.useRef(!1),el=r.useRef(!1),eo=r.useRef(!1),ec=r.useRef(null),es=r.useRef(null);r.useImperativeHandle(t,()=>(function(e,t){return"undefined"!=typeof Proxy&&e?new Proxy(e,{get(e,n){if(t[n])return t[n];let r=e[n];return"function"==typeof r?r.bind(e):r}}):e})(es.current,{focus:e=>{(0,L.F4)(es.current,e)},blur:()=>{es.current?.blur()},nativeElement:ec.current}));let[eu,ed]=r.useState(()=>x(f??h)),eh=r.useCallback((e,t)=>{if(!t)return W>=0?W:Math.max(S(e),S(d))},[W,d]),ef=r.useCallback(e=>{let t=String(e);if(I)return I(t);let n=t;return D&&(n=n.replace(D,".")),n.replace(/[^\w.-]+/g,"")},[I,D]),em=r.useRef(""),eg=r.useCallback((e,t)=>{if(F)return F(e,{userTyping:t,input:String(em.current)});let n="number"==typeof e?N(e):e;if(!t){let e=eh(n,t);A(n)&&(D||e>=0)&&(n=M(n,D||".",e))}return n},[F,eh,D]),[ep,ev]=r.useState(()=>{let e=h??f;return eu.isInvalidate()&&["string","number"].includes(typeof e)?Number.isNaN(e)?"":e:eg(eu.toString(),!1)});function eb(e,t){ev(eg(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}em.current=ep;let e$=r.useMemo(()=>j(u),[u,W]),ey=r.useMemo(()=>j(s),[s,W]),ew=r.useMemo(()=>!(!e$||!eu||eu.isInvalidate())&&e$.lessEquals(eu),[e$,eu]),eE=r.useMemo(()=>!(!ey||!eu||eu.isInvalidate())&&eu.lessEquals(ey),[ey,eu]),[eS,eN]=function(e,t){let n=(0,r.useRef)(null);return[function(){try{let{selectionStart:t,selectionEnd:r,value:i}=e,a=i.substring(0,t),l=i.substring(r);n.current={start:t,end:r,value:i,beforeTxt:a,afterTxt:l}}catch(e){}},function(){if(e&&n.current&&t)try{let{value:t}=e,{beforeTxt:r,afterTxt:i,start:a}=n.current,l=t.length;if(t.startsWith(r))l=r.length;else if(t.endsWith(i))l=t.length-n.current.afterTxt.length;else{let e=r[a-1],n=t.indexOf(e,a-1);-1!==n&&(l=n+1)}e.setSelectionRange(l,l)}catch(e){(0,R.Ay)(!1,`Something warning of cursor restore. Please fire issue about this: ${e.message}`)}}]}(es.current,er),eA=e=>e$&&!e.lessEquals(e$)?e$:ey&&!ey.lessEquals(e)?ey:null,ek=e=>!eA(e),eI=(e,t)=>{let n=e,r=ek(n)||n.isEmpty();if(n.isEmpty()||t||(n=eA(n)||n,r=!0),!g&&!m&&r){let e=n.toString(),r=eh(e,t);if(r>=0&&(ek(n=x(M(e,".",r)))||(n=x(M(e,".",r,!0)))),!n.equals(eu)){var i;i=n,void 0===f&&ed(i),X?.(n.isEmpty()?null:B(k,n)),void 0===f&&eb(n,t)}return n}return eu},ex=(()=>{let e=(0,r.useRef)(0),t=()=>{O.A.cancel(e.current)};return(0,r.useEffect)(()=>t,[]),n=>{t(),e.current=(0,O.A)(()=>{n()})}})(),eM=e=>{if(eS(),em.current=e,ev(e),!el.current){let t=x(ef(e));t.isNaN()||eI(t,!0)}P?.(e),ex(()=>{let t=e;I||(t=e.replace(/。/g,".")),t!==e&&eM(t)})},eC=(0,_._q)((e,t)=>{if(e&&ew||!e&&eE)return;ea.current=!1;let n=x(eo.current?T(d):d);e||(n=n.negate());let r=eI((eu||x(0)).add(n.toString()),!1);G?.(B(k,r),{offset:eo.current?T(d):d,type:e?"up":"down",emitter:t}),es.current?.focus()}),ez=e=>{let t,n=x(ef(ep));t=n.isNaN()?eI(eu,e):eI(n,e),void 0!==f?eb(eu,!1):t.isNaN()||eb(t,!1)};r.useEffect(()=>{if($&&er){let e=e=>{eC(e.deltaY<0,"wheel"),e.preventDefault()},t=es.current;if(t)return t.addEventListener("wheel",e,{passive:!1}),()=>t.removeEventListener("wheel",e)}}),(0,C.o)(()=>{eu.isInvalidate()||eb(eu,!1)},[W,F]),(0,C.o)(()=>{let e=x(f);ed(e);let t=x(ef(ep));e.equals(t)&&ea.current&&!F||eb(e,ea.current)},[f]),(0,C.o)(()=>{F&&eN()},[ep]);let eR={prefixCls:i,onStep:eC,className:o?.action,style:c?.action},eO=r.createElement(H,q({},eR,{action:"up",disabled:ew}),p),eH=r.createElement(H,q({},eR,{action:"down",disabled:eE}),v);return r.createElement("div",{ref:ec,className:(0,z.$)(i,`${i}-mode-${n}`,a,o?.root,{[`${i}-focused`]:er,[`${i}-disabled`]:m,[`${i}-readonly`]:g,[`${i}-not-a-number`]:eu.isNaN(),[`${i}-out-of-range`]:!eu.isInvalidate()&&!ek(eu)}),style:{...c?.root,...l},onMouseDown:e=>{es.current&&e.target!==es.current&&(es.current.focus(),e.preventDefault()),U?.(e)},onMouseUp:Y,onMouseLeave:Q,onMouseMove:J,onMouseEnter:Z,onMouseOut:ee,onClick:K,onFocus:()=>{ei(!0)},onBlur:()=>{et&&ez(!1),ei(!1),ea.current=!1},onKeyDown:e=>{let{key:t,shiftKey:n}=e;ea.current=!0,eo.current=n,"Enter"===t&&(el.current||(ea.current=!1),ez(!1),V?.(e)),!1!==b&&!el.current&&["Up","ArrowUp","Down","ArrowDown"].includes(t)&&(eC("Up"===t||"ArrowUp"===t,"keyboard"),e.preventDefault())},onKeyUp:()=>{ea.current=!1,eo.current=!1},onCompositionStart:()=>{el.current=!0},onCompositionEnd:()=>{el.current=!1,eM(es.current.value)},onBeforeInput:()=>{ea.current=!0}},"spinner"===n&&y&&eH,void 0!==w&&r.createElement("div",{className:(0,z.$)(`${i}-prefix`,o?.prefix),style:c?.prefix},w),r.createElement("input",q({autoComplete:"off",role:"spinbutton","aria-valuemin":s,"aria-valuemax":u,"aria-valuenow":eu.isInvalidate()?null:eu.toString(),step:d,ref:es,className:(0,z.$)(`${i}-input`,o?.input),style:c?.input,value:ep,onChange:e=>{eM(e.target.value)},disabled:m,readOnly:g},en)),void 0!==E&&r.createElement("div",{className:(0,z.$)(`${i}-suffix`,o?.suffix),style:c?.suffix},E),"spinner"===n&&y&&eO,"input"===n&&y&&r.createElement("div",{className:(0,z.$)(`${i}-actions`,o?.actions),style:c?.actions},eO,eH))});var W=n(44137),D=n(92162),X=n(26047),P=n(4034),V=n(48921),G=n(74567),U=n(6831),K=n(632),Y=n(27273),Q=n(55359),J=n(73134),Z=n(24716),ee=n(49644),et=n(15561),en=n(44390),er=n(84767),ei=n(90560),ea=n(7961),el=n(77032),eo=n(10540),ec=n(28403),es=n(47252);let eu=(0,eo.OF)("InputNumber",e=>{let t=(0,ec.oX)(e,(0,er.C)(e));return[(e=>{let{componentCls:t,lineWidth:n,lineType:r,borderRadius:i,inputFontSizeSM:a,inputFontSizeLG:l,colorError:o,paddingInlineSM:c,paddingBlockSM:s,paddingBlockLG:u,paddingInlineLG:d,colorIcon:h,colorTextDisabled:f,motionDurationMid:m,handleHoverColor:g,handleOpacity:p,paddingInline:v,paddingBlock:b,handleBg:$,handleActiveBg:y,inputAffixPadding:w,borderRadiusSM:E,controlWidth:S,handleBorderColor:N,filledHandleBg:A,lineHeightLG:k,antCls:I}=e,x=`${(0,et.zA)(n)} ${r} ${N}`,[M,C]=(0,eo.PN)(I,"input-number");return[{[t]:{...(0,ea.dF)(e),...(0,en.wj)(e),[M("input-padding-block")]:(0,et.zA)(b),[M("input-padding-inline")]:(0,et.zA)(v),display:"inline-flex",width:S,margin:0,paddingBlock:0,borderRadius:i,...(0,ei.Eb)(e,{[`${t}-actions`]:{background:$,[`${t}-action-down`]:{borderBlockStart:x}}}),...(0,ei.sA)(e,{[`${t}-actions`]:{background:A,[`${t}-action-down`]:{borderBlockStart:x}},"&:focus-within":{[`${t}-actions`]:{background:$}}}),...(0,ei.aP)(e,{[`${t}-actions`]:{background:$,[`${t}-action-down`]:{borderBlockStart:x}}}),...(0,ei.lB)(e),[`&${t}-borderless`]:{paddingBlock:0,[M("input-padding-block")]:(0,et.zA)(e.calc(b).add(n).equal())},[`&${t}-borderless${t}-sm`]:{paddingBlock:0,[M("input-padding-block")]:(0,et.zA)(e.calc(s).add(n).equal())},[`&${t}-borderless${t}-lg`]:{paddingBlock:0,[M("input-padding-block")]:(0,et.zA)(e.calc(u).add(n).equal())},"&-rtl":{direction:"rtl",[`${t}-input`]:{direction:"rtl"}},[`&${t}-out-of-range`]:{[`${t}-input`]:{color:o}},[`${t}-input`]:{...(0,ea.dF)(e),width:"100%",paddingBlock:C("input-padding-block"),textAlign:"start",backgroundColor:"transparent",border:0,borderRadius:0,outline:0,transition:`all ${m} linear`,appearance:"textfield",fontSize:"inherit",lineHeight:"inherit",...(0,en.j_)(e.colorTextPlaceholder),'&[type="number"]::-webkit-inner-spin-button, &[type="number"]::-webkit-outer-spin-button':{margin:0,appearance:"none"}},[`&:hover ${t}-handler-wrap, &-focused ${t}-handler-wrap`]:{width:e.handleWidth,opacity:1},[`&-disabled ${t}-input`]:{cursor:"not-allowed",color:e.colorTextDisabled}}},{[t]:{[`${t}-action`]:{...(0,ea.Nk)(),userSelect:"none",overflow:"hidden",fontWeight:"bold",lineHeight:0,textAlign:"center",cursor:"pointer",transition:`all ${m} linear`,[`&:active:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{background:y},[`&:hover:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{color:g},[`&${t}-action-up-disabled, &${t}-action-down-disabled`]:{cursor:"not-allowed",color:f}},"&-mode-input":{overflow:"hidden",[`${t}-actions`]:{position:"absolute",insetBlockStart:0,insetInlineEnd:0,width:e.handleVisibleWidth,opacity:p,height:"100%",borderRadius:0,display:"flex",flexDirection:"column",alignItems:"stretch",transition:`all ${m}`,overflow:"hidden",[`${t}-action`]:{display:"flex",alignItems:"center",justifyContent:"center",flex:"auto",height:"40%",marginInlineEnd:0,fontSize:e.handleFontSize}},[`&:hover ${t}-actions, &-focused ${t}-actions`]:{width:e.handleWidth,opacity:1},[`${t}-action`]:{color:h,height:"50%",borderInlineStart:x,[`&:hover:not(${t}-action-up-disabled):not(${t}-action-down-disabled)`]:{height:"60%"}},[`&${t}-disabled, &${t}-readonly`]:{[`${t}-actions`]:{display:"none"}}},[`&${t}-mode-spinner`]:{padding:0,width:"auto",[`${t}-action`]:{flex:"none",paddingInline:C("input-padding-inline"),"&-up":{borderInlineStart:x},"&-down":{borderInlineEnd:x}},[`${t}-input`]:{textAlign:"center",paddingInline:C("input-padding-inline")}}}},{[t]:{"&-lg":{[M("input-padding-block")]:(0,et.zA)(u),[M("input-padding-inline")]:(0,et.zA)(d),paddingBlock:0,fontSize:l,lineHeight:k},"&-sm":{[M("input-padding-block")]:(0,et.zA)(s),[M("input-padding-inline")]:(0,et.zA)(c),paddingBlock:0,fontSize:a,borderRadius:E}}},{[t]:{[`${t}-prefix, ${t}-suffix`]:{display:"flex",flex:"none",alignItems:"center",alignSelf:"center",pointerEvents:"none"},[`${t}-prefix`]:{marginInlineEnd:w},[`${t}-suffix`]:{height:"100%",marginInlineStart:w,transition:`margin ${m}`},[`&:hover:not(${t}-without-controls)`]:{[`${t}-suffix`]:{marginInlineEnd:e.handleWidth}}}}]})(t),(e=>{let{componentCls:t,antCls:n}=e;return{[`${t}-addon`]:{[`&:has(${n}-select)`]:{border:0,padding:0}}}})(t),(0,el.G)(t)]},e=>{let t=e.handleVisible??"auto",n=e.controlHeightSM-2*e.lineWidth;return{...(0,er.b)(e),controlWidth:90,handleWidth:n,handleFontSize:e.fontSize/2,handleVisible:t,handleActiveBg:e.colorFillAlter,handleBg:e.colorBgContainer,filledHandleBg:new es.Y(e.colorFillSecondary).onBackground(e.colorBgContainer).toHexString(),handleHoverColor:e.colorPrimary,handleBorderColor:e.colorBorder,handleOpacity:+(!0===t),handleVisibleWidth:!0===t?n:0}},{unitless:{handleOpacity:!0},resetFont:!1}),ed=r.forwardRef((e,t)=>{let n=r.useRef(null);r.useImperativeHandle(t,()=>n.current);let{rootClassName:a,size:l,disabled:o,prefixCls:u,addonBefore:d,addonAfter:f,prefix:m,suffix:g,bordered:p,readOnly:v,status:b,controls:$=!0,variant:y,className:w,style:E,classNames:S,styles:N,mode:A,...k}=e,{direction:I,className:x,style:M,styles:C,classNames:R}=(0,G.TP)("inputNumber"),O=r.useContext(U.A),H=o??O,T=r.useMemo(()=>!!$&&!H&&!v&&$,[$,H,v]),{compactSize:_,compactItemClassnames:L}=(0,ee.RQ)(u,I),q="spinner"===A?r.createElement(s.A,null):r.createElement(h,null),B="spinner"===A?r.createElement(c,null):r.createElement(i.A,null),j="boolean"==typeof T?T:void 0;(0,X.Qd)(T)&&(q=T.upIcon||q,B=T.downIcon||B);let{hasFeedback:W,isFormItemInput:V,feedbackIcon:K}=r.useContext(Q.$W),Z=(0,Y.A)(e=>l??_??e),[et,en]=(0,J.A)("inputNumber",y,p),er=W&&r.createElement(r.Fragment,null,K),ei={...e,size:Z,disabled:H,controls:T},ea=(0,D.XT)(M),el=(0,D.XT)(E),[eo,ec]=(0,D.AV)([R,S],[C,ea,N,el],{props:ei});return r.createElement(F,{ref:n,mode:A,disabled:H,className:(0,z.$)(w,a,eo.root,x,L,(0,P.L)(u,b,W),{[`${u}-${et}`]:en,[`${u}-lg`]:"large"===Z,[`${u}-sm`]:"small"===Z,[`${u}-rtl`]:"rtl"===I,[`${u}-in-form-item`]:V,[`${u}-without-controls`]:!T}),style:ec.root,upHandler:q,downHandler:B,prefixCls:u,readOnly:v,controls:j,prefix:m,suffix:er||g,classNames:eo,styles:ec,...k})}),eh=r.forwardRef((e,t)=>{let{addonBefore:n,addonAfter:i,prefixCls:a,className:l,status:o,rootClassName:c,...s}=e,{getPrefixCls:u}=(0,G.TP)("inputNumber"),d=u("input-number",a),{status:h}=r.useContext(Q.$W),f=(0,P.v)(h,o),m=(0,K.A)(d),[g,p]=eu(d,m),v=n||i,b=r.createElement(ed,{ref:t,...s,prefixCls:d,status:f,className:(0,z.$)(p,m,g,l),rootClassName:v?void 0:c});if(v){let t=t=>t?r.createElement(Z.A,{className:(0,z.$)(`${d}-addon`,p,g),variant:e.variant,disabled:e.disabled,status:f},r.createElement(W.A,{form:!0},t)):null,a=t(n),l=t(i);return r.createElement(ee.Ay,{rootClassName:c},a,b,l)}return b});eh._InternalPanelDoNotUseOrYouWillBeFired=e=>r.createElement(V.Ay,{theme:{components:{InputNumber:{handleVisible:!0}}}},r.createElement(eh,{...e}));let ef=eh}}]);
@@ -0,0 +1,16 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[883],{838:(e,t)=>{t.A={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"}},5308:(e,t,r)=>{r.d(t,{g3:()=>j,JM:()=>F,c$:()=>V,Ay:()=>et,Vm:()=>a});var n=r(42644),o=r(97109),l=r(3638);let i=o.createContext(null);function a(){return o.useContext(i)}function s(e,t){return e.filter(e=>e).some(e=>e.contains(t)||e===t)}var u=r(82865);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let d=o.forwardRef((e,t)=>{let{prefixCls:r,disabled:n,visible:i,children:a,popupElement:s,animation:d,transitionName:p,popupStyle:f,popupClassName:m,direction:h="ltr",placement:g,builtinPlacements:v,popupMatchSelectWidth:b,popupRender:y,popupAlign:$,getPopupContainer:E,empty:w,onPopupVisibleChange:S,onPopupMouseEnter:x,onPopupMouseDown:D,onPopupBlur:M,...R}=e,C=`${r}-dropdown`,I=s;y&&(I=y(s));let O=o.useMemo(()=>v||(e=>{let t=+(!0!==e);return{bottomLeft:{points:["tl","bl"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},bottomRight:{points:["tr","br"],offset:[0,4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topLeft:{points:["bl","tl"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"},topRight:{points:["br","tr"],offset:[0,-4],overflow:{adjustX:t,adjustY:1},htmlRegion:"scroll"}}})(b),[v,b]),A=d?`${C}-${d}`:p,N="number"==typeof b,k=o.useMemo(()=>!1===b||N?"minWidth":"width",[b,N]),P=f;N&&(P={...f,width:b});let L=o.useRef(null);return o.useImperativeHandle(t,()=>({getPopupElement:()=>L.current?.popupElement})),o.createElement(u.Ay,c({},R,{showAction:S?["click"]:[],hideAction:S?["click"]:[],popupPlacement:g||("rtl"===h?"bottomRight":"bottomLeft"),builtinPlacements:O,prefixCls:C,popupMotion:{motionName:A},popup:o.createElement("div",{onMouseEnter:x,onMouseDown:D,onBlur:M},I),ref:L,stretch:k,popupAlign:$,popupVisible:i,getPopupContainer:E,popupClassName:(0,l.$)(m,{[`${C}-empty`]:w}),popupStyle:P,onPopupVisibleChange:S}),a)});function p(e,t){let r,{key:n}=e;return("value"in e&&({value:r}=e),null!=n)?n:void 0!==r?r:`rc-index-key-${t}`}function f(e){return void 0!==e&&!Number.isNaN(e)}function m(e,t){let{label:r,value:n,options:o,groupLabel:l}=e||{},i=r||(t?"children":"label");return{label:i,value:n||"value",options:o||"options",groupLabel:l||i}}function h(e){let t={...e};return"props"in t||Object.defineProperty(t,"props",{get:()=>((0,n.$e)(!1,"Return type is option instead of Option instance. Please read value directly instead of reading from `props`."),t)}),t}function g(e){let{visible:t,values:r}=e;return t?o.createElement("span",{"aria-live":"polite",style:{width:0,height:0,position:"absolute",overflow:"hidden",opacity:0}},`${r.slice(0,50).map(({label:e,value:t})=>["number","string"].includes(typeof e)?e:t).join(", ")}`,r.length>50?", ...":null):null}let v=(e,t=1)=>{if(t<=0)return void e();(e=>{let t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(null)})(()=>{v(e,t-1)})};function b(e){let{children:t,...r}=e;return t?o.createElement("div",r,t):null}let y=o.createContext(null);function $(){return o.useContext(y)}let E=o.forwardRef((e,t)=>{let{onChange:r,onKeyDown:i,onBlur:s,style:u,syncWidth:c,value:d,className:p,autoComplete:f,...m}=e,{prefixCls:h,mode:g,onSearch:v,onSearchSubmit:b,onInputBlur:y,autoFocus:E,tokenWithEnter:w,placeholder:S,components:{input:x="input"}}=$(),{id:D,classNames:M,styles:R,open:C,activeDescendantId:I,role:O,disabled:A}=a()||{},N=(0,l.$)(`${h}-input`,M?.input,p),k=o.useRef(!1),P=o.useRef(null),L=o.useRef(null);o.useImperativeHandle(t,()=>L.current);let[z,T]=o.useState(void 0);(0,n.Nf)(()=>{let e=L.current;c&&e&&(e.style.width="0px",T(e.scrollWidth),e.style.width="")},[c,d]);let H={id:D,type:"text",...m,ref:L,style:{...R?.input,...u,"--select-input-width":z},autoFocus:E,autoComplete:f||"new-password",className:N,disabled:A,value:d||"",onChange:e=>{let{value:t}=e.target;if(w&&P.current&&/[\r\n]/.test(P.current)){let e=P.current.replace(/[\r\n]+$/,"").replace(/\r\n/g," ").replace(/[\r\n]/g," ");t=t.replace(e,P.current)}P.current=null,v&&v(t,!0,k.current),r?.(e)},onKeyDown:e=>{let{key:t}=e,{value:r}=e.currentTarget;"Enter"!==t||"tags"!==g||C||k.current||!b||b(r),i?.(e)},onBlur:e=>{y?.(),s?.(e)},onPaste:e=>{let{clipboardData:t}=e;P.current=t?.getData("text")||""},onCompositionStart:()=>{k.current=!0},onCompositionEnd:e=>{if(k.current=!1,"combobox"!==g){let{value:t}=e.currentTarget;v?.(t,!0,!1)}},role:O||"combobox","aria-expanded":C||!1,"aria-haspopup":"listbox","aria-owns":C?`${D}_list`:void 0,"aria-autocomplete":"list","aria-controls":C?`${D}_list`:void 0,"aria-activedescendant":C?I:void 0};if(o.isValidElement(x)){let t=x.props||{},r={placeholder:e.placeholder||S,...H,...t};return Object.keys(t).forEach(e=>{let n=t[e];"function"==typeof n&&(r[e]=(...t)=>{n(...t),H[e]?.(...t)})}),r.ref=(0,n.K4)(x.ref,H.ref),o.cloneElement(x,r)}return o.createElement(x,H)});function w(e){let{prefixCls:t,placeholder:r,displayValues:n}=$(),{classNames:i,styles:s}=a(),{show:u=!0}=e;return n.length?null:o.createElement("div",{className:(0,l.$)(`${t}-placeholder`,i?.placeholder),style:{visibility:u?"visible":"hidden",...s?.placeholder}},r)}let S=o.createContext(null);function x(e){return Array.isArray(e)?e:void 0!==e?[e]:[]}function D(e){return["string","number"].includes(typeof e)}function M(e){let t;return e&&(D(e.title)?t=e.title.toString():D(e.label)&&(t=e.label.toString())),t}function R(){return(R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}"undefined"!=typeof window&&window.document&&window.document.documentElement;let C=o.forwardRef(({inputProps:e},t)=>{let{prefixCls:r,searchValue:n,activeValue:i,displayValues:s,maxLength:u,mode:c,components:d}=$(),{triggerOpen:p,title:f,showSearch:m,classNames:h,styles:g}=a(),v=o.useContext(S),[b,y]=o.useState(!1),x="combobox"===c,D=s[0],C=o.useMemo(()=>x&&i&&!b&&p?i:m?n:"",[x,i,b,p,n,m]),[I,O,A,N]=o.useMemo(()=>{let e,t,r;if(D&&v?.flattenOptions){let n=v.flattenOptions.find(e=>e.value===D.value);n?.data&&(e=n.data.className,t=n.data.style,r=M(n.data))}D&&!r&&(r=M(D)),void 0!==f&&(r=f);let n=!!e||!!t;return[e,t,r,n]},[D,v?.flattenOptions,f]);o.useEffect(()=>{x&&y(!1)},[x,i]);let k=D&&null!==D.label&&void 0!==D.label&&""!==String(D.label).trim(),P=x&&d?.input?null:D?N?o.createElement("div",{className:(0,l.$)(`${r}-content-value`,I),style:{...C?{visibility:"hidden"}:{},...O},title:A},D.label):D.label:o.createElement(w,{show:!C});return o.createElement("div",{className:(0,l.$)(`${r}-content`,k&&`${r}-content-has-value`,C&&`${r}-content-has-search-value`,N&&`${r}-content-has-option-style`,h?.content),style:g?.content,title:N?void 0:A},P,o.createElement(E,R({ref:t},e,{value:C,maxLength:"combobox"===c?u:void 0,onChange:t=>{y(!0),e.onChange?.(t)}})))});var I=r(61910);let O=e=>{let{className:t,style:r,customizeIcon:n,customizeIconProps:i,children:a,onMouseDown:s,onClick:u}=e,c="function"==typeof n?n(i):n;return o.createElement("span",{className:t,onMouseDown:e=>{e.preventDefault(),s?.(e)},style:{userSelect:"none",WebkitUserSelect:"none",...r},unselectable:"on",onClick:u,"aria-hidden":!0},void 0!==c?c:o.createElement("span",{className:(0,l.$)(t.split(/\s+/).map(e=>`${e}-icon`))},a))};function A(){return(A=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function N(e){return e.key??e.value}let k=e=>{e.preventDefault(),e.stopPropagation()},P=o.forwardRef(function({inputProps:e},t){let{prefixCls:r,displayValues:n,searchValue:i,mode:s,onSelectorRemove:u,removeIcon:c}=$(),{disabled:d,showSearch:p,triggerOpen:f,rawOpen:m,toggleOpen:h,autoClearSearchValue:g,tagRender:v,maxTagPlaceholder:b,maxTagTextLength:y,maxTagCount:S,classNames:x,styles:D}=a(),R=`${r}-selection-item`,C=i;m||"multiple"!==s||!1===g||(C="");let P=p&&C||"",L=p&&!d,z=c??"\xd7",T=b??(e=>`+ ${e.length} ...`),H=(e,t,r,n,i)=>o.createElement("span",{title:M(e),className:(0,l.$)(R,{[`${R}-disabled`]:r},x?.item),style:D?.item},o.createElement("span",{className:(0,l.$)(`${R}-content`,x?.itemContent),style:D?.itemContent},t),n&&o.createElement(O,{className:(0,l.$)(`${R}-remove`,x?.itemRemove),style:D?.itemRemove,onMouseDown:k,onClick:i,customizeIcon:z},"\xd7")),_=(e,t,r,n,l,i,a)=>o.createElement("span",{onMouseDown:e=>{k(e),h(!f)}},v({label:t,value:e,index:a?.index,disabled:r,closable:n,onClose:l,isMaxTag:!!i}));return o.createElement(I.A,{prefixCls:`${r}-content`,className:x?.content,style:D?.content,prefix:!n.length&&!P&&o.createElement(w,null),data:n,renderItem:(e,t)=>{let{disabled:r,label:n,value:o}=e,l=!d&&!r,i=n;if("number"==typeof y&&("string"==typeof n||"number"==typeof n)){let e=String(i);e.length>y&&(i=`${e.slice(0,y)}...`)}let a=t=>{t&&t.stopPropagation(),u?.(e)};return"function"==typeof v?_(o,i,r,l,a,void 0,t):H(e,i,r,l,a)},renderRest:e=>{if(!n.length)return null;let t="function"==typeof T?T(e):T;return"function"==typeof v?_(void 0,t,!1,!1,void 0,!0):H({title:t},t,!1)},suffix:o.createElement(E,A({ref:t,disabled:d,readOnly:!L},e,{value:P||"",syncWidth:!0})),itemKey:N,maxCount:S})}),L=o.forwardRef(function(e,t){let{multiple:r,onInputKeyDown:l,tabIndex:i}=$(),s=a(),{showSearch:u}=s,c={...(0,n.KE)(s,{aria:!0}),onKeyDown:l,readOnly:!u,tabIndex:i};return r?o.createElement(P,{ref:t,inputProps:c}):o.createElement(C,{ref:t,inputProps:c})});function z(){return(z=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let T=["value","onChange","removeIcon","placeholder","maxTagCount","maxTagTextLength","maxTagPlaceholder","choiceTransitionName","onInputKeyDown","onPopupScroll","tabIndex","activeValue","onSelectorRemove","focused"],H=o.forwardRef(function(e,t){let{prefixCls:r,className:i,style:s,prefix:u,suffix:c,clearIcon:d,children:p,multiple:f,displayValues:m,placeholder:h,mode:g,searchValue:v,onSearch:$,onSearchSubmit:E,onInputBlur:w,maxLength:S,autoFocus:x,onMouseDown:D,onClearMouseDown:M,onInputKeyDown:R,onSelectorRemove:C,tokenWithEnter:I,components:O,...A}=e,{triggerOpen:N,toggleOpen:k,showSearch:P,disabled:H,loading:_,classNames:B,styles:j}=a(),W=o.useRef(null),F=o.useRef(null),K=(0,n._q)(e=>{var t;let{which:r}=e,o=F.current instanceof HTMLTextAreaElement;!o&&N&&(r===n.DD.UP||r===n.DD.DOWN)&&e.preventDefault(),R&&R(e),!(o&&!N&&~[n.DD.UP,n.DD.DOWN,n.DD.LEFT,n.DD.RIGHT].indexOf(r))&&!(e.ctrlKey||e.altKey||e.metaKey)&&(t=r)&&![n.DD.ESC,n.DD.SHIFT,n.DD.BACKSPACE,n.DD.TAB,n.DD.WIN_KEY,n.DD.ALT,n.DD.META,n.DD.WIN_KEY_RIGHT,n.DD.CTRL,n.DD.SEMICOLON,n.DD.EQUALS,n.DD.CAPS_LOCK,n.DD.CONTEXT_MENU,n.DD.UP,n.DD.LEFT,n.DD.RIGHT,n.DD.F1,n.DD.F2,n.DD.F3,n.DD.F4,n.DD.F5,n.DD.F6,n.DD.F7,n.DD.F8,n.DD.F9,n.DD.F10,n.DD.F11,n.DD.F12].includes(t)&&k(!0)});o.useImperativeHandle(t,()=>({focus:e=>{(F.current||W.current).focus?.(e)},blur:()=>{(F.current||W.current).blur?.()},nativeElement:(0,n.rb)(W.current)}));let V=(0,n._q)(e=>{if(!H){let t=(0,n.rb)(F.current);e.nativeEvent._ori_target=t;let r=t===e.target||t?.contains(e.target);t&&!r&&e.preventDefault();let o=N&&!f&&("combobox"===g||P),l=N&&f&&r;e.nativeEvent._select_lazy?N&&!f&&k(!1):(F.current?.focus(),o||l||k())}D?.(e)}),{root:Y}=O,X=(0,n.cJ)(A,T),U=Object.keys((0,n.KE)(X,{aria:!0})),q={...e,onInputKeyDown:K};if(Y){let e=Y.props||{},t={...e,...X};return(Object.keys(e).forEach(r=>{let n=e[r],o=X[r];"function"==typeof n&&"function"==typeof o&&(t[r]=(...e)=>{o(...e),n(...e)})}),o.isValidElement(Y))?o.cloneElement(Y,{...t,ref:(0,n.K4)(Y.ref,W)}):o.createElement(Y,z({},t,{ref:W}))}return o.createElement(y.Provider,{value:q},o.createElement("div",z({},(0,n.cJ)(X,U),{ref:W,className:i,style:s,onMouseDown:V}),o.createElement(b,{className:(0,l.$)(`${r}-prefix`,B?.prefix),style:j?.prefix},u),o.createElement(L,{ref:F}),o.createElement(b,{className:(0,l.$)(`${r}-suffix`,{[`${r}-suffix-loading`]:_},B?.suffix),style:j?.suffix},c),d&&o.createElement(b,{className:(0,l.$)(`${r}-clear`,B?.clear),style:j?.clear,onMouseDown:e=>{e.nativeEvent._select_lazy=!0,M?.(e)}},d),p))});function _(){return(_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let B=e=>"tags"===e||"multiple"===e,j=o.forwardRef((e,t)=>{let r,{id:a,prefixCls:u,className:c,styles:p,classNames:m,showSearch:h,tagRender:b,showScrollBar:y="optional",direction:$,omitDomProps:E,displayValues:w,onDisplayValuesChange:S,emptyOptions:x,notFoundContent:D="Not Found",onClear:M,maxCount:R,placeholder:C,mode:I,disabled:O,loading:A,getInputElement:N,getRawInputElement:k,open:P,defaultOpen:L,onPopupVisibleChange:z,activeValue:T,onActiveValueChange:j,activeDescendantId:W,searchValue:F,autoClearSearchValue:K,onSearch:V,onSearchSplit:Y,tokenSeparators:X,allowClear:U,prefix:q,suffix:G,suffixIcon:J,clearIcon:Q,OptionList:Z,animation:ee,transitionName:et,popupStyle:er,popupClassName:en,popupMatchSelectWidth:eo,popupRender:el,popupAlign:ei,placement:ea,builtinPlacements:es,getPopupContainer:eu,showAction:ec=[],onFocus:ed,onBlur:ep,onKeyUp:ef,onKeyDown:em,onMouseDown:eh,components:eg,...ev}=e,eb=B(I),ey=o.useRef(null),e$=o.useRef(null),eE=o.useRef(null),[ew,eS]=o.useState(!1);o.useImperativeHandle(t,()=>({focus:ey.current?.focus,blur:ey.current?.blur,scrollTo:e=>eE.current?.scrollTo(e),nativeElement:(0,n.rb)(ey.current)}));let ex=function(e,t,r){return o.useMemo(()=>{let{root:n,input:o}=e||{};return r&&(n=r()),t&&(o=t()),{root:n,input:o}},[e,t,r])}(eg,N,k),eD=o.useMemo(()=>{if("combobox"!==I)return F;let e=w[0]?.value;return"string"==typeof e||"number"==typeof e?String(e):""},[F,I,w]),eM="combobox"===I&&"function"==typeof N&&N()||null,eR=!D&&x,[eC,eI,eO,eA]=function(e,t,r,l){let[i,a]=(0,o.useState)(!1);(0,o.useEffect)(()=>{a(!0)},[]);let[s,u]=(0,n.PW)(e,t),[c,d]=(0,o.useState)(!1),p=!!i&&s,f=l(p),m=(0,o.useRef)(0),h=(0,n._q)(e=>{r&&f!==e&&r(e),u(e)}),g=(0,n._q)((e,t={})=>{let{cancelFun:r}=t;m.current+=1;let n=m.current,o="boolean"==typeof e?e:!f;function l(){n!==m.current||r?.()||(h(o),d(!1))}d(!o),o?l():v(()=>{l()})});return[p,f,g,c]}(L||!1,P,z,e=>!O&&!eR&&e),eN=o.useMemo(()=>"function"==typeof X||(X||[]).some(e=>["\n","\r\n"].includes(e)),[X]),ek=o.useMemo(()=>"function"==typeof X?(e,t)=>{let r=X(e),n=Array.isArray(r)&&1===r.length&&r[0]===e;return Array.isArray(r)&&r.length&&!n?void 0!==t?r.slice(0,t):r:null}:(e,t)=>((e,t,r)=>{if(!t||!t.length)return null;let n=!1,o=(e,[t,...r])=>{if(!t)return[e];let l=e.split(t);return n=n||l.length>1,l.reduce((e,t)=>[...e,...o(t,r)],[]).filter(Boolean)},l=o(e,t);return n?void 0!==r?l.slice(0,r):l:null})(e,X,t),[X]),eP=(e,t,r)=>{if(eb&&f(R)&&w.length>=R)return;let n=!0,o=e;j?.(null);let l=f(R)?R-w.length:void 0,i=r?null:ek(e,l);return"combobox"!==I&&i&&(o="",Y?.(i),eO(!1),n=!1),V&&eD!==o&&V(o,{source:t?"typing":"effect"}),e&&t&&n&&eO(!0),n};o.useEffect(()=>{eC||eb||"combobox"===I||eP("",!1,!1)},[eC]),o.useEffect(()=>{O&&(eO(!1),eS(!1))},[O,eI]);let[eL,ez]=function(e=250){let t=o.useRef(null),r=o.useRef(null);return o.useEffect(()=>()=>{window.clearTimeout(r.current)},[]),[()=>t.current,function(n){(n||null===t.current)&&(t.current=n),window.clearTimeout(r.current),r.current=window.setTimeout(()=>{t.current=null},e)}]}(),eT=o.useRef(!1),eH=(0,n._q)(e=>{S(w.filter(t=>t!==e),{type:"remove",values:[e]})}),e_=()=>[(0,n.rb)(ey.current),e$.current?.getPopupElement()];!function(e,t,r,l){let i=(0,n._q)(n=>{if(l)return;let o=n.target;o.shadowRoot&&n.composed&&(o=n.composedPath()[0]||o),n._ori_target&&(o=n._ori_target),t&&!s(e(),o)&&r(!1)});o.useEffect(()=>(window.addEventListener("mousedown",i),()=>window.removeEventListener("mousedown",i)),[i])}(e_,eI,eO,!!ex.root);let eB=o.useRef(!1),ej=()=>{eI&&!eB.current&&eO(!1,{cancelFun:()=>s(e_(),document.activeElement)})},eW=(e,...t)=>{let{target:r}=e,n=e$.current?.getPopupElement();n?.contains(r)&&eO&&eO(!0),eh?.(e,...t),eB.current=!0,v(()=>{eB.current=!1})},[,eF]=o.useState({});ex.root&&(r=e=>{eO(e)});let eK=o.useMemo(()=>({...e,notFoundContent:D,open:eI,triggerOpen:eI,rawOpen:eC,id:a,showSearch:h,multiple:eb,toggleOpen:eO,showScrollBar:y,styles:p,classNames:m,lockOptions:eA}),[e,D,eO,a,h,eb,eI,eC,y,p,m,eA]),eV=o.useMemo(()=>{let e=G??J;return"function"==typeof e?e({searchValue:eD,open:eI,focused:ew,showSearch:h,loading:A}):e},[G,J,eD,eI,ew,h,A]),{allowClear:eY,clearIcon:eX}=((e,t,r,n,l=!1,i,a)=>{let s=(0,o.useMemo)(()=>"boolean"==typeof r?{allowClear:r}:r&&"object"==typeof r?r:{allowClear:!1},[r]);return(0,o.useMemo)(()=>{let e=!l&&!1!==s.allowClear&&(t.length||i)&&("combobox"!==a||""!==i);return{allowClear:e,clearIcon:e?s.clearIcon||n||"\xd7":null}},[s,n,l,t.length,i,a])})(0,w,U,Q,O,eD,I),eU=o.createElement(Z,{ref:eE}),eq=(0,l.$)(u,c,{[`${u}-focused`]:ew,[`${u}-multiple`]:eb,[`${u}-single`]:!eb,[`${u}-allow-clear`]:eY,[`${u}-show-arrow`]:null!=eV,[`${u}-disabled`]:O,[`${u}-loading`]:A,[`${u}-open`]:eI,[`${u}-customize-input`]:eM,[`${u}-show-search`]:h}),eG=o.createElement(H,_({},ev,{ref:ey,prefixCls:u,className:eq,focused:ew,prefix:q,suffix:eV,clearIcon:eX,multiple:eb,mode:I,displayValues:w,placeholder:C,searchValue:eD,activeValue:T,onSearch:eP,onSearchSubmit:e=>{e&&e.trim()&&V(e,{source:"submit"})},onInputBlur:()=>{eT.current=!1},onFocus:e=>{eS(!0),O||(ec.includes("focus")&&eO(!0),ed?.(e))},onBlur:e=>{eS(!1),eD&&("tags"===I?V(eD,{source:"submit"}):"multiple"===I&&V("",{source:"blur"})),ej(),O||ep?.(e)},onClearMouseDown:()=>{M?.(),ey.current?.focus(),S([],{type:"clear",values:w}),eP("",!1,!1)},onKeyDown:e=>{let t=eL(),{key:r}=e,n="Enter"===r,o=" "===r;if(n||o){let t="combobox"===I,r=t||h;(o&&!r||n&&!t)&&e.preventDefault(),eI||eO(!0)}if(ez(!!eD),"Backspace"===r&&!t&&eb&&!eD&&w.length){let e=[...w],t=null;for(let r=e.length-1;r>=0;r-=1){let n=e[r];if(!n.disabled){e.splice(r,1),t=n;break}}t&&S(e,{type:"remove",values:[t]})}!eI||n&&eT.current||o||(n&&(eT.current=!0),eE.current?.onKeyDown(e)),em?.(e)},onKeyUp:(e,...t)=>{eI&&eE.current?.onKeyUp(e,...t),"Enter"===e.key&&(eT.current=!1),ef?.(e,...t)},onSelectorRemove:eH,tokenWithEnter:eN,onMouseDown:eW,components:ex}));return eG=o.createElement(d,{ref:e$,disabled:O,prefixCls:u,visible:eI,popupElement:eU,animation:ee,transitionName:et,popupStyle:er,popupClassName:en,direction:$,popupMatchSelectWidth:eo,popupRender:el,popupAlign:ei,placement:ea,builtinPlacements:es,getPopupContainer:eu,empty:x,onPopupVisibleChange:r,onPopupMouseEnter:function(){eF({})},onPopupMouseDown:eW,onPopupBlur:ej},eG),o.createElement(i.Provider,{value:eK},o.createElement(g,{visible:ew&&!eI,values:w}),eG)}),W=()=>null;W.isSelectOptGroup=!0;let F=W,K=()=>null;K.isSelectOption=!0;let V=K;var Y=r(93307);function X(){return(X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function U(e){return"string"==typeof e||"number"==typeof e}let q=o.forwardRef((e,t)=>{let{prefixCls:r,id:i,open:s,multiple:u,mode:c,searchValue:d,toggleOpen:p,notFoundContent:m,onPopupScroll:h,showScrollBar:g,lockOptions:v}=a(),{maxCount:b,flattenOptions:y,onActiveValue:$,defaultActiveFirstOption:E,onSelect:w,menuItemSelectedIcon:x,rawValues:D,fieldNames:M,virtual:R,direction:C,listHeight:I,listItemHeight:A,optionRender:N,classNames:k,styles:P}=o.useContext(S),L=`${r}-item`,z=(0,n.Kr)(()=>y,[s,v],(e,t)=>t[0]&&!t[1]),T=o.useRef(null),H=o.useMemo(()=>u&&f(b)&&D?.size>=b,[u,b,D?.size]),_=e=>{e.preventDefault()},B=e=>{T.current?.scrollTo("number"==typeof e?{index:e}:e)},j=o.useCallback(e=>"combobox"!==c&&D.has(e),[c,[...D].toString(),D.size]),W=(e,t=1)=>{let r=z.length;for(let n=0;n<r;n+=1){let o=(e+n*t+r)%r,{group:l,data:i}=z[o]||{};if(!l&&!i?.disabled&&(j(i.value)||!H))return o}return -1},[F,K]=o.useState(()=>W(0)),V=(e,t=!1)=>{K(e);let r={source:t?"keyboard":"mouse"},n=z[e];if(!n)return void $(null,-1,r);$(n.value,e,r)};(0,o.useEffect)(()=>{V(!1!==E?W(0):-1)},[z.length,d]);let q=o.useCallback(e=>"combobox"===c?String(e).toLowerCase()===d.toLowerCase():D.has(e),[c,d,[...D].toString(),D.size]);(0,o.useEffect)(()=>{let e;if(!u&&s&&1===D.size){let t=Array.from(D)[0],r=z.findIndex(({data:e})=>d?String(e.value).startsWith(d):e.value===t);-1!==r&&(V(r),e=setTimeout(()=>{B(r)}))}return s&&T.current?.scrollTo(void 0),()=>clearTimeout(e)},[s,d]);let G=e=>{void 0!==e&&w(e,{selected:!D.has(e)}),u||p(!1)};if(o.useImperativeHandle(t,()=>({onKeyDown:e=>{let{which:t,ctrlKey:r}=e;switch(t){case n.DD.N:case n.DD.P:case n.DD.UP:case n.DD.DOWN:{let e=0;if(t===n.DD.UP?e=-1:t===n.DD.DOWN?e=1:/(mac\sos|macintosh)/i.test(navigator.appVersion)&&r&&(t===n.DD.N?e=1:t===n.DD.P&&(e=-1)),0!==e){let t=W(F+e,e);B(t),V(t,!0)}break}case n.DD.TAB:case n.DD.ENTER:{let t=z[F];if(!t||t.data.disabled)return G(void 0);!H||D.has(t.value)?G(t.value):G(void 0),s&&e.preventDefault();break}case n.DD.ESC:p(!1),s&&e.stopPropagation()}},onKeyUp:()=>{},scrollTo:e=>{B(e)}})),0===z.length)return o.createElement("div",{role:"listbox",id:`${i}_list`,className:`${L}-empty`,onMouseDown:_},m);let J=Object.keys(M).map(e=>M[e]);function Q(e,t){let{group:r}=e;return{role:r?"presentation":"option",id:`${i}_list_${t}`}}let Z=e=>{let t=z[e];if(!t)return null;let r=t.data||{},{value:l,disabled:i}=r,{group:a}=t,s=(0,n.KE)(r,!0),u=t.label;return t?o.createElement("div",X({"aria-label":"string"!=typeof u||a?null:u},s,{key:e},Q(t,e),{"aria-selected":q(l),"aria-disabled":i}),l):null},ee={role:"listbox",id:`${i}_list`};return o.createElement(o.Fragment,null,R&&o.createElement("div",X({},ee,{style:{height:0,width:0,overflow:"hidden"}}),Z(F-1),Z(F),Z(F+1)),o.createElement(Y.A,{itemKey:"key",ref:T,data:z,height:I,itemHeight:A,fullHeight:!1,onMouseDown:_,onScroll:h,virtual:R,direction:C,innerProps:R?null:ee,showScrollBar:g,className:k?.popup?.list,style:P?.popup?.list},(e,t)=>{let{group:r,groupOption:i,data:a,label:s,value:u}=e,{key:c}=a;if(r){let e=a.title??(U(s)?s.toString():void 0);return o.createElement("div",{className:(0,l.$)(L,`${L}-group`,a.className),title:e},void 0!==s?s:c)}let{disabled:d,title:p,children:f,style:m,className:h,...g}=a,v=(0,n.cJ)(g,J),b=j(u),y=d||!b&&H,$=`${L}-option`,E=(0,l.$)(L,$,h,k?.popup?.listItem,{[`${$}-grouped`]:i,[`${$}-active`]:F===t&&!y,[`${$}-disabled`]:y,[`${$}-selected`]:b}),w=e.label,S=!x||"function"==typeof x||b,D="number"==typeof w?w:w||u,M=U(D)?D.toString():void 0;return void 0!==p&&(M=p),o.createElement("div",X({},(0,n.KE)(v),R?{}:Q(e,t),{"aria-selected":R?void 0:q(u),"aria-disabled":y,className:E,title:M,onMouseMove:()=>{F===t||y||V(t)},onClick:()=>{y||G(u)},style:{...P?.popup?.listItem,...m}}),o.createElement("div",{className:`${$}-content`},"function"==typeof N?N(e,{index:t}):D),o.isValidElement(x)||b,S&&o.createElement(O,{className:`${L}-option-state`,customizeIcon:x,customizeIconProps:{value:u,disabled:y,isSelected:b}},b?"✓":null))}))});function G(e,t){return x(e).join("").toUpperCase().includes(t)}function J(e){let t=o.useRef();return t.current=e,o.useCallback((...e)=>t.current(...e),[])}function Q(){return(Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let Z=["inputValue"],ee=o.forwardRef((e,t)=>{let{id:r,mode:l,prefixCls:i="rc-select",backfill:a,fieldNames:s,showSearch:u,searchValue:c,onSearch:d,autoClearSearchValue:f,filterOption:g,optionFilterProp:v,filterSort:b,onSelect:y,onDeselect:$,onActive:E,popupMatchSelectWidth:w=!0,optionLabelProp:D,options:M,optionRender:R,children:C,defaultActiveFirstOption:I,menuItemSelectedIcon:O,virtual:A,direction:N,listHeight:k=200,listItemHeight:P=20,labelRender:L,value:z,defaultValue:T,labelInValue:H,onChange:_,maxCount:W,classNames:F,styles:K,...V}=e,[Y,X]=function(e,t,r){let{filterOption:n,searchValue:l,optionFilterProp:i,filterSort:a,onSearch:s,autoClearSearchValue:u}=t;return o.useMemo(()=>{let t="object"==typeof e,o={filterOption:n,searchValue:l,optionFilterProp:i,filterSort:a,onSearch:s,autoClearSearchValue:u,...t?e:{}};return[!!t||"combobox"===r||"tags"===r||"multiple"===r&&void 0===e||e,o]},[r,e,n,l,i,a,s,u])}(u,{searchValue:c,onSearch:d,autoClearSearchValue:f,filterOption:g,optionFilterProp:v,filterSort:b},l),{filterOption:U,searchValue:ee,optionFilterProp:et,filterSort:er,onSearch:en,autoClearSearchValue:eo=!0}=X,el=o.useMemo(()=>et?Array.isArray(et)?et:[et]:[],[et]),ei=(0,n.Bi)(r),ea=B(l),es=!!(!M&&C),eu=o.useMemo(()=>(void 0!==U||"combobox"!==l)&&U,[U,l]),ec=o.useMemo(()=>m(s,es),[JSON.stringify(s),es]),[ed,ep]=(0,n.PW)("",ee),ef=ed||"",em=((e,t,r,l,i)=>o.useMemo(()=>{let a=e;e||(a=function e(t,r=!1){return(0,n.$r)(t).map((t,n)=>{if(!o.isValidElement(t)||!t.type)return null;let{type:{isSelectOptGroup:l},key:i,props:{children:a,...s}}=t;if(r||!l){let{key:e,props:{children:r,value:n,...o}}=t;return{key:e,value:void 0!==n?n:e,children:r,...o}}return{key:`__RC_SELECT_GRP__${null===i?n:i}__`,label:i,...s,options:e(a)}}).filter(e=>e)}(t));let s=new Map,u=new Map,c=(e,t,r)=>{r&&"string"==typeof r&&e.set(t[r],t)},d=(e,t=!1)=>{for(let n=0;n<e.length;n+=1){let o=e[n];!o[r.options]||t?(s.set(o[r.value],o),c(u,o,r.label),l.forEach(e=>{c(u,o,e)}),c(u,o,i)):d(o[r.options],!0)}};return d(a),{options:a,valueOptions:s,labelOptions:u}},[e,t,r,l,i]))(M,C,ec,el,D),{valueOptions:eh,labelOptions:eg,options:ev}=em,eb=o.useCallback(e=>x(e).map(e=>{let t,r,n,o;!function(e){return!e||"object"!=typeof e}(e)?(r=e.label,t=e.value):t=e;let l=eh.get(t);return l&&(void 0===r&&(r=l?.[D||ec.label]),n=l?.disabled,o=l?.title),{label:r,value:t,key:t,disabled:n,title:o}}),[ec,D,eh]),[ey,e$]=(0,n.PW)(T,z),[eE,ew]=((e,t)=>{let r=o.useRef({values:new Map,options:new Map});return[o.useMemo(()=>{let{values:n,options:o}=r.current,l=e.map(e=>void 0===e.label?{...e,label:n.get(e.value)?.label}:e),i=new Map,a=new Map;return l.forEach(e=>{i.set(e.value,e),a.set(e.value,t.get(e.value)||o.get(e.value))}),r.current.values=i,r.current.options=a,l},[e,t]),o.useCallback(e=>t.get(e)||r.current.options.get(e),[t])]})(o.useMemo(()=>{let e=eb(ea&&null===ey?[]:ey);return"combobox"===l&&function(e){return!e&&0!==e}(e[0]?.value)?[]:e},[ey,eb,l,ea]),eh),eS=o.useMemo(()=>{if(!l&&1===eE.length){let e=eE[0];if(null===e.value&&(null===e.label||void 0===e.label))return[]}return eE.map(e=>({...e,label:("function"==typeof L?L(e):e.label)??e.value}))},[l,eE,L]),ex=o.useMemo(()=>new Set(eE.map(e=>e.value)),[eE]);o.useEffect(()=>{if("combobox"===l){let e=eE[0]?.value;ep(null!=e?String(e):"")}},[eE]);let eD=J((e,t)=>({[ec.value]:e,[ec.label]:t??e})),eM=((e,t,r,n,l)=>o.useMemo(()=>{if(!r||!1===n)return e;let{options:o,label:i,value:a}=t,s=[],u="function"==typeof n,c=r.toUpperCase(),d=u?n:(e,t)=>l&&l.length?l.some(e=>G(t[e],c)):t[o]?G(t["children"!==i?i:"label"],c):G(t[a],c),p=u?e=>h(e):e=>e;return e.forEach(e=>{if(e[o]){if(d(r,p(e)))s.push(e);else{let t=e[o].filter(e=>d(r,p(e)));t.length&&s.push({...e,[o]:t})}return}d(r,p(e))&&s.push(e)}),s},[e,n,l,r,t]))(o.useMemo(()=>{if("tags"!==l)return ev;let e=[...ev];return[...eE].sort((e,t)=>e.value<t.value?-1:1).forEach(t=>{let r=t.value;eh.has(r)||e.push(eD(r,t.label))}),e},[eD,ev,eh,eE,l]),ec,ef,eu,el),eR=o.useMemo(()=>"tags"!==l||!ef||eM.some(e=>(e=>el.length?el.some(t=>e?.[t]===ef):e?.value===ef)(e))||eM.some(e=>e[ec.value]===ef)||eh.get(ef)?.disabled?eM:[eD(ef),...eM],[eD,el,l,eM,ef,ec,eh]),eC=e=>[...e].sort((e,t)=>er(e,t,{searchValue:ef})).map(e=>Array.isArray(e.options)?{...e,options:e.options.length>0?eC(e.options):e.options}:e),eI=o.useMemo(()=>er?eC(eR):eR,[eR,er,ef]),eO=o.useMemo(()=>(function(e,{fieldNames:t,childrenAsData:r}={}){let n=[],{label:o,value:l,options:i,groupLabel:a}=m(t,!1);return!function e(t,s){Array.isArray(t)&&t.forEach(t=>{if(!s&&i in t){let o=t[a];void 0===o&&r&&(o=t.label),n.push({key:p(t,n.length),group:!0,data:t,label:o}),e(t[i],!0)}else{let e=t[l];n.push({key:p(t,n.length),groupOption:s,data:t,label:t[o],value:e})}})}(e,!1),n})(eI,{fieldNames:ec,childrenAsData:es}),[eI,ec,es]),eA=e=>{let t=eb(e);if(e$(t),_&&(t.length!==eE.length||t.some((e,t)=>eE[t]?.value!==e?.value))){let e=H?t.map(({label:e,value:t})=>({label:e,value:t})):t.map(e=>e.value),r=t.map(e=>h(ew(e.value)));_(ea?e:e[0],ea?r:r[0])}},[eN,ek]=o.useState(null),[eP,eL]=o.useState(0),ez=void 0!==I?I:"combobox"!==l,eT=o.useRef(),eH=o.useCallback((e,t,{source:r="keyboard"}={})=>{eL(t),a&&"combobox"===l&&null!==e&&"keyboard"===r&&ek(String(e));let n=Promise.resolve().then(()=>{eT.current===n&&E?.(e)});eT.current=n},[a,l,E]),e_=(e,t,r)=>{let n=()=>{let t=ew(e);return[H?{label:t?.[ec.label],value:e}:e,h(t)]};if(t&&y){let[e,t]=n();y(e,t)}else if(!t&&$&&"clear"!==r){let[e,t]=n();$(e,t)}},eB=J((e,t)=>{let r=!ea||t.selected;eA(r?ea?[...eE,e]:[e]:eE.filter(t=>t.value!==e)),e_(e,r),"combobox"===l?ek(""):(!B||eo)&&(ep(""),ek(""))}),ej=o.useMemo(()=>{let e=!1!==A&&!1!==w;return{...em,flattenOptions:eO,onActiveValue:eH,defaultActiveFirstOption:ez,onSelect:eB,menuItemSelectedIcon:O,rawValues:ex,fieldNames:ec,virtual:e,direction:N,listHeight:k,listItemHeight:P,childrenAsData:es,maxCount:W,optionRender:R,classNames:F,styles:K}},[W,em,eO,eH,ez,eB,O,ex,ec,A,w,N,k,P,es,R,F,K]);return o.createElement(S.Provider,{value:ej},o.createElement(j,Q({},V,{id:ei,prefixCls:i,ref:t,omitDomProps:Z,mode:l,classNames:F,styles:K,displayValues:eS,onDisplayValuesChange:(e,t)=>{eA(e);let{type:r,values:n}=t;("remove"===r||"clear"===r)&&n.forEach(e=>{e_(e.value,!1,r)})},maxCount:W,direction:N,showSearch:Y,searchValue:ef,onSearch:(e,t)=>{if(ep(e),ek(null),"submit"===t.source){let t=(e||"").trim();if(t){if(eh.get(t)?.disabled)return void ep("");eA(Array.from(new Set([...ex,t]))),e_(t,!0),ep("")}return}"blur"!==t.source&&("combobox"===l&&eA(e),en?.(e))},autoClearSearchValue:eo,onSearchSplit:e=>{let t=e;"tags"!==l&&(t=e.map(e=>{let t=eg.get(e);return t?.value}).filter(e=>void 0!==e)),"tags"===l&&(t=t.filter(e=>!eh.get(e)?.disabled));let r=Array.from(new Set([...ex,...t]));eA(r),r.forEach(e=>{e_(e,!0)})},popupMatchSelectWidth:w,OptionList:q,emptyOptions:!eO.length,activeValue:eN,activeDescendantId:`${ei}_list_${eP}`})))});ee.Option=V,ee.OptGroup=F;let et=ee},30486:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(97109),o=r(58758),l=r(88483);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let a=n.forwardRef((e,t)=>n.createElement(l.A,i({},e,{ref:t,icon:o.A})))},50883:(e,t,r)=>{r.d(t,{A:()=>O});var n=r(97109),o=r(5308),l=r(42644),i=r(3638),a=r(36319),s=r(92162),u=r(84649);function c(e,t,r){return!1===e?null:!0===e?r:e&&void 0!==e[t]?e[t]:r}var d=r(82725),p=r(4034),f=r(74567),m=r(97194),h=r(6831),g=r(632),v=r(27273),b=r(55359),y=r(73134),$=r(49644),E=r(7709),w=r(72725),S=r(72243),x=r(77785),D=r(90533),M=r(76129);let R="SECRET_COMBOBOX_MODE_DO_NOT_USE",C=n.forwardRef((e,t)=>{let r,{prefixCls:d,bordered:C,className:I,rootClassName:O,getPopupContainer:A,popupClassName:N,dropdownClassName:k,listHeight:P=256,placement:L,listItemHeight:z,size:T,disabled:H,notFoundContent:_,status:B,builtinPlacements:j,dropdownMatchSelectWidth:W,popupMatchSelectWidth:F,direction:K,style:V,allowClear:Y,variant:X,popupStyle:U,dropdownStyle:q,transitionName:G,tagRender:J,maxCount:Q,prefix:Z,dropdownRender:ee,popupRender:et,onDropdownVisibleChange:er,onOpenChange:en,styles:eo,classNames:el,clearIcon:ei,showSearch:ea,...es}=e,{getPopupContainer:eu,getPrefixCls:ec,renderEmpty:ed,direction:ep,virtual:ef,popupMatchSelectWidth:em,popupOverflow:eh}=n.useContext(f.QO),{showSearch:eg,allowClear:ev,style:eb,styles:ey,className:e$,classNames:eE,clearIcon:ew,loadingIcon:eS,menuItemSelectedIcon:ex,removeIcon:eD,suffixIcon:eM}=(0,f.TP)("select"),[,eR]=(0,E.Ay)(),eC=z??eR?.controlHeight,eI=ec("select",d),eO=ec(),eA=K??ep,{compactSize:eN,compactItemClassnames:ek}=(0,$.RQ)(eI,eA),[eP,eL]=(0,y.A)("select",X,C),ez=(0,g.A)(eI),[eT,eH]=(0,S.A)(eI,ez),e_=n.useMemo(()=>{let{mode:t}=e;if("combobox"!==t)return t===R?"combobox":t},[e.mode]),eB="multiple"===e_||"tags"===e_,ej=(0,M.A)(e.suffixIcon,e.showArrow),eW=(0,D.A)(et||ee),{status:eF,hasFeedback:eK,isFormItemInput:eV,feedbackIcon:eY}=n.useContext(b.$W),eX=(0,p.v)(eF,B);r=void 0!==_?_:"combobox"===e_?null:ed?.("Select")||n.createElement(m.A,{componentName:"Select"});let{suffixIcon:eU,itemIcon:eq,removeIcon:eG,clearIcon:eJ}=(0,x.A)({...es,multiple:eB,hasFeedback:eK,feedbackIcon:eY,showSuffixIcon:ej,prefixCls:eI,componentName:"Select",clearIcon:ei,searchIcon:c(ea,"searchIcon"),contextClearIcon:ew,contextLoadingIcon:eS,contextMenuItemSelectedIcon:ex,contextRemoveIcon:eD,contextSearchIcon:c(eg,"searchIcon"),contextSuffixIcon:eM}),eQ=Y??ev,eZ=ea??eg,e0=(0,l.cJ)(es,["suffixIcon","itemIcon"]),e1=(0,v.A)(e=>T??eN??e),e2=n.useContext(h.A),e6=H??e2,e3={...e,variant:eP,status:eX,disabled:e6,size:e1},e4=(0,s.XT)(eb),e5=(0,s.XT)(V),[e8,e7]=(0,s.AV)([eE,el],[ey,e4,eo,e5],{props:e3},{popup:{_default:"root"}}),e9=(0,i.$)(e8.popup.root,N,k,{[`${eI}-dropdown-${eA}`]:"rtl"===eA},O,eH,ez,eT),te={...e7.popup?.root,...U??q},tt=(0,i.$)({[`${eI}-lg`]:"large"===e1,[`${eI}-sm`]:"small"===e1,[`${eI}-rtl`]:"rtl"===eA,[`${eI}-${eP}`]:eL,[`${eI}-in-form-item`]:eV},(0,p.L)(eI,eX,eK),ek,e$,I,e8.root,O,eH,ez,eT),tr=n.useMemo(()=>void 0!==L?L:"rtl"===eA?"bottomRight":"bottomLeft",[L,eA]),[tn]=(0,a.YK)("SelectLike",e7.popup.root?.zIndex??te.zIndex);return n.createElement(o.Ay,{ref:t,virtual:ef,classNames:e8,styles:e7,showSearch:eZ,...e0,style:e7.root,popupMatchSelectWidth:F??W??em,transitionName:(0,u.b)(eO,"slide-up",G),builtinPlacements:(0,w.A)(j,eh),listHeight:P,listItemHeight:eC,mode:e_,prefixCls:eI,placement:tr,direction:eA,prefix:Z,suffixIcon:eU,menuItemSelectedIcon:eq,removeIcon:eG,allowClear:!0===eQ?{clearIcon:eJ}:eQ,notFoundContent:r,className:tt,getPopupContainer:A||eu,popupClassName:e9,disabled:e6,popupStyle:{...e7.popup.root,...te,zIndex:tn},maxCount:eB?Q:void 0,tagRender:eB?J:void 0,popupRender:eW,onPopupVisibleChange:en||er})}),I=(0,d.A)(C,"popupAlign");C.SECRET_COMBOBOX_MODE_DO_NOT_USE=R,C.Option=o.c$,C.OptGroup=o.JM,C._InternalPanelDoNotUseOrYouWillBeFired=I;let O=C},58758:(e,t)=>{t.A={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"}},60470:(e,t,r)=>{r.d(t,{A:()=>a});var n=r(97109),o=r(838),l=r(88483);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}let a=n.forwardRef((e,t)=>n.createElement(l.A,i({},e,{ref:t,icon:o.A})))},69811:(e,t,r)=>{r.d(t,{Mh:()=>p});var n=r(15561),o=r(5688);let l=new n.Mo("antMoveDownIn",{"0%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),i=new n.Mo("antMoveDownOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, 100%, 0)",transformOrigin:"0 0",opacity:0}}),a=new n.Mo("antMoveLeftIn",{"0%":{transform:"translate3d(-100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),s=new n.Mo("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 n.Mo("antMoveRightIn",{"0%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),c=new n.Mo("antMoveRightOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(100%, 0, 0)",transformOrigin:"0 0",opacity:0}}),d={"move-up":{inKeyframes:new n.Mo("antMoveUpIn",{"0%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0},"100%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1}}),outKeyframes:new n.Mo("antMoveUpOut",{"0%":{transform:"translate3d(0, 0, 0)",transformOrigin:"0 0",opacity:1},"100%":{transform:"translate3d(0, -100%, 0)",transformOrigin:"0 0",opacity:0}})},"move-down":{inKeyframes:l,outKeyframes:i},"move-left":{inKeyframes:a,outKeyframes:s},"move-right":{inKeyframes:u,outKeyframes:c}},p=(e,t)=>{let{antCls:r}=e,n=`${r}-${t}`,{inKeyframes:l,outKeyframes:i}=d[t];return[(0,o.b)(n,l,i,e.motionDurationMid),{[`
2
+ ${n}-enter,
3
+ ${n}-appear
4
+ `]:{opacity:0,animationTimingFunction:e.motionEaseOutCirc},[`${n}-leave`]:{animationTimingFunction:e.motionEaseInOutCirc}}]}},72243:(e,t,r)=>{r.d(t,{A:()=>m});var n=r(7961),o=r(77032),l=r(10540),i=r(28403),a=r(86827),s=r(69811);let u=e=>{let{optionHeight:t,optionFontSize:r,optionLineHeight:n,optionPadding:o}=e;return{position:"relative",display:"block",minHeight:t,padding:o,color:e.colorText,fontWeight:"normal",fontSize:r,lineHeight:n,boxSizing:"border-box"}};var c=r(15561);let d=(e,t)=>{let{componentCls:r,antCls:n}=e,[o]=(0,l.PN)(n,"select"),{border:i,borderHover:a,borderActive:s,borderOutline:u}=t,d=t.background||e.selectorBg||e.colorBgContainer;return{[o("border-color")]:i,[o("background-color")]:d,[o("affix-color")]:t.affixColor,[`&:not(${r}-disabled)`]:{"&:hover":{[o("border-color")]:a,[o("background-color")]:t.backgroundHover||d},[`&${r}-focused`]:{[o("border-color")]:s,[o("background-color")]:t.backgroundActive||d,boxShadow:`0 0 0 ${(0,c.zA)(e.controlOutlineWidth)} ${u}`}},[`&${r}-disabled`]:{[o("border-color")]:t.borderDisabled||t.border,[o("background-color")]:t.backgroundDisabled||t.background}}},p=(e,t,r,n,o,l)=>{let{componentCls:i}=e;return{[`&${i}-${t}`]:[d(e,r),{[`&${i}-status-error`]:d(e,{...r,...n}),[`&${i}-status-warning`]:d(e,{...r,...o})},l]}},f=(e,t)=>({outline:`${(0,c.zA)(e.lineWidth)} ${e.lineType} ${t}`,outlineOffset:(0,c.zA)(e.calc(e.lineWidth).mul(-1).equal()),transition:["outline-offset","outline"].map(e=>`${e} 0s`).join(", ")}),m=(0,l.OF)("Select",(e,{rootPrefixCls:t})=>{let r=(0,i.oX)(e,{rootPrefixCls:t,inputPaddingHorizontalBase:e.calc(e.paddingSM).sub(e.lineWidth).equal(),multipleSelectItemHeight:e.multipleItemHeight,selectHeight:e.controlHeight});return[(e=>{let{componentCls:t}=e;return[{[t]:{[`&${t}-in-form-item`]:{width:"100%"}}},(e=>{let{antCls:t,componentCls:r,motionDurationMid:o,inputPaddingHorizontalBase:l}=e,i={[`${r}-clear`]:{opacity:1,background:e.colorBgBase,borderRadius:"50%"}};return{[r]:{...(0,n.dF)(e),[`${r}-selection-item`]:{flex:1,fontWeight:"normal",position:"relative",userSelect:"none",...n.L9,[`> ${t}-typography`]:{display:"inline"}},[`${r}-prefix`]:{flex:"none",marginInlineEnd:e.selectAffixPadding},[`${r}-clear`]:{position:"absolute",top:"50%",insetInlineStart:"auto",insetInlineEnd:l,zIndex:1,display:"inline-block",width:e.fontSizeIcon,height:e.fontSizeIcon,marginTop:e.calc(e.fontSizeIcon).mul(-1).div(2).equal(),color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,fontStyle:"normal",lineHeight:1,textAlign:"center",textTransform:"none",cursor:"pointer",opacity:0,transition:["color","opacity"].map(e=>`${e} ${o} ease`).join(", "),textRendering:"auto",transform:"translateZ(0)","&:before":{display:"block"},"&:hover":{color:e.colorIcon}},"@media(hover:none)":i,"&:hover":i},[`${r}-status`]:{"&-error, &-warning, &-success, &-validating":{[`&${r}-has-feedback`]:{[`${r}-clear`]:{insetInlineEnd:e.calc(l).add(e.fontSize).add(e.paddingXS).equal()}}}}}})(e),(e=>{let{antCls:t,componentCls:r}=e,o=`${r}-item`,l=`&${t}-slide-up-enter${t}-slide-up-enter-active`,i=`&${t}-slide-up-appear${t}-slide-up-appear-active`,c=`&${t}-slide-up-leave${t}-slide-up-leave-active`,d=`${r}-dropdown-placement-`,p=`${o}-option-selected`;return[{[`${r}-dropdown`]:{...(0,n.dF)(e),position:"absolute",top:-9999,zIndex:e.zIndexPopup,boxSizing:"border-box",padding:e.paddingXXS,overflow:"hidden",fontSize:e.fontSize,fontVariant:"initial",backgroundColor:e.colorBgElevated,borderRadius:e.borderRadiusLG,outline:"none",boxShadow:e.boxShadowSecondary,[`
5
+ ${l}${d}bottomLeft,
6
+ ${i}${d}bottomLeft
7
+ `]:{animationName:a.ox},[`
8
+ ${l}${d}topLeft,
9
+ ${i}${d}topLeft,
10
+ ${l}${d}topRight,
11
+ ${i}${d}topRight
12
+ `]:{animationName:a.nP},[`${c}${d}bottomLeft`]:{animationName:a.vR},[`
13
+ ${c}${d}topLeft,
14
+ ${c}${d}topRight
15
+ `]:{animationName:a.YU},"&-hidden":{display:"none"},[o]:{...u(e),cursor:"pointer",transition:`background-color ${e.motionDurationSlow} ease`,borderRadius:e.borderRadiusSM,"&-group":{color:e.colorTextDescription,fontSize:e.fontSizeSM,cursor:"default"},"&-option":{display:"flex","&-content":{flex:"auto",...n.L9},"&-state":{flex:"none",display:"flex",alignItems:"center"},[`&-selected:not(${o}-option-disabled)`]:{color:e.optionSelectedColor,fontWeight:e.optionSelectedFontWeight,backgroundColor:e.optionSelectedBg,[`${o}-option-state`]:{color:e.colorPrimary}},[`&-active:not(${o}-option-disabled)`]:{backgroundColor:e.optionActiveBg},[`&-selected${o}-option-active:not(${o}-option-disabled)`]:{backgroundColor:e.controlItemBgActiveHover},"&-disabled":{[`&${o}-option-selected`]:{backgroundColor:e.colorBgContainerDisabled},color:e.colorTextDisabled,cursor:"not-allowed"},"&-grouped":{paddingInlineStart:e.calc(e.controlPaddingHorizontal).mul(2).equal()}},"&-empty":{...u(e),color:e.colorTextDisabled}},[`${p}:has(+ ${p})`]:{borderEndStartRadius:0,borderEndEndRadius:0,[`& + ${p}`]:{borderStartStartRadius:0,borderStartEndRadius:0}},"&-rtl":{direction:"rtl"}}},(0,a._j)(e,"slide-up"),(0,a._j)(e,"slide-down"),(0,s.Mh)(e,"move-up"),(0,s.Mh)(e,"move-down")]})(e),{[`${t}-rtl`]:{direction:"rtl"}},(0,o.G)(e,{focusElCls:`${t}-focused`})]})(r),(e=>{let{componentCls:t,fontHeight:r,controlHeight:o,fontSizeIcon:i,showArrowPaddingInlineEnd:a,iconCls:s,antCls:u,max:c,calc:d}=e,[m,h]=(0,l.PN)(u,"select"),g=c(d(a).sub(i).equal(),0);return{[t]:[{[m("border-radius")]:e.borderRadius,[m("border-color")]:"#000",[m("border-size")]:e.lineWidth,[m("background-color")]:e.colorBgContainer,[m("font-size")]:e.fontSize,[m("line-height")]:e.lineHeight,[m("font-height")]:r,[m("color")]:e.colorText,[m("affix-color")]:e.colorText,[m("height")]:o,[m("padding-horizontal")]:d(e.paddingSM).sub(e.lineWidth).equal(),[m("padding-vertical")]:`calc((${h("height")} - ${h("font-height")}) / 2 - ${h("border-size")})`,...(0,n.dF)(e),display:"inline-flex",flexWrap:"nowrap",position:"relative",transition:`all ${e.motionDurationSlow}`,alignItems:"flex-start",outline:0,cursor:"pointer",borderRadius:h("border-radius"),borderWidth:h("border-size"),borderStyle:e.lineType,borderColor:h("border-color"),background:h("background-color"),fontSize:h("font-size"),lineHeight:h("line-height"),color:h("color"),paddingInline:h("padding-horizontal"),paddingBlock:h("padding-vertical"),[`${t}-prefix`]:{color:h("affix-color"),flex:"none",lineHeight:1},[`${t}-placeholder`]:{...n.L9,color:e.colorTextPlaceholder,pointerEvents:"none",zIndex:1},[`${t}-content`]:{flex:"auto",minWidth:0,position:"relative",display:"flex",marginInlineEnd:g,"&:before":{content:'"\\a0"',width:0,overflow:"hidden"},"&-value":{visibility:"inherit"},"input[readonly]":{cursor:"inherit",caretColor:"transparent"}},[`${t}-suffix`]:{flex:"none",color:e.colorTextQuaternary,fontSize:e.fontSizeIcon,lineHeight:1,"> :not(:last-child)":{marginInlineEnd:e.marginXS}},[`${t}-prefix, ${t}-suffix`]:{alignSelf:"center",[s]:{verticalAlign:"top"}},"&-disabled":{background:e.colorBgContainerDisabled,color:e.colorTextDisabled,cursor:"not-allowed",input:{cursor:"not-allowed"}},"&-sm":{[m("height")]:e.controlHeightSM,[m("padding-horizontal")]:d(e.paddingXS).sub(e.lineWidth).equal(),[m("border-radius")]:e.borderRadiusSM,[`${t}-clear`]:{insetInlineEnd:h("padding-horizontal")}},"&-lg":{[m("height")]:e.controlHeightLG,[m("font-size")]:e.fontSizeLG,[m("line-height")]:e.lineHeightLG,[m("font-height")]:e.fontHeightLG,[m("border-radius")]:e.borderRadiusLG}},{[`&:not(${t}-customize)`]:{[`${t}-input`]:{outline:"none",background:"transparent",appearance:"none",border:0,margin:0,padding:0,color:h("color"),fontFamily:"inherit",fontSize:"inherit","&::-webkit-search-cancel-button":{display:"none",appearance:"none"}}}},{[`&-single:not(${t}-customize)`]:{[`${t}-input`]:{position:"absolute",inset:0,lineHeight:"inherit"},[`${t}-content`]:{...n.L9,alignSelf:"center","&-has-value":{display:"block","&:before":{display:"none"}},"&-has-search-value":{color:"transparent",[`> *:not(${t}-input)`]:{opacity:0}},"&-value":{transition:`all ${e.motionDurationMid} ${e.motionEaseInOut}`,zIndex:1,opacity:1}},[`&${t}-open ${t}-content`]:{"&-has-value":{opacity:.25},"&-has-search-value":{opacity:1,transition:`opacity ${e.motionDurationMid} ${e.motionEaseInOut}`,color:"transparent",[`> *:not(${t}-input)`]:{opacity:0}}}}},{[`&-show-search:not(${t}-customize-input):not(${t}-disabled)`]:{cursor:"text"}},(e=>{let{componentCls:t,calc:r,iconCls:o,paddingXS:i,paddingXXS:a,INTERNAL_FIXED_ITEM_MARGIN:s,lineWidth:u,colorIcon:c,colorIconHover:d,inputPaddingHorizontalBase:p,antCls:f}=e,[m,h]=(0,l.PN)(f,"select");return{"&-multiple":{[m("multi-item-background")]:e.multipleItemBg,[m("multi-item-border-color")]:"transparent",[m("multi-item-border-radius")]:e.borderRadiusSM,[m("multi-item-height")]:e.multipleItemHeight,[m("multi-padding-base")]:`calc((${h("height")} - ${h("multi-item-height")}) / 2)`,[m("multi-padding-vertical")]:`calc(${h("multi-padding-base")} - ${s} - ${u})`,[m("multi-item-padding-horizontal")]:`calc(${p} - ${h("multi-padding-vertical")} - ${u} * 2)`,paddingBlock:h("multi-padding-vertical"),paddingInlineStart:`calc(${h("multi-padding-base")} - ${u})`,[`${t}-prefix`]:{marginInlineStart:h("multi-item-padding-horizontal")},[`${t}-prefix + ${t}-content`]:{[`${t}-placeholder`]:{insetInlineStart:0},[`${t}-content-item${t}-content-item-suffix`]:{marginInlineStart:0}},[`${t}-placeholder`]:{position:"absolute",lineHeight:h("line-height"),insetInlineStart:h("multi-item-padding-horizontal"),width:`calc(100% - ${h("multi-item-padding-horizontal")})`,top:"50%",transform:"translateY(-50%)"},[`${t}-content`]:{flexWrap:"wrap",alignItems:"center",lineHeight:1,"&-item-prefix":{height:h("font-size")},"&-item":{lineHeight:1,maxWidth:"calc(100% - 4px)"},[`${t}-content-item-prefix + ${t}-content-item-suffix,
16
+ ${t}-content-item-suffix:first-child`]:{marginInlineStart:h("multi-item-padding-horizontal")},[`${t}-selection-item`]:{lineHeight:`calc(${h("multi-item-height")} - ${u} * 2)`,border:`${u} solid ${h("multi-item-border-color")}`,display:"flex",marginBlock:s,marginInlineEnd:r(s).mul(2).equal(),background:h("multi-item-background"),borderRadius:h("multi-item-border-radius"),paddingInlineStart:i,paddingInlineEnd:a,transition:["height","line-height","padding"].map(t=>`${t} ${e.motionDurationSlow}`).join(","),"&-content":{...n.L9,marginInlineEnd:a},"&-remove":{...(0,n.Nk)(),display:"inline-flex",alignItems:"center",color:c,fontWeight:"bold",fontSize:10,lineHeight:"inherit",cursor:"pointer",[`> ${o}`]:{verticalAlign:"-0.2em"},"&:hover":{color:d}}},[`${t}-input`]:{lineHeight:r(s).mul(2).add(h("multi-item-height")).equal(),width:"calc(var(--select-input-width, 0) * 1px)",minWidth:4,maxWidth:"100%",transition:`line-height ${e.motionDurationSlow}`}},[`&${t}-sm`]:{[m("multi-item-height")]:e.multipleItemHeightSM,[m("multi-item-border-radius")]:e.borderRadiusXS},[`&${t}-lg`]:{[m("multi-item-height")]:e.multipleItemHeightLG,[m("multi-item-border-radius")]:e.borderRadius},[`&${t}-filled`]:{[m("multi-item-border-color")]:e.colorSplit,[m("multi-item-background")]:e.colorBgContainer,[`&${t}-disabled`]:{[m("multi-item-border-color")]:"transparent"}}}}})(e),p(e,"outlined",{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:e.activeOutlineColor,borderDisabled:e.colorBorderDisabled},{border:e.colorError,borderHover:e.colorErrorBorderHover,borderActive:e.colorError,borderOutline:e.colorErrorOutline,affixColor:e.colorErrorAffix},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning,borderOutline:e.colorWarningOutline,affixColor:e.colorWarningAffix}),p(e,"filled",{border:"transparent",borderHover:"transparent",borderActive:e.activeBorderColor,borderOutline:"transparent",borderDisabled:e.colorBorderDisabled,background:e.colorFillTertiary,backgroundHover:e.colorFillSecondary,backgroundActive:e.colorBgContainer},{color:e.colorErrorText,background:e.colorErrorBg,backgroundHover:e.colorErrorBgHover,borderActive:e.colorError},{background:e.colorWarningBg,backgroundHover:e.colorWarningBgHover,borderActive:e.colorWarning}),p(e,"borderless",{border:"transparent",borderHover:"transparent",borderActive:"transparent",borderOutline:"transparent",background:"transparent"},{},{},{[`&:not(${t}-disabled):has(input:focus-visible), &:not(${t}-disabled):has(textarea:focus-visible)`]:f(e,e.activeBorderColor),[`&${t}-status-error:not(${t}-disabled):has(input:focus-visible), &${t}-status-error:not(${t}-disabled):has(textarea:focus-visible)`]:f(e,e.colorError),[`&${t}-status-warning:not(${t}-disabled):has(input:focus-visible), &${t}-status-warning:not(${t}-disabled):has(textarea:focus-visible)`]:f(e,e.colorWarning)}),p(e,"underlined",{border:e.colorBorder,borderHover:e.hoverBorderColor,borderActive:e.activeBorderColor,borderOutline:"transparent"},{border:e.colorError,borderHover:e.colorErrorBorderHover,borderActive:e.colorError},{border:e.colorWarning,borderHover:e.colorWarningHover,borderActive:e.colorWarning},{borderRadius:0,borderTopColor:"transparent",borderInlineColor:"transparent"}),(e=>{let{antCls:t,componentCls:r}=e,n={background:"transparent"},o=`> input[disabled], > textarea[disabled], > ${r}-input, > ${t}-input-affix-wrapper-disabled, > ${t}-input-search`;return{[`&${r}-customize`]:{border:0,padding:0,fontSize:"inherit",lineHeight:"inherit",[`${r}-placeholder`]:{display:"none"},[`${r}-content`]:{margin:0,padding:0,"&-value":{display:"none"}},[`&${r}-disabled ${r}-content`]:{[o]:n,"input[disabled], textarea[disabled]":n}}}})(e)]}})(r)]},e=>{let{fontSize:t,lineHeight:r,lineWidth:n,controlHeight:o,controlHeightSM:l,controlHeightLG:i,paddingXXS:a,controlPaddingHorizontal:s,zIndexPopupBase:u,colorText:c,fontWeightStrong:d,controlItemBgActive:p,controlItemBgHover:f,colorBgContainer:m,colorFillSecondary:h,colorBgContainerDisabled:g,colorTextDisabled:v,colorPrimaryHover:b,colorPrimary:y,controlOutline:$}=e,E=2*a,w=2*n,S=Math.min(o-E,o-w),x=Math.min(l-E,l-w),D=Math.min(i-E,i-w);return{INTERNAL_FIXED_ITEM_MARGIN:Math.floor(a/2),zIndexPopup:u+50,optionSelectedColor:c,optionSelectedFontWeight:d,optionSelectedBg:p,optionActiveBg:f,optionPadding:`${(o-t*r)/2}px ${s}px`,optionFontSize:t,optionLineHeight:r,optionHeight:o,selectorBg:m,clearBg:m,singleItemHeightLG:i,multipleItemBg:h,multipleItemBorderColor:"transparent",multipleItemHeight:S,multipleItemHeightSM:x,multipleItemHeightLG:D,multipleSelectorBgDisabled:g,multipleItemColorDisabled:v,multipleItemBorderColorDisabled:"transparent",showArrowPaddingInlineEnd:Math.ceil(1.25*e.fontSize),hoverBorderColor:b,activeBorderColor:y,activeOutlineColor:$,selectAffixPadding:a}},{unitless:{optionLineHeight:!0,optionSelectedFontWeight:!0}})},72725:(e,t,r)=>{r.d(t,{A:()=>n});let n=function(e,t){return e||(e=>{let t={overflow:{adjustX:!0,adjustY:!0,shiftY:!0},htmlRegion:"scroll"===e?"scroll":"visible",dynamicInset:!0};return{bottomLeft:{...t,points:["tl","bl"],offset:[0,4]},bottomRight:{...t,points:["tr","br"],offset:[0,4]},topLeft:{...t,points:["bl","tl"],offset:[0,-4]},topRight:{...t,points:["br","tr"],offset:[0,-4]}}})(t)}},76129:(e,t,r)=>{r.d(t,{A:()=>n});function n(e,t){return void 0!==t?t:null!==e}},77785:(e,t,r)=>{r.d(t,{A:()=>d});var n=r(97109),o=r(84190),l=r(4216),i=r(45042),a=r(60470),s=r(83914),u=r(30486),c=r(112);function d({suffixIcon:e,contextSuffixIcon:t,clearIcon:r,contextClearIcon:d,menuItemSelectedIcon:p,contextMenuItemSelectedIcon:f,removeIcon:m,contextRemoveIcon:h,loading:g,loadingIcon:v,contextLoadingIcon:b,searchIcon:y,contextSearchIcon:$,multiple:E,hasFeedback:w,showSuffixIcon:S,feedbackIcon:x,showArrow:D,componentName:M}){return n.useMemo(()=>{let M=(0,c.A)(r,d,n.createElement(l.A,null)),R=t=>null!==e||w||D?n.createElement(n.Fragment,null,!1!==S&&t,w&&x):null,C=null;return C=void 0!==e?R(e):g?R((0,c.A)(v,b,n.createElement(s.A,{spin:!0}))):({open:e,showSearch:r})=>e&&r?R((0,c.A)(y,$,n.createElement(u.A,null))):R((0,c.A)(t,n.createElement(a.A,null))),{clearIcon:M,suffixIcon:C,itemIcon:(0,c.A)(p,f,E?n.createElement(o.A,null):null),removeIcon:(0,c.A)(m,h,n.createElement(i.A,null))}},[e,t,r,d,p,f,m,h,g,v,b,y,$,E,w,S,x,D])}},82725:(e,t,r)=>{r.d(t,{A:()=>s,U:()=>a});var n=r(97109),o=r(42644),l=r(48921),i=r(74567);function a(e){return t=>n.createElement(l.Ay,{theme:{token:{motion:!1,zIndexPopupBase:0}}},n.createElement(e,{...t}))}let s=(e,t,r,l,s)=>a(a=>{let{prefixCls:u,style:c}=a,d=n.useRef(null),[p,f]=n.useState(0),[m,h]=n.useState(0),[g,v]=(0,o.PW)(!1,a.open),{getPrefixCls:b}=n.useContext(i.QO),y=b(l||"select",u);n.useEffect(()=>{if(v(!0),"undefined"!=typeof ResizeObserver){let e=new ResizeObserver(e=>{let t=e[0].target;f(t.offsetHeight+8),h(t.offsetWidth)}),t=setInterval(()=>{let r=s?`.${s(y)}`:`.${y}-dropdown`,n=d.current?.querySelector(r);n&&(clearInterval(t),e.observe(n))},10);return()=>{clearInterval(t),e.disconnect()}}},[y]);let $={...a,style:{...c,margin:0},open:g,getPopupContainer:()=>d.current};return r&&($=r($)),t&&($={...$,[t]:{overflow:{adjustX:!1,adjustY:!1}}}),n.createElement("div",{ref:d,style:{paddingBottom:p,position:"relative",minWidth:m}},n.createElement(e,{...$}))})},90533:(e,t,r)=>{r.d(t,{A:()=>l});var n=r(97109),o=r(44137);let l=function(e){return n.useMemo(()=>{if(e)return(...t)=>n.createElement(o.A,{space:!0},e.apply(void 0,t))},[e])}},93307:(e,t,r)=>{r.d(t,{A:()=>x});var n=r(64446),o=r(3638),l=r(20008),i=r(42644),a=r(97109),s=r(61222);let u=a.forwardRef(({height:e,offsetY:t,offsetX:r,children:i,prefixCls:s,onInnerResize:u,innerProps:c,rtl:d,extra:p},f)=>{let m={},h={display:"flex",flexDirection:"column"};return void 0!==t&&(m={height:e,position:"relative",overflow:"hidden"},h={...h,transform:`translateY(${t}px)`,[d?"marginRight":"marginLeft"]:-r,position:"absolute",left:0,right:0,top:0}),a.createElement("div",{style:m},a.createElement(l.Ay,{onResize:({offsetHeight:e})=>{e&&u&&u()}},a.createElement("div",(0,n.A)({style:h,className:(0,o.$)({[`${s}-holder-inner`]:s}),ref:f},c),i,p)))});function c({children:e,setRef:t}){let r=a.useCallback(e=>{t(e)},[]);return a.cloneElement(e,{ref:r})}u.displayName="Filler";let d="object"==typeof navigator&&/Firefox/i.test(navigator.userAgent),p=(e,t,r,n)=>{let o=(0,a.useRef)(!1),l=(0,a.useRef)(null),i=(0,a.useRef)({top:e,bottom:t,left:r,right:n});return i.current.top=e,i.current.bottom=t,i.current.left=r,i.current.right=n,(e,t,r=!1)=>{let n=e?t<0&&i.current.left||t>0&&i.current.right:t<0&&i.current.top||t>0&&i.current.bottom;return r&&n?(clearTimeout(l.current),o.current=!1):(!n||o.current)&&(clearTimeout(l.current),o.current=!0,l.current=setTimeout(()=>{o.current=!1},50)),!o.current&&n}};class f{maps;id=0;diffRecords=new Map;constructor(){this.maps=Object.create(null)}set(e,t){this.diffRecords.set(e,this.maps[e]),this.maps[e]=t,this.id+=1}get(e){return this.maps[e]}resetRecord(){this.diffRecords.clear()}getRecord(){return this.diffRecords}}function m(e){let t=parseFloat(e);return isNaN(t)?0:t}let h=14/15;function g(e){return Math.floor(e**.5)}function v(e,t){return("touches"in e?e.touches[0]:e)[t?"pageX":"pageY"]-window[t?"scrollX":"scrollY"]}let b=a.forwardRef((e,t)=>{let{prefixCls:r,rtl:n,scrollOffset:l,scrollRange:s,onStartMove:u,onStopMove:c,onScroll:d,horizontal:p,spinSize:f,containerSize:m,style:h,thumbStyle:g,showScrollBar:b}=e,[y,$]=a.useState(!1),[E,w]=a.useState(null),[S,x]=a.useState(null),D=!n,M=a.useRef(),R=a.useRef(),[C,I]=a.useState(b),O=a.useRef(),A=()=>{!0!==b&&!1!==b&&(clearTimeout(O.current),I(!0),O.current=setTimeout(()=>{I(!1)},3e3))},N=s-m||0,k=m-f||0,P=a.useMemo(()=>0===l||0===N?0:l/N*k,[l,N,k]),L=a.useRef({top:P,dragging:y,pageY:E,startTop:S});L.current={top:P,dragging:y,pageY:E,startTop:S};let z=e=>{$(!0),w(v(e,p)),x(L.current.top),u(),e.stopPropagation(),e.preventDefault()};a.useEffect(()=>{let e=e=>{e.preventDefault()},t=M.current,r=R.current;return t.addEventListener("touchstart",e,{passive:!1}),r.addEventListener("touchstart",z,{passive:!1}),()=>{t.removeEventListener("touchstart",e),r.removeEventListener("touchstart",z)}},[]);let T=a.useRef();T.current=N;let H=a.useRef();H.current=k,a.useEffect(()=>{if(y){let e,t=t=>{let{dragging:r,pageY:n,startTop:o}=L.current;i.er.cancel(e);let l=M.current.getBoundingClientRect(),a=m/(p?l.width:l.height);if(r){let r=(v(t,p)-n)*a,l=o;!D&&p?l-=r:l+=r;let s=T.current,u=H.current,c=Math.ceil((u?l/u:0)*s);c=Math.min(c=Math.max(c,0),s),e=(0,i.er)(()=>{d(c,p)})}},r=()=>{$(!1),c()};return window.addEventListener("mousemove",t,{passive:!0}),window.addEventListener("touchmove",t,{passive:!0}),window.addEventListener("mouseup",r,{passive:!0}),window.addEventListener("touchend",r,{passive:!0}),()=>{window.removeEventListener("mousemove",t),window.removeEventListener("touchmove",t),window.removeEventListener("mouseup",r),window.removeEventListener("touchend",r),i.er.cancel(e)}}},[y]),a.useEffect(()=>(A(),()=>{clearTimeout(O.current)}),[l]),a.useImperativeHandle(t,()=>({delayHidden:A}));let _=`${r}-scrollbar`,B={position:"absolute",visibility:C?null:"hidden"},j={position:"absolute",borderRadius:99,background:"var(--rc-virtual-list-scrollbar-bg, rgba(0, 0, 0, 0.5))",cursor:"pointer",userSelect:"none"};return p?(Object.assign(B,{height:8,left:0,right:0,bottom:0}),Object.assign(j,{height:"100%",width:f,[D?"left":"right"]:P})):(Object.assign(B,{width:8,top:0,bottom:0,[D?"right":"left"]:0}),Object.assign(j,{width:"100%",height:f,top:P})),a.createElement("div",{ref:M,className:(0,o.$)(_,{[`${_}-horizontal`]:p,[`${_}-vertical`]:!p,[`${_}-visible`]:C}),style:{...B,...h},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onMouseMove:A},a.createElement("div",{ref:R,className:(0,o.$)(`${_}-thumb`,{[`${_}-thumb-moving`]:y}),style:{...j,...g},onMouseDown:z}))});function y(e=0,t=0){let r=e/t*e;return isNaN(r)&&(r=0),Math.floor(r=Math.max(r,20))}let $=[],E={overflowY:"auto",overflowAnchor:"none"};function w(e,t){let{prefixCls:r="rc-virtual-list",className:w,height:S,itemHeight:x,fullHeight:D=!0,style:M,data:R,children:C,itemKey:I,virtual:O,direction:A,scrollWidth:N,component:k="div",onScroll:P,onVirtualScroll:L,onVisibleChange:z,innerProps:T,extraRender:H,styles:_,showScrollBar:B="optional",...j}=e,W=a.useCallback(e=>"function"==typeof I?I(e):e?.[I],[I]),[F,K,V,Y]=function(e,t,r){let[n,o]=a.useState(0),l=(0,a.useRef)(new Map),i=(0,a.useRef)(new f),s=(0,a.useRef)(0);function u(){s.current+=1}function c(e=!1){u();let t=()=>{let e=!1;l.current.forEach((t,r)=>{if(t&&t.offsetParent){let{offsetHeight:n}=t,{marginTop:o,marginBottom:l}=getComputedStyle(t),a=n+m(o)+m(l);i.current.get(r)!==a&&(i.current.set(r,a),e=!0)}}),e&&o(e=>e+1)};if(e)t();else{s.current+=1;let e=s.current;Promise.resolve().then(()=>{e===s.current&&t()})}}return(0,a.useEffect)(()=>u,[]),[function(t,r){let n=e(t),o=l.current.get(n);r?(l.current.set(n,r),c()):l.current.delete(n)},c,i.current,n]}(W,0,0),X=!!(!1!==O&&S&&x),U=a.useMemo(()=>Object.values(V.maps).reduce((e,t)=>e+t,0),[V.id,V.maps]),q=X&&R&&(Math.max(x*R.length,U)>S||!!N),G="rtl"===A,J=(0,o.$)(r,{[`${r}-rtl`]:G},w),Q=R||$,Z=(0,a.useRef)(),ee=(0,a.useRef)(),et=(0,a.useRef)(),[er,en]=(0,a.useState)(0),[eo,el]=(0,a.useState)(0),[ei,ea]=(0,a.useState)(!1),es=()=>{ea(!0)},eu=()=>{ea(!1)};function ec(e){en(t=>{let r,n=(r="function"==typeof e?e(t):e,Number.isNaN(eD.current)||(r=Math.min(r,eD.current)),r=Math.max(r,0));return Z.current.scrollTop=n,n})}let ed=(0,a.useRef)({start:0,end:Q.length}),ep=(0,a.useRef)(),[ef]=function(e,t,r){let[n,o]=a.useState(e),[l,i]=a.useState(null);return a.useEffect(()=>{let r=function(e,t,r){let n,o,l=e.length,i=t.length;if(0===l&&0===i)return null;l<i?(n=e,o=t):(n=t,o=e);let a={__EMPTY_ITEM__:!0};function s(e){return void 0!==e?r(e):a}let u=null,c=1!==Math.abs(l-i);for(let e=0;e<o.length;e+=1){let t=s(n[e]);if(t!==s(o[e])){u=e,c=c||t!==s(o[e+1]);break}}return null===u?null:{index:u,multiple:c}}(n||[],e||[],t);r?.index!==void 0&&i(e[r.index]),o(e)},[e]),[l]}(Q,W);ep.current=ef;let{scrollHeight:em,start:eh,end:eg,offset:ev}=a.useMemo(()=>{let e,t,r;if(!X)return{scrollHeight:void 0,start:0,end:Q.length-1,offset:void 0};if(!q)return{scrollHeight:ee.current?.offsetHeight||0,start:0,end:Q.length-1,offset:void 0};let n=0,o=Q.length;for(let l=0;l<o;l+=1){let o=W(Q[l]),i=V.get(o),a=n+(void 0===i?x:i);a>=er&&void 0===e&&(e=l,t=n),a>er+S&&void 0===r&&(r=l),n=a}return void 0===e&&(e=0,t=0,r=Math.ceil(S/x)),void 0===r&&(r=Q.length-1),{scrollHeight:n,start:e,end:r=Math.min(r+1,Q.length-1),offset:t}},[q,X,er,Q,Y,S]);ed.current.start=eh,ed.current.end=eg,a.useLayoutEffect(()=>{let e=V.getRecord();if(1===e.size){let t=Array.from(e.keys())[0],r=e.get(t),n=Q[eh];if(n&&void 0===r&&W(n)===t){let e=V.get(t)-x;ec(t=>t+e)}}V.resetRecord()},[em]);let[eb,ey]=a.useState({width:0,height:S}),e$=(0,a.useRef)(),eE=(0,a.useRef)(),ew=a.useMemo(()=>y(eb.width,N),[eb.width,N]),eS=a.useMemo(()=>y(eb.height,em),[eb.height,em]),ex=em-S,eD=(0,a.useRef)(ex);eD.current=ex;let eM=er<=0,eR=er>=ex,eC=eo<=0,eI=eo>=N,eO=p(eM,eR,eC,eI),eA=()=>({x:G?-eo:eo,y:er}),eN=(0,a.useRef)(eA()),ek=(0,i._q)(e=>{if(L){let t={...eA(),...e};(eN.current.x!==t.x||eN.current.y!==t.y)&&(L(t),eN.current=t)}});function eP(e,t){t?((0,s.flushSync)(()=>{el(e)}),ek()):ec(e)}let eL=e=>{let t=e,r=N?N-eb.width:0;return Math.min(t=Math.max(t,0),r)},[ez,eT]=function(e,t,r,n,o,l,s){let u=(0,a.useRef)(0),c=(0,a.useRef)(null),f=(0,a.useRef)(null),m=(0,a.useRef)(!1),h=p(t,r,n,o),g=(0,a.useRef)(null),v=(0,a.useRef)(null);return[function(t){if(!e)return;i.er.cancel(v.current),v.current=(0,i.er)(()=>{g.current=null},2);let{deltaX:r,deltaY:n,shiftKey:o}=t,a=r,p=n;("sx"===g.current||!g.current&&o&&n&&!r)&&(a=n,p=0,g.current="sx");let b=Math.abs(a),y=Math.abs(p);if(null===g.current&&(g.current=l&&b>y?"x":"y"),"y"===g.current)!function(e,t){if(i.er.cancel(c.current),!h(!1,t))e._virtualHandled||(e._virtualHandled=!0,u.current+=t,f.current=t,d||e.preventDefault(),c.current=(0,i.er)(()=>{let e=m.current?10:1;s(u.current*e,!1),u.current=0}))}(t,p);else s(a,!0),d||t.preventDefault()},function(t){e&&(m.current=t.detail===f.current)}]}(X,eM,eR,eC,eI,!!N,(0,i._q)((e,t)=>{t?((0,s.flushSync)(()=>{el(t=>eL(t+(G?-e:e)))}),ek()):ec(t=>t+e)}));!function(e,t,r){let n,o=(0,a.useRef)(!1),l=(0,a.useRef)(0),s=(0,a.useRef)(0),u=(0,a.useRef)(null),c=(0,a.useRef)(null),d=e=>{if(o.current){let t=Math.ceil(e.touches[0].pageX),n=Math.ceil(e.touches[0].pageY),o=l.current-t,i=s.current-n,a=Math.abs(o)>Math.abs(i);a?l.current=t:s.current=n;let u=r(a,a?o:i,!1,e);u&&e.preventDefault(),clearInterval(c.current),u&&(c.current=setInterval(()=>{a?o*=h:i*=h;let e=Math.floor(a?o:i);(!r(a,e,!0)||.1>=Math.abs(e))&&clearInterval(c.current)},16))}},p=()=>{o.current=!1,n()},f=e=>{n(),1!==e.touches.length||o.current||(o.current=!0,l.current=Math.ceil(e.touches[0].pageX),s.current=Math.ceil(e.touches[0].pageY),u.current=e.target,u.current.addEventListener("touchmove",d,{passive:!1}),u.current.addEventListener("touchend",p,{passive:!0}))};n=()=>{u.current&&(u.current.removeEventListener("touchmove",d),u.current.removeEventListener("touchend",p))},(0,i.Nf)(()=>(e&&t.current.addEventListener("touchstart",f,{passive:!0}),()=>{t.current?.removeEventListener("touchstart",f),n(),clearInterval(c.current)}),[e])}(X,Z,(e,t,r,n)=>!eO(e,t,r)&&(!n||!n._virtualHandled)&&(n&&(n._virtualHandled=!0),ez({preventDefault(){},deltaX:e?t:0,deltaY:e?0:t}),!0)),a.useEffect(()=>{let e=Z.current;if(q&&e){let t,r,n=!1,o=()=>{i.er.cancel(t)},l=()=>{o(),t=(0,i.er)(()=>{(e=>{ec(t=>t+e)})(r),l()})},a=()=>{n=!1,o()},s=e=>{!e.target.draggable&&0===e.button&&(e._virtualHandled||(e._virtualHandled=!0,n=!0))},u=t=>{if(n){let n=v(t,!1),{top:i,bottom:a}=e.getBoundingClientRect();n<=i?(r=-g(i-n),l()):n>=a?(r=g(n-a),l()):o()}};return e.addEventListener("mousedown",s),e.ownerDocument.addEventListener("mouseup",a),e.ownerDocument.addEventListener("mousemove",u),e.ownerDocument.addEventListener("dragend",a),()=>{e.removeEventListener("mousedown",s),e.ownerDocument.removeEventListener("mouseup",a),e.ownerDocument.removeEventListener("mousemove",u),e.ownerDocument.removeEventListener("dragend",a),o()}}},[q]),(0,i.Nf)(()=>{function e(e){let t=eM&&e.detail<0,r=eR&&e.detail>0;!X||t||r||e.preventDefault()}let t=Z.current;return t.addEventListener("wheel",ez,{passive:!1}),t.addEventListener("DOMMouseScroll",eT,{passive:!0}),t.addEventListener("MozMousePixelScroll",e,{passive:!1}),()=>{t.removeEventListener("wheel",ez),t.removeEventListener("DOMMouseScroll",eT),t.removeEventListener("MozMousePixelScroll",e)}},[X,eM,eR]),(0,i.Nf)(()=>{if(N){let e=eL(eo);el(e),ek({x:e})}},[eb.width,N]);let eH=()=>{e$.current?.delayHidden(),eE.current?.delayHidden()},e_=function(e,t,r,n){let[o,l]=a.useMemo(()=>[new Map,[]],[e,r.id,n]);return(i,a=i)=>{let s=o.get(i),u=o.get(a);if(void 0===s||void 0===u){let c=e.length;for(let d=l.length;d<c;d+=1){let c=t(e[d]);o.set(c,d);let p=r.get(c)??n;if(l[d]=(l[d-1]||0)+p,c===i&&(s=d),c===a&&(u=d),void 0!==s&&void 0!==u)break}}return{top:l[s-1]||0,bottom:l[u]}}}(Q,W,V,x),eB=function(e,t,r,n,o,l,s,u,c){let d=a.useRef(),[p,f]=a.useState(null);return(0,i.Nf)(()=>{if(p&&p.times<10){if(!e.current)return void f(e=>({...e}));s();let{targetAlign:i,originAlign:a,index:c,offset:d}=p,m=function(e,t){let r="function"==typeof e?e(t):e;return Number.isFinite(r)?r:0}(d,{getSize:l}),h=e.current.clientHeight,g=!1,v=i,b=null;if(h){let l=i||a,s=0,d=0,f=0,y=Math.min(t.length-1,c);for(let e=0;e<=y;e+=1){let l=o(t[e]);d=s;let i=r.get(l);s=f=d+(void 0===i?n:i)}let $="top"===l?m:h-m;for(let e=y;e>=0;e-=1){let n=o(t[e]),l=r.get(n);if(void 0===l){g=!0;break}if(($-=l)<=0)break}switch(l){case"top":b=d-m;break;case"bottom":b=f-h+m;break;default:{let{scrollTop:t}=e.current;d<t?v="top":f>t+h&&(v="bottom")}}null!==b&&u(b),b!==p.lastTop&&(g=!0)}g&&f({...p,times:p.times+1,targetAlign:v,lastTop:b})}},[p,e.current]),e=>{if(null==e)return void c();if(i.er.cancel(d.current),"number"==typeof e)u(e);else if(e&&"object"==typeof e){let r,{align:n}=e;"index"in e?{index:r}=e:r=t.findIndex(t=>o(t)===e.key);let{offset:l=0}=e;f({times:0,index:r,offset:l,originAlign:n})}}}(Z,Q,V,x,W,e_,()=>K(!0),ec,eH);a.useImperativeHandle(t,()=>({nativeElement:et.current,getScrollInfo:eA,scrollTo:e=>{e&&"object"==typeof e&&("left"in e||"top"in e)?(void 0!==e.left&&el(eL(e.left)),eB(e.top)):eB(e)}})),(0,i.Nf)(()=>{z&&z(Q.slice(eh,eg+1),Q)},[eh,eg,Q]);let ej=H?.({start:eh,end:eg,virtual:q,offsetX:eo,scrollTop:er,offsetY:ev,rtl:G,getSize:e_}),eW=function(e,t,r,n,o,l,i,{getKey:s}){return e.slice(t,r+1).map((e,r)=>{let u=i(e,t+r,{style:{width:n},offsetX:o}),d=s(e);return a.createElement(c,{key:d,setRef:t=>l(e,t)},u)})}(Q,eh,eg,N,eo,F,C,{getKey:W}),eF=null;S&&(eF={[D?"height":"maxHeight"]:S,...E},X&&(eF.overflowY="hidden",N&&(eF.overflowX="hidden"),ei&&(eF.pointerEvents="none")));let eK={};return G&&(eK.dir="rtl"),a.createElement("div",(0,n.A)({ref:et,style:{...M,position:"relative"},className:J},eK,j),a.createElement(l.Ay,{onResize:e=>{ey({width:e.offsetWidth,height:e.offsetHeight})}},a.createElement(k,{className:`${r}-holder`,style:eF,ref:Z,onScroll:function(e){let{scrollTop:t}=e.currentTarget;t!==er&&ec(t),P?.(e),ek()},onMouseEnter:eH},a.createElement(u,{prefixCls:r,height:em,offsetX:eo,offsetY:ev,scrollWidth:N,onInnerResize:K,ref:ee,innerProps:T,rtl:G,extra:ej},eW))),q&&em>S&&a.createElement(b,{ref:e$,prefixCls:r,scrollOffset:er,scrollRange:em,rtl:G,onScroll:eP,onStartMove:es,onStopMove:eu,spinSize:eS,containerSize:eb.height,style:_?.verticalScrollBar,thumbStyle:_?.verticalScrollBarThumb,showScrollBar:B}),q&&N>eb.width&&a.createElement(b,{ref:eE,prefixCls:r,scrollOffset:eo,scrollRange:N,rtl:G,onScroll:eP,onStartMove:es,onStopMove:eu,spinSize:ew,containerSize:eb.width,horizontal:!0,style:_?.horizontalScrollBar,thumbStyle:_?.horizontalScrollBarThumb,showScrollBar:B}))}let S=a.forwardRef(w);S.displayName="List",a.forwardRef((e,t)=>w({...e,virtual:!1},t)).displayName="List";let x=S},97194:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(97109),o=r(74567),l=r(84253);let i=e=>{let{componentName:t}=e,{getPrefixCls:r}=(0,n.useContext)(o.QO),i=r("empty");switch(t){case"Table":case"List":return n.createElement(l.A,{image:l.A.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return n.createElement(l.A,{image:l.A.PRESENTED_IMAGE_SIMPLE,className:`${i}-small`});case"Table.filter":return null;default:return n.createElement(l.A,null)}}}}]);