@pronto-tools-and-more/files 12.47.0 → 12.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/files/framework-latest/src/default/storefront/buildInfo.json +3 -3
- package/files/framework-latest/src/default/storefront/index.html +1 -1
- package/files/framework-latest/src/default/storefront/modules/common.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_html_html_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/default-projects_storefront_src_app_component_section_section_module_ts.js +1 -0
- package/files/framework-latest/src/default/storefront/modules/main.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_ad_ad_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_base-component_base-datacollection_component_ts-project-6cb588.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_component_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_iframe_iframe_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_product_product_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_recommendations_recommendations_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_subscription_subscription_module_ts.js +1 -1
- package/package.json +1 -1
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"branch": "HEAD",
|
3
|
-
"commit": "
|
4
|
-
"commitDate": "
|
5
|
-
"buildDate": "
|
3
|
+
"commit": "db5ff44",
|
4
|
+
"commitDate": "Fri Feb 14 2025 11:07:38 GMT+0000 (Coordinated Universal Time)",
|
5
|
+
"buildDate": "Fri Feb 14 2025 11:10:25 GMT+0000 (Coordinated Universal Time)",
|
6
6
|
"packageVersion": "3.9.0-SNAPSHOT"
|
7
7
|
}
|
@@ -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, maximum-scale=1, user-scalable=0">
|
7
|
-
<meta name="storefront-commit" content="
|
7
|
+
<meta name="storefront-commit" content="db5ff44">
|
8
8
|
<meta name="storefront-version" content="3.9.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:(U,T,t)=>{t.d(T,{M:()=>C});var d=t(9379),l=t(9758),u=t(8179),e=t(362),f=t.n(e),i=t(4452),_=t(3713),g=t(4438);let C=(()=>{var r;class M extends _.r{getDataFromContext(s=this.context){return this.getSelectionScope()===l.x.USER_ATTRIBUTE?s.userAttributes[this.getParam()]:s[this.getParam()]}hasContextChanged(s){let m=super.hasContextChanged(s);if(!m&&this.isSelectionEnabled()){const E=this.getDataFromContext(),y=this.getDataFromContext(s);m=!f()(E,y)}return m}ngOnDestroy(){super.ngOnDestroy(),this.dataSource&&this.contextService.unregisterDataSource(this.dataSource)}getEntryConfig(s){return s&&s.ad||(0,d.A)({},this.baseConfig.content)}getEntryContext(s){var m;let E=(0,u.uQ)(null!==(m=this.getConfig().dataSource.entryId)&&void 0!==m?m:this.getDataType(),this.context,this.contextService.$functions,this.globalService.getGlobalData());return(0,d.A)((0,d.A)({},this.baseContext),{},{[E]:s})}getConfig(){return this.config||this.baseConfig}isSelectionEnabled(){return!1}getDataType(){return this.getConfig().dataSource.type}getGroupDataType(s){return s.dataSource.type}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),...(0,i.Kj)(this.baseConfig)].filter(s=>!!s)}}return(r=M).\u0275fac=(()=>{let A;return function(m){return(A||(A=g.xGo(r)))(m||r)}})(),r.\u0275dir=g.FsC({type:r,features:[g.Vt3]}),M})()},1803:(U,T,t)=>{t.d(T,{TS:()=>d,We:()=>u});var d=function(e){return e.VERTICAL="vertical",e.HORIZONTAL="horizontal",e.GRID="grid",e.GROUP="group",e.TABS="tabs",e}(d||{}),u=function(e){return e.BLANK="_blank",e.SELF="_self",e}(u||{})},3303:(U,T,t)=>{t.d(T,{y:()=>e});var d=t(177),l=t(9733),u=t(4438);let e=(()=>{var f;class i{}return(f=i).\u0275fac=function(g){return new(g||f)},f.\u0275mod=u.$C({type:f}),f.\u0275inj=u.G2t({imports:[d.MD,l.ContentTitleModule]}),i})()},5848:(U,T,t)=>{t.d(T,{Q:()=>C});var d=t(467),l=t(177),u=t(1210),e=t(5706),f=t(4438),i=t(9516),_=t(5102),g=t(1652);let C=(()=>{var r;class M extends u.${get contextKey(){var s,m,E;return null!==(s=null!==(m=null===(E=this.config)||void 0===E?void 0:E.contextKey)&&void 0!==m?m:this.defaultConfig.contextKey)&&void 0!==s?s:"content"}constructor(s,m,E,y,B,v){super(m,s,E,y,v),this.elementRef=s,this.injector=m,this.contextService=E,this.document=y,this.purpleService=B,this.globalService=v}updatePostWithOptionalData(s,m){var E=this;return(0,d.A)(function*(){const y=yield E.purpleService.getOptionalData(E.catalogContent,s,m);return(0,e.mF)(E.catalogContent)?(E.catalogContent=y,E.catalogContent):(0,e.G4)(E.catalogContent)?(E.bundleContent=(0,e.Ig)(E.catalogContent),E.bundleContent[m]=y,E.bundleContent[m]):void 0})()}hasContentChanged(s,m){return(null==s?void 0:s.id)!==(null==m?void 0:m.id)||this.hasVersionChanged(s,m)}hasVersionChanged(s,m){return(null==s?void 0:s.version)!==(null==m?void 0:m.version)}onConfigChanges(){var s;let m=null===(s=this.context)||void 0===s?void 0:s[this.contextKey];Array.isArray(m)&&(m=m[0]);const E=this.hasContentChanged(this.catalogContent,m)&&!!m;return E&&(this.catalogContent=m),this.changeDetectorRef.markForCheck(),E}isGhost(){var s;return!this.config||!(null!==(s=this.context)&&void 0!==s&&s[this.contextKey])}ngOnDestroy(){super.ngOnDestroy()}getContextKey(){return this.contextKey}}return(r=M).\u0275fac=function(s){return new(s||r)(f.rXU(f.aKT),f.rXU(f.zZn),f.rXU(i.V),f.rXU(l.qQ),f.rXU(_.Wj),f.rXU(g.d))},r.\u0275dir=f.FsC({type:r,features:[f.Vt3]}),M})()},9733:(U,T,t)=>{t.r(T),t.d(T,{ContentTitleModule:()=>D,component:()=>o});var d=t(177);const l={titleMessage:"%s"};var u=t(5848),e=t(4438),f=t(9516),i=t(5102),_=t(1652),g=t(8909);const C=n=>[n];function r(n,p){1&n&&(e.j41(0,"h1"),e.EFF(1,"..."),e.k0s())}function M(n,p){if(1&n&&e.nrm(0,"h1",0),2&n){const c=e.XpG();e.Y8G("storefrontTranslate",c.config.titleMessage)("storefrontTranslateArgs",e.eq3(2,C,null==c.catalogContent?null:c.catalogContent.name))}}let A=(()=>{var n;class p extends u.Q{constructor(O,S,h,x,L,a){super(O,h,S,x,L,a),this.elementRef=O,this.contextService=S,this.injector=h,this.document=x,this.purpleService=L,this.globalService=a,this.type="content-title",this.defaultConfig=l}}return(n=p).\u0275fac=function(O){return new(O||n)(e.rXU(e.aKT),e.rXU(f.V),e.rXU(e.zZn),e.rXU(d.qQ),e.rXU(i.Wj),e.rXU(_.d))},n.\u0275cmp=e.VBU({type:n,selectors:[["storefront-content-title"]],standalone:!1,features:[e.Vt3],decls:2,vars:1,consts:[[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(O,S){1&O&&e.DNE(0,r,2,0,"h1")(1,M,1,4,"h1",0),2&O&&e.vxM(S.ghost?0:1)},dependencies:[g.M],styles:["storefront-content-title>h1,.pxp-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}),p})();var s=t(6483);const m=["class","pxp-content-title"],E=n=>[n];function y(n,p){1&n&&(e.j41(0,"h1"),e.EFF(1,"..."),e.k0s())}function B(n,p){if(1&n&&e.nrm(0,"h1",0),2&n){const c=e.XpG();e.Y8G("storefrontTranslate",c.config.titleMessage)("storefrontTranslateArgs",e.eq3(2,E,null==c.catalogContent?null:c.catalogContent.name))}}let v=(()=>{var n;class p extends A{}return(n=p).\u0275fac=(()=>{let c;return function(S){return(c||(c=e.xGo(n)))(S||n)}})(),n.\u0275cmp=e.VBU({type:n,selectors:[["div",8,"pxp-content-title"]],standalone:!1,features:[e.Vt3],attrs:m,decls:2,vars:1,consts:[[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(O,S){1&O&&e.DNE(0,y,2,0,"h1")(1,B,1,4,"h1",0),2&O&&e.vxM(S.ghost?0:1)},dependencies:[g.M],styles:["storefront-content-title>h1,.pxp-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}),p})(),D=(()=>{var n;class p{}return(n=p).\u0275fac=function(O){return new(O||n)},n.\u0275mod=e.$C({type:n}),n.\u0275inj=e.G2t({imports:[d.MD,s.h]}),p})();const o={component:A,leanDomComponent:v}},4765:(U,T,t)=>{t.d(T,{s:()=>g});var d=t(8251),l=t(3648),u=t(4438),e=t(177),f=t(7240);const i=["class","pxp-element"];function _(C,r){if(1&C&&u.nrm(0,"storefront-spinner"),2&C){const M=u.XpG();u.Aen(M.getSpinnerStyle())}}let g=(()=>{var C;class r extends l._{}return(C=r).\u0275fac=(()=>{let M;return function(s){return(M||(M=u.xGo(C)))(s||C)}})(),C.\u0275cmp=u.VBU({type:C,selectors:[["div",8,"pxp-element"]],standalone:!1,features:[u.Jv_([d.v]),u.Vt3],attrs:i,decls:3,vars:1,consts:[["viewTemplate",""],[3,"style",4,"ngIf"]],template:function(A,s){1&A&&(u.eu8(0,null,0),u.DNE(2,_,1,2,"storefront-spinner",1)),2&A&&(u.R7$(2),u.Y8G("ngIf",s.processing))},dependencies:[e.bT,f.t],styles:["storefront-element{max-width:100%;display:block}storefront-element>storefront-spinner{position:absolute;top:0;padding:calc(2 * var(--gutter));background-color:#0000001a;z-index:1;width:100%;height:100%}\n"],encapsulation:2,changeDetection:0}),r})()},2285:(U,T,t)=>{t.d(T,{b:()=>y});var d=t(467),l=t(9379),u=t(177),e=t(1210),f=t(8251),i=t(610),_=t(1803);const g={tag:"div",content:"",attributes:{}};var C=t(8179),r=t(4438),M=t(9516),A=t(8448),s=t(8004),m=t(1652),E=t(5820);let y=(()=>{var B;class v extends e.${constructor(o,n,p,c,O,S,h,x,L){super(p,o,n,h,x),this.elementRef=o,this.contextService=n,this.injector=p,this.translate=c,this.eventActionService=O,this.store=S,this.document=h,this.globalService=x,this.anchorService=L,this.anchorFeatureEnabled=!1,this.anchorPath=null,this.defaultConfig=(0,l.A)({},g)}ngOnInit(){var o=()=>super.ngOnInit,n=this;return(0,d.A)(function*(){n.anchorFeatureEnabled=n.anchorService.isAnchorFeatureEnabled(),o().call(n),n.elementRef.nativeElement.innerHTML="";const p=n.renderer.createElement(n.baseConfig.tag);n.renderer.appendChild(n.elementRef.nativeElement,p)})()}onConfigChanges(){var o=this;return(0,d.A)(function*(){var n,p;const c=o.renderer.createElement(o.config.tag),O=(0,l.A)({},o.config.attributes);null!==(n=o.config.attributes)&&void 0!==n&&n.src&&(O.src=o.contextService.toResourceUrl(o.config.attributes.src)),null!==(p=o.config.attributes)&&void 0!==p&&p.href&&(O.href=o.contextService.toResourceUrl(o.config.attributes.href)),"iframe"===o.config.tag&&c.addEventListener("load",h=>{c&&c.contentDocument?(c.contentDocument.scrollingElement.scrollHeight>c.contentWindow.innerHeight&&(c.style.height=c.contentDocument.scrollingElement.scrollHeight+"px"),c.contentDocument.scrollingElement.scrollWidth>c.contentWindow.innerWidth&&(c.style.width=c.contentDocument.scrollingElement.scrollWidth+"px")):window.addEventListener("message",x=>{x.origin===new URL(null==O?void 0:O.src).origin&&(x.data.height&&(c.style.height=x.data.height+"px"),x.data.width&&(c.style.width=x.data.width+"px"))})}),Object.keys(O).forEach(h=>c.setAttribute(h,o.config.attributes[h])),o.translatedContent=yield o.translate.translate({text:o.config.content,args:o.config.variables||[]}),c.innerHTML=(0,C.uQ)(o.translatedContent,o.context,o.contextService.$functions,o.globalService.getGlobalData()),o.elementRef.nativeElement.innerHTML="";let S=c;o.anchorFeatureEnabled&&(S=o.handleAnchorTags(c)),S.addEventListener("click",h=>o.onClick(h)),o.renderer.appendChild(o.elementRef.nativeElement,S),o.changeDetectorRef.markForCheck()})()}ngOnDestroy(){super.ngOnDestroy()}onClick(o){this.config.tap&&((this.anchorFeatureEnabled||"touchstart"===o.type)&&o.preventDefault(),this.trackOnClick(),this.eventActionService.processEventAction(this.config.tap,this));const n=this.getAnchorElementFromEvent(o);null!=n&&n.href&&(n.target===_.We.BLANK?"external"===n.getAttribute("data-target")?this.trackLinkOpenExternal(n):this.trackLinkOpenAppBrowser(n):this.trackLinkOpenInline(n))}getConfigEscapeProperties(){return["condition"]}isGhost(){return!1}hasContextChanged(o){return super.hasContextChanged(o)||this.translatedContent&&this.translatedContent.indexOf(C.mF)>-1}getAnchorElementFromEvent(o){var n,p;return"a"===(null===(n=o.target)||void 0===n?void 0:n.tagName.toLowerCase())?o.target:"a"===(null===(p=o.target)||void 0===p||null===(p=p.parentElement)||void 0===p?void 0:p.tagName.toLowerCase())?o.target.parentElement:null}handleAnchorTags(o){if(this.anchorPath=this.anchorService.getAnchorPathForEventAction(this.config.tap,this.context),this.anchorPath){const n=this.renderer.createElement("a");return n.style.height="inherit",n.style.width="inherit",n.setAttribute("href",this.anchorPath),n.appendChild(o),n}return o}trackOnClick(){const o="".concat(this.getTrackingBaseKey(),"_CLICKED");this.dispatchTrackingAction(o,{})}trackLinkOpenExternal(o){const n="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_EXTERNAL");this.dispatchTrackingAction(n,{TARGET_URL:o.href,LINK_TEXT:o.innerText})}trackLinkOpenAppBrowser(o){const n="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_APP_BROWSER");this.dispatchTrackingAction(n,{TARGET_URL:o.href,LINK_TEXT:o.innerText})}trackLinkOpenInline(o){this.store.dispatch((0,i.k4)({url:window.location.href,key:"".concat(this.getTrackingBaseKey(),"_LINK_OPEN_INLINE"),params:{TARGET_URL:o.href,LINK_TEXT:o.innerText}}))}dispatchTrackingAction(o,n){this.store.dispatch((0,i.k4)({url:window.location.href,key:o,params:n}))}}return(B=v).type="html",B.\u0275fac=function(o){return new(o||B)(r.rXU(r.aKT),r.rXU(M.V),r.rXU(r.zZn),r.rXU(A.D),r.rXU(s.G),r.rXU(f.B),r.rXU(u.qQ),r.rXU(m.d),r.rXU(E.X))},B.\u0275cmp=r.VBU({type:B,selectors:[["storefront-html"]],standalone:!1,features:[r.Jv_([f.B]),r.Vt3],decls:0,vars:0,template:function(o,n){},styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-html,.pxp-html{position:relative;display:flex}storefront-html.ghost>*,.pxp-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}),v})()},8530:(U,T,t)=>{t.d(T,{j:()=>f});var d=t(2285),l=t(8251),u=t(4438);const e=["class","pxp-html"];let f=(()=>{var i;class _ extends d.b{}return(i=_).\u0275fac=(()=>{let g;return function(r){return(g||(g=u.xGo(i)))(r||i)}})(),i.\u0275cmp=u.VBU({type:i,selectors:[["div",8,"pxp-html"]],standalone:!1,features:[u.Jv_([l.B]),u.Vt3],attrs:e,decls:0,vars:0,template:function(C,r){},styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-html,.pxp-html{position:relative;display:flex}storefront-html.ghost>*,.pxp-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}),_})()},9207:(U,T,t)=>{t.r(T),t.d(T,{HTMLModule:()=>f,component:()=>i});var d=t(177),l=t(2285),u=t(8530),e=t(4438);let f=(()=>{var _;class g{}return(_=g).\u0275fac=function(r){return new(r||_)},_.\u0275mod=e.$C({type:_}),_.\u0275inj=e.G2t({imports:[d.MD]}),g})();const i={component:l.b,leanDomComponent:u.j}},4678:(U,T,t)=>{t.r(T),t.d(T,{SectionModule:()=>O,component:()=>S});var d=t(177),l=t(467),u=t(9379),e=t(4438);const f={content:null};var i=t(1210),_=t(8179),g=t(7879),C=t(1184),r=t(2868),M=t(9516),A=t(1652),s=t(4748);const m=["viewTemplate"];function E(h,x){}function y(h,x){if(1&h&&e.DNE(0,E,0,0,"ng-template",2),2&h){const L=x.$implicit,a=e.XpG(2);e.Y8G("baseContext",a.baseContext)("baseConfig",L)("lazy",a.isLazy)}}function B(h,x){if(1&h&&(e.qex(0),e.DNE(1,y,1,3,null,1),e.bVm()),2&h){const L=e.XpG();e.R7$(),e.Y8G("ngForOf",L.children)("ngForTrackBy",L.trackByChildren)}}let v=(()=>{var h;class x extends i.${constructor(a,P,b,w,R,I,K){super(P,a,b,w,R),this.elementRef=a,this.injector=P,this.contextService=b,this.document=w,this.globalService=R,this.ssrService=I,this.purpleEnv=K,this.defaultConfig=(0,u.A)({},f)}ngOnInit(){this.baseContext.isGhost||super.ngOnInit()}onConfigChanges(){var a=this;return(0,l.A)(function*(){if(a.isLazy=!(!window.isUniversal||!a.ssrService.currentPrebootStatus),a.baseConfig.content){a.children=[];for(let P=0;P<a.baseConfig.content.length;P++)(a.purpleEnv.isUniversal||(0,_.Ol)(a.config.content[P]))&&a.children.push(a.baseConfig.content[P]);a.changeDetectorRef.detectChanges(),yield Promise.all(a.childComponents.map((P,b)=>!a.purpleEnv.isUniversal||(0,_.Ol)(a.config.content[b])?P.lazyLoad():a.purpleEnv.isUniversal&&(0,d.UE)(a.platformId)?null==P?void 0:P.clear():Promise.resolve())),a.changeDetectorRef.markForCheck()}})()}stripChildConfigs(a){return a.content&&Array.isArray(a.content)&&(a.content=a.content.map(({_uuid:P,condition:b})=>({_uuid:P,condition:b}))),a}rebuildContextKeys(){super.rebuildContextKeys(),this.baseConfig.content.forEach(a=>{"condition"in a&&(0,C.Fl)(a.condition,this.contextKeys)})}trackByChildren(a,P){if("string"==typeof P||"number"==typeof P)return P;const b=P.id||P._uuid;if(!b)throw console.error(P),"Element should have _uuid from config loader!";return b}}return(h=x).type="section",h.\u0275fac=function(a){return new(a||h)(e.rXU(e.aKT),e.rXU(e.zZn),e.rXU(M.V),e.rXU(d.qQ),e.rXU(A.d),e.rXU(s.i),e.rXU(g.r6))},h.\u0275cmp=e.VBU({type:h,selectors:[["storefront-section"]],viewQuery:function(a,P){if(1&a&&(e.GBs(m,7,e.c1b),e.GBs(r.q,5)),2&a){let b;e.mGM(b=e.lsd())&&(P.viewTemplate=b.first),e.mGM(b=e.lsd())&&(P.childComponents=b)}},standalone:!1,features:[e.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(a,P){1&a&&e.DNE(0,B,2,2,"ng-container",0),2&a&&e.Y8G("ngIf",P.children)},dependencies:[d.Sq,d.bT,r.q],styles:["storefront-section,.pxp-section{display:flex;justify-content:space-between;padding:var(--sectionPadding);flex-direction:column}\n"],encapsulation:2,changeDetection:0}),x})();const D=["class","pxp-section"];function o(h,x){}function n(h,x){if(1&h&&e.DNE(0,o,0,0,"ng-template",2),2&h){const L=x.$implicit,a=e.XpG(2);e.Y8G("baseContext",a.baseContext)("baseConfig",L)("lazy",a.isLazy)}}function p(h,x){if(1&h&&(e.qex(0),e.DNE(1,n,1,3,null,1),e.bVm()),2&h){const L=e.XpG();e.R7$(),e.Y8G("ngForOf",L.children)("ngForTrackBy",L.trackByChildren)}}let c=(()=>{var h;class x extends v{}return(h=x).\u0275fac=(()=>{let L;return function(P){return(L||(L=e.xGo(h)))(P||h)}})(),h.\u0275cmp=e.VBU({type:h,selectors:[["div",8,"pxp-section"]],standalone:!1,features:[e.Vt3],attrs:D,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(a,P){1&a&&e.DNE(0,p,2,2,"ng-container",0),2&a&&e.Y8G("ngIf",P.children)},dependencies:[d.Sq,d.bT,r.q],styles:["storefront-section,.pxp-section{display:flex;justify-content:space-between;padding:var(--sectionPadding);flex-direction:column}\n"],encapsulation:2,changeDetection:0}),x})(),O=(()=>{var h;class x{}return(h=x).\u0275fac=function(a){return new(a||h)},h.\u0275mod=e.$C({type:h}),h.\u0275inj=e.G2t({imports:[d.MD]}),x})();const S={component:v,leanDomComponent:c}},1802:(U,T,t)=>{t.d(T,{c:()=>A});var d=t(9379),l=t(1210),u=t(9758),e=t(8075),f=t(177),i=t(4438),_=t(9516),g=t(3331),C=t(1652),r=t(5927),M=t(8909);let A=(()=>{var s;class m extends l.${constructor(y,B,v,D,o,n,p){super(v,y,B,o,n),this.elementRef=y,this.contextService=B,this.injector=v,this.router=D,this.document=o,this.globalService=n,this.domHelper=p,this.type="switch",this.defaultConfig={}}ngOnInit(){this.config=(0,d.A)({},this.baseConfig),this.checked=this.config.initialValue,super.ngOnInit(),this.contextService.viewContext$.subscribe(y=>{const B=this.config.paramScope===u.x.USER_ATTRIBUTE?y.userAttributes[this.config.param]:y[this.config.param];B&&(this.checked="true"===B)})}isChecked(){return this.checked}toggle(){this.setChecked(!this.checked)}setChecked(y){this.config.paramScope===u.x.USER_ATTRIBUTE?this.contextService.setUserAttribute(this.config.param,"".concat(y)):(0,e.CV)(this.router,{[this.config.param]:y})}}return(s=m).\u0275fac=function(y){return new(y||s)(i.rXU(i.aKT),i.rXU(_.V),i.rXU(i.zZn),i.rXU(g.Ix),i.rXU(f.qQ),i.rXU(C.d),i.rXU(r.S))},s.\u0275cmp=i.VBU({type:s,selectors:[["storefront-switch"]],hostVars:2,hostBindings:function(y,B){2&y&&i.AVh("checked",B.checked)},standalone:!1,features:[i.Vt3],decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(y,B){1&y&&(i.nrm(0,"label",0),i.j41(1,"label",1)(2,"input",2),i.bIt("change",function(){return B.toggle()}),i.k0s(),i.nrm(3,"span"),i.k0s()),2&y&&(i.Y8G("storefrontTranslate",B.config.label),i.R7$(2),i.Y8G("checked",B.isChecked()))},dependencies:[M.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}),m})()},2960:(U,T,t)=>{t.d(T,{q:()=>f});var d=t(1802),l=t(4438),u=t(8909);const e=["class","pxp-switch"];let f=(()=>{var i;class _ extends d.c{}return(i=_).\u0275fac=(()=>{let g;return function(r){return(g||(g=l.xGo(i)))(r||i)}})(),i.\u0275cmp=l.VBU({type:i,selectors:[["div",8,"pxp-switch"]],standalone:!1,features:[l.Vt3],attrs:e,decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(C,r){1&C&&(l.nrm(0,"label",0),l.j41(1,"label",1)(2,"input",2),l.bIt("change",function(){return r.toggle()}),l.k0s(),l.nrm(3,"span"),l.k0s()),2&C&&(l.Y8G("storefrontTranslate",r.config.label),l.R7$(2),l.Y8G("checked",r.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}),_})()},9645:(U,T,t)=>{t.r(T),t.d(T,{SwitchModule:()=>i,component:()=>_});var d=t(177),l=t(1802),u=t(6483),e=t(2960),f=t(4438);let i=(()=>{var g;class C{}return(g=C).\u0275fac=function(M){return new(M||g)},g.\u0275mod=f.$C({type:g}),g.\u0275inj=f.G2t({imports:[d.MD,u.h]}),C})();const _={component:l.c,leanDomComponent:e.q}},2364:(U,T,t)=>{t.d(T,{S:()=>f});var d=t(4412),l=t(4438),u=t(1626),e=t(9118);let f=(()=>{var i;class _{constructor(C,r){this.http=C,this.kioskConfigService=r,this.initialization=new d.t(null),this.data=[{identifier:"phone",minScreenWidth:null},{identifier:"tablet_small",minScreenWidth:533},{identifier:"tablet_large",minScreenWidth:720}]}init(){}getDeviceClass(){const r=this.data.reduce((M,A)=>window.innerWidth>=A.minScreenWidth?A:M,null);return r&&r.identifier}}return(i=_).\u0275fac=function(C){return new(C||i)(l.KVO(u.Qq),l.KVO(e.x))},i.\u0275prov=l.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}),_})()},354:(U,T,t)=>{t.d(T,{s:()=>m});var d=t(467),l=t(5102),u=t(1413),e=t(4843),f=t(5964),i=t(6697),_=t(4438),g=t(496),C=t(1626),r=t(9118),M=t(3072),A=t(2364),s=t(9516);let m=(()=>{var E;class y{constructor(v,D,o,n,p,c,O){this.publicationService=v,this.http=D,this.purpleService=o,this.kioskConfigService=n,this.sessionService=p,this.deviceClassService=c,this.contextService=O,this.data=[],this.initPdf=new u.B,this.presenterLoaded=new u.B,this.subscriptions=[]}init(v){var D=this;return(0,d.A)(function*(){const[o,n]=yield Promise.all([(0,e._)(D.kioskConfigService.getConfig()),D.publicationService.selectByContentCriteria(v)]);D.kioskConfigData=o,D.content=n;const[p,c]=yield Promise.all([D.getLink(D.content,"pdf_single_page_download"),D.getLink(D.content,"pdf_download")]);yield D.getSinglePageDownloadLinkFromJSON(p),D.initPdf.next(c)})()}getLink(v,D){var o=this;return(0,d.A)(function*(){const n=yield(0,l.GA)(v,o.purpleService);if(v&&v.properties&&!n){let p=Object.keys(v.properties);for(let c=0;c<p.length;c++)if(p[c]===D)return o.getAttachmentLink(v,v.properties[p[c]]);return null}})()}getSinglePageDownloadLinkFromJSON(v){var D=this;return(0,d.A)(function*(){try{const o=D.presenterLoaded.pipe((0,f.p)(n=>n),(0,i.s)(1)).subscribe(function(){var n=(0,d.A)(function*(p){if(p){const L=yield(0,e._)(D.http.get(v));var c=WP.instance.getPurpleData().getPages();if(L){var O=0;D.data=[];for(const a of c){for(var S=parseInt(a.pageCount),h=[],x=0;x<S;x++)h.push(yield D.getAttachmentLink(D.content,L[O],O+1)),O++;D.data.push(h)}}}});return function(p){return n.apply(this,arguments)}}());D.subscriptions.push(o)}catch(o){console.error("Error fetching data from JSON link:",o)}})()}getAttachmentLink(v,D,o){var n=this;return(0,d.A)(function*(){const p=new URL(window.location.href).origin,c=n.contextService.getIsCustomerDomainUsed()?p:n.purpleService.getPurpleConfig().contentUrl,O=JSON.parse(localStorage.getItem("AppWebConfiguration")).id;let S="".concat(c,"/resources/web/attachment/").concat(O,"/").concat(v.id,"/").concat(D);S+="?preview=".concat(n.contextService.isPreview()),S+="&deviceId=".concat(localStorage.getItem("deviceId")),S+="&deviceClass=".concat(n.deviceClassService.getDeviceClass());const h=yield n.sessionService.getReceiptData(v);if(h){const{receipt:L,providerType:a}=h;S+="&receipt=".concat(window.encodeURIComponent(L)),S+="&providerType=".concat(a)}const x=n.sanitize(n.getFileName(v,D,o));return S+="&targetFilename=".concat(window.encodeURIComponent(x)),S})()}getSingleDownloadLink(){return this.data&&WP.instance&&WP.instance.getScroller()&&this.data[WP.instance.getScroller().getIndex()]}getDownloadLink(){var v=this;return(0,d.A)(function*(){return yield v.getLink(v.content,"pdf_download")})()}getFileName(v,D,o){const p=this.kioskConfigData.kioskConfig.downloadFileName,c=D.substr(D.lastIndexOf(".")),O=o?" - "+o:"";switch(p){case"publication_issue":return this.publicationService.currentPublication.name+" - "+v.name+O+c;case"issue":return v.name+O+c;default:return D}}sanitize(v){return v.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(v=>v.unsubscribe())}}return(E=y).\u0275fac=function(v){return new(v||E)(_.KVO(g.m),_.KVO(C.Qq),_.KVO(l.Wj),_.KVO(r.x),_.KVO(M.Q),_.KVO(A.S),_.KVO(s.V))},E.\u0275prov=_.jDH({token:E,factory:E.\u0275fac,providedIn:"root"}),y})()},3072:(U,T,t)=>{t.d(T,{Q:()=>i});var d=t(467),l=t(4404),e=t(4438),f=t(5102);let i=(()=>{var _;class g{constructor(r){this.purpleService=r}getReceiptData(r){var M=this;return(0,d.A)(function*(){return r.purchaseData.purchasedBy.includes(l.PurchaseOption.ENTITLEMENT)?{receipt:yield M.getAccessToken(),providerType:"entitlement"}:r.purchaseData.purchasedBy.includes(l.PurchaseOption.SUBSCRIPTION_CODE)?{receipt:(yield M.getSubscriptionCodes()).join(","),providerType:"subscriptionCode"}:null})()}getAccessToken(){var r=this;return(0,d.A)(function*(){const M=yield r.purpleService.purpleRef.entitlement.getUserData();return null==M?void 0:M.accessToken})()}getSubscriptionCodes(){var r=this;return(0,d.A)(function*(){return(yield r.purpleService.purpleRef.store.getSubscriptionCodes()).subscriptionCodes})()}}return(_=g).\u0275fac=function(r){return new(r||_)(e.KVO(f.Wj))},_.\u0275prov=e.jDH({token:_,factory:_.\u0275fac,providedIn:"root"}),g})()},7967:(U,T,t)=>{function d(l,u){return"object"!=typeof l?1===u?l:l+"S":1===u?l.singular:l.plural}t.d(T,{t:()=>d})}}]);
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["common"],{3472:(x,D,t)=>{t.d(D,{M:()=>f});var d=t(9379),i=t(9758),_=t(8179),n=t(362),p=t.n(n),s=t(4452),h=t(3713),u=t(4438);let f=(()=>{var r;class g extends h.r{getDataFromContext(e=this.context){return this.getSelectionScope()===i.x.USER_ATTRIBUTE?e.userAttributes[this.getParam()]:e[this.getParam()]}hasContextChanged(e){let a=super.hasContextChanged(e);if(!a&&this.isSelectionEnabled()){const c=this.getDataFromContext(),E=this.getDataFromContext(e);a=!p()(c,E)}return a}ngOnDestroy(){super.ngOnDestroy(),this.dataSource&&this.contextService.unregisterDataSource(this.dataSource)}getEntryConfig(e){return e&&e.ad||(0,d.A)({},this.baseConfig.content)}getEntryContext(e){var a;let c=(0,_.uQ)(null!==(a=this.getConfig().dataSource.entryId)&&void 0!==a?a:this.getDataType(),this.context,this.contextService.$functions,this.globalService.getGlobalData());return(0,d.A)((0,d.A)({},this.baseContext),{},{[c]:e})}getConfig(){return this.config||this.baseConfig}isSelectionEnabled(){return!1}stripChildConfigs(e){return"content"in e&&"object"==typeof e.content&&null!==e.content&&(e.content={_uuid:e.content._uuid,condition:e.content.condition}),e}getDataType(){return this.getConfig().dataSource.type}getGroupDataType(e){return e.dataSource.type}getConfigEscapeProperties(){return[...super.getConfigEscapeProperties(),...(0,s.Kj)(this.baseConfig)].filter(e=>!!e)}}return(r=g).\u0275fac=(()=>{let P;return function(a){return(P||(P=u.xGo(r)))(a||r)}})(),r.\u0275dir=u.FsC({type:r,features:[u.Vt3]}),g})()},3303:(x,D,t)=>{t.d(D,{y:()=>n});var d=t(177),i=t(9733),_=t(4438);let n=(()=>{var p;class s{}return(p=s).\u0275fac=function(u){return new(u||p)},p.\u0275mod=_.$C({type:p}),p.\u0275inj=_.G2t({imports:[d.MD,i.ContentTitleModule]}),s})()},5848:(x,D,t)=>{t.d(D,{Q:()=>f});var d=t(467),i=t(177),_=t(1210),n=t(5706),p=t(4438),s=t(9516),h=t(5102),u=t(1652);let f=(()=>{var r;class g extends _.${get contextKey(){var e,a,c;return null!==(e=null!==(a=null===(c=this.config)||void 0===c?void 0:c.contextKey)&&void 0!==a?a:this.defaultConfig.contextKey)&&void 0!==e?e:"content"}constructor(e,a,c,E,w,l){super(a,e,c,E,l),this.elementRef=e,this.injector=a,this.contextService=c,this.document=E,this.purpleService=w,this.globalService=l}updatePostWithOptionalData(e,a){var c=this;return(0,d.A)(function*(){const E=yield c.purpleService.getOptionalData(c.catalogContent,e,a);return(0,n.mF)(c.catalogContent)?(c.catalogContent=E,c.catalogContent):(0,n.G4)(c.catalogContent)?(c.bundleContent=(0,n.Ig)(c.catalogContent),c.bundleContent[a]=E,c.bundleContent[a]):void 0})()}hasContentChanged(e,a){return(null==e?void 0:e.id)!==(null==a?void 0:a.id)||this.hasVersionChanged(e,a)}hasVersionChanged(e,a){return(null==e?void 0:e.version)!==(null==a?void 0:a.version)}onConfigChanges(){var e;let a=null===(e=this.context)||void 0===e?void 0:e[this.contextKey];Array.isArray(a)&&(a=a[0]);const c=this.hasContentChanged(this.catalogContent,a)&&!!a;return c&&(this.catalogContent=a),this.changeDetectorRef.markForCheck(),c}isGhost(){var e;return!this.config||!(null!==(e=this.context)&&void 0!==e&&e[this.contextKey])}ngOnDestroy(){super.ngOnDestroy()}getContextKey(){return this.contextKey}}return(r=g).\u0275fac=function(e){return new(e||r)(p.rXU(p.aKT),p.rXU(p.zZn),p.rXU(s.V),p.rXU(i.qQ),p.rXU(h.Wj),p.rXU(u.d))},r.\u0275dir=p.FsC({type:r,features:[p.Vt3]}),g})()},9733:(x,D,t)=>{t.r(D),t.d(D,{ContentTitleModule:()=>v,component:()=>O});var d=t(177);const i={titleMessage:"%s"};var _=t(5848),n=t(4438),p=t(9516),s=t(5102),h=t(1652),u=t(8909);const f=o=>[o];function r(o,C){1&o&&(n.j41(0,"h1"),n.EFF(1,"..."),n.k0s())}function g(o,C){if(1&o&&n.nrm(0,"h1",0),2&o){const m=n.XpG();n.Y8G("storefrontTranslate",m.config.titleMessage)("storefrontTranslateArgs",n.eq3(2,f,null==m.catalogContent?null:m.catalogContent.name))}}let P=(()=>{var o;class C extends _.Q{constructor(M,T,B,y,S,U){super(M,B,T,y,S,U),this.elementRef=M,this.contextService=T,this.injector=B,this.document=y,this.purpleService=S,this.globalService=U,this.type="content-title",this.defaultConfig=i}}return(o=C).\u0275fac=function(M){return new(M||o)(n.rXU(n.aKT),n.rXU(p.V),n.rXU(n.zZn),n.rXU(d.qQ),n.rXU(s.Wj),n.rXU(h.d))},o.\u0275cmp=n.VBU({type:o,selectors:[["storefront-content-title"]],standalone:!1,features:[n.Vt3],decls:2,vars:1,consts:[[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(M,T){1&M&&n.DNE(0,r,2,0,"h1")(1,g,1,4,"h1",0),2&M&&n.vxM(T.ghost?0:1)},dependencies:[u.M],styles:["storefront-content-title>h1,.pxp-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}),C})();var e=t(6483);const a=["class","pxp-content-title"],c=o=>[o];function E(o,C){1&o&&(n.j41(0,"h1"),n.EFF(1,"..."),n.k0s())}function w(o,C){if(1&o&&n.nrm(0,"h1",0),2&o){const m=n.XpG();n.Y8G("storefrontTranslate",m.config.titleMessage)("storefrontTranslateArgs",n.eq3(2,c,null==m.catalogContent?null:m.catalogContent.name))}}let l=(()=>{var o;class C extends P{}return(o=C).\u0275fac=(()=>{let m;return function(T){return(m||(m=n.xGo(o)))(T||o)}})(),o.\u0275cmp=n.VBU({type:o,selectors:[["div",8,"pxp-content-title"]],standalone:!1,features:[n.Vt3],attrs:a,decls:2,vars:1,consts:[[3,"storefrontTranslate","storefrontTranslateArgs"]],template:function(M,T){1&M&&n.DNE(0,E,2,0,"h1")(1,w,1,4,"h1",0),2&M&&n.vxM(T.ghost?0:1)},dependencies:[u.M],styles:["storefront-content-title>h1,.pxp-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}),C})(),v=(()=>{var o;class C{}return(o=C).\u0275fac=function(M){return new(M||o)},o.\u0275mod=n.$C({type:o}),o.\u0275inj=n.G2t({imports:[d.MD,e.h]}),C})();const O={component:P,leanDomComponent:l}},4765:(x,D,t)=>{t.d(D,{s:()=>u});var d=t(8251),i=t(3648),_=t(4438),n=t(177),p=t(7240);const s=["class","pxp-element"];function h(f,r){if(1&f&&_.nrm(0,"storefront-spinner"),2&f){const g=_.XpG();_.Aen(g.getSpinnerStyle())}}let u=(()=>{var f;class r extends i._{}return(f=r).\u0275fac=(()=>{let g;return function(e){return(g||(g=_.xGo(f)))(e||f)}})(),f.\u0275cmp=_.VBU({type:f,selectors:[["div",8,"pxp-element"]],standalone:!1,features:[_.Jv_([d.v]),_.Vt3],attrs:s,decls:3,vars:1,consts:[["viewTemplate",""],[3,"style",4,"ngIf"]],template:function(P,e){1&P&&(_.eu8(0,null,0),_.DNE(2,h,1,2,"storefront-spinner",1)),2&P&&(_.R7$(2),_.Y8G("ngIf",e.processing))},dependencies:[n.bT,p.t],styles:["storefront-element{max-width:100%;display:block}storefront-element>storefront-spinner{position:absolute;top:0;padding:calc(2 * var(--gutter));background-color:#0000001a;z-index:1;width:100%;height:100%}\n"],encapsulation:2,changeDetection:0}),r})()},1802:(x,D,t)=>{t.d(D,{c:()=>P});var d=t(9379),i=t(1210),_=t(9758),n=t(8075),p=t(177),s=t(4438),h=t(9516),u=t(3331),f=t(1652),r=t(5927),g=t(8909);let P=(()=>{var e;class a extends i.${constructor(E,w,l,v,O,o,C){super(l,E,w,O,o),this.elementRef=E,this.contextService=w,this.injector=l,this.router=v,this.document=O,this.globalService=o,this.domHelper=C,this.type="switch",this.defaultConfig={}}ngOnInit(){this.config=(0,d.A)({},this.baseConfig),this.checked=this.config.initialValue,super.ngOnInit(),this.contextService.viewContext$.subscribe(E=>{const w=this.config.paramScope===_.x.USER_ATTRIBUTE?E.userAttributes[this.config.param]:E[this.config.param];w&&(this.checked="true"===w)})}isChecked(){return this.checked}toggle(){this.setChecked(!this.checked)}setChecked(E){this.config.paramScope===_.x.USER_ATTRIBUTE?this.contextService.setUserAttribute(this.config.param,"".concat(E)):(0,n.CV)(this.router,{[this.config.param]:E})}}return(e=a).\u0275fac=function(E){return new(E||e)(s.rXU(s.aKT),s.rXU(h.V),s.rXU(s.zZn),s.rXU(u.Ix),s.rXU(p.qQ),s.rXU(f.d),s.rXU(r.S))},e.\u0275cmp=s.VBU({type:e,selectors:[["storefront-switch"]],hostVars:2,hostBindings:function(E,w){2&E&&s.AVh("checked",w.checked)},standalone:!1,features:[s.Vt3],decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(E,w){1&E&&(s.nrm(0,"label",0),s.j41(1,"label",1)(2,"input",2),s.bIt("change",function(){return w.toggle()}),s.k0s(),s.nrm(3,"span"),s.k0s()),2&E&&(s.Y8G("storefrontTranslate",w.config.label),s.R7$(2),s.Y8G("checked",w.isChecked()))},dependencies:[g.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}),a})()},2960:(x,D,t)=>{t.d(D,{q:()=>p});var d=t(1802),i=t(4438),_=t(8909);const n=["class","pxp-switch"];let p=(()=>{var s;class h extends d.c{}return(s=h).\u0275fac=(()=>{let u;return function(r){return(u||(u=i.xGo(s)))(r||s)}})(),s.\u0275cmp=i.VBU({type:s,selectors:[["div",8,"pxp-switch"]],standalone:!1,features:[i.Vt3],attrs:n,decls:4,vars:2,consts:[[1,"label",3,"storefrontTranslate"],[1,"switch"],["type","checkbox",3,"change","checked"]],template:function(f,r){1&f&&(i.nrm(0,"label",0),i.j41(1,"label",1)(2,"input",2),i.bIt("change",function(){return r.toggle()}),i.k0s(),i.nrm(3,"span"),i.k0s()),2&f&&(i.Y8G("storefrontTranslate",r.config.label),i.R7$(2),i.Y8G("checked",r.isChecked()))},dependencies:[_.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}),h})()},9645:(x,D,t)=>{t.r(D),t.d(D,{SwitchModule:()=>s,component:()=>h});var d=t(177),i=t(1802),_=t(6483),n=t(2960),p=t(4438);let s=(()=>{var u;class f{}return(u=f).\u0275fac=function(g){return new(g||u)},u.\u0275mod=p.$C({type:u}),u.\u0275inj=p.G2t({imports:[d.MD,_.h]}),f})();const h={component:i.c,leanDomComponent:n.q}},2364:(x,D,t)=>{t.d(D,{S:()=>p});var d=t(4412),i=t(4438),_=t(1626),n=t(9118);let p=(()=>{var s;class h{constructor(f,r){this.http=f,this.kioskConfigService=r,this.initialization=new d.t(null),this.data=[{identifier:"phone",minScreenWidth:null},{identifier:"tablet_small",minScreenWidth:533},{identifier:"tablet_large",minScreenWidth:720}]}init(){}getDeviceClass(){const r=this.data.reduce((g,P)=>window.innerWidth>=P.minScreenWidth?P:g,null);return r&&r.identifier}}return(s=h).\u0275fac=function(f){return new(f||s)(i.KVO(_.Qq),i.KVO(n.x))},s.\u0275prov=i.jDH({token:s,factory:s.\u0275fac,providedIn:"root"}),h})()},354:(x,D,t)=>{t.d(D,{s:()=>a});var d=t(467),i=t(5102),_=t(1413),n=t(4843),p=t(5964),s=t(6697),h=t(4438),u=t(496),f=t(1626),r=t(9118),g=t(3072),P=t(2364),e=t(9516);let a=(()=>{var c;class E{constructor(l,v,O,o,C,m,M){this.publicationService=l,this.http=v,this.purpleService=O,this.kioskConfigService=o,this.sessionService=C,this.deviceClassService=m,this.contextService=M,this.data=[],this.initPdf=new _.B,this.presenterLoaded=new _.B,this.subscriptions=[]}init(l){var v=this;return(0,d.A)(function*(){const[O,o]=yield Promise.all([(0,n._)(v.kioskConfigService.getConfig()),v.publicationService.selectByContentCriteria(l)]);v.kioskConfigData=O,v.content=o;const[C,m]=yield Promise.all([v.getLink(v.content,"pdf_single_page_download"),v.getLink(v.content,"pdf_download")]);yield v.getSinglePageDownloadLinkFromJSON(C),v.initPdf.next(m)})()}getLink(l,v){var O=this;return(0,d.A)(function*(){const o=yield(0,i.GA)(l,O.purpleService);if(l&&l.properties&&!o){let C=Object.keys(l.properties);for(let m=0;m<C.length;m++)if(C[m]===v)return O.getAttachmentLink(l,l.properties[C[m]]);return null}})()}getSinglePageDownloadLinkFromJSON(l){var v=this;return(0,d.A)(function*(){try{const O=v.presenterLoaded.pipe((0,p.p)(o=>o),(0,s.s)(1)).subscribe(function(){var o=(0,d.A)(function*(C){if(C){const S=yield(0,n._)(v.http.get(l));var m=WP.instance.getPurpleData().getPages();if(S){var M=0;v.data=[];for(const U of m){for(var T=parseInt(U.pageCount),B=[],y=0;y<T;y++)B.push(yield v.getAttachmentLink(v.content,S[M],M+1)),M++;v.data.push(B)}}}});return function(C){return o.apply(this,arguments)}}());v.subscriptions.push(O)}catch(O){console.error("Error fetching data from JSON link:",O)}})()}getAttachmentLink(l,v,O){var o=this;return(0,d.A)(function*(){const C=new URL(window.location.href).origin,m=o.contextService.getIsCustomerDomainUsed()?C:o.purpleService.getPurpleConfig().contentUrl,M=JSON.parse(localStorage.getItem("AppWebConfiguration")).id;let T="".concat(m,"/resources/web/attachment/").concat(M,"/").concat(l.id,"/").concat(v);T+="?preview=".concat(o.contextService.isPreview()),T+="&deviceId=".concat(localStorage.getItem("deviceId")),T+="&deviceClass=".concat(o.deviceClassService.getDeviceClass());const B=yield o.sessionService.getReceiptData(l);if(B){const{receipt:S,providerType:U}=B;T+="&receipt=".concat(window.encodeURIComponent(S)),T+="&providerType=".concat(U)}const y=o.sanitize(o.getFileName(l,v,O));return T+="&targetFilename=".concat(window.encodeURIComponent(y)),T})()}getSingleDownloadLink(){return this.data&&WP.instance&&WP.instance.getScroller()&&this.data[WP.instance.getScroller().getIndex()]}getDownloadLink(){var l=this;return(0,d.A)(function*(){return yield l.getLink(l.content,"pdf_download")})()}getFileName(l,v,O){const C=this.kioskConfigData.kioskConfig.downloadFileName,m=v.substr(v.lastIndexOf(".")),M=O?" - "+O:"";switch(C){case"publication_issue":return this.publicationService.currentPublication.name+" - "+l.name+M+m;case"issue":return l.name+M+m;default:return v}}sanitize(l){return l.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(l=>l.unsubscribe())}}return(c=E).\u0275fac=function(l){return new(l||c)(h.KVO(u.m),h.KVO(f.Qq),h.KVO(i.Wj),h.KVO(r.x),h.KVO(g.Q),h.KVO(P.S),h.KVO(e.V))},c.\u0275prov=h.jDH({token:c,factory:c.\u0275fac,providedIn:"root"}),E})()},3072:(x,D,t)=>{t.d(D,{Q:()=>s});var d=t(467),i=t(4404),n=t(4438),p=t(5102);let s=(()=>{var h;class u{constructor(r){this.purpleService=r}getReceiptData(r){var g=this;return(0,d.A)(function*(){return r.purchaseData.purchasedBy.includes(i.PurchaseOption.ENTITLEMENT)?{receipt:yield g.getAccessToken(),providerType:"entitlement"}:r.purchaseData.purchasedBy.includes(i.PurchaseOption.SUBSCRIPTION_CODE)?{receipt:(yield g.getSubscriptionCodes()).join(","),providerType:"subscriptionCode"}:null})()}getAccessToken(){var r=this;return(0,d.A)(function*(){const g=yield r.purpleService.purpleRef.entitlement.getUserData();return null==g?void 0:g.accessToken})()}getSubscriptionCodes(){var r=this;return(0,d.A)(function*(){return(yield r.purpleService.purpleRef.store.getSubscriptionCodes()).subscriptionCodes})()}}return(h=u).\u0275fac=function(r){return new(r||h)(n.KVO(p.Wj))},h.\u0275prov=n.jDH({token:h,factory:h.\u0275fac,providedIn:"root"}),u})()},7967:(x,D,t)=>{function d(i,_){return"object"!=typeof i?1===_?i:i+"S":1===_?i.singular:i.plural}t.d(D,{t:()=>d})}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_html_html_module_ts"],{1803:(E,v,u)=>{u.d(v,{OK:()=>y,T0:()=>D,TS:()=>i,We:()=>s,gb:()=>h,or:()=>d});var l=u(9379),i=function(c){return c.VERTICAL="vertical",c.HORIZONTAL="horizontal",c.GRID="grid",c.GROUP="group",c.TABS="tabs",c}(i||{}),s=function(c){return c.BLANK="_blank",c.SELF="_self",c}(s||{}),p=function(c){return c.article="article",c.aside="aside",c.details="details",c.figcaption="figcaption",c.figure="figure",c.footer="footer",c.header="header",c.main="main",c.mark="mark",c.nav="nav",c.section="section",c.summary="summary",c.time="time",c}(p||{}),d=function(c){return c.div="div",c.p="p",c}(d||{}),M=function(c){return c.a="a",c.br="br",c.button="button",c.em="em",c.h1="h1",c.h2="h2",c.h3="h3",c.h4="h4",c.h5="h5",c.h6="h6",c.hr="hr",c.iframe="iframe",c.img="img",c.input="input",c.li="li",c.pre="pre",c.small="small",c.span="span",c.ul="ul",c}(M||{});const y=(0,l.A)((0,l.A)((0,l.A)({},M),p),d),h=(0,l.A)((0,l.A)({},p),d),D=(0,l.A)((0,l.A)({},p),d)},2285:(E,v,u)=>{u.d(v,{b:()=>U});var l=u(467),i=u(9379),t=u(177),s=u(1210),p=u(8251),d=u(610),M=u(1803);const y={tag:M.OK.div,content:"",attributes:{}};var h=u(8179),D=u(4438),c=u(9516),g=u(8448),O=u(8004),V=u(1652),A=u(5820);let U=(()=>{var _;class B extends s.${constructor(r,L,f,H,C,x,T,b,K){super(f,r,L,T,b),this.elementRef=r,this.contextService=L,this.injector=f,this.translate=H,this.eventActionService=C,this.store=x,this.document=T,this.globalService=b,this.anchorService=K,this.anchorFeatureEnabled=!1,this.anchorPath=null,this.defaultConfig=(0,i.A)({},y)}get inlineHtml(){return!(!this.domHelper.leanDom||"A"===this.elementRef.nativeElement.tagName&&this.anchorFeatureEnabled&&this.anchorService.getAnchorPathForEventAction(this.config.tap,this.context))}ngOnInit(){var r=()=>super.ngOnInit,L=this;return(0,l.A)(function*(){if(L.anchorFeatureEnabled=L.anchorService.isAnchorFeatureEnabled(),r().call(L),L.elementRef.nativeElement.innerHTML="",!L.inlineHtml){const f=L.renderer.createElement(L.baseConfig.tag);L.renderer.appendChild(L.elementRef.nativeElement,f)}})()}onConfigChanges(){var r=this;return(0,l.A)(function*(){var L,f;const H=r.inlineHtml?r.elementRef.nativeElement:r.renderer.createElement(r.config.tag),C=(0,i.A)({},r.config.attributes);null!==(L=r.config.attributes)&&void 0!==L&&L.src&&(C.src=r.contextService.toResourceUrl(r.config.attributes.src)),null!==(f=r.config.attributes)&&void 0!==f&&f.href&&(C.href=r.contextService.toResourceUrl(r.config.attributes.href)),"iframe"===r.config.tag&&H.addEventListener("load",()=>{H&&H.contentDocument?(H.contentDocument.scrollingElement.scrollHeight>H.contentWindow.innerHeight&&(H.style.height=H.contentDocument.scrollingElement.scrollHeight+"px"),H.contentDocument.scrollingElement.scrollWidth>H.contentWindow.innerWidth&&(H.style.width=H.contentDocument.scrollingElement.scrollWidth+"px")):window.addEventListener("message",T=>{T.origin===new URL(null==C?void 0:C.src).origin&&(T.data.height&&(H.style.height=T.data.height+"px"),T.data.width&&(H.style.width=T.data.width+"px"))})}),Object.keys(C).forEach(T=>H.setAttribute(T,r.config.attributes[T])),r.translatedContent=yield r.translate.translate({text:r.config.content,args:r.config.variables||[]}),H.innerHTML=(0,h.uQ)(r.translatedContent,r.context,r.contextService.$functions,r.globalService.getGlobalData()),r.inlineHtml||(r.elementRef.nativeElement.innerHTML="");let x=H;r.anchorFeatureEnabled&&(r.anchorPath=r.anchorService.getAnchorPathForEventAction(r.config.tap,r.context),r.domHelper.leanDom?r.renderer.setAttribute(r.elementRef.nativeElement,"href",r.anchorPath):x=r.handleAnchorTags(H,r.anchorPath)),x.addEventListener("click",T=>r.onClick(T)),r.inlineHtml||r.renderer.appendChild(r.elementRef.nativeElement,x),r.changeDetectorRef.markForCheck()})()}ngOnDestroy(){super.ngOnDestroy()}onClick(r){this.config.tap&&((this.anchorFeatureEnabled||"touchstart"===r.type)&&r.preventDefault(),this.trackOnClick(),this.eventActionService.processEventAction(this.config.tap,this));const L=this.getAnchorElementFromEvent(r);null!=L&&L.href&&(L.target===M.We.BLANK?"external"===L.getAttribute("data-target")?this.trackLinkOpenExternal(L):this.trackLinkOpenAppBrowser(L):this.trackLinkOpenInline(L))}getConfigEscapeProperties(){return["condition"]}isGhost(){return!1}hasContextChanged(r){return super.hasContextChanged(r)||this.translatedContent&&this.translatedContent.indexOf(h.mF)>-1}getAnchorElementFromEvent(r){var L,f;return"a"===(null===(L=r.target)||void 0===L?void 0:L.tagName.toLowerCase())?r.target:"a"===(null===(f=r.target)||void 0===f||null===(f=f.parentElement)||void 0===f?void 0:f.tagName.toLowerCase())?r.target.parentElement:null}handleAnchorTags(r,L){if(L){const f=this.renderer.createElement("a");return f.style.height="inherit",f.style.width="inherit",f.setAttribute("href",L),f.appendChild(r),f}return r}trackOnClick(){const r="".concat(this.getTrackingBaseKey(),"_CLICKED");this.dispatchTrackingAction(r,{})}trackLinkOpenExternal(r){const L="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_EXTERNAL");this.dispatchTrackingAction(L,{TARGET_URL:r.href,LINK_TEXT:r.innerText})}trackLinkOpenAppBrowser(r){const L="".concat(this.getTrackingBaseKey(),"_LINK_OPEN_APP_BROWSER");this.dispatchTrackingAction(L,{TARGET_URL:r.href,LINK_TEXT:r.innerText})}trackLinkOpenInline(r){this.store.dispatch((0,d.k4)({url:window.location.href,key:"".concat(this.getTrackingBaseKey(),"_LINK_OPEN_INLINE"),params:{TARGET_URL:r.href,LINK_TEXT:r.innerText}}))}dispatchTrackingAction(r,L){this.store.dispatch((0,d.k4)({url:window.location.href,key:r,params:L}))}}return(_=B).type="html",_.\u0275fac=function(r){return new(r||_)(D.rXU(D.aKT),D.rXU(c.V),D.rXU(D.zZn),D.rXU(g.D),D.rXU(O.G),D.rXU(p.B),D.rXU(t.qQ),D.rXU(V.d),D.rXU(A.X))},_.\u0275cmp=D.VBU({type:_,selectors:[["storefront-html"]],standalone:!1,features:[D.Jv_([p.B]),D.Vt3],decls:0,vars:0,template:function(r,L){},styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-html,.pxp-html{position:relative;display:flex}storefront-html.ghost>*,.pxp-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}),B})()},8530:(E,v,u)=>{u.d(v,{$9:()=>U,$S:()=>V,Cq:()=>F,DO:()=>y,EB:()=>d,Ez:()=>A,I5:()=>c,Lw:()=>x,Ny:()=>g,Ob:()=>X,Q5:()=>G,Sj:()=>S,Tz:()=>b,UO:()=>T,VS:()=>_,WL:()=>H,Wb:()=>J,X:()=>K,Zj:()=>B,Zp:()=>r,_O:()=>W,ah:()=>R,bE:()=>M,dD:()=>$,eq:()=>L,f$:()=>D,fy:()=>P,kD:()=>h,mF:()=>O,nY:()=>f,ns:()=>k,qx:()=>N,tk:()=>I,wf:()=>C});var l=u(2285),i=u(8251),t=u(4438);const s=["class","pxp-html"],p='.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-html,.pxp-html{position:relative;display:flex}storefront-html.ghost>*,.pxp-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';let d=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["a",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),M=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["br",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),y=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["button",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),h=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["div",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),D=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["em",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),c=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h1",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),g=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h2",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),O=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h3",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),V=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h4",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),A=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h5",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),U=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["h6",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),_=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["hr",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),B=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["iframe",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),F=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["img",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),r=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["input",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),L=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["li",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),f=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["p",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),H=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["pre",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),C=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["small",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),x=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["span",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),T=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["ul",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),b=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["article",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),K=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["aside",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),I=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["details",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),P=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["figcaption",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),k=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["figure",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),G=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["footer",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),R=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["header",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),S=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["main",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),J=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["mark",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),N=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["nav",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),W=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["section",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),$=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["summary",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})(),X=(()=>{var e;class o extends l.b{}return(e=o).\u0275fac=(()=>{let n;return function(a){return(n||(n=t.xGo(e)))(a||e)}})(),e.\u0275cmp=t.VBU({type:e,selectors:[["time",8,"pxp-html"]],standalone:!1,features:[t.Jv_([i.B]),t.Vt3],attrs:s,decls:0,vars:0,template:function(m,a){},styles:[p],encapsulation:2,changeDetection:0}),o})()},9207:(E,v,u)=>{u.r(v),u.d(v,{HTMLModule:()=>M,component:()=>y});var l=u(177),i=u(2285),t=u(8530),s=u(1803),p=u(4438);let M=(()=>{var h;class D{}return(h=D).\u0275fac=function(g){return new(g||h)},h.\u0275mod=p.$C({type:h}),h.\u0275inj=p.G2t({imports:[l.MD]}),D})();const y={component:i.b,leanDomComponentVariant:h=>{switch(h){case s.OK.div:return t.kD;case s.OK.p:return t.nY;case s.OK.a:return t.EB;case s.OK.br:return t.bE;case s.OK.button:return t.DO;case s.OK.em:return t.f$;case s.OK.h1:return t.I5;case s.OK.h2:return t.Ny;case s.OK.h3:return t.mF;case s.OK.h4:return t.$S;case s.OK.h5:return t.Ez;case s.OK.h6:return t.$9;case s.OK.hr:return t.VS;case s.OK.iframe:return t.Zj;case s.OK.img:return t.Cq;case s.OK.input:return t.Zp;case s.OK.li:return t.eq;case s.OK.pre:return t.WL;case s.OK.small:return t.wf;case s.OK.span:return t.Lw;case s.OK.ul:return t.UO;case s.OK.article:return t.Tz;case s.OK.aside:return t.X;case s.OK.details:return t.tk;case s.OK.figcaption:return t.fy;case s.OK.figure:return t.ns;case s.OK.footer:return t.Q5;case s.OK.header:return t.ah;case s.OK.main:return t.Sj;case s.OK.mark:return t.Wb;case s.OK.nav:return t.qx;case s.OK.section:return t._O;case s.OK.summary:return t.dD;case s.OK.time:return t.Ob;default:return console.warn("No html component found for ".concat(h,", falling back to div")),t.kD}}}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["default-projects_storefront_src_app_component_section_section_module_ts"],{1803:(q,u,m)=>{m.d(u,{OK:()=>D,T0:()=>S,TS:()=>C,We:()=>n,gb:()=>x,or:()=>g});var r=m(9379),C=function(i){return i.VERTICAL="vertical",i.HORIZONTAL="horizontal",i.GRID="grid",i.GROUP="group",i.TABS="tabs",i}(C||{}),n=function(i){return i.BLANK="_blank",i.SELF="_self",i}(n||{}),s=function(i){return i.article="article",i.aside="aside",i.details="details",i.figcaption="figcaption",i.figure="figure",i.footer="footer",i.header="header",i.main="main",i.mark="mark",i.nav="nav",i.section="section",i.summary="summary",i.time="time",i}(s||{}),g=function(i){return i.div="div",i.p="p",i}(g||{}),d=function(i){return i.a="a",i.br="br",i.button="button",i.em="em",i.h1="h1",i.h2="h2",i.h3="h3",i.h4="h4",i.h5="h5",i.h6="h6",i.hr="hr",i.iframe="iframe",i.img="img",i.input="input",i.li="li",i.pre="pre",i.small="small",i.span="span",i.ul="ul",i}(d||{});const D=(0,r.A)((0,r.A)((0,r.A)({},d),s),g),x=(0,r.A)((0,r.A)({},s),g),S=(0,r.A)((0,r.A)({},s),g)},4678:(q,u,m)=>{m.r(u),m.d(u,{SectionModule:()=>qn,component:()=>An});var r=m(177),C=m(467),y=m(9379),n=m(4438),s=m(1803);const g={tag:s.gb.div,content:null};var d=m(1210),D=m(8179),x=m(7879),S=m(1184),i=m(2868),A=m(9516),$=m(1652),U=m(4748);const M=["viewTemplate"];function R(e,a){}function P(e,a){if(1&e&&n.DNE(0,R,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function H(e,a){if(1&e&&(n.qex(0),n.DNE(1,P,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}let l=(()=>{var e;class a extends d.${constructor(o,c,p,I,X,$n,Un){super(c,o,p,I,X),this.elementRef=o,this.injector=c,this.contextService=p,this.document=I,this.globalService=X,this.ssrService=$n,this.purpleEnv=Un,this.defaultConfig=(0,y.A)({},g)}ngOnInit(){this.baseContext.isGhost||super.ngOnInit()}onConfigChanges(){var o=this;return(0,C.A)(function*(){if(o.isLazy=!(!window.isUniversal||!o.ssrService.currentPrebootStatus),o.baseConfig.content){o.children=[];for(let c=0;c<o.baseConfig.content.length;c++)(o.purpleEnv.isUniversal||(0,D.Ol)(o.config.content[c]))&&o.children.push(o.baseConfig.content[c]);o.changeDetectorRef.detectChanges(),yield Promise.all(o.childComponents.map((c,p)=>!o.purpleEnv.isUniversal||(0,D.Ol)(o.config.content[p])?c.lazyLoad():o.purpleEnv.isUniversal&&(0,r.UE)(o.platformId)?null==c?void 0:c.clear():Promise.resolve())),o.changeDetectorRef.markForCheck()}})()}stripChildConfigs(o){return o.content&&Array.isArray(o.content)&&(o.content=o.content.map(({_uuid:c,condition:p})=>({_uuid:c,condition:p}))),o}rebuildContextKeys(){super.rebuildContextKeys(),this.baseConfig.content.forEach(o=>{"condition"in o&&(0,S.Fl)(o.condition,this.contextKeys)})}trackByChildren(o,c){if("string"==typeof c||"number"==typeof c)return c;const p=c.id||c._uuid;if(!p)throw console.error(c),"Element should have _uuid from config loader!";return p}}return(e=a).type="section",e.\u0275fac=function(o){return new(o||e)(n.rXU(n.aKT),n.rXU(n.zZn),n.rXU(A.V),n.rXU(r.qQ),n.rXU($.d),n.rXU(U.i),n.rXU(x.r6))},e.\u0275cmp=n.VBU({type:e,selectors:[["storefront-section"]],viewQuery:function(o,c){if(1&o&&(n.GBs(M,7,n.c1b),n.GBs(i.q,5)),2&o){let p;n.mGM(p=n.lsd())&&(c.viewTemplate=p.first),n.mGM(p=n.lsd())&&(c.childComponents=p)}},standalone:!1,features:[n.Vt3],decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,H,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:["storefront-section,.pxp-section{display:flex;justify-content:space-between;padding:var(--sectionPadding);flex-direction:column}\n"],encapsulation:2,changeDetection:0}),a})();const _=["class","pxp-section"];function j(e,a){}function K(e,a){if(1&e&&n.DNE(0,j,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function Q(e,a){if(1&e&&(n.qex(0),n.DNE(1,K,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function W(e,a){}function Z(e,a){if(1&e&&n.DNE(0,W,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function w(e,a){if(1&e&&(n.qex(0),n.DNE(1,Z,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}const f="storefront-section,.pxp-section{display:flex;justify-content:space-between;padding:var(--sectionPadding);flex-direction:column}\n";function J(e,a){}function nn(e,a){if(1&e&&n.DNE(0,J,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function en(e,a){if(1&e&&(n.qex(0),n.DNE(1,nn,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function tn(e,a){}function on(e,a){if(1&e&&n.DNE(0,tn,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function an(e,a){if(1&e&&(n.qex(0),n.DNE(1,on,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function cn(e,a){}function rn(e,a){if(1&e&&n.DNE(0,cn,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function sn(e,a){if(1&e&&(n.qex(0),n.DNE(1,rn,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function mn(e,a){}function ln(e,a){if(1&e&&n.DNE(0,mn,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function pn(e,a){if(1&e&&(n.qex(0),n.DNE(1,ln,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function _n(e,a){}function fn(e,a){if(1&e&&n.DNE(0,_n,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function gn(e,a){if(1&e&&(n.qex(0),n.DNE(1,fn,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function un(e,a){}function Cn(e,a){if(1&e&&n.DNE(0,un,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function dn(e,a){if(1&e&&(n.qex(0),n.DNE(1,Cn,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function Dn(e,a){}function yn(e,a){if(1&e&&n.DNE(0,Dn,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function xn(e,a){if(1&e&&(n.qex(0),n.DNE(1,yn,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function Sn(e,a){}function Ln(e,a){if(1&e&&n.DNE(0,Sn,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function bn(e,a){if(1&e&&(n.qex(0),n.DNE(1,Ln,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function Fn(e,a){}function hn(e,a){if(1&e&&n.DNE(0,Fn,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function vn(e,a){if(1&e&&(n.qex(0),n.DNE(1,hn,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function Gn(e,a){}function Tn(e,a){if(1&e&&n.DNE(0,Gn,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function Bn(e,a){if(1&e&&(n.qex(0),n.DNE(1,Tn,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function En(e,a){}function Nn(e,a){if(1&e&&n.DNE(0,En,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function kn(e,a){if(1&e&&(n.qex(0),n.DNE(1,Nn,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function zn(e,a){}function Vn(e,a){if(1&e&&n.DNE(0,zn,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function Yn(e,a){if(1&e&&(n.qex(0),n.DNE(1,Vn,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}function On(e,a){}function In(e,a){if(1&e&&n.DNE(0,On,0,0,"ng-template",2),2&e){const t=a.$implicit,o=n.XpG(2);n.Y8G("baseContext",o.baseContext)("baseConfig",t)("lazy",o.isLazy)}}function Xn(e,a){if(1&e&&(n.qex(0),n.DNE(1,In,1,3,null,1),n.bVm()),2&e){const t=n.XpG();n.R7$(),n.Y8G("ngForOf",t.children)("ngForTrackBy",t.trackByChildren)}}let L=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["div",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,Q,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),b=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["p",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,w,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),F=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["article",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,en,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),h=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["aside",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,an,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),v=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["details",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,sn,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),G=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["figcaption",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,pn,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),T=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["figure",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,gn,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),B=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["footer",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,dn,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),E=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["header",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,xn,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),N=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["main",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,bn,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),k=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["mark",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,vn,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),z=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["nav",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,Bn,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),V=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["section",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,kn,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),Y=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["summary",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,Yn,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),O=(()=>{var e;class a extends l{}return(e=a).\u0275fac=(()=>{let t;return function(c){return(t||(t=n.xGo(e)))(c||e)}})(),e.\u0275cmp=n.VBU({type:e,selectors:[["time",8,"pxp-section"]],standalone:!1,features:[n.Vt3],attrs:_,decls:1,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"pxpDynamicComponent","baseContext","baseConfig","lazy"]],template:function(o,c){1&o&&n.DNE(0,Xn,2,2,"ng-container",0),2&o&&n.Y8G("ngIf",c.children)},dependencies:[r.Sq,r.bT,i.q],styles:[f],encapsulation:2,changeDetection:0}),a})(),qn=(()=>{var e;class a{}return(e=a).\u0275fac=function(o){return new(o||e)},e.\u0275mod=n.$C({type:e}),e.\u0275inj=n.G2t({imports:[r.MD]}),a})();const An={component:l,leanDomComponentVariant:e=>{switch(e){case s.gb.div:return L;case s.gb.p:return b;case s.gb.article:return F;case s.gb.aside:return h;case s.gb.details:return v;case s.gb.figcaption:return G;case s.gb.figure:return T;case s.gb.footer:return B;case s.gb.header:return E;case s.gb.main:return N;case s.gb.mark:return k;case s.gb.nav:return z;case s.gb.section:return V;case s.gb.summary:return Y;case s.gb.time:return O;default:return console.warn("No section component found for ".concat(e,", falling back to div")),L}}}}}]);
|