1"use strict";(self.webpackChunksethub_template=self.webpackChunksethub_template||[]).push([[3691],{3691:(b,d,a)=>{a.r(d),a.d(d,{PageinterviewsModule:()=>o});var e=a(2455),u=a(3786),g=a(4978),l=a(1135);const v={text:e.TkZ,navigation:e.JzT,media:e.R7z,spacer:e.YHV},f={static:e.YVv,slider:e.GF6,dynamic:e.Fwp};var t=a(4650),C=a(6895);function w(i,n){}class p{constructor(n,s){this.route=n,this.webPagesService=s,this.pageId=new l.X("page-undefined"),this.pageId$=this.pageId.asObservable()}ngOnInit(){this.routeSub=this.route.params.subscribe(()=>{this.loadComponents(this.route.snapshot.data.pageId,this.route.snapshot.data.appId,this.route.snapshot.paramMap.get("id"))})}ngOnDestroy(){this.routeSub?.unsubscribe()}loadComponents(n,s,c){const h=this.adHost.viewContainerRef;h.clear(),this.webPagesService.findOne(s,n,c).subscribe(m=>{this.pageId.next(m.dataSource?._id??"page-undefined");const r=h.createComponent(e.X_d);r.instance.areas=m.areas,r.instance.areaMapping=f,r.instance.compMapping=v,r.changeDetectorRef.detectChanges()})}}p.\u0275fac=function(n){return new(n||p)(t.Y36(u.gz),t.Y36(g.tB))},p.\u0275cmp=t.Xpm({type:p,selectors:[["app-pageinterviews"]],viewQuery:function(n,s){if(1&n&&t.Gf(e.pr,7),2&n){let c;t.iGM(c=t.CRH())&&(s.adHost=c.first)}},decls:3,vars:4,consts:[["adHost",""]],template:function(n,s){1&n&&(t.TgZ(0,"div"),t.ALo(1,"async"),t.YNc(2,w,0,0,"ng-template",0),t.qZA()),2&n&&t.Tol(t.lcZ(1,2,s.pageId$))},dependencies:[e.pr,C.Ov],encapsulation:2,changeDetection:0});class o{}o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[g.m8,u.Bz.forChild([{path:"",component:p}]),e.Nu1,e.YsK,e.AG5,e.cOq,e.PD4,e.dmC,e.Lx$]})}}]);
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.