{"version":3,"file":"dist/app_view.9d29332c206129b811f0.bundle.js","sources":["webpack://plantlust-git/./reactTS/components/CommonComponents/QuantityPicker.tsx","webpack://plantlust-git/./reactTS/components/CommonComponents/CustomLoader.tsx","webpack://plantlust-git/./reactTS/themes/icons/NoPlantImage.tsx","webpack://plantlust-git/./reactTS/themes/icons/RemoveItem.tsx","webpack://plantlust-git/./reactTS/services/api.ts","webpack://plantlust-git/./reactTS/components/Checkout/CartPlantStyles.ts","webpack://plantlust-git/./reactTS/components/PlantDetail/pdpEmail.tsx","webpack://plantlust-git/./reactTS/components/Navigation/NavigationSection.tsx","webpack://plantlust-git/./reactTS/components/CommonComponents/AvatarImage.tsx","webpack://plantlust-git/./reactTS/Routes/LayoutStyles.ts","webpack://plantlust-git/./reactTS/components/Checkout/CartPlant.tsx","webpack://plantlust-git/./reactTS/components/Navigation/NavigationLinkSection.tsx","webpack://plantlust-git/./reactTS/contexts/NurseryContext.tsx","webpack://plantlust-git/./reactTS/actions/constats.ts","webpack://plantlust-git/./reactTS/components/IndexPage/IndexPageStyles.ts","webpack://plantlust-git/./reactTS/components/Checkout/ShippingMethodsRadioGroup.tsx","webpack://plantlust-git/./reactTS/services/shopifyAPI.ts","webpack://plantlust-git/./reactTS/components/Checkout/CartNursery.tsx","webpack://plantlust-git/./reactTS/components/Navigation/NavigationStyles.ts","webpack://plantlust-git/./reactTS/utils/graphQLMutations.ts","webpack://plantlust-git/./reactTS/components/CommonComponents/CustomButton.tsx","webpack://plantlust-git/./reactTS/utils/helpers.ts","webpack://plantlust-git/./reactTS/components/CommonComponents/ConfirmationBackdrop.tsx","webpack://plantlust-git/./reactTS/components/Checkout/ItemAvailability.tsx","webpack://plantlust-git/./reactTS/sentryconfig.ts","webpack://plantlust-git/./reactTS/themes/defaultTheme.tsx","webpack://plantlust-git/./reactTS/components/Loader/index.tsx","webpack://plantlust-git/./reactTS/components/AutoComplete/AutoCompleteStyles.ts","webpack://plantlust-git/./reactTS/components/AutoComplete/AutoCompleteItem.tsx","webpack://plantlust-git/./reactTS/components/AutoComplete/AutoComplete.tsx","webpack://plantlust-git/./reactTS/components/Zones/zoneFilter.tsx","webpack://plantlust-git/./reactTS/components/Nursery/NurseryPill.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/icn_search_clear.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/icn_search.tsx","webpack://plantlust-git/./reactTS/components/Search/SearchBar.tsx","webpack://plantlust-git/./reactTS/components/IndexPage/IndexPageLoading.tsx","webpack://plantlust-git/./reactTS/components/IndexPage/IndexPage.tsx","webpack://plantlust-git/./reactTS/themes/icons/ShopifyCartIcon.tsx","webpack://plantlust-git/./reactTS/components/Nursery/NurseryHeaderStyles.ts","webpack://plantlust-git/./reactTS/themes/icons/Location.tsx","webpack://plantlust-git/./reactTS/themes/icons/Call.tsx","webpack://plantlust-git/./reactTS/themes/icons/Email.tsx","webpack://plantlust-git/./reactTS/themes/icons/Website.tsx","webpack://plantlust-git/./reactTS/components/Nursery/NurseryHeader.tsx","webpack://plantlust-git/./reactTS/components/Navigation/index.tsx","webpack://plantlust-git/./reactTS/components/Shopify/ShopifyCart.tsx","webpack://plantlust-git/./reactTS/components/Promotion/PromoHeader.tsx","webpack://plantlust-git/./reactTS/components/Navigation/MobileNavigation.tsx","webpack://plantlust-git/./reactTS/components/Header/index.tsx","webpack://plantlust-git/./reactTS/components/Footer/FooterStyles.ts","webpack://plantlust-git/./reactTS/themes/icons/Facebook.tsx","webpack://plantlust-git/./reactTS/themes/icons/Instagram.tsx","webpack://plantlust-git/./reactTS/themes/icons/Pinterest.tsx","webpack://plantlust-git/./reactTS/components/Footer/index.tsx","webpack://plantlust-git/./reactTS/Routes/MainLayout.tsx","webpack://plantlust-git/./reactTS/index.tsx","webpack://plantlust-git/./reactTS/contexts/SearchContext.tsx"],"sourceRoot":"","sourcesContent":["import React from 'react';\nimport Box from '@mui/material/Box';\nimport IconButton from '@mui/material/IconButton';\nimport Input from '@mui/material/Input';\nimport AddIcon from '@mui/icons-material/Add';\nimport RemoveIcon from '@mui/icons-material/Remove';\nimport CustomLoader from './CustomLoader';\nexport default function QuantityPicker(props) {\n    const { plant, changeQuantity } = props;\n    const [quantity, setQuantity] = React.useState(plant.quantity);\n    const [changeLoading, setChangeLoading] = React.useState(false);\n    React.useEffect(() => {\n        setQuantity(plant.quantity);\n    }, [plant.quantity]);\n    const updateQuantity = async (e) => {\n        plant.quantity = parseInt(e.target.value, 10) || quantity;\n        if (quantity >= 0) {\n            setChangeLoading(true);\n            await changeQuantity(plant);\n            if (plant.quantity !== 0)\n                setChangeLoading(false);\n        }\n    };\n    const changeQuantityValue = async (e) => {\n        const newQuantity = parseInt(e.target.value, 10);\n        if (newQuantity !== quantity)\n            setQuantity(newQuantity);\n    };\n    const keyPress = (e) => {\n        if (e.key === 'Enter') {\n            const newQuantity = parseInt(e.currentTarget.value, 10);\n            setQuantity(newQuantity);\n            updateQuantity(e);\n        }\n    };\n    const changeQuantityOnClick = async (operation) => {\n        let newQuantity = 0;\n        if (operation === 'add') {\n            newQuantity = quantity + 1;\n        }\n        else if (operation === 'minus') {\n            if (quantity === 1)\n                newQuantity = 0;\n            else if (quantity < 2)\n                newQuantity = 1;\n            else\n                newQuantity = quantity - 1;\n        }\n        setQuantity(newQuantity);\n        plant.quantity = newQuantity;\n        setChangeLoading(true);\n        await changeQuantity(plant);\n        if (newQuantity > 0)\n            setChangeLoading(false);\n    };\n    const inputButtonRootSX = {\n        padding: 0.25,\n        '&:hover': {\n            backgroundColor: 'transparent',\n        },\n        '& svg': {\n            fill: 'primary.dark',\n        },\n    };\n    return (React.createElement(Box, { sx: {\n            width: 95,\n            display: 'inline-flex',\n            border: 1,\n            borderColor: 'secondary.dark',\n            borderRadius: 1,\n        } },\n        React.createElement(IconButton, { sx: inputButtonRootSX, \"aria-label\": \"minus\", size: \"small\", onClick: () => changeQuantityOnClick('minus'), disabled: changeLoading || plant.shopify_quantity === 0 },\n            React.createElement(RemoveIcon, null)),\n        changeLoading ? (React.createElement(CustomLoader, { loaderAttributes: { size: 22, thickness: 5 } }))\n            : (React.createElement(Input, { value: quantity.toString(), sx: {\n                    borderLeft: (theme) => `1px solid ${theme.palette.secondary.dark}`,\n                    borderRight: (theme) => `1px solid ${theme.palette.secondary.dark}`,\n                    '& input::-webkit-clear-button, & input::-webkit-outer-spin-button, & input::-webkit-inner-spin-button': {\n                        display: 'none',\n                    },\n                    '& .MuiInput-input': {\n                        minWidth: 37,\n                        height: 16,\n                        textAlign: 'center',\n                        MozAppearance: 'textfield',\n                    },\n                }, onBlur: updateQuantity, onChange: changeQuantityValue, onKeyDown: keyPress, disabled: changeLoading || plant.shopify_quantity === 0, type: \"number\", disableUnderline: true, inputProps: {\n                    min: 1,\n                    pattern: '[0-9]*',\n                    'aria-label': 'quantity',\n                } })),\n        React.createElement(IconButton, { sx: inputButtonRootSX, \"aria-label\": \"add\", size: \"small\", onClick: () => changeQuantityOnClick('add'), disabled: changeLoading || plant.shopify_quantity === 0 },\n            React.createElement(AddIcon, null))));\n}\n","import React from 'react';\nimport CircularProgress from '@mui/material/CircularProgress';\nconst styles = {\n    loaderRoot: (theme) => ({\n        color: theme.palette.secondary.main,\n        padding: theme.spacing(0, 0.65),\n    }),\n};\nexport default function CustomLoader({ loaderSx = '', loaderAttributes = {\n    size: 20,\n    thickness: 3.6,\n}, ...other }) {\n    return (React.createElement(CircularProgress, { sx: loaderSx || styles.loaderRoot, size: loaderAttributes.size, thickness: loaderAttributes.thickness, ...other }));\n}\n","import React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function NoPlantImage(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 56 44\" },\n        React.createElement(\"path\", { fillRule: \"evenodd\", clipRule: \"evenodd\", d: \"M26.2515 12.6101C26.2515 10.3205 27.0354 7.84452 28.3469 5.98705L29.1245 4.88672L29.9022 5.98635C31.2128 7.83892 31.9967 10.3141 31.9985 12.6087C31.9976 14.9046 31.2146 17.3812 29.9022 19.2324L29.1263 20.3271L28.3486 19.2331C27.0371 17.3896 26.2532 14.9137 26.2515 12.6101ZM22.966 32.7429H22.9669C25.8595 32.7429 28.9942 33.3599 31.3548 34.3937L32.7508 35.0052L31.3556 35.6173C29.0031 36.649 25.8676 37.2668 22.9678 37.2689C20.0511 37.2682 16.9076 36.6504 14.5559 35.6173L13.167 35.0066L14.555 34.3951C16.8978 33.362 20.0422 32.7443 22.966 32.7429ZM14.6466 31.6794L14.578 31.7754L14.5166 31.6878C14.5602 31.6878 14.603 31.6815 14.6466 31.6794ZM38.9784 15.0197C42.565 14.9455 46.6375 13.3171 50.1521 10.5533C53.9416 7.56745 56.0548 4.02831 55.803 1.08661C55.7674 0.694386 55.2789 0.313366 54.778 0.289553C49.136 0.241925 44.1542 3.67811 42.7688 4.74342C39.2613 7.50791 37.1953 10.7081 37.1019 13.5244L37.093 13.8031L33.824 16.3785L34.0669 14.4307C34.1469 13.7835 34.1861 13.1882 34.1861 12.6111C34.1799 8.54101 32.5471 4.98926 29.82 3.11218C29.5976 2.95599 29.295 2.87544 29.0059 2.89295C28.7941 2.90836 28.5663 2.98751 28.3946 3.10798C25.6808 4.98716 24.0641 8.53891 24.0632 12.6111C24.0694 15.9415 25.1158 18.886 27.0092 20.9017L27.463 21.3843L26.9256 21.8116C24.9156 23.4085 22.773 25.0888 21.0113 26.4692L19.2575 27.8434L19.4987 25.9047C19.5779 25.2653 19.6179 24.6475 19.6179 24.0683C19.6117 19.9793 17.987 16.422 15.2723 14.554C15.0792 14.423 14.8167 14.3481 14.5578 14.3481C14.5284 14.3481 14.4982 14.3481 14.4688 14.3502C14.2464 14.367 14.0177 14.4454 13.8478 14.5652C11.1206 16.4535 9.49501 20.0052 9.49412 24.0683C9.50124 27.3412 10.5823 30.3635 12.4606 32.3582L12.9153 32.8415L12.3779 33.2688C9.48878 35.5647 6.5214 37.8949 3.55936 40.2196L1.02975 42.2073C0.79218 42.3747 0.667612 42.6066 0.658715 42.8573C0.649817 43.1066 0.757479 43.3448 0.94611 43.4926C1.13474 43.641 1.43459 43.7195 1.75491 43.7146C2.07701 43.7062 2.36262 43.6081 2.54147 43.4477L11.707 36.2266L12.3254 36.5964C14.8692 38.1184 18.7477 38.9918 22.967 38.9925C28.1339 38.9876 32.6423 37.7023 35.026 35.5542C35.357 35.2537 35.357 34.7249 35.0243 34.4237C32.6459 32.2931 28.1374 31.0191 22.967 31.0184C22.1199 31.0191 21.2622 31.0562 20.4178 31.1283L17.906 31.3441L26.2547 24.7687L26.8731 25.1392C29.4178 26.6612 33.2963 27.5346 37.5147 27.5353C42.6825 27.5297 47.1909 26.2437 49.5729 24.0956C49.9047 23.7965 49.9047 23.2677 49.572 22.9658C47.1936 20.8352 42.6852 19.5619 37.5147 19.5612C36.6685 19.5619 35.8099 19.599 34.9655 19.6711L32.4537 19.8869L38.6234 15.0268L38.9784 15.0197Z\", fill: \"#020303\" })));\n}\n","import React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function RemoveItem(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 10 12\" },\n        React.createElement(\"path\", { d: \"M2.8301 9.53328V3.93328C2.8301 3.84046 2.86697 3.75143 2.93261 3.68579C2.99825 3.62016 3.08727 3.58328 3.1801 3.58328C3.27292 3.58328 3.36195 3.62016 3.42759 3.68579C3.49322 3.75143 3.5301 3.84046 3.5301 3.93328V9.53328C3.5301 9.62611 3.49322 9.71513 3.42759 9.78077C3.36195 9.84641 3.27292 9.88328 3.1801 9.88328C3.08727 9.88328 2.99825 9.84641 2.93261 9.78077C2.86697 9.71513 2.8301 9.62611 2.8301 9.53328ZM5.0001 9.88328C5.09292 9.88328 5.18195 9.84641 5.24759 9.78077C5.31322 9.71513 5.3501 9.62611 5.3501 9.53328V3.93328C5.3501 3.84046 5.31322 3.75143 5.24759 3.68579C5.18195 3.62016 5.09292 3.58328 5.0001 3.58328C4.90727 3.58328 4.81825 3.62016 4.75261 3.68579C4.68697 3.75143 4.6501 3.84046 4.6501 3.93328V9.53328C4.6501 9.62611 4.68697 9.71513 4.75261 9.78077C4.81825 9.84641 4.90727 9.88328 5.0001 9.88328ZM6.8201 9.88328C6.91292 9.88328 7.00195 9.84641 7.06759 9.78077C7.13322 9.71513 7.1701 9.62611 7.1701 9.53328V3.93328C7.1701 3.84046 7.13322 3.75143 7.06759 3.68579C7.00195 3.62016 6.91292 3.58328 6.8201 3.58328C6.72727 3.58328 6.63825 3.62016 6.57261 3.68579C6.50697 3.75143 6.4701 3.84046 6.4701 3.93328V9.53328C6.4701 9.62611 6.50697 9.71513 6.57261 9.78077C6.63825 9.84641 6.72727 9.88328 6.8201 9.88328ZM9.9001 2.18328C9.9001 2.22924 9.89105 2.27476 9.87346 2.31722C9.85587 2.35968 9.83009 2.39827 9.79759 2.43077C9.76509 2.46327 9.7265 2.48905 9.68404 2.50664C9.64157 2.52423 9.59606 2.53328 9.5501 2.53328H8.7801V11.2833C8.7801 11.3761 8.74322 11.4651 8.67759 11.5308C8.61195 11.5964 8.52292 11.6333 8.4301 11.6333H1.5701C1.47727 11.6333 1.38825 11.5964 1.32261 11.5308C1.25697 11.4651 1.2201 11.3761 1.2201 11.2833V2.53328H0.450098C0.357272 2.53328 0.268248 2.49641 0.20261 2.43077C0.136973 2.36513 0.100098 2.27611 0.100098 2.18328C0.100098 2.09046 0.136973 2.00143 0.20261 1.93579C0.268248 1.87016 0.357272 1.83328 0.450098 1.83328H2.7055L3.2053 0.583081C3.2313 0.5182 3.27613 0.46259 3.33402 0.423416C3.39191 0.384242 3.4602 0.363298 3.5301 0.363281H6.4701C6.54 0.363298 6.60829 0.384242 6.66618 0.423416C6.72406 0.46259 6.7689 0.5182 6.7949 0.583081L7.2947 1.83328H9.5501C9.64292 1.83328 9.73195 1.87016 9.79759 1.93579C9.86322 2.00143 9.9001 2.09046 9.9001 2.18328ZM3.4601 1.83328H6.5401L6.2321 1.06328H3.7667L3.4601 1.83328ZM8.0801 2.53328H1.9201V10.9333H8.0801V2.53328Z\", fill: \"black\" })));\n}\n","import * as Sentry from '@sentry/browser';\nimport { SEARCH, NURSURY, PLANTS, NURSERY_SEARCH, REQUEST_PLANT, NEWSLETTER_SUBSCRIBE, FEATURE, INDEX_DATA, COMMON_DATA, NAVIGATION_DATA, ADD_ITEMS, CART_CONTENTS, CLEAR_CART, CSRF_TOKEN, AUTO_SEARCH, } from '../actions/constats';\nimport { getCookie } from '../utils/helpers';\n// Endpoints in ../actions/constats all start with '/', so strip any trailing\n// slash from the base to avoid emitting a scheme-relative '//host/path' URL.\nconst BASE_URL = (process.env.REACT_APP_BASE_API_URL || '').replace(/\\/+$/, '');\nconst defaultHeaders = {\n    'Content-Type': 'application/json',\n    Accept: 'application/json',\n};\nasync function handleResponse(response) {\n    if (response.ok) {\n        return response.json();\n    }\n    const data = await response.json().catch(() => null);\n    const error = {\n        status: response.status,\n        statusText: response.statusText,\n        data,\n    };\n    return Promise.reject(error);\n}\n// Rejections that came out of a request, and so have already been dealt with here.\nconst handled = new WeakSet();\nfunction markHandled(error) {\n    if (typeof error === 'object' && error !== null) {\n        handled.add(error);\n    }\n}\n// Requests the caller aborted, and requests that never left the machine, are noise.\n// fetch() signals the latter by rejecting with a TypeError, and that is the only way\n// it can produce one for a request we built ourselves, so test the type rather than\n// the message: the message is not specified and differs per browser ('Failed to\n// fetch' in Chrome, 'NetworkError when attempting to fetch resource.' in Firefox,\n// 'Load failed' in Safari).\nfunction isExpectedFailure(error) {\n    const isAbort = error instanceof DOMException && error.name === 'AbortError';\n    const isNetworkFailure = error instanceof TypeError;\n    return isAbort || isNetworkFailure;\n}\nfunction reportUnexpected(error, report = true) {\n    markHandled(error);\n    if (report && !isExpectedFailure(error)) {\n        Sentry.captureException(error);\n    }\n}\n// For callers with nothing to do about a failed request. A bare `.catch(() => {})`\n// would also hide bugs thrown from their own `.then()`, so report anything that\n// did not come from the request itself.\nexport function ignoreRequestFailure(error) {\n    if (typeof error === 'object' && error !== null && handled.has(error)) {\n        return;\n    }\n    Sentry.captureException(error);\n}\nfunction get(url, options, reportErrors = true) {\n    return fetch(`${BASE_URL}${url}`, {\n        ...options,\n        headers: { ...defaultHeaders, ...options === null || options === void 0 ? void 0 : options.headers },\n    })\n        .then(handleResponse)\n        .catch((error) => {\n        reportUnexpected(error, reportErrors);\n        return Promise.reject(error);\n    });\n}\nfunction post(url, data, options) {\n    const csrfToken = getCookie('csrftoken');\n    // Callers only ever pass plain object headers, so treat them as such\n    const headers = {\n        ...defaultHeaders,\n        ...options === null || options === void 0 ? void 0 : options.headers,\n    };\n    if (csrfToken) {\n        headers['X-CSRFToken'] = csrfToken;\n    }\n    if (data instanceof FormData) {\n        // Let the browser set Content-Type so that it includes the multipart boundary\n        delete headers['Content-Type'];\n    }\n    const body = data instanceof FormData ? data : JSON.stringify(data);\n    return fetch(`${BASE_URL}${url}`, {\n        ...options,\n        method: 'POST',\n        headers,\n        body,\n    })\n        .then(handleResponse)\n        .catch((error) => {\n        reportUnexpected(error);\n        return Promise.reject(error);\n    });\n}\nconst verifyCsrfExists = async () => {\n    // If we are going to do a POST but don't have a csrf token, we need to get one.\n    // If we access the PDP as the first page (rendered by SSR), we won't pass through django\n    // and therefore one won't be set. This endpoint exists only to set the cookie.\n    const cookie = getCookie('csrftoken');\n    if (cookie === '') {\n        await get(CSRF_TOKEN);\n    }\n};\nexport default {\n    home: {\n        getIndexData: () => get(INDEX_DATA),\n        getCommonData: () => get(COMMON_DATA),\n        getNavigationData: () => get(NAVIGATION_DATA),\n        generalSearch: (slug) => get(SEARCH + slug),\n        getAny: (url) => get(url),\n    },\n    nursery: {\n        updateSearchResult: (query) => get(NURSERY_SEARCH + query),\n        nurserySearch: (slug) => get(NURSURY + slug),\n    },\n    featured: {\n        getFeatured: (featureId) => get(FEATURE + featureId),\n    },\n    plant: {\n        getPlants: (plantName) => get(PLANTS + plantName),\n        requestPlants: async (data) => {\n            await verifyCsrfExists();\n            return post(REQUEST_PLANT, data);\n        },\n    },\n    search: {\n        // Fires on every keystroke, so a degraded search backend would otherwise send\n        // Sentry one event per character typed. Failures here are already visible\n        // server-side, and the caller has nothing to do about them but drop the result.\n        autocomplete: (query, options) => get(`${AUTO_SEARCH}${query}&${new Date().getTime()}`, options, false),\n    },\n    checkout: {\n        addItems: async (data) => {\n            await verifyCsrfExists();\n            return post(ADD_ITEMS, data);\n        },\n        getCartList: async (params = '') => get(CART_CONTENTS + params),\n        clearCart: async () => {\n            await verifyCsrfExists();\n            return post(CLEAR_CART);\n        },\n    },\n    newsLetter: {\n        subscribe: async (data) => {\n            await verifyCsrfExists();\n            return post(NEWSLETTER_SUBSCRIBE, data);\n        },\n    },\n};\n","const classes = {\n    plantInfoWrapper: (theme) => ({\n        position: 'relative',\n        paddingTop: theme.spacing(2.5),\n        paddingBottom: theme.spacing(2.5),\n    }),\n    plantInfoWrapperItems: (theme) => ({\n        paddingBottom: theme.spacing(9),\n    }),\n    plantImage: {\n        backgroundColor: 'transparent',\n        width: 83,\n        height: 100,\n    },\n    plantInfo: (theme) => ({\n        width: '100%',\n        display: 'flex',\n        flexDirection: 'row',\n        alignItems: 'flex-start',\n        paddingLeft: theme.spacing(1.75),\n        [theme.breakpoints.down('sm')]: {\n            display: 'flex',\n            flexDirection: 'column',\n            justifyContent: 'space-between',\n            paddingLeft: theme.spacing(1.75),\n        },\n    }),\n    plantInfoCart: (theme) => ({\n        display: 'flex',\n        flexDirection: 'column',\n        justifyContent: 'space-between',\n        paddingLeft: theme.spacing(1.75),\n    }),\n    plantName: (theme) => ({\n        color: theme.palette.primary.dark,\n        padding: 0,\n        fontSize: theme.spacing(2.25),\n        fontWeight: 'bold',\n        textTransform: 'none',\n        textAlign: 'left',\n        lineHeight: '23px',\n        letterSpacing: '0.06em',\n        '&:hover': {\n            backgroundColor: 'transparent',\n        },\n    }),\n    plantSize: (theme) => ({\n        color: theme.palette.blueColors.main,\n        paddingTop: theme.spacing(0.75),\n        fontSize: theme.spacing(1.75),\n        fontWeight: 400,\n        lineHeight: '18px',\n        letterSpacing: '0.06em',\n    }),\n    removeButton: (theme) => ({\n        padding: 0,\n        marginTop: theme.spacing(1.5),\n        textTransform: 'none',\n        color: theme.palette.blueColors.main,\n        fontWeight: 400,\n        '&:hover': {\n            backgroundColor: 'transparent',\n        },\n    }),\n    quantityPrice: (theme) => ({\n        flexDirection: 'row',\n        justifyContent: 'space-between',\n        [theme.breakpoints.down('sm')]: {\n            justifyContent: 'flex-start',\n            paddingTop: theme.spacing(2.5),\n        },\n    }),\n    quantityPriceCart: (theme) => ({\n        justifyContent: 'flex-start',\n        paddingTop: theme.spacing(2.5),\n    }),\n    plantPrice: (theme) => ({\n        color: theme.palette.primary.dark,\n        fontSize: theme.spacing(1.75),\n        fontWeight: 400,\n        lineHeight: '30px',\n        [theme.breakpoints.down('sm')]: {\n            paddingLeft: theme.spacing(5),\n            color: theme.palette.primary.dark,\n            fontSize: theme.spacing(1.75),\n            fontWeight: 400,\n            lineHeight: '30px',\n        },\n    }),\n    plantPriceCart: (theme) => ({\n        paddingLeft: theme.spacing(5),\n        color: theme.palette.primary.dark,\n        fontSize: theme.spacing(1.75),\n        fontWeight: 400,\n        lineHeight: '30px',\n    }),\n};\nexport default classes;\n","import React from 'react';\nimport isEqual from 'fast-deep-equal';\nimport api from '../../services/api';\nimport ConfirmationBackdrop from '../CommonComponents/ConfirmationBackdrop';\nimport { validateEmail } from '../../utils/helpers';\nclass PdpEmail extends React.Component {\n    constructor(props) {\n        super(props);\n        this.isNumeric = (n) => !Number.isNaN(Number(n)) && Number.isFinite(Number(n));\n        this.clearErrors = () => {\n            const { email, quantity, userLocation } = document.forms.namedItem('request_plant');\n            userLocation.classList.remove('input-invalid');\n            quantity.classList.remove('input-invalid');\n            email.classList.remove('input-invalid');\n            document.getElementById('email-feedback').innerHTML = '';\n            document.getElementById('user_location-feedback').innerHTML = '';\n            document.getElementById('quantity-feedback').innerHTML = '';\n        };\n        this.clearForm = () => {\n            this.setState({\n                comment: '',\n                quantity: 1,\n                location: 'United States',\n                email: '',\n            });\n        };\n        this.submitForm = (e) => {\n            e.preventDefault();\n            const { newsletterOptIn } = this.state;\n            const hasHtml5Validation = typeof document.createElement('input').checkValidity === 'function';\n            if (hasHtml5Validation) {\n                const { email, quantity, userLocation } = document.forms.namedItem('request_plant');\n                if (email.value === '') {\n                    email.classList.add('input-invalid');\n                    document.getElementById('email-feedback').innerHTML = 'Email is required';\n                }\n                else if (!validateEmail(email.value)) {\n                    email.classList.add('input-invalid');\n                    document.getElementById('email-feedback').innerHTML = 'Email is invalid';\n                }\n                else if (quantity.value === '' || Number(quantity.value) <= 0) {\n                    quantity.classList.add('input-invalid');\n                    document.getElementById('quantity-feedback').innerHTML = 'Quantity is required';\n                }\n                else if (!this.isNumeric(parseInt(quantity.value, 10))) {\n                    quantity.classList.add('input-invalid');\n                    document.getElementById('quantity-feedback').innerHTML = 'Please enter a number';\n                }\n                else if (userLocation.value === '') {\n                    userLocation.classList.add('input-invalid');\n                    document.getElementById('user_location-feedback').innerHTML = 'User Location is required';\n                }\n                else {\n                    this.clearErrors();\n                    this.setState({\n                        loadButton: true,\n                    });\n                    if (newsletterOptIn) {\n                        const data = {\n                            email: email.value,\n                            status: 'subscribed',\n                        };\n                        api.newsLetter.subscribe(data).then((res) => {\n                            if (res.success\n                                || (!res.success && res.message === 'Member Exists')) {\n                                this.setState({\n                                    userSubscribed: true,\n                                });\n                            }\n                        });\n                    }\n                    api.plant\n                        .requestPlants(new FormData(e.target))\n                        .then(() => {\n                        this.setState({\n                            loadButton: false,\n                            confirmOpen: true,\n                        });\n                    })\n                        .catch(() => {\n                        this.setState({\n                            loadButton: false,\n                            submitError: true,\n                        });\n                    });\n                    this.clearForm();\n                }\n            }\n        };\n        this.updateInput = (e, val) => {\n            e.preventDefault();\n            const { newsletterOptIn } = this.state;\n            const newState = { ...this.state };\n            e.target.classList.remove('input-invalid');\n            if (document.getElementById(`${e.target.name}-feedback`)) {\n                document.getElementById(`${e.target.name}-feedback`).innerHTML = '';\n            }\n            newState[val] = val === 'newsletterOptIn' ? !newsletterOptIn : e.target.value;\n            this.setState(newState);\n        };\n        this.closeModal = (e) => {\n            e.preventDefault();\n            const { closeModal } = this.props;\n            this.setState({\n                confirmOpen: false,\n            });\n            if (closeModal) {\n                closeModal();\n            }\n        };\n        this.confirmModal = () => {\n            const { confirmOpen, userSubscribed } = this.state;\n            const { plantName } = this.props;\n            const mainMessage = 'Your Message Was Sent!';\n            const secondMessages = [`We'll contact you if we locate a source for ${plantName}.`, userSubscribed && 'You are now subscribed to the Plantlust newsletter.'];\n            if (confirmOpen) {\n                return (React.createElement(ConfirmationBackdrop, { open: confirmOpen, mainMessage: mainMessage, secondMessages: secondMessages, close: this.closeModal }));\n            }\n            return null;\n        };\n        this.updateQuantity = (e, sign) => {\n            e.preventDefault();\n            let { quantity } = this.state;\n            switch (sign) {\n                case 'plus':\n                    quantity += 1;\n                    this.setState({\n                        quantity,\n                    });\n                    break;\n                case 'minus':\n                    quantity -= 1;\n                    this.setState({\n                        quantity,\n                    });\n                    break;\n                default:\n                    break;\n            }\n        };\n        this.state = {\n            comment: '',\n            quantity: 1,\n            location: 'United States',\n            email: '',\n            newsletterOptIn: true,\n            confirmOpen: false,\n            loadButton: false,\n            userSubscribed: false,\n        };\n    }\n    shouldComponentUpdate(nextProps, nextState) {\n        if (isEqual(this.state, nextState)\n            && isEqual(this.props, nextProps)) {\n            return false;\n        }\n        return true;\n    }\n    render() {\n        const { plantId, plantName, isNotifyModal = false } = this.props;\n        const { loadButton, quantity, email, location, comment, submitError, newsletterOptIn, } = this.state;\n        return (React.createElement(\"div\", { className: \"pdp_email\" },\n            React.createElement(\"form\", { name: \"request_plant\", method: \"POST\", onSubmit: this.submitForm },\n                React.createElement(\"input\", { type: \"hidden\", name: \"plant_id\", value: plantId, readOnly: true }),\n                React.createElement(\"input\", { type: \"hidden\", name: \"plant_name\", value: plantName, readOnly: true }),\n                !isNotifyModal && (React.createElement(\"h2\", null,\n                    \"Special request for\",\n                    ' ',\n                    plantName)),\n                React.createElement(\"p\", { className: \"subtitle\" },\n                    \"We'll notify you if we locate\",\n                    ' ',\n                    plantName,\n                    ' ',\n                    \"and are able to ship to your area.\"),\n                React.createElement(\"div\", { className: \"row email\" },\n                    React.createElement(\"label\", { htmlFor: \"email\" },\n                        \"YOUR E-MAIL\",\n                        React.createElement(\"input\", { type: \"text\", id: \"email\", name: \"email\", onChange: (e) => {\n                                this.updateInput(e, 'email');\n                            }, value: email, maxLength: 255 })),\n                    React.createElement(\"label\", { htmlFor: \"email\", id: \"email-feedback\", className: \"feedback\" })),\n                React.createElement(\"div\", { className: \"row quantity\" },\n                    React.createElement(\"label\", { htmlFor: \"quantity\" },\n                        \"QUANTITY WANTED\",\n                        React.createElement(\"input\", { type: \"number\", id: \"quantity\", name: \"quantity\", value: quantity, min: 1, onChange: (e) => this.updateInput(e, 'quantity'), maxLength: 8 }),\n                        React.createElement(\"div\", { className: \"plus_minus\" },\n                            React.createElement(\"input\", { type: \"image\", src: `${process.env.STATIC_PATH}/img/photo_plus@2x.png`, alt: \"plus\", className: \"plus\", onClick: (e) => this.updateQuantity(e, 'plus') }),\n                            React.createElement(\"input\", { type: \"image\", src: `${process.env.STATIC_PATH}/img/photo_minus@2x.png`, alt: \"minus\", className: \"plus\", onClick: (e) => this.updateQuantity(e, 'minus') }))),\n                    React.createElement(\"label\", { id: \"quantity-feedback\", className: \"feedback\" })),\n                React.createElement(\"div\", { className: \"row location\" },\n                    React.createElement(\"label\", { htmlFor: \"location\" },\n                        \"YOUR LOCATION\",\n                        React.createElement(\"input\", { type: \"text\", id: \"location\", name: \"userLocation\", value: location, maxLength: 128, onChange: (e) => this.updateInput(e, 'location') })),\n                    React.createElement(\"label\", { id: \"user_location-feedback\", className: \"feedback\" })),\n                React.createElement(\"div\", { className: \"row comments\" },\n                    React.createElement(\"label\", { htmlFor: \"comments\" },\n                        \"COMMENTS (OPTIONAL)\",\n                        React.createElement(\"textarea\", { name: \"comments\", id: \"comments\", value: comment, maxLength: 4096, onChange: (e) => this.updateInput(e, 'comment') }))),\n                React.createElement(\"div\", { className: \"row newsletter\" },\n                    React.createElement(\"input\", { type: \"checkbox\", id: \"newsletter\", className: newsletterOptIn ? 'pdp_checked' : 'pdp_unchecked', name: \"newsletter_optIn\", checked: newsletterOptIn, onChange: () => { }, onClick: (e) => this.updateInput(e, 'newsletterOptIn') }),\n                    React.createElement(\"label\", { htmlFor: \"newsletter\" },\n                        \"Join the Mailing List\",\n                        ' ',\n                        React.createElement(\"span\", null,\n                            \"Pssst... get the scoop on new plant arrivals and deals\",\n                            ' ',\n                            React.createElement(\"a\", { target: \"_blank\", rel: \"noopener noreferrer\", href: \"https://plantlust.com/blog/privacy-policy/\" }, \"Privacy Policy\")))),\n                submitError && (React.createElement(\"p\", { className: \"feedback\" }, \"Something went wrong. Please try again.\")),\n                React.createElement(\"div\", { className: \"row submit\" }, loadButton ? (React.createElement(\"button\", { className: \"btn primary loading\", type: \"submit\" }, \"Send\")) : (React.createElement(\"button\", { className: \"btn primary\", type: \"submit\", id: \"submit_form\" }, \"Send\")))),\n            this.confirmModal()));\n    }\n}\nexport default PdpEmail;\n","/* eslint-disable no-nested-ternary */\nimport React from 'react';\nimport Grid from '@mui/material/Grid';\nimport Typography from '@mui/material/Typography';\nimport { useParams } from 'react-router-dom';\nimport Box from '@mui/material/Box';\nimport Button from '@mui/material/Button';\nimport Link from '@mui/material/Link';\nimport styles from './NavigationStyles';\nimport NavigationLinkSection from './NavigationLinkSection';\nconst NavigationSection = ({ data, childrenType, }) => {\n    var _a, _b;\n    const params = useParams();\n    const isSecondaryNavPage = !!params.secondaryNav;\n    const mapData = childrenType === 'primary'\n        ? data : childrenType === 'secondary'\n        ? (_a = data.secondary) === null || _a === void 0 ? void 0 : _a.slice(0, 4) : isSecondaryNavPage\n        ? data.tertiary : (_b = data.tertiary) === null || _b === void 0 ? void 0 : _b.slice(0, 4);\n    const getModifiedLink = (link, menuId) => {\n        const updatedLink = !link.startsWith('/nurseries/')\n            ? link.includes('?')\n                ? `${link}&${menuId}`\n                : `${link}?${menuId}`\n            : link;\n        return updatedLink;\n    };\n    const LinkCard = ({ item }) => {\n        const { link, promo_hero: imageSrc, promo_title: title, title: cardTitle, url, menu_id: menuId, } = item;\n        const modifiedLink = childrenType === 'primary'\n            ? url\n            : childrenType === 'secondary'\n                ? url\n                : link ? getModifiedLink(link, menuId) : '';\n        return modifiedLink ? (React.createElement(Box, { key: item.title, sx: styles.navItem },\n            React.createElement(Link, { href: modifiedLink, title: title, sx: styles.navItemContainer },\n                React.createElement(Box, { sx: styles.navItemImageContainer },\n                    React.createElement(Box, { component: \"img\", src: imageSrc || `${process.env.STATIC_PATH}/img/placeholder_plant_196x196.jpg`, alt: title, sx: styles.navItemImage })),\n                React.createElement(Typography, { sx: styles.navItemTitle }, cardTitle)))) : (React.createElement(Box, { key: item.title, sx: styles.navItem },\n            React.createElement(Box, { sx: styles.navItemContainer },\n                React.createElement(Box, { sx: styles.navItemImageContainer },\n                    React.createElement(Box, { component: \"img\", src: item.promo_hero || `${process.env.STATIC_PATH}/img/placeholder_plant_196x196.jpg`, alt: item.promo_title, sx: styles.navItemImage })),\n                React.createElement(Typography, { sx: styles.navItemTitle }, item.title))));\n    };\n    return (mapData === null || mapData === void 0 ? void 0 : mapData.length) > 0 ? (React.createElement(Grid, { sx: styles.navSectionWrapper },\n        !isSecondaryNavPage && childrenType !== 'primary' && (React.createElement(Typography, { variant: \"h2\", sx: styles.navTitle }, data.title)),\n        React.createElement(Box, { sx: styles.navItemsContainer }, mapData.map((item) => (React.createElement(Box, { key: item.key, sx: styles.navItemWrapper },\n            React.createElement(LinkCard, { item: item }))))),\n        !isSecondaryNavPage && childrenType !== 'primary' && (React.createElement(Box, { sx: styles.navButton },\n            React.createElement(Link, { href: data.url },\n                React.createElement(Button, { type: \"button\", className: \"btn primary inverted\" },\n                    \"All\",\n                    ` ${data.title}`)))))) : (childrenType !== 'primary' && React.createElement(NavigationLinkSection, { item: data }));\n};\nexport default NavigationSection;\n","import React from 'react';\nimport Avatar from '@mui/material/Avatar';\nimport NoPlantImage from '../../themes/icons/NoPlantImage';\nconst classes = {\n    root: {\n        cursor: 'pointer',\n    },\n};\nexport default function AvatarImage({ customClassName, sqaure = false, children, ...other }) {\n    return (React.createElement(Avatar, { sx: [customClassName, classes.root], variant: sqaure ? 'square' : 'circular', ...other }, children || React.createElement(NoPlantImage, null)));\n}\n","const layoutStyles = {\n    divider: (theme) => ({\n        marginBottom: theme.spacing(3.75),\n        [theme.breakpoints.down('sm')]: {\n            display: 'none',\n        },\n    }),\n    searchFiltersContainer: (theme) => ({\n        backgroundColor: theme.palette.background.default,\n        textAlign: 'left',\n        '@media (max-width: 930px)': {\n            padding: theme.spacing(0, 2),\n        },\n    }),\n};\nexport const mainLayoutStyles = {\n    searchBarContainer: (theme) => ({\n        margin: 'auto',\n        padding: theme.spacing(6.875, 3.75, 0),\n        [theme.breakpoints.down('md')]: {\n            padding: theme.spacing(0, 1.875),\n        },\n        [theme.breakpoints.up('md')]: {\n            padding: theme.spacing(0, 2),\n        },\n        [theme.breakpoints.up('lg')]: {\n            padding: theme.spacing(0),\n        },\n    }),\n    searchBar: (theme) => ({\n        [theme.breakpoints.up('md')]: {\n            borderBottom: `1px solid ${theme.palette.secondary.contrastText}`,\n            maxWidth: 1104,\n            margin: '0 auto',\n        },\n    }),\n    toggleButton: (theme) => ({\n        position: 'fixed',\n        right: 0,\n        top: '50%',\n        marginTop: theme.spacing(-3),\n        minWidth: 0,\n        width: theme.spacing(6.25),\n        fontSize: theme.spacing(2),\n        fontWeight: 'bold',\n        backgroundColor: theme.palette.primary.light,\n        color: theme.palette.background.default,\n        display: 'block',\n        padding: theme.spacing(1.25, 0),\n        borderRadius: theme.spacing(0.5, 0, 0, 0.5),\n        lineHeight: '22px',\n        '&:hover': {\n            backgroundColor: theme.palette.primary.contrastText,\n        },\n        [theme.breakpoints.down('sm')]: {\n            display: 'none',\n        },\n        span: {\n            margin: 0,\n            marginTop: theme.spacing(1.25),\n        },\n    }),\n    toggleButtonIcon: (theme) => ({\n        '& .MuiButton-endIcon': {\n            marginRight: 0,\n            marginLeft: 0,\n            marginTop: theme.spacing(1.25),\n        },\n    }),\n    fullWidthContent: (theme) => ({\n        width: '100%',\n        [theme.breakpoints.up('sm')]: {\n            marginTop: '0 !important',\n        },\n    }),\n};\nexport default layoutStyles;\n","import React from 'react';\nimport Grid from '@mui/material/Grid';\nimport Typography from '@mui/material/Typography';\nimport ItemAvailability from './ItemAvailability';\nimport AvatarImage from '../CommonComponents/AvatarImage';\nimport QuantityPicker from '../CommonComponents/QuantityPicker';\nimport CustomButton from '../CommonComponents/CustomButton';\nimport { numberFormat } from '../../utils/helpers';\nimport RemoveItem from '../../themes/icons/RemoveItem';\nimport classes from './CartPlantStyles';\nexport default function CartPlant(props) {\n    const { plant, shopifyCart, goToPlant, removeItem, changeNurseryQuantity, } = props;\n    return (React.createElement(Grid, { container: true, direction: \"row\", justifyContent: \"flex-start\", sx: [classes.plantInfoWrapper,\n            !shopifyCart && (plant.quantity_been_reduced\n                || plant.shopify_quantity === 0) && classes.plantInfoWrapperItems], wrap: \"nowrap\" },\n        React.createElement(AvatarImage, { onClick: () => goToPlant(plant.url), key: `${plant.name}-${plant.shopify_title}`, customClassName: classes.plantImage, src: plant.photo, alt: plant.name, sqaure: true }),\n        React.createElement(Grid, { sx: [classes.plantInfo, shopifyCart && classes.plantInfoCart] },\n            React.createElement(Grid, { container: true, direction: \"column\", alignItems: \"flex-start\" },\n                React.createElement(CustomButton, { onClick: () => goToPlant(plant.url), buttonClassSX: classes.plantName, buttonText: plant.name }),\n                React.createElement(Typography, { sx: classes.plantSize }, plant.shopify_title),\n                !shopifyCart && (React.createElement(CustomButton, { buttonClassSX: classes.removeButton, onClick: () => removeItem(plant), buttonText: \"Remove\", startIcon: React.createElement(RemoveItem, null) }))),\n            React.createElement(Grid, { container: true, direction: \"row\", sx: [classes.quantityPrice, shopifyCart && classes.quantityPriceCart] },\n                React.createElement(QuantityPicker, { plant: plant, changeQuantity: changeNurseryQuantity }),\n                React.createElement(Typography, { sx: [classes.plantPrice, shopifyCart && classes.plantPriceCart] },\n                    \"$\",\n                    numberFormat(plant.price)))),\n        !shopifyCart && (plant.quantity_been_reduced\n            || plant.shopify_quantity === 0) && React.createElement(ItemAvailability, { plant: plant })));\n}\n","/* eslint-disable max-len */\nimport React, { useEffect, useState } from 'react';\nimport Typography from '@mui/material/Typography';\nimport Box from '@mui/material/Box';\nimport styles from './NavigationStyles';\nimport { breakpoints } from '../../utils/helpers';\nconst NavigationLinkSection = ({ item, isSecondaryNav = false }) => {\n    const { promo_hero: imgSrc, title, long_nav_title: longTitle, link, promo_credit: credit, menu_id: menuId, promo_title: promoTitle, promo_credit_link: promoCreditLink, } = item;\n    const [imageHeight, setImageHeight] = useState(0);\n    const isSmallScreen = window.innerWidth <= breakpoints.screen_med_xs;\n    const modifiedLink = !isSecondaryNav ? link\n        && !link.startsWith('/nurseries/') ? link.includes('?') ? `${link}&${menuId}` : `${link}?${menuId}` : link : promoCreditLink;\n    useEffect(() => {\n        // Calculate the height of the left div after it has been rendered\n        const leftDiv = document.getElementById(`text-div-${item.key}`);\n        if (leftDiv) {\n            const height = isSmallScreen ? leftDiv.offsetHeight > 300 ? 300 : leftDiv.offsetHeight : leftDiv.offsetHeight;\n            setImageHeight(height);\n        }\n    }, []);\n    return (React.createElement(Box, { sx: [styles.navEmptyContainer, imgSrc && styles.navContainerWithImage] },\n        imgSrc\n            && (React.createElement(Box, { style: { height: imageHeight }, sx: styles.imgContainer },\n                React.createElement(Box, { component: \"img\", style: { height: imageHeight }, src: imgSrc, alt: title, sx: styles.navEmptyImage }))),\n        React.createElement(Box, { id: `text-div-${item.key}`, sx: [styles.navTextContainer, imgSrc && styles.navTextContainerWithImage] },\n            React.createElement(Typography, { textAlign: (!imgSrc || isSmallScreen) ? 'center' : 'left', sx: styles.shortTitle }, title),\n            React.createElement(Typography, { textAlign: (!imgSrc || isSmallScreen) ? 'center' : 'left', sx: styles.longTitle }, isSecondaryNav ? promoTitle : longTitle),\n            credit && React.createElement(Typography, { textAlign: (!imgSrc || isSmallScreen) ? 'center' : 'left', sx: styles.credit }, credit),\n            modifiedLink && (React.createElement(\"a\", { href: modifiedLink },\n                React.createElement(Box, { component: \"img\", src: imgSrc ? `${process.env.STATIC_PATH}/img/nav_dark_grey.png` : `${process.env.STATIC_PATH}/img/nav_right.png`, alt: \"Navigate Next\", sx: [styles.navigateNext, imgSrc && styles.navigateNextWithImage] }))))));\n};\nexport default NavigationLinkSection;\n","import React, { createContext, useContext, useState, } from 'react';\nconst NurseryContext = createContext(undefined);\n// Hook for functional components\nexport const useNurseryContext = () => {\n    const context = useContext(NurseryContext);\n    if (!context) {\n        throw new Error('useNurseryContext must be used within NurseryProvider');\n    }\n    return context;\n};\n// HOC wrapper for class components\nexport const withNurseryContext = (Component) => {\n    const WrappedComponent = React.forwardRef((props, ref) => {\n        const nurseryContext = useNurseryContext();\n        return React.createElement(Component, { ...props, ...nurseryContext, ref: ref });\n    });\n    WrappedComponent.displayName = `withNurseryContext(${Component.displayName || Component.name})`;\n    return WrappedComponent;\n};\n// Provider\nexport const NurseryProvider = ({ children }) => {\n    const [nurseryName, setNurseryName] = useState('');\n    const [nurserySlug, setNurserySlug] = useState('');\n    const isNursery = !!(nurseryName || nurserySlug);\n    return (React.createElement(NurseryContext.Provider, { value: {\n            nurseryName,\n            nurserySlug,\n            setNurseryName,\n            setNurserySlug,\n            isNursery,\n        } }, children));\n};\n","export const CSRF_TOKEN = '/api/csrf/';\nexport const INDEX_DATA = '/api/index_data/';\nexport const COMMON_DATA = '/api/common_data/';\nexport const SEARCH = '/searchq/?';\nexport const NURSURY = '/api/nursery/';\nexport const NURSERY_SEARCH = '/searchq/?nurseries=';\nexport const PLANTS = '/api/plants/';\nexport const FEATURE = '/api/featured/';\nexport const REQUEST_PLANT = '/plants/utils/request_plant/';\nexport const AUTO_SEARCH = '/search_auto/?query=';\nexport const NEWSLETTER_SUBSCRIBE = '/api/newsletter_subscribe/';\nexport const NAVIGATION_DATA = '/api/navigation/';\nexport const ADD_ITEMS = '/api/cart/add/';\nexport const CART_CONTENTS = '/api/cart/list/';\nexport const CLEAR_CART = '/api/cart/clear/';\nexport const SHOPIFY_PUBLIC_ACCESS_TOKEN = 'c30eddf2f2686ec06759252a749049fc';\nexport const SHOPIFY_STORE_DOMAIN = 'https://plant-lust.myshopify.com';\nexport const SHOPIFY_VERSION = '2025-01';\n","const styles = {\n    mainWrapper: {\n        height: 'auto',\n        marginTop: '1.5em',\n    },\n    containerGrid: (theme) => ({\n        width: '100%',\n        maxWidth: 1104,\n        textAlign: 'center',\n        margin: 'auto',\n        padding: theme.spacing(0, 3.75),\n        paddingBottom: 0,\n        [theme.breakpoints.down('xxsMin')]: {\n            padding: theme.spacing(0, 2),\n        },\n        [theme.breakpoints.up('lg')]: {\n            padding: 0,\n        },\n        [theme.breakpoints.between('xsMedMax', 'sm')]: {\n            maxWidth: 768,\n        },\n    }),\n    promotionsContainer: (theme) => ({\n        margin: theme.spacing(0, 'auto'),\n        display: 'flex',\n        flexWrap: 'wrap',\n        maxWidth: 1104,\n        padding: 0,\n        [theme.breakpoints.down('xsMax')]: {\n            padding: 0,\n            position: 'relative',\n            zIndex: 1,\n            marginTop: theme.spacing(6.875),\n        },\n    }),\n    promotionLink: {\n        display: 'block',\n        position: 'relative',\n        backgroundRepeat: 'no-repeat',\n        backgroundSize: 'cover',\n        height: 'auto',\n        margin: 0,\n        textDecoration: 'none',\n    },\n    promotionFirst: (theme) => ({\n        minHeight: '320px',\n        maxHeight: '550px',\n        height: 'auto',\n        overflow: 'hidden',\n        [theme.breakpoints.between('xsMedMax', 'sm')]: {\n            minHeight: '320px',\n            maxHeight: '400px',\n        },\n        [theme.breakpoints.down('xsMedMin')]: {\n            minHeight: '220px',\n            maxHeight: '320px',\n        },\n    }),\n    promotionRest: (theme) => ({\n        minHeight: '200px',\n        maxHeight: '300px',\n        height: 'auto',\n        overflow: 'hidden',\n        flexBasis: 'unset',\n        [theme.breakpoints.down('xsMax')]: {\n            minHeight: '110px',\n            maxHeight: '200px',\n        },\n    }),\n    promotionTitle: (theme) => ({\n        backgroundColor: `${theme.palette.background.default}B3`,\n        padding: '0.5em',\n        position: 'absolute',\n        right: 0,\n        bottom: '1.5em',\n        fontSize: theme.spacing(3),\n        lineHeight: 1.2,\n        letterSpacing: '0.05em',\n        fontWeight: 300,\n        color: theme.palette.primary.dark,\n        width: '50%',\n        textAlign: 'right',\n        transform: 'translateY(-100%)',\n        [theme.breakpoints.down('lg')]: {\n            transform: 'translateY(-25%)',\n            width: '75%',\n        },\n        [theme.breakpoints.down('xsMax')]: {\n            bottom: 0,\n            fontSize: theme.spacing(2.125),\n            width: '100%',\n            height: '70px',\n            boxSizing: 'border-box',\n            display: 'flex',\n            alignItems: 'flex-end',\n            justifyContent: 'flex-end',\n            transform: 'none',\n        },\n    }),\n    promotionTitleFirst: (theme) => ({\n        height: '170px',\n        bottom: '1.5em',\n        fontSize: '2em',\n        maxWidth: 'fit-content',\n        boxSizing: 'inherit',\n        [theme.breakpoints.up('sm')]: {\n            fontSize: '3em',\n            bottom: '1.5em',\n        },\n        [theme.breakpoints.down('xsMedMin')]: {\n            fontSize: '2em',\n            bottom: '1em',\n        },\n        [theme.breakpoints.up('lg')]: {\n            bottom: '1em',\n        },\n        [theme.breakpoints.between('xsMin', 'xsMax')]: {\n            height: 'auto !important',\n        },\n    }),\n    featuredPlantsWrapper: {\n        width: '100%',\n    },\n    browsePlantsText: (theme) => ({\n        fontSize: theme.spacing(3),\n        margin: theme.spacing(6, 0, 2.5, 0),\n        color: theme.palette.primary.light,\n        fontWeight: 300,\n        textAlign: 'left',\n        [theme.breakpoints.down('xsMax')]: {\n            margin: theme.spacing(2.5, 0, 4, 0),\n            fontSize: theme.spacing(2.5),\n        },\n    }),\n    featuredPlantsContainer: (theme) => ({\n        display: 'flex',\n        flexWrap: 'wrap',\n        alignItems: 'stretch',\n        margin: theme.spacing(2.5, -1, 4, -1),\n        [theme.breakpoints.between('xsMin', 'xsMax')]: {\n            margin: theme.spacing(2.5, 0, 4, 0),\n            display: 'block',\n        },\n    }),\n    featuredPlant: (theme) => ({\n        width: '25%',\n        [theme.breakpoints.down('mdMax')]: {\n            width: '33%',\n        },\n        [theme.breakpoints.between('xsMin', 'xsMax')]: {\n            width: '100%',\n        },\n    }),\n    featuredPlantLink: (theme) => ({\n        background: theme.palette.background.default,\n        borderRadius: 5,\n        color: `${theme.palette.primary.dark} !important`,\n        display: 'block',\n        fontSize: '1.1em',\n        height: '80px',\n        margin: theme.spacing(1),\n        overflow: 'hidden',\n        position: 'relative',\n        textAlign: 'left',\n        border: `1px solid ${theme.palette.secondary.contrastText}`,\n        [theme.breakpoints.down('xsMax')]: {\n            height: 'auto',\n        },\n        [theme.breakpoints.between('xsMin', 'xsMax')]: {\n            margin: theme.spacing(0, 0, 1, 0),\n            '&:hover': {\n                '& $arrow': {\n                    borderLeftColor: theme.palette.orangeColors.light,\n                },\n            },\n        },\n        [theme.breakpoints.between('sm', 'mdMax')]: {\n            height: '60px',\n            fontSize: '0.9em !important',\n        },\n    }),\n    featuredPlantImage: (theme) => ({\n        height: '100%',\n        float: 'left',\n        [theme.breakpoints.down('xsMax')]: {\n            height: 'auto',\n            width: '100%',\n            float: 'none',\n        },\n        [theme.breakpoints.between('xsMin', 'xsMax')]: {\n            display: 'none',\n        },\n    }),\n    tableDiv: (theme) => ({\n        height: '100%',\n        display: 'table',\n        [theme.breakpoints.down('xsMax')]: {\n            padding: theme.spacing(1, 1, 2, 1),\n            display: 'block',\n            marginTop: -2,\n            fontSize: theme.spacing(1.5),\n        },\n        [theme.breakpoints.between('xsMin', 'xsMax')]: {\n            marginTop: 0,\n            padding: theme.spacing(2),\n        },\n    }),\n    cellDiv: {\n        display: 'table-cell',\n        verticalAlign: 'middle',\n    },\n    contentDiv: (theme) => ({\n        padding: theme.spacing(0, 1),\n        [theme.breakpoints.down('xsMax')]: {\n            fontSize: '14px !important',\n            padding: 0,\n        },\n        [theme.breakpoints.up('xsMax')]: {\n            fontWeight: 'lighter',\n        },\n    }),\n    arrow: (theme) => ({\n        [theme.breakpoints.between('xsMin', 'xsMax')]: {\n            position: 'absolute',\n            borderLeft: `7px solid ${theme.palette.greyColors.dark}`,\n            borderTop: '5px solid transparent',\n            borderBottom: '5px solid transparent',\n            display: 'block',\n            width: 0,\n            height: 0,\n            right: theme.spacing(1.5),\n            top: theme.spacing(2.25),\n        },\n    }),\n    categoryButtonContainer: (theme) => ({\n        display: 'flex',\n        justifyContent: 'center',\n        margin: theme.spacing(2.5, 0),\n    }),\n    promotionImage: {\n        // borderRadius: 1,\n        width: '100%',\n        height: '100%',\n        display: 'block',\n        objectFit: 'cover',\n    },\n};\nexport default styles;\n","import React from 'react';\nimport Grid from '@mui/material/Grid';\nimport Radio from '@mui/material/Radio';\nimport RadioGroup from '@mui/material/RadioGroup';\nimport FormControlLabel from '@mui/material/FormControlLabel';\nimport { numberFormat } from '../../utils/helpers';\nfunction ShippingMethodsRadioGroup(props) {\n    const { methods, setShippingPrice, selectedNurseries } = props;\n    const [shippingMethods, setShippingMethods] = React.useState(methods);\n    const [indexValue, setIndexValue] = React.useState(0);\n    const [prevIndex, setPrevIndex] = React.useState(0);\n    const [value, setValue] = React.useState('');\n    React.useEffect(() => {\n        setShippingMethods(methods);\n        if (methods.length > 0) {\n            setValue(methods[0].service_name);\n        }\n        if (selectedNurseries === 1) {\n            setIndexValue(prevIndex);\n            setValue(methods[indexValue].service_name);\n        }\n        else {\n            setIndexValue(0);\n            setValue(methods[0].service_name);\n        }\n        setShippingPrice(methods[indexValue].total_price / 100, indexValue);\n    }, [indexValue, methods, prevIndex, selectedNurseries, setShippingPrice, shippingMethods]);\n    function handleChange(event) {\n        const totalPrice = shippingMethods.find((method) => method.service_name\n            === event.target.value);\n        setValue(event.target.value);\n        setIndexValue(shippingMethods.indexOf(totalPrice));\n        setPrevIndex(shippingMethods.indexOf(totalPrice));\n        setShippingPrice(shippingMethods[shippingMethods.indexOf(totalPrice)].total_price / 100, shippingMethods.indexOf(totalPrice));\n    }\n    return (React.createElement(Grid, { container: true, sx: { pt: 3 } },\n        React.createElement(RadioGroup, { \"aria-label\": shippingMethods[indexValue].service_name, name: shippingMethods[indexValue].service_name, value: value, onChange: handleChange }, shippingMethods === null || shippingMethods === void 0 ? void 0 : shippingMethods.map((method, index) => {\n            const disabled = shippingMethods.length > 1 && selectedNurseries > 1 && index !== 0;\n            let serviceLabel = `${method.service_name} - $${numberFormat(method.total_price / 100)}`;\n            if (disabled) {\n                serviceLabel = (React.createElement(React.Fragment, null,\n                    React.createElement(\"b\", null,\n                        method.service_name,\n                        ' ',\n                        \"- $\",\n                        numberFormat(method.total_price / 100)),\n                    React.createElement(\"br\", null),\n                    \"UNAVAILABLE: the lowest priced option will automatically be applied when cart contains plants from mulltiple nurseries\"));\n            }\n            return (React.createElement(FormControlLabel, { disabled: disabled, key: method.service_name, value: method.service_name, control: React.createElement(Radio, { disabled: disabled, sx: { '&.Mui-disabled': { pt: 0 } }, disableRipple: true, size: \"small\" }), label: serviceLabel, sx: {\n                    alignItems: disabled ? 'flex-start' : 'center',\n                    '& .MuiFormControlLabel-label': {\n                        fontSize: 14,\n                        color: 'blueColors.main',\n                        lineHeight: '18px',\n                        whiteSpace: 'pre-line',\n                        textAlign: 'left',\n                        '&.Mui-disabled': { color: 'blueColors.main' },\n                    },\n                } }));\n        }))));\n}\nexport default ShippingMethodsRadioGroup;\n","import { createStorefrontApiClient } from '@shopify/storefront-api-client';\nimport { SHOPIFY_STORE_DOMAIN, SHOPIFY_PUBLIC_ACCESS_TOKEN, SHOPIFY_VERSION } from '../actions/constats';\nconst client = createStorefrontApiClient({\n    storeDomain: SHOPIFY_STORE_DOMAIN,\n    apiVersion: SHOPIFY_VERSION,\n    publicAccessToken: SHOPIFY_PUBLIC_ACCESS_TOKEN,\n});\nexport default client;\n","import React from 'react';\nimport Grid from '@mui/material/Grid';\nimport Divider from '@mui/material/Divider';\nimport Typography from '@mui/material/Typography';\nimport isEqual from 'fast-deep-equal';\nimport ShippingMethodsRadioGroup from './ShippingMethodsRadioGroup';\nimport CartPlant from './CartPlant';\nimport AvatarImage from '../CommonComponents/AvatarImage';\nimport CustomLoader from '../CommonComponents/CustomLoader';\nimport { numberFormat } from '../../utils/helpers';\nconst classes = {\n    nurseryItemWrapper: (theme) => ({\n        marginBottom: theme.spacing(2),\n        backgroundColor: theme.palette.background.default,\n        padding: theme.spacing(5.5, 2, 2),\n        [theme.breakpoints.down('sm')]: {\n            padding: theme.spacing(1, 2, 2),\n        },\n    }),\n    nurseryInfo: (theme) => ({\n        display: 'flex',\n        flexDirection: 'column',\n        justifyContent: 'flex-start',\n        paddingLeft: theme.spacing(1.5),\n    }),\n    nurseryName: (theme) => ({\n        '&.MuiTypography-body1': {\n            color: theme.palette.blueColors.main,\n            fontSize: theme.spacing(2.75),\n            fontWeight: 'bold',\n            lineHeight: '30px',\n            letterSpacing: '0.06em',\n        },\n    }),\n    plantPreviewImage: (theme) => ({\n        width: 75,\n        height: 75,\n        fontSize: theme.spacing(2),\n        fontWeight: 'bold',\n        lineHeight: '20px',\n        color: theme.palette.blueColors.main,\n        backgroundColor: theme.palette.newGreyColors.main,\n    }),\n    nurseryInfoHeader: (theme) => ({\n        paddingBottom: theme.spacing(1.25),\n        borderBottom: `1px solid ${theme.palette.blueColors.main}`,\n        marginBottom: theme.spacing(2),\n        '&:hover': {\n            cursor: 'pointer',\n        },\n    }),\n    nurseryShppingInfo: (theme) => ({\n        '&.MuiTypography-body1': {\n            color: theme.palette.blueColors.main,\n            paddingTop: theme.spacing(0.75),\n            fontSize: theme.spacing(1.75),\n            fontWeight: 400,\n            lineHeight: '18px',\n            letterSpacing: '0.06em',\n        },\n    }),\n    divider: (theme) => ({\n        margin: theme.spacing(1, 0),\n        borderColor: theme.palette.blueColors.main,\n        width: '100%',\n    }),\n    nurserySubtotal: (theme) => ({\n        fontSize: theme.spacing(2),\n        color: theme.palette.blueColors.main,\n        lineHeight: '20px',\n        fontWeight: 400,\n    }),\n    nurseryTotal: (theme) => ({\n        fontSize: theme.spacing(2),\n        color: theme.palette.blueColors.main,\n        lineHeight: '20px',\n        fontWeight: 'bold',\n    }),\n    nurseryTotalPrice: {\n        fontWeight: 'bold',\n    },\n    nurseryItemWrapperCart: (theme) => ({\n        marginBottom: theme.spacing(2),\n        backgroundColor: theme.palette.background.default,\n        padding: theme.spacing(1, 2, 2),\n    }),\n};\nclass CartNursery extends React.Component {\n    constructor(props) {\n        super(props);\n        this.setShippingPrice = (price, indexValue) => {\n            const { updateNursery, nursery } = this.props;\n            const updatedNursery = {\n                ...nursery,\n                selectedIndex: indexValue,\n                shippingPrice: price,\n            };\n            if (updateNursery)\n                updateNursery(updatedNursery, updatedNursery.shippingPrice);\n        };\n        this.removeItem = async (plant) => {\n            const { changeQuantity, nursery } = this.props;\n            this.setState({ shippingLoadingOverride: true });\n            const newPlant = {\n                ...plant,\n                quantity: 0,\n            };\n            await changeQuantity(newPlant, nursery);\n        };\n        this.goToPlant = (plantURL) => {\n            window.location.href = plantURL;\n        };\n        this.changeNurseryQuantity = async (plant) => {\n            const { changeQuantity, nursery } = this.props;\n            this.setState({ shippingLoadingOverride: true });\n            await changeQuantity(plant, nursery);\n        };\n        this.state = {\n            shippingLoadingOverride: false,\n        };\n    }\n    static getDerivedStateFromProps(nextProps, prevState) {\n        var _a;\n        if (prevState.shippingLoadingOverride && !((_a = nextProps.nursery) === null || _a === void 0 ? void 0 : _a.shippingLoading)) {\n            return { shippingLoadingOverride: false };\n        }\n        return null;\n    }\n    componentDidUpdate(prevProps) {\n        const { updateNursery, nursery } = this.props;\n        const nurseryChanged = !isEqual(prevProps.nursery, nursery);\n        const needsShippingReset = !nursery.shipping_options\n            && (nursery.shippingPrice !== 0 || nursery.selectedIndex !== undefined);\n        if (needsShippingReset) {\n            this.setShippingPrice(0);\n            return;\n        }\n        if (nurseryChanged && updateNursery) {\n            updateNursery(nursery, nursery.shippingPrice);\n        }\n    }\n    render() {\n        var _a;\n        const { showTotals, shopifyCart, nursery, selectedNurseries, } = this.props;\n        const { shippingLoadingOverride } = this.state;\n        const shippingLoading = shippingLoadingOverride || (nursery === null || nursery === void 0 ? void 0 : nursery.shippingLoading);\n        if (nursery) {\n            return (React.createElement(Grid, { container: true, justifyContent: \"center\", direction: \"column\", sx: [classes.nurseryItemWrapper,\n                    shopifyCart && classes.nurseryItemWrapperCart] },\n                React.createElement(Grid, { container: true, justifyContent: \"flex-start\", wrap: \"nowrap\", sx: classes.nurseryInfoHeader, onClick: () => this.goToPlant(`/nurseries/${nursery.shopify_handle}/`) },\n                    React.createElement(AvatarImage, { key: nursery.name, customClassName: classes.plantPreviewImage, src: nursery.avatar, alt: nursery.name }),\n                    React.createElement(Grid, { sx: classes.nurseryInfo },\n                        React.createElement(Typography, { sx: classes.nurseryName }, nursery.name),\n                        React.createElement(Typography, { sx: classes.nurseryShppingInfo }, nursery.shipping_info_long !== '' ? nursery.shipping_info_long : nursery.shipping_info))),\n                React.createElement(Grid, { container: true, justifyContent: \"flex-start\" }, (_a = nursery === null || nursery === void 0 ? void 0 : nursery.items) === null || _a === void 0 ? void 0 :\n                    _a.map((plant) => (React.createElement(CartPlant, { key: `${plant.name}-${plant.shopify_title}`, plant: plant, shopifyCart: shopifyCart, goToPlant: this.goToPlant, removeItem: this.removeItem, changeNurseryQuantity: this.changeNurseryQuantity }))),\n                    showTotals && nursery.shipping_options && (React.createElement(ShippingMethodsRadioGroup, { methods: nursery.shipping_options, setShippingPrice: this.setShippingPrice, selectedNurseries: selectedNurseries })),\n                    React.createElement(Divider, { sx: classes.divider }),\n                    React.createElement(Grid, { container: true, justifyContent: \"space-around\", direction: \"column\" },\n                        React.createElement(Grid, { container: true, direction: \"row\", justifyContent: \"space-between\" },\n                            React.createElement(Typography, { sx: classes.nurserySubtotal }, !showTotals ? `${nursery.name} subtotal` : 'Nursery subtotal'),\n                            shippingLoading && !shopifyCart ? (React.createElement(CustomLoader, { key: nursery.name, loaderSx: null, loaderAttributes: { size: 20, thickness: 5 } })) : (React.createElement(Typography, null,\n                                \"$\",\n                                numberFormat(nursery.subtotal)))),\n                        showTotals && (React.createElement(React.Fragment, null,\n                            React.createElement(Grid, { container: true, direction: \"row\", justifyContent: \"space-between\" },\n                                React.createElement(Typography, { sx: classes.nurserySubtotal }, \"Nursery shipping\"),\n                                shippingLoading ? (React.createElement(CustomLoader, { key: nursery.name, loaderSx: null, loaderAttributes: { size: 20, thickness: 5 } })) : (React.createElement(Typography, null,\n                                    \"$\",\n                                    numberFormat(nursery.shippingPrice)))),\n                            React.createElement(Grid, { container: true, direction: \"row\", justifyContent: \"space-between\" },\n                                React.createElement(Typography, { sx: classes.nurseryTotal }, \"Nursery total\"),\n                                shippingLoading ? (React.createElement(CustomLoader, { key: nursery.name, loaderSx: null, loaderAttributes: { size: 20, thickness: 5 } })) : (React.createElement(Typography, { sx: classes.nurseryTotalPrice },\n                                    \"$\",\n                                    numberFormat(nursery.total))))))))));\n        }\n        return null;\n    }\n}\nexport default CartNursery;\n","const styles = {\n    navigationWrapper: (theme) => ({\n        [theme.breakpoints.down('mdMedMin')]: {\n            display: 'none',\n        },\n    }),\n    mainNavItems: (theme) => ({\n        [theme.breakpoints.down('mdMax')]: {\n            padding: theme.spacing(0, '0.75em'),\n        },\n    }),\n    secondaryNavItemsPadded: (theme) => ({\n        padding: theme.spacing(3, 0),\n        [theme.breakpoints.down('mdMax')]: {\n            padding: theme.spacing(3, 2),\n        },\n    }),\n    navSectionWrapper: (theme) => ({\n        width: '100%',\n        margin: theme.spacing(3, 0),\n        alignContent: 'center',\n    }),\n    navTitle: (theme) => ({\n        fontFamily: 'system-ui, sans-serif',\n        fontSize: theme.spacing(3),\n        margin: theme.spacing(2.5, 0),\n        color: theme.palette.primary.light,\n        fontWeight: 'bold',\n        [theme.breakpoints.down('xsMax')]: {\n            marginBottom: theme.spacing(2.5),\n            fontSize: theme.spacing(2.5),\n        },\n    }),\n    navItemsContainer: (theme) => ({\n        display: 'flex',\n        flexWrap: 'wrap',\n        [theme.breakpoints.between('xsMin', 'xsMax')]: {\n            margin: theme.spacing(2.5, 0, 4, 0),\n        },\n    }),\n    navItemWrapper: (theme) => ({\n        width: '25%',\n        [theme.breakpoints.down('md')]: {\n            width: '33%',\n        },\n        [theme.breakpoints.between('xsMin', 'xsMax')]: {\n            width: '50%',\n        },\n    }),\n    navItem: (theme) => ({\n        margin: theme.spacing(0.5, 1.5, 1.5, 0),\n    }),\n    navItemContainer: {\n        display: 'block',\n    },\n    navItemImageContainer: (theme) => ({\n        height: 180,\n        overflow: 'hidden',\n        borderRadius: theme.spacing(1),\n        marginBottom: theme.spacing(1),\n    }),\n    navItemImage: {\n        height: 180,\n        width: '100%',\n        display: 'block',\n        objectFit: 'cover',\n    },\n    navItemTitle: (theme) => ({\n        color: '#000',\n        fontFamily: 'system-ui, sans-serif',\n        fontWeight: 100,\n        lineHeight: 'normal',\n        letterSpacing: 1.68,\n        textAlign: 'left',\n        fontSize: theme.spacing(2.5),\n        [theme.breakpoints.between('sm', 'mdMedMin')]: {\n            fontSize: theme.spacing(2),\n        },\n        [theme.breakpoints.down('xsMax')]: {\n            fontSize: theme.spacing(1.8),\n        },\n    }),\n    navButton: (theme) => ({\n        display: 'flex',\n        justifyContent: 'center',\n        margin: theme.spacing(2.5, 0, 0, 0),\n    }),\n    navEmptyContainer: (theme) => ({\n        width: '100%',\n        margin: theme.spacing(3, 0),\n        background: theme.palette.blueColors.main,\n    }),\n    navContainerWithImage: (theme) => ({\n        background: '#fff !important',\n        display: 'flex',\n        borderRadius: 4,\n        border: '1px solid #d5d3cf',\n        minHeight: 200,\n        [theme.breakpoints.down('xsMedMax')]: {\n            display: 'block',\n        },\n    }),\n    navTextContainer: (theme) => ({\n        padding: theme.spacing(4, 8),\n        color: theme.palette.background.default,\n        [theme.breakpoints.between('sm', 'mdMedMin')]: {\n            padding: theme.spacing(3, 6),\n        },\n        [theme.breakpoints.down('xsMax')]: {\n            padding: theme.spacing(2, 4),\n        },\n    }),\n    navTextContainerWithImage: (theme) => ({\n        color: '#000 !important',\n        width: '60% !important',\n        [theme.breakpoints.down('xsMedMax')]: {\n            width: '80% !important',\n        },\n    }),\n    shortTitle: {\n        fontSize: 14,\n        fontWeight: 200,\n        letterSpacing: 4.34,\n        textTransform: 'uppercase',\n    },\n    longTitle: (theme) => ({\n        fontFamily: 'system-ui, sans-serif',\n        fontSize: 40,\n        lineHeight: '45px',\n        fontWeight: 300,\n        letterSpacing: 0.39,\n        margin: theme.spacing(4, 0),\n        [theme.breakpoints.between('sm', 'mdMedMin')]: {\n            margin: theme.spacing(3, 0),\n            fontSize: theme.spacing(3),\n            lineHeight: theme.spacing(3.3),\n        },\n        [theme.breakpoints.down('xsMax')]: {\n            margin: theme.spacing(2, 0),\n            fontSize: theme.spacing(2.5),\n            lineHeight: theme.spacing(3),\n        },\n    }),\n    imgContainer: (theme) => ({\n        width: '30%',\n        [theme.breakpoints.down('xsMedMax')]: {\n            width: '100%',\n        },\n    }),\n    navEmptyImage: (theme) => ({\n        borderRadius: theme.spacing(0.5, 0, 0, 0.5),\n        height: '100%',\n        width: '100%',\n        objectFit: 'cover',\n        [theme.breakpoints.down('xsMedMax')]: {\n            borderRadius: theme.spacing(0.5, 0.5, 0, 0),\n        },\n    }),\n    navigateNext: (theme) => ({\n        width: 48,\n        height: 48,\n        margin: theme.spacing(2, 0, 0, 0),\n    }),\n    navigateNextWithImage: (theme) => ({\n        display: 'flex',\n        [theme.breakpoints.down('xsMedMax')]: {\n            display: 'inline',\n        },\n    }),\n    credit: {\n        fontSize: 14,\n        letterSpacing: 0.9,\n        fontWeight: 100,\n    },\n    navPageTitle: (theme) => ({\n        fontSize: 36,\n        fontWeight: 'bold',\n        lineHeight: 'normal',\n        letterSpacing: '2.16px',\n        textAlign: 'left',\n        marginBottom: theme.spacing(2.5),\n    }),\n    navPageDescription: {\n        fontSize: 16,\n        fontWeight: 300,\n        lineHeight: '28px',\n        letterSpacing: 1.013,\n        textAlign: 'left',\n    },\n    navPageWrapper: {\n        flexDirection: 'column',\n    },\n};\nexport default styles;\n","export const fetchCart = `\n  query FetchCart($shopifyCartId: ID!) {\n    node(id: $shopifyCartId) {\n      ... on Cart {\n          id\n          lines(first:100) {\n            edges {\n              node {\n                merchandise {\n                  ... on ProductVariant {\n                    id\n                    title\n                    product {\n                      id\n                    title\n                  }\n                }\n              }\n            }\n          }\n        }\n      }\n    }\n  }`;\nexport const cartCreate = `\n  mutation CartCreate($input: CartInput!) {\n    cartCreate(\n      input: $input\n    ) {\n      cart {\n        id\n        checkoutUrl\n      }\n      userErrors {\n        field\n        message\n      }\n    }\n  }`;\nexport const getCustomer = `\n  query GetCustomer($customerAccessToken: String!) {\n    customer(customerAccessToken: $customerAccessToken) {\n      id\n      email\n      defaultAddress {\n        address1\n        address2\n        city\n        provinceCode\n        countryCode\n        zip\n        firstName\n        lastName\n        phone\n        company\n      }\n    }\n  }`;\nexport const shopifyLogin = `\n  mutation ShopifyLogin($email: String!, $password: String!) {\n    customerAccessTokenCreate(input: {\n          email: $email\n          password: $password\n        }) {\n          customerAccessToken {\n            accessToken\n            expiresAt\n          }\n          customerUserErrors {\n            code\n            field\n            message\n          }\n        }\n    }`;\nexport const renewCustomerToken = `\n  mutation RenewCustomerToken($customerAccessToken: String!) {\n    customerAccessTokenRenew(customerAccessToken: $customerAccessToken) {\n        customerAccessToken {\n          accessToken\n          expiresAt\n        }\n        userErrors {\n          field\n          message\n        }\n      }\n  }`;\nexport const deleteCustomerToken = `\n  mutation DeleteCustomerToken($customerAccessToken: String!) {\n    customerAccessTokenDelete(customerAccessToken: $customerAccessToken) {\n        deletedAccessToken\n        deletedCustomerAccessTokenId\n        userErrors {\n          field\n          message\n        }\n      }\n  }`;\n","import React from 'react';\nimport Button from '@mui/material/Button';\nimport CustomLoader from './CustomLoader';\nconst classes = {\n    buttonRoot: (theme) => ({\n        textTransform: 'none',\n        '&:hover': {\n            backgroundColor: theme.palette.secondary.main,\n        },\n        '&:hover.Mui-disabled, & .Mui-disabled': {\n            backgroundColor: theme.palette.secondary.main,\n            color: theme.palette.background.default,\n            opacity: 0.5,\n        },\n    }),\n    loaderRoot: (theme) => ({\n        color: theme.palette.background.default,\n        padding: theme.spacing(0, 0.65),\n    }),\n};\nexport default function CustomButton({ buttonText, buttonLoading = false, loaderAttributes = {\n    size: 20,\n    thickness: 5,\n}, buttonClassSX = {}, ...other }) {\n    return (React.createElement(Button, { disableRipple: true, disableFocusRipple: true, sx: [classes.buttonRoot, ...(Array.isArray(buttonClassSX) ? buttonClassSX : [buttonClassSX])], ...other },\n        buttonLoading && (React.createElement(CustomLoader, { loaderSx: classes.loaderRoot, loaderAttributes: loaderAttributes })),\n        buttonText));\n}\n","let idCounter = 0;\nexport const uniqueId = (prefix = '') => { idCounter += 1; return `${prefix}${idCounter}`; };\nexport function getCookie(name) {\n    let cookieValue = '';\n    if (document.cookie && document.cookie !== '') {\n        const cookies = document.cookie.split(';');\n        for (let i = 0; i < cookies.length; i += 1) {\n            const cookie = cookies[i].trim();\n            // Does this cookie string begin with the name we want?\n            if (cookie.substring(0, name.length + 1) === `${name}=`) {\n                cookieValue = decodeURIComponent(cookie.substring(name.length + 1));\n                break;\n            }\n        }\n    }\n    return cookieValue;\n}\nexport const breakpoints = {\n    screen_med_xs: 569,\n    screen_xs: 768,\n    screen_md: 940,\n    screen_lg: 1144,\n};\nexport function validateEmail(email) {\n    return email.match(/^([a-zA-Z0-9_.-])+@(([a-zA-Z0-9-])+\\.)+([a-zA-Z0-9]{2,4})+$/);\n}\nexport function numberFormat(value) {\n    return new Intl.NumberFormat('en-US', {\n        maximumFractionDigits: 2,\n        minimumFractionDigits: 2,\n    }).format(value);\n}\nexport function cleanSearch(searchString) {\n    let search = '';\n    if (searchString !== '') {\n        const newString = searchString.split('?');\n        [, search] = newString;\n        const hashArr = search.split('&');\n        hashArr.forEach((item, i) => {\n            if (item.indexOf('page=') !== -1) {\n                hashArr.splice(i, 1);\n            }\n        });\n        if (hashArr.length === 0) {\n            return '';\n        }\n        hashArr.forEach((item, i) => {\n            if (i === 0) {\n                search = item;\n            }\n            else {\n                search += `&${item}`;\n            }\n        });\n    }\n    return search;\n}\nexport function getUrlQuery(urlQuerystring) {\n    const query = urlQuerystring.split('?')[1];\n    const params = Object.fromEntries(new URLSearchParams(query));\n    if ('names' in params) {\n        return `names=${params.names}`;\n    }\n    if ('attribute' in params && 'val' in params) {\n        return `attribute=${params.attribute}&val=${params.val}`;\n    }\n    if ('attribute_slug' in params && 'val_slug' in params) {\n        return `attribute_slug=${params.attribute_slug}&val_slug=${params.val_slug}`;\n    }\n    if ('tags' in params) {\n        return `tags=${params.tags}`;\n    }\n    if ('raw' in params) {\n        return `raw=${params.raw}`;\n    }\n    if ('nurseries' in params) {\n        return `nurseries=${params.nurseries}`;\n    }\n    if ('genus' in params) {\n        return `genus=${params.genus}`;\n    }\n    if ('all_plants' in params) {\n        return `all_plants=${params.all_plants}`;\n    }\n    const hashArr = query.split('&');\n    return hashArr[0];\n}\nexport function resetParam(queryStringToReset, param, value) {\n    let newString = '';\n    const params = queryStringToReset.split('&');\n    if (queryStringToReset.indexOf(param) !== -1 && value) {\n        // only add non-duplicates to new array\n        let newArray = [];\n        newArray = params.map((item) => {\n            if (item.indexOf(param) === -1) {\n                return item;\n            }\n            return `${param}=${value}`;\n        });\n        // create new query string\n        newArray.forEach((item, i) => {\n            if (i === 0) {\n                newString += item;\n            }\n            else {\n                newString += `&${item}`;\n            }\n        });\n        return newString;\n    }\n    if (!value) {\n        // remove query\n        // only add non-duplicates to new array\n        const newArray = [];\n        params.forEach((item) => {\n            if (item.indexOf(param) === -1) {\n                newArray.push(item);\n            }\n        });\n        // add values to searchString\n        newArray.forEach((item, i) => {\n            if (i === 0) {\n                newString += item;\n            }\n            else {\n                newString += `&${item}`;\n            }\n        });\n        return newString;\n    }\n    if (queryStringToReset === '') {\n        newString = `${param}=${value}`;\n        return newString;\n    }\n    // if not a duplicate, just add the query to the existing queryString\n    newString = `${queryStringToReset}&${param}=${value}`;\n    return newString;\n}\nexport function newSearchPath(path, search, number) {\n    let searchString = '';\n    if (number === 1) {\n        searchString = resetParam(search, 'page', false);\n    }\n    else {\n        searchString = resetParam(search, 'page', number);\n    }\n    if (path.length - 1 === path.lastIndexOf('/')) {\n        return `${path}?${searchString}`;\n    }\n    return `${path}/?${searchString}`;\n}\nexport function getQuery(query, queryType) {\n    // format search terms for API\n    let searchParams;\n    const cleanQuery = encodeURIComponent(query.trim());\n    const cleanQueryType = encodeURIComponent(queryType.trim());\n    switch (queryType) {\n        case 'Plant name':\n            searchParams = `names=${cleanQuery}`;\n            break;\n        case 'Flower Color':\n        case 'Plant Type':\n        case 'Foliage Color':\n        case 'Soil Needs':\n        case 'Water Needs':\n        case 'Wildlife':\n        case 'Fruit':\n        case 'Special Situation':\n        case 'Sun Exposure':\n        case 'Flower Season':\n        case 'Texture':\n        case 'Foliage Season':\n            searchParams = `attribute=${cleanQueryType}&val=${cleanQuery}`;\n            break;\n        case 'Tags':\n            searchParams = `tags=${cleanQuery}`;\n            break;\n        case 'Nursery':\n            searchParams = `nurseries=${cleanQuery}`;\n            break;\n        case 'Genus':\n            searchParams = `genus=${cleanQuery}`;\n            break;\n        case 'all_plants':\n            searchParams = 'all_plants=True';\n            break;\n        case null:\n            searchParams = '';\n            break;\n        default:\n            searchParams = `raw=${cleanQuery}`;\n    }\n    // exception for when the user hits the search btn without entering anything\n    if (query === 'all plants' && queryType === 'raw') {\n        searchParams = 'all_plants=True';\n    }\n    return searchParams;\n}\n// Merge two arrays taking one element from each array by order and returning a new array.\nexport function mergeArrays(arr1, arr2) {\n    const merged = [];\n    const len = Math.max(arr1.length, arr2.length);\n    for (let i = 0; i < len; i += 1) {\n        if (i < arr1.length) {\n            merged.push(arr1[i]);\n        }\n        if (i < arr2.length) {\n            merged.push(arr2[i]);\n        }\n    }\n    return merged;\n}\nexport function cumulativeOffset(element) {\n    let top = 0;\n    let left = 0;\n    let newElement = element;\n    do {\n        top += newElement.offsetTop || 0;\n        left += newElement.offsetLeft || 0;\n        newElement = newElement.offsetParent;\n    } while (newElement);\n    return {\n        top,\n        left,\n    };\n}\nexport const setMetaPropData = (property, value) => {\n    const element = window.document.querySelector(`meta[property=\"${property}\"]`);\n    if (element) {\n        element.content = value;\n    }\n    else {\n        // eslint-disable-next-line @typescript-eslint/no-shadow\n        const newElement = document.createElement('meta');\n        newElement.setAttribute('property', property);\n        newElement.content = value;\n        document.getElementsByTagName('head')[0].appendChild(newElement);\n    }\n};\nexport const setMetaNameData = (property, value) => {\n    // eslint-disable-next-line @typescript-eslint/dot-notation\n    const element = document.getElementsByTagName('meta')[property];\n    // Create a temporary element to extract text content\n    const tempElement = document.createElement('div');\n    tempElement.innerHTML = value;\n    const textContent = tempElement.textContent || tempElement.innerText || '';\n    if (element) {\n        element.content = textContent;\n    }\n    else {\n        const newElement = document.createElement('meta');\n        newElement.setAttribute('name', property);\n        newElement.content = textContent;\n        document.getElementsByTagName('head')[0].appendChild(newElement);\n    }\n};\nexport const isPDPPage = () => {\n    const numberPattern = /^\\d+/;\n    if (typeof window !== 'undefined' && window.location.pathname.includes('/plants/')) {\n        const urlType = window.location.pathname.split('/plants/')[1];\n        return numberPattern.test(urlType);\n    }\n    return false;\n};\n","import React from 'react';\nimport Backdrop from '@mui/material/Backdrop';\nimport Button from '@mui/material/Button';\nimport Typography from '@mui/material/Typography';\nexport default function ConfirmationBackdrop({ open, close, mainMessage, secondMessages = [], }) {\n    return (React.createElement(Backdrop, { sx: {\n            bgcolor: 'rgba(92, 106, 116, 0.85)',\n            zIndex: 10000,\n            flexDirection: 'column',\n            p: 3.75,\n        }, open: open, onClick: close, timeout: { enter: 10, exit: 100 }, unmountOnExit: true },\n        React.createElement(Typography, { align: \"center\", color: \"background.default\", mb: 2, fontSize: 28, fontWeight: 300 }, mainMessage), secondMessages === null || secondMessages === void 0 ? void 0 :\n        secondMessages.map((item) => (React.createElement(Typography, { key: item, align: \"center\", color: \"background.default\", mb: 2, fontSize: 18, fontWeight: 300, lineHeight: 1.78 }, item))),\n        React.createElement(Button, { onClick: (e) => { e.stopPropagation(); close(e); }, size: \"large\", variant: \"outlined\", disableFocusRipple: true, disableRipple: true, disableElevation: true, disableTouchRipple: true, focusRipple: true, sx: {\n                border: 1,\n                borderColor: 'background.default',\n                color: 'background.default',\n                fontWeight: 600,\n                textTransform: 'capitalize',\n                py: 1.5,\n                px: 3.5,\n                ':hover': {\n                    bgcolor: 'primary.contrastText',\n                    borderColor: 'background.default',\n                },\n            } }, \"Close\")));\n}\n","import React from 'react';\nimport Grid from '@mui/material/Grid';\nimport Typography from '@mui/material/Typography';\nimport PdpEmail from '../PlantDetail/pdpEmail';\nconst classes = {\n    itemAvailableRoot: (theme) => ({\n        minHeight: theme.spacing(5.5),\n        backgroundColor: `${theme.palette.orangeColors.main}33`,\n        width: '100%',\n        position: 'absolute',\n        bottom: theme.spacing(1.5),\n        paddingLeft: theme.spacing(2.25),\n        borderRadius: 2,\n        [theme.breakpoints.down('sm')]: {\n            padding: theme.spacing(1),\n            paddingLeft: theme.spacing(2.25),\n        },\n    }),\n    itemAvailableText: (theme) => ({\n        display: 'flex',\n        alignItems: 'center',\n        color: theme.palette.primary.dark,\n        fontSize: theme.spacing(2),\n        [theme.breakpoints.down('sm')]: {\n            fontSize: theme.spacing(1.5),\n        },\n    }),\n    notifyMeText: (theme) => ({\n        display: 'flex',\n        alignItems: 'center',\n        color: theme.palette.primary.dark,\n        fontSize: theme.spacing(2),\n        textDecoration: 'underline',\n        cursor: 'pointer',\n        [theme.breakpoints.down('sm')]: {\n            fontSize: theme.spacing(1.5),\n        },\n    }),\n};\nexport default function ItemAvailability(props) {\n    const [overly, setOverly] = React.useState(false);\n    const { plant } = props;\n    const handleClick = () => {\n        setOverly((prev) => !prev);\n    };\n    let emailOverlay = null;\n    if (overly) {\n        emailOverlay = (React.createElement(\"div\", { className: \"email_overlay\", id: \"emailOverlay\" },\n            React.createElement(\"div\", { className: \"email_overlay_container container\" },\n                React.createElement(\"span\", { role: \"button\", className: \"close-btn\", onClick: handleClick, tabIndex: 0, onKeyDown: handleClick }, \"close\"),\n                React.createElement(PdpEmail, { plantId: plant.plant_id, plantName: plant.name, closeModal: handleClick }))));\n    }\n    return (React.createElement(Grid, { container: true, sx: classes.itemAvailableRoot },\n        React.createElement(Typography, { sx: classes.itemAvailableText },\n            plant.shopify_quantity === 0 ? 'This plant is no longer in available from this nursery.'\n                : plant.quantity_been_reduced && `Only ${plant.shopify_quantity} left, your cart contents have been adjusted.`,\n            \"\\u00A0\"),\n        React.createElement(Typography, { sx: classes.notifyMeText, onClick: handleClick }, plant.shopify_quantity === 0 ? 'Notify me when it\\'s available'\n            : plant.quantity_been_reduced && 'Notify me when more are available'),\n        emailOverlay));\n}\n","const sentryConfig = (env) => ({\n    dsn: process.env.REACT_APP_SENTRY_DSN,\n    environment: env,\n    tracesSampleRate: 0,\n    // Note that failed requests are not filtered here. services/api.ts drops aborts\n    // and network failures by inspecting the error itself, which is exact; matching on\n    // messages is not, because they are unspecified and differ per browser.\n    // see https://docs.sentry.io/platforms/javascript/configuration/filtering/#decluttering-sentry for the latest ignored errors and urls to deny\n    ignoreErrors: [\n        'top.GLOBALS',\n        'originalCreateNotification',\n        'canvas.contentDocument',\n        'MyApp_RemoveAllHighlights',\n        'http://tt.epicplay.com',\n        \"Can't find variable: ZiteReader\",\n        'jigsaw is not defined',\n        'ComboSearch is not defined',\n        'http://loading.retry.widdit.com/',\n        'atomicFindClose',\n        'fb_xd_fragment',\n        'bmi_SafeAddOnload',\n        'EBCallBackMessageReceived',\n        'conduitPage',\n        '_avast_submit',\n    ],\n    denyUrls: [\n        /pagead\\/js/i,\n        // Facebook flakiness\n        /graph\\.facebook\\.com/i,\n        // Facebook blocked\n        /connect\\.facebook\\.net\\/en_US\\/all\\.js/i,\n        // Woopra flakiness\n        /eatdifferent\\.com\\.woopra-ns\\.com/i,\n        /static\\.woopra\\.com\\/js\\/woopra\\.js/i,\n        // Chrome extensions\n        /extensions\\//i,\n        /^chrome:\\/\\//i,\n        /^safari-extension:\\/\\//i,\n        // Other plugins\n        /127\\.0\\.0\\.1:4001\\/isrunning/i, // Cacaoweb\n        /webappstoolbarba\\.texthelp\\.com\\//i,\n        /metrics\\.itunes\\.apple\\.com\\.edgesuite\\.net\\//i,\n    ],\n});\nexport default sentryConfig;\n","import { createTheme } from '@mui/material/styles';\nconst white = '#FFFFFF';\nconst textBlack = '#000000';\nconst textDark = '#5B6A74';\nconst borderLight = '#D8D8D8';\nconst mainGrey = '#5C6A74';\nconst mainGreyLight = '#7E8B94';\nconst newGrey = '#F7F6F4';\nconst lightGrey = '#7F8B94';\nconst borderDark = '#979797';\nconst backgroundGrey = '#F0F0F0';\nconst darkGrey = '#333333';\nconst borderLightGrey = '#ECECEC';\nconst redColor = '#FF0000';\nconst mainGreyDark = '#404A52';\nconst darkBlue = '#586468';\nconst greyDark = '#5D6A75';\nconst backgroundLightGrey = '#C4C4C4';\nconst plOrange = '#E47736';\nconst textGrey = '#B1BCB6';\nconst orange = '#FF8000';\n// const textLight = '#9b9b9b';\n// const borderBlue = '#27AAE1';\n// const borderGreen = '#6BC781';\n// const green = '#34AB00';\n// const orangeHover = '#ff9a32';\n// const orangeActive = '#e36400';\n// const background = '#EFF0F0';\n// const bgLight = '#F1F2F2';\n// const navBg = '#5c6a75';\n// const linkBlue = '#5C6A75';\nconst theme = createTheme({\n    breakpoints: {\n        values: {\n            xs: 0,\n            xxsMin: 320,\n            xsMin: 321,\n            xsMedMin: 568,\n            xsMedMax: 569,\n            xsMax: 767,\n            sm: 768,\n            mdMin: 939,\n            md: 940,\n            mdMedMin: 992,\n            mdMedMax: 1104,\n            mdMax: 1143,\n            lg: 1144,\n            xl: 1920,\n        },\n        step: 0,\n    },\n    typography: {\n        fontFamily: 'system-ui, sans-serif',\n    },\n    palette: {\n        primary: {\n            main: textDark,\n            dark: textBlack,\n            light: mainGrey,\n            contrastText: mainGreyLight,\n        },\n        secondary: {\n            main: greyDark,\n            light: lightGrey,\n            dark: borderDark,\n            contrastText: borderLight,\n        },\n        greyColors: {\n            main: backgroundGrey,\n            light: borderLightGrey,\n            dark: darkGrey,\n            contrastText: mainGreyDark,\n        },\n        newGreyColors: {\n            main: backgroundLightGrey,\n            light: textGrey,\n        },\n        redColors: {\n            main: redColor,\n        },\n        blueColors: {\n            main: darkBlue,\n        },\n        orangeColors: {\n            main: plOrange,\n            light: orange,\n        },\n        background: {\n            default: white,\n            paper: newGrey,\n        },\n    },\n    components: {\n        MuiCssBaseline: {\n            styleOverrides: {\n                lineHeight: 1,\n            },\n        },\n    },\n});\nexport default theme;\n","import React from 'react';\nimport Box from '@mui/material/Box';\nimport Avatar from '@mui/material/Avatar';\nconst classes = {\n    root: (theme) => ({\n        display: 'flex',\n        justifyContent: 'center',\n        alignItems: 'center',\n        position: 'absolute',\n        top: 0,\n        width: '100%',\n        height: '100%',\n        '& > * + *': {\n            marginLeft: theme.spacing(2),\n        },\n    }),\n};\nexport default function Loader() {\n    return (React.createElement(Box, { sx: classes.root },\n        React.createElement(Avatar, { alt: \"Plant Lust\", sx: {\n                width: 300,\n                height: 150,\n                '& > img': {\n                    objectFit: 'contain',\n                },\n            }, variant: \"square\", src: `${process.env.STATIC_PATH}/img/pl_logo_dark.svg` })));\n}\n","const useStyles = {\n    searchAutoComplete: (theme) => ({\n        background: theme.palette.background.default,\n        cursor: 'default',\n        overflow: 'hidden',\n        overflowY: 'scroll',\n        textAlign: 'left',\n        position: 'absolute',\n        left: 0,\n        right: 0,\n        maxHeight: 300,\n        zIndex: 1000,\n        border: `1px solid ${theme.palette.secondary.contrastText}`,\n        borderBottomLeftRadius: theme.spacing(0.625),\n        borderBottomRightRadius: theme.spacing(0.625),\n        top: theme.spacing(5),\n    }),\n    autoCompleteItemWrapper: (theme) => ({\n        display: 'block',\n        fontSize: theme.spacing(1.5),\n        whiteSpace: 'nowrap',\n        lineHeight: 1.5,\n        padding: theme.spacing(0),\n        '&:nth-of-type(n+2)': {\n            '& #searchQueryType': {\n                '&:not(:empty)': {\n                    marginTop: theme.spacing(2),\n                },\n            },\n        },\n        [theme.breakpoints.up('sm')]: {\n            padding: theme.spacing(0.125, 0.625),\n        },\n        '&.Mui-selected': {\n            [theme.breakpoints.up('sm')]: {\n                backgroundColor: theme.palette.greyColors.main,\n            },\n        },\n    }),\n    searchQueryType: (theme) => ({\n        color: '#8e8e8e',\n        display: 'block',\n        letterSpacing: 3,\n        padding: theme.spacing(0, 1.875),\n        margin: theme.spacing(1, 0),\n        fontSize: 10,\n        textTransform: 'uppercase',\n        [theme.breakpoints.up('sm')]: {\n            margin: 0,\n            letterSpacing: 3,\n            fontSize: 10,\n            textTransform: 'uppercase',\n            display: 'inline-block',\n            minWidth: 110,\n            padding: theme.spacing(0, 0.75),\n        },\n    }),\n    searchQueryName: (theme) => ({\n        fontSize: 12,\n        '& > em': {\n            fontWeight: 'bold',\n        },\n        [theme.breakpoints.down('sm')]: {\n            lineHeight: 2.8,\n            fontSize: theme.spacing(1.75),\n            display: 'block',\n            padding: theme.spacing(0, 1.875),\n            '&:hover': {\n                backgroundColor: theme.palette.greyColors.main,\n            },\n        },\n    }),\n};\nexport default useStyles;\n","import React from 'react';\nimport ListItemButton from '@mui/material/ListItemButton';\nimport Typography from '@mui/material/Typography';\nimport parse from 'html-react-parser';\nimport classes from './AutoCompleteStyles';\nexport default function AutoCompleteItem(props) {\n    const { query, queryLabel, queryType, isFirst = false, isSelected = false, index, submitQuery, handleAutocompleteItemSelect, } = props;\n    function highlightQuery(queryLabelString) {\n        let newString = queryLabelString;\n        const newQuery = query.trim().toLowerCase().replace(/[-\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n        const matchIndex = queryLabelString.toLowerCase().replace(/[-\\\\^$*+?.()|[\\\\]{}]/g, '\\\\$&').indexOf(newQuery);\n        if (matchIndex !== -1) {\n            const regEx = new RegExp(newQuery, 'ig');\n            const partialMatch = queryLabelString.substr(matchIndex, newQuery.length);\n            newString = queryLabelString.replace(regEx, `<em>${partialMatch}</em>`);\n        }\n        return newString;\n    }\n    function handleMouseOver() {\n        handleAutocompleteItemSelect(index);\n    }\n    return (React.createElement(ListItemButton, { onClick: (e) => submitQuery(e, queryLabel, queryType), onMouseDown: (e) => submitQuery(e, queryLabel, queryType), onMouseOver: handleMouseOver, onKeyDown: (e) => submitQuery(e, queryLabel, queryType), selected: isSelected, disableGutters: true, dense: true, sx: classes.autoCompleteItemWrapper },\n        React.createElement(Typography, { id: \"searchQueryType\", component: \"span\", sx: classes.searchQueryType }, !isFirst ? '' : queryType),\n        React.createElement(Typography, { component: \"span\", sx: classes.searchQueryName }, parse(highlightQuery(queryLabel) || ''))));\n}\n","import React from 'react';\nimport Grid from '@mui/material/Grid';\nimport List from '@mui/material/List';\nimport AutoCompleteItem from './AutoCompleteItem';\nimport classes from './AutoCompleteStyles';\nexport default function AutoComplete(props) {\n    const { acData, selectedIndex, handleSubmit, handleAutocompleteItemSelect, } = props;\n    const items = Object.keys(acData.data).map((key, i) => (React.createElement(AutoCompleteItem, { key: key, index: i, query: acData.query, isFirst: acData.data[key].first, queryType: acData.data[key].type, queryLabel: acData.suggestions[key], submitQuery: handleSubmit, handleAutocompleteItemSelect: handleAutocompleteItemSelect, isSelected: selectedIndex === i })));\n    return (React.createElement(Grid, { sx: classes.searchAutoComplete },\n        React.createElement(List, null, items)));\n}\n","import React from 'react';\nimport List from '@mui/material/List';\nimport Grow from '@mui/material/Grow';\nimport Paper from '@mui/material/Paper';\nimport Button from '@mui/material/Button';\nimport Popper from '@mui/material/Popper';\nimport ListItemText from '@mui/material/ListItemText';\nimport ListItemButton from '@mui/material/ListItemButton';\nimport ClickAwayListener from '@mui/material/ClickAwayListener';\nimport ArrowDropDownIcon from '@mui/icons-material/ArrowDropDown';\nimport ArrowDropUpIcon from '@mui/icons-material/ArrowDropUp';\nimport { isPDPPage } from '../../utils/helpers';\nconst classes = {\n    popper: (theme) => ({\n        [theme.breakpoints.down('xsMax')]: {\n            width: '100%',\n        },\n    }),\n};\nfunction ZoneFilter(props) {\n    const featuredPage = typeof window !== 'undefined' ? window.location.pathname.startsWith('/featured') : false;\n    const { zones, activeZone, zoneSetHandler } = props;\n    const [selectedZone, setSelectedZone] = React.useState('All USDA Zones');\n    const [selectedZoneId, setSelectedZoneId] = React.useState('0');\n    React.useEffect(() => {\n        let activeDescription = 'All USDA Zones';\n        zones.forEach((item) => {\n            if (item.zone === activeZone) {\n                activeDescription = `${activeZone} ${item.description}`;\n            }\n        });\n        setSelectedZone(activeDescription);\n        setSelectedZoneId(activeZone);\n    }, [activeZone, zones]);\n    const [ddActive, setddActive] = React.useState(false);\n    const anchorRef = React.useRef(null);\n    function handleToggle() {\n        setddActive((prevOpen) => !prevOpen);\n    }\n    function handleClose(event) {\n        if (anchorRef.current && anchorRef.current.contains(event.target)) {\n            return;\n        }\n        setddActive(false);\n    }\n    const prevddActive = React.useRef(ddActive);\n    React.useEffect(() => {\n        var _a;\n        if (prevddActive.current === true && ddActive === false) {\n            (_a = anchorRef.current) === null || _a === void 0 ? void 0 : _a.focus();\n        }\n        prevddActive.current = ddActive;\n    }, [ddActive]);\n    function zoneSelected(zoneId, changedZone) {\n        if (selectedZoneId !== zoneId) {\n            setSelectedZone(changedZone);\n            setSelectedZoneId(zoneId);\n            zoneSetHandler(zoneId);\n        }\n        setddActive(false);\n    }\n    return (React.createElement(React.Fragment, null,\n        React.createElement(Button, { ref: anchorRef, id: \"composition-button\", onClick: handleToggle, \"aria-controls\": ddActive ? 'composition-menu' : undefined, \"aria-expanded\": ddActive ? 'true' : undefined, \"aria-haspopup\": \"true\", variant: \"outlined\", endIcon: ddActive ? React.createElement(ArrowDropUpIcon, { fontSize: \"large\" }) : React.createElement(ArrowDropDownIcon, { fontSize: \"large\" }), disableElevation: true, disableRipple: true, disableFocusRipple: true, sx: {\n                display: (isPDPPage() || typeof window === 'undefined') && 'none',\n                color: 'primary.dark',\n                textAlign: 'left',\n                textTransform: 'none',\n                fontWeight: 'bold',\n                bgcolor: 'background.default',\n                borderRadius: 1.25,\n                border: 1,\n                position: 'relative',\n                borderColor: 'secondary.contrastText',\n                height: 42,\n                justifyContent: 'space-between',\n                width: '100%',\n                p: '0px 12px',\n                m: '15px 0 0 0',\n                ml: {\n                    sm: 2,\n                },\n                mt: {\n                    sm: 0,\n                },\n                mr: {\n                    sm: featuredPage ? 3.75 : 0,\n                    lg: featuredPage ? 10 : undefined,\n                },\n                minWidth: {\n                    sm: 180,\n                    md: 224,\n                },\n                maxWidth: {\n                    sm: 180,\n                    md: 224,\n                },\n                '& .MuiButton-endIcon>*:nth-of-type(1)': {\n                    fontSize: 26,\n                },\n            } }, selectedZone),\n        React.createElement(Popper, { open: ddActive, anchorEl: anchorRef.current, role: undefined, placement: \"bottom-start\", transition: true, disablePortal: true, sx: classes.popper }, ({ TransitionProps, placement }) => (React.createElement(Grow, { ...TransitionProps, style: {\n                transformOrigin: placement === 'bottom-start' ? 'left top' : 'left bottom',\n            } },\n            React.createElement(Paper, { sx: {\n                    mt: -0.125,\n                    zIndex: 1,\n                    bgcolor: 'background.default',\n                } },\n                React.createElement(ClickAwayListener, { onClickAway: handleClose },\n                    React.createElement(List, { disablePadding: true, dense: true, sx: {\n                            width: '100%',\n                            overflow: 'scroll',\n                            borderRadius: '0px 0px 5px 5px',\n                            height: {\n                                xsMax: 500,\n                                xs: 280,\n                            },\n                            minWidth: {\n                                xs: '100%',\n                                sm: 180,\n                                md: 224,\n                            },\n                            maxWidth: {\n                                xs: '100%',\n                                sm: 180,\n                                md: 224,\n                            },\n                        } },\n                        React.createElement(ListItemButton, { selected: selectedZoneId === '0', onClick: () => zoneSelected('0', 'All USDA Zones'), sx: {\n                                p: '12px 10px',\n                                borderLeft: 8,\n                                borderLeftColor: '#808285',\n                                color: '#808285',\n                                bgcolor: 'background.default',\n                                '&.Mui-selected': {\n                                    color: 'background.default',\n                                    bgcolor: '#808285',\n                                    ':hover': {\n                                        bgcolor: '#808285',\n                                    },\n                                },\n                                ':hover': {\n                                    color: 'background.default',\n                                    bgcolor: '#808285',\n                                },\n                            }, onKeyDown: () => zoneSelected('0', 'All USDA Zones'), disableRipple: true, disableTouchRipple: true, disableGutters: true },\n                            React.createElement(ListItemText, { sx: {\n                                    mt: 0,\n                                    mb: 0,\n                                    '& .MuiTypography-root': {\n                                        typography: {\n                                            fontSize: 12,\n                                            lineHeight: 1,\n                                        },\n                                    },\n                                }, primary: \"All USDA Zones\" })), zones === null || zones === void 0 ? void 0 :\n                        zones.map((item) => (React.createElement(ListItemButton, { sx: {\n                                p: '12px 10px',\n                                borderLeft: 8,\n                                borderLeftColor: `${item.color}`,\n                                color: '#808285',\n                                bgcolor: 'background.default',\n                                '&.Mui-selected': {\n                                    color: 'background.default',\n                                    bgcolor: item.color,\n                                    ':hover': {\n                                        bgcolor: item.color,\n                                    },\n                                },\n                                ':hover': {\n                                    color: 'background.default',\n                                    bgcolor: item.color,\n                                },\n                            }, key: item.zone, selected: selectedZoneId === item.zone, onClick: () => zoneSelected(item.zone, `${item.zone} ${item.description}`), onKeyDown: () => zoneSelected(item.zone, `${item.zone} ${item.description}`), disableRipple: true, disableTouchRipple: true, disableGutters: true },\n                            React.createElement(ListItemText, { sx: {\n                                    mt: 0,\n                                    mb: 0,\n                                    '& .MuiTypography-root': {\n                                        typography: {\n                                            fontSize: 12,\n                                            lineHeight: 1,\n                                        },\n                                    },\n                                }, primary: `${item.zone} ${item.description}` }))))))))))));\n}\nexport default ZoneFilter;\n","import React, { useCallback } from 'react';\nconst Pill = ({ nursery, clearNurserySearch, passWidth }) => {\n    const measureRef = useCallback((element) => {\n        if (element) {\n            passWidth(Math.round(element.getBoundingClientRect().width));\n        }\n    }, [passWidth]);\n    return (React.createElement(\"div\", { ref: measureRef, className: \"search__pill nursery\" },\n        React.createElement(\"span\", null, \"Nursery | \"),\n        nursery,\n        React.createElement(\"span\", { className: \"x-btn\", onClick: clearNurserySearch, role: \"button\", \"aria-label\": \"x\", tabIndex: 0, onKeyDown: clearNurserySearch })));\n};\nexport default Pill;\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function icn_search_clear(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 16 16\" },\n        React.createElement(\"circle\", { style: { fill: '#DADBDC' }, cx: \"8\", cy: \"8\", r: \"8\" }),\n        React.createElement(\"rect\", { x: \"4.6\", y: \"7.7\", transform: \"matrix(0.7071 -0.7071 0.7071 0.7071 -3.3807 8.1618)\", style: { fill: '#979797' }, width: \"7.1\", height: \"0.9\" }),\n        React.createElement(\"rect\", { x: \"7.7\", y: \"4.6\", transform: \"matrix(0.7071 -0.7071 0.7071 0.7071 -3.3807 8.1618)\", style: { fill: '#979797' }, width: \"0.9\", height: \"7.1\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function icn_search(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 40 40\" },\n        React.createElement(\"path\", { d: \"M11.7,25.6l5-4.9c-0.7-0.9-1.1-2-1.1-3.3c0-0.1,0-0.1,0-0.2c0-0.1,0-0.1,0-0.2\\n      c0-3.1,2.6-5.6,5.7-5.6c0.1,0,0.1,0,0.2,0c0.1,0,0.1,0,0.2,0c3.1,0,5.7,2.5,5.7,5.6c0,0.1,0,0.1,0,0.2c0,0.1,0,0.1,0,0.2\\n      c0,3.1-2.6,5.6-5.7,5.6c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1,0-0.2,0c-1.1,0-2.1-0.3-2.9-0.8l-5.1,5c-0.2,0.2-0.5,0.3-0.8,0.3\\n      s-0.6-0.1-0.8-0.3C11.2,26.7,11.2,26,11.7,25.6z M21.5,20.8c0.1,0,0.1,0,0.2,0c1.9,0,3.4-1.5,3.4-3.3c0-0.1,0-0.1,0-0.2\\n      c0-0.1,0-0.1,0-0.2c0-1.8-1.5-3.3-3.4-3.3c-0.1,0-0.1,0-0.2,0c-0.1,0-0.1,0-0.2,0c-1.9,0-3.4,1.5-3.4,3.3c0,0.1,0,0.1,0,0.2\\n      c0,0.1,0,0.1,0,0.2c0,1.8,1.5,3.3,3.4,3.3C21.4,20.7,21.4,20.7,21.5,20.8z\" })));\n}\n","import React from 'react';\nimport isEqual from 'fast-deep-equal';\nimport { AutoComplete } from '../AutoComplete';\nimport ZoneFilter from '../Zones/zoneFilter';\nimport Pill from '../Nursery/NurseryPill';\nimport { cleanSearch, resetParam, getQuery } from '../../utils/helpers';\nimport api from '../../services/api';\nimport { IcnSearch, IcnSearchClear } from '../../themes/icons/attributes';\nimport { withNurseryContext } from '../../contexts/NurseryContext';\nimport { withSearchContext } from '../../contexts/SearchContext';\nlet abortController = null;\nconst computeDerivedInputValue = (props) => {\n    const { searchTerm, nurseryName, nurserySlug } = props;\n    const nextSearchTerm = typeof searchTerm === 'string' ? searchTerm : '';\n    const matchesSlug = (nurserySlug !== null\n        && nurserySlug !== undefined\n        && searchTerm !== null\n        && searchTerm !== undefined\n        && (isEqual(nurserySlug, searchTerm)\n            || (typeof nurserySlug === 'string'\n                && typeof searchTerm === 'string'\n                && nurserySlug.toLowerCase() === searchTerm.toLowerCase())));\n    const matchesNurseryName = (nurseryName !== null\n        && nurseryName !== undefined\n        && searchTerm !== null\n        && searchTerm !== undefined\n        && (isEqual(nurseryName, searchTerm)\n            || (typeof nurseryName === 'string'\n                && typeof searchTerm === 'string'\n                && nurseryName.toLowerCase() === searchTerm.toLowerCase())));\n    if (matchesSlug || matchesNurseryName) {\n        return '';\n    }\n    return nextSearchTerm;\n};\nclass SearchBar extends React.Component {\n    constructor(props) {\n        super(props);\n        this.textInput = React.createRef();\n        this.submitButton = React.createRef();\n        this.collapse = () => {\n            this.setState({ acActive: false });\n        };\n        this.handleInputChange = (e) => {\n            const { acActive } = this.state;\n            const newValue = e.target.value;\n            this.setState({ inputValue: newValue }, () => {\n                if (newValue.length >= 3) {\n                    clearTimeout(this.delay);\n                    this.delay = setTimeout(() => {\n                        this.triggerAutocomplete(newValue);\n                    }, 50);\n                }\n                else if (acActive) {\n                    if (abortController) {\n                        abortController.abort();\n                    }\n                    this.setState({\n                        acActive: false,\n                        selectedIndex: -1,\n                    });\n                }\n            });\n        };\n        this.triggerAutocomplete = (key) => {\n            // Cancel any existing request\n            if (abortController) {\n                abortController.abort();\n            }\n            // Create new AbortController for this request\n            abortController = new AbortController();\n            api.search.autocomplete(key, { signal: abortController.signal })\n                .then((data) => {\n                this.setState({\n                    acData: data,\n                    acActive: data.suggestions.length > 0,\n                    selectedIndex: -1,\n                });\n            })\n                .catch(() => {\n            });\n        };\n        this.clearSearch = (e) => {\n            var _a;\n            e.preventDefault();\n            this.setState({\n                inputValue: '',\n                acActive: false,\n                selectedIndex: -1,\n            });\n            const { setQueries, setOrigSearchTerm, isNursery, nurserySlug, } = this.props;\n            setOrigSearchTerm('');\n            if (setQueries) {\n                const currentQuery = cleanSearch(window.location.search);\n                const searchWithoutRaw = resetParam(currentQuery, 'raw', false);\n                const slugForReset = isNursery ? nurserySlug : '';\n                const nextQuery = searchWithoutRaw;\n                setTimeout(() => {\n                    setQueries(nextQuery, '', 'raw', slugForReset || '', '');\n                }, 0);\n            }\n            if (typeof window !== 'undefined')\n                (_a = document === null || document === void 0 ? void 0 : document.getElementById('search_input')) === null || _a === void 0 ? void 0 : _a.focus({ preventScroll: true });\n        };\n        this.handleSubmit = (e, query, queryType) => {\n            const { acData, selectedIndex } = this.state;\n            const { setQueries, setOrigSearchTerm, activeZone } = this.props;\n            let passQuery = query;\n            let passQueryType = queryType;\n            let url;\n            e.preventDefault();\n            if (abortController) {\n                abortController.abort();\n            }\n            let searchString = '';\n            if (selectedIndex !== -1) {\n                passQuery = acData.suggestions[selectedIndex];\n                passQueryType = acData.data[selectedIndex].type;\n            }\n            setOrigSearchTerm(passQuery);\n            searchString = 'all_plants=True';\n            if (passQuery)\n                searchString = getQuery(passQuery, passQueryType);\n            if (activeZone !== '0') {\n                searchString += `&zone=${activeZone}`;\n            }\n            let slug = '';\n            if (passQueryType === 'Nursery') {\n                slug = acData.data[selectedIndex].slug;\n            }\n            const selectedData = acData.data[selectedIndex];\n            if (selectedData) {\n                if (selectedData.url) {\n                    url = selectedData.url;\n                }\n                else if (selectedData.url === '') {\n                    searchString = `raw=${acData.suggestions[selectedIndex]}`;\n                }\n            }\n            this.setState({\n                acActive: false,\n                inputValue: passQuery,\n                selectedIndex: -1,\n            });\n            setQueries(searchString, passQuery, passQueryType, slug, url);\n        };\n        this.clearNurserySearch = () => {\n            const { setQueries, showNurseryHeader, history, setNurseryName, setNurserySlug, } = this.props;\n            setNurseryName('');\n            setNurserySlug('');\n            if (window.location.pathname.indexOf('/plants/') === -1) {\n                const rawSearchParams = new URLSearchParams(window.location.search);\n                const rawQuery = (window.location.search && window.location.search.split('?')[1]) || '';\n                const rawValue = rawSearchParams.get('raw') || '';\n                if (window.location.pathname.indexOf('/nurseries/') !== -1) {\n                    const nextPath = rawQuery ? `/search/?${rawQuery}` : '/search/';\n                    history === null || history === void 0 ? void 0 : history.push(nextPath, { getAPIData: true });\n                }\n                else if (setQueries && rawQuery) {\n                    setQueries(rawQuery, rawValue, 'raw');\n                }\n                else {\n                    history === null || history === void 0 ? void 0 : history.push('/search/', { getAPIData: true });\n                }\n            }\n            else {\n                const path = window.location.href.split('?')[0].split('/plants/')[1];\n                history === null || history === void 0 ? void 0 : history.push(`/plants/${path}`);\n            }\n            showNurseryHeader(false);\n        };\n        this.handleAutocompleteDismiss = (e) => {\n            if (e.target !== this.textInput.current && e.target !== this.submitButton.current) {\n                this.setState({\n                    acActive: false,\n                    selectedIndex: -1,\n                }, () => this.handleInputKeyDown(e));\n            }\n        };\n        this.handleInputKeyDown = (e) => {\n            const { acActive, acData, selectedIndex } = this.state;\n            if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && acActive) {\n                e.preventDefault();\n                const newState = {};\n                if (e.key === 'ArrowDown') {\n                    newState.selectedIndex = selectedIndex + 1;\n                    if (newState.selectedIndex >= acData.suggestions.length) {\n                        newState.selectedIndex = 0;\n                    }\n                }\n                else if (e.key === 'ArrowUp') {\n                    newState.selectedIndex = selectedIndex - 1;\n                    if (newState.selectedIndex < 0) {\n                        newState.selectedIndex = acData.suggestions.length - 1;\n                    }\n                }\n                this.setState(newState);\n            }\n        };\n        this.handleAutocompleteItemSelect = (selectedIndex) => {\n            this.setState({\n                selectedIndex,\n            });\n        };\n        this.passWidth = (width) => {\n            this.setState({\n                pillWidth: `${width}px`,\n            });\n        };\n        this.state = {\n            inputValue: '',\n            acActive: false,\n            acData: {\n                data: [\n                    {\n                        first: false,\n                        id: 0,\n                        type: '',\n                        raw: '',\n                        slug: '',\n                        url: '',\n                    },\n                ],\n                query: '',\n                suggestions: [],\n            },\n            selectedIndex: -1,\n            pillWidth: '0',\n            lastSyncedSearchTerm: null,\n            lastSyncedNurseryName: null,\n            lastSyncedNurserySlug: null,\n        };\n        if (typeof window !== 'undefined')\n            document.addEventListener('click', this.handleAutocompleteDismiss, false);\n    }\n    static getDerivedStateFromProps(nextProps, prevState) {\n        const nextSearchTerm = typeof nextProps.searchTerm === 'string' ? nextProps.searchTerm : '';\n        const nextNurseryName = typeof nextProps.nurseryName === 'string' ? nextProps.nurseryName : '';\n        const nextNurserySlug = typeof nextProps.nurserySlug === 'string' ? nextProps.nurserySlug : '';\n        const propsChanged = nextSearchTerm !== prevState.lastSyncedSearchTerm\n            || nextNurseryName !== prevState.lastSyncedNurseryName\n            || nextNurserySlug !== prevState.lastSyncedNurserySlug;\n        if (!propsChanged) {\n            return null;\n        }\n        const derivedInputValue = computeDerivedInputValue(nextProps);\n        const stateUpdate = {\n            lastSyncedSearchTerm: nextSearchTerm,\n            lastSyncedNurseryName: nextNurseryName,\n            lastSyncedNurserySlug: nextNurserySlug,\n        };\n        if (derivedInputValue !== prevState.inputValue) {\n            stateUpdate.inputValue = derivedInputValue;\n        }\n        return stateUpdate;\n    }\n    componentDidMount() {\n        const { searchTerm, setOrigSearchTerm, } = this.props;\n        const derivedInputValue = computeDerivedInputValue(this.props);\n        if (derivedInputValue === searchTerm && searchTerm !== '') {\n            setOrigSearchTerm(searchTerm);\n        }\n    }\n    componentDidUpdate(prevProps) {\n        const { setOrigSearchTerm, searchTerm, } = this.props;\n        if (searchTerm !== prevProps.searchTerm) {\n            const derivedInputValue = computeDerivedInputValue(this.props);\n            if (derivedInputValue === searchTerm) {\n                setOrigSearchTerm(searchTerm);\n            }\n        }\n    }\n    componentWillUnmount() {\n        document.removeEventListener('click', this.handleAutocompleteDismiss, false);\n    }\n    render() {\n        const { acActive, acData, selectedIndex, pillWidth, inputValue, } = this.state;\n        const { zoneSetHandler, zones, activeZone, nursery, } = this.props;\n        let autoCompleteEl;\n        let inputClass = 'search__input';\n        let wrapperClass = 'search__input-wrap';\n        let pill;\n        let indent;\n        if (acActive) {\n            autoCompleteEl = (React.createElement(AutoComplete, { acData: acData, selectedIndex: selectedIndex, handleSubmit: this.handleSubmit, handleAutocompleteItemSelect: this.handleAutocompleteItemSelect }));\n            wrapperClass += ' ac__active';\n        }\n        if (nursery) {\n            pill = (React.createElement(Pill, { clearNurserySearch: this.clearNurserySearch, nursery: nursery, passWidth: this.passWidth }));\n            inputClass += ' pill_active';\n            indent = {\n                marginLeft: pillWidth,\n            };\n        }\n        return (React.createElement(\"div\", { className: \"search__container\" },\n            React.createElement(\"form\", { onSubmit: (e) => {\n                    this.handleSubmit(e, inputValue, 'raw');\n                }, className: \"search__form\" },\n                React.createElement(\"div\", { className: \"search__count\" },\n                    React.createElement(\"a\", { href: \"/\", className: \"home_link\" },\n                        React.createElement(\"img\", { className: \"logo\", src: \"https://d17vsf20mehj1i.cloudfront.net/static/img/pl_logo_dark.svg\", alt: \"\" }))),\n                React.createElement(\"div\", { className: \"search__center\" },\n                    React.createElement(\"div\", { className: wrapperClass },\n                        React.createElement(\"input\", { autoComplete: \"off\", spellCheck: \"false\", autoCapitalize: \"none\", autoCorrect: \"off\", style: indent, id: \"search_input\", tabIndex: 0, onBlur: this.collapse, className: inputClass, type: \"text\", placeholder: \"Search for Plants...\", value: inputValue, onChange: this.handleInputChange, onKeyDown: this.handleInputKeyDown, ref: this.textInput }),\n                        React.createElement(\"span\", { className: \"search__clear\", onClick: this.clearSearch, role: \"button\", tabIndex: -1, onKeyDown: this.clearSearch },\n                            React.createElement(IcnSearchClear, { className: \"icn\" })),\n                        React.createElement(\"button\", { className: \"search__submit\", type: \"submit\", value: \"Submit\", ref: this.submitButton },\n                            React.createElement(IcnSearch, { className: \"icn\" })),\n                        pill),\n                    autoCompleteEl),\n                React.createElement(ZoneFilter, { activeZone: activeZone, zones: zones, zoneSetHandler: zoneSetHandler }))));\n    }\n}\nexport default withNurseryContext(withSearchContext(SearchBar));\n","import React from 'react';\nimport Box from '@mui/material/Box';\nimport Skeleton from '@mui/material/Skeleton';\nexport default function IndexPageLoading() {\n    if (window.innerWidth < 768) {\n        return (React.createElement(Box, { sx: {\n                display: 'flex', flexDirection: 'column', justifyContent: 'center', my: 2, mx: 'auto',\n            } },\n            React.createElement(Skeleton, { variant: \"rectangular\", width: 340, height: 320, sx: {\n                    my: 2, mx: 'auto', borderRadius: 1,\n                } }),\n            React.createElement(Box, { sx: {\n                    width: '100%', display: 'flex', justifyContent: 'center', my: 0.5, mx: 'auto',\n                } },\n                React.createElement(Skeleton, { variant: \"rectangular\", width: 165, height: 160, sx: { borderRadius: 1, mr: 0.75 } }),\n                React.createElement(Skeleton, { variant: \"rectangular\", width: 165, height: 160, sx: { borderRadius: 1, ml: 0.75 } }))));\n    }\n    return (React.createElement(Box, { sx: {\n            display: 'flex', flexDirection: 'column', justifyContent: 'center', my: 2, mx: 'auto',\n        } },\n        React.createElement(Skeleton, { variant: \"rectangular\", width: 1120, height: 500, sx: {\n                my: 2, mx: 'auto', borderRadius: 1,\n            } }),\n        React.createElement(Box, { sx: {\n                width: '100%', display: 'flex', justifyContent: 'center', my: 2, mx: 'auto',\n            } },\n            React.createElement(Skeleton, { variant: \"rectangular\", width: 550, height: 350, sx: { borderRadius: 1, mr: 1.5 } }),\n            React.createElement(Skeleton, { variant: \"rectangular\", width: 550, height: 350, sx: { borderRadius: 1, ml: 1.5 } }))));\n}\n","/* eslint-disable max-len */\nimport React from 'react';\nimport Grid from '@mui/material/Grid';\nimport Box from '@mui/material/Box';\nimport Typography from '@mui/material/Typography';\nimport Paper from '@mui/material/Paper';\nimport Link from '@mui/material/Link';\nimport Button from '@mui/material/Button';\nimport api from '../../services/api';\nimport styles from './IndexPageStyles';\nimport IndexPageLoading from './IndexPageLoading';\nimport NavigationSection from '../Navigation/NavigationSection';\nfunction IndexPage() {\n    const [pageLoading, setPageLoading] = React.useState(true);\n    const [promotions, setPromotions] = React.useState([]);\n    const [plantTypes, setPlantTypes] = React.useState([]);\n    const [navigation, setNavigation] = React.useState([]);\n    React.useEffect(() => {\n        const indexDataEl = document.getElementById('index-data');\n        if (indexDataEl) {\n            const indexData = JSON.parse(indexDataEl.textContent);\n            setPageLoading(false);\n            setPromotions(indexData.promotions);\n            setPlantTypes(indexData.plant_types);\n            setNavigation(indexData.navigation);\n        }\n        else {\n            api.home.getIndexData().then((indexData) => {\n                setPageLoading(false);\n                setPromotions(indexData.promotions);\n                setPlantTypes(indexData.plant_types);\n                setNavigation(indexData.navigation);\n            });\n        }\n    }, []);\n    return pageLoading ? (React.createElement(IndexPageLoading, null)) : (React.createElement(Box, { sx: styles.mainWrapper },\n        React.createElement(Grid, { container: true, sx: styles.containerGrid },\n            React.createElement(Grid, { container: true, spacing: 2 }, promotions && (promotions === null || promotions === void 0 ? void 0 : promotions.length) > 0 && (promotions === null || promotions === void 0 ? void 0 : promotions.slice(0, 3).map((promotion, index) => (React.createElement(Grid, { key: `promo-${promotion.short_title}`, \"data-index\": index, sx: index === 0 ? styles.promotionFirst : styles.promotionRest, size: index === 0 ? 12 : 6 }, promotion.promotion_large || promotion.promotion_medium ? (React.createElement(Paper, { sx: { overflow: 'hidden', height: 'auto' } },\n                React.createElement(Link, { href: promotion.url, sx: [styles.promotionLink, { height: 'auto' }] },\n                    React.createElement(Box, { component: \"img\", src: index === 0 ? promotion.promotion_large : promotion.promotion_medium, alt: promotion.header_text, sx: styles.promotionImage }),\n                    React.createElement(Box, { sx: [\n                            styles.promotionTitle,\n                            index === 0 && styles.promotionTitleFirst,\n                        ] }, index === 0\n                        ? promotion.header_text\n                        : promotion.short_title)))) : (React.createElement(Box, { sx: { borderRadius: 4, overflow: 'hidden' } },\n                React.createElement(Link, { href: promotion.url, sx: styles.promotionLink },\n                    React.createElement(Box, { sx: [\n                            styles.promotionTitle,\n                            index === 0 && styles.promotionTitleFirst,\n                        ] }, index === 0\n                        ? promotion.header_text\n                        : promotion.short_title))))))))),\n            navigation && (navigation === null || navigation === void 0 ? void 0 : navigation.length) > 0 && (navigation === null || navigation === void 0 ? void 0 : navigation.map((item) => (React.createElement(NavigationSection, { key: item.key, data: item, childrenType: \"secondary\" })))),\n            React.createElement(Grid, { sx: styles.featuredPlantsWrapper },\n                React.createElement(Typography, { variant: \"h2\", sx: styles.browsePlantsText }, \"Browse By Category:\"),\n                React.createElement(Box, { sx: styles.featuredPlantsContainer }, plantTypes.map((plant) => (React.createElement(Box, { key: plant.plant_type_title, sx: styles.featuredPlant },\n                    React.createElement(Link, { href: plant.plant_type_url, title: plant.plant_type_title, sx: styles.featuredPlantLink },\n                        React.createElement(Box, { component: \"img\", src: plant.plant_type_thumbnail\n                                ? plant.plant_type_thumbnail\n                                : `${process.env.STATIC_PATH}/img/placeholder_plant_detail_page.png`, alt: plant.plant_type_title, sx: styles.featuredPlantImage }),\n                        React.createElement(Box, { sx: styles.tableDiv },\n                            React.createElement(Box, { sx: styles.cellDiv },\n                                React.createElement(Box, { sx: styles.contentDiv }, plant.plant_type_title))),\n                        React.createElement(Box, { sx: styles.arrow })))))),\n                React.createElement(Box, { sx: styles.categoryButtonContainer },\n                    React.createElement(Link, { href: \"/category/\" },\n                        React.createElement(Button, { type: \"button\", className: \"btn primary inverted\" }, \"All Categories\")))))));\n}\nexport default IndexPage;\n","import React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function ShopifyCartIcon(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 25 25\" },\n        React.createElement(\"g\", null,\n            React.createElement(\"path\", { d: \"M24.6 3.6c-.3-.4-.8-.6-1.3-.6h-18.4l-.1-.5c-.3-1.5-1.7-1.5-2.5-1.5h-1.3c-.6 0-1 .4-1 1s.4 1 1 1h1.8l3 13.6c.2 1.2 1.3 2.4 2.5 2.4h12.7c.6 0 1-.4 1-1s-.4-1-1-1h-12.7c-.2 0-.5-.4-.6-.8l-.2-1.2h12.6c1.3 0 2.3-1.4 2.5-2.4l2.4-7.4v-.2c.1-.5-.1-1-.4-1.4zm-4 8.5v.2c-.1.3-.4.8-.5.8h-13l-1.8-8.1h17.6l-2.3 7.1z\" }),\n            React.createElement(\"circle\", { cx: \"9\", cy: \"22\", r: \"2\" }),\n            React.createElement(\"circle\", { cx: \"19\", cy: \"22\", r: \"2\" }))));\n}\n","const styles = {\n    navWrapper: (theme) => ({\n        margin: 'auto',\n        borderBottom: `1px solid ${theme.palette.secondary.contrastText}`,\n        '& > *': {\n            transition: '0.3s',\n        },\n        [theme.breakpoints.down('sm')]: {\n            textAlign: 'center',\n            zIndex: 100,\n            background: theme.palette.background.default,\n        },\n    }),\n    navWrapperHidden: {\n        display: 'none',\n    },\n    minHeight: (theme) => ({\n        minHeight: 632,\n        borderBottom: '1px solid #D8D8D8',\n        [theme.breakpoints.between('md', 'mdMax')]: {\n            minHeight: 500,\n        },\n        [theme.breakpoints.between('sm', 'mdMin')]: {\n            minHeight: 390,\n        },\n        [theme.breakpoints.down('xsMax')]: {\n            minHeight: 290,\n        },\n    }),\n    nurseryHeader: (theme) => ({\n        m: 'auto',\n        maxWidth: 1104,\n        textAlign: 'left',\n        height: 632,\n        [theme.breakpoints.down('mdMin')]: {\n            padding: theme.spacing(0, 3.75),\n            height: 390,\n        },\n        [theme.breakpoints.between('md', 'mdMax')]: {\n            height: 500,\n        },\n        [theme.breakpoints.down('xsMax')]: {\n            position: 'relative',\n            height: 'auto',\n            padding: 0,\n            top: 0,\n        },\n    }),\n    nurseryAvatar: (theme) => ({\n        width: 120,\n        height: 120,\n        overflow: 'hidden',\n        borderRadius: '50%',\n        color: `${theme.palette.primary.main} !important`,\n        marginBottom: theme.spacing(3.5),\n        [theme.breakpoints.between('md', 'mdMax')]: {\n            width: 100,\n            height: 100,\n            marginBottom: theme.spacing(1.5),\n        },\n        [theme.breakpoints.between('sm', 'mdMin')]: {\n            width: 70,\n            height: 70,\n            marginBottom: theme.spacing(1.75),\n        },\n        [theme.breakpoints.down('xsMax')]: {\n            width: 80,\n            height: 80,\n            display: 'inline-block',\n            marginBottom: theme.spacing(1.75),\n        },\n        '& > span': {\n            display: 'flex',\n            width: '100%',\n            height: '100%',\n            backgroundColor: theme.palette.primary.light,\n            color: theme.palette.background.default,\n            fontSize: 46,\n            alignItems: 'center',\n            justifyContent: 'center',\n        },\n        '& > img': {\n            width: '100%',\n            height: '100%',\n        },\n    }),\n    nurseryTypographyH1: (theme) => ({\n        color: theme.palette.primary.dark,\n        fontSize: theme.spacing(4.5),\n        lineHeight: '44px',\n        fontWeight: 'bold',\n        textTransform: 'capitalize',\n        '& > a': {\n            color: `${theme.palette.primary.dark} !important`,\n        },\n        [theme.breakpoints.between('md', 'mdMax')]: {\n            fontSize: theme.spacing(3.5),\n            lineHeight: '38px',\n        },\n        [theme.breakpoints.between('sm', 'mdMin')]: {\n            fontSize: theme.spacing(3),\n            lineHeight: '30px',\n        },\n        [theme.breakpoints.down('xsMax')]: {\n            fontSize: theme.spacing(3),\n            lineHeight: '32px',\n        },\n    }),\n    nurseryHeaderWrapper: (theme) => ({\n        paddingLeft: theme.spacing(2),\n        paddingRight: theme.spacing(3.75),\n        paddingTop: theme.spacing(5),\n        [theme.breakpoints.up('lg')]: {\n            width: 500,\n        },\n        [theme.breakpoints.between('sm', 'mdMin')]: {\n            paddingLeft: 0,\n            paddingRight: theme.spacing(1.25),\n            width: 318,\n            paddingTop: theme.spacing(2.5),\n            boxSizing: 'initial',\n        },\n        [theme.breakpoints.between('md', 'mdMax')]: {\n            paddingTop: theme.spacing(5),\n            paddingLeft: theme.spacing(3.75),\n            width: 518,\n        },\n        [theme.breakpoints.down('xsMax')]: {\n            width: '100%',\n            paddingTop: '124px',\n            textAlign: 'center',\n            height: 'auto',\n        },\n    }),\n    nurseryHeaderGroup: (theme) => ({\n        height: '30%',\n        [theme.breakpoints.down('xsMax')]: {\n            height: 'auto',\n        },\n    }),\n    nurseryDetails: (theme) => ({\n        height: '70%',\n        '& > button': {\n            display: 'none',\n        },\n        [theme.breakpoints.down('xsMax')]: {\n            display: 'block',\n            height: 'auto',\n            overflow: 'hidden',\n            maxHeight: theme.spacing(2.5),\n            paddingLeft: theme.spacing(2),\n            marginBottom: theme.spacing(2.25),\n            '&.open': {\n                maxHeight: 1000,\n            },\n            '& > button': {\n                display: 'inline-flex',\n                lineHeight: '15px',\n                fontSize: theme.spacing(1.5),\n                fontWeight: 'bold',\n                letterSpacing: '2.4px',\n                color: theme.palette.primary.light,\n                textTransform: 'uppercase',\n                marginBottom: theme.spacing(3.75),\n                padding: 0,\n            },\n        },\n    }),\n    nurseryHeaderTypeList: (theme) => ({\n        lineHeight: 2.33,\n        marginBottom: theme.spacing(1.5),\n        [theme.breakpoints.down('xsMax')]: {\n            textAlign: 'left',\n        },\n        [theme.breakpoints.between('sm', 'mdMin')]: {\n            marginBottom: 0,\n            lineHeight: 1.75,\n        },\n        '& > li': {\n            display: 'inline-block',\n            fontSize: theme.spacing(1.5),\n            fontWeight: 'bold',\n            letterSpacing: '1.7px',\n            textTransform: 'uppercase',\n            '&:before': {\n                content: '\"•\"',\n                marginLeft: theme.spacing(1.25),\n                marginRight: theme.spacing(1.25),\n            },\n            '&:first-of-type:before': {\n                display: 'none',\n            },\n        },\n    }),\n    nurseryHeaderDescription: (theme) => ({\n        fontSize: theme.spacing(1.75),\n        lineHeight: 2,\n        color: theme.palette.primary.dark,\n        marginBottom: '50px',\n        [theme.breakpoints.between('md', 'mdMax')]: {\n            marginBottom: theme.spacing(5),\n            lineHeight: 1.8,\n        },\n        [theme.breakpoints.between('sm', 'mdMin')]: {\n            lineHeight: 1.5,\n            marginBottom: theme.spacing(1.25),\n        },\n        [theme.breakpoints.down('xsMax')]: {\n            marginBottom: theme.spacing(1.25),\n        },\n    }),\n    nurseryHeaderInfoList: (theme) => ({\n        [theme.breakpoints.down('xsMax')]: {\n            textAlign: 'left',\n        },\n        '& > li': {\n            display: 'inline-block',\n            width: '50%',\n            fontSize: theme.spacing(1.5),\n            fontWeight: 'bold',\n            letterSpacing: '2.4px',\n            color: theme.palette.primary.light,\n            lineHeight: '30px',\n            textTransform: 'uppercase',\n            margin: theme.spacing(0.75, 0),\n            [theme.breakpoints.between('sm', 'mdMin')]: {\n                display: 'block',\n                width: '100%',\n                fontSize: theme.spacing(1.5),\n                letterSpacing: '1px',\n            },\n            [theme.breakpoints.down('xsMax')]: {\n                width: '100%',\n            },\n            '& > a': {\n                color: theme.palette.primary.light,\n            },\n            '& > svg': {\n                width: theme.spacing(3),\n                height: theme.spacing(3.75),\n                float: 'left',\n                marginRight: theme.spacing(1.25),\n                [theme.breakpoints.between('sm', 'mdMin')]: {\n                    marginRight: theme.spacing(0.75),\n                },\n            },\n        },\n    }),\n    nurseryHeaderImages: (theme) => ({\n        display: 'flex',\n        flexWrap: 'wrap',\n        width: 632,\n        minWidth: 632,\n        position: 'absolute',\n        right: 0,\n        '& > img': {\n            backgroundPosition: 'center center',\n            backgroundSize: 'cover',\n            width: 316,\n            height: 316,\n            objectFit: 'cover',\n        },\n        [theme.breakpoints.between('md', 'mdMax')]: {\n            width: 500,\n            minWidth: 500,\n            '& > img': {\n                width: 250,\n                height: 250,\n            },\n        },\n        [theme.breakpoints.between('sm', 'mdMin')]: {\n            width: 390,\n            minWidth: 390,\n            '& > img': {\n                width: 195,\n                height: 195,\n            },\n        },\n        [theme.breakpoints.down('xsMax')]: {\n            top: 0,\n            left: 0,\n            right: 0,\n            height: 100,\n            width: 'auto',\n            minWidth: 'initial',\n            '& > img': {\n                width: '25%',\n                height: '100%',\n            },\n        },\n    }),\n};\nexport default styles;\n","import React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function Location(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 24 24\" },\n        React.createElement(\"rect\", { id: \"Rectangle\", fill: \"#FFFFFF\", x: \"0\", y: \"0\", width: \"24\", height: \"24\" }),\n        React.createElement(\"path\", { d: \"M11.9860554,21.91008 L6.10347077,11.7207877 C5.51860923,10.6987569 5.21067077,9.53604923 5.21067077,8.35524923 C5.21067077,6.54860308 5.91627077,4.84792615 7.19713231,3.56669538 C8.47836308,2.28583385 10.17904,1.57986462 11.9860554,1.57986462 C15.7223015,1.57986462 18.7621785,4.61937231 18.7621785,8.35524923 C18.7621785,9.53568 18.45424,10.6976492 17.8715938,11.7156185 L11.9860554,21.91008 Z M12.4538708,23.5018338 C12.4653169,23.4874338 12.47824,23.4689723 12.4907938,23.4497723 L12.5136862,23.4187569 L18.9205785,12.31968 C19.6091938,11.1163569 19.9725169,9.74651077 19.9725169,8.35524923 C19.9725169,3.95180308 16.3898708,0.369156923 11.9860554,0.369156923 C7.58260923,0.369156923 3.99996308,3.95180308 3.99996308,8.35524923 C3.99996308,9.74540308 4.36291692,11.1141415 5.04857846,12.3137723 L5.06297846,12.3470031 L11.4617477,23.4235569 C11.4938708,23.4682338 11.5053169,23.4859569 11.5193477,23.5025723 C11.53264,23.5184492 11.5459323,23.53248 11.5599631,23.5465108 C11.5747323,23.56128 11.5887631,23.5749415 11.6042708,23.5874954 C11.61904,23.59968 11.63824,23.6126031 11.6570708,23.6251569 L11.6858708,23.6462031 C11.7209477,23.6628185 11.7412554,23.6713108 11.7619323,23.6794338 C11.7877785,23.6897723 11.8007015,23.6949415 11.8136246,23.6990031 C11.83024,23.7041723 11.8468554,23.7071262 11.8634708,23.7104492 C11.8959631,23.7167262 11.9125785,23.7204185 11.9291938,23.7218954 C11.9450708,23.7233723 11.9613169,23.7233723 11.9805169,23.7230031 L11.9967631,23.7230031 C12.01744,23.7230031 12.03184,23.7230031 12.04624,23.7218954 C12.0591631,23.7204185 12.0743015,23.7174646 12.0898092,23.7141415 C12.1241477,23.7074954 12.14224,23.7041723 12.1592246,23.6990031 L12.1961477,23.6853415 C12.2312246,23.6713108 12.2519015,23.6624492 12.27184,23.6517415 L12.3143015,23.6258954 C12.3338708,23.6129723 12.3523323,23.6004185 12.3696862,23.5860185 C12.3844554,23.5738338 12.3984862,23.5605415 12.4125169,23.5465108 C12.4250708,23.5332185 12.43984,23.5184492 12.4538708,23.5018338 L12.4538708,23.5018338 Z\", id: \"Fill-1\", fill: \"#000000\" }),\n        React.createElement(\"path\", { d: \"M14.4783631,8.37958154 C14.4783631,7.00308923 13.3625477,5.88727385 11.9860554,5.88727385 C10.6095631,5.88727385 9.49374769,7.00308923 9.49374769,8.37958154 C9.49374769,9.75607385 10.6095631,10.8718892 11.9860554,10.8718892 C13.3625477,10.8718892 14.4783631,9.75607385 14.4783631,8.37958154\", id: \"Fill-4\", fill: \"#000000\" })));\n}\n","import React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function Location(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 24 24\" },\n        React.createElement(\"rect\", { id: \"Rectangle\", fill: \"#FFFFFF\", x: \"0\", y: \"0\", width: \"24\", height: \"24\" }),\n        React.createElement(\"path\", { d: \"M1.0777791,5.28182687 C1.18595821,8.20588657 4.18882388,14.1274388 7.03049552,16.9694687 C9.87252537,19.8114985 15.7944358,22.814006 18.7184955,22.9225433 C20.7681672,21.5348418 22.9253015,19.6263045 22.9253015,18.8776478 C22.9253015,18.0505433 20.6990328,15.4528119 18.8771821,14.6984239 C18.4985552,14.5415284 17.9920478,14.4100657 17.7291224,14.6726328 C17.1896597,15.2124537 16.8515104,15.7590806 16.5531224,16.2415881 C16.0301373,17.0876776 15.5361672,17.8864836 14.2924657,17.8864836 C12.5415403,17.8864836 10.907391,16.2526925 9.32733134,14.6726328 C7.74727164,13.0925731 6.1134806,11.4584239 6.1134806,9.70749851 C6.1134806,8.46343881 6.91264478,7.96946866 7.75873433,7.44648358 C8.24124179,7.14809552 8.78786866,6.81030448 9.32733134,6.27084179 C9.59061493,6.00791642 9.45843582,5.50140896 9.3015403,5.12278209 C8.54715224,3.30093134 5.9497791,1.07466269 5.12231642,1.07466269 C4.3736597,1.07466269 2.46512239,3.23179701 1.0777791,5.28182687 L1.0777791,5.28182687 Z M19.0405254,24.0000358 L18.8775403,24.0000358 C15.7392716,24.0000358 9.37676418,20.8352597 6.27073433,17.7292299 C3.16470448,14.6232 -7.16417908e-05,8.26069254 -7.16417908e-05,5.12242388 L-7.16417908e-05,4.95979701 L0.0901970149,4.82439403 C0.844943284,3.69245373 3.43730149,3.58208955e-05 5.12231642,3.58208955e-05 C6.53688358,3.58208955e-05 9.43730149,2.64182687 10.2944955,4.71155821 C10.8056597,5.94594627 10.4639284,6.65412537 10.0870925,7.03060299 C9.45915224,7.65890149 8.8297791,8.04791642 8.32398806,8.36063284 C7.47968955,8.88218507 7.18810746,9.09388657 7.18810746,9.70749851 C7.18810746,11.0135284 8.6617791,12.4872 10.0870925,13.9128716 C11.5127642,15.3381851 12.9864358,16.8118567 14.2924657,16.8118567 C14.9060776,16.8118567 15.1174209,16.5202746 15.6389731,15.6766925 C15.9516896,15.1705433 16.3410627,14.5408119 16.9693612,13.9128716 C17.3458388,13.5356776 18.0543761,13.1935881 19.2887642,13.7054687 C21.3581373,14.5626627 23.9999284,17.4630806 23.9999284,18.8776478 C23.9999284,20.5626627 20.3075104,23.1550209 19.1755701,23.9097672 L19.0405254,24.0000358 Z\", id: \"Fill-1\", fill: \"#000000\" })));\n}\n","import React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function Location(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 24 24\" },\n        React.createElement(\"rect\", { id: \"Rectangle\", fill: \"#FFFFFF\", x: \"0\", y: \"0\", width: \"24\", height: \"24\" }),\n        React.createElement(\"path\", { d: \"M22.857225,18.7419907 L1.0491,18.7419907 L1.0491,5.60226977 L1.125225,5.66254884 L11.625225,13.999293 C11.81835,14.1525953 12.08835,14.1525953 12.2811,13.999293 L22.857225,5.60226977 L22.857225,18.7419907 Z M21.890475,5.04115349 L11.952975,12.9258047 L2.01585,5.04115349 L21.890475,5.04115349 Z M23.0961,4.00003721 L0.810225,4.00003721 C0.3711,4.00003721 -0.00015,4.36803721 -0.00015,4.80413023 L-0.00015,18.979014 C-0.00015,19.415107 0.3711,19.783107 0.810225,19.783107 L23.0961,19.783107 C23.535225,19.783107 23.9061,19.415107 23.9061,18.979014 L23.9061,4.80413023 C23.9061,4.36803721 23.535225,4.00003721 23.0961,4.00003721 L23.0961,4.00003721 Z\", id: \"Fill-1\", fill: \"#000000\" })));\n}\n","import React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function Website(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 24 24\" },\n        React.createElement(\"rect\", { id: \"Rectangle\", fill: \"#FFFFFF\", x: \"0\", y: \"0\", width: \"24\", height: \"24\" }),\n        React.createElement(\"path\", { d: \"M12,2 L0,14 L0,15.4761791 L2.86567164,15.4761791 L2.86567164,22.6403582 L11.1044776,22.6403582 L11.1044776,18.3418507 L12.8955224,18.3418507 L12.8955224,22.6403582 L21.1346866,22.6403582 L21.1346866,15.4761791 L24,15.4761791 L24,14 L19.7014925,9.70113433 L19.7014925,2.93886567 L15.761194,2.93886567 L15.761194,5.76083582 L12,2 Z M12,3.51952239 L16.8358209,8.35534328 L16.8358209,4.01313433 L18.6268657,4.01313433 L18.6268657,10.1463881 L22.8823881,14.401194 L20.0597015,14.401194 L20.0597015,21.5657313 L13.9701493,21.5657313 L13.9701493,17.2668657 L10.0298507,17.2668657 L10.0298507,21.5657313 L3.94029851,21.5657313 L3.94029851,14.401194 L1.11797015,14.401194 L12,3.51952239 Z\", id: \"Page-1\", fill: \"#000000\" })));\n}\n","import React from 'react';\nimport Grid from '@mui/material/Grid';\nimport Link from '@mui/material/Link';\nimport Button from '@mui/material/Button';\nimport Typography from '@mui/material/Typography';\nimport KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown';\nimport KeyboardArrowUpIcon from '@mui/icons-material/KeyboardArrowUp';\nimport Box from '@mui/material/Box';\nimport { uniqueId } from '../../utils/helpers';\nimport styles from './NurseryHeaderStyles';\nimport Location from '../../themes/icons/Location';\nimport Call from '../../themes/icons/Call';\nimport Email from '../../themes/icons/Email';\nimport Website from '../../themes/icons/Website';\nconst NurseryHeader = React.forwardRef((props, ref) => {\n    const { promoHeight, photos, } = props;\n    const { contributor_type: contributorType, name, shopify_handle: shopifyHandle, avatar, location, location_short: locationShort, email, url: website, phone, description, } = props.data;\n    const [detailOpen, setDetailOpen] = React.useState(false);\n    function toggleDiv() {\n        setDetailOpen((prev) => !prev);\n    }\n    const types = contributorType.map((item) => React.createElement(\"li\", { key: uniqueId(item) }, item));\n    const firstLetter = name.charAt(0);\n    const nurseryUrl = `/nurseries/${shopifyHandle}/`;\n    let avatarEl = (React.createElement(Link, { underline: \"none\", href: nurseryUrl },\n        React.createElement(\"span\", null, firstLetter)));\n    if (avatar) {\n        avatarEl = (React.createElement(Link, { underline: \"none\", href: nurseryUrl },\n            React.createElement(\"img\", { src: avatar, alt: name })));\n    }\n    let locationEl;\n    let emailEl;\n    let websiteEl;\n    let phoneEl;\n    if (location) {\n        const gmapsUrl = `https://www.google.com/maps/search/${encodeURIComponent(location)}`;\n        locationEl = (React.createElement(\"li\", { className: \"location\" },\n            React.createElement(Location, null),\n            React.createElement(Link, { underline: \"none\", href: gmapsUrl, target: \"_blank\", rel: \"noopener noreferrer\" }, locationShort)));\n    }\n    if (email) {\n        emailEl = (React.createElement(\"li\", { className: \"email\" },\n            React.createElement(Email, null),\n            React.createElement(Link, { underline: \"none\", href: `mailto:${email}` }, \"email\")));\n    }\n    if (website) {\n        websiteEl = (React.createElement(\"li\", { className: \"website\" },\n            React.createElement(Website, null),\n            React.createElement(Link, { underline: \"none\", href: website, target: \"_blank\", rel: \"noopener noreferrer\" }, \"website\")));\n    }\n    if (phone) {\n        const phoneLink = `tel:${phone}`;\n        phoneEl = (React.createElement(\"li\", { className: \"phone\" },\n            React.createElement(Call, null),\n            React.createElement(Link, { underline: \"none\", href: phoneLink }, phone)));\n    }\n    let images;\n    if (photos && photos.length > 3) {\n        images = photos.map((item) => React.createElement(\"img\", { src: item, key: uniqueId(item), alt: name }));\n    }\n    const detailClass = detailOpen ? ' open' : '';\n    return (React.createElement(Box, { sx: photos && photos.length < 4\n            ? styles.navWrapperHidden\n            : [styles.navWrapper, styles.minHeight], style: { marginTop: window.innerWidth < 768 && promoHeight + 56 }, ref: ref },\n        React.createElement(Grid, { container: true, justifyContent: \"space-between\", alignItems: \"stretch\", sx: styles.nurseryHeader, flexWrap: \"nowrap\" },\n            React.createElement(Grid, { sx: styles.nurseryHeaderWrapper },\n                React.createElement(Box, { sx: styles.nurseryHeaderGroup },\n                    React.createElement(Box, { sx: styles.nurseryAvatar }, avatarEl),\n                    React.createElement(Typography, { variant: \"h1\", sx: styles.nurseryTypographyH1 },\n                        React.createElement(Link, { underline: \"none\", href: nurseryUrl }, name))),\n                React.createElement(Grid, { container: true, justifyContent: \"center\", flexDirection: \"column\", wrap: \"nowrap\", sx: styles.nurseryDetails, className: detailClass },\n                    React.createElement(Button, { onClick: toggleDiv, onKeyDown: toggleDiv, fullWidth: true, disableElevation: true, disableFocusRipple: true, disableRipple: true, endIcon: detailOpen ? React.createElement(KeyboardArrowUpIcon, null) : React.createElement(KeyboardArrowDownIcon, null) }, \"More Nursery info\"),\n                    React.createElement(Box, { component: \"ul\", sx: styles.nurseryHeaderTypeList }, types),\n                    React.createElement(Typography, { sx: styles.nurseryHeaderDescription }, description),\n                    React.createElement(Box, { component: \"ul\", sx: styles.nurseryHeaderInfoList },\n                        locationEl,\n                        emailEl,\n                        websiteEl,\n                        phoneEl))),\n            React.createElement(Box, { sx: styles.nurseryHeaderImages }, images))));\n});\nexport default NurseryHeader;\n","import React from 'react';\nimport Box from '@mui/material/Box';\nimport Divider from '@mui/material/Divider';\nimport Grid from '@mui/material/Grid';\nimport ListItem from '@mui/material/ListItem';\nimport ListItemText from '@mui/material/ListItemText';\nexport default function NavigationList(props) {\n    const { navigation } = props;\n    const navigationWrapperSX = (theme) => ({\n        height: '70px',\n        [theme.breakpoints.down('mdMedMin')]: {\n            display: 'none',\n        },\n    });\n    const mainNavItemsSX = (theme) => ({\n        [theme.breakpoints.down('mdMax')]: {\n            padding: theme.spacing(0, '0.75em'),\n        },\n    });\n    return (React.createElement(Box, { sx: navigationWrapperSX }, (navigation === null || navigation === void 0 ? void 0 : navigation.length) > 0 && (React.createElement(Box, { sx: [{\n                zIndex: 101,\n                display: 'flex',\n                alignItems: 'center',\n                flexDirection: 'column',\n                position: 'relative',\n            }, navigationWrapperSX] },\n        React.createElement(Grid, { container: true, sx: [{\n                    width: '100%',\n                    maxWidth: 1104,\n                    alignItems: 'center',\n                    justifyContent: 'space-between',\n                }, mainNavItemsSX], wrap: \"nowrap\" }, navigation === null || navigation === void 0 ? void 0 : navigation.map((item) => (React.createElement(ListItem, { key: item.title, sx: {\n                py: '12px',\n                pl: 0,\n                pr: 0.25,\n                width: 'max-content',\n                cursor: item.link !== '' ? 'pointer' : 'default',\n                ':hover': {\n                    borderBottom: (theme) => `2px solid ${theme.palette.primary.dark}`,\n                    pb: '10px',\n                },\n                '&.Mui-selected': {\n                    backgroundColor: 'transparent !important',\n                    borderBottom: (theme) => `2px solid ${theme.palette.primary.dark}`,\n                },\n            }, disableGutters: true, dense: true },\n            React.createElement(\"a\", { href: (item === null || item === void 0 ? void 0 : item.url) ? item.url : '' },\n                React.createElement(ListItemText, { primary: item.title, slotProps: {\n                        primary: {\n                            noWrap: true,\n                            sx: {\n                                color: 'primary.light',\n                                textTransform: 'uppercase',\n                                lineHeight: 1.28,\n                                fontSize: 18,\n                                fontWeight: item.bold && 700,\n                                letterSpacing: '0.02em',\n                                WebkitUserSelect: 'none',\n                                MozUserSelect: 'none',\n                                msUserSelect: 'none',\n                                userSelect: 'none',\n                            },\n                            component: 'p',\n                        },\n                    } })))))),\n        React.createElement(Divider, { sx: { width: '100%' } })))));\n}\n","import React, { useEffect, useState } from 'react';\nimport Grid from '@mui/material/Grid';\nimport SwipeableDrawer from '@mui/material/SwipeableDrawer';\nimport Typography from '@mui/material/Typography';\nimport IconButton from '@mui/material/IconButton';\nimport Box from '@mui/material/Box';\nimport CustomButton from '../CommonComponents/CustomButton';\nimport CartNursery from '../Checkout/CartNursery';\nconst classes = {\n    shopifyCart: {\n        position: 'relative',\n        zIndex: 99999,\n        right: 0,\n        top: 0,\n        bottom: 0,\n    },\n    fullCart: (theme) => ({\n        background: theme.palette.background.default,\n        width: 370,\n        transition: '0.3s',\n    }),\n    cartTitle: (theme) => ({\n        fontSize: theme.spacing(2.25),\n        padding: theme.spacing(2.5),\n        textAlign: 'left',\n        fontWeight: 400,\n        color: theme.palette.primary.main,\n        borderBottom: `11px solid ${theme.palette.background.paper}`,\n    }),\n    closeButton: (theme) => ({\n        fontSize: theme.spacing(3.75),\n        color: '#767676',\n        fontFamily: '\"Helvetica Neue\",Helvetica,Arial,sans-serif',\n        right: theme.spacing(2.5),\n        top: theme.spacing(0.875),\n        padding: 0,\n        position: 'absolute',\n        '&:hover': {\n            backgroundColor: 'transparent',\n        },\n    }),\n    cartItems: (theme) => ({\n        position: 'absolute',\n        top: theme.spacing(8.75),\n        right: 0,\n        left: 0,\n        bottom: 125,\n        height: 'auto',\n        overflowY: 'scroll',\n        backgroundColor: theme.palette.background.paper,\n        '& > div > div:last-child': {\n            marginBottom: 0,\n        },\n    }),\n    cartFooter: (theme) => ({\n        position: 'absolute',\n        bottom: 0,\n        padding: theme.spacing(2.5),\n        borderTop: `1px solid ${theme.palette.secondary.dark}`,\n        width: '100%',\n        backgroundColor: theme.palette.background.default,\n        boxShadow: '0px -0.5px 0.5px rgba(0, 0, 0, 0.25)',\n    }),\n    shippingCalc: (theme) => ({\n        fontSize: theme.spacing(1.5),\n        fontWeight: 400,\n        lineHeight: '15px',\n        color: theme.palette.blueColors.main,\n        textAlign: 'center',\n        paddingBottom: theme.spacing(2.5),\n        width: '100%',\n    }),\n    checkoutButton: (theme) => ({\n        backgroundColor: theme.palette.primary.light,\n        color: theme.palette.background.default,\n        marginTop: theme.spacing(0.5),\n        width: '100%',\n        fontSize: theme.spacing(2),\n        fontWeight: 'bold',\n        height: theme.spacing(5.625),\n        '&:hover': {\n            backgroundColor: theme.palette.primary.contrastText,\n        },\n    }),\n    emptyCartText: (theme) => ({\n        color: theme.palette.newGreyColors.light,\n        textAlign: 'center',\n        marginTop: theme.spacing(3.75),\n    }),\n};\nconst ShopifyCart = ({ changeQuantity, count, checkout, openCart, closeCart, }) => {\n    const [menuOpen, setMenuOpen] = useState(!!openCart);\n    const isMobile = typeof window !== 'undefined' && /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);\n    useEffect(() => {\n        if (openCart !== undefined) {\n            setMenuOpen(openCart);\n        }\n    }, [openCart]);\n    const toggleMenu = (open) => (event) => {\n        if (event\n            && event.type === 'keydown'\n            && (event.key === 'Tab'\n                || event.key === 'Shift')) {\n            return;\n        }\n        setMenuOpen(open);\n        if (!open)\n            closeCart();\n    };\n    const goToCart = () => {\n        window.location.href = '/cart/';\n    };\n    let cartItems;\n    cartItems = checkout.nurseries.map((nursery) => (nursery.items.length > 0 && (React.createElement(CartNursery, { key: nursery.name, nursery: nursery, shopifyCart: true, changeQuantity: changeQuantity }))));\n    let footer;\n    if (count > 0) {\n        footer = (React.createElement(Grid, { container: true, direction: \"column\", sx: classes.cartFooter },\n            React.createElement(Typography, { sx: classes.shippingCalc }, \"Shipping calculated at checkout.\"),\n            React.createElement(CustomButton, { onClick: goToCart, buttonText: \"Checkout\", sx: classes.checkoutButton })));\n    }\n    else {\n        cartItems = (React.createElement(Typography, { component: \"p\", sx: classes.emptyCartText }, \"Your cart is empty.\"));\n    }\n    return (React.createElement(Box, { sx: classes.shopifyCart },\n        React.createElement(SwipeableDrawer, { anchor: \"right\", elevation: 3, ModalProps: {\n                hideBackdrop: !isMobile,\n                disablePortal: true,\n                disableScrollLock: !isMobile,\n                disableRestoreFocus: true,\n                disableEnforceFocus: true,\n                disableAutoFocus: true,\n                BackdropProps: { invisible: true },\n            }, open: menuOpen, onClose: toggleMenu(false), onOpen: toggleMenu(true), transitionDuration: {\n                enter: 150,\n                exit: 150,\n            }, swipeAreaWidth: 0, disableBackdropTransition: !isMobile, disableDiscovery: isMobile, style: { position: 'relative' }, slotProps: {\n                paper: {\n                    sx: classes.fullCart,\n                },\n            } },\n            React.createElement(Box, { sx: classes.fullCart },\n                React.createElement(\"div\", null,\n                    React.createElement(Typography, { variant: \"h2\", sx: classes.cartTitle }, count > 0 ? 'In your cart' : 'Your Cart'),\n                    React.createElement(IconButton, { disableRipple: true, disableFocusRipple: true, \"aria-label\": \"close\", sx: classes.closeButton, onClick: toggleMenu(false) }, \"x\")),\n                React.createElement(Box, { sx: classes.cartItems },\n                    React.createElement(Grid, { container: true, direction: \"column\", alignContent: \"center\" }, cartItems)),\n                footer))));\n};\nexport default ShopifyCart;\n","import React from 'react';\nimport Grid from '@mui/material/Grid';\nimport Link from '@mui/material/Link';\nimport parse from 'html-react-parser';\nexport default function PromoHeader(props) {\n    const { activePromo, enablePromoHeader } = props;\n    const promoHeader = React.useRef();\n    const hasActivePromo = !!activePromo && Object.keys(activePromo).length > 0;\n    React.useEffect(() => {\n        if (!activePromo || Object.keys(activePromo).length === 0) {\n            return undefined;\n        }\n        function handleResize() {\n            var _a;\n            const promoHeight = (_a = promoHeader === null || promoHeader === void 0 ? void 0 : promoHeader.current) === null || _a === void 0 ? void 0 : _a.offsetHeight;\n            enablePromoHeader(promoHeight);\n        }\n        let timeout;\n        function onResize() {\n            clearTimeout(timeout);\n            timeout = setTimeout(handleResize, 100);\n        }\n        handleResize();\n        window.addEventListener('resize', onResize);\n        return function cleanUp() {\n            clearTimeout(timeout);\n            window.removeEventListener('resize', onResize);\n        };\n    }, [activePromo, enablePromoHeader, promoHeader]);\n    if (hasActivePromo) {\n        return (React.createElement(Grid, { container: true, ref: promoHeader, sx: {\n                justifyContent: 'center',\n                backgroundColor: 'secondary.light',\n            } },\n            React.createElement(Link, { key: activePromo.cta_url, sx: {\n                    py: 2.5, color: '#FFFFFF !important',\n                }, underline: \"none\", href: activePromo.cta_url, \"aria-label\": activePromo.promo_text }, parse(activePromo.promo_text || ''))));\n    }\n    return null;\n}\n","import React from 'react';\nimport List from '@mui/material/List';\nimport ListItem from '@mui/material/ListItem';\nimport ListItemText from '@mui/material/ListItemText';\nimport Collapse from '@mui/material/Collapse';\nimport Divider from '@mui/material/Divider';\nexport default function MobileNavigation(props) {\n    const { navigation, mobileOpen, navigationLinks, setMobileOpen, } = props;\n    const [navMobileOpen, setNavMbileOpen] = React.useState(mobileOpen);\n    React.useEffect(() => {\n        setNavMbileOpen(mobileOpen);\n    }, [mobileOpen]);\n    function handleNavItemClick(item) {\n        window.location.href = item.url;\n        setNavMbileOpen(false);\n        setMobileOpen(false);\n        document.body.style.overflow = 'auto';\n    }\n    function onNavLinkClick(link) {\n        window.location.href = link;\n        setNavMbileOpen(false);\n        setMobileOpen(false);\n        document.body.style.overflow = 'auto';\n    }\n    const listItemSX = {\n        py: 1.5,\n        px: 3.5,\n        justifyContent: 'space-between',\n    };\n    const primaryTypographySX = {\n        color: 'primary.light',\n        fontSize: 14,\n        fontWeight: 400,\n        lineHeight: 1.28,\n        letterSpacing: '0.06em',\n        WebkitUserSelect: 'none',\n        MozUserSelect: 'none',\n        msUserSelect: 'none',\n        userSelect: 'none',\n    };\n    return (React.createElement(Collapse, { in: navMobileOpen, timeout: 100, unmountOnExit: true, sx: {\n            bgcolor: 'background.paper',\n            position: 'fixed',\n            width: '100%',\n            zIndex: 1000,\n            overflowY: 'scroll',\n            maxHeight: '85%',\n            mt: -0.125,\n        } },\n        React.createElement(List, { component: \"nav\", disablePadding: true }, navigation === null || navigation === void 0 ? void 0 : navigation.map((item) => (React.createElement(React.Fragment, { key: item.key },\n            React.createElement(Divider, { sx: { width: '100%', borderColor: 'secondary.dark' } }),\n            React.createElement(ListItem, { disableGutters: true, sx: listItemSX, component: item.link !== '' ? 'a' : null, href: item.link },\n                React.createElement(ListItemText, { primary: item.title, onClick: () => handleNavItemClick(item), slotProps: {\n                        primary: {\n                            noWrap: true,\n                            sx: { ...primaryTypographySX, textTransform: 'uppercase' },\n                        },\n                    } })))))),\n        React.createElement(Collapse, { in: mobileOpen, timeout: 100, unmountOnExit: true, sx: { bgcolor: 'background.paper' } },\n            React.createElement(List, { component: \"nav\", disablePadding: true }, navigationLinks.map((navItem) => (React.createElement(ListItem, { disableGutters: true, sx: listItemSX, key: navItem.link, onClick: () => onNavLinkClick(navItem.link), component: \"a\", href: navItem.link },\n                React.createElement(ListItemText, { primary: navItem.text, slotProps: {\n                        primary: {\n                            noWrap: true,\n                            sx: { ...primaryTypographySX, fontWeight: 'bold' },\n                        },\n                    } }))))))));\n}\n","import React from 'react';\nimport Box from '@mui/material/Box';\nimport Grid from '@mui/material/Grid';\nimport AppBar from '@mui/material/AppBar';\nimport Toolbar from '@mui/material/Toolbar';\nimport IconButton from '@mui/material/IconButton';\nimport Link from '@mui/material/Link';\nimport Avatar from '@mui/material/Avatar';\nimport Divider from '@mui/material/Divider';\nimport MenuIcon from '@mui/icons-material/Menu';\nimport CloseIcon from '@mui/icons-material/Close';\nimport PromoHeader from '../Promotion/PromoHeader';\nimport NavigationList from '../Navigation';\nimport MobileNavigation from '../Navigation/MobileNavigation';\nconst HeaderSX = {\n    mainWrapper: (theme) => ({\n        flexGrow: 1,\n        width: '100%',\n        textAlign: 'center',\n        background: '#fff',\n        zIndex: 999,\n        [theme.breakpoints.down('sm')]: {\n            position: 'fixed',\n            top: 0,\n        },\n    }),\n    toolBarRegular: (theme) => ({\n        [theme.breakpoints.down('mdMedMin')]: {\n            padding: theme.spacing(0, 1.5),\n        },\n        [theme.breakpoints.between('mdMedMin', 'mdMedMax')]: {\n            padding: theme.spacing(0, 3.75),\n        },\n    }),\n    toolBarRegularCart: (theme) => ({\n        [theme.breakpoints.down('mdMedMin')]: {\n            padding: theme.spacing(0, 2),\n            minHeight: theme.spacing(10),\n        },\n    }),\n    linksContainer: (theme) => ({\n        width: '100%',\n        [theme.breakpoints.down('mdMedMin')]: {\n            display: 'none',\n        },\n    }),\n};\nexport default function MainHeader({ changeWrapperClass, openCartOnClick = () => { }, enablePromoHeader = () => { }, activePromo, navigation, showNurseryHeader, cartCount, }) {\n    const [mobileOpen, setMobileOpen] = React.useState(false);\n    const navigationLinks = [\n        {\n            link: '/',\n            text: 'Shop',\n        },\n        {\n            link: 'https://plantlust.com/blog/ordering/',\n            text: 'Order',\n        },\n        {\n            link: 'https://plantlust.com/blog/sell-on-plantlust-com/',\n            text: 'Sell',\n        },\n        {\n            link: 'https://plantlust.com/blog/',\n            text: 'blog',\n        },\n    ];\n    const notCartPage = typeof window !== 'undefined' ? !window.location.pathname.startsWith('/cart') : true;\n    function toggleMenu() {\n        const newMobileOpen = !mobileOpen;\n        setMobileOpen(newMobileOpen);\n        document.body.style.overflow = typeof window !== undefined && window.innerWidth < 992 && newMobileOpen ? 'hidden' : 'auto';\n        changeWrapperClass();\n    }\n    function handleCartClick(e) {\n        e.preventDefault();\n        openCartOnClick();\n    }\n    return (React.createElement(Box, { sx: HeaderSX.mainWrapper },\n        notCartPage && (React.createElement(PromoHeader, { activePromo: activePromo, enablePromoHeader: enablePromoHeader })),\n        React.createElement(AppBar, { position: \"static\", elevation: 0, sx: {\n                borderTop: 'none',\n                justifyContent: 'center',\n                backgroundColor: 'background.default',\n                zIndex: 999,\n                flexDirection: 'row',\n            } },\n            React.createElement(Toolbar, { disableGutters: true, sx: [{\n                        width: '100%',\n                        maxWidth: 1104,\n                        minHeight: '48px !important',\n                        justifyContent: 'space-between',\n                    }, HeaderSX.toolBarRegular, !notCartPage && HeaderSX.toolBarRegularCart] },\n                notCartPage && (React.createElement(IconButton, { onClick: toggleMenu, sx: {\n                        mr: 2,\n                        display: { xs: 'inline-flex', mdMedMin: 'none' },\n                        '& > svg': {\n                            width: '1.5em',\n                            height: '1.5em',\n                            fontSize: '1.25rem',\n                        },\n                    }, disableRipple: true, disableFocusRipple: true, disableTouchRipple: true, \"aria-label\": \"Plant Lust Menu\" }, mobileOpen ? React.createElement(CloseIcon, null)\n                    : React.createElement(MenuIcon, null))),\n                React.createElement(IconButton, { href: \"/\", sx: {\n                        padding: 0,\n                        '&:hover': {\n                            backgroundColor: 'transparent',\n                        },\n                    }, disableRipple: true, disableFocusRipple: true, disableTouchRipple: true, \"aria-label\": \"Plant Lust Logo\" },\n                    React.createElement(Avatar, { alt: \"Plant Lust\", sx: {\n                            width: 122,\n                            height: notCartPage ? 56 : 80,\n                            '& > img': {\n                                objectFit: 'contain',\n                            },\n                        }, variant: \"square\", src: `${process.env.STATIC_PATH}/img/pl_logo_dark.svg` })),\n                notCartPage && (React.createElement(React.Fragment, null,\n                    React.createElement(Grid, { sx: HeaderSX.linksContainer, container: true, alignItems: \"center\", justifyContent: \"flex-end\" }, navigationLinks.map((navItem) => (React.createElement(Link, { key: navItem.link, href: navItem.link, sx: {\n                            color: (theme) => `${theme.palette.primary.light} !important`,\n                            fontSize: 12,\n                            fontWeight: 'bold',\n                            textTransform: 'uppercase',\n                            letterSpacing: 3,\n                            py: 0,\n                            px: 3.125,\n                        }, underline: \"none\" }, navItem.text)))),\n                    React.createElement(Box, { component: \"span\", sx: {\n                            color: 'primary.light',\n                            textIndent: 8,\n                            fontSize: 11,\n                            fontWeight: 'bold',\n                            width: 44,\n                            height: 55,\n                            cursor: 'pointer',\n                            lineHeight: 3.5,\n                            background: `url(${process.env.STATIC_PATH}/img/pl_mobile_cart_icon.svg) center center no-repeat`,\n                            backgroundSize: '33px 30px',\n                        }, onClick: handleCartClick, onKeyDown: handleCartClick, role: \"button\", tabIndex: -1 }, cartCount))))),\n        React.createElement(Divider, { sx: { width: '100%' } }),\n        !showNurseryHeader && notCartPage && (React.createElement(NavigationList, { navigation: navigation })),\n        notCartPage && (React.createElement(MobileNavigation, { navigation: navigation, mobileOpen: mobileOpen, navigationLinks: navigationLinks, setMobileOpen: setMobileOpen }))));\n}\n","const footerSX = {\n    footerWrapper: (theme) => ({\n        width: '100%',\n        background: theme.palette.greyColors.main,\n        borderTop: `1px solid ${theme.palette.secondary.contrastText}`,\n        padding: theme.spacing(4.5, 0),\n        [theme.breakpoints.down('sm')]: {\n            padding: theme.spacing(5.875, 0),\n        },\n    }),\n    footerContainer: (theme) => ({\n        maxWidth: 1104,\n        padding: theme.spacing(0),\n        margin: 'auto',\n        [theme.breakpoints.down('sm')]: {\n            maxWidth: '100%',\n        },\n    }),\n    newsletterSignup: (theme) => ({\n        padding: theme.spacing(0, 2),\n    }),\n    mailingListTypography: (theme) => ({\n        textTransform: 'uppercase',\n        color: theme.palette.greyColors.dark,\n        fontSize: theme.spacing(1.75),\n        fontWeight: 400,\n        letterSpacing: '3.11px',\n        lineHeight: '18px',\n        marginBottom: theme.spacing(1.5),\n    }),\n    mailingListText: (theme) => ({\n        fontSize: theme.spacing(2.25),\n        fontWeight: 300,\n        display: 'block',\n        letterSpacing: '0.9px',\n        lineHeight: '32px',\n        marginBottom: theme.spacing(1.5),\n        [theme.breakpoints.down('sm')]: {\n            fontSize: theme.spacing(1.75),\n        },\n    }),\n    signupForm: {\n        justifyContent: 'center',\n        display: 'flex',\n    },\n    socialLinkGrid: (theme) => ({\n        '& > a > svg': {\n            fill: theme.palette.primary.main,\n        },\n    }),\n    emailInputContainer: (theme) => ({\n        marginRight: theme.spacing(1),\n    }),\n    emailInputRoot: (theme) => ({\n        minWidth: 360,\n        '& .Mui-error': {\n            color: `${theme.palette.redColors.main} !important`,\n            border: `2px solid ${theme.palette.redColors.main}`,\n        },\n        [theme.breakpoints.down('sm')]: {\n            minWidth: 223,\n        },\n    }),\n    emailInput: (theme) => ({\n        backgroundColor: `${theme.palette.background.default} !important`,\n        color: `${theme.palette.blueColors.main} !important`,\n        border: `2px solid ${theme.palette.greyColors.light}`,\n        borderRadius: theme.spacing(0.5),\n        fontSize: theme.spacing(1.75),\n        fontWeight: 400,\n        fontFamily: 'system-ui, sans-serif',\n        letterSpacing: '0.06em',\n        lineHeight: 1,\n        padding: theme.spacing(1.25),\n        height: theme.spacing(2.75),\n        WebkitBoxShadow: `0 0 0 100px ${theme.palette.background.default} inset !important`,\n        WebkitTextFillColor: `${theme.palette.blueColors.main} !important`,\n        '& .Mui-error': {\n            color: `${theme.palette.redColors.main} !important`,\n            border: `2px solid ${theme.palette.redColors.main}`,\n        },\n        '& .MuiOutlinedInput-notchedOutline': {\n            border: 'none',\n        },\n        '&::-webkit-input-placeholder': {\n            color: `${theme.palette.blueColors.main} !important`,\n            opacity: 1,\n        },\n    }),\n    emailInputInvalid: (theme) => ({\n        color: `${theme.palette.redColors.main} !important`,\n        border: `2px solid ${theme.palette.redColors.main}`,\n    }),\n    emailLabel: (theme) => ({\n        display: 'block',\n        fontSize: theme.spacing(2),\n        marginTop: theme.spacing(1.25),\n        marginRight: 0,\n        marginLeft: 0,\n        lineHeight: 1,\n        marginBottom: theme.spacing(1.25),\n        color: theme.palette.redColors.main,\n    }),\n    subscribeButton: (theme) => ({\n        background: theme.palette.primary.light,\n        color: theme.palette.background.default,\n        fontSize: theme.spacing(2),\n        height: theme.spacing(5.625),\n        position: 'relative',\n        width: 144,\n        textTransform: 'capitalize',\n        cursor: 'pointer',\n        transition: 'background-color .2s',\n        '&:disabled': {\n            color: `${theme.palette.background.default} !important`,\n        },\n        '&:hover': {\n            backgroundColor: theme.palette.primary.contrastText,\n        },\n        '&:active': {\n            backgroundColor: theme.palette.greyColors.contrastText,\n        },\n        [theme.breakpoints.down('sm')]: {\n            left: 0,\n        },\n    }),\n    subscribeButtonDoneIcon: (theme) => ({\n        marginRight: theme.spacing(0.5),\n    }),\n    socialLinksContainer: (theme) => ({\n        padding: theme.spacing(4, 2),\n        '& > div': {\n            padding: theme.spacing(0, 2.5),\n            '& > a > svg': {\n                fill: theme.palette.primary.main,\n            },\n        },\n        [theme.breakpoints.down('sm')]: {\n            padding: theme.spacing(3.5, 0),\n            '& > div': {\n                flexBasis: '14%',\n                maxWidth: '14%',\n                padding: theme.spacing(0, 1.5),\n                '& > a > svg': {\n                    height: theme.spacing(4),\n                    width: theme.spacing(4),\n                },\n            },\n        },\n    }),\n    footerNavigation: (theme) => ({\n        padding: theme.spacing(0, 2),\n        marginBottom: 10,\n        display: 'grid',\n        gridTemplateColumns: 'repeat(5,1fr)',\n        gridColumnGap: '15px',\n        '& > ul > li': {\n            letterSpacing: '0.06em',\n            marginBottom: '23px',\n            textAlign: 'left',\n        },\n        [theme.breakpoints.down('sm')]: {\n            padding: theme.spacing(0),\n            gridTemplateColumns: 'repeat(1,1fr)',\n            '& > ul': {\n                borderBottom: `1px solid ${theme.palette.secondary.dark}`,\n                marginBottom: theme.spacing(0),\n                position: 'relative',\n                width: '100%',\n                '&.active': {\n                    '& > li': {\n                        display: 'block',\n                        '& #panel-text': {\n                            '&:after': {\n                                transform: 'rotate(45deg) !important',\n                            },\n                        },\n                    },\n                },\n                '& > li': {\n                    display: 'none',\n                    marginBottom: theme.spacing(2.5),\n                    cursor: 'pointer',\n                    '&:first-of-type': {\n                        display: 'block',\n                        padding: theme.spacing(2.875, 0),\n                        marginBottom: theme.spacing(0),\n                    },\n                },\n            },\n        },\n    }),\n    footerNavigationTypography: (theme) => ({\n        fontSize: theme.spacing(1.75),\n        fontWeight: 400,\n        letterSpacing: '3.11px',\n        lineHeight: '18px',\n        color: theme.palette.greyColors.dark,\n        textTransform: 'uppercase',\n        [theme.breakpoints.down('sm')]: {\n            padding: theme.spacing(0, 2),\n            '&:after': {\n                borderBottom: `4px solid ${theme.palette.secondary.dark}`,\n                borderRight: `4px solid ${theme.palette.secondary.dark}`,\n                content: '\"\"',\n                height: theme.spacing(1.25),\n                position: 'absolute',\n                right: theme.spacing(2),\n                transform: 'rotate(-45deg)',\n                width: theme.spacing(1.25),\n            },\n        },\n    }),\n    footerNavigationLink: (theme) => ({\n        color: `${theme.palette.blueColors.main} !important`,\n        fontSize: theme.spacing(2),\n        fontWeight: 'bold',\n        [theme.breakpoints.down('sm')]: {\n            padding: theme.spacing(0, 2),\n        },\n    }),\n    copyRightText: (theme) => ({\n        fontSize: theme.spacing(1.75),\n        textAlign: 'center',\n    }),\n};\nexport default footerSX;\n","import React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function Facebook(props) {\n    return (React.createElement(SvgIcon, { ...props, sx: { width: 45, height: 45 }, viewBox: \"0 0 448 512\" },\n        React.createElement(\"path\", { d: \"M448 80v352c0 26.5-21.5 48-48 48h-85.3V302.8h60.6l8.7-67.6h-69.3V192c0-19.6 5.4-32.9 33.5-32.9H384V98.7c-6.2-.8-27.4-2.7-52.2-2.7-51.6 0-87 31.5-87 89.4v49.9H184v67.6h60.9V480H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48z\" })));\n}\n","import React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function Instagram(props) {\n    return (React.createElement(SvgIcon, { ...props, sx: { width: 45, height: 45 }, viewBox: \"0 0 448 512\" },\n        React.createElement(\"path\", { d: \"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z\" })));\n}\n","import React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function Pinterest(props) {\n    return (React.createElement(SvgIcon, { ...props, sx: { width: 45, height: 45 }, viewBox: \"0 0 496 512\" },\n        React.createElement(\"path\", { d: \"M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z\" })));\n}\n","import React, { useState } from 'react';\nimport Grid from '@mui/material/Grid';\nimport Button from '@mui/material/Button';\nimport TextField from '@mui/material/TextField';\nimport Typography from '@mui/material/Typography';\nimport Link from '@mui/material/Link';\nimport Box from '@mui/material/Box';\nimport DoneIcon from '@mui/icons-material/Done';\nimport api, { ignoreRequestFailure } from '../../services/api';\nimport { validateEmail } from '../../utils/helpers';\nimport classes from './FooterStyles';\nimport ConfirmationBackdrop from '../CommonComponents/ConfirmationBackdrop';\nimport Facebook from '../../themes/icons/Facebook';\nimport Instagram from '../../themes/icons/Instagram';\nimport Pinterest from '../../themes/icons/Pinterest';\nexport default function Footer() {\n    const [currentYear] = useState(() => new Date().getFullYear());\n    const [emailValue, setEmailValue] = useState('');\n    const [emailError, setEmailError] = useState(false);\n    const [emailErrorText, setEmailErrorText] = useState('');\n    const [confirmOpen, setConfirmOpen] = useState(false);\n    const [userSubscribed, setUserSubscribed] = useState(false);\n    const [activePanel, setActivePanel] = useState('');\n    const [footerPanels] = useState([\n        {\n            name: 'help',\n            links: [{ link: 'help', text: 'Need Help' },\n                { link: 'https://plantlust.com/blog/contact-us/', text: 'Contact Us' },\n                { link: 'https://plantlust.com/blog/order-status/', text: 'Order Status' },\n                { link: 'https://plantlust.com/blog/refunds-and-replacements/', text: 'Refunds and Replacements' },\n                { link: 'https://plantlust.com/blog/faq/', text: 'FAQ' },\n                { link: 'https://plantlust.com/blog/feedback/', text: 'Feedback' }],\n        },\n        {\n            name: 'links',\n            links: [{ link: 'links', text: 'Quick Links' },\n                { link: '/genus_index/a/', text: 'Plant Index' },\n                { link: 'https://plantlust.com/blog/gift-cards/', text: 'Gift Cards' },\n                { link: 'https://plantlust.com/blog/return-policy/', text: 'Return Policy' },\n                { link: '/nurseries/', text: 'Nurseries' }],\n        },\n        {\n            name: 'order',\n            links: [{ link: 'order', text: 'Ordering Plants' },\n                { link: 'https://plantlust.com/blog/ordering/', text: 'Shipping' },\n                { link: 'https://plantlust.com/blog/plant-care-instructions/', text: 'Plant Care Instructions' },\n                { link: 'https://plantlust.com/blog/landscape-orders/', text: 'Landscape Orders' }],\n        },\n        {\n            name: 'contributors',\n            links: [{ link: 'contributors', text: 'For Contributors' },\n                { link: 'https://plantlust.com/blog/nursery-faq/', text: 'Nursery FAQ' },\n                { link: 'https://plantlust.com/blog/sell-on-plantlust-com/', text: 'Sell Mail Order Plants' },\n                { link: 'https://plantlust.com/blog/list-your-inventory/', text: 'List Your Inventory' },\n                { link: 'https://plantlust.com/blog/contribute-photos/', text: 'Contribute Photos' }],\n        },\n        {\n            name: 'info',\n            links: [{ link: 'info', text: 'Company info' },\n                { link: 'https://plantlust.com/blog/about-us/', text: 'About Us' },\n                { link: 'https://plantlust.com/blog/terms-of-use/', text: 'Terms of Use' },\n                { link: 'https://plantlust.com/blog/privacy-policy/', text: 'Privacy Policy' }],\n        },\n    ]);\n    function onEmailChange(e) {\n        setEmailValue(e.target.value);\n    }\n    function clearErrors() {\n        setEmailError(false);\n        setEmailErrorText('');\n    }\n    function subscribeUser(e) {\n        e.preventDefault();\n        const { email } = document.forms.namedItem('mc_embedded_subscribe_form');\n        if (email.value === '') {\n            setEmailError(true);\n            setEmailErrorText('Email is required');\n        }\n        else if (!validateEmail(email.value)) {\n            setEmailError(true);\n            setEmailErrorText('Email is invalid');\n        }\n        else {\n            clearErrors();\n            const data = {\n                email: email.value,\n                status: 'subscribed',\n            };\n            api.newsLetter.subscribe(data).then((res) => {\n                if (res.success\n                    || (!res.success && res.message === 'Member Exists')) {\n                    setUserSubscribed(true);\n                    setConfirmOpen(true);\n                }\n            })\n                .catch(ignoreRequestFailure);\n        }\n    }\n    function closeModal(e) {\n        e.preventDefault();\n        setConfirmOpen(false);\n    }\n    function confirmModal() {\n        const mainMessage = userSubscribed ? 'Subscribed Successfully!' : 'Something went wrong!';\n        const secondMessages = userSubscribed && ['You are now subscribed to the Plantlust newsletter.'];\n        if (confirmOpen) {\n            return (React.createElement(ConfirmationBackdrop, { open: confirmOpen, mainMessage: mainMessage, secondMessages: secondMessages, close: closeModal }));\n        }\n        return null;\n    }\n    function togglePanel(panel) {\n        let panelName = panel;\n        if (activePanel === panel)\n            panelName = '';\n        setActivePanel(panelName);\n    }\n    return (React.createElement(Grid, { sx: classes.footerWrapper },\n        React.createElement(Grid, { sx: classes.footerContainer },\n            React.createElement(Grid, { sx: classes.newsletterSignup },\n                React.createElement(Typography, { variant: \"h5\", sx: classes.mailingListTypography }, \"Mailing List\"),\n                React.createElement(Typography, { component: \"span\", sx: classes.mailingListText }, \"Sign Up for updates on new plant arrivals and deals\"),\n                React.createElement(Box, { component: \"form\", method: \"post\", id: \"mc-embedded-subscribe-form\", name: \"mc_embedded_subscribe_form\", onSubmit: subscribeUser, noValidate: true, sx: classes.signupForm },\n                    React.createElement(Grid, { container: true, wrap: \"nowrap\", justifyContent: \"center\", id: \"mc_embed_signup_scroll\" },\n                        React.createElement(Box, { sx: classes.emailInputContainer },\n                            React.createElement(TextField, { variant: \"outlined\", required: true, fullWidth: true, placeholder: \"Email Address\", type: \"email\", value: emailValue, onChange: onEmailChange, name: \"email\", sx: classes.emailInputRoot, helperText: emailErrorText, FormHelperTextProps: {\n                                    sx: classes.emailLabel,\n                                }, InputLabelProps: {\n                                    margin: 'dense',\n                                }, id: \"mce-EMAIL\", InputProps: {\n                                    sx: {\n                                        input: classes.emailInput,\n                                        error: classes.emailInputInvalid,\n                                    },\n                                    color: 'secondary',\n                                    error: emailError,\n                                    inputProps: {\n                                        maxLength: 320,\n                                    },\n                                } })),\n                        React.createElement(Button, { type: \"submit\", disabled: userSubscribed, sx: classes.subscribeButton, size: \"small\", startIcon: userSubscribed && React.createElement(DoneIcon, null), disableRipple: true }, userSubscribed ? 'Added' : 'Join'))),\n                confirmModal()),\n            React.createElement(Grid, { container: true, direction: \"row\", justifyContent: \"center\", sx: classes.socialLinksContainer },\n                React.createElement(Grid, { sx: classes.socialLinkGrid, size: 1 },\n                    React.createElement(\"a\", { href: \"https://facebook.com/plantlust\", target: \"_blank\", rel: \"noopener noreferrer\" },\n                        React.createElement(Facebook, null))),\n                React.createElement(Grid, { sx: classes.socialLinkGrid, size: 1 },\n                    React.createElement(\"a\", { href: \"https://instagram.com/plant_lust\", target: \"_blank\", rel: \"noopener noreferrer\" },\n                        React.createElement(Instagram, null))),\n                React.createElement(Grid, { sx: classes.socialLinkGrid, size: 1 },\n                    React.createElement(\"a\", { href: \"https://pinterest.com/plantlust\", target: \"_blank\", rel: \"noopener noreferrer\" },\n                        React.createElement(Pinterest, null)))),\n            React.createElement(Box, { sx: classes.footerNavigation }, footerPanels.map((panel) => (React.createElement(\"ul\", { key: panel.name, className: activePanel === panel.name ? 'active' : undefined }, panel.links.map((innerPanel, index) => (index === 0 ? (React.createElement(\"li\", { key: innerPanel.text, className: \"expand-parent\", onClick: () => togglePanel(panel.name), onKeyDown: () => togglePanel(panel.name) },\n                React.createElement(Typography, { variant: \"h5\", id: \"panel-text\", sx: classes.footerNavigationTypography }, innerPanel.text))) : (React.createElement(\"li\", { key: innerPanel.text },\n                React.createElement(Link, { sx: classes.footerNavigationLink, href: innerPanel.link }, innerPanel.text))))))))),\n            React.createElement(Typography, { sx: classes.copyRightText },\n                \"\\u00A9 2010\\u2014\",\n                currentYear,\n                ' ',\n                \"Plant Lust, LLC All Rights Reserved\"))));\n}\n","/* eslint-disable @typescript-eslint/no-shadow */\nimport React from 'react';\nimport loadable from '@loadable/component';\nimport { Route, Switch, withRouter, matchPath, } from 'react-router-dom';\nimport clsx from 'clsx';\nimport Box from '@mui/material/Box';\nimport SearchBar from '../components/Search/SearchBar';\nimport { withNurseryContext } from '../contexts/NurseryContext';\nimport { withSearchContext } from '../contexts/SearchContext';\nimport Loader from '../components/Loader';\nimport IndexPage from '../components/IndexPage/IndexPage';\nimport { breakpoints, cleanSearch, isPDPPage, resetParam, } from '../utils/helpers';\nimport api, { ignoreRequestFailure } from '../services/api';\nimport shopifyAPI from '../services/shopifyAPI';\nimport { fetchCart } from '../utils/graphQLMutations';\nimport CustomButton from '../components/CommonComponents/CustomButton';\nimport ShopifyCartIcon from '../themes/icons/ShopifyCartIcon';\nimport NurseryHeader from '../components/Nursery/NurseryHeader';\nimport NavigationList from '../components/Navigation';\nimport ShopifyCart from '../components/Shopify/ShopifyCart';\nimport MainHeader from '../components/Header';\nimport Footer from '../components/Footer';\nimport { mainLayoutStyles } from './LayoutStyles';\nconst SearchLayout = loadable(() => import(/* webpackChunkName: \"search_layout\" */ './SearchLayout'), { fallback: React.createElement(Loader, null) });\nconst FeaturedLayout = loadable(() => import(/* webpackChunkName: \"featured_layout\" */ './FeaturedLayout'), { fallback: React.createElement(Loader, null) });\nconst DetailLayout = loadable(() => import(/* webpackChunkName: \"detail_layout\" */ './DetailLayout'), { fallback: React.createElement(Loader, null) });\nconst NurseryLayout = loadable(() => import(/* webpackChunkName: \"nursery_layout\" */ './NurseryLayout'), { fallback: React.createElement(Loader, null) });\nconst Checkout = loadable(() => import(/* webpackChunkName: \"checkout_layout\" */ './Checkout'), { fallback: React.createElement(Loader, null) });\nconst GenusLayout = loadable(() => import(/* webpackChunkName: \"genus_layout\" */ './GenusLayout'), { fallback: React.createElement(Loader, null) });\nconst TagsLayout = loadable(() => import(/* webpackChunkName: \"tags_layout\" */ './TagsLayout'), { fallback: React.createElement(Loader, null) });\nconst AttributeLayout = loadable(() => import(/* webpackChunkName: \"attribute_layout\" */ './AttributeLayout'), { fallback: React.createElement(Loader, null) });\nconst NavigationLayout = loadable(() => import(/* webpackChunkName: \"navigation_layout\" */ './NavigationLayout'), { fallback: React.createElement(Loader, null) });\nconst CategoryLayout = loadable(() => import(/* webpackChunkName: \"category_layout\" */ './CategoryLayout'), { fallback: React.createElement(Loader, null) });\nclass MainLayout extends React.Component {\n    constructor(props) {\n        super(props);\n        this.nurseryHeaderRef = React.createRef();\n        this.routeRequiresNurseryNavigation = (location) => {\n            if (location.pathname.startsWith('/nurseries')) {\n                return true;\n            }\n            const plantDetailMatch = matchPath(location.pathname, {\n                path: ['/plants/:plantId(\\\\d+)/:plantName/', '/plants/:plantId(\\\\d+)/:plantName'],\n                exact: true,\n            });\n            return Boolean(plantDetailMatch);\n        };\n        this.setCommonData = (commonData) => {\n            // eslint-disable-next-line @typescript-eslint/naming-convention\n            const { zones, promo_link } = commonData;\n            this.setState({\n                zones,\n                activePromo: promo_link,\n            });\n        };\n        this.setNavigationData = (navigationData) => {\n            var _a, _b;\n            const navigation = (_b = (_a = navigationData === null || navigationData === void 0 ? void 0 : navigationData.navigation) !== null && _a !== void 0 ? _a : navigationData) !== null && _b !== void 0 ? _b : null;\n            if (!navigation) {\n                return;\n            }\n            this.setState((prevState) => {\n                if (prevState.navigationOverrideActive) {\n                    if (prevState.defaultNavigationData) {\n                        return null;\n                    }\n                    return {\n                        defaultNavigationData: navigation,\n                    };\n                }\n                return {\n                    navigationData: navigation,\n                    defaultNavigationData: prevState.defaultNavigationData || navigation,\n                    navigationOverrideActive: false,\n                };\n            });\n        };\n        this.setDetailsNavigationData = (navigationData) => {\n            var _a, _b;\n            const normalizedNavigation = (_b = (_a = navigationData === null || navigationData === void 0 ? void 0 : navigationData.navigation) !== null && _a !== void 0 ? _a : navigationData) !== null && _b !== void 0 ? _b : null;\n            if (!normalizedNavigation || normalizedNavigation.length === 0) {\n                this.restoreMainNavigation();\n                return;\n            }\n            this.applyNavigationOverride(normalizedNavigation);\n        };\n        this.applyNavigationOverride = (navigation) => {\n            this.setState({\n                navigationData: navigation,\n                navigationOverrideActive: true,\n            });\n        };\n        this.restoreMainNavigation = () => {\n            const { defaultNavigationData } = this.state;\n            if (defaultNavigationData) {\n                this.setState({\n                    navigationData: defaultNavigationData,\n                    navigationOverrideActive: false,\n                });\n                return;\n            }\n            api.home.getNavigationData()\n                .then((navigationResponse) => {\n                var _a, _b;\n                const navigation = (_b = (_a = navigationResponse === null || navigationResponse === void 0 ? void 0 : navigationResponse.navigation) !== null && _a !== void 0 ? _a : navigationResponse) !== null && _b !== void 0 ? _b : null;\n                if (navigation) {\n                    this.setState({\n                        navigationData: navigation,\n                        defaultNavigationData: navigation,\n                        navigationOverrideActive: false,\n                    });\n                }\n            })\n                .catch(ignoreRequestFailure);\n        };\n        this.setCartData = async (cart) => {\n            let qty = 0;\n            cart.cart.nurseries.forEach((nursery) => {\n                nursery.items.forEach((item) => {\n                    qty += item.quantity;\n                });\n            });\n            const newCheckCart = cart.cart;\n            newCheckCart.nurseries = cart.cart.nurseries\n                .map((nursery) => {\n                const newNursery = nursery;\n                newNursery.checked = true;\n                newNursery.shippingLoading = true;\n                return newNursery;\n            });\n            this.setState({\n                checkout: newCheckCart,\n                cartCount: qty,\n            });\n        };\n        this.addToShopifyCart = async (variant, increase_quantity, djangoPk) => {\n            const lineItems = {\n                plant_id: djangoPk,\n                increase_quantity,\n                variant_id: variant.id,\n            };\n            await api.checkout.addItems(lineItems).then((cart) => {\n                let qty = 0;\n                cart.cart.nurseries.forEach((nursery) => {\n                    nursery.items.forEach((item) => {\n                        qty += item.quantity;\n                    });\n                });\n                const newCheckCart = cart.cart;\n                newCheckCart.nurseries = cart.cart.nurseries.map((nursery) => {\n                    const newNursery = nursery;\n                    newNursery.checked = true;\n                    return newNursery;\n                });\n                this.setState({\n                    cartOpen: true,\n                    checkout: newCheckCart,\n                    cartCount: qty,\n                });\n            })\n                .catch(ignoreRequestFailure);\n        };\n        this.changeQuantity = async (plant, modifyNursery, includeShipping, zipCode, province) => {\n            const newPlant = {\n                set_quantity: plant.quantity,\n                plant_id: plant.plant_id,\n                variant_id: plant.variant_id,\n            };\n            const { checkout } = this.state;\n            const newState = this.state;\n            newState.checkout.nurseries = checkout.nurseries.map((nursery) => {\n                const item = nursery;\n                if (item.name === modifyNursery.name) {\n                    item.shippingLoading = true;\n                }\n                return item;\n            });\n            this.setState(newState);\n            await api.checkout.addItems(newPlant).then(async (cart) => {\n                let qty = 0;\n                cart.cart.nurseries.forEach((nursery) => {\n                    nursery.items.forEach((item) => {\n                        qty += item.quantity;\n                    });\n                });\n                if (!includeShipping) {\n                    const newCheckCart = cart.cart;\n                    newCheckCart.nurseries = cart.cart.nurseries\n                        .map((nursery) => {\n                        const newNursery = nursery;\n                        newNursery.checked = true;\n                        newNursery.shippingLoading = false;\n                        return newNursery;\n                    });\n                    this.setState({\n                        checkout: newCheckCart,\n                        cartCount: qty,\n                    });\n                }\n                else {\n                    await api.checkout.getCartList(`?include_shipping=true&zip=${zipCode}&province=${province}`).then((cartList) => {\n                        const shippedCheckCart = cartList.cart;\n                        shippedCheckCart.nurseries = cartList.cart.nurseries\n                            .map((nursery) => {\n                            const newNursery = nursery;\n                            newNursery.checked = true;\n                            newNursery.shippingLoading = false;\n                            return newNursery;\n                        });\n                        this.setState({\n                            checkout: shippedCheckCart,\n                            cartCount: qty,\n                        });\n                    })\n                        .catch(ignoreRequestFailure);\n                }\n            })\n                .catch(ignoreRequestFailure);\n        };\n        this.openCart = () => {\n            this.setState({\n                cartOpen: true,\n            });\n        };\n        this.closeCart = () => {\n            this.setState({\n                cartOpen: false,\n            });\n        };\n        this.scrollToSearch = () => {\n            var _a, _b;\n            let nurseryHeaderVisible = false;\n            if (typeof window !== 'undefined') {\n                if ((_a = this.nurseryHeaderRef) === null || _a === void 0 ? void 0 : _a.current) {\n                    if (window.getComputedStyle((_b = this.nurseryHeaderRef) === null || _b === void 0 ? void 0 : _b.current).display === 'block') {\n                        nurseryHeaderVisible = true;\n                    }\n                }\n            }\n            if (nurseryHeaderVisible) {\n                if (window.innerWidth < breakpoints.screen_xs) {\n                    window.scrollTo(0, 300);\n                }\n                if (window.innerWidth >= breakpoints.screen_xs\n                    && window.innerWidth < breakpoints.screen_md) {\n                    window.scrollTo(0, 450);\n                }\n                if (window.innerWidth >= breakpoints.screen_md\n                    && window.innerWidth < breakpoints.screen_lg) {\n                    window.scrollTo(0, 560);\n                }\n                if (window.innerWidth >= breakpoints.screen_lg) {\n                    window.scrollTo(0, 700);\n                }\n            }\n        };\n        this.setQueries = (query, rawSearch = '', queryType = '', slug = '', url = '') => {\n            const { history, isNursery, nurseryName, nurserySlug, setNurseryName, setNurserySlug, activeZone, setSearchTerm, setActiveZone, } = this.props;\n            let nextNurseryName = nurseryName;\n            let nextNurserySlug = nurserySlug;\n            let newQuery = query;\n            let nextIsNursery = isNursery;\n            if (queryType === 'Nursery') {\n                setNurseryName(rawSearch);\n                nextNurseryName = rawSearch;\n                if (slug !== null) {\n                    setNurserySlug(slug);\n                    nextNurserySlug = slug;\n                }\n                nextIsNursery = true;\n            }\n            gtag('event', 'search', { search_term: rawSearch });\n            setSearchTerm(rawSearch);\n            const clearedZone = newQuery.indexOf('&zone=null') !== -1;\n            if (clearedZone) {\n                newQuery = newQuery.replace('&zone=null', '');\n                setActiveZone('0');\n            }\n            const nextActiveZone = clearedZone ? '0' : activeZone;\n            if (nextActiveZone !== '0' && newQuery.indexOf('zone') === -1) {\n                newQuery = `${newQuery}&zone=${nextActiveZone}`;\n            }\n            let originType = 'search';\n            if (window.location.pathname.indexOf('/plants/') !== -1) {\n                originType = 'plant_detail';\n            }\n            if (window.location.pathname.indexOf('/nurseries/') !== -1) {\n                originType = 'nursery';\n            }\n            if (window.location.pathname === '/') {\n                originType = 'home';\n            }\n            if (nextIsNursery) {\n                switch (originType) {\n                    case 'plant_detail':\n                        if (!nextNurserySlug && nextNurseryName) {\n                            const derivedSlug = nextNurseryName\n                                .toLowerCase()\n                                .split(' ')\n                                .join('-');\n                            setNurserySlug(derivedSlug);\n                            nextNurserySlug = derivedSlug;\n                        }\n                        if (newQuery.indexOf('nurseries=') === -1) {\n                            window.location.href = `/nurseries/${nextNurserySlug}/?${newQuery}`;\n                        }\n                        else\n                            window.location.href = `/nurseries/${nextNurserySlug}`;\n                        break;\n                    case 'nursery':\n                        if (!slug) {\n                            history.push(`${window.location.pathname}?${newQuery}`);\n                            this.scrollToSearch();\n                        }\n                        else {\n                            history.push(`/nurseries/${nextNurserySlug}`);\n                        }\n                        gtag('event', 'page_view');\n                        break;\n                    case 'home':\n                    case 'search':\n                    default:\n                        window.location.href = `/nurseries/${nextNurserySlug}/`;\n                        break;\n                }\n            }\n            else if (url !== '') {\n                history.push(url, { getAPIData: true });\n            }\n            else if (window.location.href.indexOf('/search/') !== -1) {\n                const newSearch = window.location.search.replace('?', '');\n                if (newSearch === newQuery) {\n                    return;\n                }\n                history.push(`/search/?${newQuery}`, { getAPIData: true });\n                gtag('event', 'page_view');\n            }\n            else {\n                window.location.href = `/search/?${newQuery}`;\n            }\n        };\n        this.zoneSetHandler = (zone) => {\n            const { location, history, origSearchTerm, spellingSuggestion, setOrigSearchTerm, setActiveZone, } = this.props;\n            setActiveZone(zone);\n            // On the front page, just hold the zone in context —\n            // it gets included in the query when a search is performed (via setQueries)\n            if (location.pathname === '/') {\n                return;\n            }\n            let searchString = '';\n            const search = cleanSearch(location.search);\n            const path = location.pathname;\n            if (zone === '0') {\n                searchString = resetParam(search, 'zone', false);\n            }\n            else {\n                searchString = resetParam(search, 'zone', zone);\n            }\n            if (origSearchTerm !== ''\n                && spellingSuggestion.spelling_suggestion != null) {\n                searchString = searchString.replace(origSearchTerm, spellingSuggestion.spelling_suggestion);\n                setOrigSearchTerm('');\n            }\n            if (window.location.href.indexOf('/search/') !== -1\n                || window.location.href.indexOf('/featured/') !== -1\n                || window.location.href.indexOf('nurseries') !== -1\n                || window.location.href.indexOf('/plants/genus/') !== -1\n                || window.location.href.indexOf('/plants/tags/') !== -1\n                || !isPDPPage()) {\n                if (path.length - 1 === path.lastIndexOf('/')) {\n                    history.push(`${path}?${searchString}`);\n                }\n                else {\n                    history.push(`${path}/?${searchString}`);\n                }\n                gtag('event', 'page_view');\n            }\n            else {\n                window.location.href = `/search/?${searchString}`;\n            }\n        };\n        this.paginationHandler = () => {\n            const elementTop = document.getElementById('windowTop');\n            if (elementTop)\n                elementTop.scrollIntoView();\n            gtag('event', 'page_view');\n        };\n        this.setFilter = (key, value, filters = []) => {\n            const { location, history, setNurseryName, setNurserySlug, origSearchTerm, spellingSuggestion, setOrigSearchTerm, } = this.props;\n            let searchString = '';\n            const re = new RegExp('([0-9]=[0-9])');\n            const filterValue = `${key}=${value}`;\n            const search = cleanSearch(location.search);\n            if (key && value) {\n                if (search.indexOf('filtered=True') === -1) {\n                    if (search.length > 0) {\n                        searchString = `${search}&${filterValue}&filtered=True`;\n                    }\n                    else {\n                        searchString = `${filterValue}&filtered=True`;\n                    }\n                }\n                else {\n                    let numFilters = 0;\n                    if (search.split('&').includes(filterValue)) {\n                        searchString = search.split('&').filter((filter) => filter !== filterValue).join('&');\n                        searchString = searchString.replace('&&', '&');\n                        const params = searchString.split('&');\n                        params.forEach((param) => {\n                            if (re.test(param)) {\n                                numFilters += 1;\n                            }\n                        });\n                        if (numFilters === 0) {\n                            searchString = searchString.replace(/[&?]*filtered=True/g, '');\n                        }\n                    }\n                    else if (search.length > 0) {\n                        searchString = `${search}&${filterValue}`;\n                    }\n                    else {\n                        searchString = filterValue;\n                    }\n                }\n            }\n            else if (!key && !value) {\n                const newString = search.replace('&filtered=True', '');\n                const params = newString.split('&');\n                const searchArray = params.map((param) => {\n                    if (!re.test(param)) {\n                        return param;\n                    }\n                    return null;\n                });\n                searchArray.forEach((param, i) => {\n                    if (param !== null) {\n                        if (i === 0) {\n                            searchString += param;\n                        }\n                        else {\n                            searchString += `&${param}`;\n                        }\n                    }\n                });\n            }\n            if (searchString.substr(1, 1) === '&') {\n                searchString = searchString.substr(1);\n            }\n            if (searchString.substr(-1) === '&') {\n                searchString = searchString.slice(0, -1);\n            }\n            let path = location.pathname;\n            if (filters && filters.length > 0) {\n                if (filters.find((x) => x.indexOf('Nursery') !== -1)\n                    && location.search.split('?')[1]) {\n                    setNurseryName('');\n                    setNurserySlug('');\n                    this.showNurseryHeader(false);\n                    location.pathname = '/search/';\n                    path = '';\n                }\n                if (filters.find((x) => x.indexOf('zone') !== -1)) {\n                    const i = searchString.indexOf('&zone') !== -1\n                        ? searchString.indexOf('&zone')\n                        : searchString.indexOf('zone');\n                    searchString = searchString.slice(0, i);\n                }\n            }\n            if (origSearchTerm !== ''\n                && spellingSuggestion.spelling_suggestion != null) {\n                searchString = searchString.replace(origSearchTerm, spellingSuggestion.spelling_suggestion);\n                setOrigSearchTerm('');\n            }\n            searchString = searchString.startsWith('&') ? searchString.slice(1) : searchString;\n            if (path.length - 1 === path.lastIndexOf('/')) {\n                history.push(`${path}?${searchString}`);\n            }\n            else {\n                history.push(`${path}/?${searchString}`);\n            }\n            gtag('event', 'page_view');\n        };\n        this.changeWrapperClass = () => {\n            this.setState((prevState) => ({\n                mobNavOpen: !prevState.mobNavOpen,\n            }));\n        };\n        this.updateNurseryHeader = (nurseryHeaderData) => {\n            const hasNavigation = Array.isArray(nurseryHeaderData.navigation)\n                && nurseryHeaderData.navigation.length > 0;\n            if (hasNavigation) {\n                this.setState({\n                    nurseryHeaderData,\n                    navigationData: nurseryHeaderData.navigation,\n                    navigationOverrideActive: true,\n                });\n                return;\n            }\n            this.setState({ nurseryHeaderData }, () => {\n                this.restoreMainNavigation();\n            });\n        };\n        this.showNurseryHeader = (showNurseryHeader) => {\n            this.setState({\n                showNurseryHeader,\n            });\n        };\n        this.enablePromoHeader = (promoHeight) => {\n            this.setState({ promoHeight });\n        };\n        this.state = {\n            zones: [\n                {\n                    description: '',\n                    order: 0,\n                    zone: '',\n                    color: '',\n                },\n            ],\n            activePromo: null,\n            commonDataLoaded: false,\n            cartOpen: false,\n            cartCount: 0,\n            mobNavOpen: false,\n            showNurseryHeader: false,\n            nurseryHeaderData: {\n                name: '',\n                navigation: null,\n                contributor_type: [],\n                location: '',\n                location_short: '',\n                email: '',\n                url: '',\n                phone: '',\n                avatar: '',\n                description: '',\n                shopify_handle: '',\n            },\n            checkout: {\n                shipping_zip: null,\n                total: null,\n                nurseries: [],\n            },\n            promoHeight: 0,\n            navigationData: null,\n            defaultNavigationData: null,\n            navigationOverrideActive: false,\n            heroes: [],\n        };\n    }\n    async componentDidMount() {\n        const { setActiveZone } = this.props;\n        const urlParams = new URLSearchParams(window.location.search);\n        const urlZone = urlParams.get('zone');\n        if (urlZone && urlZone !== 'null' && urlZone !== '') {\n            setActiveZone(urlZone);\n        }\n        if (window.location.pathname === '/' || !window.location.pathname.startsWith('/nurseries')) {\n            api.home.getNavigationData().then((navigationData) => this.setNavigationData(navigationData));\n        }\n        const element = document.getElementById('heroes');\n        if (element) {\n            this.setState({\n                heroes: JSON.parse(element.textContent),\n            });\n        }\n        const shopifyCartId = localStorage.getItem('shopifyCartId');\n        if (shopifyCartId) {\n            await shopifyAPI.request(fetchCart, { variables: { shopifyCartId } }).then(async ({ data }) => {\n                if (data.node === null) {\n                    // No response with this cart id, means that the checkout process was completed\n                    // (or the cart expired after a few days). Empty our local cart session then load the common data\n                    api.checkout.clearCart().then(() => {\n                        localStorage.setItem('shopifyCartId', '');\n                        localStorage.setItem('accessToken', '');\n                        localStorage.setItem('expiresAt', '');\n                        Promise.all([api.home.getCommonData(), api.checkout.getCartList()])\n                            .then((data) => {\n                            this.setCommonData(data[0]);\n                            this.setCartData(data[1]);\n                            this.setState({\n                                commonDataLoaded: true,\n                            });\n                        })\n                            .catch(ignoreRequestFailure);\n                    });\n                }\n                else {\n                    Promise.all([api.home.getCommonData(), api.checkout.getCartList()])\n                        .then((data) => {\n                        this.setCommonData(data[0]);\n                        this.setCartData(data[1]);\n                        this.setState({\n                            commonDataLoaded: true,\n                        });\n                    })\n                        .catch(ignoreRequestFailure);\n                }\n            });\n        }\n        else {\n            Promise.all([api.home.getCommonData(), api.checkout.getCartList()])\n                .then((data) => {\n                this.setCommonData(data[0]);\n                this.setCartData(data[1]);\n                this.setState({\n                    commonDataLoaded: true,\n                });\n            })\n                .catch(ignoreRequestFailure);\n        }\n    }\n    componentDidUpdate(prevProps) {\n        const { navigationOverrideActive } = this.state;\n        const { location } = this.props;\n        const locationChanged = prevProps.location.pathname !== location.pathname\n            || prevProps.location.search !== location.search;\n        if (locationChanged\n            && navigationOverrideActive\n            && !this.routeRequiresNurseryNavigation(location)) {\n            this.restoreMainNavigation();\n        }\n    }\n    render() {\n        var _a, _b;\n        const { mobNavOpen, showNurseryHeader, zones, activePromo, promoHeight, nurseryHeaderData, checkout, cartOpen, commonDataLoaded, navigationData, cartCount, heroes, } = this.state;\n        const { history, nurseryName, searchTerm, activeZone, } = this.props;\n        let nurseryHeaderVisible = false;\n        if (typeof window !== 'undefined') {\n            if ((_a = this.nurseryHeaderRef) === null || _a === void 0 ? void 0 : _a.current) {\n                if (window.getComputedStyle((_b = this.nurseryHeaderRef) === null || _b === void 0 ? void 0 : _b.current).display === 'block') {\n                    nurseryHeaderVisible = true;\n                }\n            }\n        }\n        if (commonDataLoaded) {\n            let searchSx = {\n                marginTop: '0px',\n            };\n            if (!showNurseryHeader || !nurseryHeaderVisible) {\n                searchSx = {\n                    marginTop: promoHeight ? `${promoHeight + 58}px` : '58px',\n                };\n            }\n            return (React.createElement(\"div\", { className: clsx('wrap', mobNavOpen && 'mobNavOpen') },\n                React.createElement(MainHeader, { activePromo: activePromo, openCartOnClick: this.openCart, navigation: navigationData, changeWrapperClass: this.changeWrapperClass, enablePromoHeader: this.enablePromoHeader, showNurseryHeader: showNurseryHeader, cartCount: cartCount }),\n                showNurseryHeader && (React.createElement(React.Fragment, null,\n                    React.createElement(NurseryHeader, { ref: this.nurseryHeaderRef, data: nurseryHeaderData, promoHeight: promoHeight || 0, photos: heroes }),\n                    React.createElement(NavigationList, { navigation: navigationData }))),\n                React.createElement(Box, { sx: [mainLayoutStyles.fullWidthContent, searchSx] },\n                    !window.location.pathname.startsWith('/cart') && (React.createElement(\"div\", { className: \"fullwidth_search\" },\n                        React.createElement(\"div\", { className: \"search_bar\" },\n                            React.createElement(Box, { sx: mainLayoutStyles.searchBarContainer },\n                                React.createElement(SearchBar, { history: history, searchTerm: searchTerm, setQueries: this.setQueries, zones: zones, zoneSetHandler: this.zoneSetHandler, activeZone: activeZone, nursery: nurseryName, showNurseryHeader: this.showNurseryHeader }))))),\n                    React.createElement(Switch, null,\n                        React.createElement(Route, { path: \"/\", exact: true, render: () => React.createElement(IndexPage, null) }),\n                        React.createElement(Route, { exact: true, path: \"/category/:primaryNav/:secondaryNav?/\", render: (props) => (React.createElement(NavigationLayout, { ...props })) }),\n                        React.createElement(Route, { path: \"/category/\", render: (props) => (React.createElement(CategoryLayout, { navigation: navigationData, ...props })) }),\n                        React.createElement(Route, { path: \"/search\", render: (props) => (React.createElement(SearchLayout, { paginationHandler: this.paginationHandler, setFilter: this.setFilter, addToShopifyCart: this.addToShopifyCart, ...props })) }),\n                        React.createElement(Route, { path: \"/featured/:featuredId/:featureSlug/\", render: (props) => (React.createElement(FeaturedLayout, { paginationHandler: this.paginationHandler, setFilter: this.setFilter, addToShopifyCart: this.addToShopifyCart, setQueries: this.setQueries, ...props })) }),\n                        React.createElement(Route, { path: \"/plants/genus/:genusName/\", render: (props) => (React.createElement(GenusLayout, { paginationHandler: this.paginationHandler, setFilter: this.setFilter, addToShopifyCart: this.addToShopifyCart, title: `${props.match.params.genusName.charAt(0).toUpperCase() + props.match.params.genusName.slice(1)} from multiple nurseries on Plant Lust`, ...props })) }),\n                        React.createElement(Route, { path: \"/plants/tags/:tagName/\", render: (props) => (React.createElement(TagsLayout, { paginationHandler: this.paginationHandler, setFilter: this.setFilter, addToShopifyCart: this.addToShopifyCart, setQueries: this.setQueries, title: `Plant Lust - Search in tag ${props.match.params.tagName.charAt(0).toUpperCase() + props.match.params.tagName.slice(1)}`, ...props })) }),\n                        React.createElement(Route, { path: \"/plants/:plantId(\\\\d+)/:plantName/\", render: (props) => (React.createElement(DetailLayout, { addToShopifyCart: this.addToShopifyCart, setNavigationData: this.setDetailsNavigationData, ...props })) }),\n                        React.createElement(Route, { path: \"/plants/:attributeSlug/:valueSlug/\", render: (props) => (React.createElement(AttributeLayout, { paginationHandler: this.paginationHandler, setFilter: this.setFilter, addToShopifyCart: this.addToShopifyCart, ...props })) }),\n                        React.createElement(Route, { path: \"/nurseries/:nursery/\", render: (props) => (React.createElement(NurseryLayout, { updateNurseryHeader: this.updateNurseryHeader, showNurseryHeader: this.showNurseryHeader, paginationHandler: this.paginationHandler, setFilter: this.setFilter, addToShopifyCart: this.addToShopifyCart, setQueries: this.setQueries, ...props })) }),\n                        React.createElement(Route, { path: \"/cart/\", render: (props) => (React.createElement(Checkout, { checkout: checkout, count: cartCount, changeQuantity: this.changeQuantity, ...props })) }))),\n                React.createElement(Footer, null),\n                React.createElement(ShopifyCart, { checkout: checkout, changeQuantity: this.changeQuantity, count: cartCount, openCart: cartOpen, closeCart: this.closeCart }),\n                cartCount > 0 && window.location.href.indexOf('/cart/') === -1 && (React.createElement(CustomButton, { onClick: this.openCart, buttonText: cartCount, buttonClassSX: [mainLayoutStyles.toggleButton, mainLayoutStyles.toggleButtonIcon], endIcon: React.createElement(ShopifyCartIcon, null) }))));\n        }\n        return React.createElement(Loader, null);\n    }\n}\nexport default (withRouter(withNurseryContext(withSearchContext(MainLayout))));\n","/* eslint-disable no-underscore-dangle */\nimport React, { Suspense } from 'react';\nimport { createRoot } from 'react-dom/client';\nimport { BrowserRouter } from 'react-router-dom';\nimport { StyledEngineProvider, ThemeProvider } from '@mui/material/styles';\nimport * as Sentry from '@sentry/browser';\nimport SentryConfig from './sentryconfig';\n// import CssBaseline from '@mui/material/CssBaseline';\nimport theme from './themes/defaultTheme';\nimport Loader from './components/Loader';\nimport MainLayout from './Routes/MainLayout';\nimport { NurseryProvider } from './contexts/NurseryContext';\nimport { SearchProvider } from './contexts/SearchContext';\nconst environment = process.env.NODE_ENV === 'production'\n    ? 'Frontend-ReactJS-Production'\n    : 'Frontend-ReactJS-Development';\nSentry.init(SentryConfig(environment));\nconst Application = () => (React.createElement(StyledEngineProvider, { injectFirst: true },\n    React.createElement(ThemeProvider, { theme: theme },\n        React.createElement(BrowserRouter, null,\n            React.createElement(Suspense, { fallback: React.createElement(Loader, null) },\n                React.createElement(NurseryProvider, null,\n                    React.createElement(SearchProvider, null,\n                        React.createElement(MainLayout, null))))))));\n// TODO: configure Redux store with Sagas\nconst container = document.getElementById('app');\n// if (root.hasChildNodes() === true) {\n//   // If it's an SSR, we use hydrate to get fast page loads by just\n//   // attaching event listeners after the initial render\n// Loadable.preloadReady().then(() => {\n//   hydrate(<Application />, root);\n// });\n// } else {\n// If we're not running on the server, just render like normal\nconst root = createRoot(container); // createRoot(container!) if you use TypeScript\nroot.render(React.createElement(Application, null));\n// }\n// render(\n//   <BrowserRouter>\n//     <MainLayout />\n//   </BrowserRouter>,\n//   document.getElementById('app'),\n// );\n","import React, { createContext, useContext, useState, } from 'react';\nconst SearchContext = createContext(undefined);\n// Hook for functional components\nexport const useSearchContext = () => {\n    const context = useContext(SearchContext);\n    if (!context) {\n        throw new Error('useSearchContext must be used within SearchProvider');\n    }\n    return context;\n};\n// HOC wrapper for class components\nexport const withSearchContext = (Component) => {\n    const WrappedComponent = React.forwardRef((props, ref) => {\n        const searchContext = useSearchContext();\n        return React.createElement(Component, { ...props, ...searchContext, ref: ref });\n    });\n    WrappedComponent.displayName = `withSearchContext(${Component.displayName || Component.name})`;\n    return WrappedComponent;\n};\n// Provider component\nexport const SearchProvider = ({ children }) => {\n    const [searchTerm, setSearchTerm] = useState('');\n    const [origSearchTerm, setOrigSearchTerm] = useState('');\n    const [spellingSuggestion, setSpellingSuggestion] = useState({ spelling_suggestion: '', url: '' });\n    const [activeZone, setActiveZone] = useState('0');\n    const [filteredAttrs, setFilteredAttrs] = useState([]);\n    const [filteredAttrValues, setFilteredAttrValues] = useState({});\n    return (React.createElement(SearchContext.Provider, { value: {\n            searchTerm,\n            origSearchTerm,\n            spellingSuggestion,\n            activeZone,\n            filteredAttrs,\n            filteredAttrValues,\n            setSearchTerm,\n            setOrigSearchTerm,\n            setSpellingSuggestion,\n            setActiveZone,\n            setFilteredAttrs,\n            setFilteredAttrValues,\n        } }, children));\n};\n"],"names":["QuantityPicker","props","plant","changeQuantity","quantity","setQuantity","changeLoading","setChangeLoading","updateQuantity","async","e","parseInt","target","value","changeQuantityOnClick","operation","newQuantity","inputButtonRootSX","padding","backgroundColor","fill","sx","width","display","border","borderColor","borderRadius","size","onClick","disabled","shopify_quantity","loaderAttributes","thickness","toString","borderLeft","theme","palette","secondary","dark","borderRight","minWidth","height","textAlign","MozAppearance","onBlur","onChange","onKeyDown","key","currentTarget","type","disableUnderline","inputProps","min","pattern","A","styles","loaderRoot","color","main","spacing","CustomLoader","loaderSx","other","NoPlantImage","viewBox","fillRule","clipRule","d","RemoveItem","BASE_URL","replace","defaultHeaders","Accept","handleResponse","response","ok","json","data","catch","error","status","statusText","Promise","reject","handled","WeakSet","reportUnexpected","report","add","markHandled","isAbort","DOMException","name","isNetworkFailure","TypeError","isExpectedFailure","ignoreRequestFailure","has","get","url","options","reportErrors","fetch","headers","then","post","csrfToken","FormData","body","JSON","stringify","method","verifyCsrfExists","home","getIndexData","getCommonData","getNavigationData","generalSearch","slug","getAny","nursery","updateSearchResult","query","nurserySearch","featured","getFeatured","featureId","getPlants","plantName","requestPlants","search","autocomplete","Date","getTime","checkout","addItems","getCartList","params","clearCart","newsLetter","subscribe","plantInfoWrapper","position","paddingTop","paddingBottom","plantInfoWrapperItems","plantImage","plantInfo","flexDirection","alignItems","paddingLeft","breakpoints","down","justifyContent","plantInfoCart","primary","fontSize","fontWeight","textTransform","lineHeight","letterSpacing","plantSize","blueColors","removeButton","marginTop","quantityPrice","quantityPriceCart","plantPrice","plantPriceCart","PdpEmail","constructor","super","this","isNumeric","n","Number","isNaN","isFinite","clearErrors","email","userLocation","document","forms","namedItem","classList","remove","getElementById","innerHTML","clearForm","setState","comment","location","submitForm","preventDefault","newsletterOptIn","state","createElement","checkValidity","loadButton","res","success","message","userSubscribed","confirmOpen","submitError","updateInput","val","newState","closeModal","confirmModal","secondMessages","open","mainMessage","close","sign","shouldComponentUpdate","nextProps","nextState","render","plantId","isNotifyModal","className","onSubmit","readOnly","htmlFor","id","maxLength","src","alt","checked","rel","href","childrenType","_a","_b","isSecondaryNavPage","secondaryNav","mapData","slice","tertiary","LinkCard","item","link","promo_hero","imageSrc","promo_title","title","cardTitle","menu_id","menuId","modifiedLink","startsWith","includes","getModifiedLink","navItem","navItemContainer","navItemImageContainer","component","navItemImage","navItemTitle","length","navSectionWrapper","variant","navTitle","navItemsContainer","map","navItemWrapper","navButton","classes","root","cursor","AvatarImage","customClassName","sqaure","children","mainLayoutStyles","searchBarContainer","margin","up","searchBar","borderBottom","contrastText","maxWidth","toggleButton","right","top","light","background","default","span","toggleButtonIcon","marginRight","marginLeft","fullWidthContent","divider","marginBottom","searchFiltersContainer","CartPlant","shopifyCart","goToPlant","removeItem","changeNurseryQuantity","container","direction","quantity_been_reduced","wrap","shopify_title","photo","buttonClassSX","buttonText","startIcon","price","isSecondaryNav","imgSrc","long_nav_title","longTitle","promo_credit","credit","promoTitle","promo_credit_link","promoCreditLink","imageHeight","setImageHeight","useState","isSmallScreen","window","innerWidth","screen_med_xs","useEffect","leftDiv","offsetHeight","navEmptyContainer","navContainerWithImage","style","imgContainer","navEmptyImage","navTextContainer","navTextContainerWithImage","shortTitle","navigateNext","navigateNextWithImage","NurseryContext","createContext","undefined","useNurseryContext","context","useContext","Error","withNurseryContext","Component","WrappedComponent","ref","nurseryContext","displayName","NurseryProvider","nurseryName","setNurseryName","nurserySlug","setNurserySlug","isNursery","Provider","CSRF_TOKEN","INDEX_DATA","COMMON_DATA","SEARCH","NURSURY","NURSERY_SEARCH","PLANTS","FEATURE","REQUEST_PLANT","AUTO_SEARCH","NEWSLETTER_SUBSCRIBE","NAVIGATION_DATA","ADD_ITEMS","CART_CONTENTS","CLEAR_CART","SHOPIFY_PUBLIC_ACCESS_TOKEN","SHOPIFY_STORE_DOMAIN","SHOPIFY_VERSION","mainWrapper","containerGrid","between","promotionsContainer","flexWrap","zIndex","promotionLink","backgroundRepeat","backgroundSize","textDecoration","promotionFirst","minHeight","maxHeight","overflow","promotionRest","flexBasis","promotionTitle","bottom","transform","boxSizing","promotionTitleFirst","featuredPlantsWrapper","browsePlantsText","featuredPlantsContainer","featuredPlant","featuredPlantLink","borderLeftColor","orangeColors","featuredPlantImage","float","tableDiv","cellDiv","verticalAlign","contentDiv","arrow","greyColors","borderTop","categoryButtonContainer","promotionImage","objectFit","methods","setShippingPrice","selectedNurseries","shippingMethods","setShippingMethods","indexValue","setIndexValue","prevIndex","setPrevIndex","setValue","service_name","total_price","pt","event","totalPrice","find","indexOf","index","serviceLabel","control","disableRipple","label","whiteSpace","storeDomain","apiVersion","publicAccessToken","nurseryItemWrapper","nurseryInfo","plantPreviewImage","newGreyColors","nurseryInfoHeader","nurseryShppingInfo","nurserySubtotal","nurseryTotal","nurseryTotalPrice","nurseryItemWrapperCart","CartNursery","updateNursery","updatedNursery","selectedIndex","shippingPrice","shippingLoadingOverride","newPlant","plantURL","getDerivedStateFromProps","prevState","shippingLoading","componentDidUpdate","prevProps","nurseryChanged","shipping_options","showTotals","shopify_handle","avatar","shipping_info_long","shipping_info","items","subtotal","total","navigationWrapper","mainNavItems","secondaryNavItemsPadded","alignContent","fontFamily","navPageTitle","navPageDescription","navPageWrapper","fetchCart","cartCreate","getCustomer","shopifyLogin","renewCustomerToken","deleteCustomerToken","buttonRoot","opacity","CustomButton","buttonLoading","disableFocusRipple","Array","isArray","idCounter","uniqueId","prefix","getCookie","cookieValue","cookie","cookies","split","i","trim","substring","decodeURIComponent","screen_xs","screen_md","screen_lg","validateEmail","match","numberFormat","Intl","NumberFormat","maximumFractionDigits","minimumFractionDigits","format","cleanSearch","searchString","newString","hashArr","forEach","splice","getUrlQuery","urlQuerystring","Object","fromEntries","URLSearchParams","names","attribute","attribute_slug","val_slug","tags","raw","nurseries","genus","all_plants","resetParam","queryStringToReset","param","newArray","push","newSearchPath","path","number","lastIndexOf","getQuery","queryType","searchParams","cleanQuery","encodeURIComponent","cleanQueryType","setMetaPropData","property","element","querySelector","content","newElement","setAttribute","getElementsByTagName","appendChild","setMetaNameData","tempElement","textContent","innerText","isPDPPage","numberPattern","pathname","urlType","test","ConfirmationBackdrop","bgcolor","p","timeout","enter","exit","unmountOnExit","align","mb","stopPropagation","disableElevation","disableTouchRipple","focusRipple","py","px","itemAvailableRoot","itemAvailableText","notifyMeText","ItemAvailability","overly","setOverly","handleClick","prev","emailOverlay","role","tabIndex","plant_id","values","xs","xxsMin","xsMin","xsMedMin","xsMedMax","xsMax","sm","mdMin","md","mdMedMin","mdMedMax","mdMax","lg","xl","step","typography","redColors","paper","components","MuiCssBaseline","styleOverrides","Loader","Box","Avatar","searchAutoComplete","overflowY","left","borderBottomLeftRadius","borderBottomRightRadius","autoCompleteItemWrapper","searchQueryType","searchQueryName","AutoCompleteItem","queryLabel","isFirst","isSelected","submitQuery","handleAutocompleteItemSelect","ListItemButton","onMouseDown","onMouseOver","selected","disableGutters","dense","Typography","queryLabelString","newQuery","toLowerCase","matchIndex","regEx","RegExp","partialMatch","substr","highlightQuery","AutoComplete","acData","handleSubmit","keys","first","suggestions","Grid","List","popper","featuredPage","zones","activeZone","zoneSetHandler","selectedZone","setSelectedZone","selectedZoneId","setSelectedZoneId","activeDescription","zone","description","ddActive","setddActive","anchorRef","handleClose","current","contains","prevddActive","zoneSelected","zoneId","changedZone","focus","Button","prevOpen","endIcon","ArrowDropUp","ArrowDropDown","m","ml","mt","mr","Popper","anchorEl","placement","transition","disablePortal","TransitionProps","Grow","transformOrigin","Paper","ClickAwayListener","onClickAway","disablePadding","ListItemText","clearNurserySearch","passWidth","measureRef","useCallback","Math","round","getBoundingClientRect","icn_search_clear","SvgIcon","cx","cy","r","x","y","icn_search","abortController","computeDerivedInputValue","searchTerm","nextSearchTerm","matchesSlug","matchesNurseryName","SearchBar","textInput","submitButton","collapse","acActive","handleInputChange","newValue","inputValue","clearTimeout","delay","setTimeout","triggerAutocomplete","abort","AbortController","api","signal","clearSearch","setQueries","setOrigSearchTerm","currentQuery","searchWithoutRaw","slugForReset","nextQuery","preventScroll","passQuery","passQueryType","selectedData","showNurseryHeader","history","rawSearchParams","rawQuery","rawValue","nextPath","getAPIData","handleAutocompleteDismiss","handleInputKeyDown","pillWidth","lastSyncedSearchTerm","lastSyncedNurseryName","lastSyncedNurserySlug","addEventListener","nextNurseryName","nextNurserySlug","derivedInputValue","stateUpdate","componentDidMount","componentWillUnmount","removeEventListener","autoCompleteEl","pill","indent","inputClass","wrapperClass","autoComplete","spellCheck","autoCapitalize","autoCorrect","placeholder","IndexPageLoading","my","mx","Skeleton","pageLoading","setPageLoading","promotions","setPromotions","plantTypes","setPlantTypes","navigation","setNavigation","indexDataEl","indexData","parse","plant_types","promotion","short_title","promotion_large","promotion_medium","Link","header_text","NavigationSection","plant_type_title","plant_type_url","plant_type_thumbnail","ShopifyCartIcon","navWrapper","navWrapperHidden","nurseryHeader","nurseryAvatar","nurseryTypographyH1","nurseryHeaderWrapper","paddingRight","nurseryHeaderGroup","nurseryDetails","nurseryHeaderTypeList","nurseryHeaderDescription","nurseryHeaderInfoList","nurseryHeaderImages","backgroundPosition","Location","Website","promoHeight","photos","contributor_type","contributorType","shopifyHandle","location_short","locationShort","website","phone","detailOpen","setDetailOpen","toggleDiv","types","firstLetter","charAt","nurseryUrl","locationEl","emailEl","websiteEl","phoneEl","images","avatarEl","underline","gmapsUrl","phoneLink","detailClass","fullWidth","KeyboardArrowUp","KeyboardArrowDown","NavigationList","navigationWrapperSX","ListItem","pl","pr","pb","slotProps","noWrap","bold","WebkitUserSelect","MozUserSelect","msUserSelect","userSelect","Divider","fullCart","cartTitle","closeButton","cartItems","cartFooter","boxShadow","shippingCalc","checkoutButton","emptyCartText","count","openCart","closeCart","menuOpen","setMenuOpen","isMobile","navigator","userAgent","toggleMenu","footer","SwipeableDrawer","anchor","elevation","ModalProps","hideBackdrop","disableScrollLock","disableRestoreFocus","disableEnforceFocus","disableAutoFocus","BackdropProps","invisible","onClose","onOpen","transitionDuration","swipeAreaWidth","disableBackdropTransition","disableDiscovery","IconButton","PromoHeader","activePromo","enablePromoHeader","promoHeader","hasActivePromo","handleResize","onResize","cta_url","promo_text","MobileNavigation","mobileOpen","navigationLinks","setMobileOpen","navMobileOpen","setNavMbileOpen","listItemSX","primaryTypographySX","Collapse","in","handleNavItemClick","onNavLinkClick","text","HeaderSX","flexGrow","toolBarRegular","toolBarRegularCart","linksContainer","MainHeader","changeWrapperClass","openCartOnClick","cartCount","notCartPage","handleCartClick","AppBar","Toolbar","newMobileOpen","Close","Menu","textIndent","footerWrapper","footerContainer","newsletterSignup","mailingListTypography","mailingListText","signupForm","socialLinkGrid","emailInputContainer","emailInputRoot","emailInput","WebkitBoxShadow","WebkitTextFillColor","emailInputInvalid","emailLabel","subscribeButton","subscribeButtonDoneIcon","socialLinksContainer","footerNavigation","gridTemplateColumns","gridColumnGap","footerNavigationTypography","footerNavigationLink","copyRightText","Facebook","Instagram","Pinterest","Footer","currentYear","getFullYear","emailValue","setEmailValue","emailError","setEmailError","emailErrorText","setEmailErrorText","setConfirmOpen","setUserSubscribed","activePanel","setActivePanel","footerPanels","links","togglePanel","panel","panelName","noValidate","TextField","required","helperText","FormHelperTextProps","InputLabelProps","InputProps","input","Done","innerPanel","SearchLayout","fallback","FeaturedLayout","DetailLayout","NurseryLayout","Checkout","GenusLayout","TagsLayout","AttributeLayout","NavigationLayout","CategoryLayout","MainLayout","nurseryHeaderRef","routeRequiresNurseryNavigation","plantDetailMatch","exact","Boolean","setCommonData","commonData","promo_link","setNavigationData","navigationData","navigationOverrideActive","defaultNavigationData","setDetailsNavigationData","normalizedNavigation","applyNavigationOverride","restoreMainNavigation","navigationResponse","setCartData","cart","qty","newCheckCart","newNursery","addToShopifyCart","increase_quantity","djangoPk","lineItems","variant_id","cartOpen","modifyNursery","includeShipping","zipCode","province","set_quantity","cartList","shippedCheckCart","scrollToSearch","nurseryHeaderVisible","getComputedStyle","scrollTo","rawSearch","setSearchTerm","setActiveZone","nextIsNursery","gtag","search_term","clearedZone","nextActiveZone","originType","derivedSlug","join","origSearchTerm","spellingSuggestion","spelling_suggestion","paginationHandler","elementTop","scrollIntoView","setFilter","filters","re","filterValue","numFilters","filter","mobNavOpen","updateNurseryHeader","nurseryHeaderData","order","commonDataLoaded","shipping_zip","heroes","urlZone","shopifyCartId","localStorage","getItem","shopifyAPI","request","variables","node","setItem","all","searchSx","genusName","toUpperCase","tagName","dsn","environment","tracesSampleRate","ignoreErrors","denyUrls","StyledEngineProvider","injectFirst","ThemeProvider","Suspense","SearchContext","useSearchContext","withSearchContext","searchContext","SearchProvider","setSpellingSuggestion","filteredAttrs","setFilteredAttrs","filteredAttrValues","setFilteredAttrValues"],"mappings":";;0LAOe,SAASA,EAAeC,GACnC,MAAM,MAAEC,EAAK,eAAEC,GAAmBF,GAC3BG,EAAUC,GAAe,WAAeH,EAAME,WAC9CE,EAAeC,GAAoB,YAAe,GACzD,aAAgB,KACZF,EAAYH,EAAME,SAAS,GAC5B,CAACF,EAAME,WACV,MAAMI,EAAiBC,MAAOC,IAC1BR,EAAME,SAAWO,SAASD,EAAEE,OAAOC,MAAO,KAAOT,EAC7CA,GAAY,IACZG,GAAiB,SACXJ,EAAeD,GACE,IAAnBA,EAAME,UACNG,GAAiB,GACzB,EAcEO,EAAwBL,MAAOM,IACjC,IAAIC,EAAc,EACA,QAAdD,EACAC,EAAcZ,EAAW,EAEN,UAAdW,IAEDC,EADa,IAAbZ,EACc,EACTA,EAAW,EACF,EAEAA,EAAW,GAEjCC,EAAYW,GACZd,EAAME,SAAWY,EACjBT,GAAiB,SACXJ,EAAeD,GACjBc,EAAc,GACdT,GAAiB,EAAM,EAEzBU,EAAoB,CACtBC,QAAS,IACT,UAAW,CACPC,gBAAiB,eAErB,QAAS,CACLC,KAAM,iBAGd,OAAQ,gBAAoB,IAAK,CAAEC,GAAI,CAC/BC,MAAO,GACPC,QAAS,cACTC,OAAQ,EACRC,YAAa,iBACbC,aAAc,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