@pronto-tools-and-more/files 14.1.0 → 14.3.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 (32) hide show
  1. package/files/framework-latest/src/default/storefront/buildInfo.json +3 -3
  2. package/files/framework-latest/src/default/storefront/index.html +1 -1
  3. package/files/framework-latest/src/default/storefront/modules/common.js +1 -1
  4. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_base-component_base-datacollection_component_ts-4706f8.js +1 -1
  5. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_content_content_module_ts.js +1 -1
  6. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_html_html_module_ts.js +1 -1
  7. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-a6979f.js +1 -1
  8. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_issue_issue_module_ts.js +1 -1
  9. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_section_section_module_ts.js +1 -1
  10. package/files/framework-latest/src/default/storefront/modules/main.js +1 -1
  11. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_common-pipes_common-pipes_module_ts-projects_storefront_src_app_c-445afb.js +1 -1
  12. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -1
  13. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -1
  14. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_catalog-content_content-body_content-body_module_ts.js +1 -1
  15. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_category_category_module_ts.js +1 -1
  16. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_collection_collection_module_ts.js +1 -1
  17. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_component_module_ts.js +1 -1
  18. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_download-issues_download-issues_module_ts.js +1 -1
  19. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dropdown_dropdown_module_ts.js +1 -1
  20. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_embeddable-view_embeddable-view_module_ts.js +1 -1
  21. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_issue-search-result_issue-search-result_module_ts.js +1 -1
  22. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_menu_menu_module_ts.js +1 -1
  23. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_publication-completion_publication-completion_module_ts.js +1 -1
  24. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_publication_publication_module_ts.js +1 -1
  25. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_subscription_subscription_module_ts.js +1 -1
  26. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_swiper_swiper_module_ts.js +1 -1
  27. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toggle_toggle_module_ts.js +1 -1
  28. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toolbar_toolbar_module_ts.js +1 -1
  29. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_web-presenter_presenter_presenter_module_ts.js +1 -1
  30. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_directive_check-overflow_check-overflow_directive_ts.js +1 -1
  31. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_modal_modal_leandom_component_ts.js +1 -1
  32. package/package.json +1 -1
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_html_html_module_ts"],{1803:(O,M,L)=>{L.d(M,{OE:()=>d,OK:()=>s,TS:()=>l,We:()=>t});var l=function(r){return r.VERTICAL="vertical",r.HORIZONTAL="horizontal",r.GRID="grid",r.GROUP="group",r.TABS="tabs",r}(l||{}),t=function(r){return r.BLANK="_blank",r.SELF="_self",r}(t||{}),s=function(r){return r.div="div",r.a="a",r.br="br",r.button="button",r.dialog="dialog",r.em="em",r.h1="h1",r.h2="h2",r.h3="h3",r.h4="h4",r.h5="h5",r.h6="h6",r.hr="hr",r.iframe="iframe",r.img="img",r.input="input",r.li="li",r.ol="ol",r.p="p",r.pre="pre",r.small="small",r.span="span",r.ul="ul",r.article="article",r.aside="aside",r.details="details",r.figcaption="figcaption",r.figure="figure",r.footer="footer",r.header="header",r.main="main",r.mark="mark",r.nav="nav",r.section="section",r.summary="summary",r.time="time",r}(s||{}),d=function(r){return r.div="div",r.a="a",r.button="button",r.dialog="dialog",r.h1="h1",r.h2="h2",r.h3="h3",r.h4="h4",r.h5="h5",r.h6="h6",r.li="li",r.ol="ol",r.p="p",r.span="span",r.ul="ul",r.article="article",r.aside="aside",r.details="details",r.figcaption="figcaption",r.figure="figure",r.footer="footer",r.header="header",r.main="main",r.mark="mark",r.nav="nav",r.section="section",r.summary="summary",r.time="time",r}(d||{})},2285:(O,M,L)=>{L.d(M,{b:()=>E});var l=L(467),i=L(9379),t=L(3953),s=L(1210),d=L(8448),r=L(8004),_=L(8251),v=L(610),D=L(1803);const T={tag:D.OK.div,content:"",attributes:{}};var x=L(8179),B=L(5820);let E=(()=>{var C;class F extends s.${constructor(){super(...arguments),this.translate=(0,t.WQX)(d.D),this.eventActionService=(0,t.WQX)(r.G),this.store=(0,t.WQX)(_.B),this.anchorService=(0,t.WQX)(B.X),this.changeDetectorRef=(0,t.WQX)(t.gRc),this.anchorFeatureEnabled=!1,this.anchorPath=null,this.defaultConfig=(0,i.A)({},T)}get inlineHtml(){return!(!this.domHelper.leanDom||"A"===this.elementRef.nativeElement.tagName&&this.anchorFeatureEnabled&&this.anchorService.getAnchorPathForEventAction(this.config.tap,this.context))}ngOnInit(){var c=()=>super.ngOnInit,p=this;return(0,l.A)(function*(){if(p.anchorFeatureEnabled=p.anchorService.isAnchorFeatureEnabled(),c().call(p),p.elementRef.nativeElement.innerHTML="",!p.inlineHtml){const u=p.renderer.createElement(p.baseConfig.tag);p.renderer.appendChild(p.elementRef.nativeElement,u)}})()}onConfigChanges(){var c=this;return(0,l.A)(function*(){var p,u;const f=c.inlineHtml?c.elementRef.nativeElement:c.renderer.createElement(c.config.tag),H=(0,i.A)({},c.config.attributes);null!==(p=c.config.attributes)&&void 0!==p&&p.src&&(H.src=c.contextService.toStorefrontResourceUrl(c.config.attributes.src)),null!==(u=c.config.attributes)&&void 0!==u&&u.href&&(H.href=c.contextService.toStorefrontResourceUrl(c.config.attributes.href)),"iframe"===c.config.tag&&f.addEventListener("load",()=>{f&&f.contentDocument?(f.contentDocument.scrollingElement.scrollHeight>f.contentWindow.innerHeight&&(f.style.height=f.contentDocument.scrollingElement.scrollHeight+"px"),f.contentDocument.scrollingElement.scrollWidth>f.contentWindow.innerWidth&&(f.style.width=f.contentDocument.scrollingElement.scrollWidth+"px")):window.addEventListener("message",h=>{h.origin===new URL(null==H?void 0:H.src).origin&&(h.data.height&&(f.style.height=h.data.height+"px"),h.data.width&&(f.style.width=h.data.width+"px"))})}),Object.keys(H).forEach(h=>f.setAttribute(h,c.config.attributes[h])),c.translatedContent=yield c.translate.translate({text:c.config.content,args:c.config.variables||[]}),f.innerHTML=(0,x.uQ)(c.translatedContent,c.context,c.contextService.$functions,c.globalService.getGlobalData()),c.inlineHtml||(c.elementRef.nativeElement.innerHTML="");let g=f;c.anchorFeatureEnabled&&(c.anchorPath=c.anchorService.getAnchorPathForEventAction(c.config.tap,c.context),c.domHelper.leanDom&&c.anchorPath?c.renderer.setAttribute(c.elementRef.nativeElement,"href",c.anchorPath):g=c.handleAnchorTags(f,c.anchorPath)),g.addEventListener("click",h=>c.onClick(h)),c.inlineHtml||c.renderer.appendChild(c.elementRef.nativeElement,g),c.changeDetectorRef.markForCheck()})()}ngOnDestroy(){super.ngOnDestroy()}onClick(c){this.config.tap&&((this.anchorFeatureEnabled||"touchstart"===c.type)&&c.preventDefault(),this.trackOnClick(),this.eventActionService.processEventAction(this.config.tap,this));const p=this.getAnchorElementFromEvent(c);null!=p&&p.href&&(p.target===D.We.BLANK?"external"===p.getAttribute("data-target")?this.trackLinkOpenExternal(p):this.trackLinkOpenAppBrowser(p):this.trackLinkOpenInline(p))}getConfigEscapeProperties(){return["condition"]}isGhost(){return!1}hasContextChanged(c){return super.hasContextChanged(c)||this.translatedContent&&this.translatedContent.indexOf(x.mF)>-1}getAnchorElementFromEvent(c){var p,u;return"a"===(null===(p=c.target)||void 0===p?void 0:p.tagName.toLowerCase())?c.target:"a"===(null===(u=c.target)||void 0===u||null===(u=u.parentElement)||void 0===u?void 0:u.tagName.toLowerCase())?c.target.parentElement:null}handleAnchorTags(c,p){if(p){const u=this.renderer.createElement("a");return u.style.height="inherit",u.style.width="inherit",u.setAttribute("href",p),u.appendChild(c),u}return c}trackOnClick(){const c="".concat(this.getTrackingBaseKey(),"_CLICKED");this.dispatchTrackingAction(c,{})}trackLinkOpenExternal(c){const p="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_EXTERNAL");this.dispatchTrackingAction(p,{TARGET_URL:c.href,LINK_TEXT:c.innerText})}trackLinkOpenAppBrowser(c){const p="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_APP_BROWSER");this.dispatchTrackingAction(p,{TARGET_URL:c.href,LINK_TEXT:c.innerText})}trackLinkOpenInline(c){this.store.dispatch((0,v.k4)({url:window.location.href,key:"".concat(this.getTrackingBaseKey(),"_LINK_OPEN_INLINE"),params:{TARGET_URL:c.href,LINK_TEXT:c.innerText}}))}dispatchTrackingAction(c,p){this.store.dispatch((0,v.k4)({url:window.location.href,key:c,params:p}))}}return(C=F).type="html",C.\u0275fac=(()=>{let y;return function(p){return(y||(y=t.xGo(C)))(p||C)}})(),C.\u0275cmp=t.VBU({type:C,selectors:[["storefront-html"]],standalone:!1,features:[t.Jv_([_.B]),t.Vt3],decls:0,vars:0,template:function(c,p){},styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-html{position:relative;display:flex}storefront-html.ghost>*{background-image:linear-gradient(90deg,var(--ghostColor) 0px,rgb(236,236,236) 40px,var(--ghostColor) 80px);background-size:80vw;animation:ghost-lines 2s infinite linear;background-color:var(--ghostColor);border-radius:var(--borderRadius);width:90%;height:1.2em}\n'],encapsulation:2,changeDetection:0}),F})()},8530:(O,M,L)=>{L.d(M,{$9:()=>y,$S:()=>C,Cq:()=>u,DO:()=>v,EB:()=>r,Ez:()=>F,I5:()=>x,Lw:()=>A,Ny:()=>B,Ob:()=>X,Q5:()=>R,Sj:()=>N,Tz:()=>U,UO:()=>K,VS:()=>c,WL:()=>b,Wb:()=>W,X:()=>S,Zj:()=>p,Zp:()=>f,_O:()=>G,ah:()=>J,bE:()=>_,dD:()=>w,eq:()=>H,f$:()=>T,fy:()=>I,kD:()=>d,mF:()=>E,nY:()=>h,ns:()=>P,qx:()=>$,rm:()=>D,tk:()=>k,uc:()=>g,wf:()=>V});var l=L(2285),i=L(8251),t=L(3953);const s=["class","pxp-html"];let d=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["div",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),r=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["a",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),_=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["br",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),v=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["button",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),D=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["dialog",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),T=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["em",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),x=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h1",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),B=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h2",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),E=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h3",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),C=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h4",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),F=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h5",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),y=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h6",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),c=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["hr",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),p=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["iframe",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),u=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["img",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),f=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["input",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),H=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["li",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),g=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["ol",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),h=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["p",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),b=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["pre",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),V=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["small",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),A=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["span",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),K=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["ul",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),U=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["article",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),S=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["aside",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),k=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["details",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),I=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["figcaption",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),P=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["figure",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),R=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["footer",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),J=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["header",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),N=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["main",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),W=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["mark",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),$=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["nav",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),G=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["section",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),w=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["summary",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),X=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["time",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})()},9207:(O,M,L)=>{L.r(M),L.d(M,{HTMLModule:()=>_,component:()=>v});var l=L(177),i=L(2285),t=L(8530),s=L(1803),d=L(3953);let _=(()=>{var D;class T{}return(D=T).\u0275fac=function(B){return new(B||D)},D.\u0275mod=d.$C({type:D}),D.\u0275inj=d.G2t({imports:[l.MD]}),T})();const v={component:i.b,leanDomComponentVariant:D=>{switch(D){case s.OK.div:return t.kD;case s.OK.a:return t.EB;case s.OK.br:return t.bE;case s.OK.button:return t.DO;case s.OK.dialog:return t.rm;case s.OK.em:return t.f$;case s.OK.h1:return t.I5;case s.OK.h2:return t.Ny;case s.OK.h3:return t.mF;case s.OK.h4:return t.$S;case s.OK.h5:return t.Ez;case s.OK.h6:return t.$9;case s.OK.hr:return t.VS;case s.OK.iframe:return t.Zj;case s.OK.img:return t.Cq;case s.OK.input:return t.Zp;case s.OK.li:return t.eq;case s.OK.ol:return t.uc;case s.OK.p:return t.nY;case s.OK.pre:return t.WL;case s.OK.small:return t.wf;case s.OK.span:return t.Lw;case s.OK.ul:return t.UO;case s.OK.article:return t.Tz;case s.OK.aside:return t.X;case s.OK.details:return t.tk;case s.OK.figcaption:return t.fy;case s.OK.figure:return t.ns;case s.OK.footer:return t.Q5;case s.OK.header:return t.ah;case s.OK.main:return t.Sj;case s.OK.mark:return t.Wb;case s.OK.nav:return t.qx;case s.OK.section:return t._O;case s.OK.summary:return t.dD;case s.OK.time:return t.Ob;default:return console.warn("No html component found for ".concat(D,", falling back to div")),t.kD}}}}}]);
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_html_html_module_ts"],{1803:(O,M,L)=>{L.d(M,{OE:()=>d,OK:()=>s,TS:()=>l,We:()=>t});var l=function(r){return r.VERTICAL="vertical",r.HORIZONTAL="horizontal",r.GRID="grid",r.GROUP="group",r.TABS="tabs",r}(l||{}),t=function(r){return r.BLANK="_blank",r.SELF="_self",r}(t||{}),s=function(r){return r.div="div",r.a="a",r.br="br",r.button="button",r.dialog="dialog",r.em="em",r.h1="h1",r.h2="h2",r.h3="h3",r.h4="h4",r.h5="h5",r.h6="h6",r.hr="hr",r.iframe="iframe",r.img="img",r.input="input",r.li="li",r.ol="ol",r.p="p",r.pre="pre",r.small="small",r.span="span",r.ul="ul",r.article="article",r.aside="aside",r.details="details",r.figcaption="figcaption",r.figure="figure",r.footer="footer",r.header="header",r.main="main",r.mark="mark",r.nav="nav",r.section="section",r.summary="summary",r.time="time",r}(s||{}),d=function(r){return r.div="div",r.a="a",r.button="button",r.dialog="dialog",r.h1="h1",r.h2="h2",r.h3="h3",r.h4="h4",r.h5="h5",r.h6="h6",r.li="li",r.ol="ol",r.p="p",r.span="span",r.ul="ul",r.article="article",r.aside="aside",r.details="details",r.figcaption="figcaption",r.figure="figure",r.footer="footer",r.header="header",r.main="main",r.mark="mark",r.nav="nav",r.section="section",r.summary="summary",r.time="time",r}(d||{})},2285:(O,M,L)=>{L.d(M,{b:()=>E});var l=L(467),i=L(9379),t=L(3953),s=L(1210),d=L(8448),r=L(8004),_=L(8251),v=L(610),D=L(1803);const T={tag:D.OK.div,content:"",attributes:{}};var x=L(8179),B=L(5820);let E=(()=>{var C;class F extends s.${constructor(){super(...arguments),this.translate=(0,t.WQX)(d.D),this.eventActionService=(0,t.WQX)(r.G),this.store=(0,t.WQX)(_.B),this.anchorService=(0,t.WQX)(B.X),this.changeDetectorRef=(0,t.WQX)(t.gRc),this.anchorFeatureEnabled=!1,this.anchorPath=null,this.defaultConfig=(0,i.A)({},T)}get inlineHtml(){return!(!this.domHelper.leanDom||"A"===this.elementRef.nativeElement.tagName&&this.anchorFeatureEnabled&&this.anchorService.getAnchorPathForEventAction(this.config.tap,this.context))}ngOnInit(){var c=()=>super.ngOnInit,p=this;return(0,l.A)(function*(){if(p.anchorFeatureEnabled=p.anchorService.isAnchorFeatureEnabled(),c().call(p),p.elementRef.nativeElement.innerHTML="",!p.inlineHtml){const u=p.renderer.createElement(p.mutableBaseConfig().tag);p.renderer.appendChild(p.elementRef.nativeElement,u)}})()}onConfigChanges(){var c=this;return(0,l.A)(function*(){var p,u;const f=c.inlineHtml?c.elementRef.nativeElement:c.renderer.createElement(c.config.tag),H=(0,i.A)({},c.config.attributes);null!==(p=c.config.attributes)&&void 0!==p&&p.src&&(H.src=c.contextService.toStorefrontResourceUrl(c.config.attributes.src)),null!==(u=c.config.attributes)&&void 0!==u&&u.href&&(H.href=c.contextService.toStorefrontResourceUrl(c.config.attributes.href)),"iframe"===c.config.tag&&f.addEventListener("load",()=>{f&&f.contentDocument?(f.contentDocument.scrollingElement.scrollHeight>f.contentWindow.innerHeight&&(f.style.height=f.contentDocument.scrollingElement.scrollHeight+"px"),f.contentDocument.scrollingElement.scrollWidth>f.contentWindow.innerWidth&&(f.style.width=f.contentDocument.scrollingElement.scrollWidth+"px")):window.addEventListener("message",h=>{h.origin===new URL(null==H?void 0:H.src).origin&&(h.data.height&&(f.style.height=h.data.height+"px"),h.data.width&&(f.style.width=h.data.width+"px"))})}),Object.keys(H).forEach(h=>f.setAttribute(h,c.config.attributes[h])),c.translatedContent=yield c.translate.translate({text:c.config.content,args:c.config.variables||[]}),f.innerHTML=(0,x.uQ)(c.translatedContent,c.context,c.contextService.$functions,c.globalService.getGlobalData()),c.inlineHtml||(c.elementRef.nativeElement.innerHTML="");let g=f;c.anchorFeatureEnabled&&(c.anchorPath=c.anchorService.getAnchorPathForEventAction(c.config.tap,c.context),c.domHelper.leanDom&&c.anchorPath?c.renderer.setAttribute(c.elementRef.nativeElement,"href",c.anchorPath):g=c.handleAnchorTags(f,c.anchorPath)),g.addEventListener("click",h=>c.onClick(h)),c.inlineHtml||c.renderer.appendChild(c.elementRef.nativeElement,g),c.changeDetectorRef.markForCheck()})()}ngOnDestroy(){super.ngOnDestroy()}onClick(c){this.config.tap&&((this.anchorFeatureEnabled||"touchstart"===c.type)&&c.preventDefault(),this.trackOnClick(),this.eventActionService.processEventAction(this.config.tap,this));const p=this.getAnchorElementFromEvent(c);null!=p&&p.href&&(p.target===D.We.BLANK?"external"===p.getAttribute("data-target")?this.trackLinkOpenExternal(p):this.trackLinkOpenAppBrowser(p):this.trackLinkOpenInline(p))}getConfigEscapeProperties(){return["condition"]}isGhost(){return!1}hasContextChanged(c){return super.hasContextChanged(c)||this.translatedContent&&this.translatedContent.indexOf(x.mF)>-1}getAnchorElementFromEvent(c){var p,u;return"a"===(null===(p=c.target)||void 0===p?void 0:p.tagName.toLowerCase())?c.target:"a"===(null===(u=c.target)||void 0===u||null===(u=u.parentElement)||void 0===u?void 0:u.tagName.toLowerCase())?c.target.parentElement:null}handleAnchorTags(c,p){if(p){const u=this.renderer.createElement("a");return u.style.height="inherit",u.style.width="inherit",u.setAttribute("href",p),u.appendChild(c),u}return c}trackOnClick(){const c="".concat(this.getTrackingBaseKey(),"_CLICKED");this.dispatchTrackingAction(c,{})}trackLinkOpenExternal(c){const p="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_EXTERNAL");this.dispatchTrackingAction(p,{TARGET_URL:c.href,LINK_TEXT:c.innerText})}trackLinkOpenAppBrowser(c){const p="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_APP_BROWSER");this.dispatchTrackingAction(p,{TARGET_URL:c.href,LINK_TEXT:c.innerText})}trackLinkOpenInline(c){this.store.dispatch((0,v.k4)({url:window.location.href,key:"".concat(this.getTrackingBaseKey(),"_LINK_OPEN_INLINE"),params:{TARGET_URL:c.href,LINK_TEXT:c.innerText}}))}dispatchTrackingAction(c,p){this.store.dispatch((0,v.k4)({url:window.location.href,key:c,params:p}))}}return(C=F).type="html",C.\u0275fac=(()=>{let y;return function(p){return(y||(y=t.xGo(C)))(p||C)}})(),C.\u0275cmp=t.VBU({type:C,selectors:[["storefront-html"]],standalone:!1,features:[t.Jv_([_.B]),t.Vt3],decls:0,vars:0,template:function(c,p){},styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-html{position:relative;display:flex}storefront-html.ghost>*{background-image:linear-gradient(90deg,var(--ghostColor) 0px,rgb(236,236,236) 40px,var(--ghostColor) 80px);background-size:80vw;animation:ghost-lines 2s infinite linear;background-color:var(--ghostColor);border-radius:var(--borderRadius);width:90%;height:1.2em}\n'],encapsulation:2,changeDetection:0}),F})()},8530:(O,M,L)=>{L.d(M,{$9:()=>y,$S:()=>C,Cq:()=>u,DO:()=>v,EB:()=>r,Ez:()=>F,I5:()=>x,Lw:()=>A,Ny:()=>B,Ob:()=>X,Q5:()=>R,Sj:()=>N,Tz:()=>U,UO:()=>K,VS:()=>c,WL:()=>b,Wb:()=>W,X:()=>S,Zj:()=>p,Zp:()=>f,_O:()=>G,ah:()=>J,bE:()=>_,dD:()=>w,eq:()=>H,f$:()=>T,fy:()=>I,kD:()=>d,mF:()=>E,nY:()=>h,ns:()=>P,qx:()=>$,rm:()=>D,tk:()=>k,uc:()=>g,wf:()=>V});var l=L(2285),i=L(8251),t=L(3953);const s=["class","pxp-html"];let d=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["div",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),r=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["a",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),_=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["br",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),v=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["button",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),D=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["dialog",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),T=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["em",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),x=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h1",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),B=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h2",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),E=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h3",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),C=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h4",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),F=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h5",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),y=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h6",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),c=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["hr",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),p=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["iframe",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),u=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["img",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),f=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["input",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),H=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["li",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),g=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["ol",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),h=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["p",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),b=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["pre",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),V=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["small",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),A=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["span",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),K=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["ul",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),U=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["article",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),S=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["aside",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),k=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["details",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),I=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["figcaption",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),P=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["figure",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),R=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["footer",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),J=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["header",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),N=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["main",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),W=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["mark",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),$=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["nav",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),G=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["section",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),w=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["summary",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})(),X=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["time",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},encapsulation:2,changeDetection:0}),o})()},9207:(O,M,L)=>{L.r(M),L.d(M,{HTMLModule:()=>_,component:()=>v});var l=L(177),i=L(2285),t=L(8530),s=L(1803),d=L(3953);let _=(()=>{var D;class T{}return(D=T).\u0275fac=function(B){return new(B||D)},D.\u0275mod=d.$C({type:D}),D.\u0275inj=d.G2t({imports:[l.MD]}),T})();const v={component:i.b,leanDomComponentVariant:D=>{switch(D){case s.OK.div:return t.kD;case s.OK.a:return t.EB;case s.OK.br:return t.bE;case s.OK.button:return t.DO;case s.OK.dialog:return t.rm;case s.OK.em:return t.f$;case s.OK.h1:return t.I5;case s.OK.h2:return t.Ny;case s.OK.h3:return t.mF;case s.OK.h4:return t.$S;case s.OK.h5:return t.Ez;case s.OK.h6:return t.$9;case s.OK.hr:return t.VS;case s.OK.iframe:return t.Zj;case s.OK.img:return t.Cq;case s.OK.input:return t.Zp;case s.OK.li:return t.eq;case s.OK.ol:return t.uc;case s.OK.p:return t.nY;case s.OK.pre:return t.WL;case s.OK.small:return t.wf;case s.OK.span:return t.Lw;case s.OK.ul:return t.UO;case s.OK.article:return t.Tz;case s.OK.aside:return t.X;case s.OK.details:return t.tk;case s.OK.figcaption:return t.fy;case s.OK.figure:return t.ns;case s.OK.footer:return t.Q5;case s.OK.header:return t.ah;case s.OK.main:return t.Sj;case s.OK.mark:return t.Wb;case s.OK.nav:return t.qx;case s.OK.section:return t._O;case s.OK.summary:return t.dD;case s.OK.time:return t.Ob;default:return console.warn("No html component found for ".concat(D,", falling back to div")),t.kD}}}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-a6979f"],{2932:(T,v,a)=>{a.d(v,{h:()=>p,q:()=>u});var c=a(177),e=a(3953),_=a(8251),E=a(8890),o=a(5102),h=a(9516),r=a(9876),l=a(5927),m=a(6033);const g=["image"],f=(s,y)=>({imageResolutionStrategy:s,focalPoint:y});function n(s,y){if(1&s){const d=e.RV6();e.j41(0,"img",2,0),e.bIt("error",function(){e.eBV(d);const i=e.XpG();return e.Njj(i.onError())}),e.k0s()}if(2&s){const d=e.XpG();e.Y8G("priority",d.lcpPrioritized())("ngSrc",d.src)("alt",d.alt)("title",d.title)("loaderParams",e.l_i(5,f,d.imageResolutionStrategy,d.focalPoint))}}let p=(()=>{var s;class y{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(t){t&&this.onLoad(t),this._image=t}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 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(){this.changeDetectorRef=(0,e.WQX)(e.gRc),this.elementRef=(0,e.WQX)(e.aKT),this.subscriptions=(0,e.WQX)(_.v),this.platformId=(0,e.WQX)(e.Agw),this.contextService=(0,e.WQX)(h.V),this.purpleService=(0,e.WQX)(o.Wj),this.domHelper=(0,e.WQX)(l.S),this.lcpPrioritized=(0,e.hFB)(!1),this.error=new e.bkB,this.height=u.AUTO,(0,c.UE)(this.platformId)&&this.subscriptions.subscribe((0,E.eh)(this,this.elementRef),t=>this.load())}get empty(){return!this.src}ngOnInit(){this.initProperties()}initProperties(){var t,i,x,D;this.alt=(null===(t=this.extendedThumbnail)||void 0===t?void 0:t.properties.alt)||(null===(i=this.extendedThumbnail)||void 0===i?void 0:i.properties.caption)||"",this.title=this.alt,this.ariaLabel=null!==(x=this.label)&&void 0!==x?x:this.alt,this.focalPoint=null===(D=this.extendedThumbnail)||void 0===D?void 0:D.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.src&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(t){t.src&&this.loaded&&this.update()}update(){this.updateImageRatio()}onLoad(t){t.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),t.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,t),this.changeDetectorRef.markForCheck()}),t.nativeElement.addEventListener("error",function(){t.nativeElement.style.display="none",t.nativeElement.nextElementSibling&&(t.nativeElement.nextElementSibling.style.display="inline")})}onError(){if(!this.src)return;const t=this.purpleService.getAlternativeSrc(this.src);var i;t&&t!==this.src?(this.src=this.contextService.toStorefrontResourceUrl(t),this.changeDetectorRef.detectChanges()):(null===(i=this.image)||void 0===i||i.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(t=!1,i=this.image){this.imageRatio=this.height===u.AUTO?(0,r.z)(!t,null==i?void 0:i.nativeElement,this.src)+"%":void 0}}return(s=y).\u0275fac=function(t){return new(t||s)},s.\u0275cmp=e.VBU({type:s,selectors:[["storefront-image"]],viewQuery:function(t,i){if(1&t&&e.GBs(g,5),2&t){let x;e.mGM(x=e.lsd())&&(i.image=x.first)}},hostVars:18,hostBindings:function(t,i){2&t&&(e.BMQ("src",i.regularSrc)("data-pxp-src",i.prefixedPostType)("label",i.regularLabel)("data-pxp-label",i.prefixedLabel)("resolution-strategy",i.regularResolutionStrategy)("data-pxp-resolution-strategy",i.prefixedResolutionStrategy)("alt",i.regularAlt)("data-pxp-alt",i.prefixedAlt)("title",i.regularTitle)("data-pxp-title",i.prefixedTitle)("focal-point",i.regularFocalPoint)("data-pxp-focal-point",i.prefixedFocalPoint)("height-strategy",i.regularHeightStrategy)("data-pxp-height-strategy",i.prefixedHeightStrategy),e.xc7("padding-top",i.imageRatio),e.AVh("empty",i.empty))},inputs:{src:"src",label:"label",extendedThumbnail:"extendedThumbnail",imageResolutionStrategy:"imageResolutionStrategy",lcpPrioritized:[1,"lcpPrioritized"],height:"height"},outputs:{error:"error"},standalone:!1,features:[e.Jv_([_.v,m.K,{provide:c.WM,useFactory:d=>t=>d.generateImageUrl(t),deps:[m.K]}]),e.OA$],decls:1,vars:1,consts:[["image",""],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(t,i){1&t&&e.DNE(0,n,2,8,"img",1),2&t&&e.vxM(i.src?0:-1)},dependencies:[c.kt],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}),y})();var u=function(s){return s.AUTO="AUTO",s.FIXED="FIXED",s.DEFAULT="DEFAULT",s}(u||{})},1302:(T,v,a)=>{a.d(v,{x:()=>m});var c=a(8251),e=a(2932),_=a(177),E=a(6033),o=a(3953);const h=["class","pxp-image"],r=(g,f)=>({imageResolutionStrategy:g,focalPoint:f});function l(g,f){if(1&g){const n=o.RV6();o.j41(0,"img",2,0),o.bIt("error",function(){o.eBV(n);const u=o.XpG();return o.Njj(u.onError())}),o.k0s()}if(2&g){const n=o.XpG();o.Y8G("priority",n.lcpPrioritized())("ngSrc",n.src)("alt",n.alt)("title",n.title)("loaderParams",o.l_i(5,r,n.imageResolutionStrategy,n.focalPoint))}}let m=(()=>{var g;class f extends e.h{}return(g=f).\u0275fac=(()=>{let n;return function(u){return(n||(n=o.xGo(g)))(u||g)}})(),g.\u0275cmp=o.VBU({type:g,selectors:[["div",8,"pxp-image"]],standalone:!1,features:[o.Jv_([c.v,E.K,{provide:_.WM,useFactory:n=>p=>n.generateImageUrl(p),deps:[E.K]}]),o.Vt3],attrs:h,decls:1,vars:1,consts:[["image",""],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(p,u){1&p&&o.DNE(0,l,2,8,"img",1),2&p&&o.vxM(u.src?0:-1)},dependencies:[_.kt],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}),f})()},4403:(T,v,a)=>{a.d(v,{U:()=>E});var c=a(177),e=a(4871),_=a(3953);let E=(()=>{var o;class h{}return(o=h).\u0275fac=function(l){return new(l||o)},o.\u0275mod=_.$C({type:o}),o.\u0275inj=_.G2t({imports:[c.MD,e.E]}),h})()},9876:(T,v,a)=>{a.d(v,{z:()=>E,G:()=>o});var c=a(3178);const e={type:"dynamic",mode:"width"};function E(h,r,l){return r?1/(h?function _(h,r=1){const l=parseInt((0,c.sF)(h,"w"),10),m=parseInt((0,c.sF)(h,"h"),10);return isNaN(l)||isNaN(m)?r:l/m}(l,0):r.naturalWidth/r.naturalHeight)*100:1}function o(h,r,l,m,g){if(!r||!l||isNaN(r)||isNaN(l))return(0,c.LS)(h,{w:!r||isNaN(r)?200:r,webp:1});const f=null!=m?m:e;let u,n=r,p=null;switch(f.type){case"fixed":break;case"dynamic":switch(p=l,f.mode){case"min":n<p?p=void 0:n=void 0;break;case"max":n<p?n=void 0:p=void 0;break;case"width":p=void 0;break;case"height":n=void 0}}if(g)try{const s=JSON.parse(g),y=s[0],d=s[1],i=s[3],x=r,D=l,P=Math.round(2*y/(1+s[2])),M=Math.round(2*d/(1-i));if(P/x>M/D){const I=Math.round(M*x/D),S=Math.round(Math.min(Math.max(y-I/2,0),P-I));u="".concat(S,"px,0px,").concat(I,"px,").concat(M,"px")}else{const I=Math.round(P*D/x),S=Math.round(Math.min(Math.max(d-I/2,0),M-I));u="0px,".concat(S,"px,").concat(P,"px,").concat(I,"px")}}catch(s){console.warn("Error parsing focal point: "+g)}return(0,c.LS)(h,{w:n,h:p,crop:u,webp:1})}},6033:(T,v,a)=>{a.d(v,{K:()=>o});var c=a(3953),e=a(9876),_=a(9516),E=a(5102);class o{constructor(){this.contextService=(0,c.WQX)(_.V),this.purpleService=(0,c.WQX)(E.Wj)}generateImageUrl(r){if(r.width){var l,m;const g=null==r||null===(l=r.loaderParams)||void 0===l?void 0:l.imageResolutionStrategy,f=(null==r||null===(m=r.loaderParams)||void 0===m?void 0:m.focalPoint)||"",n=this.contextService.toStorefrontResourceUrl((0,e.G)(r.src,r.width,Math.round(r.width/(4/3)),g,f));return this.purpleService.addImageSrc(n),n}return""}}}}]);
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_image_image_leandom_component_ts-projects_store-a6979f"],{2932:(S,x,a)=>{a.d(x,{h:()=>p,q:()=>_});var h=a(177),e=a(3953),f=a(8251),v=a(8890),o=a(5102),u=a(9516),r=a(9876),l=a(5927),m=a(6033);const g=["image"],E=(s,y)=>({imageResolutionStrategy:s,focalPoint:y});function n(s,y){if(1&s){const d=e.RV6();e.j41(0,"img",2,0),e.bIt("error",function(){e.eBV(d);const i=e.XpG();return e.Njj(i.onError())}),e.k0s()}if(2&s){const d=e.XpG();e.Y8G("priority",d.lcpPrioritized())("ngSrc",d.imgSrc())("alt",d.alt)("title",d.title)("loaderParams",e.l_i(5,E,d.imageResolutionStrategy(),d.focalPoint))}}let p=(()=>{var s;class y{get regularSrc(){return this.domHelper.regularSelector(this.imgSrc())}get prefixedPostType(){return this.domHelper.prefixedSelector(this.imgSrc())}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(t){t&&this.onLoad(t),this._image=t}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 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(){this.changeDetectorRef=(0,e.WQX)(e.gRc),this.elementRef=(0,e.WQX)(e.aKT),this.subscriptions=(0,e.WQX)(f.v),this.platformId=(0,e.WQX)(e.Agw),this.contextService=(0,e.WQX)(u.V),this.purpleService=(0,e.WQX)(o.Wj),this.domHelper=(0,e.WQX)(l.S),this.src=(0,e.hFB)(),this.imgSrc=(0,e.uuI)(()=>this.src()),this.label=(0,e.hFB)(void 0),this.extendedThumbnail=(0,e.hFB)(void 0),this.imageResolutionStrategy=(0,e.hFB)(void 0),this.lcpPrioritized=(0,e.hFB)(!1),this.error=(0,e.CGW)(),this.height=(0,e.hFB)(_.AUTO),(0,h.UE)(this.platformId)&&this.subscriptions.subscribe((0,v.eh)(this,this.elementRef),t=>this.load())}get empty(){return!this.imgSrc()}ngOnInit(){this.initProperties()}initProperties(){var t,i;const c=this.extendedThumbnail();this.alt=(null==c?void 0:c.properties.alt)||(null==c?void 0:c.properties.caption)||"",this.title=(null==c?void 0:c.properties.title)||this.alt,this.ariaLabel=null!==(t=this.label())&&void 0!==t?t:this.alt,this.focalPoint=null===(i=this.extendedThumbnail())||void 0===i?void 0:i.properties.focuspoint}initAndLoad(){this.initProperties(),this.load()}load(){this.loaded||(this.loaded=!0,this.imgSrc()&&this.update(),this.changeDetectorRef.detectChanges())}ngOnChanges(t){t.src&&this.loaded&&this.update()}update(){this.updateImageRatio()}onLoad(t){t.nativeElement.classList.add("loaded"),this.elementRef.nativeElement.classList.add("loaded"),this.changeDetectorRef.detectChanges(),t.nativeElement.addEventListener("load",()=>{this.updateImageRatio(!0,t),this.changeDetectorRef.markForCheck()}),t.nativeElement.addEventListener("error",function(){t.nativeElement.style.display="none",t.nativeElement.nextElementSibling&&(t.nativeElement.nextElementSibling.style.display="inline")})}onError(){if(!this.imgSrc())return;const t=this.purpleService.getAlternativeSrc(this.imgSrc());var i;t&&t!==this.imgSrc()?(this.imgSrc.set(this.contextService.toStorefrontResourceUrl(t)),this.changeDetectorRef.detectChanges()):(null===(i=this.image)||void 0===i||i.nativeElement.classList.add("error"),this.elementRef.nativeElement.classList.add("error"),this.error.emit(this))}updateImageRatio(t=!1,i=this.image){this.imageRatio=this.height()===_.AUTO?(0,r.z)(!t,null==i?void 0:i.nativeElement,this.imgSrc())+"%":void 0}}return(s=y).\u0275fac=function(t){return new(t||s)},s.\u0275cmp=e.VBU({type:s,selectors:[["storefront-image"]],viewQuery:function(t,i){if(1&t&&e.GBs(g,5),2&t){let c;e.mGM(c=e.lsd())&&(i.image=c.first)}},hostVars:18,hostBindings:function(t,i){2&t&&(e.BMQ("src",i.regularSrc)("data-pxp-src",i.prefixedPostType)("label",i.regularLabel)("data-pxp-label",i.prefixedLabel)("resolution-strategy",i.regularResolutionStrategy)("data-pxp-resolution-strategy",i.prefixedResolutionStrategy)("alt",i.regularAlt)("data-pxp-alt",i.prefixedAlt)("title",i.regularTitle)("data-pxp-title",i.prefixedTitle)("focal-point",i.regularFocalPoint)("data-pxp-focal-point",i.prefixedFocalPoint)("height-strategy",i.regularHeightStrategy)("data-pxp-height-strategy",i.prefixedHeightStrategy),e.xc7("padding-top",i.imageRatio),e.AVh("empty",i.empty))},inputs:{src:[1,"src"],label:[1,"label"],extendedThumbnail:[1,"extendedThumbnail"],imageResolutionStrategy:[1,"imageResolutionStrategy"],lcpPrioritized:[1,"lcpPrioritized"],height:[1,"height"]},outputs:{error:"error"},standalone:!1,features:[e.Jv_([f.v,m.K,{provide:h.WM,useFactory:d=>t=>d.generateImageUrl(t),deps:[m.K]}]),e.OA$],decls:1,vars:1,consts:[["image",""],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(t,i){1&t&&e.DNE(0,n,2,8,"img",1),2&t&&e.vxM(i.imgSrc()?0:-1)},dependencies:[h.kt],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}),y})();var _=function(s){return s.AUTO="AUTO",s.FIXED="FIXED",s.DEFAULT="DEFAULT",s}(_||{})},1302:(S,x,a)=>{a.d(x,{x:()=>m});var h=a(8251),e=a(2932),f=a(177),v=a(6033),o=a(3953);const u=["class","pxp-image"],r=(g,E)=>({imageResolutionStrategy:g,focalPoint:E});function l(g,E){if(1&g){const n=o.RV6();o.j41(0,"img",2,0),o.bIt("error",function(){o.eBV(n);const _=o.XpG();return o.Njj(_.onError())}),o.k0s()}if(2&g){const n=o.XpG();o.Y8G("priority",n.lcpPrioritized())("ngSrc",n.imgSrc())("alt",n.alt)("title",n.title)("loaderParams",o.l_i(5,r,n.imageResolutionStrategy(),n.focalPoint))}}let m=(()=>{var g;class E extends e.h{}return(g=E).\u0275fac=(()=>{let n;return function(_){return(n||(n=o.xGo(g)))(_||g)}})(),g.\u0275cmp=o.VBU({type:g,selectors:[["div",8,"pxp-image"]],standalone:!1,features:[o.Jv_([h.v,v.K,{provide:f.WM,useFactory:n=>p=>n.generateImageUrl(p),deps:[v.K]}]),o.Vt3],attrs:u,decls:1,vars:1,consts:[["image",""],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"priority","ngSrc","alt","title","loaderParams"],["fill","true","ngSrcset","300w, 600w, 900w, 1200w",3,"error","priority","ngSrc","alt","title","loaderParams"]],template:function(p,_){1&p&&o.DNE(0,l,2,8,"img",1),2&p&&o.vxM(_.imgSrc()?0:-1)},dependencies:[f.kt],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})()},4403:(S,x,a)=>{a.d(x,{U:()=>v});var h=a(177),e=a(4871),f=a(3953);let v=(()=>{var o;class u{}return(o=u).\u0275fac=function(l){return new(l||o)},o.\u0275mod=f.$C({type:o}),o.\u0275inj=f.G2t({imports:[h.MD,e.E]}),u})()},9876:(S,x,a)=>{a.d(x,{z:()=>v,G:()=>o});var h=a(3178);const e={type:"dynamic",mode:"width"};function v(u,r,l){return r?1/(u?function f(u,r=1){const l=parseInt((0,h.sF)(u,"w"),10),m=parseInt((0,h.sF)(u,"h"),10);return isNaN(l)||isNaN(m)?r:l/m}(l,0):r.naturalWidth/r.naturalHeight)*100:1}function o(u,r,l,m,g){if(!r||!l||isNaN(r)||isNaN(l))return(0,h.LS)(u,{w:!r||isNaN(r)?200:r,webp:1});const E=null!=m?m:e;let _,n=r,p=null;switch(E.type){case"fixed":break;case"dynamic":switch(p=l,E.mode){case"min":n<p?p=void 0:n=void 0;break;case"max":n<p?n=void 0:p=void 0;break;case"width":p=void 0;break;case"height":n=void 0}}if(g)try{const s=JSON.parse(g),y=s[0],d=s[1],i=s[3],c=r,T=l,I=Math.round(2*y/(1+s[2])),P=Math.round(2*d/(1-i));if(I/c>P/T){const D=Math.round(P*c/T),M=Math.round(Math.min(Math.max(y-D/2,0),I-D));_="".concat(M,"px,0px,").concat(D,"px,").concat(P,"px")}else{const D=Math.round(I*T/c),M=Math.round(Math.min(Math.max(d-D/2,0),P-D));_="0px,".concat(M,"px,").concat(I,"px,").concat(D,"px")}}catch(s){console.warn("Error parsing focal point: "+g)}return(0,h.LS)(u,{w:n,h:p,crop:_,webp:1})}},6033:(S,x,a)=>{a.d(x,{K:()=>o});var h=a(3953),e=a(9876),f=a(9516),v=a(5102);class o{constructor(){this.contextService=(0,h.WQX)(f.V),this.purpleService=(0,h.WQX)(v.Wj)}generateImageUrl(r){if(r.width){var l,m;const g=null==r||null===(l=r.loaderParams)||void 0===l?void 0:l.imageResolutionStrategy,E=(null==r||null===(m=r.loaderParams)||void 0===m?void 0:m.focalPoint)||"",n=this.contextService.toStorefrontResourceUrl((0,e.G)(r.src,r.width,Math.round(r.width/(4/3)),g,E));return this.purpleService.addImageSrc(n),n}return""}}}}]);