PageSourceSearch

https://nbmedical.com/chunk-P6DSYEOB.js

js nbmedical.com collected 2026-09-24 20:33:49 UTC 4,318 bytes, 1 lines download raw bytes

1import{a as x}from"./chunk-53VQFLC6.js";import{a as _}from"./chunk-Z2HDTMAH.js";import"./chunk-MMQ466VB.js";import"./chunk-JVR6U2RV.js";import"./chunk-5GUHHL73.js";import"./chunk-LSLBIIJK.js";import"./chunk-KQURSBNB.js";import"./chunk-JMVUUNJZ.js";import"./chunk-O3AB7NIS.js";import"./chunk-OWKN33XV.js";import"./chunk-GAX33WGZ.js";import"./chunk-DP5WGZUE.js";import"./chunk-PPF4CICK.js";import"./chunk-I64KL7UV.js";import{a as E}from"./chunk-T45U3SDN.js";import"./chunk-DUB5SLFO.js";import"./chunk-EH3ZA36I.js";import"./chunk-67IXNHRQ.js";import"./chunk-ZGVQJ6DH.js";import"./chunk-SAWTGHE4.js";import{a as B}from"./chunk-56O74KCJ.js";import"./chunk-HNWSV3B3.js";import{d as D,m as T}from"./chunk-PSH5TAI2.js";import"./chunk-W3NUKB7B.js";import"./chunk-KJJHSOFJ.js";import"./chunk-USN3IUD3.js";import"./chunk-AZUCPPFK.js";import"./chunk-SGQORKKV.js";import"./chunk-ZBQW7NJG.js";import{a as S}from"./chunk-C6O6I5LW.js";import"./chunk-O2P25Q5F.js";import{c as M}from"./chunk-TPCL2XMH.js";import"./chunk-WRBQWUEI.js";import{k as P}from"./chunk-KSTBAVB4.js";import{Ab as g,Ac as y,Bb as f,Cb as a,Pb as b,Ra as m,Z as r,bd as C,eb as l,qa as p,sb as d,sc as h,sd as v,tc as w,ub as u,vd as s,zb as o}from"./chunk-P2OBJROK.js";import"./chunk-IZQOVDKO.js";import"./chunk-6IZLXKZM.js";function W(n,A){n&1&&a(0,"nbm-course-access-code",1),n&2&&o("productPage",!0)}function L(n,A){if(n&1&&a(0,"nbm-webinar-page-display",2),n&2){let e=b();o("webinar",e.webinar())}}var K=(()=>{class n{constructor(){this.route=r(P),this.googleTagManagerService=r(M),this.jsonLdService=r(S),this.currencyPipe=new C("en-GB","GBP"),this.routeData=v(this.route.data),this.webinar=y(()=>this.routeData()?.webinar??null),p(()=>{let e=this.webinar();e&&(this.setJsonLdData(),this.googleTagManagerService.sendDetailView(e,D.Webinars))})}get minPrice(){let e=this.webinar(),t;
1return e?.variants.forEach(i=>{t===void 0&&(t=i.price),t>i.price&&(t=i.price)}),t}get maxPrice(){let e=this.webinar(),t;return e?.variants.forEach(i=>{t===void 0&&(t=i.price),t<i.price&&(t=i.price)}),t}setJsonLdData(){let e=this.webinar();!e||"locked"in e||this.jsonLdService.insertSchema(e.isLive?{"@context":"https://schema.org","@type":"EducationEvent",name:e.name,startDate:e.webinarStartDate,endDate:e.webinarEndDate,eventAttendanceMode:"https://schema.org/OnlineEventAttendanceMode",eventStatus:"https://schema.org/EventScheduled",location:{"@type":"VirtualLocation",url:`${s.publicUrl}/webinars/${e.slug}`},image:"https://www.nbmedical.com/assets/img/logo.webp",description:e.plainSummary,offers:{"@type":"Offer",url:`${s.publicUrl}/webinars/${e.slug}`,price:e.variants[0].price,priceCurrency:"GBP",availability:"https://schema.org/InStock",validFrom:e.availableFrom},organizer:{"@type":"Organization",name:"NB Medical",url:"https://www.nbmedical.com"}}:{"@context":"http://schema.org/","@type":"Course",name:e.name,image:"https://www.nbmedical.com/assets/img/logo.webp",description:e.plainSummary,provider:{"@type":"Organization",name:"NB Medical Education",url:"https://www.nbmedical.com"},hasCourseInstance:[{"@type":"CourseInstance",courseMode:["distance learning","Online"],offers:{"@type":"Offer",price:this.maxPrice,priceCurrency:"GBP"}}]},"webinar")}get metaDescription(){let e=this.webinar();if(!e)return"";if("locked"in e)return"NB Medical presents our bespoke course";let t=e.contentTypes?.[0]?.slug,i=t?x[t]:void 0;return i||`NB Medical presents our ${e.name}. Available from ${this.currencyPipe.transform(this.minPrice)}`}get requiresAccessCode(){let e=this.webinar();return e?"locked"in e:!1}static{this.\u0275fac=function(t){return new(t||n)}}static{this.\u0275cmp=l({type:n,selectors:[["nbm-webinar-page"]],decls:4,vars:9,consts:[["titleTextClass","text-white",3,"title","titleBgClass","description","fullWidth","noBottomMargin","hideTitle"],[3,"productPage"],[3,"webinar"]],template:function(t,i){if(t&1&&(g(0,"nbm-site-page",0),h(1,"contentTypeSlug"),d(2,W,1,1,"nbm-course-access-code",1)(3,L,1,1,"nbm-webinar-page-display",2),f()),t&2){let c;o("title",(c=i.webinar())==null?null:c.name)("titleBgClass","bg-gradient bg-"+w(1,7,i.webinar()))("description",i.metaDescription)("fullWidth",!0)("noBottomMargin",!0)("hideTitle",!0),m(2),u(i.requiresAccessCode?2:3)}},dependencies:[T,E,_,B],encapsulation:2})}}return n})();export{K as WebinarPageComponent};

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.