@pronto-tools-and-more/files 15.5.0 → 15.6.1

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 (18) hide show
  1. package/files/framework-latest/src/default/storefront/buildInfo.json +3 -3
  2. package/files/framework-latest/src/default/storefront/deep-link-landing/499.js +1 -0
  3. package/files/framework-latest/src/default/storefront/deep-link-landing/764.js +2 -0
  4. package/files/framework-latest/src/default/storefront/deep-link-landing/764.js.LICENSE.txt +4 -0
  5. package/files/framework-latest/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +96 -122
  6. package/files/framework-latest/src/default/storefront/index.html +1 -1
  7. package/files/framework-latest/src/default/storefront/modules/common.js +1 -1
  8. package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_html_html_module_ts.js +1 -1
  9. package/files/framework-latest/src/default/storefront/modules/main.js +1 -1
  10. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -1
  11. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_coupon_coupon_module_ts.js +1 -1
  12. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dropdown_dropdown_module_ts.js +1 -1
  13. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_login_login_module_ts.js +1 -1
  14. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_menu_menu_module_ts.js +1 -1
  15. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_search-field_search-field_module_ts.js +1 -1
  16. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toggle_toggle_module_ts.js +1 -1
  17. package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_web-presenter_presenter_presenter_module_ts.js +1 -1
  18. package/package.json +1 -1
@@ -4,7 +4,7 @@
4
4
  <meta charset="utf-8">
5
5
  <title></title>
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
- <meta name="storefront-commit" content="b142dff">
7
+ <meta name="storefront-commit" content="667a5fb">
8
8
  <meta name="storefront-version" content="4.0.0-SNAPSHOT">
9
9
  <link rel="icon" type="image/x-icon" href="favicon.ico">
10
10
  <link rel="stylesheet" href="assets/fonts.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="assets/fonts.css"></noscript>
