{"version":3,"file":"intlBase.mjs","sources":["../src/intlBase.ts"],"sourcesContent":["export type IntlBase = {\n  locale: string;\n  pluralRulesCardinal: Intl.PluralRules;\n  pluralRulesOrdinal: Intl.PluralRules;\n  makeDateTimeFormat: (options: Intl.DateTimeFormatOptions) => Intl.DateTimeFormat;\n};\nexport const makeIntlBase = (locale: string): IntlBase => ({\n  locale,\n  pluralRulesCardinal: new Intl.PluralRules(locale, { type: 'cardinal' }),\n  pluralRulesOrdinal: new Intl.PluralRules(locale, { type: 'ordinal' }),\n  makeDateTimeFormat: (options) => new Intl.DateTimeFormat(locale, options),\n});\n"],"names":["makeIntlBase","locale","pluralRulesCardinal","Intl","PluralRules","type","pluralRulesOrdinal","makeDateTimeFormat","options","DateTimeFormat"],"mappings":"AAMaA,IAAAA,EAAe,SAACC,GAAc,MAAgB,CACzDA,OAAAA,EACAC,oBAAqB,IAAQC,KAACC,YAAYH,EAAQ,CAAEI,KAAM,aAC1DC,mBAAoB,IAAQH,KAACC,YAAYH,EAAQ,CAAEI,KAAM,YACzDE,mBAAoB,SAACC,GAAO,OAASL,IAAAA,KAAKM,eAAeR,EAAQO,EAAQ,EAC1E"}