1import{a as k}from"./chunk-VHGETYMX.js";import{a as M}from"./chunk-C23CQY3D.js";import{m as E}from"./chunk-S33CAPPZ.js";import"./chunk-2K2V3AF7.js";import"./chunk-C6TWE4FZ.js";import"./chunk-Q2YLND27.js";import"./chunk-NU4ZUM7K.js";import"./chunk-NLZC42V6.js";import"./chunk-ZBQW7NJG.js";import"./chunk-ZUSG72XP.js";import"./chunk-HJWJPZ5W.js";import"./chunk-LQY2VBIU.js";import"./chunk-WRBQWUEI.js";import{k as D,o as w,s as x}from"./chunk-LRSFZQSP.js";import{$b as C,Ab as o,Ac as g,Bb as t,Cb as u,Ec as y,Ra as r,Z as b,ac as s,cc as p,eb as m,kc as h,pc as d,sd as S,wb as f,xb as v,yb as j,zb as c}from"./chunk-IXJZIWF6.js";import"./chunk-IZQOVDKO.js";import"./chunk-6IZLXKZM.js";var l=e=>[e],F=(()=>{class e{constructor(){this.subject=y(void 0)}get summary(){let a=this.subject().available;return`We currently have ${a} available ${this.subject().name} course${a!==1?"s":""}`}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=m({type:e,selectors:[["nbm-course-subject-card"]],inputs:{subject:[1,"subject"]},decls:10,vars:15,consts:[[3,"cardClasses"],["card-header","",3,"routerLink"],[1,"card-text","m-0"],[1,"d-flex","flex-fill"],["card-footer","",1,"card-footer"],[1,"btn","btn-primary",3,"routerLink"]],template:function(n,i){n&1&&(o(0,"nbm-card-content",0)(1,"a",1)(2,"h4"),s(3),t()(),o(4,"p",2),s(5),t(),u(6,"div",3),o(7,"div",4)(8,"a",5),s(9," View courses "),t()()()),n&2&&(c("cardClasses",d(9,l,"border-"+i.subject().slug)),r(),c("routerLink",d(11,l,i.subject().slug)),r(),C(h("card-header bg-gradient bg-",i.subject().slug," border-",i.subject().slug," text-white")),r(),p(" ",i.subject().name," "),r(2),p(" ",i.summary," "),r(3),c("routerLink",d(13,l,i.subject().slug)))},dependencies:[x,w,M],encapsulation:2})}}return e})();function _(e,L){if(e&1&&(o(0,"div",4),u(1,"nbm-course-subject-card",5),t()),e&2){let a=L.$implicit;r(),c("subject",a)}}var q=(()=>{class e{constructor(){this.route=b(D),this.routeData=S(this.route.data),this.subjects=g(()=>this.routeData()?.subjects??[])}static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275cmp=m({type:e,selectors:[["nbm-course-subjects"]],decls:11,vars:0,consts:[[1,"row","justify-content-center"],[1,"col-10","p-3","mt-2"],[1,"text-center"],[1,"row","p-3"],[1,"col-md-6","col-lg-4","mb-3"],[3,"subject"]],template:function(n,i){n&1&&(o(0,"nbm-site-page")(1,"div",0)(2,"div",1)(3,"h2",2),s(4,"Why go anywhere else for all your CPD?"),t(),o(5,"p",2),s(6," 'Hot Topics' are the original and the UK's most popular one day courses to update GPs with the latest developments in the literature, serving as a platform for CPD and helping to deliver better patient care. "),t()()(),o(7,"div",3),v(8,_,2,1,"div",4,f),t(),u(10,"nbm-webinar-version-available"),t()),n&2&&(r(8),j(i.subjects()))},dependencies:[E,F,k],encapsulation:2})}}return e})();export{q as CourseSubjectsComponent};
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.