"use strict";(self.webpackChunkPeerTube=self.webpackChunkPeerTube||[]).push([[321],{64321:(d,l,s)=>{s.r(l),s.d(l,{PluginPagesModule:()=>P});var r=s(16820),n=s(51109),a=s(97460);const g=["root"],c=[{path:"**",component:(()=>{class e{constructor(t,i,u){this.route=t,this.router=i,this.pluginService=u}ngAfterViewInit(){this.pluginService.ensurePluginsAreLoaded("common").then(()=>this.loadRoute())}loadRoute(){const t="/"+this.route.snapshot.url.map(u=>u.path).join("/"),i=this.pluginService.getRegisteredClientRoute(t);if(!i)return console.log("Could not find registered route %s.",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(g,5),2&t){let u;n.iGM(u=n.CRH())&&(i.root=u.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(c)],r.Bz]}),e})(),P=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({providers:[],imports:[[p]]}),e})()}}]);
//# sourceMappingURL=321.a2c62aafa0d64fbd.js.map