@formatjs/intl-pluralrules 1.5.0 → 1.5.4

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.
Files changed (183) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/locale-data/af.js +1 -1
  3. package/dist/locale-data/ak.js +1 -2
  4. package/dist/locale-data/am.js +1 -1
  5. package/dist/locale-data/ar.js +7 -8
  6. package/dist/locale-data/as.js +6 -8
  7. package/dist/locale-data/asa.js +1 -1
  8. package/dist/locale-data/ast.js +1 -1
  9. package/dist/locale-data/az.js +6 -13
  10. package/dist/locale-data/be.js +6 -10
  11. package/dist/locale-data/bem.js +1 -1
  12. package/dist/locale-data/bez.js +1 -1
  13. package/dist/locale-data/bg.js +1 -1
  14. package/dist/locale-data/bm.js +0 -1
  15. package/dist/locale-data/bn.js +6 -8
  16. package/dist/locale-data/bo.js +0 -1
  17. package/dist/locale-data/br.js +6 -10
  18. package/dist/locale-data/brx.js +1 -1
  19. package/dist/locale-data/bs.js +4 -8
  20. package/dist/locale-data/ca.js +5 -6
  21. package/dist/locale-data/ce.js +1 -1
  22. package/dist/locale-data/ceb.js +2 -5
  23. package/dist/locale-data/cgg.js +1 -1
  24. package/dist/locale-data/chr.js +1 -1
  25. package/dist/locale-data/ckb.js +1 -1
  26. package/dist/locale-data/cs.js +4 -4
  27. package/dist/locale-data/cy.js +12 -15
  28. package/dist/locale-data/da.js +1 -2
  29. package/dist/locale-data/de.js +1 -1
  30. package/dist/locale-data/dsb.js +5 -9
  31. package/dist/locale-data/dz.js +0 -1
  32. package/dist/locale-data/ee.js +1 -1
  33. package/dist/locale-data/el.js +1 -1
  34. package/dist/locale-data/en.js +6 -7
  35. package/dist/locale-data/eo.js +1 -1
  36. package/dist/locale-data/es.js +1 -1
  37. package/dist/locale-data/et.js +1 -1
  38. package/dist/locale-data/eu.js +1 -1
  39. package/dist/locale-data/fa.js +1 -1
  40. package/dist/locale-data/ff.js +1 -1
  41. package/dist/locale-data/fi.js +1 -1
  42. package/dist/locale-data/fil.js +3 -6
  43. package/dist/locale-data/fo.js +1 -1
  44. package/dist/locale-data/fr.js +2 -2
  45. package/dist/locale-data/fur.js +1 -1
  46. package/dist/locale-data/fy.js +1 -1
  47. package/dist/locale-data/ga.js +6 -6
  48. package/dist/locale-data/gd.js +8 -14
  49. package/dist/locale-data/gl.js +1 -1
  50. package/dist/locale-data/gsw.js +1 -1
  51. package/dist/locale-data/gu.js +6 -7
  52. package/dist/locale-data/gv.js +6 -8
  53. package/dist/locale-data/ha.js +1 -1
  54. package/dist/locale-data/haw.js +1 -1
  55. package/dist/locale-data/he.js +5 -7
  56. package/dist/locale-data/hi.js +6 -7
  57. package/dist/locale-data/hr.js +4 -8
  58. package/dist/locale-data/hsb.js +5 -9
  59. package/dist/locale-data/hu.js +2 -3
  60. package/dist/locale-data/hy.js +2 -2
  61. package/dist/locale-data/ia.js +1 -1
  62. package/dist/locale-data/id.js +0 -1
  63. package/dist/locale-data/ig.js +0 -1
  64. package/dist/locale-data/ii.js +0 -1
  65. package/dist/locale-data/is.js +2 -4
  66. package/dist/locale-data/it.js +2 -3
  67. package/dist/locale-data/ja.js +0 -1
  68. package/dist/locale-data/jgo.js +1 -1
  69. package/dist/locale-data/jmc.js +1 -1
  70. package/dist/locale-data/jv.js +0 -1
  71. package/dist/locale-data/ka.js +4 -5
  72. package/dist/locale-data/kab.js +1 -1
  73. package/dist/locale-data/kde.js +0 -1
  74. package/dist/locale-data/kea.js +0 -1
  75. package/dist/locale-data/kk.js +3 -5
  76. package/dist/locale-data/kkj.js +1 -1
  77. package/dist/locale-data/kl.js +1 -1
  78. package/dist/locale-data/km.js +0 -1
  79. package/dist/locale-data/kn.js +1 -1
  80. package/dist/locale-data/ko.js +0 -1
  81. package/dist/locale-data/ks.js +1 -1
  82. package/dist/locale-data/ksb.js +1 -1
  83. package/dist/locale-data/ksh.js +3 -3
  84. package/dist/locale-data/ku.js +1 -1
  85. package/dist/locale-data/kw.js +10 -21
  86. package/dist/locale-data/ky.js +1 -1
  87. package/dist/locale-data/lag.js +3 -4
  88. package/dist/locale-data/lb.js +1 -1
  89. package/dist/locale-data/lg.js +1 -1
  90. package/dist/locale-data/lkt.js +0 -1
  91. package/dist/locale-data/ln.js +1 -2
  92. package/dist/locale-data/lo.js +1 -1
  93. package/dist/locale-data/lt.js +5 -8
  94. package/dist/locale-data/lv.js +4 -8
  95. package/dist/locale-data/mas.js +1 -1
  96. package/dist/locale-data/mg.js +1 -2
  97. package/dist/locale-data/mgo.js +1 -1
  98. package/dist/locale-data/mk.js +6 -9
  99. package/dist/locale-data/ml.js +1 -1
  100. package/dist/locale-data/mn.js +1 -1
  101. package/dist/locale-data/mr.js +5 -6
  102. package/dist/locale-data/ms.js +1 -1
  103. package/dist/locale-data/mt.js +5 -7
  104. package/dist/locale-data/my.js +0 -1
  105. package/dist/locale-data/naq.js +3 -3
  106. package/dist/locale-data/nb.js +1 -1
  107. package/dist/locale-data/nd.js +1 -1
  108. package/dist/locale-data/ne.js +2 -2
  109. package/dist/locale-data/nl.js +1 -1
  110. package/dist/locale-data/nn.js +1 -1
  111. package/dist/locale-data/nnh.js +1 -1
  112. package/dist/locale-data/nyn.js +1 -1
  113. package/dist/locale-data/om.js +1 -1
  114. package/dist/locale-data/or.js +6 -8
  115. package/dist/locale-data/os.js +1 -1
  116. package/dist/locale-data/pa.js +1 -2
  117. package/dist/locale-data/pl.js +5 -9
  118. package/dist/locale-data/prg.js +4 -8
  119. package/dist/locale-data/ps.js +1 -1
  120. package/dist/locale-data/pt.js +1 -2
  121. package/dist/locale-data/rm.js +1 -1
  122. package/dist/locale-data/ro.js +5 -7
  123. package/dist/locale-data/rof.js +1 -1
  124. package/dist/locale-data/root.js +0 -1
  125. package/dist/locale-data/ru.js +5 -8
  126. package/dist/locale-data/rwk.js +1 -1
  127. package/dist/locale-data/sah.js +0 -1
  128. package/dist/locale-data/saq.js +1 -1
  129. package/dist/locale-data/sd.js +1 -1
  130. package/dist/locale-data/se.js +3 -3
  131. package/dist/locale-data/seh.js +1 -1
  132. package/dist/locale-data/ses.js +0 -1
  133. package/dist/locale-data/sg.js +0 -1
  134. package/dist/locale-data/shi.js +3 -3
  135. package/dist/locale-data/si.js +1 -2
  136. package/dist/locale-data/sk.js +4 -4
  137. package/dist/locale-data/sl.js +4 -5
  138. package/dist/locale-data/smn.js +3 -3
  139. package/dist/locale-data/sn.js +1 -1
  140. package/dist/locale-data/so.js +1 -1
  141. package/dist/locale-data/sq.js +5 -6
  142. package/dist/locale-data/sr.js +4 -8
  143. package/dist/locale-data/sv.js +3 -5
  144. package/dist/locale-data/sw.js +1 -1
  145. package/dist/locale-data/ta.js +1 -1
  146. package/dist/locale-data/te.js +1 -1
  147. package/dist/locale-data/teo.js +1 -1
  148. package/dist/locale-data/th.js +0 -1
  149. package/dist/locale-data/ti.js +1 -2
  150. package/dist/locale-data/tk.js +3 -5
  151. package/dist/locale-data/to.js +0 -1
  152. package/dist/locale-data/tr.js +1 -1
  153. package/dist/locale-data/tzm.js +1 -2
  154. package/dist/locale-data/ug.js +1 -1
  155. package/dist/locale-data/uk.js +6 -10
  156. package/dist/locale-data/ur.js +1 -1
  157. package/dist/locale-data/uz.js +1 -1
  158. package/dist/locale-data/vi.js +1 -1
  159. package/dist/locale-data/vo.js +1 -1
  160. package/dist/locale-data/vun.js +1 -1
  161. package/dist/locale-data/wae.js +1 -1
  162. package/dist/locale-data/wo.js +0 -1
  163. package/dist/locale-data/xh.js +1 -1
  164. package/dist/locale-data/xog.js +1 -1
  165. package/dist/locale-data/yi.js +1 -1
  166. package/dist/locale-data/yo.js +0 -1
  167. package/dist/locale-data/yue.js +0 -1
  168. package/dist/locale-data/zh.js +0 -1
  169. package/dist/locale-data/zu.js +1 -1
  170. package/dist/polyfill-with-locales-for-test262.min.js +371 -511
  171. package/dist/polyfill-with-locales-for-test262.min.js.map +1 -1
  172. package/dist/umd/intl-pluralrules.js +16 -3
  173. package/dist/umd/intl-pluralrules.js.map +1 -1
  174. package/dist/umd/intl-pluralrules.min.js +1 -1
  175. package/dist/umd/intl-pluralrules.min.js.map +1 -1
  176. package/dist/umd/polyfill-with-locales.js +371 -511
  177. package/dist/umd/polyfill-with-locales.js.map +1 -1
  178. package/dist/umd/polyfill.js +16 -3
  179. package/dist/umd/polyfill.js.map +1 -1
  180. package/dist-es6/polyfill-locales.js +355 -508
  181. package/lib/tsdoc-metadata.json +1 -1
  182. package/package.json +4 -4
  183. package/polyfill-locales.js +355 -508
