1"use strict";(self.webpackChunkpiraeusbank=self.webpackChunkpiraeusbank||[]).push([[3034],{23034:(B,g,s)=>{s.r(g),s.d(g,{YellowPartnersModuleModule:()=>F});var u=s(97739),d=s(89650),e=s(14055),c=s(24758),b=s(13071),f=s(75667),m=s(42471),h=s(5863),v=s(12837),x=s(76437),T=s(9136),C=s(16776),w=s(59793);const y=["Tabs"];function _(l,o){if(1&l){const n=e.EpF();e.ynx(0),e.TgZ(1,"button",11),e.NdJ("click",function(){const a=e.CHM(n).index,r=e.oxw();return e.KtG(r.toggleType(a))}),e._uU(2),e.qZA(),e.BQk()}if(2&l){const n=o.$implicit,t=o.index,i=e.oxw();e.xp6(1),e.Q6J("ngClass",i.activeIndexTab==t?"pb-filter--active":"pb-partners-module-bg"),e.xp6(1),e.Oqu(null==n||null==n.Name?null:n.Name.value)}}function P(l,o){if(1&l){const n=e.EpF();e.TgZ(0,"div",12),e.NdJ("valueChange",function(i){e.CHM(n);const a=e.oxw();return e.KtG(a.onCategoryChange(i))}),e.qZA()}if(2&l){const n=e.oxw();e.Q6J("name","category")("id","doc-category")("hasPlaceholder",!0)("placeholderLabel",null==n.rendering||null==n.rendering.fields||null==n.rendering.fields.CategoryDropdownPlaceholder?null:n.rendering.fields.CategoryDropdownPlaceholder.value)("isDisabled",!1)("isLarge",!1)("sorting",!1)("options",n.dropdownCategories)}}function S(l,o){1&l&&e._UZ(0,"p")}function I(l,o){if(1&l&&(e._UZ(0,"img",20),e.ALo(1,"asset")),2&l){const n=e.oxw().$implicit;e.s9C("alt",null==n||null==n.Image?null:n.Image.Alt),e.Q6J("defaultImage",e.lcZ(1,3,"images/default-image.png"))("lazyLoad",null==n||null==n.Image?null:n.Image.Href)}}function Z(l,o){if(1&l&&(e.TgZ(0,"div",21),e._UZ(1,"i",22),e.TgZ(2,"span",23),e._uU(3),e.qZA()()),2&l){const n=e.oxw().$implicit;e.xp6(3),e.Oqu(null==n||null==n.Name?null:n.Name.value)}}function Y(l,o){if(1&l&&(e.TgZ(0,"a",17),e.YNc(1,I,2,5,"img",18),e.YNc(2,Z,4,1,"div",19),e.qZA()),2&l){const n=o.$implicit,t=e.oxw(2);e.Q6J("href",(null==t.rendering||null==t.rendering.fields||null==t.rendering.fields.WildCardLink||null==t.rendering.fields.WildCardLink.value?null:t.rendering.fields.WildCardLink.value.href.replace(",-w-,",null==n||null==n.Slug?null:n.Slug.value))+"?partnertype="+t.currentType,e.LSH)("ngClass",t.energySave?"":"pb-aspect-square pb-justify-center"),e.xp6(1),e.Q6J("ngIf",!t.energySave),e.xp6(1),e.Q6J("ngIf",t.energySave)}}function M(l,o){if(1&l&&(e.ynx(0),e.TgZ(1,"h3",13),e._uU(2),e.qZA(),e.YNc(3,S,1,0,"p",14),e.TgZ(4,"div",15),e.YNc(5,Y,3,4,"a",16),e.qZA(),e.BQk()),2&l){const n=e.oxw();e.xp6(2),e.Oqu(null==n.rendering.fields||null==n.rendering.fields.Tabs[n.activeIndexTab]||null==n.rendering.fields.Tabs[n.activeIndexTab].BigPartnersTitle?null:n.rendering.fields.Tabs[n.activeIndexTab].BigPartnersTitle.value),e.xp6(1),e.Q6J("scRichText",null==n.rendering.fields||null==n.rendering.fields.Tabs[n.activeIndexTab]?null:n.rendering.fields.Tabs[n.activeIndexTab].BigPartnersSubtitle),e.xp6(1),e.Q6J("ngClass",n.energySave?"pb-grid-cols-1 sm:pb-grid-cols-2 lg:pb-grid-cols-3":"pb-grid-cols-2 lg:pb-grid-cols-5 md:pb-grid-cols-4 sm:pb-grid-cols-3"),e.xp6(1),e.Q6J("ngForOf",n.bigPartners)}}function Q(l,o){1&l&&e._UZ(0,"p")}function J(l,o){if(1&l&&(e._UZ(0,"img",20),e.ALo(1,"asset")),2&l){const n=e.oxw().$implicit;e.s9C("alt",null==n||null==n.Image?null:n.Image.Alt),e.Q6J("defaultImage",e.lcZ(1,3,"images/default-image.png"))("lazyLoad",null==n||null==n.Image?null:n.Image.Href)}}function A(l,o){if(1&l&&(e.TgZ(0,"div",21),e._UZ(1,"i",22),e.TgZ(2,"span",23),e._uU(3),e.qZA()()),2&l){const n=e.oxw().$implicit;e.xp6(3),e.Oqu(null==n||null==n.Name?null:n.Name.value)}}function L(l,o){if(1&l&&(e.TgZ(0,"a",17),e.YNc(1,J,2,5,"img",18),e.YNc(2,A,4,1,"div",19),e.qZA()),2&l){const n=o.$implicit,t=e.oxw(2);e.Q6J("href",(null==t.rendering||null==t.rendering.fields||null==t.rendering.fields.WildCardLink||null==t.rendering.fields.WildCardLink.value?null:t.rendering.fields.WildCardLink.value.href.replace(",-w-,",null==n||null==n.Slug?null:n.Slug.value))+"?partnertype="+t.currentType,e.LSH)("ngClass",t.energySave?"":"pb-aspect-square pb-justify-center"),e.xp6(1),e.Q6J("ngIf",!t.energySave),e.xp6(1),e.Q6J("ngIf",t.energySave)}}function N(l,o){if(1&l&&(e.ynx(0),e.TgZ(1,"h3",24),e._uU(2),e.qZA(),e.YNc(3,Q,1,0,"p",14),e.TgZ(4,"div",15),e.YNc(5,L,3,4,"a",16),e.qZA(),e.BQk()),2&l){const n=e.oxw();e.xp6(2),e.Oqu(null==n.rendering.fields||null==n.rendering.fields.Tabs[n.activeIndexTab]||null==n.rendering.fields.Tabs[n.activeIndexTab].PartnersTitle?null:n.rendering.fields.Tabs[n.activeIndexTab].PartnersTitle.value),e.xp6(1),e.Q6J("scRichText",null==n.rendering.fields||null==n.rendering.fields.Tabs[n.activeIndexTab]?null:n.rendering.fields.Tabs[n.activeIndexTab].PartnersSubtitle),e.xp6(1),e.Q6J("ngClass",n.energySave?"pb-grid-cols-1 sm:pb-grid-cols-2 lg:pb-grid-cols-3":"pb-grid-cols-2 lg:pb-grid-cols-5 md:pb-grid-cols-4 sm:pb-grid-cols-3"),e.xp6(1),e.Q6J("ngForOf",n.simplePartners)}}let O=(()=>{class l{platformId;jssStylingService;jssContext;themeService;activateRoute;rendering;swiperFilter;contextSubscription;energySaveSubscription;_isPlatformServer=!1;dynamicClass;dynamicId;language;swiper;energySave=!1;activeIndexTab=0;currentType;dropdownCategories;bigPartners;simplePartners;constructor(n,t,i,a,r){this.platformId=n,this.jssStylingService=t,this.jssContext=i,this.themeService=a,this.activateRoute=r}ngOnInit(){this._isPlatformServer=(0,d.PM)(this.platformId),this.dynamicClass=this.jssStylingService.getComponentClass(this.rendering),this.dynamicId=this.jssStylingService.getComponentId(this.rendering),this.contextSubscription=this.jssContext.state.subscribe(n=>{this.language=n.language}),this.energySaveSubscription=this.themeService.isEnegySaveModeEnabled().subscribe(n=>{this.energySave=n}),this.activateRoute.queryParams.subscribe(n=>{this.currentType=n.type}),this.toggleType(0)}ngAfterViewInit(){this.swiperFilter?.nativeElement&&(this.swiper=new b.Z(this.swiperFilter?.nativeElement,{slidesPerView:"auto",freeMode:!0,centeredSlides:!1,spaceBetween:24,grabCursor:!0,breakpoints:{1024:{enabled:!1,spaceBetween:0}
1}}))}toggleType(n){if(this.activeIndexTab=n,this.dropdownCategories=[{text:this.rendering?.fields?.AllCategoriesLabel?.value,value:"all"}],this.rendering.fields?.Tabs[n]?.BusinessTab?.value)var t="business";else t="individual";this.bigPartners=this.rendering?.fields?.Tabs[n]?.BigPartners,this.simplePartners=this.rendering?.fields?.Tabs[n]?.Partners,this.bigPartners.forEach(i=>{i?.Categories?.forEach(a=>{const r=a?.Title?.value;r&&!this.dropdownCategories.some(p=>p.text===r)&&this.dropdownCategories.push({text:r,value:r})})}),this.simplePartners.forEach(i=>{i?.Categories?.forEach(a=>{const r=a?.Title?.value;r&&!this.dropdownCategories.some(p=>p.text===r)&&this.dropdownCategories.push({text:r,value:r})})}),this.currentType!==t&&(this.currentType=t)}onCategoryChange(n){const t=this.rendering?.fields?.Tabs[this.activeIndexTab]?.BigPartners,i=this.rendering?.fields?.Tabs[this.activeIndexTab]?.Partners;"all"==n?(this.bigPartners=t,this.simplePartners=i):(this.bigPartners=t.filter(a=>a?.Categories?.some(r=>r?.Title?.value===n)),this.simplePartners=i.filter(a=>a?.Categories?.some(r=>r?.Title?.value===n)))}ngOnDestroy(){this._isPlatformServer||(this.energySaveSubscription&&this.energySaveSubscription.unsubscribe(),this.contextSubscription&&this.contextSubscription.unsubscribe())}static \u0275fac=function(t){return new(t||l)(e.Y36(e.Lbi),e.Y36(f.d),e.Y36(c.l),e.Y36(m.f),e.Y36(h.gz))};static \u0275cmp=e.Xpm({type:l,selectors:[["app-yellow-partners-module"]],viewQuery:function(t,i){if(1&t&&e.Gf(y,5),2&t){let a;e.iGM(a=e.CRH())&&(i.swiperFilter=a.first)}},inputs:{rendering:"rendering"},decls:14,vars:8,consts:[[1,"pb-banner-image-background-warm-grey","pb-py-10",3,"ngClass"],[1,"pb-container"],[1,"pb-text-d-xl-m","lg:pb-text-d-xl","pb-font-serif","pb-text-color-brand","lg:pb-whitespace-pre-wrap","pb-mb-3"],[1,"lg:pb-whitespace-pre-wrap"],[1,"pb-flex","pb-items-center","pb-justify-between","pb-mt-6","pb-mb-9","pb-flex-col","lg:pb-flex-row","pb-gap-5"],[1,"pb-m-filter","swiper","pb-w-full","lg:pb-w-9/12"],["Tabs",""],[1,"swiper-wrapper","!pb-w-fit","lg:!pb-gap-4","lg:!pb-flex-wrap"],[4,"ngFor","ngForOf"],["app-form-drop-down","","class","pb-form--large lg:pb-w-3/12 pb-w-full",3,"name","id","labelText","hasPlaceholder","placeholderL
1abel","isDisabled","isLarge","sorting","options","valueChange",4,"ngIf"],[4,"ngIf"],["type","button",1,"swiper-slide","pb-c-filter-item","pb-cursor-pointer",3,"ngClass","click"],["app-form-drop-down","",1,"pb-form--large","lg:pb-w-3/12","pb-w-full",3,"name","id","labelText","hasPlaceholder","placeholderLabel","isDisabled","isLarge","sorting","options","valueChange"],[1,"pb-text-h-md-m","lg:pb-text-h-md","pb-font-bold","lg:pb-whitespace-pre-wrap","pb-text-color-brand","pb-mb-2"],[4,"scRichText"],[1,"pb-grid","pb-gap-5","pb-mt-6",3,"ngClass"],["hybridHref","","class"," pb-partners-module-bg pb-flex pb-items-center pb-p-3",3,"href","ngClass",4,"ngFor","ngForOf"],["hybridHref","",1,"pb-partners-module-bg","pb-flex","pb-items-center","pb-p-3",3,"href","ngClass"],["class","pb-object-contain",3,"defaultImage","lazyLoad","alt",4,"ngIf"],["class","pb-flex pb-p-6 pb-gap-3 pb-items-center",4,"ngIf"],[1,"pb-object-contain",3,"defaultImage","lazyLoad","alt"],[1,"pb-flex","pb-p-6","pb-gap-3","pb-items-center"],[1,"pb-icon","pb-icon-link","pb-text-i-32"],[1,"pb-font-bold"],[1,"pb-text-h-md-m","lg:pb-text-h-md","pb-font-bold","lg:pb-whitespace-pre-wrap","pb-text-color-brand","pb-mt-9","pb-mb-2"]],template:function(t,i){1&t&&(e.TgZ(0,"section",0)(1,"div",1)(2,"h2",2),e._uU(3),e.qZA(),e.TgZ(4,"p",3),e._uU(5),e.qZA(),e.TgZ(6,"div",4)(7,"div",5,6)(9,"div",7),e.YNc(10,_,3,2,"ng-container",8),e.qZA()(),e.YNc(11,P,1,8,"div",9),e.qZA(),e.YNc(12,M,6,4,"ng-container",10),e.YNc(13,N,6,4,"ng-container",10),e.qZA()()),2&t&&(e.Q6J("ngClass",i.dynamicClass),e.uIk("id",i.dynamicId?i.dynamicId:null),e.xp6(3),e.Oqu(null==i.rendering||null==i.rendering.fields||null==i.rendering.fields.Title?null:i.rendering.fields.Title.value),e.xp6(2),e.Oqu(null==i.rendering||null==i.rendering.fields||null==i.rendering.fields.Subtitle?null:i.rendering.fields.Subtitle.value),e.xp6(5),e.Q6J("ngForOf",null==i.rendering.fields?null:i.rendering.fields.Tabs),e.xp6(1),e.Q6J("ngIf",(null==i.dropdownCategories?null:i.dropdownCategories.length)>0),e.xp6(1),e.Q6J("ngIf",(null==i.bigPartners?null:i.bigPartners.length)>0),e.xp6(1),e.Q6J("ngIf",(null==i.simplePartners?null:i.simplePartners.length)>0))},dependencies:[v.Z,d.mk,d.sg,d.O5,x.C,T.d,C.z1,w.W],styles:[".pb-partners-module-bg[_ngcontent-%COMP%]{background-color:rgba(var(--pb-c-blog-card-bg),1)!important}"]})}return l})();var j=s(24614);let F=(()=>{class l{static \u0275fac=function(t){return new(t||l)};static \u0275mod=e.oAB({type:l});static \u0275inj=e.cJS({imports:[u.n.forChild(O),j.v]})}return l})()}}]); 2//# sourceMappingURL=3034.089152e75ab32526.js.map
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.