@pronto-tools-and-more/files 12.46.0 → 12.48.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.
- package/files/framework-latest/src/default/storefront/buildInfo.json +3 -3
- package/files/framework-latest/src/default/storefront/index.html +1 -1
- package/files/framework-latest/src/default/storefront/modules/common.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_html_html_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_section_section_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/main.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_component_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_iframe_iframe_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_product_product_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_recommendations_recommendations_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_subscription_subscription_module_ts.js +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_ad_ad_module_ts"],{6278:(B,I,a)=>{a.r(I),a.d(I,{AdModule:()=>Xe,component:()=>$e});var f=a(177),d=a(467),A=a(9379),e=a(4438),y=a(1210),C=a(9692),h=a(8251),T=a(4945),M=a(6843),V=a(1184),O=a(610),H=a(1803);const X={adId:null};var U=a(2932),D=a(8890),m=a(7370),E=a(3178),u=a(5964),c=a(6697),l=a(4412),v=a(4572),S=a(7673),x=a(8179),b=a(8582),R=a(9516),L=a(2596),G=a(3331),Z=a(345),Q=a(8340),J=a(7816);class w extends J.Q{getAdConfig(){var o;return null===(o=this.data)||void 0===o?void 0:o.configuration}}class F extends Q.U{}class q extends w{constructor(o){super("Audienzz Ads",o),this.data=o}createInstance(){return new ee(this)}canRunWithoutConsent(){return!0}isValidConfiguration(){const o=this.getAdConfig();return!!(null!=o&&o.adTagId&&null!=o&&o.headerScriptId&&null!=o&&o.headerScriptUrl)}}class ee extends F{constructor(o){super(o),this.config=o}adjustDocument(){var o=this;return(0,d.A)(function*(){return new Promise((n,t)=>{document.head.appendChild(o.createScript(n,t))})})()}showAd(o,n,t,r){const p=this.createAdElement(n.providerConfig);t.parentNode.appendChild(p),r&&r()}removeAd(o){const n=document.getElementById("".concat(o));n&&n.remove()}createAdElement(o){const n=document.createElement("div");return n.id="".concat(o.id),n}createScript(o,n){const t=this.getConfig().getAdConfig(),r=document.createElement("script");return r.id=t.headerScriptId,r.src="".concat(t.headerScriptUrl,"?adTagId=").concat(t.adTagId),r.setAttribute("defer","defer"),r.onload=()=>{console.debug("[".concat(this.getDisplayName(),"] Script loaded successfully")),o()},r.onerror=s=>{console.error("[".concat(this.getDisplayName(),"] Failed to load script:"),s),n(s)},r}}class te extends w{constructor(){super("NoopAdService",{})}createInstance(){return new k}isValidConfiguration(){return!0}}class k extends F{constructor(){super(new te)}adjustDocument(){return Promise.resolve()}showAd(){}removeAd(){}}var ie=a(7879),ne=a(953),Y=a(6078);let re=(()=>{var i;class o{constructor(t,r,s,p){this.platformId=t,this.pxpConfig=r,this.pluginService=s,this.consentService=p,this.activePlugin=new k,this.initPromise=this.initializeAdPlugin()}showAd(t,r,s,p){var g=this;return(0,d.A)(function*(){yield g.initPromise;try{g.activePlugin.showAd(t,r,s,p)}catch(_){console.error("Failed to show plugin ad: ".concat(_))}})()}removeAd(t){var r=this;return(0,d.A)(function*(){yield r.initPromise;try{r.activePlugin.removeAd(t)}catch(s){console.error("Failed to remove plugin ad: ".concat(s))}})()}initializeAdPlugin(){var t=this;return(0,d.A)(function*(){var r;if(!(0,f.UE)(t.platformId))return;yield t.pluginService.init$,yield t.consentService.init$;const s=t.pxpConfig,p=null==s||null===(r=s.purple)||void 0===r?void 0:r.ads;let g;null!=p&&p.audienzz&&(t.pluginConfig=new q(p.audienzz),g=t.consentService.canRunPlugin(t.pluginConfig)&&t.pluginService.loadPlugin(t.pluginConfig)),g&&(t.activePlugin=g)})()}}return(i=o).\u0275fac=function(t){return new(t||i)(e.KVO(e.Agw),e.KVO(ie.Wp),e.KVO(ne.z),e.KVO(Y.e))},i.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),o})();var oe=a(8482),ae=a(1652),se=a(4748),le=a(5927),de=a(3726),ce=a(152);let K=(()=>{var i;class o{constructor(t,r,s){this.el=t,this.ngZone=r,this.platformId=s,this.pixelsLeftToScroll=600,this.elementVisible=new e.bkB,this.isVisible=!1}ngAfterViewInit(){(0,f.UE)(this.platformId)&&this.ngZone.runOutsideAngular(()=>{this.scrollSubscription=(0,de.R)(window,"scroll",{passive:!0}).pipe((0,ce.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(),r=window.innerHeight;t.top<=r+this.pixelsLeftToScroll&&this.ngZone.run(()=>{this.isVisible=!0,this.elementVisible.emit(!0)})}}}return(i=o).\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"},standalone:!1}),o})();var N=a(3647);const ge=["stickyLink"],pe=["adContainer"];function fe(i,o){if(1&i&&(e.qex(0),e.nrm(1,"div",6),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("id",n.uuid)}}function ue(i,o){if(1&i&&e.nrm(0,"iframe",8),2&i){const n=e.XpG(3);e.Y8G("src",n.safeIframeUrl,e.f$h)}}function me(i,o){if(1&i&&(e.qex(0),e.DNE(1,ue,1,1,"iframe",7),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",n.safeIframeUrl)}}function he(i,o){if(1&i){const n=e.RV6();e.qex(0),e.j41(1,"div",9),e.bIt("elementVisible",function(r){e.eBV(n);const s=e.XpG(3);return e.Njj(s.onVisible(r))}),e.k0s(),e.bVm()}if(2&i){const n=e.XpG(2).ngIf;e.R7$(),e.HbH(n.class),e.Y8G("id",n.id)}}function ve(i,o){if(1&i&&(e.qex(0),e.DNE(1,he,2,3,"ng-container",2),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",!n.isDynamicAd)}}function _e(i,o){1&i&&e.eu8(0)}function ye(i,o){if(1&i&&e.nrm(0,"storefront-image",14),2&i){const n=e.XpG(4);e.Y8G("height",n.getImageHeight())("src",n.getImageSrc())}}function Ae(i,o){if(1&i&&(e.j41(0,"a",13),e.nI1(1,"sanitizeUrl"),e.DNE(2,ye,1,2,"storefront-image",12),e.k0s()),2&i){const n=e.XpG(3);e.Y8G("href",e.bMT(1,3,n.getHref()),e.B4B)("target",n.target),e.R7$(2),e.Y8G("ngIf",n.getImageSrc())}}function Ce(i,o){if(1&i&&e.nrm(0,"storefront-image",14),2&i){const n=e.XpG(3);e.Y8G("height",n.getImageHeight())("src",n.getImageSrc(!0))}}function xe(i,o){if(1&i&&(e.qex(0),e.DNE(1,Ae,3,5,"a",10),e.j41(2,"a",11,1),e.nI1(4,"sanitizeUrl"),e.DNE(5,Ce,1,2,"storefront-image",12),e.k0s(),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",n.ad),e.R7$(),e.Y8G("href",e.bMT(4,4,n.getHref()),e.B4B)("target",n.target),e.R7$(3),e.Y8G("ngIf",n.getImageSrc(!0))}}function Se(i,o){if(1&i&&(e.qex(0,null,0)(2,3),e.DNE(3,fe,2,1,"ng-container",4)(4,me,2,1,"ng-container",4)(5,ve,2,1,"ng-container",4)(6,_e,1,0,"ng-container",4)(7,xe,6,6,"ng-container",5),e.bVm()()),2&i){const n=o.ngIf;e.R7$(2),e.Y8G("ngSwitch",n.type),e.R7$(),e.Y8G("ngSwitchCase","GPT"),e.R7$(),e.Y8G("ngSwitchCase","HTML"),e.R7$(),e.Y8G("ngSwitchCase","TRAFFECTIVE"),e.R7$(),e.Y8G("ngSwitchCase","AUDIENZZ")}}let j=(()=>{var i;class o extends y.${get adType(){var t;return null===(t=this.ad)||void 0===t?void 0:t.providerConfig.type}get regularAdType(){return this.domHelper.regularSelector(this.adType)}get prefixedAdType(){return this.domHelper.prefixedSelector(this.adType)}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,O.k4)({url:window.location.href,key:"AD_STICKY_CLICKED",params:this.getTrackingParams()})):this.store.dispatch((0,O.k4)({url:window.location.href,key:"AD_CLICKED",params:this.getTrackingParams()}));const r=this.getHref();if(r.startsWith("#"))return this.router.navigateByUrl(r.substring(1)),t.preventDefault(),!1}constructor(t,r,s,p,g,_,P,z,$,we,W,Fe,ke,Ye,Ke){super(s,t,p,z,W),this.elementRef=t,this.store=r,this.injector=s,this.contextService=p,this.googleAdService=g,this.router=_,this.sanitizer=P,this.document=z,this.adService=$,this.traffectiveAdService=we,this.globalService=W,this.consentService=Fe,this.ssrService=ke,this.ngZone=Ye,this.domHelper=Ke,this.load=new e.bkB,this.loaded=!1,this.adVisible$=new l.t(!1),this.defaultConfig=(0,A.A)({},X)}ngOnDestroy(){super.ngOnDestroy(),this.ad&&this.loaded&&this.ad.providerConfig.type===C.P.GPT&&this.googleAdService.removeAd(this.uuid)}rebuildContextKeys(){super.rebuildContextKeys();const t=this.getAdConfig(this.baseConfig);null!=t&&t.providerConfig&&(0,V.Fl)(t.providerConfig,this.contextKeys)}onConfigChanges(){var t=this;return(0,d.A)(function*(){var r;const s=t.getAdConfig(t.config);if(s&&s.providerConfig){if(s.providerConfig){const _=(0,x.uQ)((0,A.A)((0,A.A)({},s.providerConfig),{},{targeting:null}),t.contextService.getContext(),t.contextService.$functions,t.globalService.getGlobalData());if(!(0,x.ZY)(_))return void(t.config=null)}var p;if(s.providerConfig.type==C.P.TRAFFECTIVE&&(0,f.UE)(t.platformId)&&(yield t.consentService.init$,null===(p=t.traffectiveAdService)||void 0===p||!p.hasConsent()))return;t.ad=s,t.changeDetectorRef.detectChanges(),void 0===t.config.isLazy||t.config.isLazy?t.store.subscribe((0,D.eh)(t,t.elementRef,{skipWait:(0,f.Vy)(t.platformId)}),_=>{t.initAd()},E.lQ,E.lQ,"visible"):t.initAd()}else t.config.adId&&(s?s.providerConfig||console.warn("No provider config found for id ".concat(s.id,". Please migrate the ad configuration")):console.warn("No ad found for id ".concat(t.config.adId)));if("HTML"===(null===(r=t.ad)||void 0===r?void 0:r.providerConfig.type)){var g;const _=null===(g=t.ad)||void 0===g||null===(g=g.providerConfig)||void 0===g?void 0:g.url;_!==t.iframeUrl&&(t.iframeUrl=_,t.safeIframeUrl=t.sanitizer.bypassSecurityTrustResourceUrl(t.contextService.toResourceUrl(_)))}t.target=t.getTarget()})()}getAdConfig(t){let r=null;return t&&(t.adId?this.store.select((0,T.jZ)(M.O.AD),s=>{r=s.adSlots.find(p=>p.id===t.adId)}):t.ad&&(r=t.ad)),r}initAd(){var t;if(this.loaded=!0,(null===(t=window.storefrontHooks)||void 0===t||!t.isAdDisabled||!window.storefrontHooks.isAdDisabled(this.ad.id))&&(0,f.UE)(this.platformId))switch(this.ad.providerConfig.type){case C.P.GPT:this.initGpt();break;case C.P.TRAFFECTIVE:this.initTraffective();break;case C.P.AUDIENZZ:this.initPluginAd();break;default:return this.target=this.getTarget(),void this.load.emit()}}initGpt(){var t=this;return(0,d.A)(function*(){const r=(0,x.uQ)((0,A.A)((0,A.A)({},t.ad.providerConfig),{},{targeting:null}),t.contextService.getContext(),t.contextService.$functions,t.globalService.getGlobalData());r.targeting=t.mergeTargeting(t.ad.providerConfig.targeting),t.uuid="div-gpt-"+(r.fixedId?t.ad.id:(0,b.l)()),t.changeDetectorRef.detectChanges();let s=null;r.sizeMapping&&t.store.select((0,T.jZ)(M.O.AD),p=>{const g=p.adSlots.find(_=>_.id===r.sizeMapping);g&&g.providerConfig&&"SIZEMAPPING"===g.providerConfig.type&&(s=g.providerConfig)}),t.googleAdService.showAd(t.uuid,r,s,t.elementRef.nativeElement,()=>{t.load.emit(),t.resizeGoogleAd()},()=>t.resizeGoogleAd()),t.store.subscribe((0,D.Ne)(),()=>t.resizeGoogleAd())})()}initTraffective(){var t=this;return(0,d.A)(function*(){if(t.ad.providerConfig){var r;const{id:s,class:p}=t.ad.providerConfig;t.isDynamicAd="Floor"==p||"Mobile_Sticky"==p,(0,v.z)([null===(r=t.traffectiveAdService)||void 0===r?void 0:r.isTRFConfigReady$.pipe((0,u.p)(g=>g),(0,c.s)(1)),t.isDynamicAd?(0,S.of)(!0):t.adVisible$.pipe((0,u.p)(g=>g),(0,c.s)(1))]).subscribe(()=>{var g;if(!(0,f.Vy)(t.platformId)&&null!==(g=window)&&void 0!==g&&g.traffective)try{t.ssrService.prebootCompleted$.subscribe(()=>{t.ngZone.runOutsideAngular(t.isDynamicAd?()=>{window.traffective.refreshBottomSticky(p,s)}:()=>{window.traffective.refreshSlot(p,s)})})}catch(_){console.warn("Error with traffective refresh slot",_)}})}})()}mergeTargeting(t){let r=null;if(t||this.config.targeting){r=[];let s=new Map;this.evaluateTargeting(t,s),this.evaluateTargeting(this.config.targeting,s),s.forEach((p,g)=>{r.push({key:g,value:p})})}return r}evaluateTargeting(t,r){t&&t.forEach(s=>{const p=(0,x.uQ)(s.key,this.contextService.getContext(),this.contextService.$functions,this.globalService.getGlobalData(),!1);if(p&&""!==p){let g=r.get(p);g||(g=[]),(Array.isArray(s.value)?s.value:[s.value]).forEach(_=>{let P=(0,x.uQ)(_,this.contextService.getContext(),this.contextService.$functions,this.globalService.getGlobalData(),!1);if(s.multiValue){let z=P.split(",").filter($=>""!==$);g.concat(z)}else P&&""!==P&&g.push(P)}),g.length>0&&r.set(p,g)}})}resizeGoogleAd(){}getImageHeight(){return this.config.imageHeight||U.q.AUTO}getImageSrc(t=!1){const r=this.ad&&this.ad.providerConfig;return r&&(0,V.rv)(t&&r.stickyImage||r.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)}initPluginAd(){var t=this;return(0,d.A)(function*(){t.adContainer&&t.adService.showAd(null,t.ad,t.adContainer.nativeElement,()=>t.load.emit())})()}getTarget(){return(0,m.tb)(this.getHref())?H.We.BLANK:H.We.SELF}}return(i=o).type="ad",i.\u0275fac=function(t){return new(t||i)(e.rXU(e.aKT),e.rXU(h.B),e.rXU(e.zZn),e.rXU(R.V),e.rXU(L.s),e.rXU(G.Ix),e.rXU(Z.up),e.rXU(f.qQ),e.rXU(re),e.rXU(oe.y),e.rXU(ae.d),e.rXU(Y.e),e.rXU(se.i),e.rXU(e.SKi),e.rXU(le.S))},i.\u0275cmp=e.VBU({type:i,selectors:[["storefront-ad"]],viewQuery:function(t,r){if(1&t&&(e.GBs(ge,5,e.aKT),e.GBs(pe,5,e.aKT)),2&t){let s;e.mGM(s=e.lsd())&&(r.stickyLink=s.first),e.mGM(s=e.lsd())&&(r.adContainer=s.first)}},hostVars:4,hostBindings:function(t,r){1&t&&e.bIt("click",function(p){return r.onClick(p)}),2&t&&(e.BMQ("ad-type",r.regularAdType)("data-pxp-ad-type",r.prefixedAdType),e.xc7("height",r.iframeHostHeight))},standalone:!1,features:[e.Jv_([h.B]),e.Vt3],decls:1,vars:1,consts:[["adContainer",""],["stickyLink",""],[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"id"],["title","ad",3,"src",4,"ngIf"],["title","ad",3,"src"],["storefrontVisibleOnScroll","",1,"no-display",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,r){1&t&&e.DNE(0,Se,8,5,"ng-container",2),2&t&&e.Y8G("ngIf",r.ad&&r.ad.providerConfig)},dependencies:[f.bT,f.ux,f.e1,f.fG,U.h,K,N.R],styles:["storefront-ad,.pxp-ad{display:block;overflow:hidden}storefront-ad a,.pxp-ad a{display:block}storefront-ad a.ad-sticky,.pxp-ad a.ad-sticky{display:none}storefront-ad storefront-image img.error,storefront-ad .pxp-image img.error,.pxp-ad storefront-image img.error,.pxp-ad .pxp-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,storefront-ad[data-pxp-ad-type=HTML]>iframe,.pxp-ad[ad-type=HTML]>iframe,.pxp-ad[data-pxp-ad-type=HTML]>iframe{width:100%;height:100%}.sticky-elements storefront-ad a,.sticky-elements .pxp-ad a{display:none}.sticky-elements storefront-ad a.ad-sticky,.sticky-elements .pxp-ad a.ad-sticky{display:block}.no-display{display:none}\n"],encapsulation:2}),o})();var Te=a(4403),Ie=a(4871);let Ee=(()=>{var i;class o{}return(i=o).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[f.MD]}),o})();const De=["class","pxp-ad"];function be(i,o){if(1&i&&(e.qex(0),e.nrm(1,"div",6),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("id",n.uuid)}}function Pe(i,o){if(1&i&&e.nrm(0,"iframe",8),2&i){const n=e.XpG(3);e.Y8G("src",n.safeIframeUrl,e.f$h)}}function Ue(i,o){if(1&i&&(e.qex(0),e.DNE(1,Pe,1,1,"iframe",7),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",n.safeIframeUrl)}}function Re(i,o){if(1&i){const n=e.RV6();e.qex(0),e.j41(1,"div",9),e.bIt("elementVisible",function(r){e.eBV(n);const s=e.XpG(3);return e.Njj(s.onVisible(r))}),e.k0s(),e.bVm()}if(2&i){const n=e.XpG(2).ngIf;e.R7$(),e.HbH(n.class),e.Y8G("id",n.id)}}function Le(i,o){if(1&i&&(e.qex(0),e.DNE(1,Re,2,3,"ng-container",2),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",!n.isDynamicAd)}}function Ge(i,o){1&i&&e.eu8(0)}function Me(i,o){if(1&i&&e.nrm(0,"storefront-image",14),2&i){const n=e.XpG(4);e.Y8G("height",n.getImageHeight())("src",n.getImageSrc())}}function Ve(i,o){if(1&i&&(e.j41(0,"a",13),e.nI1(1,"sanitizeUrl"),e.DNE(2,Me,1,2,"storefront-image",12),e.k0s()),2&i){const n=e.XpG(3);e.Y8G("href",e.bMT(1,3,n.getHref()),e.B4B)("target",n.target),e.R7$(2),e.Y8G("ngIf",n.getImageSrc())}}function Oe(i,o){if(1&i&&e.nrm(0,"storefront-image",14),2&i){const n=e.XpG(3);e.Y8G("height",n.getImageHeight())("src",n.getImageSrc(!0))}}function He(i,o){if(1&i&&(e.qex(0),e.DNE(1,Ve,3,5,"a",10),e.j41(2,"a",11,1),e.nI1(4,"sanitizeUrl"),e.DNE(5,Oe,1,2,"storefront-image",12),e.k0s(),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",n.ad),e.R7$(),e.Y8G("href",e.bMT(4,4,n.getHref()),e.B4B)("target",n.target),e.R7$(3),e.Y8G("ngIf",n.getImageSrc(!0))}}function ze(i,o){if(1&i&&(e.qex(0,null,0)(2,3),e.DNE(3,be,2,1,"ng-container",4)(4,Ue,2,1,"ng-container",4)(5,Le,2,1,"ng-container",4)(6,Ge,1,0,"ng-container",4)(7,He,6,6,"ng-container",5),e.bVm()()),2&i){const n=o.ngIf;e.R7$(2),e.Y8G("ngSwitch",n.type),e.R7$(),e.Y8G("ngSwitchCase","GPT"),e.R7$(),e.Y8G("ngSwitchCase","HTML"),e.R7$(),e.Y8G("ngSwitchCase","TRAFFECTIVE"),e.R7$(),e.Y8G("ngSwitchCase","AUDIENZZ")}}let Be=(()=>{var i;class o extends j{}return(i=o).\u0275fac=(()=>{let n;return function(r){return(n||(n=e.xGo(i)))(r||i)}})(),i.\u0275cmp=e.VBU({type:i,selectors:[["div",8,"pxp-ad"]],standalone:!1,features:[e.Jv_([h.B]),e.Vt3],attrs:De,decls:1,vars:1,consts:[["adContainer",""],["stickyLink",""],[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"id"],["title","ad",3,"src",4,"ngIf"],["title","ad",3,"src"],["storefrontVisibleOnScroll","",1,"no-display",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,r){1&t&&e.DNE(0,ze,8,5,"ng-container",2),2&t&&e.Y8G("ngIf",r.ad&&r.ad.providerConfig)},dependencies:[f.bT,f.ux,f.e1,f.fG,U.h,K,N.R],styles:["storefront-ad,.pxp-ad{display:block;overflow:hidden}storefront-ad a,.pxp-ad a{display:block}storefront-ad a.ad-sticky,.pxp-ad a.ad-sticky{display:none}storefront-ad storefront-image img.error,storefront-ad .pxp-image img.error,.pxp-ad storefront-image img.error,.pxp-ad .pxp-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,storefront-ad[data-pxp-ad-type=HTML]>iframe,.pxp-ad[ad-type=HTML]>iframe,.pxp-ad[data-pxp-ad-type=HTML]>iframe{width:100%;height:100%}.sticky-elements storefront-ad a,.sticky-elements .pxp-ad a{display:none}.sticky-elements storefront-ad a.ad-sticky,.sticky-elements .pxp-ad a.ad-sticky{display:block}.no-display{display:none}\n"],encapsulation:2}),o})(),Xe=(()=>{var i;class o{}return(i=o).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[f.MD,Te.U,Ie.E,Ee]}),o})();const $e={component:j,leanDomComponent:Be}},2932:(B,I,a)=>{a.d(I,{h:()=>U,q:()=>D});var f=a(177),d=a(4438),A=a(8251),e=a(8890),y=a(9516),C=a(9876),h=a(5102),T=a(3307),M=a(5927),V=a(3647);const O=["image"],H=(m,E,u)=>({imgRef:m,imageResolutionStrategy:E,focalPoint:u});function X(m,E){if(1&m){const u=d.RV6();d.j41(0,"img",2,0),d.nI1(2,"sanitizeUrl"),d.bIt("error",function(){d.eBV(u);const l=d.XpG();return d.Njj(l.onError())}),d.k0s()}if(2&m){const u=d.XpG();d.Y8G("priority",u.lcpPrioritized()||u.inViewPort())("ngSrc",d.i5U(2,6,u.src,"resourceUrl"))("alt",u.alt)("title",u.title)("loaderParams",d.sMw(9,H,u.elementRef.nativeElement,u.imageResolutionStrategy,u.focalPoint)),d.BMQ("aria-label",u.ariaLabel)}}let U=(()=>{var m;class E{get regularSrc(){return this.domHelper.regularSelector(this.src)}get prefixedPostType(){return this.domHelper.prefixedSelector(this.src)}get regularLabel(){return this.domHelper.regularSelector(this.label)}get prefixedLabel(){return this.domHelper.prefixedSelector(this.label)}get regularResolutionStrategy(){return this.domHelper.regularSelector(this.imageResolutionStrategy)}get prefixedResolutionStrategy(){return this.domHelper.prefixedSelector(this.imageResolutionStrategy)}set image(c){c&&this.onLoad(c),this._image=c}get image(){return this._image}get regularAlt(){return this.domHelper.regularSelector(this.alt)}get prefixedAlt(){return this.domHelper.prefixedSelector(this.alt)}get regularTitle(){return this.domHelper.regularSelector(this.title)}get prefixedTitle(){return this.domHelper.prefixedSelector(this.title)}get regularAriaLabel(){return this.domHelper.regularSelector(this.ariaLabel)}get prefixedAriaLabel(){return this.domHelper.prefixedSelector(this.ariaLabel)}get regularFocalPoint(){return this.domHelper.regularSelector(this.focalPoint)}get prefixedFocalPoint(){return this.domHelper.prefixedSelector(this.focalPoint)}get regularHeightStrategy(){return this.domHelper.regularSelector(this.height)}get prefixedHeightStrategy(){return this.domHelper.prefixedSelector(this.height)}constructor(c,l,v,S,x,b,R,L){this.changeDetectorRef=c,this.elementRef=l,this.subscriptions=v,this.platformId=S,this.contextService=x,this.purpleService=b,this.imagePreloaderService=R,this.domHelper=L,this.inViewPort=(0,d.vPA)(!1),this.lcpPrioritized=(0,d.hFB)(!1),this.error=new d.bkB,this.height=D.AUTO,(0,f.UE)(this.platformId)&&this.subscriptions.subscribe((0,e.eh)(this,this.elementRef),G=>this.load())}get empty(){return!this.src}ngOnInit(){var c;(0,f.UE)(this.platformId)&&(this.imagePreloaderService.getAboveFoldImg()===(null===(c=this.src)||void 0===c?void 0:c.split("?")[0])&&this.inViewPort.set(!0));this.initProperties()}initProperties(){var c,l,v,S;this.alt=(null===(c=this.extendedThumbnail)||void 0===c?void 0:c.properties.alt)||(null===(l=this.extendedThumbnail)||void 0===l?void 0:l.properties.caption)||"",this.title=this.alt,this.ariaLabel=null!==(v=this.label)&&void 0!==v?v:this.alt,this.focalPoint=null===(S=this.extendedThumbnail)||void 0===S?void 0:S.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.src&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(c){c.src&&this.loaded&&this.update()}update(){this.updateImageRatio()}onLoad(c){c.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),c.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,c),this.changeDetectorRef.markForCheck()}),c.nativeElement.addEventListener("error",function(){c.nativeElement.style.display="none",c.nativeElement.nextElementSibling&&(c.nativeElement.nextElementSibling.style.display="inline")}),this.purpleService.addImageSrc(this.resizeSrc)}onError(){if(!this.src)return;const c=this.purpleService.getAlternativeSrc(this.resizeSrc);var l;c&&c!==this.resizeSrc?(this.setResizeSrc(c),this.changeDetectorRef.detectChanges()):(null===(l=this.image)||void 0===l||l.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(c=!1,l=this.image){this.imageRatio=this.height===D.AUTO?(0,C.z)(!c,null==l?void 0:l.nativeElement,this.src)+"%":void 0}setResizeSrc(c){const l=this.contextService.toResourceUrl(c);this.resizeSrc=this.src=l}}return(m=E).\u0275fac=function(c){return new(c||m)(d.rXU(d.gRc),d.rXU(d.aKT),d.rXU(A.v),d.rXU(d.Agw),d.rXU(y.V),d.rXU(h.Wj),d.rXU(T.d),d.rXU(M.S))},m.\u0275cmp=d.VBU({type:m,selectors:[["storefront-image"]],viewQuery:function(c,l){if(1&c&&d.GBs(O,5),2&c){let v;d.mGM(v=d.lsd())&&(l.image=v.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:20,hostBindings:function(c,l){2&c&&(d.BMQ("src",l.regularSrc)("data-pxp-src",l.prefixedPostType)("label",l.regularLabel)("data-pxp-label",l.prefixedLabel)("resolution-strategy",l.regularResolutionStrategy)("data-pxp-resolution-strategy",l.prefixedResolutionStrategy)("alt",l.regularAlt)("data-pxp-alt",l.prefixedAlt)("title",l.regularTitle)("data-pxp-title",l.prefixedTitle)("aria-label",l.regularAriaLabel)("data-pxp-aria-label",l.prefixedAriaLabel)("focal-point",l.regularFocalPoint)("data-pxp-focal-point",l.prefixedFocalPoint)("height-strategy",l.regularHeightStrategy)("data-pxp-height-strategy",l.prefixedHeightStrategy),d.xc7("padding-top",l.imageRatio),d.AVh("empty",l.empty))},inputs:{src:"src",label:"label",extendedThumbnail:"extendedThumbnail",imageResolutionStrategy:"imageResolutionStrategy",lcpPrioritized:[1,"lcpPrioritized"],height:"height"},outputs:{error:"error"},standalone:!1,features:[d.Jv_([A.v,{provide:f.WM,useFactory:(u,c)=>l=>{var v;const S=null==l||null===(v=l.loaderParams)||void 0===v?void 0:v.imgRef;if(S.offsetWidth){var x,b;const R=null==l||null===(x=l.loaderParams)||void 0===x?void 0:x.imageResolutionStrategy,L=(null==l||null===(b=l.loaderParams)||void 0===b?void 0:b.focalPoint)||"",G=c.toResourceUrl((0,C.G)(S,l.src,R,L));return u.resizeSrc=G,G}return""},deps:[m,y.V]}]),d.OA$],decls:1,vars:1,consts:[["image",""],["fill","true","disableOptimizedSrcset","",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","disableOptimizedSrcset","",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(c,l){1&c&&d.DNE(0,X,3,13,"img",1),2&c&&d.vxM(l.src&&l.loaded?0:-1)},dependencies:[f.kt,V.R],styles:["storefront-image,.pxp-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[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-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,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),E})();var D=function(m){return m.AUTO="AUTO",m.FIXED="FIXED",m.DEFAULT="DEFAULT",m}(D||{})},4403:(B,I,a)=>{a.d(I,{U:()=>e});var f=a(177),d=a(4871),A=a(4438);let e=(()=>{var y;class C{}return(y=C).\u0275fac=function(T){return new(T||y)},y.\u0275mod=A.$C({type:y}),y.\u0275inj=A.G2t({imports:[f.MD,d.E]}),C})()},3647:(B,I,a)=>{a.d(I,{R:()=>A});var f=a(4438),d=a(345);let A=(()=>{var e;class y{constructor(h){this.sanitizer=h}transform(h,T="url"){switch(T){case"html":return this.sanitizer.bypassSecurityTrustHtml(h);case"style":return this.sanitizer.bypassSecurityTrustStyle(h);case"script":return this.sanitizer.bypassSecurityTrustScript(h);case"url":return this.sanitizer.bypassSecurityTrustUrl(h);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(h);default:throw new Error("Invalid safe type specified: ".concat(T))}}}return(e=y).\u0275fac=function(h){return new(h||e)(f.rXU(d.up,16))},e.\u0275pipe=f.EJ8({name:"sanitizeUrl",type:e,pure:!0,standalone:!1}),y})()}}]);
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_ad_ad_module_ts"],{6278:(H,E,a)=>{a.r(E),a.d(E,{AdModule:()=>we,component:()=>$e});var f=a(177),c=a(467),x=a(9379),e=a(4438),v=a(1210),_=a(9692),h=a(8251),S=a(4945),R=a(6843),U=a(1184),s=a(610),z=a(1803);const w={adId:null};var G=a(2932),T=a(8890),y=a(7370),D=a(3178),m=a(5964),g=a(6697),d=a(4412),A=a(4572),b=a(7673),I=a(8179),P=a(8582),M=a(9516),V=a(2596),O=a(3331),Z=a(345),Q=a(8340),J=a(7816);class F extends J.Q{getAdConfig(){var o;return null===(o=this.data)||void 0===o?void 0:o.configuration}}class k extends Q.U{}class q extends F{constructor(o){super("Audienzz Ads",o),this.data=o}createInstance(){return new ee(this)}canRunWithoutConsent(){return!0}isValidConfiguration(){const o=this.getAdConfig();return!!(null!=o&&o.adTagId&&null!=o&&o.headerScriptId&&null!=o&&o.headerScriptUrl)}}class ee extends k{constructor(o){super(o),this.config=o}adjustDocument(){var o=this;return(0,c.A)(function*(){return new Promise((n,t)=>{document.head.appendChild(o.createScript(n,t))})})()}showAd(o,n,t,r){const u=this.createAdElement(n.providerConfig);t.parentNode.appendChild(u),r&&r()}removeAd(o){const n=document.getElementById("".concat(o));n&&n.remove()}createAdElement(o){const n=document.createElement("div");return n.id="".concat(o.id),n}createScript(o,n){const t=this.getConfig().getAdConfig(),r=document.createElement("script");return r.id=t.headerScriptId,r.src="".concat(t.headerScriptUrl,"?adTagId=").concat(t.adTagId),r.setAttribute("defer","defer"),r.onload=()=>{console.debug("[".concat(this.getDisplayName(),"] Script loaded successfully")),o()},r.onerror=l=>{console.error("[".concat(this.getDisplayName(),"] Failed to load script:"),l),n(l)},r}}class te extends F{constructor(){super("NoopAdService",{})}createInstance(){return new B}isValidConfiguration(){return!0}}class B extends k{constructor(){super(new te)}adjustDocument(){return Promise.resolve()}showAd(){}removeAd(){}}var ie=a(7879),ne=a(953),Y=a(6078);let re=(()=>{var i;class o{constructor(t,r,l,u){this.platformId=t,this.pxpConfig=r,this.pluginService=l,this.consentService=u,this.activePlugin=new B,this.initPromise=this.initializeAdPlugin()}showAd(t,r,l,u){var p=this;return(0,c.A)(function*(){yield p.initPromise;try{p.activePlugin.showAd(t,r,l,u)}catch(C){console.error("Failed to show plugin ad: ".concat(C))}})()}removeAd(t){var r=this;return(0,c.A)(function*(){yield r.initPromise;try{r.activePlugin.removeAd(t)}catch(l){console.error("Failed to remove plugin ad: ".concat(l))}})()}initializeAdPlugin(){var t=this;return(0,c.A)(function*(){var r;if(!(0,f.UE)(t.platformId))return;yield t.pluginService.init$,yield t.consentService.init$;const l=t.pxpConfig,u=null==l||null===(r=l.purple)||void 0===r?void 0:r.ads;let p;null!=u&&u.audienzz&&(t.pluginConfig=new q(u.audienzz),p=t.consentService.canRunPlugin(t.pluginConfig)&&t.pluginService.loadPlugin(t.pluginConfig)),p&&(t.activePlugin=p)})()}}return(i=o).\u0275fac=function(t){return new(t||i)(e.KVO(e.Agw),e.KVO(ie.Wp),e.KVO(ne.z),e.KVO(Y.e))},i.\u0275prov=e.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),o})();var oe=a(8482),ae=a(1652),se=a(4748),le=a(5927),de=a(3726),ce=a(152);let K=(()=>{var i;class o{constructor(t,r,l){this.el=t,this.ngZone=r,this.platformId=l,this.pixelsLeftToScroll=600,this.elementVisible=new e.bkB,this.isVisible=!1}ngAfterViewInit(){(0,f.UE)(this.platformId)&&this.ngZone.runOutsideAngular(()=>{this.scrollSubscription=(0,de.R)(window,"scroll",{passive:!0}).pipe((0,ce.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(),r=window.innerHeight;t.top<=r+this.pixelsLeftToScroll&&this.ngZone.run(()=>{this.isVisible=!0,this.elementVisible.emit(!0)})}}}return(i=o).\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"},standalone:!1}),o})();var N=a(3647);const ge=["stickyLink"],pe=["adContainer"];function fe(i,o){if(1&i&&(e.qex(0),e.nrm(1,"div",6),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("id",n.uuid)}}function ue(i,o){if(1&i&&e.nrm(0,"iframe",8),2&i){const n=e.XpG(3);e.Y8G("src",n.safeIframeUrl,e.f$h)}}function me(i,o){if(1&i&&(e.qex(0),e.DNE(1,ue,1,1,"iframe",7),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",n.safeIframeUrl)}}function he(i,o){if(1&i){const n=e.RV6();e.qex(0),e.j41(1,"div",9),e.bIt("elementVisible",function(r){e.eBV(n);const l=e.XpG(3);return e.Njj(l.onVisible(r))}),e.k0s(),e.bVm()}if(2&i){const n=e.XpG(2).ngIf;e.R7$(),e.HbH(n.class),e.Y8G("id",n.id)}}function ve(i,o){if(1&i&&(e.qex(0),e.DNE(1,he,2,3,"ng-container",2),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",!n.isDynamicAd)}}function _e(i,o){1&i&&e.eu8(0)}function ye(i,o){if(1&i&&e.nrm(0,"storefront-image",14),2&i){const n=e.XpG(4);e.Y8G("height",n.getImageHeight())("src",n.getImageSrc())}}function Ae(i,o){if(1&i&&(e.j41(0,"a",13),e.nI1(1,"sanitizeUrl"),e.DNE(2,ye,1,2,"storefront-image",12),e.k0s()),2&i){const n=e.XpG(3);e.Y8G("href",e.bMT(1,3,n.getHref()),e.B4B)("target",n.target),e.R7$(2),e.Y8G("ngIf",n.getImageSrc())}}function Ce(i,o){if(1&i&&e.nrm(0,"storefront-image",14),2&i){const n=e.XpG(3);e.Y8G("height",n.getImageHeight())("src",n.getImageSrc(!0))}}function xe(i,o){if(1&i&&(e.qex(0),e.DNE(1,Ae,3,5,"a",10),e.j41(2,"a",11,1),e.nI1(4,"sanitizeUrl"),e.DNE(5,Ce,1,2,"storefront-image",12),e.k0s(),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",n.ad),e.R7$(),e.Y8G("href",e.bMT(4,4,n.getHref()),e.B4B)("target",n.target),e.R7$(3),e.Y8G("ngIf",n.getImageSrc(!0))}}function Se(i,o){if(1&i&&(e.qex(0,null,0)(2,3),e.DNE(3,fe,2,1,"ng-container",4)(4,me,2,1,"ng-container",4)(5,ve,2,1,"ng-container",4)(6,_e,1,0,"ng-container",4)(7,xe,6,6,"ng-container",5),e.bVm()()),2&i){const n=o.ngIf;e.R7$(2),e.Y8G("ngSwitch",n.type),e.R7$(),e.Y8G("ngSwitchCase","GPT"),e.R7$(),e.Y8G("ngSwitchCase","HTML"),e.R7$(),e.Y8G("ngSwitchCase","TRAFFECTIVE"),e.R7$(),e.Y8G("ngSwitchCase","AUDIENZZ")}}let j=(()=>{var i;class o extends v.${get adType(){var t;return null===(t=this.ad)||void 0===t?void 0:t.providerConfig.type}get regularAdType(){return this.domHelper.regularSelector(this.adType)}get prefixedAdType(){return this.domHelper.prefixedSelector(this.adType)}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,s.k4)({url:window.location.href,key:"AD_STICKY_CLICKED",params:this.getTrackingParams()})):this.store.dispatch((0,s.k4)({url:window.location.href,key:"AD_CLICKED",params:this.getTrackingParams()}));const r=this.getHref();if(r.startsWith("#"))return this.router.navigateByUrl(r.substring(1)),t.preventDefault(),!1}constructor(t,r,l,u,p,C,L,X,$,Fe,W,ke,Be,Ye,Ke){super(l,t,u,X,W),this.elementRef=t,this.store=r,this.injector=l,this.contextService=u,this.googleAdService=p,this.router=C,this.sanitizer=L,this.document=X,this.adService=$,this.traffectiveAdService=Fe,this.globalService=W,this.consentService=ke,this.ssrService=Be,this.ngZone=Ye,this.domHelper=Ke,this.load=new e.bkB,this.loaded=!1,this.adVisible$=new d.t(!1),this.defaultConfig=(0,x.A)({},w)}ngOnDestroy(){super.ngOnDestroy(),this.ad&&this.loaded&&this.ad.providerConfig.type===_.P.GPT&&this.googleAdService.removeAd(this.uuid)}rebuildContextKeys(){super.rebuildContextKeys();const t=this.getAdConfig(this.baseConfig);null!=t&&t.providerConfig&&(0,U.Fl)(t.providerConfig,this.contextKeys)}onConfigChanges(){var t=this;return(0,c.A)(function*(){var r;const l=t.getAdConfig(t.config);if(l&&l.providerConfig){if(l.providerConfig){const C=(0,I.uQ)((0,x.A)((0,x.A)({},l.providerConfig),{},{targeting:null}),t.contextService.getContext(),t.contextService.$functions,t.globalService.getGlobalData());if(!(0,I.ZY)(C))return void(t.config=null)}var u;if(l.providerConfig.type==_.P.TRAFFECTIVE&&(0,f.UE)(t.platformId)&&(yield t.consentService.init$,null===(u=t.traffectiveAdService)||void 0===u||!u.hasConsent()))return;t.ad=l,t.changeDetectorRef.detectChanges(),void 0===t.config.isLazy||t.config.isLazy?t.store.subscribe((0,T.eh)(t,t.elementRef,{skipWait:(0,f.Vy)(t.platformId)}),C=>{t.initAd()},D.lQ,D.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===(r=t.ad)||void 0===r?void 0:r.providerConfig.type)){var p;const C=null===(p=t.ad)||void 0===p||null===(p=p.providerConfig)||void 0===p?void 0:p.url;C!==t.iframeUrl&&(t.iframeUrl=C,t.safeIframeUrl=t.sanitizer.bypassSecurityTrustResourceUrl(t.contextService.toResourceUrl(C)))}t.target=t.getTarget()})()}getAdConfig(t){let r=null;return t&&(t.adId?this.store.select((0,S.jZ)(R.O.AD),l=>{r=l.adSlots.find(u=>u.id===t.adId)}):t.ad&&(r=t.ad)),r}initAd(){var t;if(this.loaded=!0,(null===(t=window.storefrontHooks)||void 0===t||!t.isAdDisabled||!window.storefrontHooks.isAdDisabled(this.ad.id))&&(0,f.UE)(this.platformId))switch(this.ad.providerConfig.type){case _.P.GPT:this.initGpt();break;case _.P.TRAFFECTIVE:this.initTraffective();break;case _.P.AUDIENZZ:this.initPluginAd();break;default:return this.target=this.getTarget(),void this.load.emit()}}initGpt(){var t=this;return(0,c.A)(function*(){const r=(0,I.uQ)((0,x.A)((0,x.A)({},t.ad.providerConfig),{},{targeting:null}),t.contextService.getContext(),t.contextService.$functions,t.globalService.getGlobalData());r.targeting=t.mergeTargeting(t.ad.providerConfig.targeting),t.uuid="div-gpt-"+(r.fixedId?t.ad.id:(0,P.l)()),t.changeDetectorRef.detectChanges();let l=null;r.sizeMapping&&t.store.select((0,S.jZ)(R.O.AD),u=>{const p=u.adSlots.find(C=>C.id===r.sizeMapping);p&&p.providerConfig&&"SIZEMAPPING"===p.providerConfig.type&&(l=p.providerConfig)}),t.googleAdService.showAd(t.uuid,r,l,t.elementRef.nativeElement,()=>{t.load.emit(),t.resizeGoogleAd()},()=>t.resizeGoogleAd()),t.store.subscribe((0,T.Ne)(),()=>t.resizeGoogleAd())})()}initTraffective(){var t=this;return(0,c.A)(function*(){if(t.ad.providerConfig){var r;const{id:l,class:u}=t.ad.providerConfig;t.isDynamicAd="Floor"==u||"Mobile_Sticky"==u,(0,A.z)([null===(r=t.traffectiveAdService)||void 0===r?void 0:r.isTRFConfigReady$.pipe((0,m.p)(p=>p),(0,g.s)(1)),t.isDynamicAd?(0,b.of)(!0):t.adVisible$.pipe((0,m.p)(p=>p),(0,g.s)(1))]).subscribe(()=>{var p;if(!(0,f.Vy)(t.platformId)&&null!==(p=window)&&void 0!==p&&p.traffective)try{t.ssrService.prebootCompleted$.subscribe(()=>{t.ngZone.runOutsideAngular(t.isDynamicAd?()=>{window.traffective.refreshBottomSticky(u,l)}:()=>{window.traffective.refreshSlot(u,l)})})}catch(C){console.warn("Error with traffective refresh slot",C)}})}})()}mergeTargeting(t){let r=null;if(t||this.config.targeting){r=[];let l=new Map;this.evaluateTargeting(t,l),this.evaluateTargeting(this.config.targeting,l),l.forEach((u,p)=>{r.push({key:p,value:u})})}return r}evaluateTargeting(t,r){t&&t.forEach(l=>{const u=(0,I.uQ)(l.key,this.contextService.getContext(),this.contextService.$functions,this.globalService.getGlobalData(),!1);if(u&&""!==u){let p=r.get(u);p||(p=[]),(Array.isArray(l.value)?l.value:[l.value]).forEach(C=>{let L=(0,I.uQ)(C,this.contextService.getContext(),this.contextService.$functions,this.globalService.getGlobalData(),!1);if(l.multiValue){let X=L.split(",").filter($=>""!==$);p.concat(X)}else L&&""!==L&&p.push(L)}),p.length>0&&r.set(u,p)}})}resizeGoogleAd(){}getImageHeight(){return this.config.imageHeight||G.q.AUTO}getImageSrc(t=!1){const r=this.ad&&this.ad.providerConfig;return r&&(0,U.rv)(t&&r.stickyImage||r.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)}initPluginAd(){var t=this;return(0,c.A)(function*(){t.adContainer&&t.adService.showAd(null,t.ad,t.adContainer.nativeElement,()=>t.load.emit())})()}getTarget(){return(0,y.tb)(this.getHref())?z.We.BLANK:z.We.SELF}}return(i=o).type="ad",i.\u0275fac=function(t){return new(t||i)(e.rXU(e.aKT),e.rXU(h.B),e.rXU(e.zZn),e.rXU(M.V),e.rXU(V.s),e.rXU(O.Ix),e.rXU(Z.up),e.rXU(f.qQ),e.rXU(re),e.rXU(oe.y),e.rXU(ae.d),e.rXU(Y.e),e.rXU(se.i),e.rXU(e.SKi),e.rXU(le.S))},i.\u0275cmp=e.VBU({type:i,selectors:[["storefront-ad"]],viewQuery:function(t,r){if(1&t&&(e.GBs(ge,5,e.aKT),e.GBs(pe,5,e.aKT)),2&t){let l;e.mGM(l=e.lsd())&&(r.stickyLink=l.first),e.mGM(l=e.lsd())&&(r.adContainer=l.first)}},hostVars:4,hostBindings:function(t,r){1&t&&e.bIt("click",function(u){return r.onClick(u)}),2&t&&(e.BMQ("ad-type",r.regularAdType)("data-pxp-ad-type",r.prefixedAdType),e.xc7("height",r.iframeHostHeight))},standalone:!1,features:[e.Jv_([h.B]),e.Vt3],decls:1,vars:1,consts:[["adContainer",""],["stickyLink",""],[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"id"],["title","ad",3,"src",4,"ngIf"],["title","ad",3,"src"],["storefrontVisibleOnScroll","",1,"no-display",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,r){1&t&&e.DNE(0,Se,8,5,"ng-container",2),2&t&&e.Y8G("ngIf",r.ad&&r.ad.providerConfig)},dependencies:[f.bT,f.ux,f.e1,f.fG,G.h,K,N.R],styles:["storefront-ad,.pxp-ad{display:block;overflow:hidden}storefront-ad a,.pxp-ad a{display:block}storefront-ad a.ad-sticky,.pxp-ad a.ad-sticky{display:none}storefront-ad storefront-image img.error,storefront-ad .pxp-image img.error,.pxp-ad storefront-image img.error,.pxp-ad .pxp-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,storefront-ad[data-pxp-ad-type=HTML]>iframe,.pxp-ad[ad-type=HTML]>iframe,.pxp-ad[data-pxp-ad-type=HTML]>iframe{width:100%;height:100%}.sticky-elements storefront-ad a,.sticky-elements .pxp-ad a{display:none}.sticky-elements storefront-ad a.ad-sticky,.sticky-elements .pxp-ad a.ad-sticky{display:block}.no-display{display:none}\n"],encapsulation:2}),o})();var Ie=a(4403),Ee=a(4871);let be=(()=>{var i;class o{}return(i=o).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[f.MD]}),o})();const De=["class","pxp-ad"];function Te(i,o){if(1&i&&(e.qex(0),e.nrm(1,"div",6),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("id",n.uuid)}}function Pe(i,o){if(1&i&&e.nrm(0,"iframe",8),2&i){const n=e.XpG(3);e.Y8G("src",n.safeIframeUrl,e.f$h)}}function Re(i,o){if(1&i&&(e.qex(0),e.DNE(1,Pe,1,1,"iframe",7),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",n.safeIframeUrl)}}function Ue(i,o){if(1&i){const n=e.RV6();e.qex(0),e.j41(1,"div",9),e.bIt("elementVisible",function(r){e.eBV(n);const l=e.XpG(3);return e.Njj(l.onVisible(r))}),e.k0s(),e.bVm()}if(2&i){const n=e.XpG(2).ngIf;e.R7$(),e.HbH(n.class),e.Y8G("id",n.id)}}function Le(i,o){if(1&i&&(e.qex(0),e.DNE(1,Ue,2,3,"ng-container",2),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",!n.isDynamicAd)}}function Ge(i,o){1&i&&e.eu8(0)}function Me(i,o){if(1&i&&e.nrm(0,"storefront-image",14),2&i){const n=e.XpG(4);e.Y8G("height",n.getImageHeight())("src",n.getImageSrc())}}function Ve(i,o){if(1&i&&(e.j41(0,"a",13),e.nI1(1,"sanitizeUrl"),e.DNE(2,Me,1,2,"storefront-image",12),e.k0s()),2&i){const n=e.XpG(3);e.Y8G("href",e.bMT(1,3,n.getHref()),e.B4B)("target",n.target),e.R7$(2),e.Y8G("ngIf",n.getImageSrc())}}function Oe(i,o){if(1&i&&e.nrm(0,"storefront-image",14),2&i){const n=e.XpG(3);e.Y8G("height",n.getImageHeight())("src",n.getImageSrc(!0))}}function He(i,o){if(1&i&&(e.qex(0),e.DNE(1,Ve,3,5,"a",10),e.j41(2,"a",11,1),e.nI1(4,"sanitizeUrl"),e.DNE(5,Oe,1,2,"storefront-image",12),e.k0s(),e.bVm()),2&i){const n=e.XpG(2);e.R7$(),e.Y8G("ngIf",n.ad),e.R7$(),e.Y8G("href",e.bMT(4,4,n.getHref()),e.B4B)("target",n.target),e.R7$(3),e.Y8G("ngIf",n.getImageSrc(!0))}}function ze(i,o){if(1&i&&(e.qex(0,null,0)(2,3),e.DNE(3,Te,2,1,"ng-container",4)(4,Re,2,1,"ng-container",4)(5,Le,2,1,"ng-container",4)(6,Ge,1,0,"ng-container",4)(7,He,6,6,"ng-container",5),e.bVm()()),2&i){const n=o.ngIf;e.R7$(2),e.Y8G("ngSwitch",n.type),e.R7$(),e.Y8G("ngSwitchCase","GPT"),e.R7$(),e.Y8G("ngSwitchCase","HTML"),e.R7$(),e.Y8G("ngSwitchCase","TRAFFECTIVE"),e.R7$(),e.Y8G("ngSwitchCase","AUDIENZZ")}}let Xe=(()=>{var i;class o extends j{}return(i=o).\u0275fac=(()=>{let n;return function(r){return(n||(n=e.xGo(i)))(r||i)}})(),i.\u0275cmp=e.VBU({type:i,selectors:[["div",8,"pxp-ad"]],standalone:!1,features:[e.Jv_([h.B]),e.Vt3],attrs:De,decls:1,vars:1,consts:[["adContainer",""],["stickyLink",""],[4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"id"],["title","ad",3,"src",4,"ngIf"],["title","ad",3,"src"],["storefrontVisibleOnScroll","",1,"no-display",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,r){1&t&&e.DNE(0,ze,8,5,"ng-container",2),2&t&&e.Y8G("ngIf",r.ad&&r.ad.providerConfig)},dependencies:[f.bT,f.ux,f.e1,f.fG,G.h,K,N.R],styles:["storefront-ad,.pxp-ad{display:block;overflow:hidden}storefront-ad a,.pxp-ad a{display:block}storefront-ad a.ad-sticky,.pxp-ad a.ad-sticky{display:none}storefront-ad storefront-image img.error,storefront-ad .pxp-image img.error,.pxp-ad storefront-image img.error,.pxp-ad .pxp-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,storefront-ad[data-pxp-ad-type=HTML]>iframe,.pxp-ad[ad-type=HTML]>iframe,.pxp-ad[data-pxp-ad-type=HTML]>iframe{width:100%;height:100%}.sticky-elements storefront-ad a,.sticky-elements .pxp-ad a{display:none}.sticky-elements storefront-ad a.ad-sticky,.sticky-elements .pxp-ad a.ad-sticky{display:block}.no-display{display:none}\n"],encapsulation:2}),o})(),we=(()=>{var i;class o{}return(i=o).\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.$C({type:i}),i.\u0275inj=e.G2t({imports:[f.MD,Ie.U,Ee.E,be]}),o})();const $e={component:j,leanDomComponent:Xe}},1803:(H,E,a)=>{a.d(E,{OK:()=>S,T0:()=>U,TS:()=>c,We:()=>e,gb:()=>R,or:()=>_});var f=a(9379),c=function(s){return s.VERTICAL="vertical",s.HORIZONTAL="horizontal",s.GRID="grid",s.GROUP="group",s.TABS="tabs",s}(c||{}),e=function(s){return s.BLANK="_blank",s.SELF="_self",s}(e||{}),v=function(s){return s.article="article",s.aside="aside",s.details="details",s.figcaption="figcaption",s.figure="figure",s.footer="footer",s.header="header",s.main="main",s.mark="mark",s.nav="nav",s.section="section",s.summary="summary",s.time="time",s}(v||{}),_=function(s){return s.div="div",s.p="p",s}(_||{}),h=function(s){return s.a="a",s.br="br",s.button="button",s.em="em",s.h1="h1",s.h2="h2",s.h3="h3",s.h4="h4",s.h5="h5",s.h6="h6",s.hr="hr",s.iframe="iframe",s.img="img",s.input="input",s.li="li",s.pre="pre",s.small="small",s.span="span",s.ul="ul",s}(h||{});const S=(0,f.A)((0,f.A)((0,f.A)({},h),v),_),R=(0,f.A)((0,f.A)({},v),_),U=(0,f.A)((0,f.A)({},v),_)},2932:(H,E,a)=>{a.d(E,{h:()=>G,q:()=>T});var f=a(177),c=a(4438),x=a(8251),e=a(8890),v=a(9516),_=a(9876),h=a(5102),S=a(3307),R=a(5927),U=a(3647);const s=["image"],z=(y,D,m)=>({imgRef:y,imageResolutionStrategy:D,focalPoint:m});function w(y,D){if(1&y){const m=c.RV6();c.j41(0,"img",2,0),c.nI1(2,"sanitizeUrl"),c.bIt("error",function(){c.eBV(m);const d=c.XpG();return c.Njj(d.onError())}),c.k0s()}if(2&y){const m=c.XpG();c.Y8G("priority",m.lcpPrioritized()||m.inViewPort())("ngSrc",c.i5U(2,6,m.src,"resourceUrl"))("alt",m.alt)("title",m.title)("loaderParams",c.sMw(9,z,m.elementRef.nativeElement,m.imageResolutionStrategy,m.focalPoint)),c.BMQ("aria-label",m.ariaLabel)}}let G=(()=>{var y;class D{get regularSrc(){return this.domHelper.regularSelector(this.src)}get prefixedPostType(){return this.domHelper.prefixedSelector(this.src)}get regularLabel(){return this.domHelper.regularSelector(this.label)}get prefixedLabel(){return this.domHelper.prefixedSelector(this.label)}get regularResolutionStrategy(){return this.domHelper.regularSelector(this.imageResolutionStrategy)}get prefixedResolutionStrategy(){return this.domHelper.prefixedSelector(this.imageResolutionStrategy)}set image(g){g&&this.onLoad(g),this._image=g}get image(){return this._image}get regularAlt(){return this.domHelper.regularSelector(this.alt)}get prefixedAlt(){return this.domHelper.prefixedSelector(this.alt)}get regularTitle(){return this.domHelper.regularSelector(this.title)}get prefixedTitle(){return this.domHelper.prefixedSelector(this.title)}get regularAriaLabel(){return this.domHelper.regularSelector(this.ariaLabel)}get prefixedAriaLabel(){return this.domHelper.prefixedSelector(this.ariaLabel)}get regularFocalPoint(){return this.domHelper.regularSelector(this.focalPoint)}get prefixedFocalPoint(){return this.domHelper.prefixedSelector(this.focalPoint)}get regularHeightStrategy(){return this.domHelper.regularSelector(this.height)}get prefixedHeightStrategy(){return this.domHelper.prefixedSelector(this.height)}constructor(g,d,A,b,I,P,M,V){this.changeDetectorRef=g,this.elementRef=d,this.subscriptions=A,this.platformId=b,this.contextService=I,this.purpleService=P,this.imagePreloaderService=M,this.domHelper=V,this.inViewPort=(0,c.vPA)(!1),this.lcpPrioritized=(0,c.hFB)(!1),this.error=new c.bkB,this.height=T.AUTO,(0,f.UE)(this.platformId)&&this.subscriptions.subscribe((0,e.eh)(this,this.elementRef),O=>this.load())}get empty(){return!this.src}ngOnInit(){var g;(0,f.UE)(this.platformId)&&(this.imagePreloaderService.getAboveFoldImg()===(null===(g=this.src)||void 0===g?void 0:g.split("?")[0])&&this.inViewPort.set(!0));this.initProperties()}initProperties(){var g,d,A,b;this.alt=(null===(g=this.extendedThumbnail)||void 0===g?void 0:g.properties.alt)||(null===(d=this.extendedThumbnail)||void 0===d?void 0:d.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(g){g.src&&this.loaded&&this.update()}update(){this.updateImageRatio()}onLoad(g){g.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),g.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,g),this.changeDetectorRef.markForCheck()}),g.nativeElement.addEventListener("error",function(){g.nativeElement.style.display="none",g.nativeElement.nextElementSibling&&(g.nativeElement.nextElementSibling.style.display="inline")}),this.purpleService.addImageSrc(this.resizeSrc)}onError(){if(!this.src)return;const g=this.purpleService.getAlternativeSrc(this.resizeSrc);var d;g&&g!==this.resizeSrc?(this.setResizeSrc(g),this.changeDetectorRef.detectChanges()):(null===(d=this.image)||void 0===d||d.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(g=!1,d=this.image){this.imageRatio=this.height===T.AUTO?(0,_.z)(!g,null==d?void 0:d.nativeElement,this.src)+"%":void 0}setResizeSrc(g){const d=this.contextService.toResourceUrl(g);this.resizeSrc=this.src=d}}return(y=D).\u0275fac=function(g){return new(g||y)(c.rXU(c.gRc),c.rXU(c.aKT),c.rXU(x.v),c.rXU(c.Agw),c.rXU(v.V),c.rXU(h.Wj),c.rXU(S.d),c.rXU(R.S))},y.\u0275cmp=c.VBU({type:y,selectors:[["storefront-image"]],viewQuery:function(g,d){if(1&g&&c.GBs(s,5),2&g){let A;c.mGM(A=c.lsd())&&(d.image=A.first)}},hostAttrs:["ngSkipHydration","true"],hostVars:20,hostBindings:function(g,d){2&g&&(c.BMQ("src",d.regularSrc)("data-pxp-src",d.prefixedPostType)("label",d.regularLabel)("data-pxp-label",d.prefixedLabel)("resolution-strategy",d.regularResolutionStrategy)("data-pxp-resolution-strategy",d.prefixedResolutionStrategy)("alt",d.regularAlt)("data-pxp-alt",d.prefixedAlt)("title",d.regularTitle)("data-pxp-title",d.prefixedTitle)("aria-label",d.regularAriaLabel)("data-pxp-aria-label",d.prefixedAriaLabel)("focal-point",d.regularFocalPoint)("data-pxp-focal-point",d.prefixedFocalPoint)("height-strategy",d.regularHeightStrategy)("data-pxp-height-strategy",d.prefixedHeightStrategy),c.xc7("padding-top",d.imageRatio),c.AVh("empty",d.empty))},inputs:{src:"src",label:"label",extendedThumbnail:"extendedThumbnail",imageResolutionStrategy:"imageResolutionStrategy",lcpPrioritized:[1,"lcpPrioritized"],height:"height"},outputs:{error:"error"},standalone:!1,features:[c.Jv_([x.v,{provide:f.WM,useFactory:(m,g)=>d=>{var A;const b=null==d||null===(A=d.loaderParams)||void 0===A?void 0:A.imgRef;if(b.offsetWidth){var I,P;const M=null==d||null===(I=d.loaderParams)||void 0===I?void 0:I.imageResolutionStrategy,V=(null==d||null===(P=d.loaderParams)||void 0===P?void 0:P.focalPoint)||"",O=g.toResourceUrl((0,_.G)(b,d.src,M,V));return m.resizeSrc=O,O}return""},deps:[y,v.V]}]),c.OA$],decls:1,vars:1,consts:[["image",""],["fill","true","disableOptimizedSrcset","",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","disableOptimizedSrcset","",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(g,d){1&g&&c.DNE(0,w,3,13,"img",1),2&g&&c.vxM(d.src&&d.loaded?0:-1)},dependencies:[f.kt,U.R],styles:["storefront-image,.pxp-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[data-pxp-height-strategy=FIXED]>img,storefront-image[height-strategy=AUTO]>img,storefront-image[data-pxp-height-strategy=AUTO]>img,.pxp-image[height-strategy=FIXED]>img,.pxp-image[data-pxp-height-strategy=FIXED]>img,.pxp-image[height-strategy=AUTO]>img,.pxp-image[data-pxp-height-strategy=AUTO]>img{position:absolute;width:auto;max-width:100%;top:0;object-fit:contain}storefront-image[height-strategy=DEFAULT]>img,storefront-image[data-pxp-height-strategy=DEFAULT]>img,.pxp-image[height-strategy=DEFAULT]>img,.pxp-image[data-pxp-height-strategy=DEFAULT]>img{position:static!important}storefront-image.img-with-hidden-alt,.pxp-image.img-with-hidden-alt{content:attr(data-alt);display:none}storefront-image>img,.pxp-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,.pxp-image>img.loaded{opacity:1;background-color:var(--imageBackgroundColor)}storefront-image.loaded,.pxp-image.loaded{background:#fff0}\n"],encapsulation:2,changeDetection:0}),D})();var T=function(y){return y.AUTO="AUTO",y.FIXED="FIXED",y.DEFAULT="DEFAULT",y}(T||{})},4403:(H,E,a)=>{a.d(E,{U:()=>e});var f=a(177),c=a(4871),x=a(4438);let e=(()=>{var v;class _{}return(v=_).\u0275fac=function(S){return new(S||v)},v.\u0275mod=x.$C({type:v}),v.\u0275inj=x.G2t({imports:[f.MD,c.E]}),_})()},3647:(H,E,a)=>{a.d(E,{R:()=>x});var f=a(4438),c=a(345);let x=(()=>{var e;class v{constructor(h){this.sanitizer=h}transform(h,S="url"){switch(S){case"html":return this.sanitizer.bypassSecurityTrustHtml(h);case"style":return this.sanitizer.bypassSecurityTrustStyle(h);case"script":return this.sanitizer.bypassSecurityTrustScript(h);case"url":return this.sanitizer.bypassSecurityTrustUrl(h);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(h);default:throw new Error("Invalid safe type specified: ".concat(S))}}}return(e=v).\u0275fac=function(h){return new(h||e)(f.rXU(c.up,16))},e.\u0275pipe=f.EJ8({name:"sanitizeUrl",type:e,pure:!0,standalone:!1}),v})()}}]);
|