import{az as r,s as a,af as s}from"./DpdQcRr7.js";import{u as i}from"./D7eJvyae.js";import"./BcpEzrWT.js";import"./DuJ0NDcC.js";import"./D1zzHZdQ.js";const p=r((e,n)=>{const t=i();if(!t.isLoggedIn){const o=e.fullPath;return a(`/login?redirect=${encodeURIComponent(o)}`)}if(!t.isAdmin)throw s({statusCode:403,statusMessage:"アクセス権限がありません"})});export{p as default};
