@adminui-dev/antd-layout 1.0.4 → 1.0.6

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/dist/index.cjs.js CHANGED
@@ -7,6 +7,6 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */"production"===process.env.NODE_ENV?l.exports=function(){if(s)return d;s=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(n,r,t){var o=null;if(void 0!==t&&(o=""+t),void 0!==r.key&&(o=""+r.key),"key"in r)for(var i in t={},r)"key"!==i&&(t[i]=r[i]);else t=r;return r=t.ref,{$$typeof:e,type:n,key:o,ref:void 0!==r?r:null,props:t}}return d.Fragment=n,d.jsx=r,d.jsxs=r,d}():l.exports=(c||(c=1,"production"!==process.env.NODE_ENV&&function(){function n(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===C?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case f:return"Profiler";case g:return"StrictMode";case b:return"Suspense";case j:return"SuspenseList";case S:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case h:return"Portal";case _:return e.displayName||"Context";case y:return(e._context.displayName||"Context")+".Consumer";case v:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case w:return null!==(r=e.displayName||null)?r:n(e.type)||"Memo";case k:r=e._payload,e=e._init;try{return n(e(r))}catch(e){}}return null}function r(e){return""+e}function t(e){try{r(e);var n=!1}catch(e){n=!0}if(n){var t=(n=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),r(e)}}function o(e){if(e===x)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===k)return"<...>";try{var r=n(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function i(){return Error("react-stack-top-frame")}function a(){var e=n(this.type);return L[e]||(L[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function s(e,r,o,i,s,d){var u,m=r.children;if(void 0!==m)if(i)if(M(m)){for(i=0;i<m.length;i++)l(m[i]);Object.freeze&&Object.freeze(m)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else l(m);if(P.call(r,"key")){m=n(e);var h=Object.keys(r).filter(function(e){return"key"!==e});i=0<h.length?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}",T[m+i]||(h=0<h.length?"{"+h.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',i,m,h,m),T[m+i]=!0)}if(m=null,void 0!==o&&(t(o),m=""+o),function(e){if(P.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return void 0!==e.key}(r)&&(t(r.key),m=""+r.key),"key"in r)for(var x in o={},r)"key"!==x&&(o[x]=r[x]);else o=r;return m&&function(e,n){function r(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,n,r,t,o,i){var s=r.ref;return e={$$typeof:p,type:e,key:n,props:r,_owner:t},null!==(void 0!==s?s:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:a}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,m,o,null===(u=B.A)?null:u.getOwner(),s,d)}function l(e){d(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===k&&("fulfilled"===e._payload.status?d(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===p}var c,m=e,p=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),_=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),C=Symbol.for("react.client.reference"),B=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=Object.prototype.hasOwnProperty,M=Array.isArray,I=console.createTask?console.createTask:function(){return null},L={},z=(m={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(m,i)(),N=I(o(i)),T={};u.Fragment=x,u.jsx=function(e,n,r){var t=1e4>B.recentlyCreatedOwnerStacks++;return s(e,n,r,!1,t?Error("react-stack-top-frame"):z,t?I(o(e)):N)},u.jsxs=function(e,n,r){var t=1e4>B.recentlyCreatedOwnerStacks++;return s(e,n,r,!0,t?Error("react-stack-top-frame"):z,t?I(o(e)):N)}}()),u);var m=l.exports;function p(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}p("@layer base {\r\n html, body {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%; \r\n height: 100%;\r\n }\r\n #Layout-module_root__3x-pW { \r\n text-align: initial;\r\n width: 100%;\r\n height:100%\r\n } \r\n}\r\n*, *:before, *:after {\r\n box-sizing: border-box;\r\n}\r\n.Layout-module_rootBox__3JHjy {\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n width: 100%;\r\n min-height: 100%;\r\n}\r\n.Layout-module_rootBackground__j3UVG {\r\n box-sizing: border-box; \r\n pointer-events: none;\r\n inset-block-start:0;\r\n inset-inline-start:0; \r\n width: 100%; \r\n min-width: 100vw;\r\n height:100%;\r\n min-height: 100vh;\r\n overflow: hidden;\r\n position: fixed;\r\n z-index: 0;\r\n}\r\n.Layout-module_rootBackground__j3UVG>div{\r\n width:100%;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.Layout-module_rootLayout__jVEEF {\r\n position: relative;\r\n z-index: 1;\r\n box-sizing: border-box; \r\n width: 100%;\r\n min-height: 100%;\r\n display: flex; \r\n flex-flow: row;\r\n background-color: transparent;\r\n container-type: inline-size;\r\n}\r\n\r\n.Layout-module_mainLayout__6W9W9 {\r\n box-sizing: border-box; \r\n display: flex;\r\n flex-flow: column; \r\n width: 100%;\r\n}\r\n");const h=Symbol("LayoutAside"),x=Symbol("LayoutContent"),g=Symbol("LayoutHeader"),f=Symbol("LayoutBackground"),y={headerHeight:50,asideWidth:260,layoutType:"leftMenu",collapsedPosition:"bottom",avatarPosition:"rightTop",theme:"system",primaryColor:"#417ffb"},_=e.createContext({setLayoutConfig:()=>{},setLocale:()=>{}}),v=e.createContext({locale:"en-US",languages:[],layoutConfig:{},themeSkinMap:{tidy:[],rich:[]}}),b=()=>e.useContext(v);function j(e){return m.jsx("div",{className:"Layout-module_rootBackground__j3UVG",children:m.jsx(m.Fragment,{children:e.children})})}function w(e){return m.jsx(m.Fragment,{children:e.children})}function k(e){return m.jsx(m.Fragment,{children:e.children})}function S(e){return m.jsx(m.Fragment,{children:e.children})}j.displayName="LayoutBackground",j.role=f,w.displayName="LayoutContent",w.role=x,k.displayName="LayoutAside",k.role=h,S.displayName="LayoutHeader",S.role=g;function C(n){let r=null,t=null,o=null,i=null;return e.Children.forEach(n.children,e=>{const n=e.type.role;n===g?r=e:n===x?t=e:n===h?o=e:n===f&&(i=e)}),m.jsx(m.Fragment,{children:m.jsxs("div",{ref:n.ref,className:"layout-module_rootBox__Y8bEx",style:{...n.style},children:[i,m.jsxs("div",{className:"layout-module_rootLayout__TePvr",children:[o,m.jsxs("div",{className:"layout-module_mainLayout__a8Tb9",children:[r,t]})]})]})})}function B(n){const r=!!document.fullscreenElement,[t,o]=e.useState(r),i=()=>{o(!!document.fullscreenElement)},a=e=>{"F11"===e.code&&(e.preventDefault(),s())};e.useEffect(()=>(document.addEventListener("fullscreenchange",i),document.addEventListener("keydown",a,!0),()=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("keydown",a)}),[]);const s=()=>{t?document.exitFullscreen():document.documentElement.requestFullscreen()};if(!n.buttons||n.buttons.length<2)return m.jsx(m.Fragment,{});const[l,d]=n.buttons,c=t?l:d;return e.cloneElement(c,{onClick:e=>{console.log(e),s()}})}p("@layer base {\r\n html, body {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%; \r\n height: 100%;\r\n }\r\n #layout-module_root__0efzq { \r\n text-align: initial;\r\n width: 100%;\r\n height:100%\r\n } \r\n}\r\n*, *:before, *:after {\r\n box-sizing: border-box;\r\n}\r\n.layout-module_rootBox__Y8bEx {\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n width: 100%;\r\n min-height: 100%;\r\n}\r\n.layout-module_rootBackground__vEs6e {\r\n box-sizing: border-box; \r\n pointer-events: none;\r\n inset-block-start:0;\r\n inset-inline-start:0; \r\n width: 100%; \r\n min-width: 100vw;\r\n height:100%;\r\n min-height: 100vh;\r\n overflow: hidden;\r\n position: fixed;\r\n z-index: 0;\r\n}\r\n.layout-module_rootBackground__vEs6e>div{\r\n width:100%;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.layout-module_rootLayout__TePvr {\r\n position: relative;\r\n z-index: 1;\r\n box-sizing: border-box; \r\n width: 100%;\r\n min-height: 100%;\r\n display: flex; \r\n flex-flow: row;\r\n background-color: transparent;\r\n container-type: inline-size;\r\n}\r\n\r\n.layout-module_mainLayout__a8Tb9 {\r\n box-sizing: border-box; \r\n display: flex;\r\n flex-flow: column; \r\n width: 100%;\r\n}\r\n"),C.Aside=k,C.Content=w,C.Header=S,C.Background=j;const P=(e,n)=>{const{r:r,g:t,b:o}=(e=>({r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:9===e.length?(parseInt(e.slice(7,9),16)/255).toFixed(2):1}))(e);return`rgba(${r}, ${t}, ${o}, ${n})`};function M(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}M("@layer base { \r\n :root{\r\n --pageload-bar-color:#222222;\r\n } \r\n #index_root__t3vw8 {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%;\r\n height: 100%;\r\n }\r\n}\r\n\r\n/** Menu icon automatic compact mode */\r\n.index_adminui-menu-icon__sDVLQ {\r\n font-size: var(--adminui-menu-icon-size);\r\n width: var(--adminui-menu-icon-size);\r\n height: var(--adminui-menu-icon-size);\r\n}\r\n");var I="index-module_headerLayout__rv59v",L="index-module_headerLayoutSticky__6uFCj",z="index-module_headerLayoutFixed__t5Hmo",N="index-module_headerLayoutBox__h0fIt",T="index-module_headerMenu__WHmJN",F="index-module_headerTitle__jGbCX",E="index-module_headerBrandBox__U2J16",A="index-module_layoutBlur__GpCPx",O="index-module_toolbarPanel__Pp8PS",W="index-module_toolbarItem__RkaXd",R="index-module_toolbarAvatarItem__p6TXY",H="index-module_siderBaseStyle__zg1FM",$="index-module_siderMask__cCjMh",q="index-module_siderContentBox__dGgRe",D="index-module_siderContentItem__kl3cR",K="index-module_collapsedTrack__LoJ3V",X="index-module_collapsedTrackButton__m33XS",V="index-module_brandPanel__2GRgq",G="index-module_labelBox__dX8fY",U="index-module_brandNodeBox__W-iM6",J="index-module_brandMobilePanel__m1Diu",Y="index-module_largeBrandPanel__pLn--",Z="index-module_title__SbfFY",Q="index-module_largeBrandCollPanel__nsGKB",ee="index-module_avatarPanel__fFvCS",ne="index-module_collapsedMobile__Yu8F4",re="index-module_round__WoVxM";function te(e){const{size:n=16}=e;return m.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:m.jsx("path",{d:"m15 18-6-6 6-6"})})}function oe(e){const{size:n=16}=e;return m.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:m.jsx("path",{d:"m9 18 6-6-6-6"})})}function ie(e){const{size:n=16}=e;return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("path",{d:"M21 5H11"}),m.jsx("path",{d:"M21 12H11"}),m.jsx("path",{d:"M21 19H11"}),m.jsx("path",{d:"m7 8-4 4 4 4"})]})}function ae(e){const{size:n=16}=e;return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("path",{d:"M21 5H11"}),m.jsx("path",{d:"M21 12H11"}),m.jsx("path",{d:"M21 19H11"}),m.jsx("path",{d:"m3 8 4 4-4 4"})]})}function se(e){const{size:n=16}=e;return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("path",{d:"m7 15 5 5 5-5"}),m.jsx("path",{d:"m7 9 5-5 5 5"})]})}function le(e){const{size:n=16}=e;return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"}),m.jsx("circle",{cx:"12",cy:"7",r:"4"})]})}function de(e){const{size:n=16}=e;return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("path",{d:"M8 3v3a2 2 0 0 1-2 2H3"}),m.jsx("path",{d:"M21 8h-3a2 2 0 0 1-2-2V3"}),m.jsx("path",{d:"M3 16h3a2 2 0 0 1 2 2v3"}),m.jsx("path",{d:"M16 21v-3a2 2 0 0 1 2-2h3"})]})}function ce(e){const{size:n=16}=e;return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("path",{d:"M8 3H5a2 2 0 0 0-2 2v3"}),m.jsx("path",{d:"M21 8V5a2 2 0 0 0-2-2h-3"}),m.jsx("path",{d:"M3 16v3a2 2 0 0 0 2 2h3"}),m.jsx("path",{d:"M16 21h3a2 2 0 0 0 2-2v-3"})]})}function ue(n){const[r,t]=e.useState(!1),{hasChild:o,...i}=n;e.useEffect(()=>{if(n.src)if("string"==typeof n.src){const e=new Image;e.src=n.src,e.onload=()=>t(!0),e.onerror=()=>t(!0)}else t(!0)},[n.src]);const a={...n.style,transition:"opacity 0.3s ease-out",opacity:r?1:0,overflow:"hidden",display:"flex",justifyItems:"center",alignItems:"center"},s=m.jsx("img",{...i});return n.hasChild?s:m.jsx("div",{style:a,children:s})}M('@layer base { \r\n\r\n :root { \r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #ccc;\r\n --sb-thumb-hover: #b3b3b3;\r\n --sb-html-track-color: rgb(250,250,250);\r\n color-scheme: light;\r\n }\r\n\r\n * {\r\n box-sizing: border-box;\r\n scrollbar-width: thin;\r\n scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);\r\n }\r\n\r\n html {\r\n scrollbar-color: var(--sb-thumb-color) var(--sb-html-track-color);\r\n }\r\n \r\n @media (prefers-color-scheme: dark) {\r\n :root {\r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #383838;\r\n --sb-thumb-hover: rgb(49, 49, 49);\r\n --sb-html-track-color: rgb(20,20,20);\r\n color-scheme: dark;\r\n }\r\n }\r\n\r\n :root[style="color-scheme: dark;"],\r\n :root[class="dark"] { \r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #383838;\r\n --sb-thumb-hover: rgb(49, 49, 49); \r\n --sb-html-track-color: rgb(20,20,20); \r\n color-scheme: dark; \r\n }\r\n\r\n ::-webkit-scrollbar {\r\n width: 8px;\r\n height: 8px;\r\n background-color: transparent;\r\n } \r\n\r\n ::-webkit-scrollbar-track {\r\n background-color: var(--sb-track-color);\r\n border-radius: 10px;\r\n }\r\n\r\n ::-webkit-scrollbar-thumb {\r\n background-color: var(--sb-thumb-color);\r\n border-radius: 10px; \r\n border: 2px solid var(--sb-track-color);\r\n }\r\n ::-webkit-scrollbar-thumb:hover {\r\n background-color: var(--sb-thumb-hover);\r\n } \r\n}\r\n/** header */\r\n.index-module_headerLayout__rv59v {\r\n box-sizing: border-box;\r\n min-width: 100%;\r\n padding-block: 0;\r\n padding-inline: 0; \r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid);\r\n}\r\n\r\n.index-module_headerLayoutSticky__6uFCj {\r\n position: sticky;\r\n width: 100%;\r\n z-index: 100;\r\n top:0;\r\n}\r\n.index-module_headerLayoutFixed__t5Hmo {\r\n position: fixed;\r\n width: 100%;\r\n z-index: 100;\r\n inset-block-start: 0;\r\n inset-inline-end: 0;\r\n}\r\n.index-module_headerLayoutBox__h0fIt {\r\n display: flex;\r\n flex-flow: row;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n.index-module_headerMenu__WHmJN {\r\n border:0px;\r\n background-color: transparent;\r\n flex:1;\r\n height: 100%;\r\n min-width: 0px;\r\n}\r\n.index-module_headerTitle__jGbCX {\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n}\r\n.index-module_headerBrandBox__U2J16 {\r\n width: auto; \r\n}\r\n\r\n.index-module_layoutBlur__GpCPx { \r\n transform: translateZ(0);\r\n backdrop-filter: blur(8px);\r\n}\r\n\r\n.index-module_toolbarPanel__Pp8PS {\r\n display: flex;\r\n justify-content: end;\r\n align-items: center;\r\n}\r\n.index-module_toolbarPanel__Pp8PS .index-module_toolbarItem__RkaXd {\r\n display: flex;\r\n justify-content: end;\r\n align-items: center;\r\n}\r\n.index-module_toolbarAvatarItem__p6TXY {\r\n display: flex;\r\n align-items: center;\r\n padding-inline: var(--adminui-padding-xs); \r\n gap: 8px;\r\n cursor: pointer;\r\n}\r\n.index-module_toolbarAvatarItem__p6TXY span {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n max-width: 100px;\r\n}\r\n\r\n/** sider */\r\n.index-module_siderBaseStyle__zg1FM {\r\n background:\'transparent\'; \r\n padding-bottom: 0px; \r\n z-index: 10;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_siderMask__cCjMh {\r\n overflow: hidden;\r\n transition:background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)\r\n}\r\n.index-module_siderContentBox__dGgRe {\r\n display: flex;\r\n flex-flow: column;\r\n align-items: center;\r\n width: 100%;\r\n min-height: 0px;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_siderContentItem__kl3cR { \r\n display: flex; \r\n align-items: center;\r\n width: 100%; \r\n min-height: 0px;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n.index-module_siderContentItem__kl3cR>div{\r\n display: flex; \r\n align-items: center;\r\n opacity: 1;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_collapsedTrack__LoJ3V {\r\n display: flex;\r\n flex-flow: column;\r\n justify-content: center;\r\n align-items: center; \r\n position: absolute;\r\n top:0px;\r\n bottom:0px;\r\n right:-14px;\r\n cursor: pointer;\r\n}\r\n.index-module_collapsedTrack__LoJ3V .index-module_collapsedTrackButton__m33XS {\r\n width: 14px;\r\n height: 36px;\r\n border-top-right-radius: 4px;\r\n border-bottom-right-radius: 4px;\r\n display: flex;\r\n flex-flow: column;\r\n justify-content: center;\r\n align-items: center; \r\n opacity: 0; \r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n\r\n}\r\n.index-module_collapsedTrack__LoJ3V:hover .index-module_collapsedTrackButton__m33XS {\r\n opacity: 1;\r\n}\r\n\r\n/** brand */ \r\n.index-module_brandPanel__2GRgq {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding:var(--adminui-margin-xxs);\r\n}\r\n.index-module_brandPanel__2GRgq button {\r\n display: flex;\r\n width: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n padding-inline: var(--adminui-padding-xs); \r\n transition: all 0.3s;\r\n\r\n}\r\n.index-module_brandPanel__2GRgq a {\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n color:inherit; \r\n transition: all 0.3s; \r\n padding-inline: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n\r\n.index-module_brandPanel__2GRgq a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_brandPanel__2GRgq a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n\r\n.index-module_brandPanel__2GRgq h4{\r\n margin:0px;\r\n padding:0px;\r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_brandPanel__2GRgq span {\r\n margin:0px; \r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n\r\n.index-module_brandPanel__2GRgq .index-module_labelBox__dX8fY {\r\n width: 100%; \r\n display:flex;\r\n flex-flow:column;\r\n justify-content:space-between;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), padding var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_brandNodeBox__W-iM6 {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n color:var(--adminui-color-primary);\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), width var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n\r\n.index-module_brandMobilePanel__m1Diu {\r\n opacity: 0;\r\n width: 0px;\r\n overflow: hidden;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n height: 100%;\r\n gap: 8px;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), width var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out),padding var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_brandMobilePanel__m1Diu a {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n.index-module_largeBrandPanel__pLn-- {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-flow: column;\r\n gap: 2px;\r\n padding: var(--adminui-padding-lg); \r\n}\r\n\r\n.index-module_largeBrandPanel__pLn-- img {\r\n transition: width var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out); \r\n}\r\n.index-module_largeBrandPanel__pLn--\x3ediv{\r\n opacity: 1;\r\n text-align: center;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-flow: column; \r\n overflow: hidden;\r\n width: 100%;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), height var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_largeBrandPanel__pLn-- span {\r\n font-size: large;\r\n width: 100%;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_largeBrandPanel__pLn-- span.index-module_title__SbfFY {\r\n font-size: small;\r\n color:var(--adminui-color-text-tertiary);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB {\r\n padding: var(--adminui-margin-xxs);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a {\r\n opacity: 1;\r\n color:inherit; \r\n padding: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n/** avatar */\r\n.index-module_avatarPanel__fFvCS {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding:var(--adminui-margin-xxs);\r\n}\r\n.index-module_avatarPanel__fFvCS a {\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n color:inherit; \r\n transition: all 0.3s;\r\n padding-inline: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_avatarPanel__fFvCS a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS h4{\r\n width: 90%;\r\n margin:0px;\r\n padding:0px;\r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_avatarPanel__fFvCS span {\r\n width: 90%;\r\n margin:0px; \r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS .index-module_labelBox__dX8fY {\r\n width: 100%;\r\n display:flex;\r\n flex-flow:column;\r\n justify-content:space-between;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out);\r\n}\r\n\r\n.index-module_collapsedMobile__Yu8F4 { \r\n display: none;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n\r\n\r\n/** container */\r\n.index-module_containerBox__pv0qs {\r\n box-sizing: border-box;\r\n background-color: transparent;\r\n display: flex;\r\n flex-flow: column;\r\n flex:auto;\r\n}\r\n.index-module_containerBox__pv0qs>h3 {\r\n box-sizing: border-box;\r\n line-height: var(--adminui-line-height);\r\n margin:0 0 var(--adminui-margin);\r\n}\r\n.index-module_containerBox__pv0qs>footer{\r\n display: flex;\r\n flex-flow: column;\r\n align-items: center;\r\n justify-content: center;\r\n width: 100%;\r\n color:var(--adminui-color-text-description);\r\n padding:var(--adminui-padding);\r\n}\r\n.index-module_containerBox__pv0qs>footer>div{\r\n text-align: center;\r\n}\r\n\r\n\r\n/** antd(adminui) */\r\n.index-module_headerLayout__rv59v .adminui-layout-header{\r\n padding-inline: 0px;\r\n}\r\n.index-module_headerLayout__rv59v .adminui-btn,\r\n.index-module_siderBaseStyle__zg1FM .adminui-btn{\r\n font-size: inherit;\r\n}\r\n.index-module_headerLayoutBox__h0fIt.index-module_round__WoVxM .adminui-menu-horizontal >.adminui-menu-item::after, \r\n.index-module_headerLayoutBox__h0fIt.index-module_round__WoVxM .adminui-menu-horizontal >.adminui-menu-submenu::after { \r\n border-radius: 4px;\r\n}\r\n\r\n.index-module_siderBaseStyle__zg1FM .adminui-layout-sider-trigger{\r\n position: absolute; \r\n top:0; \r\n right:0;\r\n height:100%;\r\n}\r\n.index-module_siderBaseStyle__zg1FM .adminui-layout-sider-children {\r\n display: flex;\r\n flex-flow: column;\r\n margin-top: 0px;\r\n padding-top: 0px;\r\n\r\n}\r\n\r\n@container (max-width: 576px) { \r\n .index-module_headerLayout__rv59v .adminui-layout-header {\r\n padding-inline-start: var(--adminui-padding-xs);\r\n }\r\n .index-module_headerMenu__WHmJN {\r\n justify-content: end;\r\n max-width: 80px;\r\n } \r\n .index-module_headerBrandBox__U2J16 {\r\n display: none;\r\n }\r\n .index-module_siderMask__cCjMh {\r\n display: none;\r\n }\r\n .index-module_brandMobilePanel__m1Diu {\r\n opacity: 1; \r\n padding-inline: var(--adminui-padding-xs);\r\n justify-content: flex-start;\r\n flex:1;\r\n }\r\n .index-module_largeBrandPanel__pLn-- {\r\n display: none;\r\n }\r\n .index-module_collapsedMobile__Yu8F4 {\r\n display: flex;\r\n }\r\n .index-module_collapsedTrack__LoJ3V {\r\n visibility: collapse;\r\n }\r\n .index-module_toolbarPanel__Pp8PS *[data-adminui-role="desk-toolbar"] {\r\n display: none;\r\n }\r\n .index-module_toolbarAvatarItem__p6TXY span {\r\n display: none;\r\n }\r\n}\r\n');const me=e.createContext({collapsed:!1,headerHeight:50,setCollapsed:()=>{}}),pe=e.createContext({close:()=>{}}),he=e.createContext({close:()=>{}}),xe=Symbol("AsideFooter"),ge=Symbol("AsideHeader"),fe=Symbol("AsideContentItems"),ye=Symbol("AsideContentItem"),_e=Symbol("ContentFooter"),ve=Symbol("AvatarPopoverContent"),be=Symbol("BrandPopoverContent"),je=Symbol("SoltContent"),we=Symbol("ToolbarExtraItems"),ke=()=>e.useContext(me),Se=()=>ke().collapsed,Ce=()=>pe,Be=()=>he;function Pe(n){const{icon:r,size:t}=n;return e.isValidElement(r)?e.cloneElement(r,{size:t,style:{fontSize:t-2+"px",...n.style}}):r}const{useToken:Me}=n.theme;function Ie(r){const{collapsed:t,iconSize:o,hideTitle:i}=r,{layoutConfig:a}=b(),{token:s}=Me(),{layoutIcons:l,brandPopoverContent:d}=ke(),[c,u]=e.useState(!1),p=Be(),h=a.compact?"16px":"20px";let x={justifyContent:"flex-start",paddingInline:a.compact?s.paddingXXS:s.paddingXS,height:"40px",gap:(a.compact?6:8)+"px"},g={height:`${a.headerHeight}px`},f={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",textAlign:"left",alignItems:"center"};a.flated&&(x={...x,paddingInline:s.padding,height:"100%"},g={...g,padding:"0px"});const{brandInfo:y}=a;t?x={...x,paddingInline:`calc(50% - calc(${h} / 2))`}:f={...f,overflow:"hidden"};let _=m.jsx(m.Fragment,{});y?.logo&&(_="string"==typeof y.logo?m.jsx(ue,{style:{width:h},src:y.logo,alt:y.name}):m.jsx("div",{className:U,style:{width:h},children:y.logo}));const v=l?.itemMoreIcon||m.jsx(se,{}),j=m.jsx(n.Button,{type:"text",style:x,iconPlacement:"end",icon:d?m.jsx(Pe,{icon:v,size:o||14,style:{opacity:t?"0":"1"}}):void 0,children:m.jsxs("div",{style:f,children:[_,m.jsxs("div",{className:G,style:{opacity:t?"0":"1"},children:[m.jsx("h4",{children:y?.name}),i?void 0:m.jsx("span",{style:{color:s.colorTextSecondary},children:y?.title})]})]})});return m.jsx("div",{className:V,style:g,children:d?m.jsx(p.Provider,{value:{close:()=>{u(!1)},record:y},children:m.jsx(n.Popover,{open:c,onOpenChange:u,placement:"rightTop",content:d,children:j})}):j})}function Le(r){const{collapsed:t,iconSize:o,hideTitle:i}=r,{layoutConfig:a}=b(),{layoutIcons:s,brandPopoverContent:l}=ke(),{token:d}=Me(),[c,u]=e.useState(!1),p=Be(),h=a.compact?"16px":"20px";let x={justifyContent:"flex-start",gap:(a.compact?6:8)+"px"},g={height:`${a.headerHeight}px`},f={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",alignItems:"center"};a.flated&&(x={...x,paddingInline:d.padding},g={...g,padding:"0px"});const{brandInfo:y}=a;t?x={...x,paddingInline:`calc(50% - calc(${h} / 2))`}:f={...f,overflow:"hidden"};let _=m.jsx(m.Fragment,{});y?.logo&&(_="string"==typeof y.logo?m.jsx(ue,{style:{width:h},src:y.logo,alt:y.name}):m.jsx("div",{className:U,style:{width:h},children:y.logo}));const v=s?.itemMoreIcon||m.jsx(se,{}),j=l?{}:{href:y?.url},w=m.jsxs("a",{...j,style:x,children:[m.jsxs("div",{style:f,children:[_,m.jsxs("div",{className:G,style:{opacity:t?"0":"1"},children:[m.jsx("h4",{style:{width:"90%"},children:y?.name}),i?void 0:m.jsx("span",{style:{color:d.colorTextSecondary,width:"90%"},children:y?.title})]})]}),l?m.jsx("div",{style:{opacity:t?"0":"1",display:"flex",placeItems:"center"},children:m.jsx(Pe,{icon:v,size:o||14})}):m.jsx(m.Fragment,{})]});return m.jsx("div",{className:V,style:g,children:l?m.jsx(p.Provider,{value:{close:()=>{u(!1)},record:y},children:m.jsx(n.Popover,{open:c,onOpenChange:u,placement:"rightTop",content:l,children:w})}):w})}function ze(r){const{layoutConfig:t}=b(),{brandPopoverContent:o}=ke(),[i,a]=e.useState(!1),s=Be(),l=t.compact?"16px":"20px",{brandInfo:d}=t;let c=m.jsx(m.Fragment,{});d?.logo&&(c="string"==typeof d.logo?m.jsx(ue,{style:{width:l},src:d.logo,alt:d.name}):m.jsx("div",{className:U,style:{width:l},children:d.logo}));let u=o?m.jsx(s.Provider,{value:{close:()=>{a(!1)},record:d},children:m.jsx(n.Popover,{open:i,onOpenChange:a,content:o,placement:"rightTop",children:m.jsx("a",{children:c})})}):m.jsx("a",{href:d?.url,children:c});return m.jsxs("div",{className:J,style:r.style,children:[u,m.jsx("div",{className:F,children:r.children})]})}function Ne(r){const{collapsed:t}=r,{brandPopoverContent:o}=ke(),{layoutConfig:i}=b(),[a,s]=e.useState(!1),l=Be(),d=t?i.compact?"16px":"20px":i.compact?"56px":"64px",{brandInfo:c}=i,u={opacity:t?"0":"1",height:t?"0px":"auto"};let p=m.jsx(m.Fragment,{});if(!c)return m.jsx(m.Fragment,{});let h=[Y];t&&h.push(Q),c?.logo&&(p="string"==typeof c.logo?m.jsx(ue,{style:{width:d},src:c.logo,alt:c.name}):m.jsx("div",{className:U,style:{width:d},children:c.logo}));let x=o?m.jsx(l.Provider,{value:{close:()=>{s(!1)},record:c},children:m.jsx(n.Popover,{open:a,onOpenChange:s,content:o,placement:"rightTop",children:m.jsx("a",{children:p})})}):m.jsx("a",{href:c?.url,children:p});return m.jsxs("div",{className:h.join(" "),children:[x,m.jsxs("div",{style:u,children:[m.jsx("span",{children:c?.name}),c.title?m.jsx("span",{className:Z,children:c?.title}):m.jsx(m.Fragment,{})]})]})}function Te(e){return m.jsx("div",{style:{...e.style},children:e.children})}Te.displayName="BrandPopoverContent",Te.role=be;const{useToken:Fe}=n.theme;function Ee(r){const{collapsed:t,iconSize:o}=r,{layoutConfig:i}=b(),{layoutIcons:a,avatarPopoverContent:s}=ke(),[l,d]=e.useState(!1),c=Ce(),{token:u}=Fe(),p=i.compact?"20px":"24px";let h={justifyContent:"flex-start",gap:(i.compact?6:8)+"px"},x={height:`${i.headerHeight}px`},g={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",alignItems:"center"};i.flated&&(h={...h,paddingInline:u.padding,margin:"0px",height:"100%"},x={...x,padding:"0px"});const{userInfo:f}=i;t?h={...h,paddingInline:`calc(50% - calc(${p} / 2))`}:g={...g,overflow:"hidden"};let y=m.jsx(m.Fragment,{});f?.avatar&&(y="string"==typeof f.avatar?m.jsx(ue,{style:{width:p,borderRadius:"999px"},src:f.avatar,alt:f.uid}):f.avatar);const _=a?.itemMoreIcon||m.jsx(se,{}),v=m.jsx("div",{className:ee,style:x,children:m.jsxs("a",{style:h,children:[m.jsxs("div",{style:g,children:[y,m.jsxs("div",{className:G,style:{opacity:t?"0":"1"},children:[m.jsx("h4",{children:f?.uid}),f?.title?void 0:m.jsx("span",{style:{color:u.colorTextSecondary},children:f?.title})]})]}),s?m.jsx("div",{style:{opacity:t?"0":"1",display:"flex",placeItems:"center"},children:m.jsx(Pe,{icon:_,size:o||14})}):m.jsx(m.Fragment,{})]})});return s?m.jsx(c.Provider,{value:{close:()=>d(!1),record:f},children:m.jsx(n.Popover,{open:l,onOpenChange:d,placement:"right",content:s,children:v})}):v}function Ae(r){const{iconSize:t=14}=r,{layoutConfig:o}=b(),{userInfo:i}=o,{avatarPopoverContent:a}=ke(),[s,l]=e.useState(!1),d=Ce();let c=m.jsx(le,{});const u=t+4,p={width:`${u}px`,height:`${u}px`,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer"};i?.avatar&&(c="string"==typeof i.avatar?m.jsx(ue,{style:{width:u,borderRadius:"999px"},src:i.avatar,alt:i.uid}):i.avatar);const h=m.jsxs("div",{className:R,children:[m.jsx("div",{style:p,children:c}),m.jsx("span",{children:i?.uid})]});return a?m.jsx(d.Provider,{value:{close:()=>l(!1),record:i},children:m.jsx(n.Popover,{open:s,onOpenChange:l,placement:"left",content:a,children:h})}):m.jsx(m.Fragment,{children:h})}function Oe(e){return m.jsx("div",{style:{...e.style},children:e.children})}Oe.displayName="AvatarPopoverContent",Oe.role=ve;const{useToken:We}=n.theme;function Re(e){const{token:r}=We(),{layoutIcons:t,toolbarExtraItems:o}=ke(),i=r.Menu?.iconSize||16,[a,s]=t?.fullScreenIcons?.slice(0,2)||[m.jsx(ce,{}),m.jsx(de,{})],l=m.jsx(Pe,{icon:a,size:i}),d=m.jsx(Pe,{icon:s,size:i});return m.jsxs("div",{className:O,children:[e.showAvatar?m.jsxs("div",{className:W,children:[m.jsx(Ae,{iconSize:i+4}),m.jsx(n.Divider,{"data-adminui-role":"desk-toolbar",orientation:"vertical"})]}):m.jsx(m.Fragment,{}),o,m.jsx("div",{className:W,"data-adminui-role":"desk-toolbar",children:m.jsx(B,{buttons:[m.jsx(n.Button,{icon:d,type:"text"},"minimize"),m.jsx(n.Button,{icon:l,type:"text"},"maximize")]})})]})}function He(e){const n=m.jsx("div",{className:W,"data-adminui-role":"desk-toolbar",children:e.children});return e?m.jsx(m.Fragment,{children:n}):m.jsx(m.Fragment,{})}He.displayName="ToolbarExtraItems",He.role=we;const{useToken:$e}=n.theme;function qe(e){const{style:n}=e,{collapsed:r,setCollapsed:t,layoutIcons:o}=ke(),i={display:"flex",justifyContent:"flex-end",alignItems:"center",width:"100%",height:n?.width,backgroundColor:"transparent"},a={display:"flex",width:n?.width,height:"100%",cursor:"pointer",justifyContent:"center",alignItems:"center"},[s,l]=o?.collapsedIcons?.slice(0,2)||[m.jsx(oe,{}),m.jsx(te,{})];return m.jsx("div",{style:i,children:m.jsx("div",{style:a,onClick:()=>{t(!r)},children:r?s:l})})}function De(e){const{style:n,offset:r=0,top:t}=e,{collapsed:o,setCollapsed:i,layoutIcons:a}=ke(),{token:s}=$e();let l={right:"-14px"},d={backgroundColor:n?.backgroundColor,border:`solid 1px ${s.colorBorderSecondary}`};t&&(l={...l,right:"-12px",display:"initial"},d={...d,width:"24px",height:"24px",borderRadius:"12px",transform:`translateY(${r+10}px)`});const[c,u]=a?.collapsedIcons?.slice(0,2)||[m.jsx(te,{}),m.jsx(oe,{})];return m.jsx("div",{className:K,style:l,onClick:()=>{i(!o)},children:m.jsx("div",{style:d,className:X,children:o?c:u})})}function Ke(e){const{collapsed:r,setCollapsed:t,layoutIcons:o}=ke(),[i,a]=o?.mobileAsideIcons?.slice(0,2)||[m.jsx(ae,{}),m.jsx(ie,{})];return m.jsx("div",{className:ne,children:m.jsx(n.Button,{type:"text",style:{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",...e.style},icon:r?i:a,onClick:()=>{t(!r)}})})}const{Header:Xe}=n.Layout,{useToken:Ve}=n.theme;function Ge(e){const{layoutConfig:r}=b(),{token:o}=Ve(),i=t.useNavigate(),a=r.headerTransparent||r.headerBlur?P(o.colorBorderSecondary,.6):o.colorBorderSecondary,s=r.hideBorder?"0px":"1px solid "+a,l=r.flated&&"headMenu"==r.layoutType||"dark"==r.theme?"dark":"light",d=r.flated&&"headMenu"==r.layoutType?"dark":"light",c=r.flated&&"headMenu"==r.layoutType?o.colorPrimary:o.colorBgContainer,u={height:e.height+"px",lineHeight:e.height+"px"};let p=m.jsx(m.Fragment,{}),h={...u,borderBottom:s,backgroundColor:r.headerTransparent?"transparent":c};r.headerBlur&&(h={...h,backgroundColor:P(c,.6),transform:"translateZ(0)",backdropFilter:"blur(8px)"});let x={...u,fontSize:o.Menu?.iconSize,backgroundColor:"transparent",flex:"none"},g=[I],f=m.jsx(m.Fragment,{});"headMenu"==r.layoutType?(p=m.jsx("div",{style:u}),h={...h,paddingInlineEnd:o.paddingXS+"px"},f=m.jsx("div",{className:E,style:{width:r?.asideWidth+"px"},children:m.jsx(Ie,{collapsed:!1,iconSize:o.Menu?.iconSize,hideTitle:!0})}),g.push(z)):(h={...h,paddingInline:o.paddingXS+"px"},g.push(L));let y=m.jsx(ze,{children:e.title}),_=m.jsx(Ke,{iconSize:r.compact?12:14});const v=[N];r.flated||v.push(re);let j="dark"==l?[n.theme.darkAlgorithm]:[n.theme.defaultAlgorithm];return m.jsxs(m.Fragment,{children:[p,m.jsx(n.ConfigProvider,{theme:{algorithm:j},children:m.jsx(n.Layout,{className:g.join(" "),style:x,children:m.jsxs(Xe,{className:v.join(" "),style:h,children:[_,f,y,m.jsx(n.Menu,{onClick:e=>{i(e.key)},defaultSelectedKeys:e.selectedKeys,selectedKeys:e.selectedKeys,mode:"horizontal",theme:d,classNames:{root:T},items:e.menuData||[]}),m.jsx(Re,{showAvatar:"rightTop"==r.avatarPosition})]})})})]})}const{Sider:Ue}=n.Layout,{useToken:Je}=n.theme,{useBreakpoint:Ye}=n.Grid;function Ze(r){const o=e.useRef([]);o.current=r.openerKeys||[];const[i,a]=e.useState(r.openerKeys),{layoutConfig:s}=b(),{asideWidth:l}=s,d=r.headerHeight,{collapsed:c,setCollapsed:u}=ke(),{token:p}=Je(),h=t.useNavigate(),x=Ye().xs?0:d,g=s.headerTransparent||s.headerBlur?P(p.colorBorderSecondary,.6):p.colorBorderSecondary,f=s.hideBorder||0==x&&c?"0px":"1px solid "+g,y="headMenu"==s.layoutType?r.headerHeight:0,_="headMenu"==s.layoutType?"calc(100% - "+r.headerHeight+"px)":"100%";let v={width:`${s.asideWidth}px`,height:`${_}`,insetBlockStart:y+"px",maxWidth:`${s.asideWidth}px`,minWidth:`${s.asideWidth}px`,borderRight:f,position:"fixed",transition:"width 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},j={overflow:"auto",flex:1};const w=p.Menu?.iconSize,k="dark"==s.theme?"dark":"light",S=k;let C=0,B=m.jsx(m.Fragment,{});"leftMenu"==s.layoutType&&(C=s.headerHeight||0,B=s.largeBrand?m.jsx(Ne,{collapsed:c,iconSize:w}):m.jsx(Le,{collapsed:c,iconSize:w,hideTitle:!0}));const M=s.asideTransparent?"transparent":s.asideBlur?P(p.colorBgContainer,.6):p.colorBgContainer;v={...v,backgroundColor:M},s.asideBlur&&(v={...v,transform:"translateZ(0)",backdropFilter:"blur(8px)"}),c&&(j={...j,overflow:"hidden"});let I=[H];I.push(A);let L=m.jsx(m.Fragment,{});switch(s.collapsedPosition){case"bottom":L=m.jsx(qe,{iconSize:w,style:{backgroundColor:M,width:`${d}px`,borderRight:f}});break;case"center":case"top":L=m.jsx(De,{iconSize:12,top:"top"==s.collapsedPosition,flated:s.flated,offset:C,style:{backgroundColor:M}})}let z=r.menuData||[];return s.asideMenuGroup&&z.forEach(e=>{e.children&&(e.type="group")}),m.jsxs(m.Fragment,{children:[m.jsx("div",{style:{width:c?d:l,flex:`0 0 ${c?d:l}px`,maxWidth:c?d:l,minWidth:c?d:l,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},className:$}),m.jsxs(Ue,{width:l,className:I.join(" "),style:v,theme:S,collapsedWidth:x,collapsible:!0,trigger:null,breakpoint:"md",collapsed:c,onCollapse:u,children:[x>0?B:m.jsx(m.Fragment,{}),r.header,m.jsx("div",{style:j,children:m.jsx(n.Menu,{onClick:e=>{h(e.key)},onOpenChange:e=>{a(e)},style:{border:"0",background:"transparent",position:"relative",minHeight:"100%"},mode:s.asideMenuInline?"inline":"vertical",selectedKeys:r.selectedKeys,openKeys:c?void 0:i,defaultSelectedKeys:r.selectedKeys,defaultOpenKeys:o.current,theme:k,items:z})}),r.footer,"leftBottom"==s.avatarPosition?m.jsx(Ee,{collapsed:c,iconSize:w}):m.jsx(m.Fragment,{}),L]})]})}function Qe(e,n){let r=[],t=[];return e.forEach(e=>{e.key==n[1]&&(t=e.children??[]);const o={...e,children:void 0};r.push(o)}),{rootMenuItems:r,childrenMenuItems:t}}const en=e=>{let n=[];if(!(null==e||e.length<=0))return e.forEach(e=>{let r=an(e);r.children=en(e.children),n.push(r)}),n},nn=(e,n)=>{if(e)return e.map(e=>{const r=tn(e,n),t={...e,label:r};return e.children&&(t.children=nn(e.children,n)),t})},rn=(e,n,r,t)=>{if(t){const o="menu"+e.replaceAll("/",".");return t.formatMessage({id:o,defaultMessage:r||n})}return r||n},tn=(e,n)=>{const r=e.path||"";return rn(r,e.name,e.label,n)},on=(e,n)=>rn(e.pathname,e.id,"",n),an=e=>({key:e.path||e.name,label:e.label||e.name,icon:e.icon,extra:e.extra,title:e.label});function sn(e){const n="/"===e?"/":e.replace(/\/+$/,"");if("/"===n)return["/"];const r=n.split("/").filter(Boolean),t=["/"];let o="";for(const e of r)o+=`/${e}`,t.push(o);return t}function ln(e){let n=sn(e);return n&&n.length>1&&"/"==n[0]&&n.splice(0,1),n}function dn(e){const n=e.length;if(0===n)return[[],[]];const r=[e[1]],t=new Array(n-2);for(let r=1;r<n;r++)t[r-1]=e[r];return[r,t]}function cn(e,n){if(n)return!e.endsWith("/")&&e.length>1&&(e+="/"),n.map(n=>{const r=function(e,n){let r=n.path||n.name;r?.startsWith("/")&&(r=r.slice(1));r?.startsWith("./")&&(r=r.slice(2));let t=e+r,o={name:t,path:t,originalPath:t,extra:un(n.extra),icon:un(n.icon)};return o}(e,n);return n.children&&(r.children=cn(r.path,n.children)),r})}const un=n=>e.isValidElement(n)?n:"function"==typeof n||"object"==typeof n?e.createElement(n):null,{useToken:mn}=n.theme;function pn(o){const{layoutConfig:i,themeSkin:a}=b(),s=r.useIntl(),{token:l}=mn(),[d,c]=e.useState(!1),u={backgroundColor:l.colorBgLayout};let p=i.headerHeight||56;i.compact&&(p-=4);const h=i.disabledLocale?o.menuData:nn(o.menuData,s),x=h&&h?.length>0?h[0].children:[],g=en(x),f=t.useLocation();console.log(f);const y=t.useMatches(),{pathname:_}=f,v=ln(_),j=y[y.length-1],w=j.handle=on(j,i.disabledLocale?void 0:s);let k=[],S=[],B=[],P=[];if("leftMenu"==i.layoutType?(P=g||[],S=v):(B=g||[],k=v),i.splitMenu&&v.length>1){const[e,n]=dn(v),{rootMenuItems:r,childrenMenuItems:t}=Qe(g,v);"leftMenu"==i.layoutType?(P=r,B=t,S=e,k=n):(P=t,B=r,k=e,S=n)}const M=e.Children.toArray(o.children),I=M.find(n=>e.isValidElement(n)&&n.type.role===xe),L=M.find(n=>e.isValidElement(n)&&n.type.role===ge),z=M.find(n=>e.isValidElement(n)&&n.type.role===_e),N=M.find(n=>e.isValidElement(n)&&n.type.role===ve),T=M.find(n=>e.isValidElement(n)&&n.type.role===be),F=M.find(n=>e.isValidElement(n)&&n.type.role===je),E=M.find(n=>e.isValidElement(n)&&n.type.role===we),A=me,O=e.useMemo(()=>({collapsed:d,headerHeight:p,layoutIcons:o.layoutIcons,avatarPopoverContent:N,brandPopoverContent:T,toolbarExtraItems:E,setCollapsed:c}),[d,p,o.layoutIcons]),W=t.useNavigation(),R=Boolean(W.location);return console.log(W),document.title=w,m.jsxs(m.Fragment,{children:[m.jsx(A,{value:O,children:m.jsxs(C,{...o,style:u,children:[m.jsx(C.Aside,{children:m.jsx(Ze,{headerHeight:p,header:I,footer:L,menuData:P,selectedKeys:S,openerKeys:S})}),m.jsx(C.Header,{children:m.jsx(Ge,{height:p,menuData:B,selectedKeys:k,title:w})}),m.jsxs(C.Content,{children:[R&&m.jsx(n.Spin,{}),m.jsx(t.Outlet,{context:{title:w,footer:z}})]}),m.jsx(C.Background,{children:a?a.backgroundContent:m.jsx(m.Fragment,{})})]})}),F]})}const hn=e=>i.generate(e),xn=()=>hn("#22222222");function gn(e){const n=Se(),{layoutConfig:r}=b(),t=r.compact?"16px":"20px";let o={justifyContent:"flex-start",paddingInline:r.compact?"14px":"16px",marginInline:"4px",marginBlock:"4px",gap:(r.compact?6:8)+"px"};return n&&(o={...o,paddingInline:`calc(50% - calc(${t} / 2))`}),!e.icon&&n?m.jsx(m.Fragment,{}):m.jsxs("div",{className:D,style:o,children:[m.jsx("div",{children:e.icon}),m.jsx("div",{style:{opacity:n?"0":"1"},children:e.children})]})}function fn(e){return m.jsx(m.Fragment,{children:e.children})}function yn(e){return m.jsx("div",{className:q,children:e.children})}function _n(e){return m.jsx("div",{className:q,children:e.children})}fn.displayName="AsideContentItems",gn.displayName="AsideContentItem",_n.displayName="AsideHeaderContent",_n.Items=fn,_n.Item=gn,yn.displayName="AsideFooterContent",yn.Items=fn,yn.Item=gn,yn.role=ge,_n.role=xe,fn.role=fe,gn.role=ye;const vn="adminui-default-config",bn=e=>({f:n=>{const{id:r,defaultMessage:t}=n;return e?e.formatMessage({id:r,defaultMessage:t}):t||r.split(".").pop()},t:(n,r)=>e?e.formatMessage({id:n,defaultMessage:r}):r||n.split(".").pop()}),jn=e=>{e||(e=vn);const n=window.localStorage.getItem(e);try{if(n)return JSON.parse(n)}catch(e){console.error(e)}},wn=(e,n)=>{n||(n=vn);const{brandInfo:r,userInfo:t,...o}=e,i=JSON.stringify(o);window.localStorage.setItem(n,i)},kn=(e,n)=>{let r={...e};if(n){const e=n.theme.length<2?n.theme[0]:r.theme;r={...r,primaryColor:n.primaryColor??r.primaryColor,containerBlur:n.containerBlur??r.containerBlur,asideBlur:n.asideBlur??r.asideBlur,asideWidth:n.asideWidth??r.asideWidth,headerBlur:n.asideBlur??r.headerBlur,theme:e}}return r},{useToken:Sn}=n.theme,Cn=e=>m.jsx("div",{...e,children:e.children});function Bn(e){return m.jsx(m.Fragment,{children:e.children})}Cn.displayName="ContentFooter",Cn.role=_e,Bn.displayName="SoltContent",Bn.role=je;const Pn="adminui-locale",Mn=(e,n)=>{let r;return Object.entries(n).forEach(([n,t])=>{t.forEach(n=>{n.name==e&&(r=n)})}),r};function In(o){const i=t.useMatches(),{pathname:a}=i[0],s={...y,...o.layoutConfig,...jn(a)};let l=o.themeSkins||[];const d=e.useMemo(()=>(e=>{let n={tidy:[],rich:[]};return e.forEach(e=>{"rich"==e.skinType?n.rich.push(e):n.tidy.push(e)}),n})(l),[l]),c=o.locale||localStorage.getItem(Pn)||s.locale||"en-US",u=o.menuData?cn("/",[o.menuData]):[],[p,h]=e.useState(()=>{if(s.skinName){const e=Mn(s.skinName,d);return kn(s,e)}return s}),[x,g]=e.useState(c),f=v,b=_;let j=o.localeMessages||{};const w=e.useMemo(()=>(e=>{let n=[];return Object.entries(e).forEach(([e,r])=>{n.push({name:r.name,locale:e,flag:r.flag})}),n})(j),[j]),k=e=>{localStorage.setItem(Pn,e),g(e)};document.documentElement.style.setProperty("--pageload-bar-color",p.primaryColor),e.useEffect(()=>{const e=window.document.documentElement;if(e.classList.remove("light","dark"),"system"===p.theme){const n=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";return void e.classList.add(n)}e.classList.add(p.theme)},[p.theme]);const S=e.useMemo(()=>{if(p.skinName)return Mn(p.skinName,d)},[l,p.skinName]),C="system"==(B=p.theme)?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":B;var B;const P=e=>{h(e),wn(e,a)},M=e.useMemo(()=>({layoutConfig:p,locale:x,languages:w,themeSkin:S,themeSkinMap:d}),[w,x,w,d,S,p]),I=e.useMemo(()=>({setLayoutConfig:P,setLocale:k}),[]),L=j[x]||j["en-US"],z=["he","ar","fa","ku"].filter(e=>x.startsWith(e)).length?"rtl":"ltr";let N="dark"===C?[n.theme.darkAlgorithm]:[n.theme.defaultAlgorithm],T=p.menuIconSize||14;const F=p.menuIconSize?.1*(T-10)+10:10;p.compact&&(N.push(n.theme.compactAlgorithm),T-=2);let E={darkSubMenuItemBg:"transparent",subMenuItemBg:"transparent",iconSize:T,fontSize:T,itemMarginInline:p.flated?0:4,iconMarginInlineEnd:F,activeBarHeight:p.compact?2:4,darkPopupBg:xn()[4]};const A={algorithm:N,token:{colorPrimary:p.primaryColor,borderRadius:p.flated?0:6},components:{Menu:E,Layout:{siderBg:"transparent",triggerBg:"transparent",lightSiderBg:"transparent",lightTriggerBg:"transparent"}}};return m.jsx(f.Provider,{value:M,children:m.jsx(b.Provider,{value:I,children:m.jsx(n.ConfigProvider,{theme:A,locale:L?.antdLocale,direction:z,modal:{mask:{blur:!1}},drawer:{mask:{blur:!1}},prefixCls:"adminui",children:m.jsx(n.App,{style:{height:"100%",width:"100%"},children:m.jsx(r.IntlProvider,{locale:x,messages:L?.messages,children:m.jsx(pn,{menuData:u,layoutIcons:o.layoutIcons,children:o.children})})})})})})}In.AsideHeader=_n,In.AsideFooter=yn,In.Footer=Cn,In.AvatarPopoverContent=Oe,In.BrandPopoverContent=Te,In.SoltContent=Bn,In.HeaderToolbarExtra=He;var Ln={exports:{}},zn=a(Ln.exports=function(){var e,n,r={version:"0.2.0"},t=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,n,r){return e<n?n:e>r?r:e}function i(e){return 100*(-1+e)}function a(e,n,r){var o;return(o="translate3d"===t.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+n+"ms "+r,o}r.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},r.status=null,r.set=function(e){var n=r.isStarted();e=o(e,t.minimum,1),r.status=1===e?null:e;var i=r.render(!n),d=i.querySelector(t.barSelector),c=t.speed,u=t.easing;return i.offsetWidth,s(function(n){""===t.positionUsing&&(t.positionUsing=r.getPositioningCSS()),l(d,a(e,c,u)),1===e?(l(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout(function(){l(i,{transition:"all "+c+"ms linear",opacity:0}),setTimeout(function(){r.remove(),n()},c)},c)):setTimeout(n,c)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},t.trickleSpeed)};return t.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var n=r.status;return n?("number"!=typeof e&&(e=(1-n)*o(Math.random()*n,.1,.95)),n=o(n+e,0,.994),r.set(n)):r.start()},r.trickle=function(){return r.inc(Math.random()*t.trickleRate)},e=0,n=0,r.promise=function(t){return t&&"resolved"!==t.state()?(0===n&&r.start(),e++,n++,t.always(function(){0===--n?(e=0,r.done()):r.set((e-n)/e)}),this):this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var n=document.createElement("div");n.id="nprogress",n.innerHTML=t.template;var o,a=n.querySelector(t.barSelector),s=e?"-100":i(r.status||0),d=document.querySelector(t.parent);return l(a,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),t.showSpinner||(o=n.querySelector(t.spinnerSelector))&&p(o),d!=document.body&&c(d,"nprogress-custom-parent"),d.appendChild(n),n},r.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,n="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return n+"Perspective"in e?"translate3d":n+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function n(){var r=e.shift();r&&r(n)}return function(r){e.push(r),1==e.length&&n()}}(),l=function(){var e=["Webkit","O","Moz","ms"],n={};function r(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,n){return n.toUpperCase()})}function t(n){var r=document.body.style;if(n in r)return n;for(var t,o=e.length,i=n.charAt(0).toUpperCase()+n.slice(1);o--;)if((t=e[o]+i)in r)return t;return n}function o(e){return e=r(e),n[e]||(n[e]=t(e))}function i(e,n,r){n=o(n),e.style[n]=r}return function(e,n){var r,t,o=arguments;if(2==o.length)for(r in n)void 0!==(t=n[r])&&n.hasOwnProperty(r)&&i(e,r,t);else i(e,o[1],o[2])}}();function d(e,n){return("string"==typeof e?e:m(e)).indexOf(" "+n+" ")>=0}function c(e,n){var r=m(e),t=r+n;d(r,n)||(e.className=t.substring(1))}function u(e,n){var r,t=m(e);d(e,n)&&(r=t.replace(" "+n+" "," "),e.className=r.substring(1,r.length-1))}function m(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r}());
10
+ */"production"===process.env.NODE_ENV?l.exports=function(){if(s)return d;s=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(n,r,t){var o=null;if(void 0!==t&&(o=""+t),void 0!==r.key&&(o=""+r.key),"key"in r)for(var i in t={},r)"key"!==i&&(t[i]=r[i]);else t=r;return r=t.ref,{$$typeof:e,type:n,key:o,ref:void 0!==r?r:null,props:t}}return d.Fragment=n,d.jsx=r,d.jsxs=r,d}():l.exports=(c||(c=1,"production"!==process.env.NODE_ENV&&function(){function n(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===C?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case f:return"Profiler";case g:return"StrictMode";case b:return"Suspense";case j:return"SuspenseList";case S:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case h:return"Portal";case _:return e.displayName||"Context";case y:return(e._context.displayName||"Context")+".Consumer";case v:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case w:return null!==(r=e.displayName||null)?r:n(e.type)||"Memo";case k:r=e._payload,e=e._init;try{return n(e(r))}catch(e){}}return null}function r(e){return""+e}function t(e){try{r(e);var n=!1}catch(e){n=!0}if(n){var t=(n=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),r(e)}}function o(e){if(e===x)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===k)return"<...>";try{var r=n(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function i(){return Error("react-stack-top-frame")}function a(){var e=n(this.type);return L[e]||(L[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function s(e,r,o,i,s,d){var u,m=r.children;if(void 0!==m)if(i)if(M(m)){for(i=0;i<m.length;i++)l(m[i]);Object.freeze&&Object.freeze(m)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else l(m);if(P.call(r,"key")){m=n(e);var h=Object.keys(r).filter(function(e){return"key"!==e});i=0<h.length?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}",T[m+i]||(h=0<h.length?"{"+h.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',i,m,h,m),T[m+i]=!0)}if(m=null,void 0!==o&&(t(o),m=""+o),function(e){if(P.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return void 0!==e.key}(r)&&(t(r.key),m=""+r.key),"key"in r)for(var x in o={},r)"key"!==x&&(o[x]=r[x]);else o=r;return m&&function(e,n){function r(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,n,r,t,o,i){var s=r.ref;return e={$$typeof:p,type:e,key:n,props:r,_owner:t},null!==(void 0!==s?s:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:a}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,m,o,null===(u=B.A)?null:u.getOwner(),s,d)}function l(e){d(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===k&&("fulfilled"===e._payload.status?d(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===p}var c,m=e,p=Symbol.for("react.transitional.element"),h=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),g=Symbol.for("react.strict_mode"),f=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),_=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),j=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),k=Symbol.for("react.lazy"),S=Symbol.for("react.activity"),C=Symbol.for("react.client.reference"),B=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,P=Object.prototype.hasOwnProperty,M=Array.isArray,I=console.createTask?console.createTask:function(){return null},L={},z=(m={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(m,i)(),N=I(o(i)),T={};u.Fragment=x,u.jsx=function(e,n,r){var t=1e4>B.recentlyCreatedOwnerStacks++;return s(e,n,r,!1,t?Error("react-stack-top-frame"):z,t?I(o(e)):N)},u.jsxs=function(e,n,r){var t=1e4>B.recentlyCreatedOwnerStacks++;return s(e,n,r,!0,t?Error("react-stack-top-frame"):z,t?I(o(e)):N)}}()),u);var m=l.exports;function p(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}p("@layer base {\r\n html, body {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%; \r\n height: 100%;\r\n }\r\n #root { \r\n text-align: initial;\r\n width: 100%;\r\n height:100%\r\n } \r\n}\r\n*, *:before, *:after {\r\n box-sizing: border-box;\r\n}\r\n.Layout-module_rootBox__3JHjy {\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n width: 100%;\r\n min-height: 100%;\r\n}\r\n.Layout-module_rootBackground__j3UVG {\r\n box-sizing: border-box; \r\n pointer-events: none;\r\n inset-block-start:0;\r\n inset-inline-start:0; \r\n width: 100%; \r\n min-width: 100vw;\r\n height:100%;\r\n min-height: 100vh;\r\n overflow: hidden;\r\n position: fixed;\r\n z-index: 0;\r\n}\r\n.Layout-module_rootBackground__j3UVG>div{\r\n width:100%;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.Layout-module_rootLayout__jVEEF {\r\n position: relative;\r\n z-index: 1;\r\n box-sizing: border-box; \r\n width: 100%;\r\n min-height: 100%;\r\n display: flex; \r\n flex-flow: row;\r\n background-color: transparent;\r\n container-type: inline-size;\r\n}\r\n\r\n.Layout-module_mainLayout__6W9W9 {\r\n box-sizing: border-box; \r\n display: flex;\r\n flex-flow: column; \r\n width: 100%;\r\n}\r\n");const h=Symbol("LayoutAside"),x=Symbol("LayoutContent"),g=Symbol("LayoutHeader"),f=Symbol("LayoutBackground"),y={headerHeight:50,asideWidth:260,layoutType:"leftMenu",collapsedPosition:"bottom",avatarPosition:"rightTop",theme:"system",primaryColor:"#417ffb"},_=e.createContext({setLayoutConfig:()=>{},setLocale:()=>{}}),v=e.createContext({locale:"en-US",languages:[],layoutConfig:{},themeSkinMap:{tidy:[],rich:[]}}),b=()=>e.useContext(v);function j(e){return m.jsx("div",{className:"Layout-module_rootBackground__j3UVG",children:m.jsx(m.Fragment,{children:e.children})})}function w(e){return m.jsx(m.Fragment,{children:e.children})}function k(e){return m.jsx(m.Fragment,{children:e.children})}function S(e){return m.jsx(m.Fragment,{children:e.children})}j.displayName="LayoutBackground",j.role=f,w.displayName="LayoutContent",w.role=x,k.displayName="LayoutAside",k.role=h,S.displayName="LayoutHeader",S.role=g;function C(n){let r=null,t=null,o=null,i=null;return e.Children.forEach(n.children,e=>{const n=e.type.role;n===g?r=e:n===x?t=e:n===h?o=e:n===f&&(i=e)}),m.jsx(m.Fragment,{children:m.jsxs("div",{ref:n.ref,className:"layout-module_rootBox__Y8bEx",style:{...n.style},children:[i,m.jsxs("div",{className:"layout-module_rootLayout__TePvr",children:[o,m.jsxs("div",{className:"layout-module_mainLayout__a8Tb9",children:[r,t]})]})]})})}function B(n){const r=!!document.fullscreenElement,[t,o]=e.useState(r),i=()=>{o(!!document.fullscreenElement)},a=e=>{"F11"===e.code&&(e.preventDefault(),s())};e.useEffect(()=>(document.addEventListener("fullscreenchange",i),document.addEventListener("keydown",a,!0),()=>{document.removeEventListener("fullscreenchange",i),document.removeEventListener("keydown",a)}),[]);const s=()=>{t?document.exitFullscreen():document.documentElement.requestFullscreen()};if(!n.buttons||n.buttons.length<2)return m.jsx(m.Fragment,{});const[l,d]=n.buttons,c=t?l:d;return e.cloneElement(c,{onClick:e=>{console.log(e),s()}})}p("@layer base {\r\n html, body {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%; \r\n height: 100%;\r\n }\r\n #root { \r\n text-align: initial;\r\n width: 100%;\r\n height:100%\r\n } \r\n}\r\n*, *:before, *:after {\r\n box-sizing: border-box;\r\n}\r\n.layout-module_rootBox__Y8bEx {\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n width: 100%;\r\n min-height: 100%;\r\n}\r\n.layout-module_rootBackground__vEs6e {\r\n box-sizing: border-box; \r\n pointer-events: none;\r\n inset-block-start:0;\r\n inset-inline-start:0; \r\n width: 100%; \r\n min-width: 100vw;\r\n height:100%;\r\n min-height: 100vh;\r\n overflow: hidden;\r\n position: fixed;\r\n z-index: 0;\r\n}\r\n.layout-module_rootBackground__vEs6e>div{\r\n width:100%;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.layout-module_rootLayout__TePvr {\r\n position: relative;\r\n z-index: 1;\r\n box-sizing: border-box; \r\n width: 100%;\r\n min-height: 100%;\r\n display: flex; \r\n flex-flow: row;\r\n background-color: transparent;\r\n container-type: inline-size;\r\n}\r\n\r\n.layout-module_mainLayout__a8Tb9 {\r\n box-sizing: border-box; \r\n display: flex;\r\n flex-flow: column; \r\n width: 100%;\r\n}\r\n"),C.Aside=k,C.Content=w,C.Header=S,C.Background=j;const P=(e,n)=>{const{r:r,g:t,b:o}=(e=>({r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:9===e.length?(parseInt(e.slice(7,9),16)/255).toFixed(2):1}))(e);return`rgba(${r}, ${t}, ${o}, ${n})`};function M(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}M("@layer adminui-layout { \r\n :root{\r\n --pageload-bar-color:#222222;\r\n } \r\n #index_root__t3vw8 {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%;\r\n height: 100%;\r\n }\r\n}\r\n\r\n/** Menu icon automatic compact mode */\r\n.index_adminui-menu-icon__sDVLQ {\r\n font-size: var(--adminui-menu-icon-size);\r\n width: var(--adminui-menu-icon-size);\r\n height: var(--adminui-menu-icon-size);\r\n}\r\n");var I="index-module_headerLayout__rv59v",L="index-module_headerLayoutSticky__6uFCj",z="index-module_headerLayoutFixed__t5Hmo",N="index-module_headerLayoutBox__h0fIt",T="index-module_headerMenu__WHmJN",F="index-module_headerTitle__jGbCX",E="index-module_headerBrandBox__U2J16",A="index-module_layoutBlur__GpCPx",O="index-module_toolbarPanel__Pp8PS",R="index-module_toolbarItem__RkaXd",W="index-module_toolbarAvatarItem__p6TXY",H="index-module_siderBaseStyle__zg1FM",$="index-module_siderMask__cCjMh",D="index-module_siderContentBox__dGgRe",q="index-module_siderContentItem__kl3cR",K="index-module_collapsedTrack__LoJ3V",X="index-module_collapsedTrackButton__m33XS",V="index-module_brandPanel__2GRgq",G="index-module_labelBox__dX8fY",U="index-module_brandNodeBox__W-iM6",J="index-module_brandMobilePanel__m1Diu",Y="index-module_largeBrandPanel__pLn--",Z="index-module_title__SbfFY",Q="index-module_largeBrandCollPanel__nsGKB",ee="index-module_avatarPanel__fFvCS",ne="index-module_collapsedMobile__Yu8F4",re="index-module_round__WoVxM";function te(e){const{size:n=16}=e;return m.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:m.jsx("path",{d:"m15 18-6-6 6-6"})})}function oe(e){const{size:n=16}=e;return m.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:m.jsx("path",{d:"m9 18 6-6-6-6"})})}function ie(e){const{size:n=16}=e;return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("path",{d:"M21 5H11"}),m.jsx("path",{d:"M21 12H11"}),m.jsx("path",{d:"M21 19H11"}),m.jsx("path",{d:"m7 8-4 4 4 4"})]})}function ae(e){const{size:n=16}=e;return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("path",{d:"M21 5H11"}),m.jsx("path",{d:"M21 12H11"}),m.jsx("path",{d:"M21 19H11"}),m.jsx("path",{d:"m3 8 4 4-4 4"})]})}function se(e){const{size:n=16}=e;return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("path",{d:"m7 15 5 5 5-5"}),m.jsx("path",{d:"m7 9 5-5 5 5"})]})}function le(e){const{size:n=16}=e;return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"}),m.jsx("circle",{cx:"12",cy:"7",r:"4"})]})}function de(e){const{size:n=16}=e;return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("path",{d:"M8 3v3a2 2 0 0 1-2 2H3"}),m.jsx("path",{d:"M21 8h-3a2 2 0 0 1-2-2V3"}),m.jsx("path",{d:"M3 16h3a2 2 0 0 1 2 2v3"}),m.jsx("path",{d:"M16 21v-3a2 2 0 0 1 2-2h3"})]})}function ce(e){const{size:n=16}=e;return m.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[m.jsx("path",{d:"M8 3H5a2 2 0 0 0-2 2v3"}),m.jsx("path",{d:"M21 8V5a2 2 0 0 0-2-2h-3"}),m.jsx("path",{d:"M3 16v3a2 2 0 0 0 2 2h3"}),m.jsx("path",{d:"M16 21h3a2 2 0 0 0 2-2v-3"})]})}function ue(n){const[r,t]=e.useState(!1),{hasChild:o,...i}=n;e.useEffect(()=>{if(n.src)if("string"==typeof n.src){const e=new Image;e.src=n.src,e.onload=()=>t(!0),e.onerror=()=>t(!0)}else t(!0)},[n.src]);const a={...n.style,transition:"opacity 0.3s ease-out",opacity:r?1:0,display:"flex",justifyItems:"center",alignItems:"center"},s=m.jsx("img",{...i});return n.hasChild?s:m.jsx("div",{style:a,children:s})}M('@layer base { \r\n\r\n :root { \r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #ccc;\r\n --sb-thumb-hover: #b3b3b3;\r\n --sb-html-track-color: rgb(250,250,250);\r\n color-scheme: light;\r\n }\r\n\r\n * {\r\n box-sizing: border-box;\r\n scrollbar-width: thin;\r\n scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);\r\n }\r\n\r\n html {\r\n scrollbar-color: var(--sb-thumb-color) var(--sb-html-track-color);\r\n }\r\n \r\n @media (prefers-color-scheme: dark) {\r\n :root {\r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #383838;\r\n --sb-thumb-hover: rgb(49, 49, 49);\r\n --sb-html-track-color: rgb(20,20,20);\r\n color-scheme: dark;\r\n }\r\n }\r\n\r\n :root[style="color-scheme: dark;"],\r\n :root[class="dark"] { \r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #383838;\r\n --sb-thumb-hover: rgb(49, 49, 49); \r\n --sb-html-track-color: rgb(20,20,20); \r\n color-scheme: dark; \r\n }\r\n\r\n ::-webkit-scrollbar {\r\n width: 8px;\r\n height: 8px;\r\n background-color: transparent;\r\n } \r\n\r\n ::-webkit-scrollbar-track {\r\n background-color: var(--sb-track-color);\r\n border-radius: 10px;\r\n }\r\n\r\n ::-webkit-scrollbar-thumb {\r\n background-color: var(--sb-thumb-color);\r\n border-radius: 10px; \r\n border: 2px solid var(--sb-track-color);\r\n }\r\n ::-webkit-scrollbar-thumb:hover {\r\n background-color: var(--sb-thumb-hover);\r\n } \r\n}\r\n/** header */\r\n.index-module_headerLayout__rv59v {\r\n box-sizing: border-box;\r\n min-width: 100%;\r\n padding-block: 0;\r\n padding-inline: 0; \r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid);\r\n}\r\n\r\n.index-module_headerLayoutSticky__6uFCj {\r\n position: sticky;\r\n width: 100%;\r\n z-index: 100;\r\n top:0;\r\n}\r\n.index-module_headerLayoutFixed__t5Hmo {\r\n position: fixed;\r\n width: 100%;\r\n z-index: 100;\r\n inset-block-start: 0;\r\n inset-inline-end: 0;\r\n}\r\n.index-module_headerLayoutBox__h0fIt {\r\n display: flex;\r\n flex-flow: row;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n.index-module_headerMenu__WHmJN {\r\n border:0px;\r\n background-color: transparent;\r\n flex:1;\r\n height: 100%;\r\n min-width: 0px;\r\n}\r\n.index-module_headerTitle__jGbCX {\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n}\r\n.index-module_headerBrandBox__U2J16 {\r\n width: auto; \r\n}\r\n\r\n.index-module_layoutBlur__GpCPx { \r\n transform: translateZ(0);\r\n backdrop-filter: blur(8px);\r\n}\r\n\r\n.index-module_toolbarPanel__Pp8PS {\r\n display: flex;\r\n justify-content: end;\r\n align-items: center;\r\n}\r\n.index-module_toolbarPanel__Pp8PS .index-module_toolbarItem__RkaXd {\r\n display: flex;\r\n justify-content: end;\r\n align-items: center;\r\n}\r\n.index-module_toolbarAvatarItem__p6TXY {\r\n display: flex;\r\n align-items: center;\r\n padding-inline: var(--adminui-padding-xs); \r\n gap: 8px;\r\n cursor: pointer;\r\n}\r\n.index-module_toolbarAvatarItem__p6TXY span {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n max-width: 100px;\r\n}\r\n\r\n/** sider */\r\n.index-module_siderBaseStyle__zg1FM {\r\n background:\'transparent\'; \r\n padding-bottom: 0px; \r\n z-index: 10;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_siderMask__cCjMh {\r\n overflow: hidden;\r\n transition:background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)\r\n}\r\n.index-module_siderContentBox__dGgRe {\r\n display: flex;\r\n flex-flow: column;\r\n align-items: center;\r\n width: 100%;\r\n min-height: 0px;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_siderContentItem__kl3cR { \r\n display: flex; \r\n align-items: center;\r\n width: 100%; \r\n min-height: 0px;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n.index-module_siderContentItem__kl3cR>div{\r\n display: flex; \r\n align-items: center;\r\n opacity: 1;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_collapsedTrack__LoJ3V {\r\n display: flex;\r\n flex-flow: column;\r\n justify-content: center;\r\n align-items: center; \r\n position: absolute;\r\n top:0px;\r\n bottom:0px;\r\n right:-14px;\r\n cursor: pointer;\r\n}\r\n.index-module_collapsedTrack__LoJ3V .index-module_collapsedTrackButton__m33XS {\r\n width: 14px;\r\n height: 36px;\r\n border-top-right-radius: 4px;\r\n border-bottom-right-radius: 4px;\r\n display: flex;\r\n flex-flow: column;\r\n justify-content: center;\r\n align-items: center; \r\n opacity: 0; \r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n\r\n}\r\n.index-module_collapsedTrack__LoJ3V:hover .index-module_collapsedTrackButton__m33XS {\r\n opacity: 1;\r\n}\r\n\r\n/** brand */ \r\n.index-module_brandPanel__2GRgq {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding:var(--adminui-margin-xxs);\r\n}\r\n.index-module_brandPanel__2GRgq button {\r\n display: flex;\r\n width: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n padding-inline: var(--adminui-padding-xs); \r\n transition: all 0.3s;\r\n\r\n}\r\n.index-module_brandPanel__2GRgq a {\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n color:inherit; \r\n transition: all 0.3s; \r\n padding-inline: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n\r\n.index-module_brandPanel__2GRgq a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_brandPanel__2GRgq a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n\r\n.index-module_brandPanel__2GRgq h4{\r\n margin:0px;\r\n padding:0px;\r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_brandPanel__2GRgq span {\r\n margin:0px; \r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n\r\n.index-module_brandPanel__2GRgq .index-module_labelBox__dX8fY {\r\n width: 100%; \r\n display:flex;\r\n flex-flow:column;\r\n justify-content:space-between;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), padding var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_brandNodeBox__W-iM6 {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n color:var(--adminui-color-primary);\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), width var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n\r\n.index-module_brandMobilePanel__m1Diu {\r\n opacity: 0;\r\n width: 0px;\r\n overflow: hidden;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n height: 100%;\r\n gap: 8px;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), width var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out),padding var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_brandMobilePanel__m1Diu a {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n.index-module_largeBrandPanel__pLn-- {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-flow: column;\r\n gap: 2px;\r\n padding: var(--adminui-padding-lg); \r\n}\r\n\r\n.index-module_largeBrandPanel__pLn-- img {\r\n transition: width var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out); \r\n}\r\n.index-module_largeBrandPanel__pLn--\x3ediv{\r\n opacity: 1;\r\n text-align: center;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-flow: column; \r\n overflow: hidden;\r\n width: 100%;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), height var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_largeBrandPanel__pLn-- span {\r\n font-size: large;\r\n width: 100%;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_largeBrandPanel__pLn-- span.index-module_title__SbfFY {\r\n font-size: small;\r\n color:var(--adminui-color-text-tertiary);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB {\r\n padding: var(--adminui-margin-xxs);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a {\r\n opacity: 1;\r\n color:inherit; \r\n padding: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n/** avatar */\r\n.index-module_avatarPanel__fFvCS {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding:var(--adminui-margin-xxs);\r\n}\r\n.index-module_avatarPanel__fFvCS a {\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n color:inherit; \r\n transition: all 0.3s;\r\n padding-inline: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_avatarPanel__fFvCS a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS h4{\r\n width: 90%;\r\n margin:0px;\r\n padding:0px;\r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_avatarPanel__fFvCS span {\r\n width: 90%;\r\n margin:0px; \r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS .index-module_labelBox__dX8fY {\r\n width: 100%;\r\n display:flex;\r\n flex-flow:column;\r\n justify-content:space-between;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out);\r\n}\r\n\r\n.index-module_collapsedMobile__Yu8F4 { \r\n display: none;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n\r\n\r\n/** container */\r\n.index-module_containerBox__pv0qs {\r\n box-sizing: border-box;\r\n background-color: transparent;\r\n display: flex;\r\n flex-flow: column;\r\n flex:auto;\r\n}\r\n.index-module_containerBox__pv0qs>h3 {\r\n box-sizing: border-box;\r\n line-height: var(--adminui-line-height);\r\n margin:0 0 var(--adminui-margin);\r\n}\r\n.index-module_containerBox__pv0qs>footer{\r\n display: flex;\r\n flex-flow: column;\r\n align-items: center;\r\n justify-content: center;\r\n width: 100%;\r\n color:var(--adminui-color-text-description);\r\n padding:var(--adminui-padding);\r\n}\r\n.index-module_containerBox__pv0qs>footer>div{\r\n text-align: center;\r\n}\r\n\r\n\r\n/** antd(adminui) */\r\n.index-module_headerLayout__rv59v .adminui-layout-header{\r\n padding-inline: 0px;\r\n}\r\n.index-module_headerLayout__rv59v .adminui-btn,\r\n.index-module_siderBaseStyle__zg1FM .adminui-btn{\r\n font-size: inherit;\r\n}\r\n.index-module_headerLayoutBox__h0fIt.index-module_round__WoVxM .adminui-menu-horizontal >.adminui-menu-item::after, \r\n.index-module_headerLayoutBox__h0fIt.index-module_round__WoVxM .adminui-menu-horizontal >.adminui-menu-submenu::after { \r\n border-radius: 4px;\r\n}\r\n\r\n.index-module_siderBaseStyle__zg1FM .adminui-layout-sider-trigger{\r\n position: absolute; \r\n top:0; \r\n right:0;\r\n height:100%;\r\n}\r\n.index-module_siderBaseStyle__zg1FM .adminui-layout-sider-children {\r\n display: flex;\r\n flex-flow: column;\r\n margin-top: 0px;\r\n padding-top: 0px;\r\n\r\n}\r\n\r\n@container (max-width: 576px) { \r\n .index-module_headerLayout__rv59v .adminui-layout-header {\r\n padding-inline-start: var(--adminui-padding-xs);\r\n }\r\n .index-module_headerMenu__WHmJN {\r\n justify-content: end;\r\n max-width: 80px;\r\n } \r\n .index-module_headerBrandBox__U2J16 {\r\n display: none;\r\n }\r\n .index-module_siderMask__cCjMh {\r\n display: none;\r\n }\r\n .index-module_brandMobilePanel__m1Diu {\r\n opacity: 1; \r\n padding-inline: var(--adminui-padding-xs);\r\n justify-content: flex-start;\r\n flex:1;\r\n }\r\n .index-module_largeBrandPanel__pLn-- {\r\n display: none;\r\n }\r\n .index-module_collapsedMobile__Yu8F4 {\r\n display: flex;\r\n }\r\n .index-module_collapsedTrack__LoJ3V {\r\n visibility: collapse;\r\n }\r\n .index-module_toolbarPanel__Pp8PS *[data-adminui-role="desk-toolbar"] {\r\n display: none;\r\n }\r\n .index-module_toolbarAvatarItem__p6TXY span {\r\n display: none;\r\n }\r\n}\r\n');const me=e.createContext({collapsed:!1,headerHeight:50,setCollapsed:()=>{}}),pe=e.createContext({close:()=>{}}),he=e.createContext({close:()=>{}}),xe=Symbol("AsideFooter"),ge=Symbol("AsideHeader"),fe=Symbol("AsideContentItems"),ye=Symbol("AsideContentItem"),_e=Symbol("ContentFooter"),ve=Symbol("AvatarPopoverContent"),be=Symbol("BrandPopoverContent"),je=Symbol("SoltContent"),we=Symbol("ToolbarExtraItems"),ke=()=>e.useContext(me),Se=()=>ke().collapsed,Ce=()=>pe,Be=()=>he;function Pe(n){const{icon:r,size:t}=n;return e.isValidElement(r)?e.cloneElement(r,{size:t,style:{fontSize:t-2+"px",...n.style}}):r}const{useToken:Me}=n.theme;function Ie(r){const{collapsed:t,iconSize:o,hideTitle:i}=r,{layoutConfig:a}=b(),{token:s}=Me(),{layoutIcons:l,brandPopoverContent:d}=ke(),[c,u]=e.useState(!1),p=Be(),h=a.compact?"16px":"20px";let x={justifyContent:"flex-start",paddingInline:a.compact?s.paddingXXS:s.paddingXS,height:"40px",gap:(a.compact?6:8)+"px"},g={height:`${a.headerHeight}px`},f={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",textAlign:"left",alignItems:"center"};a.flated&&(x={...x,paddingInline:s.padding,height:"100%"},g={...g,padding:"0px"});const{brandInfo:y}=a;t?x={...x,paddingInline:`calc(50% - calc(${h} / 2))`}:f={...f,overflow:"hidden"};let _=m.jsx(m.Fragment,{});y?.logo&&(_="string"==typeof y.logo?m.jsx(ue,{style:{width:h},src:y.logo,alt:y.name}):m.jsx("div",{className:U,style:{width:h},children:y.logo}));const v=l?.itemMoreIcon||m.jsx(se,{}),j=m.jsx(n.Button,{type:"text",style:x,iconPlacement:"end",icon:d?m.jsx(Pe,{icon:v,size:o||14,style:{opacity:t?"0":"1"}}):void 0,children:m.jsxs("div",{style:f,children:[_,m.jsxs("div",{className:G,style:{opacity:t?"0":"1"},children:[m.jsx("h4",{children:y?.name}),i?void 0:m.jsx("span",{style:{color:s.colorTextSecondary},children:y?.title})]})]})});return m.jsx("div",{className:V,style:g,children:d?m.jsx(p.Provider,{value:{close:()=>{u(!1)},record:y},children:m.jsx(n.Popover,{open:c,onOpenChange:u,placement:"rightTop",content:d,children:j})}):j})}function Le(r){const{collapsed:t,iconSize:o,hideTitle:i}=r,{layoutConfig:a}=b(),{layoutIcons:s,brandPopoverContent:l}=ke(),{token:d}=Me(),[c,u]=e.useState(!1),p=Be(),h=a.compact?"16px":"20px";let x={justifyContent:"flex-start",gap:(a.compact?6:8)+"px"},g={height:`${a.headerHeight}px`},f={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",alignItems:"center"};a.flated&&(x={...x,paddingInline:d.padding},g={...g,padding:"0px"});const{brandInfo:y}=a;t?x={...x,paddingInline:`calc(50% - calc(${h} / 2))`}:f={...f,overflow:"hidden"};let _=m.jsx(m.Fragment,{});y?.logo&&(_="string"==typeof y.logo?m.jsx(ue,{style:{width:h},src:y.logo,alt:y.name}):m.jsx("div",{className:U,style:{width:h},children:y.logo}));const v=s?.itemMoreIcon||m.jsx(se,{}),j=l?{}:{href:y?.url},w=m.jsxs("a",{...j,style:x,children:[m.jsxs("div",{style:f,children:[_,m.jsxs("div",{className:G,style:{opacity:t?"0":"1"},children:[m.jsx("h4",{style:{width:"90%"},children:y?.name}),i?void 0:m.jsx("span",{style:{color:d.colorTextSecondary,width:"90%"},children:y?.title})]})]}),l?m.jsx("div",{style:{opacity:t?"0":"1",display:"flex",placeItems:"center"},children:m.jsx(Pe,{icon:v,size:o||14})}):m.jsx(m.Fragment,{})]});return m.jsx("div",{className:V,style:g,children:l?m.jsx(p.Provider,{value:{close:()=>{u(!1)},record:y},children:m.jsx(n.Popover,{open:c,onOpenChange:u,placement:"rightTop",content:l,children:w})}):w})}function ze(r){const{layoutConfig:t}=b(),{brandPopoverContent:o}=ke(),[i,a]=e.useState(!1),s=Be(),l=t.compact?"16px":"20px",{brandInfo:d}=t;let c=m.jsx(m.Fragment,{});d?.logo&&(c="string"==typeof d.logo?m.jsx(ue,{style:{width:l},src:d.logo,alt:d.name}):m.jsx("div",{className:U,style:{width:l},children:d.logo}));let u=o?m.jsx(s.Provider,{value:{close:()=>{a(!1)},record:d},children:m.jsx(n.Popover,{open:i,onOpenChange:a,content:o,placement:"rightTop",children:m.jsx("a",{children:c})})}):m.jsx("a",{href:d?.url,children:c});return m.jsxs("div",{className:J,style:r.style,children:[u,m.jsx("div",{className:F,children:r.children})]})}function Ne(r){const{collapsed:t}=r,{brandPopoverContent:o}=ke(),{layoutConfig:i}=b(),[a,s]=e.useState(!1),l=Be(),d=t?i.compact?"16px":"20px":i.compact?"56px":"64px",{brandInfo:c}=i,u={opacity:t?"0":"1",height:t?"0px":"auto"};let p=m.jsx(m.Fragment,{});if(!c)return m.jsx(m.Fragment,{});let h=[Y];t&&h.push(Q),c?.logo&&(p="string"==typeof c.logo?m.jsx(ue,{style:{width:d},src:c.logo,alt:c.name}):m.jsx("div",{className:U,style:{width:d},children:c.logo}));let x=o?m.jsx(l.Provider,{value:{close:()=>{s(!1)},record:c},children:m.jsx(n.Popover,{open:a,onOpenChange:s,content:o,placement:"rightTop",children:m.jsx("a",{children:p})})}):m.jsx("a",{href:c?.url,children:p});return m.jsxs("div",{className:h.join(" "),children:[x,m.jsxs("div",{style:u,children:[m.jsx("span",{children:c?.name}),c.title?m.jsx("span",{className:Z,children:c?.title}):m.jsx(m.Fragment,{})]})]})}function Te(e){return m.jsx("div",{style:{...e.style},children:e.children})}Te.displayName="BrandPopoverContent",Te.role=be;const{useToken:Fe}=n.theme;function Ee(r){const{collapsed:t,iconSize:o}=r,{layoutConfig:i}=b(),{layoutIcons:a,avatarPopoverContent:s}=ke(),[l,d]=e.useState(!1),c=Ce(),{token:u}=Fe(),p=i.compact?"20px":"24px";let h={justifyContent:"flex-start",gap:(i.compact?6:8)+"px"},x={height:`${i.headerHeight}px`},g={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",alignItems:"center"};i.flated&&(h={...h,paddingInline:u.padding,margin:"0px",height:"100%"},x={...x,padding:"0px"});const{userInfo:f}=i;t?h={...h,paddingInline:`calc(50% - calc(${p} / 2))`}:g={...g,overflow:"hidden"};let y=m.jsx(m.Fragment,{});f?.avatar&&(y="string"==typeof f.avatar?m.jsx(ue,{style:{width:p,borderRadius:"999px"},src:f.avatar,alt:f.uid}):f.avatar);const _=a?.itemMoreIcon||m.jsx(se,{}),v=m.jsx("div",{className:ee,style:x,children:m.jsxs("a",{style:h,children:[m.jsxs("div",{style:g,children:[y,m.jsxs("div",{className:G,style:{opacity:t?"0":"1"},children:[m.jsx("h4",{children:f?.uid}),f?.title?void 0:m.jsx("span",{style:{color:u.colorTextSecondary},children:f?.title})]})]}),s?m.jsx("div",{style:{opacity:t?"0":"1",display:"flex",placeItems:"center"},children:m.jsx(Pe,{icon:_,size:o||14})}):m.jsx(m.Fragment,{})]})});return s?m.jsx(c.Provider,{value:{close:()=>d(!1),record:f},children:m.jsx(n.Popover,{open:l,onOpenChange:d,placement:"right",content:s,children:v})}):v}function Ae(r){const{iconSize:t=14}=r,{layoutConfig:o}=b(),{userInfo:i}=o,{avatarPopoverContent:a}=ke(),[s,l]=e.useState(!1),d=Ce();let c=m.jsx(le,{});const u=t+4,p={width:`${u}px`,height:`${u}px`,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer"};i?.avatar&&(c="string"==typeof i.avatar?m.jsx(ue,{style:{width:u,borderRadius:"999px"},src:i.avatar,alt:i.uid}):i.avatar);const h=m.jsxs("div",{className:W,children:[m.jsx("div",{style:p,children:c}),m.jsx("span",{children:i?.uid})]});return a?m.jsx(d.Provider,{value:{close:()=>l(!1),record:i},children:m.jsx(n.Popover,{open:s,onOpenChange:l,placement:"left",content:a,children:h})}):m.jsx(m.Fragment,{children:h})}function Oe(e){return m.jsx("div",{style:{...e.style},children:e.children})}Oe.displayName="AvatarPopoverContent",Oe.role=ve;const{useToken:Re}=n.theme;function We(e){const{token:r}=Re(),{layoutIcons:t,toolbarExtraItems:o}=ke(),i=r.Menu?.iconSize||16,[a,s]=t?.fullScreenIcons?.slice(0,2)||[m.jsx(ce,{}),m.jsx(de,{})],l=m.jsx(Pe,{icon:a,size:i}),d=m.jsx(Pe,{icon:s,size:i});return m.jsxs("div",{className:O,children:[e.showAvatar?m.jsxs("div",{className:R,children:[m.jsx(Ae,{iconSize:i+4}),m.jsx(n.Divider,{"data-adminui-role":"desk-toolbar",orientation:"vertical"})]}):m.jsx(m.Fragment,{}),o,m.jsx("div",{className:R,"data-adminui-role":"desk-toolbar",children:m.jsx(B,{buttons:[m.jsx(n.Button,{icon:d,type:"text"},"minimize"),m.jsx(n.Button,{icon:l,type:"text"},"maximize")]})})]})}function He(e){const n=m.jsx("div",{className:R,"data-adminui-role":"desk-toolbar",children:e.children});return e?m.jsx(m.Fragment,{children:n}):m.jsx(m.Fragment,{})}He.displayName="ToolbarExtraItems",He.role=we;const{useToken:$e}=n.theme;function De(e){const{style:n}=e,{collapsed:r,setCollapsed:t,layoutIcons:o}=ke(),i={display:"flex",justifyContent:"flex-end",alignItems:"center",width:"100%",height:n?.width,backgroundColor:"transparent"},a={display:"flex",width:n?.width,height:"100%",cursor:"pointer",justifyContent:"center",alignItems:"center"},[s,l]=o?.collapsedIcons?.slice(0,2)||[m.jsx(oe,{}),m.jsx(te,{})];return m.jsx("div",{style:i,children:m.jsx("div",{style:a,onClick:()=>{t(!r)},children:r?s:l})})}function qe(e){const{style:n,offset:r=0,top:t}=e,{collapsed:o,setCollapsed:i,layoutIcons:a}=ke(),{token:s}=$e();let l={right:"-14px"},d={backgroundColor:n?.backgroundColor,border:`solid 1px ${s.colorBorderSecondary}`};t&&(l={...l,right:"-12px",display:"initial"},d={...d,width:"24px",height:"24px",borderRadius:"12px",transform:`translateY(${r+10}px)`});const[c,u]=a?.collapsedIcons?.slice(0,2)||[m.jsx(te,{}),m.jsx(oe,{})];return m.jsx("div",{className:K,style:l,onClick:()=>{i(!o)},children:m.jsx("div",{style:d,className:X,children:o?c:u})})}function Ke(e){const{collapsed:r,setCollapsed:t,layoutIcons:o}=ke(),[i,a]=o?.mobileAsideIcons?.slice(0,2)||[m.jsx(ae,{}),m.jsx(ie,{})];return m.jsx("div",{className:ne,children:m.jsx(n.Button,{type:"text",style:{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",...e.style},icon:r?i:a,onClick:()=>{t(!r)}})})}const{Header:Xe}=n.Layout,{useToken:Ve}=n.theme;function Ge(e){const{layoutConfig:r}=b(),{token:o}=Ve(),i=t.useNavigate(),a=r.headerTransparent||r.headerBlur?P(o.colorBorderSecondary,.6):o.colorBorderSecondary,s=r.hideBorder?"0px":"1px solid "+a,l=r.flated&&"headMenu"==r.layoutType||"dark"==r.theme?"dark":"light",d=r.flated&&"headMenu"==r.layoutType?"dark":"light",c=r.flated&&"headMenu"==r.layoutType?o.colorPrimary:o.colorBgContainer,u={height:e.height+"px",lineHeight:e.height+"px"};let p=m.jsx(m.Fragment,{}),h={...u,borderBottom:s,backgroundColor:r.headerTransparent?"transparent":c};r.headerBlur&&(h={...h,backgroundColor:P(c,.6),transform:"translateZ(0)",backdropFilter:"blur(8px)"});let x={...u,fontSize:o.Menu?.iconSize,backgroundColor:"transparent",flex:"none"},g=[I],f=m.jsx(m.Fragment,{});"headMenu"==r.layoutType?(p=m.jsx("div",{style:u}),h={...h,paddingInlineEnd:o.paddingXS+"px"},f=m.jsx("div",{className:E,style:{width:r?.asideWidth+"px"},children:m.jsx(Ie,{collapsed:!1,iconSize:o.Menu?.iconSize,hideTitle:!0})}),g.push(z)):(h={...h,paddingInline:o.paddingXS+"px"},g.push(L));let y=m.jsx(ze,{children:e.title}),_=m.jsx(Ke,{iconSize:r.compact?12:14});const v=[N];r.flated||v.push(re);let j="dark"==l?[n.theme.darkAlgorithm]:[n.theme.defaultAlgorithm];return m.jsxs(m.Fragment,{children:[p,m.jsx(n.ConfigProvider,{theme:{algorithm:j},children:m.jsx(n.Layout,{className:g.join(" "),style:x,children:m.jsxs(Xe,{className:v.join(" "),style:h,children:[_,f,y,m.jsx(n.Menu,{onClick:e=>{i(e.key)},defaultSelectedKeys:e.selectedKeys,selectedKeys:e.selectedKeys,mode:"horizontal",theme:d,classNames:{root:T},items:e.menuData||[]}),m.jsx(We,{showAvatar:"rightTop"==r.avatarPosition})]})})})]})}const{Sider:Ue}=n.Layout,{useToken:Je}=n.theme,{useBreakpoint:Ye}=n.Grid;function Ze(r){const o=e.useRef([]);o.current=r.openerKeys||[];const[i,a]=e.useState(r.openerKeys),{layoutConfig:s}=b(),{asideWidth:l}=s,d=r.headerHeight,{collapsed:c,setCollapsed:u}=ke(),{token:p}=Je(),h=t.useNavigate(),x=Ye().xs?0:d,g=s.headerTransparent||s.headerBlur?P(p.colorBorderSecondary,.6):p.colorBorderSecondary,f=s.hideBorder||0==x&&c?"0px":"1px solid "+g,y="headMenu"==s.layoutType?r.headerHeight:0,_="headMenu"==s.layoutType?"calc(100% - "+r.headerHeight+"px)":"100%";let v={width:`${s.asideWidth}px`,height:`${_}`,insetBlockStart:y+"px",maxWidth:`${s.asideWidth}px`,minWidth:`${s.asideWidth}px`,borderRight:f,position:"fixed",transition:"width 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},j={overflow:"auto",flex:1};const w=p.Menu?.iconSize,k="dark"==s.theme?"dark":"light",S=k;let C=0,B=m.jsx(m.Fragment,{});"leftMenu"==s.layoutType&&(C=s.headerHeight||0,B=s.largeBrand?m.jsx(Ne,{collapsed:c,iconSize:w}):m.jsx(Le,{collapsed:c,iconSize:w,hideTitle:!0}));const M=s.asideTransparent?"transparent":s.asideBlur?P(p.colorBgContainer,.6):p.colorBgContainer;v={...v,backgroundColor:M},s.asideBlur&&(v={...v,transform:"translateZ(0)",backdropFilter:"blur(8px)"}),c&&(j={...j,overflow:"hidden"});let I=[H];I.push(A);let L=m.jsx(m.Fragment,{});switch(s.collapsedPosition){case"bottom":L=m.jsx(De,{iconSize:w,style:{backgroundColor:M,width:`${d}px`,borderRight:f}});break;case"center":case"top":L=m.jsx(qe,{iconSize:12,top:"top"==s.collapsedPosition,flated:s.flated,offset:C,style:{backgroundColor:M}})}let z=r.menuData||[];return s.asideMenuGroup&&z.forEach(e=>{e.children&&(e.type="group")}),m.jsxs(m.Fragment,{children:[m.jsx("div",{style:{width:c?d:l,flex:`0 0 ${c?d:l}px`,maxWidth:c?d:l,minWidth:c?d:l,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},className:$}),m.jsxs(Ue,{width:l,className:I.join(" "),style:v,theme:S,collapsedWidth:x,collapsible:!0,trigger:null,breakpoint:"md",collapsed:c,onCollapse:u,children:[x>0?B:m.jsx(m.Fragment,{}),r.header,m.jsx("div",{style:j,children:m.jsx(n.Menu,{onClick:e=>{h(e.key)},onOpenChange:e=>{a(e)},style:{border:"0",background:"transparent",position:"relative",minHeight:"100%"},mode:s.asideMenuInline?"inline":"vertical",selectedKeys:r.selectedKeys,openKeys:c?void 0:i,defaultSelectedKeys:r.selectedKeys,defaultOpenKeys:o.current,theme:k,items:z})}),r.footer,"leftBottom"==s.avatarPosition?m.jsx(Ee,{collapsed:c,iconSize:w}):m.jsx(m.Fragment,{}),L]})]})}function Qe(e,n){let r=[],t=[];return e.forEach(e=>{e.key==n[1]&&(t=e.children??[]);const o={...e,children:void 0};r.push(o)}),{rootMenuItems:r,childrenMenuItems:t}}const en=e=>{let n=[];if(!(null==e||e.length<=0))return e.forEach(e=>{let r=an(e);r.children=en(e.children),n.push(r)}),n},nn=(e,n)=>{if(e)return e.map(e=>{const r=tn(e,n),t={...e,label:r};return e.children&&(t.children=nn(e.children,n)),t})},rn=(e,n,r,t)=>{if(t){const o="menu"+e.replaceAll("/",".");return t.formatMessage({id:o,defaultMessage:r||n})}return r||n},tn=(e,n)=>{const r=e.path||"";return rn(r,e.name,e.label,n)},on=(e,n)=>rn(e.pathname,e.id,"",n),an=e=>({key:e.path||e.name,label:e.label||e.name,icon:e.icon,extra:e.extra,title:e.label});function sn(e){const n="/"===e?"/":e.replace(/\/+$/,"");if("/"===n)return["/"];const r=n.split("/").filter(Boolean),t=["/"];let o="";for(const e of r)o+=`/${e}`,t.push(o);return t}function ln(e){let n=sn(e);return n&&n.length>1&&"/"==n[0]&&n.splice(0,1),n}function dn(e){const n=e.length;if(0===n)return[[],[]];const r=[e[1]],t=new Array(n-2);for(let r=1;r<n;r++)t[r-1]=e[r];return[r,t]}function cn(e,n){if(n)return!e.endsWith("/")&&e.length>1&&(e+="/"),n.map(n=>{const r=function(e,n){let r=n.path||n.name;r?.startsWith("/")&&(r=r.slice(1));r?.startsWith("./")&&(r=r.slice(2));let t=e+r,o={name:t,path:t,originalPath:t,extra:un(n.extra),icon:un(n.icon)};return o}(e,n);return n.children&&(r.children=cn(r.path,n.children)),r})}const un=n=>e.isValidElement(n)?n:"function"==typeof n||"object"==typeof n?e.createElement(n):null,{useToken:mn}=n.theme;function pn(n){const{layoutConfig:o,themeSkin:i}=b(),a=r.useIntl(),{token:s}=mn(),[l,d]=e.useState(!1),c={backgroundColor:s.colorBgLayout};let u=o.headerHeight||56;o.compact&&(u-=4);const p=o.disabledLocale?n.menuData:nn(n.menuData,a),h=p&&p?.length>0?p[0].children:[],x=en(h),g=t.useLocation();console.log(g);const f=t.useMatches(),{pathname:y}=g,_=ln(y),v=f[f.length-1],j=v.handle=on(v,o.disabledLocale?void 0:a);let w=[],k=[],S=[],B=[];if("leftMenu"==o.layoutType?(B=x||[],k=_):(S=x||[],w=_),o.splitMenu&&_.length>1){const[e,n]=dn(_),{rootMenuItems:r,childrenMenuItems:t}=Qe(x,_);"leftMenu"==o.layoutType?(B=r,S=t,k=e,w=n):(B=t,S=r,w=e,k=n)}const P=e.Children.toArray(n.children),M=P.find(n=>e.isValidElement(n)&&n.type.role===xe),I=P.find(n=>e.isValidElement(n)&&n.type.role===ge),L=P.find(n=>e.isValidElement(n)&&n.type.role===_e),z=P.find(n=>e.isValidElement(n)&&n.type.role===ve),N=P.find(n=>e.isValidElement(n)&&n.type.role===be),T=P.find(n=>e.isValidElement(n)&&n.type.role===je),F=P.find(n=>e.isValidElement(n)&&n.type.role===we),E=me,A=e.useMemo(()=>({collapsed:l,headerHeight:u,layoutIcons:n.layoutIcons,avatarPopoverContent:z,brandPopoverContent:N,toolbarExtraItems:F,setCollapsed:d}),[l,u,n.layoutIcons]),O=t.useNavigation();return Boolean(O.location),console.log(O),document.title=j,m.jsxs(m.Fragment,{children:[m.jsx(E,{value:A,children:m.jsxs(C,{...n,style:c,children:[m.jsx(C.Aside,{children:m.jsx(Ze,{headerHeight:u,header:M,footer:I,menuData:B,selectedKeys:k,openerKeys:k})}),m.jsx(C.Header,{children:m.jsx(Ge,{height:u,menuData:S,selectedKeys:w,title:j})}),m.jsx(C.Content,{children:m.jsx(t.Outlet,{context:{title:j,footer:L}})}),m.jsx(C.Background,{children:i?i.backgroundContent:m.jsx(m.Fragment,{})})]})}),T]})}const hn=e=>i.generate(e),xn=()=>hn("#22222222");function gn(e){const n=Se(),{layoutConfig:r}=b(),t=r.compact?"16px":"20px";let o={justifyContent:"flex-start",paddingInline:r.compact?"14px":"16px",marginInline:"4px",marginBlock:"4px",gap:(r.compact?6:8)+"px"};return n&&(o={...o,paddingInline:`calc(50% - calc(${t} / 2))`}),!e.icon&&n?m.jsx(m.Fragment,{}):m.jsxs("div",{className:q,style:o,children:[m.jsx("div",{children:e.icon}),m.jsx("div",{style:{opacity:n?"0":"1"},children:e.children})]})}function fn(e){return m.jsx(m.Fragment,{children:e.children})}function yn(e){return m.jsx("div",{className:D,children:e.children})}function _n(e){return m.jsx("div",{className:D,children:e.children})}fn.displayName="AsideContentItems",gn.displayName="AsideContentItem",_n.displayName="AsideHeaderContent",_n.Items=fn,_n.Item=gn,yn.displayName="AsideFooterContent",yn.Items=fn,yn.Item=gn,yn.role=ge,_n.role=xe,fn.role=fe,gn.role=ye;const vn="adminui-default-config",bn=e=>({f:n=>{const{id:r,defaultMessage:t}=n;return e?e.formatMessage({id:r,defaultMessage:t}):t||r.split(".").pop()},t:(n,r)=>e?e.formatMessage({id:n,defaultMessage:r}):r||n.split(".").pop()}),jn=e=>{e||(e=vn);const n=window.localStorage.getItem(e);try{if(n)return JSON.parse(n)}catch(e){console.error(e)}},wn=(e,n)=>{n||(n=vn);const{brandInfo:r,userInfo:t,...o}=e,i=JSON.stringify(o);window.localStorage.setItem(n,i)},kn=(e,n)=>{let r={...e};if(n){const e=n.theme.length<2?n.theme[0]:r.theme;r={...r,primaryColor:n.primaryColor??r.primaryColor,containerBlur:n.containerBlur??r.containerBlur,asideBlur:n.asideBlur??r.asideBlur,asideWidth:n.asideWidth??r.asideWidth,headerBlur:n.asideBlur??r.headerBlur,theme:e}}return r},{useToken:Sn}=n.theme,Cn=e=>m.jsx("div",{...e,children:e.children});function Bn(e){return m.jsx(m.Fragment,{children:e.children})}Cn.displayName="ContentFooter",Cn.role=_e,Bn.displayName="SoltContent",Bn.role=je;const Pn="adminui-locale",Mn=(e,n)=>{let r;return Object.entries(n).forEach(([n,t])=>{t.forEach(n=>{n.name==e&&(r=n)})}),r};function In(o){const i=t.useMatches(),{pathname:a}=i[0],s={...y,...o.layoutConfig,...jn(a)};let l=o.themeSkins||[];const d=e.useMemo(()=>(e=>{let n={tidy:[],rich:[]};return e.forEach(e=>{"rich"==e.skinType?n.rich.push(e):n.tidy.push(e)}),n})(l),[l]),c=o.locale||localStorage.getItem(Pn)||s.locale||"en-US",u=o.menuData?cn("/",[o.menuData]):[],[p,h]=e.useState(()=>{if(s.skinName){const e=Mn(s.skinName,d);return kn(s,e)}return s}),[x,g]=e.useState(c),f=v,b=_;let j=o.localeMessages||{};const w=e.useMemo(()=>(e=>{let n=[];return Object.entries(e).forEach(([e,r])=>{n.push({name:r.name,locale:e,flag:r.flag})}),n})(j),[j]),k=e=>{localStorage.setItem(Pn,e),g(e)};document.documentElement.style.setProperty("--pageload-bar-color",p.primaryColor),e.useEffect(()=>{const e=window.document.documentElement;if(e.classList.remove("light","dark"),"system"===p.theme){const n=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";return void e.classList.add(n)}e.classList.add(p.theme)},[p.theme]);const S=e.useMemo(()=>{if(p.skinName)return Mn(p.skinName,d)},[l,p.skinName]),C="system"==(B=p.theme)?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":B;var B;const P=e=>{h(e),wn(e,a)},M=e.useMemo(()=>({layoutConfig:p,locale:x,languages:w,themeSkin:S,themeSkinMap:d}),[w,x,w,d,S,p]),I=e.useMemo(()=>({setLayoutConfig:P,setLocale:k}),[]),L=j[x]||j["en-US"],z=["he","ar","fa","ku"].filter(e=>x.startsWith(e)).length?"rtl":"ltr";let N="dark"===C?[n.theme.darkAlgorithm]:[n.theme.defaultAlgorithm],T=p.menuIconSize||14;const F=p.menuIconSize?.1*(T-10)+10:10;p.compact&&(N.push(n.theme.compactAlgorithm),T-=2);let E={darkSubMenuItemBg:"transparent",subMenuItemBg:"transparent",iconSize:T,fontSize:T,itemMarginInline:p.flated?0:4,iconMarginInlineEnd:F,activeBarHeight:p.compact?2:4,darkPopupBg:xn()[4]};const A={algorithm:N,token:{colorPrimary:p.primaryColor,borderRadius:p.flated?0:6},components:{Menu:E,Layout:{siderBg:"transparent",triggerBg:"transparent",lightSiderBg:"transparent",lightTriggerBg:"transparent"}}};return m.jsx(f.Provider,{value:M,children:m.jsx(b.Provider,{value:I,children:m.jsx(n.ConfigProvider,{theme:A,locale:L?.antdLocale,direction:z,modal:{mask:{blur:!1}},drawer:{mask:{blur:!1}},prefixCls:"adminui",children:m.jsx(n.App,{style:{height:"100%",width:"100%"},children:m.jsx(r.IntlProvider,{locale:x,messages:L?.messages,children:m.jsx(pn,{menuData:u,layoutIcons:o.layoutIcons,children:o.children})})})})})})}In.AsideHeader=_n,In.AsideFooter=yn,In.Footer=Cn,In.AvatarPopoverContent=Oe,In.BrandPopoverContent=Te,In.SoltContent=Bn,In.HeaderToolbarExtra=He;var Ln={exports:{}},zn=a(Ln.exports=function(){var e,n,r={version:"0.2.0"},t=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,n,r){return e<n?n:e>r?r:e}function i(e){return 100*(-1+e)}function a(e,n,r){var o;return(o="translate3d"===t.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+n+"ms "+r,o}r.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},r.status=null,r.set=function(e){var n=r.isStarted();e=o(e,t.minimum,1),r.status=1===e?null:e;var i=r.render(!n),d=i.querySelector(t.barSelector),c=t.speed,u=t.easing;return i.offsetWidth,s(function(n){""===t.positionUsing&&(t.positionUsing=r.getPositioningCSS()),l(d,a(e,c,u)),1===e?(l(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout(function(){l(i,{transition:"all "+c+"ms linear",opacity:0}),setTimeout(function(){r.remove(),n()},c)},c)):setTimeout(n,c)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},t.trickleSpeed)};return t.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var n=r.status;return n?("number"!=typeof e&&(e=(1-n)*o(Math.random()*n,.1,.95)),n=o(n+e,0,.994),r.set(n)):r.start()},r.trickle=function(){return r.inc(Math.random()*t.trickleRate)},e=0,n=0,r.promise=function(t){return t&&"resolved"!==t.state()?(0===n&&r.start(),e++,n++,t.always(function(){0===--n?(e=0,r.done()):r.set((e-n)/e)}),this):this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var n=document.createElement("div");n.id="nprogress",n.innerHTML=t.template;var o,a=n.querySelector(t.barSelector),s=e?"-100":i(r.status||0),d=document.querySelector(t.parent);return l(a,{transition:"all 0 linear",transform:"translate3d("+s+"%,0,0)"}),t.showSpinner||(o=n.querySelector(t.spinnerSelector))&&p(o),d!=document.body&&c(d,"nprogress-custom-parent"),d.appendChild(n),n},r.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,n="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return n+"Perspective"in e?"translate3d":n+"Transform"in e?"translate":"margin"};var s=function(){var e=[];function n(){var r=e.shift();r&&r(n)}return function(r){e.push(r),1==e.length&&n()}}(),l=function(){var e=["Webkit","O","Moz","ms"],n={};function r(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,n){return n.toUpperCase()})}function t(n){var r=document.body.style;if(n in r)return n;for(var t,o=e.length,i=n.charAt(0).toUpperCase()+n.slice(1);o--;)if((t=e[o]+i)in r)return t;return n}function o(e){return e=r(e),n[e]||(n[e]=t(e))}function i(e,n,r){n=o(n),e.style[n]=r}return function(e,n){var r,t,o=arguments;if(2==o.length)for(r in n)void 0!==(t=n[r])&&n.hasOwnProperty(r)&&i(e,r,t);else i(e,o[1],o[2])}}();function d(e,n){return("string"==typeof e?e:m(e)).indexOf(" "+n+" ")>=0}function c(e,n){var r=m(e),t=r+n;d(r,n)||(e.className=t.substring(1))}function u(e,n){var r,t=m(e);d(e,n)&&(r=t.replace(" "+n+" "," "),e.className=r.substring(1,r.length-1))}function m(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r}());
11
11
  /* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
12
12
  * @license MIT */M("/* Make clicks pass-through */\n#nprogress_nprogress__aqNSX {\n pointer-events: none;\n}\n\n#nprogress_nprogress__aqNSX .nprogress_bar__jdnDD {\n background: #29d;\n\n position: fixed;\n z-index: 1031;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 2px;\n}\n\n/* Fancy blur effect */\n#nprogress_nprogress__aqNSX .nprogress_peg__hwnh6 {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px #29d, 0 0 5px #29d;\n opacity: 1.0;\n\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n}\n\n/* Remove these to get rid of the spinner */\n#nprogress_nprogress__aqNSX .nprogress_spinner__-lLoD {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n}\n\n#nprogress_nprogress__aqNSX .nprogress_spinner-icon__7g0sk {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n\n border: solid 2px transparent;\n border-top-color: #29d;\n border-left-color: #29d;\n border-radius: 50%;\n\n -webkit-animation: nprogress_nprogress-spinner__agk-h 400ms linear infinite;\n animation: nprogress_nprogress-spinner__agk-h 400ms linear infinite;\n}\n\n.nprogress_nprogress-custom-parent__KxnjL {\n overflow: hidden;\n position: relative;\n}\n\n.nprogress_nprogress-custom-parent__KxnjL #nprogress_nprogress__aqNSX .nprogress_spinner__-lLoD,\n.nprogress_nprogress-custom-parent__KxnjL #nprogress_nprogress__aqNSX .nprogress_bar__jdnDD {\n position: absolute;\n}\n\n@-webkit-keyframes nprogress_nprogress-spinner__agk-h {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n}\n@keyframes nprogress_nprogress-spinner__agk-h {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n\n");const Nn=()=>(e.useEffect(()=>{const e=setTimeout(()=>{zn.start()},200);return()=>{clearTimeout(e),zn.done()}},[]),m.jsx("div",{style:{height:"auto"}}));Object.defineProperty(exports,"generate",{enumerable:!0,get:function(){return i.generate}}),exports.AntdLayout=In,exports.FullScreenButton=B,exports.LazyPage=function(n){const r=e.lazy(n);return function(n){return m.jsx(e.Suspense,{fallback:m.jsx(Nn,{}),children:m.jsx(r,{...n})})}},exports.PageLoading=Nn,exports.RouteLoading=()=>(e.useEffect(()=>(zn.start(),()=>{zn.done()}),[location.hostname]),m.jsx("div",{style:{height:"auto"}})),exports.buildRouteWithParams=function(e,n={}){if(!Object.keys(n).some(e=>null!=n[e]))return e.split("/:")[0];const r=e.split("/"),t=[];for(const e of r)if(e.startsWith(":")){const r=e.slice(1),o=n[r];if(null==o)break;t.push(encodeURIComponent(String(o)))}else t.push(e);return t.join("/")},exports.getAntdMenuItem=an,exports.getAppIntl=bn,exports.getBasicLayoutConfig=e=>{const{brandInfo:n,userInfo:r,...t}=e;return t},exports.getBlackColors=xn,exports.getMenuLabel=tn,exports.getRouterLabel=on,exports.getStorageConfig=jn,exports.getWhiteColors=()=>hn("#FFFFFF"),exports.localeMenuData=nn,exports.matchPathToKeys=ln,exports.pathToKeys=sn,exports.separateMenuData=Qe,exports.setSkinConfig=kn,exports.setStorageConfig=wn,exports.splitMenuKeys=dn,exports.transformMenuData=cn,exports.transformRouteToMenuData=function e(n,r){if(r)return!n.endsWith("/")&&n.length>1&&(n+="/"),r.filter(e=>!!e.handle).map(r=>{const t=function(e,n){const{handle:r}=n;let t=n.path;t&&r.params&&(t=o.generatePath(t,r.params));t?.startsWith("/")&&(t=t.slice(1));let i=e+t,a={...r,path:i,originalPath:n.path,extra:un(r.extra),icon:un(r.icon)};return a}(n,r);return r.children&&(t.children=e(t.path,r.children)),t})},exports.transformToAntdMenuData=en,exports.useAppIntl=()=>{const e=r.useIntl(),{layoutConfig:n}=b(),{f:t,t:o}=bn(n.disabledLocale?void 0:e);return{...e,f:t,t:o}},exports.useAvatarPopover=()=>e.useContext(pe),exports.useBrandPopover=()=>e.useContext(he),exports.useConfigAction=()=>e.useContext(_),exports.useConfigState=b,exports.useContainerOutlet=()=>t.useOutletContext(),exports.useMainCollapsed=Se,exports.useTheme=()=>b().layoutConfig.theme;
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import e,{createContext as n,useContext as r,useState as t,useEffect as o,useRef as i,useMemo as a,lazy as l,Suspense as s}from"react";import{theme as d,Popover as c,Button as u,Divider as m,Layout as p,ConfigProvider as h,Menu as x,Grid as g,Spin as f,App as y}from"antd";import{useIntl as _,IntlProvider as v}from"react-intl";import{useOutletContext as b,useNavigate as j,useLocation as w,useMatches as k,useNavigation as S,Outlet as C}from"react-router";import{generatePath as B}from"react-router-dom";import{generate as I}from"@ant-design/colors";export{generate}from"@ant-design/colors";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function P(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var z,N={exports:{}},M={};var T,L={};
1
+ import e,{createContext as n,useContext as r,useState as t,useEffect as o,useRef as i,useMemo as a,lazy as l,Suspense as s}from"react";import{theme as d,Popover as c,Button as u,Divider as m,Layout as p,ConfigProvider as h,Menu as x,Grid as g,App as f}from"antd";import{useIntl as y,IntlProvider as _}from"react-intl";import{useOutletContext as v,useNavigate as b,useLocation as j,useMatches as w,useNavigation as k,Outlet as S}from"react-router";import{generatePath as C}from"react-router-dom";import{generate as B}from"@ant-design/colors";export{generate}from"@ant-design/colors";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function I(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var P,z={exports:{}},N={};var M,T={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.development.js
@@ -7,6 +7,6 @@ import e,{createContext as n,useContext as r,useState as t,useEffect as o,useRef
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */"production"===process.env.NODE_ENV?N.exports=function(){if(z)return M;z=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(n,r,t){var o=null;if(void 0!==t&&(o=""+t),void 0!==r.key&&(o=""+r.key),"key"in r)for(var i in t={},r)"key"!==i&&(t[i]=r[i]);else t=r;return r=t.ref,{$$typeof:e,type:n,key:o,ref:void 0!==r?r:null,props:t}}return M.Fragment=n,M.jsx=r,M.jsxs=r,M}():N.exports=(T||(T=1,"production"!==process.env.NODE_ENV&&function(){function n(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===S?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"Fragment";case g:return"Profiler";case x:return"StrictMode";case v:return"Suspense";case b:return"SuspenseList";case k:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case p:return"Portal";case y:return e.displayName||"Context";case f:return(e._context.displayName||"Context")+".Consumer";case _:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(r=e.displayName||null)?r:n(e.type)||"Memo";case w:r=e._payload,e=e._init;try{return n(e(r))}catch(e){}}return null}function r(e){return""+e}function t(e){try{r(e);var n=!1}catch(e){n=!0}if(n){var t=(n=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),r(e)}}function o(e){if(e===h)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===w)return"<...>";try{var r=n(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function i(){return Error("react-stack-top-frame")}function a(){var e=n(this.type);return z[e]||(z[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function l(e,r,o,i,l,d){var u,p=r.children;if(void 0!==p)if(i)if(I(p)){for(i=0;i<p.length;i++)s(p[i]);Object.freeze&&Object.freeze(p)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else s(p);if(B.call(r,"key")){p=n(e);var h=Object.keys(r).filter(function(e){return"key"!==e});i=0<h.length?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}",T[p+i]||(h=0<h.length?"{"+h.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',i,p,h,p),T[p+i]=!0)}if(p=null,void 0!==o&&(t(o),p=""+o),function(e){if(B.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return void 0!==e.key}(r)&&(t(r.key),p=""+r.key),"key"in r)for(var x in o={},r)"key"!==x&&(o[x]=r[x]);else o=r;return p&&function(e,n){function r(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,n,r,t,o,i){var l=r.ref;return e={$$typeof:m,type:e,key:n,props:r,_owner:t},null!==(void 0!==l?l:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:a}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,p,o,null===(u=C.A)?null:u.getOwner(),l,d)}function s(e){d(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===w&&("fulfilled"===e._payload.status?d(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===m}var c,u=e,m=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),y=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),S=Symbol.for("react.client.reference"),C=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=Object.prototype.hasOwnProperty,I=Array.isArray,P=console.createTask?console.createTask:function(){return null},z={},N=(u={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(u,i)(),M=P(o(i)),T={};L.Fragment=h,L.jsx=function(e,n,r){var t=1e4>C.recentlyCreatedOwnerStacks++;return l(e,n,r,!1,t?Error("react-stack-top-frame"):N,t?P(o(e)):M)},L.jsxs=function(e,n,r){var t=1e4>C.recentlyCreatedOwnerStacks++;return l(e,n,r,!0,t?Error("react-stack-top-frame"):N,t?P(o(e)):M)}}()),L);var F=N.exports;function E(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}E("@layer base {\r\n html, body {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%; \r\n height: 100%;\r\n }\r\n #Layout-module_root__3x-pW { \r\n text-align: initial;\r\n width: 100%;\r\n height:100%\r\n } \r\n}\r\n*, *:before, *:after {\r\n box-sizing: border-box;\r\n}\r\n.Layout-module_rootBox__3JHjy {\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n width: 100%;\r\n min-height: 100%;\r\n}\r\n.Layout-module_rootBackground__j3UVG {\r\n box-sizing: border-box; \r\n pointer-events: none;\r\n inset-block-start:0;\r\n inset-inline-start:0; \r\n width: 100%; \r\n min-width: 100vw;\r\n height:100%;\r\n min-height: 100vh;\r\n overflow: hidden;\r\n position: fixed;\r\n z-index: 0;\r\n}\r\n.Layout-module_rootBackground__j3UVG>div{\r\n width:100%;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.Layout-module_rootLayout__jVEEF {\r\n position: relative;\r\n z-index: 1;\r\n box-sizing: border-box; \r\n width: 100%;\r\n min-height: 100%;\r\n display: flex; \r\n flex-flow: row;\r\n background-color: transparent;\r\n container-type: inline-size;\r\n}\r\n\r\n.Layout-module_mainLayout__6W9W9 {\r\n box-sizing: border-box; \r\n display: flex;\r\n flex-flow: column; \r\n width: 100%;\r\n}\r\n");const O=Symbol("LayoutAside"),W=Symbol("LayoutContent"),A=Symbol("LayoutHeader"),R=Symbol("LayoutBackground"),H={headerHeight:50,asideWidth:260,layoutType:"leftMenu",collapsedPosition:"bottom",avatarPosition:"rightTop",theme:"system",primaryColor:"#417ffb"},$=n({setLayoutConfig:()=>{},setLocale:()=>{}}),X=n({locale:"en-US",languages:[],layoutConfig:{},themeSkinMap:{tidy:[],rich:[]}}),q=()=>r(X),D=()=>r($),V=()=>q().layoutConfig.theme;function K(e){return F.jsx("div",{className:"Layout-module_rootBackground__j3UVG",children:F.jsx(F.Fragment,{children:e.children})})}function G(e){return F.jsx(F.Fragment,{children:e.children})}function U(e){return F.jsx(F.Fragment,{children:e.children})}function J(e){return F.jsx(F.Fragment,{children:e.children})}K.displayName="LayoutBackground",K.role=R,G.displayName="LayoutContent",G.role=W,U.displayName="LayoutAside",U.role=O,J.displayName="LayoutHeader",J.role=A;function Y(n){let r=null,t=null,o=null,i=null;return e.Children.forEach(n.children,e=>{const n=e.type.role;n===A?r=e:n===W?t=e:n===O?o=e:n===R&&(i=e)}),F.jsx(F.Fragment,{children:F.jsxs("div",{ref:n.ref,className:"layout-module_rootBox__Y8bEx",style:{...n.style},children:[i,F.jsxs("div",{className:"layout-module_rootLayout__TePvr",children:[o,F.jsxs("div",{className:"layout-module_mainLayout__a8Tb9",children:[r,t]})]})]})})}function Z(n){const r=!!document.fullscreenElement,[i,a]=t(r),l=()=>{a(!!document.fullscreenElement)},s=e=>{"F11"===e.code&&(e.preventDefault(),d())};o(()=>(document.addEventListener("fullscreenchange",l),document.addEventListener("keydown",s,!0),()=>{document.removeEventListener("fullscreenchange",l),document.removeEventListener("keydown",s)}),[]);const d=()=>{i?document.exitFullscreen():document.documentElement.requestFullscreen()};if(!n.buttons||n.buttons.length<2)return F.jsx(F.Fragment,{});const[c,u]=n.buttons,m=i?c:u;return e.cloneElement(m,{onClick:e=>{console.log(e),d()}})}E("@layer base {\r\n html, body {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%; \r\n height: 100%;\r\n }\r\n #layout-module_root__0efzq { \r\n text-align: initial;\r\n width: 100%;\r\n height:100%\r\n } \r\n}\r\n*, *:before, *:after {\r\n box-sizing: border-box;\r\n}\r\n.layout-module_rootBox__Y8bEx {\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n width: 100%;\r\n min-height: 100%;\r\n}\r\n.layout-module_rootBackground__vEs6e {\r\n box-sizing: border-box; \r\n pointer-events: none;\r\n inset-block-start:0;\r\n inset-inline-start:0; \r\n width: 100%; \r\n min-width: 100vw;\r\n height:100%;\r\n min-height: 100vh;\r\n overflow: hidden;\r\n position: fixed;\r\n z-index: 0;\r\n}\r\n.layout-module_rootBackground__vEs6e>div{\r\n width:100%;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.layout-module_rootLayout__TePvr {\r\n position: relative;\r\n z-index: 1;\r\n box-sizing: border-box; \r\n width: 100%;\r\n min-height: 100%;\r\n display: flex; \r\n flex-flow: row;\r\n background-color: transparent;\r\n container-type: inline-size;\r\n}\r\n\r\n.layout-module_mainLayout__a8Tb9 {\r\n box-sizing: border-box; \r\n display: flex;\r\n flex-flow: column; \r\n width: 100%;\r\n}\r\n"),Y.Aside=U,Y.Content=G,Y.Header=J,Y.Background=K;const Q=(e,n)=>{const{r:r,g:t,b:o}=(e=>({r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:9===e.length?(parseInt(e.slice(7,9),16)/255).toFixed(2):1}))(e);return`rgba(${r}, ${t}, ${o}, ${n})`};function ee(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}ee("@layer base { \r\n :root{\r\n --pageload-bar-color:#222222;\r\n } \r\n #index_root__t3vw8 {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%;\r\n height: 100%;\r\n }\r\n}\r\n\r\n/** Menu icon automatic compact mode */\r\n.index_adminui-menu-icon__sDVLQ {\r\n font-size: var(--adminui-menu-icon-size);\r\n width: var(--adminui-menu-icon-size);\r\n height: var(--adminui-menu-icon-size);\r\n}\r\n");var ne="index-module_headerLayout__rv59v",re="index-module_headerLayoutSticky__6uFCj",te="index-module_headerLayoutFixed__t5Hmo",oe="index-module_headerLayoutBox__h0fIt",ie="index-module_headerMenu__WHmJN",ae="index-module_headerTitle__jGbCX",le="index-module_headerBrandBox__U2J16",se="index-module_layoutBlur__GpCPx",de="index-module_toolbarPanel__Pp8PS",ce="index-module_toolbarItem__RkaXd",ue="index-module_toolbarAvatarItem__p6TXY",me="index-module_siderBaseStyle__zg1FM",pe="index-module_siderMask__cCjMh",he="index-module_siderContentBox__dGgRe",xe="index-module_siderContentItem__kl3cR",ge="index-module_collapsedTrack__LoJ3V",fe="index-module_collapsedTrackButton__m33XS",ye="index-module_brandPanel__2GRgq",_e="index-module_labelBox__dX8fY",ve="index-module_brandNodeBox__W-iM6",be="index-module_brandMobilePanel__m1Diu",je="index-module_largeBrandPanel__pLn--",we="index-module_title__SbfFY",ke="index-module_largeBrandCollPanel__nsGKB",Se="index-module_avatarPanel__fFvCS",Ce="index-module_collapsedMobile__Yu8F4",Be="index-module_round__WoVxM";function Ie(e){const{size:n=16}=e;return F.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:F.jsx("path",{d:"m15 18-6-6 6-6"})})}function Pe(e){const{size:n=16}=e;return F.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:F.jsx("path",{d:"m9 18 6-6-6-6"})})}function ze(e){const{size:n=16}=e;return F.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[F.jsx("path",{d:"M21 5H11"}),F.jsx("path",{d:"M21 12H11"}),F.jsx("path",{d:"M21 19H11"}),F.jsx("path",{d:"m7 8-4 4 4 4"})]})}function Ne(e){const{size:n=16}=e;return F.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[F.jsx("path",{d:"M21 5H11"}),F.jsx("path",{d:"M21 12H11"}),F.jsx("path",{d:"M21 19H11"}),F.jsx("path",{d:"m3 8 4 4-4 4"})]})}function Me(e){const{size:n=16}=e;return F.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[F.jsx("path",{d:"m7 15 5 5 5-5"}),F.jsx("path",{d:"m7 9 5-5 5 5"})]})}function Te(e){const{size:n=16}=e;return F.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[F.jsx("path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"}),F.jsx("circle",{cx:"12",cy:"7",r:"4"})]})}function Le(e){const{size:n=16}=e;return F.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[F.jsx("path",{d:"M8 3v3a2 2 0 0 1-2 2H3"}),F.jsx("path",{d:"M21 8h-3a2 2 0 0 1-2-2V3"}),F.jsx("path",{d:"M3 16h3a2 2 0 0 1 2 2v3"}),F.jsx("path",{d:"M16 21v-3a2 2 0 0 1 2-2h3"})]})}function Fe(e){const{size:n=16}=e;return F.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[F.jsx("path",{d:"M8 3H5a2 2 0 0 0-2 2v3"}),F.jsx("path",{d:"M21 8V5a2 2 0 0 0-2-2h-3"}),F.jsx("path",{d:"M3 16v3a2 2 0 0 0 2 2h3"}),F.jsx("path",{d:"M16 21h3a2 2 0 0 0 2-2v-3"})]})}function Ee(e){const[n,r]=t(!1),{hasChild:i,...a}=e;o(()=>{if(e.src)if("string"==typeof e.src){const n=new Image;n.src=e.src,n.onload=()=>r(!0),n.onerror=()=>r(!0)}else r(!0)},[e.src]);const l={...e.style,transition:"opacity 0.3s ease-out",opacity:n?1:0,overflow:"hidden",display:"flex",justifyItems:"center",alignItems:"center"},s=F.jsx("img",{...a});return e.hasChild?s:F.jsx("div",{style:l,children:s})}ee('@layer base { \r\n\r\n :root { \r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #ccc;\r\n --sb-thumb-hover: #b3b3b3;\r\n --sb-html-track-color: rgb(250,250,250);\r\n color-scheme: light;\r\n }\r\n\r\n * {\r\n box-sizing: border-box;\r\n scrollbar-width: thin;\r\n scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);\r\n }\r\n\r\n html {\r\n scrollbar-color: var(--sb-thumb-color) var(--sb-html-track-color);\r\n }\r\n \r\n @media (prefers-color-scheme: dark) {\r\n :root {\r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #383838;\r\n --sb-thumb-hover: rgb(49, 49, 49);\r\n --sb-html-track-color: rgb(20,20,20);\r\n color-scheme: dark;\r\n }\r\n }\r\n\r\n :root[style="color-scheme: dark;"],\r\n :root[class="dark"] { \r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #383838;\r\n --sb-thumb-hover: rgb(49, 49, 49); \r\n --sb-html-track-color: rgb(20,20,20); \r\n color-scheme: dark; \r\n }\r\n\r\n ::-webkit-scrollbar {\r\n width: 8px;\r\n height: 8px;\r\n background-color: transparent;\r\n } \r\n\r\n ::-webkit-scrollbar-track {\r\n background-color: var(--sb-track-color);\r\n border-radius: 10px;\r\n }\r\n\r\n ::-webkit-scrollbar-thumb {\r\n background-color: var(--sb-thumb-color);\r\n border-radius: 10px; \r\n border: 2px solid var(--sb-track-color);\r\n }\r\n ::-webkit-scrollbar-thumb:hover {\r\n background-color: var(--sb-thumb-hover);\r\n } \r\n}\r\n/** header */\r\n.index-module_headerLayout__rv59v {\r\n box-sizing: border-box;\r\n min-width: 100%;\r\n padding-block: 0;\r\n padding-inline: 0; \r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid);\r\n}\r\n\r\n.index-module_headerLayoutSticky__6uFCj {\r\n position: sticky;\r\n width: 100%;\r\n z-index: 100;\r\n top:0;\r\n}\r\n.index-module_headerLayoutFixed__t5Hmo {\r\n position: fixed;\r\n width: 100%;\r\n z-index: 100;\r\n inset-block-start: 0;\r\n inset-inline-end: 0;\r\n}\r\n.index-module_headerLayoutBox__h0fIt {\r\n display: flex;\r\n flex-flow: row;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n.index-module_headerMenu__WHmJN {\r\n border:0px;\r\n background-color: transparent;\r\n flex:1;\r\n height: 100%;\r\n min-width: 0px;\r\n}\r\n.index-module_headerTitle__jGbCX {\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n}\r\n.index-module_headerBrandBox__U2J16 {\r\n width: auto; \r\n}\r\n\r\n.index-module_layoutBlur__GpCPx { \r\n transform: translateZ(0);\r\n backdrop-filter: blur(8px);\r\n}\r\n\r\n.index-module_toolbarPanel__Pp8PS {\r\n display: flex;\r\n justify-content: end;\r\n align-items: center;\r\n}\r\n.index-module_toolbarPanel__Pp8PS .index-module_toolbarItem__RkaXd {\r\n display: flex;\r\n justify-content: end;\r\n align-items: center;\r\n}\r\n.index-module_toolbarAvatarItem__p6TXY {\r\n display: flex;\r\n align-items: center;\r\n padding-inline: var(--adminui-padding-xs); \r\n gap: 8px;\r\n cursor: pointer;\r\n}\r\n.index-module_toolbarAvatarItem__p6TXY span {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n max-width: 100px;\r\n}\r\n\r\n/** sider */\r\n.index-module_siderBaseStyle__zg1FM {\r\n background:\'transparent\'; \r\n padding-bottom: 0px; \r\n z-index: 10;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_siderMask__cCjMh {\r\n overflow: hidden;\r\n transition:background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)\r\n}\r\n.index-module_siderContentBox__dGgRe {\r\n display: flex;\r\n flex-flow: column;\r\n align-items: center;\r\n width: 100%;\r\n min-height: 0px;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_siderContentItem__kl3cR { \r\n display: flex; \r\n align-items: center;\r\n width: 100%; \r\n min-height: 0px;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n.index-module_siderContentItem__kl3cR>div{\r\n display: flex; \r\n align-items: center;\r\n opacity: 1;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_collapsedTrack__LoJ3V {\r\n display: flex;\r\n flex-flow: column;\r\n justify-content: center;\r\n align-items: center; \r\n position: absolute;\r\n top:0px;\r\n bottom:0px;\r\n right:-14px;\r\n cursor: pointer;\r\n}\r\n.index-module_collapsedTrack__LoJ3V .index-module_collapsedTrackButton__m33XS {\r\n width: 14px;\r\n height: 36px;\r\n border-top-right-radius: 4px;\r\n border-bottom-right-radius: 4px;\r\n display: flex;\r\n flex-flow: column;\r\n justify-content: center;\r\n align-items: center; \r\n opacity: 0; \r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n\r\n}\r\n.index-module_collapsedTrack__LoJ3V:hover .index-module_collapsedTrackButton__m33XS {\r\n opacity: 1;\r\n}\r\n\r\n/** brand */ \r\n.index-module_brandPanel__2GRgq {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding:var(--adminui-margin-xxs);\r\n}\r\n.index-module_brandPanel__2GRgq button {\r\n display: flex;\r\n width: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n padding-inline: var(--adminui-padding-xs); \r\n transition: all 0.3s;\r\n\r\n}\r\n.index-module_brandPanel__2GRgq a {\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n color:inherit; \r\n transition: all 0.3s; \r\n padding-inline: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n\r\n.index-module_brandPanel__2GRgq a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_brandPanel__2GRgq a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n\r\n.index-module_brandPanel__2GRgq h4{\r\n margin:0px;\r\n padding:0px;\r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_brandPanel__2GRgq span {\r\n margin:0px; \r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n\r\n.index-module_brandPanel__2GRgq .index-module_labelBox__dX8fY {\r\n width: 100%; \r\n display:flex;\r\n flex-flow:column;\r\n justify-content:space-between;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), padding var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_brandNodeBox__W-iM6 {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n color:var(--adminui-color-primary);\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), width var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n\r\n.index-module_brandMobilePanel__m1Diu {\r\n opacity: 0;\r\n width: 0px;\r\n overflow: hidden;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n height: 100%;\r\n gap: 8px;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), width var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out),padding var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_brandMobilePanel__m1Diu a {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n.index-module_largeBrandPanel__pLn-- {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-flow: column;\r\n gap: 2px;\r\n padding: var(--adminui-padding-lg); \r\n}\r\n\r\n.index-module_largeBrandPanel__pLn-- img {\r\n transition: width var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out); \r\n}\r\n.index-module_largeBrandPanel__pLn--\x3ediv{\r\n opacity: 1;\r\n text-align: center;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-flow: column; \r\n overflow: hidden;\r\n width: 100%;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), height var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_largeBrandPanel__pLn-- span {\r\n font-size: large;\r\n width: 100%;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_largeBrandPanel__pLn-- span.index-module_title__SbfFY {\r\n font-size: small;\r\n color:var(--adminui-color-text-tertiary);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB {\r\n padding: var(--adminui-margin-xxs);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a {\r\n opacity: 1;\r\n color:inherit; \r\n padding: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n/** avatar */\r\n.index-module_avatarPanel__fFvCS {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding:var(--adminui-margin-xxs);\r\n}\r\n.index-module_avatarPanel__fFvCS a {\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n color:inherit; \r\n transition: all 0.3s;\r\n padding-inline: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_avatarPanel__fFvCS a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS h4{\r\n width: 90%;\r\n margin:0px;\r\n padding:0px;\r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_avatarPanel__fFvCS span {\r\n width: 90%;\r\n margin:0px; \r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS .index-module_labelBox__dX8fY {\r\n width: 100%;\r\n display:flex;\r\n flex-flow:column;\r\n justify-content:space-between;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out);\r\n}\r\n\r\n.index-module_collapsedMobile__Yu8F4 { \r\n display: none;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n\r\n\r\n/** container */\r\n.index-module_containerBox__pv0qs {\r\n box-sizing: border-box;\r\n background-color: transparent;\r\n display: flex;\r\n flex-flow: column;\r\n flex:auto;\r\n}\r\n.index-module_containerBox__pv0qs>h3 {\r\n box-sizing: border-box;\r\n line-height: var(--adminui-line-height);\r\n margin:0 0 var(--adminui-margin);\r\n}\r\n.index-module_containerBox__pv0qs>footer{\r\n display: flex;\r\n flex-flow: column;\r\n align-items: center;\r\n justify-content: center;\r\n width: 100%;\r\n color:var(--adminui-color-text-description);\r\n padding:var(--adminui-padding);\r\n}\r\n.index-module_containerBox__pv0qs>footer>div{\r\n text-align: center;\r\n}\r\n\r\n\r\n/** antd(adminui) */\r\n.index-module_headerLayout__rv59v .adminui-layout-header{\r\n padding-inline: 0px;\r\n}\r\n.index-module_headerLayout__rv59v .adminui-btn,\r\n.index-module_siderBaseStyle__zg1FM .adminui-btn{\r\n font-size: inherit;\r\n}\r\n.index-module_headerLayoutBox__h0fIt.index-module_round__WoVxM .adminui-menu-horizontal >.adminui-menu-item::after, \r\n.index-module_headerLayoutBox__h0fIt.index-module_round__WoVxM .adminui-menu-horizontal >.adminui-menu-submenu::after { \r\n border-radius: 4px;\r\n}\r\n\r\n.index-module_siderBaseStyle__zg1FM .adminui-layout-sider-trigger{\r\n position: absolute; \r\n top:0; \r\n right:0;\r\n height:100%;\r\n}\r\n.index-module_siderBaseStyle__zg1FM .adminui-layout-sider-children {\r\n display: flex;\r\n flex-flow: column;\r\n margin-top: 0px;\r\n padding-top: 0px;\r\n\r\n}\r\n\r\n@container (max-width: 576px) { \r\n .index-module_headerLayout__rv59v .adminui-layout-header {\r\n padding-inline-start: var(--adminui-padding-xs);\r\n }\r\n .index-module_headerMenu__WHmJN {\r\n justify-content: end;\r\n max-width: 80px;\r\n } \r\n .index-module_headerBrandBox__U2J16 {\r\n display: none;\r\n }\r\n .index-module_siderMask__cCjMh {\r\n display: none;\r\n }\r\n .index-module_brandMobilePanel__m1Diu {\r\n opacity: 1; \r\n padding-inline: var(--adminui-padding-xs);\r\n justify-content: flex-start;\r\n flex:1;\r\n }\r\n .index-module_largeBrandPanel__pLn-- {\r\n display: none;\r\n }\r\n .index-module_collapsedMobile__Yu8F4 {\r\n display: flex;\r\n }\r\n .index-module_collapsedTrack__LoJ3V {\r\n visibility: collapse;\r\n }\r\n .index-module_toolbarPanel__Pp8PS *[data-adminui-role="desk-toolbar"] {\r\n display: none;\r\n }\r\n .index-module_toolbarAvatarItem__p6TXY span {\r\n display: none;\r\n }\r\n}\r\n');const Oe=n({collapsed:!1,headerHeight:50,setCollapsed:()=>{}}),We=n({close:()=>{}}),Ae=n({close:()=>{}}),Re=Symbol("AsideFooter"),He=Symbol("AsideHeader"),$e=Symbol("AsideContentItems"),Xe=Symbol("AsideContentItem"),qe=Symbol("ContentFooter"),De=Symbol("AvatarPopoverContent"),Ve=Symbol("BrandPopoverContent"),Ke=Symbol("SoltContent"),Ge=Symbol("ToolbarExtraItems"),Ue=()=>r(Oe),Je=()=>Ue().collapsed,Ye=()=>b(),Ze=()=>We,Qe=()=>Ae,en=()=>r(We),nn=()=>r(Ae);function rn(n){const{icon:r,size:t}=n;return e.isValidElement(r)?e.cloneElement(r,{size:t,style:{fontSize:t-2+"px",...n.style}}):r}const{useToken:tn}=d;function on(e){const{collapsed:n,iconSize:r,hideTitle:o}=e,{layoutConfig:i}=q(),{token:a}=tn(),{layoutIcons:l,brandPopoverContent:s}=Ue(),[d,m]=t(!1),p=Qe(),h=i.compact?"16px":"20px";let x={justifyContent:"flex-start",paddingInline:i.compact?a.paddingXXS:a.paddingXS,height:"40px",gap:(i.compact?6:8)+"px"},g={height:`${i.headerHeight}px`},f={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",textAlign:"left",alignItems:"center"};i.flated&&(x={...x,paddingInline:a.padding,height:"100%"},g={...g,padding:"0px"});const{brandInfo:y}=i;n?x={...x,paddingInline:`calc(50% - calc(${h} / 2))`}:f={...f,overflow:"hidden"};let _=F.jsx(F.Fragment,{});y?.logo&&(_="string"==typeof y.logo?F.jsx(Ee,{style:{width:h},src:y.logo,alt:y.name}):F.jsx("div",{className:ve,style:{width:h},children:y.logo}));const v=l?.itemMoreIcon||F.jsx(Me,{}),b=F.jsx(u,{type:"text",style:x,iconPlacement:"end",icon:s?F.jsx(rn,{icon:v,size:r||14,style:{opacity:n?"0":"1"}}):void 0,children:F.jsxs("div",{style:f,children:[_,F.jsxs("div",{className:_e,style:{opacity:n?"0":"1"},children:[F.jsx("h4",{children:y?.name}),o?void 0:F.jsx("span",{style:{color:a.colorTextSecondary},children:y?.title})]})]})});return F.jsx("div",{className:ye,style:g,children:s?F.jsx(p.Provider,{value:{close:()=>{m(!1)},record:y},children:F.jsx(c,{open:d,onOpenChange:m,placement:"rightTop",content:s,children:b})}):b})}function an(e){const{collapsed:n,iconSize:r,hideTitle:o}=e,{layoutConfig:i}=q(),{layoutIcons:a,brandPopoverContent:l}=Ue(),{token:s}=tn(),[d,u]=t(!1),m=Qe(),p=i.compact?"16px":"20px";let h={justifyContent:"flex-start",gap:(i.compact?6:8)+"px"},x={height:`${i.headerHeight}px`},g={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",alignItems:"center"};i.flated&&(h={...h,paddingInline:s.padding},x={...x,padding:"0px"});const{brandInfo:f}=i;n?h={...h,paddingInline:`calc(50% - calc(${p} / 2))`}:g={...g,overflow:"hidden"};let y=F.jsx(F.Fragment,{});f?.logo&&(y="string"==typeof f.logo?F.jsx(Ee,{style:{width:p},src:f.logo,alt:f.name}):F.jsx("div",{className:ve,style:{width:p},children:f.logo}));const _=a?.itemMoreIcon||F.jsx(Me,{}),v=l?{}:{href:f?.url},b=F.jsxs("a",{...v,style:h,children:[F.jsxs("div",{style:g,children:[y,F.jsxs("div",{className:_e,style:{opacity:n?"0":"1"},children:[F.jsx("h4",{style:{width:"90%"},children:f?.name}),o?void 0:F.jsx("span",{style:{color:s.colorTextSecondary,width:"90%"},children:f?.title})]})]}),l?F.jsx("div",{style:{opacity:n?"0":"1",display:"flex",placeItems:"center"},children:F.jsx(rn,{icon:_,size:r||14})}):F.jsx(F.Fragment,{})]});return F.jsx("div",{className:ye,style:x,children:l?F.jsx(m.Provider,{value:{close:()=>{u(!1)},record:f},children:F.jsx(c,{open:d,onOpenChange:u,placement:"rightTop",content:l,children:b})}):b})}function ln(e){const{layoutConfig:n}=q(),{brandPopoverContent:r}=Ue(),[o,i]=t(!1),a=Qe(),l=n.compact?"16px":"20px",{brandInfo:s}=n;let d=F.jsx(F.Fragment,{});s?.logo&&(d="string"==typeof s.logo?F.jsx(Ee,{style:{width:l},src:s.logo,alt:s.name}):F.jsx("div",{className:ve,style:{width:l},children:s.logo}));let u=r?F.jsx(a.Provider,{value:{close:()=>{i(!1)},record:s},children:F.jsx(c,{open:o,onOpenChange:i,content:r,placement:"rightTop",children:F.jsx("a",{children:d})})}):F.jsx("a",{href:s?.url,children:d});return F.jsxs("div",{className:be,style:e.style,children:[u,F.jsx("div",{className:ae,children:e.children})]})}function sn(e){const{collapsed:n}=e,{brandPopoverContent:r}=Ue(),{layoutConfig:o}=q(),[i,a]=t(!1),l=Qe(),s=n?o.compact?"16px":"20px":o.compact?"56px":"64px",{brandInfo:d}=o,u={opacity:n?"0":"1",height:n?"0px":"auto"};let m=F.jsx(F.Fragment,{});if(!d)return F.jsx(F.Fragment,{});let p=[je];n&&p.push(ke),d?.logo&&(m="string"==typeof d.logo?F.jsx(Ee,{style:{width:s},src:d.logo,alt:d.name}):F.jsx("div",{className:ve,style:{width:s},children:d.logo}));let h=r?F.jsx(l.Provider,{value:{close:()=>{a(!1)},record:d},children:F.jsx(c,{open:i,onOpenChange:a,content:r,placement:"rightTop",children:F.jsx("a",{children:m})})}):F.jsx("a",{href:d?.url,children:m});return F.jsxs("div",{className:p.join(" "),children:[h,F.jsxs("div",{style:u,children:[F.jsx("span",{children:d?.name}),d.title?F.jsx("span",{className:we,children:d?.title}):F.jsx(F.Fragment,{})]})]})}function dn(e){return F.jsx("div",{style:{...e.style},children:e.children})}dn.displayName="BrandPopoverContent",dn.role=Ve;const{useToken:cn}=d;function un(e){const{collapsed:n,iconSize:r}=e,{layoutConfig:o}=q(),{layoutIcons:i,avatarPopoverContent:a}=Ue(),[l,s]=t(!1),d=Ze(),{token:u}=cn(),m=o.compact?"20px":"24px";let p={justifyContent:"flex-start",gap:(o.compact?6:8)+"px"},h={height:`${o.headerHeight}px`},x={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",alignItems:"center"};o.flated&&(p={...p,paddingInline:u.padding,margin:"0px",height:"100%"},h={...h,padding:"0px"});const{userInfo:g}=o;n?p={...p,paddingInline:`calc(50% - calc(${m} / 2))`}:x={...x,overflow:"hidden"};let f=F.jsx(F.Fragment,{});g?.avatar&&(f="string"==typeof g.avatar?F.jsx(Ee,{style:{width:m,borderRadius:"999px"},src:g.avatar,alt:g.uid}):g.avatar);const y=i?.itemMoreIcon||F.jsx(Me,{}),_=F.jsx("div",{className:Se,style:h,children:F.jsxs("a",{style:p,children:[F.jsxs("div",{style:x,children:[f,F.jsxs("div",{className:_e,style:{opacity:n?"0":"1"},children:[F.jsx("h4",{children:g?.uid}),g?.title?void 0:F.jsx("span",{style:{color:u.colorTextSecondary},children:g?.title})]})]}),a?F.jsx("div",{style:{opacity:n?"0":"1",display:"flex",placeItems:"center"},children:F.jsx(rn,{icon:y,size:r||14})}):F.jsx(F.Fragment,{})]})});return a?F.jsx(d.Provider,{value:{close:()=>s(!1),record:g},children:F.jsx(c,{open:l,onOpenChange:s,placement:"right",content:a,children:_})}):_}function mn(e){const{iconSize:n=14}=e,{layoutConfig:r}=q(),{userInfo:o}=r,{avatarPopoverContent:i}=Ue(),[a,l]=t(!1),s=Ze();let d=F.jsx(Te,{});const u=n+4,m={width:`${u}px`,height:`${u}px`,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer"};o?.avatar&&(d="string"==typeof o.avatar?F.jsx(Ee,{style:{width:u,borderRadius:"999px"},src:o.avatar,alt:o.uid}):o.avatar);const p=F.jsxs("div",{className:ue,children:[F.jsx("div",{style:m,children:d}),F.jsx("span",{children:o?.uid})]});return i?F.jsx(s.Provider,{value:{close:()=>l(!1),record:o},children:F.jsx(c,{open:a,onOpenChange:l,placement:"left",content:i,children:p})}):F.jsx(F.Fragment,{children:p})}function pn(e){return F.jsx("div",{style:{...e.style},children:e.children})}pn.displayName="AvatarPopoverContent",pn.role=De;const{useToken:hn}=d;function xn(e){const{token:n}=hn(),{layoutIcons:r,toolbarExtraItems:t}=Ue(),o=n.Menu?.iconSize||16,[i,a]=r?.fullScreenIcons?.slice(0,2)||[F.jsx(Fe,{}),F.jsx(Le,{})],l=F.jsx(rn,{icon:i,size:o}),s=F.jsx(rn,{icon:a,size:o});return F.jsxs("div",{className:de,children:[e.showAvatar?F.jsxs("div",{className:ce,children:[F.jsx(mn,{iconSize:o+4}),F.jsx(m,{"data-adminui-role":"desk-toolbar",orientation:"vertical"})]}):F.jsx(F.Fragment,{}),t,F.jsx("div",{className:ce,"data-adminui-role":"desk-toolbar",children:F.jsx(Z,{buttons:[F.jsx(u,{icon:s,type:"text"},"minimize"),F.jsx(u,{icon:l,type:"text"},"maximize")]})})]})}function gn(e){const n=F.jsx("div",{className:ce,"data-adminui-role":"desk-toolbar",children:e.children});return e?F.jsx(F.Fragment,{children:n}):F.jsx(F.Fragment,{})}gn.displayName="ToolbarExtraItems",gn.role=Ge;const{useToken:fn}=d;function yn(e){const{style:n}=e,{collapsed:r,setCollapsed:t,layoutIcons:o}=Ue(),i={display:"flex",justifyContent:"flex-end",alignItems:"center",width:"100%",height:n?.width,backgroundColor:"transparent"},a={display:"flex",width:n?.width,height:"100%",cursor:"pointer",justifyContent:"center",alignItems:"center"},[l,s]=o?.collapsedIcons?.slice(0,2)||[F.jsx(Pe,{}),F.jsx(Ie,{})];return F.jsx("div",{style:i,children:F.jsx("div",{style:a,onClick:()=>{t(!r)},children:r?l:s})})}function _n(e){const{style:n,offset:r=0,top:t}=e,{collapsed:o,setCollapsed:i,layoutIcons:a}=Ue(),{token:l}=fn();let s={right:"-14px"},d={backgroundColor:n?.backgroundColor,border:`solid 1px ${l.colorBorderSecondary}`};t&&(s={...s,right:"-12px",display:"initial"},d={...d,width:"24px",height:"24px",borderRadius:"12px",transform:`translateY(${r+10}px)`});const[c,u]=a?.collapsedIcons?.slice(0,2)||[F.jsx(Ie,{}),F.jsx(Pe,{})];return F.jsx("div",{className:ge,style:s,onClick:()=>{i(!o)},children:F.jsx("div",{style:d,className:fe,children:o?c:u})})}function vn(e){const{collapsed:n,setCollapsed:r,layoutIcons:t}=Ue(),[o,i]=t?.mobileAsideIcons?.slice(0,2)||[F.jsx(Ne,{}),F.jsx(ze,{})];return F.jsx("div",{className:Ce,children:F.jsx(u,{type:"text",style:{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",...e.style},icon:n?o:i,onClick:()=>{r(!n)}})})}const{Header:bn}=p,{useToken:jn}=d;function wn(e){const{layoutConfig:n}=q(),{token:r}=jn(),t=j(),o=n.headerTransparent||n.headerBlur?Q(r.colorBorderSecondary,.6):r.colorBorderSecondary,i=n.hideBorder?"0px":"1px solid "+o,a=n.flated&&"headMenu"==n.layoutType||"dark"==n.theme?"dark":"light",l=n.flated&&"headMenu"==n.layoutType?"dark":"light",s=n.flated&&"headMenu"==n.layoutType?r.colorPrimary:r.colorBgContainer,c={height:e.height+"px",lineHeight:e.height+"px"};let u=F.jsx(F.Fragment,{}),m={...c,borderBottom:i,backgroundColor:n.headerTransparent?"transparent":s};n.headerBlur&&(m={...m,backgroundColor:Q(s,.6),transform:"translateZ(0)",backdropFilter:"blur(8px)"});let g={...c,fontSize:r.Menu?.iconSize,backgroundColor:"transparent",flex:"none"},f=[ne],y=F.jsx(F.Fragment,{});"headMenu"==n.layoutType?(u=F.jsx("div",{style:c}),m={...m,paddingInlineEnd:r.paddingXS+"px"},y=F.jsx("div",{className:le,style:{width:n?.asideWidth+"px"},children:F.jsx(on,{collapsed:!1,iconSize:r.Menu?.iconSize,hideTitle:!0})}),f.push(te)):(m={...m,paddingInline:r.paddingXS+"px"},f.push(re));let _=F.jsx(ln,{children:e.title}),v=F.jsx(vn,{iconSize:n.compact?12:14});const b=[oe];n.flated||b.push(Be);let w="dark"==a?[d.darkAlgorithm]:[d.defaultAlgorithm];return F.jsxs(F.Fragment,{children:[u,F.jsx(h,{theme:{algorithm:w},children:F.jsx(p,{className:f.join(" "),style:g,children:F.jsxs(bn,{className:b.join(" "),style:m,children:[v,y,_,F.jsx(x,{onClick:e=>{t(e.key)},defaultSelectedKeys:e.selectedKeys,selectedKeys:e.selectedKeys,mode:"horizontal",theme:l,classNames:{root:ie},items:e.menuData||[]}),F.jsx(xn,{showAvatar:"rightTop"==n.avatarPosition})]})})})]})}const{Sider:kn}=p,{useToken:Sn}=d,{useBreakpoint:Cn}=g;function Bn(e){const n=i([]);n.current=e.openerKeys||[];const[r,o]=t(e.openerKeys),{layoutConfig:a}=q(),{asideWidth:l}=a,s=e.headerHeight,{collapsed:d,setCollapsed:c}=Ue(),{token:u}=Sn(),m=j(),p=Cn().xs?0:s,h=a.headerTransparent||a.headerBlur?Q(u.colorBorderSecondary,.6):u.colorBorderSecondary,g=a.hideBorder||0==p&&d?"0px":"1px solid "+h,f="headMenu"==a.layoutType?e.headerHeight:0,y="headMenu"==a.layoutType?"calc(100% - "+e.headerHeight+"px)":"100%";let _={width:`${a.asideWidth}px`,height:`${y}`,insetBlockStart:f+"px",maxWidth:`${a.asideWidth}px`,minWidth:`${a.asideWidth}px`,borderRight:g,position:"fixed",transition:"width 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},v={overflow:"auto",flex:1};const b=u.Menu?.iconSize,w="dark"==a.theme?"dark":"light",k=w;let S=0,C=F.jsx(F.Fragment,{});"leftMenu"==a.layoutType&&(S=a.headerHeight||0,C=a.largeBrand?F.jsx(sn,{collapsed:d,iconSize:b}):F.jsx(an,{collapsed:d,iconSize:b,hideTitle:!0}));const B=a.asideTransparent?"transparent":a.asideBlur?Q(u.colorBgContainer,.6):u.colorBgContainer;_={..._,backgroundColor:B},a.asideBlur&&(_={..._,transform:"translateZ(0)",backdropFilter:"blur(8px)"}),d&&(v={...v,overflow:"hidden"});let I=[me];I.push(se);let P=F.jsx(F.Fragment,{});switch(a.collapsedPosition){case"bottom":P=F.jsx(yn,{iconSize:b,style:{backgroundColor:B,width:`${s}px`,borderRight:g}});break;case"center":case"top":P=F.jsx(_n,{iconSize:12,top:"top"==a.collapsedPosition,flated:a.flated,offset:S,style:{backgroundColor:B}})}let z=e.menuData||[];return a.asideMenuGroup&&z.forEach(e=>{e.children&&(e.type="group")}),F.jsxs(F.Fragment,{children:[F.jsx("div",{style:{width:d?s:l,flex:`0 0 ${d?s:l}px`,maxWidth:d?s:l,minWidth:d?s:l,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},className:pe}),F.jsxs(kn,{width:l,className:I.join(" "),style:_,theme:k,collapsedWidth:p,collapsible:!0,trigger:null,breakpoint:"md",collapsed:d,onCollapse:c,children:[p>0?C:F.jsx(F.Fragment,{}),e.header,F.jsx("div",{style:v,children:F.jsx(x,{onClick:e=>{m(e.key)},onOpenChange:e=>{o(e)},style:{border:"0",background:"transparent",position:"relative",minHeight:"100%"},mode:a.asideMenuInline?"inline":"vertical",selectedKeys:e.selectedKeys,openKeys:d?void 0:r,defaultSelectedKeys:e.selectedKeys,defaultOpenKeys:n.current,theme:w,items:z})}),e.footer,"leftBottom"==a.avatarPosition?F.jsx(un,{collapsed:d,iconSize:b}):F.jsx(F.Fragment,{}),P]})]})}function In(e,n){let r=[],t=[];return e.forEach(e=>{e.key==n[1]&&(t=e.children??[]);const o={...e,children:void 0};r.push(o)}),{rootMenuItems:r,childrenMenuItems:t}}const Pn=e=>{let n=[];if(!(null==e||e.length<=0))return e.forEach(e=>{let r=Ln(e);r.children=Pn(e.children),n.push(r)}),n},zn=(e,n)=>{if(e)return e.map(e=>{const r=Mn(e,n),t={...e,label:r};return e.children&&(t.children=zn(e.children,n)),t})},Nn=(e,n,r,t)=>{if(t){const o="menu"+e.replaceAll("/",".");return t.formatMessage({id:o,defaultMessage:r||n})}return r||n},Mn=(e,n)=>{const r=e.path||"";return Nn(r,e.name,e.label,n)},Tn=(e,n)=>Nn(e.pathname,e.id,"",n),Ln=e=>({key:e.path||e.name,label:e.label||e.name,icon:e.icon,extra:e.extra,title:e.label});function Fn(e){const n="/"===e?"/":e.replace(/\/+$/,"");if("/"===n)return["/"];const r=n.split("/").filter(Boolean),t=["/"];let o="";for(const e of r)o+=`/${e}`,t.push(o);return t}function En(e){let n=Fn(e);return n&&n.length>1&&"/"==n[0]&&n.splice(0,1),n}function On(e){const n=e.length;if(0===n)return[[],[]];const r=[e[1]],t=new Array(n-2);for(let r=1;r<n;r++)t[r-1]=e[r];return[r,t]}function Wn(e,n){if(n)return!e.endsWith("/")&&e.length>1&&(e+="/"),n.map(n=>{const r=function(e,n){let r=n.path||n.name;r?.startsWith("/")&&(r=r.slice(1));r?.startsWith("./")&&(r=r.slice(2));let t=e+r,o={name:t,path:t,originalPath:t,extra:Hn(n.extra),icon:Hn(n.icon)};return o}(e,n);return n.children&&(r.children=Wn(r.path,n.children)),r})}function An(e,n){if(n)return!e.endsWith("/")&&e.length>1&&(e+="/"),n.filter(e=>!!e.handle).map(n=>{const r=function(e,n){const{handle:r}=n;let t=n.path;t&&r.params&&(t=B(t,r.params));t?.startsWith("/")&&(t=t.slice(1));let o=e+t,i={...r,path:o,originalPath:n.path,extra:Hn(r.extra),icon:Hn(r.icon)};return i}(e,n);return n.children&&(r.children=An(r.path,n.children)),r})}function Rn(e,n={}){if(!Object.keys(n).some(e=>null!=n[e]))return e.split("/:")[0];const r=e.split("/"),t=[];for(const e of r)if(e.startsWith(":")){const r=e.slice(1),o=n[r];if(null==o)break;t.push(encodeURIComponent(String(o)))}else t.push(e);return t.join("/")}const Hn=n=>e.isValidElement(n)?n:"function"==typeof n||"object"==typeof n?e.createElement(n):null,{useToken:$n}=d;function Xn(n){const{layoutConfig:r,themeSkin:o}=q(),i=_(),{token:l}=$n(),[s,d]=t(!1),c={backgroundColor:l.colorBgLayout};let u=r.headerHeight||56;r.compact&&(u-=4);const m=r.disabledLocale?n.menuData:zn(n.menuData,i),p=m&&m?.length>0?m[0].children:[],h=Pn(p),x=w();console.log(x);const g=k(),{pathname:y}=x,v=En(y),b=g[g.length-1],j=b.handle=Tn(b,r.disabledLocale?void 0:i);let B=[],I=[],P=[],z=[];if("leftMenu"==r.layoutType?(z=h||[],I=v):(P=h||[],B=v),r.splitMenu&&v.length>1){const[e,n]=On(v),{rootMenuItems:t,childrenMenuItems:o}=In(h,v);"leftMenu"==r.layoutType?(z=t,P=o,I=e,B=n):(z=o,P=t,B=e,I=n)}const N=e.Children.toArray(n.children),M=N.find(n=>e.isValidElement(n)&&n.type.role===Re),T=N.find(n=>e.isValidElement(n)&&n.type.role===He),L=N.find(n=>e.isValidElement(n)&&n.type.role===qe),E=N.find(n=>e.isValidElement(n)&&n.type.role===De),O=N.find(n=>e.isValidElement(n)&&n.type.role===Ve),W=N.find(n=>e.isValidElement(n)&&n.type.role===Ke),A=N.find(n=>e.isValidElement(n)&&n.type.role===Ge),R=Oe,H=a(()=>({collapsed:s,headerHeight:u,layoutIcons:n.layoutIcons,avatarPopoverContent:E,brandPopoverContent:O,toolbarExtraItems:A,setCollapsed:d}),[s,u,n.layoutIcons]),$=S(),X=Boolean($.location);return console.log($),document.title=j,F.jsxs(F.Fragment,{children:[F.jsx(R,{value:H,children:F.jsxs(Y,{...n,style:c,children:[F.jsx(Y.Aside,{children:F.jsx(Bn,{headerHeight:u,header:M,footer:T,menuData:z,selectedKeys:I,openerKeys:I})}),F.jsx(Y.Header,{children:F.jsx(wn,{height:u,menuData:P,selectedKeys:B,title:j})}),F.jsxs(Y.Content,{children:[X&&F.jsx(f,{}),F.jsx(C,{context:{title:j,footer:L}})]}),F.jsx(Y.Background,{children:o?o.backgroundContent:F.jsx(F.Fragment,{})})]})}),W]})}const qn=e=>I(e),Dn=()=>qn("#22222222"),Vn=()=>qn("#FFFFFF");function Kn(e){const n=Je(),{layoutConfig:r}=q(),t=r.compact?"16px":"20px";let o={justifyContent:"flex-start",paddingInline:r.compact?"14px":"16px",marginInline:"4px",marginBlock:"4px",gap:(r.compact?6:8)+"px"};return n&&(o={...o,paddingInline:`calc(50% - calc(${t} / 2))`}),!e.icon&&n?F.jsx(F.Fragment,{}):F.jsxs("div",{className:xe,style:o,children:[F.jsx("div",{children:e.icon}),F.jsx("div",{style:{opacity:n?"0":"1"},children:e.children})]})}function Gn(e){return F.jsx(F.Fragment,{children:e.children})}function Un(e){return F.jsx("div",{className:he,children:e.children})}function Jn(e){return F.jsx("div",{className:he,children:e.children})}Gn.displayName="AsideContentItems",Kn.displayName="AsideContentItem",Jn.displayName="AsideHeaderContent",Jn.Items=Gn,Jn.Item=Kn,Un.displayName="AsideFooterContent",Un.Items=Gn,Un.Item=Kn,Un.role=He,Jn.role=Re,Gn.role=$e,Kn.role=Xe;const Yn="adminui-default-config",Zn=()=>{const e=_(),{layoutConfig:n}=q(),{f:r,t:t}=Qn(n.disabledLocale?void 0:e);return{...e,f:r,t:t}},Qn=e=>({f:n=>{const{id:r,defaultMessage:t}=n;return e?e.formatMessage({id:r,defaultMessage:t}):t||r.split(".").pop()},t:(n,r)=>e?e.formatMessage({id:n,defaultMessage:r}):r||n.split(".").pop()}),er=e=>{const{brandInfo:n,userInfo:r,...t}=e;return t},nr=e=>{e||(e=Yn);const n=window.localStorage.getItem(e);try{if(n)return JSON.parse(n)}catch(e){console.error(e)}},rr=(e,n)=>{n||(n=Yn);const{brandInfo:r,userInfo:t,...o}=e,i=JSON.stringify(o);window.localStorage.setItem(n,i)},tr=(e,n)=>{let r={...e};if(n){const e=n.theme.length<2?n.theme[0]:r.theme;r={...r,primaryColor:n.primaryColor??r.primaryColor,containerBlur:n.containerBlur??r.containerBlur,asideBlur:n.asideBlur??r.asideBlur,asideWidth:n.asideWidth??r.asideWidth,headerBlur:n.asideBlur??r.headerBlur,theme:e}}return r},{useToken:or}=d,ir=e=>F.jsx("div",{...e,children:e.children});function ar(e){return F.jsx(F.Fragment,{children:e.children})}ir.displayName="ContentFooter",ir.role=qe,ar.displayName="SoltContent",ar.role=Ke;const lr="adminui-locale",sr=(e,n)=>{let r;return Object.entries(n).forEach(([n,t])=>{t.forEach(n=>{n.name==e&&(r=n)})}),r};function dr(e){const n=k(),{pathname:r}=n[0],i={...H,...e.layoutConfig,...nr(r)};let l=e.themeSkins||[];const s=a(()=>(e=>{let n={tidy:[],rich:[]};return e.forEach(e=>{"rich"==e.skinType?n.rich.push(e):n.tidy.push(e)}),n})(l),[l]),c=e.locale||localStorage.getItem(lr)||i.locale||"en-US",u=e.menuData?Wn("/",[e.menuData]):[],[m,p]=t(()=>{if(i.skinName){const e=sr(i.skinName,s);return tr(i,e)}return i}),[x,g]=t(c),f=X,_=$;let b=e.localeMessages||{};const j=a(()=>(e=>{let n=[];return Object.entries(e).forEach(([e,r])=>{n.push({name:r.name,locale:e,flag:r.flag})}),n})(b),[b]),w=e=>{localStorage.setItem(lr,e),g(e)};document.documentElement.style.setProperty("--pageload-bar-color",m.primaryColor),o(()=>{const e=window.document.documentElement;if(e.classList.remove("light","dark"),"system"===m.theme){const n=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";return void e.classList.add(n)}e.classList.add(m.theme)},[m.theme]);const S=a(()=>{if(m.skinName)return sr(m.skinName,s)},[l,m.skinName]),C="system"==(B=m.theme)?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":B;var B;const I=e=>{p(e),rr(e,r)},P=a(()=>({layoutConfig:m,locale:x,languages:j,themeSkin:S,themeSkinMap:s}),[j,x,j,s,S,m]),z=a(()=>({setLayoutConfig:I,setLocale:w}),[]),N=b[x]||b["en-US"],M=["he","ar","fa","ku"].filter(e=>x.startsWith(e)).length?"rtl":"ltr";let T="dark"===C?[d.darkAlgorithm]:[d.defaultAlgorithm],L=m.menuIconSize||14;const E=m.menuIconSize?.1*(L-10)+10:10;m.compact&&(T.push(d.compactAlgorithm),L-=2);let O={darkSubMenuItemBg:"transparent",subMenuItemBg:"transparent",iconSize:L,fontSize:L,itemMarginInline:m.flated?0:4,iconMarginInlineEnd:E,activeBarHeight:m.compact?2:4,darkPopupBg:Dn()[4]};const W={algorithm:T,token:{colorPrimary:m.primaryColor,borderRadius:m.flated?0:6},components:{Menu:O,Layout:{siderBg:"transparent",triggerBg:"transparent",lightSiderBg:"transparent",lightTriggerBg:"transparent"}}};return F.jsx(f.Provider,{value:P,children:F.jsx(_.Provider,{value:z,children:F.jsx(h,{theme:W,locale:N?.antdLocale,direction:M,modal:{mask:{blur:!1}},drawer:{mask:{blur:!1}},prefixCls:"adminui",children:F.jsx(y,{style:{height:"100%",width:"100%"},children:F.jsx(v,{locale:x,messages:N?.messages,children:F.jsx(Xn,{menuData:u,layoutIcons:e.layoutIcons,children:e.children})})})})})})}dr.AsideHeader=Jn,dr.AsideFooter=Un,dr.Footer=ir,dr.AvatarPopoverContent=pn,dr.BrandPopoverContent=dn,dr.SoltContent=ar,dr.HeaderToolbarExtra=gn;var cr={exports:{}},ur=P(cr.exports=function(){var e,n,r={version:"0.2.0"},t=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,n,r){return e<n?n:e>r?r:e}function i(e){return 100*(-1+e)}function a(e,n,r){var o;return(o="translate3d"===t.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+n+"ms "+r,o}r.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},r.status=null,r.set=function(e){var n=r.isStarted();e=o(e,t.minimum,1),r.status=1===e?null:e;var i=r.render(!n),d=i.querySelector(t.barSelector),c=t.speed,u=t.easing;return i.offsetWidth,l(function(n){""===t.positionUsing&&(t.positionUsing=r.getPositioningCSS()),s(d,a(e,c,u)),1===e?(s(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout(function(){s(i,{transition:"all "+c+"ms linear",opacity:0}),setTimeout(function(){r.remove(),n()},c)},c)):setTimeout(n,c)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},t.trickleSpeed)};return t.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var n=r.status;return n?("number"!=typeof e&&(e=(1-n)*o(Math.random()*n,.1,.95)),n=o(n+e,0,.994),r.set(n)):r.start()},r.trickle=function(){return r.inc(Math.random()*t.trickleRate)},e=0,n=0,r.promise=function(t){return t&&"resolved"!==t.state()?(0===n&&r.start(),e++,n++,t.always(function(){0===--n?(e=0,r.done()):r.set((e-n)/e)}),this):this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var n=document.createElement("div");n.id="nprogress",n.innerHTML=t.template;var o,a=n.querySelector(t.barSelector),l=e?"-100":i(r.status||0),d=document.querySelector(t.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),t.showSpinner||(o=n.querySelector(t.spinnerSelector))&&p(o),d!=document.body&&c(d,"nprogress-custom-parent"),d.appendChild(n),n},r.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,n="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return n+"Perspective"in e?"translate3d":n+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function n(){var r=e.shift();r&&r(n)}return function(r){e.push(r),1==e.length&&n()}}(),s=function(){var e=["Webkit","O","Moz","ms"],n={};function r(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,n){return n.toUpperCase()})}function t(n){var r=document.body.style;if(n in r)return n;for(var t,o=e.length,i=n.charAt(0).toUpperCase()+n.slice(1);o--;)if((t=e[o]+i)in r)return t;return n}function o(e){return e=r(e),n[e]||(n[e]=t(e))}function i(e,n,r){n=o(n),e.style[n]=r}return function(e,n){var r,t,o=arguments;if(2==o.length)for(r in n)void 0!==(t=n[r])&&n.hasOwnProperty(r)&&i(e,r,t);else i(e,o[1],o[2])}}();function d(e,n){return("string"==typeof e?e:m(e)).indexOf(" "+n+" ")>=0}function c(e,n){var r=m(e),t=r+n;d(r,n)||(e.className=t.substring(1))}function u(e,n){var r,t=m(e);d(e,n)&&(r=t.replace(" "+n+" "," "),e.className=r.substring(1,r.length-1))}function m(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r}());
10
+ */"production"===process.env.NODE_ENV?z.exports=function(){if(P)return N;P=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(n,r,t){var o=null;if(void 0!==t&&(o=""+t),void 0!==r.key&&(o=""+r.key),"key"in r)for(var i in t={},r)"key"!==i&&(t[i]=r[i]);else t=r;return r=t.ref,{$$typeof:e,type:n,key:o,ref:void 0!==r?r:null,props:t}}return N.Fragment=n,N.jsx=r,N.jsxs=r,N}():z.exports=(M||(M=1,"production"!==process.env.NODE_ENV&&function(){function n(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===S?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"Fragment";case g:return"Profiler";case x:return"StrictMode";case v:return"Suspense";case b:return"SuspenseList";case k:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case p:return"Portal";case y:return e.displayName||"Context";case f:return(e._context.displayName||"Context")+".Consumer";case _:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(r=e.displayName||null)?r:n(e.type)||"Memo";case w:r=e._payload,e=e._init;try{return n(e(r))}catch(e){}}return null}function r(e){return""+e}function t(e){try{r(e);var n=!1}catch(e){n=!0}if(n){var t=(n=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),r(e)}}function o(e){if(e===h)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===w)return"<...>";try{var r=n(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function i(){return Error("react-stack-top-frame")}function a(){var e=n(this.type);return z[e]||(z[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function l(e,r,o,i,l,d){var u,p=r.children;if(void 0!==p)if(i)if(I(p)){for(i=0;i<p.length;i++)s(p[i]);Object.freeze&&Object.freeze(p)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else s(p);if(B.call(r,"key")){p=n(e);var h=Object.keys(r).filter(function(e){return"key"!==e});i=0<h.length?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}",L[p+i]||(h=0<h.length?"{"+h.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',i,p,h,p),L[p+i]=!0)}if(p=null,void 0!==o&&(t(o),p=""+o),function(e){if(B.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return void 0!==e.key}(r)&&(t(r.key),p=""+r.key),"key"in r)for(var x in o={},r)"key"!==x&&(o[x]=r[x]);else o=r;return p&&function(e,n){function r(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,n,r,t,o,i){var l=r.ref;return e={$$typeof:m,type:e,key:n,props:r,_owner:t},null!==(void 0!==l?l:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:a}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,p,o,null===(u=C.A)?null:u.getOwner(),l,d)}function s(e){d(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===w&&("fulfilled"===e._payload.status?d(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===m}var c,u=e,m=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),y=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),S=Symbol.for("react.client.reference"),C=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=Object.prototype.hasOwnProperty,I=Array.isArray,P=console.createTask?console.createTask:function(){return null},z={},N=(u={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(u,i)(),M=P(o(i)),L={};T.Fragment=h,T.jsx=function(e,n,r){var t=1e4>C.recentlyCreatedOwnerStacks++;return l(e,n,r,!1,t?Error("react-stack-top-frame"):N,t?P(o(e)):M)},T.jsxs=function(e,n,r){var t=1e4>C.recentlyCreatedOwnerStacks++;return l(e,n,r,!0,t?Error("react-stack-top-frame"):N,t?P(o(e)):M)}}()),T);var L=z.exports;function F(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}F("@layer base {\r\n html, body {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%; \r\n height: 100%;\r\n }\r\n #root { \r\n text-align: initial;\r\n width: 100%;\r\n height:100%\r\n } \r\n}\r\n*, *:before, *:after {\r\n box-sizing: border-box;\r\n}\r\n.Layout-module_rootBox__3JHjy {\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n width: 100%;\r\n min-height: 100%;\r\n}\r\n.Layout-module_rootBackground__j3UVG {\r\n box-sizing: border-box; \r\n pointer-events: none;\r\n inset-block-start:0;\r\n inset-inline-start:0; \r\n width: 100%; \r\n min-width: 100vw;\r\n height:100%;\r\n min-height: 100vh;\r\n overflow: hidden;\r\n position: fixed;\r\n z-index: 0;\r\n}\r\n.Layout-module_rootBackground__j3UVG>div{\r\n width:100%;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.Layout-module_rootLayout__jVEEF {\r\n position: relative;\r\n z-index: 1;\r\n box-sizing: border-box; \r\n width: 100%;\r\n min-height: 100%;\r\n display: flex; \r\n flex-flow: row;\r\n background-color: transparent;\r\n container-type: inline-size;\r\n}\r\n\r\n.Layout-module_mainLayout__6W9W9 {\r\n box-sizing: border-box; \r\n display: flex;\r\n flex-flow: column; \r\n width: 100%;\r\n}\r\n");const E=Symbol("LayoutAside"),O=Symbol("LayoutContent"),A=Symbol("LayoutHeader"),W=Symbol("LayoutBackground"),R={headerHeight:50,asideWidth:260,layoutType:"leftMenu",collapsedPosition:"bottom",avatarPosition:"rightTop",theme:"system",primaryColor:"#417ffb"},H=n({setLayoutConfig:()=>{},setLocale:()=>{}}),$=n({locale:"en-US",languages:[],layoutConfig:{},themeSkinMap:{tidy:[],rich:[]}}),X=()=>r($),D=()=>r(H),V=()=>X().layoutConfig.theme;function q(e){return L.jsx("div",{className:"Layout-module_rootBackground__j3UVG",children:L.jsx(L.Fragment,{children:e.children})})}function K(e){return L.jsx(L.Fragment,{children:e.children})}function G(e){return L.jsx(L.Fragment,{children:e.children})}function U(e){return L.jsx(L.Fragment,{children:e.children})}q.displayName="LayoutBackground",q.role=W,K.displayName="LayoutContent",K.role=O,G.displayName="LayoutAside",G.role=E,U.displayName="LayoutHeader",U.role=A;function J(n){let r=null,t=null,o=null,i=null;return e.Children.forEach(n.children,e=>{const n=e.type.role;n===A?r=e:n===O?t=e:n===E?o=e:n===W&&(i=e)}),L.jsx(L.Fragment,{children:L.jsxs("div",{ref:n.ref,className:"layout-module_rootBox__Y8bEx",style:{...n.style},children:[i,L.jsxs("div",{className:"layout-module_rootLayout__TePvr",children:[o,L.jsxs("div",{className:"layout-module_mainLayout__a8Tb9",children:[r,t]})]})]})})}function Y(n){const r=!!document.fullscreenElement,[i,a]=t(r),l=()=>{a(!!document.fullscreenElement)},s=e=>{"F11"===e.code&&(e.preventDefault(),d())};o(()=>(document.addEventListener("fullscreenchange",l),document.addEventListener("keydown",s,!0),()=>{document.removeEventListener("fullscreenchange",l),document.removeEventListener("keydown",s)}),[]);const d=()=>{i?document.exitFullscreen():document.documentElement.requestFullscreen()};if(!n.buttons||n.buttons.length<2)return L.jsx(L.Fragment,{});const[c,u]=n.buttons,m=i?c:u;return e.cloneElement(m,{onClick:e=>{console.log(e),d()}})}F("@layer base {\r\n html, body {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%; \r\n height: 100%;\r\n }\r\n #root { \r\n text-align: initial;\r\n width: 100%;\r\n height:100%\r\n } \r\n}\r\n*, *:before, *:after {\r\n box-sizing: border-box;\r\n}\r\n.layout-module_rootBox__Y8bEx {\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n width: 100%;\r\n min-height: 100%;\r\n}\r\n.layout-module_rootBackground__vEs6e {\r\n box-sizing: border-box; \r\n pointer-events: none;\r\n inset-block-start:0;\r\n inset-inline-start:0; \r\n width: 100%; \r\n min-width: 100vw;\r\n height:100%;\r\n min-height: 100vh;\r\n overflow: hidden;\r\n position: fixed;\r\n z-index: 0;\r\n}\r\n.layout-module_rootBackground__vEs6e>div{\r\n width:100%;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.layout-module_rootLayout__TePvr {\r\n position: relative;\r\n z-index: 1;\r\n box-sizing: border-box; \r\n width: 100%;\r\n min-height: 100%;\r\n display: flex; \r\n flex-flow: row;\r\n background-color: transparent;\r\n container-type: inline-size;\r\n}\r\n\r\n.layout-module_mainLayout__a8Tb9 {\r\n box-sizing: border-box; \r\n display: flex;\r\n flex-flow: column; \r\n width: 100%;\r\n}\r\n"),J.Aside=G,J.Content=K,J.Header=U,J.Background=q;const Z=(e,n)=>{const{r:r,g:t,b:o}=(e=>({r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:9===e.length?(parseInt(e.slice(7,9),16)/255).toFixed(2):1}))(e);return`rgba(${r}, ${t}, ${o}, ${n})`};function Q(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}Q("@layer adminui-layout { \r\n :root{\r\n --pageload-bar-color:#222222;\r\n } \r\n #index_root__t3vw8 {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%;\r\n height: 100%;\r\n }\r\n}\r\n\r\n/** Menu icon automatic compact mode */\r\n.index_adminui-menu-icon__sDVLQ {\r\n font-size: var(--adminui-menu-icon-size);\r\n width: var(--adminui-menu-icon-size);\r\n height: var(--adminui-menu-icon-size);\r\n}\r\n");var ee="index-module_headerLayout__rv59v",ne="index-module_headerLayoutSticky__6uFCj",re="index-module_headerLayoutFixed__t5Hmo",te="index-module_headerLayoutBox__h0fIt",oe="index-module_headerMenu__WHmJN",ie="index-module_headerTitle__jGbCX",ae="index-module_headerBrandBox__U2J16",le="index-module_layoutBlur__GpCPx",se="index-module_toolbarPanel__Pp8PS",de="index-module_toolbarItem__RkaXd",ce="index-module_toolbarAvatarItem__p6TXY",ue="index-module_siderBaseStyle__zg1FM",me="index-module_siderMask__cCjMh",pe="index-module_siderContentBox__dGgRe",he="index-module_siderContentItem__kl3cR",xe="index-module_collapsedTrack__LoJ3V",ge="index-module_collapsedTrackButton__m33XS",fe="index-module_brandPanel__2GRgq",ye="index-module_labelBox__dX8fY",_e="index-module_brandNodeBox__W-iM6",ve="index-module_brandMobilePanel__m1Diu",be="index-module_largeBrandPanel__pLn--",je="index-module_title__SbfFY",we="index-module_largeBrandCollPanel__nsGKB",ke="index-module_avatarPanel__fFvCS",Se="index-module_collapsedMobile__Yu8F4",Ce="index-module_round__WoVxM";function Be(e){const{size:n=16}=e;return L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:L.jsx("path",{d:"m15 18-6-6 6-6"})})}function Ie(e){const{size:n=16}=e;return L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:L.jsx("path",{d:"m9 18 6-6-6-6"})})}function Pe(e){const{size:n=16}=e;return L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[L.jsx("path",{d:"M21 5H11"}),L.jsx("path",{d:"M21 12H11"}),L.jsx("path",{d:"M21 19H11"}),L.jsx("path",{d:"m7 8-4 4 4 4"})]})}function ze(e){const{size:n=16}=e;return L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[L.jsx("path",{d:"M21 5H11"}),L.jsx("path",{d:"M21 12H11"}),L.jsx("path",{d:"M21 19H11"}),L.jsx("path",{d:"m3 8 4 4-4 4"})]})}function Ne(e){const{size:n=16}=e;return L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[L.jsx("path",{d:"m7 15 5 5 5-5"}),L.jsx("path",{d:"m7 9 5-5 5 5"})]})}function Me(e){const{size:n=16}=e;return L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[L.jsx("path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"}),L.jsx("circle",{cx:"12",cy:"7",r:"4"})]})}function Te(e){const{size:n=16}=e;return L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[L.jsx("path",{d:"M8 3v3a2 2 0 0 1-2 2H3"}),L.jsx("path",{d:"M21 8h-3a2 2 0 0 1-2-2V3"}),L.jsx("path",{d:"M3 16h3a2 2 0 0 1 2 2v3"}),L.jsx("path",{d:"M16 21v-3a2 2 0 0 1 2-2h3"})]})}function Le(e){const{size:n=16}=e;return L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[L.jsx("path",{d:"M8 3H5a2 2 0 0 0-2 2v3"}),L.jsx("path",{d:"M21 8V5a2 2 0 0 0-2-2h-3"}),L.jsx("path",{d:"M3 16v3a2 2 0 0 0 2 2h3"}),L.jsx("path",{d:"M16 21h3a2 2 0 0 0 2-2v-3"})]})}function Fe(e){const[n,r]=t(!1),{hasChild:i,...a}=e;o(()=>{if(e.src)if("string"==typeof e.src){const n=new Image;n.src=e.src,n.onload=()=>r(!0),n.onerror=()=>r(!0)}else r(!0)},[e.src]);const l={...e.style,transition:"opacity 0.3s ease-out",opacity:n?1:0,display:"flex",justifyItems:"center",alignItems:"center"},s=L.jsx("img",{...a});return e.hasChild?s:L.jsx("div",{style:l,children:s})}Q('@layer base { \r\n\r\n :root { \r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #ccc;\r\n --sb-thumb-hover: #b3b3b3;\r\n --sb-html-track-color: rgb(250,250,250);\r\n color-scheme: light;\r\n }\r\n\r\n * {\r\n box-sizing: border-box;\r\n scrollbar-width: thin;\r\n scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);\r\n }\r\n\r\n html {\r\n scrollbar-color: var(--sb-thumb-color) var(--sb-html-track-color);\r\n }\r\n \r\n @media (prefers-color-scheme: dark) {\r\n :root {\r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #383838;\r\n --sb-thumb-hover: rgb(49, 49, 49);\r\n --sb-html-track-color: rgb(20,20,20);\r\n color-scheme: dark;\r\n }\r\n }\r\n\r\n :root[style="color-scheme: dark;"],\r\n :root[class="dark"] { \r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #383838;\r\n --sb-thumb-hover: rgb(49, 49, 49); \r\n --sb-html-track-color: rgb(20,20,20); \r\n color-scheme: dark; \r\n }\r\n\r\n ::-webkit-scrollbar {\r\n width: 8px;\r\n height: 8px;\r\n background-color: transparent;\r\n } \r\n\r\n ::-webkit-scrollbar-track {\r\n background-color: var(--sb-track-color);\r\n border-radius: 10px;\r\n }\r\n\r\n ::-webkit-scrollbar-thumb {\r\n background-color: var(--sb-thumb-color);\r\n border-radius: 10px; \r\n border: 2px solid var(--sb-track-color);\r\n }\r\n ::-webkit-scrollbar-thumb:hover {\r\n background-color: var(--sb-thumb-hover);\r\n } \r\n}\r\n/** header */\r\n.index-module_headerLayout__rv59v {\r\n box-sizing: border-box;\r\n min-width: 100%;\r\n padding-block: 0;\r\n padding-inline: 0; \r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid);\r\n}\r\n\r\n.index-module_headerLayoutSticky__6uFCj {\r\n position: sticky;\r\n width: 100%;\r\n z-index: 100;\r\n top:0;\r\n}\r\n.index-module_headerLayoutFixed__t5Hmo {\r\n position: fixed;\r\n width: 100%;\r\n z-index: 100;\r\n inset-block-start: 0;\r\n inset-inline-end: 0;\r\n}\r\n.index-module_headerLayoutBox__h0fIt {\r\n display: flex;\r\n flex-flow: row;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n.index-module_headerMenu__WHmJN {\r\n border:0px;\r\n background-color: transparent;\r\n flex:1;\r\n height: 100%;\r\n min-width: 0px;\r\n}\r\n.index-module_headerTitle__jGbCX {\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n}\r\n.index-module_headerBrandBox__U2J16 {\r\n width: auto; \r\n}\r\n\r\n.index-module_layoutBlur__GpCPx { \r\n transform: translateZ(0);\r\n backdrop-filter: blur(8px);\r\n}\r\n\r\n.index-module_toolbarPanel__Pp8PS {\r\n display: flex;\r\n justify-content: end;\r\n align-items: center;\r\n}\r\n.index-module_toolbarPanel__Pp8PS .index-module_toolbarItem__RkaXd {\r\n display: flex;\r\n justify-content: end;\r\n align-items: center;\r\n}\r\n.index-module_toolbarAvatarItem__p6TXY {\r\n display: flex;\r\n align-items: center;\r\n padding-inline: var(--adminui-padding-xs); \r\n gap: 8px;\r\n cursor: pointer;\r\n}\r\n.index-module_toolbarAvatarItem__p6TXY span {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n max-width: 100px;\r\n}\r\n\r\n/** sider */\r\n.index-module_siderBaseStyle__zg1FM {\r\n background:\'transparent\'; \r\n padding-bottom: 0px; \r\n z-index: 10;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_siderMask__cCjMh {\r\n overflow: hidden;\r\n transition:background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)\r\n}\r\n.index-module_siderContentBox__dGgRe {\r\n display: flex;\r\n flex-flow: column;\r\n align-items: center;\r\n width: 100%;\r\n min-height: 0px;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_siderContentItem__kl3cR { \r\n display: flex; \r\n align-items: center;\r\n width: 100%; \r\n min-height: 0px;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n.index-module_siderContentItem__kl3cR>div{\r\n display: flex; \r\n align-items: center;\r\n opacity: 1;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_collapsedTrack__LoJ3V {\r\n display: flex;\r\n flex-flow: column;\r\n justify-content: center;\r\n align-items: center; \r\n position: absolute;\r\n top:0px;\r\n bottom:0px;\r\n right:-14px;\r\n cursor: pointer;\r\n}\r\n.index-module_collapsedTrack__LoJ3V .index-module_collapsedTrackButton__m33XS {\r\n width: 14px;\r\n height: 36px;\r\n border-top-right-radius: 4px;\r\n border-bottom-right-radius: 4px;\r\n display: flex;\r\n flex-flow: column;\r\n justify-content: center;\r\n align-items: center; \r\n opacity: 0; \r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n\r\n}\r\n.index-module_collapsedTrack__LoJ3V:hover .index-module_collapsedTrackButton__m33XS {\r\n opacity: 1;\r\n}\r\n\r\n/** brand */ \r\n.index-module_brandPanel__2GRgq {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding:var(--adminui-margin-xxs);\r\n}\r\n.index-module_brandPanel__2GRgq button {\r\n display: flex;\r\n width: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n padding-inline: var(--adminui-padding-xs); \r\n transition: all 0.3s;\r\n\r\n}\r\n.index-module_brandPanel__2GRgq a {\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n color:inherit; \r\n transition: all 0.3s; \r\n padding-inline: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n\r\n.index-module_brandPanel__2GRgq a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_brandPanel__2GRgq a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n\r\n.index-module_brandPanel__2GRgq h4{\r\n margin:0px;\r\n padding:0px;\r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_brandPanel__2GRgq span {\r\n margin:0px; \r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n\r\n.index-module_brandPanel__2GRgq .index-module_labelBox__dX8fY {\r\n width: 100%; \r\n display:flex;\r\n flex-flow:column;\r\n justify-content:space-between;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), padding var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_brandNodeBox__W-iM6 {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n color:var(--adminui-color-primary);\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), width var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n\r\n.index-module_brandMobilePanel__m1Diu {\r\n opacity: 0;\r\n width: 0px;\r\n overflow: hidden;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n height: 100%;\r\n gap: 8px;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), width var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out),padding var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_brandMobilePanel__m1Diu a {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n.index-module_largeBrandPanel__pLn-- {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-flow: column;\r\n gap: 2px;\r\n padding: var(--adminui-padding-lg); \r\n}\r\n\r\n.index-module_largeBrandPanel__pLn-- img {\r\n transition: width var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out); \r\n}\r\n.index-module_largeBrandPanel__pLn--\x3ediv{\r\n opacity: 1;\r\n text-align: center;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-flow: column; \r\n overflow: hidden;\r\n width: 100%;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), height var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_largeBrandPanel__pLn-- span {\r\n font-size: large;\r\n width: 100%;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_largeBrandPanel__pLn-- span.index-module_title__SbfFY {\r\n font-size: small;\r\n color:var(--adminui-color-text-tertiary);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB {\r\n padding: var(--adminui-margin-xxs);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a {\r\n opacity: 1;\r\n color:inherit; \r\n padding: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n/** avatar */\r\n.index-module_avatarPanel__fFvCS {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding:var(--adminui-margin-xxs);\r\n}\r\n.index-module_avatarPanel__fFvCS a {\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n color:inherit; \r\n transition: all 0.3s;\r\n padding-inline: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_avatarPanel__fFvCS a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS h4{\r\n width: 90%;\r\n margin:0px;\r\n padding:0px;\r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_avatarPanel__fFvCS span {\r\n width: 90%;\r\n margin:0px; \r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS .index-module_labelBox__dX8fY {\r\n width: 100%;\r\n display:flex;\r\n flex-flow:column;\r\n justify-content:space-between;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out);\r\n}\r\n\r\n.index-module_collapsedMobile__Yu8F4 { \r\n display: none;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n\r\n\r\n/** container */\r\n.index-module_containerBox__pv0qs {\r\n box-sizing: border-box;\r\n background-color: transparent;\r\n display: flex;\r\n flex-flow: column;\r\n flex:auto;\r\n}\r\n.index-module_containerBox__pv0qs>h3 {\r\n box-sizing: border-box;\r\n line-height: var(--adminui-line-height);\r\n margin:0 0 var(--adminui-margin);\r\n}\r\n.index-module_containerBox__pv0qs>footer{\r\n display: flex;\r\n flex-flow: column;\r\n align-items: center;\r\n justify-content: center;\r\n width: 100%;\r\n color:var(--adminui-color-text-description);\r\n padding:var(--adminui-padding);\r\n}\r\n.index-module_containerBox__pv0qs>footer>div{\r\n text-align: center;\r\n}\r\n\r\n\r\n/** antd(adminui) */\r\n.index-module_headerLayout__rv59v .adminui-layout-header{\r\n padding-inline: 0px;\r\n}\r\n.index-module_headerLayout__rv59v .adminui-btn,\r\n.index-module_siderBaseStyle__zg1FM .adminui-btn{\r\n font-size: inherit;\r\n}\r\n.index-module_headerLayoutBox__h0fIt.index-module_round__WoVxM .adminui-menu-horizontal >.adminui-menu-item::after, \r\n.index-module_headerLayoutBox__h0fIt.index-module_round__WoVxM .adminui-menu-horizontal >.adminui-menu-submenu::after { \r\n border-radius: 4px;\r\n}\r\n\r\n.index-module_siderBaseStyle__zg1FM .adminui-layout-sider-trigger{\r\n position: absolute; \r\n top:0; \r\n right:0;\r\n height:100%;\r\n}\r\n.index-module_siderBaseStyle__zg1FM .adminui-layout-sider-children {\r\n display: flex;\r\n flex-flow: column;\r\n margin-top: 0px;\r\n padding-top: 0px;\r\n\r\n}\r\n\r\n@container (max-width: 576px) { \r\n .index-module_headerLayout__rv59v .adminui-layout-header {\r\n padding-inline-start: var(--adminui-padding-xs);\r\n }\r\n .index-module_headerMenu__WHmJN {\r\n justify-content: end;\r\n max-width: 80px;\r\n } \r\n .index-module_headerBrandBox__U2J16 {\r\n display: none;\r\n }\r\n .index-module_siderMask__cCjMh {\r\n display: none;\r\n }\r\n .index-module_brandMobilePanel__m1Diu {\r\n opacity: 1; \r\n padding-inline: var(--adminui-padding-xs);\r\n justify-content: flex-start;\r\n flex:1;\r\n }\r\n .index-module_largeBrandPanel__pLn-- {\r\n display: none;\r\n }\r\n .index-module_collapsedMobile__Yu8F4 {\r\n display: flex;\r\n }\r\n .index-module_collapsedTrack__LoJ3V {\r\n visibility: collapse;\r\n }\r\n .index-module_toolbarPanel__Pp8PS *[data-adminui-role="desk-toolbar"] {\r\n display: none;\r\n }\r\n .index-module_toolbarAvatarItem__p6TXY span {\r\n display: none;\r\n }\r\n}\r\n');const Ee=n({collapsed:!1,headerHeight:50,setCollapsed:()=>{}}),Oe=n({close:()=>{}}),Ae=n({close:()=>{}}),We=Symbol("AsideFooter"),Re=Symbol("AsideHeader"),He=Symbol("AsideContentItems"),$e=Symbol("AsideContentItem"),Xe=Symbol("ContentFooter"),De=Symbol("AvatarPopoverContent"),Ve=Symbol("BrandPopoverContent"),qe=Symbol("SoltContent"),Ke=Symbol("ToolbarExtraItems"),Ge=()=>r(Ee),Ue=()=>Ge().collapsed,Je=()=>v(),Ye=()=>Oe,Ze=()=>Ae,Qe=()=>r(Oe),en=()=>r(Ae);function nn(n){const{icon:r,size:t}=n;return e.isValidElement(r)?e.cloneElement(r,{size:t,style:{fontSize:t-2+"px",...n.style}}):r}const{useToken:rn}=d;function tn(e){const{collapsed:n,iconSize:r,hideTitle:o}=e,{layoutConfig:i}=X(),{token:a}=rn(),{layoutIcons:l,brandPopoverContent:s}=Ge(),[d,m]=t(!1),p=Ze(),h=i.compact?"16px":"20px";let x={justifyContent:"flex-start",paddingInline:i.compact?a.paddingXXS:a.paddingXS,height:"40px",gap:(i.compact?6:8)+"px"},g={height:`${i.headerHeight}px`},f={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",textAlign:"left",alignItems:"center"};i.flated&&(x={...x,paddingInline:a.padding,height:"100%"},g={...g,padding:"0px"});const{brandInfo:y}=i;n?x={...x,paddingInline:`calc(50% - calc(${h} / 2))`}:f={...f,overflow:"hidden"};let _=L.jsx(L.Fragment,{});y?.logo&&(_="string"==typeof y.logo?L.jsx(Fe,{style:{width:h},src:y.logo,alt:y.name}):L.jsx("div",{className:_e,style:{width:h},children:y.logo}));const v=l?.itemMoreIcon||L.jsx(Ne,{}),b=L.jsx(u,{type:"text",style:x,iconPlacement:"end",icon:s?L.jsx(nn,{icon:v,size:r||14,style:{opacity:n?"0":"1"}}):void 0,children:L.jsxs("div",{style:f,children:[_,L.jsxs("div",{className:ye,style:{opacity:n?"0":"1"},children:[L.jsx("h4",{children:y?.name}),o?void 0:L.jsx("span",{style:{color:a.colorTextSecondary},children:y?.title})]})]})});return L.jsx("div",{className:fe,style:g,children:s?L.jsx(p.Provider,{value:{close:()=>{m(!1)},record:y},children:L.jsx(c,{open:d,onOpenChange:m,placement:"rightTop",content:s,children:b})}):b})}function on(e){const{collapsed:n,iconSize:r,hideTitle:o}=e,{layoutConfig:i}=X(),{layoutIcons:a,brandPopoverContent:l}=Ge(),{token:s}=rn(),[d,u]=t(!1),m=Ze(),p=i.compact?"16px":"20px";let h={justifyContent:"flex-start",gap:(i.compact?6:8)+"px"},x={height:`${i.headerHeight}px`},g={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",alignItems:"center"};i.flated&&(h={...h,paddingInline:s.padding},x={...x,padding:"0px"});const{brandInfo:f}=i;n?h={...h,paddingInline:`calc(50% - calc(${p} / 2))`}:g={...g,overflow:"hidden"};let y=L.jsx(L.Fragment,{});f?.logo&&(y="string"==typeof f.logo?L.jsx(Fe,{style:{width:p},src:f.logo,alt:f.name}):L.jsx("div",{className:_e,style:{width:p},children:f.logo}));const _=a?.itemMoreIcon||L.jsx(Ne,{}),v=l?{}:{href:f?.url},b=L.jsxs("a",{...v,style:h,children:[L.jsxs("div",{style:g,children:[y,L.jsxs("div",{className:ye,style:{opacity:n?"0":"1"},children:[L.jsx("h4",{style:{width:"90%"},children:f?.name}),o?void 0:L.jsx("span",{style:{color:s.colorTextSecondary,width:"90%"},children:f?.title})]})]}),l?L.jsx("div",{style:{opacity:n?"0":"1",display:"flex",placeItems:"center"},children:L.jsx(nn,{icon:_,size:r||14})}):L.jsx(L.Fragment,{})]});return L.jsx("div",{className:fe,style:x,children:l?L.jsx(m.Provider,{value:{close:()=>{u(!1)},record:f},children:L.jsx(c,{open:d,onOpenChange:u,placement:"rightTop",content:l,children:b})}):b})}function an(e){const{layoutConfig:n}=X(),{brandPopoverContent:r}=Ge(),[o,i]=t(!1),a=Ze(),l=n.compact?"16px":"20px",{brandInfo:s}=n;let d=L.jsx(L.Fragment,{});s?.logo&&(d="string"==typeof s.logo?L.jsx(Fe,{style:{width:l},src:s.logo,alt:s.name}):L.jsx("div",{className:_e,style:{width:l},children:s.logo}));let u=r?L.jsx(a.Provider,{value:{close:()=>{i(!1)},record:s},children:L.jsx(c,{open:o,onOpenChange:i,content:r,placement:"rightTop",children:L.jsx("a",{children:d})})}):L.jsx("a",{href:s?.url,children:d});return L.jsxs("div",{className:ve,style:e.style,children:[u,L.jsx("div",{className:ie,children:e.children})]})}function ln(e){const{collapsed:n}=e,{brandPopoverContent:r}=Ge(),{layoutConfig:o}=X(),[i,a]=t(!1),l=Ze(),s=n?o.compact?"16px":"20px":o.compact?"56px":"64px",{brandInfo:d}=o,u={opacity:n?"0":"1",height:n?"0px":"auto"};let m=L.jsx(L.Fragment,{});if(!d)return L.jsx(L.Fragment,{});let p=[be];n&&p.push(we),d?.logo&&(m="string"==typeof d.logo?L.jsx(Fe,{style:{width:s},src:d.logo,alt:d.name}):L.jsx("div",{className:_e,style:{width:s},children:d.logo}));let h=r?L.jsx(l.Provider,{value:{close:()=>{a(!1)},record:d},children:L.jsx(c,{open:i,onOpenChange:a,content:r,placement:"rightTop",children:L.jsx("a",{children:m})})}):L.jsx("a",{href:d?.url,children:m});return L.jsxs("div",{className:p.join(" "),children:[h,L.jsxs("div",{style:u,children:[L.jsx("span",{children:d?.name}),d.title?L.jsx("span",{className:je,children:d?.title}):L.jsx(L.Fragment,{})]})]})}function sn(e){return L.jsx("div",{style:{...e.style},children:e.children})}sn.displayName="BrandPopoverContent",sn.role=Ve;const{useToken:dn}=d;function cn(e){const{collapsed:n,iconSize:r}=e,{layoutConfig:o}=X(),{layoutIcons:i,avatarPopoverContent:a}=Ge(),[l,s]=t(!1),d=Ye(),{token:u}=dn(),m=o.compact?"20px":"24px";let p={justifyContent:"flex-start",gap:(o.compact?6:8)+"px"},h={height:`${o.headerHeight}px`},x={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",alignItems:"center"};o.flated&&(p={...p,paddingInline:u.padding,margin:"0px",height:"100%"},h={...h,padding:"0px"});const{userInfo:g}=o;n?p={...p,paddingInline:`calc(50% - calc(${m} / 2))`}:x={...x,overflow:"hidden"};let f=L.jsx(L.Fragment,{});g?.avatar&&(f="string"==typeof g.avatar?L.jsx(Fe,{style:{width:m,borderRadius:"999px"},src:g.avatar,alt:g.uid}):g.avatar);const y=i?.itemMoreIcon||L.jsx(Ne,{}),_=L.jsx("div",{className:ke,style:h,children:L.jsxs("a",{style:p,children:[L.jsxs("div",{style:x,children:[f,L.jsxs("div",{className:ye,style:{opacity:n?"0":"1"},children:[L.jsx("h4",{children:g?.uid}),g?.title?void 0:L.jsx("span",{style:{color:u.colorTextSecondary},children:g?.title})]})]}),a?L.jsx("div",{style:{opacity:n?"0":"1",display:"flex",placeItems:"center"},children:L.jsx(nn,{icon:y,size:r||14})}):L.jsx(L.Fragment,{})]})});return a?L.jsx(d.Provider,{value:{close:()=>s(!1),record:g},children:L.jsx(c,{open:l,onOpenChange:s,placement:"right",content:a,children:_})}):_}function un(e){const{iconSize:n=14}=e,{layoutConfig:r}=X(),{userInfo:o}=r,{avatarPopoverContent:i}=Ge(),[a,l]=t(!1),s=Ye();let d=L.jsx(Me,{});const u=n+4,m={width:`${u}px`,height:`${u}px`,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer"};o?.avatar&&(d="string"==typeof o.avatar?L.jsx(Fe,{style:{width:u,borderRadius:"999px"},src:o.avatar,alt:o.uid}):o.avatar);const p=L.jsxs("div",{className:ce,children:[L.jsx("div",{style:m,children:d}),L.jsx("span",{children:o?.uid})]});return i?L.jsx(s.Provider,{value:{close:()=>l(!1),record:o},children:L.jsx(c,{open:a,onOpenChange:l,placement:"left",content:i,children:p})}):L.jsx(L.Fragment,{children:p})}function mn(e){return L.jsx("div",{style:{...e.style},children:e.children})}mn.displayName="AvatarPopoverContent",mn.role=De;const{useToken:pn}=d;function hn(e){const{token:n}=pn(),{layoutIcons:r,toolbarExtraItems:t}=Ge(),o=n.Menu?.iconSize||16,[i,a]=r?.fullScreenIcons?.slice(0,2)||[L.jsx(Le,{}),L.jsx(Te,{})],l=L.jsx(nn,{icon:i,size:o}),s=L.jsx(nn,{icon:a,size:o});return L.jsxs("div",{className:se,children:[e.showAvatar?L.jsxs("div",{className:de,children:[L.jsx(un,{iconSize:o+4}),L.jsx(m,{"data-adminui-role":"desk-toolbar",orientation:"vertical"})]}):L.jsx(L.Fragment,{}),t,L.jsx("div",{className:de,"data-adminui-role":"desk-toolbar",children:L.jsx(Y,{buttons:[L.jsx(u,{icon:s,type:"text"},"minimize"),L.jsx(u,{icon:l,type:"text"},"maximize")]})})]})}function xn(e){const n=L.jsx("div",{className:de,"data-adminui-role":"desk-toolbar",children:e.children});return e?L.jsx(L.Fragment,{children:n}):L.jsx(L.Fragment,{})}xn.displayName="ToolbarExtraItems",xn.role=Ke;const{useToken:gn}=d;function fn(e){const{style:n}=e,{collapsed:r,setCollapsed:t,layoutIcons:o}=Ge(),i={display:"flex",justifyContent:"flex-end",alignItems:"center",width:"100%",height:n?.width,backgroundColor:"transparent"},a={display:"flex",width:n?.width,height:"100%",cursor:"pointer",justifyContent:"center",alignItems:"center"},[l,s]=o?.collapsedIcons?.slice(0,2)||[L.jsx(Ie,{}),L.jsx(Be,{})];return L.jsx("div",{style:i,children:L.jsx("div",{style:a,onClick:()=>{t(!r)},children:r?l:s})})}function yn(e){const{style:n,offset:r=0,top:t}=e,{collapsed:o,setCollapsed:i,layoutIcons:a}=Ge(),{token:l}=gn();let s={right:"-14px"},d={backgroundColor:n?.backgroundColor,border:`solid 1px ${l.colorBorderSecondary}`};t&&(s={...s,right:"-12px",display:"initial"},d={...d,width:"24px",height:"24px",borderRadius:"12px",transform:`translateY(${r+10}px)`});const[c,u]=a?.collapsedIcons?.slice(0,2)||[L.jsx(Be,{}),L.jsx(Ie,{})];return L.jsx("div",{className:xe,style:s,onClick:()=>{i(!o)},children:L.jsx("div",{style:d,className:ge,children:o?c:u})})}function _n(e){const{collapsed:n,setCollapsed:r,layoutIcons:t}=Ge(),[o,i]=t?.mobileAsideIcons?.slice(0,2)||[L.jsx(ze,{}),L.jsx(Pe,{})];return L.jsx("div",{className:Se,children:L.jsx(u,{type:"text",style:{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",...e.style},icon:n?o:i,onClick:()=>{r(!n)}})})}const{Header:vn}=p,{useToken:bn}=d;function jn(e){const{layoutConfig:n}=X(),{token:r}=bn(),t=b(),o=n.headerTransparent||n.headerBlur?Z(r.colorBorderSecondary,.6):r.colorBorderSecondary,i=n.hideBorder?"0px":"1px solid "+o,a=n.flated&&"headMenu"==n.layoutType||"dark"==n.theme?"dark":"light",l=n.flated&&"headMenu"==n.layoutType?"dark":"light",s=n.flated&&"headMenu"==n.layoutType?r.colorPrimary:r.colorBgContainer,c={height:e.height+"px",lineHeight:e.height+"px"};let u=L.jsx(L.Fragment,{}),m={...c,borderBottom:i,backgroundColor:n.headerTransparent?"transparent":s};n.headerBlur&&(m={...m,backgroundColor:Z(s,.6),transform:"translateZ(0)",backdropFilter:"blur(8px)"});let g={...c,fontSize:r.Menu?.iconSize,backgroundColor:"transparent",flex:"none"},f=[ee],y=L.jsx(L.Fragment,{});"headMenu"==n.layoutType?(u=L.jsx("div",{style:c}),m={...m,paddingInlineEnd:r.paddingXS+"px"},y=L.jsx("div",{className:ae,style:{width:n?.asideWidth+"px"},children:L.jsx(tn,{collapsed:!1,iconSize:r.Menu?.iconSize,hideTitle:!0})}),f.push(re)):(m={...m,paddingInline:r.paddingXS+"px"},f.push(ne));let _=L.jsx(an,{children:e.title}),v=L.jsx(_n,{iconSize:n.compact?12:14});const j=[te];n.flated||j.push(Ce);let w="dark"==a?[d.darkAlgorithm]:[d.defaultAlgorithm];return L.jsxs(L.Fragment,{children:[u,L.jsx(h,{theme:{algorithm:w},children:L.jsx(p,{className:f.join(" "),style:g,children:L.jsxs(vn,{className:j.join(" "),style:m,children:[v,y,_,L.jsx(x,{onClick:e=>{t(e.key)},defaultSelectedKeys:e.selectedKeys,selectedKeys:e.selectedKeys,mode:"horizontal",theme:l,classNames:{root:oe},items:e.menuData||[]}),L.jsx(hn,{showAvatar:"rightTop"==n.avatarPosition})]})})})]})}const{Sider:wn}=p,{useToken:kn}=d,{useBreakpoint:Sn}=g;function Cn(e){const n=i([]);n.current=e.openerKeys||[];const[r,o]=t(e.openerKeys),{layoutConfig:a}=X(),{asideWidth:l}=a,s=e.headerHeight,{collapsed:d,setCollapsed:c}=Ge(),{token:u}=kn(),m=b(),p=Sn().xs?0:s,h=a.headerTransparent||a.headerBlur?Z(u.colorBorderSecondary,.6):u.colorBorderSecondary,g=a.hideBorder||0==p&&d?"0px":"1px solid "+h,f="headMenu"==a.layoutType?e.headerHeight:0,y="headMenu"==a.layoutType?"calc(100% - "+e.headerHeight+"px)":"100%";let _={width:`${a.asideWidth}px`,height:`${y}`,insetBlockStart:f+"px",maxWidth:`${a.asideWidth}px`,minWidth:`${a.asideWidth}px`,borderRight:g,position:"fixed",transition:"width 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},v={overflow:"auto",flex:1};const j=u.Menu?.iconSize,w="dark"==a.theme?"dark":"light",k=w;let S=0,C=L.jsx(L.Fragment,{});"leftMenu"==a.layoutType&&(S=a.headerHeight||0,C=a.largeBrand?L.jsx(ln,{collapsed:d,iconSize:j}):L.jsx(on,{collapsed:d,iconSize:j,hideTitle:!0}));const B=a.asideTransparent?"transparent":a.asideBlur?Z(u.colorBgContainer,.6):u.colorBgContainer;_={..._,backgroundColor:B},a.asideBlur&&(_={..._,transform:"translateZ(0)",backdropFilter:"blur(8px)"}),d&&(v={...v,overflow:"hidden"});let I=[ue];I.push(le);let P=L.jsx(L.Fragment,{});switch(a.collapsedPosition){case"bottom":P=L.jsx(fn,{iconSize:j,style:{backgroundColor:B,width:`${s}px`,borderRight:g}});break;case"center":case"top":P=L.jsx(yn,{iconSize:12,top:"top"==a.collapsedPosition,flated:a.flated,offset:S,style:{backgroundColor:B}})}let z=e.menuData||[];return a.asideMenuGroup&&z.forEach(e=>{e.children&&(e.type="group")}),L.jsxs(L.Fragment,{children:[L.jsx("div",{style:{width:d?s:l,flex:`0 0 ${d?s:l}px`,maxWidth:d?s:l,minWidth:d?s:l,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},className:me}),L.jsxs(wn,{width:l,className:I.join(" "),style:_,theme:k,collapsedWidth:p,collapsible:!0,trigger:null,breakpoint:"md",collapsed:d,onCollapse:c,children:[p>0?C:L.jsx(L.Fragment,{}),e.header,L.jsx("div",{style:v,children:L.jsx(x,{onClick:e=>{m(e.key)},onOpenChange:e=>{o(e)},style:{border:"0",background:"transparent",position:"relative",minHeight:"100%"},mode:a.asideMenuInline?"inline":"vertical",selectedKeys:e.selectedKeys,openKeys:d?void 0:r,defaultSelectedKeys:e.selectedKeys,defaultOpenKeys:n.current,theme:w,items:z})}),e.footer,"leftBottom"==a.avatarPosition?L.jsx(cn,{collapsed:d,iconSize:j}):L.jsx(L.Fragment,{}),P]})]})}function Bn(e,n){let r=[],t=[];return e.forEach(e=>{e.key==n[1]&&(t=e.children??[]);const o={...e,children:void 0};r.push(o)}),{rootMenuItems:r,childrenMenuItems:t}}const In=e=>{let n=[];if(!(null==e||e.length<=0))return e.forEach(e=>{let r=Tn(e);r.children=In(e.children),n.push(r)}),n},Pn=(e,n)=>{if(e)return e.map(e=>{const r=Nn(e,n),t={...e,label:r};return e.children&&(t.children=Pn(e.children,n)),t})},zn=(e,n,r,t)=>{if(t){const o="menu"+e.replaceAll("/",".");return t.formatMessage({id:o,defaultMessage:r||n})}return r||n},Nn=(e,n)=>{const r=e.path||"";return zn(r,e.name,e.label,n)},Mn=(e,n)=>zn(e.pathname,e.id,"",n),Tn=e=>({key:e.path||e.name,label:e.label||e.name,icon:e.icon,extra:e.extra,title:e.label});function Ln(e){const n="/"===e?"/":e.replace(/\/+$/,"");if("/"===n)return["/"];const r=n.split("/").filter(Boolean),t=["/"];let o="";for(const e of r)o+=`/${e}`,t.push(o);return t}function Fn(e){let n=Ln(e);return n&&n.length>1&&"/"==n[0]&&n.splice(0,1),n}function En(e){const n=e.length;if(0===n)return[[],[]];const r=[e[1]],t=new Array(n-2);for(let r=1;r<n;r++)t[r-1]=e[r];return[r,t]}function On(e,n){if(n)return!e.endsWith("/")&&e.length>1&&(e+="/"),n.map(n=>{const r=function(e,n){let r=n.path||n.name;r?.startsWith("/")&&(r=r.slice(1));r?.startsWith("./")&&(r=r.slice(2));let t=e+r,o={name:t,path:t,originalPath:t,extra:Rn(n.extra),icon:Rn(n.icon)};return o}(e,n);return n.children&&(r.children=On(r.path,n.children)),r})}function An(e,n){if(n)return!e.endsWith("/")&&e.length>1&&(e+="/"),n.filter(e=>!!e.handle).map(n=>{const r=function(e,n){const{handle:r}=n;let t=n.path;t&&r.params&&(t=C(t,r.params));t?.startsWith("/")&&(t=t.slice(1));let o=e+t,i={...r,path:o,originalPath:n.path,extra:Rn(r.extra),icon:Rn(r.icon)};return i}(e,n);return n.children&&(r.children=An(r.path,n.children)),r})}function Wn(e,n={}){if(!Object.keys(n).some(e=>null!=n[e]))return e.split("/:")[0];const r=e.split("/"),t=[];for(const e of r)if(e.startsWith(":")){const r=e.slice(1),o=n[r];if(null==o)break;t.push(encodeURIComponent(String(o)))}else t.push(e);return t.join("/")}const Rn=n=>e.isValidElement(n)?n:"function"==typeof n||"object"==typeof n?e.createElement(n):null,{useToken:Hn}=d;function $n(n){const{layoutConfig:r,themeSkin:o}=X(),i=y(),{token:l}=Hn(),[s,d]=t(!1),c={backgroundColor:l.colorBgLayout};let u=r.headerHeight||56;r.compact&&(u-=4);const m=r.disabledLocale?n.menuData:Pn(n.menuData,i),p=m&&m?.length>0?m[0].children:[],h=In(p),x=j();console.log(x);const g=w(),{pathname:f}=x,_=Fn(f),v=g[g.length-1],b=v.handle=Mn(v,r.disabledLocale?void 0:i);let C=[],B=[],I=[],P=[];if("leftMenu"==r.layoutType?(P=h||[],B=_):(I=h||[],C=_),r.splitMenu&&_.length>1){const[e,n]=En(_),{rootMenuItems:t,childrenMenuItems:o}=Bn(h,_);"leftMenu"==r.layoutType?(P=t,I=o,B=e,C=n):(P=o,I=t,C=e,B=n)}const z=e.Children.toArray(n.children),N=z.find(n=>e.isValidElement(n)&&n.type.role===We),M=z.find(n=>e.isValidElement(n)&&n.type.role===Re),T=z.find(n=>e.isValidElement(n)&&n.type.role===Xe),F=z.find(n=>e.isValidElement(n)&&n.type.role===De),E=z.find(n=>e.isValidElement(n)&&n.type.role===Ve),O=z.find(n=>e.isValidElement(n)&&n.type.role===qe),A=z.find(n=>e.isValidElement(n)&&n.type.role===Ke),W=Ee,R=a(()=>({collapsed:s,headerHeight:u,layoutIcons:n.layoutIcons,avatarPopoverContent:F,brandPopoverContent:E,toolbarExtraItems:A,setCollapsed:d}),[s,u,n.layoutIcons]),H=k();return Boolean(H.location),console.log(H),document.title=b,L.jsxs(L.Fragment,{children:[L.jsx(W,{value:R,children:L.jsxs(J,{...n,style:c,children:[L.jsx(J.Aside,{children:L.jsx(Cn,{headerHeight:u,header:N,footer:M,menuData:P,selectedKeys:B,openerKeys:B})}),L.jsx(J.Header,{children:L.jsx(jn,{height:u,menuData:I,selectedKeys:C,title:b})}),L.jsx(J.Content,{children:L.jsx(S,{context:{title:b,footer:T}})}),L.jsx(J.Background,{children:o?o.backgroundContent:L.jsx(L.Fragment,{})})]})}),O]})}const Xn=e=>B(e),Dn=()=>Xn("#22222222"),Vn=()=>Xn("#FFFFFF");function qn(e){const n=Ue(),{layoutConfig:r}=X(),t=r.compact?"16px":"20px";let o={justifyContent:"flex-start",paddingInline:r.compact?"14px":"16px",marginInline:"4px",marginBlock:"4px",gap:(r.compact?6:8)+"px"};return n&&(o={...o,paddingInline:`calc(50% - calc(${t} / 2))`}),!e.icon&&n?L.jsx(L.Fragment,{}):L.jsxs("div",{className:he,style:o,children:[L.jsx("div",{children:e.icon}),L.jsx("div",{style:{opacity:n?"0":"1"},children:e.children})]})}function Kn(e){return L.jsx(L.Fragment,{children:e.children})}function Gn(e){return L.jsx("div",{className:pe,children:e.children})}function Un(e){return L.jsx("div",{className:pe,children:e.children})}Kn.displayName="AsideContentItems",qn.displayName="AsideContentItem",Un.displayName="AsideHeaderContent",Un.Items=Kn,Un.Item=qn,Gn.displayName="AsideFooterContent",Gn.Items=Kn,Gn.Item=qn,Gn.role=Re,Un.role=We,Kn.role=He,qn.role=$e;const Jn="adminui-default-config",Yn=()=>{const e=y(),{layoutConfig:n}=X(),{f:r,t:t}=Zn(n.disabledLocale?void 0:e);return{...e,f:r,t:t}},Zn=e=>({f:n=>{const{id:r,defaultMessage:t}=n;return e?e.formatMessage({id:r,defaultMessage:t}):t||r.split(".").pop()},t:(n,r)=>e?e.formatMessage({id:n,defaultMessage:r}):r||n.split(".").pop()}),Qn=e=>{const{brandInfo:n,userInfo:r,...t}=e;return t},er=e=>{e||(e=Jn);const n=window.localStorage.getItem(e);try{if(n)return JSON.parse(n)}catch(e){console.error(e)}},nr=(e,n)=>{n||(n=Jn);const{brandInfo:r,userInfo:t,...o}=e,i=JSON.stringify(o);window.localStorage.setItem(n,i)},rr=(e,n)=>{let r={...e};if(n){const e=n.theme.length<2?n.theme[0]:r.theme;r={...r,primaryColor:n.primaryColor??r.primaryColor,containerBlur:n.containerBlur??r.containerBlur,asideBlur:n.asideBlur??r.asideBlur,asideWidth:n.asideWidth??r.asideWidth,headerBlur:n.asideBlur??r.headerBlur,theme:e}}return r},{useToken:tr}=d,or=e=>L.jsx("div",{...e,children:e.children});function ir(e){return L.jsx(L.Fragment,{children:e.children})}or.displayName="ContentFooter",or.role=Xe,ir.displayName="SoltContent",ir.role=qe;const ar="adminui-locale",lr=(e,n)=>{let r;return Object.entries(n).forEach(([n,t])=>{t.forEach(n=>{n.name==e&&(r=n)})}),r};function sr(e){const n=w(),{pathname:r}=n[0],i={...R,...e.layoutConfig,...er(r)};let l=e.themeSkins||[];const s=a(()=>(e=>{let n={tidy:[],rich:[]};return e.forEach(e=>{"rich"==e.skinType?n.rich.push(e):n.tidy.push(e)}),n})(l),[l]),c=e.locale||localStorage.getItem(ar)||i.locale||"en-US",u=e.menuData?On("/",[e.menuData]):[],[m,p]=t(()=>{if(i.skinName){const e=lr(i.skinName,s);return rr(i,e)}return i}),[x,g]=t(c),y=$,v=H;let b=e.localeMessages||{};const j=a(()=>(e=>{let n=[];return Object.entries(e).forEach(([e,r])=>{n.push({name:r.name,locale:e,flag:r.flag})}),n})(b),[b]),k=e=>{localStorage.setItem(ar,e),g(e)};document.documentElement.style.setProperty("--pageload-bar-color",m.primaryColor),o(()=>{const e=window.document.documentElement;if(e.classList.remove("light","dark"),"system"===m.theme){const n=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";return void e.classList.add(n)}e.classList.add(m.theme)},[m.theme]);const S=a(()=>{if(m.skinName)return lr(m.skinName,s)},[l,m.skinName]),C="system"==(B=m.theme)?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":B;var B;const I=e=>{p(e),nr(e,r)},P=a(()=>({layoutConfig:m,locale:x,languages:j,themeSkin:S,themeSkinMap:s}),[j,x,j,s,S,m]),z=a(()=>({setLayoutConfig:I,setLocale:k}),[]),N=b[x]||b["en-US"],M=["he","ar","fa","ku"].filter(e=>x.startsWith(e)).length?"rtl":"ltr";let T="dark"===C?[d.darkAlgorithm]:[d.defaultAlgorithm],F=m.menuIconSize||14;const E=m.menuIconSize?.1*(F-10)+10:10;m.compact&&(T.push(d.compactAlgorithm),F-=2);let O={darkSubMenuItemBg:"transparent",subMenuItemBg:"transparent",iconSize:F,fontSize:F,itemMarginInline:m.flated?0:4,iconMarginInlineEnd:E,activeBarHeight:m.compact?2:4,darkPopupBg:Dn()[4]};const A={algorithm:T,token:{colorPrimary:m.primaryColor,borderRadius:m.flated?0:6},components:{Menu:O,Layout:{siderBg:"transparent",triggerBg:"transparent",lightSiderBg:"transparent",lightTriggerBg:"transparent"}}};return L.jsx(y.Provider,{value:P,children:L.jsx(v.Provider,{value:z,children:L.jsx(h,{theme:A,locale:N?.antdLocale,direction:M,modal:{mask:{blur:!1}},drawer:{mask:{blur:!1}},prefixCls:"adminui",children:L.jsx(f,{style:{height:"100%",width:"100%"},children:L.jsx(_,{locale:x,messages:N?.messages,children:L.jsx($n,{menuData:u,layoutIcons:e.layoutIcons,children:e.children})})})})})})}sr.AsideHeader=Un,sr.AsideFooter=Gn,sr.Footer=or,sr.AvatarPopoverContent=mn,sr.BrandPopoverContent=sn,sr.SoltContent=ir,sr.HeaderToolbarExtra=xn;var dr={exports:{}},cr=I(dr.exports=function(){var e,n,r={version:"0.2.0"},t=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,n,r){return e<n?n:e>r?r:e}function i(e){return 100*(-1+e)}function a(e,n,r){var o;return(o="translate3d"===t.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+n+"ms "+r,o}r.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},r.status=null,r.set=function(e){var n=r.isStarted();e=o(e,t.minimum,1),r.status=1===e?null:e;var i=r.render(!n),d=i.querySelector(t.barSelector),c=t.speed,u=t.easing;return i.offsetWidth,l(function(n){""===t.positionUsing&&(t.positionUsing=r.getPositioningCSS()),s(d,a(e,c,u)),1===e?(s(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout(function(){s(i,{transition:"all "+c+"ms linear",opacity:0}),setTimeout(function(){r.remove(),n()},c)},c)):setTimeout(n,c)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},t.trickleSpeed)};return t.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var n=r.status;return n?("number"!=typeof e&&(e=(1-n)*o(Math.random()*n,.1,.95)),n=o(n+e,0,.994),r.set(n)):r.start()},r.trickle=function(){return r.inc(Math.random()*t.trickleRate)},e=0,n=0,r.promise=function(t){return t&&"resolved"!==t.state()?(0===n&&r.start(),e++,n++,t.always(function(){0===--n?(e=0,r.done()):r.set((e-n)/e)}),this):this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var n=document.createElement("div");n.id="nprogress",n.innerHTML=t.template;var o,a=n.querySelector(t.barSelector),l=e?"-100":i(r.status||0),d=document.querySelector(t.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),t.showSpinner||(o=n.querySelector(t.spinnerSelector))&&p(o),d!=document.body&&c(d,"nprogress-custom-parent"),d.appendChild(n),n},r.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,n="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return n+"Perspective"in e?"translate3d":n+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function n(){var r=e.shift();r&&r(n)}return function(r){e.push(r),1==e.length&&n()}}(),s=function(){var e=["Webkit","O","Moz","ms"],n={};function r(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,n){return n.toUpperCase()})}function t(n){var r=document.body.style;if(n in r)return n;for(var t,o=e.length,i=n.charAt(0).toUpperCase()+n.slice(1);o--;)if((t=e[o]+i)in r)return t;return n}function o(e){return e=r(e),n[e]||(n[e]=t(e))}function i(e,n,r){n=o(n),e.style[n]=r}return function(e,n){var r,t,o=arguments;if(2==o.length)for(r in n)void 0!==(t=n[r])&&n.hasOwnProperty(r)&&i(e,r,t);else i(e,o[1],o[2])}}();function d(e,n){return("string"==typeof e?e:m(e)).indexOf(" "+n+" ")>=0}function c(e,n){var r=m(e),t=r+n;d(r,n)||(e.className=t.substring(1))}function u(e,n){var r,t=m(e);d(e,n)&&(r=t.replace(" "+n+" "," "),e.className=r.substring(1,r.length-1))}function m(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r}());
11
11
  /* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
12
- * @license MIT */function mr(e){const n=l(e);return function(e){return F.jsx(s,{fallback:F.jsx(pr,{}),children:F.jsx(n,{...e})})}}ee("/* Make clicks pass-through */\n#nprogress_nprogress__aqNSX {\n pointer-events: none;\n}\n\n#nprogress_nprogress__aqNSX .nprogress_bar__jdnDD {\n background: #29d;\n\n position: fixed;\n z-index: 1031;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 2px;\n}\n\n/* Fancy blur effect */\n#nprogress_nprogress__aqNSX .nprogress_peg__hwnh6 {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px #29d, 0 0 5px #29d;\n opacity: 1.0;\n\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n}\n\n/* Remove these to get rid of the spinner */\n#nprogress_nprogress__aqNSX .nprogress_spinner__-lLoD {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n}\n\n#nprogress_nprogress__aqNSX .nprogress_spinner-icon__7g0sk {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n\n border: solid 2px transparent;\n border-top-color: #29d;\n border-left-color: #29d;\n border-radius: 50%;\n\n -webkit-animation: nprogress_nprogress-spinner__agk-h 400ms linear infinite;\n animation: nprogress_nprogress-spinner__agk-h 400ms linear infinite;\n}\n\n.nprogress_nprogress-custom-parent__KxnjL {\n overflow: hidden;\n position: relative;\n}\n\n.nprogress_nprogress-custom-parent__KxnjL #nprogress_nprogress__aqNSX .nprogress_spinner__-lLoD,\n.nprogress_nprogress-custom-parent__KxnjL #nprogress_nprogress__aqNSX .nprogress_bar__jdnDD {\n position: absolute;\n}\n\n@-webkit-keyframes nprogress_nprogress-spinner__agk-h {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n}\n@keyframes nprogress_nprogress-spinner__agk-h {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n\n");const pr=()=>(o(()=>{const e=setTimeout(()=>{ur.start()},200);return()=>{clearTimeout(e),ur.done()}},[]),F.jsx("div",{style:{height:"auto"}})),hr=()=>(o(()=>(ur.start(),()=>{ur.done()}),[location.hostname]),F.jsx("div",{style:{height:"auto"}}));export{dr as AntdLayout,Z as FullScreenButton,mr as LazyPage,pr as PageLoading,hr as RouteLoading,Rn as buildRouteWithParams,Ln as getAntdMenuItem,Qn as getAppIntl,er as getBasicLayoutConfig,Dn as getBlackColors,Mn as getMenuLabel,Tn as getRouterLabel,nr as getStorageConfig,Vn as getWhiteColors,zn as localeMenuData,En as matchPathToKeys,Fn as pathToKeys,In as separateMenuData,tr as setSkinConfig,rr as setStorageConfig,On as splitMenuKeys,Wn as transformMenuData,An as transformRouteToMenuData,Pn as transformToAntdMenuData,Zn as useAppIntl,en as useAvatarPopover,nn as useBrandPopover,D as useConfigAction,q as useConfigState,Ye as useContainerOutlet,Je as useMainCollapsed,V as useTheme};
12
+ * @license MIT */function ur(e){const n=l(e);return function(e){return L.jsx(s,{fallback:L.jsx(mr,{}),children:L.jsx(n,{...e})})}}Q("/* Make clicks pass-through */\n#nprogress_nprogress__aqNSX {\n pointer-events: none;\n}\n\n#nprogress_nprogress__aqNSX .nprogress_bar__jdnDD {\n background: #29d;\n\n position: fixed;\n z-index: 1031;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 2px;\n}\n\n/* Fancy blur effect */\n#nprogress_nprogress__aqNSX .nprogress_peg__hwnh6 {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px #29d, 0 0 5px #29d;\n opacity: 1.0;\n\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n}\n\n/* Remove these to get rid of the spinner */\n#nprogress_nprogress__aqNSX .nprogress_spinner__-lLoD {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n}\n\n#nprogress_nprogress__aqNSX .nprogress_spinner-icon__7g0sk {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n\n border: solid 2px transparent;\n border-top-color: #29d;\n border-left-color: #29d;\n border-radius: 50%;\n\n -webkit-animation: nprogress_nprogress-spinner__agk-h 400ms linear infinite;\n animation: nprogress_nprogress-spinner__agk-h 400ms linear infinite;\n}\n\n.nprogress_nprogress-custom-parent__KxnjL {\n overflow: hidden;\n position: relative;\n}\n\n.nprogress_nprogress-custom-parent__KxnjL #nprogress_nprogress__aqNSX .nprogress_spinner__-lLoD,\n.nprogress_nprogress-custom-parent__KxnjL #nprogress_nprogress__aqNSX .nprogress_bar__jdnDD {\n position: absolute;\n}\n\n@-webkit-keyframes nprogress_nprogress-spinner__agk-h {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n}\n@keyframes nprogress_nprogress-spinner__agk-h {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n\n");const mr=()=>(o(()=>{const e=setTimeout(()=>{cr.start()},200);return()=>{clearTimeout(e),cr.done()}},[]),L.jsx("div",{style:{height:"auto"}})),pr=()=>(o(()=>(cr.start(),()=>{cr.done()}),[location.hostname]),L.jsx("div",{style:{height:"auto"}}));export{sr as AntdLayout,Y as FullScreenButton,ur as LazyPage,mr as PageLoading,pr as RouteLoading,Wn as buildRouteWithParams,Tn as getAntdMenuItem,Zn as getAppIntl,Qn as getBasicLayoutConfig,Dn as getBlackColors,Nn as getMenuLabel,Mn as getRouterLabel,er as getStorageConfig,Vn as getWhiteColors,Pn as localeMenuData,Fn as matchPathToKeys,Ln as pathToKeys,Bn as separateMenuData,rr as setSkinConfig,nr as setStorageConfig,En as splitMenuKeys,On as transformMenuData,An as transformRouteToMenuData,In as transformToAntdMenuData,Yn as useAppIntl,Qe as useAvatarPopover,en as useBrandPopover,D as useConfigAction,X as useConfigState,Je as useContainerOutlet,Ue as useMainCollapsed,V as useTheme};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminui-dev/antd-layout",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "this project name is @adminui-dev/antd-layout",
5
5
  "keywords": [
6
6
  "layut",
@@ -46,7 +46,7 @@
46
46
  },
47
47
  "dependencies": {
48
48
  "tslib": "^2.6.0",
49
- "@adminui-dev/layout":"1.0.7"
49
+ "@adminui-dev/layout":"1.0.8"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@rollup/plugin-commonjs": "^25.0.0",