1import{a as oe}from"./chunk-YLCCDBKQ.js";import{a as ie}from"./chunk-YXYPU3MC.js";import{a as ne}from"./chunk-J76FQZ2L.js";import"./chunk-3YYKTTRK.js";import{a as te}from"./chunk-4ZJHJNLB.js";import"./chunk-3IRW6MAO.js";import"./chunk-FVZKEHFL.js";import"./chunk-CABTRMED.js";import"./chunk-OBUWOHWX.js";import"./chunk-AWTSZHSK.js";import"./chunk-KUHFH43V.js";import"./chunk-JC5PZU5R.js";import"./chunk-U6HR6JGF.js";import"./chunk-MOINSKK7.js";import{a as Z}from"./chunk-LCAEI3KW.js";import{d as ee}from"./chunk-NOYQY4IF.js";import"./chunk-ME6REO5O.js";import"./chunk-RPX352E4.js";import{a as R}from"./chunk-CIDLE6M4.js";import{a as X}from"./chunk-XFNOPY4D.js";import"./chunk-SD2GF6LN.js";import"./chunk-VCI6DQU6.js";import"./chunk-ELFTTI6P.js";import"./chunk-DFKOY57W.js";import{g as A}from"./chunk-3OSB33KW.js";import"./chunk-XERX3YYW.js";import"./chunk-AUTQTPL7.js";import"./chunk-4Z5MUJO3.js";import"./chunk-A3QLZGQA.js";import{F as Q,G as W,Y,f as H,m as J,t as K}from"./chunk-LJH5OBMW.js";import{Eb as s,Gb as d,Ge as U,Hb as E,Jb as q,Jc as o,Kb as V,Kc as a,Lb as _,Mb as l,Mh as j,Nb as c,Nh as G,Ob as C,Sb as k,Tb as B,V as T,Vb as S,Xb as I,Zb as m,cb as n,ga as v,mc as g,nc as x,nd as F,ob as D,pb as L,ph as N,ra as z,u,ua as h,v as $,vc as f,wc as M,xc as b,ya as y,za as O}from"./chunk-PMSJWPYZ.js";import"./chunk-NIF3MU5U.js";function ce(t,p){if(t&1&&C(0,"trn-link",2),t&2){m();let e=b(7);_("url",e.url)("label",e.name)}}function re(t,p){if(t&1&&C(0,"trn-icon",12),t&2){let e=m().$implicit;_("icon",e.iconCode)}}function pe(t,p){if(t&1&&(l(0,"p"),g(1),c()),t&2){let e=m().$implicit;n(),x(e.iconText)}}function me(t,p){if(t&1&&(l(0,"li"),s(1,re,1,1,"trn-icon",12),s(2,pe,2,1,"p"),c()),t&2){let e=p.$implicit;n(),d(e!=null&&e.iconCode?1:-1),n(),d(e!=null&&e.iconText?2:-1)}}function se(t,p){if(t&1&&(l(0,"ul",3),q(1,me,3,2,"li",null,E),c()),t&2){m();let e=b(10);n(),V(e)}}function de(t,p){if(t&1){let e=S();l(0,"trn-button",13),I("click",function(){y(e);let r=m(2);return O(r.open())}),c()}if(t&2){m();let e=b(13);_("size","small")("label",e.name)("fill",!0)}}function _e(t,p){t&1&&C(0,"div",14)}function Ce(t,p){if(t&1&&(l(0,"form",15)(1,"div"),C(2,"trn-input-text",16),o(3,"cxTranslate"),o(4,"cxTranslate"),c(),l(5,"div",17),C(6,"trn-link",18),o(7,"cxTranslate"),C(8,"trn-input-date-manual",19),o(9,"cxTranslate"),c()()),t&2){let e=m(3),i=b(0);_("formGroup",e.form),n(2),_("label",a(3,9,"account_settings.email_address"))("placeholder",a(4,11,"account_settings.email_address"))("value",i.email)("form",e.form),n(4),_("label",a(7,13,"account.why_do_i_need_to_share_this")),n(2),_("label",a(9,15,"account_settings.date_of_birth"))("value",e.getDOBValue(i.dateOfBirth))("form",e.form)}}function ue(t,p){if(t&1&&(l(0,"div",7),s(1,_e,1,0,"div",14),o(2,"async"),s(3,Ce,10,17,"form",15),c()),t&2){let e=m(2),i=b(0);n(),d(a(2,2,e.isUpdating$)?1:-1),n(2),d(i?3:-1)}}function ge(t,p){t&1&&(l(0,"div",8),C(1,"trn-icon",20),l(2,"h3"),g(3),o(4,"cxTranslate"),c(),l(5,"p"),g(6),o(7,"cxTranslate"),c()()),t&2&&(n(3),x(a(4,2,"account.registration_successful")),n(3),x(a(7,4,"account.you_are_now_registered_as_a_tax_free_me_member")))}function xe(t,p){if(t&1){let e=S();l(0,"trn-button",21),o(1,"cxTranslate"),I("onClick",function(){y(e);let r=m(2);return O(r.onSubmit())}),c()}t&2&&_("size","medium")("fill",!0)("label",a(1,3,"account.become_a_member"))}function fe(t,p){if(t&1){let e=S();l(0,"div",0)(1,"h3"),g(2),o(3,"async"),c(),l(4,"p",1),g(5),o(6,"async"),c(),f(7),o(8,"async"),s(9,ce,1,2,"trn-link",2),f(10),o(11,"async"),s(12,se,3,0,"ul",3),f(13),o(14,"async"),s(15,de,1,3,"trn-button",4),c(),l(16,"trn-modal",5),o(17,"cxTranslate"),k(18,6),f(19),o(20,"async"),s(21,ue,4,4,"div",7)(22,ge,8,6,"div",8),B(),k(23,9),l(24,"trn-button",10),o(25,"cxTranslate"),I("onClick",function(){y(e);let r=m();return O(r.close())}),c(),s(26,xe,2,5,"trn-button",11),B(),c()}if(t&2){let e=m();n(2),x(a(3,14,e.title$)),n(3),x(a(6,16,e.subtitle$)),n(2);let i=M(a(8,18,e.link$));n(2),d(i?9:-1),n();let r=M(a(11,21,e.icons$));n(2),d((r==null?null:r.length)>0?12:-1),n();let P=M(a(14,24,e.buttonLink$));n(2),d(P?15:-1),n(),_("identifier",e.modalId)("closable",!1)("title",a(17,27,"account.become_a_tax_free_me_member"));let w=a(20,29,e.requestBecameMember$);
1n(5),d(w===!1?21:w===!0?22:-1),n(3),_("size","medium")("color","secondary")("fill",!0)("label",a(25,31,"common.close")),n(2),d(w===!1?26:-1)}}var ae=(()=>{class t{componentData=h(Y);cmsService=h(N);loyaltyPointsService=h(oe);modalService=h(ee);title$=this.componentData.data$.pipe(u(e=>e.title));subtitle$=this.componentData.data$.pipe(u(e=>e.subtitle));link$=this.componentData.data$.pipe(v(e=>this.cmsService.getComponentData(e.link.uid).pipe(u(i=>i))));buttonLink$=this.componentData.data$.pipe(v(e=>this.cmsService.getComponentData(e.buttonLink.uid).pipe(u(i=>i))));icons$=this.componentData.data$.pipe(T((e,i)=>e?.icons===i?.icons),v(e=>$((e?.icons??"").split(" ").map(i=>this.cmsService.getComponentData(i).pipe(T(),u(r=>{if(r)return r}))))));user$=this.loyaltyPointsService.user$;form=this.loyaltyPointsService.formBecameMember;modalId="becameMember";isUpdating$=this.loyaltyPointsService.isUpdating$;requestBecameMember$=this.loyaltyPointsService.requestBecameMember$;maxDate=new Date;getDOBValue(e){return ne.formatBEDateOfBirthToDateParams(e)}open(){this.modalService.open(this.modalId),this.loyaltyPointsService.setModalId(this.modalId)}close(){this.modalService.close(this.modalId),this.loyaltyPointsService.resetForm(),this.loyaltyPointsService.setModalId("")}onSubmit(){this.loyaltyPointsService.becameMember()}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=D({type:t,selectors:[["trn-icon-carousel"]],decls:3,vars:4,consts:[[1,"icon-carousel"],[1,"description"],["icon","launch","iconPlacement","icon-right","size","small",3,"url","label"],[1,"icon-list"],[3,"size","label","fill"],[3,"identifier","closable","title"],["content",""],[1,"form-wrapper"],[1,"request-became-member"],["footer",""],[3,"onClick","size","color","fill","label"],[3,"size","fill","label"],[1,"icon-list-icon",3,"icon"],[3,"click","size","label","fill"],[1,"overlay"],[1,"became-member-form",3,"formGroup"],["name","email","type","email","size","medium",3,"label","placeholder","value","form"],[1,"date-field"],["appearance","button",1,"why-share-this-link",3,"label"],["name","birthDate","size","medium","type","date-of-birth",3,"label","value","form"],["icon","check_circle",1,"icon-sent"],[3,"onClick","size","fill","label"]],template:function(i,r){if(i&1&&(f(0),o(1,"async"),s(2,fe,27,33)),i&2){let P=M(a(1,1,r.user$));n(2),d(P&&!P.loyaltyMembership?2:-1)}},dependencies:[G,Z,Q,J,H,W,K,te,ie,X,A,R,F,j],styles:[".icon-carousel[_ngcontent-%COMP%]{margin-bottom:32px}@media all and (min-width:992px){.icon-carousel[_ngcontent-%COMP%]{margin-bottom:48px}}.icon-carousel[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:16px;line-height:20px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}@media all and (min-width:576px){.icon-carousel[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:18px;line-height:24px;letter-spacing:normal;padding-top:0;padding-bottom:0}}@media all and (min-width:992px){.icon-carousel[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:22px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}}.icon-carousel[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{font-size:14px;line-height:20px;letter-spacing:normal;padding-top:2px;padding-bottom:2px;margin:8px auto}.icon-carousel[_ngcontent-%COMP%] .icon-list[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-wrap:wrap;margin:16px auto}.icon-carousel[_ngcontent-%COMP%] .icon-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{flex:1 1 100%;display:flex;align-items:center}@media all and (min-width:992px){.icon-carousel[_ngcontent-%COMP%] .icon-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{flex:1 1 25%;text-align:center;align-items:baseline;display:block;padding:0 12px}}.icon-carousel[_ngcontent-%COMP%] .icon-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;letter-spacing:normal;padding-top:1px;padding-bottom:1px}@media all and (min-width:992px){.icon-carousel[_ngcontent-%COMP%] .icon-list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}}
1.icon-carousel[_ngcontent-%COMP%] .icon-list[_ngcontent-%COMP%] .icon-list-icon[_ngcontent-%COMP%]{height:46px;width:auto;font-size:46px}.icon-carousel[_ngcontent-%COMP%] .icon-list[_ngcontent-%COMP%] .icon-list-icon[_ngcontent-%COMP%] img{height:46px;width:auto}.icon-carousel[_ngcontent-%COMP%] .icon-list[_ngcontent-%COMP%] .icon-list-icon[_ngcontent-%COMP%]{color:#e3000f}.became-member-form[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{margin-bottom:16px;display:block}.became-member-form[_ngcontent-%COMP%] > div[_ngcontent-%COMP%] .why-share-this-link[_ngcontent-%COMP%]{float:right;display:block;position:relative;z-index:10}.request-became-member[_ngcontent-%COMP%]{padding:40px 8px;text-align:center}.request-became-member[_ngcontent-%COMP%] .icon-sent[_ngcontent-%COMP%]{height:28px;width:auto;font-size:28px}.request-became-member[_ngcontent-%COMP%] .icon-sent[_ngcontent-%COMP%] img{height:28px;width:auto}.request-became-member[_ngcontent-%COMP%] .icon-sent[_ngcontent-%COMP%]{margin:16px;color:#31844d}.request-became-member[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:18px;line-height:24px;letter-spacing:normal;padding-top:0;padding-bottom:0}@media all and (min-width:576px){.request-became-member[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:24px;line-height:32px;letter-spacing:normal;padding-top:0;padding-bottom:0}}@media all and (min-width:992px){.request-became-member[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:28px;line-height:34px;letter-spacing:normal;padding-top:3px;padding-bottom:3px}}.request-became-member[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin-bottom:4px}.request-became-member[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:22px;letter-spacing:normal;padding-top:1px;padding-bottom:1px}@media all and (min-width:992px){.request-became-member[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}}"]})}return t})();var Ne=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275mod=L({type:t});static \u0275inj=z({providers:[U({cmsComponents:{TrnIconCarouselComponent:{component:ae}}})]})}return t})();export{Ne as IconCarouselModule};
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.