@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
@@ -2,11 +2,8 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"fil":{"categories":{"cardinal":["one","other"],"ordinal":["one","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), f10 = f.slice(-1);
7
- if (ord) return (n == 1) ? 'one' : 'other';
8
- return (v0 && (i == 1 || i == 2 || i == 3)
9
- || v0 && i10 != 4 && i10 != 6 && i10 != 9
10
- || !v0 && f10 != 4 && f10 != 6 && f10 != 9) ? 'one' : 'other';
5
+ var s = String(n).split('.'), i = s[0], f = s[1] || '', v0 = !s[1], i10 = i.slice(-1), f10 = f.slice(-1);
6
+ if (ord) return n == 1 ? 'one' : 'other';
7
+ return v0 && (i == 1 || i == 2 || i == 3) || v0 && i10 != 4 && i10 != 6 && i10 != 9 || !v0 && f10 != 4 && f10 != 6 && f10 != 9 ? 'one' : 'other';
11
8
  }}},"aliases":{},"parentLocales":{},"availableLocales":["fil"]})
12
9
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"fo":{"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":["fo"]})
8
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":{"fr":{"categories":{"cardinal":["one","other"],"ordinal":["one","other"]},"fn":function(n, ord) {
5
- if (ord) return (n == 1) ? 'one' : 'other';
6
- return (n >= 0 && n < 2) ? 'one' : 'other';
5
+ if (ord) return n == 1 ? 'one' : 'other';
6
+ return n >= 0 && n < 2 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["fr"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"fur":{"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":["fur"]})
8
8
  }
@@ -4,6 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"fy":{"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":["fy"]})
9
9
  }
@@ -3,11 +3,11 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ga":{"categories":{"cardinal":["one","two","few","many","other"],"ordinal":["one","other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), t0 = Number(s[0]) == n;
6
- if (ord) return (n == 1) ? 'one' : 'other';
7
- return (n == 1) ? 'one'
8
- : (n == 2) ? 'two'
9
- : ((t0 && n >= 3 && n <= 6)) ? 'few'
10
- : ((t0 && n >= 7 && n <= 10)) ? 'many'
11
- : 'other';
6
+ if (ord) return n == 1 ? 'one' : 'other';
7
+ return n == 1 ? 'one'
8
+ : n == 2 ? 'two'
9
+ : (t0 && n >= 3 && n <= 6) ? 'few'
10
+ : (t0 && n >= 7 && n <= 10) ? 'many'
11
+ : 'other';
12
12
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ga"]})
13
13
  }
@@ -3,19 +3,13 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"gd":{"categories":{"cardinal":["one","two","few","other"],"ordinal":["one","two","few","other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), t0 = Number(s[0]) == n;
6
- if (ord) return ((n == 1
7
- || n == 11)) ? 'one'
8
- : ((n == 2
9
- || n == 12)) ? 'two'
10
- : ((n == 3
11
- || n == 13)) ? 'few'
12
- : 'other';
13
- return ((n == 1
14
- || n == 11)) ? 'one'
15
- : ((n == 2
16
- || n == 12)) ? 'two'
17
- : (((t0 && n >= 3 && n <= 10)
18
- || (t0 && n >= 13 && n <= 19))) ? 'few'
19
- : 'other';
6
+ if (ord) return (n == 1 || n == 11) ? 'one'
7
+ : (n == 2 || n == 12) ? 'two'
8
+ : (n == 3 || n == 13) ? 'few'
9
+ : 'other';
10
+ return (n == 1 || n == 11) ? 'one'
11
+ : (n == 2 || n == 12) ? 'two'
12
+ : ((t0 && n >= 3 && n <= 10) || (t0 && n >= 13 && n <= 19)) ? 'few'
13
+ : 'other';
20
14
  }}},"aliases":{},"parentLocales":{},"availableLocales":["gd"]})
21
15
  }
