1import{cu as m,ag as p,d,p as g,s as f}from"./J0DG4uHJ.js";const S=m((e,h)=>{const o=p(),r=d(),a=!!o.customer.id;if(r.shopMode!=="private")return;const i=["/customer/login","/customer/register","/customer/confirm","/customer/reset-password"],c=["/orders","/payments"],n=t=>{t!=="/customer/login"&&localStorage.setItem("redirectAfterLogin",t)};if(!a){const t=i.some(s=>e.path.startsWith(s)),u=c.some(s=>e.path.startsWith(s));if(!t&&!u)return n(e.fullPath),g(f("/customer/login"))}});export{S as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.