@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.
- package/files/framework-latest/src/default/storefront/buildInfo.json +3 -3
- package/files/framework-latest/src/default/storefront/deep-link-landing/499.js +1 -0
- package/files/framework-latest/src/default/storefront/deep-link-landing/764.js +2 -0
- package/files/framework-latest/src/default/storefront/deep-link-landing/764.js.LICENSE.txt +4 -0
- package/files/framework-latest/src/default/storefront/deep-link-landing/purple-deep-link-landing.js +96 -122
- 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 -1
- 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_coupon_coupon_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_dropdown_dropdown_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_login_login_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_menu_menu_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_search-field_search-field_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_toggle_toggle_module_ts.js +1 -1
- package/files/framework-latest/src/default/storefront/modules/projects_storefront_src_app_component_web-presenter_presenter_presenter_module_ts.js +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_menu_menu_module_ts"],{4386:(Vt,x,r)=>{r.r(x),r.d(x,{MenuModule:()=>Pt,component:()=>jt});var s=r(177),S=r(467),l=r(9379),t=r(3953),E=r(9079),C=(r(4404),r(5343)),c=r(3726),L=r(7786),T=r(5964),D=r(6697),v=r(4452),M=r(5102),N=r(5204),h=r(9745),I=r(8251),B=r(7467),G=r(1210),_=r(2853),H=r(7879);const F=["menuItem"],R=(o,m,n)=>({items:o,depth:m,leanDom:n}),k=(o,m)=>({items:o,depth:0,leanDom:m});function y(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",9),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function A(o,m){if(1&o&&t.Z7z(0,y,1,2,"storefront-button",8,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function X(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function $(o,m){if(1&o&&t.Z7z(0,X,1,2,"div",10,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function P(o,m){if(1&o&&(t.j41(0,"div",6),t.DNE(1,A,2,0)(2,$,2,0),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.vxM(n.domHelper.leanDom?-1:1),t.R7$(),t.vxM(n.domHelper.leanDom?2:-1)}}function j(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",13),t.bIt("onButtonTap",function(i){const a=t.eBV(n).$implicit,p=t.XpG(2).$implicit,u=t.XpG(2);return t.Njj(u.onSlideInItemClick(i,a,p))}),t.k0s()}if(2&o){const n=m.$implicit,e=m.$index,i=t.XpG(2).$implicit,a=t.XpG(2);t.Y8G("parentBaseConfig",a.getButtonConfig(n,e,i)),t.BMQ("title",n.description)}}function w(o,m){if(1&o&&t.Z7z(0,j,1,2,"storefront-button",12,t.Vm6),2&o){const n=t.XpG().$implicit,e=t.XpG(2);t.Dyx(e.getCurrentItems(n))}}function V(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",15),t.bIt("onButtonTap",function(i){const a=t.eBV(n).$implicit,p=t.XpG(2).$implicit,u=t.XpG(2);return t.Njj(u.onSlideInItemClick(i,a,p))}),t.k0s()}if(2&o){const n=m.$implicit,e=m.$index,i=t.XpG(2).$implicit,a=t.XpG(2);t.Y8G("parentBaseConfig",a.getButtonConfig(n,e,i)),t.BMQ("title",n.description)}}function z(o,m){if(1&o&&t.Z7z(0,V,1,2,"div",14,t.Vm6),2&o){const n=t.XpG().$implicit,e=t.XpG(2);t.Dyx(e.getCurrentItems(n))}}function W(o,m){if(1&o&&(t.j41(0,"div",7),t.DNE(1,w,2,0)(2,z,2,0),t.k0s()),2&o){const n=m.$implicit,e=t.XpG(2);t.BMQ("menu-name",e.domHelper.leanDom?null:n.name)("data-pxp-menu-name",e.domHelper.leanDom?n.name:null),t.R7$(),t.vxM(e.domHelper.leanDom?-1:1),t.R7$(),t.vxM(e.domHelper.leanDom?2:-1)}}function Y(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",3),t.bIt("click",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.close())}),t.k0s(),t.j41(1,"div",4),t.bIt("click",function(i){return t.eBV(n),t.Njj(i.stopPropagation())}),t.j41(2,"div",5),t.DNE(3,P,3,2,"div",6),t.Z7z(4,W,3,4,"div",7,t.fX1),t.k0s()()}if(2&o){const n=t.XpG();t.R7$(3),t.vxM(n.menuActions?3:-1),t.R7$(),t.Dyx(n.menus)}}function O(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",9),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function Q(o,m){if(1&o&&t.Z7z(0,O,1,2,"storefront-button",8,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function Z(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function U(o,m){if(1&o&&t.Z7z(0,Z,1,2,"div",10,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function J(o,m){if(1&o&&(t.j41(0,"div",6),t.DNE(1,Q,2,0)(2,U,2,0),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.vxM(n.domHelper.leanDom?-1:1),t.R7$(),t.vxM(n.domHelper.leanDom?2:-1)}}function K(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",13),t.bIt("onButtonTap",function(i){t.eBV(n);const a=t.XpG(2).$implicit,p=t.XpG(3);return t.Njj(p.onStaticItemClick(i,a))}),t.k0s()}if(2&o){const n=t.XpG(2).$implicit,e=t.XpG(3);t.Y8G("parentBaseConfig",e.getButtonConfig(n)),t.BMQ("title",n.description)}}function q(o,m){if(1&o&&t.DNE(0,K,1,2,"storefront-button",12),2&o){const n=t.XpG(2).leanDom;t.vxM(n?-1:0)}}function tt(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",15),t.bIt("onButtonTap",function(i){t.eBV(n);const a=t.XpG(2).$implicit,p=t.XpG(3);return t.Njj(p.onStaticItemClick(i,a))}),t.k0s()}if(2&o){const n=t.XpG(2).$implicit,e=t.XpG(3);t.Y8G("parentBaseConfig",e.getButtonConfig(n)),t.BMQ("title",n.description)}}function et(o,m){if(1&o&&t.DNE(0,tt,1,2,"div",14),2&o){const n=t.XpG(2).leanDom;t.vxM(n?0:-1)}}function nt(o,m){if(1&o&&t.eu8(0,18),2&o){const n=t.XpG(2).$implicit,e=t.XpG(),i=e.depth,a=e.leanDom;t.XpG();const p=t.sdS(4);t.Y8G("ngTemplateOutlet",p)("ngTemplateOutletContext",t.sMw(2,R,n.childItems,i+1,a))}}function ot(o,m){if(1&o&&(t.j41(0,"ul",17),t.Z7z(1,nt,1,6,"ng-container",18,t.fX1),t.k0s()),2&o){const n=t.XpG().$implicit;t.R7$(),t.Dyx(n.childItems)}}function it(o,m){if(1&o&&(t.j41(0,"li",16,1),t.DNE(2,q,1,1)(3,et,1,1)(4,ot,3,0,"ul",17),t.k0s()),2&o){const n=m.$implicit,e=t.XpG(),i=e.depth,a=e.leanDom,p=t.XpG(2);t.Y8G("ngClass",p.getMenuItemLiClasses(n)),t.BMQ("depth",i)("child-items",!(null==n||null==n.childItems||!n.childItems.length))("item-id",null==n?null:n.id),t.R7$(2),t.vxM(a?-1:2),t.R7$(),t.vxM(a?3:-1),t.R7$(),t.vxM(null!=n.childItems&&n.childItems.length?4:-1)}}function at(o,m){1&o&&t.Z7z(0,it,5,7,"li",16,t.fX1),2&o&&t.Dyx(m.items)}function mt(o,m){if(1&o&&(t.j41(0,"ul",7),t.eu8(1,18),t.k0s()),2&o){const n=m.$implicit;t.XpG();const e=t.sdS(4),i=t.XpG();t.BMQ("menu-name",i.domHelper.leanDom?null:n.name)("data-pxp-menu-name",i.domHelper.leanDom?n.name:null),t.R7$(),t.Y8G("ngTemplateOutlet",e)("ngTemplateOutletContext",t.l_i(4,k,n.items,i.domHelper.leanDom))}}function pt(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",4),t.bIt("click",function(i){return t.eBV(n),t.Njj(i.stopPropagation())}),t.j41(1,"div",5),t.DNE(2,J,3,2,"div",6)(3,at,2,0,"ng-template",null,0,t.C5r),t.Z7z(5,mt,2,7,"ul",7,t.fX1),t.k0s()()}if(2&o){const n=t.XpG();t.R7$(2),t.vxM(n.menuActions?2:-1),t.R7$(3),t.Dyx(n.menus)}}function rt(o){var m;const n=new Set(null===(m=o.items)||void 0===m?void 0:m.map(a=>(0,l.A)((0,l.A)({},a),{},{childItems:[],depth:-1}))),e=new Map([...n.values()].map(a=>[a.id,a]));for(const a of n)if(a.parentId&&a.parentId!==o.id){if(!e.has(a.parentId))throw new Error("Menu ".concat(o.name,": no parent item with id ").concat(a.parentId," found"));e.get(a.parentId).childItems.push(a),n.delete(a)}const i=(a,p)=>{a.depth=p,a.childItems.forEach(u=>i(u,p+1))};return n.forEach(a=>i(a,0)),(0,l.A)((0,l.A)({},o),{},{items:[...n]})}let f=(()=>{var o;class m extends G.${constructor(){super(...arguments),this.injector=(0,t.WQX)(t.zZn),this.appMenuService=(0,t.WQX)(N.I),this.store=(0,t.WQX)(I.B),this.destroyRef=(0,t.WQX)(t.abz),this.purpleService=(0,t.WQX)(M.Wj),this.purpleEnv=(0,t.WQX)(H.r6),this.changeDetectorRef=(0,t.WQX)(t.gRc),this.defaultConfig=(0,l.A)({},_.ge),this.show=!1,this.fadeOutActive=!1,this.menus=[]}ngOnInit(){super.ngOnInit()}onConfigChanges(){var e=this;return(0,S.A)(function*(){e.handleConfigureAppMenuService(),e.handleConfigureOrResetDataSource(),e.handleSubscribeToStoreManager(),e.dataSource.loadData(),e.menuActions=e.config.actions})()}ngOnDestroy(){super.ngOnDestroy(),this.appMenuService.unregisterCustomSideMenuComponent(this)}handleSubscribeToStoreManager(){this.store.subscribe(this.dataSource.data$.pipe((0,T.p)(e=>!!e&&e.length>0&&this.dataSource.hasData()),(0,E.pQ)(this.destroyRef)),e=>{try{this.menus=e.map(rt)}catch(i){console.error(i)}this.changeDetectorRef.detectChanges(),this.setupEventListeners()},C.l,C.l,"data")}handleConfigureOrResetDataSource(){this.dataSource?this.dataSource.hasConfigChanged(this.config.dataSource)&&(this.dataSource.setConfig(this.config.dataSource),this.dataSource.reset()):this.dataSource=(0,v.O8)(this.injector,this.config.dataSource,this.elementRef.nativeElement,this.document)}handleConfigureAppMenuService(){this.config.template!==_.oH.STATIC&&this.appMenuService.registerCustomSideMenuComponent(this),this.appMenuService.$menuOpen.subscribe(e=>{var i,a;e!==this.show&&(!e&&(null===(i=this.config)||void 0===i?void 0:i.template)!==_.oH.STATIC&&(null===(a=this.config)||void 0===a?void 0:a.animationDuration)>0?(this.fadeOutActive=!0,this.changeDetectorRef.detectChanges(),setTimeout(()=>{this.show=!1,this.fadeOutActive=!1,this.changeDetectorRef.markForCheck()},this.config.animationDuration)):(this.show=e,this.changeDetectorRef.detectChanges()))})}getMenuItemLiClasses(e){const i=["menu-item","menu-item-".concat(e.name.replace(/ /g,"-")),...e.cssClasses];return this.hasMenuItemChildren(e)&&i.push("menu-item-has-children"),this.isExpanded(e)&&i.push("menu-item-open"),i}onStaticItemClick(e,i){this.hasMenuItemChildren(i)?this.handleStaticItemClickForMenuItemWithChildren(e,i):this.handleStaticItemClickForMenuItemWithoutChildren(i)}handleStaticItemClickForMenuItemWithChildren(e,i){if(!this.isRootSubMenu(i))return;const a=this.getSubMenuBehaviour();switch(a){case"onMouseHover":case"onClick":this.isExpanded(i)||this.handleExpand(e,i);break;case"onIconClick":this.isRightButton(e)&&(this.isExpanded(i)?this.handleCollapse(e,i):this.handleExpand(e,i));break;default:console.warn("Unknown menu item behavior for: "+a)}}handleExpand(e,i){e.preventDefault(),e.stopPropagation(),this.anyMenuItemExpanded()&&!this.isExpanded(i)&&this.closeSubMenu(i),this.openSubMenuForItem(i)}handleCollapse(e,i){e.preventDefault(),e.stopPropagation(),this.isExpanded(i)&&this.closeSubMenu(i)}handleStaticItemClickForMenuItemWithoutChildren(e){this.anyMenuItemExpanded()&&this.clearSubMenu()}onSlideInItemClick(e,i,a){if(this.isRightButton(e)){e.preventDefault(),e.stopPropagation();const u=this.getCurrentItems(a).findIndex(d=>d.id===i.id);a.currentItemsPath=a.currentItemsPath||[],a.currentItemsPath.push(u)}else this.isLeftButton(e)?(e.preventDefault(),e.stopPropagation(),a.currentItemsPath.pop()):this.appMenuService.setOpen(!1)}getButtonConfig(e,i,a){var p,u,d;const wt=this.getTapAction(e);return{message:"MENU_ITEM",class:"menu-button menu-button-".concat(e.name.replace(/ /g,"-")," ").concat(null!==(p=null===(u=e.cssClasses)||void 0===u?void 0:u.join(" "))&&void 0!==p?p:""),variables:[e.title||e.name],tap:wt,iconLeft:(null==a||null===(d=a.currentItemsPath)||void 0===d?void 0:d.length)>0&&0==i?{cssClasses:"icon icon-back"}:e.thumbnailsExtended.default,iconRight:this.hasMenuItemChildren(e)?{cssClasses:"icon icon-arrow-down"}:void 0}}isLeftButton(e){return e.target.classList.contains("button-icon-left")}isRightButton(e){return e.target.classList.contains("button-icon-right")}close(){this.appMenuService.setOpen(!1)}topMenuAction(e){e.name===_.F9.close&&this.close()}getCurrentItems(e){let i=e.items;return e.currentItemsPath=e.currentItemsPath||[],e.currentItemsPath.forEach(a=>{i[a].childItems.length>0&&(i=i[a].childItems)}),i}setupEventListeners(){if((0,s.UE)(this.platformId)&&"STATIC"===this.template){const e=this.getSubMenuBehaviour();this.menuItems.forEach(i=>{this.setupEventListenersForItem(i,e)})}}setupEventListenersForItem(e,i){const a=e.nativeElement,p=this.getMenuItemById(a.getAttribute("item-id"));null!==p&&this.isRootSubMenu(p)&&"onMouseHover"===i&&(0,B.Y)().isDesktop&&((0,c.R)(a,"mouseenter").subscribe(u=>this.onMenuItemMouseEnter(u,p)),(0,c.R)(a,"mouseleave").subscribe(u=>this.onMenuItemMouseLeave(u,p)))}onMenuItemMouseEnter(e,i){e.stopPropagation(),e.preventDefault(),this.openSubMenuForItem(i)}onMenuItemMouseLeave(e,i){e.stopPropagation(),e.preventDefault(),this.closeSubMenu(i)}isNavigationAction(e){return!e.url.startsWith("purple://")&&!e.url.startsWith("http://")&&!e.url.startsWith("https://")}getTapAction(e){return this.isNavigationAction(e)?{type:h.H.NAVIGATE,path:e.url}:{type:h.H.OPEN_URL,target:e.target,url:e.url}}getSubMenuBehaviour(){var e,i;return null!==(e=null===(i=this.config.openSubMenu)||void 0===i?void 0:i.behaviour)&&void 0!==e?e:"onMouseHover"}isExpanded(e){return this.expandedMenuItemId===e.id}anyMenuItemExpanded(){return null!=this.expandedMenuItemId}isRootSubMenu(e){return 0===e.depth&&this.hasMenuItemChildren(e)}hasMenuItemChildren(e){return e.childItems.length>0}getMenuItemById(e){var i=null;return this.menus.forEach(a=>{a.items.forEach(p=>{i||(i=this.getMenuItemByIdRecursive(p,e))})}),i}getMenuItemByIdRecursive(e,i){let a=null;return e.id===i&&(a=e),e.childItems.forEach(p=>{a||(a=this.getMenuItemByIdRecursive(p,i))}),a}openSubMenuForItem(e){this.expandedMenuItemId=e.id,this.setupMenuCloseHandler(e),this.changeDetectorRef.detectChanges()}closeSubMenu(e){this.isExpanded(e)&&this.clearSubMenu()}clearSubMenu(){this.expandedMenuItemId=null,this.changeDetectorRef.detectChanges()}setupMenuCloseHandler(e){(0,L.h)((0,c.R)(this.document,"touchstart",{passive:!1}),(0,c.R)(this.document,"click",{passive:!1})).pipe((0,T.p)(i=>this.expandedMenuItemId===e.id&&!this.elementRef.nativeElement.contains(i.target)),(0,D.s)(1)).subscribe(i=>{this.closeSubMenu(e)})}}return(o=m).\u0275fac=(()=>{let n;return function(i){return(n||(n=t.xGo(o)))(i||o)}})(),o.\u0275cmp=t.VBU({type:o,selectors:[["storefront-menu"]],viewQuery:function(e,i){if(1&e&&t.GBs(F,5),2&e){let a;t.mGM(a=t.lsd())&&(i.menuItems=a)}},hostVars:2,hostBindings:function(e,i){2&e&&t.AVh("menu-fade-out",i.fadeOutActive)},standalone:!1,features:[t.Jv_([I.B]),t.Vt3],decls:2,vars:2,consts:[["menuItemsTemplate",""],["menuItem",""],[1,"menu"],[1,"side-menu-backdrop",3,"click"],[1,"menu",3,"click"],[1,"items"],[1,"menu-actions"],[1,"menu-content"],[3,"parentBaseContext","parentBaseConfig"],[3,"click","parentBaseContext","parentBaseConfig"],[1,"pxp-button",3,"parentBaseContext","parentBaseConfig"],[1,"pxp-button",3,"click","parentBaseContext","parentBaseConfig"],[3,"parentBaseConfig"],[3,"onButtonTap","parentBaseConfig"],[1,"pxp-button",3,"parentBaseConfig"],[1,"pxp-button",3,"onButtonTap","parentBaseConfig"],[3,"ngClass"],[1,"menu-item-children"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&t.DNE(0,Y,6,1)(1,pt,7,1,"div",2),2&e&&(t.vxM("SLIDE_IN_LEFT"!==i.template&&"SLIDE_IN_RIGHT"!==i.template||!i.show?-1:0),t.R7$(),t.vxM("STATIC"===i.template?1:-1))},styles:['html body{--primaryColor: #00adef;--primaryColorNightMode: white;--secondaryColor: rgb(200, 200, 200);--backgroundColor: rgb(255, 255, 255);--secondaryBackgroundColor: rgb(200, 200, 200);--textColor: rgb(0, 0, 0);--accentColor: var(--primaryColor);--secondaryTextColor: rgb(80, 80, 80);--ghostColor: rgba(200, 200, 200);--gutter: 16px;--borderRadius: 4px;--actionButtonHeight: 50px;--appBarColor: white;--appBarTextColor: var(--textColor);--appBarHeight: 54px;--appBarDisplay: flex;--appBarShrinkDisplay: flex;--appBarShrinkHeight: 30px;--appBarFontSize: 1em;--appBarShrinkFontSize: .6em;--appBarPaddingVert: 4px;--appBarPaddingHoriz: 0;--appBarButtonWidth: 50px;--appMenuColor: white;--navigationHeight: 50px;--navigationShrinkHeight: 30px;--navigationColor: var(--textColor);--navigationBgColor: white;--navigationActiveColor: var(--primaryColor);--listPadding: var(--gutter);--listPaddingHoriz: var(--gutter);--listPaddingVert: var(--gutter);--listItemGutter: var(--gutter);--gridListColumns: 4;--listTabBorderWidth: 1px;--listTabBorderRadius: var(--borderRadius);--listTabHighlightColor: var(--primaryColor);--listTabHighlightTextColor: white;--buttonPaddingVert: calc(var(--gutter) / 2);--buttonPaddingHoriz: calc(var(--gutter) / 2);--modalBgColor: white;--modalPadding: var(--gutter);--modalPaddingBottom: var(--gutter);--issueProgressPaddingVert: 2px;--issueProgressPaddingHoriz: 2px;--issueProgressMarginVert: calc(var(--gutter) / 2);--issueProgressMarginHoriz: calc(var(--gutter) / 2);--issueProgressBgColor: var(--secondaryColor);--issueProgressColor: var(--primaryColor);--issueProgressFontColor: white;--issueUpdateBadgeBgColor: var(--primaryColor);--issueUpdateBadgeColor: white;--subscriptionPaddingVert: var(--gutter);--subscriptionPaddingHoriz: var(--gutter);--subscriptionPurchasedMarginHoriz: 6px;--subscriptionPurchasedBorderRadius: 20px;--loginPaddingVert: var(--gutter);--loginPaddingHoriz: var(--gutter);--loginElementMarginVert: calc(var(--gutter));--loginElementMarginHoriz: 0;--couponPaddingVert: var(--gutter);--couponPaddingHoriz: var(--gutter);--couponElementMarginVert: calc(var(--gutter));--couponElementMarginHoriz: 0;--couponElementPaddingVert: calc(var(--gutter));--couponElementPaddingHoriz: calc(var(--gutter));--bookmarkBgColor: transparent;--bookmarkImageBgColor: white;--sectionPadding: 0;--spinnerColor: #fff;--imageBackgroundColor: transparent;--imageLoadingColor: rgb(200, 200, 200);--dropdownPaddingX: calc(var(--gutter) / 2);--dropdownPaddingY: calc(var(--gutter) / 2);--tickerGutter: var(--gutter);--tickerPaddingY: var(--gutter);--searchFieldFontSize: 14px;--swiperPaginationTabHeight: 50px;--swiperPaginationBorderWidth: 4px;--swiperPaginationBackgroundColor: white;--swiperPaginationColor: var(--primaryColor);--switchWidth: 50px;--switchActiveColor: var(--primaryColor);--switchHandleColor: #fff;--switchBackgroundColor: #f1f1f1;--switchBorderWidth: 3px;--switchBorderRadius: calc(var(--switchWidth) * .6);--stackedCoversWidth: 40%;--stackedCoversScaleStep: .1;--stackedCoversTranslateStep: .3;--stackedCoversTopEvenCenteredGap: 4px;--toolbarbackgroundColor: transparent;--toolbarIconColor: #a9a9a9;--zIndexAppBar: 999;color:var(--textColor);--contentFont: "OpenSans", sans-serif;--contentHeadlineFont: var(--contentFont);--contentIconNavigateBack: url(resource://dynamic/content/assets/ic_left.svg);--contentIconNavigateForward: url(resource://dynamic/content/assets/ic_right.svg);--contentSpinner: url(resource://dynamic/content/assets/tail-spin.svg);--contentBgColor: #ffffff;--contentTextColor: black;--contentPaddingVert: 30px;--contentPaddingHoriz: 50px;--contentHeaderMarginTop: 1em;--contentHeaderMarginBottom: 1.5em;--contentHeaderPaddingVert: 1em;--contentHeaderElementMarginTop: .5em;--contentHeaderElementMarginBottom: .5em;--contentSectionPaddingVert: 1em;--contentSectionPaddingHoriz: 1em;--contentElementMarginTop: 1em;--contentElementMarginBottom: 1em;--contentElementPaddingVert: .5em;--contentElementPaddingHoriz: 1em;--contentHeadlineBigMarginTop: 1.5em;--contentHeadlineBigMarginBottom: .5em;--contentHeadlineSmallMarginTop: 1em;--contentHeadlineSmallMarginBottom: .5em;--contentNavigateButtonColor: var(--primaryColor);--contentNavigateButtonSize: 30px;--contentNavigateButtonGap: 12px;--contentBgColorNightMode: #323232;--contentTextColorNightMode: #ffffff;--contentNavigateButtonColorNightMode: var(--primaryColorNightMode);--menuItemIconGap: calc(var(--menuItemIconHeight) / 2);--menuItemIconHeight: 14px}@media (max-width: 767px) and (orientation: portrait),(max-height: 767px) and (orientation: landscape){html body{--gridListColumns: 3}}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){html body{--gridListColumns: 2;--actionButtonHeight: 40px}}@media (max-height: 533px) and (orientation: landscape){html body{--gridListColumns: 3}}@media (max-width: 533px) and (orientation: portrait){html body{--contentPaddingHoriz: 30px}}.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-menu,.pxp-menu{--textColor: var(--colorTextInverted, #000)}storefront-menu .menu-content,.pxp-menu .menu-content{display:flex;flex-wrap:wrap}storefront-menu[template=STATIC] .menu-content>ul,storefront-menu[data-pxp-template=STATIC] .menu-content>ul,.pxp-menu[template=STATIC] .menu-content>ul,.pxp-menu[data-pxp-template=STATIC] .menu-content>ul{display:flex}storefront-menu[template=STATIC] .menu-item,storefront-menu[data-pxp-template=STATIC] .menu-item,.pxp-menu[template=STATIC] .menu-item,.pxp-menu[data-pxp-template=STATIC] .menu-item{list-style:none}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul{display:none}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button,storefront-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button{width:100%;display:block}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,storefront-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button{width:100%}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,storefront-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a{justify-content:flex-start}storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children{display:flex;position:absolute;box-shadow:0 5px 15px #00000080;z-index:100;background-color:var(--backgroundColor);border-radius:4px}storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button{background-color:transparent}storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover{background-color:var(--primaryColor)}@keyframes menu-slide-in-opacity{0%{opacity:0}to{opacity:1}}@keyframes menu-slide-out-opacity{0%{opacity:1}to{opacity:0}}storefront-menu[template=SLIDE_IN_RIGHT] .side-menu-backdrop,storefront-menu[template=SLIDE_IN_LEFT] .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_RIGHT] .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_LEFT] .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .side-menu-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;z-index:6;background-color:#0009;animation:menu-slide-in-opacity .3s forwards}storefront-menu[template=SLIDE_IN_RIGHT] .menu,storefront-menu[template=SLIDE_IN_LEFT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu,.pxp-menu[template=SLIDE_IN_RIGHT] .menu,.pxp-menu[template=SLIDE_IN_LEFT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu{position:fixed;width:100%;top:0;height:100vh;max-width:300px;z-index:8;background-color:#fff;font-family:var(--contentFont);padding:0 20px 20px;overflow-y:auto}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions{display:flex;justify-content:end;-webkit-justify-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;position:-webkit-sticky;position:-webkit-sticky;position:sticky;top:0;padding-bottom:10%;border-bottom:.5px var(--toolbarIconColor) solid;background-color:#fff;z-index:1}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions div,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions div,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions div,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions div{margin-right:.3em;color:var(--toolbarIconColor);font-size:1.5em}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content{display:flex;flex-direction:column;margin-bottom:15px;background-color:var(--appMenuColor);overflow:hidden}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button{font-size:20px;line-height:56px;letter-spacing:.38px;font-family:var(--contentFont)}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button{text-align:left;width:100%}storefront-menu[template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,storefront-menu[template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop{animation:menu-slide-out-opacity .3s forwards}@keyframes menu-slide-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes menu-slide-out-right{0%{transform:translate(0)}to{transform:translate(100%)}}storefront-menu[template=SLIDE_IN_RIGHT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu,.pxp-menu[template=SLIDE_IN_RIGHT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu{right:0;left:auto;animation:menu-slide-in-right .3s forwards}storefront-menu[template=SLIDE_IN_RIGHT].menu-fade-out .menu,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .menu,.pxp-menu[template=SLIDE_IN_RIGHT].menu-fade-out .menu,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .menu{animation:menu-slide-out-right .3s forwards}@keyframes menu-slide-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes menu-slide-out-left{0%{transform:translate(0)}to{transform:translate(-100%)}}storefront-menu[template=SLIDE_IN_LEFT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu,.pxp-menu[template=SLIDE_IN_LEFT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu{right:auto;left:0;animation:menu-slide-in-left .3s forwards}storefront-menu[template=SLIDE_IN_LEFT].menu-fade-out .menu,storefront-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .menu,.pxp-menu[template=SLIDE_IN_LEFT].menu-fade-out .menu,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .menu{animation:menu-slide-out-left .3s forwards}\n'],encapsulation:2,changeDetection:0}),m})();var ut=r(9805),g=r(395),b=r(4336);const st=["class","pxp-menu"],lt=(o,m,n)=>({items:o,depth:m,leanDom:n}),dt=(o,m)=>({items:o,depth:0,leanDom:m});function ct(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",9),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function _t(o,m){if(1&o&&t.Z7z(0,ct,1,2,"storefront-button",8,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function It(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function ft(o,m){if(1&o&&t.Z7z(0,It,1,2,"div",10,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function xt(o,m){if(1&o&&(t.j41(0,"div",6),t.DNE(1,_t,2,0)(2,ft,2,0),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.vxM(n.domHelper.leanDom?-1:1),t.R7$(),t.vxM(n.domHelper.leanDom?2:-1)}}function Ct(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",13),t.bIt("onButtonTap",function(i){const a=t.eBV(n).$implicit,p=t.XpG(2).$implicit,u=t.XpG(2);return t.Njj(u.onSlideInItemClick(i,a,p))}),t.k0s()}if(2&o){const n=m.$implicit,e=m.$index,i=t.XpG(2).$implicit,a=t.XpG(2);t.Y8G("parentBaseConfig",a.getButtonConfig(n,e,i)),t.BMQ("title",n.description)}}function Tt(o,m){if(1&o&&t.Z7z(0,Ct,1,2,"storefront-button",12,t.Vm6),2&o){const n=t.XpG().$implicit,e=t.XpG(2);t.Dyx(e.getCurrentItems(n))}}function ht(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",15),t.bIt("onButtonTap",function(i){const a=t.eBV(n).$implicit,p=t.XpG(2).$implicit,u=t.XpG(2);return t.Njj(u.onSlideInItemClick(i,a,p))}),t.k0s()}if(2&o){const n=m.$implicit,e=m.$index,i=t.XpG(2).$implicit,a=t.XpG(2);t.Y8G("parentBaseConfig",a.getButtonConfig(n,e,i)),t.BMQ("title",n.description)}}function gt(o,m){if(1&o&&t.Z7z(0,ht,1,2,"div",14,t.Vm6),2&o){const n=t.XpG().$implicit,e=t.XpG(2);t.Dyx(e.getCurrentItems(n))}}function bt(o,m){if(1&o&&(t.j41(0,"div",7),t.DNE(1,Tt,2,0)(2,gt,2,0),t.k0s()),2&o){const n=m.$implicit,e=t.XpG(2);t.BMQ("menu-name",e.domHelper.leanDom?null:n.name)("data-pxp-menu-name",e.domHelper.leanDom?n.name:null),t.R7$(),t.vxM(e.domHelper.leanDom?-1:1),t.R7$(),t.vxM(e.domHelper.leanDom?2:-1)}}function St(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",3),t.bIt("click",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.close())}),t.k0s(),t.j41(1,"div",4),t.bIt("click",function(i){return t.eBV(n),t.Njj(i.stopPropagation())}),t.j41(2,"div",5),t.DNE(3,xt,3,2,"div",6),t.Z7z(4,bt,3,4,"div",7,t.fX1),t.k0s()()}if(2&o){const n=t.XpG();t.R7$(3),t.vxM(n.menuActions?3:-1),t.R7$(),t.Dyx(n.menus)}}function Et(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",9),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function Lt(o,m){if(1&o&&t.Z7z(0,Et,1,2,"storefront-button",8,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function Dt(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function vt(o,m){if(1&o&&t.Z7z(0,Dt,1,2,"div",10,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function Mt(o,m){if(1&o&&(t.j41(0,"div",6),t.DNE(1,Lt,2,0)(2,vt,2,0),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.vxM(n.domHelper.leanDom?-1:1),t.R7$(),t.vxM(n.domHelper.leanDom?2:-1)}}function Nt(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",13),t.bIt("onButtonTap",function(i){t.eBV(n);const a=t.XpG(2).$implicit,p=t.XpG(3);return t.Njj(p.onStaticItemClick(i,a))}),t.k0s()}if(2&o){const n=t.XpG(2).$implicit,e=t.XpG(3);t.Y8G("parentBaseConfig",e.getButtonConfig(n)),t.BMQ("title",n.description)}}function Bt(o,m){if(1&o&&t.DNE(0,Nt,1,2,"storefront-button",12),2&o){const n=t.XpG(2).leanDom;t.vxM(n?-1:0)}}function Gt(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",15),t.bIt("onButtonTap",function(i){t.eBV(n);const a=t.XpG(2).$implicit,p=t.XpG(3);return t.Njj(p.onStaticItemClick(i,a))}),t.k0s()}if(2&o){const n=t.XpG(2).$implicit,e=t.XpG(3);t.Y8G("parentBaseConfig",e.getButtonConfig(n)),t.BMQ("title",n.description)}}function Ht(o,m){if(1&o&&t.DNE(0,Gt,1,2,"div",14),2&o){const n=t.XpG(2).leanDom;t.vxM(n?0:-1)}}function Ft(o,m){if(1&o&&t.eu8(0,18),2&o){const n=t.XpG(2).$implicit,e=t.XpG(),i=e.depth,a=e.leanDom;t.XpG();const p=t.sdS(4);t.Y8G("ngTemplateOutlet",p)("ngTemplateOutletContext",t.sMw(2,lt,n.childItems,i+1,a))}}function Rt(o,m){if(1&o&&(t.j41(0,"ul",17),t.Z7z(1,Ft,1,6,"ng-container",18,t.fX1),t.k0s()),2&o){const n=t.XpG().$implicit;t.R7$(),t.Dyx(n.childItems)}}function kt(o,m){if(1&o&&(t.j41(0,"li",16,1),t.DNE(2,Bt,1,1)(3,Ht,1,1)(4,Rt,3,0,"ul",17),t.k0s()),2&o){const n=m.$implicit,e=t.XpG(),i=e.depth,a=e.leanDom,p=t.XpG(2);t.Y8G("ngClass",p.getMenuItemLiClasses(n)),t.BMQ("depth",i)("child-items",!(null==n||null==n.childItems||!n.childItems.length))("item-id",null==n?null:n.id),t.R7$(2),t.vxM(a?-1:2),t.R7$(),t.vxM(a?3:-1),t.R7$(),t.vxM(null!=n.childItems&&n.childItems.length?4:-1)}}function yt(o,m){1&o&&t.Z7z(0,kt,5,7,"li",16,t.fX1),2&o&&t.Dyx(m.items)}function At(o,m){if(1&o&&(t.j41(0,"ul",7),t.eu8(1,18),t.k0s()),2&o){const n=m.$implicit;t.XpG();const e=t.sdS(4),i=t.XpG();t.BMQ("menu-name",i.domHelper.leanDom?null:n.name)("data-pxp-menu-name",i.domHelper.leanDom?n.name:null),t.R7$(),t.Y8G("ngTemplateOutlet",e)("ngTemplateOutletContext",t.l_i(4,dt,n.items,i.domHelper.leanDom))}}function Xt(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",4),t.bIt("click",function(i){return t.eBV(n),t.Njj(i.stopPropagation())}),t.j41(1,"div",5),t.DNE(2,Mt,3,2,"div",6)(3,yt,2,0,"ng-template",null,0,t.C5r),t.Z7z(5,At,2,7,"ul",7,t.fX1),t.k0s()()}if(2&o){const n=t.XpG();t.R7$(2),t.vxM(n.menuActions?2:-1),t.R7$(3),t.Dyx(n.menus)}}let $t=(()=>{var o;class m extends f{}return(o=m).\u0275fac=(()=>{let n;return function(i){return(n||(n=t.xGo(o)))(i||o)}})(),o.\u0275cmp=t.VBU({type:o,selectors:[["div",8,"pxp-menu"]],standalone:!1,features:[t.Jv_([I.B]),t.Vt3],attrs:st,decls:2,vars:2,consts:[["menuItemsTemplate",""],["menuItem",""],[1,"menu"],[1,"side-menu-backdrop",3,"click"],[1,"menu",3,"click"],[1,"items"],[1,"menu-actions"],[1,"menu-content"],[3,"parentBaseContext","parentBaseConfig"],[3,"click","parentBaseContext","parentBaseConfig"],[1,"pxp-button",3,"parentBaseContext","parentBaseConfig"],[1,"pxp-button",3,"click","parentBaseContext","parentBaseConfig"],[3,"parentBaseConfig"],[3,"onButtonTap","parentBaseConfig"],[1,"pxp-button",3,"parentBaseConfig"],[1,"pxp-button",3,"onButtonTap","parentBaseConfig"],[3,"ngClass"],[1,"menu-item-children"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&t.DNE(0,St,6,1)(1,Xt,7,1,"div",2),2&e&&(t.vxM("SLIDE_IN_LEFT"!==i.template&&"SLIDE_IN_RIGHT"!==i.template||!i.show?-1:0),t.R7$(),t.vxM("STATIC"===i.template?1:-1))},dependencies:[s.YU,s.T3,g.Q,b.U],styles:['html body{--primaryColor: #00adef;--primaryColorNightMode: white;--secondaryColor: rgb(200, 200, 200);--backgroundColor: rgb(255, 255, 255);--secondaryBackgroundColor: rgb(200, 200, 200);--textColor: rgb(0, 0, 0);--accentColor: var(--primaryColor);--secondaryTextColor: rgb(80, 80, 80);--ghostColor: rgba(200, 200, 200);--gutter: 16px;--borderRadius: 4px;--actionButtonHeight: 50px;--appBarColor: white;--appBarTextColor: var(--textColor);--appBarHeight: 54px;--appBarDisplay: flex;--appBarShrinkDisplay: flex;--appBarShrinkHeight: 30px;--appBarFontSize: 1em;--appBarShrinkFontSize: .6em;--appBarPaddingVert: 4px;--appBarPaddingHoriz: 0;--appBarButtonWidth: 50px;--appMenuColor: white;--navigationHeight: 50px;--navigationShrinkHeight: 30px;--navigationColor: var(--textColor);--navigationBgColor: white;--navigationActiveColor: var(--primaryColor);--listPadding: var(--gutter);--listPaddingHoriz: var(--gutter);--listPaddingVert: var(--gutter);--listItemGutter: var(--gutter);--gridListColumns: 4;--listTabBorderWidth: 1px;--listTabBorderRadius: var(--borderRadius);--listTabHighlightColor: var(--primaryColor);--listTabHighlightTextColor: white;--buttonPaddingVert: calc(var(--gutter) / 2);--buttonPaddingHoriz: calc(var(--gutter) / 2);--modalBgColor: white;--modalPadding: var(--gutter);--modalPaddingBottom: var(--gutter);--issueProgressPaddingVert: 2px;--issueProgressPaddingHoriz: 2px;--issueProgressMarginVert: calc(var(--gutter) / 2);--issueProgressMarginHoriz: calc(var(--gutter) / 2);--issueProgressBgColor: var(--secondaryColor);--issueProgressColor: var(--primaryColor);--issueProgressFontColor: white;--issueUpdateBadgeBgColor: var(--primaryColor);--issueUpdateBadgeColor: white;--subscriptionPaddingVert: var(--gutter);--subscriptionPaddingHoriz: var(--gutter);--subscriptionPurchasedMarginHoriz: 6px;--subscriptionPurchasedBorderRadius: 20px;--loginPaddingVert: var(--gutter);--loginPaddingHoriz: var(--gutter);--loginElementMarginVert: calc(var(--gutter));--loginElementMarginHoriz: 0;--couponPaddingVert: var(--gutter);--couponPaddingHoriz: var(--gutter);--couponElementMarginVert: calc(var(--gutter));--couponElementMarginHoriz: 0;--couponElementPaddingVert: calc(var(--gutter));--couponElementPaddingHoriz: calc(var(--gutter));--bookmarkBgColor: transparent;--bookmarkImageBgColor: white;--sectionPadding: 0;--spinnerColor: #fff;--imageBackgroundColor: transparent;--imageLoadingColor: rgb(200, 200, 200);--dropdownPaddingX: calc(var(--gutter) / 2);--dropdownPaddingY: calc(var(--gutter) / 2);--tickerGutter: var(--gutter);--tickerPaddingY: var(--gutter);--searchFieldFontSize: 14px;--swiperPaginationTabHeight: 50px;--swiperPaginationBorderWidth: 4px;--swiperPaginationBackgroundColor: white;--swiperPaginationColor: var(--primaryColor);--switchWidth: 50px;--switchActiveColor: var(--primaryColor);--switchHandleColor: #fff;--switchBackgroundColor: #f1f1f1;--switchBorderWidth: 3px;--switchBorderRadius: calc(var(--switchWidth) * .6);--stackedCoversWidth: 40%;--stackedCoversScaleStep: .1;--stackedCoversTranslateStep: .3;--stackedCoversTopEvenCenteredGap: 4px;--toolbarbackgroundColor: transparent;--toolbarIconColor: #a9a9a9;--zIndexAppBar: 999;color:var(--textColor);--contentFont: "OpenSans", sans-serif;--contentHeadlineFont: var(--contentFont);--contentIconNavigateBack: url(resource://dynamic/content/assets/ic_left.svg);--contentIconNavigateForward: url(resource://dynamic/content/assets/ic_right.svg);--contentSpinner: url(resource://dynamic/content/assets/tail-spin.svg);--contentBgColor: #ffffff;--contentTextColor: black;--contentPaddingVert: 30px;--contentPaddingHoriz: 50px;--contentHeaderMarginTop: 1em;--contentHeaderMarginBottom: 1.5em;--contentHeaderPaddingVert: 1em;--contentHeaderElementMarginTop: .5em;--contentHeaderElementMarginBottom: .5em;--contentSectionPaddingVert: 1em;--contentSectionPaddingHoriz: 1em;--contentElementMarginTop: 1em;--contentElementMarginBottom: 1em;--contentElementPaddingVert: .5em;--contentElementPaddingHoriz: 1em;--contentHeadlineBigMarginTop: 1.5em;--contentHeadlineBigMarginBottom: .5em;--contentHeadlineSmallMarginTop: 1em;--contentHeadlineSmallMarginBottom: .5em;--contentNavigateButtonColor: var(--primaryColor);--contentNavigateButtonSize: 30px;--contentNavigateButtonGap: 12px;--contentBgColorNightMode: #323232;--contentTextColorNightMode: #ffffff;--contentNavigateButtonColorNightMode: var(--primaryColorNightMode);--menuItemIconGap: calc(var(--menuItemIconHeight) / 2);--menuItemIconHeight: 14px}@media (max-width: 767px) and (orientation: portrait),(max-height: 767px) and (orientation: landscape){html body{--gridListColumns: 3}}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){html body{--gridListColumns: 2;--actionButtonHeight: 40px}}@media (max-height: 533px) and (orientation: landscape){html body{--gridListColumns: 3}}@media (max-width: 533px) and (orientation: portrait){html body{--contentPaddingHoriz: 30px}}.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-menu,.pxp-menu{--textColor: var(--colorTextInverted, #000)}storefront-menu .menu-content,.pxp-menu .menu-content{display:flex;flex-wrap:wrap}storefront-menu[template=STATIC] .menu-content>ul,storefront-menu[data-pxp-template=STATIC] .menu-content>ul,.pxp-menu[template=STATIC] .menu-content>ul,.pxp-menu[data-pxp-template=STATIC] .menu-content>ul{display:flex}storefront-menu[template=STATIC] .menu-item,storefront-menu[data-pxp-template=STATIC] .menu-item,.pxp-menu[template=STATIC] .menu-item,.pxp-menu[data-pxp-template=STATIC] .menu-item{list-style:none}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul{display:none}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button,storefront-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button{width:100%;display:block}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,storefront-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button{width:100%}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,storefront-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a{justify-content:flex-start}storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children{display:flex;position:absolute;box-shadow:0 5px 15px #00000080;z-index:100;background-color:var(--backgroundColor);border-radius:4px}storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button{background-color:transparent}storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover{background-color:var(--primaryColor)}@keyframes menu-slide-in-opacity{0%{opacity:0}to{opacity:1}}@keyframes menu-slide-out-opacity{0%{opacity:1}to{opacity:0}}storefront-menu[template=SLIDE_IN_RIGHT] .side-menu-backdrop,storefront-menu[template=SLIDE_IN_LEFT] .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_RIGHT] .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_LEFT] .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .side-menu-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;z-index:6;background-color:#0009;animation:menu-slide-in-opacity .3s forwards}storefront-menu[template=SLIDE_IN_RIGHT] .menu,storefront-menu[template=SLIDE_IN_LEFT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu,.pxp-menu[template=SLIDE_IN_RIGHT] .menu,.pxp-menu[template=SLIDE_IN_LEFT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu{position:fixed;width:100%;top:0;height:100vh;max-width:300px;z-index:8;background-color:#fff;font-family:var(--contentFont);padding:0 20px 20px;overflow-y:auto}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions{display:flex;justify-content:end;-webkit-justify-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;position:-webkit-sticky;position:-webkit-sticky;position:sticky;top:0;padding-bottom:10%;border-bottom:.5px var(--toolbarIconColor) solid;background-color:#fff;z-index:1}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions div,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions div,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions div,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions div{margin-right:.3em;color:var(--toolbarIconColor);font-size:1.5em}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content{display:flex;flex-direction:column;margin-bottom:15px;background-color:var(--appMenuColor);overflow:hidden}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button{font-size:20px;line-height:56px;letter-spacing:.38px;font-family:var(--contentFont)}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button{text-align:left;width:100%}storefront-menu[template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,storefront-menu[template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop{animation:menu-slide-out-opacity .3s forwards}@keyframes menu-slide-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes menu-slide-out-right{0%{transform:translate(0)}to{transform:translate(100%)}}storefront-menu[template=SLIDE_IN_RIGHT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu,.pxp-menu[template=SLIDE_IN_RIGHT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu{right:0;left:auto;animation:menu-slide-in-right .3s forwards}storefront-menu[template=SLIDE_IN_RIGHT].menu-fade-out .menu,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .menu,.pxp-menu[template=SLIDE_IN_RIGHT].menu-fade-out .menu,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .menu{animation:menu-slide-out-right .3s forwards}@keyframes menu-slide-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes menu-slide-out-left{0%{transform:translate(0)}to{transform:translate(-100%)}}storefront-menu[template=SLIDE_IN_LEFT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu,.pxp-menu[template=SLIDE_IN_LEFT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu{right:auto;left:0;animation:menu-slide-in-left .3s forwards}storefront-menu[template=SLIDE_IN_LEFT].menu-fade-out .menu,storefront-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .menu,.pxp-menu[template=SLIDE_IN_LEFT].menu-fade-out .menu,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .menu{animation:menu-slide-out-left .3s forwards}\n'],encapsulation:2,changeDetection:0}),m})(),Pt=(()=>{var o;class m{}return(o=m).\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[s.MD,ut.ButtonModule]}),m})();t.wjB(f,[s.YU,s.T3,g.Q,b.U],[]);const jt={component:f,leanDomComponent:$t}}}]);
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_menu_menu_module_ts"],{4386:(yt,x,r)=>{r.r(x),r.d(x,{MenuModule:()=>kt,component:()=>Ft});var s=r(177),S=r(467),l=r(9379),t=r(3953),E=r(9079),C=(r(4404),r(5343)),c=r(3726),L=r(7786),T=r(5964),v=r(6697),D=r(4452),N=r(5102),M=r(5204),h=r(9745),I=r(8251),B=r(7467),G=r(1210),_=r(2853),H=r(7879);const R=["menuItem"],k=(o,m,n)=>({items:o,depth:m,leanDom:n}),F=(o,m)=>({items:o,depth:0,leanDom:m});function A(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",9),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function y(o,m){if(1&o&&t.Z7z(0,A,1,2,"storefront-button",8,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function X(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function $(o,m){if(1&o&&t.Z7z(0,X,1,2,"div",10,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function P(o,m){if(1&o&&(t.j41(0,"div",6),t.DNE(1,y,2,0)(2,$,2,0),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.vxM(n.domHelper.leanDom?-1:1),t.R7$(),t.vxM(n.domHelper.leanDom?2:-1)}}function j(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",13),t.bIt("onButtonTap",function(i){const a=t.eBV(n).$implicit,p=t.XpG(2).$implicit,u=t.XpG(2);return t.Njj(u.onSlideInItemClick(i,a,p))}),t.k0s()}if(2&o){const n=m.$implicit,e=m.$index,i=t.XpG(2).$implicit,a=t.XpG(2);t.Y8G("parentBaseConfig",a.getButtonConfig(n,e,i)),t.BMQ("title",n.description)}}function w(o,m){if(1&o&&t.Z7z(0,j,1,2,"storefront-button",12,t.Vm6),2&o){const n=t.XpG().$implicit,e=t.XpG(2);t.Dyx(e.getCurrentItems(n))}}function V(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",15),t.bIt("onButtonTap",function(i){const a=t.eBV(n).$implicit,p=t.XpG(2).$implicit,u=t.XpG(2);return t.Njj(u.onSlideInItemClick(i,a,p))}),t.k0s()}if(2&o){const n=m.$implicit,e=m.$index,i=t.XpG(2).$implicit,a=t.XpG(2);t.Y8G("parentBaseConfig",a.getButtonConfig(n,e,i)),t.BMQ("title",n.description)}}function z(o,m){if(1&o&&t.Z7z(0,V,1,2,"div",14,t.Vm6),2&o){const n=t.XpG().$implicit,e=t.XpG(2);t.Dyx(e.getCurrentItems(n))}}function W(o,m){if(1&o&&(t.j41(0,"div",7),t.DNE(1,w,2,0)(2,z,2,0),t.k0s()),2&o){const n=m.$implicit,e=t.XpG(2);t.BMQ("menu-name",e.domHelper.leanDom?null:n.name)("data-pxp-menu-name",e.domHelper.leanDom?n.name:null),t.R7$(),t.vxM(e.domHelper.leanDom?-1:1),t.R7$(),t.vxM(e.domHelper.leanDom?2:-1)}}function Y(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",3),t.bIt("click",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.close())}),t.k0s(),t.j41(1,"div",4),t.bIt("click",function(i){return t.eBV(n),t.Njj(i.stopPropagation())}),t.j41(2,"div",5),t.DNE(3,P,3,2,"div",6),t.Z7z(4,W,3,4,"div",7,t.fX1),t.k0s()()}if(2&o){const n=t.XpG();t.R7$(3),t.vxM(n.menuActions?3:-1),t.R7$(),t.Dyx(n.menus)}}function O(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",9),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function Q(o,m){if(1&o&&t.Z7z(0,O,1,2,"storefront-button",8,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function Z(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function U(o,m){if(1&o&&t.Z7z(0,Z,1,2,"div",10,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function J(o,m){if(1&o&&(t.j41(0,"div",6),t.DNE(1,Q,2,0)(2,U,2,0),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.vxM(n.domHelper.leanDom?-1:1),t.R7$(),t.vxM(n.domHelper.leanDom?2:-1)}}function K(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",13),t.bIt("onButtonTap",function(i){t.eBV(n);const a=t.XpG().$implicit,p=t.XpG(3);return t.Njj(p.onStaticItemClick(i,a))}),t.k0s()}if(2&o){const n=t.XpG().$implicit,e=t.XpG(3);t.Y8G("parentBaseConfig",e.getButtonConfig(n)),t.BMQ("title",n.description)}}function q(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",15),t.bIt("onButtonTap",function(i){t.eBV(n);const a=t.XpG().$implicit,p=t.XpG(3);return t.Njj(p.onStaticItemClick(i,a))}),t.k0s()}if(2&o){const n=t.XpG().$implicit,e=t.XpG(3);t.Y8G("parentBaseConfig",e.getButtonConfig(n)),t.BMQ("title",n.description)}}function tt(o,m){if(1&o&&(t.j41(0,"ul",17),t.eu8(1,18),t.k0s()),2&o){const n=t.XpG().$implicit,e=t.XpG(),i=e.depth,a=e.leanDom;t.XpG();const p=t.sdS(4);t.R7$(),t.Y8G("ngTemplateOutlet",p)("ngTemplateOutletContext",t.sMw(2,k,n.childItems,i+1,a))}}function et(o,m){if(1&o&&(t.j41(0,"li",16,1),t.DNE(2,K,1,2,"storefront-button",12)(3,q,1,2,"div",14)(4,tt,2,6,"ul",17),t.k0s()),2&o){const n=m.$implicit,e=t.XpG(),i=e.depth,a=e.leanDom,p=t.XpG(2);t.Y8G("ngClass",p.getMenuItemLiClasses(n)),t.BMQ("depth",i)("child-items",!(null==n||null==n.childItems||!n.childItems.length))("item-id",null==n?null:n.id),t.R7$(2),t.vxM(a?-1:2),t.R7$(),t.vxM(a?3:-1),t.R7$(),t.vxM(null!=n.childItems&&n.childItems.length?4:-1)}}function nt(o,m){1&o&&t.Z7z(0,et,5,7,"li",16,t.fX1),2&o&&t.Dyx(m.items)}function ot(o,m){if(1&o&&(t.j41(0,"ul",7),t.eu8(1,18),t.k0s()),2&o){const n=m.$implicit;t.XpG();const e=t.sdS(4),i=t.XpG();t.BMQ("menu-name",i.domHelper.leanDom?null:n.name)("data-pxp-menu-name",i.domHelper.leanDom?n.name:null),t.R7$(),t.Y8G("ngTemplateOutlet",e)("ngTemplateOutletContext",t.l_i(4,F,n.items,i.domHelper.leanDom))}}function it(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",4),t.bIt("click",function(i){return t.eBV(n),t.Njj(i.stopPropagation())}),t.j41(1,"div",5),t.DNE(2,J,3,2,"div",6)(3,nt,2,0,"ng-template",null,0,t.C5r),t.Z7z(5,ot,2,7,"ul",7,t.fX1),t.k0s()()}if(2&o){const n=t.XpG();t.R7$(2),t.vxM(n.menuActions?2:-1),t.R7$(3),t.Dyx(n.menus)}}function at(o){var m;const n=new Set(null===(m=o.items)||void 0===m?void 0:m.map(a=>(0,l.A)((0,l.A)({},a),{},{childItems:[],depth:-1}))),e=new Map([...n.values()].map(a=>[a.id,a]));for(const a of n)if(a.parentId&&a.parentId!==o.id){if(!e.has(a.parentId))throw new Error("Menu ".concat(o.name,": no parent item with id ").concat(a.parentId," found"));e.get(a.parentId).childItems.push(a),n.delete(a)}const i=(a,p)=>{a.depth=p,a.childItems.forEach(u=>i(u,p+1))};return n.forEach(a=>i(a,0)),(0,l.A)((0,l.A)({},o),{},{items:[...n]})}let f=(()=>{var o;class m extends G.${constructor(){super(...arguments),this.injector=(0,t.WQX)(t.zZn),this.appMenuService=(0,t.WQX)(M.I),this.store=(0,t.WQX)(I.B),this.destroyRef=(0,t.WQX)(t.abz),this.purpleService=(0,t.WQX)(N.Wj),this.purpleEnv=(0,t.WQX)(H.r6),this.changeDetectorRef=(0,t.WQX)(t.gRc),this.defaultConfig=(0,l.A)({},_.ge),this.show=!1,this.fadeOutActive=!1,this.menus=[]}ngOnInit(){super.ngOnInit()}onConfigChanges(){var e=this;return(0,S.A)(function*(){e.handleConfigureAppMenuService(),e.handleConfigureOrResetDataSource(),e.handleSubscribeToStoreManager(),e.dataSource.loadData(),e.menuActions=e.config.actions})()}ngOnDestroy(){super.ngOnDestroy(),this.appMenuService.unregisterCustomSideMenuComponent(this)}handleSubscribeToStoreManager(){this.store.subscribe(this.dataSource.data$.pipe((0,T.p)(e=>!!e&&e.length>0&&this.dataSource.hasData()),(0,E.pQ)(this.destroyRef)),e=>{try{this.menus=e.map(at)}catch(i){console.error(i)}this.changeDetectorRef.detectChanges(),this.setupEventListeners()},C.l,C.l,"data")}handleConfigureOrResetDataSource(){this.dataSource?this.dataSource.hasConfigChanged(this.config.dataSource)&&(this.dataSource.setConfig(this.config.dataSource),this.dataSource.reset()):this.dataSource=(0,D.O8)(this.injector,this.config.dataSource,this.elementRef.nativeElement,this.document)}handleConfigureAppMenuService(){this.config.template!==_.oH.STATIC&&this.appMenuService.registerCustomSideMenuComponent(this),this.appMenuService.$menuOpen.subscribe(e=>{var i,a;e!==this.show&&(!e&&(null===(i=this.config)||void 0===i?void 0:i.template)!==_.oH.STATIC&&(null===(a=this.config)||void 0===a?void 0:a.animationDuration)>0?(this.fadeOutActive=!0,this.changeDetectorRef.detectChanges(),setTimeout(()=>{this.show=!1,this.fadeOutActive=!1,this.changeDetectorRef.markForCheck()},this.config.animationDuration)):(this.show=e,this.changeDetectorRef.detectChanges()))})}getMenuItemLiClasses(e){const i=["menu-item","menu-item-".concat(e.name.replace(/ /g,"-")),...e.cssClasses];return this.hasMenuItemChildren(e)&&i.push("menu-item-has-children"),this.isExpanded(e)&&i.push("menu-item-open"),i}onStaticItemClick(e,i){this.hasMenuItemChildren(i)?this.handleStaticItemClickForMenuItemWithChildren(e,i):this.handleStaticItemClickForMenuItemWithoutChildren(i)}handleStaticItemClickForMenuItemWithChildren(e,i){if(!this.isRootSubMenu(i))return;const a=this.getSubMenuBehaviour();switch(a){case"onMouseHover":case"onClick":this.isExpanded(i)||this.handleExpand(e,i);break;case"onIconClick":this.isRightButton(e)&&(this.isExpanded(i)?this.handleCollapse(e,i):this.handleExpand(e,i));break;default:console.warn("Unknown menu item behavior for: "+a)}}handleExpand(e,i){e.preventDefault(),e.stopPropagation(),this.anyMenuItemExpanded()&&!this.isExpanded(i)&&this.closeSubMenu(i),this.openSubMenuForItem(i)}handleCollapse(e,i){e.preventDefault(),e.stopPropagation(),this.isExpanded(i)&&this.closeSubMenu(i)}handleStaticItemClickForMenuItemWithoutChildren(e){this.anyMenuItemExpanded()&&this.clearSubMenu()}onSlideInItemClick(e,i,a){if(this.isRightButton(e)){e.preventDefault(),e.stopPropagation();const u=this.getCurrentItems(a).findIndex(d=>d.id===i.id);a.currentItemsPath=a.currentItemsPath||[],a.currentItemsPath.push(u)}else this.isLeftButton(e)?(e.preventDefault(),e.stopPropagation(),a.currentItemsPath.pop()):this.appMenuService.setOpen(!1)}getButtonConfig(e,i,a){var p,u,d;const At=this.getTapAction(e);return{message:"MENU_ITEM",class:"menu-button menu-button-".concat(e.name.replace(/ /g,"-")," ").concat(null!==(p=null===(u=e.cssClasses)||void 0===u?void 0:u.join(" "))&&void 0!==p?p:""),variables:[e.title||e.name],tap:At,iconLeft:(null==a||null===(d=a.currentItemsPath)||void 0===d?void 0:d.length)>0&&0==i?{cssClasses:"icon icon-back"}:e.thumbnailsExtended.default,iconRight:this.hasMenuItemChildren(e)?{cssClasses:"icon icon-arrow-down"}:void 0}}isLeftButton(e){return e.target.classList.contains("button-icon-left")}isRightButton(e){return e.target.classList.contains("button-icon-right")}close(){this.appMenuService.setOpen(!1)}topMenuAction(e){e.name===_.F9.close&&this.close()}getCurrentItems(e){let i=e.items;return e.currentItemsPath=e.currentItemsPath||[],e.currentItemsPath.forEach(a=>{i[a].childItems.length>0&&(i=i[a].childItems)}),i}setupEventListeners(){if((0,s.UE)(this.platformId)&&"STATIC"===this.template){const e=this.getSubMenuBehaviour();this.menuItems.forEach(i=>{this.setupEventListenersForItem(i,e)})}}setupEventListenersForItem(e,i){const a=e.nativeElement,p=this.getMenuItemById(a.getAttribute("item-id"));null!==p&&this.isRootSubMenu(p)&&"onMouseHover"===i&&(0,B.Y)().isDesktop&&((0,c.R)(a,"mouseenter").subscribe(u=>this.onMenuItemMouseEnter(u,p)),(0,c.R)(a,"mouseleave").subscribe(u=>this.onMenuItemMouseLeave(u,p)))}onMenuItemMouseEnter(e,i){e.stopPropagation(),e.preventDefault(),this.openSubMenuForItem(i)}onMenuItemMouseLeave(e,i){e.stopPropagation(),e.preventDefault(),this.closeSubMenu(i)}isNavigationAction(e){return!e.url.startsWith("purple://")&&!e.url.startsWith("http://")&&!e.url.startsWith("https://")}getTapAction(e){return this.isNavigationAction(e)?{type:h.H.NAVIGATE,path:e.url}:{type:h.H.OPEN_URL,target:e.target,url:e.url}}getSubMenuBehaviour(){var e,i;return null!==(e=null===(i=this.config.openSubMenu)||void 0===i?void 0:i.behaviour)&&void 0!==e?e:"onMouseHover"}isExpanded(e){return this.expandedMenuItemId===e.id}anyMenuItemExpanded(){return null!=this.expandedMenuItemId}isRootSubMenu(e){return 0===e.depth&&this.hasMenuItemChildren(e)}hasMenuItemChildren(e){return e.childItems.length>0}getMenuItemById(e){var i=null;return this.menus.forEach(a=>{a.items.forEach(p=>{i||(i=this.getMenuItemByIdRecursive(p,e))})}),i}getMenuItemByIdRecursive(e,i){let a=null;return e.id===i&&(a=e),e.childItems.forEach(p=>{a||(a=this.getMenuItemByIdRecursive(p,i))}),a}openSubMenuForItem(e){this.expandedMenuItemId=e.id,this.setupMenuCloseHandler(e),this.changeDetectorRef.detectChanges()}closeSubMenu(e){this.isExpanded(e)&&this.clearSubMenu()}clearSubMenu(){this.expandedMenuItemId=null,this.changeDetectorRef.detectChanges()}setupMenuCloseHandler(e){(0,L.h)((0,c.R)(this.document,"touchstart",{passive:!1}),(0,c.R)(this.document,"click",{passive:!1})).pipe((0,T.p)(i=>this.expandedMenuItemId===e.id&&!this.elementRef.nativeElement.contains(i.target)),(0,v.s)(1)).subscribe(i=>{this.closeSubMenu(e)})}}return(o=m).\u0275fac=(()=>{let n;return function(i){return(n||(n=t.xGo(o)))(i||o)}})(),o.\u0275cmp=t.VBU({type:o,selectors:[["storefront-menu"]],viewQuery:function(e,i){if(1&e&&t.GBs(R,5),2&e){let a;t.mGM(a=t.lsd())&&(i.menuItems=a)}},hostVars:2,hostBindings:function(e,i){2&e&&t.AVh("menu-fade-out",i.fadeOutActive)},standalone:!1,features:[t.Jv_([I.B]),t.Vt3],decls:2,vars:2,consts:[["menuItemsTemplate",""],["menuItem",""],[1,"menu"],[1,"side-menu-backdrop",3,"click"],[1,"menu",3,"click"],[1,"items"],[1,"menu-actions"],[1,"menu-content"],[3,"parentBaseContext","parentBaseConfig"],[3,"click","parentBaseContext","parentBaseConfig"],[1,"pxp-button",3,"parentBaseContext","parentBaseConfig"],[1,"pxp-button",3,"click","parentBaseContext","parentBaseConfig"],[3,"parentBaseConfig"],[3,"onButtonTap","parentBaseConfig"],[1,"pxp-button",3,"parentBaseConfig"],[1,"pxp-button",3,"onButtonTap","parentBaseConfig"],[3,"ngClass"],[1,"menu-item-children"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&t.DNE(0,Y,6,1)(1,it,7,1,"div",2),2&e&&(t.vxM("SLIDE_IN_LEFT"!==i.template&&"SLIDE_IN_RIGHT"!==i.template||!i.show?-1:0),t.R7$(),t.vxM("STATIC"===i.template?1:-1))},styles:['html body{--primaryColor: #00adef;--primaryColorNightMode: white;--secondaryColor: rgb(200, 200, 200);--backgroundColor: rgb(255, 255, 255);--secondaryBackgroundColor: rgb(200, 200, 200);--textColor: rgb(0, 0, 0);--accentColor: var(--primaryColor);--secondaryTextColor: rgb(80, 80, 80);--ghostColor: rgba(200, 200, 200);--gutter: 16px;--borderRadius: 4px;--actionButtonHeight: 50px;--appBarColor: white;--appBarTextColor: var(--textColor);--appBarHeight: 54px;--appBarDisplay: flex;--appBarShrinkDisplay: flex;--appBarShrinkHeight: 30px;--appBarFontSize: 1em;--appBarShrinkFontSize: .6em;--appBarPaddingVert: 4px;--appBarPaddingHoriz: 0;--appBarButtonWidth: 50px;--appMenuColor: white;--navigationHeight: 50px;--navigationShrinkHeight: 30px;--navigationColor: var(--textColor);--navigationBgColor: white;--navigationActiveColor: var(--primaryColor);--listPadding: var(--gutter);--listPaddingHoriz: var(--gutter);--listPaddingVert: var(--gutter);--listItemGutter: var(--gutter);--gridListColumns: 4;--listTabBorderWidth: 1px;--listTabBorderRadius: var(--borderRadius);--listTabHighlightColor: var(--primaryColor);--listTabHighlightTextColor: white;--buttonPaddingVert: calc(var(--gutter) / 2);--buttonPaddingHoriz: calc(var(--gutter) / 2);--modalBgColor: white;--modalPadding: var(--gutter);--modalPaddingBottom: var(--gutter);--issueProgressPaddingVert: 2px;--issueProgressPaddingHoriz: 2px;--issueProgressMarginVert: calc(var(--gutter) / 2);--issueProgressMarginHoriz: calc(var(--gutter) / 2);--issueProgressBgColor: var(--secondaryColor);--issueProgressColor: var(--primaryColor);--issueProgressFontColor: white;--issueUpdateBadgeBgColor: var(--primaryColor);--issueUpdateBadgeColor: white;--subscriptionPaddingVert: var(--gutter);--subscriptionPaddingHoriz: var(--gutter);--subscriptionPurchasedMarginHoriz: 6px;--subscriptionPurchasedBorderRadius: 20px;--loginPaddingVert: var(--gutter);--loginPaddingHoriz: var(--gutter);--loginElementMarginVert: calc(var(--gutter));--loginElementMarginHoriz: 0;--couponPaddingVert: var(--gutter);--couponPaddingHoriz: var(--gutter);--couponElementMarginVert: calc(var(--gutter));--couponElementMarginHoriz: 0;--couponElementPaddingVert: calc(var(--gutter));--couponElementPaddingHoriz: calc(var(--gutter));--bookmarkBgColor: transparent;--bookmarkImageBgColor: white;--sectionPadding: 0;--spinnerColor: #fff;--imageBackgroundColor: transparent;--imageLoadingColor: rgb(200, 200, 200);--dropdownPaddingX: calc(var(--gutter) / 2);--dropdownPaddingY: calc(var(--gutter) / 2);--tickerGutter: var(--gutter);--tickerPaddingY: var(--gutter);--searchFieldFontSize: 14px;--swiperPaginationTabHeight: 50px;--swiperPaginationBorderWidth: 4px;--swiperPaginationBackgroundColor: white;--swiperPaginationColor: var(--primaryColor);--switchWidth: 50px;--switchActiveColor: var(--primaryColor);--switchHandleColor: #fff;--switchBackgroundColor: #f1f1f1;--switchBorderWidth: 3px;--switchBorderRadius: calc(var(--switchWidth) * .6);--stackedCoversWidth: 40%;--stackedCoversScaleStep: .1;--stackedCoversTranslateStep: .3;--stackedCoversTopEvenCenteredGap: 4px;--toolbarbackgroundColor: transparent;--toolbarIconColor: #a9a9a9;--zIndexAppBar: 999;color:var(--textColor);--contentFont: "OpenSans", sans-serif;--contentHeadlineFont: var(--contentFont);--contentIconNavigateBack: url(resource://dynamic/content/assets/ic_left.svg);--contentIconNavigateForward: url(resource://dynamic/content/assets/ic_right.svg);--contentSpinner: url(resource://dynamic/content/assets/tail-spin.svg);--contentBgColor: #ffffff;--contentTextColor: black;--contentPaddingVert: 30px;--contentPaddingHoriz: 50px;--contentHeaderMarginTop: 1em;--contentHeaderMarginBottom: 1.5em;--contentHeaderPaddingVert: 1em;--contentHeaderElementMarginTop: .5em;--contentHeaderElementMarginBottom: .5em;--contentSectionPaddingVert: 1em;--contentSectionPaddingHoriz: 1em;--contentElementMarginTop: 1em;--contentElementMarginBottom: 1em;--contentElementPaddingVert: .5em;--contentElementPaddingHoriz: 1em;--contentHeadlineBigMarginTop: 1.5em;--contentHeadlineBigMarginBottom: .5em;--contentHeadlineSmallMarginTop: 1em;--contentHeadlineSmallMarginBottom: .5em;--contentNavigateButtonColor: var(--primaryColor);--contentNavigateButtonSize: 30px;--contentNavigateButtonGap: 12px;--contentBgColorNightMode: #323232;--contentTextColorNightMode: #ffffff;--contentNavigateButtonColorNightMode: var(--primaryColorNightMode);--menuItemIconGap: calc(var(--menuItemIconHeight) / 2);--menuItemIconHeight: 14px}@media (max-width: 767px) and (orientation: portrait),(max-height: 767px) and (orientation: landscape){html body{--gridListColumns: 3}}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){html body{--gridListColumns: 2;--actionButtonHeight: 40px}}@media (max-height: 533px) and (orientation: landscape){html body{--gridListColumns: 3}}@media (max-width: 533px) and (orientation: portrait){html body{--contentPaddingHoriz: 30px}}.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-menu,.pxp-menu{--textColor: var(--colorTextInverted, #000)}storefront-menu .menu-content,.pxp-menu .menu-content{display:flex;flex-wrap:wrap}storefront-menu[template=STATIC] .menu-content>ul,storefront-menu[data-pxp-template=STATIC] .menu-content>ul,.pxp-menu[template=STATIC] .menu-content>ul,.pxp-menu[data-pxp-template=STATIC] .menu-content>ul{display:flex}storefront-menu[template=STATIC] .menu-item,storefront-menu[data-pxp-template=STATIC] .menu-item,.pxp-menu[template=STATIC] .menu-item,.pxp-menu[data-pxp-template=STATIC] .menu-item{list-style:none}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul{display:none}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button,storefront-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button{width:100%;display:block}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,storefront-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button{width:100%}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,storefront-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a{justify-content:flex-start}storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children{display:flex;position:absolute;box-shadow:0 5px 15px #00000080;z-index:100;background-color:var(--backgroundColor);border-radius:4px}storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button{background-color:transparent}storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover{background-color:var(--primaryColor)}@keyframes menu-slide-in-opacity{0%{opacity:0}to{opacity:1}}@keyframes menu-slide-out-opacity{0%{opacity:1}to{opacity:0}}storefront-menu[template=SLIDE_IN_RIGHT] .side-menu-backdrop,storefront-menu[template=SLIDE_IN_LEFT] .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_RIGHT] .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_LEFT] .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .side-menu-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;z-index:6;background-color:#0009;animation:menu-slide-in-opacity .3s forwards}storefront-menu[template=SLIDE_IN_RIGHT] .menu,storefront-menu[template=SLIDE_IN_LEFT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu,.pxp-menu[template=SLIDE_IN_RIGHT] .menu,.pxp-menu[template=SLIDE_IN_LEFT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu{position:fixed;width:100%;top:0;height:100vh;max-width:300px;z-index:8;background-color:#fff;font-family:var(--contentFont);padding:0 20px 20px;overflow-y:auto}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions{display:flex;justify-content:end;-webkit-justify-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;position:-webkit-sticky;position:-webkit-sticky;position:sticky;top:0;padding-bottom:10%;border-bottom:.5px var(--toolbarIconColor) solid;background-color:#fff;z-index:1}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions div,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions div,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions div,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions div{margin-right:.3em;color:var(--toolbarIconColor);font-size:1.5em}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content{display:flex;flex-direction:column;margin-bottom:15px;background-color:var(--appMenuColor);overflow:hidden}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button{font-size:20px;line-height:56px;letter-spacing:.38px;font-family:var(--contentFont)}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button{text-align:left;width:100%}storefront-menu[template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,storefront-menu[template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop{animation:menu-slide-out-opacity .3s forwards}@keyframes menu-slide-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes menu-slide-out-right{0%{transform:translate(0)}to{transform:translate(100%)}}storefront-menu[template=SLIDE_IN_RIGHT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu,.pxp-menu[template=SLIDE_IN_RIGHT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu{right:0;left:auto;animation:menu-slide-in-right .3s forwards}storefront-menu[template=SLIDE_IN_RIGHT].menu-fade-out .menu,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .menu,.pxp-menu[template=SLIDE_IN_RIGHT].menu-fade-out .menu,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .menu{animation:menu-slide-out-right .3s forwards}@keyframes menu-slide-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes menu-slide-out-left{0%{transform:translate(0)}to{transform:translate(-100%)}}storefront-menu[template=SLIDE_IN_LEFT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu,.pxp-menu[template=SLIDE_IN_LEFT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu{right:auto;left:0;animation:menu-slide-in-left .3s forwards}storefront-menu[template=SLIDE_IN_LEFT].menu-fade-out .menu,storefront-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .menu,.pxp-menu[template=SLIDE_IN_LEFT].menu-fade-out .menu,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .menu{animation:menu-slide-out-left .3s forwards}\n'],encapsulation:2,changeDetection:0}),m})();var mt=r(9805),g=r(395),b=r(4336);const pt=["class","pxp-menu"],rt=(o,m,n)=>({items:o,depth:m,leanDom:n}),ut=(o,m)=>({items:o,depth:0,leanDom:m});function st(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",9),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function lt(o,m){if(1&o&&t.Z7z(0,st,1,2,"storefront-button",8,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function dt(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function ct(o,m){if(1&o&&t.Z7z(0,dt,1,2,"div",10,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function _t(o,m){if(1&o&&(t.j41(0,"div",6),t.DNE(1,lt,2,0)(2,ct,2,0),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.vxM(n.domHelper.leanDom?-1:1),t.R7$(),t.vxM(n.domHelper.leanDom?2:-1)}}function It(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",13),t.bIt("onButtonTap",function(i){const a=t.eBV(n).$implicit,p=t.XpG(2).$implicit,u=t.XpG(2);return t.Njj(u.onSlideInItemClick(i,a,p))}),t.k0s()}if(2&o){const n=m.$implicit,e=m.$index,i=t.XpG(2).$implicit,a=t.XpG(2);t.Y8G("parentBaseConfig",a.getButtonConfig(n,e,i)),t.BMQ("title",n.description)}}function ft(o,m){if(1&o&&t.Z7z(0,It,1,2,"storefront-button",12,t.Vm6),2&o){const n=t.XpG().$implicit,e=t.XpG(2);t.Dyx(e.getCurrentItems(n))}}function xt(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",15),t.bIt("onButtonTap",function(i){const a=t.eBV(n).$implicit,p=t.XpG(2).$implicit,u=t.XpG(2);return t.Njj(u.onSlideInItemClick(i,a,p))}),t.k0s()}if(2&o){const n=m.$implicit,e=m.$index,i=t.XpG(2).$implicit,a=t.XpG(2);t.Y8G("parentBaseConfig",a.getButtonConfig(n,e,i)),t.BMQ("title",n.description)}}function Ct(o,m){if(1&o&&t.Z7z(0,xt,1,2,"div",14,t.Vm6),2&o){const n=t.XpG().$implicit,e=t.XpG(2);t.Dyx(e.getCurrentItems(n))}}function Tt(o,m){if(1&o&&(t.j41(0,"div",7),t.DNE(1,ft,2,0)(2,Ct,2,0),t.k0s()),2&o){const n=m.$implicit,e=t.XpG(2);t.BMQ("menu-name",e.domHelper.leanDom?null:n.name)("data-pxp-menu-name",e.domHelper.leanDom?n.name:null),t.R7$(),t.vxM(e.domHelper.leanDom?-1:1),t.R7$(),t.vxM(e.domHelper.leanDom?2:-1)}}function ht(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",3),t.bIt("click",function(){t.eBV(n);const i=t.XpG();return t.Njj(i.close())}),t.k0s(),t.j41(1,"div",4),t.bIt("click",function(i){return t.eBV(n),t.Njj(i.stopPropagation())}),t.j41(2,"div",5),t.DNE(3,_t,3,2,"div",6),t.Z7z(4,Tt,3,4,"div",7,t.fX1),t.k0s()()}if(2&o){const n=t.XpG();t.R7$(3),t.vxM(n.menuActions?3:-1),t.R7$(),t.Dyx(n.menus)}}function gt(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",9),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function bt(o,m){if(1&o&&t.Z7z(0,gt,1,2,"storefront-button",8,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function St(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",11),t.bIt("click",function(){const i=t.eBV(n).$implicit,a=t.XpG(4);return t.Njj(a.topMenuAction(i))}),t.k0s()}if(2&o){const n=m.$implicit,e=t.XpG(4);t.Y8G("parentBaseContext",e.baseContext())("parentBaseConfig",n.content)}}function Et(o,m){if(1&o&&t.Z7z(0,St,1,2,"div",10,t.fX1),2&o){const n=t.XpG(3);t.Dyx(n.menuActions)}}function Lt(o,m){if(1&o&&(t.j41(0,"div",6),t.DNE(1,bt,2,0)(2,Et,2,0),t.k0s()),2&o){const n=t.XpG(2);t.R7$(),t.vxM(n.domHelper.leanDom?-1:1),t.R7$(),t.vxM(n.domHelper.leanDom?2:-1)}}function vt(o,m){if(1&o){const n=t.RV6();t.j41(0,"storefront-button",13),t.bIt("onButtonTap",function(i){t.eBV(n);const a=t.XpG().$implicit,p=t.XpG(3);return t.Njj(p.onStaticItemClick(i,a))}),t.k0s()}if(2&o){const n=t.XpG().$implicit,e=t.XpG(3);t.Y8G("parentBaseConfig",e.getButtonConfig(n)),t.BMQ("title",n.description)}}function Dt(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",15),t.bIt("onButtonTap",function(i){t.eBV(n);const a=t.XpG().$implicit,p=t.XpG(3);return t.Njj(p.onStaticItemClick(i,a))}),t.k0s()}if(2&o){const n=t.XpG().$implicit,e=t.XpG(3);t.Y8G("parentBaseConfig",e.getButtonConfig(n)),t.BMQ("title",n.description)}}function Nt(o,m){if(1&o&&(t.j41(0,"ul",17),t.eu8(1,18),t.k0s()),2&o){const n=t.XpG().$implicit,e=t.XpG(),i=e.depth,a=e.leanDom;t.XpG();const p=t.sdS(4);t.R7$(),t.Y8G("ngTemplateOutlet",p)("ngTemplateOutletContext",t.sMw(2,rt,n.childItems,i+1,a))}}function Mt(o,m){if(1&o&&(t.j41(0,"li",16,1),t.DNE(2,vt,1,2,"storefront-button",12)(3,Dt,1,2,"div",14)(4,Nt,2,6,"ul",17),t.k0s()),2&o){const n=m.$implicit,e=t.XpG(),i=e.depth,a=e.leanDom,p=t.XpG(2);t.Y8G("ngClass",p.getMenuItemLiClasses(n)),t.BMQ("depth",i)("child-items",!(null==n||null==n.childItems||!n.childItems.length))("item-id",null==n?null:n.id),t.R7$(2),t.vxM(a?-1:2),t.R7$(),t.vxM(a?3:-1),t.R7$(),t.vxM(null!=n.childItems&&n.childItems.length?4:-1)}}function Bt(o,m){1&o&&t.Z7z(0,Mt,5,7,"li",16,t.fX1),2&o&&t.Dyx(m.items)}function Gt(o,m){if(1&o&&(t.j41(0,"ul",7),t.eu8(1,18),t.k0s()),2&o){const n=m.$implicit;t.XpG();const e=t.sdS(4),i=t.XpG();t.BMQ("menu-name",i.domHelper.leanDom?null:n.name)("data-pxp-menu-name",i.domHelper.leanDom?n.name:null),t.R7$(),t.Y8G("ngTemplateOutlet",e)("ngTemplateOutletContext",t.l_i(4,ut,n.items,i.domHelper.leanDom))}}function Ht(o,m){if(1&o){const n=t.RV6();t.j41(0,"div",4),t.bIt("click",function(i){return t.eBV(n),t.Njj(i.stopPropagation())}),t.j41(1,"div",5),t.DNE(2,Lt,3,2,"div",6)(3,Bt,2,0,"ng-template",null,0,t.C5r),t.Z7z(5,Gt,2,7,"ul",7,t.fX1),t.k0s()()}if(2&o){const n=t.XpG();t.R7$(2),t.vxM(n.menuActions?2:-1),t.R7$(3),t.Dyx(n.menus)}}let Rt=(()=>{var o;class m extends f{}return(o=m).\u0275fac=(()=>{let n;return function(i){return(n||(n=t.xGo(o)))(i||o)}})(),o.\u0275cmp=t.VBU({type:o,selectors:[["div",8,"pxp-menu"]],standalone:!1,features:[t.Jv_([I.B]),t.Vt3],attrs:pt,decls:2,vars:2,consts:[["menuItemsTemplate",""],["menuItem",""],[1,"menu"],[1,"side-menu-backdrop",3,"click"],[1,"menu",3,"click"],[1,"items"],[1,"menu-actions"],[1,"menu-content"],[3,"parentBaseContext","parentBaseConfig"],[3,"click","parentBaseContext","parentBaseConfig"],[1,"pxp-button",3,"parentBaseContext","parentBaseConfig"],[1,"pxp-button",3,"click","parentBaseContext","parentBaseConfig"],[3,"parentBaseConfig"],[3,"onButtonTap","parentBaseConfig"],[1,"pxp-button",3,"parentBaseConfig"],[1,"pxp-button",3,"onButtonTap","parentBaseConfig"],[3,"ngClass"],[1,"menu-item-children"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(e,i){1&e&&t.DNE(0,ht,6,1)(1,Ht,7,1,"div",2),2&e&&(t.vxM("SLIDE_IN_LEFT"!==i.template&&"SLIDE_IN_RIGHT"!==i.template||!i.show?-1:0),t.R7$(),t.vxM("STATIC"===i.template?1:-1))},dependencies:[s.YU,s.T3,g.Q,b.U],styles:['html body{--primaryColor: #00adef;--primaryColorNightMode: white;--secondaryColor: rgb(200, 200, 200);--backgroundColor: rgb(255, 255, 255);--secondaryBackgroundColor: rgb(200, 200, 200);--textColor: rgb(0, 0, 0);--accentColor: var(--primaryColor);--secondaryTextColor: rgb(80, 80, 80);--ghostColor: rgba(200, 200, 200);--gutter: 16px;--borderRadius: 4px;--actionButtonHeight: 50px;--appBarColor: white;--appBarTextColor: var(--textColor);--appBarHeight: 54px;--appBarDisplay: flex;--appBarShrinkDisplay: flex;--appBarShrinkHeight: 30px;--appBarFontSize: 1em;--appBarShrinkFontSize: .6em;--appBarPaddingVert: 4px;--appBarPaddingHoriz: 0;--appBarButtonWidth: 50px;--appMenuColor: white;--navigationHeight: 50px;--navigationShrinkHeight: 30px;--navigationColor: var(--textColor);--navigationBgColor: white;--navigationActiveColor: var(--primaryColor);--listPadding: var(--gutter);--listPaddingHoriz: var(--gutter);--listPaddingVert: var(--gutter);--listItemGutter: var(--gutter);--gridListColumns: 4;--listTabBorderWidth: 1px;--listTabBorderRadius: var(--borderRadius);--listTabHighlightColor: var(--primaryColor);--listTabHighlightTextColor: white;--buttonPaddingVert: calc(var(--gutter) / 2);--buttonPaddingHoriz: calc(var(--gutter) / 2);--modalBgColor: white;--modalPadding: var(--gutter);--modalPaddingBottom: var(--gutter);--issueProgressPaddingVert: 2px;--issueProgressPaddingHoriz: 2px;--issueProgressMarginVert: calc(var(--gutter) / 2);--issueProgressMarginHoriz: calc(var(--gutter) / 2);--issueProgressBgColor: var(--secondaryColor);--issueProgressColor: var(--primaryColor);--issueProgressFontColor: white;--issueUpdateBadgeBgColor: var(--primaryColor);--issueUpdateBadgeColor: white;--subscriptionPaddingVert: var(--gutter);--subscriptionPaddingHoriz: var(--gutter);--subscriptionPurchasedMarginHoriz: 6px;--subscriptionPurchasedBorderRadius: 20px;--loginPaddingVert: var(--gutter);--loginPaddingHoriz: var(--gutter);--loginElementMarginVert: calc(var(--gutter));--loginElementMarginHoriz: 0;--couponPaddingVert: var(--gutter);--couponPaddingHoriz: var(--gutter);--couponElementMarginVert: calc(var(--gutter));--couponElementMarginHoriz: 0;--couponElementPaddingVert: calc(var(--gutter));--couponElementPaddingHoriz: calc(var(--gutter));--bookmarkBgColor: transparent;--bookmarkImageBgColor: white;--sectionPadding: 0;--spinnerColor: #fff;--imageBackgroundColor: transparent;--imageLoadingColor: rgb(200, 200, 200);--dropdownPaddingX: calc(var(--gutter) / 2);--dropdownPaddingY: calc(var(--gutter) / 2);--tickerGutter: var(--gutter);--tickerPaddingY: var(--gutter);--searchFieldFontSize: 14px;--swiperPaginationTabHeight: 50px;--swiperPaginationBorderWidth: 4px;--swiperPaginationBackgroundColor: white;--swiperPaginationColor: var(--primaryColor);--switchWidth: 50px;--switchActiveColor: var(--primaryColor);--switchHandleColor: #fff;--switchBackgroundColor: #f1f1f1;--switchBorderWidth: 3px;--switchBorderRadius: calc(var(--switchWidth) * .6);--stackedCoversWidth: 40%;--stackedCoversScaleStep: .1;--stackedCoversTranslateStep: .3;--stackedCoversTopEvenCenteredGap: 4px;--toolbarbackgroundColor: transparent;--toolbarIconColor: #a9a9a9;--zIndexAppBar: 999;color:var(--textColor);--contentFont: "OpenSans", sans-serif;--contentHeadlineFont: var(--contentFont);--contentIconNavigateBack: url(resource://dynamic/content/assets/ic_left.svg);--contentIconNavigateForward: url(resource://dynamic/content/assets/ic_right.svg);--contentSpinner: url(resource://dynamic/content/assets/tail-spin.svg);--contentBgColor: #ffffff;--contentTextColor: black;--contentPaddingVert: 30px;--contentPaddingHoriz: 50px;--contentHeaderMarginTop: 1em;--contentHeaderMarginBottom: 1.5em;--contentHeaderPaddingVert: 1em;--contentHeaderElementMarginTop: .5em;--contentHeaderElementMarginBottom: .5em;--contentSectionPaddingVert: 1em;--contentSectionPaddingHoriz: 1em;--contentElementMarginTop: 1em;--contentElementMarginBottom: 1em;--contentElementPaddingVert: .5em;--contentElementPaddingHoriz: 1em;--contentHeadlineBigMarginTop: 1.5em;--contentHeadlineBigMarginBottom: .5em;--contentHeadlineSmallMarginTop: 1em;--contentHeadlineSmallMarginBottom: .5em;--contentNavigateButtonColor: var(--primaryColor);--contentNavigateButtonSize: 30px;--contentNavigateButtonGap: 12px;--contentBgColorNightMode: #323232;--contentTextColorNightMode: #ffffff;--contentNavigateButtonColorNightMode: var(--primaryColorNightMode);--menuItemIconGap: calc(var(--menuItemIconHeight) / 2);--menuItemIconHeight: 14px}@media (max-width: 767px) and (orientation: portrait),(max-height: 767px) and (orientation: landscape){html body{--gridListColumns: 3}}@media (max-width: 533px) and (orientation: portrait),(max-height: 533px) and (orientation: landscape){html body{--gridListColumns: 2;--actionButtonHeight: 40px}}@media (max-height: 533px) and (orientation: landscape){html body{--gridListColumns: 3}}@media (max-width: 533px) and (orientation: portrait){html body{--contentPaddingHoriz: 30px}}.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-menu,.pxp-menu{--textColor: var(--colorTextInverted, #000)}storefront-menu .menu-content,.pxp-menu .menu-content{display:flex;flex-wrap:wrap}storefront-menu[template=STATIC] .menu-content>ul,storefront-menu[data-pxp-template=STATIC] .menu-content>ul,.pxp-menu[template=STATIC] .menu-content>ul,.pxp-menu[data-pxp-template=STATIC] .menu-content>ul{display:flex}storefront-menu[template=STATIC] .menu-item,storefront-menu[data-pxp-template=STATIC] .menu-item,.pxp-menu[template=STATIC] .menu-item,.pxp-menu[data-pxp-template=STATIC] .menu-item{list-style:none}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul{display:none}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button,storefront-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button{width:100%;display:block}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,storefront-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button{width:100%}storefront-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,storefront-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,.pxp-menu[template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul storefront-button>button a,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"]>ul .pxp-button>button a{justify-content:flex-start}storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children{display:flex;position:absolute;box-shadow:0 5px 15px #00000080;z-index:100;background-color:var(--backgroundColor);border-radius:4px}storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button{background-color:transparent}storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,storefront-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,storefront-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,.pxp-menu[template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children storefront-button>button:hover,.pxp-menu[data-pxp-template=STATIC] .menu-item[depth="0"].menu-item-open>.menu-item-children .pxp-button>button:hover{background-color:var(--primaryColor)}@keyframes menu-slide-in-opacity{0%{opacity:0}to{opacity:1}}@keyframes menu-slide-out-opacity{0%{opacity:1}to{opacity:0}}storefront-menu[template=SLIDE_IN_RIGHT] .side-menu-backdrop,storefront-menu[template=SLIDE_IN_LEFT] .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_RIGHT] .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_LEFT] .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .side-menu-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;z-index:6;background-color:#0009;animation:menu-slide-in-opacity .3s forwards}storefront-menu[template=SLIDE_IN_RIGHT] .menu,storefront-menu[template=SLIDE_IN_LEFT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu,.pxp-menu[template=SLIDE_IN_RIGHT] .menu,.pxp-menu[template=SLIDE_IN_LEFT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu{position:fixed;width:100%;top:0;height:100vh;max-width:300px;z-index:8;background-color:#fff;font-family:var(--contentFont);padding:0 20px 20px;overflow-y:auto}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions{display:flex;justify-content:end;-webkit-justify-content:flex-end;align-items:flex-end;-webkit-align-items:flex-end;position:-webkit-sticky;position:-webkit-sticky;position:sticky;top:0;padding-bottom:10%;border-bottom:.5px var(--toolbarIconColor) solid;background-color:#fff;z-index:1}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions div,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions div,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-actions div,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions storefront-element,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-actions div,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions storefront-element,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-actions div{margin-right:.3em;color:var(--toolbarIconColor);font-size:1.5em}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content{display:flex;flex-direction:column;margin-bottom:15px;background-color:var(--appMenuColor);overflow:hidden}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button{font-size:20px;line-height:56px;letter-spacing:.38px;font-family:var(--contentFont)}storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,storefront-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,storefront-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,.pxp-menu[template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,.pxp-menu[template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>storefront-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu .items .menu-content>.pxp-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>storefront-button>button,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu .items .menu-content>.pxp-button>button{text-align:left;width:100%}storefront-menu[template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,storefront-menu[template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,storefront-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,.pxp-menu[template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .side-menu-backdrop,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .side-menu-backdrop{animation:menu-slide-out-opacity .3s forwards}@keyframes menu-slide-in-right{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes menu-slide-out-right{0%{transform:translate(0)}to{transform:translate(100%)}}storefront-menu[template=SLIDE_IN_RIGHT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu,.pxp-menu[template=SLIDE_IN_RIGHT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT] .menu{right:0;left:auto;animation:menu-slide-in-right .3s forwards}storefront-menu[template=SLIDE_IN_RIGHT].menu-fade-out .menu,storefront-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .menu,.pxp-menu[template=SLIDE_IN_RIGHT].menu-fade-out .menu,.pxp-menu[data-pxp-template=SLIDE_IN_RIGHT].menu-fade-out .menu{animation:menu-slide-out-right .3s forwards}@keyframes menu-slide-in-left{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes menu-slide-out-left{0%{transform:translate(0)}to{transform:translate(-100%)}}storefront-menu[template=SLIDE_IN_LEFT] .menu,storefront-menu[data-pxp-template=SLIDE_IN_LEFT] .menu,.pxp-menu[template=SLIDE_IN_LEFT] .menu,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT] .menu{right:auto;left:0;animation:menu-slide-in-left .3s forwards}storefront-menu[template=SLIDE_IN_LEFT].menu-fade-out .menu,storefront-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .menu,.pxp-menu[template=SLIDE_IN_LEFT].menu-fade-out .menu,.pxp-menu[data-pxp-template=SLIDE_IN_LEFT].menu-fade-out .menu{animation:menu-slide-out-left .3s forwards}\n'],encapsulation:2,changeDetection:0}),m})(),kt=(()=>{var o;class m{}return(o=m).\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.$C({type:o}),o.\u0275inj=t.G2t({imports:[s.MD,mt.ButtonModule]}),m})();t.wjB(f,[s.YU,s.T3,g.Q,b.U],[]);const Ft={component:f,leanDomComponent:Rt}}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_search-field_search-field_module_ts"],{8792:(w,p,c)=>{c.r(p),c.d(p,{SearchFieldModule:()=>I,component:()=>N});var u=c(177),_=c(467),h=c(9379),e=c(3953),f=c(3331),d=c(8251),v=c(610),C=c(3178),S=c(1210);const F={param:"phrase"};var m=c(8075),y=c(8004),j=c(9745),k=c(345),g=c(8448);const B=["input"];function T(s,l){if(1&s){const r=e.RV6();e.j41(0,"div",8),e.bIt("click",function(){const n=e.eBV(r).$implicit,o=e.XpG(2);return e.Njj(o.onClickSuggestion(n))})("mousedown",function(n){e.eBV(r);const o=e.XpG(2);return e.Njj(o.onSuggestionMousedown(n))}),e.EFF(1),e.k0s()}if(2&s){const r=l.$implicit;e.R7$(),e.SpI(" ",r," ")}}function x(s,l){if(1&s&&(e.j41(0,"div",3),e.Z7z(1,T,2,1,"div",7,e.fX1),e.k0s()),2&s){const r=e.XpG();e.R7$(),e.Dyx(r.getSuggestions())}}let b=(()=>{var s;class l extends S.${constructor(){super(...arguments),this.router=(0,e.WQX)(f.Ix),this.route=(0,e.WQX)(f.nX),this.store=(0,e.WQX)(d.B),this.eventActionService=(0,e.WQX)(y.G),this.sanitizer=(0,e.WQX)(k.up),this.changeDetectorRef=(0,e.WQX)(e.gRc),this.defaultConfig=(0,h.A)({},F),this.searched=!1,this.phrase="",this.suggestions=null}ngOnInit(){super.ngOnInit();let t=!1;this.store.subscribe(this.route.queryParams,n=>{if(!t&&n&&this.config&&this.config.param&&n[this.config.param]){const o=n[this.config.param];let a=this.sanitizer.sanitize(e.WPN.HTML,o)||"";a=this.decodeImportantChars(a),a!==o&&(t=!0,this.router.navigate([],{relativeTo:this.route,queryParams:(0,h.A)((0,h.A)({},n),{},{[this.config.param]:a}),queryParamsHandling:"merge"}).then(()=>{t=!1})),this.input.nativeElement.value=this.phrase=a,this.searched=this.input.nativeElement.value.trim().length>0}})}decodeImportantChars(t){return t.replace(/ä/g,"\xe4").replace(/ö/g,"\xf6").replace(/ü/g,"\xfc").replace(/ß/g,"\xdf").replace(/Ä/g,"\xc4").replace(/Ö/g,"\xd6").replace(/Ü/g,"\xdc").replace(/"/g,'"').replace(/&/g,"&").replace(/“/g,"\u201c").replace(/”/g,"\u201d").replace(/£/g,"\xa3").replace(/§/g,"\xa7").replace(/€/g,"\u20ac")}onConfigChanges(){var t=this;return(0,_.A)(function*(){if(t.config.param&&t.context[t.config.param]&&(t.phrase=t.context[t.config.param],t.input.nativeElement.value=t.phrase,t.searched=t.input.nativeElement.value.trim().length>0),t.config.suggestions)try{t.suggestions=yield(0,C.hI)(t.config.suggestions.url)}catch(n){console.warn("Error fetching search suggestions")}t.changeDetectorRef.markForCheck()})()}onClickReset(t){this.phrase="",this.input.nativeElement.value=this.phrase,this.input.nativeElement.blur(),this.searched=!1,this.config.param&&(0,m.CV)(this.router,{[this.config.param]:null})}onSearch(){if(this.config.param&&this.input.nativeElement.value.trim().length>0){this.phrase=this.input.nativeElement.value,this.searched=!0;const t=(0,h.A)((0,h.A)({},this.config.params),{},{[this.config.param]:this.phrase});this.config.publicationType&&(t.publicationType=this.config.publicationType),this.store.dispatch((0,v.k4)({url:window.location.href,key:"SEARCH_PERFORMED",params:{phrase:this.phrase}})),this.config.path?this.eventActionService.processNavigateAction({type:j.H.NAVIGATE,path:this.config.path,params:t},this):(0,m.CV)(this.router,t)}}focus(t){return t&&t.preventDefault(),this.searched=this.input.nativeElement.value.trim().length>0,this.input.nativeElement.focus(),this.elementRef.nativeElement.classList.add("focus"),!1}focusOrSearch(t){t&&t.preventDefault();const n=this.input.nativeElement.value.trim();n.length>0&&n!==this.phrase?this.onSearch():this.focus()}onInput(t){this.searched=this.input.nativeElement.value.length>0}onBlur(t){setTimeout(()=>{this.input.nativeElement.value=this.phrase,this.searched=this.phrase.length>0;try{this.changeDetectorRef.detectChanges()}catch(n){console.warn("Error in change detection of Blur event",n)}},100),this.elementRef.nativeElement.classList.remove("focus"),this.searched=!1}onFocus(t){this.elementRef.nativeElement.classList.add("focus")}onKeyUp(t){13===(t.keyCode||t.which)?(this.input.nativeElement.blur(),this.onSearch()):8===(t.keyCode||t.which)&&(this.searched=this.input.nativeElement.value.length>0)}getSuggestions(){const t=this.input.nativeElement.value;return this.suggestions&&this.suggestions.filter(n=>0===n.toLowerCase().indexOf(t.toLowerCase()))}onClickSuggestion(t){this.input.nativeElement.value=t,this.phrase=t,this.onInput(),this.focus()}onSuggestionMousedown(t){return t.preventDefault(),!1}getId(){return null}}return(s=l).type="search-field",s.\u0275fac=(()=>{let r;return function(n){return(r||(r=e.xGo(s)))(n||s)}})(),s.\u0275cmp=e.VBU({type:s,selectors:[["storefront-search-field"]],viewQuery:function(t,n){if(1&t&&e.GBs(B,7),2&t){let o;e.mGM(o=e.lsd())&&(n.input=o.first)}},hostVars:2,hostBindings:function(t,n){2&t&&e.AVh("searched",n.searched)},standalone:!1,features:[e.Jv_([d.B]),e.Vt3],decls:9,vars:6,consts:[["input",""],[1,"search-field-container"],["type","search",3,"click","input","focus","blur","keyup","placeholder"],[1,"search-field-suggestions"],[1,"search-field-buttons"],["aria-label","search",1,"icon","icon-search","search-btn",3,"mousedown","touchstart"],["aria-label","reset",1,"icon","icon-delete","reset-btn",3,"mousedown","touchstart"],[1,"search-field-suggestion"],[1,"search-field-suggestion",3,"click","mousedown"]],template:function(t,n){if(1&t){const o=e.RV6();e.j41(0,"div",1)(1,"input",2,0),e.nI1(3,"storefrontTranslate"),e.nI1(4,"async"),e.bIt("click",function(i){return e.eBV(o),e.Njj(n.focus(i))})("input",function(i){return e.eBV(o),e.Njj(n.onInput(i))})("focus",function(i){return e.eBV(o),e.Njj(n.onFocus(i))})("blur",function(i){return e.eBV(o),e.Njj(n.onBlur(i))})("keyup",function(i){return e.eBV(o),e.Njj(n.onKeyUp(i))}),e.k0s(),e.DNE(5,x,3,0,"div",3),e.j41(6,"div",4)(7,"button",5),e.bIt("mousedown",function(i){return e.eBV(o),e.Njj(n.focusOrSearch(i))})("touchstart",function(i){return e.eBV(o),e.Njj(n.focusOrSearch(i))}),e.k0s(),e.j41(8,"button",6),e.bIt("mousedown",function(i){return e.eBV(o),e.Njj(n.onClickReset(i))})("touchstart",function(i){return e.eBV(o),e.Njj(n.onClickReset(i))}),e.k0s()()()}2&t&&(e.R7$(),e.Y8G("placeholder",e.bMT(4,4,e.bMT(3,2,"SEARCH_FIELD_PLACEHOLDER"))),e.R7$(4),e.vxM(n.getSuggestions()?5:-1))},dependencies:[u.Jj,g.D],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-search-field,.pxp-search-field{display:block;position:relative;box-sizing:border-box;font-size:var(--searchFieldFontSize)}storefront-search-field *,.pxp-search-field *{font-size:inherit}storefront-search-field .search-field-container,.pxp-search-field .search-field-container{position:relative}storefront-search-field .search-field-container input,.pxp-search-field .search-field-container input{width:100%;padding:var(--gutter)}storefront-search-field .search-field-container .search-field-buttons,.pxp-search-field .search-field-container .search-field-buttons{position:absolute;top:0;right:0;display:flex;align-items:center;height:100%;z-index:1}storefront-search-field .search-field-container .search-field-buttons button,.pxp-search-field .search-field-container .search-field-buttons button{cursor:pointer;padding:var(--gutter)}storefront-search-field .search-field-container .search-field-buttons button.search-btn,.pxp-search-field .search-field-container .search-field-buttons button.search-btn{display:block}storefront-search-field .search-field-container .search-field-buttons button.reset-btn,.pxp-search-field .search-field-container .search-field-buttons button.reset-btn{display:none;font-size:10px}storefront-search-field .search-field-container .search-field-suggestions,.pxp-search-field .search-field-container .search-field-suggestions{display:none;position:absolute;width:100%}storefront-search-field .search-field-container .search-field-suggestions .search-field-suggestion,.pxp-search-field .search-field-container .search-field-suggestions .search-field-suggestion{padding:var(--gutter)}storefront-search-field.searched .search-field-buttons button.search-btn,.pxp-search-field.searched .search-field-buttons button.search-btn{display:none}storefront-search-field.searched .search-field-buttons button.reset-btn,.pxp-search-field.searched .search-field-buttons button.reset-btn{display:block}storefront-search-field.focus .search-field-suggestions,.pxp-search-field.focus .search-field-suggestions{display:block}\n'],encapsulation:2}),l})();var D=c(6483);const E=["class","pxp-search-field"];function R(s,l){if(1&s){const r=e.RV6();e.j41(0,"div",8),e.bIt("click",function(){const n=e.eBV(r).$implicit,o=e.XpG(2);return e.Njj(o.onClickSuggestion(n))})("mousedown",function(n){e.eBV(r);const o=e.XpG(2);return e.Njj(o.onSuggestionMousedown(n))}),e.EFF(1),e.k0s()}if(2&s){const r=l.$implicit;e.R7$(),e.SpI(" ",r," ")}}function V(s,l){if(1&s&&(e.j41(0,"div",3),e.Z7z(1,R,2,1,"div",7,e.fX1),e.k0s()),2&s){const r=e.XpG();e.R7$(),e.Dyx(r.getSuggestions())}}let L=(()=>{var s;class l extends b{}return(s=l).\u0275fac=(()=>{let r;return function(n){return(r||(r=e.xGo(s)))(n||s)}})(),s.\u0275cmp=e.VBU({type:s,selectors:[["div",8,"pxp-search-field"]],standalone:!1,features:[e.Jv_([d.B]),e.Vt3],attrs:E,decls:9,vars:6,consts:[["input",""],[1,"search-field-container"],["type","search",3,"click","input","focus","blur","keyup","placeholder"],[1,"search-field-suggestions"],[1,"search-field-buttons"],["aria-label","search",1,"icon","icon-search","search-btn",3,"mousedown","touchstart"],["aria-label","reset",1,"icon","icon-delete","reset-btn",3,"mousedown","touchstart"],[1,"search-field-suggestion"],[1,"search-field-suggestion",3,"click","mousedown"]],template:function(t,n){if(1&t){const o=e.RV6();e.j41(0,"div",1)(1,"input",2,0),e.nI1(3,"storefrontTranslate"),e.nI1(4,"async"),e.bIt("click",function(i){return e.eBV(o),e.Njj(n.focus(i))})("input",function(i){return e.eBV(o),e.Njj(n.onInput(i))})("focus",function(i){return e.eBV(o),e.Njj(n.onFocus(i))})("blur",function(i){return e.eBV(o),e.Njj(n.onBlur(i))})("keyup",function(i){return e.eBV(o),e.Njj(n.onKeyUp(i))}),e.k0s(),e.DNE(5,V,3,0,"div",3),e.j41(6,"div",4)(7,"button",5),e.bIt("mousedown",function(i){return e.eBV(o),e.Njj(n.focusOrSearch(i))})("touchstart",function(i){return e.eBV(o),e.Njj(n.focusOrSearch(i))}),e.k0s(),e.j41(8,"button",6),e.bIt("mousedown",function(i){return e.eBV(o),e.Njj(n.onClickReset(i))})("touchstart",function(i){return e.eBV(o),e.Njj(n.onClickReset(i))}),e.k0s()()()}2&t&&(e.R7$(),e.Y8G("placeholder",e.bMT(4,4,e.bMT(3,2,"SEARCH_FIELD_PLACEHOLDER"))),e.R7$(4),e.vxM(n.getSuggestions()?5:-1))},dependencies:[u.Jj,g.D],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-search-field,.pxp-search-field{display:block;position:relative;box-sizing:border-box;font-size:var(--searchFieldFontSize)}storefront-search-field *,.pxp-search-field *{font-size:inherit}storefront-search-field .search-field-container,.pxp-search-field .search-field-container{position:relative}storefront-search-field .search-field-container input,.pxp-search-field .search-field-container input{width:100%;padding:var(--gutter)}storefront-search-field .search-field-container .search-field-buttons,.pxp-search-field .search-field-container .search-field-buttons{position:absolute;top:0;right:0;display:flex;align-items:center;height:100%;z-index:1}storefront-search-field .search-field-container .search-field-buttons button,.pxp-search-field .search-field-container .search-field-buttons button{cursor:pointer;padding:var(--gutter)}storefront-search-field .search-field-container .search-field-buttons button.search-btn,.pxp-search-field .search-field-container .search-field-buttons button.search-btn{display:block}storefront-search-field .search-field-container .search-field-buttons button.reset-btn,.pxp-search-field .search-field-container .search-field-buttons button.reset-btn{display:none;font-size:10px}storefront-search-field .search-field-container .search-field-suggestions,.pxp-search-field .search-field-container .search-field-suggestions{display:none;position:absolute;width:100%}storefront-search-field .search-field-container .search-field-suggestions .search-field-suggestion,.pxp-search-field .search-field-container .search-field-suggestions .search-field-suggestion{padding:var(--gutter)}storefront-search-field.searched .search-field-buttons button.search-btn,.pxp-search-field.searched .search-field-buttons button.search-btn{display:none}storefront-search-field.searched .search-field-buttons button.reset-btn,.pxp-search-field.searched .search-field-buttons button.reset-btn{display:block}storefront-search-field.focus .search-field-suggestions,.pxp-search-field.focus .search-field-suggestions{display:block}\n'],encapsulation:2}),l})(),I=(()=>{var s;class l{}return(s=l).\u0275fac=function(t){return new(t||s)},s.\u0275mod=e.$C({type:s}),s.\u0275inj=e.G2t({imports:[u.MD,D.h]}),l})();const N={component:b,leanDomComponent:L}}}]);
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_search-field_search-field_module_ts"],{8792:(w,p,c)=>{c.r(p),c.d(p,{SearchFieldModule:()=>I,component:()=>N});var u=c(177),_=c(467),h=c(9379),e=c(3953),f=c(3331),d=c(8251),v=c(610),C=c(3178),S=c(1210);const F={param:"phrase"};var m=c(8075),y=c(8004),j=c(9745),k=c(345),g=c(6067);const B=["input"];function T(s,l){if(1&s){const r=e.RV6();e.j41(0,"div",8),e.bIt("click",function(){const n=e.eBV(r).$implicit,o=e.XpG(2);return e.Njj(o.onClickSuggestion(n))})("mousedown",function(n){e.eBV(r);const o=e.XpG(2);return e.Njj(o.onSuggestionMousedown(n))}),e.EFF(1),e.k0s()}if(2&s){const r=l.$implicit;e.R7$(),e.SpI(" ",r," ")}}function x(s,l){if(1&s&&(e.j41(0,"div",3),e.Z7z(1,T,2,1,"div",7,e.fX1),e.k0s()),2&s){const r=e.XpG();e.R7$(),e.Dyx(r.getSuggestions())}}let b=(()=>{var s;class l extends S.${constructor(){super(...arguments),this.router=(0,e.WQX)(f.Ix),this.route=(0,e.WQX)(f.nX),this.store=(0,e.WQX)(d.B),this.eventActionService=(0,e.WQX)(y.G),this.sanitizer=(0,e.WQX)(k.up),this.changeDetectorRef=(0,e.WQX)(e.gRc),this.defaultConfig=(0,h.A)({},F),this.searched=!1,this.phrase="",this.suggestions=null}ngOnInit(){super.ngOnInit();let t=!1;this.store.subscribe(this.route.queryParams,n=>{if(!t&&n&&this.config&&this.config.param&&n[this.config.param]){const o=n[this.config.param];let a=this.sanitizer.sanitize(e.WPN.HTML,o)||"";a=this.decodeImportantChars(a),a!==o&&(t=!0,this.router.navigate([],{relativeTo:this.route,queryParams:(0,h.A)((0,h.A)({},n),{},{[this.config.param]:a}),queryParamsHandling:"merge"}).then(()=>{t=!1})),this.input.nativeElement.value=this.phrase=a,this.searched=this.input.nativeElement.value.trim().length>0}})}decodeImportantChars(t){return t.replace(/ä/g,"\xe4").replace(/ö/g,"\xf6").replace(/ü/g,"\xfc").replace(/ß/g,"\xdf").replace(/Ä/g,"\xc4").replace(/Ö/g,"\xd6").replace(/Ü/g,"\xdc").replace(/"/g,'"').replace(/&/g,"&").replace(/“/g,"\u201c").replace(/”/g,"\u201d").replace(/£/g,"\xa3").replace(/§/g,"\xa7").replace(/€/g,"\u20ac")}onConfigChanges(){var t=this;return(0,_.A)(function*(){if(t.config.param&&t.context[t.config.param]&&(t.phrase=t.context[t.config.param],t.input.nativeElement.value=t.phrase,t.searched=t.input.nativeElement.value.trim().length>0),t.config.suggestions)try{t.suggestions=yield(0,C.hI)(t.config.suggestions.url)}catch(n){console.warn("Error fetching search suggestions")}t.changeDetectorRef.markForCheck()})()}onClickReset(t){this.phrase="",this.input.nativeElement.value=this.phrase,this.input.nativeElement.blur(),this.searched=!1,this.config.param&&(0,m.CV)(this.router,{[this.config.param]:null})}onSearch(){if(this.config.param&&this.input.nativeElement.value.trim().length>0){this.phrase=this.input.nativeElement.value,this.searched=!0;const t=(0,h.A)((0,h.A)({},this.config.params),{},{[this.config.param]:this.phrase});this.config.publicationType&&(t.publicationType=this.config.publicationType),this.store.dispatch((0,v.k4)({url:window.location.href,key:"SEARCH_PERFORMED",params:{phrase:this.phrase}})),this.config.path?this.eventActionService.processNavigateAction({type:j.H.NAVIGATE,path:this.config.path,params:t},this):(0,m.CV)(this.router,t)}}focus(t){return t&&t.preventDefault(),this.searched=this.input.nativeElement.value.trim().length>0,this.input.nativeElement.focus(),this.elementRef.nativeElement.classList.add("focus"),!1}focusOrSearch(t){t&&t.preventDefault();const n=this.input.nativeElement.value.trim();n.length>0&&n!==this.phrase?this.onSearch():this.focus()}onInput(t){this.searched=this.input.nativeElement.value.length>0}onBlur(t){setTimeout(()=>{this.input.nativeElement.value=this.phrase,this.searched=this.phrase.length>0;try{this.changeDetectorRef.detectChanges()}catch(n){console.warn("Error in change detection of Blur event",n)}},100),this.elementRef.nativeElement.classList.remove("focus"),this.searched=!1}onFocus(t){this.elementRef.nativeElement.classList.add("focus")}onKeyUp(t){13===(t.keyCode||t.which)?(this.input.nativeElement.blur(),this.onSearch()):8===(t.keyCode||t.which)&&(this.searched=this.input.nativeElement.value.length>0)}getSuggestions(){const t=this.input.nativeElement.value;return this.suggestions&&this.suggestions.filter(n=>0===n.toLowerCase().indexOf(t.toLowerCase()))}onClickSuggestion(t){this.input.nativeElement.value=t,this.phrase=t,this.onInput(),this.focus()}onSuggestionMousedown(t){return t.preventDefault(),!1}getId(){return null}}return(s=l).type="search-field",s.\u0275fac=(()=>{let r;return function(n){return(r||(r=e.xGo(s)))(n||s)}})(),s.\u0275cmp=e.VBU({type:s,selectors:[["storefront-search-field"]],viewQuery:function(t,n){if(1&t&&e.GBs(B,7),2&t){let o;e.mGM(o=e.lsd())&&(n.input=o.first)}},hostVars:2,hostBindings:function(t,n){2&t&&e.AVh("searched",n.searched)},standalone:!1,features:[e.Jv_([d.B]),e.Vt3],decls:9,vars:6,consts:[["input",""],[1,"search-field-container"],["type","search",3,"click","input","focus","blur","keyup","placeholder"],[1,"search-field-suggestions"],[1,"search-field-buttons"],["aria-label","search",1,"icon","icon-search","search-btn",3,"mousedown","touchstart"],["aria-label","reset",1,"icon","icon-delete","reset-btn",3,"mousedown","touchstart"],[1,"search-field-suggestion"],[1,"search-field-suggestion",3,"click","mousedown"]],template:function(t,n){if(1&t){const o=e.RV6();e.j41(0,"div",1)(1,"input",2,0),e.nI1(3,"storefrontTranslate"),e.nI1(4,"async"),e.bIt("click",function(i){return e.eBV(o),e.Njj(n.focus(i))})("input",function(i){return e.eBV(o),e.Njj(n.onInput(i))})("focus",function(i){return e.eBV(o),e.Njj(n.onFocus(i))})("blur",function(i){return e.eBV(o),e.Njj(n.onBlur(i))})("keyup",function(i){return e.eBV(o),e.Njj(n.onKeyUp(i))}),e.k0s(),e.DNE(5,x,3,0,"div",3),e.j41(6,"div",4)(7,"button",5),e.bIt("mousedown",function(i){return e.eBV(o),e.Njj(n.focusOrSearch(i))})("touchstart",function(i){return e.eBV(o),e.Njj(n.focusOrSearch(i))}),e.k0s(),e.j41(8,"button",6),e.bIt("mousedown",function(i){return e.eBV(o),e.Njj(n.onClickReset(i))})("touchstart",function(i){return e.eBV(o),e.Njj(n.onClickReset(i))}),e.k0s()()()}2&t&&(e.R7$(),e.Y8G("placeholder",e.bMT(4,4,e.bMT(3,2,"SEARCH_FIELD_PLACEHOLDER"))),e.R7$(4),e.vxM(n.getSuggestions()?5:-1))},dependencies:[u.Jj,g.D],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-search-field,.pxp-search-field{display:block;position:relative;box-sizing:border-box;font-size:var(--searchFieldFontSize)}storefront-search-field *,.pxp-search-field *{font-size:inherit}storefront-search-field .search-field-container,.pxp-search-field .search-field-container{position:relative}storefront-search-field .search-field-container input,.pxp-search-field .search-field-container input{width:100%;padding:var(--gutter)}storefront-search-field .search-field-container .search-field-buttons,.pxp-search-field .search-field-container .search-field-buttons{position:absolute;top:0;right:0;display:flex;align-items:center;height:100%;z-index:1}storefront-search-field .search-field-container .search-field-buttons button,.pxp-search-field .search-field-container .search-field-buttons button{cursor:pointer;padding:var(--gutter)}storefront-search-field .search-field-container .search-field-buttons button.search-btn,.pxp-search-field .search-field-container .search-field-buttons button.search-btn{display:block}storefront-search-field .search-field-container .search-field-buttons button.reset-btn,.pxp-search-field .search-field-container .search-field-buttons button.reset-btn{display:none;font-size:10px}storefront-search-field .search-field-container .search-field-suggestions,.pxp-search-field .search-field-container .search-field-suggestions{display:none;position:absolute;width:100%}storefront-search-field .search-field-container .search-field-suggestions .search-field-suggestion,.pxp-search-field .search-field-container .search-field-suggestions .search-field-suggestion{padding:var(--gutter)}storefront-search-field.searched .search-field-buttons button.search-btn,.pxp-search-field.searched .search-field-buttons button.search-btn{display:none}storefront-search-field.searched .search-field-buttons button.reset-btn,.pxp-search-field.searched .search-field-buttons button.reset-btn{display:block}storefront-search-field.focus .search-field-suggestions,.pxp-search-field.focus .search-field-suggestions{display:block}\n'],encapsulation:2}),l})();var D=c(6483);const E=["class","pxp-search-field"];function R(s,l){if(1&s){const r=e.RV6();e.j41(0,"div",8),e.bIt("click",function(){const n=e.eBV(r).$implicit,o=e.XpG(2);return e.Njj(o.onClickSuggestion(n))})("mousedown",function(n){e.eBV(r);const o=e.XpG(2);return e.Njj(o.onSuggestionMousedown(n))}),e.EFF(1),e.k0s()}if(2&s){const r=l.$implicit;e.R7$(),e.SpI(" ",r," ")}}function V(s,l){if(1&s&&(e.j41(0,"div",3),e.Z7z(1,R,2,1,"div",7,e.fX1),e.k0s()),2&s){const r=e.XpG();e.R7$(),e.Dyx(r.getSuggestions())}}let L=(()=>{var s;class l extends b{}return(s=l).\u0275fac=(()=>{let r;return function(n){return(r||(r=e.xGo(s)))(n||s)}})(),s.\u0275cmp=e.VBU({type:s,selectors:[["div",8,"pxp-search-field"]],standalone:!1,features:[e.Jv_([d.B]),e.Vt3],attrs:E,decls:9,vars:6,consts:[["input",""],[1,"search-field-container"],["type","search",3,"click","input","focus","blur","keyup","placeholder"],[1,"search-field-suggestions"],[1,"search-field-buttons"],["aria-label","search",1,"icon","icon-search","search-btn",3,"mousedown","touchstart"],["aria-label","reset",1,"icon","icon-delete","reset-btn",3,"mousedown","touchstart"],[1,"search-field-suggestion"],[1,"search-field-suggestion",3,"click","mousedown"]],template:function(t,n){if(1&t){const o=e.RV6();e.j41(0,"div",1)(1,"input",2,0),e.nI1(3,"storefrontTranslate"),e.nI1(4,"async"),e.bIt("click",function(i){return e.eBV(o),e.Njj(n.focus(i))})("input",function(i){return e.eBV(o),e.Njj(n.onInput(i))})("focus",function(i){return e.eBV(o),e.Njj(n.onFocus(i))})("blur",function(i){return e.eBV(o),e.Njj(n.onBlur(i))})("keyup",function(i){return e.eBV(o),e.Njj(n.onKeyUp(i))}),e.k0s(),e.DNE(5,V,3,0,"div",3),e.j41(6,"div",4)(7,"button",5),e.bIt("mousedown",function(i){return e.eBV(o),e.Njj(n.focusOrSearch(i))})("touchstart",function(i){return e.eBV(o),e.Njj(n.focusOrSearch(i))}),e.k0s(),e.j41(8,"button",6),e.bIt("mousedown",function(i){return e.eBV(o),e.Njj(n.onClickReset(i))})("touchstart",function(i){return e.eBV(o),e.Njj(n.onClickReset(i))}),e.k0s()()()}2&t&&(e.R7$(),e.Y8G("placeholder",e.bMT(4,4,e.bMT(3,2,"SEARCH_FIELD_PLACEHOLDER"))),e.R7$(4),e.vxM(n.getSuggestions()?5:-1))},dependencies:[u.Jj,g.D],styles:['.aspectRatioBase{position:relative;display:block}.aspectRatioBase:before{content:"";position:relative;display:block}.aspectRatioBase>*{position:absolute}storefront-search-field,.pxp-search-field{display:block;position:relative;box-sizing:border-box;font-size:var(--searchFieldFontSize)}storefront-search-field *,.pxp-search-field *{font-size:inherit}storefront-search-field .search-field-container,.pxp-search-field .search-field-container{position:relative}storefront-search-field .search-field-container input,.pxp-search-field .search-field-container input{width:100%;padding:var(--gutter)}storefront-search-field .search-field-container .search-field-buttons,.pxp-search-field .search-field-container .search-field-buttons{position:absolute;top:0;right:0;display:flex;align-items:center;height:100%;z-index:1}storefront-search-field .search-field-container .search-field-buttons button,.pxp-search-field .search-field-container .search-field-buttons button{cursor:pointer;padding:var(--gutter)}storefront-search-field .search-field-container .search-field-buttons button.search-btn,.pxp-search-field .search-field-container .search-field-buttons button.search-btn{display:block}storefront-search-field .search-field-container .search-field-buttons button.reset-btn,.pxp-search-field .search-field-container .search-field-buttons button.reset-btn{display:none;font-size:10px}storefront-search-field .search-field-container .search-field-suggestions,.pxp-search-field .search-field-container .search-field-suggestions{display:none;position:absolute;width:100%}storefront-search-field .search-field-container .search-field-suggestions .search-field-suggestion,.pxp-search-field .search-field-container .search-field-suggestions .search-field-suggestion{padding:var(--gutter)}storefront-search-field.searched .search-field-buttons button.search-btn,.pxp-search-field.searched .search-field-buttons button.search-btn{display:none}storefront-search-field.searched .search-field-buttons button.reset-btn,.pxp-search-field.searched .search-field-buttons button.reset-btn{display:block}storefront-search-field.focus .search-field-suggestions,.pxp-search-field.focus .search-field-suggestions{display:block}\n'],encapsulation:2}),l})(),I=(()=>{var s;class l{}return(s=l).\u0275fac=function(t){return new(t||s)},s.\u0275mod=e.$C({type:s}),s.\u0275inj=e.G2t({imports:[u.MD,D.h]}),l})();const N={component:b,leanDomComponent:L}}}]);
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_toggle_toggle_module_ts"],{62:(V,p,r)=>{r.r(p),r.d(p,{ToggleModule:()=>A,component:()=>N});var C=r(177),i=r(467),g=r(9379),e=r(3953),f=r(3331),m=r(4404),c=r(8251);const T={content:"publication-type"};var v=r(610),y=r(
|
1
|
+
"use strict";(self.webpackChunkstorefront=self.webpackChunkstorefront||[]).push([["projects_storefront_src_app_component_toggle_toggle_module_ts"],{62:(V,p,r)=>{r.r(p),r.d(p,{ToggleModule:()=>A,component:()=>N});var C=r(177),i=r(467),g=r(9379),e=r(3953),f=r(3331),m=r(4404),c=r(8251);const T={content:"publication-type"};var v=r(610),y=r(6067),x=r(1210),h=r(8075),d=r(8909);function D(o,s){if(1&o){const l=e.RV6();e.j41(0,"div",1),e.bIt("click",function(){const n=e.eBV(l).$implicit,a=e.XpG(2);return e.Njj(a.setSelection(n))}),e.k0s()}if(2&o){const l=s.$implicit,t=e.XpG(2);e.AVh("selected",t.isSelected(l)),e.Y8G("storefrontTranslate",l.name)}}function G(o,s){if(1&o&&e.Z7z(0,D,1,3,"div",0,e.fX1),2&o){const l=e.XpG();e.Dyx(l.entries)}}let u=(()=>{var o;class s extends x.${constructor(){super(...arguments),this.route=(0,e.WQX)(f.nX),this.router=(0,e.WQX)(f.Ix),this.store=(0,e.WQX)(c.B),this.translate=(0,e.WQX)(y.D),this.defaultConfig=(0,g.A)({},T)}ngOnInit(){var t=this;return(0,i.A)(function*(){t.baseConfig.set((0,g.A)((0,g.A)({},t.defaultConfig),t.baseConfig())),t.entries=yield t.loadEntries(),t.store.subscribe(t.route.queryParams,n=>{const a=n[t.baseConfig().content];t.setSelection(a&&[...t.entries].find(B=>B.value===a)||t.entries[0])})})()}loadEntries(){var t=this;return(0,i.A)(function*(){return"publication-type"===t.baseConfig().content?[{name:"TOGGLE_PUBLICATION_TYPE_KIOSK",value:m.PublicationType.KIOSK},{name:"TOGGLE_PUBLICATION_TYPE_CHANNEL",value:m.PublicationType.CHANNEL}]:[]})()}setSelection(t){var n=this;return(0,i.A)(function*(){JSON.stringify(n.selection)!==JSON.stringify(t)&&(n.selection=t,n.store.dispatch((0,v.k4)({url:window.location.href,key:"toggle-".concat(n.baseConfig().content),params:{[n.baseConfig().content]:n.selection.value,["".concat(n.baseConfig().content,"-translated")]:yield n.translate.translate(n.selection.name)}})),(0,h.CV)(n.router,{[n.baseConfig().content]:n.selection.value}))})()}isSelected(t){return t===this.selection}}return(o=s).type="toggle",o.\u0275fac=(()=>{let l;return function(n){return(l||(l=e.xGo(o)))(n||o)}})(),o.\u0275cmp=e.VBU({type:o,selectors:[["storefront-toggle"]],standalone:!1,features:[e.Jv_([c.B]),e.Vt3],decls:1,vars:1,consts:[[1,"toggle-entry",3,"selected","storefrontTranslate"],[1,"toggle-entry",3,"click","storefrontTranslate"]],template:function(t,n){1&t&&e.DNE(0,G,2,0),2&t&&e.vxM(n.entries?0:-1)},dependencies:[d.M],styles:["storefront-toggle,.pxp-toggle{display:flex}storefront-toggle .toggle-entry,.pxp-toggle .toggle-entry{flex:1 1 0;text-align:center;padding:calc(var(--gutter) / 4) var(--gutter);white-space:nowrap}storefront-toggle .toggle-entry.selected,.pxp-toggle .toggle-entry.selected{background-color:var(--primaryColor)}\n"],encapsulation:2}),s})();const L=["class","pxp-toggle"];function _(o,s){if(1&o){const l=e.RV6();e.j41(0,"div",1),e.bIt("click",function(){const n=e.eBV(l).$implicit,a=e.XpG(2);return e.Njj(a.setSelection(n))}),e.k0s()}if(2&o){const l=s.$implicit,t=e.XpG(2);e.AVh("selected",t.isSelected(l)),e.Y8G("storefrontTranslate",l.name)}}function S(o,s){if(1&o&&e.Z7z(0,_,1,3,"div",0,e.fX1),2&o){const l=e.XpG();e.Dyx(l.entries)}}let X=(()=>{var o;class s extends u{}return(o=s).\u0275fac=(()=>{let l;return function(n){return(l||(l=e.xGo(o)))(n||o)}})(),o.\u0275cmp=e.VBU({type:o,selectors:[["div",8,"pxp-toggle"]],standalone:!1,features:[e.Jv_([c.B]),e.Vt3],attrs:L,decls:1,vars:1,consts:[[1,"toggle-entry",3,"selected","storefrontTranslate"],[1,"toggle-entry",3,"click","storefrontTranslate"]],template:function(t,n){1&t&&e.DNE(0,S,2,0),2&t&&e.vxM(n.entries?0:-1)},dependencies:[d.M],styles:["storefront-toggle,.pxp-toggle{display:flex}storefront-toggle .toggle-entry,.pxp-toggle .toggle-entry{flex:1 1 0;text-align:center;padding:calc(var(--gutter) / 4) var(--gutter);white-space:nowrap}storefront-toggle .toggle-entry.selected,.pxp-toggle .toggle-entry.selected{background-color:var(--primaryColor)}\n"],encapsulation:2}),s})(),A=(()=>{var o;class s{}return(o=s).\u0275fac=function(t){return new(t||o)},o.\u0275mod=e.$C({type:o}),o.\u0275inj=e.G2t({imports:[C.MD]}),s})();const N={component:u,leanDomComponent:X}}}]);
|