@@ -4,6 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"gl":{"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":["gl"]})
9
9
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"gsw":{"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":["gsw"]})
8
8
  }
@@ -2,12 +2,11 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"gu":{"categories":{"cardinal":["one","other"],"ordinal":["one","two","few","many","other"]},"fn":function(n, ord) {
5
- if (ord) return (n == 1) ? 'one'
6
- : ((n == 2
7
- || n == 3)) ? 'two'
8
- : (n == 4) ? 'few'
9
- : (n == 6) ? 'many'
10
- : 'other';
11
- return (n >= 0 && n <= 1) ? 'one' : 'other';
5
+ if (ord) return n == 1 ? 'one'
6
+ : (n == 2 || n == 3) ? 'two'
7
+ : n == 4 ? 'few'
8
+ : n == 6 ? 'many'
9
+ : 'other';
10
+ return n >= 0 && n <= 1 ? 'one' : 'other';
12
11
  }}},"aliases":{},"parentLocales":{},"availableLocales":["gu"]})
13
12
  }
@@ -2,14 +2,12 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"gv":{"categories":{"cardinal":["one","two","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) ? 'one'
9
- : (v0 && i10 == 2) ? 'two'
10
- : (v0 && (i100 == 0 || i100 == 20 || i100 == 40 || i100 == 60
11
- || i100 == 80)) ? 'few'
12
- : (!v0) ? 'many'
13
- : 'other';
7
+ return v0 && i10 == 1 ? 'one'
8
+ : v0 && i10 == 2 ? 'two'
9
+ : v0 && (i100 == 0 || i100 == 20 || i100 == 40 || i100 == 60 || i100 == 80) ? 'few'
10
+ : !v0 ? 'many'
11
+ : 'other';
14
12
  }}},"aliases":{},"parentLocales":{},"availableLocales":["gv"]})
15
13
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ha":{"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":{"ha-Latn-GH":"ha-GH","ha-Latn-NE":"ha-NE","ha-Latn-NG":"ha-NG"},"parentLocales":{},"availableLocales":["ha"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"haw":{"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":["haw"]})
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":{"he":{"categories":{"cardinal":["one","two","many","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), i = s[0], v0 = !s[1], t0 = Number(s[0]) == n,
6
- n10 = t0 && s[0].slice(-1);
5
+ var s = String(n).split('.'), i = s[0], v0 = !s[1], t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1);
7
6
  if (ord) return 'other';
8
- return (n == 1 && v0) ? 'one'
9
- : (i == 2 && v0) ? 'two'
10
- : (v0 && (n < 0
11
- || n > 10) && t0 && n10 == 0) ? 'many'
12
- : 'other';
7
+ return n == 1 && v0 ? 'one'
8
+ : i == 2 && v0 ? 'two'
9
+ : v0 && (n < 0 || n > 10) && t0 && n10 == 0 ? 'many'
10
+ : 'other';
13
11
  }}},"aliases":{},"parentLocales":{},"availableLocales":["he"]})
14
12
  }
@@ -2,12 +2,11 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"hi":{"categories":{"cardinal":["one","other"],"ordinal":["one","two","few","many","other"]},"fn":function(n, ord) {
5
- if (ord) return (n == 1) ? 'one'
6
- : ((n == 2
7
- || n == 3)) ? 'two'
8
- : (n == 4) ? 'few'
9
- : (n == 6) ? 'many'
10
- : 'other';
11
- return (n >= 0 && n <= 1) ? 'one' : 'other';
5
+ if (ord) return n == 1 ? 'one'
6
+ : (n == 2 || n == 3) ? 'two'
7
+ : n == 4 ? 'few'
8
+ : n == 6 ? 'many'
9
+ : 'other';
10
+ return n >= 0 && n <= 1 ? 'one' : 'other';
12
11
  }}},"aliases":{},"parentLocales":{},"availableLocales":["hi"]})
13
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":{"hr":{"categories":{"cardinal":["one","few","other"],"ordinal":["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);
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);
7
6
  if (ord) return 'other';