@@ -1 +1 @@
1
- "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["common"],{3472:(y,D,e)=>{e.d(D,{M:()=>E});var p=e(9379),t=e(9758),u=e(8179),n=e(362),v=e.n(n),g=e(4452),c=e(3713),h=e(3953);let E=(()=>{var i;class a extends c.r{getDataFromContext(r=this.context){return this.getSelectionScope()===t.x.USER_ATTRIBUTE?r.userAttributes[this.getParam()]:r[this.getParam()]}hasContextChanged(r){let T=super.hasContextChanged(r);if(!T&&this.isSelectionEnabled()){const x=this.getDataFromContext(),B=this.getDataFromContext(r);T=!v()(x,B)}return T}ngOnDestroy(){super.ngOnDestroy(),this.dataSource&&this.contextService.unregisterDataSource(this.dataSource)}getEntryConfig(r){return r&&r.ad||(0,p.A)({},this.baseConfig().content)}getEntryContext(r){var T;let x=(0,u.uQ)(null!==(T=this.getConfig().dataSource.entryId)&&void 0!==T?T:this.getDataType(),this.context,this.contextService.$functions,this.globalService.getGlobalData());return(0,p.A)((0,p.A)({},this.baseContext()),{},{[x]:r})}getConfig(){return this.config||this.baseConfig()}isSelectionEnabled(){return!1}stripChildConfigs(r){return"content"in r&&"object"==typeof r.content&&null!==r.content&&(r.content={_uuid:r.content._uuid,condition:r.content.condition}),r}getDataType(){return this.getConfig().dataSource.type}getGroupDataType(r){return r.dataSource.type}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),...(0,g.Kj)(this.baseConfig())].filter(r=>!!r)}}return(i=a).\u0275fac=(()=>{let l;return function(T){return(l||(l=h.xGo(i)))(T||i)}})(),i.\u0275dir=h.FsC({type:i,features:[h.Vt3]}),a})()},3303:(y,D,e)=>{e.d(D,{y:()=>n});var p=e(177),t=e(9733),u=e(3953);let n=(()=>{var v;class g{}return(v=g).\u0275fac=function(h){return new(h||v)},v.\u0275mod=u.$C({type:v}),v.\u0275inj=u.G2t({imports:[p.MD,t.ContentTitleModule]}),g})()},5848:(y,D,e)=>{e.d(D,{Q:()=>g});var p=e(467),t=e(3953),u=e(1210),n=e(5706),v=e(5102);let g=(()=>{var c;class h extends u.${constructor(){super(...arguments),this.purpleService=(0,t.WQX)(v.Wj),this.changeDetectorRef=(0,t.WQX)(t.gRc),this.bundleContent=[]}get contextKey(){var i,a,l;return null!==(i=null!==(a=null===(l=this.config)||void 0===l?void 0:l.contextKey)&&void 0!==a?a:this.defaultConfig.contextKey)&&void 0!==i?i:"content"}updatePostWithOptionalData(i,a){var l=this;return(0,p.A)(function*(){const r=yield l.purpleService.getOptionalData(l.catalogContent,i,a);return(0,n.mF)(l.catalogContent)?(l.catalogContent=r,l.catalogContent):(0,n.G4)(l.catalogContent)?(l.bundleContent=(0,n.Ig)(l.catalogContent),l.bundleContent[a]=r,l.bundleContent[a]):void 0})()}hasContentChanged(i,a){return(null==i?void 0:i.id)!==(null==a?void 0:a.id)||(null==i?void 0:i.version)!==(null==a?void 0:a.version)}onConfigChanges(){var i;let a=null===(i=this.context)||void 0===i?void 0:i[this.contextKey];Array.isArray(a)&&(a=a[0]);const l=this.hasContentChanged(this.catalogContent,a)&&!!a;return l&&(this.catalogContent=a),this.changeDetectorRef.markForCheck(),l}isGhost(){var i;return!this.config||!(null!==(i=this.context)&&void 0!==i&&i[this.contextKey])}ngOnDestroy(){super.ngOnDestroy()}getContextKey(){return this.contextKey}}return(c=h).\u0275fac=(()=>{let E;return function(a){return(E||(E=t.xGo(c)))(a||c)}})(),c.\u0275dir=t.FsC({type:c,features:[t.Vt3]}),h})()},9733:(y,D,e)=>{e.r(D),e.d(D,{ContentTitleModule:()=>w,component:()=>O});var p=e(177),t=e(3953);const u={titleMessage:"%s"};var n=e(5848),v=e(9516),g=e(5102),c=e(1652),h=e(8909);const E=o=>[o];function i(o,_){1&o&&(t.j41(0,"h1"),t.EFF(1,"..."),t.k0s())}function a(o,_){if(1&o&&t.nrm(0,"h1",0),2&o){const s=t.XpG(2);t.Y8G("storefrontTranslate",s.config.titleMessage)("storefrontTranslateArgs",t.eq3(2,E,null==s.catalogContent?null:s.catalogContent.name))}}function l(o,_){if(1&o&&t.DNE(0,i,2,0,"h1")(1,a,1,4,"h1",0),2&o){const s=t.XpG();t.vxM(s.ghost?0:1)}}let r=(()=>{var o;class _ extends n.Q{constructor(){super(...arguments),this.elementRef=(0,t.WQX)(t.aKT),this.contextService=(0,t.WQX)(v.V),this.injector=(0,t.WQX)(t.zZn),this.document=(0,t.WQX)(p.qQ),this.purpleService=(0,t.WQX)(g.Wj),this.globalService=(0,t.WQX)(c.d),this.defaultConfig=u,this.type="content-title"}}return(o=_).\u0275fac=(()=>{let s;return function(P){return(s||(s=t.xGo(o)))(P||o)}})(),o.\u0275cmp=t.VBU({type:o,selectors:[["storefront-content-title"]],standalone:!1,features:[t.Vt3],decls:1,vars:1,consts:[[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(M,P){1&M&&t.DNE(0,l,2,1),2&M&&t.vxM(P.domHelper.leanDom?-1:0)},dependencies:[h.M],styles:["storefront-content-title>h1{margin-top:var(--contentHeaderMarginTop);margin-bottom:var(--contentHeaderMarginBottom);padding-top:var(--contentHeaderPaddingVert);padding-bottom:var(--contentHeaderPaddingVert);font-size:1.5rem}\n"],encapsulation:2}),_})();const T=["class","pxp-content-title"],x=o=>[o];function B(o,_){1&o&&(t.j41(0,"h1"),t.EFF(1,"..."),t.k0s())}function W(o,_){if(1&o&&t.nrm(0,"h1",0),2&o){const s=t.XpG(2);t.Y8G("storefrontTranslate",s.config.titleMessage)("storefrontTranslateArgs",t.eq3(2,x,null==s.catalogContent?null:s.catalogContent.name))}}function C(o,_){if(1&o&&t.DNE(0,B,2,0,"h1")(1,W,1,4,"h1",0),2&o){const s=t.XpG();t.vxM(s.ghost?0:1)}}let m=(()=>{var o;class _ extends r{constructor(){super(...arguments),this.translateDirective=(0,t.WQX)(h.M)}onConfigChanges(){super.onConfigChanges(),setTimeout(()=>{var M,P;this.translateDirective.applyTranslation(null===(M=this.config)||void 0===M?void 0:M.titleMessage,[null===(P=this.catalogContent)||void 0===P?void 0:P.name])})}}return(o=_).\u0275fac=(()=>{let s;return function(P){return(s||(s=t.xGo(o)))(P||o)}})(),o.\u0275cmp=t.VBU({type:o,selectors:[["h1",8,"pxp-content-title"]],hostAttrs:["ngSkipHydration","true"],standalone:!1,features:[t.nM4([h.M]),t.Vt3],attrs:T,decls:1,vars:1,consts:[[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(M,P){1&M&&t.DNE(0,C,2,1),2&M&&t.vxM(P.domHelper.leanDom?-1:0)},dependencies:[h.M],styles:[".pxp-content-title{margin-top:var(--contentHeaderMarginTop);margin-bottom:var(--contentHeaderMarginBottom);padding-top:var(--contentHeaderPaddingVert);padding-bottom:var(--contentHeaderPaddingVert);font-size:1.5rem}\n"],encapsulation:2}),_})(),w=(()=>{var o;class _{}return(o=_).\u0275fac=function(M){return new(M||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[p.MD]}),_})();const O={component:r,leanDomComponent:m}},1802:(y,D,e)=>{e.d(D,{c:()=>h});var p=e(9379),t=e(3953),u=e(1210),n=e(3331),v=e(9758),g=e(8075),c=e(8909);let h=(()=>{var E;class i extends u.${constructor(){super(...arguments),this.router=(0,t.WQX)(n.Ix),this.type="switch",this.defaultConfig={}}ngOnInit(){this.config=(0,p.A)({},this.baseConfig()),this.checked=this.config.initialValue,super.ngOnInit(),this.contextService.viewContext$.subscribe(l=>{const r=this.config.paramScope===v.x.USER_ATTRIBUTE?l.userAttributes[this.config.param]:l[this.config.param];r&&(this.checked="true"===r)})}isChecked(){return this.checked}toggle(){this.setChecked(!this.checked)}setChecked(l){this.config.paramScope===v.x.USER_ATTRIBUTE?this.contextService.setUserAttribute(this.config.param,"".concat(l)):(0,g.CV)(this.router,{[this.config.param]:l})}}return(E=i).\u0275fac=(()=>{let a;return function(r){return(a||(a=t.xGo(E)))(r||E)}})(),E.\u0275cmp=t.VBU({type:E,selectors:[["storefront-switch"]],hostVars:2,hostBindings:function(l,r){2&l&&t.AVh("checked",r.checked)},standalone:!1,features:[t.Vt3],decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(l,r){1&l&&(t.nrm(0,"label",0),t.j41(1,"label",1)(2,"input",2),t.bIt("change",function(){return r.toggle()}),t.k0s(),t.nrm(3,"span"),t.k0s()),2&l&&(t.Y8G("storefrontTranslate",r.config.label),t.R7$(2),t.Y8G("checked",r.isChecked()))},dependencies:[c.M],styles:['storefront-switch,.pxp-switch{align-items:center;display:flex}storefront-switch .label,.pxp-switch .label{margin:0 var(--gutter)}storefront-switch .switch,.pxp-switch .switch{text-align:left;width:calc(var(--switchWidth) - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2);border-radius:var(--switchBorderRadius);background-color:var(--switchActiveColor);display:inline-block;position:relative;cursor:pointer}storefront-switch .switch>span,.pxp-switch .switch>span{display:block;width:100%;height:100%;border-radius:var(--switchBorderRadius)}storefront-switch .switch>span:before,storefront-switch .switch>span:after,.pxp-switch .switch>span:before,.pxp-switch .switch>span:after{content:"";cursor:pointer;position:absolute}storefront-switch .switch>span:before,.pxp-switch .switch>span:before{width:100%;height:100%;box-sizing:border-box;background-color:var(--switchBackgroundColor);border-radius:var(--switchBorderRadius);transition:opacity .2s ease-out .1s,transform .2s ease-out .1s;transform:scale(1);opacity:1}storefront-switch .switch>span:after,.pxp-switch .switch>span:after{top:var(--switchBorderWidth);z-index:3;transition:transform .4s cubic-bezier(.44,-.12,.07,1.15);width:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));background-color:var(--switchHandleColor);border-radius:100%;box-shadow:0 2px 5px #0000004d;left:var(--switchBorderWidth)}storefront-switch .switch>input[type=checkbox],.pxp-switch .switch>input[type=checkbox]{opacity:0;position:absolute}storefront-switch .switch>input[type=checkbox]:checked~span:before,.pxp-switch .switch>input[type=checkbox]:checked~span:before{transform:scale(0);opacity:.7}storefront-switch .switch>input[type=checkbox]:checked~span:after,.pxp-switch .switch>input[type=checkbox]:checked~span:after{transform:translate(100%)}\n'],encapsulation:2}),i})()},2960:(y,D,e)=>{e.d(D,{q:()=>v});var p=e(1802),t=e(3953),u=e(8909);const n=["class","pxp-switch"];let v=(()=>{var g;class c extends p.c{}return(g=c).\u0275fac=(()=>{let h;return function(i){return(h||(h=t.xGo(g)))(i||g)}})(),g.\u0275cmp=t.VBU({type:g,selectors:[["div",8,"pxp-switch"]],standalone:!1,features:[t.Vt3],attrs:n,decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(E,i){1&E&&(t.nrm(0,"label",0),t.j41(1,"label",1)(2,"input",2),t.bIt("change",function(){return i.toggle()}),t.k0s(),t.nrm(3,"span"),t.k0s()),2&E&&(t.Y8G("storefrontTranslate",i.config.label),t.R7$(2),t.Y8G("checked",i.isChecked()))},dependencies:[u.M],styles:['storefront-switch,.pxp-switch{align-items:center;display:flex}storefront-switch .label,.pxp-switch .label{margin:0 var(--gutter)}storefront-switch .switch,.pxp-switch .switch{text-align:left;width:calc(var(--switchWidth) - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2);border-radius:var(--switchBorderRadius);background-color:var(--switchActiveColor);display:inline-block;position:relative;cursor:pointer}storefront-switch .switch>span,.pxp-switch .switch>span{display:block;width:100%;height:100%;border-radius:var(--switchBorderRadius)}storefront-switch .switch>span:before,storefront-switch .switch>span:after,.pxp-switch .switch>span:before,.pxp-switch .switch>span:after{content:"";cursor:pointer;position:absolute}storefront-switch .switch>span:before,.pxp-switch .switch>span:before{width:100%;height:100%;box-sizing:border-box;background-color:var(--switchBackgroundColor);border-radius:var(--switchBorderRadius);transition:opacity .2s ease-out .1s,transform .2s ease-out .1s;transform:scale(1);opacity:1}storefront-switch .switch>span:after,.pxp-switch .switch>span:after{top:var(--switchBorderWidth);z-index:3;transition:transform .4s cubic-bezier(.44,-.12,.07,1.15);width:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));background-color:var(--switchHandleColor);border-radius:100%;box-shadow:0 2px 5px #0000004d;left:var(--switchBorderWidth)}storefront-switch .switch>input[type=checkbox],.pxp-switch .switch>input[type=checkbox]{opacity:0;position:absolute}storefront-switch .switch>input[type=checkbox]:checked~span:before,.pxp-switch .switch>input[type=checkbox]:checked~span:before{transform:scale(0);opacity:.7}storefront-switch .switch>input[type=checkbox]:checked~span:after,.pxp-switch .switch>input[type=checkbox]:checked~span:after{transform:translate(100%)}\n'],encapsulation:2}),c})()},9645:(y,D,e)=>{e.r(D),e.d(D,{SwitchModule:()=>v,component:()=>g});var p=e(177),t=e(1802),u=e(2960),n=e(3953);let v=(()=>{var c;class h{}return(c=h).\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.$C({type:c}),c.\u0275inj=n.G2t({imports:[p.MD]}),h})();const g={component:t.c,leanDomComponent:u.q}},8301:(y,D,e)=>{e.d(D,{d:()=>u});var p=e(177),t=e(3953);let u=(()=>{var n;class v{}return(n=v).\u0275fac=function(c){return new(c||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[p.MD]}),v})()},2316:(y,D,e)=>{e.r(D),e.d(D,{ModalComponent:()=>_});var p=e(9379),t=e(467),u=e(177),n=e(3953),v=e(9079),g=e(3331),c=e(5102),h=e(9745),E=e(8251),i=e(610),a=e(3178),l=e(2962),r=e(7879),T=e(6080),x=e(8301),B=e(2868),W=e(680);const C=["template"],m=["scrollContainer"],w=["container"];function O(s,M){}function o(s,M){1&s&&n.DNE(0,O,0,0,"ng-template",6,2,n.C5r),2&s&&n.Y8G("baseConfig",M.$implicit)}let _=(()=>{var s;class M extends T.v{constructor(){super(...arguments),this.document=(0,n.WQX)(u.qQ),this.platformId=(0,n.WQX)(n.Agw),this.purpleService=(0,n.WQX)(c.Wj),this.purpleEnv=(0,n.WQX)(r.r6),this.renderer=(0,n.WQX)(n.sFG),this.router=(0,n.WQX)(g.Ix),this.context={},this.isModal=!0}static isValidAnimation(d){return Object.values(h.L).includes(d)}ngOnInit(){this.contextService.closeModalSubject.pipe((0,v.pQ)(this.destroyRef)).subscribe(b=>{this.elementRef.nativeElement.contains(b)?this.onClickClose():this.contextService.closeModalCompleteSubject.next(!1)}),this.hasNavigated=this.contextService.navigationCount>0,this.renderer.addClass(this.document.body,"no-scroll");const d=this.store.snapshot(this.route.params),f=d&&d.animation;this.animation=f&&M.isValidAnimation(f)?f:h.L.SLIDE_IN}ngAfterViewInit(){var d=()=>super.ngOnInit,f=this;return(0,t.A)(function*(){yield(0,a.wR)(1);const b=getComputedStyle(f.container.nativeElement),S=()=>{d().call(f),f.initialized=!0},A=parseFloat(b.transitionDuration);A>0&&f.animation!==h.L.POP_UP?setTimeout(S,A):S(),f.elementRef.nativeElement.classList.add("visible"),f.displayMode=yield f.purpleService.getDisplayMode()})()}ngOnDestroy(){this.renderer.removeClass(this.document.body,"no-scroll"),this.contextService.clearOutletData((0,l.kO)(this.elementRef.nativeElement))}getPath(){return this.route.snapshot.params.id}getTrackingConfig(d){return(0,p.A)((0,p.A)({},super.getTrackingConfig(d)),{},{popup:!0})}onConfigReceived(){}onClick(){this.initialized&&this.onClickClose()}onClickClose(){var d=this;return(0,t.A)(function*(){d.elementRef.nativeElement.classList.remove("visible");const f=(0,u.UE)(d.platformId)?getComputedStyle(d.container.nativeElement):{},b=()=>{d.store.dispatch((0,i.k4)({url:window.location.href,key:"POPUP_CLOSE_CLICKED",params:{popup:d.viewConfig&&d.viewConfig.name}})),!d.hasNavigated&&(0,a.dg)(d.displayMode)?d.purpleService.closeView():d.router.navigate([{outlets:{modal:null}}],{queryParamsHandling:"merge",replaceUrl:!0}),d.contextService.closeModalCompleteSubject.next(!0)};parseFloat(f.transitionDuration)>0?(0,l.L$)(d.container.nativeElement,"transitionend",b):b()})()}onClickContent(d){d.stopPropagation()}update(){return(0,t.A)(function*(){})()}}return(s=M).\u0275fac=(()=>{let P;return function(f){return(P||(P=n.xGo(s)))(f||s)}})(),s.\u0275cmp=n.VBU({type:s,selectors:[["storefront-modal"]],viewQuery:function(d,f){if(1&d&&(n.GBs(C,7,n.c1b),n.GBs(m,7,n.aKT),n.GBs(w,7,n.aKT)),2&d){let b;n.mGM(b=n.lsd())&&(f.template=b.first),n.mGM(b=n.lsd())&&(f.scrollContainer=b.first),n.mGM(b=n.lsd())&&(f.container=b.first)}},hostVars:1,hostBindings:function(d,f){1&d&&n.bIt("click",function(){return f.onClick()}),2&d&&n.BMQ("animation",f.animation)},features:[n.Jv_([E.B]),n.Vt3],decls:7,vars:4,consts:[["container",""],["scrollContainer",""],["viewChild",""],[3,"click"],[1,"icon","icon-close",3,"click"],["storefrontCheckOverflowTarget","self",1,"modal-content",3,"storefrontCheckOverflow"],[3,"pxpDynamicComponent","baseConfig"]],template:function(d,f){if(1&d){const b=n.RV6();n.j41(0,"div",3,0),n.bIt("click",function(A){return n.eBV(b),n.Njj(f.onClickContent(A))}),n.j41(2,"button",4),n.bIt("click",function(){return n.eBV(b),n.Njj(f.onClickClose())}),n.k0s(),n.j41(3,"div",5,1),n.Z7z(5,o,2,1,null,6,n.Vm6),n.k0s()()}2&d&&(n.ZvI("modal-container ",null==f.viewConfig?null:f.viewConfig.name,""),n.R7$(3),n.Y8G("storefrontCheckOverflow","vertical"),n.R7$(2),n.Dyx(f.children))},dependencies:[x.d,W.G,B.q],styles:["storefront-modal,.pxp-modal{position:fixed;height:auto;bottom:0;width:100%;left:0;top:0;background:transparent;z-index:21;overflow:hidden;display:flex;justify-content:center;align-items:center;transition:background-color 60ms ease-in}storefront-modal[animation=POP_UP] .modal-container,.pxp-modal[animation=POP_UP] .modal-container{min-width:200px;min-height:200px;max-width:90%;max-height:90%;width:auto;transform:scale(0);position:relative}storefront-modal[animation=POP_UP] .modal-container .modal-content,.pxp-modal[animation=POP_UP] .modal-container .modal-content{padding:var(--modalPadding);padding-bottom:var(--modalPaddingBottom)}storefront-modal[animation=POP_UP].visible,.pxp-modal[animation=POP_UP].visible{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:transparent}storefront-modal[animation=POP_UP].visible .modal-container,.pxp-modal[animation=POP_UP].visible .modal-container{transform:scale(1);top:auto;left:auto}storefront-modal.visible,.pxp-modal.visible{opacity:1;transition:background-color 60ms ease-out;background-color:#00000080}storefront-modal.visible .modal-container,.pxp-modal.visible .modal-container{transition:transform .2s ease-out 60ms;transform:translateY(0)}storefront-modal .modal-content,.pxp-modal .modal-content{overflow:auto}storefront-modal .modal-content>storefront-element:last-child,storefront-modal .modal-content>div:last-child,.pxp-modal .modal-content>storefront-element:last-child,.pxp-modal .modal-content>div:last-child{margin-bottom:var(--modalPaddingBottom)}storefront-modal .modal-container,.pxp-modal .modal-container{position:absolute;top:var(--appBarHeight);bottom:0;height:auto;width:100%;background-color:var(--modalBgColor);overflow:auto;display:flex;flex-direction:column;transform:translateY(100%);transition:transform .15s ease-in}storefront-modal .modal-container>button.icon-close,.pxp-modal .modal-container>button.icon-close{align-self:flex-end;width:32px;height:32px;flex-shrink:0;font-size:18px;margin:var(--gutter)}storefront-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom,.pxp-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom{-webkit-mask-image:linear-gradient(to bottom,black 0%,black calc(100% - 2 * var(--gutter)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to bottom,#000,#000 calc(100% - 2 * var(--gutter)),#0000)}storefront-modal .modal-container .modal-content.scrollable-vert.scrollable-top,.pxp-modal .modal-container .modal-content.scrollable-vert.scrollable-top{-webkit-mask-image:linear-gradient(to top,black 0%,black calc(100% - 2 * var(--gutter)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to top,#000,#000 calc(100% - 2 * var(--gutter)),#0000)}storefront-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom.scrollable-top,.pxp-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom.scrollable-top{-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,black calc(2 * var(--gutter)),black calc(100% - 2 * var(--gutter)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to bottom,#0000,#000 calc(2 * var(--gutter)),#000 calc(100% - 2 * var(--gutter)),#0000)}\n"],encapsulation:2}),M})()},2364:(y,D,e)=>{e.d(D,{S:()=>t});var p=e(3953);let t=(()=>{var u;class n{constructor(){this.data=[{identifier:"phone",minScreenWidth:null},{identifier:"tablet_small",minScreenWidth:533},{identifier:"tablet_large",minScreenWidth:720}]}init(){}getDeviceClass(){const c=this.data.reduce((h,E)=>window.innerWidth>=E.minScreenWidth?E:h,null);return c&&c.identifier}}return(u=n).\u0275fac=function(g){return new(g||u)},u.\u0275prov=p.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}),n})()},354:(y,D,e)=>{e.d(D,{s:()=>T});var p=e(467),t=e(3953),u=e(496),n=e(5102),v=e(9118),g=e(3072),c=e(1413),h=e(4843),E=e(2364),i=e(1626),a=e(5964),l=e(6697),r=e(7879);let T=(()=>{var x;class B{constructor(){this.publicationService=(0,t.WQX)(u.m),this.http=(0,t.WQX)(i.Qq),this.purpleService=(0,t.WQX)(n.Wj),this.kioskConfigService=(0,t.WQX)(v.x),this.sessionService=(0,t.WQX)(g.Q),this.deviceClassService=(0,t.WQX)(E.S),this.appData=(0,t.WQX)(r.fj),this.data=[],this.initPdf=new c.B,this.presenterLoaded=new c.B,this.subscriptions=[]}init(C){var m=this;return(0,p.A)(function*(){const[w,O]=yield Promise.all([(0,h._)(m.kioskConfigService.getConfig()),m.publicationService.selectByContentCriteria(C)]);m.kioskConfigData=w,m.content=O;const[o,_]=yield Promise.all([m.getLink(m.content,"pdf_single_page_download"),m.getLink(m.content,"pdf_download")]);yield m.getSinglePageDownloadLinkFromJSON(o),m.initPdf.next(_)})()}getLink(C,m){var w=this;return(0,p.A)(function*(){const O=yield(0,n.GA)(C,w.purpleService);if(C&&C.properties&&!O){let o=Object.keys(C.properties);for(let _=0;_<o.length;_++)if(o[_]===m)return w.getAttachmentLink(C,C.properties[o[_]]);return null}})()}getSinglePageDownloadLinkFromJSON(C){var m=this;return(0,p.A)(function*(){try{const w=m.presenterLoaded.pipe((0,a.p)(O=>O),(0,l.s)(1)).subscribe(function(){var O=(0,p.A)(function*(o){if(o){const f=yield(0,h._)(m.http.get(C));var _=WP.instance.getPurpleData().getPages();if(f){var s=0;m.data=[];for(const b of _){for(var M=parseInt(b.pageCount),P=[],d=0;d<M;d++)P.push(yield m.getAttachmentLink(m.content,f[s],s+1)),s++;m.data.push(P)}}}});return function(o){return O.apply(this,arguments)}}());m.subscriptions.push(w)}catch(w){console.error("Error fetching data from JSON link:",w)}})()}getAttachmentLink(C,m,w){var O=this;return(0,p.A)(function*(){const o=JSON.parse(localStorage.getItem("AppWebConfiguration")).id;let _="".concat(O.appData.baseUrl,"/resources/web/attachment/").concat(o,"/").concat(C.id,"/").concat(m);_+="?deviceId=".concat(localStorage.getItem("deviceId")),_+="&deviceClass=".concat(O.deviceClassService.getDeviceClass()),O.appData.preview&&(_+="&preview=true");const s=yield O.sessionService.getReceiptData(C);if(s){const{receipt:P,providerType:d}=s;_+="&receipt=".concat(window.encodeURIComponent(P)),_+="&providerType=".concat(d)}const M=O.sanitize(O.getFileName(C,m,w));return _+="&targetFilename=".concat(window.encodeURIComponent(M)),_})()}getSingleDownloadLink(){return this.data&&WP.instance&&WP.instance.getScroller()&&this.data[WP.instance.getScroller().getIndex()]}getDownloadLink(){var C=this;return(0,p.A)(function*(){return yield C.getLink(C.content,"pdf_download")})()}getFileName(C,m,w){const o=this.kioskConfigData.kioskConfig.downloadFileName,_=m.substr(m.lastIndexOf(".")),s=w?" - "+w:"";switch(o){case"publication_issue":return this.publicationService.currentPublication.name+" - "+C.name+s+_;case"issue":return C.name+s+_;default:return m}}sanitize(C){return C.replace(/,/g,"").replace(/\xe4/g,"ae").replace(/\xc4/g,"Ae").replace(/\xf6/g,"oe").replace(/\xd6/g,"Oe").replace(/\xfc/g,"ue").replace(/\xdc/g,"Ue")}ngOnDestroy(){this.subscriptions.forEach(C=>C.unsubscribe())}}return(x=B).\u0275fac=function(C){return new(C||x)},x.\u0275prov=t.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}),B})()},3072:(y,D,e)=>{e.d(D,{Q:()=>g});var p=e(467),t=e(3953),u=e(4404),v=e(5102);let g=(()=>{var c;class h{constructor(){this.purpleService=(0,t.WQX)(v.Wj)}getReceiptData(i){var a=this;return(0,p.A)(function*(){return i.purchaseData.purchasedBy.includes(u.PurchaseOption.ENTITLEMENT)?{receipt:yield a.getAccessToken(),providerType:"entitlement"}:i.purchaseData.purchasedBy.includes(u.PurchaseOption.SUBSCRIPTION_CODE)?{receipt:(yield a.getSubscriptionCodes()).join(","),providerType:"subscriptionCode"}:null})()}getAccessToken(){var i=this;return(0,p.A)(function*(){const a=yield i.purpleService.purpleRef.entitlement.getUserData();return null==a?void 0:a.accessToken})()}getSubscriptionCodes(){var i=this;return(0,p.A)(function*(){return(yield i.purpleService.purpleRef.store.getSubscriptionCodes()).subscriptionCodes})()}}return(c=h).\u0275fac=function(i){return new(i||c)},c.\u0275prov=t.jDH({token:c,factory:c.\u0275fac,providedIn:"root"}),h})()},7967:(y,D,e)=>{function p(t,u){return"object"!=typeof t?1===u?t:t+"S":1===u?t.singular:t.plural}e.d(D,{t:()=>p})}}]);
1
+ "use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["common"],{3472:(y,E,e)=>{e.d(E,{M:()=>C});var _=e(9379),t=e(9758),u=e(8179),n=e(362),v=e.n(n),g=e(4452),c=e(3713),h=e(3953);let C=(()=>{var i;class a extends c.r{getDataFromContext(r=this.context){return this.getSelectionScope()===t.x.USER_ATTRIBUTE?r.userAttributes[this.getParam()]:r[this.getParam()]}hasContextChanged(r){let T=super.hasContextChanged(r);if(!T&&this.isSelectionEnabled()){const x=this.getDataFromContext(),B=this.getDataFromContext(r);T=!v()(x,B)}return T}ngOnDestroy(){super.ngOnDestroy(),this.dataSource&&this.contextService.unregisterDataSource(this.dataSource)}getEntryConfig(r){return r&&r.ad||(0,_.A)({},this.baseConfig().content)}getEntryContext(r){var T;let x=(0,u.uQ)(null!==(T=this.getConfig().dataSource.entryId)&&void 0!==T?T:this.getDataType(),this.context,this.contextService.$functions,this.globalService.getGlobalData());return(0,_.A)((0,_.A)({},this.baseContext()),{},{[x]:r})}getConfig(){return this.config||this.baseConfig()}isSelectionEnabled(){return!1}stripChildConfigs(r){return"content"in r&&"object"==typeof r.content&&null!==r.content&&(r.content={_uuid:r.content._uuid,condition:r.content.condition}),r}getDataType(){return this.getConfig().dataSource.type}getGroupDataType(r){return r.dataSource.type}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),...(0,g.Kj)(this.baseConfig())].filter(r=>!!r)}}return(i=a).\u0275fac=(()=>{let l;return function(T){return(l||(l=h.xGo(i)))(T||i)}})(),i.\u0275dir=h.FsC({type:i,features:[h.Vt3]}),a})()},3303:(y,E,e)=>{e.d(E,{y:()=>n});var _=e(177),t=e(9733),u=e(3953);let n=(()=>{var v;class g{}return(v=g).\u0275fac=function(h){return new(h||v)},v.\u0275mod=u.$C({type:v}),v.\u0275inj=u.G2t({imports:[_.MD,t.ContentTitleModule]}),g})()},5848:(y,E,e)=>{e.d(E,{Q:()=>g});var _=e(467),t=e(3953),u=e(1210),n=e(5706),v=e(5102);let g=(()=>{var c;class h extends u.${constructor(){super(...arguments),this.purpleService=(0,t.WQX)(v.Wj),this.changeDetectorRef=(0,t.WQX)(t.gRc),this.bundleContent=[]}get contextKey(){var i,a,l;return null!==(i=null!==(a=null===(l=this.config)||void 0===l?void 0:l.contextKey)&&void 0!==a?a:this.defaultConfig.contextKey)&&void 0!==i?i:"content"}updatePostWithOptionalData(i,a){var l=this;return(0,_.A)(function*(){const r=yield l.purpleService.getOptionalData(l.catalogContent,i,a);return(0,n.mF)(l.catalogContent)?(l.catalogContent=r,l.catalogContent):(0,n.G4)(l.catalogContent)?(l.bundleContent=(0,n.Ig)(l.catalogContent),l.bundleContent[a]=r,l.bundleContent[a]):void 0})()}hasContentChanged(i,a){return(null==i?void 0:i.id)!==(null==a?void 0:a.id)||(null==i?void 0:i.version)!==(null==a?void 0:a.version)}onConfigChanges(){var i;let a=null===(i=this.context)||void 0===i?void 0:i[this.contextKey];Array.isArray(a)&&(a=a[0]);const l=this.hasContentChanged(this.catalogContent,a)&&!!a;return l&&(this.catalogContent=a),this.changeDetectorRef.markForCheck(),l}isGhost(){var i;return!this.config||!(null!==(i=this.context)&&void 0!==i&&i[this.contextKey])}ngOnDestroy(){super.ngOnDestroy()}getContextKey(){return this.contextKey}}return(c=h).\u0275fac=(()=>{let C;return function(a){return(C||(C=t.xGo(c)))(a||c)}})(),c.\u0275dir=t.FsC({type:c,features:[t.Vt3]}),h})()},9733:(y,E,e)=>{e.r(E),e.d(E,{ContentTitleModule:()=>w,component:()=>O});var _=e(177),t=e(3953);const u={titleMessage:"%s"};var n=e(5848),v=e(9516),g=e(5102),c=e(1652),h=e(8909);const C=o=>[o];function i(o,d){1&o&&(t.j41(0,"h1"),t.EFF(1,"..."),t.k0s())}function a(o,d){if(1&o&&t.nrm(0,"h1",0),2&o){const s=t.XpG(2);t.Y8G("storefrontTranslate",s.config.titleMessage)("storefrontTranslateArgs",t.eq3(2,C,null==s.catalogContent?null:s.catalogContent.name))}}function l(o,d){if(1&o&&t.DNE(0,i,2,0,"h1")(1,a,1,4,"h1",0),2&o){const s=t.XpG();t.vxM(s.ghost?0:1)}}let r=(()=>{var o;class d extends n.Q{constructor(){super(...arguments),this.elementRef=(0,t.WQX)(t.aKT),this.contextService=(0,t.WQX)(v.V),this.injector=(0,t.WQX)(t.zZn),this.document=(0,t.WQX)(_.qQ),this.purpleService=(0,t.WQX)(g.Wj),this.globalService=(0,t.WQX)(c.d),this.defaultConfig=u,this.type="content-title"}}return(o=d).\u0275fac=(()=>{let s;return function(P){return(s||(s=t.xGo(o)))(P||o)}})(),o.\u0275cmp=t.VBU({type:o,selectors:[["storefront-content-title"]],standalone:!1,features:[t.Vt3],decls:1,vars:1,consts:[[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(M,P){1&M&&t.DNE(0,l,2,1),2&M&&t.vxM(P.domHelper.leanDom?-1:0)},dependencies:[h.M],styles:["storefront-content-title>h1{margin-top:var(--contentHeaderMarginTop);margin-bottom:var(--contentHeaderMarginBottom);padding-top:var(--contentHeaderPaddingVert);padding-bottom:var(--contentHeaderPaddingVert);font-size:1.5rem}\n"],encapsulation:2}),d})();const T=["class","pxp-content-title"],x=o=>[o];function B(o,d){1&o&&(t.j41(0,"h1"),t.EFF(1,"..."),t.k0s())}function W(o,d){if(1&o&&t.nrm(0,"h1",0),2&o){const s=t.XpG(2);t.Y8G("storefrontTranslate",s.config.titleMessage)("storefrontTranslateArgs",t.eq3(2,x,null==s.catalogContent?null:s.catalogContent.name))}}function D(o,d){if(1&o&&t.DNE(0,B,2,0,"h1")(1,W,1,4,"h1",0),2&o){const s=t.XpG();t.vxM(s.ghost?0:1)}}let m=(()=>{var o;class d extends r{constructor(){super(...arguments),this.translateDirective=(0,t.WQX)(h.M)}onConfigChanges(){super.onConfigChanges(),setTimeout(()=>{var M,P;this.translateDirective.applyTranslation(null===(M=this.config)||void 0===M?void 0:M.titleMessage,[null===(P=this.catalogContent)||void 0===P?void 0:P.name])})}}return(o=d).\u0275fac=(()=>{let s;return function(P){return(s||(s=t.xGo(o)))(P||o)}})(),o.\u0275cmp=t.VBU({type:o,selectors:[["h1",8,"pxp-content-title"]],hostAttrs:["ngSkipHydration","true"],standalone:!1,features:[t.nM4([h.M]),t.Vt3],attrs:T,decls:1,vars:1,consts:[[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(M,P){1&M&&t.DNE(0,D,2,1),2&M&&t.vxM(P.domHelper.leanDom?-1:0)},dependencies:[h.M],styles:[".pxp-content-title{margin-top:var(--contentHeaderMarginTop);margin-bottom:var(--contentHeaderMarginBottom);padding-top:var(--contentHeaderPaddingVert);padding-bottom:var(--contentHeaderPaddingVert);font-size:1.5rem}\n"],encapsulation:2}),d})(),w=(()=>{var o;class d{}return(o=d).\u0275fac=function(M){return new(M||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[_.MD]}),d})();const O={component:r,leanDomComponent:m}},1802:(y,E,e)=>{e.d(E,{c:()=>h});var _=e(9379),t=e(3953),u=e(1210),n=e(3331),v=e(9758),g=e(8075),c=e(8909);let h=(()=>{var C;class i extends u.${constructor(){super(...arguments),this.router=(0,t.WQX)(n.Ix),this.type="switch",this.defaultConfig={}}ngOnInit(){this.config=(0,_.A)({},this.baseConfig()),this.checked=this.config.initialValue,super.ngOnInit(),this.contextService.viewContext$.subscribe(l=>{const r=this.config.paramScope===v.x.USER_ATTRIBUTE?l.userAttributes[this.config.param]:l[this.config.param];r&&(this.checked="true"===r)})}isChecked(){return this.checked}toggle(){this.setChecked(!this.checked)}setChecked(l){this.config.paramScope===v.x.USER_ATTRIBUTE?this.contextService.setUserAttribute(this.config.param,"".concat(l)):(0,g.CV)(this.router,{[this.config.param]:l})}}return(C=i).\u0275fac=(()=>{let a;return function(r){return(a||(a=t.xGo(C)))(r||C)}})(),C.\u0275cmp=t.VBU({type:C,selectors:[["storefront-switch"]],hostVars:2,hostBindings:function(l,r){2&l&&t.AVh("checked",r.checked)},standalone:!1,features:[t.Vt3],decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(l,r){1&l&&(t.nrm(0,"label",0),t.j41(1,"label",1)(2,"input",2),t.bIt("change",function(){return r.toggle()}),t.k0s(),t.nrm(3,"span"),t.k0s()),2&l&&(t.Y8G("storefrontTranslate",r.config.label),t.R7$(2),t.Y8G("checked",r.isChecked()))},dependencies:[c.M],styles:['storefront-switch,.pxp-switch{align-items:center;display:flex}storefront-switch .label,.pxp-switch .label{margin:0 var(--gutter)}storefront-switch .switch,.pxp-switch .switch{text-align:left;width:calc(var(--switchWidth) - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2);border-radius:var(--switchBorderRadius);background-color:var(--switchActiveColor);display:inline-block;position:relative;cursor:pointer}storefront-switch .switch>span,.pxp-switch .switch>span{display:block;width:100%;height:100%;border-radius:var(--switchBorderRadius)}storefront-switch .switch>span:before,storefront-switch .switch>span:after,.pxp-switch .switch>span:before,.pxp-switch .switch>span:after{content:"";cursor:pointer;position:absolute}storefront-switch .switch>span:before,.pxp-switch .switch>span:before{width:100%;height:100%;box-sizing:border-box;background-color:var(--switchBackgroundColor);border-radius:var(--switchBorderRadius);transition:opacity .2s ease-out .1s,transform .2s ease-out .1s;transform:scale(1);opacity:1}storefront-switch .switch>span:after,.pxp-switch .switch>span:after{top:var(--switchBorderWidth);z-index:3;transition:transform .4s cubic-bezier(.44,-.12,.07,1.15);width:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));background-color:var(--switchHandleColor);border-radius:100%;box-shadow:0 2px 5px #0000004d;left:var(--switchBorderWidth)}storefront-switch .switch>input[type=checkbox],.pxp-switch .switch>input[type=checkbox]{opacity:0;position:absolute}storefront-switch .switch>input[type=checkbox]:checked~span:before,.pxp-switch .switch>input[type=checkbox]:checked~span:before{transform:scale(0);opacity:.7}storefront-switch .switch>input[type=checkbox]:checked~span:after,.pxp-switch .switch>input[type=checkbox]:checked~span:after{transform:translate(100%)}\n'],encapsulation:2}),i})()},2960:(y,E,e)=>{e.d(E,{q:()=>v});var _=e(1802),t=e(3953),u=e(8909);const n=["class","pxp-switch"];let v=(()=>{var g;class c extends _.c{}return(g=c).\u0275fac=(()=>{let h;return function(i){return(h||(h=t.xGo(g)))(i||g)}})(),g.\u0275cmp=t.VBU({type:g,selectors:[["div",8,"pxp-switch"]],standalone:!1,features:[t.Vt3],attrs:n,decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(C,i){1&C&&(t.nrm(0,"label",0),t.j41(1,"label",1)(2,"input",2),t.bIt("change",function(){return i.toggle()}),t.k0s(),t.nrm(3,"span"),t.k0s()),2&C&&(t.Y8G("storefrontTranslate",i.config.label),t.R7$(2),t.Y8G("checked",i.isChecked()))},dependencies:[u.M],styles:['storefront-switch,.pxp-switch{align-items:center;display:flex}storefront-switch .label,.pxp-switch .label{margin:0 var(--gutter)}storefront-switch .switch,.pxp-switch .switch{text-align:left;width:calc(var(--switchWidth) - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2);border-radius:var(--switchBorderRadius);background-color:var(--switchActiveColor);display:inline-block;position:relative;cursor:pointer}storefront-switch .switch>span,.pxp-switch .switch>span{display:block;width:100%;height:100%;border-radius:var(--switchBorderRadius)}storefront-switch .switch>span:before,storefront-switch .switch>span:after,.pxp-switch .switch>span:before,.pxp-switch .switch>span:after{content:"";cursor:pointer;position:absolute}storefront-switch .switch>span:before,.pxp-switch .switch>span:before{width:100%;height:100%;box-sizing:border-box;background-color:var(--switchBackgroundColor);border-radius:var(--switchBorderRadius);transition:opacity .2s ease-out .1s,transform .2s ease-out .1s;transform:scale(1);opacity:1}storefront-switch .switch>span:after,.pxp-switch .switch>span:after{top:var(--switchBorderWidth);z-index:3;transition:transform .4s cubic-bezier(.44,-.12,.07,1.15);width:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));height:calc(var(--switchWidth) / 2 - 2 * var(--switchBorderWidth));background-color:var(--switchHandleColor);border-radius:100%;box-shadow:0 2px 5px #0000004d;left:var(--switchBorderWidth)}storefront-switch .switch>input[type=checkbox],.pxp-switch .switch>input[type=checkbox]{opacity:0;position:absolute}storefront-switch .switch>input[type=checkbox]:checked~span:before,.pxp-switch .switch>input[type=checkbox]:checked~span:before{transform:scale(0);opacity:.7}storefront-switch .switch>input[type=checkbox]:checked~span:after,.pxp-switch .switch>input[type=checkbox]:checked~span:after{transform:translate(100%)}\n'],encapsulation:2}),c})()},9645:(y,E,e)=>{e.r(E),e.d(E,{SwitchModule:()=>v,component:()=>g});var _=e(177),t=e(1802),u=e(2960),n=e(3953);let v=(()=>{var c;class h{}return(c=h).\u0275fac=function(i){return new(i||c)},c.\u0275mod=n.$C({type:c}),c.\u0275inj=n.G2t({imports:[_.MD]}),h})();const g={component:t.c,leanDomComponent:u.q}},8301:(y,E,e)=>{e.d(E,{d:()=>u});var _=e(177),t=e(3953);let u=(()=>{var n;class v{}return(n=v).\u0275fac=function(c){return new(c||n)},n.\u0275mod=t.$C({type:n}),n.\u0275inj=t.G2t({imports:[_.MD]}),v})()},2316:(y,E,e)=>{e.r(E),e.d(E,{ModalComponent:()=>d});var _=e(9379),t=e(467),u=e(177),n=e(3953),v=e(9079),g=e(3331),c=e(5102),h=e(9745),C=e(8251),i=e(610),a=e(3178),l=e(2962),r=e(7879),T=e(6080),x=e(8301),B=e(2868),W=e(680);const D=["template"],m=["scrollContainer"],w=["container"];function O(s,M){}function o(s,M){1&s&&n.DNE(0,O,0,0,"ng-template",6,2,n.C5r),2&s&&n.Y8G("baseConfig",M.$implicit)}let d=(()=>{var s;class M extends T.v{constructor(){super(...arguments),this.document=(0,n.WQX)(u.qQ),this.platformId=(0,n.WQX)(n.Agw),this.purpleService=(0,n.WQX)(c.Wj),this.purpleEnv=(0,n.WQX)(r.r6),this.renderer=(0,n.WQX)(n.sFG),this.router=(0,n.WQX)(g.Ix),this.context={},this.isModal=!0}static isValidAnimation(p){return Object.values(h.L).includes(p)}ngOnInit(){this.contextService.closeModalSubject.pipe((0,v.pQ)(this.destroyRef)).subscribe(b=>{this.elementRef.nativeElement.contains(b)?this.onClickClose():this.contextService.closeModalCompleteSubject.next(!1)}),this.hasNavigated=this.contextService.navigationCount>0,this.renderer.addClass(this.document.body,"no-scroll");const p=this.store.snapshot(this.route.params),f=p&&p.animation;this.animation=f&&M.isValidAnimation(f)?f:h.L.SLIDE_IN}ngAfterViewInit(){var p=()=>super.ngOnInit,f=this;return(0,t.A)(function*(){yield(0,a.wR)(1);const b=getComputedStyle(f.container.nativeElement),S=()=>{p().call(f),f.initialized=!0},A=parseFloat(b.transitionDuration);A>0&&f.animation!==h.L.POP_UP?setTimeout(S,A):S(),f.elementRef.nativeElement.classList.add("visible"),f.displayMode=yield f.purpleService.getDisplayMode()})()}ngOnDestroy(){this.renderer.removeClass(this.document.body,"no-scroll"),this.contextService.clearOutletData((0,l.kO)(this.elementRef.nativeElement))}getPath(){return this.route.snapshot.params.id}getTrackingConfig(p){return(0,_.A)((0,_.A)({},super.getTrackingConfig(p)),{},{popup:!0})}onConfigReceived(){}onClick(){this.initialized&&this.onClickClose()}onClickClose(){var p=this;return(0,t.A)(function*(){p.elementRef.nativeElement.classList.remove("visible");const f=(0,u.UE)(p.platformId)?getComputedStyle(p.container.nativeElement):{},b=()=>{p.store.dispatch((0,i.k4)({url:window.location.href,key:"POPUP_CLOSE_CLICKED",params:{popup:p.viewConfig&&p.viewConfig.name}})),!p.hasNavigated&&(0,a.dg)(p.displayMode)?p.purpleService.closeView():p.router.navigate([{outlets:{modal:null}}],{queryParamsHandling:"merge",replaceUrl:!0}),p.contextService.closeModalCompleteSubject.next(!0)};parseFloat(f.transitionDuration)>0?(0,l.L$)(p.container.nativeElement,"transitionend",b):b()})()}onClickContent(p){p.stopPropagation()}update(){return(0,t.A)(function*(){})()}}return(s=M).\u0275fac=(()=>{let P;return function(f){return(P||(P=n.xGo(s)))(f||s)}})(),s.\u0275cmp=n.VBU({type:s,selectors:[["storefront-modal"]],viewQuery:function(p,f){if(1&p&&(n.GBs(D,7,n.c1b),n.GBs(m,7,n.aKT),n.GBs(w,7,n.aKT)),2&p){let b;n.mGM(b=n.lsd())&&(f.template=b.first),n.mGM(b=n.lsd())&&(f.scrollContainer=b.first),n.mGM(b=n.lsd())&&(f.container=b.first)}},hostVars:1,hostBindings:function(p,f){1&p&&n.bIt("click",function(){return f.onClick()}),2&p&&n.BMQ("animation",f.animation)},features:[n.Jv_([C.B]),n.Vt3],decls:7,vars:4,consts:[["container",""],["scrollContainer",""],["viewChild",""],[3,"click"],[1,"icon","icon-close",3,"click"],["storefrontCheckOverflowTarget","self",1,"modal-content",3,"storefrontCheckOverflow"],[3,"pxpDynamicComponent","baseConfig"]],template:function(p,f){if(1&p){const b=n.RV6();n.j41(0,"div",3,0),n.bIt("click",function(A){return n.eBV(b),n.Njj(f.onClickContent(A))}),n.j41(2,"button",4),n.bIt("click",function(){return n.eBV(b),n.Njj(f.onClickClose())}),n.k0s(),n.j41(3,"div",5,1),n.Z7z(5,o,2,1,null,6,n.Vm6),n.k0s()()}2&p&&(n.ZvI("modal-container ",null==f.viewConfig?null:f.viewConfig.name,""),n.R7$(3),n.Y8G("storefrontCheckOverflow","vertical"),n.R7$(2),n.Dyx(f.children))},dependencies:[x.d,W.G,B.q],styles:["storefront-modal,.pxp-modal{position:fixed;height:auto;bottom:0;width:100%;left:0;top:0;background:transparent;z-index:21;overflow:hidden;display:flex;justify-content:center;align-items:center;transition:background-color 60ms ease-in}storefront-modal[animation=POP_UP] .modal-container,.pxp-modal[animation=POP_UP] .modal-container{min-width:200px;min-height:200px;max-width:90%;max-height:90%;width:auto;transform:scale(0);position:relative}storefront-modal[animation=POP_UP] .modal-container .modal-content,.pxp-modal[animation=POP_UP] .modal-container .modal-content{padding:var(--modalPadding);padding-bottom:var(--modalPaddingBottom)}storefront-modal[animation=POP_UP].visible,.pxp-modal[animation=POP_UP].visible{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background-color:transparent}storefront-modal[animation=POP_UP].visible .modal-container,.pxp-modal[animation=POP_UP].visible .modal-container{transform:scale(1);top:auto;left:auto}storefront-modal.visible,.pxp-modal.visible{opacity:1;transition:background-color 60ms ease-out;background-color:#00000080}storefront-modal.visible .modal-container,.pxp-modal.visible .modal-container{transition:transform .2s ease-out 60ms;transform:translateY(0)}storefront-modal .modal-content,.pxp-modal .modal-content{overflow:auto}storefront-modal .modal-content>storefront-element:last-child,storefront-modal .modal-content>div:last-child,.pxp-modal .modal-content>storefront-element:last-child,.pxp-modal .modal-content>div:last-child{margin-bottom:var(--modalPaddingBottom)}storefront-modal .modal-container,.pxp-modal .modal-container{position:absolute;top:var(--appBarHeight);bottom:0;height:auto;width:100%;background-color:var(--modalBgColor);overflow:auto;display:flex;flex-direction:column;transform:translateY(100%);transition:transform .15s ease-in}storefront-modal .modal-container>button.icon-close,.pxp-modal .modal-container>button.icon-close{align-self:flex-end;width:32px;height:32px;flex-shrink:0;font-size:18px;margin:var(--gutter)}storefront-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom,.pxp-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom{-webkit-mask-image:linear-gradient(to bottom,black 0%,black calc(100% - 2 * var(--gutter)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to bottom,#000,#000 calc(100% - 2 * var(--gutter)),#0000)}storefront-modal .modal-container .modal-content.scrollable-vert.scrollable-top,.pxp-modal .modal-container .modal-content.scrollable-vert.scrollable-top{-webkit-mask-image:linear-gradient(to top,black 0%,black calc(100% - 2 * var(--gutter)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to top,#000,#000 calc(100% - 2 * var(--gutter)),#0000)}storefront-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom.scrollable-top,.pxp-modal .modal-container .modal-content.scrollable-vert.scrollable-bottom.scrollable-top{-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,0) 0%,black calc(2 * var(--gutter)),black calc(100% - 2 * var(--gutter)),rgba(0,0,0,0) 100%);mask-image:linear-gradient(to bottom,#0000,#000 calc(2 * var(--gutter)),#000 calc(100% - 2 * var(--gutter)),#0000)}\n"],encapsulation:2}),M})()},2364:(y,E,e)=>{e.d(E,{S:()=>t});var _=e(3953);let t=(()=>{var u;class n{constructor(){this.data=[{identifier:"phone",minScreenWidth:null},{identifier:"tablet_small",minScreenWidth:533},{identifier:"tablet_large",minScreenWidth:720}]}getDeviceClass(){const c=this.data.reduce((h,C)=>window.innerWidth>=C.minScreenWidth?C:h,null);return c&&c.identifier}}return(u=n).\u0275fac=function(g){return new(g||u)},u.\u0275prov=_.jDH({token:u,factory:u.\u0275fac,providedIn:"root"}),n})()},354:(y,E,e)=>{e.d(E,{s:()=>T});var _=e(467),t=e(3953),u=e(496),n=e(5102),v=e(9118),g=e(3072),c=e(1413),h=e(4843),C=e(2364),i=e(1626),a=e(5964),l=e(6697),r=e(7879);let T=(()=>{var x;class B{constructor(){this.publicationService=(0,t.WQX)(u.m),this.http=(0,t.WQX)(i.Qq),this.purpleService=(0,t.WQX)(n.Wj),this.kioskConfigService=(0,t.WQX)(v.x),this.sessionService=(0,t.WQX)(g.Q),this.deviceClassService=(0,t.WQX)(C.S),this.appData=(0,t.WQX)(r.fj),this.data=[],this.initPdf=new c.B,this.presenterLoaded=new c.B,this.subscriptions=[]}init(D){var m=this;return(0,_.A)(function*(){const[w,O]=yield Promise.all([(0,h._)(m.kioskConfigService.getConfig()),m.publicationService.selectByContentCriteria(D)]);m.kioskConfigData=w,m.content=O;const[o,d]=yield Promise.all([m.getLink(m.content,"pdf_single_page_download"),m.getLink(m.content,"pdf_download")]);yield m.getSinglePageDownloadLinkFromJSON(o),m.initPdf.next(d)})()}getLink(D,m){var w=this;return(0,_.A)(function*(){const O=yield(0,n.GA)(D,w.purpleService);if(D&&D.properties&&!O){let o=Object.keys(D.properties);for(let d=0;d<o.length;d++)if(o[d]===m)return w.getAttachmentLink(D,D.properties[o[d]]);return null}})()}getSinglePageDownloadLinkFromJSON(D){var m=this;return(0,_.A)(function*(){try{const w=m.presenterLoaded.pipe((0,a.p)(O=>O),(0,l.s)(1)).subscribe(function(){var O=(0,_.A)(function*(o){if(o&&D){const d=yield(0,h._)(m.http.get(D)),s=WP.instance.getPurpleData().getPages();if(d){let M=0;m.data=[];for(const P of s){const p=parseInt(P.pageCount),f=[];for(let b=0;b<p;b++)f.push(yield m.getAttachmentLink(m.content,d[M],M+1)),M++;m.data.push(f)}}}});return function(o){return O.apply(this,arguments)}}());m.subscriptions.push(w)}catch(w){console.error("Error fetching data from JSON link:",w)}})()}getAttachmentLink(D,m,w){var O=this;return(0,_.A)(function*(){const o=JSON.parse(localStorage.getItem("AppWebConfiguration")).id;let d="".concat(O.appData.baseUrl,"/resources/web/attachment/").concat(o,"/").concat(D.id,"/").concat(m);d+="?deviceId=".concat(localStorage.getItem("deviceId")),d+="&deviceClass=".concat(O.deviceClassService.getDeviceClass()),O.appData.preview&&(d+="&preview=true");const s=yield O.sessionService.getReceiptData(D);if(s){const{receipt:P,providerType:p}=s;d+="&receipt=".concat(window.encodeURIComponent(P)),d+="&providerType=".concat(p)}const M=O.sanitize(O.getFileName(D,m,w));return d+="&targetFilename=".concat(window.encodeURIComponent(M)),d})()}getSingleDownloadLink(){return this.data&&WP.instance&&WP.instance.getScroller()&&this.data[WP.instance.getScroller().getIndex()]}getFileName(D,m,w){const o=this.kioskConfigData.kioskConfig.downloadFileName,d=m.substr(m.lastIndexOf(".")),s=w?" - "+w:"";switch(o){case"publication_issue":return this.publicationService.currentPublication.name+" - "+D.name+s+d;case"issue":return D.name+s+d;default:return m}}sanitize(D){return D.replace(/,/g,"").replace(/\xe4/g,"ae").replace(/\xc4/g,"Ae").replace(/\xf6/g,"oe").replace(/\xd6/g,"Oe").replace(/\xfc/g,"ue").replace(/\xdc/g,"Ue")}ngOnDestroy(){this.subscriptions.forEach(D=>D.unsubscribe())}}return(x=B).\u0275fac=function(D){return new(D||x)},x.\u0275prov=t.jDH({token:x,factory:x.\u0275fac,providedIn:"root"}),B})()},3072:(y,E,e)=>{e.d(E,{Q:()=>g});var _=e(467),t=e(3953),u=e(4404),v=e(5102);let g=(()=>{var c;class h{constructor(){this.purpleService=(0,t.WQX)(v.Wj)}getReceiptData(i){var a=this;return(0,_.A)(function*(){return i.purchaseData.purchasedBy.includes(u.PurchaseOption.ENTITLEMENT)?{receipt:yield a.getAccessToken(),providerType:"entitlement"}:i.purchaseData.purchasedBy.includes(u.PurchaseOption.SUBSCRIPTION_CODE)?{receipt:(yield a.getSubscriptionCodes()).join(","),providerType:"subscriptionCode"}:null})()}getAccessToken(){var i=this;return(0,_.A)(function*(){const a=yield i.purpleService.purpleRef.entitlement.getUserData();return null==a?void 0:a.accessToken})()}getSubscriptionCodes(){var i=this;return(0,_.A)(function*(){return(yield i.purpleService.purpleRef.store.getSubscriptionCodes()).subscriptionCodes})()}}return(c=h).\u0275fac=function(i){return new(i||c)},c.\u0275prov=t.jDH({token:c,factory:c.\u0275fac,providedIn:"root"}),h})()},7967:(y,E,e)=>{function _(t,u){return"object"!=typeof t?1===u?t:t+"S":1===u?t.singular:t.plural}e.d(E,{t:()=>_})}}]);
@@ -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:()=>C,OK:()=>s,TS:()=>p,We:()=>t});var p=function(r){return r.VERTICAL="vertical",r.HORIZONTAL="horizontal",r.GRID="grid",r.GROUP="group",r.TABS="tabs",r}(p||{}),t=function(r){return r.BLANK="_blank",r.SELF="_self",r}(t||{}),s=function(r){return r.div="div",r.a="a",r.article="article",r.aside="aside",r.br="br",r.button="button",r.details="details",r.dialog="dialog",r.em="em",r.figcaption="figcaption",r.figure="figure",r.footer="footer",r.h1="h1",r.h2="h2",r.h3="h3",r.h4="h4",r.h5="h5",r.h6="h6",r.header="header",r.hr="hr",r.iframe="iframe",r.img="img",r.input="input",r.li="li",r.main="main",r.mark="mark",r.nav="nav",r.ol="ol",r.p="p",r.pre="pre",r.section="section",r.small="small",r.span="span",r.strong="strong",r.summary="summary",r.time="time",r.ul="ul",r}(s||{}),C=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}(C||{})},2285:(O,M,L)=>{L.d(M,{b:()=>b});var p=L(467),i=L(9379),t=L(3953),s=L(1210),C=L(8448),r=L(8004),x=L(8251),B=L(610),D=L(1803);const T={tag:D.OK.div,content:"",attributes:{}};var _=L(8179),y=L(5820);let b=(()=>{var h;class F extends s.${constructor(){super(...arguments),this.translate=(0,t.WQX)(C.D),this.eventActionService=(0,t.WQX)(r.G),this.store=(0,t.WQX)(x.B),this.anchorService=(0,t.WQX)(y.X),this.changeDetectorRef=(0,t.WQX)(t.gRc),this.anchorFeatureEnabled=!1,this.tapHtmlUrl=(0,t.vPA)(null),this.defaultConfig=(0,i.A)({},T)}get dataHref(){const c=this.tapHtmlUrl();return c&&this.baseConfig().tag!==D.OK.a?c:null}get role(){if(!this.domHelper.leanDom||!this.hasAction)return null;const c=this.baseConfig().tag===D.OK.a,l=!!this.tapHtmlUrl();return c?l?null:"button":l?"link":"button"}ngOnInit(){var c=()=>super.ngOnInit,l=this;return(0,p.A)(function*(){if(l.anchorFeatureEnabled=l.anchorService.isAnchorFeatureEnabled(),c().call(l),l.elementRef.nativeElement.innerHTML="",!l.domHelper.leanDom){const u=l.renderer.createElement(l.baseConfig().tag);l.renderer.appendChild(l.elementRef.nativeElement,u)}})()}onConfigChanges(){var c=this;return(0,p.A)(function*(){var l,u;const f=c.domHelper.leanDom?c.elementRef.nativeElement:c.renderer.createElement(c.config.tag),H=(0,i.A)({},c.config.attributes);null!==(l=c.config.attributes)&&void 0!==l&&l.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",d=>{d.origin===new URL(null==H?void 0:H.src).origin&&(d.data.height&&(f.style.height=d.data.height+"px"),d.data.width&&(f.style.width=d.data.width+"px"))})}),Object.keys(H).forEach(d=>f.setAttribute(d,c.config.attributes[d])),c.translatedContent=yield c.translate.translate({text:c.config.content,args:c.config.variables||[]}),f.innerHTML=(0,_.uQ)(c.translatedContent,c.context,c.contextService.$functions,c.globalService.getGlobalData()),c.domHelper.leanDom||(c.elementRef.nativeElement.innerHTML="");let g=f;if(c.anchorFeatureEnabled){const{hasAction:d,tapUrl:E}=c.anchorService.handleAnchorTagsForComponents(c.config.tap);c.hasAction=d,c.tapHtmlUrl.set(E),c.domHelper.leanDom||(g=c.handleAnchorTags(f,c.tapHtmlUrl()))}g.addEventListener("click",d=>c.onClick(d)),c.domHelper.leanDom||c.renderer.appendChild(c.elementRef.nativeElement,g),c.changeDetectorRef.markForCheck()})()}ngOnDestroy(){super.ngOnDestroy()}onClick(c){if(this.config.tap){(this.anchorFeatureEnabled||"touchstart"===c.type)&&c.preventDefault(),this.trackOnClick();const u=(0,_.v3)(this.config.tap);this.eventActionService.processEventAction(u,this)}const l=this.getAnchorElementFromEvent(c);null!=l&&l.href&&(l.target===D.We.BLANK?"external"===l.getAttribute("data-target")?this.trackLinkOpenExternal(l):this.trackLinkOpenAppBrowser(l):this.trackLinkOpenInline(l))}getConfigEscapeProperties(){return["condition"]}isGhost(){return!1}hasContextChanged(c){return super.hasContextChanged(c)||this.translatedContent&&this.translatedContent.indexOf(_.mF)>-1}getAnchorElementFromEvent(c){var l,u;return"a"===(null===(l=c.target)||void 0===l?void 0:l.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,l){if(l){const u=this.renderer.createElement("a");return u.style.height="inherit",u.style.width="inherit",u.setAttribute("href",l),u.appendChild(c),u}return c}trackOnClick(){const c="".concat(this.getTrackingBaseKey(),"_CLICKED");this.dispatchTrackingAction(c,{})}trackLinkOpenExternal(c){const l="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_EXTERNAL");this.dispatchTrackingAction(l,{TARGET_URL:c.href,LINK_TEXT:c.innerText})}trackLinkOpenAppBrowser(c){const l="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_APP_BROWSER");this.dispatchTrackingAction(l,{TARGET_URL:c.href,LINK_TEXT:c.innerText})}trackLinkOpenInline(c){this.store.dispatch((0,B.k4)({url:window.location.href,key:"".concat(this.getTrackingBaseKey(),"_LINK_OPEN_INLINE"),params:{TARGET_URL:c.href,LINK_TEXT:c.innerText}}))}dispatchTrackingAction(c,l){this.store.dispatch((0,B.k4)({url:window.location.href,key:c,params:l}))}}return(h=F).type="html",h.\u0275fac=(()=>{let v;return function(l){return(v||(v=t.xGo(h)))(l||h)}})(),h.\u0275cmp=t.VBU({type:h,selectors:[["storefront-html"]],hostVars:2,hostBindings:function(c,l){2&c&&t.BMQ("data-href",l.dataHref)("role",l.role)},standalone:!1,features:[t.Jv_([x.B]),t.Vt3],decls:0,vars:0,template:function(c,l){},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:()=>g,$S:()=>f,Cq:()=>U,DO:()=>T,EB:()=>r,Ez:()=>H,Gg:()=>$,I5:()=>c,Lw:()=>G,Ny:()=>l,Ob:()=>X,Q5:()=>v,Sj:()=>S,Tz:()=>x,UO:()=>j,VS:()=>E,WL:()=>R,Wb:()=>k,X:()=>B,Zj:()=>V,Zp:()=>A,_O:()=>N,ah:()=>d,bE:()=>D,dD:()=>w,eq:()=>K,f$:()=>b,fy:()=>F,kD:()=>C,mF:()=>u,nY:()=>J,ns:()=>h,qx:()=>I,rm:()=>y,tk:()=>_,uc:()=>P,wf:()=>W});var p=L(2285),i=L(8251),t=L(3953);const s=["class","pxp-html"];let C=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),r=(()=>{var e;class a extends p.b{get href(){return this.tapHtmlUrl()}}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["a",8,"pxp-html"]],hostVars:1,hostBindings:function(m,o){2&m&&t.BMQ("href",o.href,t.B4B)},standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,o){},encapsulation:2,changeDetection:0}),a})(),x=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),B=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),D=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),T=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),_=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),y=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),b=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),h=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),F=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),v=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),c=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),l=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),u=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),f=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),H=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),g=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),d=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),E=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),V=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),U=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),A=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),K=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),S=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),k=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),I=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),P=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),J=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),R=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),N=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),W=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),G=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),$=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["strong",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,o){},encapsulation:2,changeDetection:0}),a})(),w=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),X=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),j=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})()},9207:(O,M,L)=>{L.r(M),L.d(M,{HTMLModule:()=>x,component:()=>B});var p=L(177),i=L(2285),t=L(8530),s=L(1803),C=L(3953);let x=(()=>{var D;class T{}return(D=T).\u0275fac=function(y){return new(y||D)},D.\u0275mod=C.$C({type:D}),D.\u0275inj=C.G2t({imports:[p.MD]}),T})();const B={component:i.b,leanDomComponentVariant:D=>{switch(D){case s.OK.div:return t.kD;case s.OK.a:return t.EB;case s.OK.article:return t.Tz;case s.OK.aside:return t.X;case s.OK.br:return t.bE;case s.OK.button:return t.DO;case s.OK.details:return t.tk;case s.OK.dialog:return t.rm;case s.OK.em:return t.f$;case s.OK.figcaption:return t.fy;case s.OK.figure:return t.ns;case s.OK.footer:return t.Q5;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.header:return t.ah;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.main:return t.Sj;case s.OK.mark:return t.Wb;case s.OK.nav:return t.qx;case s.OK.ol:return t.uc;case s.OK.p:return t.nY;case s.OK.pre:return t.WL;case s.OK.section:return t._O;case s.OK.small:return t.wf;case s.OK.span:return t.Lw;case s.OK.strong:return t.Gg;case s.OK.summary:return t.dD;case s.OK.time:return t.Ob;case s.OK.ul:return t.UO;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:()=>C,OK:()=>s,TS:()=>p,We:()=>t});var p=function(r){return r.VERTICAL="vertical",r.HORIZONTAL="horizontal",r.GRID="grid",r.GROUP="group",r.TABS="tabs",r}(p||{}),t=function(r){return r.BLANK="_blank",r.SELF="_self",r}(t||{}),s=function(r){return r.div="div",r.a="a",r.article="article",r.aside="aside",r.br="br",r.button="button",r.details="details",r.dialog="dialog",r.em="em",r.figcaption="figcaption",r.figure="figure",r.footer="footer",r.h1="h1",r.h2="h2",r.h3="h3",r.h4="h4",r.h5="h5",r.h6="h6",r.header="header",r.hr="hr",r.iframe="iframe",r.img="img",r.input="input",r.li="li",r.main="main",r.mark="mark",r.nav="nav",r.ol="ol",r.p="p",r.pre="pre",r.section="section",r.small="small",r.span="span",r.strong="strong",r.summary="summary",r.time="time",r.ul="ul",r}(s||{}),C=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}(C||{})},2285:(O,M,L)=>{L.d(M,{b:()=>b});var p=L(467),i=L(9379),t=L(3953),s=L(1210),C=L(6067),r=L(8004),x=L(8251),B=L(610),D=L(1803);const T={tag:D.OK.div,content:"",attributes:{}};var _=L(8179),y=L(5820);let b=(()=>{var h;class F extends s.${constructor(){super(...arguments),this.translate=(0,t.WQX)(C.D),this.eventActionService=(0,t.WQX)(r.G),this.store=(0,t.WQX)(x.B),this.anchorService=(0,t.WQX)(y.X),this.changeDetectorRef=(0,t.WQX)(t.gRc),this.anchorFeatureEnabled=!1,this.tapHtmlUrl=(0,t.vPA)(null),this.defaultConfig=(0,i.A)({},T)}get dataHref(){const c=this.tapHtmlUrl();return c&&this.baseConfig().tag!==D.OK.a?c:null}get role(){if(!this.domHelper.leanDom||!this.hasAction)return null;const c=this.baseConfig().tag===D.OK.a,l=!!this.tapHtmlUrl();return c?l?null:"button":l?"link":"button"}ngOnInit(){var c=()=>super.ngOnInit,l=this;return(0,p.A)(function*(){if(l.anchorFeatureEnabled=l.anchorService.isAnchorFeatureEnabled(),c().call(l),l.elementRef.nativeElement.innerHTML="",!l.domHelper.leanDom){const u=l.renderer.createElement(l.baseConfig().tag);l.renderer.appendChild(l.elementRef.nativeElement,u)}})()}onConfigChanges(){var c=this;return(0,p.A)(function*(){var l,u;const f=c.domHelper.leanDom?c.elementRef.nativeElement:c.renderer.createElement(c.config.tag),H=(0,i.A)({},c.config.attributes);null!==(l=c.config.attributes)&&void 0!==l&&l.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",d=>{d.origin===new URL(null==H?void 0:H.src).origin&&(d.data.height&&(f.style.height=d.data.height+"px"),d.data.width&&(f.style.width=d.data.width+"px"))})}),Object.keys(H).forEach(d=>f.setAttribute(d,c.config.attributes[d])),c.translatedContent=yield c.translate.translate({text:c.config.content,args:c.config.variables||[]}),f.innerHTML=(0,_.uQ)(c.translatedContent,c.context,c.contextService.$functions,c.globalService.getGlobalData()),c.domHelper.leanDom||(c.elementRef.nativeElement.innerHTML="");let g=f;if(c.anchorFeatureEnabled){const{hasAction:d,tapUrl:E}=c.anchorService.handleAnchorTagsForComponents(c.config.tap);c.hasAction=d,c.tapHtmlUrl.set(E),c.domHelper.leanDom||(g=c.handleAnchorTags(f,c.tapHtmlUrl()))}g.addEventListener("click",d=>c.onClick(d)),c.domHelper.leanDom||c.renderer.appendChild(c.elementRef.nativeElement,g),c.changeDetectorRef.markForCheck()})()}ngOnDestroy(){super.ngOnDestroy()}onClick(c){if(this.config.tap){(this.anchorFeatureEnabled||"touchstart"===c.type)&&c.preventDefault(),this.trackOnClick();const u=(0,_.v3)(this.config.tap);this.eventActionService.processEventAction(u,this)}const l=this.getAnchorElementFromEvent(c);null!=l&&l.href&&(l.target===D.We.BLANK?"external"===l.getAttribute("data-target")?this.trackLinkOpenExternal(l):this.trackLinkOpenAppBrowser(l):this.trackLinkOpenInline(l))}getConfigEscapeProperties(){return["condition"]}isGhost(){return!1}hasContextChanged(c){return super.hasContextChanged(c)||this.translatedContent&&this.translatedContent.indexOf(_.mF)>-1}getAnchorElementFromEvent(c){var l,u;return"a"===(null===(l=c.target)||void 0===l?void 0:l.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,l){if(l){const u=this.renderer.createElement("a");return u.style.height="inherit",u.style.width="inherit",u.setAttribute("href",l),u.appendChild(c),u}return c}trackOnClick(){const c="".concat(this.getTrackingBaseKey(),"_CLICKED");this.dispatchTrackingAction(c,{})}trackLinkOpenExternal(c){const l="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_EXTERNAL");this.dispatchTrackingAction(l,{TARGET_URL:c.href,LINK_TEXT:c.innerText})}trackLinkOpenAppBrowser(c){const l="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_APP_BROWSER");this.dispatchTrackingAction(l,{TARGET_URL:c.href,LINK_TEXT:c.innerText})}trackLinkOpenInline(c){this.store.dispatch((0,B.k4)({url:window.location.href,key:"".concat(this.getTrackingBaseKey(),"_LINK_OPEN_INLINE"),params:{TARGET_URL:c.href,LINK_TEXT:c.innerText}}))}dispatchTrackingAction(c,l){this.store.dispatch((0,B.k4)({url:window.location.href,key:c,params:l}))}}return(h=F).type="html",h.\u0275fac=(()=>{let v;return function(l){return(v||(v=t.xGo(h)))(l||h)}})(),h.\u0275cmp=t.VBU({type:h,selectors:[["storefront-html"]],hostVars:2,hostBindings:function(c,l){2&c&&t.BMQ("data-href",l.dataHref)("role",l.role)},standalone:!1,features:[t.Jv_([x.B]),t.Vt3],decls:0,vars:0,template:function(c,l){},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:()=>g,$S:()=>f,Cq:()=>U,DO:()=>T,EB:()=>r,Ez:()=>H,Gg:()=>$,I5:()=>c,Lw:()=>G,Ny:()=>l,Ob:()=>X,Q5:()=>v,Sj:()=>S,Tz:()=>x,UO:()=>j,VS:()=>E,WL:()=>R,Wb:()=>k,X:()=>B,Zj:()=>V,Zp:()=>A,_O:()=>N,ah:()=>d,bE:()=>D,dD:()=>w,eq:()=>K,f$:()=>b,fy:()=>F,kD:()=>C,mF:()=>u,nY:()=>J,ns:()=>h,qx:()=>I,rm:()=>y,tk:()=>_,uc:()=>P,wf:()=>W});var p=L(2285),i=L(8251),t=L(3953);const s=["class","pxp-html"];let C=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),r=(()=>{var e;class a extends p.b{get href(){return this.tapHtmlUrl()}}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["a",8,"pxp-html"]],hostVars:1,hostBindings:function(m,o){2&m&&t.BMQ("href",o.href,t.B4B)},standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,o){},encapsulation:2,changeDetection:0}),a})(),x=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),B=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),D=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),T=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),_=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),y=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),b=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),h=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),F=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),v=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),c=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),l=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),u=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),f=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),H=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),g=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),d=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),E=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),V=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),U=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),A=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),K=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),S=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),k=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),I=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),P=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),J=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),R=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),N=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),W=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),G=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),$=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["strong",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,o){},encapsulation:2,changeDetection:0}),a})(),w=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),X=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})(),j=(()=>{var e;class a extends p.b{}return(e=a).\u0275fac=(()=>{let n;return function(o){return(n||(n=t.xGo(e)))(o||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,o){},encapsulation:2,changeDetection:0}),a})()},9207:(O,M,L)=>{L.r(M),L.d(M,{HTMLModule:()=>x,component:()=>B});var p=L(177),i=L(2285),t=L(8530),s=L(1803),C=L(3953);let x=(()=>{var D;class T{}return(D=T).\u0275fac=function(y){return new(y||D)},D.\u0275mod=C.$C({type:D}),D.\u0275inj=C.G2t({imports:[p.MD]}),T})();const B={component:i.b,leanDomComponentVariant:D=>{switch(D){case s.OK.div:return t.kD;case s.OK.a:return t.EB;case s.OK.article:return t.Tz;case s.OK.aside:return t.X;case s.OK.br:return t.bE;case s.OK.button:return t.DO;case s.OK.details:return t.tk;case s.OK.dialog:return t.rm;case s.OK.em:return t.f$;case s.OK.figcaption:return t.fy;case s.OK.figure:return t.ns;case s.OK.footer:return t.Q5;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.header:return t.ah;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.main:return t.Sj;case s.OK.mark:return t.Wb;case s.OK.nav:return t.qx;case s.OK.ol:return t.uc;case s.OK.p:return t.nY;case s.OK.pre:return t.WL;case s.OK.section:return t._O;case s.OK.small:return t.wf;case s.OK.span:return t.Lw;case s.OK.strong:return t.Gg;case s.OK.summary:return t.dD;case s.OK.time:return t.Ob;case s.OK.ul:return t.UO;default:return console.warn("No html component found for ".concat(D,", falling back to div")),t.kD}}}}}]);