@customize-agent/server 4.0.31 → 4.0.32
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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +33 -45
- package/.next/prerender-manifest.json +3 -3
- package/.next/routes-manifest.json +0 -6
- package/.next/server/chunks/1928.js +1 -1
- package/.next/server/chunks/1936.js +1 -1
- package/.next/server/chunks/3298.js +101 -0
- package/.next/server/chunks/8204.js +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/api/assets/generated/preview.js +1 -1
- package/.next/server/pages/api/assets/generated/preview.js.nft.json +1 -1
- package/.next/server/pages/api/assets/generated.js +1 -1
- package/.next/server/pages/api/assets/generated.js.nft.json +1 -1
- package/.next/server/pages/api/documents/chapter/regenerate.js +1 -1
- package/.next/server/pages/api/documents/chapter/regenerate.js.nft.json +1 -1
- package/.next/server/pages/api/documents/export.js +1 -1
- package/.next/server/pages/api/documents/export.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generate.js +2 -2
- package/.next/server/pages/api/documents/generate.js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated/[id].js +1 -1
- package/.next/server/pages/api/documents/generated/[id].js.nft.json +1 -1
- package/.next/server/pages/api/documents/generated.js +1 -1
- package/.next/server/pages/api/documents/generated.js.nft.json +1 -1
- package/.next/server/pages/api/documents/roles.js +1 -1
- package/.next/server/pages/api/documents/templates.js +1 -1
- package/.next/server/pages/api/documents/templates.js.nft.json +1 -1
- package/.next/server/pages/api/kb/files.js +1 -1
- package/.next/server/pages/api/prompt.js +1 -1
- package/.next/server/pages/asset-library.html +1 -1
- package/.next/server/pages/context/long-term.html +1 -1
- package/.next/server/pages/context/short-term.html +1 -1
- package/.next/server/pages/document-roles.html +1 -1
- package/.next/server/pages/documents.html +1 -1
- package/.next/server/pages/guide.html +1 -1
- package/.next/server/pages/index.html +1 -1
- package/.next/server/pages/knowledge/file-detail.html +1 -1
- package/.next/server/pages/knowledge/files.html +1 -1
- package/.next/server/pages/knowledge/manage.html +1 -1
- package/.next/server/pages/knowledge/search.html +1 -1
- package/.next/server/pages/knowledge.html +1 -1
- package/.next/server/pages/models.html +1 -1
- package/.next/server/pages/overview.html +1 -1
- package/.next/server/pages/prompt.html +1 -1
- package/.next/server/pages/settings.html +1 -1
- package/.next/server/pages/system/logs.html +1 -1
- package/.next/server/pages-manifest.json +21 -23
- package/.next/static/M3RTsFPBW6tg_7bJE5A2X/_buildManifest.js +1 -0
- package/.next/static/chunks/289-30e7c55f49a896b7.js +38 -0
- package/.next/static/chunks/455-97ad88d6604f54b7.js +6 -0
- package/.next/static/chunks/53-d534407b1397d66a.js +1 -0
- package/.next/static/chunks/647-d5e08fda405f7059.js +1 -0
- package/.next/static/chunks/694-2d545cfbb9779f2c.js +1 -0
- package/.next/static/chunks/795-d8fb7a0420512701.js +1 -0
- package/.next/static/chunks/861-91cbdd34b8e23151.js +1 -0
- package/.next/static/chunks/909-27ada1f00a52e11d.js +1 -0
- package/.next/static/chunks/pages/{_app-8abe93a007ab30a7.js → _app-2df1181f6609ae11.js} +2 -2
- package/.next/static/chunks/pages/context/{long-term-2e6a30a8f879df47.js → long-term-6b9a9683a4d6ea86.js} +1 -1
- package/.next/static/chunks/pages/context/{short-term-730211234fa3add6.js → short-term-6078efae6e3a905c.js} +1 -1
- package/.next/static/chunks/pages/{document-roles-4293f5fae599ff83.js → document-roles-24e4ba16d654959d.js} +1 -1
- package/.next/static/chunks/pages/documents-fc1a4fdb681f49a2.js +1 -0
- package/.next/static/chunks/pages/guide-7d15d3d3ddb0205e.js +1 -0
- package/.next/static/chunks/pages/{index-591c5acdff8d0690.js → index-a2a24e9602e7ea52.js} +1 -1
- package/.next/static/chunks/pages/knowledge/{file-detail-0a5e267f77f4e8b3.js → file-detail-97c77dfaf472a4b6.js} +1 -1
- package/.next/static/chunks/pages/knowledge/files-75a33100a1b3b5b5.js +1 -0
- package/.next/static/chunks/pages/models-d5e80645dc4a61b1.js +1 -0
- package/.next/static/chunks/pages/{overview-8d8ba5a1c0aa39ea.js → overview-1260176045ed5f7a.js} +1 -1
- package/.next/static/chunks/pages/system/{logs-f4e222140dc7b30c.js → logs-3826fa44a76b12fc.js} +1 -1
- package/package.json +3 -3
- package/.next/server/chunks/3445.js +0 -76
- package/.next/server/pages/api/documents/specs.js +0 -1
- package/.next/server/pages/api/documents/specs.js.nft.json +0 -1
- package/.next/server/pages/document-specs.html +0 -1
- package/.next/server/pages/document-specs.js.nft.json +0 -1
- package/.next/static/0HB7cANSrxY1wLaf736r0/_buildManifest.js +0 -1
- package/.next/static/chunks/130-c1e5c14958fcba2b.js +0 -1
- package/.next/static/chunks/131-e2f0164f12b82496.js +0 -1
- package/.next/static/chunks/265-32ec272a49cfacef.js +0 -1
- package/.next/static/chunks/289-6bf8af72114aefd5.js +0 -38
- package/.next/static/chunks/455-e04e99d9e242de44.js +0 -6
- package/.next/static/chunks/512-12bd409cebeca05b.js +0 -1
- package/.next/static/chunks/698-5f16390243596219.js +0 -1
- package/.next/static/chunks/795-67a87e03d67ed908.js +0 -1
- package/.next/static/chunks/pages/document-specs-0fa19a0e348efc80.js +0 -1
- package/.next/static/chunks/pages/documents-3b87f1bf389b2f18.js +0 -1
- package/.next/static/chunks/pages/guide-74f0f7f42bc211b0.js +0 -1
- package/.next/static/chunks/pages/knowledge/files-4b0132dd66e57085.js +0 -1
- package/.next/static/chunks/pages/models-b5f68c4c70257495.js +0 -1
- /package/.next/static/{0HB7cANSrxY1wLaf736r0 → M3RTsFPBW6tg_7bJE5A2X}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[53],{1611:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM304 240a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"database",theme:"outlined"}},10218:(e,t,n)=>{n.d(t,{A:()=>v,H:()=>p});var r=n(97109),o=n(4932),a=n(42644);let l=e=>"object"==typeof e&&null!=e&&1===e.nodeType,i=(e,t)=>(!t||"hidden"!==e)&&"visible"!==e&&"clip"!==e,c=(e,t)=>{if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){let n=getComputedStyle(e,null);return i(n.overflowY,t)||i(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},s=(e,t,n,r,o,a,l,i)=>a<e&&l>t||a>e&&l<t?0:a<=e&&i<=n||l>=t&&i>=n?a-e-r:l>t&&i<n||a<e&&i>n?l-t+o:0,d=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},f=(e,t)=>{var n,r,o,a;if("undefined"==typeof document)return[];let{scrollMode:i,block:f,inline:u,boundary:h,skipOverflowHiddenElements:p}=t,m="function"==typeof h?h:e=>e!==h;if(!l(e))throw TypeError("Invalid target");let v=document.scrollingElement||document.documentElement,g=[],b=e;for(;l(b)&&m(b);){if((b=d(b))===v){g.push(b);break}null!=b&&b===document.body&&c(b)&&!c(document.documentElement)||null!=b&&c(b,p)&&g.push(b)}let y=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,w=null!=(a=null==(o=window.visualViewport)?void 0:o.height)?a:innerHeight,{scrollX:A,scrollY:H}=window,{height:$,width:z,top:E,right:M,bottom:O,left:V}=e.getBoundingClientRect(),{top:j,right:C,bottom:I,left:x}=(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),R="start"===f||"nearest"===f?E-j:"end"===f?O+I:E+$/2-j+I,N="center"===u?V+z/2-x+C:"end"===u?M+C:V-x,L=[];for(let e=0;e<g.length;e++){let t=g[e],{height:n,width:r,top:o,right:a,bottom:l,left:d}=t.getBoundingClientRect();if("if-needed"===i&&E>=0&&V>=0&&O<=w&&M<=y&&(t===v&&!c(t)||E>=o&&O<=l&&V>=d&&M<=a))break;let h=getComputedStyle(t),p=parseInt(h.borderLeftWidth,10),m=parseInt(h.borderTopWidth,10),b=parseInt(h.borderRightWidth,10),j=parseInt(h.borderBottomWidth,10),C=0,I=0,x="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-b:0,k="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-j:0,B="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,S="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(v===t)C="start"===f?R:"end"===f?R-w:"nearest"===f?s(H,H+w,w,m,j,H+R,H+R+$,$):R-w/2,I="start"===u?N:"center"===u?N-y/2:"end"===u?N-y:s(A,A+y,y,p,b,A+N,A+N+z,z),C=Math.max(0,C+H),I=Math.max(0,I+A);else{C="start"===f?R-o-m:"end"===f?R-l+j+k:"nearest"===f?s(o,l,n,m,j+k,R,R+$,$):R-(o+n/2)+k/2,I="start"===u?N-d-p:"center"===u?N-(d+r/2)+x/2:"end"===u?N-a+b+x:s(d,a,r,p,b+x,N,N+z,z);let{scrollLeft:e,scrollTop:i}=t;C=0===S?0:Math.max(0,Math.min(i+C/S,t.scrollHeight-n/S+k)),I=0===B?0:Math.max(0,Math.min(e+I/B,t.scrollWidth-r/B+x)),R+=i-C,N+=e-I}L.push({el:t,top:C,left:I})}return L};var u=n(26047),h=n(44624);function p(e){return(0,h.$r)(e).join("_")}function m(e,t){let n=t.getFieldInstance(e),r=(0,a.rb)(n);if(r)return r;let o=(0,h.kV)((0,h.$r)(e),t.__INTERNAL__.name);if(o)return document.getElementById(o)}function v(e){let[t]=(0,o.mN)(),n=r.useRef({}),a=r.useMemo(()=>e??{...t,__INTERNAL__:{itemRef:e=>t=>{let r=p(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:(e,t={})=>{let{focus:n,...r}=t,o=m(e,a);o&&(!function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(f(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:o,top:a,left:l}of f(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=a-n.top+n.bottom,t=l-n.left+n.right;o.scroll({top:e,left:t,behavior:r})}}(o,{scrollMode:"if-needed",block:"nearest",...r}),n&&a.focusField(e))},focusField:e=>{let t=a.getFieldInstance(e);(0,u.Tn)(t?.focus)?t.focus():m(e,a)?.focus?.()},getFieldInstance:e=>{let t=p(e);return n.current[t]}},[e,t]);return[a]}},12887:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",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"}},16285:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(71885),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:o.A})))},23216:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(29664),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:o.A})))},26619:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(1611),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:o.A})))},26631:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(12887),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:o.A})))},29071:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(78847),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:o.A})))},29664:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M908 640H804V488c0-4.4-3.6-8-8-8H548v-96h108c8.8 0 16-7.2 16-16V80c0-8.8-7.2-16-16-16H368c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h108v96H228c-4.4 0-8 3.6-8 8v152H116c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16H292v-88h440v88H620c-8.8 0-16 7.2-16 16v288c0 8.8 7.2 16 16 16h288c8.8 0 16-7.2 16-16V656c0-8.8-7.2-16-16-16zm-564 76v168H176V716h168zm84-408V140h168v168H428zm420 576H680V716h168v168z"}}]},name:"apartment",theme:"outlined"}},44624:(e,t,n)=>{n.d(t,{$r:()=>o,BS:()=>l,kV:()=>a});let r=["parentNode"];function o(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function a(e,t){if(!e.length)return;let n=e.join("_");return t?`${t}_${n}`:r.includes(n)?`form_item_${n}`:n}function l(e,t,n,r,o,a){let l=r;return void 0!==a?l=a:n.validating?l="validating":e.length?l="error":t.length?l="warning":(n.touched||o&&n.validated)&&(l="success"),l}},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"}},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"}},63552:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(87312),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:o.A})))},64068:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(76148),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:o.A})))},66284:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"}},67547:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(51307),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:o.A})))},71885:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M632 888H392c-4.4 0-8 3.6-8 8v32c0 17.7 14.3 32 32 32h192c17.7 0 32-14.3 32-32v-32c0-4.4-3.6-8-8-8zM512 64c-181.1 0-328 146.9-328 328 0 121.4 66 227.4 164 284.1V792c0 17.7 14.3 32 32 32h264c17.7 0 32-14.3 32-32V676.1c98-56.7 164-162.7 164-284.1 0-181.1-146.9-328-328-328zm127.9 549.8L604 634.6V752H420V634.6l-35.9-20.8C305.4 568.3 256 484.5 256 392c0-141.4 114.6-256 256-256s256 114.6 256 256c0 92.5-49.4 176.3-128.1 221.8z"}}]},name:"bulb",theme:"outlined"}},75548:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(66284),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:o.A})))},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,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(56398),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:o.A})))},78847:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"}},85493:(e,t,n)=>{n.d(t,{A:()=>C});var r=n(97109),o=n(59188),a=n(4216),l=n(45042),i=n(97137),c=n(62188),s=n(67189),d=n(42644),f=n(3638),u=n(92162),h=n(26047),p=n(74567),m=n(15561),v=n(7961),g=n(10540);let b=(e,t,n)=>({background:e,[`${n}-icon`]:{color:t}}),y=(0,g.OF)("Alert",e=>[(e=>{let{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:o,fontSize:a,fontSizeLG:l,lineHeight:i,borderRadiusLG:c,motionEaseInOutCirc:s,withDescriptionIconSize:d,colorText:f,colorTextHeading:u,withDescriptionPadding:h,defaultPadding:p,lineWidth:g,lineType:b,colorSuccessBorder:y,colorWarningBorder:w,colorErrorBorder:A,colorInfoBorder:H}=e;return{[t]:{...(0,v.dF)(e),position:"relative",display:"flex",alignItems:"center",padding:p,wordWrap:"break-word",borderRadius:c,borderWidth:(0,m.zA)(g),borderStyle:b,[`&${t}-success`]:{borderColor:y},[`&${t}-info`]:{borderColor:H},[`&${t}-warning`]:{borderColor:w},[`&${t}-error`]:{borderColor:A},[`&${t}-filled`]:{borderColor:"transparent"},[`&${t}-rtl`]:{direction:"rtl"},[`${t}-section`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:a,lineHeight:i},"&-title":{color:u},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:["max-height","opacity","padding-top","padding-bottom","margin-bottom"].map(e=>`${e} ${n} ${s}`).join(", ")},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0},[`&${t}-with-description`]:{alignItems:"flex-start",padding:h,[`${t}-icon`]:{marginInlineEnd:o,fontSize:d,lineHeight:0},[`${t}-title`]:{display:"block",marginBottom:r,color:u,fontSize:l},[`${t}-description`]:{display:"block",color:f}},[`&${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}}})(e),(e=>{let{componentCls:t,colorSuccess:n,colorSuccessBg:r,colorWarning:o,colorWarningBg:a,colorError:l,colorErrorBg:i,colorInfo:c,colorInfoBg:s}=e;return{[t]:{"&-success":b(r,n,t),"&-info":b(s,c,t),"&-warning":b(a,o,t),"&-error":{...b(i,l,t),[`${t}-description > pre`]:{margin:0,padding:0}}}}})(e),(e=>{let{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:o,fontSizeIcon:a,colorIcon:l,colorIconHover:i}=e;return{[t]:{[`${t}-actions`]:{marginInlineStart:o},[`${t}-close-icon`]:{marginInlineStart:o,padding:0,overflow:"hidden",fontSize:a,lineHeight:(0,m.zA)(a),backgroundColor:"transparent",border:"none",cursor:"pointer",...(0,v.K8)(e),[`${n}-close`]:{color:l,transition:`color ${r}`,"&:hover":{color:i}}},"&-close-text":{color:l,transition:`color ${r}`,"&:hover":{color:i}}}}})(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})),w=e=>{let{icon:t,type:n,className:l,style:s,successIcon:d,infoIcon:f,warningIcon:u,errorIcon:h}=e,p={success:d??r.createElement(o.A,null),info:f??r.createElement(c.A,null),error:h??r.createElement(a.A,null),warning:u??r.createElement(i.A,null)};return r.createElement("span",{className:l,style:s},t??p[n])},A=e=>{let{isClosable:t,prefixCls:n,closeIcon:o,handleClose:a,ariaProps:i,className:c,style:s}=e,d=!0===o||void 0===o?r.createElement(l.A,null):o;return t?r.createElement("button",{type:"button",onClick:a,className:(0,f.$)(`${n}-close-icon`,c),tabIndex:0,style:s,...i},d):null},H=r.forwardRef((e,t)=>{let{description:n,prefixCls:o,message:a,title:l,banner:i,className:c,rootClassName:m,style:v,onMouseEnter:g,onMouseLeave:b,onClick:H,afterClose:$,showIcon:z,closable:E,closeText:M,closeIcon:O,action:V,id:j,styles:C,classNames:I,...x}=e,R=l??a,[N,L]=r.useState(!1),k=r.useRef(null);r.useImperativeHandle(t,()=>({nativeElement:k.current}));let{getPrefixCls:B,direction:S,variant:W,closable:_,closeIcon:F,className:P,style:T,classNames:D,styles:Q,successIcon:X,infoIcon:K,warningIcon:G,errorIcon:Y}=(0,p.TP)("alert"),q=B("alert",o),[J,U]=y(q),{onClose:Z,afterClose:ee}=(0,h.Qd)(E)?E:{},et=t=>{L(!0),(Z??e.onClose)?.(t)},en=r.useMemo(()=>void 0!==e.type?e.type:i?"warning":"info",[e.type,i]),er=e.variant??W??"outlined",eo=r.useMemo(()=>!!(0,h.Qd)(E)&&!!E.closeIcon||!!M||("boolean"==typeof E?E:!!(!1!==O&&(0,h.R)(O))||!!_),[M,O,E,_]),ea=!!i&&void 0===z||z,el={...e,prefixCls:q,variant:er,type:en,showIcon:ea,closable:eo},ei=(0,u.XT)(T),ec=(0,u.XT)(v),[es,ed]=(0,u.AV)([D,I],[Q,ei,C,ec],{props:el}),ef=(0,f.$)(q,`${q}-${en}`,`${q}-${er}`,{[`${q}-with-description`]:!!n,[`${q}-no-icon`]:!ea,[`${q}-banner`]:!!i,[`${q}-rtl`]:"rtl"===S},P,c,m,es.root,U,J),eu=(0,d.KE)(x,{aria:!0,data:!0}),eh=r.useMemo(()=>(0,h.Qd)(E)&&E.closeIcon?E.closeIcon:M||(void 0!==O?O:(0,h.Qd)(_)&&_.closeIcon?_.closeIcon:F),[O,E,_,M,F]),ep=r.useMemo(()=>{let e=E??_;return(0,h.Qd)(e)?(0,d.KE)(e,{data:!0,aria:!0}):{}},[E,_]);return r.createElement(s.Ay,{visible:!N,motionName:`${q}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:ee??$},({className:t,style:o},a)=>r.createElement("div",{id:j,ref:(0,d.K4)(k,a),"data-show":!N,className:(0,f.$)(ef,t),style:{...ed.root,...o},onMouseEnter:g,onMouseLeave:b,onClick:H,role:"alert",...eu},ea?r.createElement(w,{className:(0,f.$)(`${q}-icon`,es.icon),style:ed.icon,description:n,icon:e.icon,prefixCls:q,type:en,successIcon:X,infoIcon:K,warningIcon:G,errorIcon:Y}):null,r.createElement("div",{className:(0,f.$)(`${q}-section`,es.section),style:ed.section},R?r.createElement("div",{className:(0,f.$)(`${q}-title`,es.title),style:ed.title},R):null,n?r.createElement("div",{className:(0,f.$)(`${q}-description`,es.description),style:ed.description},n):null),V?r.createElement("div",{className:(0,f.$)(`${q}-actions`,es.actions),style:ed.actions},V):null,r.createElement(A,{className:es.close,style:ed.close,isClosable:eo,prefixCls:q,closeIcon:eh,handleClose:et,ariaProps:ep})))});var $=n(41113),z=n(49939),E=n(90218),M=n(13076),O=n(83784),V=n(15472);let j=function(e){function t(){var e,n,r;return(0,$.A)(this,t),n=t,r=arguments,n=(0,E.A)(n),(e=(0,O.A)(this,(0,M.A)()?Reflect.construct(n,r||[],(0,E.A)(this).constructor):n.apply(this,r))).state={error:void 0,info:{}},e}return(0,V.A)(t,e),(0,z.A)(t,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){let{message:e,title:t,description:n,id:o,children:a}=this.props,{error:l,info:i}=this.state,c=t??e,s=i?.componentStack||null,d=(0,h.R)(c)?c:l?.toString(),f=(0,h.R)(n)?n:s;return l?r.createElement(H,{id:o,type:"error",title:d,description:r.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},f)}):a}}])}(r.PureComponent);H.ErrorBoundary=j;let C=H},87312:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M688 312v-48c0-4.4-3.6-8-8-8H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8zm-392 88c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm376 116c-119.3 0-216 96.7-216 216s96.7 216 216 216 216-96.7 216-216-96.7-216-216-216zm107.5 323.5C750.8 868.2 712.6 884 672 884s-78.8-15.8-107.5-44.5C535.8 810.8 520 772.6 520 732s15.8-78.8 44.5-107.5C593.2 595.8 631.4 580 672 580s78.8 15.8 107.5 44.5C808.2 653.2 824 691.4 824 732s-15.8 78.8-44.5 107.5zM761 656h-44.3c-2.6 0-5 1.2-6.5 3.3l-63.5 87.8-23.1-31.9a7.92 7.92 0 00-6.5-3.3H573c-6.5 0-10.3 7.4-6.5 12.7l73.8 102.1c3.2 4.4 9.7 4.4 12.9 0l114.2-158c3.9-5.3.1-12.7-6.4-12.7zM440 852H208V148h560v344c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h272c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"file-done",theme:"outlined"}},99811:(e,t,n)=>{n.d(t,{A:()=>i});var r=n(97109),o=n(14995),a=n(88483);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let i=r.forwardRef((e,t)=>r.createElement(a.A,l({},e,{ref:t,icon:o.A})))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[647],{69:(t,e)=>{e.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M608 112c-167.9 0-304 136.1-304 304 0 70.3 23.9 135 63.9 186.5L255.8 713.6l-62.3-62.3a8.19 8.19 0 00-11.4 0l-39.8 39.8a8.19 8.19 0 000 11.4l62.3 62.3-44.9 44.9-62.3-62.3a8.19 8.19 0 00-11.4 0l-39.8 39.8a8.19 8.19 0 000 11.4l110.3 111.2c3.1 3.1 8.2 3.1 11.3 0l253.6-253.6A304.1 304.1 0 00608 720c167.9 0 304-136.1 304-304S775.9 112 608 112m161.2 465.2C726.2 620.3 668.9 644 608 644s-118.2-23.7-161.2-66.8C403.7 534.2 380 476.9 380 416s23.7-118.2 66.8-161.2c43-43.1 100.3-66.8 161.2-66.8s118.2 23.7 161.2 66.8c43.1 43 66.8 100.3 66.8 161.2s-23.7 118.2-66.8 161.2"}}]},name:"key",theme:"outlined"}},2256:(t,e,n)=>{n.d(e,{A:()=>l});let l=n(25341).A},5450:(t,e)=>{e.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"}},10218:(t,e,n)=>{n.d(e,{A:()=>m,H:()=>p});var l=n(97109),r=n(4932),o=n(42644);let i=t=>"object"==typeof t&&null!=t&&1===t.nodeType,c=(t,e)=>(!e||"hidden"!==t)&&"visible"!==t&&"clip"!==t,a=(t,e)=>{if(t.clientHeight<t.scrollHeight||t.clientWidth<t.scrollWidth){let n=getComputedStyle(t,null);return c(n.overflowY,e)||c(n.overflowX,e)||(t=>{let e=(t=>{if(!t.ownerDocument||!t.ownerDocument.defaultView)return null;try{return t.ownerDocument.defaultView.frameElement}catch(t){return null}})(t);return!!e&&(e.clientHeight<t.scrollHeight||e.clientWidth<t.scrollWidth)})(t)}return!1},s=(t,e,n,l,r,o,i,c)=>o<t&&i>e||o>t&&i<e?0:o<=t&&c<=n||i>=e&&c>=n?o-t-l:i>e&&c<n||o<t&&c>n?i-e+r:0,d=t=>{let e=t.parentElement;return null==e?t.getRootNode().host||null:e},f=(t,e)=>{var n,l,r,o;if("undefined"==typeof document)return[];let{scrollMode:c,block:f,inline:u,boundary:h,skipOverflowHiddenElements:p}=e,g="function"==typeof h?h:t=>t!==h;if(!i(t))throw TypeError("Invalid target");let m=document.scrollingElement||document.documentElement,b=[],v=t;for(;i(v)&&g(v);){if((v=d(v))===m){b.push(v);break}null!=v&&v===document.body&&a(v)&&!a(document.documentElement)||null!=v&&a(v,p)&&b.push(v)}let w=null!=(l=null==(n=window.visualViewport)?void 0:n.width)?l:innerWidth,y=null!=(o=null==(r=window.visualViewport)?void 0:r.height)?o:innerHeight,{scrollX:A,scrollY:M}=window,{height:z,width:H,top:j,right:O,bottom:L,left:_}=t.getBoundingClientRect(),{top:E,right:W,bottom:$,left:k}=(t=>{let e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(t),R="start"===f||"nearest"===f?j-E:"end"===f?L+$:j+z/2-E+$,C="center"===u?_+H/2-k+W:"end"===u?O+W:_-k,F=[];for(let t=0;t<b.length;t++){let e=b[t],{height:n,width:l,top:r,right:o,bottom:i,left:d}=e.getBoundingClientRect();if("if-needed"===c&&j>=0&&_>=0&&L<=y&&O<=w&&(e===m&&!a(e)||j>=r&&L<=i&&_>=d&&O<=o))break;let h=getComputedStyle(e),p=parseInt(h.borderLeftWidth,10),g=parseInt(h.borderTopWidth,10),v=parseInt(h.borderRightWidth,10),E=parseInt(h.borderBottomWidth,10),W=0,$=0,k="offsetWidth"in e?e.offsetWidth-e.clientWidth-p-v:0,N="offsetHeight"in e?e.offsetHeight-e.clientHeight-g-E:0,V="offsetWidth"in e?0===e.offsetWidth?0:l/e.offsetWidth:0,B="offsetHeight"in e?0===e.offsetHeight?0:n/e.offsetHeight:0;if(m===e)W="start"===f?R:"end"===f?R-y:"nearest"===f?s(M,M+y,y,g,E,M+R,M+R+z,z):R-y/2,$="start"===u?C:"center"===u?C-w/2:"end"===u?C-w:s(A,A+w,w,p,v,A+C,A+C+H,H),W=Math.max(0,W+M),$=Math.max(0,$+A);else{W="start"===f?R-r-g:"end"===f?R-i+E+N:"nearest"===f?s(r,i,n,g,E+N,R,R+z,z):R-(r+n/2)+N/2,$="start"===u?C-d-p:"center"===u?C-(d+l/2)+k/2:"end"===u?C-o+v+k:s(d,o,l,p,v+k,C,C+H,H);let{scrollLeft:t,scrollTop:c}=e;W=0===B?0:Math.max(0,Math.min(c+W/B,e.scrollHeight-n/B+N)),$=0===V?0:Math.max(0,Math.min(t+$/V,e.scrollWidth-l/V+k)),R+=c-W,C+=t-$}F.push({el:e,top:W,left:$})}return F};var u=n(26047),h=n(44624);function p(t){return(0,h.$r)(t).join("_")}function g(t,e){let n=e.getFieldInstance(t),l=(0,o.rb)(n);if(l)return l;let r=(0,h.kV)((0,h.$r)(t),e.__INTERNAL__.name);if(r)return document.getElementById(r)}function m(t){let[e]=(0,r.mN)(),n=l.useRef({}),o=l.useMemo(()=>t??{...e,__INTERNAL__:{itemRef:t=>e=>{let l=p(t);e?n.current[l]=e:delete n.current[l]}},scrollToField:(t,e={})=>{let{focus:n,...l}=e,r=g(t,o);r&&(!function(t,e){if(!t.isConnected||!(t=>{let e=t;for(;e&&e.parentNode;){if(e.parentNode===document)return!0;e=e.parentNode instanceof ShadowRoot?e.parentNode.host:e.parentNode}return!1})(t))return;let n=(t=>{let e=window.getComputedStyle(t);return{top:parseFloat(e.scrollMarginTop)||0,right:parseFloat(e.scrollMarginRight)||0,bottom:parseFloat(e.scrollMarginBottom)||0,left:parseFloat(e.scrollMarginLeft)||0}})(t);if("object"==typeof e&&"function"==typeof e.behavior)return e.behavior(f(t,e));let l="boolean"==typeof e||null==e?void 0:e.behavior;for(let{el:r,top:o,left:i}of f(t,!1===e?{block:"end",inline:"nearest"}:e===Object(e)&&0!==Object.keys(e).length?e:{block:"start",inline:"nearest"})){let t=o-n.top+n.bottom,e=i-n.left+n.right;r.scroll({top:t,left:e,behavior:l})}}(r,{scrollMode:"if-needed",block:"nearest",...l}),n&&o.focusField(t))},focusField:t=>{let e=o.getFieldInstance(t);(0,u.Tn)(e?.focus)?e.focus():g(t,o)?.focus?.()},getFieldInstance:t=>{let e=p(t);return n.current[e]}},[t,e]);return[o]}},13114:(t,e,n)=>{n.d(e,{A:()=>c});var l=n(97109),r=n(5450),o=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t}).apply(this,arguments)}let c=l.forwardRef((t,e)=>l.createElement(o.A,i({},t,{ref:e,icon:r.A})))},15437:(t,e,n)=>{n.d(e,{A:()=>l});let l=t=>{let{componentCls:e,antCls:n,motionDurationMid:l,motionEaseInOut:r}=t;return{[e]:{[`${n}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(t=>`${t} ${l} ${r}`).join(", ")} !important`}},[`${n}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(t=>`${t} ${l} ${r}`).join(", ")} !important`}}}}},29071:(t,e,n)=>{n.d(e,{A:()=>c});var l=n(97109),r=n(78847),o=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t}).apply(this,arguments)}let c=l.forwardRef((t,e)=>l.createElement(o.A,i({},t,{ref:e,icon:r.A})))},30289:(t,e)=>{e.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.4 800.9c.2-.3.5-.6.7-.9C920.6 722.1 960 621.7 960 512s-39.4-210.1-104.8-288c-.2-.3-.5-.5-.7-.8-1.1-1.3-2.1-2.5-3.2-3.7-.4-.5-.8-.9-1.2-1.4l-4.1-4.7-.1-.1c-1.5-1.7-3.1-3.4-4.6-5.1l-.1-.1c-3.2-3.4-6.4-6.8-9.7-10.1l-.1-.1-4.8-4.8-.3-.3c-1.5-1.5-3-2.9-4.5-4.3-.5-.5-1-1-1.6-1.5-1-1-2-1.9-3-2.8-.3-.3-.7-.6-1-1C736.4 109.2 629.5 64 512 64s-224.4 45.2-304.3 119.2c-.3.3-.7.6-1 1-1 .9-2 1.9-3 2.9-.5.5-1 1-1.6 1.5-1.5 1.4-3 2.9-4.5 4.3l-.3.3-4.8 4.8-.1.1c-3.3 3.3-6.5 6.7-9.7 10.1l-.1.1c-1.6 1.7-3.1 3.4-4.6 5.1l-.1.1c-1.4 1.5-2.8 3.1-4.1 4.7-.4.5-.8.9-1.2 1.4-1.1 1.2-2.1 2.5-3.2 3.7-.2.3-.5.5-.7.8C103.4 301.9 64 402.3 64 512s39.4 210.1 104.8 288c.2.3.5.6.7.9l3.1 3.7c.4.5.8.9 1.2 1.4l4.1 4.7c0 .1.1.1.1.2 1.5 1.7 3 3.4 4.6 5l.1.1c3.2 3.4 6.4 6.8 9.6 10.1l.1.1c1.6 1.6 3.1 3.2 4.7 4.7l.3.3c3.3 3.3 6.7 6.5 10.1 9.6 80.1 74 187 119.2 304.5 119.2s224.4-45.2 304.3-119.2a300 300 0 0010-9.6l.3-.3c1.6-1.6 3.2-3.1 4.7-4.7l.1-.1c3.3-3.3 6.5-6.7 9.6-10.1l.1-.1c1.5-1.7 3.1-3.3 4.6-5 0-.1.1-.1.1-.2 1.4-1.5 2.8-3.1 4.1-4.7.4-.5.8-.9 1.2-1.4a99 99 0 003.3-3.7zm4.1-142.6c-13.8 32.6-32 62.8-54.2 90.2a444.07 444.07 0 00-81.5-55.9c11.6-46.9 18.8-98.4 20.7-152.6H887c-3 40.9-12.6 80.6-28.5 118.3zM887 484H743.5c-1.9-54.2-9.1-105.7-20.7-152.6 29.3-15.6 56.6-34.4 81.5-55.9A373.86 373.86 0 01887 484zM658.3 165.5c39.7 16.8 75.8 40 107.6 69.2a394.72 394.72 0 01-59.4 41.8c-15.7-45-35.8-84.1-59.2-115.4 3.7 1.4 7.4 2.9 11 4.4zm-90.6 700.6c-9.2 7.2-18.4 12.7-27.7 16.4V697a389.1 389.1 0 01115.7 26.2c-8.3 24.6-17.9 47.3-29 67.8-17.4 32.4-37.8 58.3-59 75.1zm59-633.1c11 20.6 20.7 43.3 29 67.8A389.1 389.1 0 01540 327V141.6c9.2 3.7 18.5 9.1 27.7 16.4 21.2 16.7 41.6 42.6 59 75zM540 640.9V540h147.5c-1.6 44.2-7.1 87.1-16.3 127.8l-.3 1.2A445.02 445.02 0 00540 640.9zm0-156.9V383.1c45.8-2.8 89.8-12.5 130.9-28.1l.3 1.2c9.2 40.7 14.7 83.5 16.3 127.8H540zm-56 56v100.9c-45.8 2.8-89.8 12.5-130.9 28.1l-.3-1.2c-9.2-40.7-14.7-83.5-16.3-127.8H484zm-147.5-56c1.6-44.2 7.1-87.1 16.3-127.8l.3-1.2c41.1 15.6 85 25.3 130.9 28.1V484H336.5zM484 697v185.4c-9.2-3.7-18.5-9.1-27.7-16.4-21.2-16.7-41.7-42.7-59.1-75.1-11-20.6-20.7-43.3-29-67.8 37.2-14.6 75.9-23.3 115.8-26.1zm0-370a389.1 389.1 0 01-115.7-26.2c8.3-24.6 17.9-47.3 29-67.8 17.4-32.4 37.8-58.4 59.1-75.1 9.2-7.2 18.4-12.7 27.7-16.4V327zM365.7 165.5c3.7-1.5 7.3-3 11-4.4-23.4 31.3-43.5 70.4-59.2 115.4-21-12-40.9-26-59.4-41.8 31.8-29.2 67.9-52.4 107.6-69.2zM165.5 365.7c13.8-32.6 32-62.8 54.2-90.2 24.9 21.5 52.2 40.3 81.5 55.9-11.6 46.9-18.8 98.4-20.7 152.6H137c3-40.9 12.6-80.6 28.5-118.3zM137 540h143.5c1.9 54.2 9.1 105.7 20.7 152.6a444.07 444.07 0 00-81.5 55.9A373.86 373.86 0 01137 540zm228.7 318.5c-39.7-16.8-75.8-40-107.6-69.2 18.5-15.8 38.4-29.7 59.4-41.8 15.7 45 35.8 84.1 59.2 115.4-3.7-1.4-7.4-2.9-11-4.4zm292.6 0c-3.7 1.5-7.3 3-11 4.4 23.4-31.3 43.5-70.4 59.2-115.4 21 12 40.9 26 59.4 41.8a373.81 373.81 0 01-107.6 69.2z"}}]},name:"global",theme:"outlined"}},38770:(t,e,n)=>{n.d(e,{A:()=>l});let l=n(51916).A},44624:(t,e,n)=>{n.d(e,{$r:()=>r,BS:()=>i,kV:()=>o});let l=["parentNode"];function r(t){return void 0===t||!1===t?[]:Array.isArray(t)?t:[t]}function o(t,e){if(!t.length)return;let n=t.join("_");return e?`${e}_${n}`:l.includes(n)?`form_item_${n}`:n}function i(t,e,n,l,r,o){let i=l;return void 0!==o?i=o:n.validating?i="validating":t.length?i="error":e.length?i="warning":(n.touched||r&&n.validated)&&(i="success"),i}},61825:(t,e,n)=>{n.d(e,{A:()=>c});var l=n(97109),r=n(30289),o=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t}).apply(this,arguments)}let c=l.forwardRef((t,e)=>l.createElement(o.A,i({},t,{ref:e,icon:r.A})))},76981:(t,e,n)=>{n.d(e,{A:()=>c});var l=n(97109),r=n(69),o=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var l in n)Object.prototype.hasOwnProperty.call(n,l)&&(t[l]=n[l])}return t}).apply(this,arguments)}let c=l.forwardRef((t,e)=>l.createElement(o.A,i({},t,{ref:e,icon:r.A})))},78847:(t,e)=>{e.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[694],{520:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(18200),c=a(88483);function l(){return(l=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(c.A,l({},e,{ref:t,icon:n.A})))},2256:(e,t,a)=>{a.d(t,{A:()=>r});let r=a(25341).A},5450:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M917.7 148.8l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7 35.3 0 68.4 13.7 93.4 38.7 24.9 24.9 38.7 58.1 38.7 93.4 0 35.3-13.8 68.4-38.7 93.4zm-190.2 105a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2c-68.9 69-77 175.7-24.3 253.5l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7a131.32 131.32 0 01-38.7-93.4c0-35.3 13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4z"}}]},name:"api",theme:"outlined"}},8579:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(95008),c=a(88483);function l(){return(l=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(c.A,l({},e,{ref:t,icon:n.A})))},12887:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"}},13114:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(5450),c=a(88483);function l(){return(l=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(c.A,l({},e,{ref:t,icon:n.A})))},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"}},18200:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M704 446H320c-4.4 0-8 3.6-8 8v402c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8V454c0-4.4-3.6-8-8-8zm-328 64h272v117H376V510zm272 290H376V683h272v117z"}},{tag:"path",attrs:{d:"M424 748a32 32 0 1064 0 32 32 0 10-64 0zm0-178a32 32 0 1064 0 32 32 0 10-64 0z"}},{tag:"path",attrs:{d:"M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z"}}]},name:"cloud-server",theme:"outlined"}},24810:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(31738),c=a(88483);function l(){return(l=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(c.A,l({},e,{ref:t,icon:n.A})))},26631:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(12887),c=a(88483);function l(){return(l=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(c.A,l({},e,{ref:t,icon:n.A})))},29071:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(78847),c=a(88483);function l(){return(l=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(c.A,l({},e,{ref:t,icon:n.A})))},31738:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M300 328a60 60 0 10120 0 60 60 0 10-120 0zM852 64H172c-17.7 0-32 14.3-32 32v660c0 17.7 14.3 32 32 32h680c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-32 660H204V128h616v596zM604 328a60 60 0 10120 0 60 60 0 10-120 0zm250.2 556H169.8c-16.5 0-29.8 14.3-29.8 32v36c0 4.4 3.3 8 7.4 8h729.1c4.1 0 7.4-3.6 7.4-8v-36c.1-17.7-13.2-32-29.7-32zM664 508H360c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h304c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"robot",theme:"outlined"}},32632:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(68552),c=a(88483);function l(){return(l=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(c.A,l({},e,{ref:t,icon:n.A})))},38770:(e,t,a)=>{a.d(t,{A:()=>r});let r=a(51916).A},53234:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-600 72h560v208H232V136zm560 480H232V408h560v208zm0 272H232V680h560v208zM496 208H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 544h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H312c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm328 244a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"hdd",theme:"outlined"}},54849:(e,t,a)=>{a.d(t,{A:()=>y});var r=a(97109),n=a(42644),c=a(52690),l=a(3638),o=a(92162),s=a(26047),i=a(74567),f=a(88762);let v=e=>{let t,{value:a,formatter:n,precision:c,decimalSeparator:l,groupSeparator:o="",prefixCls:i,className:f,style:v}=e;if((0,s.Tn)(n))t=n(a);else{let e=String(a),n=e.match(/^(-?)(\d*)(\.(\d+))?$/);if(n&&"-"!==e){let e=n[1],a=n[2]||"0",f=n[4]||"";a=a.replace(/\B(?=(\d{3})+(?!\d))/g,o),(0,s.Et)(c)&&(f=f.padEnd(c,"0").slice(0,c>0?c:0)),f&&(f=`${l}${f}`),t=[r.createElement("span",{key:"int",className:`${i}-content-value-int`},e,a),f&&r.createElement("span",{key:"decimal",className:`${i}-content-value-decimal`},f)]}else t=e}return r.createElement("span",{className:f,style:v},t)};var d=a(7961),u=a(10540),h=a(28403);let p=(0,u.OF)("Statistic",e=>(e=>{let{componentCls:t,marginXXS:a,padding:r,colorTextDescription:n,titleFontSize:c,colorTextHeading:l,contentFontSize:o,fontFamily:s}=e;return{[t]:{...(0,d.dF)(e),[`${t}-header`]:{paddingBottom:a,[`${t}-title`]:{color:n,fontSize:c}},[`${t}-skeleton`]:{paddingTop:r},[`${t}-content`]:{color:l,fontSize:o,fontFamily:s,[`${t}-content-value`]:{display:"inline-block",direction:"ltr"},[`${t}-content-prefix, ${t}-content-suffix`]:{display:"inline-block"},[`${t}-content-prefix`]:{marginInlineEnd:a},[`${t}-content-suffix`]:{marginInlineStart:a}}}}})((0,h.oX)(e,{})),e=>{let{fontSizeHeading3:t,fontSize:a}=e;return{titleFontSize:a,contentFontSize:t}}),m=r.forwardRef((e,t)=>{let{prefixCls:a,className:c,rootClassName:d,style:u,valueStyle:h,value:m=0,title:g,valueRender:b,prefix:A,suffix:w,loading:y=!1,formatter:z,precision:O,decimalSeparator:E=".",groupSeparator:M=",",onMouseEnter:H,onMouseLeave:j,styles:$,classNames:x,...V}=e,{getPrefixCls:L,direction:N,className:S,style:R,classNames:B,styles:P}=(0,i.TP)("statistic"),k=L("statistic",a),[T,C]=p(k),I={...e,decimalSeparator:E,groupSeparator:M,loading:y,value:m},D=(0,o.XT)(R),_=(0,o.XT)(u),[F,X]=(0,o.AV)([B,x],[P,D,$,_],{props:I}),q=(0,l.$)(k,{[`${k}-rtl`]:"rtl"===N},S,c,d,F.root,T,C),K=(0,l.$)(`${k}-header`,F.header),Y=(0,l.$)(`${k}-title`,F.title),G=(0,l.$)(`${k}-content`,F.content),J=(0,l.$)(`${k}-content-value`,F.value),Q=(0,l.$)(`${k}-content-prefix`,F.prefix),U=(0,l.$)(`${k}-content-suffix`,F.suffix),W=r.createElement(v,{decimalSeparator:E,groupSeparator:M,prefixCls:k,formatter:z,precision:O,value:m,className:J,style:X.value}),Z=r.useRef(null);r.useImperativeHandle(t,()=>({nativeElement:Z.current}));let ee=(0,n.KE)(V,{aria:!0,data:!0});return r.createElement("div",{...ee,className:q,style:X.root,ref:Z,onMouseEnter:H,onMouseLeave:j},g&&r.createElement("div",{className:K,style:X.header},r.createElement("div",{className:Y,style:X.title},g)),r.createElement(f.A,{paragraph:!1,loading:y,className:`${k}-skeleton`,active:!0},r.createElement("div",{className:G,style:{...h,...X.content}},A&&r.createElement("span",{className:Q,style:X.prefix},A),(0,s.Tn)(b)?b(W):W,w&&r.createElement("span",{className:U,style:X.suffix},w))))}),g=[["Y",31536e6],["M",2592e6],["D",864e5],["H",36e5],["m",6e4],["s",1e3],["S",1]],b=1e3/60,A=e=>{let{value:t,format:a="HH:mm:ss",onChange:l,onFinish:o,type:s,...i}=e,f="countdown"===s,[v,d]=r.useState(null),u=(0,n._q)(()=>{let e=Date.now(),a=new Date(t).getTime();d({});let r=f?a-e:e-a;return l?.(r),!f||!(a<e)||(o?.(),!1)});return r.useEffect(()=>{let e;return e=window.setInterval(()=>{u()||window.clearInterval(e)},b),()=>{window.clearInterval(e)}},[t,f]),r.useEffect(()=>{d({})},[]),r.createElement(m,{...i,value:t,valueRender:e=>(0,c.Ob)(e,{title:void 0}),formatter:(e,t)=>v?function(e,t,a){let{format:r=""}=t,n=new Date(e).getTime(),c=Date.now();return function(e,t){let a=e,r=/\[[^\]]*]/g,n=(t.match(r)||[]).map(e=>e.slice(1,-1)),c=t.replace(r,"[]"),l=g.reduce((e,[t,r])=>{if(e.includes(t)){let n=Math.floor(a/r);return a-=n*r,e.replace(RegExp(`${t}+`,"g"),e=>{let t=e.length;return n.toString().padStart(t,"0")})}return e},c),o=0;return l.replace(r,()=>{let e=n[o];return o+=1,e})}(a?Math.max(n-c,0):Math.max(c-n,0),r)}(e,{...t,format:a},f):"-"})},w=r.memo(e=>r.createElement(A,{...e,type:"countdown"}));m.Timer=A,m.Countdown=w;let y=m},68552:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-696 72h136v656H184V184zm656 656H384V384h456v456zM384 320V184h456v136H384z"}}]},name:"layout",theme:"outlined"}},75710:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M843.5 737.4c-12.4-75.2-79.2-129.1-155.3-125.4S550.9 676 546 752c-153.5-4.8-208-40.7-199.1-113.7 3.3-27.3 19.8-41.9 50.1-49 18.4-4.3 38.8-4.9 57.3-3.2 1.7.2 3.5.3 5.2.5 11.3 2.7 22.8 5 34.3 6.8 34.1 5.6 68.8 8.4 101.8 6.6 92.8-5 156-45.9 159.2-132.7 3.1-84.1-54.7-143.7-147.9-183.6-29.9-12.8-61.6-22.7-93.3-30.2-14.3-3.4-26.3-5.7-35.2-7.2-7.9-75.9-71.5-133.8-147.8-134.4-76.3-.6-140.9 56.1-150.1 131.9s40 146.3 114.2 163.9c74.2 17.6 149.9-23.3 175.7-95.1 9.4 1.7 18.7 3.6 28 5.8 28.2 6.6 56.4 15.4 82.4 26.6 70.7 30.2 109.3 70.1 107.5 119.9-1.6 44.6-33.6 65.2-96.2 68.6-27.5 1.5-57.6-.9-87.3-5.8-8.3-1.4-15.9-2.8-22.6-4.3-3.9-.8-6.6-1.5-7.8-1.8l-3.1-.6c-2.2-.3-5.9-.8-10.7-1.3-25-2.3-52.1-1.5-78.5 4.6-55.2 12.9-93.9 47.2-101.1 105.8-15.7 126.2 78.6 184.7 276 188.9 29.1 70.4 106.4 107.9 179.6 87 73.3-20.9 119.3-93.4 106.9-168.6zM329.1 345.2a83.3 83.3 0 11.01-166.61 83.3 83.3 0 01-.01 166.61zM695.6 845a83.3 83.3 0 11.01-166.61A83.3 83.3 0 01695.6 845z"}}]},name:"node-index",theme:"outlined"}},78847:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M848 359.3H627.7L825.8 109c4.1-5.3.4-13-6.3-13H436c-2.8 0-5.5 1.5-6.9 4L170 547.5c-3.1 5.3.7 12 6.9 12h174.4l-89.4 357.6c-1.9 7.8 7.5 13.3 13.3 7.7L853.5 373c5.2-4.9 1.7-13.7-5.5-13.7zM378.2 732.5l60.3-241H281.1l189.6-327.4h224.6L487 427.4h211L378.2 732.5z"}}]},name:"thunderbolt",theme:"outlined"}},93314:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(53234),c=a(88483);function l(){return(l=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(c.A,l({},e,{ref:t,icon:n.A})))},95008:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"}},95118:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(75710),c=a(88483);function l(){return(l=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(c.A,l({},e,{ref:t,icon:n.A})))},99811:(e,t,a)=>{a.d(t,{A:()=>o});var r=a(97109),n=a(14995),c=a(88483);function l(){return(l=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(c.A,l({},e,{ref:t,icon:n.A})))}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[795],{27795:(e,l,s)=>{s.r(l),s.d(l,{default:()=>N});var t=s(65321),r=s(97109),i=s(79059),o=s(33442),n=s(85114),c=s(2256),a=s(38770),d=s(68787),x=s(99605),v=s(54849),u=s(11702),h=s(99811),m=s(520),j=s(93314),A=s(13114),y=s(29071),p=s(26631),g=s(84742),f=s(38762),k=s(8579),S=s(32632),w=s(95118),z=s(24810),T=s(6578);function N(){var e,l,s,N,b,C,P,D,M,O,F,I,B,E,_,W,U,L;let R=(0,i.Vr)(),[V,Z]=(0,r.useState)(null),[q,G]=(0,r.useState)(!0),[H,J]=(0,r.useState)(0),[K,Q]=(0,r.useState)(0),[X,Y]=(0,r.useState)(0),[$,ee]=(0,r.useState)(0),[el,es]=(0,r.useState)(null),et=(0,r.useCallback)(async()=>{G(!0);try{let[e,l,s,t,r]=await Promise.all([(0,T.FC)(),(0,T.Z3)().catch(()=>[]),(0,T.lv)().catch(()=>({roles:[],configs:[]})),(0,T.Dl)().catch(()=>({templates:[]})),(0,T.II)().catch(()=>null)]);Z(e),J(Array.isArray(l)?l.length:0);let i=Array.isArray(s.roles)?s.roles:[];Q(i.filter(e=>"file"===e.type).length),Y(i.filter(e=>"prompt"===e.type).length),ee(Array.isArray(t.templates)?t.templates.length:0),es(r)}catch(e){}finally{G(!1)}},[]);(0,r.useEffect)(()=>{et();let e=setInterval(()=>{et()},1e4);return()=>clearInterval(e)},[et]);let er=(null!=(l=null==V?void 0:V.cpu.usagePercent)?l:0)>80?"var(--colorDanger)":(null!=(s=null==V?void 0:V.cpu.usagePercent)?s:0)>50?"var(--colorWarning)":"var(--colorOk)",ei=(null!=(N=null==V?void 0:V.memory.usagePercent)?N:0)>80?"var(--colorDanger)":(null!=(b=null==V?void 0:V.memory.usagePercent)?b:0)>50?"var(--colorWarning)":"var(--colorOk)",eo=(null==V?void 0:V.tasks.total)?Math.round(V.tasks.success/V.tasks.total*100):0,en=null==V||null==(e=V.models)?void 0:e[0],ec=(null==V?void 0:V.logs.latestAt)?new Date(V.logs.latestAt).toLocaleString():"暂无日志";return(0,t.jsxs)("div",{className:"space-y-6 animateFadeIn",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"pageTitle",children:R("overview.title")}),(0,t.jsx)("p",{className:"pageDesc",children:R("overview.description")})]}),(0,t.jsxs)(o.A,{children:[(0,t.jsxs)("span",{style:{color:"var(--colorTextSecondary)",fontSize:12},children:["统计更新:",ec]}),(0,t.jsx)(n.Ay,{icon:(0,t.jsx)(h.A,{spin:q}),loading:q,onClick:()=>{et()},children:R("common.retry")})]})]}),(0,t.jsxs)(c.A,{gutter:[16,16],children:[(0,t.jsx)(a.A,{xs:24,sm:12,children:(0,t.jsx)(d.A,{size:"small",title:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(m.A,{})," CPU"]}),children:(0,t.jsxs)("div",{style:{textAlign:"center"},children:[(0,t.jsx)(x.A,{type:"circle",percent:null!=(C=null==V?void 0:V.cpu.usagePercent)?C:0,size:120,strokeColor:er,format:e=>"".concat(null==e?void 0:e.toFixed(1),"%")}),(0,t.jsxs)("div",{className:"text-xs mt-2",style:{color:"var(--colorTextSecondary)"},children:[null!=(P=null==V?void 0:V.cpu.cores)?P:0," ",R("overview.cores")]})]})})}),(0,t.jsx)(a.A,{xs:24,sm:12,children:(0,t.jsx)(d.A,{size:"small",title:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(j.A,{})," ",R("overview.memory")]}),children:(0,t.jsxs)("div",{style:{textAlign:"center"},children:[(0,t.jsx)(x.A,{type:"circle",percent:null!=(D=null==V?void 0:V.memory.usagePercent)?D:0,size:120,strokeColor:ei,format:e=>"".concat(e,"%")}),(0,t.jsxs)("div",{className:"text-xs mt-2",style:{color:"var(--colorTextSecondary)"},children:[null!=(M=null==V?void 0:V.memory.processMB)?M:0," MB / ",null!=(O=null==V?void 0:V.memory.totalMB)?O:0," MB"]})]})})})]}),(0,t.jsxs)(c.A,{gutter:[16,16],children:[(0,t.jsx)(a.A,{xs:12,sm:6,children:(0,t.jsx)(d.A,{size:"small",children:(0,t.jsx)(v.A,{title:"运行时间",value:V?Math.floor(V.uptime/3600):0,suffix:"小时",prefix:(0,t.jsx)(A.A,{})})})}),(0,t.jsx)(a.A,{xs:12,sm:6,children:(0,t.jsxs)(d.A,{size:"small",children:[(0,t.jsx)(v.A,{title:R("overview.tokensUsed"),value:null!=(F=null==V?void 0:V.tokens.total)?F:0,prefix:(0,t.jsx)(y.A,{})}),(0,t.jsxs)("div",{style:{color:"var(--colorTextSecondary)",fontSize:12},children:["Prompt ",null!=(I=null==V?void 0:V.tokens.prompt)?I:0," / Completion ",null!=(B=null==V?void 0:V.tokens.completion)?B:0]})]})}),(0,t.jsx)(a.A,{xs:12,sm:6,children:(0,t.jsxs)(d.A,{size:"small",children:[(0,t.jsx)(v.A,{title:R("overview.tasksTotal"),value:null!=(E=null==V?void 0:V.tasks.total)?E:0,prefix:(0,t.jsx)(p.A,{})}),(0,t.jsxs)("div",{style:{color:"var(--colorTextSecondary)",fontSize:12},children:["成功 ",null!=(_=null==V?void 0:V.tasks.success)?_:0," / 失败 ",null!=(W=null==V?void 0:V.tasks.failed)?W:0," / 运行中 ",null!=(U=null==V?void 0:V.tasks.running)?U:0]})]})}),(0,t.jsx)(a.A,{xs:12,sm:6,children:(0,t.jsx)(d.A,{size:"small",children:(0,t.jsx)(v.A,{title:R("overview.successRate"),value:eo,suffix:"%",prefix:eo>80?(0,t.jsx)(g.A,{style:{color:"var(--colorOk)"}}):(0,t.jsx)(f.A,{style:{color:"var(--colorDanger)"}})})})})]}),(0,t.jsx)(d.A,{size:"small",title:"资源概览",children:(0,t.jsxs)(c.A,{gutter:[16,16],children:[(0,t.jsx)(a.A,{xs:24,sm:12,md:8,lg:4,children:(0,t.jsx)(d.A,{size:"small",style:{height:"100%"},children:(0,t.jsx)(v.A,{title:"文件角色",value:K,prefix:(0,t.jsx)(p.A,{style:{color:"var(--colorAccent)"}})})})}),(0,t.jsx)(a.A,{xs:24,sm:12,md:8,lg:4,children:(0,t.jsx)(d.A,{size:"small",style:{height:"100%"},children:(0,t.jsx)(v.A,{title:"提示词角色",value:X,prefix:(0,t.jsx)(k.A,{style:{color:"var(--colorWarning)"}})})})}),(0,t.jsx)(a.A,{xs:24,sm:12,md:8,lg:4,children:(0,t.jsx)(d.A,{size:"small",style:{height:"100%"},children:(0,t.jsx)(v.A,{title:"模板",value:$,prefix:(0,t.jsx)(S.A,{style:{color:"var(--colorDanger)"}})})})}),(0,t.jsx)(a.A,{xs:24,sm:12,md:8,lg:4,children:(0,t.jsxs)(d.A,{size:"small",style:{height:"100%",overflow:"hidden"},children:[(0,t.jsx)(v.A,{title:"语义模型",value:(null==el?void 0:el.provider)==="openai-compatible"?"外部 Embedding":el?"本地语义模型":"—",prefix:(0,t.jsx)(w.A,{style:{color:"var(--colorAccent)"}}),valueStyle:{fontSize:18,whiteSpace:"nowrap"}}),(null==el?void 0:el.model)&&(0,t.jsxs)("div",{className:"text-xs mt-1",style:{color:"var(--colorTextSecondary)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:"".concat(el.model).concat(el.dimensions?" \xb7 ".concat(el.dimensions,"维"):""),children:[el.model,el.dimensions?" \xb7 ".concat(el.dimensions,"维"):""]})]})}),(0,t.jsx)(a.A,{xs:24,sm:12,md:8,lg:4,children:(0,t.jsx)(d.A,{size:"small",style:{height:"100%"},children:(0,t.jsx)(v.A,{title:"模型供应商",value:H,prefix:(0,t.jsx)(z.A,{style:{color:"var(--colorAccent)"}})})})}),(0,t.jsx)(a.A,{xs:24,sm:12,md:8,lg:4,children:(0,t.jsx)(d.A,{size:"small",style:{height:"100%"},children:(0,t.jsx)(v.A,{title:"审计日志",value:null!=(L=null==V?void 0:V.logs.events)?L:0,suffix:"条",prefix:(0,t.jsx)(A.A,{style:{color:"var(--colorOk)"}})})})})]})}),(0,t.jsxs)(c.A,{gutter:[16,16],children:[(0,t.jsx)(a.A,{xs:24,sm:12,children:(0,t.jsx)(d.A,{size:"small",title:R("overview.topModel"),style:{height:"100%"},children:en?(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)(A.A,{style:{fontSize:24,color:"var(--colorAccent)"}}),(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"font-semibold",children:en.model}),(0,t.jsxs)("div",{style:{color:"var(--colorTextSecondary)",fontSize:12},children:["@",en.provider," — ",en.count," ",R("overview.calls")]})]})]}):(0,t.jsx)("span",{style:{color:"var(--colorTextSecondary)"},children:"暂无真实模型调用日志"})})}),(0,t.jsx)(a.A,{xs:24,sm:12,children:(0,t.jsx)(d.A,{size:"small",title:R("overview.taskTypes"),style:{height:"100%"},children:(null==V?void 0:V.tasks.types)&&Object.keys(V.tasks.types).length>0?(0,t.jsx)(o.A,{wrap:!0,children:Object.entries(V.tasks.types).sort((e,l)=>l[1]-e[1]).map(e=>{let[l,s]=e;return(0,t.jsxs)(u.A,{children:[l.slice(0,30),": ",s]},l)})}):(0,t.jsx)("span",{style:{color:"var(--colorTextSecondary)"},children:R("common.noData")})})})]})]})}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[861],{9137:(e,t,n)=>{n.d(t,{Ay:()=>I});var o=n(9750),r=n(97109),l=n(42644),i=n(10252),a=n(74567),s=n(48921),c=n(98379),d=n(3638),p=n(632),m=n(34475),u=n(52093),f=n(60815),g=n(5741);let $=null,y=e=>e(),h=[],v={};function E(){let{getContainer:e,duration:t,rtl:n,maxCount:o,top:r,stack:l}=v,i=e?.()||document.body;return{getContainer:()=>i,duration:t,rtl:n,maxCount:o,top:r,stack:l}}let C=r.forwardRef((e,t)=>{let{messageConfig:n,sync:o}=e,{getPrefixCls:l}=(0,r.useContext)(a.QO),s=v.prefixCls||l("message"),c=(0,r.useContext)(i.B),[d,p]=(0,f.y)({...n,prefixCls:s,...c.message});return r.useImperativeHandle(t,()=>{let e={...d};return Object.keys(e).forEach(t=>{e[t]=(...e)=>(o(),d[t].apply(d,e))}),{instance:e,sync:o}}),p}),b=r.forwardRef((e,t)=>{let[n,o]=r.useState(E),l=()=>{o(E)};r.useEffect(l,[]);let i=(0,s.cr)(),a=i.getRootPrefixCls(),c=i.getIconPrefixCls(),d=i.getTheme(),p=r.createElement(C,{ref:t,sync:l,messageConfig:n});return r.createElement(s.Ay,{prefixCls:a,iconPrefixCls:c,theme:d},i.holderRender?i.holderRender(p):p)}),w=()=>{if(!$){let e=document.createDocumentFragment(),t={fragment:e};$=t,y(()=>{(0,l.XX)(r.createElement(b,{ref:e=>{let{instance:n,sync:o}=e||{};Promise.resolve().then(()=>{!t.instance&&n&&(t.instance=n,t.sync=o,w())})}}),e)});return}$.instance&&(h.forEach(e=>{let{type:t,skipped:n}=e;if(!n)switch(t){case"open":y(()=>{let t=$.instance.open({...v,...e.config});t?.then(e.resolve),e.setCloseFn(t)});break;case"destroy":y(()=>{$?.instance.destroy(e.key)});break;default:y(()=>{var n;let r=(n=$.instance)[t].apply(n,(0,o.A)(e.args));r?.then(e.resolve),e.setCloseFn(r)})}}),h=[])},A={open:function(e){let t=(0,g.E)(t=>{let n,o={type:"open",config:e,resolve:t,setCloseFn:e=>{n=e}};return h.push(o),()=>{n?y(()=>{n()}):o.skipped=!0}});return w(),t},destroy:e=>{h.push({type:"destroy",key:e}),w()},config:function(e){v={...v,...e},y(()=>{$?.sync?.()})},useMessage:f.A,_InternalPanelDoNotUseOrYouWillBeFired:m.Ay,_InternalListDoNotUseOrYouWillBeFired:e=>{let{items:t,classNames:n,style:o}=e,{getPrefixCls:l}=(0,a.TP)("message"),i=l("message"),s=(0,p.A)(i),[f,g]=(0,u.A)(i,s),$=`${i}-notice`,y=t.map(e=>{let{content:t,duration:n,key:o,type:r}=e,l=r?`${$}-icon-${r}`:void 0;return{key:o,duration:n,icon:(0,m.HC)(r),title:t,className:`${$}-${r}`,classNames:{wrapper:`${i}-${r}`,icon:l}}});return r.createElement(c.qb,{prefixCls:i,placement:"top",configList:y,className:(0,d.$)(f,g,s),classNames:{...n,wrapper:n?.wrapper,title:n?.title},style:o,stack:!1})}};["success","info","warning","error","loading"].forEach(e=>{A[e]=(...t)=>(function(e,t){(0,s.cr)();let n=(0,g.E)(n=>{let o,r={type:e,args:t,resolve:n,setCloseFn:e=>{o=e}};return h.push(r),()=>{o?y(()=>{o()}):r.skipped=!0}});return w(),n})(e,t)});let I=A},85493:(e,t,n)=>{n.d(t,{A:()=>R});var o=n(97109),r=n(59188),l=n(4216),i=n(45042),a=n(97137),s=n(62188),c=n(67189),d=n(42644),p=n(3638),m=n(92162),u=n(26047),f=n(74567),g=n(15561),$=n(7961),y=n(10540);let h=(e,t,n)=>({background:e,[`${n}-icon`]:{color:t}}),v=(0,y.OF)("Alert",e=>[(e=>{let{componentCls:t,motionDurationSlow:n,marginXS:o,marginSM:r,fontSize:l,fontSizeLG:i,lineHeight:a,borderRadiusLG:s,motionEaseInOutCirc:c,withDescriptionIconSize:d,colorText:p,colorTextHeading:m,withDescriptionPadding:u,defaultPadding:f,lineWidth:y,lineType:h,colorSuccessBorder:v,colorWarningBorder:E,colorErrorBorder:C,colorInfoBorder:b}=e;return{[t]:{...(0,$.dF)(e),position:"relative",display:"flex",alignItems:"center",padding:f,wordWrap:"break-word",borderRadius:s,borderWidth:(0,g.zA)(y),borderStyle:h,[`&${t}-success`]:{borderColor:v},[`&${t}-info`]:{borderColor:b},[`&${t}-warning`]:{borderColor:E},[`&${t}-error`]:{borderColor:C},[`&${t}-filled`]:{borderColor:"transparent"},[`&${t}-rtl`]:{direction:"rtl"},[`${t}-section`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:o,lineHeight:0},"&-description":{display:"none",fontSize:l,lineHeight:a},"&-title":{color:m},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:["max-height","opacity","padding-top","padding-bottom","margin-bottom"].map(e=>`${e} ${n} ${c}`).join(", ")},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0},[`&${t}-with-description`]:{alignItems:"flex-start",padding:u,[`${t}-icon`]:{marginInlineEnd:r,fontSize:d,lineHeight:0},[`${t}-title`]:{display:"block",marginBottom:o,color:m,fontSize:i},[`${t}-description`]:{display:"block",color:p}},[`&${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}}})(e),(e=>{let{componentCls:t,colorSuccess:n,colorSuccessBg:o,colorWarning:r,colorWarningBg:l,colorError:i,colorErrorBg:a,colorInfo:s,colorInfoBg:c}=e;return{[t]:{"&-success":h(o,n,t),"&-info":h(c,s,t),"&-warning":h(l,r,t),"&-error":{...h(a,i,t),[`${t}-description > pre`]:{margin:0,padding:0}}}}})(e),(e=>{let{componentCls:t,iconCls:n,motionDurationMid:o,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,g.zA)(l),backgroundColor:"transparent",border:"none",cursor:"pointer",...(0,$.K8)(e),[`${n}-close`]:{color:i,transition:`color ${o}`,"&:hover":{color:a}}},"&-close-text":{color:i,transition:`color ${o}`,"&:hover":{color:a}}}}})(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})),E=e=>{let{icon:t,type:n,className:i,style:c,successIcon:d,infoIcon:p,warningIcon:m,errorIcon:u}=e,f={success:d??o.createElement(r.A,null),info:p??o.createElement(s.A,null),error:u??o.createElement(l.A,null),warning:m??o.createElement(a.A,null)};return o.createElement("span",{className:i,style:c},t??f[n])},C=e=>{let{isClosable:t,prefixCls:n,closeIcon:r,handleClose:l,ariaProps:a,className:s,style:c}=e,d=!0===r||void 0===r?o.createElement(i.A,null):r;return t?o.createElement("button",{type:"button",onClick:l,className:(0,p.$)(`${n}-close-icon`,s),tabIndex:0,style:c,...a},d):null},b=o.forwardRef((e,t)=>{let{description:n,prefixCls:r,message:l,title:i,banner:a,className:s,rootClassName:g,style:$,onMouseEnter:y,onMouseLeave:h,onClick:b,afterClose:w,showIcon:A,closable:I,closeText:x,closeIcon:k,action:N,id:S,styles:R,classNames:H,...P}=e,z=i??l,[F,M]=o.useState(!1),B=o.useRef(null);o.useImperativeHandle(t,()=>({nativeElement:B.current}));let{getPrefixCls:D,direction:L,variant:Q,closable:T,closeIcon:_,className:O,style:W,classNames:X,styles:K,successIcon:j,infoIcon:G,warningIcon:U,errorIcon:V}=(0,f.TP)("alert"),Y=D("alert",r),[q,J]=v(Y),{onClose:Z,afterClose:ee}=(0,u.Qd)(I)?I:{},et=t=>{M(!0),(Z??e.onClose)?.(t)},en=o.useMemo(()=>void 0!==e.type?e.type:a?"warning":"info",[e.type,a]),eo=e.variant??Q??"outlined",er=o.useMemo(()=>!!(0,u.Qd)(I)&&!!I.closeIcon||!!x||("boolean"==typeof I?I:!!(!1!==k&&(0,u.R)(k))||!!T),[x,k,I,T]),el=!!a&&void 0===A||A,ei={...e,prefixCls:Y,variant:eo,type:en,showIcon:el,closable:er},ea=(0,m.XT)(W),es=(0,m.XT)($),[ec,ed]=(0,m.AV)([X,H],[K,ea,R,es],{props:ei}),ep=(0,p.$)(Y,`${Y}-${en}`,`${Y}-${eo}`,{[`${Y}-with-description`]:!!n,[`${Y}-no-icon`]:!el,[`${Y}-banner`]:!!a,[`${Y}-rtl`]:"rtl"===L},O,s,g,ec.root,J,q),em=(0,d.KE)(P,{aria:!0,data:!0}),eu=o.useMemo(()=>(0,u.Qd)(I)&&I.closeIcon?I.closeIcon:x||(void 0!==k?k:(0,u.Qd)(T)&&T.closeIcon?T.closeIcon:_),[k,I,T,x,_]),ef=o.useMemo(()=>{let e=I??T;return(0,u.Qd)(e)?(0,d.KE)(e,{data:!0,aria:!0}):{}},[I,T]);return o.createElement(c.Ay,{visible:!F,motionName:`${Y}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:ee??w},({className:t,style:r},l)=>o.createElement("div",{id:S,ref:(0,d.K4)(B,l),"data-show":!F,className:(0,p.$)(ep,t),style:{...ed.root,...r},onMouseEnter:y,onMouseLeave:h,onClick:b,role:"alert",...em},el?o.createElement(E,{className:(0,p.$)(`${Y}-icon`,ec.icon),style:ed.icon,description:n,icon:e.icon,prefixCls:Y,type:en,successIcon:j,infoIcon:G,warningIcon:U,errorIcon:V}):null,o.createElement("div",{className:(0,p.$)(`${Y}-section`,ec.section),style:ed.section},z?o.createElement("div",{className:(0,p.$)(`${Y}-title`,ec.title),style:ed.title},z):null,n?o.createElement("div",{className:(0,p.$)(`${Y}-description`,ec.description),style:ed.description},n):null),N?o.createElement("div",{className:(0,p.$)(`${Y}-actions`,ec.actions),style:ed.actions},N):null,o.createElement(C,{className:ec.close,style:ed.close,isClosable:er,prefixCls:Y,closeIcon:eu,handleClose:et,ariaProps:ef})))});var w=n(41113),A=n(49939),I=n(90218),x=n(13076),k=n(83784),N=n(15472);let S=function(e){function t(){var e,n,o;return(0,w.A)(this,t),n=t,o=arguments,n=(0,I.A)(n),(e=(0,k.A)(this,(0,x.A)()?Reflect.construct(n,o||[],(0,I.A)(this).constructor):n.apply(this,o))).state={error:void 0,info:{}},e}return(0,N.A)(t,e),(0,A.A)(t,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){let{message:e,title:t,description:n,id:r,children:l}=this.props,{error:i,info:a}=this.state,s=t??e,c=a?.componentStack||null,d=(0,u.R)(s)?s:i?.toString(),p=(0,u.R)(n)?n:c;return i?o.createElement(b,{id:r,type:"error",title:d,description:o.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},p)}):l}}])}(o.PureComponent);b.ErrorBoundary=S;let R=b}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[909],{2256:(e,t,n)=>{n.d(t,{A:()=>r});let r=n(25341).A},8579:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(97109),o=n(95008),l=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let a=r.forwardRef((e,t)=>r.createElement(l.A,i({},e,{ref:t,icon:o.A})))},10218:(e,t,n)=>{n.d(t,{A:()=>v,H:()=>p});var r=n(97109),o=n(4932),l=n(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 n=getComputedStyle(e,null);return a(n.overflowY,t)||a(n.overflowX,t)||(e=>{let t=(e=>{if(!e.ownerDocument||!e.ownerDocument.defaultView)return null;try{return e.ownerDocument.defaultView.frameElement}catch(e){return null}})(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)})(e)}return!1},s=(e,t,n,r,o,l,i,a)=>l<e&&i>t||l>e&&i<t?0:l<=e&&a<=n||i>=t&&a>=n?l-e-r:i>t&&a<n||l<e&&a>n?i-t+o:0,d=e=>{let t=e.parentElement;return null==t?e.getRootNode().host||null:t},f=(e,t)=>{var n,r,o,l;if("undefined"==typeof document)return[];let{scrollMode:a,block:f,inline:u,boundary:h,skipOverflowHiddenElements:p}=t,m="function"==typeof h?h:e=>e!==h;if(!i(e))throw TypeError("Invalid target");let v=document.scrollingElement||document.documentElement,g=[],b=e;for(;i(b)&&m(b);){if((b=d(b))===v){g.push(b);break}null!=b&&b===document.body&&c(b)&&!c(document.documentElement)||null!=b&&c(b,p)&&g.push(b)}let y=null!=(r=null==(n=window.visualViewport)?void 0:n.width)?r:innerWidth,w=null!=(l=null==(o=window.visualViewport)?void 0:o.height)?l:innerHeight,{scrollX:$,scrollY:A}=window,{height:H,width:z,top:E,right:M,bottom:O,left:j}=e.getBoundingClientRect(),{top:I,right:V,bottom:x,left:C}=(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),L="start"===f||"nearest"===f?E-I:"end"===f?O+x:E+H/2-I+x,R="center"===u?j+z/2-C+V:"end"===u?M+V:j-C,N=[];for(let e=0;e<g.length;e++){let t=g[e],{height:n,width:r,top:o,right:l,bottom:i,left:d}=t.getBoundingClientRect();if("if-needed"===a&&E>=0&&j>=0&&O<=w&&M<=y&&(t===v&&!c(t)||E>=o&&O<=i&&j>=d&&M<=l))break;let h=getComputedStyle(t),p=parseInt(h.borderLeftWidth,10),m=parseInt(h.borderTopWidth,10),b=parseInt(h.borderRightWidth,10),I=parseInt(h.borderBottomWidth,10),V=0,x=0,C="offsetWidth"in t?t.offsetWidth-t.clientWidth-p-b:0,k="offsetHeight"in t?t.offsetHeight-t.clientHeight-m-I:0,S="offsetWidth"in t?0===t.offsetWidth?0:r/t.offsetWidth:0,B="offsetHeight"in t?0===t.offsetHeight?0:n/t.offsetHeight:0;if(v===t)V="start"===f?L:"end"===f?L-w:"nearest"===f?s(A,A+w,w,m,I,A+L,A+L+H,H):L-w/2,x="start"===u?R:"center"===u?R-y/2:"end"===u?R-y:s($,$+y,y,p,b,$+R,$+R+z,z),V=Math.max(0,V+A),x=Math.max(0,x+$);else{V="start"===f?L-o-m:"end"===f?L-i+I+k:"nearest"===f?s(o,i,n,m,I+k,L,L+H,H):L-(o+n/2)+k/2,x="start"===u?R-d-p:"center"===u?R-(d+r/2)+C/2:"end"===u?R-l+b+C:s(d,l,r,p,b+C,R,R+z,z);let{scrollLeft:e,scrollTop:a}=t;V=0===B?0:Math.max(0,Math.min(a+V/B,t.scrollHeight-n/B+k)),x=0===S?0:Math.max(0,Math.min(e+x/S,t.scrollWidth-r/S+C)),L+=a-V,R+=e-x}N.push({el:t,top:V,left:x})}return N};var u=n(26047),h=n(44624);function p(e){return(0,h.$r)(e).join("_")}function m(e,t){let n=t.getFieldInstance(e),r=(0,l.rb)(n);if(r)return r;let o=(0,h.kV)((0,h.$r)(e),t.__INTERNAL__.name);if(o)return document.getElementById(o)}function v(e){let[t]=(0,o.mN)(),n=r.useRef({}),l=r.useMemo(()=>e??{...t,__INTERNAL__:{itemRef:e=>t=>{let r=p(e);t?n.current[r]=t:delete n.current[r]}},scrollToField:(e,t={})=>{let{focus:n,...r}=t,o=m(e,l);o&&(!function(e,t){if(!e.isConnected||!(e=>{let t=e;for(;t&&t.parentNode;){if(t.parentNode===document)return!0;t=t.parentNode instanceof ShadowRoot?t.parentNode.host:t.parentNode}return!1})(e))return;let n=(e=>{let t=window.getComputedStyle(e);return{top:parseFloat(t.scrollMarginTop)||0,right:parseFloat(t.scrollMarginRight)||0,bottom:parseFloat(t.scrollMarginBottom)||0,left:parseFloat(t.scrollMarginLeft)||0}})(e);if("object"==typeof t&&"function"==typeof t.behavior)return t.behavior(f(e,t));let r="boolean"==typeof t||null==t?void 0:t.behavior;for(let{el:o,top:l,left:i}of f(e,!1===t?{block:"end",inline:"nearest"}:t===Object(t)&&0!==Object.keys(t).length?t:{block:"start",inline:"nearest"})){let e=l-n.top+n.bottom,t=i-n.left+n.right;o.scroll({top:e,left:t,behavior:r})}}(o,{scrollMode:"if-needed",block:"nearest",...r}),n&&l.focusField(e))},focusField:e=>{let t=l.getFieldInstance(e);(0,u.Tn)(t?.focus)?t.focus():m(e,l)?.focus?.()},getFieldInstance:e=>{let t=p(e);return n.current[t]}},[e,t]);return[l]}},12887:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM504 618H320c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zM312 490v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H320c-4.4 0-8 3.6-8 8z"}}]},name:"file-text",theme:"outlined"}},15437:(e,t,n)=>{n.d(t,{A:()=>r});let r=e=>{let{componentCls:t,antCls:n,motionDurationMid:r,motionEaseInOut:o}=e;return{[t]:{[`${n}-motion-collapse-legacy`]:{overflow:"hidden","&-active":{transition:`${["height","opacity"].map(e=>`${e} ${r} ${o}`).join(", ")} !important`}},[`${n}-motion-collapse`]:{overflow:"hidden",transition:`${["height","opacity"].map(e=>`${e} ${r} ${o}`).join(", ")} !important`}}}}},20966:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"}},25345:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(97109),o=n(99729),l=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let a=r.forwardRef((e,t)=>r.createElement(l.A,i({},e,{ref:t,icon:o.A})))},26631:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(97109),o=n(12887),l=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let a=r.forwardRef((e,t)=>r.createElement(l.A,i({},e,{ref:t,icon:o.A})))},38770:(e,t,n)=>{n.d(t,{A:()=>r});let r=n(51916).A},43094:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(97109),o=n(72870),l=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let a=r.forwardRef((e,t)=>r.createElement(l.A,i({},e,{ref:t,icon:o.A})))},43979:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(97109),o=n(59291),l=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let a=r.forwardRef((e,t)=>r.createElement(l.A,i({},e,{ref:t,icon:o.A})))},44624:(e,t,n)=>{n.d(t,{$r:()=>o,BS:()=>i,kV:()=>l});let r=["parentNode"];function o(e){return void 0===e||!1===e?[]:Array.isArray(e)?e:[e]}function l(e,t){if(!e.length)return;let n=e.join("_");return t?`${t}_${n}`:r.includes(n)?`form_item_${n}`:n}function i(e,t,n,r,o,l){let i=r;return void 0!==l?i=l:n.validating?i="validating":e.length?i="error":t.length?i="warning":(n.touched||o&&n.validated)&&(i="success"),i}},44858:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 208H676V232h212v136zm0 224H676V432h212v160zM412 432h200v160H412V432zm200-64H412V232h200v136zm-476 64h212v160H136V432zm0-200h212v136H136V232zm0 424h212v136H136V656zm276 0h200v136H412V656zm476 136H676V656h212v136z"}}]},name:"table",theme:"outlined"}},59291:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656zM492 400h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zm0 144h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H492c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8zM340 368a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0zm0 144a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"profile",theme:"outlined"}},66284:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M928 160H96c-17.7 0-32 14.3-32 32v640c0 17.7 14.3 32 32 32h832c17.7 0 32-14.3 32-32V192c0-17.7-14.3-32-32-32zm-40 632H136v-39.9l138.5-164.3 150.1 178L658.1 489 888 761.6V792zm0-129.8L664.2 396.8c-3.2-3.8-9-3.8-12.2 0L424.6 666.4l-144-170.7c-3.2-3.8-9-3.8-12.2 0L136 652.7V232h752v430.2zM304 456a88 88 0 100-176 88 88 0 000 176zm0-116c15.5 0 28 12.5 28 28s-12.5 28-28 28-28-12.5-28-28 12.5-28 28-28z"}}]},name:"picture",theme:"outlined"}},72870:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M120 230h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm0 424h496c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm784 140H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0-424H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8z"}}]},name:"align-left",theme:"outlined"}},75548:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(97109),o=n(66284),l=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let a=r.forwardRef((e,t)=>r.createElement(l.A,i({},e,{ref:t,icon:o.A})))},80042:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(97109),o=n(44858),l=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let a=r.forwardRef((e,t)=>r.createElement(l.A,i({},e,{ref:t,icon:o.A})))},84662:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(97109),o=n(20966),l=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let a=r.forwardRef((e,t)=>r.createElement(l.A,i({},e,{ref:t,icon:o.A})))},85493:(e,t,n)=>{n.d(t,{A:()=>V});var r=n(97109),o=n(59188),l=n(4216),i=n(45042),a=n(97137),c=n(62188),s=n(67189),d=n(42644),f=n(3638),u=n(92162),h=n(26047),p=n(74567),m=n(15561),v=n(7961),g=n(10540);let b=(e,t,n)=>({background:e,[`${n}-icon`]:{color:t}}),y=(0,g.OF)("Alert",e=>[(e=>{let{componentCls:t,motionDurationSlow:n,marginXS:r,marginSM:o,fontSize:l,fontSizeLG:i,lineHeight:a,borderRadiusLG:c,motionEaseInOutCirc:s,withDescriptionIconSize:d,colorText:f,colorTextHeading:u,withDescriptionPadding:h,defaultPadding:p,lineWidth:g,lineType:b,colorSuccessBorder:y,colorWarningBorder:w,colorErrorBorder:$,colorInfoBorder:A}=e;return{[t]:{...(0,v.dF)(e),position:"relative",display:"flex",alignItems:"center",padding:p,wordWrap:"break-word",borderRadius:c,borderWidth:(0,m.zA)(g),borderStyle:b,[`&${t}-success`]:{borderColor:y},[`&${t}-info`]:{borderColor:A},[`&${t}-warning`]:{borderColor:w},[`&${t}-error`]:{borderColor:$},[`&${t}-filled`]:{borderColor:"transparent"},[`&${t}-rtl`]:{direction:"rtl"},[`${t}-section`]:{flex:1,minWidth:0},[`${t}-icon`]:{marginInlineEnd:r,lineHeight:0},"&-description":{display:"none",fontSize:l,lineHeight:a},"&-title":{color:u},[`&${t}-motion-leave`]:{overflow:"hidden",opacity:1,transition:["max-height","opacity","padding-top","padding-bottom","margin-bottom"].map(e=>`${e} ${n} ${s}`).join(", ")},[`&${t}-motion-leave-active`]:{maxHeight:0,marginBottom:"0 !important",paddingTop:0,paddingBottom:0,opacity:0},[`&${t}-with-description`]:{alignItems:"flex-start",padding:h,[`${t}-icon`]:{marginInlineEnd:o,fontSize:d,lineHeight:0},[`${t}-title`]:{display:"block",marginBottom:r,color:u,fontSize:i},[`${t}-description`]:{display:"block",color:f}},[`&${t}-banner`]:{marginBottom:0,border:"0 !important",borderRadius:0}}}})(e),(e=>{let{componentCls:t,colorSuccess:n,colorSuccessBg:r,colorWarning:o,colorWarningBg:l,colorError:i,colorErrorBg:a,colorInfo:c,colorInfoBg:s}=e;return{[t]:{"&-success":b(r,n,t),"&-info":b(s,c,t),"&-warning":b(l,o,t),"&-error":{...b(a,i,t),[`${t}-description > pre`]:{margin:0,padding:0}}}}})(e),(e=>{let{componentCls:t,iconCls:n,motionDurationMid:r,marginXS:o,fontSizeIcon:l,colorIcon:i,colorIconHover:a}=e;return{[t]:{[`${t}-actions`]:{marginInlineStart:o},[`${t}-close-icon`]:{marginInlineStart:o,padding:0,overflow:"hidden",fontSize:l,lineHeight:(0,m.zA)(l),backgroundColor:"transparent",border:"none",cursor:"pointer",...(0,v.K8)(e),[`${n}-close`]:{color:i,transition:`color ${r}`,"&:hover":{color:a}}},"&-close-text":{color:i,transition:`color ${r}`,"&:hover":{color:a}}}}})(e)],e=>({withDescriptionIconSize:e.fontSizeHeading3,defaultPadding:`${e.paddingContentVerticalSM}px 12px`,withDescriptionPadding:`${e.paddingMD}px ${e.paddingContentHorizontalLG}px`})),w=e=>{let{icon:t,type:n,className:i,style:s,successIcon:d,infoIcon:f,warningIcon:u,errorIcon:h}=e,p={success:d??r.createElement(o.A,null),info:f??r.createElement(c.A,null),error:h??r.createElement(l.A,null),warning:u??r.createElement(a.A,null)};return r.createElement("span",{className:i,style:s},t??p[n])},$=e=>{let{isClosable:t,prefixCls:n,closeIcon:o,handleClose:l,ariaProps:a,className:c,style:s}=e,d=!0===o||void 0===o?r.createElement(i.A,null):o;return t?r.createElement("button",{type:"button",onClick:l,className:(0,f.$)(`${n}-close-icon`,c),tabIndex:0,style:s,...a},d):null},A=r.forwardRef((e,t)=>{let{description:n,prefixCls:o,message:l,title:i,banner:a,className:c,rootClassName:m,style:v,onMouseEnter:g,onMouseLeave:b,onClick:A,afterClose:H,showIcon:z,closable:E,closeText:M,closeIcon:O,action:j,id:I,styles:V,classNames:x,...C}=e,L=i??l,[R,N]=r.useState(!1),k=r.useRef(null);r.useImperativeHandle(t,()=>({nativeElement:k.current}));let{getPrefixCls:S,direction:B,variant:W,closable:_,closeIcon:F,className:P,style:T,classNames:D,styles:Q,successIcon:X,infoIcon:K,warningIcon:G,errorIcon:Y}=(0,p.TP)("alert"),q=S("alert",o),[J,U]=y(q),{onClose:Z,afterClose:ee}=(0,h.Qd)(E)?E:{},et=t=>{N(!0),(Z??e.onClose)?.(t)},en=r.useMemo(()=>void 0!==e.type?e.type:a?"warning":"info",[e.type,a]),er=e.variant??W??"outlined",eo=r.useMemo(()=>!!(0,h.Qd)(E)&&!!E.closeIcon||!!M||("boolean"==typeof E?E:!!(!1!==O&&(0,h.R)(O))||!!_),[M,O,E,_]),el=!!a&&void 0===z||z,ei={...e,prefixCls:q,variant:er,type:en,showIcon:el,closable:eo},ea=(0,u.XT)(T),ec=(0,u.XT)(v),[es,ed]=(0,u.AV)([D,x],[Q,ea,V,ec],{props:ei}),ef=(0,f.$)(q,`${q}-${en}`,`${q}-${er}`,{[`${q}-with-description`]:!!n,[`${q}-no-icon`]:!el,[`${q}-banner`]:!!a,[`${q}-rtl`]:"rtl"===B},P,c,m,es.root,U,J),eu=(0,d.KE)(C,{aria:!0,data:!0}),eh=r.useMemo(()=>(0,h.Qd)(E)&&E.closeIcon?E.closeIcon:M||(void 0!==O?O:(0,h.Qd)(_)&&_.closeIcon?_.closeIcon:F),[O,E,_,M,F]),ep=r.useMemo(()=>{let e=E??_;return(0,h.Qd)(e)?(0,d.KE)(e,{data:!0,aria:!0}):{}},[E,_]);return r.createElement(s.Ay,{visible:!R,motionName:`${q}-motion`,motionAppear:!1,motionEnter:!1,onLeaveStart:e=>({maxHeight:e.offsetHeight}),onLeaveEnd:ee??H},({className:t,style:o},l)=>r.createElement("div",{id:I,ref:(0,d.K4)(k,l),"data-show":!R,className:(0,f.$)(ef,t),style:{...ed.root,...o},onMouseEnter:g,onMouseLeave:b,onClick:A,role:"alert",...eu},el?r.createElement(w,{className:(0,f.$)(`${q}-icon`,es.icon),style:ed.icon,description:n,icon:e.icon,prefixCls:q,type:en,successIcon:X,infoIcon:K,warningIcon:G,errorIcon:Y}):null,r.createElement("div",{className:(0,f.$)(`${q}-section`,es.section),style:ed.section},L?r.createElement("div",{className:(0,f.$)(`${q}-title`,es.title),style:ed.title},L):null,n?r.createElement("div",{className:(0,f.$)(`${q}-description`,es.description),style:ed.description},n):null),j?r.createElement("div",{className:(0,f.$)(`${q}-actions`,es.actions),style:ed.actions},j):null,r.createElement($,{className:es.close,style:ed.close,isClosable:eo,prefixCls:q,closeIcon:eh,handleClose:et,ariaProps:ep})))});var H=n(41113),z=n(49939),E=n(90218),M=n(13076),O=n(83784),j=n(15472);let I=function(e){function t(){var e,n,r;return(0,H.A)(this,t),n=t,r=arguments,n=(0,E.A)(n),(e=(0,O.A)(this,(0,M.A)()?Reflect.construct(n,r||[],(0,E.A)(this).constructor):n.apply(this,r))).state={error:void 0,info:{}},e}return(0,j.A)(t,e),(0,z.A)(t,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){let{message:e,title:t,description:n,id:o,children:l}=this.props,{error:i,info:a}=this.state,c=t??e,s=a?.componentStack||null,d=(0,h.R)(c)?c:i?.toString(),f=(0,h.R)(n)?n:s;return i?r.createElement(A,{id:o,type:"error",title:d,description:r.createElement("pre",{style:{fontSize:"0.9em",overflowX:"auto"}},f)}):l}}])}(r.PureComponent);A.ErrorBoundary=I;let V=A},92123:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"}},95008:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M904 512h-56c-4.4 0-8 3.6-8 8v320H184V184h320c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V520c0-4.4-3.6-8-8-8z"}},{tag:"path",attrs:{d:"M355.9 534.9L354 653.8c-.1 8.9 7.1 16.2 16 16.2h.4l118-2.9c2-.1 4-.9 5.4-2.3l415.9-415c3.1-3.1 3.1-8.2 0-11.3L785.4 114.3c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-415.8 415a8.3 8.3 0 00-2.3 5.6zm63.5 23.6L779.7 199l45.2 45.1-360.5 359.7-45.7 1.1.7-46.4z"}}]},name:"form",theme:"outlined"}},96651:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(97109),o=n(92123),l=n(88483);function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}let a=r.forwardRef((e,t)=>r.createElement(l.A,i({},e,{ref:t,icon:o.A})))},99729:(e,t)=>{t.A={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M296 250c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h384c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H296zm184 144H296c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8h184c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8zm-48 458H208V148h560v320c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V108c0-17.7-14.3-32-32-32H168c-17.7 0-32 14.3-32 32v784c0 17.7 14.3 32 32 32h264c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm440-88H728v-36.6c46.3-13.8 80-56.6 80-107.4 0-61.9-50.1-112-112-112s-112 50.1-112 112c0 50.7 33.7 93.6 80 107.4V764H520c-8.8 0-16 7.2-16 16v152c0 8.8 7.2 16 16 16h352c8.8 0 16-7.2 16-16V780c0-8.8-7.2-16-16-16zM646 620c0-27.6 22.4-50 50-50s50 22.4 50 50-22.4 50-50 50-50-22.4-50-50zm180 266H566v-60h260v60z"}}]},name:"audit",theme:"outlined"}}}]);
|