@customize-agent/server 4.60.1 → 4.60.2

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 (111) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +126 -81
  3. package/.next/prerender-manifest.json +3 -3
  4. package/.next/required-server-files.json +1 -1
  5. package/.next/routes-manifest.json +22 -0
  6. package/.next/server/chunks/1243.js +1 -1
  7. package/.next/server/chunks/1936.js +2 -2
  8. package/.next/server/chunks/6321.js +1 -1
  9. package/.next/server/chunks/6822.js +1 -0
  10. package/.next/server/chunks/7848.js +60 -60
  11. package/.next/server/chunks/8204.js +1 -1
  12. package/.next/server/chunks/9666.js +21 -21
  13. package/.next/server/instrumentation.js +1 -1
  14. package/.next/server/middleware-build-manifest.js +1 -1
  15. package/.next/server/pages/404.html +1 -1
  16. package/.next/server/pages/500.html +1 -1
  17. package/.next/server/pages/api/documents/export.js +1 -1
  18. package/.next/server/pages/api/documents/generate/preview.js +1 -1
  19. package/.next/server/pages/api/documents/generate.js +1 -1
  20. package/.next/server/pages/api/health.js +1 -1
  21. package/.next/server/pages/api/kb/files/detail.js +1 -1
  22. package/.next/server/pages/api/kb/files/source-preview.js +1 -1
  23. package/.next/server/pages/canvas/[id].html +1 -1
  24. package/.next/server/pages/canvas.html +1 -1
  25. package/.next/server/pages/documents.html +1 -1
  26. package/.next/server/pages/guide.html +1 -1
  27. package/.next/server/pages/index.html +1 -1
  28. package/.next/server/pages/knowledge/file-detail.html +1 -1
  29. package/.next/server/pages/knowledge/files.html +1 -1
  30. package/.next/server/pages/knowledge/manage.html +1 -1
  31. package/.next/server/pages/knowledge/source-preview.html +1 -1
  32. package/.next/server/pages/knowledge.html +1 -1
  33. package/.next/server/pages/models.html +1 -1
  34. package/.next/server/pages/overview.html +1 -1
  35. package/.next/server/pages/prompt.html +1 -1
  36. package/.next/server/pages/settings.html +1 -1
  37. package/.next/server/pages/skills/[id]/edit.html +1 -0
  38. package/.next/server/pages/skills/[id]/edit.js.nft.json +1 -0
  39. package/.next/server/pages/skills/[id].html +1 -0
  40. package/.next/server/pages/skills/[id].js.nft.json +1 -0
  41. package/.next/server/pages/skills/new.html +1 -0
  42. package/.next/server/pages/skills/new.js.nft.json +1 -0
  43. package/.next/server/pages/skills.html +1 -1
  44. package/.next/server/pages/system/logs.html +1 -1
  45. package/.next/server/pages-manifest.json +30 -27
  46. package/.next/static/cf07df1d78876548cb59ce9935b756d62660ad2a6b02180bef97865f98fcc4c8/_buildManifest.js +1 -0
  47. package/.next/static/chunks/{511-75b881093a3e908b.js → 127-7d37d37dab02bd10.js} +1 -1
  48. package/.next/static/chunks/162-a5be07e04aedf98a.js +8 -0
  49. package/.next/static/chunks/257-9484b4285bd5f43b.js +1 -0
  50. package/.next/static/chunks/318-ca122b774ea4ee84.js +1 -0
  51. package/.next/static/chunks/324-650dc02536b071bf.js +4 -0
  52. package/.next/static/chunks/338-19ccbaec57a7bf9c.js +4 -0
  53. package/.next/static/chunks/499-2233cadc6d4da647.js +10 -0
  54. package/.next/static/chunks/530-ccc3837d353bcf74.js +1 -0
  55. package/.next/static/chunks/573-c52901488f5731dd.js +4 -0
  56. package/.next/static/chunks/576-052a39d403d5d32e.js +1 -0
  57. package/.next/static/chunks/{709-a7c652953ccd3b4b.js → 638-29ddb55b708c7969.js} +1 -1
  58. package/.next/static/chunks/665-0634aa49137defc4.js +1 -0
  59. package/.next/static/chunks/{426-22c4cedb04b0d45d.js → 711-40c1a2dbd15c2807.js} +6 -6
  60. package/.next/static/chunks/712-1f2d7c40d613f4d8.js +1 -0
  61. package/.next/static/chunks/781-a6b83dbcd1a33cab.js +1 -0
  62. package/.next/static/chunks/{795-48065c56c3b80339.js → 795-1a33b085051ecf2b.js} +1 -1
  63. package/.next/static/chunks/{665-9607db8f8b43e52e.js → 808-0506edc7454b5c0e.js} +1 -1
  64. package/.next/static/chunks/815-585fb0b4aa9b369c.js +16 -0
  65. package/.next/static/chunks/933-e9c4889bb9f825ce.js +1 -0
  66. package/.next/static/chunks/964-82cc4701f08f7351.js +78 -0
  67. package/.next/static/chunks/pages/{_app-c11b5e8072f49bcc.js → _app-3df96a32b2c9a6ca.js} +15 -15
  68. package/.next/static/chunks/pages/canvas/[id]-996d9a43ff45a4b3.js +1 -0
  69. package/.next/static/chunks/pages/canvas-8372faba7b5bb116.js +1 -0
  70. package/.next/static/chunks/pages/{guide-a8eecc6c02b5bb9c.js → guide-82ae330966139191.js} +1 -1
  71. package/.next/static/chunks/pages/knowledge/file-detail-6c8b86752d2ddf88.js +1 -0
  72. package/.next/static/chunks/pages/knowledge/source-preview-c803a44df4b1d2f2.js +1 -0
  73. package/.next/static/chunks/pages/knowledge-135c4c9260f07108.js +1 -0
  74. package/.next/static/chunks/pages/models-dde7dc26b2ee4b83.js +1 -0
  75. package/.next/static/chunks/pages/prompt-7559b2569b3934a5.js +1 -0
  76. package/.next/static/chunks/pages/{settings-81dffd92939c1d36.js → settings-8ebbd4413f976a60.js} +1 -1
  77. package/.next/static/chunks/pages/skills/[id]/edit-334c249d48dc651d.js +1 -0
  78. package/.next/static/chunks/pages/skills/[id]-eb1bdec00ba09ad2.js +1 -0
  79. package/.next/static/chunks/pages/skills/new-750c28325b6c869a.js +1 -0
  80. package/.next/static/chunks/pages/skills-25f02f34e4a24e7e.js +1 -0
  81. package/.next/static/chunks/pages/system/{logs-1f54b6c8791daa77.js → logs-e08749c3a8f9a104.js} +1 -1
  82. package/.next/static/css/{ad5a592c79d1448b.css → 2da1c822e3bdb4bb.css} +1 -1
  83. package/.next/static/css/5bab0d7ea874d4e0.css +1 -0
  84. package/messages/en-US.json +5 -1
  85. package/messages/zh-CN.json +5 -1
  86. package/package.json +1 -1
  87. package/.next/static/chunks/127-20f09f6ebe1e6c1f.js +0 -1
  88. package/.next/static/chunks/174-1bc48f295d7dd075.js +0 -10
  89. package/.next/static/chunks/189-3f4f4e237056adaf.js +0 -4
  90. package/.next/static/chunks/269-7a3502478bf67fff.js +0 -11
  91. package/.next/static/chunks/278-31fbe7e1b733a9b7.js +0 -1
  92. package/.next/static/chunks/310-6c678cb70e4ba2d6.js +0 -19
  93. package/.next/static/chunks/530-d9f0418ec7ab040f.js +0 -1
  94. package/.next/static/chunks/700-5d29b0475311f590.js +0 -1
  95. package/.next/static/chunks/823-ff35afb174f7998b.js +0 -1
  96. package/.next/static/chunks/835-d29f4cc7a3679606.js +0 -1
  97. package/.next/static/chunks/873-16d052cdd3768758.js +0 -1
  98. package/.next/static/chunks/914-292edce0ba2a212d.js +0 -1
  99. package/.next/static/chunks/964-7e9fe2d80a53aeee.js +0 -78
  100. package/.next/static/chunks/992-8032f477230baaaf.js +0 -1
  101. package/.next/static/chunks/pages/canvas/[id]-37bee3f7b816ed18.js +0 -1
  102. package/.next/static/chunks/pages/canvas-97971ae159337676.js +0 -1
  103. package/.next/static/chunks/pages/knowledge/file-detail-f89e6044f752277c.js +0 -1
  104. package/.next/static/chunks/pages/knowledge/source-preview-4a303fadb123430a.js +0 -1
  105. package/.next/static/chunks/pages/knowledge-a65ec687334ffed0.js +0 -1
  106. package/.next/static/chunks/pages/models-3e486e49cca91e5a.js +0 -1
  107. package/.next/static/chunks/pages/prompt-b8af2cef904e3e19.js +0 -1
  108. package/.next/static/chunks/pages/skills-77ba363270239bbf.js +0 -1
  109. package/.next/static/css/1a59bfb0aa677e69.css +0 -1
  110. package/.next/static/d863db1ff37d0934ebbb671f5c8dc07e5943c77d9b554215ce9e64fd8dc26727/_buildManifest.js +0 -1
  111. /package/.next/static/{d863db1ff37d0934ebbb671f5c8dc07e5943c77d9b554215ce9e64fd8dc26727 → cf07df1d78876548cb59ce9935b756d62660ad2a6b02180bef97865f98fcc4c8}/_ssgManifest.js +0 -0
@@ -155,7 +155,7 @@
155
155
  "section": "章节",
156
156
  "backToFileList": "返回文件列表",
157
157
  "fileDetailTitle": "文件详情",
158
- "fileDetailDesc": "查看解析结果、图纸/表格/数据结构化字段、parent chunk 和 child chunk。",
158
+ "fileDetailDesc": "查看解析结果与切片明细;图纸、表格、数据的原始结构请到「解析核查预览」里核对。",
159
159
  "copySourcePath": "复制原文件路径",
160
160
  "copyDirectory": "复制所在目录",
161
161
  "originalFile": "原文件",
@@ -289,6 +289,10 @@
289
289
  "filePath": "文件路径",
290
290
  "hasFile": "已配置",
291
291
  "promptName": "提示词名称",
292
+ "columnSource": "来源",
293
+ "columnMtime": "修改时间",
294
+ "columnActions": "操作",
295
+ "shownCount": "显示 {count} 份匹配提示词",
292
296
  "writingGuideTitle": "怎么写、写什么",
293
297
  "writingGuideIntro": "写清文档目的、章节结构、工程关注点与文风详略。",
294
298
  "writingGuideParameters": "参数按具体对象、工法和控制需求写;管理内容无须凑参数。",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@customize-agent/server",
3
- "version": "4.60.1",
3
+ "version": "4.60.2",
4
4
  "description": "Customize Agent Web 管理控制台",