@@ -4,9 +4,8 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"lag":{"categories":{"cardinal":["zero","one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), i = s[0];
6
6
  if (ord) return 'other';
7
- return (n == 0) ? 'zero'
8
- : ((i == 0
9
- || i == 1) && n != 0) ? 'one'
10
- : 'other';
7
+ return n == 0 ? 'zero'
8
+ : (i == 0 || i == 1) && n != 0 ? 'one'
9
+ : 'other';
11
10
  }}},"aliases":{},"parentLocales":{},"availableLocales":["lag"]})
12
11
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"lb":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["lb"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"lg":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["lg"]})
8
8
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"lkt":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["lkt"]})
8
7
  }
@@ -3,7 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ln":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return ((n == 0
7
- || n == 1)) ? 'one' : 'other';
6
+ return (n == 0 || n == 1) ? 'one' : 'other';
8
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ln"]})
9
8
  }
@@ -2,7 +2,7 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"lo":{"categories":{"cardinal":["other"],"ordinal":["one","other"]},"fn":function(n, ord) {
5
- if (ord) return (n == 1) ? 'one' : 'other';
5
+ if (ord) return n == 1 ? 'one' : 'other';
6
6
  return 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["lo"]})
8
8
  }
@@ -2,14 +2,11 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"lt":{"categories":{"cardinal":["one","few","many","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), f = s[1] || '', t0 = Number(s[0]) == n,
6
- n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
5
+ var s = String(n).split('.'), f = s[1] || '', t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2);
7
6
  if (ord) return 'other';
8
- return (n10 == 1 && (n100 < 11
9
- || n100 > 19)) ? 'one'
10
- : ((n10 >= 2 && n10 <= 9) && (n100 < 11
11
- || n100 > 19)) ? 'few'
12
- : (f != 0) ? 'many'
13
- : 'other';
7
+ return n10 == 1 && (n100 < 11 || n100 > 19) ? 'one'
8
+ : (n10 >= 2 && n10 <= 9) && (n100 < 11 || n100 > 19) ? 'few'
9
+ : f != 0 ? 'many'
10
+ : 'other';
14
11
  }}},"aliases":{},"parentLocales":{},"availableLocales":["lt"]})
