import{c as e,u as t}from"./c.743a15a1.js";import{eV as a}from"./main-85e087f9.js";import{l}from"./c.ebda878e.js";import{l as r}from"./c.ef7f8e16.js";import"./c.2610e8cd.js";import"./c.a0946910.js";var n=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.InitializePluralRules=void 0,t.InitializePluralRules=function(e,t,a,n){var i=n.availableLocales,o=n.relevantExtensionKeys,s=n.localeData,u=n.getDefaultLocale,c=n.getInternalSlots,f=(0,l.CanonicalizeLocaleList)(t),d=Object.create(null),p=(0,l.CoerceOptionsToObject)(a),b=c(e);b.initializedPluralRules=!0;var v=(0,l.GetOption)(p,"localeMatcher","string",["best fit","lookup"],"best fit");d.localeMatcher=v,b.type=(0,l.GetOption)(p,"type","string",["cardinal","ordinal"],"cardinal"),(0,l.SetNumberFormatDigitOptions)(b,p,0,3,"standard");var m=(0,r.ResolveLocale)(i,f,d,o,s,u);return b.locale=m.locale,e}}));t(n),n.InitializePluralRules;var i=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.GetOperands=void 0,t.GetOperands=function(e){(0,l.invariant)("string"==typeof e,"GetOperands should have been called with a string");var t=(0,l.ToNumber)(e);(0,l.invariant)(isFinite(t),"n should be finite");var a,r,n,i=e.indexOf("."),o="";-1===i?(a=t,r=0,n=0):(a=e.slice(0,i),o=e.slice(i,e.length),r=(0,l.ToNumber)(o),n=o.length);var s,u,c=Math.abs((0,l.ToNumber)(a));if(0!==r){var f=o.replace(/0+$/,"");s=f.length,u=(0,l.ToNumber)(f)}else s=0,u=0;return{Number:t,IntegerDigits:c,NumberOfFractionDigits:n,NumberOfFractionDigitsWithoutTrailing:s,FractionDigits:r,FractionDigitsWithoutTrailing:u}}}));t(i),i.GetOperands;var o=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ResolvePlural=void 0,t.ResolvePlural=function(e,t,a){var r=a.getInternalSlots,n=a.PluralRuleSelect,o=r(e);if((0,l.invariant)("Object"===(0,l.Type)(o),"pl has to be an object"),(0,l.invariant)("initializedPluralRules"in o,"pluralrules must be initialized"),(0,l.invariant)("Number"===(0,l.Type)(t),"n must be a number"),!isFinite(t))return"other";var s=o.locale,u=o.type,c=(0,l.FormatNumericToString)(o,t).formattedString;return n(s,u,t,(0,i.GetOperands)(c))}}));t(o),o.ResolvePlural;var s=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var a=new WeakMap;t.default=function(e){var t=a.get(e);return t||(t=Object.create(null),a.set(e,t)),t}}));t(s);var u=e((function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.PluralRules=void 0;var r=(0,a.__importDefault)(s);function i(e,t){if(!(e instanceof c))throw new TypeError("Method Intl.PluralRules.prototype.".concat(t," called on incompatible receiver ").concat(String(e)))}function u(e,t,a,l){var r=l.IntegerDigits,n=l.NumberOfFractionDigits,i=l.FractionDigits;return c.localeData[e].fn(n?"".concat(r,".").concat(i):r,"ordinal"===t)}var c=function(){function e(t,a){if(!(this&&this instanceof e?this.constructor:void 0))throw new TypeError("Intl.PluralRules must be called with 'new'");return(0,n.InitializePluralRules)(this,t,a,{availableLocales:e.availableLocales,relevantExtensionKeys:e.relevantExtensionKeys,localeData:e.localeData,getDefaultLocale:e.getDefaultLocale,getInternalSlots:r.default})}return e.prototype.resolvedOptions=function(){i(this,"resolvedOptions");var t=Object.create(null),l=(0,r.default)(this);return t.locale=l.locale,t.type=l.type,["minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits"].forEach((function(e){var a=l[e];void 0!==a&&(t[e]=a)})),t.pluralCategories=(0,a.__spreadArray)([],e.localeData[t.locale].categories[t.type],!0),t},e.prototype.select=function(e){i(this,"select");var t=(0,l.ToNumber)(e);return(0,o.ResolvePlural)(this,t,{getInternalSlots:r.default,PluralRuleSelect:u})},e.prototype.toString=function(){return"[object Intl.PluralRules]"},e.supportedLocalesOf=function(t,a){return(0,l.SupportedLocales)(e.availableLocales,(0,l.CanonicalizeLocaleList)(t),a)},e.__addLocaleData=function(){for(var t=[],a=0;a