-p.value&&Y+r2<-p.value+N?p.value=Math.min(0,N-r2-Y-A):p.value=-(Y-(N-A-r2))},z=$=>{var Y;const A=o2.value?(Y=o2.value)==null?void 0:Y.offsetWidth:0,P=T.value?T.value.offsetWidth:0;$>0?p.value=Math.min(0,p.value+$):A=-(P-A)&&(p.value=Math.max(p.value+$,A-P)):p.value=0};function O($){const A=e.value.some(Y=>Y.path===$);function P(Y,r2){A||Y.forEach(N=>{N.path===r2||N.path===r2?T2().handleTags("push",{path:r2,meta:N.meta,name:N.name}):N.children&&N.children.length>0&&P(N.children,r2)})}P(h.options.routes,$)}function W(){const{fullPath:$,query:A}=o(n);h.replace({path:"/redirect"+$,query:A}),y3(n,"refresh")}function R($,A,P){var s2,n2,a2,L2;const Y=e.value.findIndex(C2=>{if(C2.query){if(C2.path===$.path)return C2.query===$.query}else if(C2.params){if(C2.path===$.path)return C2.params===$.params}else return C2.path===$.path}),r2=(C2,qn,_n)=>{_n?T2().handleTags("equal",[L==="false"?X3[0]:_2(t3()),$]):T2().handleTags("splice","",{startIndex:C2,length:qn}),c()};P==="other"?r2(1,1,!0):P==="left"?r2(1,Y-1):P==="right"?r2(Y+1,e.value.length):r2(Y,1);const N=T2().handleTags("slice");if(A===n.path){if(P==="left")return;(s2=N[0])!=null&&s2.query?h.push({name:N[0].name,query:N[0].query}):(n2=N[0])!=null&&n2.params?h.push({name:N[0].name,params:N[0].params}):h.push({path:N[0].path})}else{if(!e.value.length||e.value.some(C2=>C2.path===n.path))return;(a2=N[0])!=null&&a2.query?h.push({name:N[0].name,query:N[0].query}):(L2=N[0])!=null&&L2.params?h.push({name:N[0].name,params:N[0].params}):h.push({path:N[0].path})}}function D($,A){R($,$.path,A),y3(n)}function K($,A,P){if(A&&A.disabled)return;let Y;switch(P?Y={path:P.path,meta:P.meta,name:P.name,query:P==null?void 0:P.query,params:P==null?void 0:P.params}:Y={path:n.path,meta:n.meta},$){case 0:W();break;case 1:D(Y);break;case 2:D(Y,"left");break;case 3:D(Y,"right");break;case 4:D(Y,"other");break;case 5:T2().handleTags("splice","",{startIndex:1,length:e.value.length}),h.push(Z),y3(n);break;case 6:c2(),setTimeout(()=>{H.value?(l[6].icon=O3,l[6].text="退出全屏"):(l[6].icon=J2,l[6].text="全屏")},100);break;case 7:u2(),setTimeout(()=>{m.hiddenSideBar?(l[7].icon=O3,l[7].text="内容区退出全屏"):(l[7].icon=J2,l[7].text="内容区全屏")},100);break}setTimeout(()=>{j2(n.fullPath,n.query)})}function e2($){const{key:A,item:P}=$;K(A,P)}function m2($,A){K($,A,C.value)}function b2($){Array.of(1,2,3,4,5).forEach(A=>{l[A].show=$})}function X($){Array.of(1,2,3,4,5).forEach(A=>{l[A].disabled=$})}function j2($,A={},P=!1){const Y=e.value,r2=e.value.length;let N=-1;R2(A)?N=Y.findIndex(s2=>s2.path===$):N=Y.findIndex(s2=>H2(s2.query,A)),b2(!0),P&&(l[0].show=!0),N===1&&r2!==2?(l[2].show=!1,Array.of(1,3,4,5).forEach(s2=>{l[s2].disabled=!1}),l[2].disabled=!0):N===1&&r2===2?(X(!1),Array.of(2,3,4).forEach(s2=>{l[s2].show=!1,l[s2].disabled=!0})):r2-1===N&&N!==0?(l[3].show=!1,Array.of(1,2,4,5).forEach(s2=>{l[s2].disabled=!1}),l[3].disabled=!0):N===0||$===`/redirect${Z}`?X(!0):X(!1)}function y2($,A){v(),$.path===Z?(b2(!1),l[0].show=!0):n.path!==$.path&&n.name!==$.name?(l[0].show=!1,j2($.path,$.query)):e.value.length===2&&n.path!==$.path?(b2(!0),l[4].show=!1):n.path===$.path&&j2($.path,$.query,!0),C.value=$;const P=105,Y=o(Q).getBoundingClientRect().left,N=o(Q).offsetWidth-P,s2=A.clientX-Y+5;s2>N?b.value=N:b.value=s2,C3().hiddenSideBar?d.value=A.clientY:d.value=A.clientY-40,D2(()=>{g.value=!0})}function wn($){const{name:A,path:P}=$;A?$.query?h.push({name:A,query:$.query}):$.params?h.push({name:A,params:$.params}):h.push({name:A}):h.push({path:P})}return Z2(n,()=>{y.value=-1,c()}),Z2(H,()=>{l[6].icon=J2,l[6].text="全屏"}),w(()=>{u&&(j2(n.fullPath),x2.on("tagViewsChange",$=>{o(t)!==$&&(t.value=$)}),x2.on("tagViewsShowModel",$=>{s.value=$}),x2.on("changLayoutRoute",$=>{O($),setTimeout(()=>{j2($)})}),x3(o2,N2(()=>c())))}),_3(()=>{x2.off("tagViewsChange"),x2.off("tagViewsShowModel"),x2.off("changLayoutRoute")}),($,A)=>{const P=q("IconifyIconOffline"),Y=q("router-link"),r2=q("el-dropdown-item"),N=q("el-dropdown-menu"),s2=q("el-dropdown");return o(t)?J("",!0):(f(),I("div",{key:0,ref_key:"containerDom",ref:Q,class:"tags-view"},[M2(x("span",i1,[a(P,{icon:o(Q4),onClick:A[0]||(A[0]=n2=>z(200))},null,8,["icon"])],512),[[W2,i2.value]]),x("div",{ref_key:"scrollbarDom",ref:o2,class:"scroll-container"},[x("div",{class:"tab select-none",ref_key:"tabDom",ref:T,style:z2(o(_))},[(f(!0),I(q2,null,v2(o(e),(n2,a2)=>(f(),I("div",{ref_for:!0,ref:"dynamic"+a2,key:a2,class:f2(["scroll-item is-closable",o(k)(n2),o(n).path===n2.path&&o(s)==="card"?"card-active":""]),onContextmenu:F2(L2=>y2(n2,L2),["prevent"]),onMouseenter:F2(L2=>o(E)(a2),["prevent"]),onMouseleave:F2(L2=>o(U)(a2),["prevent"]),onClick:L2=>wn(n2)},[a(Y,{to:n2.path,class:"dark:!text-text_color_primary dark:hover:!text-primary"},{default:j(()=>[g2(h2(n2.meta.title),1)]),_:2},1032,["to"]),o(S)(n2,a2)||a2===o(y)&&a2!==0?(f(),I("span",{key:0,class:"el-icon-close",onClick:F2(L2=>D(n2),["stop"])},[a(P,{icon:o(n1)},null,8,["icon"])],8,g1)):J("",!0),o(s)!=="card"?(f(),I("div",{key:1,ref_for:!0,ref:"schedule"+a2,class:f2([o(G)(n2)])},null,2)):J("",!0)],42,h1))),128))],4)],512),M2(x("span",e1,[a(P,{icon:o(X4),onClick:A[1]||(A[1]=n2=>z(-200))},null,8,["icon"])],512),[[W2,i2.value]]),a(v3,{name:"el-zoom-in-top"},{default:j(()=>[M2((f(),I("ul",{key:Math.random(),style:z2(o(F)),class:"contextmenu"},[(f(!0),I(q2,null,v2(o(l).slice(0,6),(n2,a2)=>(f(),I("div",{key:a2,style:{display:"flex","align-items":"center"}},[n2.show?(f(),I("li",{key:0,onClick:L2=>m2(a2,n2)},[a(P,{icon:n2.icon},null,8,["icon"]),g2(" "+h2(n2.text),1)],8,u1)):J("",!0)]))),128))],4)),[[W2,o(g)]])]),_:1}),a(s2,{trigger:"click",placement:"bottom-end",onCommand:e2},{dropdown:j(()=>[a(N,null,{default:j(()=>[(f(!0),I(q2,null,v2(o(l),(n2,a2)=>(f(),V(r2,{key:a2,command:{key:a2,item:n2},divided:n2.divided,disabled:n2.disabled},{default:j(()=>[a(P,{icon:n2.icon},null,8,["icon"]),g2(" "+h2(n2.text),1)]),_:2},1032,["command","divided","disabled"]))),128))]),_:1})]),default:j(()=>[x("span",t1,[a(P,{icon:o(K4),class:"dark:text-white"},null,8,["icon"])])]),_:1})],512))}}});const s1=p2(o1,[["__scopeId","data-v-b25e9893"]]),l1={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24"},c1=x("path",{fill:"none",d:"M0 0h24v24H0z"},null,-1),r1=x("path",{d:"M2.88 18.054a35.897 35.897 0 0 1 8.531-16.32.8.8 0 0 1 1.178 0c.166.18.304.332.413.455a35.897 35.897 0 0 1 8.118 15.865c-2.141.451-4.34.747-6.584.874l-2.089 4.178a.5.5 0 0 1-.894 0l-2.089-4.178a44.019 44.019 0 0 1-6.584-.874zm6.698-1.123 1.157.066L12 19.527l1.265-2.53 1.157-.066a42.137 42.137 0 0 0 4.227-.454A33.913 33.913 0 0 0 12 4.09a33.913 33.913 0 0 0-6.649 12.387c1.395.222 2.805.374 4.227.454zM12 15a3 3 0 1 1 0-6 3 3 0 0 1 0 6zm0-2a1 1 0 1 0 0-2 1 1 0 0 0 0 2z"},null,-1),a1=[c1,r1];function d1(i,n){return f(),I("svg",l1,a1)}const fn={render:d1},y1={key:1},z1=t2({__name:"appMain",props:{fixedHeader:Boolean},setup(i){const n=i,{$storage:h,$config:g}=k3(),t=B(()=>g==null?void 0:g.KeepAlive),u=B(()=>s=>s.meta.transition),e=B(()=>h==null?void 0:h.configure.hideTabs),l=B(()=>(h==null?void 0:h.layout.layout)==="vertical"),d=B(()=>[e.value&&l?"padding-top: 48px;":"",!e.value&&l?"padding-top: 85px;":"",e.value&&!l.value?"padding-top: 48px":"",!e.value&&!l.value?"padding-top: 85px;":"",n.fixedHeader?"":"padding-top: 0;"]),b=t2({render(){return G2(v3,{name:u.value(this.route)&&this.route.meta.transition.enterTransition?"pure-classes-transition":u.value(this.route)&&this.route.meta.transition.name||"fade-transform",enterActiveClass:u.value(this.route)&&`animate__animated ${this.route.meta.transition.enterTransition}`,leaveActiveClass:u.value(this.route)&&`animate__animated ${this.route.meta.transition.leaveTransition}`,mode:"out-in",appear:!0},{default:()=>[this.$slots.default()]})},props:{route:{type:void 0,required:!0}}});return(s,p)=>{const m=q("el-backtop"),y=q("el-scrollbar"),_=q("router-view");return f(),I("section",{class:f2([n.fixedHeader?"app-main":"app-main-nofixed-header"]),style:z2(d.value)},[a(_,null,{default:j(({Component:S,route:k})=>[n.fixedHeader?(f(),V(y,{key:0},{default:j(()=>[a(m,{title:"回到顶部",target:".app-main .el-scrollbar__wrap"},{default:j(()=>[a(o(fn))]),_:1}),a(o(b),{route:k},{default:j(()=>[t.value?(f(),V(P3,{key:0,include:o(w2)().cachePageList},[(f(),V(A2(S),{key:k.fullPath,class:"main-content"}))],1032,["include"])):(f(),V(A2(S),{key:k.fullPath,class:"main-content"}))]),_:2},1032,["route"])]),_:2},1024)):(f(),I("div",y1,[a(o(b),{route:k},{default:j(()=>[t.value?(f(),V(P3,{key:0,include:o(w2)().cachePageList},[(f(),V(A2(S),{key:k.fullPath,class:"main-content"}))],1032,["include"])):(f(),V(A2(S),{key:k.fullPath,class:"main-content"}))]),_:2},1032,["route"])]))]),_:1})],6)}}});const W3=p2(z1,[["__scopeId","data-v-ffe9c65c"]]),E3=i=>(i3("data-v-e23adae8"),i=i(),h3(),i),f1=E3(()=>x("div",{class:"right-panel-background"},null,-1)),p1={class:"right-panel-items"},m1={class:"project-configuration"},b1=E3(()=>x("h4",{class:"dark:text-white"},"项目配置",-1)),j1=E3(()=>x("div",{class:"border-b-[1px] border-solid border-[#dcdfe6] dark:border-[#303030]"},null,-1)),x1=t2({__name:"index",setup(i){const n=M(null),h=M(!1),g=B(()=>["mr-[20px]","outline-none","width-[20px]","height-[20px]","rounded-[4px]","cursor-pointer","transition-colors","hover:bg-[#0000000f]","dark:hover:bg-[#ffffff1f]","dark:hover:text-[#ffffffd9]"]);return Dn(n,t=>{t.clientX>n.value.offsetLeft||(h.value=!1)}),E2(()=>{x2.on("openPanel",()=>{h.value=!0})}),_3(()=>{x2.off("openPanel")}),(t,u)=>{const e=q("IconifyIconOffline");return f(),I("div",{class:f2([{show:h.value},"right-panel-container"])},[f1,x("div",{ref_key:"target",ref:n,class:"right-panel bg-bg_color"},[x("div",p1,[x("div",m1,[b1,x("span",{title:"关闭配置",class:f2(g.value)},[a(e,{class:"dark:text-white",width:"20px",height:"20px",icon:o(zn),onClick:u[0]||(u[0]=l=>h.value=!h.value)},null,8,["icon"])],2)]),j1,Nn(t.$slots,"default",{},void 0,!0)])],512)],2)}}});const w1=p2(x1,[["__scopeId","data-v-e23adae8"]]),q1={width:1024,height:1024,body:''},k2=i=>(i3("data-v-b2e088d9"),i=i(),h3(),i),_1={class:"pure-theme"},v1=k2(()=>x("div",null,null,-1)),k1=k2(()=>x("div",null,null,-1)),C1=[v1,k1],$1=k2(()=>x("div",null,null,-1)),S1=k2(()=>x("div",null,null,-1)),I1=[$1,S1],T1=k2(()=>x("div",null,null,-1)),M1=k2(()=>x("div",null,null,-1)),E1=[T1,M1],L1={class:"theme-color"},V1=["onClick"],A1={class:"setting"},O1=k2(()=>x("span",{class:"dark:text-white"},"灰色模式",-1)),P1=k2(()=>x("span",{class:"dark:text-white"},"色弱模式",-1)),D1=k2(()=>x("span",{class:"dark:text-white"},"隐藏标签页",-1)),N1=k2(()=>x("span",{class:"dark:text-white"},"侧边栏Logo",-1)),R1=k2(()=>x("span",{class:"dark:text-white"},"标签页持久化",-1)),H1=k2(()=>x("span",{class:"dark:text-white"},"标签风格",-1)),Z1=t2({__name:"index",setup(i){var c2,c;const n=n3(),{isDark:h}=Q3(),{device:g,tooltipEffect:t}=S2(),{$storage:u}=k3(),e=M(),l=M(),d=M(),{dataTheme:b,layoutTheme:s,themeColors:p,dataThemeChange:m,setEpThemeColor:y,setLayoutThemeColor:_}=hn();if(o(s)){const r=o(s).layout,z=o(s).theme;Gn({scopeName:`layout-theme-${z}`}),H(r)}const S=M(((c2=u.configure)==null?void 0:c2.showModel)??"smart"),k=M(((c=u.configure)==null?void 0:c.showLogo)??!0),C=X2({greyVal:u.configure.grey,weakVal:u.configure.weak,tabsVal:u.configure.hideTabs,showLogo:u.configure.showLogo,showModel:u.configure.showModel,multiTagsCache:u.configure.multiTagsCache}),G=B(()=>r=>({background:r})),F=B(()=>r=>!(r==="light"&&h.value));function v(r,z){const O=u.configure;O[r]=z,u.configure=O}function w(r,z,O){const W=O||document.body;let{className:R}=W;R=R.replace(z,"").trim(),W.className=r?`${R} ${z} `:R}const E=r=>{w(C.greyVal,"html-grey",document.querySelector("html")),v("grey",r)},U=r=>{w(C.weakVal,"html-weakness",document.querySelector("html")),v("weak",r)},u2=()=>{const r=C.tabsVal;v("hideTabs",r),x2.emit("tagViewsChange",r)},T=()=>{const r=C.multiTagsCache;v("multiTagsCache",r),T2().multiTagsCacheChange(r)};function Q(){Rn(),B2().clear(),Hn().clear();const{Grey:r,Weak:z,MultiTagsCache:O,EpThemeColor:W,Layout:R}=Y2();P2().setLayout(R),y(W),T2().multiTagsCacheChange(O),w(r,"html-grey",document.querySelector("html")),w(z,"html-weakness",document.querySelector("html")),n.push("/login"),T2().handleTags("equal",[...X3]),Zn()}function o2(r){v("showModel",r),x2.emit("tagViewsShowModel",r)}function i2(){o(k)?v("showLogo",!0):v("showLogo",!1),x2.emit("logoChange",o(k))}function Z(r){r.forEach(z=>{w(!1,"is-select",o(z))})}const L=B(()=>r=>r===s.value.theme&&s.value.theme!=="light"?"#fff":r===s.value.theme&&s.value.theme==="light"?"#1d2b45":"transparent");function H(r){var z,O,W;s.value.layout=r,window.document.body.setAttribute("layout",r),u.layout={layout:r,theme:s.value.theme,darkMode:(z=u.layout)==null?void 0:z.darkMode,sidebarStatus:(O=u.layout)==null?void 0:O.sidebarStatus,epThemeColor:(W=u.layout)==null?void 0:W.epThemeColor},P2().setLayout(r)}return Z2(u,({layout:r})=>{switch(r.layout){case"vertical":w(!0,"is-select",o(l)),N2(Z([d]),50),N2(Z([e]),50);break;case"horizontal":w(!0,"is-select",o(d)),N2(Z([l]),50),N2(Z([e]),50);break;case"mix":w(!0,"is-select",o(e)),N2(Z([l]),50),N2(Z([d]),50);break}}),nn(()=>{D2(()=>{var r,z;C.greyVal&&((r=document.querySelector("html"))==null||r.setAttribute("class","html-grey")),C.weakVal&&((z=document.querySelector("html"))==null||z.setAttribute("class","html-weakness")),C.tabsVal&&u2()})}),(r,z)=>{const O=q("el-divider"),W=q("el-switch"),R=q("el-tooltip"),D=q("IconifyIconOffline"),K=q("el-icon"),e2=q("el-radio"),m2=q("el-radio-group"),b2=q("el-button");return f(),V(w1,null,{default:j(()=>[a(O,null,{default:j(()=>[g2("主题")]),_:1}),a(W,{modelValue:o(b),"onUpdate:modelValue":z[0]||(z[0]=X=>U3(b)?b.value=X:null),"inline-prompt":"",class:"pure-datatheme","active-icon":o(Yn),"inactive-icon":o(Jn),onChange:o(m)},null,8,["modelValue","active-icon","inactive-icon","onChange"]),a(O,null,{default:j(()=>[g2("导航栏模式")]),_:1}),x("ul",_1,[a(R,{effect:o(t),class:"item",content:"左侧模式",placement:"bottom","popper-class":"pure-tooltip"},{default:j(()=>[x("li",{class:f2(o(s).layout==="vertical"?"is-select":""),ref_key:"verticalRef",ref:l,onClick:z[1]||(z[1]=X=>H("vertical"))},C1,2)]),_:1},8,["effect"]),o(g)!=="mobile"?(f(),V(R,{key:0,effect:o(t),class:"item",content:"顶部模式",placement:"bottom","popper-class":"pure-tooltip"},{default:j(()=>[x("li",{class:f2(o(s).layout==="horizontal"?"is-select":""),ref_key:"horizontalRef",ref:d,onClick:z[2]||(z[2]=X=>H("horizontal"))},I1,2)]),_:1},8,["effect"])):J("",!0),o(g)!=="mobile"?(f(),V(R,{key:1,effect:o(t),class:"item",content:"混合模式",placement:"bottom","popper-class":"pure-tooltip"},{default:j(()=>[x("li",{class:f2(o(s).layout==="mix"?"is-select":""),ref_key:"mixRef",ref:e,onClick:z[3]||(z[3]=X=>H("mix"))},E1,2)]),_:1},8,["effect"])):J("",!0)]),a(O,null,{default:j(()=>[g2("主题色")]),_:1}),x("ul",L1,[(f(!0),I(q2,null,v2(o(p),(X,j2)=>M2((f(),I("li",{key:j2,style:z2(G.value(X.color)),onClick:y2=>o(_)(X.themeColor)},[a(K,{style:{margin:"0.1em 0.1em 0 0"},size:17,color:L.value(X.themeColor)},{default:j(()=>[a(D,{icon:o(q1)},null,8,["icon"])]),_:2},1032,["color"])],12,V1)),[[W2,F.value(X.themeColor)]])),128))]),a(O,null,{default:j(()=>[g2("界面显示")]),_:1}),x("ul",A1,[x("li",null,[O1,a(W,{modelValue:C.greyVal,"onUpdate:modelValue":z[4]||(z[4]=X=>C.greyVal=X),"inline-prompt":"","inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:E},null,8,["modelValue"])]),x("li",null,[P1,a(W,{modelValue:C.weakVal,"onUpdate:modelValue":z[5]||(z[5]=X=>C.weakVal=X),"inline-prompt":"","inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:U},null,8,["modelValue"])]),x("li",null,[D1,a(W,{modelValue:C.tabsVal,"onUpdate:modelValue":z[6]||(z[6]=X=>C.tabsVal=X),"inline-prompt":"","inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:u2},null,8,["modelValue"])]),x("li",null,[N1,a(W,{modelValue:k.value,"onUpdate:modelValue":z[7]||(z[7]=X=>k.value=X),"inline-prompt":"","active-value":!0,"inactive-value":!1,"inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:i2},null,8,["modelValue"])]),x("li",null,[R1,a(W,{modelValue:C.multiTagsCache,"onUpdate:modelValue":z[8]||(z[8]=X=>C.multiTagsCache=X),"inline-prompt":"","inactive-color":"#a6a6a6","active-text":"开","inactive-text":"关",onChange:T},null,8,["modelValue"])]),x("li",null,[H1,a(m2,{modelValue:S.value,"onUpdate:modelValue":z[9]||(z[9]=X=>S.value=X),size:"small",onChange:o2},{default:j(()=>[a(e2,{label:"card"},{default:j(()=>[g2("卡片")]),_:1}),a(e2,{label:"smart"},{default:j(()=>[g2("灵动")]),_:1})]),_:1},8,["modelValue"])])]),a(O),a(b2,{type:"danger",style:{width:"90%",margin:"24px 15px"},onClick:Q},{default:j(()=>[a(D,{icon:o(l3),width:"15",height:"15",style:{"margin-right":"4px"}},null,8,["icon"]),g2(" 清空缓存并返回登录页 ")]),_:1})]),_:1})}}});const B1=p2(Z1,[["__scopeId","data-v-b2e088d9"]]),L3=""+new URL("../../logo.png",import.meta.url).href,pn=i=>(i3("data-v-eb470865"),i=i(),h3(),i),W1=pn(()=>x("img",{src:L3,alt:"logo"},null,-1)),F1={class:"sidebar-title"},U1=pn(()=>x("img",{src:L3,alt:"logo"},null,-1)),G1={class:"sidebar-title"},Y1=t2({__name:"logo",props:{collapse:Boolean},setup(i){const n=i,{title:h}=S2();return(g,t)=>{const u=q("router-link");return f(),I("div",{class:f2(["sidebar-logo-container",{collapses:n.collapse}])},[a(v3,{name:"sidebarLogoFade"},{default:j(()=>{var e,l;return[n.collapse?(f(),V(u,{key:"props.collapse",title:o(h),class:"sidebar-logo-link",to:((e=o(t3)())==null?void 0:e.path)??"/"},{default:j(()=>[W1,x("span",F1,h2(o(h)),1)]),_:1},8,["title","to"])):(f(),V(u,{key:"expand",title:o(h),class:"sidebar-logo-link",to:((l=o(t3)())==null?void 0:l.path)??"/"},{default:j(()=>[U1,x("span",G1,h2(o(h)),1)]),_:1},8,["title","to"]))]}),_:1})],2)}}});const J1=p2(Y1,[["__scopeId","data-v-eb470865"]]);var Q2={exports:{}},mn={},K1=function(n){return n&&typeof n=="object"&&typeof n.copy=="function"&&typeof n.fill=="function"&&typeof n.readUInt8=="function"},b3={exports:{}};typeof Object.create=="function"?b3.exports=function(n,h){n.super_=h,n.prototype=Object.create(h.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}})}:b3.exports=function(n,h){n.super_=h;var g=function(){};g.prototype=h.prototype,n.prototype=new g,n.prototype.constructor=n};var X1=b3.exports;(function(i){var n=/%[sdj%]/g;i.format=function(c){if(!F(c)){for(var r=[],z=0;z=W)return K;switch(K){case"%s":return String(O[z++]);case"%d":return Number(O[z++]);case"%j":try{return JSON.stringify(O[z++])}catch{return"[Circular]"}default:return K}}),D=O[z];z=3&&(z.depth=arguments[2]),arguments.length>=4&&(z.colors=arguments[3]),S(r)?z.showHidden=r:r&&i._extend(z,r),w(z.showHidden)&&(z.showHidden=!1),w(z.depth)&&(z.depth=2),w(z.colors)&&(z.colors=!1),w(z.customInspect)&&(z.customInspect=!0),z.colors&&(z.stylize=u),d(z,c,z.depth)}i.inspect=t,t.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},t.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(c,r){var z=t.styles[r];return z?"\x1B["+t.colors[z][0]+"m"+c+"\x1B["+t.colors[z][1]+"m":c}function e(c,r){return c}function l(c){var r={};return c.forEach(function(z,O){r[z]=!0}),r}function d(c,r,z){if(c.customInspect&&r&&Q(r.inspect)&&r.inspect!==i.inspect&&!(r.constructor&&r.constructor.prototype===r)){var O=r.inspect(z,c);return F(O)||(O=d(c,O,z)),O}var W=b(c,r);if(W)return W;var R=Object.keys(r),D=l(R);if(c.showHidden&&(R=Object.getOwnPropertyNames(r)),T(r)&&(R.indexOf("message")>=0||R.indexOf("description")>=0))return s(r);if(R.length===0){if(Q(r)){var K=r.name?": "+r.name:"";return c.stylize("[Function"+K+"]","special")}if(E(r))return c.stylize(RegExp.prototype.toString.call(r),"regexp");if(u2(r))return c.stylize(Date.prototype.toString.call(r),"date");if(T(r))return s(r)}var e2="",m2=!1,b2=["{","}"];if(_(r)&&(m2=!0,b2=["[","]"]),Q(r)){var X=r.name?": "+r.name:"";e2=" [Function"+X+"]"}if(E(r)&&(e2=" "+RegExp.prototype.toString.call(r)),u2(r)&&(e2=" "+Date.prototype.toUTCString.call(r)),T(r)&&(e2=" "+s(r)),R.length===0&&(!m2||r.length==0))return b2[0]+e2+b2[1];if(z<0)return E(r)?c.stylize(RegExp.prototype.toString.call(r),"regexp"):c.stylize("[Object]","special");c.seen.push(r);var j2;return m2?j2=p(c,r,z,D,R):j2=R.map(function(y2){return m(c,r,z,D,y2,m2)}),c.seen.pop(),y(j2,e2,b2)}function b(c,r){if(w(r))return c.stylize("undefined","undefined");if(F(r)){var z="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return c.stylize(z,"string")}if(G(r))return c.stylize(""+r,"number");if(S(r))return c.stylize(""+r,"boolean");if(k(r))return c.stylize("null","null")}function s(c){return"["+Error.prototype.toString.call(c)+"]"}function p(c,r,z,O,W){for(var R=[],D=0,K=r.length;D-1&&(R?K=K.split(`
`).map(function(m2){return" "+m2}).join(`
`).substr(2):K=`
`+K.split(`
`).map(function(m2){return" "+m2}).join(`
`))):K=c.stylize("[Circular]","special")),w(D)){if(R&&W.match(/^\d+$/))return K;D=JSON.stringify(""+W),D.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(D=D.substr(1,D.length-2),D=c.stylize(D,"name")):(D=D.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),D=c.stylize(D,"string"))}return D+": "+K}function y(c,r,z){var O=c.reduce(function(W,R){return R.indexOf(`
`)>=0,W+R.replace(/\u001b\[\d\d?m/g,"").length+1},0);return O>60?z[0]+(r===""?"":r+`
`)+" "+c.join(`,
`)+" "+z[1]:z[0]+r+" "+c.join(", ")+" "+z[1]}function _(c){return Array.isArray(c)}i.isArray=_;function S(c){return typeof c=="boolean"}i.isBoolean=S;function k(c){return c===null}i.isNull=k;function C(c){return c==null}i.isNullOrUndefined=C;function G(c){return typeof c=="number"}i.isNumber=G;function F(c){return typeof c=="string"}i.isString=F;function v(c){return typeof c=="symbol"}i.isSymbol=v;function w(c){return c===void 0}i.isUndefined=w;function E(c){return U(c)&&i2(c)==="[object RegExp]"}i.isRegExp=E;function U(c){return typeof c=="object"&&c!==null}i.isObject=U;function u2(c){return U(c)&&i2(c)==="[object Date]"}i.isDate=u2;function T(c){return U(c)&&(i2(c)==="[object Error]"||c instanceof Error)}i.isError=T;function Q(c){return typeof c=="function"}i.isFunction=Q;function o2(c){return c===null||typeof c=="boolean"||typeof c=="number"||typeof c=="string"||typeof c=="symbol"||typeof c>"u"}i.isPrimitive=o2,i.isBuffer=K1;function i2(c){return Object.prototype.toString.call(c)}function Z(c){return c<10?"0"+c.toString(10):c.toString(10)}var L=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function H(){var c=new Date,r=[Z(c.getHours()),Z(c.getMinutes()),Z(c.getSeconds())].join(":");return[c.getDate(),L[c.getMonth()],r].join(" ")}i.log=function(){console.log("%s - %s",H(),i.format.apply(i,arguments))},i.inherits=X1,i._extend=function(c,r){if(!r||!U(r))return c;for(var z=Object.keys(r),O=z.length;O--;)c[z[O]]=r[z[O]];return c};function c2(c,r){return Object.prototype.hasOwnProperty.call(c,r)}})(mn);var Q1=process.platform==="win32",$2=mn;function c3(i,n){for(var h=[],g=0;g=0&&!i[g];g--);return h===0&&g===n?i:h>g?[]:i.slice(h,g+1)}var bn=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,n6=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,l2={};function r3(i){var n=bn.exec(i),h=(n[1]||"")+(n[2]||""),g=n[3]||"",t=n6.exec(g),u=t[1],e=t[2],l=t[3];return[h,u,e,l]}function V3(i){var n=bn.exec(i),h=n[1]||"",g=!!h&&h[1]!==":";return{device:h,isUnc:g,isAbsolute:g||!!n[2],tail:n[3]}}function jn(i){return"\\\\"+i.replace(/^[\\\/]+/,"").replace(/[\\\/]+/g,"\\")}l2.resolve=function(){for(var i="",n="",h=!1,g=arguments.length-1;g>=-1;g--){var t;if(g>=0?t=arguments[g]:i?(t=process.env["="+i],(!t||t.substr(0,3).toLowerCase()!==i.toLowerCase()+"\\")&&(t=i+"\\")):t=process.cwd(),$2.isString(t)){if(!t)continue}else throw new TypeError("Arguments to path.resolve must be strings");var u=V3(t),e=u.device,l=u.isUnc,d=u.isAbsolute,b=u.tail;if(!(e&&i&&e.toLowerCase()!==i.toLowerCase())&&(i||(i=e),h||(n=b+"\\"+n,h=d),i&&h))break}return l&&(i=jn(i)),n=c3(n.split(/[\\\/]+/),!h).join("\\"),i+(h?"\\":"")+n||"."};l2.normalize=function(i){var n=V3(i),h=n.device,g=n.isUnc,t=n.isAbsolute,u=n.tail,e=/[\\\/]$/.test(u);return u=c3(u.split(/[\\\/]+/),!t).join("\\"),!u&&!t&&(u="."),u&&e&&(u+="\\"),g&&(h=jn(h)),h+(t?"\\":"")+u};l2.isAbsolute=function(i){return V3(i).isAbsolute};l2.join=function(){for(var i=[],n=0;n=-1&&!n;h--){var g=h>=0?arguments[h]:process.cwd();if($2.isString(g)){if(!g)continue}else throw new TypeError("Arguments to path.resolve must be strings");i=g+"/"+i,n=g[0]==="/"}return i=c3(i.split("/"),!n).join("/"),(n?"/":"")+i||"."};d2.normalize=function(i){var n=d2.isAbsolute(i),h=i&&i[i.length-1]==="/";return i=c3(i.split("/"),!n).join("/"),!i&&!n&&(i="."),i&&h&&(i+="/"),(n?"/":"")+i};d2.isAbsolute=function(i){return i.charAt(0)==="/"};d2.join=function(){for(var i="",n=0;n'},u6={width:1024,height:1024,body:''},t6={width:1024,height:1024,body:''},o6={width:1024,height:1024,body:''},s6={key:0},l6={key:1},xn=t2({__name:"sidebarItem",props:{item:{type:Object},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},setup(i){const n=i,{layout:h,isCollapse:g,tooltipEffect:t,getDivStyle:u}=S2(),e=B(()=>({width:"100%",textAlign:"center"})),l=B(()=>({display:"flex",alignItems:"center"})),d=B(()=>({overflow:"hidden",textOverflow:"ellipsis",outline:"none"})),b=B(()=>({display:"flex",justifyContent:"center",alignItems:"center",margin:h.value==="horizontal"?"0 5px 0 0":g.value?"0 auto":"0 5px 0 0"})),s=B(()=>g.value?{width:""}:{width:"210px",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis"}),p=B(()=>v=>{var w;return g.value?{width:"100%",textAlign:(v==null?void 0:v.parentId)===null||h.value==="mix"&&((w=v==null?void 0:v.pathList)==null?void 0:w.length)===2?"center":""}:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",overflow:"hidden"}}),m=B(()=>{var v;return(v=Y2())!=null&&v.MenuArrowIconNoTransition?{"expand-close-icon":V2(u6),"expand-open-icon":V2(e6),"collapse-close-icon":V2(o6),"collapse-open-icon":V2(t6)}:""}),y=M(null),_=new WeakMap,S=M(null);function k(v){_.get(v)||D2(()=>{var w,E;((w=S.value)==null?void 0:w.scrollWidth)>((E=S.value)==null?void 0:E.clientWidth)?Object.assign(v,{showTooltip:!0}):Object.assign(v,{showTooltip:!1}),_.set(v,!0)})}function C(v,w){var U;const E=((v==null?void 0:v.length)>1?v.toString().slice(0,1):v)+"...";return w&&!(g.value&&(w==null?void 0:w.parentId)===null)?h.value==="mix"&&((U=w==null?void 0:w.pathList)==null?void 0:U.length)===2&&g.value?E:v:E}function G(v=[],w){var U,u2;const E=v.filter(T=>(y.value=T,!0));return(u2=(U=E[0])==null?void 0:U.meta)!=null&&u2.showParent?!1:E.length===1?!0:E.length===0?(y.value={...w,path:"",noShowingChildren:!0},!0):!1}function F(v){const w=/^http(s?):\/\//;return w.test(v)||w.test(n.basePath)?v||n.basePath:g6.posix.resolve(n.basePath,v)}return(v,w)=>{const E=q("el-tooltip"),U=q("el-menu-item"),u2=q("sidebar-item",!0),T=q("el-sub-menu");return G(n.item.children,n.item)&&(!y.value.children||y.value.noShowingChildren)?(f(),V(U,{key:0,index:F(y.value.path),class:f2({"submenu-title-noDropdown":!i.isNest}),style:z2(l.value)},{title:j(()=>[x("div",{style:z2(o(u))},[o(h)==="horizontal"?(f(),I("span",s6,h2(y.value.meta.title),1)):(f(),V(E,{key:1,placement:"top",effect:o(t),offset:-10,disabled:!y.value.showTooltip},{content:j(()=>[g2(h2(y.value.meta.title),1)]),default:j(()=>[x("span",{ref_key:"menuTextRef",ref:S,style:z2(d.value),onMouseover:w[0]||(w[0]=Q=>k(y.value))},h2(y.value.meta.title),37)]),_:1},8,["effect","disabled"])),a(m3,{extraIcon:y.value.meta.extraIcon},null,8,["extraIcon"])],4)]),default:j(()=>{var Q,o2,i2,Z,L;return[_2(n.item.meta.icon)?(f(),I("div",{key:0,class:"sub-menu-icon",style:z2(b.value)},[(f(),V(A2(o(V2)(_2(y.value.meta.icon)||n.item.meta&&_2(n.item.meta.icon)))))],4)):J("",!0),!((Q=n.item)!=null&&Q.meta.icon)&&o(g)&&o(h)==="vertical"&&((i2=(o2=n.item)==null?void 0:o2.pathList)==null?void 0:i2.length)===1?(f(),I("span",{key:1,style:z2(e.value)},h2(C(y.value.meta.title)),5)):J("",!0),!y.value.meta.icon&&o(g)&&o(h)==="mix"&&((L=(Z=n.item)==null?void 0:Z.pathList)==null?void 0:L.length)===2?(f(),I("span",{key:2,style:z2(e.value)},h2(C(y.value.meta.title)),5)):J("",!0)]}),_:1},8,["index","class","style"])):(f(),V(T,Fn({key:1,ref:"subMenu"},m.value,{index:F(n.item.path)}),{title:j(()=>[_2(n.item.meta.icon)?(f(),I("div",{key:0,style:z2(b.value),class:"sub-menu-icon"},[(f(),V(A2(o(V2)(n.item.meta&&_2(n.item.meta.icon)))))],4)):J("",!0),o(h)==="horizontal"?(f(),I("span",l6,h2(n.item.meta.title),1)):J("",!0),o(g)&&_2(n.item.meta.icon)&&n.item.parentId===null?J("",!0):(f(),I("div",{key:2,style:z2(p.value(n.item))},[o(h)!=="horizontal"?(f(),V(E,{key:0,placement:"top",effect:o(t),offset:-10,disabled:!n.item.showTooltip},{content:j(()=>[g2(h2(n.item.meta.title),1)]),default:j(()=>[x("span",{ref_key:"menuTextRef",ref:S,style:z2(s.value),onMouseover:w[1]||(w[1]=Q=>k(n.item))},h2(C(n.item.meta.title,n.item)),37)]),_:1},8,["effect","disabled"])):J("",!0),o(g)?J("",!0):(f(),V(m3,{key:1,extraIcon:n.item.meta.extraIcon},null,8,["extraIcon"]))],4))]),default:j(()=>[(f(!0),I(q2,null,v2(n.item.children,Q=>(f(),V(u2,{key:Q.path,"is-nest":!0,item:Q,"base-path":F(Q.path),class:"nest-menu"},null,8,["item","base-path"]))),128))]),_:1},16,["index"]))}}}),c6={class:"container"},r6=t2({__name:"leftCollapse",props:{isActive:{type:Boolean,default:!1}},emits:["toggleClick"],setup(i,{emit:n}){const h=i,g=M(!1),{tooltipEffect:t}=S2(),u=B(()=>["ml-4","mb-1","w-[16px]","h-[16px]","inline-block","align-middle","text-primary","cursor-pointer","duration-[100ms]","hover:text-primary","dark:hover:!text-white"]),e=()=>{n("toggleClick")};return(l,d)=>{const b=q("IconifyIconOffline"),s=q("el-tooltip");return f(),I("div",c6,[a(s,{placement:"right",visible:g.value,effect:o(t),content:h.isActive?"点击折叠":"点击展开"},{default:j(()=>[a(b,{icon:o(yn),class:f2(u.value),style:z2({transform:h.isActive?"none":"rotateY(180deg)"}),onClick:e,onMouseenter:d[0]||(d[0]=p=>g.value=!0),onMouseleave:d[1]||(d[1]=p=>g.value=!1)},null,8,["icon","class","style"])]),_:1},8,["visible","effect","content"])])}}});const a6=p2(r6,[["__scopeId","data-v-3f2910be"]]),d6=t2({__name:"vertical",setup(i){var y;const n=q3(),h=M(((y=B2().getItem(`${U2()}configure`))==null?void 0:y.showLogo)??!0),{device:g,pureApp:t,isCollapse:u,menuSelect:e,toggleSideBar:l}=S2(),d=M([]),b=B(()=>t.layout==="mix"&&g.value!=="mobile"?d.value:w2().wholeMenus),s=B(()=>t.layout==="mix"?!1:b.value.length===0),p=B(()=>{var _;return R2((_=n.meta)==null?void 0:_.activePath)?n.path:n.meta.activePath});function m(){let _="";_=p.value,d.value=[];const S=w3(_,w2().wholeMenus),k=u3(S[0]||_,w2().wholeMenus);k!=null&&k.children&&(d.value=k==null?void 0:k.children)}return Z2(()=>[n.path,w2().wholeMenus],()=>{n.path.includes("/redirect")||(m(),e(n.path))}),E2(()=>{m(),x2.on("logoChange",_=>{h.value=_})}),_3(()=>{x2.off("logoChange")}),(_,S)=>{const k=q("el-menu"),C=q("el-scrollbar"),G=s3("loading");return M2((f(),I("div",{class:f2(["sidebar-container",h.value?"has-logo":""])},[h.value?(f(),V(J1,{key:0,collapse:o(u)},null,8,["collapse"])):J("",!0),a(C,{"wrap-class":"scrollbar-wrapper",class:f2([o(g)==="mobile"?"mobile":"pc"])},{default:j(()=>[a(k,{router:"","unique-opened":"",mode:"vertical",class:"outer-most select-none",collapse:o(u),"default-active":p.value,"collapse-transition":!1},{default:j(()=>[(f(!0),I(q2,null,v2(b.value,F=>(f(),V(xn,{key:F.path,item:F,"base-path":F.path,class:"outer-most select-none"},null,8,["item","base-path"]))),128))]),_:1},8,["collapse","default-active"])]),_:1},8,["class"]),o(g)!=="mobile"?(f(),V(a6,{key:1,"is-active":o(t).sidebar.opened,onToggleClick:o(l)},null,8,["is-active","onToggleClick"])):J("",!0)],2)),[[G,s.value]])}}});const y6=p2(d6,[["__scopeId","data-v-827b4df2"]]),z6=i=>(i3("data-v-71f171f9"),i=i(),h3(),i),f6={class:"horizontal-header"},p6=z6(()=>x("img",{src:L3,alt:"logo"},null,-1)),m6={class:"horizontal-header-right"},b6={class:"el-dropdown-link navbar-bg-hover"},j6={key:0,class:"dark:text-white"},x6=t2({__name:"horizontal",setup(i){const n=M(),{route:h,title:g,logout:t,backTopMenu:u,onPanel:e,username:l,avatarsStyle:d}=S2(),b=B(()=>{var s;return R2((s=h.meta)==null?void 0:s.activePath)?h.path:h.meta.activePath});return D2(()=>{var s;(s=n.value)==null||s.handleResize()}),(s,p)=>{const m=q("el-menu"),y=q("IconifyIconOffline"),_=q("el-dropdown-item"),S=q("el-dropdown-menu"),k=q("el-dropdown"),C=s3("loading");return M2((f(),I("div",f6,[x("div",{class:"horizontal-header-left",onClick:p[0]||(p[0]=(...G)=>o(u)&&o(u)(...G))},[p6,x("span",null,h2(o(g)),1)]),a(m,{router:"",ref_key:"menuRef",ref:n,mode:"horizontal",class:"horizontal-header-menu","default-active":b.value},{default:j(()=>[(f(!0),I(q2,null,v2(o(w2)().wholeMenus,G=>(f(),V(xn,{key:G.path,item:G,"base-path":G.path},null,8,["item","base-path"]))),128))]),_:1},8,["default-active"]),x("div",m6,[a(I3),a(T3,{id:"header-notice"}),a(k,{trigger:"click"},{dropdown:j(()=>[a(S,{class:"logout"},{default:j(()=>[a(_,{onClick:o(t)},{default:j(()=>[a(y,{icon:o(l3),style:{margin:"5px"}},null,8,["icon"]),g2(" 退出系统 ")]),_:1},8,["onClick"])]),_:1})]),default:j(()=>[x("span",b6,[o(l)?(f(),I("p",j6,h2(o(l)),1)):J("",!0)])]),_:1}),x("span",{class:"set-icon navbar-bg-hover",title:"打开项目配置",onClick:p[1]||(p[1]=(...G)=>o(e)&&o(e)(...G))},[a(y,{icon:o(M3)},null,8,["icon"])])])])),[[C,o(w2)().wholeMenus.length===0]])}}});const w6=p2(x6,[["__scopeId","data-v-71f171f9"]]),q6={key:0},_6=t2({__name:"index",setup(i){const n=M(),{isDark:h}=Q3(),{layout:g}=Kn(),t=G3(),u=C3(),{$storage:e}=k3(),l=X2({sidebar:B(()=>P2().sidebar),device:B(()=>P2().device),fixedHeader:B(()=>u.fixedHeader),classes:B(()=>({hideSidebar:!l.sidebar.opened,openSidebar:l.sidebar.opened,withoutAnimation:l.sidebar.withoutAnimation,mobile:l.device==="mobile"})),hideTabs:B(()=>e==null?void 0:e.configure.hideTabs)});function d(m){var y,_,S,k;window.document.body.setAttribute("layout",m),e.layout={layout:`${m}`,theme:(y=e.layout)==null?void 0:y.theme,darkMode:(_=e.layout)==null?void 0:_.darkMode,sidebarStatus:(S=e.layout)==null?void 0:S.sidebarStatus,epThemeColor:(k=e.layout)==null?void 0:k.epThemeColor}}function b(m,y){P2().toggleDevice(m),P2().toggleSideBar(y,"resize")}let s=!0;x3(n,m=>{if(t)return;const y=m[0],{width:_}=y.contentRect;_<=760?d("vertical"):d(P2().layout),_>0&&_<=760?(b("mobile",!1),s=!0):_>760&&_<=990?s&&(b("desktop",!1),s=!1):_>990&&!l.sidebar.isClickCollapse?(b("desktop",!0),s=!0):(b("desktop",!1),s=!1)}),E2(()=>{t&&b("mobile",!1)}),nn(()=>{hn().dataThemeChange()});const p=t2({render(){return G2("div",{class:{"fixed-header":l.fixedHeader},style:[l.hideTabs&&g.value.includes("horizontal")?h.value?"box-shadow: 0 1px 4px #0d0d0d":"box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08)":""]},{default:()=>[!u.hiddenSideBar&&(g.value.includes("vertical")||g.value.includes("mix"))?G2(B4):null,!u.hiddenSideBar&&g.value.includes("horizontal")?G2(w6):null,G2(s1)]})}});return(m,y)=>{const _=q("el-backtop"),S=q("el-scrollbar");return f(),I("div",{ref_key:"appWrapperRef",ref:n,class:f2(["app-wrapper",l.classes])},[M2(x("div",{class:"app-mask",onClick:y[0]||(y[0]=k=>o(P2)().toggleSideBar())},null,512),[[W2,l.device==="mobile"&&l.sidebar.opened&&o(g).includes("vertical")]]),M2(a(y6,null,null,512),[[W2,!o(u).hiddenSideBar&&(o(g).includes("vertical")||o(g).includes("mix"))]]),x("div",{class:f2(["main-container",o(u).hiddenSideBar?"main-hidden":""])},[l.fixedHeader?(f(),I("div",q6,[a(o(p)),a(W3,{"fixed-header":l.fixedHeader},null,8,["fixed-header"])])):(f(),V(S,{key:1},{default:j(()=>[a(_,{title:"回到顶部",target:".main-container .el-scrollbar__wrap"},{default:j(()=>[a(o(fn))]),_:1}),a(o(p)),a(W3,{"fixed-header":l.fixedHeader},null,8,["fixed-header"])]),_:1}))],2),a(B1)],2)}}});const I6=p2(_6,[["__scopeId","data-v-58ce028c"]]);export{I6 as default};