15
12
  }
@@ -2,14 +2,10 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"lv":{"categories":{"cardinal":["zero","one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), f = s[1] || '', v = f.length,
6
- t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1),
7
- n100 = t0 && s[0].slice(-2), f100 = f.slice(-2), f10 = f.slice(-1);
5
+ var s = String(n).split('.'), f = s[1] || '', v = f.length, t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2), f100 = f.slice(-2), f10 = f.slice(-1);
8
6
  if (ord) return 'other';
9
- return (t0 && n10 == 0 || (n100 >= 11 && n100 <= 19)
10
- || v == 2 && (f100 >= 11 && f100 <= 19)) ? 'zero'
11
- : (n10 == 1 && n100 != 11 || v == 2 && f10 == 1 && f100 != 11
12
- || v != 2 && f10 == 1) ? 'one'
13
- : 'other';
7
+ return t0 && n10 == 0 || (n100 >= 11 && n100 <= 19) || v == 2 && (f100 >= 11 && f100 <= 19) ? 'zero'
8
+ : n10 == 1 && n100 != 11 || v == 2 && f10 == 1 && f100 != 11 || v != 2 && f10 == 1 ? 'one'
9
+ : 'other';
14
10
  }}},"aliases":{},"parentLocales":{},"availableLocales":["lv"]})
