PageSourceSearch

https://dorenaz.ch/chunk-OHC7B3LW.js

js dorenaz.ch collected 2026-10-02 13:22:00 UTC 2,236 bytes, 1 lines download raw bytes

1import{a as j}from"./chunk-4XXYQQXD.js";import{m as y}from"./chunk-L7CZ7KZJ.js";import{$ as g,Cc as S,Jf as v,Kf as C,La as h,Ma as p,Mf as c,Nf as P,aa as s,ca as a,h as f,hb as M}from"./chunk-JJXGM4WM.js";var u=(()=>{class t{constructor(i,e,o,d){this._router=i,this._megaWebsiteService=e,this._languageService=o,this._searchService=d}canActivate(i,e){return f(this,null,function*(){let o=e.url;return this._languageService.getLangFromUrl(e.url)&&(o=o.substring(3)),this._megaWebsiteService.formerNavigation=o,new Promise(r=>{this._megaWebsiteService.getAttributes().then(()=>r(!0)).catch(n=>{let l=decodeURIComponent(o);return n.status===403?(this._router.navigate(["/auth"],{queryParams:{returnUrl:l}}),r(!1)):n.status===401&&n.error?.message==="Token not found"?r(!0):n.status===301?(this._router.navigate([n.redirection],{replaceUrl:!0}),r(!1)):(this._searchService.setValue(this._getTargetEndpoint(l)),this._router.navigate(["/not-found"],{replaceUrl:!0}),r(!1))})})})}_getTargetEndpoint(i){return i.split("/").pop().split(".")[0]}static{this.\u0275fac=function(e){return new(e||t)(a(C),a(y),a(P),a(j))}}static{this.\u0275prov=g({token:t,factory:t.\u0275fac})}}return t})();var _=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275cmp=h({type:t,selectors:[["pages-stripped"]],standalone:!1,decls:1,vars:0,template:function(e,o){e&1&&M(0,"router-outlet")},dependencies:[v],encapsulation:2})}}return t})();var E=[{path:"",component:_,children:[{path:"me",loadChildren:()=>import("./chunk-SNRQJK5T.js").then(t=>t.MegaPageMeModule),canActivate:[u]},{path:"auth",loadChildren:()=>import("./chunk-5VD64UEZ.js").then(t=>t.MegaPageAuthModule)},{path:"not-found",loadComponent:()=>import("./chunk-VP3EQHGZ.js").then(t=>t.MegaCMSNotFoundPage)},{path:"**",loadComponent:()=>import("./chunk-CGRY5TS5.js").then(t=>t.MegaCMSStrippedPage),canActivate:[u]}]}],b=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=p({type:t})}static{this.\u0275inj=s({imports:[c.forChild(E),c]})}}return t})();var O=(()=>{class t{static{this.\u0275fac=function(e){return new(e||t)}}static{this.\u0275mod=p({type:t})}static{this.\u0275inj=s({imports:[S,b]})}}return t})();export{u as a,O as b};

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.