import{b as Rt}from"./chunk-CZ7PD7WP.js";import{a as ge,b as Et}from"./chunk-Q5IDMB6A.js";import{a as ae}from"./chunk-CZHAYDNV.js";import{d as It}from"./chunk-HSCUMLLK.js";import{a as le}from"./chunk-7TBY25KS.js";import{f as Bt}from"./chunk-LESNIYN5.js";import{Bb as xt,Cc as se,E as _t,Ec as ft,Fc as yt,Hc as Mt,Jc as Pt,N as R,Pa as Ct,Pd as vt,Ud as bt,X as mt,Xd as wt,jd as Ot,pe as St}from"./chunk-LTO7R56X.js";import{Ab as ht,Db as ut,G as st,K as at,L as lt,M as gt,g as rt,ga as pt,n as ct,oa as dt,zb as ce}from"./chunk-IWTLLIAK.js";import{Ca as re,Db as Ze,I as Ge,Ic as nt,Jc as ot,L as Xe,M as Q,O as Ke,Va as qe,Xc as it,eb as Je,f as We,gc as et,nc as j,oc as tt,va as ie}from"./chunk-I45SUNPP.js";import{$a as ue,$b as m,$c as C,Ae as ne,Ca as q,Cc as Z,D as ve,Da as Re,Dc as ee,E as be,Ec as te,Ed as Qe,Fc as U,Gc as N,Ha as b,Hb as l,Hc as _e,Ib as _,Ic as Ve,J as v,Je as oe,Oa as J,Pa as S,Pb as Ne,Qa as Te,U as we,Vb as Ae,Vc as O,W as Se,Wc as De,Xe as H,Ye,Z as Be,Za as x,_a as f,_c as d,a as K,ab as ke,ad as ze,bd as D,dc as a,f as fe,fc as X,g as M,gb as Ue,h as ye,hb as B,jc as E,kc as Le,lc as Fe,mc as $e,n as Me,nc as p,o as Pe,oc as u,pc as P,qc as $,rc as V,rd as He,ta as G,tc as w,v as F,vc as y,w as W,wa as k,wc as g,we as je,x as Oe,xa as Ie,ya as Ee,zb as I,ze as z}from"./chunk-NE7G2MZO.js";import{a as xe}from"./chunk-FMXN7DFR.js";function Yt(n,i){if(n&1&&(p(0,"ng-option",2),N(1),u()),n&2){let r=g().$implicit;a("value",r),l(),_e(r.name)}}function Wt(n,i){if(n&1&&m(0,Yt,2,2,"ng-option",3),n&2){let r=i.$implicit;a("ngIf",!!r.name)}}function Gt(n,i){n&1&&Fe(0,Wt,1,1,"ng-option",2,Le),n&2&&$e(i)}var Tt=(()=>{let i=class i{constructor(e,t){this.categoryNavigationService=e,this.changeDetection=t,this.selectedCategoryCode$=new M(null),this.categorySelected=new B,this.rootNavCategories$=new M(null),this.rootCategoriesRequested$=new M(!1),this.subscription=new K}ngOnInit(){this.subscription.add(this.selectedCategoryCode$.pipe(k(e=>{e||(this.currentCategory=null,this.categorySelected.emit(null),this.changeDetection.detectChanges())}),v(Boolean),G(e=>this.categoryNavigationService.getRootMainNavigationCategories().pipe(F(t=>({rootCategories:t,selectedCategory:e})))),v(e=>!!e?.rootCategories?.length)).subscribe(e=>{let t=e?.rootCategories.find(o=>o.code===e?.selectedCategory);t&&(this.currentCategory=t,this.categorySelected.emit(t)),this.rootCategoriesRequested$.next(!0),this.rootNavCategories$.next(e.rootCategories),this.changeDetection.detectChanges()})),this.subscription.add(this.rootCategoriesRequested$.pipe(v(Boolean),G(e=>this.categoryNavigationService.getRootMainNavigationCategories()),v(e=>!!e?.length)).subscribe(e=>{this.rootNavCategories$.next(e)}))}setCurrentCategory(e){this.currentCategory=e.code?e:null,this.categorySelected.emit(this.currentCategory)}categorySelectorClicked(){this.rootCategoriesRequested$.value||this.rootCategoriesRequested$.next(!0)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}};i.\u0275fac=function(t){return new(t||i)(_(It),_(He))},i.\u0275cmp=S({type:i,selectors:[["ung-first-level-category-selector"]],inputs:{selectedCategoryCode$:"selectedCategoryCode$"},outputs:{categorySelected:"categorySelected"},decls:8,vars:13,consts:[[1,"category-selector"],[1,"category-selector__dropdown",3,"change","click","searchable","clearable","placeholder","ngModel"],[3,"value"],[3,"value",4,"ngIf"]],template:function(t,o){if(t&1&&(p(0,"div",0)(1,"ng-select",1),d(2,"ungSsrAwareTranslate"),y("change",function(s){return o.setCurrentCategory(s)})("click",function(){return o.categorySelectorClicked()}),p(3,"ng-option",2),N(4),d(5,"ungSsrAwareTranslate"),u(),m(6,Gt,2,0),d(7,"async"),u()()),t&2){let c;l(),a("searchable",!1)("clearable",!1)("placeholder",C(2,7,"searchBox.selectCategoryPlaceholder"))("ngModel",o.currentCategory),l(2),a("value",0),l(),_e(C(5,9,"searchBox.selectCategoryPlaceholder")),l(2),E(6,(c=C(7,11,o.rootNavCategories$))?6:-1,c)}},dependencies:[ne,lt,at,rt,ct,oe,le],styles:["[_ngcontent-%COMP%]:root{--cx-color-background: #f5f5f5;--cx-color-text: #292929;--cx-color-inverse: #fff;--cx-color-transparent: transparent;--cx-color-primary: #e3131b;--cx-color-secondary: #fe6400;--cx-color-tertiary: #366ac4;--cx-color-success: #019a5f;--cx-color-info: #5389e6;--cx-color-warning: #ffb300;--cx-color-danger: #ff3100;--cx-color-light: #f5f5f5;--cx-color-dark: #292929;--cx-color-visual-focus: #5389e6;--cx-color-middle-grey: #4c4e4e;--cx-color-nav-dark: #0e0e0e;--cx-color-nav-grey: #a8a8a8;--cx-color-border-red: #eb0011;--cx-color-dark-hover: #e6e6e6}@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}.category-selector__category-label[_ngcontent-%COMP%]{letter-spacing:.14px;color:#414141;font-weight:400}.category-selector__category-option[_ngcontent-%COMP%]{font-size:.875rem;font-weight:400;color:#4c4e4e;line-height:16px}.ng-select.category-selector__dropdown[_ngcontent-%COMP%]{min-width:80px;border:1px solid #bfbfbf;background:#fff}.ng-select.category-selector__dropdown.ng-select-opened[_ngcontent-%COMP%]{border:1px solid #000}.ng-select.category-selector__dropdown.ng-select-opened[_ngcontent-%COMP%]     .ng-select-container{border-radius:4px 0 0;background:#fff}.ng-select.category-selector__dropdown.ng-select-opened[_ngcontent-%COMP%]     .ng-select-container   .ng-value-container{background:#fff}.ng-select.category-selector__dropdown.ng-select-opened[_ngcontent-%COMP%]     .ng-select-container   .ng-value-container   .ng-placeholder{background:#fff}.ng-select.category-selector__dropdown[_ngcontent-%COMP%]     .ng-select-container{background:#f5f5f5;font-size:.875rem;border:none;width:fit-content}.ng-select.category-selector__dropdown[_ngcontent-%COMP%]     .ng-select-container .ng-placeholder{color:#414141;font-weight:400}@media (min-width: 360px){.ng-select.category-selector__dropdown[_ngcontent-%COMP%]     .ng-select-container .ng-arrow-wrapper{height:37px}}.ng-select.category-selector__dropdown[_ngcontent-%COMP%]     .ng-select-container .ng-value-container{padding:0 12px}.ng-select.category-selector__dropdown[_ngcontent-%COMP%]     .ng-select-container .ng-value-container .ng-value{letter-spacing:.14px;color:#414141;font-weight:400}.ng-select.category-selector__dropdown[_ngcontent-%COMP%]     .ng-dropdown-panel{width:fit-content}.ng-select.category-selector__dropdown[_ngcontent-%COMP%]     .ng-dropdown-panel .ng-dropdown-panel-items{max-height:65vh;scrollbar-width:none;-ms-overflow-style:none}.ng-select.category-selector__dropdown[_ngcontent-%COMP%]     .ng-dropdown-panel .ng-dropdown-panel-items::-webkit-scrollbar{width:0px!important}.ng-select.category-selector__dropdown[_ngcontent-%COMP%]     .ng-dropdown-panel .ng-dropdown-panel-items::-webkit-scrollbar{display:0px!important}.ng-select.category-selector__dropdown[_ngcontent-%COMP%]     .ng-dropdown-panel .ng-option{padding:5px 13px;font-size:.875rem;font-weight:400;color:#4c4e4e;line-height:16px}"],changeDetection:0});let n=i;return n})();var Kt="has-searchbox-results",qt=/^https?:\/\//i,de=(()=>{let i=class i extends ce{constructor(e,t,o,c,s){super(e,t,o,c,s),this.searchService=e,this.routingService=t,this.translationService=o,this.winRef=c,this.eventService=s}getResults(e){return W([this.getProductResults(e),this.getSearchMessage(e)]).pipe(F(([t,o])=>({products:t?t.products:null,message:o,categories:this.getCategorySuggestions(t),keywordRedirectUrl:t.keywordRedirectUrl,iskeywordRedirectUrlExternal:this.isExternalUrl(t.keywordRedirectUrl),freetextSearch:t?.freeTextSearch})),k(t=>this.toggleBodyClass(Kt,this.hasResults(t))))}getCategorySuggestions(e){let t=e?.facets?.find(c=>c.code==="fCategory"),o=i.getThirdLevelCategories(t?.feCategory);return t?.values?.filter(c=>o?.find(s=>s.code===c.code))?.sort((c,s)=>o?.find(h=>h.code===c.code).order-o?.find(h=>h.code===s.code).order)??null}static getThirdLevelCategories(e){return e?.code==="SEARCH"?e?.children.map(t=>t.children).flat().map(t=>t.children).flat():e?.children.map(t=>t.children).flat()}isExternalUrl(e){return typeof e=="string"&&qt.test(e)}};i.\u0275fac=function(t){return new(t||i)(b(it),b(re),b(et),b(ie),b(Je))},i.\u0275prov=q({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();function kt(n,i){return n!==void 0?n:i}var he=(()=>{let i=class i{constructor(e,t){this.http=e,this.occEndpointsService=t}fetchProductCategoriesSuggestionsByName(e){let t=this.occEndpointsService.buildUrl("getProductCategoriesSuggestionsByName",{queryParams:{searchQuery:e}});return this.http.get(t)}fetchProductCategoriesSuggestionsByProductRelevance(e){let t=this.occEndpointsService.buildUrl("getProductCategoriesSuggestionsByProductRelevance",{queryParams:{searchQuery:e}});return this.http.get(t)}};i.\u0275fac=function(t){return new(t||i)(b(We),b(qe))},i.\u0275prov=q({token:i,factory:i.\u0275fac,providedIn:"root"});let n=i;return n})();var en=n=>({code:n}),tn=n=>({cxRoute:"category",params:n});function nn(n,i){if(n&1&&(p(0,"a",3),d(1,"cxUrl"),P(2,"span",4),d(3,"sanitizeHtml"),P(4,"span",5),d(5,"sanitizeHtml"),u()),n&2){let r=i.$implicit,e=g(2);a("routerLink",C(1,3,O(11,tn,O(9,en,r==null?null:r.categoryCode)))),l(2),a("innerHTML",C(3,5,e.svgIcon),I),l(2),a("innerHTML",C(5,7,r!=null&&r.categoryNameHighlighted?r.categoryNameHighlighted:r==null?null:r.categoryName),I)}}function on(n,i){if(n&1){let r=w();p(0,"div",1),y("mousedown",function(){x(r);let t=g();return f(t.disableClose())}),m(1,nn,6,13,"a",2),d(2,"slice"),u()}if(n&2){let r=g();l(),a("ngForOf",D(2,1,r.results,0,r.elementsToPrint))}}var At=(()=>{let i=class i{set setSearchQuery(e){e&&this.categorySuggestionService.fetchProductCategoriesSuggestionsByName(e).subscribe(t=>{this.results=t,this.categorySuggestionsByName.emit(t)})}constructor(e){this.categorySuggestionService=e,this.disableCloseEvent=new B,this.categorySuggestionsByName=new B}disableClose(){this.disableCloseEvent.emit()}};i.\u0275fac=function(t){return new(t||i)(_(he))},i.\u0275cmp=S({type:i,selectors:[["ung-category-by-name-search-box"]],inputs:{setSearchQuery:[J.None,"searchQuery","setSearchQuery"],svgIcon:"svgIcon",query:"query",elementsToPrint:"elementsToPrint"},outputs:{disableCloseEvent:"disableCloseEvent",categorySuggestionsByName:"categorySuggestionsByName"},decls:1,vars:1,consts:[[1,"searchbox-suggestions","test"],[1,"searchbox-suggestions","test",3,"mousedown"],[3,"routerLink",4,"ngFor","ngForOf"],[3,"routerLink"],[1,"icons",3,"innerHTML"],[3,"innerHTML"]],template:function(t,o){t&1&&m(0,on,3,5,"div",0),t&2&&E(0,o.results&&(o.results==null?null:o.results.length)>0?0:-1)},dependencies:[z,Q,H,j,ge],styles:["@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}[_ngcontent-%COMP%]:root{--cx-color-background: #f5f5f5;--cx-color-text: #292929;--cx-color-inverse: #fff;--cx-color-transparent: transparent;--cx-color-primary: #e3131b;--cx-color-secondary: #fe6400;--cx-color-tertiary: #366ac4;--cx-color-success: #019a5f;--cx-color-info: #5389e6;--cx-color-warning: #ffb300;--cx-color-danger: #ff3100;--cx-color-light: #f5f5f5;--cx-color-dark: #292929;--cx-color-visual-focus: #5389e6;--cx-color-middle-grey: #4c4e4e;--cx-color-nav-dark: #0e0e0e;--cx-color-nav-grey: #a8a8a8;--cx-color-border-red: #eb0011;--cx-color-dark-hover: #e6e6e6}[_nghost-%COMP%]  .found-search-text{font-weight:700}a[_ngcontent-%COMP%]{padding:6px 13px 8px;font-size:14px;line-height:16px!important;font-weight:400;color:#4c4e4e;border-top:none!important}a[_ngcontent-%COMP%]:hover, a.active[_ngcontent-%COMP%]{background-color:#f5f5f5;text-decoration:none}a[_ngcontent-%COMP%]:invalid{background-color:#fff}.searchbox-suggestions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;list-style:none;padding-inline-start:0;margin:10px 0}.searchbox-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .searchbox-suggestions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{flex:100%;line-height:2rem;display:block;overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap}@media (max-width: 991.98px){.searchbox-suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .searchbox-suggestions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding-top:15px;margin-bottom:-5px}}.searchbox-suggestions[_ngcontent-%COMP%]   .icons[_ngcontent-%COMP%]{padding-right:10px}"]});let n=i;return n})();var cn=n=>({query:n}),sn=n=>({cxRoute:"search",params:n}),an=n=>({term:n});function ln(n,i){if(n&1&&(p(0,"a",3),d(1,"cxUrl"),P(2,"span",4),d(3,"sanitizeHtml"),P(4,"span",5),d(5,"cxTranslate"),p(6,"span",6),N(7),u()()),n&2){let r=i.$implicit,e=g(2);a("routerLink",C(1,4,O(13,sn,O(11,cn,r==null?null:r.categoryFilterQuery)))),l(2),a("innerHTML",C(3,6,e.svgIcon),I),l(2),a("innerHTML",ze(5,8,"searchBox.category",O(15,an,"<strong>"+e.keyboardQuery+"</strong>")),I),l(3),Ve(" ",r==null?null:r.categoryName," ")}}function gn(n,i){if(n&1){let r=w();p(0,"div",1),y("mousedown",function(){x(r);let t=g();return f(t.disableClose())}),m(1,ln,8,17,"a",2),d(2,"slice"),u()}if(n&2){let r=g();l(),a("ngForOf",D(2,1,r.results,0,r.elementsToPrint))}}var Lt=(()=>{let i=class i{set setSearchQuery(e){e&&this.categorySuggestionService.fetchProductCategoriesSuggestionsByProductRelevance(e).subscribe(t=>{this.results=t,this.categorySuggestionsByRelevance.emit(t)})}constructor(e){this.categorySuggestionService=e,this.disableCloseEvent=new B,this.categorySuggestionsByRelevance=new B}disableClose(){this.disableCloseEvent.emit()}};i.\u0275fac=function(t){return new(t||i)(_(he))},i.\u0275cmp=S({type:i,selectors:[["ung-category-by-product-relevance-search-box"]],inputs:{setSearchQuery:[J.None,"searchQuery","setSearchQuery"],svgIcon:"svgIcon",keyboardQuery:"keyboardQuery",elementsToPrint:"elementsToPrint",query:"query"},outputs:{disableCloseEvent:"disableCloseEvent",categorySuggestionsByRelevance:"categorySuggestionsByRelevance"},decls:1,vars:1,consts:[[1,"categories","test"],[1,"categories","test",3,"mousedown"],[3,"routerLink",4,"ngFor","ngForOf"],[3,"routerLink"],[1,"icons",3,"innerHTML"],[1,"category-text",3,"innerHTML"],[1,"category-name"]],template:function(t,o){t&1&&m(0,gn,3,5,"div",0),t&2&&E(0,o.results&&(o.results==null?null:o.results.length)>0?0:-1)},dependencies:[z,Q,H,j,nt,ge],styles:["@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}[_ngcontent-%COMP%]:root{--cx-color-background: #f5f5f5;--cx-color-text: #292929;--cx-color-inverse: #fff;--cx-color-transparent: transparent;--cx-color-primary: #e3131b;--cx-color-secondary: #fe6400;--cx-color-tertiary: #366ac4;--cx-color-success: #019a5f;--cx-color-info: #5389e6;--cx-color-warning: #ffb300;--cx-color-danger: #ff3100;--cx-color-light: #f5f5f5;--cx-color-dark: #292929;--cx-color-visual-focus: #5389e6;--cx-color-middle-grey: #4c4e4e;--cx-color-nav-dark: #0e0e0e;--cx-color-nav-grey: #a8a8a8;--cx-color-border-red: #eb0011;--cx-color-dark-hover: #e6e6e6}a[_ngcontent-%COMP%]{padding:6px 13px 8px;font-size:14px;line-height:16px!important;font-weight:400;color:#4c4e4e;border-top:none!important}a[_ngcontent-%COMP%]:hover, a.active[_ngcontent-%COMP%]{background-color:#f5f5f5;text-decoration:none}a[_ngcontent-%COMP%]:invalid{background-color:#fff}.categories[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;list-style:none;padding-inline-start:0;border-bottom:1px solid #d0d0d0;margin:5px 0}.categories[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .categories[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{flex:100%;line-height:2rem;display:block;overflow:hidden;text-overflow:ellipsis;max-width:100%;white-space:nowrap}@media (max-width: 991.98px){.categories[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], .categories[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{margin-bottom:-5px}}.categories[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{font-weight:700}.category-name[_ngcontent-%COMP%]{height:42px;font-weight:700}@media (max-width: 991.98px){.category-name[_ngcontent-%COMP%]{height:20px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:5px 0;padding-left:25px}}.category-text[_ngcontent-%COMP%]{padding-right:5px}.icons[_ngcontent-%COMP%]{padding-right:10px}"]});let n=i;return n})();var dn=["searchBox"],Ft=["searchInput"],hn=n=>({"searchbox--rounded":n}),un=n=>({code:n}),_n=n=>({cxRoute:"product",params:n}),mn=(n,i)=>({model:n,facetLoad:i});function Cn(n,i){if(n&1){let r=w();p(0,"ung-category-by-name-search-box",18),y("disableCloseEvent",function(){x(r);let t=g(3);return f(t.disableClose())})("categorySuggestionsByName",function(t){x(r);let o=g(3);return f(o.updateCategorySuggestionsByName(t))}),N(1," >"),u(),p(2,"ung-category-by-product-relevance-search-box",19),d(3,"async"),y("disableCloseEvent",function(){x(r);let t=g(3);return f(t.disableClose())})("categorySuggestionsByRelevance",function(t){x(r);let o=g(3);return f(o.updateCategorySuggestionsByRelevance(t))}),u()}if(n&2){let r=g().ngIf,e=g(2);a("searchQuery",r)("svgIcon",e.searchBoxIcons==null||e.searchBoxIcons.productByCategoryNameIcon==null?null:e.searchBoxIcons.productByCategoryNameIcon.svgIcon)("elementsToPrint",e.NUMBER_ITEMS_TO_PRINT),l(2),a("searchQuery",r)("svgIcon",e.searchBoxIcons==null||e.searchBoxIcons.productsByCategoryRelevanceIcon==null?null:e.searchBoxIcons.productsByCategoryRelevanceIcon.svgIcon)("keyboardQuery",C(3,7,e.keyboardQuery))("elementsToPrint",e.NUMBER_ITEMS_TO_PRINT)}}function xn(n,i){if(n&1&&($(0),m(1,Cn,4,9),V()),n&2){let r=g(2);l(),E(1,r.isComponentVisible?1:-1)}}function fn(n,i){if(n&1&&P(0,"ung-image-wrapper",27),n&2){let r=g().$implicit,e=g(3);a("container",r.images==null?null:r.images.PRIMARY)("loadAnimation",!1)("imgSizes",e.searchBoxContent.sizes)("breakpoints",e.searchBoxContent.breakpoints)("alt",r.summary)("fetchpriority","low")("imageLoading","lazy")}}function yn(n,i){if(n&1&&(p(0,"a",22),d(1,"cxUrl"),m(2,fn,1,7,"ung-image-wrapper",23),p(3,"div",24)(4,"div",25),P(5,"p",26),u()()()),n&2){let r=i.$implicit,e=g(3);X("has-media",e.config.displayProductImages),a("routerLink",C(1,5,O(9,_n,O(7,un,r.code)))),l(2),a("ngIf",e.config.displayProductImages),l(3),a("innerHTML",r.nameHtml,I)}}function Mn(n,i){if(n&1){let r=w();p(0,"div",20),y("mousedown",function(){x(r);let t=g(2);return f(t.disableClose())}),m(1,yn,6,11,"a",21),d(2,"slice"),u()}if(n&2){let r=g().ngIf,e=g();l(),a("ngForOf",D(2,1,r.products,0,e.NUMBER_ITEMS_TO_PRINT))}}function Pn(n,i){if(n&1){let r=w();p(0,"div",15),y("click",function(t){x(r);let o=g(),c=U(6);return f(o.closeFlyoutAndClear(t,c))}),m(1,xn,2,1,"ng-container",16),d(2,"async"),m(3,Mn,3,5,"div",17),u()}if(n&2){let r=i.ngIf,e=g();X("results",(r.products==null?null:r.products.length)||(e.categorySuggestionsByName==null?null:e.categorySuggestionsByName.length)||(e.categorySuggestionsByRelevance==null?null:e.categorySuggestionsByRelevance.length)),l(),a("ngIf",C(2,4,e.searchQuery$)),l(2),a("ngIf",r.products==null?null:r.products.length)}}function On(n,i){if(n&1&&(p(0,"div"),P(1,"ung-product-list-display-options",29),u()),n&2){let r=i.ngIf,e=g(2).ngIf;l(),a("viewMode",r)("model",e.model)}}function vn(n,i){if(n&1&&($(0),p(1,"div",28),m(2,On,2,2,"div",16),d(3,"async"),u(),V()),n&2){let r=g(4);l(2),a("ngIf",C(3,1,r.viewMode$))}}function bn(n,i){if(n&1&&($(0),m(1,vn,4,3,"ng-container",16),V()),n&2){let r=i.ngIf;l(),a("ngIf",r.facetLoad&&(r.model==null||r.model.facets==null?null:r.model.facets.length))}}function wn(n,i){if(n&1&&($(0),m(1,bn,2,1,"ng-container",16),d(2,"async"),d(3,"async"),V()),n&2){let r=g(2);l(),a("ngIf",De(5,mn,C(2,1,r.model$),C(3,3,r.facetLoad$)))}}function Sn(n,i){if(n&1&&($(0),m(1,wn,4,8,"ng-container",16),d(2,"async"),V()),n&2){let r=g();l(),a("ngIf",C(2,1,r.showPlpOptionsBar$))}}var A=function(n){return n.PRODUCTS_BY_CATEGORY_NAME="productsByCategoryName",n.PRODUCTS_BY_CATEGORY_RELEVANCE="productsByCategoryRelevance",n.PRODUCTS="products",n}(A||{}),$t=(()=>{let i=class i extends ht{constructor(e,t,o,c,s,h,L,Vt,Ce,Dt,zt,Ht,Qt){super(e,t,o,Ce),this.searchBoxComponentService=e,this._document=c,this.isBrowser=s,this.renderer=h,this.breakpointService=L,this.productListComponentService=Vt,this.routingService=Ce,this.deviceDetectorService=Dt,this.activatedRoute=zt,this.router=Ht,this.elementRef=Qt,this.isOpen=!1,this.ignoreCloseEventUng=!1,this.scrolledAmount=0,this.viewMode$=new M(ut.Grid),this.selectedCategoryCode$=new M(null),this.category$=new M(null),this.categorySuggestionsByName=[],this.categorySuggestionsByRelevance=[],this.results$=W([this.config$.pipe(G(T=>this.searchBoxComponentService.getResults(T)),k(T=>{this.keywordRedirect={url:T.keywordRedirectUrl,isExternal:T.iskeywordRedirectUrlExternal,freeTextSearch:T?.freetextSearch}}))]).pipe(F(([T])=>xe({},T))),this.breakpoint=se,this.searchBoxContent=Ct.searchBoxContent,this.searchBoxIcons=mt,this.waitForSearchTime=new M(!1),this.keydownEvents$=new fe,this.keyboardQuery=new M(""),this.keydownEventsSubscription=null,this.activeIndex$=new M(-1),this.searchQuery$=new M(""),this.searchInCategoryReplaySubject=new ye(1),this.inputValue="",this.isComponentVisible=!0,this.NUMBER_ITEMS_TO_PRINT=3,this.eventSubscription=new K,this.HANDLED_KEYS=["ArrowDown","ArrowUp"]}ngOnInit(){this.isBrowser&&(this.mobileFacetLoad(),this.renderer.addClass(this._document.body,R.SEARCHBOX_AVAILABLE),this.showPlpOptionsBar$=this.productListComponentService.getOptionsBarVisibility(),be(()=>!!this.winRef.nativeWindow,Me(["scroll","resize"]).pipe(Oe(o=>ve(this.winRef.nativeWindow,o)),Ie(30)),Pe(null))?.pipe(v(o=>!!o)).subscribe(()=>{this.scrollHandler()}).unsubscribe(),this.eventSubscription.add(this.category$.subscribe(o=>{this.selectedCategoryCode=o?.code})),this.eventSubscription.add(W([this.deviceDetectorService.isMobileDependsOnPlatform(se.md).pipe(v(o=>!o)),this.routingService.getPageContext()]).subscribe(([o,c])=>{if(c.type==="CategoryPage")this.selectedCategoryCode$.next(c.id);else if(c.id!=="search"){let s=this.searchInput?.nativeElement;s&&this.clearWithoutFocus(s),this.selectedCategoryCode$.next(null)}})),this.searchInCategoryReplaySubject.pipe(k(o=>this.waitForSearchTime.next(!0)),we(250)).subscribe(o=>{this.selectedCategoryCode&&o?this.search(`${o}:relevance:allCategories:${this.selectedCategoryCode}`):this.search(o),this.searchQuery$.next(o),this.waitForSearchTime.next(!1)}),this.activeIndexSubscription=this.activeIndex$.subscribe(o=>{o!==null?this.setActiveIndex(o):this.setActiveIndex(-1)}))}searchInCategory(e){this.keyboardQuery.next(e),this.inputValue=e,e&&this.searchInCategoryReplaySubject.next(e)}scrollHandler(){let e=this.searchBox.nativeElement.parentElement.parentElement,t=this.winRef.nativeWindow,o=t?.innerWidth<this.breakpointService.getSize(se.sm),c=t?.innerHeight+t?.scrollY>=this._document.body.scrollHeight,s=this.scrolledAmount<t?.pageYOffset&&this.scrolledAmount>_t;o&&!c?(s?this.hideSearchBox(e):this.showSearchBox(e),this.scrolledAmount=t?.pageYOffset):this.showSearchBox(e)}hideSearchBox(e){e&&this.renderer.addClass(e,R.SEARCHBOX_HIDDEN)}showSearchBox(e){e&&this.renderer.removeClass(e,R.SEARCHBOX_HIDDEN)}open(){this.isComponentVisible=!0,this.activeIndex$.next(-1),this.keydownEventsSubscription||(this.keydownEventsSubscription=this.keydownEvents$.pipe(Ee(this.results$)).subscribe(([e,t])=>{this.handleKeyboardNavigation(e,t);let{search:o,input:c}=this.getSearchParams(t);this.setInputValue(o,c)})),this.searchBoxComponentService.toggleBodyClass(R.ACTIVE_SEARCHBOX,!0),this.isOpen=!0,this.searchBoxComponentService.toggleBodyClass("body-no-scroll",!0)}openAndUpdateResults(e){this.searchBoxComponentService.toggleBodyClass(R.ACTIVE_SEARCHBOX,!0),this.isOpen=!0,this.searchBoxComponentService.toggleBodyClass("body-no-scroll",!0),this.searchInCategory(e)}close(e){this.keydownEventsSubscription&&(this.keydownEventsSubscription.unsubscribe(),this.keydownEventsSubscription=null),this.ignoreCloseEventUng||(this.searchBoxComponentService.toggleBodyClass(R.ACTIVE_SEARCHBOX,!1),e&&e.target&&e.target.blur()),this.ignoreCloseEventUng=!1,this.isOpen=!1,this.searchBoxComponentService.toggleBodyClass("body-no-scroll",!1)}clearWithoutFocus(e){e.value="",this.searchBoxComponentService.clearResults(),this.isComponentVisible=!1}closeFlyoutAndClear(e,t){this.close(e),this.clearWithoutFocus(t)}disableClose(){this.ignoreCloseEventUng=!0}launchSearchResults(e,t,o){this.waitForSearchTime.pipe(v(c=>!c),Se(1)).subscribe(c=>{this.doRedirectCloseAndClearFlyout(e,t,o)})}doRedirectCloseAndClearFlyout(e,t,o){let c=this.getRouteFromQuery(o);if(c)this.router.navigate([c]),this.closeFlyoutAndClear(e,t);else if(this.keywordRedirect?.url&&this.keywordRedirect?.freeTextSearch===this.keyboardQuery.value){this.redirectToKeywordUrl(this.keywordRedirect),this.closeFlyoutAndClear(e,t);return}else{if(!o||o.trim().length===0)return;let s=this.selectedCategoryCode?`${o}:relevance:allCategories:${this.selectedCategoryCode}`:o;this.searchBoxComponentService.launchSearchPage(s)}this.closeFlyoutAndClear(e,t)}getRouteFromQuery(e){return e?.code?"p/"+e?.code:e?.categoryNameHighlighted?"c/"+e.categoryCode:e?.categoryFilterQuery?"search/"+e?.categoryFilterQuery:null}redirectToKeywordUrl(e){e?.isExternal?this.winRef.nativeWindow.open(e.url,"_blank"):this.router.navigate([e.url],{relativeTo:this.activatedRoute})}mobileFacetLoad(){this.productListComponentService.setLoadFacets(!1),this.facetLoad$=this.productListComponentService.getLoadFacets().pipe(Be(0)),this.viewMode$=this.productListComponentService.viewMode$,this.productListComponentService.clearSearchResults(),this.model$=this.productListComponentService.model$}getNewIndex(e,t){switch(e){case"ArrowDown":return t[(t.indexOf(this.activeIndex$.value)+1)%t.length];case"ArrowUp":return t[(t.indexOf(this.activeIndex$.value)-1+t.length)%t.length]}}handleKeyboardNavigation(e,t){if(!this.HANDLED_KEYS.includes(e.key))return;let o=this.getValidIndexes(t);if(!o.length)return;let c=o.includes(this.activeIndex$.value)?this.activeIndex$.value:o[0]-1,s=this.getNewIndex(e.key,o);this.activeIndex$.next(kt(s,c))}getValidIndexes(e){return[{list:this.categorySuggestionsByName,start:0},{list:this.categorySuggestionsByRelevance,start:this.NUMBER_ITEMS_TO_PRINT},{list:e.products,start:this.NUMBER_ITEMS_TO_PRINT*2}].flatMap(({list:o,start:c})=>Array.from({length:Math.min(o?.length||0,this.NUMBER_ITEMS_TO_PRINT)},(s,h)=>c+h))}setActiveIndex(e){let t=this.elementRef.nativeElement.querySelectorAll(".searchbox-suggestions a"),o=this.elementRef.nativeElement.querySelectorAll(".categories a"),c=this.elementRef.nativeElement.querySelectorAll(".products a");if([...t,...o,...c].forEach(s=>s.classList.remove("active")),e<this.NUMBER_ITEMS_TO_PRINT)t[e]&&t[e].classList.add("active");else if(e>=this.NUMBER_ITEMS_TO_PRINT&&e<this.NUMBER_ITEMS_TO_PRINT*2){let s=e-this.NUMBER_ITEMS_TO_PRINT;o[s]&&o[s].classList.add("active")}else if(e>=this.NUMBER_ITEMS_TO_PRINT*2){let s=e-this.NUMBER_ITEMS_TO_PRINT*2;c[s]&&c[s].classList.add("active")}}updateCategorySuggestionsByName(e){this.categorySuggestionsByName=e}updateCategorySuggestionsByRelevance(e){this.categorySuggestionsByRelevance=e}currentEntriesSection(){return this.activeIndex$.value<=2?A.PRODUCTS_BY_CATEGORY_NAME:this.activeIndex$.value<=5?A.PRODUCTS_BY_CATEGORY_RELEVANCE:A.PRODUCTS}ngOnDestroy(){this.eventSubscription&&this.eventSubscription.unsubscribe(),this.activeIndexSubscription&&this.activeIndexSubscription.unsubscribe(),this.renderer.removeClass(this._document.body,R.SEARCHBOX_AVAILABLE),this.productListComponentService.saveViewMode()}setInputValue(e,t){!e||!t||(this.searchInputRef.nativeElement.value=e,this.inputValue=t)}getSearchParams(e){switch(this.currentEntriesSection()){case A.PRODUCTS_BY_CATEGORY_NAME:return{search:this.categorySuggestionsByName[this.activeIndex$.value]?.categoryName,input:this.categorySuggestionsByName[this.activeIndex$.value]};case A.PRODUCTS_BY_CATEGORY_RELEVANCE:let o=this.categorySuggestionsByRelevance[this.activeIndex$.value-3];return{search:this.keyboardQuery.value,input:o};case A.PRODUCTS:let c=e.products[this.activeIndex$.value-6];return{search:this.keyboardQuery.value,input:c}}}};i.\u0275fac=function(t){return new(t||i)(_(de),_(dt),_(ie),_(Qe),_(xt),_(Ne),_(ft),_(Bt),_(re),_(yt),_(Ge),_(Xe),_(Ue))},i.\u0275cmp=S({type:i,selectors:[["ung-searchbox"]],viewQuery:function(t,o){if(t&1&&(Z(dn,5),Z(Ft,5),Z(Ft,7)),t&2){let c;ee(c=te())&&(o.searchBox=c.first),ee(c=te())&&(o.searchInput=c.first),ee(c=te())&&(o.searchInputRef=c.first)}},features:[Ae],decls:17,vars:15,consts:[["searchBox",""],["searchInput",""],[1,"category"],[3,"categorySelected","selectedCategoryCode$"],[1,"searchbar"],[1,"searchbox",3,"ngClass"],["type","search","data-cy","cypress-searchbox","aria-label","search",3,"focus","blur","keydown.escape","input","keydown","keydown.enter","placeholder"],["aria-label","search",1,"search","c-pointer",3,"mousedown"],["viewBox","0 0 32 32",1,"icon","searchbox__icon"],["d","M29.841 26.374l-5.6-5.6c3.867-5.733 2.267-13.333-3.467-17.2s-13.333-2.267-17.2 3.467c-3.867 5.733-2.267 13.333 3.467 17.2 4.133 2.8 9.6 2.8 13.733 0l5.6 5.6c0.933 0.933 2.533 0.933 3.467 0s0.933-2.533 0-3.467zM13.841 5.040c4.8 0 8.8 3.867 8.8 8.8s-3.867 8.8-8.8 8.8c-4.8 0-8.8-3.867-8.8-8.8 0-4.8 4-8.8 8.8-8.8v0z"],[1,"header__arrow"],["viewBox","0 0 59 32","width","100%","height","55%",1,"icon","icon-header-arrow"],["d","M56.605 34.862v0l-0.222-3.522c-0.069 1.216-0.653 2.283-1.535 2.996l-0.008 0.006c-1.801 1.547-13.438 6.013-27.257-6.429-1.937-1.8-3.638-3.81-5.080-6.005l-0.076-0.123c-0.238-0.371-0.648-0.613-1.114-0.613-0.251 0-0.485 0.070-0.685 0.191l0.006-0.003-6.492 4.235 0.205-19.204 17.904 7.829-1.051 0.674-0.119 0.059-2.177 1.333q-1.035 0.607-2.066 1.237c-0.439 0.273-0.727 0.754-0.727 1.301 0 0.292 0.082 0.564 0.223 0.796l-0.004-0.007c1.226 2.027 5.688 6.275 8.257 8.647 0.473 0.439 1.109 0.708 1.807 0.708 0.721 0 1.375-0.287 1.854-0.752l-0.001 0.001c0.498-0.485 0.807-1.162 0.807-1.911 0-0.768-0.325-1.461-0.845-1.947l-0.002-0.001-1.567-1.458c-2.159-2.016-3.569-3.436-3.831-3.73l2.923-1.632c1.123-0.737 1.854-1.99 1.854-3.414 0-0.118-0.005-0.235-0.015-0.351l0.001 0.015c-0.103-1.522-1.040-2.803-2.355-3.397l-0.025-0.010-19.954-8.723c-0.451-0.201-0.976-0.318-1.53-0.318-0.928 0-1.78 0.33-2.443 0.879l0.006-0.005c-0.909 0.746-1.486 1.867-1.493 3.123v0.001l-0.225 21.239c-0.002 0.043-0.003 0.094-0.003 0.145 0 1.862 1.229 3.437 2.92 3.958l0.029 0.008c0.295 0.083 0.634 0.131 0.985 0.131 0.726 0 1.403-0.205 1.979-0.561l-0.016 0.009 2.777-1.67 0.095-0.104 1.106-0.793c0.643 0.729 1.337 1.456 2.074 2.222l0.099 0.104 1.257 1.317c0.29 0.321 3.333 3.752 9.339 6.648 2.88 1.406 6.222 2.442 9.74 2.931l0.176 0.020c6.211 0.868 10.059 0 12.49-1.771 1.225-0.908 2.011-2.348 2.011-3.973 0-0.119-0.004-0.237-0.013-0.354l0.001 0.016z"],[3,"results","click",4,"ngIf"],[4,"isMobileDependsOnPlatform"],[3,"click"],[4,"ngIf"],["class","products",3,"mousedown",4,"ngIf"],[3,"disableCloseEvent","categorySuggestionsByName","searchQuery","svgIcon","elementsToPrint"],[3,"disableCloseEvent","categorySuggestionsByRelevance","searchQuery","svgIcon","keyboardQuery","elementsToPrint"],[1,"products",3,"mousedown"],["class","py-lg-0",3,"routerLink","has-media",4,"ngFor","ngForOf"],[1,"py-lg-0",3,"routerLink"],["class","text-center",3,"container","loadAnimation","imgSizes","breakpoints","alt","fetchpriority","imageLoading",4,"ngIf"],[1,"d-flex","flex-wrap"],[1,"pr-4","pl-0","col-lg-12"],[1,"name",3,"innerHTML"],[1,"text-center",3,"container","loadAnimation","imgSizes","breakpoints","alt","fetchpriority","imageLoading"],[1,"plp"],[3,"viewMode","model"]],template:function(t,o){if(t&1){let c=w();p(0,"div",2)(1,"ung-first-level-category-selector",3),y("categorySelected",function(h){return x(c),f(o.category$.next(h))}),u()(),p(2,"div",4)(3,"label",5,0)(5,"input",6,1),d(7,"ungSsrAwareTranslate"),y("focus",function(){x(c);let h=U(6);return f(o.openAndUpdateResults(h.value))})("blur",function(h){return x(c),f(o.close(h))})("keydown.escape",function(h){return x(c),f(o.close(h))})("input",function(){x(c);let h=U(6);return f(o.searchInCategory(h.value))})("keydown",function(h){return x(c),f(o.keydownEvents$.next(h))})("keydown.enter",function(h){x(c);let L=U(6);return f(o.launchSearchResults(h,L,o.inputValue))}),u(),p(8,"span",7),y("mousedown",function(h){x(c);let L=U(6);return f(o.launchSearchResults(h,L,L.value))}),ue(),p(9,"svg",8),P(10,"path",9),u()()(),ke(),p(11,"div",10),ue(),p(12,"svg",11),P(13,"path",12),u()(),m(14,Pn,4,6,"div",13),d(15,"async"),m(16,Sn,3,3,"ng-container",14),u()}if(t&2){let c=U(6);l(),a("selectedCategoryCode$",o.selectedCategoryCode$),l(2),X("dirty",!!c.value),a("ngClass",O(13,hn,!o.isOpen)),l(2),a("placeholder",C(7,9,"searchBox.placeholder")),l(3),X("open",o.isOpen),l(6),a("ngIf",C(15,11,o.results$)),l(2),a("isMobileDependsOnPlatform",o.breakpoint.sm)}},dependencies:[je,z,ne,Q,bt,Mt,ae,Tt,At,Lt,oe,H,j,le],styles:["@keyframes _ngcontent-%COMP%_fadeIn{0%{opacity:0}to{opacity:1}}[_nghost-%COMP%]{z-index:10;display:block}@media (min-width: 576px){[_nghost-%COMP%]{position:relative;z-index:0}}[_nghost-%COMP%] > *[_ngcontent-%COMP%]{z-index:20}@media (min-width: 576px){[_nghost-%COMP%] > *[_ngcontent-%COMP%]{background-color:var(--cx-color-inverse);position:relative}}[_nghost-%COMP%]   a[_ngcontent-%COMP%], [_nghost-%COMP%]   .message[_ngcontent-%COMP%]{padding:6px 16px;color:currentColor;-webkit-user-select:none;user-select:none}[_nghost-%COMP%]   label[_ngcontent-%COMP%]{display:flex;align-content:stretch;margin:0;padding-top:6px;padding-inline-end:6px;padding-bottom:6px;padding-inline-start:10px}@media (min-width: 576px){[_nghost-%COMP%]   label[_ngcontent-%COMP%]{border:1px solid var(--cx-color-medium);width:27vw;min-width:300px;max-width:550px}[_nghost-%COMP%]   label.dirty[_ngcontent-%COMP%]   div.search-icon[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{background:none;border:none;outline:none;display:block;flex-basis:100%;height:35px;color:var(--cx-color-text);z-index:20}@media (max-width: 575.98px){[_nghost-%COMP%]   label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{position:absolute;left:0;top:57px;width:100%;background-color:var(--cx-color-secondary);padding:6px 16px;height:48px;border-bottom:1px solid var(--cx-color-light)}}[_nghost-%COMP%]   label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-webkit-input-placeholder{color:currentColor}[_nghost-%COMP%]   label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::-moz-placeholder{color:currentColor}[_nghost-%COMP%]   label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:-moz-placeholder{color:currentColor}[_nghost-%COMP%]   label[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:-ms-input-placeholder{color:currentColor}[_nghost-%COMP%]   label[_ngcontent-%COMP%]:not(.dirty)   button.reset[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]   label[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], [_nghost-%COMP%]   label[_ngcontent-%COMP%]   div.search-icon[_ngcontent-%COMP%]{flex-basis:48px;text-align:center;background:none;border:none;padding:6px;color:var(--cx-color-medium)}@media (max-width: 575.98px){[_nghost-%COMP%]   label[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], [_nghost-%COMP%]   label[_ngcontent-%COMP%]   div.search-icon[_ngcontent-%COMP%]{color:var(--cx-color-primary);font-size:var(--cx-font-size, 1.563rem)}}[_nghost-%COMP%]   label[_ngcontent-%COMP%]   button.reset[_ngcontent-%COMP%]   cx-icon[_ngcontent-%COMP%]:before, [_nghost-%COMP%]   label[_ngcontent-%COMP%]   div.search-icon.reset[_ngcontent-%COMP%]   cx-icon[_ngcontent-%COMP%]:before{font-size:1.4rem}@media (max-width: 575.98px){[_nghost-%COMP%]   label[_ngcontent-%COMP%]   button.reset[_ngcontent-%COMP%]   cx-icon[_ngcontent-%COMP%], [_nghost-%COMP%]   label[_ngcontent-%COMP%]   div.search-icon.reset[_ngcontent-%COMP%]   cx-icon[_ngcontent-%COMP%]{position:relative;left:74px;z-index:20;top:52px;margin-top:0}}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]{display:none;position:absolute;left:0;width:100%;color:#000;background-color:#fff;font-size:var(--cx-font-small, 1rem)}@media (max-width: 575.98px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]{top:105px;z-index:10}}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{text-decoration:none;cursor:pointer;font-weight:800}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .highlight[_ngcontent-%COMP%], [_nghost-%COMP%]   .results[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .search-results-highlight[_ngcontent-%COMP%]{font-weight:400;font-style:normal}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, [_nghost-%COMP%]   .results[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus{background:var(--cx-color-light);color:currentColor}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .suggestions[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;list-style:none;padding-inline-start:0;margin-bottom:0}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .suggestions[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], [_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .suggestions[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{flex:100%;line-height:2rem;display:block}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .recent-searches[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;list-style:none;padding-inline-start:0;margin-bottom:0;border-top:solid 1px var(--cx-color-light)}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .recent-searches[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], [_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .recent-searches[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{flex:100%;line-height:2rem;display:block}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]{list-style:none;padding-inline-start:0;margin-bottom:0}@media (max-width: 575.98px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:grid;grid-column-gap:16px;border-top:solid 1px var(--cx-color-light)}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a.has-media[_ngcontent-%COMP%]{grid-template-columns:50px 1fr}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   cx-media[_ngcontent-%COMP%]{grid-row:1/3}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   div.name[_ngcontent-%COMP%]{text-overflow:ellipsis;font-size:inherit;font-weight:inherit;white-space:nowrap;overflow:hidden}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .price[_ngcontent-%COMP%]{font-weight:400}[_ngcontent-%COMP%]:root{--cx-color-background: #f5f5f5;--cx-color-text: #292929;--cx-color-inverse: #fff;--cx-color-transparent: transparent;--cx-color-primary: #e3131b;--cx-color-secondary: #fe6400;--cx-color-tertiary: #366ac4;--cx-color-success: #019a5f;--cx-color-info: #5389e6;--cx-color-warning: #ffb300;--cx-color-danger: #ff3100;--cx-color-light: #f5f5f5;--cx-color-dark: #292929;--cx-color-visual-focus: #5389e6;--cx-color-middle-grey: #4c4e4e;--cx-color-nav-dark: #0e0e0e;--cx-color-nav-grey: #a8a8a8;--cx-color-border-red: #eb0011;--cx-color-dark-hover: #e6e6e6}[_nghost-%COMP%]{display:flex;margin:20px 40px 15px 20px}@media (min-width: 576px) and (max-width: 991.98px){[_nghost-%COMP%]{margin:7px 0 7px 7px}}@media (max-width: 575.98px){[_nghost-%COMP%]{margin:10px 0}}  body .icons{padding-right:10px}  body.searchbox-is-active.has-searchbox-results ung-searchbox .results{display:flex}  body.searchbox-is-active.has-searchbox-results header{z-index:100}@media (max-width: 575.98px){  body.searchbox-is-active.has-searchbox-results header{position:fixed}}@media (max-width: 575.98px){  body.searchbox-is-active.has-searchbox-results.body-no-scroll{overflow:hidden}}@media (min-width: 576px){[_nghost-%COMP%]{z-index:10}}[_nghost-%COMP%]   .header__arrow[_ngcontent-%COMP%]{background:transparent;position:absolute;z-index:-1;color:#e3131b;font-family:Arial,Helvetica,sans-serif;right:-88px;font-size:170px;height:195px;width:130px;overflow:hidden;bottom:-72px;pointer-events:none}@media (max-width: 991.98px){[_nghost-%COMP%]   .header__arrow[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   .header__arrow[_ngcontent-%COMP%]   .icon-header-arrow[_ngcontent-%COMP%]{position:var(--cx-color-transparent);top:-30px}[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]{width:100%;background:transparent}@media (max-width: 991.98px){[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]{min-height:55px}}[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox[_ngcontent-%COMP%]{overflow-y:hidden;width:100%;height:42px;padding:13px 12px;background:#fff;color:#414141;border-radius:0 4px 4px 0;border:1px solid #000;position:relative}@media (min-width: 576px){[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox[_ngcontent-%COMP%]{max-width:none}}@media (max-width: 575.98px){[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox[_ngcontent-%COMP%]{border-radius:4px}}[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox--rounded[_ngcontent-%COMP%]{border-radius:0 4px 4px 0;background:#f5f5f5}@media (max-width: 575.98px){[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox--rounded[_ngcontent-%COMP%]{border-radius:4px}}[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{position:relative;background-color:unset;padding:0;top:0;border-bottom:none;height:15px;font-size:14px;text-align:left;letter-spacing:.14px;color:#4c4e4e}[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{position:absolute;right:16px;z-index:20;color:#e3131b}[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox[_ngcontent-%COMP%]   span.open[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox.searchbox--rounded[_ngcontent-%COMP%]{border-radius:0 4px 4px 0;border:1px solid #bfbfbf}@media (max-width: 575.98px){[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox.searchbox--rounded[_ngcontent-%COMP%]{border-radius:4px}}[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox.dirty[_ngcontent-%COMP%]{border-radius:0 4px 0 0}@media (max-width: 575.98px){[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox.dirty[_ngcontent-%COMP%]{border-radius:4px 4px 0 0}}[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox.dirty[_ngcontent-%COMP%]   span.search[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox.dirty[_ngcontent-%COMP%]   span.c-pointer[_ngcontent-%COMP%]{position:static;margin-left:8px}[_nghost-%COMP%]   .searchbar[_ngcontent-%COMP%]   .searchbox__icon[_ngcontent-%COMP%]{height:16px;width:16px;margin-top:-12px}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]{top:unset;flex-flow:column;border-radius:0 0 4px 4px;box-shadow:0 6px 12px #00000029!important;z-index:100;max-height:70vh}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:6px 13px 8px;font-size:14px;line-height:16px!important;font-weight:400;color:#4c4e4e;border-top:none!important}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, [_nghost-%COMP%]   .results[_ngcontent-%COMP%]   a.active[_ngcontent-%COMP%]{background-color:#f5f5f5}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:invalid{background-color:#fff}@media (max-width: 575.98px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]{margin:0 15px;width:calc(100% - 30px)}}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .suggestions[_ngcontent-%COMP%]{margin:10px 0}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;list-style:none;padding-inline-start:0;border-bottom:1px solid #d0d0d0}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   li[_ngcontent-%COMP%], [_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{flex:100%;line-height:2rem;display:block}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]{overflow:hidden;overflow-y:scroll;display:block;scrollbar-width:none;-ms-overflow-style:none}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]::-webkit-scrollbar{width:0px!important}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]::-webkit-scrollbar{display:0px!important}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{align-items:center;padding:0 0 0 13px}@media (max-width: 991.98px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{padding:5px 0 0 13px}}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a.has-media[_ngcontent-%COMP%]{grid-template-columns:90px 1fr;grid-template-rows:90px}@media (max-width: 575.98px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a.has-media[_ngcontent-%COMP%]{grid-template-columns:70px 1fr;grid-template-rows:minmax(70px,66px);grid-column-gap:12px}}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   ung-media[_ngcontent-%COMP%] {width:90px;height:90px}@media (max-width: 575.98px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   ung-media[_ngcontent-%COMP%] {width:70px;height:70px}}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   ung-media[_ngcontent-%COMP%]  img{padding:10px;width:100%;height:100%}@media (max-width: 575.98px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   ung-media[_ngcontent-%COMP%]  img{padding:0}}[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-size:14px;color:#292929;padding-top:10px}@media (max-width: 991.98px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{margin-bottom:0}}@media (max-width: 575.98px){[_nghost-%COMP%]   .results[_ngcontent-%COMP%]   .products[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   .name[_ngcontent-%COMP%]{font-size:14px;line-height:16px;max-height:32px;overflow:hidden;padding-top:0}}[_nghost-%COMP%]   .category[_ngcontent-%COMP%]{height:42px;border-radius:4px 0 0 4px;background:#f5f5f5}[_nghost-%COMP%]   .category-name[_ngcontent-%COMP%]{height:42px;border:1px solid #000;border-radius:4px 0 0 4px;background:#fff;padding-inline:3px}[_nghost-%COMP%]   .category-text[_ngcontent-%COMP%]{padding-right:5px}@media (max-width: 575.98px){[_nghost-%COMP%]   .category[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%]   .category[_ngcontent-%COMP%]   ung-first-level-category-selector[_ngcontent-%COMP%]{background:transparent}[_ngcontent-%COMP%]::-webkit-search-decoration, [_ngcontent-%COMP%]::-webkit-search-cancel-button, [_ngcontent-%COMP%]::-webkit-search-results-button, [_ngcontent-%COMP%]::-webkit-search-results-decoration{display:none}.searchbox__icon[_ngcontent-%COMP%]{cursor:pointer}@media (max-width: 991.98px){[_nghost-%COMP%]     ung-image-wrapper ung-media .cloudflare-img{height:initial}}"],changeDetection:0});let n=i;return n})();var Ao=(()=>{let i=class i{};i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=Te({type:i}),i.\u0275inj=Re({providers:[{provide:ce,useExisting:de}],imports:[Ye,Ke,Ze.withConfig({cmsComponents:{SearchBoxComponent:{component:$t}}}),pt,tt,ot,vt,Ot,St,wt,Pt,gt,st,ae,Rt,Et]});let n=i;return n})();export{Ao as a};
