Files
leoncloud_temeplate/out/_next/static/chunks/ee98e82c6307295e.js

34 lines
54 KiB
JavaScript
Raw Normal View History

2025-11-16 21:58:57 +08:00
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,54871,e=>{"use strict";var t=e.i(43476),r=e.i(71645);e.i(47167);var o=e.i(7670),n=e.i(95669),i=e.i(40799),a=e.i(75149),l=e.i(94425),s=e.i(42196),u=e.i(35057),d=e.i(67719),c=e.i(98051),p=e.i(95761);function f(e){return(0,p.default)("MuiAppBar",e)}(0,c.default)("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);let m=(e,t)=>e?`${e?.replace(")","")}, ${t})`:t,h=(0,i.styled)(d.default,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`position${(0,s.default)(r.position)}`],t[`color${(0,s.default)(r.color)}`]]}})((0,a.default)(({theme:e})=>({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0,variants:[{props:{position:"fixed"},style:{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}}},{props:{position:"absolute"},style:{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"sticky"},style:{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0}},{props:{position:"static"},style:{position:"static"}},{props:{position:"relative"},style:{position:"relative"}},{props:{color:"inherit"},style:{"--AppBar-color":"inherit"}},{props:{color:"default"},style:{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[100],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[100]),...e.applyStyles("dark",{"--AppBar-background":e.vars?e.vars.palette.AppBar.defaultBg:e.palette.grey[900],"--AppBar-color":e.vars?e.vars.palette.text.primary:e.palette.getContrastText(e.palette.grey[900])})}},...Object.entries(e.palette).filter((0,u.default)(["contrastText"])).map(([t])=>({props:{color:t},style:{"--AppBar-background":(e.vars??e).palette[t].main,"--AppBar-color":(e.vars??e).palette[t].contrastText}})),{props:e=>!0===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)"}},{props:e=>!1===e.enableColorOnDark&&!["inherit","transparent"].includes(e.color),style:{backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundColor:e.vars?m(e.vars.palette.AppBar.darkBg,"var(--AppBar-background)"):null,color:e.vars?m(e.vars.palette.AppBar.darkColor,"var(--AppBar-color)"):null})}},{props:{color:"transparent"},style:{"--AppBar-background":"transparent","--AppBar-color":"inherit",backgroundColor:"var(--AppBar-background)",color:"var(--AppBar-color)",...e.applyStyles("dark",{backgroundImage:"none"})}}]}))),g=r.forwardRef(function(e,r){let i=(0,l.useDefaultProps)({props:e,name:"MuiAppBar"}),{className:a,color:u="primary",enableColorOnDark:d=!1,position:c="fixed",...p}=i,m={...i,color:u,position:c,enableColorOnDark:d},g=(e=>{let{color:t,position:r,classes:o}=e,i={root:["root",`color${(0,s.default)(t)}`,`position${(0,s.default)(r)}`]};return(0,n.default)(i,f,o)})(m);return(0,t.jsx)(h,{square:!0,component:"header",ownerState:m,elevation:4,className:(0,o.default)(g.root,a,"fixed"===c&&"mui-fixed"),ref:r,...p})});var y=e.i(19646);function v(e){return(0,p.default)("MuiToolbar",e)}(0,c.default)("MuiToolbar",["root","gutters","regular","dense"]);let b=(0,i.styled)("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})((0,a.default)(({theme:e})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:e.mixins.toolbar}]}))),x
2025-11-15 22:02:46 +08:00
${s}.classList.add('${e}'.replace('%s', colorScheme));`}let p=c.match(/\[([^[\]]+)\]/);if(p){let[e,t]=p[1].split("=");t||(d+=`${s}.removeAttribute('${e}'.replace('%s', light));
${s}.removeAttribute('${e}'.replace('%s', dark));`),d+=`
${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else d+=`${s}.setAttribute('${c}', colorScheme);`;return(0,t.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?u:"",dangerouslySetInnerHTML:{__html:`(function() {
try {
let colorScheme = '';
const mode = localStorage.getItem('${i}') || '${r}';
const dark = localStorage.getItem('${a}-dark') || '${n}';
const light = localStorage.getItem('${a}-light') || '${o}';
if (mode === 'system') {
// handle system mode
const mql = window.matchMedia('(prefers-color-scheme: dark)');
if (mql.matches) {
colorScheme = dark
} else {
colorScheme = light
}
}
if (mode === 'light') {
colorScheme = light;
}
if (mode === 'dark') {
colorScheme = dark;
}
if (colorScheme) {
${d}
}
2025-11-16 21:58:57 +08:00
} catch(e){}})();`}},"mui-color-scheme-init")})({colorSchemeStorageKey:a,defaultLightColorScheme:m,defaultDarkColorScheme:h,modeStorageKey:i,...e})}}({themeId:tc.default,theme:()=>(0,tk.default)({cssVariables:!0}),colorSchemeStorageKey:"mui-color-scheme",modeStorageKey:"mui-mode",defaultColorScheme:{light:"light",dark:"dark"},resolveTheme:e=>{let t={...e,typography:(0,tE.default)(e.palette,e.typography)};return t.unstable_sx=function(e){return(0,tf.default)({sx:e,theme:this})},t}});function tR({theme:e,...o}){let n=r.useMemo(()=>{if("function"==typeof e)return e;let t=tc.default in e?e[tc.default]:e;return"colorSchemes"in t?null:"vars"in t?e:{...e,vars:null}},[e]);return n?(0,t.jsx)(tp,{theme:n,...o}):(0,t.jsx)(tC,{theme:e,...o})}var tT=e.i(6376),tj=e.i(35642);let tP="function"==typeof(0,tj.globalCss)({}),tA=(e,t=!1)=>{let r={};t&&e.colorSchemes&&"function"==typeof e.getColorSchemeSelector&&Object.entries(e.colorSchemes).forEach(([t,o])=>{let n=e.getColorSchemeSelector(t);n.startsWith("@")?r[n]={":root":{colorScheme:o.palette?.mode}}:r[n.replace(/\s*&/,"")]={colorScheme:o.palette?.mode}});let o={html:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}},"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...{color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}},"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...r},n=e.components?.MuiCssBaseline?.styleOverrides;return n&&(o=[o,n]),o},tI="mui-ecs",t_=(0,tj.globalCss)(tP?({theme:e,enableColorScheme:t})=>tA(e,t):({theme:e})=>{let t,r;return r=Array.isArray(t=tA(e,!1))?t[0]:t,!e.vars&&r&&(r.html[`:root:has(${tI})`]={colorScheme:e.palette.mode}),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([t,o])=>{let n=e.getColorSchemeSelector(t);n.startsWith("@")?r[n]={[`:root:not(:has(.${tI}))`]:{colorScheme:o.palette?.mode}}:r[n.replace(/\s*&/,"")]={[`&:not(:has(.${tI}))`]:{colorScheme:o.palette?.mode}}}),t}),t$=function(e){let{children:o,enableColorScheme:n=!1}=(0,l.useDefaultProps)({props:e,name:"MuiCssBaseline"});return(0,t.jsxs)(r.Fragment,{children:[tP&&(0,t.jsx)(t_,{enableColorScheme:n}),!tP&&!n&&(0,t.jsx)("span",{className:tI,style:{display:"none"}}),o]})};function tL(e){return(0,p.default)("MuiListSubheader",e)}(0,c.default)("MuiListSubheader",["root","colorPrimary","colorInherit","gutters","inset","sticky"]);let tN=(0,i.styled)("li",{name:"MuiListSubheader",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${(0,s.default)(r.color)}`],!r.disableGutters&&t.gutters,r.inset&&t.inset,!r.disableSticky&&t.sticky]}})((0,a.default)(({theme:e})=>({boxSizing:"border-box",lineHeight:"48px",listStyle:"none",color:(e.vars||e).palette.text.secondary,fontFamily:e.typography.fontFamily,fontWeight:e.typography.fontWeightMedium,fontSize:e.typography.pxToRem(14),variants:[{props:{color:"primary"},style:{color:(e.vars||e).palette.primary.main}},{props:{color:"inherit"},style:{color:"inherit"}},{props:({ownerState:e})=>!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>e.inset,style:{paddingLeft:72}},{props:({ownerState:e})=>!e.disableSticky,style:{position:"sticky",top:0,zIndex:1,backgroundColor:(e.vars||e).palette.background.paper}}]}))),tO=r.forwardRef(function(e,r){let i=(0,l.useDefaultProps)({props:e,name:"MuiListSubheader"}),{className:a,color:u="default",component:d="li",disableGutters:c=!1,disableSticky:p=!1,inset:f=!1,...m}=i,h={...i,color:u,component:d,disableGutters:c,disableSticky:p,inset:f},g=(e=>{let{classes:t,color:r,disableGutters:o,inset:i,disableSticky:a}=e,l={root:["root","default"!==r&&`color${(0,s.default)(r)}`,!o&&"gutters",i&&"inset",!a&&"sticky"]};return(0,n.default)(l,tL,t)})(h);return(0,t.jsx)(tN,{as:d,className:(0,o.default)(g.root,a),ref:r,ownerState:h,...m})});
2025-11-16 15:48:42 +08:00
_____ ______ __ __
| |_.-----.-----.-----.| | |.-----.--.--.--| |
| | -__| _ | || ---| || _ | | | _ |
|_______|_____|_____|__|__||______|__||_____|_____|_____|
2025-11-16 21:58:57 +08:00
`,"blue"),tD("恭喜你发现了彩蛋!","red"),tD("LeonCloud是Leon突发奇想搞出来的 (=^ _ ^=)","green");let tB=(0,i.styled)(tO)({backgroundImage:"var(--Paper-overlay)"}),tz=(0,tT.createTheme)({typography:{fontFamily:"inherit"}});e.s(["default",0,({children:e})=>{let[o,n]=r.default.useState(null),i=e=>{n(e.currentTarget)};return(0,t.jsxs)(tR,{theme:tz,children:[(0,t.jsx)(t$,{}),(0,t.jsx)(y.default,{sx:{flexGrow:1},children:(0,t.jsx)(g,{position:"static",children:(0,t.jsxs)(x,{children:[(0,t.jsxs)(y.default,{sx:{display:"flex",alignItems:"center"},children:[(0,t.jsx)(S.default,{variant:"h6",component:"div",sx:{mr:2,cursor:"pointer"},onClick:()=>window.location.href="/",children:"LeonCloud"}),(0,t.jsx)(k.default,{id:"menu-appbar","aria-controls":"menu-appbar","aria-haspopup":"true",onClick:i,color:"inherit",children:(0,t.jsx)(S.default,{variant:"body1",component:"span",children:"项目"})})]}),(0,t.jsxs)(eJ,{id:"menu-appbar",anchorEl:o,keepMounted:!0,open:!!o,onClose:()=>{n(null)},children:[(0,t.jsx)(tB,{children:"Web"}),(0,t.jsx)(e3,{onClick:()=>window.location.href="/project/leonpan",children:"LeonPan"}),(0,t.jsx)(e3,{onClick:()=>window.location.href="/project/leonapp",children:"LeonAPP"}),(0,t.jsx)(tB,{children:"其它"}),(0,t.jsx)(e3,{onClick:()=>window.location.href="/project/leonbasic",children:"LeonBasic"})]}),(0,t.jsxs)(y.default,{sx:{display:"flex",alignItems:"center"},children:[(0,t.jsx)(S.default,{variant:"body1",component:"span",sx:{mr:2,cursor:"pointer"},onClick:()=>window.location.href="/support",children:"技术支持"}),(0,t.jsx)(k.default,{id:"menu-appbar","aria-controls":"menu-appbar","aria-haspopup":"true",onClick:i,color:"inherit"})]}),(0,t.jsx)(y.default,{sx:{flexGrow:1}})]})})}),e,(0,t.jsx)(y.default,{sx:{bgcolor:"primary.dark",color:"white",py:8,px:2},children:(0,t.jsxs)(e7.default,{maxWidth:"lg",children:[(0,t.jsxs)(y.default,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},justifyContent:"space-between",alignItems:"center",mb:6},children:[(0,t.jsx)(S.default,{variant:"h5",gutterBottom:!0,fontWeight:"bold",children:"LeonCloud"}),(0,t.jsx)(S.default,{variant:"body1",sx:{opacity:.8},children:"LeonMMcoset的所有产品的运营商"})]}),(0,t.jsx)(y.default,{sx:{height:1,bgcolor:"white",opacity:.1,mb:6}}),(0,t.jsxs)(S.default,{variant:"body2",align:"center",paragraph:!0,children:["© ",new Date().getFullYear()," LeonCloud. 保留所有权利。"]}),(0,t.jsx)(S.default,{variant:"caption",align:"center",color:"rgba(255,255,255,0.7)",children:"我们的宗旨是给用户提供简单、安全、高效、全方面的服务"})]})})]})}],54871)}]);