15
11
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"mas":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["mas"]})
8
8
  }
@@ -3,7 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"mg":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return ((n == 0
7
- || n == 1)) ? 'one' : 'other';
6
+ return (n == 0 || n == 1) ? 'one' : 'other';
8
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["mg"]})
9
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"mgo":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["mgo"]})
8
8
  }
@@ -2,14 +2,11 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"mk":{"categories":{"cardinal":["one","other"],"ordinal":["one","two","many","other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), i = s[0], f = s[1] || '', v0 = !s[1],
6
- i10 = i.slice(-1), i100 = i.slice(-2), f10 = f.slice(-1), f100 = f.slice(-2);
7
- if (ord) return (i10 == 1 && i100 != 11) ? 'one'
8
- : (i10 == 2 && i100 != 12) ? 'two'
9
- : ((i10 == 7
10
- || i10 == 8) && i100 != 17 && i100 != 18) ? 'many'
11
- : 'other';
12
- return (v0 && i10 == 1 && i100 != 11
13
- || f10 == 1 && f100 != 11) ? 'one' : 'other';
5
+ var s = String(n).split('.'), i = s[0], f = s[1] || '', v0 = !s[1], i10 = i.slice(-1), i100 = i.slice(-2), f10 = f.slice(-1), f100 = f.slice(-2);
6
+ if (ord) return i10 == 1 && i100 != 11 ? 'one'
7
+ : i10 == 2 && i100 != 12 ? 'two'
8
+ : (i10 == 7 || i10 == 8) && i100 != 17 && i100 != 18 ? 'many'
9
+ : 'other';
10
+ return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? 'one' : 'other';
14
11
  }}},"aliases":{},"parentLocales":{},"availableLocales":["mk"]})
15
12
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ml":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ml"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"mn":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{"mn-Cyrl-MN":"mn-MN"},"parentLocales":{},"availableLocales":["mn"]})
8
8
  }
