System.register(["./page_layout-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./public-legacy.js?v=1753954525509","./index-legacy98.js?v=1753954525509","./naive-legacy.js?v=1753954525509"],(function(e,t){"use strict";var n,a,i,s,o,l,r,u,c,m,d,p,f,x,h,v,g,y,b,k,_,C,$,w,j,R,S,A,O,E,J,L,N,z,F,H,I,P;return{setters:[e=>{n=e.u,a=e.bm,i=e.o,s=e.bn,o=e.bo,l=e.bp,r=e.j,u=e.s,c=e.e},e=>{m=e.k,d=e.$,p=e.U,f=e.V,x=e.X,h=e.F,v=e.Q,g=e.W,y=e.a3,b=e.al,k=e.a2,_=e.j,C=e.Z,$=e.aj,w=e.av,j=e.am,R=e.c,S=e.r,A=e.b,O=e.a4,E=e.O,J=e.H,L=e.q,N=e.a1},e=>{z=e.a},e=>{F=e.P,H=e.H},e=>{I=e.ay,P=e.cD}],execute:function(){var t=document.createElement("style");t.textContent='.menu-list[data-v-29e67051]{display:flex;flex-wrap:wrap}.menu-list .menu-item[data-v-29e67051]{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-29e67051]{margin-left:4px}.menu-list .menu-item.active[data-v-29e67051],.menu-list .menu-item[data-v-29e67051]:hover{color:#20a53a;background-color:rgba(32,165,58,.063)}.menu-list .menu-item[data-v-29e67051]: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-29e67051]:after{background-color:#20a53a}\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"},Q={class:"text-[#fc6d26] font-bold"},U=m({__name:"index",setup(e){const t=n(),{isFree:s,isPro:o,authExpired:l}=d(t),r=window.panelVersion,u=()=>{z({source:80})},c=()=>{z({source:81})};return(e,t)=>{const n=I,m=i;return p(),f("div",V,[x(s)?(p(),f(h,{key:0},[v(F,{source:80}),g("div",q,y(e.$t("Component.Auth.index_1")),1),x(a)?(p(),f("span",B,y(x(r)),1)):b("",!0),v(n,{class:"h-24px px-8px",type:"primary",onClick:u},{default:k((()=>[_(y(e.$t("Component.Auth.index_5")),1)])),_:1})],64)):b("",!0),x(o)?(p(),f(h,{key:1},[v(F,{source:81}),x(a)?(p(),f("span",D,y(x(r)),1)):b("",!0),g("div",null,[g("span",M,y(e.$t("Component.Auth.index_4")),1),g("span",Q,y(x(l)),1)]),v(m,{class:"font-bold",onClick:c},{default:k((()=>[_(y(e.$t("Component.Auth.index_2")),1)])),_:1})],64)):b("",!0)])}}}),W={class:"p-16px"},X=["onClick"],Z={class:"flex items-center gap-12px pr-16px"},G=m({__name:"index",props:{noRouter:{type:Boolean,default:!1}},emits:["change"],setup(e,{emit:t}){const a=e,i=t,c=C(),m=$(),_=n(),z=s(),{userInfo:F,authExpired:I}=d(_),V=w("menuListRef"),q=w("menuContainerRef"),{width:B}=j(V),{width:D}=j(q),M=R((()=>D.value-B.value>460)),Q=S([]),G=e=>{const t=c.matched[0].name,n=r("page-menu-new",JSON.stringify({})),a=JSON.parse(n);t&&(a[String(t)]=e.name),u("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<o.length;a++){const{children:e}=o[a];if(!e)return;if(e[0].name===t){const{path:t}=o[a];e&&e.length>0&&(Q.value=e[n].children?.map((e=>({path:`${t}/${e.path}`,name:String(e.name),title:`${e.meta?.title||""}`,hidden:!(!e.meta||!l(e.meta.hidden))&&e.meta.hidden})))||[]);break}}})(),A((()=>{z.generateRoutes()})),(e,t)=>{const n=U,s=P,o=O("router-view");return p(),f("div",W,[v(s,{class:"mb-12px rounded-10px"},{default:k((()=>[g("div",{ref_key:"menuContainerRef",ref:q,class:"flex items-center justify-between min-h-48px"},[g("div",{ref_key:"menuListRef",ref:V,class:"menu-list"},[(p(!0),f(h,null,E(x(Q),(t=>(p(),f(h,{key:t.name},[!0!==t.hidden?(p(),f("div",{key:0,class:J(["menu-item",{active:t.name===e.$route.name}]),onClick:e=>(e=>{a.noRouter||(G(e),m.push(e.path)),i("change",e)})(t)},y(t.title),11,X)):b("",!0)],64)))),128))],512),g("div",Z,[e.$slots.suffix?L(e.$slots,"suffix",{key:0},void 0,!0):x(M)?(p(),f(h,{key:1},[x(F).status&&"Lifetime"!==x(I)?(p(),N(H,{key:0})):b("",!0),v(n)],64)):b("",!0)])],512)])),_:3}),L(e.$slots,"public-exam",{},void 0,!0),v(o)])}}});e("_",c(G,[["__scopeId","data-v-29e67051"]]))}}}));
