import{a as v,b as N}from"./chunk-HHX22PPK.js";import{a as k,b as M}from"./chunk-4UZNKZHD.js";import"./chunk-NIC3EEBE.js";import"./chunk-FIMCS3FM.js";import"./chunk-X7HK6XNT.js";import"./chunk-JFCKIVQK.js";import"./chunk-KXZOONBG.js";import"./chunk-V6ZWKVOB.js";import"./chunk-2JML2BCE.js";import"./chunk-GJ6AVDEO.js";import"./chunk-JDDQF4E4.js";import"./chunk-PUS3HUME.js";import"./chunk-EBCZUYJG.js";import"./chunk-RW4E5A76.js";import"./chunk-O257L774.js";import"./chunk-2MYDDNZO.js";import"./chunk-3HTIULDK.js";import"./chunk-HEMWUUTS.js";import"./chunk-SEX7W45Z.js";import"./chunk-IQDQVAFP.js";import{a as f,b as w}from"./chunk-HTPWLUBK.js";import"./chunk-32UPWYJA.js";import"./chunk-KU5Q3KRM.js";import"./chunk-OLCX3CX5.js";import"./chunk-OP4AF2LF.js";import"./chunk-3RHWAFOM.js";import"./chunk-BR4ZCCQP.js";import"./chunk-HKJPMV7R.js";import"./chunk-WZMPEGTK.js";import"./chunk-K7KLWGRE.js";import"./chunk-Y7NDNHP3.js";import"./chunk-UDX2JDQM.js";import"./chunk-NUNQLPEG.js";import"./chunk-NIUU5UK4.js";import"./chunk-TVTM7EZO.js";import"./chunk-QWGO4OWP.js";import"./chunk-PPNI2DT3.js";import"./chunk-BXBF54ET.js";import"./chunk-ITLUXIFD.js";import"./chunk-GJFVOOZQ.js";import"./chunk-LK2BF24O.js";import"./chunk-TFMXVVDY.js";import"./chunk-EW4TSJL3.js";import"./chunk-GC7FPR45.js";import"./chunk-XOLV2QM7.js";import"./chunk-KGR5VWH6.js";import"./chunk-FJ2QCXND.js";import"./chunk-5RJU5RWU.js";import"./chunk-CMCRHNFU.js";import"./chunk-TLQUMYDX.js";import"./chunk-ISAYYL4P.js";import"./chunk-AI2IV5XU.js";import"./chunk-A32B57A4.js";import"./chunk-J75YHVMQ.js";import"./chunk-4EQLHXW7.js";import"./chunk-Z6X7NAKP.js";import"./chunk-5JYWV45F.js";import"./chunk-TIIPYMHO.js";import"./chunk-QQZCALHS.js";import"./chunk-BGUPMXWV.js";import"./chunk-3JJ5PGXK.js";import{H as g,I as S}from"./chunk-DCSOZT4N.js";import"./chunk-5XZEGBWY.js";import"./chunk-AIHAZUSZ.js";import{a as b,b as _}from"./chunk-TS62PHQY.js";import"./chunk-KADRYNDC.js";import"./chunk-PM3MTE6X.js";import{h as u,o as H}from"./chunk-HO2J6YLX.js";import"./chunk-IOINCEV4.js";import"./chunk-Z5RJRCWC.js";import{Eb as a,Gd as y,J as r,Ob as d,Sb as p,ec as c,ia as t,na as D,qc as m,rc as h,x as s,zc as l}from"./chunk-JSJB5BKT.js";import{e as C}from"./chunk-SZAW6ZBW.js";var K,T=C(()=>{D();M();_();N();y();H();S();w();K=(()=>{class i extends b{constructor(e,n,o){super(),this.route=e,this.displayModeService=n,this.connectionHandbookNavigationService=o,this.permissions=new k,this.displayModeService.isKioskMode=!0}ngOnInit(){this.route.params.pipe(t(this.destroyed$),r(e=>!!e.id)).subscribe(e=>this.handbookId=e.id),this.route.queryParams.pipe(t(this.destroyed$)).subscribe(e=>this.pageId=e.page||this.handbookId),this.route.data.pipe(t(this.destroyed$),s(e=>e.permissions)).subscribe(e=>this.permissions=e)}onPageChange(e){this.connectionHandbookNavigationService.navigateToDocumentation(this.handbookId,e,!1)}static{this.\u0275fac=function(n){return new(n||i)(a(u),a(g),a(f))}}static{this.\u0275cmp=d({type:i,selectors:[["ng-component"]],features:[p],decls:1,vars:5,consts:[[3,"pageChange","handbookId","pageId","canEditHandbook","canDeleteHandbook","allowOpenInNewTab"]],template:function(n,o){n&1&&(m(0,"dvls-doc-handbook-dashboard",0),l("pageChange",function(I){return o.onPageChange(I)}),h()),n&2&&c("handbookId",o.handbookId)("pageId",o.pageId)("canEditHandbook",o.permissions==null?null:o.permissions.canEditHandbook)("canDeleteHandbook",o.permissions==null?null:o.permissions.canDeleteHandbook)("allowOpenInNewTab",!1)},dependencies:[v],encapsulation:2})}}return i})()});T();export{K as ConnectionDocumentationComponent};
