ChemPal Documentation - v1.6.0
    Preparing search index...

    Module constants/countries

    Variables

    COUNTRIES

    Supported countries for location-based features such as currency and shipping filters. Sourced from country-list-js (full ISO 3166-1 alpha-2 list) and sorted alphabetically by country name. Codes that the library can't name fall back to the raw code.

    SUPPLIER_COUNTRY_OPTIONS

    Supplier country options available for filtering in the drawer search panel. Derived from COUNTRIES (already sorted alphabetically by name).

    EU_COUNTRY_CODES

    ISO 3166-1 alpha-2 codes of the 27 EU member states. country-list-js exposes geographic continent, not EU membership, so this legally-defined set is hardcoded. Used to evaluate "EU-only" purchase restrictions: a user whose location is not in this set cannot buy an EU-only product.