"use strict";(self.webpackChunkPeerTube=self.webpackChunkPeerTube||[]).push([[4321],{64321:(m,l,u)=>{u.r(l),u.d(l,{PluginPagesModule:()=>d});var r=u(31007),g=u(72760),n=u(51109),a=u(10047);const c=["root"],P=[{path:"**",component:(()=>{class e{constructor(t,i,s){this.route=t,this.router=i,this.pluginService=s}ngAfterViewInit(){this.pluginService.ensurePluginsAreLoaded("common").then(()=>this.loadRoute())}loadRoute(){const t="/"+this.route.snapshot.url.map(s=>s.path).join("/"),i=this.pluginService.getRegisteredClientRoute(t);if(!i)return g.k.info(`Could not find registered route ${t}`,this.pluginService.getAllRegisteredClientRoutes()),this.router.navigate(["/404"],{skipLocationChange:!0});i.onMount({rootEl:this.root.nativeElement})}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(r.gz),n.Y36(r.F0),n.Y36(a.H0))},e.\u0275cmp=n.Xpm({type:e,selectors:[["ng-component"]],viewQuery:function(t,i){if(1&t&&n.Gf(c,5),2&t){let s;n.iGM(s=n.CRH())&&(i.root=s.first)}},decls:2,vars:0,consts:[["root",""]],template:function(t,i){1&t&&n._UZ(0,"div",null,0)},encapsulation:2}),e})(),data:{reloadOnSameNavigation:!0}}];let p=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[r.Bz.forChild(P),r.Bz]}),e})(),d=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[p]}),e})()}}]);
//# sourceMappingURL=4321.692ccc9eb7073052.js.map