@pronto-tools-and-more/files 14.41.0 → 14.43.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/files/framework/src/default/storefront/buildInfo.json +4 -4
  2. package/files/framework/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +74 -74
  3. package/files/framework/src/default/storefront/index.html +2 -2
  4. package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_component_content_content_module_ts.js +1 -1
  5. package/files/framework/src/default/storefront/modules/default-projects_storefront_src_app_component_issue_issue_module_ts.js +1 -1
  6. package/files/framework/src/default/storefront/modules/main.js +1 -1
  7. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -1
  8. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -1
  9. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts.js +1 -1
  10. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_component_module_ts.js +1 -1
  11. package/files/framework/src/default/storefront/modules/projects_storefront_src_app_component_web-presenter_presenter_presenter_module_ts.js +1 -1
  12. package/files/framework-latest/src/default/storefront/buildInfo.json +3 -3
  13. package/files/framework-latest/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +1 -1
  14. package/files/framework-latest/src/default/storefront/index.html +1 -1
  15. package/files/framework-latest/src/default/storefront/modules/common.js +1 -1
  16. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_base-component_base-datacollection_component_ts-4706f8.js +1 -1
  17. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_content_content_module_ts.js +1 -1
  18. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_html_html_module_ts.js +1 -1
  19. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_issue_issue_module_ts.js +1 -1
  20. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_section_section_module_ts.js +1 -1
  21. package/files/framework-latest/src/default/storefront/modules/main.js +1 -1
  22. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -1
  23. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -1
  24. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts.js +1 -1
  25. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-featured-image_content-featured-c9ba26.js +1 -1
  26. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_category_category_module_ts.js +1 -1
  27. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_collection_collection_module_ts.js +1 -1
  28. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dev-components_user-tag-testing_user-tag-testing_module_ts.js +1 -1
  29. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dropdown_dropdown_module_ts.js +1 -1
  30. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_embeddable-view_embeddable-view_module_ts.js +1 -1
  31. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_iframe_iframe_module_ts.js +1 -1
  32. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_issue-search-result_issue-search-result_module_ts.js +1 -1
  33. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_menu_menu_module_ts.js +1 -1
  34. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_publication-completion_publication-completion_module_ts.js +1 -1
  35. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_publication_publication_module_ts.js +1 -1
  36. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_subscription_subscription_module_ts.js +1 -1
  37. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_swiper_swiper_module_ts.js +1 -1
  38. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toggle_toggle_module_ts.js +1 -1
  39. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toolbar_toolbar_module_ts.js +1 -1
  40. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_ad_ad_module_ts"],{5766:(B,T,r)=>{r.r(T),r.d(T,{AdModule:()=>ht,component:()=>ut});var h=r(177),a=r(467),e=r(3953),C=r(1210),y=r(9692),E=r(8251),I=r(4945),U=r(6843),R=r(1184),x=r(610),G=r(1803);const M={adId:null};var S=r(2932),u=r(6883),D=r(8890),m=r(7370),o=r(3178),c=r(5964),v=r(6697),b=r(4412),P=r(4572),V=r(7673),A=r(8179),O=r(9516),$=r(2596),H=r(4559),X=r(345),F=r(8482),K=r(1652),Y=r(6850),j=r(4748),W=r(3726),N=r(152);let Q=(()=>{var i;class f{constructor(t,n,l){this.el=t,this.ngZone=n,this.platformId=l,this.pixelsLeftToScroll=600,this.elementVisible=new e.bkB,this.isVisible=!1}ngAfterViewInit(){(0,h.UE)(this.platformId)&&this.ngZone.runOutsideAngular(()=>{this.scrollSubscription=(0,W.R)(window,"scroll",{passive:!0}).pipe((0,N.B)(100)).subscribe(()=>this.checkPosition()),setTimeout(()=>this.checkPosition(),500)})}ngOnDestroy(){this.scrollSubscription&&this.scrollSubscription.unsubscribe()}checkPosition(){if(!this.isVisible){const t=this.el.nativeElement.getBoundingClientRect(),n=window.innerHeight;t.top<=n+this.pixelsLeftToScroll&&this.ngZone.run(()=>{this.isVisible=!0,this.elementVisible.emit(!0)})}}}return(i=f).\u0275fac=function(t){return new(t||i)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(e.Agw))},i.\u0275dir=e.FsC({type:i,selectors:[["","storefrontVisibleOnScroll",""]],inputs:{pixelsLeftToScroll:"pixelsLeftToScroll"},outputs:{elementVisible:"elementVisible"}}),f})(),Z=(()=>{var i;class f{constructor(t){this.sanitizer=t}transform(t,n="url"){switch(n){case"html":return this.sanitizer.bypassSecurityTrustHtml(t);case"style":return this.sanitizer.bypassSecurityTrustStyle(t);case"script":return this.sanitizer.bypassSecurityTrustScript(t);case"url":return this.sanitizer.bypassSecurityTrustUrl(t);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(t);default:throw new Error("Invalid safe type specified: ".concat(n))}}}return(i=f).\u0275fac=function(t){return new(t||i)(e.rXU(X.up,16))},i.\u0275pipe=e.EJ8({name:"sanitizeUrl",type:i,pure:!0}),f})();const J=["stickyLink"];function q(i,f){if(1&i&&(e.qex(0),e.nrm(1,"div",5),e.bVm()),2&i){const s=e.XpG(2);e.R7$(),e.Y8G("id",s.uuid)}}function tt(i,f){if(1&i&&e.nrm(0,"iframe",7),2&i){const s=e.XpG(3);e.Y8G("src",s.safeIframeUrl,e.f$h)}}function et(i,f){if(1&i&&(e.qex(0),e.DNE(1,tt,1,1,"iframe",6),e.bVm()),2&i){const s=e.XpG(2);e.R7$(),e.Y8G("ngIf",s.safeIframeUrl)}}function it(i,f){if(1&i){const s=e.RV6();e.qex(0),e.j41(1,"div",8),e.bIt("elementVisible",function(n){e.eBV(s);const l=e.XpG(3);return e.Njj(l.onVisible(n))}),e.k0s(),e.bVm()}if(2&i){const s=e.XpG(2).ngIf;e.R7$(),e.HbH(s.class),e.Y8G("id",s.id)}}function nt(i,f){if(1&i&&(e.qex(0),e.DNE(1,it,2,3,"ng-container",1),e.bVm()),2&i){const s=e.XpG(2);e.R7$(),e.Y8G("ngIf",!s.isDynamicAd)}}function rt(i,f){if(1&i&&e.nrm(0,"storefront-image",13),2&i){const s=e.XpG(4);e.Y8G("height",s.getImageHeight())("src",s.getImageSrc())}}function ot(i,f){if(1&i&&(e.j41(0,"a",12),e.nI1(1,"sanitizeUrl"),e.DNE(2,rt,1,2,"storefront-image",11),e.k0s()),2&i){const s=e.XpG(3);e.Y8G("href",e.bMT(1,3,s.getHref()),e.B4B)("target",s.target),e.R7$(2),e.Y8G("ngIf",s.getImageSrc())}}function st(i,f){if(1&i&&e.nrm(0,"storefront-image",13),2&i){const s=e.XpG(3);e.Y8G("height",s.getImageHeight())("src",s.getImageSrc(!0))}}function at(i,f){if(1&i&&(e.qex(0),e.DNE(1,ot,3,5,"a",9),e.j41(2,"a",10,0),e.nI1(4,"sanitizeUrl"),e.DNE(5,st,1,2,"storefront-image",11),e.k0s(),e.bVm()),2&i){const s=e.XpG(2);e.R7$(),e.Y8G("ngIf",s.ad),e.R7$(),e.Y8G("href",e.bMT(4,4,s.getHref()),e.B4B)("target",s.target),e.R7$(3),e.Y8G("ngIf",s.getImageSrc(!0))}}function lt(i,f){if(1&i&&(e.qex(0)(1,2),e.DNE(2,q,2,1,"ng-container",3)(3,et,2,1,"ng-container",3)(4,nt,2,1,"ng-container",3)(5,at,6,6,"ng-container",4),e.bVm()()),2&i){const s=f.ngIf;e.R7$(),e.Y8G("ngSwitch",s.type),e.R7$(),e.Y8G("ngSwitchCase","GPT"),e.R7$(),e.Y8G("ngSwitchCase","HTML"),e.R7$(),e.Y8G("ngSwitchCase","TRAFFECTIVE")}}let ct=(()=>{var i;class f extends C.${get adType(){var t;return null===(t=this.ad)||void 0===t?void 0:t.providerConfig.type}get iframeHostHeight(){var t;return(null===(t=this.ad)||void 0===t?void 0:t.providerConfig)&&this.ad.providerConfig.height}constructor(t,n,l,g,d,p,_,L,z,w,mt,k,pt,vt,Ct){super(l,t,g,w,k),this.elementRef=t,this.store=n,this.injector=l,this.contextService=g,this.changeDetectorRef=d,this.googleAdService=p,this.router=_,this.sanitizer=L,this.platformId=z,this.document=w,this.traffectiveAdService=mt,this.globalService=k,this.consentService=pt,this.ssrService=vt,this.ngZone=Ct,this.load=new e.bkB,this.loaded=!1,this.adVisible$=new b.t(!1),this.defaultConfig={...M},this.isBrowser=(0,h.UE)(this.platformId)}getAdConfig(t){let n=null;return t&&(t.adId?this.store.select((0,I.jZ)(U.O.AD),l=>{n=l.adSlots.find(g=>g.id===t.adId)}):t.ad&&(n=t.ad)),n}rebuildContextKeys(){super.rebuildContextKeys();const t=this.getAdConfig(this.baseConfig);null!=t&&t.providerConfig&&(0,R.Fl)(t.providerConfig,this.contextKeys)}handleChange(t,n,l,g){super.handleChange(t,n,l,g)}onConfigChanges(){var t=this;return(0,a.A)(function*(){var n;const l=t.getAdConfig(t.config);if(l&&l.providerConfig){if(l.providerConfig){const p=(0,A.uQ)({...l.providerConfig,targeting:null},t.contextService.getContext(),t.contextService.$functions,t.globalService.getGlobalData());if(!(0,A.ZY)(p))return void(t.config=null)}var g;if(l.providerConfig.type==y.P.TRAFFECTIVE&&(0,h.UE)(t.platformId)&&(yield t.consentService.init$,null===(g=t.traffectiveAdService)||void 0===g||!g.hasConsent()))return;t.ad=l,t.changeDetectorRef.detectChanges(),void 0===t.config.isLazy||t.config.isLazy?t.store.subscribe((0,D.eh)(t,t.elementRef,{skipWait:(0,h.Vy)(t.platformId)}),p=>{t.initAd()},o.lQ,o.lQ,"visible"):t.initAd()}else t.config.adId&&(l?l.providerConfig||console.warn("No provider config found for id ".concat(l.id,". Please migrate the ad configuration")):console.warn("No ad found for id ".concat(t.config.adId)));if("HTML"===(null===(n=t.ad)||void 0===n?void 0:n.providerConfig.type)){var d;const p=null===(d=t.ad)||void 0===d||null===(d=d.providerConfig)||void 0===d?void 0:d.url;p!==t.iframeUrl&&(t.iframeUrl=p,t.safeIframeUrl=t.sanitizer.bypassSecurityTrustResourceUrl(t.contextService.toResourceUrl(p)))}t.target=t.getTarget()})()}initAd(){var t;if(this.loaded=!0,(null===(t=window.storefrontHooks)||void 0===t||!t.isAdDisabled||!window.storefrontHooks.isAdDisabled(this.ad.id))&&this.isBrowser)switch(this.ad.providerConfig.type){case y.P.GPT:this.initGpt();break;case y.P.TRAFFECTIVE:this.initTraffective();break;default:return this.target=this.getTarget(),void this.load.emit()}}initGpt(){var t=this;return(0,a.A)(function*(){const n=(0,A.uQ)({...t.ad.providerConfig,targeting:null},t.contextService.getContext(),t.contextService.$functions,t.globalService.getGlobalData());n.targeting=t.mergeTargeting(t.ad.providerConfig.targeting),t.uuid="div-gpt-"+(n.fixedId?t.ad.id:(0,u.A)()),t.changeDetectorRef.detectChanges();let l=null;n.sizeMapping&&t.store.select((0,I.jZ)(U.O.AD),g=>{const d=g.adSlots.find(p=>p.id===n.sizeMapping);d&&d.providerConfig&&"SIZEMAPPING"===d.providerConfig.type&&(l=d.providerConfig)}),t.googleAdService.showAd(t.uuid,n,l,t.elementRef.nativeElement,()=>{t.load.emit(),t.resizeGoogleAd()},()=>t.resizeGoogleAd()),t.store.subscribe((0,D.Ne)(),()=>t.resizeGoogleAd())})()}initTraffective(){var t=this;return(0,a.A)(function*(){if(t.ad.providerConfig){var n;const{id:l,class:g}=t.ad.providerConfig;t.isDynamicAd="Floor"==g||"Mobile_Sticky"==g,(0,P.z)([null===(n=t.traffectiveAdService)||void 0===n?void 0:n.isTRFConfigReady$.pipe((0,c.p)(d=>d),(0,v.s)(1)),t.isDynamicAd?(0,V.of)(!0):t.adVisible$.pipe((0,c.p)(d=>d),(0,v.s)(1))]).subscribe(()=>{var d;if(!(0,h.Vy)(t.platformId)&&null!==(d=window)&&void 0!==d&&d.traffective)try{t.ssrService.prebootCompleted$.subscribe(()=>{t.ngZone.runOutsideAngular(t.isDynamicAd?()=>{window.traffective.refreshBottomSticky(g,l)}:()=>{window.traffective.refreshSlot(g,l)})})}catch(p){console.warn("Error with traffective refresh slot",p)}})}})()}mergeTargeting(t){let n=null;if(t||this.config.targeting){n=[];let l=new Map;this.evaluateTargeting(t,l),this.evaluateTargeting(this.config.targeting,l),l.forEach((g,d)=>{n.push({key:d,value:g})})}return n}evaluateTargeting(t,n){t&&t.forEach(l=>{const g=(0,A.uQ)(l.key,this.contextService.getContext(),this.contextService.$functions,this.globalService.getGlobalData(),!1);if(g&&""!==g){let d=n.get(g);d||(d=[]),(Array.isArray(l.value)?l.value:[l.value]).forEach(p=>{let _=(0,A.uQ)(p,this.contextService.getContext(),this.contextService.$functions,this.globalService.getGlobalData(),!1);if(l.multiValue){let L=_.split(",").filter(z=>""!==z);d.concat(L)}else _&&""!==_&&d.push(_)}),d.length>0&&n.set(g,d)}})}resizeGoogleAd(){}ngOnDestroy(){super.ngOnDestroy(),this.ad&&this.loaded&&this.ad.providerConfig.type===y.P.GPT&&this.googleAdService.removeAd(this.uuid)}getImageHeight(){return this.config.imageHeight||S.q.AUTO}getImageSrc(t=!1){const n=this.ad&&this.ad.providerConfig;return n&&(0,R.rv)(t&&n.stickyImage||n.image)}getHref(){const t=this.ad&&this.ad.providerConfig;return t&&t.target}getTarget(){return(0,m.tb)(this.getHref())?G.We.BLANK:G.We.SELF}onClick(t){t.stopPropagation(),this.stickyLink&&(t.target===this.stickyLink.nativeElement||this.stickyLink.nativeElement.contains(t.target))?this.store.dispatch((0,x.k4)({url:window.location.href,key:"AD_STICKY_CLICKED",params:this.getTrackingParams()})):this.store.dispatch((0,x.k4)({url:window.location.href,key:"AD_CLICKED",params:this.getTrackingParams()}));const n=this.getHref();if(n.startsWith("#"))return this.router.navigateByUrl(n.substring(1)),t.preventDefault(),!1}getTrackingParams(){return{AD_ID:this.config.adId}}onVisible(t){t&&this.adVisible$.next(!0)}}return(i=f).type="ad",i.\u0275fac=function(t){return new(t||i)(e.rXU(e.aKT),e.rXU(E.B),e.rXU(e.zZn),e.rXU(O.V),e.rXU(e.gRc),e.rXU($.s),e.rXU(H.Ix),e.rXU(X.up),e.rXU(e.Agw),e.rXU(h.qQ),e.rXU(F.y),e.rXU(K.d),e.rXU(Y.e),e.rXU(j.i),e.rXU(e.SKi))},i.\u0275cmp=e.VBU({type:i,selectors:[["storefront-ad"]],viewQuery:function(t,n){if(1&t&&e.GBs(J,5,e.aKT),2&t){let l;e.mGM(l=e.lsd())&&(n.stickyLink=l.first)}},hostVars:3,hostBindings:function(t,n){1&t&&e.bIt("click",function(g){return n.onClick(g)}),2&t&&(e.BMQ("ad-type",n.adType),e.xc7("height",n.iframeHostHeight))},features:[e.Jv_([E.B]),e.Vt3],decls:1,vars:1,consts:[["stickyLink",""],[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"id"],["frameborder","0",3,"src",4,"ngIf"],["frameborder","0",3,"src"],["storefrontVisibleOnScroll","",2,"display","none",3,"elementVisible","id"],[3,"href","target",4,"ngIf"],[1,"ad-sticky",3,"href","target"],[3,"height","src",4,"ngIf"],[3,"href","target"],[3,"height","src"]],template:function(t,n){1&t&&e.DNE(0,lt,6,4,"ng-container",1),2&t&&e.Y8G("ngIf",n.ad&&n.ad.providerConfig)},dependencies:[h.bT,h.ux,h.e1,h.fG,S.h,Q,Z],styles:["storefront-ad{display:block;overflow:hidden}storefront-ad a{display:block}storefront-ad a.ad-sticky{display:none}storefront-ad storefront-image img.error{position:relative;width:100vw;height:25vw;background-image:url(/assets/banner/banner_not_found.jpg);background-size:contain;opacity:1}storefront-ad[ad-type=HTML]>iframe{width:100%;height:100%}.sticky-elements storefront-ad a{display:none}.sticky-elements storefront-ad a.ad-sticky{display:block}\n"],encapsulation:2}),f})();var dt=r(4403),gt=r(4871);let ft=(()=>{var i;class f{}return(i=f).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[h.MD]}),f})(),ht=(()=>{var i;class f{}return(i=f).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[h.MD,dt.U,gt.E,ft]}),f})();const ut=ct},2932:(B,T,r)=>{r.d(T,{h:()=>M,q:()=>S});var h=r(177),a=r(3953),e=r(8251),C=r(8890),y=r(9876),E=r(345),I=r(4748),U=r(9516),R=r(5102);const x=["image"];function G(u,D){if(1&u){const m=a.RV6();a.j41(0,"img",2,0),a.bIt("error",function(){a.eBV(m);const c=a.XpG();return a.Njj(c.onError())}),a.k0s()}if(2&u){const m=a.XpG();a.Y8G("priority",m.lcpPrioritized())("ngSrc",m.safeResizeSrc)("alt",m.alt)("title",m.title),a.BMQ("aria-label",m.ariaLabel)}}let M=(()=>{var u;class D{set image(o){o&&this.onLoad(o),this._image=o}get image(){return this._image}constructor(o,c,v,b,P,V,A,O){this.sanitizer=o,this.changeDetectorRef=c,this.elementRef=v,this.subscriptions=b,this.platformId=P,this.ssrService=V,this.contextService=A,this.purpleService=O,this.lcpPrioritized=(0,a.hFB)(!1),this.error=new a.bkB,this.height=S.AUTO}get empty(){return!this.src}ngOnInit(){this.initProperties(),(0,h.UE)(this.platformId)&&this.subscriptions.subscribe((0,C.eh)(this,this.elementRef,{skipWait:!1}),o=>this.load())}initProperties(){var o,c,v,b;this.alt=(null===(o=this.extendedThumbnail)||void 0===o?void 0:o.properties.alt)||(null===(c=this.extendedThumbnail)||void 0===c?void 0:c.properties.caption)||"",this.title=this.alt,this.ariaLabel=null!==(v=this.label)&&void 0!==v?v:this.alt,this.focalPoint=null===(b=this.extendedThumbnail)||void 0===b?void 0:b.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.src&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(o){o.src&&this.loaded&&this.update()}update(){this.updateImageRatio(),this.updateResizeSrc()}onLoad(o){o.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),o.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,o),this.changeDetectorRef.markForCheck()}),o.nativeElement.addEventListener("error",function(){o.nativeElement.style.display="none",o.nativeElement.nextElementSibling&&(o.nativeElement.nextElementSibling.style.display="inline")}),this.purpleService.addImageSrc(this.resizeSrc)}onError(){if(!this.safeResizeSrc)return;const o=this.purpleService.getAlternativeSrc(this.src);var c;o&&o!==this.resizeSrc?(this.setResizeSrc(o),this.changeDetectorRef.detectChanges()):(null===(c=this.image)||void 0===c||c.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(o=!1,c=this.image){this.imageRatio=this.height===S.AUTO?(0,y.z)(!o,null==c?void 0:c.nativeElement,this.src)+"%":void 0}updateResizeSrc(){this.setResizeSrc((0,y.G)(this.elementRef.nativeElement,this.src,this.imageResolutionStrategy,this.focalPoint)),this.changeDetectorRef.detectChanges()}setResizeSrc(o){const c=this.contextService.toResourceUrl(o);this.resizeSrc=c,this.safeResizeSrc=this.sanitizer.bypassSecurityTrustResourceUrl(c)}}return(u=D).\u0275fac=function(o){return new(o||u)(a.rXU(E.up),a.rXU(a.gRc),a.rXU(a.aKT),a.rXU(e.v),a.rXU(a.Agw),a.rXU(I.i),a.rXU(U.V),a.rXU(R.Wj))},u.\u0275cmp=a.VBU({type:u,selectors:[["storefront-image"]],viewQuery:function(o,c){if(1&o&&a.GBs(x,5),2&o){let v;a.mGM(v=a.lsd())&&(c.image=v.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:12,hostBindings:function(o,c){2&o&&(a.BMQ("src",c.src)("label",c.label)("resolution-strategy",c.imageResolutionStrategy)("alt",c.alt)("title",c.title)("aria-label",c.ariaLabel)("focal-point",c.focalPoint)("height-strategy",c.height),a.xc7("padding-top",c.imageRatio),a.AVh("empty",c.empty))},inputs:{src:"src",label:"label",extendedThumbnail:"extendedThumbnail",imageResolutionStrategy:"imageResolutionStrategy",lcpPrioritized:[1,"lcpPrioritized"],height:"height"},outputs:{error:"error"},features:[a.Jv_([e.v]),a.OA$],decls:1,vars:1,consts:[["image",""],["fill","true",3,"priority","ngSrc","alt","title","error",4,"ngIf"],["fill","true",3,"error","priority","ngSrc","alt","title"]],template:function(o,c){1&o&&a.DNE(0,G,2,5,"img",1),2&o&&a.Y8G("ngIf",c.loaded&&c.src)},dependencies:[h.bT,h.kt],styles:["storefront-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),D})();var S=function(u){return u.AUTO="AUTO",u.FIXED="FIXED",u.DEFAULT="DEFAULT",u}(S||{})},4403:(B,T,r)=>{r.d(T,{U:()=>e});var h=r(177),a=r(3953);let e=(()=>{var C;class y{}return(C=y).\u0275fac=function(I){return new(I||C)},C.\u0275mod=a.$C({type:C}),C.\u0275inj=a.G2t({imports:[h.MD]}),y})()}}]);
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_ad_ad_module_ts"],{2289:($,I,a)=>{a.r(I),a.d(I,{AdModule:()=>Rt,component:()=>Mt});var p=a(177),d=a(467),e=a(3953),S=a(1210),E=a(9692),P=a(8251),D=a(4945),R=a(6843),M=a(1184),z=a(610),O=a(1803);const V={adId:null};var _=a(2932),v=a(6883),U=a(8890),y=a(7370),u=a(3178),g=a(5964),A=a(6697),b=a(4412),B=a(4572),G=a(7673),x=a(8179),L=a(9516),H=a(2596),k=a(4559),K=a(345),j=a(8340),Q=a(7816);class X extends Q.Q{getAdConfig(){var n;return null===(n=this.data)||void 0===n?void 0:n.configuration}}class w extends j.U{}class Z extends X{constructor(n){super("Audienzz Ads",n),this.data=n}createInstance(){return new Y(this)}canRunWithoutConsent(){return!0}isValidConfiguration(){const n=this.getAdConfig();return!!(null!=n&&n.adTagId&&null!=n&&n.headerScriptId&&null!=n&&n.headerScriptUrl)}}class Y extends w{constructor(n){super(n),this.config=n}adjustDocument(){var n=this;return(0,d.A)(function*(){return new Promise((s,t)=>{document.head.appendChild(n.createScript(s,t))})})()}showAd(n,s,t,i){const l=this.createAdElement(s.providerConfig);t.parentNode.appendChild(l),i&&i()}removeAd(n){const s=document.getElementById("".concat(n));s&&s.remove()}createAdElement(n){const s=document.createElement("div");return s.id="".concat(n.id),s}createScript(n,s){const t=this.getConfig().getAdConfig(),i=document.createElement("script");return i.id=t.headerScriptId,i.src="".concat(t.headerScriptUrl,"?adTagId=").concat(t.adTagId),i.async=!0,i.setAttribute("fetchpriority","high"),i.onload=()=>{console.debug("[".concat(this.getDisplayName(),"] Script loaded successfully")),n()},i.onerror=r=>{console.error("[".concat(this.getDisplayName(),"] Failed to load script:"),r),s(r)},i}}class J extends X{constructor(){super("NoopAdService",{})}createInstance(){return new F}isValidConfiguration(){return!0}}class F extends w{constructor(){super(new J)}adjustDocument(){return Promise.resolve()}showAd(n,s,t,i,r){return Promise.resolve()}removeAd(){}}class q extends X{constructor(n){super("Adspirit Ads",n),this.data=n}createInstance(){return new tt(this)}canRunWithoutConsent(){return!0}isValidConfiguration(){const n=this.getAdConfig();return!(null==n||!n.headerScriptId||null==n||!n.headerScriptUrl)}}class tt extends w{constructor(n){super(n),this.config=n,this.setWindowKeys()}setWindowKeys(){const{scriptWinKey:n,premiumSubWinKey:s}=this.getConfig().getAdConfig();this.scriptWindowKey=n,this.premiumSubscriptionKey=s}adjustDocument(){var n=this;return(0,d.A)(function*(){return new Promise((s,t)=>{document.head.appendChild(n.createScript(s,t))})})()}showAd(n,s,t,i,r){var l=this;return(0,d.A)(function*(){var c;const{platform:f,...h}=s.providerConfig;let C=(null==h?void 0:h.params)||"";if(C.includes("special=no_ad")||l.getPurchasedSubscription())return;C&&!C.startsWith("&")&&(C="&"+C);const m=l.createAdElement(h,C),T=t.parentNode;T.classList.add("ad",...null!==(c=null==f?void 0:f.split(" "))&&void 0!==c?c:[]),T.appendChild(m),l.refreshSlot(h.id,r),i&&i()})()}removeAd(n){const s=document.getElementById("".concat(n));s&&s.remove()}refreshSlot(n,s){var t=this;return(0,d.A)(function*(){var i;yield t.init$,s&&(yield s),null===(i=t.scriptMethods)||void 0===i||i.refreshSlot(n)})()}getPurchasedSubscription(){return!!this.premiumSubscriptionKey&&!!window[this.premiumSubscriptionKey]}createAdElement(n,s){const{id:t,width:i,height:r,spaceTop:l,spaceBottom:c}=n,f=document.createElement("div");let h="ad-content";l&&(h+=" space-top-".concat(l)),c&&(h+=" space-bottom-".concat(c)),f.className=h;const C=document.createElement("div");C.className="ad-content-inner";const m=document.createElement("ins");m.className="asm_async_creative",m.style.display="inline-block",m.style.width=i?"".concat(i,"px"):"100%",m.style.height=r?"".concat(r,"px"):"auto",m.style.textAlign="left",m.style.textDecoration="none",m.setAttribute("data-asm-cdn","cdn.adspirit.de"),m.setAttribute("data-asm-host","apoverlag.adspirit.de"),m.setAttribute("data-asm-params","pid=".concat(t).concat(s));const T=document.createElement("span");return T.className="ad-badge",T.textContent="Anzeige",C.appendChild(m),C.appendChild(T),f.appendChild(C),f}createScript(n,s){const t=this.getConfig().getAdConfig(),i=document.createElement("script");return i.id=t.headerScriptId,i.src="".concat(t.headerScriptUrl),i.async=!0,i.setAttribute("fetchpriority","high"),i.onload=()=>{console.debug("[".concat(this.getDisplayName(),"] Script loaded successfully")),globalThis[this.scriptWindowKey]&&(this.scriptMethods=globalThis[this.scriptWindowKey]),n()},i.onerror=r=>{console.error("[".concat(this.getDisplayName(),"] Failed to load script:"),r),s(r)},i}}var et=a(4843),it=a(953),N=a(6850),nt=a(2884);let ot=(()=>{var o;class n{constructor(t,i,r,l){this.platformId=t,this.pluginService=i,this.consentService=r,this.experienceConfigService=l,this.activePlugin=new F,this.initPromise=this.initializeAdPlugin()}showAd(t,i,r,l,c){var f=this;return(0,d.A)(function*(){yield f.initPromise;try{f.activePlugin.showAd(t,i,r,l,c)}catch(h){console.error("Failed to show plugin ad: ".concat(h))}})()}removeAd(t){var i=this;return(0,d.A)(function*(){yield i.initPromise;try{i.activePlugin.removeAd(t)}catch(r){console.error("Failed to remove plugin ad: ".concat(r))}})()}initializeAdPlugin(){var t=this;return(0,d.A)(function*(){var i;if(!(0,p.UE)(t.platformId))return;yield t.pluginService.init$;const r=yield(0,et._)(t.experienceConfigService.getExperienceConfig()),l=null==r||null===(i=r.purple)||void 0===i?void 0:i.ads;let c;null!=l&&l.audienzz&&(c=yield t.loadPlugin(l.audienzz,Z)),null!=l&&l.adspirit&&(c=yield t.loadPlugin(l.adspirit,q)),c&&(t.activePlugin=c)})()}loadPlugin(t,i){var r=this;return(0,d.A)(function*(){r.pluginConfig=new i(t);let l=r.pluginConfig.canRunWithoutConsent();return l||(yield r.consentService.init$,l=r.consentService.canRunPlugin(r.pluginConfig)),l&&r.pluginService.loadPlugin(r.pluginConfig)})()}}return(o=n).\u0275fac=function(t){return new(t||o)(e.KVO(e.Agw),e.KVO(it.z),e.KVO(N.e),e.KVO(nt.a))},o.\u0275prov=e.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}),n})();var rt=a(8482),st=a(1652),at=a(4748),lt=a(3726),dt=a(152);let ct=(()=>{var o;class n{constructor(t,i,r){this.el=t,this.ngZone=i,this.platformId=r,this.pixelsLeftToScroll=600,this.elementVisible=new e.bkB,this.isVisible=!1}ngAfterViewInit(){(0,p.UE)(this.platformId)&&this.ngZone.runOutsideAngular(()=>{this.scrollSubscription=(0,lt.R)(window,"scroll",{passive:!0}).pipe((0,dt.B)(100)).subscribe(()=>this.checkPosition()),setTimeout(()=>this.checkPosition(),500)})}ngOnDestroy(){this.scrollSubscription&&this.scrollSubscription.unsubscribe()}checkPosition(){if(!this.isVisible){const t=this.el.nativeElement.getBoundingClientRect(),i=window.innerHeight;t.top<=i+this.pixelsLeftToScroll&&this.ngZone.run(()=>{this.isVisible=!0,this.elementVisible.emit(!0)})}}}return(o=n).\u0275fac=function(t){return new(t||o)(e.rXU(e.aKT),e.rXU(e.SKi),e.rXU(e.Agw))},o.\u0275dir=e.FsC({type:o,selectors:[["","storefrontVisibleOnScroll",""]],inputs:{pixelsLeftToScroll:"pixelsLeftToScroll"},outputs:{elementVisible:"elementVisible"}}),n})(),ut=(()=>{var o;class n{constructor(t){this.sanitizer=t}transform(t,i="url"){switch(i){case"html":return this.sanitizer.bypassSecurityTrustHtml(t);case"style":return this.sanitizer.bypassSecurityTrustStyle(t);case"script":return this.sanitizer.bypassSecurityTrustScript(t);case"url":return this.sanitizer.bypassSecurityTrustUrl(t);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(t);default:throw new Error("Invalid safe type specified: ".concat(i))}}}return(o=n).\u0275fac=function(t){return new(t||o)(e.rXU(K.up,16))},o.\u0275pipe=e.EJ8({name:"sanitizeUrl",type:o,pure:!0}),n})();const gt=["stickyLink"],ft=["adContainer"];function ht(o,n){}function pt(o,n){1&o&&e.DNE(0,ht,0,0,"ng-template",null,0,e.C5r)}function mt(o,n){if(1&o&&e.nrm(0,"div",2),2&o){const s=e.XpG(3);e.Y8G("id",s.uuid)}}function vt(o,n){if(1&o&&e.nrm(0,"iframe",3),2&o){const s=e.XpG(4);e.Y8G("src",s.safeIframeUrl,e.f$h)}}function Ct(o,n){if(1&o&&e.DNE(0,vt,1,1,"iframe",5),2&o){const s=e.XpG(3);e.Y8G("ngIf",s.safeIframeUrl)}}function yt(o,n){if(1&o){const s=e.RV6();e.j41(0,"div",7),e.bIt("elementVisible",function(i){e.eBV(s);const r=e.XpG(4);return e.Njj(r.onVisible(i))}),e.k0s()}if(2&o){const s=e.XpG(3);e.HbH(s.class),e.Y8G("id",s.id)}}function At(o,n){if(1&o&&e.DNE(0,yt,1,3,"div",6),2&o){const s=e.XpG(3);e.vxM(s.isDynamicAd?-1:0)}}function St(o,n){if(1&o&&e.nrm(0,"storefront-image",9),2&o){const s=e.XpG(5);e.Y8G("height",s.getImageHeight())("src",n)}}function Et(o,n){if(1&o&&(e.j41(0,"a",8),e.nI1(1,"sanitizeUrl"),e.DNE(2,St,1,2,"storefront-image",9),e.k0s()),2&o){let s;const t=e.XpG(4);e.Y8G("href",e.bMT(1,3,t.getHref()),e.B4B)("target",t.target),e.R7$(2),e.vxM((s=t.getImageSrc())?2:-1,s)}}function Tt(o,n){if(1&o&&e.nrm(0,"storefront-image",9),2&o){const s=e.XpG(4);e.Y8G("height",s.getImageHeight())("src",n)}}function _t(o,n){if(1&o&&(e.DNE(0,Et,3,5,"a",8),e.j41(1,"a",4,1),e.nI1(3,"sanitizeUrl"),e.DNE(4,Tt,1,2,"storefront-image",9),e.k0s()),2&o){let s;const t=e.XpG(3);e.vxM(t.ad?0:-1),e.R7$(),e.Y8G("href",e.bMT(3,4,t.getHref()),e.B4B)("target",t.target),e.R7$(3),e.vxM((s=t.getImageSrc(!0))?4:-1,s)}}function bt(o,n){if(1&o&&e.DNE(0,mt,1,1,"div",2)(1,Ct,1,1,"iframe",3)(2,At,1,1)(3,_t,5,6,"a",4),2&o){let s;const t=e.XpG();e.vxM("GPT"===(s=t.type)?0:"HTML"===s?1:"TRAFFECTIVE"===s?2:3)}}function It(o,n){if(1&o&&e.DNE(0,pt,2,0)(1,bt,4,1),2&o){const s=e.XpG();e.vxM(s.isAdServiceType(n.type)?0:1)}}let Pt=(()=>{var o;class n extends S.${get adType(){var t;return null===(t=this.ad)||void 0===t?void 0:t.providerConfig.type}get iframeHostHeight(){var t;return(null===(t=this.ad)||void 0===t?void 0:t.providerConfig)&&this.ad.providerConfig.height}onClick(t){t.stopPropagation(),this.stickyLink&&(t.target===this.stickyLink.nativeElement||this.stickyLink.nativeElement.contains(t.target))?this.store.dispatch((0,z.k4)({url:window.location.href,key:"AD_STICKY_CLICKED",params:this.getTrackingParams()})):this.store.dispatch((0,z.k4)({url:window.location.href,key:"AD_CLICKED",params:this.getTrackingParams()}));const i=this.getHref();if(i.startsWith("#"))return this.router.navigateByUrl(i.substring(1)),t.preventDefault(),!1}constructor(t,i,r,l,c,f,h,C,m,T,zt,Ot,W,Vt,Bt,Gt){super(r,t,l,T,W),this.elementRef=t,this.store=i,this.injector=r,this.contextService=l,this.changeDetectorRef=c,this.googleAdService=f,this.router=h,this.sanitizer=C,this.platformId=m,this.document=T,this.adService=zt,this.traffectiveAdService=Ot,this.globalService=W,this.consentService=Vt,this.ssrService=Bt,this.ngZone=Gt,this.load=new e.bkB,this.loaded=!1,this.adVisible$=new b.t(!1),this.defaultConfig={...V},this.isBrowser=(0,p.UE)(this.platformId)}ngOnDestroy(){super.ngOnDestroy(),this.ad&&this.loaded&&this.ad.providerConfig.type===E.P.GPT&&this.googleAdService.removeAd(this.uuid)}rebuildContextKeys(){super.rebuildContextKeys();const t=this.getAdConfig(this.baseConfig);null!=t&&t.providerConfig&&(0,M.Fl)(t.providerConfig,this.contextKeys)}onConfigChanges(){var t=this;return(0,d.A)(function*(){var i;const r=t.getAdConfig(t.config);if(r&&r.providerConfig){if(r.providerConfig){const f=(0,x.uQ)({...r.providerConfig,targeting:null},t.contextService.getContext(),t.contextService.$functions,t.globalService.getGlobalData());if(!(0,x.ZY)(f))return void(t.config=null);t.resolvedProviderConfig=f}var l;if((0,p.UE)(t.platformId)&&r.providerConfig.type==E.P.TRAFFECTIVE&&(yield t.consentService.init$,null===(l=t.traffectiveAdService)||void 0===l||!l.hasConsent()))return;t.ad=r,t.changeDetectorRef.detectChanges(),void 0===t.config.isLazy||t.config.isLazy?t.store.subscribe((0,U.eh)(t,t.elementRef,{skipWait:(0,p.Vy)(t.platformId)}),f=>{t.initAd()},u.lQ,u.lQ,"visible"):t.initAd()}else t.config.adId&&(r?r.providerConfig||console.warn("No provider config found for id ".concat(r.id,". Please migrate the ad configuration")):console.warn("No ad found for id ".concat(t.config.adId)));if("HTML"===(null===(i=t.ad)||void 0===i?void 0:i.providerConfig.type)){var c;const f=null===(c=t.ad)||void 0===c||null===(c=c.providerConfig)||void 0===c?void 0:c.url;f!==t.iframeUrl&&(t.iframeUrl=f,t.safeIframeUrl=t.sanitizer.bypassSecurityTrustResourceUrl(t.contextService.toResourceUrl(f)))}t.target=t.getTarget()})()}getAdConfig(t){let i=null;return t&&(t.adId?this.store.select((0,D.jZ)(R.O.AD),r=>{i=r.adSlots.find(l=>l.id===t.adId)}):t.ad&&(i=t.ad)),i}initAd(){var t;if(this.loaded=!0,!this.isBrowser||null!==(t=window.storefrontHooks)&&void 0!==t&&t.isAdDisabled&&window.storefrontHooks.isAdDisabled(this.ad.id))return;const i=this.ad.providerConfig.type;if(this.isAdServiceType(i))this.initPluginAd();else switch(i){case E.P.GPT:this.initGpt();break;case E.P.TRAFFECTIVE:this.initTraffective();break;default:return this.target=this.getTarget(),void this.load.emit()}}initGpt(){var t=this;return(0,d.A)(function*(){const i={...t.resolvedProviderConfig,targeting:t.mergeTargeting(t.ad.providerConfig.targeting)};t.uuid="div-gpt-"+(i.fixedId?t.ad.id:(0,v.A)()),t.changeDetectorRef.detectChanges();let r=null;i.sizeMapping&&t.store.select((0,D.jZ)(R.O.AD),l=>{const c=l.adSlots.find(f=>f.id===i.sizeMapping);c&&c.providerConfig&&"SIZEMAPPING"===c.providerConfig.type&&(r=c.providerConfig)}),t.googleAdService.showAd(t.uuid,i,r,t.elementRef.nativeElement,()=>{t.load.emit(),t.resizeGoogleAd()},()=>t.resizeGoogleAd()),t.store.subscribe((0,U.Ne)(),()=>t.resizeGoogleAd())})()}initTraffective(){var t=this;return(0,d.A)(function*(){if(t.ad.providerConfig){var i;const{id:r,class:l}=t.ad.providerConfig;t.isDynamicAd="Floor"==l||"Mobile_Sticky"==l,(0,B.z)([null===(i=t.traffectiveAdService)||void 0===i?void 0:i.isTRFConfigReady$.pipe((0,g.p)(c=>c),(0,A.s)(1)),t.isDynamicAd?(0,G.of)(!0):t.adVisible$.pipe((0,g.p)(c=>c),(0,A.s)(1))]).subscribe(()=>{var c;if(!(0,p.Vy)(t.platformId)&&null!==(c=window)&&void 0!==c&&c.traffective)try{t.ssrService.prebootCompleted$.subscribe(()=>{t.ngZone.runOutsideAngular(t.isDynamicAd?()=>{window.traffective.refreshBottomSticky(l,r)}:()=>{window.traffective.refreshSlot(l,r)})})}catch(f){console.warn("Error with traffective refresh slot",f)}})}})()}mergeTargeting(t){let i=null;if(t||this.config.targeting){i=[];let r=new Map;this.evaluateTargeting(t,r),this.evaluateTargeting(this.config.targeting,r),r.forEach((l,c)=>{i.push({key:c,value:l})})}return i}evaluateTargeting(t,i){t&&t.forEach(r=>{const l=(0,x.uQ)(r.key,this.contextService.getContext(),this.contextService.$functions,this.globalService.getGlobalData(),!1);if(l&&""!==l){let c=i.get(l);c||(c=[]),(Array.isArray(r.value)?r.value:[r.value]).forEach(f=>{let h=(0,x.uQ)(f,this.contextService.getContext(),this.contextService.$functions,this.globalService.getGlobalData(),!1);if(r.multiValue){let C=h.split(",").filter(m=>""!==m);c.concat(C)}else h&&""!==h&&c.push(h)}),c.length>0&&i.set(l,c)}})}resizeGoogleAd(){}getImageHeight(){return this.config.imageHeight||_.q.AUTO}getImageSrc(t=!1){const i=this.ad&&this.ad.providerConfig;return i&&(0,M.rv)(t&&i.stickyImage||i.image)}getHref(){const t=this.ad&&this.ad.providerConfig;return t&&t.target}getTrackingParams(){return{AD_ID:this.config.adId}}onVisible(t){t&&this.adVisible$.next(!0)}isAdServiceType(t){return"AUDIENZZ"===t||"ADSPIRIT"===t}initPluginAd(){this.adContainer&&this.adService.showAd(null,{...this.ad,providerConfig:this.resolvedProviderConfig},this.adContainer.nativeElement,()=>this.load.emit(),this.ssrService.prebootCompletedPromise)}getTarget(){return(0,y.tb)(this.getHref())?O.We.BLANK:O.We.SELF}}return(o=n).type="ad",o.\u0275fac=function(t){return new(t||o)(e.rXU(e.aKT),e.rXU(P.B),e.rXU(e.zZn),e.rXU(L.V),e.rXU(e.gRc),e.rXU(H.s),e.rXU(k.Ix),e.rXU(K.up),e.rXU(e.Agw),e.rXU(p.qQ),e.rXU(ot),e.rXU(rt.y),e.rXU(st.d),e.rXU(N.e),e.rXU(at.i),e.rXU(e.SKi))},o.\u0275cmp=e.VBU({type:o,selectors:[["storefront-ad"]],viewQuery:function(t,i){if(1&t&&(e.GBs(gt,5,e.aKT),e.GBs(ft,5,e.aKT)),2&t){let r;e.mGM(r=e.lsd())&&(i.stickyLink=r.first),e.mGM(r=e.lsd())&&(i.adContainer=r.first)}},hostVars:3,hostBindings:function(t,i){1&t&&e.bIt("click",function(l){return i.onClick(l)}),2&t&&(e.BMQ("ad-type",i.adType),e.xc7("height",i.iframeHostHeight))},features:[e.Jv_([P.B]),e.Vt3],decls:1,vars:1,consts:[["adContainer",""],["stickyLink",""],[3,"id"],["title","ad",3,"src"],[1,"ad-sticky",3,"href","target"],["title","ad",3,"src",4,"ngIf"],["storefrontVisibleOnScroll","",1,"no-display",3,"id","class"],["storefrontVisibleOnScroll","",1,"no-display",3,"elementVisible","id"],[3,"href","target"],[3,"height","src"]],template:function(t,i){if(1&t&&e.DNE(0,It,2,1),2&t){let r;e.vxM((r=null==i.ad?null:i.ad.providerConfig)?0:-1,r)}},dependencies:[p.bT,_.h,ct,ut],styles:["storefront-ad{display:block;overflow:hidden}storefront-ad a{display:block}storefront-ad a.ad-sticky{display:none}storefront-ad storefront-image img.error{position:relative;width:100vw;height:25vw;background-image:url(/assets/banner/banner_not_found.jpg);background-size:contain;opacity:1}storefront-ad[ad-type=HTML]>iframe{width:100%;height:100%}.sticky-elements storefront-ad a{display:none}.sticky-elements storefront-ad a.ad-sticky{display:block}.no-display{display:none}\n"],encapsulation:2}),n})();var Dt=a(4403),Ut=a(4871);let xt=(()=>{var o;class n{}return(o=n).\u0275fac=function(t){return new(t||o)},o.\u0275mod=e.$C({type:o}),o.\u0275inj=e.G2t({imports:[p.MD]}),n})(),Rt=(()=>{var o;class n{}return(o=n).\u0275fac=function(t){return new(t||o)},o.\u0275mod=e.$C({type:o}),o.\u0275inj=e.G2t({imports:[p.MD,Dt.U,Ut.E,xt]}),n})();const Mt=Pt},2932:($,I,a)=>{a.d(I,{h:()=>V,q:()=>_});var p=a(177),d=a(3953),e=a(8251),S=a(8890),E=a(9876),P=a(345),D=a(4748),R=a(9516),M=a(5102);const z=["image"];function O(v,U){if(1&v){const y=d.RV6();d.j41(0,"img",2,0),d.bIt("error",function(){d.eBV(y);const g=d.XpG();return d.Njj(g.onError())}),d.k0s()}if(2&v){const y=d.XpG();d.Y8G("priority",y.lcpPrioritized())("ngSrc",y.safeResizeSrc)("alt",y.alt)("title",y.title),d.BMQ("aria-label",y.ariaLabel)}}let V=(()=>{var v;class U{set image(u){u&&this.onLoad(u),this._image=u}get image(){return this._image}constructor(u,g,A,b,B,G,x,L){this.sanitizer=u,this.changeDetectorRef=g,this.elementRef=A,this.subscriptions=b,this.platformId=B,this.ssrService=G,this.contextService=x,this.purpleService=L,this.lcpPrioritized=(0,d.hFB)(!1),this.error=new d.bkB,this.height=_.AUTO}get empty(){return!this.src}ngOnInit(){this.initProperties(),(0,p.UE)(this.platformId)&&this.subscriptions.subscribe((0,S.eh)(this,this.elementRef,{skipWait:!1}),u=>this.load())}initProperties(){var u,g,A,b;this.alt=(null===(u=this.extendedThumbnail)||void 0===u?void 0:u.properties.alt)||(null===(g=this.extendedThumbnail)||void 0===g?void 0:g.properties.caption)||"",this.title=this.alt,this.ariaLabel=null!==(A=this.label)&&void 0!==A?A:this.alt,this.focalPoint=null===(b=this.extendedThumbnail)||void 0===b?void 0:b.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.src&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(u){u.src&&this.loaded&&this.update()}update(){this.updateImageRatio(),this.updateResizeSrc()}onLoad(u){u.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),u.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,u),this.changeDetectorRef.markForCheck()}),u.nativeElement.addEventListener("error",function(){u.nativeElement.style.display="none",u.nativeElement.nextElementSibling&&(u.nativeElement.nextElementSibling.style.display="inline")}),this.purpleService.addImageSrc(this.resizeSrc)}onError(){if(!this.safeResizeSrc)return;const u=this.purpleService.getAlternativeSrc(this.src);var g;u&&u!==this.resizeSrc?(this.setResizeSrc(u),this.changeDetectorRef.detectChanges()):(null===(g=this.image)||void 0===g||g.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(u=!1,g=this.image){this.imageRatio=this.height===_.AUTO?(0,E.z)(!u,null==g?void 0:g.nativeElement,this.src)+"%":void 0}updateResizeSrc(){this.setResizeSrc((0,E.G)(this.elementRef.nativeElement,this.src,this.imageResolutionStrategy,this.focalPoint)),this.changeDetectorRef.detectChanges()}setResizeSrc(u){const g=this.contextService.toResourceUrl(u);this.resizeSrc=g,this.safeResizeSrc=this.sanitizer.bypassSecurityTrustResourceUrl(g)}}return(v=U).\u0275fac=function(u){return new(u||v)(d.rXU(P.up),d.rXU(d.gRc),d.rXU(d.aKT),d.rXU(e.v),d.rXU(d.Agw),d.rXU(D.i),d.rXU(R.V),d.rXU(M.Wj))},v.\u0275cmp=d.VBU({type:v,selectors:[["storefront-image"]],viewQuery:function(u,g){if(1&u&&d.GBs(z,5),2&u){let A;d.mGM(A=d.lsd())&&(g.image=A.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:12,hostBindings:function(u,g){2&u&&(d.BMQ("src",g.src)("label",g.label)("resolution-strategy",g.imageResolutionStrategy)("alt",g.alt)("title",g.title)("aria-label",g.ariaLabel)("focal-point",g.focalPoint)("height-strategy",g.height),d.xc7("padding-top",g.imageRatio),d.AVh("empty",g.empty))},inputs:{src:"src",label:"label",extendedThumbnail:"extendedThumbnail",imageResolutionStrategy:"imageResolutionStrategy",lcpPrioritized:[1,"lcpPrioritized"],height:"height"},outputs:{error:"error"},features:[d.Jv_([e.v]),d.OA$],decls:1,vars:1,consts:[["image",""],["fill","true",3,"priority","ngSrc","alt","title","error",4,"ngIf"],["fill","true",3,"error","priority","ngSrc","alt","title"]],template:function(u,g){1&u&&d.DNE(0,O,2,5,"img",1),2&u&&d.Y8G("ngIf",g.loaded&&g.src)},dependencies:[p.bT,p.kt],styles:["storefront-image{display:flex;justify-content:center;align-items:center;position:relative;background-color:var(--imageLoadingColor);transition:.2s background-color ease-in}storefront-image[height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img{display:block;transition:opacity .2s ease-in,background-color .2s ease-in;background-color:#fff0;max-width:100%;max-height:100%;opacity:0}storefront-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),U})();var _=function(v){return v.AUTO="AUTO",v.FIXED="FIXED",v.DEFAULT="DEFAULT",v}(_||{})},4403:($,I,a)=>{a.d(I,{U:()=>e});var p=a(177),d=a(3953);let e=(()=>{var S;class E{}return(S=E).\u0275fac=function(D){return new(D||S)},S.\u0275mod=d.$C({type:S}),S.\u0275inj=d.G2t({imports:[p.MD]}),E})()}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588","projects_storefront_src_app_config_common_config_ts"],{3713:(M,T,a)=>{a.d(T,{r:()=>R});var p=a(1210),f=a(4452),e=a(4412),G=a(3953);let R=(()=>{var _;class I extends p.${constructor(){super(...arguments),this.dependingDataCollections=[],this.excludedData=[],this.latestDataSubject$=new e.t(null),this.skipWait=new e.t(!1)}ngOnInit(){if(!0===this.baseConfig.excludeContentPriorLoaded){const y=this.getDataSourceType();this.dependingDataCollections=this.contextService.getDataCollectionComponents().filter(E=>E.getDataSourceType()===y),this.dependingDataCollections.forEach(E=>{E.skipWait.value||E.skipWait.next(!0)})}!0!==this.baseConfig.dontExcludeThisContent&&this.contextService.registerDataCollectionComponent(this),super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy(),this.contextService.unregisterDataCollectionComponent(this)}getDataSourceType(){return(0,f.xV)(this.baseConfig)}getDependingDataCollections(){return this.dependingDataCollections}notifyHasData(y){this.excludedData=this.excludedData.concat(y.data),this.dependingDataCollections&&this.dependingDataCollections.length>0&&(this.dependingDataCollections=this.dependingDataCollections.filter(E=>E!==y.component),0===this.dependingDataCollections.length&&this.setComponentContext("resolvedDependencies","true"))}dataArrived(y){this.latestDataSubject$.next(y),this.contextService.notifyContainerComponents({component:this,data:y})}getLatestData(){return this.latestDataSubject$.value}getExcludedData(){return this.dependingDataCollections.length>0?void 0:this.excludedData}}return(_=I).\u0275fac=(()=>{let A;return function(E){return(A||(A=G.xGo(_)))(E||_)}})(),_.\u0275dir=G.FsC({type:_,features:[G.Vt3]}),I})()},6479:(M,T,a)=>{a.r(T),a.d(T,{ListModule:()=>Rt,component:()=>It});var p=a(177),f=a(467),e=a(3953),G=a(1413),R=a(3726),_=a(152),I=a(6977),A=a(9758),y=a(873),E=a(4452),m=a(8179),N=a(8251),z=a(610),x=a(3178),k=a(2962),Y=a(7598),B=a(8890),H=a(3472),v=a(1803),j=function(s){return s.FIRST="FIRST",s.ALL="ALL",s}(j||{});const F={dataSource:null,template:v.TS.VERTICAL,groupTemplate:v.TS.VERTICAL,content:null,emptyMessage:"LIST_NO_RESULTS",errorMessage:"LIST_ERROR",errorButtonLabel:"LIST_ERROR_BUTTON",maxLoadMoreRetries:2};var P=a(362);function D(s){return!!s&&s.groupable}var Q=a(7967),w=a(8075),W=a(7879),U=a(4559),K=a(8004),Z=a(9516),$=a(4748),J=a(5102),q=a(1652),tt=a(680),et=a(8909),nt=a(3648),X=a(6600);let it=(()=>{var s;class u{set storefrontDynamicAttributes(t){var n;t=null!==(n=t)&&void 0!==n?n:{};for(const[i,o]of Object.entries(t))o&&this.el.nativeElement.setAttribute(i,o);for(const i of Object.keys(this.currentAttributes))t[i]||this.el.nativeElement.removeAttribute(i);this.currentAttributes=t}constructor(t){this.el=t,this.currentAttributes={}}}return(s=u).\u0275fac=function(t){return new(t||s)(e.rXU(e.aKT))},s.\u0275dir=e.FsC({type:s,selectors:[["","storefrontDynamicAttributes",""]],inputs:{storefrontDynamicAttributes:"storefrontDynamicAttributes"}}),u})();const ot=["listContent"],st=["indicator"],rt=["childComponent"],O=s=>[s];function lt(s,u){1&s&&e.nrm(0,"div",17,1)}function at(s,u){if(1&s&&e.nrm(0,"storefront-element",24),2&s){const r=e.XpG().$implicit,t=e.XpG(2);e.Y8G("baseConfig",t.groupHeaderConfig[r])("baseContext",t.groupHeaderContext[r])("dataType",t.getGroupDataType(r))}}function ct(s,u){if(1&s){const r=e.RV6();e.j41(0,"storefront-element",27,2),e.bIt("click",function(n){const i=e.eBV(r).$implicit,o=e.sdS(1),l=e.XpG(4);return e.Njj(l.onClickEntry(o,i,n))})("delete",function(n){e.eBV(r);const i=e.XpG(4);return e.Njj(i.onDeleteEntry(n))}),e.k0s()}if(2&s){const r=u.$implicit,t=u.index,n=e.sdS(1),i=e.XpG(2).index,o=e.XpG(2);e.AVh("no-ripple",!(null!=o.config&&null!=o.config.selection&&o.config.selection.ripple))("selected",o.isSelected(n)),e.Y8G("baseConfig",o.getEntryConfig(r))("baseContext",o.getEntryContext(r,t,i))("dataType",o.getDataType())("matRippleDisabled",!(null!=o.config&&null!=o.config.selection&&o.config.selection.ripple)),e.BMQ("data-entry-index",t)}}function ut(s,u){if(1&s&&(e.j41(0,"div",25)(1,"div",3),e.DNE(2,ct,2,9,"storefront-element",26),e.k0s()()),2&s){const r=e.XpG(),t=r.$implicit,n=r.index,i=e.XpG(2);e.BMQ("template",i.config.groupTemplate)("data-group-index",n),e.R7$(),e.Y8G("storefrontCheckOverflow",i.config.groupTemplate),e.R7$(),e.Y8G("ngForOf",i.slicedGroupData[t])("ngForTrackBy",i.trackBySlicedData)}}function dt(s,u){if(1&s){const r=e.RV6();e.j41(0,"div",28),e.bIt("click",function(){e.eBV(r);const n=e.XpG().$implicit,i=e.XpG(2);return e.Njj(i.toggleGroupedEntriesLength(n))}),e.nrm(1,"span",29)(2,"i",30),e.k0s()}if(2&s){const r=e.XpG().$implicit,t=e.XpG(2);e.AVh("expanded",t.groupedEntriesLength[r]>=t.groupData[r].length),e.R7$(),e.Y8G("storefrontTranslate",t.getExpandCollapseMessage("EXPAND_COLLAPSE_GROUPED_ENTRIES",r))("storefrontTranslateArgs",e.eq3(4,O,t.groupData[r].length-t.getGroupedEntriesConfigLength()))}}function gt(s,u){if(1&s&&(e.j41(0,"div",19),e.DNE(1,at,1,3,"storefront-element",20)(2,ut,3,5,"div",21),e.j41(3,"div",22),e.DNE(4,dt,3,6,"div",23),e.k0s()()),2&s){const r=u.$implicit,t=e.XpG(2);e.Y8G("storefrontDynamicAttributes",t.groupAttributes&&t.groupAttributes[r]),e.R7$(),e.Y8G("ngIf",t.config&&t.groupHeaderConfig&&t.groupHeaderConfig[r]),e.R7$(),e.Y8G("ngIf",t.slicedGroupData),e.R7$(2),e.Y8G("ngIf",t.showGroupedEntriesExpandToggle(r))}}function ft(s,u){if(1&s&&(e.qex(0),e.DNE(1,gt,5,4,"div",18),e.bVm()),2&s){const r=e.XpG();e.R7$(),e.Y8G("ngForOf",r.slicedGroups)("ngForTrackBy",r.trackBySlicedData)}}function pt(s,u){if(1&s){const r=e.RV6();e.j41(0,"storefront-element",27,2),e.bIt("click",function(n){const i=e.eBV(r).$implicit,o=e.sdS(1),l=e.XpG(2);return e.Njj(l.onClickEntry(o,i,n))})("delete",function(n){e.eBV(r);const i=e.XpG(2);return e.Njj(i.onDeleteEntry(n))}),e.k0s()}if(2&s){const r=u.$implicit,t=u.index,n=e.sdS(1),i=e.XpG(2);e.AVh("no-ripple",!(null!=i.config&&null!=i.config.selection&&i.config.selection.ripple))("selected",i.isSelected(n)),e.Y8G("baseConfig",i.getEntryConfig(r))("baseContext",i.getEntryContext(r,t))("dataType",i.getDataType())("matRippleDisabled",!(null!=i.config&&null!=i.config.selection&&i.config.selection.ripple)),e.BMQ("data-entry-index",t)}}function ht(s,u){if(1&s&&(e.qex(0),e.DNE(1,pt,2,9,"storefront-element",26),e.bVm()),2&s){const r=e.XpG();e.R7$(),e.Y8G("ngForOf",r.slicedData)("ngForTrackBy",r.trackBySlicedData)}}function mt(s,u){if(1&s&&e.nrm(0,"div",31),2&s){const r=e.XpG();e.Y8G("storefrontTranslate",r.emptyMessage)("storefrontTranslateArgs",r.emptyMessageVariables)}}function vt(s,u){if(1&s){const r=e.RV6();e.j41(0,"div",32),e.nrm(1,"span",29),e.j41(2,"button",33),e.bIt("click",function(){e.eBV(r);const n=e.XpG();return e.Njj(n.reload())}),e.k0s()()}if(2&s){const r=e.XpG();e.R7$(),e.Y8G("storefrontTranslate",r.config.errorMessage)("storefrontTranslateArgs",e.eq3(3,O,r.error.code)),e.R7$(),e.Y8G("storefrontTranslate",r.config.errorButtonLabel)}}function Ct(s,u){if(1&s){const r=e.RV6();e.j41(0,"div",34),e.bIt("click",function(){e.eBV(r);const n=e.XpG();return e.Njj(n.toggleEntriesLength())}),e.nrm(1,"span",29)(2,"i",30),e.k0s()}if(2&s){const r=e.XpG();e.AVh("expanded",r.entriesLimit>=(r.groups||r.data).length),e.R7$(),e.Y8G("storefrontTranslate",r.getExpandCollapseMessage("EXPAND_COLLAPSE_ENTRIES"))("storefrontTranslateArgs",e.eq3(4,O,r.data.length-r.getEntriesConfigLength()))}}function bt(s,u){if(1&s){const r=e.RV6();e.j41(0,"button",35),e.bIt("click",function(){e.eBV(r);const n=e.XpG();return e.Njj(n.confirmSelection())}),e.k0s()}if(2&s){const r=e.XpG();e.Y8G("storefrontTranslate",r.getMessage("CONFIRM"))}}function yt(s,u){if(1&s){const r=e.RV6();e.j41(0,"button",36),e.bIt("click",function(){e.eBV(r);const n=e.XpG();return e.Njj(n.resetSelection())}),e.k0s()}if(2&s){const r=e.XpG();e.Y8G("storefrontTranslate",r.getMessage("RESET"))}}function Et(s,u){if(1&s){const r=e.RV6();e.j41(0,"button",37),e.bIt("click",function(){e.eBV(r);const n=e.XpG();return e.Njj(n.selectAll())}),e.k0s()}if(2&s){const r=e.XpG();e.Y8G("storefrontTranslate",r.getMessage("SELECT_ALL"))}}function St(s,u){if(1&s){const r=e.RV6();e.j41(0,"button",38),e.bIt("click",function(){e.eBV(r);const n=e.XpG();return e.Njj(n.unSelectAll())}),e.k0s()}if(2&s){const r=e.XpG();e.Y8G("storefrontTranslate",r.getMessage("UNSELECT_ALL"))}}function _t(s,u){if(1&s&&(e.j41(0,"div",39)(1,"a",40),e.EFF(2," mehr "),e.k0s()()),2&s){const r=e.XpG();e.R7$(),e.Y8G("href",r.generateUrlWithPageSet(),e.B4B)}}const V="data";let Tt=(()=>{var s;class u extends H.M{get selectable(){return this.baseConfig.selection}get centered(){return this.baseConfig.centered}get isNotHorizontalList(){return this.template!==v.TS.HORIZONTAL}get paginationSuffix(){var t;return null===(t=this.config)||void 0===t||null===(t=t.pagination)||void 0===t?void 0:t.suffix}get showPaginationButton(){return!!(this.isNotHorizontalList&&this.hasNext&&this.paginationSuffix)}constructor(t,n,i,o,l,c,d,g,C,h,S,b,L,Pt,Ot){super(i,n,d,g,L),this.store=t,this.elementRef=n,this.injector=i,this.router=o,this.changeDetectorRef=l,this.eventActionService=c,this.contextService=d,this.document=g,this.platformId=C,this.transferState=h,this.ssrService=S,this.purpleService=b,this.globalService=L,this.route=Pt,this.purpleEnv=Ot,this.defaultConfig={...F},this.selectedComponents=[],this.initiallySelectedComponents=[],this.destroyRef$=new G.B,this.slicedGroupData={},this.entryContextCache={},this.groupedEntriesLength={},this.listenQueryParamsInit=!1}ngOnInit(){this.baseContext.isGhost||(this.store.subscribe((0,R.R)(this.listContent.nativeElement,"scroll",{passive:!0}).pipe((0,_.B)(100)),t=>this.onScroll()),this.store.subscribe((0,B.Ne)(),t=>{this.updatePositionIndicator(this.selectedComponents[0]).then(()=>this.changeDetectorRef.detectChanges())}),this.isNotHorizontalList&&(0,p.UE)(this.platformId)&&this.store.subscribe((0,R.R)(window,Y.Zm),t=>{(t.detail.emitter===this.elementRef.nativeElement||t.detail.emitter.contains(this.elementRef.nativeElement))&&this.loadMore()}),super.ngOnInit())}ngOnDestroy(){this.destroyRef$.next(),this.destroyRef$.complete()}onScroll(){(0,p.UE)(this.platformId)&&this.isNotHorizontalList&&(0,k.IL)(this.listContent.nativeElement,!0)>y._&&this.loadMore()}loadOnVisible(){var t=this;return(0,f.A)(function*(){(0,p.Vy)(t.platformId)||!t.ssrService.currentPrebootStatus?t.loadAndInit():(t.store.subscribe((0,B.eh)(t,t.elementRef,{skipWait:t.purpleEnv.isUniversal&&!t.ssrService.currentPrebootStatus||t.skipWait}),n=>t.loadAndInit(),x.lQ,x.lQ,"visible"),t.skipWait.subscribe(n=>{n&&(t.store.unsubscribe("visible"),t.loadAndInit())}))})()}onConfigChanges(){var t=this;return(0,f.A)(function*(){t.listenQueryParams();const n=t.getExcludedData();if(null!=n){if((!t.dataSource||t.dataSource.hasConfigChanged(t.config.dataSource))&&(t.dataSource?(t.dataSource.setConfig(t.config.dataSource),t.dataSource.reset()):(t.dataSource=(0,E.O8)(t.injector,t.config.dataSource,t.elementRef.nativeElement,t.document),n.length>0&&t.dataSource.setExcludedData(n))),t.store.hasSubscription(V)||(t.store.subscribe(t.dataSource.data$,function(){var o=(0,f.A)(function*(l){var c,d,g;t.hasNext=!(null===(c=t.dataSource)||void 0===c||null===(c=c.lastCallMetadata)||void 0===c||!c.hasNextPage||null===(d=t.data)||void 0===d||!d.length)&&(null===(g=t.dataSource)||void 0===g||null===(g=g.lastCallMetadata)||void 0===g?void 0:g.hasNextPage);const C=!t.data||t.data.length&&t.data.every(S=>null===S);t.data=l;const h=!t.data||t.data.length&&t.data.every(S=>null===S);h||t.dataArrived(t.data),t.listEmpty=0===(null==l?void 0:l.length),yield t.setGroupData(),t.updateAllSlicedData(),t.changedEntryContexts(),h||t.changeDetectorRef.detectChanges(),C&&t.loadMoreUntilFilled()});return function(l){return o.apply(this,arguments)}}(),x.lQ,x.lQ,V),t.store.subscribe(t.dataSource.error$,o=>{t.error=o,o&&t.dataArrived([])},x.lQ,x.lQ,"error")),!t.dataSource.hasData())try{t.loadOnVisible()}catch{}var i;t.config.selection&&t.dataSource.hasData()&&(t.elementRef.nativeElement.setAttribute("template",t.config.template),t.setSelectionFromContext()),t.config.emptyMessage&&(t.emptyMessage="string"==typeof t.config.emptyMessage?t.config.emptyMessage:t.config.emptyMessage.message,t.emptyMessageVariables="string"==typeof t.config.emptyMessage?[]:null!==(i=t.config.emptyMessage.variables)&&void 0!==i?i:[]),t.changedEntryContexts(),t.changeDetectorRef.markForCheck()}})()}updateAllSlicedData(){var t,n;if(this.entriesLimit=null!==(t=null!==(n=this.entriesLimit)&&void 0!==n?n:this.getEntriesConfigLength())&&void 0!==t?t:1/0,this.template===v.TS.GROUP){this.slicedGroups=this.groups.slice(0,this.entriesLimit);const o=this.getGroupedEntriesConfigLength();for(const l of this.groups)this.groupedEntriesLength[l]||(this.groupedEntriesLength[l]=o),this.slicedGroupData[l]=this.groupData[l].slice(0,this.groupedEntriesLength[l])}else{var i;this.slicedData=null===(i=this.data)||void 0===i||null===(i=i.slice(0,this.entriesLimit))||void 0===i?void 0:i.filter(o=>(0,m.ru)(this.getEntryConfig(o),this.getEntryContext(o),this.contextService.$functions,this.globalService.getGlobalData()))}}getGroupedEntriesConfigLength(){var t;return null===(t=this.config)||void 0===t||null===(t=t.lengthLimit)||void 0===t?void 0:t.groupedEntries}getEntriesConfigLength(){var t;return null===(t=this.config)||void 0===t||null===(t=t.lengthLimit)||void 0===t?void 0:t.entries}showEntriesExpandToggle(){var t,n,i;return(null===(t=this.config)||void 0===t?void 0:t.template)===v.TS.GROUP?(null===(i=this.groups)||void 0===i?void 0:i.length)>this.getEntriesConfigLength():(null===(n=this.data)||void 0===n?void 0:n.length)>this.getEntriesConfigLength()}showGroupedEntriesExpandToggle(t){var n;return t&&(null===(n=this.groupData[t])||void 0===n?void 0:n.length)>this.getGroupedEntriesConfigLength()}toggleEntriesLength(){var n;this.entriesLimit=void 0===this.entriesLimit||this.entriesLimit<1/0?1/0:this.getEntriesConfigLength(),this.template===v.TS.GROUP?this.slicedGroups=this.groups.slice(0,this.entriesLimit):this.slicedData=null===(n=this.data)||void 0===n||null===(n=n.slice(0,this.entriesLimit))||void 0===n?void 0:n.filter(i=>(0,m.ru)(this.getEntryConfig(i),this.getEntryContext(i),this.contextService.$functions,this.globalService.getGlobalData()))}toggleGroupedEntriesLength(t){void 0===this.groupedEntriesLength[t]||this.groupedEntriesLength[t]<1/0?(this.groupedEntriesLength[t]=1/0,this.slicedGroupData[t]=this.groupData[t]):(this.groupedEntriesLength[t]=this.getGroupedEntriesConfigLength(),this.slicedGroupData[t]=this.groupData[t].slice(0,this.groupedEntriesLength[t]))}changedEntryContexts(t){t?t.forEach(n=>{delete this.entryContextCache[n]}):this.entryContextCache={}}loadMoreUntilFilled(){var t=this;return(0,f.A)(function*(){let n=0,o=t.getElementRef().nativeElement.closest("body, storefront-embeddable-view .content, storefront-modal .modal-content");if(o===t.document.body&&t.document.scrollingElement!==o&&(o=t.document.scrollingElement),o)for(;o.scrollHeight<o.clientHeight&&null!==(l=t.dataSource.lastCallMetadata)&&void 0!==l&&l.hasNextPage;){var l;if(n>=t.config.maxLoadMoreRetries)return void console.warn("loadMore was called ".concat(t.config.maxLoadMoreRetries," times, but screen still isn't filled. Increase List maxLoadMoreRetries or DataSource batchSize"));yield t.loadMore(),n++}})()}loadAndInit(){var t=this;return(0,f.A)(function*(){t.isNotHorizontalList&&t.paginationSuffix?(t.currentPageSet=t.route.snapshot.queryParams["page-set-".concat(t.paginationSuffix)],t.currentPageSet&&(t.dataSource.cursor=t.currentPageSet),yield t.dataSource.loadData({ignoreCursor:!t.currentPageSet})):yield t.dataSource.loadData(),t.paginationSuffix&&(t.currentPageSet=t.dataSource.cursor),t.config.selection&&t.dataSource.hasData()&&(t.elementRef.nativeElement.setAttribute("template",t.config.template),t.setSelectionFromContext(!0))})()}loadMore(){var t=this;return(0,f.A)(function*(){try{yield t.dataSource.loadMore(),t.paginationSuffix&&(t.currentPageSet=t.dataSource.cursor,t.hasNext=!!t.currentPageSet)}catch{}})()}getData(){return this.data}isEmpty(){const t=this.getData();return t&&t.length}getGroups(){return D(this.dataSource)&&this.dataSource.getGroups()}getGroupData(t){return D(this.dataSource)&&this.dataSource.getGroupData(t)}getEntryContext(t,n,i){const o=null==t?void 0:t.id;if(o&&this.entryContextCache[o])return this.entryContextCache[o];let l;if(t){var c;let d=(0,m.uQ)(null!==(c=this.getConfig().dataSource.entryId)&&void 0!==c?c:this.getDataType(),this.context,this.contextService.$functions,this.globalService.getGlobalData());l={...this.context,[this.config&&d]:t,...null!=n?{entryIndex:n}:{},...null!=i?{groupIndex:i}:{}},o&&(this.entryContextCache[o]=l)}else l={...this.context,isGhost:!0,...null!=n?{entryIndex:n}:{},...null!=i?{groupIndex:i}:{}};return l}getGroupEntryContext(t){return{...this.context,[this.config&&this.config.dataSource.type]:t}}getGroupDataType(t){return D(this.dataSource)&&"group"}getGroupHeaderContext(t,n){var i=this;return(0,f.A)(function*(){const o=D(i.dataSource)&&(yield i.dataSource.getGroupHeaderContextData(t,n));return o?{...i.context,group:o}:void 0})()}getGroupHeaderConfig(t){if(this.config.groupHeader&&D(this.dataSource)){var n,i,o;let l={...this.config.groupHeader};return l.condition&&(l=(0,m.uQ)(l,this.groupHeaderContext[t],this.contextService.$functions,this.globalService.getGlobalData()),l=(0,m.v3)(l),!l)?null:null!==(n=null===(i=(o=this.dataSource).getGroupHeaderConfig)||void 0===i?void 0:i.call(o,l,t))&&void 0!==n?n:l}return null}onClickEntry(t,n,i){var o=this;return(0,f.A)(function*(){if(!o.isAnyChildComponentProcessing()&&((o.config.selection||o.baseConfig.tapEntry)&&o.store.dispatch((0,z.k4)({url:window.location.href,key:"".concat(o.getTrackingBaseKey(),"_").concat(t.getChildComponent().getTrackingBaseKey(),"_CLICKED"),params:t.getChildComponent().getTrackingParams()})),o.config.selection&&o.setSelection(t,!0),o.baseConfig.tapEntry)){t.processing=!0,o.changeDetectorRef.detectChanges();const l=(0,m.uQ)(o.baseConfig.tapEntry,o.getEntryContext(n),o.contextService.$functions,o.globalService.getGlobalData(),!1);yield o.eventActionService.processEventAction((0,m.v3)(l),t.getChildComponent(),o),t.processing=!1,o.changeDetectorRef.detectChanges()}})()}isAnyChildComponentProcessing(){return!(!this.childComponents||!this.childComponents.find(t=>t.processing))}setSelectionFromContext(t=!1){const n=this.getDataFromContext();let i=[];if(n)if("string"==typeof n){const o=this.childComponents.find(l=>l.getDataId()===n);o&&i.push(o)}else if("object"==typeof n)if(Array.isArray(n))i=this.childComponents.filter(o=>n.indexOf(o.getDataId())>-1);else{const o=this.childComponents.find(l=>l.getDataId()===n.id);o&&i.push(o)}!i.length&&this.config.selection.init&&(this.config.selection.init===j.ALL?this.config.selection.multi&&(i=this.childComponents.map(o=>o)):i.push(this.childComponents.toArray()[0])),i.length&&this.hasSelectionChanged(i)&&i.forEach(o=>this.setSelection(o,!1,!0)),t&&(this.initiallySelectedComponents=[...i])}setSelection(t,n=!1,i=!1){this.config.selection.multi?(this.isSelected(t)?n&&(this.selectedComponents=this.selectedComponents.filter(o=>o!==t)):this.selectedComponents.push(t),this.config.selection.confirm||this.updateSelection()):(this.selectedComponents=[t],this.config.selection.confirm||this.updatePositionIndicator(t,i?100:0).then(()=>this.updateSelection()),this.template!==v.TS.TABS&&t.scrollIntoView(this.getScrollOptions()))}updatePositionIndicator(t,n=0){var i=this;return(0,f.A)(function*(){return new Promise(o=>{if(i.template===v.TS.TABS){const l=t.elementRef.nativeElement;(0,k.L$)(i.indicator.nativeElement,"transitionend",o),setTimeout(()=>{i.indicator.nativeElement.style.transform="translateX(".concat(l.offsetLeft-1,"px) translateY(").concat(l.offsetTop,"px)"),i.indicator.nativeElement.style.width=l.offsetWidth+1+"px",i.indicator.nativeElement.style.height=l.offsetHeight+"px"},n),setTimeout(o,n+500)}else o()})})()}updateSelection(){var t=this;return(0,f.A)(function*(){const n=t.config.selection.multi?"filter":"find",i=t.selectedComponents.map(o=>o.getDataId())[n](o=>!!o);t.config.selection.paramScope===A.x.USER_ATTRIBUTE?t.contextService.setUserAttribute(t.config.selection.param,i):(0,w.CV)(t.router,{[t.config.selection.param]:i})})()}getScrollOptions(){return{behavior:"smooth",axis:this.template===v.TS.HORIZONTAL?"horiz":void 0,padding:!0}}onDeleteEntry(t){const n=null==t?void 0:t.id;n&&this.entryContextCache[n]&&delete this.entryContextCache[n],this.dataSource.update()}reload(){(0,p.UE)(this.platformId)&&window.location.reload()}isSelected(t){return this.selectedComponents.indexOf(t)>-1}confirmSelection(){var t=this;return(0,f.A)(function*(){yield t.updateSelection(),t.eventActionService.processEventAction((0,m.v3)((0,m.uQ)(t.config.selection.confirm.action,t.context,t.contextService.$functions,t.globalService.getGlobalData())),t)})()}resetSelection(){this.selectedComponents=[...this.initiallySelectedComponents],this.config.selection.confirm||this.updateSelection()}unSelectAll(){this.selectedComponents=[],this.config.selection.confirm||this.updateSelection()}selectAll(){this.selectedComponents=this.childComponents.toArray(),this.config.selection.confirm||this.updateSelection()}setGroupData(){var t=this;return(0,f.A)(function*(){if(D(t.dataSource)&&t.template===v.TS.GROUP){const n=t.getGroups();if(P(t.groups,n)||(t.groups=n),t.groupData?(Object.keys(t.groupData).forEach(i=>{t.groups.indexOf(i)<0&&delete t.groupData[i]}),t.groups.forEach(i=>{const o=t.getGroupData(i);P(o,t.groupData[i])||(t.groupData[i]=o)})):t.groupData=t.groups.reduce((i,o)=>({...i,[o]:t.getGroupData(o)}),{}),t.config.groupHeader){const i=yield Promise.all(t.groups.map(function(){var l=(0,f.A)(function*(c){return[c,yield t.getGroupHeaderContext(c,t.groupData[c])]});return function(c){return l.apply(this,arguments)}}()));if(!P(t.groups,n))return;t.groups=t.groups.filter(l=>i.some(([c,d])=>c===l&&!!d));const o={};for(const[l,c]of i)o[l]=c;if(t.groupHeaderContext=o,t.groupHeaderConfig=t.groups.reduce((l,c)=>({...l,[c]:t.getGroupHeaderConfig(c)}),{}),t.config.groupAttributes){t.groupAttributes={};for(const[l,c]of Object.entries(o)){const d=(0,m.uQ)({...t.config.groupAttributes},c,t.contextService.$functions,t.globalService.getGlobalData(),!1);for(const g of Object.keys(d))null!=d[g]&&(d[g]=(0,m.v3)(d[g]));t.groupAttributes[l]=d}}}}})()}getMessage(t){switch(t){case"CONFIRM":return this.config.selection.confirm.message||"LIST_ACTION_CONFIRM";case"RESET":return"string"==typeof this.config.selection.reset?this.config.selection.reset:"LIST_ACTION_RESET";case"SELECT_ALL":return"string"==typeof this.config.selection.selectAll?this.config.selection.selectAll:"LIST_ACTION_SELECT_ALL";case"UNSELECT_ALL":return"string"==typeof this.config.selection.unSelectAll?this.config.selection.unSelectAll:"LIST_ACTION_UNSELECT_ALL"}}getExpandCollapseMessage(t,n){function i(b,L){return"string"==typeof b?b:(0,Q.t)(b,L)}if("EXPAND_COLLAPSE_ENTRIES"===t){const b=(this.template===v.TS.GROUP?this.groups:this.data).length-this.getEntriesConfigLength();var o,l,c,d;return i(void 0!==this.entriesLimit&&this.entriesLimit<1/0?null!==(o=null===(l=this.config.lengthLimit)||void 0===l?void 0:l.entriesExpandMessage)&&void 0!==o?o:{singular:"LIST_ENTRY_TOGGLE_EXPAND",plural:"LIST_ENTRIES_TOGGLE_EXPAND"}:null!==(c=null===(d=this.config.lengthLimit)||void 0===d?void 0:d.entriesCollapseMessage)&&void 0!==c?c:{singular:"LIST_ENTRY_TOGGLE_COLLAPSE",plural:"LIST_ENTRIES_TOGGLE_COLLAPSE"},b)}{const b=this.groupData[n].length-this.getGroupedEntriesConfigLength();var g,C,h,S;return i(void 0!==this.groupedEntriesLength[n]&&this.groupedEntriesLength[n]<1/0?null!==(g=null===(C=this.config.lengthLimit)||void 0===C?void 0:C.groupedEntriesExpandMessage)&&void 0!==g?g:{singular:"LIST_GROUPED_ENTRY_TOGGLE_EXPAND",plural:"LIST_GROUPED_ENTRIES_TOGGLE_EXPAND"}:null!==(h=null===(S=this.config.lengthLimit)||void 0===S?void 0:S.groupedEntriesCollapseMessage)&&void 0!==h?h:{singular:"LIST_GROUPED_ENTRY_TOGGLE_COLLAPSE",plural:"LIST_GROUPED_ENTRIES_TOGGLE_COLLAPSE"},b)}}hasSelectionChanged(t){return this.selectedComponents.length!==t.length||this.selectedComponents.find((n,i)=>n!==t[i])}isSelectionEnabled(){return this.config&&!!this.config.selection}getParam(){return this.config&&this.config.selection&&this.config.selection.param}getSelectionScope(){return this.config&&this.config.selection&&this.config.selection.paramScope}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),"groupHeader","groupAttributes","tapEntry"]}trackBySlicedData(t,n){var i,o,l,c,d,g,C,h;return"string"!=typeof n&&n?null!==(i=null!==(o=null!==(l=null!==(c=null==n?void 0:n.id)&&void 0!==c?c:null==n||null===(d=n.issue)||void 0===d?void 0:d.id)&&void 0!==l?l:null==n||null===(g=n.post)||void 0===g?void 0:g.id)&&void 0!==o?o:null==n||null===(C=n.bundle)||void 0===C?void 0:C.id)&&void 0!==i?i:null==n||null===(h=n.ad)||void 0===h?void 0:h.id:n}generateUrlWithPageSet(){const t="page-set-".concat(this.paginationSuffix),n={...this.route.snapshot.queryParams,[t]:this.currentPageSet};return this.router.createUrlTree([],{relativeTo:this.route,queryParams:n}).toString()}listenQueryParams(){(0,p.UE)(this.platformId)&&this.isNotHorizontalList&&this.paginationSuffix&&!this.listenQueryParamsInit&&(this.listenQueryParamsInit=!0,this.route.queryParams.pipe((0,I.Q)(this.destroyRef$)).subscribe(t=>{!t["page-set-".concat(this.paginationSuffix)]&&this.currentPageSet&&(this.currentPageSet="",this.loadAndInit())}))}}return(s=u).type="list",s.\u0275fac=function(t){return new(t||s)(e.rXU(N.B),e.rXU(e.aKT),e.rXU(e.zZn),e.rXU(U.Ix),e.rXU(e.gRc),e.rXU(K.G),e.rXU(Z.V),e.rXU(p.qQ),e.rXU(e.Agw),e.rXU(e.pJN),e.rXU($.i),e.rXU(J.Wj),e.rXU(q.d),e.rXU(U.nX),e.rXU(W.r6))},s.\u0275cmp=e.VBU({type:s,selectors:[["storefront-list"]],viewQuery:function(t,n){if(1&t&&(e.GBs(ot,7,e.aKT),e.GBs(st,5,e.aKT),e.GBs(rt,5)),2&t){let i;e.mGM(i=e.lsd())&&(n.listContent=i.first),e.mGM(i=e.lsd())&&(n.indicator=i.first),e.mGM(i=e.lsd())&&(n.childComponents=i)}},hostVars:6,hostBindings:function(t,n){2&t&&e.AVh("selectable",n.selectable)("centered",n.centered)("list-empty",n.listEmpty)},inputs:{baseConfig:"baseConfig"},features:[e.Jv_([N.B]),e.Vt3],decls:15,vars:14,consts:[["listContent",""],["indicator",""],["childComponent",""],[1,"list-content",3,"storefrontCheckOverflow"],[3,"ngSwitch"],["class","list-position-indicator",4,"ngIf"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","list-no-results",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],["class","list-error",4,"ngIf"],[1,"list-actions"],["class","action-button list-entries-expand-toggle",3,"expanded","click",4,"ngIf"],["mat-ripple","","class","action-button list-selection-confirm",3,"storefrontTranslate","click",4,"ngIf"],["mat-ripple","","class","action-button list-selection-reset",3,"storefrontTranslate","click",4,"ngIf"],["mat-ripple","","class","action-button list-selection-select-all",3,"storefrontTranslate","click",4,"ngIf"],["mat-ripple","","class","action-button list-selection-unselect-all",3,"storefrontTranslate","click",4,"ngIf"],["class","list-pagination-btns",4,"ngIf"],[1,"list-position-indicator"],["class","list-group",3,"storefrontDynamicAttributes",4,"ngFor","ngForOf","ngForTrackBy"],[1,"list-group",3,"storefrontDynamicAttributes"],["class","list-group-header",3,"baseConfig","baseContext","dataType",4,"ngIf"],["class","list-group-entries",4,"ngIf"],[1,"list-group-actions"],["class","action-button list-grouped-entries-expand-toggle",3,"expanded","click",4,"ngIf"],[1,"list-group-header",3,"baseConfig","baseContext","dataType"],[1,"list-group-entries"],["class","list-entry","mat-ripple","",3,"no-ripple","baseConfig","baseContext","dataType","selected","matRippleDisabled","click","delete",4,"ngFor","ngForOf","ngForTrackBy"],["mat-ripple","",1,"list-entry",3,"click","delete","baseConfig","baseContext","dataType","matRippleDisabled"],[1,"action-button","list-grouped-entries-expand-toggle",3,"click"],[3,"storefrontTranslate","storefrontTranslateArgs"],[1,"icon","icon-arrow-down"],[1,"list-no-results",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"list-error"],["mat-ripple","",1,"action-button",3,"click","storefrontTranslate"],[1,"action-button","list-entries-expand-toggle",3,"click"],["mat-ripple","",1,"action-button","list-selection-confirm",3,"click","storefrontTranslate"],["mat-ripple","",1,"action-button","list-selection-reset",3,"click","storefrontTranslate"],["mat-ripple","",1,"action-button","list-selection-select-all",3,"click","storefrontTranslate"],["mat-ripple","",1,"action-button","list-selection-unselect-all",3,"click","storefrontTranslate"],[1,"list-pagination-btns"],["type","button","rel","next","aria-label","mehr",3,"href"]],template:function(t,n){1&t&&(e.j41(0,"div",3,0),e.qex(2,4),e.DNE(3,lt,2,0,"div",5)(4,ft,2,2,"ng-container",6)(5,ht,2,2,"ng-container",7),e.bVm(),e.DNE(6,mt,1,2,"div",8)(7,vt,3,5,"div",9),e.k0s(),e.j41(8,"div",10),e.DNE(9,Ct,3,6,"div",11)(10,bt,1,1,"button",12)(11,yt,1,1,"button",13)(12,Et,1,1,"button",14)(13,St,1,1,"button",15),e.k0s(),e.DNE(14,_t,3,1,"div",16)),2&t&&(e.AVh("processing",n.isAnyChildComponentProcessing()),e.Y8G("storefrontCheckOverflow",n.template),e.R7$(2),e.Y8G("ngSwitch",n.template),e.R7$(),e.Y8G("ngIf","tabs"===n.template),e.R7$(),e.Y8G("ngSwitchCase","group"),e.R7$(2),e.Y8G("ngIf",!n.error&&n.getData()&&!n.getData().length),e.R7$(),e.Y8G("ngIf",n.error&&n.config),e.R7$(2),e.Y8G("ngIf",n.showEntriesExpandToggle()),e.R7$(),e.Y8G("ngIf",n.config&&n.config.selection&&n.config.selection.confirm),e.R7$(),e.Y8G("ngIf",n.config&&n.config.selection&&n.config.selection.reset),e.R7$(),e.Y8G("ngIf",n.config&&n.config.selection&&n.config.selection.selectAll),e.R7$(),e.Y8G("ngIf",n.config&&n.config.selection&&n.config.selection.unSelectAll),e.R7$(),e.Y8G("ngIf",n.showPaginationButton))},dependencies:[p.Sq,p.bT,p.ux,p.e1,p.fG,tt.G,et.M,nt._,X.r6,it],styles:['storefront-list{width:100%;position:relative;overflow-x:hidden;display:block}storefront-list>.list-content{display:flex;flex-direction:row;padding:var(--listPadding)}storefront-list .list-content.processing .list-entry:after{position:absolute;content:"";width:100%;height:100%;top:0;left:0;pointer-events:all}storefront-list[template=vertical]>.list-content,storefront-list .list-group-entries[template=vertical]>.list-content{flex-direction:column}storefront-list[template=vertical]>.list-content>.list-entry:not(:last-child),storefront-list .list-group-entries[template=vertical]>.list-content>.list-entry:not(:last-child){margin-bottom:var(--listItemGutter)}storefront-list[template=horizontal]>.list-content,storefront-list .list-group-entries[template=horizontal]>.list-content{overflow-x:auto}storefront-list[template=horizontal]>.list-content>.list-entry,storefront-list .list-group-entries[template=horizontal]>.list-content>.list-entry{margin-right:var(--listItemGutter);flex-shrink:0}storefront-list[template=horizontal]>.list-content>.list-entry:last-child,storefront-list .list-group-entries[template=horizontal]>.list-content>.list-entry:last-child{margin-right:0}storefront-list[template=horizontal].centered>.list-content>.list-entry:first-child,storefront-list .list-group-entries[template=horizontal].centered>.list-content>.list-entry:first-child{margin-left:auto}storefront-list[template=horizontal].centered>.list-content>.list-entry:last-child,storefront-list .list-group-entries[template=horizontal].centered>.list-content>.list-entry:last-child{margin-right:auto}storefront-list[template=horizontal].scrollable-horiz:after,storefront-list[template=horizontal].scrollable-horiz:before,storefront-list .list-group-entries[template=horizontal].scrollable-horiz:after,storefront-list .list-group-entries[template=horizontal].scrollable-horiz:before{top:0;position:absolute;content:"";height:100%;width:calc(2 * var(--listPaddingHoriz));z-index:3;opacity:0;pointer-events:none;background-color:inherit}storefront-list[template=horizontal].scrollable-horiz>.list-content:after,storefront-list .list-group-entries[template=horizontal].scrollable-horiz>.list-content:after{content:"";flex:0 0 var(--listPaddingHoriz)}storefront-list[template=horizontal].scrollable-right:after,storefront-list .list-group-entries[template=horizontal].scrollable-right:after{right:-1px;opacity:1;-webkit-mask-image:linear-gradient(to left,black 0%,black 25%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(to left,#000,#000 25%,#0000)}storefront-list[template=horizontal].scrollable-left:before,storefront-list .list-group-entries[template=horizontal].scrollable-left:before{left:-1px;opacity:1;-webkit-mask-image:linear-gradient(to right,black 0%,black 25%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(to right,#000,#000 25%,#0000)}storefront-list[template=grid]>.list-content,storefront-list .list-group-entries[template=grid]>.list-content{display:grid;grid-template-columns:repeat(var(--gridListColumns),minmax(0,1fr));grid-column-gap:var(--listItemGutter);grid-row-gap:var(--listItemGutter)}storefront-list[template=grid]>.list-content>.list-no-results,storefront-list[template=grid]>.list-content>.list-error,storefront-list .list-group-entries[template=grid]>.list-content>.list-no-results,storefront-list .list-group-entries[template=grid]>.list-content>.list-error{grid-column:1/calc(var(--gridListColumns) + 1)}storefront-list[template=group]>.list-content{flex-direction:column}storefront-list[template=group]>.list-content>.list-group>.list-group-header{width:100%}storefront-list[template=group]>.list-content>.list-group>.list-group-entries>.list-content{display:flex;flex-direction:row;padding:var(--listPadding) 0}storefront-list[template=group]>.list-content>.list-group .list-group-entries[template=vertical]>.list-content{flex-direction:column}storefront-list[template=group]>.list-content>.list-group>.list-group-actions>.list-grouped-entries-expand-toggle>.icon{font-size:.9em;margin-left:.5em}storefront-list[template=group]>.list-content>.list-group>.list-group-actions>.list-grouped-entries-expand-toggle.expanded>.icon:after{transform:rotate(-90deg)}storefront-list[template=tabs],storefront-list .list-group-entries[template=tabs]{display:flex;width:auto}storefront-list[template=tabs].centered,storefront-list .list-group-entries[template=tabs].centered{justify-content:center}storefront-list[template=tabs]>.list-content,storefront-list .list-group-entries[template=tabs]>.list-content{border-radius:var(--listTabBorderRadius);padding:0;flex-wrap:wrap}storefront-list[template=tabs]>.list-content:after,storefront-list .list-group-entries[template=tabs]>.list-content:after{content:"";position:absolute;border:var(--listTabBorderWidth) solid var(--listTabHighlightColor);width:calc(100% - 2 * var(--listTabBorderWidth));height:calc(100% - 2 * var(--listTabBorderWidth));border-radius:var(--listTabBorderRadius);pointer-events:none;transform:translateZ(0)}storefront-list[template=tabs]>.list-content .list-position-indicator,storefront-list .list-group-entries[template=tabs]>.list-content .list-position-indicator{position:absolute;background-color:var(--listTabHighlightColor);transition:transform .1s ease}storefront-list[template=tabs]>.list-content>.list-entry,storefront-list .list-group-entries[template=tabs]>.list-content>.list-entry{padding:var(--gutter);transition:background-color .2s ease;height:calc(100% - var(--listTabBorderWidth))}storefront-list[template=tabs]>.list-content>.list-entry.selected,storefront-list .list-group-entries[template=tabs]>.list-content>.list-entry.selected{color:var(--listTabHighlightTextColor);transition:color .1s 50ms ease}storefront-list[template=tabs]>.list-content>.list-entry:not(:last-child),storefront-list .list-group-entries[template=tabs]>.list-content>.list-entry:not(:last-child){border-right:var(--listTabBorderWidth) solid var(--listTabHighlightColor)}storefront-list .list-error button.action-button{margin:0 8px;background-color:var(--secondaryColor);color:#fff}storefront-list:has(.list-pagination-btns){padding-bottom:25px}storefront-list .list-pagination-btns{position:absolute;bottom:5px;left:50%;z-index:1}storefront-list .list-pagination-btns a{cursor:pointer}\n'],encapsulation:2,changeDetection:0}),u})();var xt=a(6218),Dt=a(8301),Lt=a(6483),Gt=a(6895);let At=(()=>{var s;class u{}return(s=u).\u0275fac=function(t){return new(t||s)},s.\u0275mod=e.$C({type:s}),s.\u0275inj=e.G2t({imports:[p.MD]}),u})(),Rt=(()=>{var s;class u{}return(s=u).\u0275fac=function(t){return new(t||s)},s.\u0275mod=e.$C({type:s}),s.\u0275inj=e.G2t({imports:[p.MD,xt.SectionModule,Dt.d,Lt.h,Gt.r,X.pZ,At]}),u})();const It=Tt},9758:(M,T,a)=>{a.d(T,{x:()=>p});var p=function(f){return f.URL="URL",f.USER_ATTRIBUTE="USER_ATTRIBUTE",f}(p||{})}}]);
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588","projects_storefront_src_app_config_common_config_ts"],{3713:(M,x,a)=>{a.d(x,{r:()=>R});var p=a(1210),f=a(4452),e=a(4412),_=a(3953);let R=(()=>{var T;class I extends p.${constructor(){super(...arguments),this.dependingDataCollections=[],this.excludedData=[],this.latestDataSubject$=new e.t(null),this.skipWait=new e.t(!1)}ngOnInit(){if(!0===this.baseConfig.excludeContentPriorLoaded){const E=this.getDataSourceType();this.dependingDataCollections=this.contextService.getDataCollectionComponents().filter(y=>y.getDataSourceType()===E),this.dependingDataCollections.forEach(y=>{y.skipWait.value||y.skipWait.next(!0)})}!0!==this.baseConfig.dontExcludeThisContent&&this.contextService.registerDataCollectionComponent(this),super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy(),this.contextService.unregisterDataCollectionComponent(this)}getDataSourceType(){return(0,f.xV)(this.baseConfig)}getDependingDataCollections(){return this.dependingDataCollections}notifyHasData(E){this.excludedData=this.excludedData.concat(E.data),this.dependingDataCollections&&this.dependingDataCollections.length>0&&(this.dependingDataCollections=this.dependingDataCollections.filter(y=>y!==E.component),0===this.dependingDataCollections.length&&this.setComponentContext("resolvedDependencies","true"))}dataArrived(E){this.latestDataSubject$.next(E),this.contextService.notifyContainerComponents({component:this,data:E})}getLatestData(){return this.latestDataSubject$.value}getExcludedData(){return this.dependingDataCollections.length>0?void 0:this.excludedData}}return(T=I).\u0275fac=(()=>{let A;return function(y){return(A||(A=_.xGo(T)))(y||T)}})(),T.\u0275dir=_.FsC({type:T,features:[_.Vt3]}),I})()},6479:(M,x,a)=>{a.r(x),a.d(x,{ListModule:()=>Pt,component:()=>Ot});var p=a(177),f=a(467),e=a(3953),_=a(3726),R=a(152),T=a(9172),I=a(5964),A=a(6697),E=a(9758),y=a(873),Y=a(4452),m=a(8179),N=a(8251),H=a(610),D=a(3178),B=a(2962),F=a(7598),k=a(8890),Q=a(3472),v=a(1803),j=function(s){return s.FIRST="FIRST",s.ALL="ALL",s}(j||{});const W={dataSource:null,template:v.TS.VERTICAL,groupTemplate:v.TS.VERTICAL,content:null,emptyMessage:"LIST_NO_RESULTS",errorMessage:"LIST_ERROR",errorButtonLabel:"LIST_ERROR_BUTTON",maxLoadMoreRetries:2};var P=a(362);function L(s){return!!s&&s.groupable}var w=a(7967),K=a(8075),Z=a(7879),X=a(9079),U=a(4559),J=a(8004),$=a(9516),q=a(4748),tt=a(5102),et=a(1652),nt=a(680),it=a(8909),ot=a(3648),V=a(6600);let st=(()=>{var s;class u{set storefrontDynamicAttributes(t){var n;t=null!==(n=t)&&void 0!==n?n:{};for(const[i,o]of Object.entries(t))o&&this.el.nativeElement.setAttribute(i,o);for(const i of Object.keys(this.currentAttributes))t[i]||this.el.nativeElement.removeAttribute(i);this.currentAttributes=t}constructor(t){this.el=t,this.currentAttributes={}}}return(s=u).\u0275fac=function(t){return new(t||s)(e.rXU(e.aKT))},s.\u0275dir=e.FsC({type:s,selectors:[["","storefrontDynamicAttributes",""]],inputs:{storefrontDynamicAttributes:"storefrontDynamicAttributes"}}),u})();const rt=["listContent"],lt=["indicator"],at=["childComponent"],O=s=>[s];function ct(s,u){1&s&&e.nrm(0,"div",17,1)}function ut(s,u){if(1&s&&e.nrm(0,"storefront-element",24),2&s){const r=e.XpG().$implicit,t=e.XpG(2);e.Y8G("baseConfig",t.groupHeaderConfig[r])("baseContext",t.groupHeaderContext[r])("dataType",t.getGroupDataType(r))}}function dt(s,u){if(1&s){const r=e.RV6();e.j41(0,"storefront-element",27,2),e.bIt("click",function(n){const i=e.eBV(r).$implicit,o=e.sdS(1),l=e.XpG(4);return e.Njj(l.onClickEntry(o,i,n))})("delete",function(n){e.eBV(r);const i=e.XpG(4);return e.Njj(i.onDeleteEntry(n))}),e.k0s()}if(2&s){const r=u.$implicit,t=u.index,n=e.sdS(1),i=e.XpG(2).index,o=e.XpG(2);e.AVh("no-ripple",!(null!=o.config&&null!=o.config.selection&&o.config.selection.ripple))("selected",o.isSelected(n)),e.Y8G("baseConfig",o.getEntryConfig(r))("baseContext",o.getEntryContext(r,t,i))("dataType",o.getDataType())("matRippleDisabled",!(null!=o.config&&null!=o.config.selection&&o.config.selection.ripple)),e.BMQ("data-entry-index",t)}}function gt(s,u){if(1&s&&(e.j41(0,"div",25)(1,"div",3),e.DNE(2,dt,2,9,"storefront-element",26),e.k0s()()),2&s){const r=e.XpG(),t=r.$implicit,n=r.index,i=e.XpG(2);e.BMQ("template",i.config.groupTemplate)("data-group-index",n),e.R7$(),e.Y8G("storefrontCheckOverflow",i.config.groupTemplate),e.R7$(),e.Y8G("ngForOf",i.slicedGroupData[t])("ngForTrackBy",i.trackBySlicedData)}}function ft(s,u){if(1&s){const r=e.RV6();e.j41(0,"div",28),e.bIt("click",function(){e.eBV(r);const n=e.XpG().$implicit,i=e.XpG(2);return e.Njj(i.toggleGroupedEntriesLength(n))}),e.nrm(1,"span",29)(2,"i",30),e.k0s()}if(2&s){const r=e.XpG().$implicit,t=e.XpG(2);e.AVh("expanded",t.groupedEntriesLength[r]>=t.groupData[r].length),e.R7$(),e.Y8G("storefrontTranslate",t.getExpandCollapseMessage("EXPAND_COLLAPSE_GROUPED_ENTRIES",r))("storefrontTranslateArgs",e.eq3(4,O,t.groupData[r].length-t.getGroupedEntriesConfigLength()))}}function pt(s,u){if(1&s&&(e.j41(0,"div",19),e.DNE(1,ut,1,3,"storefront-element",20)(2,gt,3,5,"div",21),e.j41(3,"div",22),e.DNE(4,ft,3,6,"div",23),e.k0s()()),2&s){const r=u.$implicit,t=e.XpG(2);e.Y8G("storefrontDynamicAttributes",t.groupAttributes&&t.groupAttributes[r]),e.R7$(),e.Y8G("ngIf",t.config&&t.groupHeaderConfig&&t.groupHeaderConfig[r]),e.R7$(),e.Y8G("ngIf",t.slicedGroupData),e.R7$(2),e.Y8G("ngIf",t.showGroupedEntriesExpandToggle(r))}}function ht(s,u){if(1&s&&(e.qex(0),e.DNE(1,pt,5,4,"div",18),e.bVm()),2&s){const r=e.XpG();e.R7$(),e.Y8G("ngForOf",r.slicedGroups)("ngForTrackBy",r.trackBySlicedData)}}function mt(s,u){if(1&s){const r=e.RV6();e.j41(0,"storefront-element",27,2),e.bIt("click",function(n){const i=e.eBV(r).$implicit,o=e.sdS(1),l=e.XpG(2);return e.Njj(l.onClickEntry(o,i,n))})("delete",function(n){e.eBV(r);const i=e.XpG(2);return e.Njj(i.onDeleteEntry(n))}),e.k0s()}if(2&s){const r=u.$implicit,t=u.index,n=e.sdS(1),i=e.XpG(2);e.AVh("no-ripple",!(null!=i.config&&null!=i.config.selection&&i.config.selection.ripple))("selected",i.isSelected(n)),e.Y8G("baseConfig",i.getEntryConfig(r))("baseContext",i.getEntryContext(r,t))("dataType",i.getDataType())("matRippleDisabled",!(null!=i.config&&null!=i.config.selection&&i.config.selection.ripple)),e.BMQ("data-entry-index",t)}}function vt(s,u){if(1&s&&(e.qex(0),e.DNE(1,mt,2,9,"storefront-element",26),e.bVm()),2&s){const r=e.XpG();e.R7$(),e.Y8G("ngForOf",r.slicedData)("ngForTrackBy",r.trackBySlicedData)}}function Ct(s,u){if(1&s&&e.nrm(0,"div",31),2&s){const r=e.XpG();e.Y8G("storefrontTranslate",r.emptyMessage)("storefrontTranslateArgs",r.emptyMessageVariables)}}function bt(s,u){if(1&s){const r=e.RV6();e.j41(0,"div",32),e.nrm(1,"span",29),e.j41(2,"button",33),e.bIt("click",function(){e.eBV(r);const n=e.XpG();return e.Njj(n.reload())}),e.k0s()()}if(2&s){const r=e.XpG();e.R7$(),e.Y8G("storefrontTranslate",r.config.errorMessage)("storefrontTranslateArgs",e.eq3(3,O,r.error.code)),e.R7$(),e.Y8G("storefrontTranslate",r.config.errorButtonLabel)}}function Et(s,u){if(1&s){const r=e.RV6();e.j41(0,"div",34),e.bIt("click",function(){e.eBV(r);const n=e.XpG();return e.Njj(n.toggleEntriesLength())}),e.nrm(1,"span",29)(2,"i",30),e.k0s()}if(2&s){const r=e.XpG();e.AVh("expanded",r.entriesLimit>=(r.groups||r.data).length),e.R7$(),e.Y8G("storefrontTranslate",r.getExpandCollapseMessage("EXPAND_COLLAPSE_ENTRIES"))("storefrontTranslateArgs",e.eq3(4,O,r.data.length-r.getEntriesConfigLength()))}}function yt(s,u){if(1&s){const r=e.RV6();e.j41(0,"button",35),e.bIt("click",function(){e.eBV(r);const n=e.XpG();return e.Njj(n.confirmSelection())}),e.k0s()}if(2&s){const r=e.XpG();e.Y8G("storefrontTranslate",r.getMessage("CONFIRM"))}}function St(s,u){if(1&s){const r=e.RV6();e.j41(0,"button",36),e.bIt("click",function(){e.eBV(r);const n=e.XpG();return e.Njj(n.resetSelection())}),e.k0s()}if(2&s){const r=e.XpG();e.Y8G("storefrontTranslate",r.getMessage("RESET"))}}function Tt(s,u){if(1&s){const r=e.RV6();e.j41(0,"button",37),e.bIt("click",function(){e.eBV(r);const n=e.XpG();return e.Njj(n.selectAll())}),e.k0s()}if(2&s){const r=e.XpG();e.Y8G("storefrontTranslate",r.getMessage("SELECT_ALL"))}}function _t(s,u){if(1&s){const r=e.RV6();e.j41(0,"button",38),e.bIt("click",function(){e.eBV(r);const n=e.XpG();return e.Njj(n.unSelectAll())}),e.k0s()}if(2&s){const r=e.XpG();e.Y8G("storefrontTranslate",r.getMessage("UNSELECT_ALL"))}}function xt(s,u){if(1&s&&(e.j41(0,"div",39)(1,"a",40),e.EFF(2," mehr "),e.k0s()()),2&s){const r=e.XpG();e.R7$(),e.Y8G("href",r.generateUrlWithPageSet(),e.B4B)}}const z="data";let Dt=(()=>{var s;class u extends Q.M{get selectable(){return this.baseConfig.selection}get centered(){return this.baseConfig.centered}get isNotHorizontalList(){return this.template!==v.TS.HORIZONTAL}get paginationSuffix(){var t;return null===(t=this.config)||void 0===t||null===(t=t.pagination)||void 0===t?void 0:t.suffix}get showPaginationButton(){return!!(this.isNotHorizontalList&&this.hasNext&&this.paginationSuffix)}constructor(t,n,i,o,l,c,d,g,C,h,S,b,G,Mt,Nt,Bt){super(i,n,d,g,G),this.store=t,this.elementRef=n,this.injector=i,this.router=o,this.changeDetectorRef=l,this.eventActionService=c,this.contextService=d,this.document=g,this.platformId=C,this.transferState=h,this.ssrService=S,this.purpleService=b,this.globalService=G,this.route=Mt,this.destroyRef=Nt,this.purpleEnv=Bt,this.defaultConfig={...W},this.selectedComponents=[],this.initiallySelectedComponents=[],this.slicedGroupData={},this.entryContextCache={},this.groupedEntriesLength={},this.listenQueryParamsInit=!1}ngOnInit(){this.baseContext.isGhost||(this.store.subscribe((0,_.R)(this.listContent.nativeElement,"scroll",{passive:!0}).pipe((0,R.B)(100)),t=>this.onScroll()),this.store.subscribe((0,k.Ne)(),t=>{this.updatePositionIndicator(this.selectedComponents[0]).then(()=>this.changeDetectorRef.detectChanges())}),this.isNotHorizontalList&&(0,p.UE)(this.platformId)&&this.store.subscribe((0,_.R)(window,F.Zm),t=>{(t.detail.emitter===this.elementRef.nativeElement||t.detail.emitter.contains(this.elementRef.nativeElement))&&this.loadMore()}),super.ngOnInit())}ngAfterViewInit(){this.store.subscribe((0,_.R)(this.listContent.nativeElement,"scroll",{passive:!0}).pipe((0,R.B)(100)),t=>this.onScroll()),this.childComponents.changes.pipe((0,T.Z)(0),(0,X.pQ)(this.destroyRef)).subscribe(t=>this.handleChildren())}handleChildren(){this.childComponents.forEach(t=>{t=t.elementRef.nativeElement})}onScroll(){(0,p.UE)(this.platformId)&&this.isNotHorizontalList&&(0,B.IL)(this.listContent.nativeElement,!0)>y._&&this.loadMore()}loadOnVisible(){var t=this;return(0,f.A)(function*(){(0,p.Vy)(t.platformId)||!t.ssrService.currentPrebootStatus?t.loadAndInit():(t.store.subscribe((0,k.eh)(t,t.elementRef,{skipWait:t.purpleEnv.isUniversal&&!t.ssrService.currentPrebootStatus||t.skipWait}),n=>t.loadAndInit(),D.lQ,D.lQ,"visible"),t.skipWait.subscribe(n=>{n&&(t.store.unsubscribe("visible"),t.loadAndInit())}))})()}onConfigChanges(){var t=this;return(0,f.A)(function*(){t.listenQueryParams();const n=t.getExcludedData();if(null!=n){if((!t.dataSource||t.dataSource.hasConfigChanged(t.config.dataSource))&&(t.dataSource?(t.dataSource.setConfig(t.config.dataSource),t.dataSource.reset()):(t.dataSource=(0,Y.O8)(t.injector,t.config.dataSource,t.elementRef.nativeElement,t.document),n.length>0&&t.dataSource.setExcludedData(n))),t.store.hasSubscription(z)||(t.store.subscribe(t.dataSource.data$,function(){var o=(0,f.A)(function*(l){var c,d,g;t.hasNext=!(null===(c=t.dataSource)||void 0===c||null===(c=c.lastCallMetadata)||void 0===c||!c.hasNextPage||null===(d=t.data)||void 0===d||!d.length)&&(null===(g=t.dataSource)||void 0===g||null===(g=g.lastCallMetadata)||void 0===g?void 0:g.hasNextPage);const C=!t.data||t.data.length&&t.data.every(S=>null===S);t.data=l;const h=!t.data||t.data.length&&t.data.every(S=>null===S);h||t.dataArrived(t.data),t.listEmpty=0===(null==l?void 0:l.length),yield t.setGroupData(),t.updateAllSlicedData(),t.changedEntryContexts(),h||t.changeDetectorRef.detectChanges(),C&&t.loadMoreUntilFilled()});return function(l){return o.apply(this,arguments)}}(),D.lQ,D.lQ,z),t.store.subscribe(t.dataSource.error$,o=>{t.error=o,o&&t.dataArrived([])},D.lQ,D.lQ,"error")),!t.dataSource.hasData())try{t.loadOnVisible()}catch{}var i;t.config.selection&&t.dataSource.hasData()&&(t.elementRef.nativeElement.setAttribute("template",t.config.template),t.setSelectionFromContext()),t.config.emptyMessage&&(t.emptyMessage="string"==typeof t.config.emptyMessage?t.config.emptyMessage:t.config.emptyMessage.message,t.emptyMessageVariables="string"==typeof t.config.emptyMessage?[]:null!==(i=t.config.emptyMessage.variables)&&void 0!==i?i:[]),t.changedEntryContexts(),t.changeDetectorRef.markForCheck()}})()}updateAllSlicedData(){var t,n;if(this.entriesLimit=null!==(t=null!==(n=this.entriesLimit)&&void 0!==n?n:this.getEntriesConfigLength())&&void 0!==t?t:1/0,this.template===v.TS.GROUP){this.slicedGroups=this.groups.slice(0,this.entriesLimit);const o=this.getGroupedEntriesConfigLength();for(const l of this.groups)this.groupedEntriesLength[l]||(this.groupedEntriesLength[l]=o),this.slicedGroupData[l]=this.groupData[l].slice(0,this.groupedEntriesLength[l])}else{var i;this.slicedData=null===(i=this.data)||void 0===i||null===(i=i.slice(0,this.entriesLimit))||void 0===i?void 0:i.filter(o=>(0,m.ru)(this.getEntryConfig(o),this.getEntryContext(o),this.contextService.$functions,this.globalService.getGlobalData()))}}getGroupedEntriesConfigLength(){var t;return null===(t=this.config)||void 0===t||null===(t=t.lengthLimit)||void 0===t?void 0:t.groupedEntries}getEntriesConfigLength(){var t;return null===(t=this.config)||void 0===t||null===(t=t.lengthLimit)||void 0===t?void 0:t.entries}showEntriesExpandToggle(){var t,n,i;return(null===(t=this.config)||void 0===t?void 0:t.template)===v.TS.GROUP?(null===(i=this.groups)||void 0===i?void 0:i.length)>this.getEntriesConfigLength():(null===(n=this.data)||void 0===n?void 0:n.length)>this.getEntriesConfigLength()}showGroupedEntriesExpandToggle(t){var n;return t&&(null===(n=this.groupData[t])||void 0===n?void 0:n.length)>this.getGroupedEntriesConfigLength()}toggleEntriesLength(){var n;this.entriesLimit=void 0===this.entriesLimit||this.entriesLimit<1/0?1/0:this.getEntriesConfigLength(),this.template===v.TS.GROUP?this.slicedGroups=this.groups.slice(0,this.entriesLimit):this.slicedData=null===(n=this.data)||void 0===n||null===(n=n.slice(0,this.entriesLimit))||void 0===n?void 0:n.filter(i=>(0,m.ru)(this.getEntryConfig(i),this.getEntryContext(i),this.contextService.$functions,this.globalService.getGlobalData()))}toggleGroupedEntriesLength(t){void 0===this.groupedEntriesLength[t]||this.groupedEntriesLength[t]<1/0?(this.groupedEntriesLength[t]=1/0,this.slicedGroupData[t]=this.groupData[t]):(this.groupedEntriesLength[t]=this.getGroupedEntriesConfigLength(),this.slicedGroupData[t]=this.groupData[t].slice(0,this.groupedEntriesLength[t]))}changedEntryContexts(t){t?t.forEach(n=>{delete this.entryContextCache[n]}):this.entryContextCache={}}loadMoreUntilFilled(){var t=this;return(0,f.A)(function*(){let n=0,o=t.getElementRef().nativeElement.closest("body, storefront-embeddable-view .content, storefront-modal .modal-content");if(o===t.document.body&&t.document.scrollingElement!==o&&(o=t.document.scrollingElement),o)for(;o.scrollHeight<o.clientHeight&&null!==(l=t.dataSource.lastCallMetadata)&&void 0!==l&&l.hasNextPage;){var l;if(n>=t.config.maxLoadMoreRetries)return void console.warn("loadMore was called ".concat(t.config.maxLoadMoreRetries," times, but screen still isn't filled. Increase List maxLoadMoreRetries or DataSource batchSize"));yield t.loadMore(),n++}})()}loadAndInit(){var t=this;return(0,f.A)(function*(){t.isNotHorizontalList&&t.paginationSuffix?(t.currentPageSet=t.route.snapshot.queryParams["page-set-".concat(t.paginationSuffix)],t.currentPageSet&&(t.dataSource.cursor=t.currentPageSet),yield t.dataSource.loadData({ignoreCursor:!t.currentPageSet})):yield t.dataSource.loadData(),t.paginationSuffix&&(t.currentPageSet=t.dataSource.cursor),t.config.selection&&t.dataSource.hasData()&&(t.elementRef.nativeElement.setAttribute("template",t.config.template),t.setSelectionFromContext(!0))})()}loadMore(){var t=this;return(0,f.A)(function*(){try{yield t.dataSource.loadMore(),t.paginationSuffix&&(t.currentPageSet=t.dataSource.cursor,t.hasNext=!!t.currentPageSet)}catch{}})()}getData(){return this.data}isEmpty(){const t=this.getData();return t&&t.length}getGroups(){return L(this.dataSource)&&this.dataSource.getGroups()}getGroupData(t){return L(this.dataSource)&&this.dataSource.getGroupData(t)}getEntryContext(t,n,i){const o=null==t?void 0:t.id;if(o&&this.entryContextCache[o])return this.entryContextCache[o];let l;if(t){var c;let d=(0,m.uQ)(null!==(c=this.getConfig().dataSource.entryId)&&void 0!==c?c:this.getDataType(),this.context,this.contextService.$functions,this.globalService.getGlobalData());l={...this.context,[this.config&&d]:t,...null!=n?{entryIndex:n}:{},...null!=i?{groupIndex:i}:{}},o&&(this.entryContextCache[o]=l)}else l={...this.context,isGhost:!0,...null!=n?{entryIndex:n}:{},...null!=i?{groupIndex:i}:{}};return l}getGroupEntryContext(t){return{...this.context,[this.config&&this.config.dataSource.type]:t}}getGroupDataType(t){return L(this.dataSource)&&"group"}getGroupHeaderContext(t,n){var i=this;return(0,f.A)(function*(){const o=L(i.dataSource)&&(yield i.dataSource.getGroupHeaderContextData(t,n));return o?{...i.context,group:o}:void 0})()}getGroupHeaderConfig(t){if(this.config.groupHeader&&L(this.dataSource)){var n,i,o;let l={...this.config.groupHeader};return l.condition&&(l=(0,m.uQ)(l,this.groupHeaderContext[t],this.contextService.$functions,this.globalService.getGlobalData()),l=(0,m.v3)(l),!l)?null:null!==(n=null===(i=(o=this.dataSource).getGroupHeaderConfig)||void 0===i?void 0:i.call(o,l,t))&&void 0!==n?n:l}return null}onClickEntry(t,n,i){var o=this;return(0,f.A)(function*(){if(!o.isAnyChildComponentProcessing()&&((o.config.selection||o.baseConfig.tapEntry)&&o.store.dispatch((0,H.k4)({url:window.location.href,key:"".concat(o.getTrackingBaseKey(),"_").concat(t.getChildComponent().getTrackingBaseKey(),"_CLICKED"),params:t.getChildComponent().getTrackingParams()})),o.config.selection&&o.setSelection(t,!0),o.baseConfig.tapEntry)){t.processing=!0,o.changeDetectorRef.detectChanges();const l=(0,m.uQ)(o.baseConfig.tapEntry,o.getEntryContext(n),o.contextService.$functions,o.globalService.getGlobalData(),!1);yield o.eventActionService.processEventAction((0,m.v3)(l),t.getChildComponent(),o),t.processing=!1,o.changeDetectorRef.detectChanges()}})()}isAnyChildComponentProcessing(){return!(!this.childComponents||!this.childComponents.find(t=>t.processing))}setSelectionFromContext(t=!1){var n,i;if(null===(n=this.childComponents)||void 0===n||!n.length)return void(null===(i=this.childComponents)||void 0===i||i.changes.pipe((0,I.p)(c=>c.length>0),(0,A.s)(1),(0,X.pQ)(this.destroyRef)).subscribe(()=>{this.setSelectionFromContext(t)}));const o=this.getDataFromContext();let l=[];if(o)if("string"==typeof o){const c=this.childComponents.find(d=>d.getDataId()===o);c&&l.push(c)}else if("object"==typeof o)if(Array.isArray(o))l=this.childComponents.filter(c=>o.indexOf(c.getDataId())>-1);else{const c=this.childComponents.find(d=>d.getDataId()===o.id);c&&l.push(c)}!l.length&&this.config.selection.init&&(this.config.selection.init===j.ALL?this.config.selection.multi&&(l=this.childComponents.map(c=>c)):this.childComponents.length>0&&l.push(this.childComponents.toArray()[0])),l.length&&this.hasSelectionChanged(l)&&l.forEach(c=>this.setSelection(c,!1,!0)),t&&(this.initiallySelectedComponents=[...l])}setSelection(t,n=!1,i=!1){this.config.selection.multi?(this.isSelected(t)?n&&(this.selectedComponents=this.selectedComponents.filter(o=>o!==t)):this.selectedComponents.push(t),this.config.selection.confirm||this.updateSelection()):(this.selectedComponents=[t],this.config.selection.confirm||this.updatePositionIndicator(t,i?100:0).then(()=>this.updateSelection()),this.template!==v.TS.TABS&&t.scrollIntoView(this.getScrollOptions()))}updatePositionIndicator(t,n=0){var i=this;return(0,f.A)(function*(){return new Promise(o=>{if(i.template===v.TS.TABS){const l=t.elementRef.nativeElement;(0,B.L$)(i.indicator.nativeElement,"transitionend",o),setTimeout(()=>{i.indicator.nativeElement.style.transform="translateX(".concat(l.offsetLeft-1,"px) translateY(").concat(l.offsetTop,"px)"),i.indicator.nativeElement.style.width=l.offsetWidth+1+"px",i.indicator.nativeElement.style.height=l.offsetHeight+"px"},n),setTimeout(o,n+500)}else o()})})()}updateSelection(){var t=this;return(0,f.A)(function*(){const n=t.config.selection.multi?"filter":"find",i=t.selectedComponents.map(o=>o.getDataId())[n](o=>!!o);t.config.selection.paramScope===E.x.USER_ATTRIBUTE?t.contextService.setUserAttribute(t.config.selection.param,i):(0,K.CV)(t.router,{[t.config.selection.param]:i})})()}getScrollOptions(){return{behavior:"smooth",axis:this.template===v.TS.HORIZONTAL?"horiz":void 0,padding:!0}}onDeleteEntry(t){const n=null==t?void 0:t.id;n&&this.entryContextCache[n]&&delete this.entryContextCache[n],this.dataSource.update()}reload(){(0,p.UE)(this.platformId)&&window.location.reload()}isSelected(t){return this.selectedComponents.indexOf(t)>-1}confirmSelection(){var t=this;return(0,f.A)(function*(){yield t.updateSelection(),t.eventActionService.processEventAction((0,m.v3)((0,m.uQ)(t.config.selection.confirm.action,t.context,t.contextService.$functions,t.globalService.getGlobalData())),t)})()}resetSelection(){this.selectedComponents=[...this.initiallySelectedComponents],this.config.selection.confirm||this.updateSelection()}unSelectAll(){this.selectedComponents=[],this.config.selection.confirm||this.updateSelection()}selectAll(){this.selectedComponents=this.childComponents.toArray(),this.config.selection.confirm||this.updateSelection()}setGroupData(){var t=this;return(0,f.A)(function*(){if(L(t.dataSource)&&t.template===v.TS.GROUP){const n=t.getGroups();if(P(t.groups,n)||(t.groups=n),t.groupData?(Object.keys(t.groupData).forEach(i=>{t.groups.indexOf(i)<0&&delete t.groupData[i]}),t.groups.forEach(i=>{const o=t.getGroupData(i);P(o,t.groupData[i])||(t.groupData[i]=o)})):t.groupData=t.groups.reduce((i,o)=>({...i,[o]:t.getGroupData(o)}),{}),t.config.groupHeader){const i=yield Promise.all(t.groups.map(function(){var l=(0,f.A)(function*(c){return[c,yield t.getGroupHeaderContext(c,t.groupData[c])]});return function(c){return l.apply(this,arguments)}}()));if(!P(t.groups,n))return;t.groups=t.groups.filter(l=>i.some(([c,d])=>c===l&&!!d));const o={};for(const[l,c]of i)o[l]=c;if(t.groupHeaderContext=o,t.groupHeaderConfig=t.groups.reduce((l,c)=>({...l,[c]:t.getGroupHeaderConfig(c)}),{}),t.config.groupAttributes){t.groupAttributes={};for(const[l,c]of Object.entries(o)){const d=(0,m.uQ)({...t.config.groupAttributes},c,t.contextService.$functions,t.globalService.getGlobalData(),!1);for(const g of Object.keys(d))null!=d[g]&&(d[g]=(0,m.v3)(d[g]));t.groupAttributes[l]=d}}}}})()}getMessage(t){switch(t){case"CONFIRM":return this.config.selection.confirm.message||"LIST_ACTION_CONFIRM";case"RESET":return"string"==typeof this.config.selection.reset?this.config.selection.reset:"LIST_ACTION_RESET";case"SELECT_ALL":return"string"==typeof this.config.selection.selectAll?this.config.selection.selectAll:"LIST_ACTION_SELECT_ALL";case"UNSELECT_ALL":return"string"==typeof this.config.selection.unSelectAll?this.config.selection.unSelectAll:"LIST_ACTION_UNSELECT_ALL"}}getExpandCollapseMessage(t,n){function i(b,G){return"string"==typeof b?b:(0,w.t)(b,G)}if("EXPAND_COLLAPSE_ENTRIES"===t){const b=(this.template===v.TS.GROUP?this.groups:this.data).length-this.getEntriesConfigLength();var o,l,c,d;return i(void 0!==this.entriesLimit&&this.entriesLimit<1/0?null!==(o=null===(l=this.config.lengthLimit)||void 0===l?void 0:l.entriesExpandMessage)&&void 0!==o?o:{singular:"LIST_ENTRY_TOGGLE_EXPAND",plural:"LIST_ENTRIES_TOGGLE_EXPAND"}:null!==(c=null===(d=this.config.lengthLimit)||void 0===d?void 0:d.entriesCollapseMessage)&&void 0!==c?c:{singular:"LIST_ENTRY_TOGGLE_COLLAPSE",plural:"LIST_ENTRIES_TOGGLE_COLLAPSE"},b)}{const b=this.groupData[n].length-this.getGroupedEntriesConfigLength();var g,C,h,S;return i(void 0!==this.groupedEntriesLength[n]&&this.groupedEntriesLength[n]<1/0?null!==(g=null===(C=this.config.lengthLimit)||void 0===C?void 0:C.groupedEntriesExpandMessage)&&void 0!==g?g:{singular:"LIST_GROUPED_ENTRY_TOGGLE_EXPAND",plural:"LIST_GROUPED_ENTRIES_TOGGLE_EXPAND"}:null!==(h=null===(S=this.config.lengthLimit)||void 0===S?void 0:S.groupedEntriesCollapseMessage)&&void 0!==h?h:{singular:"LIST_GROUPED_ENTRY_TOGGLE_COLLAPSE",plural:"LIST_GROUPED_ENTRIES_TOGGLE_COLLAPSE"},b)}}hasSelectionChanged(t){return this.selectedComponents.length!==t.length||this.selectedComponents.find((n,i)=>n!==t[i])}isSelectionEnabled(){return this.config&&!!this.config.selection}getParam(){return this.config&&this.config.selection&&this.config.selection.param}getSelectionScope(){return this.config&&this.config.selection&&this.config.selection.paramScope}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),"groupHeader","groupAttributes","tapEntry"]}trackBySlicedData(t,n){var i,o,l,c,d,g,C,h;return"string"!=typeof n&&n?null!==(i=null!==(o=null!==(l=null!==(c=null==n?void 0:n.id)&&void 0!==c?c:null==n||null===(d=n.issue)||void 0===d?void 0:d.id)&&void 0!==l?l:null==n||null===(g=n.post)||void 0===g?void 0:g.id)&&void 0!==o?o:null==n||null===(C=n.bundle)||void 0===C?void 0:C.id)&&void 0!==i?i:null==n||null===(h=n.ad)||void 0===h?void 0:h.id:n}generateUrlWithPageSet(){const t="page-set-".concat(this.paginationSuffix),n={...this.route.snapshot.queryParams,[t]:this.currentPageSet};return this.router.createUrlTree([],{relativeTo:this.route,queryParams:n}).toString()}listenQueryParams(){(0,p.UE)(this.platformId)&&this.isNotHorizontalList&&this.paginationSuffix&&!this.listenQueryParamsInit&&(this.listenQueryParamsInit=!0,this.route.queryParams.subscribe(t=>{!t["page-set-".concat(this.paginationSuffix)]&&this.currentPageSet&&(this.currentPageSet="",this.loadAndInit())}))}}return(s=u).type="list",s.\u0275fac=function(t){return new(t||s)(e.rXU(N.B),e.rXU(e.aKT),e.rXU(e.zZn),e.rXU(U.Ix),e.rXU(e.gRc),e.rXU(J.G),e.rXU($.V),e.rXU(p.qQ),e.rXU(e.Agw),e.rXU(e.pJN),e.rXU(q.i),e.rXU(tt.Wj),e.rXU(et.d),e.rXU(U.nX),e.rXU(e.abz),e.rXU(Z.r6))},s.\u0275cmp=e.VBU({type:s,selectors:[["storefront-list"]],viewQuery:function(t,n){if(1&t&&(e.GBs(rt,7,e.aKT),e.GBs(lt,5,e.aKT),e.GBs(at,5)),2&t){let i;e.mGM(i=e.lsd())&&(n.listContent=i.first),e.mGM(i=e.lsd())&&(n.indicator=i.first),e.mGM(i=e.lsd())&&(n.childComponents=i)}},hostVars:6,hostBindings:function(t,n){2&t&&e.AVh("selectable",n.selectable)("centered",n.centered)("list-empty",n.listEmpty)},inputs:{baseConfig:"baseConfig"},features:[e.Jv_([N.B]),e.Vt3],decls:15,vars:14,consts:[["listContent",""],["indicator",""],["childComponent",""],[1,"list-content",3,"storefrontCheckOverflow"],[3,"ngSwitch"],["class","list-position-indicator",4,"ngIf"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","list-no-results",3,"storefrontTranslate","storefrontTranslateArgs",4,"ngIf"],["class","list-error",4,"ngIf"],[1,"list-actions"],["class","action-button list-entries-expand-toggle",3,"expanded","click",4,"ngIf"],["mat-ripple","","class","action-button list-selection-confirm",3,"storefrontTranslate","click",4,"ngIf"],["mat-ripple","","class","action-button list-selection-reset",3,"storefrontTranslate","click",4,"ngIf"],["mat-ripple","","class","action-button list-selection-select-all",3,"storefrontTranslate","click",4,"ngIf"],["mat-ripple","","class","action-button list-selection-unselect-all",3,"storefrontTranslate","click",4,"ngIf"],["class","list-pagination-btns",4,"ngIf"],[1,"list-position-indicator"],["class","list-group",3,"storefrontDynamicAttributes",4,"ngFor","ngForOf","ngForTrackBy"],[1,"list-group",3,"storefrontDynamicAttributes"],["class","list-group-header",3,"baseConfig","baseContext","dataType",4,"ngIf"],["class","list-group-entries",4,"ngIf"],[1,"list-group-actions"],["class","action-button list-grouped-entries-expand-toggle",3,"expanded","click",4,"ngIf"],[1,"list-group-header",3,"baseConfig","baseContext","dataType"],[1,"list-group-entries"],["class","list-entry","mat-ripple","",3,"no-ripple","baseConfig","baseContext","dataType","selected","matRippleDisabled","click","delete",4,"ngFor","ngForOf","ngForTrackBy"],["mat-ripple","",1,"list-entry",3,"click","delete","baseConfig","baseContext","dataType","matRippleDisabled"],[1,"action-button","list-grouped-entries-expand-toggle",3,"click"],[3,"storefrontTranslate","storefrontTranslateArgs"],[1,"icon","icon-arrow-down"],[1,"list-no-results",3,"storefrontTranslate","storefrontTranslateArgs"],[1,"list-error"],["mat-ripple","",1,"action-button",3,"click","storefrontTranslate"],[1,"action-button","list-entries-expand-toggle",3,"click"],["mat-ripple","",1,"action-button","list-selection-confirm",3,"click","storefrontTranslate"],["mat-ripple","",1,"action-button","list-selection-reset",3,"click","storefrontTranslate"],["mat-ripple","",1,"action-button","list-selection-select-all",3,"click","storefrontTranslate"],["mat-ripple","",1,"action-button","list-selection-unselect-all",3,"click","storefrontTranslate"],[1,"list-pagination-btns"],["type","button","rel","next","aria-label","mehr",3,"href"]],template:function(t,n){1&t&&(e.j41(0,"div",3,0),e.qex(2,4),e.DNE(3,ct,2,0,"div",5)(4,ht,2,2,"ng-container",6)(5,vt,2,2,"ng-container",7),e.bVm(),e.DNE(6,Ct,1,2,"div",8)(7,bt,3,5,"div",9),e.k0s(),e.j41(8,"div",10),e.DNE(9,Et,3,6,"div",11)(10,yt,1,1,"button",12)(11,St,1,1,"button",13)(12,Tt,1,1,"button",14)(13,_t,1,1,"button",15),e.k0s(),e.DNE(14,xt,3,1,"div",16)),2&t&&(e.AVh("processing",n.isAnyChildComponentProcessing()),e.Y8G("storefrontCheckOverflow",n.template),e.R7$(2),e.Y8G("ngSwitch",n.template),e.R7$(),e.Y8G("ngIf","tabs"===n.template),e.R7$(),e.Y8G("ngSwitchCase","group"),e.R7$(2),e.Y8G("ngIf",!n.error&&n.getData()&&!n.getData().length),e.R7$(),e.Y8G("ngIf",n.error&&n.config),e.R7$(2),e.Y8G("ngIf",n.showEntriesExpandToggle()),e.R7$(),e.Y8G("ngIf",n.config&&n.config.selection&&n.config.selection.confirm),e.R7$(),e.Y8G("ngIf",n.config&&n.config.selection&&n.config.selection.reset),e.R7$(),e.Y8G("ngIf",n.config&&n.config.selection&&n.config.selection.selectAll),e.R7$(),e.Y8G("ngIf",n.config&&n.config.selection&&n.config.selection.unSelectAll),e.R7$(),e.Y8G("ngIf",n.showPaginationButton))},dependencies:[p.Sq,p.bT,p.ux,p.e1,p.fG,nt.G,it.M,ot._,V.r6,st],styles:['storefront-list{width:100%;position:relative;overflow-x:hidden;display:block}storefront-list>.list-content{display:flex;flex-direction:row;padding:var(--listPadding)}storefront-list .list-content.processing .list-entry:after{position:absolute;content:"";width:100%;height:100%;top:0;left:0;pointer-events:all}storefront-list[template=vertical]>.list-content,storefront-list .list-group-entries[template=vertical]>.list-content{flex-direction:column}storefront-list[template=vertical]>.list-content>.list-entry:not(:last-child),storefront-list .list-group-entries[template=vertical]>.list-content>.list-entry:not(:last-child){margin-bottom:var(--listItemGutter)}storefront-list[template=horizontal]>.list-content,storefront-list .list-group-entries[template=horizontal]>.list-content{overflow-x:auto}storefront-list[template=horizontal]>.list-content>.list-entry,storefront-list .list-group-entries[template=horizontal]>.list-content>.list-entry{margin-right:var(--listItemGutter);flex-shrink:0}storefront-list[template=horizontal]>.list-content>.list-entry:last-child,storefront-list .list-group-entries[template=horizontal]>.list-content>.list-entry:last-child{margin-right:0}storefront-list[template=horizontal].centered>.list-content>.list-entry:first-child,storefront-list .list-group-entries[template=horizontal].centered>.list-content>.list-entry:first-child{margin-left:auto}storefront-list[template=horizontal].centered>.list-content>.list-entry:last-child,storefront-list .list-group-entries[template=horizontal].centered>.list-content>.list-entry:last-child{margin-right:auto}storefront-list[template=horizontal].scrollable-horiz:after,storefront-list[template=horizontal].scrollable-horiz:before,storefront-list .list-group-entries[template=horizontal].scrollable-horiz:after,storefront-list .list-group-entries[template=horizontal].scrollable-horiz:before{top:0;position:absolute;content:"";height:100%;width:calc(2 * var(--listPaddingHoriz));z-index:3;opacity:0;pointer-events:none;background-color:inherit}storefront-list[template=horizontal].scrollable-horiz>.list-content:after,storefront-list .list-group-entries[template=horizontal].scrollable-horiz>.list-content:after{content:"";flex:0 0 var(--listPaddingHoriz)}storefront-list[template=horizontal].scrollable-right:after,storefront-list .list-group-entries[template=horizontal].scrollable-right:after{right:-1px;opacity:1;-webkit-mask-image:linear-gradient(to left,black 0%,black 25%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(to left,#000,#000 25%,#0000)}storefront-list[template=horizontal].scrollable-left:before,storefront-list .list-group-entries[template=horizontal].scrollable-left:before{left:-1px;opacity:1;-webkit-mask-image:linear-gradient(to right,black 0%,black 25%,rgba(0,0,0,0) 100%);mask-image:linear-gradient(to right,#000,#000 25%,#0000)}storefront-list[template=grid]>.list-content,storefront-list .list-group-entries[template=grid]>.list-content{display:grid;grid-template-columns:repeat(var(--gridListColumns),minmax(0,1fr));grid-column-gap:var(--listItemGutter);grid-row-gap:var(--listItemGutter)}storefront-list[template=grid]>.list-content>.list-no-results,storefront-list[template=grid]>.list-content>.list-error,storefront-list .list-group-entries[template=grid]>.list-content>.list-no-results,storefront-list .list-group-entries[template=grid]>.list-content>.list-error{grid-column:1/calc(var(--gridListColumns) + 1)}storefront-list[template=group]>.list-content{flex-direction:column}storefront-list[template=group]>.list-content>.list-group>.list-group-header{width:100%}storefront-list[template=group]>.list-content>.list-group>.list-group-entries>.list-content{display:flex;flex-direction:row;padding:var(--listPadding) 0}storefront-list[template=group]>.list-content>.list-group .list-group-entries[template=vertical]>.list-content{flex-direction:column}storefront-list[template=group]>.list-content>.list-group>.list-group-actions>.list-grouped-entries-expand-toggle>.icon{font-size:.9em;margin-left:.5em}storefront-list[template=group]>.list-content>.list-group>.list-group-actions>.list-grouped-entries-expand-toggle.expanded>.icon:after{transform:rotate(-90deg)}storefront-list[template=tabs],storefront-list .list-group-entries[template=tabs]{display:flex;width:auto}storefront-list[template=tabs].centered,storefront-list .list-group-entries[template=tabs].centered{justify-content:center}storefront-list[template=tabs]>.list-content,storefront-list .list-group-entries[template=tabs]>.list-content{border-radius:var(--listTabBorderRadius);padding:0;flex-wrap:wrap}storefront-list[template=tabs]>.list-content:after,storefront-list .list-group-entries[template=tabs]>.list-content:after{content:"";position:absolute;border:var(--listTabBorderWidth) solid var(--listTabHighlightColor);width:calc(100% - 2 * var(--listTabBorderWidth));height:calc(100% - 2 * var(--listTabBorderWidth));border-radius:var(--listTabBorderRadius);pointer-events:none;transform:translateZ(0)}storefront-list[template=tabs]>.list-content .list-position-indicator,storefront-list .list-group-entries[template=tabs]>.list-content .list-position-indicator{position:absolute;background-color:var(--listTabHighlightColor);transition:transform .1s ease}storefront-list[template=tabs]>.list-content>.list-entry,storefront-list .list-group-entries[template=tabs]>.list-content>.list-entry{padding:var(--gutter);transition:background-color .2s ease;height:calc(100% - var(--listTabBorderWidth))}storefront-list[template=tabs]>.list-content>.list-entry.selected,storefront-list .list-group-entries[template=tabs]>.list-content>.list-entry.selected{color:var(--listTabHighlightTextColor);transition:color .1s 50ms ease}storefront-list[template=tabs]>.list-content>.list-entry:not(:last-child),storefront-list .list-group-entries[template=tabs]>.list-content>.list-entry:not(:last-child){border-right:var(--listTabBorderWidth) solid var(--listTabHighlightColor)}storefront-list .list-error button.action-button{margin:0 8px;background-color:var(--secondaryColor);color:#fff}storefront-list:has(.list-pagination-btns){padding-bottom:25px}storefront-list .list-pagination-btns{position:absolute;bottom:5px;left:50%;z-index:1}storefront-list .list-pagination-btns a{cursor:pointer}\n'],encapsulation:2,changeDetection:0}),u})();var Lt=a(6218),Gt=a(8301),At=a(6483),Rt=a(6895);let It=(()=>{var s;class u{}return(s=u).\u0275fac=function(t){return new(t||s)},s.\u0275mod=e.$C({type:s}),s.\u0275inj=e.G2t({imports:[p.MD]}),u})(),Pt=(()=>{var s;class u{}return(s=u).\u0275fac=function(t){return new(t||s)},s.\u0275mod=e.$C({type:s}),s.\u0275inj=e.G2t({imports:[p.MD,Lt.SectionModule,Gt.d,At.h,Rt.r,V.pZ,It]}),u})();const Ot=Dt},9758:(M,x,a)=>{a.d(x,{x:()=>p});var p=function(f){return f.URL="URL",f.USER_ATTRIBUTE="USER_ATTRIBUTE",f}(p||{})}}]);