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,OAAA,EAAA1F,YAAA,KAAA0D,KAAA,CAAA1D,WAAA,CAAAuF,OAAA,KAAAA,MAAA,MAAAD,IAAA,qBAAApE,MAAA,SAAA5L,CAAA,CAAAC,CAAA,OAAAsD,KAAA,CAAA8M,eAAA,OAAA9M,KAAA,CAAA8M,eAAA,CAAArQ,EAAAqQ,eAAA,QAAA1C,OAAA,CAAAjD,WAAA,GAAA7J,EAAA4L,QAAA,OAAAkB,OAAA,CAAAjD,WAAA,GAAA7J,EAAA8L,SAAA,OAAAsD,MAAA,SAAA1M,KAAA,CAAA+M,cAAA,OAAA/M,KAAA,CAAA+M,cAAA,CAAAtQ,EAAAsQ,cAAA,QAAA3C,OAAA,CAAAjD,WAAA,GAAA7J,EAAA6L,SAAA,OAAAiB,OAAA,CAAAjD,WAAA,GAAA7J,EAAA+L,UAAA,OAAAqD,MAAA,OAAAD,IAAA,uBAAApE,MAAA,gBAAArI,KAAA,CAAAgN,SAAA,OAAAhN,KAAA,CAAAgN,SAAA,EAAA7F,YAAA,KAAA0D,KAAA,CAAA1D,WAAA,QAAAiD,OAAA,CAAAgC,OAAA,EAAA/O,EAAA,KAAA+M,OAAA,CAAAgC,OAAA,MAAAxP,CAAA,WAAAI,EAAAY,EAAA,gBAAAmJ,SAAA,IAAA8E,aAAAhP,EAAAiP,WAAAjP,CAAA,GAAAe,CAAA,EAAAjB,EAAA","sources":["webpack://_N_E/./components/ProductSubNav/ProductSubNav.js","webpack://_N_E/./node_modules/react-slide-toggle/dist/ReactSlideToggle.umd.js","webpack://_N_E/<anon>"],"sourcesContent":["import React, {useEffect, useRef, useState, useCallback, Suspense} from 'react';\nimport SlideToggle from 'react-slide-toggle';\nimport Block from '../../adapters/helpers/Block';\nimport { onClickBuyNow, stripHtml } from '../../adapters/helpers/Utils';\nimport Component from '../../adapters/helpers/entity/Component'\nimport PropTypes from 'prop-types';\nimport { ProductSubNavConstants } from '../../adapters/helpers/Constants';\nimport { AnalyticsConstants } from '../../adapters/helpers/ConstantsGA';\nimport { updateCurrentProductIndex } from '../../adapters/helpers/Hooks';\nimport dynamic from 'next/dynamic';\nconst Heading = dynamic(() => import('../Heading/Heading'));\nconst Button = dynamic(() => import('../Button/Button'));\nconst Icon = dynamic(() => import('../Icon/Icon'));\nimport Loader from '../../adapters/helpers/Loader';\nimport DOMPurify from 'isomorphic-dompurify';\n\nexport default function ProductSubNav(props) {\n const {extraAttributes} = props;\n\n const block = new Block(props);\n const product = new Component(extraAttributes.entity);\n const className = 'ob-product-sub-nav is-sticky product-sub-nav-scroll';\n const buyNowLabel = product?.props?.productOverview?.fields?.buyNowLabel?.fields?.text;\n const buyNowDeactivated = product?.props?.productOverview?.fields?.deactivateBuyNowButton || false;\n const comingSoonText = product?.props?.productOverview?.fields?.comingSoonLabel?.fields?.text || '';\n const comingSoonLink = product?.props?.productOverview?.fields?.comingSoonLink || '';\n const isEnableCommingSoon = product?.props?.productOverview?.fields?.enableComingSoonLabel;\n const poweredByLabel = product?.props?.productOverview?.fields?.poweredBy;\n const productVariants = product?.props?.productOverview?.fields?.productVariants;\n\n const productSubNavRef = useRef(null);\n const [showNav, setShowNav] = useState(true);\n const [scrollPos, setScrollPos] = useState(0);\n const [globalState] = updateCurrentProductIndex();\n\n const updateNavState = () => {\n const tempPos = window.pageYOffset;\n const isVisible = scrollPos > tempPos;\n setShowNav(isVisible);\n setScrollPos(tempPos);\n };\n\n const updateStyles = updateEvent => {\n const header = document.querySelector('.zone-header');\n const productSubNav = productSubNavRef.current;\n const firstBlock = document.querySelector('.ob-product-sub-nav.is-sticky + div');\n const layout = document.querySelector('.layout');\n const breadcrumbs = document.querySelector('.breadcrumb-main');\n if (!productSubNav || !firstBlock || !header || !layout || !breadcrumbs) {\n return;\n }\n if (updateEvent === ProductSubNavConstants.scroll) {\n header.classList.add(`visible-${showNav}`);\n header.classList.remove(`visible-${!showNav}`);\n breadcrumbs.classList.add(`visible-${!showNav}`); //1 at top - no scroll\n breadcrumbs.classList.remove(`visible-${showNav}`);\n if (breadcrumbs.classList.contains('visible-false')) {\n breadcrumbs.style.top = `${header.offsetHeight+4}px`; //2\n breadcrumbs.style.position = 'fixed'; //2\n } else if (breadcrumbs.classList.contains('visible-true')) {\n breadcrumbs.style.top = '0px'; //2\n breadcrumbs.style.position = 'fixed'; //2\n }\n\n productSubNav.classList.add(`is-top-${!showNav}`);\n productSubNav.classList.remove(`is-top-${showNav}`);\n\n // This prevents a page glitch and a huge white space at the top of the page\n header.style.top = showNav ? '0' : `-${header.offsetHeight}px`;\n productSubNav.style.top = showNav ? `${header.offsetHeight+breadcrumbs.offsetHeight}px` : `${breadcrumbs.offsetHeight}px`;\n firstBlock.style.paddingTop = scrollPos <= (productSubNav.offsetHeight) && showNav ? `${productSubNav.offsetHeight+breadcrumbs.offsetHeight+4}px` : '0';\n layout.style.paddingTop = scrollPos <= (productSubNav.offsetHeight) && showNav ? `${header.offsetHeight}px` : '0';\n } else if (updateEvent === ProductSubNavConstants.anchorClick || updateEvent === ProductSubNavConstants.initialLoad) {\n if (header.classList.contains('visible-true')) {\n layout.style.paddingTop = `${header.offsetHeight}px`;\n }\n firstBlock.style.paddingTop = `${productSubNav.offsetHeight+breadcrumbs.offsetHeight}px`;\n if(updateEvent === ProductSubNavConstants.initialLoad) {\n // SetTimeout makes sure the main menu has time to load\n window.setTimeout(() => {\n layout.style.paddingTop = scrollPos <= (productSubNav.offsetHeight) && showNav ? `${header.offsetHeight}px` : '0';\n productSubNav.style.top = showNav ? `${header.offsetHeight+breadcrumbs.offsetHeight}px` : '0';\n firstBlock.classList.add('ob-padding-transition');\n }, 100);\n }\n }\n };\n\n useEffect(() => {\n let headerEle = document.getElementsByClassName('zone-header');\n if(headerEle) {\n headerEle[0].style.position='relative';\n } \n },[]);\n const productNavScroll = () => {\n const tempPos = window.pageYOffset;\n const isVisible = scrollPos > tempPos;\n setShowNav(isVisible);\n setScrollPos(tempPos); \n };\n\n let startProductBarPos=-1;\n \n function findPosY(obj) {\n var curtop = 0;\n if (typeof (obj.offsetParent) != 'undefined' && obj.offsetParent) {\n while (obj.offsetParent) {\n curtop += obj.offsetTop;\n obj = obj.offsetParent;\n }\n curtop += obj.offsetTop;\n }\n else if (obj.y)\n curtop += obj.y;\n return curtop;\n }\n \n const [y, setY] = useState(0);\n \n function isInViewport(element) {\n const rect = element.getBoundingClientRect();\n return (\n rect.top >= 0 &&\n rect.left >= 0 &&\n rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) &&\n rect.right <= (window.innerWidth || document.documentElement.clientWidth)\n );\n }\n\n const handleNavigation = useCallback(\n e => {\n const window = e.currentTarget;\n let breadcrumbEle = document.getElementById('breadcrumb-main');\n let highlightsEle = document.getElementById('highlights');\n \n let breadcrumbStatus = isInViewport(breadcrumbEle);\n if (y > window.scrollY) {\n let eleDomUp = document.getElementById('ob-product-subnav-scroll');\n \n if(startProductBarPos<0)startProductBarPos=findPosY(eleDomUp); \n \n if(pageYOffset>startProductBarPos) {\n eleDomUp.style.position='fixed';\n breadcrumbStatus ? eleDomUp.style.position='inherit' : eleDomUp.style.position='fixed';\n eleDomUp.style.top=0;\n eleDomUp.style.zIndex=99; \n }else{ \n eleDomUp.style.top='auto'; \n eleDomUp.style.position='relative'; \n }\n } else if (y < window.scrollY) {\n let eleDomDown = document.getElementById('ob-product-subnav-scroll');\n if(startProductBarPos<0)startProductBarPos=findPosY(eleDomDown); \n if(pageYOffset>startProductBarPos) {\n breadcrumbStatus ? eleDomDown.style.position='inherit' : eleDomDown.style.position='fixed';\n eleDomDown.style.top=0;\n eleDomDown.style.zIndex=99; \n } else {\n eleDomDown.style.position='relative'; \n }\n }\n setY(window.scrollY);\n }, [y]\n );\n \n useEffect(() => {\n setY(window.scrollY);\n window.addEventListener(\"scroll\", handleNavigation); \n return () => {\n window.removeEventListener(\"scroll\", handleNavigation);\n };\n }, [handleNavigation]);\n const scrollTo = event => {\n event.preventDefault();\n const currentTarget = event.currentTarget;\n const anchorId = currentTarget.dataset.anchorId;\n const element = document.querySelector(anchorId);\n if (!element) {\n return;\n }\n let headerOffset = 150;\n let elementPosition = element.getBoundingClientRect().top;\n let offsetPosition = elementPosition + window.pageYOffset - headerOffset;\n \n window.scrollTo({\n top: offsetPosition,\n behavior: \"smooth\"\n }); \n };\n\n const renderLink = (product, link, index) => {\n return (linkNeedToDisplay(product, link)) ?\n (<li key={index}>\n <a onClick={scrollTo}\n data-anchor-id={link.url} href={link.url}\n className={link?.linkClassName ? link.linkClassName : 'event_internal_link'}\n data-action-detail={stripHtml(link.title)}>\n <span dangerouslySetInnerHTML={{__html: DOMPurify.sanitize(link.title)}}></span>\n </a>\n </li>) : '';\n };\n\n const linkNeedToDisplay = (product, link) => {\n let reviewsBlock;\n switch (link.url) {\n case '#highlights':\n return (typeof product.productHighlights !== ProductSubNavConstants.undefined);\n case '#ob-highlights-ctn':\n return (typeof product.productHighlights !== ProductSubNavConstants.undefined);\n case '#features' :\n return (typeof product.featuresTab !== ProductSubNavConstants.undefined);\n case '#in-the-box' :\n return (typeof product.inTheBox !== ProductSubNavConstants.undefined);\n case '#gallery' :\n return (typeof product.gallery !== ProductSubNavConstants.undefined);\n case '#reviews' :\n // Object provides is featuredQuote for reviews\n reviewsBlock = productSubNavRef?.current?.parentNode.querySelector('#reviews');\n return (typeof product.featuredQuote !== ProductSubNavConstants.undefined || reviewsBlock !== ProductSubNavConstants.undefined || reviewsBlock !== null);\n default :\n return false;\n }\n };\n\n const renderShopNowCTA = () => {\n const comingSoonBtnLink = (productVariants && productVariants[globalState.currentProductId]?.fields?.comingSoonLink) || comingSoonLink;\n return <Button\n tag={'a'}\n disabled={comingSoonBtnLink === ''}\n href={comingSoonBtnLink}\n size={ProductSubNavConstants.medium}\n target={ProductSubNavConstants.blank}\n className='event_buy_now_eretailer_exit'\n onClick={() => { onClickBuyNow(comingSoonBtnLink) }}\n >\n {comingSoonText}\n </Button>\n }\n\n const renderFindRetailerCTA = () => {\n const btnClassName = isEnableCommingSoon ? 'ob-product-sub-nav__find-a-retailer-secondary-btn-style' : '';\n return buyNowLabel && !buyNowDeactivated && <Button\n tag={isEnableCommingSoon ? 'a' : 'button'}\n textTheme={isEnableCommingSoon}\n borderTheme={!isEnableCommingSoon}\n size={ProductSubNavConstants.medium}\n className={`${btnClassName} event_buy_now`}\n dataActionDetail={stripHtml(product.props.productOverview.fields.title)}\n onClick={event => props.onClickCallback(event)}\n sku={extraAttributes?.entity?.productOverview?.fields?.productVariants && extraAttributes?.entity?.productOverview?.fields?.productVariants[globalState?.currentProductId]?.fields?.sku}\n >\n {buyNowLabel}\n </Button>\n }\n\n return (\n <Suspense fallback={<Loader />} >\n <div className={className} ref={productSubNavRef} id='ob-product-subnav-scroll'>\n {/* START MOBILE LAYOUT */}\n <div className={'ob-product-sub-nav__container ob-product-sub-nav__container--mobile'}>\n <SlideToggle collapsed duration={500}>\n {({ onToggle, setCollapsibleElement, range, toggleState }) => {\n const styles = range ? { opacity: Math.max(0, range) } : { opacity: 1 };\n return (\n <div className={'ob-product-sub-nav__top'}>\n <h2 className={'ob-product-sub-nav__title'}>\n <button className={'event_menu_click'}\n aria-hidden='false'\n aria-expanded={toggleState === ProductSubNavConstants.Collapsed || toggleState === ProductSubNavConstants.Collapsing ? false : true}\n data-action-detail={AnalyticsConstants.dropdownMenu}\n onClick={() => {\n onToggle();\n updateNavState();\n }}>\n <span dangerouslySetInnerHTML={{__html: DOMPurify.sanitize(product.props.productOverview.fields.title)}}></span>\n {toggleState === ProductSubNavConstants.Collapsed || toggleState === ProductSubNavConstants.Collapsing ? (\n <Icon name={ProductSubNavConstants.chevronDown} color=\"#3D3D41\" />\n ) : (\n <Icon name={ProductSubNavConstants.chevronTop} color=\"#3D3D41\" />\n )}\n </button>\n </h2>\n <div className={'ob-product-sub-nav__ob-btn-section'}>\n {isEnableCommingSoon && <div>\n {renderShopNowCTA()}\n {poweredByLabel && <p className=\"ob-product-sub-nav__powered-by-label\">{poweredByLabel}</p>}\n </div>}\n {renderFindRetailerCTA()}\n </div>\n\n <ul ref={setCollapsibleElement} className={'ob-page-navigation__list'} style={styles}>\n {block.getFieldValue(ProductSubNavConstants.links).map((link, index) => {\n return renderLink(product.props, link.fields, index)\n })}\n </ul>\n </div>\n )\n }}\n </SlideToggle>\n </div>\n {/* END MOBILE LAYOUT */}\n\n {/* START DESKTOP LAYOUT */}\n <Suspense fallback={<Loader />} >\n <div className={'ob-product-sub-nav__container ob-product-sub-nav__container--desktop'}>\n <div className={'ob-product-sub-nav__top'}>\n <Heading className={'ob-product-sub-nav__title'} tag={ProductSubNavConstants.h2}>{product.props.productOverview.fields.title}</Heading>\n <ul className={'ob-page-navigation__list'}>\n {block.getFieldValue(ProductSubNavConstants.links).map((link, index) => {\n return renderLink(product.props, link.fields, index)\n })}\n </ul>\n </div>\n \n <div className={'ob-product-sub-nav__ob-btn-section'}>\n {isEnableCommingSoon && <div>\n {renderShopNowCTA()}\n {poweredByLabel && <p className=\"ob-product-sub-nav__powered-by-label\">{poweredByLabel}</p>}\n </div>}\n {renderFindRetailerCTA()}\n </div> \n </div>\n </Suspense>\n {/* END DESKTOP LAYOUT */}\n </div>\n </Suspense>\n );\n}\n\nProductSubNav.propTypes = {\n extraAttributes: PropTypes.any,\n onClickCallback: PropTypes.func\n};\n","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t(require(\"react\")):\"function\"==typeof define&&define.amd?define([\"react\"],t):(e=e||self).ReactSlideToggle=t(e.React)}(this,function(e){\"use strict\";function t(e,t){for(var a=0;a<t.length;a++){var s=t[a];s.enumerable=s.enumerable||!1,s.configurable=!0,\"value\"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function a(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function n(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}e=e&&e.hasOwnProperty(\"default\")?e.default:e;var r=\"undefined\"!=typeof window?window:global,i=r.requestAnimationFrame?r.requestAnimationFrame.bind(r):function(e){return r.setTimeout(e,16)},l=r.cancelAnimationFrame?r.cancelAnimationFrame.bind(r):r.clearInterval.bind(r),p=Object.freeze({EXPANDED:\"EXPANDED\",COLLAPSED:\"COLLAPSED\",EXPANDING:\"EXPANDING\",COLLAPSING:\"COLLAPSING\"}),g=function(e){return e<.5?4*e*e*e:.5*Math.pow(2*e-2,3)+1},u={isMoving:function(e){return e===p.EXPANDING||e===p.COLLAPSING},clamp:function(e){var t=e.value,a=e.max,s=void 0===a?1:a,o=e.min,n=void 0===o?0:o;return t>s?s:t<n?n:t},now:function(){return Date.now()},sanitizeDuration:function(e){return Math.max(0,parseInt(+e,10)||0)},interpolate:function(e){var t=e.next,a=e.prev,s=Math.abs(t-a),o=t;return s>.15&&(t>a?o-=.75*s:o+=.75*s),o}},c=function(r){function g(){var e,t,o,r;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,g);for(var l=arguments.length,c=new Array(l),d=0;d<l;d++)c[d]=arguments[d];return o=this,r=(e=s(g)).call.apply(e,[this].concat(c)),t=!r||\"object\"!=typeof r&&\"function\"!=typeof r?n(o):r,a(n(t),\"_state_\",{collapsibleElement:null,toggleState:t.props.collapsed?p.COLLAPSED:p.EXPANDED}),a(n(t),\"GET_HEIGHT\",t.props.offsetHeight?\"offsetHeight\":\"scrollHeight\"),a(n(t),\"state\",{toggleState:t._state_.toggleState,hasReversed:!1,range:t.props.collapsed?0:1,progress:t.props.collapsed?0:1}),a(n(t),\"getCollapsible\",function(){return t._state_.collapsibleElement}),a(n(t),\"updateCollapsible\",function(e,a){t.getCollapsible()&&(t._state_.collapsibleElement.style[e]=a)}),a(n(t),\"setCollapsibleElement\",function(e){t._state_.collapsibleElement=e,t._state_.collapsibleElement&&(t._state_.collapsibleElement.style.overflow=\"hidden\"),t._state_.toggleState===p.COLLAPSED&&t.setCollapsedState({initialState:!0})}),a(n(t),\"toggle\",function(){if(!t.props.irreversible||!u.isMoving(t._state_.toggleState)){var e=function(){t.props.onCollapsing&&t.props.onCollapsing({range:t.state.range,progress:t.state.progress,hasReversed:t.state.hasReversed}),t.collapse()},a=function(){t.props.onExpanding&&t.props.onExpanding({range:t.state.range,progress:t.state.progress,hasReversed:t.state.hasReversed}),t.expand()},s=function(e){var a=e.toggleState,s=e.display,o=e.hasReversed;t._state_.toggleState=a,t._state_.hasReversed=!!o,void 0===s||t.props.noDisplayStyle||t.updateCollapsible(\"display\",s);var n=u.now();if(o){var r=t._state_.startTime,i=u.sanitizeDuration(t.props.duration),l=Math.min(i,n-r),p=Math.max(0,i-l);t._state_.startTime=n-p}else{var g=t.getCollapsible();g&&g.style.height&&t.updateCollapsible(\"height\",null),t._state_.boxHeight=g?g[t.GET_HEIGHT]:0,t._state_.startTime=n,t._state_.startDirection=a}t.setState({toggleState:t._state_.toggleState,hasReversed:t._state_.hasReversed})};switch(t._state_.toggleState){case p.EXPANDED:s({toggleState:p.COLLAPSING}),e();break;case p.COLLAPSED:s({toggleState:p.EXPANDING,display:\"\"}),a();break;case p.EXPANDING:s({toggleState:p.COLLAPSING,hasReversed:!0}),e();break;case p.COLLAPSING:s({toggleState:p.EXPANDING,display:\"\",hasReversed:!0}),a()}}}),a(n(t),\"setExpandedState\",function(){t._state_.progress=1,t._state_.toggleState=p.EXPANDED,t.updateCollapsible(\"height\",null),t.setState({toggleState:p.EXPANDED,range:1,progress:t._state_.progress}),t.props.onExpanded&&t.props.onExpanded({hasReversed:t.state.hasReversed})}),a(n(t),\"expand\",function(){if(t._state_.toggleState===p.EXPANDING){var e=u.sanitizeDuration(t.props.duration);if(e<=0)t.setExpandedState();else{var a=t._state_.startTime,s=Math.min(e,u.now()-a);if(s>=e)t.setExpandedState();else{var o,n=t._state_,r=n.startDirection,i=n.toggleState,l=n.boxHeight,g=u.clamp({value:s/e});o=t.props.whenReversedUseBackwardEase&&r!==i?1-t.props.easeCollapse(1-g):t.props.easeExpand(g),t.props.bestPerformance||t.setState({range:g,progress:o}),t.props.interpolateOnReverse&&t._state_.hasReversed&&(o=u.interpolate({next:o,prev:t._state_.progress}));var c=Math.round(l*o);t._state_.progress=o,t.updateCollapsible(\"height\",\"\".concat(c,\"px\")),t.nextTick(t.expand)}}}}),a(n(t),\"setCollapsedState\",function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).initialState;t._state_.progress=0,t._state_.toggleState=p.COLLAPSED,t.props.noDisplayStyle?t.updateCollapsible(\"height\",\"0px\"):(t.updateCollapsible(\"display\",\"none\"),t.updateCollapsible(\"height\",null)),t.setState({toggleState:p.COLLAPSED,range:0,progress:t._state_.progress}),!e&&t.props.onCollapsed&&t.props.onCollapsed({hasReversed:t.state.hasReversed})}),a(n(t),\"collapse\",function(){if(t._state_.toggleState===p.COLLAPSING){var e=u.sanitizeDuration(t.props.duration);if(e<=0)t.setCollapsedState();else{var a=t._state_.startTime,s=Math.min(e,u.now()-a);if(s>=e)t.setCollapsedState();else{var o,n=t._state_,r=n.startDirection,i=n.boxHeight,l=n.toggleState,g=1-u.clamp({value:s/e}),c=t.props,d=c.whenReversedUseBackwardEase,h=c.easeExpand,_=c.easeCollapse;o=d&&r!==l?h(g):1-_(1-g),t.props.bestPerformance||t.setState({range:g,progress:o}),t.props.interpolateOnReverse&&t._state_.hasReversed&&(o=u.interpolate({next:o,prev:t._state_.progress}));var f=Math.round(i*o);t._state_.progress=o,t._state_.timeout=t.nextTick(t.collapse),t.updateCollapsible(\"height\",\"\".concat(f,\"px\"))}}}}),a(n(t),\"nextTick\",function(e){t._state_.timeout=i(e)}),t}var c,d,h;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(g,e.Component),c=g,(d=[{key:\"render\",value:function(){var e={onToggle:this.toggle,toggle:this.toggle,setCollapsibleElement:this.setCollapsibleElement,toggleState:this.state.toggleState,hasReversed:this.state.hasReversed,isMoving:u.isMoving(this.state.toggleState),range:this.state.range,progress:this.state.progress};return\"function\"==typeof this.props.children?this.props.children(e):this.props.render?this.props.render(e):this.props.children}},{key:\"componentDidMount\",value:function(){this.props.onMount&&this.props.onMount({toggleState:this.state.toggleState,toggle:this.toggle})}},{key:\"componentDidUpdate\",value:function(e,t){this.props.setToCollapsing&&this.props.setToCollapsing>e.setToCollapsing&&(this._state_.toggleState!==p.EXPANDED&&this._state_.toggleState!==p.EXPANDING||this.toggle()),this.props.setToExpanding&&this.props.setToExpanding>e.setToExpanding&&(this._state_.toggleState!==p.COLLAPSED&&this._state_.toggleState!==p.COLLAPSING||this.toggle())}},{key:\"componentWillUnmount\",value:function(){this.props.onUnmount&&this.props.onUnmount({toggleState:this.state.toggleState}),this._state_.timeout&&l(this._state_.timeout)}}])&&t(c.prototype,d),h&&t(c,h),g}();return a(c,\"defaultProps\",{duration:300,easeCollapse:g,easeExpand:g}),c});\n//# sourceMappingURL=ReactSlideToggle.umd.js.map\n","(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7892],{87892:function(e,t,n){\"use strict\";n.r(t),n.d(t,{default:function(){return E}});var s=n(85696),o=n.n(s),a=n(67294),l=n(5021),r=n.n(l),i=n(40483),u=n(8996),p=n(29224),d=n(24036),c=n(75176),g=n(71357),f=n(5152),v=n.n(f),h=n(47322),_=n(29238),b=n.n(_),m=n(85893),y=v()((function(){return n.e(2116).then(n.bind(n,92116))}),{loadableGenerated:{webpack:function(){return[92116]}}}),S=v()((function(){return n.e(9246).then(n.bind(n,99246))}),{loadableGenerated:{webpack:function(){return[99246]}}}),x=v()((function(){return Promise.resolve().then(n.bind(n,80713))}),{loadableGenerated:{webpack:function(){return[80713]}}});function E(e){var t,n,s,l,f,v,_,E,w,C,N,P,O,D,R,k,L,j,A,T,H,I,G,M,X,B=e.extraAttributes,z=new i.Z(e),Y=new p.Z(B.entity),V=null==Y||null==(t=Y.props)||null==(n=t.productOverview)||null==(s=n.fields)||null==(l=s.buyNowLabel)||null==(f=l.fields)?void 0:f.text,F=(null==Y||null==(v=Y.props)||null==(_=v.productOverview)||null==(E=_.fields)?void 0:E.deactivateBuyNowButton)||!1,U=(null==Y||null==(w=Y.props)||null==(C=w.productOverview)||null==(N=C.fields)||null==(P=N.comingSoonLabel)||null==(O=P.fields)?void 0:O.text)||\"\",q=(null==Y||null==(D=Y.props)||null==(R=D.productOverview)||null==(k=R.fields)?void 0:k.comingSoonLink)||\"\",W=null==Y||null==(L=Y.props)||null==(j=L.productOverview)||null==(A=j.fields)?void 0:A.enableComingSoonLabel,Z=null==Y||null==(T=Y.props)||null==(H=T.productOverview)||null==(I=H.fields)?void 0:I.poweredBy,Q=null==Y||null==(G=Y.props)||null==(M=G.productOverview)||null==(X=M.fields)?void 0:X.productVariants,J=(0,a.useRef)(null),K=(0,a.useState)(!0),$=(K[0],K[1]),ee=(0,a.useState)(0),te=ee[0],ne=ee[1],se=(0,g.y3)(),oe=o()(se,1)[0];(0,a.useEffect)((function(){var e=document.getElementsByClassName(\"zone-header\");e&&(e[0].style.position=\"relative\")}),[]);var ae=-1;function le(e){var t=0;if(void 0!==e.offsetParent&&e.offsetParent){for(;e.offsetParent;)t+=e.offsetTop,e=e.offsetParent;t+=e.offsetTop}else e.y&&(t+=e.y);return t}var re=(0,a.useState)(0),ie=re[0],ue=re[1];function pe(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}var de=(0,a.useCallback)((function(e){var t=e.currentTarget,n=document.getElementById(\"breadcrumb-main\"),s=(document.getElementById(\"highlights\"),pe(n));if(ie>t.scrollY){var o=document.getElementById(\"ob-product-subnav-scroll\");ae<0&&(ae=le(o)),pageYOffset>ae?(o.style.position=\"fixed\",o.style.position=s?\"inherit\":\"fixed\",o.style.top=0,o.style.zIndex=99):(o.style.top=\"auto\",o.style.position=\"relative\")}else if(ie<t.scrollY){var a=document.getElementById(\"ob-product-subnav-scroll\");ae<0&&(ae=le(a)),pageYOffset>ae?(a.style.position=s?\"inherit\":\"fixed\",a.style.top=0,a.style.zIndex=99):a.style.position=\"relative\"}ue(t.scrollY)}),[ie]);(0,a.useEffect)((function(){return ue(window.scrollY),window.addEventListener(\"scroll\",de),function(){window.removeEventListener(\"scroll\",de)}}),[de]);var ce=function(e){e.preventDefault();var t=e.currentTarget.dataset.anchorId,n=document.querySelector(t);if(n){var s=n.getBoundingClientRect().top+window.pageYOffset-150;window.scrollTo({top:s,behavior:\"smooth\"})}},ge=function(e,t,n){return fe(e,t)?(0,m.jsx)(\"li\",{children:(0,m.jsx)(\"a\",{onClick:ce,\"data-anchor-id\":t.url,href:t.url,className:(null==t?void 0:t.linkClassName)?t.linkClassName:\"event_internal_link\",\"data-action-detail\":(0,u.Vt)(t.title),children:(0,m.jsx)(\"span\",{dangerouslySetInnerHTML:{__html:b().sanitize(t.title)}})})},n):\"\"},fe=function(e,t){var n,s;switch(t.url){case\"#highlights\":case\"#ob-highlights-ctn\":return typeof e.productHighlights!==d.RH.undefined;case\"#features\":return typeof e.featuresTab!==d.RH.undefined;case\"#in-the-box\":return typeof e.inTheBox!==d.RH.undefined;case\"#gallery\":return typeof e.gallery!==d.RH.undefined;case\"#reviews\":return s=null==J||null==(n=J.current)?void 0:n.parentNode.querySelector(\"#reviews\"),typeof e.featuredQuote!==d.RH.undefined||s!==d.RH.undefined||null!==s;default:return!1}},ve=function(){var e,t,n=Q&&(null==(e=Q[oe.currentProductId])||null==(t=e.fields)?void 0:t.comingSoonLink)||q;return(0,m.jsx)(S,{tag:\"a\",disabled:\"\"===n,href:n,size:d.RH.medium,target:d.RH.blank,className:\"event_buy_now_eretailer_exit\",onClick:function(){(0,u.zb)(n)},children:U})},he=function(){var t,n,s,o,a,l,r,i,p=W?\"ob-product-sub-nav__find-a-retailer-secondary-btn-style\":\"\";return V&&!F&&(0,m.jsx)(S,{tag:W?\"a\":\"button\",textTheme:W,borderTheme:!W,size:d.RH.medium,className:\"\".concat(p,\" event_buy_now\"),dataActionDetail:(0,u.Vt)(Y.props.productOverview.fields.title),onClick:function(t){return e.onClickCallback(t)},sku:(null==B||null==(t=B.entity)||null==(n=t.productOverview)||null==(s=n.fields)?void 0:s.productVariants)&&(null==B||null==(o=B.entity)||null==(a=o.productOverview)||null==(l=a.fields)||null==(r=l.productVariants[null==oe?void 0:oe.currentProductId])||null==(i=r.fields)?void 0:i.sku),children:V})};return(0,m.jsx)(a.Suspense,{fallback:(0,m.jsx)(h.default,{}),children:(0,m.jsxs)(\"div\",{className:\"ob-product-sub-nav is-sticky product-sub-nav-scroll\",ref:J,id:\"ob-product-subnav-scroll\",children:[(0,m.jsx)(\"div\",{className:\"ob-product-sub-nav__container ob-product-sub-nav__container--mobile\",children:(0,m.jsx)(r(),{collapsed:!0,duration:500,children:function(e){var t=e.onToggle,n=e.setCollapsibleElement,s=e.range,o=e.toggleState,a=s?{opacity:Math.max(0,s)}:{opacity:1};return(0,m.jsxs)(\"div\",{className:\"ob-product-sub-nav__top\",children:[(0,m.jsx)(\"h2\",{className:\"ob-product-sub-nav__title\",children:(0,m.jsxs)(\"button\",{className:\"event_menu_click\",\"aria-hidden\":\"false\",\"aria-expanded\":o!==d.RH.Collapsed&&o!==d.RH.Collapsing,\"data-action-detail\":c.k.dropdownMenu,onClick:function(){var e;t(),e=window.pageYOffset,$(te>e),ne(e)},children:[(0,m.jsx)(\"span\",{dangerouslySetInnerHTML:{__html:b().sanitize(Y.props.productOverview.fields.title)}}),o===d.RH.Collapsed||o===d.RH.Collapsing?(0,m.jsx)(x,{name:d.RH.chevronDown,color:\"#3D3D41\"}):(0,m.jsx)(x,{name:d.RH.chevronTop,color:\"#3D3D41\"})]})}),(0,m.jsxs)(\"div\",{className:\"ob-product-sub-nav__ob-btn-section\",children:[W&&(0,m.jsxs)(\"div\",{children:[ve(),Z&&(0,m.jsx)(\"p\",{className:\"ob-product-sub-nav__powered-by-label\",children:Z})]}),he()]}),(0,m.jsx)(\"ul\",{ref:n,className:\"ob-page-navigation__list\",style:a,children:z.getFieldValue(d.RH.links).map((function(e,t){return ge(Y.props,e.fields,t)}))})]})}})}),(0,m.jsx)(a.Suspense,{fallback:(0,m.jsx)(h.default,{}),children:(0,m.jsxs)(\"div\",{className:\"ob-product-sub-nav__container ob-product-sub-nav__container--desktop\",children:[(0,m.jsxs)(\"div\",{className:\"ob-product-sub-nav__top\",children:[(0,m.jsx)(y,{className:\"ob-product-sub-nav__title\",tag:d.RH.h2,children:Y.props.productOverview.fields.title}),(0,m.jsx)(\"ul\",{className:\"ob-page-navigation__list\",children:z.getFieldValue(d.RH.links).map((function(e,t){return ge(Y.props,e.fields,t)}))})]}),(0,m.jsxs)(\"div\",{className:\"ob-product-sub-nav__ob-btn-section\",children:[W&&(0,m.jsxs)(\"div\",{children:[ve(),Z&&(0,m.jsx)(\"p\",{className:\"ob-product-sub-nav__powered-by-label\",children:Z})]}),he()]})]})})]})})}},5021:function(e,t,n){e.exports=function(e){\"use strict\";function t(e,t){for(var n=0;n<t.length;n++){var s=t[n];s.enumerable=s.enumerable||!1,s.configurable=!0,\"value\"in s&&(s.writable=!0),Object.defineProperty(e,s.key,s)}}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(e){return(o=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}e=e&&e.hasOwnProperty(\"default\")?e.default:e;var r=\"undefined\"!=typeof window?window:n.g,i=r.requestAnimationFrame?r.requestAnimationFrame.bind(r):function(e){return r.setTimeout(e,16)},u=r.cancelAnimationFrame?r.cancelAnimationFrame.bind(r):r.clearInterval.bind(r),p=Object.freeze({EXPANDED:\"EXPANDED\",COLLAPSED:\"COLLAPSED\",EXPANDING:\"EXPANDING\",COLLAPSING:\"COLLAPSING\"}),d=function(e){return e<.5?4*e*e*e:.5*Math.pow(2*e-2,3)+1},c=function(e){return e===p.EXPANDING||e===p.COLLAPSING},g=function(e){var t=e.value,n=e.max,s=void 0===n?1:n,o=e.min,a=void 0===o?0:o;return t>s?s:t<a?a:t},f=function(){return Date.now()},v=function(e){return Math.max(0,parseInt(+e,10)||0)},h=function(e){var t=e.next,n=e.prev,s=Math.abs(t-n),o=t;return s>.15&&(t>n?o-=.75*s:o+=.75*s),o},_=function(n){function r(){var e,t,n,a;!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,r);for(var u=arguments.length,d=new Array(u),_=0;_<u;_++)d[_]=arguments[_];return n=this,a=(e=o(r)).call.apply(e,[this].concat(d)),t=!a||\"object\"!=typeof a&&\"function\"!=typeof a?l(n):a,s(l(t),\"_state_\",{collapsibleElement:null,toggleState:t.props.collapsed?p.COLLAPSED:p.EXPANDED}),s(l(t),\"GET_HEIGHT\",t.props.offsetHeight?\"offsetHeight\":\"scrollHeight\"),s(l(t),\"state\",{toggleState:t._state_.toggleState,hasReversed:!1,range:t.props.collapsed?0:1,progress:t.props.collapsed?0:1}),s(l(t),\"getCollapsible\",(function(){return t._state_.collapsibleElement})),s(l(t),\"updateCollapsible\",(function(e,n){t.getCollapsible()&&(t._state_.collapsibleElement.style[e]=n)})),s(l(t),\"setCollapsibleElement\",(function(e){t._state_.collapsibleElement=e,t._state_.collapsibleElement&&(t._state_.collapsibleElement.style.overflow=\"hidden\"),t._state_.toggleState===p.COLLAPSED&&t.setCollapsedState({initialState:!0})})),s(l(t),\"toggle\",(function(){if(!t.props.irreversible||!c(t._state_.toggleState)){var e=function(){t.props.onCollapsing&&t.props.onCollapsing({range:t.state.range,progress:t.state.progress,hasReversed:t.state.hasReversed}),t.collapse()},n=function(){t.props.onExpanding&&t.props.onExpanding({range:t.state.range,progress:t.state.progress,hasReversed:t.state.hasReversed}),t.expand()},s=function(e){var n=e.toggleState,s=e.display,o=e.hasReversed;t._state_.toggleState=n,t._state_.hasReversed=!!o,void 0===s||t.props.noDisplayStyle||t.updateCollapsible(\"display\",s);var a=f();if(o){var l=t._state_.startTime,r=v(t.props.duration),i=Math.min(r,a-l),u=Math.max(0,r-i);t._state_.startTime=a-u}else{var p=t.getCollapsible();p&&p.style.height&&t.updateCollapsible(\"height\",null),t._state_.boxHeight=p?p[t.GET_HEIGHT]:0,t._state_.startTime=a,t._state_.startDirection=n}t.setState({toggleState:t._state_.toggleState,hasReversed:t._state_.hasReversed})};switch(t._state_.toggleState){case p.EXPANDED:s({toggleState:p.COLLAPSING}),e();break;case p.COLLAPSED:s({toggleState:p.EXPANDING,display:\"\"}),n();break;case p.EXPANDING:s({toggleState:p.COLLAPSING,hasReversed:!0}),e();break;case p.COLLAPSING:s({toggleState:p.EXPANDING,display:\"\",hasReversed:!0}),n()}}})),s(l(t),\"setExpandedState\",(function(){t._state_.progress=1,t._state_.toggleState=p.EXPANDED,t.updateCollapsible(\"height\",null),t.setState({toggleState:p.EXPANDED,range:1,progress:t._state_.progress}),t.props.onExpanded&&t.props.onExpanded({hasReversed:t.state.hasReversed})})),s(l(t),\"expand\",(function(){if(t._state_.toggleState===p.EXPANDING){var e=v(t.props.duration);if(e<=0)t.setExpandedState();else{var n=t._state_.startTime,s=Math.min(e,f()-n);if(s>=e)t.setExpandedState();else{var o,a=t._state_,l=a.startDirection,r=a.toggleState,i=a.boxHeight,u=g({value:s/e});o=t.props.whenReversedUseBackwardEase&&l!==r?1-t.props.easeCollapse(1-u):t.props.easeExpand(u),t.props.bestPerformance||t.setState({range:u,progress:o}),t.props.interpolateOnReverse&&t._state_.hasReversed&&(o=h({next:o,prev:t._state_.progress}));var d=Math.round(i*o);t._state_.progress=o,t.updateCollapsible(\"height\",\"\".concat(d,\"px\")),t.nextTick(t.expand)}}}})),s(l(t),\"setCollapsedState\",(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).initialState;t._state_.progress=0,t._state_.toggleState=p.COLLAPSED,t.props.noDisplayStyle?t.updateCollapsible(\"height\",\"0px\"):(t.updateCollapsible(\"display\",\"none\"),t.updateCollapsible(\"height\",null)),t.setState({toggleState:p.COLLAPSED,range:0,progress:t._state_.progress}),!e&&t.props.onCollapsed&&t.props.onCollapsed({hasReversed:t.state.hasReversed})})),s(l(t),\"collapse\",(function(){if(t._state_.toggleState===p.COLLAPSING){var e=v(t.props.duration);if(e<=0)t.setCollapsedState();else{var n=t._state_.startTime,s=Math.min(e,f()-n);if(s>=e)t.setCollapsedState();else{var o,a=t._state_,l=a.startDirection,r=a.boxHeight,i=a.toggleState,u=1-g({value:s/e}),d=t.props,c=d.whenReversedUseBackwardEase,_=d.easeExpand,b=d.easeCollapse;o=c&&l!==i?_(u):1-b(1-u),t.props.bestPerformance||t.setState({range:u,progress:o}),t.props.interpolateOnReverse&&t._state_.hasReversed&&(o=h({next:o,prev:t._state_.progress}));var m=Math.round(r*o);t._state_.progress=o,t._state_.timeout=t.nextTick(t.collapse),t.updateCollapsible(\"height\",\"\".concat(m,\"px\"))}}}})),s(l(t),\"nextTick\",(function(e){t._state_.timeout=i(e)})),t}var d,_;return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(r,e.Component),d=r,(_=[{key:\"render\",value:function(){var e={onToggle:this.toggle,toggle:this.toggle,setCollapsibleElement:this.setCollapsibleElement,toggleState:this.state.toggleState,hasReversed:this.state.hasReversed,isMoving:c(this.state.toggleState),range:this.state.range,progress:this.state.progress};return\"function\"==typeof this.props.children?this.props.children(e):this.props.render?this.props.render(e):this.props.children}},{key:\"componentDidMount\",value:function(){this.props.onMount&&this.props.onMount({toggleState:this.state.toggleState,toggle:this.toggle})}},{key:\"componentDidUpdate\",value:function(e,t){this.props.setToCollapsing&&this.props.setToCollapsing>e.setToCollapsing&&(this._state_.toggleState!==p.EXPANDED&&this._state_.toggleState!==p.EXPANDING||this.toggle()),this.props.setToExpanding&&this.props.setToExpanding>e.setToExpanding&&(this._state_.toggleState!==p.COLLAPSED&&this._state_.toggleState!==p.COLLAPSING||this.toggle())}},{key:\"componentWillUnmount\",value:function(){this.props.onUnmount&&this.props.onUnmount({toggleState:this.state.toggleState}),this._state_.timeout&&u(this._state_.timeout)}}])&&t(d.prototype,_),r}();return s(_,\"defaultProps\",{duration:300,easeCollapse:d,easeExpand:d}),_}(n(67294))}}]);"],"names":["self","webpackChunk_N_E","push","e","t","n","r","d","default","E","s","o","a","l","i","u","p","c","g","f","v","h","_","b","m","y","then","bind","loadableGenerated","webpack","S","x","Promise","resolve","w","C","N","P","O","D","R","k","L","j","A","T","H","I","G","M","X","B","extraAttributes","z","Z","Y","entity","V","props","productOverview","fields","buyNowLabel","text","F","deactivateBuyNowButton","U","comingSoonLabel","q","comingSoonLink","W","enableComingSoonLabel","poweredBy","Q","productVariants","J","useRef","K","useState","$","ee","te","ne","se","y3","oe","useEffect","document","getElementsByClassName","style","position","ae","le","offsetParent","offsetTop","re","ie","ue","de","useCallback","currentTarget","getElementById","getBoundingClientRect","top","left","bottom","window","innerHeight","documentElement","clientHeight","right","innerWidth","clientWidth","scrollY","pageYOffset","zIndex","addEventListener","removeEventListener","ce","preventDefault","dataset","anchorId","querySelector","scrollTo","behavior","ge","fe","jsx","children","onClick","url","href","className","linkClassName","Vt","title","dangerouslySetInnerHTML","__html","sanitize","productHighlights","RH","undefined","featuresTab","inTheBox","gallery","current","parentNode","featuredQuote","ve","currentProductId","tag","disabled","size","medium","target","blank","zb","he","textTheme","borderTheme","concat","dataActionDetail","onClickCallback","sku","Suspense","fallback","jsxs","ref","id","collapsed","duration","onToggle","setCollapsibleElement","range","toggleState","Collapsed","Collapsing","dropdownMenu","name","chevronDown","color","chevronTop","opacity","Math","max","getFieldValue","links","map","h2","exports","Object","defineProperty","value","enumerable","configurable","writable","setPrototypeOf","getPrototypeOf","__proto__","hasOwnProperty","requestAnimationFrame","setTimeout","cancelAnimationFrame","clearInterval","freeze","EXPANDED","COLLAPSED","EXPANDING","COLLAPSING","pow","min","Date","now","parseInt","next","prev","abs","arguments","length","call","apply","collapsibleElement","offsetHeight","_state_","hasReversed","progress","getCollapsible","overflow","setCollapsedState","initialState","irreversible","onCollapsing","state","collapse","onExpanding","expand","display","noDisplayStyle","updateCollapsible","startTime","height","boxHeight","GET_HEIGHT","startDirection","setState","onExpanded","setExpandedState","whenReversedUseBackwardEase","easeCollapse","easeExpand","bestPerformance","interpolateOnReverse","round","nextTick","onCollapsed","timeout","prototype","create","constructor","Component","key","toggle","isMoving","render","onMount","setToCollapsing","setToExpanding","onUnmount"],"sourceRoot":""}