8
- return (v0 && i10 == 1 && i100 != 11
9
- || f10 == 1 && f100 != 11) ? 'one'
10
- : (v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12 || i100 > 14)
11
- || (f10 >= 2 && f10 <= 4) && (f100 < 12
12
- || f100 > 14)) ? 'few'
13
- : 'other';
7
+ return v0 && i10 == 1 && i100 != 11 || f10 == 1 && f100 != 11 ? 'one'
8
+ : v0 && (i10 >= 2 && i10 <= 4) && (i100 < 12 || i100 > 14) || (f10 >= 2 && f10 <= 4) && (f100 < 12 || f100 > 14) ? 'few'
9
+ : 'other';
14
10
  }}},"aliases":{},"parentLocales":{},"availableLocales":["hr"]})
15
11
  }
@@ -2,15 +2,11 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"hsb":{"categories":{"cardinal":["one","two","few","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), i = s[0], f = s[1] || '', v0 = !s[1],
6
- i100 = i.slice(-2), f100 = f.slice(-2);
5
+ var s = String(n).split('.'), i = s[0], f = s[1] || '', v0 = !s[1], i100 = i.slice(-2), f100 = f.slice(-2);
7
6
  if (ord) return 'other';
8
- return (v0 && i100 == 1
9
- || f100 == 1) ? 'one'
10
- : (v0 && i100 == 2
11
- || f100 == 2) ? 'two'
12
- : (v0 && (i100 == 3 || i100 == 4) || (f100 == 3
13
- || f100 == 4)) ? 'few'
14
- : 'other';
7
+ return v0 && i100 == 1 || f100 == 1 ? 'one'
8
+ : v0 && i100 == 2 || f100 == 2 ? 'two'
9
+ : v0 && (i100 == 3 || i100 == 4) || (f100 == 3 || f100 == 4) ? 'few'
10
+ : 'other';
15
11
  }}},"aliases":{},"parentLocales":{},"availableLocales":["hsb"]})
16
12
  }
@@ -2,8 +2,7 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"hu":{"categories":{"cardinal":["one","other"],"ordinal":["one","other"]},"fn":function(n, ord) {
5
- if (ord) return ((n == 1
6
- || n == 5)) ? 'one' : 'other';
7
- return (n == 1) ? 'one' : 'other';
5
+ if (ord) return (n == 1 || n == 5) ? 'one' : 'other';
6
+ return n == 1 ? 'one' : 'other';
8
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["hu"]})
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":{"hy":{"categories":{"cardinal":["one","other"],"ordinal":["one","other"]},"fn":function(n, ord) {
5
- if (ord) return (n == 1) ? 'one' : 'other';
6
- return (n >= 0 && n < 2) ? 'one' : 'other';
5
+ if (ord) return n == 1 ? 'one' : 'other';
6
+ return n >= 0 && n < 2 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["hy"]})
8
8
  }
@@ -4,6 +4,6 @@ if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function')
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ia":{"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":["ia"]})
9
9
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"id":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["id"]})
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":{"ig":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ig"]})
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":{"ii":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ii"]})
8
7
  }
@@ -2,10 +2,8 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"is":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), i = s[0], t0 = Number(s[0]) == n,
6
- i10 = i.slice(-1), i100 = i.slice(-2);
5
+ var s = String(n).split('.'), i = s[0], t0 = Number(s[0]) == n, i10 = i.slice(-1), i100 = i.slice(-2);
7
6
  if (ord) return 'other';
8
- return (t0 && i10 == 1 && i100 != 11
9
- || !t0) ? 'one' : 'other';
7
+ return t0 && i10 == 1 && i100 != 11 || !t0 ? 'one' : 'other';
10
8
  }}},"aliases":{},"parentLocales":{},"availableLocales":["is"]})
11
9
  }
