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F,QAAA,EAAAC,SAAA,KAAAvC,eAAA,MAAAsF,cAAA,CAAAtH,IAAA,gBAAAvD,CAAA,EAAAiC,EAAA6I,SAAA,CAAA/K,CAAAA,EAAAgL,OAAA,IAAArI,EAAAsI,EAAA,EAAA9K,GAAA,IAAAyB,EAAAzB,CAAA","sources":["webpack://_N_E/./adapters/helpers/Scroll.js","webpack://_N_E/./components/MiniNavigation/MiniNavigation.js","webpack://_N_E/"],"sourcesContent":["let smoothScrollId = null;\nlet smoothScrollStartY = 0;\nlet smoothScrollDeltaY = 0;\nlet smoothScrollStartTime = 0;\nlet smoothScrollDuration = 400;\n\nexport function scrollIntoView(element, options = {}) {\n smoothScrollStartY = window.scrollY || window.pageYOffset || 0;\n smoothScrollDeltaY = element.getBoundingClientRect().top;\n\n const headerElement = document.querySelector('.zone-header');\n const productSubNavElement = document.querySelector('.ob-product-sub-nav');\n\n if (headerElement) {\n smoothScrollDeltaY -= headerElement.getBoundingClientRect().bottom;\n\n if (productSubNavElement) {\n smoothScrollDeltaY -= productSubNavElement.getBoundingClientRect().bottom;\n }\n }\n\n if (options.behavior === 'smooth' && typeof requestAnimationFrame !== 'undefined') {\n smoothScrollStartTime = Date.now();\n\n if (smoothScrollId == null) {\n smoothScrollStep();\n }\n } else {\n if (smoothScrollId != null) {\n cancelAnimationFrame(smoothScrollId);\n smoothScrollId = null;\n }\n\n window.scrollTo(window.scrollX, null);\n }\n}\n\nfunction smoothScrollStep() {\n const elapsed = Date.now() - smoothScrollStartTime;\n const t = elapsed / smoothScrollDuration;\n\n if (t < 1) {\n smoothScrollId = requestAnimationFrame(smoothScrollStep);\n window.scrollTo(window.scrollX, easeInOutQuad(t) * smoothScrollDeltaY + smoothScrollStartY);\n }\n else {\n smoothScrollId = null;\n window.scrollTo(window.scrollX, smoothScrollDeltaY + smoothScrollStartY);\n }\n}\n\nfunction easeInOutQuad(t) {\n return (t < 0.5) ? (2 * t * t) : ((4 - 2 * t) * t - 1);\n}\n","import React, { Component, Fragment } from 'react';\nimport SlideToggle from 'react-slide-toggle';\nimport Block from '../../adapters/helpers/Block';\nimport { scrollIntoView } from '../../adapters/helpers/Scroll';\nimport HierarchyUtils from '../../adapters/helpers/HierarchyUtils';\nimport dynamic from 'next/dynamic';\nconst Icon = dynamic(() =>import('../Icon/Icon'))\nimport PropTypes, { any } from 'prop-types';\nimport { mediaQueryHOC } from '../../adapters/helpers/Hooks';\nimport throttle from 'lodash/throttle';\nimport { MiniNavigationConstants, ContentConstants } from '../../adapters/helpers/Constants';\nimport { AnalyticsConstants } from '../../adapters/helpers/ConstantsGA';\nimport Modal from 'react-modal';\nimport { Label } from '../Label/Label';\nconst Image = dynamic(() =>import('../Image/Image'))\nconst ObLink = dynamic(() => import('../ObLink/ObLink'))\n\nclass MiniNavigation extends Component {\n\n _desktopBreakpoint = 992;\n constructor(props) {\n super(props);\n this.block = new Block(props);\n\n this.placeholderTitle = this.block.props.document.fields.placeholderTitle;\n this.renderHierarchy = this.renderHierarchy.bind(this);\n\n this.state = {\n isOpened: false,\n isModalOpen: false,\n closeModal: false,\n modelText: '',\n hoverImage: any,\n }\n }\n\n componentDidMount() {\n window.addEventListener(MiniNavigationConstants.resize, this.handleResizeThrottled);\n }\n\n componentWillUnmount() {\n window.removeEventListener(MiniNavigationConstants.resize, this.handleResizeThrottled);\n }\n\n closeModal = () => {\n document.documentElement.style.overflow ='auto';\n this.setState({ isModalOpen: false });\n };\n\n openModal = (hoverImage, modelText) => {\n if(modelText && modelText!==''){\n this.setState({ isModalOpen: true, modelText: modelText });\n }\n if(hoverImage){\n this.setState({ isModalOpen: true, hoverImage: hoverImage });\n }\n if(document?.documentElement && hoverImage && modelText){\n document.documentElement.style.overflow = 'hidden';\n }\n };\n\n\n handleResize() {\n let windowWidth = window.innerWidth;\n\n if (windowWidth >= this._desktopBreakpoint && this.state.isOpened) {\n this.setState({\n isOpened: false,\n });\n }\n }\n\n handleResizeThrottled = throttle(this.handleResize.bind(this), 100);\n\n renderHierarchy(onClickHandler) {\n const hierarchy = this.block.getFieldValue(MiniNavigationConstants.hierarchy);\n const entity = this.props.extraAttributes?.entity;\n const className = this.block.getFieldValue(ContentConstants.classNames);\n const contentOptions = this.block.getFieldValue(ContentConstants.contentOptions);\n let destinations = hierarchy?.fields?.destinations;\n const shownIcon = hierarchy?.fields?.type;\n const isFullBioDescription = hierarchy?.fields?.isFullBioDescription;\n if(!destinations && entity) {\n const { relatedLinks } = entity;\n destinations = relatedLinks;\n }\n const { isXSmall, isSmall } = this.props;\n const isMobile = isXSmall || isSmall;\n const customModalStyles = {\n overlay: {\n backgroundColor: 'transparent',\n zIndex: 200\n },\n content: {\n border: 'none',\n top: '50%',\n left: '50%',\n right: 'auto',\n bottom: 'auto',\n fontSize: '1.4rem',\n lineHeight: '2.1rem',\n marginRight: '-50%',\n transform: 'translate(-50%, -50%)',\n maxWidth: isMobile ? '90%' : '70%',\n maxHeight: isMobile ? '85%' : '80%',\n backgroundColor: 'white'\n }\n };\n\n const scrollToView = (sectionId) => {\n const section = document.getElementById(`${sectionId}`);\n section && section.scrollIntoView();\n };\n\n const renderTileMenus = () => {\n return
\n {contentOptions.map(contentOption => {\n const option = contentOption?.fields;\n return (\n scrollToView(option?.ctaUrl)} key={option?.name} href={`#${option?.ctaUrl}`} className={Label({ label: option?.class })}>\n {option?.icon && }\n {option?.description &&

{option?.description}

}\n {option?.subIcon && }\n
)\n })}\n
;\n };\n\n return (\n \n {destinations &&\n \n }\n {contentOptions && renderTileMenus()}\n \n )\n }\n onClickHandlerBtnIcon(event,currentTarget) {\n event.preventDefault();\n if (currentTarget) {\n const currentURL = currentTarget?.fields?.url;\n const type = currentTarget?.fields?.type;\n if(currentURL !== '_blank' && type!=='external') {\n const element = document.querySelector(currentURL);\n scrollIntoView(element, { behavior: MiniNavigationConstants.smooth });\n } else if(type === 'external') {\n window.open(currentURL);\n }\n }\n }\n onClickHandler(event) {\n event.preventDefault();\n const currentTarget = event.currentTarget;\n if (currentTarget) {\n const anchorId = currentTarget.getAttribute(MiniNavigationConstants.href);\n if(currentTarget.getAttribute(MiniNavigationConstants.target) !== '_blank') {\n const element = document.querySelector(anchorId);\n scrollIntoView(element, { behavior: MiniNavigationConstants.smooth });\n } else if(currentTarget.getAttribute(MiniNavigationConstants.target) === '_blank') {\n const target = currentTarget.getAttribute(MiniNavigationConstants.target);\n window.open(anchorId, target);\n }\n }\n }\n\n render() {\n const hierarchy = this.block.getFieldValue(MiniNavigationConstants.hierarchy);\n let isEmpty = !hierarchy?.fields?.destinations && !this.props.extraAttributes?.entity?.relatedLinks ? 'empty' : '';\n const iscollapsibleElement = this.props?.document?.fields?.collapsibleElement;\n const className = this.block.getFieldValue(MiniNavigationConstants.classNames);\n const greyBackground = this.block.getFieldValue(MiniNavigationConstants.backgroundGrey) ? 'grey-background' : '';\n\n return (\n
\n {(this.props.isLarge && isEmpty !== 'empty' && !iscollapsibleElement) ? (\n {\n this.setState({ isOpened: true })\n }}\n onCollapsing={() => {\n this.setState({ isOpened: false })\n }}>\n {({ onToggle, setCollapsibleElement }) => (\n \n \n\n
\n {this.renderHierarchy(this.onClickHandler.bind(this))}\n
\n
\n )}\n \n ) : (\n \n {this.renderHierarchy(this.onClickHandler.bind(this))}\n \n )}\n
\n )\n }\n}\n\nexport default mediaQueryHOC(MiniNavigation);\n// This export is for unit testing (do not remove) :\nexport const MiniNavigationTest = MiniNavigation;\n\nMiniNavigation.propTypes = {\n extraAttributes: PropTypes.object,\n entity: PropTypes.object,\n isLarge: PropTypes.bool,\n isXSmall: PropTypes.bool,\n isSmall: PropTypes.bool,\n document: PropTypes.object,\n};\n","\"use strict\";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6832],{55891:function(e,n,t){t.d(n,{z:function(){return s}});var l=null,o=0,i=0,r=0;function s(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};o=window.scrollY||window.pageYOffset||0,i=e.getBoundingClientRect().top;var t=document.querySelector(\".zone-header\"),s=document.querySelector(\".ob-product-sub-nav\");t&&(i-=t.getBoundingClientRect().bottom,s&&(i-=s.getBoundingClientRect().bottom)),\"smooth\"===n.behavior&&\"undefined\"!=typeof requestAnimationFrame?(r=Date.now(),null==l&&a()):(null!=l&&(cancelAnimationFrame(l),l=null),window.scrollTo(window.scrollX,null))}function a(){var e=(Date.now()-r)/400;e<1?(l=requestAnimationFrame(a),window.scrollTo(window.scrollX,function(e){return e<.5?2*e*e:(4-2*e)*e-1}(e)*i+o)):(l=null,window.scrollTo(window.scrollX,i+o))}},16832:function(e,n,t){t.r(n),t.d(n,{MiniNavigationTest:function(){return A}});var l=t(33227),o=t.n(l),i=t(88361),r=t.n(i),s=t(92191),a=t.n(s),c=t(85971),d=t.n(c),u=t(52715),h=t.n(u),v=t(91193),m=t.n(v),p=t(67294),f=t(5021),b=t.n(f),g=t(40483),k=t(55891),x=t(51926),w=t(5152),y=t.n(w),M=t(45697),j=t(71357),_=t(23493),C=t.n(_),N=t(24036),O=t(75176),T=t(83253),I=t.n(T),R=t(44291),S=t(85893);function B(e){var n=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,l=m()(e);if(n){var o=m()(this).constructor;t=Reflect.construct(l,arguments,o)}else t=l.apply(this,arguments);return h()(this,t)}}var D=y()((function(){return Promise.resolve().then(t.bind(t,80713))}),{loadableGenerated:{webpack:function(){return[80713]}}}),F=y()((function(){return Promise.resolve().then(t.bind(t,48084))}),{loadableGenerated:{webpack:function(){return[48084]}}}),H=y()((function(){return t.e(1769).then(t.bind(t,61769))}),{loadableGenerated:{webpack:function(){return[61769]}}}),z=function(e){d()(t,e);var n=B(t);function t(e){var l;return o()(this,t),(l=n.call(this,e))._desktopBreakpoint=992,l.closeModal=function(){document.documentElement.style.overflow=\"auto\",l.setState({isModalOpen:!1})},l.openModal=function(e,n){var t;n&&\"\"!==n&&l.setState({isModalOpen:!0,modelText:n}),e&&l.setState({isModalOpen:!0,hoverImage:e}),(null==(t=document)?void 0:t.documentElement)&&e&&n&&(document.documentElement.style.overflow=\"hidden\")},l.handleResizeThrottled=C()(l.handleResize.bind(a()(l)),100),l.block=new g.Z(e),l.placeholderTitle=l.block.props.document.fields.placeholderTitle,l.renderHierarchy=l.renderHierarchy.bind(a()(l)),l.state={isOpened:!1,isModalOpen:!1,closeModal:!1,modelText:\"\",hoverImage:M.any},l}return r()(t,[{key:\"componentDidMount\",value:function(){window.addEventListener(N.rM.resize,this.handleResizeThrottled)}},{key:\"componentWillUnmount\",value:function(){window.removeEventListener(N.rM.resize,this.handleResizeThrottled)}},{key:\"handleResize\",value:function(){window.innerWidth>=this._desktopBreakpoint&&this.state.isOpened&&this.setState({isOpened:!1})}},{key:\"renderHierarchy\",value:function(e){var n,t,l,o,i=this,r=this.block.getFieldValue(N.rM.hierarchy),s=null==(n=this.props.extraAttributes)?void 0:n.entity,a=this.block.getFieldValue(N.Kd.classNames),c=this.block.getFieldValue(N.Kd.contentOptions),d=null==r||null==(t=r.fields)?void 0:t.destinations,u=null==r||null==(l=r.fields)?void 0:l.type,h=null==r||null==(o=r.fields)?void 0:o.isFullBioDescription;!d&&s&&(d=s.relatedLinks);var v=this.props,m=v.isXSmall,f=v.isSmall,b=m||f,g={overlay:{backgroundColor:\"transparent\",zIndex:200},content:{border:\"none\",top:\"50%\",left:\"50%\",right:\"auto\",bottom:\"auto\",fontSize:\"1.4rem\",lineHeight:\"2.1rem\",marginRight:\"-50%\",transform:\"translate(-50%, -50%)\",maxWidth:b?\"90%\":\"70%\",maxHeight:b?\"85%\":\"80%\",backgroundColor:\"white\"}};return(0,S.jsxs)(p.Fragment,{children:[d&&(0,S.jsx)(\"ul\",{className:\"ob-mini-nav__list\",children:d.map((function(n,t){var l,o,r,s;return(0,S.jsxs)(p.Fragment,{children:[(0,S.jsxs)(\"li\",{className:\"ob-mini-nav__list-item\",onClick:function(){var e,t;return i.openModal(null==n||null==(e=n.fields)?void 0:e.hoverImage,null==n||null==(t=n.fields)?void 0:t.fullBioDescription)},\"data-index\":t,children:[x.Z.renderDestination(n,null,null,e),u===N.rM.downArrow&&(0,S.jsx)(\"div\",{className:\"chrevonDown-IconAlign\",onClick:function(e){return i.onClickHandlerBtnIcon(e,n)},children:(0,S.jsx)(D,{name:N.rM.chevronDown})}),h&&(0,S.jsxs)(\"div\",{className:\"bio-card-text full-bio\",children:[(0,S.jsx)(\"p\",{children:u}),(0,S.jsx)(\"div\",{className:\"nav-bar\"}),(0,S.jsx)(\"div\",{className:\"chrevonDown-IconAlign\",children:(0,S.jsx)(\"div\",{className:\"arrow-up \"})})]})]},t),(null==n||null==(l=n.fields)?void 0:l.fullBioDescription)&&(0,S.jsxs)(I(),{isOpen:i.state.isModalOpen,onRequestClose:i.closeModal,style:g,children:[(0,S.jsx)(\"div\",{className:\"bio-close-button\",onClick:i.closeModal,children:\"X\"}),(0,S.jsx)(\"div\",{dangerouslySetInnerHTML:{__html:i.state.modelText}})]}),(null==n||null==(o=n.fields)?void 0:o.isPopupImageNeed)&&(null==n||null==(r=n.fields)?void 0:r.fullBioDescription)&&(0,S.jsxs)(I(),{isOpen:i.state.isModalOpen,onRequestClose:i.closeModal,style:g,children:[(0,S.jsx)(\"div\",{className:\"bio-close-button\",onClick:i.closeModal,children:\"X\"}),(0,S.jsx)(F,{image:null==(s=i.state)?void 0:s.hoverImage}),(0,S.jsx)(\"div\",{dangerouslySetInnerHTML:{__html:i.state.modelText}})]})]})}))}),c&&(0,S.jsx)(\"div\",{className:\"content-options \".concat(a),children:c.map((function(e){var n=null==e?void 0:e.fields;return(0,S.jsxs)(H,{style:{cursor:\"pointer\"},onClick:function(){return e=null==n?void 0:n.ctaUrl,void((t=document.getElementById(\"\".concat(e)))&&t.scrollIntoView());var e,t},href:\"#\".concat(null==n?void 0:n.ctaUrl),className:(0,R.Label)({label:null==n?void 0:n.class}),children:[(null==n?void 0:n.icon)&&(0,S.jsx)(F,{className:\"post-purchase-hero-section__icon\",image:null==n?void 0:n.icon}),(null==n?void 0:n.description)&&(0,S.jsx)(\"p\",{className:\"post-purchase-hero-section__description\",children:null==n?void 0:n.description}),(null==n?void 0:n.subIcon)&&(0,S.jsx)(F,{className:\"post-purchase-hero-section__sub-icon\",image:null==n?void 0:n.subIcon})]},null==n?void 0:n.name)}))})]})}},{key:\"onClickHandlerBtnIcon\",value:function(e,n){if(e.preventDefault(),n){var t,l,o=null==n||null==(t=n.fields)?void 0:t.url,i=null==n||null==(l=n.fields)?void 0:l.type;if(\"_blank\"!==o&&\"external\"!==i){var r=document.querySelector(o);(0,k.z)(r,{behavior:N.rM.smooth})}else\"external\"===i&&window.open(o)}}},{key:\"onClickHandler\",value:function(e){e.preventDefault();var n=e.currentTarget;if(n){var t=n.getAttribute(N.rM.href);if(\"_blank\"!==n.getAttribute(N.rM.target)){var l=document.querySelector(t);(0,k.z)(l,{behavior:N.rM.smooth})}else if(\"_blank\"===n.getAttribute(N.rM.target)){var o=n.getAttribute(N.rM.target);window.open(t,o)}}}},{key:\"render\",value:function(){var e,n,t,l,o,i,r=this,s=this.block.getFieldValue(N.rM.hierarchy),a=(null==s||null==(e=s.fields)?void 0:e.destinations)||(null==(n=this.props.extraAttributes)||null==(t=n.entity)?void 0:t.relatedLinks)?\"\":\"empty\",c=null==(l=this.props)||null==(o=l.document)||null==(i=o.fields)?void 0:i.collapsibleElement,d=this.block.getFieldValue(N.rM.classNames),u=this.block.getFieldValue(N.rM.backgroundGrey)?\"grey-background\":\"\";return(0,S.jsx)(\"div\",{className:\"ob-mini-nav \".concat(d||\"\",\" \").concat(u||\"\",\" \").concat(a),children:this.props.isLarge&&\"empty\"!==a&&!c?(0,S.jsx)(b(),{collapsed:!0,duration:500,onExpanding:function(){r.setState({isOpened:!0})},onCollapsing:function(){r.setState({isOpened:!1})},children:function(e){var n=e.onToggle,t=e.setCollapsibleElement;return(0,S.jsxs)(p.Fragment,{children:[(0,S.jsxs)(\"button\",{className:\"ob-mini-nav__title event_menu_click\",\"aria-expanded\":r.state.isOpened,\"data-action-detail\":O.k.dropdownMenu,onClick:n,children:[(0,S.jsx)(\"span\",{children:r.placeholderTitle}),(0,S.jsx)(\"span\",{className:\"\".concat(r.state.isOpened?\"is-open \":\"\",\"ob-mini-nav__icon\"),children:(0,S.jsx)(D,{name:N.rM.chevronDown})})]}),(0,S.jsx)(\"div\",{ref:t,children:r.renderHierarchy(r.onClickHandler.bind(r))})]})}}):(0,S.jsx)(p.Fragment,{children:this.renderHierarchy(this.onClickHandler.bind(this))})})}}]),t}(p.Component);n.default=(0,j.Ui)(z);var A=z}}]);"],"names":["self","webpackChunk_N_E","push","e","n","t","d","z","s","l","o","i","r","arguments","length","window","scrollY","pageYOffset","getBoundingClientRect","top","document","querySelector","bottom","behavior","requestAnimationFrame","Date","now","a","scrollTo","scrollX","cancelAnimationFrame","MiniNavigationTest","A","c","u","h","v","m","p","f","b","g","k","x","w","y","M","j","_","C","N","O","T","I","R","S","D","Promise","resolve","then","bind","loadableGenerated","webpack","F","H","Reflect","construct","sham","Proxy","Boolean","prototype","valueOf","call","constructor","apply","_desktopBreakpoint","closeModal","documentElement","style","overflow","setState","isModalOpen","openModal","modelText","hoverImage","handleResizeThrottled","handleResize","block","Z","placeholderTitle","props","fields","renderHierarchy","state","isOpened","any","key","value","addEventListener","rM","resize","removeEventListener","innerWidth","getFieldValue","hierarchy","extraAttributes","entity","Kd","classNames","contentOptions","destinations","type","isFullBioDescription","relatedLinks","isXSmall","isSmall","overlay","backgroundColor","zIndex","content","border","left","right","fontSize","lineHeight","marginRight","transform","maxWidth","maxHeight","jsxs","Fragment","children","jsx","className","map","onClick","fullBioDescription","renderDestination","downArrow","onClickHandlerBtnIcon","name","chevronDown","isOpen","onRequestClose","dangerouslySetInnerHTML","__html","isPopupImageNeed","image","concat","cursor","ctaUrl","getElementById","scrollIntoView","href","Label","label","class","icon","description","subIcon","preventDefault","url","smooth","open","currentTarget","getAttribute","target","collapsibleElement","backgroundGrey","isLarge","collapsed","duration","onExpanding","onCollapsing","onToggle","setCollapsibleElement","dropdownMenu","ref","onClickHandler","Component","default","Ui"],"sourceRoot":""}