{"version":3,"file":"dist/search_layout.lazy-loaded.394fc9d503523bab5803.js","sources":["webpack://plantlust-git/./reactTS/themes/icons/attributes/dappled_shade.tsx","webpack://plantlust-git/./reactTS/components/PlantDetail/pdpShopOnline.tsx","webpack://plantlust-git/./reactTS/components/PlantDetail/pdpPartners.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/sun.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/standing_water.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/regular.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/attr_5.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/attr_1.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/drought_tolerant.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/occasional.tsx","webpack://plantlust-git/./reactTS/components/Search/SearchResultsItem.tsx","webpack://plantlust-git/./node_modules/@mui/material/esm/Pagination/paginationClasses.js","webpack://plantlust-git/./node_modules/@mui/material/esm/PaginationItem/paginationItemClasses.js","webpack://plantlust-git/./node_modules/@mui/material/esm/internal/svg-icons/FirstPage.js","webpack://plantlust-git/./node_modules/@mui/material/esm/internal/svg-icons/LastPage.js","webpack://plantlust-git/./node_modules/@mui/material/esm/internal/svg-icons/NavigateBefore.js","webpack://plantlust-git/./node_modules/@mui/material/esm/internal/svg-icons/NavigateNext.js","webpack://plantlust-git/./node_modules/@mui/material/esm/PaginationItem/PaginationItem.js","webpack://plantlust-git/./node_modules/@mui/material/esm/Pagination/Pagination.js","webpack://plantlust-git/./node_modules/@mui/material/esm/usePagination/usePagination.js","webpack://plantlust-git/./reactTS/components/PaginationList/PaginationList.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/attr_2.tsx","webpack://plantlust-git/./reactTS/components/Search/SearchResultsEmpty.tsx","webpack://plantlust-git/./reactTS/components/Search/SearchFiltersItem.tsx","webpack://plantlust-git/./reactTS/components/Search/SearchFiltersLoading.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/icn_gear_filter.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/icn_clear_filter.tsx","webpack://plantlust-git/./reactTS/components/Search/SearchFilters.tsx","webpack://plantlust-git/./node_modules/@mui/material/esm/internal/svg-icons/MoreHoriz.js","webpack://plantlust-git/./node_modules/@mui/material/esm/Breadcrumbs/BreadcrumbCollapsed.js","webpack://plantlust-git/./node_modules/@mui/material/esm/Breadcrumbs/breadcrumbsClasses.js","webpack://plantlust-git/./node_modules/@mui/material/esm/Breadcrumbs/Breadcrumbs.js","webpack://plantlust-git/./reactTS/components/CommonComponents/CustomBreadCrumbs.tsx","webpack://plantlust-git/./reactTS/components/PlantDetail/pdpQuantityCounter.tsx","webpack://plantlust-git/./reactTS/Routes/SearchLayout.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/low.tsx","webpack://plantlust-git/./reactTS/components/NotifyButton/index.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/shade.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/plant_size.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/attr_4.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/dry_in_winter.tsx","webpack://plantlust-git/./reactTS/components/Search/SearchResults.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/dry_when_dormant.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/attr_14.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/high.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/attr_7.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/bright_shade.tsx","webpack://plantlust-git/./node_modules/@mui/material/esm/ListItemIcon/listItemIconClasses.js","webpack://plantlust-git/./node_modules/@mui/material/esm/MenuItem/menuItemClasses.js","webpack://plantlust-git/./node_modules/@mui/material/esm/MenuItem/MenuItem.js","webpack://plantlust-git/./reactTS/themes/icons/attributes/zones.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/attr_9.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/attr_6.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/dry_in_summer.tsx","webpack://plantlust-git/./reactTS/components/Search/SearchResultsItemLoading.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/attr_16.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/attr_3.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/mostly_shade.tsx","webpack://plantlust-git/./node_modules/@mui/icons-material/esm/OpenInNew.js","webpack://plantlust-git/./reactTS/themes/icons/attributes/index.tsx","webpack://plantlust-git/./reactTS/components/Shopify/ShopifyBuy.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/attr_8.tsx","webpack://plantlust-git/./reactTS/components/Shopify/ShopifyMoreOptions.tsx","webpack://plantlust-git/./reactTS/components/CommonComponents/Disclaimer.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/mostly_sun.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/even_moisture.tsx","webpack://plantlust-git/./reactTS/themes/icons/attributes/attr_15.tsx"],"sourceRoot":"","sourcesContent":["/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function dappled_shade(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 65 65\" },\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"33.1\", cy: \"3.3\", r: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_1_\", transform: \"matrix(0.866 -0.5 0.5 0.866 -1.1101 10.2209)\", cx: \"18.5\", cy: \"7.2\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_2_\", transform: \"matrix(0.5 -0.866 0.866 0.5 -11.4934 15.6537)\", cx: \"7.8\", cy: \"17.8\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval_3_\", cx: \"3.8\", cy: \"32.3\", r: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_4_\", transform: \"matrix(0.866 -0.5 0.5 0.866 -22.4038 10.1307)\", cx: \"7.7\", cy: \"46.9\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_5_\", transform: \"matrix(0.5 -0.866 0.866 0.5 -40.7178 44.6251)\", cx: \"18.3\", cy: \"57.6\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval_6_\", cx: \"32.8\", cy: \"61.6\", r: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_7_\", transform: \"matrix(0.866 -0.5 0.5 0.866 -22.4941 31.4244)\", cx: \"47.4\", cy: \"57.7\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_8_\", transform: \"matrix(0.5 -0.866 0.866 0.5 -11.7464 73.8495)\", cx: \"58.1\", cy: \"47.1\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval_9_\", cx: \"62.1\", cy: \"32.6\", r: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_10_\", transform: \"matrix(0.866 -0.5 0.5 0.866 -1.2004 31.5147)\", cx: \"58.2\", cy: \"18\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_11_\", transform: \"matrix(0.5 -0.866 0.866 0.5 17.4781 44.8781)\", cx: \"47.6\", cy: \"7.3\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"path\", { id: \"Shape\", d: \"M55.2,30.3c-1.1-11-10.2-19.7-21.4-20.2c-0.3,0-0.6,0-0.8,0c-4.9,0-9.5,1.6-13.2,4.3c-1,0.7-1.9,1.5-2.8,2.4\\n    c-1.3,1.3-2.4,2.8-3.3,4.3c-0.5,0.8-0.9,1.6-1.2,2.4c-0.6,1.4-1.1,2.8-1.4,4.3c-0.2,0.8-0.3,1.6-0.4,2.4c-0.1,0.7-0.1,1.4-0.1,2.2\\n    c0,0.8,0,1.5,0.1,2.2C11.8,45.9,21.4,54.8,33,54.8c0.3,0,0.6,0,0.8,0c4.6-0.2,8.8-1.7,12.3-4.3c1-0.7,1.9-1.5,2.8-2.4\\n    c1.3-1.3,2.4-2.8,3.3-4.3c0.5-0.8,0.9-1.6,1.2-2.4c0.6-1.4,1.1-2.8,1.4-4.3c0.2-0.8,0.3-1.6,0.4-2.4c0.1-0.7,0.1-1.4,0.1-2.2\\n    S55.3,31,55.2,30.3z M50.4,37H33.8v4.3h14.8c-0.5,0.8-1,1.7-1.6,2.4H33.8V48h8.1c-2.6,1.5-5.7,2.4-9,2.4\\n    c-9.2,0-16.8-6.9-17.9-15.9h35.8C50.7,35.4,50.6,36.2,50.4,37z M15,30.3c0.1-0.8,0.3-1.6,0.5-2.4h18.3v-4.3H17.3\\n    c0.5-0.8,1-1.7,1.6-2.4h14.9v-4.3H24c2.6-1.5,5.7-2.4,9-2.4c9.2,0,16.8,6.9,17.9,15.9H15V30.3z\" })));\n}\n","/* eslint-disable no-nested-ternary */\n/* eslint-disable jsx-a11y/interactive-supports-focus */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport React from 'react';\nimport OpenInNew from '@mui/icons-material/OpenInNew';\nimport PdpQuantityCounter from './pdpQuantityCounter';\nconst PdpShopOnline = ({ variants, djangoPk, affiliatedLinks, onAddToShopifyCart, }) => {\n    const VariantCard = ({ variant }) => {\n        const { price, nursery, } = variant;\n        const { shipping_info: shippingInfo, name } = nursery || {};\n        const quantity = 'inventory_quantity' in variant\n            ? variant.inventory_quantity\n            : variant.quantity;\n        const title = 'inventory_quantity' in variant\n            ? variant.title\n            : variant.size;\n        const updatedName = name ? `${name}:` : '';\n        const quantityText = quantity === 0\n            ? (name || '')\n            : quantity < 30\n                ? `${updatedName} Fewer than ${quantity}`\n                : `${updatedName} ${quantity} available`;\n        return (React.createElement(\"div\", { className: \"modal_variant_container\" },\n            React.createElement(\"div\", { className: \"modal_shopify_variant_card_wrapper\" },\n                React.createElement(\"div\", { className: \"modal_shopify_variant_card\" },\n                    React.createElement(\"p\", { className: \"quantity_text\" }, quantityText),\n                    (title || price) && (React.createElement(\"p\", { className: \"title_price\" },\n                        React.createElement(\"span\", null, title),\n                        ' ',\n                        \"|\",\n                        ' ',\n                        React.createElement(\"strong\", null, \"$\"),\n                        React.createElement(\"strong\", null, price))),\n                    React.createElement(\"p\", { className: \"shipping_info\" }, shippingInfo),\n                    !('handle' in variant) ? (React.createElement(\"a\", { target: \"_blank\", rel: \"noopener nofollow sponsored\", href: variant.sale_url },\n                        React.createElement(\"button\", { style: {\n                                width: '100%', display: 'flex', justifyContent: 'center', alignItems: 'center', marginTop: 16,\n                            }, type: \"button\", className: \"btn primary \", onClick: () => gtag('event', 'buy_from_nursery') },\n                            \"Buy Direct from Nursery\",\n                            ' ',\n                            React.createElement(OpenInNew, { sx: { padding: 0, marginLeft: 2 } })))) : (React.createElement(PdpQuantityCounter, { selectedVariant: variant, djangoPk: djangoPk, onAddToShopifyCart: onAddToShopifyCart, width: { counter: '42%', btn: '42%' } }))))));\n    };\n    return (React.createElement(\"div\", { className: \"pdp_shop_online\" },\n        React.createElement(\"h2\", null, \"Shop online\"),\n        React.createElement(\"div\", { className: \"modal_variants_wrapper\" },\n            (variants === null || variants === void 0 ? void 0 : variants.length) > 0 && (variants === null || variants === void 0 ? void 0 : variants.map((variant) => (React.createElement(VariantCard, { key: variant.id, variant: variant })))),\n            (affiliatedLinks === null || affiliatedLinks === void 0 ? void 0 : affiliatedLinks.length) > 0 && (affiliatedLinks === null || affiliatedLinks === void 0 ? void 0 : affiliatedLinks.map((link) => (React.createElement(VariantCard, { key: link.id, variant: link })))))));\n};\nexport default PdpShopOnline;\n","import React from 'react';\nimport OpenInNew from '@mui/icons-material/OpenInNew';\nimport { uniqueId } from '../../utils/helpers';\nconst PdpPartners = ({ data }) => {\n    const wrapStyle = {\n        overflowWrap: 'break-word',\n        wordBreak: 'break-word',\n    };\n    let content = null;\n    if (data) {\n        if (data.length > 0) {\n            const partners = data.map((partner) => {\n                const services = partner.services.map((service, i) => {\n                    if (partner.services.length === i + 1) {\n                        return service;\n                    }\n                    return `${service} + `;\n                });\n                return (React.createElement(\"div\", { className: \"pdp_partner\", key: uniqueId(partner.name) },\n                    React.createElement(\"div\", { className: \"partner_inner\" },\n                        React.createElement(\"div\", { className: \"partner_data\" },\n                            React.createElement(\"h3\", null,\n                                React.createElement(\"a\", { href: `/nurseries/${partner.slug}/` }, partner.name)),\n                            React.createElement(\"p\", { className: \"partner_services\" }, services),\n                            React.createElement(\"p\", null, partner.address),\n                            React.createElement(\"p\", null,\n                                partner.phone,\n                                partner.email && (React.createElement(\"span\", { style: wrapStyle },\n                                    React.createElement(\"a\", { href: `mailto:${partner.email}` }, partner.email)))),\n                            React.createElement(\"p\", null, partner.description && (React.createElement(\"span\", { style: wrapStyle }, partner.description)))),\n                        React.createElement(\"div\", null,\n                            React.createElement(\"div\", { className: \"available_btn\" }, (partner.shop_url || partner.url) && (React.createElement(\"a\", { href: partner.shop_url || partner.url, target: \"_blank\", rel: \"noopener noreferrer\", className: \"btn primary inverted\" },\n                                \"Check Availability\",\n                                ' ',\n                                React.createElement(OpenInNew, { sx: { padding: 0, marginLeft: 2 } })))),\n                            React.createElement(\"div\", { className: \"catalog_btn\" }, partner.slug && (React.createElement(\"a\", { href: `/nurseries/${partner.slug}`, className: \"btn primary inverted\" }, \"Browse Catalog\")))))));\n            });\n            content = (React.createElement(\"div\", { className: \"pdp_partners\" },\n                React.createElement(\"div\", { className: \"pdp_partners_container\" },\n                    React.createElement(\"h2\", null, \"Historical listings\"),\n                    React.createElement(\"p\", { className: \"subtitle\" }, \"We have great partners who've featured this item in the past. Check with them directly for current inventory.\"),\n                    React.createElement(\"div\", { className: \"pdp_partner_list\" }, partners))));\n        }\n        else {\n            content = (React.createElement(\"div\", { className: \"pdp_partners\" },\n                React.createElement(\"div\", { className: \"pdp_partners_container\" },\n                    React.createElement(\"h2\", null, \"Historical listings\"),\n                    React.createElement(\"p\", { className: \"subtitle space-below\" }, \"We don't currently have any partners growing this plant.\"))));\n        }\n    }\n    return content;\n};\nexport default PdpPartners;\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function sun(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 64 65\" },\n        React.createElement(\"path\", { d: \"M32,55.2 C19.7,55.2 9.6,45.2 9.6,32.8 C9.6,20.5 19.6,10.4 32,10.4 C44.4,10.4 54.4,20.4 54.4,32.8 C54.4,45.2 44.4,55.2 32,55.2 Z M32,14.8 C22.1,14.8 14,22.9 14,32.8 C14,42.7 22.1,50.8 32,50.8 C41.9,50.8 50,42.7 50,32.8 C50.1,22.9 42,14.8 32,14.8 Z\", id: \"Shape\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"32.1\", cy: \"3.7\", r: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(17.618000, 7.574100) rotate(-30.000728) translate(-17.618000, -7.574100) \", cx: \"17.618\", cy: \"7.5741\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(6.911500, 18.152500) rotate(-59.999272) translate(-6.911500, -18.152500) \", cx: \"6.9115\", cy: \"18.1525\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"2.9\", cy: \"32.7\", r: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(6.716100, 47.312600) rotate(-30.000728) translate(-6.716100, -47.312600) \", cx: \"6.7161\", cy: \"47.3126\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(17.389700, 57.947700) rotate(-59.999272) translate(-17.389700, -57.947700) \", cx: \"17.3897\", cy: \"57.9477\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"31.9\", cy: \"61.9\", r: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(46.491200, 58.078000) rotate(-30.000728) translate(-46.491200, -58.078000) \", cx: \"46.4912\", cy: \"58.078\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(57.184800, 47.469600) rotate(-59.999272) translate(-57.184800, -47.469600) \", cx: \"57.1848\", cy: \"47.4696\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"61.1\", cy: \"33\", r: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(57.306500, 18.389500) rotate(-30.000728) translate(-57.306500, -18.389500) \", cx: \"57.3065\", cy: \"18.3895\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(46.706700, 7.674400) rotate(-59.999272) translate(-46.706700, -7.674400) \", cx: \"46.7067\", cy: \"7.6744\", r: \"2.8999362\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function standing_water(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 -2 70 70\" },\n        React.createElement(\"path\", { d: \"M14.9,22.6c-7.7,0-14.5-4.8-14.8-5L-1,16.7l0.7-1.2c0.2-0.4,5.9-10,15-11.9C22.1,2,29.5,6,32.3,7.7\\n      c0.6,0.3,1,0.9,1.1,1.6c0.1,0.6,0,1.3-0.3,1.8L33,11.3c-4.2,6-9.2,9.8-14.4,10.9C17.4,22.4,16.2,22.6,14.9,22.6z M3.1,15.9\\n      c2.6,1.5,8.9,4.7,14.9,3.4c4.4-0.9,8.6-4.1,12.3-9.2c-2.5-1.5-8.8-4.7-14.9-3.4C9.3,7.8,4.8,13.4,3.1,15.9z M30.7,10.3\\n      C30.7,10.3,30.7,10.3,30.7,10.3C30.7,10.3,30.7,10.3,30.7,10.3z\" }),\n        React.createElement(\"path\", { d: \"M48.6,17.8c-8.2,0-15.1-6.4-16.4-7.7c-0.5-0.5-0.7-1.1-0.7-1.8c0-0.7,0.3-1.3,0.7-1.8\\n      c2.5-2.3,8.9-7.7,16.4-7.7c9.3,0,16.8,8.1,17.1,8.5l0.9,1l-0.9,1C65.4,9.6,58.1,17.8,48.6,17.8z M34.7,8.3\\n      c1.8,1.7,7.4,6.5,13.9,6.5c6.3,0,11.7-4.4,13.9-6.5c-2.2-2-7.7-6.5-13.9-6.5C42.6,1.8,37.2,6.1,34.7,8.3z\" }),\n        React.createElement(\"path\", { d: \"M32.6,65.7c-0.8,0-1.5-0.7-1.5-1.5v-64c0-0.8,0.7-1.5,1.5-1.5s1.5,0.7,1.5,1.5v64\\n      C34.1,65,33.4,65.7,32.6,65.7z\" }),\n        React.createElement(\"path\", { d: \"M58.5,51.8c-2,0-3.1-0.7-4-1.2c-0.7-0.4-1.2-0.8-2.4-0.8c-1.2,0-1.7,0.3-2.4,0.8c-0.9,0.5-2,1.2-4,1.2\\n      s-3.1-0.7-4-1.2c-0.7-0.4-1.2-0.8-2.4-0.8s-1.7,0.3-2.4,0.8c-0.9,0.5-2,1.2-4,1.2s-3.1-0.7-4-1.2c-0.7-0.4-1.2-0.8-2.4-0.8\\n      s-1.7,0.3-2.4,0.8c-0.9,0.5-2,1.2-4,1.2c-2,0-3.1-0.7-4-1.2c-0.7-0.4-1.2-0.8-2.4-0.8c-1.2,0-1.7,0.3-2.4,0.8\\n      c-0.9,0.5-2,1.2-4,1.2c-2,0-3.1-0.7-4-1.2c-0.7-0.4-1.2-0.8-2.4-0.8c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5c2,0,3.1,0.7,4,1.2\\n      c0.7,0.4,1.2,0.8,2.4,0.8c1.2,0,1.7-0.3,2.4-0.8c0.9-0.5,2-1.2,4-1.2c2,0,3.1,0.7,4,1.2c0.7,0.4,1.2,0.8,2.4,0.8\\n      c1.2,0,1.7-0.3,2.4-0.8c0.9-0.5,2-1.2,4-1.2s3.1,0.7,4,1.2c0.7,0.4,1.2,0.8,2.4,0.8s1.7-0.3,2.4-0.8c0.9-0.5,2-1.2,4-1.2\\n      s3.1,0.7,4,1.2c0.7,0.4,1.2,0.8,2.4,0.8s1.7-0.3,2.4-0.8c0.9-0.5,2-1.2,4-1.2c2,0,3.1,0.7,4,1.2c0.7,0.4,1.2,0.8,2.4,0.8\\n      s1.7-0.3,2.4-0.8c0.9-0.5,2-1.2,4-1.2c0.8,0,1.5,0.7,1.5,1.5s-0.7,1.5-1.5,1.5c-1.2,0-1.7,0.3-2.4,0.8\\n      C61.6,51.1,60.5,51.8,58.5,51.8z\" }),\n        React.createElement(\"path\", { d: \"M11.5,15.7c-0.6,0-1.2-0.4-1.4-0.9c-0.3-0.8,0.1-1.6,0.8-2C17.6,10.1,25,8.4,32.2,8C33,8,33.8,8.6,33.8,9.4\\n      S33.2,11,32.4,11c-6.9,0.4-13.9,2-20.3,4.6C11.9,15.7,11.7,15.7,11.5,15.7z\" }),\n        React.createElement(\"path\", { d: \"M32.7,10.8c-0.6,0-1.2-0.4-1.4-1.1c-0.2-0.8,0.2-1.6,1-1.9c7.2-2.3,14.9-2.6,22.4-0.9c0.8,0.2,1.3,1,1.1,1.8\\n      c-0.2,0.8-1,1.3-1.8,1.1C47,8.3,39.8,8.6,33.1,10.7C33,10.8,32.8,10.8,32.7,10.8z\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function regular(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 75 65\" },\n        React.createElement(\"path\", { d: \"M3.5,31.1 L1.5,31.1 C0.7,31.1 0,31.8 0,32.6 C0,33.4 0.7,34.1 1.5,34.1 L3.5,34.1 C4.3,34.1 5,33.4 5,32.6 C5,31.8 4.3,31.1 3.5,31.1 Z\" }),\n        React.createElement(\"path\", { d: \"M42.9,34.1 L46.5,34.1 C47.3,34.1 48,33.4 48,32.6 C48,31.8 47.3,31.1 46.5,31.1 L42.9,31.1 C42.1,31.1 41.4,31.8 41.4,32.6 C41.4,33.4 42,34.1 42.9,34.1 Z\" }),\n        React.createElement(\"path\", { d: \"M28.5,34.1 L32.1,34.1 C32.9,34.1 33.6,33.4 33.6,32.6 C33.6,31.8 32.9,31.1 32.1,31.1 L28.5,31.1 C27.7,31.1 27,31.8 27,32.6 C27,33.4 27.7,34.1 28.5,34.1 Z\" }),\n        React.createElement(\"path\", { d: \"M60.8,31.1 L57.2,31.1 C56.9,31.1 56.6,31.2 56.4,31.4 L39,1.5 L38.8,1.3 L38.7,1.2 L38.6,1.1 L38.4,1 L38.3,0.9 L38.1,0.8 L38,0.8 L37.9,0.8 L37.7,0.8 L37.4,0.8 L37.3,0.8 L37,0.8 L36.9,0.8 L36.7,0.9 L36.6,1 L36.4,1.1 L36.3,1.2 L36.2,1.3 L36.1,1.4 L36,1.5 L18.6,31.5 C18.3,31.3 18,31.2 17.7,31.2 L14.1,31.2 C13.3,31.2 12.6,31.9 12.6,32.7 C12.6,33.5 13.3,34.2 14.1,34.2 L17.1,34.2 C12.3,45.4 17.5,58.3 28.7,63.1 C39.9,67.9 52.8,62.7 57.6,51.5 C60,46 60,39.7 57.6,34.2 L60.6,34.2 C61.4,34.2 62.1,33.5 62.1,32.7 C62.1,31.9 61.5,31.1 60.8,31.1 L60.8,31.1 Z M37.5,5.5 L53.7,33.4 C54.4,34.7 55,36.1 55.4,37.5 L19.6,37.5 C20,36.1 20.6,34.7 21.3,33.4 L37.5,5.5 Z\" }),\n        React.createElement(\"path\", { d: \"M73.5,31.1 L71.5,31.1 C70.7,31.1 70,31.8 70,32.6 C70,33.4 70.7,34.1 71.5,34.1 L73.5,34.1 C74.3,34.1 75,33.4 75,32.6 C75,31.8 74.3,31.1 73.5,31.1 Z\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function attr_5(props) {\n    // water needs\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 45 64\" },\n        React.createElement(\"path\", { d: \"M21,0.6 C21,0.6 20.9,0.7 20.9,0.7 L20.8,0.8 L3.2,31.2 C1.3,34.5 0.3,38.3 0.3,42.1 C0.3,54.2 10.2,64 22.3,64 C34.4,64 44.3,54.2 44.3,42.1 C44.3,38.3 43.3,34.5 41.4,31.3 L41.4,31.2 L23.8,0.8 C23.7,0.7 23.7,0.6 23.6,0.6 C23.6,0.6 23.5,0.5 23.5,0.5 C23.5,0.5 23.4,0.4 23.4,0.4 C23.4,0.4 23.3,0.3 23.3,0.3 L23.2,0.2 C23.1,0.2 23,0.1 23,0.1 C22.9,0.1 22.9,0.1 22.9,0 C22.9,0 22.8,0 22.8,0 C22.7,0 22.7,0 22.6,0 C22.6,0 22.5,0 22.5,0 C22.5,0 22.5,0 22.5,0 C22.4,0 22.4,0 22.4,0 C22.4,0 22.3,0 22.3,0 C22.2,0 22.2,0 22.1,0 L22,0 C21.9,0 21.8,0.1 21.8,0.1 L21.7,0.2 C21.6,0.2 21.6,0.3 21.5,0.3 C21.5,0.3 21.4,0.4 21.4,0.4 C21.1,0.5 21,0.6 21,0.6 Z M22.3,5 L38.5,32.9 C40.1,35.7 41,38.9 41,42.1 C41,47.1 39.1,51.7 35.5,55.2 C32,58.7 27.3,60.6 22.3,60.6 C12,60.6 3.6,52.3 3.6,42 C3.6,38.8 4.4,35.6 6.1,32.8 L22.3,5 Z\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function attr_1(props) {\n    // plant type\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 62 66\" },\n        React.createElement(\"path\", { d: \"M61.5,44.5 L55.6,35.1 L58.2,35.1 C58.2,35.1 58.2,35.1 58.2,35.1 C58.5,35.1 58.9,35 59.1,34.7 C59.3,34.5 59.5,34.1 59.5,33.8 C59.5,33.5 59.4,33.3 59.3,33.1 L51.4,20.9 L53.2,20.9 C53.5,20.9 53.9,20.8 54.1,20.5 C54.3,20.3 54.5,19.9 54.5,19.6 C54.5,19.4 54.4,19.1 54.3,18.9 L43.7,1.8 C43.4,1.4 43,1.2 42.5,1.2 C42.1,1.2 41.7,1.5 41.5,1.8 L34.7,12.7 L32.3,8.9 C32,8.5 31.6,8.3 31.1,8.3 C30.7,8.3 30.3,8.6 30.1,8.9 L27.7,12.7 L21,1.8 C20.7,1.4 20.3,1.2 19.8,1.2 C19.4,1.2 19,1.5 18.8,1.8 L8.2,18.9 C8,19.2 8,19.5 8,19.9 C8.1,20.2 8.3,20.5 8.6,20.7 C8.8,20.8 9,20.9 9.3,20.9 L11.1,20.9 L11,21 L3.2,33 C3,33.3 2.9,33.6 3,34 C3.1,34.3 3.3,34.6 3.6,34.8 C3.8,34.9 4.1,35 4.3,35 L6.9,35 L1,44.4 C0.8,44.7 0.8,45 0.8,45.4 C0.9,45.7 1.1,46 1.4,46.2 C1.6,46.3 1.8,46.4 2.1,46.4 L15.6,46.4 L12.4,51.5 C12,52.1 12.2,52.9 12.8,53.3 C13,53.4 13.2,53.5 13.5,53.5 L16.5,53.5 L16.5,62.2 C16.5,62.9 17.1,63.5 17.8,63.5 L22,63.5 C22.7,63.5 23.3,62.9 23.3,62.2 L23.3,53.5 L27.8,53.5 L27.8,63.6 C27.8,64.3 28.4,64.9 29.1,64.9 L33.4,64.9 C34.1,64.9 34.7,64.3 34.7,63.6 L34.7,53.5 L39.2,53.5 L39.2,62.2 C39.2,62.9 39.8,63.5 40.5,63.5 L44.8,63.5 C45.5,63.5 46.1,62.9 46.1,62.2 L46.1,53.5 L49.1,53.5 C49.8,53.5 50.4,52.9 50.4,52.2 C50.4,52 50.3,51.7 50.2,51.5 L47,46.4 L60.5,46.4 C60.8,46.4 61.2,46.3 61.4,46 C61.6,45.8 61.8,45.4 61.8,45.1 C61.7,44.9 61.6,44.7 61.5,44.5 Z M4.5,43.9 L10.4,34.5 C10.8,33.9 10.6,33.1 10,32.7 C9.8,32.6 9.6,32.5 9.3,32.5 L6.7,32.5 L14.6,20.2 C14.8,19.9 14.8,19.6 14.8,19.2 C14.7,18.9 14.5,18.6 14.2,18.4 C14,18.3 13.8,18.2 13.5,18.2 L11.6,18.2 L19.9,4.9 L26.3,15.1 L19.5,26 C19.1,26.6 19.3,27.4 19.9,27.8 C20.1,27.9 20.3,28 20.6,28 L22.4,28 L22.3,28.2 L14.5,40.2 C14.3,40.5 14.2,40.8 14.3,41.2 C14.4,41.5 14.6,41.8 14.9,42 C15.1,42.1 15.4,42.2 15.6,42.2 C15.6,42.2 15.6,42.2 15.6,42.2 L18.2,42.2 L17.2,43.9 L4.5,43.9 Z M15.8,51 L21.7,41.6 C21.9,41.3 21.9,41 21.9,40.6 C21.8,40.3 21.6,40 21.3,39.8 C21.1,39.7 20.9,39.6 20.6,39.6 L18,39.6 L25.9,27.3 C26.1,27 26.1,26.7 26.1,26.3 C26,26 25.8,25.7 25.5,25.5 C25.3,25.4 25.1,25.3 24.8,25.3 L22.9,25.3 L31.2,12 L31.3,12.2 L39.5,25.4 L37.6,25.4 C36.9,25.4 36.3,26 36.3,26.7 C36.3,26.9 36.4,27.2 36.5,27.4 L44.4,39.6 L41.8,39.6 C41.5,39.6 41.1,39.7 40.9,40 C40.7,40.2 40.5,40.6 40.5,40.9 C40.5,41.1 40.6,41.4 40.7,41.6 L46.6,51 L15.8,51 L15.8,51 Z M45.3,43.9 L44.3,42.2 L46.9,42.2 C46.9,42.2 46.9,42.2 46.9,42.2 C47.6,42.2 48.2,41.6 48.2,40.9 C48.2,40.6 48.1,40.4 48,40.2 L40.1,28 L41.9,28 C42.6,28 43.2,27.4 43.2,26.7 C43.2,26.5 43.1,26.2 43,26 L36.3,15.2 L42.7,5 L42.8,5.2 L51,18.4 L49,18.4 C48.7,18.4 48.3,18.5 48.1,18.8 C47.9,19 47.7,19.4 47.7,19.7 C47.7,19.9 47.8,20.2 47.9,20.4 L55.8,32.6 L53.2,32.6 C52.5,32.6 51.9,33.2 51.9,33.9 C51.9,34.1 52,34.4 52.1,34.6 L58,44 L45.3,44 L45.3,43.9 Z\" }),\n        React.createElement(\"path\", { d: \"M33.4,65.1 L29.1,65.1 C28.3,65.1 27.7,64.5 27.7,63.7 L27.7,53.7 L23.3,53.7 L23.3,62.3 C23.3,63.1 22.7,63.7 21.9,63.7 L17.6,63.7 C16.8,63.7 16.2,63.1 16.2,62.3 L16.2,53.7 L13.3,53.7 C13,53.7 12.8,53.6 12.6,53.5 C12,53.1 11.8,52.3 12.2,51.6 L15.3,46.6 L2.1,46.6 C1.8,46.6 1.6,46.5 1.4,46.4 C1.1,46.2 0.9,45.9 0.8,45.5 C0.7,45.1 0.8,44.8 1,44.5 L6.8,35.2 L4.3,35.2 C4.3,35.2 4.3,35.2 4.3,35.2 C4,35.2 3.8,35.1 3.6,35 C3.3,34.8 3.1,34.5 3,34.1 C2.9,33.7 3,33.4 3.2,33.1 L11.1,21 L9.4,21 C9.1,21 8.9,20.9 8.7,20.8 C8.4,20.6 8.2,20.3 8.1,19.9 C8,19.5 8.1,19.2 8.3,18.9 L18.9,1.8 C19.1,1.4 19.5,1.2 19.9,1.2 C19.9,1.2 20,1.2 20,1.2 C20.5,1.2 20.9,1.4 21.2,1.8 L28,12.7 L30.3,9 C30.5,8.6 30.9,8.4 31.3,8.4 C31.3,8.4 31.4,8.4 31.4,8.4 C31.9,8.4 32.3,8.6 32.6,9 L34.9,12.7 L41.7,1.8 C41.9,1.4 42.3,1.2 42.7,1.2 C43.2,1.2 43.7,1.4 44,1.8 L54.6,18.9 C54.7,19.1 54.8,19.4 54.8,19.6 C54.8,20 54.7,20.3 54.4,20.6 C54.1,20.9 53.8,21 53.4,21 L51.7,21 L59.6,33.1 C59.7,33.3 59.8,33.6 59.8,33.9 C59.8,34.3 59.7,34.6 59.4,34.9 C59.1,35.2 58.8,35.3 58.4,35.3 L55.9,35.3 L61.7,44.6 C61.8,44.8 61.9,45.1 61.9,45.3 C61.9,45.7 61.8,46 61.5,46.3 C61.2,46.6 60.9,46.7 60.5,46.7 L47,46.7 L50.1,51.7 C50.2,51.9 50.3,52.2 50.3,52.4 C50.3,53.2 49.7,53.8 48.9,53.8 L46,53.8 L46,62.4 C46,63.2 45.4,63.8 44.6,63.8 L40.3,63.8 C39.5,63.8 38.9,63.2 38.9,62.4 L38.9,53.8 L34.5,53.8 L34.5,63.8 C34.8,64.5 34.1,65.1 33.4,65.1 Z M23.3,53.6 L27.9,53.6 L27.9,63.8 C27.9,64.5 28.5,65 29.1,65 L33.4,65 C34.1,65 34.6,64.4 34.6,63.8 L34.6,53.6 L39.2,53.6 L39.2,62.3 C39.2,63 39.8,63.5 40.4,63.5 L44.7,63.5 C45.4,63.5 45.9,62.9 45.9,62.3 L45.9,53.6 L48.9,53.6 C49.6,53.6 50.1,53 50.1,52.3 C50.1,52.1 50,51.8 49.9,51.6 L46.6,46.4 L60.2,46.4 C60.5,46.4 60.8,46.3 61.1,46 C61.3,45.8 61.5,45.5 61.5,45.1 C61.5,44.9 61.4,44.6 61.3,44.4 L61.3,44.4 L55.4,34.9 L58.1,34.9 C58.4,34.9 58.7,34.8 59,34.5 C59.2,34.3 59.4,34 59.4,33.6 C59.4,33.4 59.3,33.1 59.2,32.9 L51.2,20.6 L53.2,20.6 C53.5,20.6 53.8,20.5 54.1,20.2 C54.3,20 54.5,19.7 54.5,19.3 C54.5,19.1 54.4,18.8 54.3,18.6 L43.7,1.5 C43.5,1.1 43,0.9 42.5,0.9 C42.1,0.9 41.8,1.2 41.6,1.5 L34.7,12.5 L34.6,12.4 L32.2,8.6 C32,8.2 31.6,8 31.1,8 C31.1,8 31,8 31,8 C30.6,8 30.3,8.3 30.1,8.6 L27.7,12.5 L27.6,12.4 L20.8,1.5 C20.6,1.1 20.1,0.9 19.6,0.9 C19.2,0.9 18.9,1.2 18.7,1.5 L8.1,18.6 C7.9,18.9 7.9,19.2 7.9,19.5 C8,19.8 8.2,20.1 8.5,20.3 C8.7,20.4 8.9,20.5 9.2,20.5 L11.2,20.5 L11,20.8 L3.2,32.8 C3,33.1 3,33.4 3,33.7 C3.1,34 3.3,34.3 3.5,34.5 C3.7,34.6 3.9,34.7 4.2,34.7 C4.2,34.7 4.2,34.7 4.2,34.7 L7,34.7 L6.9,34.8 L1,44.2 C0.8,44.5 0.8,44.8 0.8,45.1 C0.9,45.4 1.1,45.7 1.4,45.9 C1.6,46 1.8,46.1 2.1,46.1 L15.7,46.1 L12.4,51.3 C12,51.9 12.2,52.7 12.8,53 C13,53.1 13.2,53.2 13.5,53.2 L16.5,53.2 L16.5,61.9 C16.5,62.6 17.1,63.1 17.7,63.1 L22,63.1 C22.7,63.1 23.2,62.5 23.2,61.9 L23.2,53.6 L23.3,53.6 Z M46.8,51.1 L15.7,51.1 L15.8,51 L21.7,41.6 C21.9,41.3 21.9,41 21.9,40.7 C21.9,40.4 21.6,40.1 21.3,39.9 C21.1,39.8 20.9,39.7 20.6,39.7 L17.9,39.7 L18,39.6 L25.9,27.3 C26.1,27 26.1,26.7 26.1,26.4 C26.1,26.1 25.8,25.8 25.5,25.6 C25.3,25.5 25.1,25.4 24.8,25.4 L22.8,25.4 L22.9,25.3 L31.3,11.9 L31.5,12.1 L39.8,25.4 L37.8,25.4 C37.1,25.4 36.6,26 36.6,26.7 C36.6,26.9 36.7,27.2 36.8,27.4 L44.8,39.7 L42.1,39.7 C41.8,39.7 41.5,39.8 41.2,40.1 C41,40.3 40.8,40.6 40.8,41 C40.8,41.2 40.9,41.5 41,41.7 L46.8,51.1 Z M15.9,51 L46.5,51 L40.7,41.7 C40.6,41.5 40.5,41.2 40.5,41 C40.5,40.6 40.6,40.3 40.9,40 C41.2,39.7 41.5,39.6 41.9,39.6 L44.4,39.6 L36.5,27.4 C36.4,27.2 36.3,26.9 36.3,26.7 C36.3,25.9 36.9,25.3 37.7,25.3 L39.5,25.3 L31.3,12.1 L23,25.3 L24.8,25.3 C25.1,25.3 25.3,25.4 25.5,25.5 C25.8,25.7 26,26 26.1,26.4 C26.2,26.8 26.1,27.1 25.9,27.4 L18,39.6 L20.5,39.6 C20.8,39.6 21,39.7 21.2,39.8 C21.5,40 21.7,40.3 21.8,40.7 C21.9,41.1 21.8,41.4 21.6,41.7 L15.9,51 Z M58.2,44 L45.3,44 L45.3,44 L44.2,42.2 L46.9,42.2 C47.6,42.2 48.1,41.6 48.2,41 C48.2,40.8 48.1,40.5 48,40.3 L40,28 L42,28 C42.7,28 43.2,27.4 43.2,26.7 C43.2,26.5 43.1,26.2 43,26 L36.2,15.1 L36.2,15.1 L42.6,4.8 L42.8,5 L51.1,18.3 L49.1,18.3 C48.8,18.3 48.5,18.4 48.2,18.7 C48,18.9 47.8,19.2 47.8,19.6 C47.8,19.8 47.9,20.1 48,20.3 L56,32.6 L53.3,32.6 C52.6,32.6 52.1,33.2 52.1,33.9 C52.1,34.1 52.2,34.4 52.3,34.6 L58.2,44 Z M45.3,43.8 L58,43.8 L52.2,34.5 C52.1,34.3 52,34 52,33.8 C52,33 52.6,32.4 53.4,32.4 L55.9,32.4 L48,20.2 C47.9,20 47.8,19.7 47.8,19.5 C47.8,19.1 47.9,18.8 48.2,18.5 C48.5,18.2 48.8,18.1 49.2,18.1 L51,18.1 L42.8,4.9 L36.5,15 L43.2,25.8 C43.3,26 43.4,26.3 43.4,26.5 C43.4,27.3 42.8,27.9 42,27.9 L40.3,27.9 L48.2,40 C48.3,40.2 48.4,40.5 48.4,40.8 C48.4,41.5 47.8,42.2 47,42.2 L44.5,42.2 L45.3,43.8 Z M17.3,44 L4.4,44 L4.5,43.9 L10.4,34.5 C10.8,33.9 10.6,33.1 10,32.8 C9.8,32.7 9.6,32.6 9.3,32.6 L6.6,32.6 L6.7,32.5 L14.6,20.2 C14.8,19.9 14.8,19.6 14.8,19.3 C14.7,19 14.5,18.7 14.2,18.5 C14,18.4 13.8,18.3 13.5,18.3 L11.5,18.3 L11.6,18.2 L20,4.8 L20.1,4.9 L26.5,15.2 L26.5,15.2 L19.6,26 C19.2,26.6 19.4,27.4 20,27.7 C20.2,27.8 20.4,27.9 20.7,27.9 L22.7,27.9 L22.5,28.2 L14.7,40.2 C14.5,40.5 14.5,40.8 14.5,41.1 C14.6,41.4 14.8,41.7 15,41.9 C15.2,42 15.4,42.1 15.7,42.1 L18.5,42.1 L17.3,44 Z M4.6,43.8 L17.2,43.8 L18.2,42.3 L15.7,42.3 C15.4,42.3 15.2,42.2 14.9,42.1 C14.6,41.9 14.4,41.6 14.3,41.2 C14.2,40.8 14.3,40.5 14.5,40.2 L22.4,28.1 L20.7,28.1 C20.4,28.1 20.2,28 20,27.9 C19.4,27.5 19.2,26.7 19.6,26 L26.3,15.2 L19.9,5 L11.7,18.2 L13.5,18.2 C13.8,18.2 14,18.3 14.2,18.4 C14.5,18.6 14.7,18.9 14.8,19.3 C14.9,19.7 14.8,20 14.6,20.3 L6.7,32.5 L9.2,32.5 C9.5,32.5 9.7,32.6 9.9,32.7 C10.5,33.1 10.7,33.9 10.3,34.6 L4.6,43.8 Z\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function drought_tolerant(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 41 65\" },\n        React.createElement(\"path\", { d: \"M25.8,43.8 C29.5,43.4 33,41.9 35.8,39.5 C39.1,36.4 40.9,32.1 40.7,27.6 L40.7,18.2 C40.7,15.5 38.4,13.2 35.7,13.2 C33,13.2 30.8,15.4 30.7,18.2 L30.7,27.6 C30.8,29.3 30.3,30.9 29.1,32.1 C28.2,32.8 27.1,33.4 26,33.6 C25.8,33.7 25.5,33.6 25.3,33.5 C25.1,33.4 25,33.1 25,32.9 L25,5.1 C25,3.7 24.4,2.3 23.4,1.4 C22.4,0.4 21,-6.66133815e-16 19.6,0.1 C17,0.4 15.1,2.7 15.1,5.3 L15.1,29 C15.1,29.2 15,29.5 14.8,29.6 C14.6,29.7 14.4,29.8 14.2,29.8 C13.2,29.6 12.2,29.2 11.4,28.6 C11.1,28.3 10.4,27.7 10.4,25.7 L10.4,15.9 C10.4,13.1 8.2,10.9 5.4,10.9 C5.2,10.9 5.1,10.9 4.9,10.9 C2.3,11.2 0.4,13.5 0.4,16.1 L0.4,25.7 C0.3,29.7 1.9,33.5 4.9,36.2 C7.6,38.4 11,39.8 14.5,40 C14.9,40 15.2,40.4 15.2,40.8 L15.2,61.3 L6.5,61.3 C5.7,61.3 5,61.9 5,62.8 C5,63.7 5.6,64.3 6.5,64.3 L34.8,64.3 C35.6,64.3 36.3,63.7 36.3,62.8 C36.3,61.9 35.7,61.3 34.8,61.3 L34.8,61.3 L25.2,61.3 L25.2,44.7 C25.2,44.2 25.5,43.9 25.8,43.8 Z M16.7,37.2 C13.8,37.1 9.7,36.4 6.8,33.9 C4.5,31.8 3.2,28.8 3.3,25.6 L3.3,16 C3.3,14.9 4.1,13.9 5.2,13.8 C6.3,13.7 7.4,14.5 7.5,15.7 C7.5,15.8 7.5,15.8 7.5,15.9 L7.5,25.7 C7.4,27.6 8.1,29.5 9.5,30.8 C11.4,32.5 14.4,32.9 16.5,33 L16.6,33 C17.4,33 18.1,32.4 18.1,31.5 L18.1,31.5 L18.1,5 C18.1,3.8 19,2.9 20.2,2.9 C20.3,2.9 20.4,2.9 20.5,2.9 C21.6,3.1 22.4,4 22.4,5.1 L22.4,35.4 C22.4,35.8 22.6,36.2 22.9,36.5 C23.2,36.8 23.6,36.9 24,36.9 C26.2,36.7 29.2,36.1 31.3,34.2 C33.1,32.5 34,30.1 33.9,27.6 L33.9,18.3 C33.9,17.2 34.8,16.2 36,16.2 C37.1,16.2 38,17 38.1,18.1 C38.1,18.1 38.1,18.2 38.1,18.2 L38.1,27.6 C38.2,31.3 36.8,34.8 34.1,37.3 C31,40.1 26.8,40.9 23.8,41.1 C23,41.2 22.4,41.8 22.4,42.6 L22.4,61.2 L18.3,61.2 L18.3,38.7 C18.1,37.9 17.5,37.2 16.7,37.2 Z\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function occasional(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 71 92\" },\n        React.createElement(\"path\", { d: \"M26.3,50.5 C26.3,48.3 25.7,46.1 24.6,44.2 L14.8,27 L14.7,26.8 L14.6,26.7 L14.5,26.6 L14.4,26.5 L13.9,26.3 L13.7,26.3 L13.6,26.3 L13.3,26.3 L13,26.3 L12.9,26.3 L12.7,26.4 L12.6,26.5 L12.5,26.6 L12.3,26.8 L12.2,26.9 L2.2,44.1 C-1.3,50.3 0.8,58.2 7,61.7 C13.2,65.2 21.1,63.1 24.6,56.9 C25.8,54.9 26.3,52.7 26.3,50.5 L26.3,50.5 Z M3.6,50.5 C3.6,48.8 4,47.1 4.9,45.6 L13.4,30.8 L21.9,45.6 C24.6,50.3 23,56.3 18.3,59 C13.6,61.7 7.6,60.1 4.9,55.4 C4.1,53.9 3.6,52.2 3.6,50.5 Z\" }),\n        React.createElement(\"path\", { d: \"M36.5,54.7 L36.4,54.5 L36.3,54.4 L36.2,54.3 L36.1,54.2 L35.7,54 L35.5,54 L35.3,54 L35,54 L34.8,54 L34.7,54 L34.6,54 L34.4,54.1 L34.3,54.2 L34.2,54.3 L34,54.5 L33.9,54.6 L24,71.8 C20.5,78 22.6,85.9 28.8,89.4 C35,92.9 42.9,90.8 46.4,84.6 C48.7,80.7 48.7,75.8 46.4,71.8 L36.5,54.7 Z\" }),\n        React.createElement(\"path\", { d: \"M36.5,1.1 L36.4,0.9 L36.3,0.8 L36.2,0.7 L36.1,0.6 L35.7,0.4 L35.5,0.4 L35.3,0.4 L35,0.4 L34.8,0.4 L34.7,0.4 L34.6,0.4 L34.4,0.5 L34.3,0.6 L34.2,0.7 L34,0.9 L33.9,1 L24,18.2 C20.5,24.4 22.6,32.3 28.8,35.8 C35,39.3 42.9,37.2 46.4,31 C48.7,27.1 48.7,22.2 46.4,18.2 L36.5,1.1 Z\" }),\n        React.createElement(\"path\", { d: \"M69.1,44.1 L59.2,27 L58.8,26.6 L58.6,26.5 L58.3,26.4 L58.2,26.4 L58.1,26.4 L58,26.4 L57.8,26.4 L57.5,26.4 L57.4,26.4 L57.3,26.4 L57.1,26.5 L57,26.6 L56.8,26.7 L56.6,26.9 L56.5,27 L46.6,44.2 C43.1,50.4 45.2,58.3 51.4,61.8 C57.6,65.3 65.5,63.2 69,57 C71.3,53 71.3,48.1 69.1,44.1 L69.1,44.1 Z M67.6,50.5 C67.6,55.9 63.2,60.3 57.8,60.3 C52.4,60.3 48,55.9 48,50.5 C48,48.8 48.4,47.1 49.3,45.6 L57.8,30.8 L66.3,45.6 C67.2,47.1 67.6,48.8 67.6,50.5 L67.6,50.5 Z\" })));\n}\n","import React, { useState } from 'react';\nimport { withNurseryContext } from '../../contexts/NurseryContext';\nimport { uniqueId } from '../../utils/helpers';\nimport ShopifyBuy from '../Shopify/ShopifyBuy';\nimport ShopifyMoreOptions from '../Shopify/ShopifyMoreOptions';\nimport { AttributeIcon, PlantSize, Zones } from '../../themes/icons/attributes';\nexport const setWaterIcons = (attr) => {\n    let iconList = [];\n    if (attr.length > 1) {\n        const singleIcons = [];\n        const rangeIcons = [];\n        attr.forEach((item) => {\n            if (item === 'dry in winter'\n                || item === 'dry when dormant'\n                || item === 'dry in summer') {\n                singleIcons.push(item);\n            }\n            else {\n                rangeIcons.push(item);\n            }\n        });\n        if (rangeIcons.length > 1) {\n            const attr1 = rangeIcons[0];\n            const attr2 = rangeIcons[rangeIcons.length - 1];\n            const attr1Id = `${attr1.replace(/ /g, '_')}`;\n            const attr2Id = `${attr2.replace(/ /g, '_')}`;\n            const elem = (React.createElement(\"li\", { key: uniqueId(attr1Id), className: \"range\" },\n                React.createElement(AttributeIcon, { name: attr1Id, className: \"icn top\" }),\n                React.createElement(AttributeIcon, { name: attr2Id, className: \"icn bottom\" }),\n                React.createElement(\"span\", { className: \"label\" },\n                    attr1,\n                    ' ',\n                    \"-\",\n                    ' ',\n                    attr2)));\n            iconList.push(elem);\n        }\n        else if (rangeIcons.length === 1) {\n            const attrId = `${rangeIcons[0].replace(/ /g, '_')}`;\n            const elem = (React.createElement(\"li\", { key: uniqueId(attrId), className: \"single\" },\n                React.createElement(AttributeIcon, { name: attrId, className: \"icn\" }),\n                React.createElement(\"span\", { className: \"label\" }, rangeIcons[0])));\n            iconList.push(elem);\n        }\n        if (singleIcons.length > 0) {\n            const singleLi = singleIcons.map((item) => {\n                const attrId = `${item.replace(/ /g, '_')}`;\n                return (React.createElement(\"li\", { key: uniqueId(attrId), className: \"single single__water\" },\n                    React.createElement(AttributeIcon, { name: attrId, className: \"icn\" }),\n                    React.createElement(\"span\", { className: \"label\" }, item)));\n            });\n            iconList = iconList.concat(singleLi);\n        }\n    }\n    else {\n        const attrId = `${attr[0].replace(/ /g, '_')}`;\n        const elem = (React.createElement(\"li\", { key: uniqueId(attrId), className: \"single\" },\n            React.createElement(AttributeIcon, { name: attrId, className: \"icn\" }),\n            React.createElement(\"span\", { className: \"label\" }, attr[0])));\n        iconList.push(elem);\n    }\n    return iconList;\n};\nexport const setSunIcons = (attr) => {\n    if (attr.length > 1) {\n        const attr1 = attr[0];\n        const attr2 = attr[attr.length - 1];\n        const attr1Id = `${attr1.replace(/ /g, '_')}`;\n        const attr2Id = `${attr2.replace(/ /g, '_')}`;\n        const elem = (React.createElement(\"li\", { key: uniqueId(attr1Id), className: \"range\" },\n            React.createElement(AttributeIcon, { name: attr1Id, className: \"icn top\" }),\n            React.createElement(AttributeIcon, { name: attr2Id, className: \"icn bottom\" }),\n            React.createElement(\"span\", { className: \"label\" },\n                attr1,\n                ' ',\n                \"-\",\n                ' ',\n                attr2)));\n        return elem;\n    }\n    const attrId = `${attr[0].replace(/ /g, '_')}`;\n    const elem = (React.createElement(\"li\", { key: uniqueId(attrId), className: \"single\" },\n        React.createElement(AttributeIcon, { name: attrId, className: \"icn\" }),\n        React.createElement(\"span\", { className: \"label\" }, attr[0])));\n    return elem;\n};\nconst SearchResultsItem = ({ data, onAddToShopifyCart, isAvailable, index, isNursery, nurserySlug, }) => {\n    var _a, _b;\n    const [openOptions, setOpenOptions] = useState(false);\n    let relatedUrl = `/plants/${data.django_pk}/${data.slug}/`;\n    if (isNursery && !isAvailable) {\n        relatedUrl += `?nurseries=${nurserySlug}`;\n    }\n    const zones = data.zones_str;\n    let mainTitle = null;\n    let scientificName = null;\n    let akaNames = [];\n    mainTitle = data.primary_name;\n    scientificName = data.scientific_name;\n    akaNames = data.aka_names;\n    let scientificNameEl = null;\n    if (scientificName) {\n        scientificNameEl = (React.createElement(\"p\", { className: \"plant__name_scientific\" },\n            \"Scientific Name:\",\n            ' ',\n            scientificName));\n    }\n    const plantType = data.plant_type;\n    const height = data.dimensions.H;\n    const width = data.dimensions.W;\n    let plantSize;\n    let heightEl;\n    let widthEl;\n    if (height) {\n        heightEl = (React.createElement(\"p\", null,\n            React.createElement(\"span\", { className: \"key\" }, \"Height: \"),\n            React.createElement(\"span\", { className: \"value\" }, height)));\n    }\n    if (width) {\n        widthEl = (React.createElement(\"p\", null,\n            React.createElement(\"span\", { className: \"key\" }, \"Width: \"),\n            React.createElement(\"span\", { className: \"value\" }, width)));\n    }\n    if (height || width) {\n        plantSize = (React.createElement(\"div\", { className: \"plant__size\" },\n            React.createElement(\"h3\", null,\n                React.createElement(PlantSize, { className: \"icn\" }),\n                \"Size\"),\n            heightEl,\n            widthEl));\n    }\n    let plantPhoto;\n    let panelClass = 'panel searchpage__result';\n    if (data.photo !== '') {\n        plantPhoto = (React.createElement(\"a\", { href: relatedUrl, title: mainTitle, className: \"plant_name_link\" },\n            React.createElement(\"div\", { className: \"plant__photo\" },\n                React.createElement(\"picture\", null,\n                    React.createElement(\"source\", { type: \"image/webp\", srcSet: data.photo_webp }),\n                    React.createElement(\"source\", { type: \"image/jpeg\", srcSet: data.photo }),\n                    React.createElement(\"img\", { loading: index === 0 ? 'eager' : 'lazy', src: data.photo, alt: data.photo_description })),\n                React.createElement(\"div\", { className: \"plant__photo_hover\" },\n                    React.createElement(\"span\", null, \"View Plant\")))));\n    }\n    else {\n        panelClass += ' noPhoto';\n        plantPhoto = (React.createElement(\"a\", { href: relatedUrl, title: mainTitle, className: \"plant_name_link\" },\n            React.createElement(\"div\", { className: \"plant__photo no_photo\" },\n                React.createElement(\"div\", { className: \"plant__photo_hover\" },\n                    React.createElement(\"span\", null, \"View Plant\")))));\n    }\n    const buyBtn = (React.createElement(ShopifyBuy, { setOpenOptions: (value) => setOpenOptions(value), plant: data, onAddToShopifyCart: onAddToShopifyCart, mainTitle: mainTitle, isAvailable: isAvailable }));\n    let waterElem = null;\n    let sunElem = null;\n    if (((_a = data.water_needs) === null || _a === void 0 ? void 0 : _a.length) > 0)\n        waterElem = setWaterIcons(data.water_needs);\n    if (((_b = data.sun_exposure) === null || _b === void 0 ? void 0 : _b.length) > 0)\n        sunElem = setSunIcons(data.sun_exposure);\n    return (React.createElement(\"div\", { className: panelClass },\n        React.createElement(\"div\", { className: \"plant__name_cont\" },\n            React.createElement(\"h2\", { className: \"pdp_related__title\" },\n                React.createElement(\"a\", { href: relatedUrl, title: mainTitle, onBlur: () => { }, onFocus: () => { } }, mainTitle))),\n        React.createElement(\"div\", { className: \"plant__name_aka\" },\n            scientificNameEl,\n            React.createElement(\"p\", null, akaNames.length > 0 && [\n                React.createElement(\"span\", { key: 0 }, \"aka \"),\n                akaNames.join(', '),\n            ])),\n        React.createElement(\"div\", { className: \"plant__detail\" },\n            React.createElement(\"div\", { className: \"plant__info \" },\n                React.createElement(\"div\", { className: \"plant__type\" },\n                    React.createElement(\"h3\", null,\n                        React.createElement(AttributeIcon, { name: \"attr1\", className: \"icn\" }),\n                        \"Plant Type\"),\n                    React.createElement(\"p\", null, plantType.replace(/\\b[a-z]/g, (x) => x.toUpperCase()))),\n                React.createElement(\"div\", { className: \"plant__zones\" },\n                    React.createElement(\"h3\", null,\n                        React.createElement(Zones, { className: \"icn\" }),\n                        \"Zones\"),\n                    React.createElement(\"p\", null, zones)),\n                plantSize),\n            React.createElement(\"div\", { className: \"plant__info_single\" },\n                React.createElement(\"ul\", { className: \"plant__info_needs\" },\n                    sunElem,\n                    waterElem))),\n        plantPhoto,\n        buyBtn,\n        openOptions && (React.createElement(ShopifyMoreOptions, { openOptions: openOptions, setOpenOptions: (value) => setOpenOptions(value), djangoPk: data.django_pk, variants: data.variants.filter((variant) => variant.available), affiliatedLinks: data.affiliated_links, onAddToShopifyCart: onAddToShopifyCart, partnersData: data.nurseries, plantTitle: mainTitle }))));\n};\nexport default withNurseryContext(SearchResultsItem);\n","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getPaginationUtilityClass(slot) {\n  return generateUtilityClass('MuiPagination', slot);\n}\nconst paginationClasses = generateUtilityClasses('MuiPagination', ['root', 'ul', 'outlined', 'text']);\nexport default paginationClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getPaginationItemUtilityClass(slot) {\n  return generateUtilityClass('MuiPaginationItem', slot);\n}\nconst paginationItemClasses = generateUtilityClasses('MuiPaginationItem', ['root', 'page', 'sizeSmall', 'sizeLarge', 'text', 'textPrimary', 'textSecondary', 'outlined', 'outlinedPrimary', 'outlinedSecondary', 'rounded', 'ellipsis', 'firstLast', 'previousNext', 'focusVisible', 'disabled', 'selected', 'icon', 'colorPrimary', 'colorSecondary']);\nexport default paginationItemClasses;","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n  d: \"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z\"\n}), 'FirstPage');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n  d: \"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z\"\n}), 'LastPage');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n  d: \"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z\"\n}), 'NavigateBefore');","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n  d: \"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z\"\n}), 'NavigateNext');","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport { useRtl } from '@mui/system/RtlProvider';\nimport paginationItemClasses, { getPaginationItemUtilityClass } from \"./paginationItemClasses.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport capitalize from \"../utils/capitalize.js\";\nimport createSimplePaletteValueFilter from \"../utils/createSimplePaletteValueFilter.js\";\nimport FirstPageIcon from \"../internal/svg-icons/FirstPage.js\";\nimport LastPageIcon from \"../internal/svg-icons/LastPage.js\";\nimport NavigateBeforeIcon from \"../internal/svg-icons/NavigateBefore.js\";\nimport NavigateNextIcon from \"../internal/svg-icons/NavigateNext.js\";\nimport useSlot from \"../utils/useSlot.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst overridesResolver = (props, styles) => {\n  const {\n    ownerState\n  } = props;\n  return [styles.root, styles[ownerState.variant], styles[`size${capitalize(ownerState.size)}`], ownerState.variant === 'text' && styles[`text${capitalize(ownerState.color)}`], ownerState.variant === 'outlined' && styles[`outlined${capitalize(ownerState.color)}`], ownerState.shape === 'rounded' && styles.rounded, ownerState.type === 'page' && styles.page, (ownerState.type === 'start-ellipsis' || ownerState.type === 'end-ellipsis') && styles.ellipsis, (ownerState.type === 'previous' || ownerState.type === 'next') && styles.previousNext, (ownerState.type === 'first' || ownerState.type === 'last') && styles.firstLast];\n};\nconst useUtilityClasses = ownerState => {\n  const {\n    classes,\n    color,\n    disabled,\n    selected,\n    size,\n    shape,\n    type,\n    variant\n  } = ownerState;\n  const slots = {\n    root: ['root', `size${capitalize(size)}`, variant, shape, color !== 'standard' && `color${capitalize(color)}`, color !== 'standard' && `${variant}${capitalize(color)}`, disabled && 'disabled', selected && 'selected', {\n      page: 'page',\n      first: 'firstLast',\n      last: 'firstLast',\n      'start-ellipsis': 'ellipsis',\n      'end-ellipsis': 'ellipsis',\n      previous: 'previousNext',\n      next: 'previousNext'\n    }[type]],\n    icon: ['icon']\n  };\n  return composeClasses(slots, getPaginationItemUtilityClass, classes);\n};\nconst PaginationItemEllipsis = styled('div', {\n  name: 'MuiPaginationItem',\n  slot: 'Root',\n  overridesResolver\n})(memoTheme(({\n  theme\n}) => ({\n  ...theme.typography.body2,\n  borderRadius: 32 / 2,\n  textAlign: 'center',\n  boxSizing: 'border-box',\n  minWidth: 32,\n  padding: '0 6px',\n  margin: '0 3px',\n  color: (theme.vars || theme).palette.text.primary,\n  height: 'auto',\n  [`&.${paginationItemClasses.disabled}`]: {\n    opacity: (theme.vars || theme).palette.action.disabledOpacity\n  },\n  variants: [{\n    props: {\n      size: 'small'\n    },\n    style: {\n      minWidth: 26,\n      borderRadius: 26 / 2,\n      margin: '0 1px',\n      padding: '0 4px'\n    }\n  }, {\n    props: {\n      size: 'large'\n    },\n    style: {\n      minWidth: 40,\n      borderRadius: 40 / 2,\n      padding: '0 10px',\n      fontSize: theme.typography.pxToRem(15)\n    }\n  }]\n})));\nconst PaginationItemPage = styled(ButtonBase, {\n  name: 'MuiPaginationItem',\n  slot: 'Root',\n  overridesResolver\n})(memoTheme(({\n  theme\n}) => ({\n  ...theme.typography.body2,\n  borderRadius: 32 / 2,\n  textAlign: 'center',\n  boxSizing: 'border-box',\n  minWidth: 32,\n  height: 32,\n  padding: '0 6px',\n  margin: '0 3px',\n  color: (theme.vars || theme).palette.text.primary,\n  [`&.${paginationItemClasses.focusVisible}`]: {\n    backgroundColor: (theme.vars || theme).palette.action.focus\n  },\n  [`&.${paginationItemClasses.disabled}`]: {\n    opacity: (theme.vars || theme).palette.action.disabledOpacity\n  },\n  transition: theme.transitions.create(['color', 'background-color'], {\n    duration: theme.transitions.duration.short\n  }),\n  '&:hover': {\n    backgroundColor: (theme.vars || theme).palette.action.hover,\n    // Reset on touch devices, it doesn't add specificity\n    '@media (hover: none)': {\n      backgroundColor: 'transparent'\n    }\n  },\n  [`&.${paginationItemClasses.selected}`]: {\n    backgroundColor: (theme.vars || theme).palette.action.selected,\n    '&:hover': {\n      backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),\n      // Reset on touch devices, it doesn't add specificity\n      '@media (hover: none)': {\n        backgroundColor: (theme.vars || theme).palette.action.selected\n      }\n    },\n    [`&.${paginationItemClasses.focusVisible}`]: {\n      backgroundColor: theme.vars ? `rgba(${theme.vars.palette.action.selectedChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.action.selected, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)\n    },\n    [`&.${paginationItemClasses.disabled}`]: {\n      opacity: 1,\n      color: (theme.vars || theme).palette.action.disabled,\n      backgroundColor: (theme.vars || theme).palette.action.selected\n    }\n  },\n  variants: [{\n    props: {\n      size: 'small'\n    },\n    style: {\n      minWidth: 26,\n      height: 26,\n      borderRadius: 26 / 2,\n      margin: '0 1px',\n      padding: '0 4px'\n    }\n  }, {\n    props: {\n      size: 'large'\n    },\n    style: {\n      minWidth: 40,\n      height: 40,\n      borderRadius: 40 / 2,\n      padding: '0 10px',\n      fontSize: theme.typography.pxToRem(15)\n    }\n  }, {\n    props: {\n      shape: 'rounded'\n    },\n    style: {\n      borderRadius: (theme.vars || theme).shape.borderRadius\n    }\n  }, {\n    props: {\n      variant: 'outlined'\n    },\n    style: {\n      border: theme.vars ? `1px solid rgba(${theme.vars.palette.common.onBackgroundChannel} / 0.23)` : `1px solid ${theme.palette.mode === 'light' ? 'rgba(0, 0, 0, 0.23)' : 'rgba(255, 255, 255, 0.23)'}`,\n      [`&.${paginationItemClasses.selected}`]: {\n        [`&.${paginationItemClasses.disabled}`]: {\n          borderColor: (theme.vars || theme).palette.action.disabledBackground,\n          color: (theme.vars || theme).palette.action.disabled\n        }\n      }\n    }\n  }, {\n    props: {\n      variant: 'text'\n    },\n    style: {\n      [`&.${paginationItemClasses.selected}`]: {\n        [`&.${paginationItemClasses.disabled}`]: {\n          color: (theme.vars || theme).palette.action.disabled\n        }\n      }\n    }\n  }, ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(['dark', 'contrastText'])).map(([color]) => ({\n    props: {\n      variant: 'text',\n      color\n    },\n    style: {\n      [`&.${paginationItemClasses.selected}`]: {\n        color: (theme.vars || theme).palette[color].contrastText,\n        backgroundColor: (theme.vars || theme).palette[color].main,\n        '&:hover': {\n          backgroundColor: (theme.vars || theme).palette[color].dark,\n          // Reset on touch devices, it doesn't add specificity\n          '@media (hover: none)': {\n            backgroundColor: (theme.vars || theme).palette[color].main\n          }\n        },\n        [`&.${paginationItemClasses.focusVisible}`]: {\n          backgroundColor: (theme.vars || theme).palette[color].dark\n        },\n        [`&.${paginationItemClasses.disabled}`]: {\n          color: (theme.vars || theme).palette.action.disabled\n        }\n      }\n    }\n  })), ...Object.entries(theme.palette).filter(createSimplePaletteValueFilter(['light'])).map(([color]) => ({\n    props: {\n      variant: 'outlined',\n      color\n    },\n    style: {\n      [`&.${paginationItemClasses.selected}`]: {\n        color: (theme.vars || theme).palette[color].main,\n        border: `1px solid ${theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / 0.5)` : alpha(theme.palette[color].main, 0.5)}`,\n        backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / ${theme.vars.palette.action.activatedOpacity})` : alpha(theme.palette[color].main, theme.palette.action.activatedOpacity),\n        '&:hover': {\n          backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / calc(${theme.vars.palette.action.activatedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette[color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity),\n          // Reset on touch devices, it doesn't add specificity\n          '@media (hover: none)': {\n            backgroundColor: 'transparent'\n          }\n        },\n        [`&.${paginationItemClasses.focusVisible}`]: {\n          backgroundColor: theme.vars ? `rgba(${theme.vars.palette[color].mainChannel} / calc(${theme.vars.palette.action.activatedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette[color].main, theme.palette.action.activatedOpacity + theme.palette.action.focusOpacity)\n        }\n      }\n    }\n  }))]\n})));\nconst PaginationItemPageIcon = styled('div', {\n  name: 'MuiPaginationItem',\n  slot: 'Icon'\n})(memoTheme(({\n  theme\n}) => ({\n  fontSize: theme.typography.pxToRem(20),\n  margin: '0 -8px',\n  variants: [{\n    props: {\n      size: 'small'\n    },\n    style: {\n      fontSize: theme.typography.pxToRem(18)\n    }\n  }, {\n    props: {\n      size: 'large'\n    },\n    style: {\n      fontSize: theme.typography.pxToRem(22)\n    }\n  }]\n})));\nconst PaginationItem = /*#__PURE__*/React.forwardRef(function PaginationItem(inProps, ref) {\n  const props = useDefaultProps({\n    props: inProps,\n    name: 'MuiPaginationItem'\n  });\n  const {\n    className,\n    color = 'standard',\n    component,\n    components = {},\n    disabled = false,\n    page,\n    selected = false,\n    shape = 'circular',\n    size = 'medium',\n    slots = {},\n    slotProps = {},\n    type = 'page',\n    variant = 'text',\n    ...other\n  } = props;\n  const ownerState = {\n    ...props,\n    color,\n    disabled,\n    selected,\n    shape,\n    size,\n    type,\n    variant\n  };\n  const isRtl = useRtl();\n  const classes = useUtilityClasses(ownerState);\n  const externalForwardedProps = {\n    slots: {\n      previous: slots.previous ?? components.previous,\n      next: slots.next ?? components.next,\n      first: slots.first ?? components.first,\n      last: slots.last ?? components.last\n    },\n    slotProps\n  };\n  const [PreviousSlot, previousSlotProps] = useSlot('previous', {\n    elementType: NavigateBeforeIcon,\n    externalForwardedProps,\n    ownerState\n  });\n  const [NextSlot, nextSlotProps] = useSlot('next', {\n    elementType: NavigateNextIcon,\n    externalForwardedProps,\n    ownerState\n  });\n  const [FirstSlot, firstSlotProps] = useSlot('first', {\n    elementType: FirstPageIcon,\n    externalForwardedProps,\n    ownerState\n  });\n  const [LastSlot, lastSlotProps] = useSlot('last', {\n    elementType: LastPageIcon,\n    externalForwardedProps,\n    ownerState\n  });\n  const rtlAwareType = isRtl ? {\n    previous: 'next',\n    next: 'previous',\n    first: 'last',\n    last: 'first'\n  }[type] : type;\n  const IconSlot = {\n    previous: PreviousSlot,\n    next: NextSlot,\n    first: FirstSlot,\n    last: LastSlot\n  }[rtlAwareType];\n  const iconSlotProps = {\n    previous: previousSlotProps,\n    next: nextSlotProps,\n    first: firstSlotProps,\n    last: lastSlotProps\n  }[rtlAwareType];\n  return type === 'start-ellipsis' || type === 'end-ellipsis' ? /*#__PURE__*/_jsx(PaginationItemEllipsis, {\n    ref: ref,\n    ownerState: ownerState,\n    className: clsx(classes.root, className),\n    children: \"\\u2026\"\n  }) : /*#__PURE__*/_jsxs(PaginationItemPage, {\n    ref: ref,\n    ownerState: ownerState,\n    component: component,\n    disabled: disabled,\n    className: clsx(classes.root, className),\n    ...other,\n    children: [type === 'page' && page, IconSlot ? /*#__PURE__*/_jsx(PaginationItemPageIcon, {\n      ...iconSlotProps,\n      className: classes.icon,\n      as: IconSlot\n    }) : null]\n  });\n});\nprocess.env.NODE_ENV !== \"production\" ? PaginationItem.propTypes /* remove-proptypes */ = {\n  // ┌────────────────────────────── Warning ──────────────────────────────┐\n  // │ These PropTypes are generated from the TypeScript type definitions. │\n  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │\n  // └─────────────────────────────────────────────────────────────────────┘\n  /**\n   * @ignore\n   */\n  children: PropTypes.node,\n  /**\n   * Override or extend the styles applied to the component.\n   */\n  classes: PropTypes.object,\n  /**\n   * @ignore\n   */\n  className: PropTypes.string,\n  /**\n   * The active color.\n   * It supports both default and custom theme colors, which can be added as shown in the\n   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n   * @default 'standard'\n   */\n  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),\n  /**\n   * The component used for the root node.\n   * Either a string to use a HTML element or a component.\n   */\n  component: PropTypes.elementType,\n  /**\n   * The components used for each slot inside.\n   *\n   * This prop is an alias for the `slots` prop.\n   * It's recommended to use the `slots` prop instead.\n   *\n   * @default {}\n   * @deprecated use the `slots` prop instead. This prop will be removed in a future major release. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.\n   */\n  components: PropTypes.shape({\n    first: PropTypes.elementType,\n    last: PropTypes.elementType,\n    next: PropTypes.elementType,\n    previous: PropTypes.elementType\n  }),\n  /**\n   * If `true`, the component is disabled.\n   * @default false\n   */\n  disabled: PropTypes.bool,\n  /**\n   * The current page number.\n   */\n  page: PropTypes.node,\n  /**\n   * If `true` the pagination item is selected.\n   * @default false\n   */\n  selected: PropTypes.bool,\n  /**\n   * The shape of the pagination item.\n   * @default 'circular'\n   */\n  shape: PropTypes.oneOf(['circular', 'rounded']),\n  /**\n   * The size of the component.\n   * @default 'medium'\n   */\n  size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),\n  /**\n   * The props used for each slot inside.\n   * @default {}\n   */\n  slotProps: PropTypes.shape({\n    first: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n    last: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n    next: PropTypes.oneOfType([PropTypes.func, PropTypes.object]),\n    previous: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n  }),\n  /**\n   * The components used for each slot inside.\n   * @default {}\n   */\n  slots: PropTypes.shape({\n    first: PropTypes.elementType,\n    last: PropTypes.elementType,\n    next: PropTypes.elementType,\n    previous: PropTypes.elementType\n  }),\n  /**\n   * The system prop that allows defining system overrides as well as additional CSS styles.\n   */\n  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n  /**\n   * The type of pagination item.\n   * @default 'page'\n   */\n  type: PropTypes.oneOf(['end-ellipsis', 'first', 'last', 'next', 'page', 'previous', 'start-ellipsis']),\n  /**\n   * The variant to use.\n   * @default 'text'\n   */\n  variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['outlined', 'text']), PropTypes.string])\n} : void 0;\nexport default PaginationItem;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport integerPropType from '@mui/utils/integerPropType';\nimport { getPaginationUtilityClass } from \"./paginationClasses.js\";\nimport usePagination from \"../usePagination/index.js\";\nimport PaginationItem from \"../PaginationItem/index.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n  const {\n    classes,\n    variant\n  } = ownerState;\n  const slots = {\n    root: ['root', variant],\n    ul: ['ul']\n  };\n  return composeClasses(slots, getPaginationUtilityClass, classes);\n};\nconst PaginationRoot = styled('nav', {\n  name: 'MuiPagination',\n  slot: 'Root',\n  overridesResolver: (props, styles) => {\n    const {\n      ownerState\n    } = props;\n    return [styles.root, styles[ownerState.variant]];\n  }\n})({});\nconst PaginationUl = styled('ul', {\n  name: 'MuiPagination',\n  slot: 'Ul'\n})({\n  display: 'flex',\n  flexWrap: 'wrap',\n  alignItems: 'center',\n  padding: 0,\n  margin: 0,\n  listStyle: 'none'\n});\nfunction defaultGetAriaLabel(type, page, selected) {\n  if (type === 'page') {\n    return `${selected ? '' : 'Go to '}page ${page}`;\n  }\n  return `Go to ${type} page`;\n}\nconst Pagination = /*#__PURE__*/React.forwardRef(function Pagination(inProps, ref) {\n  const props = useDefaultProps({\n    props: inProps,\n    name: 'MuiPagination'\n  });\n  const {\n    boundaryCount = 1,\n    className,\n    color = 'standard',\n    count = 1,\n    defaultPage = 1,\n    disabled = false,\n    getItemAriaLabel = defaultGetAriaLabel,\n    hideNextButton = false,\n    hidePrevButton = false,\n    onChange,\n    page,\n    renderItem = item => /*#__PURE__*/_jsx(PaginationItem, {\n      ...item\n    }),\n    shape = 'circular',\n    showFirstButton = false,\n    showLastButton = false,\n    siblingCount = 1,\n    size = 'medium',\n    variant = 'text',\n    ...other\n  } = props;\n  const {\n    items\n  } = usePagination({\n    ...props,\n    componentName: 'Pagination'\n  });\n  const ownerState = {\n    ...props,\n    boundaryCount,\n    color,\n    count,\n    defaultPage,\n    disabled,\n    getItemAriaLabel,\n    hideNextButton,\n    hidePrevButton,\n    renderItem,\n    shape,\n    showFirstButton,\n    showLastButton,\n    siblingCount,\n    size,\n    variant\n  };\n  const classes = useUtilityClasses(ownerState);\n  return /*#__PURE__*/_jsx(PaginationRoot, {\n    \"aria-label\": \"pagination navigation\",\n    className: clsx(classes.root, className),\n    ownerState: ownerState,\n    ref: ref,\n    ...other,\n    children: /*#__PURE__*/_jsx(PaginationUl, {\n      className: classes.ul,\n      ownerState: ownerState,\n      children: items.map((item, index) => /*#__PURE__*/_jsx(\"li\", {\n        children: renderItem({\n          ...item,\n          color,\n          'aria-label': getItemAriaLabel(item.type, item.page, item.selected),\n          shape,\n          size,\n          variant\n        })\n      }, index))\n    })\n  });\n});\n\n// @default tags synced with default values from usePagination\n\nprocess.env.NODE_ENV !== \"production\" ? Pagination.propTypes /* remove-proptypes */ = {\n  // ┌────────────────────────────── Warning ──────────────────────────────┐\n  // │ These PropTypes are generated from the TypeScript type definitions. │\n  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │\n  // └─────────────────────────────────────────────────────────────────────┘\n  /**\n   * Number of always visible pages at the beginning and end.\n   * @default 1\n   */\n  boundaryCount: integerPropType,\n  /**\n   * Override or extend the styles applied to the component.\n   */\n  classes: PropTypes.object,\n  /**\n   * @ignore\n   */\n  className: PropTypes.string,\n  /**\n   * The active color.\n   * It supports both default and custom theme colors, which can be added as shown in the\n   * [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).\n   * @default 'standard'\n   */\n  color: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['primary', 'secondary', 'standard']), PropTypes.string]),\n  /**\n   * The total number of pages.\n   * @default 1\n   */\n  count: integerPropType,\n  /**\n   * The page selected by default when the component is uncontrolled.\n   * @default 1\n   */\n  defaultPage: integerPropType,\n  /**\n   * If `true`, the component is disabled.\n   * @default false\n   */\n  disabled: PropTypes.bool,\n  /**\n   * Accepts a function which returns a string value that provides a user-friendly name for the current page.\n   * This is important for screen reader users.\n   *\n   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).\n   * @param {string} type The link or button type to format ('page' | 'first' | 'last' | 'next' | 'previous' | 'start-ellipsis' | 'end-ellipsis'). Defaults to 'page'.\n   * @param {number | null} page The page number to format.\n   * @param {boolean} selected If true, the current page is selected.\n   * @returns {string}\n   */\n  getItemAriaLabel: PropTypes.func,\n  /**\n   * If `true`, hide the next-page button.\n   * @default false\n   */\n  hideNextButton: PropTypes.bool,\n  /**\n   * If `true`, hide the previous-page button.\n   * @default false\n   */\n  hidePrevButton: PropTypes.bool,\n  /**\n   * Callback fired when the page is changed.\n   *\n   * @param {React.ChangeEvent<unknown>} event The event source of the callback.\n   * @param {number} page The page selected.\n   */\n  onChange: PropTypes.func,\n  /**\n   * The current page. Unlike `TablePagination`, which starts numbering from `0`, this pagination starts from `1`.\n   */\n  page: integerPropType,\n  /**\n   * Render the item.\n   * @param {PaginationRenderItemParams} params The props to spread on a PaginationItem.\n   * @returns {ReactNode}\n   * @default (item) => <PaginationItem {...item} />\n   */\n  renderItem: PropTypes.func,\n  /**\n   * The shape of the pagination items.\n   * @default 'circular'\n   */\n  shape: PropTypes.oneOf(['circular', 'rounded']),\n  /**\n   * If `true`, show the first-page button.\n   * @default false\n   */\n  showFirstButton: PropTypes.bool,\n  /**\n   * If `true`, show the last-page button.\n   * @default false\n   */\n  showLastButton: PropTypes.bool,\n  /**\n   * Number of always visible pages before and after the current page.\n   * @default 1\n   */\n  siblingCount: integerPropType,\n  /**\n   * The size of the component.\n   * @default 'medium'\n   */\n  size: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['small', 'medium', 'large']), PropTypes.string]),\n  /**\n   * The system prop that allows defining system overrides as well as additional CSS styles.\n   */\n  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n  /**\n   * The variant to use.\n   * @default 'text'\n   */\n  variant: PropTypes /* @typescript-to-proptypes-ignore */.oneOfType([PropTypes.oneOf(['outlined', 'text']), PropTypes.string])\n} : void 0;\nexport default Pagination;","'use client';\n\nimport useControlled from '@mui/utils/useControlled';\nexport default function usePagination(props = {}) {\n  // keep default values in sync with @default tags in Pagination.propTypes\n  const {\n    boundaryCount = 1,\n    componentName = 'usePagination',\n    count = 1,\n    defaultPage = 1,\n    disabled = false,\n    hideNextButton = false,\n    hidePrevButton = false,\n    onChange: handleChange,\n    page: pageProp,\n    showFirstButton = false,\n    showLastButton = false,\n    siblingCount = 1,\n    ...other\n  } = props;\n  const [page, setPageState] = useControlled({\n    controlled: pageProp,\n    default: defaultPage,\n    name: componentName,\n    state: 'page'\n  });\n  const handleClick = (event, value) => {\n    if (!pageProp) {\n      setPageState(value);\n    }\n    if (handleChange) {\n      handleChange(event, value);\n    }\n  };\n\n  // https://dev.to/namirsab/comment/2050\n  const range = (start, end) => {\n    const length = end - start + 1;\n    return Array.from({\n      length\n    }, (_, i) => start + i);\n  };\n  const startPages = range(1, Math.min(boundaryCount, count));\n  const endPages = range(Math.max(count - boundaryCount + 1, boundaryCount + 1), count);\n  const siblingsStart = Math.max(Math.min(\n  // Natural start\n  page - siblingCount,\n  // Lower boundary when page is high\n  count - boundaryCount - siblingCount * 2 - 1),\n  // Greater than startPages\n  boundaryCount + 2);\n  const siblingsEnd = Math.min(Math.max(\n  // Natural end\n  page + siblingCount,\n  // Upper boundary when page is low\n  boundaryCount + siblingCount * 2 + 2),\n  // Less than endPages\n  count - boundaryCount - 1);\n\n  // Basic list of items to render\n  // for example itemList = ['first', 'previous', 1, 'ellipsis', 4, 5, 6, 'ellipsis', 10, 'next', 'last']\n  const itemList = [...(showFirstButton ? ['first'] : []), ...(hidePrevButton ? [] : ['previous']), ...startPages,\n  // Start ellipsis\n  // eslint-disable-next-line no-nested-ternary\n  ...(siblingsStart > boundaryCount + 2 ? ['start-ellipsis'] : boundaryCount + 1 < count - boundaryCount ? [boundaryCount + 1] : []),\n  // Sibling pages\n  ...range(siblingsStart, siblingsEnd),\n  // End ellipsis\n  // eslint-disable-next-line no-nested-ternary\n  ...(siblingsEnd < count - boundaryCount - 1 ? ['end-ellipsis'] : count - boundaryCount > boundaryCount ? [count - boundaryCount] : []), ...endPages, ...(hideNextButton ? [] : ['next']), ...(showLastButton ? ['last'] : [])];\n\n  // Map the button type to its page number\n  const buttonPage = type => {\n    switch (type) {\n      case 'first':\n        return 1;\n      case 'previous':\n        return page - 1;\n      case 'next':\n        return page + 1;\n      case 'last':\n        return count;\n      default:\n        return null;\n    }\n  };\n\n  // Convert the basic item list to PaginationItem props objects\n  const items = itemList.map(item => {\n    return typeof item === 'number' ? {\n      onClick: event => {\n        handleClick(event, item);\n      },\n      type: 'page',\n      page: item,\n      selected: item === page,\n      disabled,\n      'aria-current': item === page ? 'page' : undefined\n    } : {\n      onClick: event => {\n        handleClick(event, buttonPage(item));\n      },\n      type: item,\n      page: buttonPage(item),\n      selected: false,\n      disabled: disabled || !item.includes('ellipsis') && (item === 'next' || item === 'last' ? page >= count : page <= 1)\n    };\n  });\n  return {\n    items,\n    ...other\n  };\n}","import React from 'react';\nimport Grid from '@mui/material/Grid';\nimport Pagination from '@mui/material/Pagination';\nimport PaginationItem from '@mui/material/PaginationItem';\nconst styles = {\n    paginationContainer: (theme) => ({\n        margin: theme.spacing(4, 0),\n        justifyContent: 'center',\n        [theme.breakpoints.up('sm')]: {\n            justifyContent: 'flex-end',\n        },\n    }),\n    pagination: {\n        '&.MuiPagination-ul': {\n            justifyContent: 'flex-end',\n        },\n    },\n    paginationItemLarge: (theme) => ({\n        '&.MuiPaginationItem-sizeLarge': {\n            fontSize: theme.spacing(2.5),\n            height: theme.spacing(6),\n            width: theme.spacing(6),\n            minWidth: theme.spacing(6),\n            borderRadius: '50%',\n            color: theme.palette.primary.light,\n            '&:link': {\n                color: theme.palette.primary.light,\n            },\n            '&:visited': {\n                color: theme.palette.primary.light,\n            },\n            [theme.breakpoints.down('sm')]: {\n                height: theme.spacing(3.5),\n                width: theme.spacing(3.5),\n                minWidth: theme.spacing(3.5),\n            },\n        },\n    }),\n    paginationItemEllipsis: {\n        '& .MuiPaginationItem-ellipsis': {\n            height: 'auto',\n        },\n    },\n    selectedPaginationItem: (theme) => ({\n        '&.Mui-selected': {\n            border: `1px solid ${theme.palette.primary.light}`,\n            backgroundColor: 'transparent !important',\n            '&:hover': {\n                color: theme.palette.background.default,\n                backgroundColor: `${theme.palette.primary.contrastText} !important`,\n            },\n        },\n    }),\n};\nconst PaginationList = ({ pages, pageLinks, currentPage, paginationHandler, }) => (React.createElement(Grid, { container: true, sx: styles.paginationContainer }, pages <= 1 ? null : (React.createElement(Pagination, { sx: styles.pagination, count: pages, page: currentPage, variant: \"outlined\", size: \"large\", onChange: paginationHandler, renderItem: (item) => (React.createElement(PaginationItem, { ...item, component: \"a\", href: pageLinks[item.page - 1], variant: \"text\", sx: [\n            styles.paginationItemLarge,\n            styles.selectedPaginationItem,\n            styles.paginationItemEllipsis,\n        ] })), hidePrevButton: currentPage === 1, hideNextButton: currentPage === pages }))));\nexport default (PaginationList);\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function attr_2(props) {\n    return (\n    // sun exposure\n    React.createElement(SvgIcon, { ...props, viewBox: \"0 0 65 65\" },\n        React.createElement(\"path\", { d: \"M34.4,2.7 C34.4,1.5 33.5,0.6 32.3,0.6 C31.1,0.6 30.2,1.5 30.2,2.7 L30.2,12.2 C30.2,13.4 31.1,14.3 32.3,14.3 C33.5,14.3 34.4,13.4 34.4,12.2 L34.4,2.7 Z\" }),\n        React.createElement(\"path\", { d: \"M34.4,53 C34.4,51.8 33.5,50.9 32.3,50.9 C31.1,50.9 30.2,51.8 30.2,53 L30.2,62.5 C30.2,63.7 31.1,64.6 32.3,64.6 C33.5,64.6 34.4,63.7 34.4,62.5 L34.4,53 Z\" }),\n        React.createElement(\"path\", { d: \"M62.2,30.5 L52.7,30.5 C51.5,30.5 50.6,31.4 50.6,32.6 C50.6,33.8 51.5,34.7 52.7,34.7 L62.2,34.7 C63.4,34.7 64.3,33.8 64.3,32.6 C64.3,31.4 63.3,30.5 62.2,30.5 Z\" }),\n        React.createElement(\"path\", { d: \"M11.9,30.5 L2.4,30.5 C1.2,30.5 0.3,31.4 0.3,32.6 C0.3,33.8 1.2,34.7 2.4,34.7 L11.9,34.7 C12.5,34.7 13,34.5 13.4,34.1 C13.8,33.7 14,33.2 14,32.6 C14,31.4 13,30.5 11.9,30.5 Z\" }),\n        React.createElement(\"path\", { d: \"M55.5,11.5 C55.5,10.9 55.3,10.4 54.9,10 C54.5,9.6 54,9.4 53.4,9.4 C53.4,9.4 53.4,9.4 53.4,9.4 C52.8,9.4 52.3,9.6 51.9,10 L45.2,16.7 C44.8,17.1 44.6,17.6 44.6,18.2 C44.6,18.8 44.8,19.3 45.2,19.7 C46,20.5 47.4,20.5 48.2,19.7 L54.9,13 C55.3,12.6 55.5,12 55.5,11.5 Z\" }),\n        React.createElement(\"path\", { d: \"M19.3,48.5 C20.1,47.7 20.1,46.3 19.3,45.5 C18.9,45.1 18.4,44.9 17.8,44.9 C17.2,44.9 16.7,45.1 16.3,45.5 L9.6,52.2 C9.2,52.6 9,53.1 9,53.7 C9,54.3 9.2,54.8 9.6,55.2 C10.4,56 11.8,56 12.6,55.2 L19.3,48.5 Z\" }),\n        React.createElement(\"path\", { d: \"M45.2,48.5 L51.9,55.2 C52.7,56 54.1,56 54.9,55.2 C55.3,54.8 55.5,54.3 55.5,53.7 C55.5,53.1 55.3,52.6 54.9,52.2 L48.2,45.5 C47.8,45.1 47.2,44.9 46.7,44.9 C46.2,44.9 45.6,45.1 45.2,45.5 C44.8,45.9 44.6,46.4 44.6,47 C44.6,47.6 44.8,48.1 45.2,48.5 Z\" }),\n        React.createElement(\"path\", { d: \"M19.3,16.7 L12.6,10 C12.2,9.6 11.7,9.4 11.1,9.4 C10.5,9.4 10,9.6 9.6,10 C9.2,10.4 9,10.9 9,11.5 C9,12.1 9.2,12.6 9.6,13 L16.3,19.7 C17.1,20.5 18.5,20.5 19.3,19.7 C20.2,18.9 20.2,17.5 19.3,16.7 Z\" }),\n        React.createElement(\"path\", { d: \"M32.3,18.3 C24.3,18.3 17.8,24.8 17.8,32.8 C17.8,40.8 24.3,47.3 32.3,47.3 C40.3,47.3 46.8,40.8 46.8,32.8 C46.8,24.8 40.3,18.3 32.3,18.3 Z M22,32.7 C22,27 26.6,22.4 32.3,22.4 L32.3,43 C26.6,43 22,38.4 22,32.7 Z\" })));\n}\n","import React from 'react';\nimport SearchResultsItem from './SearchResultsItem';\nimport SearchResultsItemLoading from './SearchResultsItemLoading';\nimport PaginationList from '../PaginationList/PaginationList';\nimport { getUrlQuery, newSearchPath } from '../../utils/helpers';\nimport Disclaimer from '../CommonComponents/Disclaimer';\nimport api from '../../services/api';\nclass SearchResultsEmpty extends React.Component {\n    constructor(props) {\n        super(props);\n        this.hasSpellingSuggestion = () => {\n            const { spellingSuggestion } = this.props;\n            return Boolean((spellingSuggestion === null || spellingSuggestion === void 0 ? void 0 : spellingSuggestion.spelling_suggestion) && (spellingSuggestion === null || spellingSuggestion === void 0 ? void 0 : spellingSuggestion.url));\n        };\n        this.buildPageLinks = (query, pages) => {\n            const normalisedQuery = query.startsWith('?') ? query.substring(1) : query;\n            if (!normalisedQuery || pages <= 0)\n                return [];\n            return Array.from({ length: pages }, (_value, index) => newSearchPath(window.location.pathname, normalisedQuery, index + 1));\n        };\n        this.setSearchResponseState = (data, queryForLinks) => {\n            const { nursery, zone } = this.props;\n            this.setState({\n                nursery,\n                zone,\n                plantsCount: data.plant_count,\n                pages: data.pages || 0,\n                currentPage: data.page || 1,\n                pageLinks: this.buildPageLinks(queryForLinks, data.pages || 0),\n                searchResultsLoading: false,\n                searchData: data.plants || [],\n            });\n        };\n        this.loadSearchResults = () => {\n            const { search, apiURL, spellingSuggestion, } = this.props;\n            if (!search) {\n                this.setState({\n                    searchResultsLoading: false,\n                });\n                return;\n            }\n            this.setState({\n                searchData: [],\n                searchResultsLoading: true,\n                plantsCount: 0,\n                pages: 0,\n                currentPage: 1,\n                pageLinks: [],\n            });\n            if (this.hasSpellingSuggestion()) {\n                const getURL = apiURL || `/searchq/?${spellingSuggestion.url}`;\n                api.home.getAny(getURL).then((data) => this.setSearchResponseState(data, spellingSuggestion.url));\n                return;\n            }\n            const fallbackQuery = getUrlQuery(search);\n            api.home.generalSearch(fallbackQuery).then((data) => this.setSearchResponseState(data, fallbackQuery));\n        };\n        this.clearFilters = (filters) => {\n            const { setFilter } = this.props;\n            setFilter('', 0, filters);\n        };\n        this.state = {\n            zone: '',\n            nursery: '',\n            plantsCount: 0,\n            pages: 0,\n            currentPage: 1,\n            pageLinks: [],\n            searchData: [],\n            searchResultsLoading: true,\n        };\n    }\n    componentDidMount() {\n        this.loadSearchResults();\n    }\n    // results update when a secondary search is done and a spellingSuggestion exists\n    componentDidUpdate(prevProps) {\n        const { search, spellingSuggestion, apiURL } = this.props;\n        const queryChanged = prevProps.search !== search;\n        const spellingChanged = prevProps.spellingSuggestion.url !== spellingSuggestion.url\n            || prevProps.spellingSuggestion.spelling_suggestion !== spellingSuggestion.spelling_suggestion;\n        const apiUrlChanged = prevProps.apiURL !== apiURL;\n        if (queryChanged || spellingChanged || apiUrlChanged) {\n            this.loadSearchResults();\n        }\n    }\n    render() {\n        const { searchResultsLoading, plantsCount, nursery, zone, searchData, pages, currentPage, pageLinks, } = this.state;\n        const { searchTerm, spellingSuggestion, addToShopifyCart, filteredAttrValues, paginationHandler, } = this.props;\n        if (searchResultsLoading) {\n            return React.createElement(SearchResultsItemLoading, null);\n        }\n        const containerClass = 'searchpage__results_container';\n        let emptyPrompt;\n        if (plantsCount >= 0) {\n            emptyPrompt = (React.createElement(\"div\", { key: 0, className: \"searchpage__result_empty\" },\n                React.createElement(\"div\", null,\n                    React.createElement(\"h3\", null, \"Sorry!\")),\n                React.createElement(\"div\", null,\n                    React.createElement(\"p\", null, \"We didn't find any matches for your search\"),\n                    React.createElement(\"h5\", null, \"Tip: \"),\n                    React.createElement(\"p\", null, \"You might have better luck if you simplify your search with more general search terms.\"),\n                    React.createElement(\"p\", null,\n                        \"Also, we might not have the plant you're looking for in our database yet.\",\n                        React.createElement(\"br\", null),\n                        React.createElement(\"a\", { href: \"/genus_index/\" }, \"See our index of all plants.\")))));\n        }\n        const suggestionPrompt = (React.createElement(\"div\", null,\n            React.createElement(\"p\", { className: \"plant_count\" },\n                `${plantsCount} Result${plantsCount === 1 ? '' : 's'} for `,\n                React.createElement(\"span\", null, spellingSuggestion.spelling_suggestion)),\n            React.createElement(\"p\", { className: \"searchpage__spelling_note\" },\n                \"No results found for\",\n                ' ',\n                React.createElement(\"em\", null, searchTerm))));\n        let items = null;\n        let filterHeader = null;\n        let disclaimer = null;\n        if (plantsCount > 0) {\n            let activeFilters = [];\n            const filtersArr = Object.values(filteredAttrValues || {});\n            if (filtersArr.length > 0) {\n                activeFilters = filtersArr.map((item) => {\n                    let val = '';\n                    const newValues = Object.values(item.values);\n                    newValues.forEach((value, i) => {\n                        val += i < newValues.length - 1 ? `${value}, ` : value;\n                    });\n                    return `${item.attribute} | ${val}`;\n                });\n            }\n            if (nursery) {\n                activeFilters.push(`Nursery | ${nursery}`);\n            }\n            if (zone && zone !== '0') {\n                activeFilters.push(`zone | ${zone}`);\n            }\n            const filtersElements = activeFilters.map((item) => React.createElement(\"li\", { key: item }, item));\n            const plantCount = plantsCount;\n            const plural = plantCount === 1 ? '' : 's';\n            filterHeader = (React.createElement(\"div\", { key: 1, className: \"searchpage__null_header\" },\n                React.createElement(\"p\", { className: \"searchpage__filters_summary\" },\n                    \"Without filters your search returns\",\n                    ' ',\n                    React.createElement(\"em\", null,\n                        plantCount,\n                        ' ',\n                        \"result\",\n                        plural)),\n                React.createElement(\"ul\", { className: \"searchpage__filters_omit\" },\n                    filtersElements,\n                    React.createElement(\"li\", { className: \"searchpage__filters_clear\", onClick: this.clearFilters.bind(this, activeFilters), onKeyDown: this.clearFilters.bind(this, activeFilters) }, \"Clear Filters\"))));\n            items = searchData && searchData.length > 0\n                && searchData.map((item, index) => (React.createElement(SearchResultsItem, { index: index, onAddToShopifyCart: addToShopifyCart, data: item, key: item.django_pk, isAvailable: true })));\n            disclaimer = searchData && searchData.length > 0 && (searchData === null || searchData === void 0 ? void 0 : searchData.some((plant) => plant.is_for_sale)) && (React.createElement(Disclaimer, { sx: { padding: '0 20px 20px' } }));\n        }\n        const pagination = pages > 1 && pageLinks.length > 0 && (React.createElement(PaginationList, { pages: pages, pageLinks: pageLinks, currentPage: currentPage, paginationHandler: paginationHandler || (() => null) }));\n        const spellingSuggestionExists = this.hasSpellingSuggestion();\n        return (React.createElement(\"div\", { className: containerClass },\n            React.createElement(\"div\", { className: \"searchpage__results\" },\n                spellingSuggestionExists\n                    ? suggestionPrompt\n                    : [emptyPrompt, filterHeader],\n                items,\n                pagination,\n                disclaimer)));\n    }\n}\nexport default SearchResultsEmpty;\n","import React from 'react';\nimport { AttributeIcon } from '../../themes/icons/attributes';\nconst SearchFiltersItem = ({ values, searchValue, setSubs, label, activeValues, activeTab, }) => {\n    const active = activeTab === searchValue;\n    let filterCount = 0;\n    values.forEach((item) => {\n        if (activeValues[item.pk]) {\n            filterCount += 1;\n        }\n    });\n    const filterClass = filterCount > 0 ? 'filter_count' : 'filter_count empty';\n    const num = filterCount > 0 ? filterCount.toString() : '';\n    const attrId = `attr${searchValue}`;\n    const handleSelect = () => setSubs(values, searchValue);\n    return (React.createElement(\"li\", { className: active ? 'active' : '', key: searchValue, onClick: handleSelect, onKeyDown: handleSelect },\n        React.createElement(AttributeIcon, { name: attrId, className: \"icn-filter\" }),\n        React.createElement(\"h5\", null, label),\n        React.createElement(\"span\", { className: filterClass }, num)));\n};\nexport default SearchFiltersItem;\n","import React from 'react';\nimport Box from '@mui/material/Box';\nimport Skeleton from '@mui/material/Skeleton';\nexport default function SearchFiltersLoading() {\n    return (React.createElement(Box, { sx: {\n            display: 'flex', py: 0, px: 1,\n        } }, [0, 1, 2, 3, 4, 5].map((index) => (React.createElement(Skeleton, { key: index, sx: {\n            borderRadius: 1.25, my: 0, mx: 1,\n        }, variant: \"rectangular\", animation: \"wave\", width: 160, height: 48 })))));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function icn_gear_filter(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 24 24\" },\n        React.createElement(\"path\", { d: \"M12,9.6716 C10.716,9.6716 9.672,10.7166 9.672,11.9996 C9.672,13.2836 10.716,14.3286 12,14.3286 C13.284,14.3286 14.328,13.2836 14.328,11.9996 C14.328,10.7166 13.284,9.6716 12,9.6716 L12,9.6716 Z M12,15.4026 C10.124,15.4026 8.597,13.8766 8.597,11.9996 C8.597,10.1236 10.124,8.5966 12,8.5966 C13.876,8.5966 15.403,10.1236 15.403,11.9996 C15.403,13.8766 13.876,15.4026 12,15.4026 L12,15.4026 Z M23.463,14.1516 L23.466,14.1516 L23.463,14.1516 Z M10.304,22.9256 L13.696,22.9256 L14.172,20.0726 C14.205,19.8756 14.344,19.7136 14.533,19.6506 C14.905,19.5276 15.271,19.3756 15.619,19.2006 C15.797,19.1116 16.01,19.1276 16.173,19.2436 L18.527,20.9236 L20.925,18.5256 L19.247,16.1776 C19.131,16.0146 19.115,15.8006 19.205,15.6226 C19.382,15.2746 19.535,14.9066 19.66,14.5306 C19.722,14.3406 19.885,14.2026 20.081,14.1696 L22.925,13.6956 L22.925,10.3036 L20.088,9.8316 C19.891,9.7986 19.728,9.6586 19.666,9.4686 C19.542,9.0906 19.388,8.7206 19.211,8.3666 C19.122,8.1886 19.138,7.9756 19.254,7.8126 L20.924,5.4746 L18.525,3.0756 L16.191,4.7426 C16.028,4.8586 15.815,4.8746 15.637,4.7856 C15.28,4.6056 14.908,4.4506 14.529,4.3256 C14.339,4.2636 14.2,4.1006 14.167,3.9036 L13.696,1.0746 L10.304,1.0746 L9.832,3.9036 C9.799,4.1006 9.66,4.2626 9.471,4.3256 C9.092,4.4506 8.719,4.6046 8.363,4.7846 C8.184,4.8746 7.971,4.8586 7.809,4.7416 L5.473,3.0756 L3.074,5.4736 L4.746,7.8126 C4.861,7.9746 4.878,8.1876 4.788,8.3656 C4.609,8.7226 4.456,9.0936 4.333,9.4676 C4.271,9.6576 4.109,9.7976 3.911,9.8306 L1.075,10.3036 L1.075,13.6966 L3.919,14.1706 C4.115,14.2026 4.278,14.3416 4.34,14.5306 C4.465,14.9056 4.618,15.2736 4.795,15.6226 C4.885,15.8006 4.869,16.0146 4.753,16.1776 L3.074,18.5256 L5.473,20.9246 L7.827,19.2446 C7.989,19.1286 8.202,19.1116 8.38,19.2006 C8.733,19.3776 9.099,19.5296 9.467,19.6516 C9.656,19.7136 9.795,19.8766 9.828,20.0736 L10.304,22.9256 Z M14.151,23.9996 L9.849,23.9996 C9.586,23.9996 9.362,23.8106 9.319,23.5506 L8.82,20.5626 C8.609,20.4846 8.4,20.3976 8.193,20.3036 L5.727,22.0636 C5.514,22.2156 5.221,22.1926 5.035,22.0066 L1.993,18.9636 C1.807,18.7776 1.783,18.4856 1.935,18.2716 L3.693,15.8116 C3.597,15.6046 3.509,15.3926 3.429,15.1776 L0.449,14.6816 C0.19,14.6376 0,14.4136 0,14.1516 L0,9.8486 C0,9.5856 0.19,9.3616 0.449,9.3186 L3.42,8.8226 C3.5,8.6056 3.589,8.3906 3.686,8.1786 L1.935,5.7276 C1.783,5.5136 1.807,5.2216 1.993,5.0356 L5.035,1.9936 C5.221,1.8076 5.514,1.7836 5.727,1.9366 L8.174,3.6826 C8.387,3.5846 8.604,3.4946 8.824,3.4126 L9.319,0.4486 C9.362,0.1896 9.586,-0.0004 9.849,-0.0004 L14.151,-0.0004 C14.414,-0.0004 14.638,0.1896 14.681,0.4496 L15.175,3.4136 C15.395,3.4956 15.612,3.5856 15.825,3.6836 L18.271,1.9366 C18.485,1.7836 18.778,1.8076 18.963,1.9936 L22.006,5.0366 C22.192,5.2226 22.216,5.5156 22.063,5.7296 L20.313,8.1796 C20.41,8.3896 20.498,8.6056 20.579,8.8236 L23.551,9.3186 C23.81,9.3616 24,9.5856 24,9.8486 L24,14.1516 C24,14.4136 23.81,14.6386 23.551,14.6816 L20.571,15.1776 C20.491,15.3926 20.403,15.6046 20.307,15.8116 L22.064,18.2716 C22.217,18.4856 22.193,18.7776 22.007,18.9636 L18.965,22.0056 C18.779,22.1916 18.486,22.2156 18.273,22.0626 L15.807,20.3026 C15.601,20.3966 15.392,20.4836 15.18,20.5626 L14.681,23.5506 C14.638,23.8096 14.414,23.9996 14.151,23.9996 L14.151,23.9996 Z\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function icn_clear_filter(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"-1 -1 18 18\" },\n        React.createElement(\"path\", { d: \"M8,16.5c-4.7,0-8.5-3.8-8.5-8.5c0-4.7,3.8-8.5,8.5-8.5c4.7,0,8.5,3.8,8.5,8.5C16.5,12.7,12.7,16.5,8,16.5z\\n     M8,0.5C3.9,0.5,0.5,3.9,0.5,8s3.4,7.5,7.5,7.5s7.5-3.4,7.5-7.5S12.1,0.5,8,0.5z\" }),\n        React.createElement(\"rect\", { x: \"4\", y: \"7.5\", transform: \"matrix(0.7071 -0.7071 0.7071 0.7071 -3.3137 8)\", width: \"8\", height: \"1\" }),\n        React.createElement(\"rect\", { x: \"7.5\", y: \"4\", transform: \"matrix(0.7071 -0.7071 0.7071 0.7071 -3.3137 8)\", width: \"1\", height: \"8\" })));\n}\n","import React from 'react';\nimport isEqual from 'fast-deep-equal';\nimport SearchFiltersItem from './SearchFiltersItem';\nimport SearchFiltersLoading from './SearchFiltersLoading';\nimport { IcnClearFilter, IcnGearFilter } from '../../themes/icons/attributes';\nconst scrollLimit = 2300;\nclass SearchFilters extends React.Component {\n    constructor(props) {\n        super(props);\n        this.elementRef = React.createRef();\n        this.syncActivePk = (filters) => {\n            const activePk = [];\n            Object.values(filters).forEach((filter) => {\n                Object.keys(filter.values).forEach((value) => {\n                    activePk.push(Number(value));\n                });\n            });\n            this.setState({ activePk });\n        };\n        this.measureRef = (element) => {\n            if (element) {\n                this.elementRef = element;\n                this.processWidth(Math.round(element.getBoundingClientRect().width));\n            }\n        };\n        this.processWidth = (containerWidth) => {\n            this.setState({\n                containerWidth,\n            });\n        };\n        this.scrollFilters = (direction) => {\n            const { scrollMargin, containerWidth } = this.state;\n            const newState = {};\n            if (direction === 'right') {\n                if (scrollMargin <= 0\n                    && scrollMargin >= -(scrollLimit - containerWidth)) {\n                    if (scrollMargin - containerWidth\n                        < -(scrollLimit - containerWidth)) {\n                        newState.scrollMargin = -(scrollLimit - containerWidth);\n                    }\n                    else {\n                        newState.scrollMargin = scrollMargin - containerWidth / 2;\n                    }\n                    if (newState.scrollMargin === -(scrollLimit - containerWidth)) {\n                        newState.rightActive = false;\n                        newState.leftActive = true;\n                    }\n                    else {\n                        newState.rightActive = true;\n                        newState.leftActive = true;\n                    }\n                }\n            }\n            else if (scrollMargin < 0) {\n                if (scrollMargin + containerWidth > 0) {\n                    newState.scrollMargin = 0;\n                }\n                else {\n                    newState.scrollMargin = scrollMargin + containerWidth / 2;\n                }\n                if (newState.scrollMargin < 0) {\n                    newState.rightActive = true;\n                    newState.leftActive = true;\n                }\n                else if (newState.scrollMargin >= 0) {\n                    newState.rightActive = true;\n                    newState.leftActive = false;\n                }\n            }\n            this.setState(newState);\n        };\n        this.setSubs = (filters, val) => {\n            const { activeTab } = this.state;\n            const newState = {};\n            newState.subFilters = filters;\n            if (val === activeTab) {\n                newState.filtersOpen = false;\n                newState.activeTab = 0;\n            }\n            else {\n                newState.filtersOpen = true;\n                newState.activeTab = val;\n            }\n            this.setState(newState);\n        };\n        this.updateFilters = (key, value) => {\n            const { setFilter, searchLoading } = this.props;\n            if (searchLoading)\n                return;\n            const { activePk } = this.state;\n            const isActive = activePk.indexOf(value) !== -1;\n            const updatedActivePk = isActive ? activePk.filter((v) => v !== value) : [...activePk, value];\n            this.setState({\n                activePk: updatedActivePk,\n            });\n            setFilter(key.toString(), value);\n        };\n        this.clearFilters = () => {\n            const { setFilter } = this.props;\n            setFilter('', 0);\n        };\n        this.state = {\n            filtersOpen: false,\n            subFilters: [],\n            activeTab: 0,\n            activePk: [],\n            scrollMargin: 0,\n            containerWidth: 0,\n            leftActive: false,\n            rightActive: true,\n        };\n    }\n    componentDidUpdate(prevProps) {\n        var _a;\n        const prevFilters = ((_a = prevProps.searchData) === null || _a === void 0 ? void 0 : _a.filtered_attr_values) || {};\n        const { searchData } = this.props;\n        const nextFilters = (searchData === null || searchData === void 0 ? void 0 : searchData.filtered_attr_values) || {};\n        if (!isEqual(prevFilters, nextFilters)) {\n            this.syncActivePk(nextFilters);\n        }\n    }\n    render() {\n        const { activeTab, filtersOpen, subFilters, activePk, leftActive, rightActive, scrollMargin, } = this.state;\n        const { attributeTypes, searchData, searchLoading } = this.props;\n        const filters = (searchData === null || searchData === void 0 ? void 0 : searchData.filtered_attr_values) || {};\n        const searchFiltersLoading = searchLoading && (!attributeTypes || attributeTypes.length === 0);\n        let items;\n        if (searchFiltersLoading) {\n            items = React.createElement(SearchFiltersLoading, null);\n        }\n        else if ((attributeTypes && attributeTypes.length > 0)\n            || Object.keys(filters).length > 0) {\n            items = attributeTypes.map((item) => {\n                if (filters[item.pk]) {\n                    const activeValues = filters[item.pk].values;\n                    // set filters\n                    return (React.createElement(SearchFiltersItem, { label: item.attribute, values: item.values, activeValues: activeValues, searchValue: item.pk, key: item.pk, setSubs: this.setSubs, activeTab: activeTab }));\n                }\n                // unset filters\n                return (React.createElement(SearchFiltersItem, { label: item.attribute, values: item.values, activeValues: {}, searchValue: item.pk, key: item.pk, setSubs: this.setSubs, activeTab: activeTab }));\n            });\n        }\n        let activeClass;\n        activeClass = 'searchfilters_sub collapsed';\n        if (filtersOpen)\n            activeClass = 'searchfilters_sub expanded';\n        const subFiltersElements = subFilters.map((item) => {\n            let activeSubClass = 'checkbox';\n            if (activePk.indexOf(item.pk) !== -1) {\n                activeSubClass += ' active';\n            }\n            return (React.createElement(\"li\", { key: item.pk, onClick: () => this.updateFilters(activeTab, item.pk), onKeyDown: () => this.updateFilters(activeTab, item.pk) },\n                React.createElement(\"div\", { className: activeSubClass }),\n                item.value.replace(/\\b[a-z]/g, (x) => x.toUpperCase())));\n        });\n        const scrollMarginStyle = {\n            width: scrollLimit,\n            marginLeft: scrollMargin,\n        };\n        let leftName = 'searchfilters_arrows left ';\n        let rightName = 'searchfilters_arrows right';\n        if (!leftActive) {\n            leftName += ' disabled';\n        }\n        if (!rightActive) {\n            rightName += ' disabled';\n        }\n        let clearClass = 'searchfilters__button_clear';\n        if (Object.keys(filters).length === 0) {\n            clearClass = 'searchfilters__button_clear disabled';\n        }\n        return (React.createElement(\"div\", { className: \"searchfilters__container\" },\n            React.createElement(\"menu\", { className: \"searchfilters__menu\" },\n                React.createElement(\"li\", { className: \"searchfilters__button_refine\" },\n                    React.createElement(IcnGearFilter, { className: \"icn\" }),\n                    \"Refine Your Search\"),\n                React.createElement(\"li\", { className: clearClass, onClick: this.clearFilters, onKeyDown: this.clearFilters },\n                    React.createElement(IcnClearFilter, { className: \"icn\" }),\n                    \"Clear Filters\")),\n            React.createElement(\"div\", { className: \"searchfilters__slider\" },\n                React.createElement(\"div\", { className: leftName, onClick: this.scrollFilters.bind(this, 'left'), role: \"button\", \"aria-label\": \"left\", tabIndex: 0, onKeyDown: this.scrollFilters.bind(this, 'left') }),\n                React.createElement(\"div\", { ref: this.measureRef, className: \"searchfilters__slider_container\" },\n                    React.createElement(\"ul\", { className: \"searchfilters__list\", style: scrollMarginStyle }, items)),\n                React.createElement(\"div\", { className: rightName, onClick: this.scrollFilters.bind(this, 'right'), role: \"button\", \"aria-label\": \"right\", tabIndex: 0, onKeyDown: this.scrollFilters.bind(this, 'right') })),\n            React.createElement(\"div\", { className: activeClass },\n                React.createElement(\"ul\", null, subFiltersElements))));\n    }\n}\nexport default SearchFilters;\n","'use client';\n\nimport * as React from 'react';\nimport createSvgIcon from \"../../utils/createSvgIcon.js\";\n\n/**\n * @ignore - internal component.\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n  d: \"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z\"\n}), 'MoreHoriz');","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport { emphasize } from '@mui/system/colorManipulator';\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport MoreHorizIcon from \"../internal/svg-icons/MoreHoriz.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst BreadcrumbCollapsedButton = styled(ButtonBase)(memoTheme(({\n  theme\n}) => ({\n  display: 'flex',\n  marginLeft: `calc(${theme.spacing(1)} * 0.5)`,\n  marginRight: `calc(${theme.spacing(1)} * 0.5)`,\n  ...(theme.palette.mode === 'light' ? {\n    backgroundColor: theme.palette.grey[100],\n    color: theme.palette.grey[700]\n  } : {\n    backgroundColor: theme.palette.grey[700],\n    color: theme.palette.grey[100]\n  }),\n  borderRadius: 2,\n  '&:hover, &:focus': {\n    ...(theme.palette.mode === 'light' ? {\n      backgroundColor: theme.palette.grey[200]\n    } : {\n      backgroundColor: theme.palette.grey[600]\n    })\n  },\n  '&:active': {\n    boxShadow: theme.shadows[0],\n    ...(theme.palette.mode === 'light' ? {\n      backgroundColor: emphasize(theme.palette.grey[200], 0.12)\n    } : {\n      backgroundColor: emphasize(theme.palette.grey[600], 0.12)\n    })\n  }\n})));\nconst BreadcrumbCollapsedIcon = styled(MoreHorizIcon)({\n  width: 24,\n  height: 16\n});\n\n/**\n * @ignore - internal component.\n */\nfunction BreadcrumbCollapsed(props) {\n  const {\n    slots = {},\n    slotProps = {},\n    ...otherProps\n  } = props;\n  const ownerState = props;\n  return /*#__PURE__*/_jsx(\"li\", {\n    children: /*#__PURE__*/_jsx(BreadcrumbCollapsedButton, {\n      focusRipple: true,\n      ...otherProps,\n      ownerState: ownerState,\n      children: /*#__PURE__*/_jsx(BreadcrumbCollapsedIcon, {\n        as: slots.CollapsedIcon,\n        ownerState: ownerState,\n        ...slotProps.collapsedIcon\n      })\n    })\n  });\n}\nprocess.env.NODE_ENV !== \"production\" ? BreadcrumbCollapsed.propTypes = {\n  /**\n   * The props used for the CollapsedIcon slot.\n   * @default {}\n   */\n  slotProps: PropTypes.shape({\n    collapsedIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n  }),\n  /**\n   * The components used for each slot inside the BreadcumbCollapsed.\n   * Either a string to use a HTML element or a component.\n   * @default {}\n   */\n  slots: PropTypes.shape({\n    CollapsedIcon: PropTypes.elementType\n  }),\n  /**\n   * The system prop that allows defining system overrides as well as additional CSS styles.\n   */\n  sx: PropTypes.object\n} : void 0;\nexport default BreadcrumbCollapsed;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getBreadcrumbsUtilityClass(slot) {\n  return generateUtilityClass('MuiBreadcrumbs', slot);\n}\nconst breadcrumbsClasses = generateUtilityClasses('MuiBreadcrumbs', ['root', 'ol', 'li', 'separator']);\nexport default breadcrumbsClasses;","'use client';\n\nimport * as React from 'react';\nimport { isFragment } from 'react-is';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport integerPropType from '@mui/utils/integerPropType';\nimport composeClasses from '@mui/utils/composeClasses';\nimport useSlotProps from '@mui/utils/useSlotProps';\nimport { styled } from \"../zero-styled/index.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport Typography from \"../Typography/index.js\";\nimport BreadcrumbCollapsed from \"./BreadcrumbCollapsed.js\";\nimport breadcrumbsClasses, { getBreadcrumbsUtilityClass } from \"./breadcrumbsClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst useUtilityClasses = ownerState => {\n  const {\n    classes\n  } = ownerState;\n  const slots = {\n    root: ['root'],\n    li: ['li'],\n    ol: ['ol'],\n    separator: ['separator']\n  };\n  return composeClasses(slots, getBreadcrumbsUtilityClass, classes);\n};\nconst BreadcrumbsRoot = styled(Typography, {\n  name: 'MuiBreadcrumbs',\n  slot: 'Root',\n  overridesResolver: (props, styles) => {\n    return [{\n      [`& .${breadcrumbsClasses.li}`]: styles.li\n    }, styles.root];\n  }\n})({});\nconst BreadcrumbsOl = styled('ol', {\n  name: 'MuiBreadcrumbs',\n  slot: 'Ol'\n})({\n  display: 'flex',\n  flexWrap: 'wrap',\n  alignItems: 'center',\n  padding: 0,\n  margin: 0,\n  listStyle: 'none'\n});\nconst BreadcrumbsSeparator = styled('li', {\n  name: 'MuiBreadcrumbs',\n  slot: 'Separator'\n})({\n  display: 'flex',\n  userSelect: 'none',\n  marginLeft: 8,\n  marginRight: 8\n});\nfunction insertSeparators(items, className, separator, ownerState) {\n  return items.reduce((acc, current, index) => {\n    if (index < items.length - 1) {\n      acc = acc.concat(current, /*#__PURE__*/_jsx(BreadcrumbsSeparator, {\n        \"aria-hidden\": true,\n        className: className,\n        ownerState: ownerState,\n        children: separator\n      }, `separator-${index}`));\n    } else {\n      acc.push(current);\n    }\n    return acc;\n  }, []);\n}\nconst Breadcrumbs = /*#__PURE__*/React.forwardRef(function Breadcrumbs(inProps, ref) {\n  const props = useDefaultProps({\n    props: inProps,\n    name: 'MuiBreadcrumbs'\n  });\n  const {\n    children,\n    className,\n    component = 'nav',\n    slots = {},\n    slotProps = {},\n    expandText = 'Show path',\n    itemsAfterCollapse = 1,\n    itemsBeforeCollapse = 1,\n    maxItems = 8,\n    separator = '/',\n    ...other\n  } = props;\n  const [expanded, setExpanded] = React.useState(false);\n  const ownerState = {\n    ...props,\n    component,\n    expanded,\n    expandText,\n    itemsAfterCollapse,\n    itemsBeforeCollapse,\n    maxItems,\n    separator\n  };\n  const classes = useUtilityClasses(ownerState);\n  const collapsedIconSlotProps = useSlotProps({\n    elementType: slots.CollapsedIcon,\n    externalSlotProps: slotProps.collapsedIcon,\n    ownerState\n  });\n  const listRef = React.useRef(null);\n  const renderItemsBeforeAndAfter = allItems => {\n    const handleClickExpand = () => {\n      setExpanded(true);\n\n      // The clicked element received the focus but gets removed from the DOM.\n      // Let's keep the focus in the component after expanding.\n      // Moving it to the <ol> or <nav> does not cause any announcement in NVDA.\n      // By moving it to some link/button at least we have some announcement.\n      const focusable = listRef.current.querySelector('a[href],button,[tabindex]');\n      if (focusable) {\n        focusable.focus();\n      }\n    };\n\n    // This defends against someone passing weird input, to ensure that if all\n    // items would be shown anyway, we just show all items without the EllipsisItem\n    if (itemsBeforeCollapse + itemsAfterCollapse >= allItems.length) {\n      if (process.env.NODE_ENV !== 'production') {\n        console.error(['MUI: You have provided an invalid combination of props to the Breadcrumbs.', `itemsAfterCollapse={${itemsAfterCollapse}} + itemsBeforeCollapse={${itemsBeforeCollapse}} >= maxItems={${maxItems}}`].join('\\n'));\n      }\n      return allItems;\n    }\n    return [...allItems.slice(0, itemsBeforeCollapse), /*#__PURE__*/_jsx(BreadcrumbCollapsed, {\n      \"aria-label\": expandText,\n      slots: {\n        CollapsedIcon: slots.CollapsedIcon\n      },\n      slotProps: {\n        collapsedIcon: collapsedIconSlotProps\n      },\n      onClick: handleClickExpand\n    }, \"ellipsis\"), ...allItems.slice(allItems.length - itemsAfterCollapse, allItems.length)];\n  };\n  const allItems = React.Children.toArray(children).filter(child => {\n    if (process.env.NODE_ENV !== 'production') {\n      if (isFragment(child)) {\n        console.error([\"MUI: The Breadcrumbs component doesn't accept a Fragment as a child.\", 'Consider providing an array instead.'].join('\\n'));\n      }\n    }\n    return /*#__PURE__*/React.isValidElement(child);\n  }).map((child, index) => /*#__PURE__*/_jsx(\"li\", {\n    className: classes.li,\n    children: child\n  }, `child-${index}`));\n  return /*#__PURE__*/_jsx(BreadcrumbsRoot, {\n    ref: ref,\n    component: component,\n    color: \"textSecondary\",\n    className: clsx(classes.root, className),\n    ownerState: ownerState,\n    ...other,\n    children: /*#__PURE__*/_jsx(BreadcrumbsOl, {\n      className: classes.ol,\n      ref: listRef,\n      ownerState: ownerState,\n      children: insertSeparators(expanded || maxItems && allItems.length <= maxItems ? allItems : renderItemsBeforeAndAfter(allItems), classes.separator, separator, ownerState)\n    })\n  });\n});\nprocess.env.NODE_ENV !== \"production\" ? Breadcrumbs.propTypes /* remove-proptypes */ = {\n  // ┌────────────────────────────── Warning ──────────────────────────────┐\n  // │ These PropTypes are generated from the TypeScript type definitions. │\n  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │\n  // └─────────────────────────────────────────────────────────────────────┘\n  /**\n   * The content of the component.\n   */\n  children: PropTypes.node,\n  /**\n   * Override or extend the styles applied to the component.\n   */\n  classes: PropTypes.object,\n  /**\n   * @ignore\n   */\n  className: PropTypes.string,\n  /**\n   * The component used for the root node.\n   * Either a string to use a HTML element or a component.\n   */\n  component: PropTypes.elementType,\n  /**\n   * Override the default label for the expand button.\n   *\n   * For localization purposes, you can use the provided [translations](https://mui.com/material-ui/guides/localization/).\n   * @default 'Show path'\n   */\n  expandText: PropTypes.string,\n  /**\n   * If max items is exceeded, the number of items to show after the ellipsis.\n   * @default 1\n   */\n  itemsAfterCollapse: integerPropType,\n  /**\n   * If max items is exceeded, the number of items to show before the ellipsis.\n   * @default 1\n   */\n  itemsBeforeCollapse: integerPropType,\n  /**\n   * Specifies the maximum number of breadcrumbs to display. When there are more\n   * than the maximum number, only the first `itemsBeforeCollapse` and last `itemsAfterCollapse`\n   * will be shown, with an ellipsis in between.\n   * @default 8\n   */\n  maxItems: integerPropType,\n  /**\n   * Custom separator node.\n   * @default '/'\n   */\n  separator: PropTypes.node,\n  /**\n   * The props used for each slot inside the Breadcumb.\n   * @default {}\n   */\n  slotProps: PropTypes.shape({\n    collapsedIcon: PropTypes.oneOfType([PropTypes.func, PropTypes.object])\n  }),\n  /**\n   * The components used for each slot inside the Breadcumb.\n   * Either a string to use a HTML element or a component.\n   * @default {}\n   */\n  slots: PropTypes.shape({\n    CollapsedIcon: PropTypes.elementType\n  }),\n  /**\n   * The system prop that allows defining system overrides as well as additional CSS styles.\n   */\n  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object])\n} : void 0;\nexport default Breadcrumbs;","import React from 'react';\nimport Breadcrumbs from '@mui/material/Breadcrumbs';\nconst CustomBreadCrumbs = ({ breadCrumbsList }) => (React.createElement(Breadcrumbs, { className: \"bread_crumbs\" }, breadCrumbsList.map((item, index) => (index === breadCrumbsList.length - 1 ? (React.createElement(\"span\", { key: index, className: \"bread_crumbs_item\" }, item.title)) : (React.createElement(\"a\", { key: index, className: \"bread_crumbs_item\", href: item.url }, item.title))))));\nexport default CustomBreadCrumbs;\n","import React, { useEffect, useState } from 'react';\nimport Box from '@mui/material/Box';\nimport Input from '@mui/material/Input';\nimport AddIcon from '@mui/icons-material/Add';\nimport RemoveIcon from '@mui/icons-material/Remove';\nimport IconButton from '@mui/material/IconButton';\nimport CustomLoader from '../CommonComponents/CustomLoader';\nconst classes = {\n    loaderRoot: (theme) => ({\n        color: theme.palette.background.default,\n        padding: theme.spacing(0, 0.65),\n    }),\n};\nconst PdpQuantityCounter = ({ selectedVariant: { id: variantId, inventory_quantity: inventoryQuantity }, djangoPk, onAddToShopifyCart, width = { counter: '28%', btn: '70%' }, }) => {\n    const [quantity, setQuantity] = useState(1);\n    const [addingToCart, setAddingToCart] = useState(false);\n    const handleAddToCart = async (e) => {\n        e.preventDefault();\n        setAddingToCart(true);\n        gtag('event', 'add_to_cart');\n        await onAddToShopifyCart({ id: variantId }, quantity, djangoPk);\n        setAddingToCart(false);\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            if (newQuantity > inventoryQuantity) {\n                setQuantity(inventoryQuantity);\n            }\n            else\n                setQuantity(newQuantity);\n        }\n    };\n    const changeQuantityOnClick = async (operation) => {\n        if (operation === 'add') {\n            setQuantity(quantity + 1);\n        }\n        else if (operation === 'minus') {\n            if (quantity >= 1) {\n                setQuantity(quantity - 1);\n            }\n        }\n    };\n    const inputButtonRootSX = {\n        padding: 0.25,\n        paddingLeft: 0.5,\n        paddingRight: 0.5,\n        '&:hover': {\n            backgroundColor: 'transparent',\n        },\n        '& svg': {\n            fill: 'primary.dark',\n        },\n    };\n    useEffect(() => {\n        setQuantity(1);\n    }, [variantId]);\n    return (React.createElement(Box, { id: \"quantity-counter\", sx: { display: 'flex', justifyContent: 'space-between', marginTop: 2 } },\n        React.createElement(Box, { sx: {\n                width: width === null || width === void 0 ? void 0 : width.counter,\n                display: 'inline-flex',\n                border: 1,\n                borderColor: 'secondary.dark',\n                borderRadius: 1,\n                marginRight: 1,\n            } },\n            React.createElement(IconButton, { sx: inputButtonRootSX, \"aria-label\": \"minus\", size: \"small\", onClick: () => changeQuantityOnClick('minus'), disabled: quantity === 1 || addingToCart },\n                React.createElement(RemoveIcon, null)),\n            React.createElement(Input, { value: quantity.toString(), sx: {\n                    border: 'none',\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                }, onChange: changeQuantityValue, onKeyDown: keyPress, 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: quantity === inventoryQuantity || addingToCart },\n                React.createElement(AddIcon, null))),\n        React.createElement(\"button\", { style: { width: width === null || width === void 0 ? void 0 : width.btn }, type: \"button\", className: \"btn primary cart_btn\", id: \"addcart_btn\", onClick: handleAddToCart, disabled: addingToCart }, addingToCart ? (React.createElement(CustomLoader, { loaderSx: classes.loaderRoot, loaderAttributes: { size: 20, thickness: 5 } })) : 'Add to Cart')));\n};\nexport default PdpQuantityCounter;\n","/* eslint-disable @typescript-eslint/dot-notation */\n/* eslint-disable @typescript-eslint/no-shadow */\nimport React, { useEffect, useState } from 'react';\nimport { withRouter } from 'react-router-dom';\nimport Box from '@mui/material/Box';\nimport Divider from '@mui/material/Divider';\nimport clsx from 'clsx';\nimport { newSearchPath, setMetaNameData, setMetaPropData, } from '../utils/helpers';\nimport Disclaimer from '../components/CommonComponents/Disclaimer';\nimport api from '../services/api';\nimport { useNurseryContext } from '../contexts/NurseryContext';\nimport { useSearchContext } from '../contexts/SearchContext';\nimport SearchFilters from '../components/Search/SearchFilters';\nimport SearchResults from '../components/Search/SearchResults';\nimport SearchResultsEmpty from '../components/Search/SearchResultsEmpty';\nimport PaginationList from '../components/PaginationList/PaginationList';\nimport CustomBreadCrumbs from '../components/CommonComponents/CustomBreadCrumbs';\nimport layoutStyles from './LayoutStyles';\nconst SearchLayout = (props) => {\n    var _a;\n    const { addToShopifyCart, location, paginationHandler, setFilter, } = props;\n    const { setNurseryName, setNurserySlug, nurseryName } = useNurseryContext();\n    const { searchTerm, activeZone, filteredAttrValues, spellingSuggestion, setSearchTerm, setSpellingSuggestion, setFilteredAttrs, setFilteredAttrValues, setActiveZone, } = useSearchContext();\n    const locationState = location.state;\n    const [searchData, setSearchData] = useState({\n        plants: [],\n        plant_count: 0,\n        return_query: '',\n        spelling_suggestion: { spelling_suggestion: '', url: '' },\n        empty: false,\n        search_str: '',\n        pages: 0,\n        pageLinks: [],\n        page: 0,\n        filtered_attrs: [],\n        filtered_attr_values: {},\n        zone: '',\n        bread_crumbs: null,\n        optional_page_title: '',\n        optional_page_subtitle: '',\n    });\n    const [searchTitle, setSearchTitle] = useState('');\n    const [attributeTypes, setAttributeType] = useState([]);\n    const [searchLoading, setSearchLoading] = useState(true);\n    const [searchDescription, setSearchDescription] = useState('');\n    const [isSearchDataEmpty, setIsSearchDataEmpty] = useState(false);\n    const [firstRender, setFirstRender] = useState(locationState ? !locationState.getAPIData : true);\n    const setAllStates = (searchData, query) => {\n        if (searchData.nursery_data) {\n            setNurseryName(searchData.nursery_data.name);\n            setNurserySlug(searchData.nursery_data.slug);\n        }\n        else {\n            setNurseryName('');\n            setNurserySlug('');\n        }\n        const pageLinks = Array.from({ length: searchData.pages }, (v, k) => newSearchPath(window.location.pathname, query, k + 1));\n        const searchTerm = searchData.search_str === null ? 'All Plants' : searchData.search_str;\n        setSearchTerm(searchTerm);\n        setSpellingSuggestion(searchData.spelling_suggestion);\n        setFilteredAttrs(searchData.filtered_attrs);\n        setFilteredAttrValues(searchData.filtered_attr_values);\n        setActiveZone(!searchData.zone ? '0' : searchData.zone);\n        const newSearchData = { ...searchData, pageLinks };\n        const pageTitle = searchData.optional_page_title\n            ? searchData.optional_page_title\n            : searchData.search_title\n                ? searchData.search_title\n                : `Showing results for ${newSearchData.return_query}`;\n        setSearchData(newSearchData);\n        setAttributeType(searchData.attribute_types);\n        setSearchLoading(false);\n        setIsSearchDataEmpty(searchData.empty);\n        setSearchTitle(pageTitle);\n        setSearchDescription(searchData.optional_page_subtitle\n            ? searchData.optional_page_subtitle\n            : searchData.search_description);\n        if (newSearchData) {\n            // SEO implementation\n            window.document.title = `${newSearchData.return_query} from multiple nurseries on Plant Lust`;\n            const metaDescription = newSearchData.optional_page_subtitle\n                ? newSearchData.optional_page_subtitle\n                : newSearchData.search_description\n                    ? newSearchData.search_description\n                    : `Shop ${newSearchData.return_query} from multiple nurseries on Plant Lust`;\n            setMetaNameData('description', metaDescription);\n            setMetaPropData('og:title', newSearchData.return_query);\n            setMetaPropData('og:description', `Shop ${newSearchData.return_query} from multiple nurseries on Plant Lust`);\n            if (!newSearchData.empty) {\n                setMetaPropData('og:image', newSearchData.plants[0].photo);\n            }\n        }\n    };\n    const updateSearch = (search) => {\n        setSearchLoading(true);\n        let query = search;\n        if (search.startsWith('?')) {\n            query = search.substring(1);\n        }\n        if (query === '') {\n            query = 'all_plants=True';\n        }\n        if (firstRender) {\n            const element = document.getElementById('search_data');\n            if (element) {\n                const apiData = JSON.parse(element.textContent);\n                setAllStates(apiData, query);\n                setFirstRender(false);\n            }\n            else {\n                api.home.generalSearch(query).then((searchData) => {\n                    setAllStates(searchData, query);\n                    window.history.replaceState({}, '');\n                });\n            }\n        }\n        else {\n            api.home.generalSearch(query).then((searchData) => {\n                setAllStates(searchData, query);\n                window.history.replaceState({}, '');\n            });\n        }\n    };\n    useEffect(() => {\n        updateSearch(location.search);\n    }, [location]);\n    return (React.createElement(React.Fragment, null,\n        React.createElement(Box, { sx: layoutStyles.searchFiltersContainer, className: clsx('searchpage__container search_bar') },\n            React.createElement(\"div\", { className: \"searchpage__col1 search_only\" },\n                React.createElement(SearchFilters, { searchData: searchData, attributeTypes: attributeTypes, setFilter: setFilter, searchLoading: searchLoading }))),\n        React.createElement(Divider, { sx: layoutStyles.divider }),\n        React.createElement(\"div\", { className: \"searchpage__container container\" },\n            React.createElement(\"div\", { className: \"search_info_container\" },\n                searchData.bread_crumbs\n                    && React.createElement(CustomBreadCrumbs, { breadCrumbsList: searchData.bread_crumbs }),\n                React.createElement(\"h1\", { className: \"search_title\" }, searchTitle),\n                searchDescription && React.createElement(\"p\", { className: \"search_description\", dangerouslySetInnerHTML: { __html: searchDescription } })),\n            React.createElement(\"div\", { className: \"searchpage__col2 main_search\" },\n                isSearchDataEmpty ? (React.createElement(SearchResultsEmpty, { searchTerm: searchTerm, spellingSuggestion: spellingSuggestion, filteredAttrValues: filteredAttrValues, zone: activeZone, nursery: nurseryName, addToShopifyCart: addToShopifyCart, search: location.search, paginationHandler: paginationHandler, setFilter: setFilter })) : (React.createElement(SearchResults, { searchData: searchData, addToShopifyCart: addToShopifyCart, loading: searchLoading })),\n                !searchLoading && searchData.pages > 0 && (React.createElement(PaginationList, { pages: searchData.pages, pageLinks: searchData.pageLinks, currentPage: searchData.page, paginationHandler: paginationHandler })),\n                ((_a = searchData === null || searchData === void 0 ? void 0 : searchData.plants) === null || _a === void 0 ? void 0 : _a.length) > 0\n                    && searchData.plants.some((plant) => plant.is_for_sale) && (React.createElement(Disclaimer, { sx: { padding: '0 20px 20px' } }))))));\n};\nexport default withRouter(SearchLayout);\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function low(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 76 65\" },\n        React.createElement(\"path\", { d: \"M35.3,1.3l-0.1,0.1l-0.1,0.1L17.4,31.9c-6,10.5-2.4,24,8.2,30s24,2.4,30-8.2\\n    c1.9-3.3,2.9-7.1,2.9-11c0-3.8-1-7.5-2.9-10.9v-0.1L37.9,1.4l-0.2-0.2l-0.1-0.1L37.5,1l-0.2-0.1l-0.1-0.1L37,0.7l-0.1-0.1H37h-0.2\\n    h-0.3h-0.1h-0.2h-0.1l-0.2,0.1l-0.1,0.1l-0.2,0.1L35.5,1L35.3,1.3z M36.6,5.6l16.2,27.9c5.1,9,2,20.4-6.9,25.5\\n    c-9,5.1-20.4,2-25.5-6.9c-3.3-5.7-3.3-12.8,0-18.5L36.6,5.6z\" }),\n        React.createElement(\"path\", { d: \"M2.6,51.5h-2c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h2c0.8,0,1.5,0.7,1.5,1.5S3.4,51.5,2.6,51.5z\" }),\n        React.createElement(\"path\", { d: \"M62.6,51.5h-4c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h4c0.8,0,1.5,0.7,1.5,1.5S63.4,51.5,62.6,51.5z\\n     M50.6,51.5h-4c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h4c0.8,0,1.5,0.7,1.5,1.5S51.4,51.5,50.6,51.5z M38.6,51.5h-4\\n    c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h4c0.8,0,1.5,0.7,1.5,1.5S39.4,51.5,38.6,51.5z M26.6,51.5h-4c-0.8,0-1.5-0.7-1.5-1.5\\n    s0.7-1.5,1.5-1.5h4c0.8,0,1.5,0.7,1.5,1.5S27.4,51.5,26.6,51.5z M14.6,51.5h-4c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h4\\n    c0.8,0,1.5,0.7,1.5,1.5S15.4,51.5,14.6,51.5z\" }),\n        React.createElement(\"path\", { d: \"M72.6,51.5h-2c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h2c0.8,0,1.5,0.7,1.5,1.5S73.4,51.5,72.6,51.5z\" }),\n        React.createElement(\"polygon\", { points: \"20.8,55.4 23.9,58.8 30.3,61.9 36.9,63.4 44.9,61.4 51.3,56.6 52.2,55.4\" })));\n}\n","import React, { useState } from 'react';\nimport Modal from '@mui/material/Modal';\nimport Box from '@mui/material/Box';\nimport CloseIcon from '@mui/icons-material/Close';\nimport PdpEmail from '../PlantDetail/pdpEmail';\nconst NotifyButton = ({ djangoPk, plantName, showTitle = false }) => {\n    const [overlay, setOverlay] = useState(false);\n    const handleClick = (e) => {\n        if (e) {\n            e.preventDefault();\n        }\n        setOverlay((prev) => !prev);\n    };\n    const closeOverlay = () => {\n        setOverlay(false);\n    };\n    return (React.createElement(\"div\", { className: \"notify_btn\" },\n        React.createElement(\"div\", null,\n            React.createElement(\"button\", { type: \"button\", className: \"btn primary inverted\", onClick: handleClick }, \"Notify me\")),\n        showTitle && (React.createElement(\"div\", null,\n            React.createElement(\"p\", null, \"Notify me when this item is available on Plant Lust.\"))),\n        React.createElement(Modal, { onClose: () => {\n            }, open: overlay },\n            React.createElement(Box, { className: \"options_modal notify_me\" },\n                React.createElement(\"button\", { type: \"button\", onClick: () => {\n                        setOverlay(false);\n                    }, className: \"close_btn\" },\n                    React.createElement(CloseIcon, null)),\n                React.createElement(Box, { className: \"options_modal_wrapper\" },\n                    React.createElement(\"div\", { className: \"pdp_email_modal\" },\n                        React.createElement(\"div\", { className: \"modal_item_container\" },\n                            React.createElement(PdpEmail, { plantId: djangoPk, plantName: plantName, closeModal: closeOverlay, isNotifyModal: true }))))))));\n};\nexport default NotifyButton;\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function shade(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"-8 -8 62 62\" },\n        React.createElement(\"path\", { d: \"M41.2,11.3 C40.3,9.7 39.2,8.3 37.9,7 C37.1,6.1 36.1,5.3 35.2,4.6 C31.6,1.9 27.1,0.3 22.2,0.3 C17.3,0.3 12.9,1.9 9.2,4.6 C8.2,5.3 7.3,6.1 6.5,7 C5.2,8.3 4.2,9.7 3.2,11.3 C1.3,14.6 0.2,18.4 0.2,22.4 C0.2,26.4 1.3,30.3 3.2,33.5 C4.1,35.1 5.2,36.5 6.5,37.8 C7.3,38.7 8.3,39.5 9.2,40.2 C12.8,42.9 17.3,44.5 22.2,44.5 C27.1,44.5 31.5,42.9 35.2,40.2 C36.2,39.5 37.1,38.7 37.9,37.8 C39.2,36.5 40.2,35.1 41.2,33.5 C43.1,30.2 44.2,26.4 44.2,22.4 C44.2,18.4 43.1,14.6 41.2,11.3 Z M22.2,4.7 C25.4,4.7 28.4,5.6 31,7.1 L13.4,7.1 C16,5.5 19,4.7 22.2,4.7 Z M8.4,11.3 L36,11.3 C36.6,12 37.1,12.8 37.6,13.7 L6.8,13.7 C7.3,12.8 7.8,12 8.4,11.3 Z M22.2,40.2 C19,40.2 16,39.3 13.4,37.8 L31,37.8 C28.4,39.3 25.4,40.2 22.2,40.2 Z M36,33.5 L8.4,33.5 C7.8,32.8 7.3,32 6.8,31.1 L37.6,31.1 C37.1,32 36.6,32.8 36,33.5 Z M39.3,26.9 L5,26.9 C4.8,26.1 4.6,25.3 4.5,24.5 L39.7,24.5 C39.7,25.3 39.5,26.1 39.3,26.9 Z M4.6,20.3 C4.7,19.5 4.9,18.7 5.1,17.9 L39.4,17.9 C39.6,18.7 39.8,19.5 39.9,20.3 L4.6,20.3 Z\", id: \"s_shade\", fill: \"inherit\", fillRule: \"nonzero\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function plant_size(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 60 65\" },\n        React.createElement(\"path\", { d: \"M38.0921667,39.128375 C38.0921667,40.217125 38.9805,41.1000417 40.0746667,41.1000417 L44.0396667,41.1000417 C45.1338333,41.1000417 46.0221667,40.217125 46.0221667,39.128375 L46.0221667,33.213375 L57.9171667,33.213375 L42.0571667,1.65858333 L26.1971667,33.213375 L38.0921667,33.213375 L38.0921667,39.128375 Z\" }),\n        React.createElement(\"path\", { d: \"M1.67077083,40.4606042 L16.3716042,40.4606042 C17.2924375,40.4606042 18.0399375,39.7158125 18.0399375,38.8003958 C18.0399375,37.8849792 17.2924375,37.1401875 16.3716042,37.1401875 L10.6868125,37.1401875 L10.6868125,3.32122917 L16.3716042,3.32122917 C17.2924375,3.32122917 18.0399375,2.5764375 18.0399375,1.66102083 C18.0399375,0.745604167 17.2924375,0.0008125 16.3716042,0.0008125 L1.67077083,0.0008125 C0.7499375,0.0008125 -0.000270833333,0.745604167 -0.000270833333,1.66102083 C-0.000270833333,2.5764375 0.7499375,3.32122917 1.67077083,3.32122917 L7.35014583,3.32122917 L7.35014583,37.1401875 L1.67077083,37.1401875 C0.7499375,37.1401875 -0.000270833333,37.8849792 -0.000270833333,38.8003958 C-0.000270833333,39.7158125 0.7499375,40.4606042 1.67077083,40.4606042\" }),\n        React.createElement(\"path\", { d: \"M57.915,65 C58.8358333,65 59.5833333,64.2552083 59.5833333,63.3397917 L59.5833333,48.7147917 C59.5833333,47.799375 58.8358333,47.0545833 57.915,47.0545833 C56.996875,47.0545833 56.2466667,47.799375 56.2466667,48.7147917 L56.2466667,54.3725 L27.8660417,54.3725 L27.8660417,48.7147917 C27.8660417,47.799375 27.1158333,47.0545833 26.1977083,47.0545833 C25.276875,47.0545833 24.529375,47.799375 24.529375,48.7147917 L24.529375,63.3397917 C24.529375,64.2552083 25.276875,65 26.1977083,65 C27.1158333,65 27.8660417,64.2552083 27.8660417,63.3397917 L27.8660417,57.6902083 L56.2466667,57.6902083 L56.2466667,63.3397917 C56.2466667,64.2552083 56.996875,65 57.915,65\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function attr_4(props) {\n    // flower color\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 65 65\" },\n        React.createElement(\"path\", { d: \"M57.1,25.6 C61.1,25.6 64.2,28.8 64.2,32.7 C64.2,36.6 61,39.8 57.1,39.8 C53.1,39.8 35.9,32.7 35.9,32.7 C35.9,32.7 53.2,25.6 57.1,25.6 Z\", id: \"Shape\" }),\n        React.createElement(\"path\", { d: \"M44.7,10.1 C47.5,7.3 52,7.3 54.8,10.1 C57.6,12.9 57.6,17.4 54.8,20.2 C52,23 34.8,30.1 34.8,30.1 C34.8,30.1 41.9,12.8 44.7,10.1 Z\", id: \"Shape\" }),\n        React.createElement(\"path\", { d: \"M54.8,45.2 C57.6,48 57.6,52.5 54.8,55.3 C52,58.1 47.5,58.1 44.7,55.3 C41.9,52.5 34.8,35.4 34.8,35.4 C34.8,35.4 52,42.5 54.8,45.2 Z\", id: \"Shape\" }),\n        React.createElement(\"path\", { d: \"M25,7.8 C25,3.9 28.2,0.7 32.1,0.7 C36,0.7 39.2,3.9 39.2,7.8 C39.2,11.7 32.1,28.9 32.1,28.9 C32.1,28.9 25,11.7 25,7.8 Z\", id: \"Shape\" }),\n        React.createElement(\"path\", { d: \"M25.9,39.2 C23.2,45.3 19.8,52.5 18.3,53.9 C17.3,54.9 16,55.4 14.7,55.4 C13.3,55.4 12,54.9 11.1,53.9 C10.1,52.9 9.6,51.7 9.6,50.3 C9.6,48.9 10.1,47.7 11.1,46.7 C12.5,45.3 19.7,41.9 25.9,39.2 L25.9,39.2 Z M29.7,35.4 C29.7,35.4 12.5,42.5 9.7,45.3 C6.9,48.1 6.9,52.6 9.7,55.3 C11.1,56.7 12.9,57.4 14.7,57.4 C16.5,57.4 18.3,56.7 19.7,55.3 C22.5,52.5 29.7,35.4 29.7,35.4 L29.7,35.4 Z\", id: \"Shape\" }),\n        React.createElement(\"path\", { d: \"M7.4,27.6 C9.4,27.6 16.9,30.3 23.2,32.7 C16.9,35.1 9.4,37.8 7.4,37.8 C4.6,37.8 2.2,35.5 2.2,32.7 C2.3,29.9 4.6,27.6 7.4,27.6 L7.4,27.6 Z M7.4,25.6 C3.4,25.6 0.2,28.8 0.2,32.7 C0.2,36.6 3.4,39.8 7.4,39.8 C11.4,39.8 28.6,32.7 28.6,32.7 C28.6,32.7 11.4,25.6 7.4,25.6 L7.4,25.6 Z\", id: \"Shape\" }),\n        React.createElement(\"path\", { d: \"M32.4,41.8 C34.9,48 37.6,55.5 37.6,57.5 C37.6,60.3 35.3,62.6 32.4,62.6 C29.6,62.6 27.2,60.3 27.2,57.5 C27.3,55.5 30,48 32.4,41.8 L32.4,41.8 Z M32.4,36.5 C32.4,36.5 25.2,53.6 25.2,57.6 C25.2,61.6 28.4,64.7 32.4,64.7 C36.4,64.7 39.6,61.5 39.6,57.6 C39.6,53.7 32.4,36.5 32.4,36.5 L32.4,36.5 Z\", id: \"Shape\" }),\n        React.createElement(\"path\", { d: \"M14.7,10 C16.1,10 17.4,10.5 18.3,11.5 C19.7,12.9 23.2,20.1 25.9,26.2 C19.7,23.5 12.5,20.1 11.1,18.7 C10.1,17.7 9.6,16.5 9.6,15.1 C9.6,13.7 10.1,12.5 11.1,11.5 C12,10.5 13.3,10 14.7,10 L14.7,10 Z M14.7,8 C12.9,8 11.1,8.7 9.7,10.1 C6.9,12.9 6.9,17.4 9.7,20.1 C12.5,22.8 29.7,30 29.7,30 C29.7,30 22.5,12.9 19.8,10.1 C18.3,8.7 16.5,8 14.7,8 L14.7,8 Z\", id: \"Shape\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function dry_in_winter(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 -9 65 77\" },\n        React.createElement(\"path\", { d: \"M48.2,19.5c-0.6,0-1-0.4-1-1v-18c0-0.6,0.4-1,1-1s1,0.4,1,1v18C49.2,19.1,48.8,19.5,48.2,19.5z\" }),\n        React.createElement(\"path\", { d: \"M54.7,16.8c-0.3,0-0.5-0.1-0.7-0.3L41.3,3.8c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l12.7,12.7\\n    c0.4,0.4,0.4,1,0,1.4C55.2,16.7,55,16.8,54.7,16.8z\" }),\n        React.createElement(\"path\", { d: \"M57.4,10.4h-18c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S58,10.4,57.4,10.4z\" }),\n        React.createElement(\"path\", { d: \"M42,16.6c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4L54,2.2c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4L42.7,16.3\\n    C42.5,16.5,42.3,16.6,42,16.6z\" }),\n        React.createElement(\"path\", { d: \"M44.8,25.7L44.8,25.7c-4.3-3.5-9.6-5.6-15.1-6v-1.8c0-1.1-0.9-2-2-2c-1.1,0-2,0.9-2,2v1.8\\n    c-5.5,0.4-10.8,2.5-15.1,6c-4.4,3.6-7.6,8.6-9,14.1l-0.9,3.4L3,40.5c1.6-1.9,4.6-3,7.9-3s6.3,1.2,7.9,3.2l0.6,0.5l0.5-0.6\\n    c1.5-1.6,3.6-2.6,5.8-2.9v22.4c0,3.8,3.1,6.9,6.9,6.9c3.8,0,6.9-3.1,6.9-6.9l0,0c0-1.1-0.9-2-2-2s-2,0.9-2,2\\n    c0.1,1.6-1.1,3-2.7,3.1c-1.6,0.1-3-1.1-3.1-2.7c0-0.1,0-0.2,0-0.3V37.7c2.3,0.3,4.4,1.3,5.9,3l0.6,0.5l0.5-0.6\\n    c1.6-1.9,4.6-3,7.8-3s6.3,1.2,7.8,3l2.2,2.7l-0.9-3.4C52.4,34.3,49.2,29.4,44.8,25.7z M46.6,33.6c-3.6-0.4-7.3,0.3-10.5,2.2\\n    c-2.5-1.6-5.5-2.4-8.5-2.3c-3,0-5.9,0.8-8.5,2.3c-3.1-1.9-6.8-2.7-10.5-2.2c7.2-10.4,21.6-13,32-5.8C43,29.3,45,31.3,46.6,33.6z\" })));\n}\n","import React, { useMemo } from 'react';\nimport { withNurseryContext } from '../../contexts/NurseryContext';\nimport SearchResultsItem from './SearchResultsItem';\nimport SearchResultsItemLoading from './SearchResultsItemLoading';\nconst cleanString = (value) => {\n    const lowercaseValue = value.toLowerCase();\n    return lowercaseValue.replace(/[^\\w \\\\u00AE|\\\\u00a9|\\\\u2122]/g, '');\n};\nconst getPriority = (item, returnQuery) => {\n    const primaryNamePriority = 5;\n    const akaNamePriority = 4;\n    const partialPrimaryPriority = 3;\n    const partialAkaProperty = 2;\n    const defaultPriority = 1;\n    const akaNamesLowerCase = item.aka_names && item.aka_names.length > 0\n        && item.aka_names.map((name) => cleanString(name));\n    if (cleanString(item.primary_name) === returnQuery)\n        return primaryNamePriority;\n    if (akaNamesLowerCase && akaNamesLowerCase.includes(returnQuery)) {\n        return akaNamePriority;\n    }\n    if (cleanString(item.primary_name).includes(returnQuery))\n        return partialPrimaryPriority;\n    if (akaNamesLowerCase\n        && akaNamesLowerCase.some((name) => name.includes(returnQuery))) {\n        return partialAkaProperty;\n    }\n    return defaultPriority;\n};\nconst SearchResults = ({ addToShopifyCart, searchData, loading, isNursery, nurseryName, nurserySlug, }) => {\n    const processedPlants = useMemo(() => {\n        if (!searchData || searchData.empty || !searchData.plants)\n            return (searchData === null || searchData === void 0 ? void 0 : searchData.plants) || [];\n        const getFilteredAffiliatedLinks = (affiliatedLinks) => {\n            let filteredItems = affiliatedLinks;\n            if (isNursery) {\n                filteredItems = affiliatedLinks.filter((item) => item.nursery.name === nurseryName);\n            }\n            return filteredItems;\n        };\n        const getShopifyProductDetails = (variants) => {\n            let product = variants.filter((variant) => variant.available);\n            if (isNursery) {\n                product = product\n                    .filter((variant) => variant.fulfillment_service === nurserySlug);\n            }\n            return product;\n        };\n        const updatedPlants = searchData.plants.map((item) => {\n            const updatedVariants = getShopifyProductDetails(item.variants);\n            const updatedLinks = getFilteredAffiliatedLinks(item.affiliated_links);\n            return ({\n                ...item,\n                isAvailable: updatedVariants.length + updatedLinks.length > 0,\n            });\n        });\n        return updatedPlants.sort((a, b) => {\n            if (window.location.search.indexOf('raw=') !== -1 || window.location.search.indexOf('names=') !== -1) {\n                const aPriority = getPriority(a, cleanString(searchData.return_query));\n                const bPriority = getPriority(b, cleanString(searchData.return_query));\n                if (aPriority !== bPriority) {\n                    return bPriority - aPriority;\n                }\n            }\n            if (a.isAvailable === b.isAvailable)\n                return 0;\n            return a.isAvailable ? -1 : 1;\n        });\n    }, [isNursery, nurseryName, nurserySlug, searchData]);\n    const searchResultsLoading = loading;\n    const data = searchData;\n    let count;\n    if (processedPlants && processedPlants.length > 0 && !searchResultsLoading) {\n        const plantCount = data.plant_count;\n        const plural = plantCount === 1 ? '' : 's';\n        count = (React.createElement(\"p\", { className: \"plant_count\" },\n            `${plantCount} Result${plural} for `,\n            React.createElement(\"span\", null, data.return_query)));\n    }\n    return (React.createElement(\"div\", { className: \"searchpage__results_container\" },\n        React.createElement(\"div\", { className: \"searchpage__results\" },\n            count,\n            searchResultsLoading ? (React.createElement(SearchResultsItemLoading, null)) : !data.empty && ((processedPlants === null || processedPlants === void 0 ? void 0 : processedPlants.length) > 0 && (processedPlants === null || processedPlants === void 0 ? void 0 : processedPlants.map((item, index) => (React.createElement(\"div\", { key: item.django_pk },\n                React.createElement(SearchResultsItem, { index: index, data: item, onAddToShopifyCart: addToShopifyCart })))))))));\n};\nexport default withNurseryContext(SearchResults);\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function dry_when_dormant(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 -7 65 77\" },\n        React.createElement(\"path\", { d: \"M54,8.6h-6.3c-0.5,0-0.9-0.3-1.1-0.7c-0.2-0.4-0.1-0.9,0.3-1.2l5-5h-4.1c-0.6,0-1-0.4-1-1s0.4-1,1-1H54\\n    c0.7,0,1,0.5,1.1,0.7c0.2,0.4,0.1,0.9-0.3,1.2l-5,5H54c0.6,0,1,0.4,1,1S54.6,8.6,54,8.6z M54,1.7L54,1.7L54,1.7z M53.4,0.2\\n    C53.4,0.2,53.4,0.2,53.4,0.2L53.4,0.2z\" }),\n        React.createElement(\"path\", { d: \"M44.4,12h-5.2c-0.5,0-0.9-0.3-1.1-0.7c-0.2-0.4-0.1-0.9,0.3-1.2l3.8-3.8h-3c-0.6,0-1-0.4-1-1s0.4-1,1-1h5.1\\n    c0.5,0,0.9,0.3,1.1,0.7c0.2,0.4,0.1,0.9-0.3,1.2L41.3,10h3.1c0.6,0,1,0.4,1,1S45,12,44.4,12z M44.3,6.3L44.3,6.3L44.3,6.3z\" }),\n        React.createElement(\"path\", { d: \"M54.6,19.6h-5.2c-0.5,0-0.9-0.3-1.1-0.7c-0.2-0.4-0.1-0.9,0.3-1.2l3.8-3.8h-3c-0.6,0-1-0.4-1-1s0.4-1,1-1\\n    h5.1c0.7,0,1,0.5,1.1,0.7c0.2,0.4,0.1,0.9-0.3,1.2l-3.8,3.8h3.1c0.6,0,1,0.4,1,1S55.2,19.6,54.6,19.6z M54.5,13.9L54.5,13.9\\n    L54.5,13.9z M53.9,12.4C53.9,12.4,53.9,12.4,53.9,12.4L53.9,12.4z\" }),\n        React.createElement(\"path\", { d: \"M44.8,26.2L44.8,26.2c-4.3-3.5-9.6-5.6-15.1-6v-1.8c0-1.1-0.9-2-2-2c-1.1,0-2,0.9-2,2v1.8\\n    c-5.5,0.4-10.8,2.5-15.1,6c-4.4,3.6-7.6,8.6-9,14.1l-0.9,3.4L2.9,41c1.6-1.9,4.6-3,7.8-3s6.3,1.2,7.9,3.2l0.6,0.5l0.5-0.6\\n    c1.5-1.6,3.6-2.6,5.8-2.9v22.4c0,3.8,3.1,6.9,6.9,6.9s6.9-3.1,6.9-6.9c0-1.1-0.9-2-2-2c-1.1,0-2,0.9-2,2c0.1,1.6-1.1,3-2.7,3.1\\n    c-1.6,0.1-3-1.1-3.1-2.7c0-0.1,0-0.2,0-0.3V38.3c2.3,0.3,4.4,1.3,5.9,3l0.6,0.5l0.5-0.6c1.6-1.9,4.6-3,7.8-3s6.3,1.2,7.8,3\\n    l2.3,2.7l-0.9-3.4C52.4,34.8,49.2,29.8,44.8,26.2z M46.5,34c-3.6-0.4-7.3,0.3-10.5,2.2c-2.5-1.6-5.5-2.4-8.5-2.3\\n    c-3,0-5.9,0.8-8.5,2.3c-3.1-1.9-6.8-2.7-10.5-2.2c7.2-10.4,21.6-13,32-5.8C43,29.8,45,31.7,46.5,34z\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function attr_14(props) {\n    // flower season\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 68 62\" },\n        React.createElement(\"path\", { d: \"M66.3,61.8h-64c-0.8,0-1.5-0.7-1.5-1.5v-58c0-0.8,0.7-1.5,1.5-1.5h64c0.8,0,1.5,0.7,1.5,1.5v58\\n  C67.8,61.1,67.1,61.8,66.3,61.8z M3.8,58.8h61v-55h-61V58.8z\" }),\n        React.createElement(\"path\", { d: \"M66.3,14.1h-64c-0.8,0-1.5-0.7-1.5-1.5V2.3c0-0.8,0.7-1.5,1.5-1.5h64c0.8,0,1.5,0.7,1.5,1.5v10.3\\n  C67.8,13.4,67.1,14.1,66.3,14.1z M3.8,11.1h61V3.8h-61V11.1z\" }),\n        React.createElement(\"path\", { className: \"st0\", d: \"M44.7,36.9c5.2-1.5,6.9-4.7,6.8-7.3c-0.1-2.8-2.5-5-5.4-5c-1.3,0-3.8,0.4-6.6,3.2c1-4,0-6.5-0.7-7.6\\n  c-1-1.6-2.7-2.6-4.5-2.6c-1.8,0-3.5,1-4.5,2.6c-0.7,1.1-1.7,3.6-0.7,7.6c-2.9-2.7-5.3-3.2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ement(\"ellipse\", { className: \"st0\", cx: \"34.3\", cy: \"37\", rx: \"4.8\", ry: \"4.8\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function high(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 76 65\" },\n        React.createElement(\"path\", { d: \"M35.3,1.2L35.3,1.2l-0.2,0.2L17.4,31.8c-6,10.5-2.4,24,8.2,30c10.5,6,24,2.4,30-8.2\\n    c1.9-3.3,2.9-7.1,2.9-11c0-3.8-1-7.5-2.9-10.8v-0.1L38.1,1.4l-0.2-0.2L37.8,1l-0.1-0.1l-0.2-0.1l-0.1-0.1l-0.2-0.1l-0.1-0.1H37\\n    h-0.2h-0.3h-0.1h-0.2h-0.1l-0.2,0.1l-0.1,0.1l-0.2,0.1L35.5,1L35.3,1.2z M36.6,5.5l16.2,27.9c5.1,9,2,20.4-6.9,25.5\\n    s-20.4,2-25.5-6.9c-3.3-5.7-3.3-12.8,0-18.5L36.6,5.5z\" }),\n        React.createElement(\"path\", { d: \"M2.6,15.5h-2c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h2c0.8,0,1.5,0.7,1.5,1.5S3.4,15.5,2.6,15.5z\" }),\n        React.createElement(\"path\", { d: \"M62.6,15.5h-4c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h4c0.8,0,1.5,0.7,1.5,1.5S63.4,15.5,62.6,15.5z\\n     M50.6,15.5h-4c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h4c0.8,0,1.5,0.7,1.5,1.5S51.4,15.5,50.6,15.5z M38.6,15.5h-4\\n    c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h4c0.8,0,1.5,0.7,1.5,1.5S39.4,15.5,38.6,15.5z M26.6,15.5h-4c-0.8,0-1.5-0.7-1.5-1.5\\n    s0.7-1.5,1.5-1.5h4c0.8,0,1.5,0.7,1.5,1.5S27.4,15.5,26.6,15.5z M14.6,15.5h-4c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h4\\n    c0.8,0,1.5,0.7,1.5,1.5S15.4,15.5,14.6,15.5z\" }),\n        React.createElement(\"path\", { d: \"M72.6,15.5h-2c-0.8,0-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5h2c0.8,0,1.5,0.7,1.5,1.5S73.4,15.5,72.6,15.5z\" }),\n        React.createElement(\"polygon\", { points: \"56.4,37.5 56.2,37.5 55.3,34.7 46.3,18.8 27.1,18.8 18.6,33.4 16.6,37.5 15.7,43.8\\n    16.6,48.3 19.7,54 23.9,58.6 30.3,61.8 36.9,63.3 44.9,61.2 51.3,56.5 55.8,50.1 57.3,41.9\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function attr_7(props) {\n    // soil needs\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 63 65\" },\n        React.createElement(\"path\", { d: \"M62.3,11.1 C62.4,10.4 62.2,9.8 61.7,9.3 C61.2,8.7 60.4,8.4 59.5,8.4 L54.3,8.4 C53.5,6.8 51.8,5.7 50.1,5.7 C49.4,5.7 48.7,5.9 48,6.2 C46.9,3.7 44.4,2 41.6,2 C40.3,2 39,2.4 37.8,3.1 L37.7,3.1 C36.4,3.1 35.1,3.5 34.1,4.2 C33.6,4.1 33.2,4 32.8,4 C31.7,4 30.8,4.4 30.1,4.7 C28.8,2 26.1,0.3 23.1,0.3 C20.7,0.3 18.6,1.3 17.1,3.2 C16.9,2.8 16.6,2.5 16.2,2.3 C15.1,1.8 13.7,2.7 12.8,4.3 C12.2,4.1 11.7,4 11.1,4 C8.7,4 6.7,5.8 6.4,8.3 L3.1,8.3 C1.5,8.3 0.2,9.5 0.2,11 L0.2,20 C0.2,21.5 1.5,22.7 3.1,22.7 L3.8,22.7 C3.7,23.2 3.7,23.7 3.9,24.2 L14.2,61.6 C14.6,63.2 16,64.2 17.6,64.2 L44.8,64.2 C46.4,64.2 47.9,63.1 48.2,61.6 L58.5,24.1 C58.6,23.6 58.6,23.1 58.6,22.6 L59.3,22.6 C60.9,22.6 62.2,21.4 62.2,19.9 L62.3,11.1 Z M55.8,23.5 L45.4,61 C45.4,61.2 45.1,61.4 44.9,61.4 L17.8,61.4 C17.6,61.4 17.4,61.3 17.3,61 L6.9,23.5 C6.8,23.2 7,23.1 7,23 L7,22.9 C7,22.8 7.2,22.7 7.4,22.7 L55.1,22.7 C55.5,22.7 55.6,22.9 55.6,22.9 L55.8,22.8 L55.8,22.8 L55.6,22.9 C55.8,23.1 55.9,23.4 55.8,23.5 Z M59.3,11.5 L59.3,19.8 L3.4,19.8 L3.4,11.5 L59.3,11.5 Z\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function bright_shade(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 65 65\" },\n        React.createElement(\"path\", { id: \"Shape\", d: \"M54.4,31.3c-0.1-1.2-0.3-2.4-0.5-3.6c-0.3-1.1-0.6-2.1-1-3.1c-0.5-1.3-1.1-2.5-1.9-3.6\\n  c-0.7-1.1-1.5-2.2-2.4-3.1c-1.2-1.4-2.6-2.6-4.2-3.6c-3.5-2.4-7.8-3.7-12.3-3.7c-12.3,0-22.4,10-22.4,22.4s10,22.4,22.4,22.4\\n  c4.6,0,8.8-1.4,12.3-3.7c1.5-1,2.9-2.2,4.2-3.6c0.9-1,1.7-2,2.4-3.1s1.3-2.3,1.9-3.6c0.4-1,0.7-2.1,1-3.1c0.3-1.2,0.5-2.4,0.5-3.6\\n  c0-0.5,0.1-1,0.1-1.6C54.5,32.5,54.4,31.8,54.4,31.3z M49.4,38.1c-0.3,1.1-0.8,2.1-1.3,3.1H22v3.6h23.6c-1,1.2-2.2,2.2-3.6,3.1\\n  H22.2c-4.9-3.2-8.1-8.8-8.1-15s3.2-11.8,8.1-15h19.9c1.3,0.9,2.5,1.9,3.6,3.1H22v3.6h26.1c0.5,1,0.9,2,1.3,3.1H22v3.6h28.1\\n  c0,0.5,0.1,1,0.1,1.6c0,0.6,0,1-0.1,1.6H22v3.6H49.4L49.4,38.1z\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"32.2\", cy: \"3.8\", r: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_1_\", transform: \"matrix(0.866 -0.5 0.5 0.866 -1.4148 9.8597)\", cx: \"17.7\", cy: \"7.6\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_2_\", transform: \"matrix(0.5 -0.866 0.866 0.5 -12.2548 15.1071)\", cx: \"7\", cy: \"18.2\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval_3_\", cx: \"3\", cy: \"32.8\", r: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_4_\", transform: \"matrix(0.866 -0.5 0.5 0.866 -22.7451 9.7328)\", cx: \"6.8\", cy: \"47.3\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_5_\", transform: \"matrix(0.5 -0.866 0.866 0.5 -41.5793 44.0785)\", cx: \"17.4\", cy: \"58\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval_6_\", cx: \"32\", cy: \"62\", r: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_7_\", transform: \"matrix(0.866 -0.5 0.5 0.866 -22.8354 31.0998)\", cx: \"46.6\", cy: \"58.2\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_8_\", transform: \"matrix(0.5 -0.866 0.866 0.5 -12.5079 73.3029)\", cx: \"57.2\", cy: \"47.5\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval_9_\", cx: \"61.2\", cy: \"33\", r: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_10_\", transform: \"matrix(0.866 -0.5 0.5 0.866 -1.505 31.1534)\", cx: \"57.4\", cy: \"18.4\", rx: \"2.9\", ry: \"2.9\" }),\n        React.createElement(\"ellipse\", { id: \"Oval_11_\", transform: \"matrix(0.5 -0.866 0.866 0.5 16.7166 44.3316)\", cx: \"46.8\", cy: \"7.7\", rx: \"2.9\", ry: \"2.9\" })));\n}\n","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getListItemIconUtilityClass(slot) {\n  return generateUtilityClass('MuiListItemIcon', slot);\n}\nconst listItemIconClasses = generateUtilityClasses('MuiListItemIcon', ['root', 'alignItemsFlexStart']);\nexport default listItemIconClasses;","import generateUtilityClasses from '@mui/utils/generateUtilityClasses';\nimport generateUtilityClass from '@mui/utils/generateUtilityClass';\nexport function getMenuItemUtilityClass(slot) {\n  return generateUtilityClass('MuiMenuItem', slot);\n}\nconst menuItemClasses = generateUtilityClasses('MuiMenuItem', ['root', 'focusVisible', 'dense', 'disabled', 'divider', 'gutters', 'selected']);\nexport default menuItemClasses;","'use client';\n\nimport * as React from 'react';\nimport PropTypes from 'prop-types';\nimport clsx from 'clsx';\nimport composeClasses from '@mui/utils/composeClasses';\nimport { alpha } from '@mui/system/colorManipulator';\nimport rootShouldForwardProp from \"../styles/rootShouldForwardProp.js\";\nimport { styled } from \"../zero-styled/index.js\";\nimport memoTheme from \"../utils/memoTheme.js\";\nimport { useDefaultProps } from \"../DefaultPropsProvider/index.js\";\nimport ListContext from \"../List/ListContext.js\";\nimport ButtonBase from \"../ButtonBase/index.js\";\nimport useEnhancedEffect from \"../utils/useEnhancedEffect.js\";\nimport useForkRef from \"../utils/useForkRef.js\";\nimport { dividerClasses } from \"../Divider/index.js\";\nimport { listItemIconClasses } from \"../ListItemIcon/index.js\";\nimport { listItemTextClasses } from \"../ListItemText/index.js\";\nimport menuItemClasses, { getMenuItemUtilityClass } from \"./menuItemClasses.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const overridesResolver = (props, styles) => {\n  const {\n    ownerState\n  } = props;\n  return [styles.root, ownerState.dense && styles.dense, ownerState.divider && styles.divider, !ownerState.disableGutters && styles.gutters];\n};\nconst useUtilityClasses = ownerState => {\n  const {\n    disabled,\n    dense,\n    divider,\n    disableGutters,\n    selected,\n    classes\n  } = ownerState;\n  const slots = {\n    root: ['root', dense && 'dense', disabled && 'disabled', !disableGutters && 'gutters', divider && 'divider', selected && 'selected']\n  };\n  const composedClasses = composeClasses(slots, getMenuItemUtilityClass, classes);\n  return {\n    ...classes,\n    ...composedClasses\n  };\n};\nconst MenuItemRoot = styled(ButtonBase, {\n  shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',\n  name: 'MuiMenuItem',\n  slot: 'Root',\n  overridesResolver\n})(memoTheme(({\n  theme\n}) => ({\n  ...theme.typography.body1,\n  display: 'flex',\n  justifyContent: 'flex-start',\n  alignItems: 'center',\n  position: 'relative',\n  textDecoration: 'none',\n  minHeight: 48,\n  paddingTop: 6,\n  paddingBottom: 6,\n  boxSizing: 'border-box',\n  whiteSpace: 'nowrap',\n  '&:hover': {\n    textDecoration: 'none',\n    backgroundColor: (theme.vars || theme).palette.action.hover,\n    // Reset on touch devices, it doesn't add specificity\n    '@media (hover: none)': {\n      backgroundColor: 'transparent'\n    }\n  },\n  [`&.${menuItemClasses.selected}`]: {\n    backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity),\n    [`&.${menuItemClasses.focusVisible}`]: {\n      backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.focusOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.focusOpacity)\n    }\n  },\n  [`&.${menuItemClasses.selected}:hover`]: {\n    backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / calc(${theme.vars.palette.action.selectedOpacity} + ${theme.vars.palette.action.hoverOpacity}))` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity + theme.palette.action.hoverOpacity),\n    // Reset on touch devices, it doesn't add specificity\n    '@media (hover: none)': {\n      backgroundColor: theme.vars ? `rgba(${theme.vars.palette.primary.mainChannel} / ${theme.vars.palette.action.selectedOpacity})` : alpha(theme.palette.primary.main, theme.palette.action.selectedOpacity)\n    }\n  },\n  [`&.${menuItemClasses.focusVisible}`]: {\n    backgroundColor: (theme.vars || theme).palette.action.focus\n  },\n  [`&.${menuItemClasses.disabled}`]: {\n    opacity: (theme.vars || theme).palette.action.disabledOpacity\n  },\n  [`& + .${dividerClasses.root}`]: {\n    marginTop: theme.spacing(1),\n    marginBottom: theme.spacing(1)\n  },\n  [`& + .${dividerClasses.inset}`]: {\n    marginLeft: 52\n  },\n  [`& .${listItemTextClasses.root}`]: {\n    marginTop: 0,\n    marginBottom: 0\n  },\n  [`& .${listItemTextClasses.inset}`]: {\n    paddingLeft: 36\n  },\n  [`& .${listItemIconClasses.root}`]: {\n    minWidth: 36\n  },\n  variants: [{\n    props: ({\n      ownerState\n    }) => !ownerState.disableGutters,\n    style: {\n      paddingLeft: 16,\n      paddingRight: 16\n    }\n  }, {\n    props: ({\n      ownerState\n    }) => ownerState.divider,\n    style: {\n      borderBottom: `1px solid ${(theme.vars || theme).palette.divider}`,\n      backgroundClip: 'padding-box'\n    }\n  }, {\n    props: ({\n      ownerState\n    }) => !ownerState.dense,\n    style: {\n      [theme.breakpoints.up('sm')]: {\n        minHeight: 'auto'\n      }\n    }\n  }, {\n    props: ({\n      ownerState\n    }) => ownerState.dense,\n    style: {\n      minHeight: 32,\n      // https://m2.material.io/components/menus#specs > Dense\n      paddingTop: 4,\n      paddingBottom: 4,\n      ...theme.typography.body2,\n      [`& .${listItemIconClasses.root} svg`]: {\n        fontSize: '1.25rem'\n      }\n    }\n  }]\n})));\nconst MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(inProps, ref) {\n  const props = useDefaultProps({\n    props: inProps,\n    name: 'MuiMenuItem'\n  });\n  const {\n    autoFocus = false,\n    component = 'li',\n    dense = false,\n    divider = false,\n    disableGutters = false,\n    focusVisibleClassName,\n    role = 'menuitem',\n    tabIndex: tabIndexProp,\n    className,\n    ...other\n  } = props;\n  const context = React.useContext(ListContext);\n  const childContext = React.useMemo(() => ({\n    dense: dense || context.dense || false,\n    disableGutters\n  }), [context.dense, dense, disableGutters]);\n  const menuItemRef = React.useRef(null);\n  useEnhancedEffect(() => {\n    if (autoFocus) {\n      if (menuItemRef.current) {\n        menuItemRef.current.focus();\n      } else if (process.env.NODE_ENV !== 'production') {\n        console.error('MUI: Unable to set focus to a MenuItem whose component has not been rendered.');\n      }\n    }\n  }, [autoFocus]);\n  const ownerState = {\n    ...props,\n    dense: childContext.dense,\n    divider,\n    disableGutters\n  };\n  const classes = useUtilityClasses(props);\n  const handleRef = useForkRef(menuItemRef, ref);\n  let tabIndex;\n  if (!props.disabled) {\n    tabIndex = tabIndexProp !== undefined ? tabIndexProp : -1;\n  }\n  return /*#__PURE__*/_jsx(ListContext.Provider, {\n    value: childContext,\n    children: /*#__PURE__*/_jsx(MenuItemRoot, {\n      ref: handleRef,\n      role: role,\n      tabIndex: tabIndex,\n      component: component,\n      focusVisibleClassName: clsx(classes.focusVisible, focusVisibleClassName),\n      className: clsx(classes.root, className),\n      ...other,\n      ownerState: ownerState,\n      classes: classes\n    })\n  });\n});\nprocess.env.NODE_ENV !== \"production\" ? MenuItem.propTypes /* remove-proptypes */ = {\n  // ┌────────────────────────────── Warning ──────────────────────────────┐\n  // │ These PropTypes are generated from the TypeScript type definitions. │\n  // │    To update them, edit the d.ts file and run `pnpm proptypes`.     │\n  // └─────────────────────────────────────────────────────────────────────┘\n  /**\n   * If `true`, the list item is focused during the first mount.\n   * Focus will also be triggered if the value changes from false to true.\n   * @default false\n   */\n  autoFocus: PropTypes.bool,\n  /**\n   * The content of the component.\n   */\n  children: PropTypes.node,\n  /**\n   * Override or extend the styles applied to the component.\n   */\n  classes: PropTypes.object,\n  /**\n   * @ignore\n   */\n  className: PropTypes.string,\n  /**\n   * The component used for the root node.\n   * Either a string to use a HTML element or a component.\n   */\n  component: PropTypes.elementType,\n  /**\n   * If `true`, compact vertical padding designed for keyboard and mouse input is used.\n   * The prop defaults to the value inherited from the parent Menu component.\n   * @default false\n   */\n  dense: PropTypes.bool,\n  /**\n   * @ignore\n   */\n  disabled: PropTypes.bool,\n  /**\n   * If `true`, the left and right padding is removed.\n   * @default false\n   */\n  disableGutters: PropTypes.bool,\n  /**\n   * If `true`, a 1px light border is added to the bottom of the menu item.\n   * @default false\n   */\n  divider: PropTypes.bool,\n  /**\n   * This prop can help identify which element has keyboard focus.\n   * The class name will be applied when the element gains the focus through keyboard interaction.\n   * It's a polyfill for the [CSS :focus-visible selector](https://drafts.csswg.org/selectors-4/#the-focus-visible-pseudo).\n   * The rationale for using this feature [is explained here](https://github.com/WICG/focus-visible/blob/HEAD/explainer.md).\n   * A [polyfill can be used](https://github.com/WICG/focus-visible) to apply a `focus-visible` class to other components\n   * if needed.\n   */\n  focusVisibleClassName: PropTypes.string,\n  /**\n   * @ignore\n   */\n  role: PropTypes /* @typescript-to-proptypes-ignore */.string,\n  /**\n   * If `true`, the component is selected.\n   * @default false\n   */\n  selected: PropTypes.bool,\n  /**\n   * The system prop that allows defining system overrides as well as additional CSS styles.\n   */\n  sx: PropTypes.oneOfType([PropTypes.arrayOf(PropTypes.oneOfType([PropTypes.func, PropTypes.object, PropTypes.bool])), PropTypes.func, PropTypes.object]),\n  /**\n   * @default 0\n   */\n  tabIndex: PropTypes.number\n} : void 0;\nexport default MenuItem;","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function zones(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 42 65\" },\n        React.createElement(\"path\", { d: \"M20.9203977,62.2480282 C11.0456737,62.2480282 4.98199675,59.2607746 4.98199675,57.1194366 C4.98199675,55.3085915 9.3562013,52.9539437 16.4426786,52.2215493 L19.5205763,57.2823944 C19.6050974,57.393169 19.6345373,57.4371127 19.6715747,57.4783099 C19.7067127,57.5185915 19.740901,57.5524648 19.7769886,57.5872535 C19.8159253,57.6238732 19.8529627,57.6577465 19.8937987,57.6897887 C19.9317857,57.7190845 19.9821185,57.7520423 20.0324513,57.783169 L20.106526,57.8353521 C20.1986445,57.8756338 20.2518263,57.8976056 20.3059578,57.9177465 C20.3733847,57.9433803 20.4075731,57.9571127 20.4417614,57.9662676 C20.4844968,57.9790845 20.5281818,57.9864085 20.5718669,57.9946479 C20.656388,58.0102113 20.7000731,58.0193662 20.7437581,58.0230282 C20.7845942,58.0266901 20.8273295,58.0266901 20.878612,58.0257746 L20.9203977,58.0257746 C20.9745292,58.0257746 21.0125162,58.0257746 21.0495536,58.0230282 C21.0837419,58.0193662 21.1236282,58.0120423 21.1644643,58.0038028 C21.2537338,57.9873239 21.3012175,57.98 21.3449026,57.9662676 L21.4427192,57.9323944 C21.533888,57.8966901 21.5880195,57.8756338 21.6402516,57.8490845 L21.750414,57.785 C21.8026461,57.7520423 21.8510795,57.7209155 21.8957143,57.6861268 C21.934651,57.655 21.9716883,57.6220423 22.0087256,57.5872535 C22.0410146,57.5552113 22.0790016,57.5176761 22.116039,57.4764789 C22.1464286,57.4407746 22.1796672,57.3940845 22.2129058,57.3473944 L22.2727354,57.270493 L25.3439854,52.2160563 C32.470349,52.9429577 36.8587987,55.2884507 36.8587987,57.1194366 C36.8587987,59.2607746 30.7951218,62.2480282 20.9203977,62.2480282 M3.16716721,19.8423944 C3.16716721,15.3537324 5.01238636,11.1278169 8.36474026,7.94556338 C11.7161445,4.76239437 16.1653734,3.00830986 20.8919075,3.00830986 C30.6669156,3.00830986 38.6185471,10.5602113 38.6185471,19.8423944 C38.6185471,22.7756338 37.8132224,25.6621831 36.2899432,28.1916901 L20.8919075,53.5215493 L5.50336851,28.2054225 C3.97344156,25.6649296 3.16716721,22.7765493 3.16716721,19.8423944 M26.9156981,49.6307042 L39.0345049,29.6930986 C40.836039,26.7030986 41.7857143,23.2992958 41.7857143,19.8423944 C41.7857143,8.90225352 32.4133685,0 20.8919075,0 C9.37234578,0 0,8.90225352 0,19.8423944 C0,23.2965493 0.948725649,26.6976056 2.74266234,29.6775352 L2.78064935,29.7599296 L14.8662175,49.6297887 C7.04469156,50.6597183 2.08453734,53.5261268 2.08453734,57.1194366 C2.08453734,62.2379577 11.7892695,65 20.9203977,65 C30.051526,65 39.7562581,62.2379577 39.7562581,57.1194366 C39.7562581,53.0665493 33.5824188,50.5288028 26.9156981,49.6307042 M14.6143636,19.1801268 C14.6143636,15.8925915 17.4311006,13.2166056 20.8926672,13.2166056 C24.3551834,13.2166056 27.1719205,15.8925915 27.1719205,19.1801268 C27.1719205,22.467662 24.3551834,25.1436479 20.8926672,25.1436479 C17.4311006,25.1436479 14.6143636,22.467662 14.6143636,19.1801268 M30.0693799,19.1801268 C30.0693799,14.3747042 25.9525373,10.4646338 20.8926672,10.4646338 C15.8327971,10.4646338 11.7169042,14.3747042 11.7169042,19.1801268 C11.7169042,23.9855493 15.8327971,27.8956197 20.8926672,27.8956197 C25.9525373,27.8956197 30.0693799,23.9855493 30.0693799,19.1801268\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function attr_9(props) {\n    // special situations\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 43 63\" },\n        React.createElement(\"path\", { d: \"M21.4050833,5.60136905 L37.1714894,32.9105419 C38.7390256,35.6497719 39.5643572,38.7660419 39.5643572,41.9308025 C39.5643572,46.7729457 37.6732197,51.3310719 34.2402758,54.7650054 C30.8063423,58.1979493 26.2482161,60.0900764 21.4050833,60.0900764 C11.3912581,60.0900764 3.24383019,51.9436381 3.24383019,41.9308025 C3.24383019,38.7670315 4.06916176,35.6527407 5.63076036,32.9243964 L21.4050833,5.60136905 Z M20.1512522,1.33517669 C20.1205744,1.37377134 20.0859382,1.42325165 20.0522916,1.47471117 L19.990936,1.55783809 L2.81928912,31.3054007 C0.973673547,34.5305273 -9.89606243e-05,38.2019663 -9.89606243e-05,41.9308025 C-9.89606243e-05,53.7328461 9.60205007,63.3349952 21.4050833,63.3349952 C33.2071269,63.3349952 42.8092759,53.7328461 42.8092759,41.9308025 C42.8092759,38.2049351 41.836493,34.5364649 39.9987943,31.3212344 L39.9601997,31.2321698 L22.8103241,1.54497321 C22.7242284,1.42523086 22.6935506,1.37772976 22.6559455,1.33319748 C22.6203197,1.29064442 22.5846939,1.25303938 22.5470889,1.21543434 C22.5075046,1.1758501 22.4698996,1.13923467 22.4283361,1.10558805 C22.3887519,1.07293105 22.3372923,1.03829483 22.2868224,1.00464822 L22.2096331,0.948240668 C22.1156206,0.903708388 22.0611922,0.880947445 22.0057743,0.859176109 C21.9365018,0.831467135 21.9018656,0.817612648 21.8672294,0.80672698 C21.8226971,0.792872493 21.7781648,0.784955643 21.7336326,0.776049188 C21.6465472,0.759225882 21.6020149,0.74932982 21.5574827,0.745371395 C21.5149296,0.74141297 21.4713869,0.74141297 21.4199274,0.742402576 L21.3763847,0.742402576 C21.3209668,0.742402576 21.2823721,0.742402576 21.2437775,0.745371395 C21.2091413,0.74932982 21.1685674,0.75724667 21.127004,0.766153125 C21.0349706,0.783966037 20.9864799,0.792872493 20.940958,0.80672698 L20.8419974,0.84334241 C20.7479848,0.880947445 20.6925668,0.904697994 20.6391281,0.933396574 L20.5253234,1.00266901 C20.4728742,1.03730523 20.4233939,1.07095184 20.3768824,1.10954648 C20.3372982,1.14220348 20.2996932,1.17782931 20.2620881,1.21543434 C20.2284415,1.25106017 20.1888573,1.29064442 20.1512522,1.33517669 L20.1512522,1.33517669 Z\" }),\n        React.createElement(\"path\", { d: \"M21.4045885,54.7592657 C20.4248783,54.7592657 19.6302246,53.9646119 19.6302246,52.9849018 L19.6302246,34.0606623 C19.6302246,33.0799625 20.4248783,32.2862983 21.4045885,32.2862983 C22.3842986,32.2862983 23.1789524,33.0799625 23.1789524,34.0606623 L23.1789524,52.9849018 C23.1789524,53.9646119 22.3842986,54.7592657 21.4045885,54.7592657\" }),\n        React.createElement(\"path\", { d: \"M13.2116387,50.0283543 C12.5980829,50.0283543 12.0023399,49.7097011 11.6737907,49.1406775 C11.1839356,48.292585 11.4738902,47.206987 12.3229723,46.7171319 L28.7118407,37.2545173 C29.5609229,36.7646623 30.6465209,37.0556065 31.1363759,37.9046886 C31.6252414,38.7527811 31.3352868,39.8383792 30.4862047,40.3282342 L14.0973363,49.7908488 C13.8182673,49.951165 13.512479,50.0283543 13.2116387,50.0283543\" }),\n        React.createElement(\"path\", { d: \"M13.2116387,50.0283543 C12.5980829,50.0283543 12.0023399,49.7097011 11.6737907,49.1406775 C11.1839356,48.292585 11.4738902,47.206987 12.3229723,46.7171319 L28.7118407,37.2545173 C29.5609229,36.7646623 30.6465209,37.0556065 31.1363759,37.9046886 C31.6252414,38.7527811 31.3352868,39.8383792 30.4862047,40.3282342 L14.0973363,49.7908488 C13.8182673,49.951165 13.512479,50.0283543 13.2116387,50.0283543\" }),\n        React.createElement(\"path\", { d: \"M29.5975383,50.0283543 C29.296698,50.0283543 28.9918993,49.9521546 28.7118407,49.7908488 L12.3229723,40.3282342 C11.4738902,39.8383792 11.1839356,38.7527811 11.6728011,37.9046886 C12.1636457,37.0556065 13.2472645,36.7646623 14.0973363,37.2545173 L30.4862047,46.7171319 C31.3352868,47.206987 31.6252414,48.292585 31.1353863,49.1406775 C30.8068371,49.7097011 30.2110941,50.0283543 29.5975383,50.0283543\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function attr_6(props) {\n    // wildlife\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 65 53\" },\n        React.createElement(\"path\", { d: \"M62.9,10.7 C61.4,8.9 59.1,8.1 56.9,8.7 L35.7,15.8 C36.3,15.1 36.6,14.2 36.6,13.2 C36.6,11.9 36,10.7 35,9.9 C35.5,7.5 36.4,5.8 37.9,4.9 C40.6,3.1 44.3,4.3 44.3,4.3 C44.7,4.4 45.1,4.4 45.4,4.2 C45.7,4 46,3.7 46.1,3.4 C46.4,2.6 46,1.8 45.2,1.5 C45,1.4 40.2,-0.2 36.2,2.4 C34.2,3.8 32.8,6 32.2,9 C32.1,9 32,9 31.8,9 C31.1,6 29.8,3.7 27.8,2.4 C23.9,-0.2 19,1.4 18.8,1.5 C18,1.8 17.6,2.6 17.9,3.4 C18,3.8 18.3,4.1 18.6,4.2 C18.9,4.4 19.3,4.4 19.7,4.3 C19.7,4.3 23.4,3.1 26.1,4.9 C27.6,5.9 28.6,7.8 29.1,10.4 C28.4,11.2 28,12.2 28,13.2 C28,14.1 28.3,15 28.9,15.8 L7.8,8.7 L7.7,8.7 C5.5,8.2 3.2,8.9 1.7,10.7 C0.2,12.5 -0.1,14.9 0.9,17.1 L10.8,30.5 C11.5,31.4 12.6,32 13.8,32 L14.1,32 C12.9,32.8 11.8,33.6 11,34.3 C8.6,36.5 7,39.3 6.5,42.2 C6,45.2 6.7,48 8.5,50.1 C10.2,52 12.6,53 15.3,53 C15.5,53 15.8,53 16,53 C18.9,52.8 21.9,51.5 24.2,49.4 C26,47.8 28.1,45.1 29.8,42.2 C30.5,46.6 31.1,47.4 32,47.4 C32.1,47.4 32.1,47.4 32.2,47.4 C32.3,47.4 32.3,47.4 32.4,47.4 C33.3,47.4 33.9,46.6 34.6,42.2 C36.3,45.1 38.4,47.8 40.2,49.4 C42.6,51.6 45.5,52.9 48.4,53 C51.4,53.2 54.2,52.2 56,50.1 C57.8,48 58.6,45.3 58,42.2 C57.5,39.3 55.9,36.5 53.5,34.3 C52.7,33.6 51.6,32.8 50.4,32 L50.7,32 C51.9,32 53,31.4 53.7,30.5 L63.5,17.2 L63.6,17.1 C64.7,14.9 64.4,12.5 62.9,10.7 Z M36.6,18.5 L57.6,11.5 C58.8,11.2 59.9,11.6 60.7,12.6 C61.4,13.5 61.6,14.7 61.2,15.7 L51.5,28.7 C51.3,28.9 51.1,29 50.8,29 L35.9,29 C36.3,23.9 36.5,19.4 36.5,18.6 C36.6,18.6 36.6,18.5 36.6,18.5 Z M55.2,42.6 C55.6,44.7 55.1,46.7 53.9,48.1 C52.7,49.5 50.8,50.1 48.6,50 C46.3,49.9 44,48.8 42.1,47.1 C39.9,45.1 37.3,41.4 35.6,38 C35.5,37.7 35.3,37.4 35.2,37.1 C35.4,35.5 35.5,33.8 35.7,32 L44.5,32 C47.3,33.3 50,35 51.6,36.4 C53.6,38.1 54.8,40.3 55.2,42.6 Z M28.5,29.1 L13.6,29.1 C13.3,29.1 13.1,29 12.9,28.8 L3.3,15.8 C2.8,14.7 3,13.5 3.8,12.6 C4.4,11.9 5.3,11.4 6.1,11.4 C6.3,11.4 6.6,11.4 6.8,11.5 L27.8,18.5 C27.8,18.6 27.8,18.6 27.8,18.7 C27.9,19.4 28.1,24 28.5,29.1 Z M12.8,36.4 C14.4,35 17.1,33.3 19.9,32 L28.7,32 C28.9,33.8 29,35.5 29.2,37.1 C29.1,37.4 28.9,37.7 28.8,38 C27.1,41.5 24.5,45.2 22.3,47.1 C20.4,48.8 18.1,49.9 15.8,50 C13.6,50.1 11.8,49.5 10.5,48.1 C9.3,46.7 8.8,44.8 9.2,42.6 C9.7,40.3 10.9,38.1 12.8,36.4 Z\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function dry_in_summer(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 65 77\" },\n        React.createElement(\"path\", { d: \"M44.8,35.2 L44.8,35.2 C40.5,31.7 35.2,29.6 29.7,29.2 L29.7,27.4 C29.7,26.3 28.8,25.4 27.7,25.4 C26.6,25.4 25.7,26.3 25.7,27.4 L25.7,29.2 C20.2,29.6 14.9,31.7 10.6,35.2 C6.2,38.8 3,43.8 1.6,49.3 L0.7,52.7 L2.9,50 C4.5,48.1 7.5,47 10.7,47 C13.9,47 17,48.2 18.6,50.2 L19.2,50.7 L19.7,50.1 C21.2,48.5 23.3,47.5 25.5,47.2 L25.5,69.6 C25.5,73.4 28.6,76.5 32.4,76.5 C36.2,76.5 39.3,73.4 39.3,69.6 C39.3,68.5 38.4,67.6 37.3,67.6 C36.2,67.6 35.3,68.5 35.3,69.6 C35.4,71.2 34.2,72.6 32.6,72.7 C31,72.8 29.6,71.6 29.5,70 C29.5,69.9 29.5,69.8 29.5,69.7 L29.5,47.3 C31.8,47.6 33.9,48.6 35.4,50.3 L36,50.8 L36.5,50.2 C38.1,48.3 41.1,47.2 44.3,47.2 C47.5,47.2 50.6,48.4 52.1,50.2 L54.4,52.9 L53.5,49.5 C52.4,43.8 49.2,38.8 44.8,35.2 Z M46.5,43 C42.9,42.6 39.2,43.3 36,45.2 C33.5,43.6 30.5,42.8 27.5,42.9 C24.5,42.9 21.6,43.7 19,45.2 C15.9,43.3 12.2,42.5 8.5,43 C15.7,32.6 30.1,30 40.5,37.2 C43,38.8 45,40.7 46.5,43 Z\", id: \"Shape\" }),\n        React.createElement(\"path\", { d: \"M49.3,7.9 C44.7,7.9 41,11.6 41,16.2 C41,20.8 44.7,24.5 49.3,24.5 C53.9,24.5 57.6,20.8 57.6,16.2 C57.5,11.6 53.8,7.9 49.3,7.9 Z M53.9,16.1 C53.9,18.7 51.8,20.7 49.2,20.7 C46.6,20.7 44.6,18.6 44.6,16 C44.6,13.4 46.7,11.4 49.2,11.4 C51.8,11.5 53.9,13.6 53.9,16.1 Z\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"49.5\", cy: \"3.3\", r: \"2.5\" }),\n        React.createElement(\"path\", { d: \"M40.3,9.3 C41.7,9.3 42.8,8.2 42.8,6.8 C42.8,5.4 41.7,4.3 40.3,4.3 C39.6,4.3 39,4.6 38.6,5 L38.6,5 C37.6,6 37.6,7.5 38.6,8.5 C39,9.1 39.7,9.4 40.3,9.3 Z\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"36.4\", cy: \"15.9\", r: \"2.5\" }),\n        React.createElement(\"path\", { d: \"M41.8,23.3 C40.8,22.3 39.3,22.3 38.3,23.3 C37.3,24.3 37.3,25.8 38.3,26.8 C38.8,27.3 39.4,27.5 40,27.5 C40.7,27.5 41.3,27.2 41.7,26.8 C42.7,25.9 42.7,24.3 41.8,23.3 L41.8,23.3 Z\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"49.1\", cy: \"29\", r: \"2.5\" }),\n        React.createElement(\"path\", { d: \"M56.5,23.6 L56.5,23.6 C55.5,24.6 55.5,26.1 56.5,27.1 C57.5,28.1 59,28.1 60,27.1 C61,26.1 61,24.6 60,23.6 C59,22.7 57.5,22.7 56.5,23.6 L56.5,23.6 Z\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"62.1\", cy: \"16.3\", r: \"2.5\" }),\n        React.createElement(\"path\", { d: \"M58.5,9.6 L58.5,9.6 C59.9,9.6 61,8.5 61,7.1 C61,5.7 59.9,4.6 58.5,4.6 C57.8,4.6 57.2,4.9 56.8,5.3 C55.8,6.3 55.8,7.8 56.8,8.8 C57.2,9.4 57.9,9.6 58.5,9.6 L58.5,9.6 Z\" })));\n}\n","import React from 'react';\nimport Box from '@mui/material/Box';\nimport Skeleton from '@mui/material/Skeleton';\nexport default function SearchResultsItemLoading() {\n    const DesktopView = () => (React.createElement(Box, { sx: {\n            display: 'flex', justifyContent: 'space-between', mb: 2, mx: 0, mt: 0, height: 383,\n        } },\n        React.createElement(Box, { sx: {\n                width: '45%', display: 'flex', flexDirection: 'column', justifyContent: 'space-between', ml: 1,\n            } },\n            React.createElement(Skeleton, { width: \"100%\", height: 25 }),\n            React.createElement(Skeleton, { width: 300, height: 25 }),\n            React.createElement(Skeleton, { width: 360, height: 55 }),\n            React.createElement(Skeleton, { width: \"100%\", height: 4 }),\n            React.createElement(Box, { sx: { width: '45%', display: 'flex', justifyContent: 'space-between' } },\n                React.createElement(Skeleton, { variant: \"rectangular\", width: 90, height: 90, sx: { borderRadius: 1 } }),\n                React.createElement(Skeleton, { variant: \"rectangular\", width: 90, height: 90, sx: { borderRadius: 1 } })),\n            React.createElement(Skeleton, { width: \"100%\", height: 60 })),\n        React.createElement(Box, { sx: {\n                width: '40%', ml: 1,\n            } },\n            React.createElement(Skeleton, { variant: \"rectangular\", width: \"100%\", sx: { borderRadius: 1 } },\n                React.createElement(Box, { sx: { height: 320 } })))));\n    if (window.innerWidth < 768) {\n        return (React.createElement(Box, { sx: {\n                display: 'flex', flexDirection: 'column', justifyContent: 'space-between', my: 2, mx: 0,\n            } },\n            React.createElement(Skeleton, { variant: \"rectangular\", width: \"100%\", sx: { borderRadius: 1 } },\n                React.createElement(Box, { sx: { height: 200 } })),\n            React.createElement(Skeleton, { width: \"80%\", height: 30, sx: { borderRadius: 1 } }),\n            React.createElement(Skeleton, { width: \"90%\", height: 25, sx: { borderRadius: 1 } }),\n            React.createElement(Box, { sx: {\n                    width: '100%', display: 'flex', justifyContent: 'flex-start', mt: 0.75,\n                } },\n                React.createElement(Skeleton, { variant: \"rectangular\", width: \"35%\", height: 90, sx: { borderRadius: 1 } }),\n                React.createElement(Skeleton, { variant: \"rectangular\", width: \"35%\", height: 90, sx: { borderRadius: 1, ml: 2.375 } })),\n            React.createElement(Skeleton, { height: 4, width: \"100%\", sx: { mt: 0.5 } }),\n            React.createElement(Box, { sx: {\n                    width: '55%', display: 'flex', justifyContent: 'flex-start', mt: 0.75,\n                } },\n                React.createElement(Skeleton, { variant: \"rectangular\", width: \"45%\", height: 90, sx: { width: '45%', borderRadius: 1 } }),\n                React.createElement(Skeleton, { variant: \"rectangular\", width: \"45%\", height: 90, sx: { width: '45%', borderRadius: 1, ml: 2.375 } })),\n            React.createElement(Skeleton, { width: \"100%\", height: 50, sx: { borderRadius: 1 } }),\n            React.createElement(Skeleton, { width: \"100%\", height: 55, sx: { borderRadius: 1 } })));\n    }\n    return (React.createElement(React.Fragment, null,\n        React.createElement(Box, { sx: {\n                mt: '-12px',\n            } },\n            React.createElement(Skeleton, { width: \"70%\", height: 55 })),\n        React.createElement(DesktopView, null),\n        React.createElement(DesktopView, null)));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function attr16(props) {\n    // texture\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 65 65\" },\n        React.createElement(\"path\", { d: \"M63.8,37.9 L57.7,31.8 L62.5,27 C63.2,26.3 63.2,25.2 62.5,24.5 C61.8,23.8 60.7,23.8 60,24.5 L55.2,29.3 L46.3,20.4 L51.3,15.4 C52,14.7 52,13.6 51.3,12.9 C50.6,12.2 49.5,12.2 48.8,12.9 L43.8,17.9 L35,9 L39.8,4.2 C40.5,3.5 40.5,2.4 39.8,1.7 C39.1,1 38,1 37.3,1.7 L32.5,6.5 L27.2,1.2 C26.5,0.5 25.4,0.5 24.7,1.2 C24,1.9 24,3 24.7,3.7 L30.1,9.1 L21.2,18 L16,12.8 C15.3,12.1 14.2,12.1 13.5,12.8 C12.8,13.5 12.8,14.6 13.5,15.3 L18.7,20.5 L9.8,29.4 L4.5,24.1 C3.8,23.4 2.7,23.4 2,24.1 C1.3,24.8 1.3,25.9 2,26.6 L7.4,32 L0.8,38.7 C0.1,39.4 0.1,40.5 0.8,41.2 C1.1,41.5 1.6,41.7 2.1,41.7 C2.6,41.7 3,41.5 3.4,41.2 L10,34.5 L18.8,43.4 L12.3,49.9 C11.6,50.6 11.6,51.7 12.3,52.4 C12.6,52.7 13.1,52.9 13.6,52.9 C14.1,52.9 14.5,52.7 14.9,52.4 L21.4,45.9 L30.3,54.8 L23.7,61.5 C23,62.2 23,63.3 23.7,64 C24,64.3 24.5,64.5 25,64.5 C25.5,64.5 25.9,64.3 26.3,64 L32.9,57.3 L39,63.4 C39.3,63.7 39.8,63.9 40.3,63.9 C40.8,63.9 41.2,63.7 41.6,63.4 C42.3,62.7 42.3,61.6 41.6,60.9 L35.5,54.8 L44.4,45.9 L50.7,52.2 C51,52.5 51.5,52.7 52,52.7 C52.5,52.7 52.9,52.5 53.3,52.2 C54,51.5 54,50.4 53.3,49.7 L46.9,43.4 L55.8,34.5 L61.9,40.6 C62.2,40.9 62.7,41.1 63.2,41.1 C63.7,41.1 64.1,40.9 64.5,40.6 C64.4,39.7 64.4,38.6 63.8,37.9 Z M32.5,11.4 L41.4,20.3 L32.5,29.2 L23.6,20.3 L32.5,11.4 Z M12.3,31.7 L21.2,22.8 L30.1,31.7 L21.2,40.6 L12.3,31.7 Z M32.5,52.1 L23.6,43.2 L32.5,34.3 L41.3,43.2 L32.5,52.1 Z M43.8,40.7 L35,31.8 L43.9,22.9 L52.8,31.8 L43.8,40.7 Z\", fillRule: \"nonzero\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function attr_3(props) {\n    // foliage\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 65 64\" },\n        React.createElement(\"path\", { d: \"M44.7,22 C48.9,21.9 53.6,19.5 57.7,15.4 C62.1,11 64.5,5.8 64.3,1.4 C64.3,0.8 63.7,0.3 63.1,0.2 C56.6,0.1 50.8,5.2 49.2,6.8 C45.1,10.9 42.7,15.6 42.6,19.7 L42.6,20.1 L38.8,23.9 L39.1,21 C39.2,20 39.2,19.2 39.2,18.3 C39.2,12.3 37.3,7.1 34.1,4.3 C33.8,4.1 33.5,4 33.2,4 C33,4 32.7,4.1 32.5,4.3 C29.4,7.1 27.5,12.3 27.5,18.3 C27.5,23.2 28.7,27.5 30.9,30.5 L31.4,31.2 L30.8,31.8 C28.5,34.2 26,36.6 23.9,38.7 L21.9,40.7 L22.2,37.8 C22.3,36.9 22.3,35.9 22.3,35.1 C22.3,29.1 20.4,23.8 17.3,21.1 C17.1,20.9 16.8,20.8 16.5,20.8 C16.5,20.8 16.4,20.8 16.4,20.8 C16.1,20.8 15.9,20.9 15.7,21.1 C12.5,23.9 10.7,29.1 10.6,35.1 C10.6,39.9 11.9,44.4 14,47.3 L14.5,48 L13.9,48.6 C10.5,52 7.1,55.4 3.7,58.8 L0.8,61.7 C0.5,61.9 0.4,62.3 0.4,62.7 C0.4,63.1 0.5,63.4 0.7,63.6 C0.9,63.8 1.3,63.9 1.6,63.9 C2,63.9 2.3,63.7 2.5,63.5 L13.1,52.9 L13.8,53.4 C16.8,55.6 21.3,56.9 26.1,56.9 C32.1,56.9 37.3,55 40.1,51.8 C40.5,51.4 40.5,50.6 40.1,50.1 C37.3,47 32.1,45.1 26.1,45.1 C25.1,45.1 24.1,45.2 23.1,45.3 L20.2,45.6 L29.9,35.9 L30.6,36.4 C33.6,38.6 38.1,39.9 42.9,39.9 C48.9,39.9 54.1,38 56.9,34.8 C57.3,34.4 57.3,33.6 56.9,33.1 C54.1,30 48.9,28.1 42.9,28.1 C41.9,28.1 40.9,28.2 39.9,28.3 L37,28.6 L44.2,21.4 L44.7,22 Z M16.5,46.6 L16.4,46.7 L16.3,46.6 C16.4,46.6 16.4,46.6 16.5,46.6 Z M26.1,48.1 L26.1,48.1 C29.5,48.1 33.1,49 35.8,50.5 L37.4,51.4 L35.8,52.3 C33.1,53.8 29.4,54.7 26.1,54.7 C22.7,54.7 19.1,53.8 16.3,52.3 L14.7,51.4 L16.3,50.5 C19.1,49.1 22.8,48.1 26.1,48.1 Z M30,18.5 C30,15.1 30.9,11.5 32.4,8.7 L33.3,7.1 L34.2,8.7 C35.7,11.4 36.6,15.1 36.6,18.5 C36.6,21.9 35.7,25.5 34.2,28.3 L33.3,29.9 L32.4,28.3 C30.9,25.5 30,21.9 30,18.5 Z\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function mostly_shade(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"-8 -8 62 62\" },\n        React.createElement(\"path\", { d: \"M44.1,21.1 C44,19.9 43.8,18.7 43.6,17.6 C43.3,16.5 43,15.5 42.6,14.5 C42.1,13.3 41.5,12.1 40.8,11 C40.1,9.9 39.3,8.9 38.5,7.9 C37.3,6.6 35.9,5.4 34.4,4.4 C30.9,2.1 26.7,0.7 22.3,0.7 C10.2,0.7 0.3,10.6 0.3,22.7 C0.3,34.8 10.2,44.7 22.3,44.7 C26.8,44.7 31,43.3 34.4,41 C35.9,40 37.3,38.8 38.5,37.5 C39.4,36.5 40.2,35.5 40.8,34.4 C41.5,33.3 42.1,32.1 42.6,30.9 C43,29.9 43.3,28.9 43.6,27.8 C43.9,26.6 44.1,25.5 44.1,24.3 C44.1,23.8 44.2,23.3 44.2,22.8 C44.2,22.1 44.1,21.6 44.1,21.1 Z M39.2,27.7 C38.9,28.8 38.5,29.8 37.9,30.8 L12.3,30.8 L12.3,34.3 L35.5,34.3 C34.5,35.5 33.3,36.5 32,37.4 L12.4,37.4 C7.6,34.2 4.4,28.8 4.4,22.6 C4.4,16.4 7.6,11 12.4,7.8 L32,7.8 C33.3,8.7 34.5,9.7 35.5,10.9 L12.3,10.9 L12.3,14.4 L38,14.4 C38.5,15.4 38.9,16.4 39.3,17.5 L12.3,17.5 L12.3,21 L39.9,21 C39.9,21.5 40,22 40,22.5 C40,23 40,23.5 39.9,24 L12.3,24 L12.3,27.5 L39.2,27.5 L39.2,27.7 Z\", id: \"s_mostly_shade\", fill: \"inherit\", fillRule: \"nonzero\" })));\n}\n","\"use client\";\n\nimport createSvgIcon from \"./utils/createSvgIcon.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default createSvgIcon(/*#__PURE__*/_jsx(\"path\", {\n  d: \"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z\"\n}), 'OpenInNew');","import React from 'react';\nimport attr1 from './attr_1';\nimport attr2 from './attr_2';\nimport attr3 from './attr_3';\nimport attr4 from './attr_4';\nimport attr5 from './attr_5';\nimport attr6 from './attr_6';\nimport attr7 from './attr_7';\nimport attr8 from './attr_8';\nimport attr9 from './attr_9';\nimport attr14 from './attr_14';\nimport attr15 from './attr_15';\nimport attr16 from './attr_16';\nimport bright_shade from './bright_shade';\nimport dappled_shade from './dappled_shade';\nimport drought_tolerant from './drought_tolerant';\nimport dry_in_summer from './dry_in_summer';\nimport dry_in_winter from './dry_in_winter';\nimport dry_when_dormant from './dry_when_dormant';\nimport even_moisture from './even_moisture';\nimport high from './high';\nimport low from './low';\nimport mostly_shade from './mostly_shade';\nimport mostly_sun from './mostly_sun';\nimport occasional from './occasional';\nimport plant_size from './plant_size';\nimport regular from './regular';\nimport shade from './shade';\nimport standing_water from './standing_water';\nimport sun from './sun';\nimport zones from './zones';\nconst attributes = {\n    attr1,\n    attr2,\n    attr3,\n    attr4,\n    attr5,\n    attr6,\n    attr7,\n    attr8,\n    attr9,\n    attr14,\n    attr15,\n    attr16,\n    bright_shade,\n    dappled_shade,\n    drought_tolerant,\n    dry_in_summer,\n    dry_in_winter,\n    dry_when_dormant,\n    even_moisture,\n    high,\n    low,\n    mostly_shade,\n    mostly_sun,\n    occasional,\n    plant_size,\n    regular,\n    shade,\n    standing_water,\n    sun,\n    zones,\n};\nexport const AttributeIcon = ({ name, ...props }) => {\n    const IconComponent = attributes[name];\n    return IconComponent ? React.createElement(IconComponent, { ...props }) : null;\n};\nexport { bright_shade as BrightShade };\nexport { dappled_shade as DappledShade };\nexport { drought_tolerant as DroughtTolerant };\nexport { dry_in_summer as DryInSummer };\nexport { dry_in_winter as DryInWinter };\nexport { dry_when_dormant as DryWhenDormant };\nexport { even_moisture as EvenMoisture };\nexport { high as High };\nexport { low as Low };\nexport { mostly_shade as MostlyShade };\nexport { mostly_sun as MostlySun };\nexport { occasional as Occasional };\nexport { plant_size as PlantSize };\nexport { regular as Regular };\nexport { shade as Shade };\nexport { standing_water as StandingWater };\nexport { sun as Sun };\nexport { zones as Zones };\nexport { default as IcnArrowR } from './icn_arrow_r';\nexport { default as IcnClearFilter } from './icn_clear_filter';\nexport { default as IcnGearFilter } from './icn_gear_filter';\nexport { default as IcnSearch } from './icn_search';\nexport { default as IcnSearchClear } from './icn_search_clear';\n","/* eslint-disable jsx-a11y/interactive-supports-focus */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport React, { useEffect, useState } from 'react';\nimport * as Sentry from '@sentry/browser';\nimport Add from '@mui/icons-material/Add';\nimport Select from '@mui/material/Select';\nimport MenuItem from '@mui/material/MenuItem';\nimport Box from '@mui/material/Box';\nimport OpenInNew from '@mui/icons-material/OpenInNew';\nimport NotifyButton from '../NotifyButton';\nimport CustomLoader from '../CommonComponents/CustomLoader';\nimport { useNurseryContext } from '../../contexts/NurseryContext';\nconst classes = {\n    loaderRoot: (theme) => ({\n        color: theme.palette.background.default,\n        padding: theme.spacing(0, 0.65),\n    }),\n    select: {\n        padding: 0,\n        boxShadow: 'none',\n        border: '1px solid #d8d8d8',\n        '& ul': {\n            padding: 0,\n            backgroundColor: '#fff',\n        },\n    },\n    menuItem: {\n        color: '#5B6A74',\n        padding: '15px 0 0',\n        cursor: 'pointer',\n        '& .item_wrapper': {\n            borderBottom: '1px solid #d3d3d3',\n            margin: '0 15px',\n            display: 'flex',\n            alignItems: 'flex-start',\n            flexDirection: 'column',\n            width: '100%',\n            paddingBottom: '15px',\n        },\n        '& p': {\n            marginBottom: 0,\n            fontSize: '14px',\n            fontWeight: 'bold',\n            lineHeight: '19px',\n        },\n        '& span': {\n            fontSize: '12px',\n            fontWeight: 400,\n            lineHeight: '20px',\n        },\n        '& .shopify_more_options': {\n            display: 'flex',\n            alignItems: 'center',\n            padding: '0 12px 15px',\n        },\n    },\n    noBorder: {\n        border: 'none',\n    },\n    noMargin: {\n        margin: 0,\n    },\n    hide: {\n        display: 'none',\n    },\n};\nconst ShopifyBuy = ({ setOpenOptions, isAvailable = false, notForSale = () => { }, mainTitle = '', onAddToShopifyCart, plant: { variants, django_pk: djangoPk, affiliated_links: affiliatedLinks, nurseries, }, }) => {\n    const { isNursery, nurseryName, nurserySlug } = useNurseryContext();\n    const [shopifyProduct, setShopifyProduct] = useState([]);\n    const [filteredLinks, setFilteredLinks] = useState(affiliatedLinks);\n    const [selectedVariant, setSelectedVariant] = useState('none');\n    const [addingToCart, setAddingToCart] = useState(false);\n    const [openSelect, setOpenSelect] = useState(false);\n    const [isAffiliatedLink, setIsAffiliatedLink] = useState(false);\n    const availableOptions = (shopifyProduct === null || shopifyProduct === void 0 ? void 0 : shopifyProduct.length) + (filteredLinks === null || filteredLinks === void 0 ? void 0 : filteredLinks.length);\n    const getFilteredAffiliatedLinks = () => {\n        let filteredItems = affiliatedLinks;\n        if (isNursery) {\n            filteredItems = affiliatedLinks.filter((item) => item.nursery.name === nurseryName);\n        }\n        setFilteredLinks(filteredItems);\n    };\n    const getShopifyProductDetails = () => {\n        let product = variants.filter((variant) => variant.available);\n        if (isNursery && !isAvailable) {\n            product = product\n                .filter((variant) => variant.fulfillment_service === nurserySlug);\n        }\n        setShopifyProduct(product);\n        if ((affiliatedLinks === null || affiliatedLinks === void 0 ? void 0 : affiliatedLinks.length) > 0) {\n            getFilteredAffiliatedLinks();\n        }\n    };\n    const getSaleUrl = () => {\n        let item;\n        if (isAffiliatedLink) {\n            item = affiliatedLinks.find((link) => link.id === selectedVariant);\n        }\n        if (item) {\n            return item.sale_url;\n        }\n        return '';\n    };\n    const handleAddToCart = async (e) => {\n        e.preventDefault();\n        if (selectedVariant === 'none' && !openSelect) {\n            setOpenSelect(true);\n        }\n        else {\n            setAddingToCart(true);\n            await onAddToShopifyCart({ id: selectedVariant }, 1, djangoPk);\n            setAddingToCart(false);\n        }\n    };\n    const handleChange = (event) => {\n        const id = event.target.value;\n        const mergeArray = [...shopifyProduct, ...filteredLinks];\n        mergeArray.forEach((item) => {\n            if (item.id === id) {\n                setSelectedVariant(item.id);\n            }\n        });\n    };\n    const closeSelect = () => {\n        setOpenSelect(false);\n    };\n    useEffect(() => {\n        if ((shopifyProduct === null || shopifyProduct === void 0 ? void 0 : shopifyProduct.length) === 0 && (filteredLinks === null || filteredLinks === void 0 ? void 0 : filteredLinks.length) === 0) {\n            if (notForSale) {\n                try {\n                    notForSale();\n                }\n                catch (error) {\n                    Sentry.captureException(error);\n                }\n            }\n        }\n    }, [shopifyProduct, filteredLinks]);\n    useEffect(() => {\n        getShopifyProductDetails();\n    }, [variants]);\n    useEffect(() => {\n        const item = shopifyProduct.find((product) => product.id === selectedVariant);\n        setIsAffiliatedLink(!item && selectedVariant !== 'none');\n    }, [selectedVariant]);\n    return (shopifyProduct === null || shopifyProduct === void 0 ? void 0 : shopifyProduct.length) === 0 && (filteredLinks === null || filteredLinks === void 0 ? void 0 : filteredLinks.length) === 0 ? (React.createElement(\"div\", { className: \"notify_container\" },\n        React.createElement(NotifyButton, { showTitle: false, djangoPk: djangoPk, plantName: mainTitle }),\n        (nurseries === null || nurseries === void 0 ? void 0 : nurseries.length) > 0 && (React.createElement(Box, { sx: [classes.menuItem, classes.noBorder, classes.noMargin] },\n            React.createElement(\"div\", { onClick: () => setOpenOptions(true), role: \"button\", className: \"shopify_more_options\" },\n                React.createElement(Add, { fontSize: \"small\", style: { marginRight: 5 } }),\n                React.createElement(\"p\", null, \"More Options\")))))) : (React.createElement(\"div\", { className: \"shopify_btn\" },\n        React.createElement(Select, { open: openSelect, onClick: () => {\n                if (!openSelect)\n                    setOpenSelect(true);\n            }, onClose: closeSelect, onBlur: closeSelect, defaultValue: \"none\", id: \"menu\", MenuProps: {\n                sx: { paper: classes.select },\n                anchorOrigin: {\n                    vertical: 'bottom',\n                    horizontal: 'center',\n                },\n                transformOrigin: {\n                    vertical: 'bottom',\n                    horizontal: 'center',\n                },\n            }, onChange: handleChange, className: \"variant_dd_wrapper\", inputProps: { 'aria-label': 'Without label' }, value: selectedVariant },\n            React.createElement(MenuItem, { sx: [classes.menuItem, classes.hide], value: \"none\" },\n                React.createElement(\"p\", { className: \"plant_info\" }, \"Select a size\"),\n                React.createElement(\"span\", { className: \"select_shipping_info\" },\n                    availableOptions,\n                    ' ',\n                    \"option\",\n                    availableOptions > 1 ? 's' : '',\n                    ' ',\n                    \"available\")),\n            (shopifyProduct === null || shopifyProduct === void 0 ? void 0 : shopifyProduct.length) > 0 && (shopifyProduct === null || shopifyProduct === void 0 ? void 0 : shopifyProduct.map((item) => {\n                var _a;\n                return (React.createElement(MenuItem, { sx: classes.menuItem, key: item.id, value: item.id },\n                    React.createElement(\"div\", { className: \"item_wrapper\" },\n                        React.createElement(\"p\", { className: \"plant_info\" },\n                            item.title,\n                            ' ',\n                            \"| $\",\n                            item.price),\n                        React.createElement(\"span\", { className: \"select_shipping_info\" }, (_a = item === null || item === void 0 ? void 0 : item.nursery) === null || _a === void 0 ? void 0 : _a.shipping_info))));\n            })),\n            (filteredLinks === null || filteredLinks === void 0 ? void 0 : filteredLinks.length) > 0 && filteredLinks.map((link) => {\n                var _a, _b;\n                return (React.createElement(MenuItem, { sx: classes.menuItem, key: link.id, value: link.id },\n                    React.createElement(\"div\", { className: \"item_wrapper\" },\n                        link.size || link.price ? (React.createElement(\"p\", { className: \"plant_info\" },\n                            link.size,\n                            ' ',\n                            \"| $\",\n                            link.price)) : React.createElement(\"p\", { className: \"plant_info\" }, (_a = link.nursery) === null || _a === void 0 ? void 0 : _a.name),\n                        React.createElement(\"span\", { className: \"select_shipping_info\" }, (_b = link === null || link === void 0 ? void 0 : link.nursery) === null || _b === void 0 ? void 0 : _b.shipping_info))));\n            }),\n            React.createElement(MenuItem, { onClick: () => setOpenOptions(true), sx: [classes.menuItem, classes.noBorder], value: \"more-options\" },\n                React.createElement(\"div\", { role: \"button\", className: \"shopify_more_options\" },\n                    React.createElement(Add, { fontSize: \"small\", style: { marginRight: 5 } }),\n                    React.createElement(\"p\", null, \"More Options\")))),\n        isAffiliatedLink ? (React.createElement(\"a\", { target: \"_blank\", rel: \"noopener nofollow sponsored\", href: getSaleUrl() },\n            React.createElement(\"button\", { type: \"button\", className: \"btn primary\" },\n                React.createElement(OpenInNew, { sx: { padding: 0, marginRight: 2 } }),\n                \"Buy from nursery\"))) : (React.createElement(\"button\", { type: \"button\", className: \"btn primary\", id: \"addcart_btn\", onClick: handleAddToCart, disabled: addingToCart },\n            React.createElement(\"img\", { className: \"add_to_cart\", src: `${process.env.STATIC_PATH}/img/add-to-cart.png`, alt: \"Add to cart\" }),\n            addingToCart ? (React.createElement(CustomLoader, { loaderSx: classes.loaderRoot, loaderAttributes: { size: 20, thickness: 5 } })) : 'Add to Cart'))));\n};\nexport default ShopifyBuy;\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function attr_8(props) {\n    // fruit\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 49 65\" },\n        React.createElement(\"path\", { d: \"M26.6,18.3 L26.4,18.3 L26.4,18.1 C26.2,14.9 26.8,6.9 36.1,3.3 C36.7,3 37.1,2.4 36.9,1.7 C36.8,1.3 36.5,1 36.2,0.8 C35.9,0.6 35.5,0.6 35.1,0.7 C27.2,3.8 24.7,9.6 24,14 L24,15 L23.8,14.2 C22.4,9 18.4,6.1 12.5,6.1 C8.4,6.1 4.7,7.4 4.7,7.4 L3.4,8 L3.8,9.5 C5.8,15.6 9.3,19.1 14.2,20 L14.8,20.1 L14.2,20.4 C5.7,24.2 0.2,32.5 0.2,41.6 C0.2,47.7 2.7,53.6 7.3,58 C11.9,62.4 17.9,64.9 24.2,64.9 C37.4,64.9 48.2,54.5 48.2,41.6 C48.3,29.7 38.8,19.5 26.6,18.3 Z M6.9,10 L6.8,9.8 L7,9.7 C7.6,9.5 9.7,8.8 12.6,8.8 C17.7,8.8 20.6,11.2 21.5,16.2 L21.5,16.4 L21.4,16.5 C20.4,16.9 18.5,17.4 16.6,17.4 C12.2,17.3 9,14.9 6.9,10 Z M3,41.5 C3,30.5 12.1,21.5 23.5,21.1 C23.9,21.1 24.3,21.4 24.3,21.9 L24.3,61.2 C24.3,61.6 23.9,62 23.5,62 C12.1,61.5 3,52.5 3,41.5 Z\", id: \"fruit\", fill: \"inherit\", fillRule: \"nonzero\" })));\n}\n","/* eslint-disable jsx-a11y/interactive-supports-focus */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport React from 'react';\nimport Box from '@mui/material/Box';\nimport Modal from '@mui/material/Modal';\nimport CloseIcon from '@mui/icons-material/Close';\nimport PdpEmail from '../PlantDetail/pdpEmail';\nimport PdpPartners from '../PlantDetail/pdpPartners';\nimport PdpShopOnline from '../PlantDetail/pdpShopOnline';\nconst ShopifyMoreOptions = ({ openOptions, setOpenOptions, plantTitle, djangoPk = 0, partnersData, onAddToShopifyCart, variants, affiliatedLinks, }) => (React.createElement(Modal, { onClose: () => setOpenOptions(false), open: openOptions },\n    React.createElement(Box, { className: \"options_modal\" },\n        React.createElement(\"button\", { type: \"button\", onClick: () => setOpenOptions(false), className: \"close_btn\" },\n            React.createElement(CloseIcon, null)),\n        React.createElement(Box, { className: \"options_modal_wrapper\" },\n            React.createElement(\"h1\", null,\n                \"Find\",\n                ' ',\n                plantTitle),\n            ((variants.length > 0 || (affiliatedLinks === null || affiliatedLinks === void 0 ? void 0 : affiliatedLinks.length) > 0)) && (React.createElement(PdpShopOnline, { djangoPk: djangoPk, onAddToShopifyCart: onAddToShopifyCart, variants: variants, affiliatedLinks: affiliatedLinks })),\n            (partnersData.length > 0)\n                && React.createElement(PdpPartners, { data: partnersData }),\n            React.createElement(\"div\", { className: \"pdp_email_modal\" },\n                React.createElement(\"div\", { className: \"modal_item_container\" },\n                    React.createElement(PdpEmail, { isNotifyModal: false, plantId: djangoPk, plantName: plantTitle })))))));\nexport default ShopifyMoreOptions;\n","import React from 'react';\nimport Box from '@mui/material/Box';\nconst disclaimerText = 'We independently publish plant data to search multiple nurseries at once. We may earn a commission on qualifying purchases when you buy through our links.';\nconst defaultStyles = (theme) => ({\n    fontFamily: 'system-ui, sans-serif',\n    fontSize: 16,\n    fontStyle: 'italic',\n    fontWeight: 400,\n    lineHeight: '32px',\n    letterSpacing: '0.06em',\n    textAlign: 'center',\n    padding: theme.spacing(2.5, 0),\n});\nexport default function Disclaimer({ sx }) {\n    return (React.createElement(Box, { sx: [defaultStyles, ...(Array.isArray(sx) ? sx : [sx])] }, disclaimerText));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function mostly_sun(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 64 64\" },\n        React.createElement(\"path\", { d: \"M54.3,30.2 C54.2,29.1 54.1,28.1 53.8,27.1 C53.5,25.9 53.1,24.6 52.7,23.5 C52.2,22.4 51.7,21.4 51.1,20.4 C50.3,19.1 49.4,17.9 48.3,16.8 C44.2,12.4 38.4,9.7 32,9.7 C19.7,9.7 9.6,19.7 9.6,32.1 C9.6,44.4 19.6,54.5 32,54.5 C38.4,54.5 44.2,51.8 48.3,47.4 C49.3,46.3 50.3,45.1 51.1,43.8 C51.7,42.8 52.3,41.8 52.7,40.7 C53.2,39.5 53.6,38.3 53.8,37.1 C54,36.1 54.2,35 54.3,34 C54.3,33.4 54.4,32.8 54.4,32.2 C54.4,31.6 54.3,30.8 54.3,30.2 Z M49.3,37 L42.1,37 L42.1,40.6 L47.9,40.6 C47.3,41.7 46.6,42.8 45.8,43.7 L42.2,43.7 L42.2,47 C39.3,49 35.8,50.1 32.1,50.1 C22.2,50.1 14.1,42 14.1,32.1 C14.1,22.2 22.2,14.1 32.1,14.1 C35.8,14.1 39.3,15.2 42.2,17.2 L42.2,20.5 L45.8,20.5 C46.6,21.5 47.3,22.5 47.9,23.6 L42.1,23.6 L42.1,27.2 L49.3,27.2 C49.6,28.2 49.8,29.3 49.9,30.3 L42.1,30.3 L42.1,33.9 L49.9,33.9 C49.8,34.9 49.6,36 49.3,37 Z\", id: \"Shape\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"32.1\", cy: \"2.9\", r: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(17.523800, 6.800500) rotate(-30.000728) translate(-17.523800, -6.800500) \", cx: \"17.5238\", cy: \"6.8005\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(6.834300, 17.403400) rotate(-59.999272) translate(-6.834300, -17.403400) \", cx: \"6.8343\", cy: \"17.4034\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"2.9\", cy: \"31.9\", r: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(6.708400, 46.489000) rotate(-30.000728) translate(-6.708400, -46.489000) \", cx: \"6.7084\", cy: \"46.489\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(17.312400, 57.198500) rotate(-59.999272) translate(-17.312400, -57.198500) \", cx: \"17.3124\", cy: \"57.1985\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"31.8\", cy: \"61.1\", r: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(46.397000, 57.304300) rotate(-30.000728) translate(-46.397000, -57.304300) \", cx: \"46.397\", cy: \"57.3043\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(57.107600, 46.720400) rotate(-59.999272) translate(-57.107600, -46.720400) \", cx: \"57.1076\", cy: \"46.7204\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", cx: \"61.1\", cy: \"32.2\", r: \"2.9\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(57.212300, 17.615800) rotate(-30.000728) translate(-57.212300, -17.615800) \", cx: \"57.2123\", cy: \"17.6158\", r: \"2.8999362\" }),\n        React.createElement(\"circle\", { id: \"Oval\", transform: \"translate(46.629500, 6.925300) rotate(-59.999272) translate(-46.629500, -6.925300) \", cx: \"46.6295\", cy: \"6.9253\", r: \"2.8999362\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function even_moisture(props) {\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 65 64\" },\n        React.createElement(\"path\", { d: \"M63.2,10.1 L34.1,10.1 L34.1,1.5 C34.1,0.7 33.5,0.1 32.7,0.1 C31.9,0.1 31.3,0.7 31.3,1.5 L31.3,10.1 L2.1,10.1 C1.3,10.1 0.6,10.8 0.6,11.6 C0.6,12.4 1.3,13.1 2.1,13.1 L12.4,13.1 L3.9,27.8 C2.9,29.6 2.3,31.7 2.3,33.8 C2.2,40.4 7.5,45.8 14.1,45.9 C20.7,45.8 26,40.4 25.9,33.8 C25.9,31.7 25.4,29.7 24.4,27.8 L16,13 L31,13 L31,61 C31,61 31,61.1 31,61.1 L17,61.1 C16.2,61.2 15.6,62 15.8,62.8 C15.9,63.4 16.4,64 17,64 L48.3,64 C49.1,64 49.8,63.3 49.8,62.5 C49.8,61.7 49.1,61 48.3,61 L34,61 C34,61 34,60.9 34,60.9 L34,13.1 L49.2,13.1 L40.7,27.9 C39.7,29.7 39.1,31.8 39.1,33.9 C39.1,40.4 44.4,45.7 50.9,45.7 C57.4,45.7 62.7,40.4 62.7,33.9 C62.7,33.9 62.7,33.9 62.7,33.9 C62.7,31.8 62.2,29.8 61.2,28 L52.8,13.1 L63.1,13.1 C63.9,13.1 64.6,12.4 64.6,11.6 C64.7,10.8 64,10.1 63.2,10.1 Z M5.5,31.1 C5.7,30.4 6,29.8 6.3,29.2 L14.3,15.1 L22.3,29.2 C22.6,29.8 22.9,30.4 23,31.1 L5.5,31.1 Z M42.3,31.2 C42.5,30.5 42.8,29.9 43.1,29.3 L51,15.2 L59,29.3 C59.3,29.9 59.6,30.6 59.8,31.2 L42.3,31.2 Z\" })));\n}\n","/* eslint-disable */\nimport React from 'react';\nimport SvgIcon from '@mui/material/SvgIcon';\nexport default function attr_15(props) {\n    // foliage season\n    return (React.createElement(SvgIcon, { ...props, viewBox: \"0 0 65 59\" },\n        React.createElement(\"path\", { d: \"M62.8,0.5 L1.7,0.5 C0.9,0.5 0.3,1.1 0.3,1.9 L0.3,11.7 L0.3,57.1 C0.3,57.9 0.9,58.5 1.7,58.5 L62.8,58.5 C63.6,58.5 64.2,57.9 64.2,57.1 L64.2,11.7 L64.2,1.9 C64.3,1.2 63.6,0.5 62.8,0.5 Z M3.1,3.4 L61.4,3.4 L61.4,10.3 L3.1,10.3 L3.1,3.4 Z M3.1,55.7 L3.1,13.2 L61.4,13.2 L61.4,55.7 L3.1,55.7 Z\", id: \"Shape\" }),\n        React.createElement(\"path\", { d: \"M55.9,18.9 C56,17.9 55.2,17 54.2,16.8 L54.1,16.8 C49.7,16.1 45.4,18.9 44.2,19.7 C42.2,21.2 40.6,23 39.6,24.9 L39.4,25.4 L39.4,24.9 C39.5,21.8 38.6,19 37.1,17.2 C36.7,16.8 36.2,16.5 35.7,16.5 C35.3,16.5 34.8,16.6 34.5,16.8 C32.1,18.4 30.2,21.7 29.7,25.6 C29.3,28.5 29.6,31.3 30.5,33.4 L30.5,33.5 L30.4,33.6 C29.5,34.3 28.6,34.9 27.7,35.6 L27.5,35.8 L27.5,35.5 C28,31.6 27.2,28 25.4,25.8 C25.1,25.4 24.6,25.2 24.1,25.1 L23.9,25.1 C23.9,25.1 23.8,25.1 23.8,25.1 C23.4,25.1 23,25.2 22.7,25.4 C20.2,27 18.4,30.3 17.8,34.2 C17.4,37 17.7,39.9 18.7,42 L18.7,42.1 L18.6,42.2 C16.5,43.8 14.3,45.3 12.3,46.9 L10.1,48.5 C9.6,48.8 9.3,49.3 9.2,49.9 C9.1,50.2 9.2,50.6 9.3,50.9 C9.4,51.3 9.5,51.6 9.7,51.8 C10,52.2 10.5,52.5 11,52.6 C11.5,52.7 12.1,52.5 12.5,52.2 L19.2,47.2 L19.3,47.3 C21.1,48.8 23.7,49.9 26.5,50.3 C30.5,50.9 34.2,50.1 36.4,48.2 C37.1,47.6 37.3,46.4 36.8,45.6 C35.2,43.2 32,41.4 28.2,40.8 L27.9,40.8 L30.9,38.6 L31,38.7 C32.8,40.2 35.4,41.3 38.3,41.7 C42.3,42.3 46,41.5 48.2,39.6 C48.9,39 49.1,37.8 48.6,37 C47,34.6 43.7,32.8 39.8,32.2 L39.5,32.2 L40.5,31.4 C40.6,31.3 40.7,31.2 40.8,31.2 L40.8,31.2 L41.2,30.9 L41.2,30.9 C44,31.1 47.3,30 50.2,27.8 C53.5,25.1 55.6,21.8 55.9,18.9 Z M21,40.8 L21,40.7 C20.3,39 20.1,36.8 20.4,34.5 C20.8,31.6 22,29.1 23.7,27.8 L23.8,27.7 L23.9,27.8 C25.1,29.5 25.5,32.3 25.1,35.2 C24.5,38.9 22.2,40.4 21.2,40.8 L21,40.8 Z M34.3,46.3 L34.4,46.4 L34.3,46.5 C33,47.4 31.1,47.8 29,47.8 C28.3,47.8 27.6,47.7 26.8,47.6 C24.7,47.3 22.7,46.5 21.3,45.5 L21.2,45.4 L21.3,45.3 C22.2,44.5 24.5,42.5 27.5,43 C30.4,43.5 33,44.7 34.3,46.3 Z M32.7,32.1 L32.7,32 C32,30.3 31.9,28.2 32.2,25.9 C32.6,23 33.8,20.5 35.4,19.2 L35.5,19.1 L35.6,19.2 C36.8,21 37.3,23.8 36.8,26.6 C36.2,30 33.8,31.6 32.9,32.1 L32.7,32.1 Z M46,37.6 L46.1,37.7 L46,37.8 C44.7,38.7 42.8,39.1 40.7,39.1 C40,39.1 39.3,39 38.5,38.9 C36.3,38.6 34.3,37.8 32.9,36.8 L32.8,36.7 L32.9,36.6 C33.8,35.8 36.2,33.9 39.2,34.3 C42.1,34.9 44.7,36.1 46,37.6 Z M48.7,25.5 C46.4,27.2 44,28.1 41.9,28.1 C41.7,28.1 41.4,28.1 41.2,28.1 L41.1,28.1 L41.1,28 C41.5,25.9 43.2,23.6 45.7,21.7 C46.3,21.3 49.4,19.1 52.7,19.1 C52.9,19.1 53,19.1 53.2,19.1 L53.3,19.1 L53.3,19.2 C52.9,21.4 51.1,23.7 48.7,25.5 Z\", id: \"Shape\" })));\n}\n"],"names":["dappled_shade","props","viewBox","id","cx","cy","r","transform","rx","ry","d","variants","djangoPk","affiliatedLinks","onAddToShopifyCart","VariantCard","variant","price","nursery","shipping_info","shippingInfo","name","quantity","inventory_quantity","title","size","updatedName","quantityText","className","selectedVariant","width","counter","btn","target","rel","href","sale_url","style","display","justifyContent","alignItems","marginTop","type","onClick","gtag","sx","padding","marginLeft","length","map","key","link","data","wrapStyle","overflowWrap","wordBreak","content","partners","partner","services","service","i","slug","address","phone","email","description","shop_url","url","sun","standing_water","regular","attr_5","attr_1","drought_tolerant","occasional","setWaterIcons","attr","iconList","singleIcons","rangeIcons","forEach","item","push","attr1","attr2","attr1Id","replace","attr2Id","elem","attrId","singleLi","concat","setSunIcons","isAvailable","index","isNursery","nurserySlug","_a","_b","openOptions","setOpenOptions","useState","relatedUrl","django_pk","zones","zones_str","mainTitle","scientificName","akaNames","primary_name","scientific_name","aka_names","scientificNameEl","plantType","plant_type","height","dimensions","H","W","plantSize","heightEl","widthEl","plantPhoto","panelClass","photo","srcSet","photo_webp","loading","src","alt","photo_description","buyBtn","value","plant","waterElem","sunElem","water_needs","sun_exposure","onBlur","onFocus","join","x","toUpperCase","filter","available","affiliated_links","partnersData","nurseries","plantTitle","getPaginationUtilityClass","slot","generateUtilityClass","generateUtilityClasses","getPaginationItemUtilityClass","createSvgIcon","overridesResolver","styles","ownerState","root","capitalize","color","shape","rounded","page","ellipsis","previousNext","firstLast","PaginationItemEllipsis","styled","memoTheme","theme","typography","body2","borderRadius","textAlign","boxSizing","minWidth","margin","vars","palette","text","primary","disabled","opacity","action","disabledOpacity","fontSize","pxToRem","PaginationItemPage","ButtonBase","focusVisible","backgroundColor","focus","transition","transitions","create","duration","short","hover","selected","selectedChannel","selectedOpacity","hoverOpacity","focusOpacity","border","common","onBackgroundChannel","mode","borderColor","disabledBackground","Object","entries","createSimplePaletteValueFilter","contrastText","main","dark","mainChannel","activatedOpacity","PaginationItemPageIcon","inProps","ref","component","components","slots","slotProps","other","isRtl","classes","first","last","previous","next","icon","composeClasses","useUtilityClasses","externalForwardedProps","PreviousSlot","previousSlotProps","useSlot","elementType","NavigateBefore","NextSlot","nextSlotProps","NavigateNext","FirstSlot","firstSlotProps","FirstPage","LastSlot","lastSlotProps","LastPage","rtlAwareType","IconSlot","iconSlotProps","clsx","children","as","PaginationRoot","PaginationUl","flexWrap","listStyle","defaultGetAriaLabel","boundaryCount","count","defaultPage","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","renderItem","showFirstButton","showLastButton","siblingCount","items","componentName","handleChange","pageProp","setPageState","useControlled","controlled","default","state","handleClick","event","range","start","end","Array","from","_","startPages","Math","min","endPages","max","siblingsStart","siblingsEnd","itemList","buttonPage","undefined","includes","usePagination","ul","paginationContainer","spacing","breakpoints","up","pagination","paginationItemLarge","light","down","paginationItemEllipsis","selectedPaginationItem","background","pages","pageLinks","currentPage","paginationHandler","Grid","container","attr_2","SearchResultsEmpty","constructor","super","this","hasSpellingSuggestion","spellingSuggestion","Boolean","spelling_suggestion","buildPageLinks","query","normalisedQuery","startsWith","substring","_value","window","location","pathname","setSearchResponseState","queryForLinks","zone","setState","plantsCount","plant_count","searchResultsLoading","searchData","plants","loadSearchResults","search","apiURL","getURL","home","getAny","then","fallbackQuery","generalSearch","clearFilters","filters","setFilter","componentDidMount","componentDidUpdate","prevProps","queryChanged","spellingChanged","apiUrlChanged","render","searchTerm","addToShopifyCart","filteredAttrValues","emptyPrompt","suggestionPrompt","filterHeader","disclaimer","activeFilters","filtersArr","values","val","newValues","attribute","filtersElements","plantCount","plural","bind","onKeyDown","some","is_for_sale","spellingSuggestionExists","searchValue","setSubs","label","activeValues","activeTab","active","filterCount","pk","filterClass","num","toString","handleSelect","SearchFiltersLoading","Box","py","px","Skeleton","my","mx","animation","icn_gear_filter","SvgIcon","icn_clear_filter","y","scrollLimit","SearchFilters","elementRef","syncActivePk","activePk","keys","Number","measureRef","element","processWidth","round","getBoundingClientRect","containerWidth","scrollFilters","direction","scrollMargin","newState","rightActive","leftActive","subFilters","filtersOpen","updateFilters","searchLoading","updatedActivePk","indexOf","v","prevFilters","filtered_attr_values","nextFilters","attributeTypes","activeClass","subFiltersElements","activeSubClass","scrollMarginStyle","leftName","rightName","clearClass","role","tabIndex","BreadcrumbCollapsedButton","marginRight","grey","boxShadow","shadows","BreadcrumbCollapsedIcon","MoreHoriz","otherProps","focusRipple","CollapsedIcon","collapsedIcon","getBreadcrumbsUtilityClass","BreadcrumbsRoot","Typography","li","BreadcrumbsOl","BreadcrumbsSeparator","userSelect","insertSeparators","separator","reduce","acc","current","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","expanded","setExpanded","ol","collapsedIconSlotProps","useSlotProps","externalSlotProps","listRef","allItems","toArray","child","slice","focusable","querySelector","renderItemsBeforeAndAfter","breadCrumbsList","loaderRoot","variantId","inventoryQuantity","setQuantity","addingToCart","setAddingToCart","changeQuantityOnClick","async","operation","inputButtonRootSX","paddingLeft","paddingRight","fill","useEffect","MozAppearance","e","newQuantity","parseInt","currentTarget","disableUnderline","inputProps","pattern","A","preventDefault","loaderSx","loaderAttributes","thickness","setNurseryName","setNurserySlug","nurseryName","activeZone","setSearchTerm","setSpellingSuggestion","setFilteredAttrs","setFilteredAttrValues","setActiveZone","locationState","setSearchData","return_query","empty","search_str","filtered_attrs","bread_crumbs","optional_page_title","optional_page_subtitle","searchTitle","setSearchTitle","setAttributeType","setSearchLoading","searchDescription","setSearchDescription","isSearchDataEmpty","setIsSearchDataEmpty","firstRender","setFirstRender","getAPIData","setAllStates","nursery_data","k","newSearchData","pageTitle","search_title","attribute_types","search_description","document","metaDescription","getElementById","apiData","JSON","parse","textContent","history","replaceState","updateSearch","searchFiltersContainer","divider","dangerouslySetInnerHTML","__html","low","points","plantName","showTitle","overlay","setOverlay","prev","onClose","open","plantId","closeModal","isNotifyModal","shade","fillRule","plant_size","attr_4","dry_in_winter","cleanString","toLowerCase","getPriority","returnQuery","akaNamesLowerCase","processedPlants","useMemo","updatedVariants","product","fulfillment_service","getShopifyProductDetails","updatedLinks","filteredItems","getFilteredAffiliatedLinks","sort","a","b","aPriority","bPriority","dry_when_dormant","attr_14","high","attr_7","bright_shade","getMenuItemUtilityClass","MenuItemRoot","shouldForwardProp","prop","rootShouldForwardProp","dense","disableGutters","gutters","body1","position","textDecoration","minHeight","paddingTop","paddingBottom","whiteSpace","dividerClasses","marginBottom","inset","listItemTextClasses","borderBottom","backgroundClip","autoFocus","focusVisibleClassName","tabIndexProp","context","ListContext","childContext","menuItemRef","useEnhancedEffect","composedClasses","handleRef","useForkRef","Provider","attr_9","attr_6","dry_in_summer","SearchResultsItemLoading","DesktopView","mb","mt","flexDirection","ml","innerWidth","attr16","attr_3","mostly_shade","attributes","attr3","attr4","attr5","attr6","attr7","attr8","attr9","attr14","attr15","even_moisture","mostly_sun","AttributeIcon","IconComponent","select","menuItem","cursor","fontWeight","lineHeight","noBorder","noMargin","hide","notForSale","shopifyProduct","setShopifyProduct","filteredLinks","setFilteredLinks","setSelectedVariant","openSelect","setOpenSelect","isAffiliatedLink","setIsAffiliatedLink","availableOptions","closeSelect","error","find","defaultValue","MenuProps","paper","anchorOrigin","vertical","horizontal","transformOrigin","getSaleUrl","attr_8","disclaimerText","defaultStyles","fontFamily","fontStyle","letterSpacing","Disclaimer","isArray","attr_15"],"mappings":";;wIAGe,SAASA,EAAcC,GAClC,OAAQ,gBAAoB,IAAS,IAAKA,EAAOC,QAAS,aACtD,gBAAoB,SAAU,CAAEC,GAAI,OAAQC,GAAI,OAAQC,GAAI,MAAOC,EAAG,QACtE,gBAAoB,UAAW,CAAEH,GAAI,UAAWI,UAAW,+CAAgDH,GAAI,OAAQC,GAAI,MAAOG,GAAI,MAAOC,GAAI,QACjJ,gBAAoB,UAAW,CAAEN,GAAI,UAAWI,UAAW,gDAAiDH,GAAI,MAAOC,GAAI,OAAQG,GAAI,MAAOC,GAAI,QAClJ,gBAAoB,SAAU,CAAEN,GAAI,UAAWC,GAAI,MAA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