@customize-agent/server 4.60.2 → 4.60.3

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 (95) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +56 -54
  3. package/.next/prerender-manifest.json +3 -3
  4. package/.next/required-server-files.json +1 -1
  5. package/.next/server/chunks/1243.js +1 -1
  6. package/.next/server/chunks/2328.js +1 -1
  7. package/.next/server/chunks/{7848.js → 4683.js} +86 -85
  8. package/.next/server/chunks/5304.js +1 -1
  9. package/.next/server/chunks/6321.js +1 -1
  10. package/.next/server/chunks/6822.js +1 -1
  11. package/.next/server/chunks/8204.js +1 -1
  12. package/.next/server/chunks/9399.js +1 -0
  13. package/.next/server/chunks/9666.js +55 -54
  14. package/.next/server/instrumentation.js +1 -1
  15. package/.next/server/instrumentation.js.nft.json +1 -1
  16. package/.next/server/middleware-build-manifest.js +1 -1
  17. package/.next/server/pages/404.html +1 -1
  18. package/.next/server/pages/500.html +1 -1
  19. package/.next/server/pages/api/documents/export.js +2 -2
  20. package/.next/server/pages/api/documents/export.js.nft.json +1 -1
  21. package/.next/server/pages/api/documents/generate/preview.js +1 -1
  22. package/.next/server/pages/api/documents/generate.js +1 -1
  23. package/.next/server/pages/api/health.js +1 -1
  24. package/.next/server/pages/canvas/[id].html +1 -1
  25. package/.next/server/pages/canvas.html +1 -1
  26. package/.next/server/pages/documents.html +1 -1
  27. package/.next/server/pages/guide.html +1 -1
  28. package/.next/server/pages/index.html +1 -1
  29. package/.next/server/pages/knowledge/file-detail.html +1 -1
  30. package/.next/server/pages/knowledge/files.html +1 -1
  31. package/.next/server/pages/knowledge/manage.html +1 -1
  32. package/.next/server/pages/knowledge/source-preview.html +1 -1
  33. package/.next/server/pages/knowledge.html +1 -1
  34. package/.next/server/pages/models.html +1 -1
  35. package/.next/server/pages/overview.html +1 -1
  36. package/.next/server/pages/prompt.html +1 -1
  37. package/.next/server/pages/settings.html +1 -1
  38. package/.next/server/pages/skills/[id]/edit.html +1 -1
  39. package/.next/server/pages/skills/[id]/edit.js.nft.json +1 -1
  40. package/.next/server/pages/skills/[id].html +1 -1
  41. package/.next/server/pages/skills/[id].js.nft.json +1 -1
  42. package/.next/server/pages/skills/new.html +1 -1
  43. package/.next/server/pages/skills/new.js.nft.json +1 -1
  44. package/.next/server/pages/skills.html +1 -1
  45. package/.next/server/pages/system/logs.html +1 -1
  46. package/.next/server/pages-manifest.json +29 -29
  47. package/.next/static/7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf/_buildManifest.js +1 -0
  48. package/.next/static/chunks/2-8570cd2beee4da6e.js +1 -0
  49. package/.next/static/chunks/257-3ea888b096943bc8.js +1 -0
  50. package/.next/static/chunks/280-3ce590d421b5c47d.js +16 -0
  51. package/.next/static/chunks/425-42f2568bcdd98f4c.js +1 -0
  52. package/.next/static/chunks/530-a5a65dc8adb1ee11.js +1 -0
  53. package/.next/static/chunks/564-d3426eef3e3e415b.js +4 -0
  54. package/.next/static/chunks/576-6699fed6c88502fe.js +1 -0
  55. package/.next/static/chunks/579-fc0a2eb64aedb001.js +1 -0
  56. package/.next/static/chunks/{795-1a33b085051ecf2b.js → 795-1c1cb3bf1f600e99.js} +1 -1
  57. package/.next/static/chunks/819-96247c9054ad9683.js +1 -0
  58. package/.next/static/chunks/{964-82cc4701f08f7351.js → 964-569c27befeaff602.js} +2 -2
  59. package/.next/static/chunks/pages/{_app-3df96a32b2c9a6ca.js → _app-10f13111671af8a4.js} +3 -3
  60. package/.next/static/chunks/pages/canvas/[id]-534b45f39f39630c.js +1 -0
  61. package/.next/static/chunks/pages/{canvas-8372faba7b5bb116.js → canvas-ffb08963e5cf9558.js} +1 -1
  62. package/.next/static/chunks/pages/knowledge/{file-detail-6c8b86752d2ddf88.js → file-detail-4ccc50ced6382dab.js} +1 -1
  63. package/.next/static/chunks/pages/knowledge/source-preview-56ce59763fa015db.js +1 -0
  64. package/.next/static/chunks/pages/knowledge-84e386d765ddd311.js +1 -0
  65. package/.next/static/chunks/pages/{models-dde7dc26b2ee4b83.js → models-5eee2d09deb081fb.js} +1 -1
  66. package/.next/static/chunks/pages/prompt-f00bf2272142bfa1.js +1 -0
  67. package/.next/static/chunks/pages/{settings-8ebbd4413f976a60.js → settings-f6dfff648cf9ac0e.js} +1 -1
  68. package/.next/static/chunks/pages/skills/[id]/{edit-334c249d48dc651d.js → edit-89bbed9a3a854b04.js} +1 -1
  69. package/.next/static/chunks/pages/skills/[id]-101d753aa8fbf7a9.js +1 -0
  70. package/.next/static/chunks/pages/skills/{new-750c28325b6c869a.js → new-124599c772150a1d.js} +1 -1
  71. package/.next/static/chunks/pages/{skills-25f02f34e4a24e7e.js → skills-476714776be63ce5.js} +1 -1
  72. package/.next/static/chunks/pages/system/logs-40edb648d89b0749.js +1 -0
  73. package/.next/static/css/e67420f8d0ea180d.css +1 -0
  74. package/package.json +1 -1
  75. package/public/apple-touch-icon.png +0 -0
  76. package/public/favicon.ico +0 -0
  77. package/public/favicon.svg +7 -0
  78. package/scripts/generate-brand-assets.cjs +109 -0
  79. package/.next/static/cf07df1d78876548cb59ce9935b756d62660ad2a6b02180bef97865f98fcc4c8/_buildManifest.js +0 -1
  80. package/.next/static/chunks/257-9484b4285bd5f43b.js +0 -1
  81. package/.next/static/chunks/530-ccc3837d353bcf74.js +0 -1
  82. package/.next/static/chunks/573-c52901488f5731dd.js +0 -4
  83. package/.next/static/chunks/576-052a39d403d5d32e.js +0 -1
  84. package/.next/static/chunks/638-29ddb55b708c7969.js +0 -1
  85. package/.next/static/chunks/712-1f2d7c40d613f4d8.js +0 -1
  86. package/.next/static/chunks/815-585fb0b4aa9b369c.js +0 -16
  87. package/.next/static/chunks/933-e9c4889bb9f825ce.js +0 -1
  88. package/.next/static/chunks/pages/canvas/[id]-996d9a43ff45a4b3.js +0 -1
  89. package/.next/static/chunks/pages/knowledge/source-preview-c803a44df4b1d2f2.js +0 -1
  90. package/.next/static/chunks/pages/knowledge-135c4c9260f07108.js +0 -1
  91. package/.next/static/chunks/pages/prompt-7559b2569b3934a5.js +0 -1
  92. package/.next/static/chunks/pages/skills/[id]-eb1bdec00ba09ad2.js +0 -1
  93. package/.next/static/chunks/pages/system/logs-e08749c3a8f9a104.js +0 -1
  94. package/.next/static/css/5bab0d7ea874d4e0.css +0 -1
  95. /package/.next/static/{cf07df1d78876548cb59ce9935b756d62660ad2a6b02180bef97865f98fcc4c8 → 7ea0ee326182fc159e629b4cd9354c5c800c7d5e156fcd6533182444b20d26cf}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[579],{1676:(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 372zm-88-532h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8zm224 0h-48c-4.4 0-8 3.6-8 8v304c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V360c0-4.4-3.6-8-8-8z"}}]},name:"pause-circle",theme:"outlined"}},14995:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.1 209.3l-56.4 44.1C775.8 155.1 656.2 92 521.9 92 290 92 102.3 279.5 102 511.5 101.7 743.7 289.8 932 521.9 932c181.3 0 335.8-115 394.6-276.1 1.5-4.2-.7-8.9-4.9-10.3l-56.7-19.5a8 8 0 00-10.1 4.8c-1.8 5-3.8 10-5.9 14.9-17.3 41-42.1 77.8-73.7 109.4A344.77 344.77 0 01655.9 829c-42.3 17.9-87.4 27-133.8 27-46.5 0-91.5-9.1-133.8-27A341.5 341.5 0 01279 755.2a342.16 342.16 0 01-73.7-109.4c-17.9-42.4-27-87.4-27-133.9s9.1-91.5 27-133.9c17.3-41 42.1-77.8 73.7-109.4 31.6-31.6 68.4-56.4 109.3-73.8 42.3-17.9 87.4-27 133.8-27 46.5 0 91.5 9.1 133.8 27a341.5 341.5 0 01109.3 73.8c9.9 9.9 19.2 20.4 27.8 31.4l-60.2 47a8 8 0 003 14.1l175.6 43c5 1.2 9.9-2.6 9.9-7.7l.8-180.9c-.1-6.6-7.8-10.3-13-6.2z"}}]},name:"reload",theme:"outlined"}},32941:(e,t,a)=>{a.d(t,{Ay:()=>z});var r=a(97109),n=a(59188),l=a(4216),c=a(97137),o=a(40992),i=a(88483);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let d=r.forwardRef((e,t)=>r.createElement(i.A,s({},e,{ref:t,icon:o.A})));var h=a(42644),m=a(3638),p=a(92162),E=a(26047),k=a(74567),f=a(15561),u=a(10540),F=a(28403);let M=(0,u.OF)("Result",e=>{let t=e.colorInfo,a=e.colorError,r=e.colorSuccess,n=e.colorWarning;return(e=>[(e=>{let{componentCls:t,lineHeightHeading3:a,iconCls:r,padding:n,paddingXL:l,paddingXS:c,paddingLG:o,marginXS:i,lineHeight:s}=e;return{[t]:{padding:`${(0,f.zA)(e.calc(o).mul(2).equal())} ${(0,f.zA)(l)}`,"&-rtl":{direction:"rtl"}},[`${t} ${t}-image`]:{width:e.imageWidth,height:e.imageHeight,margin:"auto"},[`${t} ${t}-icon`]:{marginBottom:o,textAlign:"center",[`& > ${r}`]:{fontSize:e.iconFontSize}},[`${t} ${t}-title`]:{color:e.colorTextHeading,fontSize:e.titleFontSize,lineHeight:a,marginBlock:i,textAlign:"center"},[`${t} ${t}-subtitle`]:{color:e.colorTextDescription,fontSize:e.subtitleFontSize,lineHeight:s,textAlign:"center"},[`${t} ${t}-body`]:{marginTop:o,padding:`${(0,f.zA)(o)} ${(0,f.zA)(e.calc(n).mul(2.5).equal())}`,backgroundColor:e.colorFillAlter},[`${t} ${t}-extra`]:{margin:e.extraMargin,textAlign:"center","& > *":{marginInlineEnd:c,"&:last-child":{marginInlineEnd:0}}}}})(e),(e=>{let{componentCls:t}=e;return{[`${t}-success ${t}-icon`]:{color:e.resultSuccessIconColor},[`${t}-error ${t}-icon`]:{color:e.resultErrorIconColor},[`${t}-info ${t}-icon`]:{color:e.resultInfoIconColor},[`${t}-warning ${t}-icon`]:{color:e.resultWarningIconColor}}})(e)])((0,F.oX)(e,{resultInfoIconColor:t,resultErrorIconColor:a,resultSuccessIconColor:r,resultWarningIconColor:n,imageWidth:250,imageHeight:295}))},e=>{let{fontSizeHeading3:t,fontSize:a,paddingLG:r}=e;return{titleFontSize:t,subtitleFontSize:a,iconFontSize:(0,E.Et)(t)?3*t:`calc(${t} * 3)`,extraMargin:`${r}px 0 0 0`}}),v={success:n.A,error:l.A,info:c.A,warning:d},g={404:()=>r.createElement("svg",{width:"252",height:"294"},r.createElement("title",null,"No Found"),r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("circle",{cx:"126.75",cy:"128.1",r:"126",fill:"#E4EBF7"}),r.createElement("circle",{cx:"31.55",cy:"130.8",r:"8.3",fill:"#FFF"}),r.createElement("path",{stroke:"#FFF",d:"m37 134.3 10.5 6m.9 6.2-12.7 10.8",strokeWidth:"2"}),r.createElement("path",{fill:"#FFF",d:"M39.9 159.4a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m17.7-16.2a5.7 5.7 0 1 1-11.4-1.1 5.7 5.7 0 0 1 11.4 1.1M99 27h29.8a4.6 4.6 0 1 0 0-9.2H99a4.6 4.6 0 1 0 0 9.2m11.4 18.3h29.8a4.6 4.6 0 0 0 0-9.2h-29.8a4.6 4.6 0 1 0 0 9.2"}),r.createElement("path",{fill:"#FFF",d:"M112.8 26.9h15.8a4.6 4.6 0 1 0 0 9.1h-15.8a4.6 4.6 0 0 0 0-9.1m71.7 108.8a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2"}),r.createElement("path",{stroke:"#FFF",d:"m179.3 141.8 12.6 7.1m1.1 7.6-15.2 13",strokeWidth:"2"}),r.createElement("path",{fill:"#FFF",d:"M184.7 170a6.8 6.8 0 1 1-13.6-1.3 6.8 6.8 0 0 1 13.6 1.4m18.6-16.8a6.9 6.9 0 1 1-13.7-1.4 6.9 6.9 0 0 1 13.7 1.4"}),r.createElement("path",{stroke:"#FFF",d:"M152 192.3a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm73.3-76.2a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm-9 35a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.5 0zM177 107.6a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.4-15.4a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0zm6.8 88.5a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.5 0z",strokeWidth:"2"}),r.createElement("path",{stroke:"#FFF",d:"m214.4 153.3-2 20.2-10.8 6m-28-4.7-6.3 9.8H156l-4.5 6.5m23.5-66v-15.7m46 7.8-13 8-15.2-8V94.4",strokeWidth:"2"}),r.createElement("path",{fill:"#FFF",d:"M166.6 66h-4a4.8 4.8 0 0 1-4.7-4.8 4.8 4.8 0 0 1 4.7-4.7h4a4.8 4.8 0 0 1 4.7 4.7 4.8 4.8 0 0 1-4.7 4.7"}),r.createElement("circle",{cx:"204.3",cy:"30",r:"29.5",fill:"#1677ff"}),r.createElement("path",{fill:"#FFF",d:"M206 38.4c.5.5.7 1.1.7 2s-.2 1.4-.7 1.9a3 3 0 0 1-2 .7c-.8 0-1.5-.3-2-.8s-.8-1.1-.8-1.9.3-1.4.8-2c.5-.4 1.2-.7 2-.7.7 0 1.4.3 2 .8m4.2-19.5c1.5 1.3 2.2 3 2.2 5.2a7.2 7.2 0 0 1-1.5 4.5l-3 2.7a5 5 0 0 0-1.3 1.7 5.2 5.2 0 0 0-.6 2.4v.5h-4v-.5c0-1.4.1-2.5.6-3.5s1.9-2.5 4.2-4.5l.4-.5a4 4 0 0 0 1-2.6c0-1.2-.4-2-1-2.8-.7-.6-1.6-1-2.9-1-1.5 0-2.6.5-3.3 1.5-.4.5-.6 1-.8 1.9a2 2 0 0 1-2 1.6 2 2 0 0 1-2-2.4c.4-1.6 1-2.8 2.1-3.8a8.5 8.5 0 0 1 6.3-2.3c2.3 0 4.2.6 5.6 2"}),r.createElement("path",{fill:"#FFB594",d:"M52 76.1s21.8 5.4 27.3 16c5.6 10.7-6.3 9.2-15.7 5C52.8 92 39 85 52 76"}),r.createElement("path",{fill:"#FFC6A0",d:"m90.5 67.5-.5 2.9c-.7.5-4.7-2.7-4.7-2.7l-1.7.8-1.3-5.7s6.8-4.6 9-5c2.4-.5 9.8 1 10.6 2.3 0 0 1.3.4-2.2.6-3.6.3-5 .5-6.8 3.2l-2.4 3.6"}),r.createElement("path",{fill:"#FFF",d:"M128 111.4a36.7 36.7 0 0 0-8.9-15.5c-3.5-3-9.3-2.2-11.3-4.2-1.3-1.2-3.2-1.2-3.2-1.2L87.7 87c-2.3-.4-2.1-.7-6-1.4-1.6-1.9-3-1.1-3-1.1l-7-1.4c-1-1.5-2.5-1-2.5-1l-2.4-.9C65 91.2 59 95 59 95c1.8 1.1 15.7 8.3 15.7 8.3l5.1 37.1s-3.3 5.7 1.4 9.1c0 0 19.9-3.7 34.9-.3 0 0 3-2.6 1-8.8.5-3 1.4-8.3 1.7-11.6.4.7 2 1.9 3.1 3.4 0 0 9.4-7.3 11-14a17 17 0 0 1-2.2-2.4c-.5-.8-.3-2-.7-2.8-.7-1-1.8-1.3-2-1.6"}),r.createElement("path",{fill:"#CBD1D1",d:"M101 290s4.4 2 7.4 1c2.9-1 4.6.7 7.1 1.2 2.6.5 6.9 1.1 11.7-1.3 0-5.5-6.9-4-12-6.7-2.5-1.4-3.7-4.7-3.5-8.8h-9.5s-1.2 10.6-1 14.6"}),r.createElement("path",{fill:"#2B0849",d:"M101 289.8s2.5 1.3 6.8.7c3-.5 3.7.5 7.4 1 3.8.6 10.8 0 11.9-.9.4 1.1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.6-.5-1.8-1.4-5.2-1.9-5.7-.2-4 1-7.4-.3-7.4-.3l-.1-2.7z"}),r.createElement("path",{fill:"#A4AABA",d:"M108.3 276h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6"}),r.createElement("path",{fill:"#CBD1D1",d:"M57.5 272.4s-2 7.4-4.4 12.3c-1.8 3.7-4.3 7.5 5.4 7.5 6.7 0 9-.5 7.4-6.6-1.5-6.1.3-13.2.3-13.2h-8.7z"}),r.createElement("path",{fill:"#2B0849",d:"M51.5 289.8s2 1.2 6.6 1.2c6 0 8.3-1.7 8.3-1.7s.6 1.1-.7 2.2c-1 .8-3.6 1.6-7.4 1.5-4.1 0-5.8-.5-6.7-1.1-.8-.6-.7-1.6-.1-2.1"}),r.createElement("path",{fill:"#A4AABA",d:"M58.4 274.3s0 1.5-.3 3c-.3 1.4-1 3-1.1 4 0 1.2 4.5 1.7 5.1.1.6-1.5 1.3-6.4 2-7.2.6-.9-5-2.2-5.7.1"}),r.createElement("path",{fill:"#7BB2F9",d:"m99.7 278.5 13.3.1s1.3-54.5 1.9-64.4c.5-9.9 3.8-43.4 1-63.1l-12.6-.7-22.8.8-1.2 10c0 .5-.7.8-.7 1.4-.1.5.4 1.3.3 2-2.4 14-6.4 33-8.8 46.6 0 .7-1.2 1-1.4 2.7 0 .3.2 1.5 0 1.8-6.8 18.7-10.9 47.8-14.2 61.9h14.6s2.2-8.6 4-17c2.9-12.9 23.2-85 23.2-85l3-.5 1 46.3s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.8-1 11.8c-.4 4.8 0 39.2 0 39.2"}),r.createElement("path",{stroke:"#648BD8",d:"M76 221.6c1.2.1 4.1-2 7-5m23.4 8.5s2.7-1 6-3.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#648BD8",d:"M107.3 222.1s2.7-1.1 6-3.9",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{stroke:"#648BD8",d:"M74.7 224.8s2.7-.6 6.5-3.4m4.8-69.8c-.2 3.1.3 8.6-4.3 9.2m22-11s0 14-1.4 15.1a15 15 0 0 1-3 2m.5-16.5s0 13-1.2 24.4m-5 1.1s7.3-1.7 9.5-1.7M74.3 206a212 212 0 0 1-1 4.5s-1.4 1.9-1 3.8c.5 2-1 2-5 15.4A353 353 0 0 0 61 257l-.2 1.2m14.9-60.5a321 321 0 0 1-.9 4.8m7.8-50.4-1.2 10.5s-1.1.1-.5 2.2c.1 1.4-2.7 15.8-5.2 30.5m-19.6 79h13.3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#192064",d:"M116.2 148.2s-17-3-35.9.2c.2 2.5 0 4.2 0 4.2s14.7-2.8 35.7-.3c.3-2.4.2-4 .2-4"}),r.createElement("path",{fill:"#FFF",d:"M106.3 151.2v-5a.8.8 0 0 0-.8-.8h-7.8a.8.8 0 0 0-.8.8v5a.8.8 0 0 0 .8.8h7.8a.8.8 0 0 0 .8-.8"}),r.createElement("path",{fill:"#192064",d:"M105.2 150.2v-3a.6.6 0 0 0-.6-.7 94.3 94.3 0 0 0-5.9 0 .7.7 0 0 0-.6.6v3.1a.6.6 0 0 0 .6.7 121.1 121.1 0 0 1 5.8 0c.4 0 .7-.3.7-.7"}),r.createElement("path",{stroke:"#648BD8",d:"M100.3 275.4h12.3m-11.2-4.9.1 6.5m0-12.5a915.8 915.8 0 0 0 0 4.4m-.5-94 .9 44.7s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.2 0 3.4-.6 1.5-1 21.1-1.1 35.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#FFC6A0",d:"M46.9 83.4s-.5 6 7.2 5.6c11.2-.7 9.2-9.4 31.5-21.7-.7-2.7-2.4-4.7-2.4-4.7s-11 3-22.6 8c-6.8 3-13.4 6.4-13.7 12.8m57.6 7.7.9-5.4-8.9-11.4-5 5.3-1.8 7.9a.3.3 0 0 0 .1.3c1 .8 6.5 5 14.4 3.5a.3.3 0 0 0 .3-.2"}),r.createElement("path",{fill:"#FFC6A0",d:"M94 79.4s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.1-3.7c.6-1 1.6-4.1 1.6-4.1l13.5 3c0 5.3-2.3 19.5-7.8 20-8.9.6-12.5-9.5-12.5-9.5"}),r.createElement("path",{fill:"#520038",d:"M113.9 73.4c2.6-2 3.4-9.7 3.4-9.7s-2.4-.5-6.6-2c-4.7-2.1-12.8-4.8-17.5 1-9.6 3.2-2 19.8-2 19.8l2.7-3s-4-3.3-2-6.3c2-3.5 3.8 1 3.8 1s.7-2.3 3.6-3.3c.4-.7 1-2.6 1.4-3.8a1 1 0 0 1 1.3-.7l11.4 2.6c.5.2.8.7.8 1.2l-.3 3.2z"}),r.createElement("path",{fill:"#552950",d:"M105 76c-.1.7-.6 1.1-1 1-.6 0-.9-.6-.8-1.2.1-.6.6-1 1-1 .6 0 .9.7.8 1.3m7.1 1.6c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.5-1 1-1 .5.1.8.7.7 1.3"}),r.createElement("path",{stroke:"#DB836E",d:"m110.1 74.8-.9 1.7-.3 4.3h-2.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#5C2552",d:"M110.8 74.5s1.8-.7 2.6.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#DB836E",d:"M92.4 74.3s.5-1.1 1.1-.7c.6.4 1.3 1.4.6 2-.8.5.1 1.6.1 1.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#5C2552",d:"M103.3 73s1.8 1 4.1.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#DB836E",d:"M103.7 81.8s2.2 1.2 4.4 1.2m-3.5 1.3s1 .4 1.6.3m-11.5-3.4s2.3 7.4 10.4 7.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#E4EBF7",d:"M81.5 89.4s.4 5.6-5 12.8M69 82.7s-.7 9.2-8.2 14.2m68.6 26s-5.3 7.4-9.4 10.7m-.7-26.3s.5 4.4-2.1 32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#F2D7AD",d:"M150 151.2h-49.8a1 1 0 0 1-1-1v-31.7c0-.5.4-1 1-1H150c.6 0 1 .5 1 1v31.7a1 1 0 0 1-1 1"}),r.createElement("path",{fill:"#F4D19D",d:"M150.3 151.2h-19.9v-33.7h20.8v32.8a1 1 0 0 1-1 1"}),r.createElement("path",{fill:"#F2D7AD",d:"M123.6 127.9H92.9a.5.5 0 0 1-.4-.8l6.4-9.1c.2-.3.5-.5.8-.5h31.1l-7.2 10.4z"}),r.createElement("path",{fill:"#CC9B6E",d:"M123.7 128.4H99.2v-.5h24.2l7.2-10.2.4.3z"}),r.createElement("path",{fill:"#F4D19D",d:"M158.3 127.9h-18.7a2 2 0 0 1-1.6-.8l-7.2-9.6h20c.5 0 1 .3 1.2.6l6.7 9a.5.5 0 0 1-.4.8"}),r.createElement("path",{fill:"#CC9B6E",d:"M157.8 128.5h-19.3l-7.9-10.5.4-.3 7.7 10.3h19.1zm-27.2 22.2v-8.2h.4v8.2zm-.1-10.9v-21.4h.4l.1 21.4zm-18.6 1.1-.5-.1 1.5-5.2.5.2zm-3.5.2-2.6-3 2.6-3.4.4.3-2.4 3.1 2.4 2.6zm8.2 0-.4-.4 2.4-2.6-2.4-3 .4-.4 2.7 3.4z"}),r.createElement("path",{fill:"#FFC6A0",d:"m154.3 131.9-3.1-2v3.5l-1 .1a85 85 0 0 1-4.8.3c-1.9 0-2.7 2.2 2.2 2.6l-2.6-.6s-2.2 1.3.5 2.3c0 0-1.6 1.2.6 2.6-.6 3.5 5.2 4 7 3.6a6.1 6.1 0 0 0 4.6-5.2 8 8 0 0 0-3.4-7.2"}),r.createElement("path",{stroke:"#DB836E",d:"M153.7 133.6s-6.5.4-8.4.3c-1.8 0-1.9 2.2 2.4 2.3 3.7.2 5.4 0 5.4 0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#DB836E",d:"M145.2 135.9c-1.9 1.3.5 2.3.5 2.3s3.5 1 6.8.6m-.6 2.9s-6.3.1-6.7-2.1c-.3-1.4.4-1.4.4-1.4m.5 2.7s-1 3.1 5.5 3.5m-.4-14.5v3.5M52.8 89.3a18 18 0 0 0 13.6-7.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#5BA02E",d:"M168.6 248.3a6.6 6.6 0 0 1-6.7-6.6v-66.5a6.6 6.6 0 1 1 13.3 0v66.5a6.6 6.6 0 0 1-6.6 6.6"}),r.createElement("path",{fill:"#92C110",d:"M176.5 247.7a6.6 6.6 0 0 1-6.6-6.7v-33.2a6.6 6.6 0 1 1 13.3 0V241a6.6 6.6 0 0 1-6.7 6.7"}),r.createElement("path",{fill:"#F2D7AD",d:"M186.4 293.6H159a3.2 3.2 0 0 1-3.2-3.2v-46.1a3.2 3.2 0 0 1 3.2-3.2h27.5a3.2 3.2 0 0 1 3.2 3.2v46.1a3.2 3.2 0 0 1-3.2 3.2"}),r.createElement("path",{stroke:"#E4EBF7",d:"M89 89.5s7.8 5.4 16.6 2.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}))),500:()=>r.createElement("svg",{width:"254",height:"294"},r.createElement("title",null,"Server Error"),r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{fill:"#E4EBF7",d:"M0 128.1v-2C0 56.5 56.3.2 125.7.2h2.1C197.2.3 253.5 56.6 253.5 126v2.1c0 69.5-56.3 125.7-125.7 125.7h-2.1A125.7 125.7 0 0 1 0 128.1"}),r.createElement("path",{fill:"#FFF",d:"M40 132.1a8.3 8.3 0 1 1-16.6-1.7 8.3 8.3 0 0 1 16.6 1.7"}),r.createElement("path",{stroke:"#FFF",d:"m37.2 135.6 10.5 6m1 6.3-12.8 10.8",strokeWidth:"2"}),r.createElement("path",{fill:"#FFF",d:"M40.1 160.8a5.7 5.7 0 1 1-11.3-1.1 5.7 5.7 0 0 1 11.3 1.1M58 144.6a5.7 5.7 0 1 1-11.4-1.2 5.7 5.7 0 0 1 11.4 1.2M99.7 27.4h30a4.6 4.6 0 1 0 0-9.2h-30a4.6 4.6 0 0 0 0 9.2M111 46h30a4.6 4.6 0 1 0 0-9.3h-30a4.6 4.6 0 1 0 0 9.3m2.5-18.6h16a4.6 4.6 0 1 0 0 9.3h-16a4.6 4.6 0 0 0 0-9.3m36.7 42.7h-4a4.8 4.8 0 0 1-4.8-4.8 4.8 4.8 0 0 1 4.8-4.8h4a4.8 4.8 0 0 1 4.7 4.8 4.8 4.8 0 0 1-4.7 4.8"}),r.createElement("circle",{cx:"201.35",cy:"30.2",r:"29.7",fill:"#FF603B"}),r.createElement("path",{fill:"#FFF",d:"m203.6 19.4-.7 15a1.5 1.5 0 0 1-3 0l-.7-15a2.2 2.2 0 1 1 4.4 0m-.3 19.4c.5.5.8 1.1.8 1.9s-.3 1.4-.8 1.9a3 3 0 0 1-2 .7 2.5 2.5 0 0 1-1.8-.7c-.6-.6-.8-1.2-.8-2 0-.7.2-1.3.8-1.8.5-.5 1.1-.7 1.8-.7.8 0 1.5.2 2 .7"}),r.createElement("path",{fill:"#FFB594",d:"M119.3 133.3c4.4-.6 3.6-1.2 4-4.8.8-5.2-3-17-8.2-25.1-1-10.7-12.6-11.3-12.6-11.3s4.3 5 4.2 16.2c1.4 5.3.8 14.5.8 14.5s5.3 11.4 11.8 10.5"}),r.createElement("path",{fill:"#FFF",d:"M101 91.6s1.4-.6 3.2.6c8 1.4 10.3 6.7 11.3 11.4 1.8 1.2 1.8 2.3 1.8 3.5l1.5 3s-7.2 1.7-11 6.7c-1.3-6.4-6.9-25.2-6.9-25.2"}),r.createElement("path",{fill:"#FFB594",d:"m94 90.5 1-5.8-9.2-11.9-5.2 5.6-2.6 9.9s8.4 5 16 2.2"}),r.createElement("path",{fill:"#FFC6A0",d:"M83 78.2s-4.6-2.9-2.5-6.9c1.6-3 4.5 1.2 4.5 1.2s.5-3.7 3.2-3.7c.5-1 1.5-4.2 1.5-4.2l13.6 3.2c0 5.2-2.3 19.5-7.9 20-8.9.6-12.5-9.6-12.5-9.6"}),r.createElement("path",{fill:"#520038",d:"M103 72.2c2.6-2 3.5-9.7 3.5-9.7s-2.5-.5-6.7-2c-4.7-2.2-12.9-4.9-17.6.9-9.5 4.4-2 20-2 20l2.7-3.1s-4-3.3-2.1-6.3c2.2-3.5 4 1 4 1s.6-2.3 3.5-3.3c.4-.7 1-2.7 1.5-3.8A1 1 0 0 1 91 65l11.5 2.7c.5.1.8.6.8 1.2l-.3 3.2z"}),r.createElement("path",{fill:"#552950",d:"M101.2 76.5c0 .6-.6 1-1 1-.5-.1-.9-.7-.8-1.3.1-.6.6-1 1.1-1 .5.1.8.7.7 1.3m-7-1.4c0 .6-.5 1-1 1-.5-.1-.8-.7-.7-1.3 0-.6.6-1 1-1 .5.1.9.7.8 1.3"}),r.createElement("path",{stroke:"#DB836E",d:"m99.2 73.6-.9 1.7-.3 4.3h-2.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#5C2552",d:"M100 73.3s1.7-.7 2.4.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#DB836E",d:"M81.4 73s.4-1 1-.6c.7.4 1.4 1.4.6 2s.2 1.6.2 1.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#5C2552",d:"M92.3 71.7s1.9 1.1 4.2 1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#DB836E",d:"M92.7 80.6s2.3 1.2 4.4 1.2m-3.4 1.4s1 .4 1.5.3M83.7 80s1.8 6.6 9.2 8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#E4EBF7",d:"M95.5 91.7s-1 2.8-8.2 2c-7.3-.6-10.3-5-10.3-5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#FFF",d:"M78.1 87.5s6.6 5 16.5 2.5c0 0 9.6 1 11.5 5.3 5.4 11.8.6 36.8 0 40 3.5 4-.4 8.4-.4 8.4-15.7-3.5-35.8-.6-35.8-.6-4.9-3.5-1.3-9-1.3-9l-6.2-23.8c-2.5-15.2.8-19.8 3.5-20.7 3-1 8-1.3 8-1.3.6 0 1.1 0 1.4-.2 2.4-1.3 2.8-.6 2.8-.6"}),r.createElement("path",{fill:"#FFC6A0",d:"M65.8 89.8s-6.8.5-7.6 8.2c-.4 8.8 3 11 3 11s6.1 22 16.9 22.9c8.4-2.2 4.7-6.7 4.6-11.4-.2-11.3-7-17-7-17s-4.3-13.7-9.9-13.7"}),r.createElement("path",{fill:"#FFC6A0",d:"M71.7 124.2s.9 11.3 9.8 6.5c4.8-2.5 7.6-13.8 9.8-22.6A201 201 0 0 0 94 96l-5-1.7s-2.4 5.6-7.7 12.3c-4.4 5.5-9.2 11.1-9.5 17.7"}),r.createElement("path",{stroke:"#E4EBF7",d:"M108.5 105.2s1.7 2.7-2.4 30.5c2.4 2.2 1 6-.2 7.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#FFC6A0",d:"M123.3 131.5s-.5 2.8-11.8 2c-15.2-1-25.3-3.2-25.3-3.2l.9-5.8s.7.2 9.7-.1c11.9-.4 18.7-6 25-1 4 3.2 1.5 8.1 1.5 8.1"}),r.createElement("path",{fill:"#FFF",d:"M70.2 91s-5.6-4.8-11 2.7c-3.3 7.2.5 15.2 2.6 19.5-.3 3.8 2.4 4.3 2.4 4.3s0 1 1.5 2.7c4-7 6.7-9.1 13.7-12.5-.3-.7-1.9-3.3-1.8-3.8.2-1.7-1.3-2.6-1.3-2.6s-.3-.2-1.2-2.8c-.8-2.3-2-5.1-4.9-7.5"}),r.createElement("path",{fill:"#CBD1D1",d:"M90.2 288s4.9 2.3 8.3 1.2c3.2-1 5.2.7 8 1.3a20 20 0 0 0 13.3-1.4c-.2-6.2-7.8-4.5-13.6-7.6-2.9-1.6-4.2-5.3-4-10H91.5s-1.5 12-1.3 16.5"}),r.createElement("path",{fill:"#2B0849",d:"M90.2 287.8s2.8 1.5 7.6.8c3.5-.5 3.3.6 7.5 1.3 4.2.6 13-.2 14.3-1.2.5 1.3-.4 2.4-.4 2.4s-1.7.6-5.4.9c-2.3.1-8.1.3-10.2-.6-2-1.6-4.9-1.5-6-.3-4.5 1.1-7.2-.3-7.2-.3l-.2-3z"}),r.createElement("path",{fill:"#A4AABA",d:"M98.4 272.3h3.5s0 7.5 5.2 9.6c-5.3.7-9.7-2.6-8.7-9.6"}),r.createElement("path",{fill:"#CBD1D1",d:"M44.4 272s-2.2 7.8-4.7 13c-1.9 3.8-4.4 7.8 5.8 7.8 7 0 9.3-.5 7.7-7-1.6-6.3.3-13.8.3-13.8h-9z"}),r.createElement("path",{fill:"#2B0849",d:"M38 290.3s2.3 1.2 7 1.2c6.4 0 8.7-1.7 8.7-1.7s.6 1.1-.7 2.2c-1 1-3.8 1.7-7.7 1.7-4.4 0-6.1-.6-7-1.3-1-.5-.8-1.6-.2-2.1"}),r.createElement("path",{fill:"#A4AABA",d:"M45.3 274s0 1.6-.3 3.1-1.1 3.3-1.2 4.4c0 1.2 4.8 1.6 5.4 0 .7-1.6 1.4-6.8 2-7.6.7-.9-5.1-2.2-5.9.1"}),r.createElement("path",{fill:"#7BB2F9",d:"M89.5 277.6h13.9s1.3-56.6 1.9-66.8c.6-10.3 4-45.1 1-65.6l-13-.7-23.7.8-1.3 10.4c0 .5-.7.9-.8 1.4 0 .6.5 1.4.4 2L59.6 206c-.1.7-1.3 1-1.5 2.8 0 .3.2 1.6.1 1.8-7.1 19.5-12.2 52.6-15.6 67.2h15.1L62 259c3-13.3 24-88.3 24-88.3l3.2-1-.2 48.6s-.2 1.3.4 2.1c.5.8-.6 1.2-.4 2.4l.4 1.8-1 12.4c-.4 4.9 1.2 40.7 1.2 40.7"}),r.createElement("path",{stroke:"#648BD8",d:"M64.6 218.9c1.2 0 4.2-2.1 7.2-5.1m24.2 8.7s3-1.1 6.4-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#648BD8",d:"M97 219.4s2.9-1.2 6.3-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1"}),r.createElement("path",{stroke:"#648BD8",d:"M63.2 222.1s2.7-.6 6.7-3.5m5-72.4c-.3 3.2.3 8.8-4.5 9.4m22.8-11.3s.1 14.6-1.4 15.7c-2.3 1.7-3 2-3 2m.4-17s.3 13-1 25m-4.7.7s6.8-1 9.1-1M46 270l-.9 4.6m1.8-11.3-.8 4.1m16.6-64.9c-.3 1.6 0 2-.4 3.4 0 0-2.8 2-2.3 4s-.3 3.4-4.5 17.2c-1.8 5.8-4.3 19-6.2 28.3l-1.1 5.8m16-67-1 4.9m8.1-52.3-1.2 10.9s-1.2.1-.5 2.3c0 1.4-2.8 16.4-5.4 31.6m-20 82.1h13.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#192064",d:"M106.2 142.1c-3-.5-18.8-2.7-36.2.2a.6.6 0 0 0-.6.7v3a.6.6 0 0 0 .8.6c3.3-.5 17-2.4 35.6-.3.4 0 .7-.2.7-.5.2-1.4.2-2.5.2-3a.6.6 0 0 0-.5-.7"}),r.createElement("path",{fill:"#FFF",d:"M96.4 145.3v-5.1a.8.8 0 0 0-.8-.9 114.1 114.1 0 0 0-8.1 0 .8.8 0 0 0-.9.8v5.1c0 .5.4.9.9.9h8a.8.8 0 0 0 .9-.8"}),r.createElement("path",{fill:"#192064",d:"M95.2 144.3v-3.2a.7.7 0 0 0-.6-.7h-6.1a.7.7 0 0 0-.6.7v3.2c0 .4.3.7.6.7h6c.4 0 .7-.3.7-.7"}),r.createElement("path",{stroke:"#648BD8",d:"M90.1 273.5h12.8m-11.7-3.7v6.3m-.3-12.6v4.5m-.5-97.6 1 46.4s.7 1.6-.3 2.8c-.9 1.1 2.6.7 1 2.3-1.7 1.6.9 1.2 0 3.5-.6 1.6-1 22-1.2 36.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#E4EBF7",d:"M73.7 98.7 76 103s2 .8 1.8 2.7l.8 2.2m-14.3 8.7c.2-1 2.2-7.1 12.6-10.5m.7-16s7.7 6 16.5 2.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#FFC6A0",d:"M92 87s5.5-.9 7.5-4.6c1.3-.3.8 2.2-.3 3.7l-1 1.5s.2.3.2.9c0 .6-.2.6-.3 1v1l-.4 1c-.1.2 0 .6-.2.9-.2.4-1.6 1.8-2.6 2.8-3.8 3.6-5 1.7-6-.4-1-1.8-.7-5.1-.9-6.9-.3-2.9-2.6-3-2-4.4.4-.7 3 .7 3.4 1.8.7 2 2.9 1.8 2.6 1.7"}),r.createElement("path",{stroke:"#DB836E",d:"M99.8 82.4c-.5.1-.3.3-1 1.3-.6 1-4.8 2.9-6.4 3.2-2.5.5-2.2-1.6-4.2-2.9-1.7-1-3.6-.6-1.4 1.4 1 1 1 1.1 1.4 3.2.3 1.5-.7 3.7.7 5.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),r.createElement("path",{stroke:"#E59788",d:"M79.5 108.7c-2 2.9-4.2 6.1-5.5 8.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),r.createElement("path",{fill:"#FFC6A0",d:"M87.7 124.8s-2-2-5.1-2.8c-3-.7-3.6-.1-5.5.1-2 .3-4-.9-3.7.7.3 1.7 5 1 5.2 2.1.2 1.1-6.3 2.8-8.3 2.2-.8.8.5 1.9 2 2.2.3 1.5 2.3 1.5 2.3 1.5s.7 1 2.6 1.1c2.5 1.3 9-.7 11-1.5 2-.9-.5-5.6-.5-5.6"}),r.createElement("path",{stroke:"#E59788",d:"M73.4 122.8s.7 1.2 3.2 1.4c2.3.3 2.6.6 2.6.6s-2.6 3-9.1 2.3m2.3 2.2s3.8 0 5-.7m-2.4 2.2s2 0 3.3-.6m-1 1.7s1.7 0 2.8-.5m-6.8-9s-.6-1.1 1.3-.5c1.7.5 2.8 0 5.1.1 1.4.1 3-.2 4 .2 1.6.8 3.6 2.2 3.6 2.2s10.6 1.2 19-1.1M79 108s-8.4 2.8-13.2 12.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),r.createElement("path",{stroke:"#E4EBF7",d:"M109.3 112.5s3.4-3.6 7.6-4.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#E59788",d:"M107.4 123s9.7-2.7 11.4-.9",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),r.createElement("path",{stroke:"#BFCDDD",d:"m194.6 83.7 4-4M187.2 91l3.7-3.6m.9-3-4.5-4.7m11.2 11.5-4.2-4.3m-65 76.3 3.7-3.7M122.3 170l3.5-3.5m.8-2.9-4.3-4.2M133 170l-4-4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"}),r.createElement("path",{fill:"#A3B4C6",d:"M190.2 211.8h-1.6a4 4 0 0 1-4-4v-32.1a4 4 0 0 1 4-4h1.6a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4"}),r.createElement("path",{fill:"#A3B4C6",d:"M237.8 213a4.8 4.8 0 0 1-4.8 4.8h-86.6a4.8 4.8 0 0 1 0-9.6H233a4.8 4.8 0 0 1 4.8 4.8"}),r.createElement("path",{fill:"#A3B4C6",d:"M154.1 190.1h70.5v-84.6h-70.5z"}),r.createElement("path",{fill:"#BFCDDD",d:"M225 190.1h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2m0-59.3h-71.1a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.3v19a3.2 3.2 0 0 1-3.2 3.1"}),r.createElement("path",{fill:"#FFF",d:"M159.6 120.5a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8v-3.2c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8"}),r.createElement("path",{fill:"#BFCDDD",d:"M225 160.5h-71.2a3.2 3.2 0 0 1-3.2-3.2v-19a3.2 3.2 0 0 1 3.2-3.2h71.1a3.2 3.2 0 0 1 3.2 3.2v19a3.2 3.2 0 0 1-3.2 3.2"}),r.createElement("path",{stroke:"#7C90A5",d:"M173.5 130.8h49.3m-57.8 0h6m-15 0h6.7m11.1 29.8h49.3m-57.7 0h6m-15.8 0h6.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#FFF",d:"M159.6 151a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V147c0-.4.3-.8.8-.8h22.4c.5 0 .8.4.8.8v3.2c0 .5-.3.8-.8.8m-63 29a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.5 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m7.4 0a2.4 2.4 0 1 1 0-4.8 2.4 2.4 0 0 1 0 4.8m48.1 0h-22.4a.8.8 0 0 1-.8-.8V176c0-.5.3-.8.8-.8h22.4c.5 0 .8.3.8.8v3.2c0 .4-.3.8-.8.8"}),r.createElement("path",{fill:"#BFCDDD",d:"M203 221.1h-27.3a2.4 2.4 0 0 1-2.4-2.4v-11.4a2.4 2.4 0 0 1 2.4-2.5H203a2.4 2.4 0 0 1 2.4 2.5v11.4a2.4 2.4 0 0 1-2.4 2.4"}),r.createElement("path",{stroke:"#A3B4C6",d:"M177.3 207.2v11.5m23.8-11.5v11.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#5BA02E",d:"M162.9 267.9a9.4 9.4 0 0 1-9.4-9.4v-14.8a9.4 9.4 0 0 1 18.8 0v14.8a9.4 9.4 0 0 1-9.4 9.4"}),r.createElement("path",{fill:"#92C110",d:"M171.2 267.8a9.4 9.4 0 0 1-9.4-9.4V255a9.4 9.4 0 0 1 18.8 0v3.4a9.4 9.4 0 0 1-9.4 9.4"}),r.createElement("path",{fill:"#F2D7AD",d:"M181.3 293.7h-27.7a3.2 3.2 0 0 1-3.2-3.2v-20.7a3.2 3.2 0 0 1 3.2-3.2h27.7a3.2 3.2 0 0 1 3.2 3.2v20.7a3.2 3.2 0 0 1-3.2 3.2"}))),403:()=>r.createElement("svg",{width:"251",height:"294"},r.createElement("title",null,"Unauthorized"),r.createElement("g",{fill:"none",fillRule:"evenodd"},r.createElement("path",{fill:"#E4EBF7",d:"M0 129v-2C0 58.3 55.6 2.7 124.2 2.7h2c68.6 0 124.2 55.6 124.2 124.1v2.1c0 68.6-55.6 124.2-124.1 124.2h-2.1A124.2 124.2 0 0 1 0 129"}),r.createElement("path",{fill:"#FFF",d:"M41.4 133a8.2 8.2 0 1 1-16.4-1.7 8.2 8.2 0 0 1 16.4 1.6"}),r.createElement("path",{stroke:"#FFF",d:"m38.7 136.4 10.4 5.9m.9 6.2-12.6 10.7",strokeWidth:"2"}),r.createElement("path",{fill:"#FFF",d:"M41.5 161.3a5.6 5.6 0 1 1-11.2-1.2 5.6 5.6 0 0 1 11.2 1.2m17.7-16a5.7 5.7 0 1 1-11.3-1.2 5.7 5.7 0 0 1 11.3 1.2m41.2-115.8H130a4.6 4.6 0 1 0 0-9.1h-29.6a4.6 4.6 0 0 0 0 9.1m11.3 18.3h29.7a4.6 4.6 0 1 0 0-9.2h-29.7a4.6 4.6 0 1 0 0 9.2"}),r.createElement("path",{fill:"#FFF",d:"M114 29.5h15.8a4.6 4.6 0 1 0 0 9.1H114a4.6 4.6 0 0 0 0-9.1m71.3 108.2a10 10 0 1 1-19.8-2 10 10 0 0 1 19.8 2"}),r.createElement("path",{stroke:"#FFF",d:"m180.2 143.8 12.5 7.1m1.1 7.5-15.1 13",strokeWidth:"2"}),r.createElement("path",{fill:"#FFF",d:"M185.6 172a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.5 1.3m18.6-16.6a6.8 6.8 0 1 1-13.6-1.4 6.8 6.8 0 0 1 13.6 1.4"}),r.createElement("path",{stroke:"#FFF",d:"M153 194a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm73-75.8a2.2 2.2 0 1 1-4.5 0 2.2 2.2 0 0 1 4.4 0zm-9 34.9a2.2 2.2 0 1 1-4.3 0 2.2 2.2 0 0 1 4.4 0zm-39.2-43.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm18.3-15.3a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0zm6.7 88a2.2 2.2 0 1 1-4.4 0 2.2 2.2 0 0 1 4.4 0z",strokeWidth:"2"}),r.createElement("path",{stroke:"#FFF",d:"m215.1 155.3-1.9 20-10.8 6m-27.8-4.7-6.3 9.8H157l-4.5 6.4m23.4-65.5v-15.7m45.6 7.8-12.8 7.9-15.2-7.9V96.7",strokeWidth:"2"}),r.createElement("path",{fill:"#A26EF4",d:"M180.7 29.3a29.3 29.3 0 1 1 58.6 0 29.3 29.3 0 0 1-58.6 0"}),r.createElement("path",{fill:"#FFF",d:"m221.4 41.7-21.5-.1a1.7 1.7 0 0 1-1.7-1.8V27.6a1.7 1.7 0 0 1 1.8-1.7h21.5c1 0 1.8.9 1.8 1.8l-.1 12.3a1.7 1.7 0 0 1-1.7 1.7"}),r.createElement("path",{fill:"#FFF",d:"M215.1 29.2c0 2.6-2 4.6-4.5 4.6a4.6 4.6 0 0 1-4.5-4.7v-6.9c0-2.6 2-4.6 4.6-4.6 2.5 0 4.5 2 4.4 4.7v6.9zm-4.5-14a6.9 6.9 0 0 0-7 6.8v7.3a6.9 6.9 0 0 0 13.8.1V22a6.9 6.9 0 0 0-6.8-6.9zm-43 53.2h-4a4.7 4.7 0 0 1-4.7-4.8 4.7 4.7 0 0 1 4.7-4.7h4a4.7 4.7 0 0 1 4.7 4.8 4.7 4.7 0 0 1-4.7 4.7"}),r.createElement("path",{fill:"#5BA02E",d:"M168.2 248.8a6.6 6.6 0 0 1-6.6-6.6v-66a6.6 6.6 0 0 1 13.2 0v66a6.6 6.6 0 0 1-6.6 6.6"}),r.createElement("path",{fill:"#92C110",d:"M176.1 248.2a6.6 6.6 0 0 1-6.6-6.6v-33a6.6 6.6 0 1 1 13.3 0v33a6.6 6.6 0 0 1-6.7 6.6"}),r.createElement("path",{fill:"#F2D7AD",d:"M186 293.9h-27.4a3.2 3.2 0 0 1-3.2-3.2v-45.9a3.2 3.2 0 0 1 3.2-3.1H186a3.2 3.2 0 0 1 3.2 3.1v46a3.2 3.2 0 0 1-3.2 3"}),r.createElement("path",{fill:"#FFF",d:"M82 147.7s6.3-1 17.5-1.3c11.8-.4 17.6 1 17.6 1s3.7-3.8 1-8.3c1.3-12.1 6-32.9.3-48.3-1.1-1.4-3.7-1.5-7.5-.6-1.4.3-7.2-.2-8-.1l-15.3-.4-8-.5c-1.6-.1-4.3-1.7-5.5-.3-.4.4-2.4 5.6-2 16l8.7 35.7s-3.2 3.6 1.2 7"}),r.createElement("path",{fill:"#FFC6A0",d:"m75.8 73.3-1-6.4 12-6.5s7.4-.1 8 1.2c.8 1.3-5.5 1-5.5 1s-1.9 1.4-2.6 2.5c-1.7 2.4-1 6.5-8.4 6-1.7.3-2.5 2.2-2.5 2.2"}),r.createElement("path",{fill:"#FFB594",d:"M52.4 77.7S66.7 87 77.4 92c1 .5-2 16.2-11.9 11.8-7.4-3.3-20.1-8.4-21.5-14.5-.7-3.2 2.6-7.6 8.4-11.7M142 80s-6.7 3-13.9 6.9c-3.9 2.1-10.1 4.7-12.3 8-6.2 9.3 3.5 11.2 13 7.5 6.6-2.7 29-12.1 13.2-22.4"}),r.createElement("path",{fill:"#FFC6A0",d:"m76.2 66.4 3 3.8S76.4 73 73 76c-7 6.2-12.8 14.3-16 16.4-4 2.7-9.7 3.3-12.2 0-3.5-5.1.5-14.7 31.5-26"}),r.createElement("path",{fill:"#FFF",d:"M64.7 85.1s-2.4 8.4-9 14.5c.7.5 18.6 10.5 22.2 10 5.2-.6 6.4-19 1.2-20.5-.8-.2-6-1.3-8.9-2.2-.9-.2-1.6-1.7-3.5-1l-2-.8zm63.7.7s5.3 2 7.3 13.8c-.6.2-17.6 12.3-21.8 7.8-6.6-7-.8-17.4 4.2-18.6 4.7-1.2 5-1.4 10.3-3"}),r.createElement("path",{stroke:"#E4EBF7",d:"M78.2 94.7s.9 7.4-5 13",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#E4EBF7",d:"M87.4 94.7s3.1 2.6 10.3 2.6c7.1 0 9-3.5 9-3.5",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".9"}),r.createElement("path",{fill:"#FFC6A0",d:"m117.2 68.6-6.8-6.1s-5.4-4.4-9.2-1c-3.9 3.5 4.4 2.2 5.6 4.2 1.2 2.1.9 1.2-2 .5-5.7-1.4-2.1.9 3 5.3 2 1.9 7 1 7 1l2.4-3.9z"}),r.createElement("path",{fill:"#FFB594",d:"m105.3 91.3-.3-11H89l-.5 10.5c0 .4.2.8.6 1 2 1.3 9.3 5 15.8.4.2-.2.4-.5.4-.9"}),r.createElement("path",{fill:"#5C2552",d:"M107.6 74.2c.8-1.1 1-9 1-11.9a1 1 0 0 0-1-1l-4.6-.4c-7.7-1-17 .6-18.3 6.3-5.4 5.9-.4 13.3-.4 13.3s2 3.5 4.3 6.8c.8 1 .4-3.8 3-6a47.9 47.9 0 0 1 16-7"}),r.createElement("path",{fill:"#FFC6A0",d:"M88.4 83.2s2.7 6.2 11.6 6.5c7.8.3 9-7 7.5-17.5l-1-5.5c-6-2.9-15.4.6-15.4.6s-.6 2-.2 5.5c-2.3 2-1.8 5.6-1.8 5.6s-1-2-2-2.3c-.9-.3-2 0-2.3 2-1 4.6 3.6 5.1 3.6 5.1"}),r.createElement("path",{stroke:"#DB836E",d:"m100.8 77.1 1.7-1-1-4.3.7-1.4",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#552950",d:"M105.5 74c0 .8-.4 1.4-1 1.4-.4 0-.8-.7-.8-1.4s.5-1.2 1-1.2.9.6.8 1.3m-8 .2c0 .8-.4 1.3-.9 1.3s-.9-.6-.9-1.3c0-.7.5-1.3 1-1.3s1 .6.9 1.3"}),r.createElement("path",{stroke:"#DB836E",d:"M91.1 86.8s5.3 5 12.7 2.3",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#DB836E",d:"M99.8 81.9s-3.6.2-1.5-2.8c1.6-1.5 5-.4 5-.4s1 3.9-3.5 3.2"}),r.createElement("path",{stroke:"#5C2552",d:"M102.9 70.6s2.5.8 3.4.7m-12.4.7s2.5-1.2 4.8-1.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),r.createElement("path",{stroke:"#DB836E",d:"M86.3 77.4s1 .9 1.5 2c-.4.6-1 1.2-.3 1.9m11.8 2.4s2 .2 2.5-.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#E4EBF7",d:"m87.8 115.8 15.7-3m-3.3 3 10-2m-43.7-27s-1.6 8.8-6.7 14M128.3 88s3 4 4 11.7",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#DB836E",d:"M64 84.8s-6 10-13.5 10",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),r.createElement("path",{fill:"#FFC6A0",d:"m112.4 66-.2 5.2 12 9.2c4.5 3.6 8.9 7.5 11 8.7 4.8 2.8 8.9 3.3 11 1.8 4.1-2.9 4.4-9.9-8.1-15.3-4.3-1.8-16.1-6.3-25.7-9.7"}),r.createElement("path",{stroke:"#DB836E",d:"M130.5 85.5s4.6 5.7 11.7 6.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:".8"}),r.createElement("path",{stroke:"#E4EBF7",d:"M121.7 105.7s-.4 8.6-1.3 13.6",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#648BD8",d:"M115.8 161.5s-3.6-1.5-2.7-7.1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#CBD1D1",d:"M101.5 290.2s4.3 2.1 7.4 1c2.9-.9 4.6.7 7.2 1.3 2.5.5 6.9 1 11.7-1.3 0-5.6-7-4-12-6.8-2.6-1.4-3.8-4.7-3.6-8.8h-9.5s-1.4 10.6-1.2 14.6"}),r.createElement("path",{fill:"#2B0849",d:"M101.5 290s2.4 1.4 6.8.7c3-.4 3.7.5 7.5 1 3.7.6 10.8 0 11.9-.8.4 1-.4 2-.4 2s-1.5.7-4.8.9c-2 .1-5.8.3-7.7-.5-1.8-1.4-5.2-2-5.7-.3-4 1-7.4-.3-7.4-.3l-.2-2.6z"}),r.createElement("path",{fill:"#A4AABA",d:"M108.8 276.2h3.1s0 6.7 4.6 8.6c-4.7.6-8.6-2.3-7.7-8.6"}),r.createElement("path",{fill:"#CBD1D1",d:"M57.6 272.5s-2 7.5-4.5 12.4c-1.8 3.7-4.2 7.6 5.5 7.6 6.7 0 9-.5 7.5-6.7-1.5-6.1.3-13.3.3-13.3h-8.8z"}),r.createElement("path",{fill:"#2B0849",d:"M51.5 290s2.2 1.2 6.7 1.2c6.1 0 8.3-1.6 8.3-1.6s.6 1-.6 2.1c-1 .9-3.6 1.6-7.4 1.6-4.2 0-6-.6-6.8-1.2-.9-.5-.7-1.6-.2-2"}),r.createElement("path",{fill:"#A4AABA",d:"M58.5 274.4s0 1.6-.3 3-1 3.1-1.1 4.2c0 1.1 4.5 1.5 5.2 0 .6-1.6 1.3-6.5 1.9-7.3.6-.8-5-2.1-5.7.1"}),r.createElement("path",{fill:"#7BB2F9",d:"m100.9 277 13.3.1s1.3-54.2 1.8-64c.6-9.9 3.8-43.2 1-62.8l-12.4-.7-22.8.8-1.2 10c0 .4-.6.8-.7 1.3 0 .6.4 1.3.3 2-2.3 14-6.3 32.9-8.7 46.4-.1.6-1.2 1-1.4 2.6 0 .3.2 1.6 0 1.8-6.8 18.7-10.8 47.6-14.1 61.6h14.5s2.2-8.6 4-17a3984 3984 0 0 1 23-84.5l3-.5 1 46.1s-.2 1.2.4 2c.5.8-.6 1.1-.4 2.3l.4 1.7-1 11.9c-.4 4.6 0 39 0 39"}),r.createElement("path",{stroke:"#648BD8",d:"M77.4 220.4c1.2.1 4-2 7-4.9m23.1 8.4s2.8-1 6.1-3.8",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{stroke:"#648BD8",d:"M108.5 221s2.7-1.2 6-4",strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{stroke:"#648BD8",d:"M76.1 223.6s2.6-.6 6.5-3.4m4.7-69.4c-.2 3.1.3 8.5-4.3 9m21.8-10.7s.1 14-1.3 15c-2.2 1.6-3 1.9-3 1.9m.5-16.4s0 12.8-1.2 24.3m-4.9 1s7.2-1.6 9.4-1.6m-28.6 31.5-1 4.5s-1.5 1.8-1 3.7c.4 2-1 2-5 15.3-1.7 5.6-4.4 18.5-6.3 27.5l-4 18.4M77 196.7a313.3 313.3 0 0 1-.8 4.8m7.7-50-1.2 10.3s-1 .2-.5 2.3c.1 1.3-2.6 15.6-5.1 30.2M57.6 273h13.2",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"}),r.createElement("path",{fill:"#192064",d:"M117.4 147.4s-17-3-35.7.2v4.2s14.6-2.9 35.5-.4l.2-4"}),r.createElement("path",{fill:"#FFF",d:"M107.5 150.4v-5a.8.8 0 0 0-.8-.7H99a.8.8 0 0 0-.7.8v4.8c0 .5.3.9.8.8a140.8 140.8 0 0 1 7.7 0 .8.8 0 0 0 .8-.7"}),r.createElement("path",{fill:"#192064",d:"M106.4 149.4v-3a.6.6 0 0 0-.6-.7 94.1 94.1 0 0 0-5.8 0 .6.6 0 0 0-.7.7v3c0 .4.3.7.7.7h5.7c.4 0 .7-.3.7-.7"}),r.createElement("path",{stroke:"#648BD8",d:"M101.5 274h12.3m-11.1-5v6.5m0-12.4v4.3m-.5-93.4.9 44.4s.7 1.6-.2 2.7c-1 1.1 2.4.7.9 2.2-1.6 1.6.9 1.1 0 3.4-.6 1.5-1 21-1.1 35",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.1"})))},A=Object.keys(g),$=({icon:e,status:t,className:a,style:n})=>{if(A.includes(`${t}`)){let e=g[t];return r.createElement("div",{className:a,style:n},r.createElement(e,null))}let l=r.createElement(v[t]);return null===e||!1===e?null:r.createElement("div",{className:a,style:n},e||l)},B=({className:e,extra:t,style:a})=>(0,E.AZ)(t)?r.createElement("div",{className:e,style:a},t):null,L=e=>{let{prefixCls:t,className:a,rootClassName:n,subTitle:l,title:c,style:o,children:i,status:s="info",icon:d,extra:f,styles:u,classNames:F,...v}=e,{getPrefixCls:g,direction:L,className:z,style:b,classNames:j,styles:C}=(0,k.TP)("result"),D={...e,status:s},W=(0,p.XT)(b),y=(0,p.XT)(o),[w,x]=(0,p.AV)([j,F],[C,W,u,y],{props:D}),S=g("result",t),[O,H]=M(S),V=(0,m.$)(S,`${S}-${s}`,a,z,n,{[`${S}-rtl`]:"rtl"===L},O,H,w.root),I=(0,m.$)(`${S}-title`,w.title),N=(0,m.$)(`${S}-subtitle`,w.subTitle),T=(0,m.$)(`${S}-extra`,w.extra),P=(0,m.$)(`${S}-body`,w.body),R=(0,m.$)(`${S}-icon`,{[`${S}-image`]:A.includes(`${s}`)},w.icon),_={...x.root},G=(0,h.KE)(v,{aria:!0,data:!0});return r.createElement("div",{...G,className:V,style:_},r.createElement($,{className:R,style:x.icon,status:s,icon:d}),(0,E.AZ)(c)&&r.createElement("div",{className:I,style:x.title},c),(0,E.AZ)(l)&&r.createElement("div",{className:N,style:x.subTitle},l),r.createElement(B,{className:T,extra:f,style:x.extra}),(0,E.AZ)(i)&&r.createElement("div",{className:P,style:x.body},i))};L.PRESENTED_IMAGE_403=g["403"],L.PRESENTED_IMAGE_404=g["404"],L.PRESENTED_IMAGE_500=g["500"];let z=L},40992:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"}},44400:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(66400),l=a(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(l.A,c({},e,{ref:t,icon:n.A})))},48156:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(1676),l=a(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(l.A,c({},e,{ref:t,icon:n.A})))},49075:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(87715),l=a(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(l.A,c({},e,{ref:t,icon:n.A})))},55122:(e,t,a)=>{a.d(t,{A:()=>f});var r=a(97109),n=a(3638),l=a(5045),c=a(92162),o=a(26047),i=a(74567),s=a(27273),d=a(15561),h=a(7961),m=a(10540),p=a(28403);let E=(0,m.OF)("Divider",e=>{let t=(0,p.oX)(e,{dividerHorizontalWithTextGutterMargin:e.margin,sizePaddingEdgeHorizontal:0});return[(e=>{let{componentCls:t,sizePaddingEdgeHorizontal:a,colorSplit:r,lineWidth:n,textPaddingInline:l,orientationMargin:c,verticalMarginInline:o}=e,i=`${t}-rail`;return{[t]:{...(0,h.dF)(e),borderBlockStart:`${(0,d.zA)(n)} solid ${r}`,[i]:{borderBlockStart:`${(0,d.zA)(n)} solid ${r}`},"&-vertical":{position:"relative",top:"-0.06em",display:"inline-block",height:"0.9em",marginInline:o,marginBlock:0,verticalAlign:"middle",borderTop:0,borderInlineStart:`${(0,d.zA)(n)} solid ${r}`},"&-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 ${r}`,[`${i}-start, ${i}-end`]:{width:"50%",borderBlockStartColor:"inherit",borderBlockEnd:0,content:"''"}},[`&-horizontal${t}-with-text-start`]:{[`${i}-start`]:{width:`calc(${c} * 100%)`},[`${i}-end`]:{width:`calc(100% - ${c} * 100%)`}},[`&-horizontal${t}-with-text-end`]:{[`${i}-start`]:{width:`calc(100% - ${c} * 100%)`},[`${i}-end`]:{width:`calc(${c} * 100%)`}},[`${t}-inner-text`]:{display:"inline-block",paddingBlock:0,paddingInline:l},"&-dashed":{background:"none",borderColor:r,borderStyle:"dashed",borderWidth:`${(0,d.zA)(n)} 0 0`,[i]:{borderBlockStart:`${(0,d.zA)(n)} dashed ${r}`}},[`&-horizontal${t}-with-text${t}-dashed`]:{[`${i}-start, ${i}-end`]:{borderStyle:"dashed none none"}},[`&-vertical${t}-dashed`]:{borderInlineStartWidth:n,borderInlineEnd:0,borderBlockStart:0,borderBlockEnd:0},"&-dotted":{background:"none",borderColor:r,borderStyle:"dotted",borderWidth:`${(0,d.zA)(n)} 0 0`,[i]:{borderBlockStart:`${(0,d.zA)(n)} dotted ${r}`}},[`&-horizontal${t}-with-text${t}-dotted`]:{"&::before, &::after":{borderStyle:"dotted none none"}},[`&-vertical${t}-dotted`]:{borderInlineStartWidth:n,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`]:{[`${i}-start`]:{width:0},[`${i}-end`]:{width:"100%"},[`${t}-inner-text`]:{paddingInlineStart:a}},[`&-horizontal${t}-with-text-end${t}-no-default-orientation-margin-end`]:{[`${i}-start`]:{width:"100%"},[`${i}-end`]:{width:0},[`${t}-inner-text`]:{paddingInlineEnd:a}}}}})(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}}),k=["left","right","center","start","end"],f=e=>{let{getPrefixCls:t,direction:a,className:d,style:h,classNames:m,styles:p}=(0,i.TP)("divider"),{prefixCls:f,type:u,orientation:F,vertical:M,titlePlacement:v,orientationMargin:g,className:A,rootClassName:$,children:B,dashed:L,variant:z="solid",plain:b,style:j,size:C,classNames:D,styles:W,...y}=e,w=t("divider",f),x=`${w}-rail`,[S,O]=E(w),H=(0,s.A)(C),V=!!B,I=k.includes(F||""),N=r.useMemo(()=>{let e=v??(I?F:"center");return"left"===e?"rtl"===a?"end":"start":"right"===e?"rtl"===a?"start":"end":e},[a,F,v,I]),T="start"===N&&null!=g,P="end"===N&&null!=g,[R,_]=(0,l.M)(F,M,u),G={...e,orientation:R,titlePlacement:N,size:H},[X,Z]=(0,c.AV)([m,D],[p,W],{props:G}),q=(0,n.$)(w,d,S,O,`${w}-${R}`,{[`${w}-with-text`]:V,[`${w}-with-text-${N}`]:V,[`${w}-dashed`]:!!L,[`${w}-${z}`]:"solid"!==z,[`${w}-plain`]:!!b,[`${w}-rtl`]:"rtl"===a,[`${w}-no-default-orientation-margin-start`]:T,[`${w}-no-default-orientation-margin-end`]:P,[`${w}-md`]:"medium"===H||"middle"===H,[`${w}-sm`]:"small"===H,[x]:!B,[X.rail]:X.rail&&!B},A,$,X.root),K=r.useMemo(()=>(0,o.Et)(g)?g:/^\d+$/.test(g)?Number(g):g,[g]);return r.createElement("div",{className:q,style:{...h,...Z.root,...B?{}:Z.rail,...j},...y,role:"separator"},B&&!_&&r.createElement(r.Fragment,null,r.createElement("div",{className:(0,n.$)(x,`${x}-start`,X.rail),style:Z.rail}),r.createElement("span",{className:(0,n.$)(`${w}-inner-text`,X.content),style:{marginInlineStart:T?K:void 0,marginInlineEnd:P?K:void 0,...Z.content}},B),r.createElement("div",{className:(0,n.$)(x,`${x}-end`,X.rail),style:Z.rail})))}},56398:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"download",theme:"outlined"}},60182:(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-372 0-89 31.3-170.8 83.5-234.8l523.3 523.3C682.8 852.7 601 884 512 884zm288.5-137.2L277.2 223.5C341.2 171.3 423 140 512 140c205.4 0 372 166.6 372 372 0 89-31.3 170.8-83.5 234.8z"}}]},name:"stop",theme:"outlined"}},63046:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(60182),l=a(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(l.A,c({},e,{ref:t,icon:n.A})))},64068:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(76148),l=a(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(l.A,c({},e,{ref:t,icon:n.A})))},66400:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440zm644-436h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74z"}}]},name:"sliders",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"}},76830:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(56398),l=a(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(l.A,c({},e,{ref:t,icon:n.A})))},87715:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M952 474H829.8C812.5 327.6 696.4 211.5 550 194.2V72c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v122.2C327.6 211.5 211.5 327.6 194.2 474H72c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h122.2C211.5 696.4 327.6 812.5 474 829.8V952c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V829.8C696.4 812.5 812.5 696.4 829.8 550H952c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zM512 756c-134.8 0-244-109.2-244-244s109.2-244 244-244 244 109.2 244 244-109.2 244-244 244z"}},{tag:"path",attrs:{d:"M512 392c-32.1 0-62.1 12.4-84.8 35.2-22.7 22.7-35.2 52.7-35.2 84.8s12.5 62.1 35.2 84.8C449.9 619.4 480 632 512 632s62.1-12.5 84.8-35.2C619.4 574.1 632 544 632 512s-12.5-62.1-35.2-84.8A118.57 118.57 0 00512 392z"}}]},name:"aim",theme:"outlined"}},99811:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(14995),l=a(88483);function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var r in a)Object.prototype.hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(this,arguments)}let o=r.forwardRef((e,t)=>r.createElement(l.A,c({},e,{ref:t,icon:n.A})))}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[795],{27795:(e,t,a)=>{a.r(t),a.d(t,{default:()=>k});var s=a(65321),l=a(97109),o=a(32244),r=a(17807),n=a(33442),c=a(85114),i=a(99605),d=a(11702),x=a(48399),v=a(25258),u=a(99811),m=a(13114),h=a(29071),g=a(26631),p=a(84742),j=a(38762),f=a(24810),y=a(6578),w=a(45551),N=a(85310);function b(e){let{title:t,value:a,subtext:l,icon:o,colorClass:r,animationClass:n}=e;return(0,s.jsxs)("div",{className:"p-4 ".concat(N.wD," flex flex-col justify-between animateFadeIn ").concat(n||""),style:{opacity:0},children:[(0,s.jsxs)("div",{className:"flex items-start justify-between mb-2",children:[(0,s.jsx)("div",{className:"text-xs font-semibold text-[var(--colorTextSecondary)] tracking-wide uppercase",children:t}),o&&(0,s.jsx)("div",{className:r,style:{opacity:.7},children:o})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-3xl font-bold tracking-tight",children:a}),l&&(0,s.jsx)("div",{className:"text-xs mt-1 truncate font-medium",style:{color:"var(--colorTextTertiary)"},children:l})]})]})}function k(){var e,t,a,k,T,S,C,A,D,M,B,z,F,U,I,P,L,O,Z,R,W,_,E;let J=(0,o.Vr)(),{locale:K}=(0,o.x_)(),{message:Q}=r.A.useApp(),[V,G]=(0,l.useState)(null),[H,q]=(0,l.useState)(!0),[X,Y]=(0,l.useState)(0),[$,ee]=(0,l.useState)(0),[et,ea]=(0,l.useState)(0),[es,el]=(0,l.useState)(0),[eo,er]=(0,l.useState)(null),[en,ec]=(0,l.useState)(null),[ei,ed]=(0,l.useState)(null),[ex,ev]=(0,l.useState)(!1),[eu,em]=(0,l.useState)(null),[eh,eg]=(0,l.useState)(null),[ep,ej]=(0,l.useState)(!1),[ef,ey]=(0,l.useState)([]),[ew,eN]=(0,l.useState)(!1),[eb,ek]=(0,l.useState)(null),[eT,eS]=(0,l.useState)([]),eC=(0,l.useCallback)(async()=>{q(!0);try{let e=[],t=(t,a,s)=>a.catch(()=>(e.push(t),s)),[a,s,l,o,r,n]=await Promise.all([t("系统统计",(0,y.FC)(),null),t("模型供应商",(0,y.Z3)(),[]),t("提示词",(0,y.dx)(),[]),t("生成记录",(0,y.cQ)(),{documents:[]}),t("嵌入配置",(0,y.II)(),null),t("资料分类",(0,y.BO)(),[])]);eS(e),a&&G(a),Y(Array.isArray(s)?s.length:0),ee(Array.isArray(l)?l.length:0),ea(Array.isArray(o.documents)?o.documents.length:0),el(Array.isArray(n)?n.filter(e=>e.fileCount>0).length:0),er(r),ec(Date.now())}catch(e){}finally{q(!1)}},[]),eA=(0,l.useCallback)(async e=>{let t=(null==e?void 0:e.silent)===!0;ev(!0);let a=Date.now(),s="overview-health-recheck";t||Q.loading({content:"正在体检…",key:s,duration:0});try{let e=await (0,y.nn)();ed(e);let l=Date.now()-a;em(a),eg(l),t||Q.success({content:"体检完成,耗时 ".concat(l," ms"),key:s})}catch(e){t||Q.error({content:"体检失败,请稍后重试",key:s})}finally{ev(!1)}},[Q]);(0,l.useEffect)(()=>{eC(),eA({silent:!0});let e=setInterval(()=>{eC()},1e4);return()=>clearInterval(e)},[eC,eA]);let eD=(null==V?void 0:V.tasks.total)?Math.round(V.tasks.success/V.tasks.total*100):null,eM=null==V||null==(e=V.models)?void 0:e[0],eB=(null==V?void 0:V.logs.latestAt)?(0,w.fw)(new Date(V.logs.latestAt).getTime(),K):J("overview.noLogs");return(0,s.jsxs)("div",{className:"space-y-6",children:[eT.length>0&&(0,s.jsx)("div",{role:"alert",className:"rounded-xl border border-[var(--colorDanger)]/30 bg-[var(--colorDanger)]/10 px-4 py-3 text-sm text-[var(--colorDanger)]",children:"".concat(eT.length," 项数据读取失败:").concat(eT.join("、"),"——相关读数显示为「—」(未知),**不代表 0**;请稍后重试或查看服务端日志。")}),(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-end justify-between gap-4 pb-6 border-b border-[var(--borderColor)]",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"text-3xl font-extrabold tracking-tight text-[var(--colorText)] mb-2",children:J("overview.title")}),(0,s.jsx)("p",{className:"text-sm text-[var(--colorTextSecondary)]",children:J("overview.description")})]}),(0,s.jsxs)(n.A,{children:[(0,s.jsxs)("span",{className:"text-xs font-mono",style:{color:"var(--colorTextTertiary)"},children:[J("overview.updated"),": ",en?new Date(en).toLocaleTimeString(K):"—"]}),(0,s.jsx)(c.Ay,{type:"text",icon:(0,s.jsx)(u.A,{spin:H}),onClick:()=>{eC()}})]})]}),(0,s.jsx)(N.Zk,{title:J("overview.coreMetrics"),description:J("overview.coreMetricsDesc"),children:(0,s.jsxs)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:[(0,s.jsx)(b,{title:J("overview.uptime"),value:(0,w.je)(null!=(a=null==V?void 0:V.serviceUptimeSeconds)?a:0,K),subtext:"".concat(J("overview.processUptime")," ").concat((0,w.je)(null!=(k=null==V?void 0:V.uptime)?k:0,K)),icon:(0,s.jsx)(m.A,{size:16}),colorClass:"text-[var(--colorBrand)]",animationClass:"stagger-1"}),(0,s.jsx)(b,{title:J("overview.tokensUsed"),value:(null!=(T=null==V?void 0:V.tokens.total)?T:0).toLocaleString(),subtext:"P ".concat(null!=(S=null==V?void 0:V.tokens.prompt)?S:0," / C ").concat(null!=(C=null==V?void 0:V.tokens.completion)?C:0),icon:(0,s.jsx)(h.A,{size:16}),colorClass:"text-[var(--colorWarn)]",animationClass:"stagger-2"}),(0,s.jsx)(b,{title:J("overview.tasksTotal"),value:(null!=(A=null==V?void 0:V.tasks.total)?A:0).toLocaleString(),subtext:"✓ ".concat(null!=(D=null==V?void 0:V.tasks.success)?D:0," | ✗ ").concat(null!=(M=null==V?void 0:V.tasks.failed)?M:0," | ↻ ").concat(null!=(B=null==V?void 0:V.tasks.running)?B:0),icon:(0,s.jsx)(g.A,{size:16}),colorClass:"text-[var(--colorInfo)]",animationClass:"stagger-3"}),(0,s.jsx)(b,{title:J("overview.successRate"),value:null===eD?"—":"".concat(eD,"%"),subtext:null===eD?J("overview.noDataAvailable"):void 0,icon:null!==eD&&eD>80?(0,s.jsx)(p.A,{size:16}):(0,s.jsx)(j.A,{size:16}),colorClass:null!==eD&&eD>80?"text-[var(--colorOk)]":"text-[var(--colorDanger)]",animationClass:"stagger-4"})]})}),(0,s.jsx)(N.Zk,{title:J("overview.systemResources"),description:J("overview.systemResourcesDesc"),children:(0,s.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-4",children:[(0,s.jsx)(b,{title:J("overview.materialUnderstanding"),value:es>0?String(es):"—",subtext:J(es>0?"overview.materialKinds":"common.noData"),animationClass:"stagger-5"}),(0,s.jsx)(b,{title:J("overview.prompts"),value:$,animationClass:"stagger-5"}),(0,s.jsx)(b,{title:J("overview.templateCount"),value:et,animationClass:"stagger-5"}),(0,s.jsx)(b,{title:J("overview.semanticModel"),value:(null==eo?void 0:eo.provider)==="openai-compatible"?J("overview.external"):eo?J("overview.local"):"—",subtext:null!=(z=null==eo?void 0:eo.model)?z:J("overview.notConfigured"),animationClass:"stagger-5"}),(0,s.jsx)(b,{title:J("overview.modelProviders"),value:X,animationClass:"stagger-5"}),(0,s.jsx)(b,{title:J("overview.auditLogs"),value:null!=(F=null==V?void 0:V.logs.events)?F:0,subtext:"".concat(J("overview.lastActivity")," ").concat(eB),animationClass:"stagger-5"})]})}),(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,s.jsx)(N.Zk,{title:J("overview.hardwareUsage"),description:J("overview.hardwareUsageDesc"),children:(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-4 p-4 ".concat(N.wD),children:[(0,s.jsx)(i.A,{type:"dashboard",percent:null!=(U=null==V?void 0:V.cpu.usagePercent)?U:0,size:64,strokeColor:(null!=(I=null==V?void 0:V.cpu.usagePercent)?I:0)>80?"var(--colorDanger)":"var(--colorText)",strokeWidth:10}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("div",{className:"text-sm font-medium text-[var(--colorTextSecondary)]",children:J("overview.cpuUsage")}),(0,s.jsxs)("div",{className:"text-xl font-bold",children:[null!=(P=null==V||null==(t=V.cpu.usagePercent)?void 0:t.toFixed(1))?P:"0.0","%"]}),(0,s.jsxs)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:[null!=(L=null==V?void 0:V.cpu.cores)?L:0," ",J("overview.cores")]})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-4 p-4 ".concat(N.wD),children:[(0,s.jsx)(i.A,{type:"dashboard",percent:null!=(O=null==V?void 0:V.memory.usagePercent)?O:0,size:64,strokeColor:(null!=(Z=null==V?void 0:V.memory.usagePercent)?Z:0)>80?"var(--colorDanger)":"var(--colorTextSecondary)",strokeWidth:10}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("div",{className:"text-sm font-medium text-[var(--colorTextSecondary)]",children:J("overview.memoryUsage")}),(0,s.jsxs)("div",{className:"text-xl font-bold",children:[null!=(R=null==V?void 0:V.memory.usagePercent)?R:0,"%"]}),(0,s.jsxs)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:[null!=(W=null==V?void 0:V.memory.usedMB)?W:0," MB / ",null!=(_=null==V?void 0:V.memory.totalMB)?_:0," MB"]})]})]})]})}),(0,s.jsx)(N.Zk,{title:J("overview.activityContext"),description:J("overview.activityContextDesc"),children:(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsxs)("div",{className:"p-4 ".concat(N.wD),children:[(0,s.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider text-[var(--colorTextTertiary)] mb-2",children:J("overview.topModel")}),eM?(0,s.jsxs)("div",{className:"font-semibold flex items-center gap-2 min-w-0",children:[(0,s.jsx)(f.A,{className:"text-[var(--colorTextSecondary)] shrink-0"}),(0,s.jsx)("span",{className:"truncate",children:eM.model}),(0,s.jsxs)("span",{className:"font-normal text-[var(--colorTextTertiary)] text-sm shrink-0",children:["@",eM.provider]})]}):(0,s.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:J("overview.noDataAvailable")})]}),(0,s.jsxs)("div",{className:"p-4 ".concat(N.wD),children:[(0,s.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider text-[var(--colorTextTertiary)] mb-3",children:J("overview.recentTaskTypes")}),(null==V?void 0:V.tasks.types)&&Object.keys(V.tasks.types).length>0?(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:Object.entries(V.tasks.types).sort((e,t)=>t[1]-e[1]).map(e=>{let[t,a]=e;return(0,s.jsxs)("div",{className:"px-2 py-1 rounded-lg text-xs font-mono bg-[var(--colorFillAlter)] text-[var(--colorTextSecondary)]",children:[t.slice(0,30)," ",(0,s.jsx)("span",{className:"ml-2 font-bold text-[var(--colorText)]",children:a})]},t)})}):(0,s.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:J("common.noData")})]})]})})]}),(0,s.jsx)(N.Zk,{title:"数据体检与清理",description:"升级后旧数据会不会碍事、占了多少地方——先看清,再决定清什么",children:ei?(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:"存储根 ".concat(ei.storageRoot,"|工作流版本 ").concat(ei.workflowVersion)}),(0,s.jsx)("div",{className:"flex flex-col gap-2",children:ei.scopes.map(e=>(0,s.jsx)("div",{className:"p-3 flex items-start gap-3 ".concat(N.wD),children:(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,s.jsx)("span",{className:"text-sm font-medium",children:e.label}),e.deletable?(0,s.jsx)(d.A,{color:"blue",children:"可清理"}):(0,s.jsx)(d.A,{children:"只体检"}),(0,s.jsx)("span",{className:"text-xs text-[var(--colorTextTertiary)]",children:"".concat(e.files," 项|").concat((e.bytes/1048576).toFixed(1)," MB")})]}),(0,s.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)] mt-1",children:e.note})]})},e.key))}),ei.legacy&&(0,s.jsxs)("div",{className:"p-3 flex flex-col gap-1",style:{background:"var(--colorFillQuaternary)",borderRadius:8},children:[(0,s.jsx)("div",{className:"text-sm",children:"历史类型残留:".concat(ei.legacy.recordsWithLegacyTypes,"/").concat(ei.legacy.totalRecords," 条记录含已删除的节点类型(共 ").concat(ei.legacy.legacyNodes," 个节点)")}),(0,s.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:ei.legacy.note})]}),(0,s.jsxs)(n.A,{children:[(0,s.jsx)(c.Ay,{size:"small",disabled:ei.scopes.every(e=>!e.deletable),onClick:()=>{ey([]),ek(null),ej(!0)},children:"清理可重建数据"}),(0,s.jsx)(c.Ay,{size:"small",type:"text",loading:ex,onClick:()=>{eA()},children:"重新体检"}),eu?(0,s.jsx)("span",{className:"text-xs text-[var(--colorTextTertiary)]",children:"上次体检 ".concat(new Date(eu).toLocaleTimeString(K)).concat(null!=eh?" \xb7 耗时 ".concat(eh," ms"):"")}):null]}),eb&&(0,s.jsx)(x.A.Text,{type:"success",style:{fontSize:12},children:eb})]}):(0,s.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:J("common.noData")})}),(0,s.jsx)(v.A,{title:"清理可重建数据",open:ep,onCancel:()=>ej(!1),okText:ew?"清理中…":"确认清理",okButtonProps:{disabled:0===ef.length||ew,danger:!0},onOk:()=>{eN(!0),(0,y.fc)(ef).then(e=>{let t=e.removed.reduce((e,t)=>e+t.bytes,0);ek("已清理 ".concat(e.removed.length," 项,释放 ").concat((t/1048576).toFixed(1)," MB")),ed(e.report),ej(!1)}).catch(e=>ek("清理失败:".concat(e instanceof Error?e.message:String(e)))).finally(()=>eN(!1))},children:(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)(x.A.Text,{type:"secondary",style:{fontSize:12},children:["只列**可重建**的数据:缓存键含内容与判据指纹,删掉只是下次重算。",(0,s.jsx)("br",{}),"生成记录、节点日志、技能库、知识库**不在清理范围**(那是你的资产)。"]}),(null!=(E=null==ei?void 0:ei.scopes)?E:[]).filter(e=>e.deletable).map(e=>(0,s.jsxs)("label",{className:"flex items-start gap-2 cursor-pointer",children:[(0,s.jsx)("input",{type:"checkbox",checked:ef.includes(e.key),onChange:t=>ey(a=>t.target.checked?[...a,e.key]:a.filter(t=>t!==e.key))}),(0,s.jsxs)("span",{className:"min-w-0",children:[(0,s.jsx)("span",{className:"text-sm",children:"".concat(e.label,"(").concat(e.files," 项|").concat((e.bytes/1048576).toFixed(1)," MB)")}),(0,s.jsx)("span",{className:"block text-xs text-[var(--colorTextTertiary)]",children:e.note})]})]},e.key))]})})]})}},45551:(e,t,a)=>{a.d(t,{Jm:()=>c,fw:()=>o,je:()=>s.j,mc:()=>i,z3:()=>l});var s=a(96538);function l(e){if(0===e)return"0 B";let t=Math.floor(Math.log(e)/Math.log(1024)),a=e/Math.pow(1024,t);return"".concat(a.toFixed(+(0!==t))," ").concat(["B","KB","MB","GB","TB"][t])}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"zh-CN";if(!e||e<=0)return"en-US"===t?"Never":"从未";let a=Math.floor(Math.floor((Date.now()-e)/1e3)/60),s=Math.floor(a/60),l=Math.floor(s/24);return l>30?new Date(e).toLocaleDateString(t):"en-US"===t?l>0?"".concat(l,"d ago"):s>0?"".concat(s,"h ago"):a>0?"".concat(a,"m ago"):"Just now":l>0?"".concat(l," 天前"):s>0?"".concat(s," 小时前"):a>0?"".concat(a," 分钟前"):"刚刚"}let r={document:"文档",spreadsheet:"表格",image:"图片",cad:"图纸",code:"代码",data:"数据",web:"网页",diagram:"图表",archive:"压缩包",other:"其他"},n={document:"Document",spreadsheet:"Spreadsheet",image:"Image",cad:"CAD",code:"Code",data:"Data",web:"Web",diagram:"Diagram",archive:"Archive",other:"Other"};function c(e){var t;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"zh-CN";return null!=(t=("en-US"===a?n:r)[e])?t:e}let i={active:"common.statusIndexed",outdated:"common.statusOutdated",error:"common.statusAbnormal",deleted:"common.statusDeleted",disk:"common.statusNotIndexed"}},85310:(e,t,a)=>{a.d(t,{Zk:()=>o,dh:()=>r,wD:()=>l});var s=a(65321);a(97109);let l="rounded-xl bg-[var(--colorBgContainer)] shadow-[var(--shadowSurface)] hover:shadow-[var(--shadowSurfaceHover)] transition-shadow";function o(e){let{title:t,count:a,description:l,extra:o,className:r,children:n}=e;return(0,s.jsxs)("section",{className:"rounded-2xl bg-[var(--colorBgContainer)] shadow-[var(--shadowSurface)] p-6 animateFadeIn ".concat(null!=r?r:""),children:[(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start justify-between gap-3 mb-5",children:[(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("h2",{className:"text-base font-semibold text-[var(--colorText)] tracking-wide flex items-center gap-2 m-0",children:[t,void 0!==a&&(0,s.jsx)("span",{className:"text-[var(--colorTextTertiary)] font-normal text-sm",children:a})]}),l&&(0,s.jsx)("p",{className:"text-xs text-[var(--colorTextTertiary)] mt-1.5 mb-0 leading-relaxed max-w-3xl",children:l})]}),o]}),n]})}function r(e){let{children:t}=e;return(0,s.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider mb-2 text-[var(--colorTextTertiary)]",children:t})}},96538:(e,t,a)=>{a.d(t,{a:()=>l,j:()=>o});let s={coarse:function(e,t){let a=Math.floor(e/1e3),s=Math.floor(a/86400),l=Math.floor(a%86400/3600),o=Math.floor(a%3600/60),r="en-US"===t;return s>0?r?"".concat(s,"d ").concat(l,"h"):"".concat(s," 天 ").concat(l," 小时"):l>0?r?"".concat(l,"h ").concat(o,"m"):"".concat(l," 小时 ").concat(o," 分"):o>0?r?"".concat(o,"m"):"".concat(o," 分"):r?"Just now":"刚刚"},fine:function(e){let t=Math.round(e/1e3);if(t<60)return"".concat(t," 秒");let a=Math.floor(t/60);return a<60?"".concat(a," 分 ").concat(t%60," 秒"):"".concat(Math.floor(a/60)," 小时 ").concat(a%60," 分")},"fine-decimal":function(e){return e>=6e4?"".concat(Math.floor(e/6e4)," 分 ").concat(Math.round(e%6e4/1e3)," 秒"):"".concat((e/1e3).toFixed(1)," 秒")},metric:function(e){return e<1e3?"".concat(Math.round(e),"ms"):e<6e4?"".concat((e/1e3).toFixed(1),"s"):"".concat((e/6e4).toFixed(1),"min")}};function l(e,t){var a;return s[t.style](function(e,t){let a="s"===t?1e3*e:e;return Number.isFinite(a)&&a>0?a:0}(e,t.unit),null!=(a=t.locale)?a:"zh-CN")}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"zh-CN";return l(e,{unit:"s",style:"coarse",locale:t})}}}]);
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[795],{27795:(e,t,a)=>{a.r(t),a.d(t,{default:()=>k});var s=a(65321),l=a(97109),o=a(39507),r=a(17807),n=a(33442),c=a(85114),i=a(99605),d=a(11702),x=a(48399),v=a(25258),u=a(99811),m=a(13114),h=a(29071),g=a(26631),p=a(84742),j=a(38762),f=a(24810),y=a(6578),w=a(45551),N=a(85310);function b(e){let{title:t,value:a,subtext:l,icon:o,colorClass:r,animationClass:n}=e;return(0,s.jsxs)("div",{className:"p-4 ".concat(N.wD," flex flex-col justify-between animateFadeIn ").concat(n||""),style:{opacity:0},children:[(0,s.jsxs)("div",{className:"flex items-start justify-between mb-2",children:[(0,s.jsx)("div",{className:"text-xs font-semibold text-[var(--colorTextSecondary)] tracking-wide uppercase",children:t}),o&&(0,s.jsx)("div",{className:r,style:{opacity:.7},children:o})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"text-3xl font-bold tracking-tight",children:a}),l&&(0,s.jsx)("div",{className:"text-xs mt-1 truncate font-medium",style:{color:"var(--colorTextTertiary)"},children:l})]})]})}function k(){var e,t,a,k,T,S,C,A,D,M,B,z,F,U,I,P,L,O,Z,R,W,_,E;let J=(0,o.Vr)(),{locale:K}=(0,o.x_)(),{message:Q}=r.A.useApp(),[V,G]=(0,l.useState)(null),[H,q]=(0,l.useState)(!0),[X,Y]=(0,l.useState)(0),[$,ee]=(0,l.useState)(0),[et,ea]=(0,l.useState)(0),[es,el]=(0,l.useState)(0),[eo,er]=(0,l.useState)(null),[en,ec]=(0,l.useState)(null),[ei,ed]=(0,l.useState)(null),[ex,ev]=(0,l.useState)(!1),[eu,em]=(0,l.useState)(null),[eh,eg]=(0,l.useState)(null),[ep,ej]=(0,l.useState)(!1),[ef,ey]=(0,l.useState)([]),[ew,eN]=(0,l.useState)(!1),[eb,ek]=(0,l.useState)(null),[eT,eS]=(0,l.useState)([]),eC=(0,l.useCallback)(async()=>{q(!0);try{let e=[],t=(t,a,s)=>a.catch(()=>(e.push(t),s)),[a,s,l,o,r,n]=await Promise.all([t("系统统计",(0,y.FC)(),null),t("模型供应商",(0,y.Z3)(),[]),t("提示词",(0,y.dx)(),[]),t("生成记录",(0,y.cQ)(),{documents:[]}),t("嵌入配置",(0,y.II)(),null),t("资料分类",(0,y.BO)(),[])]);eS(e),a&&G(a),Y(Array.isArray(s)?s.length:0),ee(Array.isArray(l)?l.length:0),ea(Array.isArray(o.documents)?o.documents.length:0),el(Array.isArray(n)?n.filter(e=>e.fileCount>0).length:0),er(r),ec(Date.now())}catch(e){}finally{q(!1)}},[]),eA=(0,l.useCallback)(async e=>{let t=(null==e?void 0:e.silent)===!0;ev(!0);let a=Date.now(),s="overview-health-recheck";t||Q.loading({content:"正在体检…",key:s,duration:0});try{let e=await (0,y.nn)();ed(e);let l=Date.now()-a;em(a),eg(l),t||Q.success({content:"体检完成,耗时 ".concat(l," ms"),key:s})}catch(e){t||Q.error({content:"体检失败,请稍后重试",key:s})}finally{ev(!1)}},[Q]);(0,l.useEffect)(()=>{eC(),eA({silent:!0});let e=setInterval(()=>{eC()},1e4);return()=>clearInterval(e)},[eC,eA]);let eD=(null==V?void 0:V.tasks.total)?Math.round(V.tasks.success/V.tasks.total*100):null,eM=null==V||null==(e=V.models)?void 0:e[0],eB=(null==V?void 0:V.logs.latestAt)?(0,w.fw)(new Date(V.logs.latestAt).getTime(),K):J("overview.noLogs");return(0,s.jsxs)("div",{className:"space-y-6",children:[eT.length>0&&(0,s.jsx)("div",{role:"alert",className:"rounded-xl border border-[var(--colorDanger)]/30 bg-[var(--colorDanger)]/10 px-4 py-3 text-sm text-[var(--colorDanger)]",children:"".concat(eT.length," 项数据读取失败:").concat(eT.join("、"),"——相关读数显示为「—」(未知),**不代表 0**;请稍后重试或查看服务端日志。")}),(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-end justify-between gap-4 pb-6 border-b border-[var(--borderColor)]",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("h1",{className:"text-3xl font-extrabold tracking-tight text-[var(--colorText)] mb-2",children:J("overview.title")}),(0,s.jsx)("p",{className:"text-sm text-[var(--colorTextSecondary)]",children:J("overview.description")})]}),(0,s.jsxs)(n.A,{children:[(0,s.jsxs)("span",{className:"text-xs font-mono",style:{color:"var(--colorTextTertiary)"},children:[J("overview.updated"),": ",en?new Date(en).toLocaleTimeString(K):"—"]}),(0,s.jsx)(c.Ay,{type:"text",icon:(0,s.jsx)(u.A,{spin:H}),onClick:()=>{eC()}})]})]}),(0,s.jsx)(N.Zk,{title:J("overview.coreMetrics"),description:J("overview.coreMetricsDesc"),children:(0,s.jsxs)("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:[(0,s.jsx)(b,{title:J("overview.uptime"),value:(0,w.je)(null!=(a=null==V?void 0:V.serviceUptimeSeconds)?a:0,K),subtext:"".concat(J("overview.processUptime")," ").concat((0,w.je)(null!=(k=null==V?void 0:V.uptime)?k:0,K)),icon:(0,s.jsx)(m.A,{size:16}),colorClass:"text-[var(--colorBrand)]",animationClass:"stagger-1"}),(0,s.jsx)(b,{title:J("overview.tokensUsed"),value:(null!=(T=null==V?void 0:V.tokens.total)?T:0).toLocaleString(),subtext:"P ".concat(null!=(S=null==V?void 0:V.tokens.prompt)?S:0," / C ").concat(null!=(C=null==V?void 0:V.tokens.completion)?C:0),icon:(0,s.jsx)(h.A,{size:16}),colorClass:"text-[var(--colorWarn)]",animationClass:"stagger-2"}),(0,s.jsx)(b,{title:J("overview.tasksTotal"),value:(null!=(A=null==V?void 0:V.tasks.total)?A:0).toLocaleString(),subtext:"✓ ".concat(null!=(D=null==V?void 0:V.tasks.success)?D:0," | ✗ ").concat(null!=(M=null==V?void 0:V.tasks.failed)?M:0," | ↻ ").concat(null!=(B=null==V?void 0:V.tasks.running)?B:0),icon:(0,s.jsx)(g.A,{size:16}),colorClass:"text-[var(--colorInfo)]",animationClass:"stagger-3"}),(0,s.jsx)(b,{title:J("overview.successRate"),value:null===eD?"—":"".concat(eD,"%"),subtext:null===eD?J("overview.noDataAvailable"):void 0,icon:null!==eD&&eD>80?(0,s.jsx)(p.A,{size:16}):(0,s.jsx)(j.A,{size:16}),colorClass:null!==eD&&eD>80?"text-[var(--colorOk)]":"text-[var(--colorDanger)]",animationClass:"stagger-4"})]})}),(0,s.jsx)(N.Zk,{title:J("overview.systemResources"),description:J("overview.systemResourcesDesc"),children:(0,s.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-3 gap-4",children:[(0,s.jsx)(b,{title:J("overview.materialUnderstanding"),value:es>0?String(es):"—",subtext:J(es>0?"overview.materialKinds":"common.noData"),animationClass:"stagger-5"}),(0,s.jsx)(b,{title:J("overview.prompts"),value:$,animationClass:"stagger-5"}),(0,s.jsx)(b,{title:J("overview.templateCount"),value:et,animationClass:"stagger-5"}),(0,s.jsx)(b,{title:J("overview.semanticModel"),value:(null==eo?void 0:eo.provider)==="openai-compatible"?J("overview.external"):eo?J("overview.local"):"—",subtext:null!=(z=null==eo?void 0:eo.model)?z:J("overview.notConfigured"),animationClass:"stagger-5"}),(0,s.jsx)(b,{title:J("overview.modelProviders"),value:X,animationClass:"stagger-5"}),(0,s.jsx)(b,{title:J("overview.auditLogs"),value:null!=(F=null==V?void 0:V.logs.events)?F:0,subtext:"".concat(J("overview.lastActivity")," ").concat(eB),animationClass:"stagger-5"})]})}),(0,s.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,s.jsx)(N.Zk,{title:J("overview.hardwareUsage"),description:J("overview.hardwareUsageDesc"),children:(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-4 p-4 ".concat(N.wD),children:[(0,s.jsx)(i.A,{type:"dashboard",percent:null!=(U=null==V?void 0:V.cpu.usagePercent)?U:0,size:64,strokeColor:(null!=(I=null==V?void 0:V.cpu.usagePercent)?I:0)>80?"var(--colorDanger)":"var(--colorText)",strokeWidth:10}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("div",{className:"text-sm font-medium text-[var(--colorTextSecondary)]",children:J("overview.cpuUsage")}),(0,s.jsxs)("div",{className:"text-xl font-bold",children:[null!=(P=null==V||null==(t=V.cpu.usagePercent)?void 0:t.toFixed(1))?P:"0.0","%"]}),(0,s.jsxs)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:[null!=(L=null==V?void 0:V.cpu.cores)?L:0," ",J("overview.cores")]})]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-4 p-4 ".concat(N.wD),children:[(0,s.jsx)(i.A,{type:"dashboard",percent:null!=(O=null==V?void 0:V.memory.usagePercent)?O:0,size:64,strokeColor:(null!=(Z=null==V?void 0:V.memory.usagePercent)?Z:0)>80?"var(--colorDanger)":"var(--colorTextSecondary)",strokeWidth:10}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsx)("div",{className:"text-sm font-medium text-[var(--colorTextSecondary)]",children:J("overview.memoryUsage")}),(0,s.jsxs)("div",{className:"text-xl font-bold",children:[null!=(R=null==V?void 0:V.memory.usagePercent)?R:0,"%"]}),(0,s.jsxs)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:[null!=(W=null==V?void 0:V.memory.usedMB)?W:0," MB / ",null!=(_=null==V?void 0:V.memory.totalMB)?_:0," MB"]})]})]})]})}),(0,s.jsx)(N.Zk,{title:J("overview.activityContext"),description:J("overview.activityContextDesc"),children:(0,s.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,s.jsxs)("div",{className:"p-4 ".concat(N.wD),children:[(0,s.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider text-[var(--colorTextTertiary)] mb-2",children:J("overview.topModel")}),eM?(0,s.jsxs)("div",{className:"font-semibold flex items-center gap-2 min-w-0",children:[(0,s.jsx)(f.A,{className:"text-[var(--colorTextSecondary)] shrink-0"}),(0,s.jsx)("span",{className:"truncate",children:eM.model}),(0,s.jsxs)("span",{className:"font-normal text-[var(--colorTextTertiary)] text-sm shrink-0",children:["@",eM.provider]})]}):(0,s.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:J("overview.noDataAvailable")})]}),(0,s.jsxs)("div",{className:"p-4 ".concat(N.wD),children:[(0,s.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider text-[var(--colorTextTertiary)] mb-3",children:J("overview.recentTaskTypes")}),(null==V?void 0:V.tasks.types)&&Object.keys(V.tasks.types).length>0?(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:Object.entries(V.tasks.types).sort((e,t)=>t[1]-e[1]).map(e=>{let[t,a]=e;return(0,s.jsxs)("div",{className:"px-2 py-1 rounded-lg text-xs font-mono bg-[var(--colorFillAlter)] text-[var(--colorTextSecondary)]",children:[t.slice(0,30)," ",(0,s.jsx)("span",{className:"ml-2 font-bold text-[var(--colorText)]",children:a})]},t)})}):(0,s.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:J("common.noData")})]})]})})]}),(0,s.jsx)(N.Zk,{title:"数据体检与清理",description:"升级后旧数据会不会碍事、占了多少地方——先看清,再决定清什么",children:ei?(0,s.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,s.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:"存储根 ".concat(ei.storageRoot,"|工作流版本 ").concat(ei.workflowVersion)}),(0,s.jsx)("div",{className:"flex flex-col gap-2",children:ei.scopes.map(e=>(0,s.jsx)("div",{className:"p-3 flex items-start gap-3 ".concat(N.wD),children:(0,s.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 flex-wrap",children:[(0,s.jsx)("span",{className:"text-sm font-medium",children:e.label}),e.deletable?(0,s.jsx)(d.A,{color:"blue",children:"可清理"}):(0,s.jsx)(d.A,{children:"只体检"}),(0,s.jsx)("span",{className:"text-xs text-[var(--colorTextTertiary)]",children:"".concat(e.files," 项|").concat((e.bytes/1048576).toFixed(1)," MB")})]}),(0,s.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)] mt-1",children:e.note})]})},e.key))}),ei.legacy&&(0,s.jsxs)("div",{className:"p-3 flex flex-col gap-1",style:{background:"var(--colorFillQuaternary)",borderRadius:8},children:[(0,s.jsx)("div",{className:"text-sm",children:"历史类型残留:".concat(ei.legacy.recordsWithLegacyTypes,"/").concat(ei.legacy.totalRecords," 条记录含已删除的节点类型(共 ").concat(ei.legacy.legacyNodes," 个节点)")}),(0,s.jsx)("div",{className:"text-xs text-[var(--colorTextTertiary)]",children:ei.legacy.note})]}),(0,s.jsxs)(n.A,{children:[(0,s.jsx)(c.Ay,{size:"small",disabled:ei.scopes.every(e=>!e.deletable),onClick:()=>{ey([]),ek(null),ej(!0)},children:"清理可重建数据"}),(0,s.jsx)(c.Ay,{size:"small",type:"text",loading:ex,onClick:()=>{eA()},children:"重新体检"}),eu?(0,s.jsx)("span",{className:"text-xs text-[var(--colorTextTertiary)]",children:"上次体检 ".concat(new Date(eu).toLocaleTimeString(K)).concat(null!=eh?" \xb7 耗时 ".concat(eh," ms"):"")}):null]}),eb&&(0,s.jsx)(x.A.Text,{type:"success",style:{fontSize:12},children:eb})]}):(0,s.jsx)("span",{className:"text-sm text-[var(--colorTextTertiary)]",children:J("common.noData")})}),(0,s.jsx)(v.A,{title:"清理可重建数据",open:ep,onCancel:()=>ej(!1),okText:ew?"清理中…":"确认清理",okButtonProps:{disabled:0===ef.length||ew,danger:!0},onOk:()=>{eN(!0),(0,y.fc)(ef).then(e=>{let t=e.removed.reduce((e,t)=>e+t.bytes,0);ek("已清理 ".concat(e.removed.length," 项,释放 ").concat((t/1048576).toFixed(1)," MB")),ed(e.report),ej(!1)}).catch(e=>ek("清理失败:".concat(e instanceof Error?e.message:String(e)))).finally(()=>eN(!1))},children:(0,s.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,s.jsxs)(x.A.Text,{type:"secondary",style:{fontSize:12},children:["只列**可重建**的数据:缓存键含内容与判据指纹,删掉只是下次重算。",(0,s.jsx)("br",{}),"生成记录、节点日志、技能库、知识库**不在清理范围**(那是你的资产)。"]}),(null!=(E=null==ei?void 0:ei.scopes)?E:[]).filter(e=>e.deletable).map(e=>(0,s.jsxs)("label",{className:"flex items-start gap-2 cursor-pointer",children:[(0,s.jsx)("input",{type:"checkbox",checked:ef.includes(e.key),onChange:t=>ey(a=>t.target.checked?[...a,e.key]:a.filter(t=>t!==e.key))}),(0,s.jsxs)("span",{className:"min-w-0",children:[(0,s.jsx)("span",{className:"text-sm",children:"".concat(e.label,"(").concat(e.files," 项|").concat((e.bytes/1048576).toFixed(1)," MB)")}),(0,s.jsx)("span",{className:"block text-xs text-[var(--colorTextTertiary)]",children:e.note})]})]},e.key))]})})]})}},45551:(e,t,a)=>{a.d(t,{Jm:()=>c,fw:()=>o,je:()=>s.j,mc:()=>i,z3:()=>l});var s=a(96538);function l(e){if(0===e)return"0 B";let t=Math.floor(Math.log(e)/Math.log(1024)),a=e/Math.pow(1024,t);return"".concat(a.toFixed(+(0!==t))," ").concat(["B","KB","MB","GB","TB"][t])}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"zh-CN";if(!e||e<=0)return"en-US"===t?"Never":"从未";let a=Math.floor(Math.floor((Date.now()-e)/1e3)/60),s=Math.floor(a/60),l=Math.floor(s/24);return l>30?new Date(e).toLocaleDateString(t):"en-US"===t?l>0?"".concat(l,"d ago"):s>0?"".concat(s,"h ago"):a>0?"".concat(a,"m ago"):"Just now":l>0?"".concat(l," 天前"):s>0?"".concat(s," 小时前"):a>0?"".concat(a," 分钟前"):"刚刚"}let r={document:"文档",spreadsheet:"表格",image:"图片",cad:"图纸",code:"代码",data:"数据",web:"网页",diagram:"图表",archive:"压缩包",other:"其他"},n={document:"Document",spreadsheet:"Spreadsheet",image:"Image",cad:"CAD",code:"Code",data:"Data",web:"Web",diagram:"Diagram",archive:"Archive",other:"Other"};function c(e){var t;let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"zh-CN";return null!=(t=("en-US"===a?n:r)[e])?t:e}let i={active:"common.statusIndexed",outdated:"common.statusOutdated",error:"common.statusAbnormal",deleted:"common.statusDeleted",disk:"common.statusNotIndexed"}},85310:(e,t,a)=>{a.d(t,{Zk:()=>o,dh:()=>r,wD:()=>l});var s=a(65321);a(97109);let l="rounded-xl bg-[var(--colorBgContainer)] shadow-[var(--shadowSurface)] hover:shadow-[var(--shadowSurfaceHover)] transition-shadow";function o(e){let{title:t,count:a,description:l,extra:o,className:r,children:n}=e;return(0,s.jsxs)("section",{className:"rounded-2xl bg-[var(--colorBgContainer)] shadow-[var(--shadowSurface)] p-6 animateFadeIn ".concat(null!=r?r:""),children:[(0,s.jsxs)("div",{className:"flex flex-col sm:flex-row sm:items-start justify-between gap-3 mb-5",children:[(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("h2",{className:"text-base font-semibold text-[var(--colorText)] tracking-wide flex items-center gap-2 m-0",children:[t,void 0!==a&&(0,s.jsx)("span",{className:"text-[var(--colorTextTertiary)] font-normal text-sm",children:a})]}),l&&(0,s.jsx)("p",{className:"text-xs text-[var(--colorTextTertiary)] mt-1.5 mb-0 leading-relaxed max-w-3xl",children:l})]}),o]}),n]})}function r(e){let{children:t}=e;return(0,s.jsx)("div",{className:"text-xs font-semibold uppercase tracking-wider mb-2 text-[var(--colorTextTertiary)]",children:t})}},96538:(e,t,a)=>{a.d(t,{a:()=>l,j:()=>o});let s={coarse:function(e,t){let a=Math.floor(e/1e3),s=Math.floor(a/86400),l=Math.floor(a%86400/3600),o=Math.floor(a%3600/60),r="en-US"===t;return s>0?r?"".concat(s,"d ").concat(l,"h"):"".concat(s," 天 ").concat(l," 小时"):l>0?r?"".concat(l,"h ").concat(o,"m"):"".concat(l," 小时 ").concat(o," 分"):o>0?r?"".concat(o,"m"):"".concat(o," 分"):r?"Just now":"刚刚"},fine:function(e){let t=Math.round(e/1e3);if(t<60)return"".concat(t," 秒");let a=Math.floor(t/60);return a<60?"".concat(a," 分 ").concat(t%60," 秒"):"".concat(Math.floor(a/60)," 小时 ").concat(a%60," 分")},"fine-decimal":function(e){return e>=6e4?"".concat(Math.floor(e/6e4)," 分 ").concat(Math.round(e%6e4/1e3)," 秒"):"".concat((e/1e3).toFixed(1)," 秒")},metric:function(e){return e<1e3?"".concat(Math.round(e),"ms"):e<6e4?"".concat((e/1e3).toFixed(1),"s"):"".concat((e/6e4).toFixed(1),"min")}};function l(e,t){var a;return s[t.style](function(e,t){let a="s"===t?1e3*e:e;return Number.isFinite(a)&&a>0?a:0}(e,t.unit),null!=(a=t.locale)?a:"zh-CN")}function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"zh-CN";return l(e,{unit:"s",style:"coarse",locale:t})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[819],{10218:(e,t,o)=>{o.d(t,{A:()=>g,H:()=>m});var n=o(97109),r=o(4932),l=o(42644);let i=e=>"object"==typeof e&&null!=e&&1===e.nodeType,a=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,c=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let o=getComputedStyle(e,null);return a(o.overflowY,t)||a(o.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,o,n,r,l,i,a)=>l<e&&i>t||l>e&&i<t?0:l<=e&&a<=o||i>=t&&a>=o?l-e-n:i>t&&a<o||l<e&&a>o?i-t+r:0,d=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},u=(e,t)=>{var o,n,r,l;if("undefined"==typeof document)return[];let{scrollMode:a,block:u,inline:p,boundary:f,skipOverflowHiddenElements:m}=t,h="function"==typeof f?f:e=>e!==f;if(!i(e))throw TypeError("Invalid target");let g=document.scrollingElement||document.documentElement,v=[],b=e;for(;i(b)&&h(b);){if((b=d(b))===g){v.push(b);break}null!=b&&b===document.body&&c(b)&&!c(document.documentElement)||null!=b&&c(b,m)&&v.push(b)}let $=null!=(n=null==(o=window.visualViewport)?void 0:o.width)?n:innerWidth,y=null!=(l=null==(r=window.visualViewport)?void 0:r.height)?l:innerHeight,{scrollX:w,scrollY:E}=window,{height:A,width:I,top:C,right:M,bottom:H,left:N}=e.getBoundingClientRect(),{top:k,right:S,bottom:x,left:R}=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e),W="start"===u||"nearest"===u?C-k:"end"===u?H+x:C+A/2-k+x,_="center"===p?N+I/2-R+S:"end"===p?M+S:N-R,F=[];for(let e=0;e<v.length;e++){let t=v[e],{height:o,width:n,top:r,right:l,bottom:i,left:d}=t.getBoundingClientRect();if("if-needed"===a&&C>=0&&N>=0&&H<=y&&M<=$&&(t===g&&!c(t)||C>=r&&H<=i&&N>=d&&M<=l))break;let f=getComputedStyle(t),m=parseInt(f.borderLeftWidth,10),h=parseInt(f.borderTopWidth,10),b=parseInt(f.borderRightWidth,10),k=parseInt(f.borderBottomWidth,10),S=0,x=0,R="offsetWidth"in t?t.offsetWidth-t.clientWidth-m-b:0,j="offsetHeight"in t?t.offsetHeight-t.clientHeight-h-k:0,z="offsetWidth"in t?0===t.offsetWidth?0:n/t.offsetWidth:0,L="offsetHeight"in t?0===t.offsetHeight?0:o/t.offsetHeight:0;if(g===t)S="start"===u?W:"end"===u?W-y:"nearest"===u?s(E,E+y,y,h,k,E+W,E+W+A,A):W-y/2,x="start"===p?_:"center"===p?_-$/2:"end"===p?_-$:s(w,w+$,$,m,b,w+_,w+_+I,I),S=Math.max(0,S+E),x=Math.max(0,x+w);else{S="start"===u?W-r-h:"end"===u?W-i+k+j:"nearest"===u?s(r,i,o,h,k+j,W,W+A,A):W-(r+o/2)+j/2,x="start"===p?_-d-m:"center"===p?_-(d+n/2)+R/2:"end"===p?_-l+b+R:s(d,l,n,m,b+R,_,_+I,I);let{scrollLeft:e,scrollTop:a}=t;S=0===L?0:Math.max(0,Math.min(a+S/L,t.scrollHeight-o/L+j)),x=0===z?0:Math.max(0,Math.min(e+x/z,t.scrollWidth-n/z+R)),W+=a-S,_+=e-x}F.push({el:t,top:S,left:x})}return F};var p=o(26047),f=o(44624);function m(e){return(0,f.$r)(e).join("_")}function h(e,t){let o=t.getFieldInstance(e),n=(0,l.rb)(o);if(n)return n;let r=(0,f.kV)((0,f.$r)(e),t.__INTERNAL__.name);if(r)return document.getElementById(r)}function g(e){let[t]=(0,r.mN)(),o=n.useRef({}),l=n.useMemo(()=>e??{...t,__INTERNAL__:{itemRef:e=>t=>{let n=m(e);t?o.current[n]=t:delete o.current[n]}},scrollToField:(e,t={})=>{let{focus:o,...n}=t,r=h(e,l);r&&(!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 o=(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 n="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:r,top:l,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=l-o.top+o.bottom,t=i-o.left+o.right;r.scroll({top:e,left:t,behavior:n})}}(r,{scrollMode:"if-needed",block:"nearest",...n}),o&&l.focusField(e))},focusField:e=>{let t=l.getFieldInstance(e);(0,p.Tn)(t?.focus)?t.focus():h(e,l)?.focus?.()},getFieldInstance:e=>{let t=m(e);return o.current[t]}},[e,t]);return[l]}},15437:(e,t,o)=>{o.d(t,{A:()=>n});let n=e=>{let{componentCls:t,antCls:o,motionDurationMid:n,motionEaseInOut:r}=e;return{[t]:{[`${o}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(e=>`${e} ${n} ${r}`).join(", ")} !important`}},[`${o}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(e=>`${e} ${n} ${r}`).join(", ")} !important`}}}}},44624:(e,t,o)=>{o.d(t,{$r:()=>r,BS:()=>i,kV:()=>l});let n=["parentNode"];function r(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function l(e,t){if(!e.length)return;let o=e.join("_");return t?`${t}_${o}`:n.includes(o)?`form_item_${o}`:o}function i(e,t,o,n,r,l){let i=n;return void 0!==l?i=l:o.validating?i="validating":e.length?i="error":t.length?i="warning":(o.touched||r&&o.validated)&&(i="success"),i}},47210:(e,t,o)=>{o.d(t,{A:()=>a});var n=o(97109),r=o(58970),l=o(88483);function i(){return(i=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 a=n.forwardRef((e,t)=>n.createElement(l.A,i({},e,{ref:t,icon:r.A})))},51307:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"}},58970:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"}},67547:(e,t,o)=>{o.d(t,{A:()=>a});var n=o(97109),r=o(51307),l=o(88483);function i(){return(i=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 a=n.forwardRef((e,t)=>n.createElement(l.A,i({},e,{ref:t,icon:r.A})))},85493:(e,t,o)=>{o.d(t,{A:()=>S});var n=o(97109),r=o(59188),l=o(4216),i=o(45042),a=o(97137),c=o(62188),s=o(67189),d=o(42644),u=o(3638),p=o(92162),f=o(26047),m=o(74567),h=o(15561),g=o(7961),v=o(10540);let b=(e,t,o)=>({background:e,[`${o}-icon`]:{color:t}}),$=(0,v.OF)("Alert",e=>[(e=>{let{componentCls:t,motionDurationSlow:o,marginXS:n,marginSM:r,fontSize:l,fontSizeLG:i,lineHeight:a,borderRadiusLG:c,motionEaseInOutCirc:s,withDescriptionIconSize:d,colorText:u,colorTextHeading:p,withDescriptionPadding:f,defaultPadding:m,lineWidth:v,lineType:b,colorSuccessBorder:$,colorWarningBorder:y,colorErrorBorder:w,colorInfoBorder:E}=e;return{[t]:{...(0,g.dF)(e),position:"relative",display:"flex",alignItems:"center",padding:m,wordWrap:"break-word",borderRadius:c,borderWidth:(0,h.zA)(v),borderStyle:b,[`&${t}-success`]:{borderColor:$},[`&${t}-info`]:{borderColor:E},[`&${t}-warning`]:{borderColor:y},[`&${t}-error`]:{borderColor:w},[`&${t}-filled`]:{borderColor:"transparent"},[`&${t}-rtl`]:{direction:"rtl"},[`${t}-section`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:n,lineHeight:0},"&-description":{display:"none",fontSize:l,lineHeight:a},"&-title":{color:p},[`&${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:f,[`${t}-icon`]:{marginInlineEnd:r,fontSize:d,lineHeight:0},[`${t}-title`]:{display:"block",marginBottom:n,color:p,fontSize:i},[`${t}-description`]:{display:"block",color:u}},[`&${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}}})(e),(e=>{let{componentCls:t,colorSuccess:o,colorSuccessBg:n,colorWarning:r,colorWarningBg:l,colorError:i,colorErrorBg:a,colorInfo:c,colorInfoBg:s}=e;return{[t]:{"&-success":b(n,o,t),"&-info":b(s,c,t),"&-warning":b(l,r,t),"&-error":{...b(a,i,t),[`${t}-description > pre`]:{margin:0,padding:0}}}}})(e),(e=>{let{componentCls:t,iconCls:o,motionDurationMid:n,marginXS:r,fontSizeIcon:l,colorIcon:i,colorIconHover:a}=e;return{[t]:{[`${t}-actions`]:{marginInlineStart:r},[`${t}-close-icon`]:{marginInlineStart:r,padding:0,overflow:"hidden",fontSize:l,lineHeight:(0,h.zA)(l),backgroundColor:"transparent",border:"none",cursor:"pointer",...(0,g.K8)(e),[`${o}-close`]:{color:i,transition:`color ${n}`,"&:hover":{color:a}}},"&-close-text":{color:i,transition:`color ${n}`,"&:hover":{color:a}}}}})(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:i,style:s,successIcon:d,infoIcon:u,warningIcon:p,errorIcon:f}=e,m={success:d??n.createElement(r.A,null),info:u??n.createElement(c.A,null),error:f??n.createElement(l.A,null),warning:p??n.createElement(a.A,null)};return n.createElement("span",{className:i,style:s},t??m[o])},w=e=>{let{isClosable:t,prefixCls:o,closeIcon:r,handleClose:l,ariaProps:a,className:c,style:s}=e,d=!0===r||void 0===r?n.createElement(i.A,null):r;return t?n.createElement("button",{type:"button",onClick:l,className:(0,u.$)(`${o}-close-icon`,c),tabIndex:0,style:s,...a},d):null},E=n.forwardRef((e,t)=>{let{description:o,prefixCls:r,message:l,title:i,banner:a,className:c,rootClassName:h,style:g,onMouseEnter:v,onMouseLeave:b,onClick:E,afterClose:A,showIcon:I,closable:C,closeText:M,closeIcon:H,action:N,id:k,styles:S,classNames:x,...R}=e,W=i??l,[_,F]=n.useState(!1),j=n.useRef(null);n.useImperativeHandle(t,()=>({nativeElement:j.current}));let{getPrefixCls:z,direction:L,variant:B,closable:T,closeIcon:V,className:O,style:D,classNames:P,styles:Q,successIcon:X,infoIcon:K,warningIcon:G,errorIcon:Y}=(0,m.TP)("alert"),q=z("alert",r),[J,U]=$(q),{onClose:Z,afterClose:ee}=(0,f.Qd)(C)?C:{},et=t=>{F(!0),(Z??e.onClose)?.(t)},eo=n.useMemo(()=>void 0!==e.type?e.type:a?"warning":"info",[e.type,a]),en=e.variant??B??"outlined",er=n.useMemo(()=>!!(0,f.Qd)(C)&&!!C.closeIcon||!!M||("boolean"==typeof C?C:!!(!1!==H&&(0,f.R)(H))||!!T),[M,H,C,T]),el=!!a&&void 0===I||I,ei={...e,prefixCls:q,variant:en,type:eo,showIcon:el,closable:er},ea=(0,p.XT)(D),ec=(0,p.XT)(g),[es,ed]=(0,p.AV)([P,x],[Q,ea,S,ec],{props:ei}),eu=(0,u.$)(q,`${q}-${eo}`,`${q}-${en}`,{[`${q}-with-description`]:!!o,[`${q}-no-icon`]:!el,[`${q}-banner`]:!!a,[`${q}-rtl`]:"rtl"===L},O,c,h,es.root,U,J),ep=(0,d.KE)(R,{aria:!0,data:!0}),ef=n.useMemo(()=>(0,f.Qd)(C)&&C.closeIcon?C.closeIcon:M||(void 0!==H?H:(0,f.Qd)(T)&&T.closeIcon?T.closeIcon:V),[H,C,T,M,V]),em=n.useMemo(()=>{let e=C??T;return(0,f.Qd)(e)?(0,d.KE)(e,{data:!0,aria:!0}):{}},[C,T]);return n.createElement(s.Ay,{visible:!_,motionName:`${q}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:ee??A},({className:t,style:r},l)=>n.createElement("div",{id:k,ref:(0,d.K4)(j,l),"data-show":!_,className:(0,u.$)(eu,t),style:{...ed.root,...r},onMouseEnter:v,onMouseLeave:b,onClick:E,role:"alert",...ep},el?n.createElement(y,{className:(0,u.$)(`${q}-icon`,es.icon),style:ed.icon,description:o,icon:e.icon,prefixCls:q,type:eo,successIcon:X,infoIcon:K,warningIcon:G,errorIcon:Y}):null,n.createElement("div",{className:(0,u.$)(`${q}-section`,es.section),style:ed.section},W?n.createElement("div",{className:(0,u.$)(`${q}-title`,es.title),style:ed.title},W):null,o?n.createElement("div",{className:(0,u.$)(`${q}-description`,es.description),style:ed.description},o):null),N?n.createElement("div",{className:(0,u.$)(`${q}-actions`,es.actions),style:ed.actions},N):null,n.createElement(w,{className:es.close,style:ed.close,isClosable:er,prefixCls:q,closeIcon:ef,handleClose:et,ariaProps:em})))});var A=o(41113),I=o(49939),C=o(90218),M=o(13076),H=o(83784),N=o(15472);let k=function(e){function t(){var e,o,n;return(0,A.A)(this,t),o=t,n=arguments,o=(0,C.A)(o),(e=(0,H.A)(this,(0,M.A)()?Reflect.construct(o,n||[],(0,C.A)(this).constructor):o.apply(this,n))).state={error:void 0,info:{}},e}return(0,N.A)(t,e),(0,I.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:l}=this.props,{error:i,info:a}=this.state,c=t??e,s=a?.componentStack||null,d=(0,f.R)(c)?c:i?.toString(),u=(0,f.R)(o)?o:s;return i?n.createElement(E,{id:r,type:"error",title:d,description:n.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},u)}):l}}])}(n.PureComponent);E.ErrorBoundary=k;let S=E}}]);