@@ -2,11 +2,10 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"mr":{"categories":{"cardinal":["one","other"],"ordinal":["one","two","few","other"]},"fn":function(n, ord) {
5
- if (ord) return (n == 1) ? 'one'
6
- : ((n == 2
7
- || n == 3)) ? 'two'
8
- : (n == 4) ? 'few'
9
- : 'other';
10
- return (n == 1) ? 'one' : 'other';
5
+ if (ord) return n == 1 ? 'one'
6
+ : (n == 2 || n == 3) ? 'two'
7
+ : n == 4 ? 'few'
8
+ : 'other';
9
+ return n == 1 ? 'one' : 'other';
11
10
  }}},"aliases":{},"parentLocales":{},"availableLocales":["mr"]})
12
11
  }
@@ -2,7 +2,7 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ms":{"categories":{"cardinal":["other"],"ordinal":["one","other"]},"fn":function(n, ord) {
5
- if (ord) return (n == 1) ? 'one' : 'other';
5
+ if (ord) return n == 1 ? 'one' : 'other';
6
6
  return 'other';
7
7
  }}},"aliases":{"ms-Latn-BN":"ms-BN","ms-Latn-MY":"ms-MY","ms-Latn-SG":"ms-SG"},"parentLocales":{},"availableLocales":["ms"]})
8
8
  }
@@ -2,13 +2,11 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"mt":{"categories":{"cardinal":["one","few","many","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), t0 = Number(s[0]) == n,
6
- n100 = t0 && s[0].slice(-2);
5
+ var s = String(n).split('.'), t0 = Number(s[0]) == n, n100 = t0 && s[0].slice(-2);
7
6
  if (ord) return 'other';
8
- return (n == 1) ? 'one'
9
- : (n == 0
10
- || (n100 >= 2 && n100 <= 10)) ? 'few'
11
- : ((n100 >= 11 && n100 <= 19)) ? 'many'
12
- : 'other';
7
+ return n == 1 ? 'one'
8
+ : n == 0 || (n100 >= 2 && n100 <= 10) ? 'few'
9
+ : (n100 >= 11 && n100 <= 19) ? 'many'
10
+ : 'other';
13
11
  }}},"aliases":{},"parentLocales":{},"availableLocales":["mt"]})
14
12
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"my":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["my"]})
8
7
  }
@@ -3,8 +3,8 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"naq":{"categories":{"cardinal":["one","two","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one'
7
- : (n == 2) ? 'two'
8
- : 'other';
6
+ return n == 1 ? 'one'
7
+ : n == 2 ? 'two'
8
+ : 'other';
9
9
  }}},"aliases":{},"parentLocales":{},"availableLocales":["naq"]})
10
10
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"nb":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["nb"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"nd":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["nd"]})
8
8
  }
@@ -3,7 +3,7 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ne":{"categories":{"cardinal":["one","other"],"ordinal":["one","other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), t0 = Number(s[0]) == n;
6
- if (ord) return ((t0 && n >= 1 && n <= 4)) ? 'one' : 'other';
7
- return (n == 1) ? 'one' : 'other';
6
+ if (ord) return (t0 && n >= 1 && n <= 4) ? 'one' : 'other';
7
+ return n == 1 ? 'one' : 'other';
8
8
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ne"]})
9
9
  }
@@ -4,6 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"nl":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), v0 = !s[1];
6
6
  if (ord) return 'other';
7
- return (n == 1 && v0) ? 'one' : 'other';
7
+ return n == 1 && v0 ? 'one' : 'other';
8
8
  }}},"aliases":{},"parentLocales":{},"availableLocales":["nl"]})
9
9
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"nn":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["nn"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"nnh":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["nnh"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"nyn":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["nyn"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"om":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["om"]})
8
8
  }
@@ -3,13 +3,11 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"or":{"categories":{"cardinal":["one","other"],"ordinal":["one","two","few","many","other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), t0 = Number(s[0]) == n;
6
- if (ord) return ((n == 1 || n == 5
7
- || (t0 && n >= 7 && n <= 9))) ? 'one'
8
- : ((n == 2
9
- || n == 3)) ? 'two'
10
- : (n == 4) ? 'few'
11
- : (n == 6) ? 'many'
12
- : 'other';
13
- return (n == 1) ? 'one' : 'other';
6
+ if (ord) return (n == 1 || n == 5 || (t0 && n >= 7 && n <= 9)) ? 'one'
7
+ : (n == 2 || n == 3) ? 'two'
8
+ : n == 4 ? 'few'
9
+ : n == 6 ? 'many'
10
+ : 'other';
11
+ return n == 1 ? 'one' : 'other';
14
12
  }}},"aliases":{},"parentLocales":{},"availableLocales":["or"]})
