System.register(["./page_layout-legacy.js?v=1763625242172","./vue-legacy.js?v=1763625242172","./public-legacy.js?v=1763625242172","./index-legacy102.js?v=1763625242172","./naive-legacy.js?v=1763625242172"],(function(e,t){"use strict";var n,a,i,s,r,o,u,l,c,m,d,p,f,x,v,b,h,g,y,k,_,C,$,w,j,R,S,A,E,O,F,J,L,N,z,H,I,P;return{setters:[e=>{n=e.u,a=e.bC,i=e.o,s=e.bD,r=e.bE,o=e.bF,u=e.k,l=e.s,c=e.p},e=>{m=e.k,d=e.a0,p=e.R,f=e.S,x=e.V,v=e.F,b=e.X,h=e.U,g=e.a4,y=e.an,k=e.a3,_=e.j,C=e.$,$=e.am,w=e.av,j=e.ao,R=e.c,S=e.r,A=e.b,E=e.a5,O=e.O,F=e.H,J=e.q,L=e.a2},e=>{N=e.b},e=>{z=e.P,H=e.H},e=>{I=e.aC,P=e.dS}],execute:function(){var t=document.createElement("style");t.textContent='.menu-list[data-v-18bf265b]{display:flex;flex-wrap:wrap}.menu-list .menu-item[data-v-18bf265b]{position:relative;display:flex;align-items:center;justify-content:center;height:48px;padding:0 18px;font-size:14px;cursor:pointer;transition:all .3s cubic-bezier(.4,0,.2,1)}.menu-list .menu-item+.menu-item[data-v-18bf265b]{margin-left:4px}.menu-list .menu-item.active[data-v-18bf265b],.menu-list .menu-item[data-v-18bf265b]:hover{color:var(--router-menu-active-text);background-color:var(--router-menu-active-bg)}.menu-list .menu-item[data-v-18bf265b]:after{content:"";position:absolute;left:50%;bottom:0;display:block;width:20px;height:2px;margin-left:-10px;transition:background-color .3s}.menu-list .menu-item.active[data-v-18bf265b]:after{background-color:var(--router-menu-active-text)}\n',document.head.appendChild(t);const V={class:"flex items-center gap-10px"},q={class:"text-default"},B={key:0},D={key:0},M={class:"mr-4px"},U={class:"text-[#fc6d26] font-bold"},X=m({__name:"index",setup(e){const t=n(),{isFree:s,isPro:r,authExpired:o}=d(t),u=window.panelVersion,l=()=>{N({source:80})},c=()=>{N({source:81})};return(e,t)=>{const n=I,m=i;return p(),f("div",V,[x(s)?(p(),f(v,{key:0},[b(z,{source:80}),h("div",q,g(e.$t("Component.Auth.index_1")),1),x(a)?(p(),f("span",B,g(x(u)),1)):y("",!0),b(n,{class:"h-24px px-8px",type:"primary",onClick:l},{default:k((()=>[_(g(e.$t("Component.Auth.index_5")),1)])),_:1})],64)):y("",!0),x(r)?(p(),f(v,{key:1},[b(z,{source:81}),x(a)?(p(),f("span",D,g(x(u)),1)):y("",!0),h("div",null,[h("span",M,g(e.$t("Component.Auth.index_4")),1),h("span",U,g(x(o)),1)]),b(m,{class:"font-bold",onClick:c},{default:k((()=>[_(g(e.$t("Component.Auth.index_2")),1)])),_:1})],64)):y("",!0)])}}}),G={class:"p-16px"},K=["onClick"],Q={class:"flex items-center gap-12px pr-16px"},T=m({__name:"index",props:{noRouter:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const a=e,i=t,c=C(),m=$(),_=n(),N=s(),{userInfo:z,authExpired:I}=d(_),V=w("menuListRef"),q=w("menuContainerRef"),{width:B}=j(V),{width:D}=j(q),M=R((()=>D.value-B.value>460)),U=S([]),T=e=>{const t=c.matched[0].name,n=u("page-menu-new",JSON.stringify({})),a=JSON.parse(n);t&&(a[String(t)]=e.name),l("page-menu-new",JSON.stringify(a))};return(()=>{const e=c.meta.install,t=c.meta.activeMenu,n=e?1:0;for(let a=0;a<r.length;a++){const{children:e}=r[a];if(!e)return;if(e[0].name===t){const{path:t}=r[a];e&&e.length>0&&(U.value=e[n].children?.map((e=>({path:`${t}/${e.path}`,name:String(e.name),title:`${e.meta?.title||""}`,hidden:!(!e.meta||!o(e.meta.hidden))&&e.meta.hidden})))||[]);break}}})(),A((()=>{N.generateRoutes()})),(e,t)=>{const n=X,s=P,r=E("router-view");return p(),f("div",G,[b(s,{class:"mb-12px rounded-10px"},{default:k((()=>[h("div",{ref_key:"menuContainerRef",ref:q,class:"flex items-center justify-between min-h-48px"},[h("div",{ref_key:"menuListRef",ref:V,class:"menu-list"},[(p(!0),f(v,null,O(x(U),(t=>(p(),f(v,{key:t.name},[!0!==t.hidden?(p(),f("div",{key:0,class:F(["menu-item",{active:t.name===e.$route.name}]),onClick:e=>(e=>{a.noRouter||(T(e),m.push(e.path)),i("change",e)})(t)},g(t.title),11,K)):y("",!0)],64)))),128))],512),h("div",Q,[e.$slots.suffix?J(e.$slots,"suffix",{key:0},void 0,!0):x(M)?(p(),f(v,{key:1},[x(z).status&&"Lifetime"!==x(I)?(p(),L(H,{key:0})):y("",!0),b(n)],64)):y("",!0)])],512)])),_:3}),J(e.$slots,"public-exam",{},void 0,!0),b(r)])}}});e("_",c(T,[["__scopeId","data-v-18bf265b"]]))}}}));
