1import{a as L,b as j}from"./chunk-5V34IOTE.js";import"./chunk-QGHS3H3B.js";import{a as A}from"./chunk-KPYHIJ2X.js";import{a as H}from"./chunk-53X4KISX.js";import"./chunk-YBVDFQEW.js";import"./chunk-U2R3PQKV.js";import"./chunk-33U7CWH6.js";import"./chunk-HZ4C2I5A.js";import"./chunk-UOITRGZK.js";import"./chunk-ZPRB3XAV.js";import{a as E,b as M}from"./chunk-2TL7DSS6.js";import"./chunk-V5ZGPBJ2.js";import"./chunk-W6CTV5QR.js";import{c as N,x as P}from"./chunk-QJR3TNSK.js";import{o as T}from"./chunk-ORHRSOOZ.js";import"./chunk-DBVLANSY.js";import"./chunk-HNJ6M6TB.js";import"./chunk-YFQ7JV6D.js";import"./chunk-QTFKSNAC.js";import"./chunk-W4XBYBVE.js";import{n as D,t as I}from"./chunk-5BWIBOEJ.js";import{$b as d,D as f,Db as R,Tb as u,U as k,Vb as C,_b as m,ac as l,ad as w,bc as a,bd as x,g,h as S,ha as c,nb as n,pc as _,q as b,r as y,vd as F}from"./chunk-TWWR6OUJ.js";import"./chunk-WB52SRLZ.js";import{a as p,b as v}from"./chunk-ZRJ5ZCFR.js";function B(i,t){if(i&1&&(d(0,"div",7),a(1,"gcore-hubspot-form",8),l()),i&2){let e=_();n(),m("formRelation",e.formRelation)("feedbackImage",e.featuredImage)("feedbackDownloadLink",e.feedbackDownload==null?null:e.feedbackDownload.url)("customFormName",e.customFormName)}}function K(i,t){if(i&1&&(d(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3),a(4,"gc-article-header",4),d(5,"div",5),a(6,"gcore-editor",6),l()(),u(7,B,2,4,"div",7),l()()(),a(8,"gcore-cta-section",4)),i&2){let e=t,o=_();n(4),m("content",o.articleHeader),n(2),m("text",e.pageText),n(),C(e.formRelation&&(e.feedbackDownload!=null&&e.feedbackDownload.url||e.customFormName)?7:-1),n(),m("content",e.joinSection)}}var $=class h{constructor(){this.strapiService=c(P),this.seoService=c(N),this.route=c(T),this.cd=c(F)}ngOnInit(){this.content$=this.getPageContent(),this.cd.detectChanges()}getPageContent(){return y([this.strapiService.getPageFromCollection("resources",this.route.snapshot.routeConfig?.path??""),this.strapiService.getSingleContentType("blog-page","blogPage")]).pipe(M(this),k(([t,e])=>{this.seoService.setMetaInfo(t.metaData,t.featuredImage),this.articleHeader={featuredImage:t.featuredImage,pageTitle:t.pageTitle};let o=t.feedbackDownload,r="resource";return!o&&t.customFormName&&(r=t.customFormName),this.strapiService.getItemFromCollection("forms",r).pipe(b(s=>v(p(p({},t),e),{feedbackDownload:o,formRelation:s})),f(s=>(console.error(s),g)))}),f(t=>(console.error(t),g)))}static{this.\u0275fac=function(e){return new(e||h)}}static{this.\u0275cmp=R({type:h,selectors:[["gcore-resource"]],decls:2,vars:3,consts:[[1,"gc-pt_24","gc-pb_24","gc-content-check"],[1,"gc-container"],[1,"gc-container_grid","gc-pt_12","gc-pt-md_8"],[1,"gc-grid-col-span_7","gc-grid-col-md_full"],[3,"content"],[1,"gc-mt_16"],[3,"text"],[1,"gc-grid-col_9","gc-grid-col-span_4","gc-grid-col-md_1","gc-grid-col-span-md_8","gc-grid-col-sm_full","gc-pt-md_12"],[3,"formRelation","feedbackImage","feedbackDownloadLink","customFormName"]],template:function(e,o){if(e&1&&(u(0,K,9,4),w(1,"async")),e&2){let r;C((r=x(1,1,o.content$))?0:-1,r)}},dependencies:[I,j,L,A,H,D],encapsulation:2,changeDetection:0})}};$=S([E()],$);export{$ as ResourceComponent}; 2//# sourceMappingURL=chunk-2KIAXIC7.js.map
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.