1import{m as N}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"./chunk-C6O6I5LW.js";import"./chunk-O2P25Q5F.js";import{ja as _}from"./chunk-TPCL2XMH.js";import"./chunk-WRBQWUEI.js";import{k as y}from"./chunk-KSTBAVB4.js";import{Ab as e,Bb as t,Cb as m,Na as p,Pb as h,Ra as c,Z as s,ac as n,ad as S,bc as r,eb as u,m as d,sb as x,sc as g,sd as E,tc as v,ub as f,vd as C,zb as b}from"./chunk-P2OBJROK.js";import"./chunk-IZQOVDKO.js";import"./chunk-6IZLXKZM.js";function L(i,P){if(i&1&&(e(0,"div",1)(1,"div",2),m(2,"i",3),t(),e(3,"div",4)(4,"h2",5),n(5,"Your licence has been successfully redeemed"),t(),e(6,"p"),n(7," You have been granted NB Plus access by "),e(8,"b"),n(9),t(),n(10," until "),e(11,"b"),n(12),g(13,"date"),t()(),e(14,"p"),n(15," You can use your new licence to access the library of NB Plus content in your "),e(16,"strong"),n(17,"NB Medical Dashboard"),t(),n(18,". "),t(),e(19,"a",6),n(20," Click here to access "),t()()(),e(21,"h5",7),n(22,"Any questions?"),t(),e(23,"p")(24,"strong"),n(25,"Email:"),t(),e(26,"a",8),n(27," [email protected] "),t()(),e(28,"p",9)(29,"strong"),n(30,"Tel:"),t(),e(31,"a",10),n(32," +44 (0)191 603 1872"),t()()),i&2){let l,o,a=h();c(9),r((l=a.licence())==null?null:l.organisationName),c(3),r(v(13,3,(o=a.licence())==null?null:o.endDate)),c(7),b("href",a.dashboardLink,p)}}function k(i,P){i&1&&(e(0,"div",0)(1,"div",11),m(2,"nbm-loading",12),t()())}var I=(()=>{class i{constructor(){this.route=s(y),this.licence=E(this.route.data.pipe(d(l=>l.licence)))}get dashboardLink(){return`${C.dashboardUrl}/account/`}static{this.\u0275fac=function(o){return new(o||i)}}static{this.\u0275cmp=u({type:i,selectors:[["nbm-nb-plus-licence-redeemed"]],decls:3,vars:1,consts:[[1,"d-flex","w-100","justify-content-between","align-items-center","loader"],[1,"row","my-5"],[1,"col-lg-2","border-end","text-success","text-center","pt-lg-5"],[1,"icon-check","icon-5x"],[1,"col-lg-9","ps-lg-5","text-center","text-lg-start"],[1,"text-success","mt-3"],["target","_blank",1,"btn","btn-primary",3,"href"],[1,"mt-3"],["href","mailto:[email protected]"],[1,"mb-5"],["href","tel:+441916031872"],[1,"col"],["text","Fetching..."]],template:function(o,a){o&1&&(e(0,"nbm-site-page"),x(1,L,33,5)(2,k,3,0,"div",0),t()),o&2&&(c(),f(a.licence()?1:2))},dependencies:[N,_,S],encapsulation:2})}}return i})();export{I as NbPlusLicenceRedeemedComponent};
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.