15
13
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"os":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["os"]})
8
8
  }
@@ -3,7 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"pa":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return ((n == 0
7
- || n == 1)) ? 'one' : 'other';
6
+ return (n == 0 || n == 1) ? 'one' : 'other';
8
7
  }}},"aliases":{"pa-IN":"pa-Guru-IN","pa-PK":"pa-Arab-PK"},"parentLocales":{},"availableLocales":["pa"]})
9
8
  }
@@ -2,15 +2,11 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"pl":{"categories":{"cardinal":["one","few","many","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), i = s[0], v0 = !s[1], i10 = i.slice(-1),
6
- i100 = i.slice(-2);
5
+ var s = String(n).split('.'), i = s[0], v0 = !s[1], i10 = i.slice(-1), i100 = i.slice(-2);
7
6
  if (ord) return 'other';
8
- return (n == 1 && v0) ? 'one'
9
- : (v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12
10
- || i100 > 14)) ? 'few'
11
- : (v0 && i != 1 && (i10 == 0 || i10 == 1)
12
- || v0 && (i10 >= 5 && i10 <= 9)
13
- || v0 && (i100 >= 12 && i100 <= 14)) ? 'many'
14
- : 'other';
7
+ return n == 1 && v0 ? 'one'
8
+ : v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12 || i100 > 14) ? 'few'
9
+ : v0 && i != 1 && (i10 == 0 || i10 == 1) || v0 && (i10 >= 5 && i10 <= 9) || v0 && (i100 >= 12 && i100 <= 14) ? 'many'
10
+ : 'other';
15
11
  }}},"aliases":{},"parentLocales":{},"availableLocales":["pl"]})
16
12
  }
@@ -2,14 +2,10 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"prg":{"categories":{"cardinal":["zero","one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), f = s[1] || '', v = f.length,
6
- t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1),
7
- n100 = t0 && s[0].slice(-2), f100 = f.slice(-2), f10 = f.slice(-1);
5
+ var s = String(n).split('.'), f = s[1] || '', v = f.length, t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1), n100 = t0 && s[0].slice(-2), f100 = f.slice(-2), f10 = f.slice(-1);
8
6
  if (ord) return 'other';
9
- return (t0 && n10 == 0 || (n100 >= 11 && n100 <= 19)
10
- || v == 2 && (f100 >= 11 && f100 <= 19)) ? 'zero'
11
- : (n10 == 1 && n100 != 11 || v == 2 && f10 == 1 && f100 != 11
12
- || v != 2 && f10 == 1) ? 'one'
13
- : 'other';
7
+ return t0 && n10 == 0 || (n100 >= 11 && n100 <= 19) || v == 2 && (f100 >= 11 && f100 <= 19) ? 'zero'
8
+ : n10 == 1 && n100 != 11 || v == 2 && f10 == 1 && f100 != 11 || v != 2 && f10 == 1 ? 'one'
9
+ : 'other';
14
10
  }}},"aliases":{},"parentLocales":{},"availableLocales":["prg"]})
15
11
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ps":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ps"]})
8
8
  }
@@ -4,7 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"pt":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), i = s[0];
6
6
  if (ord) return 'other';
7
- return ((i == 0
8
- || i == 1)) ? 'one' : 'other';
7
+ return (i == 0 || i == 1) ? 'one' : 'other';
9
8
  }}},"aliases":{},"parentLocales":{"pt-AO":"pt-PT","pt-CH":"pt-PT","pt-CV":"pt-PT","pt-FR":"pt-PT","pt-GQ":"pt-PT","pt-GW":"pt-PT","pt-LU":"pt-PT","pt-MO":"pt-PT","pt-MZ":"pt-PT","pt-ST":"pt-PT","pt-TL":"pt-PT"},"availableLocales":["pt"]})
