1import{s as c}from"./chunk-NO2QSDOQ.js";import{A as r,Fb as n,w as o}from"./chunk-HB43N7HN.js";var v=(()=>{class e{constructor(){this.sessionService=r(c),this.router=r(n)}canActivate(s,t){return this.checkUserlevelAsync().then(()=>!0,()=>{let i=localStorage.getItem("login_route")||"/customer/login";return this.router.navigate(["/customer/login"],{queryParams:{redirect_url:t.url}}),!1})}checkUserlevelAsync(){return new Promise((t,i)=>{this.sessionService.getSession().subscribe(a=>{this.sessionService.sessionIsAdmin?t(!0):i(!1)})})}static{this.\u0275fac=function(t){return new(t||e)}}static{this.\u0275prov=o({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();export{v as a};
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.