@@ -3,8 +3,7 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"it":{"categories":{"cardinal":["one","other"],"ordinal":["many","other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), v0 = !s[1];
6
- if (ord) return ((n == 11 || n == 8 || n == 80
7
- || n == 800)) ? 'many' : 'other';
8
- return (n == 1 && v0) ? 'one' : 'other';
6
+ if (ord) return (n == 11 || n == 8 || n == 80 || n == 800) ? 'many' : 'other';
7
+ return n == 1 && v0 ? 'one' : 'other';
9
8
  }}},"aliases":{},"parentLocales":{},"availableLocales":["it"]})
10
9
  }
@@ -2,7 +2,6 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ja":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ja"]})
8
7
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"jgo":{"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":["jgo"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"jmc":{"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":["jmc"]})
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":{"jv":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["jv"]})
8
7
  }
@@ -3,10 +3,9 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ka":{"categories":{"cardinal":["one","other"],"ordinal":["one","many","other"]},"fn":function(n, ord) {
5
5
  var s = String(n).split('.'), i = s[0], i100 = i.slice(-2);
6
- if (ord) return (i == 1) ? 'one'
7
- : (i == 0 || ((i100 >= 2 && i100 <= 20) || i100 == 40 || i100 == 60
8
- || i100 == 80)) ? 'many'
9
- : 'other';
10
- return (n == 1) ? 'one' : 'other';
6
+ if (ord) return i == 1 ? 'one'
7
+ : i == 0 || ((i100 >= 2 && i100 <= 20) || i100 == 40 || i100 == 60 || i100 == 80) ? 'many'
8
+ : 'other';
9
+ return n == 1 ? 'one' : 'other';
11
10
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ka"]})
12
11
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"kab":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n >= 0 && n < 2) ? 'one' : 'other';
6
+ return n >= 0 && n < 2 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["kab"]})
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":{"kde":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["kde"]})
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":{"kea":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["kea"]})
8
7
  }
@@ -2,10 +2,8 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"kk":{"categories":{"cardinal":["one","other"],"ordinal":["many","other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), t0 = Number(s[0]) == n,
6
- n10 = t0 && s[0].slice(-1);
7
- if (ord) return (n10 == 6 || n10 == 9
8
- || t0 && n10 == 0 && n != 0) ? 'many' : 'other';
9
- return (n == 1) ? 'one' : 'other';
5
+ var s = String(n).split('.'), t0 = Number(s[0]) == n, n10 = t0 && s[0].slice(-1);
6
+ if (ord) return n10 == 6 || n10 == 9 || t0 && n10 == 0 && n != 0 ? 'many' : 'other';
7
+ return n == 1 ? 'one' : 'other';
10
8
  }}},"aliases":{"kk-Cyrl-KZ":"kk-KZ"},"parentLocales":{},"availableLocales":["kk"]})
11
9
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"kkj":{"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":["kkj"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"kl":{"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":["kl"]})
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":{"km":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["km"]})
8
7
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"kn":{"categories":{"cardinal":["one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n >= 0 && n <= 1) ? 'one' : 'other';
6
+ return n >= 0 && n <= 1 ? 'one' : 'other';
7
7
  }}},"aliases":{},"parentLocales":{},"availableLocales":["kn"]})
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":{"ko":{"categories":{"cardinal":["other"],"ordinal":["other"]},"fn":function(n, ord) {
5
- if (ord) return 'other';
6
5
  return 'other';
7
6
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ko"]})
8
7
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ks":{"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":{"ks-Arab-IN":"ks-IN"},"parentLocales":{},"availableLocales":["ks"]})
8
8
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ksb":{"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":["ksb"]})
8
8
  }
@@ -3,8 +3,8 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ksh":{"categories":{"cardinal":["zero","one","other"],"ordinal":["other"]},"fn":function(n, ord) {
5
5
  if (ord) return 'other';
