1import{b as ot}from"./chunk-X547ITK7.js";import{a as ce}from"./chunk-IFXFOH6A.js";import{a as lt}from"./chunk-ANTWCXYX.js";import{a as rt}from"./chunk-FOZKSOKQ.js";import{a as at}from"./chunk-QMUYHL4Q.js";import{a as et}from"./chunk-ZE2PQFM2.js";import{a as tt,b as nt}from"./chunk-EHHYMANC.js";import"./chunk-RKYIHD27.js";import{c as it}from"./chunk-KJM33COJ.js";import{e as K}from"./chunk-AJVH4JSO.js";import{a as Ze}from"./chunk-SGQJ232L.js";import"./chunk-C4TCT4NN.js";import"./chunk-CET37L2M.js";import"./chunk-KRGBYN6V.js";import"./chunk-YLCCDBKQ.js";import"./chunk-J76FQZ2L.js";import"./chunk-3YYKTTRK.js";import"./chunk-JAIHCA2P.js";import"./chunk-OUQUGTPA.js";import{a as re}from"./chunk-BPP3E2TO.js";import"./chunk-VTK5J2DS.js";import"./chunk-3SDC52M5.js";import{a as Ye,b as yt}from"./chunk-4KNFSRE5.js";import"./chunk-PMDFIPZC.js";import"./chunk-EHPRDZBY.js";import"./chunk-56A6QMAO.js";import"./chunk-ZH6IOVTT.js";import{a as le}from"./chunk-NUJSW3VU.js";import"./chunk-KJKIPU3Z.js";import"./chunk-6NEIA7KQ.js";import"./chunk-CNBMOLNM.js";import"./chunk-INSB3ZVY.js";import{b as Ke}from"./chunk-YMDDGZ5U.js";import"./chunk-3OL3GXBR.js";import"./chunk-4DAUCYCB.js";import"./chunk-XUPYV42H.js";import{a as Xe}from"./chunk-4MPROCDJ.js";import{a as Y,b as R}from"./chunk-TYQB6DAR.js";import"./chunk-GW6I55VC.js";import"./chunk-4ZJHJNLB.js";import"./chunk-3IRW6MAO.js";import"./chunk-FVZKEHFL.js";import"./chunk-CABTRMED.js";import"./chunk-7EDV3FYO.js";import"./chunk-OBUWOHWX.js";import"./chunk-AWTSZHSK.js";import"./chunk-KUHFH43V.js";import"./chunk-JC5PZU5R.js";import"./chunk-UNHUUWFF.js";import"./chunk-N4SAKXVX.js";import"./chunk-GJK2E2S6.js";import"./chunk-QIWZL5RQ.js";import"./chunk-MOINSKK7.js";import"./chunk-SU7S3GV3.js";import{a as We}from"./chunk-7OWGJP2F.js";import"./chunk-OT5BIL5I.js";import"./chunk-3KYWNODB.js";import{a as Ge}from"./chunk-LCAEI3KW.js";import{d as Je}from"./chunk-NOYQY4IF.js";import"./chunk-ME6REO5O.js";import"./chunk-RPX352E4.js";import{a as G}from"./chunk-CIDLE6M4.js";import{a as N}from"./chunk-XFNOPY4D.js";import"./chunk-SD2GF6LN.js";import{a as qe}from"./chunk-VCI6DQU6.js";import"./chunk-ELFTTI6P.js";import"./chunk-DFKOY57W.js";import{g as ae}from"./chunk-3OSB33KW.js";import"./chunk-DL3JVWPO.js";import"./chunk-XERX3YYW.js";import"./chunk-AUTQTPL7.js";import{a as Pt}from"./chunk-4Z5MUJO3.js";import{a as F}from"./chunk-A3QLZGQA.js";import{Y as j,lb as Ue,nb as Qe}from"./chunk-LJH5OBMW.js";import{A as Le,Eb as m,F as W,Fc as L,Gb as s,Ge as O,Hb as I,Ja as Ie,Jb as B,Jc as c,Kb as D,Kc as g,Ke as He,Lb as d,Lc as S,Mb as o,Mh as E,Nb as a,Nc as Fe,Nh as z,Ob as u,Pa as Be,Pc as xe,Sb as ue,Tb as Ce,Tc as Ne,Ub as _e,V as de,Vb as te,Xa as U,Xb as $,Z as me,Zb as p,a as Se,ca as se,cb as i,d as ke,ga as k,hc as fe,jc as De,ka as ge,kc as $e,mc as x,md as je,nc as h,nd as y,o as H,ob as M,oc as Q,pb as b,pc as Ee,ph as oe,qc as ze,qd as Re,ra as v,rh as Ve,sb as Z,tb as ee,u as A,ua as C,v as X,vc as T,wc as w,xc as f,xe as ne,ya as V,ye as ie,za as q}from"./chunk-PMSJWPYZ.js";import{h as Ae}from"./chunk-NIF3MU5U.js";function Ot(t,l){t&1&&_e(0)}function Tt(t,l){if(t&1&&ee(0,Ot,1,0,"ng-container",5),t&2){p();let e=fe(9);d("ngTemplateOutlet",e)}}function wt(t,l){if(t&1&&(o(0,"h2"),x(1),a()),t&2){p(2);let e=f(0);i(),h(e.headline)}}function At(t,l){if(t&1&&u(0,"trn-button",4),t&2){p(2);let e=f(0);d("fill",!0)("label",e.link.linkName)("color","primary")("appearance","link")("size","medium")("type","light")("url",e.link.url)}}function St(t,l){t&1&&_e(0)}function kt(t,l){if(t&1&&ee(0,St,1,0,"ng-container",5),t&2){p();let e=fe(9);d("ngTemplateOutlet",e)}}function Lt(t,l){if(t&1&&(o(0,"div",6),u(1,"trn-media",7),a()),t&2){p();let e=f(0);i(),d("container",e)}}function It(t,l){if(t&1&&(T(0),c(1,"async"),m(2,Lt,2,1,"div",6)),t&2){let e=w(g(1,1,p(2).image$));i(2),s(e?2:-1)}}function Bt(t,l){if(t&1&&(o(0,"div",1)(1,"div",2),m(2,Tt,1,1,"ng-container"),o(3,"div",3),m(4,wt,2,1,"h2"),u(5,"cx-paragraph"),m(6,At,1,7,"trn-button",4),a(),m(7,kt,1,1,"ng-container"),a()(),ee(8,It,3,4,"ng-template",null,0,Fe)),t&2){p();let e=f(0);i(2),s(e.imagePosition==="LEFT"?2:-1),i(2),s(e.headline?4:-1),i(2),s(e.link?6:-1),i(),s(e.imagePosition==="RIGHT"?7:-1)}}var ct=(()=>{class t extends ot{component=C(j);data$=this.component.data$;image$=this.data$.pipe(A(e=>e?.media?.url?{altText:e.media.code||"Article banner image",url:e.media.url}:null));static \u0275fac=(()=>{let e;return function(r){return(e||(e=Be(t)))(r||t)}})();static \u0275cmp=M({type:t,selectors:[["trn-article-banner"]],features:[Z],decls:3,vars:4,consts:[["image",""],[1,"article-banner"],[1,"article-banner-row"],[1,"article-banner-content"],[3,"fill","label","color","appearance","size","type","url"],[4,"ngTemplateOutlet"],[1,"image-wrapper"],[3,"container"]],template:function(n,r){if(n&1&&(T(0),c(1,"async"),m(2,Bt,10,4)),n&2){let _=w(g(1,1,r.data$));i(2),s(_?2:-1)}},dependencies:[G,R,Qe,Ue,je,y],styles:["trn-article-banner[_ngcontent-%COMP%]{width:100%}.article-banner[_ngcontent-%COMP%]{background:#e3000f;padding:16px;border-radius:12px;color:#fff;width:100%}@media all and (min-width:992px){.article-banner[_ngcontent-%COMP%]{padding:48px}}.article-banner[_ngcontent-%COMP%] .article-banner-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;flex-direction:column;gap:16px}@media all and (min-width:768px){.article-banner[_ngcontent-%COMP%] .article-banner-row[_ngcontent-%COMP%]{flex-direction:row}}@media all and (min-width:992px){.article-banner[_ngcontent-%COMP%] .article-banner-row[_ngcontent-%COMP%]{gap:48px}}.article-banner[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%]{min-height:256px;min-width:256px;flex-shrink:1}.article-banner[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{object-fit:contain}@media all and (max-width:991px){.article-banner[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;object-fit:cover}}@media all and (max-width:991px){.article-banner[_ngcontent-%COMP%] .image-wrapper[_ngcontent-%COMP%]{width:100%;object-fit:cover}}.article-banner[_ngcontent-%COMP%] h2[_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){.article-banner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:18px;line-height:24px;letter-spacing:normal;padding-top:0;padding-bottom:0}}@media all and (min-width:992px){.article-banner[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:22px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}}.article-banner[_ngcontent-%COMP%] cx-paragraph div{font-size:16px;line-height:22px;letter-spacing:normal;padding-top:1px;padding-bottom:1px}@media all and (min-width:576px){.article-banner[_ngcontent-%COMP%] cx-paragraph div{font-size:16px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}}@media all and (min-width:992px){.article-banner[_ngcontent-%COMP%] cx-paragraph div{font-size:18px;line-height:32px;letter-spacing:normal;padding-top:0;padding-bottom:0}}.article-banner[_ngcontent-%COMP%] cx-paragraph div{margin:16px 0}"]})}return t})();var pt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=b({type:t});static \u0275inj=v({providers:[O({cmsComponents:{TrnBannerComponent:{component:ct}}})]})}return t})();function Dt(t,l){if(t&1&&u(0,"trn-link",0),t&2){p(2);let e=f(0);d("label",e.linkName)("url",e.url)("external",e.external==="true")("icon",e.iconCode)("iconPlacement","icon-right")("target",e.target?"_blank":"_self")}}function $t(t,l){if(t&1&&u(0,"trn-button",1),t&2){p(2);let e=f(0);d("appearance","link")("size","large")("label",e.linkName)("url",e.url)("external",e.external==="true")("icon",e.iconCode)("iconPlacement","icon-right")}}function Et(t,l){if(t&1&&m(0,Dt,1,6,"trn-link",0)(1,$t,1,7,"trn-button",1),t&2){p();let e=f(0);s(e.showAsText==="true"?0:1)}}var dt=(()=>{class t{component=C(j);data$=this.component.data$;static \u0275fac=function(n){return new(n||t)};static \u0275cmp=M({type:t,selectors:[["trn-article-button"]],decls:3,vars:4,consts:[["size","large",3,"label","url","external","icon","iconPlacement","target"],[3,"appearance","size","label","url","external","icon","iconPlacement"]],template:function(n,r){if(n&1&&(T(0),c(1,"async"),m(2,Et,2,1)),n&2){let _=w(g(1,1,r.data$));i(2),s(_?2:-1)}},dependencies:[N,G,y],encapsulation:2})}return t})();var mt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=b({type:t});static \u0275inj=v({providers:[O({cmsComponents:{TrnButtonComponent:{component:dt}}})]})}return t})();function zt(t,l){if(t&1&&(o(0,"div",0)(1,"h3"),x(2),a(),o(3,"p"),x(4),a(),u(5,"trn-link",1),a()),t&2){let e=l;i(2),h(e.title),i(2),h(e.content),i(),d("label",e.linkName)("url",e.url)("icon",e.iconCode)("external",e.external)("target",e.target?"_blank":"_self")("iconPlacement","icon-right")}}var he=(()=>{class t{component=C(j);helpPageArticlesAlgoliaService=C(ce);data$=this.helpPageArticlesAlgoliaService.queryParamsSearchQuery$.pipe(k(e=>e===""?this.component.data$:H(null)));static \u0275fac=function(n){return new(n||t)};static \u0275cmp=M({type:t,selectors:[["trn-article-content-link"]],decls:2,vars:3,consts:[[1,"article-content-link"],["size","medium","color","primary",1,"go-to-link",3,"label","url","icon","external","target","iconPlacement"]],template:function(n,r){if(n&1&&(m(0,zt,6,8,"div",0),c(1,"async")),n&2){let _;s((_=g(1,1,r.data$))?0:-1,_)}},dependencies:[N,y],styles:[".article-content-link[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.1);border-radius:12px;margin-bottom:16px;padding:16px}.article-content-link[_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){.article-content-link[_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){.article-content-link[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:28px;line-height:34px;letter-spacing:normal;padding-top:3px;padding-bottom:3px}}.article-content-link[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;line-height:20px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}.article-content-link[_ngcontent-%COMP%] .go-to-link[_ngcontent-%COMP%]{padding-top:16px}"]})}return t})();var st=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=b({type:t});static \u0275inj=v({providers:[O({cmsComponents:{TrnContentLinkComponent:{component:he},TrnHelpPageContentLinkComponent:{component:he}}})]})}return t})();var Nt=t=>({count:t}),jt=t=>({article:t}),gt=(()=>{class t{articleDataMapperService=C(at);mediaService=C(Y);article=Ne();articleData=xe(()=>
1this.article()?this.articleDataMapperService.map(this.article()):null);articleMedia=xe(()=>{let e=this.articleData();if(!e)return null;let n=e.image??e.descriptionImage;return this.mediaService.withFallbackImage(n?this.mediaService.bannerMediaToImageGroup(n):e.images?.[He.PRIMARY])});static \u0275fac=function(n){return new(n||t)};static \u0275cmp=M({type:t,selectors:[["trn-featured-article-card"]],inputs:{article:[1,"article"]},decls:19,vars:22,consts:[[1,"article-wrapper"],["aria-hidden","true","tabindex","-1",1,"article-wrapper-link",3,"routerLink"],[1,"image-container"],["label","Featured","type","offer"],[1,"image",3,"container"],[1,"data"],[1,"category-and-reading-time"],[1,"category-link",3,"routerLink"],["type","article","size","large",3,"label"],[1,"reading-time"],[1,"title-and-description"],[1,"title",3,"innerHTML"],[1,"description",3,"innerHTML"],["size","medium","icon","arrow_forward","iconPlacement","icon-right",1,"article-link",3,"ariaLabel","label","url"]],template:function(n,r){if(n&1&&(o(0,"div",0)(1,"article"),u(2,"a",1),o(3,"div",2),u(4,"trn-badge",3)(5,"trn-media",4),a(),o(6,"div",5)(7,"div",6)(8,"a",7),u(9,"trn-badge",8),a(),o(10,"span",9),x(11),c(12,"cxTranslate"),a()(),o(13,"div",10),u(14,"h3",11)(15,"p",12),a(),u(16,"trn-link",13),c(17,"cxTranslate"),c(18,"cxTranslate"),a()()()),n&2){let _,J,pe,Pe,ye,Oe,Te,we;i(2),d("routerLink",(_=r.article())==null?null:_.url),i(3),d("container",r.articleMedia()),i(3),d("routerLink",(J=r.article())==null||J.category==null?null:J.category.url),i(),d("label",(pe=r.article())==null||pe.category==null?null:pe.category.name),i(2),Q(" ",S(12,10,"article.minute_read",L(18,Nt,(Pe=r.article())==null?null:Pe.readingTime))," "),i(3),d("innerHTML",(ye=r.article())==null?null:ye.title,U),i(),d("innerHTML",(Oe=r.article())==null?null:Oe.description,U),i(),d("ariaLabel",S(17,13,"link_labels.read_article",L(20,jt,(Te=r.article())==null?null:Te.title)))("label",g(18,16,"article.read_article"))("url",(we=r.article())==null?null:we.url)}},dependencies:[ie,ne,N,z,le,R,E],styles:[".article-wrapper[_ngcontent-%COMP%]{height:100%;padding-top:12px}article[_ngcontent-%COMP%]{position:relative;height:100%;padding:16px;border-radius:12px;background:#f2f1f0;display:flex;flex-direction:column;gap:16px}.article-wrapper-link[_ngcontent-%COMP%]{position:absolute;inset:0}.category-link[_ngcontent-%COMP%], .article-link[_ngcontent-%COMP%]{z-index:1}.image-container[_ngcontent-%COMP%]{position:relative;border-radius:12px;background:#fff;margin-top:-28px;pointer-events:none;overflow:hidden}@media all and (min-width:992px){.image-container[_ngcontent-%COMP%]{margin-right:100px}}.image-container[_ngcontent-%COMP%] trn-badge[_ngcontent-%COMP%]{position:absolute;top:8px;left:8px;display:none}@media all and (min-width:992px){.image-container[_ngcontent-%COMP%] trn-badge[_ngcontent-%COMP%]{display:block}}[_nghost-%COMP%] .image img{aspect-ratio:16/9;width:100%;border-radius:inherit;object-fit:cover}.data[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;gap:12px}.category-and-reading-time[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:8px}.category-link[_ngcontent-%COMP%]{transition:all .15s cubic-bezier(.35,0,0,1);border-radius:4px}.category-link[_ngcontent-%COMP%]:focus-visible{outline-style:solid;outline-width:3px;outline-color:#003ab8;outline-offset:2px}.reading-time[_ngcontent-%COMP%]{font-size:14px;line-height:16px;letter-spacing:.02em;padding-top:0;padding-bottom:0;text-transform:uppercase;color:#5d5c5b}.title-and-description[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}.title[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:20px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}@media all and (min-width:576px){.title[_ngcontent-%COMP%]{font-size:40px;line-height:48px;letter-spacing:normal;padding-top:0;padding-bottom:0}}@media(hover:hover){.title[_ngcontent-%COMP%]:hover{color:#000!important}}.description[_ngcontent-%COMP%]{font-size:16px;line-height:22px;letter-spacing:normal;padding-top:1px;padding-bottom:1px}@media all and (min-width:992px){.description[_ngcontent-%COMP%]{font-size:16px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}}.article-link[_ngcontent-%COMP%]{margin-top:auto}"]})}return t})();var ut=Ae(yt());var Me=t=>({count:t});function Rt(t,l){if(t&1){let e=te();o(0,"li")(1,"button",18),$("click",function(){let r=V(e).$implicit,_=p(3);return q(_.refine(r))}),o(2,"span",19),x(3),a(),o(4,"span",20),x(5),a()()()}if(t&2){let e=l.$implicit;i(2),De("refined",e.isRefined),i(),h(e.name),i(2),h(e.count)}}function Ht(t,l){if(t&1&&(o(0,"div",9)(1,"ul",17),B(2,Rt,6,4,"li",null,I),a()()),t&2){let e=p(2);i(2),D(e.categories())}}function Vt(t,l){if(t&1&&u(0,"trn-featured-article-card",23),t&2){let e=l.$implicit;d("article",e)}}function qt(t,l){if(t&1&&(o(0,"div",21)(1,"trn-carousel",22),B(2,Vt,1,1,"trn-featured-article-card",23,I),a()()),t&2){p();let e=f(0);i(2),D(e)}}function Ut(t,l){if(t&1&&(T(0),c(1,"async"),m(2,qt,4,0,"div",21)),t&2){let e=w(g(1,1,p(2).featuredArticles$));i(2),s(e!=null&&e.length?2:-1)}}function Qt(t,l){if(t&1&&(o(0,"li"),u(1,"trn-article",26),c(2,"async"),c(3,"async"),a()),t&2){let e=l.$implicit,n=l.$index,r=p(3);i(),d("article",e)("search",r.isSearch())("index",g(2,5,r.index$))("position",n+1)("queryID",g(3,7,r.queryID$))}}function Gt(t,l){if(t&1&&(x(0),c(1,"cxTranslate")),t&2){p(4);let e=f(0);Ee(" 1 - ",(e.page+1)*e.hitsPerPage," ",S(1,2,"refinement.of_articles",L(5,Me,e.nbHits))," ")}}function Kt(t,l){if(t&1&&(x(0),c(1,"cxTranslate")),t&2){p(4);let e=f(0);ze(" ",e.page*e.hitsPerPage," - ",(e.page+1)*e.hitsPerPage," ",S(1,3,"refinement.of_articles",L(6,Me,e.nbHits))," ")}}function Yt(t,l){if(t&1){let e=te();o(0,"div",25)(1,"p",27),m(2,Gt,2,7),m(3,Kt,2,8),a(),o(4,"trn-button",28),c(5,"cxTranslate"),$("onClick",function(){V(e);let r=p(3);return q(r.refineNext())}),a()()}if(t&2){p(3);let e=f(0);i(2),s(e.page===0?2:-1),i(),s(e.page>=1?3:-1),i(),d("size","large")("color","primary")("label",g(5,5,"common.show_more"))}}function Jt(t,l){if(t&1&&(o(0,"div",15)(1,"ul",24),B(2,Qt,4,9,"li",null,I),a(),m(4,Yt,6,7,"div",25),a()),t&2){p();let e=f(14);p();let n=f(0);i(2),D(e),i(2),s(n.nbPages-1!==n.page&&n.nbHits>0?4:-1)}}function Wt(t,l){t&1&&(o(0,"div",16),u(1,"trn-icon",29),o(2,"div",30),x(3),c(4,"cxTranslate"),a()()),t&2&&(i(3),h(g(4,1,"refinement.no_results_found")))}function Xt(t,l){if(t&1){let e=te();o(0,"section",0)(1,"aside",8),m(2,Ht,4,0,"div",9),a(),o(3,"div",10)(4,"div",11)(5,"trn-button",12),c(6,"cxTranslate"),$("onClick",function(){V(e);let r=p();return q(r.openModal())}),a(),o(7,"p",13),x(8),c(9,"cxTranslate"),a(),o(10,"trn-search-box",14),c(11,"cxTranslate"),$("onChange",function(r){V(e);let _=p();return q(_.search(r))})("onClear",function(){V(e);let r=p();return q(r.clear())}),a()(),m(12,Ut,3,4),c(13,"async"),T(14),c(15,"async"),m(16,Jt,5,1,"div",15),m(17,Wt,5,3,"div",16),a()()}if(t&2){let e=p(),n=f(0);i(2),s(n.nbHits>0?2:-1),i(3),$e("outlined"),d("size","medium")("iconPlacement","icon-right")("icon","tune")("label",g(6,14,"refinement.filter_and_sort"))("color","primary")("fill",!0),i(3),Q(" ",S(9,16,"refinement.article",L(26,Me,n.nbHits))," "),i(2),d("placeholder",g(11,19,"common.search")),i(2),s(g(13,21,e.displayFeaturedArticles$)?12:-1),i(2);let r=w(g(15,23,e.hits$));i(2),s(r!=null&&r.length?16:-1),i(),s(n.nbHits===0?17:-1)}}function Zt(t,l){if(t&1&&u(0,"trn-radio",4),t&2){let e=l.$implicit;d("value",e.name)("label",e.name)}}var Ct=(()=>{class t{siteContext=C(We);cmsService=C(oe);modalService=C(Je);articlesService=C(K);searchInsightService=C(re);client=Ye(F.algoliaConfig.appId,F.algoliaConfig.apiKey);algoliaResultEvent$;subs=new Se;searchResults$;index$;queryID$;helper;categories=Ie([]);page$=this.cmsService.getCurrentPage();featuredArticles$=this.articlesService.getFeaturedArticles();displayFeaturedArticles$;hits$=new ke([]);modalId="article-refinement-modal";constructor(){this.initAlgolia(),this.subs.add(X([this.page$,this.siteContext.locale$]).subscribe(([e,n])=>{this.hits$.next([]),this.helper?.setQueryParameter("filters",""),this.helper?.setQueryParameter("disjunctiveFacets",["categoriesName."+n]),e?.template==="ArticleListPageTemplate"&&e?.pageContextCode&&(this.helper?.clearRefinements(),this.helper?.setQueryParameter("filters",`categoryCode:${e.pageContextCode}`)),this.helper?.search()})),this.subs.add(this.searchResults$.subscribe(e=>this.searchInsightService.viewedObjectIDs({eventName:"Viewed articles",index:e.index,queryID:e.queryID,objectIDs:e.hits.map(n=>n.objectID)})))}initAlgolia(){this.helper=(0,ut.default)(this.client,F.algoliaConfig.index.articles.relevance,{hitsPerPage:9,clickAnalytics:!0,analyticsTags:[Ke.ARTICLE_SEARCH]}),this.algoliaResultEvent$=Le(this.helper,"result").pipe(se(1)),this.searchResults$=X([this.algoliaResultEvent$,this.siteContext.locale$]).pipe(ge(([e])=>this.hits$.next(this.hits$.getValue().concat(e.results.hits??[]))),ge(([e,n])=>this.categories.set(this.getCategoryValues(e.results,n))),A(([e])=>e.results),se(1)),this.index$=this.searchResults$.pipe(A(e=>e.index),de()),this.queryID$=this.searchResults$.pipe(A(e=>e.queryID),de()),this.displayFeaturedArticles$=X([this.searchResults$,this.page$]).pipe(A(([e,n])=>!(e.getRefinements().length||e.query)&&n?.pageId==="articles"))}
1getCategoryValues(e,n){return e.getFacetValues("categoriesName."+n,{sortBy:["name:asc"]})??[]}refine(e){this.hits$.next([]),this.siteContext.locale$.pipe(me()).subscribe(n=>{this.helper?.toggleFacetRefinement("categoriesName."+n,e.name),this.helper?.search()})}refineNext(){this.helper?.nextPage(),this.helper?.search()}search(e){this.hits$.next([]),this.helper?.setQuery(e),this.helper?.search()}clear(){this.hits$.next([]),this.helper?.clearRefinements(),this.helper?.setQuery(""),this.helper?.search()}openModal(){this.modalService.open(this.modalId)}closeModal(){this.modalService.close(this.modalId)}ngOnDestroy(){this.subs.unsubscribe()}refineByCategoryName(e){this.hits$.next([]),this.helper?.clearRefinements(),this.siteContext.locale$.pipe(me()).subscribe(n=>{this.helper?.toggleFacetRefinement("categoriesName."+n,e),this.helper?.search()})}isSearch(){return!!this.helper?.getQuery()}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=M({type:t,selectors:[["trn-article-list"]],decls:14,vars:20,consts:[[1,"article-list","container-primary"],[3,"identifier","closable","title"],["content",""],[3,"onChange"],[3,"value","label"],["footer",""],[3,"onClick","size","fill","color","label"],[3,"onClick","size","fill","label"],[1,"categories"],[1,"menu"],[1,"content"],[1,"article-results-controls"],[1,"modal-trigger",3,"onClick","size","iconPlacement","icon","label","color","fill"],[1,"result-count","text-small"],[3,"onChange","onClear","placeholder"],[1,"list-container"],[1,"no-results"],[1,"category-list"],["type","button",1,"category-item",3,"click"],[1,"name"],[1,"count","text-xs-small"],[1,"featured-articles-container"],[1,"featured-articles-carousel"],[3,"article"],[1,"list"],[1,"button-wrapper"],[3,"article","search","index","position","queryID"],[1,"pagination-stats","text-small"],[3,"onClick","size","color","label"],["icon","search_off",1,"icon"],[1,"heading-3"]],template:function(n,r){if(n&1&&(T(0),c(1,"async"),m(2,Xt,18,28,"section",0),o(3,"trn-modal",1),c(4,"cxTranslate"),ue(5,2),o(6,"trn-radio-group",3),$("onChange",function(J){return r.refineByCategoryName(J)}),B(7,Zt,1,2,"trn-radio",4,I),a(),Ce(),ue(9,5),o(10,"trn-button",6),c(11,"cxTranslate"),$("onClick",function(){return r.closeModal()}),a(),o(12,"trn-button",7),c(13,"cxTranslate"),$("onClick",function(){return r.closeModal()}),a(),Ce(),a()),n&2){let _=w(g(1,11,r.searchResults$));i(2),s(_?2:-1),i(),d("identifier",r.modalId)("closable",!1)("title",g(4,14,"refinement.categories")),i(4),D(r.categories()),i(3),d("size","medium")("fill",!0)("color","secondary")("label",g(11,16,"common.close")),i(2),d("size","medium")("fill",!0)("label",g(13,18,"refinement.show_all_articles"))}},dependencies:[G,lt,it,gt,rt,Ge,ae,tt,nt,z,y,E],styles:[".article-list[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}@media all and (min-width:992px){.article-list[_ngcontent-%COMP%]{padding-bottom:48px}}.categories[_ngcontent-%COMP%]{position:absolute;display:none;width:216px}@media all and (min-width:992px){.categories[_ngcontent-%COMP%]{display:block}}.menu[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.1);background-color:#f2f1f0;border-radius:12px;padding:12px}.category-list[_ngcontent-%COMP%]{display:grid;grid-gap:4px}.category-item[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;width:100%}.category-item[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{font-size:16px;line-height:18px;letter-spacing:normal;padding-top:3px;padding-bottom:3px;font-family:Source Sans Pro,sans-serif;font-weight:600;-webkit-font-smoothing:antialiased}.category-item[_ngcontent-%COMP%] .name[_ngcontent-%COMP%]{color:#000}.category-item[_ngcontent-%COMP%] .name.refined[_ngcontent-%COMP%]{color:#007a48;text-decoration:underline}.category-item[_ngcontent-%COMP%] .count[_ngcontent-%COMP%]{color:#0000008c}.content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:0}@media all and (min-width:992px){.content[_ngcontent-%COMP%]{margin-left:232px;gap:48px}}.article-results-controls[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px}@media all and (min-width:992px){.article-results-controls[_ngcontent-%COMP%]{gap:16px}}@media all and (max-width:991px){.result-count[_ngcontent-%COMP%]{order:1;text-align:center}}@media all and (min-width:992px){.modal-trigger[_ngcontent-%COMP%]{display:none}}@media all and (max-width:991px){.featured-articles-container[_ngcontent-%COMP%]{padding-top:24px;padding-bottom:32px}}
1.featured-articles-carousel[_ngcontent-%COMP%]{--trn-carousel-gap: 32px}@media all and (min-width:992px){.featured-articles-carousel[_ngcontent-%COMP%]{--trn-carousel-slides: 2;--trn-carousel-gap: 16px}}.list-container[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{display:grid;grid-gap:16px;padding-bottom:24px}@media all and (min-width:992px){.list-container[_ngcontent-%COMP%] .list[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr);grid-gap:48px 74px}}.button-wrapper[_ngcontent-%COMP%]{text-align:center}.pagination-stats[_ngcontent-%COMP%]{color:#0000008c;margin-bottom:8px}@media all and (max-width:575px){[_nghost-%COMP%] trn-search-box .input{height:48px}}.no-results[_ngcontent-%COMP%]{text-align:center}.no-results[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{height:32px;width:auto;font-size:32px}.no-results[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%] img{height:32px;width:auto}.no-results[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#0000008c}"]})}return t})();var _t=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=b({type:t});static \u0275inj=v({providers:[O({cmsComponents:{TrnArticleListComponent:{component:Ct}}})]})}return t})();function en(t,l){if(t&1&&(o(0,"li"),u(1,"trn-link",3),a()),t&2){let e=p().$implicit;i(),d("label",e.title)("url",e.url?e.url:"")("external",e.external)("target",e.target?"_blank":"_self")}}function tn(t,l){if(t&1&&m(0,en,2,4,"li"),t&2){let e=l.$implicit;s(e?0:-1)}}function nn(t,l){if(t&1&&(o(0,"ul"),B(1,tn,1,1,null,null,I),a()),t&2){let e=p().$implicit;i(),D(e.children)}}function on(t,l){if(t&1&&(o(0,"div",2)(1,"h3"),x(2),a(),m(3,nn,3,0,"ul"),a()),t&2){let e=l.$implicit;i(2),h(e.title),i(),s(e.children?3:-1)}}function an(t,l){if(t&1&&(o(0,"div",0)(1,"h2"),x(2),a(),o(3,"div",1),B(4,on,4,2,"div",2,I),a()()),t&2){let e=l;i(2),h(e.title),i(2),D(e.children)}}var be=(()=>{class t{componentData=C(j);service=C(et);helpPageArticlesAlgoliaService=C(ce);node$=this.service.getNavigationNode(this.componentData.data$);data$=this.helpPageArticlesAlgoliaService.queryParamsSearchQuery$.pipe(k(e=>e===""?this.componentData.data$:H(null)));static \u0275fac=function(n){return new(n||t)};static \u0275cmp=M({type:t,selectors:[["trn-article-navigation"]],decls:2,vars:3,consts:[[1,"article-navigation"],[1,"article-navigation-list"],[1,"article-navigation-line"],["size","small","color","primary",3,"label","url","external","target"]],template:function(n,r){if(n&1&&(m(0,an,6,1,"div",0),c(1,"async")),n&2){let _;s((_=g(1,1,r.node$))?0:-1,_)}},dependencies:[N,y],styles:[".article-navigation[_ngcontent-%COMP%]{margin-bottom:32px}@media all and (min-width:992px){.article-navigation[_ngcontent-%COMP%]{margin-bottom:48px}}.article-navigation[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:20px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}@media all and (min-width:576px){.article-navigation[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:40px;line-height:48px;letter-spacing:normal;padding-top:0;padding-bottom:0}}.article-navigation[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{margin-bottom:16px}.article-navigation[_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){.article-navigation[_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){.article-navigation[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:22px;line-height:28px;letter-spacing:normal;padding-top:2px;padding-bottom:2px}}.article-navigation[_ngcontent-%COMP%] .article-navigation-line[_ngcontent-%COMP%]{border-bottom:1px solid rgba(0,0,0,.1);padding:16px 0}.article-navigation[_ngcontent-%COMP%] .article-navigation-line[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);column-gap:16px;margin-top:16px;row-gap:1em}@media all and (min-width:768px){.article-navigation[_ngcontent-%COMP%] .article-navigation-line[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}}"]})}return t})();var ft=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=b({type:t});static \u0275inj=v({providers:[O({cmsComponents:{TrnArticleNavigationComponent:{component:be},TrnHelpPageNavigationComponent:{component:be}}})]})}return t})();var rn=t=>({count:t});function ln(t,l){if(t&1&&(o(0,"a",4),c(1,"trnDecodeUrl"),u(2,"trn-badge",11),a()),t&2){p(2);let e=f(0);d("routerLink",g(1,2,e.category.url)),i(2),d("label",e.category.name)}}function cn(t,l){if(t&1&&(o(0,"span",5),x(1),c(2,"cxTranslate"),a()),t&2){p(2);let e=f(0);i(),Q(" ",S(2,1,"article.minute_read",L(4,rn,e.readingTime))," ")}}function pn(t,l){if(t&1&&u(0,"h1",7),t&2){p(2);let e=f(0);d("innerHTML",e.title,U)}}function dn(t,l){if(t&1&&u(0,"p",8),t&2){p(2);let e=f(0);d("innerHTML",e.description,U)}}function mn(t,l){if(t&1&&(o(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3),m(4,ln,3,4,"a",4),m(5,cn,3,6,"span",5),a(),o(6,"div",6),m(7,pn,1,1,"h1",7),m(8,dn,1,1,"p",8),a()(),o(9,"div",9),u(10,"trn-media",10),c(11,"async"),a()()()),t&2){let e=p(),n=f(0);i(4),s(n.category!=null&&n.category.name?4:-1),i(),s(n.readingTime?5:-1),i(2),s(n.title?7:-1),i(),s(n!=null&&n.description?8:-1),i(2),d("container",g(11,6,e.image$))("format","articleM")}}var xt=(()=>{class t extends Ze{mediaService=C(Y);articleService=C(K);searchInsightService=C(re);article$=super.getPage().pipe(W(e=>!!e?.pageId),k(e=>this.articleService.getArticleById(e.pageId)));image$=this.article$.pipe(A(e=>{let n=this.mediaService.bannerMediaToImageGroup(e?.image);return this.mediaService.withFallbackImage(n)}));constructor(){super(),this.subs.add(this.article$.pipe(W(Boolean)).subscribe(e=>this.searchInsightService.viewedObjectIDs({eventName:"Viewed article",index:F.algoliaConfig.index.articles.relevance,objectIDs:[e.algoliaObjectId].filter(
1Boolean)})))}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=M({type:t,selectors:[["trn-article-page-description"]],features:[Z],decls:3,vars:4,consts:[[1,"section"],[1,"main-container"],[1,"content-wrapper"],[1,"tag-wrapper"],[1,"article-category-link",3,"routerLink"],[1,"reading-time"],[1,"title-content-wrapper"],["id","main-content","trnFocusOnNavigate","",1,"title",3,"innerHTML"],[1,"description",3,"innerHTML"],[1,"image-wrapper"],[1,"image",3,"container","format"],["type","article","size","large",3,"label"]],template:function(n,r){if(n&1&&(T(0),c(1,"async"),m(2,mn,12,8,"section",0)),n&2){let _=w(g(1,1,r.article$));i(2),s(_?2:-1)}},dependencies:[ie,ne,le,z,R,Xe,y,E,qe],styles:["@media all and (min-width:992px){.section[_ngcontent-%COMP%]{padding-top:18px;padding-bottom:0}}@media all and (min-width:992px){.main-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:auto 264px;grid-gap:72px}}.title[_ngcontent-%COMP%]{font-family:Ubuntu,sans-serif;font-weight:400;-webkit-font-smoothing:antialiased;font-size:28px;line-height:32px;letter-spacing:normal;padding-top:0;padding-bottom:0}@media all and (min-width:576px){.title[_ngcontent-%COMP%]{font-size:48px;line-height:56px;letter-spacing:normal;padding-top:0;padding-bottom:0}}.title[_ngcontent-%COMP%]{margin-bottom:8px}.description[_ngcontent-%COMP%]{font-size:24px;font-weight:400;line-height:40px;text-align:left}.image-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:flex-end}.image[_ngcontent-%COMP%] img{border-radius:12px;position:center;bottom:-16px}@media all and (max-width:991px){.image[_ngcontent-%COMP%] img{max-height:172px;object-fit:cover}}@media all and (min-width:992px){.content-wrapper[_ngcontent-%COMP%]{padding-top:48px;padding-bottom:0}}.tag-wrapper[_ngcontent-%COMP%]{display:flex;column-gap:8px}.article-category-link[_ngcontent-%COMP%]{display:flex}.reading-time[_ngcontent-%COMP%]{font-size:14px;line-height:16px;letter-spacing:.02em;padding-top:0;padding-bottom:0;text-transform:uppercase}.reading-time[_ngcontent-%COMP%]{color:#5d5c5b;font-size:14px;line-height:16px;padding:3px 0}"]})}return t})();var ht=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=b({type:t});static \u0275inj=v({providers:[O({cmsComponents:{TrnArticlePageDescriptionComponent:{component:xt}}})]})}return t})();var vt=Ae(Pt());function sn(t,l){if(t&1&&(o(0,"div",0)(1,"div",1),u(2,"trn-icon",2),o(3,"div")(4,"label"),x(5),c(6,"cxTranslate"),a(),o(7,"p"),x(8),c(9,"date"),a()()(),o(10,"div",1),u(11,"trn-media",3),c(12,"async"),o(13,"div")(14,"label"),x(15),c(16,"cxTranslate"),a(),o(17,"p"),x(18),a()()()()),t&2){let e=p(),n=f(0);i(5),h(g(6,5,"article.published_on")),i(3),h(S(9,7,n==null?null:n.publishDate,"dd MMM yyyy")),i(3),d("container",g(12,10,e.image$)),i(4),h(g(16,12,"article.written_by")),i(3),h(n==null?null:n.writtenBy)}}var Mt=(()=>{class t{cmsService=C(oe);articleService=C(K);mediaService=C(Y);translationService=C(Ve);article$=this.cmsService.getCurrentPage().pipe(W(e=>!!e?.pageId),k(e=>this.articleService.getArticleById(e.pageId)));fallbackImage$=this.translationService.translate("article.written_by").pipe(A(e=>({url:F.appUrl+"assets/images/author_32x32.png",altText:e})));image$=this.article$.pipe(k(e=>(0,vt.isEmpty)(e?.writtenByImage)?this.fallbackImage$:H(e?.writtenByImage)));getMedia(e){return this.mediaService.getMedia(e)}static \u0275fac=function(n){return new(n||t)};static \u0275cmp=M({type:t,selectors:[["trn-article-publish-details"]],decls:3,vars:4,consts:[[1,"article-publish-details"],[1,"details-row"],["icon","calendar_today"],[3,"container"]],template:function(n,r){if(n&1&&(T(0),c(1,"async"),m(2,sn,19,14,"div",0)),n&2){let _=w(g(1,1,r.article$));i(2),s(_?2:-1)}},dependencies:[ae,R,z,y,E,Re],styles:[".article-publish-details[_ngcontent-%COMP%]{margin:0 0 32px}@media all and (min-width:992px){.article-publish-details[_ngcontent-%COMP%]{margin-bottom:48px}}.article-publish-details[_ngcontent-%COMP%] .details-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;margin-bottom:12px}.article-publish-details[_ngcontent-%COMP%] .details-row[_ngcontent-%COMP%] trn-icon[_ngcontent-%COMP%]{flex:0 0 32px;justify-content:center;font-size:22px;color:#0000008c}.article-publish-details[_ngcontent-%COMP%] .details-row[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:32px;max-height:32px;width:100%;border-radius:99px}.article-publish-details[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:10px;line-height:12px;letter-spacing:.02em;padding-top:2px;padding-bottom:2px;text-transform:uppercase}@media all and (min-width:992px){.article-publish-details[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:12px;line-height:14px;letter-spacing:.02em;padding-top:1px;padding-bottom:1px}}.article-publish-details[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{color:#0000008c}.article-publish-details[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;line-height:20px;letter-spacing:normal;padding-top:2px;padding-bottom:2px;font-weight:600}"]}
1)}return t})();var bt=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=b({type:t});static \u0275inj=v({providers:[O({cmsComponents:{TrnArticlePublishDetailsComponent:{component:Mt}}})]})}return t})();var Lo=(()=>{class t{static \u0275fac=function(n){return new(n||t)};static \u0275mod=b({type:t});static \u0275inj=v({imports:[pt,mt,st,_t,ft,ht,bt]})}return t})();export{Lo as ArticleModule};
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.