import{g,gc as Sh,b2 as mt,de as bt,b as Pa,gd as D,s as sp,m as _2,e as Pp,u as ub,z as zB,A as w2,a3 as B0,ge as o$,a6 as KV,y as yV,o as bV,cy as vb,bY as fb,bZ as kp,v as ax,x as vV,cF as sw}from'./main-ajlqprgK.js';function U(e,r){e&1&&(fb(0),yV(1,1),kp());}function q(e,r){e&1&&(fb(0),yV(1,2),kp());}function W(e,r){if(e&1&&(sp(0,"div",17)(1,"strong"),KV(2),ub(),sp(3,"span",19),yV(4,0),ub(),sp(5,"div",20),_2(6,U,2,0,"ng-container")(7,q,2,0,"ng-container"),ub(),Pp(8,"my-login-link",21),ub()),e&2){let t=bV();zB(2),vb("",t.status,"."),zB(4),w2(t.type==="video"?6:7);}}function j(e,r){e&1&&(fb(0),yV(1,4),kp());}function B(e,r){e&1&&(fb(0),yV(1,5),kp());}function H(e,r){if(e&1&&(sp(0,"div",17)(1,"strong"),KV(2),ub(),sp(3,"span",19),yV(4,3),ub(),sp(5,"div",20),_2(6,j,2,0,"ng-container")(7,B,2,0,"ng-container"),ub()()),e&2){let t=bV();zB(2),vb("",t.status,"."),zB(4),w2(t.type==="video"?6:7);}}function J(e,r){if(e&1&&(sp(0,"div",17)(1,"strong"),KV(2),ub(),sp(3,"span",19),KV(4,"I'm a teapot."),ub(),sp(5,"div",20),yV(6,6),ub(),sp(7,"div",22),yV(8,7),ub()()),e&2){let t=bV();zB(2),vb("",t.status,".");}}function K(e,r){if(e&1&&(fb(0),yV(1,12),kp()),e&2){let t=bV(2);zB(),ax(t.pathname),vV(1);}}function Q(e,r){if(e&1&&(fb(0),yV(1,13),kp()),e&2){let t=bV(2);zB(),ax(t.pathname),vV(1);}}function V(e,r){e&1&&(fb(0),yV(1,14),kp());}function Z(e,r){e&1&&(fb(0),yV(1,15),kp());}function ee(e,r){if(e&1&&(sp(0,"div",17)(1,"strong"),KV(2),ub(),sp(3,"span",19),yV(4,8),ub(),sp(5,"div",20),_2(6,K,2,1,"ng-container")(7,Q,2,1,"ng-container"),ub(),sp(8,"div",23)(9,"span"),yV(10,9),ub(),sp(11,"ul")(12,"li"),yV(13,10),ub(),sp(14,"li"),_2(15,V,2,0,"ng-container")(16,Z,2,0,"ng-container"),ub(),sp(17,"li"),yV(18,11),ub()()()()),e&2){let t=bV();zB(2),vb("",t.status,"."),zB(4),w2(t.type==="video"?6:7),zB(9),w2(t.type==="video"?15:16);}}var Y=(()=>{class e{titleService=g(Sh);router=g(mt);status=bt.NOT_FOUND_404;type="other";constructor(){let t=this.router.currentNavigation()?.extras.state;this.type=t?.type||this.type,this.status=t?.obj.status||this.status;}ngOnInit(){this.pathname.includes("teapot")&&(this.status=bt.I_AM_A_TEAPOT_418,this.titleService.setTitle("mi ilo pi telo kasi"+" - PeerTube"));}get pathname(){return window.location.pathname;}getMascotName(){switch(this.status){case bt.I_AM_A_TEAPOT_418:return"happy";case bt.FORBIDDEN_403:return"arguing";case bt.NOT_FOUND_404:default:return"defeated";}}static ɵfac=function(R){return new(R||e)();};static ɵcmp=Pa({type:e,selectors:[["my-error-page"]],decls:6,vars:5,consts:()=>{let t;t="sina ken ala lon ni.";let R;R="You might need to login to see the video.";let d;d="You might need to login to see the resource.";let M;M="sina ken ala lon ni.";let S;S="lawa pi ma ni anu lawa pi sitelen ni o toki e ni: sijelo sina o ken lukin e sitelen ni.";let N;N="lawa pi ma ni anu lawa pi ijo ni o toki e ni: sijelo sina o ken lukin e ijo ni.";let f;f="ijo pi wile sina li telo seli suwi pona.";let G;G="kala Sepija la ona li pona.";let h;h="ike a.";let $;$="ni li ken tan ni:";let y;y="nimi ni li pakala anu tan tenpo pini weka";let v;v="sina sitelen pakala e nimi linluwi";let x;x="mi sona ala e sitelen pi nimi linluwi \""+"\uFFFD0\uFFFD"+"\".";let I;I="mi sona ala e ijo pi nimi linluwi \""+"\uFFFD0\uFFFD"+"\".";let L;L="jan li tawa anu weka e sitelen";let w;return w="jan li tawa anu weka e ijo",[t,R,d,M,S,N,f,G,h,$,y,v,x,I,L,w,[1,"root"],[1,"box"],[1,"mb-4","h-auto",3,"src","alt"],[1,"ms-1","muted"],[1,"text","mt-4"],["className","peertube-button-big-link primary-button mt-5"],[1,"muted"],[1,"muted","mt-4"]];},template:function(R,d){R&1&&(sp(0,"div",16),_2(1,W,9,2,"div",17)(2,H,8,2,"div",17)(3,J,9,1,"div",17)(4,ee,19,3,"div",17),Pp(5,"img",18),ub()),R&2&&(zB(),w2(d.status===401?1:d.status===403?2:d.status===418?3:4),zB(4),B0("src",o$("/client/assets/images/mascot/",d.getMascotName(),".svg"),sw)("alt",o$("",d.status," mascot")));},dependencies:[D],styles:[".root[_ngcontent-%COMP%]{height:100%;text-align:center;display:flex;justify-content:center;flex-direction:column-reverse;margin-inline-start:auto;margin-inline-end:auto;padding-top:calc(2.025rem + 9.3vw)}@media(min-width:1200px){.root[_ngcontent-%COMP%]{padding-top:9rem}}.root[_ngcontent-%COMP%]{width:calc(5.625rem + 52.5vw)}@media(min-width:1200px){.root[_ngcontent-%COMP%]{width:45rem}}.root[_ngcontent-%COMP%]   .box[_ngcontent-%COMP%]{text-align:start;padding:0 15px;font-size:1.25rem}.root[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-inline-start:auto;width:calc(2.525rem + 15.3vw)}@media(min-width:1200px){.root[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:14rem}}@media screen and (max-width:500px){.root[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-inline-end:auto}}"],changeDetection:1});}return e;})();var Re=[{path:"",component:Y,data:{meta:{title:"mi sona ala e lon ijo"}}}];/**i18n:fad79908930cbb4c308e7550a5fe49bb3841dbb330066a6429aebaa006173605*/export{Re as default};//# sourceMappingURL=chunk-CjAJMPdz.js.map