5
5
  "exports": {
6
6
  "./package.json": "./package.json"
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[127],{7851:(e,t,o)=>{o.d(t,{A:()=>l});var n=o(97109),r=o(12059),i=o(88483);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}let l=n.forwardRef((e,t)=>n.createElement(i.A,a({},e,{ref:t,icon:r.A})))},12059:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M866.9 169.9L527.1 54.1C523 52.7 517.5 52 512 52s-11 .7-15.1 2.1L157.1 169.9c-8.3 2.8-15.1 12.4-15.1 21.2v482.4c0 8.8 5.7 20.4 12.6 25.9L499.3 968c3.5 2.7 8 4.1 12.6 4.1s9.2-1.4 12.6-4.1l344.7-268.6c6.9-5.4 12.6-17 12.6-25.9V191.1c.2-8.8-6.6-18.3-14.9-21.2zM810 654.3L512 886.5 214 654.3V226.7l298-101.6 298 101.6v427.6zm-405.8-201c-3-4.1-7.8-6.6-13-6.6H336c-6.5 0-10.3 7.4-6.5 12.7l126.4 174a16.1 16.1 0 0026 0l212.6-292.7c3.8-5.3 0-12.7-6.5-12.7h-55.2c-5.1 0-10 2.5-13 6.6L468.9 542.4l-64.7-89.1z"}}]},name:"safety-certificate",theme:"outlined"}},32225:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 464h-68V240c0-70.7-57.3-128-128-128H388c-70.7 0-128 57.3-128 128v224h-68c-17.7 0-32 14.3-32 32v384c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V496c0-17.7-14.3-32-32-32zM332 240c0-30.9 25.1-56 56-56h248c30.9 0 56 25.1 56 56v224H332V240zm460 600H232V536h560v304zM484 701v53c0 4.4 3.6 8 8 8h40c4.4 0 8-3.6 8-8v-53a48.01 48.01 0 10-56 0z"}}]},name:"lock",theme:"outlined"}},85493:(e,t,o)=>{o.d(t,{A:()=>N});var n=o(97109),r=o(59188),i=o(4216),a=o(45042),l=o(97137),c=o(62188),s=o(67189),d=o(42644),p=o(3638),m=o(92162),u=o(26047),f=o(74567),v=o(15561),g=o(7961),h=o(10540);let $=(e,t,o)=>({background:e,[`${o}-icon`]:{color:t}}),b=(0,h.OF)("Alert",e=>[(e=>{let{componentCls:t,motionDurationSlow:o,marginXS:n,marginSM:r,fontSize:i,fontSizeLG:a,lineHeight:l,borderRadiusLG:c,motionEaseInOutCirc:s,withDescriptionIconSize:d,colorText:p,colorTextHeading:m,withDescriptionPadding:u,defaultPadding:f,lineWidth:h,lineType:$,colorSuccessBorder:b,colorWarningBorder:y,colorErrorBorder:E,colorInfoBorder:A}=e;return{[t]:{...(0,g.dF)(e),position:"relative",display:"flex",alignItems:"center",padding:f,wordWrap:"break-word",borderRadius:c,borderWidth:(0,v.zA)(h),borderStyle:$,[`&${t}-success`]:{borderColor:b},[`&${t}-info`]:{borderColor:A},[`&${t}-warning`]:{borderColor:y},[`&${t}-error`]:{borderColor:E},[`&${t}-filled`]:{borderColor:"transparent"},[`&${t}-rtl`]:{direction:"rtl"},[`${t}-section`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:n,lineHeight:0},"&-description":{display:"none",fontSize:i,lineHeight:l},"&-title":{color:m},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:["max-height","opacity","padding-top","padding-bottom","margin-bottom"].map(e=>`${e} ${o} ${s}`).join(", ")},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0},[`&${t}-with-description`]:{alignItems:"flex-start",padding:u,[`${t}-icon`]:{marginInlineEnd:r,fontSize:d,lineHeight:0},[`${t}-title`]:{display:"block",marginBottom:n,color:m,fontSize:a},[`${t}-description`]:{display:"block",color:p}},[`&${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}}})(e),(e=>{let{componentCls:t,colorSuccess:o,colorSuccessBg:n,colorWarning:r,colorWarningBg:i,colorError:a,colorErrorBg:l,colorInfo:c,colorInfoBg:s}=e;return{[t]:{"&-success":$(n,o,t),"&-info":$(s,c,t),"&-warning":$(i,r,t),"&-error":{...$(l,a,t),[`${t}-description > pre`]:{margin:0,padding:0}}}}})(e),(e=>{let{componentCls:t,iconCls:o,motionDurationMid:n,marginXS:r,fontSizeIcon:i,colorIcon:a,colorIconHover:l}=e;return{[t]:{[`${t}-actions`]:{marginInlineStart:r},[`${t}-close-icon`]:{marginInlineStart:r,padding:0,overflow:"hidden",fontSize:i,lineHeight:(0,v.zA)(i),backgroundColor:"transparent",border:"none",cursor:"pointer",...(0,g.K8)(e),[`${o}-close`]:{color:a,transition:`color ${n}`,"&:hover":{color:l}}},"&-close-text":{color:a,transition:`color ${n}`,"&:hover":{color:l}}}}})(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})),y=e=>{let{icon:t,type:o,className:a,style:s,successIcon:d,infoIcon:p,warningIcon:m,errorIcon:u}=e,f={success:d??n.createElement(r.A,null),info:p??n.createElement(c.A,null),error:u??n.createElement(i.A,null),warning:m??n.createElement(l.A,null)};return n.createElement("span",{className:a,style:s},t??f[o])},E=e=>{let{isClosable:t,prefixCls:o,closeIcon:r,handleClose:i,ariaProps:l,className:c,style:s}=e,d=!0===r||void 0===r?n.createElement(a.A,null):r;return t?n.createElement("button",{type:"button",onClick:i,className:(0,p.$)(`${o}-close-icon`,c),tabIndex:0,style:s,...l},d):null},A=n.forwardRef((e,t)=>{let{description:o,prefixCls:r,message:i,title:a,banner:l,className:c,rootClassName:v,style:g,onMouseEnter:h,onMouseLeave:$,onClick:A,afterClose:w,showIcon:C,closable:I,closeText:x,closeIcon:z,action:S,id:k,styles:N,classNames:H,...M}=e,L=a??i,[R,O]=n.useState(!1),V=n.useRef(null);n.useImperativeHandle(t,()=>({nativeElement:V.current}));let{getPrefixCls:j,direction:B,variant:P,closable:D,closeIcon:Q,className:K,style:T,classNames:_,styles:W,successIcon:X,infoIcon:F,warningIcon:G,errorIcon:q}=(0,f.TP)("alert"),J=j("alert",r),[U,Y]=b(J),{onClose:Z,afterClose:ee}=(0,u.Qd)(I)?I:{},et=t=>{O(!0),(Z??e.onClose)?.(t)},eo=n.useMemo(()=>void 0!==e.type?e.type:l?"warning":"info",[e.type,l]),en=e.variant??P??"outlined",er=n.useMemo(()=>!!(0,u.Qd)(I)&&!!I.closeIcon||!!x||("boolean"==typeof I?I:!!(!1!==z&&(0,u.R)(z))||!!D),[x,z,I,D]),ei=!!l&&void 0===C||C,ea={...e,prefixCls:J,variant:en,type:eo,showIcon:ei,closable:er},el=(0,m.XT)(T),ec=(0,m.XT)(g),[es,ed]=(0,m.AV)([_,H],[W,el,N,ec],{props:ea}),ep=(0,p.$)(J,`${J}-${eo}`,`${J}-${en}`,{[`${J}-with-description`]:!!o,[`${J}-no-icon`]:!ei,[`${J}-banner`]:!!l,[`${J}-rtl`]:"rtl"===B},K,c,v,es.root,Y,U),em=(0,d.KE)(M,{aria:!0,data:!0}),eu=n.useMemo(()=>(0,u.Qd)(I)&&I.closeIcon?I.closeIcon:x||(void 0!==z?z:(0,u.Qd)(D)&&D.closeIcon?D.closeIcon:Q),[z,I,D,x,Q]),ef=n.useMemo(()=>{let e=I??D;return(0,u.Qd)(e)?(0,d.KE)(e,{data:!0,aria:!0}):{}},[I,D]);return n.createElement(s.Ay,{visible:!R,motionName:`${J}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:ee??w},({className:t,style:r},i)=>n.createElement("div",{id:k,ref:(0,d.K4)(V,i),"data-show":!R,className:(0,p.$)(ep,t),style:{...ed.root,...r},onMouseEnter:h,onMouseLeave:$,onClick:A,role:"alert",...em},ei?n.createElement(y,{className:(0,p.$)(`${J}-icon`,es.icon),style:ed.icon,description:o,icon:e.icon,prefixCls:J,type:eo,successIcon:X,infoIcon:F,warningIcon:G,errorIcon:q}):null,n.createElement("div",{className:(0,p.$)(`${J}-section`,es.section),style:ed.section},L?n.createElement("div",{className:(0,p.$)(`${J}-title`,es.title),style:ed.title},L):null,o?n.createElement("div",{className:(0,p.$)(`${J}-description`,es.description),style:ed.description},o):null),S?n.createElement("div",{className:(0,p.$)(`${J}-actions`,es.actions),style:ed.actions},S):null,n.createElement(E,{className:es.close,style:ed.close,isClosable:er,prefixCls:J,closeIcon:eu,handleClose:et,ariaProps:ef})))});var w=o(41113),C=o(49939),I=o(90218),x=o(13076),z=o(83784),S=o(15472);let k=function(e){function t(){var e,o,n;return(0,w.A)(this,t),o=t,n=arguments,o=(0,I.A)(o),(e=(0,z.A)(this,(0,x.A)()?Reflect.construct(o,n||[],(0,I.A)(this).constructor):o.apply(this,n))).state={error:void 0,info:{}},e}return(0,S.A)(t,e),(0,C.A)(t,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){let{message:e,title:t,description:o,id:r,children:i}=this.props,{error:a,info:l}=this.state,c=t??e,s=l?.componentStack||null,d=(0,u.R)(c)?c:a?.toString(),p=(0,u.R)(o)?o:s;return a?n.createElement(A,{id:r,type:"error",title:d,description:n.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},p)}):i}}])}(n.PureComponent);A.ErrorBoundary=k;let N=A},86193:(e,t,o)=>{o.d(t,{A:()=>l});var n=o(97109),r=o(32225),i=o(88483);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n])}return e}).apply(this,arguments)}let l=n.forwardRef((e,t)=>n.createElement(i.A,a({},e,{ref:t,icon:r.A})))}}]);
@@ -1,10 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[174],{11567:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z"}}]},name:"double-right",theme:"outlined"}},28922:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z"}}]},name:"double-left",theme:"outlined"}},50379:(e,t,o)=>{o.d(t,{A:()=>a});var r=o(97109),i=o(55387),n=o(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let a=r.forwardRef((e,t)=>r.createElement(n.A,l({},e,{ref:t,icon:i.A})))},55387:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"}},75174:(e,t,o)=>{o.d(t,{A:()=>G});var r=o(97109),i=o(28922),n=o(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let a=r.forwardRef((e,t)=>r.createElement(n.A,l({},e,{ref:t,icon:i.A})));var c=o(11567);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let u=r.forwardRef((e,t)=>r.createElement(n.A,s({},e,{ref:t,icon:c.A})));var m=o(20241),d=o(50379),p=o(52116),g=o(3638),b=o(42644);let $={items_per_page:"条/页",jump_to:"跳至",jump_to_confirm:"确定",page:"页",prev_page:"上一页",next_page:"下一页",prev_5:"向前 5 页",next_5:"向后 5 页",prev_3:"向前 3 页",next_3:"向后 3 页",page_size:"页码"},h=[10,20,50,100],v=e=>{let{pageSizeOptions:t=h,locale:o,changeSize:i,pageSize:n,goButton:l,quickGo:a,rootPrefixCls:c,disabled:s,buildOptionText:u,showSizeChanger:m,sizeChangerRender:d}=e,[p,g]=r.useState(""),$=r.useMemo(()=>!p||Number.isNaN(p)?void 0:Number(p),[p]),v="function"==typeof u?u:e=>`${e} ${o.items_per_page}`,f=e=>{""!==p&&(e.keyCode===b.DD.ENTER||"click"===e.type)&&(g(""),a?.($))},y=`${c}-options`;if(!m&&!a)return null;let C=null,k=null,x=null;return m&&d&&(C=d({disabled:s,size:n,onSizeChange:e=>{i?.(Number(e))},"aria-label":o.page_size,className:`${y}-size-changer`,options:(t.some(e=>e.toString()===n.toString())?t:t.concat([n]).sort((e,t)=>(Number.isNaN(Number(e))?0:Number(e))-(Number.isNaN(Number(t))?0:Number(t)))).map(e=>({label:v(e),value:e}))})),a&&(l&&(x="boolean"==typeof l?r.createElement("button",{type:"button",onClick:f,onKeyUp:f,disabled:s,className:`${y}-quick-jumper-button`},o.jump_to_confirm):r.createElement("span",{onClick:f,onKeyUp:f},l)),k=r.createElement("div",{className:`${y}-quick-jumper`},o.jump_to,r.createElement("input",{disabled:s,type:"text",value:p,onChange:e=>{let t=e.target.value;/^\d*$/.test(t)&&g(t)},onKeyUp:f,onBlur:e=>{!l&&""!==p&&(g(""),e.relatedTarget&&(e.relatedTarget.className.includes(`${c}-item-link`)||e.relatedTarget.className.includes(`${c}-item`))||a?.($))},"aria-label":o.page}),o.page,x)),r.createElement("li",{className:y},C,k)},f=e=>{let{rootPrefixCls:t,page:o,active:i,className:n,style:l,showTitle:a,onClick:c,onKeyPress:s,itemRender:u}=e,m=`${t}-item`,d=(0,g.$)(m,`${m}-${o}`,{[`${m}-active`]:i,[`${m}-disabled`]:!o},n),p=u(o,"page",r.createElement("a",{rel:"nofollow"},o));return p?r.createElement("li",{title:a?String(o):null,className:d,style:l,onClick:()=>{c(o)},onKeyDown:e=>{s(e,c,o)},tabIndex:0},p):null};function y(){return(y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e}).apply(this,arguments)}let C=(e,t,o)=>o;function k(){}function x(e){let t=Number(e);return"number"==typeof t&&!Number.isNaN(t)&&isFinite(t)&&Math.floor(t)===t}function E(e,t,o){return Math.floor((o-1)/(void 0===e?t:e))+1}let N=e=>{let{prefixCls:t="rc-pagination",selectPrefixCls:o="rc-select",className:i,classNames:n,styles:l,current:a,defaultCurrent:c=1,total:s=0,pageSize:u,defaultPageSize:m=10,onChange:d=k,hideOnSinglePage:p,align:h,showPrevNextJumpers:N=!0,showQuickJumper:S,showLessItems:z,showTitle:A=!0,onShowSizeChange:B=k,locale:D=$,style:w,totalBoundaryShowSizeChanger:j=50,disabled:I,simple:P,showTotal:T,showSizeChanger:M=s>j,sizeChangerRender:_,pageSizeOptions:O,itemRender:H=C,jumpPrevIcon:W,jumpNextIcon:R,prevIcon:L,nextIcon:q}=e,K=r.useRef(null),[X,F]=(0,b.PW)(m,u),[U,G]=(0,b.PW)(c,a),J=Math.max(1,Math.min(U,E(void 0,X,s))),[Q,V]=r.useState(J);(0,r.useEffect)(()=>{V(J)},[J]);let Z=Math.max(1,J-(z?3:5)),Y=Math.min(E(void 0,X,s),J+(z?3:5));function ee(o,i){let n=o||r.createElement("button",{type:"button","aria-label":i,className:`${t}-item-link`});return"function"==typeof o&&(n=r.createElement(o,e)),n}function et(e){let t=e.target.value,o=E(void 0,X,s);return""===t?t:Number.isNaN(Number(t))?Q:t>=o?o:Number(t)}let eo=s>X&&S;function er(e){let t=et(e);switch(t!==Q&&V(t),e.keyCode){case b.DD.ENTER:ei(t);break;case b.DD.UP:ei(t-1);break;case b.DD.DOWN:ei(t+1)}}function ei(e){if(x(e)&&e!==J&&x(s)&&s>0&&!I){let t=E(void 0,X,s),o=e;return e>t?o=t:e<1&&(o=1),o!==Q&&V(o),G(o),d?.(o,X),o}return J}let en=J>1,el=J<E(void 0,X,s);function ea(){en&&ei(J-1)}function ec(){el&&ei(J+1)}function es(){ei(Z)}function eu(){ei(Y)}function em(e,t,...o){("Enter"===e.key||e.charCode===b.DD.ENTER||e.keyCode===b.DD.ENTER)&&t(...o)}function ed(e){("click"===e.type||e.keyCode===b.DD.ENTER)&&ei(Q)}let ep=null,eg=(0,b.KE)(e,{aria:!0,data:!0}),eb=T&&r.createElement("li",{className:`${t}-total-text`},T(s,[0===s?0:(J-1)*X+1,J*X>s?s:J*X])),e$=null,eh=E(void 0,X,s);if(p&&s<=X)return null;let ev=[],ef={rootPrefixCls:t,onClick:ei,onKeyPress:em,showTitle:A,itemRender:H,page:-1,className:n?.item,style:l?.item},ey=J-1>0?J-1:0,eC=J+1<eh?J+1:eh,ek=S&&S.goButton,ex="object"==typeof P?P.readOnly:!P,eE=ek,eN=null;P&&(ek&&(eE="boolean"==typeof ek?r.createElement("button",{type:"button",onClick:ed,onKeyUp:ed},D.jump_to_confirm):r.createElement("span",{onClick:ed,onKeyUp:ed},ek),eE=r.createElement("li",{title:A?`${D.jump_to}${J}/${eh}`:null,className:`${t}-simple-pager`},eE)),eN=r.createElement("li",{title:A?`${J}/${eh}`:null,className:(0,g.$)(`${t}-simple-pager`,n?.item),style:l?.item},ex?Q:r.createElement("input",{type:"text","aria-label":D.jump_to,value:Q,disabled:I,onKeyDown:function(e){(e.keyCode===b.DD.UP||e.keyCode===b.DD.DOWN)&&e.preventDefault()},onKeyUp:er,onChange:er,onBlur:function(e){ei(et(e))},size:3}),r.createElement("span",{className:`${t}-slash`},"/"),eh));let eS=z?1:2;if(eh<=3+2*eS){eh||ev.push(r.createElement(f,y({},ef,{key:"noPager",page:1,className:`${t}-item-disabled`})));for(let e=1;e<=eh;e+=1)ev.push(r.createElement(f,y({},ef,{key:e,page:e,active:J===e})))}else{let e=z?D.prev_3:D.prev_5,o=z?D.next_3:D.next_5,i=H(Z,"jump-prev",ee(W,"prev page")),n=H(Y,"jump-next",ee(R,"next page"));N&&(ep=i?r.createElement("li",{title:A?e:null,key:"prev",onClick:es,tabIndex:0,onKeyDown:function(e){em(e,es)},className:(0,g.$)(`${t}-jump-prev`,{[`${t}-jump-prev-custom-icon`]:!!W})},i):null,e$=n?r.createElement("li",{title:A?o:null,key:"next",onClick:eu,tabIndex:0,onKeyDown:function(e){em(e,eu)},className:(0,g.$)(`${t}-jump-next`,{[`${t}-jump-next-custom-icon`]:!!R})},n):null);let l=Math.max(1,J-eS),a=Math.min(J+eS,eh);J-1<=eS&&(a=1+2*eS),eh-J<=eS&&(l=eh-2*eS);let c=!!ep&&J-1>=2*eS&&3!==J,s=!!e$&&eh-J>=2*eS&&J!==eh-2;!z&&c&&a!==eh&&(l+=1),!z&&s&&1!==l&&(a-=1);for(let e=l;e<=a;e+=1)ev.push(r.createElement(f,y({},ef,{key:e,page:e,active:J===e})));if(c&&(ev[0]=r.cloneElement(ev[0],{className:(0,g.$)(`${t}-item-after-jump-prev`,ev[0].props.className)}),ev.unshift(ep)),s){let e=ev[ev.length-1];ev[ev.length-1]=r.cloneElement(e,{className:(0,g.$)(`${t}-item-before-jump-next`,e.props.className)}),ev.push(e$)}1!==l&&ev.unshift(r.createElement(f,y({},ef,{key:1,page:1}))),a!==eh&&ev.push(r.createElement(f,y({},ef,{key:eh,page:eh})))}let ez=function(e){let t=H(e,"prev",ee(L,"prev page"));return r.isValidElement(t)?r.cloneElement(t,{disabled:!en}):t}(ey);if(ez){let e=!en||!eh;ez=r.createElement("li",{title:A?D.prev_page:null,onClick:ea,tabIndex:e?null:0,onKeyDown:function(e){em(e,ea)},className:(0,g.$)(`${t}-prev`,n?.item,{[`${t}-disabled`]:e}),style:l?.item,"aria-disabled":e},ez)}let eA=function(e){let t=H(e,"next",ee(q,"next page"));return r.isValidElement(t)?r.cloneElement(t,{disabled:!el}):t}(eC);if(eA){let e,o;P?(e=!el,o=en?0:null):o=(e=!el||!eh)?null:0,eA=r.createElement("li",{title:A?D.next_page:null,onClick:ec,tabIndex:o,onKeyDown:function(e){em(e,ec)},className:(0,g.$)(`${t}-next`,n?.item,{[`${t}-disabled`]:e}),style:l?.item,"aria-disabled":e},eA)}let eB=(0,g.$)(t,i,{[`${t}-start`]:"start"===h,[`${t}-center`]:"center"===h,[`${t}-end`]:"end"===h,[`${t}-simple`]:P,[`${t}-disabled`]:I});return r.createElement("ul",y({className:eB,style:w,ref:K},eg),eb,ez,P?eN:ev,eA,r.createElement(v,{locale:D,rootPrefixCls:t,disabled:I,selectPrefixCls:o,changeSize:function(e){let t=E(e,X,s),o=J>t&&0!==t?t:J;F(e),V(o),B?.(J,e),G(o),d?.(o,e)},pageSize:X,pageSizeOptions:O,quickGo:eo?ei:null,goButton:eE,showSizeChanger:M,sizeChangerRender:_}))};var S=o(43782),z=o(92162),A=o(74567),B=o(27273),D=o(73134),w=o(59609),j=o(69925),I=o(57271),P=o(7709),T=o(15561),M=o(44390),_=o(84767),O=o(90560),H=o(7961),W=o(28403),R=o(10540);let L=e=>({itemBg:e.colorBgContainer,itemSize:e.controlHeight,itemSizeSM:e.controlHeightSM,itemSizeLG:e.controlHeightLG,itemActiveBg:e.colorBgContainer,itemActiveColor:e.colorPrimary,itemActiveColorHover:e.colorPrimaryHover,itemLinkBg:e.colorBgContainer,itemActiveColorDisabled:e.colorTextDisabled,itemActiveBgDisabled:e.controlItemBgActiveDisabled,itemInputBg:e.colorBgContainer,miniOptionsSizeChangerTop:0,...(0,_.b)(e)}),q=e=>(0,W.oX)(e,{inputOutlineOffset:0,quickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.25).equal(),paginationMiniOptionsMarginInlineStart:e.calc(e.marginXXS).div(2).equal(),paginationMiniQuickJumperInputWidth:e.calc(e.controlHeightLG).mul(1.1).equal(),paginationItemPaddingInline:e.calc(e.marginXXS).mul(1.5).equal(),paginationEllipsisLetterSpacing:e.calc(e.marginXXS).div(2).equal(),paginationSlashMarginInlineStart:e.marginSM,paginationSlashMarginInlineEnd:e.marginSM,paginationEllipsisTextIndent:"0.13em"},(0,_.C)(e)),K=(0,R.OF)("Pagination",e=>{let t=q(e);return[(e=>{let{componentCls:t,antCls:o}=e,[r,i]=(0,R.PN)(o,"pagination");return{[t]:{[r("item-size-actual")]:(0,T.zA)(e.itemSize),[r("item-spacing-actual")]:(0,T.zA)(e.marginXS),"&-small":{[r("item-size-actual")]:(0,T.zA)(e.itemSizeSM),[r("item-spacing-actual")]:(0,T.zA)(e.marginXXS)},"&-large":{[r("item-size-actual")]:(0,T.zA)(e.itemSizeLG),[r("item-spacing-actual")]:(0,T.zA)(e.marginSM)},...(0,H.dF)(e),display:"flex",alignItems:"center","&-start":{justifyContent:"start"},"&-center":{justifyContent:"center"},"&-end":{justifyContent:"end"},"ul, ol":{margin:0,padding:0,listStyle:"none"},"&::after":{display:"block",clear:"both",height:0,overflow:"hidden",visibility:"hidden",content:'""'},[`${t}-total-text`]:{display:"inline-block",height:i("item-size-actual"),marginInlineEnd:i("item-spacing-actual"),lineHeight:(0,T.zA)(e.calc(i("item-size-actual")).sub(2).equal()),verticalAlign:"middle"},...(e=>{let{componentCls:t,antCls:o}=e,[,r]=(0,R.PN)(o,"pagination");return{[`${t}-item`]:{display:"inline-block",minWidth:r("item-size-actual"),height:r("item-size-actual"),marginInlineEnd:r("item-spacing-actual"),fontFamily:e.fontFamily,lineHeight:(0,T.zA)(e.calc(r("item-size-actual")).sub(2).equal()),textAlign:"center",verticalAlign:"middle",listStyle:"none",backgroundColor:e.itemBg,border:`${(0,T.zA)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:0,cursor:"pointer",userSelect:"none",a:{display:"block",padding:`0 ${(0,T.zA)(e.paginationItemPaddingInline)}`,color:e.colorText,"&:hover":{textDecoration:"none"}},[`&:not(${t}-item-active)`]:{"&:hover":{transition:`all ${e.motionDurationMid}`,backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive}},"&-active":{fontWeight:e.fontWeightStrong,backgroundColor:e.itemActiveBg,borderColor:e.colorPrimary,a:{color:e.itemActiveColor},"&:hover":{borderColor:e.colorPrimaryHover},"&:hover a":{color:e.itemActiveColorHover}}}}})(e),...(e=>{let{componentCls:t,iconCls:o,sizeLG:r,antCls:i}=e,[,n]=(0,R.PN)(i,"pagination");return{[`${t}-jump-prev, ${t}-jump-next`]:{outline:0,[`${t}-item-container`]:{position:"relative",[`${t}-item-link-icon`]:{color:e.colorPrimary,fontSize:e.fontSizeSM,opacity:0,transition:`all ${e.motionDurationMid}`,"&-svg":{top:0,insetInlineEnd:0,bottom:0,insetInlineStart:0,margin:"auto"}},[`${t}-item-ellipsis`]:{position:"absolute",inset:0,display:"inline-flex",justifyContent:"center",alignItems:"center",margin:"auto",color:e.colorTextDisabled,textAlign:"center",opacity:1,transition:`all ${e.motionDurationMid}`,[`${o}-ellipsis > svg`]:{width:r,height:r}}},"&:hover":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0}}},[`
2
- ${t}-prev,
3
- ${t}-jump-prev,
4
- ${t}-jump-next
5
- `]:{marginInlineEnd:n("item-spacing-actual")},[`
6
- ${t}-prev,
7
- ${t}-next,
8
- ${t}-jump-prev,
9
- ${t}-jump-next
10
- `]:{display:"inline-block",minWidth:n("item-size-actual"),height:n("item-size-actual"),color:e.colorText,fontFamily:e.fontFamily,lineHeight:n("item-size-actual"),textAlign:"center",verticalAlign:"middle",listStyle:"none",borderRadius:e.borderRadius,cursor:"pointer",transition:`all ${e.motionDurationMid}`},[`${t}-prev, ${t}-next`]:{outline:0,button:{color:e.colorText,cursor:"pointer",userSelect:"none"},[`${t}-item-link`]:{display:"block",width:"100%",height:"100%",padding:0,fontSize:e.fontSizeSM,textAlign:"center",backgroundColor:"transparent",border:`${(0,T.zA)(e.lineWidth)} ${e.lineType} transparent`,borderRadius:e.borderRadius,outline:"none",transition:`all ${e.motionDurationMid}`},[`&:hover ${t}-item-link`]:{backgroundColor:e.colorBgTextHover},[`&:active ${t}-item-link`]:{backgroundColor:e.colorBgTextActive},[`&${t}-disabled:hover`]:{[`${t}-item-link`]:{backgroundColor:"transparent"}}},[`${t}-slash`]:{marginInlineEnd:e.paginationSlashMarginInlineEnd,marginInlineStart:e.paginationSlashMarginInlineStart},[`${t}-options`]:{display:"inline-block",marginInlineStart:e.margin,verticalAlign:"middle","&-size-changer":{width:"auto"},"&-quick-jumper":{display:"inline-block",height:n("item-size-actual"),marginInlineStart:e.marginXS,lineHeight:n("item-size-actual"),verticalAlign:"baseline",input:{...(0,M.wj)(e),...(0,O.nI)(e,{borderColor:e.colorBorder,hoverBorderColor:e.colorPrimaryHover,activeBorderColor:e.colorPrimary,activeShadow:e.activeShadow}),"&[disabled]":{...(0,O.eT)(e)},width:e.quickJumperInputWidth,height:n("item-size-actual"),boxSizing:"border-box",margin:0,marginInlineStart:n("item-spacing-actual"),marginInlineEnd:n("item-spacing-actual")}}}}})(e),...(e=>{let{componentCls:t,antCls:o}=e,[,r]=(0,R.PN)(o,"pagination");return{[`&${t}-simple`]:{[`${t}-prev, ${t}-next`]:{height:r("item-size-actual"),lineHeight:r("item-size-actual"),verticalAlign:"top",[`${t}-item-link`]:{height:r("item-size-actual"),backgroundColor:"transparent",border:0,"&:hover":{backgroundColor:e.colorBgTextHover},"&:active":{backgroundColor:e.colorBgTextActive},"&::after":{height:r("item-size-actual"),lineHeight:r("item-size-actual")}}},[`${t}-simple-pager`]:{display:"inline-flex",alignItems:"center",height:r("item-size-actual"),marginInlineEnd:r("item-spacing-actual"),input:{boxSizing:"border-box",height:"100%",width:e.quickJumperInputWidth,padding:`0 ${(0,T.zA)(e.paginationItemPaddingInline)}`,textAlign:"center",backgroundColor:e.itemInputBg,border:`${(0,T.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,borderRadius:e.borderRadius,outline:"none",transition:`border-color ${e.motionDurationMid}`,color:"inherit","&:hover":{borderColor:e.colorPrimary},"&:focus":{borderColor:e.colorPrimaryHover,boxShadow:`${(0,T.zA)(e.inputOutlineOffset)} 0 ${(0,T.zA)(e.controlOutlineWidth)} ${e.controlOutline}`},"&[disabled]":{color:e.colorTextDisabled,backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,cursor:"not-allowed"}}},[`&${t}-disabled`]:{[`${t}-prev, ${t}-next`]:{[`${t}-item-link`]:{"&:hover, &:active":{backgroundColor:"transparent"}}}},[`&${t}-small`]:{[`${t}-simple-pager`]:{input:{width:e.paginationMiniQuickJumperInputWidth}}}}}})(e),...(e=>{let{componentCls:t}=e,o=`${t}-options-quick-jumper input, ${t}-simple-pager input`;return{[`&${t}-filled`]:{[o]:{background:e.colorFillTertiary,borderColor:"transparent","&:hover":{background:e.colorFillSecondary},"&:focus":{borderColor:e.activeBorderColor,outline:0,backgroundColor:e.activeBg},"&[disabled]":{...(0,O.eT)(e)}}},[`&${t}-borderless`]:{[o]:{background:"transparent",border:"none","&:focus":{outline:"none",boxShadow:"none"},"&[disabled]":{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-underlined`]:{[o]:{background:e.colorBgContainer,borderWidth:`${(0,T.zA)(e.lineWidth)} 0`,borderStyle:`${e.lineType} none`,borderColor:`transparent transparent ${e.colorBorder} transparent`,borderRadius:0,"&:hover":{borderColor:`transparent transparent ${e.hoverBorderColor} transparent`,backgroundColor:e.hoverBg},"&:focus":{borderColor:`transparent transparent ${e.activeBorderColor} transparent`,outline:0,backgroundColor:e.activeBg},"&[disabled]":{color:e.colorTextDisabled,boxShadow:"none",cursor:"not-allowed"}}}}})(e),...(e=>{let{componentCls:t}=e;return{[`&${t}-small ${t}-options`]:{marginInlineStart:e.paginationMiniOptionsMarginInlineStart,"&-quick-jumper":{input:{...(0,M.BZ)(e),width:e.paginationMiniQuickJumperInputWidth}}}}})(e),...(e=>{let{componentCls:t}=e;return{[`&${t}-large ${t}-options`]:{"&-quick-jumper":{input:{...(0,M.xp)(e)}}}}})(e),...(e=>{let{componentCls:t}=e;return{[`${t}-disabled`]:{"&, &:hover":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}},"&:focus-visible":{cursor:"not-allowed",[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed"}}},[`&${t}-disabled`]:{cursor:"not-allowed",[`${t}-item`]:{cursor:"not-allowed",backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"},a:{color:e.colorTextDisabled,backgroundColor:"transparent",border:"none",cursor:"not-allowed"},"&-active":{borderColor:e.colorBorder,backgroundColor:e.itemActiveBgDisabled,"&:hover, &:active":{backgroundColor:e.itemActiveBgDisabled},a:{color:e.itemActiveColorDisabled}}},[`${t}-item-link`]:{color:e.colorTextDisabled,cursor:"not-allowed","&:hover, &:active":{backgroundColor:"transparent"},[`${t}-simple&`]:{backgroundColor:"transparent","&:hover, &:active":{backgroundColor:"transparent"}}},[`${t}-simple-pager`]:{color:e.colorTextDisabled},[`${t}-jump-prev, ${t}-jump-next`]:{[`${t}-item-link-icon`]:{opacity:0},[`${t}-item-ellipsis`]:{opacity:1}}}}})(e),[`@media only screen and (max-width: ${e.screenLG}px)`]:{[`${t}-item`]:{"&-after-jump-prev, &-before-jump-next":{display:"none"}}},[`@media only screen and (max-width: ${e.screenSM}px)`]:{[`${t}-options`]:{display:"none"}}},[`&${e.componentCls}-rtl`]:{direction:"rtl"}}})(t),(e=>{let{componentCls:t}=e;return{[`${t}:not(${t}-disabled)`]:{[`${t}-item`]:{...(0,H.K8)(e)},[`${t}-jump-prev, ${t}-jump-next`]:{"&:focus-visible":{[`${t}-item-link-icon`]:{opacity:1},[`${t}-item-ellipsis`]:{opacity:0},...(0,H.jk)(e)}},[`${t}-prev, ${t}-next`]:{[`&:focus-visible ${t}-item-link`]:(0,H.jk)(e)}}}})(t)]},L),X=(0,R.bf)(["Pagination","bordered"],e=>(e=>{let{componentCls:t}=e;return{[`${t}${t}-bordered${t}-disabled`]:{"&, &:hover":{[`${t}-item-link`]:{borderColor:e.colorBorder}},"&:focus-visible":{[`${t}-item-link`]:{borderColor:e.colorBorder}},[`${t}-item, ${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,[`&:hover:not(${t}-item-active)`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,a:{color:e.colorTextDisabled}},[`&${t}-item-active`]:{backgroundColor:e.itemActiveBgDisabled}},[`${t}-prev, ${t}-next`]:{"&:hover button":{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder,color:e.colorTextDisabled},[`${t}-item-link`]:{backgroundColor:e.colorBgContainerDisabled,borderColor:e.colorBorder}}},[`${t}${t}-bordered`]:{[`${t}-prev, ${t}-next`]:{"&:hover button":{borderColor:e.colorPrimaryHover,backgroundColor:e.itemBg},[`${t}-item-link`]:{backgroundColor:e.itemLinkBg,borderColor:e.colorBorder},[`&:hover ${t}-item-link`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,color:e.colorPrimary},[`&${t}-disabled`]:{[`${t}-item-link`]:{borderColor:e.colorBorder,color:e.colorTextDisabled}}},[`${t}-item`]:{backgroundColor:e.itemBg,border:`${(0,T.zA)(e.lineWidth)} ${e.lineType} ${e.colorBorder}`,[`&:hover:not(${t}-item-active)`]:{borderColor:e.colorPrimary,backgroundColor:e.itemBg,a:{color:e.colorPrimary}},"&-active":{borderColor:e.colorPrimary}}}}})(q(e)),L);var F=o(26047);function U(e){return(0,r.useMemo)(()=>"boolean"==typeof e?[e,{}]:(0,F.Qd)(e)?[!0,e]:[void 0,void 0],[e])}let G=e=>{let{align:t,prefixCls:o,selectPrefixCls:i,className:n,rootClassName:l,style:c,size:s,locale:b,responsive:$,showSizeChanger:h,selectComponentClass:v,pageSizeOptions:f,styles:y,classNames:C,...k}=e,{xs:x}=(0,w.A)($),[,E]=(0,P.Ay)(),{getPrefixCls:T,direction:M,showSizeChanger:_,className:O,style:H,classNames:W,styles:R,totalBoundaryShowSizeChanger:L}=(0,A.TP)("pagination"),q=T("pagination",o),[F,G]=K(q),J=(0,B.A)(s),Q="small"===J||!!(x&&!J&&$),[V,Z]=(0,D.A)("input"),Y={...e,size:J},ee=(0,z.XT)(H),et=(0,z.XT)(c),[eo,er]=(0,z.AV)([W,C],[R,ee,y,et],{props:Y}),[ei]=(0,j.A)("Pagination",S.A),en={...ei,...b},[el,ea]=U(h),[ec,es]=U(_),eu=ea??es,em=v||I.A,ed=r.useMemo(()=>f?f.map(Number):void 0,[f]),ep=r.useMemo(()=>{let e=r.createElement("span",{className:`${q}-item-ellipsis`},r.createElement(m.A,null)),t=r.createElement("button",{className:`${q}-item-link`,type:"button",tabIndex:-1},"rtl"===M?r.createElement(p.A,null):r.createElement(d.A,null)),o=r.createElement("button",{className:`${q}-item-link`,type:"button",tabIndex:-1},"rtl"===M?r.createElement(d.A,null):r.createElement(p.A,null));return{prevIcon:t,nextIcon:o,jumpPrevIcon:r.createElement("a",{className:`${q}-item-link`},r.createElement("div",{className:`${q}-item-container`},"rtl"===M?r.createElement(u,{className:`${q}-item-link-icon`}):r.createElement(a,{className:`${q}-item-link-icon`}),e)),jumpNextIcon:r.createElement("a",{className:`${q}-item-link`},r.createElement("div",{className:`${q}-item-container`},"rtl"===M?r.createElement(a,{className:`${q}-item-link-icon`}):r.createElement(u,{className:`${q}-item-link-icon`}),e))}},[M,q]),eg=T("select",i),eb=(0,g.$)({[`${q}-${t}`]:!!t,[`${q}-${J}`]:J,[`${q}-${V}`]:Z&&"outlined"!==V,[`${q}-mini`]:Q,[`${q}-rtl`]:"rtl"===M,[`${q}-bordered`]:E.wireframe},O,n,l,eo.root,F,G),e$={...er.root};return r.createElement(r.Fragment,null,E.wireframe&&r.createElement(X,{prefixCls:q}),r.createElement(N,{...ep,...k,styles:er,classNames:eo,style:e$,prefixCls:q,selectPrefixCls:eg,className:eb,locale:en,pageSizeOptions:ed,showSizeChanger:el??ec,totalBoundaryShowSizeChanger:k.totalBoundaryShowSizeChanger??L,sizeChangerRender:e=>{let{disabled:t,size:o,onSizeChange:i,"aria-label":n,className:l,options:a}=e,{className:c,onChange:s}=eu||{},u=a.find(e=>String(e.value)===String(o))?.value;return r.createElement(em,{disabled:t,showSearch:!0,popupMatchSelectWidth:!1,getPopupContainer:e=>e.parentNode,"aria-label":n,options:a,...eu,value:u,onChange:(e,t)=>{i?.(e),s?.(e,t)},size:J,className:(0,g.$)(l,c)})}}))}}}]);
@@ -1,4 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[189],{15437:(e,r,t)=>{t.d(r,{A:()=>o});let o=e=>{let{componentCls:r,antCls:t,motionDurationMid:o,motionEaseInOut:a}=e;return{[r]:{[`${t}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(e=>`${e} ${o} ${a}`).join(", ")} !important`}},[`${t}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(e=>`${e} ${o} ${a}`).join(", ")} !important`}}}}},41169:(e,r,t)=>{t.d(r,{A:()=>l});var o=t(97109),a=t(42644);function l(e){let r=o.useRef(null),t=()=>{a.er.cancel(r.current),r.current=null};return[()=>{t(),r.current=(0,a.er)(()=>{r.current=null})},o=>{r.current&&(o.stopPropagation(),t()),e?.(o)}]}},46066:(e,r,t)=>{t.d(r,{A:()=>i});var o=t(32565),a=t(3638),l=t(97109);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 o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}let i=(0,l.forwardRef)((e,r)=>{let{prefixCls:t="rc-checkbox",className:i,style:c,checked:d,disabled:s,defaultChecked:u=!1,type:p="checkbox",title:b,onChange:$,...m}=e,f=(0,l.useRef)(null),h=(0,l.useRef)(null),[g,v]=(0,o.A)(u,d);(0,l.useImperativeHandle)(r,()=>({focus:e=>{f.current?.focus(e)},blur:()=>{f.current?.blur()},input:f.current,nativeElement:h.current}));let k=(0,a.$)(t,i,{[`${t}-checked`]:g,[`${t}-disabled`]:s});return l.createElement("span",{className:k,title:b,style:c,ref:h},l.createElement("input",n({},m,{className:`${t}-input`,ref:f,onChange:r=>{s||("checked"in e||v(r.target.checked),$?.({target:{...e,type:p,checked:r.target.checked},stopPropagation(){r.stopPropagation()},preventDefault(){r.preventDefault()},nativeEvent:r.nativeEvent}))},disabled:s,checked:!!g,type:p})))})},56985:(e,r,t)=>{t.d(r,{A:()=>C});var o=t(97109),a=t(46066),l=t(42644),n=t(3638),i=t(92162),c=t(26047),d=t(38862),s=t(35622),u=t(74567),p=t(6831),b=t(632),$=t(55359);let m=o.createContext(null);var f=t(96285),h=t(41169);let g=o.forwardRef((e,r)=>{let{prefixCls:t,children:g,indeterminate:v=!1,onMouseEnter:k,onMouseLeave:C,skipGroup:y=!1,disabled:x,rootClassName:w,className:E,style:A,classNames:S,styles:P,name:I,value:N,checked:D,defaultChecked:B,onChange:O,...z}=e,{getPrefixCls:R,direction:T,className:_,style:q,classNames:F,styles:X}=(0,u.TP)("checkbox"),j=o.useContext(m),{isFormItemInput:M}=o.useContext($.$W),V=o.useContext(p.A),H=(j?.disabled||x)??V,[W,G]=(0,l.PW)(B,D),L=W,K=(0,l._q)(e=>{G(e.target.checked),O?.(e),!y&&j?.toggleOption&&j.toggleOption({label:g,value:N})});j&&!y&&(L=j.value.includes(N));let J=o.useRef(null),Q=(0,l.xK)(r,J);o.useEffect(()=>{if(!y&&j)return j.registerValue(N),()=>{j.cancelValue(N)}},[N,y]),o.useEffect(()=>{J.current?.input&&(J.current.input.indeterminate=v)},[v]);let Z=R("checkbox",t),U=(0,b.A)(Z),[Y,ee]=(0,f.Ay)(Z,U),er={...z},et={...e,indeterminate:v,disabled:H,checked:L},eo=(0,i.XT)(q),ea=(0,i.XT)(A),[el,en]=(0,i.AV)([F,S],[X,eo,P,ea],{props:et}),ei=(0,n.$)(`${Z}-wrapper`,{[`${Z}-rtl`]:"rtl"===T,[`${Z}-wrapper-checked`]:L,[`${Z}-wrapper-disabled`]:H,[`${Z}-wrapper-in-form-item`]:M},_,E,el.root,w,ee,U,Y),ec=(0,n.$)(el.icon,{[`${Z}-indeterminate`]:v},s.D,Y),[ed,es]=(0,h.A)(er.onClick);return o.createElement(d.A,{component:"Checkbox",disabled:H},o.createElement("label",{className:ei,style:en.root,onMouseEnter:k,onMouseLeave:C,onClick:ed},o.createElement(a.A,{...er,name:!y&&j?j.name:I,checked:L,onClick:es,onChange:K,prefixCls:Z,className:ec,style:en.icon,disabled:H,ref:Q,value:N}),(0,c.AZ)(g)&&o.createElement("span",{className:(0,n.$)(`${Z}-label`,el.label),style:en.label},g)))});var v=t(9750);let k=o.forwardRef((e,r)=>{let{defaultValue:t,children:a,options:i=[],prefixCls:d,className:s,rootClassName:p,style:$,onChange:h,role:k="group",...C}=e,{getPrefixCls:y,direction:x}=o.useContext(u.QO),[w,E]=o.useState(C.value||t||[]),[A,S]=o.useState([]);o.useEffect(()=>{"value"in C&&E(C.value||[])},[C.value]);let P=o.useMemo(()=>i.map(e=>"string"==typeof e||(0,c.Et)(e)?{label:e,value:e}:e),[i]),I=e=>{S(r=>r.filter(r=>r!==e))},N=e=>{S(r=>[].concat((0,v.A)(r),[e]))},D=e=>{let r=w.indexOf(e.value),t=(0,v.A)(w);-1===r?t.push(e.value):t.splice(r,1),"value"in C||E(t),h?.(t.filter(e=>A.includes(e)).sort((e,r)=>P.findIndex(r=>r.value===e)-P.findIndex(e=>e.value===r)))},B=y("checkbox",d),O=`${B}-group`,z=(0,b.A)(B),[R,T]=(0,f.Ay)(B,z),_=(0,l.cJ)(C,["value","disabled"]),q=i.length?P.map(e=>o.createElement(g,{prefixCls:B,key:e.value.toString(),disabled:"disabled"in e?e.disabled:C.disabled,value:e.value,checked:w.includes(e.value),onChange:e.onChange,className:(0,n.$)(`${O}-item`,e.className),style:e.style,title:e.title,id:e.id,required:e.required},e.label)):a,F=o.useMemo(()=>({toggleOption:D,value:w,disabled:C.disabled,name:C.name,registerValue:N,cancelValue:I}),[D,w,C.disabled,C.name,N,I]),X=(0,n.$)(O,{[`${O}-rtl`]:"rtl"===x},s,p,T,z,R);return o.createElement("div",{className:X,style:$,role:k,..._,ref:r},o.createElement(m.Provider,{value:F},q))});g.Group=k,g.__ANT_CHECKBOX=!0;let C=g},96285:(e,r,t)=>{t.d(r,{Ay:()=>c,gd:()=>i});var o=t(15561),a=t(7961),l=t(16666),n=t(28403);function i(e,r){var t=(0,n.oX)(r,{checkboxCls:`.${e}`,checkboxSize:r.controlInteractiveSize});let{checkboxCls:i,checkboxSize:c,lineWidth:d}=t,s=`${i}-wrapper`,u="@media (hover: hover) and (pointer: fine)";return[{[`${i}-group`]:{...(0,a.dF)(t),display:"inline-flex",flexWrap:"wrap",columnGap:t.marginXS,[`> ${t.antCls}-row`]:{flex:1}},[s]:{...(0,a.dF)(t),display:"inline-flex",alignItems:"baseline",cursor:"pointer","&:after":{display:"inline-block",width:0,overflow:"hidden",content:"'\\a0'"},[`& + ${s}`]:{marginInlineStart:0}},[i]:{...(0,a.dF)(t),position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",boxSizing:"border-box",display:"block",width:c,height:c,direction:"ltr",backgroundColor:t.colorBgContainer,border:`${(0,o.zA)(d)} ${t.lineType} ${t.colorBorder}`,borderRadius:t.borderRadiusSM,borderCollapse:"separate",transition:`all ${t.motionDurationSlow}`,flex:"none",...(0,l.V)(),"&:after":{boxSizing:"border-box",position:"absolute",top:`calc(${c} / 2 - ${d})`,insetInlineStart:`calc(${c} / 4 - ${d})`,display:"table",width:t.calc(c).div(14).mul(5).equal(),height:t.calc(c).div(14).mul(8).equal(),border:`${(0,o.zA)(t.lineWidthBold)} solid ${t.colorWhite}`,borderTop:0,borderInlineStart:0,transform:"rotate(45deg) scale(0) translate(-50%,-50%)",opacity:0,content:'""',transition:`all ${t.motionDurationFast} ${t.motionEaseInBack}, opacity ${t.motionDurationFast}`,...(0,l.V)()},[`${i}-input`]:{position:"absolute",inset:`calc(-1 * (${d}))`,zIndex:1,cursor:"pointer",opacity:0,margin:0},[`&:has(${i}-input:focus-visible)`]:(0,a.jk)(t),"& + span":{paddingInlineStart:t.paddingXS,paddingInlineEnd:t.paddingXS}}},{[u]:{[`
2
- ${s}:not(${s}-disabled),
3
- ${i}:not(${i}-disabled)
4
- `]:{[`&:hover ${i}`]:{borderColor:t.colorPrimary}},[`${s}:not(${s}-disabled)`]:{[`&:hover ${i}-checked:not(${i}-disabled)`]:{backgroundColor:t.colorPrimaryHover,borderColor:"transparent"}}}},{[`${i}-checked`]:{backgroundColor:t.colorPrimary,borderColor:t.colorPrimary,"&:after":{opacity:1,transform:"rotate(45deg) scale(1) translate(-50%,-50%)",transition:`all ${t.motionDurationMid} ${t.motionEaseOutBack} ${t.motionDurationFast}`,...(0,l.V)()},[u]:{[`&:not(${i}-disabled):hover`]:{backgroundColor:t.colorPrimaryHover,borderColor:"transparent"}}}},{[i]:{"&-indeterminate":{backgroundColor:t.colorBgContainer,borderColor:t.colorBorder,"&:after":{top:"50%",insetInlineStart:"50%",width:t.calc(t.fontSizeLG).div(2).equal(),height:t.calc(t.fontSizeLG).div(2).equal(),backgroundColor:t.colorPrimary,border:0,transform:"translate(-50%, -50%) scale(1)",opacity:1,content:'""'},[u]:{[`&:not(${i}-disabled):hover`]:{backgroundColor:t.colorBgContainer,borderColor:t.colorPrimary}}}}},{[`${s}-disabled`]:{cursor:"not-allowed"},[`${i}-disabled`]:{[`&, ${i}-input`]:{cursor:"not-allowed",pointerEvents:"none"},background:t.colorBgContainerDisabled,borderColor:t.colorBorder,"&:after":{borderColor:t.colorTextDisabled},"& + span":{color:t.colorTextDisabled},[`&${i}-indeterminate::after`]:{background:t.colorTextDisabled}}}]}let c=(0,t(10540).OF)("Checkbox",(e,{prefixCls:r})=>[i(r,e)])}}]);
@@ -1,11 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[269],{1611:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"}},4527:(e,t,i)=>{i.d(t,{A:()=>a});var o=i(97109),r=i(64716),n=i(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let a=o.forwardRef((e,t)=>o.createElement(n.A,l({},e,{ref:t,icon:r.A})))},15437:(e,t,i)=>{i.d(t,{A:()=>o});let o=e=>{let{componentCls:t,antCls:i,motionDurationMid:o,motionEaseInOut:r}=e;return{[t]:{[`${i}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(e=>`${e} ${o} ${r}`).join(", ")} !important`}},[`${i}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(e=>`${e} ${o} ${r}`).join(", ")} !important`}}}}},15622:(e,t,i)=>{i.d(t,{A:()=>P});var o=i(97109),r=i(52116),n=i(64446),l=i(3638),a=i(42644),c=i(96546),s=i(15648),d=i(67189),m=i(99452);let p=o.forwardRef((e,t)=>{let{prefixCls:i,forceRender:r,className:n,style:a,children:c,isActive:s,role:d,classNames:m,styles:p}=e,[$,u]=o.useState(s||r);return(o.useEffect(()=>{(r||s)&&u(!0)},[r,s]),$)?o.createElement("div",{ref:t,className:(0,l.$)(`${i}-panel`,{[`${i}-panel-active`]:s,[`${i}-panel-inactive`]:!s},n),style:a,role:d},o.createElement("div",{className:(0,l.$)(`${i}-body`,m?.body),style:p?.body},c)):null}),$=o.forwardRef((e,t)=>{let{showArrow:i=!0,headerClass:r,isActive:a,onItemClick:c,forceRender:s,className:$,classNames:u={},styles:g={},prefixCls:h,collapsible:f,accordion:b,panelKey:v,extra:y,header:z,expandIcon:x,openMotion:w,destroyOnHidden:A,children:S,...E}=e,I="disabled"===f,N={onClick:()=>{c?.(v)},onKeyDown:e=>{("Enter"===e.key||e.keyCode===m.A.ENTER||e.which===m.A.ENTER)&&c?.(v)},role:b?"tab":"button","aria-expanded":a,"aria-disabled":I,tabIndex:I?-1:0},k="function"==typeof x?x(e):o.createElement("i",{className:"arrow"}),C=k&&o.createElement("div",(0,n.A)({className:(0,l.$)(`${h}-expand-icon`,u?.icon),style:g?.icon},["header","icon"].includes(f)?N:{}),k),M=(0,l.$)(`${h}-item`,{[`${h}-item-active`]:a,[`${h}-item-disabled`]:I},$),O={className:(0,l.$)(r,`${h}-header`,{[`${h}-collapsible-${f}`]:!!f},u?.header),style:g?.header,...["header","icon"].includes(f)?{}:N};return o.createElement("div",(0,n.A)({},E,{ref:t,className:M}),o.createElement("div",O,i&&C,o.createElement("span",(0,n.A)({className:(0,l.$)(`${h}-title`,u?.title),style:g?.title},"header"===f?N:{}),z),null!=y&&"boolean"!=typeof y&&o.createElement("div",{className:`${h}-extra`},y)),o.createElement(d.Ay,(0,n.A)({visible:a,leavedClassName:`${h}-panel-hidden`},w,{forceRender:s,removeOnLeave:A}),({className:e,style:t},i)=>o.createElement(p,{ref:i,prefixCls:h,className:e,classNames:u,style:t,styles:g,isActive:a,forceRender:s,role:b?"tabpanel":void 0},S)))});function u(e,t,i){if(!e||!t)return e||t;let o=Array.from(new Set([...Object.keys(e),...Object.keys(t)])),r={};return o.forEach(o=>{r[o]=i(e[o],t[o])}),r}let g=function(e,t,i){if(Array.isArray(e)){let{prefixCls:t,accordion:r,collapsible:a,destroyOnHidden:c,onItemClick:s,activeKey:d,openMotion:m,expandIcon:p,classNames:g,styles:h}=i;return e.map((e,i)=>{let{children:f,label:b,key:v,collapsible:y,onItemClick:z,destroyOnHidden:x,classNames:w,styles:A,...S}=e,E=String(v??i),I=y??a,N=!1;return N=r?d[0]===E:d.indexOf(E)>-1,o.createElement($,(0,n.A)({},S,{classNames:u(g,w,(e,t)=>(0,l.A)(e,t)),styles:u(h,A,(e,t)=>({...e,...t})),prefixCls:t,key:E,panelKey:E,isActive:N,accordion:r,openMotion:m,expandIcon:p,header:b,collapsible:I,onItemClick:e=>{"disabled"!==I&&(s(e),z?.(e))},destroyOnHidden:x??c}),f)})}return(0,s.A)(t).map((e,t)=>((e,t,i)=>{if(!e)return null;let{prefixCls:r,accordion:n,collapsible:l,destroyOnHidden:a,onItemClick:c,activeKey:s,openMotion:d,expandIcon:m,classNames:p,styles:$}=i,u=e.key||String(t),{header:g,headerClass:h,destroyOnHidden:f,collapsible:b,onItemClick:v}=e.props,y=!1;y=n?s[0]===u:s.indexOf(u)>-1;let z=b??l,x={key:u,panelKey:u,header:g,headerClass:h,classNames:p,styles:$,isActive:y,prefixCls:r,destroyOnHidden:f??a,openMotion:d,accordion:n,children:e.props.children,onItemClick:e=>{"disabled"!==z&&(c(e),v?.(e))},expandIcon:m,collapsible:z};return"string"==typeof e.type?e:(Object.keys(x).forEach(e=>{void 0===x[e]&&delete x[e]}),o.cloneElement(e,x))})(e,t,i))};var h=i(17597);function f(e){let t=e;if(!Array.isArray(t)){let e=typeof t;t="number"===e||"string"===e?[t]:[]}return t.map(e=>String(e))}let b=Object.assign(o.forwardRef((e,t)=>{let{prefixCls:i="rc-collapse",destroyOnHidden:r=!1,style:s,accordion:d,className:m,children:p,collapsible:$,openMotion:u,expandIcon:b,activeKey:v,defaultActiveKey:y,onChange:z,items:x,classNames:w,styles:A}=e,S=(0,l.$)(i,m),[E,I]=(0,a.PW)(y,v),N=f(E),k=(0,a._q)(e=>{let t=f(e);I(t),z?.(t)});(0,c.Ay)(!p,"[rc-collapse] `children` will be removed in next major version. Please use `items` instead.");let C=g(x,p,{prefixCls:i,accordion:d,openMotion:u,expandIcon:b,collapsible:$,destroyOnHidden:r,onItemClick:e=>{d?k(N[0]===e?[]:[e]):k(N.includes(e)?N.filter(t=>t!==e):[...N,e])},activeKey:N,classNames:w,styles:A});return o.createElement("div",(0,n.A)({ref:t,className:S,style:s,role:d?"tablist":void 0},(0,h.A)(e,{aria:!0,data:!0})),C)}),{Panel:$}),{Panel:v}=b;var y=i(92162),z=i(26047),x=i(84649),w=i(52690),A=i(74567),S=i(27273);let E=o.forwardRef((e,t)=>{let{getPrefixCls:i}=o.useContext(A.QO),{prefixCls:r,className:n,showArrow:a=!0}=e,c=i("collapse",r),s=(0,l.$)({[`${c}-no-arrow`]:!a},n);return o.createElement(b.Panel,{ref:t,...e,prefixCls:c,className:s})});var I=i(15561),N=i(7961),k=i(15437),C=i(10540),M=i(28403);let O=(0,C.OF)("Collapse",e=>{let t=(0,M.oX)(e,{collapsePanelBorderRadius:e.borderRadiusLG});return[(e=>{let{componentCls:t,contentBg:i,padding:o,headerBg:r,headerPadding:n,headerPaddingSM:l,headerPaddingLG:a,collapsePanelBorderRadius:c,lineWidth:s,lineType:d,colorBorder:m,colorText:p,colorTextHeading:$,colorTextDisabled:u,fontSizeLG:g,lineHeight:h,lineHeightLG:f,marginSM:b,paddingSM:v,paddingLG:y,paddingXS:z,motionDurationSlow:x,fontSizeIcon:w,contentPadding:A,contentPaddingSM:S,contentPaddingLG:E,fontHeight:k,fontHeightLG:C}=e,M=`${(0,I.zA)(s)} ${d} ${m}`;return{[t]:{...(0,N.dF)(e),backgroundColor:r,border:M,borderRadius:c,"&-rtl":{direction:"rtl"},[`& > ${t}-item`]:{borderBottom:M,"&:first-child":{[`
2
- &,
3
- & > ${t}-header`]:{borderRadius:`${(0,I.zA)(c)} ${(0,I.zA)(c)} 0 0`}},"&:last-child":{[`
4
- &,
5
- & > ${t}-header`]:{borderRadius:`0 0 ${(0,I.zA)(c)} ${(0,I.zA)(c)}`}},[`> ${t}-header`]:{position:"relative",display:"flex",flexWrap:"nowrap",alignItems:"flex-start",padding:n,color:$,lineHeight:h,cursor:"pointer",transition:`all ${x}, visibility 0s`,...(0,N.K8)(e),[`> ${t}-title`]:{flex:"auto"},[`${t}-expand-icon`]:{height:k,display:"flex",alignItems:"center",marginInlineEnd:b},[`${t}-arrow`]:{...(0,N.Nk)(),fontSize:w,transition:`transform ${x}`,svg:{transition:`transform ${x}`}},[`${t}-title`]:{marginInlineEnd:"auto"}},[`${t}-collapsible-header`]:{cursor:"default",[`${t}-title`]:{flex:"none",cursor:"pointer"},[`${t}-expand-icon`]:{cursor:"pointer"}},[`${t}-collapsible-icon`]:{cursor:"unset",[`${t}-expand-icon`]:{cursor:"pointer"}}},[`${t}-panel`]:{color:p,backgroundColor:i,borderTop:M,[`& > ${t}-body`]:{padding:A},"&-hidden":{display:"none"}},"&-small":{[`> ${t}-item`]:{[`> ${t}-header`]:{padding:l,[`> ${t}-expand-icon`]:{marginInlineStart:e.calc(v).sub(z).equal()}},[`> ${t}-panel > ${t}-body`]:{padding:S}}},"&-large":{[`> ${t}-item`]:{fontSize:g,lineHeight:f,[`> ${t}-header`]:{padding:a,[`> ${t}-expand-icon`]:{height:C,marginInlineStart:e.calc(y).sub(o).equal()}},[`> ${t}-panel > ${t}-body`]:{padding:E}}},[`${t}-item:last-child`]:{borderBottom:0,[`> ${t}-panel`]:{borderRadius:`0 0 ${(0,I.zA)(c)} ${(0,I.zA)(c)}`}},[`& ${t}-item-disabled > ${t}-header`]:{"&, & > .arrow":{color:u,cursor:"not-allowed"}},[`&${t}-icon-placement-end`]:{[`& > ${t}-item`]:{[`> ${t}-header`]:{[`${t}-expand-icon`]:{order:1,marginInlineEnd:0,marginInlineStart:b}}}}}}})(t),(e=>{let{componentCls:t,headerBg:i,borderlessContentPadding:o,borderlessContentBg:r,colorBorder:n}=e;return{[`${t}-borderless`]:{backgroundColor:i,border:0,[`> ${t}-item`]:{borderBottom:`1px solid ${n}`},[`
6
- > ${t}-item:last-child,
7
- > ${t}-item:last-child ${t}-header
8
- `]:{borderRadius:0},[`> ${t}-item:last-child`]:{borderBottom:0},[`> ${t}-item > ${t}-panel`]:{backgroundColor:r,borderTop:0},[`> ${t}-item > ${t}-panel > ${t}-body`]:{padding:o}}}})(t),(e=>{let{componentCls:t,paddingSM:i}=e;return{[`${t}-ghost`]:{backgroundColor:"transparent",border:0,[`> ${t}-item`]:{borderBottom:0,[`> ${t}-panel`]:{backgroundColor:"transparent",border:0,[`> ${t}-body`]:{paddingBlock:i}}}}}})(t),(e=>{let{componentCls:t}=e,i=`> ${t}-item > ${t}-header ${t}-arrow`;return{[`${t}-rtl`]:{[i]:{transform:"rotate(180deg)"}}}})(t),(0,k.A)(t)]},e=>({headerPadding:`${(0,I.zA)(e.paddingSM)} ${(0,I.zA)(e.padding)}`,headerPaddingSM:`${(0,I.zA)(e.paddingXS)} ${(0,I.zA)(e.paddingSM)} ${(0,I.zA)(e.paddingXS)} ${(0,I.zA)(e.paddingXS)}`,headerPaddingLG:`${(0,I.zA)(e.padding)} ${(0,I.zA)(e.paddingLG)} ${(0,I.zA)(e.padding)} ${(0,I.zA)(e.padding)}`,headerBg:e.colorFillAlter,contentPadding:`${(0,I.zA)(e.padding)} ${(0,I.zA)(16)}`,contentPaddingSM:e.paddingSM,contentPaddingLG:e.paddingLG,contentBg:e.colorBgContainer,borderlessContentPadding:`${(0,I.zA)(e.paddingXXS)} ${(0,I.zA)(16)} ${(0,I.zA)(e.padding)}`,borderlessContentBg:"transparent"})),P=Object.assign(o.forwardRef((e,t)=>{let{getPrefixCls:i,direction:n,expandIcon:c,className:s,style:d,classNames:m,styles:p}=(0,A.TP)("collapse"),{prefixCls:$,className:u,rootClassName:g,style:h,bordered:f=!0,ghost:v,size:E,expandIconPlacement:I,expandIconPosition:N,children:k,destroyInactivePanel:C,destroyOnHidden:M,expandIcon:P,classNames:B,styles:R}=e,H=(0,S.A)(e=>E??e??"middle"),T=i("collapse",$),W=i(),[j,X]=O(T),q=I??N??"start",D={...e,size:H,bordered:f,expandIconPlacement:q},L=(0,y.XT)(d),F=(0,y.XT)(h),[_,V]=(0,y.AV)([m,B],[p,L,R,F],{props:D}),G=P??c,K=o.useCallback((e={})=>{let t=(0,z.Tn)(G)?G(e):o.createElement(r.A,{rotate:e.isActive?"rtl"===n?-90:90:void 0,"aria-label":e.isActive?"expanded":"collapsed"});return(0,w.Ob)(t,e=>({className:(0,l.$)(e.className,`${T}-arrow`)}))},[G,T,n]),Y=(0,l.$)(`${T}-icon-placement-${q}`,{[`${T}-borderless`]:!f,[`${T}-rtl`]:"rtl"===n,[`${T}-ghost`]:!!v,[`${T}-large`]:"large"===H,[`${T}-small`]:"small"===H},s,u,g,j,X,_.root),Q=o.useMemo(()=>({...(0,x.A)(W),motionAppear:!1,leavedClassName:`${T}-panel-hidden`}),[W,T]),U=o.useMemo(()=>k?(0,a.$r)(k).map(e=>e):null,[k]);return o.createElement(b,{ref:t,openMotion:Q,...(0,a.cJ)(e,["rootClassName"]),expandIcon:K,prefixCls:T,className:Y,style:V.root,classNames:_,styles:V,destroyOnHidden:M??C},U)}),{Panel:E})},19013:(e,t,i)=>{i.d(t,{C:()=>r});var o=i(97109);let r=()=>o.useReducer(e=>e+1,0)},26619:(e,t,i)=>{i.d(t,{A:()=>a});var o=i(97109),r=i(1611),n=i(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let a=o.forwardRef((e,t)=>o.createElement(n.A,l({},e,{ref:t,icon:r.A})))},33555:(e,t,i)=>{i.d(t,{A:()=>a});var o=i(97109),r=i(58595),n=i(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let a=o.forwardRef((e,t)=>o.createElement(n.A,l({},e,{ref:t,icon:r.A})))},55122:(e,t,i)=>{i.d(t,{A:()=>h});var o=i(97109),r=i(3638),n=i(5045),l=i(92162),a=i(26047),c=i(74567),s=i(27273),d=i(15561),m=i(7961),p=i(10540),$=i(28403);let u=(0,p.OF)("Divider",e=>{let t=(0,$.oX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[(e=>{let{componentCls:t,sizePaddingEdgeHorizontal:i,colorSplit:o,lineWidth:r,textPaddingInline:n,orientationMargin:l,verticalMarginInline:a}=e,c=`${t}-rail`;return{[t]:{...(0,m.dF)(e),borderBlockStart:`${(0,d.zA)(r)} solid ${o}`,[c]:{borderBlockStart:`${(0,d.zA)(r)} solid ${o}`},"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:a,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,d.zA)(r)} solid ${o}`},"&-horizontal":{display:"flex",clear:"both",width:"100%",minWidth:"100%",margin:`${(0,d.zA)(e.marginLG)} 0`},[`&-horizontal${t}-with-text`]:{display:"flex",alignItems:"center",margin:`${(0,d.zA)(e.dividerHorizontalWithTextGutterMargin)} 0`,color:e.colorTextHeading,fontWeight:500,fontSize:e.fontSizeLG,whiteSpace:"nowrap",textAlign:"center",borderBlockStart:`0 ${o}`,[`${c}-start, ${c}-end`]:{width:"50%",borderBlockStartColor:"inherit",borderBlockEnd:0,content:"''"}},[`&-horizontal${t}-with-text-start`]:{[`${c}-start`]:{width:`calc(${l} * 100%)`},[`${c}-end`]:{width:`calc(100% - ${l} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{[`${c}-start`]:{width:`calc(100% - ${l} * 100%)`},[`${c}-end`]:{width:`calc(${l} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:n},"&-dashed":{background:"none",borderColor:o,borderStyle:"dashed",borderWidth:`${(0,d.zA)(r)} 0 0`,[c]:{borderBlockStart:`${(0,d.zA)(r)} dashed ${o}`}},[`&-horizontal${t}-with-text${t}-dashed`]:{[`${c}-start, ${c}-end`]:{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:o,borderStyle:"dotted",borderWidth:`${(0,d.zA)(r)} 0 0`,[c]:{borderBlockStart:`${(0,d.zA)(r)} dotted ${o}`}},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:r,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},[`&-plain${t}-with-text`]:{color:e.colorText,fontWeight:"normal",fontSize:e.fontSize},[`&-horizontal${t}-with-text-start${t}-no-default-orientation-margin-start`]:{[`${c}-start`]:{width:0},[`${c}-end`]:{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:i}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{[`${c}-start`]:{width:"100%"},[`${c}-end`]:{width:0},[`${t}-inner-text`]:{paddingInlineEnd:i}}}}})(t),(e=>{let{componentCls:t}=e;return{[t]:{"&-horizontal":{[`&${t}`]:{"&-sm":{marginBlock:e.marginXS},"&-md":{marginBlock:e.margin}}}}}})(t)]},e=>({textPaddingInline:"1em",orientationMargin:.05,verticalMarginInline:e.marginXS}),{unitless:{orientationMargin:!0}}),g=["left","right","center","start","end"],h=e=>{let{getPrefixCls:t,direction:i,className:d,style:m,classNames:p,styles:$}=(0,c.TP)("divider"),{prefixCls:h,type:f,orientation:b,vertical:v,titlePlacement:y,orientationMargin:z,className:x,rootClassName:w,children:A,dashed:S,variant:E="solid",plain:I,style:N,size:k,classNames:C,styles:M,...O}=e,P=t("divider",h),B=`${P}-rail`,[R,H]=u(P),T=(0,s.A)(k),W=!!A,j=g.includes(b||""),X=o.useMemo(()=>{let e=y??(j?b:"center");return"left"===e?"rtl"===i?"end":"start":"right"===e?"rtl"===i?"start":"end":e},[i,b,y,j]),q="start"===X&&null!=z,D="end"===X&&null!=z,[L,F]=(0,n.M)(b,v,f),_={...e,orientation:L,titlePlacement:X,size:T},[V,G]=(0,l.AV)([p,C],[$,M],{props:_}),K=(0,r.$)(P,d,R,H,`${P}-${L}`,{[`${P}-with-text`]:W,[`${P}-with-text-${X}`]:W,[`${P}-dashed`]:!!S,[`${P}-${E}`]:"solid"!==E,[`${P}-plain`]:!!I,[`${P}-rtl`]:"rtl"===i,[`${P}-no-default-orientation-margin-start`]:q,[`${P}-no-default-orientation-margin-end`]:D,[`${P}-md`]:"medium"===T||"middle"===T,[`${P}-sm`]:"small"===T,[B]:!A,[V.rail]:V.rail&&!A},x,w,V.root),Y=o.useMemo(()=>(0,a.Et)(z)?z:/^\d+$/.test(z)?Number(z):z,[z]);return o.createElement("div",{className:K,style:{...m,...G.root,...A?{}:G.rail,...N},...O,role:"separator"},A&&!F&&o.createElement(o.Fragment,null,o.createElement("div",{className:(0,r.$)(B,`${B}-start`,V.rail),style:G.rail}),o.createElement("span",{className:(0,r.$)(`${P}-inner-text`,V.content),style:{marginInlineStart:q?Y:void 0,marginInlineEnd:D?Y:void 0,...G.content}},A),o.createElement("div",{className:(0,r.$)(B,`${B}-end`,V.rail),style:G.rail})))}},58595:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-260 72h96v209.9L621.5 312 572 347.4V136zm220 752H232V136h280v296.9c0 3.3 1 6.6 3 9.3a15.9 15.9 0 0022.3 3.7l83.8-59.9 81.4 59.4c2.7 2 6 3.1 9.4 3.1 8.8 0 16-7.2 16-16V136h64v752z"}}]},name:"book",theme:"outlined"}},61910:(e,t,i)=>{i.d(t,{A:()=>y});var o=i(64446),r=i(97109),n=i(3638),l=i(20008),a=i(73473);let c=void 0,s=r.forwardRef(function(e,t){let i,{prefixCls:a,invalidate:s,item:d,renderItem:m,responsive:p,responsiveDisabled:$,registerSize:u,itemKey:g,className:h,style:f,children:b,display:v,order:y,component:z="div",...x}=e,w=p&&!v;r.useEffect(()=>()=>{u(g,null)},[]);let A=m&&d!==c?m(d,{index:y}):b;s||(i={opacity:+!w,height:w?0:c,overflowY:w?"hidden":c,order:p?y:c,pointerEvents:w?"none":c,position:w?"absolute":c});let S={};w&&(S["aria-hidden"]=!0);let E=r.createElement(z,(0,o.A)({className:(0,n.$)(!s&&a,h),style:{...i,...f}},S,x,{ref:t}),A);return p&&(E=r.createElement(l.Ay,{onResize:({offsetWidth:e})=>{u(g,e)},disabled:$},E)),E});var d=i(19750),m=i(61222),p=i(49127);function $(e,t){let[i,o]=r.useState(t);return[i,(0,d.A)(t=>{e(()=>{o(t)})})]}let u=r.createContext(null),g=r.forwardRef((e,t)=>{let i=r.useContext(u);if(!i){let{component:i="div",...n}=e;return r.createElement(i,(0,o.A)({},n,{ref:t}))}let{className:l,...a}=i,{className:c,...d}=e;return r.createElement(u.Provider,{value:null},r.createElement(s,(0,o.A)({ref:t,className:(0,n.$)(l,c)},a,d)))}),h="responsive",f="invalidate";function b(e){return`+ ${e.length} ...`}let v=r.forwardRef(function(e,t){let{prefixCls:i="rc-overflow",data:c=[],renderItem:d,renderRawItem:g,itemKey:v,itemWidth:y=10,ssr:z,style:x,className:w,maxCount:A,renderRest:S,renderRawRest:E,prefix:I,suffix:N,component:k="div",itemComponent:C,onVisibleChange:M,...O}=e,P="full"===z,B=function(){let e=r.useRef(null);return t=>{if(!e.current){e.current=[];var i=()=>{(0,m.unstable_batchedUpdates)(()=>{e.current.forEach(e=>{e()}),e.current=null})};if("undefined"==typeof MessageChannel)(0,p.A)(i);else{let e=new MessageChannel;e.port1.onmessage=()=>i(),e.port2.postMessage(void 0)}}e.current.push(t)}}(),[R,H]=$(B,null),T=R||0,[W,j]=$(B,new Map),[X,q]=$(B,0),[D,L]=$(B,0),[F,_]=$(B,0),[V,G]=$(B,0),[K,Y]=(0,r.useState)(null),[Q,U]=(0,r.useState)(null),J=r.useMemo(()=>null===Q&&P?Number.MAX_SAFE_INTEGER:Q||0,[Q,R]),[Z,ee]=(0,r.useState)(!1),et=`${i}-item`,ei=Math.max(X,D),eo=A===h,er=c.length&&eo,en=A===f,el=er||"number"==typeof A&&c.length>A,ea=(0,r.useMemo)(()=>{let e=c;return er?e=null===R&&P?c:c.slice(0,Math.min(c.length,T/y)):"number"==typeof A&&(e=c.slice(0,A)),e},[c,y,R,A,er]),ec=(0,r.useMemo)(()=>er?c.slice(J+1):c.slice(ea.length),[c,ea,er,J]),es=(0,r.useCallback)((e,t)=>"function"==typeof v?v(e):(v&&e?.[v])??t,[v]),ed=(0,r.useCallback)(d||(e=>e),[d]);function em(e,t,i){(Q!==e||void 0!==t&&t!==K)&&(U(e),i||(ee(e<c.length-1),M?.(e)),void 0!==t&&Y(t))}function ep(e,t){j(i=>{let o=new Map(i);return null===t?o.delete(e):o.set(e,t),o})}function e$(e){return W.get(es(ea[e],e))}(0,a.A)(()=>{if(T&&"number"==typeof ei&&ea){let e=F+V,t=ea.length,i=t-1;if(!t)return void em(0,null);for(let o=0;o<t;o+=1){let t=e$(o);if(P&&(t=t||0),void 0===t){em(o-1,void 0,!0);break}if(e+=t,0===i&&e<=T||o===i-1&&e+e$(i)<=T){em(i,null);break}if(e+ei>T){em(o-1,e-t-V+D);break}}N&&e$(0)+V>T&&Y(null)}},[T,W,D,F,V,es,ea]);let eu=Z&&!!ec.length,eg={};null!==K&&er&&(eg={position:"absolute",top:0,insetInlineStart:K});let eh={prefixCls:et,responsive:er,component:C,invalidate:en},ef=g?(e,t)=>{let i=es(e,t);return r.createElement(u.Provider,{key:i,value:{...eh,order:t,item:e,itemKey:i,registerSize:ep,display:t<=J}},g(e,t))}:(e,t)=>{let i=es(e,t);return r.createElement(s,(0,o.A)({},eh,{order:t,key:i,item:e,renderItem:ed,itemKey:i,registerSize:ep,display:t<=J}))},eb={order:eu?J:Number.MAX_SAFE_INTEGER,className:`${et}-rest`,registerSize:function(e,t){L(t),q(D)},display:eu},ev=S||b,ey=E?r.createElement(u.Provider,{value:{...eh,...eb}},E(ec)):r.createElement(s,(0,o.A)({},eh,eb),"function"==typeof ev?ev(ec):ev),ez=r.createElement(k,(0,o.A)({className:(0,n.$)(!en&&i,w),style:x,ref:t},O),I&&r.createElement(s,(0,o.A)({},eh,{responsive:eo,responsiveDisabled:!er,order:-1,className:`${et}-prefix`,registerSize:function(e,t){_(t)},display:!0}),I),ea.map(ef),el?ey:null,N&&r.createElement(s,(0,o.A)({},eh,{responsive:eo,responsiveDisabled:!er,order:J,className:`${et}-suffix`,registerSize:function(e,t){G(t)},display:!0,style:eg}),N));return eo?r.createElement(l.Ay,{onResize:function(e,t){H(t.clientWidth)},disabled:!er},ez):ez});v.Item=g,v.RESPONSIVE=h,v.INVALIDATE=f;let y=v},64068:(e,t,i)=>{i.d(t,{A:()=>a});var o=i(97109),r=i(76148),n=i(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let a=o.forwardRef((e,t)=>o.createElement(n.A,l({},e,{ref:t,icon:r.A})))},64446:(e,t,i)=>{i.d(t,{A:()=>o});function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)({}).hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(null,arguments)}},64716:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm144 452H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm445.7 51.5l-93.3-93.3C814.7 780.7 828 743.9 828 704c0-97.2-78.8-176-176-176s-176 78.8-176 176 78.8 176 176 176c35.8 0 69-10.7 96.8-29l94.7 94.7c1.6 1.6 3.6 2.3 5.6 2.3s4.1-.8 5.6-2.3l31-31a7.9 7.9 0 000-11.2zM652 816c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"file-search",theme:"outlined"}},68498:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"}},71330:(e,t,i)=>{i.d(t,{A:()=>a});var o=i(97109),r=i(68498),n=i(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let a=o.forwardRef((e,t)=>o.createElement(n.A,l({},e,{ref:t,icon:r.A})))},75710:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M843.5 737.4c-12.4-75.2-79.2-129.1-155.3-125.4S550.9 676 546 752c-153.5-4.8-208-40.7-199.1-113.7 3.3-27.3 19.8-41.9 50.1-49 18.4-4.3 38.8-4.9 57.3-3.2 1.7.2 3.5.3 5.2.5 11.3 2.7 22.8 5 34.3 6.8 34.1 5.6 68.8 8.4 101.8 6.6 92.8-5 156-45.9 159.2-132.7 3.1-84.1-54.7-143.7-147.9-183.6-29.9-12.8-61.6-22.7-93.3-30.2-14.3-3.4-26.3-5.7-35.2-7.2-7.9-75.9-71.5-133.8-147.8-134.4-76.3-.6-140.9 56.1-150.1 131.9s40 146.3 114.2 163.9c74.2 17.6 149.9-23.3 175.7-95.1 9.4 1.7 18.7 3.6 28 5.8 28.2 6.6 56.4 15.4 82.4 26.6 70.7 30.2 109.3 70.1 107.5 119.9-1.6 44.6-33.6 65.2-96.2 68.6-27.5 1.5-57.6-.9-87.3-5.8-8.3-1.4-15.9-2.8-22.6-4.3-3.9-.8-6.6-1.5-7.8-1.8l-3.1-.6c-2.2-.3-5.9-.8-10.7-1.3-25-2.3-52.1-1.5-78.5 4.6-55.2 12.9-93.9 47.2-101.1 105.8-15.7 126.2 78.6 184.7 276 188.9 29.1 70.4 106.4 107.9 179.6 87 73.3-20.9 119.3-93.4 106.9-168.6zM329.1 345.2a83.3 83.3 0 11.01-166.61 83.3 83.3 0 01-.01 166.61zM695.6 845a83.3 83.3 0 11.01-166.61A83.3 83.3 0 01695.6 845z"}}]},name:"node-index",theme:"outlined"}},76148:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"}},80300:(e,t,i)=>{i.d(t,{A:()=>Q});var o=i(9750),r=i(97109),n=i(3638),l=i(99452);function a(e){let{prefixCls:t,className:i,style:o,status:l}=e,a=`${t}-rail`;return r.createElement("div",{className:(0,n.$)(a,`${a}-${l}`,i),style:o})}let c=r.createContext({}),s=r.createContext(null);var d=i(17597);function m(){return(m=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let p=r.createContext({}),$=r.forwardRef((e,t)=>{let{className:i,style:o,children:l,...a}=e,{prefixCls:c,classNames:$,styles:u}=r.useContext(s),{className:g,style:h}=r.useContext(p),f=`${c}-item`;return r.createElement("div",m({},(0,d.A)(a,!1),{ref:t,className:(0,n.$)(`${f}-icon`,$.itemIcon,g,i),style:{...u.itemIcon,...h,...o}}),l)});function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}function g(e){let{prefixCls:t,classNames:i,styles:o,data:d,last:m,nextStatus:g,active:h,index:f,itemRender:b,iconRender:v,itemWrapperRender:y,onClick:z}=e,x=`${t}-item`,{railFollowPrevStatus:w}=r.useContext(c),{ItemComponent:A}=r.useContext(s),{onClick:S,title:E,subTitle:I,content:N,description:k,disabled:C,icon:M,status:O,className:P,style:B,classNames:R={},styles:H={},...T}=d,W=N??k,j={item:{...d,content:W},index:f,active:h},X={};(z||S)&&!C&&(X.role="button",X.tabIndex=0,X.onClick=e=>{S?.(e),z(f)},X.onKeyDown=e=>{let{which:t}=e;(t===l.A.ENTER||t===l.A.SPACE)&&z(f)});let q=O||"wait",D=null!=E,L=null!=I,F=(0,n.$)(x,`${x}-${q}`,{[`${x}-custom`]:M,[`${x}-active`]:h,[`${x}-disabled`]:!0===C,[`${x}-empty-header`]:!D&&!L},P,i.item,R.root),_=r.createElement($,null);v&&(_=v(_,{...j,components:{Icon:$}}));let V=r.createElement("div",{className:(0,n.$)(`${x}-wrapper`,i.itemWrapper,R.wrapper),style:{...o.itemWrapper,...H.wrapper}},r.createElement(p.Provider,{value:{className:R.icon,style:H.icon}},_),r.createElement("div",{className:(0,n.$)(`${x}-section`,i.itemSection,R.section),style:{...o.itemSection,...H.section}},r.createElement("div",{className:(0,n.$)(`${x}-header`,i.itemHeader,R.header),style:{...o.itemHeader,...H.header}},D&&r.createElement("div",{className:(0,n.$)(`${x}-title`,i.itemTitle,R.title),style:{...o.itemTitle,...H.title}},E),L&&r.createElement("div",{title:"string"==typeof I?I:void 0,className:(0,n.$)(`${x}-subtitle`,i.itemSubtitle,R.subtitle),style:{...o.itemSubtitle,...H.subtitle}},I),!m&&r.createElement(a,{prefixCls:x,className:(0,n.$)(i.itemRail,R.rail),style:{...o.itemRail,...H.rail},status:w?O:g})),null!=W&&r.createElement("div",{className:(0,n.$)(`${x}-content`,i.itemContent,R.content),style:{...o.itemContent,...H.content}},W))),G=r.createElement(A,u({},T,X,{className:F,style:{...o.item,...H.root,...B}}),y?y(V):V);return b&&(G=b(G,j)||null),G}function h(){return(h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let f={},b=function(e){let{prefixCls:t="rc-steps",style:i,className:o,classNames:l=f,styles:a=f,rootClassName:c,orientation:d,titlePlacement:m,components:p,status:$="process",current:u=0,initial:b=0,onChange:v,items:y,iconRender:z,itemRender:x,itemWrapperRender:w,...A}=e,S="vertical"===d,E=(0,n.$)(t,`${t}-${S?"vertical":"horizontal"}`,`${t}-title-${S||"vertical"!==m?"horizontal":"vertical"}`,c,o,l.root),I=r.useMemo(()=>(y||[]).filter(Boolean),[y]),N=r.useMemo(()=>I.map(({status:e},t)=>{let i=b+t;return e?e:i===u?$:i<u?"finish":"wait"}),[I,$,u,b]),k=e=>{v&&u!==e&&v(e)},{root:C="div",item:M="div"}=p||{},O=r.useMemo(()=>({prefixCls:t,classNames:l,styles:a,ItemComponent:M}),[t,l,a,M]);return r.createElement(C,h({className:E,style:{...i,...a?.root}},A),r.createElement(s.Provider,{value:O},I.map((e,i)=>{let o=b+i,n=N[i],c=N[i+1],s={...e,status:n};return r.createElement(g,{key:o,prefixCls:t,classNames:l,styles:a,data:s,nextStatus:c,active:o===u,index:o,last:I.length-1===i,iconRender:z,itemRender:x,itemWrapperRender:w,onClick:v&&k})})))};var v=i(92162),y=i(26047),z=i(74567),x=i(84190),w=i(45042),A=i(38862),S=i(35622),E=i(27273),I=i(59609),N=i(10540),k=i(14932);let C=r.createContext(null),M=e=>{let{prefixCls:t}=e;return r.createElement("svg",{className:`${t}-panel-arrow`,viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"none"},r.createElement("title",null,"Arrow"),r.createElement("path",{d:"M 0 0 L 100 50 L 0 100"}))},O=e=>{let{prefixCls:t,rootPrefixCls:i,children:o,percent:l}=e,a=`${t}-item-progress-icon`,c=`${a}-circle`,[,s]=(0,N.PN)(i,"cmp-steps"),d=`calc(${s("progress-radius")} * 2 * ${Math.PI*l/100}) 9999`;return r.createElement(r.Fragment,null,r.createElement("svg",{className:`${a}-svg`,viewBox:"0 0 100 100",width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg","aria-valuemax":100,"aria-valuemin":0,"aria-valuenow":l},r.createElement("title",null,"Progress"),r.createElement("circle",{className:(0,n.$)(c,`${c}-rail`)}),r.createElement("circle",{className:(0,n.$)(c,`${c}-ptg`),strokeDasharray:d,transform:"rotate(-90 50 50)"})),o)};var P=i(7961),B=i(28403);let R=(e,t,i)=>{let{calc:o,componentCls:r,descriptionMaxWidth:n,antCls:l}=e,a=`${r}-item`,[,c]=(0,N.PN)(l,"cmp-steps");return{[`@container style(${(n||"--ant-not-exist").replace(/var\((.*)\)/,"$1")})`]:[{[`${a}-icon`]:{marginInlineStart:o(n).sub(c("icon-size")).div(2).equal()},[`${a}-rail`]:{width:"auto",insetInlineStart:o(n).add(c("icon-size")).div(2).add(t).equal(),insetInlineEnd:o(n).sub(c("icon-size")).div(2).sub(t).mul(-1).equal()}},i]}};var H=i(15561);let T="wait",W="process",j="finish",X="error",q=(0,N.OF)("Steps",e=>{let t=(0,B.oX)(e,{inlineDotSize:6});return[(e=>{let{componentCls:t,antCls:i}=e,o=`${t}-item`,[r,n]=(0,N.PN)(i,"cmp-steps");return{[t]:{[r("title-font-size")]:e.fontSizeLG,[r("title-line-height")]:e.lineHeightLG,[r("subtitle-font-size")]:e.fontSize,[r("subtitle-line-height")]:e.lineHeight,[r("item-wrapper-padding-top")]:"0px",[r("rail-size")]:e.lineWidth,[r("rail-line-style")]:e.lineType,...(0,P.dF)(e),display:"flex",flexWrap:"nowrap",alignItems:"flex-start",[o]:{flex:"none",position:"relative"},[`${o}-wrapper`]:{display:"flex",flexWrap:"nowrap",paddingTop:n("item-wrapper-padding-top")},[`${o}-header`]:{display:"flex",flexWrap:"nowrap",alignItems:"center"},[`${o}-title`]:{color:e.colorText,fontSize:n("title-font-size"),lineHeight:n("title-line-height"),wordBreak:"break-word"},[`${o}-subtitle`]:{color:e.colorTextDescription,fontWeight:"normal",fontSize:n("subtitle-font-size"),lineHeight:n("subtitle-line-height"),marginInlineStart:e.marginXS,wordBreak:"break-word"},[`${o}-content`]:{color:e.colorTextDescription,fontSize:e.fontSize,lineHeight:e.lineHeight,wordBreak:"break-word"},[`${o}-rail`]:{borderStyle:n("rail-line-style"),borderWidth:0},[`${o}-title, ${o}-subtitle, ${o}-content, ${o}-rail`]:{transition:`all ${e.motionDurationSlow}`},[`&${t}-ellipsis`]:{[`${o}-title, ${o}-subtitle, ${o}-content`]:P.L9},[`${o}[role='button']:not(${o}-active):hover`]:{cursor:"pointer"}}}})(t),(e=>{let{componentCls:t,customIconFontSize:i,motionDurationSlow:o,iconSize:r,lineWidth:n,lineType:l,antCls:a}=e,c=`${t}-item`,[s,d]=(0,N.PN)(a,"cmp-steps");return{[t]:{[s("icon-size")]:r,[s("icon-border-width")]:n,[`${c}-icon`]:{width:d("icon-size"),height:d("icon-size"),margin:0,flex:"none",display:"flex",alignItems:"center",justifyContent:"center",fontSize:e.iconFontSize,fontFamily:e.fontFamily,lineHeight:d("icon-size"),textAlign:"center",borderRadius:d("icon-size"),border:`${d("icon-border-width")} ${l} transparent`,transition:["background-color","border","color","inset","transform"].map(e=>`${e} ${o}`).join(", "),zIndex:1},[`${c}-custom ${c}-icon`]:{background:"none",border:0,fontSize:i}}}})(t),(e=>{let{componentCls:t,marginXXS:i,paddingSM:o,controlHeight:r,antCls:n,calc:l}=e,a=`${t}-item`,[c,s]=(0,N.PN)(n,"cmp-steps");return{[`${t}-vertical`]:{[c("vertical-rail-margin")]:l(i).mul(1.5).equal(),flexDirection:"column",alignItems:"stretch",[`> ${a}`]:{minHeight:l(r).mul(1.5).equal(),paddingBottom:o,"&:last-child":{paddingBottom:0},[`${a}-icon`]:{marginInlineStart:`calc((${s("icon-size-max")} - ${s("icon-size")}) / 2)`},[`${a}-rail`]:{[c("rail-offset")]:l(s("heading-height")).sub(s("icon-size")).div(2).equal(),borderInlineStartWidth:s("rail-size"),position:"absolute",top:l(s("icon-size")).add(s("item-wrapper-padding-top")).add(s("rail-offset")).add(s("vertical-rail-margin")).equal(),insetInlineStart:l(s("icon-size-max")).div(2).equal(),bottom:l(s("vertical-rail-margin")).sub(s("rail-offset")).equal(),marginInlineStart:`calc(${s("rail-size")} / -2)`}}}}})(t),(e=>{let{componentCls:t,antCls:i}=e,o=`${t}-item`,[r,n]=(0,N.PN)(i,"cmp-steps");return{[`${t}-horizontal`]:{[`> ${o}`]:{flex:"1 1 auto",minWidth:e.iconSize,[`${o}-rail`]:{[r("horizontal-rail-margin")]:`calc(${n("icon-size-max")} / 2 - ${n("rail-size")} / 2 + ${n("item-wrapper-padding-top")})`,position:"static",marginTop:n("horizontal-rail-margin"),width:"auto",borderBlockStartWidth:n("rail-size"),flex:1,minWidth:0,alignSelf:"flex-start"}}}}})(t),(e=>{let{componentCls:t,descriptionMaxWidth:i,marginXS:o,fontHeightLG:r,margin:n,paddingSM:l,marginXXS:a,antCls:c,calc:s}=e,d=`${t}-item`,[m,p]=(0,N.PN)(c,"cmp-steps");return{[t]:{[m("icon-size-max")]:`max(${p("icon-size")}, ${p("icon-size-active",p("icon-size"))})`,[`${d}-icon`]:{marginBlockStart:`calc((${p("heading-height")} - ${p("icon-size")}) / 2)`}},[`${t}-title-horizontal`]:{[m("title-horizontal-item-margin")]:n,[m("title-horizontal-rail-margin")]:n,[m("title-horizontal-title-height")]:r,[m("heading-height")]:`max(${p("icon-size")}, ${p("title-horizontal-title-height")})`,[`&${t}-horizontal, &${t}-horizontal-alternate`]:{[`${d}:not(:first-child)`]:{marginInlineStart:p("title-horizontal-item-margin")},[`${d}:last-child`]:{flex:"0 1 auto"},[`${d}-wrapper`]:{columnGap:e.marginXS}},[`&${t}-vertical`]:{[`${d}-wrapper`]:{columnGap:e.margin},[`${d}-empty-header`]:{[`${d}-header`]:{minHeight:"auto"},[`${d}-content`]:{marginTop:s(p("heading-height")).sub(e.fontHeight).div(2).equal()}}},[`${d}-section`]:{flex:1,minWidth:0},[`${d}-header`]:{minHeight:p("heading-height")},[`${d}-title`]:{flex:"0 1 auto"},[`${d}-content`]:{maxWidth:i},[`${d}-subtitle`]:{flex:"0 9999 auto"},[`&${t}-horizontal ${d}-rail`]:{[m("item-wrapper-padding-top")]:"0px",flex:"1 1 0%",marginInlineStart:p("title-horizontal-rail-margin")}},[`${t}-title-vertical`]:{[m("title-vertical-row-gap")]:l,[m("title-horizontal-rail-gap")]:a,[m("heading-height")]:p("icon-size-max"),[`> ${d}`]:{flex:"1 1 0%",[`${d}-wrapper`]:{flexDirection:"column",rowGap:p("title-vertical-row-gap"),alignItems:"center"},[`${d}-section`]:{alignSelf:"stretch"},[`${d}-header`]:{flexDirection:"column",alignItems:"center"},[`${d}-title, ${d}-subtitle, ${d}-content`]:{textAlign:"center",maxWidth:"100%"},[`${d}-subtitle`]:{margin:0},[`${d}-rail`]:{position:"absolute",top:0,width:`calc(100% - ${p("icon-size")} - ${p("title-horizontal-rail-gap")} * 2)`,insetInlineStart:`calc(50% + ${p("icon-size")} / 2 + ${p("title-horizontal-rail-gap")})`}},...R(e,o,{[`${d}:last-child`]:{flex:"none"},[`${d}-icon`]:{alignSelf:"flex-start"},[`${d}-section`]:{width:i}})}}})(t),(e=>{let{componentCls:t,iconSizeSM:i,fontSize:o,lineHeight:r,marginXS:n,fontHeight:l,marginSM:a,paddingXS:c,antCls:s}=e,[d]=(0,N.PN)(s,"cmp-steps");return{[`${t}${t}-small`]:{[d("icon-size")]:i,[d("title-horizontal-item-margin")]:a,[d("title-vertical-row-gap")]:c,[d("title-font-size")]:o,[d("title-line-height")]:r,[d("title-horizontal-rail-margin")]:n,[d("title-horizontal-title-height")]:l,[`&${t}-horizontal${t}-title-vertical`]:R(e,n)}}})(t),(e=>{let{componentCls:t,iconSize:i,dotSize:o,dotCurrentSize:r,marginXXS:n,lineWidthBold:l,fontSizeSM:a,antCls:c}=e,s=`${t}-item`,[d,m]=(0,N.PN)(c,"cmp-steps");return{[`${t}${t}-dot`]:{[d("icon-size-active")]:r,[d("icon-size")]:o,[d("dot-icon-size")]:o,[d("dot-icon-border-width")]:l,[d("rail-size")]:l,[d("icon-border-width")]:l,[`${s}-custom ${s}-icon`]:{fontSize:a},[`${s}-icon`]:{position:"relative","&:after":{content:'""',width:i,height:i,display:"block",position:"absolute",top:"50%",left:{_skip_check_:!0,value:"50%"},transform:"translate(-50%, -50%)"}},[`${s}-active ${s}-icon`]:{[d("icon-size")]:m("icon-size-active")},[`&${t}-horizontal`]:{[`&, &${t}-small`]:R(e,n)}}}})(t),(e=>{let{componentCls:t,colorTextDisabled:i,colorTextLightSolid:o,colorPrimary:r,colorTextLabel:n,colorError:l,colorErrorHover:a,colorErrorBgFilledHover:c,colorFillTertiary:s,colorErrorBg:d,colorPrimaryBgHover:m,colorPrimaryBg:p,colorText:$,colorTextDescription:u,colorBgContainer:g,colorPrimaryHover:h,lineType:f,antCls:b}=e,v=`${t}-item`,[y,z]=(0,N.PN)(b,"cmp-steps");return{[t]:[{[v]:{[y("item-solid-line-color")]:"#000",[y("item-title-color")]:"#000",[y("item-content-color")]:"#000",[y("item-subtitle-color")]:z("item-content-color"),[y("item-icon-custom-color")]:"#000",[y("item-icon-bg-color")]:"#000",[y("item-icon-border-color")]:"#000",[y("item-icon-text-color")]:"#fff",[y("item-icon-dot-color")]:"#000",[y("item-icon-dot-bg-color")]:z("item-icon-dot-color"),[y("item-icon-dot-border-color")]:z("item-icon-dot-color"),[y("item-text-hover-color")]:"#000",[y("item-icon-bg-hover-color")]:z("item-icon-bg-color"),[y("item-icon-border-hover-color")]:z("item-icon-border-color"),[y("item-icon-text-hover-color")]:z("item-icon-text-color"),[y("item-content-active-color")]:z("item-content-color"),[y("item-icon-active-bg-color")]:z("item-icon-bg-color"),[y("item-icon-active-border-color")]:z("item-icon-border-color"),[y("item-icon-active-text-color")]:z("item-icon-text-color"),[y("item-process-rail-line-style")]:f},[`${v}-rail`]:{borderColor:z("item-solid-line-color")},[`${v}-custom ${v}-icon`]:{color:z("item-icon-custom-color")},[`${v}-title`]:{color:z("item-title-color")},[`${v}-subtitle`]:{color:z("item-subtitle-color")},[`${v}-content`]:{color:z("item-content-color")},[`${v}-active ${v}-icon`]:{},[`${v}-active ${v}-content`]:{color:z("item-content-active-color")},[`${v}[role='button']:not(${v}-active):hover`]:{[`${v}-title, ${v}-content`]:{color:z("item-text-hover-color")}},[`&:not(${t}-dot)`]:{[`${v}:not(${v}-custom)`]:{[`${v}-icon`]:{background:z("item-icon-bg-color"),borderColor:z("item-icon-border-color"),color:z("item-icon-text-color")},[`&[role='button']:not(${v}-active):hover`]:{[`${v}-icon`]:{background:z("item-icon-bg-hover-color"),borderColor:z("item-icon-border-hover-color"),color:z("item-icon-text-hover-color")}},[`&${v}-active`]:{[`${v}-icon`]:{background:z("item-icon-active-bg-color"),borderColor:z("item-icon-active-border-color"),color:z("item-icon-active-text-color")}}}},[`&${t}-dot`]:{[`${v}-icon`]:{background:z("item-icon-dot-bg-color"),borderColor:z("item-icon-dot-border-color"),color:z("item-icon-dot-color"),[`&${v}-icon-dot-custom`]:{background:"transparent",border:"none"}}}},{[`${v}-${T}`]:{[y("item-icon-custom-color")]:i,[y("item-title-color")]:u,[y("item-content-color")]:u,[y("item-content-active-color")]:$,[y("item-text-hover-color")]:h},[`${v}-rail-${T}`]:{[y("item-solid-line-color")]:i},[`${v}-${W}`]:{[y("item-icon-custom-color")]:r,[y("item-title-color")]:$,[y("item-content-color")]:u,[y("item-content-active-color")]:$,[y("item-text-hover-color")]:h},[`${v}-rail-${W}`]:{[y("item-solid-line-color")]:r,[y("rail-line-style")]:z("item-process-rail-line-style")},[`${v}-${j}`]:{[y("item-icon-custom-color")]:r,[y("item-title-color")]:$,[y("item-content-color")]:u,[y("item-content-active-color")]:$,[y("item-text-hover-color")]:h},[`${v}-rail-${j}`]:{[y("item-solid-line-color")]:r},[`${v}-${X}`]:{[y("item-icon-custom-color")]:l,[y("item-title-color")]:l,[y("item-content-color")]:l,[y("item-content-active-color")]:l,[y("item-text-hover-color")]:a},[`${v}-rail-${X}`]:{[y("item-solid-line-color")]:l}},{[`&${t}-filled`]:{[v]:{[y("item-icon-dot-border-color")]:"transparent"},[`${v}-${T}`]:{[y("item-icon-bg-color")]:s,[y("item-icon-border-color")]:"transparent",[y("item-icon-text-color")]:n,[y("item-icon-dot-bg-color")]:i,[y("item-icon-bg-hover-color")]:m,[y("item-icon-border-hover-color")]:"transparent",[y("item-icon-text-hover-color")]:r,[y("item-icon-active-bg-color")]:r,[y("item-icon-active-border-color")]:"transparent",[y("item-icon-active-text-color")]:o},[`${v}-${W}, ${v}-${j}`]:{[y("item-icon-bg-color")]:p,[y("item-icon-border-color")]:"transparent",[y("item-icon-text-color")]:r,[y("item-icon-dot-bg-color")]:r,[y("item-icon-bg-hover-color")]:m,[y("item-icon-border-hover-color")]:"transparent",[y("item-icon-text-hover-color")]:r,[y("item-icon-active-bg-color")]:r,[y("item-icon-active-border-color")]:"transparent",[y("item-icon-active-text-color")]:o},[`${v}-${X}`]:{[y("item-icon-bg-color")]:d,[y("item-icon-border-color")]:"transparent",[y("item-icon-text-color")]:l,[y("item-icon-dot-bg-color")]:l,[y("item-icon-bg-hover-color")]:c,[y("item-icon-border-hover-color")]:"transparent",[y("item-icon-text-hover-color")]:l,[y("item-icon-active-bg-color")]:l,[y("item-icon-active-border-color")]:"transparent",[y("item-icon-active-text-color")]:o}}},{[`&${t}-outlined`]:{[v]:{[y("item-icon-dot-bg-color")]:"transparent"},[`${v}-${T}`]:{[y("item-icon-bg-color")]:g,[y("item-icon-border-color")]:i,[y("item-icon-text-color")]:i,[y("item-icon-dot-color")]:i,[y("item-icon-bg-hover-color")]:"transparent",[y("item-icon-border-hover-color")]:h,[y("item-icon-text-hover-color")]:h,[y("item-icon-active-bg-color")]:s},[`${v}-${W}, ${v}-${j}`]:{[y("item-icon-bg-color")]:g,[y("item-icon-border-color")]:r,[y("item-icon-text-color")]:r,[y("item-icon-dot-color")]:r,[y("item-icon-bg-hover-color")]:"transparent",[y("item-icon-border-hover-color")]:h,[y("item-icon-text-hover-color")]:h,[y("item-icon-active-bg-color")]:p},[`${v}-${X}`]:{[y("item-icon-bg-color")]:g,[y("item-icon-border-color")]:l,[y("item-icon-text-color")]:l,[y("item-icon-dot-color")]:l,[y("item-icon-bg-hover-color")]:"transparent",[y("item-icon-border-hover-color")]:a,[y("item-icon-text-hover-color")]:a,[y("item-icon-active-bg-color")]:d}}}]}})(t),(e=>{let{componentCls:t,fontSizeIcon:i,navContentMaxWidth:o,navArrowColor:r,colorPrimary:n,motionDurationSlow:l,antCls:a,calc:c}=e,s=`${t}-item`,[d,m]=(0,N.PN)(a,"cmp-steps");return{[`${t}${t}-navigation`]:{[s.repeat(4)]:{display:"flex",justifyContent:"center",position:"relative",flex:1,marginInlineStart:0,[`${s}-wrapper`]:{paddingBlock:e.paddingSM},[`${s}-section`]:{maxWidth:o},[`${s}-rail`]:{display:"none"},"&:before":{position:"absolute",display:"block",backgroundColor:n,transition:`all ${l}`,transitionTimingFunction:"ease-out",content:'""'},"&:not(:last-child):after":{position:"absolute",display:"block",borderTop:`${(0,H.zA)(e.lineWidth)} ${e.lineType} ${r}`,borderBottom:"none",borderInlineStart:"none",borderInlineEnd:`${(0,H.zA)(e.lineWidth)} ${e.lineType} ${r}`,content:'""'},[`&${s}-active`]:{[d("item-content-active-color")]:m("item-content-color"),[d("item-icon-active-bg-color")]:m("item-icon-bg-color"),[d("item-icon-active-border-color")]:m("item-icon-border-color"),[d("item-icon-active-text-color")]:m("item-icon-text-color")}},[`&${t}-horizontal`]:{[s]:{"&:before":{bottom:0,insetInlineStart:"50%",width:0,height:e.lineWidthBold},[`&${s}-active:before`]:{insetInlineStart:0,width:"100%"},"&:not(:last-child):after":{top:"50%",insetInlineStart:c(i).div(2).mul(-1).add("100%").equal(),width:i,height:i,transform:"translateY(-50%) rotate(45deg)"}}},[`&${t}-vertical`]:{[s.repeat(4)]:{[`${s}-content`]:{padding:0},"&:before":{insetInlineEnd:0,top:"50%",width:e.lineWidthBold,height:0},[`&${s}-active::before`]:{top:0,height:"100%"},"&:not(:last-child):after":{left:{_skip_check_:!0,value:"50%"},top:"100%",width:c(i).div(3).mul(2).equal(),height:c(i).div(3).mul(2).equal(),transform:"translateY(-50%) translateX(-50%) rotate(135deg)"}}}}}})(t),(e=>{let{componentCls:t,lineWidthBold:i,borderRadius:o,borderRadiusSM:r,motionDurationMid:n,paddingXS:l,lineType:a,paddingSM:c,antCls:s,calc:d}=e,m=`${t}-item`,[p,$]=(0,N.PN)(s,"cmp-steps"),u=`${(0,H.zA)(i)} ${a} ${$("panel-border-color")}`;return{[`${t}${t}-panel`]:[{[`${m}-rail`]:{display:"none"},[`&${t}-horizontal`]:{alignItems:"stretch",[m]:{flex:1,margin:0}}},{"&":{[p("panel-padding")]:c,[p("item-border-radius")]:o,[m]:{[p("panel-bg-color")]:$("item-icon-bg-color"),[p("panel-border-color")]:$("item-icon-border-color"),[p("panel-active-bg-color")]:$("item-icon-active-bg-color"),[p("panel-active-border-color")]:$("item-icon-active-border-color"),[p("panel-title-height")]:`calc(${$("title-font-size")} * ${$("title-line-height")})`,[p("item-base-height")]:d($("panel-padding")).mul(2).add($("icon-size")).add($("panel-title-height")).equal(),[p("item-base-width")]:`calc(${$("item-base-height")} * 0.7071)`,transition:`background-color ${n}`}},[`${m}-icon`]:{display:"none"},[`${m}-header`]:{minHeight:"auto"},[`${t}-panel-arrow`]:{position:"absolute",top:d(i).mul(-1).equal(),insetInlineStart:"100%",zIndex:1,height:d(i).mul(2).add("100%").equal(),width:$("item-base-width"),overflow:"visible",strokeLinecap:"round",path:{fill:$("panel-bg-color"),stroke:$("panel-border-color"),strokeWidth:i,vectorEffect:"non-scaling-stroke",transition:`fill ${n}`}},[`${m}:last-child ${t}-panel-arrow`]:{display:"none"},[m]:{padding:$("panel-padding"),background:$("panel-bg-color"),position:"relative",borderBlock:u,"&:not(:first-child)":{paddingInlineStart:`calc(${$("panel-padding")} + ${$("item-base-width")})`},"&:first-child":{borderInlineStart:u,borderStartStartRadius:$("item-border-radius"),borderEndStartRadius:$("item-border-radius")},"&:last-child":{borderInlineEnd:u,borderStartEndRadius:$("item-border-radius"),borderEndEndRadius:$("item-border-radius")},"&-active":{background:$("panel-active-bg-color"),borderColor:$("panel-active-border-color"),[`${t}-panel-arrow`]:{path:{fill:$("panel-active-bg-color"),stroke:$("panel-active-border-color")}},[`${m}-title, ${m}-subtitle, ${m}-content`]:{color:$("item-icon-active-text-color")}}}},{[`&${t}-small`]:{[p("panel-padding")]:l,[p("item-border-radius")]:r}},{[`&${t}-filled`]:{[m]:{"&:not(:first-child)":{clipPath:`polygon(${(0,H.zA)(i)} 0,calc(100% + ${$("item-base-width")}) 0,calc(100% + ${$("item-base-width")}) 100%,${(0,H.zA)(i)} 100%,calc(${$("item-base-width")} + ${(0,H.zA)(i)}) 50%)`}}}},{[`&${t}-outlined`]:{[`${t}-panel-arrow`]:{top:d(i).div(2).mul(-1).equal(),height:d(i).add("100%").equal()}}}]}})(t),(e=>{let{componentCls:t,inlineDotSize:i,paddingXS:o,lineWidth:r,antCls:n,calc:l}=e,a=l(o).add(r).equal(),c=`${t}-item`,[s,d]=(0,N.PN)(n,"cmp-steps");return{[`${t}-inline`]:{[s("items-offset")]:"0",[s("item-wrapper-padding-top")]:a,display:"inline-flex","&:before":{content:'""',flex:d("items-offset")},[c]:{[s("title-vertical-row-gap")]:o,[s("icon-size")]:i,[s("icon-size-active")]:i,[s("title-font-size")]:e.fontSizeSM,[s("title-line-height")]:e.lineHeightSM,[s("item-title-color")]:e.colorTextSecondary,[s("subtitle-font-size")]:e.fontSizeSM,[s("subtitle-line-height")]:e.lineHeightSM,[s("item-subtitle-color")]:e.colorTextQuaternary,[s("rail-size")]:e.lineWidth,[s("title-horizontal-rail-gap")]:"0px",flex:1,"&-wrapper":{paddingInline:e.paddingXXS,marginInline:e.calc(e.marginXXS).div(2).equal(),borderRadius:e.borderRadiusSM,cursor:"pointer",transition:`background-color ${e.motionDurationMid}`,"&:hover":{background:e.controlItemBgHover}},"&-icon":{[`${c}-icon-dot`]:{"&:after":{display:"none"}}},"&-title":{fontWeight:"normal",whiteSpace:"nowrap"},"&-content":{display:"none"}}}}})(t),(e=>{let{componentCls:t}=e,i=`${t}-item`;return{[`${t}-max-count`]:{[`${i}-ellipsis`]:{[`${i}-title, ${i}-subtitle, ${i}-content`]:{color:e.colorTextDescription}}}}})(t),(e=>{let{calc:t,antCls:i,componentCls:o,lineWidthBold:r,motionDurationSlow:n}=e,l=`${o}-item`,[a,c]=(0,N.PN)(i,"cmp-steps"),s=t(r).add(r).equal();return{[`${o}${o}-with-progress`]:{[a("item-wrapper-padding-top")]:s,[`${l}${l}-process`]:{[`${l}-icon`]:{position:"relative"}},[`${l}-progress-icon`]:{"&-svg":{[a("svg-size")]:t(s).mul(2).add(c("icon-size")).equal(),[a("icon-size-ptg-unitless")]:`calc(100 / tan(atan2(${c("svg-size")}, 1px)))`,fontSize:c("svg-size"),lineHeight:c("icon-size-ptg-unitless"),position:"absolute",inset:t(s).mul(-1).equal(),width:"auto",height:"auto"},"&-circle":{lineHeight:c("icon-size-ptg-unitless"),strokeWidth:t(c("icon-size-ptg-unitless")).mul(r).equal(),[a("progress-radius")]:t(c("svg-size")).sub(r).mul(c("icon-size-ptg-unitless")).div(2).equal(),r:c("progress-radius"),fill:"none",cx:50,cy:50,transition:`all ${n} ease-in-out`,"&-rail":{stroke:e.colorSplit},"&-ptg":{stroke:e.colorPrimary}}}}}})(t),(e=>{let{componentCls:t,lineWidthBold:i,antCls:o}=e,r=`${t}-item`,[,n]=(0,N.PN)(o,"cmp-steps");return{[`${t}${t}-rtl`]:{direction:"rtl",[`&${t}-navigation${t}-horizontal`]:{[`${r}:after`]:{transform:"translateY(-50%) rotate(-45deg)"}},[`&${t}-panel`]:{[`${t}-panel-arrow`]:{transform:"scaleX(-1)"},[`&${t}-filled`]:{[r]:{"&:not(:first-child)":{clipPath:`polygon(calc(0px - ${n("item-base-width")}) 0px,calc(100% - ${(0,H.zA)(i)}) 0px,calc(100% - ${n("item-base-width")} - ${(0,H.zA)(i)}) 50%,calc(100% - ${(0,H.zA)(i)}) 100%,calc(0px - ${n("item-base-width")}) 100%)`}}}}}}})(t)]},e=>({titleLineHeight:e.controlHeight,customIconSize:e.controlHeight,customIconTop:0,customIconFontSize:e.controlHeightSM,iconSize:e.controlHeight,iconTop:-.5,iconFontSize:e.fontSize,iconSizeSM:e.fontSizeHeading3,dotSize:e.controlHeight/4,dotCurrentSize:e.controlHeightLG/4,navArrowColor:e.colorTextDisabled,navContentMaxWidth:"unset",descriptionMaxWidth:void 0,waitIconColor:e.wireframe?e.colorTextDisabled:e.colorTextLabel,waitIconBgColor:e.wireframe?e.colorBgContainer:e.colorFillContent,waitIconBorderColor:e.wireframe?e.colorTextDisabled:"transparent",finishIconBgColor:e.wireframe?e.colorBgContainer:e.controlItemBgActive,finishIconBorderColor:e.wireframe?e.colorPrimary:e.controlItemBgActive}));var D=i(20241);let L={itemIcon:S.D},F=e=>{let t,i,{size:o,className:l,rootClassName:a,style:c,variant:s="filled",type:d,classNames:m,styles:p,direction:$,orientation:u,responsive:g=!0,progressDot:h,labelPlacement:f,titlePlacement:S,ellipsis:P,maxCount:B,offset:R=0,items:H,percent:T,current:W=0,initial:j=0,onChange:X,iconRender:F,..._}=e,V=r.useContext(C),G=(0,z.TP)("steps"),{getPrefixCls:K,direction:Y,className:Q,style:U}=G,J={};V?J={root:V.rootComponent,item:V.itemComponent}:{classNames:t,styles:i}=G;let Z=K(),ee=K("steps",e.prefixCls),et=`${ee}-item-icon`,[ei,eo]=q(ee),[er]=(0,N.PN)(Z,"cmp-steps"),en=(0,E.A)(o),el=r.useMemo(()=>(H||[]).filter(Boolean),[H]),{xs:ea}=(0,I.A)(g),ec=r.useMemo(()=>d&&"default"!==d?d:h?"dot":d,[h,d]),es="inline"===ec,ed="dot"===ec||"inline"===ec,em=r.useMemo(()=>"dot"===ec&&(0,y.Tn)(h)?h:void 0,[ec,h]),ep=r.useMemo(()=>{let e=u||$;return"panel"===ec?"horizontal":g&&ea||"vertical"===e?"vertical":"horizontal"},[u,$,ec,g,ea]),e$=r.useMemo(()=>ed||"vertical"===ep?"vertical"===ep?"horizontal":"vertical":"navigation"===d?"horizontal":S||f||"horizontal",[ed,f,ep,S,d]),eu=es?void 0:T,{canApplyMaxCount:eg,displaySteps:eh,mappedDisplayCurrent:ef,displayItems:eb}=function(e,t,i,o,n){let l=void 0!==o&&o>=3&&e.length>o,a=t-i,c=r.useMemo(()=>{if(!l)return e.map((e,t)=>({item:e,originIndex:t}));let t=function(e,t,i){let o=Math.min(Math.max(t,0),e-1),r=Math.min(i,e),n=new Set([0,o,e-1]);for(let t=1;n.size<r&&t<e;t+=1)for(let i of[o-t,o+t,t,e-1-t]){if(n.size>=r)break;i>=0&&i<e&&n.add(i)}return Array.from(n).sort((e,t)=>e-t).flatMap((e,t,i)=>t>0&&e-i[t-1]>1?[null,e]:[e])}(e.length,a,o);return t.map((i,o)=>{var l;return null===i?function(e,t,i,o,n){let l=e[i].key??i,a=e[o].key??o,c=e.slice(i+1,o).some(e=>"error"===e.status)?"error":o-1<t?"finish":"wait";return{item:{key:`ellipsis-${l}-${a}`,title:"",icon:r.createElement(D.A),status:c,disabled:!0,className:`${n}-item-ellipsis`},originIndex:-1}}(e,a,t[o-1],t[o+1],n):(l=e[i],{item:{...l,key:l.key??i},originIndex:i})})},[l,a,e,o,n]),s=c.findIndex(e=>e.originIndex===a);return{canApplyMaxCount:l,displaySteps:c,mappedDisplayCurrent:s>=0?s:a,displayItems:c.map(e=>e.item)}}(el,W,j,B,ee),ev={...e,variant:s,size:en,type:ec,orientation:ep,titlePlacement:e$,current:W,initial:j,percent:eu,responsive:g,offset:R,ellipsis:P,maxCount:B},[ey,ez]=(0,v.AV)([L,t,m],[i,p],{props:ev}),ex="panel"===ec?e=>r.createElement(r.Fragment,null,e,r.createElement(M,{prefixCls:ee})):void 0,ew={[er("items-offset")]:`${R}`,...U,...c},eA=(0,n.$)(Q,`${ee}-${s}`,{[`${ee}-${ec}`]:"dot"!==ec&&ec,[`${ee}-rtl`]:"rtl"===Y,[`${ee}-dot`]:ed,[`${ee}-ellipsis`]:P,[`${ee}-max-count`]:eg,[`${ee}-with-progress`]:void 0!==eu,[`${ee}-small`]:"small"===en},l,a,ei,eo);return r.createElement(b,{..._,prefixCls:ee,className:eA,style:ew,classNames:ey,styles:ez,orientation:ep,titlePlacement:e$,components:J,initial:0,current:ef,items:eb,onChange:X?e=>{let t=eh[e];X&&t&&t.originIndex>=0&&X(j+t.originIndex)}:void 0,iconRender:(e,t)=>{let{item:i,index:o,active:n,components:{Icon:l}}=t,a=eh[o]?.originIndex,c=void 0!==a&&a>=0?j+a:o,{status:s,icon:d}=i,m=null;if(ed||d)m=d;else switch(s){case"finish":m=r.createElement(x.A,{className:`${et}-finish`});break;case"error":m=r.createElement(w.A,{className:`${et}-error`});break;default:{let e=r.createElement("span",{className:`${et}-number`},c+1);"process"===s&&void 0!==eu&&(e=r.createElement(O,{prefixCls:ee,rootPrefixCls:Z,percent:eu},e)),m=e}}let p=r.createElement(l,null,m);return F?p=F(p,{index:c,active:n,item:i,components:{Icon:l}}):(0,y.Tn)(em)&&(p=em(p,{index:c,...i})),p},itemRender:(e,t)=>{let i=e;return es&&t.item.content&&(i=r.createElement(k.A,{destroyOnHidden:!0,title:t.item.content},e)),r.createElement(A.A,{component:"Steps",disabled:t.item.disabled||!X,colorSource:"filled"===s?"color":null},i)},itemWrapperRender:ex})},_=(0,N.OF)("Timeline",e=>{let t=(0,B.oX)(e,{itemHeadSize:10,customHeadPaddingVertical:e.paddingXXS,paddingInlineEnd:2});return[(e=>{let{componentCls:t,tailColor:i,fontHeight:o,dotSize:r,dotBg:n,dotBorderWidth:l,fontSize:a,lineHeight:c,colorText:s,tailWidth:d,colorPrimary:m,colorError:p,colorSuccess:$,colorTextDisabled:u,antCls:g}=e,h=`${t}-item`,[f,b]=(0,N.PN)(g,"cmp-steps");return{[t]:[{...(0,P.dF)(e),[h]:{[f("title-horizontal-title-height")]:o,[f("vertical-rail-margin")]:"0px",[f("title-horizontal-rail-gap")]:"0px",[f("icon-dot-size-origin")]:b("icon-size-active"),[f("icon-dot-size-custom")]:r,[f("item-icon-dot-bg-color-origin")]:b("item-icon-dot-bg-color"),[f("item-icon-dot-bg-color-custom")]:n,[f("icon-size")]:b("icon-dot-size-custom",b("icon-dot-size-origin")),[`${h}-icon`]:{[f("dot-icon-border-width")]:l,[f("dot-icon-size")]:b("icon-size"),[f("item-icon-dot-bg-color")]:b("item-icon-dot-bg-color-custom",b("item-icon-dot-bg-color-origin"))},[`${h}-title`]:{fontSize:a,lineHeight:c},[`${h}-content`]:{color:s},[`${h}-rail`]:{[f("item-solid-line-color")]:i,[f("rail-size")]:d}}},{[h]:{[f("item-process-rail-line-style")]:"dotted"},[`${h}${h}${h}-color`]:{"&-blue":{[f("item-icon-dot-color")]:m},"&-red":{[f("item-icon-dot-color")]:p},"&-green":{[f("item-icon-dot-color")]:$},"&-gray":{[f("item-icon-dot-color")]:u}}}]}})(t),(e=>{let{calc:t,componentCls:i,itemPaddingBottom:o,margin:r,antCls:n}=e,l=`${i}-item`,[,a]=(0,N.PN)(n,"cmp-steps"),[c,s]=(0,N.PN)(n,"timeline");return{[`${i}:not(${i}-horizontal)`]:{[c("head-span")]:"12",[c("head-span-ptg")]:`calc(${s("head-span")} / 24 * 100%)`,[`&${i}-layout-alternate`]:{[l]:{[c("alternate-gap")]:t(r).mul(2).add(a("dot-icon-size")).equal(),minHeight:"auto",paddingBottom:o,[`${l}-icon, ${l}-rail`]:{position:"absolute",insetInlineStart:s("head-span-ptg")},[`${l}-icon`]:{marginInlineStart:`calc(${a("icon-size")} / -2)`},[`${l}-section`]:{display:"flex",flexWrap:"nowrap",gap:s("alternate-gap")},[`${l}-header`]:{textAlign:"end",flexDirection:"column",alignItems:"stretch",flex:`1 1 calc(${s("head-span-ptg")} - ${s("alternate-gap")} / 2)`},[`${l}-content`]:{textAlign:"start",flex:`1 1 calc(100% - ${s("head-span-ptg")} - ${s("alternate-gap")} / 2)`},"&-placement-end":{[`${l}-header`]:{textAlign:"start",order:1},[`${l}-content`]:{textAlign:"end"},[`${l}-icon, ${l}-rail`]:{insetInlineStart:`calc(100% - ${s("head-span-ptg")})`}}}},[`&:not(${i}-layout-alternate)`]:{[`${l}-placement-end`]:{textAlign:"end",[`${l}-icon`]:{order:1},[`${l}-rail`]:{insetInlineStart:"auto",insetInlineEnd:`calc(${a("icon-size")} / 2)`,marginInlineEnd:`calc(${a("rail-size")} / -2)`}}}}}})(t),(e=>{let{componentCls:t,fontHeight:i,antCls:o,paddingXS:r}=e,[n,l]=(0,N.PN)(o,"cmp-steps"),[a,c]=(0,N.PN)(o,"timeline"),s=`${t}-item`;return{[`${t}-horizontal`]:{[n("title-vertical-row-gap")]:r,[a("content-height")]:(0,H.zA)(i),alignItems:"stretch",[`&${t}-layout-alternate`]:{[s]:{[`${s}-wrapper`]:{[a("alternate-content-offset")]:`calc(${c("content-height")} + ${l("title-vertical-row-gap")} * 2 + ${l("icon-size-max")})`,height:`calc(${c("content-height")} * 2 + ${l("title-vertical-row-gap")} * 2 + ${l("icon-size-max")})`},[`${s}-icon`]:{position:"absolute"},[`${s}-icon, ${s}-rail`]:{position:"absolute",top:"50%",transform:"translateY(-50%)",margin:0},[`${s}-title, ${s}-subtitle, ${s}-content`]:{whiteSpace:"nowrap",maxWidth:"unset"},[`${s}-title`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},[`${s}-content`]:{position:"absolute",left:{_skip_check_:!0,value:"50%"},transform:"translateX(-50%)"},"&-placement-start":{[`${s}-title`]:{bottom:c("alternate-content-offset")},[`${s}-content`]:{top:c("alternate-content-offset")}},"&-placement-end":{[`${s}-title`]:{top:c("alternate-content-offset")},[`${s}-content`]:{bottom:c("alternate-content-offset")}}}},[`&:not(${t}-layout-alternate)`]:{[`${s}-placement-end`]:{display:"flex",alignItems:"flex-end",[`${s}-wrapper`]:{flex:"auto",flexDirection:"column-reverse"},[`${s}-rail`]:{top:"auto",bottom:l("horizontal-rail-margin"),transform:"translateY(50%)"}}}}}})(t)]},e=>({tailColor:e.colorSplit,tailWidth:e.lineWidthBold,dotBorderWidth:e.lineWidthBold,dotBg:void 0,dotSize:void 0,itemPaddingBottom:1.25*e.padding}));var V=i(83914),G=i(42644);let K={rootComponent:"ol",itemComponent:"li"},Y=e=>{let{getPrefixCls:t,direction:i,className:l,style:a,classNames:s,styles:d}=(0,z.TP)("timeline"),{prefixCls:m,className:p,style:$,classNames:u,styles:g,variant:h="outlined",mode:f,orientation:b="vertical",titleSpan:x,items:w,children:A,reverse:S,pending:E,pendingDot:I,...k}=e,M=t(),O=t("timeline",m),[P,B]=_(O),[R]=(0,N.PN)(M,"timeline"),H=r.useMemo(()=>({item:`${O}-item`,itemTitle:`${O}-item-title`,itemIcon:`${O}-item-icon`,itemContent:`${O}-item-content`,itemRail:`${O}-item-rail`,itemWrapper:`${O}-item-wrapper`,itemSection:`${O}-item-section`,itemHeader:`${O}-item-header`}),[O]),T=r.useMemo(()=>"left"===f?"start":"right"===f?"end":["alternate","start","end"].includes(f)?f:"start",[f]),W=((e,t,i,o,l,a,c)=>{let s=`${t}-item`,[d]=(0,N.PN)(e,"cmp-steps"),m=r.useMemo(()=>Array.isArray(o)?o:(0,G.$r)(l).map(e=>({...e.props})),[o,l]);return r.useMemo(()=>{let e=m.map((e,t)=>{let{label:o,children:l,title:a,content:c,color:m,className:p,style:$,icon:u,dot:g,placement:h,position:f,loading:b,...v}=e,y=$,z=p;m&&(["blue","red","green","gray"].includes(m)?z=(0,n.$)(p,`${s}-color-${m}`):y={[d("item-icon-dot-color")]:m,...$});let x=h??f??("alternate"===i?t%2==0?"start":"end":i);z=(0,n.$)(z,`${s}-placement-${x}`);let w=u??g;return!w&&b&&(w=r.createElement(V.A,null)),{...v,title:a??o,content:c??l,style:y,className:z,icon:w,status:b?"process":"finish"}});return a&&e.push({icon:c??r.createElement(V.A,null),content:a,status:"process"}),e},[m,a,i,s,d,c])})(M,O,T,w,A,E,I),j=r.useMemo(()=>S?(0,o.A)(W).reverse():W,[S,W]),X={...e,variant:h,mode:T,orientation:b,items:j},[q,D]=(0,v.AV)([H,s,u],[d,g],{props:X}),L=r.useMemo(()=>({railFollowPrevStatus:S}),[S]),Y=r.useMemo(()=>"alternate"===T||"vertical"===b&&j.some(e=>e.title),[j,T,b]),Q={...a,...$};return(0,y.R)(x)&&"alternate"!==T&&((0,y.Et)(x)?Q[R("head-span")]=x:Q[R("head-span-ptg")]=x),r.createElement(C.Provider,{value:K},r.createElement(c.Provider,{value:L},r.createElement(F,{...k,className:(0,n.$)(O,l,p,P,B,{[`${O}-${b}`]:"horizontal"===b,[`${O}-layout-alternate`]:Y,[`${O}-rtl`]:"rtl"===i}),style:Q,classNames:q,styles:D,variant:h,orientation:b,type:"dot",items:j,current:j.length-1})))};Y.Item=()=>{};let Q=Y},86827:(e,t,i)=>{i.d(t,{EZ:()=>p,J6:()=>d,L2:()=>m,YU:()=>c,_j:()=>u,gx:()=>s,nP:()=>a,ox:()=>n,vR:()=>l});var o=i(15561),r=i(5688);let n=new o.Mo("antSlideUpIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1}}),l=new o.Mo("antSlideUpOut",{"0%":{transform:"scaleY(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"0% 0%",opacity:0}}),a=new o.Mo("antSlideDownIn",{"0%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0},"100%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1}}),c=new o.Mo("antSlideDownOut",{"0%":{transform:"scaleY(1)",transformOrigin:"100% 100%",opacity:1},"100%":{transform:"scaleY(0.8)",transformOrigin:"100% 100%",opacity:0}}),s=new o.Mo("antSlideLeftIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1}}),d=new o.Mo("antSlideLeftOut",{"0%":{transform:"scaleX(1)",transformOrigin:"0% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"0% 0%",opacity:0}}),m=new o.Mo("antSlideRightIn",{"0%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0},"100%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1}}),p=new o.Mo("antSlideRightOut",{"0%":{transform:"scaleX(1)",transformOrigin:"100% 0%",opacity:1},"100%":{transform:"scaleX(0.8)",transformOrigin:"100% 0%",opacity:0}}),$={"slide-up":{inKeyframes:n,outKeyframes:l},"slide-down":{inKeyframes:a,outKeyframes:c},"slide-left":{inKeyframes:s,outKeyframes:d},"slide-right":{inKeyframes:m,outKeyframes:p}},u=(e,t)=>{let{antCls:i}=e,o=`${i}-${t}`,{inKeyframes:n,outKeyframes:l}=$[t];return[(0,r.b)(o,n,l,e.motionDurationMid),{[`
9
- ${o}-enter,
10
- ${o}-appear
11
- `]:{transform:"scale(0)",transformOrigin:"0% 0%",opacity:0,animationTimingFunction:e.motionEaseOutQuint,"&-prepare":{transform:"scale(1)"}},[`${o}-leave`]:{animationTimingFunction:e.motionEaseInQuint}}]}},95118:(e,t,i)=>{i.d(t,{A:()=>a});var o=i(97109),r=i(75710),n=i(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var o in i)Object.prototype.hasOwnProperty.call(i,o)&&(e[o]=i[o])}return e}).apply(this,arguments)}let a=o.forwardRef((e,t)=>o.createElement(n.A,l({},e,{ref:t,icon:r.A})))}}]);
@@ -1 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[278],{10218:(e,t,r)=>{r.d(t,{A:()=>g,H:()=>p});var o=r(97109),l=r(4932),n=r(42644);let i=e=>"object"==typeof e&&null!=e&&1===e.nodeType,d=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,a=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let r=getComputedStyle(e,null);return d(r.overflowY,t)||d(r.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,r,o,l,n,i,d)=>n<e&&i>t||n>e&&i<t?0:n<=e&&d<=r||i>=t&&d>=r?n-e-o:i>t&&d<r||n<e&&d>r?i-t+l:0,c=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},u=(e,t)=>{var r,o,l,n;if("undefined"==typeof document)return[];let{scrollMode:d,block:u,inline:b,boundary:h,skipOverflowHiddenElements:p}=t,f="function"==typeof h?h:e=>e!==h;if(!i(e))throw TypeError("Invalid target");let g=document.scrollingElement||document.documentElement,$=[],m=e;for(;i(m)&&f(m);){if((m=c(m))===g){$.push(m);break}null!=m&&m===document.body&&a(m)&&!a(document.documentElement)||null!=m&&a(m,p)&&$.push(m)}let k=null!=(o=null==(r=window.visualViewport)?void 0:r.width)?o:innerWidth,E=null!=(n=null==(l=window.visualViewport)?void 0:l.height)?n:innerHeight,{scrollX:C,scrollY:v}=window,{height:w,width:S,top:R,right:y,bottom:x,left:I}=e.getBoundingClientRect(),{top:A,right:M,bottom:B,left: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),W="start"===u||"nearest"===u?R-A:"end"===u?x+B:R+w/2-A+B,F="center"===b?I+S/2-N+M:"end"===b?y+M:I-N,H=[];for(let e=0;e<$.length;e++){let t=$[e],{height:r,width:o,top:l,right:n,bottom:i,left:c}=t.getBoundingClientRect();if("if-needed"===d&&R>=0&&I>=0&&x<=E&&y<=k&&(t===g&&!a(t)||R>=l&&x<=i&&I>=c&&y<=n))break;let h=getComputedStyle(t),p=parseInt(h.borderLeftWidth,10),f=parseInt(h.borderTopWidth,10),m=parseInt(h.borderRightWidth,10),A=parseInt(h.borderBottomWidth,10),M=0,B=0,N="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-m:0,_="offsetHeight"in t?t.offsetHeight-t.clientHeight-f-A:0,z="offsetWidth"in t?0===t.offsetWidth?0:o/t.offsetWidth:0,T="offsetHeight"in t?0===t.offsetHeight?0:r/t.offsetHeight:0;if(g===t)M="start"===u?W:"end"===u?W-E:"nearest"===u?s(v,v+E,E,f,A,v+W,v+W+w,w):W-E/2,B="start"===b?F:"center"===b?F-k/2:"end"===b?F-k:s(C,C+k,k,p,m,C+F,C+F+S,S),M=Math.max(0,M+v),B=Math.max(0,B+C);else{M="start"===u?W-l-f:"end"===u?W-i+A+_:"nearest"===u?s(l,i,r,f,A+_,W,W+w,w):W-(l+r/2)+_/2,B="start"===b?F-c-p:"center"===b?F-(c+o/2)+N/2:"end"===b?F-n+m+N:s(c,n,o,p,m+N,F,F+S,S);let{scrollLeft:e,scrollTop:d}=t;M=0===T?0:Math.max(0,Math.min(d+M/T,t.scrollHeight-r/T+_)),B=0===z?0:Math.max(0,Math.min(e+B/z,t.scrollWidth-o/z+N)),W+=d-M,F+=e-B}H.push({el:t,top:M,left:B})}return H};var b=r(26047),h=r(44624);function p(e){return(0,h.$r)(e).join("_")}function f(e,t){let r=t.getFieldInstance(e),o=(0,n.rb)(r);if(o)return o;let l=(0,h.kV)((0,h.$r)(e),t.__INTERNAL__.name);if(l)return document.getElementById(l)}function g(e){let[t]=(0,l.mN)(),r=o.useRef({}),n=o.useMemo(()=>e??{...t,__INTERNAL__:{itemRef:e=>t=>{let o=p(e);t?r.current[o]=t:delete r.current[o]}},scrollToField:(e,t={})=>{let{focus:r,...o}=t,l=f(e,n);l&&(!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 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);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(u(e,t));let o="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:l,top:n,left:i}of u(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=n-r.top+r.bottom,t=i-r.left+r.right;l.scroll({top:e,left:t,behavior:o})}}(l,{scrollMode:"if-needed",block:"nearest",...o}),r&&n.focusField(e))},focusField:e=>{let t=n.getFieldInstance(e);(0,b.Tn)(t?.focus)?t.focus():f(e,n)?.focus?.()},getFieldInstance:e=>{let t=p(e);return r.current[t]}},[e,t]);return[n]}},44624:(e,t,r)=>{r.d(t,{$r:()=>l,BS:()=>i,kV:()=>n});let o=["parentNode"];function l(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function n(e,t){if(!e.length)return;let r=e.join("_");return t?`${t}_${r}`:o.includes(r)?`form_item_${r}`:r}function i(e,t,r,o,l,n){let i=o;return void 0!==n?i=n:r.validating?i="validating":e.length?i="error":t.length?i="warning":(r.touched||l&&r.validated)&&(i="success"),i}},88278:(e,t,r)=>{r.d(t,{Ay:()=>N});var o=r(97109),l=r(42644),n=r(3638),i=r(5045),d=r(26047),a=r(74567),s=r(632),c=r(27273),u=r(55359),b=r(10218);let h=o.createContext(void 0),p=h.Provider,f=o.createContext(void 0),g=f.Provider;var $=r(46066),m=r(92162),k=r(38862),E=r(35622),C=r(41169),v=r(6831),w=r(15561),S=r(7961),R=r(10540),y=r(28403);let x=(0,R.OF)("Radio",e=>{let{controlOutline:t,controlOutlineWidth:r}=e,o=`0 0 0 ${(0,w.zA)(r)} ${t}`,l=(0,y.oX)(e,{radioFocusShadow:o,radioButtonFocusShadow:o});return[(e=>{let{componentCls:t,antCls:r,lineWidth:o,borderRadius:l,borderRadiusLG:n,borderRadiusSM:i,calc:d}=e,a=`${t}-group`,s=`${t}-button-wrapper`,c=`${r}-badge`,u=e=>({[`> ${c}`]:{width:"auto"},[`> ${c} > ${s}`]:{width:"100%"},[`> ${c}:not(:last-child)`]:{marginBlockEnd:d(o).mul(-1).equal()},[`> ${c} > ${s}:not(:last-child)`]:{marginBlockEnd:0},[`> ${c}:first-child > ${s}`]:{borderStartStartRadius:e,borderStartEndRadius:e,borderEndStartRadius:0,borderEndEndRadius:0},[`> ${c}:last-child > ${s}`]:{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:e,borderEndEndRadius:e},[`> ${c}:not(:first-child):not(:last-child) > ${s}`]:{borderRadius:0},[`> ${c}:first-child:last-child > ${s}`]:{borderRadius:e}});return{[a]:{...(0,S.dF)(e),display:"inline-block",fontSize:0,[`&${a}-rtl`]:{direction:"rtl"},[`&${a}-block`]:{display:"flex"},[`${r}-badge ${r}-badge-count`]:{zIndex:1},[`> ${r}-badge:not(:first-child) > ${r}-button-wrapper`]:{borderInlineStart:"none"},"&-vertical":{display:"flex",flexDirection:"column",rowGap:e.marginXS,[`&:has(> ${s}, > ${c} > ${s})`]:{rowGap:0},[`${t}-wrapper`]:{marginInlineEnd:0},...u(l),[`&${a}-large`]:{...u(n)},[`&${a}-small`]:{...u(i)}}}}})(l),(e=>{let{componentCls:t,wrapperMarginInlineEnd:r,colorPrimary:o,colorPrimaryHover:l,radioSize:n,motionDurationSlow:i,motionDurationMid:d,motionEaseInOutCirc:a,colorBgContainer:s,colorBorder:c,lineWidth:u,colorBgContainerDisabled:b,colorTextDisabled:h,paddingXS:p,dotColorDisabled:f,dotSize:g,lineType:$,radioColor:m,radioBgColor:k}=e;return{[`${t}-wrapper`]:{...(0,S.dF)(e),display:"inline-flex",alignItems:"baseline",marginInlineStart:0,marginInlineEnd:r,cursor:"pointer","&:last-child":{marginInlineEnd:0},[`&${t}-wrapper-rtl`]:{direction:"rtl"},"&-disabled":{cursor:"not-allowed",color:e.colorTextDisabled},"&::after":{display:"inline-block",width:0,overflow:"hidden",content:'"\\a0"'},"&-block":{flex:1,justifyContent:"center"},[t]:{...(0,S.dF)(e),position:"relative",whiteSpace:"nowrap",lineHeight:1,cursor:"pointer",alignSelf:"center",boxSizing:"border-box",display:"block",width:`calc(${n} * 1px)`,height:`calc(${n} * 1px)`,backgroundColor:s,border:`${(0,w.zA)(u)} ${$} ${c}`,borderRadius:"50%",transition:`all ${d}`,flex:"none","&:after":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%) scale(0)",width:`calc(${g} * 1px)`,height:`calc(${g} * 1px)`,backgroundColor:m,borderRadius:"50%",transformOrigin:"50% 50%",opacity:0,transition:`all ${i} ${a}`},[`${t}-input`]:{position:"absolute",inset:0,zIndex:1,cursor:"pointer",opacity:0,margin:0},[`&:has(${t}-input:focus-visible)`]:(0,S.jk)(e)},[`&:hover:not(${t}-wrapper-disabled) ${t}`]:{borderColor:o},[`&:hover ${t}-checked:not(${t}-disabled)`]:{backgroundColor:l,borderColor:"transparent"},[`${t}-checked`]:{backgroundColor:k,borderColor:o,"&::after":{transform:"translate(-50%, -50%)",opacity:1}},[`${t}-disabled`]:{[`&, ${t}-input`]:{cursor:"not-allowed",pointerEvents:"none"},background:b,borderColor:c,"&::after":{backgroundColor:f}},[`${t}-disabled + span`]:{color:h,cursor:"not-allowed"},[`span${t} + *`]:{paddingInlineStart:p,paddingInlineEnd:p}}}})(l),(e=>{let{buttonColor:t,controlHeight:r,componentCls:o,lineWidth:l,lineType:n,colorBorder:i,motionDurationMid:d,buttonPaddingInline:a,fontSize:s,buttonBg:c,fontSizeLG:u,controlHeightLG:b,controlHeightSM:h,paddingXS:p,borderRadius:f,borderRadiusSM:g,borderRadiusLG:$,buttonCheckedBg:m,buttonSolidCheckedColor:k,colorTextDisabled:E,colorBgContainerDisabled:C,buttonCheckedBgDisabled:v,buttonCheckedColorDisabled:R,colorPrimary:y,colorPrimaryHover:x,colorPrimaryActive:I,buttonSolidCheckedBg:A,buttonSolidCheckedHoverBg:M,buttonSolidCheckedActiveBg:B,calc:N}=e;return{[`${o}-button-wrapper`]:{position:"relative",display:"inline-block",height:r,margin:0,paddingInline:a,paddingBlock:0,color:t,fontSize:s,lineHeight:(0,w.zA)(N(r).sub(N(l).mul(2)).equal()),background:c,border:`${(0,w.zA)(l)} ${n} ${i}`,borderBlockStartWidth:N(l).add(.02).equal(),borderInlineEndWidth:l,cursor:"pointer",transition:["color","background-color","box-shadow"].map(e=>`${e} ${d}`).join(","),a:{color:t},[`> ${o}-button`]:{position:"absolute",insetBlockStart:0,insetInlineStart:0,zIndex:-1,width:"100%",height:"100%"},"&:not(:last-child)":{marginInlineEnd:N(l).mul(-1).equal()},"&:first-child":{borderInlineStart:`${(0,w.zA)(l)} ${n} ${i}`,borderStartStartRadius:f,borderEndStartRadius:f},"&:last-child":{borderStartEndRadius:f,borderEndEndRadius:f},"&:first-child:last-child":{borderRadius:f},[`${o}-group-large &`]:{height:b,fontSize:u,lineHeight:(0,w.zA)(N(b).sub(N(l).mul(2)).equal()),"&:first-child":{borderStartStartRadius:$,borderEndStartRadius:$},"&:last-child":{borderStartEndRadius:$,borderEndEndRadius:$}},[`${o}-group-small &`]:{height:h,paddingInline:N(p).sub(l).equal(),paddingBlock:0,lineHeight:(0,w.zA)(N(h).sub(N(l).mul(2)).equal()),"&:first-child":{borderStartStartRadius:g,borderEndStartRadius:g},"&:last-child":{borderStartEndRadius:g,borderEndEndRadius:g}},[`${o}-group-vertical > &`]:{marginInlineEnd:0,borderRadius:0,"&:not(:last-child)":{marginBlockEnd:N(l).mul(-1).equal()},"&:first-child":{borderStartStartRadius:f,borderStartEndRadius:f,borderEndStartRadius:0,borderEndEndRadius:0},"&:last-child":{borderStartStartRadius:0,borderStartEndRadius:0,borderEndStartRadius:f,borderEndEndRadius:f},"&:first-child:last-child":{borderRadius:f}},[`${o}-group-vertical${o}-group-large > &`]:{"&:first-child":{borderStartStartRadius:$,borderStartEndRadius:$},"&:last-child":{borderEndStartRadius:$,borderEndEndRadius:$},"&:first-child:last-child":{borderRadius:$}},[`${o}-group-vertical${o}-group-small > &`]:{"&:first-child":{borderStartStartRadius:g,borderStartEndRadius:g},"&:last-child":{borderEndStartRadius:g,borderEndEndRadius:g},"&:first-child:last-child":{borderRadius:g}},"&:hover":{position:"relative",color:y},"&:has(:focus-visible)":(0,S.jk)(e),[`${o}, input[type='checkbox'], input[type='radio']`]:{width:0,height:0,opacity:0,pointerEvents:"none"},[`&-checked:not(${o}-button-wrapper-disabled)`]:{zIndex:1,color:y,background:m,borderColor:y,"&::before":{backgroundColor:y},"&:first-child":{borderColor:y},"&:hover":{color:x,borderColor:x,"&::before":{backgroundColor:x}},"&:active":{color:I,borderColor:I,"&::before":{backgroundColor:I}}},[`${o}-group-solid &-checked:not(${o}-button-wrapper-disabled)`]:{color:k,background:A,borderColor:A,"&:hover":{color:k,background:M,borderColor:M},"&:active":{color:k,background:B,borderColor:B}},"&-disabled":{color:E,backgroundColor:C,borderColor:i,cursor:"not-allowed","&:first-child, &:hover":{color:E,backgroundColor:C,borderColor:i}},[`&-disabled${o}-button-wrapper-checked`]:{color:R,backgroundColor:v,borderColor:i,boxShadow:"none"},"&-block":{flex:1,textAlign:"center"}}}})(l)]},e=>{let{wireframe:t,padding:r,marginXS:o,lineWidth:l,fontSizeLG:n,colorText:i,colorBgContainer:d,colorTextDisabled:a,controlItemBgActiveDisabled:s,colorTextLightSolid:c,colorPrimary:u,colorPrimaryHover:b,colorPrimaryActive:h,colorWhite:p}=e;return{radioSize:n,dotSize:t?n-8:n-(4+l)*2,dotColorDisabled:a,buttonSolidCheckedColor:c,buttonSolidCheckedBg:u,buttonSolidCheckedHoverBg:b,buttonSolidCheckedActiveBg:h,buttonBg:d,buttonCheckedBg:d,buttonColor:i,buttonCheckedBgDisabled:s,buttonCheckedColorDisabled:a,buttonPaddingInline:r-l,wrapperMarginInlineEnd:o,radioColor:t?u:p,radioBgColor:t?d:u}},{unitless:{radioSize:!0,dotSize:!0}}),I=o.forwardRef((e,t)=>{let r=o.useContext(h),i=o.useContext(f),{getPrefixCls:c,direction:b,className:p,style:g,classNames:w,styles:S}=(0,a.TP)("radio"),R=o.useRef(null),y=(0,l.K4)(t,R),{isFormItemInput:I}=o.useContext(u.$W),{prefixCls:A,className:M,rootClassName:B,children:N,style:W,title:F,classNames:H,styles:_,checked:z,...T}=e,j=c("radio",A),q="button"===(r?.optionType||i),D=q?`${j}-button`:j,L=(0,s.A)(j),[O,V]=x(j,L),X={...T},P=o.useContext(v.A),G="checked"in e,K=z;r&&(X.name=r.name,X.onChange=t=>{e.onChange?.(t),r?.onChange?.(t)},K=e.value===r.value,X.disabled=X.disabled??r.disabled),(G||r)&&(X.checked=K),X.disabled=X.disabled??P;let Q={...e,...X,checked:K},Y=(0,m.XT)(g),Z=(0,m.XT)(W),[J,U]=(0,m.AV)([w,H],[S,Y,_,Z],{props:Q}),ee=(0,n.$)(`${D}-wrapper`,{[`${D}-wrapper-checked`]:K,[`${D}-wrapper-disabled`]:X.disabled,[`${D}-wrapper-rtl`]:"rtl"===b,[`${D}-wrapper-in-form-item`]:I,[`${D}-wrapper-block`]:!!r?.block},p,M,B,J.root,O,V,L),[et,er]=(0,C.A)(X.onClick);return o.createElement(k.A,{component:"Radio",disabled:X.disabled},o.createElement("label",{className:ee,style:U.root,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,title:F,onClick:et},o.createElement($.A,{...X,className:(0,n.$)(J.icon,{[E.D]:!q}),style:U.icon,type:"radio",prefixCls:D,ref:y,onClick:er}),(0,d.AZ)(N)?o.createElement("span",{className:(0,n.$)(`${D}-label`,J.label),style:U.label},N):null))}),A=o.forwardRef((e,t)=>{let{getPrefixCls:r,direction:h}=o.useContext(a.QO),{name:f}=o.useContext(u.$W),g=(0,l.Bi)((0,b.H)(f)),{prefixCls:$,className:m,rootClassName:k,options:E,buttonStyle:C="outline",disabled:v,children:w,size:S,style:R,id:y,optionType:A,name:M=g,defaultValue:B,value:N,block:W=!1,onChange:F,onMouseEnter:H,onMouseLeave:_,onFocus:z,onBlur:T,orientation:j,vertical:q,role:D="radiogroup"}=e,[L,O]=(0,l.PW)(B,N),V=o.useCallback(t=>{let r=t.target.value;"value"in e||O(r),r!==L&&F?.(t)},[L,O,F]),X=r("radio",$),P=`${X}-group`,G=(0,s.A)(X),[K,Q]=x(X,G),Y=w;E&&E.length>0&&(Y=E.map(e=>"string"==typeof e||(0,d.Et)(e)?o.createElement(I,{key:e.toString(),prefixCls:X,disabled:v,value:e,checked:L===e},e):o.createElement(I,{key:`radio-group-value-options-${e.value}`,prefixCls:X,disabled:e.disabled||v,value:e.value,checked:L===e.value,title:e.title,style:e.style,className:e.className,id:e.id,required:e.required},e.label)));let Z=(0,c.A)(S),[,J]=(0,i.M)(j,q),U=(0,n.$)(P,`${P}-${C}`,{[`${P}-large`]:"large"===Z,[`${P}-small`]:"small"===Z,[`${P}-rtl`]:"rtl"===h,[`${P}-block`]:W},m,k,K,Q,G),ee=o.useMemo(()=>({onChange:V,value:L,disabled:v,name:M,optionType:A,block:W}),[V,L,v,M,A,W]);return o.createElement("div",{...(0,l.KE)(e,{aria:!0,data:!0}),role:D,className:(0,n.$)(U,{[`${X}-group-vertical`]:J}),style:R,onMouseEnter:H,onMouseLeave:_,onFocus:z,onBlur:T,id:y,ref:t},o.createElement(p,{value:ee},Y))}),M=o.memo(A),B=o.forwardRef((e,t)=>{let{getPrefixCls:r}=o.useContext(a.QO),{prefixCls:l,...n}=e,i=r("radio",l);return o.createElement(g,{value:"button"},o.createElement(I,{prefixCls:i,...n,type:"radio",ref:t}))});I.Button=B,I.Group=M,I.__ANT_RADIO=!0;let N=I}}]);