@formatjs/intl-supportedvaluesof 2.3.5 → 2.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/polyfill-force.js +18 -6
- package/polyfill-force.js.map +1 -1
- package/polyfill.iife.js +20 -7
- package/polyfill.js +20 -7
- package/polyfill.js.map +1 -1
- package/should-polyfill.js +1 -1
- package/should-polyfill.js.map +1 -1
package/index.js
CHANGED
|
@@ -1113,7 +1113,7 @@ function getSupportedUnits() {
|
|
|
1113
1113
|
//#endregion
|
|
1114
1114
|
//#region packages/intl-supportedvaluesof/should-polyfill.ts
|
|
1115
1115
|
function shouldPolyfill() {
|
|
1116
|
-
return !("supportedValuesOf" in Intl);
|
|
1116
|
+
return typeof Intl === "undefined" || !("supportedValuesOf" in Intl);
|
|
1117
1117
|
}
|
|
1118
1118
|
//#endregion
|
|
1119
1119
|
//#region packages/intl-supportedvaluesof/index.ts
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../memoize.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/calendars.js","../get-supported-calendars.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/collations.js","../get-supported-collations.ts","../../ecma402-abstract/utils.js","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/currencies.js","../get-supported-currencies.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.number@0.0.0/node_modules/@formatjs_generated/cldr.number/numbering-systems.js","../get-supported-numbering-systems.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/timezones.js","../get-supported-timezones.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/units.js","../get-supported-units.ts","../should-polyfill.ts","../index.ts"],"sourcesContent":["import {memoize, strategies} from '@formatjs/fast-memoize'\n\n/**\n * Implementation: Memoized factory for Intl.DateTimeFormat instances\n *\n * Creates and caches DateTimeFormat instances to avoid repeated instantiation overhead.\n * This is critical for performance since we test many candidate values against formatters.\n *\n * Uses variadic memoization strategy to handle varying numbers of constructor arguments.\n */\nexport const createMemoizedDateTimeFormat: (\n ...args: ConstructorParameters<typeof Intl.DateTimeFormat>\n) => Intl.DateTimeFormat = memoize(\n (...args: ConstructorParameters<typeof Intl.DateTimeFormat>) =>\n new Intl.DateTimeFormat(...args),\n {\n strategy: strategies.variadic,\n }\n)\n","/* @generated */\n// prettier-ignore\nexport const calendars = [\n\t\"buddhist\",\n\t\"chinese\",\n\t\"coptic\",\n\t\"dangi\",\n\t\"ethioaa\",\n\t\"ethiopic\",\n\t\"gregory\",\n\t\"hebrew\",\n\t\"indian\",\n\t\"islamic\",\n\t\"islamic-civil\",\n\t\"islamic-rgsa\",\n\t\"islamic-tbla\",\n\t\"islamic-umalqura\",\n\t\"islamicc\",\n\t\"iso8601\",\n\t\"japanese\",\n\t\"persian\",\n\t\"roc\"\n];\n","import {createMemoizedDateTimeFormat} from '#packages/intl-supportedvaluesof/memoize.js'\nimport type {Calendar} from '@formatjs_generated/cldr.supported-values/calendars.js'\nimport {calendars} from '@formatjs_generated/cldr.supported-values/calendars.js'\n\n/**\n * Implementation: Tests if a calendar is supported by attempting to create\n * a DateTimeFormat with that calendar and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR calendar types\n */\nfunction isSupportedCalendar(item: Calendar): boolean {\n try {\n // Always use 'en' for testing\n const dateTimeFormat = createMemoizedDateTimeFormat(`en-u-ca-${item}`)\n const options = dateTimeFormat.resolvedOptions().calendar\n\n // Verify the calendar was actually accepted (resolved calendar matches requested)\n return options === item\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported calendar identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCalendars(): Calendar[] {\n return calendars.filter(isSupportedCalendar).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const collations = [\n\t\"big5han\",\n\t\"compat\",\n\t\"dict\",\n\t\"direct\",\n\t\"ducet\",\n\t\"emoji\",\n\t\"eor\",\n\t\"gb2312\",\n\t\"phonebk\",\n\t\"phonetic\",\n\t\"pinyin\",\n\t\"reformed\",\n\t\"search\",\n\t\"searchjl\",\n\t\"standard\",\n\t\"stroke\",\n\t\"trad\",\n\t\"unihan\",\n\t\"zhuyin\"\n];\n","import type {Collation} from '@formatjs_generated/cldr.supported-values/collations.js'\nimport {collations} from '@formatjs_generated/cldr.supported-values/collations.js'\n\n/**\n * Implementation: Tests if a collation is supported by attempting to create\n * a Collator with that collation and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR collation types\n */\nfunction isSupportedCollation(collation: Collation): boolean {\n try {\n // Always use 'en' for testing\n return (\n Intl.Collator(`en-u-co-${collation}`).resolvedOptions().collation ===\n collation\n )\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported collation identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCollations(): Collation[] {\n return collations.filter(isSupportedCollation).sort()\n}\n","import { memoize, strategies } from \"@formatjs/fast-memoize\";\nexport function repeat(s, times) {\n\tif (typeof s.repeat === \"function\") {\n\t\treturn s.repeat(times);\n\t}\n\tconst arr = Array.from({ length: times });\n\tfor (let i = 0; i < arr.length; i++) {\n\t\tarr[i] = s;\n\t}\n\treturn arr.join(\"\");\n}\nexport function setInternalSlot(map, pl, field, value) {\n\tif (!map.get(pl)) {\n\t\tmap.set(pl, Object.create(null));\n\t}\n\tconst slots = map.get(pl);\n\tslots[field] = value;\n}\nexport function setMultiInternalSlots(map, pl, props) {\n\tfor (const k of Object.keys(props)) {\n\t\tsetInternalSlot(map, pl, k, props[k]);\n\t}\n}\nexport function getInternalSlot(map, pl, field) {\n\treturn getMultiInternalSlots(map, pl, field)[field];\n}\nexport function getMultiInternalSlots(map, pl, ...fields) {\n\tconst slots = map.get(pl);\n\tif (!slots) {\n\t\tthrow new TypeError(`${pl} InternalSlot has not been initialized`);\n\t}\n\treturn fields.reduce((all, f) => {\n\t\tall[f] = slots[f];\n\t\treturn all;\n\t}, Object.create(null));\n}\nexport function isLiteralPart(patternPart) {\n\treturn patternPart.type === \"literal\";\n}\n/*\n17 ECMAScript Standard Built-in Objects:\nEvery built-in Function object, including constructors, that is not\nidentified as an anonymous function has a name property whose value\nis a String.\n\nUnless otherwise specified, the name property of a built-in Function\nobject, if it exists, has the attributes { [[Writable]]: false,\n[[Enumerable]]: false, [[Configurable]]: true }.\n*/\nexport function defineProperty(target, name, { value }) {\n\tObject.defineProperty(target, name, {\n\t\tconfigurable: true,\n\t\tenumerable: false,\n\t\twritable: true,\n\t\tvalue\n\t});\n}\n/**\n* 7.3.5 CreateDataProperty\n* @param target\n* @param name\n* @param value\n*/\nexport function createDataProperty(target, name, value) {\n\tObject.defineProperty(target, name, {\n\t\tconfigurable: true,\n\t\tenumerable: true,\n\t\twritable: true,\n\t\tvalue\n\t});\n}\nexport const UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;\nexport function invariant(condition, message, Err = Error) {\n\tif (!condition) {\n\t\tthrow new Err(message);\n\t}\n}\nexport const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });\nexport const createMemoizedPluralRules = memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });\nexport const createMemoizedLocale = memoize((...args) => new Intl.Locale(...args), { strategy: strategies.variadic });\nexport const createMemoizedListFormat = memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });\n","/* @generated */\n// prettier-ignore\nexport const currencies = [\n\t\"ADP\",\n\t\"AED\",\n\t\"AFA\",\n\t\"AFN\",\n\t\"ALK\",\n\t\"ALL\",\n\t\"AMD\",\n\t\"ANG\",\n\t\"AOA\",\n\t\"AOK\",\n\t\"AON\",\n\t\"AOR\",\n\t\"ARA\",\n\t\"ARL\",\n\t\"ARM\",\n\t\"ARP\",\n\t\"ARS\",\n\t\"ATS\",\n\t\"AUD\",\n\t\"AWG\",\n\t\"AZM\",\n\t\"AZN\",\n\t\"BAD\",\n\t\"BAM\",\n\t\"BAN\",\n\t\"BBD\",\n\t\"BDT\",\n\t\"BEC\",\n\t\"BEF\",\n\t\"BEL\",\n\t\"BGL\",\n\t\"BGM\",\n\t\"BGN\",\n\t\"BGO\",\n\t\"BHD\",\n\t\"BIF\",\n\t\"BMD\",\n\t\"BND\",\n\t\"BOB\",\n\t\"BOL\",\n\t\"BOP\",\n\t\"BOV\",\n\t\"BRB\",\n\t\"BRC\",\n\t\"BRE\",\n\t\"BRL\",\n\t\"BRN\",\n\t\"BRR\",\n\t\"BRZ\",\n\t\"BSD\",\n\t\"BTN\",\n\t\"BUK\",\n\t\"BWP\",\n\t\"BYB\",\n\t\"BYN\",\n\t\"BYR\",\n\t\"BZD\",\n\t\"CAD\",\n\t\"CDF\",\n\t\"CHE\",\n\t\"CHF\",\n\t\"CHW\",\n\t\"CLE\",\n\t\"CLF\",\n\t\"CLP\",\n\t\"CNH\",\n\t\"CNX\",\n\t\"CNY\",\n\t\"COP\",\n\t\"COU\",\n\t\"CRC\",\n\t\"CSD\",\n\t\"CSK\",\n\t\"CUC\",\n\t\"CUP\",\n\t\"CVE\",\n\t\"CYP\",\n\t\"CZK\",\n\t\"DDM\",\n\t\"DEM\",\n\t\"DJF\",\n\t\"DKK\",\n\t\"DOP\",\n\t\"DZD\",\n\t\"ECS\",\n\t\"ECV\",\n\t\"EEK\",\n\t\"EGP\",\n\t\"ERN\",\n\t\"ESA\",\n\t\"ESB\",\n\t\"ESP\",\n\t\"ETB\",\n\t\"EUR\",\n\t\"FIM\",\n\t\"FJD\",\n\t\"FKP\",\n\t\"FRF\",\n\t\"GBP\",\n\t\"GEK\",\n\t\"GEL\",\n\t\"GHC\",\n\t\"GHS\",\n\t\"GIP\",\n\t\"GMD\",\n\t\"GNF\",\n\t\"GNS\",\n\t\"GQE\",\n\t\"GRD\",\n\t\"GTQ\",\n\t\"GWE\",\n\t\"GWP\",\n\t\"GYD\",\n\t\"HKD\",\n\t\"HNL\",\n\t\"HRD\",\n\t\"HRK\",\n\t\"HTG\",\n\t\"HUF\",\n\t\"IDR\",\n\t\"IEP\",\n\t\"ILP\",\n\t\"ILR\",\n\t\"ILS\",\n\t\"INR\",\n\t\"IQD\",\n\t\"IRR\",\n\t\"ISJ\",\n\t\"ISK\",\n\t\"ITL\",\n\t\"JMD\",\n\t\"JOD\",\n\t\"JPY\",\n\t\"KES\",\n\t\"KGS\",\n\t\"KHR\",\n\t\"KMF\",\n\t\"KPW\",\n\t\"KRH\",\n\t\"KRO\",\n\t\"KRW\",\n\t\"KWD\",\n\t\"KYD\",\n\t\"KZT\",\n\t\"LAK\",\n\t\"LBP\",\n\t\"LKR\",\n\t\"LRD\",\n\t\"LSL\",\n\t\"LTL\",\n\t\"LTT\",\n\t\"LUC\",\n\t\"LUF\",\n\t\"LUL\",\n\t\"LVL\",\n\t\"LVR\",\n\t\"LYD\",\n\t\"MAD\",\n\t\"MAF\",\n\t\"MCF\",\n\t\"MDC\",\n\t\"MDL\",\n\t\"MGA\",\n\t\"MGF\",\n\t\"MKD\",\n\t\"MKN\",\n\t\"MLF\",\n\t\"MMK\",\n\t\"MNT\",\n\t\"MOP\",\n\t\"MRO\",\n\t\"MRU\",\n\t\"MTL\",\n\t\"MTP\",\n\t\"MUR\",\n\t\"MVP\",\n\t\"MVR\",\n\t\"MWK\",\n\t\"MXN\",\n\t\"MXP\",\n\t\"MXV\",\n\t\"MYR\",\n\t\"MZE\",\n\t\"MZM\",\n\t\"MZN\",\n\t\"NAD\",\n\t\"NGN\",\n\t\"NIC\",\n\t\"NIO\",\n\t\"NLG\",\n\t\"NOK\",\n\t\"NPR\",\n\t\"NZD\",\n\t\"OMR\",\n\t\"PAB\",\n\t\"PEI\",\n\t\"PEN\",\n\t\"PES\",\n\t\"PGK\",\n\t\"PHP\",\n\t\"PKR\",\n\t\"PLN\",\n\t\"PLZ\",\n\t\"PTE\",\n\t\"PYG\",\n\t\"QAR\",\n\t\"RHD\",\n\t\"ROL\",\n\t\"RON\",\n\t\"RSD\",\n\t\"RUB\",\n\t\"RUR\",\n\t\"RWF\",\n\t\"SAR\",\n\t\"SBD\",\n\t\"SCR\",\n\t\"SDD\",\n\t\"SDG\",\n\t\"SDP\",\n\t\"SEK\",\n\t\"SGD\",\n\t\"SHP\",\n\t\"SIT\",\n\t\"SKK\",\n\t\"SLE\",\n\t\"SLL\",\n\t\"SOS\",\n\t\"SRD\",\n\t\"SRG\",\n\t\"SSP\",\n\t\"STD\",\n\t\"STN\",\n\t\"SUR\",\n\t\"SVC\",\n\t\"SYP\",\n\t\"SZL\",\n\t\"THB\",\n\t\"TJR\",\n\t\"TJS\",\n\t\"TMM\",\n\t\"TMT\",\n\t\"TND\",\n\t\"TOP\",\n\t\"TPE\",\n\t\"TRL\",\n\t\"TRY\",\n\t\"TTD\",\n\t\"TWD\",\n\t\"TZS\",\n\t\"UAH\",\n\t\"UAK\",\n\t\"UGS\",\n\t\"UGX\",\n\t\"USD\",\n\t\"USN\",\n\t\"USS\",\n\t\"UYI\",\n\t\"UYP\",\n\t\"UYU\",\n\t\"UYW\",\n\t\"UZS\",\n\t\"VEB\",\n\t\"VED\",\n\t\"VEF\",\n\t\"VES\",\n\t\"VND\",\n\t\"VNN\",\n\t\"VUV\",\n\t\"WST\",\n\t\"XAF\",\n\t\"XAG\",\n\t\"XAU\",\n\t\"XBA\",\n\t\"XBB\",\n\t\"XBC\",\n\t\"XBD\",\n\t\"XCD\",\n\t\"XCG\",\n\t\"XDR\",\n\t\"XEU\",\n\t\"XFO\",\n\t\"XFU\",\n\t\"XOF\",\n\t\"XPD\",\n\t\"XPF\",\n\t\"XPT\",\n\t\"XRE\",\n\t\"XSU\",\n\t\"XTS\",\n\t\"XUA\",\n\t\"XXX\",\n\t\"YDD\",\n\t\"YER\",\n\t\"YUD\",\n\t\"YUM\",\n\t\"YUN\",\n\t\"YUR\",\n\t\"ZAL\",\n\t\"ZAR\",\n\t\"ZMK\",\n\t\"ZMW\",\n\t\"ZRN\",\n\t\"ZRZ\",\n\t\"ZWD\",\n\t\"ZWG\",\n\t\"ZWL\",\n\t\"ZWR\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport type {Currency} from '@formatjs_generated/cldr.supported-values/currencies.js'\nimport {currencies} from '@formatjs_generated/cldr.supported-values/currencies.js'\n\n/**\n * Implementation: Tests if a currency is supported by attempting to create\n * a NumberFormat with that currency and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR currency codes (ISO 4217)\n */\nfunction isSupportedCurrency(currency: Currency): boolean {\n try {\n // Always use 'en' for testing\n const numberFormat = createMemoizedNumberFormat('en', {\n style: 'currency',\n currencyDisplay: 'name',\n currency,\n })\n\n const format = numberFormat.format(123)\n\n if (\n format.substring(0, 3) !== currency &&\n format.substring(format.length - 3) !== currency\n ) {\n return true\n }\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported currency identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCurrencies(): Currency[] {\n const ATOZ = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n const supportedCurrencies: Currency[] = []\n\n for (const currency of currencies) {\n if (currency.length === 3) {\n if (isSupportedCurrency(currency)) {\n supportedCurrencies.push(currency)\n }\n } else if (currency.length === 5 && currency[3] === '~') {\n const start = ATOZ.indexOf(currency[2])\n const end = ATOZ.indexOf(currency[4])\n\n for (let i = start; i <= end; i++) {\n const currentCurrency = (currency.substring(0, 2) + ATOZ[i]) as Currency\n if (isSupportedCurrency(currentCurrency)) {\n supportedCurrencies.push(currentCurrency)\n }\n }\n }\n }\n\n return supportedCurrencies.sort()\n}\n","export const numberingSystemNames = [\n\t\"adlm\",\n\t\"ahom\",\n\t\"arab\",\n\t\"arabext\",\n\t\"armn\",\n\t\"armnlow\",\n\t\"bali\",\n\t\"beng\",\n\t\"bhks\",\n\t\"brah\",\n\t\"cakm\",\n\t\"cham\",\n\t\"cyrl\",\n\t\"deva\",\n\t\"diak\",\n\t\"ethi\",\n\t\"fullwide\",\n\t\"gara\",\n\t\"geor\",\n\t\"gong\",\n\t\"gonm\",\n\t\"grek\",\n\t\"greklow\",\n\t\"gujr\",\n\t\"gukh\",\n\t\"guru\",\n\t\"hanidays\",\n\t\"hanidec\",\n\t\"hans\",\n\t\"hansfin\",\n\t\"hant\",\n\t\"hantfin\",\n\t\"hebr\",\n\t\"hmng\",\n\t\"hmnp\",\n\t\"java\",\n\t\"jpan\",\n\t\"jpanfin\",\n\t\"jpanyear\",\n\t\"kali\",\n\t\"kawi\",\n\t\"khmr\",\n\t\"knda\",\n\t\"krai\",\n\t\"lana\",\n\t\"lanatham\",\n\t\"laoo\",\n\t\"latn\",\n\t\"lepc\",\n\t\"limb\",\n\t\"mathbold\",\n\t\"mathdbl\",\n\t\"mathmono\",\n\t\"mathsanb\",\n\t\"mathsans\",\n\t\"mlym\",\n\t\"modi\",\n\t\"mong\",\n\t\"mroo\",\n\t\"mtei\",\n\t\"mymr\",\n\t\"mymrepka\",\n\t\"mymrpao\",\n\t\"mymrshan\",\n\t\"mymrtlng\",\n\t\"nagm\",\n\t\"newa\",\n\t\"nkoo\",\n\t\"olck\",\n\t\"onao\",\n\t\"orya\",\n\t\"osma\",\n\t\"outlined\",\n\t\"rohg\",\n\t\"roman\",\n\t\"romanlow\",\n\t\"saur\",\n\t\"segment\",\n\t\"shrd\",\n\t\"sind\",\n\t\"sinh\",\n\t\"sora\",\n\t\"sund\",\n\t\"sunu\",\n\t\"takr\",\n\t\"talu\",\n\t\"taml\",\n\t\"tamldec\",\n\t\"telu\",\n\t\"thai\",\n\t\"tibt\",\n\t\"tirh\",\n\t\"tnsa\",\n\t\"tols\",\n\t\"vaii\",\n\t\"wara\",\n\t\"wcho\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport {numberingSystemNames} from '@formatjs_generated/cldr.number/numbering-systems.js'\n\n/**\n * Implementation: Tests if a numbering system is supported by attempting to create\n * a NumberFormat with that numbering system and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR numbering system types\n */\nfunction isSupportedNumberingSystem(system: string): boolean {\n try {\n // Always use 'en' for testing\n const numberFormat = createMemoizedNumberFormat(`en-u-nu-${system}`)\n const options = numberFormat.resolvedOptions().numberingSystem\n\n if (\n (options === system && system === 'latn') ||\n numberFormat.format(123) !== '123'\n ) {\n return true\n }\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported numbering system identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedNumberingSystems(): string[] {\n return numberingSystemNames.filter(isSupportedNumberingSystem).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const timezones = [\n\t\"Africa/Abidjan\",\n\t\"Africa/Accra\",\n\t\"Africa/Addis_Ababa\",\n\t\"Africa/Algiers\",\n\t\"Africa/Asmara\",\n\t\"Africa/Bamako\",\n\t\"Africa/Bangui\",\n\t\"Africa/Banjul\",\n\t\"Africa/Bissau\",\n\t\"Africa/Blantyre\",\n\t\"Africa/Brazzaville\",\n\t\"Africa/Bujumbura\",\n\t\"Africa/Cairo\",\n\t\"Africa/Casablanca\",\n\t\"Africa/Ceuta\",\n\t\"Africa/Conakry\",\n\t\"Africa/Dakar\",\n\t\"Africa/Dar_es_Salaam\",\n\t\"Africa/Djibouti\",\n\t\"Africa/Douala\",\n\t\"Africa/El_Aaiun\",\n\t\"Africa/Freetown\",\n\t\"Africa/Gaborone\",\n\t\"Africa/Harare\",\n\t\"Africa/Johannesburg\",\n\t\"Africa/Juba\",\n\t\"Africa/Kampala\",\n\t\"Africa/Khartoum\",\n\t\"Africa/Kigali\",\n\t\"Africa/Kinshasa\",\n\t\"Africa/Lagos\",\n\t\"Africa/Libreville\",\n\t\"Africa/Lome\",\n\t\"Africa/Luanda\",\n\t\"Africa/Lubumbashi\",\n\t\"Africa/Lusaka\",\n\t\"Africa/Malabo\",\n\t\"Africa/Maputo\",\n\t\"Africa/Maseru\",\n\t\"Africa/Mbabane\",\n\t\"Africa/Mogadishu\",\n\t\"Africa/Monrovia\",\n\t\"Africa/Nairobi\",\n\t\"Africa/Ndjamena\",\n\t\"Africa/Niamey\",\n\t\"Africa/Nouakchott\",\n\t\"Africa/Ouagadougou\",\n\t\"Africa/Porto-Novo\",\n\t\"Africa/Sao_Tome\",\n\t\"Africa/Tripoli\",\n\t\"Africa/Tunis\",\n\t\"Africa/Windhoek\",\n\t\"America/Adak\",\n\t\"America/Anchorage\",\n\t\"America/Anguilla\",\n\t\"America/Antigua\",\n\t\"America/Araguaina\",\n\t\"America/Argentina/Buenos_Aires\",\n\t\"America/Argentina/Catamarca\",\n\t\"America/Argentina/Cordoba\",\n\t\"America/Argentina/Jujuy\",\n\t\"America/Argentina/La_Rioja\",\n\t\"America/Argentina/Mendoza\",\n\t\"America/Argentina/Rio_Gallegos\",\n\t\"America/Argentina/Salta\",\n\t\"America/Argentina/San_Juan\",\n\t\"America/Argentina/San_Luis\",\n\t\"America/Argentina/Tucuman\",\n\t\"America/Argentina/Ushuaia\",\n\t\"America/Aruba\",\n\t\"America/Asuncion\",\n\t\"America/Atikokan\",\n\t\"America/Bahia_Banderas\",\n\t\"America/Bahia\",\n\t\"America/Barbados\",\n\t\"America/Belem\",\n\t\"America/Belize\",\n\t\"America/Blanc-Sablon\",\n\t\"America/Boa_Vista\",\n\t\"America/Bogota\",\n\t\"America/Boise\",\n\t\"America/Cambridge_Bay\",\n\t\"America/Campo_Grande\",\n\t\"America/Cancun\",\n\t\"America/Caracas\",\n\t\"America/Cayenne\",\n\t\"America/Cayman\",\n\t\"America/Chicago\",\n\t\"America/Chihuahua\",\n\t\"America/Ciudad_Juarez\",\n\t\"America/Costa_Rica\",\n\t\"America/Coyhaique\",\n\t\"America/Creston\",\n\t\"America/Cuiaba\",\n\t\"America/Curacao\",\n\t\"America/Danmarkshavn\",\n\t\"America/Dawson_Creek\",\n\t\"America/Dawson\",\n\t\"America/Denver\",\n\t\"America/Detroit\",\n\t\"America/Dominica\",\n\t\"America/Edmonton\",\n\t\"America/Eirunepe\",\n\t\"America/El_Salvador\",\n\t\"America/Fort_Nelson\",\n\t\"America/Fortaleza\",\n\t\"America/Glace_Bay\",\n\t\"America/Goose_Bay\",\n\t\"America/Grand_Turk\",\n\t\"America/Grenada\",\n\t\"America/Guadeloupe\",\n\t\"America/Guatemala\",\n\t\"America/Guayaquil\",\n\t\"America/Guyana\",\n\t\"America/Halifax\",\n\t\"America/Havana\",\n\t\"America/Hermosillo\",\n\t\"America/Indiana/Indianapolis\",\n\t\"America/Indiana/Knox\",\n\t\"America/Indiana/Marengo\",\n\t\"America/Indiana/Petersburg\",\n\t\"America/Indiana/Tell_City\",\n\t\"America/Indiana/Vevay\",\n\t\"America/Indiana/Vincennes\",\n\t\"America/Indiana/Winamac\",\n\t\"America/Inuvik\",\n\t\"America/Iqaluit\",\n\t\"America/Jamaica\",\n\t\"America/Juneau\",\n\t\"America/Kentucky/Louisville\",\n\t\"America/Kentucky/Monticello\",\n\t\"America/Kralendijk\",\n\t\"America/La_Paz\",\n\t\"America/Lima\",\n\t\"America/Los_Angeles\",\n\t\"America/Lower_Princes\",\n\t\"America/Maceio\",\n\t\"America/Managua\",\n\t\"America/Manaus\",\n\t\"America/Marigot\",\n\t\"America/Martinique\",\n\t\"America/Matamoros\",\n\t\"America/Mazatlan\",\n\t\"America/Menominee\",\n\t\"America/Merida\",\n\t\"America/Metlakatla\",\n\t\"America/Mexico_City\",\n\t\"America/Miquelon\",\n\t\"America/Moncton\",\n\t\"America/Monterrey\",\n\t\"America/Montevideo\",\n\t\"America/Montserrat\",\n\t\"America/Nassau\",\n\t\"America/New_York\",\n\t\"America/Nipigon\",\n\t\"America/Nome\",\n\t\"America/Noronha\",\n\t\"America/North_Dakota/Beulah\",\n\t\"America/North_Dakota/Center\",\n\t\"America/North_Dakota/New_Salem\",\n\t\"America/Nuuk\",\n\t\"America/Ojinaga\",\n\t\"America/Panama\",\n\t\"America/Pangnirtung\",\n\t\"America/Paramaribo\",\n\t\"America/Phoenix\",\n\t\"America/Port_of_Spain\",\n\t\"America/Port-au-Prince\",\n\t\"America/Porto_Velho\",\n\t\"America/Puerto_Rico\",\n\t\"America/Punta_Arenas\",\n\t\"America/Rainy_River\",\n\t\"America/Rankin_Inlet\",\n\t\"America/Recife\",\n\t\"America/Regina\",\n\t\"America/Resolute\",\n\t\"America/Rio_Branco\",\n\t\"America/Santarem\",\n\t\"America/Santiago\",\n\t\"America/Santo_Domingo\",\n\t\"America/Sao_Paulo\",\n\t\"America/Scoresbysund\",\n\t\"America/Sitka\",\n\t\"America/St_Barthelemy\",\n\t\"America/St_Johns\",\n\t\"America/St_Kitts\",\n\t\"America/St_Lucia\",\n\t\"America/St_Thomas\",\n\t\"America/St_Vincent\",\n\t\"America/Swift_Current\",\n\t\"America/Tegucigalpa\",\n\t\"America/Thule\",\n\t\"America/Thunder_Bay\",\n\t\"America/Tijuana\",\n\t\"America/Toronto\",\n\t\"America/Tortola\",\n\t\"America/Vancouver\",\n\t\"America/Whitehorse\",\n\t\"America/Winnipeg\",\n\t\"America/Yakutat\",\n\t\"America/Yellowknife\",\n\t\"Antarctica/Casey\",\n\t\"Antarctica/Davis\",\n\t\"Antarctica/DumontDUrville\",\n\t\"Antarctica/Macquarie\",\n\t\"Antarctica/Mawson\",\n\t\"Antarctica/McMurdo\",\n\t\"Antarctica/Palmer\",\n\t\"Antarctica/Rothera\",\n\t\"Antarctica/Syowa\",\n\t\"Antarctica/Troll\",\n\t\"Antarctica/Vostok\",\n\t\"Arctic/Longyearbyen\",\n\t\"Asia/Aden\",\n\t\"Asia/Almaty\",\n\t\"Asia/Amman\",\n\t\"Asia/Anadyr\",\n\t\"Asia/Aqtau\",\n\t\"Asia/Aqtobe\",\n\t\"Asia/Ashgabat\",\n\t\"Asia/Atyrau\",\n\t\"Asia/Baghdad\",\n\t\"Asia/Bahrain\",\n\t\"Asia/Baku\",\n\t\"Asia/Bangkok\",\n\t\"Asia/Barnaul\",\n\t\"Asia/Beirut\",\n\t\"Asia/Bishkek\",\n\t\"Asia/Brunei\",\n\t\"Asia/Chita\",\n\t\"Asia/Choibalsan\",\n\t\"Asia/Colombo\",\n\t\"Asia/Damascus\",\n\t\"Asia/Dhaka\",\n\t\"Asia/Dili\",\n\t\"Asia/Dubai\",\n\t\"Asia/Dushanbe\",\n\t\"Asia/Famagusta\",\n\t\"Asia/Gaza\",\n\t\"Asia/Hebron\",\n\t\"Asia/Ho_Chi_Minh\",\n\t\"Asia/Hong_Kong\",\n\t\"Asia/Hovd\",\n\t\"Asia/Irkutsk\",\n\t\"Asia/Jakarta\",\n\t\"Asia/Jayapura\",\n\t\"Asia/Jerusalem\",\n\t\"Asia/Kabul\",\n\t\"Asia/Kamchatka\",\n\t\"Asia/Karachi\",\n\t\"Asia/Kathmandu\",\n\t\"Asia/Khandyga\",\n\t\"Asia/Kolkata\",\n\t\"Asia/Krasnoyarsk\",\n\t\"Asia/Kuala_Lumpur\",\n\t\"Asia/Kuching\",\n\t\"Asia/Kuwait\",\n\t\"Asia/Macau\",\n\t\"Asia/Magadan\",\n\t\"Asia/Makassar\",\n\t\"Asia/Manila\",\n\t\"Asia/Muscat\",\n\t\"Asia/Nicosia\",\n\t\"Asia/Novokuznetsk\",\n\t\"Asia/Novosibirsk\",\n\t\"Asia/Omsk\",\n\t\"Asia/Oral\",\n\t\"Asia/Phnom_Penh\",\n\t\"Asia/Pontianak\",\n\t\"Asia/Pyongyang\",\n\t\"Asia/Qatar\",\n\t\"Asia/Qostanay\",\n\t\"Asia/Qyzylorda\",\n\t\"Asia/Riyadh\",\n\t\"Asia/Sakhalin\",\n\t\"Asia/Samarkand\",\n\t\"Asia/Seoul\",\n\t\"Asia/Shanghai\",\n\t\"Asia/Singapore\",\n\t\"Asia/Srednekolymsk\",\n\t\"Asia/Taipei\",\n\t\"Asia/Tashkent\",\n\t\"Asia/Tbilisi\",\n\t\"Asia/Tehran\",\n\t\"Asia/Thimphu\",\n\t\"Asia/Tokyo\",\n\t\"Asia/Tomsk\",\n\t\"Asia/Ulaanbaatar\",\n\t\"Asia/Urumqi\",\n\t\"Asia/Ust-Nera\",\n\t\"Asia/Vientiane\",\n\t\"Asia/Vladivostok\",\n\t\"Asia/Yakutsk\",\n\t\"Asia/Yangon\",\n\t\"Asia/Yekaterinburg\",\n\t\"Asia/Yerevan\",\n\t\"Atlantic/Azores\",\n\t\"Atlantic/Bermuda\",\n\t\"Atlantic/Canary\",\n\t\"Atlantic/Cape_Verde\",\n\t\"Atlantic/Faroe\",\n\t\"Atlantic/Madeira\",\n\t\"Atlantic/Reykjavik\",\n\t\"Atlantic/South_Georgia\",\n\t\"Atlantic/St_Helena\",\n\t\"Atlantic/Stanley\",\n\t\"Australia/Adelaide\",\n\t\"Australia/Brisbane\",\n\t\"Australia/Broken_Hill\",\n\t\"Australia/Currie\",\n\t\"Australia/Darwin\",\n\t\"Australia/Eucla\",\n\t\"Australia/Hobart\",\n\t\"Australia/Lindeman\",\n\t\"Australia/Lord_Howe\",\n\t\"Australia/Melbourne\",\n\t\"Australia/Perth\",\n\t\"Australia/Sydney\",\n\t\"Europe/Amsterdam\",\n\t\"Europe/Andorra\",\n\t\"Europe/Astrakhan\",\n\t\"Europe/Athens\",\n\t\"Europe/Belgrade\",\n\t\"Europe/Berlin\",\n\t\"Europe/Bratislava\",\n\t\"Europe/Brussels\",\n\t\"Europe/Bucharest\",\n\t\"Europe/Budapest\",\n\t\"Europe/Busingen\",\n\t\"Europe/Chisinau\",\n\t\"Europe/Copenhagen\",\n\t\"Europe/Dublin\",\n\t\"Europe/Gibraltar\",\n\t\"Europe/Guernsey\",\n\t\"Europe/Helsinki\",\n\t\"Europe/Isle_of_Man\",\n\t\"Europe/Istanbul\",\n\t\"Europe/Jersey\",\n\t\"Europe/Kaliningrad\",\n\t\"Europe/Kyiv\",\n\t\"Europe/Kirov\",\n\t\"Europe/Lisbon\",\n\t\"Europe/Ljubljana\",\n\t\"Europe/London\",\n\t\"Europe/Luxembourg\",\n\t\"Europe/Madrid\",\n\t\"Europe/Malta\",\n\t\"Europe/Mariehamn\",\n\t\"Europe/Minsk\",\n\t\"Europe/Monaco\",\n\t\"Europe/Moscow\",\n\t\"Europe/Oslo\",\n\t\"Europe/Paris\",\n\t\"Europe/Podgorica\",\n\t\"Europe/Prague\",\n\t\"Europe/Riga\",\n\t\"Europe/Rome\",\n\t\"Europe/Samara\",\n\t\"Europe/San_Marino\",\n\t\"Europe/Sarajevo\",\n\t\"Europe/Saratov\",\n\t\"Europe/Simferopol\",\n\t\"Europe/Skopje\",\n\t\"Europe/Sofia\",\n\t\"Europe/Stockholm\",\n\t\"Europe/Tallinn\",\n\t\"Europe/Tirane\",\n\t\"Europe/Ulyanovsk\",\n\t\"Europe/Uzhgorod\",\n\t\"Europe/Vaduz\",\n\t\"Europe/Vatican\",\n\t\"Europe/Vienna\",\n\t\"Europe/Vilnius\",\n\t\"Europe/Volgograd\",\n\t\"Europe/Warsaw\",\n\t\"Europe/Zagreb\",\n\t\"Europe/Zaporozhye\",\n\t\"Europe/Zurich\",\n\t\"Indian/Antananarivo\",\n\t\"Indian/Chagos\",\n\t\"Indian/Christmas\",\n\t\"Indian/Cocos\",\n\t\"Indian/Comoro\",\n\t\"Indian/Kerguelen\",\n\t\"Indian/Mahe\",\n\t\"Indian/Maldives\",\n\t\"Indian/Mauritius\",\n\t\"Indian/Mayotte\",\n\t\"Indian/Reunion\",\n\t\"Pacific/Apia\",\n\t\"Pacific/Auckland\",\n\t\"Pacific/Bougainville\",\n\t\"Pacific/Chatham\",\n\t\"Pacific/Chuuk\",\n\t\"Pacific/Easter\",\n\t\"Pacific/Efate\",\n\t\"Pacific/Kanton\",\n\t\"Pacific/Fakaofo\",\n\t\"Pacific/Fiji\",\n\t\"Pacific/Funafuti\",\n\t\"Pacific/Galapagos\",\n\t\"Pacific/Gambier\",\n\t\"Pacific/Guadalcanal\",\n\t\"Pacific/Guam\",\n\t\"Pacific/Honolulu\",\n\t\"Pacific/Kiritimati\",\n\t\"Pacific/Kosrae\",\n\t\"Pacific/Kwajalein\",\n\t\"Pacific/Majuro\",\n\t\"Pacific/Marquesas\",\n\t\"Pacific/Midway\",\n\t\"Pacific/Nauru\",\n\t\"Pacific/Niue\",\n\t\"Pacific/Norfolk\",\n\t\"Pacific/Noumea\",\n\t\"Pacific/Pago_Pago\",\n\t\"Pacific/Palau\",\n\t\"Pacific/Pitcairn\",\n\t\"Pacific/Pohnpei\",\n\t\"Pacific/Port_Moresby\",\n\t\"Pacific/Rarotonga\",\n\t\"Pacific/Saipan\",\n\t\"Pacific/Tahiti\",\n\t\"Pacific/Tarawa\",\n\t\"Pacific/Tongatapu\",\n\t\"Pacific/Wake\",\n\t\"Pacific/Wallis\"\n];\n","import {createMemoizedDateTimeFormat} from '#packages/intl-supportedvaluesof/memoize.js'\nimport type {Timezone} from '@formatjs_generated/cldr.supported-values/timezones.js'\nimport {timezones} from '@formatjs_generated/cldr.supported-values/timezones.js'\n\n/**\n * Implementation: Tests if a timezone is supported by attempting to create\n * a DateTimeFormat with that timezone and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from IANA Time Zone Database\n */\nfunction isSupportedTimeZone(timeZone: Timezone): boolean {\n try {\n // Always use 'en' for testing\n const formatter = createMemoizedDateTimeFormat('en', {timeZone})\n return formatter.resolvedOptions().timeZone === timeZone\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported timezone identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedTimeZones(): Timezone[] {\n return timezones.filter(isSupportedTimeZone).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const units = [\n\t\"degree\",\n\t\"acre\",\n\t\"hectare\",\n\t\"percent\",\n\t\"bit\",\n\t\"byte\",\n\t\"gigabit\",\n\t\"gigabyte\",\n\t\"kilobit\",\n\t\"kilobyte\",\n\t\"megabit\",\n\t\"megabyte\",\n\t\"petabyte\",\n\t\"terabit\",\n\t\"terabyte\",\n\t\"day\",\n\t\"hour\",\n\t\"millisecond\",\n\t\"minute\",\n\t\"month\",\n\t\"second\",\n\t\"week\",\n\t\"year\",\n\t\"centimeter\",\n\t\"foot\",\n\t\"inch\",\n\t\"kilometer\",\n\t\"meter\",\n\t\"mile-scandinavian\",\n\t\"mile\",\n\t\"millimeter\",\n\t\"yard\",\n\t\"gram\",\n\t\"kilogram\",\n\t\"ounce\",\n\t\"pound\",\n\t\"stone\",\n\t\"celsius\",\n\t\"fahrenheit\",\n\t\"fluid-ounce\",\n\t\"gallon\",\n\t\"liter\",\n\t\"milliliter\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport type {Unit} from '@formatjs_generated/cldr.supported-values/units.js'\nimport {units} from '@formatjs_generated/cldr.supported-values/units.js'\n\n/**\n * Implementation: Tests if a unit is supported by attempting to create\n * a NumberFormat with that unit and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR unit types\n */\nfunction isSupportedUnit(unit: Unit): boolean {\n try {\n // Always use 'en' for testing\n const formatter = createMemoizedNumberFormat('en', {style: 'unit', unit})\n return formatter.resolvedOptions().unit === unit\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported unit identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedUnits(): (\n | 'degree'\n | 'acre'\n | 'hectare'\n | 'percent'\n | 'bit'\n | 'byte'\n | 'gigabit'\n | 'gigabyte'\n | 'kilobit'\n | 'kilobyte'\n | 'megabit'\n | 'megabyte'\n | 'petabyte'\n | 'terabit'\n | 'terabyte'\n | 'day'\n | 'hour'\n | 'millisecond'\n | 'minute'\n | 'month'\n | 'second'\n | 'week'\n | 'year'\n | 'centimeter'\n | 'foot'\n | 'inch'\n | 'kilometer'\n | 'meter'\n | 'mile-scandinavian'\n | 'mile'\n | 'millimeter'\n | 'yard'\n | 'gram'\n | 'kilogram'\n | 'ounce'\n | 'pound'\n | 'stone'\n | 'celsius'\n | 'fahrenheit'\n | 'fluid-ounce'\n | 'gallon'\n | 'liter'\n | 'milliliter'\n)[] {\n return units.filter(isSupportedUnit).sort()\n}\n","export function shouldPolyfill(): boolean {\n return !('supportedValuesOf' in Intl)\n}\n","import {getSupportedCalendars} from '#packages/intl-supportedvaluesof/get-supported-calendars.js'\nimport {getSupportedCollations} from '#packages/intl-supportedvaluesof/get-supported-collations.js'\nimport {getSupportedCurrencies} from '#packages/intl-supportedvaluesof/get-supported-currencies.js'\nimport {getSupportedNumberingSystems} from '#packages/intl-supportedvaluesof/get-supported-numbering-systems.js'\nimport {getSupportedTimeZones} from '#packages/intl-supportedvaluesof/get-supported-timezones.js'\nimport {getSupportedUnits} from '#packages/intl-supportedvaluesof/get-supported-units.js'\n\nexport type {Calendar} from '@formatjs_generated/cldr.supported-values/calendars.js'\nexport type {Collation} from '@formatjs_generated/cldr.supported-values/collations.js'\nexport type {Currency} from '@formatjs_generated/cldr.supported-values/currencies.js'\nexport type {Timezone} from '@formatjs_generated/cldr.supported-values/timezones.js'\nexport type {Unit} from '@formatjs_generated/cldr.supported-values/units.js'\n\nexport {shouldPolyfill} from '#packages/intl-supportedvaluesof/should-polyfill.js'\n\n/**\n * ECMA-402 Spec: Intl.supportedValuesOf\n * https://tc39.es/ecma402/#sec-intl.supportedvaluesof\n */\ndeclare global {\n namespace Intl {\n /**\n * Returns an array containing the supported values for the given key.\n * @param key - The category of values to return\n * @returns A sorted array of strings\n */\n function supportedValuesOf(\n key:\n | 'calendar'\n | 'collation'\n | 'currency'\n | 'numberingSystem'\n | 'timeZone'\n | 'unit'\n ): string[]\n }\n}\n\n/**\n * ECMA-402 Spec: Supported value categories\n */\nexport type SupportedValuesOf =\n | 'calendar'\n | 'collation'\n | 'currency'\n | 'numberingSystem'\n | 'timeZone'\n | 'unit'\n\n/**\n * ECMA-402 Spec: Intl.supportedValuesOf(key)\n * https://tc39.es/ecma402/#sec-intl.supportedvaluesof\n *\n * Returns an array containing the supported calendar, collation, currency,\n * numbering systems, time zone, or unit values supported by the implementation.\n *\n * Implementation: We validate candidate values from CLDR against the actual\n * Intl formatters to determine runtime support rather than using static lists.\n * This ensures accuracy across different JavaScript engines and runtimes.\n *\n * @param key - The category of values to return\n * @returns A sorted array of unique string values\n */\nexport function supportedValuesOf(key: SupportedValuesOf): string[] {\n // ECMA-402 Spec: Dispatch to appropriate getter based on key\n switch (key) {\n case 'calendar':\n return getSupportedCalendars()\n case 'collation':\n return getSupportedCollations()\n case 'currency':\n return getSupportedCurrencies()\n case 'numberingSystem':\n return getSupportedNumberingSystems()\n case 'timeZone':\n return getSupportedTimeZones()\n case 'unit':\n return getSupportedUnits()\n default:\n // ECMA-402 Spec: Throw RangeError for invalid keys\n throw RangeError('Invalid key: ' + key)\n }\n}\n"],"x_google_ignoreList":[1,3,6,8,10,12],"mappings":";;;;;;;;;;AAUA,MAAa,+BAEc,SACxB,GAAG,SACF,IAAI,KAAK,eAAe,GAAG,KAAK,EAClC,EACE,UAAU,WAAW,UACtB,CACF;;;AChBD,MAAa,YAAY;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACZD,SAAS,oBAAoB,MAAyB;AACpD,KAAI;AAMF,SAJuB,6BAA6B,WAAW,OAAO,CACvC,iBAAiB,CAAC,aAG9B;SACb;AAER,QAAO;;;;;;;;AAST,SAAgB,wBAAoC;AAClD,QAAO,UAAU,OAAO,oBAAoB,CAAC,MAAM;;;;AC5BrD,MAAa,aAAa;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACbD,SAAS,qBAAqB,WAA+B;AAC3D,KAAI;AAEF,SACE,KAAK,SAAS,WAAW,YAAY,CAAC,iBAAiB,CAAC,cACxD;SAEI;AAER,QAAO;;;;;;;;AAST,SAAgB,yBAAsC;AACpD,QAAO,WAAW,OAAO,qBAAqB,CAAC,MAAM;;;;ACiDvD,MAAa,6BAA6B,SAAS,GAAG,SAAS,IAAI,KAAK,aAAa,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AACxF,SAAS,GAAG,SAAS,IAAI,KAAK,YAAY,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AAC3F,SAAS,GAAG,SAAS,IAAI,KAAK,OAAO,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AAC7E,SAAS,GAAG,SAAS,IAAI,KAAK,WAAW,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;;;AC9E7H,MAAa,aAAa;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;AC5SD,SAAS,oBAAoB,UAA6B;AACxD,KAAI;EAQF,MAAM,SANe,2BAA2B,MAAM;GACpD,OAAO;GACP,iBAAiB;GACjB;GACD,CAAC,CAE0B,OAAO,IAAI;AAEvC,MACE,OAAO,UAAU,GAAG,EAAE,KAAK,YAC3B,OAAO,UAAU,OAAO,SAAS,EAAE,KAAK,SAExC,QAAO;SAEH;AAER,QAAO;;;;;;;;AAST,SAAgB,yBAAqC;CACnD,MAAM,OAAO;CACb,MAAM,sBAAkC,EAAE;AAE1C,MAAK,MAAM,YAAY,WACrB,KAAI,SAAS,WAAW;MAClB,oBAAoB,SAAS,CAC/B,qBAAoB,KAAK,SAAS;YAE3B,SAAS,WAAW,KAAK,SAAS,OAAO,KAAK;EACvD,MAAM,QAAQ,KAAK,QAAQ,SAAS,GAAG;EACvC,MAAM,MAAM,KAAK,QAAQ,SAAS,GAAG;AAErC,OAAK,IAAI,IAAI,OAAO,KAAK,KAAK,KAAK;GACjC,MAAM,kBAAmB,SAAS,UAAU,GAAG,EAAE,GAAG,KAAK;AACzD,OAAI,oBAAoB,gBAAgB,CACtC,qBAAoB,KAAK,gBAAgB;;;AAMjD,QAAO,oBAAoB,MAAM;;;;AC5DnC,MAAa,uBAAuB;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACzFD,SAAS,2BAA2B,QAAyB;AAC3D,KAAI;EAEF,MAAM,eAAe,2BAA2B,WAAW,SAAS;AAGpE,MAFgB,aAAa,iBAAiB,CAAC,oBAGhC,UAAU,WAAW,UAClC,aAAa,OAAO,IAAI,KAAK,MAE7B,QAAO;SAEH;AAER,QAAO;;;;;;;;AAST,SAAgB,+BAAyC;AACvD,QAAO,qBAAqB,OAAO,2BAA2B,CAAC,MAAM;;;;AC/BvE,MAAa,YAAY;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACpaD,SAAS,oBAAoB,UAA6B;AACxD,KAAI;AAGF,SADkB,6BAA6B,MAAM,EAAC,UAAS,CAAC,CAC/C,iBAAiB,CAAC,aAAa;SAC1C;AAER,QAAO;;;;;;;;AAST,SAAgB,wBAAoC;AAClD,QAAO,UAAU,OAAO,oBAAoB,CAAC,MAAM;;;;ACzBrD,MAAa,QAAQ;CACpB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACpCD,SAAS,gBAAgB,MAAqB;AAC5C,KAAI;AAGF,SADkB,2BAA2B,MAAM;GAAC,OAAO;GAAQ;GAAK,CAAC,CACxD,iBAAiB,CAAC,SAAS;SACtC;AAER,QAAO;;;;;;;;AAST,SAAgB,oBA4CZ;AACF,QAAO,MAAM,OAAO,gBAAgB,CAAC,MAAM;;;;ACvE7C,SAAgB,iBAA0B;AACxC,QAAO,EAAE,uBAAuB;;;;;;;;;;;;;;;;;;AC8DlC,SAAgB,kBAAkB,KAAkC;AAElE,SAAQ,KAAR;EACE,KAAK,WACH,QAAO,uBAAuB;EAChC,KAAK,YACH,QAAO,wBAAwB;EACjC,KAAK,WACH,QAAO,wBAAwB;EACjC,KAAK,kBACH,QAAO,8BAA8B;EACvC,KAAK,WACH,QAAO,uBAAuB;EAChC,KAAK,OACH,QAAO,mBAAmB;EAC5B,QAEE,OAAM,WAAW,kBAAkB,IAAI"}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../memoize.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/calendars.js","../get-supported-calendars.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/collations.js","../get-supported-collations.ts","../../ecma402-abstract/utils.js","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/currencies.js","../get-supported-currencies.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.number@0.0.0/node_modules/@formatjs_generated/cldr.number/numbering-systems.js","../get-supported-numbering-systems.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/timezones.js","../get-supported-timezones.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/units.js","../get-supported-units.ts","../should-polyfill.ts","../index.ts"],"sourcesContent":["import {memoize, strategies} from '@formatjs/fast-memoize'\n\n/**\n * Implementation: Memoized factory for Intl.DateTimeFormat instances\n *\n * Creates and caches DateTimeFormat instances to avoid repeated instantiation overhead.\n * This is critical for performance since we test many candidate values against formatters.\n *\n * Uses variadic memoization strategy to handle varying numbers of constructor arguments.\n */\nexport const createMemoizedDateTimeFormat: (\n ...args: ConstructorParameters<typeof Intl.DateTimeFormat>\n) => Intl.DateTimeFormat = memoize(\n (...args: ConstructorParameters<typeof Intl.DateTimeFormat>) =>\n new Intl.DateTimeFormat(...args),\n {\n strategy: strategies.variadic,\n }\n)\n","/* @generated */\n// prettier-ignore\nexport const calendars = [\n\t\"buddhist\",\n\t\"chinese\",\n\t\"coptic\",\n\t\"dangi\",\n\t\"ethioaa\",\n\t\"ethiopic\",\n\t\"gregory\",\n\t\"hebrew\",\n\t\"indian\",\n\t\"islamic\",\n\t\"islamic-civil\",\n\t\"islamic-rgsa\",\n\t\"islamic-tbla\",\n\t\"islamic-umalqura\",\n\t\"islamicc\",\n\t\"iso8601\",\n\t\"japanese\",\n\t\"persian\",\n\t\"roc\"\n];\n","import {createMemoizedDateTimeFormat} from '#packages/intl-supportedvaluesof/memoize.js'\nimport type {Calendar} from '@formatjs_generated/cldr.supported-values/calendars.js'\nimport {calendars} from '@formatjs_generated/cldr.supported-values/calendars.js'\n\n/**\n * Implementation: Tests if a calendar is supported by attempting to create\n * a DateTimeFormat with that calendar and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR calendar types\n */\nfunction isSupportedCalendar(item: Calendar): boolean {\n try {\n // Always use 'en' for testing\n const dateTimeFormat = createMemoizedDateTimeFormat(`en-u-ca-${item}`)\n const options = dateTimeFormat.resolvedOptions().calendar\n\n // Verify the calendar was actually accepted (resolved calendar matches requested)\n return options === item\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported calendar identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCalendars(): Calendar[] {\n return calendars.filter(isSupportedCalendar).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const collations = [\n\t\"big5han\",\n\t\"compat\",\n\t\"dict\",\n\t\"direct\",\n\t\"ducet\",\n\t\"emoji\",\n\t\"eor\",\n\t\"gb2312\",\n\t\"phonebk\",\n\t\"phonetic\",\n\t\"pinyin\",\n\t\"reformed\",\n\t\"search\",\n\t\"searchjl\",\n\t\"standard\",\n\t\"stroke\",\n\t\"trad\",\n\t\"unihan\",\n\t\"zhuyin\"\n];\n","import type {Collation} from '@formatjs_generated/cldr.supported-values/collations.js'\nimport {collations} from '@formatjs_generated/cldr.supported-values/collations.js'\n\n/**\n * Implementation: Tests if a collation is supported by attempting to create\n * a Collator with that collation and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR collation types\n */\nfunction isSupportedCollation(collation: Collation): boolean {\n try {\n // Always use 'en' for testing\n return (\n Intl.Collator(`en-u-co-${collation}`).resolvedOptions().collation ===\n collation\n )\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported collation identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCollations(): Collation[] {\n return collations.filter(isSupportedCollation).sort()\n}\n","import { memoize, strategies } from \"@formatjs/fast-memoize\";\nexport function repeat(s, times) {\n\tif (typeof s.repeat === \"function\") {\n\t\treturn s.repeat(times);\n\t}\n\tconst arr = Array.from({ length: times });\n\tfor (let i = 0; i < arr.length; i++) {\n\t\tarr[i] = s;\n\t}\n\treturn arr.join(\"\");\n}\nexport function setInternalSlot(map, pl, field, value) {\n\tif (!map.get(pl)) {\n\t\tmap.set(pl, Object.create(null));\n\t}\n\tconst slots = map.get(pl);\n\tslots[field] = value;\n}\nexport function setMultiInternalSlots(map, pl, props) {\n\tfor (const k of Object.keys(props)) {\n\t\tsetInternalSlot(map, pl, k, props[k]);\n\t}\n}\nexport function getInternalSlot(map, pl, field) {\n\treturn getMultiInternalSlots(map, pl, field)[field];\n}\nexport function getMultiInternalSlots(map, pl, ...fields) {\n\tconst slots = map.get(pl);\n\tif (!slots) {\n\t\tthrow new TypeError(`${pl} InternalSlot has not been initialized`);\n\t}\n\treturn fields.reduce((all, f) => {\n\t\tall[f] = slots[f];\n\t\treturn all;\n\t}, Object.create(null));\n}\nexport function isLiteralPart(patternPart) {\n\treturn patternPart.type === \"literal\";\n}\n/*\n17 ECMAScript Standard Built-in Objects:\nEvery built-in Function object, including constructors, that is not\nidentified as an anonymous function has a name property whose value\nis a String.\n\nUnless otherwise specified, the name property of a built-in Function\nobject, if it exists, has the attributes { [[Writable]]: false,\n[[Enumerable]]: false, [[Configurable]]: true }.\n*/\nexport function defineProperty(target, name, { value }) {\n\tObject.defineProperty(target, name, {\n\t\tconfigurable: true,\n\t\tenumerable: false,\n\t\twritable: true,\n\t\tvalue\n\t});\n}\nexport function ensureIntl() {\n\tif (typeof Intl === \"undefined\") {\n\t\tObject.defineProperty(globalThis, \"Intl\", {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\twritable: true,\n\t\t\tvalue: {}\n\t\t});\n\t}\n\treturn Intl;\n}\n/**\n* 7.3.5 CreateDataProperty\n* @param target\n* @param name\n* @param value\n*/\nexport function createDataProperty(target, name, value) {\n\tObject.defineProperty(target, name, {\n\t\tconfigurable: true,\n\t\tenumerable: true,\n\t\twritable: true,\n\t\tvalue\n\t});\n}\nexport const UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;\nexport function invariant(condition, message, Err = Error) {\n\tif (!condition) {\n\t\tthrow new Err(message);\n\t}\n}\nexport const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });\nexport const createMemoizedPluralRules = memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });\nexport const createMemoizedLocale = memoize((...args) => new Intl.Locale(...args), { strategy: strategies.variadic });\nexport const createMemoizedListFormat = memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });\n","/* @generated */\n// prettier-ignore\nexport const currencies = [\n\t\"ADP\",\n\t\"AED\",\n\t\"AFA\",\n\t\"AFN\",\n\t\"ALK\",\n\t\"ALL\",\n\t\"AMD\",\n\t\"ANG\",\n\t\"AOA\",\n\t\"AOK\",\n\t\"AON\",\n\t\"AOR\",\n\t\"ARA\",\n\t\"ARL\",\n\t\"ARM\",\n\t\"ARP\",\n\t\"ARS\",\n\t\"ATS\",\n\t\"AUD\",\n\t\"AWG\",\n\t\"AZM\",\n\t\"AZN\",\n\t\"BAD\",\n\t\"BAM\",\n\t\"BAN\",\n\t\"BBD\",\n\t\"BDT\",\n\t\"BEC\",\n\t\"BEF\",\n\t\"BEL\",\n\t\"BGL\",\n\t\"BGM\",\n\t\"BGN\",\n\t\"BGO\",\n\t\"BHD\",\n\t\"BIF\",\n\t\"BMD\",\n\t\"BND\",\n\t\"BOB\",\n\t\"BOL\",\n\t\"BOP\",\n\t\"BOV\",\n\t\"BRB\",\n\t\"BRC\",\n\t\"BRE\",\n\t\"BRL\",\n\t\"BRN\",\n\t\"BRR\",\n\t\"BRZ\",\n\t\"BSD\",\n\t\"BTN\",\n\t\"BUK\",\n\t\"BWP\",\n\t\"BYB\",\n\t\"BYN\",\n\t\"BYR\",\n\t\"BZD\",\n\t\"CAD\",\n\t\"CDF\",\n\t\"CHE\",\n\t\"CHF\",\n\t\"CHW\",\n\t\"CLE\",\n\t\"CLF\",\n\t\"CLP\",\n\t\"CNH\",\n\t\"CNX\",\n\t\"CNY\",\n\t\"COP\",\n\t\"COU\",\n\t\"CRC\",\n\t\"CSD\",\n\t\"CSK\",\n\t\"CUC\",\n\t\"CUP\",\n\t\"CVE\",\n\t\"CYP\",\n\t\"CZK\",\n\t\"DDM\",\n\t\"DEM\",\n\t\"DJF\",\n\t\"DKK\",\n\t\"DOP\",\n\t\"DZD\",\n\t\"ECS\",\n\t\"ECV\",\n\t\"EEK\",\n\t\"EGP\",\n\t\"ERN\",\n\t\"ESA\",\n\t\"ESB\",\n\t\"ESP\",\n\t\"ETB\",\n\t\"EUR\",\n\t\"FIM\",\n\t\"FJD\",\n\t\"FKP\",\n\t\"FRF\",\n\t\"GBP\",\n\t\"GEK\",\n\t\"GEL\",\n\t\"GHC\",\n\t\"GHS\",\n\t\"GIP\",\n\t\"GMD\",\n\t\"GNF\",\n\t\"GNS\",\n\t\"GQE\",\n\t\"GRD\",\n\t\"GTQ\",\n\t\"GWE\",\n\t\"GWP\",\n\t\"GYD\",\n\t\"HKD\",\n\t\"HNL\",\n\t\"HRD\",\n\t\"HRK\",\n\t\"HTG\",\n\t\"HUF\",\n\t\"IDR\",\n\t\"IEP\",\n\t\"ILP\",\n\t\"ILR\",\n\t\"ILS\",\n\t\"INR\",\n\t\"IQD\",\n\t\"IRR\",\n\t\"ISJ\",\n\t\"ISK\",\n\t\"ITL\",\n\t\"JMD\",\n\t\"JOD\",\n\t\"JPY\",\n\t\"KES\",\n\t\"KGS\",\n\t\"KHR\",\n\t\"KMF\",\n\t\"KPW\",\n\t\"KRH\",\n\t\"KRO\",\n\t\"KRW\",\n\t\"KWD\",\n\t\"KYD\",\n\t\"KZT\",\n\t\"LAK\",\n\t\"LBP\",\n\t\"LKR\",\n\t\"LRD\",\n\t\"LSL\",\n\t\"LTL\",\n\t\"LTT\",\n\t\"LUC\",\n\t\"LUF\",\n\t\"LUL\",\n\t\"LVL\",\n\t\"LVR\",\n\t\"LYD\",\n\t\"MAD\",\n\t\"MAF\",\n\t\"MCF\",\n\t\"MDC\",\n\t\"MDL\",\n\t\"MGA\",\n\t\"MGF\",\n\t\"MKD\",\n\t\"MKN\",\n\t\"MLF\",\n\t\"MMK\",\n\t\"MNT\",\n\t\"MOP\",\n\t\"MRO\",\n\t\"MRU\",\n\t\"MTL\",\n\t\"MTP\",\n\t\"MUR\",\n\t\"MVP\",\n\t\"MVR\",\n\t\"MWK\",\n\t\"MXN\",\n\t\"MXP\",\n\t\"MXV\",\n\t\"MYR\",\n\t\"MZE\",\n\t\"MZM\",\n\t\"MZN\",\n\t\"NAD\",\n\t\"NGN\",\n\t\"NIC\",\n\t\"NIO\",\n\t\"NLG\",\n\t\"NOK\",\n\t\"NPR\",\n\t\"NZD\",\n\t\"OMR\",\n\t\"PAB\",\n\t\"PEI\",\n\t\"PEN\",\n\t\"PES\",\n\t\"PGK\",\n\t\"PHP\",\n\t\"PKR\",\n\t\"PLN\",\n\t\"PLZ\",\n\t\"PTE\",\n\t\"PYG\",\n\t\"QAR\",\n\t\"RHD\",\n\t\"ROL\",\n\t\"RON\",\n\t\"RSD\",\n\t\"RUB\",\n\t\"RUR\",\n\t\"RWF\",\n\t\"SAR\",\n\t\"SBD\",\n\t\"SCR\",\n\t\"SDD\",\n\t\"SDG\",\n\t\"SDP\",\n\t\"SEK\",\n\t\"SGD\",\n\t\"SHP\",\n\t\"SIT\",\n\t\"SKK\",\n\t\"SLE\",\n\t\"SLL\",\n\t\"SOS\",\n\t\"SRD\",\n\t\"SRG\",\n\t\"SSP\",\n\t\"STD\",\n\t\"STN\",\n\t\"SUR\",\n\t\"SVC\",\n\t\"SYP\",\n\t\"SZL\",\n\t\"THB\",\n\t\"TJR\",\n\t\"TJS\",\n\t\"TMM\",\n\t\"TMT\",\n\t\"TND\",\n\t\"TOP\",\n\t\"TPE\",\n\t\"TRL\",\n\t\"TRY\",\n\t\"TTD\",\n\t\"TWD\",\n\t\"TZS\",\n\t\"UAH\",\n\t\"UAK\",\n\t\"UGS\",\n\t\"UGX\",\n\t\"USD\",\n\t\"USN\",\n\t\"USS\",\n\t\"UYI\",\n\t\"UYP\",\n\t\"UYU\",\n\t\"UYW\",\n\t\"UZS\",\n\t\"VEB\",\n\t\"VED\",\n\t\"VEF\",\n\t\"VES\",\n\t\"VND\",\n\t\"VNN\",\n\t\"VUV\",\n\t\"WST\",\n\t\"XAF\",\n\t\"XAG\",\n\t\"XAU\",\n\t\"XBA\",\n\t\"XBB\",\n\t\"XBC\",\n\t\"XBD\",\n\t\"XCD\",\n\t\"XCG\",\n\t\"XDR\",\n\t\"XEU\",\n\t\"XFO\",\n\t\"XFU\",\n\t\"XOF\",\n\t\"XPD\",\n\t\"XPF\",\n\t\"XPT\",\n\t\"XRE\",\n\t\"XSU\",\n\t\"XTS\",\n\t\"XUA\",\n\t\"XXX\",\n\t\"YDD\",\n\t\"YER\",\n\t\"YUD\",\n\t\"YUM\",\n\t\"YUN\",\n\t\"YUR\",\n\t\"ZAL\",\n\t\"ZAR\",\n\t\"ZMK\",\n\t\"ZMW\",\n\t\"ZRN\",\n\t\"ZRZ\",\n\t\"ZWD\",\n\t\"ZWG\",\n\t\"ZWL\",\n\t\"ZWR\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport type {Currency} from '@formatjs_generated/cldr.supported-values/currencies.js'\nimport {currencies} from '@formatjs_generated/cldr.supported-values/currencies.js'\n\n/**\n * Implementation: Tests if a currency is supported by attempting to create\n * a NumberFormat with that currency and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR currency codes (ISO 4217)\n */\nfunction isSupportedCurrency(currency: Currency): boolean {\n try {\n // Always use 'en' for testing\n const numberFormat = createMemoizedNumberFormat('en', {\n style: 'currency',\n currencyDisplay: 'name',\n currency,\n })\n\n const format = numberFormat.format(123)\n\n if (\n format.substring(0, 3) !== currency &&\n format.substring(format.length - 3) !== currency\n ) {\n return true\n }\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported currency identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCurrencies(): Currency[] {\n const ATOZ = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n const supportedCurrencies: Currency[] = []\n\n for (const currency of currencies) {\n if (currency.length === 3) {\n if (isSupportedCurrency(currency)) {\n supportedCurrencies.push(currency)\n }\n } else if (currency.length === 5 && currency[3] === '~') {\n const start = ATOZ.indexOf(currency[2])\n const end = ATOZ.indexOf(currency[4])\n\n for (let i = start; i <= end; i++) {\n const currentCurrency = (currency.substring(0, 2) + ATOZ[i]) as Currency\n if (isSupportedCurrency(currentCurrency)) {\n supportedCurrencies.push(currentCurrency)\n }\n }\n }\n }\n\n return supportedCurrencies.sort()\n}\n","export const numberingSystemNames = [\n\t\"adlm\",\n\t\"ahom\",\n\t\"arab\",\n\t\"arabext\",\n\t\"armn\",\n\t\"armnlow\",\n\t\"bali\",\n\t\"beng\",\n\t\"bhks\",\n\t\"brah\",\n\t\"cakm\",\n\t\"cham\",\n\t\"cyrl\",\n\t\"deva\",\n\t\"diak\",\n\t\"ethi\",\n\t\"fullwide\",\n\t\"gara\",\n\t\"geor\",\n\t\"gong\",\n\t\"gonm\",\n\t\"grek\",\n\t\"greklow\",\n\t\"gujr\",\n\t\"gukh\",\n\t\"guru\",\n\t\"hanidays\",\n\t\"hanidec\",\n\t\"hans\",\n\t\"hansfin\",\n\t\"hant\",\n\t\"hantfin\",\n\t\"hebr\",\n\t\"hmng\",\n\t\"hmnp\",\n\t\"java\",\n\t\"jpan\",\n\t\"jpanfin\",\n\t\"jpanyear\",\n\t\"kali\",\n\t\"kawi\",\n\t\"khmr\",\n\t\"knda\",\n\t\"krai\",\n\t\"lana\",\n\t\"lanatham\",\n\t\"laoo\",\n\t\"latn\",\n\t\"lepc\",\n\t\"limb\",\n\t\"mathbold\",\n\t\"mathdbl\",\n\t\"mathmono\",\n\t\"mathsanb\",\n\t\"mathsans\",\n\t\"mlym\",\n\t\"modi\",\n\t\"mong\",\n\t\"mroo\",\n\t\"mtei\",\n\t\"mymr\",\n\t\"mymrepka\",\n\t\"mymrpao\",\n\t\"mymrshan\",\n\t\"mymrtlng\",\n\t\"nagm\",\n\t\"newa\",\n\t\"nkoo\",\n\t\"olck\",\n\t\"onao\",\n\t\"orya\",\n\t\"osma\",\n\t\"outlined\",\n\t\"rohg\",\n\t\"roman\",\n\t\"romanlow\",\n\t\"saur\",\n\t\"segment\",\n\t\"shrd\",\n\t\"sind\",\n\t\"sinh\",\n\t\"sora\",\n\t\"sund\",\n\t\"sunu\",\n\t\"takr\",\n\t\"talu\",\n\t\"taml\",\n\t\"tamldec\",\n\t\"telu\",\n\t\"thai\",\n\t\"tibt\",\n\t\"tirh\",\n\t\"tnsa\",\n\t\"tols\",\n\t\"vaii\",\n\t\"wara\",\n\t\"wcho\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport {numberingSystemNames} from '@formatjs_generated/cldr.number/numbering-systems.js'\n\n/**\n * Implementation: Tests if a numbering system is supported by attempting to create\n * a NumberFormat with that numbering system and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR numbering system types\n */\nfunction isSupportedNumberingSystem(system: string): boolean {\n try {\n // Always use 'en' for testing\n const numberFormat = createMemoizedNumberFormat(`en-u-nu-${system}`)\n const options = numberFormat.resolvedOptions().numberingSystem\n\n if (\n (options === system && system === 'latn') ||\n numberFormat.format(123) !== '123'\n ) {\n return true\n }\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported numbering system identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedNumberingSystems(): string[] {\n return numberingSystemNames.filter(isSupportedNumberingSystem).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const timezones = [\n\t\"Africa/Abidjan\",\n\t\"Africa/Accra\",\n\t\"Africa/Addis_Ababa\",\n\t\"Africa/Algiers\",\n\t\"Africa/Asmara\",\n\t\"Africa/Bamako\",\n\t\"Africa/Bangui\",\n\t\"Africa/Banjul\",\n\t\"Africa/Bissau\",\n\t\"Africa/Blantyre\",\n\t\"Africa/Brazzaville\",\n\t\"Africa/Bujumbura\",\n\t\"Africa/Cairo\",\n\t\"Africa/Casablanca\",\n\t\"Africa/Ceuta\",\n\t\"Africa/Conakry\",\n\t\"Africa/Dakar\",\n\t\"Africa/Dar_es_Salaam\",\n\t\"Africa/Djibouti\",\n\t\"Africa/Douala\",\n\t\"Africa/El_Aaiun\",\n\t\"Africa/Freetown\",\n\t\"Africa/Gaborone\",\n\t\"Africa/Harare\",\n\t\"Africa/Johannesburg\",\n\t\"Africa/Juba\",\n\t\"Africa/Kampala\",\n\t\"Africa/Khartoum\",\n\t\"Africa/Kigali\",\n\t\"Africa/Kinshasa\",\n\t\"Africa/Lagos\",\n\t\"Africa/Libreville\",\n\t\"Africa/Lome\",\n\t\"Africa/Luanda\",\n\t\"Africa/Lubumbashi\",\n\t\"Africa/Lusaka\",\n\t\"Africa/Malabo\",\n\t\"Africa/Maputo\",\n\t\"Africa/Maseru\",\n\t\"Africa/Mbabane\",\n\t\"Africa/Mogadishu\",\n\t\"Africa/Monrovia\",\n\t\"Africa/Nairobi\",\n\t\"Africa/Ndjamena\",\n\t\"Africa/Niamey\",\n\t\"Africa/Nouakchott\",\n\t\"Africa/Ouagadougou\",\n\t\"Africa/Porto-Novo\",\n\t\"Africa/Sao_Tome\",\n\t\"Africa/Tripoli\",\n\t\"Africa/Tunis\",\n\t\"Africa/Windhoek\",\n\t\"America/Adak\",\n\t\"America/Anchorage\",\n\t\"America/Anguilla\",\n\t\"America/Antigua\",\n\t\"America/Araguaina\",\n\t\"America/Argentina/Buenos_Aires\",\n\t\"America/Argentina/Catamarca\",\n\t\"America/Argentina/Cordoba\",\n\t\"America/Argentina/Jujuy\",\n\t\"America/Argentina/La_Rioja\",\n\t\"America/Argentina/Mendoza\",\n\t\"America/Argentina/Rio_Gallegos\",\n\t\"America/Argentina/Salta\",\n\t\"America/Argentina/San_Juan\",\n\t\"America/Argentina/San_Luis\",\n\t\"America/Argentina/Tucuman\",\n\t\"America/Argentina/Ushuaia\",\n\t\"America/Aruba\",\n\t\"America/Asuncion\",\n\t\"America/Atikokan\",\n\t\"America/Bahia_Banderas\",\n\t\"America/Bahia\",\n\t\"America/Barbados\",\n\t\"America/Belem\",\n\t\"America/Belize\",\n\t\"America/Blanc-Sablon\",\n\t\"America/Boa_Vista\",\n\t\"America/Bogota\",\n\t\"America/Boise\",\n\t\"America/Cambridge_Bay\",\n\t\"America/Campo_Grande\",\n\t\"America/Cancun\",\n\t\"America/Caracas\",\n\t\"America/Cayenne\",\n\t\"America/Cayman\",\n\t\"America/Chicago\",\n\t\"America/Chihuahua\",\n\t\"America/Ciudad_Juarez\",\n\t\"America/Costa_Rica\",\n\t\"America/Coyhaique\",\n\t\"America/Creston\",\n\t\"America/Cuiaba\",\n\t\"America/Curacao\",\n\t\"America/Danmarkshavn\",\n\t\"America/Dawson_Creek\",\n\t\"America/Dawson\",\n\t\"America/Denver\",\n\t\"America/Detroit\",\n\t\"America/Dominica\",\n\t\"America/Edmonton\",\n\t\"America/Eirunepe\",\n\t\"America/El_Salvador\",\n\t\"America/Fort_Nelson\",\n\t\"America/Fortaleza\",\n\t\"America/Glace_Bay\",\n\t\"America/Goose_Bay\",\n\t\"America/Grand_Turk\",\n\t\"America/Grenada\",\n\t\"America/Guadeloupe\",\n\t\"America/Guatemala\",\n\t\"America/Guayaquil\",\n\t\"America/Guyana\",\n\t\"America/Halifax\",\n\t\"America/Havana\",\n\t\"America/Hermosillo\",\n\t\"America/Indiana/Indianapolis\",\n\t\"America/Indiana/Knox\",\n\t\"America/Indiana/Marengo\",\n\t\"America/Indiana/Petersburg\",\n\t\"America/Indiana/Tell_City\",\n\t\"America/Indiana/Vevay\",\n\t\"America/Indiana/Vincennes\",\n\t\"America/Indiana/Winamac\",\n\t\"America/Inuvik\",\n\t\"America/Iqaluit\",\n\t\"America/Jamaica\",\n\t\"America/Juneau\",\n\t\"America/Kentucky/Louisville\",\n\t\"America/Kentucky/Monticello\",\n\t\"America/Kralendijk\",\n\t\"America/La_Paz\",\n\t\"America/Lima\",\n\t\"America/Los_Angeles\",\n\t\"America/Lower_Princes\",\n\t\"America/Maceio\",\n\t\"America/Managua\",\n\t\"America/Manaus\",\n\t\"America/Marigot\",\n\t\"America/Martinique\",\n\t\"America/Matamoros\",\n\t\"America/Mazatlan\",\n\t\"America/Menominee\",\n\t\"America/Merida\",\n\t\"America/Metlakatla\",\n\t\"America/Mexico_City\",\n\t\"America/Miquelon\",\n\t\"America/Moncton\",\n\t\"America/Monterrey\",\n\t\"America/Montevideo\",\n\t\"America/Montserrat\",\n\t\"America/Nassau\",\n\t\"America/New_York\",\n\t\"America/Nipigon\",\n\t\"America/Nome\",\n\t\"America/Noronha\",\n\t\"America/North_Dakota/Beulah\",\n\t\"America/North_Dakota/Center\",\n\t\"America/North_Dakota/New_Salem\",\n\t\"America/Nuuk\",\n\t\"America/Ojinaga\",\n\t\"America/Panama\",\n\t\"America/Pangnirtung\",\n\t\"America/Paramaribo\",\n\t\"America/Phoenix\",\n\t\"America/Port_of_Spain\",\n\t\"America/Port-au-Prince\",\n\t\"America/Porto_Velho\",\n\t\"America/Puerto_Rico\",\n\t\"America/Punta_Arenas\",\n\t\"America/Rainy_River\",\n\t\"America/Rankin_Inlet\",\n\t\"America/Recife\",\n\t\"America/Regina\",\n\t\"America/Resolute\",\n\t\"America/Rio_Branco\",\n\t\"America/Santarem\",\n\t\"America/Santiago\",\n\t\"America/Santo_Domingo\",\n\t\"America/Sao_Paulo\",\n\t\"America/Scoresbysund\",\n\t\"America/Sitka\",\n\t\"America/St_Barthelemy\",\n\t\"America/St_Johns\",\n\t\"America/St_Kitts\",\n\t\"America/St_Lucia\",\n\t\"America/St_Thomas\",\n\t\"America/St_Vincent\",\n\t\"America/Swift_Current\",\n\t\"America/Tegucigalpa\",\n\t\"America/Thule\",\n\t\"America/Thunder_Bay\",\n\t\"America/Tijuana\",\n\t\"America/Toronto\",\n\t\"America/Tortola\",\n\t\"America/Vancouver\",\n\t\"America/Whitehorse\",\n\t\"America/Winnipeg\",\n\t\"America/Yakutat\",\n\t\"America/Yellowknife\",\n\t\"Antarctica/Casey\",\n\t\"Antarctica/Davis\",\n\t\"Antarctica/DumontDUrville\",\n\t\"Antarctica/Macquarie\",\n\t\"Antarctica/Mawson\",\n\t\"Antarctica/McMurdo\",\n\t\"Antarctica/Palmer\",\n\t\"Antarctica/Rothera\",\n\t\"Antarctica/Syowa\",\n\t\"Antarctica/Troll\",\n\t\"Antarctica/Vostok\",\n\t\"Arctic/Longyearbyen\",\n\t\"Asia/Aden\",\n\t\"Asia/Almaty\",\n\t\"Asia/Amman\",\n\t\"Asia/Anadyr\",\n\t\"Asia/Aqtau\",\n\t\"Asia/Aqtobe\",\n\t\"Asia/Ashgabat\",\n\t\"Asia/Atyrau\",\n\t\"Asia/Baghdad\",\n\t\"Asia/Bahrain\",\n\t\"Asia/Baku\",\n\t\"Asia/Bangkok\",\n\t\"Asia/Barnaul\",\n\t\"Asia/Beirut\",\n\t\"Asia/Bishkek\",\n\t\"Asia/Brunei\",\n\t\"Asia/Chita\",\n\t\"Asia/Choibalsan\",\n\t\"Asia/Colombo\",\n\t\"Asia/Damascus\",\n\t\"Asia/Dhaka\",\n\t\"Asia/Dili\",\n\t\"Asia/Dubai\",\n\t\"Asia/Dushanbe\",\n\t\"Asia/Famagusta\",\n\t\"Asia/Gaza\",\n\t\"Asia/Hebron\",\n\t\"Asia/Ho_Chi_Minh\",\n\t\"Asia/Hong_Kong\",\n\t\"Asia/Hovd\",\n\t\"Asia/Irkutsk\",\n\t\"Asia/Jakarta\",\n\t\"Asia/Jayapura\",\n\t\"Asia/Jerusalem\",\n\t\"Asia/Kabul\",\n\t\"Asia/Kamchatka\",\n\t\"Asia/Karachi\",\n\t\"Asia/Kathmandu\",\n\t\"Asia/Khandyga\",\n\t\"Asia/Kolkata\",\n\t\"Asia/Krasnoyarsk\",\n\t\"Asia/Kuala_Lumpur\",\n\t\"Asia/Kuching\",\n\t\"Asia/Kuwait\",\n\t\"Asia/Macau\",\n\t\"Asia/Magadan\",\n\t\"Asia/Makassar\",\n\t\"Asia/Manila\",\n\t\"Asia/Muscat\",\n\t\"Asia/Nicosia\",\n\t\"Asia/Novokuznetsk\",\n\t\"Asia/Novosibirsk\",\n\t\"Asia/Omsk\",\n\t\"Asia/Oral\",\n\t\"Asia/Phnom_Penh\",\n\t\"Asia/Pontianak\",\n\t\"Asia/Pyongyang\",\n\t\"Asia/Qatar\",\n\t\"Asia/Qostanay\",\n\t\"Asia/Qyzylorda\",\n\t\"Asia/Riyadh\",\n\t\"Asia/Sakhalin\",\n\t\"Asia/Samarkand\",\n\t\"Asia/Seoul\",\n\t\"Asia/Shanghai\",\n\t\"Asia/Singapore\",\n\t\"Asia/Srednekolymsk\",\n\t\"Asia/Taipei\",\n\t\"Asia/Tashkent\",\n\t\"Asia/Tbilisi\",\n\t\"Asia/Tehran\",\n\t\"Asia/Thimphu\",\n\t\"Asia/Tokyo\",\n\t\"Asia/Tomsk\",\n\t\"Asia/Ulaanbaatar\",\n\t\"Asia/Urumqi\",\n\t\"Asia/Ust-Nera\",\n\t\"Asia/Vientiane\",\n\t\"Asia/Vladivostok\",\n\t\"Asia/Yakutsk\",\n\t\"Asia/Yangon\",\n\t\"Asia/Yekaterinburg\",\n\t\"Asia/Yerevan\",\n\t\"Atlantic/Azores\",\n\t\"Atlantic/Bermuda\",\n\t\"Atlantic/Canary\",\n\t\"Atlantic/Cape_Verde\",\n\t\"Atlantic/Faroe\",\n\t\"Atlantic/Madeira\",\n\t\"Atlantic/Reykjavik\",\n\t\"Atlantic/South_Georgia\",\n\t\"Atlantic/St_Helena\",\n\t\"Atlantic/Stanley\",\n\t\"Australia/Adelaide\",\n\t\"Australia/Brisbane\",\n\t\"Australia/Broken_Hill\",\n\t\"Australia/Currie\",\n\t\"Australia/Darwin\",\n\t\"Australia/Eucla\",\n\t\"Australia/Hobart\",\n\t\"Australia/Lindeman\",\n\t\"Australia/Lord_Howe\",\n\t\"Australia/Melbourne\",\n\t\"Australia/Perth\",\n\t\"Australia/Sydney\",\n\t\"Europe/Amsterdam\",\n\t\"Europe/Andorra\",\n\t\"Europe/Astrakhan\",\n\t\"Europe/Athens\",\n\t\"Europe/Belgrade\",\n\t\"Europe/Berlin\",\n\t\"Europe/Bratislava\",\n\t\"Europe/Brussels\",\n\t\"Europe/Bucharest\",\n\t\"Europe/Budapest\",\n\t\"Europe/Busingen\",\n\t\"Europe/Chisinau\",\n\t\"Europe/Copenhagen\",\n\t\"Europe/Dublin\",\n\t\"Europe/Gibraltar\",\n\t\"Europe/Guernsey\",\n\t\"Europe/Helsinki\",\n\t\"Europe/Isle_of_Man\",\n\t\"Europe/Istanbul\",\n\t\"Europe/Jersey\",\n\t\"Europe/Kaliningrad\",\n\t\"Europe/Kyiv\",\n\t\"Europe/Kirov\",\n\t\"Europe/Lisbon\",\n\t\"Europe/Ljubljana\",\n\t\"Europe/London\",\n\t\"Europe/Luxembourg\",\n\t\"Europe/Madrid\",\n\t\"Europe/Malta\",\n\t\"Europe/Mariehamn\",\n\t\"Europe/Minsk\",\n\t\"Europe/Monaco\",\n\t\"Europe/Moscow\",\n\t\"Europe/Oslo\",\n\t\"Europe/Paris\",\n\t\"Europe/Podgorica\",\n\t\"Europe/Prague\",\n\t\"Europe/Riga\",\n\t\"Europe/Rome\",\n\t\"Europe/Samara\",\n\t\"Europe/San_Marino\",\n\t\"Europe/Sarajevo\",\n\t\"Europe/Saratov\",\n\t\"Europe/Simferopol\",\n\t\"Europe/Skopje\",\n\t\"Europe/Sofia\",\n\t\"Europe/Stockholm\",\n\t\"Europe/Tallinn\",\n\t\"Europe/Tirane\",\n\t\"Europe/Ulyanovsk\",\n\t\"Europe/Uzhgorod\",\n\t\"Europe/Vaduz\",\n\t\"Europe/Vatican\",\n\t\"Europe/Vienna\",\n\t\"Europe/Vilnius\",\n\t\"Europe/Volgograd\",\n\t\"Europe/Warsaw\",\n\t\"Europe/Zagreb\",\n\t\"Europe/Zaporozhye\",\n\t\"Europe/Zurich\",\n\t\"Indian/Antananarivo\",\n\t\"Indian/Chagos\",\n\t\"Indian/Christmas\",\n\t\"Indian/Cocos\",\n\t\"Indian/Comoro\",\n\t\"Indian/Kerguelen\",\n\t\"Indian/Mahe\",\n\t\"Indian/Maldives\",\n\t\"Indian/Mauritius\",\n\t\"Indian/Mayotte\",\n\t\"Indian/Reunion\",\n\t\"Pacific/Apia\",\n\t\"Pacific/Auckland\",\n\t\"Pacific/Bougainville\",\n\t\"Pacific/Chatham\",\n\t\"Pacific/Chuuk\",\n\t\"Pacific/Easter\",\n\t\"Pacific/Efate\",\n\t\"Pacific/Kanton\",\n\t\"Pacific/Fakaofo\",\n\t\"Pacific/Fiji\",\n\t\"Pacific/Funafuti\",\n\t\"Pacific/Galapagos\",\n\t\"Pacific/Gambier\",\n\t\"Pacific/Guadalcanal\",\n\t\"Pacific/Guam\",\n\t\"Pacific/Honolulu\",\n\t\"Pacific/Kiritimati\",\n\t\"Pacific/Kosrae\",\n\t\"Pacific/Kwajalein\",\n\t\"Pacific/Majuro\",\n\t\"Pacific/Marquesas\",\n\t\"Pacific/Midway\",\n\t\"Pacific/Nauru\",\n\t\"Pacific/Niue\",\n\t\"Pacific/Norfolk\",\n\t\"Pacific/Noumea\",\n\t\"Pacific/Pago_Pago\",\n\t\"Pacific/Palau\",\n\t\"Pacific/Pitcairn\",\n\t\"Pacific/Pohnpei\",\n\t\"Pacific/Port_Moresby\",\n\t\"Pacific/Rarotonga\",\n\t\"Pacific/Saipan\",\n\t\"Pacific/Tahiti\",\n\t\"Pacific/Tarawa\",\n\t\"Pacific/Tongatapu\",\n\t\"Pacific/Wake\",\n\t\"Pacific/Wallis\"\n];\n","import {createMemoizedDateTimeFormat} from '#packages/intl-supportedvaluesof/memoize.js'\nimport type {Timezone} from '@formatjs_generated/cldr.supported-values/timezones.js'\nimport {timezones} from '@formatjs_generated/cldr.supported-values/timezones.js'\n\n/**\n * Implementation: Tests if a timezone is supported by attempting to create\n * a DateTimeFormat with that timezone and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from IANA Time Zone Database\n */\nfunction isSupportedTimeZone(timeZone: Timezone): boolean {\n try {\n // Always use 'en' for testing\n const formatter = createMemoizedDateTimeFormat('en', {timeZone})\n return formatter.resolvedOptions().timeZone === timeZone\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported timezone identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedTimeZones(): Timezone[] {\n return timezones.filter(isSupportedTimeZone).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const units = [\n\t\"degree\",\n\t\"acre\",\n\t\"hectare\",\n\t\"percent\",\n\t\"bit\",\n\t\"byte\",\n\t\"gigabit\",\n\t\"gigabyte\",\n\t\"kilobit\",\n\t\"kilobyte\",\n\t\"megabit\",\n\t\"megabyte\",\n\t\"petabyte\",\n\t\"terabit\",\n\t\"terabyte\",\n\t\"day\",\n\t\"hour\",\n\t\"millisecond\",\n\t\"minute\",\n\t\"month\",\n\t\"second\",\n\t\"week\",\n\t\"year\",\n\t\"centimeter\",\n\t\"foot\",\n\t\"inch\",\n\t\"kilometer\",\n\t\"meter\",\n\t\"mile-scandinavian\",\n\t\"mile\",\n\t\"millimeter\",\n\t\"yard\",\n\t\"gram\",\n\t\"kilogram\",\n\t\"ounce\",\n\t\"pound\",\n\t\"stone\",\n\t\"celsius\",\n\t\"fahrenheit\",\n\t\"fluid-ounce\",\n\t\"gallon\",\n\t\"liter\",\n\t\"milliliter\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport type {Unit} from '@formatjs_generated/cldr.supported-values/units.js'\nimport {units} from '@formatjs_generated/cldr.supported-values/units.js'\n\n/**\n * Implementation: Tests if a unit is supported by attempting to create\n * a NumberFormat with that unit and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR unit types\n */\nfunction isSupportedUnit(unit: Unit): boolean {\n try {\n // Always use 'en' for testing\n const formatter = createMemoizedNumberFormat('en', {style: 'unit', unit})\n return formatter.resolvedOptions().unit === unit\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported unit identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedUnits(): (\n | 'degree'\n | 'acre'\n | 'hectare'\n | 'percent'\n | 'bit'\n | 'byte'\n | 'gigabit'\n | 'gigabyte'\n | 'kilobit'\n | 'kilobyte'\n | 'megabit'\n | 'megabyte'\n | 'petabyte'\n | 'terabit'\n | 'terabyte'\n | 'day'\n | 'hour'\n | 'millisecond'\n | 'minute'\n | 'month'\n | 'second'\n | 'week'\n | 'year'\n | 'centimeter'\n | 'foot'\n | 'inch'\n | 'kilometer'\n | 'meter'\n | 'mile-scandinavian'\n | 'mile'\n | 'millimeter'\n | 'yard'\n | 'gram'\n | 'kilogram'\n | 'ounce'\n | 'pound'\n | 'stone'\n | 'celsius'\n | 'fahrenheit'\n | 'fluid-ounce'\n | 'gallon'\n | 'liter'\n | 'milliliter'\n)[] {\n return units.filter(isSupportedUnit).sort()\n}\n","export function shouldPolyfill(): boolean {\n return typeof Intl === 'undefined' || !('supportedValuesOf' in Intl)\n}\n","import {getSupportedCalendars} from '#packages/intl-supportedvaluesof/get-supported-calendars.js'\nimport {getSupportedCollations} from '#packages/intl-supportedvaluesof/get-supported-collations.js'\nimport {getSupportedCurrencies} from '#packages/intl-supportedvaluesof/get-supported-currencies.js'\nimport {getSupportedNumberingSystems} from '#packages/intl-supportedvaluesof/get-supported-numbering-systems.js'\nimport {getSupportedTimeZones} from '#packages/intl-supportedvaluesof/get-supported-timezones.js'\nimport {getSupportedUnits} from '#packages/intl-supportedvaluesof/get-supported-units.js'\n\nexport type {Calendar} from '@formatjs_generated/cldr.supported-values/calendars.js'\nexport type {Collation} from '@formatjs_generated/cldr.supported-values/collations.js'\nexport type {Currency} from '@formatjs_generated/cldr.supported-values/currencies.js'\nexport type {Timezone} from '@formatjs_generated/cldr.supported-values/timezones.js'\nexport type {Unit} from '@formatjs_generated/cldr.supported-values/units.js'\n\nexport {shouldPolyfill} from '#packages/intl-supportedvaluesof/should-polyfill.js'\n\n/**\n * ECMA-402 Spec: Intl.supportedValuesOf\n * https://tc39.es/ecma402/#sec-intl.supportedvaluesof\n */\ndeclare global {\n namespace Intl {\n /**\n * Returns an array containing the supported values for the given key.\n * @param key - The category of values to return\n * @returns A sorted array of strings\n */\n function supportedValuesOf(\n key:\n | 'calendar'\n | 'collation'\n | 'currency'\n | 'numberingSystem'\n | 'timeZone'\n | 'unit'\n ): string[]\n }\n}\n\n/**\n * ECMA-402 Spec: Supported value categories\n */\nexport type SupportedValuesOf =\n | 'calendar'\n | 'collation'\n | 'currency'\n | 'numberingSystem'\n | 'timeZone'\n | 'unit'\n\n/**\n * ECMA-402 Spec: Intl.supportedValuesOf(key)\n * https://tc39.es/ecma402/#sec-intl.supportedvaluesof\n *\n * Returns an array containing the supported calendar, collation, currency,\n * numbering systems, time zone, or unit values supported by the implementation.\n *\n * Implementation: We validate candidate values from CLDR against the actual\n * Intl formatters to determine runtime support rather than using static lists.\n * This ensures accuracy across different JavaScript engines and runtimes.\n *\n * @param key - The category of values to return\n * @returns A sorted array of unique string values\n */\nexport function supportedValuesOf(key: SupportedValuesOf): string[] {\n // ECMA-402 Spec: Dispatch to appropriate getter based on key\n switch (key) {\n case 'calendar':\n return getSupportedCalendars()\n case 'collation':\n return getSupportedCollations()\n case 'currency':\n return getSupportedCurrencies()\n case 'numberingSystem':\n return getSupportedNumberingSystems()\n case 'timeZone':\n return getSupportedTimeZones()\n case 'unit':\n return getSupportedUnits()\n default:\n // ECMA-402 Spec: Throw RangeError for invalid keys\n throw RangeError('Invalid key: ' + key)\n }\n}\n"],"x_google_ignoreList":[1,3,6,8,10,12],"mappings":";;;;;;;;;;AAUA,MAAa,+BAEc,SACxB,GAAG,SACF,IAAI,KAAK,eAAe,GAAG,KAAK,EAClC,EACE,UAAU,WAAW,UACtB,CACF;;;AChBD,MAAa,YAAY;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACZD,SAAS,oBAAoB,MAAyB;CACpD,IAAI;EAMF,OAJuB,6BAA6B,WAAW,OACjC,CAAC,iBAAiB,CAAC,aAG9B;SACb;CAER,OAAO;;;;;;;;AAST,SAAgB,wBAAoC;CAClD,OAAO,UAAU,OAAO,oBAAoB,CAAC,MAAM;;;;AC5BrD,MAAa,aAAa;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACbD,SAAS,qBAAqB,WAA+B;CAC3D,IAAI;EAEF,OACE,KAAK,SAAS,WAAW,YAAY,CAAC,iBAAiB,CAAC,cACxD;SAEI;CAER,OAAO;;;;;;;;AAST,SAAgB,yBAAsC;CACpD,OAAO,WAAW,OAAO,qBAAqB,CAAC,MAAM;;;;AC4DvD,MAAa,6BAA6B,SAAS,GAAG,SAAS,IAAI,KAAK,aAAa,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AACxF,SAAS,GAAG,SAAS,IAAI,KAAK,YAAY,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AAC3F,SAAS,GAAG,SAAS,IAAI,KAAK,OAAO,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AAC7E,SAAS,GAAG,SAAS,IAAI,KAAK,WAAW,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;;;ACzF7H,MAAa,aAAa;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;AC5SD,SAAS,oBAAoB,UAA6B;CACxD,IAAI;EAQF,MAAM,SANe,2BAA2B,MAAM;GACpD,OAAO;GACP,iBAAiB;GACjB;GACD,CAE0B,CAAC,OAAO,IAAI;EAEvC,IACE,OAAO,UAAU,GAAG,EAAE,KAAK,YAC3B,OAAO,UAAU,OAAO,SAAS,EAAE,KAAK,UAExC,OAAO;SAEH;CAER,OAAO;;;;;;;;AAST,SAAgB,yBAAqC;CACnD,MAAM,OAAO;CACb,MAAM,sBAAkC,EAAE;CAE1C,KAAK,MAAM,YAAY,YACrB,IAAI,SAAS,WAAW;MAClB,oBAAoB,SAAS,EAC/B,oBAAoB,KAAK,SAAS;QAE/B,IAAI,SAAS,WAAW,KAAK,SAAS,OAAO,KAAK;EACvD,MAAM,QAAQ,KAAK,QAAQ,SAAS,GAAG;EACvC,MAAM,MAAM,KAAK,QAAQ,SAAS,GAAG;EAErC,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,KAAK;GACjC,MAAM,kBAAmB,SAAS,UAAU,GAAG,EAAE,GAAG,KAAK;GACzD,IAAI,oBAAoB,gBAAgB,EACtC,oBAAoB,KAAK,gBAAgB;;;CAMjD,OAAO,oBAAoB,MAAM;;;;AC5DnC,MAAa,uBAAuB;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACzFD,SAAS,2BAA2B,QAAyB;CAC3D,IAAI;EAEF,MAAM,eAAe,2BAA2B,WAAW,SAAS;EAGpE,IAFgB,aAAa,iBAAiB,CAAC,oBAGhC,UAAU,WAAW,UAClC,aAAa,OAAO,IAAI,KAAK,OAE7B,OAAO;SAEH;CAER,OAAO;;;;;;;;AAST,SAAgB,+BAAyC;CACvD,OAAO,qBAAqB,OAAO,2BAA2B,CAAC,MAAM;;;;AC/BvE,MAAa,YAAY;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACpaD,SAAS,oBAAoB,UAA6B;CACxD,IAAI;EAGF,OADkB,6BAA6B,MAAM,EAAC,UAAS,CAC/C,CAAC,iBAAiB,CAAC,aAAa;SAC1C;CAER,OAAO;;;;;;;;AAST,SAAgB,wBAAoC;CAClD,OAAO,UAAU,OAAO,oBAAoB,CAAC,MAAM;;;;ACzBrD,MAAa,QAAQ;CACpB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACpCD,SAAS,gBAAgB,MAAqB;CAC5C,IAAI;EAGF,OADkB,2BAA2B,MAAM;GAAC,OAAO;GAAQ;GAAK,CACxD,CAAC,iBAAiB,CAAC,SAAS;SACtC;CAER,OAAO;;;;;;;;AAST,SAAgB,oBA4CZ;CACF,OAAO,MAAM,OAAO,gBAAgB,CAAC,MAAM;;;;ACvE7C,SAAgB,iBAA0B;CACxC,OAAO,OAAO,SAAS,eAAe,EAAE,uBAAuB;;;;;;;;;;;;;;;;;;AC8DjE,SAAgB,kBAAkB,KAAkC;CAElE,QAAQ,KAAR;EACE,KAAK,YACH,OAAO,uBAAuB;EAChC,KAAK,aACH,OAAO,wBAAwB;EACjC,KAAK,YACH,OAAO,wBAAwB;EACjC,KAAK,mBACH,OAAO,8BAA8B;EACvC,KAAK,YACH,OAAO,uBAAuB;EAChC,KAAK,QACH,OAAO,mBAAmB;EAC5B,SAEE,MAAM,WAAW,kBAAkB,IAAI"}
|
package/package.json
CHANGED
package/polyfill-force.js
CHANGED
|
@@ -103,6 +103,23 @@ function getSupportedCollations() {
|
|
|
103
103
|
}
|
|
104
104
|
//#endregion
|
|
105
105
|
//#region packages/ecma402-abstract/utils.js
|
|
106
|
+
function defineProperty(target, name, { value }) {
|
|
107
|
+
Object.defineProperty(target, name, {
|
|
108
|
+
configurable: true,
|
|
109
|
+
enumerable: false,
|
|
110
|
+
writable: true,
|
|
111
|
+
value
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
function ensureIntl() {
|
|
115
|
+
if (typeof Intl === "undefined") Object.defineProperty(globalThis, "Intl", {
|
|
116
|
+
configurable: true,
|
|
117
|
+
enumerable: false,
|
|
118
|
+
writable: true,
|
|
119
|
+
value: {}
|
|
120
|
+
});
|
|
121
|
+
return Intl;
|
|
122
|
+
}
|
|
106
123
|
const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });
|
|
107
124
|
memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
|
|
108
125
|
memoize((...args) => new Intl.Locale(...args), { strategy: strategies.variadic });
|
|
@@ -1139,12 +1156,7 @@ function supportedValuesOf(key) {
|
|
|
1139
1156
|
}
|
|
1140
1157
|
//#endregion
|
|
1141
1158
|
//#region packages/intl-supportedvaluesof/polyfill-force.ts
|
|
1142
|
-
|
|
1143
|
-
value: supportedValuesOf,
|
|
1144
|
-
enumerable: true,
|
|
1145
|
-
writable: false,
|
|
1146
|
-
configurable: false
|
|
1147
|
-
});
|
|
1159
|
+
defineProperty(ensureIntl(), "supportedValuesOf", { value: supportedValuesOf });
|
|
1148
1160
|
//#endregion
|
|
1149
1161
|
|
|
1150
1162
|
//# sourceMappingURL=polyfill-force.js.map
|
package/polyfill-force.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"polyfill-force.js","names":[],"sources":["../memoize.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/calendars.js","../get-supported-calendars.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/collations.js","../get-supported-collations.ts","../../ecma402-abstract/utils.js","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/currencies.js","../get-supported-currencies.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.number@0.0.0/node_modules/@formatjs_generated/cldr.number/numbering-systems.js","../get-supported-numbering-systems.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/timezones.js","../get-supported-timezones.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/units.js","../get-supported-units.ts","../index.ts","../polyfill-force.ts"],"sourcesContent":["import {memoize, strategies} from '@formatjs/fast-memoize'\n\n/**\n * Implementation: Memoized factory for Intl.DateTimeFormat instances\n *\n * Creates and caches DateTimeFormat instances to avoid repeated instantiation overhead.\n * This is critical for performance since we test many candidate values against formatters.\n *\n * Uses variadic memoization strategy to handle varying numbers of constructor arguments.\n */\nexport const createMemoizedDateTimeFormat: (\n ...args: ConstructorParameters<typeof Intl.DateTimeFormat>\n) => Intl.DateTimeFormat = memoize(\n (...args: ConstructorParameters<typeof Intl.DateTimeFormat>) =>\n new Intl.DateTimeFormat(...args),\n {\n strategy: strategies.variadic,\n }\n)\n","/* @generated */\n// prettier-ignore\nexport const calendars = [\n\t\"buddhist\",\n\t\"chinese\",\n\t\"coptic\",\n\t\"dangi\",\n\t\"ethioaa\",\n\t\"ethiopic\",\n\t\"gregory\",\n\t\"hebrew\",\n\t\"indian\",\n\t\"islamic\",\n\t\"islamic-civil\",\n\t\"islamic-rgsa\",\n\t\"islamic-tbla\",\n\t\"islamic-umalqura\",\n\t\"islamicc\",\n\t\"iso8601\",\n\t\"japanese\",\n\t\"persian\",\n\t\"roc\"\n];\n","import {createMemoizedDateTimeFormat} from '#packages/intl-supportedvaluesof/memoize.js'\nimport type {Calendar} from '@formatjs_generated/cldr.supported-values/calendars.js'\nimport {calendars} from '@formatjs_generated/cldr.supported-values/calendars.js'\n\n/**\n * Implementation: Tests if a calendar is supported by attempting to create\n * a DateTimeFormat with that calendar and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR calendar types\n */\nfunction isSupportedCalendar(item: Calendar): boolean {\n try {\n // Always use 'en' for testing\n const dateTimeFormat = createMemoizedDateTimeFormat(`en-u-ca-${item}`)\n const options = dateTimeFormat.resolvedOptions().calendar\n\n // Verify the calendar was actually accepted (resolved calendar matches requested)\n return options === item\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported calendar identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCalendars(): Calendar[] {\n return calendars.filter(isSupportedCalendar).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const collations = [\n\t\"big5han\",\n\t\"compat\",\n\t\"dict\",\n\t\"direct\",\n\t\"ducet\",\n\t\"emoji\",\n\t\"eor\",\n\t\"gb2312\",\n\t\"phonebk\",\n\t\"phonetic\",\n\t\"pinyin\",\n\t\"reformed\",\n\t\"search\",\n\t\"searchjl\",\n\t\"standard\",\n\t\"stroke\",\n\t\"trad\",\n\t\"unihan\",\n\t\"zhuyin\"\n];\n","import type {Collation} from '@formatjs_generated/cldr.supported-values/collations.js'\nimport {collations} from '@formatjs_generated/cldr.supported-values/collations.js'\n\n/**\n * Implementation: Tests if a collation is supported by attempting to create\n * a Collator with that collation and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR collation types\n */\nfunction isSupportedCollation(collation: Collation): boolean {\n try {\n // Always use 'en' for testing\n return (\n Intl.Collator(`en-u-co-${collation}`).resolvedOptions().collation ===\n collation\n )\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported collation identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCollations(): Collation[] {\n return collations.filter(isSupportedCollation).sort()\n}\n","import { memoize, strategies } from \"@formatjs/fast-memoize\";\nexport function repeat(s, times) {\n\tif (typeof s.repeat === \"function\") {\n\t\treturn s.repeat(times);\n\t}\n\tconst arr = Array.from({ length: times });\n\tfor (let i = 0; i < arr.length; i++) {\n\t\tarr[i] = s;\n\t}\n\treturn arr.join(\"\");\n}\nexport function setInternalSlot(map, pl, field, value) {\n\tif (!map.get(pl)) {\n\t\tmap.set(pl, Object.create(null));\n\t}\n\tconst slots = map.get(pl);\n\tslots[field] = value;\n}\nexport function setMultiInternalSlots(map, pl, props) {\n\tfor (const k of Object.keys(props)) {\n\t\tsetInternalSlot(map, pl, k, props[k]);\n\t}\n}\nexport function getInternalSlot(map, pl, field) {\n\treturn getMultiInternalSlots(map, pl, field)[field];\n}\nexport function getMultiInternalSlots(map, pl, ...fields) {\n\tconst slots = map.get(pl);\n\tif (!slots) {\n\t\tthrow new TypeError(`${pl} InternalSlot has not been initialized`);\n\t}\n\treturn fields.reduce((all, f) => {\n\t\tall[f] = slots[f];\n\t\treturn all;\n\t}, Object.create(null));\n}\nexport function isLiteralPart(patternPart) {\n\treturn patternPart.type === \"literal\";\n}\n/*\n17 ECMAScript Standard Built-in Objects:\nEvery built-in Function object, including constructors, that is not\nidentified as an anonymous function has a name property whose value\nis a String.\n\nUnless otherwise specified, the name property of a built-in Function\nobject, if it exists, has the attributes { [[Writable]]: false,\n[[Enumerable]]: false, [[Configurable]]: true }.\n*/\nexport function defineProperty(target, name, { value }) {\n\tObject.defineProperty(target, name, {\n\t\tconfigurable: true,\n\t\tenumerable: false,\n\t\twritable: true,\n\t\tvalue\n\t});\n}\n/**\n* 7.3.5 CreateDataProperty\n* @param target\n* @param name\n* @param value\n*/\nexport function createDataProperty(target, name, value) {\n\tObject.defineProperty(target, name, {\n\t\tconfigurable: true,\n\t\tenumerable: true,\n\t\twritable: true,\n\t\tvalue\n\t});\n}\nexport const UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;\nexport function invariant(condition, message, Err = Error) {\n\tif (!condition) {\n\t\tthrow new Err(message);\n\t}\n}\nexport const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });\nexport const createMemoizedPluralRules = memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });\nexport const createMemoizedLocale = memoize((...args) => new Intl.Locale(...args), { strategy: strategies.variadic });\nexport const createMemoizedListFormat = memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });\n","/* @generated */\n// prettier-ignore\nexport const currencies = [\n\t\"ADP\",\n\t\"AED\",\n\t\"AFA\",\n\t\"AFN\",\n\t\"ALK\",\n\t\"ALL\",\n\t\"AMD\",\n\t\"ANG\",\n\t\"AOA\",\n\t\"AOK\",\n\t\"AON\",\n\t\"AOR\",\n\t\"ARA\",\n\t\"ARL\",\n\t\"ARM\",\n\t\"ARP\",\n\t\"ARS\",\n\t\"ATS\",\n\t\"AUD\",\n\t\"AWG\",\n\t\"AZM\",\n\t\"AZN\",\n\t\"BAD\",\n\t\"BAM\",\n\t\"BAN\",\n\t\"BBD\",\n\t\"BDT\",\n\t\"BEC\",\n\t\"BEF\",\n\t\"BEL\",\n\t\"BGL\",\n\t\"BGM\",\n\t\"BGN\",\n\t\"BGO\",\n\t\"BHD\",\n\t\"BIF\",\n\t\"BMD\",\n\t\"BND\",\n\t\"BOB\",\n\t\"BOL\",\n\t\"BOP\",\n\t\"BOV\",\n\t\"BRB\",\n\t\"BRC\",\n\t\"BRE\",\n\t\"BRL\",\n\t\"BRN\",\n\t\"BRR\",\n\t\"BRZ\",\n\t\"BSD\",\n\t\"BTN\",\n\t\"BUK\",\n\t\"BWP\",\n\t\"BYB\",\n\t\"BYN\",\n\t\"BYR\",\n\t\"BZD\",\n\t\"CAD\",\n\t\"CDF\",\n\t\"CHE\",\n\t\"CHF\",\n\t\"CHW\",\n\t\"CLE\",\n\t\"CLF\",\n\t\"CLP\",\n\t\"CNH\",\n\t\"CNX\",\n\t\"CNY\",\n\t\"COP\",\n\t\"COU\",\n\t\"CRC\",\n\t\"CSD\",\n\t\"CSK\",\n\t\"CUC\",\n\t\"CUP\",\n\t\"CVE\",\n\t\"CYP\",\n\t\"CZK\",\n\t\"DDM\",\n\t\"DEM\",\n\t\"DJF\",\n\t\"DKK\",\n\t\"DOP\",\n\t\"DZD\",\n\t\"ECS\",\n\t\"ECV\",\n\t\"EEK\",\n\t\"EGP\",\n\t\"ERN\",\n\t\"ESA\",\n\t\"ESB\",\n\t\"ESP\",\n\t\"ETB\",\n\t\"EUR\",\n\t\"FIM\",\n\t\"FJD\",\n\t\"FKP\",\n\t\"FRF\",\n\t\"GBP\",\n\t\"GEK\",\n\t\"GEL\",\n\t\"GHC\",\n\t\"GHS\",\n\t\"GIP\",\n\t\"GMD\",\n\t\"GNF\",\n\t\"GNS\",\n\t\"GQE\",\n\t\"GRD\",\n\t\"GTQ\",\n\t\"GWE\",\n\t\"GWP\",\n\t\"GYD\",\n\t\"HKD\",\n\t\"HNL\",\n\t\"HRD\",\n\t\"HRK\",\n\t\"HTG\",\n\t\"HUF\",\n\t\"IDR\",\n\t\"IEP\",\n\t\"ILP\",\n\t\"ILR\",\n\t\"ILS\",\n\t\"INR\",\n\t\"IQD\",\n\t\"IRR\",\n\t\"ISJ\",\n\t\"ISK\",\n\t\"ITL\",\n\t\"JMD\",\n\t\"JOD\",\n\t\"JPY\",\n\t\"KES\",\n\t\"KGS\",\n\t\"KHR\",\n\t\"KMF\",\n\t\"KPW\",\n\t\"KRH\",\n\t\"KRO\",\n\t\"KRW\",\n\t\"KWD\",\n\t\"KYD\",\n\t\"KZT\",\n\t\"LAK\",\n\t\"LBP\",\n\t\"LKR\",\n\t\"LRD\",\n\t\"LSL\",\n\t\"LTL\",\n\t\"LTT\",\n\t\"LUC\",\n\t\"LUF\",\n\t\"LUL\",\n\t\"LVL\",\n\t\"LVR\",\n\t\"LYD\",\n\t\"MAD\",\n\t\"MAF\",\n\t\"MCF\",\n\t\"MDC\",\n\t\"MDL\",\n\t\"MGA\",\n\t\"MGF\",\n\t\"MKD\",\n\t\"MKN\",\n\t\"MLF\",\n\t\"MMK\",\n\t\"MNT\",\n\t\"MOP\",\n\t\"MRO\",\n\t\"MRU\",\n\t\"MTL\",\n\t\"MTP\",\n\t\"MUR\",\n\t\"MVP\",\n\t\"MVR\",\n\t\"MWK\",\n\t\"MXN\",\n\t\"MXP\",\n\t\"MXV\",\n\t\"MYR\",\n\t\"MZE\",\n\t\"MZM\",\n\t\"MZN\",\n\t\"NAD\",\n\t\"NGN\",\n\t\"NIC\",\n\t\"NIO\",\n\t\"NLG\",\n\t\"NOK\",\n\t\"NPR\",\n\t\"NZD\",\n\t\"OMR\",\n\t\"PAB\",\n\t\"PEI\",\n\t\"PEN\",\n\t\"PES\",\n\t\"PGK\",\n\t\"PHP\",\n\t\"PKR\",\n\t\"PLN\",\n\t\"PLZ\",\n\t\"PTE\",\n\t\"PYG\",\n\t\"QAR\",\n\t\"RHD\",\n\t\"ROL\",\n\t\"RON\",\n\t\"RSD\",\n\t\"RUB\",\n\t\"RUR\",\n\t\"RWF\",\n\t\"SAR\",\n\t\"SBD\",\n\t\"SCR\",\n\t\"SDD\",\n\t\"SDG\",\n\t\"SDP\",\n\t\"SEK\",\n\t\"SGD\",\n\t\"SHP\",\n\t\"SIT\",\n\t\"SKK\",\n\t\"SLE\",\n\t\"SLL\",\n\t\"SOS\",\n\t\"SRD\",\n\t\"SRG\",\n\t\"SSP\",\n\t\"STD\",\n\t\"STN\",\n\t\"SUR\",\n\t\"SVC\",\n\t\"SYP\",\n\t\"SZL\",\n\t\"THB\",\n\t\"TJR\",\n\t\"TJS\",\n\t\"TMM\",\n\t\"TMT\",\n\t\"TND\",\n\t\"TOP\",\n\t\"TPE\",\n\t\"TRL\",\n\t\"TRY\",\n\t\"TTD\",\n\t\"TWD\",\n\t\"TZS\",\n\t\"UAH\",\n\t\"UAK\",\n\t\"UGS\",\n\t\"UGX\",\n\t\"USD\",\n\t\"USN\",\n\t\"USS\",\n\t\"UYI\",\n\t\"UYP\",\n\t\"UYU\",\n\t\"UYW\",\n\t\"UZS\",\n\t\"VEB\",\n\t\"VED\",\n\t\"VEF\",\n\t\"VES\",\n\t\"VND\",\n\t\"VNN\",\n\t\"VUV\",\n\t\"WST\",\n\t\"XAF\",\n\t\"XAG\",\n\t\"XAU\",\n\t\"XBA\",\n\t\"XBB\",\n\t\"XBC\",\n\t\"XBD\",\n\t\"XCD\",\n\t\"XCG\",\n\t\"XDR\",\n\t\"XEU\",\n\t\"XFO\",\n\t\"XFU\",\n\t\"XOF\",\n\t\"XPD\",\n\t\"XPF\",\n\t\"XPT\",\n\t\"XRE\",\n\t\"XSU\",\n\t\"XTS\",\n\t\"XUA\",\n\t\"XXX\",\n\t\"YDD\",\n\t\"YER\",\n\t\"YUD\",\n\t\"YUM\",\n\t\"YUN\",\n\t\"YUR\",\n\t\"ZAL\",\n\t\"ZAR\",\n\t\"ZMK\",\n\t\"ZMW\",\n\t\"ZRN\",\n\t\"ZRZ\",\n\t\"ZWD\",\n\t\"ZWG\",\n\t\"ZWL\",\n\t\"ZWR\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport type {Currency} from '@formatjs_generated/cldr.supported-values/currencies.js'\nimport {currencies} from '@formatjs_generated/cldr.supported-values/currencies.js'\n\n/**\n * Implementation: Tests if a currency is supported by attempting to create\n * a NumberFormat with that currency and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR currency codes (ISO 4217)\n */\nfunction isSupportedCurrency(currency: Currency): boolean {\n try {\n // Always use 'en' for testing\n const numberFormat = createMemoizedNumberFormat('en', {\n style: 'currency',\n currencyDisplay: 'name',\n currency,\n })\n\n const format = numberFormat.format(123)\n\n if (\n format.substring(0, 3) !== currency &&\n format.substring(format.length - 3) !== currency\n ) {\n return true\n }\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported currency identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCurrencies(): Currency[] {\n const ATOZ = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n const supportedCurrencies: Currency[] = []\n\n for (const currency of currencies) {\n if (currency.length === 3) {\n if (isSupportedCurrency(currency)) {\n supportedCurrencies.push(currency)\n }\n } else if (currency.length === 5 && currency[3] === '~') {\n const start = ATOZ.indexOf(currency[2])\n const end = ATOZ.indexOf(currency[4])\n\n for (let i = start; i <= end; i++) {\n const currentCurrency = (currency.substring(0, 2) + ATOZ[i]) as Currency\n if (isSupportedCurrency(currentCurrency)) {\n supportedCurrencies.push(currentCurrency)\n }\n }\n }\n }\n\n return supportedCurrencies.sort()\n}\n","export const numberingSystemNames = [\n\t\"adlm\",\n\t\"ahom\",\n\t\"arab\",\n\t\"arabext\",\n\t\"armn\",\n\t\"armnlow\",\n\t\"bali\",\n\t\"beng\",\n\t\"bhks\",\n\t\"brah\",\n\t\"cakm\",\n\t\"cham\",\n\t\"cyrl\",\n\t\"deva\",\n\t\"diak\",\n\t\"ethi\",\n\t\"fullwide\",\n\t\"gara\",\n\t\"geor\",\n\t\"gong\",\n\t\"gonm\",\n\t\"grek\",\n\t\"greklow\",\n\t\"gujr\",\n\t\"gukh\",\n\t\"guru\",\n\t\"hanidays\",\n\t\"hanidec\",\n\t\"hans\",\n\t\"hansfin\",\n\t\"hant\",\n\t\"hantfin\",\n\t\"hebr\",\n\t\"hmng\",\n\t\"hmnp\",\n\t\"java\",\n\t\"jpan\",\n\t\"jpanfin\",\n\t\"jpanyear\",\n\t\"kali\",\n\t\"kawi\",\n\t\"khmr\",\n\t\"knda\",\n\t\"krai\",\n\t\"lana\",\n\t\"lanatham\",\n\t\"laoo\",\n\t\"latn\",\n\t\"lepc\",\n\t\"limb\",\n\t\"mathbold\",\n\t\"mathdbl\",\n\t\"mathmono\",\n\t\"mathsanb\",\n\t\"mathsans\",\n\t\"mlym\",\n\t\"modi\",\n\t\"mong\",\n\t\"mroo\",\n\t\"mtei\",\n\t\"mymr\",\n\t\"mymrepka\",\n\t\"mymrpao\",\n\t\"mymrshan\",\n\t\"mymrtlng\",\n\t\"nagm\",\n\t\"newa\",\n\t\"nkoo\",\n\t\"olck\",\n\t\"onao\",\n\t\"orya\",\n\t\"osma\",\n\t\"outlined\",\n\t\"rohg\",\n\t\"roman\",\n\t\"romanlow\",\n\t\"saur\",\n\t\"segment\",\n\t\"shrd\",\n\t\"sind\",\n\t\"sinh\",\n\t\"sora\",\n\t\"sund\",\n\t\"sunu\",\n\t\"takr\",\n\t\"talu\",\n\t\"taml\",\n\t\"tamldec\",\n\t\"telu\",\n\t\"thai\",\n\t\"tibt\",\n\t\"tirh\",\n\t\"tnsa\",\n\t\"tols\",\n\t\"vaii\",\n\t\"wara\",\n\t\"wcho\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport {numberingSystemNames} from '@formatjs_generated/cldr.number/numbering-systems.js'\n\n/**\n * Implementation: Tests if a numbering system is supported by attempting to create\n * a NumberFormat with that numbering system and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR numbering system types\n */\nfunction isSupportedNumberingSystem(system: string): boolean {\n try {\n // Always use 'en' for testing\n const numberFormat = createMemoizedNumberFormat(`en-u-nu-${system}`)\n const options = numberFormat.resolvedOptions().numberingSystem\n\n if (\n (options === system && system === 'latn') ||\n numberFormat.format(123) !== '123'\n ) {\n return true\n }\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported numbering system identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedNumberingSystems(): string[] {\n return numberingSystemNames.filter(isSupportedNumberingSystem).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const timezones = [\n\t\"Africa/Abidjan\",\n\t\"Africa/Accra\",\n\t\"Africa/Addis_Ababa\",\n\t\"Africa/Algiers\",\n\t\"Africa/Asmara\",\n\t\"Africa/Bamako\",\n\t\"Africa/Bangui\",\n\t\"Africa/Banjul\",\n\t\"Africa/Bissau\",\n\t\"Africa/Blantyre\",\n\t\"Africa/Brazzaville\",\n\t\"Africa/Bujumbura\",\n\t\"Africa/Cairo\",\n\t\"Africa/Casablanca\",\n\t\"Africa/Ceuta\",\n\t\"Africa/Conakry\",\n\t\"Africa/Dakar\",\n\t\"Africa/Dar_es_Salaam\",\n\t\"Africa/Djibouti\",\n\t\"Africa/Douala\",\n\t\"Africa/El_Aaiun\",\n\t\"Africa/Freetown\",\n\t\"Africa/Gaborone\",\n\t\"Africa/Harare\",\n\t\"Africa/Johannesburg\",\n\t\"Africa/Juba\",\n\t\"Africa/Kampala\",\n\t\"Africa/Khartoum\",\n\t\"Africa/Kigali\",\n\t\"Africa/Kinshasa\",\n\t\"Africa/Lagos\",\n\t\"Africa/Libreville\",\n\t\"Africa/Lome\",\n\t\"Africa/Luanda\",\n\t\"Africa/Lubumbashi\",\n\t\"Africa/Lusaka\",\n\t\"Africa/Malabo\",\n\t\"Africa/Maputo\",\n\t\"Africa/Maseru\",\n\t\"Africa/Mbabane\",\n\t\"Africa/Mogadishu\",\n\t\"Africa/Monrovia\",\n\t\"Africa/Nairobi\",\n\t\"Africa/Ndjamena\",\n\t\"Africa/Niamey\",\n\t\"Africa/Nouakchott\",\n\t\"Africa/Ouagadougou\",\n\t\"Africa/Porto-Novo\",\n\t\"Africa/Sao_Tome\",\n\t\"Africa/Tripoli\",\n\t\"Africa/Tunis\",\n\t\"Africa/Windhoek\",\n\t\"America/Adak\",\n\t\"America/Anchorage\",\n\t\"America/Anguilla\",\n\t\"America/Antigua\",\n\t\"America/Araguaina\",\n\t\"America/Argentina/Buenos_Aires\",\n\t\"America/Argentina/Catamarca\",\n\t\"America/Argentina/Cordoba\",\n\t\"America/Argentina/Jujuy\",\n\t\"America/Argentina/La_Rioja\",\n\t\"America/Argentina/Mendoza\",\n\t\"America/Argentina/Rio_Gallegos\",\n\t\"America/Argentina/Salta\",\n\t\"America/Argentina/San_Juan\",\n\t\"America/Argentina/San_Luis\",\n\t\"America/Argentina/Tucuman\",\n\t\"America/Argentina/Ushuaia\",\n\t\"America/Aruba\",\n\t\"America/Asuncion\",\n\t\"America/Atikokan\",\n\t\"America/Bahia_Banderas\",\n\t\"America/Bahia\",\n\t\"America/Barbados\",\n\t\"America/Belem\",\n\t\"America/Belize\",\n\t\"America/Blanc-Sablon\",\n\t\"America/Boa_Vista\",\n\t\"America/Bogota\",\n\t\"America/Boise\",\n\t\"America/Cambridge_Bay\",\n\t\"America/Campo_Grande\",\n\t\"America/Cancun\",\n\t\"America/Caracas\",\n\t\"America/Cayenne\",\n\t\"America/Cayman\",\n\t\"America/Chicago\",\n\t\"America/Chihuahua\",\n\t\"America/Ciudad_Juarez\",\n\t\"America/Costa_Rica\",\n\t\"America/Coyhaique\",\n\t\"America/Creston\",\n\t\"America/Cuiaba\",\n\t\"America/Curacao\",\n\t\"America/Danmarkshavn\",\n\t\"America/Dawson_Creek\",\n\t\"America/Dawson\",\n\t\"America/Denver\",\n\t\"America/Detroit\",\n\t\"America/Dominica\",\n\t\"America/Edmonton\",\n\t\"America/Eirunepe\",\n\t\"America/El_Salvador\",\n\t\"America/Fort_Nelson\",\n\t\"America/Fortaleza\",\n\t\"America/Glace_Bay\",\n\t\"America/Goose_Bay\",\n\t\"America/Grand_Turk\",\n\t\"America/Grenada\",\n\t\"America/Guadeloupe\",\n\t\"America/Guatemala\",\n\t\"America/Guayaquil\",\n\t\"America/Guyana\",\n\t\"America/Halifax\",\n\t\"America/Havana\",\n\t\"America/Hermosillo\",\n\t\"America/Indiana/Indianapolis\",\n\t\"America/Indiana/Knox\",\n\t\"America/Indiana/Marengo\",\n\t\"America/Indiana/Petersburg\",\n\t\"America/Indiana/Tell_City\",\n\t\"America/Indiana/Vevay\",\n\t\"America/Indiana/Vincennes\",\n\t\"America/Indiana/Winamac\",\n\t\"America/Inuvik\",\n\t\"America/Iqaluit\",\n\t\"America/Jamaica\",\n\t\"America/Juneau\",\n\t\"America/Kentucky/Louisville\",\n\t\"America/Kentucky/Monticello\",\n\t\"America/Kralendijk\",\n\t\"America/La_Paz\",\n\t\"America/Lima\",\n\t\"America/Los_Angeles\",\n\t\"America/Lower_Princes\",\n\t\"America/Maceio\",\n\t\"America/Managua\",\n\t\"America/Manaus\",\n\t\"America/Marigot\",\n\t\"America/Martinique\",\n\t\"America/Matamoros\",\n\t\"America/Mazatlan\",\n\t\"America/Menominee\",\n\t\"America/Merida\",\n\t\"America/Metlakatla\",\n\t\"America/Mexico_City\",\n\t\"America/Miquelon\",\n\t\"America/Moncton\",\n\t\"America/Monterrey\",\n\t\"America/Montevideo\",\n\t\"America/Montserrat\",\n\t\"America/Nassau\",\n\t\"America/New_York\",\n\t\"America/Nipigon\",\n\t\"America/Nome\",\n\t\"America/Noronha\",\n\t\"America/North_Dakota/Beulah\",\n\t\"America/North_Dakota/Center\",\n\t\"America/North_Dakota/New_Salem\",\n\t\"America/Nuuk\",\n\t\"America/Ojinaga\",\n\t\"America/Panama\",\n\t\"America/Pangnirtung\",\n\t\"America/Paramaribo\",\n\t\"America/Phoenix\",\n\t\"America/Port_of_Spain\",\n\t\"America/Port-au-Prince\",\n\t\"America/Porto_Velho\",\n\t\"America/Puerto_Rico\",\n\t\"America/Punta_Arenas\",\n\t\"America/Rainy_River\",\n\t\"America/Rankin_Inlet\",\n\t\"America/Recife\",\n\t\"America/Regina\",\n\t\"America/Resolute\",\n\t\"America/Rio_Branco\",\n\t\"America/Santarem\",\n\t\"America/Santiago\",\n\t\"America/Santo_Domingo\",\n\t\"America/Sao_Paulo\",\n\t\"America/Scoresbysund\",\n\t\"America/Sitka\",\n\t\"America/St_Barthelemy\",\n\t\"America/St_Johns\",\n\t\"America/St_Kitts\",\n\t\"America/St_Lucia\",\n\t\"America/St_Thomas\",\n\t\"America/St_Vincent\",\n\t\"America/Swift_Current\",\n\t\"America/Tegucigalpa\",\n\t\"America/Thule\",\n\t\"America/Thunder_Bay\",\n\t\"America/Tijuana\",\n\t\"America/Toronto\",\n\t\"America/Tortola\",\n\t\"America/Vancouver\",\n\t\"America/Whitehorse\",\n\t\"America/Winnipeg\",\n\t\"America/Yakutat\",\n\t\"America/Yellowknife\",\n\t\"Antarctica/Casey\",\n\t\"Antarctica/Davis\",\n\t\"Antarctica/DumontDUrville\",\n\t\"Antarctica/Macquarie\",\n\t\"Antarctica/Mawson\",\n\t\"Antarctica/McMurdo\",\n\t\"Antarctica/Palmer\",\n\t\"Antarctica/Rothera\",\n\t\"Antarctica/Syowa\",\n\t\"Antarctica/Troll\",\n\t\"Antarctica/Vostok\",\n\t\"Arctic/Longyearbyen\",\n\t\"Asia/Aden\",\n\t\"Asia/Almaty\",\n\t\"Asia/Amman\",\n\t\"Asia/Anadyr\",\n\t\"Asia/Aqtau\",\n\t\"Asia/Aqtobe\",\n\t\"Asia/Ashgabat\",\n\t\"Asia/Atyrau\",\n\t\"Asia/Baghdad\",\n\t\"Asia/Bahrain\",\n\t\"Asia/Baku\",\n\t\"Asia/Bangkok\",\n\t\"Asia/Barnaul\",\n\t\"Asia/Beirut\",\n\t\"Asia/Bishkek\",\n\t\"Asia/Brunei\",\n\t\"Asia/Chita\",\n\t\"Asia/Choibalsan\",\n\t\"Asia/Colombo\",\n\t\"Asia/Damascus\",\n\t\"Asia/Dhaka\",\n\t\"Asia/Dili\",\n\t\"Asia/Dubai\",\n\t\"Asia/Dushanbe\",\n\t\"Asia/Famagusta\",\n\t\"Asia/Gaza\",\n\t\"Asia/Hebron\",\n\t\"Asia/Ho_Chi_Minh\",\n\t\"Asia/Hong_Kong\",\n\t\"Asia/Hovd\",\n\t\"Asia/Irkutsk\",\n\t\"Asia/Jakarta\",\n\t\"Asia/Jayapura\",\n\t\"Asia/Jerusalem\",\n\t\"Asia/Kabul\",\n\t\"Asia/Kamchatka\",\n\t\"Asia/Karachi\",\n\t\"Asia/Kathmandu\",\n\t\"Asia/Khandyga\",\n\t\"Asia/Kolkata\",\n\t\"Asia/Krasnoyarsk\",\n\t\"Asia/Kuala_Lumpur\",\n\t\"Asia/Kuching\",\n\t\"Asia/Kuwait\",\n\t\"Asia/Macau\",\n\t\"Asia/Magadan\",\n\t\"Asia/Makassar\",\n\t\"Asia/Manila\",\n\t\"Asia/Muscat\",\n\t\"Asia/Nicosia\",\n\t\"Asia/Novokuznetsk\",\n\t\"Asia/Novosibirsk\",\n\t\"Asia/Omsk\",\n\t\"Asia/Oral\",\n\t\"Asia/Phnom_Penh\",\n\t\"Asia/Pontianak\",\n\t\"Asia/Pyongyang\",\n\t\"Asia/Qatar\",\n\t\"Asia/Qostanay\",\n\t\"Asia/Qyzylorda\",\n\t\"Asia/Riyadh\",\n\t\"Asia/Sakhalin\",\n\t\"Asia/Samarkand\",\n\t\"Asia/Seoul\",\n\t\"Asia/Shanghai\",\n\t\"Asia/Singapore\",\n\t\"Asia/Srednekolymsk\",\n\t\"Asia/Taipei\",\n\t\"Asia/Tashkent\",\n\t\"Asia/Tbilisi\",\n\t\"Asia/Tehran\",\n\t\"Asia/Thimphu\",\n\t\"Asia/Tokyo\",\n\t\"Asia/Tomsk\",\n\t\"Asia/Ulaanbaatar\",\n\t\"Asia/Urumqi\",\n\t\"Asia/Ust-Nera\",\n\t\"Asia/Vientiane\",\n\t\"Asia/Vladivostok\",\n\t\"Asia/Yakutsk\",\n\t\"Asia/Yangon\",\n\t\"Asia/Yekaterinburg\",\n\t\"Asia/Yerevan\",\n\t\"Atlantic/Azores\",\n\t\"Atlantic/Bermuda\",\n\t\"Atlantic/Canary\",\n\t\"Atlantic/Cape_Verde\",\n\t\"Atlantic/Faroe\",\n\t\"Atlantic/Madeira\",\n\t\"Atlantic/Reykjavik\",\n\t\"Atlantic/South_Georgia\",\n\t\"Atlantic/St_Helena\",\n\t\"Atlantic/Stanley\",\n\t\"Australia/Adelaide\",\n\t\"Australia/Brisbane\",\n\t\"Australia/Broken_Hill\",\n\t\"Australia/Currie\",\n\t\"Australia/Darwin\",\n\t\"Australia/Eucla\",\n\t\"Australia/Hobart\",\n\t\"Australia/Lindeman\",\n\t\"Australia/Lord_Howe\",\n\t\"Australia/Melbourne\",\n\t\"Australia/Perth\",\n\t\"Australia/Sydney\",\n\t\"Europe/Amsterdam\",\n\t\"Europe/Andorra\",\n\t\"Europe/Astrakhan\",\n\t\"Europe/Athens\",\n\t\"Europe/Belgrade\",\n\t\"Europe/Berlin\",\n\t\"Europe/Bratislava\",\n\t\"Europe/Brussels\",\n\t\"Europe/Bucharest\",\n\t\"Europe/Budapest\",\n\t\"Europe/Busingen\",\n\t\"Europe/Chisinau\",\n\t\"Europe/Copenhagen\",\n\t\"Europe/Dublin\",\n\t\"Europe/Gibraltar\",\n\t\"Europe/Guernsey\",\n\t\"Europe/Helsinki\",\n\t\"Europe/Isle_of_Man\",\n\t\"Europe/Istanbul\",\n\t\"Europe/Jersey\",\n\t\"Europe/Kaliningrad\",\n\t\"Europe/Kyiv\",\n\t\"Europe/Kirov\",\n\t\"Europe/Lisbon\",\n\t\"Europe/Ljubljana\",\n\t\"Europe/London\",\n\t\"Europe/Luxembourg\",\n\t\"Europe/Madrid\",\n\t\"Europe/Malta\",\n\t\"Europe/Mariehamn\",\n\t\"Europe/Minsk\",\n\t\"Europe/Monaco\",\n\t\"Europe/Moscow\",\n\t\"Europe/Oslo\",\n\t\"Europe/Paris\",\n\t\"Europe/Podgorica\",\n\t\"Europe/Prague\",\n\t\"Europe/Riga\",\n\t\"Europe/Rome\",\n\t\"Europe/Samara\",\n\t\"Europe/San_Marino\",\n\t\"Europe/Sarajevo\",\n\t\"Europe/Saratov\",\n\t\"Europe/Simferopol\",\n\t\"Europe/Skopje\",\n\t\"Europe/Sofia\",\n\t\"Europe/Stockholm\",\n\t\"Europe/Tallinn\",\n\t\"Europe/Tirane\",\n\t\"Europe/Ulyanovsk\",\n\t\"Europe/Uzhgorod\",\n\t\"Europe/Vaduz\",\n\t\"Europe/Vatican\",\n\t\"Europe/Vienna\",\n\t\"Europe/Vilnius\",\n\t\"Europe/Volgograd\",\n\t\"Europe/Warsaw\",\n\t\"Europe/Zagreb\",\n\t\"Europe/Zaporozhye\",\n\t\"Europe/Zurich\",\n\t\"Indian/Antananarivo\",\n\t\"Indian/Chagos\",\n\t\"Indian/Christmas\",\n\t\"Indian/Cocos\",\n\t\"Indian/Comoro\",\n\t\"Indian/Kerguelen\",\n\t\"Indian/Mahe\",\n\t\"Indian/Maldives\",\n\t\"Indian/Mauritius\",\n\t\"Indian/Mayotte\",\n\t\"Indian/Reunion\",\n\t\"Pacific/Apia\",\n\t\"Pacific/Auckland\",\n\t\"Pacific/Bougainville\",\n\t\"Pacific/Chatham\",\n\t\"Pacific/Chuuk\",\n\t\"Pacific/Easter\",\n\t\"Pacific/Efate\",\n\t\"Pacific/Kanton\",\n\t\"Pacific/Fakaofo\",\n\t\"Pacific/Fiji\",\n\t\"Pacific/Funafuti\",\n\t\"Pacific/Galapagos\",\n\t\"Pacific/Gambier\",\n\t\"Pacific/Guadalcanal\",\n\t\"Pacific/Guam\",\n\t\"Pacific/Honolulu\",\n\t\"Pacific/Kiritimati\",\n\t\"Pacific/Kosrae\",\n\t\"Pacific/Kwajalein\",\n\t\"Pacific/Majuro\",\n\t\"Pacific/Marquesas\",\n\t\"Pacific/Midway\",\n\t\"Pacific/Nauru\",\n\t\"Pacific/Niue\",\n\t\"Pacific/Norfolk\",\n\t\"Pacific/Noumea\",\n\t\"Pacific/Pago_Pago\",\n\t\"Pacific/Palau\",\n\t\"Pacific/Pitcairn\",\n\t\"Pacific/Pohnpei\",\n\t\"Pacific/Port_Moresby\",\n\t\"Pacific/Rarotonga\",\n\t\"Pacific/Saipan\",\n\t\"Pacific/Tahiti\",\n\t\"Pacific/Tarawa\",\n\t\"Pacific/Tongatapu\",\n\t\"Pacific/Wake\",\n\t\"Pacific/Wallis\"\n];\n","import {createMemoizedDateTimeFormat} from '#packages/intl-supportedvaluesof/memoize.js'\nimport type {Timezone} from '@formatjs_generated/cldr.supported-values/timezones.js'\nimport {timezones} from '@formatjs_generated/cldr.supported-values/timezones.js'\n\n/**\n * Implementation: Tests if a timezone is supported by attempting to create\n * a DateTimeFormat with that timezone and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from IANA Time Zone Database\n */\nfunction isSupportedTimeZone(timeZone: Timezone): boolean {\n try {\n // Always use 'en' for testing\n const formatter = createMemoizedDateTimeFormat('en', {timeZone})\n return formatter.resolvedOptions().timeZone === timeZone\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported timezone identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedTimeZones(): Timezone[] {\n return timezones.filter(isSupportedTimeZone).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const units = [\n\t\"degree\",\n\t\"acre\",\n\t\"hectare\",\n\t\"percent\",\n\t\"bit\",\n\t\"byte\",\n\t\"gigabit\",\n\t\"gigabyte\",\n\t\"kilobit\",\n\t\"kilobyte\",\n\t\"megabit\",\n\t\"megabyte\",\n\t\"petabyte\",\n\t\"terabit\",\n\t\"terabyte\",\n\t\"day\",\n\t\"hour\",\n\t\"millisecond\",\n\t\"minute\",\n\t\"month\",\n\t\"second\",\n\t\"week\",\n\t\"year\",\n\t\"centimeter\",\n\t\"foot\",\n\t\"inch\",\n\t\"kilometer\",\n\t\"meter\",\n\t\"mile-scandinavian\",\n\t\"mile\",\n\t\"millimeter\",\n\t\"yard\",\n\t\"gram\",\n\t\"kilogram\",\n\t\"ounce\",\n\t\"pound\",\n\t\"stone\",\n\t\"celsius\",\n\t\"fahrenheit\",\n\t\"fluid-ounce\",\n\t\"gallon\",\n\t\"liter\",\n\t\"milliliter\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport type {Unit} from '@formatjs_generated/cldr.supported-values/units.js'\nimport {units} from '@formatjs_generated/cldr.supported-values/units.js'\n\n/**\n * Implementation: Tests if a unit is supported by attempting to create\n * a NumberFormat with that unit and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR unit types\n */\nfunction isSupportedUnit(unit: Unit): boolean {\n try {\n // Always use 'en' for testing\n const formatter = createMemoizedNumberFormat('en', {style: 'unit', unit})\n return formatter.resolvedOptions().unit === unit\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported unit identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedUnits(): (\n | 'degree'\n | 'acre'\n | 'hectare'\n | 'percent'\n | 'bit'\n | 'byte'\n | 'gigabit'\n | 'gigabyte'\n | 'kilobit'\n | 'kilobyte'\n | 'megabit'\n | 'megabyte'\n | 'petabyte'\n | 'terabit'\n | 'terabyte'\n | 'day'\n | 'hour'\n | 'millisecond'\n | 'minute'\n | 'month'\n | 'second'\n | 'week'\n | 'year'\n | 'centimeter'\n | 'foot'\n | 'inch'\n | 'kilometer'\n | 'meter'\n | 'mile-scandinavian'\n | 'mile'\n | 'millimeter'\n | 'yard'\n | 'gram'\n | 'kilogram'\n | 'ounce'\n | 'pound'\n | 'stone'\n | 'celsius'\n | 'fahrenheit'\n | 'fluid-ounce'\n | 'gallon'\n | 'liter'\n | 'milliliter'\n)[] {\n return units.filter(isSupportedUnit).sort()\n}\n","import {getSupportedCalendars} from '#packages/intl-supportedvaluesof/get-supported-calendars.js'\nimport {getSupportedCollations} from '#packages/intl-supportedvaluesof/get-supported-collations.js'\nimport {getSupportedCurrencies} from '#packages/intl-supportedvaluesof/get-supported-currencies.js'\nimport {getSupportedNumberingSystems} from '#packages/intl-supportedvaluesof/get-supported-numbering-systems.js'\nimport {getSupportedTimeZones} from '#packages/intl-supportedvaluesof/get-supported-timezones.js'\nimport {getSupportedUnits} from '#packages/intl-supportedvaluesof/get-supported-units.js'\n\nexport type {Calendar} from '@formatjs_generated/cldr.supported-values/calendars.js'\nexport type {Collation} from '@formatjs_generated/cldr.supported-values/collations.js'\nexport type {Currency} from '@formatjs_generated/cldr.supported-values/currencies.js'\nexport type {Timezone} from '@formatjs_generated/cldr.supported-values/timezones.js'\nexport type {Unit} from '@formatjs_generated/cldr.supported-values/units.js'\n\nexport {shouldPolyfill} from '#packages/intl-supportedvaluesof/should-polyfill.js'\n\n/**\n * ECMA-402 Spec: Intl.supportedValuesOf\n * https://tc39.es/ecma402/#sec-intl.supportedvaluesof\n */\ndeclare global {\n namespace Intl {\n /**\n * Returns an array containing the supported values for the given key.\n * @param key - The category of values to return\n * @returns A sorted array of strings\n */\n function supportedValuesOf(\n key:\n | 'calendar'\n | 'collation'\n | 'currency'\n | 'numberingSystem'\n | 'timeZone'\n | 'unit'\n ): string[]\n }\n}\n\n/**\n * ECMA-402 Spec: Supported value categories\n */\nexport type SupportedValuesOf =\n | 'calendar'\n | 'collation'\n | 'currency'\n | 'numberingSystem'\n | 'timeZone'\n | 'unit'\n\n/**\n * ECMA-402 Spec: Intl.supportedValuesOf(key)\n * https://tc39.es/ecma402/#sec-intl.supportedvaluesof\n *\n * Returns an array containing the supported calendar, collation, currency,\n * numbering systems, time zone, or unit values supported by the implementation.\n *\n * Implementation: We validate candidate values from CLDR against the actual\n * Intl formatters to determine runtime support rather than using static lists.\n * This ensures accuracy across different JavaScript engines and runtimes.\n *\n * @param key - The category of values to return\n * @returns A sorted array of unique string values\n */\nexport function supportedValuesOf(key: SupportedValuesOf): string[] {\n // ECMA-402 Spec: Dispatch to appropriate getter based on key\n switch (key) {\n case 'calendar':\n return getSupportedCalendars()\n case 'collation':\n return getSupportedCollations()\n case 'currency':\n return getSupportedCurrencies()\n case 'numberingSystem':\n return getSupportedNumberingSystems()\n case 'timeZone':\n return getSupportedTimeZones()\n case 'unit':\n return getSupportedUnits()\n default:\n // ECMA-402 Spec: Throw RangeError for invalid keys\n throw RangeError('Invalid key: ' + key)\n }\n}\n","import {supportedValuesOf} from '#packages/intl-supportedvaluesof/index.js'\n\nObject.defineProperty(Intl, 'supportedValuesOf', {\n value: supportedValuesOf,\n enumerable: true,\n writable: false,\n configurable: false,\n})\n"],"x_google_ignoreList":[1,3,6,8,10,12],"mappings":";;;;;;;;;;AAUA,MAAa,+BAEc,SACxB,GAAG,SACF,IAAI,KAAK,eAAe,GAAG,KAAK,EAClC,EACE,UAAU,WAAW,UACtB,CACF;;;AChBD,MAAa,YAAY;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACZD,SAAS,oBAAoB,MAAyB;AACpD,KAAI;AAMF,SAJuB,6BAA6B,WAAW,OAAO,CACvC,iBAAiB,CAAC,aAG9B;SACb;AAER,QAAO;;;;;;;;AAST,SAAgB,wBAAoC;AAClD,QAAO,UAAU,OAAO,oBAAoB,CAAC,MAAM;;;;AC5BrD,MAAa,aAAa;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACbD,SAAS,qBAAqB,WAA+B;AAC3D,KAAI;AAEF,SACE,KAAK,SAAS,WAAW,YAAY,CAAC,iBAAiB,CAAC,cACxD;SAEI;AAER,QAAO;;;;;;;;AAST,SAAgB,yBAAsC;AACpD,QAAO,WAAW,OAAO,qBAAqB,CAAC,MAAM;;;;ACiDvD,MAAa,6BAA6B,SAAS,GAAG,SAAS,IAAI,KAAK,aAAa,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AACxF,SAAS,GAAG,SAAS,IAAI,KAAK,YAAY,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AAC3F,SAAS,GAAG,SAAS,IAAI,KAAK,OAAO,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AAC7E,SAAS,GAAG,SAAS,IAAI,KAAK,WAAW,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;;;AC9E7H,MAAa,aAAa;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;AC5SD,SAAS,oBAAoB,UAA6B;AACxD,KAAI;EAQF,MAAM,SANe,2BAA2B,MAAM;GACpD,OAAO;GACP,iBAAiB;GACjB;GACD,CAAC,CAE0B,OAAO,IAAI;AAEvC,MACE,OAAO,UAAU,GAAG,EAAE,KAAK,YAC3B,OAAO,UAAU,OAAO,SAAS,EAAE,KAAK,SAExC,QAAO;SAEH;AAER,QAAO;;;;;;;;AAST,SAAgB,yBAAqC;CACnD,MAAM,OAAO;CACb,MAAM,sBAAkC,EAAE;AAE1C,MAAK,MAAM,YAAY,WACrB,KAAI,SAAS,WAAW;MAClB,oBAAoB,SAAS,CAC/B,qBAAoB,KAAK,SAAS;YAE3B,SAAS,WAAW,KAAK,SAAS,OAAO,KAAK;EACvD,MAAM,QAAQ,KAAK,QAAQ,SAAS,GAAG;EACvC,MAAM,MAAM,KAAK,QAAQ,SAAS,GAAG;AAErC,OAAK,IAAI,IAAI,OAAO,KAAK,KAAK,KAAK;GACjC,MAAM,kBAAmB,SAAS,UAAU,GAAG,EAAE,GAAG,KAAK;AACzD,OAAI,oBAAoB,gBAAgB,CACtC,qBAAoB,KAAK,gBAAgB;;;AAMjD,QAAO,oBAAoB,MAAM;;;;AC5DnC,MAAa,uBAAuB;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACzFD,SAAS,2BAA2B,QAAyB;AAC3D,KAAI;EAEF,MAAM,eAAe,2BAA2B,WAAW,SAAS;AAGpE,MAFgB,aAAa,iBAAiB,CAAC,oBAGhC,UAAU,WAAW,UAClC,aAAa,OAAO,IAAI,KAAK,MAE7B,QAAO;SAEH;AAER,QAAO;;;;;;;;AAST,SAAgB,+BAAyC;AACvD,QAAO,qBAAqB,OAAO,2BAA2B,CAAC,MAAM;;;;AC/BvE,MAAa,YAAY;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACpaD,SAAS,oBAAoB,UAA6B;AACxD,KAAI;AAGF,SADkB,6BAA6B,MAAM,EAAC,UAAS,CAAC,CAC/C,iBAAiB,CAAC,aAAa;SAC1C;AAER,QAAO;;;;;;;;AAST,SAAgB,wBAAoC;AAClD,QAAO,UAAU,OAAO,oBAAoB,CAAC,MAAM;;;;ACzBrD,MAAa,QAAQ;CACpB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACpCD,SAAS,gBAAgB,MAAqB;AAC5C,KAAI;AAGF,SADkB,2BAA2B,MAAM;GAAC,OAAO;GAAQ;GAAK,CAAC,CACxD,iBAAiB,CAAC,SAAS;SACtC;AAER,QAAO;;;;;;;;AAST,SAAgB,oBA4CZ;AACF,QAAO,MAAM,OAAO,gBAAgB,CAAC,MAAM;;;;;;;;;;;;;;;;;;ACR7C,SAAgB,kBAAkB,KAAkC;AAElE,SAAQ,KAAR;EACE,KAAK,WACH,QAAO,uBAAuB;EAChC,KAAK,YACH,QAAO,wBAAwB;EACjC,KAAK,WACH,QAAO,wBAAwB;EACjC,KAAK,kBACH,QAAO,8BAA8B;EACvC,KAAK,WACH,QAAO,uBAAuB;EAChC,KAAK,OACH,QAAO,mBAAmB;EAC5B,QAEE,OAAM,WAAW,kBAAkB,IAAI;;;;;AC9E7C,OAAO,eAAe,MAAM,qBAAqB;CAC/C,OAAO;CACP,YAAY;CACZ,UAAU;CACV,cAAc;CACf,CAAC"}
|
|
1
|
+
{"version":3,"file":"polyfill-force.js","names":[],"sources":["../memoize.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/calendars.js","../get-supported-calendars.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/collations.js","../get-supported-collations.ts","../../ecma402-abstract/utils.js","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/currencies.js","../get-supported-currencies.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.number@0.0.0/node_modules/@formatjs_generated/cldr.number/numbering-systems.js","../get-supported-numbering-systems.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/timezones.js","../get-supported-timezones.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/units.js","../get-supported-units.ts","../index.ts","../polyfill-force.ts"],"sourcesContent":["import {memoize, strategies} from '@formatjs/fast-memoize'\n\n/**\n * Implementation: Memoized factory for Intl.DateTimeFormat instances\n *\n * Creates and caches DateTimeFormat instances to avoid repeated instantiation overhead.\n * This is critical for performance since we test many candidate values against formatters.\n *\n * Uses variadic memoization strategy to handle varying numbers of constructor arguments.\n */\nexport const createMemoizedDateTimeFormat: (\n ...args: ConstructorParameters<typeof Intl.DateTimeFormat>\n) => Intl.DateTimeFormat = memoize(\n (...args: ConstructorParameters<typeof Intl.DateTimeFormat>) =>\n new Intl.DateTimeFormat(...args),\n {\n strategy: strategies.variadic,\n }\n)\n","/* @generated */\n// prettier-ignore\nexport const calendars = [\n\t\"buddhist\",\n\t\"chinese\",\n\t\"coptic\",\n\t\"dangi\",\n\t\"ethioaa\",\n\t\"ethiopic\",\n\t\"gregory\",\n\t\"hebrew\",\n\t\"indian\",\n\t\"islamic\",\n\t\"islamic-civil\",\n\t\"islamic-rgsa\",\n\t\"islamic-tbla\",\n\t\"islamic-umalqura\",\n\t\"islamicc\",\n\t\"iso8601\",\n\t\"japanese\",\n\t\"persian\",\n\t\"roc\"\n];\n","import {createMemoizedDateTimeFormat} from '#packages/intl-supportedvaluesof/memoize.js'\nimport type {Calendar} from '@formatjs_generated/cldr.supported-values/calendars.js'\nimport {calendars} from '@formatjs_generated/cldr.supported-values/calendars.js'\n\n/**\n * Implementation: Tests if a calendar is supported by attempting to create\n * a DateTimeFormat with that calendar and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR calendar types\n */\nfunction isSupportedCalendar(item: Calendar): boolean {\n try {\n // Always use 'en' for testing\n const dateTimeFormat = createMemoizedDateTimeFormat(`en-u-ca-${item}`)\n const options = dateTimeFormat.resolvedOptions().calendar\n\n // Verify the calendar was actually accepted (resolved calendar matches requested)\n return options === item\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported calendar identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCalendars(): Calendar[] {\n return calendars.filter(isSupportedCalendar).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const collations = [\n\t\"big5han\",\n\t\"compat\",\n\t\"dict\",\n\t\"direct\",\n\t\"ducet\",\n\t\"emoji\",\n\t\"eor\",\n\t\"gb2312\",\n\t\"phonebk\",\n\t\"phonetic\",\n\t\"pinyin\",\n\t\"reformed\",\n\t\"search\",\n\t\"searchjl\",\n\t\"standard\",\n\t\"stroke\",\n\t\"trad\",\n\t\"unihan\",\n\t\"zhuyin\"\n];\n","import type {Collation} from '@formatjs_generated/cldr.supported-values/collations.js'\nimport {collations} from '@formatjs_generated/cldr.supported-values/collations.js'\n\n/**\n * Implementation: Tests if a collation is supported by attempting to create\n * a Collator with that collation and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR collation types\n */\nfunction isSupportedCollation(collation: Collation): boolean {\n try {\n // Always use 'en' for testing\n return (\n Intl.Collator(`en-u-co-${collation}`).resolvedOptions().collation ===\n collation\n )\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported collation identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCollations(): Collation[] {\n return collations.filter(isSupportedCollation).sort()\n}\n","import { memoize, strategies } from \"@formatjs/fast-memoize\";\nexport function repeat(s, times) {\n\tif (typeof s.repeat === \"function\") {\n\t\treturn s.repeat(times);\n\t}\n\tconst arr = Array.from({ length: times });\n\tfor (let i = 0; i < arr.length; i++) {\n\t\tarr[i] = s;\n\t}\n\treturn arr.join(\"\");\n}\nexport function setInternalSlot(map, pl, field, value) {\n\tif (!map.get(pl)) {\n\t\tmap.set(pl, Object.create(null));\n\t}\n\tconst slots = map.get(pl);\n\tslots[field] = value;\n}\nexport function setMultiInternalSlots(map, pl, props) {\n\tfor (const k of Object.keys(props)) {\n\t\tsetInternalSlot(map, pl, k, props[k]);\n\t}\n}\nexport function getInternalSlot(map, pl, field) {\n\treturn getMultiInternalSlots(map, pl, field)[field];\n}\nexport function getMultiInternalSlots(map, pl, ...fields) {\n\tconst slots = map.get(pl);\n\tif (!slots) {\n\t\tthrow new TypeError(`${pl} InternalSlot has not been initialized`);\n\t}\n\treturn fields.reduce((all, f) => {\n\t\tall[f] = slots[f];\n\t\treturn all;\n\t}, Object.create(null));\n}\nexport function isLiteralPart(patternPart) {\n\treturn patternPart.type === \"literal\";\n}\n/*\n17 ECMAScript Standard Built-in Objects:\nEvery built-in Function object, including constructors, that is not\nidentified as an anonymous function has a name property whose value\nis a String.\n\nUnless otherwise specified, the name property of a built-in Function\nobject, if it exists, has the attributes { [[Writable]]: false,\n[[Enumerable]]: false, [[Configurable]]: true }.\n*/\nexport function defineProperty(target, name, { value }) {\n\tObject.defineProperty(target, name, {\n\t\tconfigurable: true,\n\t\tenumerable: false,\n\t\twritable: true,\n\t\tvalue\n\t});\n}\nexport function ensureIntl() {\n\tif (typeof Intl === \"undefined\") {\n\t\tObject.defineProperty(globalThis, \"Intl\", {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\twritable: true,\n\t\t\tvalue: {}\n\t\t});\n\t}\n\treturn Intl;\n}\n/**\n* 7.3.5 CreateDataProperty\n* @param target\n* @param name\n* @param value\n*/\nexport function createDataProperty(target, name, value) {\n\tObject.defineProperty(target, name, {\n\t\tconfigurable: true,\n\t\tenumerable: true,\n\t\twritable: true,\n\t\tvalue\n\t});\n}\nexport const UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;\nexport function invariant(condition, message, Err = Error) {\n\tif (!condition) {\n\t\tthrow new Err(message);\n\t}\n}\nexport const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });\nexport const createMemoizedPluralRules = memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });\nexport const createMemoizedLocale = memoize((...args) => new Intl.Locale(...args), { strategy: strategies.variadic });\nexport const createMemoizedListFormat = memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });\n","/* @generated */\n// prettier-ignore\nexport const currencies = [\n\t\"ADP\",\n\t\"AED\",\n\t\"AFA\",\n\t\"AFN\",\n\t\"ALK\",\n\t\"ALL\",\n\t\"AMD\",\n\t\"ANG\",\n\t\"AOA\",\n\t\"AOK\",\n\t\"AON\",\n\t\"AOR\",\n\t\"ARA\",\n\t\"ARL\",\n\t\"ARM\",\n\t\"ARP\",\n\t\"ARS\",\n\t\"ATS\",\n\t\"AUD\",\n\t\"AWG\",\n\t\"AZM\",\n\t\"AZN\",\n\t\"BAD\",\n\t\"BAM\",\n\t\"BAN\",\n\t\"BBD\",\n\t\"BDT\",\n\t\"BEC\",\n\t\"BEF\",\n\t\"BEL\",\n\t\"BGL\",\n\t\"BGM\",\n\t\"BGN\",\n\t\"BGO\",\n\t\"BHD\",\n\t\"BIF\",\n\t\"BMD\",\n\t\"BND\",\n\t\"BOB\",\n\t\"BOL\",\n\t\"BOP\",\n\t\"BOV\",\n\t\"BRB\",\n\t\"BRC\",\n\t\"BRE\",\n\t\"BRL\",\n\t\"BRN\",\n\t\"BRR\",\n\t\"BRZ\",\n\t\"BSD\",\n\t\"BTN\",\n\t\"BUK\",\n\t\"BWP\",\n\t\"BYB\",\n\t\"BYN\",\n\t\"BYR\",\n\t\"BZD\",\n\t\"CAD\",\n\t\"CDF\",\n\t\"CHE\",\n\t\"CHF\",\n\t\"CHW\",\n\t\"CLE\",\n\t\"CLF\",\n\t\"CLP\",\n\t\"CNH\",\n\t\"CNX\",\n\t\"CNY\",\n\t\"COP\",\n\t\"COU\",\n\t\"CRC\",\n\t\"CSD\",\n\t\"CSK\",\n\t\"CUC\",\n\t\"CUP\",\n\t\"CVE\",\n\t\"CYP\",\n\t\"CZK\",\n\t\"DDM\",\n\t\"DEM\",\n\t\"DJF\",\n\t\"DKK\",\n\t\"DOP\",\n\t\"DZD\",\n\t\"ECS\",\n\t\"ECV\",\n\t\"EEK\",\n\t\"EGP\",\n\t\"ERN\",\n\t\"ESA\",\n\t\"ESB\",\n\t\"ESP\",\n\t\"ETB\",\n\t\"EUR\",\n\t\"FIM\",\n\t\"FJD\",\n\t\"FKP\",\n\t\"FRF\",\n\t\"GBP\",\n\t\"GEK\",\n\t\"GEL\",\n\t\"GHC\",\n\t\"GHS\",\n\t\"GIP\",\n\t\"GMD\",\n\t\"GNF\",\n\t\"GNS\",\n\t\"GQE\",\n\t\"GRD\",\n\t\"GTQ\",\n\t\"GWE\",\n\t\"GWP\",\n\t\"GYD\",\n\t\"HKD\",\n\t\"HNL\",\n\t\"HRD\",\n\t\"HRK\",\n\t\"HTG\",\n\t\"HUF\",\n\t\"IDR\",\n\t\"IEP\",\n\t\"ILP\",\n\t\"ILR\",\n\t\"ILS\",\n\t\"INR\",\n\t\"IQD\",\n\t\"IRR\",\n\t\"ISJ\",\n\t\"ISK\",\n\t\"ITL\",\n\t\"JMD\",\n\t\"JOD\",\n\t\"JPY\",\n\t\"KES\",\n\t\"KGS\",\n\t\"KHR\",\n\t\"KMF\",\n\t\"KPW\",\n\t\"KRH\",\n\t\"KRO\",\n\t\"KRW\",\n\t\"KWD\",\n\t\"KYD\",\n\t\"KZT\",\n\t\"LAK\",\n\t\"LBP\",\n\t\"LKR\",\n\t\"LRD\",\n\t\"LSL\",\n\t\"LTL\",\n\t\"LTT\",\n\t\"LUC\",\n\t\"LUF\",\n\t\"LUL\",\n\t\"LVL\",\n\t\"LVR\",\n\t\"LYD\",\n\t\"MAD\",\n\t\"MAF\",\n\t\"MCF\",\n\t\"MDC\",\n\t\"MDL\",\n\t\"MGA\",\n\t\"MGF\",\n\t\"MKD\",\n\t\"MKN\",\n\t\"MLF\",\n\t\"MMK\",\n\t\"MNT\",\n\t\"MOP\",\n\t\"MRO\",\n\t\"MRU\",\n\t\"MTL\",\n\t\"MTP\",\n\t\"MUR\",\n\t\"MVP\",\n\t\"MVR\",\n\t\"MWK\",\n\t\"MXN\",\n\t\"MXP\",\n\t\"MXV\",\n\t\"MYR\",\n\t\"MZE\",\n\t\"MZM\",\n\t\"MZN\",\n\t\"NAD\",\n\t\"NGN\",\n\t\"NIC\",\n\t\"NIO\",\n\t\"NLG\",\n\t\"NOK\",\n\t\"NPR\",\n\t\"NZD\",\n\t\"OMR\",\n\t\"PAB\",\n\t\"PEI\",\n\t\"PEN\",\n\t\"PES\",\n\t\"PGK\",\n\t\"PHP\",\n\t\"PKR\",\n\t\"PLN\",\n\t\"PLZ\",\n\t\"PTE\",\n\t\"PYG\",\n\t\"QAR\",\n\t\"RHD\",\n\t\"ROL\",\n\t\"RON\",\n\t\"RSD\",\n\t\"RUB\",\n\t\"RUR\",\n\t\"RWF\",\n\t\"SAR\",\n\t\"SBD\",\n\t\"SCR\",\n\t\"SDD\",\n\t\"SDG\",\n\t\"SDP\",\n\t\"SEK\",\n\t\"SGD\",\n\t\"SHP\",\n\t\"SIT\",\n\t\"SKK\",\n\t\"SLE\",\n\t\"SLL\",\n\t\"SOS\",\n\t\"SRD\",\n\t\"SRG\",\n\t\"SSP\",\n\t\"STD\",\n\t\"STN\",\n\t\"SUR\",\n\t\"SVC\",\n\t\"SYP\",\n\t\"SZL\",\n\t\"THB\",\n\t\"TJR\",\n\t\"TJS\",\n\t\"TMM\",\n\t\"TMT\",\n\t\"TND\",\n\t\"TOP\",\n\t\"TPE\",\n\t\"TRL\",\n\t\"TRY\",\n\t\"TTD\",\n\t\"TWD\",\n\t\"TZS\",\n\t\"UAH\",\n\t\"UAK\",\n\t\"UGS\",\n\t\"UGX\",\n\t\"USD\",\n\t\"USN\",\n\t\"USS\",\n\t\"UYI\",\n\t\"UYP\",\n\t\"UYU\",\n\t\"UYW\",\n\t\"UZS\",\n\t\"VEB\",\n\t\"VED\",\n\t\"VEF\",\n\t\"VES\",\n\t\"VND\",\n\t\"VNN\",\n\t\"VUV\",\n\t\"WST\",\n\t\"XAF\",\n\t\"XAG\",\n\t\"XAU\",\n\t\"XBA\",\n\t\"XBB\",\n\t\"XBC\",\n\t\"XBD\",\n\t\"XCD\",\n\t\"XCG\",\n\t\"XDR\",\n\t\"XEU\",\n\t\"XFO\",\n\t\"XFU\",\n\t\"XOF\",\n\t\"XPD\",\n\t\"XPF\",\n\t\"XPT\",\n\t\"XRE\",\n\t\"XSU\",\n\t\"XTS\",\n\t\"XUA\",\n\t\"XXX\",\n\t\"YDD\",\n\t\"YER\",\n\t\"YUD\",\n\t\"YUM\",\n\t\"YUN\",\n\t\"YUR\",\n\t\"ZAL\",\n\t\"ZAR\",\n\t\"ZMK\",\n\t\"ZMW\",\n\t\"ZRN\",\n\t\"ZRZ\",\n\t\"ZWD\",\n\t\"ZWG\",\n\t\"ZWL\",\n\t\"ZWR\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport type {Currency} from '@formatjs_generated/cldr.supported-values/currencies.js'\nimport {currencies} from '@formatjs_generated/cldr.supported-values/currencies.js'\n\n/**\n * Implementation: Tests if a currency is supported by attempting to create\n * a NumberFormat with that currency and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR currency codes (ISO 4217)\n */\nfunction isSupportedCurrency(currency: Currency): boolean {\n try {\n // Always use 'en' for testing\n const numberFormat = createMemoizedNumberFormat('en', {\n style: 'currency',\n currencyDisplay: 'name',\n currency,\n })\n\n const format = numberFormat.format(123)\n\n if (\n format.substring(0, 3) !== currency &&\n format.substring(format.length - 3) !== currency\n ) {\n return true\n }\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported currency identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCurrencies(): Currency[] {\n const ATOZ = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n const supportedCurrencies: Currency[] = []\n\n for (const currency of currencies) {\n if (currency.length === 3) {\n if (isSupportedCurrency(currency)) {\n supportedCurrencies.push(currency)\n }\n } else if (currency.length === 5 && currency[3] === '~') {\n const start = ATOZ.indexOf(currency[2])\n const end = ATOZ.indexOf(currency[4])\n\n for (let i = start; i <= end; i++) {\n const currentCurrency = (currency.substring(0, 2) + ATOZ[i]) as Currency\n if (isSupportedCurrency(currentCurrency)) {\n supportedCurrencies.push(currentCurrency)\n }\n }\n }\n }\n\n return supportedCurrencies.sort()\n}\n","export const numberingSystemNames = [\n\t\"adlm\",\n\t\"ahom\",\n\t\"arab\",\n\t\"arabext\",\n\t\"armn\",\n\t\"armnlow\",\n\t\"bali\",\n\t\"beng\",\n\t\"bhks\",\n\t\"brah\",\n\t\"cakm\",\n\t\"cham\",\n\t\"cyrl\",\n\t\"deva\",\n\t\"diak\",\n\t\"ethi\",\n\t\"fullwide\",\n\t\"gara\",\n\t\"geor\",\n\t\"gong\",\n\t\"gonm\",\n\t\"grek\",\n\t\"greklow\",\n\t\"gujr\",\n\t\"gukh\",\n\t\"guru\",\n\t\"hanidays\",\n\t\"hanidec\",\n\t\"hans\",\n\t\"hansfin\",\n\t\"hant\",\n\t\"hantfin\",\n\t\"hebr\",\n\t\"hmng\",\n\t\"hmnp\",\n\t\"java\",\n\t\"jpan\",\n\t\"jpanfin\",\n\t\"jpanyear\",\n\t\"kali\",\n\t\"kawi\",\n\t\"khmr\",\n\t\"knda\",\n\t\"krai\",\n\t\"lana\",\n\t\"lanatham\",\n\t\"laoo\",\n\t\"latn\",\n\t\"lepc\",\n\t\"limb\",\n\t\"mathbold\",\n\t\"mathdbl\",\n\t\"mathmono\",\n\t\"mathsanb\",\n\t\"mathsans\",\n\t\"mlym\",\n\t\"modi\",\n\t\"mong\",\n\t\"mroo\",\n\t\"mtei\",\n\t\"mymr\",\n\t\"mymrepka\",\n\t\"mymrpao\",\n\t\"mymrshan\",\n\t\"mymrtlng\",\n\t\"nagm\",\n\t\"newa\",\n\t\"nkoo\",\n\t\"olck\",\n\t\"onao\",\n\t\"orya\",\n\t\"osma\",\n\t\"outlined\",\n\t\"rohg\",\n\t\"roman\",\n\t\"romanlow\",\n\t\"saur\",\n\t\"segment\",\n\t\"shrd\",\n\t\"sind\",\n\t\"sinh\",\n\t\"sora\",\n\t\"sund\",\n\t\"sunu\",\n\t\"takr\",\n\t\"talu\",\n\t\"taml\",\n\t\"tamldec\",\n\t\"telu\",\n\t\"thai\",\n\t\"tibt\",\n\t\"tirh\",\n\t\"tnsa\",\n\t\"tols\",\n\t\"vaii\",\n\t\"wara\",\n\t\"wcho\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport {numberingSystemNames} from '@formatjs_generated/cldr.number/numbering-systems.js'\n\n/**\n * Implementation: Tests if a numbering system is supported by attempting to create\n * a NumberFormat with that numbering system and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR numbering system types\n */\nfunction isSupportedNumberingSystem(system: string): boolean {\n try {\n // Always use 'en' for testing\n const numberFormat = createMemoizedNumberFormat(`en-u-nu-${system}`)\n const options = numberFormat.resolvedOptions().numberingSystem\n\n if (\n (options === system && system === 'latn') ||\n numberFormat.format(123) !== '123'\n ) {\n return true\n }\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported numbering system identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedNumberingSystems(): string[] {\n return numberingSystemNames.filter(isSupportedNumberingSystem).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const timezones = [\n\t\"Africa/Abidjan\",\n\t\"Africa/Accra\",\n\t\"Africa/Addis_Ababa\",\n\t\"Africa/Algiers\",\n\t\"Africa/Asmara\",\n\t\"Africa/Bamako\",\n\t\"Africa/Bangui\",\n\t\"Africa/Banjul\",\n\t\"Africa/Bissau\",\n\t\"Africa/Blantyre\",\n\t\"Africa/Brazzaville\",\n\t\"Africa/Bujumbura\",\n\t\"Africa/Cairo\",\n\t\"Africa/Casablanca\",\n\t\"Africa/Ceuta\",\n\t\"Africa/Conakry\",\n\t\"Africa/Dakar\",\n\t\"Africa/Dar_es_Salaam\",\n\t\"Africa/Djibouti\",\n\t\"Africa/Douala\",\n\t\"Africa/El_Aaiun\",\n\t\"Africa/Freetown\",\n\t\"Africa/Gaborone\",\n\t\"Africa/Harare\",\n\t\"Africa/Johannesburg\",\n\t\"Africa/Juba\",\n\t\"Africa/Kampala\",\n\t\"Africa/Khartoum\",\n\t\"Africa/Kigali\",\n\t\"Africa/Kinshasa\",\n\t\"Africa/Lagos\",\n\t\"Africa/Libreville\",\n\t\"Africa/Lome\",\n\t\"Africa/Luanda\",\n\t\"Africa/Lubumbashi\",\n\t\"Africa/Lusaka\",\n\t\"Africa/Malabo\",\n\t\"Africa/Maputo\",\n\t\"Africa/Maseru\",\n\t\"Africa/Mbabane\",\n\t\"Africa/Mogadishu\",\n\t\"Africa/Monrovia\",\n\t\"Africa/Nairobi\",\n\t\"Africa/Ndjamena\",\n\t\"Africa/Niamey\",\n\t\"Africa/Nouakchott\",\n\t\"Africa/Ouagadougou\",\n\t\"Africa/Porto-Novo\",\n\t\"Africa/Sao_Tome\",\n\t\"Africa/Tripoli\",\n\t\"Africa/Tunis\",\n\t\"Africa/Windhoek\",\n\t\"America/Adak\",\n\t\"America/Anchorage\",\n\t\"America/Anguilla\",\n\t\"America/Antigua\",\n\t\"America/Araguaina\",\n\t\"America/Argentina/Buenos_Aires\",\n\t\"America/Argentina/Catamarca\",\n\t\"America/Argentina/Cordoba\",\n\t\"America/Argentina/Jujuy\",\n\t\"America/Argentina/La_Rioja\",\n\t\"America/Argentina/Mendoza\",\n\t\"America/Argentina/Rio_Gallegos\",\n\t\"America/Argentina/Salta\",\n\t\"America/Argentina/San_Juan\",\n\t\"America/Argentina/San_Luis\",\n\t\"America/Argentina/Tucuman\",\n\t\"America/Argentina/Ushuaia\",\n\t\"America/Aruba\",\n\t\"America/Asuncion\",\n\t\"America/Atikokan\",\n\t\"America/Bahia_Banderas\",\n\t\"America/Bahia\",\n\t\"America/Barbados\",\n\t\"America/Belem\",\n\t\"America/Belize\",\n\t\"America/Blanc-Sablon\",\n\t\"America/Boa_Vista\",\n\t\"America/Bogota\",\n\t\"America/Boise\",\n\t\"America/Cambridge_Bay\",\n\t\"America/Campo_Grande\",\n\t\"America/Cancun\",\n\t\"America/Caracas\",\n\t\"America/Cayenne\",\n\t\"America/Cayman\",\n\t\"America/Chicago\",\n\t\"America/Chihuahua\",\n\t\"America/Ciudad_Juarez\",\n\t\"America/Costa_Rica\",\n\t\"America/Coyhaique\",\n\t\"America/Creston\",\n\t\"America/Cuiaba\",\n\t\"America/Curacao\",\n\t\"America/Danmarkshavn\",\n\t\"America/Dawson_Creek\",\n\t\"America/Dawson\",\n\t\"America/Denver\",\n\t\"America/Detroit\",\n\t\"America/Dominica\",\n\t\"America/Edmonton\",\n\t\"America/Eirunepe\",\n\t\"America/El_Salvador\",\n\t\"America/Fort_Nelson\",\n\t\"America/Fortaleza\",\n\t\"America/Glace_Bay\",\n\t\"America/Goose_Bay\",\n\t\"America/Grand_Turk\",\n\t\"America/Grenada\",\n\t\"America/Guadeloupe\",\n\t\"America/Guatemala\",\n\t\"America/Guayaquil\",\n\t\"America/Guyana\",\n\t\"America/Halifax\",\n\t\"America/Havana\",\n\t\"America/Hermosillo\",\n\t\"America/Indiana/Indianapolis\",\n\t\"America/Indiana/Knox\",\n\t\"America/Indiana/Marengo\",\n\t\"America/Indiana/Petersburg\",\n\t\"America/Indiana/Tell_City\",\n\t\"America/Indiana/Vevay\",\n\t\"America/Indiana/Vincennes\",\n\t\"America/Indiana/Winamac\",\n\t\"America/Inuvik\",\n\t\"America/Iqaluit\",\n\t\"America/Jamaica\",\n\t\"America/Juneau\",\n\t\"America/Kentucky/Louisville\",\n\t\"America/Kentucky/Monticello\",\n\t\"America/Kralendijk\",\n\t\"America/La_Paz\",\n\t\"America/Lima\",\n\t\"America/Los_Angeles\",\n\t\"America/Lower_Princes\",\n\t\"America/Maceio\",\n\t\"America/Managua\",\n\t\"America/Manaus\",\n\t\"America/Marigot\",\n\t\"America/Martinique\",\n\t\"America/Matamoros\",\n\t\"America/Mazatlan\",\n\t\"America/Menominee\",\n\t\"America/Merida\",\n\t\"America/Metlakatla\",\n\t\"America/Mexico_City\",\n\t\"America/Miquelon\",\n\t\"America/Moncton\",\n\t\"America/Monterrey\",\n\t\"America/Montevideo\",\n\t\"America/Montserrat\",\n\t\"America/Nassau\",\n\t\"America/New_York\",\n\t\"America/Nipigon\",\n\t\"America/Nome\",\n\t\"America/Noronha\",\n\t\"America/North_Dakota/Beulah\",\n\t\"America/North_Dakota/Center\",\n\t\"America/North_Dakota/New_Salem\",\n\t\"America/Nuuk\",\n\t\"America/Ojinaga\",\n\t\"America/Panama\",\n\t\"America/Pangnirtung\",\n\t\"America/Paramaribo\",\n\t\"America/Phoenix\",\n\t\"America/Port_of_Spain\",\n\t\"America/Port-au-Prince\",\n\t\"America/Porto_Velho\",\n\t\"America/Puerto_Rico\",\n\t\"America/Punta_Arenas\",\n\t\"America/Rainy_River\",\n\t\"America/Rankin_Inlet\",\n\t\"America/Recife\",\n\t\"America/Regina\",\n\t\"America/Resolute\",\n\t\"America/Rio_Branco\",\n\t\"America/Santarem\",\n\t\"America/Santiago\",\n\t\"America/Santo_Domingo\",\n\t\"America/Sao_Paulo\",\n\t\"America/Scoresbysund\",\n\t\"America/Sitka\",\n\t\"America/St_Barthelemy\",\n\t\"America/St_Johns\",\n\t\"America/St_Kitts\",\n\t\"America/St_Lucia\",\n\t\"America/St_Thomas\",\n\t\"America/St_Vincent\",\n\t\"America/Swift_Current\",\n\t\"America/Tegucigalpa\",\n\t\"America/Thule\",\n\t\"America/Thunder_Bay\",\n\t\"America/Tijuana\",\n\t\"America/Toronto\",\n\t\"America/Tortola\",\n\t\"America/Vancouver\",\n\t\"America/Whitehorse\",\n\t\"America/Winnipeg\",\n\t\"America/Yakutat\",\n\t\"America/Yellowknife\",\n\t\"Antarctica/Casey\",\n\t\"Antarctica/Davis\",\n\t\"Antarctica/DumontDUrville\",\n\t\"Antarctica/Macquarie\",\n\t\"Antarctica/Mawson\",\n\t\"Antarctica/McMurdo\",\n\t\"Antarctica/Palmer\",\n\t\"Antarctica/Rothera\",\n\t\"Antarctica/Syowa\",\n\t\"Antarctica/Troll\",\n\t\"Antarctica/Vostok\",\n\t\"Arctic/Longyearbyen\",\n\t\"Asia/Aden\",\n\t\"Asia/Almaty\",\n\t\"Asia/Amman\",\n\t\"Asia/Anadyr\",\n\t\"Asia/Aqtau\",\n\t\"Asia/Aqtobe\",\n\t\"Asia/Ashgabat\",\n\t\"Asia/Atyrau\",\n\t\"Asia/Baghdad\",\n\t\"Asia/Bahrain\",\n\t\"Asia/Baku\",\n\t\"Asia/Bangkok\",\n\t\"Asia/Barnaul\",\n\t\"Asia/Beirut\",\n\t\"Asia/Bishkek\",\n\t\"Asia/Brunei\",\n\t\"Asia/Chita\",\n\t\"Asia/Choibalsan\",\n\t\"Asia/Colombo\",\n\t\"Asia/Damascus\",\n\t\"Asia/Dhaka\",\n\t\"Asia/Dili\",\n\t\"Asia/Dubai\",\n\t\"Asia/Dushanbe\",\n\t\"Asia/Famagusta\",\n\t\"Asia/Gaza\",\n\t\"Asia/Hebron\",\n\t\"Asia/Ho_Chi_Minh\",\n\t\"Asia/Hong_Kong\",\n\t\"Asia/Hovd\",\n\t\"Asia/Irkutsk\",\n\t\"Asia/Jakarta\",\n\t\"Asia/Jayapura\",\n\t\"Asia/Jerusalem\",\n\t\"Asia/Kabul\",\n\t\"Asia/Kamchatka\",\n\t\"Asia/Karachi\",\n\t\"Asia/Kathmandu\",\n\t\"Asia/Khandyga\",\n\t\"Asia/Kolkata\",\n\t\"Asia/Krasnoyarsk\",\n\t\"Asia/Kuala_Lumpur\",\n\t\"Asia/Kuching\",\n\t\"Asia/Kuwait\",\n\t\"Asia/Macau\",\n\t\"Asia/Magadan\",\n\t\"Asia/Makassar\",\n\t\"Asia/Manila\",\n\t\"Asia/Muscat\",\n\t\"Asia/Nicosia\",\n\t\"Asia/Novokuznetsk\",\n\t\"Asia/Novosibirsk\",\n\t\"Asia/Omsk\",\n\t\"Asia/Oral\",\n\t\"Asia/Phnom_Penh\",\n\t\"Asia/Pontianak\",\n\t\"Asia/Pyongyang\",\n\t\"Asia/Qatar\",\n\t\"Asia/Qostanay\",\n\t\"Asia/Qyzylorda\",\n\t\"Asia/Riyadh\",\n\t\"Asia/Sakhalin\",\n\t\"Asia/Samarkand\",\n\t\"Asia/Seoul\",\n\t\"Asia/Shanghai\",\n\t\"Asia/Singapore\",\n\t\"Asia/Srednekolymsk\",\n\t\"Asia/Taipei\",\n\t\"Asia/Tashkent\",\n\t\"Asia/Tbilisi\",\n\t\"Asia/Tehran\",\n\t\"Asia/Thimphu\",\n\t\"Asia/Tokyo\",\n\t\"Asia/Tomsk\",\n\t\"Asia/Ulaanbaatar\",\n\t\"Asia/Urumqi\",\n\t\"Asia/Ust-Nera\",\n\t\"Asia/Vientiane\",\n\t\"Asia/Vladivostok\",\n\t\"Asia/Yakutsk\",\n\t\"Asia/Yangon\",\n\t\"Asia/Yekaterinburg\",\n\t\"Asia/Yerevan\",\n\t\"Atlantic/Azores\",\n\t\"Atlantic/Bermuda\",\n\t\"Atlantic/Canary\",\n\t\"Atlantic/Cape_Verde\",\n\t\"Atlantic/Faroe\",\n\t\"Atlantic/Madeira\",\n\t\"Atlantic/Reykjavik\",\n\t\"Atlantic/South_Georgia\",\n\t\"Atlantic/St_Helena\",\n\t\"Atlantic/Stanley\",\n\t\"Australia/Adelaide\",\n\t\"Australia/Brisbane\",\n\t\"Australia/Broken_Hill\",\n\t\"Australia/Currie\",\n\t\"Australia/Darwin\",\n\t\"Australia/Eucla\",\n\t\"Australia/Hobart\",\n\t\"Australia/Lindeman\",\n\t\"Australia/Lord_Howe\",\n\t\"Australia/Melbourne\",\n\t\"Australia/Perth\",\n\t\"Australia/Sydney\",\n\t\"Europe/Amsterdam\",\n\t\"Europe/Andorra\",\n\t\"Europe/Astrakhan\",\n\t\"Europe/Athens\",\n\t\"Europe/Belgrade\",\n\t\"Europe/Berlin\",\n\t\"Europe/Bratislava\",\n\t\"Europe/Brussels\",\n\t\"Europe/Bucharest\",\n\t\"Europe/Budapest\",\n\t\"Europe/Busingen\",\n\t\"Europe/Chisinau\",\n\t\"Europe/Copenhagen\",\n\t\"Europe/Dublin\",\n\t\"Europe/Gibraltar\",\n\t\"Europe/Guernsey\",\n\t\"Europe/Helsinki\",\n\t\"Europe/Isle_of_Man\",\n\t\"Europe/Istanbul\",\n\t\"Europe/Jersey\",\n\t\"Europe/Kaliningrad\",\n\t\"Europe/Kyiv\",\n\t\"Europe/Kirov\",\n\t\"Europe/Lisbon\",\n\t\"Europe/Ljubljana\",\n\t\"Europe/London\",\n\t\"Europe/Luxembourg\",\n\t\"Europe/Madrid\",\n\t\"Europe/Malta\",\n\t\"Europe/Mariehamn\",\n\t\"Europe/Minsk\",\n\t\"Europe/Monaco\",\n\t\"Europe/Moscow\",\n\t\"Europe/Oslo\",\n\t\"Europe/Paris\",\n\t\"Europe/Podgorica\",\n\t\"Europe/Prague\",\n\t\"Europe/Riga\",\n\t\"Europe/Rome\",\n\t\"Europe/Samara\",\n\t\"Europe/San_Marino\",\n\t\"Europe/Sarajevo\",\n\t\"Europe/Saratov\",\n\t\"Europe/Simferopol\",\n\t\"Europe/Skopje\",\n\t\"Europe/Sofia\",\n\t\"Europe/Stockholm\",\n\t\"Europe/Tallinn\",\n\t\"Europe/Tirane\",\n\t\"Europe/Ulyanovsk\",\n\t\"Europe/Uzhgorod\",\n\t\"Europe/Vaduz\",\n\t\"Europe/Vatican\",\n\t\"Europe/Vienna\",\n\t\"Europe/Vilnius\",\n\t\"Europe/Volgograd\",\n\t\"Europe/Warsaw\",\n\t\"Europe/Zagreb\",\n\t\"Europe/Zaporozhye\",\n\t\"Europe/Zurich\",\n\t\"Indian/Antananarivo\",\n\t\"Indian/Chagos\",\n\t\"Indian/Christmas\",\n\t\"Indian/Cocos\",\n\t\"Indian/Comoro\",\n\t\"Indian/Kerguelen\",\n\t\"Indian/Mahe\",\n\t\"Indian/Maldives\",\n\t\"Indian/Mauritius\",\n\t\"Indian/Mayotte\",\n\t\"Indian/Reunion\",\n\t\"Pacific/Apia\",\n\t\"Pacific/Auckland\",\n\t\"Pacific/Bougainville\",\n\t\"Pacific/Chatham\",\n\t\"Pacific/Chuuk\",\n\t\"Pacific/Easter\",\n\t\"Pacific/Efate\",\n\t\"Pacific/Kanton\",\n\t\"Pacific/Fakaofo\",\n\t\"Pacific/Fiji\",\n\t\"Pacific/Funafuti\",\n\t\"Pacific/Galapagos\",\n\t\"Pacific/Gambier\",\n\t\"Pacific/Guadalcanal\",\n\t\"Pacific/Guam\",\n\t\"Pacific/Honolulu\",\n\t\"Pacific/Kiritimati\",\n\t\"Pacific/Kosrae\",\n\t\"Pacific/Kwajalein\",\n\t\"Pacific/Majuro\",\n\t\"Pacific/Marquesas\",\n\t\"Pacific/Midway\",\n\t\"Pacific/Nauru\",\n\t\"Pacific/Niue\",\n\t\"Pacific/Norfolk\",\n\t\"Pacific/Noumea\",\n\t\"Pacific/Pago_Pago\",\n\t\"Pacific/Palau\",\n\t\"Pacific/Pitcairn\",\n\t\"Pacific/Pohnpei\",\n\t\"Pacific/Port_Moresby\",\n\t\"Pacific/Rarotonga\",\n\t\"Pacific/Saipan\",\n\t\"Pacific/Tahiti\",\n\t\"Pacific/Tarawa\",\n\t\"Pacific/Tongatapu\",\n\t\"Pacific/Wake\",\n\t\"Pacific/Wallis\"\n];\n","import {createMemoizedDateTimeFormat} from '#packages/intl-supportedvaluesof/memoize.js'\nimport type {Timezone} from '@formatjs_generated/cldr.supported-values/timezones.js'\nimport {timezones} from '@formatjs_generated/cldr.supported-values/timezones.js'\n\n/**\n * Implementation: Tests if a timezone is supported by attempting to create\n * a DateTimeFormat with that timezone and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from IANA Time Zone Database\n */\nfunction isSupportedTimeZone(timeZone: Timezone): boolean {\n try {\n // Always use 'en' for testing\n const formatter = createMemoizedDateTimeFormat('en', {timeZone})\n return formatter.resolvedOptions().timeZone === timeZone\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported timezone identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedTimeZones(): Timezone[] {\n return timezones.filter(isSupportedTimeZone).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const units = [\n\t\"degree\",\n\t\"acre\",\n\t\"hectare\",\n\t\"percent\",\n\t\"bit\",\n\t\"byte\",\n\t\"gigabit\",\n\t\"gigabyte\",\n\t\"kilobit\",\n\t\"kilobyte\",\n\t\"megabit\",\n\t\"megabyte\",\n\t\"petabyte\",\n\t\"terabit\",\n\t\"terabyte\",\n\t\"day\",\n\t\"hour\",\n\t\"millisecond\",\n\t\"minute\",\n\t\"month\",\n\t\"second\",\n\t\"week\",\n\t\"year\",\n\t\"centimeter\",\n\t\"foot\",\n\t\"inch\",\n\t\"kilometer\",\n\t\"meter\",\n\t\"mile-scandinavian\",\n\t\"mile\",\n\t\"millimeter\",\n\t\"yard\",\n\t\"gram\",\n\t\"kilogram\",\n\t\"ounce\",\n\t\"pound\",\n\t\"stone\",\n\t\"celsius\",\n\t\"fahrenheit\",\n\t\"fluid-ounce\",\n\t\"gallon\",\n\t\"liter\",\n\t\"milliliter\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport type {Unit} from '@formatjs_generated/cldr.supported-values/units.js'\nimport {units} from '@formatjs_generated/cldr.supported-values/units.js'\n\n/**\n * Implementation: Tests if a unit is supported by attempting to create\n * a NumberFormat with that unit and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR unit types\n */\nfunction isSupportedUnit(unit: Unit): boolean {\n try {\n // Always use 'en' for testing\n const formatter = createMemoizedNumberFormat('en', {style: 'unit', unit})\n return formatter.resolvedOptions().unit === unit\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported unit identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedUnits(): (\n | 'degree'\n | 'acre'\n | 'hectare'\n | 'percent'\n | 'bit'\n | 'byte'\n | 'gigabit'\n | 'gigabyte'\n | 'kilobit'\n | 'kilobyte'\n | 'megabit'\n | 'megabyte'\n | 'petabyte'\n | 'terabit'\n | 'terabyte'\n | 'day'\n | 'hour'\n | 'millisecond'\n | 'minute'\n | 'month'\n | 'second'\n | 'week'\n | 'year'\n | 'centimeter'\n | 'foot'\n | 'inch'\n | 'kilometer'\n | 'meter'\n | 'mile-scandinavian'\n | 'mile'\n | 'millimeter'\n | 'yard'\n | 'gram'\n | 'kilogram'\n | 'ounce'\n | 'pound'\n | 'stone'\n | 'celsius'\n | 'fahrenheit'\n | 'fluid-ounce'\n | 'gallon'\n | 'liter'\n | 'milliliter'\n)[] {\n return units.filter(isSupportedUnit).sort()\n}\n","import {getSupportedCalendars} from '#packages/intl-supportedvaluesof/get-supported-calendars.js'\nimport {getSupportedCollations} from '#packages/intl-supportedvaluesof/get-supported-collations.js'\nimport {getSupportedCurrencies} from '#packages/intl-supportedvaluesof/get-supported-currencies.js'\nimport {getSupportedNumberingSystems} from '#packages/intl-supportedvaluesof/get-supported-numbering-systems.js'\nimport {getSupportedTimeZones} from '#packages/intl-supportedvaluesof/get-supported-timezones.js'\nimport {getSupportedUnits} from '#packages/intl-supportedvaluesof/get-supported-units.js'\n\nexport type {Calendar} from '@formatjs_generated/cldr.supported-values/calendars.js'\nexport type {Collation} from '@formatjs_generated/cldr.supported-values/collations.js'\nexport type {Currency} from '@formatjs_generated/cldr.supported-values/currencies.js'\nexport type {Timezone} from '@formatjs_generated/cldr.supported-values/timezones.js'\nexport type {Unit} from '@formatjs_generated/cldr.supported-values/units.js'\n\nexport {shouldPolyfill} from '#packages/intl-supportedvaluesof/should-polyfill.js'\n\n/**\n * ECMA-402 Spec: Intl.supportedValuesOf\n * https://tc39.es/ecma402/#sec-intl.supportedvaluesof\n */\ndeclare global {\n namespace Intl {\n /**\n * Returns an array containing the supported values for the given key.\n * @param key - The category of values to return\n * @returns A sorted array of strings\n */\n function supportedValuesOf(\n key:\n | 'calendar'\n | 'collation'\n | 'currency'\n | 'numberingSystem'\n | 'timeZone'\n | 'unit'\n ): string[]\n }\n}\n\n/**\n * ECMA-402 Spec: Supported value categories\n */\nexport type SupportedValuesOf =\n | 'calendar'\n | 'collation'\n | 'currency'\n | 'numberingSystem'\n | 'timeZone'\n | 'unit'\n\n/**\n * ECMA-402 Spec: Intl.supportedValuesOf(key)\n * https://tc39.es/ecma402/#sec-intl.supportedvaluesof\n *\n * Returns an array containing the supported calendar, collation, currency,\n * numbering systems, time zone, or unit values supported by the implementation.\n *\n * Implementation: We validate candidate values from CLDR against the actual\n * Intl formatters to determine runtime support rather than using static lists.\n * This ensures accuracy across different JavaScript engines and runtimes.\n *\n * @param key - The category of values to return\n * @returns A sorted array of unique string values\n */\nexport function supportedValuesOf(key: SupportedValuesOf): string[] {\n // ECMA-402 Spec: Dispatch to appropriate getter based on key\n switch (key) {\n case 'calendar':\n return getSupportedCalendars()\n case 'collation':\n return getSupportedCollations()\n case 'currency':\n return getSupportedCurrencies()\n case 'numberingSystem':\n return getSupportedNumberingSystems()\n case 'timeZone':\n return getSupportedTimeZones()\n case 'unit':\n return getSupportedUnits()\n default:\n // ECMA-402 Spec: Throw RangeError for invalid keys\n throw RangeError('Invalid key: ' + key)\n }\n}\n","import {supportedValuesOf} from '#packages/intl-supportedvaluesof/index.js'\nimport {defineProperty, ensureIntl} from '#packages/ecma402-abstract/utils.js'\n\nconst intl = ensureIntl()\n\ndefineProperty(intl, 'supportedValuesOf', {value: supportedValuesOf})\n"],"x_google_ignoreList":[1,3,6,8,10,12],"mappings":";;;;;;;;;;AAUA,MAAa,+BAEc,SACxB,GAAG,SACF,IAAI,KAAK,eAAe,GAAG,KAAK,EAClC,EACE,UAAU,WAAW,UACtB,CACF;;;AChBD,MAAa,YAAY;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACZD,SAAS,oBAAoB,MAAyB;CACpD,IAAI;EAMF,OAJuB,6BAA6B,WAAW,OACjC,CAAC,iBAAiB,CAAC,aAG9B;SACb;CAER,OAAO;;;;;;;;AAST,SAAgB,wBAAoC;CAClD,OAAO,UAAU,OAAO,oBAAoB,CAAC,MAAM;;;;AC5BrD,MAAa,aAAa;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACbD,SAAS,qBAAqB,WAA+B;CAC3D,IAAI;EAEF,OACE,KAAK,SAAS,WAAW,YAAY,CAAC,iBAAiB,CAAC,cACxD;SAEI;CAER,OAAO;;;;;;;;AAST,SAAgB,yBAAsC;CACpD,OAAO,WAAW,OAAO,qBAAqB,CAAC,MAAM;;;;ACqBvD,SAAgB,eAAe,QAAQ,MAAM,EAAE,SAAS;CACvD,OAAO,eAAe,QAAQ,MAAM;EACnC,cAAc;EACd,YAAY;EACZ,UAAU;EACV;EACA,CAAC;;AAEH,SAAgB,aAAa;CAC5B,IAAI,OAAO,SAAS,aACnB,OAAO,eAAe,YAAY,QAAQ;EACzC,cAAc;EACd,YAAY;EACZ,UAAU;EACV,OAAO,EAAE;EACT,CAAC;CAEH,OAAO;;AAsBR,MAAa,6BAA6B,SAAS,GAAG,SAAS,IAAI,KAAK,aAAa,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AACxF,SAAS,GAAG,SAAS,IAAI,KAAK,YAAY,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AAC3F,SAAS,GAAG,SAAS,IAAI,KAAK,OAAO,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AAC7E,SAAS,GAAG,SAAS,IAAI,KAAK,WAAW,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;;;ACzF7H,MAAa,aAAa;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;AC5SD,SAAS,oBAAoB,UAA6B;CACxD,IAAI;EAQF,MAAM,SANe,2BAA2B,MAAM;GACpD,OAAO;GACP,iBAAiB;GACjB;GACD,CAE0B,CAAC,OAAO,IAAI;EAEvC,IACE,OAAO,UAAU,GAAG,EAAE,KAAK,YAC3B,OAAO,UAAU,OAAO,SAAS,EAAE,KAAK,UAExC,OAAO;SAEH;CAER,OAAO;;;;;;;;AAST,SAAgB,yBAAqC;CACnD,MAAM,OAAO;CACb,MAAM,sBAAkC,EAAE;CAE1C,KAAK,MAAM,YAAY,YACrB,IAAI,SAAS,WAAW;MAClB,oBAAoB,SAAS,EAC/B,oBAAoB,KAAK,SAAS;QAE/B,IAAI,SAAS,WAAW,KAAK,SAAS,OAAO,KAAK;EACvD,MAAM,QAAQ,KAAK,QAAQ,SAAS,GAAG;EACvC,MAAM,MAAM,KAAK,QAAQ,SAAS,GAAG;EAErC,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,KAAK;GACjC,MAAM,kBAAmB,SAAS,UAAU,GAAG,EAAE,GAAG,KAAK;GACzD,IAAI,oBAAoB,gBAAgB,EACtC,oBAAoB,KAAK,gBAAgB;;;CAMjD,OAAO,oBAAoB,MAAM;;;;AC5DnC,MAAa,uBAAuB;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACzFD,SAAS,2BAA2B,QAAyB;CAC3D,IAAI;EAEF,MAAM,eAAe,2BAA2B,WAAW,SAAS;EAGpE,IAFgB,aAAa,iBAAiB,CAAC,oBAGhC,UAAU,WAAW,UAClC,aAAa,OAAO,IAAI,KAAK,OAE7B,OAAO;SAEH;CAER,OAAO;;;;;;;;AAST,SAAgB,+BAAyC;CACvD,OAAO,qBAAqB,OAAO,2BAA2B,CAAC,MAAM;;;;AC/BvE,MAAa,YAAY;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACpaD,SAAS,oBAAoB,UAA6B;CACxD,IAAI;EAGF,OADkB,6BAA6B,MAAM,EAAC,UAAS,CAC/C,CAAC,iBAAiB,CAAC,aAAa;SAC1C;CAER,OAAO;;;;;;;;AAST,SAAgB,wBAAoC;CAClD,OAAO,UAAU,OAAO,oBAAoB,CAAC,MAAM;;;;ACzBrD,MAAa,QAAQ;CACpB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACpCD,SAAS,gBAAgB,MAAqB;CAC5C,IAAI;EAGF,OADkB,2BAA2B,MAAM;GAAC,OAAO;GAAQ;GAAK,CACxD,CAAC,iBAAiB,CAAC,SAAS;SACtC;CAER,OAAO;;;;;;;;AAST,SAAgB,oBA4CZ;CACF,OAAO,MAAM,OAAO,gBAAgB,CAAC,MAAM;;;;;;;;;;;;;;;;;;ACR7C,SAAgB,kBAAkB,KAAkC;CAElE,QAAQ,KAAR;EACE,KAAK,YACH,OAAO,uBAAuB;EAChC,KAAK,aACH,OAAO,wBAAwB;EACjC,KAAK,YACH,OAAO,wBAAwB;EACjC,KAAK,mBACH,OAAO,8BAA8B;EACvC,KAAK,YACH,OAAO,uBAAuB;EAChC,KAAK,QACH,OAAO,mBAAmB;EAC5B,SAEE,MAAM,WAAW,kBAAkB,IAAI;;;;;AC3E7C,eAFa,YAEM,EAAE,qBAAqB,EAAC,OAAO,mBAAkB,CAAC"}
|
package/polyfill.iife.js
CHANGED
|
@@ -6,7 +6,7 @@ import { timezones } from "@formatjs_generated/cldr.supported-values/timezones.j
|
|
|
6
6
|
import { units } from "@formatjs_generated/cldr.supported-values/units.js";
|
|
7
7
|
//#region packages/intl-supportedvaluesof/should-polyfill.ts
|
|
8
8
|
function shouldPolyfill() {
|
|
9
|
-
return !("supportedValuesOf" in Intl);
|
|
9
|
+
return typeof Intl === "undefined" || !("supportedValuesOf" in Intl);
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
12
|
//#region node_modules/.aspect_rules_js/@formatjs+fast-memoize@0.0.0/node_modules/@formatjs/fast-memoize/index.js
|
|
@@ -133,6 +133,23 @@ function getSupportedCollations() {
|
|
|
133
133
|
}
|
|
134
134
|
//#endregion
|
|
135
135
|
//#region packages/ecma402-abstract/utils.js
|
|
136
|
+
function defineProperty(target, name, { value }) {
|
|
137
|
+
Object.defineProperty(target, name, {
|
|
138
|
+
configurable: true,
|
|
139
|
+
enumerable: false,
|
|
140
|
+
writable: true,
|
|
141
|
+
value
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
function ensureIntl() {
|
|
145
|
+
if (typeof Intl === "undefined") Object.defineProperty(globalThis, "Intl", {
|
|
146
|
+
configurable: true,
|
|
147
|
+
enumerable: false,
|
|
148
|
+
writable: true,
|
|
149
|
+
value: {}
|
|
150
|
+
});
|
|
151
|
+
return Intl;
|
|
152
|
+
}
|
|
136
153
|
const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });
|
|
137
154
|
memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
|
|
138
155
|
memoize((...args) => new Intl.Locale(...args), { strategy: strategies.variadic });
|
|
@@ -279,12 +296,8 @@ function supportedValuesOf(key) {
|
|
|
279
296
|
}
|
|
280
297
|
//#endregion
|
|
281
298
|
//#region packages/intl-supportedvaluesof/polyfill.ts
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
enumerable: true,
|
|
285
|
-
writable: false,
|
|
286
|
-
configurable: false
|
|
287
|
-
});
|
|
299
|
+
const intl = ensureIntl();
|
|
300
|
+
if (shouldPolyfill()) defineProperty(intl, "supportedValuesOf", { value: supportedValuesOf });
|
|
288
301
|
//#endregion
|
|
289
302
|
|
|
290
303
|
//# sourceMappingURL=polyfill.iife.js.map
|
package/polyfill.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { memoize, strategies } from "@formatjs/fast-memoize";
|
|
2
2
|
//#region packages/intl-supportedvaluesof/should-polyfill.ts
|
|
3
3
|
function shouldPolyfill() {
|
|
4
|
-
return !("supportedValuesOf" in Intl);
|
|
4
|
+
return typeof Intl === "undefined" || !("supportedValuesOf" in Intl);
|
|
5
5
|
}
|
|
6
6
|
//#endregion
|
|
7
7
|
//#region packages/intl-supportedvaluesof/memoize.ts
|
|
@@ -108,6 +108,23 @@ function getSupportedCollations() {
|
|
|
108
108
|
}
|
|
109
109
|
//#endregion
|
|
110
110
|
//#region packages/ecma402-abstract/utils.js
|
|
111
|
+
function defineProperty(target, name, { value }) {
|
|
112
|
+
Object.defineProperty(target, name, {
|
|
113
|
+
configurable: true,
|
|
114
|
+
enumerable: false,
|
|
115
|
+
writable: true,
|
|
116
|
+
value
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
function ensureIntl() {
|
|
120
|
+
if (typeof Intl === "undefined") Object.defineProperty(globalThis, "Intl", {
|
|
121
|
+
configurable: true,
|
|
122
|
+
enumerable: false,
|
|
123
|
+
writable: true,
|
|
124
|
+
value: {}
|
|
125
|
+
});
|
|
126
|
+
return Intl;
|
|
127
|
+
}
|
|
111
128
|
const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });
|
|
112
129
|
memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });
|
|
113
130
|
memoize((...args) => new Intl.Locale(...args), { strategy: strategies.variadic });
|
|
@@ -1144,12 +1161,8 @@ function supportedValuesOf(key) {
|
|
|
1144
1161
|
}
|
|
1145
1162
|
//#endregion
|
|
1146
1163
|
//#region packages/intl-supportedvaluesof/polyfill.ts
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
enumerable: true,
|
|
1150
|
-
writable: false,
|
|
1151
|
-
configurable: false
|
|
1152
|
-
});
|
|
1164
|
+
const intl = ensureIntl();
|
|
1165
|
+
if (shouldPolyfill()) defineProperty(intl, "supportedValuesOf", { value: supportedValuesOf });
|
|
1153
1166
|
//#endregion
|
|
1154
1167
|
|
|
1155
1168
|
//# sourceMappingURL=polyfill.js.map
|
package/polyfill.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"polyfill.js","names":[],"sources":["../should-polyfill.ts","../memoize.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/calendars.js","../get-supported-calendars.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/collations.js","../get-supported-collations.ts","../../ecma402-abstract/utils.js","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/currencies.js","../get-supported-currencies.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.number@0.0.0/node_modules/@formatjs_generated/cldr.number/numbering-systems.js","../get-supported-numbering-systems.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/timezones.js","../get-supported-timezones.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/units.js","../get-supported-units.ts","../index.ts","../polyfill.ts"],"sourcesContent":["export function shouldPolyfill(): boolean {\n return !('supportedValuesOf' in Intl)\n}\n","import {memoize, strategies} from '@formatjs/fast-memoize'\n\n/**\n * Implementation: Memoized factory for Intl.DateTimeFormat instances\n *\n * Creates and caches DateTimeFormat instances to avoid repeated instantiation overhead.\n * This is critical for performance since we test many candidate values against formatters.\n *\n * Uses variadic memoization strategy to handle varying numbers of constructor arguments.\n */\nexport const createMemoizedDateTimeFormat: (\n ...args: ConstructorParameters<typeof Intl.DateTimeFormat>\n) => Intl.DateTimeFormat = memoize(\n (...args: ConstructorParameters<typeof Intl.DateTimeFormat>) =>\n new Intl.DateTimeFormat(...args),\n {\n strategy: strategies.variadic,\n }\n)\n","/* @generated */\n// prettier-ignore\nexport const calendars = [\n\t\"buddhist\",\n\t\"chinese\",\n\t\"coptic\",\n\t\"dangi\",\n\t\"ethioaa\",\n\t\"ethiopic\",\n\t\"gregory\",\n\t\"hebrew\",\n\t\"indian\",\n\t\"islamic\",\n\t\"islamic-civil\",\n\t\"islamic-rgsa\",\n\t\"islamic-tbla\",\n\t\"islamic-umalqura\",\n\t\"islamicc\",\n\t\"iso8601\",\n\t\"japanese\",\n\t\"persian\",\n\t\"roc\"\n];\n","import {createMemoizedDateTimeFormat} from '#packages/intl-supportedvaluesof/memoize.js'\nimport type {Calendar} from '@formatjs_generated/cldr.supported-values/calendars.js'\nimport {calendars} from '@formatjs_generated/cldr.supported-values/calendars.js'\n\n/**\n * Implementation: Tests if a calendar is supported by attempting to create\n * a DateTimeFormat with that calendar and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR calendar types\n */\nfunction isSupportedCalendar(item: Calendar): boolean {\n try {\n // Always use 'en' for testing\n const dateTimeFormat = createMemoizedDateTimeFormat(`en-u-ca-${item}`)\n const options = dateTimeFormat.resolvedOptions().calendar\n\n // Verify the calendar was actually accepted (resolved calendar matches requested)\n return options === item\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported calendar identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCalendars(): Calendar[] {\n return calendars.filter(isSupportedCalendar).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const collations = [\n\t\"big5han\",\n\t\"compat\",\n\t\"dict\",\n\t\"direct\",\n\t\"ducet\",\n\t\"emoji\",\n\t\"eor\",\n\t\"gb2312\",\n\t\"phonebk\",\n\t\"phonetic\",\n\t\"pinyin\",\n\t\"reformed\",\n\t\"search\",\n\t\"searchjl\",\n\t\"standard\",\n\t\"stroke\",\n\t\"trad\",\n\t\"unihan\",\n\t\"zhuyin\"\n];\n","import type {Collation} from '@formatjs_generated/cldr.supported-values/collations.js'\nimport {collations} from '@formatjs_generated/cldr.supported-values/collations.js'\n\n/**\n * Implementation: Tests if a collation is supported by attempting to create\n * a Collator with that collation and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR collation types\n */\nfunction isSupportedCollation(collation: Collation): boolean {\n try {\n // Always use 'en' for testing\n return (\n Intl.Collator(`en-u-co-${collation}`).resolvedOptions().collation ===\n collation\n )\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported collation identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCollations(): Collation[] {\n return collations.filter(isSupportedCollation).sort()\n}\n","import { memoize, strategies } from \"@formatjs/fast-memoize\";\nexport function repeat(s, times) {\n\tif (typeof s.repeat === \"function\") {\n\t\treturn s.repeat(times);\n\t}\n\tconst arr = Array.from({ length: times });\n\tfor (let i = 0; i < arr.length; i++) {\n\t\tarr[i] = s;\n\t}\n\treturn arr.join(\"\");\n}\nexport function setInternalSlot(map, pl, field, value) {\n\tif (!map.get(pl)) {\n\t\tmap.set(pl, Object.create(null));\n\t}\n\tconst slots = map.get(pl);\n\tslots[field] = value;\n}\nexport function setMultiInternalSlots(map, pl, props) {\n\tfor (const k of Object.keys(props)) {\n\t\tsetInternalSlot(map, pl, k, props[k]);\n\t}\n}\nexport function getInternalSlot(map, pl, field) {\n\treturn getMultiInternalSlots(map, pl, field)[field];\n}\nexport function getMultiInternalSlots(map, pl, ...fields) {\n\tconst slots = map.get(pl);\n\tif (!slots) {\n\t\tthrow new TypeError(`${pl} InternalSlot has not been initialized`);\n\t}\n\treturn fields.reduce((all, f) => {\n\t\tall[f] = slots[f];\n\t\treturn all;\n\t}, Object.create(null));\n}\nexport function isLiteralPart(patternPart) {\n\treturn patternPart.type === \"literal\";\n}\n/*\n17 ECMAScript Standard Built-in Objects:\nEvery built-in Function object, including constructors, that is not\nidentified as an anonymous function has a name property whose value\nis a String.\n\nUnless otherwise specified, the name property of a built-in Function\nobject, if it exists, has the attributes { [[Writable]]: false,\n[[Enumerable]]: false, [[Configurable]]: true }.\n*/\nexport function defineProperty(target, name, { value }) {\n\tObject.defineProperty(target, name, {\n\t\tconfigurable: true,\n\t\tenumerable: false,\n\t\twritable: true,\n\t\tvalue\n\t});\n}\n/**\n* 7.3.5 CreateDataProperty\n* @param target\n* @param name\n* @param value\n*/\nexport function createDataProperty(target, name, value) {\n\tObject.defineProperty(target, name, {\n\t\tconfigurable: true,\n\t\tenumerable: true,\n\t\twritable: true,\n\t\tvalue\n\t});\n}\nexport const UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;\nexport function invariant(condition, message, Err = Error) {\n\tif (!condition) {\n\t\tthrow new Err(message);\n\t}\n}\nexport const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });\nexport const createMemoizedPluralRules = memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });\nexport const createMemoizedLocale = memoize((...args) => new Intl.Locale(...args), { strategy: strategies.variadic });\nexport const createMemoizedListFormat = memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });\n","/* @generated */\n// prettier-ignore\nexport const currencies = [\n\t\"ADP\",\n\t\"AED\",\n\t\"AFA\",\n\t\"AFN\",\n\t\"ALK\",\n\t\"ALL\",\n\t\"AMD\",\n\t\"ANG\",\n\t\"AOA\",\n\t\"AOK\",\n\t\"AON\",\n\t\"AOR\",\n\t\"ARA\",\n\t\"ARL\",\n\t\"ARM\",\n\t\"ARP\",\n\t\"ARS\",\n\t\"ATS\",\n\t\"AUD\",\n\t\"AWG\",\n\t\"AZM\",\n\t\"AZN\",\n\t\"BAD\",\n\t\"BAM\",\n\t\"BAN\",\n\t\"BBD\",\n\t\"BDT\",\n\t\"BEC\",\n\t\"BEF\",\n\t\"BEL\",\n\t\"BGL\",\n\t\"BGM\",\n\t\"BGN\",\n\t\"BGO\",\n\t\"BHD\",\n\t\"BIF\",\n\t\"BMD\",\n\t\"BND\",\n\t\"BOB\",\n\t\"BOL\",\n\t\"BOP\",\n\t\"BOV\",\n\t\"BRB\",\n\t\"BRC\",\n\t\"BRE\",\n\t\"BRL\",\n\t\"BRN\",\n\t\"BRR\",\n\t\"BRZ\",\n\t\"BSD\",\n\t\"BTN\",\n\t\"BUK\",\n\t\"BWP\",\n\t\"BYB\",\n\t\"BYN\",\n\t\"BYR\",\n\t\"BZD\",\n\t\"CAD\",\n\t\"CDF\",\n\t\"CHE\",\n\t\"CHF\",\n\t\"CHW\",\n\t\"CLE\",\n\t\"CLF\",\n\t\"CLP\",\n\t\"CNH\",\n\t\"CNX\",\n\t\"CNY\",\n\t\"COP\",\n\t\"COU\",\n\t\"CRC\",\n\t\"CSD\",\n\t\"CSK\",\n\t\"CUC\",\n\t\"CUP\",\n\t\"CVE\",\n\t\"CYP\",\n\t\"CZK\",\n\t\"DDM\",\n\t\"DEM\",\n\t\"DJF\",\n\t\"DKK\",\n\t\"DOP\",\n\t\"DZD\",\n\t\"ECS\",\n\t\"ECV\",\n\t\"EEK\",\n\t\"EGP\",\n\t\"ERN\",\n\t\"ESA\",\n\t\"ESB\",\n\t\"ESP\",\n\t\"ETB\",\n\t\"EUR\",\n\t\"FIM\",\n\t\"FJD\",\n\t\"FKP\",\n\t\"FRF\",\n\t\"GBP\",\n\t\"GEK\",\n\t\"GEL\",\n\t\"GHC\",\n\t\"GHS\",\n\t\"GIP\",\n\t\"GMD\",\n\t\"GNF\",\n\t\"GNS\",\n\t\"GQE\",\n\t\"GRD\",\n\t\"GTQ\",\n\t\"GWE\",\n\t\"GWP\",\n\t\"GYD\",\n\t\"HKD\",\n\t\"HNL\",\n\t\"HRD\",\n\t\"HRK\",\n\t\"HTG\",\n\t\"HUF\",\n\t\"IDR\",\n\t\"IEP\",\n\t\"ILP\",\n\t\"ILR\",\n\t\"ILS\",\n\t\"INR\",\n\t\"IQD\",\n\t\"IRR\",\n\t\"ISJ\",\n\t\"ISK\",\n\t\"ITL\",\n\t\"JMD\",\n\t\"JOD\",\n\t\"JPY\",\n\t\"KES\",\n\t\"KGS\",\n\t\"KHR\",\n\t\"KMF\",\n\t\"KPW\",\n\t\"KRH\",\n\t\"KRO\",\n\t\"KRW\",\n\t\"KWD\",\n\t\"KYD\",\n\t\"KZT\",\n\t\"LAK\",\n\t\"LBP\",\n\t\"LKR\",\n\t\"LRD\",\n\t\"LSL\",\n\t\"LTL\",\n\t\"LTT\",\n\t\"LUC\",\n\t\"LUF\",\n\t\"LUL\",\n\t\"LVL\",\n\t\"LVR\",\n\t\"LYD\",\n\t\"MAD\",\n\t\"MAF\",\n\t\"MCF\",\n\t\"MDC\",\n\t\"MDL\",\n\t\"MGA\",\n\t\"MGF\",\n\t\"MKD\",\n\t\"MKN\",\n\t\"MLF\",\n\t\"MMK\",\n\t\"MNT\",\n\t\"MOP\",\n\t\"MRO\",\n\t\"MRU\",\n\t\"MTL\",\n\t\"MTP\",\n\t\"MUR\",\n\t\"MVP\",\n\t\"MVR\",\n\t\"MWK\",\n\t\"MXN\",\n\t\"MXP\",\n\t\"MXV\",\n\t\"MYR\",\n\t\"MZE\",\n\t\"MZM\",\n\t\"MZN\",\n\t\"NAD\",\n\t\"NGN\",\n\t\"NIC\",\n\t\"NIO\",\n\t\"NLG\",\n\t\"NOK\",\n\t\"NPR\",\n\t\"NZD\",\n\t\"OMR\",\n\t\"PAB\",\n\t\"PEI\",\n\t\"PEN\",\n\t\"PES\",\n\t\"PGK\",\n\t\"PHP\",\n\t\"PKR\",\n\t\"PLN\",\n\t\"PLZ\",\n\t\"PTE\",\n\t\"PYG\",\n\t\"QAR\",\n\t\"RHD\",\n\t\"ROL\",\n\t\"RON\",\n\t\"RSD\",\n\t\"RUB\",\n\t\"RUR\",\n\t\"RWF\",\n\t\"SAR\",\n\t\"SBD\",\n\t\"SCR\",\n\t\"SDD\",\n\t\"SDG\",\n\t\"SDP\",\n\t\"SEK\",\n\t\"SGD\",\n\t\"SHP\",\n\t\"SIT\",\n\t\"SKK\",\n\t\"SLE\",\n\t\"SLL\",\n\t\"SOS\",\n\t\"SRD\",\n\t\"SRG\",\n\t\"SSP\",\n\t\"STD\",\n\t\"STN\",\n\t\"SUR\",\n\t\"SVC\",\n\t\"SYP\",\n\t\"SZL\",\n\t\"THB\",\n\t\"TJR\",\n\t\"TJS\",\n\t\"TMM\",\n\t\"TMT\",\n\t\"TND\",\n\t\"TOP\",\n\t\"TPE\",\n\t\"TRL\",\n\t\"TRY\",\n\t\"TTD\",\n\t\"TWD\",\n\t\"TZS\",\n\t\"UAH\",\n\t\"UAK\",\n\t\"UGS\",\n\t\"UGX\",\n\t\"USD\",\n\t\"USN\",\n\t\"USS\",\n\t\"UYI\",\n\t\"UYP\",\n\t\"UYU\",\n\t\"UYW\",\n\t\"UZS\",\n\t\"VEB\",\n\t\"VED\",\n\t\"VEF\",\n\t\"VES\",\n\t\"VND\",\n\t\"VNN\",\n\t\"VUV\",\n\t\"WST\",\n\t\"XAF\",\n\t\"XAG\",\n\t\"XAU\",\n\t\"XBA\",\n\t\"XBB\",\n\t\"XBC\",\n\t\"XBD\",\n\t\"XCD\",\n\t\"XCG\",\n\t\"XDR\",\n\t\"XEU\",\n\t\"XFO\",\n\t\"XFU\",\n\t\"XOF\",\n\t\"XPD\",\n\t\"XPF\",\n\t\"XPT\",\n\t\"XRE\",\n\t\"XSU\",\n\t\"XTS\",\n\t\"XUA\",\n\t\"XXX\",\n\t\"YDD\",\n\t\"YER\",\n\t\"YUD\",\n\t\"YUM\",\n\t\"YUN\",\n\t\"YUR\",\n\t\"ZAL\",\n\t\"ZAR\",\n\t\"ZMK\",\n\t\"ZMW\",\n\t\"ZRN\",\n\t\"ZRZ\",\n\t\"ZWD\",\n\t\"ZWG\",\n\t\"ZWL\",\n\t\"ZWR\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport type {Currency} from '@formatjs_generated/cldr.supported-values/currencies.js'\nimport {currencies} from '@formatjs_generated/cldr.supported-values/currencies.js'\n\n/**\n * Implementation: Tests if a currency is supported by attempting to create\n * a NumberFormat with that currency and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR currency codes (ISO 4217)\n */\nfunction isSupportedCurrency(currency: Currency): boolean {\n try {\n // Always use 'en' for testing\n const numberFormat = createMemoizedNumberFormat('en', {\n style: 'currency',\n currencyDisplay: 'name',\n currency,\n })\n\n const format = numberFormat.format(123)\n\n if (\n format.substring(0, 3) !== currency &&\n format.substring(format.length - 3) !== currency\n ) {\n return true\n }\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported currency identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCurrencies(): Currency[] {\n const ATOZ = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n const supportedCurrencies: Currency[] = []\n\n for (const currency of currencies) {\n if (currency.length === 3) {\n if (isSupportedCurrency(currency)) {\n supportedCurrencies.push(currency)\n }\n } else if (currency.length === 5 && currency[3] === '~') {\n const start = ATOZ.indexOf(currency[2])\n const end = ATOZ.indexOf(currency[4])\n\n for (let i = start; i <= end; i++) {\n const currentCurrency = (currency.substring(0, 2) + ATOZ[i]) as Currency\n if (isSupportedCurrency(currentCurrency)) {\n supportedCurrencies.push(currentCurrency)\n }\n }\n }\n }\n\n return supportedCurrencies.sort()\n}\n","export const numberingSystemNames = [\n\t\"adlm\",\n\t\"ahom\",\n\t\"arab\",\n\t\"arabext\",\n\t\"armn\",\n\t\"armnlow\",\n\t\"bali\",\n\t\"beng\",\n\t\"bhks\",\n\t\"brah\",\n\t\"cakm\",\n\t\"cham\",\n\t\"cyrl\",\n\t\"deva\",\n\t\"diak\",\n\t\"ethi\",\n\t\"fullwide\",\n\t\"gara\",\n\t\"geor\",\n\t\"gong\",\n\t\"gonm\",\n\t\"grek\",\n\t\"greklow\",\n\t\"gujr\",\n\t\"gukh\",\n\t\"guru\",\n\t\"hanidays\",\n\t\"hanidec\",\n\t\"hans\",\n\t\"hansfin\",\n\t\"hant\",\n\t\"hantfin\",\n\t\"hebr\",\n\t\"hmng\",\n\t\"hmnp\",\n\t\"java\",\n\t\"jpan\",\n\t\"jpanfin\",\n\t\"jpanyear\",\n\t\"kali\",\n\t\"kawi\",\n\t\"khmr\",\n\t\"knda\",\n\t\"krai\",\n\t\"lana\",\n\t\"lanatham\",\n\t\"laoo\",\n\t\"latn\",\n\t\"lepc\",\n\t\"limb\",\n\t\"mathbold\",\n\t\"mathdbl\",\n\t\"mathmono\",\n\t\"mathsanb\",\n\t\"mathsans\",\n\t\"mlym\",\n\t\"modi\",\n\t\"mong\",\n\t\"mroo\",\n\t\"mtei\",\n\t\"mymr\",\n\t\"mymrepka\",\n\t\"mymrpao\",\n\t\"mymrshan\",\n\t\"mymrtlng\",\n\t\"nagm\",\n\t\"newa\",\n\t\"nkoo\",\n\t\"olck\",\n\t\"onao\",\n\t\"orya\",\n\t\"osma\",\n\t\"outlined\",\n\t\"rohg\",\n\t\"roman\",\n\t\"romanlow\",\n\t\"saur\",\n\t\"segment\",\n\t\"shrd\",\n\t\"sind\",\n\t\"sinh\",\n\t\"sora\",\n\t\"sund\",\n\t\"sunu\",\n\t\"takr\",\n\t\"talu\",\n\t\"taml\",\n\t\"tamldec\",\n\t\"telu\",\n\t\"thai\",\n\t\"tibt\",\n\t\"tirh\",\n\t\"tnsa\",\n\t\"tols\",\n\t\"vaii\",\n\t\"wara\",\n\t\"wcho\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport {numberingSystemNames} from '@formatjs_generated/cldr.number/numbering-systems.js'\n\n/**\n * Implementation: Tests if a numbering system is supported by attempting to create\n * a NumberFormat with that numbering system and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR numbering system types\n */\nfunction isSupportedNumberingSystem(system: string): boolean {\n try {\n // Always use 'en' for testing\n const numberFormat = createMemoizedNumberFormat(`en-u-nu-${system}`)\n const options = numberFormat.resolvedOptions().numberingSystem\n\n if (\n (options === system && system === 'latn') ||\n numberFormat.format(123) !== '123'\n ) {\n return true\n }\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported numbering system identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedNumberingSystems(): string[] {\n return numberingSystemNames.filter(isSupportedNumberingSystem).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const timezones = [\n\t\"Africa/Abidjan\",\n\t\"Africa/Accra\",\n\t\"Africa/Addis_Ababa\",\n\t\"Africa/Algiers\",\n\t\"Africa/Asmara\",\n\t\"Africa/Bamako\",\n\t\"Africa/Bangui\",\n\t\"Africa/Banjul\",\n\t\"Africa/Bissau\",\n\t\"Africa/Blantyre\",\n\t\"Africa/Brazzaville\",\n\t\"Africa/Bujumbura\",\n\t\"Africa/Cairo\",\n\t\"Africa/Casablanca\",\n\t\"Africa/Ceuta\",\n\t\"Africa/Conakry\",\n\t\"Africa/Dakar\",\n\t\"Africa/Dar_es_Salaam\",\n\t\"Africa/Djibouti\",\n\t\"Africa/Douala\",\n\t\"Africa/El_Aaiun\",\n\t\"Africa/Freetown\",\n\t\"Africa/Gaborone\",\n\t\"Africa/Harare\",\n\t\"Africa/Johannesburg\",\n\t\"Africa/Juba\",\n\t\"Africa/Kampala\",\n\t\"Africa/Khartoum\",\n\t\"Africa/Kigali\",\n\t\"Africa/Kinshasa\",\n\t\"Africa/Lagos\",\n\t\"Africa/Libreville\",\n\t\"Africa/Lome\",\n\t\"Africa/Luanda\",\n\t\"Africa/Lubumbashi\",\n\t\"Africa/Lusaka\",\n\t\"Africa/Malabo\",\n\t\"Africa/Maputo\",\n\t\"Africa/Maseru\",\n\t\"Africa/Mbabane\",\n\t\"Africa/Mogadishu\",\n\t\"Africa/Monrovia\",\n\t\"Africa/Nairobi\",\n\t\"Africa/Ndjamena\",\n\t\"Africa/Niamey\",\n\t\"Africa/Nouakchott\",\n\t\"Africa/Ouagadougou\",\n\t\"Africa/Porto-Novo\",\n\t\"Africa/Sao_Tome\",\n\t\"Africa/Tripoli\",\n\t\"Africa/Tunis\",\n\t\"Africa/Windhoek\",\n\t\"America/Adak\",\n\t\"America/Anchorage\",\n\t\"America/Anguilla\",\n\t\"America/Antigua\",\n\t\"America/Araguaina\",\n\t\"America/Argentina/Buenos_Aires\",\n\t\"America/Argentina/Catamarca\",\n\t\"America/Argentina/Cordoba\",\n\t\"America/Argentina/Jujuy\",\n\t\"America/Argentina/La_Rioja\",\n\t\"America/Argentina/Mendoza\",\n\t\"America/Argentina/Rio_Gallegos\",\n\t\"America/Argentina/Salta\",\n\t\"America/Argentina/San_Juan\",\n\t\"America/Argentina/San_Luis\",\n\t\"America/Argentina/Tucuman\",\n\t\"America/Argentina/Ushuaia\",\n\t\"America/Aruba\",\n\t\"America/Asuncion\",\n\t\"America/Atikokan\",\n\t\"America/Bahia_Banderas\",\n\t\"America/Bahia\",\n\t\"America/Barbados\",\n\t\"America/Belem\",\n\t\"America/Belize\",\n\t\"America/Blanc-Sablon\",\n\t\"America/Boa_Vista\",\n\t\"America/Bogota\",\n\t\"America/Boise\",\n\t\"America/Cambridge_Bay\",\n\t\"America/Campo_Grande\",\n\t\"America/Cancun\",\n\t\"America/Caracas\",\n\t\"America/Cayenne\",\n\t\"America/Cayman\",\n\t\"America/Chicago\",\n\t\"America/Chihuahua\",\n\t\"America/Ciudad_Juarez\",\n\t\"America/Costa_Rica\",\n\t\"America/Coyhaique\",\n\t\"America/Creston\",\n\t\"America/Cuiaba\",\n\t\"America/Curacao\",\n\t\"America/Danmarkshavn\",\n\t\"America/Dawson_Creek\",\n\t\"America/Dawson\",\n\t\"America/Denver\",\n\t\"America/Detroit\",\n\t\"America/Dominica\",\n\t\"America/Edmonton\",\n\t\"America/Eirunepe\",\n\t\"America/El_Salvador\",\n\t\"America/Fort_Nelson\",\n\t\"America/Fortaleza\",\n\t\"America/Glace_Bay\",\n\t\"America/Goose_Bay\",\n\t\"America/Grand_Turk\",\n\t\"America/Grenada\",\n\t\"America/Guadeloupe\",\n\t\"America/Guatemala\",\n\t\"America/Guayaquil\",\n\t\"America/Guyana\",\n\t\"America/Halifax\",\n\t\"America/Havana\",\n\t\"America/Hermosillo\",\n\t\"America/Indiana/Indianapolis\",\n\t\"America/Indiana/Knox\",\n\t\"America/Indiana/Marengo\",\n\t\"America/Indiana/Petersburg\",\n\t\"America/Indiana/Tell_City\",\n\t\"America/Indiana/Vevay\",\n\t\"America/Indiana/Vincennes\",\n\t\"America/Indiana/Winamac\",\n\t\"America/Inuvik\",\n\t\"America/Iqaluit\",\n\t\"America/Jamaica\",\n\t\"America/Juneau\",\n\t\"America/Kentucky/Louisville\",\n\t\"America/Kentucky/Monticello\",\n\t\"America/Kralendijk\",\n\t\"America/La_Paz\",\n\t\"America/Lima\",\n\t\"America/Los_Angeles\",\n\t\"America/Lower_Princes\",\n\t\"America/Maceio\",\n\t\"America/Managua\",\n\t\"America/Manaus\",\n\t\"America/Marigot\",\n\t\"America/Martinique\",\n\t\"America/Matamoros\",\n\t\"America/Mazatlan\",\n\t\"America/Menominee\",\n\t\"America/Merida\",\n\t\"America/Metlakatla\",\n\t\"America/Mexico_City\",\n\t\"America/Miquelon\",\n\t\"America/Moncton\",\n\t\"America/Monterrey\",\n\t\"America/Montevideo\",\n\t\"America/Montserrat\",\n\t\"America/Nassau\",\n\t\"America/New_York\",\n\t\"America/Nipigon\",\n\t\"America/Nome\",\n\t\"America/Noronha\",\n\t\"America/North_Dakota/Beulah\",\n\t\"America/North_Dakota/Center\",\n\t\"America/North_Dakota/New_Salem\",\n\t\"America/Nuuk\",\n\t\"America/Ojinaga\",\n\t\"America/Panama\",\n\t\"America/Pangnirtung\",\n\t\"America/Paramaribo\",\n\t\"America/Phoenix\",\n\t\"America/Port_of_Spain\",\n\t\"America/Port-au-Prince\",\n\t\"America/Porto_Velho\",\n\t\"America/Puerto_Rico\",\n\t\"America/Punta_Arenas\",\n\t\"America/Rainy_River\",\n\t\"America/Rankin_Inlet\",\n\t\"America/Recife\",\n\t\"America/Regina\",\n\t\"America/Resolute\",\n\t\"America/Rio_Branco\",\n\t\"America/Santarem\",\n\t\"America/Santiago\",\n\t\"America/Santo_Domingo\",\n\t\"America/Sao_Paulo\",\n\t\"America/Scoresbysund\",\n\t\"America/Sitka\",\n\t\"America/St_Barthelemy\",\n\t\"America/St_Johns\",\n\t\"America/St_Kitts\",\n\t\"America/St_Lucia\",\n\t\"America/St_Thomas\",\n\t\"America/St_Vincent\",\n\t\"America/Swift_Current\",\n\t\"America/Tegucigalpa\",\n\t\"America/Thule\",\n\t\"America/Thunder_Bay\",\n\t\"America/Tijuana\",\n\t\"America/Toronto\",\n\t\"America/Tortola\",\n\t\"America/Vancouver\",\n\t\"America/Whitehorse\",\n\t\"America/Winnipeg\",\n\t\"America/Yakutat\",\n\t\"America/Yellowknife\",\n\t\"Antarctica/Casey\",\n\t\"Antarctica/Davis\",\n\t\"Antarctica/DumontDUrville\",\n\t\"Antarctica/Macquarie\",\n\t\"Antarctica/Mawson\",\n\t\"Antarctica/McMurdo\",\n\t\"Antarctica/Palmer\",\n\t\"Antarctica/Rothera\",\n\t\"Antarctica/Syowa\",\n\t\"Antarctica/Troll\",\n\t\"Antarctica/Vostok\",\n\t\"Arctic/Longyearbyen\",\n\t\"Asia/Aden\",\n\t\"Asia/Almaty\",\n\t\"Asia/Amman\",\n\t\"Asia/Anadyr\",\n\t\"Asia/Aqtau\",\n\t\"Asia/Aqtobe\",\n\t\"Asia/Ashgabat\",\n\t\"Asia/Atyrau\",\n\t\"Asia/Baghdad\",\n\t\"Asia/Bahrain\",\n\t\"Asia/Baku\",\n\t\"Asia/Bangkok\",\n\t\"Asia/Barnaul\",\n\t\"Asia/Beirut\",\n\t\"Asia/Bishkek\",\n\t\"Asia/Brunei\",\n\t\"Asia/Chita\",\n\t\"Asia/Choibalsan\",\n\t\"Asia/Colombo\",\n\t\"Asia/Damascus\",\n\t\"Asia/Dhaka\",\n\t\"Asia/Dili\",\n\t\"Asia/Dubai\",\n\t\"Asia/Dushanbe\",\n\t\"Asia/Famagusta\",\n\t\"Asia/Gaza\",\n\t\"Asia/Hebron\",\n\t\"Asia/Ho_Chi_Minh\",\n\t\"Asia/Hong_Kong\",\n\t\"Asia/Hovd\",\n\t\"Asia/Irkutsk\",\n\t\"Asia/Jakarta\",\n\t\"Asia/Jayapura\",\n\t\"Asia/Jerusalem\",\n\t\"Asia/Kabul\",\n\t\"Asia/Kamchatka\",\n\t\"Asia/Karachi\",\n\t\"Asia/Kathmandu\",\n\t\"Asia/Khandyga\",\n\t\"Asia/Kolkata\",\n\t\"Asia/Krasnoyarsk\",\n\t\"Asia/Kuala_Lumpur\",\n\t\"Asia/Kuching\",\n\t\"Asia/Kuwait\",\n\t\"Asia/Macau\",\n\t\"Asia/Magadan\",\n\t\"Asia/Makassar\",\n\t\"Asia/Manila\",\n\t\"Asia/Muscat\",\n\t\"Asia/Nicosia\",\n\t\"Asia/Novokuznetsk\",\n\t\"Asia/Novosibirsk\",\n\t\"Asia/Omsk\",\n\t\"Asia/Oral\",\n\t\"Asia/Phnom_Penh\",\n\t\"Asia/Pontianak\",\n\t\"Asia/Pyongyang\",\n\t\"Asia/Qatar\",\n\t\"Asia/Qostanay\",\n\t\"Asia/Qyzylorda\",\n\t\"Asia/Riyadh\",\n\t\"Asia/Sakhalin\",\n\t\"Asia/Samarkand\",\n\t\"Asia/Seoul\",\n\t\"Asia/Shanghai\",\n\t\"Asia/Singapore\",\n\t\"Asia/Srednekolymsk\",\n\t\"Asia/Taipei\",\n\t\"Asia/Tashkent\",\n\t\"Asia/Tbilisi\",\n\t\"Asia/Tehran\",\n\t\"Asia/Thimphu\",\n\t\"Asia/Tokyo\",\n\t\"Asia/Tomsk\",\n\t\"Asia/Ulaanbaatar\",\n\t\"Asia/Urumqi\",\n\t\"Asia/Ust-Nera\",\n\t\"Asia/Vientiane\",\n\t\"Asia/Vladivostok\",\n\t\"Asia/Yakutsk\",\n\t\"Asia/Yangon\",\n\t\"Asia/Yekaterinburg\",\n\t\"Asia/Yerevan\",\n\t\"Atlantic/Azores\",\n\t\"Atlantic/Bermuda\",\n\t\"Atlantic/Canary\",\n\t\"Atlantic/Cape_Verde\",\n\t\"Atlantic/Faroe\",\n\t\"Atlantic/Madeira\",\n\t\"Atlantic/Reykjavik\",\n\t\"Atlantic/South_Georgia\",\n\t\"Atlantic/St_Helena\",\n\t\"Atlantic/Stanley\",\n\t\"Australia/Adelaide\",\n\t\"Australia/Brisbane\",\n\t\"Australia/Broken_Hill\",\n\t\"Australia/Currie\",\n\t\"Australia/Darwin\",\n\t\"Australia/Eucla\",\n\t\"Australia/Hobart\",\n\t\"Australia/Lindeman\",\n\t\"Australia/Lord_Howe\",\n\t\"Australia/Melbourne\",\n\t\"Australia/Perth\",\n\t\"Australia/Sydney\",\n\t\"Europe/Amsterdam\",\n\t\"Europe/Andorra\",\n\t\"Europe/Astrakhan\",\n\t\"Europe/Athens\",\n\t\"Europe/Belgrade\",\n\t\"Europe/Berlin\",\n\t\"Europe/Bratislava\",\n\t\"Europe/Brussels\",\n\t\"Europe/Bucharest\",\n\t\"Europe/Budapest\",\n\t\"Europe/Busingen\",\n\t\"Europe/Chisinau\",\n\t\"Europe/Copenhagen\",\n\t\"Europe/Dublin\",\n\t\"Europe/Gibraltar\",\n\t\"Europe/Guernsey\",\n\t\"Europe/Helsinki\",\n\t\"Europe/Isle_of_Man\",\n\t\"Europe/Istanbul\",\n\t\"Europe/Jersey\",\n\t\"Europe/Kaliningrad\",\n\t\"Europe/Kyiv\",\n\t\"Europe/Kirov\",\n\t\"Europe/Lisbon\",\n\t\"Europe/Ljubljana\",\n\t\"Europe/London\",\n\t\"Europe/Luxembourg\",\n\t\"Europe/Madrid\",\n\t\"Europe/Malta\",\n\t\"Europe/Mariehamn\",\n\t\"Europe/Minsk\",\n\t\"Europe/Monaco\",\n\t\"Europe/Moscow\",\n\t\"Europe/Oslo\",\n\t\"Europe/Paris\",\n\t\"Europe/Podgorica\",\n\t\"Europe/Prague\",\n\t\"Europe/Riga\",\n\t\"Europe/Rome\",\n\t\"Europe/Samara\",\n\t\"Europe/San_Marino\",\n\t\"Europe/Sarajevo\",\n\t\"Europe/Saratov\",\n\t\"Europe/Simferopol\",\n\t\"Europe/Skopje\",\n\t\"Europe/Sofia\",\n\t\"Europe/Stockholm\",\n\t\"Europe/Tallinn\",\n\t\"Europe/Tirane\",\n\t\"Europe/Ulyanovsk\",\n\t\"Europe/Uzhgorod\",\n\t\"Europe/Vaduz\",\n\t\"Europe/Vatican\",\n\t\"Europe/Vienna\",\n\t\"Europe/Vilnius\",\n\t\"Europe/Volgograd\",\n\t\"Europe/Warsaw\",\n\t\"Europe/Zagreb\",\n\t\"Europe/Zaporozhye\",\n\t\"Europe/Zurich\",\n\t\"Indian/Antananarivo\",\n\t\"Indian/Chagos\",\n\t\"Indian/Christmas\",\n\t\"Indian/Cocos\",\n\t\"Indian/Comoro\",\n\t\"Indian/Kerguelen\",\n\t\"Indian/Mahe\",\n\t\"Indian/Maldives\",\n\t\"Indian/Mauritius\",\n\t\"Indian/Mayotte\",\n\t\"Indian/Reunion\",\n\t\"Pacific/Apia\",\n\t\"Pacific/Auckland\",\n\t\"Pacific/Bougainville\",\n\t\"Pacific/Chatham\",\n\t\"Pacific/Chuuk\",\n\t\"Pacific/Easter\",\n\t\"Pacific/Efate\",\n\t\"Pacific/Kanton\",\n\t\"Pacific/Fakaofo\",\n\t\"Pacific/Fiji\",\n\t\"Pacific/Funafuti\",\n\t\"Pacific/Galapagos\",\n\t\"Pacific/Gambier\",\n\t\"Pacific/Guadalcanal\",\n\t\"Pacific/Guam\",\n\t\"Pacific/Honolulu\",\n\t\"Pacific/Kiritimati\",\n\t\"Pacific/Kosrae\",\n\t\"Pacific/Kwajalein\",\n\t\"Pacific/Majuro\",\n\t\"Pacific/Marquesas\",\n\t\"Pacific/Midway\",\n\t\"Pacific/Nauru\",\n\t\"Pacific/Niue\",\n\t\"Pacific/Norfolk\",\n\t\"Pacific/Noumea\",\n\t\"Pacific/Pago_Pago\",\n\t\"Pacific/Palau\",\n\t\"Pacific/Pitcairn\",\n\t\"Pacific/Pohnpei\",\n\t\"Pacific/Port_Moresby\",\n\t\"Pacific/Rarotonga\",\n\t\"Pacific/Saipan\",\n\t\"Pacific/Tahiti\",\n\t\"Pacific/Tarawa\",\n\t\"Pacific/Tongatapu\",\n\t\"Pacific/Wake\",\n\t\"Pacific/Wallis\"\n];\n","import {createMemoizedDateTimeFormat} from '#packages/intl-supportedvaluesof/memoize.js'\nimport type {Timezone} from '@formatjs_generated/cldr.supported-values/timezones.js'\nimport {timezones} from '@formatjs_generated/cldr.supported-values/timezones.js'\n\n/**\n * Implementation: Tests if a timezone is supported by attempting to create\n * a DateTimeFormat with that timezone and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from IANA Time Zone Database\n */\nfunction isSupportedTimeZone(timeZone: Timezone): boolean {\n try {\n // Always use 'en' for testing\n const formatter = createMemoizedDateTimeFormat('en', {timeZone})\n return formatter.resolvedOptions().timeZone === timeZone\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported timezone identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedTimeZones(): Timezone[] {\n return timezones.filter(isSupportedTimeZone).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const units = [\n\t\"degree\",\n\t\"acre\",\n\t\"hectare\",\n\t\"percent\",\n\t\"bit\",\n\t\"byte\",\n\t\"gigabit\",\n\t\"gigabyte\",\n\t\"kilobit\",\n\t\"kilobyte\",\n\t\"megabit\",\n\t\"megabyte\",\n\t\"petabyte\",\n\t\"terabit\",\n\t\"terabyte\",\n\t\"day\",\n\t\"hour\",\n\t\"millisecond\",\n\t\"minute\",\n\t\"month\",\n\t\"second\",\n\t\"week\",\n\t\"year\",\n\t\"centimeter\",\n\t\"foot\",\n\t\"inch\",\n\t\"kilometer\",\n\t\"meter\",\n\t\"mile-scandinavian\",\n\t\"mile\",\n\t\"millimeter\",\n\t\"yard\",\n\t\"gram\",\n\t\"kilogram\",\n\t\"ounce\",\n\t\"pound\",\n\t\"stone\",\n\t\"celsius\",\n\t\"fahrenheit\",\n\t\"fluid-ounce\",\n\t\"gallon\",\n\t\"liter\",\n\t\"milliliter\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport type {Unit} from '@formatjs_generated/cldr.supported-values/units.js'\nimport {units} from '@formatjs_generated/cldr.supported-values/units.js'\n\n/**\n * Implementation: Tests if a unit is supported by attempting to create\n * a NumberFormat with that unit and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR unit types\n */\nfunction isSupportedUnit(unit: Unit): boolean {\n try {\n // Always use 'en' for testing\n const formatter = createMemoizedNumberFormat('en', {style: 'unit', unit})\n return formatter.resolvedOptions().unit === unit\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported unit identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedUnits(): (\n | 'degree'\n | 'acre'\n | 'hectare'\n | 'percent'\n | 'bit'\n | 'byte'\n | 'gigabit'\n | 'gigabyte'\n | 'kilobit'\n | 'kilobyte'\n | 'megabit'\n | 'megabyte'\n | 'petabyte'\n | 'terabit'\n | 'terabyte'\n | 'day'\n | 'hour'\n | 'millisecond'\n | 'minute'\n | 'month'\n | 'second'\n | 'week'\n | 'year'\n | 'centimeter'\n | 'foot'\n | 'inch'\n | 'kilometer'\n | 'meter'\n | 'mile-scandinavian'\n | 'mile'\n | 'millimeter'\n | 'yard'\n | 'gram'\n | 'kilogram'\n | 'ounce'\n | 'pound'\n | 'stone'\n | 'celsius'\n | 'fahrenheit'\n | 'fluid-ounce'\n | 'gallon'\n | 'liter'\n | 'milliliter'\n)[] {\n return units.filter(isSupportedUnit).sort()\n}\n","import {getSupportedCalendars} from '#packages/intl-supportedvaluesof/get-supported-calendars.js'\nimport {getSupportedCollations} from '#packages/intl-supportedvaluesof/get-supported-collations.js'\nimport {getSupportedCurrencies} from '#packages/intl-supportedvaluesof/get-supported-currencies.js'\nimport {getSupportedNumberingSystems} from '#packages/intl-supportedvaluesof/get-supported-numbering-systems.js'\nimport {getSupportedTimeZones} from '#packages/intl-supportedvaluesof/get-supported-timezones.js'\nimport {getSupportedUnits} from '#packages/intl-supportedvaluesof/get-supported-units.js'\n\nexport type {Calendar} from '@formatjs_generated/cldr.supported-values/calendars.js'\nexport type {Collation} from '@formatjs_generated/cldr.supported-values/collations.js'\nexport type {Currency} from '@formatjs_generated/cldr.supported-values/currencies.js'\nexport type {Timezone} from '@formatjs_generated/cldr.supported-values/timezones.js'\nexport type {Unit} from '@formatjs_generated/cldr.supported-values/units.js'\n\nexport {shouldPolyfill} from '#packages/intl-supportedvaluesof/should-polyfill.js'\n\n/**\n * ECMA-402 Spec: Intl.supportedValuesOf\n * https://tc39.es/ecma402/#sec-intl.supportedvaluesof\n */\ndeclare global {\n namespace Intl {\n /**\n * Returns an array containing the supported values for the given key.\n * @param key - The category of values to return\n * @returns A sorted array of strings\n */\n function supportedValuesOf(\n key:\n | 'calendar'\n | 'collation'\n | 'currency'\n | 'numberingSystem'\n | 'timeZone'\n | 'unit'\n ): string[]\n }\n}\n\n/**\n * ECMA-402 Spec: Supported value categories\n */\nexport type SupportedValuesOf =\n | 'calendar'\n | 'collation'\n | 'currency'\n | 'numberingSystem'\n | 'timeZone'\n | 'unit'\n\n/**\n * ECMA-402 Spec: Intl.supportedValuesOf(key)\n * https://tc39.es/ecma402/#sec-intl.supportedvaluesof\n *\n * Returns an array containing the supported calendar, collation, currency,\n * numbering systems, time zone, or unit values supported by the implementation.\n *\n * Implementation: We validate candidate values from CLDR against the actual\n * Intl formatters to determine runtime support rather than using static lists.\n * This ensures accuracy across different JavaScript engines and runtimes.\n *\n * @param key - The category of values to return\n * @returns A sorted array of unique string values\n */\nexport function supportedValuesOf(key: SupportedValuesOf): string[] {\n // ECMA-402 Spec: Dispatch to appropriate getter based on key\n switch (key) {\n case 'calendar':\n return getSupportedCalendars()\n case 'collation':\n return getSupportedCollations()\n case 'currency':\n return getSupportedCurrencies()\n case 'numberingSystem':\n return getSupportedNumberingSystems()\n case 'timeZone':\n return getSupportedTimeZones()\n case 'unit':\n return getSupportedUnits()\n default:\n // ECMA-402 Spec: Throw RangeError for invalid keys\n throw RangeError('Invalid key: ' + key)\n }\n}\n","import {shouldPolyfill} from '#packages/intl-supportedvaluesof/should-polyfill.js'\nimport {supportedValuesOf} from '#packages/intl-supportedvaluesof/index.js'\n\nif (shouldPolyfill()) {\n Object.defineProperty(Intl, 'supportedValuesOf', {\n value: supportedValuesOf,\n enumerable: true,\n writable: false,\n configurable: false,\n })\n}\n"],"x_google_ignoreList":[2,4,7,9,11,13],"mappings":";;AAAA,SAAgB,iBAA0B;AACxC,QAAO,EAAE,uBAAuB;;;;;;;;;;;;ACSlC,MAAa,+BAEc,SACxB,GAAG,SACF,IAAI,KAAK,eAAe,GAAG,KAAK,EAClC,EACE,UAAU,WAAW,UACtB,CACF;;;AChBD,MAAa,YAAY;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACZD,SAAS,oBAAoB,MAAyB;AACpD,KAAI;AAMF,SAJuB,6BAA6B,WAAW,OAAO,CACvC,iBAAiB,CAAC,aAG9B;SACb;AAER,QAAO;;;;;;;;AAST,SAAgB,wBAAoC;AAClD,QAAO,UAAU,OAAO,oBAAoB,CAAC,MAAM;;;;AC5BrD,MAAa,aAAa;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACbD,SAAS,qBAAqB,WAA+B;AAC3D,KAAI;AAEF,SACE,KAAK,SAAS,WAAW,YAAY,CAAC,iBAAiB,CAAC,cACxD;SAEI;AAER,QAAO;;;;;;;;AAST,SAAgB,yBAAsC;AACpD,QAAO,WAAW,OAAO,qBAAqB,CAAC,MAAM;;;;ACiDvD,MAAa,6BAA6B,SAAS,GAAG,SAAS,IAAI,KAAK,aAAa,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AACxF,SAAS,GAAG,SAAS,IAAI,KAAK,YAAY,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AAC3F,SAAS,GAAG,SAAS,IAAI,KAAK,OAAO,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AAC7E,SAAS,GAAG,SAAS,IAAI,KAAK,WAAW,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;;;AC9E7H,MAAa,aAAa;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;AC5SD,SAAS,oBAAoB,UAA6B;AACxD,KAAI;EAQF,MAAM,SANe,2BAA2B,MAAM;GACpD,OAAO;GACP,iBAAiB;GACjB;GACD,CAAC,CAE0B,OAAO,IAAI;AAEvC,MACE,OAAO,UAAU,GAAG,EAAE,KAAK,YAC3B,OAAO,UAAU,OAAO,SAAS,EAAE,KAAK,SAExC,QAAO;SAEH;AAER,QAAO;;;;;;;;AAST,SAAgB,yBAAqC;CACnD,MAAM,OAAO;CACb,MAAM,sBAAkC,EAAE;AAE1C,MAAK,MAAM,YAAY,WACrB,KAAI,SAAS,WAAW;MAClB,oBAAoB,SAAS,CAC/B,qBAAoB,KAAK,SAAS;YAE3B,SAAS,WAAW,KAAK,SAAS,OAAO,KAAK;EACvD,MAAM,QAAQ,KAAK,QAAQ,SAAS,GAAG;EACvC,MAAM,MAAM,KAAK,QAAQ,SAAS,GAAG;AAErC,OAAK,IAAI,IAAI,OAAO,KAAK,KAAK,KAAK;GACjC,MAAM,kBAAmB,SAAS,UAAU,GAAG,EAAE,GAAG,KAAK;AACzD,OAAI,oBAAoB,gBAAgB,CACtC,qBAAoB,KAAK,gBAAgB;;;AAMjD,QAAO,oBAAoB,MAAM;;;;AC5DnC,MAAa,uBAAuB;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACzFD,SAAS,2BAA2B,QAAyB;AAC3D,KAAI;EAEF,MAAM,eAAe,2BAA2B,WAAW,SAAS;AAGpE,MAFgB,aAAa,iBAAiB,CAAC,oBAGhC,UAAU,WAAW,UAClC,aAAa,OAAO,IAAI,KAAK,MAE7B,QAAO;SAEH;AAER,QAAO;;;;;;;;AAST,SAAgB,+BAAyC;AACvD,QAAO,qBAAqB,OAAO,2BAA2B,CAAC,MAAM;;;;AC/BvE,MAAa,YAAY;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACpaD,SAAS,oBAAoB,UAA6B;AACxD,KAAI;AAGF,SADkB,6BAA6B,MAAM,EAAC,UAAS,CAAC,CAC/C,iBAAiB,CAAC,aAAa;SAC1C;AAER,QAAO;;;;;;;;AAST,SAAgB,wBAAoC;AAClD,QAAO,UAAU,OAAO,oBAAoB,CAAC,MAAM;;;;ACzBrD,MAAa,QAAQ;CACpB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACpCD,SAAS,gBAAgB,MAAqB;AAC5C,KAAI;AAGF,SADkB,2BAA2B,MAAM;GAAC,OAAO;GAAQ;GAAK,CAAC,CACxD,iBAAiB,CAAC,SAAS;SACtC;AAER,QAAO;;;;;;;;AAST,SAAgB,oBA4CZ;AACF,QAAO,MAAM,OAAO,gBAAgB,CAAC,MAAM;;;;;;;;;;;;;;;;;;ACR7C,SAAgB,kBAAkB,KAAkC;AAElE,SAAQ,KAAR;EACE,KAAK,WACH,QAAO,uBAAuB;EAChC,KAAK,YACH,QAAO,wBAAwB;EACjC,KAAK,WACH,QAAO,wBAAwB;EACjC,KAAK,kBACH,QAAO,8BAA8B;EACvC,KAAK,WACH,QAAO,uBAAuB;EAChC,KAAK,OACH,QAAO,mBAAmB;EAC5B,QAEE,OAAM,WAAW,kBAAkB,IAAI;;;;;AC7E7C,IAAI,gBAAgB,CAClB,QAAO,eAAe,MAAM,qBAAqB;CAC/C,OAAO;CACP,YAAY;CACZ,UAAU;CACV,cAAc;CACf,CAAC"}
|
|
1
|
+
{"version":3,"file":"polyfill.js","names":[],"sources":["../should-polyfill.ts","../memoize.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/calendars.js","../get-supported-calendars.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/collations.js","../get-supported-collations.ts","../../ecma402-abstract/utils.js","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/currencies.js","../get-supported-currencies.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.number@0.0.0/node_modules/@formatjs_generated/cldr.number/numbering-systems.js","../get-supported-numbering-systems.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/timezones.js","../get-supported-timezones.ts","../../../node_modules/.aspect_rules_js/@formatjs_generated+cldr.supported-values@0.0.0/node_modules/@formatjs_generated/cldr.supported-values/units.js","../get-supported-units.ts","../index.ts","../polyfill.ts"],"sourcesContent":["export function shouldPolyfill(): boolean {\n return typeof Intl === 'undefined' || !('supportedValuesOf' in Intl)\n}\n","import {memoize, strategies} from '@formatjs/fast-memoize'\n\n/**\n * Implementation: Memoized factory for Intl.DateTimeFormat instances\n *\n * Creates and caches DateTimeFormat instances to avoid repeated instantiation overhead.\n * This is critical for performance since we test many candidate values against formatters.\n *\n * Uses variadic memoization strategy to handle varying numbers of constructor arguments.\n */\nexport const createMemoizedDateTimeFormat: (\n ...args: ConstructorParameters<typeof Intl.DateTimeFormat>\n) => Intl.DateTimeFormat = memoize(\n (...args: ConstructorParameters<typeof Intl.DateTimeFormat>) =>\n new Intl.DateTimeFormat(...args),\n {\n strategy: strategies.variadic,\n }\n)\n","/* @generated */\n// prettier-ignore\nexport const calendars = [\n\t\"buddhist\",\n\t\"chinese\",\n\t\"coptic\",\n\t\"dangi\",\n\t\"ethioaa\",\n\t\"ethiopic\",\n\t\"gregory\",\n\t\"hebrew\",\n\t\"indian\",\n\t\"islamic\",\n\t\"islamic-civil\",\n\t\"islamic-rgsa\",\n\t\"islamic-tbla\",\n\t\"islamic-umalqura\",\n\t\"islamicc\",\n\t\"iso8601\",\n\t\"japanese\",\n\t\"persian\",\n\t\"roc\"\n];\n","import {createMemoizedDateTimeFormat} from '#packages/intl-supportedvaluesof/memoize.js'\nimport type {Calendar} from '@formatjs_generated/cldr.supported-values/calendars.js'\nimport {calendars} from '@formatjs_generated/cldr.supported-values/calendars.js'\n\n/**\n * Implementation: Tests if a calendar is supported by attempting to create\n * a DateTimeFormat with that calendar and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR calendar types\n */\nfunction isSupportedCalendar(item: Calendar): boolean {\n try {\n // Always use 'en' for testing\n const dateTimeFormat = createMemoizedDateTimeFormat(`en-u-ca-${item}`)\n const options = dateTimeFormat.resolvedOptions().calendar\n\n // Verify the calendar was actually accepted (resolved calendar matches requested)\n return options === item\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported calendar identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCalendars(): Calendar[] {\n return calendars.filter(isSupportedCalendar).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const collations = [\n\t\"big5han\",\n\t\"compat\",\n\t\"dict\",\n\t\"direct\",\n\t\"ducet\",\n\t\"emoji\",\n\t\"eor\",\n\t\"gb2312\",\n\t\"phonebk\",\n\t\"phonetic\",\n\t\"pinyin\",\n\t\"reformed\",\n\t\"search\",\n\t\"searchjl\",\n\t\"standard\",\n\t\"stroke\",\n\t\"trad\",\n\t\"unihan\",\n\t\"zhuyin\"\n];\n","import type {Collation} from '@formatjs_generated/cldr.supported-values/collations.js'\nimport {collations} from '@formatjs_generated/cldr.supported-values/collations.js'\n\n/**\n * Implementation: Tests if a collation is supported by attempting to create\n * a Collator with that collation and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR collation types\n */\nfunction isSupportedCollation(collation: Collation): boolean {\n try {\n // Always use 'en' for testing\n return (\n Intl.Collator(`en-u-co-${collation}`).resolvedOptions().collation ===\n collation\n )\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported collation identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCollations(): Collation[] {\n return collations.filter(isSupportedCollation).sort()\n}\n","import { memoize, strategies } from \"@formatjs/fast-memoize\";\nexport function repeat(s, times) {\n\tif (typeof s.repeat === \"function\") {\n\t\treturn s.repeat(times);\n\t}\n\tconst arr = Array.from({ length: times });\n\tfor (let i = 0; i < arr.length; i++) {\n\t\tarr[i] = s;\n\t}\n\treturn arr.join(\"\");\n}\nexport function setInternalSlot(map, pl, field, value) {\n\tif (!map.get(pl)) {\n\t\tmap.set(pl, Object.create(null));\n\t}\n\tconst slots = map.get(pl);\n\tslots[field] = value;\n}\nexport function setMultiInternalSlots(map, pl, props) {\n\tfor (const k of Object.keys(props)) {\n\t\tsetInternalSlot(map, pl, k, props[k]);\n\t}\n}\nexport function getInternalSlot(map, pl, field) {\n\treturn getMultiInternalSlots(map, pl, field)[field];\n}\nexport function getMultiInternalSlots(map, pl, ...fields) {\n\tconst slots = map.get(pl);\n\tif (!slots) {\n\t\tthrow new TypeError(`${pl} InternalSlot has not been initialized`);\n\t}\n\treturn fields.reduce((all, f) => {\n\t\tall[f] = slots[f];\n\t\treturn all;\n\t}, Object.create(null));\n}\nexport function isLiteralPart(patternPart) {\n\treturn patternPart.type === \"literal\";\n}\n/*\n17 ECMAScript Standard Built-in Objects:\nEvery built-in Function object, including constructors, that is not\nidentified as an anonymous function has a name property whose value\nis a String.\n\nUnless otherwise specified, the name property of a built-in Function\nobject, if it exists, has the attributes { [[Writable]]: false,\n[[Enumerable]]: false, [[Configurable]]: true }.\n*/\nexport function defineProperty(target, name, { value }) {\n\tObject.defineProperty(target, name, {\n\t\tconfigurable: true,\n\t\tenumerable: false,\n\t\twritable: true,\n\t\tvalue\n\t});\n}\nexport function ensureIntl() {\n\tif (typeof Intl === \"undefined\") {\n\t\tObject.defineProperty(globalThis, \"Intl\", {\n\t\t\tconfigurable: true,\n\t\t\tenumerable: false,\n\t\t\twritable: true,\n\t\t\tvalue: {}\n\t\t});\n\t}\n\treturn Intl;\n}\n/**\n* 7.3.5 CreateDataProperty\n* @param target\n* @param name\n* @param value\n*/\nexport function createDataProperty(target, name, value) {\n\tObject.defineProperty(target, name, {\n\t\tconfigurable: true,\n\t\tenumerable: true,\n\t\twritable: true,\n\t\tvalue\n\t});\n}\nexport const UNICODE_EXTENSION_SEQUENCE_REGEX = /-u(?:-[0-9a-z]{2,8})+/gi;\nexport function invariant(condition, message, Err = Error) {\n\tif (!condition) {\n\t\tthrow new Err(message);\n\t}\n}\nexport const createMemoizedNumberFormat = memoize((...args) => new Intl.NumberFormat(...args), { strategy: strategies.variadic });\nexport const createMemoizedPluralRules = memoize((...args) => new Intl.PluralRules(...args), { strategy: strategies.variadic });\nexport const createMemoizedLocale = memoize((...args) => new Intl.Locale(...args), { strategy: strategies.variadic });\nexport const createMemoizedListFormat = memoize((...args) => new Intl.ListFormat(...args), { strategy: strategies.variadic });\n","/* @generated */\n// prettier-ignore\nexport const currencies = [\n\t\"ADP\",\n\t\"AED\",\n\t\"AFA\",\n\t\"AFN\",\n\t\"ALK\",\n\t\"ALL\",\n\t\"AMD\",\n\t\"ANG\",\n\t\"AOA\",\n\t\"AOK\",\n\t\"AON\",\n\t\"AOR\",\n\t\"ARA\",\n\t\"ARL\",\n\t\"ARM\",\n\t\"ARP\",\n\t\"ARS\",\n\t\"ATS\",\n\t\"AUD\",\n\t\"AWG\",\n\t\"AZM\",\n\t\"AZN\",\n\t\"BAD\",\n\t\"BAM\",\n\t\"BAN\",\n\t\"BBD\",\n\t\"BDT\",\n\t\"BEC\",\n\t\"BEF\",\n\t\"BEL\",\n\t\"BGL\",\n\t\"BGM\",\n\t\"BGN\",\n\t\"BGO\",\n\t\"BHD\",\n\t\"BIF\",\n\t\"BMD\",\n\t\"BND\",\n\t\"BOB\",\n\t\"BOL\",\n\t\"BOP\",\n\t\"BOV\",\n\t\"BRB\",\n\t\"BRC\",\n\t\"BRE\",\n\t\"BRL\",\n\t\"BRN\",\n\t\"BRR\",\n\t\"BRZ\",\n\t\"BSD\",\n\t\"BTN\",\n\t\"BUK\",\n\t\"BWP\",\n\t\"BYB\",\n\t\"BYN\",\n\t\"BYR\",\n\t\"BZD\",\n\t\"CAD\",\n\t\"CDF\",\n\t\"CHE\",\n\t\"CHF\",\n\t\"CHW\",\n\t\"CLE\",\n\t\"CLF\",\n\t\"CLP\",\n\t\"CNH\",\n\t\"CNX\",\n\t\"CNY\",\n\t\"COP\",\n\t\"COU\",\n\t\"CRC\",\n\t\"CSD\",\n\t\"CSK\",\n\t\"CUC\",\n\t\"CUP\",\n\t\"CVE\",\n\t\"CYP\",\n\t\"CZK\",\n\t\"DDM\",\n\t\"DEM\",\n\t\"DJF\",\n\t\"DKK\",\n\t\"DOP\",\n\t\"DZD\",\n\t\"ECS\",\n\t\"ECV\",\n\t\"EEK\",\n\t\"EGP\",\n\t\"ERN\",\n\t\"ESA\",\n\t\"ESB\",\n\t\"ESP\",\n\t\"ETB\",\n\t\"EUR\",\n\t\"FIM\",\n\t\"FJD\",\n\t\"FKP\",\n\t\"FRF\",\n\t\"GBP\",\n\t\"GEK\",\n\t\"GEL\",\n\t\"GHC\",\n\t\"GHS\",\n\t\"GIP\",\n\t\"GMD\",\n\t\"GNF\",\n\t\"GNS\",\n\t\"GQE\",\n\t\"GRD\",\n\t\"GTQ\",\n\t\"GWE\",\n\t\"GWP\",\n\t\"GYD\",\n\t\"HKD\",\n\t\"HNL\",\n\t\"HRD\",\n\t\"HRK\",\n\t\"HTG\",\n\t\"HUF\",\n\t\"IDR\",\n\t\"IEP\",\n\t\"ILP\",\n\t\"ILR\",\n\t\"ILS\",\n\t\"INR\",\n\t\"IQD\",\n\t\"IRR\",\n\t\"ISJ\",\n\t\"ISK\",\n\t\"ITL\",\n\t\"JMD\",\n\t\"JOD\",\n\t\"JPY\",\n\t\"KES\",\n\t\"KGS\",\n\t\"KHR\",\n\t\"KMF\",\n\t\"KPW\",\n\t\"KRH\",\n\t\"KRO\",\n\t\"KRW\",\n\t\"KWD\",\n\t\"KYD\",\n\t\"KZT\",\n\t\"LAK\",\n\t\"LBP\",\n\t\"LKR\",\n\t\"LRD\",\n\t\"LSL\",\n\t\"LTL\",\n\t\"LTT\",\n\t\"LUC\",\n\t\"LUF\",\n\t\"LUL\",\n\t\"LVL\",\n\t\"LVR\",\n\t\"LYD\",\n\t\"MAD\",\n\t\"MAF\",\n\t\"MCF\",\n\t\"MDC\",\n\t\"MDL\",\n\t\"MGA\",\n\t\"MGF\",\n\t\"MKD\",\n\t\"MKN\",\n\t\"MLF\",\n\t\"MMK\",\n\t\"MNT\",\n\t\"MOP\",\n\t\"MRO\",\n\t\"MRU\",\n\t\"MTL\",\n\t\"MTP\",\n\t\"MUR\",\n\t\"MVP\",\n\t\"MVR\",\n\t\"MWK\",\n\t\"MXN\",\n\t\"MXP\",\n\t\"MXV\",\n\t\"MYR\",\n\t\"MZE\",\n\t\"MZM\",\n\t\"MZN\",\n\t\"NAD\",\n\t\"NGN\",\n\t\"NIC\",\n\t\"NIO\",\n\t\"NLG\",\n\t\"NOK\",\n\t\"NPR\",\n\t\"NZD\",\n\t\"OMR\",\n\t\"PAB\",\n\t\"PEI\",\n\t\"PEN\",\n\t\"PES\",\n\t\"PGK\",\n\t\"PHP\",\n\t\"PKR\",\n\t\"PLN\",\n\t\"PLZ\",\n\t\"PTE\",\n\t\"PYG\",\n\t\"QAR\",\n\t\"RHD\",\n\t\"ROL\",\n\t\"RON\",\n\t\"RSD\",\n\t\"RUB\",\n\t\"RUR\",\n\t\"RWF\",\n\t\"SAR\",\n\t\"SBD\",\n\t\"SCR\",\n\t\"SDD\",\n\t\"SDG\",\n\t\"SDP\",\n\t\"SEK\",\n\t\"SGD\",\n\t\"SHP\",\n\t\"SIT\",\n\t\"SKK\",\n\t\"SLE\",\n\t\"SLL\",\n\t\"SOS\",\n\t\"SRD\",\n\t\"SRG\",\n\t\"SSP\",\n\t\"STD\",\n\t\"STN\",\n\t\"SUR\",\n\t\"SVC\",\n\t\"SYP\",\n\t\"SZL\",\n\t\"THB\",\n\t\"TJR\",\n\t\"TJS\",\n\t\"TMM\",\n\t\"TMT\",\n\t\"TND\",\n\t\"TOP\",\n\t\"TPE\",\n\t\"TRL\",\n\t\"TRY\",\n\t\"TTD\",\n\t\"TWD\",\n\t\"TZS\",\n\t\"UAH\",\n\t\"UAK\",\n\t\"UGS\",\n\t\"UGX\",\n\t\"USD\",\n\t\"USN\",\n\t\"USS\",\n\t\"UYI\",\n\t\"UYP\",\n\t\"UYU\",\n\t\"UYW\",\n\t\"UZS\",\n\t\"VEB\",\n\t\"VED\",\n\t\"VEF\",\n\t\"VES\",\n\t\"VND\",\n\t\"VNN\",\n\t\"VUV\",\n\t\"WST\",\n\t\"XAF\",\n\t\"XAG\",\n\t\"XAU\",\n\t\"XBA\",\n\t\"XBB\",\n\t\"XBC\",\n\t\"XBD\",\n\t\"XCD\",\n\t\"XCG\",\n\t\"XDR\",\n\t\"XEU\",\n\t\"XFO\",\n\t\"XFU\",\n\t\"XOF\",\n\t\"XPD\",\n\t\"XPF\",\n\t\"XPT\",\n\t\"XRE\",\n\t\"XSU\",\n\t\"XTS\",\n\t\"XUA\",\n\t\"XXX\",\n\t\"YDD\",\n\t\"YER\",\n\t\"YUD\",\n\t\"YUM\",\n\t\"YUN\",\n\t\"YUR\",\n\t\"ZAL\",\n\t\"ZAR\",\n\t\"ZMK\",\n\t\"ZMW\",\n\t\"ZRN\",\n\t\"ZRZ\",\n\t\"ZWD\",\n\t\"ZWG\",\n\t\"ZWL\",\n\t\"ZWR\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport type {Currency} from '@formatjs_generated/cldr.supported-values/currencies.js'\nimport {currencies} from '@formatjs_generated/cldr.supported-values/currencies.js'\n\n/**\n * Implementation: Tests if a currency is supported by attempting to create\n * a NumberFormat with that currency and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR currency codes (ISO 4217)\n */\nfunction isSupportedCurrency(currency: Currency): boolean {\n try {\n // Always use 'en' for testing\n const numberFormat = createMemoizedNumberFormat('en', {\n style: 'currency',\n currencyDisplay: 'name',\n currency,\n })\n\n const format = numberFormat.format(123)\n\n if (\n format.substring(0, 3) !== currency &&\n format.substring(format.length - 3) !== currency\n ) {\n return true\n }\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported currency identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedCurrencies(): Currency[] {\n const ATOZ = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'\n const supportedCurrencies: Currency[] = []\n\n for (const currency of currencies) {\n if (currency.length === 3) {\n if (isSupportedCurrency(currency)) {\n supportedCurrencies.push(currency)\n }\n } else if (currency.length === 5 && currency[3] === '~') {\n const start = ATOZ.indexOf(currency[2])\n const end = ATOZ.indexOf(currency[4])\n\n for (let i = start; i <= end; i++) {\n const currentCurrency = (currency.substring(0, 2) + ATOZ[i]) as Currency\n if (isSupportedCurrency(currentCurrency)) {\n supportedCurrencies.push(currentCurrency)\n }\n }\n }\n }\n\n return supportedCurrencies.sort()\n}\n","export const numberingSystemNames = [\n\t\"adlm\",\n\t\"ahom\",\n\t\"arab\",\n\t\"arabext\",\n\t\"armn\",\n\t\"armnlow\",\n\t\"bali\",\n\t\"beng\",\n\t\"bhks\",\n\t\"brah\",\n\t\"cakm\",\n\t\"cham\",\n\t\"cyrl\",\n\t\"deva\",\n\t\"diak\",\n\t\"ethi\",\n\t\"fullwide\",\n\t\"gara\",\n\t\"geor\",\n\t\"gong\",\n\t\"gonm\",\n\t\"grek\",\n\t\"greklow\",\n\t\"gujr\",\n\t\"gukh\",\n\t\"guru\",\n\t\"hanidays\",\n\t\"hanidec\",\n\t\"hans\",\n\t\"hansfin\",\n\t\"hant\",\n\t\"hantfin\",\n\t\"hebr\",\n\t\"hmng\",\n\t\"hmnp\",\n\t\"java\",\n\t\"jpan\",\n\t\"jpanfin\",\n\t\"jpanyear\",\n\t\"kali\",\n\t\"kawi\",\n\t\"khmr\",\n\t\"knda\",\n\t\"krai\",\n\t\"lana\",\n\t\"lanatham\",\n\t\"laoo\",\n\t\"latn\",\n\t\"lepc\",\n\t\"limb\",\n\t\"mathbold\",\n\t\"mathdbl\",\n\t\"mathmono\",\n\t\"mathsanb\",\n\t\"mathsans\",\n\t\"mlym\",\n\t\"modi\",\n\t\"mong\",\n\t\"mroo\",\n\t\"mtei\",\n\t\"mymr\",\n\t\"mymrepka\",\n\t\"mymrpao\",\n\t\"mymrshan\",\n\t\"mymrtlng\",\n\t\"nagm\",\n\t\"newa\",\n\t\"nkoo\",\n\t\"olck\",\n\t\"onao\",\n\t\"orya\",\n\t\"osma\",\n\t\"outlined\",\n\t\"rohg\",\n\t\"roman\",\n\t\"romanlow\",\n\t\"saur\",\n\t\"segment\",\n\t\"shrd\",\n\t\"sind\",\n\t\"sinh\",\n\t\"sora\",\n\t\"sund\",\n\t\"sunu\",\n\t\"takr\",\n\t\"talu\",\n\t\"taml\",\n\t\"tamldec\",\n\t\"telu\",\n\t\"thai\",\n\t\"tibt\",\n\t\"tirh\",\n\t\"tnsa\",\n\t\"tols\",\n\t\"vaii\",\n\t\"wara\",\n\t\"wcho\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport {numberingSystemNames} from '@formatjs_generated/cldr.number/numbering-systems.js'\n\n/**\n * Implementation: Tests if a numbering system is supported by attempting to create\n * a NumberFormat with that numbering system and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR numbering system types\n */\nfunction isSupportedNumberingSystem(system: string): boolean {\n try {\n // Always use 'en' for testing\n const numberFormat = createMemoizedNumberFormat(`en-u-nu-${system}`)\n const options = numberFormat.resolvedOptions().numberingSystem\n\n if (\n (options === system && system === 'latn') ||\n numberFormat.format(123) !== '123'\n ) {\n return true\n }\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported numbering system identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedNumberingSystems(): string[] {\n return numberingSystemNames.filter(isSupportedNumberingSystem).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const timezones = [\n\t\"Africa/Abidjan\",\n\t\"Africa/Accra\",\n\t\"Africa/Addis_Ababa\",\n\t\"Africa/Algiers\",\n\t\"Africa/Asmara\",\n\t\"Africa/Bamako\",\n\t\"Africa/Bangui\",\n\t\"Africa/Banjul\",\n\t\"Africa/Bissau\",\n\t\"Africa/Blantyre\",\n\t\"Africa/Brazzaville\",\n\t\"Africa/Bujumbura\",\n\t\"Africa/Cairo\",\n\t\"Africa/Casablanca\",\n\t\"Africa/Ceuta\",\n\t\"Africa/Conakry\",\n\t\"Africa/Dakar\",\n\t\"Africa/Dar_es_Salaam\",\n\t\"Africa/Djibouti\",\n\t\"Africa/Douala\",\n\t\"Africa/El_Aaiun\",\n\t\"Africa/Freetown\",\n\t\"Africa/Gaborone\",\n\t\"Africa/Harare\",\n\t\"Africa/Johannesburg\",\n\t\"Africa/Juba\",\n\t\"Africa/Kampala\",\n\t\"Africa/Khartoum\",\n\t\"Africa/Kigali\",\n\t\"Africa/Kinshasa\",\n\t\"Africa/Lagos\",\n\t\"Africa/Libreville\",\n\t\"Africa/Lome\",\n\t\"Africa/Luanda\",\n\t\"Africa/Lubumbashi\",\n\t\"Africa/Lusaka\",\n\t\"Africa/Malabo\",\n\t\"Africa/Maputo\",\n\t\"Africa/Maseru\",\n\t\"Africa/Mbabane\",\n\t\"Africa/Mogadishu\",\n\t\"Africa/Monrovia\",\n\t\"Africa/Nairobi\",\n\t\"Africa/Ndjamena\",\n\t\"Africa/Niamey\",\n\t\"Africa/Nouakchott\",\n\t\"Africa/Ouagadougou\",\n\t\"Africa/Porto-Novo\",\n\t\"Africa/Sao_Tome\",\n\t\"Africa/Tripoli\",\n\t\"Africa/Tunis\",\n\t\"Africa/Windhoek\",\n\t\"America/Adak\",\n\t\"America/Anchorage\",\n\t\"America/Anguilla\",\n\t\"America/Antigua\",\n\t\"America/Araguaina\",\n\t\"America/Argentina/Buenos_Aires\",\n\t\"America/Argentina/Catamarca\",\n\t\"America/Argentina/Cordoba\",\n\t\"America/Argentina/Jujuy\",\n\t\"America/Argentina/La_Rioja\",\n\t\"America/Argentina/Mendoza\",\n\t\"America/Argentina/Rio_Gallegos\",\n\t\"America/Argentina/Salta\",\n\t\"America/Argentina/San_Juan\",\n\t\"America/Argentina/San_Luis\",\n\t\"America/Argentina/Tucuman\",\n\t\"America/Argentina/Ushuaia\",\n\t\"America/Aruba\",\n\t\"America/Asuncion\",\n\t\"America/Atikokan\",\n\t\"America/Bahia_Banderas\",\n\t\"America/Bahia\",\n\t\"America/Barbados\",\n\t\"America/Belem\",\n\t\"America/Belize\",\n\t\"America/Blanc-Sablon\",\n\t\"America/Boa_Vista\",\n\t\"America/Bogota\",\n\t\"America/Boise\",\n\t\"America/Cambridge_Bay\",\n\t\"America/Campo_Grande\",\n\t\"America/Cancun\",\n\t\"America/Caracas\",\n\t\"America/Cayenne\",\n\t\"America/Cayman\",\n\t\"America/Chicago\",\n\t\"America/Chihuahua\",\n\t\"America/Ciudad_Juarez\",\n\t\"America/Costa_Rica\",\n\t\"America/Coyhaique\",\n\t\"America/Creston\",\n\t\"America/Cuiaba\",\n\t\"America/Curacao\",\n\t\"America/Danmarkshavn\",\n\t\"America/Dawson_Creek\",\n\t\"America/Dawson\",\n\t\"America/Denver\",\n\t\"America/Detroit\",\n\t\"America/Dominica\",\n\t\"America/Edmonton\",\n\t\"America/Eirunepe\",\n\t\"America/El_Salvador\",\n\t\"America/Fort_Nelson\",\n\t\"America/Fortaleza\",\n\t\"America/Glace_Bay\",\n\t\"America/Goose_Bay\",\n\t\"America/Grand_Turk\",\n\t\"America/Grenada\",\n\t\"America/Guadeloupe\",\n\t\"America/Guatemala\",\n\t\"America/Guayaquil\",\n\t\"America/Guyana\",\n\t\"America/Halifax\",\n\t\"America/Havana\",\n\t\"America/Hermosillo\",\n\t\"America/Indiana/Indianapolis\",\n\t\"America/Indiana/Knox\",\n\t\"America/Indiana/Marengo\",\n\t\"America/Indiana/Petersburg\",\n\t\"America/Indiana/Tell_City\",\n\t\"America/Indiana/Vevay\",\n\t\"America/Indiana/Vincennes\",\n\t\"America/Indiana/Winamac\",\n\t\"America/Inuvik\",\n\t\"America/Iqaluit\",\n\t\"America/Jamaica\",\n\t\"America/Juneau\",\n\t\"America/Kentucky/Louisville\",\n\t\"America/Kentucky/Monticello\",\n\t\"America/Kralendijk\",\n\t\"America/La_Paz\",\n\t\"America/Lima\",\n\t\"America/Los_Angeles\",\n\t\"America/Lower_Princes\",\n\t\"America/Maceio\",\n\t\"America/Managua\",\n\t\"America/Manaus\",\n\t\"America/Marigot\",\n\t\"America/Martinique\",\n\t\"America/Matamoros\",\n\t\"America/Mazatlan\",\n\t\"America/Menominee\",\n\t\"America/Merida\",\n\t\"America/Metlakatla\",\n\t\"America/Mexico_City\",\n\t\"America/Miquelon\",\n\t\"America/Moncton\",\n\t\"America/Monterrey\",\n\t\"America/Montevideo\",\n\t\"America/Montserrat\",\n\t\"America/Nassau\",\n\t\"America/New_York\",\n\t\"America/Nipigon\",\n\t\"America/Nome\",\n\t\"America/Noronha\",\n\t\"America/North_Dakota/Beulah\",\n\t\"America/North_Dakota/Center\",\n\t\"America/North_Dakota/New_Salem\",\n\t\"America/Nuuk\",\n\t\"America/Ojinaga\",\n\t\"America/Panama\",\n\t\"America/Pangnirtung\",\n\t\"America/Paramaribo\",\n\t\"America/Phoenix\",\n\t\"America/Port_of_Spain\",\n\t\"America/Port-au-Prince\",\n\t\"America/Porto_Velho\",\n\t\"America/Puerto_Rico\",\n\t\"America/Punta_Arenas\",\n\t\"America/Rainy_River\",\n\t\"America/Rankin_Inlet\",\n\t\"America/Recife\",\n\t\"America/Regina\",\n\t\"America/Resolute\",\n\t\"America/Rio_Branco\",\n\t\"America/Santarem\",\n\t\"America/Santiago\",\n\t\"America/Santo_Domingo\",\n\t\"America/Sao_Paulo\",\n\t\"America/Scoresbysund\",\n\t\"America/Sitka\",\n\t\"America/St_Barthelemy\",\n\t\"America/St_Johns\",\n\t\"America/St_Kitts\",\n\t\"America/St_Lucia\",\n\t\"America/St_Thomas\",\n\t\"America/St_Vincent\",\n\t\"America/Swift_Current\",\n\t\"America/Tegucigalpa\",\n\t\"America/Thule\",\n\t\"America/Thunder_Bay\",\n\t\"America/Tijuana\",\n\t\"America/Toronto\",\n\t\"America/Tortola\",\n\t\"America/Vancouver\",\n\t\"America/Whitehorse\",\n\t\"America/Winnipeg\",\n\t\"America/Yakutat\",\n\t\"America/Yellowknife\",\n\t\"Antarctica/Casey\",\n\t\"Antarctica/Davis\",\n\t\"Antarctica/DumontDUrville\",\n\t\"Antarctica/Macquarie\",\n\t\"Antarctica/Mawson\",\n\t\"Antarctica/McMurdo\",\n\t\"Antarctica/Palmer\",\n\t\"Antarctica/Rothera\",\n\t\"Antarctica/Syowa\",\n\t\"Antarctica/Troll\",\n\t\"Antarctica/Vostok\",\n\t\"Arctic/Longyearbyen\",\n\t\"Asia/Aden\",\n\t\"Asia/Almaty\",\n\t\"Asia/Amman\",\n\t\"Asia/Anadyr\",\n\t\"Asia/Aqtau\",\n\t\"Asia/Aqtobe\",\n\t\"Asia/Ashgabat\",\n\t\"Asia/Atyrau\",\n\t\"Asia/Baghdad\",\n\t\"Asia/Bahrain\",\n\t\"Asia/Baku\",\n\t\"Asia/Bangkok\",\n\t\"Asia/Barnaul\",\n\t\"Asia/Beirut\",\n\t\"Asia/Bishkek\",\n\t\"Asia/Brunei\",\n\t\"Asia/Chita\",\n\t\"Asia/Choibalsan\",\n\t\"Asia/Colombo\",\n\t\"Asia/Damascus\",\n\t\"Asia/Dhaka\",\n\t\"Asia/Dili\",\n\t\"Asia/Dubai\",\n\t\"Asia/Dushanbe\",\n\t\"Asia/Famagusta\",\n\t\"Asia/Gaza\",\n\t\"Asia/Hebron\",\n\t\"Asia/Ho_Chi_Minh\",\n\t\"Asia/Hong_Kong\",\n\t\"Asia/Hovd\",\n\t\"Asia/Irkutsk\",\n\t\"Asia/Jakarta\",\n\t\"Asia/Jayapura\",\n\t\"Asia/Jerusalem\",\n\t\"Asia/Kabul\",\n\t\"Asia/Kamchatka\",\n\t\"Asia/Karachi\",\n\t\"Asia/Kathmandu\",\n\t\"Asia/Khandyga\",\n\t\"Asia/Kolkata\",\n\t\"Asia/Krasnoyarsk\",\n\t\"Asia/Kuala_Lumpur\",\n\t\"Asia/Kuching\",\n\t\"Asia/Kuwait\",\n\t\"Asia/Macau\",\n\t\"Asia/Magadan\",\n\t\"Asia/Makassar\",\n\t\"Asia/Manila\",\n\t\"Asia/Muscat\",\n\t\"Asia/Nicosia\",\n\t\"Asia/Novokuznetsk\",\n\t\"Asia/Novosibirsk\",\n\t\"Asia/Omsk\",\n\t\"Asia/Oral\",\n\t\"Asia/Phnom_Penh\",\n\t\"Asia/Pontianak\",\n\t\"Asia/Pyongyang\",\n\t\"Asia/Qatar\",\n\t\"Asia/Qostanay\",\n\t\"Asia/Qyzylorda\",\n\t\"Asia/Riyadh\",\n\t\"Asia/Sakhalin\",\n\t\"Asia/Samarkand\",\n\t\"Asia/Seoul\",\n\t\"Asia/Shanghai\",\n\t\"Asia/Singapore\",\n\t\"Asia/Srednekolymsk\",\n\t\"Asia/Taipei\",\n\t\"Asia/Tashkent\",\n\t\"Asia/Tbilisi\",\n\t\"Asia/Tehran\",\n\t\"Asia/Thimphu\",\n\t\"Asia/Tokyo\",\n\t\"Asia/Tomsk\",\n\t\"Asia/Ulaanbaatar\",\n\t\"Asia/Urumqi\",\n\t\"Asia/Ust-Nera\",\n\t\"Asia/Vientiane\",\n\t\"Asia/Vladivostok\",\n\t\"Asia/Yakutsk\",\n\t\"Asia/Yangon\",\n\t\"Asia/Yekaterinburg\",\n\t\"Asia/Yerevan\",\n\t\"Atlantic/Azores\",\n\t\"Atlantic/Bermuda\",\n\t\"Atlantic/Canary\",\n\t\"Atlantic/Cape_Verde\",\n\t\"Atlantic/Faroe\",\n\t\"Atlantic/Madeira\",\n\t\"Atlantic/Reykjavik\",\n\t\"Atlantic/South_Georgia\",\n\t\"Atlantic/St_Helena\",\n\t\"Atlantic/Stanley\",\n\t\"Australia/Adelaide\",\n\t\"Australia/Brisbane\",\n\t\"Australia/Broken_Hill\",\n\t\"Australia/Currie\",\n\t\"Australia/Darwin\",\n\t\"Australia/Eucla\",\n\t\"Australia/Hobart\",\n\t\"Australia/Lindeman\",\n\t\"Australia/Lord_Howe\",\n\t\"Australia/Melbourne\",\n\t\"Australia/Perth\",\n\t\"Australia/Sydney\",\n\t\"Europe/Amsterdam\",\n\t\"Europe/Andorra\",\n\t\"Europe/Astrakhan\",\n\t\"Europe/Athens\",\n\t\"Europe/Belgrade\",\n\t\"Europe/Berlin\",\n\t\"Europe/Bratislava\",\n\t\"Europe/Brussels\",\n\t\"Europe/Bucharest\",\n\t\"Europe/Budapest\",\n\t\"Europe/Busingen\",\n\t\"Europe/Chisinau\",\n\t\"Europe/Copenhagen\",\n\t\"Europe/Dublin\",\n\t\"Europe/Gibraltar\",\n\t\"Europe/Guernsey\",\n\t\"Europe/Helsinki\",\n\t\"Europe/Isle_of_Man\",\n\t\"Europe/Istanbul\",\n\t\"Europe/Jersey\",\n\t\"Europe/Kaliningrad\",\n\t\"Europe/Kyiv\",\n\t\"Europe/Kirov\",\n\t\"Europe/Lisbon\",\n\t\"Europe/Ljubljana\",\n\t\"Europe/London\",\n\t\"Europe/Luxembourg\",\n\t\"Europe/Madrid\",\n\t\"Europe/Malta\",\n\t\"Europe/Mariehamn\",\n\t\"Europe/Minsk\",\n\t\"Europe/Monaco\",\n\t\"Europe/Moscow\",\n\t\"Europe/Oslo\",\n\t\"Europe/Paris\",\n\t\"Europe/Podgorica\",\n\t\"Europe/Prague\",\n\t\"Europe/Riga\",\n\t\"Europe/Rome\",\n\t\"Europe/Samara\",\n\t\"Europe/San_Marino\",\n\t\"Europe/Sarajevo\",\n\t\"Europe/Saratov\",\n\t\"Europe/Simferopol\",\n\t\"Europe/Skopje\",\n\t\"Europe/Sofia\",\n\t\"Europe/Stockholm\",\n\t\"Europe/Tallinn\",\n\t\"Europe/Tirane\",\n\t\"Europe/Ulyanovsk\",\n\t\"Europe/Uzhgorod\",\n\t\"Europe/Vaduz\",\n\t\"Europe/Vatican\",\n\t\"Europe/Vienna\",\n\t\"Europe/Vilnius\",\n\t\"Europe/Volgograd\",\n\t\"Europe/Warsaw\",\n\t\"Europe/Zagreb\",\n\t\"Europe/Zaporozhye\",\n\t\"Europe/Zurich\",\n\t\"Indian/Antananarivo\",\n\t\"Indian/Chagos\",\n\t\"Indian/Christmas\",\n\t\"Indian/Cocos\",\n\t\"Indian/Comoro\",\n\t\"Indian/Kerguelen\",\n\t\"Indian/Mahe\",\n\t\"Indian/Maldives\",\n\t\"Indian/Mauritius\",\n\t\"Indian/Mayotte\",\n\t\"Indian/Reunion\",\n\t\"Pacific/Apia\",\n\t\"Pacific/Auckland\",\n\t\"Pacific/Bougainville\",\n\t\"Pacific/Chatham\",\n\t\"Pacific/Chuuk\",\n\t\"Pacific/Easter\",\n\t\"Pacific/Efate\",\n\t\"Pacific/Kanton\",\n\t\"Pacific/Fakaofo\",\n\t\"Pacific/Fiji\",\n\t\"Pacific/Funafuti\",\n\t\"Pacific/Galapagos\",\n\t\"Pacific/Gambier\",\n\t\"Pacific/Guadalcanal\",\n\t\"Pacific/Guam\",\n\t\"Pacific/Honolulu\",\n\t\"Pacific/Kiritimati\",\n\t\"Pacific/Kosrae\",\n\t\"Pacific/Kwajalein\",\n\t\"Pacific/Majuro\",\n\t\"Pacific/Marquesas\",\n\t\"Pacific/Midway\",\n\t\"Pacific/Nauru\",\n\t\"Pacific/Niue\",\n\t\"Pacific/Norfolk\",\n\t\"Pacific/Noumea\",\n\t\"Pacific/Pago_Pago\",\n\t\"Pacific/Palau\",\n\t\"Pacific/Pitcairn\",\n\t\"Pacific/Pohnpei\",\n\t\"Pacific/Port_Moresby\",\n\t\"Pacific/Rarotonga\",\n\t\"Pacific/Saipan\",\n\t\"Pacific/Tahiti\",\n\t\"Pacific/Tarawa\",\n\t\"Pacific/Tongatapu\",\n\t\"Pacific/Wake\",\n\t\"Pacific/Wallis\"\n];\n","import {createMemoizedDateTimeFormat} from '#packages/intl-supportedvaluesof/memoize.js'\nimport type {Timezone} from '@formatjs_generated/cldr.supported-values/timezones.js'\nimport {timezones} from '@formatjs_generated/cldr.supported-values/timezones.js'\n\n/**\n * Implementation: Tests if a timezone is supported by attempting to create\n * a DateTimeFormat with that timezone and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from IANA Time Zone Database\n */\nfunction isSupportedTimeZone(timeZone: Timezone): boolean {\n try {\n // Always use 'en' for testing\n const formatter = createMemoizedDateTimeFormat('en', {timeZone})\n return formatter.resolvedOptions().timeZone === timeZone\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported timezone identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedTimeZones(): Timezone[] {\n return timezones.filter(isSupportedTimeZone).sort()\n}\n","/* @generated */\n// prettier-ignore\nexport const units = [\n\t\"degree\",\n\t\"acre\",\n\t\"hectare\",\n\t\"percent\",\n\t\"bit\",\n\t\"byte\",\n\t\"gigabit\",\n\t\"gigabyte\",\n\t\"kilobit\",\n\t\"kilobyte\",\n\t\"megabit\",\n\t\"megabyte\",\n\t\"petabyte\",\n\t\"terabit\",\n\t\"terabyte\",\n\t\"day\",\n\t\"hour\",\n\t\"millisecond\",\n\t\"minute\",\n\t\"month\",\n\t\"second\",\n\t\"week\",\n\t\"year\",\n\t\"centimeter\",\n\t\"foot\",\n\t\"inch\",\n\t\"kilometer\",\n\t\"meter\",\n\t\"mile-scandinavian\",\n\t\"mile\",\n\t\"millimeter\",\n\t\"yard\",\n\t\"gram\",\n\t\"kilogram\",\n\t\"ounce\",\n\t\"pound\",\n\t\"stone\",\n\t\"celsius\",\n\t\"fahrenheit\",\n\t\"fluid-ounce\",\n\t\"gallon\",\n\t\"liter\",\n\t\"milliliter\"\n];\n","import {createMemoizedNumberFormat} from '#packages/ecma402-abstract/utils.js'\nimport type {Unit} from '@formatjs_generated/cldr.supported-values/units.js'\nimport {units} from '@formatjs_generated/cldr.supported-values/units.js'\n\n/**\n * Implementation: Tests if a unit is supported by attempting to create\n * a NumberFormat with that unit and verifying it was accepted.\n *\n * CLDR Data: Candidate values come from CLDR unit types\n */\nfunction isSupportedUnit(unit: Unit): boolean {\n try {\n // Always use 'en' for testing\n const formatter = createMemoizedNumberFormat('en', {style: 'unit', unit})\n return formatter.resolvedOptions().unit === unit\n } catch {}\n\n return false\n}\n\n/**\n * ECMA-402 Spec: Returns supported unit identifiers\n * ECMA-402 Spec: Results must be sorted lexicographically\n *\n * Implementation: Filters CLDR list against actual runtime support\n */\nexport function getSupportedUnits(): (\n | 'degree'\n | 'acre'\n | 'hectare'\n | 'percent'\n | 'bit'\n | 'byte'\n | 'gigabit'\n | 'gigabyte'\n | 'kilobit'\n | 'kilobyte'\n | 'megabit'\n | 'megabyte'\n | 'petabyte'\n | 'terabit'\n | 'terabyte'\n | 'day'\n | 'hour'\n | 'millisecond'\n | 'minute'\n | 'month'\n | 'second'\n | 'week'\n | 'year'\n | 'centimeter'\n | 'foot'\n | 'inch'\n | 'kilometer'\n | 'meter'\n | 'mile-scandinavian'\n | 'mile'\n | 'millimeter'\n | 'yard'\n | 'gram'\n | 'kilogram'\n | 'ounce'\n | 'pound'\n | 'stone'\n | 'celsius'\n | 'fahrenheit'\n | 'fluid-ounce'\n | 'gallon'\n | 'liter'\n | 'milliliter'\n)[] {\n return units.filter(isSupportedUnit).sort()\n}\n","import {getSupportedCalendars} from '#packages/intl-supportedvaluesof/get-supported-calendars.js'\nimport {getSupportedCollations} from '#packages/intl-supportedvaluesof/get-supported-collations.js'\nimport {getSupportedCurrencies} from '#packages/intl-supportedvaluesof/get-supported-currencies.js'\nimport {getSupportedNumberingSystems} from '#packages/intl-supportedvaluesof/get-supported-numbering-systems.js'\nimport {getSupportedTimeZones} from '#packages/intl-supportedvaluesof/get-supported-timezones.js'\nimport {getSupportedUnits} from '#packages/intl-supportedvaluesof/get-supported-units.js'\n\nexport type {Calendar} from '@formatjs_generated/cldr.supported-values/calendars.js'\nexport type {Collation} from '@formatjs_generated/cldr.supported-values/collations.js'\nexport type {Currency} from '@formatjs_generated/cldr.supported-values/currencies.js'\nexport type {Timezone} from '@formatjs_generated/cldr.supported-values/timezones.js'\nexport type {Unit} from '@formatjs_generated/cldr.supported-values/units.js'\n\nexport {shouldPolyfill} from '#packages/intl-supportedvaluesof/should-polyfill.js'\n\n/**\n * ECMA-402 Spec: Intl.supportedValuesOf\n * https://tc39.es/ecma402/#sec-intl.supportedvaluesof\n */\ndeclare global {\n namespace Intl {\n /**\n * Returns an array containing the supported values for the given key.\n * @param key - The category of values to return\n * @returns A sorted array of strings\n */\n function supportedValuesOf(\n key:\n | 'calendar'\n | 'collation'\n | 'currency'\n | 'numberingSystem'\n | 'timeZone'\n | 'unit'\n ): string[]\n }\n}\n\n/**\n * ECMA-402 Spec: Supported value categories\n */\nexport type SupportedValuesOf =\n | 'calendar'\n | 'collation'\n | 'currency'\n | 'numberingSystem'\n | 'timeZone'\n | 'unit'\n\n/**\n * ECMA-402 Spec: Intl.supportedValuesOf(key)\n * https://tc39.es/ecma402/#sec-intl.supportedvaluesof\n *\n * Returns an array containing the supported calendar, collation, currency,\n * numbering systems, time zone, or unit values supported by the implementation.\n *\n * Implementation: We validate candidate values from CLDR against the actual\n * Intl formatters to determine runtime support rather than using static lists.\n * This ensures accuracy across different JavaScript engines and runtimes.\n *\n * @param key - The category of values to return\n * @returns A sorted array of unique string values\n */\nexport function supportedValuesOf(key: SupportedValuesOf): string[] {\n // ECMA-402 Spec: Dispatch to appropriate getter based on key\n switch (key) {\n case 'calendar':\n return getSupportedCalendars()\n case 'collation':\n return getSupportedCollations()\n case 'currency':\n return getSupportedCurrencies()\n case 'numberingSystem':\n return getSupportedNumberingSystems()\n case 'timeZone':\n return getSupportedTimeZones()\n case 'unit':\n return getSupportedUnits()\n default:\n // ECMA-402 Spec: Throw RangeError for invalid keys\n throw RangeError('Invalid key: ' + key)\n }\n}\n","import {shouldPolyfill} from '#packages/intl-supportedvaluesof/should-polyfill.js'\nimport {supportedValuesOf} from '#packages/intl-supportedvaluesof/index.js'\nimport {defineProperty, ensureIntl} from '#packages/ecma402-abstract/utils.js'\n\nconst intl = ensureIntl()\n\nif (shouldPolyfill()) {\n defineProperty(intl, 'supportedValuesOf', {value: supportedValuesOf})\n}\n"],"x_google_ignoreList":[2,4,7,9,11,13],"mappings":";;AAAA,SAAgB,iBAA0B;CACxC,OAAO,OAAO,SAAS,eAAe,EAAE,uBAAuB;;;;;;;;;;;;ACSjE,MAAa,+BAEc,SACxB,GAAG,SACF,IAAI,KAAK,eAAe,GAAG,KAAK,EAClC,EACE,UAAU,WAAW,UACtB,CACF;;;AChBD,MAAa,YAAY;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACZD,SAAS,oBAAoB,MAAyB;CACpD,IAAI;EAMF,OAJuB,6BAA6B,WAAW,OACjC,CAAC,iBAAiB,CAAC,aAG9B;SACb;CAER,OAAO;;;;;;;;AAST,SAAgB,wBAAoC;CAClD,OAAO,UAAU,OAAO,oBAAoB,CAAC,MAAM;;;;AC5BrD,MAAa,aAAa;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACbD,SAAS,qBAAqB,WAA+B;CAC3D,IAAI;EAEF,OACE,KAAK,SAAS,WAAW,YAAY,CAAC,iBAAiB,CAAC,cACxD;SAEI;CAER,OAAO;;;;;;;;AAST,SAAgB,yBAAsC;CACpD,OAAO,WAAW,OAAO,qBAAqB,CAAC,MAAM;;;;ACqBvD,SAAgB,eAAe,QAAQ,MAAM,EAAE,SAAS;CACvD,OAAO,eAAe,QAAQ,MAAM;EACnC,cAAc;EACd,YAAY;EACZ,UAAU;EACV;EACA,CAAC;;AAEH,SAAgB,aAAa;CAC5B,IAAI,OAAO,SAAS,aACnB,OAAO,eAAe,YAAY,QAAQ;EACzC,cAAc;EACd,YAAY;EACZ,UAAU;EACV,OAAO,EAAE;EACT,CAAC;CAEH,OAAO;;AAsBR,MAAa,6BAA6B,SAAS,GAAG,SAAS,IAAI,KAAK,aAAa,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AACxF,SAAS,GAAG,SAAS,IAAI,KAAK,YAAY,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AAC3F,SAAS,GAAG,SAAS,IAAI,KAAK,OAAO,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;AAC7E,SAAS,GAAG,SAAS,IAAI,KAAK,WAAW,GAAG,KAAK,EAAE,EAAE,UAAU,WAAW,UAAU,CAAC;;;ACzF7H,MAAa,aAAa;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;AC5SD,SAAS,oBAAoB,UAA6B;CACxD,IAAI;EAQF,MAAM,SANe,2BAA2B,MAAM;GACpD,OAAO;GACP,iBAAiB;GACjB;GACD,CAE0B,CAAC,OAAO,IAAI;EAEvC,IACE,OAAO,UAAU,GAAG,EAAE,KAAK,YAC3B,OAAO,UAAU,OAAO,SAAS,EAAE,KAAK,UAExC,OAAO;SAEH;CAER,OAAO;;;;;;;;AAST,SAAgB,yBAAqC;CACnD,MAAM,OAAO;CACb,MAAM,sBAAkC,EAAE;CAE1C,KAAK,MAAM,YAAY,YACrB,IAAI,SAAS,WAAW;MAClB,oBAAoB,SAAS,EAC/B,oBAAoB,KAAK,SAAS;QAE/B,IAAI,SAAS,WAAW,KAAK,SAAS,OAAO,KAAK;EACvD,MAAM,QAAQ,KAAK,QAAQ,SAAS,GAAG;EACvC,MAAM,MAAM,KAAK,QAAQ,SAAS,GAAG;EAErC,KAAK,IAAI,IAAI,OAAO,KAAK,KAAK,KAAK;GACjC,MAAM,kBAAmB,SAAS,UAAU,GAAG,EAAE,GAAG,KAAK;GACzD,IAAI,oBAAoB,gBAAgB,EACtC,oBAAoB,KAAK,gBAAgB;;;CAMjD,OAAO,oBAAoB,MAAM;;;;AC5DnC,MAAa,uBAAuB;CACnC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACzFD,SAAS,2BAA2B,QAAyB;CAC3D,IAAI;EAEF,MAAM,eAAe,2BAA2B,WAAW,SAAS;EAGpE,IAFgB,aAAa,iBAAiB,CAAC,oBAGhC,UAAU,WAAW,UAClC,aAAa,OAAO,IAAI,KAAK,OAE7B,OAAO;SAEH;CAER,OAAO;;;;;;;;AAST,SAAgB,+BAAyC;CACvD,OAAO,qBAAqB,OAAO,2BAA2B,CAAC,MAAM;;;;AC/BvE,MAAa,YAAY;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACpaD,SAAS,oBAAoB,UAA6B;CACxD,IAAI;EAGF,OADkB,6BAA6B,MAAM,EAAC,UAAS,CAC/C,CAAC,iBAAiB,CAAC,aAAa;SAC1C;CAER,OAAO;;;;;;;;AAST,SAAgB,wBAAoC;CAClD,OAAO,UAAU,OAAO,oBAAoB,CAAC,MAAM;;;;ACzBrD,MAAa,QAAQ;CACpB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;;;;;;;;;ACpCD,SAAS,gBAAgB,MAAqB;CAC5C,IAAI;EAGF,OADkB,2BAA2B,MAAM;GAAC,OAAO;GAAQ;GAAK,CACxD,CAAC,iBAAiB,CAAC,SAAS;SACtC;CAER,OAAO;;;;;;;;AAST,SAAgB,oBA4CZ;CACF,OAAO,MAAM,OAAO,gBAAgB,CAAC,MAAM;;;;;;;;;;;;;;;;;;ACR7C,SAAgB,kBAAkB,KAAkC;CAElE,QAAQ,KAAR;EACE,KAAK,YACH,OAAO,uBAAuB;EAChC,KAAK,aACH,OAAO,wBAAwB;EACjC,KAAK,YACH,OAAO,wBAAwB;EACjC,KAAK,mBACH,OAAO,8BAA8B;EACvC,KAAK,YACH,OAAO,uBAAuB;EAChC,KAAK,QACH,OAAO,mBAAmB;EAC5B,SAEE,MAAM,WAAW,kBAAkB,IAAI;;;;;AC5E7C,MAAM,OAAO,YAAY;AAEzB,IAAI,gBAAgB,EAClB,eAAe,MAAM,qBAAqB,EAAC,OAAO,mBAAkB,CAAC"}
|
package/should-polyfill.js
CHANGED
package/should-polyfill.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"should-polyfill.js","names":[],"sources":["../should-polyfill.ts"],"sourcesContent":["export function shouldPolyfill(): boolean {\n return !('supportedValuesOf' in Intl)\n}\n"],"mappings":";AAAA,SAAgB,iBAA0B;
|
|
1
|
+
{"version":3,"file":"should-polyfill.js","names":[],"sources":["../should-polyfill.ts"],"sourcesContent":["export function shouldPolyfill(): boolean {\n return typeof Intl === 'undefined' || !('supportedValuesOf' in Intl)\n}\n"],"mappings":";AAAA,SAAgB,iBAA0B;CACxC,OAAO,OAAO,SAAS,eAAe,EAAE,uBAAuB"}
|