1"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[7],{4007:(R,_,n)=>{n.r(_),n.d(_,{SubpageLayoutComponent:()=>v});var t=n(7705),l=n(1413),g=n(7673),h=n(5405),E=n(3154),f=n(5964),c=n(9172),p=n(8141),u=n(5558),d=n(9437),i=n(177),M=n(1626),m=n(345),O=n(5669),P=n(7163);function C(a,D){if(1&a){const e=t.RV6();t.qex(0),t.j41(1,"div",1),t.bIt("click",function(r){t.eBV(e);const o=t.XpG();return t.Njj(o.handleLink(r))}),t.nI1(2,"safe"),t.k0s(),t.bVm()}if(2&a){const e=D.ngIf;t.R7$(1),t.Y8G("innerHTML",t.bMT(2,1,e.desc),t.npT)}}let v=(()=>{class a{constructor(e,s,r,o,L,U,T){this.http=e,this.state=s,this.seo=r,this.router=o,this.el=L,this.platformId=U,this.response=T,this.$loadingOrError=new l.B,this.$subpage=this.router.events.pipe((0,f.p)(I=>I instanceof h.wF),(0,c.Z)(null),(0,p.M)(()=>{this.URL=this.router.url,this.KEY=(0,t.zw6)(`subpages#${this.URL}`)}),(0,u.n)(()=>this.getSSR()))}ngAfterViewChecked(){(0,i.UE)(this.platformId)&&this.el.nativeElement.querySelectorAll('a[href^="http"], a[href^="mailto:"], a[href^="tel:"]').forEach(s=>{if(s.classList.contains("no-external-icon")||s.querySelector(".fa-arrow-up-right-from-square"))return;const r=document.createElement("i");r.classList.add("fa-regular","fa-arrow-up-right-from-square"),r.style.marginLeft="6px",r.style.fontSize="0.6rem",s.appendChild(r)})}handleLink(e){const r=e.target.closest("a");if(!r)return;const o=r.getAttribute("href");o&&o.startsWith("/")&&!o.startsWith("/api")&&(e.preventDefault(),this.router.navigateByUrl(o))}getSSR(){const e=this.state.get(this.KEY,void 0);return this.http.get("/api/subpages/search",{params:{url:this.URL}}).pipe((0,p.M)(s=>{this.state.set(this.KEY,s),this.seo.updateHeadTags({...s.seo,url:this.URL})}),(0,d.W)(s=>((0,i.UE)(this.platformId)||(this.response.statusCode=404),this.$loadingOrError.next(!0),(0,g.of)(void 0))),(0,c.Z)(e))}static{this.\u0275fac=function(s){return new(s||a)(t.rXU(M.Qq),t.rXU(m.pJ),t.rXU(O.B),t.rXU(h.Ix),t.rXU(t.aKT),t.rXU(t.Agw),t.rXU(E.C,8))}}static{this.\u0275cmp=t.VBU({type:a,selectors:[["app-subpage-layout"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"box","ck-content",3,"innerHTML","click"]],template:function(s,r){1&s&&(t.DNE(0,C,3,3,"ng-container",0),t.nI1(1,"async")),2&s&&t.Y8G("ngIf",t.bMT(1,1,r.$subpage))},dependencies:[i.bT,i.Jj,P.m],styles:["div.box[_ngcontent-%COMP%]{background-color:#fff;border-radius:10px 40px 10px 10px;overflow:hidden;padding:30px}[_nghost-%COMP%] h1{line-height:1}[_nghost-%COMP%] div.ck-content h2{margin-top:2.5rem}[_nghost-%COMP%] div.ck-content h2:first-child{margin-top:0}[_nghost-%COMP%] div.ck-content h3{margin-top:1.5rem}[_nghost-%COMP%] div.ck-content h2{font-size:1.2rem!important;text-transform:none}[_nghost-%COMP%] div.ck-content h3{font-size:1.05rem!important;text-transform:none}[_nghost-%COMP%] div.ck-content p{color:#000}[_nghost-%COMP%] div.ck-content table p:last-child{margin-bottom:0}[_nghost-%COMP%] div.ck-content strong{font-weight:800}"]})}}return a})()}}]);
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.