text: import Vue from"vue";import VueRouter from"vue-router";import{routes as t}from"./routes";Vue.use(VueRouter);let n=new VueRouter({mode:"history",routes:t});n.beforeEach((n,t,i)=>{n.matched.some(n=>n.meta.requiresAuth)?$cookies.get("UserCookie")==null?i({path:"/",params:{nextUrl:n.fullPath}}):i():n.matched.some(n=>n.meta.isAdmin)?$cookies.get("UserCookie")==null?i({path:"/",params:{nextUrl:n.fullPath}}):$cookies.get("UserCookie").isAdmin?i():i({path:"/",params:{nextUrl:n.fullPath}}):n.matched.some(n=>n.meta.guest)?$cookies.get("UserCookie")==null?i():i():i()});export default n;