1import{a as y}from"./chunk-5F7BTKBV.js";import{b as U}from"./chunk-V3KPJFRO.js";import{F as f,I as h,S as b,T as x}from"./chunk-O6J33FFN.js";import{$a as n,$b as l,Gb as r,Hb as o,Xa as g,ac as m,bc as d,ca as a,jb as v,oc as p,pc as s,wb as c}from"./chunk-5Y3UWFO6.js";import"./chunk-JNGVGNCT.js";var i=class i{constructor(){this.route=a(f);this.language=a(b);this.loading=a(y);this.seo=a(U);this.lang=this.language.language().id;this.homeUrl=`/${this.lang}`;this.returnUrl=this.getSafeReturnUrl()}ngOnInit(){let e=this.lang==="fr";this.seo.customSEO(e?"Contenu temporairement indisponible":"Content Temporarily Unavailable",e?"Nous ne pouvons pas charger ce contenu pour le moment. Veuillez r\xE9essayer.":"We could not load this content right now. Please try again.",void 0,!1,!1),this.loading.hide()}getSafeReturnUrl(){let e=this.route.snapshot.queryParamMap.get("returnUrl"),t=`/${this.lang}`;return e===t||e?.startsWith(`${t}/`)?e:this.homeUrl}};i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=v({type:i,selectors:[["app-content-unavailable"]],decls:16,vars:14,consts:[[1,"container","content-unavailable"],[1,"row"],[1,"col-12","d-flex","flex-column","justify-content-center","align-items-center","text-center"],[1,"display-lg","text-on-header"],[1,"body-lg","text-on-base"],[1,"d-flex","flex-wrap","justify-content-center","gap-3"],[1,"btn","btn-primary",3,"href"],[1,"btn","btn-outline-primary",3,"routerLink"]],template:function(t,u){t&1&&(r(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),l(4),p(5,"translateLocal"),o(),r(6,"p",4),l(7),p(8,"translateLocal"),o(),r(9,"div",5)(10,"a",6),l(11),p(12,"translateLocal"),o(),r(13,"a",7),l(14),p(15,"translateLocal"),o()()()()()),t&2&&(n(4),m(s(5,6,"content_unavailable_title")),n(3),m(s(8,8,"content_unavailable_description")),n(3),c("href",u.returnUrl,g),n(),d(" ",s(12,10,"try_again")," "),n(2),c("routerLink",u.homeUrl),n(),d(" ",s(15,12,"go_home")," "))},dependencies:[h,x],styles:[".content-unavailable[_ngcontent-%COMP%]{min-height:70vh;display:flex;justify-content:center;align-items:center}"]});var S=i;export{S as ContentUnavailableComponent};
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.