const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/report-C9TYPhzf.js","assets/vendor-BfKWghV4.js","assets/report-Cy5r8Q5F.css","assets/login-C8P6t3OC.js","assets/login-ds9nBxP7.css","assets/register-DQHHxYP8.js","assets/register-8YOADkA9.css","assets/forget-password-CKC-8nxi.js","assets/forget-password-D0cXA08j.css"])))=>i.map(i=>d[i]);
import{d as m,l as _,r as c,o as h,c as g,w as p,a as v,b as y,L as b,A as P,I as w,e as L,B as T,R as E,C as O,S as A,F as C,f as D,g as I,M as R,T as $,h as N,D as k,i as B,j as V,k as S,m as U,n as z,p as M,q as j,s as q,t as x,U as F,P as H,u as G,v as K,x as W,_ as u,y as J,z as Q,E as X,G as Y,H as l}from"./vendor-BfKWghV4.js";(function(){const o=document.createElement("link").relList;if(o&&o.supports&&o.supports("modulepreload"))return;for(const t of document.querySelectorAll('link[rel="modulepreload"]'))n(t);new MutationObserver(t=>{for(const s of t)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(t){const s={};return t.integrity&&(s.integrity=t.integrity),t.referrerPolicy&&(s.referrerPolicy=t.referrerPolicy),t.crossOrigin==="use-credentials"?s.credentials="include":t.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(t){if(t.ep)return;t.ep=!0;const s=r(t);fetch(t.href,s)}})();const Z=(e,o)=>{const r=e.__vccOpts||e;for(const[n,t]of o)r[n]=t;return r},ee=m({name:"App",setup(){return{zhCN:_}}}),te={id:"app"};function oe(e,o,r,n,t,s){const a=c("router-view"),f=c("a-config-provider");return h(),g(f,{locale:e.zhCN},{default:p(()=>[v("div",te,[y(a)])]),_:1},8,["locale"])}const se=Z(ee,[["render",oe]]),re=e=>{e.use(b),e.use(P),e.use(w),e.use(L),e.use(T),e.use(E),e.use(O),e.use(A),e.use(C),e.use(D),e.use(I),e.use(R),e.use($),e.use(N),e.use(k),e.use(B),e.use(V),e.use(S),e.use(U),e.use(z),e.use(M),e.use(j),e.use(q),e.use(x),e.use(F),e.use(H),e.use(G),e.config.globalProperties.$message=K,e.config.globalProperties.$notification=W},ne=[{path:"/",name:"main",redirect:"/report",children:[{path:"/report",name:"report",title:"报表中心",component:()=>u(()=>import("./report-C9TYPhzf.js"),__vite__mapDeps([0,1,2]))}]},{path:"/login",name:"login",title:"登陆",hidden:!0,component:()=>u(()=>import("./login-C8P6t3OC.js"),__vite__mapDeps([3,1,4]))},{path:"/register/invitation",name:"register",title:"注册",hidden:!0,component:()=>u(()=>import("./register-DQHHxYP8.js"),__vite__mapDeps([5,1,6]))},{path:"/forget-password",name:"forget-password",title:"忘记密码",hidden:!0,component:()=>u(()=>import("./forget-password-CKC-8nxi.js"),__vite__mapDeps([7,1,8]))},{path:"/:catchAll(.*)",redirect:"/404",hidden:!0}],ie=["/login","/register","/forget-password","/404","/register/invitation"],d=J({history:Q("/"),scrollBehavior:()=>({y:0}),routes:ne});d.beforeEach((e,o,r)=>{const n=localStorage.getItem("token");if(ie.includes(e.path)){r();return}if(!n){r({path:"/login",query:{redirect:e.fullPath}});return}r()});const ae={namespaced:"app",state:()=>({token:"3mnuehn457873nberuwen",user:{},factoryList:[{value:"001",label:"华为"},{value:"002",label:"谷歌"},{value:"003",label:"中芯国际"},{value:"004",label:"宁德时代"}],permission:[],auth:{}}),mutations:{setToken:(e,o)=>{e.token=o},setUser:(e,o)=>{e.user=o.user,e.permission=o.permission,e.auth=o.auth}},actions:{}},ue=X({modules:{app:ae},state:()=>({}),mutations:{},actions:{},getters:{}}),i=Y(se);i.config.productionTip;l.locale("zh-cn");i.config.globalProperties.$dayjs=l;re(i);i.use(d);i.use(ue);i.mount("#app");export{Z as _};
