(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2378],{27168:function(e,n,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_sites/[site]",function(){return o(18661)}])},86533:function(e,n,o){"use strict";o.d(n,{$G:function(){return l},$Y:function(){return c},pO:function(){return u}});var t=o(67294),i=o(35431),d=o(94535),r=o(88222);function l(){let e=(0,t.useContext)(i.O);return n=>{let o=e.translations;return o&&o[n]||n}}function c(){let e=(0,t.useContext)(d.V);if(void 0===e)throw Error("useLayout must be used within Context Provider");return e}function u(){let e=(0,t.useContext)(r.G);if(void 0===e)throw Error("useProductPageContext must be used within Context Provider");return e}},88222:function(e,n,o){"use strict";o.d(n,{G:function(){return i}});var t=o(67294);let i=(0,t.createContext)({})},18661:function(e,n,o){"use strict";o.r(n),o.d(n,{__N_SSP:function(){return _},default:function(){return f}});var t=o(85893),i=o(5152),d=o.n(i),r=o(9008),l=o.n(r),c=o(11163),u=o(95453),a=o(86533);let s={CatalogList:d()(()=>o.e(3611).then(o.bind(o,43611)),{loadableGenerated:{webpack:()=>[43611]}}),HomeDC:d()(()=>Promise.all([o.e(7677),o.e(5889)]).then(o.bind(o,85889)),{loadableGenerated:{webpack:()=>[85889]}}),HomeAMGS:d()(()=>Promise.all([o.e(1228),o.e(1824),o.e(5675),o.e(7851),o.e(1664),o.e(7677),o.e(5989),o.e(3687),o.e(5566)]).then(o.bind(o,25566)),{loadableGenerated:{webpack:()=>[25566]}}),CatalogList3Column:d()(()=>o.e(810).then(o.bind(o,10810)),{loadableGenerated:{webpack:()=>[10810]}})},m=d()(()=>o.e(9403).then(o.bind(o,39403)),{loadableGenerated:{webpack:()=>[39403]}});var _=!0;function f(e){var n,o,i,d,r,_;let{categories:f,sidebarCategories:v,breadcrumb:p,settings:h,featuredProducts:b,navMenus:C,banners:g,pageData:x,socialLinks:w,...G}=e,k=(0,c.useRouter)(),P=(0,a.$G)(),{query:H}=k,S=H.category_group;"catalog"===S&&(null==x?void 0:null===(n=x.middle_section)||void 0===n?void 0:n.frontend_component)&&(x.middle_section.frontend_component=u.h.CatalogList);let E=s[null==x?void 0:null===(o=x.middle_section)||void 0===o?void 0:o.frontend_component];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(l(),{children:[(0,t.jsx)("title",{children:"".concat((null==h?void 0:h.logo_text)?"".concat(h.logo_text," - "):""," ").concat(P("home.home")," ")}),(0,t.jsx)("meta",{name:"description",content:"".concat((null==h?void 0:h.logo_text)?"".concat(h.logo_text," - "):"").concat(P("home.home"))},"desc")]}),(0,t.jsx)(m,{showContactUsSection:null==x?void 0:x.contact_us_section,templateOptions:(null==x?void 0:null===(i=x.middle_section)||void 0===i?void 0:i.template_options)||[],navMenus:C,Component:null==x?void 0:null===(d=x.layout)||void 0===d?void 0:d.frontend_component,header:null==x?void 0:null===(r=x.header)||void 0===r?void 0:r.frontend_component,footer:null==x?void 0:null===(_=x.footer)||void 0===_?void 0:_.frontend_component,sidebarCategories:void 0,breadcrumb:x.middle_section.frontend_component===u.h.HomeDC||x.middle_section.frontend_component===u.h.HomeAMGS?void 0:p,pageComponent:null==x?void 0:x.middle_section.frontend_component,settings:h,socialLinks:w,isSidebar:!(x.middle_section.frontend_component===u.h.HomeDC||x.middle_section.frontend_component===u.h.HomeAMGS),...G,pageTitle:!(x.middle_section.frontend_component===u.h.HomeDC||x.middle_section.frontend_component===u.h.HomeAMGS),children:(0,t.jsx)(E,{categories:f,featuredProducts:b,banners:g,sidebarCategories:v})})]})}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=27168)}),_N_E=e.O()}]);