PageSourceSearch

https://nbmedical.com/chunk-7746IFQW.js

js nbmedical.com collected 2026-10-02 07:02:02 UTC 14,132 bytes, 1 lines download raw bytes

1import{a as ge}from"./chunk-WYLCGNV5.js";import{a as ye}from"./chunk-VMU473IV.js";import{b as ue}from"./chunk-NJ52MWOP.js";import{a as me}from"./chunk-4BUZVP2S.js";import"./chunk-X4SHYDUW.js";import"./chunk-LZ4IU7MX.js";import{a as le}from"./chunk-VHGETYMX.js";import"./chunk-K5MOEJHJ.js";import"./chunk-DMOUHCSB.js";import"./chunk-XOCNTRU3.js";import"./chunk-VEN27BFE.js";import"./chunk-4YL5A6AE.js";import{a as I,b as E}from"./chunk-RPOZN3D3.js";import{a as se}from"./chunk-NWUPVDF4.js";import{a as de}from"./chunk-GD7JF4J3.js";import{a as h}from"./chunk-JB47OGZK.js";import{a as ce}from"./chunk-C23CQY3D.js";import{a as oe,d as ae,m as pe}from"./chunk-S33CAPPZ.js";import"./chunk-2K2V3AF7.js";import"./chunk-C6TWE4FZ.js";import"./chunk-Q2YLND27.js";import"./chunk-NU4ZUM7K.js";import{a as re}from"./chunk-NLZC42V6.js";import"./chunk-ZBQW7NJG.js";import{a as U}from"./chunk-ZUSG72XP.js";import"./chunk-HJWJPZ5W.js";import{c as V,g as K,h as Q,i as X,j as Z,k as ee,l as te,la as M,m as ne}from"./chunk-LQY2VBIU.js";import{a as ie}from"./chunk-WRBQWUEI.js";import{k as q,o as z,s as R}from"./chunk-LRSFZQSP.js";import{$b as P,Ab as a,Ac as O,Bb as p,Cb as c,Db as k,Eb as _,Ec as v,Fb as D,Ma as w,Nb as j,Pb as y,Qb as L,Ra as i,Rb as F,Z as b,ac as s,bd as J,cc as g,dc as A,eb as C,ic as x,jc as Y,kb as W,pc as G,qa as H,sb as m,sc as d,sd as $,tc as l,ub as u,uc as S,zb as r}from"./chunk-IXJZIWF6.js";import"./chunk-IZQOVDKO.js";import"./chunk-6IZLXKZM.js";var be=["*"];function Se(n,f){n&1&&D(0,"hr",7)}var fe=(()=>{class n{constructor(){this.icon=v(void 0),this.heading=v(void 0),this.hideHr=v(!1)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=C({type:n,selectors:[["nbm-course-info-part"]],inputs:{icon:[1,"icon"],heading:[1,"heading"],hideHr:[1,"hideHr"]},ngContentSelectors:be,decls:11,vars:5,consts:[[1,"row","text-lg-center"],[1,"col-6","col-lg-12"],[1,"p-1","p-lg-0","px-lg-3","pt-lg-3"],[1,"d-flex","justify-content-between","justify-content-md-end","justify-content-lg-center","align-items-center"],[1,"m-0","mb-2","text-start","text-lg-center","info-text"],[1,"d-none","d-lg-block"],[1,"col-6","col-lg-12","align-self-center"],[1,"d-block","d-lg-none"]],template:function(o,t){o&1&&(L(),k(0,"div",0)(1,"div",1)(2,"div",2),D(3,"i"),k(4,"div",3)(5,"h4",4),s(6),_()()(),D(7,"hr",5),_(),k(8,"div",6),F(9),_()(),m(10,Se,1,0,"hr",7)),o&2&&(i(3),P(Y("icon-",t.icon()," icon-3x mb-3 d-none d-lg-block ")),i(3),g(" ",t.heading()," "),i(4),u(t.hideHr()?-1:10))},encapsulation:2})}}return n})();function Te(n,f){if(n&1&&(c(0,"nbm-perk",2),d(1,"contentTypeSlug")),n&2){let e=y();r("typeSlug",l(1,1,e.course()))}}var Ce=(()=>{class n{constructor(){this.course=v(void 0)}get accredited(){let e=this.course();return e.contentType!=="Urgent Care"&&e.contentType!=="Women's Health"}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=C({type:n,selectors:[["nbm-included-in-public-course"]],inputs:{course:[
11,"course"]},decls:15,vars:24,consts:[["title","What's Included with a Course?",1,"courseIncluded",3,"typeSlug","showOverallBorder","accentTypeSlug"],["perkType","course-location-perk",1,"g-col-12",3,"typeSlug"],["perkType","online-book-perk",1,"g-col-12",3,"typeSlug"],["perkType","cpd-learning-perk",1,"g-col-12",3,"typeSlug"],["perkType","online-webinar-perk",1,"g-col-12",3,"typeSlug"],["perkType","nb-plus-upgrade-perk",1,"g-col-12",3,"typeSlug"],["perkType","cpd-upload-perk",1,"g-col-12",3,"typeSlug"]],template:function(o,t){o&1&&(a(0,"nbm-whats-included-wrapper",0),d(1,"contentTypeSlug"),d(2,"contentTypeSlug"),c(3,"nbm-perk",1),d(4,"contentTypeSlug"),m(5,Te,2,3,"nbm-perk",2),a(6,"nbm-perk",3),d(7,"contentTypeSlug"),s(8),p(),c(9,"nbm-perk",4),d(10,"contentTypeSlug"),c(11,"nbm-perk",5),d(12,"contentTypeSlug"),c(13,"nbm-perk",6),d(14,"contentTypeSlug"),p()),o&2&&(r("typeSlug",l(1,10,t.course()))("showOverallBorder",!0)("accentTypeSlug",l(2,12,t.course())),i(3),r("typeSlug",l(4,14,t.course())),i(2),u(t.course().hasNoCourseMaterials?-1:5),i(),r("typeSlug",l(7,16,t.course())),i(2),g(" ",t.course().credits," credits of CPD learning "),i(),r("typeSlug",l(10,18,t.course())),i(2),r("typeSlug",l(12,20,t.course())),i(2),r("typeSlug",l(14,22,t.course())))},dependencies:[I,E,h],encapsulation:2})}}return n})();function ke(n,f){if(n&1&&(c(0,"nbm-perk",3),d(1,"contentTypeSlug")),n&2){let e=y();r("typeSlug",l(1,1,e.course()))}}function _e(n,f){if(n&1&&(c(0,"nbm-perk",4),d(1,"contentTypeSlug")),n&2){let e=y();r("typeSlug",l(1,1,e.course()))}}var ve=(()=>{class n{constructor(){this.course=v(void 0)}get accredited(){let e=this.course();return e.contentType!=="Urgent Care"&&e.contentType!=="Women's Health"}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=C({type:n,selectors:[["nbm-included-in-ccg-course"]],inputs:{course:[
11,"course"]},decls:11,vars:16,consts:[["title","What's Included with a Course?",1,"courseIncluded",3,"showOverallBorder","accentTypeSlug"],["perkType","nb-plus-upgrade-perk",1,"g-col-12",3,"typeSlug"],["perkType","cpd-learning-perk",1,"g-col-12",3,"typeSlug"],["perkType","online-book-perk",1,"g-col-12",3,"typeSlug"],["perkType","kiss-summaries-perk",1,"g-col-12",3,"typeSlug"],["perkType","cpd-upload-perk",1,"g-col-12",3,"typeSlug"]],template:function(o,t){o&1&&(a(0,"nbm-whats-included-wrapper",0),d(1,"contentTypeSlug"),c(2,"nbm-perk",1),d(3,"contentTypeSlug"),a(4,"nbm-perk",2),d(5,"contentTypeSlug"),s(6),p(),m(7,ke,2,3,"nbm-perk",3),m(8,_e,2,3,"nbm-perk",4),c(9,"nbm-perk",5),d(10,"contentTypeSlug"),p()),o&2&&(r("showOverallBorder",!0)("accentTypeSlug",l(1,8,t.course())),i(2),r("typeSlug",l(3,10,t.course())),i(2),r("typeSlug",l(5,12,t.course())),i(2),g(" ",t.course().credits," credits of CPD learning "),i(),u(t.course().hasNoCourseMaterials?-1:7),i(),u(t.accredited?8:-1),i(),r("typeSlug",l(10,14,t.course())))},dependencies:[I,E,h],encapsulation:2})}}return n})();var De=n=>["/webinars","speciality",n];function Pe(n,f){if(n&1&&c(0,"nbm-included-in-public-course",22),n&2){let e=y();r("course",e.course())}}function xe(n,f){if(n&1&&c(0,"nbm-included-in-ccg-course",22),n&2){let e=y();r("course",e.course())}}function Me(n,f){n&1&&(a(0,"span",34),s(1,"Click for more info"),p())}function Ie(n,f){if(n&1&&(c(0,"div",38),d(1,"safe")),n&2){let e=y();r("innerHTML",S(1,1,e.course().travelDetails,"html"),w)}}function Ee(n,f){if(n&1&&(a(0,"div",37)(1,"nbm-card-content",39),c(2,"nbm-webinar-version-available",40),a(3,"div",41)(4,"a",42),s(5),p()()()()),n&2){let e=y();i(),r("accentTypeSlug",x(e.course().contentTypes[0].slug)),i(),r("showButton",!1),i(2),r("routerLink",G(5,De,e.course().contentTypes[0].slug)),i(),g(" Book the ",e.course().contentTypes[0].name," Online Course ")}}var he=(()=>{class n{constructor(){this.course=v(void 0)}onPanelShown(){this.travelExpanded=!0}onPanelHidden(){this.travelExpanded=!1}get isCCG(){return this.course().productType===ie.CCGCourse}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=C({type:n,selectors:[["nbm-course-page-display"]],inputs:{course:[
11,"course"]},decls:72,vars:37,consts:[[3,"backgroundImage","backgroundImageFallback"],[1,"container"],[1,"row"],[1,"col"],[1,"d-none","d-lg-block"],[1,"col-lg-4"],["icon","calendar","heading","When is it?"],[1,"info-text","m-0"],["icon","clock-o","heading","What time does it start?"],[1,"d-inline","d-lg-none"],["icon","map-marker","heading","Where is it?",3,"hideHr"],[3,"venueName","address"],[1,"container","main-content","mt-4"],[1,"row","justify-content-center"],[1,"list-group","w-100","d-block","d-lg-none","mb-3","mt-0","order-1"],[1,"p-3"],[1,"list-group-item","list-group-item-action"],[1,"col-5","border-primary","border-end","mb-3"],[1,"col-7"],[1,"col-5","border-primary","border-end"],[3,"address"],[1,"col-lg-6","order-3","order-lg-2"],[3,"course"],[1,"col-lg-6","ps-lg-4","order-2","order-lg-3"],[1,"mt-2",3,"info"],[1,"text-start","col-12","px-5","order-4",3,"innerHTML"],[1,"col-lg-6","my-5","order-5"],["headerText","Travel Details",3,"accentBottom"],[1,"row","justify-content-center","mb-3"],[3,"latitude","longitude","altText"],["ngbAccordion","",3,"shown","hidden"],["ngbAccordionItem",""],["ngbAccordionHeader",""],["ngbAccordionButton","",1,"btn","btn-link","p-0","text-center"],[1,"text-primary"],["ngbAccordionCollapse",""],["ngbAccordionBody",""],[1,"col-lg-6","ps-md-4","my-5","order-last"],[3,"innerHTML"],["headerText","Would you prefer a Hot Topics Course online?",3,"accentTypeSlug"],[3,"showButton"],["card-footer","",1,"card-footer","py-3"],[1,"btn","btn-primary","btn-lg",3,"routerLink"]],template:function(o,t){o&1&&(a(0,"nbm-jumbotron",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"nbm-overlay-content",4)(5,"div",2)(6,"div")(7,"h1"),s(8),p()(),a(9,"div",5)(10,"nbm-course-info-part",6)(11,"p",7),s(12),d(13,"dayjsDate"),p()()(),a(14,"div",5)(15,"nbm-course-info-part",8)(16,"p",7),s(17),a(18,"span",9),s(19,"."),p(),c(20,"br",4),s(21),p()()(),a(22,"div",5)(23,"nbm-course-info-part",10)(24,"p",7),c(25,"nbm-address-display",11),p()()()()()()()()(),a(26,"div",12)(27,"div",13)(28,"div",14)(29,"h1",15),s(30),p(),a(31,"div",16)(32,"div",2)(33,"div",17)(34,"strong"),s(35,"When is it?"),p()(),a(36,"div",18),s(37),d(38,"dayjsDate"),p(),a(39,"div",17)(40,"strong"),s(41,"What time does it start?"),p()(),a(42,"div",18),s(43),p(),a(44,"div",19)(45,"strong"),s(46,"Where is it?"),p()(),a(47,"div",18),c(48,"nbm-address-display",20),p()()()(),a(49,"div",21),m(50,Pe,1,1,"nbm-included-in-public-course",22)(51,xe,1,1,"nbm-included-in-ccg-course",22),p(),a(52,"div",23),c(53,"nbm-add-to-cart",24),p(),c(54,"div",25),d(55,"safe"),a(56,"div",26)(57,"nbm-card-content",27)(58,"div",28)(59,"div",3),c(60,"nbm-map-display",29),p()(),a(61,"div",30),j("shown",function(){return t.onPanelShown()})("hidden",function(){return t.onPanelHidden()}),a(62,"div",31)(63,"div",32)(64,"button",33),s(65," Directions & Parking Information "),c(66,"br"),m(67,Me,2,0,"span",34),p()(),a(68,"div",35)(69,"div",36),W(70,Ie,2,4,"ng-template"),p()()()()()(),m(71,Ee,6,7,"div",37),p()()),o&2&&(r("backgroundImage",x(t.course().image))("backgroundImageFallback",x(t.course().image)),i(6),P("col-12 text-center p-4"),i(2),g(" ",t.course().name," "),i(4),g(" ",S(13,28,t.course().date,"dddd, Do MMMM YYYY")," "),i(5),g(" The course registration is from ",t.course().registrationTime),i(4),A(" The course will run from ",t.course().startTime," to ",t.course().endTime," "),i(2),r("hideHr",!0),i(2),r("venueName",t.course().venueName)("address",t.course().address),i(5),g(" ",t.course().name," "),i(7),g(" ",S(38,31,t.course().date,"dddd, Do MMMM YYYY")," "),i(6),A(" From ",t.course().startTime," to ",t.course().endTime," "),i(5),r("address",t.course().address),i(2),u(t.isCCG?51:50),i(3),r("info",t.course()),i(),r("innerHTML",S(55,34,t.course().description,"html"),w),i(3),r("accentBottom",2),i(3),r("latitude",t.course().coordinates.latitude)("longitude",t.course().coordinates.longitude)("altText",t.course().name+" Map"),i(7),u(t.travelExpanded?-1:67),i(4),u(t.isCCG?-1:71))},dependencies:[R,z,ne,X,te,ee,Z,K,Q,fe,me,ue,ge,Ce,ve,ce,de,ye,le,oe,M],styles:[".info-text[_ngcontent-%COMP%]{font-size:1rem}"]})}}return n})();function Be(n,f){n&1&&c(0,"nbm-course-access-code",1),n&2&&r("productPage",!0)}function we(n,f){if(n&1&&c(0,"nbm-course-page-display",2),n&2){let e=y();r("course",e.course())}}var It=(()=>{class n{constructor(){this.route=b(q),this.googleTagManagerService=b(V),this.coursesService=b(re),this.jsonLdService=b(U),this.currencyPipe=new J("en-GB","GBP"),this.dayJsPipe=new M,this.routeData=$(this.route.data),this.course=O(()=>this.routeData()?.course??null),H(()=>{let e=this.course();e&&(this.setJsonLdData(),this.googleTagManagerService.sendDetailVie
1w(e,ae.Courses))})}get metaDescription(){let e=this.course();return e?"locked"in e?`NB Medical presents our bespoke ${e.contentType} course`:`NB Medical presents our ${e.contentType} course in ${e.address.city} on ${this.dayJsPipe.transform(e.date)}. Tickets are available from ${this.currencyPipe.transform(this.minPrice)}`:""}get requiresAccessCode(){let e=this.course();return e?"locked"in e:!1}get minPrice(){let e=this.course(),o;return e?.variants.forEach(t=>{o===void 0&&(o=t.price),o>t.price&&(o=t.price)}),o}get maxPrice(){let e=this.course(),o;return e?.variants.forEach(t=>{o===void 0&&(o=t.price),o<t.price&&(o=t.price)}),o}setJsonLdData(){let e=this.course();!e||"locked"in e||this.jsonLdService.insertSchema({"@context":"http://schema.org/","@type":"Course",name:e.name,description:this.coursesService.getDescription(e),provider:{"@type":"Organization",name:"NB Medical Education",sameAs:"https://www.nbmedical.com"},location:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:e.address?.city,addressRegion:e.address?.county,postalCode:e.address?.postcode,streetAddress:e.address?.address1},name:e?.venueName},offers:[{"@type":"Offer",category:"Paid",priceCurrency:"GBP",price:this.maxPrice}],hasCourseInstance:[{"@type":"CourseInstance",courseMode:["onsite"],courseSchedule:{"@type":"Schedule",duration:"PT6H",repeatFrequency:"Daily",repeatCount:1,startDate:e.date.getFullYear().toString()+"-"+(e.date.getMonth()+1)+"-"+e.date.getDate(),endDate:e.date.getFullYear().toString()+"-"+(e.date.getMonth()+1)+"-"+e.date.getDate()}}],startDate:e.date},"course")}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=C({type:n,selectors:[["nbm-course-page"]],decls:4,vars:10,consts:[["titleTextClass","text-white",3,"hideTitle","fullWidth","titleBgClass","title","description","image","noBottomMargin"],[3,"productPage"],[3,"course"]],template:function(o,t){if(o&1&&(a(0,"nbm-site-page",0),d(1,"contentTypeSlug"),m(2,Be,1,1,"nbm-course-access-code",1)(3,we,1,1,"nbm-course-page-display",2),p()),o&2){let T,N;r("hideTitle",!0)("fullWidth",!0)("titleBgClass","bg-gradient bg-"+l(1,8,t.course()))("title",(T=t.course())==null?null:T.name)("description",t.metaDescription)("image",(N=t.course())==null?null:N.image)("noBottomMargin",!t.requiresAccessCode),i(2),u(t.requiresAccessCode?2:3)}},dependencies:[pe,se,he,h],encapsulation:2})}}return n})();export{It as CoursePageComponent};

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.