"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5376],{40913:function(e,t,n){n.r(t),n.d(t,{FeaturedProductsRenderer:function(){return A}});var r,o,i,l,a,u,c,s=n(95235),d=n(7328),f=n(2784),p=n(28885),v=n(11006),m=n(48840),g=n(81292),O=n(87330),b=n(48743),w=n(51339),h=v.zo.div(r||(r=(0,d.Z)(["\n text-align: ",";\n display: flex;\n row-gap: ",";\n flex-wrap: wrap;\n justify-content: ",";\n"])),function(e){return e.horizontalAlignment},(0,m.W0)(5),function(e){return"right"===e.horizontalAlignment?"end":e.horizontalAlignment||"left"}),k=(0,v.zo)(b.v)(o||(o=(0,d.Z)(["\n margin: auto;\n flex-basis: calc(50% - "," - 2px);\n\n "," {\n flex-basis: ",";\n }\n"])),(0,m.W0)(3),function(e){return(0,g.mq)(e.theme.breakpointUtils.map,"sm")},function(e){return 2===e.totalItems?"calc(50% - ".concat((0,m.W0)(3)," - 2px)"):3===e.totalItems?"calc(33% - ".concat((0,m.W0)(3),")"):"calc(25% - ".concat((0,m.W0)(3),")")}),y=v.zo.h2(i||(i=(0,d.Z)(["\n text-align: ",";\n ",";\n margin-bottom: ",";\n"])),function(e){return e.horizontalAlignment},(0,O.xv)("large1","alternate"),function(e){return e.marginBottom?"".concat(e.marginBottom,"px"):(0,m.W0)(1)}),j=v.zo.p(l||(l=(0,d.Z)(["\n text-align: ",";\n ","\n margin-bottom: ",";\n"])),function(e){return e.horizontalAlignment},(0,O.xv)("bodyText","default"),function(e){return e.marginBottom?"".concat(e.marginBottom,"px"):(0,m.W0)(3)}),x=v.zo.div(a||(a=(0,d.Z)(["\n text-align: ",";\n\n margin-top: ",";\n "," {\n margin-top: ",";\n }\n margin-top: ",";\n"])),function(e){return e.horizontalAlignment||"left"},(0,m.W0)(4),function(e){return(0,g.mq)(e.theme.breakpointUtils.map,"sm")},(0,m.W0)(5),function(e){return e.marginTop&&e.marginTop>=32&&"".concat(e.marginTop,"px")}),B=(0,v.zo)(w.zx)(u||(u=(0,d.Z)(["\n width: 100%;\n\n "," {\n width: max-content;\n }\n"])),function(e){return(0,g.mq)(e.theme.breakpointUtils.map,"sm")}),P=n(52322);function z(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function T(e){for(var t=1;t{};t.noop=n,t.defaultProps={onEnterViewport:n,onLeaveViewport:n}},57727:function(e,t,n){t.__esModule=!0,t.default=void 0;var r=n(2784),o=c(n(73463)),i=c(n(69675)),l=n(6622),a=n(52322),u=["onEnterViewport","onLeaveViewport"];function c(e){return e&&e.__esModule?e:{default:e}}function s(){return(s=Object.assign||function(e){for(var t=1;t"function"==typeof e&&!(e.prototype&&e.prototype.render),f=e=>e.prototype&&e.prototype.isReactComponent;t.default=function(e,t,n){void 0===t&&(t=l.defaultOptions),void 0===n&&(n=l.defaultConfig);var c=(0,r.forwardRef)((t,n)=>{var r=s({forwardedRef:n},f(e)&&!d(e)?{ref:n}:{});return(0,a.jsx)(e,s({},t,r))});function p(e){var{onEnterViewport:o=l.noop,onLeaveViewport:d=l.noop}=e,f=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,u),p=(0,r.useRef)(),{inViewport:v,enterCount:m,leaveCount:g}=(0,i.default)(p,t,n,{onEnterViewport:o,onLeaveViewport:d});return(0,a.jsx)(c,s({},f,{inViewport:v,enterCount:m,leaveCount:g},{ref:p}))}var v=e.displayName||e.name||"Component";return p.displayName="handleViewport("+v+")",(0,o.default)(p,c)}},69675:function(e,t,n){t.__esModule=!0,t.default=void 0;var r=n(2784),o=n(28316),i=n(6622);t.default=function(e,t,n,l){void 0===t&&(t=i.defaultOptions),void 0===n&&(n=i.defaultConfig),void 0===l&&(l=i.defaultProps);var{onEnterViewport:a,onLeaveViewport:u}=l,[,c]=(0,r.useState)(),s=(0,r.useRef)(),d=(0,r.useRef)(!1),f=(0,r.useRef)(!1),p=(0,r.useRef)(0),v=(0,r.useRef)(0);function m(e){var{isIntersecting:t,intersectionRatio:r}=e[0]||{},o=void 0!==t?t:r>0;if(!f.current&&o){f.current=!0,null==a||a(),p.current+=1,d.current=o,c(o);return}f.current&&!o&&(f.current=!1,null==u||u(),n.disconnectOnLeave&&s.current&&s.current.disconnect(),v.current+=1,d.current=o,c(o))}return(0,r.useEffect)(()=>{var n=s.current;return function(t){var{observerRef:n}=t,r=e.current;if(r){var i=(0,o.findDOMNode)(r);i&&(null==n||n.observe(i))}}({observerRef:n=function(e){var{observerRef:n}=e;return n||(s.current=new IntersectionObserver(m,t),s.current)}({observerRef:n})}),()=>{!function(t){var{observerRef:n}=t,r=e.current;if(r){var i=(0,o.findDOMNode)(r);i&&(null==n||n.unobserve(i))}null==n||n.disconnect(),s.current=null}({observerRef:n})}},[e.current,t,n,a,u]),{inViewport:d.current,enterCount:p.current,leaveCount:v.current}}}}]); //# sourceMappingURL=5376.73fb64b5b2a7f4d0.js.map