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P,KAAcC,OAAOK,aAAaG,QAAQN,EADb,EAGlBzP,EAAoB,WAC/BsP,KAAeC,OAAOK,aAAaO,WAAWV,EAC/C,C,sBC/BD,wpF","sources":["webpack://opt-in-portal/./src/components/common/AnalyticsPageMeta/styles.ts","webpack://opt-in-portal/./src/components/common/AnalyticsPageMeta/index.tsx","webpack://opt-in-portal/./src/components/common/SEO/index.tsx","webpack://opt-in-portal/./src/components/common/PrivateRoute/index.tsx","webpack://opt-in-portal/./src/components/common/PrivateHead/index.tsx","webpack://opt-in-portal/./src/contexts/test-taker-payment.tsx","webpack://opt-in-portal/./src/contexts/wizard.tsx","webpack://opt-in-portal/./src/hooks/useFindManyProducts.ts","webpack://opt-in-portal/./src/hooks/use-step.ts","webpack://opt-in-portal/./src/hooks/use-page-title.ts","webpack://opt-in-portal/./src/hooks/use-line-items.ts","webpack://opt-in-portal/./src/hooks/use-site-metadata.ts","webpack://opt-in-portal/./src/styles/global.js","webpack://opt-in-portal/./src/utils/constants/styles.js","webpack://opt-in-portal/./src/utils/services/auth.js","webpack://opt-in-portal/./src/assets/images/everlywellLogo.svg"],"sourcesContent":["import styled from 'styled-components';\n\nconst Hidden = styled.div`\n display: none;\n`;\n\nexport { Hidden };\n","import React from 'react';\n\nimport * as S from './styles';\n\ninterface Props {\n pageName: string;\n customData?: object;\n}\n\nconst AnalyticsPageMeta = (props: Props) => {\n return (\n \n );\n};\n\nexport default AnalyticsPageMeta;\n","/**\n * SEO component that queries for data with\n * Gatsby's useStaticQuery React hook\n *\n * See: https://www.gatsbyjs.org/docs/use-static-query/\n */\n\nimport { useSiteMetadata } from 'hooks/use-site-metadata';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\ninterface Props {\n description: string;\n title: string;\n}\n\nfunction SEO({ description, title: defaultTitle }: Props) {\n const siteMetadata = useSiteMetadata();\n\n const metaDescription = description || siteMetadata?.description || '';\n const title = `${defaultTitle} | ${siteMetadata?.title || ''}`;\n\n return (\n <>\n {/* General tags */}\n {defaultTitle && {title}}\n \n {/* OpenGraph tags */}\n \n \n \n {/* Twitter Card tags */}\n \n \n \n \n {/* NOTE: OSANO SCRIPT MUST BE THE FIRST LOADED SCRIPT IN ORDER TO PROPERLY BLOCK LOADING OF COOKIES */}\n \n \n \n );\n}\n\nSEO.defaultProps = {\n description: ``,\n title: '',\n};\n\nSEO.propTypes = {\n description: PropTypes.string,\n title: PropTypes.string.isRequired,\n};\n\nexport default SEO;\n","import { AnalyticsPageMeta } from 'components/common';\nimport { navigate } from 'gatsby';\nimport React from 'react';\nimport { isInnerNavigate, initInnerNavigate } from 'utils/services/auth';\n\ninterface Props {\n component: React.ElementType;\n location: typeof window.location;\n analyticsPageName: string;\n}\n\nconst PrivateRoute = ({ component: Component, location, analyticsPageName, ...rest }: Props) => {\n if (!isInnerNavigate() && location.pathname !== ``) {\n navigate('/');\n\n return null;\n }\n\n initInnerNavigate();\n\n return (\n <>\n \n \n \n );\n};\n\nexport default PrivateRoute;\n","import { SEO } from 'components/common';\nimport React from 'react';\n\ninterface Props {\n location: typeof window.location;\n}\n\nconst TEST_TAKER_PAGE_TITLES: Record = {\n '/app/payment-steps/personal-info': 'Personal Information',\n '/app/payment-steps/available-tests': 'Available Tests',\n '/app/payment-steps/payment': 'Shipping & Payment Information',\n '/app/payment-steps/review-order': 'Review Your Order',\n '/app/payment-steps/success': 'Order Placed',\n};\n\nconst PrivateHead = ({ location }: Props) => {\n let title = '';\n\n if (location.pathname.includes('/payment-steps')) {\n title = TEST_TAKER_PAGE_TITLES[location.pathname] ?? '';\n }\n\n if (location.pathname.includes('/app/order-placed')) {\n title = 'Order Placed';\n }\n\n if (location.pathname.includes('/app/wizard')) {\n title = 'Personal Information';\n }\n\n return ;\n};\n\nexport default PrivateHead;\n","import { useLocation } from '@reach/router';\nimport React, { useState } from 'react';\n// local imports\nimport { deliveryOptionFormat } from 'utils/helpers';\nimport { STANDARD_SHIPPING } from 'utils/constants';\n\nexport const TestTakerPaymentContext = React.createContext(null!);\n\nexport const TestTakerPaymentProvider = ({ children }: { children: React.ReactNode }) => {\n const location = useLocation();\n const state = location?.state as Partial;\n\n const defaultShippingMethod = state?.shippingMethods?.find((shippingMethod) => {\n return shippingMethod.id === STANDARD_SHIPPING;\n })\n\n const DEFAULT_SHIPPING_METHOD = deliveryOptionFormat(defaultShippingMethod!);\n const [selectedShippingMethod, setSelectedShippingMethod] = useState(DEFAULT_SHIPPING_METHOD);\n\n const [lineItems, setLineItems] = useState(state?.lineItems!);\n\n const updateShippingMethod: TestTakerContext[\"updateShippingMethod\"] = (shippingMethod) => {\n const method = shippingMethod ?? DEFAULT_SHIPPING_METHOD;\n\n setSelectedShippingMethod(method);\n };\n\n return (\n \n {children}\n \n );\n};\n","import { useLocation } from '@reach/router';\nimport React, { useState, useEffect } from 'react';\nexport const WizardContext = React.createContext(null!);\n\nexport const WizardProvider = ({ children }: { children: React.ReactNode }) => {\n const location = useLocation();\n const state = location?.state as Partial;\n\n const initialState: EnterpriseWizardState = {\n // Personal Information step\n firstName: '',\n lastName: '',\n birthday: '',\n email: '',\n userId: '',\n userConfirmId: '',\n userIdLabel: '',\n biologicalSex: '',\n\n // Shipping Information step\n address1: '',\n address2: '',\n city: '',\n state: 'Select State',\n zipcode: '',\n phone: '',\n shippingId: null,\n deliveryOptions: [],\n\n // Order Placement\n orderNumber: '',\n orderEmail: '',\n kitSelectionEnabled: false,\n\n // Products\n lineItems: [],\n allowedQuantityPerProduct: null,\n\n // Quota\n isQuotaFull: false,\n enterpriseClientId: null,\n\n // Unique ID Validation\n tenantName: '',\n uniqueIdValidationEnabled: false,\n\n // Auto Register\n autoRegisterOrders: false,\n\n // Contentful Ids\n contentfulProductIds: [],\n\n configValues: {\n email_required: true,\n phone_required: false,\n },\n };\n\n useEffect(() => {\n const shippingMethods = state?.shippingMethods ?? [];\n const selectedId = shippingMethods.length === 1 ? shippingMethods[0].id : null;\n const productIds = state?.productIds || [];\n const lineItems = productIds.map((id) => ({ product_id: id, quantity: 1 }));\n\n setWizard({\n lineItems,\n deliveryOptions: shippingMethods,\n shippingId: selectedId,\n enterpriseClientId: state?.enterpriseClientId,\n tenantName: state?.tenantName,\n uniqueIdValidationEnabled: state?.uniqueIdValidationEnabled,\n autoRegisterOrders: state?.autoRegisterOrders,\n contentfulProductIds: state?.contentfulProductIds,\n configValues: {\n email_required: true,\n phone_required: state?.configValues?.phone_required ?? false,\n },\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n const [wizardState, setWizardState] = useState(initialState);\n\n const name = `${wizardState.firstName} ${wizardState.lastName}`;\n\n const setWizard: EnterpriseWizardContext[\"setWizard\"] = (wizardData: Partial) => {\n setWizardState({ ...wizardState, ...wizardData });\n };\n\n const setLineItems: EnterpriseWizardContext[\"setLineItems\"] = (updatedLineItems: LineItem[]) => {\n setWizard({ lineItems: updatedLineItems });\n };\n\n return (\n \n {children}\n \n );\n};\n","import { graphql, useStaticQuery } from 'gatsby';\nimport { IGatsbyImageData } from \"gatsby-plugin-image\"\n\n\ninterface Marker {\n title: string;\n description: {\n description: string;\n };\n}\n\ninterface ProductData {\n products: {\n nodes: Product[]\n }\n}\n\n// temporary workaround on data fetch\nconst useFindManyProducts = ({ productIds }: { productIds: number[] }) => {\n const data: ProductData = useStaticQuery(graphql`\n query {\n products: allContentfulProduct(filter: { productId: { nin: [null] } }) {\n nodes {\n id\n productId\n displayName\n longDescription {\n longDescription\n }\n shortDescription\n productCardImage {\n gatsbyImageData(layout: FULL_WIDTH)\n }\n boxImage {\n gatsbyImageData(layout: FULL_WIDTH)\n }\n markerList {\n markers {\n title\n description {\n description\n }\n }\n }\n }\n }\n }\n `);\n // Return the first Product per ProductID\n let res = [] as Product[];\n [...new Set(productIds)].forEach((productId) => {\n const product = data?.products?.nodes?.find(({ productId: id }) => id === productId)\n if (product) {\n res.push(product)\n }\n });\n return (res);\n};\n\nexport default useFindManyProducts;\n","import { useState } from \"react\"\n\n\nconst useStep = ({ initialStep = 0, steps }: { initialStep?: number, steps: string[] }) => {\n const [index, setStep] = useState(initialStep)\n\n const currentStep = index\n const step = steps[index]\n\n const totalSteps = steps.length\n\n const deltaSetStep = (delta = 1) => {\n const newStep = (index + totalSteps + delta) % totalSteps\n\n setStep(newStep)\n }\n\n // Build navigation callback functions.\n const navigation = {\n goToNextStep: () => {\n deltaSetStep(1)\n },\n\n goToPreviousStep: () => {\n deltaSetStep(-1)\n },\n\n goToStep: (newStep: number) => {\n setStep(newStep)\n },\n }\n\n return {\n currentStep,\n step,\n navigation,\n\n isFirstStep: index === 0,\n isLastStep: index === totalSteps - 1,\n\n hasNextStep: index < totalSteps - 1,\n hasPrevStep: index > 0,\n }\n}\n\nexport default useStep\n","import { useSiteMetadata } from 'hooks/use-site-metadata';\nimport { useEffect } from 'react';\nimport { canUseDOM } from 'utils/helpers';\n\n/*\n NOTE: The goal of this hook is to offer an alternative to pages\n where using the Gatsby Head API is not an option.\n*/\n\nconst usePageTitle = (title: string) => {\n const siteMetadata = useSiteMetadata();\n const documentTitle = `${title} | ${siteMetadata?.title}`;\n\n useEffect(() => {\n // Checks if hooks is running on a browser\n if (!canUseDOM) return;\n\n // Add page title\n document.title = title ? documentTitle : '';\n\n return () => {\n /* Remove title tag when unmounting component */\n document.querySelector('title')?.remove();\n };\n }, [title, documentTitle]);\n\n return { title, documentTitle };\n};\n\nexport default usePageTitle;\n","// local imports\nimport { TestTakerPaymentContext } from 'contexts/test-taker-payment';\nimport { WizardContext } from 'contexts/wizard';\nimport { useContext } from 'react';\nimport { OVERNIGHT_SHIPPING_MAX_ORDERABLE } from 'utils/constants';\n\ntype ContextType = EnterpriseWizardContext | TestTakerContext;\n\nconst useLineItems = (source?: string) => {\n const Context =\n source === 'enterprise' ? WizardContext : TestTakerPaymentContext;\n\n const { lineItems, setLineItems } = useContext(Context as React.Context);\n\n const updateLineItem = (quantity: number, productId: number) => {\n const foundProduct = lineItems.find(\n (item) => item.product_id === productId,\n );\n\n const products = [...lineItems];\n const productIndex = foundProduct ? products.indexOf(foundProduct) : -1;\n\n if (productIndex === -1) {\n products.push({ product_id: productId, quantity: Number(quantity) });\n } else {\n products[productIndex] = {\n ...products[productIndex],\n quantity: Number(quantity),\n };\n }\n\n setLineItems(products);\n };\n\n const shouldDisableOvernightShipping = () => {\n const orderTotalTestsNumber = lineItems.reduce((total: number, currentItem) => {\n return total + currentItem.quantity;\n }, 0);\n\n return orderTotalTestsNumber > OVERNIGHT_SHIPPING_MAX_ORDERABLE;\n };\n\n return {\n lineItems,\n updateLineItem,\n shouldDisableOvernightShipping,\n };\n};\n\nexport default useLineItems;\n","import { graphql, useStaticQuery } from 'gatsby';\n\ninterface SiteData {\n site: {\n siteMetadata: {\n author: string | null;\n description: string | null;\n title: string | null;\n }\n }\n}\n\nexport const useSiteMetadata = () => {\n const {\n site: { siteMetadata },\n }: SiteData = useStaticQuery(\n graphql`\n query {\n site {\n siteMetadata {\n author\n description\n title\n }\n }\n }\n `,\n );\n\n return siteMetadata;\n};\n","import {\n typography,\n Container,\n size,\n colors,\n mediaQueries,\n} from '@everlywell/leaves';\nimport styled, { createGlobalStyle } from 'styled-components';\nimport ariesTheme from 'utils/constants/styles';\n\nconst GlobalStyle = createGlobalStyle`\n html, body, div, span, applet, object, iframe,\n h1, h2, h3, h4, h5, h6, p, blockquote, pre,\n a, abbr, acronym, address, big, cite, code,\n del, dfn, em, img, ins, kbd, q, s, samp,\n small, strike, strong, tt, var,\n b, u, i, center,\n dl, dt, dd, ol, ul, li,\n fieldset, form, label, legend,\n table, caption, tbody, tfoot, thead, tr, th, td,\n article, aside, canvas, details, embed,\n figure, figcaption, footer, header, hgroup,\n menu, nav, output, ruby, section, summary,\n time, mark, audio, video {\n margin: 0;\n padding: 0;\n border: 0;\n font-size: 100%;\n vertical-align: baseline;\n font-family: ${typography.type.dmSans};\n }\n\n article, aside, details, figcaption, figure,\n footer, header, hgroup, menu, nav, section {\n display: block;\n }\n\n * {\n box-sizing: border-box;\n -webkit-font-smoothing: antialiased;\n }\n\n body {\n background: ${(props) => props.theme.pageBackground};\n ${mediaQueries.forTabletVerticalDown} {\n background: ${colors.white};\n }\n font-size: 100%;\n font-variant-ligatures: none;\n text-rendering: optimizeLegibility;\n font-family: \"DM Sans\", \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n font-weight: ${typography.weight.regular};\n color: rgb(${ariesTheme.primaryTextColor});\n }\n\n img {\n display: block;\n \twidth: 100%;\n \theight: auto;\n }\n\n button,\n input {\n font-family: inherit;\n font-size: inherit;\n }\n\n ul {\n list-style-type: none;\n }\n\n .ReactModal__Body--open {\n overflow: hidden;\n }\n\n .ReactModal__Overlay {\n backdrop-filter: blur(3px);\n }\n\n [id*='error'] {\n margin-bottom: 4px;\n }\n`;\n\nconst MainContainerWrapper = styled(Container)`\n ${mediaQueries.forTabletHorizontalUp} {\n padding-left: ${size.xl2}px;\n padding-right: ${size.xl2}px;\n }\n`;\n\nexport default GlobalStyle;\nexport { MainContainerWrapper };\n","// 2019 branding colors\n// source: http://chir.ag/projects/name-that-color\n\nconst breakpoints = {\n forPhoneOnly: 599,\n forTabletVerticalUp: 600,\n forTabletVerticalDown: 899,\n forTabletHorizontalUp: 900,\n forTabletHorizontalDown: 1199,\n forDesktopUp: 1200,\n forDesktopDown: 1799,\n forBigDesktopUp: 1800,\n};\n\nconst fallbackFont = 'Helvetica, Arial, sans-serif';\n\nconst fonts = {\n fontFamily: 'AvenirNext-Regular, Helvetica, Arial, sans-serif',\n fontFamilyMd: 'AvenirNext-Medium, Helvetica, Arial, sans-serif',\n fontFamilyDemiBold: 'AvenirNext-DemiBold, Helvetica, Arial, sans-serif',\n fontFamilyBold: 'AvenirNext-Bold, Helvetica, Arial, sans-serif',\n};\n\nconst mediaQueries = {\n forPhoneOnly: `@media screen and (max-width: ${breakpoints.forPhoneOnly}px)`,\n forTabletVerticalUp: `@media screen and (min-width: ${breakpoints.forTabletVerticalUp}px)`,\n forTabletVerticalDown: `@media screen and (max-width: ${breakpoints.forTabletVerticalDown}px)`,\n forTabletHorizontalUp: `@media screen and (min-width: ${breakpoints.forTabletHorizontalUp}px)`,\n forTabletHorizontalDown: `@media screen and (max-width: ${breakpoints.forTabletHorizontalDown}px)`,\n forDesktopUp: `@media screen and (min-width: ${breakpoints.forDesktopUp}px)`,\n forDesktopDown: `@media screen and (max-width: ${breakpoints.forDesktopDown}px)`,\n forBigDesktopUp: `@media screen and (min-width: ${breakpoints.forBigDesktopUp}px)`,\n};\n\nconst ariesColors = {\n mineShaft: '34, 34, 34', // #222222 dark gray\n tundora: '72, 72, 72', // #484848 mid gray\n boulder: '118, 118, 118', // #767676 gray\n gray: '136, 136, 136', // #888888 gray\n manatee: '145, 145, 147', // #919193 light gray\n silverChalice: '162, 162, 162', // #a2a2a2 gray button disabled\n altoDark: '216, 216, 216', // #d8d8d8 input gray border\n altoLight: '221, 221, 221', // #dddddd light gray border\n wildSand: '245, 245, 245', // #f5f5f5 light gray background\n silver: '187, 187, 187', // #bbbbbb very light pink\n alabaster: '251, 251, 251', // #fbfbfb white-two\n oceanGreen: '75, 163, 115', // #4ba373 green 1\n pineGreen: '0, 115, 119', // #007377 green 2\n deepTeal: '0, 49, 51', // #003133 dark green 1\n william: '64, 101, 102', // #406566 dark green 2\n teal: '0, 139, 132', // #008b84 green 2bd focused button, hover\n swamp: '0, 32, 33', // #002021\n gallery: '239, 239, 239', // #efefef\n porcelain: '235, 241, 240', // #EBF1F0 lightGreen\n\n goldenTainoi: '255, 202, 95', // #ffca5f yellow 1\n rajah: '246, 201, 124', // #F6C97C yellow 2\n\n burntSienna: '239, 119, 91', // #ef775b orange 1\n apricot: '231, 147, 110', // #e7936e orange 2\n\n sunglo: '229, 101, 117', // #e56575 coral 1\n coral: '233, 127, 114', // #e97f72 coral 2\n\n curiousBlue: '26, 160, 226', // Curious Blue light blue\n ziggurat: '184, 221, 225', // #B8DDE1 light blue\n lochmara: '0, 131, 204', // #0083cc medium blue\n prussianBlue: '0, 49, 77', // #00314d dark blue\n bahamaBlue: '0, 98, 152', // #006298 cobalt blue text links etc\n\n mandy: '229, 92, 109', // #e55c6d dark light red\n lavenderBlush: '248, 230, 230', // #fff2f4 light red\n alizarinCrimson: '225, 32, 29', // Alizarin Crimson dark red\n\n white: '255, 255, 255', // #ffffff white\n romance: '255, 253, 250', // #fffdfa natural white\n black: '0, 0, 0', // #000 black\n};\n\n// Just some thoughts of agnostic example vars\nconst ariesTheme = {\n primaryTextColor: ariesColors.swamp,\n secondaryTextColor: ariesColors.deepTeal,\n tertiaryTextColor: ariesColors.manatee,\n quaternaryTextColor: ariesColors.boulder,\n quinaryTextColor: ariesColors.oceanGreen,\n boxShadowColor: ariesColors.black,\n white: ariesColors.white,\n black: ariesColors.black,\n\n // General\n primaryColor: ariesColors.white,\n primaryBgColor: ariesColors.oceanGreen,\n primaryHoverBgColor: ariesColors.teal,\n secondaryColor: ariesColors.oceanGreen,\n secondaryBgColor: ariesColors.white,\n tertiaryBgColor: ariesColors.wildSand,\n secondaryBorderColor: ariesColors.oceanGreen,\n secondaryHoverColor: ariesColors.teal,\n secondaryHoverBorderColor: ariesColors.teal,\n\n // Links\n linkColor: ariesColors.bahamaBlue,\n linkHoverColor: ariesColors.lochmara,\n linkActiveColor: ariesColors.lochmara,\n linkFocusedColor: ariesColors.prussianBlue,\n linkDisabledColor: ariesColors.manatee,\n\n // Cart\n cartCountBgColor: ariesColors.oceanGreen,\n cartCountColor: ariesColors.white,\n hoverBgColor: ariesColors.teal,\n defaultBorderColor: ariesColors.altoLight,\n cartItemsBgColor: ariesColors.white,\n cartItemPriceColor: ariesColors.swamp,\n cartProductTitleColor: ariesColors.tundora,\n cartDisabledBtnColor: ariesColors.silverChalice,\n\n // Toggle\n toggleBgColor: ariesColors.manatee,\n\n // Input\n inputErrorColor: ariesColors.coral,\n\n // Marker Chart\n markerChartBase: ariesColors.coral,\n markerChartBoundary: ariesColors.silverChalice,\n markerChartBoundaryBadge: ariesColors.tundora,\n markerDetailsCardBgColor: ariesColors.alabaster,\n\n // Spinner\n spinnerColor: ariesColors.bahamaBlue,\n\n // DesktopNavItem\n desktopNavTextColor: ariesColors.william,\n desktopNavHoverTextColor: ariesColors.bahamaBlue,\n desktopNavActiveTextColor: ariesColors.bahamaBlue,\n desktopNavFocusTextColor: ariesColors.bahamaBlue,\n\n // MobileNavItem\n mobileNavTextColor: ariesColors.william,\n mobileNavActiveTextColor: ariesColors.bahamaBlue,\n mobileNavFocusTextColor: ariesColors.prussianBlue,\n mobileNavSubMenuBgColor: ariesColors.wildSand,\n mobileNavSubMenuTextColor: ariesColors.manatee,\n\n // CountPicker\n countPickerBtnColor: ariesColors.oceanGreen,\n countPickerBorderColor: ariesColors.silver,\n countPickerBgColor: ariesColors.alabaster,\n\n // Header\n headerBgColor: ariesColors.white,\n navHoverColor: ariesColors.bahamaBlue,\n\n // Footer\n footerInputBorderColor: ariesColors.manatee,\n\n // Modal\n modalFooterBgColor: ariesColors.alabaster,\n\n // Inputs\n primarySuccessColor: ariesColors.oceanGreen,\n secondarySuccessColor: ariesColors.porcelain,\n primaryDangerColor: ariesColors.mandy,\n secondaryDangerColor: ariesColors.lavenderBlush,\n primaryInfoColor: ariesColors.curiousBlue,\n\n // Buttons\n disabledBgColor: ariesColors.manatee,\n disabledSecondaryBgColor: ariesColors.white,\n\n colors: ariesColors,\n sizes: {\n maxWidth: '1440px',\n maxWidthCentered: '650px',\n },\n disabled: '0.35', // opacity for disabled items\n ...mediaQueries,\n};\n\nconst resultsTheme = {\n ...ariesTheme,\n textSecondaryColor: ariesColors.tundora,\n spinnerColor: ariesColors.teal,\n badgeRedColor: ariesColors.mandy,\n dashboardBgColor: ariesColors.alabaster,\n};\n\nconst theme = {\n ...fonts,\n sizes: {\n maxWidth: '1440px',\n maxWidthCentered: '650px',\n },\n disabled: '0.2', // opacity for disabled items\n ...mediaQueries,\n};\n\nexport { fonts, mediaQueries, theme, ariesTheme, resultsTheme, breakpoints };\nexport default theme;\n","export const isBrowser = () => typeof window !== 'undefined';\n\nconst USER_KEY = 'everlywell-user';\nconst INNER_NAVIGATE = 'inner-navigate';\n\nexport const authorize = (user) =>\n window.localStorage.setItem(USER_KEY, JSON.stringify(user));\n\nexport const isAuthorized = () => {\n const user = getUser();\n\n return !!user?.accessCode;\n};\n\nexport const getUser = () =>\n isBrowser() && window.localStorage.getItem(USER_KEY)\n ? JSON.parse(window.localStorage.getItem(USER_KEY))\n : {};\n\nexport const logout = () => {\n window.localStorage.setItem(USER_KEY, JSON.stringify({}));\n};\n\nexport const setInnerNavigate = () =>\n isBrowser() && window.localStorage.setItem(INNER_NAVIGATE, true);\n\nexport const isInnerNavigate = () =>\n isBrowser() ? window.localStorage.getItem(INNER_NAVIGATE) : false;\n\nexport const initInnerNavigate = () => {\n isBrowser() && window.localStorage.removeItem(INNER_NAVIGATE);\n};\n","export default \"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAxMjAgMjQiPgogICAgPHBhdGggZmlsbD0iIzRCQTM3MyIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNNjEuODMxIDYuMTU3djYuNDYzYzAgMi4zMDQgMS4zOTggMy43NTMgMy43NyAzLjc1MyAyLjI3MiAwIDMuNzk1LTEuODI5IDMuNzk1LTMuOTJWNi4xNThoMi4wN1YxOC4yNWMwIDMuOTQ0LTIuNjQ1IDUuNzUtNS43NjUgNS43NS0zLjM5NSAwLTUuNDQyLTEuNjE2LTUuNjQyLTQuMzk1aDEuOTcyYy4yNzUgMS43ODEgMS41NDggMi41NjYgMy42NDUgMi41NjYgMi4wNDcgMCAzLjgyLTEuMjM2IDMuODItMy45NDR2LTIuMjFjLTEuMDc0IDEuNTItMi41OTcgMi4xMTQtNC4zMiAyLjEzOC0zLjEyIDAtNS4zOTEtMi4wOS01LjM5MS01LjUxMlY2LjE1N2gyLjA0NnptLTU1LjQ0LS4yNmMzLjQ5NCAwIDYuMjE1IDE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2aC0yLjIyMmwtNS4yNDItMTEuNzZoMi4yNDd6bTYwLjI3NCAwbDMuMzQ1IDkuNjk0IDMuMjQ1LTkuNjk0aDEuNjczbDMuMjcgOS42OTQgMy4zMi05LjY5NGgyLjI0N2wtNC4yOTQgMTEuNzZoLTIuMzQ2bC0xLjY5OC00LjM3LTEuMzIzLTQuMjc3LTEuMzQ4IDQuMjc2LTEuNjczIDQuMzcySDc4LjVMNzQuMTMgNi4xNThoMi4yNzJ6bS0yNy4zNjUtLjI2YzEuMDQ5IDAgMi4wNDcuNDI2IDIuNzk2LjkyNWwtLjkyNCAxLjY2M2MtLjY3NC0uNDUtMS4yNzMtLjY2NS0yLjE0Ni0uNjY1LTEuOTczIDAtMy42MiAxLjM3OC0zLjYyIDMuNTE3djYuNTU3aC0yLjA0N1Y2LjE1N2gxLjg5N2wuMTc1IDEuNzM1Yy45MjQtMS41NDUgMi40NzEtMS45OTYgMy44Ny0xLjk5NnptNy4zMDctNC42MzR2MTYuNjMxaC0yLjAyMlYxLjI2NGgyLjAyMnptNTYuMDIgMHYxNi42MzFoLTIuMDIzVjEuMjY0aDIuMDIyem02LjU2OCAwdjE2LjYzMWgtMi4wMjJWMS4yNjRoMi4wMjJ6TTYuNDQgNy42NTRjLTIuMTQ3IDAtMy45OTQgMS4xNC00LjM5MyAzLjQyMWg4LjUzN2MtLjA3NS0yLjI1Ny0xLjcyMy0zLjQyLTQuMTQ0LTMuNDJ6bTk0Ljg2NCAwYy0yLjE0NyAwLTMuOTk0IDEuMTQtNC4zOTQgMy40MjFoOC41MzdjLS4wNzQtMi4yNTctMS43MjItMy40Mi00LjE0My0zLjQyem0tNjcuMTU0IDBjLTIuMTQ3IDAtMy45OTUgMS4xNC00LjM5NCAzLjQyMWg4LjUzN2MtLjA3NS0yLjI1Ny0xLjcyMi0zLjQyLTQuMTQzLTMuNDJ6Ii8+Cjwvc3ZnPgo=\""],"names":["Hidden","styled","props","React","S","className","pageName","JSON","stringify","customData","SEO","description","defaultTitle","title","siteMetadata","useSiteMetadata","metaDescription","name","content","property","author","rel","href","type","src","defaultProps","Component","component","location","analyticsPageName","rest","isInnerNavigate","pathname","initInnerNavigate","AnalyticsPageMeta","navigate","TEST_TAKER_PAGE_TITLES","includes","TestTakerPaymentContext","TestTakerPaymentProvider","children","useLocation","state","defaultShippingMethod","shippingMethods","_state$shippingMethod","find","shippingMethod","id","STANDARD_SHIPPING","DEFAULT_SHIPPING_METHOD","deliveryOptionFormat","useState","selectedShippingMethod","setSelectedShippingMethod","lineItems","setLineItems","Provider","value","updateShippingMethod","WizardContext","WizardProvider","useEffect","selectedId","length","productIds","map","product_id","quantity","setWizard","deliveryOptions","shippingId","enterpriseClientId","tenantName","uniqueIdValidationEnabled","autoRegisterOrders","contentfulProductIds","configValues","email_required","phone_required","_state$configValues","firstName","lastName","birthday","email","userId","userConfirmId","userIdLabel","biologicalSex","address1","address2","city","zipcode","phone","orderNumber","orderEmail","kitSelectionEnabled","allowedQuantityPerProduct","isQuotaFull","wizardState","setWizardState","wizardData","updatedLineItems","data","useStaticQuery","res","_toConsumableArray","Set","forEach","productId","product","products","_data$products","nodes","_data$products$nodes","push","initialStep","steps","index","setStep","currentStep","step","totalSteps","deltaSetStep","delta","navigation","goToNextStep","goToPreviousStep","goToStep","newStep","isFirstStep","isLastStep","hasNextStep","hasPrevStep","documentTitle","canUseDOM","document","querySelector","remove","source","Context","useContext","updateLineItem","foundProduct","item","productIndex","indexOf","Number","shouldDisableOvernightShipping","reduce","total","currentItem","OVERNIGHT_SHIPPING_MAX_ORDERABLE","site","GlobalStyle","createGlobalStyle","typography","theme","pageBackground","mediaQueries","colors","ariesTheme","MainContainerWrapper","Container","size","forPhoneOnly","forTabletVerticalUp","forTabletVerticalDown","forTabletHorizontalUp","forTabletHorizontalDown","forDesktopUp","forDesktopDown","forBigDesktopUp","ariesColors","mineShaft","tundora","boulder","gray","manatee","silverChalice","altoDark","altoLight","wildSand","silver","alabaster","oceanGreen","pineGreen","deepTeal","william","teal","swamp","gallery","porcelain","goldenTainoi","rajah","burntSienna","apricot","sunglo","coral","curiousBlue","ziggurat","lochmara","prussianBlue","bahamaBlue","mandy","lavenderBlush","alizarinCrimson","white","romance","black","primaryTextColor","secondaryTextColor","tertiaryTextColor","quaternaryTextColor","quinaryTextColor","boxShadowColor","primaryColor","primaryBgColor","primaryHoverBgColor","secondaryColor","secondaryBgColor","tertiaryBgColor","secondaryBorderColor","secondaryHoverColor","secondaryHoverBorderColor","linkColor","linkHoverColor","linkActiveColor","linkFocusedColor","linkDisabledColor","cartCountBgColor","cartCountColor","hoverBgColor","defaultBorderColor","cartItemsBgColor","cartItemPriceColor","cartProductTitleColor","cartDisabledBtnColor","toggleBgColor","inputErrorColor","markerChartBase","markerChartBoundary","markerChartBoundaryBadge","markerDetailsCardBgColor","spinnerColor","desktopNavTextColor","desktopNavHoverTextColor","desktopNavActiveTextColor","desktopNavFocusTextColor","mobileNavTextColor","mobileNavActiveTextColor","mobileNavFocusTextColor","mobileNavSubMenuBgColor","mobileNavSubMenuTextColor","countPickerBtnColor","countPickerBorderColor","countPickerBgColor","headerBgColor","navHoverColor","footerInputBorderColor","modalFooterBgColor","primarySuccessColor","secondarySuccessColor","primaryDangerColor","secondaryDangerColor","primaryInfoColor","disabledBgColor","disabledSecondaryBgColor","sizes","maxWidth","maxWidthCentered","disabled","textSecondaryColor","badgeRedColor","dashboardBgColor","fontFamily","fontFamilyMd","fontFamilyDemiBold","fontFamilyBold","isBrowser","window","USER_KEY","INNER_NAVIGATE","authorize","user","localStorage","setItem","getUser","getItem","parse","logout","setInnerNavigate","removeItem"],"sourceRoot":""}