{"version":3,"file":"8d1c03cf.js","sources":["../../../src/components/globals/country-selector/CountrySelector.client.tsx"],"sourcesContent":["import {Image} from '@shopify/hydrogen';\nimport useMediaQuery from 'Js/hooks/useMediaQuery';\nimport clsx from 'clsx';\nimport {useCountrySelector} from './CountrySelectorProvider.client';\n\n/**\n * A client component that selects the appropriate country to display for products on a website\n */\nexport default function CountrySelector({\n buttonClass,\n buttonTextClass,\n countryData,\n headerSolid,\n secondaryFont = true,\n setOpenTab,\n setSearchDrawerOpen,\n}: {\n buttonClass: any;\n buttonTextClass?: any;\n countryData: any;\n countryPicker: any;\n countryWarning?: boolean;\n headerSolid: any;\n secondaryFont?: boolean;\n setOpenTab?: any;\n setSearchDrawerOpen?: any;\n}): JSX.Element | null {\n const isMobile = useMediaQuery('(max-width: 1023px)');\n const {modalOpened, setModalOpened, currentCountry} = useCountrySelector();\n\n return (\n countryData &&\n currentCountry && (\n