6
- return (n == 0) ? 'zero'
7
- : (n == 1) ? 'one'
8
- : 'other';
6
+ return n == 0 ? 'zero'
7
+ : n == 1 ? 'one'
8
+ : 'other';
9
9
  }}},"aliases":{},"parentLocales":{},"availableLocales":["ksh"]})
10
10
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ku":{"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":["ku"]})
8
8
  }
@@ -2,26 +2,15 @@
2
2
  // prettier-ignore
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"kw":{"categories":{"cardinal":["zero","one","two","few","many","other"],"ordinal":["one","many","other"]},"fn":function(n, ord) {
5
- var s = String(n).split('.'), t0 = Number(s[0]) == n,
6
- n100 = t0 && s[0].slice(-2), n1000 = t0 && s[0].slice(-3),
7
- n100000 = t0 && s[0].slice(-5), n1000000 = t0 && s[0].slice(-6);
8
- if (ord) return ((t0 && n >= 1 && n <= 4) || ((n100 >= 1 && n100 <= 4)
9
- || (n100 >= 21 && n100 <= 24) || (n100 >= 41 && n100 <= 44)
10
- || (n100 >= 61 && n100 <= 64)
11
- || (n100 >= 81 && n100 <= 84))) ? 'one'
12
- : (n == 5
13
- || n100 == 5) ? 'many'
14
- : 'other';
15
- return (n == 0) ? 'zero'
16
- : (n == 1) ? 'one'
17
- : ((n100 == 2 || n100 == 22 || n100 == 42 || n100 == 62 || n100 == 82)
18
- || t0 && n1000 == 0 && ((n100000 >= 1000 && n100000 <= 20000) || n100000 == 40000
19
- || n100000 == 60000 || n100000 == 80000)
20
- || n != 0 && n1000000 == 100000) ? 'two'
21
- : ((n100 == 3 || n100 == 23 || n100 == 43 || n100 == 63
22
- || n100 == 83)) ? 'few'
23
- : (n != 1 && (n100 == 1 || n100 == 21 || n100 == 41 || n100 == 61
24
- || n100 == 81)) ? 'many'
25
- : 'other';
5
+ var s = String(n).split('.'), t0 = Number(s[0]) == n, n100 = t0 && s[0].slice(-2), n1000 = t0 && s[0].slice(-3), n100000 = t0 && s[0].slice(-5), n1000000 = t0 && s[0].slice(-6);
6
+ if (ord) return (t0 && n >= 1 && n <= 4) || ((n100 >= 1 && n100 <= 4) || (n100 >= 21 && n100 <= 24) || (n100 >= 41 && n100 <= 44) || (n100 >= 61 && n100 <= 64) || (n100 >= 81 && n100 <= 84)) ? 'one'
7
+ : n == 5 || n100 == 5 ? 'many'
8
+ : 'other';
9
+ return n == 0 ? 'zero'
10
+ : n == 1 ? 'one'
11
+ : (n100 == 2 || n100 == 22 || n100 == 42 || n100 == 62 || n100 == 82) || t0 && n1000 == 0 && ((n100000 >= 1000 && n100000 <= 20000) || n100000 == 40000 || n100000 == 60000 || n100000 == 80000) || n != 0 && n1000000 == 100000 ? 'two'
12
+ : (n100 == 3 || n100 == 23 || n100 == 43 || n100 == 63 || n100 == 83) ? 'few'
13
+ : n != 1 && (n100 == 1 || n100 == 21 || n100 == 41 || n100 == 61 || n100 == 81) ? 'many'
14
+ : 'other';
26
15
  }}},"aliases":{},"parentLocales":{},"availableLocales":["kw"]})
27
16
  }
@@ -3,6 +3,6 @@
3
3
  if (Intl.PluralRules && typeof Intl.PluralRules.__addLocaleData === 'function') {
4
4
  Intl.PluralRules.__addLocaleData({"data":{"ky":{"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":{"ky-Cyrl-KG":"ky-KG"},"parentLocales":{},"availableLocales":["ky"]})
8
8
  }