10
9
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"rm":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["rm"]})
8
8
  }
@@ -2,12 +2,10 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ro":{"categories":{"cardinal":["one","few","other"],"ordinal":["one","other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), v0 = !s[1], t0 = Number(s[0]) == n,
6
- n100 = t0 && s[0].slice(-2);
7
- if (ord) return (n == 1) ? 'one' : 'other';
8
- return (n == 1 && v0) ? 'one'
9
- : (!v0 || n == 0
10
- || (n100 >= 2 && n100 <= 19)) ? 'few'
11
- : 'other';
5
+ var s = String(n).split('.'), v0 = !s[1], t0 = Number(s[0]) == n, n100 = t0 && s[0].slice(-2);
6
+ if (ord) return n == 1 ? 'one' : 'other';
7
+ return n == 1 && v0 ? 'one'
8
+ : !v0 || n == 0 || (n100 >= 2 && n100 <= 19) ? 'few'
9
+ : 'other';
12
10
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ro"]})
13
11
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"rof":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["rof"]})
8
8
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"root":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["root"]})
8
7
  }
@@ -2,14 +2,11 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ru":{"categories":{"cardinal":["one","few","many","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), i = s[0], v0 = !s[1], i10 = i.slice(-1),
6
- i100 = i.slice(-2);
5
+ var s = String(n).split('.'), i = s[0], v0 = !s[1], i10 = i.slice(-1), i100 = i.slice(-2);
7
6
  if (ord) return 'other';
8
- return (v0 && i10 == 1 && i100 != 11) ? 'one'
9
- : (v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12
10
- || i100 > 14)) ? 'few'
11
- : (v0 && i10 == 0 || v0 && (i10 >= 5 && i10 <= 9)
12
- || v0 && (i100 >= 11 && i100 <= 14)) ? 'many'
13
- : 'other';
7
+ return v0 && i10 == 1 && i100 != 11 ? 'one'
8
+ : v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12 || i100 > 14) ? 'few'
9
+ : v0 && i10 == 0 || v0 && (i10 >= 5 && i10 <= 9) || v0 && (i100 >= 11 && i100 <= 14) ? 'many'
10
+ : 'other';
14
11
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ru"]})
15
12
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"rwk":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["rwk"]})
8
8
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"sah":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["sah"]})
8
7
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"saq":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["saq"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"sd":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["sd"]})
8
8
  }
@@ -3,8 +3,8 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"se":{"categories":{"cardinal":["one","two","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one'
7
- : (n == 2) ? 'two'
8
- : 'other';
6
+ return n == 1 ? 'one'
7
+ : n == 2 ? 'two'
8
+ : 'other';
9
9
  }}},"aliases":{},"parentLocales":{},"availableLocales":["se"]})
10
10
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"seh":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 1) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["seh"]})
8
8
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ses":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ses"]})
8
7
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"sg":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["sg"]})
8
7
  }
@@ -4,8 +4,8 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"shi":{"categories":{"cardinal":["one","few","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), t0 = Number(s[0]) == n;
6
6
  if (ord) return 'other';
7
- return (n >= 0 && n <= 1) ? 'one'
8
- : ((t0 && n >= 2 && n <= 10)) ? 'few'
9
- : 'other';
7
+ return n >= 0 && n <= 1 ? 'one'
8
+ : (t0 && n >= 2 && n <= 10) ? 'few'
9
+ : 'other';
10
10
  }}},"aliases":{"shi-MA":"shi-Tfng-MA"},"parentLocales":{},"availableLocales":["shi"]})
11
11
  }
@@ -4,7 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"si":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), i = s[0], f = s[1] || '';
6
6
  if (ord) return 'other';
7
- return ((n == 0 || n == 1)
8
- || i == 0 && f == 1) ? 'one' : 'other';
7
+ return (n == 0 || n == 1) || i == 0 && f == 1 ? 'one' : 'other';
9
8
  }}},"aliases":{},"parentLocales":{},"availableLocales":["si"]})
10
9
  }