1import{a as Ee}from"./chunk-EC2UQBGK.js";import{a as H,c as R,d as xe,e as Le}from"./chunk-NFZ5UPA2.js";import{La as P}from"./chunk-SXXSTVKM.js";import"./chunk-NBCEDQV7.js";import{a as _e}from"./chunk-RSZXPKVY.js";import"./chunk-A36COIJN.js";import"./chunk-V2LCGCHA.js";import"./chunk-YL73HO5A.js";import"./chunk-WLMZXFIY.js";import"./chunk-BON6DGXC.js";import"./chunk-J5RTUER6.js";import"./chunk-WH6553TB.js";import"./chunk-RFZRNKEH.js";import"./chunk-KJMCXC2Q.js";import"./chunk-HXXP6ZLT.js";import"./chunk-2NAKW6AO.js";import"./chunk-DFWATXFW.js";import"./chunk-CR65ICOX.js";import"./chunk-VBCT6I3Q.js";import"./chunk-SVOCP6NS.js";import"./chunk-2DJPIUU2.js";import"./chunk-M6DXYQZY.js";import"./chunk-4H263KZ2.js";import"./chunk-XCS72FDQ.js";import"./chunk-WLL3BAAB.js";import"./chunk-EDF3FQZZ.js";import"./chunk-IJOQMYIR.js";import{a as Te}from"./chunk-O474YC64.js";import"./chunk-PNPW23CE.js";import"./chunk-LHDTM7CQ.js";import"./chunk-DIEYCNP2.js";import"./chunk-TQPKTQAL.js";import"./chunk-V5UUD3QI.js";import"./chunk-IVUCFRAW.js";import"./chunk-D7VEHFH6.js";import"./chunk-BJEDNTAC.js";import"./chunk-OSUWHDPV.js";import"./chunk-7365YTCK.js";import"./chunk-6TQOBFCS.js";import"./chunk-PPMQE2JW.js";import"./chunk-FUUHAJX4.js";import"./chunk-6VVDVILU.js";import"./chunk-2UQAVQ45.js";import"./chunk-JKUHAAK3.js";import{i as we}from"./chunk-ZEOBUA47.js";import"./chunk-Z5XG4XOC.js";import"./chunk-TPNIEUA4.js";import"./chunk-OUVQIOMK.js";import"./chunk-5SRAOHH7.js";import"./chunk-S2WGG3O5.js";import"./chunk-2VXHONUW.js";import"./chunk-BTWHZXKR.js";import"./chunk-CKFV7ZF2.js";import"./chunk-FL4RUWUP.js";import"./chunk-W6TXBZ6D.js";import"./chunk-NQRRLVFI.js";import"./chunk-HTF3JALH.js";import{a as Se,b as Me}from"./chunk-RJGQFZWE.js";import"./chunk-RYGMUVZO.js";import"./chunk-6LHHOJ67.js";import"./chunk-YDRZG5W4.js";import"./chunk-C2K24JJO.js";import"./chunk-SKLK4QB7.js";import"./chunk-AFY537I3.js";import"./chunk-FOX6PFLG.js";import"./chunk-JUTCCWXP.js";import"./chunk-IHXXJ3FS.js";import"./chunk-XIR7RIPN.js";import"./chunk-EQEHDPN2.js";import"./chunk-KQNKCWSB.js";import"./chunk-7GS6EP74.js";import"./chunk-W3NQXQOX.js";import"./chunk-FN5PQSEI.js";import"./chunk-DORVKHI7.js";import"./chunk-TN75OO2P.js";import"./chunk-YR7EQSKE.js";import"./chunk-7A4O647I.js";import"./chunk-LO6CADJZ.js";import"./chunk-BE6I22JN.js";import"./chunk-4Z5RL6QO.js";import"./chunk-ASA3TRRD.js";import"./chunk-HQANNBNX.js";import"./chunk-AE6ER5EQ.js";import"./chunk-VCDKFT4V.js";import"./chunk-U7DEF5TX.js";import"./chunk-PFMUUSHO.js";import"./chunk-2TFAGBRS.js";import"./chunk-BUYGALCV.js";import{E as ye,F as A,c as de,e as v,g as pe,h as ge,j as ue,m as f,o as fe,t as he,u as ve,v as be,w as Ce,x as ke}from"./chunk-2QYSD5RO.js";import"./chunk-5PO4QCCX.js";import"./chunk-DMHJZRXD.js";import"./chunk-K4QTA3A5.js";import"./chunk-54W4P7NA.js";import"./chunk-XYUM3QGQ.js";import{C as I,L as N,g as F}from"./chunk-AJRHK7D2.js";import"./chunk-QGTBO2LV.js";import"./chunk-BPCMKL7S.js";import"./chunk-PCGUCIEY.js";import"./chunk-TBVUQWMS.js";import{f as re,h as ae,i as h,n as O}from"./chunk-FAGCLODN.js";import"./chunk-ROUGUONR.js";import"./chunk-63HL2L7R.js";import"./chunk-SVLM2ECX.js";import"./chunk-MY5YK5O5.js";import{c as se}from"./chunk-4NGQH4V6.js";import"./chunk-PWQXPZVK.js";import"./chunk-UKHQPMQZ.js";import"./chunk-Y4AYZAWK.js";import"./chunk-7WAXKT5I.js";import{e as me}from"./chunk-MHLI7EB3.js";import"./chunk-KIBC2ZGT.js";import"./chunk-6K3X73CK.js";import{c as ne,d as oe}from"./chunk-DLTOIL4G.js";import{d as ie,e as E}from"./chunk-334MXCTX.js";import{a as le,b as ce}from"./chunk-U5TOGEJX.js";import{H as ee,L as te}from"./chunk-OD4FXCMW.js";import{Fc as L,Gc as X,Hc as W,Ib as l,Ja as _,Lc as J,Mc as K,Nc as Y,Ob as g,Pb as V,V as z,Wc as a,cb as q,hc as d,jc as p,oc as c,pc as o,pd as u,qc as t,rc as s,sb as U,sc as M,tc as x,ua as G,uc as Q,ud as Z,vd as $,zb as m}from"./chunk-T2TVCV7P.js";import{g as Pe}from"./chunk-BBHHUGUF.js";var Ne=Pe(Te());var Be=()=>["/"],je=()=>["./"],T=class i{constructor(){}ngOnInit(){}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=g({type:i,selectors:[["m-header-b2b"]],decls:8,vars:5,consts:[[1,"m-nav-shadow","mb-2","bg-white","position-sticky",2,"to
1p","0","z-index","1"],[1,"container","d-flex","justify-content-between","align-items-center","py-6","px-6","px-md-4"],[3,"routerLink"],["height","22px","src","../../../../images/ausmed-styles/svgs/horizontal-colours/1-C_Ausmed-Horizontal.svg","alt","Ausmed Brand Logo",1,"d-none","d-md-block"],["height","38px","src","../../../../images/ausmed-styles/svgs/horizontal-colours/1-C_Ausmed-Horizontal.svg","alt","Ausmed Brand Logo",1,"d-md-none"],[1,"btn","btn-primary",3,"routerLink","fragment"]],template:function(e,n){e&1&&(o(0,"div",0)(1,"div",1)(2,"div")(3,"a",2),s(4,"img",3)(5,"img",4),t()(),o(6,"a",5),a(7,"Get Started"),t()()()),e&2&&(m(3),c("routerLink",u(3,Be)),m(3),c("routerLink",u(4,je))("fragment","form"))},dependencies:[h],encapsulation:2,changeDetection:0})}};var He=()=>["/"],B=class i{constructor(r,e,n){this.objectParamsService=r;this.injector=e;this.auth=n}ngOnInit(){}openSubform(){this.auth.isAuthenticated()||this.objectParamsService.setParam(I,"subfunnel"),P(this.injector,"ads-landing-page").subscribe()}static{this.\u0275fac=function(e){return new(e||i)(l(F),l(_),l(N))}}static{this.\u0275cmp=g({type:i,selectors:[["m-header-b2c"]],decls:8,vars:2,consts:[[1,"m-nav-shadow","mb-2","bg-white","position-sticky",2,"top","0","z-index","1"],[1,"container","d-flex","justify-content-between","align-items-center","py-6","px-6","px-md-4"],[3,"routerLink"],["height","22px","src","../../../../images/ausmed-styles/svgs/horizontal-colours/1-C_Ausmed-Horizontal.svg","alt","Ausmed Logo",1,"d-none","d-md-block"],["height","38px","src","../../../../images/ausmed-styles/svgs/ausmed-brand/Mark1-C_Ausmed.svg","alt","Ausmed Logo",1,"d-md-none"],[1,"btn","btn-primary",3,"click"]],template:function(e,n){e&1&&(o(0,"div",0)(1,"div",1)(2,"div")(3,"a",2),s(4,"img",3)(5,"img",4),t()(),o(6,"button",5),L("click",function(){return n.openSubform()}),a(7,"Get started"),t()()()),e&2&&(m(3),c("routerLink",u(1,He)))},dependencies:[h],encapsulation:2,changeDetection:0})}};var Re=()=>["/"],ze=()=>["/join"],Ge=()=>({sendEvent:"OB-signup-start",context:"ads-landing-page"}),j=class i{constructor(){}ngOnInit(){}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=g({type:i,selectors:[["m-header-account"]],decls:8,vars:6,consts:[[1,"m-nav-shadow","mb-2","bg-white","position-sticky",2,"top","0","z-index","1"],[1,"container","d-flex","justify-content-between","align-items-center","py-6","px-6","px-md-4"],[3,"routerLink"],["height","22px","src","../../../../images/ausmed-styles/svgs/horizontal-colours/1-C_Ausmed-Horizontal.svg","alt","Ausmed Logo",1,"d-none","d-md-block"],["height","38px","src","../../../../images/ausmed-styles/svgs/ausmed-brand/Mark1-C_Ausmed.svg","alt","Ausmed Logo",1,"d-md-none"],[1,"btn","btn-primary",3,"routerLink","queryParams"]],template:function(e,n){e&1&&(o(0,"div",0)(1,"div",1)(2,"div")(3,"a",2),s(4,"img",3)(5,"img",4),t()(),o(6,"a",5),a(7,"Create Free Account"),t()()()),e&2&&(m(3),c("routerLink",u(3,Re)),m(3),c("routerLink",u(4,ze))("queryParams",u(5,Ge)))},dependencies:[h],encapsulation:2,changeDetection:0})}};function qe(i,r){i&1&&(o(0,"small",10),a(1," This field is required "),t())}function Ue(i,r){i&1&&(o(0,"small",10),a(1," This field is required "),t())}function Ve(i,r){i&1&&(o(0,"small",10),a(1," This field is required "),t())}function Qe(i,r){i&1&&(o(0,"small",10),a(1," This field is required "),t())}function Xe(i,r){i&1&&(o(0,"small",10),a(1," This field is required "),t())}function We(i,r){i&1&&(o(0,"small",10),a(1," This field is required "),t())}function Je(i,r){i&1&&s(0,"ui-spinner",24)}function Ke(i,r){i&1&&(o(0,"div",25)(1,"h3",26),a(2,"Thanks for taking the first step. Our team will be in touch shortly."),t()())}var y=class i{constructor(r,e,n,b){this.analyticsService=r;this.httpClient=e;this.httpClientBackend=n;this.libMarketService=b;this.submittingForm=!1;this.formError=!1;this.formSubmitted=!1;this.form=new ue({firstName:new f("",v.required),lastName:new f("",v.required),orgFullName:new f(""),orgCEmail:new f("",[v.required,v.email]),orgCContact:new f("",v.required),orgName:new f("",v.required),orgStaff:new f("",v.required),source:new f("Search engine (Google, Bing)")});this.httpClient=new E(this.httpClientBackend)}ngOnInit(){this.form.statusChanges.subscribe(r=>{}),this.form.valueChanges.pipe(z(1)).subscribe(()=>{this.analyticsService.track("AT-teams-interested",{source:"website",context:"b2b-landing-page"}),this.analyticsService.track("AT-leadflow-started"),gtag("event","AT-leadflow-started",{event_category:"Lead",event_label:"b2b-landing-page"})})}
1submitForm(){this.form.controls.orgFullName.setValue(this.form.controls.firstName.value+" "+this.form.controls.lastName.value),this.formData=this.form.value;let r={source:"website",context:"b2b-landing-page",formData:this.formData};this.analyticsService.track("AT-leadflow-submitted",r),this.libMarketService.track("AT-leadflow-submitted"),gtag("event","AT-leadflow-submitted",{event_category:"Lead",event_label:"b2b-landing-page"}),this.submittingForm=!0,this.httpClient.get("https://hooks.zapier.com/hooks/catch/2295104/ojvsg7n/?"+Object.keys(this.formData).map(e=>e+"="+encodeURIComponent(this.formData[e])).join("&")).subscribe(()=>{this.submittingForm=!1,this.formSubmitted=!0,this.form.reset(),this.form.patchValue({source:"Search engine (Google, Bing)"})},e=>{this.submittingForm=!1,this.formError=!0,console.log(e),alert("We're sorry, something's not right at our end. Please try again later.")})}static{this.\u0275fac=function(e){return new(e||i)(l(se),l(E),l(ie),l(_e))}}static{this.\u0275cmp=g({type:i,selectors:[["m-lead-form"]],decls:55,vars:10,consts:[[1,"m-bg-cream","pb-7","pt-md-7","position-relative"],[1,"m-grid-halfs","container","pt-7"],[1,"font-weight-bold","h2"],[1,"m-paragraph-secondary"],[1,"position-relative"],[1,"ml-lg-6",2,"max-width","400px",3,"submit","formGroup"],[1,"d-flex","gap-3"],[1,"form-group","w-100"],["for","firstName"],["type","text","formControlName","firstName","id","firstName",1,"form-control"],[1,"text-danger"],["for","lastName"],["type","text","formControlName","lastName","id","lastName",1,"form-control"],[1,"form-group"],["for","email"],["type","email","formControlName","orgCEmail","id","email",1,"form-control"],["for","phone"],["type","text","formControlName","orgCContact","id","phone",1,"form-control"],["for","company"],["type","text","formControlName","orgName","id","company",1,"form-control"],["for","selectStaffNumber"],[1,"form-has-caret"],["formControlName","orgStaff","id","selectStaffNumber",1,"form-control"],["type","submit",1,"btn","btn-primary","d-inline-flex","align-items-center",3,"disabled"],["color","light",1,"mr-2"],[1,"mt-4"],[1,"fw-bold","text-plan","f-3"]],template:function(e,n){e&1&&(o(0,"div",0)(1,"div",1)(2,"div")(3,"h2",2),a(4,"Get in touch with our team"),t(),o(5,"p",3),a(6,"Find out how we can support your organisation"),t()(),o(7,"div",4)(8,"form",5),L("submit",function(){return n.submitForm()}),o(9,"div",6)(10,"div",7)(11,"label",8),a(12,"First Name"),t(),s(13,"input",9),d(14,qe,2,0,"small",10),t(),o(15,"div",7)(16,"label",11),a(17,"Last Name"),t(),s(18,"input",12),d(19,Ue,2,0,"small",10),t()(),o(20,"div",13)(21,"label",14),a(22,"Email Address"),t(),s(23,"input",15),d(24,Ve,2,0,"small",10),t(),o(25,"div",13)(26,"label",16),a(27,"Phone Number"),t(),s(28,"input",17),d(29,Qe,2,0,"small",10),t(),o(30,"div",13)(31,"label",18),a(32,"Company Name"),t(),s(33,"input",19),d(34,Xe,2,0,"small",10),t(),o(35,"div",13)(36,"label",20),a(37,"Number of Staff"),t(),o(38,"div",21)(39,"select",22)(40,"option"),a(41,"1-10"),t(),o(42,"option"),a(43,"11-25"),t(),o(44,"option"),a(45,"26-50"),t(),o(46,"option"),a(47,"51-250"),t(),o(48,"option"),a(49,"251+"),t()()(),d(50,We,2,0,"small",10),t(),o(51,"button",23),d(52,Je,1,0,"ui-spinner",24),a(53," Get in touch "),t()(),d(54,Ke,3,0,"div",25),t()()()),e&2&&(m(8),c("formGroup",n.form),m(6),p((n.form.get("firstName").dirty||n.form.get("firstName").touched)&&n.form.get("firstName").invalid&&n.form.get("firstName").errors?14:-1),m(5),p((n.form.get("lastName").dirty||n.form.get("lastName").touched)&&n.form.get("lastName").invalid&&n.form.get("lastName").errors?19:-1),m(5),p((n.form.get("orgCEmail").dirty||n.form.get("orgCEmail").touched)&&n.form.get("orgCEmail").invalid&&n.form.get("orgCEmail").errors?24:-1),m(5),p((n.form.get("orgCContact").dirty||n.form.get("orgCContact").touched)&&n.form.get("orgCContact").invalid&&n.form.get("orgCContact").errors?29:-1),m(5),p((n.form.get("orgName").dirty||n.form.get("orgName").touched)&&n.form.get("orgName").invalid&&n.form.get("orgName").errors?34:-1),m(16),p((n.form.get("orgStaff").dirty||n.form.get("orgStaff").touched)&&n.form.get("orgStaff").invalid&&n.form.get("orgStaff").errors?50:-1),m(),c("disabled",n.submittingForm||n.form.invali
1d),m(),p(n.submittingForm?52:-1),m(2),p(n.formSubmitted?54:-1))},dependencies:[A,fe,Ce,ke,de,be,pe,ge,ve,he,le],styles:[".bg-bottom-left[_ngcontent-%COMP%]{background-position:bottom left}.bg-no-repeat[_ngcontent-%COMP%]{background-repeat:no-repeat}"]})}};var D=class i{constructor(r,e,n){this.objectParamsService=r;this.injector=e;this.auth=n}ngOnInit(){}openSubform(){this.auth.isAuthenticated()||this.objectParamsService.setParam(I,"subfunnel"),P(this.injector,"ads-landing-page").subscribe()}static{this.\u0275fac=function(e){return new(e||i)(l(F),l(_),l(N))}}static{this.\u0275cmp=g({type:i,selectors:[["m-marketing-lead-block"]],decls:10,vars:0,consts:[[1,"m-bg-cream","mt-6"],[1,"pt-11","pb-11","container","text-center","position-relative"],["src","../../../../images/ausmed-brand-2020/nuggets-fries/m-curl-fry.svg","alt","Decorative and fun squiggly line",1,"position-absolute","m-curl-positioning"],["src","../../../../images/ausmed-brand-2020/nuggets-fries/yellow-purple-half-moon-fry.svg","alt","Decorative and fun squiggly line",1,"position-absolute","half-moon-positioning"],[1,"m-display-2","mx-auto","mb-6",2,"max-width","600px"],[1,"m-paragraph-secondary","mx-auto","m-text-neutral-700",2,"max-width","600px"],[1,"btn","btn-primary",3,"click"]],template:function(e,n){e&1&&(M(0,"div",0)(1,"div",1),Q(2,"img",2)(3,"img",3),M(4,"h2",4),a(5,"Get Started with Ausmed"),x(),M(6,"p",5),a(7,"A powerful learning platform, with Ausmed\u2019s content built-in. Deliver amazing learning experiences whilst easily managing compliance."),x(),M(8,"button",6),X("click",function(){return n.openSubform()}),a(9,"Get started"),x()()())},styles:[".half-moon-positioning[_ngcontent-%COMP%]{bottom:16px;right:0}@media(max-width:767.98px){.half-moon-positioning[_ngcontent-%COMP%]{transform:rotate(-45deg)}}.m-curl-positioning[_ngcontent-%COMP%]{top:-24px;left:0}@media(max-width:767.98px){.m-curl-positioning[_ngcontent-%COMP%]{top:8px;left:8px;height:64px}}"],changeDetection:0})}};var Fe=()=>["/"],Ie=()=>["/about/contact"],S=class i{constructor(){}ngOnInit(){}static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275cmp=g({type:i,selectors:[["m-footer"]],decls:38,vars:8,consts:[[1,"container"],[1,"d-none","d-md-block","w-100"],[1,"m-grid-halfs","py-6"],[1,"d-flex","align-items-center"],[1,"footer-link","footer-link--logo",3,"routerLink"],["height","22px","src","../../../../images/ausmed-styles/svgs/horizontal-colours/1-C_Ausmed-Horizontal.svg","alt","Ausmed Logo",1,"mr-7"],[1,"m-btn-link","mx-6",3,"routerLink"],["href","https://learnersupport.ausmed.com.au/support","target","_blank",1,"m-btn-link"],[1,"d-flex","justify-content-between"],[1,"ml-6","mr-2","m-paragraph-primary","m-text-dark"],["href","https://www.facebook.com/ausmed","target","_blank",1,"p-2"],["name","social-media-facebook","color","text-neutral-900","size","f-h3"],["href","https://www.instagram.com/ausmededu/","target","_blank",1,"p-2"],["name","social-instagram","color","text-neutral-900","size","f-h3"],["href","https://twitter.com/Ausmed","target","_blank",1,"p-2"],["name","social-media-twitter","color","text-neutral-900","size","f-h3"],[1,"d-block","d-md-none"],[1,"py-6","d-flex","justify-content-between"],[1,"d-flex","flex-column","align-items-start"],[3,"routerLink"],["height","38px","src","../../../../images/ausmed-styles/svgs/ausmed-brand/Mark1-C_Ausmed.svg","alt","Ausmed Logo",1,"d-md-none"],[1,"m-btn-link","pt-6","pt-md-0","ml-md-6","mr-md-6",3,"routerLink"],[1,"d-flex"],[1,"pb-6","m-paragraph-primary","m-text-dark"]],template:function(e,n){e&1&&(o(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"a",4),s(5,"img",5),t(),o(6,"a",6),a(7,"Contact Us"),t(),o(8,"a",7),a(9,"FAQs"),t()(),o(10,"div",8)(11,"span",9),a(12,"\xA9 2025 Ausmed Education Pty Ltd"),t(),o(13,"div")(14,"a",10),s(15,"ui-streamline-icon",11),t(),o(16,"a",12),s(17,"ui-streamline-icon",13),t(),o(18,"a",14),s(19,"ui-streamline-icon",15),t()()()()(),o(20,"div",16)(21,"div",17)(22,"div",18)(23,"a",19),s(24,"img",20),t(),o(25,"a",21),a(26,"Contact Us"),t(),o(27,"a",7),a(28,"FAQs"),t()(),o(29,"div",22)(30,"a",10),s(31,"ui-streamline-icon",11),t(),o(32,"a",12),s(33,"ui-streamline-icon",13),t(),o(34,"a",14),s(35,"ui-streamline-icon",15),t()()(),o(36,"div",23),a(37,"\xA9 2025 Ausmed
1Education Pty Ltd"),t()()()),e&2&&(m(4),c("routerLink",u(4,Fe)),m(2),c("routerLink",u(5,Ie)),m(17),c("routerLink",u(6,Fe)),m(2),c("routerLink",u(7,Ie)))},dependencies:[h,me],encapsulation:2,changeDetection:0})}};var Ye=["articleContentRef"];function Ze(i,r){i&1&&s(0,"m-header-b2b")}function $e(i,r){i&1&&s(0,"m-header-b2c")}function et(i,r){i&1&&s(0,"m-header-account")}function tt(i,r){if(i&1&&(s(0,"div",3),Z(1,"sanitize")),i&2){let e=W();c("innerHtml",$(1,1,e.landingPage==null?null:e.landingPage.content),U)}}function it(i,r){i&1&&s(0,"m-lead-form",4)}function nt(i,r){i&1&&s(0,"m-marketing-lead-block")}function ot(i,r){i&1&&s(0,"m-footer")}var w=class i{constructor(r,e,n,b,at,mt){this.marketingLandingPageService=r;this.route=e;this.titleService=n;this.metaService=b;this.router=at;this.platformId=mt;this.isBrowser=!1;this.showB2BHeader=!1;this.showB2CHeader=!1;this.showAccountHeader=!1;this.showFooter=!1;this.showForm=!1;this.isBrowser=te(this.platformId)}ngOnInit(){this.route.params.subscribe(r=>{this.marketingLandingPageService.getLandingPageByAlias(r.alias).subscribe(e=>{if(e.length===0)this.router.navigate(["/"]);else{if(e.status==="Archived"){this.router.navigate(["/"]);return}this.landingPage=e,(!this.landingPage.indexable||this.landingPage.status!=="Published")&&xe(this.metaService),this.setMetaData(),this.continueProcess()}},e=>{console.log(e),this.router.navigate(["/"])})})}setMetaData(){let r={title:(0,Ne.decode)(this.landingPage.metaTitle||""),description:this.landingPage.metaDescription||""};H(this.titleService,this.metaService,r),R(this.metaService,r)}continueProcess(){switch(this.landingPage.pageType){case"B2B":this.resetToogles(),this.showFooter=!0,this.showB2BHeader=!0,this.showForm=!0;break;case"Subscription":this.resetToogles(),this.showFooter=!0,this.showB2CHeader=!0,this.showForm=!1;break;case"Account":this.resetToogles(),this.showFooter=!0,this.showAccountHeader=!0,this.showForm=!1;break;default:this.resetToogles(),this.showFooter=!0,this.showB2BHeader=!0,this.showForm=!1}this.isBrowser&&(this.articleContentRef.nativeElement.innerHTML=this.landingPage.content)}ngOnDestroy(){Le(this.metaService),H(this.titleService,this.metaService),R(this.metaService)}resetToogles(){this.showB2BHeader=!1,this.showB2CHeader=!1,this.showAccountHeader=!1,this.showFooter=!1,this.showForm=!1}static{this.\u0275fac=function(e){return new(e||i)(l(Ee),l(re),l(oe),l(ne),l(ae),l(q))}}static{this.\u0275cmp=g({type:i,selectors:[["ng-component"]],viewQuery:function(e,n){if(e&1&&J(Ye,7),e&2){let b;K(b=Y())&&(n.articleContentRef=b.first)}},decls:11,vars:7,consts:[["articleContentRef",""],[1,"bg-white"],[1,"container"],[3,"innerHtml"],["id","form"]],template:function(e,n){e&1&&(o(0,"div",1),d(1,Ze,1,0,"m-header-b2b"),d(2,$e,1,0,"m-header-b2c"),d(3,et,1,0,"m-header-account"),o(4,"div",2),s(5,"div",null,0),d(7,tt,2,3,"div",3),t(),d(8,it,1,0,"m-lead-form",4),d(9,nt,1,0,"m-marketing-lead-block"),d(10,ot,1,0,"m-footer"),t()),e&2&&(m(),p(n.showB2BHeader?1:-1),m(),p(n.showB2CHeader?2:-1),m(),p(n.showAccountHeader?3:-1),m(4),p(n.isBrowser?-1:7),m(),p(n.showForm?8:-1),m(),p(n.showB2CHeader?9:-1),m(),p(n.showFooter?10:-1))},dependencies:[T,B,j,y,D,S,Me,Se],encapsulation:2})}};var rt=[{path:"",component:w}],Ae=class i{static{this.\u0275fac=function(e){return new(e||i)}}static{this.\u0275mod=V({type:i})}static{this.\u0275inj=G({imports:[ee,O.forChild(rt),we,ye,A,ce,w,S,y,O]})}};export{Ae as MarketingLandingPageModule};
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.