\n );\n}\n","import React, { useState, useEffect, useRef, useContext } from 'react';\nimport PropTypes from 'prop-types';\nimport Link from 'components/Link';\nimport ReductLogo from 'assets/images/reduct-logo.svg';\nimport ReductLogoWithoutText from 'assets/images/logos/reduct-white-logo-nav.svg';\n\nimport mobileBarBlue from 'assets/images/mobile-bar-blue.svg';\nimport mobileBarWhite from 'assets/images/mobile-bar-white.svg';\nimport CloseBlue from 'assets/images/close-blue.svg';\nimport DownCaret from 'assets/images/down-caret.svg';\n\nimport { NAV_ITEMS } from 'constants/navigation/navItems';\n\nimport NavAccordion from '../NavAccordion';\nimport NavDrawer from '../NavDrawer';\nimport ReductVideoSignUpButton from '../ReductVideoSignUpButton';\n\nimport { CalendlyPopup } from '../../utils/CalendarlyPopup';\nimport { FlagsContext } from '../../context/FlagsContext';\n\nconst signInHandler = (e) => {\n const host = window.location.hostname;\n if (host.endsWith('.distill.video')) {\n e.target.href = `https://dev.distill.video`;\n }\n};\n\nconst SubNavItems = ({ subItems }) => {\n return (\n